@seniorsistemas/angular-components 19.7.3 → 19.7.4-fix-sds-577-afa523ed
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/accordion/README.md +1 -0
- package/accordion/lib/accordion/accordion.component.d.ts +1 -1
- package/accordion/lib/accordion/accordion.module.d.ts +1 -6
- package/accordion/lib/accordion/components/accordion-panel/accordion-panel.component.d.ts +1 -1
- package/alert/README.md +1 -1
- package/alert/lib/alert/alert.component.d.ts +1 -1
- package/alert/lib/alert/alert.module.d.ts +1 -2
- package/autocomplete/README.md +1 -1
- package/autocomplete/lib/autocomplete/autocomplete.component.d.ts +1 -1
- package/badge/lib/badge/badge.component.d.ts +1 -1
- package/badge/lib/badge/badge.module.d.ts +3 -7
- package/bignumber-input/lib/bignumber-input/bignumber-input.directive.d.ts +1 -1
- package/bignumber-input/lib/bignumber-input/bignumber-input.module.d.ts +1 -2
- package/breadcrumb/README.md +9 -5
- package/button/README.md +1 -0
- package/calendar-mask/README.md +4 -2
- package/calendar-mask/lib/calendar-mask/calendar-mask.directive.d.ts +1 -1
- package/calendar-mask/lib/calendar-mask/calendar-mask.module.d.ts +1 -2
- package/card/lib/card/card.component.d.ts +1 -1
- package/card/lib/card/card.module.d.ts +1 -3
- package/chat/lib/chat/chat.component.d.ts +2 -1
- package/chat/lib/chat/chat.module.d.ts +3 -6
- package/chat/lib/chat/components/chat-message/chat-message.component.d.ts +1 -1
- package/checkbox-list/lib/checkbox-list/checkbox-list.component.d.ts +1 -1
- package/checkbox-list/lib/checkbox-list/checkbox-list.module.d.ts +1 -3
- package/chips/lib/chips/chip-item/chip-item.component.d.ts +1 -1
- package/chips/lib/chips/chips/chips.component.d.ts +1 -1
- package/chips/lib/chips/chips.module.d.ts +1 -6
- package/code-editor/README.md +1 -1
- package/code-editor/lib/code-editor/code-editor.component.d.ts +1 -1
- package/code-editor/lib/code-editor/code-editor.module.d.ts +1 -3
- package/collapse-link/lib/collapse-link/collapse-link.component.d.ts +1 -1
- package/collapse-link/lib/collapse-link/collapse-link.module.d.ts +1 -2
- package/common/deprecated-selector/README.md +120 -47
- package/common/lib/svg-factory/components/iassist-icon/iassist-icon.component.d.ts +1 -1
- package/common/lib/svg-factory/components/senior-icon/senior-icon.component.d.ts +1 -1
- package/common/lib/svg-factory/svg-factory.directive.d.ts +1 -1
- package/common/lib/svg-factory/svg-factory.module.d.ts +1 -4
- package/confirm-dialog/README.md +3 -1
- package/content-generator/README.md +2 -2
- package/content-generator/lib/content-generator/content-generator.component.d.ts +2 -1
- package/content-generator/lib/content-generator/content-generator.module.d.ts +1 -10
- package/control-errors/lib/control-errors/control-errors.component.d.ts +2 -2
- package/control-errors/lib/control-errors/control-errors.module.d.ts +1 -3
- package/country-phone-picker/README.md +1 -1
- package/country-phone-picker/lib/country-phone-picker/country-phone-picker.component.d.ts +2 -1
- package/country-phone-picker/lib/country-phone-picker/country-phone-picker.module.d.ts +1 -5
- package/currency/README.md +1 -1
- package/custom-fields/lib/custom-fields/custom-fields.component.d.ts +1 -1
- package/custom-fields/lib/custom-fields/custom-fields.module.d.ts +1 -7
- package/datepicker/README.md +44 -11
- package/datepicker/lib/datepicker/datepicker.component.d.ts +1 -0
- package/dynamic-form/dynamic-form/dynamic-form.module.d.ts +3 -5
- package/dynamic-form/dynamic-form/form-field/fields/currency/currency-field.component.d.ts +1 -0
- package/editable-overlay/lib/editable-overlay/editable-overlay.directive.d.ts +1 -1
- package/editable-overlay/lib/editable-overlay/editable-overlay.module.d.ts +1 -2
- package/editor/README.md +8 -0
- package/empty-state/lib/empty-state/empty-state.component.d.ts +1 -1
- package/empty-state/lib/empty-state/empty-state.module.d.ts +1 -3
- package/empty-state/lib/empty-state/go-back/go-back.component.d.ts +1 -1
- package/esm2022/accordion/lib/accordion/accordion.component.mjs +3 -3
- package/esm2022/accordion/lib/accordion/accordion.module.mjs +4 -10
- package/esm2022/accordion/lib/accordion/components/accordion-panel/accordion-panel.component.mjs +17 -8
- package/esm2022/alert/lib/alert/alert.component.mjs +4 -4
- package/esm2022/alert/lib/alert/alert.module.mjs +4 -6
- package/esm2022/autocomplete/lib/autocomplete/autocomplete.component.mjs +4 -4
- package/esm2022/badge/lib/badge/badge.component.mjs +7 -6
- package/esm2022/badge/lib/badge/badge.module.mjs +4 -9
- package/esm2022/bignumber-input/lib/bignumber-input/bignumber-input.directive.mjs +3 -2
- package/esm2022/bignumber-input/lib/bignumber-input/bignumber-input.module.mjs +4 -7
- package/esm2022/breadcrumb/lib/breadcrumb/breadcrumb.component.mjs +6 -7
- package/esm2022/button/lib/button/button.component.mjs +3 -3
- package/esm2022/calendar-mask/lib/calendar-mask/calendar-mask.directive.mjs +3 -2
- package/esm2022/calendar-mask/lib/calendar-mask/calendar-mask.module.mjs +4 -6
- package/esm2022/card/lib/card/card.component.mjs +4 -4
- package/esm2022/card/lib/card/card.module.mjs +4 -7
- package/esm2022/chat/lib/chat/chat.component.mjs +8 -7
- package/esm2022/chat/lib/chat/chat.module.mjs +7 -11
- package/esm2022/chat/lib/chat/components/chat-message/chat-message.component.mjs +6 -6
- package/esm2022/checkbox/lib/checkbox/checkbox.component.mjs +4 -5
- package/esm2022/checkbox-list/lib/checkbox-list/checkbox-list.component.mjs +6 -7
- package/esm2022/checkbox-list/lib/checkbox-list/checkbox-list.module.mjs +4 -7
- package/esm2022/chips/lib/chips/chip-item/chip-item.component.mjs +5 -5
- package/esm2022/chips/lib/chips/chips/chips.component.mjs +7 -7
- package/esm2022/chips/lib/chips/chips.module.mjs +4 -10
- package/esm2022/code-editor/lib/code-editor/code-editor.component.mjs +4 -4
- package/esm2022/code-editor/lib/code-editor/code-editor.module.mjs +8 -11
- package/esm2022/collapse-link/lib/collapse-link/collapse-link.component.mjs +4 -4
- package/esm2022/collapse-link/lib/collapse-link/collapse-link.module.mjs +4 -6
- package/esm2022/common/lib/svg-factory/components/iassist-icon/iassist-icon.component.mjs +3 -3
- package/esm2022/common/lib/svg-factory/components/senior-icon/senior-icon.component.mjs +3 -3
- package/esm2022/common/lib/svg-factory/svg-factory.directive.mjs +4 -3
- package/esm2022/common/lib/svg-factory/svg-factory.module.mjs +4 -14
- package/esm2022/content-generator/lib/content-generator/content-generator.component.mjs +28 -16
- package/esm2022/content-generator/lib/content-generator/content-generator.module.mjs +4 -42
- package/esm2022/control-errors/lib/control-errors/control-errors.component.mjs +3 -3
- package/esm2022/control-errors/lib/control-errors/control-errors.module.mjs +6 -9
- package/esm2022/country-phone-picker/lib/country-phone-picker/country-phone-picker.component.mjs +14 -14
- package/esm2022/country-phone-picker/lib/country-phone-picker/country-phone-picker.module.mjs +6 -28
- package/esm2022/custom-fields/lib/custom-fields/custom-fields.component.mjs +6 -6
- package/esm2022/custom-fields/lib/custom-fields/custom-fields.module.mjs +9 -35
- package/esm2022/datepicker/lib/datepicker/datepicker.component.mjs +6 -3
- package/esm2022/dialog/lib/src/dialog/dialog.component.mjs +3 -3
- package/esm2022/dynamic-form/dynamic-form/dynamic-form.module.mjs +4 -6
- package/esm2022/dynamic-form/dynamic-form/form-field/fields/boolean/boolean-radio-field/boolean-field.component.mjs +3 -3
- package/esm2022/dynamic-form/dynamic-form/form-field/fields/boolean/boolean-switch-field/boolean-switch-field.component.mjs +3 -3
- package/esm2022/dynamic-form/dynamic-form/form-field/fields/currency/currency-field.component.mjs +5 -3
- package/esm2022/dynamic-form/dynamic-form/form-field/fields/radio-button/radio-button-field.component.mjs +3 -3
- package/esm2022/editable-overlay/lib/editable-overlay/editable-overlay.directive.mjs +3 -2
- package/esm2022/editable-overlay/lib/editable-overlay/editable-overlay.module.mjs +4 -6
- package/esm2022/editor/lib/editor/editor.component.mjs +4 -4
- package/esm2022/empty-state/lib/empty-state/empty-state.component.mjs +4 -4
- package/esm2022/empty-state/lib/empty-state/empty-state.module.mjs +4 -7
- package/esm2022/empty-state/lib/empty-state/go-back/go-back.component.mjs +4 -4
- package/esm2022/fieldset/lib/fieldset/fieldset.component.mjs +5 -5
- package/esm2022/fieldset/lib/fieldset/fieldset.module.mjs +4 -7
- package/esm2022/file-picker/lib/file-picker/file-picker.component.mjs +10 -11
- package/esm2022/file-picker/lib/file-picker/file-picker.module.mjs +4 -11
- package/esm2022/gantt/lib/gantt/components/side-table/side-table.component.mjs +5 -5
- package/esm2022/gantt/lib/gantt/gantt.component.mjs +4 -4
- package/esm2022/gantt/lib/gantt/gantt.module.mjs +4 -12
- package/esm2022/global-search/lib/global-search/components/dropdown/global-search-dropdown-item.component.mjs +6 -7
- package/esm2022/global-search/lib/global-search/global-search.component.mjs +17 -10
- package/esm2022/global-search/lib/global-search/global-search.module.mjs +15 -33
- package/esm2022/grid-menu/lib/grid-menu/components/grid-menu-item/grid-menu-item.component.mjs +5 -4
- package/esm2022/grid-menu/lib/grid-menu/grid-menu.component.mjs +4 -4
- package/esm2022/grid-menu/lib/grid-menu/grid-menu.module.mjs +4 -7
- package/esm2022/help-popover/lib/help-popover/help-popover/help-popover.component.mjs +5 -5
- package/esm2022/help-popover/lib/help-popover/help-popover.directive.mjs +3 -2
- package/esm2022/help-popover/lib/help-popover/help-popover.module.mjs +5 -14
- package/esm2022/image-cropper/lib/image-cropper/image-cropper.component.mjs +7 -8
- package/esm2022/image-cropper/lib/image-cropper/image-cropper.module.mjs +4 -10
- package/esm2022/infinite-scroll/lib/infinite-scroll/infinite-scroll.directive.mjs +4 -3
- package/esm2022/infinite-scroll/lib/infinite-scroll/infinite-scroll.module.mjs +4 -6
- package/esm2022/info-sign/lib/info-sign/components/info-sign/info-sign.component.mjs +6 -6
- package/esm2022/info-sign/lib/info-sign/info-sign.directive.mjs +4 -3
- package/esm2022/info-sign/lib/info-sign/info-sign.module.mjs +4 -8
- package/esm2022/inline-edit/lib/inline-edit/components/fields/inline-edit-calendar/inline-edit-calendar.component.mjs +14 -10
- package/esm2022/inline-edit/lib/inline-edit/components/fields/inline-edit-content-generator/inline-edit-content-generator.component.mjs +7 -6
- package/esm2022/inline-edit/lib/inline-edit/components/fields/inline-edit-lookup/inline-edit-lookup.component.mjs +6 -6
- package/esm2022/inline-edit/lib/inline-edit/components/fields/inline-edit-number/inline-edit-number.component.mjs +34 -20
- package/esm2022/inline-edit/lib/inline-edit/components/fields/inline-edit-text/inline-edit-text.component.mjs +6 -6
- package/esm2022/inline-edit/lib/inline-edit/components/fields/inline-edit-text-area/inline-edit-text-area.component.mjs +7 -7
- package/esm2022/inline-edit/lib/inline-edit/components/inline-edit-item/inline-edit-item.component.mjs +16 -15
- package/esm2022/inline-edit/lib/inline-edit/inline-edit.component.mjs +3 -3
- package/esm2022/inline-edit/lib/inline-edit/inline-edit.module.mjs +4 -89
- package/esm2022/insights/lib/insights/components/insights-card/components/insights-card-loader/insights-card-loader.component.mjs +6 -6
- package/esm2022/insights/lib/insights/components/insights-card/insights-card.component.mjs +11 -10
- package/esm2022/insights/lib/insights/components/insights-sidebar/insights-sidebar.component.mjs +7 -7
- package/esm2022/insights/lib/insights/insights.component.mjs +4 -5
- package/esm2022/insights/lib/insights/insights.module.mjs +4 -34
- package/esm2022/kanban/lib/kanban/components/kanban-column/kanban-column.component.mjs +18 -22
- package/esm2022/kanban/lib/kanban/components/kanban-item/kanban-item.component.mjs +9 -8
- package/esm2022/kanban/lib/kanban/components/kanban-item-dragging/kanban-item-dragging.component.mjs +6 -6
- package/esm2022/kanban/lib/kanban/kanban.component.mjs +20 -11
- package/esm2022/kanban/lib/kanban/kanban.module.mjs +4 -41
- package/esm2022/label-value/lib/label-value/label-value.component.mjs +8 -8
- package/esm2022/label-value/lib/label-value/label-value.module.mjs +4 -10
- package/esm2022/lib/locale/fallback.mjs +3 -2
- package/esm2022/loading-state/lib/loading-state/components/dots-indicator/dots-indicator.components.mjs +3 -3
- package/esm2022/loading-state/lib/loading-state/components/logo-indicator/logo-indicator.component.mjs +4 -4
- package/esm2022/loading-state/lib/loading-state/components/progress-bar-indicator/progress-bar-indicator.component.mjs +4 -4
- package/esm2022/loading-state/lib/loading-state/loading-state.component.mjs +13 -7
- package/esm2022/loading-state/lib/loading-state/loading-state.directive.mjs +3 -2
- package/esm2022/loading-state/lib/loading-state/loading-state.module.mjs +4 -20
- package/esm2022/locale/lib/locale/locale.module.mjs +6 -8
- package/esm2022/locale/lib/locale/pipes/localized-bignumber-impure.pipe.mjs +6 -5
- package/esm2022/locale/lib/locale/pipes/localized-bignumber.pipe.mjs +16 -15
- package/esm2022/locale/lib/locale/pipes/localized-currency-impure.pipe.mjs +6 -5
- package/esm2022/locale/lib/locale/pipes/localized-currency.pipe.mjs +11 -10
- package/esm2022/locale/lib/locale/pipes/localized-date-impure.pipe.mjs +6 -5
- package/esm2022/locale/lib/locale/pipes/localized-date.pipe.mjs +3 -2
- package/esm2022/locale/lib/locale/pipes/localized-number.pipe.mjs +10 -7
- package/esm2022/locale/lib/locale/pipes/localized-time-impure.pipe.mjs +6 -5
- package/esm2022/locale/lib/locale/pipes/localized-time.pipe.mjs +3 -2
- package/esm2022/localized-number-input/lib/localized-number-input/localized-number-input.directive.mjs +7 -4
- package/esm2022/localized-number-input/lib/localized-number-input/localized-number-input.module.mjs +4 -6
- package/esm2022/mask/lib/mask/mask-formatter.module.mjs +3 -3
- package/esm2022/mask/lib/mask/mask-formatter.pipe.mjs +3 -2
- package/esm2022/mouse-events/lib/mouse-events/long-press.directive.mjs +3 -2
- package/esm2022/mouse-events/lib/mouse-events/mouse-events.module.mjs +5 -7
- package/esm2022/navigation-button/lib/navigation-button/navigation-button.component.mjs +8 -8
- package/esm2022/navigation-button/lib/navigation-button/navigation-button.module.mjs +4 -8
- package/esm2022/number-input/lib/number-input/number-input.directive.mjs +3 -2
- package/esm2022/number-input/lib/number-input/number-input.module.mjs +4 -6
- package/esm2022/numeric/lib/numeric.module.mjs +4 -6
- package/esm2022/numeric/lib/numeric.pipe.mjs +6 -3
- package/esm2022/numeric-mask/lib/numeric-mask/numeric-mask.directive.mjs +8 -3
- package/esm2022/object-card/lib/object-card/elements/field/object-card-field.component.mjs +7 -8
- package/esm2022/object-card/lib/object-card/elements/main/object-card-main.component.mjs +6 -8
- package/esm2022/object-card/lib/object-card/object-card.component.mjs +6 -6
- package/esm2022/object-card/lib/object-card/object-card.module.mjs +4 -10
- package/esm2022/paginator/lib/paginator/paginator.component.mjs +3 -3
- package/esm2022/panel/lib/panel/panel.component.mjs +15 -7
- package/esm2022/panel/lib/panel/panel.module.mjs +7 -10
- package/esm2022/password-strength/lib/password-strength/password-strength.component.mjs +4 -4
- package/esm2022/password-strength/lib/password-strength/password-strength.directive.mjs +4 -3
- package/esm2022/password-strength/lib/password-strength/password-strength.module.mjs +4 -7
- package/esm2022/pin-code-field/lib/pin-code-field/pin-code-field.component.mjs +5 -6
- package/esm2022/profile-picture-picker/lib/profile-picture-picker/profile-picture-picker.component.mjs +9 -10
- package/esm2022/profile-picture-picker/lib/profile-picture-picker/profile-picture-picker.module.mjs +5 -11
- package/esm2022/progressbar/lib/progressbar/components/progressbar-determinate/progressbar-determinate.component.mjs +8 -6
- package/esm2022/progressbar/lib/progressbar/components/progressbar-indeterminate/progressbar-indeterminate.component.mjs +4 -4
- package/esm2022/progressbar/lib/progressbar/progressbar.component.mjs +5 -5
- package/esm2022/progressbar/lib/progressbar/progressbar.module.mjs +4 -9
- package/esm2022/rating-scale/lib/rating-scale/rating-scale.component.mjs +5 -5
- package/esm2022/rating-scale/lib/rating-scale/rating-scale.module.mjs +6 -14
- package/esm2022/select/lib/select/components/select-option/select-option.component.mjs +3 -4
- package/esm2022/select/lib/select/select.component.mjs +3 -5
- package/esm2022/select-button/lib/select-button/components/select-button-item/select-button-item.component.mjs +5 -5
- package/esm2022/select-button/lib/select-button/select-button.component.mjs +6 -6
- package/esm2022/select-button/lib/select-button/select-button.module.mjs +6 -13
- package/esm2022/shared/lib/shared/border-button/border-button.component.mjs +5 -5
- package/esm2022/shared/lib/shared/border-button/border-button.module.mjs +7 -10
- package/esm2022/sidebar/lib/sidebar/sidebar.component.mjs +5 -5
- package/esm2022/sidebar/lib/sidebar/sidebar.module.mjs +4 -7
- package/esm2022/slide-in-bar/lib/slide-in-bar/slide-in-bar.component.mjs +6 -6
- package/esm2022/slide-in-bar/lib/slide-in-bar/slide-in-bar.module.mjs +7 -9
- package/esm2022/slider/lib/slider/slider.component.mjs +6 -6
- package/esm2022/slider/lib/slider/slider.module.mjs +6 -9
- package/esm2022/speech-recognition/lib/speech-recognition/speech-recognition/speech-recognition.component.mjs +4 -5
- package/esm2022/speech-recognition/lib/speech-recognition/speech-recognition.module.mjs +5 -13
- package/esm2022/split-button/lib/split-button/split-button.component.mjs +5 -5
- package/esm2022/split-button/lib/split-button/split-button.module.mjs +4 -6
- package/esm2022/star-rating/star-rating/star-rating.component.mjs +3 -3
- package/esm2022/stats-card/lib/stats-card/stats-card.component.mjs +6 -6
- package/esm2022/stats-card/lib/stats-card/stats-card.module.mjs +4 -8
- package/esm2022/stepper/lib/stepper/stepper.component.mjs +6 -6
- package/esm2022/stepper/lib/stepper/stepper.module.mjs +4 -7
- package/esm2022/structure/lib/structure/footer.component.mjs +3 -2
- package/esm2022/structure/lib/structure/header.component.mjs +5 -4
- package/esm2022/structure/lib/structure/structure.module.mjs +5 -7
- package/esm2022/switch/lib/switch/switch.component.mjs +4 -5
- package/esm2022/switch/lib/switch/switch.module.mjs +4 -6
- package/esm2022/table/lib/table/row-toggler/row-toggler.directive.mjs +6 -3
- package/esm2022/table/lib/table/table-column/table-columns.component.mjs +17 -9
- package/esm2022/table/lib/table/table-paging/table-paging.component.mjs +4 -4
- package/esm2022/table/lib/table/table.module.mjs +4 -34
- package/esm2022/table-header/lib/table-header/table-header-checkbox.component.mjs +19 -16
- package/esm2022/table-header/lib/table-header/table-header-checkox.module.mjs +4 -8
- package/esm2022/template/lib/template/template.module.mjs +4 -5
- package/esm2022/text-area/lib/text-area/text-area.component.mjs +9 -9
- package/esm2022/text-area/lib/text-area.module.mjs +5 -24
- package/esm2022/thumbnail/lib/thumbnail/thumbnail.component.mjs +5 -5
- package/esm2022/thumbnail/lib/thumbnail/thumbnail.module.mjs +7 -9
- package/esm2022/thumbnails/lib/thumbnails/components/thumbnail-item/components/thumbnail-item-image/thumbnail-item-image.component.mjs +6 -6
- package/esm2022/thumbnails/lib/thumbnails/components/thumbnail-item/components/thumbnail-item-video/thumbnail-item-video.component.mjs +9 -9
- package/esm2022/thumbnails/lib/thumbnails/components/thumbnail-item/thumbnail-item.component.mjs +25 -14
- package/esm2022/thumbnails/lib/thumbnails/thumbnails.component.mjs +4 -4
- package/esm2022/thumbnails/lib/thumbnails/thumbnails.module.mjs +6 -14
- package/esm2022/tiered-menu/lib/tiered-menu/components/tiered-menu/tiered-menu.component.mjs +7 -7
- package/esm2022/tiered-menu/lib/tiered-menu/components/tiered-menu-divider/tiered-menu-divider.component.mjs +3 -3
- package/esm2022/tiered-menu/lib/tiered-menu/components/tiered-menu-item/tiered-menu-item.component.mjs +4 -4
- package/esm2022/tiered-menu/lib/tiered-menu/components/tiered-menu-nested/tiered-menu-nested.component.mjs +6 -6
- package/esm2022/tiered-menu/lib/tiered-menu/tiered-menu.directive.mjs +4 -3
- package/esm2022/tiered-menu/lib/tiered-menu/tiered-menu.module.mjs +4 -20
- package/esm2022/tile/lib/tile/tile.component.mjs +6 -6
- package/esm2022/tile/lib/tile/tile.module.mjs +4 -7
- package/esm2022/timeline/lib/timeline/components/horizontal-timeline/horizontal-timeline.component.mjs +6 -6
- package/esm2022/timeline/lib/timeline/components/timeline-icon-item/timeline-icon-item.component.mjs +5 -5
- package/esm2022/timeline/lib/timeline/components/vertical-timeline/components/collapse-option/collapse-option.component.mjs +4 -4
- package/esm2022/timeline/lib/timeline/components/vertical-timeline/components/collapsed-items/collapsed-items.component.mjs +5 -5
- package/esm2022/timeline/lib/timeline/components/vertical-timeline/components/range-line/range-line.component.mjs +3 -3
- package/esm2022/timeline/lib/timeline/components/vertical-timeline/components/vertical-items/vertical-items.component.mjs +5 -5
- package/esm2022/timeline/lib/timeline/components/vertical-timeline/vertical-timeline.component.mjs +7 -7
- package/esm2022/timeline/lib/timeline/timeline.component.mjs +5 -6
- package/esm2022/timeline/lib/timeline/timeline.module.mjs +4 -20
- package/esm2022/toast/lib/toast/toast.component.mjs +4 -4
- package/esm2022/toast/lib/toast/toast.module.mjs +6 -7
- package/esm2022/token-list/lib/token-list/token-list.component.mjs +4 -4
- package/esm2022/token-list/lib/token-list/token-list.module.mjs +4 -6
- package/esm2022/tooltip/lib/tooltip/tooltip.module.mjs +3 -4
- package/esm2022/topbar/lib/topbar/topbar.component.mjs +3 -3
- package/esm2022/topbar/lib/topbar/topbar.module.mjs +7 -10
- package/esm2022/tree/lib/tree/components/tree-node-item/tree-node-item.component.mjs +6 -5
- package/esm2022/tree/lib/tree/tree.component.mjs +5 -5
- package/esm2022/tree/lib/tree/tree.module.mjs +4 -10
- package/esm2022/workspace-switch/lib/workspace-switch/workspace-switch.component.mjs +5 -5
- package/esm2022/workspace-switch/lib/workspace-switch/workspace-switch.module.mjs +4 -6
- package/fesm2022/seniorsistemas-angular-components-accordion.mjs +20 -17
- package/fesm2022/seniorsistemas-angular-components-accordion.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-alert.mjs +6 -8
- package/fesm2022/seniorsistemas-angular-components-alert.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-autocomplete.mjs +3 -3
- package/fesm2022/seniorsistemas-angular-components-autocomplete.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-badge.mjs +8 -12
- package/fesm2022/seniorsistemas-angular-components-badge.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-bignumber-input.mjs +5 -7
- package/fesm2022/seniorsistemas-angular-components-bignumber-input.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-breadcrumb.mjs +5 -6
- package/fesm2022/seniorsistemas-angular-components-breadcrumb.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-button.mjs +2 -2
- package/fesm2022/seniorsistemas-angular-components-button.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-calendar-mask.mjs +5 -6
- package/fesm2022/seniorsistemas-angular-components-calendar-mask.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-card.mjs +7 -9
- package/fesm2022/seniorsistemas-angular-components-card.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-chat.mjs +15 -16
- package/fesm2022/seniorsistemas-angular-components-chat.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-checkbox-list.mjs +7 -10
- package/fesm2022/seniorsistemas-angular-components-checkbox-list.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-checkbox.mjs +3 -4
- package/fesm2022/seniorsistemas-angular-components-checkbox.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-chips.mjs +14 -18
- package/fesm2022/seniorsistemas-angular-components-chips.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-code-editor.mjs +5 -7
- package/fesm2022/seniorsistemas-angular-components-code-editor.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-collapse-link.mjs +6 -8
- package/fesm2022/seniorsistemas-angular-components-collapse-link.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-common.mjs +9 -16
- package/fesm2022/seniorsistemas-angular-components-common.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-content-generator.mjs +28 -52
- package/fesm2022/seniorsistemas-angular-components-content-generator.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-control-errors.mjs +5 -8
- package/fesm2022/seniorsistemas-angular-components-control-errors.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-country-phone-picker.mjs +17 -37
- package/fesm2022/seniorsistemas-angular-components-country-phone-picker.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-custom-fields.mjs +12 -35
- package/fesm2022/seniorsistemas-angular-components-custom-fields.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-datepicker.mjs +5 -2
- package/fesm2022/seniorsistemas-angular-components-datepicker.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-dialog.mjs +2 -2
- package/fesm2022/seniorsistemas-angular-components-dialog.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-dynamic-form.mjs +12 -11
- package/fesm2022/seniorsistemas-angular-components-dynamic-form.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-editable-overlay.mjs +5 -6
- package/fesm2022/seniorsistemas-angular-components-editable-overlay.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-editor.mjs +3 -3
- package/fesm2022/seniorsistemas-angular-components-editor.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-empty-state.mjs +8 -11
- package/fesm2022/seniorsistemas-angular-components-empty-state.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-fieldset.mjs +6 -9
- package/fesm2022/seniorsistemas-angular-components-fieldset.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-file-picker.mjs +11 -18
- package/fesm2022/seniorsistemas-angular-components-file-picker.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-gantt.mjs +9 -16
- package/fesm2022/seniorsistemas-angular-components-gantt.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-global-search.mjs +31 -47
- package/fesm2022/seniorsistemas-angular-components-global-search.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-grid-menu.mjs +8 -10
- package/fesm2022/seniorsistemas-angular-components-grid-menu.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-help-popover.mjs +10 -17
- package/fesm2022/seniorsistemas-angular-components-help-popover.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-image-cropper.mjs +8 -14
- package/fesm2022/seniorsistemas-angular-components-image-cropper.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-infinite-scroll.mjs +5 -6
- package/fesm2022/seniorsistemas-angular-components-infinite-scroll.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-info-sign.mjs +9 -11
- package/fesm2022/seniorsistemas-angular-components-info-sign.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-inline-edit.mjs +64 -121
- package/fesm2022/seniorsistemas-angular-components-inline-edit.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-insights.mjs +22 -47
- package/fesm2022/seniorsistemas-angular-components-insights.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-kanban.mjs +86 -113
- package/fesm2022/seniorsistemas-angular-components-kanban.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-label-value.mjs +10 -16
- package/fesm2022/seniorsistemas-angular-components-label-value.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-loading-state.mjs +40 -46
- package/fesm2022/seniorsistemas-angular-components-loading-state.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-locale.mjs +40 -31
- package/fesm2022/seniorsistemas-angular-components-locale.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-localized-number-input.mjs +9 -8
- package/fesm2022/seniorsistemas-angular-components-localized-number-input.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-mask.mjs +4 -3
- package/fesm2022/seniorsistemas-angular-components-mask.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-mouse-events.mjs +55 -56
- package/fesm2022/seniorsistemas-angular-components-mouse-events.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-navigation-button.mjs +9 -13
- package/fesm2022/seniorsistemas-angular-components-navigation-button.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-number-input.mjs +6 -6
- package/fesm2022/seniorsistemas-angular-components-number-input.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-numeric-mask.mjs +7 -2
- package/fesm2022/seniorsistemas-angular-components-numeric-mask.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-numeric.mjs +8 -7
- package/fesm2022/seniorsistemas-angular-components-numeric.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-object-card.mjs +14 -21
- package/fesm2022/seniorsistemas-angular-components-object-card.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-paginator.mjs +2 -2
- package/fesm2022/seniorsistemas-angular-components-paginator.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-panel.mjs +17 -11
- package/fesm2022/seniorsistemas-angular-components-panel.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-password-strength.mjs +8 -9
- package/fesm2022/seniorsistemas-angular-components-password-strength.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-pin-code-field.mjs +4 -5
- package/fesm2022/seniorsistemas-angular-components-pin-code-field.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-profile-picture-picker.mjs +11 -17
- package/fesm2022/seniorsistemas-angular-components-profile-picture-picker.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-progressbar.mjs +15 -15
- package/fesm2022/seniorsistemas-angular-components-progressbar.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-rating-scale.mjs +8 -15
- package/fesm2022/seniorsistemas-angular-components-rating-scale.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-select-button.mjs +9 -15
- package/fesm2022/seniorsistemas-angular-components-select-button.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-select.mjs +4 -6
- package/fesm2022/seniorsistemas-angular-components-select.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-shared.mjs +8 -11
- package/fesm2022/seniorsistemas-angular-components-shared.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-sidebar.mjs +7 -10
- package/fesm2022/seniorsistemas-angular-components-sidebar.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-slide-in-bar.mjs +7 -9
- package/fesm2022/seniorsistemas-angular-components-slide-in-bar.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-slider.mjs +8 -11
- package/fesm2022/seniorsistemas-angular-components-slider.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-speech-recognition.mjs +7 -15
- package/fesm2022/seniorsistemas-angular-components-speech-recognition.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-split-button.mjs +6 -8
- package/fesm2022/seniorsistemas-angular-components-split-button.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-star-rating.mjs +2 -2
- package/fesm2022/seniorsistemas-angular-components-star-rating.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-stats-card.mjs +8 -12
- package/fesm2022/seniorsistemas-angular-components-stats-card.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-stepper.mjs +8 -11
- package/fesm2022/seniorsistemas-angular-components-stepper.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-structure.mjs +18 -18
- package/fesm2022/seniorsistemas-angular-components-structure.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-switch.mjs +6 -9
- package/fesm2022/seniorsistemas-angular-components-switch.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-table-header.mjs +20 -21
- package/fesm2022/seniorsistemas-angular-components-table-header.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-table.mjs +27 -45
- package/fesm2022/seniorsistemas-angular-components-table.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-template.mjs +3 -4
- package/fesm2022/seniorsistemas-angular-components-template.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-text-area.mjs +12 -30
- package/fesm2022/seniorsistemas-angular-components-text-area.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-thumbnail.mjs +6 -8
- package/fesm2022/seniorsistemas-angular-components-thumbnail.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-thumbnails.mjs +45 -37
- package/fesm2022/seniorsistemas-angular-components-thumbnails.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-tiered-menu.mjs +14 -25
- package/fesm2022/seniorsistemas-angular-components-tiered-menu.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-tile.mjs +8 -12
- package/fesm2022/seniorsistemas-angular-components-tile.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-timeline.mjs +58 -124
- package/fesm2022/seniorsistemas-angular-components-timeline.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-toast.mjs +4 -5
- package/fesm2022/seniorsistemas-angular-components-toast.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-token-list.mjs +6 -8
- package/fesm2022/seniorsistemas-angular-components-token-list.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-tooltip.mjs +2 -2
- package/fesm2022/seniorsistemas-angular-components-tooltip.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-topbar.mjs +5 -8
- package/fesm2022/seniorsistemas-angular-components-topbar.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-tree.mjs +10 -13
- package/fesm2022/seniorsistemas-angular-components-tree.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components-workspace-switch.mjs +6 -8
- package/fesm2022/seniorsistemas-angular-components-workspace-switch.mjs.map +1 -1
- package/fesm2022/seniorsistemas-angular-components.mjs +2 -1
- package/fesm2022/seniorsistemas-angular-components.mjs.map +1 -1
- package/fieldset/lib/fieldset/fieldset.component.d.ts +1 -1
- package/fieldset/lib/fieldset/fieldset.module.d.ts +1 -3
- package/file-picker/lib/file-picker/file-picker.component.d.ts +1 -1
- package/file-picker/lib/file-picker/file-picker.module.d.ts +1 -7
- package/gantt/lib/gantt/components/side-table/side-table.component.d.ts +1 -1
- package/gantt/lib/gantt/gantt.component.d.ts +1 -1
- package/gantt/lib/gantt/gantt.module.d.ts +1 -4
- package/global-search/README.md +12 -1
- package/global-search/lib/global-search/components/dropdown/global-search-dropdown-item.component.d.ts +1 -1
- package/global-search/lib/global-search/global-search.component.d.ts +1 -1
- package/global-search/lib/global-search/global-search.module.d.ts +8 -12
- package/grid-menu/README.md +27 -2
- package/grid-menu/lib/grid-menu/components/grid-menu-item/grid-menu-item.component.d.ts +1 -1
- package/grid-menu/lib/grid-menu/grid-menu.component.d.ts +1 -1
- package/grid-menu/lib/grid-menu/grid-menu.module.d.ts +1 -3
- package/help-popover/README.md +2 -2
- package/help-popover/lib/help-popover/help-popover/help-popover.component.d.ts +1 -1
- package/help-popover/lib/help-popover/help-popover.directive.d.ts +1 -1
- package/help-popover/lib/help-popover/help-popover.module.d.ts +2 -5
- package/ia-insight/README.md +1 -1
- package/image-cropper/README.md +2 -2
- package/image-cropper/lib/image-cropper/image-cropper.component.d.ts +1 -1
- package/image-cropper/lib/image-cropper/image-cropper.module.d.ts +3 -8
- package/infinite-scroll/lib/infinite-scroll/infinite-scroll.directive.d.ts +1 -1
- package/infinite-scroll/lib/infinite-scroll/infinite-scroll.module.d.ts +1 -2
- package/info-sign/README.md +1 -1
- package/info-sign/lib/info-sign/components/info-sign/info-sign.component.d.ts +2 -2
- package/info-sign/lib/info-sign/info-sign.directive.d.ts +1 -1
- package/info-sign/lib/info-sign/info-sign.module.d.ts +1 -4
- package/inline-edit/lib/inline-edit/components/fields/inline-edit-calendar/inline-edit-calendar.component.d.ts +7 -6
- package/inline-edit/lib/inline-edit/components/fields/inline-edit-content-generator/inline-edit-content-generator.component.d.ts +4 -4
- package/inline-edit/lib/inline-edit/components/fields/inline-edit-lookup/inline-edit-lookup.component.d.ts +4 -4
- package/inline-edit/lib/inline-edit/components/fields/inline-edit-number/inline-edit-number.component.d.ts +5 -4
- package/inline-edit/lib/inline-edit/components/fields/inline-edit-text/inline-edit-text.component.d.ts +4 -4
- package/inline-edit/lib/inline-edit/components/fields/inline-edit-text-area/inline-edit-text-area.component.d.ts +4 -4
- package/inline-edit/lib/inline-edit/components/inline-edit-item/inline-edit-item.component.d.ts +5 -4
- package/inline-edit/lib/inline-edit/inline-edit.component.d.ts +1 -1
- package/inline-edit/lib/inline-edit/inline-edit.module.d.ts +1 -23
- package/insights/lib/insights/components/insights-card/components/insights-card-loader/insights-card-loader.component.d.ts +1 -1
- package/insights/lib/insights/components/insights-card/insights-card.component.d.ts +2 -1
- package/insights/lib/insights/components/insights-sidebar/insights-sidebar.component.d.ts +1 -1
- package/insights/lib/insights/insights.component.d.ts +1 -1
- package/insights/lib/insights/insights.module.d.ts +3 -12
- package/kanban/lib/kanban/components/kanban-column/kanban-column.component.d.ts +5 -5
- package/kanban/lib/kanban/components/kanban-item/kanban-item.component.d.ts +4 -4
- package/kanban/lib/kanban/components/kanban-item-dragging/kanban-item-dragging.component.d.ts +1 -1
- package/kanban/lib/kanban/kanban.component.d.ts +1 -1
- package/kanban/lib/kanban/kanban.module.d.ts +3 -13
- package/label-value/lib/label-value/label-value.component.d.ts +1 -1
- package/label-value/lib/label-value/label-value.module.d.ts +1 -6
- package/loading-state/lib/loading-state/components/dots-indicator/dots-indicator.components.d.ts +1 -1
- package/loading-state/lib/loading-state/components/logo-indicator/logo-indicator.component.d.ts +1 -1
- package/loading-state/lib/loading-state/components/progress-bar-indicator/progress-bar-indicator.component.d.ts +1 -1
- package/loading-state/lib/loading-state/loading-state.component.d.ts +1 -1
- package/loading-state/lib/loading-state/loading-state.directive.d.ts +1 -1
- package/loading-state/lib/loading-state/loading-state.module.d.ts +1 -6
- package/locale/lib/locale/locale.module.d.ts +1 -2
- package/locale/lib/locale/pipes/localized-bignumber-impure.pipe.d.ts +3 -3
- package/locale/lib/locale/pipes/localized-bignumber.pipe.d.ts +3 -3
- package/locale/lib/locale/pipes/localized-currency-impure.pipe.d.ts +3 -3
- package/locale/lib/locale/pipes/localized-currency.pipe.d.ts +3 -3
- package/locale/lib/locale/pipes/localized-date-impure.pipe.d.ts +3 -3
- package/locale/lib/locale/pipes/localized-date.pipe.d.ts +1 -1
- package/locale/lib/locale/pipes/localized-number.pipe.d.ts +2 -2
- package/locale/lib/locale/pipes/localized-time-impure.pipe.d.ts +3 -3
- package/locale/lib/locale/pipes/localized-time.pipe.d.ts +1 -1
- package/localized-number-input/lib/localized-number-input/localized-number-input.directive.d.ts +2 -1
- package/localized-number-input/lib/localized-number-input/localized-number-input.module.d.ts +1 -2
- package/mask/lib/mask/mask-formatter.module.d.ts +1 -1
- package/mask/lib/mask/mask-formatter.pipe.d.ts +1 -1
- package/mouse-events/lib/mouse-events/long-press.directive.d.ts +1 -1
- package/mouse-events/lib/mouse-events/mouse-events.module.d.ts +3 -4
- package/navigation-button/lib/navigation-button/navigation-button.component.d.ts +1 -1
- package/navigation-button/lib/navigation-button/navigation-button.module.d.ts +1 -4
- package/number-input/lib/number-input/number-input.directive.d.ts +1 -1
- package/number-input/lib/number-input/number-input.module.d.ts +1 -2
- package/numeric/lib/numeric.module.d.ts +1 -2
- package/numeric/lib/numeric.pipe.d.ts +1 -1
- package/numeric-mask/lib/numeric-mask/numeric-mask.directive.d.ts +1 -0
- package/object-card/README.md +13 -1
- package/object-card/lib/object-card/elements/field/object-card-field.component.d.ts +1 -1
- package/object-card/lib/object-card/elements/main/object-card-main.component.d.ts +1 -1
- package/object-card/lib/object-card/object-card.component.d.ts +1 -1
- package/object-card/lib/object-card/object-card.module.d.ts +5 -10
- package/package.json +1 -1
- package/panel/lib/panel/panel.component.d.ts +6 -1
- package/panel/lib/panel/panel.module.d.ts +2 -4
- package/password-strength/lib/password-strength/password-strength.component.d.ts +1 -1
- package/password-strength/lib/password-strength/password-strength.directive.d.ts +1 -1
- package/password-strength/lib/password-strength/password-strength.module.d.ts +2 -4
- package/picklist/README.md +74 -2
- package/product-header/README.md +1 -1
- package/profile-picture-picker/README.md +1 -1
- package/profile-picture-picker/lib/profile-picture-picker/profile-picture-picker.component.d.ts +1 -1
- package/profile-picture-picker/lib/profile-picture-picker/profile-picture-picker.module.d.ts +1 -7
- package/progressbar/README.md +0 -1
- package/progressbar/lib/progressbar/components/progressbar-determinate/progressbar-determinate.component.d.ts +2 -1
- package/progressbar/lib/progressbar/components/progressbar-indeterminate/progressbar-indeterminate.component.d.ts +1 -1
- package/progressbar/lib/progressbar/progressbar.component.d.ts +1 -1
- package/progressbar/lib/progressbar/progressbar.module.d.ts +1 -5
- package/radio-button/README.md +0 -1
- package/rating-scale/README.md +1 -1
- package/rating-scale/lib/rating-scale/rating-scale.component.d.ts +2 -2
- package/rating-scale/lib/rating-scale/rating-scale.module.d.ts +1 -3
- package/schematics/migrations/migrate-steps-to-stepper/index.d.ts +2 -0
- package/schematics/migrations/migrate-steps-to-stepper/index.js +104 -0
- package/schematics/migrations/migrate-steps-to-stepper/index.js.map +1 -0
- package/schematics/migrations/migrate-steps-to-stepper/index.test.d.ts +1 -0
- package/schematics/migrations/migrate-steps-to-stepper/index.test.js +206 -0
- package/schematics/migrations/migrate-steps-to-stepper/index.test.js.map +1 -0
- package/schematics/migrations.json +5 -0
- package/schematics/utils/ast-utils.d.ts +13 -0
- package/schematics/utils/ast-utils.js +76 -0
- package/schematics/utils/ast-utils.js.map +1 -1
- package/select/lib/select/select.component.d.ts +1 -1
- package/select-button/README.md +1 -1
- package/select-button/lib/select-button/components/select-button-item/select-button-item.component.d.ts +1 -1
- package/select-button/lib/select-button/select-button.component.d.ts +1 -1
- package/select-button/lib/select-button/select-button.module.d.ts +1 -3
- package/shared/lib/shared/border-button/border-button.component.d.ts +1 -1
- package/shared/lib/shared/border-button/border-button.module.d.ts +1 -3
- package/sidebar/lib/sidebar/sidebar.component.d.ts +1 -1
- package/sidebar/lib/sidebar/sidebar.module.d.ts +2 -4
- package/slide-in-bar/README.md +1 -1
- package/slide-in-bar/lib/slide-in-bar/slide-in-bar.component.d.ts +1 -1
- package/slide-in-bar/lib/slide-in-bar/slide-in-bar.module.d.ts +1 -2
- package/slider/README.md +1 -1
- package/slider/lib/slider/slider.component.d.ts +1 -1
- package/slider/lib/slider/slider.module.d.ts +1 -3
- package/speech-recognition/README.md +1 -1
- package/speech-recognition/lib/speech-recognition/speech-recognition/speech-recognition.component.d.ts +1 -1
- package/speech-recognition/lib/speech-recognition/speech-recognition.module.d.ts +1 -3
- package/split-button/README.md +1 -1
- package/split-button/lib/split-button/split-button.component.d.ts +1 -1
- package/split-button/lib/split-button/split-button.module.d.ts +1 -2
- package/spotlight/README.md +1 -1
- package/star-rating/README.md +1 -1
- package/stats-card/README.md +1 -1
- package/stats-card/lib/stats-card/stats-card.component.d.ts +1 -1
- package/stats-card/lib/stats-card/stats-card.module.d.ts +1 -4
- package/stepper/lib/stepper/stepper.component.d.ts +1 -1
- package/stepper/lib/stepper/stepper.module.d.ts +1 -3
- package/structure/lib/structure/footer.component.d.ts +1 -1
- package/structure/lib/structure/header.component.d.ts +1 -1
- package/structure/lib/structure/structure.module.d.ts +1 -2
- package/switch/lib/switch/switch.component.d.ts +1 -1
- package/switch/lib/switch/switch.module.d.ts +1 -2
- package/table/README.md +9 -8
- package/table/lib/table/row-toggler/row-toggler.directive.d.ts +1 -1
- package/table/lib/table/table-column/table-columns.component.d.ts +1 -1
- package/table/lib/table/table-paging/table-paging.component.d.ts +1 -1
- package/table/lib/table/table.module.d.ts +5 -12
- package/table-header/lib/table-header/table-header-checkbox.component.d.ts +1 -1
- package/table-header/lib/table-header/table-header-checkox.module.d.ts +1 -4
- package/template/README.md +177 -0
- package/template/lib/template/template.module.d.ts +2 -3
- package/text-area/lib/text-area/text-area.component.d.ts +1 -1
- package/text-area/lib/text-area.module.d.ts +1 -5
- package/text-area-ia/README.md +1 -1
- package/thumbnail/lib/thumbnail/thumbnail.component.d.ts +1 -1
- package/thumbnail/lib/thumbnail/thumbnail.module.d.ts +1 -2
- package/thumbnails/lib/thumbnails/components/thumbnail-item/components/thumbnail-item-image/thumbnail-item-image.component.d.ts +1 -1
- package/thumbnails/lib/thumbnails/components/thumbnail-item/components/thumbnail-item-video/thumbnail-item-video.component.d.ts +2 -2
- package/thumbnails/lib/thumbnails/components/thumbnail-item/thumbnail-item.component.d.ts +5 -4
- package/thumbnails/lib/thumbnails/thumbnails.component.d.ts +1 -1
- package/thumbnails/lib/thumbnails/thumbnails.module.d.ts +1 -8
- package/tiered-menu/lib/tiered-menu/components/tiered-menu/tiered-menu.component.d.ts +1 -1
- package/tiered-menu/lib/tiered-menu/components/tiered-menu-divider/tiered-menu-divider.component.d.ts +1 -1
- package/tiered-menu/lib/tiered-menu/components/tiered-menu-item/tiered-menu-item.component.d.ts +1 -1
- package/tiered-menu/lib/tiered-menu/components/tiered-menu-nested/tiered-menu-nested.component.d.ts +1 -1
- package/tiered-menu/lib/tiered-menu/tiered-menu.directive.d.ts +1 -1
- package/tiered-menu/lib/tiered-menu/tiered-menu.module.d.ts +1 -6
- package/tile/lib/tile/tile.component.d.ts +1 -1
- package/tile/lib/tile/tile.module.d.ts +3 -5
- package/timeline/lib/timeline/components/horizontal-timeline/horizontal-timeline.component.d.ts +1 -1
- package/timeline/lib/timeline/components/timeline-icon-item/timeline-icon-item.component.d.ts +1 -1
- package/timeline/lib/timeline/components/vertical-timeline/components/collapse-option/collapse-option.component.d.ts +1 -1
- package/timeline/lib/timeline/components/vertical-timeline/components/collapsed-items/collapsed-items.component.d.ts +1 -1
- package/timeline/lib/timeline/components/vertical-timeline/components/range-line/range-line.component.d.ts +1 -1
- package/timeline/lib/timeline/components/vertical-timeline/components/vertical-items/vertical-items.component.d.ts +1 -1
- package/timeline/lib/timeline/components/vertical-timeline/vertical-timeline.component.d.ts +1 -1
- package/timeline/lib/timeline/timeline.component.d.ts +1 -1
- package/timeline/lib/timeline/timeline.module.d.ts +1 -5
- package/toast/lib/toast/toast.component.d.ts +1 -1
- package/toast/lib/toast/toast.module.d.ts +3 -3
- package/token-list/lib/token-list/token-list.component.d.ts +1 -1
- package/token-list/lib/token-list/token-list.module.d.ts +1 -2
- package/tooltip/lib/tooltip/tooltip.module.d.ts +1 -2
- package/topbar/lib/topbar/topbar.component.d.ts +1 -1
- package/topbar/lib/topbar/topbar.module.d.ts +3 -5
- package/tree/lib/tree/components/tree-node-item/tree-node-item.component.d.ts +1 -1
- package/tree/lib/tree/tree.component.d.ts +1 -1
- package/tree/lib/tree/tree.module.d.ts +1 -6
- package/workspace-switch/lib/workspace-switch/workspace-switch.component.d.ts +1 -1
- package/workspace-switch/lib/workspace-switch/workspace-switch.module.d.ts +1 -2
- package/esm2022/insights/lib/insights/components/insights-card/components/index.mjs +0 -2
- package/esm2022/timeline/lib/timeline/components/horizontal-timeline/horizontal-timeline.module.mjs +0 -20
- package/esm2022/timeline/lib/timeline/components/timeline-icon-item/timeline-icon-item.module.mjs +0 -19
- package/esm2022/timeline/lib/timeline/components/vertical-timeline/vertical-timeline.module.mjs +0 -33
- package/insights/lib/insights/components/insights-card/components/index.d.ts +0 -1
- package/timeline/lib/timeline/components/horizontal-timeline/horizontal-timeline.module.d.ts +0 -10
- package/timeline/lib/timeline/components/timeline-icon-item/timeline-icon-item.module.d.ts +0 -9
- package/timeline/lib/timeline/components/vertical-timeline/vertical-timeline.module.d.ts +0 -13
package/profile-picture-picker/lib/profile-picture-picker/profile-picture-picker.module.d.ts
CHANGED
|
@@ -1,13 +1,7 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./profile-picture-picker.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "@ngx-translate/core";
|
|
5
|
-
import * as i4 from "@seniorsistemas/angular-components/button";
|
|
6
|
-
import * as i5 from "@seniorsistemas/angular-components/thumbnail";
|
|
7
|
-
import * as i6 from "@seniorsistemas/angular-components/image-cropper";
|
|
8
|
-
import * as i7 from "primeng/confirmdialog";
|
|
9
3
|
export declare class ProfilePicturePickerModule {
|
|
10
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProfilePicturePickerModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ProfilePicturePickerModule, [typeof i1.ProfilePicturePickerComponent], [typeof
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProfilePicturePickerModule, never, [typeof i1.ProfilePicturePickerComponent], [typeof i1.ProfilePicturePickerComponent]>;
|
|
12
6
|
static ɵinj: i0.ɵɵInjectorDeclaration<ProfilePicturePickerModule>;
|
|
13
7
|
}
|
package/progressbar/README.md
CHANGED
|
@@ -3,6 +3,7 @@ import { ProgressBarColors } from '../../types';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class ProgressBarDeterminateComponent implements OnInit {
|
|
5
5
|
private readonly localeService;
|
|
6
|
+
private readonly _destroyRef;
|
|
6
7
|
value: number;
|
|
7
8
|
activeColor: ProgressBarColors;
|
|
8
9
|
numberFormatOptions?: Intl.NumberFormatOptions;
|
|
@@ -14,5 +15,5 @@ export declare class ProgressBarDeterminateComponent implements OnInit {
|
|
|
14
15
|
private onGetLocale;
|
|
15
16
|
private validateValues;
|
|
16
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarDeterminateComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ProgressBarDeterminateComponent, "s-progressbar-determinate", never, { "value": { "alias": "value"; "required": true; }; "activeColor": { "alias": "activeColor"; "required": true; }; "numberFormatOptions": { "alias": "numberFormatOptions"; "required": false; }; "targetValue": { "alias": "targetValue"; "required": false; }; "targetLabel": { "alias": "targetLabel"; "required": false; }; "showValue": { "alias": "showValue"; "required": false; }; }, {}, never, never,
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProgressBarDeterminateComponent, "s-progressbar-determinate", never, { "value": { "alias": "value"; "required": true; }; "activeColor": { "alias": "activeColor"; "required": true; }; "numberFormatOptions": { "alias": "numberFormatOptions"; "required": false; }; "targetValue": { "alias": "targetValue"; "required": false; }; "targetLabel": { "alias": "targetLabel"; "required": false; }; "showValue": { "alias": "showValue"; "required": false; }; }, {}, never, never, true, never>;
|
|
18
19
|
}
|
|
@@ -4,5 +4,5 @@ export declare class ProgressBarIndeterminateComponent {
|
|
|
4
4
|
activeColor: ProgressBarColors;
|
|
5
5
|
label?: string;
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarIndeterminateComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ProgressBarIndeterminateComponent, "s-progressbar-indeterminate", never, { "activeColor": { "alias": "activeColor"; "required": true; }; "label": { "alias": "label"; "required": false; }; }, {}, never, never,
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProgressBarIndeterminateComponent, "s-progressbar-indeterminate", never, { "activeColor": { "alias": "activeColor"; "required": true; }; "label": { "alias": "label"; "required": false; }; }, {}, never, never, true, never>;
|
|
8
8
|
}
|
|
@@ -63,5 +63,5 @@ export declare class ProgressBarComponent implements OnInit {
|
|
|
63
63
|
ngOnInit(): void;
|
|
64
64
|
private validateInputs;
|
|
65
65
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarComponent, never>;
|
|
66
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ProgressBarComponent, "s-progressbar", never, { "value": { "alias": "value"; "required": false; }; "activeColor": { "alias": "activeColor"; "required": true; }; "numberFormatOptions": { "alias": "numberFormatOptions"; "required": false; }; "targetValue": { "alias": "targetValue"; "required": false; }; "label": { "alias": "label"; "required": false; }; "targetLabel": { "alias": "targetLabel"; "required": false; }; "showValue": { "alias": "showValue"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; }, {}, never, never,
|
|
66
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProgressBarComponent, "s-progressbar", never, { "value": { "alias": "value"; "required": false; }; "activeColor": { "alias": "activeColor"; "required": true; }; "numberFormatOptions": { "alias": "numberFormatOptions"; "required": false; }; "targetValue": { "alias": "targetValue"; "required": false; }; "label": { "alias": "label"; "required": false; }; "targetLabel": { "alias": "targetLabel"; "required": false; }; "showValue": { "alias": "showValue"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; }, {}, never, never, true, never>;
|
|
67
67
|
}
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./progressbar.component";
|
|
3
|
-
import * as i2 from "./components/progressbar-determinate/progressbar-determinate.component";
|
|
4
|
-
import * as i3 from "./components/progressbar-indeterminate/progressbar-indeterminate.component";
|
|
5
|
-
import * as i4 from "@angular/common";
|
|
6
|
-
import * as i5 from "@seniorsistemas/angular-components/locale";
|
|
7
3
|
export declare class ProgressBarModule {
|
|
8
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ProgressBarModule, [typeof i1.ProgressBarComponent
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProgressBarModule, never, [typeof i1.ProgressBarComponent], [typeof i1.ProgressBarComponent]>;
|
|
10
6
|
static ɵinj: i0.ɵɵInjectorDeclaration<ProgressBarModule>;
|
|
11
7
|
}
|
package/radio-button/README.md
CHANGED
|
@@ -112,6 +112,5 @@ export class MeuComponent {}
|
|
|
112
112
|
|
|
113
113
|
## Componentes relacionados
|
|
114
114
|
|
|
115
|
-
- [`RadioButtonGroup`](../radio-button-group/README.md) — agrupamento com layout e registro centralizado de radio buttons
|
|
116
115
|
- [`Checkbox`](../checkbox/README.md) — seleção múltipla
|
|
117
116
|
- [`Switch`](../switch/README.md) — alternador booleano simples
|
package/rating-scale/README.md
CHANGED
|
@@ -151,4 +151,4 @@ this.form = new FormGroup({
|
|
|
151
151
|
## Componentes relacionados
|
|
152
152
|
|
|
153
153
|
- [`StarRating`](../star-rating/README.md) — avaliação por estrelas com escala numérica fixa
|
|
154
|
-
- [`
|
|
154
|
+
- [`RadioButton`](../radio-button/README.md) — seleção única em lista de opções
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { RatingScaleNode } from './models/rating-scale-node';
|
|
2
1
|
import { ControlValueAccessor } from '@angular/forms';
|
|
2
|
+
import { RatingScaleNode } from './models/rating-scale-node';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
/**
|
|
5
5
|
* @description Componente de escala de avaliação que permite ao usuário selecionar um nó de uma escala visual.
|
|
@@ -42,5 +42,5 @@ export declare class RatingScaleComponent implements ControlValueAccessor {
|
|
|
42
42
|
registerOnTouched(onTouched: (value: RatingScaleNode) => void): void;
|
|
43
43
|
onSelect(rating: RatingScaleNode): void;
|
|
44
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<RatingScaleComponent, never>;
|
|
45
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RatingScaleComponent, "s-rating-scale", never, { "nodes": { "alias": "nodes"; "required": true; }; "startLabel": { "alias": "startLabel"; "required": false; }; "endLabel": { "alias": "endLabel"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never,
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RatingScaleComponent, "s-rating-scale", never, { "nodes": { "alias": "nodes"; "required": true; }; "startLabel": { "alias": "startLabel"; "required": false; }; "endLabel": { "alias": "endLabel"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, true, never>;
|
|
46
46
|
}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./rating-scale.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "@angular/forms";
|
|
5
3
|
export declare class RatingScaleModule {
|
|
6
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<RatingScaleModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<RatingScaleModule, [typeof i1.RatingScaleComponent], [typeof
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<RatingScaleModule, never, [typeof i1.RatingScaleComponent], [typeof i1.RatingScaleComponent]>;
|
|
8
6
|
static ɵinj: i0.ɵɵInjectorDeclaration<RatingScaleModule>;
|
|
9
7
|
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.migrate = migrate;
|
|
4
|
+
const ts = require("typescript");
|
|
5
|
+
const ast_utils_1 = require("../../utils/ast-utils");
|
|
6
|
+
const html_utils_1 = require("../../utils/html-utils");
|
|
7
|
+
const STEPS_MODULE = '@seniorsistemas/angular-components/steps';
|
|
8
|
+
const STEPPER_MODULE = '@seniorsistemas/angular-components/stepper';
|
|
9
|
+
// v18 name -> v19 name. Names absent from this map keep their original name (Step, StepState, StepSelectionEvent).
|
|
10
|
+
const RENAMED_SYMBOLS = {
|
|
11
|
+
StepsComponent: 'StepperComponent',
|
|
12
|
+
};
|
|
13
|
+
// StepperComponent is standalone now — the wrapper module is dropped; its usages become StepperComponent directly.
|
|
14
|
+
const DROPPED_MODULE_SYMBOL = 'StepsModule';
|
|
15
|
+
const ALL_IMPORT_NAMES = [
|
|
16
|
+
...Object.keys(RENAMED_SYMBOLS),
|
|
17
|
+
DROPPED_MODULE_SYMBOL,
|
|
18
|
+
'Step',
|
|
19
|
+
'StepState',
|
|
20
|
+
'StepSelectionEvent',
|
|
21
|
+
];
|
|
22
|
+
// Canonical order used when rebuilding the stepper import statement
|
|
23
|
+
const IMPORT_ORDER = ['StepperComponent', 'Step', 'StepState', 'StepSelectionEvent'];
|
|
24
|
+
function migrate() {
|
|
25
|
+
return (tree, context) => {
|
|
26
|
+
tree.visit((path) => {
|
|
27
|
+
if (path.includes('/node_modules/'))
|
|
28
|
+
return;
|
|
29
|
+
if (path.endsWith('.html')) {
|
|
30
|
+
migrateTemplate(tree, path);
|
|
31
|
+
}
|
|
32
|
+
else if (path.endsWith('.ts')) {
|
|
33
|
+
migrateTypeScript(tree, path, context);
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
function migrateTemplate(tree, path) {
|
|
39
|
+
const content = tree.readText(path);
|
|
40
|
+
if (!content.includes('s-steps'))
|
|
41
|
+
return;
|
|
42
|
+
let updated = content;
|
|
43
|
+
updated = updated.replace(/<s-steps\b/g, '<s-stepper');
|
|
44
|
+
updated = updated.replace(/<\/s-steps>/g, '</s-stepper>');
|
|
45
|
+
if (updated !== content) {
|
|
46
|
+
tree.overwrite(path, updated);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
function migrateTypeScript(tree, path, context) {
|
|
50
|
+
const content = tree.readText(path);
|
|
51
|
+
if (!content.includes(STEPS_MODULE))
|
|
52
|
+
return;
|
|
53
|
+
const sourceFile = ts.createSourceFile(path, content, ts.ScriptTarget.Latest, true);
|
|
54
|
+
const { changes: importChanges, removedNames } = (0, ast_utils_1.buildRemoveNamedImportsChanges)(sourceFile, ALL_IMPORT_NAMES, STEPS_MODULE);
|
|
55
|
+
if (removedNames.length === 0)
|
|
56
|
+
return;
|
|
57
|
+
// StepsModule/StepsComponent used in NgModule imports/exports, standalone Component imports,
|
|
58
|
+
// TestBed.configureTestingModule, etc. all collapse to the standalone StepperComponent.
|
|
59
|
+
const arrayChanges = (0, ast_utils_1.replaceIdentifierInArrayLiterals)(sourceFile, [DROPPED_MODULE_SYMBOL, 'StepsComponent'], 'StepperComponent');
|
|
60
|
+
let updated = (0, ast_utils_1.applyChanges)(content, [...importChanges, ...arrayChanges]);
|
|
61
|
+
updated = updated.replace(/\n{3,}/g, '\n\n');
|
|
62
|
+
// Rename remaining bare usages (type annotations, @ViewChild, etc.) of renamed symbols
|
|
63
|
+
for (const [oldName, newName] of Object.entries(RENAMED_SYMBOLS)) {
|
|
64
|
+
if (removedNames.includes(oldName)) {
|
|
65
|
+
updated = updated.replace(new RegExp(`\\b${oldName}\\b`, 'g'), newName);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
if (removedNames.includes(DROPPED_MODULE_SYMBOL) && new RegExp(`\\b${DROPPED_MODULE_SYMBOL}\\b`).test(updated)) {
|
|
69
|
+
context.logger.warn(`${path}: referência a "StepsModule" fora de um array de imports/exports/declarations não pôde ser migrada automaticamente. Substitua manualmente por "StepperComponent".`);
|
|
70
|
+
}
|
|
71
|
+
const neededImports = new Set();
|
|
72
|
+
for (const name of removedNames) {
|
|
73
|
+
neededImports.add(name === DROPPED_MODULE_SYMBOL ? 'StepperComponent' : (RENAMED_SYMBOLS[name] ?? name));
|
|
74
|
+
}
|
|
75
|
+
for (const name of IMPORT_ORDER) {
|
|
76
|
+
if (neededImports.has(name)) {
|
|
77
|
+
updated = ensureNamedImport(updated, name, STEPPER_MODULE);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
if (neededImports.has('StepperComponent')) {
|
|
81
|
+
updated = (0, ast_utils_1.ensureExportedSymbolIsImported)(updated, 'StepperComponent');
|
|
82
|
+
}
|
|
83
|
+
if (updated !== content) {
|
|
84
|
+
tree.overwrite(path, updated);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
// ─── Import merging helpers (mirrors migrate-dynamic-form-v19 / migrate-p-editor) ─────────────
|
|
88
|
+
function isSymbolImportedFrom(content, symbolName, fromModule) {
|
|
89
|
+
const regex = new RegExp(`import\\s*\\{[^}]*\\b${symbolName}\\b[^}]*\\}\\s*from\\s*['"]${(0, html_utils_1.escapeRegex)(fromModule)}['"]`);
|
|
90
|
+
return regex.test(content);
|
|
91
|
+
}
|
|
92
|
+
function ensureNamedImport(content, symbolName, fromModule) {
|
|
93
|
+
if (isSymbolImportedFrom(content, symbolName, fromModule))
|
|
94
|
+
return content;
|
|
95
|
+
const existingImportRegex = new RegExp(`(import\\s*\\{)([^}]*)(\\}\\s*from\\s*['"]${(0, html_utils_1.escapeRegex)(fromModule)}['"])`);
|
|
96
|
+
const match = existingImportRegex.exec(content);
|
|
97
|
+
if (match) {
|
|
98
|
+
const newNames = match[2].trimEnd();
|
|
99
|
+
const separator = newNames.endsWith(',') ? ' ' : ', ';
|
|
100
|
+
return content.replace(match[0], `${match[1]}${newNames}${separator}${symbolName}${match[3]}`);
|
|
101
|
+
}
|
|
102
|
+
return (0, ast_utils_1.insertImportStatement)(content, symbolName, fromModule);
|
|
103
|
+
}
|
|
104
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../projects/angular-components/schematics/migrations/migrate-steps-to-stepper/index.ts"],"names":[],"mappings":";;AAiCA,0BAWC;AA3CD,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AAK,GAAG,IAAI,MAAM,CAAC,wBAAwB,UAAU,8BAA8B,IAAA,wBAAW,EAAC,UAAU,CAAC,MAAM,CAAC,CAAC;IACxH,OAAO,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;AAC/B,CAAC;AAED,SAAS,iBAAiB,CAAC,OAAe,EAAE,UAAkB,EAAE,UAAkB;IAC9E,IAAI,oBAAoB,CAAC,OAAO,EAAE,UAAU,EAAE,UAAU,CAAC;QAAE,OAAO,OAAO,CAAC;IAE1E,MAAM,mBAAmB,GAAG,IAAI,MAAM,CAAC,6CAA6C,IAAA,wBAAW,EAAC,UAAU,CAAC,OAAO,CAAC,CAAC;IACpH,MAAM,KAAK,GAAG,mBAAmB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAChD,IAAI,KAAK,EAAE,CAAC;QACR,MAAM,QAAQ,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;QACpC,MAAM,SAAS,GAAG,QAAQ,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC;QACtD,OAAO,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,QAAQ,GAAG,SAAS,GAAG,UAAU,GAAG,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;IACnG,CAAC;IAED,OAAO,IAAA,iCAAqB,EAAC,OAAO,EAAE,UAAU,EAAE,UAAU,CAAC,CAAC;AAClE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const testing_1 = require("@angular-devkit/schematics/testing");
|
|
4
|
+
const schematics_1 = require("@angular-devkit/schematics");
|
|
5
|
+
const path = require("path");
|
|
6
|
+
const migrationsPath = path.join(__dirname, '../../migrations.json');
|
|
7
|
+
const runner = new testing_1.SchematicTestRunner('migrations', migrationsPath);
|
|
8
|
+
const MIGRATION = 'migration-v19-0-0-steps-to-stepper';
|
|
9
|
+
async function runMigration(files) {
|
|
10
|
+
const tree = new testing_1.UnitTestTree(schematics_1.Tree.empty());
|
|
11
|
+
for (const [filePath, content] of Object.entries(files)) {
|
|
12
|
+
tree.create(filePath, content);
|
|
13
|
+
}
|
|
14
|
+
return runner.runSchematic(MIGRATION, {}, tree);
|
|
15
|
+
}
|
|
16
|
+
describe('migrate-steps-to-stepper', () => {
|
|
17
|
+
// ─── Template (seletor) ─────────────────────────────────────────────────
|
|
18
|
+
it('deve renomear a tag <s-steps> para <s-stepper>', async () => {
|
|
19
|
+
const result = await runMigration({
|
|
20
|
+
'app.component.html': `<s-steps [steps]="etapas" [activeIndex]="0"></s-steps>`,
|
|
21
|
+
});
|
|
22
|
+
const html = result.readText('app.component.html');
|
|
23
|
+
expect(html).toContain('<s-stepper [steps]="etapas" [activeIndex]="0"></s-stepper>');
|
|
24
|
+
expect(html).not.toContain('s-steps');
|
|
25
|
+
});
|
|
26
|
+
it('deve renomear tag <s-steps> multi-linha e self-closing', async () => {
|
|
27
|
+
const result = await runMigration({
|
|
28
|
+
'app.component.html': `
|
|
29
|
+
<s-steps
|
|
30
|
+
[steps]="etapas"
|
|
31
|
+
[activeIndex]="etapaAtual"
|
|
32
|
+
(stepSelected)="onStepSelected($event)"
|
|
33
|
+
/>`,
|
|
34
|
+
});
|
|
35
|
+
const html = result.readText('app.component.html');
|
|
36
|
+
expect(html).toContain('<s-stepper');
|
|
37
|
+
expect(html).not.toContain('<s-steps');
|
|
38
|
+
});
|
|
39
|
+
it('não deve modificar HTML sem s-steps', async () => {
|
|
40
|
+
const content = `<div class="container"><p>Olá</p></div>`;
|
|
41
|
+
const result = await runMigration({ 'app.component.html': content });
|
|
42
|
+
expect(result.readText('app.component.html')).toBe(content);
|
|
43
|
+
});
|
|
44
|
+
// ─── Imports e símbolos ─────────────────────────────────────────────────
|
|
45
|
+
it('deve migrar o import do pacote steps para stepper e renomear StepsComponent para StepperComponent', async () => {
|
|
46
|
+
const result = await runMigration({
|
|
47
|
+
'app.component.ts': `import { StepsComponent } from '@seniorsistemas/angular-components/steps';
|
|
48
|
+
|
|
49
|
+
@Component({
|
|
50
|
+
standalone: true,
|
|
51
|
+
imports: [StepsComponent],
|
|
52
|
+
})
|
|
53
|
+
export class AppComponent {}
|
|
54
|
+
`,
|
|
55
|
+
});
|
|
56
|
+
const ts = result.readText('app.component.ts');
|
|
57
|
+
expect(ts).toContain(`import { StepperComponent } from '@seniorsistemas/angular-components/stepper';`);
|
|
58
|
+
expect(ts).toContain('imports: [StepperComponent]');
|
|
59
|
+
expect(ts).not.toContain('StepsComponent');
|
|
60
|
+
expect(ts).not.toContain("angular-components/steps'");
|
|
61
|
+
});
|
|
62
|
+
it('deve remover StepsModule (standalone) e substituir por StepperComponent nos imports/exports do NgModule', async () => {
|
|
63
|
+
const result = await runMigration({
|
|
64
|
+
'shared.module.ts': `import { NgModule } from '@angular/core';
|
|
65
|
+
import { StepsModule } from '@seniorsistemas/angular-components/steps';
|
|
66
|
+
|
|
67
|
+
@NgModule({
|
|
68
|
+
imports: [StepsModule],
|
|
69
|
+
exports: [StepsModule],
|
|
70
|
+
})
|
|
71
|
+
export class SharedModule {}
|
|
72
|
+
`,
|
|
73
|
+
});
|
|
74
|
+
const ts = result.readText('shared.module.ts');
|
|
75
|
+
expect(ts).toContain(`import { StepperComponent } from '@seniorsistemas/angular-components/stepper';`);
|
|
76
|
+
expect(ts).toContain('imports: [StepperComponent]');
|
|
77
|
+
expect(ts).toContain('exports: [StepperComponent]');
|
|
78
|
+
expect(ts).not.toContain('StepsModule');
|
|
79
|
+
});
|
|
80
|
+
it('deve adicionar StepperComponent em imports quando StepsModule só existia em exports (re-export sem import)', async () => {
|
|
81
|
+
const result = await runMigration({
|
|
82
|
+
'shared.module.ts': `import { NgModule } from '@angular/core';
|
|
83
|
+
import { ButtonComponent } from '@seniorsistemas/angular-components/button';
|
|
84
|
+
import { StepsModule } from '@seniorsistemas/angular-components/steps';
|
|
85
|
+
|
|
86
|
+
@NgModule({
|
|
87
|
+
imports: [ButtonComponent],
|
|
88
|
+
exports: [ButtonComponent, StepsModule],
|
|
89
|
+
})
|
|
90
|
+
export class SharedModule {}
|
|
91
|
+
`,
|
|
92
|
+
});
|
|
93
|
+
const ts = result.readText('shared.module.ts');
|
|
94
|
+
expect(ts).toContain('imports: [ButtonComponent, StepperComponent]');
|
|
95
|
+
expect(ts).toContain('exports: [ButtonComponent, StepperComponent]');
|
|
96
|
+
expect(ts).not.toContain('StepsModule');
|
|
97
|
+
});
|
|
98
|
+
it('deve substituir StepsModule por StepperComponent em TestBed.configureTestingModule', async () => {
|
|
99
|
+
const result = await runMigration({
|
|
100
|
+
'app.component.spec.ts': `import { TestBed } from '@angular/core/testing';
|
|
101
|
+
import { StepsModule } from '@seniorsistemas/angular-components/steps';
|
|
102
|
+
|
|
103
|
+
describe('AppComponent', () => {
|
|
104
|
+
beforeEach(() => {
|
|
105
|
+
TestBed.configureTestingModule({
|
|
106
|
+
imports: [StepsModule],
|
|
107
|
+
}).compileComponents();
|
|
108
|
+
});
|
|
109
|
+
});
|
|
110
|
+
`,
|
|
111
|
+
});
|
|
112
|
+
const ts = result.readText('app.component.spec.ts');
|
|
113
|
+
expect(ts).toContain('imports: [StepperComponent]');
|
|
114
|
+
expect(ts).toContain(`import { StepperComponent } from '@seniorsistemas/angular-components/stepper';`);
|
|
115
|
+
expect(ts).not.toContain('StepsModule');
|
|
116
|
+
});
|
|
117
|
+
it('deve manter os nomes de Step, StepState e StepSelectionEvent, apenas movendo o import para stepper', async () => {
|
|
118
|
+
const result = await runMigration({
|
|
119
|
+
'app.component.ts': `import { Step, StepState, StepSelectionEvent } from '@seniorsistemas/angular-components/steps';
|
|
120
|
+
|
|
121
|
+
export class AppComponent {
|
|
122
|
+
steps: Step[] = [];
|
|
123
|
+
state = StepState.Default;
|
|
124
|
+
|
|
125
|
+
onSelected(event: StepSelectionEvent): void {}
|
|
126
|
+
}
|
|
127
|
+
`,
|
|
128
|
+
});
|
|
129
|
+
const ts = result.readText('app.component.ts');
|
|
130
|
+
const importLines = ts.match(/import .* from '@seniorsistemas\/angular-components\/stepper';/g) ?? [];
|
|
131
|
+
expect(importLines.length).toBe(1);
|
|
132
|
+
expect(importLines[0]).toContain('Step');
|
|
133
|
+
expect(importLines[0]).toContain('StepState');
|
|
134
|
+
expect(importLines[0]).toContain('StepSelectionEvent');
|
|
135
|
+
expect(ts).not.toContain("angular-components/steps'");
|
|
136
|
+
});
|
|
137
|
+
it('deve consolidar todos os símbolos migrados em um único import de stepper', async () => {
|
|
138
|
+
const result = await runMigration({
|
|
139
|
+
'app.component.ts': `import { StepsComponent, StepsModule, Step, StepState, StepSelectionEvent } from '@seniorsistemas/angular-components/steps';
|
|
140
|
+
|
|
141
|
+
@Component({
|
|
142
|
+
standalone: true,
|
|
143
|
+
imports: [StepsComponent],
|
|
144
|
+
})
|
|
145
|
+
export class AppComponent {
|
|
146
|
+
steps: Step[] = [];
|
|
147
|
+
state = StepState.Default;
|
|
148
|
+
onSelected(event: StepSelectionEvent): void {}
|
|
149
|
+
}
|
|
150
|
+
`,
|
|
151
|
+
});
|
|
152
|
+
const ts = result.readText('app.component.ts');
|
|
153
|
+
const importLines = ts.match(/import .* from '@seniorsistemas\/angular-components\/stepper';/g) ?? [];
|
|
154
|
+
expect(importLines.length).toBe(1);
|
|
155
|
+
expect(importLines[0]).toContain('StepperComponent');
|
|
156
|
+
expect(importLines[0]).toContain('Step');
|
|
157
|
+
expect(importLines[0]).toContain('StepState');
|
|
158
|
+
expect(importLines[0]).toContain('StepSelectionEvent');
|
|
159
|
+
expect(ts).not.toContain('StepsModule');
|
|
160
|
+
expect(ts).not.toContain('StepsComponent');
|
|
161
|
+
});
|
|
162
|
+
it('deve renomear usos de StepsComponent fora de arrays (ex.: @ViewChild e anotação de tipo)', async () => {
|
|
163
|
+
const result = await runMigration({
|
|
164
|
+
'app.component.ts': `import { Component, ViewChild } from '@angular/core';
|
|
165
|
+
import { StepsComponent } from '@seniorsistemas/angular-components/steps';
|
|
166
|
+
|
|
167
|
+
@Component({ standalone: true, imports: [StepsComponent], template: '' })
|
|
168
|
+
export class AppComponent {
|
|
169
|
+
@ViewChild(StepsComponent) stepsRef!: StepsComponent;
|
|
170
|
+
}
|
|
171
|
+
`,
|
|
172
|
+
});
|
|
173
|
+
const ts = result.readText('app.component.ts');
|
|
174
|
+
expect(ts).toContain('@ViewChild(StepperComponent) stepsRef!: StepperComponent;');
|
|
175
|
+
expect(ts).not.toContain('StepsComponent');
|
|
176
|
+
});
|
|
177
|
+
it('deve mesclar o novo import ao import de stepper já existente, sem duplicar', async () => {
|
|
178
|
+
const result = await runMigration({
|
|
179
|
+
'app.component.ts': `import { StepperComponent } from '@seniorsistemas/angular-components/stepper';
|
|
180
|
+
import { Step } from '@seniorsistemas/angular-components/steps';
|
|
181
|
+
|
|
182
|
+
@Component({ standalone: true, imports: [StepperComponent], template: '' })
|
|
183
|
+
export class AppComponent {
|
|
184
|
+
steps: Step[] = [];
|
|
185
|
+
}
|
|
186
|
+
`,
|
|
187
|
+
});
|
|
188
|
+
const ts = result.readText('app.component.ts');
|
|
189
|
+
const importLines = ts.match(/import .* from '@seniorsistemas\/angular-components\/stepper';/g) ?? [];
|
|
190
|
+
expect(importLines.length).toBe(1);
|
|
191
|
+
expect(importLines[0]).toContain('StepperComponent');
|
|
192
|
+
expect(importLines[0]).toContain('Step');
|
|
193
|
+
expect(ts).not.toContain("angular-components/steps'");
|
|
194
|
+
});
|
|
195
|
+
it('não deve modificar arquivo .ts sem referência ao pacote steps', async () => {
|
|
196
|
+
const content = `import { Component } from '@angular/core';\n@Component({}) export class AppComponent {}\n`;
|
|
197
|
+
const result = await runMigration({ 'app.component.ts': content });
|
|
198
|
+
expect(result.readText('app.component.ts')).toBe(content);
|
|
199
|
+
});
|
|
200
|
+
it('não deve afetar arquivos que já usam o pacote stepper', async () => {
|
|
201
|
+
const content = `import { StepperComponent } from '@seniorsistemas/angular-components/stepper';\n@Component({ standalone: true, imports: [StepperComponent], template: '' })\nexport class AppComponent {}\n`;
|
|
202
|
+
const result = await runMigration({ 'app.component.ts': content });
|
|
203
|
+
expect(result.readText('app.component.ts')).toBe(content);
|
|
204
|
+
});
|
|
205
|
+
});
|
|
206
|
+
//# sourceMappingURL=index.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.test.js","sourceRoot":"","sources":["../../../../projects/angular-components/schematics/migrations/migrate-steps-to-stepper/index.test.ts"],"names":[],"mappings":";;AAAA,gEAAuF;AACvF,2DAAkD;AAClD,6BAA6B;AAE7B,MAAM,cAAc,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,uBAAuB,CAAC,CAAC;AACrE,MAAM,MAAM,GAAG,IAAI,6BAAmB,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC;AACrE,MAAM,SAAS,GAAG,oCAAoC,CAAC;AAEvD,KAAK,UAAU,YAAY,CAAC,KAA6B;IACrD,MAAM,IAAI,GAAG,IAAI,sBAAY,CAAC,iBAAI,CAAC,KAAK,EAAE,CAAC,CAAC;IAC5C,KAAK,MAAM,CAAC,QAAQ,EAAE,OAAO,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QACtD,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;IACnC,CAAC;IACD,OAAO,MAAM,CAAC,YAAY,CAAC,SAAS,EAAE,EAAE,EAAE,IAAI,CAAC,CAAC;AACpD,CAAC;AAED,QAAQ,CAAC,0BAA0B,EAAE,GAAG,EAAE;IACtC,2EAA2E;IAE3E,EAAE,CAAC,gDAAgD,EAAE,KAAK,IAAI,EAAE;QAC5D,MAAM,MAAM,GAAG,MAAM,YAAY,CAAC;YAC9B,oBA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CAAC,QAAQ,CAAC,kBAAkB,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC9D,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
|
|
@@ -6,6 +6,11 @@
|
|
|
6
6
|
"description": "Migra DynamicForm v18→v19: construtores → plain objects, enums → string literals, [fields] → [configs], Editor → provideEditorField(), estilos → angular.json",
|
|
7
7
|
"factory": "./migrations/migrate-dynamic-form-v19/index#migrate"
|
|
8
8
|
},
|
|
9
|
+
"migration-v19-0-0-steps-to-stepper": {
|
|
10
|
+
"version": "19.0.0",
|
|
11
|
+
"description": "Migra Steps para Stepper: <s-steps> → <s-stepper>, import '@seniorsistemas/angular-components/steps' → 'stepper', StepsComponent → StepperComponent, e remove StepsModule (standalone) substituindo por StepperComponent",
|
|
12
|
+
"factory": "./migrations/migrate-steps-to-stepper/index#migrate"
|
|
13
|
+
},
|
|
9
14
|
"migration-v19-6-2-s-chips-outputs": {
|
|
10
15
|
"version": "19.6.2",
|
|
11
16
|
"description": "Renomeia outputs legados do s-chips: onAdd→added, onRemove→removed, onChipClick→chipClicked, onFocus→focused, onBlur→focusLost",
|
|
@@ -19,6 +19,13 @@ export declare function buildRemoveNamedImportsChanges(sourceFile: ts.SourceFile
|
|
|
19
19
|
* If no imports exist, prepends to the file.
|
|
20
20
|
*/
|
|
21
21
|
export declare function insertImportStatement(content: string, name: string, fromModule: string): string;
|
|
22
|
+
/**
|
|
23
|
+
* Standalone components/directives/pipes can only appear in an @NgModule's `exports` if they
|
|
24
|
+
* are also present in that module's `imports` (the Angular compiler rejects export-only entries,
|
|
25
|
+
* unlike classic NgModules which can be re-exported without being imported). This backfills
|
|
26
|
+
* `imports` whenever `symbolName` ends up in `exports` without it.
|
|
27
|
+
*/
|
|
28
|
+
export declare function ensureExportedSymbolIsImported(content: string, symbolName: string): string;
|
|
22
29
|
export declare const ngModule: {
|
|
23
30
|
replaceInImports(sourceFile: ts.SourceFile, remove: string[], add: string): AstChange[];
|
|
24
31
|
replaceInExports(sourceFile: ts.SourceFile, remove: string[], add: string): AstChange[];
|
|
@@ -26,6 +33,12 @@ export declare const ngModule: {
|
|
|
26
33
|
export declare const ngComponent: {
|
|
27
34
|
replaceInImports(sourceFile: ts.SourceFile, remove: string[], add: string): AstChange[];
|
|
28
35
|
};
|
|
36
|
+
/**
|
|
37
|
+
* Replaces bare identifiers inside ANY array literal in the file (NgModule imports/exports,
|
|
38
|
+
* standalone Component imports, TestBed.configureTestingModule imports/declarations, etc.)
|
|
39
|
+
* with a single replacement identifier. Deduplicates if the replacement is already present.
|
|
40
|
+
*/
|
|
41
|
+
export declare function replaceIdentifierInArrayLiterals(sourceFile: ts.SourceFile, remove: string[], add: string): AstChange[];
|
|
29
42
|
/**
|
|
30
43
|
* Removes a property assignment from an object literal, handling comma cleanup.
|
|
31
44
|
* - Non-last property: removes from property start to next property start (trailing comma).
|
|
@@ -4,6 +4,8 @@ exports.ngComponent = exports.ngModule = void 0;
|
|
|
4
4
|
exports.applyChanges = applyChanges;
|
|
5
5
|
exports.buildRemoveNamedImportsChanges = buildRemoveNamedImportsChanges;
|
|
6
6
|
exports.insertImportStatement = insertImportStatement;
|
|
7
|
+
exports.ensureExportedSymbolIsImported = ensureExportedSymbolIsImported;
|
|
8
|
+
exports.replaceIdentifierInArrayLiterals = replaceIdentifierInArrayLiterals;
|
|
7
9
|
exports.buildRemoveObjectPropertyChange = buildRemoveObjectPropertyChange;
|
|
8
10
|
const ts = require("typescript");
|
|
9
11
|
function applyChanges(content, changes) {
|
|
@@ -101,6 +103,58 @@ function buildReplaceDecoratorPropertyArray(sourceFile, decoratorName, arrayProp
|
|
|
101
103
|
});
|
|
102
104
|
return changes;
|
|
103
105
|
}
|
|
106
|
+
/**
|
|
107
|
+
* Standalone components/directives/pipes can only appear in an @NgModule's `exports` if they
|
|
108
|
+
* are also present in that module's `imports` (the Angular compiler rejects export-only entries,
|
|
109
|
+
* unlike classic NgModules which can be re-exported without being imported). This backfills
|
|
110
|
+
* `imports` whenever `symbolName` ends up in `exports` without it.
|
|
111
|
+
*/
|
|
112
|
+
function ensureExportedSymbolIsImported(content, symbolName) {
|
|
113
|
+
const sourceFile = ts.createSourceFile('_temp.ts', content, ts.ScriptTarget.Latest, true);
|
|
114
|
+
const changes = [];
|
|
115
|
+
ts.forEachChild(sourceFile, (node) => {
|
|
116
|
+
if (!ts.isClassDeclaration(node))
|
|
117
|
+
return;
|
|
118
|
+
const decorators = ts.getDecorators(node);
|
|
119
|
+
if (!decorators)
|
|
120
|
+
return;
|
|
121
|
+
for (const decorator of decorators) {
|
|
122
|
+
if (!ts.isCallExpression(decorator.expression))
|
|
123
|
+
continue;
|
|
124
|
+
if (decorator.expression.expression.getText(sourceFile) !== 'NgModule')
|
|
125
|
+
continue;
|
|
126
|
+
const [arg] = decorator.expression.arguments;
|
|
127
|
+
if (!arg || !ts.isObjectLiteralExpression(arg))
|
|
128
|
+
continue;
|
|
129
|
+
const exportsProp = arg.properties.find((p) => ts.isPropertyAssignment(p) && p.name.getText(sourceFile) === 'exports');
|
|
130
|
+
if (!exportsProp || !ts.isArrayLiteralExpression(exportsProp.initializer))
|
|
131
|
+
continue;
|
|
132
|
+
const isExported = exportsProp.initializer.elements.some((el) => ts.isIdentifier(el) && el.text === symbolName);
|
|
133
|
+
if (!isExported)
|
|
134
|
+
continue;
|
|
135
|
+
const importsProp = arg.properties.find((p) => ts.isPropertyAssignment(p) && p.name.getText(sourceFile) === 'imports');
|
|
136
|
+
if (importsProp && ts.isArrayLiteralExpression(importsProp.initializer)) {
|
|
137
|
+
const alreadyImported = importsProp.initializer.elements.some((el) => ts.isIdentifier(el) && el.text === symbolName);
|
|
138
|
+
if (alreadyImported)
|
|
139
|
+
continue;
|
|
140
|
+
const elements = [...importsProp.initializer.elements.map((el) => el.getText(sourceFile)), symbolName];
|
|
141
|
+
changes.push({
|
|
142
|
+
start: importsProp.initializer.getStart(),
|
|
143
|
+
end: importsProp.initializer.getEnd(),
|
|
144
|
+
replacement: `[${elements.join(', ')}]`,
|
|
145
|
+
});
|
|
146
|
+
}
|
|
147
|
+
else {
|
|
148
|
+
changes.push({
|
|
149
|
+
start: exportsProp.getStart(),
|
|
150
|
+
end: exportsProp.getStart(),
|
|
151
|
+
replacement: `imports: [${symbolName}],\n `,
|
|
152
|
+
});
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
});
|
|
156
|
+
return applyChanges(content, changes);
|
|
157
|
+
}
|
|
104
158
|
exports.ngModule = {
|
|
105
159
|
replaceInImports(sourceFile, remove, add) {
|
|
106
160
|
return buildReplaceDecoratorPropertyArray(sourceFile, 'NgModule', 'imports', remove, add);
|
|
@@ -114,6 +168,28 @@ exports.ngComponent = {
|
|
|
114
168
|
return buildReplaceDecoratorPropertyArray(sourceFile, 'Component', 'imports', remove, add);
|
|
115
169
|
},
|
|
116
170
|
};
|
|
171
|
+
/**
|
|
172
|
+
* Replaces bare identifiers inside ANY array literal in the file (NgModule imports/exports,
|
|
173
|
+
* standalone Component imports, TestBed.configureTestingModule imports/declarations, etc.)
|
|
174
|
+
* with a single replacement identifier. Deduplicates if the replacement is already present.
|
|
175
|
+
*/
|
|
176
|
+
function replaceIdentifierInArrayLiterals(sourceFile, remove, add) {
|
|
177
|
+
const changes = [];
|
|
178
|
+
function visit(node) {
|
|
179
|
+
if (ts.isArrayLiteralExpression(node)) {
|
|
180
|
+
const elements = [...node.elements];
|
|
181
|
+
const kept = elements.filter((el) => !(ts.isIdentifier(el) && remove.includes(el.text)));
|
|
182
|
+
if (kept.length < elements.length) {
|
|
183
|
+
const keptTexts = kept.map((el) => el.getText(sourceFile));
|
|
184
|
+
const newElements = keptTexts.includes(add) ? keptTexts : [...keptTexts, add];
|
|
185
|
+
changes.push({ start: node.getStart(), end: node.getEnd(), replacement: `[${newElements.join(', ')}]` });
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
ts.forEachChild(node, visit);
|
|
189
|
+
}
|
|
190
|
+
visit(sourceFile);
|
|
191
|
+
return changes;
|
|
192
|
+
}
|
|
117
193
|
/**
|
|
118
194
|
* Removes a property assignment from an object literal, handling comma cleanup.
|
|
119
195
|
* - Non-last property: removes from property start to next property start (trailing comma).
|