@ti-tecnologico-de-monterrey-oficial/ds-ng 1.6.18-d → 1.6.18-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/es.json +2 -2
- package/assets/styles/mainGED.min.css +1 -1
- package/assets/styles/mainGED.min.css.map +1 -1
- package/assets/styles/mainTEC.min.css +1 -1
- package/assets/styles/mainTEC.min.css.map +1 -1
- package/assets/styles/mainTECMI.min.css +1 -1
- package/assets/styles/mainTECMI.min.css.map +1 -1
- package/assets/styles/micro.min.css +1 -1
- package/assets/styles/micro.min.css.map +1 -1
- package/esm2022/assets/i18n/es.json +2 -2
- package/esm2022/lib/components/bmb-action-menu/bmb-action-menu.component.mjs +8 -6
- package/esm2022/lib/components/bmb-badge/bmb-badge.component.mjs +2 -2
- package/esm2022/lib/components/bmb-bookmark/bmb-bookmark.component.mjs +3 -9
- package/esm2022/lib/components/bmb-card-button/bmb-card-button.component.mjs +7 -3
- package/esm2022/lib/components/bmb-chat-bubbles/bmb-chat-bubbles.component.mjs +5 -3
- package/esm2022/lib/components/bmb-chat-bubbles/types.mjs +1 -1
- package/esm2022/lib/components/bmb-check-external-link-button/bmb-check-external-link-button.component.mjs +3 -3
- package/esm2022/lib/components/bmb-container-button/bmb-container-button.component.mjs +6 -3
- package/esm2022/lib/components/bmb-drawer-overlay/bmb-drawer-overlay.component.mjs +1 -1
- package/esm2022/lib/components/bmb-fab/bmb-fab.component.mjs +23 -20
- package/esm2022/lib/components/bmb-input/bmb-input-content/bmb-input-content.component.mjs +2 -2
- package/esm2022/lib/components/bmb-input/bmb-input-validator/bmb-input-validator.component.mjs +2 -2
- package/esm2022/lib/components/bmb-input-phone-number/bmb-input-phone-number.component.mjs +2 -2
- package/esm2022/lib/components/bmb-input-tags/bmb-input-tags.component.mjs +2 -2
- package/esm2022/lib/components/bmb-media-card/bmb-media-card.component.mjs +8 -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 +1 -1
- package/esm2022/lib/components/bmb-notification-card/bmb-notification-card.component.mjs +4 -3
- package/esm2022/lib/components/bmb-sidebar/bmb-sidebar.component.mjs +3 -3
- package/esm2022/lib/components/bmb-sounds-card/bmb-sounds-card.component.mjs +3 -3
- package/esm2022/lib/components/bmb-table-lite/bmb-table-lite.component.mjs +2 -2
- package/esm2022/lib/components/bmb-tables/bmb-tables.component.mjs +2 -2
- package/esm2022/lib/components/bmb-text-link/bmb-text-link.component.mjs +1 -5
- package/esm2022/lib/components/bmb-top-bar/bmb-top-bar-user-section/bmb-top-bar-user-section.component.mjs +16 -3
- package/esm2022/lib/components/bmb-top-bar/bmb-top-bar.component.mjs +8 -3
- package/esm2022/lib/components/bmb-totp/bmb-totp.component.mjs +2 -2
- package/esm2022/lib/components/bmb-web-templates/bmb-web-templates.component.mjs +2 -2
- package/esm2022/lib/types/colors.mjs +1 -1
- package/esm2022/lib/utils/botIcon.mjs +22 -0
- package/esm2022/lib/utils/utils.mjs +4 -3
- package/fesm2022/ti-tecnologico-de-monterrey-oficial-ds-ng.mjs +128 -78
- package/fesm2022/ti-tecnologico-de-monterrey-oficial-ds-ng.mjs.map +1 -1
- package/lib/components/bmb-action-menu/bmb-action-menu.component.d.ts +2 -2
- package/lib/components/bmb-bookmark/bmb-bookmark.component.d.ts +0 -1
- package/lib/components/bmb-card-button/bmb-card-button.component.d.ts +1 -0
- package/lib/components/bmb-chat-bubbles/types.d.ts +9 -1
- package/lib/components/bmb-fab/bmb-fab.component.d.ts +8 -7
- package/lib/components/bmb-media-card/bmb-media-card.component.d.ts +1 -1
- package/lib/components/bmb-notification-card/bmb-notification-card.component.d.ts +2 -1
- package/lib/components/bmb-top-bar/bmb-top-bar-user-section/bmb-top-bar-user-section.component.d.ts +4 -1
- package/lib/components/bmb-top-bar/bmb-top-bar.component.d.ts +4 -1
- package/lib/utils/botIcon.d.ts +1 -0
- package/package.json +1 -1
|
@@ -14,6 +14,7 @@ export class BmbTopBarComponent {
|
|
|
14
14
|
this.mitec = input(false);
|
|
15
15
|
this.alertNotification = input([]);
|
|
16
16
|
this.showRoleButton = input(false);
|
|
17
|
+
this.showSearchButton = input(false);
|
|
17
18
|
this.showHelpButton = input(false);
|
|
18
19
|
this.allowSidebarForMobile = input(true);
|
|
19
20
|
this.image = model('');
|
|
@@ -23,6 +24,7 @@ export class BmbTopBarComponent {
|
|
|
23
24
|
this.alertButtonClick = output();
|
|
24
25
|
this.roleButtonClick = output();
|
|
25
26
|
this.backToHomeClick = output();
|
|
27
|
+
this.searchButtonClick = output();
|
|
26
28
|
this.showAnimation = true;
|
|
27
29
|
this.imageDefault = 'assets/images/tec-logo.svg';
|
|
28
30
|
this.mobileImageDefault = 'assets/images/tec-logo-mob.svg';
|
|
@@ -60,14 +62,17 @@ export class BmbTopBarComponent {
|
|
|
60
62
|
handleRoleChange(event) {
|
|
61
63
|
this.roleButtonClick.emit(event);
|
|
62
64
|
}
|
|
65
|
+
handleSearchChange(event) {
|
|
66
|
+
this.searchButtonClick.emit(event);
|
|
67
|
+
}
|
|
63
68
|
handleBackToHome() {
|
|
64
69
|
this.backToHomeClick.emit();
|
|
65
70
|
}
|
|
66
71
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: BmbTopBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
67
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: BmbTopBarComponent, isStandalone: true, selector: "bmb-top-bar", inputs: { userInformation: { classPropertyName: "userInformation", publicName: "userInformation", isSignal: true, isRequired: false, transformFunction: null }, appName: { classPropertyName: "appName", publicName: "appName", isSignal: true, isRequired: false, transformFunction: null }, appPowered: { classPropertyName: "appPowered", publicName: "appPowered", isSignal: true, isRequired: false, transformFunction: null }, appSubTitle: { classPropertyName: "appSubTitle", publicName: "appSubTitle", isSignal: true, isRequired: false, transformFunction: null }, lang: { classPropertyName: "lang", publicName: "lang", isSignal: true, isRequired: false, transformFunction: null }, mitec: { classPropertyName: "mitec", publicName: "mitec", isSignal: true, isRequired: false, transformFunction: null }, alertNotification: { classPropertyName: "alertNotification", publicName: "alertNotification", isSignal: true, isRequired: false, transformFunction: null }, showRoleButton: { classPropertyName: "showRoleButton", publicName: "showRoleButton", isSignal: true, isRequired: false, transformFunction: null }, showHelpButton: { classPropertyName: "showHelpButton", publicName: "showHelpButton", isSignal: true, isRequired: false, transformFunction: null }, allowSidebarForMobile: { classPropertyName: "allowSidebarForMobile", publicName: "allowSidebarForMobile", isSignal: true, isRequired: false, transformFunction: null }, image: { classPropertyName: "image", publicName: "image", isSignal: true, isRequired: false, transformFunction: null }, mobileImage: { classPropertyName: "mobileImage", publicName: "mobileImage", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { image: "imageChange", mobileImage: "mobileImageChange", helpButtonClick: "helpButtonClick", userProfileClick: "userProfileClick", alertButtonClick: "alertButtonClick", roleButtonClick: "roleButtonClick", backToHomeClick: "backToHomeClick" }, ngImport: i0, template: "<header\n class=\"bmb_top-bar bmb_top-bar-animated\"\n [ngClass]=\"{\n 'bmb_top-bar-animated': showAnimation,\n 'bmb_top-bar-sidebar': allowSidebarForMobile()\n }\"\n>\n <figure\n class=\"bmb_top-bar-logo-section\"\n (keydown)=\"handleBackToHome()\"\n (click)=\"handleBackToHome()\"\n tabindex=\"0\"\n >\n <picture>\n <source [media]=\"getNoMobileResolutionSize()\" [srcset]=\"image()\" />\n <source [srcset]=\"mobileImage()\" />\n <img [src]=\"image()\" alt=\"TEC de Monterrey\" loading=\"lazy\" />\n </picture>\n </figure>\n <nav class=\"bmb_top-bar-nav\">\n <section class=\"bmb_top-bar-app-name\">\n @if (appName() && !mitec()) {\n <h1>{{ appName() }}</h1>\n }\n <span class=\"bmb_top-bar-app-name-powered\">{{ appPowered() }}</span>\n </section>\n @if (userInformation()) {\n <bmb-top-bar-user-section\n [mitec]=\"mitec()\"\n [userInformation]=\"userInformation()!\"\n [notificationNotification]=\"alertNotification()!\"\n [showHelpButton]=\"showHelpButton() || mitec()\"\n (helpButtonClick)=\"handleHelpButtonClick($event)\"\n (userClick)=\"handleUserClick($event)\"\n (alertClick)=\"handleAlertClick($event)\"\n (roleButtonClick)=\"handleRoleChange($event)\"\n [showRoleButton]=\"showRoleButton()\"\n [showNotifications]=\"!!alertNotification()\"\n />\n }\n </nav>\n</header>\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-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-semibold-1{font-size:.625rem}.font-bold-1{font-family:Poppins-Bold,sans-serif;font-size:.625rem}.font-thin-2{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-semibold-2{font-size:.6875rem}.font-bold-2{font-family:Poppins-Bold,sans-serif;font-size:.6875rem}.font-thin-3{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-semibold-3{font-size:.75rem}.font-bold-3{font-family:Poppins-Bold,sans-serif;font-size:.75rem}.font-thin-4{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-semibold-4{font-size:.875rem}.font-bold-4{font-family:Poppins-Bold,sans-serif;font-size:.875rem}.font-thin-4_5{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-semibold-4_5{font-size:.9375rem}.font-bold-4_5{font-family:Poppins-Bold,sans-serif;font-size:.9375rem}.font-thin-5{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-semibold-5{font-size:1rem}.font-bold-5{font-family:Poppins-Bold,sans-serif;font-size:1rem}.font-thin-6{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-semibold-6{font-size:1.125rem}.font-bold-6{font-family:Poppins-Bold,sans-serif;font-size:1.125rem}.font-thin-7{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-semibold-7{font-size:1.25rem}.font-bold-7{font-family:Poppins-Bold,sans-serif;font-size:1.25rem}.font-thin-8{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-semibold-8{font-size:1.375rem}.font-bold-8{font-family:Poppins-Bold,sans-serif;font-size:1.375rem}.font-thin-9{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-semibold-9{font-size:1.5rem}.font-bold-9{font-family:Poppins-Bold,sans-serif;font-size:1.5rem}.font-thin-10{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-semibold-10{font-size:1.625rem}.font-bold-10{font-family:Poppins-Bold,sans-serif;font-size:1.625rem}.font-thin-11{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-semibold-11{font-size:2.25rem}.font-bold-11{font-family:Poppins-Bold,sans-serif;font-size:2.25rem}.font-thin-12{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-semibold-12{font-size:3rem}.font-bold-12{font-family:Poppins-Bold,sans-serif;font-size:3rem}@keyframes expandWidthSmooth{0%{width:26rem}75%{width:100%;transform:scaleX(1.05)}to{width:100%;transform:scaleX(1)}}@keyframes fadeIn{0%{opacity:0;visibility:hidden}to{opacity:1;visibility:visible}}.bmb_top-bar{background-color:rgb(var(--black-primary));color:rgb(var(--white-primary));display:flex;justify-content:space-between;padding:.5rem 1rem;gap:1rem;align-items:center;position:relative;z-index:2;height:64px}@media (max-width: 62.5rem){.bmb_top-bar-sidebar{padding-left:3rem}}.bmb_top-bar-open{border-radius:var(--bmb-radius-none)}@media (min-width: 62.5625rem){.bmb_top-bar-animated{width:26rem;animation:expandWidthSmooth 2s ease-out 1s forwards;margin:auto}.bmb_top-bar-animated>div:not(.bmb_top-bar-button-section),.bmb_top-bar-animated>nav{opacity:0;visibility:hidden;animation:fadeIn 1s ease-in 3s forwards}}.bmb_top-bar-button-section{display:flex;align-items:center;gap:.25rem}@media (max-width: 62.5rem){.bmb_top-bar-button-section{display:none}}.bmb_top-bar-button-menu{padding:1.25rem;background-color:transparent;display:flex;align-items:center;position:relative;width:2.5rem;border-radius:var(--bmb-radius-5)}.bmb_top-bar-button-menu-icon{position:absolute;left:.5rem;top:.125rem}.bmb_top-bar-button-menu:hover:not(:disabled),.bmb_top-bar-button-menu:focus-visible:not(:disabled){background-color:var(--white-min)}.bmb_top-bar-button-menu-close i,.bmb_top-bar-button-menu-menu i{color:rgb(var(--gray-charade-50));transition:all .3s ease}.bmb_top-bar-button-menu-close i,.bmb_top-bar-button-menu-open .bmb_top-bar-button-menu-menu i{opacity:0;transform:rotate(180deg)}.bmb_top-bar-button-menu-open .bmb_top-bar-button-menu-close i{opacity:1}.bmb_top-bar-button-menu i{position:absolute;left:0;top:.25rem}.bmb_top-bar-logo-section{margin:0;width:auto;line-height:0}@media (min-width: 62.5625rem){.bmb_top-bar-logo-section{width:max-content}}.bmb_top-bar-logo-section img{width:auto;height:2.125rem}.bmb_top-bar-mb-app{display:flex;justify-content:center;width:100%}.bmb_top-bar-mb-app-name{font-family:Poppins-Regular,sans-serif;font-size:1.125rem;text-align:center}.bmb_top-bar-app-name{max-width:100%;display:flex;gap:1rem;align-items:center;flex:1;justify-content:center}@media (min-width: 62.5625rem){.bmb_top-bar-app-name{justify-content:start}}.bmb_top-bar-app-name h1{font-family:Poppins-Regular,sans-serif;font-size:1.125rem}@media (min-width: 62.5625rem){.bmb_top-bar-app-name h1{display:flex}}.bmb_top-bar-app-name-powered{font-family:Poppins-Regular,sans-serif;font-size:.875rem;border-left:.0625rem solid rgb(var(--white-primary));display:none}@media (min-width: 62.5625rem){.bmb_top-bar-app-name-powered{display:inline-block;max-width:max-content;padding-left:1rem}}.bmb_top-bar-always-visible-content{flex:1;justify-content:flex-end;display:flex;gap:.625rem}@media (min-width: 62.5625rem){.bmb_top-bar-always-visible-content{flex:auto;max-width:max-content}}.bmb_top-bar-nav{flex:1;display:flex;list-style:none;gap:1rem;align-items:center}@media (max-width: 62.5rem){.bmb_top-bar-nav-open{transition:opacity .3s ease;position:absolute;top:100%;z-index:99;background-color:rgb(var(--black-primary));left:0;flex-flow:column;width:100%;align-items:flex-start;opacity:1;height:max-content;max-height:9999px;padding-bottom:1rem}.bmb_top-bar-nav-open .bmb_top-bar-nav-content{flex-flow:column;width:100%;align-items:flex-start;gap:0}.bmb_top-bar-nav-open>li:first-child{order:-1}.bmb_top-bar-nav-open>li:last-child{order:0}}@media (min-width: 62.5625rem){.bmb_top-bar-nav{display:flex;justify-content:inherit}}.bmb_top-bar-nav-content{margin:0;padding:0;list-style:none;flex:1;display:flex;justify-content:center;align-items:center;gap:1rem;overflow:hidden}.bmb_top-bar-nav bmb-top-bar-user-section .bmb_top-bar-user-section{width:auto}.bmb_top-bar-lang{display:flex;gap:1rem;align-items:center}.bmb_top-bar-lang-flag{margin:0;display:inline-block;line-height:0;overflow:hidden;border-radius:var(--bmb-radius-full)}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: BmbTopBarUserSectionComponent, selector: "bmb-top-bar-user-section", inputs: ["userInformation", "mitec", "showNotifications", "notificationNotification", "showRoleButton", "showHelpButton"], outputs: ["helpButtonClick", "userClick", "alertClick", "roleButtonClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
72
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: BmbTopBarComponent, isStandalone: true, selector: "bmb-top-bar", inputs: { userInformation: { classPropertyName: "userInformation", publicName: "userInformation", isSignal: true, isRequired: false, transformFunction: null }, appName: { classPropertyName: "appName", publicName: "appName", isSignal: true, isRequired: false, transformFunction: null }, appPowered: { classPropertyName: "appPowered", publicName: "appPowered", isSignal: true, isRequired: false, transformFunction: null }, appSubTitle: { classPropertyName: "appSubTitle", publicName: "appSubTitle", isSignal: true, isRequired: false, transformFunction: null }, lang: { classPropertyName: "lang", publicName: "lang", isSignal: true, isRequired: false, transformFunction: null }, mitec: { classPropertyName: "mitec", publicName: "mitec", isSignal: true, isRequired: false, transformFunction: null }, alertNotification: { classPropertyName: "alertNotification", publicName: "alertNotification", isSignal: true, isRequired: false, transformFunction: null }, showRoleButton: { classPropertyName: "showRoleButton", publicName: "showRoleButton", isSignal: true, isRequired: false, transformFunction: null }, showSearchButton: { classPropertyName: "showSearchButton", publicName: "showSearchButton", isSignal: true, isRequired: false, transformFunction: null }, showHelpButton: { classPropertyName: "showHelpButton", publicName: "showHelpButton", isSignal: true, isRequired: false, transformFunction: null }, allowSidebarForMobile: { classPropertyName: "allowSidebarForMobile", publicName: "allowSidebarForMobile", isSignal: true, isRequired: false, transformFunction: null }, image: { classPropertyName: "image", publicName: "image", isSignal: true, isRequired: false, transformFunction: null }, mobileImage: { classPropertyName: "mobileImage", publicName: "mobileImage", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { image: "imageChange", mobileImage: "mobileImageChange", helpButtonClick: "helpButtonClick", userProfileClick: "userProfileClick", alertButtonClick: "alertButtonClick", roleButtonClick: "roleButtonClick", backToHomeClick: "backToHomeClick", searchButtonClick: "searchButtonClick" }, ngImport: i0, template: "<header\n class=\"bmb_top-bar bmb_top-bar-animated\"\n [ngClass]=\"{\n 'bmb_top-bar-animated': showAnimation,\n 'bmb_top-bar-sidebar': allowSidebarForMobile()\n }\"\n>\n <figure\n class=\"bmb_top-bar-logo-section\"\n (keydown)=\"handleBackToHome()\"\n (click)=\"handleBackToHome()\"\n tabindex=\"0\"\n >\n <picture>\n <source [media]=\"getNoMobileResolutionSize()\" [srcset]=\"image()\" />\n <source [srcset]=\"mobileImage()\" />\n <img [src]=\"image()\" alt=\"TEC de Monterrey\" loading=\"lazy\" />\n </picture>\n </figure>\n <nav class=\"bmb_top-bar-nav\">\n <section class=\"bmb_top-bar-app-name\">\n @if (appName() && !mitec()) {\n <h1>{{ appName() }}</h1>\n }\n <span class=\"bmb_top-bar-app-name-powered\">{{ appPowered() }}</span>\n </section>\n @if (userInformation()) {\n <bmb-top-bar-user-section\n [mitec]=\"mitec()\"\n [userInformation]=\"userInformation()!\"\n [notificationNotification]=\"alertNotification()!\"\n [showHelpButton]=\"showHelpButton() || mitec()\"\n (helpButtonClick)=\"handleHelpButtonClick($event)\"\n (userClick)=\"handleUserClick($event)\"\n (alertClick)=\"handleAlertClick($event)\"\n (roleButtonClick)=\"handleRoleChange($event)\"\n [showRoleButton]=\"showRoleButton()\"\n [showSearchButton]=\"showSearchButton()\"\n (searchButtonClick)=\"handleSearchChange($event)\"\n [showNotifications]=\"!!alertNotification()\"\n />\n }\n </nav>\n</header>\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-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-semibold-1{font-size:.625rem}.font-bold-1{font-family:Poppins-Bold,sans-serif;font-size:.625rem}.font-thin-2{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-semibold-2{font-size:.6875rem}.font-bold-2{font-family:Poppins-Bold,sans-serif;font-size:.6875rem}.font-thin-3{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-semibold-3{font-size:.75rem}.font-bold-3{font-family:Poppins-Bold,sans-serif;font-size:.75rem}.font-thin-4{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-semibold-4{font-size:.875rem}.font-bold-4{font-family:Poppins-Bold,sans-serif;font-size:.875rem}.font-thin-4_5{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-semibold-4_5{font-size:.9375rem}.font-bold-4_5{font-family:Poppins-Bold,sans-serif;font-size:.9375rem}.font-thin-5{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-semibold-5{font-size:1rem}.font-bold-5{font-family:Poppins-Bold,sans-serif;font-size:1rem}.font-thin-6{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-semibold-6{font-size:1.125rem}.font-bold-6{font-family:Poppins-Bold,sans-serif;font-size:1.125rem}.font-thin-7{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-semibold-7{font-size:1.25rem}.font-bold-7{font-family:Poppins-Bold,sans-serif;font-size:1.25rem}.font-thin-8{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-semibold-8{font-size:1.375rem}.font-bold-8{font-family:Poppins-Bold,sans-serif;font-size:1.375rem}.font-thin-9{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-semibold-9{font-size:1.5rem}.font-bold-9{font-family:Poppins-Bold,sans-serif;font-size:1.5rem}.font-thin-10{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-semibold-10{font-size:1.625rem}.font-bold-10{font-family:Poppins-Bold,sans-serif;font-size:1.625rem}.font-thin-11{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-semibold-11{font-size:2.25rem}.font-bold-11{font-family:Poppins-Bold,sans-serif;font-size:2.25rem}.font-thin-12{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-semibold-12{font-size:3rem}.font-bold-12{font-family:Poppins-Bold,sans-serif;font-size:3rem}@keyframes expandWidthSmooth{0%{width:26rem}75%{width:100%;transform:scaleX(1.05)}to{width:100%;transform:scaleX(1)}}@keyframes fadeIn{0%{opacity:0;visibility:hidden}to{opacity:1;visibility:visible}}.bmb_top-bar{background-color:rgb(var(--black-primary));color:rgb(var(--white-primary));display:flex;justify-content:space-between;padding:.5rem 1rem;gap:1rem;align-items:center;position:relative;z-index:2;height:64px}@media (max-width: 62.5rem){.bmb_top-bar-sidebar{padding-left:3rem}}.bmb_top-bar-open{border-radius:var(--bmb-radius-none)}@media (min-width: 62.5625rem){.bmb_top-bar-animated{width:26rem;animation:expandWidthSmooth 2s ease-out 1s forwards;margin:auto}.bmb_top-bar-animated>div:not(.bmb_top-bar-button-section),.bmb_top-bar-animated>nav{opacity:0;visibility:hidden;animation:fadeIn 1s ease-in 3s forwards}}.bmb_top-bar-button-section{display:flex;align-items:center;gap:.25rem}@media (max-width: 62.5rem){.bmb_top-bar-button-section{display:none}}.bmb_top-bar-button-menu{padding:1.25rem;background-color:transparent;display:flex;align-items:center;position:relative;width:2.5rem;border-radius:var(--bmb-radius-5)}.bmb_top-bar-button-menu-icon{position:absolute;left:.5rem;top:.125rem}.bmb_top-bar-button-menu:hover:not(:disabled),.bmb_top-bar-button-menu:focus-visible:not(:disabled){background-color:var(--white-min)}.bmb_top-bar-button-menu-close i,.bmb_top-bar-button-menu-menu i{color:rgb(var(--gray-charade-50));transition:all .3s ease}.bmb_top-bar-button-menu-close i,.bmb_top-bar-button-menu-open .bmb_top-bar-button-menu-menu i{opacity:0;transform:rotate(180deg)}.bmb_top-bar-button-menu-open .bmb_top-bar-button-menu-close i{opacity:1}.bmb_top-bar-button-menu i{position:absolute;left:0;top:.25rem}.bmb_top-bar-logo-section{margin:0;width:auto;line-height:0}@media (min-width: 62.5625rem){.bmb_top-bar-logo-section{width:max-content}}.bmb_top-bar-logo-section img{width:auto;height:2.125rem}.bmb_top-bar-mb-app{display:flex;justify-content:center;width:100%}.bmb_top-bar-mb-app-name{font-family:Poppins-Regular,sans-serif;font-size:1.125rem;text-align:center}.bmb_top-bar-app-name{max-width:100%;display:flex;gap:1rem;align-items:center;flex:1;justify-content:center}@media (min-width: 62.5625rem){.bmb_top-bar-app-name{justify-content:start}}.bmb_top-bar-app-name h1{font-family:Poppins-Regular,sans-serif;font-size:1.125rem}@media (min-width: 62.5625rem){.bmb_top-bar-app-name h1{display:flex}}.bmb_top-bar-app-name-powered{font-family:Poppins-Regular,sans-serif;font-size:.875rem;border-left:.0625rem solid rgb(var(--white-primary));display:none}@media (min-width: 62.5625rem){.bmb_top-bar-app-name-powered{display:inline-block;max-width:max-content;padding-left:1rem}}.bmb_top-bar-always-visible-content{flex:1;justify-content:flex-end;display:flex;gap:.625rem}@media (min-width: 62.5625rem){.bmb_top-bar-always-visible-content{flex:auto;max-width:max-content}}.bmb_top-bar-nav{flex:1;display:flex;list-style:none;gap:1rem;align-items:center}@media (max-width: 62.5rem){.bmb_top-bar-nav-open{transition:opacity .3s ease;position:absolute;top:100%;z-index:99;background-color:rgb(var(--black-primary));left:0;flex-flow:column;width:100%;align-items:flex-start;opacity:1;height:max-content;max-height:9999px;padding-bottom:1rem}.bmb_top-bar-nav-open .bmb_top-bar-nav-content{flex-flow:column;width:100%;align-items:flex-start;gap:0}.bmb_top-bar-nav-open>li:first-child{order:-1}.bmb_top-bar-nav-open>li:last-child{order:0}}@media (min-width: 62.5625rem){.bmb_top-bar-nav{display:flex;justify-content:inherit}}.bmb_top-bar-nav-content{margin:0;padding:0;list-style:none;flex:1;display:flex;justify-content:center;align-items:center;gap:1rem;overflow:hidden}.bmb_top-bar-nav bmb-top-bar-user-section .bmb_top-bar-user-section{width:auto}.bmb_top-bar-lang{display:flex;gap:1rem;align-items:center}.bmb_top-bar-lang-flag{margin:0;display:inline-block;line-height:0;overflow:hidden;border-radius:var(--bmb-radius-full)}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: BmbTopBarUserSectionComponent, selector: "bmb-top-bar-user-section", inputs: ["userInformation", "mitec", "showNotifications", "notificationNotification", "showRoleButton", "showSearchButton", "showHelpButton"], outputs: ["helpButtonClick", "userClick", "alertClick", "roleButtonClick", "searchButtonClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
68
73
|
}
|
|
69
74
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: BmbTopBarComponent, decorators: [{
|
|
70
75
|
type: Component,
|
|
71
|
-
args: [{ selector: 'bmb-top-bar', standalone: true, imports: [CommonModule, BmbTopBarUserSectionComponent], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<header\n class=\"bmb_top-bar bmb_top-bar-animated\"\n [ngClass]=\"{\n 'bmb_top-bar-animated': showAnimation,\n 'bmb_top-bar-sidebar': allowSidebarForMobile()\n }\"\n>\n <figure\n class=\"bmb_top-bar-logo-section\"\n (keydown)=\"handleBackToHome()\"\n (click)=\"handleBackToHome()\"\n tabindex=\"0\"\n >\n <picture>\n <source [media]=\"getNoMobileResolutionSize()\" [srcset]=\"image()\" />\n <source [srcset]=\"mobileImage()\" />\n <img [src]=\"image()\" alt=\"TEC de Monterrey\" loading=\"lazy\" />\n </picture>\n </figure>\n <nav class=\"bmb_top-bar-nav\">\n <section class=\"bmb_top-bar-app-name\">\n @if (appName() && !mitec()) {\n <h1>{{ appName() }}</h1>\n }\n <span class=\"bmb_top-bar-app-name-powered\">{{ appPowered() }}</span>\n </section>\n @if (userInformation()) {\n <bmb-top-bar-user-section\n [mitec]=\"mitec()\"\n [userInformation]=\"userInformation()!\"\n [notificationNotification]=\"alertNotification()!\"\n [showHelpButton]=\"showHelpButton() || mitec()\"\n (helpButtonClick)=\"handleHelpButtonClick($event)\"\n (userClick)=\"handleUserClick($event)\"\n (alertClick)=\"handleAlertClick($event)\"\n (roleButtonClick)=\"handleRoleChange($event)\"\n [showRoleButton]=\"showRoleButton()\"\n [showNotifications]=\"!!alertNotification()\"\n />\n }\n </nav>\n</header>\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-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-semibold-1{font-size:.625rem}.font-bold-1{font-family:Poppins-Bold,sans-serif;font-size:.625rem}.font-thin-2{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-semibold-2{font-size:.6875rem}.font-bold-2{font-family:Poppins-Bold,sans-serif;font-size:.6875rem}.font-thin-3{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-semibold-3{font-size:.75rem}.font-bold-3{font-family:Poppins-Bold,sans-serif;font-size:.75rem}.font-thin-4{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-semibold-4{font-size:.875rem}.font-bold-4{font-family:Poppins-Bold,sans-serif;font-size:.875rem}.font-thin-4_5{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-semibold-4_5{font-size:.9375rem}.font-bold-4_5{font-family:Poppins-Bold,sans-serif;font-size:.9375rem}.font-thin-5{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-semibold-5{font-size:1rem}.font-bold-5{font-family:Poppins-Bold,sans-serif;font-size:1rem}.font-thin-6{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-semibold-6{font-size:1.125rem}.font-bold-6{font-family:Poppins-Bold,sans-serif;font-size:1.125rem}.font-thin-7{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-semibold-7{font-size:1.25rem}.font-bold-7{font-family:Poppins-Bold,sans-serif;font-size:1.25rem}.font-thin-8{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-semibold-8{font-size:1.375rem}.font-bold-8{font-family:Poppins-Bold,sans-serif;font-size:1.375rem}.font-thin-9{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-semibold-9{font-size:1.5rem}.font-bold-9{font-family:Poppins-Bold,sans-serif;font-size:1.5rem}.font-thin-10{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-semibold-10{font-size:1.625rem}.font-bold-10{font-family:Poppins-Bold,sans-serif;font-size:1.625rem}.font-thin-11{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-semibold-11{font-size:2.25rem}.font-bold-11{font-family:Poppins-Bold,sans-serif;font-size:2.25rem}.font-thin-12{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-semibold-12{font-size:3rem}.font-bold-12{font-family:Poppins-Bold,sans-serif;font-size:3rem}@keyframes expandWidthSmooth{0%{width:26rem}75%{width:100%;transform:scaleX(1.05)}to{width:100%;transform:scaleX(1)}}@keyframes fadeIn{0%{opacity:0;visibility:hidden}to{opacity:1;visibility:visible}}.bmb_top-bar{background-color:rgb(var(--black-primary));color:rgb(var(--white-primary));display:flex;justify-content:space-between;padding:.5rem 1rem;gap:1rem;align-items:center;position:relative;z-index:2;height:64px}@media (max-width: 62.5rem){.bmb_top-bar-sidebar{padding-left:3rem}}.bmb_top-bar-open{border-radius:var(--bmb-radius-none)}@media (min-width: 62.5625rem){.bmb_top-bar-animated{width:26rem;animation:expandWidthSmooth 2s ease-out 1s forwards;margin:auto}.bmb_top-bar-animated>div:not(.bmb_top-bar-button-section),.bmb_top-bar-animated>nav{opacity:0;visibility:hidden;animation:fadeIn 1s ease-in 3s forwards}}.bmb_top-bar-button-section{display:flex;align-items:center;gap:.25rem}@media (max-width: 62.5rem){.bmb_top-bar-button-section{display:none}}.bmb_top-bar-button-menu{padding:1.25rem;background-color:transparent;display:flex;align-items:center;position:relative;width:2.5rem;border-radius:var(--bmb-radius-5)}.bmb_top-bar-button-menu-icon{position:absolute;left:.5rem;top:.125rem}.bmb_top-bar-button-menu:hover:not(:disabled),.bmb_top-bar-button-menu:focus-visible:not(:disabled){background-color:var(--white-min)}.bmb_top-bar-button-menu-close i,.bmb_top-bar-button-menu-menu i{color:rgb(var(--gray-charade-50));transition:all .3s ease}.bmb_top-bar-button-menu-close i,.bmb_top-bar-button-menu-open .bmb_top-bar-button-menu-menu i{opacity:0;transform:rotate(180deg)}.bmb_top-bar-button-menu-open .bmb_top-bar-button-menu-close i{opacity:1}.bmb_top-bar-button-menu i{position:absolute;left:0;top:.25rem}.bmb_top-bar-logo-section{margin:0;width:auto;line-height:0}@media (min-width: 62.5625rem){.bmb_top-bar-logo-section{width:max-content}}.bmb_top-bar-logo-section img{width:auto;height:2.125rem}.bmb_top-bar-mb-app{display:flex;justify-content:center;width:100%}.bmb_top-bar-mb-app-name{font-family:Poppins-Regular,sans-serif;font-size:1.125rem;text-align:center}.bmb_top-bar-app-name{max-width:100%;display:flex;gap:1rem;align-items:center;flex:1;justify-content:center}@media (min-width: 62.5625rem){.bmb_top-bar-app-name{justify-content:start}}.bmb_top-bar-app-name h1{font-family:Poppins-Regular,sans-serif;font-size:1.125rem}@media (min-width: 62.5625rem){.bmb_top-bar-app-name h1{display:flex}}.bmb_top-bar-app-name-powered{font-family:Poppins-Regular,sans-serif;font-size:.875rem;border-left:.0625rem solid rgb(var(--white-primary));display:none}@media (min-width: 62.5625rem){.bmb_top-bar-app-name-powered{display:inline-block;max-width:max-content;padding-left:1rem}}.bmb_top-bar-always-visible-content{flex:1;justify-content:flex-end;display:flex;gap:.625rem}@media (min-width: 62.5625rem){.bmb_top-bar-always-visible-content{flex:auto;max-width:max-content}}.bmb_top-bar-nav{flex:1;display:flex;list-style:none;gap:1rem;align-items:center}@media (max-width: 62.5rem){.bmb_top-bar-nav-open{transition:opacity .3s ease;position:absolute;top:100%;z-index:99;background-color:rgb(var(--black-primary));left:0;flex-flow:column;width:100%;align-items:flex-start;opacity:1;height:max-content;max-height:9999px;padding-bottom:1rem}.bmb_top-bar-nav-open .bmb_top-bar-nav-content{flex-flow:column;width:100%;align-items:flex-start;gap:0}.bmb_top-bar-nav-open>li:first-child{order:-1}.bmb_top-bar-nav-open>li:last-child{order:0}}@media (min-width: 62.5625rem){.bmb_top-bar-nav{display:flex;justify-content:inherit}}.bmb_top-bar-nav-content{margin:0;padding:0;list-style:none;flex:1;display:flex;justify-content:center;align-items:center;gap:1rem;overflow:hidden}.bmb_top-bar-nav bmb-top-bar-user-section .bmb_top-bar-user-section{width:auto}.bmb_top-bar-lang{display:flex;gap:1rem;align-items:center}.bmb_top-bar-lang-flag{margin:0;display:inline-block;line-height:0;overflow:hidden;border-radius:var(--bmb-radius-full)}\n"] }]
|
|
76
|
+
args: [{ selector: 'bmb-top-bar', standalone: true, imports: [CommonModule, BmbTopBarUserSectionComponent], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<header\n class=\"bmb_top-bar bmb_top-bar-animated\"\n [ngClass]=\"{\n 'bmb_top-bar-animated': showAnimation,\n 'bmb_top-bar-sidebar': allowSidebarForMobile()\n }\"\n>\n <figure\n class=\"bmb_top-bar-logo-section\"\n (keydown)=\"handleBackToHome()\"\n (click)=\"handleBackToHome()\"\n tabindex=\"0\"\n >\n <picture>\n <source [media]=\"getNoMobileResolutionSize()\" [srcset]=\"image()\" />\n <source [srcset]=\"mobileImage()\" />\n <img [src]=\"image()\" alt=\"TEC de Monterrey\" loading=\"lazy\" />\n </picture>\n </figure>\n <nav class=\"bmb_top-bar-nav\">\n <section class=\"bmb_top-bar-app-name\">\n @if (appName() && !mitec()) {\n <h1>{{ appName() }}</h1>\n }\n <span class=\"bmb_top-bar-app-name-powered\">{{ appPowered() }}</span>\n </section>\n @if (userInformation()) {\n <bmb-top-bar-user-section\n [mitec]=\"mitec()\"\n [userInformation]=\"userInformation()!\"\n [notificationNotification]=\"alertNotification()!\"\n [showHelpButton]=\"showHelpButton() || mitec()\"\n (helpButtonClick)=\"handleHelpButtonClick($event)\"\n (userClick)=\"handleUserClick($event)\"\n (alertClick)=\"handleAlertClick($event)\"\n (roleButtonClick)=\"handleRoleChange($event)\"\n [showRoleButton]=\"showRoleButton()\"\n [showSearchButton]=\"showSearchButton()\"\n (searchButtonClick)=\"handleSearchChange($event)\"\n [showNotifications]=\"!!alertNotification()\"\n />\n }\n </nav>\n</header>\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-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-semibold-1{font-size:.625rem}.font-bold-1{font-family:Poppins-Bold,sans-serif;font-size:.625rem}.font-thin-2{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-semibold-2{font-size:.6875rem}.font-bold-2{font-family:Poppins-Bold,sans-serif;font-size:.6875rem}.font-thin-3{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-semibold-3{font-size:.75rem}.font-bold-3{font-family:Poppins-Bold,sans-serif;font-size:.75rem}.font-thin-4{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-semibold-4{font-size:.875rem}.font-bold-4{font-family:Poppins-Bold,sans-serif;font-size:.875rem}.font-thin-4_5{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-semibold-4_5{font-size:.9375rem}.font-bold-4_5{font-family:Poppins-Bold,sans-serif;font-size:.9375rem}.font-thin-5{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-semibold-5{font-size:1rem}.font-bold-5{font-family:Poppins-Bold,sans-serif;font-size:1rem}.font-thin-6{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-semibold-6{font-size:1.125rem}.font-bold-6{font-family:Poppins-Bold,sans-serif;font-size:1.125rem}.font-thin-7{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-semibold-7{font-size:1.25rem}.font-bold-7{font-family:Poppins-Bold,sans-serif;font-size:1.25rem}.font-thin-8{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-semibold-8{font-size:1.375rem}.font-bold-8{font-family:Poppins-Bold,sans-serif;font-size:1.375rem}.font-thin-9{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-semibold-9{font-size:1.5rem}.font-bold-9{font-family:Poppins-Bold,sans-serif;font-size:1.5rem}.font-thin-10{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-semibold-10{font-size:1.625rem}.font-bold-10{font-family:Poppins-Bold,sans-serif;font-size:1.625rem}.font-thin-11{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-semibold-11{font-size:2.25rem}.font-bold-11{font-family:Poppins-Bold,sans-serif;font-size:2.25rem}.font-thin-12{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-semibold-12{font-size:3rem}.font-bold-12{font-family:Poppins-Bold,sans-serif;font-size:3rem}@keyframes expandWidthSmooth{0%{width:26rem}75%{width:100%;transform:scaleX(1.05)}to{width:100%;transform:scaleX(1)}}@keyframes fadeIn{0%{opacity:0;visibility:hidden}to{opacity:1;visibility:visible}}.bmb_top-bar{background-color:rgb(var(--black-primary));color:rgb(var(--white-primary));display:flex;justify-content:space-between;padding:.5rem 1rem;gap:1rem;align-items:center;position:relative;z-index:2;height:64px}@media (max-width: 62.5rem){.bmb_top-bar-sidebar{padding-left:3rem}}.bmb_top-bar-open{border-radius:var(--bmb-radius-none)}@media (min-width: 62.5625rem){.bmb_top-bar-animated{width:26rem;animation:expandWidthSmooth 2s ease-out 1s forwards;margin:auto}.bmb_top-bar-animated>div:not(.bmb_top-bar-button-section),.bmb_top-bar-animated>nav{opacity:0;visibility:hidden;animation:fadeIn 1s ease-in 3s forwards}}.bmb_top-bar-button-section{display:flex;align-items:center;gap:.25rem}@media (max-width: 62.5rem){.bmb_top-bar-button-section{display:none}}.bmb_top-bar-button-menu{padding:1.25rem;background-color:transparent;display:flex;align-items:center;position:relative;width:2.5rem;border-radius:var(--bmb-radius-5)}.bmb_top-bar-button-menu-icon{position:absolute;left:.5rem;top:.125rem}.bmb_top-bar-button-menu:hover:not(:disabled),.bmb_top-bar-button-menu:focus-visible:not(:disabled){background-color:var(--white-min)}.bmb_top-bar-button-menu-close i,.bmb_top-bar-button-menu-menu i{color:rgb(var(--gray-charade-50));transition:all .3s ease}.bmb_top-bar-button-menu-close i,.bmb_top-bar-button-menu-open .bmb_top-bar-button-menu-menu i{opacity:0;transform:rotate(180deg)}.bmb_top-bar-button-menu-open .bmb_top-bar-button-menu-close i{opacity:1}.bmb_top-bar-button-menu i{position:absolute;left:0;top:.25rem}.bmb_top-bar-logo-section{margin:0;width:auto;line-height:0}@media (min-width: 62.5625rem){.bmb_top-bar-logo-section{width:max-content}}.bmb_top-bar-logo-section img{width:auto;height:2.125rem}.bmb_top-bar-mb-app{display:flex;justify-content:center;width:100%}.bmb_top-bar-mb-app-name{font-family:Poppins-Regular,sans-serif;font-size:1.125rem;text-align:center}.bmb_top-bar-app-name{max-width:100%;display:flex;gap:1rem;align-items:center;flex:1;justify-content:center}@media (min-width: 62.5625rem){.bmb_top-bar-app-name{justify-content:start}}.bmb_top-bar-app-name h1{font-family:Poppins-Regular,sans-serif;font-size:1.125rem}@media (min-width: 62.5625rem){.bmb_top-bar-app-name h1{display:flex}}.bmb_top-bar-app-name-powered{font-family:Poppins-Regular,sans-serif;font-size:.875rem;border-left:.0625rem solid rgb(var(--white-primary));display:none}@media (min-width: 62.5625rem){.bmb_top-bar-app-name-powered{display:inline-block;max-width:max-content;padding-left:1rem}}.bmb_top-bar-always-visible-content{flex:1;justify-content:flex-end;display:flex;gap:.625rem}@media (min-width: 62.5625rem){.bmb_top-bar-always-visible-content{flex:auto;max-width:max-content}}.bmb_top-bar-nav{flex:1;display:flex;list-style:none;gap:1rem;align-items:center}@media (max-width: 62.5rem){.bmb_top-bar-nav-open{transition:opacity .3s ease;position:absolute;top:100%;z-index:99;background-color:rgb(var(--black-primary));left:0;flex-flow:column;width:100%;align-items:flex-start;opacity:1;height:max-content;max-height:9999px;padding-bottom:1rem}.bmb_top-bar-nav-open .bmb_top-bar-nav-content{flex-flow:column;width:100%;align-items:flex-start;gap:0}.bmb_top-bar-nav-open>li:first-child{order:-1}.bmb_top-bar-nav-open>li:last-child{order:0}}@media (min-width: 62.5625rem){.bmb_top-bar-nav{display:flex;justify-content:inherit}}.bmb_top-bar-nav-content{margin:0;padding:0;list-style:none;flex:1;display:flex;justify-content:center;align-items:center;gap:1rem;overflow:hidden}.bmb_top-bar-nav bmb-top-bar-user-section .bmb_top-bar-user-section{width:auto}.bmb_top-bar-lang{display:flex;gap:1rem;align-items:center}.bmb_top-bar-lang-flag{margin:0;display:inline-block;line-height:0;overflow:hidden;border-radius:var(--bmb-radius-full)}\n"] }]
|
|
72
77
|
}] });
|
|
73
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYm1iLXRvcC1iYXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZHMtbmcvc3JjL2xpYi9jb21wb25lbnRzL2JtYi10b3AtYmFyL2JtYi10b3AtYmFyLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2RzLW5nL3NyYy9saWIvY29tcG9uZW50cy9ibWItdG9wLWJhci9ibWItdG9wLWJhci5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFP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hbWUtcG93ZXJlZFwiPnt7IGFwcFBvd2VyZWQoKSB9fTwvc3Bhbj5cbiAgICA8L3NlY3Rpb24+XG4gICAgQGlmICh1c2VySW5mb3JtYXRpb24oKSkge1xuICAgICAgPGJtYi10b3AtYmFyLXVzZXItc2VjdGlvblxuICAgICAgICBbbWl0ZWNdPVwibWl0ZWMoKVwiXG4gICAgICAgIFt1c2VySW5mb3JtYXRpb25dPVwidXNlckluZm9ybWF0aW9uKCkhXCJcbiAgICAgICAgW25vdGlmaWNhdGlvbk5vdGlmaWNhdGlvbl09XCJhbGVydE5vdGlmaWNhdGlvbigpIVwiXG4gICAgICAgIFtzaG93SGVscEJ1dHRvbl09XCJzaG93SGVscEJ1dHRvbigpIHx8IG1pdGVjKClcIlxuICAgICAgICAoaGVscEJ1dHRvbkNsaWNrKT1cImhhbmRsZUhlbHBCdXR0b25DbGljaygkZXZlbnQpXCJcbiAgICAgICAgKHVzZXJDbGljayk9XCJoYW5kbGVVc2VyQ2xpY2soJGV2ZW50KVwiXG4gICAgICAgIChhbGVydENsaWNrKT1cImhhbmRsZUFsZXJ0Q2xpY2soJGV2ZW50KVwiXG4gICAgICAgIChyb2xlQnV0dG9uQ2xpY2spPVwiaGFuZGxlUm9sZUNoYW5nZSgkZXZlbnQpXCJcbiAgICAgICAgW3Nob3dSb2xlQnV0dG9uXT1cInNob3dSb2xlQnV0dG9uKClcIlxuICAgICAgICBbc2hvd1NlYXJjaEJ1dHRvbl09XCJzaG93U2VhcmNoQnV0dG9uKClcIlxuICAgICAgICAoc2VhcmNoQnV0dG9uQ2xpY2spPVwiaGFuZGxlU2VhcmNoQ2hhbmdlKCRldmVudClcIlxuICAgICAgICBbc2hvd05vdGlmaWNhdGlvbnNdPVwiISFhbGVydE5vdGlmaWNhdGlvbigpXCJcbiAgICAgIC8+XG4gICAgfVxuICA8L25hdj5cbjwvaGVhZGVyPlxuIl19
|
|
@@ -120,7 +120,7 @@ export class BmbTotpComponent {
|
|
|
120
120
|
return this.codeForm.get(name);
|
|
121
121
|
}
|
|
122
122
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: BmbTotpComponent, deps: [{ token: i1.FormBuilder }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
123
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: BmbTotpComponent, isStandalone: true, selector: "bmb-totp", inputs: { title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, subtitle: { classPropertyName: "subtitle", publicName: "subtitle", isSignal: true, isRequired: false, transformFunction: null }, instanceId: { classPropertyName: "instanceId", publicName: "instanceId", isSignal: true, isRequired: false, transformFunction: null }, codeError: { classPropertyName: "codeError", publicName: "codeError", isSignal: true, isRequired: false, transformFunction: null }, errorMessage: { classPropertyName: "errorMessage", publicName: "errorMessage", isSignal: true, isRequired: false, transformFunction: null }, helperText: { classPropertyName: "helperText", publicName: "helperText", isSignal: true, isRequired: false, transformFunction: null }, showButton: { classPropertyName: "showButton", publicName: "showButton", isSignal: true, isRequired: false, transformFunction: null }, buttonText: { classPropertyName: "buttonText", publicName: "buttonText", isSignal: true, isRequired: false, transformFunction: null }, disableButton: { classPropertyName: "disableButton", publicName: "disableButton", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { handleSubmit: "handleSubmit" }, host: { listeners: { "keydown": "handleKeyDown($event)", "paste": "handlePaste($event)" } }, ngImport: i0, template: "<section class=\"bmb_totp\">\n <form class=\"bmb_totp-form\" [formGroup]=\"codeForm\" (ngSubmit)=\"onSubmit()\">\n <bmb-container\n class=\"bmb_totp-container\"\n [appearance]=\"'contrast-box-container'\"\n >\n <bmb-icon class=\"bmb_totp-icon\" icon=\"lock\" [size]=\"48\" />\n <h2 class=\"bmb_totp-title\">\n {{ title() || ('totp.title' | translate) }}\n </h2>\n <h3 class=\"bmb_totp-subtitle\">\n {{ subtitle() || ('totp.subtitle' | translate) }}\n </h3>\n <section class=\"bmb_totp-code\">\n @for (field of codesArray(); track $index) {\n <section class=\"bmb_totp-separator\">\n <bmb-input-content\n type=\"number\"\n class=\"bmb_totp-input\"\n [inputId]=\"'code_' + instanceId() + '_' + $index\"\n [name]=\"'name_' + instanceId() + '_' + $index\"\n [maxLength]=\"1\"\n [isError]=\"codeError()\"\n [control]=\"getFormControl('name_' + instanceId() + '_' + $index)\"\n (onKeyUp)=\"handleKeyUp($event, $index)\"\n />\n </section>\n }\n </section>\n @if (codeError()) {\n <p class=\"bmb_totp-error\">{{ errorMessage() }}</p>\n }\n @if (showButton()) {\n <button\n class=\"bmb_totp-button\"\n bmbButton\n size=\"large\"\n type=\"submit\"\n [disabled]=\"disableButton()\"\n >\n {{ buttonText() }}\n </button>\n }\n @if (showButton() && helperText()) {\n <p class=\"bmb_totp-helper\">\n {{ helperText() }}\n </p>\n }\n </bmb-container>\n </form>\n</section>\n", styles: ["@font-face{font-family:Poppins-Light;font-style:normal;font-weight:300;src:url(/assets/fonts/Poppins/Poppins-ExtraLight.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Regular;font-style:normal;font-weight:400;src:url(/assets/fonts/Poppins/Poppins-Regular.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Bold;font-style:normal;font-weight:700;src:url(/assets/fonts/Poppins/Poppins-Bold.ttf) format(\"truetype\")}:root,:host{--font-display: \"Poppins-Regular\", sans-serif}.font-thin-1{font-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-semibold-1{font-size:.625rem}.font-bold-1{font-family:Poppins-Bold,sans-serif;font-size:.625rem}.font-thin-2{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-semibold-2{font-size:.6875rem}.font-bold-2{font-family:Poppins-Bold,sans-serif;font-size:.6875rem}.font-thin-3{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-semibold-3{font-size:.75rem}.font-bold-3{font-family:Poppins-Bold,sans-serif;font-size:.75rem}.font-thin-4{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-semibold-4{font-size:.875rem}.font-bold-4{font-family:Poppins-Bold,sans-serif;font-size:.875rem}.font-thin-4_5{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-semibold-4_5{font-size:.9375rem}.font-bold-4_5{font-family:Poppins-Bold,sans-serif;font-size:.9375rem}.font-thin-5{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-semibold-5{font-size:1rem}.font-bold-5{font-family:Poppins-Bold,sans-serif;font-size:1rem}.font-thin-6{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-semibold-6{font-size:1.125rem}.font-bold-6{font-family:Poppins-Bold,sans-serif;font-size:1.125rem}.font-thin-7{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-semibold-7{font-size:1.25rem}.font-bold-7{font-family:Poppins-Bold,sans-serif;font-size:1.25rem}.font-thin-8{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-semibold-8{font-size:1.375rem}.font-bold-8{font-family:Poppins-Bold,sans-serif;font-size:1.375rem}.font-thin-9{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-semibold-9{font-size:1.5rem}.font-bold-9{font-family:Poppins-Bold,sans-serif;font-size:1.5rem}.font-thin-10{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-semibold-10{font-size:1.625rem}.font-bold-10{font-family:Poppins-Bold,sans-serif;font-size:1.625rem}.font-thin-11{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-semibold-11{font-size:2.25rem}.font-bold-11{font-family:Poppins-Bold,sans-serif;font-size:2.25rem}.font-thin-12{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-semibold-12{font-size:3rem}.font-bold-12{font-family:Poppins-Bold,sans-serif;font-size:3rem}.bmb_totp{width:100%}.bmb_totp-container .bmb_container-contrast-box-container{min-width:21.5rem;border:0;margin:0;padding:var(--bmb-spacing-xl);gap:var(--bmb-spacing-m)}.bmb_totp-form{display:flex;justify-content:center}.bmb_totp-title{color:var(--general-contrasts-100);font-family:Poppins-Bold,sans-serif;font-size:1.5rem}.bmb_totp-subtitle{color:var(--general-contrasts-75);font-family:Poppins-Light,sans-serif;font-size:.75rem}.bmb_totp-code{align-items:center;display:flex}.bmb_totp-separator{padding-right:var(--bmb-spacing-m);position:relative}.bmb_totp-separator:not(:last-child):after{background-color:var(--general-contrasts-input-outline);border-radius:var(--bmb-radius-full);content:\"\";display:block;height:.25rem;position:absolute;right:.375rem;top:45%;width:.25rem}.bmb_totp-separator:last-child{padding-right:0}.bmb_totp-separator:focus-within:before{content:\"\";border-radius:var(--bmb-radius-1);position:absolute;left:.25rem;bottom:.25rem;width:1.5rem;height:.125rem;background-color:var(--buttons-primary-select);transition:background-color .3s;z-index:1}.bmb_totp-input .bmb_field-input-normal{border-radius:var(--bmb-radius-xs);height:2rem;width:2rem;text-align:center;padding:0}.bmb_totp-button .bmb_btn{padding:.5rem 1rem;max-height:2.5rem}.bmb_totp-helper{font-family:Poppins-Regular,sans-serif;font-size:.875rem;margin:0;color:var(--general_contrasts-input-outline)}.bmb_totp-error{font-family:Poppins-Regular,sans-serif;font-size:.875rem;margin:0;color:rgb(var(--red-light))}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: BmbContainerComponent, selector: "bmb-container", inputs: ["appearance", "isHidden"] }, { kind: "component", type: BmbIconComponent, selector: "bmb-icon", inputs: ["icon", "isFill", "size", "alt", "dotNotification", "isSVGTemplate"] }, { kind: "component", type: BmbInputContentComponent, selector: "bmb-input-content", inputs: ["type", "placeholder", "icon", "appearance", "isRequired", "name", "spellcheck", "heightTextArea", "maxLength", "minLength", "pattern", "max", "min", "inputId", "autoComplete", "rows", "isReadOnly", "additionalAction", "isClearable", "isError", "isHidden", "showStates", "control"], outputs: ["controlChange", "onFocus", "onBlur", "onChange", "onKeyDown", "onKeyUp", "clearEvent"] }, { kind: "directive", type: BmbButtonDirective, selector: "[bmbButton]", inputs: ["icon", "iconSize", "position", "case", "appearance", "size", "isToggleActive", "enableButtonToggle", "isRounded", "isMobile", "iconAlt"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
123
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: BmbTotpComponent, isStandalone: true, selector: "bmb-totp", inputs: { title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, subtitle: { classPropertyName: "subtitle", publicName: "subtitle", isSignal: true, isRequired: false, transformFunction: null }, instanceId: { classPropertyName: "instanceId", publicName: "instanceId", isSignal: true, isRequired: false, transformFunction: null }, codeError: { classPropertyName: "codeError", publicName: "codeError", isSignal: true, isRequired: false, transformFunction: null }, errorMessage: { classPropertyName: "errorMessage", publicName: "errorMessage", isSignal: true, isRequired: false, transformFunction: null }, helperText: { classPropertyName: "helperText", publicName: "helperText", isSignal: true, isRequired: false, transformFunction: null }, showButton: { classPropertyName: "showButton", publicName: "showButton", isSignal: true, isRequired: false, transformFunction: null }, buttonText: { classPropertyName: "buttonText", publicName: "buttonText", isSignal: true, isRequired: false, transformFunction: null }, disableButton: { classPropertyName: "disableButton", publicName: "disableButton", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { handleSubmit: "handleSubmit" }, host: { listeners: { "keydown": "handleKeyDown($event)", "paste": "handlePaste($event)" } }, ngImport: i0, template: "<section class=\"bmb_totp\">\n <form class=\"bmb_totp-form\" [formGroup]=\"codeForm\" (ngSubmit)=\"onSubmit()\">\n <bmb-container\n class=\"bmb_totp-container\"\n [appearance]=\"'contrast-box-container'\"\n >\n <bmb-icon class=\"bmb_totp-icon\" icon=\"lock\" [size]=\"48\" />\n <h2 class=\"bmb_totp-title\">\n {{ title() || ('totp.title' | translate) }}\n </h2>\n <h3 class=\"bmb_totp-subtitle\">\n {{ subtitle() || ('totp.subtitle' | translate) }}\n </h3>\n <section class=\"bmb_totp-code\">\n @for (field of codesArray(); track $index) {\n <section class=\"bmb_totp-separator\">\n <bmb-input-content\n type=\"number\"\n class=\"bmb_totp-input\"\n [inputId]=\"'code_' + instanceId() + '_' + $index\"\n [name]=\"'name_' + instanceId() + '_' + $index\"\n [maxLength]=\"1\"\n [isError]=\"codeError()\"\n [control]=\"getFormControl('name_' + instanceId() + '_' + $index)\"\n (onKeyUp)=\"handleKeyUp($event, $index)\"\n />\n </section>\n }\n </section>\n @if (codeError()) {\n <p class=\"bmb_totp-error\">{{ errorMessage() }}</p>\n }\n @if (showButton()) {\n <button\n class=\"bmb_totp-button\"\n bmbButton\n size=\"large\"\n type=\"submit\"\n [disabled]=\"disableButton()\"\n >\n {{ buttonText() }}\n </button>\n }\n @if (showButton() && helperText()) {\n <p class=\"bmb_totp-helper\">\n {{ helperText() }}\n </p>\n }\n </bmb-container>\n </form>\n</section>\n", styles: ["@font-face{font-family:Poppins-Light;font-style:normal;font-weight:300;src:url(/assets/fonts/Poppins/Poppins-ExtraLight.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Regular;font-style:normal;font-weight:400;src:url(/assets/fonts/Poppins/Poppins-Regular.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Bold;font-style:normal;font-weight:700;src:url(/assets/fonts/Poppins/Poppins-Bold.ttf) format(\"truetype\")}:root,:host{--font-display: \"Poppins-Regular\", sans-serif}.font-thin-1{font-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-semibold-1{font-size:.625rem}.font-bold-1{font-family:Poppins-Bold,sans-serif;font-size:.625rem}.font-thin-2{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-semibold-2{font-size:.6875rem}.font-bold-2{font-family:Poppins-Bold,sans-serif;font-size:.6875rem}.font-thin-3{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-semibold-3{font-size:.75rem}.font-bold-3{font-family:Poppins-Bold,sans-serif;font-size:.75rem}.font-thin-4{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-semibold-4{font-size:.875rem}.font-bold-4{font-family:Poppins-Bold,sans-serif;font-size:.875rem}.font-thin-4_5{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-semibold-4_5{font-size:.9375rem}.font-bold-4_5{font-family:Poppins-Bold,sans-serif;font-size:.9375rem}.font-thin-5{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-semibold-5{font-size:1rem}.font-bold-5{font-family:Poppins-Bold,sans-serif;font-size:1rem}.font-thin-6{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-semibold-6{font-size:1.125rem}.font-bold-6{font-family:Poppins-Bold,sans-serif;font-size:1.125rem}.font-thin-7{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-semibold-7{font-size:1.25rem}.font-bold-7{font-family:Poppins-Bold,sans-serif;font-size:1.25rem}.font-thin-8{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-semibold-8{font-size:1.375rem}.font-bold-8{font-family:Poppins-Bold,sans-serif;font-size:1.375rem}.font-thin-9{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-semibold-9{font-size:1.5rem}.font-bold-9{font-family:Poppins-Bold,sans-serif;font-size:1.5rem}.font-thin-10{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-semibold-10{font-size:1.625rem}.font-bold-10{font-family:Poppins-Bold,sans-serif;font-size:1.625rem}.font-thin-11{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-semibold-11{font-size:2.25rem}.font-bold-11{font-family:Poppins-Bold,sans-serif;font-size:2.25rem}.font-thin-12{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-semibold-12{font-size:3rem}.font-bold-12{font-family:Poppins-Bold,sans-serif;font-size:3rem}.bmb_totp{width:100%}.bmb_totp-container .bmb_container-contrast-box-container{min-width:21.5rem;border:0;margin:0;padding:var(--bmb-spacing-xl);gap:var(--bmb-spacing-m)}.bmb_totp-form{display:flex;justify-content:center}.bmb_totp-title{color:var(--general-contrasts-100);font-family:Poppins-Bold,sans-serif;font-size:1.5rem}.bmb_totp-subtitle{color:var(--general-contrasts-75);font-family:Poppins-Light,sans-serif;font-size:.75rem}.bmb_totp-code{align-items:center;display:flex}.bmb_totp-separator{padding-right:var(--bmb-spacing-m);position:relative}.bmb_totp-separator:not(:last-child):after{background-color:var(--general-contrasts-input-outline);border-radius:var(--bmb-radius-full);content:\"\";display:block;height:.25rem;position:absolute;right:.375rem;top:45%;width:.25rem}.bmb_totp-separator:last-child{padding-right:0}.bmb_totp-separator:focus-within:before{content:\"\";border-radius:var(--bmb-radius-1);position:absolute;left:.25rem;bottom:.25rem;width:1.5rem;height:.125rem;background-color:var(--buttons-primary-select);transition:background-color .3s;z-index:1}.bmb_totp-input .bmb_field-input-normal{border-radius:var(--bmb-radius-xs);height:2rem;width:2rem;text-align:center;padding:0}.bmb_totp-button .bmb_btn{padding:.5rem 1rem;max-height:2.5rem}.bmb_totp-helper{font-family:Poppins-Regular,sans-serif;font-size:.875rem;margin:0;color:var(--general-contrasts-input-outline)}.bmb_totp-error{font-family:Poppins-Regular,sans-serif;font-size:.875rem;margin:0;color:rgb(var(--red-light))}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: BmbContainerComponent, selector: "bmb-container", inputs: ["appearance", "isHidden"] }, { kind: "component", type: BmbIconComponent, selector: "bmb-icon", inputs: ["icon", "isFill", "size", "alt", "dotNotification", "isSVGTemplate"] }, { kind: "component", type: BmbInputContentComponent, selector: "bmb-input-content", inputs: ["type", "placeholder", "icon", "appearance", "isRequired", "name", "spellcheck", "heightTextArea", "maxLength", "minLength", "pattern", "max", "min", "inputId", "autoComplete", "rows", "isReadOnly", "additionalAction", "isClearable", "isError", "isHidden", "showStates", "control"], outputs: ["controlChange", "onFocus", "onBlur", "onChange", "onKeyDown", "onKeyUp", "clearEvent"] }, { kind: "directive", type: BmbButtonDirective, selector: "[bmbButton]", inputs: ["icon", "iconSize", "position", "case", "appearance", "size", "isToggleActive", "enableButtonToggle", "isRounded", "isMobile", "iconAlt"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
124
124
|
}
|
|
125
125
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: BmbTotpComponent, decorators: [{
|
|
126
126
|
type: Component,
|
|
@@ -132,7 +132,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
|
|
|
132
132
|
BmbInputContentComponent,
|
|
133
133
|
BmbButtonDirective,
|
|
134
134
|
TranslatePipe,
|
|
135
|
-
], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<section class=\"bmb_totp\">\n <form class=\"bmb_totp-form\" [formGroup]=\"codeForm\" (ngSubmit)=\"onSubmit()\">\n <bmb-container\n class=\"bmb_totp-container\"\n [appearance]=\"'contrast-box-container'\"\n >\n <bmb-icon class=\"bmb_totp-icon\" icon=\"lock\" [size]=\"48\" />\n <h2 class=\"bmb_totp-title\">\n {{ title() || ('totp.title' | translate) }}\n </h2>\n <h3 class=\"bmb_totp-subtitle\">\n {{ subtitle() || ('totp.subtitle' | translate) }}\n </h3>\n <section class=\"bmb_totp-code\">\n @for (field of codesArray(); track $index) {\n <section class=\"bmb_totp-separator\">\n <bmb-input-content\n type=\"number\"\n class=\"bmb_totp-input\"\n [inputId]=\"'code_' + instanceId() + '_' + $index\"\n [name]=\"'name_' + instanceId() + '_' + $index\"\n [maxLength]=\"1\"\n [isError]=\"codeError()\"\n [control]=\"getFormControl('name_' + instanceId() + '_' + $index)\"\n (onKeyUp)=\"handleKeyUp($event, $index)\"\n />\n </section>\n }\n </section>\n @if (codeError()) {\n <p class=\"bmb_totp-error\">{{ errorMessage() }}</p>\n }\n @if (showButton()) {\n <button\n class=\"bmb_totp-button\"\n bmbButton\n size=\"large\"\n type=\"submit\"\n [disabled]=\"disableButton()\"\n >\n {{ buttonText() }}\n </button>\n }\n @if (showButton() && helperText()) {\n <p class=\"bmb_totp-helper\">\n {{ helperText() }}\n </p>\n }\n </bmb-container>\n </form>\n</section>\n", styles: ["@font-face{font-family:Poppins-Light;font-style:normal;font-weight:300;src:url(/assets/fonts/Poppins/Poppins-ExtraLight.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Regular;font-style:normal;font-weight:400;src:url(/assets/fonts/Poppins/Poppins-Regular.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Bold;font-style:normal;font-weight:700;src:url(/assets/fonts/Poppins/Poppins-Bold.ttf) format(\"truetype\")}:root,:host{--font-display: \"Poppins-Regular\", sans-serif}.font-thin-1{font-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-semibold-1{font-size:.625rem}.font-bold-1{font-family:Poppins-Bold,sans-serif;font-size:.625rem}.font-thin-2{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-semibold-2{font-size:.6875rem}.font-bold-2{font-family:Poppins-Bold,sans-serif;font-size:.6875rem}.font-thin-3{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-semibold-3{font-size:.75rem}.font-bold-3{font-family:Poppins-Bold,sans-serif;font-size:.75rem}.font-thin-4{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-semibold-4{font-size:.875rem}.font-bold-4{font-family:Poppins-Bold,sans-serif;font-size:.875rem}.font-thin-4_5{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-semibold-4_5{font-size:.9375rem}.font-bold-4_5{font-family:Poppins-Bold,sans-serif;font-size:.9375rem}.font-thin-5{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-semibold-5{font-size:1rem}.font-bold-5{font-family:Poppins-Bold,sans-serif;font-size:1rem}.font-thin-6{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-semibold-6{font-size:1.125rem}.font-bold-6{font-family:Poppins-Bold,sans-serif;font-size:1.125rem}.font-thin-7{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-semibold-7{font-size:1.25rem}.font-bold-7{font-family:Poppins-Bold,sans-serif;font-size:1.25rem}.font-thin-8{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-semibold-8{font-size:1.375rem}.font-bold-8{font-family:Poppins-Bold,sans-serif;font-size:1.375rem}.font-thin-9{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-semibold-9{font-size:1.5rem}.font-bold-9{font-family:Poppins-Bold,sans-serif;font-size:1.5rem}.font-thin-10{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-semibold-10{font-size:1.625rem}.font-bold-10{font-family:Poppins-Bold,sans-serif;font-size:1.625rem}.font-thin-11{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-semibold-11{font-size:2.25rem}.font-bold-11{font-family:Poppins-Bold,sans-serif;font-size:2.25rem}.font-thin-12{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-semibold-12{font-size:3rem}.font-bold-12{font-family:Poppins-Bold,sans-serif;font-size:3rem}.bmb_totp{width:100%}.bmb_totp-container .bmb_container-contrast-box-container{min-width:21.5rem;border:0;margin:0;padding:var(--bmb-spacing-xl);gap:var(--bmb-spacing-m)}.bmb_totp-form{display:flex;justify-content:center}.bmb_totp-title{color:var(--general-contrasts-100);font-family:Poppins-Bold,sans-serif;font-size:1.5rem}.bmb_totp-subtitle{color:var(--general-contrasts-75);font-family:Poppins-Light,sans-serif;font-size:.75rem}.bmb_totp-code{align-items:center;display:flex}.bmb_totp-separator{padding-right:var(--bmb-spacing-m);position:relative}.bmb_totp-separator:not(:last-child):after{background-color:var(--general-contrasts-input-outline);border-radius:var(--bmb-radius-full);content:\"\";display:block;height:.25rem;position:absolute;right:.375rem;top:45%;width:.25rem}.bmb_totp-separator:last-child{padding-right:0}.bmb_totp-separator:focus-within:before{content:\"\";border-radius:var(--bmb-radius-1);position:absolute;left:.25rem;bottom:.25rem;width:1.5rem;height:.125rem;background-color:var(--buttons-primary-select);transition:background-color .3s;z-index:1}.bmb_totp-input .bmb_field-input-normal{border-radius:var(--bmb-radius-xs);height:2rem;width:2rem;text-align:center;padding:0}.bmb_totp-button .bmb_btn{padding:.5rem 1rem;max-height:2.5rem}.bmb_totp-helper{font-family:Poppins-Regular,sans-serif;font-size:.875rem;margin:0;color:var(--
|
|
135
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<section class=\"bmb_totp\">\n <form class=\"bmb_totp-form\" [formGroup]=\"codeForm\" (ngSubmit)=\"onSubmit()\">\n <bmb-container\n class=\"bmb_totp-container\"\n [appearance]=\"'contrast-box-container'\"\n >\n <bmb-icon class=\"bmb_totp-icon\" icon=\"lock\" [size]=\"48\" />\n <h2 class=\"bmb_totp-title\">\n {{ title() || ('totp.title' | translate) }}\n </h2>\n <h3 class=\"bmb_totp-subtitle\">\n {{ subtitle() || ('totp.subtitle' | translate) }}\n </h3>\n <section class=\"bmb_totp-code\">\n @for (field of codesArray(); track $index) {\n <section class=\"bmb_totp-separator\">\n <bmb-input-content\n type=\"number\"\n class=\"bmb_totp-input\"\n [inputId]=\"'code_' + instanceId() + '_' + $index\"\n [name]=\"'name_' + instanceId() + '_' + $index\"\n [maxLength]=\"1\"\n [isError]=\"codeError()\"\n [control]=\"getFormControl('name_' + instanceId() + '_' + $index)\"\n (onKeyUp)=\"handleKeyUp($event, $index)\"\n />\n </section>\n }\n </section>\n @if (codeError()) {\n <p class=\"bmb_totp-error\">{{ errorMessage() }}</p>\n }\n @if (showButton()) {\n <button\n class=\"bmb_totp-button\"\n bmbButton\n size=\"large\"\n type=\"submit\"\n [disabled]=\"disableButton()\"\n >\n {{ buttonText() }}\n </button>\n }\n @if (showButton() && helperText()) {\n <p class=\"bmb_totp-helper\">\n {{ helperText() }}\n </p>\n }\n </bmb-container>\n </form>\n</section>\n", styles: ["@font-face{font-family:Poppins-Light;font-style:normal;font-weight:300;src:url(/assets/fonts/Poppins/Poppins-ExtraLight.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Regular;font-style:normal;font-weight:400;src:url(/assets/fonts/Poppins/Poppins-Regular.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Bold;font-style:normal;font-weight:700;src:url(/assets/fonts/Poppins/Poppins-Bold.ttf) format(\"truetype\")}:root,:host{--font-display: \"Poppins-Regular\", sans-serif}.font-thin-1{font-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-semibold-1{font-size:.625rem}.font-bold-1{font-family:Poppins-Bold,sans-serif;font-size:.625rem}.font-thin-2{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-semibold-2{font-size:.6875rem}.font-bold-2{font-family:Poppins-Bold,sans-serif;font-size:.6875rem}.font-thin-3{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-semibold-3{font-size:.75rem}.font-bold-3{font-family:Poppins-Bold,sans-serif;font-size:.75rem}.font-thin-4{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-semibold-4{font-size:.875rem}.font-bold-4{font-family:Poppins-Bold,sans-serif;font-size:.875rem}.font-thin-4_5{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-semibold-4_5{font-size:.9375rem}.font-bold-4_5{font-family:Poppins-Bold,sans-serif;font-size:.9375rem}.font-thin-5{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-semibold-5{font-size:1rem}.font-bold-5{font-family:Poppins-Bold,sans-serif;font-size:1rem}.font-thin-6{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-semibold-6{font-size:1.125rem}.font-bold-6{font-family:Poppins-Bold,sans-serif;font-size:1.125rem}.font-thin-7{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-semibold-7{font-size:1.25rem}.font-bold-7{font-family:Poppins-Bold,sans-serif;font-size:1.25rem}.font-thin-8{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-semibold-8{font-size:1.375rem}.font-bold-8{font-family:Poppins-Bold,sans-serif;font-size:1.375rem}.font-thin-9{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-semibold-9{font-size:1.5rem}.font-bold-9{font-family:Poppins-Bold,sans-serif;font-size:1.5rem}.font-thin-10{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-semibold-10{font-size:1.625rem}.font-bold-10{font-family:Poppins-Bold,sans-serif;font-size:1.625rem}.font-thin-11{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-semibold-11{font-size:2.25rem}.font-bold-11{font-family:Poppins-Bold,sans-serif;font-size:2.25rem}.font-thin-12{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-semibold-12{font-size:3rem}.font-bold-12{font-family:Poppins-Bold,sans-serif;font-size:3rem}.bmb_totp{width:100%}.bmb_totp-container .bmb_container-contrast-box-container{min-width:21.5rem;border:0;margin:0;padding:var(--bmb-spacing-xl);gap:var(--bmb-spacing-m)}.bmb_totp-form{display:flex;justify-content:center}.bmb_totp-title{color:var(--general-contrasts-100);font-family:Poppins-Bold,sans-serif;font-size:1.5rem}.bmb_totp-subtitle{color:var(--general-contrasts-75);font-family:Poppins-Light,sans-serif;font-size:.75rem}.bmb_totp-code{align-items:center;display:flex}.bmb_totp-separator{padding-right:var(--bmb-spacing-m);position:relative}.bmb_totp-separator:not(:last-child):after{background-color:var(--general-contrasts-input-outline);border-radius:var(--bmb-radius-full);content:\"\";display:block;height:.25rem;position:absolute;right:.375rem;top:45%;width:.25rem}.bmb_totp-separator:last-child{padding-right:0}.bmb_totp-separator:focus-within:before{content:\"\";border-radius:var(--bmb-radius-1);position:absolute;left:.25rem;bottom:.25rem;width:1.5rem;height:.125rem;background-color:var(--buttons-primary-select);transition:background-color .3s;z-index:1}.bmb_totp-input .bmb_field-input-normal{border-radius:var(--bmb-radius-xs);height:2rem;width:2rem;text-align:center;padding:0}.bmb_totp-button .bmb_btn{padding:.5rem 1rem;max-height:2.5rem}.bmb_totp-helper{font-family:Poppins-Regular,sans-serif;font-size:.875rem;margin:0;color:var(--general-contrasts-input-outline)}.bmb_totp-error{font-family:Poppins-Regular,sans-serif;font-size:.875rem;margin:0;color:rgb(var(--red-light))}\n"] }]
|
|
136
136
|
}], ctorParameters: () => [{ type: i1.FormBuilder }], propDecorators: { handleKeyDown: [{
|
|
137
137
|
type: HostListener,
|
|
138
138
|
args: ['keydown', ['$event']]
|