@litigiovirtual/ius-design-components 1.0.267 → 1.0.268
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/alert/alert.component.mjs +76 -0
- package/esm2022/lib/alert/index.mjs +2 -0
- package/esm2022/lib/avatar-business/avatar-business.component.mjs +52 -0
- package/esm2022/lib/avatar-business/index.mjs +2 -0
- package/esm2022/lib/avatar-icon/avatar-icon.component.mjs +33 -0
- package/esm2022/lib/avatar-icon/index.mjs +2 -0
- package/esm2022/lib/avatar-v2/avatar-v2.component.mjs +74 -0
- package/esm2022/lib/avatar-v2/index.mjs +2 -0
- package/esm2022/lib/badge/badge.component.mjs +26 -0
- package/esm2022/lib/badge/index.mjs +2 -0
- package/esm2022/lib/breadcrumb/breadcrumb.component.mjs +22 -0
- package/esm2022/lib/breadcrumb/index.mjs +2 -0
- package/esm2022/lib/button-accounts/button-accounts.component.mjs +64 -0
- package/esm2022/lib/button-accounts/index.mjs +2 -0
- package/esm2022/lib/button-auth/button-auth.component.mjs +113 -0
- package/esm2022/lib/button-auth/index.mjs +2 -0
- package/esm2022/lib/button-circle-secondary/button-circle-secondary.component.mjs +28 -0
- package/esm2022/lib/button-circle-secondary/index.mjs +2 -0
- package/esm2022/lib/button-circle-tertiary/button-circle-tertiary.component.mjs +28 -0
- package/esm2022/lib/button-circle-tertiary/index.mjs +2 -0
- package/esm2022/lib/button-dynamic/button-dynamic.component.mjs +115 -0
- package/esm2022/lib/button-dynamic/index.mjs +2 -0
- package/esm2022/lib/button-filter/button-filter.component.mjs +90 -0
- package/esm2022/lib/button-filter/index.mjs +2 -0
- package/esm2022/lib/button-menu-link/button-menu-link.component.mjs +31 -0
- package/esm2022/lib/button-menu-link/index.mjs +2 -0
- package/esm2022/lib/button-order/button-order.component.mjs +75 -0
- package/esm2022/lib/button-order/index.mjs +2 -0
- package/esm2022/lib/button-squared-secondary/button-squared-secondary.component.mjs +28 -0
- package/esm2022/lib/button-squared-secondary/index.mjs +2 -0
- package/esm2022/lib/button-squared-tertiary/button-squared-tertiary.component.mjs +28 -0
- package/esm2022/lib/button-squared-tertiary/index.mjs +2 -0
- package/esm2022/lib/button-standard-outline/button-standard-outline.component.mjs +28 -0
- package/esm2022/lib/button-standard-outline/index.mjs +2 -0
- package/esm2022/lib/button-standard-primary/button-standard-primary.component.mjs +28 -0
- package/esm2022/lib/button-standard-primary/index.mjs +2 -0
- package/esm2022/lib/button-standard-secondary/button-standard-secondary.component.mjs +24 -0
- package/esm2022/lib/button-standard-secondary/index.mjs +2 -0
- package/esm2022/lib/button-standard-tertiary/button-standard-tertiary.component.mjs +28 -0
- package/esm2022/lib/button-standard-tertiary/index.mjs +2 -0
- package/esm2022/lib/button-standard-tertiary-small/button-standard-tertiary-small.component.mjs +31 -0
- package/esm2022/lib/button-standard-tertiary-small/index.mjs +2 -0
- package/esm2022/lib/calification/calification.component.mjs +36 -0
- package/esm2022/lib/calification/index.mjs +2 -0
- package/esm2022/lib/card-actividad-evento/card-actividad-evento.component.mjs +172 -0
- package/esm2022/lib/card-actividad-evento/index.mjs +2 -0
- package/esm2022/lib/card-agenda-judicial/card-agenda-judicial.component.mjs +62 -0
- package/esm2022/lib/card-agenda-judicial/index.mjs +2 -0
- package/esm2022/lib/card-block/card-block.component.mjs +53 -0
- package/esm2022/lib/card-block/index.mjs +2 -0
- package/esm2022/lib/card-button-checkbox/card-button-checkbox.component.mjs +42 -0
- package/esm2022/lib/card-button-checkbox/index.mjs +2 -0
- package/esm2022/lib/card-collapse-detalle-proceso/card-collapse-detalle-proceso.component.mjs +32 -0
- package/esm2022/lib/card-collapse-detalle-proceso/index.mjs +2 -0
- package/esm2022/lib/card-dynamic-content/card-dynamic-content.component.mjs +20 -0
- package/esm2022/lib/card-dynamic-content/index.mjs +2 -0
- package/esm2022/lib/card-etapa-subetapa/card-etapa-subetapa.component.mjs +124 -0
- package/esm2022/lib/card-etapa-subetapa/index.mjs +2 -0
- package/esm2022/lib/card-gestion-cupo/card-gestion-cupo.component.mjs +28 -0
- package/esm2022/lib/card-gestion-cupo/index.mjs +2 -0
- package/esm2022/lib/card-impulso-procesal/card-impulso-procesal.component.mjs +120 -0
- package/esm2022/lib/card-impulso-procesal/index.mjs +2 -0
- package/esm2022/lib/card-info-facturacion/card-info-facturacion.component.mjs +43 -0
- package/esm2022/lib/card-info-facturacion/index.mjs +2 -0
- package/esm2022/lib/card-list-consumo/card-list-consumo.component.mjs +39 -0
- package/esm2022/lib/card-list-consumo/index.mjs +2 -0
- package/esm2022/lib/card-list-drag-on/card-list-drag-on.component.mjs +84 -0
- package/esm2022/lib/card-list-drag-on/index.mjs +2 -0
- package/esm2022/lib/card-list-movimientos/card-list-movimientos.component.mjs +43 -0
- package/esm2022/lib/card-list-movimientos/index.mjs +2 -0
- package/esm2022/lib/card-list-proceso/card-list-proceso.component.mjs +44 -0
- package/esm2022/lib/card-list-proceso/index.mjs +2 -0
- package/esm2022/lib/card-log/card-log.component.mjs +36 -0
- package/esm2022/lib/card-log/index.mjs +2 -0
- package/esm2022/lib/card-plan-small/card-plan-small.component.mjs +18 -0
- package/esm2022/lib/card-plan-small/index.mjs +2 -0
- package/esm2022/lib/card-plan-subscription/card-plan-subscription.component.mjs +55 -0
- package/esm2022/lib/card-plan-subscription/index.mjs +2 -0
- package/esm2022/lib/card-ticket/card-ticket.component.mjs +54 -0
- package/esm2022/lib/card-ticket/index.mjs +2 -0
- package/esm2022/lib/card-tipo-proceso/card-tipo-proceso.component.mjs +67 -0
- package/esm2022/lib/card-tipo-proceso/index.mjs +2 -0
- package/esm2022/lib/card-uso-plan/card-uso-plan.component.mjs +43 -0
- package/esm2022/lib/card-uso-plan/index.mjs +2 -0
- package/esm2022/lib/card-vigilancia-judicial/card-vigilancia-judicial.component.mjs +129 -0
- package/esm2022/lib/card-vigilancia-judicial/index.mjs +2 -0
- package/esm2022/lib/categories/categories.component.mjs +43 -0
- package/esm2022/lib/categories/index.mjs +2 -0
- package/esm2022/lib/charts-bar-grouped/charts-bar-grouped.component.mjs +238 -0
- package/esm2022/lib/charts-bar-grouped/index.mjs +2 -0
- package/esm2022/lib/charts-donut/charts-donut.component.mjs +137 -0
- package/esm2022/lib/charts-donut/index.mjs +2 -0
- package/esm2022/lib/checkbox/checkbox.component.mjs +31 -0
- package/esm2022/lib/checkbox/index.mjs +2 -0
- package/esm2022/lib/checkbox-radio/checkbox-radio.component.mjs +74 -0
- package/esm2022/lib/checkbox-radio/index.mjs +2 -0
- package/esm2022/lib/chip/chip.component.mjs +33 -0
- package/esm2022/lib/chip/index.mjs +2 -0
- package/esm2022/lib/chip-user/chip-user.component.mjs +30 -0
- package/esm2022/lib/chip-user/index.mjs +2 -0
- package/esm2022/lib/create-ticket/create-ticket.component.mjs +101 -0
- package/esm2022/lib/create-ticket/index.mjs +2 -0
- package/esm2022/lib/custom-dropdown/custom-dropdown.component.mjs +149 -0
- package/esm2022/lib/custom-dropdown/index.mjs +2 -0
- package/esm2022/lib/date-hour-picker/date-hour-picker.component.mjs +302 -0
- package/esm2022/lib/date-hour-picker/index.mjs +2 -0
- package/esm2022/lib/date-picker/date-picker.component.mjs +161 -0
- package/esm2022/lib/date-picker/index.mjs +2 -0
- package/esm2022/lib/directives/infinite-scroll.directive.mjs +52 -0
- package/esm2022/lib/directives/popover.directive.mjs +170 -0
- package/esm2022/lib/double-date-picker/double-date-picker.component.mjs +230 -0
- package/esm2022/lib/double-date-picker/index.mjs +2 -0
- package/esm2022/lib/drawer-container-right/drawer-container-right.component.mjs +71 -0
- package/esm2022/lib/drawer-container-right/index.mjs +2 -0
- package/esm2022/lib/dropdown/dropdown.component.mjs +77 -0
- package/esm2022/lib/dropdown/index.mjs +2 -0
- package/esm2022/lib/dropdown-contextual-menu/dropdown-contextual-menu.component.mjs +11 -0
- package/esm2022/lib/dropdown-contextual-menu/index.mjs +2 -0
- package/esm2022/lib/dropdown-option-item/dropdown-option-item.component.mjs +31 -0
- package/esm2022/lib/dropdown-option-item/index.mjs +2 -0
- package/esm2022/lib/dropdown-user-menu/dropdown-user-menu.component.mjs +64 -0
- package/esm2022/lib/dropdown-user-menu/index.mjs +2 -0
- package/esm2022/lib/empty-list/empty-list.component.mjs +22 -0
- package/esm2022/lib/empty-list/index.mjs +2 -0
- package/esm2022/lib/filter-item/filter-item.component.mjs +28 -0
- package/esm2022/lib/filter-item/index.mjs +2 -0
- package/esm2022/lib/icon-lg/icon-lg.component.mjs +29 -0
- package/esm2022/lib/icon-lg/index.mjs +2 -0
- package/esm2022/lib/icon-md/icon-md.component.mjs +29 -0
- package/esm2022/lib/icon-md/index.mjs +2 -0
- package/esm2022/lib/icon-sm/icon-sm.component.mjs +29 -0
- package/esm2022/lib/icon-sm/index.mjs +2 -0
- package/esm2022/lib/icon-xl/icon-xl.component.mjs +29 -0
- package/esm2022/lib/icon-xl/index.mjs +2 -0
- package/esm2022/lib/icon-xs/icon-xs.component.mjs +29 -0
- package/esm2022/lib/icon-xs/index.mjs +2 -0
- package/esm2022/lib/icon-xxl/icon-xxl.component.mjs +29 -0
- package/esm2022/lib/icon-xxl/index.mjs +2 -0
- package/esm2022/lib/icons/icons-map.mjs +1164 -0
- package/esm2022/lib/input-card/index.mjs +2 -0
- package/esm2022/lib/input-card/input-card.component.mjs +158 -0
- package/esm2022/lib/input-large/index.mjs +2 -0
- package/esm2022/lib/input-large/input-large.component.mjs +98 -0
- package/esm2022/lib/input-otp/index.mjs +2 -0
- package/esm2022/lib/input-otp/input-otp.component.mjs +173 -0
- package/esm2022/lib/input-password/index.mjs +2 -0
- package/esm2022/lib/input-password/input-password.component.mjs +91 -0
- package/esm2022/lib/input-select/index.mjs +2 -0
- package/esm2022/lib/input-select/input-select.component.mjs +190 -0
- package/esm2022/lib/input-select-filter/index.mjs +2 -0
- package/esm2022/lib/input-select-filter/input-select-filter.component.mjs +202 -0
- package/esm2022/lib/input-select-number/index.mjs +2 -0
- package/esm2022/lib/input-select-number/input-select-number.component.mjs +68 -0
- package/esm2022/lib/input-textfield/index.mjs +2 -0
- package/esm2022/lib/input-textfield/input-textfield.component.mjs +143 -0
- package/esm2022/lib/item-document/index.mjs +2 -0
- package/esm2022/lib/item-document/item-document.component.mjs +61 -0
- package/esm2022/lib/linear-progress-bar/index.mjs +2 -0
- package/esm2022/lib/linear-progress-bar/linear-progress-bar.component.mjs +16 -0
- package/esm2022/lib/loading-circle/index.mjs +2 -0
- package/esm2022/lib/loading-circle/loading-circle.component.mjs +17 -0
- package/esm2022/lib/loading-component-dynamic/index.mjs +2 -0
- package/esm2022/lib/loading-component-dynamic/loading-component-dynamic.component.mjs +63 -0
- package/esm2022/lib/menu-item/index.mjs +2 -0
- package/esm2022/lib/menu-item/menu-item.component.mjs +33 -0
- package/esm2022/lib/nav-rail/index.mjs +2 -0
- package/esm2022/lib/nav-rail/nav-rail.component.mjs +53 -0
- package/esm2022/lib/notification-card/index.mjs +2 -0
- package/esm2022/lib/notification-card/notification-card.component.mjs +88 -0
- package/esm2022/lib/notifications/index.mjs +2 -0
- package/esm2022/lib/notifications/notifications.component.mjs +90 -0
- package/esm2022/lib/option/index.mjs +2 -0
- package/esm2022/lib/option/option.component.mjs +34 -0
- package/esm2022/lib/option-item/index.mjs +2 -0
- package/esm2022/lib/option-item/option-item.component.mjs +30 -0
- package/esm2022/lib/page-not-found/index.mjs +2 -0
- package/esm2022/lib/page-not-found/page-not-found.component.mjs +28 -0
- package/esm2022/lib/popover/popover.component.mjs +30 -0
- package/esm2022/lib/progress-bar/progress-bar.component.mjs +117 -0
- package/esm2022/lib/search-bar/index.mjs +2 -0
- package/esm2022/lib/search-bar/search-bar.component.mjs +79 -0
- package/esm2022/lib/section-collapse-drawer-child/index.mjs +2 -0
- package/esm2022/lib/section-collapse-drawer-child/section-collapse-drawer-child.component.mjs +73 -0
- package/esm2022/lib/section-collapse-drawer-parent/index.mjs +2 -0
- package/esm2022/lib/section-collapse-drawer-parent/section-collapse-drawer-parent.component.mjs +73 -0
- package/esm2022/lib/segment/index.mjs +2 -0
- package/esm2022/lib/segment/segment.component.mjs +43 -0
- package/esm2022/lib/simple-card-contador/index.mjs +2 -0
- package/esm2022/lib/simple-card-contador/simple-card-contador.component.mjs +53 -0
- package/esm2022/lib/simple-chip/index.mjs +2 -0
- package/esm2022/lib/simple-chip/simple-chip.component.mjs +38 -0
- package/esm2022/lib/simple-divider/index.mjs +2 -0
- package/esm2022/lib/simple-divider/simple-divider.component.mjs +11 -0
- package/esm2022/lib/simple-user-card/index.mjs +2 -0
- package/esm2022/lib/simple-user-card/simple-user-card.component.mjs +17 -0
- package/esm2022/lib/slide-toggle/index.mjs +2 -0
- package/esm2022/lib/slide-toggle/slide-toggle.component.mjs +26 -0
- package/esm2022/lib/snackbar/index.mjs +2 -0
- package/esm2022/lib/snackbar/snackbar.component.mjs +40 -0
- package/esm2022/lib/support-panel/index.mjs +2 -0
- package/esm2022/lib/support-panel/support-panel.component.mjs +45 -0
- package/esm2022/lib/toolbar/index.mjs +2 -0
- package/esm2022/lib/toolbar/toolbar.component.mjs +360 -0
- package/esm2022/lib/toolbar-user-menu/index.mjs +2 -0
- package/esm2022/lib/toolbar-user-menu/toolbar-user-menu.component.mjs +138 -0
- package/esm2022/lib/user-card/index.mjs +2 -0
- package/esm2022/lib/user-card/user-card.component.mjs +84 -0
- package/esm2022/litigiovirtual-ius-design-components.mjs +5 -0
- package/esm2022/public-api.mjs +105 -0
- package/fesm2022/litigiovirtual-ius-design-components.mjs +8084 -0
- package/fesm2022/litigiovirtual-ius-design-components.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/alert/alert.component.d.ts +22 -0
- package/lib/alert/index.d.ts +1 -0
- package/lib/avatar-business/avatar-business.component.d.ts +16 -0
- package/lib/avatar-business/index.d.ts +1 -0
- package/lib/avatar-icon/avatar-icon.component.d.ts +10 -0
- package/lib/avatar-icon/index.d.ts +1 -0
- package/lib/avatar-v2/avatar-v2.component.d.ts +23 -0
- package/lib/avatar-v2/index.d.ts +1 -0
- package/lib/badge/badge.component.d.ts +7 -0
- package/lib/badge/index.d.ts +1 -0
- package/lib/breadcrumb/breadcrumb.component.d.ts +16 -0
- package/lib/breadcrumb/index.d.ts +1 -0
- package/lib/button-accounts/button-accounts.component.d.ts +26 -0
- package/lib/button-accounts/index.d.ts +1 -0
- package/lib/button-auth/button-auth.component.d.ts +22 -0
- package/lib/button-auth/index.d.ts +1 -0
- package/lib/button-circle-secondary/button-circle-secondary.component.d.ts +10 -0
- package/lib/button-circle-secondary/index.d.ts +1 -0
- package/lib/button-circle-tertiary/button-circle-tertiary.component.d.ts +10 -0
- package/lib/button-circle-tertiary/index.d.ts +1 -0
- package/lib/button-dynamic/button-dynamic.component.d.ts +28 -0
- package/lib/button-dynamic/index.d.ts +1 -0
- package/lib/button-filter/button-filter.component.d.ts +25 -0
- package/lib/button-filter/index.d.ts +1 -0
- package/lib/button-menu-link/button-menu-link.component.d.ts +11 -0
- package/lib/button-menu-link/index.d.ts +1 -0
- package/lib/button-order/button-order.component.d.ts +29 -0
- package/lib/button-order/index.d.ts +1 -0
- package/lib/button-squared-secondary/button-squared-secondary.component.d.ts +10 -0
- package/lib/button-squared-secondary/index.d.ts +1 -0
- package/lib/button-squared-tertiary/button-squared-tertiary.component.d.ts +10 -0
- package/lib/button-squared-tertiary/index.d.ts +1 -0
- package/lib/button-standard-outline/button-standard-outline.component.d.ts +10 -0
- package/lib/button-standard-outline/index.d.ts +1 -0
- package/lib/button-standard-primary/button-standard-primary.component.d.ts +10 -0
- package/lib/button-standard-primary/index.d.ts +1 -0
- package/lib/button-standard-secondary/button-standard-secondary.component.d.ts +9 -0
- package/lib/button-standard-secondary/index.d.ts +1 -0
- package/lib/button-standard-tertiary/button-standard-tertiary.component.d.ts +10 -0
- package/lib/button-standard-tertiary/index.d.ts +1 -0
- package/lib/button-standard-tertiary-small/button-standard-tertiary-small.component.d.ts +11 -0
- package/lib/button-standard-tertiary-small/index.d.ts +1 -0
- package/lib/calification/calification.component.d.ts +14 -0
- package/lib/calification/index.d.ts +1 -0
- package/lib/card-actividad-evento/card-actividad-evento.component.d.ts +40 -0
- package/lib/card-actividad-evento/index.d.ts +1 -0
- package/lib/card-agenda-judicial/card-agenda-judicial.component.d.ts +20 -0
- package/lib/card-agenda-judicial/index.d.ts +1 -0
- package/lib/card-block/card-block.component.d.ts +23 -0
- package/lib/card-block/index.d.ts +1 -0
- package/lib/card-button-checkbox/card-button-checkbox.component.d.ts +14 -0
- package/lib/card-button-checkbox/index.d.ts +1 -0
- package/lib/card-collapse-detalle-proceso/card-collapse-detalle-proceso.component.d.ts +13 -0
- package/lib/card-collapse-detalle-proceso/index.d.ts +1 -0
- package/lib/card-dynamic-content/card-dynamic-content.component.d.ts +7 -0
- package/lib/card-dynamic-content/index.d.ts +1 -0
- package/lib/card-etapa-subetapa/card-etapa-subetapa.component.d.ts +32 -0
- package/lib/card-etapa-subetapa/index.d.ts +1 -0
- package/lib/card-gestion-cupo/card-gestion-cupo.component.d.ts +12 -0
- package/lib/card-gestion-cupo/index.d.ts +1 -0
- package/lib/card-impulso-procesal/card-impulso-procesal.component.d.ts +31 -0
- package/lib/card-impulso-procesal/index.d.ts +1 -0
- package/lib/card-info-facturacion/card-info-facturacion.component.d.ts +19 -0
- package/lib/card-info-facturacion/index.d.ts +1 -0
- package/lib/card-list-consumo/card-list-consumo.component.d.ts +16 -0
- package/lib/card-list-consumo/index.d.ts +1 -0
- package/lib/card-list-drag-on/card-list-drag-on.component.d.ts +28 -0
- package/lib/card-list-drag-on/index.d.ts +1 -0
- package/lib/card-list-movimientos/card-list-movimientos.component.d.ts +16 -0
- package/lib/card-list-movimientos/index.d.ts +1 -0
- package/lib/card-list-proceso/card-list-proceso.component.d.ts +19 -0
- package/lib/card-list-proceso/index.d.ts +1 -0
- package/lib/card-log/card-log.component.d.ts +18 -0
- package/lib/card-log/index.d.ts +1 -0
- package/lib/card-plan-small/card-plan-small.component.d.ts +8 -0
- package/lib/card-plan-small/index.d.ts +1 -0
- package/lib/card-plan-subscription/card-plan-subscription.component.d.ts +23 -0
- package/lib/card-plan-subscription/index.d.ts +1 -0
- package/lib/card-ticket/card-ticket.component.d.ts +22 -0
- package/lib/card-ticket/index.d.ts +1 -0
- package/lib/card-tipo-proceso/card-tipo-proceso.component.d.ts +25 -0
- package/lib/card-tipo-proceso/index.d.ts +1 -0
- package/lib/card-uso-plan/card-uso-plan.component.d.ts +19 -0
- package/lib/card-uso-plan/index.d.ts +1 -0
- package/lib/card-vigilancia-judicial/card-vigilancia-judicial.component.d.ts +28 -0
- package/lib/card-vigilancia-judicial/index.d.ts +1 -0
- package/lib/categories/categories.component.d.ts +14 -0
- package/lib/categories/index.d.ts +1 -0
- package/lib/charts-bar-grouped/charts-bar-grouped.component.d.ts +98 -0
- package/lib/charts-bar-grouped/index.d.ts +1 -0
- package/lib/charts-donut/charts-donut.component.d.ts +47 -0
- package/lib/charts-donut/index.d.ts +1 -0
- package/lib/checkbox/checkbox.component.d.ts +10 -0
- package/lib/checkbox/index.d.ts +1 -0
- package/lib/checkbox-radio/checkbox-radio.component.d.ts +20 -0
- package/lib/checkbox-radio/index.d.ts +1 -0
- package/lib/chip/chip.component.d.ts +11 -0
- package/lib/chip/index.d.ts +1 -0
- package/lib/chip-user/chip-user.component.d.ts +12 -0
- package/lib/chip-user/index.d.ts +1 -0
- package/lib/create-ticket/create-ticket.component.d.ts +57 -0
- package/lib/create-ticket/index.d.ts +1 -0
- package/lib/custom-dropdown/custom-dropdown.component.d.ts +40 -0
- package/lib/custom-dropdown/index.d.ts +1 -0
- package/lib/date-hour-picker/date-hour-picker.component.d.ts +60 -0
- package/lib/date-hour-picker/index.d.ts +1 -0
- package/lib/date-picker/date-picker.component.d.ts +42 -0
- package/lib/date-picker/index.d.ts +1 -0
- package/lib/directives/infinite-scroll.directive.d.ts +15 -0
- package/lib/directives/popover.directive.d.ts +41 -0
- package/lib/double-date-picker/double-date-picker.component.d.ts +57 -0
- package/lib/double-date-picker/index.d.ts +1 -0
- package/lib/drawer-container-right/drawer-container-right.component.d.ts +13 -0
- package/lib/drawer-container-right/index.d.ts +1 -0
- package/lib/dropdown/dropdown.component.d.ts +28 -0
- package/lib/dropdown/index.d.ts +1 -0
- package/lib/dropdown-contextual-menu/dropdown-contextual-menu.component.d.ts +5 -0
- package/lib/dropdown-contextual-menu/index.d.ts +1 -0
- package/lib/dropdown-option-item/dropdown-option-item.component.d.ts +13 -0
- package/lib/dropdown-option-item/index.d.ts +1 -0
- package/lib/dropdown-user-menu/dropdown-user-menu.component.d.ts +20 -0
- package/lib/dropdown-user-menu/index.d.ts +1 -0
- package/lib/empty-list/empty-list.component.d.ts +8 -0
- package/lib/empty-list/index.d.ts +1 -0
- package/lib/filter-item/filter-item.component.d.ts +10 -0
- package/lib/filter-item/index.d.ts +1 -0
- package/lib/icon-lg/icon-lg.component.d.ts +12 -0
- package/lib/icon-lg/index.d.ts +1 -0
- package/lib/icon-md/icon-md.component.d.ts +12 -0
- package/lib/icon-md/index.d.ts +1 -0
- package/lib/icon-sm/icon-sm.component.d.ts +13 -0
- package/lib/icon-sm/index.d.ts +1 -0
- package/lib/icon-xl/icon-xl.component.d.ts +12 -0
- package/lib/icon-xl/index.d.ts +1 -0
- package/lib/icon-xs/icon-xs.component.d.ts +12 -0
- package/lib/icon-xs/index.d.ts +1 -0
- package/lib/icon-xxl/icon-xxl.component.d.ts +12 -0
- package/lib/icon-xxl/index.d.ts +1 -0
- package/lib/icons/icons-map.d.ts +1 -0
- package/lib/input-card/index.d.ts +1 -0
- package/lib/input-card/input-card.component.d.ts +43 -0
- package/lib/input-large/index.d.ts +1 -0
- package/lib/input-large/input-large.component.d.ts +30 -0
- package/lib/input-otp/index.d.ts +1 -0
- package/lib/input-otp/input-otp.component.d.ts +34 -0
- package/lib/input-password/index.d.ts +1 -0
- package/lib/input-password/input-password.component.d.ts +29 -0
- package/lib/input-select/index.d.ts +1 -0
- package/lib/input-select/input-select.component.d.ts +47 -0
- package/lib/input-select-filter/index.d.ts +1 -0
- package/lib/input-select-filter/input-select-filter.component.d.ts +62 -0
- package/lib/input-select-number/index.d.ts +1 -0
- package/lib/input-select-number/input-select-number.component.d.ts +18 -0
- package/lib/input-textfield/index.d.ts +1 -0
- package/lib/input-textfield/input-textfield.component.d.ts +36 -0
- package/lib/item-document/index.d.ts +1 -0
- package/lib/item-document/item-document.component.d.ts +19 -0
- package/lib/linear-progress-bar/index.d.ts +1 -0
- package/lib/linear-progress-bar/linear-progress-bar.component.d.ts +6 -0
- package/lib/loading-circle/index.d.ts +1 -0
- package/lib/loading-circle/loading-circle.component.d.ts +6 -0
- package/lib/loading-component-dynamic/index.d.ts +1 -0
- package/lib/loading-component-dynamic/loading-component-dynamic.component.d.ts +22 -0
- package/lib/menu-item/index.d.ts +1 -0
- package/lib/menu-item/menu-item.component.d.ts +11 -0
- package/lib/nav-rail/index.d.ts +1 -0
- package/lib/nav-rail/nav-rail.component.d.ts +10 -0
- package/lib/notification-card/index.d.ts +1 -0
- package/lib/notification-card/notification-card.component.d.ts +30 -0
- package/lib/notifications/index.d.ts +1 -0
- package/lib/notifications/notifications.component.d.ts +19 -0
- package/lib/option/index.d.ts +1 -0
- package/lib/option/option.component.d.ts +13 -0
- package/lib/option-item/index.d.ts +1 -0
- package/lib/option-item/option-item.component.d.ts +11 -0
- package/lib/page-not-found/index.d.ts +1 -0
- package/lib/page-not-found/page-not-found.component.d.ts +12 -0
- package/lib/popover/popover.component.d.ts +10 -0
- package/lib/progress-bar/progress-bar.component.d.ts +43 -0
- package/lib/search-bar/index.d.ts +1 -0
- package/lib/search-bar/search-bar.component.d.ts +24 -0
- package/lib/section-collapse-drawer-child/index.d.ts +1 -0
- package/lib/section-collapse-drawer-child/section-collapse-drawer-child.component.d.ts +12 -0
- package/lib/section-collapse-drawer-parent/index.d.ts +1 -0
- package/lib/section-collapse-drawer-parent/section-collapse-drawer-parent.component.d.ts +12 -0
- package/lib/segment/index.d.ts +1 -0
- package/lib/segment/segment.component.d.ts +14 -0
- package/lib/simple-card-contador/index.d.ts +1 -0
- package/lib/simple-card-contador/simple-card-contador.component.d.ts +14 -0
- package/lib/simple-chip/index.d.ts +1 -0
- package/lib/simple-chip/simple-chip.component.d.ts +13 -0
- package/lib/simple-divider/index.d.ts +1 -0
- package/lib/simple-divider/simple-divider.component.d.ts +5 -0
- package/lib/simple-user-card/index.d.ts +1 -0
- package/lib/simple-user-card/simple-user-card.component.d.ts +8 -0
- package/lib/slide-toggle/index.d.ts +1 -0
- package/lib/slide-toggle/slide-toggle.component.d.ts +10 -0
- package/lib/snackbar/index.d.ts +1 -0
- package/lib/snackbar/snackbar.component.d.ts +16 -0
- package/lib/support-panel/index.d.ts +1 -0
- package/lib/support-panel/support-panel.component.d.ts +17 -0
- package/lib/toolbar/index.d.ts +1 -0
- package/lib/toolbar/toolbar.component.d.ts +136 -0
- package/lib/toolbar-user-menu/index.d.ts +1 -0
- package/lib/toolbar-user-menu/toolbar-user-menu.component.d.ts +45 -0
- package/lib/user-card/index.d.ts +1 -0
- package/lib/user-card/user-card.component.d.ts +32 -0
- package/package.json +28 -18
- package/public-api.d.ts +103 -0
- package/ng-package.json +0 -10
- package/src/lib/alert/alert.component.html +0 -19
- package/src/lib/alert/alert.component.scss +0 -47
- package/src/lib/alert/alert.component.spec.ts +0 -23
- package/src/lib/alert/alert.component.ts +0 -73
- package/src/lib/alert/index.ts +0 -2
- package/src/lib/avatar-business/avatar-business.component.html +0 -39
- package/src/lib/avatar-business/avatar-business.component.scss +0 -89
- package/src/lib/avatar-business/avatar-business.component.spec.ts +0 -23
- package/src/lib/avatar-business/avatar-business.component.ts +0 -42
- package/src/lib/avatar-business/index.ts +0 -2
- package/src/lib/avatar-icon/avatar-icon.component.html +0 -20
- package/src/lib/avatar-icon/avatar-icon.component.scss +0 -29
- package/src/lib/avatar-icon/avatar-icon.component.spec.ts +0 -23
- package/src/lib/avatar-icon/avatar-icon.component.ts +0 -24
- package/src/lib/avatar-icon/index.ts +0 -2
- package/src/lib/avatar-v2/avatar-v2.component.html +0 -41
- package/src/lib/avatar-v2/avatar-v2.component.scss +0 -107
- package/src/lib/avatar-v2/avatar-v2.component.spec.ts +0 -23
- package/src/lib/avatar-v2/avatar-v2.component.ts +0 -65
- package/src/lib/avatar-v2/index.ts +0 -2
- package/src/lib/badge/badge.component.html +0 -3
- package/src/lib/badge/badge.component.scss +0 -29
- package/src/lib/badge/badge.component.spec.ts +0 -23
- package/src/lib/badge/badge.component.ts +0 -24
- package/src/lib/badge/index.ts +0 -2
- package/src/lib/breadcrumb/breadcrumb.component.html +0 -24
- package/src/lib/breadcrumb/breadcrumb.component.scss +0 -41
- package/src/lib/breadcrumb/breadcrumb.component.spec.ts +0 -23
- package/src/lib/breadcrumb/breadcrumb.component.ts +0 -25
- package/src/lib/breadcrumb/index.ts +0 -2
- package/src/lib/button-accounts/button-accounts.component.html +0 -39
- package/src/lib/button-accounts/button-accounts.component.scss +0 -110
- package/src/lib/button-accounts/button-accounts.component.spec.ts +0 -23
- package/src/lib/button-accounts/button-accounts.component.ts +0 -69
- package/src/lib/button-accounts/index.ts +0 -1
- package/src/lib/button-auth/button-auth.component.html +0 -4
- package/src/lib/button-auth/button-auth.component.scss +0 -39
- package/src/lib/button-auth/button-auth.component.spec.ts +0 -23
- package/src/lib/button-auth/button-auth.component.ts +0 -116
- package/src/lib/button-auth/index.ts +0 -1
- package/src/lib/button-circle-secondary/button-circle-secondary.component.html +0 -3
- package/src/lib/button-circle-secondary/button-circle-secondary.component.scss +0 -39
- package/src/lib/button-circle-secondary/button-circle-secondary.component.spec.ts +0 -23
- package/src/lib/button-circle-secondary/button-circle-secondary.component.ts +0 -25
- package/src/lib/button-circle-secondary/index.ts +0 -2
- package/src/lib/button-circle-tertiary/button-circle-tertiary.component.html +0 -3
- package/src/lib/button-circle-tertiary/button-circle-tertiary.component.scss +0 -38
- package/src/lib/button-circle-tertiary/button-circle-tertiary.component.spec.ts +0 -23
- package/src/lib/button-circle-tertiary/button-circle-tertiary.component.ts +0 -22
- package/src/lib/button-circle-tertiary/index.ts +0 -2
- package/src/lib/button-dynamic/button-dynamic.component.html +0 -19
- package/src/lib/button-dynamic/button-dynamic.component.scss +0 -56
- package/src/lib/button-dynamic/button-dynamic.component.spec.ts +0 -23
- package/src/lib/button-dynamic/button-dynamic.component.ts +0 -113
- package/src/lib/button-dynamic/index.ts +0 -2
- package/src/lib/button-filter/button-filter.component.html +0 -22
- package/src/lib/button-filter/button-filter.component.scss +0 -90
- package/src/lib/button-filter/button-filter.component.spec.ts +0 -23
- package/src/lib/button-filter/button-filter.component.ts +0 -94
- package/src/lib/button-filter/index.ts +0 -2
- package/src/lib/button-menu-link/button-menu-link.component.html +0 -3
- package/src/lib/button-menu-link/button-menu-link.component.scss +0 -33
- package/src/lib/button-menu-link/button-menu-link.component.spec.ts +0 -23
- package/src/lib/button-menu-link/button-menu-link.component.ts +0 -23
- package/src/lib/button-menu-link/index.ts +0 -2
- package/src/lib/button-order/button-order.component.html +0 -27
- package/src/lib/button-order/button-order.component.scss +0 -75
- package/src/lib/button-order/button-order.component.spec.ts +0 -23
- package/src/lib/button-order/button-order.component.ts +0 -84
- package/src/lib/button-order/index.ts +0 -2
- package/src/lib/button-squared-secondary/button-squared-secondary.component.html +0 -3
- package/src/lib/button-squared-secondary/button-squared-secondary.component.scss +0 -43
- package/src/lib/button-squared-secondary/button-squared-secondary.component.spec.ts +0 -23
- package/src/lib/button-squared-secondary/button-squared-secondary.component.ts +0 -23
- package/src/lib/button-squared-secondary/index.ts +0 -2
- package/src/lib/button-squared-tertiary/button-squared-tertiary.component.html +0 -3
- package/src/lib/button-squared-tertiary/button-squared-tertiary.component.scss +0 -42
- package/src/lib/button-squared-tertiary/button-squared-tertiary.component.spec.ts +0 -23
- package/src/lib/button-squared-tertiary/button-squared-tertiary.component.ts +0 -21
- package/src/lib/button-squared-tertiary/index.ts +0 -2
- package/src/lib/button-standard-outline/button-standard-outline.component.html +0 -6
- package/src/lib/button-standard-outline/button-standard-outline.component.scss +0 -51
- package/src/lib/button-standard-outline/button-standard-outline.component.spec.ts +0 -23
- package/src/lib/button-standard-outline/button-standard-outline.component.ts +0 -24
- package/src/lib/button-standard-outline/index.ts +0 -1
- package/src/lib/button-standard-primary/button-standard-primary.component.html +0 -6
- package/src/lib/button-standard-primary/button-standard-primary.component.scss +0 -41
- package/src/lib/button-standard-primary/button-standard-primary.component.spec.ts +0 -23
- package/src/lib/button-standard-primary/button-standard-primary.component.ts +0 -24
- package/src/lib/button-standard-primary/index.ts +0 -2
- package/src/lib/button-standard-secondary/button-standard-secondary.component.html +0 -3
- package/src/lib/button-standard-secondary/button-standard-secondary.component.scss +0 -39
- package/src/lib/button-standard-secondary/button-standard-secondary.component.spec.ts +0 -23
- package/src/lib/button-standard-secondary/button-standard-secondary.component.ts +0 -21
- package/src/lib/button-standard-secondary/index.ts +0 -2
- package/src/lib/button-standard-tertiary/button-standard-tertiary.component.html +0 -6
- package/src/lib/button-standard-tertiary/button-standard-tertiary.component.scss +0 -48
- package/src/lib/button-standard-tertiary/button-standard-tertiary.component.spec.ts +0 -23
- package/src/lib/button-standard-tertiary/button-standard-tertiary.component.ts +0 -22
- package/src/lib/button-standard-tertiary/index.ts +0 -2
- package/src/lib/button-standard-tertiary-small/button-standard-tertiary-small.component.html +0 -9
- package/src/lib/button-standard-tertiary-small/button-standard-tertiary-small.component.scss +0 -47
- package/src/lib/button-standard-tertiary-small/button-standard-tertiary-small.component.spec.ts +0 -23
- package/src/lib/button-standard-tertiary-small/button-standard-tertiary-small.component.ts +0 -22
- package/src/lib/button-standard-tertiary-small/index.ts +0 -2
- package/src/lib/calification/calification.component.html +0 -19
- package/src/lib/calification/calification.component.scss +0 -50
- package/src/lib/calification/calification.component.spec.ts +0 -23
- package/src/lib/calification/calification.component.ts +0 -35
- package/src/lib/calification/index.ts +0 -2
- package/src/lib/card-actividad-evento/card-actividad-evento.component.html +0 -77
- package/src/lib/card-actividad-evento/card-actividad-evento.component.scss +0 -192
- package/src/lib/card-actividad-evento/card-actividad-evento.component.spec.ts +0 -23
- package/src/lib/card-actividad-evento/card-actividad-evento.component.ts +0 -142
- package/src/lib/card-actividad-evento/index.ts +0 -2
- package/src/lib/card-agenda-judicial/card-agenda-judicial.component.html +0 -53
- package/src/lib/card-agenda-judicial/card-agenda-judicial.component.scss +0 -151
- package/src/lib/card-agenda-judicial/card-agenda-judicial.component.spec.ts +0 -23
- package/src/lib/card-agenda-judicial/card-agenda-judicial.component.ts +0 -51
- package/src/lib/card-agenda-judicial/index.ts +0 -2
- package/src/lib/card-block/card-block.component.html +0 -56
- package/src/lib/card-block/card-block.component.scss +0 -116
- package/src/lib/card-block/card-block.component.spec.ts +0 -23
- package/src/lib/card-block/card-block.component.ts +0 -43
- package/src/lib/card-block/index.ts +0 -2
- package/src/lib/card-button-checkbox/card-button-checkbox.component.html +0 -15
- package/src/lib/card-button-checkbox/card-button-checkbox.component.scss +0 -98
- package/src/lib/card-button-checkbox/card-button-checkbox.component.spec.ts +0 -23
- package/src/lib/card-button-checkbox/card-button-checkbox.component.ts +0 -29
- package/src/lib/card-button-checkbox/index.ts +0 -2
- package/src/lib/card-collapse-detalle-proceso/card-collapse-detalle-proceso.component.html +0 -19
- package/src/lib/card-collapse-detalle-proceso/card-collapse-detalle-proceso.component.scss +0 -104
- package/src/lib/card-collapse-detalle-proceso/card-collapse-detalle-proceso.component.spec.ts +0 -23
- package/src/lib/card-collapse-detalle-proceso/card-collapse-detalle-proceso.component.ts +0 -26
- package/src/lib/card-collapse-detalle-proceso/index.ts +0 -1
- package/src/lib/card-dynamic-content/card-dynamic-content.component.html +0 -9
- package/src/lib/card-dynamic-content/card-dynamic-content.component.scss +0 -22
- package/src/lib/card-dynamic-content/card-dynamic-content.component.spec.ts +0 -23
- package/src/lib/card-dynamic-content/card-dynamic-content.component.ts +0 -15
- package/src/lib/card-dynamic-content/index.ts +0 -2
- package/src/lib/card-etapa-subetapa/card-etapa-subetapa.component.html +0 -66
- package/src/lib/card-etapa-subetapa/card-etapa-subetapa.component.scss +0 -158
- package/src/lib/card-etapa-subetapa/card-etapa-subetapa.component.spec.ts +0 -23
- package/src/lib/card-etapa-subetapa/card-etapa-subetapa.component.ts +0 -102
- package/src/lib/card-etapa-subetapa/index.ts +0 -2
- package/src/lib/card-gestion-cupo/card-gestion-cupo.component.html +0 -21
- package/src/lib/card-gestion-cupo/card-gestion-cupo.component.scss +0 -88
- package/src/lib/card-gestion-cupo/card-gestion-cupo.component.spec.ts +0 -23
- package/src/lib/card-gestion-cupo/card-gestion-cupo.component.ts +0 -22
- package/src/lib/card-gestion-cupo/index.ts +0 -2
- package/src/lib/card-impulso-procesal/card-impulso-procesal.component.html +0 -62
- package/src/lib/card-impulso-procesal/card-impulso-procesal.component.scss +0 -158
- package/src/lib/card-impulso-procesal/card-impulso-procesal.component.spec.ts +0 -23
- package/src/lib/card-impulso-procesal/card-impulso-procesal.component.ts +0 -100
- package/src/lib/card-impulso-procesal/index.ts +0 -2
- package/src/lib/card-info-facturacion/card-info-facturacion.component.html +0 -63
- package/src/lib/card-info-facturacion/card-info-facturacion.component.scss +0 -126
- package/src/lib/card-info-facturacion/card-info-facturacion.component.spec.ts +0 -23
- package/src/lib/card-info-facturacion/card-info-facturacion.component.ts +0 -31
- package/src/lib/card-info-facturacion/index.ts +0 -2
- package/src/lib/card-list-consumo/card-list-consumo.component.html +0 -23
- package/src/lib/card-list-consumo/card-list-consumo.component.scss +0 -132
- package/src/lib/card-list-consumo/card-list-consumo.component.spec.ts +0 -23
- package/src/lib/card-list-consumo/card-list-consumo.component.ts +0 -39
- package/src/lib/card-list-consumo/index.ts +0 -2
- package/src/lib/card-list-drag-on/card-list-drag-on.component.html +0 -64
- package/src/lib/card-list-drag-on/card-list-drag-on.component.scss +0 -159
- package/src/lib/card-list-drag-on/card-list-drag-on.component.spec.ts +0 -23
- package/src/lib/card-list-drag-on/card-list-drag-on.component.ts +0 -60
- package/src/lib/card-list-drag-on/index.ts +0 -2
- package/src/lib/card-list-movimientos/card-list-movimientos.component.html +0 -154
- package/src/lib/card-list-movimientos/card-list-movimientos.component.scss +0 -150
- package/src/lib/card-list-movimientos/card-list-movimientos.component.spec.ts +0 -23
- package/src/lib/card-list-movimientos/card-list-movimientos.component.ts +0 -28
- package/src/lib/card-list-movimientos/index.ts +0 -2
- package/src/lib/card-list-proceso/card-list-proceso.component.html +0 -27
- package/src/lib/card-list-proceso/card-list-proceso.component.scss +0 -131
- package/src/lib/card-list-proceso/card-list-proceso.component.spec.ts +0 -23
- package/src/lib/card-list-proceso/card-list-proceso.component.ts +0 -32
- package/src/lib/card-list-proceso/index.ts +0 -2
- package/src/lib/card-log/card-log.component.html +0 -30
- package/src/lib/card-log/card-log.component.scss +0 -114
- package/src/lib/card-log/card-log.component.spec.ts +0 -23
- package/src/lib/card-log/card-log.component.ts +0 -26
- package/src/lib/card-log/index.ts +0 -2
- package/src/lib/card-plan-small/card-plan-small.component.html +0 -12
- package/src/lib/card-plan-small/card-plan-small.component.scss +0 -80
- package/src/lib/card-plan-small/card-plan-small.component.spec.ts +0 -23
- package/src/lib/card-plan-small/card-plan-small.component.ts +0 -17
- package/src/lib/card-plan-small/index.ts +0 -2
- package/src/lib/card-plan-subscription/card-plan-subscription.component.html +0 -65
- package/src/lib/card-plan-subscription/card-plan-subscription.component.scss +0 -273
- package/src/lib/card-plan-subscription/card-plan-subscription.component.spec.ts +0 -23
- package/src/lib/card-plan-subscription/card-plan-subscription.component.ts +0 -45
- package/src/lib/card-plan-subscription/index.ts +0 -2
- package/src/lib/card-ticket/card-ticket.component.html +0 -40
- package/src/lib/card-ticket/card-ticket.component.scss +0 -253
- package/src/lib/card-ticket/card-ticket.component.spec.ts +0 -23
- package/src/lib/card-ticket/card-ticket.component.ts +0 -44
- package/src/lib/card-ticket/index.ts +0 -2
- package/src/lib/card-tipo-proceso/card-tipo-proceso.component.html +0 -61
- package/src/lib/card-tipo-proceso/card-tipo-proceso.component.scss +0 -179
- package/src/lib/card-tipo-proceso/card-tipo-proceso.component.spec.ts +0 -23
- package/src/lib/card-tipo-proceso/card-tipo-proceso.component.ts +0 -58
- package/src/lib/card-tipo-proceso/index.ts +0 -2
- package/src/lib/card-uso-plan/card-uso-plan.component.html +0 -74
- package/src/lib/card-uso-plan/card-uso-plan.component.scss +0 -143
- package/src/lib/card-uso-plan/card-uso-plan.component.spec.ts +0 -23
- package/src/lib/card-uso-plan/card-uso-plan.component.ts +0 -31
- package/src/lib/card-uso-plan/index.ts +0 -2
- package/src/lib/card-vigilancia-judicial/card-vigilancia-judicial.component.html +0 -76
- package/src/lib/card-vigilancia-judicial/card-vigilancia-judicial.component.scss +0 -161
- package/src/lib/card-vigilancia-judicial/card-vigilancia-judicial.component.spec.ts +0 -23
- package/src/lib/card-vigilancia-judicial/card-vigilancia-judicial.component.ts +0 -111
- package/src/lib/card-vigilancia-judicial/index.ts +0 -2
- package/src/lib/categories/categories.component.html +0 -13
- package/src/lib/categories/categories.component.scss +0 -51
- package/src/lib/categories/categories.component.spec.ts +0 -23
- package/src/lib/categories/categories.component.ts +0 -31
- package/src/lib/categories/index.ts +0 -2
- package/src/lib/charts-bar-grouped/charts-bar-grouped.component.html +0 -79
- package/src/lib/charts-bar-grouped/charts-bar-grouped.component.scss +0 -141
- package/src/lib/charts-bar-grouped/charts-bar-grouped.component.spec.ts +0 -23
- package/src/lib/charts-bar-grouped/charts-bar-grouped.component.ts +0 -284
- package/src/lib/charts-bar-grouped/index.ts +0 -2
- package/src/lib/charts-donut/charts-donut.component.html +0 -57
- package/src/lib/charts-donut/charts-donut.component.scss +0 -125
- package/src/lib/charts-donut/charts-donut.component.spec.ts +0 -23
- package/src/lib/charts-donut/charts-donut.component.ts +0 -148
- package/src/lib/charts-donut/index.ts +0 -2
- package/src/lib/checkbox/checkbox.component.html +0 -9
- package/src/lib/checkbox/checkbox.component.scss +0 -67
- package/src/lib/checkbox/checkbox.component.spec.ts +0 -23
- package/src/lib/checkbox/checkbox.component.ts +0 -27
- package/src/lib/checkbox/index.ts +0 -2
- package/src/lib/checkbox-radio/checkbox-radio.component.html +0 -19
- package/src/lib/checkbox-radio/checkbox-radio.component.scss +0 -126
- package/src/lib/checkbox-radio/checkbox-radio.component.spec.ts +0 -23
- package/src/lib/checkbox-radio/checkbox-radio.component.ts +0 -70
- package/src/lib/checkbox-radio/index.ts +0 -2
- package/src/lib/chip/chip.component.html +0 -16
- package/src/lib/chip/chip.component.scss +0 -74
- package/src/lib/chip/chip.component.spec.ts +0 -21
- package/src/lib/chip/chip.component.ts +0 -23
- package/src/lib/chip/index.ts +0 -1
- package/src/lib/chip-user/chip-user.component.html +0 -13
- package/src/lib/chip-user/chip-user.component.scss +0 -66
- package/src/lib/chip-user/chip-user.component.spec.ts +0 -23
- package/src/lib/chip-user/chip-user.component.ts +0 -22
- package/src/lib/chip-user/index.ts +0 -2
- package/src/lib/create-ticket/create-ticket.component.html +0 -57
- package/src/lib/create-ticket/create-ticket.component.scss +0 -54
- package/src/lib/create-ticket/create-ticket.component.ts +0 -119
- package/src/lib/create-ticket/index.ts +0 -1
- package/src/lib/custom-dropdown/custom-dropdown.component.html +0 -89
- package/src/lib/custom-dropdown/custom-dropdown.component.scss +0 -209
- package/src/lib/custom-dropdown/custom-dropdown.component.spec.ts +0 -23
- package/src/lib/custom-dropdown/custom-dropdown.component.ts +0 -122
- package/src/lib/custom-dropdown/index.ts +0 -2
- package/src/lib/date-hour-picker/date-hour-picker.component.html +0 -216
- package/src/lib/date-hour-picker/date-hour-picker.component.scss +0 -516
- package/src/lib/date-hour-picker/date-hour-picker.component.spec.ts +0 -22
- package/src/lib/date-hour-picker/date-hour-picker.component.ts +0 -317
- package/src/lib/date-hour-picker/index.ts +0 -2
- package/src/lib/date-picker/date-picker.component.html +0 -121
- package/src/lib/date-picker/date-picker.component.scss +0 -337
- package/src/lib/date-picker/date-picker.component.spec.ts +0 -23
- package/src/lib/date-picker/date-picker.component.ts +0 -164
- package/src/lib/date-picker/index.ts +0 -2
- package/src/lib/directives/infinite-scroll.directive.ts +0 -60
- package/src/lib/directives/popover.directive.ts +0 -164
- package/src/lib/double-date-picker/double-date-picker.component.html +0 -176
- package/src/lib/double-date-picker/double-date-picker.component.scss +0 -365
- package/src/lib/double-date-picker/double-date-picker.component.spec.ts +0 -23
- package/src/lib/double-date-picker/double-date-picker.component.ts +0 -237
- package/src/lib/double-date-picker/index.ts +0 -2
- package/src/lib/drawer-container-right/drawer-container-right.component.html +0 -24
- package/src/lib/drawer-container-right/drawer-container-right.component.scss +0 -75
- package/src/lib/drawer-container-right/drawer-container-right.component.spec.ts +0 -23
- package/src/lib/drawer-container-right/drawer-container-right.component.ts +0 -49
- package/src/lib/drawer-container-right/index.ts +0 -1
- package/src/lib/dropdown/dropdown.component.html +0 -36
- package/src/lib/dropdown/dropdown.component.scss +0 -147
- package/src/lib/dropdown/dropdown.component.spec.ts +0 -23
- package/src/lib/dropdown/dropdown.component.ts +0 -81
- package/src/lib/dropdown/index.ts +0 -2
- package/src/lib/dropdown-contextual-menu/dropdown-contextual-menu.component.html +0 -7
- package/src/lib/dropdown-contextual-menu/dropdown-contextual-menu.component.scss +0 -20
- package/src/lib/dropdown-contextual-menu/dropdown-contextual-menu.component.spec.ts +0 -23
- package/src/lib/dropdown-contextual-menu/dropdown-contextual-menu.component.ts +0 -12
- package/src/lib/dropdown-contextual-menu/index.ts +0 -2
- package/src/lib/dropdown-option-item/dropdown-option-item.component.html +0 -6
- package/src/lib/dropdown-option-item/dropdown-option-item.component.scss +0 -40
- package/src/lib/dropdown-option-item/dropdown-option-item.component.spec.ts +0 -23
- package/src/lib/dropdown-option-item/dropdown-option-item.component.ts +0 -27
- package/src/lib/dropdown-option-item/index.ts +0 -2
- package/src/lib/dropdown-user-menu/dropdown-user-menu.component.html +0 -11
- package/src/lib/dropdown-user-menu/dropdown-user-menu.component.scss +0 -111
- package/src/lib/dropdown-user-menu/dropdown-user-menu.component.spec.ts +0 -23
- package/src/lib/dropdown-user-menu/dropdown-user-menu.component.ts +0 -57
- package/src/lib/dropdown-user-menu/index.ts +0 -2
- package/src/lib/empty-list/empty-list.component.html +0 -17
- package/src/lib/empty-list/empty-list.component.scss +0 -68
- package/src/lib/empty-list/empty-list.component.spec.ts +0 -23
- package/src/lib/empty-list/empty-list.component.ts +0 -15
- package/src/lib/empty-list/index.ts +0 -2
- package/src/lib/filter-item/filter-item.component.html +0 -6
- package/src/lib/filter-item/filter-item.component.scss +0 -38
- package/src/lib/filter-item/filter-item.component.spec.ts +0 -23
- package/src/lib/filter-item/filter-item.component.ts +0 -22
- package/src/lib/filter-item/index.ts +0 -1
- package/src/lib/icon-lg/icon-lg.component.html +0 -1
- package/src/lib/icon-lg/icon-lg.component.scss +0 -14
- package/src/lib/icon-lg/icon-lg.component.spec.ts +0 -23
- package/src/lib/icon-lg/icon-lg.component.ts +0 -25
- package/src/lib/icon-lg/index.ts +0 -2
- package/src/lib/icon-md/icon-md.component.html +0 -1
- package/src/lib/icon-md/icon-md.component.scss +0 -14
- package/src/lib/icon-md/icon-md.component.spec.ts +0 -23
- package/src/lib/icon-md/icon-md.component.ts +0 -25
- package/src/lib/icon-md/index.ts +0 -2
- package/src/lib/icon-sm/icon-sm.component.html +0 -1
- package/src/lib/icon-sm/icon-sm.component.scss +0 -14
- package/src/lib/icon-sm/icon-sm.component.spec.ts +0 -23
- package/src/lib/icon-sm/icon-sm.component.ts +0 -25
- package/src/lib/icon-sm/index.ts +0 -2
- package/src/lib/icon-xl/icon-xl.component.html +0 -1
- package/src/lib/icon-xl/icon-xl.component.scss +0 -14
- package/src/lib/icon-xl/icon-xl.component.spec.ts +0 -23
- package/src/lib/icon-xl/icon-xl.component.ts +0 -25
- package/src/lib/icon-xl/index.ts +0 -2
- package/src/lib/icon-xs/icon-xs.component.html +0 -1
- package/src/lib/icon-xs/icon-xs.component.scss +0 -14
- package/src/lib/icon-xs/icon-xs.component.spec.ts +0 -23
- package/src/lib/icon-xs/icon-xs.component.ts +0 -26
- package/src/lib/icon-xs/index.ts +0 -2
- package/src/lib/icon-xxl/icon-xxl.component.html +0 -1
- package/src/lib/icon-xxl/icon-xxl.component.scss +0 -14
- package/src/lib/icon-xxl/icon-xxl.component.spec.ts +0 -23
- package/src/lib/icon-xxl/icon-xxl.component.ts +0 -25
- package/src/lib/icon-xxl/index.ts +0 -2
- package/src/lib/icons/icons-map.ts +0 -1163
- package/src/lib/input-card/index.ts +0 -2
- package/src/lib/input-card/input-card.component.html +0 -67
- package/src/lib/input-card/input-card.component.scss +0 -221
- package/src/lib/input-card/input-card.component.spec.ts +0 -23
- package/src/lib/input-card/input-card.component.ts +0 -156
- package/src/lib/input-large/index.ts +0 -2
- package/src/lib/input-large/input-large.component.html +0 -46
- package/src/lib/input-large/input-large.component.scss +0 -152
- package/src/lib/input-large/input-large.component.spec.ts +0 -23
- package/src/lib/input-large/input-large.component.ts +0 -79
- package/src/lib/input-otp/index.ts +0 -2
- package/src/lib/input-otp/input-otp.component.html +0 -60
- package/src/lib/input-otp/input-otp.component.scss +0 -141
- package/src/lib/input-otp/input-otp.component.spec.ts +0 -23
- package/src/lib/input-otp/input-otp.component.ts +0 -161
- package/src/lib/input-password/index.ts +0 -2
- package/src/lib/input-password/input-password.component.html +0 -44
- package/src/lib/input-password/input-password.component.scss +0 -142
- package/src/lib/input-password/input-password.component.spec.ts +0 -23
- package/src/lib/input-password/input-password.component.ts +0 -73
- package/src/lib/input-select/index.ts +0 -2
- package/src/lib/input-select/input-select.component.html +0 -52
- package/src/lib/input-select/input-select.component.scss +0 -195
- package/src/lib/input-select/input-select.component.spec.ts +0 -23
- package/src/lib/input-select/input-select.component.ts +0 -181
- package/src/lib/input-select-filter/index.ts +0 -2
- package/src/lib/input-select-filter/input-select-filter.component.html +0 -56
- package/src/lib/input-select-filter/input-select-filter.component.scss +0 -266
- package/src/lib/input-select-filter/input-select-filter.component.spec.ts +0 -23
- package/src/lib/input-select-filter/input-select-filter.component.ts +0 -214
- package/src/lib/input-select-number/index.ts +0 -2
- package/src/lib/input-select-number/input-select-number.component.html +0 -24
- package/src/lib/input-select-number/input-select-number.component.scss +0 -128
- package/src/lib/input-select-number/input-select-number.component.spec.ts +0 -23
- package/src/lib/input-select-number/input-select-number.component.ts +0 -68
- package/src/lib/input-textfield/index.ts +0 -2
- package/src/lib/input-textfield/input-textfield.component.html +0 -65
- package/src/lib/input-textfield/input-textfield.component.scss +0 -167
- package/src/lib/input-textfield/input-textfield.component.spec.ts +0 -23
- package/src/lib/input-textfield/input-textfield.component.ts +0 -125
- package/src/lib/item-document/index.ts +0 -1
- package/src/lib/item-document/item-document.component.html +0 -53
- package/src/lib/item-document/item-document.component.scss +0 -72
- package/src/lib/item-document/item-document.component.spec.ts +0 -23
- package/src/lib/item-document/item-document.component.ts +0 -51
- package/src/lib/linear-progress-bar/index.ts +0 -2
- package/src/lib/linear-progress-bar/linear-progress-bar.component.html +0 -4
- package/src/lib/linear-progress-bar/linear-progress-bar.component.scss +0 -26
- package/src/lib/linear-progress-bar/linear-progress-bar.component.spec.ts +0 -23
- package/src/lib/linear-progress-bar/linear-progress-bar.component.ts +0 -12
- package/src/lib/loading-circle/index.ts +0 -2
- package/src/lib/loading-circle/loading-circle.component.html +0 -3
- package/src/lib/loading-circle/loading-circle.component.scss +0 -19
- package/src/lib/loading-circle/loading-circle.component.spec.ts +0 -23
- package/src/lib/loading-circle/loading-circle.component.ts +0 -14
- package/src/lib/loading-component-dynamic/index.ts +0 -2
- package/src/lib/loading-component-dynamic/loading-animation.const.ts +0 -274
- package/src/lib/loading-component-dynamic/loading-component-dynamic.component.html +0 -42
- package/src/lib/loading-component-dynamic/loading-component-dynamic.component.scss +0 -52
- package/src/lib/loading-component-dynamic/loading-component-dynamic.component.spec.ts +0 -23
- package/src/lib/loading-component-dynamic/loading-component-dynamic.component.ts +0 -44
- package/src/lib/menu-item/index.ts +0 -2
- package/src/lib/menu-item/menu-item.component.html +0 -9
- package/src/lib/menu-item/menu-item.component.scss +0 -55
- package/src/lib/menu-item/menu-item.component.spec.ts +0 -23
- package/src/lib/menu-item/menu-item.component.ts +0 -26
- package/src/lib/nav-rail/index.ts +0 -2
- package/src/lib/nav-rail/nav-rail.component.html +0 -14
- package/src/lib/nav-rail/nav-rail.component.scss +0 -58
- package/src/lib/nav-rail/nav-rail.component.spec.ts +0 -23
- package/src/lib/nav-rail/nav-rail.component.ts +0 -39
- package/src/lib/notification-card/index.ts +0 -2
- package/src/lib/notification-card/notification-card.component.html +0 -69
- package/src/lib/notification-card/notification-card.component.scss +0 -137
- package/src/lib/notification-card/notification-card.component.spec.ts +0 -23
- package/src/lib/notification-card/notification-card.component.ts +0 -76
- package/src/lib/notifications/index.ts +0 -2
- package/src/lib/notifications/notifications.component.html +0 -49
- package/src/lib/notifications/notifications.component.scss +0 -113
- package/src/lib/notifications/notifications.component.spec.ts +0 -23
- package/src/lib/notifications/notifications.component.ts +0 -64
- package/src/lib/option/index.ts +0 -2
- package/src/lib/option/option.component.html +0 -11
- package/src/lib/option/option.component.scss +0 -54
- package/src/lib/option/option.component.spec.ts +0 -23
- package/src/lib/option/option.component.ts +0 -27
- package/src/lib/option-item/index.ts +0 -1
- package/src/lib/option-item/option-item.component.html +0 -6
- package/src/lib/option-item/option-item.component.scss +0 -47
- package/src/lib/option-item/option-item.component.spec.ts +0 -23
- package/src/lib/option-item/option-item.component.ts +0 -22
- package/src/lib/page-not-found/index.ts +0 -2
- package/src/lib/page-not-found/page-not-found.component.html +0 -46
- package/src/lib/page-not-found/page-not-found.component.scss +0 -72
- package/src/lib/page-not-found/page-not-found.component.spec.ts +0 -23
- package/src/lib/page-not-found/page-not-found.component.ts +0 -23
- package/src/lib/popover/popover.component.html +0 -8
- package/src/lib/popover/popover.component.scss +0 -80
- package/src/lib/popover/popover.component.spec.ts +0 -23
- package/src/lib/popover/popover.component.ts +0 -18
- package/src/lib/progress-bar/progress-bar.component.html +0 -23
- package/src/lib/progress-bar/progress-bar.component.scss +0 -37
- package/src/lib/progress-bar/progress-bar.component.spec.ts +0 -23
- package/src/lib/progress-bar/progress-bar.component.ts +0 -109
- package/src/lib/search-bar/index.ts +0 -2
- package/src/lib/search-bar/search-bar.component.html +0 -26
- package/src/lib/search-bar/search-bar.component.scss +0 -100
- package/src/lib/search-bar/search-bar.component.spec.ts +0 -23
- package/src/lib/search-bar/search-bar.component.ts +0 -70
- package/src/lib/section-collapse-drawer-child/index.ts +0 -2
- package/src/lib/section-collapse-drawer-child/section-collapse-drawer-child.component.html +0 -15
- package/src/lib/section-collapse-drawer-child/section-collapse-drawer-child.component.scss +0 -52
- package/src/lib/section-collapse-drawer-child/section-collapse-drawer-child.component.spec.ts +0 -23
- package/src/lib/section-collapse-drawer-child/section-collapse-drawer-child.component.ts +0 -45
- package/src/lib/section-collapse-drawer-parent/index.ts +0 -2
- package/src/lib/section-collapse-drawer-parent/section-collapse-drawer-parent.component.html +0 -16
- package/src/lib/section-collapse-drawer-parent/section-collapse-drawer-parent.component.scss +0 -52
- package/src/lib/section-collapse-drawer-parent/section-collapse-drawer-parent.component.spec.ts +0 -23
- package/src/lib/section-collapse-drawer-parent/section-collapse-drawer-parent.component.ts +0 -46
- package/src/lib/segment/index.ts +0 -1
- package/src/lib/segment/segment.component.html +0 -15
- package/src/lib/segment/segment.component.scss +0 -62
- package/src/lib/segment/segment.component.spec.ts +0 -23
- package/src/lib/segment/segment.component.ts +0 -34
- package/src/lib/simple-card-contador/index.ts +0 -2
- package/src/lib/simple-card-contador/simple-card-contador.component.html +0 -39
- package/src/lib/simple-card-contador/simple-card-contador.component.scss +0 -110
- package/src/lib/simple-card-contador/simple-card-contador.component.spec.ts +0 -23
- package/src/lib/simple-card-contador/simple-card-contador.component.ts +0 -56
- package/src/lib/simple-chip/index.ts +0 -2
- package/src/lib/simple-chip/simple-chip.component.html +0 -8
- package/src/lib/simple-chip/simple-chip.component.scss +0 -49
- package/src/lib/simple-chip/simple-chip.component.spec.ts +0 -23
- package/src/lib/simple-chip/simple-chip.component.ts +0 -26
- package/src/lib/simple-divider/index.ts +0 -2
- package/src/lib/simple-divider/simple-divider.component.html +0 -1
- package/src/lib/simple-divider/simple-divider.component.scss +0 -9
- package/src/lib/simple-divider/simple-divider.component.spec.ts +0 -23
- package/src/lib/simple-divider/simple-divider.component.ts +0 -12
- package/src/lib/simple-user-card/index.ts +0 -2
- package/src/lib/simple-user-card/simple-user-card.component.html +0 -20
- package/src/lib/simple-user-card/simple-user-card.component.scss +0 -113
- package/src/lib/simple-user-card/simple-user-card.component.spec.ts +0 -23
- package/src/lib/simple-user-card/simple-user-card.component.ts +0 -17
- package/src/lib/slide-toggle/index.ts +0 -1
- package/src/lib/slide-toggle/slide-toggle.component.html +0 -6
- package/src/lib/slide-toggle/slide-toggle.component.scss +0 -49
- package/src/lib/slide-toggle/slide-toggle.component.spec.ts +0 -23
- package/src/lib/slide-toggle/slide-toggle.component.ts +0 -19
- package/src/lib/snackbar/index.ts +0 -1
- package/src/lib/snackbar/snackbar.component.html +0 -10
- package/src/lib/snackbar/snackbar.component.scss +0 -92
- package/src/lib/snackbar/snackbar.component.spec.ts +0 -23
- package/src/lib/snackbar/snackbar.component.ts +0 -34
- package/src/lib/support-panel/index.ts +0 -1
- package/src/lib/support-panel/support-panel.component.html +0 -30
- package/src/lib/support-panel/support-panel.component.scss +0 -72
- package/src/lib/support-panel/support-panel.component.spec.ts +0 -23
- package/src/lib/support-panel/support-panel.component.ts +0 -44
- package/src/lib/toolbar/index.ts +0 -1
- package/src/lib/toolbar/toolbar.component.html +0 -127
- package/src/lib/toolbar/toolbar.component.scss +0 -139
- package/src/lib/toolbar/toolbar.component.spec.ts +0 -23
- package/src/lib/toolbar/toolbar.component.ts +0 -388
- package/src/lib/toolbar-user-menu/index.ts +0 -1
- package/src/lib/toolbar-user-menu/toolbar-user-menu.component.html +0 -180
- package/src/lib/toolbar-user-menu/toolbar-user-menu.component.scss +0 -282
- package/src/lib/toolbar-user-menu/toolbar-user-menu.component.spec.ts +0 -23
- package/src/lib/toolbar-user-menu/toolbar-user-menu.component.ts +0 -111
- package/src/lib/user-card/index.ts +0 -1
- package/src/lib/user-card/user-card.component.html +0 -81
- package/src/lib/user-card/user-card.component.scss +0 -235
- package/src/lib/user-card/user-card.component.spec.ts +0 -23
- package/src/lib/user-card/user-card.component.ts +0 -67
- package/src/public-api.ts +0 -108
- package/tsconfig.lib.json +0 -14
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -14
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export * from './input-card.component';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9pdXMtZGVzaWduLWNvbXBvbmVudHMvc3JjL2xpYi9pbnB1dC1jYXJkL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsd0JBQXdCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2lucHV0LWNhcmQuY29tcG9uZW50JztcclxuXHJcbiJdfQ==
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import { Component, EventEmitter, Input, Output, ViewChild } from '@angular/core';
|
|
2
|
+
import { IconMdComponent } from '../icon-md/icon-md.component';
|
|
3
|
+
import { CommonModule } from '@angular/common';
|
|
4
|
+
import { FormsModule } from '@angular/forms';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "@angular/forms";
|
|
7
|
+
import * as i2 from "@angular/common";
|
|
8
|
+
export class InputCardComponent {
|
|
9
|
+
constructor() {
|
|
10
|
+
this.textInputCvv = '';
|
|
11
|
+
this.textInputMonth = '';
|
|
12
|
+
this.textInputYear = '';
|
|
13
|
+
this.isFocused = false;
|
|
14
|
+
this.isAlertText = false;
|
|
15
|
+
this.required = false;
|
|
16
|
+
this.disabled = false;
|
|
17
|
+
this.isEnableClearText = false;
|
|
18
|
+
this.showHelpText = false;
|
|
19
|
+
this.onChangesValueMonth = new EventEmitter();
|
|
20
|
+
this.onChangesValueYear = new EventEmitter();
|
|
21
|
+
this.onChangesValueCVV = new EventEmitter();
|
|
22
|
+
this.onEnterKey = new EventEmitter();
|
|
23
|
+
this.month = '';
|
|
24
|
+
this.year = '';
|
|
25
|
+
this.numeroCVV = '';
|
|
26
|
+
}
|
|
27
|
+
ngOnInit() {
|
|
28
|
+
if (this.initialTextCvv) {
|
|
29
|
+
this.textInputCvv = this.initialTextCvv;
|
|
30
|
+
this.numeroCVV = this.initialTextCvv;
|
|
31
|
+
}
|
|
32
|
+
if (this.initialTextMonth) {
|
|
33
|
+
this.textInputMonth = this.initialTextMonth;
|
|
34
|
+
this.month = this.initialTextMonth;
|
|
35
|
+
}
|
|
36
|
+
if (this.initialTextYear) {
|
|
37
|
+
this.textInputYear = this.initialTextYear;
|
|
38
|
+
this.year = this.initialTextYear;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
clearSearch() {
|
|
42
|
+
this.month = '';
|
|
43
|
+
this.year = '';
|
|
44
|
+
this.numeroCVV = '';
|
|
45
|
+
this.onChangesValueMonth.emit(this.month);
|
|
46
|
+
this.onChangesValueYear.emit(this.year);
|
|
47
|
+
this.onChangesValueCVV.emit(this.numeroCVV);
|
|
48
|
+
}
|
|
49
|
+
onChangeCVV(event) {
|
|
50
|
+
const value = event.target.value ?? '';
|
|
51
|
+
let soloDigitos = value.replace(/\D+/g, '');
|
|
52
|
+
if (soloDigitos.length > 3) {
|
|
53
|
+
soloDigitos = soloDigitos.substring(0, 3);
|
|
54
|
+
}
|
|
55
|
+
if (soloDigitos === '0') {
|
|
56
|
+
soloDigitos = '';
|
|
57
|
+
}
|
|
58
|
+
this.numeroCVV = soloDigitos;
|
|
59
|
+
event.target.value = this.numeroCVV;
|
|
60
|
+
this.onChangesValueCVV.emit(this.numeroCVV);
|
|
61
|
+
}
|
|
62
|
+
onChangeMonth(e) {
|
|
63
|
+
let value = e.target.value.replace(/\D/g, '');
|
|
64
|
+
// limitar 01-12
|
|
65
|
+
if (value.length === 2) {
|
|
66
|
+
let num = parseInt(value, 10);
|
|
67
|
+
if (num < 1)
|
|
68
|
+
value = '01';
|
|
69
|
+
if (num > 12)
|
|
70
|
+
value = '12';
|
|
71
|
+
}
|
|
72
|
+
this.month = value;
|
|
73
|
+
e.target.value = value;
|
|
74
|
+
// auto focus al año
|
|
75
|
+
if (value.length === 2) {
|
|
76
|
+
this.yearInput?.nativeElement.focus();
|
|
77
|
+
}
|
|
78
|
+
this.onChangesValueMonth.emit(this.month);
|
|
79
|
+
}
|
|
80
|
+
onChangeYear(e) {
|
|
81
|
+
let value = e.target.value.replace(/\D/g, '');
|
|
82
|
+
if (value.length > 4) {
|
|
83
|
+
value = value.substring(0, 4);
|
|
84
|
+
}
|
|
85
|
+
if (value.length === 4) {
|
|
86
|
+
const year = parseInt(value, 10);
|
|
87
|
+
if (year < 2025 || year > 2099) {
|
|
88
|
+
value = '';
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
this.year = value;
|
|
92
|
+
e.target.value = value;
|
|
93
|
+
this.onChangesValueYear.emit(this.year);
|
|
94
|
+
}
|
|
95
|
+
onKeyDown(event) {
|
|
96
|
+
const allowedKeys = ['Backspace', 'Tab', 'ArrowLeft', 'ArrowRight', 'Delete', 'Home', 'End'];
|
|
97
|
+
if (!/[0-9]/.test(event.key) &&
|
|
98
|
+
!allowedKeys.includes(event.key)) {
|
|
99
|
+
event.preventDefault();
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Bloquea el drop de contenido
|
|
104
|
+
*/
|
|
105
|
+
onDropBlock(event) {
|
|
106
|
+
event.preventDefault();
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* Bloquea el dragover para evitar drop
|
|
110
|
+
*/
|
|
111
|
+
onDragOverBlock(event) {
|
|
112
|
+
event.preventDefault();
|
|
113
|
+
}
|
|
114
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: InputCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
115
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: InputCardComponent, isStandalone: true, selector: "ius-input-card", inputs: { textInputCvv: "textInputCvv", textInputMonth: "textInputMonth", textInputYear: "textInputYear", required: "required", disabled: "disabled", isEnableClearText: "isEnableClearText", showHelpText: "showHelpText", labelSuperior: "labelSuperior", labelInferior: "labelInferior", iconInput: "iconInput", initialTextCvv: "initialTextCvv", initialTextMonth: "initialTextMonth", initialTextYear: "initialTextYear" }, outputs: { onChangesValueMonth: "onChangesValueMonth", onChangesValueYear: "onChangesValueYear", onChangesValueCVV: "onChangesValueCVV", onEnterKey: "onEnterKey" }, viewQueries: [{ propertyName: "yearInput", first: true, predicate: ["yearInput"], descendants: true }], ngImport: i0, template: "<div class=\"container-general\">\r\n @if (labelSuperior) {\r\n <div class=\"container-label-sup\" [ngClass]=\"{\r\n disabled: disabled\r\n }\">\r\n @if(!disabled && required){\r\n <div class=\"icon-dot\" aria-hidden=\"true\"></div>\r\n }\r\n <label class=\"label-text\" [id]=\"'label-' + labelSuperior\">{{ labelSuperior }}</label>\r\n @if(!disabled && showHelpText){\r\n <ius-icon-md iconName=\"icon-help\" class=\"icon-color-help\" role=\"img\"\r\n aria-label=\"Informaci\u00F3n de ayuda\"></ius-icon-md>\r\n }\r\n <span aria-hidden=\"true\">:</span>\r\n </div>\r\n }\r\n\r\n <div class=\"inputs-wrapper\">\r\n <div class=\"inputs-container\">\r\n @if (iconInput) {\r\n <ius-icon-md [iconName]=\"iconInput\" class=\"icon-color\" aria-hidden=\"true\"></ius-icon-md>\r\n }\r\n\r\n <div class=\"card-date-container container-card\" role=\"group\" aria-labelledby=\"label-fecha\" [ngClass]=\"{\r\n disabled: disabled,\r\n focused: isFocused,\r\n alert: !isFocused && isAlertText && !disabled\r\n }\">\r\n <!-- MES -->\r\n <input type=\"text\" maxlength=\"2\" inputmode=\"numeric\" class=\"date-input\" id=\"month-input\" placeholder=\"MM\"\r\n aria-label=\"Mes (MM)\" [disabled]=\"disabled\" (input)=\"onChangeMonth($event)\" (keydown)=\"onKeyDown($event)\"\r\n [(ngModel)]=\"textInputMonth\" (drop)=\"onDropBlock($event)\" (dragover)=\"onDragOverBlock($event)\" />\r\n\r\n <span class=\"separator\" aria-hidden=\"true\">/</span>\r\n\r\n <!-- A\u00D1O -->\r\n <input type=\"text\" maxlength=\"4\" inputmode=\"numeric\" class=\"date-input year\" id=\"year-input\" placeholder=\"AAAA\"\r\n aria-label=\"A\u00F1o (AAAA)\" [disabled]=\"disabled\" (input)=\"onChangeYear($event)\" (keydown)=\"onKeyDown($event)\"\r\n [(ngModel)]=\"textInputYear\" (drop)=\"onDropBlock($event)\" (dragover)=\"onDragOverBlock($event)\" #yearInput />\r\n </div>\r\n\r\n <div class=\"container-card cvv-container\" role=\"group\" aria-labelledby=\"label-cvv\" [ngClass]=\"{\r\n disabled: disabled,\r\n focused: isFocused,\r\n alert: !isFocused && isAlertText && !disabled\r\n }\">\r\n <input type=\"text\" maxlength=\"3\" inputmode=\"numeric\" class=\"cvv-input\" id=\"cvv-input\" placeholder=\"CVV\"\r\n aria-label=\"CVV (3 d\u00EDgitos)\" [disabled]=\"disabled\" (input)=\"onChangeCVV($event)\" (keydown)=\"onKeyDown($event)\"\r\n [(ngModel)]=\"textInputCvv\" (drop)=\"onDropBlock($event)\" (dragover)=\"onDragOverBlock($event)\" />\r\n </div>\r\n </div>\r\n\r\n @if (!disabled && isEnableClearText) {\r\n <button class=\"button-delete\" type=\"button\" aria-label=\"Limpiar formulario\" (click)=\"clearSearch()\">\r\n <ius-icon-md iconName=\"icon-cancel\" class=\"icon-color-cancel\" aria-hidden=\"true\"></ius-icon-md>\r\n </button>\r\n }\r\n </div>\r\n\r\n @if (labelInferior && isFocused) {\r\n <span class=\"label-inf\" role=\"status\" aria-live=\"polite\">{{ labelInferior }}</span>\r\n } @if (labelInferior && !isFocused && isAlertText) {\r\n <span class=\"label-inf\" role=\"alert\" [ngClass]=\"{\r\n alert: !isFocused && isAlertText && !disabled\r\n }\">{{ labelInferior }}</span>\r\n }\r\n</div>", styles: [".h1{font-family:Roboto,sans-serif;font-size:2.375rem;font-weight:500;line-height:46px}.h2{font-family:Roboto,sans-serif;font-size:1.875rem;font-weight:700;line-height:38px}.h3{font-family:Roboto,sans-serif;font-size:1.5rem;font-weight:500;line-height:32px}.h4{font-family:Roboto,sans-serif;font-size:1.25rem;font-weight:700;line-height:26px}.h5{font-family:Roboto,sans-serif;font-size:1.125rem;font-weight:500;line-height:24px;letter-spacing:.18px}.label-large{font-family:Roboto,sans-serif;font-size:1rem;font-weight:500;line-height:22px}.body-large{font-family:Rubik,sans-serif;font-size:1rem;font-weight:400;line-height:22px}.label-base{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:500;line-height:20px;letter-spacing:.28px}.body-base{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;font-style:italic;letter-spacing:.28px}.body-base-1,.body-base-1-1{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;letter-spacing:.28px}.body-sm{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:400;line-height:16px;letter-spacing:.28px}.body-sm-italic{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:400;line-height:16px;font-style:italic;letter-spacing:.28px}.caption-sm{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:500;line-height:16px;letter-spacing:.28px}.caption-sm-italic{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:500;line-height:16px;font-style:italic;letter-spacing:.28px}.container-general{position:relative;height:100%}.container-card{display:flex;padding:10px 12px;justify-content:flex-start;align-items:center;gap:4px;border:1px solid #f5f5f5;border-radius:8px;background:#f5f5f5;font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;letter-spacing:.28px;transition:all .2s ease-in-out}.container-card:hover:not(.disabled):not(.focused):not(.alert){background:#edf6ff}.container-card.focused{border:1px solid #0581BC;background:#edf6ff}.container-card.disabled{background:#f5f5f5}.container-card.disabled .icon-color,.container-card.disabled input{color:#bfbfbf}.container-card.disabled input::placeholder{color:#bfbfbf;opacity:1}.container-card.alert{border:1px solid #DB2E2A;background:#fff4f0}.icon-color{color:#595959}.icon-color-cancel{color:#013169}.container-card input,.card-date-container input{display:flex;align-items:center;border:none;outline:none;background-color:transparent;font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;letter-spacing:.28px}.container-card input:disabled,.card-date-container input:disabled{color:#bfbfbf}.button-delete{display:flex;align-items:center;justify-content:center;background:none;border:none;cursor:pointer;padding:0;color:#595959}.button-delete:hover{color:#013169}.container-label-sup{display:flex;align-items:center;gap:4px;margin-bottom:8px;color:#333;font-family:Rubik,sans-serif;font-size:.875rem;font-weight:500;line-height:20px;letter-spacing:.28px}.container-label-sup.disabled{color:#bfbfbf}.icon-dot{display:flex;align-items:center;width:4px;height:4px;aspect-ratio:1/1;background-color:#db2e2a;border-radius:100px}.icon-color-help{color:#8c8c8c}.label-inf{display:flex;position:absolute;top:calc(100% + 4px);left:0;margin-top:4px;color:#595959;font-family:Roboto,sans-serif;font-size:.75rem;font-style:italic;font-weight:500;line-height:16px;letter-spacing:.24px}.label-inf.alert{color:#931224}.label-text{cursor:pointer}.inputs-wrapper{position:relative}.inputs-container{display:flex;gap:12px;align-items:center}.cvv-container{padding:10px 8px;flex-shrink:0}.cvv-input{display:flex;align-items:center;border:none;outline:none;background-color:transparent;font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;letter-spacing:.28px;text-align:center;width:45px;flex:0 0 auto}.card-date-container{display:flex;align-items:center;justify-content:center;gap:4px;flex:1 1 auto}.date-input{border:none;outline:none;background:transparent;font-size:.875rem;width:30px;text-align:center;flex:0 0 auto}.date-input.year{width:50px}.separator{margin:0 4px;opacity:.6;flex:0 0 auto}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}\n"], dependencies: [{ kind: "component", type: IconMdComponent, selector: "ius-icon-md", inputs: ["iconName", "color"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] }); }
|
|
116
|
+
}
|
|
117
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: InputCardComponent, decorators: [{
|
|
118
|
+
type: Component,
|
|
119
|
+
args: [{ selector: 'ius-input-card', standalone: true, imports: [IconMdComponent, FormsModule, CommonModule], template: "<div class=\"container-general\">\r\n @if (labelSuperior) {\r\n <div class=\"container-label-sup\" [ngClass]=\"{\r\n disabled: disabled\r\n }\">\r\n @if(!disabled && required){\r\n <div class=\"icon-dot\" aria-hidden=\"true\"></div>\r\n }\r\n <label class=\"label-text\" [id]=\"'label-' + labelSuperior\">{{ labelSuperior }}</label>\r\n @if(!disabled && showHelpText){\r\n <ius-icon-md iconName=\"icon-help\" class=\"icon-color-help\" role=\"img\"\r\n aria-label=\"Informaci\u00F3n de ayuda\"></ius-icon-md>\r\n }\r\n <span aria-hidden=\"true\">:</span>\r\n </div>\r\n }\r\n\r\n <div class=\"inputs-wrapper\">\r\n <div class=\"inputs-container\">\r\n @if (iconInput) {\r\n <ius-icon-md [iconName]=\"iconInput\" class=\"icon-color\" aria-hidden=\"true\"></ius-icon-md>\r\n }\r\n\r\n <div class=\"card-date-container container-card\" role=\"group\" aria-labelledby=\"label-fecha\" [ngClass]=\"{\r\n disabled: disabled,\r\n focused: isFocused,\r\n alert: !isFocused && isAlertText && !disabled\r\n }\">\r\n <!-- MES -->\r\n <input type=\"text\" maxlength=\"2\" inputmode=\"numeric\" class=\"date-input\" id=\"month-input\" placeholder=\"MM\"\r\n aria-label=\"Mes (MM)\" [disabled]=\"disabled\" (input)=\"onChangeMonth($event)\" (keydown)=\"onKeyDown($event)\"\r\n [(ngModel)]=\"textInputMonth\" (drop)=\"onDropBlock($event)\" (dragover)=\"onDragOverBlock($event)\" />\r\n\r\n <span class=\"separator\" aria-hidden=\"true\">/</span>\r\n\r\n <!-- A\u00D1O -->\r\n <input type=\"text\" maxlength=\"4\" inputmode=\"numeric\" class=\"date-input year\" id=\"year-input\" placeholder=\"AAAA\"\r\n aria-label=\"A\u00F1o (AAAA)\" [disabled]=\"disabled\" (input)=\"onChangeYear($event)\" (keydown)=\"onKeyDown($event)\"\r\n [(ngModel)]=\"textInputYear\" (drop)=\"onDropBlock($event)\" (dragover)=\"onDragOverBlock($event)\" #yearInput />\r\n </div>\r\n\r\n <div class=\"container-card cvv-container\" role=\"group\" aria-labelledby=\"label-cvv\" [ngClass]=\"{\r\n disabled: disabled,\r\n focused: isFocused,\r\n alert: !isFocused && isAlertText && !disabled\r\n }\">\r\n <input type=\"text\" maxlength=\"3\" inputmode=\"numeric\" class=\"cvv-input\" id=\"cvv-input\" placeholder=\"CVV\"\r\n aria-label=\"CVV (3 d\u00EDgitos)\" [disabled]=\"disabled\" (input)=\"onChangeCVV($event)\" (keydown)=\"onKeyDown($event)\"\r\n [(ngModel)]=\"textInputCvv\" (drop)=\"onDropBlock($event)\" (dragover)=\"onDragOverBlock($event)\" />\r\n </div>\r\n </div>\r\n\r\n @if (!disabled && isEnableClearText) {\r\n <button class=\"button-delete\" type=\"button\" aria-label=\"Limpiar formulario\" (click)=\"clearSearch()\">\r\n <ius-icon-md iconName=\"icon-cancel\" class=\"icon-color-cancel\" aria-hidden=\"true\"></ius-icon-md>\r\n </button>\r\n }\r\n </div>\r\n\r\n @if (labelInferior && isFocused) {\r\n <span class=\"label-inf\" role=\"status\" aria-live=\"polite\">{{ labelInferior }}</span>\r\n } @if (labelInferior && !isFocused && isAlertText) {\r\n <span class=\"label-inf\" role=\"alert\" [ngClass]=\"{\r\n alert: !isFocused && isAlertText && !disabled\r\n }\">{{ labelInferior }}</span>\r\n }\r\n</div>", styles: [".h1{font-family:Roboto,sans-serif;font-size:2.375rem;font-weight:500;line-height:46px}.h2{font-family:Roboto,sans-serif;font-size:1.875rem;font-weight:700;line-height:38px}.h3{font-family:Roboto,sans-serif;font-size:1.5rem;font-weight:500;line-height:32px}.h4{font-family:Roboto,sans-serif;font-size:1.25rem;font-weight:700;line-height:26px}.h5{font-family:Roboto,sans-serif;font-size:1.125rem;font-weight:500;line-height:24px;letter-spacing:.18px}.label-large{font-family:Roboto,sans-serif;font-size:1rem;font-weight:500;line-height:22px}.body-large{font-family:Rubik,sans-serif;font-size:1rem;font-weight:400;line-height:22px}.label-base{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:500;line-height:20px;letter-spacing:.28px}.body-base{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;font-style:italic;letter-spacing:.28px}.body-base-1,.body-base-1-1{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;letter-spacing:.28px}.body-sm{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:400;line-height:16px;letter-spacing:.28px}.body-sm-italic{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:400;line-height:16px;font-style:italic;letter-spacing:.28px}.caption-sm{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:500;line-height:16px;letter-spacing:.28px}.caption-sm-italic{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:500;line-height:16px;font-style:italic;letter-spacing:.28px}.container-general{position:relative;height:100%}.container-card{display:flex;padding:10px 12px;justify-content:flex-start;align-items:center;gap:4px;border:1px solid #f5f5f5;border-radius:8px;background:#f5f5f5;font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;letter-spacing:.28px;transition:all .2s ease-in-out}.container-card:hover:not(.disabled):not(.focused):not(.alert){background:#edf6ff}.container-card.focused{border:1px solid #0581BC;background:#edf6ff}.container-card.disabled{background:#f5f5f5}.container-card.disabled .icon-color,.container-card.disabled input{color:#bfbfbf}.container-card.disabled input::placeholder{color:#bfbfbf;opacity:1}.container-card.alert{border:1px solid #DB2E2A;background:#fff4f0}.icon-color{color:#595959}.icon-color-cancel{color:#013169}.container-card input,.card-date-container input{display:flex;align-items:center;border:none;outline:none;background-color:transparent;font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;letter-spacing:.28px}.container-card input:disabled,.card-date-container input:disabled{color:#bfbfbf}.button-delete{display:flex;align-items:center;justify-content:center;background:none;border:none;cursor:pointer;padding:0;color:#595959}.button-delete:hover{color:#013169}.container-label-sup{display:flex;align-items:center;gap:4px;margin-bottom:8px;color:#333;font-family:Rubik,sans-serif;font-size:.875rem;font-weight:500;line-height:20px;letter-spacing:.28px}.container-label-sup.disabled{color:#bfbfbf}.icon-dot{display:flex;align-items:center;width:4px;height:4px;aspect-ratio:1/1;background-color:#db2e2a;border-radius:100px}.icon-color-help{color:#8c8c8c}.label-inf{display:flex;position:absolute;top:calc(100% + 4px);left:0;margin-top:4px;color:#595959;font-family:Roboto,sans-serif;font-size:.75rem;font-style:italic;font-weight:500;line-height:16px;letter-spacing:.24px}.label-inf.alert{color:#931224}.label-text{cursor:pointer}.inputs-wrapper{position:relative}.inputs-container{display:flex;gap:12px;align-items:center}.cvv-container{padding:10px 8px;flex-shrink:0}.cvv-input{display:flex;align-items:center;border:none;outline:none;background-color:transparent;font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;letter-spacing:.28px;text-align:center;width:45px;flex:0 0 auto}.card-date-container{display:flex;align-items:center;justify-content:center;gap:4px;flex:1 1 auto}.date-input{border:none;outline:none;background:transparent;font-size:.875rem;width:30px;text-align:center;flex:0 0 auto}.date-input.year{width:50px}.separator{margin:0 4px;opacity:.6;flex:0 0 auto}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}\n"] }]
|
|
120
|
+
}], propDecorators: { yearInput: [{
|
|
121
|
+
type: ViewChild,
|
|
122
|
+
args: ['yearInput']
|
|
123
|
+
}], textInputCvv: [{
|
|
124
|
+
type: Input
|
|
125
|
+
}], textInputMonth: [{
|
|
126
|
+
type: Input
|
|
127
|
+
}], textInputYear: [{
|
|
128
|
+
type: Input
|
|
129
|
+
}], required: [{
|
|
130
|
+
type: Input
|
|
131
|
+
}], disabled: [{
|
|
132
|
+
type: Input
|
|
133
|
+
}], isEnableClearText: [{
|
|
134
|
+
type: Input
|
|
135
|
+
}], showHelpText: [{
|
|
136
|
+
type: Input
|
|
137
|
+
}], labelSuperior: [{
|
|
138
|
+
type: Input
|
|
139
|
+
}], labelInferior: [{
|
|
140
|
+
type: Input
|
|
141
|
+
}], iconInput: [{
|
|
142
|
+
type: Input
|
|
143
|
+
}], initialTextCvv: [{
|
|
144
|
+
type: Input
|
|
145
|
+
}], initialTextMonth: [{
|
|
146
|
+
type: Input
|
|
147
|
+
}], initialTextYear: [{
|
|
148
|
+
type: Input
|
|
149
|
+
}], onChangesValueMonth: [{
|
|
150
|
+
type: Output
|
|
151
|
+
}], onChangesValueYear: [{
|
|
152
|
+
type: Output
|
|
153
|
+
}], onChangesValueCVV: [{
|
|
154
|
+
type: Output
|
|
155
|
+
}], onEnterKey: [{
|
|
156
|
+
type: Output
|
|
157
|
+
}] } });
|
|
158
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtY2FyZC5jb21wb25lb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|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export * from './input-large.component';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9pdXMtZGVzaWduLWNvbXBvbmVudHMvc3JjL2xpYi9pbnB1dC1sYXJnZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLHlCQUF5QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9pbnB1dC1sYXJnZS5jb21wb25lbnQnO1xyXG5cclxuIl19
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
+
import { IconMdComponent } from '../icon-md';
|
|
3
|
+
import { CommonModule } from '@angular/common';
|
|
4
|
+
import { FormsModule } from '@angular/forms';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "@angular/forms";
|
|
7
|
+
import * as i2 from "@angular/common";
|
|
8
|
+
export class InputLargeComponent {
|
|
9
|
+
constructor() {
|
|
10
|
+
this.textInput = '';
|
|
11
|
+
this.isFocused = false;
|
|
12
|
+
this.isAlertText = false;
|
|
13
|
+
this.required = false;
|
|
14
|
+
this.disabled = false;
|
|
15
|
+
this.showHelpText = false;
|
|
16
|
+
this.rows = 4;
|
|
17
|
+
this.error = false;
|
|
18
|
+
this.labelInput = '';
|
|
19
|
+
this.onChangesValueEvent = new EventEmitter();
|
|
20
|
+
this.onEnterKey = new EventEmitter();
|
|
21
|
+
this.onBlurEvent = new EventEmitter();
|
|
22
|
+
}
|
|
23
|
+
ngOnInit() {
|
|
24
|
+
if (this.initialText) {
|
|
25
|
+
this.textInput = this.initialText;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
onInput() {
|
|
29
|
+
this.onChangesValueEvent.emit(this.textInput);
|
|
30
|
+
}
|
|
31
|
+
onFocus() {
|
|
32
|
+
this.isFocused = true;
|
|
33
|
+
}
|
|
34
|
+
onBlur() {
|
|
35
|
+
this.isFocused = false;
|
|
36
|
+
if (this.required) {
|
|
37
|
+
if (this.textInput === '') {
|
|
38
|
+
this.isAlertText = true;
|
|
39
|
+
}
|
|
40
|
+
else {
|
|
41
|
+
this.isAlertText = false;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
this.onBlurEvent.emit();
|
|
45
|
+
}
|
|
46
|
+
onKeyPress(event) {
|
|
47
|
+
if (event.key === 'Enter') {
|
|
48
|
+
if (this.textInput.trim() !== '') {
|
|
49
|
+
this.onEnterKey.emit(this.textInput);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
onDropBlock(event) {
|
|
54
|
+
// Evita que se dropee contenido en el input
|
|
55
|
+
event.preventDefault();
|
|
56
|
+
}
|
|
57
|
+
onDragOverBlock(event) {
|
|
58
|
+
// Evita que se permita arrastrar texto sobre el input
|
|
59
|
+
event.preventDefault();
|
|
60
|
+
}
|
|
61
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: InputLargeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
62
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: InputLargeComponent, isStandalone: true, selector: "ius-input-large", inputs: { textInput: "textInput", required: "required", disabled: "disabled", showHelpText: "showHelpText", rows: "rows", error: "error", labelSuperior: "labelSuperior", labelInferior: "labelInferior", errorText: "errorText", labelInput: "labelInput", maxlenght: "maxlenght", initialText: "initialText" }, outputs: { onChangesValueEvent: "onChangesValueEvent", onEnterKey: "onEnterKey", onBlurEvent: "onBlurEvent" }, ngImport: i0, template: "<div class=\"container-general\">\r\n @if (labelSuperior) {\r\n <div\r\n class=\"container-label-sup\"\r\n [ngClass]=\"{\r\n disabled: disabled\r\n }\"\r\n >\r\n @if(!disabled && required){\r\n <div class=\"icon-dot\"></div>\r\n }\r\n <span class=\"\">{{ labelSuperior }}</span>\r\n @if(!disabled && showHelpText){\r\n <ius-icon-md iconName=\"icon-help\" class=\"icon-color-help\"></ius-icon-md>\r\n }\r\n <span>:</span>\r\n </div>\r\n }\r\n <div\r\n class=\"container-textfield\"\r\n [ngClass]=\"{\r\n disabled: disabled,\r\n focused: isFocused,\r\n alert: (!isFocused && isAlertText && !disabled) || (error && !disabled)\r\n }\"\r\n >\r\n <textarea class=\"scrollable-area\"\r\n [(ngModel)]=\"textInput\"\r\n [placeholder]=\"labelInput\"\r\n [disabled]=\"disabled\"\r\n [rows]=\"rows\"\r\n [maxlength]=\"maxlenght ?? null\"\r\n (input)=\"onInput()\"\r\n (focus)=\"onFocus()\"\r\n (blur)=\"onBlur()\"\r\n (keypress)=\"onKeyPress($event)\"\r\n (drop)=\"onDropBlock($event)\"\r\n (dragover)=\"onDragOverBlock($event)\"\r\n ></textarea>\r\n </div>\r\n @if (labelInferior && isFocused && !error) {\r\n <span class=\"label-inf\">{{ labelInferior }}</span>\r\n } @if ((errorText || labelInferior) && ((!isFocused && isAlertText && !disabled) || (error && !disabled))) {\r\n <span class=\"label-inf alert\">{{ errorText ?? labelInferior }}</span>\r\n }\r\n</div>\r\n", styles: [".h1{font-family:Roboto,sans-serif;font-size:2.375rem;font-weight:500;line-height:46px}.h2{font-family:Roboto,sans-serif;font-size:1.875rem;font-weight:700;line-height:38px}.h3{font-family:Roboto,sans-serif;font-size:1.5rem;font-weight:500;line-height:32px}.h4{font-family:Roboto,sans-serif;font-size:1.25rem;font-weight:700;line-height:26px}.h5{font-family:Roboto,sans-serif;font-size:1.125rem;font-weight:500;line-height:24px;letter-spacing:.18px}.label-large{font-family:Roboto,sans-serif;font-size:1rem;font-weight:500;line-height:22px}.body-large{font-family:Rubik,sans-serif;font-size:1rem;font-weight:400;line-height:22px}.label-base{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:500;line-height:20px;letter-spacing:.28px}.body-base{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;font-style:italic;letter-spacing:.28px}.body-base-1,.body-base-1-1{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;letter-spacing:.28px}.body-sm{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:400;line-height:16px;letter-spacing:.28px}.body-sm-italic{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:400;line-height:16px;font-style:italic;letter-spacing:.28px}.caption-sm{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:500;line-height:16px;letter-spacing:.28px}.caption-sm-italic{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:500;line-height:16px;font-style:italic;letter-spacing:.28px}.container-general{position:relative;height:100%}.container-textfield{display:flex;padding:10px 12px;justify-content:flex-start;align-items:flex-start;gap:4px;border:1px solid #f5f5f5;border-radius:8px;background:#f5f5f5;font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;letter-spacing:.28px;transition:all .2s ease-in-out}.container-textfield:hover:not(.disabled):not(.focused):not(.alert){background:#edf6ff}.container-textfield.focused{border:1px solid #0581BC;background:#edf6ff}.container-textfield.disabled{background:#f5f5f5}.container-textfield.disabled textarea{color:#bfbfbf}.container-textfield.disabled textarea::placeholder{color:#bfbfbf;opacity:1}.container-textfield.alert{border:1px solid #DB2E2A;background:#fff4f0}textarea{display:flex;flex:1 0 0;border:none;outline:none;background-color:transparent;font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;letter-spacing:.28px;resize:vertical;padding:5px 0;overflow-y:auto;color:#333}textarea::placeholder{color:#8c8c8c}.scrollable-area{overflow:auto}.scrollable-area::-webkit-scrollbar-thumb:hover{background-color:#bfbfbf}.scrollable-area::-webkit-scrollbar-thumb:active{background-color:#8c8c8c}.scrollable-area::-webkit-scrollbar{-webkit-appearance:none}.scrollable-area::-webkit-scrollbar:vertical{width:7px}.scrollable-area::-webkit-scrollbar-thumb{background-color:#d8d6d6;border-radius:20px}.container-label-sup{display:flex;align-items:center;gap:4px;margin-bottom:8px;color:#333;font-family:Rubik,sans-serif;font-size:.875rem;font-weight:500;line-height:20px;letter-spacing:.28px}.container-label-sup.disabled{color:#bfbfbf}.icon-dot{display:flex;align-items:center;width:4px;height:4px;aspect-ratio:1/1;background-color:#db2e2a;border-radius:100px}.icon-color-help{color:#8c8c8c}.label-inf{display:flex;position:absolute;margin-top:4px;color:#595959;font-family:Roboto,sans-serif;font-size:.75rem;font-style:italic;font-weight:500;line-height:16px;letter-spacing:.24px}.label-inf.alert{color:#931224}\n"], dependencies: [{ kind: "component", type: IconMdComponent, selector: "ius-icon-md", inputs: ["iconName", "color"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] }); }
|
|
63
|
+
}
|
|
64
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: InputLargeComponent, decorators: [{
|
|
65
|
+
type: Component,
|
|
66
|
+
args: [{ selector: 'ius-input-large', standalone: true, imports: [IconMdComponent, FormsModule, CommonModule], template: "<div class=\"container-general\">\r\n @if (labelSuperior) {\r\n <div\r\n class=\"container-label-sup\"\r\n [ngClass]=\"{\r\n disabled: disabled\r\n }\"\r\n >\r\n @if(!disabled && required){\r\n <div class=\"icon-dot\"></div>\r\n }\r\n <span class=\"\">{{ labelSuperior }}</span>\r\n @if(!disabled && showHelpText){\r\n <ius-icon-md iconName=\"icon-help\" class=\"icon-color-help\"></ius-icon-md>\r\n }\r\n <span>:</span>\r\n </div>\r\n }\r\n <div\r\n class=\"container-textfield\"\r\n [ngClass]=\"{\r\n disabled: disabled,\r\n focused: isFocused,\r\n alert: (!isFocused && isAlertText && !disabled) || (error && !disabled)\r\n }\"\r\n >\r\n <textarea class=\"scrollable-area\"\r\n [(ngModel)]=\"textInput\"\r\n [placeholder]=\"labelInput\"\r\n [disabled]=\"disabled\"\r\n [rows]=\"rows\"\r\n [maxlength]=\"maxlenght ?? null\"\r\n (input)=\"onInput()\"\r\n (focus)=\"onFocus()\"\r\n (blur)=\"onBlur()\"\r\n (keypress)=\"onKeyPress($event)\"\r\n (drop)=\"onDropBlock($event)\"\r\n (dragover)=\"onDragOverBlock($event)\"\r\n ></textarea>\r\n </div>\r\n @if (labelInferior && isFocused && !error) {\r\n <span class=\"label-inf\">{{ labelInferior }}</span>\r\n } @if ((errorText || labelInferior) && ((!isFocused && isAlertText && !disabled) || (error && !disabled))) {\r\n <span class=\"label-inf alert\">{{ errorText ?? labelInferior }}</span>\r\n }\r\n</div>\r\n", styles: [".h1{font-family:Roboto,sans-serif;font-size:2.375rem;font-weight:500;line-height:46px}.h2{font-family:Roboto,sans-serif;font-size:1.875rem;font-weight:700;line-height:38px}.h3{font-family:Roboto,sans-serif;font-size:1.5rem;font-weight:500;line-height:32px}.h4{font-family:Roboto,sans-serif;font-size:1.25rem;font-weight:700;line-height:26px}.h5{font-family:Roboto,sans-serif;font-size:1.125rem;font-weight:500;line-height:24px;letter-spacing:.18px}.label-large{font-family:Roboto,sans-serif;font-size:1rem;font-weight:500;line-height:22px}.body-large{font-family:Rubik,sans-serif;font-size:1rem;font-weight:400;line-height:22px}.label-base{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:500;line-height:20px;letter-spacing:.28px}.body-base{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;font-style:italic;letter-spacing:.28px}.body-base-1,.body-base-1-1{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;letter-spacing:.28px}.body-sm{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:400;line-height:16px;letter-spacing:.28px}.body-sm-italic{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:400;line-height:16px;font-style:italic;letter-spacing:.28px}.caption-sm{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:500;line-height:16px;letter-spacing:.28px}.caption-sm-italic{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:500;line-height:16px;font-style:italic;letter-spacing:.28px}.container-general{position:relative;height:100%}.container-textfield{display:flex;padding:10px 12px;justify-content:flex-start;align-items:flex-start;gap:4px;border:1px solid #f5f5f5;border-radius:8px;background:#f5f5f5;font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;letter-spacing:.28px;transition:all .2s ease-in-out}.container-textfield:hover:not(.disabled):not(.focused):not(.alert){background:#edf6ff}.container-textfield.focused{border:1px solid #0581BC;background:#edf6ff}.container-textfield.disabled{background:#f5f5f5}.container-textfield.disabled textarea{color:#bfbfbf}.container-textfield.disabled textarea::placeholder{color:#bfbfbf;opacity:1}.container-textfield.alert{border:1px solid #DB2E2A;background:#fff4f0}textarea{display:flex;flex:1 0 0;border:none;outline:none;background-color:transparent;font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;letter-spacing:.28px;resize:vertical;padding:5px 0;overflow-y:auto;color:#333}textarea::placeholder{color:#8c8c8c}.scrollable-area{overflow:auto}.scrollable-area::-webkit-scrollbar-thumb:hover{background-color:#bfbfbf}.scrollable-area::-webkit-scrollbar-thumb:active{background-color:#8c8c8c}.scrollable-area::-webkit-scrollbar{-webkit-appearance:none}.scrollable-area::-webkit-scrollbar:vertical{width:7px}.scrollable-area::-webkit-scrollbar-thumb{background-color:#d8d6d6;border-radius:20px}.container-label-sup{display:flex;align-items:center;gap:4px;margin-bottom:8px;color:#333;font-family:Rubik,sans-serif;font-size:.875rem;font-weight:500;line-height:20px;letter-spacing:.28px}.container-label-sup.disabled{color:#bfbfbf}.icon-dot{display:flex;align-items:center;width:4px;height:4px;aspect-ratio:1/1;background-color:#db2e2a;border-radius:100px}.icon-color-help{color:#8c8c8c}.label-inf{display:flex;position:absolute;margin-top:4px;color:#595959;font-family:Roboto,sans-serif;font-size:.75rem;font-style:italic;font-weight:500;line-height:16px;letter-spacing:.24px}.label-inf.alert{color:#931224}\n"] }]
|
|
67
|
+
}], propDecorators: { textInput: [{
|
|
68
|
+
type: Input
|
|
69
|
+
}], required: [{
|
|
70
|
+
type: Input
|
|
71
|
+
}], disabled: [{
|
|
72
|
+
type: Input
|
|
73
|
+
}], showHelpText: [{
|
|
74
|
+
type: Input
|
|
75
|
+
}], rows: [{
|
|
76
|
+
type: Input
|
|
77
|
+
}], error: [{
|
|
78
|
+
type: Input
|
|
79
|
+
}], labelSuperior: [{
|
|
80
|
+
type: Input
|
|
81
|
+
}], labelInferior: [{
|
|
82
|
+
type: Input
|
|
83
|
+
}], errorText: [{
|
|
84
|
+
type: Input
|
|
85
|
+
}], labelInput: [{
|
|
86
|
+
type: Input
|
|
87
|
+
}], maxlenght: [{
|
|
88
|
+
type: Input
|
|
89
|
+
}], initialText: [{
|
|
90
|
+
type: Input
|
|
91
|
+
}], onChangesValueEvent: [{
|
|
92
|
+
type: Output
|
|
93
|
+
}], onEnterKey: [{
|
|
94
|
+
type: Output
|
|
95
|
+
}], onBlurEvent: [{
|
|
96
|
+
type: Output
|
|
97
|
+
}] } });
|
|
98
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtbGFyZ2UuY29tcG9uZW50LmpzI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VudClcIlxyXG4gICAgPjwvdGV4dGFyZWE+XHJcbiAgPC9kaXY+XHJcbiAgQGlmIChsYWJlbEluZmVyaW9yICYmIGlzRm9jdXNlZCAmJiAhZXJyb3IpIHtcclxuICA8c3BhbiBjbGFzcz1cImxhYmVsLWluZlwiPnt7IGxhYmVsSW5mZXJpb3IgfX08L3NwYW4+XHJcbiAgfSBAaWYgKChlcnJvclRleHQgfHwgbGFiZWxJbmZlcmlvcikgJiYgKCghaXNGb2N1c2VkICYmIGlzQWxlcnRUZXh0ICYmICFkaXNhYmxlZCkgfHwgKGVycm9yICYmICFkaXNhYmxlZCkpKSB7XHJcbiAgPHNwYW4gY2xhc3M9XCJsYWJlbC1pbmYgYWxlcnRcIj57eyBlcnJvclRleHQgPz8gbGFiZWxJbmZlcmlvciB9fTwvc3Bhbj5cclxuICB9XHJcbjwvZGl2PlxyXG4iXX0=
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export * from './input-otp.component';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9pdXMtZGVzaWduLWNvbXBvbmVudHMvc3JjL2xpYi9pbnB1dC1vdHAvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyx1QkFBdUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vaW5wdXQtb3RwLmNvbXBvbmVudCc7XHJcblxyXG4iXX0=
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
import { Component, EventEmitter, Input, Output, ViewChildren } from '@angular/core';
|
|
2
|
+
import { IconMdComponent } from '../icon-md/icon-md.component';
|
|
3
|
+
import { CommonModule } from '@angular/common';
|
|
4
|
+
import { FormsModule } from '@angular/forms';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "@angular/common";
|
|
7
|
+
export class InputOtpComponent {
|
|
8
|
+
constructor() {
|
|
9
|
+
this.length = 6;
|
|
10
|
+
this.disabled = false;
|
|
11
|
+
this.showHelpText = false;
|
|
12
|
+
this.required = true;
|
|
13
|
+
this.onChangesValueEvent = new EventEmitter();
|
|
14
|
+
this.codeComplete = new EventEmitter(); // cuando se llenan todas las casillas
|
|
15
|
+
this.values = [];
|
|
16
|
+
this.focusedIndex = null;
|
|
17
|
+
this.isAlertText = false;
|
|
18
|
+
}
|
|
19
|
+
get isAnyFocused() { return this.focusedIndex !== null; }
|
|
20
|
+
get boxes() { return Array.from({ length: this.length }); }
|
|
21
|
+
get code() { return this.values.join(''); }
|
|
22
|
+
ngOnInit() {
|
|
23
|
+
this.values = Array(this.length).fill('');
|
|
24
|
+
}
|
|
25
|
+
clearSearch() {
|
|
26
|
+
this.values.fill('');
|
|
27
|
+
this.emitChange();
|
|
28
|
+
this.isAlertText = this.required;
|
|
29
|
+
this.focusIndex(0);
|
|
30
|
+
}
|
|
31
|
+
onFocus(index) {
|
|
32
|
+
this.focusedIndex = index;
|
|
33
|
+
this.isAlertText = false;
|
|
34
|
+
}
|
|
35
|
+
onBlur() {
|
|
36
|
+
this.focusedIndex = null;
|
|
37
|
+
if (this.required) {
|
|
38
|
+
this.isAlertText = this.code.length !== this.length;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
// Restringe a dígitos y mueve el foco
|
|
42
|
+
onInputBox(e, index) {
|
|
43
|
+
const inputEvent = e;
|
|
44
|
+
const input = inputEvent.target;
|
|
45
|
+
const raw = (input.value || '').replace(/\D/g, '');
|
|
46
|
+
// Nos quedamos con el último dígito si escribió varios
|
|
47
|
+
const char = raw.slice(-1);
|
|
48
|
+
this.values[index] = char ?? '';
|
|
49
|
+
input.value = this.values[index];
|
|
50
|
+
// Avanza si hay valor
|
|
51
|
+
if (char && index < this.length - 1)
|
|
52
|
+
this.focusIndex(index + 1);
|
|
53
|
+
this.emitChange();
|
|
54
|
+
// Si escribió múltiples (p.ej. autofill) distribuye
|
|
55
|
+
if (raw.length > 1)
|
|
56
|
+
this.spreadFrom(index, raw);
|
|
57
|
+
}
|
|
58
|
+
// Teclas especiales: backspace, flechas, delete
|
|
59
|
+
onKeyDown(event, index) {
|
|
60
|
+
const key = event.key;
|
|
61
|
+
if (!/^[0-9]$/.test(key) &&
|
|
62
|
+
!['Backspace', 'ArrowLeft', 'ArrowRight', 'Delete', 'Tab'].includes(key)) {
|
|
63
|
+
event.preventDefault();
|
|
64
|
+
return;
|
|
65
|
+
}
|
|
66
|
+
if (key === 'Backspace') {
|
|
67
|
+
if (this.values[index]) {
|
|
68
|
+
this.values[index] = '';
|
|
69
|
+
this.emitChange();
|
|
70
|
+
}
|
|
71
|
+
else if (index > 0) {
|
|
72
|
+
this.focusIndex(index - 1);
|
|
73
|
+
// limpia la anterior para UX tipo “focused-error”
|
|
74
|
+
const prev = this.otpInputs.get(index - 1)?.nativeElement;
|
|
75
|
+
if (prev) {
|
|
76
|
+
prev.value = '';
|
|
77
|
+
this.values[index - 1] = '';
|
|
78
|
+
this.emitChange();
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
event.preventDefault();
|
|
82
|
+
return;
|
|
83
|
+
}
|
|
84
|
+
if (key === 'Delete') {
|
|
85
|
+
this.values[index] = '';
|
|
86
|
+
this.emitChange();
|
|
87
|
+
event.preventDefault();
|
|
88
|
+
return;
|
|
89
|
+
}
|
|
90
|
+
if (key === 'ArrowLeft' && index > 0) {
|
|
91
|
+
this.focusIndex(index - 1);
|
|
92
|
+
event.preventDefault();
|
|
93
|
+
return;
|
|
94
|
+
}
|
|
95
|
+
if (key === 'ArrowRight' && index < this.length - 1) {
|
|
96
|
+
this.focusIndex(index + 1);
|
|
97
|
+
event.preventDefault();
|
|
98
|
+
return;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
// Pegar un código completo
|
|
102
|
+
onPaste(event) {
|
|
103
|
+
if (this.disabled)
|
|
104
|
+
return;
|
|
105
|
+
event.preventDefault();
|
|
106
|
+
const data = (event.clipboardData?.getData('text') || '').replace(/\D/g, '').slice(0, this.length);
|
|
107
|
+
if (!data)
|
|
108
|
+
return;
|
|
109
|
+
const start = this.focusedIndex ?? 0;
|
|
110
|
+
this.spreadFrom(start, data);
|
|
111
|
+
this.emitChange();
|
|
112
|
+
}
|
|
113
|
+
/** Distribuye una cadena a partir de un índice */
|
|
114
|
+
spreadFrom(startIndex, data) {
|
|
115
|
+
let i = startIndex;
|
|
116
|
+
for (const ch of data) {
|
|
117
|
+
if (i >= this.length)
|
|
118
|
+
break;
|
|
119
|
+
this.values[i] = ch;
|
|
120
|
+
const el = this.otpInputs.get(i)?.nativeElement;
|
|
121
|
+
if (el)
|
|
122
|
+
el.value = ch;
|
|
123
|
+
i++;
|
|
124
|
+
}
|
|
125
|
+
// Enfoca siguiente libre o se queda en el último
|
|
126
|
+
const nextFree = this.values.findIndex((v, idx) => v === '' && idx >= startIndex);
|
|
127
|
+
this.focusIndex(nextFree === -1 ? this.length - 1 : nextFree);
|
|
128
|
+
}
|
|
129
|
+
/** Enfoca por índice de forma segura */
|
|
130
|
+
focusIndex(i) {
|
|
131
|
+
setTimeout(() => {
|
|
132
|
+
const el = this.otpInputs?.get(i)?.nativeElement;
|
|
133
|
+
if (el)
|
|
134
|
+
el.focus();
|
|
135
|
+
this.focusedIndex = i;
|
|
136
|
+
});
|
|
137
|
+
}
|
|
138
|
+
/** Emite cambios y dispara codeComplete si procede */
|
|
139
|
+
emitChange() {
|
|
140
|
+
const code = this.code;
|
|
141
|
+
this.onChangesValueEvent.emit(code);
|
|
142
|
+
if (code.length === this.length) {
|
|
143
|
+
this.isAlertText = false;
|
|
144
|
+
this.codeComplete.emit(code);
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: InputOtpComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
148
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: InputOtpComponent, isStandalone: true, selector: "ius-input-otp", inputs: { length: "length", disabled: "disabled", showHelpText: "showHelpText", labelSuperior: "labelSuperior", labelInferior: "labelInferior", required: "required" }, outputs: { onChangesValueEvent: "onChangesValueEvent", codeComplete: "codeComplete" }, viewQueries: [{ propertyName: "otpInputs", predicate: ["otpInput"], descendants: true }], ngImport: i0, template: "<div class=\"container-general\">\r\n @if (labelSuperior) {\r\n <div class=\"container-label-sup\" [ngClass]=\"{ 'disabled': disabled }\">\r\n @if(!disabled && required){ <div class=\"icon-dot\"></div> }\r\n <span>{{ labelSuperior }}</span>\r\n @if(!disabled && showHelpText){\r\n <ius-icon-md iconName=\"icon-help\" class=\"icon-color-help\"></ius-icon-md>\r\n }\r\n <span>:</span>\r\n </div>\r\n }\r\n\r\n <div class=\"container-otp\">\r\n <!-- Casillas OTP -->\r\n <div class=\"otp-grid\">\r\n @for (ctrl of boxes; track $index) {\r\n <div\r\n class=\"container-textfield\"\r\n [ngClass]=\"{\r\n 'disabled': disabled,\r\n 'focused': focusedIndex === $index,\r\n 'alert': !disabled && isAlertText\r\n }\"\r\n >\r\n <input\r\n #otpInput\r\n type=\"text\"\r\n inputmode=\"numeric\"\r\n pattern=\"[0-9]*\"\r\n maxlength=\"1\"\r\n [disabled]=\"disabled\"\r\n [value]=\"values[$index]\"\r\n (focus)=\"onFocus($index)\"\r\n (blur)=\"onBlur()\"\r\n (keydown)=\"onKeyDown($event, $index)\"\r\n (input)=\"onInputBox($event, $index)\"\r\n (paste)=\"onPaste($event)\"\r\n />\r\n </div>\r\n }\r\n </div>\r\n\r\n @if (!disabled && this.code.length > 0 ) {\r\n <button class=\"button-delete\" (click)=\"clearSearch()\" [ngClass]=\"{\r\n 'alert': !disabled && isAlertText\r\n }\">\r\n <ius-icon-md iconName=\"icon-cancel\" class=\"icon-color-cancel\" [ngClass]=\"{\r\n 'alert': !disabled && isAlertText\r\n }\"></ius-icon-md>\r\n </button>\r\n }\r\n </div>\r\n\r\n @if (labelInferior && isAnyFocused) {\r\n <span class=\"label-inf\">{{ labelInferior }}</span>\r\n }\r\n @if (labelInferior && !isAnyFocused && isAlertText) {\r\n <span class=\"label-inf\" [ngClass]=\"{ 'alert': isAlertText }\">{{ labelInferior }}</span>\r\n }\r\n</div>\r\n", styles: [".h1{font-family:Roboto,sans-serif;font-size:2.375rem;font-weight:500;line-height:46px}.h2{font-family:Roboto,sans-serif;font-size:1.875rem;font-weight:700;line-height:38px}.h3{font-family:Roboto,sans-serif;font-size:1.5rem;font-weight:500;line-height:32px}.h4{font-family:Roboto,sans-serif;font-size:1.25rem;font-weight:700;line-height:26px}.h5{font-family:Roboto,sans-serif;font-size:1.125rem;font-weight:500;line-height:24px;letter-spacing:.18px}.label-large{font-family:Roboto,sans-serif;font-size:1rem;font-weight:500;line-height:22px}.body-large{font-family:Rubik,sans-serif;font-size:1rem;font-weight:400;line-height:22px}.label-base{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:500;line-height:20px;letter-spacing:.28px}.body-base{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;font-style:italic;letter-spacing:.28px}.body-base-1,.body-base-1-1{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;letter-spacing:.28px}.body-sm{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:400;line-height:16px;letter-spacing:.28px}.body-sm-italic{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:400;line-height:16px;font-style:italic;letter-spacing:.28px}.caption-sm{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:500;line-height:16px;letter-spacing:.28px}.caption-sm-italic{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:500;line-height:16px;font-style:italic;letter-spacing:.28px}.container-general{position:relative;height:100%}.container-otp{display:flex;align-items:center;gap:8px}.otp-grid{display:flex;gap:4px}.otp-grid:hover .container-textfield:not(.disabled){background:#edf6ff;border:1px solid #EDF6FF}.container-textfield{display:inline-flex;width:40px;height:40px;border:1px solid #f5f5f5;border-radius:8px;background:#f5f5f5;transition:all .15s ease-in-out}.container-textfield:hover:not(.disabled):not(.focused):not(.alert){background:#edf6ff;border:1px solid #EDF6FF}.container-textfield.focused{border:1px solid #0581BC;background:#edf6ff}.container-textfield.alert{border:1px solid #DB2E2A;background:#fff4f0}.container-textfield.disabled{background:#f5f5f5}.container-textfield input{width:100%;height:100%;border:none;outline:none;text-align:center;background:transparent;color:#8c8c8c;font-family:Rubik,sans-serif;font-size:.875rem;line-height:20px;letter-spacing:.28px}.container-textfield input::-webkit-outer-spin-button,.container-textfield input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.button-delete{display:flex;align-items:center;justify-content:center;background:none;border:none;cursor:pointer;padding:0;color:#595959}.container-label-sup{display:flex;align-items:center;gap:4px;margin-bottom:8px;color:#333;font-family:Rubik,sans-serif;font-size:.875rem;font-weight:500;line-height:20px;letter-spacing:.28px}.container-label-sup.disabled{color:#bfbfbf}.icon-dot{width:4px;height:4px;background-color:#db2e2a;border-radius:100px}.icon-color-help{color:#8c8c8c}.icon-color-cancel{color:#013169}.icon-color-cancel.alert{color:#b71d26}.label-inf{position:absolute;margin-top:4px;color:#595959;font-family:Roboto,sans-serif;font-size:.75rem;font-style:italic;font-weight:500;line-height:16px;letter-spacing:.24px}.label-inf.alert{color:#931224}\n"], dependencies: [{ kind: "component", type: IconMdComponent, selector: "ius-icon-md", inputs: ["iconName", "color"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] }); }
|
|
149
|
+
}
|
|
150
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: InputOtpComponent, decorators: [{
|
|
151
|
+
type: Component,
|
|
152
|
+
args: [{ selector: 'ius-input-otp', standalone: true, imports: [IconMdComponent, FormsModule, CommonModule], template: "<div class=\"container-general\">\r\n @if (labelSuperior) {\r\n <div class=\"container-label-sup\" [ngClass]=\"{ 'disabled': disabled }\">\r\n @if(!disabled && required){ <div class=\"icon-dot\"></div> }\r\n <span>{{ labelSuperior }}</span>\r\n @if(!disabled && showHelpText){\r\n <ius-icon-md iconName=\"icon-help\" class=\"icon-color-help\"></ius-icon-md>\r\n }\r\n <span>:</span>\r\n </div>\r\n }\r\n\r\n <div class=\"container-otp\">\r\n <!-- Casillas OTP -->\r\n <div class=\"otp-grid\">\r\n @for (ctrl of boxes; track $index) {\r\n <div\r\n class=\"container-textfield\"\r\n [ngClass]=\"{\r\n 'disabled': disabled,\r\n 'focused': focusedIndex === $index,\r\n 'alert': !disabled && isAlertText\r\n }\"\r\n >\r\n <input\r\n #otpInput\r\n type=\"text\"\r\n inputmode=\"numeric\"\r\n pattern=\"[0-9]*\"\r\n maxlength=\"1\"\r\n [disabled]=\"disabled\"\r\n [value]=\"values[$index]\"\r\n (focus)=\"onFocus($index)\"\r\n (blur)=\"onBlur()\"\r\n (keydown)=\"onKeyDown($event, $index)\"\r\n (input)=\"onInputBox($event, $index)\"\r\n (paste)=\"onPaste($event)\"\r\n />\r\n </div>\r\n }\r\n </div>\r\n\r\n @if (!disabled && this.code.length > 0 ) {\r\n <button class=\"button-delete\" (click)=\"clearSearch()\" [ngClass]=\"{\r\n 'alert': !disabled && isAlertText\r\n }\">\r\n <ius-icon-md iconName=\"icon-cancel\" class=\"icon-color-cancel\" [ngClass]=\"{\r\n 'alert': !disabled && isAlertText\r\n }\"></ius-icon-md>\r\n </button>\r\n }\r\n </div>\r\n\r\n @if (labelInferior && isAnyFocused) {\r\n <span class=\"label-inf\">{{ labelInferior }}</span>\r\n }\r\n @if (labelInferior && !isAnyFocused && isAlertText) {\r\n <span class=\"label-inf\" [ngClass]=\"{ 'alert': isAlertText }\">{{ labelInferior }}</span>\r\n }\r\n</div>\r\n", styles: [".h1{font-family:Roboto,sans-serif;font-size:2.375rem;font-weight:500;line-height:46px}.h2{font-family:Roboto,sans-serif;font-size:1.875rem;font-weight:700;line-height:38px}.h3{font-family:Roboto,sans-serif;font-size:1.5rem;font-weight:500;line-height:32px}.h4{font-family:Roboto,sans-serif;font-size:1.25rem;font-weight:700;line-height:26px}.h5{font-family:Roboto,sans-serif;font-size:1.125rem;font-weight:500;line-height:24px;letter-spacing:.18px}.label-large{font-family:Roboto,sans-serif;font-size:1rem;font-weight:500;line-height:22px}.body-large{font-family:Rubik,sans-serif;font-size:1rem;font-weight:400;line-height:22px}.label-base{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:500;line-height:20px;letter-spacing:.28px}.body-base{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;font-style:italic;letter-spacing:.28px}.body-base-1,.body-base-1-1{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;letter-spacing:.28px}.body-sm{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:400;line-height:16px;letter-spacing:.28px}.body-sm-italic{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:400;line-height:16px;font-style:italic;letter-spacing:.28px}.caption-sm{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:500;line-height:16px;letter-spacing:.28px}.caption-sm-italic{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:500;line-height:16px;font-style:italic;letter-spacing:.28px}.container-general{position:relative;height:100%}.container-otp{display:flex;align-items:center;gap:8px}.otp-grid{display:flex;gap:4px}.otp-grid:hover .container-textfield:not(.disabled){background:#edf6ff;border:1px solid #EDF6FF}.container-textfield{display:inline-flex;width:40px;height:40px;border:1px solid #f5f5f5;border-radius:8px;background:#f5f5f5;transition:all .15s ease-in-out}.container-textfield:hover:not(.disabled):not(.focused):not(.alert){background:#edf6ff;border:1px solid #EDF6FF}.container-textfield.focused{border:1px solid #0581BC;background:#edf6ff}.container-textfield.alert{border:1px solid #DB2E2A;background:#fff4f0}.container-textfield.disabled{background:#f5f5f5}.container-textfield input{width:100%;height:100%;border:none;outline:none;text-align:center;background:transparent;color:#8c8c8c;font-family:Rubik,sans-serif;font-size:.875rem;line-height:20px;letter-spacing:.28px}.container-textfield input::-webkit-outer-spin-button,.container-textfield input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.button-delete{display:flex;align-items:center;justify-content:center;background:none;border:none;cursor:pointer;padding:0;color:#595959}.container-label-sup{display:flex;align-items:center;gap:4px;margin-bottom:8px;color:#333;font-family:Rubik,sans-serif;font-size:.875rem;font-weight:500;line-height:20px;letter-spacing:.28px}.container-label-sup.disabled{color:#bfbfbf}.icon-dot{width:4px;height:4px;background-color:#db2e2a;border-radius:100px}.icon-color-help{color:#8c8c8c}.icon-color-cancel{color:#013169}.icon-color-cancel.alert{color:#b71d26}.label-inf{position:absolute;margin-top:4px;color:#595959;font-family:Roboto,sans-serif;font-size:.75rem;font-style:italic;font-weight:500;line-height:16px;letter-spacing:.24px}.label-inf.alert{color:#931224}\n"] }]
|
|
153
|
+
}], propDecorators: { length: [{
|
|
154
|
+
type: Input
|
|
155
|
+
}], disabled: [{
|
|
156
|
+
type: Input
|
|
157
|
+
}], showHelpText: [{
|
|
158
|
+
type: Input
|
|
159
|
+
}], labelSuperior: [{
|
|
160
|
+
type: Input
|
|
161
|
+
}], labelInferior: [{
|
|
162
|
+
type: Input
|
|
163
|
+
}], required: [{
|
|
164
|
+
type: Input
|
|
165
|
+
}], onChangesValueEvent: [{
|
|
166
|
+
type: Output
|
|
167
|
+
}], codeComplete: [{
|
|
168
|
+
type: Output
|
|
169
|
+
}], otpInputs: [{
|
|
170
|
+
type: ViewChildren,
|
|
171
|
+
args: ['otpInput']
|
|
172
|
+
}] } });
|
|
173
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtb3RwLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzI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iBjbGFzcz1cImxhYmVsLWluZlwiIFtuZ0NsYXNzXT1cInsgJ2FsZXJ0JzogaXNBbGVydFRleHQgfVwiPnt7IGxhYmVsSW5mZXJpb3IgfX08L3NwYW4+XHJcbiAgfVxyXG48L2Rpdj5cclxuIl19
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export * from './input-password.component';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9pdXMtZGVzaWduLWNvbXBvbmVudHMvc3JjL2xpYi9pbnB1dC1wYXNzd29yZC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLDRCQUE0QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9pbnB1dC1wYXNzd29yZC5jb21wb25lbnQnO1xyXG5cclxuIl19
|