@ti-tecnologico-de-monterrey-oficial/ds-ng 1.5.1217-c → 1.5.1217-e
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/i18n/en.json +113 -0
- package/assets/i18n/es.json +113 -0
- package/assets/styles/main.min.css +1 -1
- package/assets/styles/main.min.css.map +1 -1
- package/esm2022/assets/i18n/en.json +113 -0
- package/esm2022/assets/i18n/es.json +113 -0
- package/esm2022/lib/components/bmb-academic-progress/bmb-academic-progress.component.mjs +2 -2
- package/esm2022/lib/components/bmb-accordion/bmb-accordion.component.mjs +2 -2
- package/esm2022/lib/components/bmb-account-statement/bmb-account-statement.component.mjs +21 -19
- package/esm2022/lib/components/bmb-advertisement-card/bmb-advertisement-card.component.mjs +6 -4
- package/esm2022/lib/components/bmb-alert-center/bmb-alert-center-empty/bmb-alert-center-empty.component.mjs +4 -3
- package/esm2022/lib/components/bmb-alert-center/bmb-alert-center-form/bmb-alert-center-form.component.mjs +2 -2
- package/esm2022/lib/components/bmb-alert-center/bmb-alert-center-list/bmb-alert-center-list.component.mjs +2 -2
- package/esm2022/lib/components/bmb-alert-center/bmb-alert-center.component.mjs +11 -10
- package/esm2022/lib/components/bmb-balance-overview/bmb-balance-overview.component.mjs +15 -9
- package/esm2022/lib/components/bmb-breadcrumb/bmb-breadcrumb.component.mjs +3 -3
- package/esm2022/lib/components/bmb-calendar/bmb-calendar.component.mjs +17 -15
- package/esm2022/lib/components/bmb-calendar/common/bmb-calendar-header/bmb-calendar-header.component.mjs +19 -13
- package/esm2022/lib/components/bmb-calendar/common/bmb-calendar-hour-view/bmb-calendar-hour-view.component.mjs +2 -2
- package/esm2022/lib/components/bmb-calendar/common/bmb-calendar-schedule-cards/bmb-calendar-schedule-cards.component.mjs +3 -3
- package/esm2022/lib/components/bmb-calendar/common/bmb-calendar-template-day/bmb-calendar-template-day.component.mjs +9 -7
- package/esm2022/lib/components/bmb-calendar/common/bmb-calendar-template-mobile/bmb-calendar-template-mobile.component.mjs +16 -12
- package/esm2022/lib/components/bmb-calendar/common/bmb-calendar-template-month/bmb-calendar-template-month.component.mjs +12 -10
- package/esm2022/lib/components/bmb-calendar/common/bmb-calendar-template-week/bmb-calendar-template-week.component.mjs +10 -8
- package/esm2022/lib/components/bmb-calendar/common/bmb-calendar-time-indicator/bmb-calendar-time-indicator.component.mjs +3 -3
- package/esm2022/lib/components/bmb-card/bmb-card.component.mjs +3 -3
- package/esm2022/lib/components/bmb-card-button/bmb-card-button.component.mjs +3 -3
- package/esm2022/lib/components/bmb-chat-bar/bmb-chat-bar.component.mjs +7 -6
- package/esm2022/lib/components/bmb-checkbox/bmb-checkbox.component.mjs +3 -3
- package/esm2022/lib/components/bmb-container-button/bmb-container-button.component.mjs +3 -3
- package/esm2022/lib/components/bmb-date-range/bmb-date-range.component.mjs +3 -3
- package/esm2022/lib/components/bmb-datepicker/bmb-datepicker-modal/bmb-datepicker-modal.component.mjs +21 -19
- package/esm2022/lib/components/bmb-datepicker/bmb-datepicker.component.mjs +5 -5
- package/esm2022/lib/components/bmb-digital-id/bmb-digital-id.component.mjs +6 -4
- package/esm2022/lib/components/bmb-dropdown/bmb-dropdown.component.mjs +2 -2
- package/esm2022/lib/components/bmb-dropdown-menu/bmb-dropdown-menu.component.mjs +2 -2
- package/esm2022/lib/components/bmb-dropzone/bmb-dropzone.component.mjs +52 -35
- package/esm2022/lib/components/bmb-evaluation-rubric/bmb-evaluation-rubric.component.mjs +3 -3
- package/esm2022/lib/components/bmb-external-link/bmb-external-link.component.mjs +2 -2
- package/esm2022/lib/components/bmb-fab/bmb-fab.component.mjs +3 -3
- package/esm2022/lib/components/bmb-filter-card/bmb-filter-card.component.mjs +4 -4
- package/esm2022/lib/components/bmb-focus-element/bmb-focus-element.component.mjs +3 -3
- package/esm2022/lib/components/bmb-frequent-apps-selector/bmb-frequent-apps-selector.component.mjs +3 -3
- package/esm2022/lib/components/bmb-grade-value/bmb-grade-value.component.mjs +3 -3
- package/esm2022/lib/components/bmb-grades/bmb-grades.component.mjs +4 -4
- package/esm2022/lib/components/bmb-header-mitec/bmb-header-mitec.component.mjs +9 -4
- package/esm2022/lib/components/bmb-header-mobile/bmb-header-mobile.component.mjs +3 -3
- package/esm2022/lib/components/bmb-hito-card/bmb-hito-card.component.mjs +3 -3
- package/esm2022/lib/components/bmb-home-card/bmb-home-card-header/bmb-home-card-header.component.mjs +5 -5
- package/esm2022/lib/components/bmb-home-card-chat/bmb-home-card-chat.component.mjs +11 -5
- package/esm2022/lib/components/bmb-icon-item/bmb-icon-item.component.mjs +13 -4
- package/esm2022/lib/components/bmb-image/bmb-image.component.mjs +2 -2
- package/esm2022/lib/components/bmb-input/bmb-input-content/bmb-input-content.component.mjs +2 -1
- package/esm2022/lib/components/bmb-input/bmb-input-validator/bmb-input-validator.component.mjs +3 -3
- package/esm2022/lib/components/bmb-input-tags/bmb-input-tags.component.mjs +2 -2
- package/esm2022/lib/components/bmb-invoice/bmb-invoice.component.mjs +3 -3
- package/esm2022/lib/components/bmb-item/bmb-item.component.mjs +3 -3
- package/esm2022/lib/components/bmb-list-group/bmb-list-group-item/bmb-list-group-item.component.mjs +3 -3
- package/esm2022/lib/components/bmb-list-group/bmb-list-group.component.mjs +3 -3
- package/esm2022/lib/components/bmb-loader/bmb-loader.component.mjs +3 -3
- package/esm2022/lib/components/bmb-login/bmb-login.component.mjs +10 -8
- package/esm2022/lib/components/bmb-login-onboarding/bmb-login-onboarding-stepper/bmb-login-onboarding-stepper-steps/bmb-login-onboarding-stepper-step-four.component.mjs +2 -2
- package/esm2022/lib/components/bmb-login-onboarding/bmb-login-onboarding.component.mjs +22 -7
- package/esm2022/lib/components/bmb-mitec-logo-animation/bmb-mitec-logo-animation.component.mjs +2 -2
- package/esm2022/lib/components/bmb-mobile-templates/bmb-mobile-templates.component.mjs +2 -2
- package/esm2022/lib/components/bmb-modal/bmb-native-modal.component.mjs +4 -4
- package/esm2022/lib/components/bmb-multi-dot-paginator/bmb-multi-dot-paginator-item/bmb-multi-dot-paginator-item.component.mjs +3 -3
- package/esm2022/lib/components/bmb-multi-dot-paginator/bmb-multi-dot-paginator.component.mjs +3 -3
- package/esm2022/lib/components/bmb-navigation-bar/bmb-navigation-bar.component.mjs +2 -2
- package/esm2022/lib/components/bmb-notice-card/bmb-notice-card.component.mjs +6 -4
- package/esm2022/lib/components/bmb-portal/bmb-portal.component.mjs +4 -4
- package/esm2022/lib/components/bmb-portal/bmb-projected-content/bmb-projected-content.component.mjs +3 -3
- package/esm2022/lib/components/bmb-profile/bmb-profile.component.mjs +3 -3
- package/esm2022/lib/components/bmb-progress-bar/bmb-progress-bar.component.mjs +3 -3
- package/esm2022/lib/components/bmb-progress-cirlce/bmb-progress-circle.component.mjs +53 -69
- package/esm2022/lib/components/bmb-progress-cirlce/bmb-progress-circle.interface.mjs +1 -1
- package/esm2022/lib/components/bmb-push-notification/bmb-push-notification-item/bmb-push-notification-item.component.mjs +3 -3
- package/esm2022/lib/components/bmb-push-notification/bmb-push-notification.component.mjs +2 -2
- package/esm2022/lib/components/bmb-radial/bmb-radial.component.mjs +3 -3
- package/esm2022/lib/components/bmb-sidebar/bmb-sidebar.component.mjs +25 -24
- package/esm2022/lib/components/bmb-simple-header/bmb-simple-header.component.mjs +2 -2
- package/esm2022/lib/components/bmb-sounds-card/bmb-sounds-card.component.mjs +3 -3
- package/esm2022/lib/components/bmb-step-progress-bar/bmb-step-progress-bar.component.mjs +15 -11
- package/esm2022/lib/components/bmb-student-activity-card/bmb-student-activity-card.component.mjs +3 -3
- package/esm2022/lib/components/bmb-switch/bmb-switch.component.mjs +6 -4
- package/esm2022/lib/components/bmb-table-lite/bmb-table-lite.component.mjs +564 -0
- package/esm2022/lib/components/bmb-table-lite/bmb-table-lite.interface.mjs +2 -0
- package/esm2022/lib/components/bmb-tables/bmb-tables.component.mjs +3 -3
- package/esm2022/lib/components/bmb-tabs/bmb-tabs.component.mjs +6 -6
- package/esm2022/lib/components/bmb-tags/bmb-tags.component.mjs +5 -4
- package/esm2022/lib/components/bmb-text-link/bmb-text-link.component.mjs +3 -3
- package/esm2022/lib/components/bmb-theme/bmb-theme.component.mjs +2 -2
- package/esm2022/lib/components/bmb-three-cols/bmb-three-cols.component.mjs +2 -2
- package/esm2022/lib/components/bmb-timestream/bmb-timestream-detail/bmb-timestream-detail.component.mjs +3 -3
- package/esm2022/lib/components/bmb-timestream/bmb-timestream.component.mjs +4 -4
- package/esm2022/lib/components/bmb-toast/bmb-toast.component.mjs +3 -3
- package/esm2022/lib/components/bmb-tooltip/bmb-tooltip.component.mjs +6 -3
- package/esm2022/lib/components/bmb-top-bar/bmb-top-bar-item/bmb-top-bar-item.component.mjs +3 -3
- package/esm2022/lib/components/bmb-top-bar/bmb-top-bar-user-section/bmb-top-bar-user-section.component.mjs +3 -3
- package/esm2022/lib/components/bmb-top-bar/bmb-top-bar.component.mjs +3 -3
- package/esm2022/lib/components/bmb-totp/bmb-totp.component.mjs +7 -5
- package/esm2022/lib/components/bmb-user-profile/bmb-user-profile-content/bmb-user-profile-content.component.mjs +4 -4
- package/esm2022/lib/components/bmb-user-profile/bmb-user-profile.component.mjs +17 -11
- package/esm2022/lib/components/bmb-user-summary/bmb-user-summary-content/bmb-user-summary-content.component.mjs +9 -6
- package/esm2022/lib/components/bmb-user-summary/bmb-user-summary.component.mjs +10 -4
- package/esm2022/lib/components/bmb-web-templates/bmb-web-templates.component.mjs +3 -3
- package/esm2022/lib/components/bmb-wheel-menu/bmb-wheel-menu.component.mjs +3 -3
- package/esm2022/lib/directives/bmb-layout/bmb-layout-item.directive.mjs +19 -6
- package/esm2022/lib/directives/bmb-layout/bmb-layout.directive.mjs +11 -6
- package/esm2022/lib/directives/bmb-layout/bmb-vertical-layout/bmb-vertical-layout-item.directive.mjs +1 -1
- package/esm2022/lib/directives/bmb-layout/bmb-vertical-layout/bmb-vertical-layout.directive.mjs +2 -2
- package/esm2022/lib/directives/bmb-selector/bmb-selector.directive.mjs +28 -0
- package/esm2022/lib/pipes/translations.mjs +22 -0
- package/esm2022/lib/services/calendar/calendar.service.mjs +51 -0
- package/esm2022/lib/services/modal/native-modal.service.mjs +60 -0
- package/esm2022/lib/services/notification/notification.service.mjs +84 -0
- package/esm2022/lib/services/projection/projection.service.mjs +49 -0
- package/esm2022/lib/services/tabs/tabs.service.mjs +30 -0
- package/esm2022/lib/services/theme/theme.service.mjs +30 -0
- package/esm2022/lib/services/toast/toast.service.mjs +24 -0
- package/esm2022/lib/services/translations/translations.service.mjs +53 -0
- package/esm2022/public-api.mjs +14 -6
- package/fesm2022/ti-tecnologico-de-monterrey-oficial-ds-ng.mjs +1472 -472
- package/fesm2022/ti-tecnologico-de-monterrey-oficial-ds-ng.mjs.map +1 -1
- package/lib/components/bmb-account-statement/bmb-account-statement.component.d.ts +15 -15
- package/lib/components/bmb-alert-center/bmb-alert-center.component.d.ts +4 -2
- package/lib/components/bmb-calendar/bmb-calendar.component.d.ts +7 -6
- package/lib/components/bmb-calendar/common/bmb-calendar-header/bmb-calendar-header.component.d.ts +5 -2
- package/lib/components/bmb-calendar/common/bmb-calendar-template-day/bmb-calendar-template-day.component.d.ts +5 -2
- package/lib/components/bmb-calendar/common/bmb-calendar-template-mobile/bmb-calendar-template-mobile.component.d.ts +8 -5
- package/lib/components/bmb-calendar/common/bmb-calendar-template-month/bmb-calendar-template-month.component.d.ts +6 -3
- package/lib/components/bmb-calendar/common/bmb-calendar-template-week/bmb-calendar-template-week.component.d.ts +5 -2
- package/lib/components/bmb-chat-bar/bmb-chat-bar.component.d.ts +2 -3
- package/lib/components/bmb-datepicker/bmb-datepicker-modal/bmb-datepicker-modal.component.d.ts +8 -5
- package/lib/components/bmb-datepicker/bmb-datepicker.component.d.ts +2 -3
- package/lib/components/bmb-digital-id/bmb-digital-id.component.d.ts +1 -1
- package/lib/components/bmb-dropdown/bmb-dropdown.component.d.ts +1 -1
- package/lib/components/bmb-dropdown-menu/bmb-dropdown-menu.component.d.ts +1 -1
- package/lib/components/bmb-dropzone/bmb-dropzone.component.d.ts +11 -7
- package/lib/components/bmb-external-link/bmb-external-link.component.d.ts +1 -1
- package/lib/components/bmb-filter-card/bmb-filter-card.component.d.ts +1 -1
- package/lib/components/bmb-grades/bmb-grades.component.d.ts +1 -1
- package/lib/components/bmb-header-mitec/bmb-header-mitec.component.d.ts +1 -1
- package/lib/components/bmb-home-card-chat/bmb-home-card-chat.component.d.ts +2 -2
- package/lib/components/bmb-icon-item/bmb-icon-item.component.d.ts +2 -1
- package/lib/components/bmb-login/bmb-login.component.d.ts +5 -5
- package/lib/components/bmb-login-onboarding/bmb-login-onboarding-stepper/bmb-login-onboarding-stepper-steps/bmb-login-onboarding-stepper-step-four.component.d.ts +1 -1
- package/lib/components/bmb-login-onboarding/bmb-login-onboarding.component.d.ts +3 -1
- package/lib/components/bmb-modal/bmb-native-modal.component.d.ts +1 -1
- package/lib/components/bmb-notice-card/bmb-notice-card.component.d.ts +1 -1
- package/lib/components/bmb-portal/bmb-portal.component.d.ts +5 -5
- package/lib/components/bmb-portal/bmb-projected-content/bmb-projected-content.component.d.ts +1 -1
- package/lib/components/bmb-progress-cirlce/bmb-progress-circle.component.d.ts +25 -19
- package/lib/components/bmb-progress-cirlce/bmb-progress-circle.interface.d.ts +13 -10
- package/lib/components/bmb-push-notification/bmb-push-notification.component.d.ts +1 -1
- package/lib/components/bmb-sidebar/bmb-sidebar.component.d.ts +5 -4
- package/lib/components/bmb-step-progress-bar/bmb-step-progress-bar.component.d.ts +5 -3
- package/lib/components/bmb-switch/bmb-switch.component.d.ts +1 -1
- package/lib/components/bmb-table-lite/bmb-table-lite.component.d.ts +97 -0
- package/lib/components/bmb-table-lite/bmb-table-lite.interface.d.ts +22 -0
- package/lib/components/bmb-tabs/bmb-tabs.component.d.ts +1 -1
- package/lib/components/bmb-tags/bmb-tags.component.d.ts +2 -1
- package/lib/components/bmb-timestream/bmb-timestream.component.d.ts +1 -1
- package/lib/components/bmb-tooltip/bmb-tooltip.component.d.ts +1 -0
- package/lib/components/bmb-totp/bmb-totp.component.d.ts +2 -2
- package/lib/components/bmb-user-profile/bmb-user-profile.component.d.ts +3 -3
- package/lib/components/bmb-user-summary/bmb-user-summary-content/bmb-user-summary-content.component.d.ts +4 -2
- package/lib/components/bmb-user-summary/bmb-user-summary.component.d.ts +1 -1
- package/lib/directives/bmb-layout/bmb-layout-item.directive.d.ts +5 -1
- package/lib/directives/bmb-layout/bmb-layout.directive.d.ts +2 -2
- package/lib/directives/bmb-selector/bmb-selector.directive.d.ts +8 -0
- package/lib/pipes/translations.d.ts +10 -0
- package/lib/services/calendar/calendar.service.d.ts +15 -0
- package/lib/services/modal/native-modal.service.d.ts +18 -0
- package/lib/services/notification/notification.service.d.ts +20 -0
- package/lib/services/projection/projection.service.d.ts +31 -0
- package/lib/services/tabs/tabs.service.d.ts +13 -0
- package/lib/services/theme/theme.service.d.ts +11 -0
- package/lib/services/toast/toast.service.d.ts +9 -0
- package/lib/services/translations/translations.service.d.ts +22 -0
- package/package.json +1 -1
- package/public-api.d.ts +12 -5
|
@@ -93,7 +93,7 @@ export class BmbWheelMenuComponent {
|
|
|
93
93
|
this.onValueChange.emit(event);
|
|
94
94
|
}
|
|
95
95
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BmbWheelMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
96
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: BmbWheelMenuComponent, isStandalone: true, selector: "bmb-wheel-menu", inputs: { navItems: "navItems", apps: "apps", data: "data", isLoading: "isLoading" }, outputs: { onValueChange: "onValueChange" }, viewQueries: [{ propertyName: "wheel", first: true, predicate: ["wheel"], descendants: true }, { propertyName: "wheelMenu", first: true, predicate: ["wheelMenu"], descendants: true }, { propertyName: "tabsComponent", first: true, predicate: BmbTabsComponent, descendants: true }], ngImport: i0, template: "<div class=\"bmb_wheel\">\n <bmb-fab\n [icon]=\"'apps'\"\n [text]=\"'FAB'\"\n [size]=\"'large'\"\n [type]=\"'normal'\"\n (fabClick)=\"toggleWheel()\"\n />\n\n @if (isOpen && !isFull) {\n <div #wheel class=\"bmb_wheel-wrapper\">\n <button class=\"bmb_wheel-button\" (click)=\"toggleFullWheel()\">\n <bmb-icon icon=\"keyboard_arrow_up\" />\n </button>\n <ul #wheelMenu class=\"bmb_wheel-menu\">\n <li\n *ngFor=\"let nav of navItems.slice(0, 3); let i = index\"\n class=\"bmb_wheel-item\"\n [ngClass]=\"getClasses(i)\"\n >\n <button (click)=\"selectNavItem(i)\" class=\"bmb_wheel-nav\">\n <svg viewBox=\"0 0 500 500\" class=\"bmb_wheel-svg\">\n <path\n id=\"circlePath{{ i }}\"\n d=\"M250,250 m-240,0 a240,240 0 1,1 480,0 a240,240 0 1,1 -480,0\"\n fill=\"none\"\n stroke=\"none\"\n />\n <text>\n <textPath\n [attr.href]=\"'#circlePath' + i\"\n startOffset=\"50%\"\n class=\"bmb_wheel-path\"\n >\n {{ nav.title }}\n </textPath>\n </text>\n </svg>\n </button>\n </li>\n </ul>\n\n <div class=\"bmb_wheel-apps\">\n <ng-container *ngFor=\"let app of activeApps\">\n <bmb-interactive-icon\n [appearance]=\"app.appearance\"\n [title]=\"app.title\"\n [icon]=\"app.icon\"\n [target]=\"app.target!\"\n [link]=\"app.link\"\n />\n </ng-container>\n </div>\n </div>\n }\n\n @if (isFull) {\n <div class=\"bmb_wheel-full\">\n <bmb-inner-header\n title=\"Inner Header\"\n (onHandleBack)=\"handleBackButton()\"\n />\n <bmb-tabs\n [tabs]=\"navItems.slice(0, 3)\"\n (selected)=\"selectFullMenuNavItem($event.id)\"\n />\n <div class=\"bmb_wheel-apps\">\n <ng-container *ngFor=\"let app of activeApps\">\n <bmb-interactive-icon\n [appearance]=\"app.appearance\"\n [title]=\"app.title\"\n [icon]=\"app.icon\"\n [horizontal]=\"false\"\n [target]=\"app.target\"\n [link]=\"app.link\"\n />\n </ng-container>\n </div>\n </div>\n }\n</div>\n", styles: ["@font-face{font-family:Poppins-Light;font-style:normal;font-weight:300;src:url(/assets/fonts/Poppins/Poppins-ExtraLight.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Regular;font-style:normal;font-weight:400;src:url(/assets/fonts/Poppins/Poppins-Regular.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Bold;font-style:normal;font-weight:700;src:url(/assets/fonts/Poppins/Poppins-Bold.ttf) format(\"truetype\")}:root,:host{--font-display: \"Poppins-Regular\", sans-serif}.font-thin-1{font-family:Poppins-Thin,sans-serif;font-size:.625rem}.font-light-1{font-family:Poppins-Light,sans-serif;font-size:.625rem}.font-regular-1{font-family:Poppins-Regular,sans-serif;font-size:.625rem}.font-medium-1{font-family:Poppins-Medium,sans-serif;font-size:.625rem}.font-semibold-1{font-family:Poppins-Semibold,sans-serif;font-size:.625rem}.font-bold-1{font-family:Poppins-Bold,sans-serif;font-size:.625rem}.font-thin-2{font-family:Poppins-Thin,sans-serif;font-size:.6875rem}.font-light-2{font-family:Poppins-Light,sans-serif;font-size:.6875rem}.font-regular-2{font-family:Poppins-Regular,sans-serif;font-size:.6875rem}.font-medium-2{font-family:Poppins-Medium,sans-serif;font-size:.6875rem}.font-semibold-2{font-family:Poppins-Semibold,sans-serif;font-size:.6875rem}.font-bold-2{font-family:Poppins-Bold,sans-serif;font-size:.6875rem}.font-thin-3{font-family:Poppins-Thin,sans-serif;font-size:.75rem}.font-light-3{font-family:Poppins-Light,sans-serif;font-size:.75rem}.font-regular-3{font-family:Poppins-Regular,sans-serif;font-size:.75rem}.font-medium-3{font-family:Poppins-Medium,sans-serif;font-size:.75rem}.font-semibold-3{font-family:Poppins-Semibold,sans-serif;font-size:.75rem}.font-bold-3{font-family:Poppins-Bold,sans-serif;font-size:.75rem}.font-thin-4{font-family:Poppins-Thin,sans-serif;font-size:.875rem}.font-light-4{font-family:Poppins-Light,sans-serif;font-size:.875rem}.font-regular-4{font-family:Poppins-Regular,sans-serif;font-size:.875rem}.font-medium-4{font-family:Poppins-Medium,sans-serif;font-size:.875rem}.font-semibold-4{font-family:Poppins-Semibold,sans-serif;font-size:.875rem}.font-bold-4{font-family:Poppins-Bold,sans-serif;font-size:.875rem}.font-thin-4_5{font-family:Poppins-Thin,sans-serif;font-size:.9375rem}.font-light-4_5{font-family:Poppins-Light,sans-serif;font-size:.9375rem}.font-regular-4_5{font-family:Poppins-Regular,sans-serif;font-size:.9375rem}.font-medium-4_5{font-family:Poppins-Medium,sans-serif;font-size:.9375rem}.font-semibold-4_5{font-family:Poppins-Semibold,sans-serif;font-size:.9375rem}.font-bold-4_5{font-family:Poppins-Bold,sans-serif;font-size:.9375rem}.font-thin-5{font-family:Poppins-Thin,sans-serif;font-size:1rem}.font-light-5{font-family:Poppins-Light,sans-serif;font-size:1rem}.font-regular-5{font-family:Poppins-Regular,sans-serif;font-size:1rem}.font-medium-5{font-family:Poppins-Medium,sans-serif;font-size:1rem}.font-semibold-5{font-family:Poppins-Semibold,sans-serif;font-size:1rem}.font-bold-5{font-family:Poppins-Bold,sans-serif;font-size:1rem}.font-thin-6{font-family:Poppins-Thin,sans-serif;font-size:1.125rem}.font-light-6{font-family:Poppins-Light,sans-serif;font-size:1.125rem}.font-regular-6{font-family:Poppins-Regular,sans-serif;font-size:1.125rem}.font-medium-6{font-family:Poppins-Medium,sans-serif;font-size:1.125rem}.font-semibold-6{font-family:Poppins-Semibold,sans-serif;font-size:1.125rem}.font-bold-6{font-family:Poppins-Bold,sans-serif;font-size:1.125rem}.font-thin-7{font-family:Poppins-Thin,sans-serif;font-size:1.25rem}.font-light-7{font-family:Poppins-Light,sans-serif;font-size:1.25rem}.font-regular-7{font-family:Poppins-Regular,sans-serif;font-size:1.25rem}.font-medium-7{font-family:Poppins-Medium,sans-serif;font-size:1.25rem}.font-semibold-7{font-family:Poppins-Semibold,sans-serif;font-size:1.25rem}.font-bold-7{font-family:Poppins-Bold,sans-serif;font-size:1.25rem}.font-thin-8{font-family:Poppins-Thin,sans-serif;font-size:1.375rem}.font-light-8{font-family:Poppins-Light,sans-serif;font-size:1.375rem}.font-regular-8{font-family:Poppins-Regular,sans-serif;font-size:1.375rem}.font-medium-8{font-family:Poppins-Medium,sans-serif;font-size:1.375rem}.font-semibold-8{font-family:Poppins-Semibold,sans-serif;font-size:1.375rem}.font-bold-8{font-family:Poppins-Bold,sans-serif;font-size:1.375rem}.font-thin-9{font-family:Poppins-Thin,sans-serif;font-size:1.5rem}.font-light-9{font-family:Poppins-Light,sans-serif;font-size:1.5rem}.font-regular-9{font-family:Poppins-Regular,sans-serif;font-size:1.5rem}.font-medium-9{font-family:Poppins-Medium,sans-serif;font-size:1.5rem}.font-semibold-9{font-family:Poppins-Semibold,sans-serif;font-size:1.5rem}.font-bold-9{font-family:Poppins-Bold,sans-serif;font-size:1.5rem}.font-thin-10{font-family:Poppins-Thin,sans-serif;font-size:1.625rem}.font-light-10{font-family:Poppins-Light,sans-serif;font-size:1.625rem}.font-regular-10{font-family:Poppins-Regular,sans-serif;font-size:1.625rem}.font-medium-10{font-family:Poppins-Medium,sans-serif;font-size:1.625rem}.font-semibold-10{font-family:Poppins-Semibold,sans-serif;font-size:1.625rem}.font-bold-10{font-family:Poppins-Bold,sans-serif;font-size:1.625rem}.font-thin-11{font-family:Poppins-Thin,sans-serif;font-size:2.25rem}.font-light-11{font-family:Poppins-Light,sans-serif;font-size:2.25rem}.font-regular-11{font-family:Poppins-Regular,sans-serif;font-size:2.25rem}.font-medium-11{font-family:Poppins-Medium,sans-serif;font-size:2.25rem}.font-semibold-11{font-family:Poppins-Semibold,sans-serif;font-size:2.25rem}.font-bold-11{font-family:Poppins-Bold,sans-serif;font-size:2.25rem}.font-thin-12{font-family:Poppins-Thin,sans-serif;font-size:3rem}.font-light-12{font-family:Poppins-Light,sans-serif;font-size:3rem}.font-regular-12{font-family:Poppins-Regular,sans-serif;font-size:3rem}.font-medium-12{font-family:Poppins-Medium,sans-serif;font-size:3rem}.font-semibold-12{font-family:Poppins-Semibold,sans-serif;font-size:3rem}.font-bold-12{font-family:Poppins-Bold,sans-serif;font-size:3rem}.bmb_wheel bmb-fab{position:absolute;z-index:30}.bmb_wheel bmb-tabs .bmb_tabs{margin:1.5rem auto}.bmb_wheel bmb-tabs .bmb_tabs-tab{display:grid;grid-template-columns:repeat(3,1fr)}.bmb_wheel-wrapper{background-color:RGBA(var(--color-charade-50),1);border:.25rem solid RGBA(var(--color-mariner-700),1);border-radius:50%;bottom:-16.25rem;height:43.75rem;left:50%;margin-left:-21.875rem;overflow:hidden;position:fixed;transition:all .5s ease-in;width:43.75rem;z-index:10}.bmb_wheel-wrapper .bmb_wheel-apps bmb-interactive-icon:first-child{transform:translate(-.9375rem,3.75rem)}.bmb_wheel-wrapper .bmb_wheel-apps bmb-interactive-icon:nth-child(3){transform:translate(1.25rem)}.bmb_wheel-wrapper .bmb_wheel-apps bmb-interactive-icon:nth-child(4){transform:translate(2.1875rem,3.75rem)}.bmb_wheel-wrapper .bmb_wheel-apps bmb-interactive-icon:nth-child(5){transform:translate(-.9375rem,5.625rem)}.bmb_wheel-wrapper .bmb_wheel-apps bmb-interactive-icon:nth-child(6){transform:translateY(2rem)}.bmb_wheel-wrapper .bmb_wheel-apps bmb-interactive-icon:last-child{transform:translate(1.25rem,2rem)}.bmb_wheel-button{cursor:pointer;height:1.5rem;left:0;margin:auto;position:absolute;right:0;top:.625rem}.bmb_wheel-button bmb-icon{color:rgba(var(--color-charade-950),1);font-size:1.5625rem}.bmb_wheel-apps{display:flex;flex-wrap:wrap;gap:.625rem;justify-content:flex-start;position:absolute;right:26%;top:18%;width:20rem}.bmb_wheel-menu{position:relative}.bmb_wheel-item{align-items:center;display:flex;height:3.125rem;justify-content:center;position:absolute;width:9.375rem;overflow:hidden}.bmb_wheel-item .bmb_wheel-nav{fill:rgba(var(--color-charade-500),1)}.bmb_wheel-item.previous{left:4.375rem;top:5rem;transform:rotate(-41deg)}.bmb_wheel-item.active{left:0;margin:auto;right:0;top:1.25rem}.bmb_wheel-item.active .bmb_wheel-nav{fill:rgba(var(--color-mariner-950),1)}.bmb_wheel-item.active:after{border:solid .25rem rgba(var(--color-mariner-700),1);border-color:rgba(var(--color-mariner-700),1) transparent transparent transparent;border-radius:63%;bottom:-18px;content:\"\";height:25px;left:0;margin:auto;position:absolute;right:0;width:75%}.bmb_wheel-item.next{right:4.375rem;top:5rem;transform:rotate(41deg)}.bmb_wheel-nav{font-family:Poppins-Semibold,sans-serif;font-size:1rem;height:40px;position:absolute;top:.625rem;z-index:10}.bmb_wheel-full{background-color:RGBA(var(--color-charade-200),1);bottom:0;height:100%;left:0;margin:auto;position:fixed;right:0;width:100%;z-index:30}.bmb_wheel-full .bmb_wheel-apps{padding:0 1.5rem;position:relative;right:inherit;top:inherit;width:100%}.bmb_wheel-svg{height:31.25rem;overflow:visible;pointer-events:none;rotate:270deg;width:31.25rem}.bmb_wheel-path{font-family:Poppins-Semibold,sans-serif;font-size:1rem;text-anchor:middle}[data-theme=dark] .bmb_wheel-wrapper,.storybook-dark-theme .bmb_wheel-wrapper{background-color:RGBA(var(--color-charade-950),1);border:.25rem solid RGBA(var(--color-neon-primary),1)}[data-theme=dark] .bmb_wheel-button bmb-icon,.storybook-dark-theme .bmb_wheel-button bmb-icon{color:rgba(var(--color-charade-50),1)}[data-theme=dark] .bmb_wheel-item .bmb_wheel-nav,.storybook-dark-theme .bmb_wheel-item .bmb_wheel-nav{fill:rgba(var(--color-charade-500),1)}[data-theme=dark] .bmb_wheel-item.active:after,.storybook-dark-theme .bmb_wheel-item.active:after{border-color:rgba(var(--color-neon-primary),1) transparent transparent transparent}[data-theme=dark] .bmb_wheel-item.active .bmb_wheel-nav,.storybook-dark-theme .bmb_wheel-item.active .bmb_wheel-nav{fill:rgba(var(--color-charade-50),1)}[data-theme=dark] .bmb_wheel-full,.storybook-dark-theme .bmb_wheel-full{background-color:RGBA(var(--color-charade-950),1)}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: BmbFabComponent, selector: "bmb-fab", inputs: ["icon", "text", "size", "type", "mitec"], outputs: ["fabClick"] }, { kind: "component", type: BmbIconComponent, selector: "bmb-icon", inputs: ["icon", "materialIcon", "styleIcon", "isFill", "fontWeight", "size", "alt", "dotNotification"] }, { kind: "component", type: BmbInnerHeaderComponent, selector: "bmb-inner-header", inputs: ["title", "placeholderSearch", "subTitle", "trailingIconPrimary", "trailingIconSecondary", "disableTrailingIconPrimary", "disableTrailingIconSecondary", "showClose", "showReturn", "showSearch"], outputs: ["onHandleTrailingPrimary", "onHandleTrailingSecondary", "onHandleBack", "onHandleClose", "searchData"] }, { kind: "component", type: BmbTabsComponent, selector: "bmb-tabs", inputs: ["appearanceContrast", "format", "tabs", "selectedTabId"], outputs: ["selectedTabIdChange", "selected"] }, { kind: "component", type: BmbInteractiveIconComponent, selector: "bmb-interactive-icon", inputs: ["appearanceContrast", "appearance", "title", "description", "icon", "dotNotification", "horizontal", "target", "link", "layout", "setButtonTemplate"], outputs: ["buttonClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
96
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: BmbWheelMenuComponent, isStandalone: true, selector: "bmb-wheel-menu", inputs: { navItems: "navItems", apps: "apps", data: "data", isLoading: "isLoading" }, outputs: { onValueChange: "onValueChange" }, viewQueries: [{ propertyName: "wheel", first: true, predicate: ["wheel"], descendants: true }, { propertyName: "wheelMenu", first: true, predicate: ["wheelMenu"], descendants: true }, { propertyName: "tabsComponent", first: true, predicate: BmbTabsComponent, descendants: true }], ngImport: i0, template: "<div class=\"bmb_wheel\">\n <bmb-fab\n [icon]=\"'apps'\"\n [text]=\"'FAB'\"\n [size]=\"'large'\"\n [type]=\"'normal'\"\n (fabClick)=\"toggleWheel()\"\n />\n\n @if (isOpen && !isFull) {\n <div #wheel class=\"bmb_wheel-wrapper\">\n <button class=\"bmb_wheel-button\" (click)=\"toggleFullWheel()\">\n <bmb-icon icon=\"keyboard_arrow_up\" />\n </button>\n <ul #wheelMenu class=\"bmb_wheel-menu\">\n <li\n *ngFor=\"let nav of navItems.slice(0, 3); let i = index\"\n class=\"bmb_wheel-item\"\n [ngClass]=\"getClasses(i)\"\n >\n <button (click)=\"selectNavItem(i)\" class=\"bmb_wheel-nav\">\n <svg viewBox=\"0 0 500 500\" class=\"bmb_wheel-svg\">\n <path\n id=\"circlePath{{ i }}\"\n d=\"M250,250 m-240,0 a240,240 0 1,1 480,0 a240,240 0 1,1 -480,0\"\n fill=\"none\"\n stroke=\"none\"\n />\n <text>\n <textPath\n [attr.href]=\"'#circlePath' + i\"\n startOffset=\"50%\"\n class=\"bmb_wheel-path\"\n >\n {{ nav.title }}\n </textPath>\n </text>\n </svg>\n </button>\n </li>\n </ul>\n\n <div class=\"bmb_wheel-apps\">\n <ng-container *ngFor=\"let app of activeApps\">\n <bmb-interactive-icon\n [appearance]=\"app.appearance\"\n [title]=\"app.title\"\n [icon]=\"app.icon\"\n [target]=\"app.target!\"\n [link]=\"app.link\"\n />\n </ng-container>\n </div>\n </div>\n }\n\n @if (isFull) {\n <div class=\"bmb_wheel-full\">\n <bmb-inner-header\n title=\"Inner Header\"\n (onHandleBack)=\"handleBackButton()\"\n />\n <bmb-tabs\n [tabs]=\"navItems.slice(0, 3)\"\n (selected)=\"selectFullMenuNavItem($event.id)\"\n />\n <div class=\"bmb_wheel-apps\">\n <ng-container *ngFor=\"let app of activeApps\">\n <bmb-interactive-icon\n [appearance]=\"app.appearance\"\n [title]=\"app.title\"\n [icon]=\"app.icon\"\n [horizontal]=\"false\"\n [target]=\"app.target\"\n [link]=\"app.link\"\n />\n </ng-container>\n </div>\n </div>\n }\n</div>\n", styles: ["@font-face{font-family:Poppins-Light;font-style:normal;font-weight:300;src:url(/assets/fonts/Poppins/Poppins-ExtraLight.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Regular;font-style:normal;font-weight:400;src:url(/assets/fonts/Poppins/Poppins-Regular.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Bold;font-style:normal;font-weight:700;src:url(/assets/fonts/Poppins/Poppins-Bold.ttf) format(\"truetype\")}:root,:host{--font-display: \"Poppins-Regular\", sans-serif}.font-thin-1{font-family:Poppins-Thin,sans-serif;font-size:.625rem}.font-light-1{font-family:Poppins-Light,sans-serif;font-size:.625rem}.font-regular-1{font-family:Poppins-Regular,sans-serif;font-size:.625rem}.font-medium-1{font-family:Poppins-Medium,sans-serif;font-size:.625rem}.font-semibold-1{font-family:Poppins-Semibold,sans-serif;font-size:.625rem}.font-bold-1{font-family:Poppins-Bold,sans-serif;font-size:.625rem}.font-thin-2{font-family:Poppins-Thin,sans-serif;font-size:.6875rem}.font-light-2{font-family:Poppins-Light,sans-serif;font-size:.6875rem}.font-regular-2{font-family:Poppins-Regular,sans-serif;font-size:.6875rem}.font-medium-2{font-family:Poppins-Medium,sans-serif;font-size:.6875rem}.font-semibold-2{font-family:Poppins-Semibold,sans-serif;font-size:.6875rem}.font-bold-2{font-family:Poppins-Bold,sans-serif;font-size:.6875rem}.font-thin-3{font-family:Poppins-Thin,sans-serif;font-size:.75rem}.font-light-3{font-family:Poppins-Light,sans-serif;font-size:.75rem}.font-regular-3{font-family:Poppins-Regular,sans-serif;font-size:.75rem}.font-medium-3{font-family:Poppins-Medium,sans-serif;font-size:.75rem}.font-semibold-3{font-family:Poppins-Semibold,sans-serif;font-size:.75rem}.font-bold-3{font-family:Poppins-Bold,sans-serif;font-size:.75rem}.font-thin-4{font-family:Poppins-Thin,sans-serif;font-size:.875rem}.font-light-4{font-family:Poppins-Light,sans-serif;font-size:.875rem}.font-regular-4{font-family:Poppins-Regular,sans-serif;font-size:.875rem}.font-medium-4{font-family:Poppins-Medium,sans-serif;font-size:.875rem}.font-semibold-4{font-family:Poppins-Semibold,sans-serif;font-size:.875rem}.font-bold-4{font-family:Poppins-Bold,sans-serif;font-size:.875rem}.font-thin-4_5{font-family:Poppins-Thin,sans-serif;font-size:.9375rem}.font-light-4_5{font-family:Poppins-Light,sans-serif;font-size:.9375rem}.font-regular-4_5{font-family:Poppins-Regular,sans-serif;font-size:.9375rem}.font-medium-4_5{font-family:Poppins-Medium,sans-serif;font-size:.9375rem}.font-semibold-4_5{font-family:Poppins-Semibold,sans-serif;font-size:.9375rem}.font-bold-4_5{font-family:Poppins-Bold,sans-serif;font-size:.9375rem}.font-thin-5{font-family:Poppins-Thin,sans-serif;font-size:1rem}.font-light-5{font-family:Poppins-Light,sans-serif;font-size:1rem}.font-regular-5{font-family:Poppins-Regular,sans-serif;font-size:1rem}.font-medium-5{font-family:Poppins-Medium,sans-serif;font-size:1rem}.font-semibold-5{font-family:Poppins-Semibold,sans-serif;font-size:1rem}.font-bold-5{font-family:Poppins-Bold,sans-serif;font-size:1rem}.font-thin-6{font-family:Poppins-Thin,sans-serif;font-size:1.125rem}.font-light-6{font-family:Poppins-Light,sans-serif;font-size:1.125rem}.font-regular-6{font-family:Poppins-Regular,sans-serif;font-size:1.125rem}.font-medium-6{font-family:Poppins-Medium,sans-serif;font-size:1.125rem}.font-semibold-6{font-family:Poppins-Semibold,sans-serif;font-size:1.125rem}.font-bold-6{font-family:Poppins-Bold,sans-serif;font-size:1.125rem}.font-thin-7{font-family:Poppins-Thin,sans-serif;font-size:1.25rem}.font-light-7{font-family:Poppins-Light,sans-serif;font-size:1.25rem}.font-regular-7{font-family:Poppins-Regular,sans-serif;font-size:1.25rem}.font-medium-7{font-family:Poppins-Medium,sans-serif;font-size:1.25rem}.font-semibold-7{font-family:Poppins-Semibold,sans-serif;font-size:1.25rem}.font-bold-7{font-family:Poppins-Bold,sans-serif;font-size:1.25rem}.font-thin-8{font-family:Poppins-Thin,sans-serif;font-size:1.375rem}.font-light-8{font-family:Poppins-Light,sans-serif;font-size:1.375rem}.font-regular-8{font-family:Poppins-Regular,sans-serif;font-size:1.375rem}.font-medium-8{font-family:Poppins-Medium,sans-serif;font-size:1.375rem}.font-semibold-8{font-family:Poppins-Semibold,sans-serif;font-size:1.375rem}.font-bold-8{font-family:Poppins-Bold,sans-serif;font-size:1.375rem}.font-thin-9{font-family:Poppins-Thin,sans-serif;font-size:1.5rem}.font-light-9{font-family:Poppins-Light,sans-serif;font-size:1.5rem}.font-regular-9{font-family:Poppins-Regular,sans-serif;font-size:1.5rem}.font-medium-9{font-family:Poppins-Medium,sans-serif;font-size:1.5rem}.font-semibold-9{font-family:Poppins-Semibold,sans-serif;font-size:1.5rem}.font-bold-9{font-family:Poppins-Bold,sans-serif;font-size:1.5rem}.font-thin-10{font-family:Poppins-Thin,sans-serif;font-size:1.625rem}.font-light-10{font-family:Poppins-Light,sans-serif;font-size:1.625rem}.font-regular-10{font-family:Poppins-Regular,sans-serif;font-size:1.625rem}.font-medium-10{font-family:Poppins-Medium,sans-serif;font-size:1.625rem}.font-semibold-10{font-family:Poppins-Semibold,sans-serif;font-size:1.625rem}.font-bold-10{font-family:Poppins-Bold,sans-serif;font-size:1.625rem}.font-thin-11{font-family:Poppins-Thin,sans-serif;font-size:2.25rem}.font-light-11{font-family:Poppins-Light,sans-serif;font-size:2.25rem}.font-regular-11{font-family:Poppins-Regular,sans-serif;font-size:2.25rem}.font-medium-11{font-family:Poppins-Medium,sans-serif;font-size:2.25rem}.font-semibold-11{font-family:Poppins-Semibold,sans-serif;font-size:2.25rem}.font-bold-11{font-family:Poppins-Bold,sans-serif;font-size:2.25rem}.font-thin-12{font-family:Poppins-Thin,sans-serif;font-size:3rem}.font-light-12{font-family:Poppins-Light,sans-serif;font-size:3rem}.font-regular-12{font-family:Poppins-Regular,sans-serif;font-size:3rem}.font-medium-12{font-family:Poppins-Medium,sans-serif;font-size:3rem}.font-semibold-12{font-family:Poppins-Semibold,sans-serif;font-size:3rem}.font-bold-12{font-family:Poppins-Bold,sans-serif;font-size:3rem}.bmb_wheel bmb-fab{position:absolute;z-index:30}.bmb_wheel bmb-tabs .bmb_tabs{margin:1.5rem auto}.bmb_wheel bmb-tabs .bmb_tabs-tab{display:grid;grid-template-columns:repeat(3,1fr)}.bmb_wheel-wrapper{background-color:RGBA(var(--color-charade-50),1);border:.25rem solid RGBA(var(--color-mariner-700),1);border-radius:50%;bottom:-16.25rem;height:43.75rem;left:50%;margin-left:-21.875rem;overflow:hidden;position:fixed;transition:all .5s ease-in;width:43.75rem;z-index:10}.bmb_wheel-wrapper .bmb_wheel-apps bmb-interactive-icon:first-child{transform:translate(-.9375rem,3.75rem)}.bmb_wheel-wrapper .bmb_wheel-apps bmb-interactive-icon:nth-child(3){transform:translate(1.25rem)}.bmb_wheel-wrapper .bmb_wheel-apps bmb-interactive-icon:nth-child(4){transform:translate(2.1875rem,3.75rem)}.bmb_wheel-wrapper .bmb_wheel-apps bmb-interactive-icon:nth-child(5){transform:translate(-.9375rem,5.625rem)}.bmb_wheel-wrapper .bmb_wheel-apps bmb-interactive-icon:nth-child(6){transform:translateY(2rem)}.bmb_wheel-wrapper .bmb_wheel-apps bmb-interactive-icon:last-child{transform:translate(1.25rem,2rem)}.bmb_wheel-button{cursor:pointer;height:1.5rem;left:0;margin:auto;position:absolute;right:0;top:.625rem}.bmb_wheel-button bmb-icon{color:rgba(var(--color-charade-950),1);font-size:1.5625rem}.bmb_wheel-apps{display:flex;flex-wrap:wrap;gap:.625rem;justify-content:flex-start;position:absolute;right:26%;top:18%;width:20rem}.bmb_wheel-menu{position:relative}.bmb_wheel-item{align-items:center;display:flex;height:3.125rem;justify-content:center;position:absolute;width:9.375rem;overflow:hidden}.bmb_wheel-item .bmb_wheel-nav{fill:rgba(var(--color-charade-500),1)}.bmb_wheel-item.previous{left:4.375rem;top:5rem;transform:rotate(-41deg)}.bmb_wheel-item.active{left:0;margin:auto;right:0;top:1.25rem}.bmb_wheel-item.active .bmb_wheel-nav{fill:rgba(var(--color-mariner-950),1)}.bmb_wheel-item.active:after{border:solid .25rem rgba(var(--color-mariner-700),1);border-color:rgba(var(--color-mariner-700),1) transparent transparent transparent;border-radius:63%;bottom:-18px;content:\"\";height:25px;left:0;margin:auto;position:absolute;right:0;width:75%}.bmb_wheel-item.next{right:4.375rem;top:5rem;transform:rotate(41deg)}.bmb_wheel-nav{font-family:Poppins-Bold,sans-serif;font-size:1rem;height:40px;position:absolute;top:.625rem;z-index:10}.bmb_wheel-full{background-color:RGBA(var(--color-charade-200),1);bottom:0;height:100%;left:0;margin:auto;position:fixed;right:0;width:100%;z-index:30}.bmb_wheel-full .bmb_wheel-apps{padding:0 1.5rem;position:relative;right:inherit;top:inherit;width:100%}.bmb_wheel-svg{height:31.25rem;overflow:visible;pointer-events:none;rotate:270deg;width:31.25rem}.bmb_wheel-path{font-family:Poppins-Bold,sans-serif;font-size:1rem;text-anchor:middle}[data-theme=dark] .bmb_wheel-wrapper,.storybook-dark-theme .bmb_wheel-wrapper{background-color:RGBA(var(--color-charade-950),1);border:.25rem solid RGBA(var(--color-neon-primary),1)}[data-theme=dark] .bmb_wheel-button bmb-icon,.storybook-dark-theme .bmb_wheel-button bmb-icon{color:rgba(var(--color-charade-50),1)}[data-theme=dark] .bmb_wheel-item .bmb_wheel-nav,.storybook-dark-theme .bmb_wheel-item .bmb_wheel-nav{fill:rgba(var(--color-charade-500),1)}[data-theme=dark] .bmb_wheel-item.active:after,.storybook-dark-theme .bmb_wheel-item.active:after{border-color:rgba(var(--color-neon-primary),1) transparent transparent transparent}[data-theme=dark] .bmb_wheel-item.active .bmb_wheel-nav,.storybook-dark-theme .bmb_wheel-item.active .bmb_wheel-nav{fill:rgba(var(--color-charade-50),1)}[data-theme=dark] .bmb_wheel-full,.storybook-dark-theme .bmb_wheel-full{background-color:RGBA(var(--color-charade-950),1)}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: BmbFabComponent, selector: "bmb-fab", inputs: ["icon", "text", "size", "type", "mitec"], outputs: ["fabClick"] }, { kind: "component", type: BmbIconComponent, selector: "bmb-icon", inputs: ["icon", "materialIcon", "styleIcon", "isFill", "fontWeight", "size", "alt", "dotNotification"] }, { kind: "component", type: BmbInnerHeaderComponent, selector: "bmb-inner-header", inputs: ["title", "placeholderSearch", "subTitle", "trailingIconPrimary", "trailingIconSecondary", "disableTrailingIconPrimary", "disableTrailingIconSecondary", "showClose", "showReturn", "showSearch"], outputs: ["onHandleTrailingPrimary", "onHandleTrailingSecondary", "onHandleBack", "onHandleClose", "searchData"] }, { kind: "component", type: BmbTabsComponent, selector: "bmb-tabs", inputs: ["appearanceContrast", "format", "tabs", "selectedTabId"], outputs: ["selectedTabIdChange", "selected"] }, { kind: "component", type: BmbInteractiveIconComponent, selector: "bmb-interactive-icon", inputs: ["appearanceContrast", "appearance", "title", "description", "icon", "dotNotification", "horizontal", "target", "link", "layout", "setButtonTemplate"], outputs: ["buttonClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
97
97
|
}
|
|
98
98
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BmbWheelMenuComponent, decorators: [{
|
|
99
99
|
type: Component,
|
|
@@ -104,7 +104,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
104
104
|
BmbInnerHeaderComponent,
|
|
105
105
|
BmbTabsComponent,
|
|
106
106
|
BmbInteractiveIconComponent,
|
|
107
|
-
], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<div class=\"bmb_wheel\">\n <bmb-fab\n [icon]=\"'apps'\"\n [text]=\"'FAB'\"\n [size]=\"'large'\"\n [type]=\"'normal'\"\n (fabClick)=\"toggleWheel()\"\n />\n\n @if (isOpen && !isFull) {\n <div #wheel class=\"bmb_wheel-wrapper\">\n <button class=\"bmb_wheel-button\" (click)=\"toggleFullWheel()\">\n <bmb-icon icon=\"keyboard_arrow_up\" />\n </button>\n <ul #wheelMenu class=\"bmb_wheel-menu\">\n <li\n *ngFor=\"let nav of navItems.slice(0, 3); let i = index\"\n class=\"bmb_wheel-item\"\n [ngClass]=\"getClasses(i)\"\n >\n <button (click)=\"selectNavItem(i)\" class=\"bmb_wheel-nav\">\n <svg viewBox=\"0 0 500 500\" class=\"bmb_wheel-svg\">\n <path\n id=\"circlePath{{ i }}\"\n d=\"M250,250 m-240,0 a240,240 0 1,1 480,0 a240,240 0 1,1 -480,0\"\n fill=\"none\"\n stroke=\"none\"\n />\n <text>\n <textPath\n [attr.href]=\"'#circlePath' + i\"\n startOffset=\"50%\"\n class=\"bmb_wheel-path\"\n >\n {{ nav.title }}\n </textPath>\n </text>\n </svg>\n </button>\n </li>\n </ul>\n\n <div class=\"bmb_wheel-apps\">\n <ng-container *ngFor=\"let app of activeApps\">\n <bmb-interactive-icon\n [appearance]=\"app.appearance\"\n [title]=\"app.title\"\n [icon]=\"app.icon\"\n [target]=\"app.target!\"\n [link]=\"app.link\"\n />\n </ng-container>\n </div>\n </div>\n }\n\n @if (isFull) {\n <div class=\"bmb_wheel-full\">\n <bmb-inner-header\n title=\"Inner Header\"\n (onHandleBack)=\"handleBackButton()\"\n />\n <bmb-tabs\n [tabs]=\"navItems.slice(0, 3)\"\n (selected)=\"selectFullMenuNavItem($event.id)\"\n />\n <div class=\"bmb_wheel-apps\">\n <ng-container *ngFor=\"let app of activeApps\">\n <bmb-interactive-icon\n [appearance]=\"app.appearance\"\n [title]=\"app.title\"\n [icon]=\"app.icon\"\n [horizontal]=\"false\"\n [target]=\"app.target\"\n [link]=\"app.link\"\n />\n </ng-container>\n </div>\n </div>\n }\n</div>\n", styles: ["@font-face{font-family:Poppins-Light;font-style:normal;font-weight:300;src:url(/assets/fonts/Poppins/Poppins-ExtraLight.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Regular;font-style:normal;font-weight:400;src:url(/assets/fonts/Poppins/Poppins-Regular.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Bold;font-style:normal;font-weight:700;src:url(/assets/fonts/Poppins/Poppins-Bold.ttf) format(\"truetype\")}:root,:host{--font-display: \"Poppins-Regular\", sans-serif}.font-thin-1{font-family:Poppins-Thin,sans-serif;font-size:.625rem}.font-light-1{font-family:Poppins-Light,sans-serif;font-size:.625rem}.font-regular-1{font-family:Poppins-Regular,sans-serif;font-size:.625rem}.font-medium-1{font-family:Poppins-Medium,sans-serif;font-size:.625rem}.font-semibold-1{font-family:Poppins-Semibold,sans-serif;font-size:.625rem}.font-bold-1{font-family:Poppins-Bold,sans-serif;font-size:.625rem}.font-thin-2{font-family:Poppins-Thin,sans-serif;font-size:.6875rem}.font-light-2{font-family:Poppins-Light,sans-serif;font-size:.6875rem}.font-regular-2{font-family:Poppins-Regular,sans-serif;font-size:.6875rem}.font-medium-2{font-family:Poppins-Medium,sans-serif;font-size:.6875rem}.font-semibold-2{font-family:Poppins-Semibold,sans-serif;font-size:.6875rem}.font-bold-2{font-family:Poppins-Bold,sans-serif;font-size:.6875rem}.font-thin-3{font-family:Poppins-Thin,sans-serif;font-size:.75rem}.font-light-3{font-family:Poppins-Light,sans-serif;font-size:.75rem}.font-regular-3{font-family:Poppins-Regular,sans-serif;font-size:.75rem}.font-medium-3{font-family:Poppins-Medium,sans-serif;font-size:.75rem}.font-semibold-3{font-family:Poppins-Semibold,sans-serif;font-size:.75rem}.font-bold-3{font-family:Poppins-Bold,sans-serif;font-size:.75rem}.font-thin-4{font-family:Poppins-Thin,sans-serif;font-size:.875rem}.font-light-4{font-family:Poppins-Light,sans-serif;font-size:.875rem}.font-regular-4{font-family:Poppins-Regular,sans-serif;font-size:.875rem}.font-medium-4{font-family:Poppins-Medium,sans-serif;font-size:.875rem}.font-semibold-4{font-family:Poppins-Semibold,sans-serif;font-size:.875rem}.font-bold-4{font-family:Poppins-Bold,sans-serif;font-size:.875rem}.font-thin-4_5{font-family:Poppins-Thin,sans-serif;font-size:.9375rem}.font-light-4_5{font-family:Poppins-Light,sans-serif;font-size:.9375rem}.font-regular-4_5{font-family:Poppins-Regular,sans-serif;font-size:.9375rem}.font-medium-4_5{font-family:Poppins-Medium,sans-serif;font-size:.9375rem}.font-semibold-4_5{font-family:Poppins-Semibold,sans-serif;font-size:.9375rem}.font-bold-4_5{font-family:Poppins-Bold,sans-serif;font-size:.9375rem}.font-thin-5{font-family:Poppins-Thin,sans-serif;font-size:1rem}.font-light-5{font-family:Poppins-Light,sans-serif;font-size:1rem}.font-regular-5{font-family:Poppins-Regular,sans-serif;font-size:1rem}.font-medium-5{font-family:Poppins-Medium,sans-serif;font-size:1rem}.font-semibold-5{font-family:Poppins-Semibold,sans-serif;font-size:1rem}.font-bold-5{font-family:Poppins-Bold,sans-serif;font-size:1rem}.font-thin-6{font-family:Poppins-Thin,sans-serif;font-size:1.125rem}.font-light-6{font-family:Poppins-Light,sans-serif;font-size:1.125rem}.font-regular-6{font-family:Poppins-Regular,sans-serif;font-size:1.125rem}.font-medium-6{font-family:Poppins-Medium,sans-serif;font-size:1.125rem}.font-semibold-6{font-family:Poppins-Semibold,sans-serif;font-size:1.125rem}.font-bold-6{font-family:Poppins-Bold,sans-serif;font-size:1.125rem}.font-thin-7{font-family:Poppins-Thin,sans-serif;font-size:1.25rem}.font-light-7{font-family:Poppins-Light,sans-serif;font-size:1.25rem}.font-regular-7{font-family:Poppins-Regular,sans-serif;font-size:1.25rem}.font-medium-7{font-family:Poppins-Medium,sans-serif;font-size:1.25rem}.font-semibold-7{font-family:Poppins-Semibold,sans-serif;font-size:1.25rem}.font-bold-7{font-family:Poppins-Bold,sans-serif;font-size:1.25rem}.font-thin-8{font-family:Poppins-Thin,sans-serif;font-size:1.375rem}.font-light-8{font-family:Poppins-Light,sans-serif;font-size:1.375rem}.font-regular-8{font-family:Poppins-Regular,sans-serif;font-size:1.375rem}.font-medium-8{font-family:Poppins-Medium,sans-serif;font-size:1.375rem}.font-semibold-8{font-family:Poppins-Semibold,sans-serif;font-size:1.375rem}.font-bold-8{font-family:Poppins-Bold,sans-serif;font-size:1.375rem}.font-thin-9{font-family:Poppins-Thin,sans-serif;font-size:1.5rem}.font-light-9{font-family:Poppins-Light,sans-serif;font-size:1.5rem}.font-regular-9{font-family:Poppins-Regular,sans-serif;font-size:1.5rem}.font-medium-9{font-family:Poppins-Medium,sans-serif;font-size:1.5rem}.font-semibold-9{font-family:Poppins-Semibold,sans-serif;font-size:1.5rem}.font-bold-9{font-family:Poppins-Bold,sans-serif;font-size:1.5rem}.font-thin-10{font-family:Poppins-Thin,sans-serif;font-size:1.625rem}.font-light-10{font-family:Poppins-Light,sans-serif;font-size:1.625rem}.font-regular-10{font-family:Poppins-Regular,sans-serif;font-size:1.625rem}.font-medium-10{font-family:Poppins-Medium,sans-serif;font-size:1.625rem}.font-semibold-10{font-family:Poppins-Semibold,sans-serif;font-size:1.625rem}.font-bold-10{font-family:Poppins-Bold,sans-serif;font-size:1.625rem}.font-thin-11{font-family:Poppins-Thin,sans-serif;font-size:2.25rem}.font-light-11{font-family:Poppins-Light,sans-serif;font-size:2.25rem}.font-regular-11{font-family:Poppins-Regular,sans-serif;font-size:2.25rem}.font-medium-11{font-family:Poppins-Medium,sans-serif;font-size:2.25rem}.font-semibold-11{font-family:Poppins-Semibold,sans-serif;font-size:2.25rem}.font-bold-11{font-family:Poppins-Bold,sans-serif;font-size:2.25rem}.font-thin-12{font-family:Poppins-Thin,sans-serif;font-size:3rem}.font-light-12{font-family:Poppins-Light,sans-serif;font-size:3rem}.font-regular-12{font-family:Poppins-Regular,sans-serif;font-size:3rem}.font-medium-12{font-family:Poppins-Medium,sans-serif;font-size:3rem}.font-semibold-12{font-family:Poppins-Semibold,sans-serif;font-size:3rem}.font-bold-12{font-family:Poppins-Bold,sans-serif;font-size:3rem}.bmb_wheel bmb-fab{position:absolute;z-index:30}.bmb_wheel bmb-tabs .bmb_tabs{margin:1.5rem auto}.bmb_wheel bmb-tabs .bmb_tabs-tab{display:grid;grid-template-columns:repeat(3,1fr)}.bmb_wheel-wrapper{background-color:RGBA(var(--color-charade-50),1);border:.25rem solid RGBA(var(--color-mariner-700),1);border-radius:50%;bottom:-16.25rem;height:43.75rem;left:50%;margin-left:-21.875rem;overflow:hidden;position:fixed;transition:all .5s ease-in;width:43.75rem;z-index:10}.bmb_wheel-wrapper .bmb_wheel-apps bmb-interactive-icon:first-child{transform:translate(-.9375rem,3.75rem)}.bmb_wheel-wrapper .bmb_wheel-apps bmb-interactive-icon:nth-child(3){transform:translate(1.25rem)}.bmb_wheel-wrapper .bmb_wheel-apps bmb-interactive-icon:nth-child(4){transform:translate(2.1875rem,3.75rem)}.bmb_wheel-wrapper .bmb_wheel-apps bmb-interactive-icon:nth-child(5){transform:translate(-.9375rem,5.625rem)}.bmb_wheel-wrapper .bmb_wheel-apps bmb-interactive-icon:nth-child(6){transform:translateY(2rem)}.bmb_wheel-wrapper .bmb_wheel-apps bmb-interactive-icon:last-child{transform:translate(1.25rem,2rem)}.bmb_wheel-button{cursor:pointer;height:1.5rem;left:0;margin:auto;position:absolute;right:0;top:.625rem}.bmb_wheel-button bmb-icon{color:rgba(var(--color-charade-950),1);font-size:1.5625rem}.bmb_wheel-apps{display:flex;flex-wrap:wrap;gap:.625rem;justify-content:flex-start;position:absolute;right:26%;top:18%;width:20rem}.bmb_wheel-menu{position:relative}.bmb_wheel-item{align-items:center;display:flex;height:3.125rem;justify-content:center;position:absolute;width:9.375rem;overflow:hidden}.bmb_wheel-item .bmb_wheel-nav{fill:rgba(var(--color-charade-500),1)}.bmb_wheel-item.previous{left:4.375rem;top:5rem;transform:rotate(-41deg)}.bmb_wheel-item.active{left:0;margin:auto;right:0;top:1.25rem}.bmb_wheel-item.active .bmb_wheel-nav{fill:rgba(var(--color-mariner-950),1)}.bmb_wheel-item.active:after{border:solid .25rem rgba(var(--color-mariner-700),1);border-color:rgba(var(--color-mariner-700),1) transparent transparent transparent;border-radius:63%;bottom:-18px;content:\"\";height:25px;left:0;margin:auto;position:absolute;right:0;width:75%}.bmb_wheel-item.next{right:4.375rem;top:5rem;transform:rotate(41deg)}.bmb_wheel-nav{font-family:Poppins-Semibold,sans-serif;font-size:1rem;height:40px;position:absolute;top:.625rem;z-index:10}.bmb_wheel-full{background-color:RGBA(var(--color-charade-200),1);bottom:0;height:100%;left:0;margin:auto;position:fixed;right:0;width:100%;z-index:30}.bmb_wheel-full .bmb_wheel-apps{padding:0 1.5rem;position:relative;right:inherit;top:inherit;width:100%}.bmb_wheel-svg{height:31.25rem;overflow:visible;pointer-events:none;rotate:270deg;width:31.25rem}.bmb_wheel-path{font-family:Poppins-Semibold,sans-serif;font-size:1rem;text-anchor:middle}[data-theme=dark] .bmb_wheel-wrapper,.storybook-dark-theme .bmb_wheel-wrapper{background-color:RGBA(var(--color-charade-950),1);border:.25rem solid RGBA(var(--color-neon-primary),1)}[data-theme=dark] .bmb_wheel-button bmb-icon,.storybook-dark-theme .bmb_wheel-button bmb-icon{color:rgba(var(--color-charade-50),1)}[data-theme=dark] .bmb_wheel-item .bmb_wheel-nav,.storybook-dark-theme .bmb_wheel-item .bmb_wheel-nav{fill:rgba(var(--color-charade-500),1)}[data-theme=dark] .bmb_wheel-item.active:after,.storybook-dark-theme .bmb_wheel-item.active:after{border-color:rgba(var(--color-neon-primary),1) transparent transparent transparent}[data-theme=dark] .bmb_wheel-item.active .bmb_wheel-nav,.storybook-dark-theme .bmb_wheel-item.active .bmb_wheel-nav{fill:rgba(var(--color-charade-50),1)}[data-theme=dark] .bmb_wheel-full,.storybook-dark-theme .bmb_wheel-full{background-color:RGBA(var(--color-charade-950),1)}\n"] }]
|
|
107
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<div class=\"bmb_wheel\">\n <bmb-fab\n [icon]=\"'apps'\"\n [text]=\"'FAB'\"\n [size]=\"'large'\"\n [type]=\"'normal'\"\n (fabClick)=\"toggleWheel()\"\n />\n\n @if (isOpen && !isFull) {\n <div #wheel class=\"bmb_wheel-wrapper\">\n <button class=\"bmb_wheel-button\" (click)=\"toggleFullWheel()\">\n <bmb-icon icon=\"keyboard_arrow_up\" />\n </button>\n <ul #wheelMenu class=\"bmb_wheel-menu\">\n <li\n *ngFor=\"let nav of navItems.slice(0, 3); let i = index\"\n class=\"bmb_wheel-item\"\n [ngClass]=\"getClasses(i)\"\n >\n <button (click)=\"selectNavItem(i)\" class=\"bmb_wheel-nav\">\n <svg viewBox=\"0 0 500 500\" class=\"bmb_wheel-svg\">\n <path\n id=\"circlePath{{ i }}\"\n d=\"M250,250 m-240,0 a240,240 0 1,1 480,0 a240,240 0 1,1 -480,0\"\n fill=\"none\"\n stroke=\"none\"\n />\n <text>\n <textPath\n [attr.href]=\"'#circlePath' + i\"\n startOffset=\"50%\"\n class=\"bmb_wheel-path\"\n >\n {{ nav.title }}\n </textPath>\n </text>\n </svg>\n </button>\n </li>\n </ul>\n\n <div class=\"bmb_wheel-apps\">\n <ng-container *ngFor=\"let app of activeApps\">\n <bmb-interactive-icon\n [appearance]=\"app.appearance\"\n [title]=\"app.title\"\n [icon]=\"app.icon\"\n [target]=\"app.target!\"\n [link]=\"app.link\"\n />\n </ng-container>\n </div>\n </div>\n }\n\n @if (isFull) {\n <div class=\"bmb_wheel-full\">\n <bmb-inner-header\n title=\"Inner Header\"\n (onHandleBack)=\"handleBackButton()\"\n />\n <bmb-tabs\n [tabs]=\"navItems.slice(0, 3)\"\n (selected)=\"selectFullMenuNavItem($event.id)\"\n />\n <div class=\"bmb_wheel-apps\">\n <ng-container *ngFor=\"let app of activeApps\">\n <bmb-interactive-icon\n [appearance]=\"app.appearance\"\n [title]=\"app.title\"\n [icon]=\"app.icon\"\n [horizontal]=\"false\"\n [target]=\"app.target\"\n [link]=\"app.link\"\n />\n </ng-container>\n </div>\n </div>\n }\n</div>\n", styles: ["@font-face{font-family:Poppins-Light;font-style:normal;font-weight:300;src:url(/assets/fonts/Poppins/Poppins-ExtraLight.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Regular;font-style:normal;font-weight:400;src:url(/assets/fonts/Poppins/Poppins-Regular.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Bold;font-style:normal;font-weight:700;src:url(/assets/fonts/Poppins/Poppins-Bold.ttf) format(\"truetype\")}:root,:host{--font-display: \"Poppins-Regular\", sans-serif}.font-thin-1{font-family:Poppins-Thin,sans-serif;font-size:.625rem}.font-light-1{font-family:Poppins-Light,sans-serif;font-size:.625rem}.font-regular-1{font-family:Poppins-Regular,sans-serif;font-size:.625rem}.font-medium-1{font-family:Poppins-Medium,sans-serif;font-size:.625rem}.font-semibold-1{font-family:Poppins-Semibold,sans-serif;font-size:.625rem}.font-bold-1{font-family:Poppins-Bold,sans-serif;font-size:.625rem}.font-thin-2{font-family:Poppins-Thin,sans-serif;font-size:.6875rem}.font-light-2{font-family:Poppins-Light,sans-serif;font-size:.6875rem}.font-regular-2{font-family:Poppins-Regular,sans-serif;font-size:.6875rem}.font-medium-2{font-family:Poppins-Medium,sans-serif;font-size:.6875rem}.font-semibold-2{font-family:Poppins-Semibold,sans-serif;font-size:.6875rem}.font-bold-2{font-family:Poppins-Bold,sans-serif;font-size:.6875rem}.font-thin-3{font-family:Poppins-Thin,sans-serif;font-size:.75rem}.font-light-3{font-family:Poppins-Light,sans-serif;font-size:.75rem}.font-regular-3{font-family:Poppins-Regular,sans-serif;font-size:.75rem}.font-medium-3{font-family:Poppins-Medium,sans-serif;font-size:.75rem}.font-semibold-3{font-family:Poppins-Semibold,sans-serif;font-size:.75rem}.font-bold-3{font-family:Poppins-Bold,sans-serif;font-size:.75rem}.font-thin-4{font-family:Poppins-Thin,sans-serif;font-size:.875rem}.font-light-4{font-family:Poppins-Light,sans-serif;font-size:.875rem}.font-regular-4{font-family:Poppins-Regular,sans-serif;font-size:.875rem}.font-medium-4{font-family:Poppins-Medium,sans-serif;font-size:.875rem}.font-semibold-4{font-family:Poppins-Semibold,sans-serif;font-size:.875rem}.font-bold-4{font-family:Poppins-Bold,sans-serif;font-size:.875rem}.font-thin-4_5{font-family:Poppins-Thin,sans-serif;font-size:.9375rem}.font-light-4_5{font-family:Poppins-Light,sans-serif;font-size:.9375rem}.font-regular-4_5{font-family:Poppins-Regular,sans-serif;font-size:.9375rem}.font-medium-4_5{font-family:Poppins-Medium,sans-serif;font-size:.9375rem}.font-semibold-4_5{font-family:Poppins-Semibold,sans-serif;font-size:.9375rem}.font-bold-4_5{font-family:Poppins-Bold,sans-serif;font-size:.9375rem}.font-thin-5{font-family:Poppins-Thin,sans-serif;font-size:1rem}.font-light-5{font-family:Poppins-Light,sans-serif;font-size:1rem}.font-regular-5{font-family:Poppins-Regular,sans-serif;font-size:1rem}.font-medium-5{font-family:Poppins-Medium,sans-serif;font-size:1rem}.font-semibold-5{font-family:Poppins-Semibold,sans-serif;font-size:1rem}.font-bold-5{font-family:Poppins-Bold,sans-serif;font-size:1rem}.font-thin-6{font-family:Poppins-Thin,sans-serif;font-size:1.125rem}.font-light-6{font-family:Poppins-Light,sans-serif;font-size:1.125rem}.font-regular-6{font-family:Poppins-Regular,sans-serif;font-size:1.125rem}.font-medium-6{font-family:Poppins-Medium,sans-serif;font-size:1.125rem}.font-semibold-6{font-family:Poppins-Semibold,sans-serif;font-size:1.125rem}.font-bold-6{font-family:Poppins-Bold,sans-serif;font-size:1.125rem}.font-thin-7{font-family:Poppins-Thin,sans-serif;font-size:1.25rem}.font-light-7{font-family:Poppins-Light,sans-serif;font-size:1.25rem}.font-regular-7{font-family:Poppins-Regular,sans-serif;font-size:1.25rem}.font-medium-7{font-family:Poppins-Medium,sans-serif;font-size:1.25rem}.font-semibold-7{font-family:Poppins-Semibold,sans-serif;font-size:1.25rem}.font-bold-7{font-family:Poppins-Bold,sans-serif;font-size:1.25rem}.font-thin-8{font-family:Poppins-Thin,sans-serif;font-size:1.375rem}.font-light-8{font-family:Poppins-Light,sans-serif;font-size:1.375rem}.font-regular-8{font-family:Poppins-Regular,sans-serif;font-size:1.375rem}.font-medium-8{font-family:Poppins-Medium,sans-serif;font-size:1.375rem}.font-semibold-8{font-family:Poppins-Semibold,sans-serif;font-size:1.375rem}.font-bold-8{font-family:Poppins-Bold,sans-serif;font-size:1.375rem}.font-thin-9{font-family:Poppins-Thin,sans-serif;font-size:1.5rem}.font-light-9{font-family:Poppins-Light,sans-serif;font-size:1.5rem}.font-regular-9{font-family:Poppins-Regular,sans-serif;font-size:1.5rem}.font-medium-9{font-family:Poppins-Medium,sans-serif;font-size:1.5rem}.font-semibold-9{font-family:Poppins-Semibold,sans-serif;font-size:1.5rem}.font-bold-9{font-family:Poppins-Bold,sans-serif;font-size:1.5rem}.font-thin-10{font-family:Poppins-Thin,sans-serif;font-size:1.625rem}.font-light-10{font-family:Poppins-Light,sans-serif;font-size:1.625rem}.font-regular-10{font-family:Poppins-Regular,sans-serif;font-size:1.625rem}.font-medium-10{font-family:Poppins-Medium,sans-serif;font-size:1.625rem}.font-semibold-10{font-family:Poppins-Semibold,sans-serif;font-size:1.625rem}.font-bold-10{font-family:Poppins-Bold,sans-serif;font-size:1.625rem}.font-thin-11{font-family:Poppins-Thin,sans-serif;font-size:2.25rem}.font-light-11{font-family:Poppins-Light,sans-serif;font-size:2.25rem}.font-regular-11{font-family:Poppins-Regular,sans-serif;font-size:2.25rem}.font-medium-11{font-family:Poppins-Medium,sans-serif;font-size:2.25rem}.font-semibold-11{font-family:Poppins-Semibold,sans-serif;font-size:2.25rem}.font-bold-11{font-family:Poppins-Bold,sans-serif;font-size:2.25rem}.font-thin-12{font-family:Poppins-Thin,sans-serif;font-size:3rem}.font-light-12{font-family:Poppins-Light,sans-serif;font-size:3rem}.font-regular-12{font-family:Poppins-Regular,sans-serif;font-size:3rem}.font-medium-12{font-family:Poppins-Medium,sans-serif;font-size:3rem}.font-semibold-12{font-family:Poppins-Semibold,sans-serif;font-size:3rem}.font-bold-12{font-family:Poppins-Bold,sans-serif;font-size:3rem}.bmb_wheel bmb-fab{position:absolute;z-index:30}.bmb_wheel bmb-tabs .bmb_tabs{margin:1.5rem auto}.bmb_wheel bmb-tabs .bmb_tabs-tab{display:grid;grid-template-columns:repeat(3,1fr)}.bmb_wheel-wrapper{background-color:RGBA(var(--color-charade-50),1);border:.25rem solid RGBA(var(--color-mariner-700),1);border-radius:50%;bottom:-16.25rem;height:43.75rem;left:50%;margin-left:-21.875rem;overflow:hidden;position:fixed;transition:all .5s ease-in;width:43.75rem;z-index:10}.bmb_wheel-wrapper .bmb_wheel-apps bmb-interactive-icon:first-child{transform:translate(-.9375rem,3.75rem)}.bmb_wheel-wrapper .bmb_wheel-apps bmb-interactive-icon:nth-child(3){transform:translate(1.25rem)}.bmb_wheel-wrapper .bmb_wheel-apps bmb-interactive-icon:nth-child(4){transform:translate(2.1875rem,3.75rem)}.bmb_wheel-wrapper .bmb_wheel-apps bmb-interactive-icon:nth-child(5){transform:translate(-.9375rem,5.625rem)}.bmb_wheel-wrapper .bmb_wheel-apps bmb-interactive-icon:nth-child(6){transform:translateY(2rem)}.bmb_wheel-wrapper .bmb_wheel-apps bmb-interactive-icon:last-child{transform:translate(1.25rem,2rem)}.bmb_wheel-button{cursor:pointer;height:1.5rem;left:0;margin:auto;position:absolute;right:0;top:.625rem}.bmb_wheel-button bmb-icon{color:rgba(var(--color-charade-950),1);font-size:1.5625rem}.bmb_wheel-apps{display:flex;flex-wrap:wrap;gap:.625rem;justify-content:flex-start;position:absolute;right:26%;top:18%;width:20rem}.bmb_wheel-menu{position:relative}.bmb_wheel-item{align-items:center;display:flex;height:3.125rem;justify-content:center;position:absolute;width:9.375rem;overflow:hidden}.bmb_wheel-item .bmb_wheel-nav{fill:rgba(var(--color-charade-500),1)}.bmb_wheel-item.previous{left:4.375rem;top:5rem;transform:rotate(-41deg)}.bmb_wheel-item.active{left:0;margin:auto;right:0;top:1.25rem}.bmb_wheel-item.active .bmb_wheel-nav{fill:rgba(var(--color-mariner-950),1)}.bmb_wheel-item.active:after{border:solid .25rem rgba(var(--color-mariner-700),1);border-color:rgba(var(--color-mariner-700),1) transparent transparent transparent;border-radius:63%;bottom:-18px;content:\"\";height:25px;left:0;margin:auto;position:absolute;right:0;width:75%}.bmb_wheel-item.next{right:4.375rem;top:5rem;transform:rotate(41deg)}.bmb_wheel-nav{font-family:Poppins-Bold,sans-serif;font-size:1rem;height:40px;position:absolute;top:.625rem;z-index:10}.bmb_wheel-full{background-color:RGBA(var(--color-charade-200),1);bottom:0;height:100%;left:0;margin:auto;position:fixed;right:0;width:100%;z-index:30}.bmb_wheel-full .bmb_wheel-apps{padding:0 1.5rem;position:relative;right:inherit;top:inherit;width:100%}.bmb_wheel-svg{height:31.25rem;overflow:visible;pointer-events:none;rotate:270deg;width:31.25rem}.bmb_wheel-path{font-family:Poppins-Bold,sans-serif;font-size:1rem;text-anchor:middle}[data-theme=dark] .bmb_wheel-wrapper,.storybook-dark-theme .bmb_wheel-wrapper{background-color:RGBA(var(--color-charade-950),1);border:.25rem solid RGBA(var(--color-neon-primary),1)}[data-theme=dark] .bmb_wheel-button bmb-icon,.storybook-dark-theme .bmb_wheel-button bmb-icon{color:rgba(var(--color-charade-50),1)}[data-theme=dark] .bmb_wheel-item .bmb_wheel-nav,.storybook-dark-theme .bmb_wheel-item .bmb_wheel-nav{fill:rgba(var(--color-charade-500),1)}[data-theme=dark] .bmb_wheel-item.active:after,.storybook-dark-theme .bmb_wheel-item.active:after{border-color:rgba(var(--color-neon-primary),1) transparent transparent transparent}[data-theme=dark] .bmb_wheel-item.active .bmb_wheel-nav,.storybook-dark-theme .bmb_wheel-item.active .bmb_wheel-nav{fill:rgba(var(--color-charade-50),1)}[data-theme=dark] .bmb_wheel-full,.storybook-dark-theme .bmb_wheel-full{background-color:RGBA(var(--color-charade-950),1)}\n"] }]
|
|
108
108
|
}], ctorParameters: () => [], propDecorators: { navItems: [{
|
|
109
109
|
type: Input
|
|
110
110
|
}], apps: [{
|
|
@@ -125,4 +125,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
125
125
|
type: ViewChild,
|
|
126
126
|
args: [BmbTabsComponent]
|
|
127
127
|
}] } });
|
|
128
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYm1iLXdoZWVsLW1lbnUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZHMtbmcvc3JjL2xpYi9jb21wb25lbnRzL2JtYi13aGVlbC1tZW51L2JtYi13aGVlbC1tZW51LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2RzLW5nL3NyYy9saWIvY29tcG9uZW50cy9ibWItd2hlZWwtbWVudS9ibWItd2hlZWwtbWVudS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsU0FBUyxFQUNULHVCQUF1QixFQUN2QixpQkFBaUIsRUFDakIsS0FBSyxFQUNMLFNBQVMsRUFHVCxNQUFNLEVBQ04sWUFBWSxHQUNiLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sOEJBQThCLENBQUM7QUFDL0QsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sZ0NBQWdDLENBQUM7QUFDbEUsT0FBTyxFQUFFLHVCQUF1QixFQUFFLE1BQU0sZ0RBQWdELENBQUM7QUFDekYsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sZ0NBQWdDLENBQUM7QU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zdGFydE9mZnNldD1cIjUwJVwiXG4gICAgICAgICAgICAgICAgICBjbGFzcz1cImJtYl93aGVlbC1wYXRoXCJcbiAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICB7eyBuYXYudGl0bGUgfX1cbiAgICAgICAgICAgICAgICA8L3RleHRQYXRoPlxuICAgICAgICAgICAgICA8L3RleHQ+XG4gICAgICAgICAgICA8L3N2Zz5cbiAgICAgICAgICA8L2J1dHRvbj5cbiAgICAgICAgPC9saT5cbiAgICAgIDwvdWw+XG5cbiAgICAgIDxkaXYgY2xhc3M9XCJibWJfd2hlZWwtYXBwc1wiPlxuICAgICAgICA8bmctY29udGFpbmVyICpuZ0Zvcj1cImxldCBhcHAgb2YgYWN0aXZlQXBwc1wiPlxuICAgICAgICAgIDxibWItaW50ZXJhY3RpdmUtaWNvblxuICAgICAgICAgICAgW2FwcGVhcmFuY2VdPVwiYXBwLmFwcGVhcmFuY2VcIlxuICAgICAgICAgICAgW3RpdGxlXT1cImFwcC50aXRsZVwiXG4gICAgICAgICAgICBbaWNvbl09XCJhcHAuaWNvblwiXG4gICAgICAgICAgICBbdGFyZ2V0XT1cImFwcC50YXJnZXQhXCJcbiAgICAgICAgICAgIFtsaW5rXT1cImFwcC5saW5rXCJcbiAgICAgICAgICAvPlxuICAgICAgICA8L25nLWNvbnRhaW5lcj5cbiAgICAgIDwvZGl2PlxuICAgIDwvZGl2PlxuICB9XG5cbiAgQGlmIChpc0Z1bGwpIHtcbiAgICA8ZGl2IGNsYXNzPVwiYm1iX3doZWVsLWZ1bGxcIj5cbiAgICAgIDxibWItaW5uZXItaGVhZGVyXG4gICAgICAgIHRpdGxlPVwiSW5uZXIgSGVhZGVyXCJcbiAgICAgICAgKG9uSGFuZGxlQmFjayk9XCJoYW5kbGVCYWNrQnV0dG9uKClcIlxuICAgICAgLz5cbiAgICAgIDxibWItdGFic1xuICAgICAgICBbdGFic109XCJuYXZJdGVtcy5zbGljZSgwLCAzKVwiXG4gICAgICAgIChzZWxlY3RlZCk9XCJzZWxlY3RGdWxsTWVudU5hdkl0ZW0oJGV2ZW50LmlkKVwiXG4gICAgICAvPlxuICAgICAgPGRpdiBjbGFzcz1cImJtYl93aGVlbC1hcHBzXCI+XG4gICAgICAgIDxuZy1jb250YWluZXIgKm5nRm9yPVwibGV0IGFwcCBvZiBhY3RpdmVBcHBzXCI+XG4gICAgICAgICAgPGJtYi1pbnRlcmFjdGl2ZS1pY29uXG4gICAgICAgICAgICBbYXBwZWFyYW5jZV09XCJhcHAuYXBwZWFyYW5jZVwiXG4gICAgICAgICAgICBbdGl0bGVdPVwiYXBwLnRpdGxlXCJcbiAgICAgICAgICAgIFtpY29uXT1cImFwcC5pY29uXCJcbiAgICAgICAgICAgIFtob3Jpem9udGFsXT1cImZhbHNlXCJcbiAgICAgICAgICAgIFt0YXJnZXRdPVwiYXBwLnRhcmdldFwiXG4gICAgICAgICAgICBbbGlua109XCJhcHAubGlua1wiXG4gICAgICAgICAgLz5cbiAgICAgICAgPC9uZy1jb250YWluZXI+XG4gICAgICA8L2Rpdj5cbiAgICA8L2Rpdj5cbiAgfVxuPC9kaXY+XG4iXX0=
|
|
128
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYm1iLXdoZWVsLW1lbnUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZHMtbmcvc3JjL2xpYi9jb21wb25lbnRzL2JtYi13aGVlbC1tZW51L2JtYi13aGVlbC1tZW51LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2RzLW5nL3NyYy9saWIvY29tcG9uZW50cy9ibWItd2hlZWwtbWVudS9ibWItd2hlZWwtbWVudS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsU0FBUy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gIDxwYXRoXG4gICAgICAgICAgICAgICAgaWQ9XCJjaXJjbGVQYXRoe3sgaSB9fVwiXG4gICAgICAgICAgICAgICAgZD1cIk0yNTAsMjUwIG0tMjQwLDAgYTI0MCwyNDAgMCAxLDEgNDgwLDAgYTI0MCwyNDAgMCAxLDEgLTQ4MCwwXCJcbiAgICAgICAgICAgICAgICBmaWxsPVwibm9uZVwiXG4gICAgICAgICAgICAgICAgc3Ryb2tlPVwibm9uZVwiXG4gICAgICAgICAgICAgIC8+XG4gICAgICAgICAgICAgIDx0ZXh0PlxuICAgICAgICAgICAgICAgIDx0ZXh0UGF0aFxuICAgICAgICAgICAgICAgICAgW2F0dHIuaHJlZl09XCInI2NpcmNsZVBhdGgnICsgaVwiXG4gICAgICAgICAgICAgICAgICBzdGFydE9mZnNldD1cIjUwJVwiXG4gICAgICAgICAgICAgICAgICBjbGFzcz1cImJtYl93aGVlbC1wYXRoXCJcbiAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICB7eyBuYXYudGl0bGUgfX1cbiAgICAgICAgICAgICAgICA8L3RleHRQYXRoPlxuICAgICAgICAgICAgICA8L3RleHQ+XG4gICAgICAgICAgICA8L3N2Zz5cbiAgICAgICAgICA8L2J1dHRvbj5cbiAgICAgICAgPC9saT5cbiAgICAgIDwvdWw+XG5cbiAgICAgIDxkaXYgY2xhc3M9XCJibWJfd2hlZWwtYXBwc1wiPlxuICAgICAgICA8bmctY29udGFpbmVyICpuZ0Zvcj1cImxldCBhcHAgb2YgYWN0aXZlQXBwc1wiPlxuICAgICAgICAgIDxibWItaW50ZXJhY3RpdmUtaWNvblxuICAgICAgICAgICAgW2FwcGVhcmFuY2VdPVwiYXBwLmFwcGVhcmFuY2VcIlxuICAgICAgICAgICAgW3RpdGxlXT1cImFwcC50aXRsZVwiXG4gICAgICAgICAgICBbaWNvbl09XCJhcHAuaWNvblwiXG4gICAgICAgICAgICBbdGFyZ2V0XT1cImFwcC50YXJnZXQhXCJcbiAgICAg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
1
|
-
import { Directive, HostBinding, input } from '@angular/core';
|
|
1
|
+
import { Directive, HostBinding, input, } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export class BmbLayoutItemDirective {
|
|
4
|
-
constructor() {
|
|
4
|
+
constructor(el) {
|
|
5
|
+
this.el = el;
|
|
5
6
|
this.colSm = input(0);
|
|
6
7
|
this.colLg = input(0);
|
|
7
8
|
this.marginLeft = input({ sm: 0, lg: 0 });
|
|
@@ -10,7 +11,7 @@ export class BmbLayoutItemDirective {
|
|
|
10
11
|
this.isDynamicItem = input(false);
|
|
11
12
|
}
|
|
12
13
|
get elementClass() {
|
|
13
|
-
const classes = [
|
|
14
|
+
const classes = [];
|
|
14
15
|
if (this.colSm())
|
|
15
16
|
classes.push(`bmb_col-sm-${this.colSm()}`);
|
|
16
17
|
if (this.colLg())
|
|
@@ -32,7 +33,19 @@ export class BmbLayoutItemDirective {
|
|
|
32
33
|
this.flex = `${this.colGrow()} 0 0%`;
|
|
33
34
|
}
|
|
34
35
|
}
|
|
35
|
-
|
|
36
|
+
ngAfterViewInit() {
|
|
37
|
+
const host = this.el.nativeElement;
|
|
38
|
+
const parent = host.parentElement;
|
|
39
|
+
if (parent.classList.contains('bmb_layout-container') &&
|
|
40
|
+
!host.classList.contains('bmb_layout-container-item')) {
|
|
41
|
+
host.classList.add('bmb_layout-container-item');
|
|
42
|
+
}
|
|
43
|
+
else if (parent.classList.contains('bmb_layout') &&
|
|
44
|
+
!host.classList.contains('bmb_layout-item')) {
|
|
45
|
+
host.classList.add('bmb_layout-item');
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BmbLayoutItemDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
36
49
|
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "17.3.12", type: BmbLayoutItemDirective, isStandalone: true, selector: "[bmbLayoutItem]", inputs: { colSm: { classPropertyName: "colSm", publicName: "colSm", isSignal: true, isRequired: false, transformFunction: null }, colLg: { classPropertyName: "colLg", publicName: "colLg", isSignal: true, isRequired: false, transformFunction: null }, marginLeft: { classPropertyName: "marginLeft", publicName: "marginLeft", isSignal: true, isRequired: false, transformFunction: null }, marginRight: { classPropertyName: "marginRight", publicName: "marginRight", isSignal: true, isRequired: false, transformFunction: null }, colGrow: { classPropertyName: "colGrow", publicName: "colGrow", isSignal: true, isRequired: false, transformFunction: null }, isDynamicItem: { classPropertyName: "isDynamicItem", publicName: "isDynamicItem", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "this.elementClass", "style.flex": "this.flex" } }, ngImport: i0 }); }
|
|
37
50
|
}
|
|
38
51
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BmbLayoutItemDirective, decorators: [{
|
|
@@ -41,11 +54,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
41
54
|
selector: '[bmbLayoutItem]',
|
|
42
55
|
standalone: true,
|
|
43
56
|
}]
|
|
44
|
-
}], propDecorators: { elementClass: [{
|
|
57
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { elementClass: [{
|
|
45
58
|
type: HostBinding,
|
|
46
59
|
args: ['class']
|
|
47
60
|
}], flex: [{
|
|
48
61
|
type: HostBinding,
|
|
49
62
|
args: ['style.flex']
|
|
50
63
|
}] } });
|
|
51
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
64
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYm1iLWxheW91dC1pdGVtLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2RzLW5nL3NyY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LmFkZCgnYm1iX2xheW91dC1jb250YWluZXItaXRlbScpO1xuICAgIH0gZWxzZSBpZiAoXG4gICAgICBwYXJlbnQuY2xhc3NMaXN0LmNvbnRhaW5zKCdibWJfbGF5b3V0JykgJiZcbiAgICAgICFob3N0LmNsYXNzTGlzdC5jb250YWlucygnYm1iX2xheW91dC1pdGVtJylcbiAgICApIHtcbiAgICAgIGhvc3QuY2xhc3NMaXN0LmFkZCgnYm1iX2xheW91dC1pdGVtJyk7XG4gICAgfVxuICB9XG59XG4iXX0=
|
|
@@ -7,21 +7,26 @@ export class BmbLayoutDirective {
|
|
|
7
7
|
this.dynamicCols = input(false);
|
|
8
8
|
this.justify = input('start');
|
|
9
9
|
this.alignItems = input('start');
|
|
10
|
+
this.isContainerQuery = input();
|
|
10
11
|
}
|
|
11
12
|
get elementClass() {
|
|
13
|
+
const baseClassName = 'bmb_layout';
|
|
12
14
|
const classes = [
|
|
13
|
-
'bmb_layout',
|
|
14
15
|
`bmb_gap-${this.gapSize()}`,
|
|
15
16
|
`bmb_margin-${this.margin()}`,
|
|
16
17
|
`bmb_justify-${this.justify()}`,
|
|
17
|
-
`
|
|
18
|
+
`bmb_align-items-${this.alignItems()}`,
|
|
18
19
|
];
|
|
19
20
|
if (this.dynamicCols())
|
|
20
|
-
classes.push(
|
|
21
|
+
classes.push(`${baseClassName}-smart`);
|
|
22
|
+
if (this.isContainerQuery())
|
|
23
|
+
classes.push(`${baseClassName}-container`);
|
|
24
|
+
else
|
|
25
|
+
classes.push(baseClassName);
|
|
21
26
|
return classes;
|
|
22
27
|
}
|
|
23
28
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BmbLayoutDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
24
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "17.3.12", type: BmbLayoutDirective, isStandalone: true, selector: "[bmbLayout]", inputs: { gapSize: { classPropertyName: "gapSize", publicName: "gapSize", isSignal: true, isRequired: false, transformFunction: null }, margin: { classPropertyName: "margin", publicName: "margin", isSignal: true, isRequired: false, transformFunction: null }, dynamicCols: { classPropertyName: "dynamicCols", publicName: "dynamicCols", isSignal: true, isRequired: false, transformFunction: null }, justify: { classPropertyName: "justify", publicName: "justify", isSignal: true, isRequired: false, transformFunction: null }, alignItems: { classPropertyName: "alignItems", publicName: "alignItems", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "this.elementClass" } }, ngImport: i0 }); }
|
|
29
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "17.3.12", type: BmbLayoutDirective, isStandalone: true, selector: "[bmbLayout]", inputs: { gapSize: { classPropertyName: "gapSize", publicName: "gapSize", isSignal: true, isRequired: false, transformFunction: null }, margin: { classPropertyName: "margin", publicName: "margin", isSignal: true, isRequired: false, transformFunction: null }, dynamicCols: { classPropertyName: "dynamicCols", publicName: "dynamicCols", isSignal: true, isRequired: false, transformFunction: null }, justify: { classPropertyName: "justify", publicName: "justify", isSignal: true, isRequired: false, transformFunction: null }, alignItems: { classPropertyName: "alignItems", publicName: "alignItems", isSignal: true, isRequired: false, transformFunction: null }, isContainerQuery: { classPropertyName: "isContainerQuery", publicName: "isContainerQuery", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "this.elementClass" } }, ngImport: i0 }); }
|
|
25
30
|
}
|
|
26
31
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BmbLayoutDirective, decorators: [{
|
|
27
32
|
type: Directive,
|
|
@@ -29,8 +34,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
29
34
|
selector: '[bmbLayout]',
|
|
30
35
|
standalone: true,
|
|
31
36
|
}]
|
|
32
|
-
}],
|
|
37
|
+
}], propDecorators: { elementClass: [{
|
|
33
38
|
type: HostBinding,
|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KGJhc2VDbGFzc05hbWUpO1xuXG4gICAgcmV0dXJuIGNsYXNzZXM7XG4gIH1cbn1cbiJdfQ==
|
package/esm2022/lib/directives/bmb-layout/bmb-vertical-layout/bmb-vertical-layout-item.directive.mjs
CHANGED
|
@@ -31,4 +31,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
31
31
|
type: HostBinding,
|
|
32
32
|
args: ['class']
|
|
33
33
|
}] } });
|
|
34
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
34
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYm1iLXZlcnRpY2FsLWxheW91dC1pdGVtLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2RzLW5nL3NyYy9saWIvZGlyZWN0aXZlcy9ibWItbGF5b3V0L2JtYi12ZXJ0aWNhbC1sYXlvdXQvYm1iLXZlcnRpY2FsLWxheW91dC1pdGVtLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sRUFBRSxXQUFXLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQU10RSxNQUFNLE9BQU8sOEJBQThCO0lBR3pDO1FBRkEsWUFBTyxHQUFHLEtBQUssQ0FBUyxDQUFDLENBQUMsQ0FBQztRQUd6QixNQUFNLENBQUMsR0FBRyxFQUFFO1lBQ1YsSUFBSSxJQUFJLENBQUMsT0FBTyxFQUFFLEtBQUssQ0FBQyxFQUFFO2dCQUN4QixJQUFJLENBQUMsSUFBSSxHQUFHLEdBQUcsSUFBSSxDQUFDLE9BQU8sRUFBRSxPQUFPLENBQUM7YUFDdEM7UUFDSCxDQUFDLENBQUMsQ0FBQztJQUNMLENBQUM7SUF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bmRpbmcoJ2NsYXNzJykgZ2V0IGVsZW1lbnRDbGFzcygpOiBzdHJpbmdbXSB7XG4gICAgY29uc3QgY2xhc3NlcyA9IFsnYm1iX3ZlcnRpY2FsLWxheW91dC1pdGVtJ107XG4gICAgaWYgKHRoaXMucm93R3JvdygpKSBjbGFzc2VzLnB1c2goJ2JtYl92ZXJ0aWNhbC1sYXlvdXQtaXRlbS1mdWxsJyk7XG4gICAgcmV0dXJuIGNsYXNzZXM7XG4gIH1cbn1cbiJdfQ==
|
package/esm2022/lib/directives/bmb-layout/bmb-vertical-layout/bmb-vertical-layout.directive.mjs
CHANGED
|
@@ -15,7 +15,7 @@ export class BmbVerticalLayoutDirective {
|
|
|
15
15
|
'bmb_vertical-layout',
|
|
16
16
|
`bmb_gap-${this.gapSize()}`,
|
|
17
17
|
`bmb_justify-${this.justify()}`,
|
|
18
|
-
`
|
|
18
|
+
`bmb_align-items-${this.alignItems()}`,
|
|
19
19
|
];
|
|
20
20
|
}
|
|
21
21
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BmbVerticalLayoutDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
@@ -34,4 +34,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
34
34
|
type: HostBinding,
|
|
35
35
|
args: ['style.height']
|
|
36
36
|
}] } });
|
|
37
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
37
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYm1iLXZlcnRpY2FsLWxheW91dC5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9kcy1uZy9zcmMvbGliL2RpcmVjdGl2ZXMvYm1iLWxheW91dC9ibWItdmVydGljYWwtbGF5b3V0L2JtYi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AgICAgIGBibWJfYWxpZ24taXRlbXMtJHt0aGlzLmFsaWduSXRlbXMoKX1gLFxuICAgIF07XG4gIH1cblxuICBASG9zdEJpbmRpbmcoJ3N0eWxlLmhlaWdodCcpIHN0eWxlSGVpZ2h0Pzogc3RyaW5nO1xufVxuIl19
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Directive, HostBinding, input } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class BmbSelectorDirective {
|
|
4
|
+
constructor() {
|
|
5
|
+
this.idSelector = input.required();
|
|
6
|
+
this.activeSelectorID = input.required();
|
|
7
|
+
}
|
|
8
|
+
get elementClass() {
|
|
9
|
+
const classList = ['bmb_selector'];
|
|
10
|
+
if (!(this.idSelector() === this.activeSelectorID())) {
|
|
11
|
+
classList.push('bmb_selector-hidden');
|
|
12
|
+
}
|
|
13
|
+
return classList;
|
|
14
|
+
}
|
|
15
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BmbSelectorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
16
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "17.3.12", type: BmbSelectorDirective, isStandalone: true, selector: "[bmbSelector]", inputs: { idSelector: { classPropertyName: "idSelector", publicName: "idSelector", isSignal: true, isRequired: true, transformFunction: null }, activeSelectorID: { classPropertyName: "activeSelectorID", publicName: "activeSelectorID", isSignal: true, isRequired: true, transformFunction: null } }, host: { properties: { "class": "this.elementClass" } }, ngImport: i0 }); }
|
|
17
|
+
}
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BmbSelectorDirective, decorators: [{
|
|
19
|
+
type: Directive,
|
|
20
|
+
args: [{
|
|
21
|
+
selector: '[bmbSelector]',
|
|
22
|
+
standalone: true,
|
|
23
|
+
}]
|
|
24
|
+
}], propDec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QVc7dUJBQUMsT0FBTyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IERpcmVjdGl2ZSwgSG9zdEJpbmRpbmcsIGlucHV0IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBEaXJlY3RpdmUoe1xuICBzZWxlY3RvcjogJ1tibWJTZWxlY3Rvcl0nLFxuICBzdGFuZGFsb25lOiB0cnVlLFxufSlcbmV4cG9ydCBjbGFzcyBCbWJTZWxlY3RvckRpcmVjdGl2ZSB7XG4gIGlkU2VsZWN0b3IgPSBpbnB1dC5yZXF1aXJlZDxudW1iZXI+KCk7XG4gIGFjdGl2ZVNlbGVjdG9ySUQgPSBpbnB1dC5yZXF1aXJlZDxudW1iZXI+KCk7XG5cbiAgQEhvc3RCaW5kaW5nKCdjbGFzcycpIGdldCBlbGVtZW50Q2xhc3MoKTogc3RyaW5nW10ge1xuICAgIGNvbnN0IGNsYXNzTGlzdCA9IFsnYm1iX3NlbGVjdG9yJ107XG5cbiAgICBpZiAoISh0aGlzLmlkU2VsZWN0b3IoKSA9PT0gdGhpcy5hY3RpdmVTZWxlY3RvcklEKCkpKSB7XG4gICAgICBjbGFzc0xpc3QucHVzaCgnYm1iX3NlbGVjdG9yLWhpZGRlbicpO1xuICAgIH1cbiAgICByZXR1cm4gY2xhc3NMaXN0O1xuICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Pipe } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "../services/translations/translations.service";
|
|
4
|
+
export class TranslatePipe {
|
|
5
|
+
constructor(translationService) {
|
|
6
|
+
this.translationService = translationService;
|
|
7
|
+
}
|
|
8
|
+
transform(key) {
|
|
9
|
+
return this.translationService.translate(key) || key;
|
|
10
|
+
}
|
|
11
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TranslatePipe, deps: [{ token: i1.BmbTranslationsService }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
12
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: TranslatePipe, isStandalone: true, name: "translate", pure: false }); }
|
|
13
|
+
}
|
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TranslatePipe, decorators: [{
|
|
15
|
+
type: Pipe,
|
|
16
|
+
args: [{
|
|
17
|
+
name: 'translate',
|
|
18
|
+
standalone: true,
|
|
19
|
+
pure: false,
|
|
20
|
+
}]
|
|
21
|
+
}], ctorParameters: () => [{ type: i1.BmbTranslationsService }] });
|
|
22
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNsYXRpb25zLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZHMtbmcvc3JjL2xpYi9waXBlcy90cmFuc2xhdGlvbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLElBQUksRUFBaUIsTUFBTSxlQUFlLENBQUM7OztBQVFwRCxNQUFNLE9BQU8sYUFBYTtJQUN4QixZQUFvQixrQkFBMEM7UUFBMUMsdUJBQWtCLEdBQWxCLGtCQUFrQixDQUF3QjtJQUFHLENBQUM7SUFFbEUsU0FBUyxDQUFDLEdBQVc7UUFDbkIsT0FBTyxJQUFJLENBQUMsa0JBQWtCLENBQUMsU0FBUyxDQUFDLEdBQUcsQ0FBQyxJQUFJLEdBQUcsQ0FBQztJQUN2RCxDQUFDOytHQUxVLGFBQWE7NkdBQWIsYUFBYTs7NEZBQWIsYUFBYTtrQkFMekIsSUFBSTttQkFBQztvQkFDSixJQUFJLEVBQUUsV0FBVztvQkFDakIsVUFBVSxFQUFFLElBQUk7b0JBQ2hCLElBQUksRUFBRSxLQUFLO2lCQUNaIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgUGlwZSwgUGlwZVRyYW5zZm9ybSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgQm1iVHJhbnNsYXRpb25zU2VydmljZSB9IGZyb20gJy4uL3NlcnZpY2VzL3RyYW5zbGF0aW9ucy90cmFuc2xhdGlvbnMuc2VydmljZSc7XG5cbkBQaXBlKHtcbiAgbmFtZTogJ3RyYW5zbGF0ZScsXG4gIHN0YW5kYWxvbmU6IHRydWUsXG4gIHB1cmU6IGZhbHNlLFxufSlcbmV4cG9ydCBjbGFzcyBUcmFuc2xhdGVQaXBlIGltcGxlbWVudHMgUGlwZVRyYW5zZm9ybSB7XG4gIGNvbnN0cnVjdG9yKHByaXZhdGUgdHJhbnNsYXRpb25TZXJ2aWNlOiBCbWJUcmFuc2xhdGlvbnNTZXJ2aWNlKSB7fVxuXG4gIHRyYW5zZm9ybShrZXk6IHN0cmluZyk6IHN0cmluZyB7XG4gICAgcmV0dXJuIHRoaXMudHJhbnNsYXRpb25TZXJ2aWNlLnRyYW5zbGF0ZShrZXkpIHx8IGtleTtcbiAgfVxufVxuIl19
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Injectable, signal } from '@angular/core';
|
|
2
|
+
import { getUUID } from '../../utils/utils';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class BmbCalendarService {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.eventList = signal([]);
|
|
7
|
+
this.isLoading = signal(false);
|
|
8
|
+
}
|
|
9
|
+
addMultipleEvents(events) {
|
|
10
|
+
const newEvents = events.map((event) => {
|
|
11
|
+
const id = event.id ?? getUUID();
|
|
12
|
+
return { ...event, id };
|
|
13
|
+
});
|
|
14
|
+
this.eventList.update((currentEvents) => [...currentEvents, ...newEvents]);
|
|
15
|
+
}
|
|
16
|
+
addEvent(event) {
|
|
17
|
+
const id = event.id ?? getUUID();
|
|
18
|
+
this.eventList.update((currentEvents) => [
|
|
19
|
+
...currentEvents,
|
|
20
|
+
{ ...event, id },
|
|
21
|
+
]);
|
|
22
|
+
}
|
|
23
|
+
deleteEvent(id) {
|
|
24
|
+
this.eventList.update((currentEvents) => currentEvents.filter((event) => event.id !== id));
|
|
25
|
+
}
|
|
26
|
+
editEvent(id) {
|
|
27
|
+
this.eventList.update((currentEvents) => currentEvents.map((event) => {
|
|
28
|
+
if (event.id !== id)
|
|
29
|
+
return event;
|
|
30
|
+
return event;
|
|
31
|
+
}));
|
|
32
|
+
}
|
|
33
|
+
getEventList() {
|
|
34
|
+
return this.eventList();
|
|
35
|
+
}
|
|
36
|
+
setIsLoading(state) {
|
|
37
|
+
this.isLoading.set(state);
|
|
38
|
+
}
|
|
39
|
+
getIsLoading() {
|
|
40
|
+
return this.isLoading();
|
|
41
|
+
}
|
|
42
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BmbCalendarService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
43
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BmbCalendarService, providedIn: 'root' }); }
|
|
44
|
+
}
|
|
45
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BmbCalendarService, decorators: [{
|
|
46
|
+
type: Injectable,
|
|
47
|
+
args: [{
|
|
48
|
+
providedIn: 'root',
|
|
49
|
+
}]
|
|
50
|
+
}] });
|
|
51
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FsZW5kYXIuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2RzLW5nL3NyYy9saWIvc2VydmljZXMvY2FsZW5kYXIvY2FsZW5kYXIuc2VydmljZS50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mVudEV2ZW50cykgPT5cbiAgICAgIGN1cnJlbnRFdmVudHMuZmlsdGVyKChldmVudCkgPT4gZXZlbnQuaWQgIT09IGlkKSxcbiAgICApO1xuICB9XG5cbiAgZWRpdEV2ZW50KGlkOiBzdHJpbmcpIHtcbiAgICB0aGlzLmV2ZW50TGlzdC51cGRhdGUoKGN1cnJlbnRFdmVudHMpID0+XG4gICAgICBjdXJyZW50RXZlbnRzLm1hcCgoZXZlbnQpID0+IHtcbiAgICAgICAgaWYgKGV2ZW50LmlkICE9PSBpZCkgcmV0dXJuIGV2ZW50O1xuXG4gICAgICAgIHJldHVybiBldmVudDtcbiAgICAgIH0pLFxuICAgICk7XG4gIH1cblxuICBnZXRFdmVudExpc3QoKSB7XG4gICAgcmV0dXJuIHRoaXMuZXZlbnRMaXN0KCk7XG4gIH1cblxuICBzZXRJc0xvYWRpbmcoc3RhdGU6IGJvb2xlYW4pIHtcbiAgICB0aGlzLmlzTG9hZGluZy5zZXQoc3RhdGUpO1xuICB9XG5cbiAgZ2V0SXNMb2FkaW5nKCkge1xuICAgIHJldHVybiB0aGlzLmlzTG9hZGluZygpO1xuICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { createComponent, Injectable, signal, } from '@angular/core';
|
|
2
|
+
import { getUUID } from '../../utils/utils';
|
|
3
|
+
import { BmbPortalComponent } from '../../components/bmb-portal/bmb-portal.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export class BmbNativeModalService {
|
|
6
|
+
constructor(appRef, environmentInjector) {
|
|
7
|
+
this.appRef = appRef;
|
|
8
|
+
this.environmentInjector = environmentInjector;
|
|
9
|
+
this.modalList = signal([]);
|
|
10
|
+
this.portalComponentRef = null;
|
|
11
|
+
}
|
|
12
|
+
getOrCreatePortal() {
|
|
13
|
+
if (this.portalComponentRef) {
|
|
14
|
+
return this.portalComponentRef.instance;
|
|
15
|
+
}
|
|
16
|
+
const existingHost = document.querySelector('bmb-portal');
|
|
17
|
+
if (existingHost) {
|
|
18
|
+
return null;
|
|
19
|
+
}
|
|
20
|
+
this.portalComponentRef = createComponent(BmbPortalComponent, {
|
|
21
|
+
environmentInjector: this.environmentInjector,
|
|
22
|
+
});
|
|
23
|
+
this.appRef.attachView(this.portalComponentRef.hostView);
|
|
24
|
+
const hostDomElem = this.portalComponentRef.hostView.rootNodes[0];
|
|
25
|
+
document.body.appendChild(hostDomElem);
|
|
26
|
+
return this.portalComponentRef.instance;
|
|
27
|
+
}
|
|
28
|
+
openModal(newModal) {
|
|
29
|
+
const id = newModal.modalId && newModal.modalId !== ''
|
|
30
|
+
? newModal.modalId
|
|
31
|
+
: getUUID();
|
|
32
|
+
this.getOrCreatePortal();
|
|
33
|
+
this.modalList.update((currentModals) => [
|
|
34
|
+
...currentModals,
|
|
35
|
+
{ ...newModal, modalId: id },
|
|
36
|
+
]);
|
|
37
|
+
return id;
|
|
38
|
+
}
|
|
39
|
+
closeModal(id) {
|
|
40
|
+
this.modalList.update((currentModals) => currentModals.filter((modal) => modal.modalId !== id));
|
|
41
|
+
}
|
|
42
|
+
closeAllModals() {
|
|
43
|
+
this.modalList.set([]);
|
|
44
|
+
}
|
|
45
|
+
getModalList() {
|
|
46
|
+
return this.modalList();
|
|
47
|
+
}
|
|
48
|
+
checkIfModalExists(id) {
|
|
49
|
+
return this.modalList().some((modal) => modal.modalId === id);
|
|
50
|
+
}
|
|
51
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BmbNativeModalService, deps: [{ token: i0.ApplicationRef }, { token: i0.EnvironmentInjector }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
52
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BmbNativeModalService, providedIn: 'root' }); }
|
|
53
|
+
}
|
|
54
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BmbNativeModalService, decorators: [{
|
|
55
|
+
type: Injectable,
|
|
56
|
+
args: [{
|
|
57
|
+
providedIn: 'root',
|
|
58
|
+
}]
|
|
59
|
+
}], ctorParameters: () => [{ type: i0.ApplicationRef }, { type: i0.EnvironmentInjector }] });
|
|
60
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmF0aXZlLW1vZGFsLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9kcy1uZy9zcmMvbGliL3NlcnZpY2VzL21vZGFsL25hdGl2ZS1tb2RhbC5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFHTCxlQUFlLEVBR2YsVUFBVSxFQUNWLE1BQU0sR0FDUCxNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQUUsT0FBTyxFQUFFLE1BQU0sbUJBQW1CLENBQUM7QUFFNUMsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sa0RBQWtELENBQUM7O0FBS3RGLE1BQU0sT0FBTyxxQkFBcUI7SUFJaEMsWUFDVSxNQUFzQixFQUN0QixtQkFBd0M7UUFEeEMsV0FBTSxHQUFOLE1BQU0sQ0FBZ0I7UUFDdEIsd0JBQW1CLEdBQW5CLG1CQUFtQixDQUFxQjtRQUx6QyxjQUFTLEdBQUcsTUFBTSxDQUFvQixFQUFFLENBQUMsQ0FBQztRQUMzQyx1QkFBa0IsR0FBNEMsSUFBSSxDQUFDO0lBS3hFLENBQUM7SUFFSSxpQkFBaUI7UUFDdkIsSUFBSSxJQUFJLENBQUMsa0JBQWtCLEVBQUU7WUFDM0IsT0FBTyxJQUFJLENBQUMsa0JBQWtCLENBQUMsUUFBUSxDQUFDO1NBQ3pDO1FBRUQsTUFBTSxZQUFZLEdBQUcsUUFBUSxDQUFDLGF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