@ti-tecnologico-de-monterrey-oficial/ds-ng 1.5.1218 → 1.5.1220
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/styles/main.min.css +1 -1
- package/fesm2022/ti-tecnologico-de-monterrey-oficial-ds-ng.mjs +1743 -1743
- package/fesm2022/ti-tecnologico-de-monterrey-oficial-ds-ng.mjs.map +1 -1
- package/index.d.ts +3835 -5
- package/package.json +1 -3
- package/esm2022/lib/components/bmb-academic-progress/bmb-academic-progress.component.mjs +0 -87
- package/esm2022/lib/components/bmb-accordion/bmb-accordion.component.mjs +0 -159
- package/esm2022/lib/components/bmb-account-statement/bmb-account-statement.component.mjs +0 -172
- package/esm2022/lib/components/bmb-action-icon/bmb-action-icon.component.mjs +0 -49
- package/esm2022/lib/components/bmb-action-menu/bmb-action-menu.component.mjs +0 -31
- package/esm2022/lib/components/bmb-advertisement-card/bmb-advertisement-card.component.mjs +0 -35
- package/esm2022/lib/components/bmb-advertisement-card/types.mjs +0 -2
- package/esm2022/lib/components/bmb-alert-center/bmb-alert-center-ads/bmb-alert-center-ads.component.mjs +0 -40
- package/esm2022/lib/components/bmb-alert-center/bmb-alert-center-empty/bmb-alert-center-empty.component.mjs +0 -18
- package/esm2022/lib/components/bmb-alert-center/bmb-alert-center-form/bmb-alert-center-form.component.mjs +0 -148
- package/esm2022/lib/components/bmb-alert-center/bmb-alert-center-list/bmb-alert-center-list.component.mjs +0 -52
- package/esm2022/lib/components/bmb-alert-center/bmb-alert-center.component.mjs +0 -203
- package/esm2022/lib/components/bmb-alert-center/bmb-alert-center.service.mjs +0 -62
- package/esm2022/lib/components/bmb-alert-center/types.mjs +0 -2
- package/esm2022/lib/components/bmb-badge/bmb-badge.component.mjs +0 -26
- package/esm2022/lib/components/bmb-balance-overview/bmb-balance-overview.component.mjs +0 -26
- package/esm2022/lib/components/bmb-bookmark/bmb-bookmark.component.mjs +0 -27
- package/esm2022/lib/components/bmb-bottom-navigation-bar/bmb-bottom-navigation-bar.component.mjs +0 -42
- package/esm2022/lib/components/bmb-breadcrumb/bmb-breadcrumb.component.mjs +0 -55
- package/esm2022/lib/components/bmb-button-icon/bmb-button-icon.component.mjs +0 -30
- package/esm2022/lib/components/bmb-calendar/bmb-calendar.component.mjs +0 -285
- package/esm2022/lib/components/bmb-calendar/common/bmb-calendar-header/bmb-calendar-header.component.mjs +0 -95
- package/esm2022/lib/components/bmb-calendar/common/bmb-calendar-hour-view/bmb-calendar-hour-view.component.mjs +0 -40
- package/esm2022/lib/components/bmb-calendar/common/bmb-calendar-schedule-cards/bmb-calendar-schedule-cards.component.mjs +0 -68
- package/esm2022/lib/components/bmb-calendar/common/bmb-calendar-template-day/bmb-calendar-template-day.component.mjs +0 -41
- package/esm2022/lib/components/bmb-calendar/common/bmb-calendar-template-mobile/bmb-calendar-template-mobile.component.mjs +0 -95
- package/esm2022/lib/components/bmb-calendar/common/bmb-calendar-template-month/bmb-calendar-template-month.component.mjs +0 -45
- package/esm2022/lib/components/bmb-calendar/common/bmb-calendar-template-week/bmb-calendar-template-week.component.mjs +0 -54
- package/esm2022/lib/components/bmb-calendar/common/bmb-calendar-time-indicator/bmb-calendar-time-indicator.component.mjs +0 -24
- package/esm2022/lib/components/bmb-calendar/types.mjs +0 -2
- package/esm2022/lib/components/bmb-calendar/utils.mjs +0 -96
- package/esm2022/lib/components/bmb-card/bmb-card.component.mjs +0 -159
- package/esm2022/lib/components/bmb-card-button/bmb-card-button.component.mjs +0 -76
- package/esm2022/lib/components/bmb-carousel/bmb-carousel.component.mjs +0 -80
- package/esm2022/lib/components/bmb-chat-bar/bmb-chat-bar.component.mjs +0 -199
- package/esm2022/lib/components/bmb-chat-bar/bot_list.mjs +0 -57
- package/esm2022/lib/components/bmb-chat-bar/types.mjs +0 -2
- package/esm2022/lib/components/bmb-chat-bubbles/bmb-chat-bubbles.component.mjs +0 -56
- package/esm2022/lib/components/bmb-chat-bubbles/types.mjs +0 -2
- package/esm2022/lib/components/bmb-check-external-link-button/bmb-check-external-link-button.component.mjs +0 -46
- package/esm2022/lib/components/bmb-checkbox/bmb-checkbox.component.mjs +0 -80
- package/esm2022/lib/components/bmb-chevron-title-selector/bmb-chevron-title-selector.component.mjs +0 -36
- package/esm2022/lib/components/bmb-container/bmb-container.component.mjs +0 -27
- package/esm2022/lib/components/bmb-container-button/bmb-container-button.component.mjs +0 -96
- package/esm2022/lib/components/bmb-date-range/bmb-date-range.component.mjs +0 -69
- package/esm2022/lib/components/bmb-datepicker/bmb-datepicker-modal/bmb-datepicker-modal.component.mjs +0 -206
- package/esm2022/lib/components/bmb-datepicker/bmb-datepicker.component.mjs +0 -144
- package/esm2022/lib/components/bmb-digital-id/bmb-digital-id.component.mjs +0 -54
- package/esm2022/lib/components/bmb-divider/bmb-divider.component.mjs +0 -25
- package/esm2022/lib/components/bmb-dot-paginator/bmb-dot-paginator.component.mjs +0 -34
- package/esm2022/lib/components/bmb-drawer-overlay/bmb-drawer-overlay.component.mjs +0 -65
- package/esm2022/lib/components/bmb-dropdown/bmb-dropdown.component.mjs +0 -177
- package/esm2022/lib/components/bmb-dropdown-menu/bmb-dropdown-menu.component.mjs +0 -31
- package/esm2022/lib/components/bmb-dropzone/bmb-dropzone.component.mjs +0 -175
- package/esm2022/lib/components/bmb-evaluation-rubric/bmb-evaluation-rubric.component.mjs +0 -76
- package/esm2022/lib/components/bmb-external-link/bmb-external-link.component.mjs +0 -80
- package/esm2022/lib/components/bmb-fab/bmb-fab-.interface.mjs +0 -9
- package/esm2022/lib/components/bmb-fab/bmb-fab.component.mjs +0 -37
- package/esm2022/lib/components/bmb-filter-card/bmb-filter-card.component.mjs +0 -166
- package/esm2022/lib/components/bmb-filter-card/bmb-filter-card.interface.mjs +0 -2
- package/esm2022/lib/components/bmb-focus-element/bmb-focus-element.component.mjs +0 -36
- package/esm2022/lib/components/bmb-form-validator/bmb-form-validator.component.mjs +0 -159
- package/esm2022/lib/components/bmb-frequent-apps-selector/bmb-frequent-apps-selector.component.mjs +0 -29
- package/esm2022/lib/components/bmb-grade-value/bmb-grade-value.component.mjs +0 -22
- package/esm2022/lib/components/bmb-grades/bmb-grades.component.mjs +0 -178
- package/esm2022/lib/components/bmb-grades/types.mjs +0 -2
- package/esm2022/lib/components/bmb-header-mitec/bmb-header-mitec.component.mjs +0 -55
- package/esm2022/lib/components/bmb-header-mobile/bmb-header-mobile.component.mjs +0 -49
- package/esm2022/lib/components/bmb-hito-card/bmb-hito-card.component.mjs +0 -86
- package/esm2022/lib/components/bmb-hito-list/bmb-hito-list.component.mjs +0 -59
- package/esm2022/lib/components/bmb-home-card/bmb-home-card-header/bmb-home-card-header.component.mjs +0 -76
- package/esm2022/lib/components/bmb-home-card/bmb-home-card.component.mjs +0 -41
- package/esm2022/lib/components/bmb-home-card-chat/bmb-home-card-chat.component.mjs +0 -39
- package/esm2022/lib/components/bmb-home-section/bmb-home-section.component.mjs +0 -20
- package/esm2022/lib/components/bmb-icon/bmb-icon.component.mjs +0 -50
- package/esm2022/lib/components/bmb-icon/types.mjs +0 -2
- package/esm2022/lib/components/bmb-icon-item/bmb-icon-item.component.mjs +0 -23
- package/esm2022/lib/components/bmb-icon-status/bmb-icon-status.component.mjs +0 -24
- package/esm2022/lib/components/bmb-iframe/bmb-iframe.component.mjs +0 -19
- package/esm2022/lib/components/bmb-iframe/bmb-iframe.pipe.mjs +0 -21
- package/esm2022/lib/components/bmb-image/bmb-image.component.mjs +0 -33
- package/esm2022/lib/components/bmb-inner-header/bmb-inner-header.component.mjs +0 -77
- package/esm2022/lib/components/bmb-input/bmb-input-content/bmb-input-content.component.mjs +0 -146
- package/esm2022/lib/components/bmb-input/bmb-input-validator/bmb-input-validator.component.mjs +0 -178
- package/esm2022/lib/components/bmb-input/bmb-input.component.mjs +0 -85
- package/esm2022/lib/components/bmb-input-phone-number/bmb-input-phone-number.component.mjs +0 -219
- package/esm2022/lib/components/bmb-input-tags/bmb-input-tags.component.mjs +0 -191
- package/esm2022/lib/components/bmb-interactive-icon/bmb-interactive-icon.component.mjs +0 -54
- package/esm2022/lib/components/bmb-invoice/bmb-invoice.component.mjs +0 -34
- package/esm2022/lib/components/bmb-item/bmb-item.component.mjs +0 -28
- package/esm2022/lib/components/bmb-legend/bmb-legend.component.mjs +0 -23
- package/esm2022/lib/components/bmb-list-group/bmb-list-group-item/bmb-list-group-item.component.mjs +0 -83
- package/esm2022/lib/components/bmb-list-group/bmb-list-group.component.mjs +0 -60
- package/esm2022/lib/components/bmb-list-group/bmb-list-group.service.mjs +0 -55
- package/esm2022/lib/components/bmb-list-group/types.mjs +0 -2
- package/esm2022/lib/components/bmb-list-items/bmb-list-items.component.mjs +0 -83
- package/esm2022/lib/components/bmb-loader/bmb-loader.component.mjs +0 -77
- package/esm2022/lib/components/bmb-login/bmb-login-content/bmb-login-content.component.mjs +0 -55
- package/esm2022/lib/components/bmb-login/bmb-login.component.mjs +0 -66
- package/esm2022/lib/components/bmb-login-onboarding/bmb-login-onboarding-logged/bmb-login-onboarding-logged.component.mjs +0 -40
- package/esm2022/lib/components/bmb-login-onboarding/bmb-login-onboarding-login/bmb-login-onboarding-login.component.mjs +0 -20
- package/esm2022/lib/components/bmb-login-onboarding/bmb-login-onboarding-logout/bmb-login-onboarding-logout.component.mjs +0 -33
- package/esm2022/lib/components/bmb-login-onboarding/bmb-login-onboarding-stepper/bmb-login-onboarding-stepper-steps/bmb-login-onboarding-stepper-step-four.component.mjs +0 -91
- package/esm2022/lib/components/bmb-login-onboarding/bmb-login-onboarding-stepper/bmb-login-onboarding-stepper-steps/bmb-login-onboarding-stepper-step-one.component.mjs +0 -88
- package/esm2022/lib/components/bmb-login-onboarding/bmb-login-onboarding-stepper/bmb-login-onboarding-stepper-steps/bmb-login-onboarding-stepper-step-three.component.mjs +0 -57
- package/esm2022/lib/components/bmb-login-onboarding/bmb-login-onboarding-stepper/bmb-login-onboarding-stepper-steps/bmb-login-onboarding-stepper-step-two.component.mjs +0 -99
- package/esm2022/lib/components/bmb-login-onboarding/bmb-login-onboarding-stepper/bmb-login-onboarding-stepper-steps/bmb-login-onboarding-stepper-step.component.mjs +0 -39
- package/esm2022/lib/components/bmb-login-onboarding/bmb-login-onboarding-stepper/bmb-login-onboarding-stepper.component.mjs +0 -44
- package/esm2022/lib/components/bmb-login-onboarding/bmb-login-onboarding.component.mjs +0 -52
- package/esm2022/lib/components/bmb-login-onboarding/bmb-login-onboarding.service.mjs +0 -70
- package/esm2022/lib/components/bmb-login-onboarding/types.mjs +0 -2
- package/esm2022/lib/components/bmb-logo/bmb-logo.component.mjs +0 -43
- package/esm2022/lib/components/bmb-media-card/bmb-media-card.component.mjs +0 -64
- package/esm2022/lib/components/bmb-mitec-logo-animation/bmb-mitec-logo-animation.component.mjs +0 -14
- package/esm2022/lib/components/bmb-mobile-templates/bmb-mobile-templates.component.mjs +0 -88
- package/esm2022/lib/components/bmb-modal/bmb-modal.component.mjs +0 -139
- package/esm2022/lib/components/bmb-modal/bmb-modal.interface.mjs +0 -2
- package/esm2022/lib/components/bmb-modal/bmb-native-modal.component.mjs +0 -121
- package/esm2022/lib/components/bmb-multi-dot-paginator/bmb-multi-dot-paginator-item/bmb-multi-dot-paginator-item.component.mjs +0 -15
- package/esm2022/lib/components/bmb-multi-dot-paginator/bmb-multi-dot-paginator.component.mjs +0 -59
- package/esm2022/lib/components/bmb-navigation-bar/bmb-navigation-bar.component.mjs +0 -30
- package/esm2022/lib/components/bmb-notice-card/bmb-notice-card.component.mjs +0 -43
- package/esm2022/lib/components/bmb-notification-card/bmb-notification-card.component.mjs +0 -86
- package/esm2022/lib/components/bmb-notification-counter/bmb-notification-counter.component.mjs +0 -23
- package/esm2022/lib/components/bmb-overlay/bmb-overlay.component.mjs +0 -22
- package/esm2022/lib/components/bmb-paginator/bmb-paginator.component.mjs +0 -52
- package/esm2022/lib/components/bmb-portal/bmb-portal.component.mjs +0 -58
- package/esm2022/lib/components/bmb-portal/bmb-projected-content/bmb-projected-content.component.mjs +0 -120
- package/esm2022/lib/components/bmb-profile/bmb-profile.component.mjs +0 -153
- package/esm2022/lib/components/bmb-progress-bar/bmb-progress-bar.component.mjs +0 -39
- package/esm2022/lib/components/bmb-progress-cirlce/bmb-progress-circle.component.mjs +0 -196
- package/esm2022/lib/components/bmb-progress-cirlce/bmb-progress-circle.interface.mjs +0 -2
- package/esm2022/lib/components/bmb-pull-wedge/bmb-pull-wedge.component.mjs +0 -88
- package/esm2022/lib/components/bmb-push-notification/bmb-push-notification-item/bmb-push-notification-item.component.mjs +0 -75
- package/esm2022/lib/components/bmb-push-notification/bmb-push-notification.component.mjs +0 -24
- package/esm2022/lib/components/bmb-push-notification/types.mjs +0 -2
- package/esm2022/lib/components/bmb-radial/bmb-radial.component.mjs +0 -78
- package/esm2022/lib/components/bmb-search-input/bmb-search-input.component.mjs +0 -122
- package/esm2022/lib/components/bmb-server-table/bmb-server-table.component.mjs +0 -82
- package/esm2022/lib/components/bmb-sidebar/bmb-sidebar.component.mjs +0 -97
- package/esm2022/lib/components/bmb-sidebar/bmb-sidebar.interface.mjs +0 -2
- package/esm2022/lib/components/bmb-simple-header/bmb-simple-header.component.mjs +0 -64
- package/esm2022/lib/components/bmb-skeleton/bmb-skeleton.component.mjs +0 -16
- package/esm2022/lib/components/bmb-sounds-card/bmb-sounds-card.component.mjs +0 -64
- package/esm2022/lib/components/bmb-stat-counter/bmb-stat-counter.component.mjs +0 -32
- package/esm2022/lib/components/bmb-step-progress-bar/bmb-step-progress-bar.component.mjs +0 -55
- package/esm2022/lib/components/bmb-student-activity-card/bmb-student-activity-card.component.mjs +0 -53
- package/esm2022/lib/components/bmb-student-activity-selector/bmb-student-activity-tab/bmb-student-activity-tab.component.mjs +0 -27
- package/esm2022/lib/components/bmb-switch/bmb-switch.component.mjs +0 -88
- package/esm2022/lib/components/bmb-tables/bmb-tables.component.mjs +0 -541
- package/esm2022/lib/components/bmb-tables/bmb-tables.interface.mjs +0 -2
- package/esm2022/lib/components/bmb-tabs/bmb-tabs.component.mjs +0 -132
- package/esm2022/lib/components/bmb-tags/bmb-tags.component.mjs +0 -65
- package/esm2022/lib/components/bmb-text-editor/bmb-text-editor.component.mjs +0 -135
- package/esm2022/lib/components/bmb-text-link/bmb-text-link.component.mjs +0 -43
- package/esm2022/lib/components/bmb-theme/bmb-theme.component.mjs +0 -65
- package/esm2022/lib/components/bmb-three-cols/bmb-three-cols.component.mjs +0 -30
- package/esm2022/lib/components/bmb-timestream/bmb-timestream-detail/bmb-timestream-detail.component.mjs +0 -74
- package/esm2022/lib/components/bmb-timestream/bmb-timestream-error/bmb-timestream-error.component.mjs +0 -13
- package/esm2022/lib/components/bmb-timestream/bmb-timestream.component.mjs +0 -236
- package/esm2022/lib/components/bmb-timestream/types.mjs +0 -2
- package/esm2022/lib/components/bmb-timestream-card/bmb-timestream-card.component.mjs +0 -139
- package/esm2022/lib/components/bmb-title-content/bmb-title-content.component.mjs +0 -61
- package/esm2022/lib/components/bmb-toast/bmb-toast.component.mjs +0 -47
- package/esm2022/lib/components/bmb-tooltip/bmb-tooltip.component.mjs +0 -26
- package/esm2022/lib/components/bmb-top-bar/bmb-top-bar-item/bmb-top-bar-item.component.mjs +0 -31
- package/esm2022/lib/components/bmb-top-bar/bmb-top-bar-user-section/bmb-top-bar-user-section.component.mjs +0 -94
- package/esm2022/lib/components/bmb-top-bar/bmb-top-bar.component.mjs +0 -86
- package/esm2022/lib/components/bmb-top-bar/types.mjs +0 -2
- package/esm2022/lib/components/bmb-totp/bmb-totp.component.mjs +0 -139
- package/esm2022/lib/components/bmb-user-image/bmb-user-image.component.mjs +0 -44
- package/esm2022/lib/components/bmb-user-profile/bmb-user-profile-content/bmb-user-profile-content.component.mjs +0 -19
- package/esm2022/lib/components/bmb-user-profile/bmb-user-profile.component.mjs +0 -71
- package/esm2022/lib/components/bmb-user-summary/bmb-user-summary-content/bmb-user-summary-content.component.mjs +0 -61
- package/esm2022/lib/components/bmb-user-summary/bmb-user-summary.component.mjs +0 -28
- package/esm2022/lib/components/bmb-value-counter/bmb-value-counter.component.mjs +0 -23
- package/esm2022/lib/components/bmb-web-templates/bmb-web-templates.component.mjs +0 -85
- package/esm2022/lib/components/bmb-wheel-menu/bmb-wheel-menu.component.mjs +0 -128
- package/esm2022/lib/components/utils/bmb-dropdown-content/bmb-dropdown-content.component.mjs +0 -51
- package/esm2022/lib/directives/bmb-accordion/bmb-accordion-control.directive.mjs +0 -88
- package/esm2022/lib/directives/bmb-button/button.directive.mjs +0 -84
- package/esm2022/lib/directives/bmb-button-group/bmb-button-group.directive.mjs +0 -29
- package/esm2022/lib/directives/bmb-layout/bmb-layout-item.directive.mjs +0 -51
- package/esm2022/lib/directives/bmb-layout/bmb-layout.directive.mjs +0 -36
- package/esm2022/lib/directives/bmb-layout/bmb-vertical-layout/bmb-vertical-layout-item.directive.mjs +0 -34
- package/esm2022/lib/directives/bmb-layout/bmb-vertical-layout/bmb-vertical-layout.directive.mjs +0 -37
- package/esm2022/lib/directives/bmb-layout-grid/bmb-layout-grid.directive.mjs +0 -89
- package/esm2022/lib/directives/utils/clickoutside.directive.mjs +0 -41
- package/esm2022/lib/ds-ng.component.mjs +0 -11
- package/esm2022/lib/ds-ng.service.mjs +0 -14
- package/esm2022/lib/services/calendar.service.mjs +0 -51
- package/esm2022/lib/services/index.mjs +0 -3
- package/esm2022/lib/services/native-modal.service.mjs +0 -60
- package/esm2022/lib/services/notification.service.mjs +0 -84
- package/esm2022/lib/services/projection.service.mjs +0 -49
- package/esm2022/lib/services/tabs.service.mjs +0 -30
- package/esm2022/lib/services/theme.service.mjs +0 -30
- package/esm2022/lib/services/toast.service.mjs +0 -24
- package/esm2022/lib/services/user/profile.service.mjs +0 -26
- package/esm2022/lib/types/colors.mjs +0 -2
- package/esm2022/lib/types/index.mjs +0 -11
- package/esm2022/lib/utils/countryCodes.mjs +0 -1089
- package/esm2022/lib/utils/currencyFormat.mjs +0 -7
- package/esm2022/lib/utils/dropdown.mjs +0 -85
- package/esm2022/lib/utils/formControl.mjs +0 -25
- package/esm2022/lib/utils/timestreamFilters.mjs +0 -32
- package/esm2022/lib/utils/utils.mjs +0 -71
- package/esm2022/public-api.mjs +0 -152
- package/esm2022/ti-tecnologico-de-monterrey-oficial-ds-ng.mjs +0 -5
- package/lib/components/bmb-academic-progress/bmb-academic-progress.component.d.ts +0 -21
- package/lib/components/bmb-accordion/bmb-accordion.component.d.ts +0 -37
- package/lib/components/bmb-account-statement/bmb-account-statement.component.d.ts +0 -56
- package/lib/components/bmb-action-icon/bmb-action-icon.component.d.ts +0 -23
- package/lib/components/bmb-action-menu/bmb-action-menu.component.d.ts +0 -17
- package/lib/components/bmb-advertisement-card/bmb-advertisement-card.component.d.ts +0 -13
- package/lib/components/bmb-advertisement-card/types.d.ts +0 -21
- package/lib/components/bmb-alert-center/bmb-alert-center-ads/bmb-alert-center-ads.component.d.ts +0 -10
- package/lib/components/bmb-alert-center/bmb-alert-center-empty/bmb-alert-center-empty.component.d.ts +0 -7
- package/lib/components/bmb-alert-center/bmb-alert-center-form/bmb-alert-center-form.component.d.ts +0 -31
- package/lib/components/bmb-alert-center/bmb-alert-center-list/bmb-alert-center-list.component.d.ts +0 -20
- package/lib/components/bmb-alert-center/bmb-alert-center.component.d.ts +0 -46
- package/lib/components/bmb-alert-center/bmb-alert-center.service.d.ts +0 -20
- package/lib/components/bmb-alert-center/types.d.ts +0 -64
- package/lib/components/bmb-badge/bmb-badge.component.d.ts +0 -11
- package/lib/components/bmb-balance-overview/bmb-balance-overview.component.d.ts +0 -15
- package/lib/components/bmb-bookmark/bmb-bookmark.component.d.ts +0 -8
- package/lib/components/bmb-bottom-navigation-bar/bmb-bottom-navigation-bar.component.d.ts +0 -25
- package/lib/components/bmb-breadcrumb/bmb-breadcrumb.component.d.ts +0 -27
- package/lib/components/bmb-button-icon/bmb-button-icon.component.d.ts +0 -16
- package/lib/components/bmb-calendar/bmb-calendar.component.d.ts +0 -67
- package/lib/components/bmb-calendar/common/bmb-calendar-header/bmb-calendar-header.component.d.ts +0 -20
- package/lib/components/bmb-calendar/common/bmb-calendar-hour-view/bmb-calendar-hour-view.component.d.ts +0 -13
- package/lib/components/bmb-calendar/common/bmb-calendar-schedule-cards/bmb-calendar-schedule-cards.component.d.ts +0 -16
- package/lib/components/bmb-calendar/common/bmb-calendar-template-day/bmb-calendar-template-day.component.d.ts +0 -18
- package/lib/components/bmb-calendar/common/bmb-calendar-template-mobile/bmb-calendar-template-mobile.component.d.ts +0 -31
- package/lib/components/bmb-calendar/common/bmb-calendar-template-month/bmb-calendar-template-month.component.d.ts +0 -18
- package/lib/components/bmb-calendar/common/bmb-calendar-template-week/bmb-calendar-template-week.component.d.ts +0 -23
- package/lib/components/bmb-calendar/common/bmb-calendar-time-indicator/bmb-calendar-time-indicator.component.d.ts +0 -9
- package/lib/components/bmb-calendar/types.d.ts +0 -43
- package/lib/components/bmb-calendar/utils.d.ts +0 -12
- package/lib/components/bmb-card/bmb-card.component.d.ts +0 -43
- package/lib/components/bmb-card-button/bmb-card-button.component.d.ts +0 -50
- package/lib/components/bmb-carousel/bmb-carousel.component.d.ts +0 -20
- package/lib/components/bmb-chat-bar/bmb-chat-bar.component.d.ts +0 -63
- package/lib/components/bmb-chat-bar/bot_list.d.ts +0 -6
- package/lib/components/bmb-chat-bar/types.d.ts +0 -9
- package/lib/components/bmb-chat-bubbles/bmb-chat-bubbles.component.d.ts +0 -23
- package/lib/components/bmb-chat-bubbles/types.d.ts +0 -23
- package/lib/components/bmb-check-external-link-button/bmb-check-external-link-button.component.d.ts +0 -21
- package/lib/components/bmb-checkbox/bmb-checkbox.component.d.ts +0 -33
- package/lib/components/bmb-chevron-title-selector/bmb-chevron-title-selector.component.d.ts +0 -17
- package/lib/components/bmb-container/bmb-container.component.d.ts +0 -9
- package/lib/components/bmb-container-button/bmb-container-button.component.d.ts +0 -39
- package/lib/components/bmb-date-range/bmb-date-range.component.d.ts +0 -35
- package/lib/components/bmb-datepicker/bmb-datepicker-modal/bmb-datepicker-modal.component.d.ts +0 -39
- package/lib/components/bmb-datepicker/bmb-datepicker.component.d.ts +0 -52
- package/lib/components/bmb-digital-id/bmb-digital-id.component.d.ts +0 -26
- package/lib/components/bmb-divider/bmb-divider.component.d.ts +0 -8
- package/lib/components/bmb-dot-paginator/bmb-dot-paginator.component.d.ts +0 -17
- package/lib/components/bmb-drawer-overlay/bmb-drawer-overlay.component.d.ts +0 -26
- package/lib/components/bmb-dropdown/bmb-dropdown.component.d.ts +0 -62
- package/lib/components/bmb-dropdown-menu/bmb-dropdown-menu.component.d.ts +0 -13
- package/lib/components/bmb-dropzone/bmb-dropzone.component.d.ts +0 -49
- package/lib/components/bmb-evaluation-rubric/bmb-evaluation-rubric.component.d.ts +0 -45
- package/lib/components/bmb-external-link/bmb-external-link.component.d.ts +0 -25
- package/lib/components/bmb-fab/bmb-fab-.interface.d.ts +0 -10
- package/lib/components/bmb-fab/bmb-fab.component.d.ts +0 -15
- package/lib/components/bmb-filter-card/bmb-filter-card.component.d.ts +0 -34
- package/lib/components/bmb-filter-card/bmb-filter-card.interface.d.ts +0 -12
- package/lib/components/bmb-focus-element/bmb-focus-element.component.d.ts +0 -14
- package/lib/components/bmb-form-validator/bmb-form-validator.component.d.ts +0 -34
- package/lib/components/bmb-frequent-apps-selector/bmb-frequent-apps-selector.component.d.ts +0 -13
- package/lib/components/bmb-grade-value/bmb-grade-value.component.d.ts +0 -11
- package/lib/components/bmb-grades/bmb-grades.component.d.ts +0 -43
- package/lib/components/bmb-grades/types.d.ts +0 -25
- package/lib/components/bmb-header-mitec/bmb-header-mitec.component.d.ts +0 -17
- package/lib/components/bmb-header-mobile/bmb-header-mobile.component.d.ts +0 -23
- package/lib/components/bmb-hito-card/bmb-hito-card.component.d.ts +0 -30
- package/lib/components/bmb-hito-list/bmb-hito-list.component.d.ts +0 -24
- package/lib/components/bmb-home-card/bmb-home-card-header/bmb-home-card-header.component.d.ts +0 -28
- package/lib/components/bmb-home-card/bmb-home-card.component.d.ts +0 -27
- package/lib/components/bmb-home-card-chat/bmb-home-card-chat.component.d.ts +0 -25
- package/lib/components/bmb-home-section/bmb-home-section.component.d.ts +0 -9
- package/lib/components/bmb-icon/bmb-icon.component.d.ts +0 -23
- package/lib/components/bmb-icon/types.d.ts +0 -1
- package/lib/components/bmb-icon-item/bmb-icon-item.component.d.ts +0 -13
- package/lib/components/bmb-icon-status/bmb-icon-status.component.d.ts +0 -10
- package/lib/components/bmb-iframe/bmb-iframe.component.d.ts +0 -11
- package/lib/components/bmb-iframe/bmb-iframe.pipe.d.ts +0 -10
- package/lib/components/bmb-image/bmb-image.component.d.ts +0 -19
- package/lib/components/bmb-inner-header/bmb-inner-header.component.d.ts +0 -29
- package/lib/components/bmb-input/bmb-input-content/bmb-input-content.component.d.ts +0 -52
- package/lib/components/bmb-input/bmb-input-validator/bmb-input-validator.component.d.ts +0 -45
- package/lib/components/bmb-input/bmb-input.component.d.ts +0 -68
- package/lib/components/bmb-input-phone-number/bmb-input-phone-number.component.d.ts +0 -52
- package/lib/components/bmb-input-tags/bmb-input-tags.component.d.ts +0 -55
- package/lib/components/bmb-interactive-icon/bmb-interactive-icon.component.d.ts +0 -23
- package/lib/components/bmb-invoice/bmb-invoice.component.d.ts +0 -31
- package/lib/components/bmb-item/bmb-item.component.d.ts +0 -16
- package/lib/components/bmb-legend/bmb-legend.component.d.ts +0 -9
- package/lib/components/bmb-list-group/bmb-list-group-item/bmb-list-group-item.component.d.ts +0 -33
- package/lib/components/bmb-list-group/bmb-list-group.component.d.ts +0 -27
- package/lib/components/bmb-list-group/bmb-list-group.service.d.ts +0 -18
- package/lib/components/bmb-list-group/types.d.ts +0 -1
- package/lib/components/bmb-list-items/bmb-list-items.component.d.ts +0 -33
- package/lib/components/bmb-loader/bmb-loader.component.d.ts +0 -31
- package/lib/components/bmb-login/bmb-login-content/bmb-login-content.component.d.ts +0 -27
- package/lib/components/bmb-login/bmb-login.component.d.ts +0 -33
- package/lib/components/bmb-login-onboarding/bmb-login-onboarding-logged/bmb-login-onboarding-logged.component.d.ts +0 -14
- package/lib/components/bmb-login-onboarding/bmb-login-onboarding-login/bmb-login-onboarding-login.component.d.ts +0 -8
- package/lib/components/bmb-login-onboarding/bmb-login-onboarding-logout/bmb-login-onboarding-logout.component.d.ts +0 -12
- package/lib/components/bmb-login-onboarding/bmb-login-onboarding-stepper/bmb-login-onboarding-stepper-steps/bmb-login-onboarding-stepper-step-four.component.d.ts +0 -19
- package/lib/components/bmb-login-onboarding/bmb-login-onboarding-stepper/bmb-login-onboarding-stepper-steps/bmb-login-onboarding-stepper-step-one.component.d.ts +0 -17
- package/lib/components/bmb-login-onboarding/bmb-login-onboarding-stepper/bmb-login-onboarding-stepper-steps/bmb-login-onboarding-stepper-step-three.component.d.ts +0 -11
- package/lib/components/bmb-login-onboarding/bmb-login-onboarding-stepper/bmb-login-onboarding-stepper-steps/bmb-login-onboarding-stepper-step-two.component.d.ts +0 -19
- package/lib/components/bmb-login-onboarding/bmb-login-onboarding-stepper/bmb-login-onboarding-stepper-steps/bmb-login-onboarding-stepper-step.component.d.ts +0 -19
- package/lib/components/bmb-login-onboarding/bmb-login-onboarding-stepper/bmb-login-onboarding-stepper.component.d.ts +0 -15
- package/lib/components/bmb-login-onboarding/bmb-login-onboarding.component.d.ts +0 -20
- package/lib/components/bmb-login-onboarding/bmb-login-onboarding.service.d.ts +0 -25
- package/lib/components/bmb-login-onboarding/types.d.ts +0 -15
- package/lib/components/bmb-logo/bmb-logo.component.d.ts +0 -19
- package/lib/components/bmb-media-card/bmb-media-card.component.d.ts +0 -34
- package/lib/components/bmb-mitec-logo-animation/bmb-mitec-logo-animation.component.d.ts +0 -6
- package/lib/components/bmb-mobile-templates/bmb-mobile-templates.component.d.ts +0 -47
- package/lib/components/bmb-modal/bmb-modal.component.d.ts +0 -31
- package/lib/components/bmb-modal/bmb-modal.interface.d.ts +0 -44
- package/lib/components/bmb-modal/bmb-native-modal.component.d.ts +0 -45
- package/lib/components/bmb-multi-dot-paginator/bmb-multi-dot-paginator-item/bmb-multi-dot-paginator-item.component.d.ts +0 -7
- package/lib/components/bmb-multi-dot-paginator/bmb-multi-dot-paginator.component.d.ts +0 -15
- package/lib/components/bmb-navigation-bar/bmb-navigation-bar.component.d.ts +0 -13
- package/lib/components/bmb-notice-card/bmb-notice-card.component.d.ts +0 -21
- package/lib/components/bmb-notification-card/bmb-notification-card.component.d.ts +0 -27
- package/lib/components/bmb-notification-counter/bmb-notification-counter.component.d.ts +0 -9
- package/lib/components/bmb-overlay/bmb-overlay.component.d.ts +0 -9
- package/lib/components/bmb-paginator/bmb-paginator.component.d.ts +0 -14
- package/lib/components/bmb-portal/bmb-portal.component.d.ts +0 -23
- package/lib/components/bmb-portal/bmb-projected-content/bmb-projected-content.component.d.ts +0 -34
- package/lib/components/bmb-profile/bmb-profile.component.d.ts +0 -34
- package/lib/components/bmb-progress-bar/bmb-progress-bar.component.d.ts +0 -19
- package/lib/components/bmb-progress-cirlce/bmb-progress-circle.component.d.ts +0 -51
- package/lib/components/bmb-progress-cirlce/bmb-progress-circle.interface.d.ts +0 -12
- package/lib/components/bmb-pull-wedge/bmb-pull-wedge.component.d.ts +0 -23
- package/lib/components/bmb-push-notification/bmb-push-notification-item/bmb-push-notification-item.component.d.ts +0 -18
- package/lib/components/bmb-push-notification/bmb-push-notification.component.d.ts +0 -11
- package/lib/components/bmb-push-notification/types.d.ts +0 -46
- package/lib/components/bmb-radial/bmb-radial.component.d.ts +0 -33
- package/lib/components/bmb-search-input/bmb-search-input.component.d.ts +0 -33
- package/lib/components/bmb-server-table/bmb-server-table.component.d.ts +0 -26
- package/lib/components/bmb-sidebar/bmb-sidebar.component.d.ts +0 -27
- package/lib/components/bmb-sidebar/bmb-sidebar.interface.d.ts +0 -10
- package/lib/components/bmb-simple-header/bmb-simple-header.component.d.ts +0 -10
- package/lib/components/bmb-skeleton/bmb-skeleton.component.d.ts +0 -7
- package/lib/components/bmb-sounds-card/bmb-sounds-card.component.d.ts +0 -24
- package/lib/components/bmb-stat-counter/bmb-stat-counter.component.d.ts +0 -11
- package/lib/components/bmb-step-progress-bar/bmb-step-progress-bar.component.d.ts +0 -30
- package/lib/components/bmb-student-activity-card/bmb-student-activity-card.component.d.ts +0 -23
- package/lib/components/bmb-student-activity-selector/bmb-student-activity-tab/bmb-student-activity-tab.component.d.ts +0 -10
- package/lib/components/bmb-switch/bmb-switch.component.d.ts +0 -25
- package/lib/components/bmb-tables/bmb-tables.component.d.ts +0 -104
- package/lib/components/bmb-tables/bmb-tables.interface.d.ts +0 -21
- package/lib/components/bmb-tabs/bmb-tabs.component.d.ts +0 -41
- package/lib/components/bmb-tags/bmb-tags.component.d.ts +0 -25
- package/lib/components/bmb-text-editor/bmb-text-editor.component.d.ts +0 -34
- package/lib/components/bmb-text-link/bmb-text-link.component.d.ts +0 -17
- package/lib/components/bmb-theme/bmb-theme.component.d.ts +0 -19
- package/lib/components/bmb-three-cols/bmb-three-cols.component.d.ts +0 -15
- package/lib/components/bmb-timestream/bmb-timestream-detail/bmb-timestream-detail.component.d.ts +0 -25
- package/lib/components/bmb-timestream/bmb-timestream-error/bmb-timestream-error.component.d.ts +0 -5
- package/lib/components/bmb-timestream/bmb-timestream.component.d.ts +0 -67
- package/lib/components/bmb-timestream/types.d.ts +0 -54
- package/lib/components/bmb-timestream-card/bmb-timestream-card.component.d.ts +0 -29
- package/lib/components/bmb-title-content/bmb-title-content.component.d.ts +0 -26
- package/lib/components/bmb-toast/bmb-toast.component.d.ts +0 -16
- package/lib/components/bmb-tooltip/bmb-tooltip.component.d.ts +0 -15
- package/lib/components/bmb-top-bar/bmb-top-bar-item/bmb-top-bar-item.component.d.ts +0 -7
- package/lib/components/bmb-top-bar/bmb-top-bar-user-section/bmb-top-bar-user-section.component.d.ts +0 -32
- package/lib/components/bmb-top-bar/bmb-top-bar.component.d.ts +0 -47
- package/lib/components/bmb-top-bar/types.d.ts +0 -6
- package/lib/components/bmb-totp/bmb-totp.component.d.ts +0 -31
- package/lib/components/bmb-user-image/bmb-user-image.component.d.ts +0 -19
- package/lib/components/bmb-user-profile/bmb-user-profile-content/bmb-user-profile-content.component.d.ts +0 -10
- package/lib/components/bmb-user-profile/bmb-user-profile.component.d.ts +0 -19
- package/lib/components/bmb-user-summary/bmb-user-summary-content/bmb-user-summary-content.component.d.ts +0 -26
- package/lib/components/bmb-user-summary/bmb-user-summary.component.d.ts +0 -14
- package/lib/components/bmb-value-counter/bmb-value-counter.component.d.ts +0 -8
- package/lib/components/bmb-web-templates/bmb-web-templates.component.d.ts +0 -42
- package/lib/components/bmb-wheel-menu/bmb-wheel-menu.component.d.ts +0 -40
- package/lib/components/utils/bmb-dropdown-content/bmb-dropdown-content.component.d.ts +0 -16
- package/lib/directives/bmb-accordion/bmb-accordion-control.directive.d.ts +0 -22
- package/lib/directives/bmb-button/button.directive.d.ts +0 -29
- package/lib/directives/bmb-button-group/bmb-button-group.directive.d.ts +0 -10
- package/lib/directives/bmb-layout/bmb-layout-item.directive.d.ts +0 -20
- package/lib/directives/bmb-layout/bmb-layout.directive.d.ts +0 -15
- package/lib/directives/bmb-layout/bmb-vertical-layout/bmb-vertical-layout-item.directive.d.ts +0 -9
- package/lib/directives/bmb-layout/bmb-vertical-layout/bmb-vertical-layout.directive.d.ts +0 -14
- package/lib/directives/bmb-layout-grid/bmb-layout-grid.directive.d.ts +0 -29
- package/lib/directives/utils/clickoutside.directive.d.ts +0 -15
- package/lib/ds-ng.component.d.ts +0 -5
- package/lib/ds-ng.service.d.ts +0 -6
- package/lib/services/calendar.service.d.ts +0 -15
- package/lib/services/index.d.ts +0 -2
- package/lib/services/native-modal.service.d.ts +0 -18
- package/lib/services/notification.service.d.ts +0 -20
- package/lib/services/projection.service.d.ts +0 -31
- package/lib/services/tabs.service.d.ts +0 -13
- package/lib/services/theme.service.d.ts +0 -11
- package/lib/services/toast.service.d.ts +0 -9
- package/lib/services/user/profile.service.d.ts +0 -9
- package/lib/types/colors.d.ts +0 -2
- package/lib/types/index.d.ts +0 -128
- package/lib/utils/countryCodes.d.ts +0 -7
- package/lib/utils/currencyFormat.d.ts +0 -1
- package/lib/utils/dropdown.d.ts +0 -6
- package/lib/utils/formControl.d.ts +0 -7
- package/lib/utils/timestreamFilters.d.ts +0 -2
- package/lib/utils/utils.d.ts +0 -13
- package/public-api.d.ts +0 -143
package/esm2022/lib/components/bmb-input/bmb-input-validator/bmb-input-validator.component.mjs
DELETED
|
@@ -1,178 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, input, model, ViewEncapsulation, } from '@angular/core';
|
|
2
|
-
import { ReactiveFormsModule, Validators, } from '@angular/forms';
|
|
3
|
-
import { CommonModule } from '@angular/common';
|
|
4
|
-
import { BmbTooltipComponent } from '../../bmb-tooltip/bmb-tooltip.component';
|
|
5
|
-
import { getPositionClass } from '../../../utils/utils';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
import * as i1 from "@angular/common";
|
|
8
|
-
export class BmbInputValidatorComponent {
|
|
9
|
-
constructor(cdr) {
|
|
10
|
-
this.cdr = cdr;
|
|
11
|
-
this.inputId = input('');
|
|
12
|
-
this.type = input('text');
|
|
13
|
-
this.appearance = input('normal');
|
|
14
|
-
this.label = input('');
|
|
15
|
-
this.labelPosition = input();
|
|
16
|
-
this.name = input('');
|
|
17
|
-
this.value = input();
|
|
18
|
-
this.checked = input(false);
|
|
19
|
-
this.isRequired = input(false);
|
|
20
|
-
this.isDisabled = input(false);
|
|
21
|
-
this.max = input();
|
|
22
|
-
this.min = input();
|
|
23
|
-
this.maxLength = input();
|
|
24
|
-
this.minLength = input();
|
|
25
|
-
this.pattern = input();
|
|
26
|
-
this.jsonFormat = input(false);
|
|
27
|
-
this.tooltip = input('');
|
|
28
|
-
this.rows = input(3);
|
|
29
|
-
this.tooltipPosition = input({
|
|
30
|
-
align: 'above',
|
|
31
|
-
justify: 'before',
|
|
32
|
-
});
|
|
33
|
-
this.showMaxTextLength = input(true);
|
|
34
|
-
this.helperMessage = input('');
|
|
35
|
-
this.errorMessage = input('');
|
|
36
|
-
this.customValidation = input();
|
|
37
|
-
this.showError = model(false);
|
|
38
|
-
this.control = model();
|
|
39
|
-
}
|
|
40
|
-
ngOnInit() {
|
|
41
|
-
if (!!this.min() && !!this.max() && this.max() < this.min()) {
|
|
42
|
-
throw new Error(`
|
|
43
|
-
[${this.name()}]: Please enter a value greater or equal than min.
|
|
44
|
-
The values entered are:
|
|
45
|
-
-min: ${this.min()}
|
|
46
|
-
-max: ${this.max()}
|
|
47
|
-
`);
|
|
48
|
-
}
|
|
49
|
-
this.addControlConfig(this.type(), this.value(), this.checked(), this.isRequired(), this.min(), this.max(), this.minLength(), this.pattern(), this.jsonFormat(), this.customValidation());
|
|
50
|
-
}
|
|
51
|
-
addControlConfig(type, value, checked, isRequired, min, max, minLength, pattern, isJsonFormat, customValidation) {
|
|
52
|
-
if (!this.control()?.value && (!!value || checked)) {
|
|
53
|
-
this.addValue(this.control(), type, value, checked);
|
|
54
|
-
}
|
|
55
|
-
if (isRequired && !this.control()?.hasValidator(Validators.required)) {
|
|
56
|
-
this.control()?.addValidators(Validators.required);
|
|
57
|
-
}
|
|
58
|
-
if (min) {
|
|
59
|
-
this.control()?.addValidators(Validators.min(min));
|
|
60
|
-
}
|
|
61
|
-
if (max) {
|
|
62
|
-
this.control()?.addValidators(Validators.max(max));
|
|
63
|
-
}
|
|
64
|
-
if (minLength) {
|
|
65
|
-
this.control()?.addValidators(Validators.minLength(minLength));
|
|
66
|
-
}
|
|
67
|
-
if (pattern) {
|
|
68
|
-
this.control()?.addValidators(Validators.pattern(pattern));
|
|
69
|
-
}
|
|
70
|
-
if (type === 'email' && !this.control()?.hasValidator(Validators.email)) {
|
|
71
|
-
this.control()?.addValidators(Validators.email);
|
|
72
|
-
}
|
|
73
|
-
if (isJsonFormat) {
|
|
74
|
-
this.control()?.addValidators(this.validatorError('jsonValidation'));
|
|
75
|
-
}
|
|
76
|
-
if (!!customValidation) {
|
|
77
|
-
if (Array.isArray(customValidation)) {
|
|
78
|
-
customValidation.forEach((currentValidation) => this.control()?.addValidators(this.validatorError(currentValidation)));
|
|
79
|
-
}
|
|
80
|
-
else {
|
|
81
|
-
this.control()?.addValidators(this.validatorError(customValidation));
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
if (this.isDisabled())
|
|
85
|
-
this.control()?.disable();
|
|
86
|
-
else
|
|
87
|
-
this.control()?.enable();
|
|
88
|
-
this.control()?.valueChanges.subscribe(() => {
|
|
89
|
-
this.cdr.markForCheck();
|
|
90
|
-
});
|
|
91
|
-
}
|
|
92
|
-
validatorError(errorType) {
|
|
93
|
-
if (typeof errorType === 'string') {
|
|
94
|
-
return (control) => {
|
|
95
|
-
if (!control.value) {
|
|
96
|
-
return null;
|
|
97
|
-
}
|
|
98
|
-
if (errorType === 'jsonValidation') {
|
|
99
|
-
try {
|
|
100
|
-
JSON.parse(control.value);
|
|
101
|
-
return null;
|
|
102
|
-
}
|
|
103
|
-
catch (e) {
|
|
104
|
-
return { invalidJson: true };
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
return null;
|
|
108
|
-
};
|
|
109
|
-
}
|
|
110
|
-
else {
|
|
111
|
-
return errorType;
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
addValue(control, type, value, checked) {
|
|
115
|
-
if (type === 'checkbox' || type === 'radio') {
|
|
116
|
-
if (checked) {
|
|
117
|
-
if (!!value)
|
|
118
|
-
control.setValue(value);
|
|
119
|
-
else
|
|
120
|
-
control.setValue(checked);
|
|
121
|
-
}
|
|
122
|
-
return;
|
|
123
|
-
}
|
|
124
|
-
if (type === 'switch') {
|
|
125
|
-
if (checked)
|
|
126
|
-
control.setValue(checked);
|
|
127
|
-
return;
|
|
128
|
-
}
|
|
129
|
-
if (value) {
|
|
130
|
-
control.setValue(value);
|
|
131
|
-
return;
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
getClasses(className) {
|
|
135
|
-
if (this.type() === 'radio' || this.type() === 'checkbox') {
|
|
136
|
-
return getPositionClass(`${className}-direction`, this.labelPosition());
|
|
137
|
-
}
|
|
138
|
-
return '';
|
|
139
|
-
}
|
|
140
|
-
getErrorType(errorMessages, type, alternativeMessage) {
|
|
141
|
-
if (!!errorMessages && !!errorMessages[type])
|
|
142
|
-
return errorMessages[type];
|
|
143
|
-
return alternativeMessage;
|
|
144
|
-
}
|
|
145
|
-
isFieldRequired() {
|
|
146
|
-
return (this.control()?.hasValidator(Validators.required) || this.isRequired());
|
|
147
|
-
}
|
|
148
|
-
getErrorMessage() {
|
|
149
|
-
if (typeof this.errorMessage() === 'string' && !!this.errorMessage()) {
|
|
150
|
-
return this.errorMessage().toString();
|
|
151
|
-
}
|
|
152
|
-
const errorMessages = this.errorMessage();
|
|
153
|
-
if (this.control()?.hasError('pattern'))
|
|
154
|
-
return this.getErrorType(errorMessages, 'pattern', `Por favor ingresa el formato permitido ${this.pattern()}`);
|
|
155
|
-
if (this.control()?.hasError('min'))
|
|
156
|
-
return this.getErrorType(errorMessages, 'min', `Por favor ingresa un valor mayor o igual que ${this.min()}`);
|
|
157
|
-
if (this.control()?.hasError('max'))
|
|
158
|
-
return this.getErrorType(errorMessages, 'max', `Por favor ingresa un valor menor o igual que ${this.max()}`);
|
|
159
|
-
if (this.control()?.hasError('minlength'))
|
|
160
|
-
return this.getErrorType(errorMessages, 'minLength', `Por favor ingresa al menos ${this.minLength()} carácteres`);
|
|
161
|
-
if (this.control()?.hasError('maxlength'))
|
|
162
|
-
return this.getErrorType(errorMessages, 'maxLength', `Por favor ingresa máximo ${this.maxLength()} carácteres`);
|
|
163
|
-
if (this.control()?.hasError('required'))
|
|
164
|
-
return this.getErrorType(errorMessages, 'required', `Por favor ingresa el dato de ${this.label()}`);
|
|
165
|
-
if (this.control()?.hasError('invalidJson'))
|
|
166
|
-
return this.getErrorType(errorMessages, 'jsonFormat', 'Por favor ingresa el contenido en formato JSON válido');
|
|
167
|
-
if (this.control()?.hasError('customValidation'))
|
|
168
|
-
return errorMessages?.customValidation || '';
|
|
169
|
-
return '';
|
|
170
|
-
}
|
|
171
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: BmbInputValidatorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
172
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: BmbInputValidatorComponent, isStandalone: true, selector: "bmb-input-validator", inputs: { inputId: { classPropertyName: "inputId", publicName: "inputId", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, appearance: { classPropertyName: "appearance", publicName: "appearance", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, labelPosition: { classPropertyName: "labelPosition", publicName: "labelPosition", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, checked: { classPropertyName: "checked", publicName: "checked", isSignal: true, isRequired: false, transformFunction: null }, isRequired: { classPropertyName: "isRequired", publicName: "isRequired", isSignal: true, isRequired: false, transformFunction: null }, isDisabled: { classPropertyName: "isDisabled", publicName: "isDisabled", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, min: { classPropertyName: "min", publicName: "min", isSignal: true, isRequired: false, transformFunction: null }, maxLength: { classPropertyName: "maxLength", publicName: "maxLength", isSignal: true, isRequired: false, transformFunction: null }, minLength: { classPropertyName: "minLength", publicName: "minLength", isSignal: true, isRequired: false, transformFunction: null }, pattern: { classPropertyName: "pattern", publicName: "pattern", isSignal: true, isRequired: false, transformFunction: null }, jsonFormat: { classPropertyName: "jsonFormat", publicName: "jsonFormat", isSignal: true, isRequired: false, transformFunction: null }, tooltip: { classPropertyName: "tooltip", publicName: "tooltip", isSignal: true, isRequired: false, transformFunction: null }, rows: { classPropertyName: "rows", publicName: "rows", isSignal: true, isRequired: false, transformFunction: null }, tooltipPosition: { classPropertyName: "tooltipPosition", publicName: "tooltipPosition", isSignal: true, isRequired: false, transformFunction: null }, showMaxTextLength: { classPropertyName: "showMaxTextLength", publicName: "showMaxTextLength", isSignal: true, isRequired: false, transformFunction: null }, helperMessage: { classPropertyName: "helperMessage", publicName: "helperMessage", isSignal: true, isRequired: false, transformFunction: null }, errorMessage: { classPropertyName: "errorMessage", publicName: "errorMessage", isSignal: true, isRequired: false, transformFunction: null }, customValidation: { classPropertyName: "customValidation", publicName: "customValidation", isSignal: true, isRequired: false, transformFunction: null }, showError: { classPropertyName: "showError", publicName: "showError", isSignal: true, isRequired: false, transformFunction: null }, control: { classPropertyName: "control", publicName: "control", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { showError: "showErrorChange", control: "controlChange" }, ngImport: i0, template: "<section\n #inputValidation\n class=\"bmb_input-validator\"\n [ngClass]=\"{ disabled: control()?.disabled }\"\n>\n <span\n class=\"bmb_input-validator-wrapper\"\n [ngClass]=\"getClasses('bmb_input-validator')\"\n >\n @if (\n !!label() ||\n isRequired() ||\n !!tooltip() ||\n (type() === 'text-area' && showMaxTextLength())\n ) {\n <label class=\"bmb_input-validator-label\" [htmlFor]=\"inputId()\">\n {{ label() }}\n @if (isFieldRequired()) {\n <small class=\"bmb_input-validator-label-required\">*</small>\n }\n @if (!!tooltip()) {\n <bmb-tooltip\n class=\"bmb_input-validator-label-tooltip\"\n [text]=\"tooltip()\"\n [align]=\"tooltipPosition().align\"\n [justify]=\"tooltipPosition().justify\"\n [icon]=\"'help'\"\n [size]=\"20\"\n />\n }\n @if (type() === 'text-area' && showMaxTextLength()) {\n <span class=\"bmb_input-validator-label-max\">\n {{ control()?.value?.toString().length }}/{{ maxLength() || '-' }}\n </span>\n }\n </label>\n }\n <ng-content />\n </span>\n @if (!!helperMessage() || showError()) {\n <div class=\"bmb_input-validator-support\">\n @if (showError()) {\n <p class=\"bmb_input-validator-support-error\">\n {{ getErrorMessage() }}\n </p>\n } @else if (!!helperMessage()) {\n <p [class]=\"'bmb_input-validator-support-helper-' + appearance()\">\n {{ helperMessage() }}\n </p>\n }\n </div>\n }\n</section>\n", styles: ["@font-face{font-family:Poppins-Light;font-style:normal;font-weight:300;src:url(/assets/fonts/Poppins/Poppins-ExtraLight.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Regular;font-style:normal;font-weight:400;src:url(/assets/fonts/Poppins/Poppins-Regular.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Bold;font-style:normal;font-weight:700;src:url(/assets/fonts/Poppins/Poppins-Bold.ttf) format(\"truetype\")}:root,:host{--font-display: \"Poppins-Regular\", sans-serif}.font-thin-1{font-family:Poppins-Thin,sans-serif;font-size:.625rem}.font-light-1{font-family:Poppins-Light,sans-serif;font-size:.625rem}.font-regular-1{font-family:Poppins-Regular,sans-serif;font-size:.625rem}.font-medium-1{font-family:Poppins-Medium,sans-serif;font-size:.625rem}.font-semibold-1{font-family:Poppins-Semibold,sans-serif;font-size:.625rem}.font-bold-1{font-family:Poppins-Bold,sans-serif;font-size:.625rem}.font-thin-2{font-family:Poppins-Thin,sans-serif;font-size:.6875rem}.font-light-2{font-family:Poppins-Light,sans-serif;font-size:.6875rem}.font-regular-2{font-family:Poppins-Regular,sans-serif;font-size:.6875rem}.font-medium-2{font-family:Poppins-Medium,sans-serif;font-size:.6875rem}.font-semibold-2{font-family:Poppins-Semibold,sans-serif;font-size:.6875rem}.font-bold-2{font-family:Poppins-Bold,sans-serif;font-size:.6875rem}.font-thin-3{font-family:Poppins-Thin,sans-serif;font-size:.75rem}.font-light-3{font-family:Poppins-Light,sans-serif;font-size:.75rem}.font-regular-3{font-family:Poppins-Regular,sans-serif;font-size:.75rem}.font-medium-3{font-family:Poppins-Medium,sans-serif;font-size:.75rem}.font-semibold-3{font-family:Poppins-Semibold,sans-serif;font-size:.75rem}.font-bold-3{font-family:Poppins-Bold,sans-serif;font-size:.75rem}.font-thin-4{font-family:Poppins-Thin,sans-serif;font-size:.875rem}.font-light-4{font-family:Poppins-Light,sans-serif;font-size:.875rem}.font-regular-4{font-family:Poppins-Regular,sans-serif;font-size:.875rem}.font-medium-4{font-family:Poppins-Medium,sans-serif;font-size:.875rem}.font-semibold-4{font-family:Poppins-Semibold,sans-serif;font-size:.875rem}.font-bold-4{font-family:Poppins-Bold,sans-serif;font-size:.875rem}.font-thin-4_5{font-family:Poppins-Thin,sans-serif;font-size:.9375rem}.font-light-4_5{font-family:Poppins-Light,sans-serif;font-size:.9375rem}.font-regular-4_5{font-family:Poppins-Regular,sans-serif;font-size:.9375rem}.font-medium-4_5{font-family:Poppins-Medium,sans-serif;font-size:.9375rem}.font-semibold-4_5{font-family:Poppins-Semibold,sans-serif;font-size:.9375rem}.font-bold-4_5{font-family:Poppins-Bold,sans-serif;font-size:.9375rem}.font-thin-5{font-family:Poppins-Thin,sans-serif;font-size:1rem}.font-light-5{font-family:Poppins-Light,sans-serif;font-size:1rem}.font-regular-5{font-family:Poppins-Regular,sans-serif;font-size:1rem}.font-medium-5{font-family:Poppins-Medium,sans-serif;font-size:1rem}.font-semibold-5{font-family:Poppins-Semibold,sans-serif;font-size:1rem}.font-bold-5{font-family:Poppins-Bold,sans-serif;font-size:1rem}.font-thin-6{font-family:Poppins-Thin,sans-serif;font-size:1.125rem}.font-light-6{font-family:Poppins-Light,sans-serif;font-size:1.125rem}.font-regular-6{font-family:Poppins-Regular,sans-serif;font-size:1.125rem}.font-medium-6{font-family:Poppins-Medium,sans-serif;font-size:1.125rem}.font-semibold-6{font-family:Poppins-Semibold,sans-serif;font-size:1.125rem}.font-bold-6{font-family:Poppins-Bold,sans-serif;font-size:1.125rem}.font-thin-7{font-family:Poppins-Thin,sans-serif;font-size:1.25rem}.font-light-7{font-family:Poppins-Light,sans-serif;font-size:1.25rem}.font-regular-7{font-family:Poppins-Regular,sans-serif;font-size:1.25rem}.font-medium-7{font-family:Poppins-Medium,sans-serif;font-size:1.25rem}.font-semibold-7{font-family:Poppins-Semibold,sans-serif;font-size:1.25rem}.font-bold-7{font-family:Poppins-Bold,sans-serif;font-size:1.25rem}.font-thin-8{font-family:Poppins-Thin,sans-serif;font-size:1.375rem}.font-light-8{font-family:Poppins-Light,sans-serif;font-size:1.375rem}.font-regular-8{font-family:Poppins-Regular,sans-serif;font-size:1.375rem}.font-medium-8{font-family:Poppins-Medium,sans-serif;font-size:1.375rem}.font-semibold-8{font-family:Poppins-Semibold,sans-serif;font-size:1.375rem}.font-bold-8{font-family:Poppins-Bold,sans-serif;font-size:1.375rem}.font-thin-9{font-family:Poppins-Thin,sans-serif;font-size:1.5rem}.font-light-9{font-family:Poppins-Light,sans-serif;font-size:1.5rem}.font-regular-9{font-family:Poppins-Regular,sans-serif;font-size:1.5rem}.font-medium-9{font-family:Poppins-Medium,sans-serif;font-size:1.5rem}.font-semibold-9{font-family:Poppins-Semibold,sans-serif;font-size:1.5rem}.font-bold-9{font-family:Poppins-Bold,sans-serif;font-size:1.5rem}.font-thin-10{font-family:Poppins-Thin,sans-serif;font-size:1.625rem}.font-light-10{font-family:Poppins-Light,sans-serif;font-size:1.625rem}.font-regular-10{font-family:Poppins-Regular,sans-serif;font-size:1.625rem}.font-medium-10{font-family:Poppins-Medium,sans-serif;font-size:1.625rem}.font-semibold-10{font-family:Poppins-Semibold,sans-serif;font-size:1.625rem}.font-bold-10{font-family:Poppins-Bold,sans-serif;font-size:1.625rem}.font-thin-11{font-family:Poppins-Thin,sans-serif;font-size:2.25rem}.font-light-11{font-family:Poppins-Light,sans-serif;font-size:2.25rem}.font-regular-11{font-family:Poppins-Regular,sans-serif;font-size:2.25rem}.font-medium-11{font-family:Poppins-Medium,sans-serif;font-size:2.25rem}.font-semibold-11{font-family:Poppins-Semibold,sans-serif;font-size:2.25rem}.font-bold-11{font-family:Poppins-Bold,sans-serif;font-size:2.25rem}.font-thin-12{font-family:Poppins-Thin,sans-serif;font-size:3rem}.font-light-12{font-family:Poppins-Light,sans-serif;font-size:3rem}.font-regular-12{font-family:Poppins-Regular,sans-serif;font-size:3rem}.font-medium-12{font-family:Poppins-Medium,sans-serif;font-size:3rem}.font-semibold-12{font-family:Poppins-Semibold,sans-serif;font-size:3rem}.font-bold-12{font-family:Poppins-Bold,sans-serif;font-size:3rem}.bmb_input-validator{-webkit-user-select:none;user-select:none}.bmb_input-validator-wrapper{display:block;position:relative}.bmb_input-validator-direction-before{display:inline-flex;flex-direction:row;cursor:pointer}.bmb_input-validator-direction-after{display:inline-flex;flex-direction:row-reverse;cursor:pointer}.bmb_input-validator-label{display:flex;position:relative;padding:var(--bmb-spacing-s);gap:var(--bmb-spacing-s);font-family:Poppins-Regular,sans-serif;font-size:.875rem;color:var(--general_contrasts-100)}.bmb_input-validator-label-required{color:var(--input-error)}.bmb_input-validator-label-tooltip{color:var(--general_contrasts-50)}.bmb_input-validator-label-max{margin-left:auto;padding-right:var(--bmb-spacing-s)}.bmb_input-validator-support{display:flex;padding:var(--bmb-spacing-s)}.bmb_input-validator-support-helper-normal{font-family:Poppins-Regular,sans-serif;font-size:.875rem;margin:0;color:var(--general_contrasts-input-outline)}.bmb_input-validator-support-helper-simple{font-family:Poppins-Regular,sans-serif;font-size:.875rem;margin:0;color:var(--general_contrasts-50)}.bmb_input-validator-support-error{font-family:Poppins-Regular,sans-serif;font-size:.875rem;margin:0;color:var(--input-error)}.bmb_input-validator.disabled{pointer-events:none;opacity:.5}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "component", type: BmbTooltipComponent, selector: "bmb-tooltip", inputs: ["text", "title", "icon", "size", "align", "justify", "isFill"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
173
|
-
}
|
|
174
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: BmbInputValidatorComponent, decorators: [{
|
|
175
|
-
type: Component,
|
|
176
|
-
args: [{ selector: 'bmb-input-validator', standalone: true, imports: [CommonModule, ReactiveFormsModule, BmbTooltipComponent], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<section\n #inputValidation\n class=\"bmb_input-validator\"\n [ngClass]=\"{ disabled: control()?.disabled }\"\n>\n <span\n class=\"bmb_input-validator-wrapper\"\n [ngClass]=\"getClasses('bmb_input-validator')\"\n >\n @if (\n !!label() ||\n isRequired() ||\n !!tooltip() ||\n (type() === 'text-area' && showMaxTextLength())\n ) {\n <label class=\"bmb_input-validator-label\" [htmlFor]=\"inputId()\">\n {{ label() }}\n @if (isFieldRequired()) {\n <small class=\"bmb_input-validator-label-required\">*</small>\n }\n @if (!!tooltip()) {\n <bmb-tooltip\n class=\"bmb_input-validator-label-tooltip\"\n [text]=\"tooltip()\"\n [align]=\"tooltipPosition().align\"\n [justify]=\"tooltipPosition().justify\"\n [icon]=\"'help'\"\n [size]=\"20\"\n />\n }\n @if (type() === 'text-area' && showMaxTextLength()) {\n <span class=\"bmb_input-validator-label-max\">\n {{ control()?.value?.toString().length }}/{{ maxLength() || '-' }}\n </span>\n }\n </label>\n }\n <ng-content />\n </span>\n @if (!!helperMessage() || showError()) {\n <div class=\"bmb_input-validator-support\">\n @if (showError()) {\n <p class=\"bmb_input-validator-support-error\">\n {{ getErrorMessage() }}\n </p>\n } @else if (!!helperMessage()) {\n <p [class]=\"'bmb_input-validator-support-helper-' + appearance()\">\n {{ helperMessage() }}\n </p>\n }\n </div>\n }\n</section>\n", styles: ["@font-face{font-family:Poppins-Light;font-style:normal;font-weight:300;src:url(/assets/fonts/Poppins/Poppins-ExtraLight.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Regular;font-style:normal;font-weight:400;src:url(/assets/fonts/Poppins/Poppins-Regular.ttf) format(\"truetype\")}@font-face{font-family:Poppins-Bold;font-style:normal;font-weight:700;src:url(/assets/fonts/Poppins/Poppins-Bold.ttf) format(\"truetype\")}:root,:host{--font-display: \"Poppins-Regular\", sans-serif}.font-thin-1{font-family:Poppins-Thin,sans-serif;font-size:.625rem}.font-light-1{font-family:Poppins-Light,sans-serif;font-size:.625rem}.font-regular-1{font-family:Poppins-Regular,sans-serif;font-size:.625rem}.font-medium-1{font-family:Poppins-Medium,sans-serif;font-size:.625rem}.font-semibold-1{font-family:Poppins-Semibold,sans-serif;font-size:.625rem}.font-bold-1{font-family:Poppins-Bold,sans-serif;font-size:.625rem}.font-thin-2{font-family:Poppins-Thin,sans-serif;font-size:.6875rem}.font-light-2{font-family:Poppins-Light,sans-serif;font-size:.6875rem}.font-regular-2{font-family:Poppins-Regular,sans-serif;font-size:.6875rem}.font-medium-2{font-family:Poppins-Medium,sans-serif;font-size:.6875rem}.font-semibold-2{font-family:Poppins-Semibold,sans-serif;font-size:.6875rem}.font-bold-2{font-family:Poppins-Bold,sans-serif;font-size:.6875rem}.font-thin-3{font-family:Poppins-Thin,sans-serif;font-size:.75rem}.font-light-3{font-family:Poppins-Light,sans-serif;font-size:.75rem}.font-regular-3{font-family:Poppins-Regular,sans-serif;font-size:.75rem}.font-medium-3{font-family:Poppins-Medium,sans-serif;font-size:.75rem}.font-semibold-3{font-family:Poppins-Semibold,sans-serif;font-size:.75rem}.font-bold-3{font-family:Poppins-Bold,sans-serif;font-size:.75rem}.font-thin-4{font-family:Poppins-Thin,sans-serif;font-size:.875rem}.font-light-4{font-family:Poppins-Light,sans-serif;font-size:.875rem}.font-regular-4{font-family:Poppins-Regular,sans-serif;font-size:.875rem}.font-medium-4{font-family:Poppins-Medium,sans-serif;font-size:.875rem}.font-semibold-4{font-family:Poppins-Semibold,sans-serif;font-size:.875rem}.font-bold-4{font-family:Poppins-Bold,sans-serif;font-size:.875rem}.font-thin-4_5{font-family:Poppins-Thin,sans-serif;font-size:.9375rem}.font-light-4_5{font-family:Poppins-Light,sans-serif;font-size:.9375rem}.font-regular-4_5{font-family:Poppins-Regular,sans-serif;font-size:.9375rem}.font-medium-4_5{font-family:Poppins-Medium,sans-serif;font-size:.9375rem}.font-semibold-4_5{font-family:Poppins-Semibold,sans-serif;font-size:.9375rem}.font-bold-4_5{font-family:Poppins-Bold,sans-serif;font-size:.9375rem}.font-thin-5{font-family:Poppins-Thin,sans-serif;font-size:1rem}.font-light-5{font-family:Poppins-Light,sans-serif;font-size:1rem}.font-regular-5{font-family:Poppins-Regular,sans-serif;font-size:1rem}.font-medium-5{font-family:Poppins-Medium,sans-serif;font-size:1rem}.font-semibold-5{font-family:Poppins-Semibold,sans-serif;font-size:1rem}.font-bold-5{font-family:Poppins-Bold,sans-serif;font-size:1rem}.font-thin-6{font-family:Poppins-Thin,sans-serif;font-size:1.125rem}.font-light-6{font-family:Poppins-Light,sans-serif;font-size:1.125rem}.font-regular-6{font-family:Poppins-Regular,sans-serif;font-size:1.125rem}.font-medium-6{font-family:Poppins-Medium,sans-serif;font-size:1.125rem}.font-semibold-6{font-family:Poppins-Semibold,sans-serif;font-size:1.125rem}.font-bold-6{font-family:Poppins-Bold,sans-serif;font-size:1.125rem}.font-thin-7{font-family:Poppins-Thin,sans-serif;font-size:1.25rem}.font-light-7{font-family:Poppins-Light,sans-serif;font-size:1.25rem}.font-regular-7{font-family:Poppins-Regular,sans-serif;font-size:1.25rem}.font-medium-7{font-family:Poppins-Medium,sans-serif;font-size:1.25rem}.font-semibold-7{font-family:Poppins-Semibold,sans-serif;font-size:1.25rem}.font-bold-7{font-family:Poppins-Bold,sans-serif;font-size:1.25rem}.font-thin-8{font-family:Poppins-Thin,sans-serif;font-size:1.375rem}.font-light-8{font-family:Poppins-Light,sans-serif;font-size:1.375rem}.font-regular-8{font-family:Poppins-Regular,sans-serif;font-size:1.375rem}.font-medium-8{font-family:Poppins-Medium,sans-serif;font-size:1.375rem}.font-semibold-8{font-family:Poppins-Semibold,sans-serif;font-size:1.375rem}.font-bold-8{font-family:Poppins-Bold,sans-serif;font-size:1.375rem}.font-thin-9{font-family:Poppins-Thin,sans-serif;font-size:1.5rem}.font-light-9{font-family:Poppins-Light,sans-serif;font-size:1.5rem}.font-regular-9{font-family:Poppins-Regular,sans-serif;font-size:1.5rem}.font-medium-9{font-family:Poppins-Medium,sans-serif;font-size:1.5rem}.font-semibold-9{font-family:Poppins-Semibold,sans-serif;font-size:1.5rem}.font-bold-9{font-family:Poppins-Bold,sans-serif;font-size:1.5rem}.font-thin-10{font-family:Poppins-Thin,sans-serif;font-size:1.625rem}.font-light-10{font-family:Poppins-Light,sans-serif;font-size:1.625rem}.font-regular-10{font-family:Poppins-Regular,sans-serif;font-size:1.625rem}.font-medium-10{font-family:Poppins-Medium,sans-serif;font-size:1.625rem}.font-semibold-10{font-family:Poppins-Semibold,sans-serif;font-size:1.625rem}.font-bold-10{font-family:Poppins-Bold,sans-serif;font-size:1.625rem}.font-thin-11{font-family:Poppins-Thin,sans-serif;font-size:2.25rem}.font-light-11{font-family:Poppins-Light,sans-serif;font-size:2.25rem}.font-regular-11{font-family:Poppins-Regular,sans-serif;font-size:2.25rem}.font-medium-11{font-family:Poppins-Medium,sans-serif;font-size:2.25rem}.font-semibold-11{font-family:Poppins-Semibold,sans-serif;font-size:2.25rem}.font-bold-11{font-family:Poppins-Bold,sans-serif;font-size:2.25rem}.font-thin-12{font-family:Poppins-Thin,sans-serif;font-size:3rem}.font-light-12{font-family:Poppins-Light,sans-serif;font-size:3rem}.font-regular-12{font-family:Poppins-Regular,sans-serif;font-size:3rem}.font-medium-12{font-family:Poppins-Medium,sans-serif;font-size:3rem}.font-semibold-12{font-family:Poppins-Semibold,sans-serif;font-size:3rem}.font-bold-12{font-family:Poppins-Bold,sans-serif;font-size:3rem}.bmb_input-validator{-webkit-user-select:none;user-select:none}.bmb_input-validator-wrapper{display:block;position:relative}.bmb_input-validator-direction-before{display:inline-flex;flex-direction:row;cursor:pointer}.bmb_input-validator-direction-after{display:inline-flex;flex-direction:row-reverse;cursor:pointer}.bmb_input-validator-label{display:flex;position:relative;padding:var(--bmb-spacing-s);gap:var(--bmb-spacing-s);font-family:Poppins-Regular,sans-serif;font-size:.875rem;color:var(--general_contrasts-100)}.bmb_input-validator-label-required{color:var(--input-error)}.bmb_input-validator-label-tooltip{color:var(--general_contrasts-50)}.bmb_input-validator-label-max{margin-left:auto;padding-right:var(--bmb-spacing-s)}.bmb_input-validator-support{display:flex;padding:var(--bmb-spacing-s)}.bmb_input-validator-support-helper-normal{font-family:Poppins-Regular,sans-serif;font-size:.875rem;margin:0;color:var(--general_contrasts-input-outline)}.bmb_input-validator-support-helper-simple{font-family:Poppins-Regular,sans-serif;font-size:.875rem;margin:0;color:var(--general_contrasts-50)}.bmb_input-validator-support-error{font-family:Poppins-Regular,sans-serif;font-size:.875rem;margin:0;color:var(--input-error)}.bmb_input-validator.disabled{pointer-events:none;opacity:.5}\n"] }]
|
|
177
|
-
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }] });
|
|
178
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYm1iLWlucHV0LXZhbGlkYXRvci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9kcy1uZy9zcmMvbGliL2NvbXBvbmVudHMvYm1iLWlucHV0L2JtYi1pbnB1dC12YWxpZGF0b3IvYm1iLWlucHV0LXZhbGlkYXRvci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9kcy1uZy9zcmMvbGliL2NvbXBvbmVudHMvYm1iLWlucHV0L2JtYi1pbnB1dC12YWxpZGF0b3IvYm1iLWlucHV0LXZhbGlkYXRvci5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsdUJBQXVC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kYXRpb24pKSxcbiAgICAgICAgKTtcbiAgICAgIH0gZWxzZSB7XG4gICAgICAgIHRoaXMuY29udHJvbCgpPy5hZGRWYWxpZGF0b3JzKHRoaXMudmFsaWRhdG9yRXJyb3IoY3VzdG9tVmFsaWRhdGlvbikpO1xuICAgICAgfVxuICAgIH1cblxuICAgIGlmICh0aGlzLmlzRGlzYWJsZWQoKSkgdGhpcy5jb250cm9sKCk/LmRpc2FibGUoKTtcbiAgICBlbHNlIHRoaXMuY29udHJvbCgpPy5lbmFibGUoKTtcblxuICAgIHRoaXMuY29udHJvbCgpPy52YWx1ZUNoYW5nZXMuc3Vic2NyaWJlKCgpID0+IHtcbiAgICAgIHRoaXMuY2RyLm1hcmtGb3JDaGVjaygpO1xuICAgIH0pO1xuICB9XG5cbiAgdmFsaWRhdG9yRXJyb3IoZXJyb3JUeXBlOiBzdHJpbmcgfCBWYWxpZGF0b3JGbik6IFZhbGlkYXRvckZuIHtcbiAgICBpZiAodHlwZW9mIGVycm9yVHlwZSA9PT0gJ3N0cmluZycpIHtcbiAgICAgIHJldHVybiAoY29udHJvbDogQWJzdHJhY3RDb250cm9sKTogeyBba2V5OiBzdHJpbmddOiBhbnkgfSB8IG51bGwgPT4ge1xuICAgICAgICBpZiAoIWNvbnRyb2wudmFsdWUpIHtcbiAgICAgICAgICByZXR1cm4gbnVsbDtcbiAgICAgICAgfVxuXG4gICAgICAgIGlmIChlcnJvclR5cGUgPT09ICdqc29uVmFsaWRhdGlvbicpIHtcbiAgICAgICAgICB0cnkge1xuICAgICAgICAgICAgSlNPTi5wYXJzZShjb250cm9sLnZhbHVlKTtcbiAgICAgICAgICAgIHJldHVybiBudWxsO1xuICAgICAgICAgIH0gY2F0Y2ggKGUpIHtcbiAgICAgICAgICAgIHJldHVybiB7IGludmFsaWRKc29uOiB0cnVlIH07XG4gICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICAgIHJldHVybiBudWxsO1xuICAgICAgfTtcbiAgICB9IGVsc2Uge1xu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c2FnZSgpIHx8IHNob3dFcnJvcigpKSB7XG4gICAgPGRpdiBjbGFzcz1cImJtYl9pbnB1dC12YWxpZGF0b3Itc3VwcG9ydFwiPlxuICAgICAgQGlmIChzaG93RXJyb3IoKSkge1xuICAgICAgICA8cCBjbGFzcz1cImJtYl9pbnB1dC12YWxpZGF0b3Itc3VwcG9ydC1lcnJvclwiPlxuICAgICAgICAgIHt7IGdldEVycm9yTWVzc2FnZSgpIH19XG4gICAgICAgIDwvcD5cbiAgICAgIH0gQGVsc2UgaWYgKCEhaGVscGVyTWVzc2FnZSgpKSB7XG4gICAgICAgIDxwIFtjbGFzc109XCInYm1iX2lucHV0LXZhbGlkYXRvci1zdXBwb3J0LWhlbHBlci0nICsgYXBwZWFyYW5jZSgpXCI+XG4gICAgICAgICAge3sgaGVscGVyTWVzc2FnZSgpIH19XG4gICAgICAgIDwvcD5cbiAgICAgIH1cbiAgICA8L2Rpdj5cbiAgfVxuPC9zZWN0aW9uPlxuIl19
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import { Component, ViewEncapsulation, ChangeDetectionStrategy, input, output, model, ContentChild, } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { BmbInputValidatorComponent } from './bmb-input-validator/bmb-input-validator.component';
|
|
4
|
-
import { getUUID } from '../../utils/utils';
|
|
5
|
-
import { BmbInputContentComponent } from './bmb-input-content/bmb-input-content.component';
|
|
6
|
-
import { assignNewFormControl, newFormControlByType, showError, } from '../../utils/formControl';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
import * as i1 from "@angular/common";
|
|
9
|
-
export class BmbInputComponent {
|
|
10
|
-
constructor() {
|
|
11
|
-
this.label = input('');
|
|
12
|
-
this.type = input('text');
|
|
13
|
-
this.placeholder = input('');
|
|
14
|
-
this.icon = input('');
|
|
15
|
-
this.appearance = input('normal');
|
|
16
|
-
this.errorMessage = input('');
|
|
17
|
-
this.helperMessage = input('');
|
|
18
|
-
this.disabled = input(false);
|
|
19
|
-
this.isRequired = input(false);
|
|
20
|
-
this.name = input(getUUID());
|
|
21
|
-
this.spellcheck = input(false);
|
|
22
|
-
this.jsonFormat = input(false);
|
|
23
|
-
this.heightTextArea = input();
|
|
24
|
-
this.maxlength = input();
|
|
25
|
-
this.minlength = input();
|
|
26
|
-
this.pattern = input();
|
|
27
|
-
this.size = input(); //Deprecated
|
|
28
|
-
this.max = input();
|
|
29
|
-
this.min = input();
|
|
30
|
-
this.id = input(this.name());
|
|
31
|
-
this.value = input();
|
|
32
|
-
this.autocomplete = input('off');
|
|
33
|
-
this.tooltip = input('');
|
|
34
|
-
this.rows = input(3);
|
|
35
|
-
this.showMaxTextLength = input(true);
|
|
36
|
-
this.additionalAction = input('none');
|
|
37
|
-
this.tooltipPosition = input({
|
|
38
|
-
align: 'above',
|
|
39
|
-
justify: 'before',
|
|
40
|
-
});
|
|
41
|
-
this.isClearable = input(false);
|
|
42
|
-
this.customValidation = input();
|
|
43
|
-
this.showError = model(false);
|
|
44
|
-
this.control = model(newFormControlByType(this.type()));
|
|
45
|
-
this.isFocus = output();
|
|
46
|
-
this.isBlur = output();
|
|
47
|
-
this.onChange = output();
|
|
48
|
-
this.onKeyDown = output();
|
|
49
|
-
this.isControlNull = false;
|
|
50
|
-
}
|
|
51
|
-
ngOnInit() {
|
|
52
|
-
if (!this.control()) {
|
|
53
|
-
this.control.set(assignNewFormControl(this.name(), this.control(), this.type()));
|
|
54
|
-
this.isControlNull = true;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
onFocus(value) {
|
|
58
|
-
this.isFocus.emit(value);
|
|
59
|
-
}
|
|
60
|
-
onBlur(value) {
|
|
61
|
-
this.isBlur.emit(value);
|
|
62
|
-
}
|
|
63
|
-
get shouldShowError() {
|
|
64
|
-
return showError(this.control());
|
|
65
|
-
}
|
|
66
|
-
handleKeyPress(event) {
|
|
67
|
-
const target = event.target;
|
|
68
|
-
if (target) {
|
|
69
|
-
this.onKeyDown.emit(event);
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
handleChange(value) {
|
|
73
|
-
this.onChange.emit(value);
|
|
74
|
-
}
|
|
75
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: BmbInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
76
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.14", type: BmbInputComponent, isStandalone: true, selector: "bmb-input", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, appearance: { classPropertyName: "appearance", publicName: "appearance", isSignal: true, isRequired: false, transformFunction: null }, errorMessage: { classPropertyName: "errorMessage", publicName: "errorMessage", isSignal: true, isRequired: false, transformFunction: null }, helperMessage: { classPropertyName: "helperMessage", publicName: "helperMessage", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, isRequired: { classPropertyName: "isRequired", publicName: "isRequired", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, spellcheck: { classPropertyName: "spellcheck", publicName: "spellcheck", isSignal: true, isRequired: false, transformFunction: null }, jsonFormat: { classPropertyName: "jsonFormat", publicName: "jsonFormat", isSignal: true, isRequired: false, transformFunction: null }, heightTextArea: { classPropertyName: "heightTextArea", publicName: "heightTextArea", isSignal: true, isRequired: false, transformFunction: null }, maxlength: { classPropertyName: "maxlength", publicName: "maxlength", isSignal: true, isRequired: false, transformFunction: null }, minlength: { classPropertyName: "minlength", publicName: "minlength", isSignal: true, isRequired: false, transformFunction: null }, pattern: { classPropertyName: "pattern", publicName: "pattern", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, min: { classPropertyName: "min", publicName: "min", isSignal: true, isRequired: false, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, autocomplete: { classPropertyName: "autocomplete", publicName: "autocomplete", isSignal: true, isRequired: false, transformFunction: null }, tooltip: { classPropertyName: "tooltip", publicName: "tooltip", isSignal: true, isRequired: false, transformFunction: null }, rows: { classPropertyName: "rows", publicName: "rows", isSignal: true, isRequired: false, transformFunction: null }, showMaxTextLength: { classPropertyName: "showMaxTextLength", publicName: "showMaxTextLength", isSignal: true, isRequired: false, transformFunction: null }, additionalAction: { classPropertyName: "additionalAction", publicName: "additionalAction", isSignal: true, isRequired: false, transformFunction: null }, tooltipPosition: { classPropertyName: "tooltipPosition", publicName: "tooltipPosition", isSignal: true, isRequired: false, transformFunction: null }, isClearable: { classPropertyName: "isClearable", publicName: "isClearable", isSignal: true, isRequired: false, transformFunction: null }, customValidation: { classPropertyName: "customValidation", publicName: "customValidation", isSignal: true, isRequired: false, transformFunction: null }, showError: { classPropertyName: "showError", publicName: "showError", isSignal: true, isRequired: false, transformFunction: null }, control: { classPropertyName: "control", publicName: "control", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { showError: "showErrorChange", control: "controlChange", isFocus: "isFocus", isBlur: "isBlur", onChange: "onChange", onKeyDown: "onKeyDown" }, queries: [{ propertyName: "customInputContent", first: true, predicate: ["customInputContent"], descendants: true }], ngImport: i0, template: "<bmb-input-validator\n [type]=\"type()\"\n [name]=\"name()\"\n [label]=\"label()\"\n [value]=\"value()\"\n [errorMessage]=\"errorMessage()\"\n [helperMessage]=\"helperMessage()\"\n [isRequired]=\"isRequired()\"\n [isDisabled]=\"disabled()\"\n [control]=\"control()\"\n [showError]=\"shouldShowError\"\n [pattern]=\"pattern()\"\n [jsonFormat]=\"jsonFormat()\"\n [tooltip]=\"tooltip()\"\n [tooltipPosition]=\"tooltipPosition()\"\n [appearance]=\"appearance()\"\n [maxLength]=\"maxlength()\"\n [minLength]=\"minlength()\"\n [min]=\"min()\"\n [max]=\"max()\"\n [showMaxTextLength]=\"showMaxTextLength()\"\n [customValidation]=\"customValidation()\"\n [inputId]=\"id()\"\n>\n <bmb-input-content\n [inputId]=\"id()\"\n [type]=\"type()\"\n [name]=\"name()\"\n [placeholder]=\"placeholder()\"\n [icon]=\"icon()\"\n [appearance]=\"appearance()\"\n [isRequired]=\"isRequired()\"\n [spellcheck]=\"spellcheck()\"\n [max]=\"max()\"\n [min]=\"min()\"\n [maxLength]=\"maxlength()\"\n [minLength]=\"minlength()\"\n [pattern]=\"pattern()\"\n [additionalAction]=\"additionalAction()\"\n [heightTextArea]=\"heightTextArea()\"\n [rows]=\"rows()\"\n [isClearable]=\"isClearable()\"\n [isError]=\"shouldShowError\"\n [control]=\"control()\"\n (onFocus)=\"onFocus($event)\"\n (onBlur)=\"onBlur($event)\"\n (onKeyDown)=\"handleKeyPress($event)\"\n (onChange)=\"handleChange($event)\"\n >\n <ng-template #customContent>\n <ng-container [ngTemplateOutlet]=\"customInputContent\" />\n </ng-template>\n </bmb-input-content>\n</bmb-input-validator>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: BmbInputValidatorComponent, selector: "bmb-input-validator", inputs: ["inputId", "type", "appearance", "label", "labelPosition", "name", "value", "checked", "isRequired", "isDisabled", "max", "min", "maxLength", "minLength", "pattern", "jsonFormat", "tooltip", "rows", "tooltipPosition", "showMaxTextLength", "helperMessage", "errorMessage", "customValidation", "showError", "control"], outputs: ["showErrorChange", "controlChange"] }, { 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"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
77
|
-
}
|
|
78
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: BmbInputComponent, decorators: [{
|
|
79
|
-
type: Component,
|
|
80
|
-
args: [{ selector: 'bmb-input', standalone: true, imports: [CommonModule, BmbInputValidatorComponent, BmbInputContentComponent], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<bmb-input-validator\n [type]=\"type()\"\n [name]=\"name()\"\n [label]=\"label()\"\n [value]=\"value()\"\n [errorMessage]=\"errorMessage()\"\n [helperMessage]=\"helperMessage()\"\n [isRequired]=\"isRequired()\"\n [isDisabled]=\"disabled()\"\n [control]=\"control()\"\n [showError]=\"shouldShowError\"\n [pattern]=\"pattern()\"\n [jsonFormat]=\"jsonFormat()\"\n [tooltip]=\"tooltip()\"\n [tooltipPosition]=\"tooltipPosition()\"\n [appearance]=\"appearance()\"\n [maxLength]=\"maxlength()\"\n [minLength]=\"minlength()\"\n [min]=\"min()\"\n [max]=\"max()\"\n [showMaxTextLength]=\"showMaxTextLength()\"\n [customValidation]=\"customValidation()\"\n [inputId]=\"id()\"\n>\n <bmb-input-content\n [inputId]=\"id()\"\n [type]=\"type()\"\n [name]=\"name()\"\n [placeholder]=\"placeholder()\"\n [icon]=\"icon()\"\n [appearance]=\"appearance()\"\n [isRequired]=\"isRequired()\"\n [spellcheck]=\"spellcheck()\"\n [max]=\"max()\"\n [min]=\"min()\"\n [maxLength]=\"maxlength()\"\n [minLength]=\"minlength()\"\n [pattern]=\"pattern()\"\n [additionalAction]=\"additionalAction()\"\n [heightTextArea]=\"heightTextArea()\"\n [rows]=\"rows()\"\n [isClearable]=\"isClearable()\"\n [isError]=\"shouldShowError\"\n [control]=\"control()\"\n (onFocus)=\"onFocus($event)\"\n (onBlur)=\"onBlur($event)\"\n (onKeyDown)=\"handleKeyPress($event)\"\n (onChange)=\"handleChange($event)\"\n >\n <ng-template #customContent>\n <ng-container [ngTemplateOutlet]=\"customInputContent\" />\n </ng-template>\n </bmb-input-content>\n</bmb-input-validator>\n" }]
|
|
81
|
-
}], propDecorators: { customInputContent: [{
|
|
82
|
-
type: ContentChild,
|
|
83
|
-
args: ['customInputContent']
|
|
84
|
-
}] } });
|
|
85
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYm1iLWlucHV0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2RzLW5nL3NyYy9saWIvY29tcG9uZW50cy9ibWItaW5wdXQvYm1iLWlucHV0LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2RzLW5nL3NyYy9saWIvY29tcG9uZW50cy9ibWItaW5wdXQvYm1iLWlucHV0LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCxTQUFTLEVBQ1QsaUJBQWlCLEVBQ2pCLHVCQUF1QixFQUN2QixLQUFLLEVBQ0wsTUFBTSxFQUNOLEtBQUssRUFFTCxZQUFZLEdBRWIsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBTS9DLE9BQU8s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