@litigiovirtual/ius-design-components 1.0.264 → 1.0.267
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/ng-package.json +10 -0
- package/package.json +18 -28
- package/src/lib/alert/alert.component.html +19 -0
- package/src/lib/alert/alert.component.scss +47 -0
- package/src/lib/alert/alert.component.spec.ts +23 -0
- package/src/lib/alert/alert.component.ts +73 -0
- package/src/lib/alert/index.ts +2 -0
- package/src/lib/avatar-business/avatar-business.component.html +39 -0
- package/src/lib/avatar-business/avatar-business.component.scss +89 -0
- package/src/lib/avatar-business/avatar-business.component.spec.ts +23 -0
- package/src/lib/avatar-business/avatar-business.component.ts +42 -0
- package/src/lib/avatar-business/index.ts +2 -0
- package/src/lib/avatar-icon/avatar-icon.component.html +20 -0
- package/src/lib/avatar-icon/avatar-icon.component.scss +29 -0
- package/src/lib/avatar-icon/avatar-icon.component.spec.ts +23 -0
- package/src/lib/avatar-icon/avatar-icon.component.ts +24 -0
- package/src/lib/avatar-icon/index.ts +2 -0
- package/src/lib/avatar-v2/avatar-v2.component.html +41 -0
- package/src/lib/avatar-v2/avatar-v2.component.scss +107 -0
- package/src/lib/avatar-v2/avatar-v2.component.spec.ts +23 -0
- package/src/lib/avatar-v2/avatar-v2.component.ts +65 -0
- package/src/lib/avatar-v2/index.ts +2 -0
- package/src/lib/badge/badge.component.html +3 -0
- package/src/lib/badge/badge.component.scss +29 -0
- package/src/lib/badge/badge.component.spec.ts +23 -0
- package/src/lib/badge/badge.component.ts +24 -0
- package/src/lib/badge/index.ts +2 -0
- package/src/lib/breadcrumb/breadcrumb.component.html +24 -0
- package/src/lib/breadcrumb/breadcrumb.component.scss +41 -0
- package/src/lib/breadcrumb/breadcrumb.component.spec.ts +23 -0
- package/src/lib/breadcrumb/breadcrumb.component.ts +25 -0
- package/src/lib/breadcrumb/index.ts +2 -0
- package/src/lib/button-accounts/button-accounts.component.html +39 -0
- package/src/lib/button-accounts/button-accounts.component.scss +110 -0
- package/src/lib/button-accounts/button-accounts.component.spec.ts +23 -0
- package/src/lib/button-accounts/button-accounts.component.ts +69 -0
- package/src/lib/button-accounts/index.ts +1 -0
- package/src/lib/button-auth/button-auth.component.html +4 -0
- package/src/lib/button-auth/button-auth.component.scss +39 -0
- package/src/lib/button-auth/button-auth.component.spec.ts +23 -0
- package/src/lib/button-auth/button-auth.component.ts +116 -0
- package/src/lib/button-auth/index.ts +1 -0
- package/src/lib/button-circle-secondary/button-circle-secondary.component.html +3 -0
- package/src/lib/button-circle-secondary/button-circle-secondary.component.scss +39 -0
- package/src/lib/button-circle-secondary/button-circle-secondary.component.spec.ts +23 -0
- package/src/lib/button-circle-secondary/button-circle-secondary.component.ts +25 -0
- package/src/lib/button-circle-secondary/index.ts +2 -0
- package/src/lib/button-circle-tertiary/button-circle-tertiary.component.html +3 -0
- package/src/lib/button-circle-tertiary/button-circle-tertiary.component.scss +38 -0
- package/src/lib/button-circle-tertiary/button-circle-tertiary.component.spec.ts +23 -0
- package/src/lib/button-circle-tertiary/button-circle-tertiary.component.ts +22 -0
- package/src/lib/button-circle-tertiary/index.ts +2 -0
- package/src/lib/button-dynamic/button-dynamic.component.html +19 -0
- package/src/lib/button-dynamic/button-dynamic.component.scss +56 -0
- package/src/lib/button-dynamic/button-dynamic.component.spec.ts +23 -0
- package/src/lib/button-dynamic/button-dynamic.component.ts +113 -0
- package/src/lib/button-dynamic/index.ts +2 -0
- package/src/lib/button-filter/button-filter.component.html +22 -0
- package/src/lib/button-filter/button-filter.component.scss +90 -0
- package/src/lib/button-filter/button-filter.component.spec.ts +23 -0
- package/src/lib/button-filter/button-filter.component.ts +94 -0
- package/src/lib/button-filter/index.ts +2 -0
- package/src/lib/button-menu-link/button-menu-link.component.html +3 -0
- package/src/lib/button-menu-link/button-menu-link.component.scss +33 -0
- package/src/lib/button-menu-link/button-menu-link.component.spec.ts +23 -0
- package/src/lib/button-menu-link/button-menu-link.component.ts +23 -0
- package/src/lib/button-menu-link/index.ts +2 -0
- package/src/lib/button-order/button-order.component.html +27 -0
- package/src/lib/button-order/button-order.component.scss +75 -0
- package/src/lib/button-order/button-order.component.spec.ts +23 -0
- package/src/lib/button-order/button-order.component.ts +84 -0
- package/src/lib/button-order/index.ts +2 -0
- package/src/lib/button-squared-secondary/button-squared-secondary.component.html +3 -0
- package/src/lib/button-squared-secondary/button-squared-secondary.component.scss +43 -0
- package/src/lib/button-squared-secondary/button-squared-secondary.component.spec.ts +23 -0
- package/src/lib/button-squared-secondary/button-squared-secondary.component.ts +23 -0
- package/src/lib/button-squared-secondary/index.ts +2 -0
- package/src/lib/button-squared-tertiary/button-squared-tertiary.component.html +3 -0
- package/src/lib/button-squared-tertiary/button-squared-tertiary.component.scss +42 -0
- package/src/lib/button-squared-tertiary/button-squared-tertiary.component.spec.ts +23 -0
- package/src/lib/button-squared-tertiary/button-squared-tertiary.component.ts +21 -0
- package/src/lib/button-squared-tertiary/index.ts +2 -0
- package/src/lib/button-standard-outline/button-standard-outline.component.html +6 -0
- package/src/lib/button-standard-outline/button-standard-outline.component.scss +51 -0
- package/src/lib/button-standard-outline/button-standard-outline.component.spec.ts +23 -0
- package/src/lib/button-standard-outline/button-standard-outline.component.ts +24 -0
- package/src/lib/button-standard-outline/index.ts +1 -0
- package/src/lib/button-standard-primary/button-standard-primary.component.html +6 -0
- package/src/lib/button-standard-primary/button-standard-primary.component.scss +41 -0
- package/src/lib/button-standard-primary/button-standard-primary.component.spec.ts +23 -0
- package/src/lib/button-standard-primary/button-standard-primary.component.ts +24 -0
- package/src/lib/button-standard-primary/index.ts +2 -0
- package/src/lib/button-standard-secondary/button-standard-secondary.component.html +3 -0
- package/src/lib/button-standard-secondary/button-standard-secondary.component.scss +39 -0
- package/src/lib/button-standard-secondary/button-standard-secondary.component.spec.ts +23 -0
- package/src/lib/button-standard-secondary/button-standard-secondary.component.ts +21 -0
- package/src/lib/button-standard-secondary/index.ts +2 -0
- package/src/lib/button-standard-tertiary/button-standard-tertiary.component.html +6 -0
- package/src/lib/button-standard-tertiary/button-standard-tertiary.component.scss +48 -0
- package/src/lib/button-standard-tertiary/button-standard-tertiary.component.spec.ts +23 -0
- package/src/lib/button-standard-tertiary/button-standard-tertiary.component.ts +22 -0
- package/src/lib/button-standard-tertiary/index.ts +2 -0
- package/src/lib/button-standard-tertiary-small/button-standard-tertiary-small.component.html +9 -0
- package/src/lib/button-standard-tertiary-small/button-standard-tertiary-small.component.scss +47 -0
- package/src/lib/button-standard-tertiary-small/button-standard-tertiary-small.component.spec.ts +23 -0
- package/src/lib/button-standard-tertiary-small/button-standard-tertiary-small.component.ts +22 -0
- package/src/lib/button-standard-tertiary-small/index.ts +2 -0
- package/src/lib/calification/calification.component.html +19 -0
- package/src/lib/calification/calification.component.scss +50 -0
- package/src/lib/calification/calification.component.spec.ts +23 -0
- package/src/lib/calification/calification.component.ts +35 -0
- package/src/lib/calification/index.ts +2 -0
- package/src/lib/card-actividad-evento/card-actividad-evento.component.html +77 -0
- package/src/lib/card-actividad-evento/card-actividad-evento.component.scss +192 -0
- package/src/lib/card-actividad-evento/card-actividad-evento.component.spec.ts +23 -0
- package/src/lib/card-actividad-evento/card-actividad-evento.component.ts +142 -0
- package/src/lib/card-actividad-evento/index.ts +2 -0
- package/src/lib/card-agenda-judicial/card-agenda-judicial.component.html +53 -0
- package/src/lib/card-agenda-judicial/card-agenda-judicial.component.scss +151 -0
- package/src/lib/card-agenda-judicial/card-agenda-judicial.component.spec.ts +23 -0
- package/src/lib/card-agenda-judicial/card-agenda-judicial.component.ts +51 -0
- package/src/lib/card-agenda-judicial/index.ts +2 -0
- package/src/lib/card-block/card-block.component.html +56 -0
- package/src/lib/card-block/card-block.component.scss +116 -0
- package/src/lib/card-block/card-block.component.spec.ts +23 -0
- package/src/lib/card-block/card-block.component.ts +43 -0
- package/src/lib/card-block/index.ts +2 -0
- package/src/lib/card-button-checkbox/card-button-checkbox.component.html +15 -0
- package/src/lib/card-button-checkbox/card-button-checkbox.component.scss +98 -0
- package/src/lib/card-button-checkbox/card-button-checkbox.component.spec.ts +23 -0
- package/src/lib/card-button-checkbox/card-button-checkbox.component.ts +29 -0
- package/src/lib/card-button-checkbox/index.ts +2 -0
- package/src/lib/card-collapse-detalle-proceso/card-collapse-detalle-proceso.component.html +19 -0
- package/src/lib/card-collapse-detalle-proceso/card-collapse-detalle-proceso.component.scss +104 -0
- package/src/lib/card-collapse-detalle-proceso/card-collapse-detalle-proceso.component.spec.ts +23 -0
- package/src/lib/card-collapse-detalle-proceso/card-collapse-detalle-proceso.component.ts +26 -0
- package/src/lib/card-collapse-detalle-proceso/index.ts +1 -0
- package/src/lib/card-dynamic-content/card-dynamic-content.component.html +9 -0
- package/src/lib/card-dynamic-content/card-dynamic-content.component.scss +22 -0
- package/src/lib/card-dynamic-content/card-dynamic-content.component.spec.ts +23 -0
- package/src/lib/card-dynamic-content/card-dynamic-content.component.ts +15 -0
- package/src/lib/card-dynamic-content/index.ts +2 -0
- package/src/lib/card-etapa-subetapa/card-etapa-subetapa.component.html +66 -0
- package/src/lib/card-etapa-subetapa/card-etapa-subetapa.component.scss +158 -0
- package/src/lib/card-etapa-subetapa/card-etapa-subetapa.component.spec.ts +23 -0
- package/src/lib/card-etapa-subetapa/card-etapa-subetapa.component.ts +102 -0
- package/src/lib/card-etapa-subetapa/index.ts +2 -0
- package/src/lib/card-gestion-cupo/card-gestion-cupo.component.html +21 -0
- package/src/lib/card-gestion-cupo/card-gestion-cupo.component.scss +88 -0
- package/src/lib/card-gestion-cupo/card-gestion-cupo.component.spec.ts +23 -0
- package/src/lib/card-gestion-cupo/card-gestion-cupo.component.ts +22 -0
- package/src/lib/card-gestion-cupo/index.ts +2 -0
- package/src/lib/card-impulso-procesal/card-impulso-procesal.component.html +62 -0
- package/src/lib/card-impulso-procesal/card-impulso-procesal.component.scss +158 -0
- package/src/lib/card-impulso-procesal/card-impulso-procesal.component.spec.ts +23 -0
- package/src/lib/card-impulso-procesal/card-impulso-procesal.component.ts +100 -0
- package/src/lib/card-impulso-procesal/index.ts +2 -0
- package/src/lib/card-info-facturacion/card-info-facturacion.component.html +63 -0
- package/src/lib/card-info-facturacion/card-info-facturacion.component.scss +126 -0
- package/src/lib/card-info-facturacion/card-info-facturacion.component.spec.ts +23 -0
- package/src/lib/card-info-facturacion/card-info-facturacion.component.ts +31 -0
- package/src/lib/card-info-facturacion/index.ts +2 -0
- package/src/lib/card-list-consumo/card-list-consumo.component.html +23 -0
- package/src/lib/card-list-consumo/card-list-consumo.component.scss +132 -0
- package/src/lib/card-list-consumo/card-list-consumo.component.spec.ts +23 -0
- package/src/lib/card-list-consumo/card-list-consumo.component.ts +39 -0
- package/src/lib/card-list-consumo/index.ts +2 -0
- package/src/lib/card-list-drag-on/card-list-drag-on.component.html +64 -0
- package/src/lib/card-list-drag-on/card-list-drag-on.component.scss +159 -0
- package/src/lib/card-list-drag-on/card-list-drag-on.component.spec.ts +23 -0
- package/src/lib/card-list-drag-on/card-list-drag-on.component.ts +60 -0
- package/src/lib/card-list-drag-on/index.ts +2 -0
- package/src/lib/card-list-movimientos/card-list-movimientos.component.html +154 -0
- package/src/lib/card-list-movimientos/card-list-movimientos.component.scss +150 -0
- package/src/lib/card-list-movimientos/card-list-movimientos.component.spec.ts +23 -0
- package/src/lib/card-list-movimientos/card-list-movimientos.component.ts +28 -0
- package/src/lib/card-list-movimientos/index.ts +2 -0
- package/src/lib/card-list-proceso/card-list-proceso.component.html +27 -0
- package/src/lib/card-list-proceso/card-list-proceso.component.scss +131 -0
- package/src/lib/card-list-proceso/card-list-proceso.component.spec.ts +23 -0
- package/src/lib/card-list-proceso/card-list-proceso.component.ts +32 -0
- package/src/lib/card-list-proceso/index.ts +2 -0
- package/src/lib/card-log/card-log.component.html +30 -0
- package/src/lib/card-log/card-log.component.scss +114 -0
- package/src/lib/card-log/card-log.component.spec.ts +23 -0
- package/src/lib/card-log/card-log.component.ts +26 -0
- package/src/lib/card-log/index.ts +2 -0
- package/src/lib/card-plan-small/card-plan-small.component.html +12 -0
- package/src/lib/card-plan-small/card-plan-small.component.scss +80 -0
- package/src/lib/card-plan-small/card-plan-small.component.spec.ts +23 -0
- package/src/lib/card-plan-small/card-plan-small.component.ts +17 -0
- package/src/lib/card-plan-small/index.ts +2 -0
- package/src/lib/card-plan-subscription/card-plan-subscription.component.html +65 -0
- package/src/lib/card-plan-subscription/card-plan-subscription.component.scss +273 -0
- package/src/lib/card-plan-subscription/card-plan-subscription.component.spec.ts +23 -0
- package/src/lib/card-plan-subscription/card-plan-subscription.component.ts +45 -0
- package/src/lib/card-plan-subscription/index.ts +2 -0
- package/src/lib/card-ticket/card-ticket.component.html +40 -0
- package/src/lib/card-ticket/card-ticket.component.scss +253 -0
- package/src/lib/card-ticket/card-ticket.component.spec.ts +23 -0
- package/src/lib/card-ticket/card-ticket.component.ts +44 -0
- package/src/lib/card-ticket/index.ts +2 -0
- package/src/lib/card-tipo-proceso/card-tipo-proceso.component.html +61 -0
- package/src/lib/card-tipo-proceso/card-tipo-proceso.component.scss +179 -0
- package/src/lib/card-tipo-proceso/card-tipo-proceso.component.spec.ts +23 -0
- package/src/lib/card-tipo-proceso/card-tipo-proceso.component.ts +58 -0
- package/src/lib/card-tipo-proceso/index.ts +2 -0
- package/src/lib/card-uso-plan/card-uso-plan.component.html +74 -0
- package/src/lib/card-uso-plan/card-uso-plan.component.scss +143 -0
- package/src/lib/card-uso-plan/card-uso-plan.component.spec.ts +23 -0
- package/src/lib/card-uso-plan/card-uso-plan.component.ts +31 -0
- package/src/lib/card-uso-plan/index.ts +2 -0
- package/src/lib/card-vigilancia-judicial/card-vigilancia-judicial.component.html +76 -0
- package/src/lib/card-vigilancia-judicial/card-vigilancia-judicial.component.scss +161 -0
- package/src/lib/card-vigilancia-judicial/card-vigilancia-judicial.component.spec.ts +23 -0
- package/src/lib/card-vigilancia-judicial/card-vigilancia-judicial.component.ts +111 -0
- package/src/lib/card-vigilancia-judicial/index.ts +2 -0
- package/src/lib/categories/categories.component.html +13 -0
- package/src/lib/categories/categories.component.scss +51 -0
- package/src/lib/categories/categories.component.spec.ts +23 -0
- package/src/lib/categories/categories.component.ts +31 -0
- package/src/lib/categories/index.ts +2 -0
- package/src/lib/charts-bar-grouped/charts-bar-grouped.component.html +79 -0
- package/src/lib/charts-bar-grouped/charts-bar-grouped.component.scss +141 -0
- package/src/lib/charts-bar-grouped/charts-bar-grouped.component.spec.ts +23 -0
- package/src/lib/charts-bar-grouped/charts-bar-grouped.component.ts +284 -0
- package/src/lib/charts-bar-grouped/index.ts +2 -0
- package/src/lib/charts-donut/charts-donut.component.html +57 -0
- package/src/lib/charts-donut/charts-donut.component.scss +125 -0
- package/src/lib/charts-donut/charts-donut.component.spec.ts +23 -0
- package/src/lib/charts-donut/charts-donut.component.ts +148 -0
- package/src/lib/charts-donut/index.ts +2 -0
- package/src/lib/checkbox/checkbox.component.html +9 -0
- package/src/lib/checkbox/checkbox.component.scss +67 -0
- package/src/lib/checkbox/checkbox.component.spec.ts +23 -0
- package/src/lib/checkbox/checkbox.component.ts +27 -0
- package/src/lib/checkbox/index.ts +2 -0
- package/src/lib/checkbox-radio/checkbox-radio.component.html +19 -0
- package/src/lib/checkbox-radio/checkbox-radio.component.scss +126 -0
- package/src/lib/checkbox-radio/checkbox-radio.component.spec.ts +23 -0
- package/src/lib/checkbox-radio/checkbox-radio.component.ts +70 -0
- package/src/lib/checkbox-radio/index.ts +2 -0
- package/src/lib/chip/chip.component.html +16 -0
- package/src/lib/chip/chip.component.scss +74 -0
- package/src/lib/chip/chip.component.spec.ts +21 -0
- package/src/lib/chip/chip.component.ts +23 -0
- package/src/lib/chip/index.ts +1 -0
- package/src/lib/chip-user/chip-user.component.html +13 -0
- package/src/lib/chip-user/chip-user.component.scss +66 -0
- package/src/lib/chip-user/chip-user.component.spec.ts +23 -0
- package/src/lib/chip-user/chip-user.component.ts +22 -0
- package/src/lib/chip-user/index.ts +2 -0
- package/src/lib/create-ticket/create-ticket.component.html +57 -0
- package/src/lib/create-ticket/create-ticket.component.scss +54 -0
- package/src/lib/create-ticket/create-ticket.component.ts +119 -0
- package/src/lib/create-ticket/index.ts +1 -0
- package/src/lib/custom-dropdown/custom-dropdown.component.html +89 -0
- package/src/lib/custom-dropdown/custom-dropdown.component.scss +209 -0
- package/src/lib/custom-dropdown/custom-dropdown.component.spec.ts +23 -0
- package/src/lib/custom-dropdown/custom-dropdown.component.ts +122 -0
- package/src/lib/custom-dropdown/index.ts +2 -0
- package/src/lib/date-hour-picker/date-hour-picker.component.html +216 -0
- package/src/lib/date-hour-picker/date-hour-picker.component.scss +516 -0
- package/src/lib/date-hour-picker/date-hour-picker.component.spec.ts +22 -0
- package/src/lib/date-hour-picker/date-hour-picker.component.ts +317 -0
- package/src/lib/date-hour-picker/index.ts +2 -0
- package/src/lib/date-picker/date-picker.component.html +121 -0
- package/src/lib/date-picker/date-picker.component.scss +337 -0
- package/src/lib/date-picker/date-picker.component.spec.ts +23 -0
- package/src/lib/date-picker/date-picker.component.ts +164 -0
- package/src/lib/date-picker/index.ts +2 -0
- package/src/lib/directives/infinite-scroll.directive.ts +60 -0
- package/src/lib/directives/popover.directive.ts +164 -0
- package/src/lib/double-date-picker/double-date-picker.component.html +176 -0
- package/src/lib/double-date-picker/double-date-picker.component.scss +365 -0
- package/src/lib/double-date-picker/double-date-picker.component.spec.ts +23 -0
- package/src/lib/double-date-picker/double-date-picker.component.ts +237 -0
- package/src/lib/double-date-picker/index.ts +2 -0
- package/src/lib/drawer-container-right/drawer-container-right.component.html +24 -0
- package/src/lib/drawer-container-right/drawer-container-right.component.scss +75 -0
- package/src/lib/drawer-container-right/drawer-container-right.component.spec.ts +23 -0
- package/src/lib/drawer-container-right/drawer-container-right.component.ts +49 -0
- package/src/lib/drawer-container-right/index.ts +1 -0
- package/src/lib/dropdown/dropdown.component.html +36 -0
- package/src/lib/dropdown/dropdown.component.scss +147 -0
- package/src/lib/dropdown/dropdown.component.spec.ts +23 -0
- package/src/lib/dropdown/dropdown.component.ts +81 -0
- package/src/lib/dropdown/index.ts +2 -0
- package/src/lib/dropdown-contextual-menu/dropdown-contextual-menu.component.html +7 -0
- package/src/lib/dropdown-contextual-menu/dropdown-contextual-menu.component.scss +20 -0
- package/src/lib/dropdown-contextual-menu/dropdown-contextual-menu.component.spec.ts +23 -0
- package/src/lib/dropdown-contextual-menu/dropdown-contextual-menu.component.ts +12 -0
- package/src/lib/dropdown-contextual-menu/index.ts +2 -0
- package/src/lib/dropdown-option-item/dropdown-option-item.component.html +6 -0
- package/src/lib/dropdown-option-item/dropdown-option-item.component.scss +40 -0
- package/src/lib/dropdown-option-item/dropdown-option-item.component.spec.ts +23 -0
- package/src/lib/dropdown-option-item/dropdown-option-item.component.ts +27 -0
- package/src/lib/dropdown-option-item/index.ts +2 -0
- package/src/lib/dropdown-user-menu/dropdown-user-menu.component.html +11 -0
- package/src/lib/dropdown-user-menu/dropdown-user-menu.component.scss +111 -0
- package/src/lib/dropdown-user-menu/dropdown-user-menu.component.spec.ts +23 -0
- package/src/lib/dropdown-user-menu/dropdown-user-menu.component.ts +57 -0
- package/src/lib/dropdown-user-menu/index.ts +2 -0
- package/src/lib/empty-list/empty-list.component.html +17 -0
- package/src/lib/empty-list/empty-list.component.scss +68 -0
- package/src/lib/empty-list/empty-list.component.spec.ts +23 -0
- package/src/lib/empty-list/empty-list.component.ts +15 -0
- package/src/lib/empty-list/index.ts +2 -0
- package/src/lib/filter-item/filter-item.component.html +6 -0
- package/src/lib/filter-item/filter-item.component.scss +38 -0
- package/src/lib/filter-item/filter-item.component.spec.ts +23 -0
- package/src/lib/filter-item/filter-item.component.ts +22 -0
- package/src/lib/filter-item/index.ts +1 -0
- package/src/lib/icon-lg/icon-lg.component.html +1 -0
- package/src/lib/icon-lg/icon-lg.component.scss +14 -0
- package/src/lib/icon-lg/icon-lg.component.spec.ts +23 -0
- package/src/lib/icon-lg/icon-lg.component.ts +25 -0
- package/src/lib/icon-lg/index.ts +2 -0
- package/src/lib/icon-md/icon-md.component.html +1 -0
- package/src/lib/icon-md/icon-md.component.scss +14 -0
- package/src/lib/icon-md/icon-md.component.spec.ts +23 -0
- package/src/lib/icon-md/icon-md.component.ts +25 -0
- package/src/lib/icon-md/index.ts +2 -0
- package/src/lib/icon-sm/icon-sm.component.html +1 -0
- package/src/lib/icon-sm/icon-sm.component.scss +14 -0
- package/src/lib/icon-sm/icon-sm.component.spec.ts +23 -0
- package/src/lib/icon-sm/icon-sm.component.ts +25 -0
- package/src/lib/icon-sm/index.ts +2 -0
- package/src/lib/icon-xl/icon-xl.component.html +1 -0
- package/src/lib/icon-xl/icon-xl.component.scss +14 -0
- package/src/lib/icon-xl/icon-xl.component.spec.ts +23 -0
- package/src/lib/icon-xl/icon-xl.component.ts +25 -0
- package/src/lib/icon-xl/index.ts +2 -0
- package/src/lib/icon-xs/icon-xs.component.html +1 -0
- package/src/lib/icon-xs/icon-xs.component.scss +14 -0
- package/src/lib/icon-xs/icon-xs.component.spec.ts +23 -0
- package/src/lib/icon-xs/icon-xs.component.ts +26 -0
- package/src/lib/icon-xs/index.ts +2 -0
- package/src/lib/icon-xxl/icon-xxl.component.html +1 -0
- package/src/lib/icon-xxl/icon-xxl.component.scss +14 -0
- package/src/lib/icon-xxl/icon-xxl.component.spec.ts +23 -0
- package/src/lib/icon-xxl/icon-xxl.component.ts +25 -0
- package/src/lib/icon-xxl/index.ts +2 -0
- package/src/lib/icons/icons-map.ts +1163 -0
- package/src/lib/input-card/index.ts +2 -0
- package/src/lib/input-card/input-card.component.html +67 -0
- package/src/lib/input-card/input-card.component.scss +221 -0
- package/src/lib/input-card/input-card.component.spec.ts +23 -0
- package/src/lib/input-card/input-card.component.ts +156 -0
- package/src/lib/input-large/index.ts +2 -0
- package/src/lib/input-large/input-large.component.html +46 -0
- package/src/lib/input-large/input-large.component.scss +152 -0
- package/src/lib/input-large/input-large.component.spec.ts +23 -0
- package/src/lib/input-large/input-large.component.ts +79 -0
- package/src/lib/input-otp/index.ts +2 -0
- package/src/lib/input-otp/input-otp.component.html +60 -0
- package/src/lib/input-otp/input-otp.component.scss +141 -0
- package/src/lib/input-otp/input-otp.component.spec.ts +23 -0
- package/src/lib/input-otp/input-otp.component.ts +161 -0
- package/src/lib/input-password/index.ts +2 -0
- package/src/lib/input-password/input-password.component.html +44 -0
- package/src/lib/input-password/input-password.component.scss +142 -0
- package/src/lib/input-password/input-password.component.spec.ts +23 -0
- package/src/lib/input-password/input-password.component.ts +73 -0
- package/src/lib/input-select/index.ts +2 -0
- package/src/lib/input-select/input-select.component.html +52 -0
- package/src/lib/input-select/input-select.component.scss +195 -0
- package/src/lib/input-select/input-select.component.spec.ts +23 -0
- package/src/lib/input-select/input-select.component.ts +181 -0
- package/src/lib/input-select-filter/index.ts +2 -0
- package/src/lib/input-select-filter/input-select-filter.component.html +56 -0
- package/src/lib/input-select-filter/input-select-filter.component.scss +266 -0
- package/src/lib/input-select-filter/input-select-filter.component.spec.ts +23 -0
- package/src/lib/input-select-filter/input-select-filter.component.ts +214 -0
- package/src/lib/input-select-number/index.ts +2 -0
- package/src/lib/input-select-number/input-select-number.component.html +24 -0
- package/src/lib/input-select-number/input-select-number.component.scss +128 -0
- package/src/lib/input-select-number/input-select-number.component.spec.ts +23 -0
- package/src/lib/input-select-number/input-select-number.component.ts +68 -0
- package/src/lib/input-textfield/index.ts +2 -0
- package/src/lib/input-textfield/input-textfield.component.html +65 -0
- package/src/lib/input-textfield/input-textfield.component.scss +167 -0
- package/src/lib/input-textfield/input-textfield.component.spec.ts +23 -0
- package/src/lib/input-textfield/input-textfield.component.ts +125 -0
- package/src/lib/item-document/index.ts +1 -0
- package/src/lib/item-document/item-document.component.html +53 -0
- package/src/lib/item-document/item-document.component.scss +72 -0
- package/src/lib/item-document/item-document.component.spec.ts +23 -0
- package/src/lib/item-document/item-document.component.ts +51 -0
- package/src/lib/linear-progress-bar/index.ts +2 -0
- package/src/lib/linear-progress-bar/linear-progress-bar.component.html +4 -0
- package/src/lib/linear-progress-bar/linear-progress-bar.component.scss +26 -0
- package/src/lib/linear-progress-bar/linear-progress-bar.component.spec.ts +23 -0
- package/src/lib/linear-progress-bar/linear-progress-bar.component.ts +12 -0
- package/src/lib/loading-circle/index.ts +2 -0
- package/src/lib/loading-circle/loading-circle.component.html +3 -0
- package/src/lib/loading-circle/loading-circle.component.scss +19 -0
- package/src/lib/loading-circle/loading-circle.component.spec.ts +23 -0
- package/src/lib/loading-circle/loading-circle.component.ts +14 -0
- package/src/lib/loading-component-dynamic/index.ts +2 -0
- package/src/lib/loading-component-dynamic/loading-animation.const.ts +274 -0
- package/src/lib/loading-component-dynamic/loading-component-dynamic.component.html +42 -0
- package/src/lib/loading-component-dynamic/loading-component-dynamic.component.scss +52 -0
- package/src/lib/loading-component-dynamic/loading-component-dynamic.component.spec.ts +23 -0
- package/src/lib/loading-component-dynamic/loading-component-dynamic.component.ts +44 -0
- package/src/lib/menu-item/index.ts +2 -0
- package/src/lib/menu-item/menu-item.component.html +9 -0
- package/src/lib/menu-item/menu-item.component.scss +55 -0
- package/src/lib/menu-item/menu-item.component.spec.ts +23 -0
- package/src/lib/menu-item/menu-item.component.ts +26 -0
- package/src/lib/nav-rail/index.ts +2 -0
- package/src/lib/nav-rail/nav-rail.component.html +14 -0
- package/src/lib/nav-rail/nav-rail.component.scss +58 -0
- package/src/lib/nav-rail/nav-rail.component.spec.ts +23 -0
- package/src/lib/nav-rail/nav-rail.component.ts +39 -0
- package/src/lib/notification-card/index.ts +2 -0
- package/src/lib/notification-card/notification-card.component.html +69 -0
- package/src/lib/notification-card/notification-card.component.scss +137 -0
- package/src/lib/notification-card/notification-card.component.spec.ts +23 -0
- package/src/lib/notification-card/notification-card.component.ts +76 -0
- package/src/lib/notifications/index.ts +2 -0
- package/src/lib/notifications/notifications.component.html +49 -0
- package/src/lib/notifications/notifications.component.scss +113 -0
- package/src/lib/notifications/notifications.component.spec.ts +23 -0
- package/src/lib/notifications/notifications.component.ts +64 -0
- package/src/lib/option/index.ts +2 -0
- package/src/lib/option/option.component.html +11 -0
- package/src/lib/option/option.component.scss +54 -0
- package/src/lib/option/option.component.spec.ts +23 -0
- package/src/lib/option/option.component.ts +27 -0
- package/src/lib/option-item/index.ts +1 -0
- package/src/lib/option-item/option-item.component.html +6 -0
- package/src/lib/option-item/option-item.component.scss +47 -0
- package/src/lib/option-item/option-item.component.spec.ts +23 -0
- package/src/lib/option-item/option-item.component.ts +22 -0
- package/src/lib/page-not-found/index.ts +2 -0
- package/src/lib/page-not-found/page-not-found.component.html +46 -0
- package/src/lib/page-not-found/page-not-found.component.scss +72 -0
- package/src/lib/page-not-found/page-not-found.component.spec.ts +23 -0
- package/src/lib/page-not-found/page-not-found.component.ts +23 -0
- package/src/lib/popover/popover.component.html +8 -0
- package/src/lib/popover/popover.component.scss +80 -0
- package/src/lib/popover/popover.component.spec.ts +23 -0
- package/src/lib/popover/popover.component.ts +18 -0
- package/src/lib/progress-bar/progress-bar.component.html +23 -0
- package/src/lib/progress-bar/progress-bar.component.scss +37 -0
- package/src/lib/progress-bar/progress-bar.component.spec.ts +23 -0
- package/src/lib/progress-bar/progress-bar.component.ts +109 -0
- package/src/lib/search-bar/index.ts +2 -0
- package/src/lib/search-bar/search-bar.component.html +26 -0
- package/src/lib/search-bar/search-bar.component.scss +100 -0
- package/src/lib/search-bar/search-bar.component.spec.ts +23 -0
- package/src/lib/search-bar/search-bar.component.ts +70 -0
- package/src/lib/section-collapse-drawer-child/index.ts +2 -0
- package/src/lib/section-collapse-drawer-child/section-collapse-drawer-child.component.html +15 -0
- package/src/lib/section-collapse-drawer-child/section-collapse-drawer-child.component.scss +52 -0
- package/src/lib/section-collapse-drawer-child/section-collapse-drawer-child.component.spec.ts +23 -0
- package/src/lib/section-collapse-drawer-child/section-collapse-drawer-child.component.ts +45 -0
- package/src/lib/section-collapse-drawer-parent/index.ts +2 -0
- package/src/lib/section-collapse-drawer-parent/section-collapse-drawer-parent.component.html +16 -0
- package/src/lib/section-collapse-drawer-parent/section-collapse-drawer-parent.component.scss +52 -0
- package/src/lib/section-collapse-drawer-parent/section-collapse-drawer-parent.component.spec.ts +23 -0
- package/src/lib/section-collapse-drawer-parent/section-collapse-drawer-parent.component.ts +46 -0
- package/src/lib/segment/index.ts +1 -0
- package/src/lib/segment/segment.component.html +15 -0
- package/src/lib/segment/segment.component.scss +62 -0
- package/src/lib/segment/segment.component.spec.ts +23 -0
- package/src/lib/segment/segment.component.ts +34 -0
- package/src/lib/simple-card-contador/index.ts +2 -0
- package/src/lib/simple-card-contador/simple-card-contador.component.html +39 -0
- package/src/lib/simple-card-contador/simple-card-contador.component.scss +110 -0
- package/src/lib/simple-card-contador/simple-card-contador.component.spec.ts +23 -0
- package/src/lib/simple-card-contador/simple-card-contador.component.ts +56 -0
- package/src/lib/simple-chip/index.ts +2 -0
- package/src/lib/simple-chip/simple-chip.component.html +8 -0
- package/src/lib/simple-chip/simple-chip.component.scss +49 -0
- package/src/lib/simple-chip/simple-chip.component.spec.ts +23 -0
- package/src/lib/simple-chip/simple-chip.component.ts +26 -0
- package/src/lib/simple-divider/index.ts +2 -0
- package/src/lib/simple-divider/simple-divider.component.html +1 -0
- package/src/lib/simple-divider/simple-divider.component.scss +9 -0
- package/src/lib/simple-divider/simple-divider.component.spec.ts +23 -0
- package/src/lib/simple-divider/simple-divider.component.ts +12 -0
- package/src/lib/simple-user-card/index.ts +2 -0
- package/src/lib/simple-user-card/simple-user-card.component.html +20 -0
- package/src/lib/simple-user-card/simple-user-card.component.scss +113 -0
- package/src/lib/simple-user-card/simple-user-card.component.spec.ts +23 -0
- package/src/lib/simple-user-card/simple-user-card.component.ts +17 -0
- package/src/lib/slide-toggle/index.ts +1 -0
- package/src/lib/slide-toggle/slide-toggle.component.html +6 -0
- package/src/lib/slide-toggle/slide-toggle.component.scss +49 -0
- package/src/lib/slide-toggle/slide-toggle.component.spec.ts +23 -0
- package/src/lib/slide-toggle/slide-toggle.component.ts +19 -0
- package/src/lib/snackbar/index.ts +1 -0
- package/src/lib/snackbar/snackbar.component.html +10 -0
- package/src/lib/snackbar/snackbar.component.scss +92 -0
- package/src/lib/snackbar/snackbar.component.spec.ts +23 -0
- package/src/lib/snackbar/snackbar.component.ts +34 -0
- package/src/lib/support-panel/index.ts +1 -0
- package/src/lib/support-panel/support-panel.component.html +30 -0
- package/src/lib/support-panel/support-panel.component.scss +72 -0
- package/src/lib/support-panel/support-panel.component.spec.ts +23 -0
- package/src/lib/support-panel/support-panel.component.ts +44 -0
- package/src/lib/toolbar/index.ts +1 -0
- package/src/lib/toolbar/toolbar.component.html +127 -0
- package/src/lib/toolbar/toolbar.component.scss +139 -0
- package/src/lib/toolbar/toolbar.component.spec.ts +23 -0
- package/src/lib/toolbar/toolbar.component.ts +388 -0
- package/src/lib/toolbar-user-menu/index.ts +1 -0
- package/src/lib/toolbar-user-menu/toolbar-user-menu.component.html +180 -0
- package/src/lib/toolbar-user-menu/toolbar-user-menu.component.scss +282 -0
- package/src/lib/toolbar-user-menu/toolbar-user-menu.component.spec.ts +23 -0
- package/src/lib/toolbar-user-menu/toolbar-user-menu.component.ts +111 -0
- package/src/lib/user-card/index.ts +1 -0
- package/src/lib/user-card/user-card.component.html +81 -0
- package/src/lib/user-card/user-card.component.scss +235 -0
- package/src/lib/user-card/user-card.component.spec.ts +23 -0
- package/src/lib/user-card/user-card.component.ts +67 -0
- package/src/public-api.ts +108 -0
- package/tsconfig.lib.json +14 -0
- package/tsconfig.lib.prod.json +10 -0
- package/tsconfig.spec.json +14 -0
- package/esm2022/lib/alert/alert.component.mjs +0 -76
- package/esm2022/lib/alert/index.mjs +0 -2
- package/esm2022/lib/avatar-business/avatar-business.component.mjs +0 -52
- package/esm2022/lib/avatar-business/index.mjs +0 -2
- package/esm2022/lib/avatar-icon/avatar-icon.component.mjs +0 -33
- package/esm2022/lib/avatar-icon/index.mjs +0 -2
- package/esm2022/lib/avatar-v2/avatar-v2.component.mjs +0 -74
- package/esm2022/lib/avatar-v2/index.mjs +0 -2
- package/esm2022/lib/badge/badge.component.mjs +0 -26
- package/esm2022/lib/badge/index.mjs +0 -2
- package/esm2022/lib/breadcrumb/breadcrumb.component.mjs +0 -22
- package/esm2022/lib/breadcrumb/index.mjs +0 -2
- package/esm2022/lib/button-accounts/button-accounts.component.mjs +0 -64
- package/esm2022/lib/button-accounts/index.mjs +0 -2
- package/esm2022/lib/button-auth/button-auth.component.mjs +0 -113
- package/esm2022/lib/button-auth/index.mjs +0 -2
- package/esm2022/lib/button-circle-secondary/button-circle-secondary.component.mjs +0 -28
- package/esm2022/lib/button-circle-secondary/index.mjs +0 -2
- package/esm2022/lib/button-circle-tertiary/button-circle-tertiary.component.mjs +0 -28
- package/esm2022/lib/button-circle-tertiary/index.mjs +0 -2
- package/esm2022/lib/button-dynamic/button-dynamic.component.mjs +0 -115
- package/esm2022/lib/button-dynamic/index.mjs +0 -2
- package/esm2022/lib/button-filter/button-filter.component.mjs +0 -90
- package/esm2022/lib/button-filter/index.mjs +0 -2
- package/esm2022/lib/button-menu-link/button-menu-link.component.mjs +0 -31
- package/esm2022/lib/button-menu-link/index.mjs +0 -2
- package/esm2022/lib/button-order/button-order.component.mjs +0 -75
- package/esm2022/lib/button-order/index.mjs +0 -2
- package/esm2022/lib/button-squared-secondary/button-squared-secondary.component.mjs +0 -28
- package/esm2022/lib/button-squared-secondary/index.mjs +0 -2
- package/esm2022/lib/button-squared-tertiary/button-squared-tertiary.component.mjs +0 -28
- package/esm2022/lib/button-squared-tertiary/index.mjs +0 -2
- package/esm2022/lib/button-standard-outline/button-standard-outline.component.mjs +0 -28
- package/esm2022/lib/button-standard-outline/index.mjs +0 -2
- package/esm2022/lib/button-standard-primary/button-standard-primary.component.mjs +0 -28
- package/esm2022/lib/button-standard-primary/index.mjs +0 -2
- package/esm2022/lib/button-standard-secondary/button-standard-secondary.component.mjs +0 -24
- package/esm2022/lib/button-standard-secondary/index.mjs +0 -2
- package/esm2022/lib/button-standard-tertiary/button-standard-tertiary.component.mjs +0 -28
- package/esm2022/lib/button-standard-tertiary/index.mjs +0 -2
- package/esm2022/lib/button-standard-tertiary-small/button-standard-tertiary-small.component.mjs +0 -31
- package/esm2022/lib/button-standard-tertiary-small/index.mjs +0 -2
- package/esm2022/lib/calification/calification.component.mjs +0 -36
- package/esm2022/lib/calification/index.mjs +0 -2
- package/esm2022/lib/card-actividad-evento/card-actividad-evento.component.mjs +0 -172
- package/esm2022/lib/card-actividad-evento/index.mjs +0 -2
- package/esm2022/lib/card-agenda-judicial/card-agenda-judicial.component.mjs +0 -62
- package/esm2022/lib/card-agenda-judicial/index.mjs +0 -2
- package/esm2022/lib/card-block/card-block.component.mjs +0 -53
- package/esm2022/lib/card-block/index.mjs +0 -2
- package/esm2022/lib/card-button-checkbox/card-button-checkbox.component.mjs +0 -42
- package/esm2022/lib/card-button-checkbox/index.mjs +0 -2
- package/esm2022/lib/card-collapse-detalle-proceso/card-collapse-detalle-proceso.component.mjs +0 -32
- package/esm2022/lib/card-collapse-detalle-proceso/index.mjs +0 -2
- package/esm2022/lib/card-dynamic-content/card-dynamic-content.component.mjs +0 -20
- package/esm2022/lib/card-dynamic-content/index.mjs +0 -2
- package/esm2022/lib/card-etapa-subetapa/card-etapa-subetapa.component.mjs +0 -124
- package/esm2022/lib/card-etapa-subetapa/index.mjs +0 -2
- package/esm2022/lib/card-gestion-cupo/card-gestion-cupo.component.mjs +0 -28
- package/esm2022/lib/card-gestion-cupo/index.mjs +0 -2
- package/esm2022/lib/card-impulso-procesal/card-impulso-procesal.component.mjs +0 -120
- package/esm2022/lib/card-impulso-procesal/index.mjs +0 -2
- package/esm2022/lib/card-info-facturacion/card-info-facturacion.component.mjs +0 -43
- package/esm2022/lib/card-info-facturacion/index.mjs +0 -2
- package/esm2022/lib/card-list-consumo/card-list-consumo.component.mjs +0 -39
- package/esm2022/lib/card-list-consumo/index.mjs +0 -2
- package/esm2022/lib/card-list-drag-on/card-list-drag-on.component.mjs +0 -84
- package/esm2022/lib/card-list-drag-on/index.mjs +0 -2
- package/esm2022/lib/card-list-movimientos/card-list-movimientos.component.mjs +0 -43
- package/esm2022/lib/card-list-movimientos/index.mjs +0 -2
- package/esm2022/lib/card-list-proceso/card-list-proceso.component.mjs +0 -44
- package/esm2022/lib/card-list-proceso/index.mjs +0 -2
- package/esm2022/lib/card-log/card-log.component.mjs +0 -36
- package/esm2022/lib/card-log/index.mjs +0 -2
- package/esm2022/lib/card-plan-small/card-plan-small.component.mjs +0 -18
- package/esm2022/lib/card-plan-small/index.mjs +0 -2
- package/esm2022/lib/card-plan-subscription/card-plan-subscription.component.mjs +0 -55
- package/esm2022/lib/card-plan-subscription/index.mjs +0 -2
- package/esm2022/lib/card-ticket/card-ticket.component.mjs +0 -54
- package/esm2022/lib/card-ticket/index.mjs +0 -2
- package/esm2022/lib/card-tipo-proceso/card-tipo-proceso.component.mjs +0 -67
- package/esm2022/lib/card-tipo-proceso/index.mjs +0 -2
- package/esm2022/lib/card-uso-plan/card-uso-plan.component.mjs +0 -43
- package/esm2022/lib/card-uso-plan/index.mjs +0 -2
- package/esm2022/lib/card-vigilancia-judicial/card-vigilancia-judicial.component.mjs +0 -129
- package/esm2022/lib/card-vigilancia-judicial/index.mjs +0 -2
- package/esm2022/lib/categories/categories.component.mjs +0 -43
- package/esm2022/lib/categories/index.mjs +0 -2
- package/esm2022/lib/charts-bar-grouped/charts-bar-grouped.component.mjs +0 -238
- package/esm2022/lib/charts-bar-grouped/index.mjs +0 -2
- package/esm2022/lib/charts-donut/charts-donut.component.mjs +0 -137
- package/esm2022/lib/charts-donut/index.mjs +0 -2
- package/esm2022/lib/checkbox/checkbox.component.mjs +0 -31
- package/esm2022/lib/checkbox/index.mjs +0 -2
- package/esm2022/lib/checkbox-radio/checkbox-radio.component.mjs +0 -74
- package/esm2022/lib/checkbox-radio/index.mjs +0 -2
- package/esm2022/lib/chip/chip.component.mjs +0 -33
- package/esm2022/lib/chip/index.mjs +0 -2
- package/esm2022/lib/chip-user/chip-user.component.mjs +0 -30
- package/esm2022/lib/chip-user/index.mjs +0 -2
- package/esm2022/lib/create-ticket/create-ticket.component.mjs +0 -101
- package/esm2022/lib/create-ticket/index.mjs +0 -2
- package/esm2022/lib/custom-dropdown/custom-dropdown.component.mjs +0 -149
- package/esm2022/lib/custom-dropdown/index.mjs +0 -2
- package/esm2022/lib/date-hour-picker/date-hour-picker.component.mjs +0 -302
- package/esm2022/lib/date-hour-picker/index.mjs +0 -2
- package/esm2022/lib/date-picker/date-picker.component.mjs +0 -161
- package/esm2022/lib/date-picker/index.mjs +0 -2
- package/esm2022/lib/directives/infinite-scroll.directive.mjs +0 -52
- package/esm2022/lib/directives/popover.directive.mjs +0 -170
- package/esm2022/lib/double-date-picker/double-date-picker.component.mjs +0 -230
- package/esm2022/lib/double-date-picker/index.mjs +0 -2
- package/esm2022/lib/drawer-container-right/drawer-container-right.component.mjs +0 -71
- package/esm2022/lib/drawer-container-right/index.mjs +0 -2
- package/esm2022/lib/dropdown/dropdown.component.mjs +0 -77
- package/esm2022/lib/dropdown/index.mjs +0 -2
- package/esm2022/lib/dropdown-contextual-menu/dropdown-contextual-menu.component.mjs +0 -11
- package/esm2022/lib/dropdown-contextual-menu/index.mjs +0 -2
- package/esm2022/lib/dropdown-option-item/dropdown-option-item.component.mjs +0 -31
- package/esm2022/lib/dropdown-option-item/index.mjs +0 -2
- package/esm2022/lib/dropdown-user-menu/dropdown-user-menu.component.mjs +0 -56
- package/esm2022/lib/dropdown-user-menu/index.mjs +0 -2
- package/esm2022/lib/empty-list/empty-list.component.mjs +0 -22
- package/esm2022/lib/empty-list/index.mjs +0 -2
- package/esm2022/lib/filter-item/filter-item.component.mjs +0 -28
- package/esm2022/lib/filter-item/index.mjs +0 -2
- package/esm2022/lib/icon-lg/icon-lg.component.mjs +0 -29
- package/esm2022/lib/icon-lg/index.mjs +0 -2
- package/esm2022/lib/icon-md/icon-md.component.mjs +0 -29
- package/esm2022/lib/icon-md/index.mjs +0 -2
- package/esm2022/lib/icon-sm/icon-sm.component.mjs +0 -29
- package/esm2022/lib/icon-sm/index.mjs +0 -2
- package/esm2022/lib/icon-xl/icon-xl.component.mjs +0 -29
- package/esm2022/lib/icon-xl/index.mjs +0 -2
- package/esm2022/lib/icon-xs/icon-xs.component.mjs +0 -29
- package/esm2022/lib/icon-xs/index.mjs +0 -2
- package/esm2022/lib/icon-xxl/icon-xxl.component.mjs +0 -29
- package/esm2022/lib/icon-xxl/index.mjs +0 -2
- package/esm2022/lib/icons/icons-map.mjs +0 -1164
- package/esm2022/lib/input-card/index.mjs +0 -2
- package/esm2022/lib/input-card/input-card.component.mjs +0 -158
- package/esm2022/lib/input-large/index.mjs +0 -2
- package/esm2022/lib/input-large/input-large.component.mjs +0 -98
- package/esm2022/lib/input-otp/index.mjs +0 -2
- package/esm2022/lib/input-otp/input-otp.component.mjs +0 -173
- package/esm2022/lib/input-password/index.mjs +0 -2
- package/esm2022/lib/input-password/input-password.component.mjs +0 -91
- package/esm2022/lib/input-select/index.mjs +0 -2
- package/esm2022/lib/input-select/input-select.component.mjs +0 -190
- package/esm2022/lib/input-select-filter/index.mjs +0 -2
- package/esm2022/lib/input-select-filter/input-select-filter.component.mjs +0 -202
- package/esm2022/lib/input-select-number/index.mjs +0 -2
- package/esm2022/lib/input-select-number/input-select-number.component.mjs +0 -68
- package/esm2022/lib/input-textfield/index.mjs +0 -2
- package/esm2022/lib/input-textfield/input-textfield.component.mjs +0 -143
- package/esm2022/lib/item-document/index.mjs +0 -2
- package/esm2022/lib/item-document/item-document.component.mjs +0 -61
- package/esm2022/lib/linear-progress-bar/index.mjs +0 -2
- package/esm2022/lib/linear-progress-bar/linear-progress-bar.component.mjs +0 -16
- package/esm2022/lib/loading-circle/index.mjs +0 -2
- package/esm2022/lib/loading-circle/loading-circle.component.mjs +0 -17
- package/esm2022/lib/loading-component-dynamic/index.mjs +0 -2
- package/esm2022/lib/loading-component-dynamic/loading-component-dynamic.component.mjs +0 -63
- package/esm2022/lib/menu-item/index.mjs +0 -2
- package/esm2022/lib/menu-item/menu-item.component.mjs +0 -33
- package/esm2022/lib/nav-rail/index.mjs +0 -2
- package/esm2022/lib/nav-rail/nav-rail.component.mjs +0 -53
- package/esm2022/lib/notification-card/index.mjs +0 -2
- package/esm2022/lib/notification-card/notification-card.component.mjs +0 -88
- package/esm2022/lib/notifications/index.mjs +0 -2
- package/esm2022/lib/notifications/notifications.component.mjs +0 -90
- package/esm2022/lib/option/index.mjs +0 -2
- package/esm2022/lib/option/option.component.mjs +0 -34
- package/esm2022/lib/option-item/index.mjs +0 -2
- package/esm2022/lib/option-item/option-item.component.mjs +0 -30
- package/esm2022/lib/page-not-found/index.mjs +0 -2
- package/esm2022/lib/page-not-found/page-not-found.component.mjs +0 -28
- package/esm2022/lib/popover/popover.component.mjs +0 -30
- package/esm2022/lib/progress-bar/progress-bar.component.mjs +0 -117
- package/esm2022/lib/search-bar/index.mjs +0 -2
- package/esm2022/lib/search-bar/search-bar.component.mjs +0 -79
- package/esm2022/lib/section-collapse-drawer-child/index.mjs +0 -2
- package/esm2022/lib/section-collapse-drawer-child/section-collapse-drawer-child.component.mjs +0 -73
- package/esm2022/lib/section-collapse-drawer-parent/index.mjs +0 -2
- package/esm2022/lib/section-collapse-drawer-parent/section-collapse-drawer-parent.component.mjs +0 -73
- package/esm2022/lib/segment/index.mjs +0 -2
- package/esm2022/lib/segment/segment.component.mjs +0 -43
- package/esm2022/lib/simple-card-contador/index.mjs +0 -2
- package/esm2022/lib/simple-card-contador/simple-card-contador.component.mjs +0 -53
- package/esm2022/lib/simple-chip/index.mjs +0 -2
- package/esm2022/lib/simple-chip/simple-chip.component.mjs +0 -38
- package/esm2022/lib/simple-divider/index.mjs +0 -2
- package/esm2022/lib/simple-divider/simple-divider.component.mjs +0 -11
- package/esm2022/lib/simple-user-card/index.mjs +0 -2
- package/esm2022/lib/simple-user-card/simple-user-card.component.mjs +0 -17
- package/esm2022/lib/slide-toggle/index.mjs +0 -2
- package/esm2022/lib/slide-toggle/slide-toggle.component.mjs +0 -26
- package/esm2022/lib/snackbar/index.mjs +0 -2
- package/esm2022/lib/snackbar/snackbar.component.mjs +0 -40
- package/esm2022/lib/support-panel/index.mjs +0 -2
- package/esm2022/lib/support-panel/support-panel.component.mjs +0 -45
- package/esm2022/lib/toolbar/index.mjs +0 -2
- package/esm2022/lib/toolbar/toolbar.component.mjs +0 -360
- package/esm2022/lib/toolbar-user-menu/index.mjs +0 -2
- package/esm2022/lib/toolbar-user-menu/toolbar-user-menu.component.mjs +0 -138
- package/esm2022/lib/user-card/index.mjs +0 -2
- package/esm2022/lib/user-card/user-card.component.mjs +0 -84
- package/esm2022/litigiovirtual-ius-design-components.mjs +0 -5
- package/esm2022/public-api.mjs +0 -105
- package/fesm2022/litigiovirtual-ius-design-components.mjs +0 -8076
- package/fesm2022/litigiovirtual-ius-design-components.mjs.map +0 -1
- package/index.d.ts +0 -5
- package/lib/alert/alert.component.d.ts +0 -22
- package/lib/alert/index.d.ts +0 -1
- package/lib/avatar-business/avatar-business.component.d.ts +0 -16
- package/lib/avatar-business/index.d.ts +0 -1
- package/lib/avatar-icon/avatar-icon.component.d.ts +0 -10
- package/lib/avatar-icon/index.d.ts +0 -1
- package/lib/avatar-v2/avatar-v2.component.d.ts +0 -23
- package/lib/avatar-v2/index.d.ts +0 -1
- package/lib/badge/badge.component.d.ts +0 -7
- package/lib/badge/index.d.ts +0 -1
- package/lib/breadcrumb/breadcrumb.component.d.ts +0 -16
- package/lib/breadcrumb/index.d.ts +0 -1
- package/lib/button-accounts/button-accounts.component.d.ts +0 -26
- package/lib/button-accounts/index.d.ts +0 -1
- package/lib/button-auth/button-auth.component.d.ts +0 -22
- package/lib/button-auth/index.d.ts +0 -1
- package/lib/button-circle-secondary/button-circle-secondary.component.d.ts +0 -10
- package/lib/button-circle-secondary/index.d.ts +0 -1
- package/lib/button-circle-tertiary/button-circle-tertiary.component.d.ts +0 -10
- package/lib/button-circle-tertiary/index.d.ts +0 -1
- package/lib/button-dynamic/button-dynamic.component.d.ts +0 -28
- package/lib/button-dynamic/index.d.ts +0 -1
- package/lib/button-filter/button-filter.component.d.ts +0 -25
- package/lib/button-filter/index.d.ts +0 -1
- package/lib/button-menu-link/button-menu-link.component.d.ts +0 -11
- package/lib/button-menu-link/index.d.ts +0 -1
- package/lib/button-order/button-order.component.d.ts +0 -29
- package/lib/button-order/index.d.ts +0 -1
- package/lib/button-squared-secondary/button-squared-secondary.component.d.ts +0 -10
- package/lib/button-squared-secondary/index.d.ts +0 -1
- package/lib/button-squared-tertiary/button-squared-tertiary.component.d.ts +0 -10
- package/lib/button-squared-tertiary/index.d.ts +0 -1
- package/lib/button-standard-outline/button-standard-outline.component.d.ts +0 -10
- package/lib/button-standard-outline/index.d.ts +0 -1
- package/lib/button-standard-primary/button-standard-primary.component.d.ts +0 -10
- package/lib/button-standard-primary/index.d.ts +0 -1
- package/lib/button-standard-secondary/button-standard-secondary.component.d.ts +0 -9
- package/lib/button-standard-secondary/index.d.ts +0 -1
- package/lib/button-standard-tertiary/button-standard-tertiary.component.d.ts +0 -10
- package/lib/button-standard-tertiary/index.d.ts +0 -1
- package/lib/button-standard-tertiary-small/button-standard-tertiary-small.component.d.ts +0 -11
- package/lib/button-standard-tertiary-small/index.d.ts +0 -1
- package/lib/calification/calification.component.d.ts +0 -14
- package/lib/calification/index.d.ts +0 -1
- package/lib/card-actividad-evento/card-actividad-evento.component.d.ts +0 -40
- package/lib/card-actividad-evento/index.d.ts +0 -1
- package/lib/card-agenda-judicial/card-agenda-judicial.component.d.ts +0 -20
- package/lib/card-agenda-judicial/index.d.ts +0 -1
- package/lib/card-block/card-block.component.d.ts +0 -23
- package/lib/card-block/index.d.ts +0 -1
- package/lib/card-button-checkbox/card-button-checkbox.component.d.ts +0 -14
- package/lib/card-button-checkbox/index.d.ts +0 -1
- package/lib/card-collapse-detalle-proceso/card-collapse-detalle-proceso.component.d.ts +0 -13
- package/lib/card-collapse-detalle-proceso/index.d.ts +0 -1
- package/lib/card-dynamic-content/card-dynamic-content.component.d.ts +0 -7
- package/lib/card-dynamic-content/index.d.ts +0 -1
- package/lib/card-etapa-subetapa/card-etapa-subetapa.component.d.ts +0 -32
- package/lib/card-etapa-subetapa/index.d.ts +0 -1
- package/lib/card-gestion-cupo/card-gestion-cupo.component.d.ts +0 -12
- package/lib/card-gestion-cupo/index.d.ts +0 -1
- package/lib/card-impulso-procesal/card-impulso-procesal.component.d.ts +0 -31
- package/lib/card-impulso-procesal/index.d.ts +0 -1
- package/lib/card-info-facturacion/card-info-facturacion.component.d.ts +0 -19
- package/lib/card-info-facturacion/index.d.ts +0 -1
- package/lib/card-list-consumo/card-list-consumo.component.d.ts +0 -16
- package/lib/card-list-consumo/index.d.ts +0 -1
- package/lib/card-list-drag-on/card-list-drag-on.component.d.ts +0 -28
- package/lib/card-list-drag-on/index.d.ts +0 -1
- package/lib/card-list-movimientos/card-list-movimientos.component.d.ts +0 -16
- package/lib/card-list-movimientos/index.d.ts +0 -1
- package/lib/card-list-proceso/card-list-proceso.component.d.ts +0 -19
- package/lib/card-list-proceso/index.d.ts +0 -1
- package/lib/card-log/card-log.component.d.ts +0 -18
- package/lib/card-log/index.d.ts +0 -1
- package/lib/card-plan-small/card-plan-small.component.d.ts +0 -8
- package/lib/card-plan-small/index.d.ts +0 -1
- package/lib/card-plan-subscription/card-plan-subscription.component.d.ts +0 -23
- package/lib/card-plan-subscription/index.d.ts +0 -1
- package/lib/card-ticket/card-ticket.component.d.ts +0 -22
- package/lib/card-ticket/index.d.ts +0 -1
- package/lib/card-tipo-proceso/card-tipo-proceso.component.d.ts +0 -25
- package/lib/card-tipo-proceso/index.d.ts +0 -1
- package/lib/card-uso-plan/card-uso-plan.component.d.ts +0 -19
- package/lib/card-uso-plan/index.d.ts +0 -1
- package/lib/card-vigilancia-judicial/card-vigilancia-judicial.component.d.ts +0 -28
- package/lib/card-vigilancia-judicial/index.d.ts +0 -1
- package/lib/categories/categories.component.d.ts +0 -14
- package/lib/categories/index.d.ts +0 -1
- package/lib/charts-bar-grouped/charts-bar-grouped.component.d.ts +0 -98
- package/lib/charts-bar-grouped/index.d.ts +0 -1
- package/lib/charts-donut/charts-donut.component.d.ts +0 -47
- package/lib/charts-donut/index.d.ts +0 -1
- package/lib/checkbox/checkbox.component.d.ts +0 -10
- package/lib/checkbox/index.d.ts +0 -1
- package/lib/checkbox-radio/checkbox-radio.component.d.ts +0 -20
- package/lib/checkbox-radio/index.d.ts +0 -1
- package/lib/chip/chip.component.d.ts +0 -11
- package/lib/chip/index.d.ts +0 -1
- package/lib/chip-user/chip-user.component.d.ts +0 -12
- package/lib/chip-user/index.d.ts +0 -1
- package/lib/create-ticket/create-ticket.component.d.ts +0 -57
- package/lib/create-ticket/index.d.ts +0 -1
- package/lib/custom-dropdown/custom-dropdown.component.d.ts +0 -40
- package/lib/custom-dropdown/index.d.ts +0 -1
- package/lib/date-hour-picker/date-hour-picker.component.d.ts +0 -60
- package/lib/date-hour-picker/index.d.ts +0 -1
- package/lib/date-picker/date-picker.component.d.ts +0 -42
- package/lib/date-picker/index.d.ts +0 -1
- package/lib/directives/infinite-scroll.directive.d.ts +0 -15
- package/lib/directives/popover.directive.d.ts +0 -41
- package/lib/double-date-picker/double-date-picker.component.d.ts +0 -57
- package/lib/double-date-picker/index.d.ts +0 -1
- package/lib/drawer-container-right/drawer-container-right.component.d.ts +0 -13
- package/lib/drawer-container-right/index.d.ts +0 -1
- package/lib/dropdown/dropdown.component.d.ts +0 -28
- package/lib/dropdown/index.d.ts +0 -1
- package/lib/dropdown-contextual-menu/dropdown-contextual-menu.component.d.ts +0 -5
- package/lib/dropdown-contextual-menu/index.d.ts +0 -1
- package/lib/dropdown-option-item/dropdown-option-item.component.d.ts +0 -13
- package/lib/dropdown-option-item/index.d.ts +0 -1
- package/lib/dropdown-user-menu/dropdown-user-menu.component.d.ts +0 -17
- package/lib/dropdown-user-menu/index.d.ts +0 -1
- package/lib/empty-list/empty-list.component.d.ts +0 -8
- package/lib/empty-list/index.d.ts +0 -1
- package/lib/filter-item/filter-item.component.d.ts +0 -10
- package/lib/filter-item/index.d.ts +0 -1
- package/lib/icon-lg/icon-lg.component.d.ts +0 -12
- package/lib/icon-lg/index.d.ts +0 -1
- package/lib/icon-md/icon-md.component.d.ts +0 -12
- package/lib/icon-md/index.d.ts +0 -1
- package/lib/icon-sm/icon-sm.component.d.ts +0 -13
- package/lib/icon-sm/index.d.ts +0 -1
- package/lib/icon-xl/icon-xl.component.d.ts +0 -12
- package/lib/icon-xl/index.d.ts +0 -1
- package/lib/icon-xs/icon-xs.component.d.ts +0 -12
- package/lib/icon-xs/index.d.ts +0 -1
- package/lib/icon-xxl/icon-xxl.component.d.ts +0 -12
- package/lib/icon-xxl/index.d.ts +0 -1
- package/lib/icons/icons-map.d.ts +0 -1
- package/lib/input-card/index.d.ts +0 -1
- package/lib/input-card/input-card.component.d.ts +0 -43
- package/lib/input-large/index.d.ts +0 -1
- package/lib/input-large/input-large.component.d.ts +0 -30
- package/lib/input-otp/index.d.ts +0 -1
- package/lib/input-otp/input-otp.component.d.ts +0 -34
- package/lib/input-password/index.d.ts +0 -1
- package/lib/input-password/input-password.component.d.ts +0 -29
- package/lib/input-select/index.d.ts +0 -1
- package/lib/input-select/input-select.component.d.ts +0 -47
- package/lib/input-select-filter/index.d.ts +0 -1
- package/lib/input-select-filter/input-select-filter.component.d.ts +0 -62
- package/lib/input-select-number/index.d.ts +0 -1
- package/lib/input-select-number/input-select-number.component.d.ts +0 -18
- package/lib/input-textfield/index.d.ts +0 -1
- package/lib/input-textfield/input-textfield.component.d.ts +0 -36
- package/lib/item-document/index.d.ts +0 -1
- package/lib/item-document/item-document.component.d.ts +0 -19
- package/lib/linear-progress-bar/index.d.ts +0 -1
- package/lib/linear-progress-bar/linear-progress-bar.component.d.ts +0 -6
- package/lib/loading-circle/index.d.ts +0 -1
- package/lib/loading-circle/loading-circle.component.d.ts +0 -6
- package/lib/loading-component-dynamic/index.d.ts +0 -1
- package/lib/loading-component-dynamic/loading-component-dynamic.component.d.ts +0 -22
- package/lib/menu-item/index.d.ts +0 -1
- package/lib/menu-item/menu-item.component.d.ts +0 -11
- package/lib/nav-rail/index.d.ts +0 -1
- package/lib/nav-rail/nav-rail.component.d.ts +0 -10
- package/lib/notification-card/index.d.ts +0 -1
- package/lib/notification-card/notification-card.component.d.ts +0 -30
- package/lib/notifications/index.d.ts +0 -1
- package/lib/notifications/notifications.component.d.ts +0 -19
- package/lib/option/index.d.ts +0 -1
- package/lib/option/option.component.d.ts +0 -13
- package/lib/option-item/index.d.ts +0 -1
- package/lib/option-item/option-item.component.d.ts +0 -11
- package/lib/page-not-found/index.d.ts +0 -1
- package/lib/page-not-found/page-not-found.component.d.ts +0 -12
- package/lib/popover/popover.component.d.ts +0 -10
- package/lib/progress-bar/progress-bar.component.d.ts +0 -43
- package/lib/search-bar/index.d.ts +0 -1
- package/lib/search-bar/search-bar.component.d.ts +0 -24
- package/lib/section-collapse-drawer-child/index.d.ts +0 -1
- package/lib/section-collapse-drawer-child/section-collapse-drawer-child.component.d.ts +0 -12
- package/lib/section-collapse-drawer-parent/index.d.ts +0 -1
- package/lib/section-collapse-drawer-parent/section-collapse-drawer-parent.component.d.ts +0 -12
- package/lib/segment/index.d.ts +0 -1
- package/lib/segment/segment.component.d.ts +0 -14
- package/lib/simple-card-contador/index.d.ts +0 -1
- package/lib/simple-card-contador/simple-card-contador.component.d.ts +0 -14
- package/lib/simple-chip/index.d.ts +0 -1
- package/lib/simple-chip/simple-chip.component.d.ts +0 -13
- package/lib/simple-divider/index.d.ts +0 -1
- package/lib/simple-divider/simple-divider.component.d.ts +0 -5
- package/lib/simple-user-card/index.d.ts +0 -1
- package/lib/simple-user-card/simple-user-card.component.d.ts +0 -8
- package/lib/slide-toggle/index.d.ts +0 -1
- package/lib/slide-toggle/slide-toggle.component.d.ts +0 -10
- package/lib/snackbar/index.d.ts +0 -1
- package/lib/snackbar/snackbar.component.d.ts +0 -16
- package/lib/support-panel/index.d.ts +0 -1
- package/lib/support-panel/support-panel.component.d.ts +0 -17
- package/lib/toolbar/index.d.ts +0 -1
- package/lib/toolbar/toolbar.component.d.ts +0 -136
- package/lib/toolbar-user-menu/index.d.ts +0 -1
- package/lib/toolbar-user-menu/toolbar-user-menu.component.d.ts +0 -45
- package/lib/user-card/index.d.ts +0 -1
- package/lib/user-card/user-card.component.d.ts +0 -32
- package/public-api.d.ts +0 -103
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
<ius-drawer-container-right [titleDrawer]="'Crear Ticket'" (onDrawerClosed)="onClose()"
|
|
2
|
+
[percentProgressBar]="percentProgressBar">
|
|
3
|
+
<div class="form between-xs">
|
|
4
|
+
<div class="content">
|
|
5
|
+
<ius-section-collapse-drawer-parent textTitle="Información general" [disabled]="false"
|
|
6
|
+
[isActive]="isExpandGeneralInformation" (buttonClicked)="onExpandGeneralInformation()">
|
|
7
|
+
<div class="section">
|
|
8
|
+
<div class="select">
|
|
9
|
+
<ius-input-select componentId="ticketType" [required]="true" [showHelpText]="true" labelSuperior="Tipo de ticket"
|
|
10
|
+
labelInput="Selecciona una opción" [textInput]="typeSelected?.tipo">
|
|
11
|
+
@for (type of tipos; track type) {
|
|
12
|
+
<ius-option (optionClick)="onSetValueType(type)">
|
|
13
|
+
{{ type.tipo }}
|
|
14
|
+
</ius-option>
|
|
15
|
+
}
|
|
16
|
+
</ius-input-select>
|
|
17
|
+
</div>
|
|
18
|
+
<div class="select">
|
|
19
|
+
<ius-input-select componentId="ticketReason" [required]="true" [showHelpText]="true" labelSuperior="Razón del ticket"
|
|
20
|
+
labelInput="Selecciona una opción" [textInput]="reasonSelected?.razon">
|
|
21
|
+
@for (reason of razones; track reason) {
|
|
22
|
+
<ius-option (optionClick)="onSetValueReason(reason)">
|
|
23
|
+
{{ reason.razon }}
|
|
24
|
+
</ius-option>
|
|
25
|
+
}
|
|
26
|
+
</ius-input-select>
|
|
27
|
+
</div>
|
|
28
|
+
<div class="select">
|
|
29
|
+
<ius-input-textfield componentId="tituloTicket" [initialText]="tituloTicket" [required]="true" [showHelpText]="true"
|
|
30
|
+
labelSuperior="Titulo o asunto para el ticket" labelInput="Defina brevemente un asunto o titulo"
|
|
31
|
+
(onChangesValueEvent)="onSetValueTituloTicket($event)">
|
|
32
|
+
</ius-input-textfield>
|
|
33
|
+
</div>
|
|
34
|
+
<div class="select">
|
|
35
|
+
<ius-input-large componentId="descripcionTicket" [initialText]="descripcionTicket" [required]="true" [showHelpText]="true"
|
|
36
|
+
labelSuperior="Descripcion del ticket" labelInput="Describe tu idea o petición para el ticket"
|
|
37
|
+
(onChangesValueEvent)="onSetValueDescripcionTicket($event)">
|
|
38
|
+
</ius-input-large>
|
|
39
|
+
</div>
|
|
40
|
+
</div>
|
|
41
|
+
</ius-section-collapse-drawer-parent>
|
|
42
|
+
</div>
|
|
43
|
+
|
|
44
|
+
<div class="footer">
|
|
45
|
+
<div class="toolbar">
|
|
46
|
+
<div class="toolbar-btn">
|
|
47
|
+
<ius-button-dynamic [labelDefault]="'Crear ticket'" [labelSuccess]="'Agregando'" [labelError]="'Error'"
|
|
48
|
+
[loading]="loading" [result]="lastResult" (buttonClicked)="createTicket()">
|
|
49
|
+
</ius-button-dynamic>
|
|
50
|
+
</div>
|
|
51
|
+
<div class="toolbar-btn">
|
|
52
|
+
<ius-button-standard-secondary (buttonClicked)="onClose()">Cancelar</ius-button-standard-secondary>
|
|
53
|
+
</div>
|
|
54
|
+
</div>
|
|
55
|
+
</div>
|
|
56
|
+
</div>
|
|
57
|
+
</ius-drawer-container-right>
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
@use "@litigiovirtual/ius-design-styles/lib/colors" as colors;
|
|
2
|
+
@use "@litigiovirtual/ius-design-styles/lib/typography" as typography;
|
|
3
|
+
@use "@litigiovirtual/ius-design-styles/lib/variables" as variables;
|
|
4
|
+
@use "@litigiovirtual/ius-design-styles/lib/semantic-colors" as semantic-colors;
|
|
5
|
+
|
|
6
|
+
.form {
|
|
7
|
+
display: flex;
|
|
8
|
+
height: 100%;
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.section {
|
|
13
|
+
display: flex;
|
|
14
|
+
padding: 0px variables.$spacing-xs;
|
|
15
|
+
flex-direction: column;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.content {
|
|
19
|
+
display: flex;
|
|
20
|
+
flex-direction: column;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.select {
|
|
24
|
+
display: flex;
|
|
25
|
+
padding: variables.$spacing-xs variables.$spacing-md;
|
|
26
|
+
flex-direction: column;
|
|
27
|
+
justify-content: center;
|
|
28
|
+
gap: variables.$spacing-xs;
|
|
29
|
+
align-self: stretch;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.footer {
|
|
33
|
+
display: flex;
|
|
34
|
+
flex-direction: column;
|
|
35
|
+
justify-content: flex-end;
|
|
36
|
+
align-items: center;
|
|
37
|
+
gap: 10px;
|
|
38
|
+
flex: 1 0 0;
|
|
39
|
+
align-self: stretch;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.toolbar {
|
|
43
|
+
display: flex;
|
|
44
|
+
padding: variables.$spacing-sm variables.$spacing-md;
|
|
45
|
+
flex-direction: column;
|
|
46
|
+
justify-content: flex-end;
|
|
47
|
+
align-items: center;
|
|
48
|
+
gap: variables.$spacing-xs;
|
|
49
|
+
align-self: stretch;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.toolbar-btn {
|
|
53
|
+
width: 100%;
|
|
54
|
+
}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { ButtonDynamicComponent, ButtonResult } from '../button-dynamic/button-dynamic.component';
|
|
4
|
+
import { ButtonStandardSecondaryComponent } from '../button-standard-secondary/button-standard-secondary.component';
|
|
5
|
+
import { DrawerContainerRightComponent } from '../drawer-container-right/drawer-container-right.component';
|
|
6
|
+
import { SectionCollapseDrawerParentComponent } from '../section-collapse-drawer-parent/section-collapse-drawer-parent.component';
|
|
7
|
+
import { InputSelectComponent } from '../input-select/input-select.component';
|
|
8
|
+
import { InputTextfieldComponent } from '../input-textfield/input-textfield.component';
|
|
9
|
+
import { OptionComponent } from '../option/option.component';
|
|
10
|
+
import { InputLargeComponent } from '../input-large/input-large.component';
|
|
11
|
+
|
|
12
|
+
export interface TipoTicket {
|
|
13
|
+
id?: number;
|
|
14
|
+
tipo?: string;
|
|
15
|
+
cntTipoTicket?: number;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export interface RazonTicket {
|
|
19
|
+
id?: number;
|
|
20
|
+
razon?: string;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export interface CreateTicketSubmitPayload {
|
|
24
|
+
titulo: string;
|
|
25
|
+
descripcion: string;
|
|
26
|
+
tipoTicketID?: number;
|
|
27
|
+
razonTicketID?: number;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Dumb component. Solo UI del drawer "Crear Ticket".
|
|
32
|
+
*
|
|
33
|
+
* App padre provee tipos/razones (que vienen de su API), recibe el evento
|
|
34
|
+
* submitTicket con el payload, y maneja el loading + resultado.
|
|
35
|
+
*
|
|
36
|
+
* Uso:
|
|
37
|
+
* <ius-create-ticket
|
|
38
|
+
* [tipos]="ticketTypes"
|
|
39
|
+
* [razones]="ticketReasons"
|
|
40
|
+
* [loading]="creatingTicket"
|
|
41
|
+
* [lastResult]="ticketResult"
|
|
42
|
+
* (submitTicket)="handleCreateTicket($event)"
|
|
43
|
+
* (closeForm)="addTicket = false">
|
|
44
|
+
* </ius-create-ticket>
|
|
45
|
+
*/
|
|
46
|
+
@Component({
|
|
47
|
+
selector: 'ius-create-ticket',
|
|
48
|
+
standalone: true,
|
|
49
|
+
imports: [
|
|
50
|
+
CommonModule,
|
|
51
|
+
ButtonDynamicComponent,
|
|
52
|
+
ButtonStandardSecondaryComponent,
|
|
53
|
+
DrawerContainerRightComponent,
|
|
54
|
+
SectionCollapseDrawerParentComponent,
|
|
55
|
+
InputSelectComponent,
|
|
56
|
+
InputTextfieldComponent,
|
|
57
|
+
OptionComponent,
|
|
58
|
+
InputLargeComponent,
|
|
59
|
+
],
|
|
60
|
+
templateUrl: './create-ticket.component.html',
|
|
61
|
+
styleUrl: './create-ticket.component.scss'
|
|
62
|
+
})
|
|
63
|
+
export class CreateTicketComponent {
|
|
64
|
+
|
|
65
|
+
@Input() tipos: TipoTicket[] = [];
|
|
66
|
+
@Input() razones: RazonTicket[] = [];
|
|
67
|
+
@Input() loading: boolean = false;
|
|
68
|
+
// Default undefined = botón en estado neutral al abrir el drawer.
|
|
69
|
+
// Se setea a 'success' o 'error' solo tras respuesta del API.
|
|
70
|
+
@Input() lastResult: ButtonResult = undefined;
|
|
71
|
+
|
|
72
|
+
@Output() submitTicket: EventEmitter<CreateTicketSubmitPayload> = new EventEmitter();
|
|
73
|
+
@Output() closeForm: EventEmitter<void> = new EventEmitter();
|
|
74
|
+
|
|
75
|
+
tituloTicket: string = '';
|
|
76
|
+
descripcionTicket: string = '';
|
|
77
|
+
typeSelected?: TipoTicket;
|
|
78
|
+
reasonSelected?: RazonTicket;
|
|
79
|
+
|
|
80
|
+
percentProgressBar = 100;
|
|
81
|
+
isExpandGeneralInformation = true;
|
|
82
|
+
|
|
83
|
+
onClose() {
|
|
84
|
+
this.closeForm.emit();
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
onExpandGeneralInformation() {
|
|
88
|
+
this.isExpandGeneralInformation = true;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
onSetValueType(event: TipoTicket) {
|
|
92
|
+
this.typeSelected = event;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
onSetValueReason(event: RazonTicket) {
|
|
96
|
+
this.reasonSelected = event;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
onSetValueTituloTicket(event: any) {
|
|
100
|
+
this.tituloTicket = event;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
onSetValueDescripcionTicket(event: any) {
|
|
104
|
+
this.descripcionTicket = event;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
createTicket() {
|
|
108
|
+
if (this.loading) {
|
|
109
|
+
return;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
this.submitTicket.emit({
|
|
113
|
+
titulo: this.tituloTicket,
|
|
114
|
+
descripcion: this.descripcionTicket,
|
|
115
|
+
tipoTicketID: this.typeSelected?.id,
|
|
116
|
+
razonTicketID: this.reasonSelected?.id,
|
|
117
|
+
});
|
|
118
|
+
}
|
|
119
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './create-ticket.component';
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
<div class="container-general" [id]="componentId">
|
|
2
|
+
|
|
3
|
+
<!-- Label superior -->
|
|
4
|
+
@if (labelSuperior) {
|
|
5
|
+
<div class="container-label-sup" [ngClass]="{ disabled: disabled }">
|
|
6
|
+
@if (!disabled && required) {
|
|
7
|
+
<div class="icon-dot"></div>
|
|
8
|
+
}
|
|
9
|
+
<span>{{ labelSuperior }}</span>
|
|
10
|
+
@if (!disabled && showHelpText) {
|
|
11
|
+
<ius-icon-md iconName="icon-help" class="icon-color-help"></ius-icon-md>
|
|
12
|
+
}
|
|
13
|
+
<span>:</span>
|
|
14
|
+
</div>
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
<!-- Input principal -->
|
|
18
|
+
<div
|
|
19
|
+
class="container-textfield"
|
|
20
|
+
[ngClass]="{
|
|
21
|
+
disabled: disabled,
|
|
22
|
+
focused: isFocused,
|
|
23
|
+
alert: (!isFocused && isAlertText && !disabled) || (error && !disabled)
|
|
24
|
+
}"
|
|
25
|
+
>
|
|
26
|
+
@if (iconInput) {
|
|
27
|
+
<ius-icon-md [iconName]="iconInput" class="icon-color"></ius-icon-md>
|
|
28
|
+
}
|
|
29
|
+
<input
|
|
30
|
+
type="text"
|
|
31
|
+
[(ngModel)]="textInput"
|
|
32
|
+
[placeholder]="labelInput"
|
|
33
|
+
[disabled]="disabled"
|
|
34
|
+
(input)="onInput()"
|
|
35
|
+
(focus)="onFocus()"
|
|
36
|
+
(blur)="onBlur()"
|
|
37
|
+
(keypress)="onKeyPress($event)"
|
|
38
|
+
/>
|
|
39
|
+
<div class="cnt-icon-right">
|
|
40
|
+
@if (!showList) {
|
|
41
|
+
<ius-icon-md iconName="icon-keyboard-arrow-down" class="icon-arrows"></ius-icon-md>
|
|
42
|
+
} @else {
|
|
43
|
+
<ius-icon-md iconName="icon-keyboard-arrow-up" class="icon-arrows"></ius-icon-md>
|
|
44
|
+
}
|
|
45
|
+
</div>
|
|
46
|
+
</div>
|
|
47
|
+
|
|
48
|
+
<!-- Label inferior -->
|
|
49
|
+
@if (labelInferior && isFocused && !error) {
|
|
50
|
+
<span class="label-inf">{{ labelInferior }}</span>
|
|
51
|
+
}
|
|
52
|
+
@if ((errorText || labelInferior) && ((!isFocused && isAlertText && !disabled) || (error && !disabled))) {
|
|
53
|
+
<span class="label-inf" [ngClass]="{ alert: (!isFocused && isAlertText && !disabled) || (error && !disabled) }">
|
|
54
|
+
{{ errorText ?? labelInferior }}
|
|
55
|
+
</span>
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
<!-- Lista de opciones -->
|
|
59
|
+
@if (showList) {
|
|
60
|
+
<div class="container-options">
|
|
61
|
+
<div class="container-list scrollable-small">
|
|
62
|
+
<div (click)="onSelectOption()">
|
|
63
|
+
<ng-content selector="ius-option"></ng-content>
|
|
64
|
+
</div>
|
|
65
|
+
</div>
|
|
66
|
+
<ius-simple-divider></ius-simple-divider>
|
|
67
|
+
<div class="add-data">
|
|
68
|
+
<div class="container-text">
|
|
69
|
+
<input
|
|
70
|
+
type="text"
|
|
71
|
+
class="input-text"
|
|
72
|
+
[(ngModel)]="element"
|
|
73
|
+
(keypress)="onKeyPressAddElement($event)"
|
|
74
|
+
[placeholder]="placeholderAddText"
|
|
75
|
+
/>
|
|
76
|
+
</div>
|
|
77
|
+
<div class="button-add-option">
|
|
78
|
+
<ius-button-standard-tertiary
|
|
79
|
+
[iconName]="iconBtnAdd"
|
|
80
|
+
(click)="onClickAddElement()"
|
|
81
|
+
>
|
|
82
|
+
{{ textBtnAdd }}
|
|
83
|
+
</ius-button-standard-tertiary>
|
|
84
|
+
</div>
|
|
85
|
+
</div>
|
|
86
|
+
</div>
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
</div>
|
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
@use "@litigiovirtual/ius-design-styles/lib/colors" as colors;
|
|
2
|
+
@use "@litigiovirtual/ius-design-styles/lib/typography" as typography;
|
|
3
|
+
@use "@litigiovirtual/ius-design-styles/lib/variables" as variables;
|
|
4
|
+
@use "@litigiovirtual/ius-design-styles/lib/semantic-colors" as semantic-colors;
|
|
5
|
+
|
|
6
|
+
.container-general {
|
|
7
|
+
position: relative;
|
|
8
|
+
height: 100%;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.container-textfield {
|
|
12
|
+
display: flex;
|
|
13
|
+
padding: 10px variables.$spacing-sm;
|
|
14
|
+
justify-content: center;
|
|
15
|
+
align-items: flex-start;
|
|
16
|
+
gap: variables.$spacing-xxs;
|
|
17
|
+
|
|
18
|
+
border: 1px solid colors.$neutral-2;
|
|
19
|
+
border-radius: variables.$radius-md;
|
|
20
|
+
background: colors.$neutral-2;
|
|
21
|
+
|
|
22
|
+
font-family: typography.$font-secondary;
|
|
23
|
+
font-size: typography.$font-size-base;
|
|
24
|
+
font-weight: typography.$font-weight-regular;
|
|
25
|
+
line-height: typography.$line-height-base;
|
|
26
|
+
letter-spacing: 0.28px;
|
|
27
|
+
|
|
28
|
+
&:hover:not(.disabled):not(.focused):not(.alert) {
|
|
29
|
+
background: colors.$info-100;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&.focused {
|
|
33
|
+
border: 1px solid colors.$primary-600;
|
|
34
|
+
background: colors.$info-100;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&.disabled {
|
|
38
|
+
.icon-color,
|
|
39
|
+
.icon-arrows {
|
|
40
|
+
color: semantic-colors.$color-text-disabled-on-light;
|
|
41
|
+
}
|
|
42
|
+
background: colors.$neutral-2;
|
|
43
|
+
|
|
44
|
+
input::placeholder {
|
|
45
|
+
color: semantic-colors.$color-text-disabled-on-light;
|
|
46
|
+
opacity: 1;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&.alert {
|
|
51
|
+
border: 1px solid colors.$danger-600;
|
|
52
|
+
background: colors.$danger-100;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.icon-color {
|
|
57
|
+
color: semantic-colors.$color-text-secundary-on-light;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.icon-arrows {
|
|
61
|
+
color: semantic-colors.$color-text-primary-on-light;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.icon-color-help {
|
|
65
|
+
color: semantic-colors.$color-text-tertiary-on-light;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
input {
|
|
69
|
+
display: flex;
|
|
70
|
+
align-items: center;
|
|
71
|
+
flex: 1 0 0;
|
|
72
|
+
border: none;
|
|
73
|
+
outline: none;
|
|
74
|
+
background-color: transparent;
|
|
75
|
+
font-family: typography.$font-secondary;
|
|
76
|
+
font-size: typography.$font-size-base;
|
|
77
|
+
font-weight: typography.$font-weight-regular;
|
|
78
|
+
line-height: typography.$line-height-base;
|
|
79
|
+
letter-spacing: 0.28px;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.cnt-icon-right {
|
|
83
|
+
display: flex;
|
|
84
|
+
align-items: center;
|
|
85
|
+
justify-content: center;
|
|
86
|
+
background: none;
|
|
87
|
+
padding: variables.$spacing-none;
|
|
88
|
+
color: semantic-colors.$color-text-primary-on-light;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.container-label-sup {
|
|
92
|
+
display: flex;
|
|
93
|
+
align-items: center;
|
|
94
|
+
gap: variables.$spacing-xxs;
|
|
95
|
+
margin-bottom: variables.$spacing-xs;
|
|
96
|
+
color: semantic-colors.$color-text-primary-on-light;
|
|
97
|
+
font-family: typography.$font-primary;
|
|
98
|
+
font-size: typography.$font-size-base;
|
|
99
|
+
font-weight: typography.$font-weight-medium;
|
|
100
|
+
line-height: typography.$line-height-base;
|
|
101
|
+
letter-spacing: 0.28px;
|
|
102
|
+
|
|
103
|
+
&.disabled {
|
|
104
|
+
color: semantic-colors.$color-text-disabled-on-light;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.icon-dot {
|
|
109
|
+
display: flex;
|
|
110
|
+
align-items: center;
|
|
111
|
+
width: 4px;
|
|
112
|
+
height: 4px;
|
|
113
|
+
aspect-ratio: 1/1;
|
|
114
|
+
background-color: colors.$danger-600;
|
|
115
|
+
border-radius: variables.$radius-pill;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.label-inf {
|
|
119
|
+
display: flex;
|
|
120
|
+
position: absolute;
|
|
121
|
+
margin-top: variables.$spacing-xxs;
|
|
122
|
+
color: semantic-colors.$color-text-secundary-on-light;
|
|
123
|
+
font-family: typography.$font-primary;
|
|
124
|
+
font-size: typography.$font-size-sm;
|
|
125
|
+
font-style: italic;
|
|
126
|
+
font-weight: typography.$font-weight-medium;
|
|
127
|
+
line-height: typography.$line-height-sm;
|
|
128
|
+
letter-spacing: 0.24px;
|
|
129
|
+
|
|
130
|
+
&.alert {
|
|
131
|
+
color: colors.$danger-800;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.container-options {
|
|
136
|
+
position: absolute;
|
|
137
|
+
width: 100%;
|
|
138
|
+
margin-top: variables.$spacing-xxs;
|
|
139
|
+
border-radius: variables.$radius-md;
|
|
140
|
+
background: colors.$neutral-white;
|
|
141
|
+
box-shadow: variables.$elevation-200;
|
|
142
|
+
z-index: 1000;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.container-list {
|
|
146
|
+
max-height: 144px;
|
|
147
|
+
display: flex;
|
|
148
|
+
flex-direction: column;
|
|
149
|
+
margin-top: variables.$spacing-xxs;
|
|
150
|
+
overflow-y: auto;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.add-data {
|
|
154
|
+
display: flex;
|
|
155
|
+
padding-top: variables.$spacing-xs;
|
|
156
|
+
padding-bottom: variables.$spacing-xs;
|
|
157
|
+
align-items: center;
|
|
158
|
+
gap: 10px;
|
|
159
|
+
width: 100%;
|
|
160
|
+
background: colors.$neutral-white;
|
|
161
|
+
border-radius: variables.$radius-md;
|
|
162
|
+
|
|
163
|
+
.container-text {
|
|
164
|
+
display: flex;
|
|
165
|
+
width: 60%;
|
|
166
|
+
align-items: flex-start;
|
|
167
|
+
gap: variables.$spacing-xxs;
|
|
168
|
+
|
|
169
|
+
.input-text {
|
|
170
|
+
width: 100%;
|
|
171
|
+
display: flex;
|
|
172
|
+
margin-left: 10px;
|
|
173
|
+
padding: variables.$spacing-sm;
|
|
174
|
+
justify-content: center;
|
|
175
|
+
align-items: flex-start;
|
|
176
|
+
gap: variables.$spacing-xxs;
|
|
177
|
+
border-radius: variables.$radius-md;
|
|
178
|
+
background: colors.$neutral-2;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.button-add-option {
|
|
183
|
+
margin-right: 10px;
|
|
184
|
+
width: 40%;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.scrollable-small::-webkit-scrollbar {
|
|
189
|
+
-webkit-appearance: none;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.scrollable-small::-webkit-scrollbar:vertical {
|
|
193
|
+
width: variables.$spacing-xxs;
|
|
194
|
+
height: variables.$spacing-xl;
|
|
195
|
+
padding-top: 2px;
|
|
196
|
+
padding-bottom: 2px;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.scrollable-small::-webkit-scrollbar:horizontal {
|
|
200
|
+
height: 5px;
|
|
201
|
+
padding-top: 2px;
|
|
202
|
+
padding-bottom: 2px;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.scrollable-small::-webkit-scrollbar-thumb {
|
|
206
|
+
background-color: colors.$primary-500;
|
|
207
|
+
border-radius: variables.$radius-sm;
|
|
208
|
+
}
|
|
209
|
+
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { CustomDropdownComponent } from './custom-dropdown.component';
|
|
4
|
+
|
|
5
|
+
describe('CustomDropdownComponent', () => {
|
|
6
|
+
let component: CustomDropdownComponent;
|
|
7
|
+
let fixture: ComponentFixture<CustomDropdownComponent>;
|
|
8
|
+
|
|
9
|
+
beforeEach(async () => {
|
|
10
|
+
await TestBed.configureTestingModule({
|
|
11
|
+
imports: [CustomDropdownComponent]
|
|
12
|
+
})
|
|
13
|
+
.compileComponents();
|
|
14
|
+
|
|
15
|
+
fixture = TestBed.createComponent(CustomDropdownComponent);
|
|
16
|
+
component = fixture.componentInstance;
|
|
17
|
+
fixture.detectChanges();
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
it('should create', () => {
|
|
21
|
+
expect(component).toBeTruthy();
|
|
22
|
+
});
|
|
23
|
+
});
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { Component, EventEmitter, HostListener, Input, Output } 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 { SimpleDividerComponent } from '../simple-divider';
|
|
6
|
+
import { ButtonStandardTertiaryComponent } from '../button-standard-tertiary';
|
|
7
|
+
|
|
8
|
+
@Component({
|
|
9
|
+
selector: 'ius-custom-dropdown',
|
|
10
|
+
standalone: true,
|
|
11
|
+
imports: [
|
|
12
|
+
IconMdComponent,
|
|
13
|
+
FormsModule,
|
|
14
|
+
CommonModule,
|
|
15
|
+
SimpleDividerComponent,
|
|
16
|
+
ButtonStandardTertiaryComponent
|
|
17
|
+
],
|
|
18
|
+
templateUrl: './custom-dropdown.component.html',
|
|
19
|
+
styleUrl: './custom-dropdown.component.scss'
|
|
20
|
+
})
|
|
21
|
+
export class CustomDropdownComponent {
|
|
22
|
+
|
|
23
|
+
isFocused = false;
|
|
24
|
+
isAlertText = false;
|
|
25
|
+
showList = false;
|
|
26
|
+
hasClickedInside = false;
|
|
27
|
+
selected = false;
|
|
28
|
+
|
|
29
|
+
@Input({ required: true }) componentId: string = '';
|
|
30
|
+
@Input() required = false;
|
|
31
|
+
@Input() disabled = false;
|
|
32
|
+
@Input() showHelpText = false;
|
|
33
|
+
@Input() error: boolean = false;
|
|
34
|
+
|
|
35
|
+
@Input() labelSuperior?: string;
|
|
36
|
+
@Input() labelInferior?: string;
|
|
37
|
+
@Input() errorText?: string;
|
|
38
|
+
@Input() labelInput?: string;
|
|
39
|
+
@Input() iconInput?: string;
|
|
40
|
+
|
|
41
|
+
@Input() placeholderAddText = 'Digite una nueva';
|
|
42
|
+
@Input() iconBtnAdd = 'icon-add';
|
|
43
|
+
@Input() textBtnAdd = 'Agregar';
|
|
44
|
+
|
|
45
|
+
@Input() textInput = '';
|
|
46
|
+
@Input() element = '';
|
|
47
|
+
|
|
48
|
+
@Output() onChangesValueEvent = new EventEmitter<any>();
|
|
49
|
+
@Output() onEnterKey = new EventEmitter<string>();
|
|
50
|
+
@Output() onAddElement = new EventEmitter<string>();
|
|
51
|
+
@Output() onBlurEvent = new EventEmitter<void>();
|
|
52
|
+
|
|
53
|
+
@HostListener('document:click', ['$event'])
|
|
54
|
+
onClickOutside(event: Event): void {
|
|
55
|
+
if (!this.hasClickedInside) return;
|
|
56
|
+
|
|
57
|
+
const target = event.target as HTMLElement;
|
|
58
|
+
const container = document.getElementById(this.componentId);
|
|
59
|
+
|
|
60
|
+
if (container && !container.contains(target)) {
|
|
61
|
+
this.isFocused = false;
|
|
62
|
+
this.showList = false;
|
|
63
|
+
this.isAlertText = !this.selected && !this.showList;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
onInput(): void {
|
|
68
|
+
if (this.selected) this.selected = false;
|
|
69
|
+
this.onChangesValueEvent.emit(this.textInput);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
onFocus(): void {
|
|
73
|
+
this.isFocused = true;
|
|
74
|
+
this.showList = true;
|
|
75
|
+
this.hasClickedInside = true;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
onBlur(): void {
|
|
79
|
+
this.isFocused = false;
|
|
80
|
+
if (this.required) {
|
|
81
|
+
this.isAlertText = this.textInput === '';
|
|
82
|
+
}
|
|
83
|
+
this.onBlurEvent.emit();
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
onKeyPress(event: KeyboardEvent): void {
|
|
87
|
+
if (event.key === 'Enter') this.addText();
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
onKeyPressAddElement(event: KeyboardEvent): void {
|
|
91
|
+
if (event.key === 'Enter') this.addElementText();
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
onClickAddElement(): void {
|
|
95
|
+
if (this.element.trim() !== '') {
|
|
96
|
+
this.onAddElement.emit(this.element);
|
|
97
|
+
this.element = '';
|
|
98
|
+
} else {
|
|
99
|
+
this.isAlertText = true;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
addElementText(): void {
|
|
104
|
+
if (this.element.trim() !== '') {
|
|
105
|
+
this.onAddElement.emit(this.element);
|
|
106
|
+
this.element = '';
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
addText(): void {
|
|
111
|
+
if (this.textInput.trim() !== '') {
|
|
112
|
+
this.onEnterKey.emit(this.textInput);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
onSelectOption(): void {
|
|
117
|
+
this.isFocused = false;
|
|
118
|
+
this.showList = false;
|
|
119
|
+
this.isAlertText = false;
|
|
120
|
+
this.selected = true;
|
|
121
|
+
}
|
|
122
|
+
}
|