@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,26 @@
|
|
|
1
|
+
@use "@litigiovirtual/ius-design-styles/lib/colors" as colors;
|
|
2
|
+
@use "@litigiovirtual/ius-design-styles/lib/variables" as variables;
|
|
3
|
+
|
|
4
|
+
.bar-container {
|
|
5
|
+
display: flex;
|
|
6
|
+
width: 100%;
|
|
7
|
+
height: 4px;
|
|
8
|
+
align-items: flex-start;
|
|
9
|
+
gap: variables.$spacing-xxs;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.bar-fill {
|
|
13
|
+
background-color: colors.$info-500;
|
|
14
|
+
border-radius: variables.$radius-pill;
|
|
15
|
+
flex-shrink: 0;
|
|
16
|
+
align-self: stretch;
|
|
17
|
+
transition: flex-basis 0.4s ease;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.bar-empty {
|
|
21
|
+
flex: 1 0 0;
|
|
22
|
+
align-self: stretch;
|
|
23
|
+
background-color: colors.$neutral-4;
|
|
24
|
+
border-radius: variables.$radius-pill;
|
|
25
|
+
transition: flex-basis 0.4s ease;
|
|
26
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { LinearProgressBarComponent } from './linear-progress-bar.component';
|
|
4
|
+
|
|
5
|
+
describe('LinearProgressBarComponent', () => {
|
|
6
|
+
let component: LinearProgressBarComponent;
|
|
7
|
+
let fixture: ComponentFixture<LinearProgressBarComponent>;
|
|
8
|
+
|
|
9
|
+
beforeEach(async () => {
|
|
10
|
+
await TestBed.configureTestingModule({
|
|
11
|
+
imports: [LinearProgressBarComponent]
|
|
12
|
+
})
|
|
13
|
+
.compileComponents();
|
|
14
|
+
|
|
15
|
+
fixture = TestBed.createComponent(LinearProgressBarComponent);
|
|
16
|
+
component = fixture.componentInstance;
|
|
17
|
+
fixture.detectChanges();
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
it('should create', () => {
|
|
21
|
+
expect(component).toBeTruthy();
|
|
22
|
+
});
|
|
23
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Component, Input } from '@angular/core';
|
|
2
|
+
|
|
3
|
+
@Component({
|
|
4
|
+
selector: 'ius-linear-progress-bar',
|
|
5
|
+
standalone: true,
|
|
6
|
+
imports: [],
|
|
7
|
+
templateUrl: './linear-progress-bar.component.html',
|
|
8
|
+
styleUrl: './linear-progress-bar.component.scss'
|
|
9
|
+
})
|
|
10
|
+
export class LinearProgressBarComponent {
|
|
11
|
+
@Input() porcentaje: number = 0; // de 0 a 100
|
|
12
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
@use "@litigiovirtual/ius-design-styles/lib/colors" as colors;
|
|
2
|
+
@use "@litigiovirtual/ius-design-styles/lib/variables" as variables;
|
|
3
|
+
|
|
4
|
+
.loader-circle {
|
|
5
|
+
width: 12px;
|
|
6
|
+
height: 12px;
|
|
7
|
+
flex-shrink: 0;
|
|
8
|
+
aspect-ratio: 1/1;
|
|
9
|
+
border: 4px solid #fff;
|
|
10
|
+
border-top-color: colors.$primary-900;
|
|
11
|
+
border-radius: 50%;
|
|
12
|
+
animation: spin 0.9s linear infinite;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
@keyframes spin {
|
|
16
|
+
to {
|
|
17
|
+
transform: rotate(360deg);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { LoadingCircleComponent } from './loading-circle.component';
|
|
4
|
+
|
|
5
|
+
describe('LoadingCircleComponent', () => {
|
|
6
|
+
let component: LoadingCircleComponent;
|
|
7
|
+
let fixture: ComponentFixture<LoadingCircleComponent>;
|
|
8
|
+
|
|
9
|
+
beforeEach(async () => {
|
|
10
|
+
await TestBed.configureTestingModule({
|
|
11
|
+
imports: [LoadingCircleComponent]
|
|
12
|
+
})
|
|
13
|
+
.compileComponents();
|
|
14
|
+
|
|
15
|
+
fixture = TestBed.createComponent(LoadingCircleComponent);
|
|
16
|
+
component = fixture.componentInstance;
|
|
17
|
+
fixture.detectChanges();
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
it('should create', () => {
|
|
21
|
+
expect(component).toBeTruthy();
|
|
22
|
+
});
|
|
23
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { Component, Input } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
@Component({
|
|
6
|
+
selector: 'ius-loading-circle',
|
|
7
|
+
standalone: true,
|
|
8
|
+
imports: [CommonModule],
|
|
9
|
+
templateUrl: './loading-circle.component.html',
|
|
10
|
+
styleUrl: './loading-circle.component.scss'
|
|
11
|
+
})
|
|
12
|
+
export class LoadingCircleComponent {
|
|
13
|
+
@Input() show = true;
|
|
14
|
+
}
|
|
@@ -0,0 +1,274 @@
|
|
|
1
|
+
export const DEFAULT_LOADING_ANIMATION = {
|
|
2
|
+
nm: '画板',
|
|
3
|
+
ddd: 0,
|
|
4
|
+
h: 200,
|
|
5
|
+
w: 200,
|
|
6
|
+
meta: { g: '@lottiefiles/toolkit-js 0.71.10' },
|
|
7
|
+
layers: [
|
|
8
|
+
{
|
|
9
|
+
ty: 4,
|
|
10
|
+
nm: '矩形副本 3',
|
|
11
|
+
sr: 1,
|
|
12
|
+
st: 0,
|
|
13
|
+
op: 150,
|
|
14
|
+
ip: 0,
|
|
15
|
+
hd: false,
|
|
16
|
+
ddd: 0,
|
|
17
|
+
bm: 0,
|
|
18
|
+
hasMask: false,
|
|
19
|
+
ao: 0,
|
|
20
|
+
ks: {
|
|
21
|
+
a: { a: 0, k: [0, 0, 0], ix: 1 },
|
|
22
|
+
s: { a: 0, k: [258.9219701314434, 258.9219701314434], ix: 6 },
|
|
23
|
+
sk: { a: 0, k: 0 },
|
|
24
|
+
p: { a: 0, k: [146.60584722294925, 146.60595368216735], ix: 2 },
|
|
25
|
+
r: { a: 0, k: 0, ix: 10 },
|
|
26
|
+
sa: { a: 0, k: 0 },
|
|
27
|
+
o: { a: 0, k: 100, ix: 11 },
|
|
28
|
+
},
|
|
29
|
+
shapes: [
|
|
30
|
+
{
|
|
31
|
+
ty: 'gr',
|
|
32
|
+
bm: 0,
|
|
33
|
+
hd: false,
|
|
34
|
+
mn: 'ADBE Vector Group',
|
|
35
|
+
nm: '矩形副本 3',
|
|
36
|
+
ix: 1,
|
|
37
|
+
cix: 2,
|
|
38
|
+
np: 2,
|
|
39
|
+
it: [
|
|
40
|
+
{
|
|
41
|
+
ty: 'rc',
|
|
42
|
+
bm: 0,
|
|
43
|
+
hd: false,
|
|
44
|
+
mn: 'ADBE Vector Shape - Rect',
|
|
45
|
+
nm: '矩形路径 1',
|
|
46
|
+
d: 1,
|
|
47
|
+
p: {
|
|
48
|
+
a: 1,
|
|
49
|
+
k: [
|
|
50
|
+
{ o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [0, 0], t: 6, ti: [0, 6], to: [0, -3] },
|
|
51
|
+
{ o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [0, -18], t: 10, ti: [0, 3], to: [0, -6] },
|
|
52
|
+
{ o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [0, -36], t: 20, ti: [0, 0], to: [0, 0] },
|
|
53
|
+
{ o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [0, -36], t: 36, ti: [3, 0], to: [-3, 0] },
|
|
54
|
+
{ s: [-18, -36], t: 40 },
|
|
55
|
+
],
|
|
56
|
+
ix: 3,
|
|
57
|
+
},
|
|
58
|
+
r: { a: 0, k: 8, ix: 4 },
|
|
59
|
+
s: {
|
|
60
|
+
a: 1,
|
|
61
|
+
k: [
|
|
62
|
+
{ o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [28, 28], t: 6 },
|
|
63
|
+
{ o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [28, 64], t: 10 },
|
|
64
|
+
{ o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [28, 28], t: 20 },
|
|
65
|
+
{ o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [28, 28], t: 36 },
|
|
66
|
+
{ s: [64, 28], t: 40 },
|
|
67
|
+
],
|
|
68
|
+
ix: 2,
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
ty: 'fl',
|
|
73
|
+
bm: 0,
|
|
74
|
+
hd: false,
|
|
75
|
+
mn: 'ADBE Vector Graphic - Fill',
|
|
76
|
+
nm: '填充 1',
|
|
77
|
+
c: { a: 0, k: [0.4745, 0.6745, 1], ix: 4 },
|
|
78
|
+
r: 1,
|
|
79
|
+
o: { a: 0, k: 100, ix: 5 },
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
ty: 'tr',
|
|
83
|
+
a: { a: 0, k: [0, 0], ix: 1 },
|
|
84
|
+
s: { a: 0, k: [100, 100], ix: 3 },
|
|
85
|
+
sk: { a: 0, k: 0, ix: 4 },
|
|
86
|
+
p: { a: 0, k: [0, 0], ix: 2 },
|
|
87
|
+
r: { a: 0, k: 0, ix: 6 },
|
|
88
|
+
sa: { a: 0, k: 0, ix: 5 },
|
|
89
|
+
o: { a: 0, k: 100, ix: 7 },
|
|
90
|
+
},
|
|
91
|
+
],
|
|
92
|
+
},
|
|
93
|
+
],
|
|
94
|
+
ind: 1,
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
ty: 4,
|
|
98
|
+
nm: '矩形副本 2',
|
|
99
|
+
sr: 1,
|
|
100
|
+
st: 0,
|
|
101
|
+
op: 150,
|
|
102
|
+
ip: 0,
|
|
103
|
+
hd: false,
|
|
104
|
+
ddd: 0,
|
|
105
|
+
bm: 0,
|
|
106
|
+
hasMask: false,
|
|
107
|
+
ao: 0,
|
|
108
|
+
ks: {
|
|
109
|
+
a: { a: 0, k: [0, 0, 0], ix: 1 },
|
|
110
|
+
s: { a: 0, k: [258.9219701314434, 258.9219701314434], ix: 6 },
|
|
111
|
+
sk: { a: 0, k: 0 },
|
|
112
|
+
p: { a: 0, k: [53.39393797562962, 146.60595368216735], ix: 2 },
|
|
113
|
+
r: { a: 0, k: 0, ix: 10 },
|
|
114
|
+
sa: { a: 0, k: 0 },
|
|
115
|
+
o: { a: 0, k: 100, ix: 11 },
|
|
116
|
+
},
|
|
117
|
+
shapes: [
|
|
118
|
+
{
|
|
119
|
+
ty: 'gr',
|
|
120
|
+
bm: 0,
|
|
121
|
+
hd: false,
|
|
122
|
+
mn: 'ADBE Vector Group',
|
|
123
|
+
nm: '矩形副本 2',
|
|
124
|
+
ix: 1,
|
|
125
|
+
cix: 2,
|
|
126
|
+
np: 2,
|
|
127
|
+
it: [
|
|
128
|
+
{
|
|
129
|
+
ty: 'rc',
|
|
130
|
+
bm: 0,
|
|
131
|
+
hd: false,
|
|
132
|
+
mn: 'ADBE Vector Shape - Rect',
|
|
133
|
+
nm: '矩形路径 1',
|
|
134
|
+
d: 1,
|
|
135
|
+
p: {
|
|
136
|
+
a: 1,
|
|
137
|
+
k: [
|
|
138
|
+
{ o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [0, 0], t: 16, ti: [-6, 0], to: [3, 0] },
|
|
139
|
+
{ o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [18, 0], t: 20, ti: [-3, 0], to: [6, 0] },
|
|
140
|
+
{ s: [36, 0], t: 30 },
|
|
141
|
+
],
|
|
142
|
+
ix: 3,
|
|
143
|
+
},
|
|
144
|
+
r: { a: 0, k: 8, ix: 4 },
|
|
145
|
+
s: {
|
|
146
|
+
a: 1,
|
|
147
|
+
k: [
|
|
148
|
+
{ o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [28, 28], t: 16 },
|
|
149
|
+
{ o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [64, 28], t: 20 },
|
|
150
|
+
{ s: [28, 28], t: 30 },
|
|
151
|
+
],
|
|
152
|
+
ix: 2,
|
|
153
|
+
},
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
ty: 'fl',
|
|
157
|
+
bm: 0,
|
|
158
|
+
hd: false,
|
|
159
|
+
mn: 'ADBE Vector Graphic - Fill',
|
|
160
|
+
nm: '填充 1',
|
|
161
|
+
c: { a: 0, k: [0.7686, 0.8745, 1], ix: 4 },
|
|
162
|
+
r: 1,
|
|
163
|
+
o: { a: 0, k: 100, ix: 5 },
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
ty: 'tr',
|
|
167
|
+
a: { a: 0, k: [0, 0], ix: 1 },
|
|
168
|
+
s: { a: 0, k: [100, 100], ix: 3 },
|
|
169
|
+
sk: { a: 0, k: 0, ix: 4 },
|
|
170
|
+
p: { a: 0, k: [0, 0], ix: 2 },
|
|
171
|
+
r: { a: 0, k: 0, ix: 6 },
|
|
172
|
+
sa: { a: 0, k: 0, ix: 5 },
|
|
173
|
+
o: { a: 0, k: 100, ix: 7 },
|
|
174
|
+
},
|
|
175
|
+
],
|
|
176
|
+
},
|
|
177
|
+
],
|
|
178
|
+
ind: 2,
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
ty: 4,
|
|
182
|
+
nm: '矩形',
|
|
183
|
+
sr: 1,
|
|
184
|
+
st: 0,
|
|
185
|
+
op: 150,
|
|
186
|
+
ip: 0,
|
|
187
|
+
hd: false,
|
|
188
|
+
ddd: 0,
|
|
189
|
+
bm: 0,
|
|
190
|
+
hasMask: false,
|
|
191
|
+
ao: 0,
|
|
192
|
+
ks: {
|
|
193
|
+
a: { a: 0, k: [0, 0, 0], ix: 1 },
|
|
194
|
+
s: { a: 0, k: [258.9219701314434, 258.9219701314434], ix: 6 },
|
|
195
|
+
sk: { a: 0, k: 0 },
|
|
196
|
+
p: { a: 0, k: [99.99989259928942, 53.39404443484773], ix: 2 },
|
|
197
|
+
r: { a: 0, k: 0, ix: 10 },
|
|
198
|
+
sa: { a: 0, k: 0 },
|
|
199
|
+
o: { a: 0, k: 100, ix: 11 },
|
|
200
|
+
},
|
|
201
|
+
shapes: [
|
|
202
|
+
{
|
|
203
|
+
ty: 'gr',
|
|
204
|
+
bm: 0,
|
|
205
|
+
hd: false,
|
|
206
|
+
mn: 'ADBE Vector Group',
|
|
207
|
+
nm: '矩形',
|
|
208
|
+
ix: 1,
|
|
209
|
+
cix: 2,
|
|
210
|
+
np: 2,
|
|
211
|
+
it: [
|
|
212
|
+
{
|
|
213
|
+
ty: 'rc',
|
|
214
|
+
bm: 0,
|
|
215
|
+
hd: false,
|
|
216
|
+
mn: 'ADBE Vector Shape - Rect',
|
|
217
|
+
nm: '矩形路径 1',
|
|
218
|
+
d: 1,
|
|
219
|
+
p: {
|
|
220
|
+
a: 1,
|
|
221
|
+
k: [
|
|
222
|
+
{ o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [0, 0], t: 0, ti: [3, 0], to: [-3, 0] },
|
|
223
|
+
{ o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [-18, 0], t: 10, ti: [0, 0], to: [0, 0] },
|
|
224
|
+
{ o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [-18, 0], t: 26, ti: [0, -6], to: [0, 3] },
|
|
225
|
+
{ o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [-18, 18], t: 30, ti: [0, -3], to: [0, 6] },
|
|
226
|
+
{ s: [-18, 36], t: 40 },
|
|
227
|
+
],
|
|
228
|
+
ix: 3,
|
|
229
|
+
},
|
|
230
|
+
r: { a: 0, k: 8, ix: 4 },
|
|
231
|
+
s: {
|
|
232
|
+
a: 1,
|
|
233
|
+
k: [
|
|
234
|
+
{ o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [64, 28], t: 0 },
|
|
235
|
+
{ o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [28, 28], t: 10 },
|
|
236
|
+
{ o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [28, 28], t: 26 },
|
|
237
|
+
{ o: { x: 0.167, y: 0.167 }, i: { x: 0.833, y: 0.833 }, s: [28, 64], t: 30 },
|
|
238
|
+
{ s: [28, 28], t: 40 },
|
|
239
|
+
],
|
|
240
|
+
ix: 2,
|
|
241
|
+
},
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
ty: 'fl',
|
|
245
|
+
bm: 0,
|
|
246
|
+
hd: false,
|
|
247
|
+
mn: 'ADBE Vector Graphic - Fill',
|
|
248
|
+
nm: '填充 1',
|
|
249
|
+
c: { a: 0, k: [0.6784, 0.9608, 1], ix: 4 },
|
|
250
|
+
r: 1,
|
|
251
|
+
o: { a: 0, k: 100, ix: 5 },
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
ty: 'tr',
|
|
255
|
+
a: { a: 0, k: [0, 0], ix: 1 },
|
|
256
|
+
s: { a: 0, k: [100, 100], ix: 3 },
|
|
257
|
+
sk: { a: 0, k: 0, ix: 4 },
|
|
258
|
+
p: { a: 0, k: [0, 0], ix: 2 },
|
|
259
|
+
r: { a: 0, k: 0, ix: 6 },
|
|
260
|
+
sa: { a: 0, k: 0, ix: 5 },
|
|
261
|
+
o: { a: 0, k: 100, ix: 7 },
|
|
262
|
+
},
|
|
263
|
+
],
|
|
264
|
+
},
|
|
265
|
+
],
|
|
266
|
+
ind: 3,
|
|
267
|
+
},
|
|
268
|
+
],
|
|
269
|
+
v: '5.7.1',
|
|
270
|
+
fr: 30,
|
|
271
|
+
op: 40,
|
|
272
|
+
ip: 0,
|
|
273
|
+
assets: [],
|
|
274
|
+
} as const;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
<div class="ius-state-container" [attr.data-state]="state" aria-live="polite">
|
|
2
|
+
<div class="ius-state-inner">
|
|
3
|
+
|
|
4
|
+
@switch (state) {
|
|
5
|
+
|
|
6
|
+
@case ('loading') {
|
|
7
|
+
<lottie-player [attr.src]="src" speed="1" style="width: 64px; height: 64px;" loop autoplay>
|
|
8
|
+
</lottie-player>
|
|
9
|
+
<div class="ius-state-text">
|
|
10
|
+
<span class="h4">{{ titleLoading }}</span>
|
|
11
|
+
<span class="h5">{{ subtitleLoading }}</span>
|
|
12
|
+
</div>
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
@case ('empty') {
|
|
16
|
+
<div class="ius-state-img-wrapper">
|
|
17
|
+
<img [src]="srcEmpty" alt="Sin resultados" />
|
|
18
|
+
</div>
|
|
19
|
+
<div class="ius-state-text">
|
|
20
|
+
<span class="h4">{{ titleEmpty }}</span>
|
|
21
|
+
<span class="h5">{{ subtitleEmpty }}</span>
|
|
22
|
+
</div>
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@case ('error') {
|
|
26
|
+
<div class="ius-state-img-wrapper">
|
|
27
|
+
<img [src]="srcError" alt="Error" />
|
|
28
|
+
</div>
|
|
29
|
+
<div class="ius-state-text">
|
|
30
|
+
<span class="h4">{{ titleError }}</span>
|
|
31
|
+
<span class="h5">{{ subtitleError }}</span>
|
|
32
|
+
</div>
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
@default {
|
|
36
|
+
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
</div>
|
|
42
|
+
</div>
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
@use "@litigiovirtual/ius-design-styles/lib/colors" as colors;
|
|
2
|
+
@use "@litigiovirtual/ius-design-styles/lib/variables" as variables;
|
|
3
|
+
@use "@litigiovirtual/ius-design-styles/lib/typography" as typography;
|
|
4
|
+
|
|
5
|
+
.ius-state-container {
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
justify-content: center;
|
|
9
|
+
align-items: center;
|
|
10
|
+
flex: 1 0 0;
|
|
11
|
+
align-self: stretch;
|
|
12
|
+
height: 100%;
|
|
13
|
+
box-sizing: border-box;
|
|
14
|
+
border-radius: variables.$radius-md;
|
|
15
|
+
border: 1px solid colors.$neutral-4;
|
|
16
|
+
background: colors.$neutral-white;
|
|
17
|
+
padding: 8px;
|
|
18
|
+
|
|
19
|
+
&[data-state='idle'] {
|
|
20
|
+
display: none;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.ius-state-inner {
|
|
25
|
+
display: flex;
|
|
26
|
+
flex-direction: column;
|
|
27
|
+
justify-content: center;
|
|
28
|
+
align-items: center;
|
|
29
|
+
gap: variables.$spacing-md;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.ius-state-text {
|
|
33
|
+
display: flex;
|
|
34
|
+
flex-direction: column;
|
|
35
|
+
align-items: center;
|
|
36
|
+
gap: variables.$spacing-xxs;
|
|
37
|
+
text-align: center;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.ius-state-img-wrapper {
|
|
41
|
+
display: flex;
|
|
42
|
+
width: 87px;
|
|
43
|
+
height: 87px;
|
|
44
|
+
justify-content: center;
|
|
45
|
+
align-items: center;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
lottie-player {
|
|
49
|
+
display: block;
|
|
50
|
+
min-width: 64px;
|
|
51
|
+
min-height: 64px;
|
|
52
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { LoadingComponentDynamicComponent } from './loading-component-dynamic.component';
|
|
4
|
+
|
|
5
|
+
describe('LoadingComponentDynamicComponent', () => {
|
|
6
|
+
let component: LoadingComponentDynamicComponent;
|
|
7
|
+
let fixture: ComponentFixture<LoadingComponentDynamicComponent>;
|
|
8
|
+
|
|
9
|
+
beforeEach(async () => {
|
|
10
|
+
await TestBed.configureTestingModule({
|
|
11
|
+
imports: [LoadingComponentDynamicComponent]
|
|
12
|
+
})
|
|
13
|
+
.compileComponents();
|
|
14
|
+
|
|
15
|
+
fixture = TestBed.createComponent(LoadingComponentDynamicComponent);
|
|
16
|
+
component = fixture.componentInstance;
|
|
17
|
+
fixture.detectChanges();
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
it('should create', () => {
|
|
21
|
+
expect(component).toBeTruthy();
|
|
22
|
+
});
|
|
23
|
+
});
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { Component, CUSTOM_ELEMENTS_SCHEMA, Input, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
|
|
4
|
+
export type LoadingState = 'loading' | 'empty' | 'error' | 'idle';
|
|
5
|
+
|
|
6
|
+
@Component({
|
|
7
|
+
selector: 'ius-loading-component-dynamic',
|
|
8
|
+
standalone: true,
|
|
9
|
+
imports: [CommonModule],
|
|
10
|
+
templateUrl: './loading-component-dynamic.component.html',
|
|
11
|
+
styleUrl: './loading-component-dynamic.component.scss',
|
|
12
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
13
|
+
})
|
|
14
|
+
export class LoadingComponentDynamicComponent implements OnChanges {
|
|
15
|
+
|
|
16
|
+
@Input() loading = false;
|
|
17
|
+
@Input() empty = false;
|
|
18
|
+
@Input() error = false;
|
|
19
|
+
@Input() src: string = '';
|
|
20
|
+
@Input() srcEmpty: string = '';
|
|
21
|
+
@Input() srcError: string = '';
|
|
22
|
+
|
|
23
|
+
@Input() titleLoading = 'Estamos cargando la información';
|
|
24
|
+
@Input() subtitleLoading = 'Danos un momento por favor...';
|
|
25
|
+
|
|
26
|
+
@Input() titleEmpty = 'No hay nada aquí...';
|
|
27
|
+
@Input() subtitleEmpty = 'No encontramos resultados para mostrar.';
|
|
28
|
+
|
|
29
|
+
@Input() titleError = 'Ocurrió un error al cargar los datos...';
|
|
30
|
+
@Input() subtitleError = 'Inténtalo nuevamente.';
|
|
31
|
+
|
|
32
|
+
state: LoadingState = 'idle';
|
|
33
|
+
|
|
34
|
+
ngOnChanges(changes: SimpleChanges): void {
|
|
35
|
+
this.state = this.resolveState();
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
private resolveState(): LoadingState {
|
|
39
|
+
if (this.loading) return 'loading';
|
|
40
|
+
if (this.error) return 'error';
|
|
41
|
+
if (this.empty) return 'empty';
|
|
42
|
+
return 'idle';
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<button (click)="onClick()" class="ius-btn" [ngClass]="{'isActive': isActive}">
|
|
2
|
+
<ius-icon-md [iconName]="iconName" class="icon-color"></ius-icon-md>
|
|
3
|
+
<div class="content">
|
|
4
|
+
<ng-content></ng-content>
|
|
5
|
+
</div>
|
|
6
|
+
@if (numberAlerts) {
|
|
7
|
+
<ius-badge class="badge" [number]="numberAlerts"></ius-badge>
|
|
8
|
+
}
|
|
9
|
+
</button>
|
|
@@ -0,0 +1,55 @@
|
|
|
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
|
+
.icon-color {
|
|
7
|
+
color: colors.$success-500;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.badge {
|
|
11
|
+
margin-left: auto;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.ius-btn {
|
|
15
|
+
display: inline-flex;
|
|
16
|
+
width: 100%;
|
|
17
|
+
padding: variables.$spacing-xxs variables.$spacing-md;
|
|
18
|
+
align-items: center;
|
|
19
|
+
justify-content: space-between;
|
|
20
|
+
gap: variables.$spacing-sm;
|
|
21
|
+
border-radius: variables.$radius-md;
|
|
22
|
+
background-color: semantic-colors.$color-btn-secondary-1-default;
|
|
23
|
+
color: semantic-colors.$color-text-primary-on-light;
|
|
24
|
+
border: none;
|
|
25
|
+
cursor: pointer;
|
|
26
|
+
font-family: typography.$font-primary;
|
|
27
|
+
font-size: typography.$font-size-large;
|
|
28
|
+
line-height: typography.$line-height-large;
|
|
29
|
+
|
|
30
|
+
&:hover:not(:disabled) {
|
|
31
|
+
background-color: semantic-colors.$color-btn-secondary-1-hovered;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&:active:not(:disabled) {
|
|
35
|
+
background-color: semantic-colors.$color-btn-secondary-1-pressed;
|
|
36
|
+
color: semantic-colors.$color-text-primary-on-dark;
|
|
37
|
+
.icon-color {
|
|
38
|
+
color: semantic-colors.$color-text-primary-on-dark;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&.isActive {
|
|
43
|
+
background-color: semantic-colors.$color-btn-secondary-1-hovered;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.content {
|
|
48
|
+
overflow: hidden;
|
|
49
|
+
white-space: nowrap;
|
|
50
|
+
text-overflow: ellipsis;
|
|
51
|
+
display: block;
|
|
52
|
+
text-align: left;
|
|
53
|
+
flex: 1 0 0;
|
|
54
|
+
min-width: 0;
|
|
55
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { MenuItemComponent } from './menu-item.component';
|
|
4
|
+
|
|
5
|
+
describe('MenuItemComponent', () => {
|
|
6
|
+
let component: MenuItemComponent;
|
|
7
|
+
let fixture: ComponentFixture<MenuItemComponent>;
|
|
8
|
+
|
|
9
|
+
beforeEach(async () => {
|
|
10
|
+
await TestBed.configureTestingModule({
|
|
11
|
+
imports: [MenuItemComponent]
|
|
12
|
+
})
|
|
13
|
+
.compileComponents();
|
|
14
|
+
|
|
15
|
+
fixture = TestBed.createComponent(MenuItemComponent);
|
|
16
|
+
component = fixture.componentInstance;
|
|
17
|
+
fixture.detectChanges();
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
it('should create', () => {
|
|
21
|
+
expect(component).toBeTruthy();
|
|
22
|
+
});
|
|
23
|
+
});
|