@spartan-ng/cli 0.0.1-alpha.323
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/README.md +11 -0
- package/executors.json +3 -0
- package/generators.json +26 -0
- package/package.json +22 -0
- package/src/generators/base/generator.d.ts +4 -0
- package/src/generators/base/generator.js +36 -0
- package/src/generators/base/generator.js.map +1 -0
- package/src/generators/base/lib/build-dependency-array.d.ts +7 -0
- package/src/generators/base/lib/build-dependency-array.js +53 -0
- package/src/generators/base/lib/build-dependency-array.js.map +1 -0
- package/src/generators/base/lib/get-target-library-directory.d.ts +3 -0
- package/src/generators/base/lib/get-target-library-directory.js +12 -0
- package/src/generators/base/lib/get-target-library-directory.js.map +1 -0
- package/src/generators/base/lib/initialize-angular-library.d.ts +3 -0
- package/src/generators/base/lib/initialize-angular-library.js +25 -0
- package/src/generators/base/lib/initialize-angular-library.js.map +1 -0
- package/src/generators/base/schema.d.ts +11 -0
- package/src/generators/base/schema.json +17 -0
- package/src/generators/base/versions.d.ts +23 -0
- package/src/generators/base/versions.js +31 -0
- package/src/generators/base/versions.js.map +1 -0
- package/src/generators/theme/compat.d.ts +2 -0
- package/src/generators/theme/compat.js +6 -0
- package/src/generators/theme/compat.js.map +1 -0
- package/src/generators/theme/generator.d.ts +2 -0
- package/src/generators/theme/generator.js +59 -0
- package/src/generators/theme/generator.js.map +1 -0
- package/src/generators/theme/libs/add-theme-to-application-styles.d.ts +11 -0
- package/src/generators/theme/libs/add-theme-to-application-styles.js +65 -0
- package/src/generators/theme/libs/add-theme-to-application-styles.js.map +1 -0
- package/src/generators/theme/libs/supported-theme-generator-map.d.ts +17 -0
- package/src/generators/theme/libs/supported-theme-generator-map.js +560 -0
- package/src/generators/theme/libs/supported-theme-generator-map.js.map +1 -0
- package/src/generators/theme/schema.json +7 -0
- package/src/generators/ui/compat.d.ts +5 -0
- package/src/generators/ui/compat.js +7 -0
- package/src/generators/ui/compat.js.map +1 -0
- package/src/generators/ui/generator.d.ts +5 -0
- package/src/generators/ui/generator.js +123 -0
- package/src/generators/ui/generator.js.map +1 -0
- package/src/generators/ui/libs/ui-accordion-helm/files/index.ts.template +27 -0
- package/src/generators/ui/libs/ui-accordion-helm/files/lib/hlm-accordion-content.directive.ts.template +85 -0
- package/src/generators/ui/libs/ui-accordion-helm/files/lib/hlm-accordion-icon.component.ts.template +28 -0
- package/src/generators/ui/libs/ui-accordion-helm/files/lib/hlm-accordion-item.directive.ts.template +23 -0
- package/src/generators/ui/libs/ui-accordion-helm/files/lib/hlm-accordion-trigger.directive.ts.template +39 -0
- package/src/generators/ui/libs/ui-accordion-helm/files/lib/hlm-accordion.directive.ts.template +23 -0
- package/src/generators/ui/libs/ui-accordion-helm/generator.d.ts +3 -0
- package/src/generators/ui/libs/ui-accordion-helm/generator.js +12 -0
- package/src/generators/ui/libs/ui-accordion-helm/generator.js.map +1 -0
- package/src/generators/ui/libs/ui-alert-dialog-helm/files/index.ts.template +39 -0
- package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/hlm-alert-dialog-action-button.directive.ts.template +9 -0
- package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/hlm-alert-dialog-cancel-button.directive.ts.template +31 -0
- package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/hlm-alert-dialog-close.directive.ts.template +26 -0
- package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/hlm-alert-dialog-content.directive.ts.template +35 -0
- package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/hlm-alert-dialog-description.directive.ts.template +23 -0
- package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/hlm-alert-dialog-footer.component.ts.template +26 -0
- package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/hlm-alert-dialog-header.component.ts.template +26 -0
- package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/hlm-alert-dialog-overlay.directive.ts.template +33 -0
- package/src/generators/ui/libs/ui-alert-dialog-helm/files/lib/hlm-alert-dialog-title.directive.ts.template +23 -0
- package/src/generators/ui/libs/ui-alert-dialog-helm/generator.d.ts +3 -0
- package/src/generators/ui/libs/ui-alert-dialog-helm/generator.js +12 -0
- package/src/generators/ui/libs/ui-alert-dialog-helm/generator.js.map +1 -0
- package/src/generators/ui/libs/ui-alert-helm/files/index.ts.template +24 -0
- package/src/generators/ui/libs/ui-alert-helm/files/lib/hlm-alert-description.directive.ts.template +29 -0
- package/src/generators/ui/libs/ui-alert-helm/files/lib/hlm-alert-icon.directive.ts.template +15 -0
- package/src/generators/ui/libs/ui-alert-helm/files/lib/hlm-alert-title.directive.ts.template +29 -0
- package/src/generators/ui/libs/ui-alert-helm/files/lib/hlm-alert.directive.ts.template +48 -0
- package/src/generators/ui/libs/ui-alert-helm/generator.d.ts +3 -0
- package/src/generators/ui/libs/ui-alert-helm/generator.js +12 -0
- package/src/generators/ui/libs/ui-alert-helm/generator.js.map +1 -0
- package/src/generators/ui/libs/ui-aspect-ratio-helm/files/index.ts.template +10 -0
- package/src/generators/ui/libs/ui-aspect-ratio-helm/files/lib/helm-aspect-ratio.directive.spec.ts.template +73 -0
- package/src/generators/ui/libs/ui-aspect-ratio-helm/files/lib/helm-aspect-ratio.directive.ts.template +53 -0
- package/src/generators/ui/libs/ui-aspect-ratio-helm/generator.d.ts +3 -0
- package/src/generators/ui/libs/ui-aspect-ratio-helm/generator.js +12 -0
- package/src/generators/ui/libs/ui-aspect-ratio-helm/generator.js.map +1 -0
- package/src/generators/ui/libs/ui-avatar-helm/files/index.ts.template +17 -0
- package/src/generators/ui/libs/ui-avatar-helm/files/lib/fallback/hlm-avatar-fallback.directive.spec.ts.template +70 -0
- package/src/generators/ui/libs/ui-avatar-helm/files/lib/fallback/hlm-avatar-fallback.directive.ts.template +40 -0
- package/src/generators/ui/libs/ui-avatar-helm/files/lib/fallback/index.ts.template +1 -0
- package/src/generators/ui/libs/ui-avatar-helm/files/lib/hlm-avatar.component.spec.ts.template +61 -0
- package/src/generators/ui/libs/ui-avatar-helm/files/lib/hlm-avatar.component.ts.template +58 -0
- package/src/generators/ui/libs/ui-avatar-helm/files/lib/image/hlm-avatar-image.directive.spec.ts.template +44 -0
- package/src/generators/ui/libs/ui-avatar-helm/files/lib/image/hlm-avatar-image.directive.ts.template +28 -0
- package/src/generators/ui/libs/ui-avatar-helm/files/lib/image/index.ts.template +1 -0
- package/src/generators/ui/libs/ui-avatar-helm/generator.d.ts +3 -0
- package/src/generators/ui/libs/ui-avatar-helm/generator.js +12 -0
- package/src/generators/ui/libs/ui-avatar-helm/generator.js.map +1 -0
- package/src/generators/ui/libs/ui-badge-helm/files/index.ts.template +10 -0
- package/src/generators/ui/libs/ui-badge-helm/files/lib/hlm-badge.directive.ts.template +73 -0
- package/src/generators/ui/libs/ui-badge-helm/generator.d.ts +3 -0
- package/src/generators/ui/libs/ui-badge-helm/generator.js +12 -0
- package/src/generators/ui/libs/ui-badge-helm/generator.js.map +1 -0
- package/src/generators/ui/libs/ui-button-helm/files/.DS_Store.template +0 -0
- package/src/generators/ui/libs/ui-button-helm/files/index.ts.template +10 -0
- package/src/generators/ui/libs/ui-button-helm/files/lib/hlm-button.directive.ts.template +63 -0
- package/src/generators/ui/libs/ui-button-helm/generator.d.ts +3 -0
- package/src/generators/ui/libs/ui-button-helm/generator.js +12 -0
- package/src/generators/ui/libs/ui-button-helm/generator.js.map +1 -0
- package/src/generators/ui/libs/ui-card-helm/files/index.ts.template +30 -0
- package/src/generators/ui/libs/ui-card-helm/files/lib/hlm-card-content.directive.ts.template +30 -0
- package/src/generators/ui/libs/ui-card-helm/files/lib/hlm-card-description.directive.ts.template +30 -0
- package/src/generators/ui/libs/ui-card-helm/files/lib/hlm-card-footer.directive.ts.template +43 -0
- package/src/generators/ui/libs/ui-card-helm/files/lib/hlm-card-header.directive.ts.template +43 -0
- package/src/generators/ui/libs/ui-card-helm/files/lib/hlm-card-title.directive.ts.template +30 -0
- package/src/generators/ui/libs/ui-card-helm/files/lib/hlm-card.directive.ts.template +33 -0
- package/src/generators/ui/libs/ui-card-helm/generator.d.ts +3 -0
- package/src/generators/ui/libs/ui-card-helm/generator.js +12 -0
- package/src/generators/ui/libs/ui-card-helm/generator.js.map +1 -0
- package/src/generators/ui/libs/ui-command-helm/files/index.ts.template +49 -0
- package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command-dialog-close-button.directive.ts.template +30 -0
- package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command-dialog.directive.ts.template +39 -0
- package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command-empty.directive.ts.template +23 -0
- package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command-group.directive.ts.template +28 -0
- package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command-input-wrapper.component.ts.template +27 -0
- package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command-input.directive.ts.template +26 -0
- package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command-item-icon.directive.ts.template +30 -0
- package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command-item.directive.ts.template +33 -0
- package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command-list.directive.ts.template +23 -0
- package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command-loader.directive.ts.template +7 -0
- package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command-separator.directive.ts.template +10 -0
- package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command-shortcut.component.ts.template +26 -0
- package/src/generators/ui/libs/ui-command-helm/files/lib/hlm-command.directive.ts.template +26 -0
- package/src/generators/ui/libs/ui-command-helm/generator.d.ts +3 -0
- package/src/generators/ui/libs/ui-command-helm/generator.js +12 -0
- package/src/generators/ui/libs/ui-command-helm/generator.js.map +1 -0
- package/src/generators/ui/libs/ui-dialog-helm/files/.DS_Store.template +0 -0
- package/src/generators/ui/libs/ui-dialog-helm/files/index.ts.template +33 -0
- package/src/generators/ui/libs/ui-dialog-helm/files/lib/hlm-dialog-close.directive.ts.template +26 -0
- package/src/generators/ui/libs/ui-dialog-helm/files/lib/hlm-dialog-content.directive.ts.template +37 -0
- package/src/generators/ui/libs/ui-dialog-helm/files/lib/hlm-dialog-description.directive.ts.template +23 -0
- package/src/generators/ui/libs/ui-dialog-helm/files/lib/hlm-dialog-footer.component.ts.template +26 -0
- package/src/generators/ui/libs/ui-dialog-helm/files/lib/hlm-dialog-header.component.ts.template +26 -0
- package/src/generators/ui/libs/ui-dialog-helm/files/lib/hlm-dialog-overlay.directive.ts.template +33 -0
- package/src/generators/ui/libs/ui-dialog-helm/files/lib/hlm-dialog-title.directive.ts.template +23 -0
- package/src/generators/ui/libs/ui-dialog-helm/generator.d.ts +3 -0
- package/src/generators/ui/libs/ui-dialog-helm/generator.js +12 -0
- package/src/generators/ui/libs/ui-dialog-helm/generator.js.map +1 -0
- package/src/generators/ui/libs/ui-hover-card-helm/files/index.ts.template +12 -0
- package/src/generators/ui/libs/ui-hover-card-helm/files/lib/hlm-hover-card-content.directive.ts.template +44 -0
- package/src/generators/ui/libs/ui-hover-card-helm/generator.d.ts +3 -0
- package/src/generators/ui/libs/ui-hover-card-helm/generator.js +12 -0
- package/src/generators/ui/libs/ui-hover-card-helm/generator.js.map +1 -0
- package/src/generators/ui/libs/ui-icon-helm/files/index.ts.template +13 -0
- package/src/generators/ui/libs/ui-icon-helm/files/lib/hlm-icon.component.spec.ts.template +64 -0
- package/src/generators/ui/libs/ui-icon-helm/files/lib/hlm-icon.component.ts.template +96 -0
- package/src/generators/ui/libs/ui-icon-helm/generator.d.ts +3 -0
- package/src/generators/ui/libs/ui-icon-helm/generator.js +12 -0
- package/src/generators/ui/libs/ui-icon-helm/generator.js.map +1 -0
- package/src/generators/ui/libs/ui-input-helm/files/index.ts.template +12 -0
- package/src/generators/ui/libs/ui-input-helm/files/lib/hlm-input-error.directive.ts.template +30 -0
- package/src/generators/ui/libs/ui-input-helm/files/lib/hlm-input.directive.ts.template +57 -0
- package/src/generators/ui/libs/ui-input-helm/generator.d.ts +3 -0
- package/src/generators/ui/libs/ui-input-helm/generator.js +12 -0
- package/src/generators/ui/libs/ui-input-helm/generator.js.map +1 -0
- package/src/generators/ui/libs/ui-label-helm/files/index.ts.template +10 -0
- package/src/generators/ui/libs/ui-label-helm/files/lib/hlm-label.directive.ts.template +56 -0
- package/src/generators/ui/libs/ui-label-helm/generator.d.ts +3 -0
- package/src/generators/ui/libs/ui-label-helm/generator.js +12 -0
- package/src/generators/ui/libs/ui-label-helm/generator.js.map +1 -0
- package/src/generators/ui/libs/ui-menu-helm/files/index.ts.template +62 -0
- package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu-bar-item.directive.ts.template +26 -0
- package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu-bar.directive.ts.template +23 -0
- package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu-item-check.component.ts.template +30 -0
- package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu-item-icon.directive.ts.template +30 -0
- package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu-item-radio.component.ts.template +30 -0
- package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu-item-sub-indicator.component.ts.template +30 -0
- package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu-item.directive.ts.template +33 -0
- package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu-label.component.ts.template +32 -0
- package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu-separator.component.ts.template +24 -0
- package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu-shortcut.component.ts.template +26 -0
- package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-menu.directive.ts.template +46 -0
- package/src/generators/ui/libs/ui-menu-helm/files/lib/hlm-sub-menu.directive.ts.template +26 -0
- package/src/generators/ui/libs/ui-menu-helm/generator.d.ts +3 -0
- package/src/generators/ui/libs/ui-menu-helm/generator.js +12 -0
- package/src/generators/ui/libs/ui-menu-helm/generator.js.map +1 -0
- package/src/generators/ui/libs/ui-popover-helm/files/index.ts.template +15 -0
- package/src/generators/ui/libs/ui-popover-helm/files/lib/hlm-popover-close.directive.ts.template +26 -0
- package/src/generators/ui/libs/ui-popover-helm/files/lib/hlm-popover-content.directive.ts.template +37 -0
- package/src/generators/ui/libs/ui-popover-helm/generator.d.ts +3 -0
- package/src/generators/ui/libs/ui-popover-helm/generator.js +12 -0
- package/src/generators/ui/libs/ui-popover-helm/generator.js.map +1 -0
- package/src/generators/ui/libs/ui-progress-helm/files/index.ts.template +15 -0
- package/src/generators/ui/libs/ui-progress-helm/files/lib/hlm-progress-indicator.directive.ts.template +44 -0
- package/src/generators/ui/libs/ui-progress-helm/files/lib/hlm-progress.directive.ts.template +23 -0
- package/src/generators/ui/libs/ui-progress-helm/generator.d.ts +3 -0
- package/src/generators/ui/libs/ui-progress-helm/generator.js +12 -0
- package/src/generators/ui/libs/ui-progress-helm/generator.js.map +1 -0
- package/src/generators/ui/libs/ui-radio-group-helm/files/index.ts.template +17 -0
- package/src/generators/ui/libs/ui-radio-group-helm/files/lib/hlm-radio-group.directive.ts.template +23 -0
- package/src/generators/ui/libs/ui-radio-group-helm/files/lib/hlm-radio-indicator.component.ts.template +32 -0
- package/src/generators/ui/libs/ui-radio-group-helm/files/lib/hlm-radio.directive.ts.template +23 -0
- package/src/generators/ui/libs/ui-radio-group-helm/generator.d.ts +3 -0
- package/src/generators/ui/libs/ui-radio-group-helm/generator.js +12 -0
- package/src/generators/ui/libs/ui-radio-group-helm/generator.js.map +1 -0
- package/src/generators/ui/libs/ui-scroll-area-helm/files/index.ts.template +10 -0
- package/src/generators/ui/libs/ui-scroll-area-helm/files/lib/hlm-scroll-area.component.ts.template +78 -0
- package/src/generators/ui/libs/ui-scroll-area-helm/generator.d.ts +3 -0
- package/src/generators/ui/libs/ui-scroll-area-helm/generator.js +12 -0
- package/src/generators/ui/libs/ui-scroll-area-helm/generator.js.map +1 -0
- package/src/generators/ui/libs/ui-separator-helm/files/index.ts.template +10 -0
- package/src/generators/ui/libs/ui-separator-helm/files/lib/hlm-separator.directive.ts.template +34 -0
- package/src/generators/ui/libs/ui-separator-helm/generator.d.ts +3 -0
- package/src/generators/ui/libs/ui-separator-helm/generator.js +12 -0
- package/src/generators/ui/libs/ui-separator-helm/generator.js.map +1 -0
- package/src/generators/ui/libs/ui-sheet-helm/files/index.ts.template +31 -0
- package/src/generators/ui/libs/ui-sheet-helm/files/lib/hlm-sheet-close.directive.ts.template +26 -0
- package/src/generators/ui/libs/ui-sheet-helm/files/lib/hlm-sheet-content.directive.ts.template +55 -0
- package/src/generators/ui/libs/ui-sheet-helm/files/lib/hlm-sheet-description.directive.ts.template +23 -0
- package/src/generators/ui/libs/ui-sheet-helm/files/lib/hlm-sheet-footer.component.ts.template +26 -0
- package/src/generators/ui/libs/ui-sheet-helm/files/lib/hlm-sheet-header.component.ts.template +26 -0
- package/src/generators/ui/libs/ui-sheet-helm/files/lib/hlm-sheet-overlay.directive.ts.template +33 -0
- package/src/generators/ui/libs/ui-sheet-helm/files/lib/hlm-sheet-title.directive.ts.template +23 -0
- package/src/generators/ui/libs/ui-sheet-helm/generator.d.ts +3 -0
- package/src/generators/ui/libs/ui-sheet-helm/generator.js +12 -0
- package/src/generators/ui/libs/ui-sheet-helm/generator.js.map +1 -0
- package/src/generators/ui/libs/ui-skeleton-helm/files/index.ts.template +10 -0
- package/src/generators/ui/libs/ui-skeleton-helm/files/lib/hlm-skeleton.component.ts.template +24 -0
- package/src/generators/ui/libs/ui-skeleton-helm/generator.d.ts +3 -0
- package/src/generators/ui/libs/ui-skeleton-helm/generator.js +12 -0
- package/src/generators/ui/libs/ui-skeleton-helm/generator.js.map +1 -0
- package/src/generators/ui/libs/ui-spinner-helm/files/index.ts.template +10 -0
- package/src/generators/ui/libs/ui-spinner-helm/files/lib/hlm-spinner.component.ts.template +62 -0
- package/src/generators/ui/libs/ui-spinner-helm/generator.d.ts +3 -0
- package/src/generators/ui/libs/ui-spinner-helm/generator.js +12 -0
- package/src/generators/ui/libs/ui-spinner-helm/generator.js.map +1 -0
- package/src/generators/ui/libs/ui-switch-helm/files/index.ts.template +14 -0
- package/src/generators/ui/libs/ui-switch-helm/files/lib/hlm-switch-thumb.directive.ts.template +26 -0
- package/src/generators/ui/libs/ui-switch-helm/files/lib/hlm-switch.directive.ts.template +26 -0
- package/src/generators/ui/libs/ui-switch-helm/generator.d.ts +3 -0
- package/src/generators/ui/libs/ui-switch-helm/generator.js +12 -0
- package/src/generators/ui/libs/ui-switch-helm/generator.js.map +1 -0
- package/src/generators/ui/libs/ui-table-helm/files/index.ts.template +27 -0
- package/src/generators/ui/libs/ui-table-helm/files/lib/hlm-table.component.ts.template +30 -0
- package/src/generators/ui/libs/ui-table-helm/files/lib/hlm-table.directive.ts.template +17 -0
- package/src/generators/ui/libs/ui-table-helm/files/lib/hlm-td.component.ts.template +37 -0
- package/src/generators/ui/libs/ui-table-helm/files/lib/hlm-th.component.ts.template +40 -0
- package/src/generators/ui/libs/ui-table-helm/files/lib/hlm-trow.component.ts.template +33 -0
- package/src/generators/ui/libs/ui-table-helm/generator.d.ts +3 -0
- package/src/generators/ui/libs/ui-table-helm/generator.js +12 -0
- package/src/generators/ui/libs/ui-table-helm/generator.js.map +1 -0
- package/src/generators/ui/libs/ui-tabs-helm/files/index.ts.template +17 -0
- package/src/generators/ui/libs/ui-tabs-helm/files/lib/hlm-tabs-content.directive.ts.template +26 -0
- package/src/generators/ui/libs/ui-tabs-helm/files/lib/hlm-tabs-list.directive.ts.template +43 -0
- package/src/generators/ui/libs/ui-tabs-helm/files/lib/hlm-tabs-trigger.directive.ts.template +26 -0
- package/src/generators/ui/libs/ui-tabs-helm/generator.d.ts +3 -0
- package/src/generators/ui/libs/ui-tabs-helm/generator.js +12 -0
- package/src/generators/ui/libs/ui-tabs-helm/generator.js.map +1 -0
- package/src/generators/ui/libs/ui-toggle-helm/files/index.ts.template +17 -0
- package/src/generators/ui/libs/ui-toggle-helm/files/lib/hlm-toggle-group.directive.ts.template +26 -0
- package/src/generators/ui/libs/ui-toggle-helm/files/lib/hlm-toggle.directive.ts.template +58 -0
- package/src/generators/ui/libs/ui-toggle-helm/generator.d.ts +3 -0
- package/src/generators/ui/libs/ui-toggle-helm/generator.js +12 -0
- package/src/generators/ui/libs/ui-toggle-helm/generator.js.map +1 -0
- package/src/generators/ui/libs/ui-typography-helm/files/index.ts.template +12 -0
- package/src/generators/ui/libs/ui-typography-helm/files/lib/hlm-blockquote.directive.ts.template +25 -0
- package/src/generators/ui/libs/ui-typography-helm/files/lib/hlm-code.directive.ts.template +25 -0
- package/src/generators/ui/libs/ui-typography-helm/files/lib/hlm-h1.directive.ts.template +25 -0
- package/src/generators/ui/libs/ui-typography-helm/files/lib/hlm-h2.directive.ts.template +26 -0
- package/src/generators/ui/libs/ui-typography-helm/files/lib/hlm-h3.directive.ts.template +25 -0
- package/src/generators/ui/libs/ui-typography-helm/files/lib/hlm-h4.directive.ts.template +25 -0
- package/src/generators/ui/libs/ui-typography-helm/files/lib/hlm-large.directive.ts.template +25 -0
- package/src/generators/ui/libs/ui-typography-helm/files/lib/hlm-lead.directive.ts.template +25 -0
- package/src/generators/ui/libs/ui-typography-helm/files/lib/hlm-muted.directive.ts.template +25 -0
- package/src/generators/ui/libs/ui-typography-helm/files/lib/hlm-p.directive.ts.template +25 -0
- package/src/generators/ui/libs/ui-typography-helm/files/lib/hlm-small.directive.ts.template +25 -0
- package/src/generators/ui/libs/ui-typography-helm/files/lib/hlm-ul.directive.ts.template +25 -0
- package/src/generators/ui/libs/ui-typography-helm/generator.d.ts +3 -0
- package/src/generators/ui/libs/ui-typography-helm/generator.js +12 -0
- package/src/generators/ui/libs/ui-typography-helm/generator.js.map +1 -0
- package/src/generators/ui/schema.d.ts +7 -0
- package/src/generators/ui/schema.json +26 -0
- package/src/generators/ui/supported-ui-libraries.json +246 -0
- package/src/index.d.ts +0 -0
- package/src/index.js +1 -0
- package/src/index.js.map +1 -0
- package/src/utils/get-project-names.d.ts +5 -0
- package/src/utils/get-project-names.js +16 -0
- package/src/utils/get-project-names.js.map +1 -0
- package/src/utils/version-utils.d.ts +2 -0
- package/src/utils/version-utils.js +20 -0
- package/src/utils/version-utils.js.map +1 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Directive, Input, computed, signal } from '@angular/core';
|
|
2
|
+
import { hlm } from '@spartan-ng/ui-core';
|
|
3
|
+
import { ClassValue } from 'clsx';
|
|
4
|
+
|
|
5
|
+
export const hlmH3 = 'scroll-m-20 text-2xl font-semibold tracking-tight';
|
|
6
|
+
|
|
7
|
+
@Directive({
|
|
8
|
+
selector: '[hlmH3]',
|
|
9
|
+
standalone: true,
|
|
10
|
+
host: {
|
|
11
|
+
'[class]': '_computedClass()',
|
|
12
|
+
},
|
|
13
|
+
})
|
|
14
|
+
export class HlmH3Directive {
|
|
15
|
+
private readonly _userCls = signal<ClassValue>('');
|
|
16
|
+
@Input()
|
|
17
|
+
set class(userCls: ClassValue) {
|
|
18
|
+
this._userCls.set(userCls);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
protected _computedClass = computed(() => this._generateClass());
|
|
22
|
+
private _generateClass() {
|
|
23
|
+
return hlm(hlmH3, this._userCls());
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Directive, Input, computed, signal } from '@angular/core';
|
|
2
|
+
import { hlm } from '@spartan-ng/ui-core';
|
|
3
|
+
import { ClassValue } from 'clsx';
|
|
4
|
+
|
|
5
|
+
export const hlmH4 = 'scroll-m-20 text-xl font-semibold tracking-tight';
|
|
6
|
+
|
|
7
|
+
@Directive({
|
|
8
|
+
selector: '[hlmH4]',
|
|
9
|
+
standalone: true,
|
|
10
|
+
host: {
|
|
11
|
+
'[class]': '_computedClass()',
|
|
12
|
+
},
|
|
13
|
+
})
|
|
14
|
+
export class HlmH4Directive {
|
|
15
|
+
private readonly _userCls = signal<ClassValue>('');
|
|
16
|
+
@Input()
|
|
17
|
+
set class(userCls: ClassValue) {
|
|
18
|
+
this._userCls.set(userCls);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
protected _computedClass = computed(() => this._generateClass());
|
|
22
|
+
private _generateClass() {
|
|
23
|
+
return hlm(hlmH4, this._userCls());
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Directive, Input, computed, signal } from '@angular/core';
|
|
2
|
+
import { hlm } from '@spartan-ng/ui-core';
|
|
3
|
+
import { ClassValue } from 'clsx';
|
|
4
|
+
|
|
5
|
+
export const hlmLarge = 'text-lg font-semibold';
|
|
6
|
+
|
|
7
|
+
@Directive({
|
|
8
|
+
selector: '[hlmLarge]',
|
|
9
|
+
standalone: true,
|
|
10
|
+
host: {
|
|
11
|
+
'[class]': '_computedClass()',
|
|
12
|
+
},
|
|
13
|
+
})
|
|
14
|
+
export class HlmLargeDirective {
|
|
15
|
+
private readonly _userCls = signal<ClassValue>('');
|
|
16
|
+
@Input()
|
|
17
|
+
set class(userCls: ClassValue) {
|
|
18
|
+
this._userCls.set(userCls);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
protected _computedClass = computed(() => this._generateClass());
|
|
22
|
+
private _generateClass() {
|
|
23
|
+
return hlm(hlmLarge, this._userCls());
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Directive, Input, computed, signal } from '@angular/core';
|
|
2
|
+
import { hlm } from '@spartan-ng/ui-core';
|
|
3
|
+
import { ClassValue } from 'clsx';
|
|
4
|
+
|
|
5
|
+
export const hlmLead = 'text-xl text-muted-foreground';
|
|
6
|
+
|
|
7
|
+
@Directive({
|
|
8
|
+
selector: '[hlmLead]',
|
|
9
|
+
standalone: true,
|
|
10
|
+
host: {
|
|
11
|
+
'[class]': '_computedClass()',
|
|
12
|
+
},
|
|
13
|
+
})
|
|
14
|
+
export class HlmLeadDirective {
|
|
15
|
+
private readonly _userCls = signal<ClassValue>('');
|
|
16
|
+
@Input()
|
|
17
|
+
set class(userCls: ClassValue) {
|
|
18
|
+
this._userCls.set(userCls);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
protected _computedClass = computed(() => this._generateClass());
|
|
22
|
+
private _generateClass() {
|
|
23
|
+
return hlm(hlmLead, this._userCls());
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Directive, Input, computed, signal } from '@angular/core';
|
|
2
|
+
import { hlm } from '@spartan-ng/ui-core';
|
|
3
|
+
import { ClassValue } from 'clsx';
|
|
4
|
+
|
|
5
|
+
export const hlmMuted = 'text-sm text-muted-foreground';
|
|
6
|
+
|
|
7
|
+
@Directive({
|
|
8
|
+
selector: '[hlmMuted]',
|
|
9
|
+
standalone: true,
|
|
10
|
+
host: {
|
|
11
|
+
'[class]': '_computedClass()',
|
|
12
|
+
},
|
|
13
|
+
})
|
|
14
|
+
export class HlmMutedDirective {
|
|
15
|
+
private readonly _userCls = signal<ClassValue>('');
|
|
16
|
+
@Input()
|
|
17
|
+
set class(userCls: ClassValue) {
|
|
18
|
+
this._userCls.set(userCls);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
protected _computedClass = computed(() => this._generateClass());
|
|
22
|
+
private _generateClass() {
|
|
23
|
+
return hlm(hlmMuted, this._userCls());
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Directive, Input, computed, signal } from '@angular/core';
|
|
2
|
+
import { hlm } from '@spartan-ng/ui-core';
|
|
3
|
+
import { ClassValue } from 'clsx';
|
|
4
|
+
|
|
5
|
+
export const hlmP = 'leading-7 [&:not(:first-child)]:mt-6';
|
|
6
|
+
|
|
7
|
+
@Directive({
|
|
8
|
+
selector: '[hlmP]',
|
|
9
|
+
standalone: true,
|
|
10
|
+
host: {
|
|
11
|
+
'[class]': '_computedClass()',
|
|
12
|
+
},
|
|
13
|
+
})
|
|
14
|
+
export class HlmPDirective {
|
|
15
|
+
private readonly _userCls = signal<ClassValue>('');
|
|
16
|
+
@Input()
|
|
17
|
+
set class(userCls: ClassValue) {
|
|
18
|
+
this._userCls.set(userCls);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
protected _computedClass = computed(() => this._generateClass());
|
|
22
|
+
private _generateClass() {
|
|
23
|
+
return hlm(hlmP, this._userCls());
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Directive, Input, computed, signal } from '@angular/core';
|
|
2
|
+
import { hlm } from '@spartan-ng/ui-core';
|
|
3
|
+
import { ClassValue } from 'clsx';
|
|
4
|
+
|
|
5
|
+
export const hlmSmall = 'text-sm font-medium leading-none';
|
|
6
|
+
|
|
7
|
+
@Directive({
|
|
8
|
+
selector: '[hlmSmall]',
|
|
9
|
+
standalone: true,
|
|
10
|
+
host: {
|
|
11
|
+
'[class]': '_computedClass()',
|
|
12
|
+
},
|
|
13
|
+
})
|
|
14
|
+
export class HlmSmallDirective {
|
|
15
|
+
private readonly _userCls = signal<ClassValue>('');
|
|
16
|
+
@Input()
|
|
17
|
+
set class(userCls: ClassValue) {
|
|
18
|
+
this._userCls.set(userCls);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
protected _computedClass = computed(() => this._generateClass());
|
|
22
|
+
private _generateClass() {
|
|
23
|
+
return hlm(hlmSmall, this._userCls());
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Directive, Input, computed, signal } from '@angular/core';
|
|
2
|
+
import { hlm } from '@spartan-ng/ui-core';
|
|
3
|
+
import { ClassValue } from 'clsx';
|
|
4
|
+
|
|
5
|
+
export const hlmUl = 'my-6 ml-6 list-disc [&>li]:mt-2';
|
|
6
|
+
|
|
7
|
+
@Directive({
|
|
8
|
+
selector: '[hlmUl]',
|
|
9
|
+
standalone: true,
|
|
10
|
+
host: {
|
|
11
|
+
'[class]': '_computedClass()',
|
|
12
|
+
},
|
|
13
|
+
})
|
|
14
|
+
export class HlmUlDirective {
|
|
15
|
+
private readonly _userCls = signal<ClassValue>('');
|
|
16
|
+
@Input()
|
|
17
|
+
set class(userCls: ClassValue) {
|
|
18
|
+
this._userCls.set(userCls);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
protected _computedClass = computed(() => this._generateClass());
|
|
22
|
+
private _generateClass() {
|
|
23
|
+
return hlm(hlmUl, this._userCls());
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.generator = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const generator_1 = require("../../../base/generator");
|
|
6
|
+
function generator(tree, options) {
|
|
7
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
8
|
+
return yield (0, generator_1.default)(tree, Object.assign(Object.assign({}, options), { primitiveName: 'typography', internalName: 'ui-typography-helm', publicName: 'ui-typography-helm' }));
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
exports.generator = generator;
|
|
12
|
+
//# sourceMappingURL=generator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generator.js","sourceRoot":"","sources":["../../../../../../../../libs/cli/src/generators/ui/libs/ui-typography-helm/generator.ts"],"names":[],"mappings":";;;;AACA,uDAAuD;AAGvD,SAAsB,SAAS,CAAC,IAAU,EAAE,OAA+B;;QAC1E,OAAO,MAAM,IAAA,mBAAgB,EAAC,IAAI,kCAC9B,OAAO,KACV,aAAa,EAAE,YAAY,EAC3B,YAAY,EAAE,oBAAoB,EAClC,UAAU,EAAE,oBAAoB,IAC/B,CAAC;IACJ,CAAC;CAAA;AAPD,8BAOC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"$id": "HlmUIGeneratorSchema",
|
|
4
|
+
"title": "",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"name": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"description": "Primitive name",
|
|
10
|
+
"$default": {
|
|
11
|
+
"$source": "argv",
|
|
12
|
+
"index": 0
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"directory": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"description": "A directory where the libraries are placed.",
|
|
18
|
+
"x-prompt": "Choose a directory to place your spartan libraries, e.g. libs/ui",
|
|
19
|
+
"x-priority": "important"
|
|
20
|
+
},
|
|
21
|
+
"tags": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"description": "Add tags to the library (used for linting)."
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
{
|
|
2
|
+
"accordion": {
|
|
3
|
+
"internalName": "ui-accordion-helm",
|
|
4
|
+
"peerDependencies": {
|
|
5
|
+
"@angular/common": "^17.0.0",
|
|
6
|
+
"@angular/core": "^17.0.0",
|
|
7
|
+
"@spartan-ng/ui-core": "0.0.1-alpha.314",
|
|
8
|
+
"clsx": "^1.2.1"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"alert": {
|
|
12
|
+
"internalName": "ui-alert-helm",
|
|
13
|
+
"peerDependencies": {
|
|
14
|
+
"@angular/core": "^17.0.0",
|
|
15
|
+
"@spartan-ng/ui-core": "0.0.1-alpha.314",
|
|
16
|
+
"class-variance-authority": "^0.6.0",
|
|
17
|
+
"clsx": "^1.2.1"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"alertdialog": {
|
|
21
|
+
"internalName": "ui-alert-dialog-helm",
|
|
22
|
+
"peerDependencies": {
|
|
23
|
+
"@angular/core": "^17.0.0",
|
|
24
|
+
"@spartan-ng/ui-core": "0.0.1-alpha.314",
|
|
25
|
+
"clsx": "^1.2.1"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"aspectratio": {
|
|
29
|
+
"internalName": "ui-aspect-ratio-helm",
|
|
30
|
+
"peerDependencies": {
|
|
31
|
+
"@angular/core": "^17.0.0",
|
|
32
|
+
"@angular/cdk": "^17.0.0",
|
|
33
|
+
"@spartan-ng/ui-core": "0.0.1-alpha.314",
|
|
34
|
+
"clsx": "^1.2.1"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"avatar": {
|
|
38
|
+
"internalName": "ui-avatar-helm",
|
|
39
|
+
"peerDependencies": {
|
|
40
|
+
"@angular/common": "^17.0.0",
|
|
41
|
+
"@angular/core": "^17.0.0",
|
|
42
|
+
"@spartan-ng/ui-core": "0.0.1-alpha.314",
|
|
43
|
+
"clsx": "^1.2.1",
|
|
44
|
+
"class-variance-authority": "^0.6.0"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"badge": {
|
|
48
|
+
"internalName": "ui-badge-helm",
|
|
49
|
+
"peerDependencies": {
|
|
50
|
+
"@angular/core": "^17.0.0",
|
|
51
|
+
"@spartan-ng/ui-core": "0.0.1-alpha.314",
|
|
52
|
+
"class-variance-authority": "^0.6.0",
|
|
53
|
+
"clsx": "^1.2.1"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"button": {
|
|
57
|
+
"internalName": "ui-button-helm",
|
|
58
|
+
"peerDependencies": {
|
|
59
|
+
"@angular/core": "^17.0.0",
|
|
60
|
+
"@spartan-ng/ui-core": "0.0.1-alpha.314",
|
|
61
|
+
"class-variance-authority": "^0.6.0",
|
|
62
|
+
"clsx": "^1.2.1"
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"card": {
|
|
66
|
+
"internalName": "ui-card-helm",
|
|
67
|
+
"peerDependencies": {
|
|
68
|
+
"@angular/core": "^17.0.0",
|
|
69
|
+
"@spartan-ng/ui-core": "0.0.1-alpha.314",
|
|
70
|
+
"class-variance-authority": "^0.6.0",
|
|
71
|
+
"clsx": "^1.2.1"
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"command": {
|
|
75
|
+
"internalName": "ui-command-helm",
|
|
76
|
+
"peerDependencies": {
|
|
77
|
+
"@angular/core": "^17.0.0",
|
|
78
|
+
"@spartan-ng/ui-core": "0.0.1-alpha.314",
|
|
79
|
+
"clsx": "^1.2.1"
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"dialog": {
|
|
83
|
+
"internalName": "ui-dialog-helm",
|
|
84
|
+
"peerDependencies": {
|
|
85
|
+
"@angular/core": "^17.0.0",
|
|
86
|
+
"@spartan-ng/ui-core": "0.0.1-alpha.314",
|
|
87
|
+
"clsx": "^1.2.1"
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"icon": {
|
|
91
|
+
"internalName": "ui-icon-helm",
|
|
92
|
+
"peerDependencies": {
|
|
93
|
+
"@angular/core": "^17.0.0",
|
|
94
|
+
"@spartan-ng/ui-core": "0.0.1-alpha.314",
|
|
95
|
+
"@ng-icons/core": "^25.1.0",
|
|
96
|
+
"class-variance-authority": "^0.6.0",
|
|
97
|
+
"clsx": "^1.2.1"
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
"input": {
|
|
101
|
+
"internalName": "ui-input-helm",
|
|
102
|
+
"peerDependencies": {
|
|
103
|
+
"@angular/core": "^17.0.0",
|
|
104
|
+
"@spartan-ng/ui-core": "0.0.1-alpha.314",
|
|
105
|
+
"class-variance-authority": "^0.6.0",
|
|
106
|
+
"clsx": "^1.2.1"
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
"label": {
|
|
110
|
+
"internalName": "ui-label-helm",
|
|
111
|
+
"peerDependencies": {
|
|
112
|
+
"@angular/core": "^17.0.0",
|
|
113
|
+
"@spartan-ng/ui-core": "0.0.1-alpha.314",
|
|
114
|
+
"class-variance-authority": "^0.6.0",
|
|
115
|
+
"clsx": "^1.2.1"
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
"menu": {
|
|
119
|
+
"internalName": "ui-menu-helm",
|
|
120
|
+
"peerDependencies": {
|
|
121
|
+
"@angular/core": "^17.0.0",
|
|
122
|
+
"@spartan-ng/ui-core": "0.0.1-alpha.314",
|
|
123
|
+
"@ng-icons/radix-icons": "^25.1.0",
|
|
124
|
+
"clsx": "^1.2.1",
|
|
125
|
+
"class-variance-authority": "^0.6.0"
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
"popover": {
|
|
129
|
+
"internalName": "ui-popover-helm",
|
|
130
|
+
"peerDependencies": {
|
|
131
|
+
"@angular/core": "^17.0.0",
|
|
132
|
+
"@spartan-ng/ui-core": "0.0.1-alpha.314",
|
|
133
|
+
"clsx": "^1.2.1"
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
"progress": {
|
|
137
|
+
"internalName": "ui-progress-helm",
|
|
138
|
+
"peerDependencies": {
|
|
139
|
+
"@angular/core": "^17.0.0",
|
|
140
|
+
"@spartan-ng/ui-core": "0.0.1-alpha.314",
|
|
141
|
+
"clsx": "^1.2.1"
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
"radiogroup": {
|
|
145
|
+
"internalName": "ui-radio-group-helm",
|
|
146
|
+
"peerDependencies": {
|
|
147
|
+
"@angular/core": "^17.0.0",
|
|
148
|
+
"@spartan-ng/ui-core": "0.0.1-alpha.314",
|
|
149
|
+
"clsx": "^1.2.1"
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
"scrollarea": {
|
|
153
|
+
"internalName": "ui-scroll-area-helm",
|
|
154
|
+
"peerDependencies": {
|
|
155
|
+
"@angular/core": "^17.0.0",
|
|
156
|
+
"@spartan-ng/ui-core": "0.0.1-alpha.314",
|
|
157
|
+
"ngx-scrollbar": "^13.0.1",
|
|
158
|
+
"clsx": "^1.2.1"
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
"separator": {
|
|
162
|
+
"internalName": "ui-separator-helm",
|
|
163
|
+
"peerDependencies": {
|
|
164
|
+
"@angular/core": "^17.0.0",
|
|
165
|
+
"@spartan-ng/ui-core": "0.0.1-alpha.314",
|
|
166
|
+
"clsx": "^1.2.1"
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
"sheet": {
|
|
170
|
+
"internalName": "ui-sheet-helm",
|
|
171
|
+
"peerDependencies": {
|
|
172
|
+
"@angular/core": "^17.0.0",
|
|
173
|
+
"@spartan-ng/ui-core": "0.0.1-alpha.314",
|
|
174
|
+
"clsx": "^1.2.1",
|
|
175
|
+
"class-variance-authority": "^0.6.0"
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
"skeleton": {
|
|
179
|
+
"internalName": "ui-skeleton-helm",
|
|
180
|
+
"peerDependencies": {
|
|
181
|
+
"@angular/core": "^17.0.0",
|
|
182
|
+
"@spartan-ng/ui-core": "0.0.1-alpha.314",
|
|
183
|
+
"clsx": "^1.2.1"
|
|
184
|
+
}
|
|
185
|
+
},
|
|
186
|
+
"spinner": {
|
|
187
|
+
"internalName": "ui-spinner-helm",
|
|
188
|
+
"peerDependencies": {
|
|
189
|
+
"@angular/core": "^17.0.0",
|
|
190
|
+
"@spartan-ng/ui-core": "0.0.1-alpha.314",
|
|
191
|
+
"class-variance-authority": "^0.6.0",
|
|
192
|
+
"clsx": "^1.2.1"
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
"switch": {
|
|
196
|
+
"internalName": "ui-switch-helm",
|
|
197
|
+
"peerDependencies": {
|
|
198
|
+
"@angular/core": "^17.0.0",
|
|
199
|
+
"@spartan-ng/ui-core": "0.0.1-alpha.314",
|
|
200
|
+
"clsx": "^1.2.1"
|
|
201
|
+
}
|
|
202
|
+
},
|
|
203
|
+
"tabs": {
|
|
204
|
+
"internalName": "ui-tabs-helm",
|
|
205
|
+
"peerDependencies": {
|
|
206
|
+
"@angular/core": "^17.0.0",
|
|
207
|
+
"@spartan-ng/ui-core": "0.0.1-alpha.314",
|
|
208
|
+
"clsx": "^1.2.1",
|
|
209
|
+
"class-variance-authority": "^0.6.0"
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
"toggle": {
|
|
213
|
+
"internalName": "ui-toggle-helm",
|
|
214
|
+
"peerDependencies": {
|
|
215
|
+
"@angular/core": "^17.0.0",
|
|
216
|
+
"@spartan-ng/ui-core": "0.0.1-alpha.314",
|
|
217
|
+
"clsx": "^1.2.1",
|
|
218
|
+
"class-variance-authority": "^0.6.0"
|
|
219
|
+
}
|
|
220
|
+
},
|
|
221
|
+
"typography": {
|
|
222
|
+
"internalName": "ui-typography-helm",
|
|
223
|
+
"peerDependencies": {
|
|
224
|
+
"@angular/core": "^17.0.0",
|
|
225
|
+
"@spartan-ng/ui-core": "0.0.1-alpha.314",
|
|
226
|
+
"clsx": "^1.2.1"
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
"table": {
|
|
230
|
+
"internalName": "ui-table-helm",
|
|
231
|
+
"peerDependencies": {
|
|
232
|
+
"@angular/common": "^17.0.0",
|
|
233
|
+
"@angular/core": "^17.0.0",
|
|
234
|
+
"@spartan-ng/ui-core": "0.0.1-alpha.314",
|
|
235
|
+
"clsx": "^1.2.1"
|
|
236
|
+
}
|
|
237
|
+
},
|
|
238
|
+
"hovercard": {
|
|
239
|
+
"internalName": "ui-hover-card-helm",
|
|
240
|
+
"peerDependencies": {
|
|
241
|
+
"@angular/core": "^17.0.0",
|
|
242
|
+
"@spartan-ng/ui-core": "0.0.1-alpha.314",
|
|
243
|
+
"clsx": "^1.2.1"
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
}
|
package/src/index.d.ts
ADDED
|
File without changes
|
package/src/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=index.js.map
|
package/src/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../libs/cli/src/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getProjectsAndNames = void 0;
|
|
4
|
+
const devkit_1 = require("@nx/devkit");
|
|
5
|
+
const getProjectsAndNames = (tree) => {
|
|
6
|
+
const projectNames = [];
|
|
7
|
+
const projects = (0, devkit_1.getProjects)(tree);
|
|
8
|
+
projects.forEach((projectConfiguration, projectName) => {
|
|
9
|
+
if (projectConfiguration.projectType === 'application') {
|
|
10
|
+
projectNames.push(projectName);
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
return { projects, projectNames };
|
|
14
|
+
};
|
|
15
|
+
exports.getProjectsAndNames = getProjectsAndNames;
|
|
16
|
+
//# sourceMappingURL=get-project-names.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-project-names.js","sourceRoot":"","sources":["../../../../../libs/cli/src/utils/get-project-names.ts"],"names":[],"mappings":";;;AAAA,uCAA+C;AAExC,MAAM,mBAAmB,GAAG,CAAC,IAAU,EAAE,EAAE;IACjD,MAAM,YAAY,GAAa,EAAE,CAAC;IAClC,MAAM,QAAQ,GAAG,IAAA,oBAAW,EAAC,IAAI,CAAC,CAAC;IAEnC,QAAQ,CAAC,OAAO,CAAC,CAAC,oBAAoB,EAAE,WAAW,EAAE,EAAE;QACtD,IAAI,oBAAoB,CAAC,WAAW,KAAK,aAAa,EAAE;YACvD,YAAY,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;SAC/B;IACF,CAAC,CAAC,CAAC;IACH,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,CAAC;AACnC,CAAC,CAAC;AAVW,QAAA,mBAAmB,uBAU9B"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getInstalledPackageVersion = void 0;
|
|
4
|
+
const devkit_1 = require("@nx/devkit");
|
|
5
|
+
const semver_1 = require("semver");
|
|
6
|
+
function getInstalledPackageVersion(tree, packageName, defaultVersion, raw = false) {
|
|
7
|
+
var _a, _b;
|
|
8
|
+
const pkgJson = (0, devkit_1.readJson)(tree, 'package.json');
|
|
9
|
+
const installedPackageVersion = (pkgJson.dependencies && pkgJson.dependencies[packageName]) ||
|
|
10
|
+
(pkgJson.devDependencies && pkgJson.devDependencies[packageName]);
|
|
11
|
+
if (!installedPackageVersion && !defaultVersion) {
|
|
12
|
+
return null;
|
|
13
|
+
}
|
|
14
|
+
if (!installedPackageVersion || installedPackageVersion === 'latest' || installedPackageVersion === 'next') {
|
|
15
|
+
return (_a = (0, semver_1.clean)(defaultVersion)) !== null && _a !== void 0 ? _a : (0, semver_1.coerce)(defaultVersion).version;
|
|
16
|
+
}
|
|
17
|
+
return (_b = (raw ? installedPackageVersion : (0, semver_1.clean)(installedPackageVersion))) !== null && _b !== void 0 ? _b : (0, semver_1.coerce)(installedPackageVersion).version;
|
|
18
|
+
}
|
|
19
|
+
exports.getInstalledPackageVersion = getInstalledPackageVersion;
|
|
20
|
+
//# sourceMappingURL=version-utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"version-utils.js","sourceRoot":"","sources":["../../../../../libs/cli/src/utils/version-utils.ts"],"names":[],"mappings":";;;AAAA,uCAA4C;AAC5C,mCAAuC;AAEvC,SAAgB,0BAA0B,CACzC,IAAU,EACV,WAAmB,EACnB,cAAuB,EACvB,GAAG,GAAG,KAAK;;IAEX,MAAM,OAAO,GAAG,IAAA,iBAAQ,EAAC,IAAI,EAAE,cAAc,CAAC,CAAC;IAC/C,MAAM,uBAAuB,GAC5B,CAAC,OAAO,CAAC,YAAY,IAAI,OAAO,CAAC,YAAY,CAAC,WAAW,CAAC,CAAC;QAC3D,CAAC,OAAO,CAAC,eAAe,IAAI,OAAO,CAAC,eAAe,CAAC,WAAW,CAAC,CAAC,CAAC;IACnE,IAAI,CAAC,uBAAuB,IAAI,CAAC,cAAc,EAAE;QAChD,OAAO,IAAI,CAAC;KACZ;IAED,IAAI,CAAC,uBAAuB,IAAI,uBAAuB,KAAK,QAAQ,IAAI,uBAAuB,KAAK,MAAM,EAAE;QAC3G,OAAO,MAAA,IAAA,cAAK,EAAC,cAAc,CAAC,mCAAI,IAAA,eAAM,EAAC,cAAc,CAAC,CAAC,OAAO,CAAC;KAC/D;IAED,OAAO,MAAA,CAAC,GAAG,CAAC,CAAC,CAAC,uBAAuB,CAAC,CAAC,CAAC,IAAA,cAAK,EAAC,uBAAuB,CAAC,CAAC,mCAAI,IAAA,eAAM,EAAC,uBAAuB,CAAC,CAAC,OAAO,CAAC;AACpH,CAAC;AAnBD,gEAmBC"}
|