@litigiovirtual/ius-design-components 1.0.265 → 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 -150
- 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 -8088
- 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 -48
- 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,164 @@
|
|
|
1
|
+
import { Directive, ElementRef, Input, OnDestroy, HostListener, inject, ViewContainerRef, ComponentRef } from '@angular/core';
|
|
2
|
+
import { Overlay, OverlayRef, ConnectedPosition, FlexibleConnectedPositionStrategy, OverlayModule } from '@angular/cdk/overlay';
|
|
3
|
+
import { ComponentPortal, PortalModule } from '@angular/cdk/portal';
|
|
4
|
+
import { PopoverComponent } from '../popover/popover.component';
|
|
5
|
+
|
|
6
|
+
type PrefPos = 'left' | 'right' | 'top' | 'bottom';
|
|
7
|
+
|
|
8
|
+
@Directive({
|
|
9
|
+
selector: '[iusPopover], [iusPopoverTitle], [iusPopoverContent]',
|
|
10
|
+
standalone: true,
|
|
11
|
+
host: { '(keydown.Escape)': 'forceClose()' }
|
|
12
|
+
})
|
|
13
|
+
export class PopoverDirective implements OnDestroy {
|
|
14
|
+
private overlay = inject(Overlay);
|
|
15
|
+
private vcr = inject(ViewContainerRef);
|
|
16
|
+
private hostEl = inject(ElementRef<HTMLElement>);
|
|
17
|
+
private overlayRef?: OverlayRef;
|
|
18
|
+
private portal?: ComponentPortal<PopoverComponent>;
|
|
19
|
+
private compRef?: ComponentRef<PopoverComponent>;
|
|
20
|
+
|
|
21
|
+
private openT?: any;
|
|
22
|
+
private closeT?: any;
|
|
23
|
+
private overHost = false;
|
|
24
|
+
private overOverlay = false;
|
|
25
|
+
private isOpen = false;
|
|
26
|
+
|
|
27
|
+
// API simple
|
|
28
|
+
@Input('iusPopover') data?: { title?: string; content?: string };
|
|
29
|
+
@Input('iusPopoverTitle') title?: string;
|
|
30
|
+
@Input('iusPopoverContent') content?: string;
|
|
31
|
+
|
|
32
|
+
// Opcionales
|
|
33
|
+
@Input() iusPopoverPosition: PrefPos | PrefPos[] = ['right','left','top','bottom'];
|
|
34
|
+
@Input() iusPopoverOpenDelay = 400;
|
|
35
|
+
@Input() iusPopoverCloseDelay = 200;
|
|
36
|
+
|
|
37
|
+
// Eventos host
|
|
38
|
+
@HostListener('mouseenter') _enterHost() { this.overHost = true; this.show(); }
|
|
39
|
+
@HostListener('focusin') _focusHost() { this.overHost = true; this.show(); }
|
|
40
|
+
@HostListener('mouseleave') _leaveHost() { this.overHost = false; this.hide(); }
|
|
41
|
+
@HostListener('focusout') _blurHost() { this.overHost = false; this.hide(); }
|
|
42
|
+
|
|
43
|
+
ngOnDestroy() { this.dispose(); }
|
|
44
|
+
|
|
45
|
+
getPositions(): ConnectedPosition[] {
|
|
46
|
+
const order: PrefPos[] = Array.isArray(this.iusPopoverPosition)
|
|
47
|
+
? this.iusPopoverPosition : [this.iusPopoverPosition];
|
|
48
|
+
|
|
49
|
+
const map: Record<PrefPos, ConnectedPosition> = {
|
|
50
|
+
left: { originX: 'start', originY: 'center', overlayX: 'end', overlayY: 'center', offsetX: -10 },
|
|
51
|
+
right: { originX: 'end', originY: 'center', overlayX: 'start', overlayY: 'center', offsetX: 10 },
|
|
52
|
+
top: { originX: 'center', originY: 'top', overlayX: 'center', overlayY: 'bottom', offsetY: -10 },
|
|
53
|
+
bottom: { originX: 'center', originY: 'bottom', overlayX: 'center', overlayY: 'top', offsetY: 10 },
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
const all = ['left', 'right', 'top', 'bottom'].map(p => map[p as PrefPos]);
|
|
57
|
+
const preferred = order.map(p => map[p]).filter(Boolean);
|
|
58
|
+
return [...preferred, ...all];
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
ensureOverlay(): OverlayRef {
|
|
62
|
+
if (this.overlayRef) return this.overlayRef;
|
|
63
|
+
|
|
64
|
+
const strategy: FlexibleConnectedPositionStrategy = this.overlay.position()
|
|
65
|
+
.flexibleConnectedTo(this.hostEl)
|
|
66
|
+
.withPositions(this.getPositions())
|
|
67
|
+
.withFlexibleDimensions(false)
|
|
68
|
+
.withViewportMargin(8)
|
|
69
|
+
.withPush(true);
|
|
70
|
+
|
|
71
|
+
this.overlayRef = this.overlay.create({
|
|
72
|
+
positionStrategy: strategy,
|
|
73
|
+
hasBackdrop: false,
|
|
74
|
+
panelClass: 'ius-popover-panel',
|
|
75
|
+
scrollStrategy: this.overlay.scrollStrategies.reposition(),
|
|
76
|
+
});
|
|
77
|
+
|
|
78
|
+
const el = this.overlayRef.overlayElement;
|
|
79
|
+
el.addEventListener('mouseenter', () => { this.overOverlay = true; clearTimeout(this.closeT); });
|
|
80
|
+
el.addEventListener('mouseleave', () => { this.overOverlay = false; this.hide(); });
|
|
81
|
+
|
|
82
|
+
// Cuando CDK re-posiciona, recalculamos el lado real y seteamos la clase de cola
|
|
83
|
+
strategy.positionChanges.subscribe(() => {
|
|
84
|
+
if (this.compRef && this.overlayRef) {
|
|
85
|
+
const cls = this.computeTailFromRects();
|
|
86
|
+
this.compRef.instance.positionClass = cls;
|
|
87
|
+
this.compRef.changeDetectorRef.markForCheck();
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
|
|
91
|
+
return this.overlayRef;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
// Decide el lado de la cola comparando rects reales del host vs overlay
|
|
95
|
+
computeTailFromRects(): 'tail-left' | 'tail-right' | 'tail-top' | 'tail-bottom' {
|
|
96
|
+
const host = this.hostEl.nativeElement.getBoundingClientRect();
|
|
97
|
+
const pane = this.overlayRef!.overlayElement.getBoundingClientRect();
|
|
98
|
+
|
|
99
|
+
const dLeft = Math.abs(pane.right - host.left); // popover a la IZQUIERDA
|
|
100
|
+
const dRight = Math.abs(pane.left - host.right); // popover a la DERECHA
|
|
101
|
+
const dTop = Math.abs(pane.bottom - host.top); // popover ARRIBA
|
|
102
|
+
const dBot = Math.abs(pane.top - host.bottom); // popover ABAJO
|
|
103
|
+
|
|
104
|
+
const min = Math.min(dLeft, dRight, dTop, dBot);
|
|
105
|
+
if (min === dRight) return 'tail-left'; // popover a la DERECHA -> cola IZQUIERDA
|
|
106
|
+
if (min === dLeft) return 'tail-right'; // popover a la IZQUIERDA -> cola DERECHA
|
|
107
|
+
if (min === dBot) return 'tail-top'; // popover ABAJO -> cola ARRIBA
|
|
108
|
+
return 'tail-bottom'; // popover ARRIBA -> cola ABAJO
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
show(): void {
|
|
112
|
+
clearTimeout(this.closeT);
|
|
113
|
+
if (this.isOpen) return;
|
|
114
|
+
|
|
115
|
+
this.openT = setTimeout(() => {
|
|
116
|
+
const overlayRef = this.ensureOverlay();
|
|
117
|
+
if (!this.portal) this.portal = new ComponentPortal(PopoverComponent, this.vcr);
|
|
118
|
+
|
|
119
|
+
if (!overlayRef.hasAttached()) {
|
|
120
|
+
this.compRef = overlayRef.attach(this.portal);
|
|
121
|
+
this.compRef.instance.label = this.data?.title ?? this.title ?? '';
|
|
122
|
+
this.compRef.instance.content = this.data?.content ?? this.content ?? '';
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
overlayRef.updatePosition();
|
|
126
|
+
|
|
127
|
+
// Tras el layout real, calculamos la cola exacta
|
|
128
|
+
setTimeout(() => {
|
|
129
|
+
if (this.compRef && this.overlayRef) {
|
|
130
|
+
this.compRef.instance.positionClass = this.computeTailFromRects();
|
|
131
|
+
this.compRef.changeDetectorRef.markForCheck();
|
|
132
|
+
}
|
|
133
|
+
});
|
|
134
|
+
|
|
135
|
+
this.isOpen = true;
|
|
136
|
+
}, this.iusPopoverOpenDelay);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
hide(): void {
|
|
140
|
+
clearTimeout(this.openT);
|
|
141
|
+
if (this.overHost || this.overOverlay) return;
|
|
142
|
+
|
|
143
|
+
this.closeT = setTimeout(() => {
|
|
144
|
+
if (this.overlayRef?.hasAttached()) this.overlayRef.detach();
|
|
145
|
+
this.isOpen = false;
|
|
146
|
+
this.compRef = undefined;
|
|
147
|
+
}, this.iusPopoverCloseDelay);
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
forceClose() {
|
|
151
|
+
this.overHost = this.overOverlay = false;
|
|
152
|
+
clearTimeout(this.openT);
|
|
153
|
+
clearTimeout(this.closeT);
|
|
154
|
+
if (this.overlayRef?.hasAttached()) this.overlayRef.detach();
|
|
155
|
+
this.isOpen = false;
|
|
156
|
+
this.compRef = undefined;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
dispose() {
|
|
160
|
+
this.forceClose();
|
|
161
|
+
this.overlayRef?.dispose();
|
|
162
|
+
this.overlayRef = undefined;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
<div class="date-picker" [class.disabled]="disabled">
|
|
2
|
+
<div class="text">
|
|
3
|
+
@if (isRequired) {
|
|
4
|
+
<div class="required"></div>
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
<label class="label">{{ label }}</label>
|
|
8
|
+
|
|
9
|
+
@if (iconHelp) {
|
|
10
|
+
<div class="help-icon">
|
|
11
|
+
<ius-icon-md iconName="icon-help"></ius-icon-md>
|
|
12
|
+
</div>
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
<label class="label">:</label>
|
|
16
|
+
</div>
|
|
17
|
+
|
|
18
|
+
<div class="input-wrapper">
|
|
19
|
+
<div
|
|
20
|
+
class="container-textfield"
|
|
21
|
+
[ngClass]="{
|
|
22
|
+
disabled: disabled,
|
|
23
|
+
focused: calendarOpen || focused,
|
|
24
|
+
alert: !calendarOpen && error && !disabled,
|
|
25
|
+
selected: startDate && endDate
|
|
26
|
+
}"
|
|
27
|
+
(click)="toggleCalendar()"
|
|
28
|
+
>
|
|
29
|
+
<div class="input">
|
|
30
|
+
<div class="fechas">
|
|
31
|
+
<input
|
|
32
|
+
[placeholder]="placeholder"
|
|
33
|
+
[value]="startDate ? (startDate | date : 'dd/MM/yyyy') : ''"
|
|
34
|
+
readonly
|
|
35
|
+
[disabled]="disabled"
|
|
36
|
+
/>
|
|
37
|
+
</div>
|
|
38
|
+
<div style="color: #595959;">
|
|
39
|
+
<ius-icon-md [iconName]="'icon-east'" ></ius-icon-md>
|
|
40
|
+
</div>
|
|
41
|
+
<div class="fechas">
|
|
42
|
+
<input
|
|
43
|
+
[placeholder]="placeholder"
|
|
44
|
+
[value]="endDate ? (endDate | date : 'dd/MM/yyyy') : ''"
|
|
45
|
+
readonly
|
|
46
|
+
[disabled]="disabled"
|
|
47
|
+
/>
|
|
48
|
+
</div>
|
|
49
|
+
<div class="cnt-icon-right">
|
|
50
|
+
<ius-icon-md iconName="icon-calendar-today"></ius-icon-md>
|
|
51
|
+
</div>
|
|
52
|
+
</div>
|
|
53
|
+
</div>
|
|
54
|
+
|
|
55
|
+
@if (calendarOpen) {
|
|
56
|
+
<div class="calendar-overlay">
|
|
57
|
+
<div class="mes">
|
|
58
|
+
<div class="calendar-header">
|
|
59
|
+
<ius-button-standard-tertiary iconName="icon-keyboard-arrow-left" (buttonClicked)="prevLeft()"></ius-button-standard-tertiary>
|
|
60
|
+
|
|
61
|
+
<span (click)="nextView('left')">
|
|
62
|
+
@switch (calendarViewLeft) {
|
|
63
|
+
@case ('day') { {{ getMonthName(viewDateLeft.getMonth()) }} {{ viewDateLeft.getFullYear() }} }
|
|
64
|
+
@case ('month') { {{ viewDateLeft.getFullYear() }} }
|
|
65
|
+
@case ('year') { {{ getDecadeStart(viewDateLeft) }}–{{ getDecadeStart(viewDateLeft) + 9 }} }
|
|
66
|
+
}
|
|
67
|
+
</span>
|
|
68
|
+
|
|
69
|
+
<ius-button-standard-tertiary iconName="icon-keyboard-arrow-right" (buttonClicked)="nextLeft()"></ius-button-standard-tertiary>
|
|
70
|
+
</div>
|
|
71
|
+
|
|
72
|
+
<div class="calendar-body">
|
|
73
|
+
@switch (calendarViewLeft) {
|
|
74
|
+
@case ('day') {
|
|
75
|
+
<div class="grid days">
|
|
76
|
+
@for (day of dayLabels; track day) { <div class="header">{{ day }}</div> }
|
|
77
|
+
@for (date of calendarDaysLeft; track date) {
|
|
78
|
+
<div class="cell"
|
|
79
|
+
[class.selected]="isSameDate(date, startDate)"
|
|
80
|
+
[class.range]="isInRangeForView(date, viewDateLeft)"
|
|
81
|
+
[class.out-of-range]="isDateOutOfRange(date, viewDateLeft)"
|
|
82
|
+
(click)="selectDateFrom('left', date)">
|
|
83
|
+
{{ date.getDate() }}
|
|
84
|
+
</div>
|
|
85
|
+
}
|
|
86
|
+
</div>
|
|
87
|
+
}
|
|
88
|
+
@case ('month') {
|
|
89
|
+
<div class="grid months">
|
|
90
|
+
@for (m of months; track m; let i = $index) {
|
|
91
|
+
<div class="cell" (click)="setMonth('left', i, $event)">{{ m }}</div>
|
|
92
|
+
}
|
|
93
|
+
</div>
|
|
94
|
+
}
|
|
95
|
+
@case ('year') {
|
|
96
|
+
<div class="grid years">
|
|
97
|
+
@for (i of yearsArray; track i) {
|
|
98
|
+
<div class="cell"
|
|
99
|
+
[class.out-of-range]="i === 0 || i === 11"
|
|
100
|
+
(click)="setYear('left', getDecadeStart(viewDateLeft) - 1 + i, $event)">
|
|
101
|
+
{{ getDecadeStart(viewDateLeft) - 1 + i }}
|
|
102
|
+
</div>
|
|
103
|
+
}
|
|
104
|
+
</div>
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
</div>
|
|
108
|
+
</div>
|
|
109
|
+
|
|
110
|
+
<div class="mes">
|
|
111
|
+
<div class="calendar-header">
|
|
112
|
+
<ius-button-standard-tertiary iconName="icon-keyboard-arrow-left" (buttonClicked)="prevRight()"></ius-button-standard-tertiary>
|
|
113
|
+
|
|
114
|
+
<span (click)="nextView('right')">
|
|
115
|
+
@switch (calendarViewRight) {
|
|
116
|
+
@case ('day') { {{ getMonthName(viewDateRight.getMonth()) }} {{ viewDateRight.getFullYear() }} }
|
|
117
|
+
@case ('month') { {{ viewDateRight.getFullYear() }} }
|
|
118
|
+
@case ('year') { {{ getDecadeStart(viewDateRight) }}–{{ getDecadeStart(viewDateRight) + 9 }} }
|
|
119
|
+
}
|
|
120
|
+
</span>
|
|
121
|
+
|
|
122
|
+
<ius-button-standard-tertiary iconName="icon-keyboard-arrow-right" (buttonClicked)="nextRight()"></ius-button-standard-tertiary>
|
|
123
|
+
</div>
|
|
124
|
+
|
|
125
|
+
<div class="calendar-body">
|
|
126
|
+
@switch (calendarViewRight) {
|
|
127
|
+
@case ('day') {
|
|
128
|
+
<div class="grid days">
|
|
129
|
+
@for (day of dayLabels; track day) { <div class="header">{{ day }}</div> }
|
|
130
|
+
@for (date of calendarDaysRight; track date) {
|
|
131
|
+
<div class="cell"
|
|
132
|
+
[class.selected]="isSameDate(date, endDate)"
|
|
133
|
+
[class.range]="isInRangeForView(date, viewDateRight)"
|
|
134
|
+
[class.out-of-range]="isDateOutOfRange(date, viewDateRight)"
|
|
135
|
+
[class.disabled]="isDisabledDate(date, 'right')"
|
|
136
|
+
(click)="!isDisabledDate(date, 'right') && selectDateFrom('right', date)">
|
|
137
|
+
{{ date.getDate() }}
|
|
138
|
+
</div>
|
|
139
|
+
}
|
|
140
|
+
</div>
|
|
141
|
+
}
|
|
142
|
+
@case ('month') {
|
|
143
|
+
<div class="grid months">
|
|
144
|
+
@for (m of months; track m; let i = $index) {
|
|
145
|
+
<div class="cell" (click)="setMonth('right', i, $event)">{{ m }}</div>
|
|
146
|
+
}
|
|
147
|
+
</div>
|
|
148
|
+
}
|
|
149
|
+
@case ('year') {
|
|
150
|
+
<div class="grid years">
|
|
151
|
+
@for (i of yearsArray; track i) {
|
|
152
|
+
<div class="cell"
|
|
153
|
+
[class.out-of-range]="i === 0 || i === 11"
|
|
154
|
+
(click)="setYear('right', getDecadeStart(viewDateRight) - 1 + i, $event)">
|
|
155
|
+
{{ getDecadeStart(viewDateRight) - 1 + i }}
|
|
156
|
+
</div>
|
|
157
|
+
}
|
|
158
|
+
</div>
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
</div>
|
|
162
|
+
</div>
|
|
163
|
+
</div>
|
|
164
|
+
}
|
|
165
|
+
</div>
|
|
166
|
+
@if (helpText && focused && !error) {
|
|
167
|
+
<div class="help-text">
|
|
168
|
+
{{helpText}}
|
|
169
|
+
</div>
|
|
170
|
+
}
|
|
171
|
+
@if (helpTextError && error) {
|
|
172
|
+
<div class="help-text-error">
|
|
173
|
+
{{helpTextError}}
|
|
174
|
+
</div>
|
|
175
|
+
}
|
|
176
|
+
</div>
|
|
@@ -0,0 +1,365 @@
|
|
|
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;
|
|
5
|
+
|
|
6
|
+
.required {
|
|
7
|
+
width: 4px;
|
|
8
|
+
height: 4px;
|
|
9
|
+
margin-right: 4px;
|
|
10
|
+
aspect-ratio: 1 / 1;
|
|
11
|
+
border-radius: 50%;
|
|
12
|
+
background-color: colors.$danger-500;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.text {
|
|
16
|
+
display: flex;
|
|
17
|
+
align-items: center;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.date-picker {
|
|
21
|
+
height: 100%;
|
|
22
|
+
position: relative;
|
|
23
|
+
display: flex;
|
|
24
|
+
flex-direction: column;
|
|
25
|
+
position: relative;
|
|
26
|
+
|
|
27
|
+
&.disabled {
|
|
28
|
+
opacity: 0.6;
|
|
29
|
+
pointer-events: none;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.label {
|
|
33
|
+
margin: 0 4px;
|
|
34
|
+
color: semantic.$color-text-primary-on-light;
|
|
35
|
+
font: {
|
|
36
|
+
family: Rubik;
|
|
37
|
+
size: typography.$font-size-base;
|
|
38
|
+
weight: 500;
|
|
39
|
+
style: normal;
|
|
40
|
+
}
|
|
41
|
+
line-height: typography.$line-height-base;
|
|
42
|
+
letter-spacing: 0.28px;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.help-icon {
|
|
46
|
+
color: semantic.$color-text-secundary-on-light;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.container-textfield {
|
|
50
|
+
width: 100%;
|
|
51
|
+
align-items: flex-start;
|
|
52
|
+
gap: variables.$spacing-xxs;
|
|
53
|
+
|
|
54
|
+
.input {
|
|
55
|
+
display: flex;
|
|
56
|
+
justify-content: space-between;
|
|
57
|
+
gap: variables.$spacing-xxs;
|
|
58
|
+
padding: variables.$spacing-sm;
|
|
59
|
+
border-radius: variables.$radius-md;
|
|
60
|
+
background: colors.$neutral-2;
|
|
61
|
+
cursor: pointer;
|
|
62
|
+
border: none;
|
|
63
|
+
|
|
64
|
+
.fechas {
|
|
65
|
+
width: 30%;
|
|
66
|
+
|
|
67
|
+
input {
|
|
68
|
+
max-width: 100%;
|
|
69
|
+
flex: 1;
|
|
70
|
+
outline: none;
|
|
71
|
+
border: none;
|
|
72
|
+
background: colors.$neutral-2;
|
|
73
|
+
color: semantic.$color-text-tertiary-on-light;
|
|
74
|
+
font: {
|
|
75
|
+
family: Rubik;
|
|
76
|
+
size: typography.$font-size-base;
|
|
77
|
+
weight: 400;
|
|
78
|
+
style: normal;
|
|
79
|
+
}
|
|
80
|
+
line-height: typography.$line-height-base;
|
|
81
|
+
letter-spacing: 0.28px;
|
|
82
|
+
cursor: pointer;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.cnt-icon-right {
|
|
88
|
+
display: flex;
|
|
89
|
+
align-items: center;
|
|
90
|
+
justify-content: center;
|
|
91
|
+
margin-left: 3%;
|
|
92
|
+
color: semantic.$color-text-primary-on-light;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
&:hover .input {
|
|
96
|
+
background-color: colors.$info-100;
|
|
97
|
+
|
|
98
|
+
.fechas input {
|
|
99
|
+
background-color: colors.$info-100;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.cnt-icon-right {
|
|
103
|
+
color: colors.$info-700;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
&.focused .input {
|
|
108
|
+
border: 1px solid colors.$primary-600;
|
|
109
|
+
background: colors.$info-100;
|
|
110
|
+
|
|
111
|
+
.fechas input {
|
|
112
|
+
background-color: colors.$info-100;
|
|
113
|
+
border: none;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.cnt-icon-right {
|
|
117
|
+
color: colors.$info-700;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
&.alert {
|
|
122
|
+
.input {
|
|
123
|
+
border-radius: variables.$radius-md;
|
|
124
|
+
border: 1px solid colors.$danger-600;
|
|
125
|
+
background: colors.$danger-100;
|
|
126
|
+
|
|
127
|
+
.fechas input {
|
|
128
|
+
background: colors.$danger-100;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.cnt-icon-right {
|
|
132
|
+
color: colors.$danger-600;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
&.selected {
|
|
138
|
+
.input {
|
|
139
|
+
background: colors.$neutral-2;
|
|
140
|
+
|
|
141
|
+
.fechas input {
|
|
142
|
+
background: colors.$neutral-2;
|
|
143
|
+
border: none;
|
|
144
|
+
|
|
145
|
+
color: semantic.$color-text-primary-on-light;
|
|
146
|
+
|
|
147
|
+
font-family: typography.$font-secondary;
|
|
148
|
+
font-size: typography.$font-size-base;
|
|
149
|
+
font-style: normal;
|
|
150
|
+
font-weight: 400;
|
|
151
|
+
line-height: typography.$line-height-base;
|
|
152
|
+
letter-spacing: 0.28px;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.cnt-icon-right {
|
|
156
|
+
color: semantic.$color-text-secundary-on-light;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
&.disabled {
|
|
162
|
+
background: colors.$neutral-2;
|
|
163
|
+
|
|
164
|
+
input::placeholder {
|
|
165
|
+
color: semantic.$color-text-disabled-on-light;
|
|
166
|
+
opacity: 1;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.cnt-icon-right {
|
|
170
|
+
color: colors.$neutral-6;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.calendar-overlay {
|
|
176
|
+
display: flex;
|
|
177
|
+
align-items: center;
|
|
178
|
+
align-self: stretch;
|
|
179
|
+
min-width: 540px;
|
|
180
|
+
padding: 0;
|
|
181
|
+
gap: 0;
|
|
182
|
+
border-radius: variables.$radius-md;
|
|
183
|
+
border: 1px solid colors.$neutral-2;
|
|
184
|
+
background: colors.$neutral-white;
|
|
185
|
+
|
|
186
|
+
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.14), 0 1px 10px rgba(0, 0, 0, 0.1);
|
|
187
|
+
|
|
188
|
+
.calendars {
|
|
189
|
+
display: flex;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.mes {
|
|
193
|
+
display: flex;
|
|
194
|
+
flex-direction: column;
|
|
195
|
+
align-items: flex-start;
|
|
196
|
+
padding: variables.$spacing-md variables.$spacing-sm;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.calendar-header {
|
|
200
|
+
display: flex;
|
|
201
|
+
align-items: center;
|
|
202
|
+
align-self: stretch;
|
|
203
|
+
|
|
204
|
+
span {
|
|
205
|
+
flex: 1;
|
|
206
|
+
display: flex;
|
|
207
|
+
justify-content: center;
|
|
208
|
+
align-items: center;
|
|
209
|
+
color: semantic.$color-text-primary-on-light;
|
|
210
|
+
cursor: pointer;
|
|
211
|
+
font: {
|
|
212
|
+
family: Roboto;
|
|
213
|
+
size: typography.$font-size-large;
|
|
214
|
+
weight: 500;
|
|
215
|
+
style: normal;
|
|
216
|
+
}
|
|
217
|
+
line-height: typography.$line-height-large;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.calendar-body {
|
|
222
|
+
display: flex;
|
|
223
|
+
flex-direction: column;
|
|
224
|
+
gap: variables.$spacing-xs;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.grid {
|
|
228
|
+
display: grid;
|
|
229
|
+
gap: variables.$spacing-xs;
|
|
230
|
+
|
|
231
|
+
&.days {
|
|
232
|
+
grid-template-columns: repeat(7, 1fr);
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
&.months,
|
|
236
|
+
&.years {
|
|
237
|
+
margin-left: 27px;
|
|
238
|
+
grid-template-columns: repeat(3, 1fr);
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.header {
|
|
242
|
+
display: flex;
|
|
243
|
+
align-items: center;
|
|
244
|
+
height: 30px;
|
|
245
|
+
padding: 2px 4px;
|
|
246
|
+
gap: variables.$spacing-md;
|
|
247
|
+
color: semantic.$color-text-primary-on-light;
|
|
248
|
+
font: {
|
|
249
|
+
family: Rubik;
|
|
250
|
+
size: typography.$font-size-sm;
|
|
251
|
+
weight: 500;
|
|
252
|
+
style: normal;
|
|
253
|
+
}
|
|
254
|
+
line-height: typography.$line-height-sm;
|
|
255
|
+
letter-spacing: 0.24px;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.cell {
|
|
259
|
+
display: flex;
|
|
260
|
+
flex-direction: column;
|
|
261
|
+
align-items: center;
|
|
262
|
+
justify-content: center;
|
|
263
|
+
align-self: stretch;
|
|
264
|
+
padding: 2px 4px;
|
|
265
|
+
border-radius: 10px;
|
|
266
|
+
background: colors.$neutral-white;
|
|
267
|
+
font: {
|
|
268
|
+
family: Rubik;
|
|
269
|
+
size: typography.$font-size-base;
|
|
270
|
+
weight: 400;
|
|
271
|
+
style: normal;
|
|
272
|
+
}
|
|
273
|
+
line-height: typography.$line-height-base;
|
|
274
|
+
letter-spacing: 0.28px;
|
|
275
|
+
cursor: pointer;
|
|
276
|
+
|
|
277
|
+
&:hover {
|
|
278
|
+
background: colors.$info-100;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
&.out-of-range {
|
|
282
|
+
color: semantic.$color-text-disabled-on-light;
|
|
283
|
+
pointer-events: none;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
&.disabled {
|
|
287
|
+
pointer-events: none;
|
|
288
|
+
color: semantic.$color-text-disabled-on-light;
|
|
289
|
+
background: colors.$neutral-1;
|
|
290
|
+
opacity: 0.6;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
&.range {
|
|
294
|
+
padding: 0;
|
|
295
|
+
border-radius: 0;
|
|
296
|
+
margin: 0;
|
|
297
|
+
background-color: colors.$info-100;
|
|
298
|
+
color: semantic.$color-text-primary-on-light;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
&.selected {
|
|
302
|
+
border-radius: variables.$radius-pill;
|
|
303
|
+
border: 1px solid colors.$info-600;
|
|
304
|
+
background: colors.$info-500;
|
|
305
|
+
color: white;
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
.today {
|
|
311
|
+
margin-top: variables.$spacing-xs;
|
|
312
|
+
width: 100%;
|
|
313
|
+
padding: variables.$spacing-xs;
|
|
314
|
+
border: none;
|
|
315
|
+
background: transparent;
|
|
316
|
+
display: flex;
|
|
317
|
+
justify-content: center;
|
|
318
|
+
align-items: center;
|
|
319
|
+
gap: variables.$spacing-xxs;
|
|
320
|
+
color: semantic.$color-text-primary-on-light;
|
|
321
|
+
cursor: pointer;
|
|
322
|
+
font: {
|
|
323
|
+
family: Roboto;
|
|
324
|
+
size: typography.$font-size-large;
|
|
325
|
+
weight: 500;
|
|
326
|
+
style: normal;
|
|
327
|
+
}
|
|
328
|
+
line-height: typography.$line-height-large;
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
.cell.empty {
|
|
334
|
+
pointer-events: none;
|
|
335
|
+
background: transparent;
|
|
336
|
+
border: none;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
.help-text {
|
|
340
|
+
display: flex;
|
|
341
|
+
align-items: center;
|
|
342
|
+
gap: 10px;
|
|
343
|
+
color: semantic.$color-text-secundary-on-light;
|
|
344
|
+
|
|
345
|
+
font-family: typography.$font-secondary;
|
|
346
|
+
font-size: typography.$font-size-sm;
|
|
347
|
+
font-style: italic;
|
|
348
|
+
font-weight: 500;
|
|
349
|
+
line-height: typography.$line-height-sm;
|
|
350
|
+
letter-spacing: 0.24px;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
.help-text-error {
|
|
354
|
+
display: flex;
|
|
355
|
+
align-items: center;
|
|
356
|
+
gap: 10px;
|
|
357
|
+
color: colors.$danger-800;
|
|
358
|
+
|
|
359
|
+
font-family: typography.$font-secondary;
|
|
360
|
+
font-size: typography.$font-size-sm;
|
|
361
|
+
font-style: italic;
|
|
362
|
+
font-weight: 500;
|
|
363
|
+
line-height: typography.$line-height-sm;
|
|
364
|
+
letter-spacing: 0.24px;
|
|
365
|
+
}
|