@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,23 @@
|
|
|
1
|
+
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { DoubleDatePickerComponent } from './double-date-picker.component';
|
|
4
|
+
|
|
5
|
+
describe('DoubleDatePickerComponent', () => {
|
|
6
|
+
let component: DoubleDatePickerComponent;
|
|
7
|
+
let fixture: ComponentFixture<DoubleDatePickerComponent>;
|
|
8
|
+
|
|
9
|
+
beforeEach(async () => {
|
|
10
|
+
await TestBed.configureTestingModule({
|
|
11
|
+
imports: [DoubleDatePickerComponent]
|
|
12
|
+
})
|
|
13
|
+
.compileComponents();
|
|
14
|
+
|
|
15
|
+
fixture = TestBed.createComponent(DoubleDatePickerComponent);
|
|
16
|
+
component = fixture.componentInstance;
|
|
17
|
+
fixture.detectChanges();
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
it('should create', () => {
|
|
21
|
+
expect(component).toBeTruthy();
|
|
22
|
+
});
|
|
23
|
+
});
|
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { Component, ElementRef, EventEmitter, HostListener, Input, Output } from '@angular/core';
|
|
3
|
+
import { IconMdComponent } from '../icon-md/icon-md.component';
|
|
4
|
+
import { ButtonStandardTertiaryComponent } from '../button-standard-tertiary/button-standard-tertiary.component';
|
|
5
|
+
|
|
6
|
+
@Component({
|
|
7
|
+
selector: 'ius-double-date-picker',
|
|
8
|
+
standalone: true,
|
|
9
|
+
imports: [CommonModule, IconMdComponent, ButtonStandardTertiaryComponent],
|
|
10
|
+
templateUrl: './double-date-picker.component.html',
|
|
11
|
+
styleUrl: './double-date-picker.component.scss'
|
|
12
|
+
})
|
|
13
|
+
export class DoubleDatePickerComponent {
|
|
14
|
+
@Input() label = 'Fecha de inicio y finalización';
|
|
15
|
+
@Input() placeholder = 'Fecha inicio ';
|
|
16
|
+
@Input() placeholder2 = 'Fecha fin ';
|
|
17
|
+
@Input() error = false;
|
|
18
|
+
@Input() iconHelp = false;
|
|
19
|
+
@Input() helpText = '';
|
|
20
|
+
@Input() helpTextError = '';
|
|
21
|
+
@Input() disabled = false;
|
|
22
|
+
@Input() isRequired = true;
|
|
23
|
+
|
|
24
|
+
@Output() dateRangeSelected = new EventEmitter<{ start: Date; end: Date }>();
|
|
25
|
+
|
|
26
|
+
readonly dayLabels = ['Do', 'Lu', 'Ma', 'Mi', 'Ju', 'Vi', 'Sa'];
|
|
27
|
+
readonly months = ['Ene', 'Feb', 'Mar', 'Abr', 'May', 'Jun', 'Jul', 'Ago', 'Sep', 'Oct', 'Nov', 'Dic'];
|
|
28
|
+
readonly yearsArray = Array.from({ length: 12 }, (_, i) => i);
|
|
29
|
+
|
|
30
|
+
startDate: Date | null = null;
|
|
31
|
+
endDate: Date | null = null;
|
|
32
|
+
isSelectingStart = true;
|
|
33
|
+
|
|
34
|
+
calendarOpen = false;
|
|
35
|
+
focused = false;
|
|
36
|
+
|
|
37
|
+
viewDateLeft = new Date();
|
|
38
|
+
viewDateRight = new Date(new Date().setMonth(new Date().getMonth() + 1));
|
|
39
|
+
|
|
40
|
+
calendarViewLeft: 'day' | 'month' | 'year' = 'day';
|
|
41
|
+
calendarViewRight: 'day' | 'month' | 'year' = 'day';
|
|
42
|
+
|
|
43
|
+
calendarDaysLeft: Date[] = [];
|
|
44
|
+
calendarDaysRight: Date[] = [];
|
|
45
|
+
|
|
46
|
+
constructor(private elRef: ElementRef) {}
|
|
47
|
+
|
|
48
|
+
ngOnInit(): void {
|
|
49
|
+
this.generateCalendarDays();
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
toggleCalendar(): void {
|
|
53
|
+
if (this.disabled) return;
|
|
54
|
+
if (!this.calendarOpen) {
|
|
55
|
+
this.error = false;
|
|
56
|
+
}
|
|
57
|
+
this.calendarOpen = !this.calendarOpen;
|
|
58
|
+
this.focused = true;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
generateCalendarDays(): void {
|
|
62
|
+
this.calendarDaysLeft = this.getCalendarDays(this.viewDateLeft);
|
|
63
|
+
this.calendarDaysRight = this.getCalendarDays(this.viewDateRight);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
getCalendarDays(viewDate: Date): Date[] {
|
|
67
|
+
const days: Date[] = [];
|
|
68
|
+
const year = viewDate.getFullYear();
|
|
69
|
+
const month = viewDate.getMonth();
|
|
70
|
+
const firstDay = new Date(year, month, 1);
|
|
71
|
+
const offset = firstDay.getDay();
|
|
72
|
+
const startDate = new Date(year, month, 1 - offset);
|
|
73
|
+
|
|
74
|
+
for (let i = 0; i < 42; i++) {
|
|
75
|
+
const date = new Date(startDate);
|
|
76
|
+
date.setDate(startDate.getDate() + i);
|
|
77
|
+
days.push(date);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
return days;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
prevLeft(): void {
|
|
84
|
+
this.shiftViewDate('left', -1);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
nextLeft(): void {
|
|
88
|
+
this.shiftViewDate('left', 1);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
prevRight(): void {
|
|
92
|
+
this.shiftViewDate('right', -1);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
nextRight(): void {
|
|
96
|
+
this.shiftViewDate('right', 1);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
shiftViewDate(side: 'left' | 'right', step: number): void {
|
|
100
|
+
const view = side === 'left' ? this.calendarViewLeft : this.calendarViewRight;
|
|
101
|
+
const baseDate = side === 'left' ? this.viewDateLeft : this.viewDateRight;
|
|
102
|
+
const month = baseDate.getMonth();
|
|
103
|
+
const year = baseDate.getFullYear();
|
|
104
|
+
|
|
105
|
+
let newDate: Date;
|
|
106
|
+
if (view === 'day') {
|
|
107
|
+
newDate = new Date(year, month + step, 1);
|
|
108
|
+
} else if (view === 'month') {
|
|
109
|
+
newDate = new Date(year + step, month, 1);
|
|
110
|
+
} else {
|
|
111
|
+
newDate = new Date(year + step * 10, month, 1);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
if (side === 'left') {
|
|
115
|
+
this.viewDateLeft = newDate;
|
|
116
|
+
} else {
|
|
117
|
+
this.viewDateRight = newDate;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
this.generateCalendarDays();
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
nextView(side: 'left' | 'right'): void {
|
|
124
|
+
if (side === 'left') {
|
|
125
|
+
this.calendarViewLeft = this.calendarViewLeft === 'day' ? 'month' : this.calendarViewLeft === 'month' ? 'year' : 'day';
|
|
126
|
+
} else {
|
|
127
|
+
this.calendarViewRight = this.calendarViewRight === 'day' ? 'month' : this.calendarViewRight === 'month' ? 'year' : 'day';
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
setMonth(side: 'left' | 'right', month: number, event?: MouseEvent): void {
|
|
132
|
+
event?.stopPropagation();
|
|
133
|
+
if (side === 'left') {
|
|
134
|
+
this.viewDateLeft.setMonth(month);
|
|
135
|
+
this.calendarViewLeft = 'day';
|
|
136
|
+
} else {
|
|
137
|
+
this.viewDateRight.setMonth(month);
|
|
138
|
+
this.calendarViewRight = 'day';
|
|
139
|
+
}
|
|
140
|
+
this.generateCalendarDays();
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
setYear(side: 'left' | 'right', year: number, event?: MouseEvent): void {
|
|
144
|
+
event?.stopPropagation();
|
|
145
|
+
if (side === 'left') {
|
|
146
|
+
this.viewDateLeft.setFullYear(year);
|
|
147
|
+
this.calendarViewLeft = 'month';
|
|
148
|
+
} else {
|
|
149
|
+
this.viewDateRight.setFullYear(year);
|
|
150
|
+
this.calendarViewRight = 'month';
|
|
151
|
+
}
|
|
152
|
+
this.generateCalendarDays();
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
selectDateFrom(side: 'left' | 'right', date: Date): void {
|
|
156
|
+
if (side === 'left') {
|
|
157
|
+
this.startDate = date;
|
|
158
|
+
this.endDate = null;
|
|
159
|
+
} else {
|
|
160
|
+
if (!this.startDate) {
|
|
161
|
+
this.startDate = date;
|
|
162
|
+
this.endDate = null;
|
|
163
|
+
return;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
if (date >= this.startDate) {
|
|
167
|
+
this.endDate = date;
|
|
168
|
+
this.calendarOpen = false;
|
|
169
|
+
this.dateRangeSelected.emit({ start: this.startDate, end: this.endDate });
|
|
170
|
+
} else {
|
|
171
|
+
this.startDate = date;
|
|
172
|
+
this.endDate = null;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
isDisabledDate(date: Date, side: 'left' | 'right'): boolean {
|
|
178
|
+
if (side === 'right') {
|
|
179
|
+
if (!this.startDate) {
|
|
180
|
+
return true;
|
|
181
|
+
}
|
|
182
|
+
return date <= this.startDate;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
if (side === 'left') {
|
|
186
|
+
return false;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
return false;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
isSameDate(d1: Date, d2: Date | null): boolean {
|
|
194
|
+
return d2! && d1.getDate() === d2.getDate() && d1.getMonth() === d2.getMonth() && d1.getFullYear() === d2.getFullYear();
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
isDateOutOfRange(date: Date, viewDate: Date): boolean {
|
|
198
|
+
return (
|
|
199
|
+
date.getMonth() !== viewDate.getMonth() ||
|
|
200
|
+
date.getFullYear() !== viewDate.getFullYear()
|
|
201
|
+
);
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
isInRange(date: Date): boolean {
|
|
205
|
+
return this.startDate! && this.endDate! && date > this.startDate && date < this.endDate;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
isInRangeForView(date: Date, viewDate: Date): boolean {
|
|
209
|
+
if (this.isDateOutOfRange(date, viewDate)) {
|
|
210
|
+
return false;
|
|
211
|
+
}
|
|
212
|
+
return this.startDate! && this.endDate! && date > this.startDate && date < this.endDate;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
getMonthName(index: number): string {
|
|
216
|
+
return this.months[index];
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
getDecadeStart(viewDate: Date): number {
|
|
220
|
+
return Math.floor(viewDate.getFullYear() / 10) * 10;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
closeCalendar(): void {
|
|
224
|
+
this.calendarOpen = false;
|
|
225
|
+
if (!this.startDate || !this.endDate) {
|
|
226
|
+
this.error = true;
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
@HostListener('document:click', ['$event'])
|
|
231
|
+
handleOutsideClick(event: MouseEvent): void {
|
|
232
|
+
const clickedInside = this.elRef.nativeElement.contains(event.target);
|
|
233
|
+
if (!clickedInside && this.calendarOpen) {
|
|
234
|
+
this.closeCalendar();
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<div class="background-drawer">
|
|
2
|
+
@if (isVisible) {
|
|
3
|
+
<div class="create-container" @slideInOut (@slideInOut.done)="onAnimDone($event)">
|
|
4
|
+
<div class="header-drawer">
|
|
5
|
+
<div class="button-header-drawer">
|
|
6
|
+
<ius-button-circle-tertiary
|
|
7
|
+
(buttonClicked)="close()"
|
|
8
|
+
iconName="icon-arrow-left-alt"
|
|
9
|
+
></ius-button-circle-tertiary>
|
|
10
|
+
</div>
|
|
11
|
+
<div class="title-header-drawer">{{ titleDrawer }}</div>
|
|
12
|
+
</div>
|
|
13
|
+
<ius-linear-progress-bar
|
|
14
|
+
[porcentaje]="percentProgressBar"
|
|
15
|
+
></ius-linear-progress-bar>
|
|
16
|
+
<div
|
|
17
|
+
class="scrollable"
|
|
18
|
+
style="height: calc(100% - 69px); overflow-y:auto;"
|
|
19
|
+
>
|
|
20
|
+
<ng-content></ng-content>
|
|
21
|
+
</div>
|
|
22
|
+
</div>
|
|
23
|
+
}
|
|
24
|
+
</div>
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
@use '@litigiovirtual/ius-design-styles/lib/typography' as typography;
|
|
2
|
+
@use '@litigiovirtual/ius-design-styles/lib/semantic-colors' as semantic-colors;
|
|
3
|
+
@use '@litigiovirtual/ius-design-styles/lib/colors' as colors;
|
|
4
|
+
@use '@litigiovirtual/ius-design-styles/lib/variables' as variables;
|
|
5
|
+
|
|
6
|
+
.background-drawer {
|
|
7
|
+
position: absolute;
|
|
8
|
+
top: 0;
|
|
9
|
+
left: 0;
|
|
10
|
+
display: flex;
|
|
11
|
+
height: 100%;
|
|
12
|
+
width: 100%;
|
|
13
|
+
justify-content: center;
|
|
14
|
+
background-color: rgba(0, 0, 0, 0.2);
|
|
15
|
+
transition: 0.2s ease-in-out;
|
|
16
|
+
align-items: center;
|
|
17
|
+
z-index: 900;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.create-container {
|
|
21
|
+
height: calc(100vh - 60px);
|
|
22
|
+
position: absolute;
|
|
23
|
+
z-index: 1000;
|
|
24
|
+
width: 390px;
|
|
25
|
+
top: 60px;
|
|
26
|
+
right: 0px;
|
|
27
|
+
background-color: white;
|
|
28
|
+
border-radius: 8px 0px 0px 8px;
|
|
29
|
+
box-shadow: 0px 2px 6px 3px rgba(0, 0, 0, 0.15), 0px 1px 3px 0px rgba(0, 0, 0, 0.30);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.header-drawer {
|
|
33
|
+
display: flex;
|
|
34
|
+
padding: 12px 16px;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.title-header-drawer {
|
|
38
|
+
width: 100%;
|
|
39
|
+
font-family: typography.$font-primary;
|
|
40
|
+
font-size: typography.$font-size-h4;
|
|
41
|
+
color: semantic-colors.$color-text-primary-on-light;
|
|
42
|
+
line-height: typography.$line-height-h4;
|
|
43
|
+
letter-spacing: 0.2px;
|
|
44
|
+
padding-top: 10px;
|
|
45
|
+
font-weight: 700;
|
|
46
|
+
|
|
47
|
+
display: flex;
|
|
48
|
+
justify-content: center;
|
|
49
|
+
overflow: hidden;
|
|
50
|
+
white-space: normal;
|
|
51
|
+
text-overflow: ellipsis;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.button-header-drawer {
|
|
55
|
+
margin-left: 3px;
|
|
56
|
+
margin-top: 1px;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.scrollable {
|
|
60
|
+
overflow-y: auto;
|
|
61
|
+
overflow-x: hidden;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.scrollable::-webkit-scrollbar {
|
|
65
|
+
-webkit-appearance: none;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.scrollable::-webkit-scrollbar:vertical {
|
|
69
|
+
width: 7px;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.scrollable::-webkit-scrollbar-thumb {
|
|
73
|
+
background-color: #d8d6d6;
|
|
74
|
+
border-radius: 20px;
|
|
75
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { DrawerContainerRightComponent } from './drawer-container-right.component';
|
|
4
|
+
|
|
5
|
+
describe('DrawerContainerRightComponent', () => {
|
|
6
|
+
let component: DrawerContainerRightComponent;
|
|
7
|
+
let fixture: ComponentFixture<DrawerContainerRightComponent>;
|
|
8
|
+
|
|
9
|
+
beforeEach(async () => {
|
|
10
|
+
await TestBed.configureTestingModule({
|
|
11
|
+
imports: [DrawerContainerRightComponent]
|
|
12
|
+
})
|
|
13
|
+
.compileComponents();
|
|
14
|
+
|
|
15
|
+
fixture = TestBed.createComponent(DrawerContainerRightComponent);
|
|
16
|
+
component = fixture.componentInstance;
|
|
17
|
+
fixture.detectChanges();
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
it('should create', () => {
|
|
21
|
+
expect(component).toBeTruthy();
|
|
22
|
+
});
|
|
23
|
+
});
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { animate, state, style, transition, trigger } from '@angular/animations';
|
|
2
|
+
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
3
|
+
import { LinearProgressBarComponent } from "../linear-progress-bar/linear-progress-bar.component";
|
|
4
|
+
import { ButtonCircleTertiaryComponent } from "../button-circle-tertiary/button-circle-tertiary.component";
|
|
5
|
+
|
|
6
|
+
@Component({
|
|
7
|
+
selector: 'ius-drawer-container-right',
|
|
8
|
+
standalone: true,
|
|
9
|
+
imports: [LinearProgressBarComponent, ButtonCircleTertiaryComponent],
|
|
10
|
+
templateUrl: './drawer-container-right.component.html',
|
|
11
|
+
styleUrl: './drawer-container-right.component.scss',
|
|
12
|
+
animations: [
|
|
13
|
+
trigger('slideInOut', [
|
|
14
|
+
state('void', style({
|
|
15
|
+
transform: 'translateX(100%)',
|
|
16
|
+
opacity: 0
|
|
17
|
+
})),
|
|
18
|
+
state('*', style({
|
|
19
|
+
transform: 'translateX(0)',
|
|
20
|
+
opacity: 1
|
|
21
|
+
})),
|
|
22
|
+
transition('void => *', [
|
|
23
|
+
animate('300ms ease-in')
|
|
24
|
+
]),
|
|
25
|
+
transition('* => void', [
|
|
26
|
+
animate('300ms ease-out')
|
|
27
|
+
])
|
|
28
|
+
])
|
|
29
|
+
],
|
|
30
|
+
})
|
|
31
|
+
export class DrawerContainerRightComponent {
|
|
32
|
+
@Input() titleDrawer: string = "Title Drawer";
|
|
33
|
+
@Input() percentProgressBar: number = 50;
|
|
34
|
+
|
|
35
|
+
@Output() onPressedBackEvent: EventEmitter<any> = new EventEmitter();
|
|
36
|
+
@Output() onDrawerClosed = new EventEmitter<void>();
|
|
37
|
+
|
|
38
|
+
isVisible: boolean = true;
|
|
39
|
+
|
|
40
|
+
close() {
|
|
41
|
+
this.isVisible = false;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
onAnimDone(event: any) {
|
|
45
|
+
if (event.toState === 'void') {
|
|
46
|
+
this.onDrawerClosed.emit();
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './drawer-container-right.component';
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
<div class="dropdown-container">
|
|
2
|
+
<button [disabled]="disabled" (click)="onClick()" class="ius-btn" [ngClass]="{ isActive: isActive || isOpen }">
|
|
3
|
+
@if(iconName){
|
|
4
|
+
<ius-icon-md [iconName]="iconName" class="icon-color"></ius-icon-md>
|
|
5
|
+
}
|
|
6
|
+
<span class="btn-label">{{ currentLabel }}</span>
|
|
7
|
+
<ius-icon-sm
|
|
8
|
+
class="arrow"
|
|
9
|
+
[iconName]="
|
|
10
|
+
isOpen ? 'icon-keyboard-arrow-up' : 'icon-keyboard-arrow-down'
|
|
11
|
+
"
|
|
12
|
+
></ius-icon-sm>
|
|
13
|
+
</button>
|
|
14
|
+
|
|
15
|
+
@if (isOpen) {
|
|
16
|
+
<div class="dropdown-menu">
|
|
17
|
+
@for (option of options; track option; let i = $index) {
|
|
18
|
+
<div
|
|
19
|
+
class="dropdown-option"
|
|
20
|
+
[ngClass]="{
|
|
21
|
+
isDisabled: option.disabled,
|
|
22
|
+
isSelected: selectedIndex === i
|
|
23
|
+
}"
|
|
24
|
+
(click)="onSelectOption(i, option)"
|
|
25
|
+
>
|
|
26
|
+
<ius-icon-md iconName="icon-docs-2" class="icon-doc-color"></ius-icon-md>
|
|
27
|
+
<span>{{ option.label }}</span>
|
|
28
|
+
@if (selectedIndex === i && !option.disabled) {
|
|
29
|
+
<ius-icon-sm iconName="icon-check-circle" class="selected-check"></ius-icon-sm>
|
|
30
|
+
}
|
|
31
|
+
</div>
|
|
32
|
+
}
|
|
33
|
+
</div>
|
|
34
|
+
}
|
|
35
|
+
</div>
|
|
36
|
+
|
|
@@ -0,0 +1,147 @@
|
|
|
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
|
+
:host {
|
|
7
|
+
display: block;
|
|
8
|
+
width: 100%;
|
|
9
|
+
min-width: 0;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.icon-color {
|
|
13
|
+
color: colors.$info-400;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.icon-doc-color {
|
|
17
|
+
color: colors.$info-400;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.arrow {
|
|
21
|
+
margin-left: auto;
|
|
22
|
+
padding-bottom: 5px;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.btn-label {
|
|
26
|
+
flex: 1;
|
|
27
|
+
min-width: 0;
|
|
28
|
+
overflow: hidden;
|
|
29
|
+
white-space: nowrap;
|
|
30
|
+
text-overflow: ellipsis;
|
|
31
|
+
text-align: left;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.ius-btn {
|
|
35
|
+
display: flex;
|
|
36
|
+
width: 100%;
|
|
37
|
+
;
|
|
38
|
+
height: 40px;
|
|
39
|
+
padding: variables.$spacing-xxs variables.$spacing-xs;
|
|
40
|
+
align-items: center;
|
|
41
|
+
gap: variables.$spacing-xs;
|
|
42
|
+
border-radius: variables.$radius-md;
|
|
43
|
+
background-color: colors.$neutral-2;
|
|
44
|
+
color: semantic-colors.$color-text-secundary-on-light;
|
|
45
|
+
border: none;
|
|
46
|
+
cursor: pointer;
|
|
47
|
+
font-family: typography.$font-primary;
|
|
48
|
+
font-size: typography.$font-size-h5;
|
|
49
|
+
line-height: typography.$line-height-h5;
|
|
50
|
+
letter-spacing: 0.18px;
|
|
51
|
+
justify-content: space-between;
|
|
52
|
+
|
|
53
|
+
&:hover:not(:disabled) {
|
|
54
|
+
background-color: colors.$neutral-3;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
&:active:not(:disabled) {
|
|
58
|
+
background-color: colors.$neutral-4;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&:disabled {
|
|
62
|
+
.icon-color {
|
|
63
|
+
color: semantic-colors.$color-text-disabled-on-light;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
color: semantic-colors.$color-text-disabled-on-light;
|
|
67
|
+
background-color: semantic-colors.$color-btn-secondary-1-disabled;
|
|
68
|
+
cursor: not-allowed;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
&.isActive {
|
|
72
|
+
border: 0.5px solid colors.$info-800;
|
|
73
|
+
background-color: semantic-colors.$color-btn-secondary-1-disabled;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.dropdown-container {
|
|
78
|
+
position: relative;
|
|
79
|
+
display: block;
|
|
80
|
+
width: 100%;
|
|
81
|
+
min-width: 0;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.dropdown-menu {
|
|
85
|
+
position: absolute;
|
|
86
|
+
top: 100%;
|
|
87
|
+
left: 0;
|
|
88
|
+
z-index: 10;
|
|
89
|
+
margin-top: variables.$spacing-xxs;
|
|
90
|
+
display: flex;
|
|
91
|
+
flex-direction: column;
|
|
92
|
+
border-radius: variables.$radius-md;
|
|
93
|
+
box-shadow: variables.$elevation-200;
|
|
94
|
+
background-color: colors.$neutral-white;
|
|
95
|
+
padding: variables.$spacing-xxs;
|
|
96
|
+
width: 100%;
|
|
97
|
+
box-sizing: border-box;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.dropdown-option {
|
|
101
|
+
display: flex;
|
|
102
|
+
height: 38px;
|
|
103
|
+
padding: 8px 20px 8px 12px;
|
|
104
|
+
align-items: center;
|
|
105
|
+
gap: variables.$spacing-xs;
|
|
106
|
+
border-radius: variables.$radius-md;
|
|
107
|
+
background-color: semantic-colors.$color-btn-secondary-1-default;
|
|
108
|
+
font-family: typography.$font-secondary;
|
|
109
|
+
font-size: typography.$font-size-large;
|
|
110
|
+
line-height: typography.$line-height-large;
|
|
111
|
+
font-weight: 400;
|
|
112
|
+
border: none;
|
|
113
|
+
cursor: pointer;
|
|
114
|
+
min-width: 0;
|
|
115
|
+
|
|
116
|
+
span {
|
|
117
|
+
flex: 1;
|
|
118
|
+
min-width: 0;
|
|
119
|
+
overflow: hidden;
|
|
120
|
+
white-space: nowrap;
|
|
121
|
+
text-overflow: ellipsis;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
&:hover:not(:disabled) {
|
|
125
|
+
background-color: colors.$neutral-3;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
&:active:not(:disabled) {
|
|
129
|
+
background-color: colors.$info-200;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
&.isDisabled {
|
|
133
|
+
cursor: not-allowed;
|
|
134
|
+
color: semantic-colors.$color-text-disabled-on-light;
|
|
135
|
+
|
|
136
|
+
.icon-doc-color {
|
|
137
|
+
color: semantic-colors.$color-text-disabled-on-light;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
&.isSelected {
|
|
142
|
+
.selected-check {
|
|
143
|
+
margin-left: auto;
|
|
144
|
+
color: colors.$info-500;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { DropdownComponent } from './dropdown.component';
|
|
4
|
+
|
|
5
|
+
describe('DropdownComponent', () => {
|
|
6
|
+
let component: DropdownComponent;
|
|
7
|
+
let fixture: ComponentFixture<DropdownComponent>;
|
|
8
|
+
|
|
9
|
+
beforeEach(async () => {
|
|
10
|
+
await TestBed.configureTestingModule({
|
|
11
|
+
imports: [DropdownComponent]
|
|
12
|
+
})
|
|
13
|
+
.compileComponents();
|
|
14
|
+
|
|
15
|
+
fixture = TestBed.createComponent(DropdownComponent);
|
|
16
|
+
component = fixture.componentInstance;
|
|
17
|
+
fixture.detectChanges();
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
it('should create', () => {
|
|
21
|
+
expect(component).toBeTruthy();
|
|
22
|
+
});
|
|
23
|
+
});
|