@spartan-ng/cli 0.0.1-alpha.492 → 0.0.1-alpha.494
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/generators.json +10 -0
- package/package.json +1 -1
- package/src/generators/healthcheck/generator.js +2 -0
- package/src/generators/healthcheck/generator.js.map +1 -1
- package/src/generators/healthcheck/healthchecks/brn-radio.js +1 -1
- package/src/generators/healthcheck/healthchecks/brn-radio.js.map +1 -1
- package/src/generators/healthcheck/healthchecks/naming-conventions.d.ts +2 -0
- package/src/generators/healthcheck/healthchecks/naming-conventions.js +39 -0
- package/src/generators/healthcheck/healthchecks/naming-conventions.js.map +1 -0
- package/src/generators/migrate-naming-convention/__snapshots__/generator.spec.ts.snap +213 -0
- package/src/generators/migrate-naming-convention/compat.d.ts +2 -0
- package/src/generators/migrate-naming-convention/compat.js +7 -0
- package/src/generators/migrate-naming-convention/compat.js.map +1 -0
- package/src/generators/migrate-naming-convention/generator.d.ts +4 -0
- package/src/generators/migrate-naming-convention/generator.js +97 -0
- package/src/generators/migrate-naming-convention/generator.js.map +1 -0
- package/src/generators/migrate-naming-convention/schema.d.ts +3 -0
- package/src/generators/migrate-naming-convention/schema.json +14 -0
- package/src/generators/ui/libs/ui-accordion-helm/files/index.ts.template +15 -15
- package/src/generators/ui/libs/ui-accordion-helm/files/lib/{hlm-accordion-content.component.ts.template → hlm-accordion-content.ts.template} +2 -2
- package/src/generators/ui/libs/ui-accordion-helm/files/lib/{hlm-accordion-icon.directive.ts.template → hlm-accordion-icon.ts.template} +1 -1
- package/src/generators/ui/libs/ui-accordion-helm/files/lib/{hlm-accordion-item.directive.ts.template → hlm-accordion-item.ts.template} +3 -3
- package/src/generators/ui/libs/ui-accordion-helm/files/lib/{hlm-accordion-trigger.directive.ts.template → hlm-accordion-trigger.ts.template} +3 -3
- package/src/generators/ui/libs/ui-accordion-helm/files/lib/{hlm-accordion.directive.ts.template → hlm-accordion.ts.template} +4 -4
- package/src/generators/ui/libs/ui-alert-dialog-helm/files/index.ts.template +27 -27
- package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/hlm-alert-dialog-action-button.ts.template +8 -0
- package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/{hlm-alert-dialog-cancel-button.directive.ts.template → hlm-alert-dialog-cancel-button.ts.template} +3 -3
- package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/{hlm-alert-dialog-content.component.ts.template → hlm-alert-dialog-content.ts.template} +1 -1
- package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/{hlm-alert-dialog-description.directive.ts.template → hlm-alert-dialog-description.ts.template} +3 -3
- package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/{hlm-alert-dialog-footer.component.ts.template → hlm-alert-dialog-footer.ts.template} +1 -1
- package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/{hlm-alert-dialog-header.component.ts.template → hlm-alert-dialog-header.ts.template} +1 -1
- package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/{hlm-alert-dialog-overlay.directive.ts.template → hlm-alert-dialog-overlay.ts.template} +1 -1
- package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/{hlm-alert-dialog-title.directive.ts.template → hlm-alert-dialog-title.ts.template} +3 -3
- package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/{hlm-alert-dialog.component.ts.template → hlm-alert-dialog.ts.template} +8 -8
- package/src/generators/ui/libs/ui-alert-helm/files/index.ts.template +9 -14
- package/src/generators/ui/libs/ui-alert-helm/files/lib/{hlm-alert-description.directive.ts.template → hlm-alert-description.ts.template} +1 -1
- package/src/generators/ui/libs/ui-alert-helm/files/lib/{hlm-alert-icon.directive.ts.template → hlm-alert-icon.ts.template} +1 -1
- package/src/generators/ui/libs/ui-alert-helm/files/lib/{hlm-alert-title.directive.ts.template → hlm-alert-title.ts.template} +1 -1
- package/src/generators/ui/libs/ui-alert-helm/files/lib/{hlm-alert.directive.ts.template → hlm-alert.ts.template} +1 -1
- package/src/generators/ui/libs/ui-aspect-ratio-helm/files/index.ts.template +4 -4
- package/src/generators/ui/libs/ui-aspect-ratio-helm/files/lib/{helm-aspect-ratio.directive.ts.template → helm-aspect-ratio.ts.template} +1 -1
- package/src/generators/ui/libs/ui-avatar-helm/files/index.ts.template +5 -5
- package/src/generators/ui/libs/ui-avatar-helm/files/lib/fallback/{hlm-avatar-fallback.directive.ts.template → hlm-avatar-fallback.ts.template} +4 -4
- package/src/generators/ui/libs/ui-avatar-helm/files/lib/fallback/index.ts.template +1 -1
- package/src/generators/ui/libs/ui-avatar-helm/files/lib/{hlm-avatar.component.ts.template → hlm-avatar.ts.template} +2 -2
- package/src/generators/ui/libs/ui-avatar-helm/files/lib/image/{hlm-avatar-image.directive.ts.template → hlm-avatar-image.ts.template} +4 -4
- package/src/generators/ui/libs/ui-avatar-helm/files/lib/image/index.ts.template +1 -1
- package/src/generators/ui/libs/ui-badge-helm/files/index.ts.template +3 -3
- package/src/generators/ui/libs/ui-badge-helm/files/lib/{hlm-badge.directive.ts.template → hlm-badge.ts.template} +1 -1
- package/src/generators/ui/libs/ui-breadcrumb-helm/files/index.ts.template +21 -21
- package/src/generators/ui/libs/ui-breadcrumb-helm/files/lib/{hlm-breadcrumb-ellipsis.component.ts.template → hlm-breadcrumb-ellipsis.ts.template} +3 -3
- package/src/generators/ui/libs/ui-breadcrumb-helm/files/lib/{hlm-breadcrumb-item.directive.ts.template → hlm-breadcrumb-item.ts.template} +1 -1
- package/src/generators/ui/libs/ui-breadcrumb-helm/files/lib/{hlm-breadcrumb-link.directive.ts.template → hlm-breadcrumb-link.ts.template} +1 -1
- package/src/generators/ui/libs/ui-breadcrumb-helm/files/lib/{hlm-breadcrumb-list.directive.ts.template → hlm-breadcrumb-list.ts.template} +1 -1
- package/src/generators/ui/libs/ui-breadcrumb-helm/files/lib/{hlm-breadcrumb-page.directive.ts.template → hlm-breadcrumb-page.ts.template} +1 -1
- package/src/generators/ui/libs/ui-breadcrumb-helm/files/lib/{hlm-breadcrumb-separator.component.ts.template → hlm-breadcrumb-separator.ts.template} +1 -1
- package/src/generators/ui/libs/ui-breadcrumb-helm/files/lib/{hlm-breadcrumb.directive.ts.template → hlm-breadcrumb.ts.template} +1 -1
- package/src/generators/ui/libs/ui-button-helm/files/index.ts.template +4 -4
- package/src/generators/ui/libs/ui-button-helm/files/lib/hlm-button.token.ts.template +1 -1
- package/src/generators/ui/libs/ui-button-helm/files/lib/{hlm-button.directive.ts.template → hlm-button.ts.template} +1 -1
- package/src/generators/ui/libs/ui-calendar-helm/files/index.ts.template +5 -5
- package/src/generators/ui/libs/ui-calendar-helm/files/lib/{hlm-calendar-multi.component.ts.template → hlm-calendar-multi.ts.template} +22 -22
- package/src/generators/ui/libs/ui-calendar-helm/files/lib/{hlm-calendar.component.ts.template → hlm-calendar.ts.template} +22 -22
- package/src/generators/ui/libs/ui-card-helm/files/index.ts.template +21 -21
- package/src/generators/ui/libs/ui-card-helm/files/lib/{hlm-card-action.directive.ts.template → hlm-card-action.ts.template} +1 -1
- package/src/generators/ui/libs/ui-card-helm/files/lib/{hlm-card-content.directive.ts.template → hlm-card-content.ts.template} +1 -1
- package/src/generators/ui/libs/ui-card-helm/files/lib/{hlm-card-description.directive.ts.template → hlm-card-description.ts.template} +1 -1
- package/src/generators/ui/libs/ui-card-helm/files/lib/{hlm-card-footer.directive.ts.template → hlm-card-footer.ts.template} +1 -1
- package/src/generators/ui/libs/ui-card-helm/files/lib/{hlm-card-header.directive.ts.template → hlm-card-header.ts.template} +1 -1
- package/src/generators/ui/libs/ui-card-helm/files/lib/{hlm-card-title.directive.ts.template → hlm-card-title.ts.template} +1 -1
- package/src/generators/ui/libs/ui-card-helm/files/lib/{hlm-card.directive.ts.template → hlm-card.ts.template} +1 -1
- package/src/generators/ui/libs/ui-carousel-helm/files/index.ts.template +18 -18
- package/src/generators/ui/libs/ui-carousel-helm/files/lib/{hlm-carousel-content.component.ts.template → hlm-carousel-content.ts.template} +3 -3
- package/src/generators/ui/libs/ui-carousel-helm/files/lib/{hlm-carousel-item.component.ts.template → hlm-carousel-item.ts.template} +3 -3
- package/src/generators/ui/libs/ui-carousel-helm/files/lib/{hlm-carousel-next.component.ts.template → hlm-carousel-next.ts.template} +8 -8
- package/src/generators/ui/libs/ui-carousel-helm/files/lib/{hlm-carousel-previous.component.ts.template → hlm-carousel-previous.ts.template} +8 -8
- package/src/generators/ui/libs/ui-carousel-helm/files/lib/{hlm-carousel-slide-display.component.ts.template → hlm-carousel-slide-display.ts.template} +3 -3
- package/src/generators/ui/libs/ui-carousel-helm/files/lib/{hlm-carousel.component.ts.template → hlm-carousel.ts.template} +1 -1
- package/src/generators/ui/libs/ui-checkbox-helm/files/index.ts.template +3 -3
- package/src/generators/ui/libs/ui-checkbox-helm/files/lib/{hlm-checkbox.component.ts.template → hlm-checkbox.ts.template} +5 -5
- package/src/generators/ui/libs/ui-command-helm/files/index.ts.template +39 -39
- package/src/generators/ui/libs/ui-command-helm/files/lib/{hlm-command-dialog-close-button.directive.ts.template → hlm-command-dialog-close-button.ts.template} +4 -4
- package/src/generators/ui/libs/ui-command-helm/files/lib/{hlm-command-dialog.directive.ts.template → hlm-command-dialog.ts.template} +1 -1
- package/src/generators/ui/libs/ui-command-helm/files/lib/{hlm-command-empty.directive.ts.template → hlm-command-empty.ts.template} +1 -1
- package/src/generators/ui/libs/ui-command-helm/files/lib/{hlm-command-group-label.component.ts.template → hlm-command-group-label.ts.template} +1 -1
- package/src/generators/ui/libs/ui-command-helm/files/lib/{hlm-command-group.component.ts.template → hlm-command-group.ts.template} +3 -3
- package/src/generators/ui/libs/ui-command-helm/files/lib/{hlm-command-icon.directive.ts.template → hlm-command-icon.ts.template} +1 -1
- package/src/generators/ui/libs/ui-command-helm/files/lib/{hlm-command-item.component.ts.template → hlm-command-item.ts.template} +3 -3
- package/src/generators/ui/libs/ui-command-helm/files/lib/{hlm-command-list.component.ts.template → hlm-command-list.ts.template} +3 -3
- package/src/generators/ui/libs/ui-command-helm/files/lib/{hlm-command-search-input.component.ts.template → hlm-command-search-input.ts.template} +3 -3
- package/src/generators/ui/libs/ui-command-helm/files/lib/{hlm-command-search.component.ts.template → hlm-command-search.ts.template} +1 -1
- package/src/generators/ui/libs/ui-command-helm/files/lib/{hlm-command-separator.component.ts.template → hlm-command-separator.ts.template} +1 -1
- package/src/generators/ui/libs/ui-command-helm/files/lib/{hlm-command-shortcut.component.ts.template → hlm-command-shortcut.ts.template} +1 -1
- package/src/generators/ui/libs/ui-command-helm/files/lib/{hlm-command.component.ts.template → hlm-command.ts.template} +3 -3
- package/src/generators/ui/libs/ui-date-picker-helm/files/index.ts.template +5 -5
- package/src/generators/ui/libs/ui-date-picker-helm/files/lib/{hlm-date-picker-multi.component.ts.template → hlm-date-picker-multi.ts.template} +7 -15
- package/src/generators/ui/libs/ui-date-picker-helm/files/lib/{hlm-date-picker.component.ts.template → hlm-date-picker.ts.template} +7 -15
- package/src/generators/ui/libs/ui-dialog-helm/files/index.ts.template +24 -24
- package/src/generators/ui/libs/ui-dialog-helm/files/lib/{hlm-dialog-close.directive.ts.template → hlm-dialog-close.ts.template} +1 -1
- package/src/generators/ui/libs/ui-dialog-helm/files/lib/{hlm-dialog-content.component.ts.template → hlm-dialog-content.ts.template} +5 -5
- package/src/generators/ui/libs/ui-dialog-helm/files/lib/{hlm-dialog-description.directive.ts.template → hlm-dialog-description.ts.template} +3 -3
- package/src/generators/ui/libs/ui-dialog-helm/files/lib/{hlm-dialog-footer.component.ts.template → hlm-dialog-footer.ts.template} +1 -1
- package/src/generators/ui/libs/ui-dialog-helm/files/lib/{hlm-dialog-header.component.ts.template → hlm-dialog-header.ts.template} +1 -1
- package/src/generators/ui/libs/ui-dialog-helm/files/lib/{hlm-dialog-overlay.directive.ts.template → hlm-dialog-overlay.ts.template} +1 -1
- package/src/generators/ui/libs/ui-dialog-helm/files/lib/{hlm-dialog-title.directive.ts.template → hlm-dialog-title.ts.template} +3 -3
- package/src/generators/ui/libs/ui-dialog-helm/files/lib/hlm-dialog.service.ts.template +3 -3
- package/src/generators/ui/libs/ui-dialog-helm/files/lib/{hlm-dialog.component.ts.template → hlm-dialog.ts.template} +6 -10
- package/src/generators/ui/libs/ui-form-field-helm/files/index.ts.template +8 -8
- package/src/generators/ui/libs/ui-form-field-helm/files/lib/{hlm-error.directive.ts.template → hlm-error.ts.template} +1 -1
- package/src/generators/ui/libs/ui-form-field-helm/files/lib/{hlm-form-field.component.ts.template → hlm-form-field.ts.template} +3 -3
- package/src/generators/ui/libs/ui-form-field-helm/files/lib/{hlm-hint.directive.ts.template → hlm-hint.ts.template} +1 -1
- package/src/generators/ui/libs/ui-hover-card-helm/files/index.ts.template +3 -3
- package/src/generators/ui/libs/ui-hover-card-helm/files/lib/{hlm-hover-card-content.component.ts.template → hlm-hover-card-content.ts.template} +1 -1
- package/src/generators/ui/libs/ui-icon-helm/files/index.ts.template +4 -4
- package/src/generators/ui/libs/ui-icon-helm/files/lib/hlm-icon.token.ts.template +1 -1
- package/src/generators/ui/libs/ui-icon-helm/files/lib/{hlm-icon.directive.ts.template → hlm-icon.ts.template} +1 -1
- package/src/generators/ui/libs/ui-input-helm/files/index.ts.template +4 -4
- package/src/generators/ui/libs/ui-input-helm/files/lib/{hlm-input-error.directive.ts.template → hlm-input-error.ts.template} +1 -1
- package/src/generators/ui/libs/ui-input-helm/files/lib/{hlm-input.directive.ts.template → hlm-input.ts.template} +2 -2
- package/src/generators/ui/libs/ui-input-otp-helm/files/index.ts.template +15 -15
- package/src/generators/ui/libs/ui-input-otp-helm/files/lib/{hlm-input-otp-fake-caret.component.ts.template → hlm-input-otp-fake-caret.ts.template} +1 -1
- package/src/generators/ui/libs/ui-input-otp-helm/files/lib/{hlm-input-otp-group.directive.ts.template → hlm-input-otp-group.ts.template} +1 -1
- package/src/generators/ui/libs/ui-input-otp-helm/files/lib/{hlm-input-otp-separator.component.ts.template → hlm-input-otp-separator.ts.template} +3 -3
- package/src/generators/ui/libs/ui-input-otp-helm/files/lib/{hlm-input-otp-slot.component.ts.template → hlm-input-otp-slot.ts.template} +4 -4
- package/src/generators/ui/libs/ui-input-otp-helm/files/lib/{hlm-input-otp.directive.ts.template → hlm-input-otp.ts.template} +1 -1
- package/src/generators/ui/libs/ui-label-helm/files/index.ts.template +4 -4
- package/src/generators/ui/libs/ui-label-helm/files/lib/{hlm-label.directive.ts.template → hlm-label.ts.template} +3 -3
- package/src/generators/ui/libs/ui-menu-helm/files/index.ts.template +42 -47
- package/src/generators/ui/libs/ui-menu-helm/files/lib/{hlm-menu-bar-item.directive.ts.template → hlm-menu-bar-item.ts.template} +3 -3
- package/src/generators/ui/libs/ui-menu-helm/files/lib/{hlm-menu-bar.component.ts.template → hlm-menu-bar.ts.template} +3 -3
- package/src/generators/ui/libs/ui-menu-helm/files/lib/{hlm-menu-group.component.ts.template → hlm-menu-group.ts.template} +3 -3
- package/src/generators/ui/libs/ui-menu-helm/files/lib/{hlm-menu-item-check.component.ts.template → hlm-menu-item-check.ts.template} +3 -3
- package/src/generators/ui/libs/ui-menu-helm/files/lib/{hlm-menu-item-checkbox.directive.ts.template → hlm-menu-item-checkbox.ts.template} +3 -3
- package/src/generators/ui/libs/ui-menu-helm/files/lib/{hlm-menu-item-icon.directive.ts.template → hlm-menu-item-icon.ts.template} +1 -1
- package/src/generators/ui/libs/ui-menu-helm/files/lib/{hlm-menu-item-radio.component.ts.template → hlm-menu-item-radio-indicator.ts.template} +4 -4
- package/src/generators/ui/libs/ui-menu-helm/files/lib/{hlm-menu-item-radio.directive.ts.template → hlm-menu-item-radio.ts.template} +3 -3
- package/src/generators/ui/libs/ui-menu-helm/files/lib/{hlm-menu-item-sub-indicator.component.ts.template → hlm-menu-item-sub-indicator.ts.template} +3 -3
- package/src/generators/ui/libs/ui-menu-helm/files/lib/{hlm-menu-item.directive.ts.template → hlm-menu-item.ts.template} +3 -3
- package/src/generators/ui/libs/ui-menu-helm/files/lib/{hlm-menu-label.component.ts.template → hlm-menu-label.ts.template} +1 -1
- package/src/generators/ui/libs/ui-menu-helm/files/lib/{hlm-menu-separator.component.ts.template → hlm-menu-separator.ts.template} +1 -1
- package/src/generators/ui/libs/ui-menu-helm/files/lib/{hlm-menu-shortcut.component.ts.template → hlm-menu-shortcut.ts.template} +1 -1
- package/src/generators/ui/libs/ui-menu-helm/files/lib/{hlm-menu.component.ts.template → hlm-menu.ts.template} +3 -3
- package/src/generators/ui/libs/ui-menu-helm/files/lib/{hlm-sub-menu.component.ts.template → hlm-sub-menu.ts.template} +3 -3
- package/src/generators/ui/libs/ui-pagination-helm/files/index.ts.template +27 -27
- package/src/generators/ui/libs/ui-pagination-helm/files/lib/{hlm-numbered-pagination-query-params.component.ts.template → hlm-numbered-pagination-query-params.ts.template} +16 -16
- package/src/generators/ui/libs/ui-pagination-helm/files/lib/{hlm-numbered-pagination.component.ts.template → hlm-numbered-pagination.ts.template} +15 -15
- package/src/generators/ui/libs/ui-pagination-helm/files/lib/{hlm-pagination-content.directive.ts.template → hlm-pagination-content.ts.template} +1 -1
- package/src/generators/ui/libs/ui-pagination-helm/files/lib/{hlm-pagination-ellipsis.component.ts.template → hlm-pagination-ellipsis.ts.template} +3 -3
- package/src/generators/ui/libs/ui-pagination-helm/files/lib/{hlm-pagination-item.directive.ts.template → hlm-pagination-item.ts.template} +1 -1
- package/src/generators/ui/libs/ui-pagination-helm/files/lib/{hlm-pagination-link.directive.ts.template → hlm-pagination-link.ts.template} +1 -1
- package/src/generators/ui/libs/ui-pagination-helm/files/lib/{hlm-pagination-next.component.ts.template → hlm-pagination-next.ts.template} +6 -6
- package/src/generators/ui/libs/ui-pagination-helm/files/lib/{hlm-pagination-previous.component.ts.template → hlm-pagination-previous.ts.template} +6 -6
- package/src/generators/ui/libs/ui-pagination-helm/files/lib/{hlm-pagination.directive.ts.template → hlm-pagination.ts.template} +1 -1
- package/src/generators/ui/libs/ui-popover-helm/files/index.ts.template +5 -5
- package/src/generators/ui/libs/ui-popover-helm/files/lib/{hlm-popover-close.directive.ts.template → hlm-popover-close.ts.template} +1 -1
- package/src/generators/ui/libs/ui-popover-helm/files/lib/{hlm-popover-content.directive.ts.template → hlm-popover-content.ts.template} +1 -1
- package/src/generators/ui/libs/ui-progress-helm/files/index.ts.template +5 -5
- package/src/generators/ui/libs/ui-progress-helm/files/lib/{hlm-progress-indicator.directive.ts.template → hlm-progress-indicator.ts.template} +1 -1
- package/src/generators/ui/libs/ui-progress-helm/files/lib/{hlm-progress.directive.ts.template → hlm-progress.ts.template} +1 -1
- package/src/generators/ui/libs/ui-radio-group-helm/files/index.ts.template +7 -7
- package/src/generators/ui/libs/ui-radio-group-helm/files/lib/{hlm-radio-group.component.ts.template → hlm-radio-group.ts.template} +3 -3
- package/src/generators/ui/libs/ui-radio-group-helm/files/lib/{hlm-radio-indicator.component.ts.template → hlm-radio-indicator.ts.template} +1 -1
- package/src/generators/ui/libs/ui-radio-group-helm/files/lib/{hlm-radio.component.ts.template → hlm-radio.ts.template} +3 -3
- package/src/generators/ui/libs/ui-scroll-area-helm/files/index.ts.template +4 -4
- package/src/generators/ui/libs/ui-scroll-area-helm/files/lib/{hlm-scroll-area.directive.ts.template → hlm-scroll-area.ts.template} +1 -1
- package/src/generators/ui/libs/ui-select-helm/files/index.ts.template +27 -27
- package/src/generators/ui/libs/ui-select-helm/files/lib/{hlm-select-content.directive.ts.template → hlm-select-content.ts.template} +1 -1
- package/src/generators/ui/libs/ui-select-helm/files/lib/{hlm-select-group.directive.ts.template → hlm-select-group.ts.template} +3 -3
- package/src/generators/ui/libs/ui-select-helm/files/lib/{hlm-select-label.directive.ts.template → hlm-select-label.ts.template} +5 -5
- package/src/generators/ui/libs/ui-select-helm/files/lib/{hlm-select-option.component.ts.template → hlm-select-option.ts.template} +6 -6
- package/src/generators/ui/libs/ui-select-helm/files/lib/{hlm-select-scroll-down.component.ts.template → hlm-select-scroll-down.ts.template} +3 -3
- package/src/generators/ui/libs/ui-select-helm/files/lib/{hlm-select-scroll-up.component.ts.template → hlm-select-scroll-up.ts.template} +3 -3
- package/src/generators/ui/libs/ui-select-helm/files/lib/{hlm-select-trigger.component.ts.template → hlm-select-trigger.ts.template} +6 -6
- package/src/generators/ui/libs/ui-select-helm/files/lib/{hlm-select-value.directive.ts.template → hlm-select-value.ts.template} +1 -1
- package/src/generators/ui/libs/ui-select-helm/files/lib/{hlm-select.directive.ts.template → hlm-select.ts.template} +1 -1
- package/src/generators/ui/libs/ui-separator-helm/files/index.ts.template +4 -4
- package/src/generators/ui/libs/ui-separator-helm/files/lib/{hlm-separator.directive.ts.template → hlm-separator.ts.template} +1 -1
- package/src/generators/ui/libs/ui-sheet-helm/files/index.ts.template +24 -24
- package/src/generators/ui/libs/ui-sheet-helm/files/lib/{hlm-sheet-close.directive.ts.template → hlm-sheet-close.ts.template} +1 -1
- package/src/generators/ui/libs/ui-sheet-helm/files/lib/{hlm-sheet-content.component.ts.template → hlm-sheet-content.ts.template} +5 -5
- package/src/generators/ui/libs/ui-sheet-helm/files/lib/{hlm-sheet-description.directive.ts.template → hlm-sheet-description.ts.template} +3 -3
- package/src/generators/ui/libs/ui-sheet-helm/files/lib/{hlm-sheet-footer.component.ts.template → hlm-sheet-footer.ts.template} +1 -1
- package/src/generators/ui/libs/ui-sheet-helm/files/lib/{hlm-sheet-header.component.ts.template → hlm-sheet-header.ts.template} +1 -1
- package/src/generators/ui/libs/ui-sheet-helm/files/lib/{hlm-sheet-overlay.directive.ts.template → hlm-sheet-overlay.ts.template} +1 -1
- package/src/generators/ui/libs/ui-sheet-helm/files/lib/{hlm-sheet-title.directive.ts.template → hlm-sheet-title.ts.template} +3 -3
- package/src/generators/ui/libs/ui-sheet-helm/files/lib/hlm-sheet.ts.template +30 -0
- package/src/generators/ui/libs/ui-skeleton-helm/files/index.ts.template +3 -3
- package/src/generators/ui/libs/ui-skeleton-helm/files/lib/{hlm-skeleton.component.ts.template → hlm-skeleton.ts.template} +1 -1
- package/src/generators/ui/libs/ui-slider-helm/files/index.ts.template +3 -3
- package/src/generators/ui/libs/ui-slider-helm/files/lib/{hlm-slider.component.ts.template → hlm-slider.ts.template} +8 -8
- package/src/generators/ui/libs/ui-sonner-helm/files/index.ts.template +3 -3
- package/src/generators/ui/libs/ui-sonner-helm/files/lib/{hlm-toaster.component.ts.template → hlm-toaster.ts.template} +1 -1
- package/src/generators/ui/libs/ui-spinner-helm/files/index.ts.template +3 -3
- package/src/generators/ui/libs/ui-spinner-helm/files/lib/{hlm-spinner.component.ts.template → hlm-spinner.ts.template} +1 -1
- package/src/generators/ui/libs/ui-switch-helm/files/index.ts.template +5 -5
- package/src/generators/ui/libs/ui-switch-helm/files/lib/{hlm-switch-thumb.directive.ts.template → hlm-switch-thumb.ts.template} +1 -1
- package/src/generators/ui/libs/ui-switch-helm/files/lib/{hlm-switch.component.ts.template → hlm-switch.ts.template} +5 -5
- package/src/generators/ui/libs/ui-table-helm/files/index.ts.template +3 -21
- package/src/generators/ui/libs/ui-table-helm/files/lib/{hlm-table.directive.ts.template → hlm-table.ts.template} +8 -8
- package/src/generators/ui/libs/ui-tabs-helm/files/index.ts.template +11 -17
- package/src/generators/ui/libs/ui-tabs-helm/files/lib/{hlm-tabs-content.directive.ts.template → hlm-tabs-content.ts.template} +3 -3
- package/src/generators/ui/libs/ui-tabs-helm/files/lib/{hlm-tabs-list.component.ts.template → hlm-tabs-list.ts.template} +3 -3
- package/src/generators/ui/libs/ui-tabs-helm/files/lib/{hlm-tabs-paginated-list.component.ts.template → hlm-tabs-paginated-list.ts.template} +6 -10
- package/src/generators/ui/libs/ui-tabs-helm/files/lib/{hlm-tabs-trigger.directive.ts.template → hlm-tabs-trigger.ts.template} +3 -3
- package/src/generators/ui/libs/ui-tabs-helm/files/lib/{hlm-tabs.component.ts.template → hlm-tabs.ts.template} +3 -3
- package/src/generators/ui/libs/ui-toggle-group-helm/files/index.ts.template +6 -6
- package/src/generators/ui/libs/ui-toggle-group-helm/files/lib/hlm-toggle-group.token.ts.template +5 -5
- package/src/generators/ui/libs/ui-toggle-group-helm/files/lib/{hlm-toggle-group.directive.ts.template → hlm-toggle-group.ts.template} +3 -3
- package/src/generators/ui/libs/ui-toggle-group-helm/files/lib/{hlm-toggle-item.directive.ts.template → hlm-toggle-item.ts.template} +1 -1
- package/src/generators/ui/libs/ui-toggle-helm/files/index.ts.template +4 -4
- package/src/generators/ui/libs/ui-toggle-helm/files/lib/{hlm-toggle.directive.ts.template → hlm-toggle.ts.template} +1 -1
- package/src/generators/ui/libs/ui-tooltip-helm/files/index.ts.template +5 -5
- package/src/generators/ui/libs/ui-tooltip-helm/files/lib/{hlm-tooltip-trigger.directive.ts.template → hlm-tooltip-trigger.ts.template} +3 -3
- package/src/generators/ui/libs/ui-tooltip-helm/files/lib/{hlm-tooltip.component.ts.template → hlm-tooltip.ts.template} +3 -3
- package/src/generators/ui/libs/ui-typography-helm/files/index.ts.template +12 -12
- package/src/generators/ui/libs/ui-typography-helm/files/lib/{hlm-blockquote.directive.ts.template → hlm-blockquote.ts.template} +1 -1
- package/src/generators/ui/libs/ui-typography-helm/files/lib/{hlm-code.directive.ts.template → hlm-code.ts.template} +1 -1
- package/src/generators/ui/libs/ui-typography-helm/files/lib/{hlm-h1.directive.ts.template → hlm-h1.ts.template} +1 -1
- package/src/generators/ui/libs/ui-typography-helm/files/lib/{hlm-h2.directive.ts.template → hlm-h2.ts.template} +1 -1
- package/src/generators/ui/libs/ui-typography-helm/files/lib/{hlm-h3.directive.ts.template → hlm-h3.ts.template} +1 -1
- package/src/generators/ui/libs/ui-typography-helm/files/lib/{hlm-h4.directive.ts.template → hlm-h4.ts.template} +1 -1
- package/src/generators/ui/libs/ui-typography-helm/files/lib/{hlm-large.directive.ts.template → hlm-large.ts.template} +1 -1
- package/src/generators/ui/libs/ui-typography-helm/files/lib/{hlm-lead.directive.ts.template → hlm-lead.ts.template} +1 -1
- package/src/generators/ui/libs/ui-typography-helm/files/lib/{hlm-muted.directive.ts.template → hlm-muted.ts.template} +1 -1
- package/src/generators/ui/libs/ui-typography-helm/files/lib/{hlm-p.directive.ts.template → hlm-p.ts.template} +1 -1
- package/src/generators/ui/libs/ui-typography-helm/files/lib/{hlm-small.directive.ts.template → hlm-small.ts.template} +1 -1
- package/src/generators/ui/libs/ui-typography-helm/files/lib/{hlm-ul.directive.ts.template → hlm-ul.ts.template} +1 -1
- package/src/generators/ui/supported-ui-libraries.json +40 -40
- package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/hlm-alert-dialog-action-button.directive.ts.template +0 -8
- package/src/generators/ui/libs/ui-sheet-helm/files/lib/hlm-sheet.component.ts.template +0 -30
|
@@ -12,38 +12,38 @@ import {
|
|
|
12
12
|
import { NgIcon, provideIcons } from '@ng-icons/core';
|
|
13
13
|
import { lucideChevronLeft, lucideChevronRight } from '@ng-icons/lucide';
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
15
|
+
BrnCalendarCell,
|
|
16
|
+
BrnCalendarCellButton,
|
|
17
|
+
BrnCalendarGrid,
|
|
18
|
+
BrnCalendarHeader,
|
|
19
|
+
BrnCalendarMulti,
|
|
20
|
+
BrnCalendarNextButton,
|
|
21
|
+
BrnCalendarPreviousButton,
|
|
22
|
+
BrnCalendarWeek,
|
|
23
|
+
BrnCalendarWeekday,
|
|
24
24
|
Weekday,
|
|
25
25
|
injectBrnCalendarI18n,
|
|
26
26
|
} from '@spartan-ng/brain/calendar';
|
|
27
27
|
import { hlm } from '@spartan-ng/brain/core';
|
|
28
28
|
import { injectDateAdapter } from '@spartan-ng/brain/date-time';
|
|
29
29
|
import { buttonVariants } from '@spartan-ng/helm/button';
|
|
30
|
-
import {
|
|
30
|
+
import { HlmIcon } from '@spartan-ng/helm/icon';
|
|
31
31
|
import type { ClassValue } from 'clsx';
|
|
32
32
|
|
|
33
33
|
@Component({
|
|
34
34
|
selector: 'hlm-calendar-multi',
|
|
35
35
|
imports: [
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
36
|
+
BrnCalendarMulti,
|
|
37
|
+
BrnCalendarHeader,
|
|
38
|
+
BrnCalendarNextButton,
|
|
39
|
+
BrnCalendarPreviousButton,
|
|
40
|
+
BrnCalendarWeekday,
|
|
41
|
+
BrnCalendarWeek,
|
|
42
|
+
BrnCalendarCellButton,
|
|
43
|
+
BrnCalendarCell,
|
|
44
|
+
BrnCalendarGrid,
|
|
45
45
|
NgIcon,
|
|
46
|
-
|
|
46
|
+
HlmIcon,
|
|
47
47
|
],
|
|
48
48
|
viewProviders: [provideIcons({ lucideChevronLeft, lucideChevronRight })],
|
|
49
49
|
template: `
|
|
@@ -120,7 +120,7 @@ import type { ClassValue } from 'clsx';
|
|
|
120
120
|
`,
|
|
121
121
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
122
122
|
})
|
|
123
|
-
export class
|
|
123
|
+
export class HlmCalendarMulti<T> {
|
|
124
124
|
public readonly calendarClass = input<ClassValue>('');
|
|
125
125
|
|
|
126
126
|
protected readonly _computedCalenderClass = computed(() => hlm('rounded-md border p-3', this.calendarClass()));
|
|
@@ -167,7 +167,7 @@ export class HlmCalendarMultiComponent<T> {
|
|
|
167
167
|
public readonly defaultFocusedDate = input<T>();
|
|
168
168
|
|
|
169
169
|
/** Access the calendar directive */
|
|
170
|
-
private readonly _calendar = viewChild.required(
|
|
170
|
+
private readonly _calendar = viewChild.required(BrnCalendarMulti);
|
|
171
171
|
|
|
172
172
|
/** Get the heading for the current month and year */
|
|
173
173
|
protected readonly _heading = computed(() =>
|
|
@@ -12,38 +12,38 @@ import {
|
|
|
12
12
|
import { NgIcon, provideIcons } from '@ng-icons/core';
|
|
13
13
|
import { lucideChevronLeft, lucideChevronRight } from '@ng-icons/lucide';
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
15
|
+
BrnCalendar,
|
|
16
|
+
BrnCalendarCell,
|
|
17
|
+
BrnCalendarCellButton,
|
|
18
|
+
BrnCalendarGrid,
|
|
19
|
+
BrnCalendarHeader,
|
|
20
|
+
BrnCalendarNextButton,
|
|
21
|
+
BrnCalendarPreviousButton,
|
|
22
|
+
BrnCalendarWeek,
|
|
23
|
+
BrnCalendarWeekday,
|
|
24
24
|
Weekday,
|
|
25
25
|
injectBrnCalendarI18n,
|
|
26
26
|
} from '@spartan-ng/brain/calendar';
|
|
27
27
|
import { hlm } from '@spartan-ng/brain/core';
|
|
28
28
|
import { injectDateAdapter } from '@spartan-ng/brain/date-time';
|
|
29
29
|
import { buttonVariants } from '@spartan-ng/helm/button';
|
|
30
|
-
import {
|
|
30
|
+
import { HlmIcon } from '@spartan-ng/helm/icon';
|
|
31
31
|
import type { ClassValue } from 'clsx';
|
|
32
32
|
|
|
33
33
|
@Component({
|
|
34
34
|
selector: 'hlm-calendar',
|
|
35
35
|
imports: [
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
36
|
+
BrnCalendar,
|
|
37
|
+
BrnCalendarHeader,
|
|
38
|
+
BrnCalendarNextButton,
|
|
39
|
+
BrnCalendarPreviousButton,
|
|
40
|
+
BrnCalendarWeekday,
|
|
41
|
+
BrnCalendarWeek,
|
|
42
|
+
BrnCalendarCellButton,
|
|
43
|
+
BrnCalendarCell,
|
|
44
|
+
BrnCalendarGrid,
|
|
45
45
|
NgIcon,
|
|
46
|
-
|
|
46
|
+
HlmIcon,
|
|
47
47
|
],
|
|
48
48
|
viewProviders: [provideIcons({ lucideChevronLeft, lucideChevronRight })],
|
|
49
49
|
template: `
|
|
@@ -118,7 +118,7 @@ import type { ClassValue } from 'clsx';
|
|
|
118
118
|
`,
|
|
119
119
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
120
120
|
})
|
|
121
|
-
export class
|
|
121
|
+
export class HlmCalendar<T> {
|
|
122
122
|
public readonly calendarClass = input<ClassValue>('');
|
|
123
123
|
|
|
124
124
|
protected readonly _computedCalenderClass = computed(() => hlm('rounded-md border p-3', this.calendarClass()));
|
|
@@ -155,7 +155,7 @@ export class HlmCalendarComponent<T> {
|
|
|
155
155
|
public readonly defaultFocusedDate = input<T>();
|
|
156
156
|
|
|
157
157
|
/** Access the calendar directive */
|
|
158
|
-
private readonly _calendar = viewChild.required(
|
|
158
|
+
private readonly _calendar = viewChild.required(BrnCalendar);
|
|
159
159
|
|
|
160
160
|
/** Get the heading for the current month and year */
|
|
161
161
|
protected readonly _heading = computed(() =>
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import { NgModule } from '@angular/core';
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
3
|
+
import { HlmCard } from './lib/hlm-card';
|
|
4
|
+
import { HlmCardAction } from './lib/hlm-card-action';
|
|
5
|
+
import { HlmCardContent } from './lib/hlm-card-content';
|
|
6
|
+
import { HlmCardDescription } from './lib/hlm-card-description';
|
|
7
|
+
import { HlmCardFooter } from './lib/hlm-card-footer';
|
|
8
|
+
import { HlmCardHeader } from './lib/hlm-card-header';
|
|
9
|
+
import { HlmCardTitle } from './lib/hlm-card-title';
|
|
10
10
|
|
|
11
|
-
export * from './lib/hlm-card
|
|
12
|
-
export * from './lib/hlm-card-
|
|
13
|
-
export * from './lib/hlm-card-
|
|
14
|
-
export * from './lib/hlm-card-
|
|
15
|
-
export * from './lib/hlm-card-
|
|
16
|
-
export * from './lib/hlm-card-
|
|
17
|
-
export * from './lib/hlm-card
|
|
11
|
+
export * from './lib/hlm-card';
|
|
12
|
+
export * from './lib/hlm-card-action';
|
|
13
|
+
export * from './lib/hlm-card-content';
|
|
14
|
+
export * from './lib/hlm-card-description';
|
|
15
|
+
export * from './lib/hlm-card-footer';
|
|
16
|
+
export * from './lib/hlm-card-header';
|
|
17
|
+
export * from './lib/hlm-card-title';
|
|
18
18
|
|
|
19
19
|
export const HlmCardImports = [
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
20
|
+
HlmCard,
|
|
21
|
+
HlmCardHeader,
|
|
22
|
+
HlmCardFooter,
|
|
23
|
+
HlmCardTitle,
|
|
24
|
+
HlmCardDescription,
|
|
25
|
+
HlmCardContent,
|
|
26
|
+
HlmCardAction,
|
|
27
27
|
] as const;
|
|
28
28
|
|
|
29
29
|
@NgModule({
|
|
@@ -9,7 +9,7 @@ import type { ClassValue } from 'clsx';
|
|
|
9
9
|
'[class]': '_computedClass()',
|
|
10
10
|
},
|
|
11
11
|
})
|
|
12
|
-
export class
|
|
12
|
+
export class HlmCardAction {
|
|
13
13
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
14
14
|
protected readonly _computedClass = computed(() =>
|
|
15
15
|
hlm('col-start-2 row-span-2 row-start-1 self-start justify-self-end', this.userClass()),
|
|
@@ -8,7 +8,7 @@ import type { ClassValue } from 'clsx';
|
|
|
8
8
|
'[class]': '_computedClass()',
|
|
9
9
|
},
|
|
10
10
|
})
|
|
11
|
-
export class
|
|
11
|
+
export class HlmCardContent {
|
|
12
12
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
13
13
|
protected readonly _computedClass = computed(() => hlm('px-6', this.userClass()));
|
|
14
14
|
}
|
|
@@ -8,7 +8,7 @@ import type { ClassValue } from 'clsx';
|
|
|
8
8
|
'[class]': '_computedClass()',
|
|
9
9
|
},
|
|
10
10
|
})
|
|
11
|
-
export class
|
|
11
|
+
export class HlmCardDescription {
|
|
12
12
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
13
13
|
protected readonly _computedClass = computed(() => hlm('text-muted-foreground text-sm', this.userClass()));
|
|
14
14
|
}
|
|
@@ -8,7 +8,7 @@ import type { ClassValue } from 'clsx';
|
|
|
8
8
|
'[class]': '_computedClass()',
|
|
9
9
|
},
|
|
10
10
|
})
|
|
11
|
-
export class
|
|
11
|
+
export class HlmCardFooter {
|
|
12
12
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
13
13
|
protected readonly _computedClass = computed(() => hlm('flex items-center px-6 [.border-t]:pt-6', this.userClass()));
|
|
14
14
|
}
|
|
@@ -8,7 +8,7 @@ import type { ClassValue } from 'clsx';
|
|
|
8
8
|
'[class]': '_computedClass()',
|
|
9
9
|
},
|
|
10
10
|
})
|
|
11
|
-
export class
|
|
11
|
+
export class HlmCardHeader {
|
|
12
12
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
13
13
|
protected readonly _computedClass = computed(() =>
|
|
14
14
|
hlm(
|
|
@@ -8,7 +8,7 @@ import type { ClassValue } from 'clsx';
|
|
|
8
8
|
'[class]': '_computedClass()',
|
|
9
9
|
},
|
|
10
10
|
})
|
|
11
|
-
export class
|
|
11
|
+
export class HlmCardTitle {
|
|
12
12
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
13
13
|
protected readonly _computedClass = computed(() => hlm('leading-none font-semibold', this.userClass()));
|
|
14
14
|
}
|
|
@@ -15,7 +15,7 @@ export type CardVariants = VariantProps<typeof cardVariants>;
|
|
|
15
15
|
'[class]': '_computedClass()',
|
|
16
16
|
},
|
|
17
17
|
})
|
|
18
|
-
export class
|
|
18
|
+
export class HlmCard {
|
|
19
19
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
20
20
|
protected _computedClass = computed(() => hlm(cardVariants(), this.userClass()));
|
|
21
21
|
}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { NgModule } from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
2
|
+
import { HlmCarousel } from './lib/hlm-carousel';
|
|
3
|
+
import { HlmCarouselContent } from './lib/hlm-carousel-content';
|
|
4
|
+
import { HlmCarouselItem } from './lib/hlm-carousel-item';
|
|
5
|
+
import { HlmCarouselNext } from './lib/hlm-carousel-next';
|
|
6
|
+
import { HlmCarouselPrevious } from './lib/hlm-carousel-previous';
|
|
7
|
+
import { HlmCarouselSlideDisplay } from './lib/hlm-carousel-slide-display';
|
|
8
8
|
|
|
9
|
-
export * from './lib/hlm-carousel
|
|
10
|
-
export * from './lib/hlm-carousel-
|
|
11
|
-
export * from './lib/hlm-carousel-
|
|
12
|
-
export * from './lib/hlm-carousel-
|
|
13
|
-
export * from './lib/hlm-carousel-
|
|
14
|
-
export * from './lib/hlm-carousel
|
|
9
|
+
export * from './lib/hlm-carousel';
|
|
10
|
+
export * from './lib/hlm-carousel-content';
|
|
11
|
+
export * from './lib/hlm-carousel-item';
|
|
12
|
+
export * from './lib/hlm-carousel-next';
|
|
13
|
+
export * from './lib/hlm-carousel-previous';
|
|
14
|
+
export * from './lib/hlm-carousel-slide-display';
|
|
15
15
|
|
|
16
16
|
export const HlmCarouselImports = [
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
17
|
+
HlmCarousel,
|
|
18
|
+
HlmCarouselContent,
|
|
19
|
+
HlmCarouselItem,
|
|
20
|
+
HlmCarouselPrevious,
|
|
21
|
+
HlmCarouselNext,
|
|
22
|
+
HlmCarouselSlideDisplay,
|
|
23
23
|
] as const;
|
|
24
24
|
|
|
25
25
|
@NgModule({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ChangeDetectionStrategy, Component, ViewEncapsulation, computed, inject, input } from '@angular/core';
|
|
2
2
|
import { hlm } from '@spartan-ng/brain/core';
|
|
3
3
|
import type { ClassValue } from 'clsx';
|
|
4
|
-
import {
|
|
4
|
+
import { HlmCarousel } from './hlm-carousel';
|
|
5
5
|
|
|
6
6
|
@Component({
|
|
7
7
|
selector: 'hlm-carousel-content',
|
|
@@ -14,8 +14,8 @@ import { HlmCarouselComponent } from './hlm-carousel.component';
|
|
|
14
14
|
<ng-content />
|
|
15
15
|
`,
|
|
16
16
|
})
|
|
17
|
-
export class
|
|
18
|
-
private readonly _orientation = inject(
|
|
17
|
+
export class HlmCarouselContent {
|
|
18
|
+
private readonly _orientation = inject(HlmCarousel).orientation;
|
|
19
19
|
|
|
20
20
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
21
21
|
protected readonly _computedClass = computed(() =>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ChangeDetectionStrategy, Component, ViewEncapsulation, computed, inject, input } from '@angular/core';
|
|
2
2
|
import { hlm } from '@spartan-ng/brain/core';
|
|
3
3
|
import type { ClassValue } from 'clsx';
|
|
4
|
-
import {
|
|
4
|
+
import { HlmCarousel } from './hlm-carousel';
|
|
5
5
|
|
|
6
6
|
@Component({
|
|
7
7
|
selector: 'hlm-carousel-item',
|
|
@@ -16,9 +16,9 @@ import { HlmCarouselComponent } from './hlm-carousel.component';
|
|
|
16
16
|
<ng-content />
|
|
17
17
|
`,
|
|
18
18
|
})
|
|
19
|
-
export class
|
|
19
|
+
export class HlmCarouselItem {
|
|
20
20
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
21
|
-
private readonly _orientation = inject(
|
|
21
|
+
private readonly _orientation = inject(HlmCarousel).orientation;
|
|
22
22
|
protected readonly _computedClass = computed(() =>
|
|
23
23
|
hlm('min-w-0 shrink-0 grow-0 basis-full', this._orientation() === 'horizontal' ? 'pl-4' : 'pt-4', this.userClass()),
|
|
24
24
|
);
|
|
@@ -11,10 +11,10 @@ import {
|
|
|
11
11
|
import { NgIcon, provideIcons } from '@ng-icons/core';
|
|
12
12
|
import { lucideArrowRight } from '@ng-icons/lucide';
|
|
13
13
|
import { hlm } from '@spartan-ng/brain/core';
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
14
|
+
import { HlmButton, provideBrnButtonConfig } from '@spartan-ng/helm/button';
|
|
15
|
+
import { HlmIcon } from '@spartan-ng/helm/icon';
|
|
16
16
|
import type { ClassValue } from 'clsx';
|
|
17
|
-
import {
|
|
17
|
+
import { HlmCarousel } from './hlm-carousel';
|
|
18
18
|
|
|
19
19
|
@Component({
|
|
20
20
|
selector: 'button[hlm-carousel-next], button[hlmCarouselNext]',
|
|
@@ -24,17 +24,17 @@ import { HlmCarouselComponent } from './hlm-carousel.component';
|
|
|
24
24
|
'[disabled]': 'isDisabled()',
|
|
25
25
|
'(click)': '_carousel.scrollNext()',
|
|
26
26
|
},
|
|
27
|
-
hostDirectives: [{ directive:
|
|
27
|
+
hostDirectives: [{ directive: HlmButton, inputs: ['variant', 'size'] }],
|
|
28
28
|
providers: [provideIcons({ lucideArrowRight }), provideBrnButtonConfig({ variant: 'outline', size: 'icon' })],
|
|
29
|
-
imports: [NgIcon,
|
|
29
|
+
imports: [NgIcon, HlmIcon],
|
|
30
30
|
template: `
|
|
31
31
|
<ng-icon hlm size="sm" name="lucideArrowRight" />
|
|
32
32
|
<span class="sr-only">Next slide</span>
|
|
33
33
|
`,
|
|
34
34
|
})
|
|
35
|
-
export class
|
|
36
|
-
private readonly _button = inject(
|
|
37
|
-
protected readonly _carousel = inject(
|
|
35
|
+
export class HlmCarouselNext {
|
|
36
|
+
private readonly _button = inject(HlmButton);
|
|
37
|
+
protected readonly _carousel = inject(HlmCarousel);
|
|
38
38
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
39
39
|
private readonly _computedClass = computed(() =>
|
|
40
40
|
hlm(
|
|
@@ -11,10 +11,10 @@ import {
|
|
|
11
11
|
import { NgIcon, provideIcons } from '@ng-icons/core';
|
|
12
12
|
import { lucideArrowLeft } from '@ng-icons/lucide';
|
|
13
13
|
import { hlm } from '@spartan-ng/brain/core';
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
14
|
+
import { HlmButton, provideBrnButtonConfig } from '@spartan-ng/helm/button';
|
|
15
|
+
import { HlmIcon } from '@spartan-ng/helm/icon';
|
|
16
16
|
import type { ClassValue } from 'clsx';
|
|
17
|
-
import {
|
|
17
|
+
import { HlmCarousel } from './hlm-carousel';
|
|
18
18
|
|
|
19
19
|
@Component({
|
|
20
20
|
selector: 'button[hlm-carousel-previous], button[hlmCarouselPrevious]',
|
|
@@ -24,18 +24,18 @@ import { HlmCarouselComponent } from './hlm-carousel.component';
|
|
|
24
24
|
'[disabled]': 'isDisabled()',
|
|
25
25
|
'(click)': '_carousel.scrollPrev()',
|
|
26
26
|
},
|
|
27
|
-
hostDirectives: [{ directive:
|
|
27
|
+
hostDirectives: [{ directive: HlmButton, inputs: ['variant', 'size'] }],
|
|
28
28
|
providers: [provideIcons({ lucideArrowLeft }), provideBrnButtonConfig({ variant: 'outline', size: 'icon' })],
|
|
29
|
-
imports: [NgIcon,
|
|
29
|
+
imports: [NgIcon, HlmIcon],
|
|
30
30
|
template: `
|
|
31
31
|
<ng-icon hlm size="sm" name="lucideArrowLeft" />
|
|
32
32
|
<span class="sr-only">Previous slide</span>
|
|
33
33
|
`,
|
|
34
34
|
})
|
|
35
|
-
export class
|
|
36
|
-
private readonly _button = inject(
|
|
35
|
+
export class HlmCarouselPrevious {
|
|
36
|
+
private readonly _button = inject(HlmButton);
|
|
37
37
|
|
|
38
|
-
protected readonly _carousel = inject(
|
|
38
|
+
protected readonly _carousel = inject(HlmCarousel);
|
|
39
39
|
|
|
40
40
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
41
41
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ChangeDetectionStrategy, Component, computed, inject, input } from '@angular/core';
|
|
2
2
|
import { ClassValue } from 'clsx';
|
|
3
|
-
import {
|
|
3
|
+
import { HlmCarousel } from './hlm-carousel';
|
|
4
4
|
|
|
5
5
|
@Component({
|
|
6
6
|
selector: 'hlm-carousel-slide-display',
|
|
@@ -15,8 +15,8 @@ import { HlmCarouselComponent } from './hlm-carousel.component';
|
|
|
15
15
|
'[class]': '_computedClass()',
|
|
16
16
|
},
|
|
17
17
|
})
|
|
18
|
-
export class
|
|
19
|
-
protected readonly _carousel = inject(
|
|
18
|
+
export class HlmCarouselSlideDisplay {
|
|
19
|
+
protected readonly _carousel = inject(HlmCarousel);
|
|
20
20
|
|
|
21
21
|
protected readonly _currentSlide = computed(() => this._carousel.currentSlide() + 1);
|
|
22
22
|
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
<ng-content />
|
|
44
44
|
`,
|
|
45
45
|
})
|
|
46
|
-
export class
|
|
46
|
+
export class HlmCarousel {
|
|
47
47
|
protected readonly _emblaCarousel = viewChild.required(EmblaCarouselDirective);
|
|
48
48
|
|
|
49
49
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { NgModule } from '@angular/core';
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { HlmCheckbox } from './lib/hlm-checkbox';
|
|
4
4
|
|
|
5
|
-
export * from './lib/hlm-checkbox
|
|
5
|
+
export * from './lib/hlm-checkbox';
|
|
6
6
|
|
|
7
|
-
export const HlmCheckboxImports = [
|
|
7
|
+
export const HlmCheckboxImports = [HlmCheckbox] as const;
|
|
8
8
|
@NgModule({
|
|
9
9
|
imports: [...HlmCheckboxImports],
|
|
10
10
|
exports: [...HlmCheckboxImports],
|
|
@@ -13,21 +13,21 @@ import {
|
|
|
13
13
|
import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
14
14
|
import { NgIcon, provideIcons } from '@ng-icons/core';
|
|
15
15
|
import { lucideCheck } from '@ng-icons/lucide';
|
|
16
|
-
import {
|
|
16
|
+
import { BrnCheckbox } from '@spartan-ng/brain/checkbox';
|
|
17
17
|
import { hlm } from '@spartan-ng/brain/core';
|
|
18
18
|
import type { ChangeFn, TouchFn } from '@spartan-ng/brain/forms';
|
|
19
|
-
import {
|
|
19
|
+
import { HlmIcon } from '@spartan-ng/helm/icon';
|
|
20
20
|
import type { ClassValue } from 'clsx';
|
|
21
21
|
|
|
22
22
|
export const HLM_CHECKBOX_VALUE_ACCESSOR = {
|
|
23
23
|
provide: NG_VALUE_ACCESSOR,
|
|
24
|
-
useExisting: forwardRef(() =>
|
|
24
|
+
useExisting: forwardRef(() => HlmCheckbox),
|
|
25
25
|
multi: true,
|
|
26
26
|
};
|
|
27
27
|
|
|
28
28
|
@Component({
|
|
29
29
|
selector: 'hlm-checkbox',
|
|
30
|
-
imports: [
|
|
30
|
+
imports: [BrnCheckbox, NgIcon, HlmIcon],
|
|
31
31
|
template: `
|
|
32
32
|
<brn-checkbox
|
|
33
33
|
[id]="id()"
|
|
@@ -61,7 +61,7 @@ export const HLM_CHECKBOX_VALUE_ACCESSOR = {
|
|
|
61
61
|
viewProviders: [provideIcons({ lucideCheck })],
|
|
62
62
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
63
63
|
})
|
|
64
|
-
export class
|
|
64
|
+
export class HlmCheckbox implements ControlValueAccessor {
|
|
65
65
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
66
66
|
|
|
67
67
|
protected readonly _computedClass = computed(() =>
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import { NgModule } from '@angular/core';
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
3
|
+
import { HlmCommand } from './lib/hlm-command';
|
|
4
|
+
import { HlmCommandDialog } from './lib/hlm-command-dialog';
|
|
5
|
+
import { HlmCommandDialogCloseButton } from './lib/hlm-command-dialog-close-button';
|
|
6
|
+
import { HlmCommandEmpty } from './lib/hlm-command-empty';
|
|
7
|
+
import { HlmCommandGroup } from './lib/hlm-command-group';
|
|
8
|
+
import { HlmCommandGroupLabel } from './lib/hlm-command-group-label';
|
|
9
|
+
import { HlmCommandIcon } from './lib/hlm-command-icon';
|
|
10
|
+
import { HlmCommandItem } from './lib/hlm-command-item';
|
|
11
|
+
import { HlmCommandList } from './lib/hlm-command-list';
|
|
12
|
+
import { HlmCommandSearch } from './lib/hlm-command-search';
|
|
13
|
+
import { HlmCommandSearchInput } from './lib/hlm-command-search-input';
|
|
14
|
+
import { HlmCommandSeparator } from './lib/hlm-command-separator';
|
|
15
|
+
import { HlmCommandShortcut } from './lib/hlm-command-shortcut';
|
|
16
16
|
|
|
17
|
-
export * from './lib/hlm-command
|
|
18
|
-
export * from './lib/hlm-command-dialog
|
|
19
|
-
export * from './lib/hlm-command-
|
|
20
|
-
export * from './lib/hlm-command-
|
|
21
|
-
export * from './lib/hlm-command-group
|
|
22
|
-
export * from './lib/hlm-command-
|
|
23
|
-
export * from './lib/hlm-command-
|
|
24
|
-
export * from './lib/hlm-command-
|
|
25
|
-
export * from './lib/hlm-command-
|
|
26
|
-
export * from './lib/hlm-command-search
|
|
27
|
-
export * from './lib/hlm-command-
|
|
28
|
-
export * from './lib/hlm-command-
|
|
29
|
-
export * from './lib/hlm-command
|
|
17
|
+
export * from './lib/hlm-command';
|
|
18
|
+
export * from './lib/hlm-command-dialog';
|
|
19
|
+
export * from './lib/hlm-command-dialog-close-button';
|
|
20
|
+
export * from './lib/hlm-command-empty';
|
|
21
|
+
export * from './lib/hlm-command-group';
|
|
22
|
+
export * from './lib/hlm-command-group-label';
|
|
23
|
+
export * from './lib/hlm-command-icon';
|
|
24
|
+
export * from './lib/hlm-command-item';
|
|
25
|
+
export * from './lib/hlm-command-list';
|
|
26
|
+
export * from './lib/hlm-command-search';
|
|
27
|
+
export * from './lib/hlm-command-search-input';
|
|
28
|
+
export * from './lib/hlm-command-separator';
|
|
29
|
+
export * from './lib/hlm-command-shortcut';
|
|
30
30
|
|
|
31
31
|
export const HlmCommandImports = [
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
32
|
+
HlmCommand,
|
|
33
|
+
HlmCommandItem,
|
|
34
|
+
HlmCommandSeparator,
|
|
35
|
+
HlmCommandGroup,
|
|
36
|
+
HlmCommandList,
|
|
37
|
+
HlmCommandShortcut,
|
|
38
|
+
HlmCommandIcon,
|
|
39
|
+
HlmCommandDialogCloseButton,
|
|
40
|
+
HlmCommandDialog,
|
|
41
|
+
HlmCommandSearchInput,
|
|
42
|
+
HlmCommandSearch,
|
|
43
|
+
HlmCommandGroupLabel,
|
|
44
|
+
HlmCommandEmpty,
|
|
45
45
|
] as const;
|
|
46
46
|
|
|
47
47
|
@NgModule({
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { Directive, computed, input } from '@angular/core';
|
|
2
2
|
import { hlm } from '@spartan-ng/brain/core';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { BrnDialogClose } from '@spartan-ng/brain/dialog';
|
|
4
|
+
import { HlmButton, provideBrnButtonConfig } from '@spartan-ng/helm/button';
|
|
5
5
|
import { provideHlmIconConfig } from '@spartan-ng/helm/icon';
|
|
6
6
|
import type { ClassValue } from 'clsx';
|
|
7
7
|
|
|
8
8
|
@Directive({
|
|
9
9
|
selector: '[hlmCommandDialogCloseBtn]',
|
|
10
|
-
hostDirectives: [
|
|
10
|
+
hostDirectives: [HlmButton, BrnDialogClose],
|
|
11
11
|
providers: [provideBrnButtonConfig({ variant: 'ghost' }), provideHlmIconConfig({ size: 'xs' })],
|
|
12
12
|
host: {
|
|
13
13
|
'[class]': '_computedClass()',
|
|
14
14
|
},
|
|
15
15
|
})
|
|
16
|
-
export class
|
|
16
|
+
export class HlmCommandDialogCloseButton {
|
|
17
17
|
public readonly userClass = input<ClassValue>('', { alias: 'class' });
|
|
18
18
|
protected readonly _computedClass = computed(() =>
|
|
19
19
|
hlm(
|