ngx-tethys 17.0.0-next.3 → 17.0.0-next.5
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/CHANGELOG.md +13 -0
- package/esm2022/action/action.component.mjs +3 -3
- package/esm2022/action/action.module.mjs +4 -4
- package/esm2022/action/actions.component.mjs +3 -3
- package/esm2022/affix/affix.component.mjs +3 -3
- package/esm2022/affix/affix.module.mjs +4 -4
- package/esm2022/alert/alert.component.mjs +3 -3
- package/esm2022/alert/alert.directive.mjs +3 -3
- package/esm2022/alert/alert.module.mjs +4 -4
- package/esm2022/anchor/anchor-link.component.mjs +3 -3
- package/esm2022/anchor/anchor.component.mjs +3 -3
- package/esm2022/anchor/anchor.module.mjs +4 -4
- package/esm2022/arrow-switcher/arrow-switcher.component.mjs +3 -3
- package/esm2022/arrow-switcher/module.mjs +4 -4
- package/esm2022/autocomplete/autocomplete.component.mjs +3 -3
- package/esm2022/autocomplete/autocomplete.trigger.directive.mjs +3 -3
- package/esm2022/autocomplete/module.mjs +4 -4
- package/esm2022/autocomplete/overlay/autocomplete-container.component.mjs +3 -3
- package/esm2022/autocomplete/overlay/autocomplete.service.mjs +3 -3
- package/esm2022/avatar/avatar-list/avatar-list.component.mjs +3 -3
- package/esm2022/avatar/avatar.component.mjs +3 -3
- package/esm2022/avatar/avatar.module.mjs +4 -4
- package/esm2022/avatar/avatar.pipe.mjs +9 -9
- package/esm2022/avatar/avatar.service.mjs +3 -3
- package/esm2022/back-top/back-top.component.mjs +3 -3
- package/esm2022/back-top/back-top.module.mjs +4 -4
- package/esm2022/badge/badge.component.mjs +3 -3
- package/esm2022/badge/badge.module.mjs +4 -4
- package/esm2022/breadcrumb/breadcrumb-item.component.mjs +3 -3
- package/esm2022/breadcrumb/breadcrumb.component.mjs +3 -3
- package/esm2022/breadcrumb/module.mjs +4 -4
- package/esm2022/button/button-group.component.mjs +3 -3
- package/esm2022/button/button-icon.component.mjs +3 -3
- package/esm2022/button/button.component.mjs +3 -3
- package/esm2022/button/button.module.mjs +4 -4
- package/esm2022/calendar/calendar-cells.mjs +6 -6
- package/esm2022/calendar/calendar-header.component.mjs +3 -3
- package/esm2022/calendar/calendar.component.mjs +3 -3
- package/esm2022/calendar/module.mjs +4 -4
- package/esm2022/card/card.component.mjs +3 -3
- package/esm2022/card/card.module.mjs +4 -4
- package/esm2022/card/content.component.mjs +3 -3
- package/esm2022/card/header.component.mjs +3 -3
- package/esm2022/carousel/carousel-item.directive.mjs +3 -3
- package/esm2022/carousel/carousel.component.mjs +3 -3
- package/esm2022/carousel/carousel.service.mjs +3 -3
- package/esm2022/carousel/module.mjs +4 -4
- package/esm2022/cascader/cascader-li.component.mjs +3 -3
- package/esm2022/cascader/cascader-search-option.component.mjs +3 -3
- package/esm2022/cascader/cascader.component.mjs +3 -3
- package/esm2022/cascader/cascader.service.mjs +3 -3
- package/esm2022/cascader/module.mjs +4 -4
- package/esm2022/checkbox/checkbox.component.mjs +3 -3
- package/esm2022/checkbox/module.mjs +4 -4
- package/esm2022/collapse/collapse-item.component.mjs +3 -3
- package/esm2022/collapse/collapse.component.mjs +3 -3
- package/esm2022/collapse/module.mjs +4 -4
- package/esm2022/color-picker/color-picker-custom-panel.component.mjs +3 -3
- package/esm2022/color-picker/color-picker-panel.component.mjs +3 -3
- package/esm2022/color-picker/color-picker.component.mjs +3 -3
- package/esm2022/color-picker/coordinates.directive.mjs +3 -3
- package/esm2022/color-picker/module.mjs +4 -4
- package/esm2022/color-picker/parts/alpha/alpha.component.mjs +3 -3
- package/esm2022/color-picker/parts/hue/hue.component.mjs +3 -3
- package/esm2022/color-picker/parts/indicator/indicator.component.mjs +3 -3
- package/esm2022/color-picker/parts/inputs/inputs.component.mjs +3 -3
- package/esm2022/color-picker/parts/saturation/saturation.component.mjs +3 -3
- package/esm2022/comment/comment-actions.directive.mjs +3 -3
- package/esm2022/comment/comment-content.directive.mjs +3 -3
- package/esm2022/comment/comment.component.mjs +3 -3
- package/esm2022/comment/comment.module.mjs +4 -4
- package/esm2022/copy/copy.directive.mjs +3 -3
- package/esm2022/copy/module.mjs +4 -4
- package/esm2022/core/click-positioner.mjs +3 -3
- package/esm2022/core/overlay/portal-directives.mjs +3 -3
- package/esm2022/core/scroll.mjs +3 -3
- package/esm2022/core/store/store.mjs +3 -3
- package/esm2022/core/translate.mjs +3 -3
- package/esm2022/core/update-host-class.service.mjs +3 -3
- package/esm2022/date-picker/abstract-picker.component.mjs +3 -3
- package/esm2022/date-picker/abstract-picker.directive.mjs +3 -3
- package/esm2022/date-picker/base-picker.component.mjs +3 -3
- package/esm2022/date-picker/date-helper.service.mjs +3 -3
- package/esm2022/date-picker/date-picker.component.mjs +3 -3
- package/esm2022/date-picker/date-picker.directive.mjs +3 -3
- package/esm2022/date-picker/date-picker.module.mjs +4 -4
- package/esm2022/date-picker/date-picker.service.mjs +3 -3
- package/esm2022/date-picker/lib/calendar/calendar-footer.component.mjs +3 -3
- package/esm2022/date-picker/lib/calendar/calendar-header.component.mjs +3 -3
- package/esm2022/date-picker/lib/calendar/calendar-table.component.mjs +3 -3
- package/esm2022/date-picker/lib/date/date-header.component.mjs +3 -3
- package/esm2022/date-picker/lib/date/date-table-cell.component.mjs +3 -3
- package/esm2022/date-picker/lib/date/date-table.component.mjs +3 -3
- package/esm2022/date-picker/lib/date-carousel/date-carousel.component.mjs +3 -3
- package/esm2022/date-picker/lib/decade/decade-header.component.mjs +3 -3
- package/esm2022/date-picker/lib/decade/decade-table.component.mjs +3 -3
- package/esm2022/date-picker/lib/lib-packer.module.mjs +4 -4
- package/esm2022/date-picker/lib/month/month-header.component.mjs +3 -3
- package/esm2022/date-picker/lib/month/month-table.component.mjs +3 -3
- package/esm2022/date-picker/lib/popups/date-popup.component.mjs +3 -3
- package/esm2022/date-picker/lib/popups/inner-popup.component.mjs +3 -3
- package/esm2022/date-picker/lib/quarter/quarter-table.component.mjs +3 -3
- package/esm2022/date-picker/lib/year/year-header.component.mjs +3 -3
- package/esm2022/date-picker/lib/year/year-table.component.mjs +3 -3
- package/esm2022/date-picker/month-picker.component.mjs +3 -3
- package/esm2022/date-picker/picker.component.mjs +3 -3
- package/esm2022/date-picker/picker.pipes.mjs +12 -12
- package/esm2022/date-picker/picker.validators.mjs +6 -6
- package/esm2022/date-picker/quarter-picker.component.mjs +3 -3
- package/esm2022/date-picker/range-picker.component.mjs +3 -3
- package/esm2022/date-picker/range-picker.directive.mjs +3 -3
- package/esm2022/date-picker/week-picker.component.mjs +3 -3
- package/esm2022/date-picker/year-picker.component.mjs +3 -3
- package/esm2022/date-range/date-range.component.mjs +3 -3
- package/esm2022/date-range/module.mjs +4 -4
- package/esm2022/date-range/optional-dates/optional-dates.component.mjs +3 -3
- package/esm2022/dialog/body/dialog-body.component.mjs +3 -3
- package/esm2022/dialog/confirm/confirm.component.mjs +3 -3
- package/esm2022/dialog/dialog-container.component.mjs +3 -3
- package/esm2022/dialog/dialog.module.mjs +4 -4
- package/esm2022/dialog/dialog.service.mjs +3 -3
- package/esm2022/dialog/footer/dialog-footer.component.mjs +3 -3
- package/esm2022/dialog/header/dialog-header.component.mjs +3 -3
- package/esm2022/divider/divider.component.mjs +3 -3
- package/esm2022/divider/divider.module.mjs +4 -4
- package/esm2022/dot/dot.component.mjs +3 -3
- package/esm2022/dot/dot.module.mjs +4 -4
- package/esm2022/drag-drop/drag-content.directive.mjs +3 -3
- package/esm2022/drag-drop/drag-drop.service.mjs +3 -3
- package/esm2022/drag-drop/drag-handle.directive.mjs +3 -3
- package/esm2022/drag-drop/drag.directive.mjs +3 -3
- package/esm2022/drag-drop/drop-container.directive.mjs +3 -3
- package/esm2022/drag-drop/module.mjs +4 -4
- package/esm2022/dropdown/dropdown-active.directive.mjs +3 -3
- package/esm2022/dropdown/dropdown-menu-item.directive.mjs +21 -21
- package/esm2022/dropdown/dropdown-menu.component.mjs +12 -12
- package/esm2022/dropdown/dropdown-submenu.component.mjs +3 -3
- package/esm2022/dropdown/dropdown.directive.mjs +3 -3
- package/esm2022/dropdown/module.mjs +4 -4
- package/esm2022/empty/empty.component.mjs +3 -3
- package/esm2022/empty/empty.config.mjs +3 -3
- package/esm2022/empty/empty.module.mjs +4 -4
- package/esm2022/flexible-text/flexible-text.component.mjs +3 -3
- package/esm2022/flexible-text/flexible-text.module.mjs +4 -4
- package/esm2022/form/form-group-error/form-group-error.component.mjs +3 -3
- package/esm2022/form/form-group-label.directive.mjs +3 -3
- package/esm2022/form/form-group.component.mjs +3 -3
- package/esm2022/form/form-submit.directive.mjs +3 -3
- package/esm2022/form/form-validator-loader.mjs +3 -3
- package/esm2022/form/form-validator.service.mjs +3 -3
- package/esm2022/form/form.directive.mjs +3 -3
- package/esm2022/form/from-group-footer/form-group-footer.component.mjs +3 -3
- package/esm2022/form/module.mjs +4 -4
- package/esm2022/form/validator/confirm-validator.directive.mjs +3 -3
- package/esm2022/form/validator/max-validator.directive.mjs +3 -3
- package/esm2022/form/validator/min-validator.directive.mjs +3 -3
- package/esm2022/form/validator/unique-validator.directive.mjs +3 -3
- package/esm2022/fullscreen/fullscreen-launch.directive.mjs +3 -3
- package/esm2022/fullscreen/fullscreen.component.mjs +3 -3
- package/esm2022/fullscreen/fullscreen.module.mjs +4 -4
- package/esm2022/fullscreen/fullscreen.service.mjs +3 -3
- package/esm2022/grid/flex.mjs +12 -12
- package/esm2022/grid/module.mjs +4 -4
- package/esm2022/grid/thy-col.directive.mjs +3 -3
- package/esm2022/grid/thy-grid-item.component.mjs +3 -3
- package/esm2022/grid/thy-grid.component.mjs +6 -6
- package/esm2022/grid/thy-row.directive.mjs +3 -3
- package/esm2022/guider/guider-hint/guider-hint.component.mjs +3 -3
- package/esm2022/guider/guider-manager.mjs +3 -3
- package/esm2022/guider/guider.directive.mjs +3 -3
- package/esm2022/guider/guider.module.mjs +4 -4
- package/esm2022/guider/guider.service.mjs +3 -3
- package/esm2022/icon/icon-registry.mjs +3 -3
- package/esm2022/icon/icon.component.mjs +3 -3
- package/esm2022/icon/icon.module.mjs +4 -4
- package/esm2022/image/image-group.component.mjs +3 -3
- package/esm2022/image/image.directive.mjs +3 -3
- package/esm2022/image/image.service.mjs +3 -3
- package/esm2022/image/module.mjs +4 -4
- package/esm2022/image/preview/image-preview.component.mjs +3 -3
- package/esm2022/input/input-count.component.mjs +3 -3
- package/esm2022/input/input-group.component.mjs +3 -3
- package/esm2022/input/input-search.component.mjs +3 -3
- package/esm2022/input/input.component.mjs +3 -3
- package/esm2022/input/input.directive.mjs +3 -3
- package/esm2022/input/module.mjs +4 -4
- package/esm2022/input-number/input-number.component.mjs +3 -3
- package/esm2022/input-number/module.mjs +4 -4
- package/esm2022/layout/content-main.component.mjs +6 -6
- package/esm2022/layout/content-section.component.mjs +6 -6
- package/esm2022/layout/content.component.mjs +6 -6
- package/esm2022/layout/header.component.mjs +6 -6
- package/esm2022/layout/layout.component.mjs +6 -6
- package/esm2022/layout/layout.module.mjs +4 -4
- package/esm2022/layout/sidebar-content.component.mjs +6 -6
- package/esm2022/layout/sidebar-footer.component.mjs +6 -6
- package/esm2022/layout/sidebar-header.component.mjs +6 -6
- package/esm2022/layout/sidebar.component.mjs +6 -6
- package/esm2022/list/list-item-meta.component.mjs +3 -3
- package/esm2022/list/list-item.component.mjs +3 -3
- package/esm2022/list/list.component.mjs +3 -3
- package/esm2022/list/list.module.mjs +4 -4
- package/esm2022/list/selection/selection-list.mjs +3 -3
- package/esm2022/loading/loading.component.mjs +3 -3
- package/esm2022/loading/loading.module.mjs +4 -4
- package/esm2022/mention/mention.directive.mjs +3 -3
- package/esm2022/mention/mention.module.mjs +4 -4
- package/esm2022/mention/suggestions/suggestions.component.mjs +3 -3
- package/esm2022/menu/divider/menu-divider.component.mjs +3 -3
- package/esm2022/menu/group/menu-group.component.mjs +3 -3
- package/esm2022/menu/item/action/menu-item-action.component.mjs +3 -3
- package/esm2022/menu/item/icon/menu-item-icon.component.mjs +3 -3
- package/esm2022/menu/item/menu-item.component.mjs +3 -3
- package/esm2022/menu/item/name/menu-item-name.component.mjs +3 -3
- package/esm2022/menu/menu.component.mjs +3 -3
- package/esm2022/menu/menu.module.mjs +4 -4
- package/esm2022/message/abstract/abstract-message-container.component.mjs +3 -3
- package/esm2022/message/abstract/abstract-message.component.mjs +3 -3
- package/esm2022/message/message-container.component.mjs +3 -3
- package/esm2022/message/message-queue.service.mjs +3 -3
- package/esm2022/message/message.component.mjs +3 -3
- package/esm2022/message/message.service.mjs +3 -3
- package/esm2022/message/module.mjs +4 -4
- package/esm2022/nav/icon-nav/icon-nav-link.directive.mjs +3 -3
- package/esm2022/nav/icon-nav/icon-nav.component.mjs +3 -3
- package/esm2022/nav/nav-ink-bar.directive.mjs +3 -3
- package/esm2022/nav/nav-item.directive.mjs +3 -3
- package/esm2022/nav/nav.component.mjs +3 -3
- package/esm2022/nav/nav.module.mjs +4 -4
- package/esm2022/nav/nav.pipe.mjs +3 -3
- package/esm2022/notify/module.mjs +4 -4
- package/esm2022/notify/notify-container.component.mjs +3 -3
- package/esm2022/notify/notify-queue.service.mjs +3 -3
- package/esm2022/notify/notify.component.mjs +3 -3
- package/esm2022/notify/notify.service.mjs +3 -3
- package/esm2022/pagination/pagination.component.mjs +3 -3
- package/esm2022/pagination/pagination.module.mjs +4 -4
- package/esm2022/pagination/pagination.pipe.mjs +3 -3
- package/esm2022/popover/body/popover-body.component.mjs +3 -3
- package/esm2022/popover/header/popover-header.component.mjs +3 -3
- package/esm2022/popover/module.mjs +4 -4
- package/esm2022/popover/popover-container.component.mjs +3 -3
- package/esm2022/popover/popover.directive.mjs +3 -3
- package/esm2022/popover/popover.service.mjs +3 -3
- package/esm2022/progress/progress-circle.component.mjs +3 -3
- package/esm2022/progress/progress-strip.component.mjs +3 -3
- package/esm2022/progress/progress.component.mjs +3 -3
- package/esm2022/progress/progress.module.mjs +4 -4
- package/esm2022/property/module.mjs +4 -4
- package/esm2022/property/properties.component.mjs +3 -3
- package/esm2022/property/property-item.component.mjs +3 -3
- package/esm2022/property-operation/group/property-operation-group.component.mjs +3 -3
- package/esm2022/property-operation/module.mjs +4 -4
- package/esm2022/property-operation/property-operation.component.mjs +3 -3
- package/esm2022/radio/button/radio-button.component.mjs +3 -3
- package/esm2022/radio/group/radio-group.component.mjs +3 -3
- package/esm2022/radio/module.mjs +4 -4
- package/esm2022/radio/radio.component.mjs +3 -3
- package/esm2022/rate/module.mjs +4 -4
- package/esm2022/rate/rate-item.component.mjs +3 -3
- package/esm2022/rate/rate.component.mjs +3 -3
- package/esm2022/resizable/module.mjs +4 -4
- package/esm2022/resizable/resizable.directive.mjs +3 -3
- package/esm2022/resizable/resizable.service.mjs +3 -3
- package/esm2022/resizable/resize-handle.component.mjs +3 -3
- package/esm2022/resizable/resize-handles.component.mjs +3 -3
- package/esm2022/result/result.component.mjs +3 -3
- package/esm2022/result/result.module.mjs +4 -4
- package/esm2022/segment/segment-item.component.mjs +3 -3
- package/esm2022/segment/segment.component.mjs +3 -3
- package/esm2022/segment/segment.module.mjs +4 -4
- package/esm2022/select/custom-select/custom-select.component.mjs +3 -3
- package/esm2022/select/module.mjs +4 -4
- package/esm2022/select/native-select/native-select.component.mjs +3 -3
- package/esm2022/shared/base-form-check.component.mjs +3 -3
- package/esm2022/shared/directives/string-or-template-outlet.directive.mjs +3 -3
- package/esm2022/shared/directives/thy-autofocus.directive.mjs +3 -3
- package/esm2022/shared/directives/thy-contextmenu.directive.mjs +3 -3
- package/esm2022/shared/directives/thy-ctrl-enter.directive.mjs +3 -3
- package/esm2022/shared/directives/thy-drag-drop.directive.mjs +3 -3
- package/esm2022/shared/directives/thy-enter.directive.mjs +3 -3
- package/esm2022/shared/directives/thy-scroll.directive.mjs +3 -3
- package/esm2022/shared/directives/thy-show.mjs +3 -3
- package/esm2022/shared/directives/thy-stop-propagation.directive.mjs +3 -3
- package/esm2022/shared/directives/view-outlet.directive.mjs +3 -3
- package/esm2022/shared/ng-transclude.directive.mjs +3 -3
- package/esm2022/shared/option/group/option-group.component.mjs +3 -3
- package/esm2022/shared/option/list-option/list-option.component.mjs +3 -3
- package/esm2022/shared/option/module.mjs +4 -4
- package/esm2022/shared/option/option-group.component.mjs +3 -3
- package/esm2022/shared/option/option.component.mjs +3 -3
- package/esm2022/shared/option/options-container.component.mjs +3 -3
- package/esm2022/shared/select/module.mjs +4 -4
- package/esm2022/shared/select/select-control/select-control.component.mjs +3 -3
- package/esm2022/shared/shared.module.mjs +4 -4
- package/esm2022/skeleton/module.mjs +4 -4
- package/esm2022/skeleton/skeleton-circle.component.mjs +3 -3
- package/esm2022/skeleton/skeleton-rectangle.component.mjs +3 -3
- package/esm2022/skeleton/skeleton.component.mjs +3 -3
- package/esm2022/skeleton/stylized/bullet-list.component.mjs +3 -3
- package/esm2022/skeleton/stylized/list.component.mjs +3 -3
- package/esm2022/skeleton/stylized/paragraph.component.mjs +3 -3
- package/esm2022/slide/drawer/drawer-container.directive.mjs +3 -3
- package/esm2022/slide/slide-body/slide-body-section.component.mjs +3 -3
- package/esm2022/slide/slide-body/slide-body.component.mjs +3 -3
- package/esm2022/slide/slide-container.component.mjs +3 -3
- package/esm2022/slide/slide-footer/slide-footer.component.mjs +3 -3
- package/esm2022/slide/slide-header/slide-header.component.mjs +3 -3
- package/esm2022/slide/slide-layout/slide-layout.component.mjs +3 -3
- package/esm2022/slide/slide-ref.service.mjs +3 -3
- package/esm2022/slide/slide.module.mjs +4 -4
- package/esm2022/slide/slide.service.mjs +3 -3
- package/esm2022/slider/slider.component.mjs +3 -3
- package/esm2022/slider/slider.module.mjs +4 -4
- package/esm2022/space/space.component.mjs +6 -6
- package/esm2022/space/space.module.mjs +4 -4
- package/esm2022/statistic/statistic.component.mjs +3 -3
- package/esm2022/statistic/statistic.module.mjs +4 -4
- package/esm2022/stepper/step-header.component.mjs +3 -3
- package/esm2022/stepper/step.component.mjs +3 -3
- package/esm2022/stepper/stepper-button.directive.mjs +6 -6
- package/esm2022/stepper/stepper.component.mjs +3 -3
- package/esm2022/stepper/stepper.module.mjs +4 -4
- package/esm2022/strength/strength.component.mjs +3 -3
- package/esm2022/strength/strength.module.mjs +4 -4
- package/esm2022/switch/switch.component.mjs +3 -3
- package/esm2022/switch/switch.module.mjs +4 -4
- package/esm2022/table/pipes/drag.pipe.mjs +3 -3
- package/esm2022/table/pipes/table.pipe.mjs +3 -3
- package/esm2022/table/table-column.component.mjs +3 -3
- package/esm2022/table/table-skeleton.component.mjs +3 -3
- package/esm2022/table/table.component.mjs +3 -3
- package/esm2022/table/table.module.mjs +4 -4
- package/esm2022/tabs/tab-content.component.mjs +3 -3
- package/esm2022/tabs/tab.component.mjs +3 -3
- package/esm2022/tabs/tabs.component.mjs +3 -3
- package/esm2022/tabs/tabs.module.mjs +4 -4
- package/esm2022/tag/tag.component.mjs +3 -3
- package/esm2022/tag/tag.module.mjs +4 -4
- package/esm2022/tag/tags.component.mjs +3 -3
- package/esm2022/time-picker/inner/inner-time-picker.component.mjs +3 -3
- package/esm2022/time-picker/inner/inner-time-picker.config.mjs +3 -3
- package/esm2022/time-picker/inner/inner-time-picker.store.mjs +3 -3
- package/esm2022/time-picker/time-picker-panel.component.mjs +3 -3
- package/esm2022/time-picker/time-picker.component.mjs +3 -3
- package/esm2022/time-picker/time-picker.module.mjs +4 -4
- package/esm2022/timeline/timeline-item.component.mjs +3 -3
- package/esm2022/timeline/timeline.component.mjs +3 -3
- package/esm2022/timeline/timeline.module.mjs +4 -4
- package/esm2022/timeline/timeline.service.mjs +3 -3
- package/esm2022/tooltip/tooltip.component.mjs +3 -3
- package/esm2022/tooltip/tooltip.directive.mjs +3 -3
- package/esm2022/tooltip/tooltip.module.mjs +4 -4
- package/esm2022/tooltip/tooltip.service.mjs +3 -3
- package/esm2022/transfer/transfer-list.component.mjs +3 -3
- package/esm2022/transfer/transfer.component.mjs +3 -3
- package/esm2022/transfer/transfer.module.mjs +4 -4
- package/esm2022/tree/tree-node.component.mjs +3 -3
- package/esm2022/tree/tree.component.mjs +3 -3
- package/esm2022/tree/tree.module.mjs +4 -4
- package/esm2022/tree/tree.pipe.mjs +3 -3
- package/esm2022/tree/tree.service.mjs +3 -3
- package/esm2022/tree-select/module.mjs +4 -4
- package/esm2022/tree-select/tree-select.component.mjs +6 -6
- package/esm2022/typography/bg-color.directive.mjs +3 -3
- package/esm2022/typography/module.mjs +4 -4
- package/esm2022/typography/text/text.component.mjs +3 -3
- package/esm2022/typography/text-color.directive.mjs +3 -3
- package/esm2022/upload/file-drop.directive.mjs +3 -3
- package/esm2022/upload/file-select-base.mjs +3 -3
- package/esm2022/upload/file-select.component.mjs +3 -3
- package/esm2022/upload/module.mjs +4 -4
- package/esm2022/upload/upload.service.mjs +3 -3
- package/esm2022/version.mjs +2 -2
- package/esm2022/vote/vote.component.mjs +3 -3
- package/esm2022/vote/vote.module.mjs +4 -4
- package/esm2022/watermark/watermark.directive.mjs +3 -3
- package/esm2022/watermark/watermark.module.mjs +4 -4
- package/fesm2022/ngx-tethys-action.mjs +10 -10
- package/fesm2022/ngx-tethys-affix.mjs +7 -7
- package/fesm2022/ngx-tethys-alert.mjs +10 -10
- package/fesm2022/ngx-tethys-anchor.mjs +10 -10
- package/fesm2022/ngx-tethys-arrow-switcher.mjs +7 -7
- package/fesm2022/ngx-tethys-autocomplete.mjs +16 -16
- package/fesm2022/ngx-tethys-avatar.mjs +22 -22
- package/fesm2022/ngx-tethys-back-top.mjs +7 -7
- package/fesm2022/ngx-tethys-badge.mjs +7 -7
- package/fesm2022/ngx-tethys-breadcrumb.mjs +10 -10
- package/fesm2022/ngx-tethys-button.mjs +13 -13
- package/fesm2022/ngx-tethys-calendar.mjs +16 -16
- package/fesm2022/ngx-tethys-card.mjs +13 -13
- package/fesm2022/ngx-tethys-carousel.mjs +13 -13
- package/fesm2022/ngx-tethys-cascader.mjs +16 -16
- package/fesm2022/ngx-tethys-checkbox.mjs +7 -7
- package/fesm2022/ngx-tethys-collapse.mjs +10 -10
- package/fesm2022/ngx-tethys-color-picker.mjs +31 -31
- package/fesm2022/ngx-tethys-comment.mjs +13 -13
- package/fesm2022/ngx-tethys-copy.mjs +7 -7
- package/fesm2022/ngx-tethys-core.mjs +18 -18
- package/fesm2022/ngx-tethys-date-picker.mjs +116 -116
- package/fesm2022/ngx-tethys-date-range.mjs +10 -10
- package/fesm2022/ngx-tethys-dialog.mjs +22 -22
- package/fesm2022/ngx-tethys-divider.mjs +7 -7
- package/fesm2022/ngx-tethys-dot.mjs +7 -7
- package/fesm2022/ngx-tethys-drag-drop.mjs +19 -19
- package/fesm2022/ngx-tethys-dropdown.mjs +46 -46
- package/fesm2022/ngx-tethys-empty.mjs +10 -10
- package/fesm2022/ngx-tethys-flexible-text.mjs +7 -7
- package/fesm2022/ngx-tethys-form.mjs +40 -40
- package/fesm2022/ngx-tethys-fullscreen.mjs +13 -13
- package/fesm2022/ngx-tethys-grid.mjs +31 -31
- package/fesm2022/ngx-tethys-guider.mjs +16 -16
- package/fesm2022/ngx-tethys-icon.mjs +10 -10
- package/fesm2022/ngx-tethys-image.mjs +16 -16
- package/fesm2022/ngx-tethys-input-number.mjs +7 -7
- package/fesm2022/ngx-tethys-input.mjs +19 -19
- package/fesm2022/ngx-tethys-layout.mjs +58 -58
- package/fesm2022/ngx-tethys-list.mjs +16 -16
- package/fesm2022/ngx-tethys-loading.mjs +7 -7
- package/fesm2022/ngx-tethys-mention.mjs +10 -10
- package/fesm2022/ngx-tethys-menu.mjs +25 -25
- package/fesm2022/ngx-tethys-message.mjs +22 -22
- package/fesm2022/ngx-tethys-nav.mjs +22 -22
- package/fesm2022/ngx-tethys-notify.mjs +16 -16
- package/fesm2022/ngx-tethys-pagination.mjs +10 -10
- package/fesm2022/ngx-tethys-popover.mjs +19 -19
- package/fesm2022/ngx-tethys-progress.mjs +13 -13
- package/fesm2022/ngx-tethys-property-operation.mjs +10 -10
- package/fesm2022/ngx-tethys-property.mjs +10 -10
- package/fesm2022/ngx-tethys-radio.mjs +13 -13
- package/fesm2022/ngx-tethys-rate.mjs +10 -10
- package/fesm2022/ngx-tethys-resizable.mjs +16 -16
- package/fesm2022/ngx-tethys-result.mjs +7 -7
- package/fesm2022/ngx-tethys-segment.mjs +10 -10
- package/fesm2022/ngx-tethys-select.mjs +10 -10
- package/fesm2022/ngx-tethys-shared.mjs +66 -66
- package/fesm2022/ngx-tethys-skeleton.mjs +22 -22
- package/fesm2022/ngx-tethys-slide.mjs +31 -31
- package/fesm2022/ngx-tethys-slider.mjs +7 -7
- package/fesm2022/ngx-tethys-space.mjs +10 -10
- package/fesm2022/ngx-tethys-statistic.mjs +7 -7
- package/fesm2022/ngx-tethys-stepper.mjs +19 -19
- package/fesm2022/ngx-tethys-strength.mjs +7 -7
- package/fesm2022/ngx-tethys-switch.mjs +7 -7
- package/fesm2022/ngx-tethys-table.mjs +19 -19
- package/fesm2022/ngx-tethys-tabs.mjs +13 -13
- package/fesm2022/ngx-tethys-tag.mjs +10 -10
- package/fesm2022/ngx-tethys-time-picker.mjs +19 -19
- package/fesm2022/ngx-tethys-timeline.mjs +13 -13
- package/fesm2022/ngx-tethys-tooltip.mjs +13 -13
- package/fesm2022/ngx-tethys-transfer.mjs +10 -10
- package/fesm2022/ngx-tethys-tree-select.mjs +10 -10
- package/fesm2022/ngx-tethys-tree.mjs +16 -16
- package/fesm2022/ngx-tethys-typography.mjs +13 -13
- package/fesm2022/ngx-tethys-upload.mjs +16 -16
- package/fesm2022/ngx-tethys-vote.mjs +7 -7
- package/fesm2022/ngx-tethys-watermark.mjs +7 -7
- package/fesm2022/ngx-tethys.mjs +1 -1
- package/fesm2022/ngx-tethys.mjs.map +1 -1
- package/package.json +127 -127
- package/schematics/ng-update/core/complete.d.ts +0 -1
- package/schematics/ng-update/core/complete.js +1 -10
- package/schematics/ng-update/update-17/class-name-migration.d.ts +12 -0
- package/schematics/ng-update/update-17/class-name-migration.js +62 -0
- package/schematics/ng-update/update-17/index.js +4 -3
- package/schematics/ng-update/update-17/index.spec.js +57 -0
- package/schematics/ng-update/update-17/update-data.d.ts +2 -0
- package/schematics/ng-update/update-17/update-data.js +788 -0
- package/schematics/version.d.ts +1 -1
- package/schematics/version.js +1 -1
- package/schematics/ng-update/core/html-parsing.d.ts +0 -175
- package/schematics/ng-update/core/html-parsing.js +0 -237
- package/schematics/ng-update/core/module-specifiers.d.ts +0 -4
- package/schematics/ng-update/core/module-specifiers.js +0 -20
- package/schematics/ng-update/core/upgrade-data.d.ts +0 -14
- package/schematics/ng-update/core/upgrade-data.js +0 -12
- package/schematics/ng-update/data/after-insert-element.d.ts +0 -40
- package/schematics/ng-update/data/after-insert-element.js +0 -27
- package/schematics/ng-update/data/attribute-selectors.d.ts +0 -2
- package/schematics/ng-update/data/attribute-selectors.js +0 -53
- package/schematics/ng-update/data/before-insert-element.d.ts +0 -40
- package/schematics/ng-update/data/before-insert-element.js +0 -27
- package/schematics/ng-update/data/class-names.d.ts +0 -2
- package/schematics/ng-update/data/class-names.js +0 -837
- package/schematics/ng-update/data/constructor-checks.d.ts +0 -2
- package/schematics/ng-update/data/constructor-checks.js +0 -4
- package/schematics/ng-update/data/css-selectors.d.ts +0 -20
- package/schematics/ng-update/data/css-selectors.js +0 -49
- package/schematics/ng-update/data/element-selectors.d.ts +0 -2
- package/schematics/ng-update/data/element-selectors.js +0 -33
- package/schematics/ng-update/data/entry-points.d.ts +0 -18
- package/schematics/ng-update/data/entry-points.js +0 -21
- package/schematics/ng-update/data/index.d.ts +0 -17
- package/schematics/ng-update/data/index.js +0 -53
- package/schematics/ng-update/data/input-names-removal.d.ts +0 -33
- package/schematics/ng-update/data/input-names-removal.js +0 -43
- package/schematics/ng-update/data/input-names.d.ts +0 -2
- package/schematics/ng-update/data/input-names.js +0 -69
- package/schematics/ng-update/data/input-values.d.ts +0 -40
- package/schematics/ng-update/data/input-values.js +0 -132
- package/schematics/ng-update/data/method-call-checks.d.ts +0 -2
- package/schematics/ng-update/data/method-call-checks.js +0 -4
- package/schematics/ng-update/data/output-names-removal.d.ts +0 -33
- package/schematics/ng-update/data/output-names-removal.js +0 -19
- package/schematics/ng-update/data/output-names.d.ts +0 -2
- package/schematics/ng-update/data/output-names.js +0 -4
- package/schematics/ng-update/data/property-names.d.ts +0 -2
- package/schematics/ng-update/data/property-names.js +0 -4
- package/schematics/ng-update/data/symbol-removal.d.ts +0 -11
- package/schematics/ng-update/data/symbol-removal.js +0 -4
- package/schematics/ng-update/migrations/after-insert-element.d.ts +0 -17
- package/schematics/ng-update/migrations/after-insert-element.js +0 -53
- package/schematics/ng-update/migrations/before-insert-element.d.ts +0 -17
- package/schematics/ng-update/migrations/before-insert-element.js +0 -53
- package/schematics/ng-update/migrations/checks/action-menu-removal-rule.d.ts +0 -13
- package/schematics/ng-update/migrations/checks/action-menu-removal-rule.js +0 -80
- package/schematics/ng-update/migrations/checks/label-removal-rule.d.ts +0 -9
- package/schematics/ng-update/migrations/checks/label-removal-rule.js +0 -77
- package/schematics/ng-update/migrations/class-names.d.ts +0 -50
- package/schematics/ng-update/migrations/class-names.js +0 -105
- package/schematics/ng-update/migrations/entry-points.d.ts +0 -17
- package/schematics/ng-update/migrations/entry-points.js +0 -69
- package/schematics/ng-update/migrations/input-names-removal.d.ts +0 -16
- package/schematics/ng-update/migrations/input-names-removal.js +0 -43
- package/schematics/ng-update/migrations/input-values.d.ts +0 -16
- package/schematics/ng-update/migrations/input-values.js +0 -65
- package/schematics/ng-update/migrations/output-names-removal.d.ts +0 -16
- package/schematics/ng-update/migrations/output-names-removal.js +0 -43
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ngx-tethys",
|
|
3
|
-
"version": "17.0.0-next.
|
|
3
|
+
"version": "17.0.0-next.5",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+ssh://git@github.com/atinc/ngx-tethys.git"
|
|
@@ -28,6 +28,12 @@
|
|
|
28
28
|
"./package.json": {
|
|
29
29
|
"default": "./package.json"
|
|
30
30
|
},
|
|
31
|
+
"./action": {
|
|
32
|
+
"types": "./action/index.d.ts",
|
|
33
|
+
"esm2022": "./esm2022/action/ngx-tethys-action.mjs",
|
|
34
|
+
"esm": "./esm2022/action/ngx-tethys-action.mjs",
|
|
35
|
+
"default": "./fesm2022/ngx-tethys-action.mjs"
|
|
36
|
+
},
|
|
31
37
|
"./affix": {
|
|
32
38
|
"types": "./affix/index.d.ts",
|
|
33
39
|
"esm2022": "./esm2022/affix/ngx-tethys-affix.mjs",
|
|
@@ -46,30 +52,24 @@
|
|
|
46
52
|
"esm": "./esm2022/anchor/ngx-tethys-anchor.mjs",
|
|
47
53
|
"default": "./fesm2022/ngx-tethys-anchor.mjs"
|
|
48
54
|
},
|
|
49
|
-
"./autocomplete": {
|
|
50
|
-
"types": "./autocomplete/index.d.ts",
|
|
51
|
-
"esm2022": "./esm2022/autocomplete/ngx-tethys-autocomplete.mjs",
|
|
52
|
-
"esm": "./esm2022/autocomplete/ngx-tethys-autocomplete.mjs",
|
|
53
|
-
"default": "./fesm2022/ngx-tethys-autocomplete.mjs"
|
|
54
|
-
},
|
|
55
55
|
"./arrow-switcher": {
|
|
56
56
|
"types": "./arrow-switcher/index.d.ts",
|
|
57
57
|
"esm2022": "./esm2022/arrow-switcher/ngx-tethys-arrow-switcher.mjs",
|
|
58
58
|
"esm": "./esm2022/arrow-switcher/ngx-tethys-arrow-switcher.mjs",
|
|
59
59
|
"default": "./fesm2022/ngx-tethys-arrow-switcher.mjs"
|
|
60
60
|
},
|
|
61
|
+
"./autocomplete": {
|
|
62
|
+
"types": "./autocomplete/index.d.ts",
|
|
63
|
+
"esm2022": "./esm2022/autocomplete/ngx-tethys-autocomplete.mjs",
|
|
64
|
+
"esm": "./esm2022/autocomplete/ngx-tethys-autocomplete.mjs",
|
|
65
|
+
"default": "./fesm2022/ngx-tethys-autocomplete.mjs"
|
|
66
|
+
},
|
|
61
67
|
"./avatar": {
|
|
62
68
|
"types": "./avatar/index.d.ts",
|
|
63
69
|
"esm2022": "./esm2022/avatar/ngx-tethys-avatar.mjs",
|
|
64
70
|
"esm": "./esm2022/avatar/ngx-tethys-avatar.mjs",
|
|
65
71
|
"default": "./fesm2022/ngx-tethys-avatar.mjs"
|
|
66
72
|
},
|
|
67
|
-
"./action": {
|
|
68
|
-
"types": "./action/index.d.ts",
|
|
69
|
-
"esm2022": "./esm2022/action/ngx-tethys-action.mjs",
|
|
70
|
-
"esm": "./esm2022/action/ngx-tethys-action.mjs",
|
|
71
|
-
"default": "./fesm2022/ngx-tethys-action.mjs"
|
|
72
|
-
},
|
|
73
73
|
"./back-top": {
|
|
74
74
|
"types": "./back-top/index.d.ts",
|
|
75
75
|
"esm2022": "./esm2022/back-top/ngx-tethys-back-top.mjs",
|
|
@@ -94,11 +94,11 @@
|
|
|
94
94
|
"esm": "./esm2022/button/ngx-tethys-button.mjs",
|
|
95
95
|
"default": "./fesm2022/ngx-tethys-button.mjs"
|
|
96
96
|
},
|
|
97
|
-
"./
|
|
98
|
-
"types": "./
|
|
99
|
-
"esm2022": "./esm2022/
|
|
100
|
-
"esm": "./esm2022/
|
|
101
|
-
"default": "./fesm2022/ngx-tethys-
|
|
97
|
+
"./calendar": {
|
|
98
|
+
"types": "./calendar/index.d.ts",
|
|
99
|
+
"esm2022": "./esm2022/calendar/ngx-tethys-calendar.mjs",
|
|
100
|
+
"esm": "./esm2022/calendar/ngx-tethys-calendar.mjs",
|
|
101
|
+
"default": "./fesm2022/ngx-tethys-calendar.mjs"
|
|
102
102
|
},
|
|
103
103
|
"./card": {
|
|
104
104
|
"types": "./card/index.d.ts",
|
|
@@ -106,6 +106,18 @@
|
|
|
106
106
|
"esm": "./esm2022/card/ngx-tethys-card.mjs",
|
|
107
107
|
"default": "./fesm2022/ngx-tethys-card.mjs"
|
|
108
108
|
},
|
|
109
|
+
"./carousel": {
|
|
110
|
+
"types": "./carousel/index.d.ts",
|
|
111
|
+
"esm2022": "./esm2022/carousel/ngx-tethys-carousel.mjs",
|
|
112
|
+
"esm": "./esm2022/carousel/ngx-tethys-carousel.mjs",
|
|
113
|
+
"default": "./fesm2022/ngx-tethys-carousel.mjs"
|
|
114
|
+
},
|
|
115
|
+
"./cascader": {
|
|
116
|
+
"types": "./cascader/index.d.ts",
|
|
117
|
+
"esm2022": "./esm2022/cascader/ngx-tethys-cascader.mjs",
|
|
118
|
+
"esm": "./esm2022/cascader/ngx-tethys-cascader.mjs",
|
|
119
|
+
"default": "./fesm2022/ngx-tethys-cascader.mjs"
|
|
120
|
+
},
|
|
109
121
|
"./checkbox": {
|
|
110
122
|
"types": "./checkbox/index.d.ts",
|
|
111
123
|
"esm2022": "./esm2022/checkbox/ngx-tethys-checkbox.mjs",
|
|
@@ -118,24 +130,12 @@
|
|
|
118
130
|
"esm": "./esm2022/collapse/ngx-tethys-collapse.mjs",
|
|
119
131
|
"default": "./fesm2022/ngx-tethys-collapse.mjs"
|
|
120
132
|
},
|
|
121
|
-
"./carousel": {
|
|
122
|
-
"types": "./carousel/index.d.ts",
|
|
123
|
-
"esm2022": "./esm2022/carousel/ngx-tethys-carousel.mjs",
|
|
124
|
-
"esm": "./esm2022/carousel/ngx-tethys-carousel.mjs",
|
|
125
|
-
"default": "./fesm2022/ngx-tethys-carousel.mjs"
|
|
126
|
-
},
|
|
127
133
|
"./color-picker": {
|
|
128
134
|
"types": "./color-picker/index.d.ts",
|
|
129
135
|
"esm2022": "./esm2022/color-picker/ngx-tethys-color-picker.mjs",
|
|
130
136
|
"esm": "./esm2022/color-picker/ngx-tethys-color-picker.mjs",
|
|
131
137
|
"default": "./fesm2022/ngx-tethys-color-picker.mjs"
|
|
132
138
|
},
|
|
133
|
-
"./calendar": {
|
|
134
|
-
"types": "./calendar/index.d.ts",
|
|
135
|
-
"esm2022": "./esm2022/calendar/ngx-tethys-calendar.mjs",
|
|
136
|
-
"esm": "./esm2022/calendar/ngx-tethys-calendar.mjs",
|
|
137
|
-
"default": "./fesm2022/ngx-tethys-calendar.mjs"
|
|
138
|
-
},
|
|
139
139
|
"./comment": {
|
|
140
140
|
"types": "./comment/index.d.ts",
|
|
141
141
|
"esm2022": "./esm2022/comment/ngx-tethys-comment.mjs",
|
|
@@ -172,6 +172,24 @@
|
|
|
172
172
|
"esm": "./esm2022/dialog/ngx-tethys-dialog.mjs",
|
|
173
173
|
"default": "./fesm2022/ngx-tethys-dialog.mjs"
|
|
174
174
|
},
|
|
175
|
+
"./divider": {
|
|
176
|
+
"types": "./divider/index.d.ts",
|
|
177
|
+
"esm2022": "./esm2022/divider/ngx-tethys-divider.mjs",
|
|
178
|
+
"esm": "./esm2022/divider/ngx-tethys-divider.mjs",
|
|
179
|
+
"default": "./fesm2022/ngx-tethys-divider.mjs"
|
|
180
|
+
},
|
|
181
|
+
"./dot": {
|
|
182
|
+
"types": "./dot/index.d.ts",
|
|
183
|
+
"esm2022": "./esm2022/dot/ngx-tethys-dot.mjs",
|
|
184
|
+
"esm": "./esm2022/dot/ngx-tethys-dot.mjs",
|
|
185
|
+
"default": "./fesm2022/ngx-tethys-dot.mjs"
|
|
186
|
+
},
|
|
187
|
+
"./drag-drop": {
|
|
188
|
+
"types": "./drag-drop/index.d.ts",
|
|
189
|
+
"esm2022": "./esm2022/drag-drop/ngx-tethys-drag-drop.mjs",
|
|
190
|
+
"esm": "./esm2022/drag-drop/ngx-tethys-drag-drop.mjs",
|
|
191
|
+
"default": "./fesm2022/ngx-tethys-drag-drop.mjs"
|
|
192
|
+
},
|
|
175
193
|
"./dropdown": {
|
|
176
194
|
"types": "./dropdown/index.d.ts",
|
|
177
195
|
"esm2022": "./esm2022/dropdown/ngx-tethys-dropdown.mjs",
|
|
@@ -184,24 +202,12 @@
|
|
|
184
202
|
"esm": "./esm2022/empty/ngx-tethys-empty.mjs",
|
|
185
203
|
"default": "./fesm2022/ngx-tethys-empty.mjs"
|
|
186
204
|
},
|
|
187
|
-
"./divider": {
|
|
188
|
-
"types": "./divider/index.d.ts",
|
|
189
|
-
"esm2022": "./esm2022/divider/ngx-tethys-divider.mjs",
|
|
190
|
-
"esm": "./esm2022/divider/ngx-tethys-divider.mjs",
|
|
191
|
-
"default": "./fesm2022/ngx-tethys-divider.mjs"
|
|
192
|
-
},
|
|
193
205
|
"./flexible-text": {
|
|
194
206
|
"types": "./flexible-text/index.d.ts",
|
|
195
207
|
"esm2022": "./esm2022/flexible-text/ngx-tethys-flexible-text.mjs",
|
|
196
208
|
"esm": "./esm2022/flexible-text/ngx-tethys-flexible-text.mjs",
|
|
197
209
|
"default": "./fesm2022/ngx-tethys-flexible-text.mjs"
|
|
198
210
|
},
|
|
199
|
-
"./drag-drop": {
|
|
200
|
-
"types": "./drag-drop/index.d.ts",
|
|
201
|
-
"esm2022": "./esm2022/drag-drop/ngx-tethys-drag-drop.mjs",
|
|
202
|
-
"esm": "./esm2022/drag-drop/ngx-tethys-drag-drop.mjs",
|
|
203
|
-
"default": "./fesm2022/ngx-tethys-drag-drop.mjs"
|
|
204
|
-
},
|
|
205
211
|
"./form": {
|
|
206
212
|
"types": "./form/index.d.ts",
|
|
207
213
|
"esm2022": "./esm2022/form/ngx-tethys-form.mjs",
|
|
@@ -226,23 +232,23 @@
|
|
|
226
232
|
"esm": "./esm2022/guider/ngx-tethys-guider.mjs",
|
|
227
233
|
"default": "./fesm2022/ngx-tethys-guider.mjs"
|
|
228
234
|
},
|
|
229
|
-
"./image": {
|
|
230
|
-
"types": "./image/index.d.ts",
|
|
231
|
-
"esm2022": "./esm2022/image/ngx-tethys-image.mjs",
|
|
232
|
-
"esm": "./esm2022/image/ngx-tethys-image.mjs",
|
|
233
|
-
"default": "./fesm2022/ngx-tethys-image.mjs"
|
|
234
|
-
},
|
|
235
235
|
"./icon": {
|
|
236
236
|
"types": "./icon/index.d.ts",
|
|
237
237
|
"esm2022": "./esm2022/icon/ngx-tethys-icon.mjs",
|
|
238
238
|
"esm": "./esm2022/icon/ngx-tethys-icon.mjs",
|
|
239
239
|
"default": "./fesm2022/ngx-tethys-icon.mjs"
|
|
240
240
|
},
|
|
241
|
-
"./
|
|
242
|
-
"types": "./
|
|
243
|
-
"esm2022": "./esm2022/
|
|
244
|
-
"esm": "./esm2022/
|
|
245
|
-
"default": "./fesm2022/ngx-tethys-
|
|
241
|
+
"./image": {
|
|
242
|
+
"types": "./image/index.d.ts",
|
|
243
|
+
"esm2022": "./esm2022/image/ngx-tethys-image.mjs",
|
|
244
|
+
"esm": "./esm2022/image/ngx-tethys-image.mjs",
|
|
245
|
+
"default": "./fesm2022/ngx-tethys-image.mjs"
|
|
246
|
+
},
|
|
247
|
+
"./input": {
|
|
248
|
+
"types": "./input/index.d.ts",
|
|
249
|
+
"esm2022": "./esm2022/input/ngx-tethys-input.mjs",
|
|
250
|
+
"esm": "./esm2022/input/ngx-tethys-input.mjs",
|
|
251
|
+
"default": "./fesm2022/ngx-tethys-input.mjs"
|
|
246
252
|
},
|
|
247
253
|
"./input-number": {
|
|
248
254
|
"types": "./input-number/index.d.ts",
|
|
@@ -250,18 +256,18 @@
|
|
|
250
256
|
"esm": "./esm2022/input-number/ngx-tethys-input-number.mjs",
|
|
251
257
|
"default": "./fesm2022/ngx-tethys-input-number.mjs"
|
|
252
258
|
},
|
|
259
|
+
"./layout": {
|
|
260
|
+
"types": "./layout/index.d.ts",
|
|
261
|
+
"esm2022": "./esm2022/layout/ngx-tethys-layout.mjs",
|
|
262
|
+
"esm": "./esm2022/layout/ngx-tethys-layout.mjs",
|
|
263
|
+
"default": "./fesm2022/ngx-tethys-layout.mjs"
|
|
264
|
+
},
|
|
253
265
|
"./list": {
|
|
254
266
|
"types": "./list/index.d.ts",
|
|
255
267
|
"esm2022": "./esm2022/list/ngx-tethys-list.mjs",
|
|
256
268
|
"esm": "./esm2022/list/ngx-tethys-list.mjs",
|
|
257
269
|
"default": "./fesm2022/ngx-tethys-list.mjs"
|
|
258
270
|
},
|
|
259
|
-
"./dot": {
|
|
260
|
-
"types": "./dot/index.d.ts",
|
|
261
|
-
"esm2022": "./esm2022/dot/ngx-tethys-dot.mjs",
|
|
262
|
-
"esm": "./esm2022/dot/ngx-tethys-dot.mjs",
|
|
263
|
-
"default": "./fesm2022/ngx-tethys-dot.mjs"
|
|
264
|
-
},
|
|
265
271
|
"./loading": {
|
|
266
272
|
"types": "./loading/index.d.ts",
|
|
267
273
|
"esm2022": "./esm2022/loading/ngx-tethys-loading.mjs",
|
|
@@ -280,6 +286,12 @@
|
|
|
280
286
|
"esm": "./esm2022/menu/ngx-tethys-menu.mjs",
|
|
281
287
|
"default": "./fesm2022/ngx-tethys-menu.mjs"
|
|
282
288
|
},
|
|
289
|
+
"./message": {
|
|
290
|
+
"types": "./message/index.d.ts",
|
|
291
|
+
"esm2022": "./esm2022/message/ngx-tethys-message.mjs",
|
|
292
|
+
"esm": "./esm2022/message/ngx-tethys-message.mjs",
|
|
293
|
+
"default": "./fesm2022/ngx-tethys-message.mjs"
|
|
294
|
+
},
|
|
283
295
|
"./nav": {
|
|
284
296
|
"types": "./nav/index.d.ts",
|
|
285
297
|
"esm2022": "./esm2022/nav/ngx-tethys-nav.mjs",
|
|
@@ -304,35 +316,29 @@
|
|
|
304
316
|
"esm": "./esm2022/popover/ngx-tethys-popover.mjs",
|
|
305
317
|
"default": "./fesm2022/ngx-tethys-popover.mjs"
|
|
306
318
|
},
|
|
307
|
-
"./message": {
|
|
308
|
-
"types": "./message/index.d.ts",
|
|
309
|
-
"esm2022": "./esm2022/message/ngx-tethys-message.mjs",
|
|
310
|
-
"esm": "./esm2022/message/ngx-tethys-message.mjs",
|
|
311
|
-
"default": "./fesm2022/ngx-tethys-message.mjs"
|
|
312
|
-
},
|
|
313
|
-
"./input": {
|
|
314
|
-
"types": "./input/index.d.ts",
|
|
315
|
-
"esm2022": "./esm2022/input/ngx-tethys-input.mjs",
|
|
316
|
-
"esm": "./esm2022/input/ngx-tethys-input.mjs",
|
|
317
|
-
"default": "./fesm2022/ngx-tethys-input.mjs"
|
|
318
|
-
},
|
|
319
319
|
"./progress": {
|
|
320
320
|
"types": "./progress/index.d.ts",
|
|
321
321
|
"esm2022": "./esm2022/progress/ngx-tethys-progress.mjs",
|
|
322
322
|
"esm": "./esm2022/progress/ngx-tethys-progress.mjs",
|
|
323
323
|
"default": "./fesm2022/ngx-tethys-progress.mjs"
|
|
324
324
|
},
|
|
325
|
+
"./property": {
|
|
326
|
+
"types": "./property/index.d.ts",
|
|
327
|
+
"esm2022": "./esm2022/property/ngx-tethys-property.mjs",
|
|
328
|
+
"esm": "./esm2022/property/ngx-tethys-property.mjs",
|
|
329
|
+
"default": "./fesm2022/ngx-tethys-property.mjs"
|
|
330
|
+
},
|
|
325
331
|
"./property-operation": {
|
|
326
332
|
"types": "./property-operation/index.d.ts",
|
|
327
333
|
"esm2022": "./esm2022/property-operation/ngx-tethys-property-operation.mjs",
|
|
328
334
|
"esm": "./esm2022/property-operation/ngx-tethys-property-operation.mjs",
|
|
329
335
|
"default": "./fesm2022/ngx-tethys-property-operation.mjs"
|
|
330
336
|
},
|
|
331
|
-
"./
|
|
332
|
-
"types": "./
|
|
333
|
-
"esm2022": "./esm2022/
|
|
334
|
-
"esm": "./esm2022/
|
|
335
|
-
"default": "./fesm2022/ngx-tethys-
|
|
337
|
+
"./radio": {
|
|
338
|
+
"types": "./radio/index.d.ts",
|
|
339
|
+
"esm2022": "./esm2022/radio/ngx-tethys-radio.mjs",
|
|
340
|
+
"esm": "./esm2022/radio/ngx-tethys-radio.mjs",
|
|
341
|
+
"default": "./fesm2022/ngx-tethys-radio.mjs"
|
|
336
342
|
},
|
|
337
343
|
"./rate": {
|
|
338
344
|
"types": "./rate/index.d.ts",
|
|
@@ -340,17 +346,23 @@
|
|
|
340
346
|
"esm": "./esm2022/rate/ngx-tethys-rate.mjs",
|
|
341
347
|
"default": "./fesm2022/ngx-tethys-rate.mjs"
|
|
342
348
|
},
|
|
349
|
+
"./resizable": {
|
|
350
|
+
"types": "./resizable/index.d.ts",
|
|
351
|
+
"esm2022": "./esm2022/resizable/ngx-tethys-resizable.mjs",
|
|
352
|
+
"esm": "./esm2022/resizable/ngx-tethys-resizable.mjs",
|
|
353
|
+
"default": "./fesm2022/ngx-tethys-resizable.mjs"
|
|
354
|
+
},
|
|
343
355
|
"./result": {
|
|
344
356
|
"types": "./result/index.d.ts",
|
|
345
357
|
"esm2022": "./esm2022/result/ngx-tethys-result.mjs",
|
|
346
358
|
"esm": "./esm2022/result/ngx-tethys-result.mjs",
|
|
347
359
|
"default": "./fesm2022/ngx-tethys-result.mjs"
|
|
348
360
|
},
|
|
349
|
-
"./
|
|
350
|
-
"types": "./
|
|
351
|
-
"esm2022": "./esm2022/
|
|
352
|
-
"esm": "./esm2022/
|
|
353
|
-
"default": "./fesm2022/ngx-tethys-
|
|
361
|
+
"./segment": {
|
|
362
|
+
"types": "./segment/index.d.ts",
|
|
363
|
+
"esm2022": "./esm2022/segment/ngx-tethys-segment.mjs",
|
|
364
|
+
"esm": "./esm2022/segment/ngx-tethys-segment.mjs",
|
|
365
|
+
"default": "./fesm2022/ngx-tethys-segment.mjs"
|
|
354
366
|
},
|
|
355
367
|
"./select": {
|
|
356
368
|
"types": "./select/index.d.ts",
|
|
@@ -364,12 +376,6 @@
|
|
|
364
376
|
"esm": "./esm2022/shared/ngx-tethys-shared.mjs",
|
|
365
377
|
"default": "./fesm2022/ngx-tethys-shared.mjs"
|
|
366
378
|
},
|
|
367
|
-
"./resizable": {
|
|
368
|
-
"types": "./resizable/index.d.ts",
|
|
369
|
-
"esm2022": "./esm2022/resizable/ngx-tethys-resizable.mjs",
|
|
370
|
-
"esm": "./esm2022/resizable/ngx-tethys-resizable.mjs",
|
|
371
|
-
"default": "./fesm2022/ngx-tethys-resizable.mjs"
|
|
372
|
-
},
|
|
373
379
|
"./skeleton": {
|
|
374
380
|
"types": "./skeleton/index.d.ts",
|
|
375
381
|
"esm2022": "./esm2022/skeleton/ngx-tethys-skeleton.mjs",
|
|
@@ -400,12 +406,6 @@
|
|
|
400
406
|
"esm": "./esm2022/statistic/ngx-tethys-statistic.mjs",
|
|
401
407
|
"default": "./fesm2022/ngx-tethys-statistic.mjs"
|
|
402
408
|
},
|
|
403
|
-
"./segment": {
|
|
404
|
-
"types": "./segment/index.d.ts",
|
|
405
|
-
"esm2022": "./esm2022/segment/ngx-tethys-segment.mjs",
|
|
406
|
-
"esm": "./esm2022/segment/ngx-tethys-segment.mjs",
|
|
407
|
-
"default": "./fesm2022/ngx-tethys-segment.mjs"
|
|
408
|
-
},
|
|
409
409
|
"./stepper": {
|
|
410
410
|
"types": "./stepper/index.d.ts",
|
|
411
411
|
"esm2022": "./esm2022/stepper/ngx-tethys-stepper.mjs",
|
|
@@ -418,11 +418,11 @@
|
|
|
418
418
|
"esm": "./esm2022/strength/ngx-tethys-strength.mjs",
|
|
419
419
|
"default": "./fesm2022/ngx-tethys-strength.mjs"
|
|
420
420
|
},
|
|
421
|
-
"./
|
|
422
|
-
"types": "./
|
|
423
|
-
"esm2022": "./esm2022/
|
|
424
|
-
"esm": "./esm2022/
|
|
425
|
-
"default": "./fesm2022/ngx-tethys-
|
|
421
|
+
"./switch": {
|
|
422
|
+
"types": "./switch/index.d.ts",
|
|
423
|
+
"esm2022": "./esm2022/switch/ngx-tethys-switch.mjs",
|
|
424
|
+
"esm": "./esm2022/switch/ngx-tethys-switch.mjs",
|
|
425
|
+
"default": "./fesm2022/ngx-tethys-switch.mjs"
|
|
426
426
|
},
|
|
427
427
|
"./table": {
|
|
428
428
|
"types": "./table/index.d.ts",
|
|
@@ -430,11 +430,11 @@
|
|
|
430
430
|
"esm": "./esm2022/table/ngx-tethys-table.mjs",
|
|
431
431
|
"default": "./fesm2022/ngx-tethys-table.mjs"
|
|
432
432
|
},
|
|
433
|
-
"./
|
|
434
|
-
"types": "./
|
|
435
|
-
"esm2022": "./esm2022/
|
|
436
|
-
"esm": "./esm2022/
|
|
437
|
-
"default": "./fesm2022/ngx-tethys-
|
|
433
|
+
"./tabs": {
|
|
434
|
+
"types": "./tabs/index.d.ts",
|
|
435
|
+
"esm2022": "./esm2022/tabs/ngx-tethys-tabs.mjs",
|
|
436
|
+
"esm": "./esm2022/tabs/ngx-tethys-tabs.mjs",
|
|
437
|
+
"default": "./fesm2022/ngx-tethys-tabs.mjs"
|
|
438
438
|
},
|
|
439
439
|
"./tag": {
|
|
440
440
|
"types": "./tag/index.d.ts",
|
|
@@ -442,42 +442,48 @@
|
|
|
442
442
|
"esm": "./esm2022/tag/ngx-tethys-tag.mjs",
|
|
443
443
|
"default": "./fesm2022/ngx-tethys-tag.mjs"
|
|
444
444
|
},
|
|
445
|
-
"./tooltip": {
|
|
446
|
-
"types": "./tooltip/index.d.ts",
|
|
447
|
-
"esm2022": "./esm2022/tooltip/ngx-tethys-tooltip.mjs",
|
|
448
|
-
"esm": "./esm2022/tooltip/ngx-tethys-tooltip.mjs",
|
|
449
|
-
"default": "./fesm2022/ngx-tethys-tooltip.mjs"
|
|
450
|
-
},
|
|
451
445
|
"./testing": {
|
|
452
446
|
"types": "./testing/index.d.ts",
|
|
453
447
|
"esm2022": "./esm2022/testing/ngx-tethys-testing.mjs",
|
|
454
448
|
"esm": "./esm2022/testing/ngx-tethys-testing.mjs",
|
|
455
449
|
"default": "./fesm2022/ngx-tethys-testing.mjs"
|
|
456
450
|
},
|
|
451
|
+
"./time-picker": {
|
|
452
|
+
"types": "./time-picker/index.d.ts",
|
|
453
|
+
"esm2022": "./esm2022/time-picker/ngx-tethys-time-picker.mjs",
|
|
454
|
+
"esm": "./esm2022/time-picker/ngx-tethys-time-picker.mjs",
|
|
455
|
+
"default": "./fesm2022/ngx-tethys-time-picker.mjs"
|
|
456
|
+
},
|
|
457
457
|
"./timeline": {
|
|
458
458
|
"types": "./timeline/index.d.ts",
|
|
459
459
|
"esm2022": "./esm2022/timeline/ngx-tethys-timeline.mjs",
|
|
460
460
|
"esm": "./esm2022/timeline/ngx-tethys-timeline.mjs",
|
|
461
461
|
"default": "./fesm2022/ngx-tethys-timeline.mjs"
|
|
462
462
|
},
|
|
463
|
+
"./tooltip": {
|
|
464
|
+
"types": "./tooltip/index.d.ts",
|
|
465
|
+
"esm2022": "./esm2022/tooltip/ngx-tethys-tooltip.mjs",
|
|
466
|
+
"esm": "./esm2022/tooltip/ngx-tethys-tooltip.mjs",
|
|
467
|
+
"default": "./fesm2022/ngx-tethys-tooltip.mjs"
|
|
468
|
+
},
|
|
463
469
|
"./transfer": {
|
|
464
470
|
"types": "./transfer/index.d.ts",
|
|
465
471
|
"esm2022": "./esm2022/transfer/ngx-tethys-transfer.mjs",
|
|
466
472
|
"esm": "./esm2022/transfer/ngx-tethys-transfer.mjs",
|
|
467
473
|
"default": "./fesm2022/ngx-tethys-transfer.mjs"
|
|
468
474
|
},
|
|
469
|
-
"./time-picker": {
|
|
470
|
-
"types": "./time-picker/index.d.ts",
|
|
471
|
-
"esm2022": "./esm2022/time-picker/ngx-tethys-time-picker.mjs",
|
|
472
|
-
"esm": "./esm2022/time-picker/ngx-tethys-time-picker.mjs",
|
|
473
|
-
"default": "./fesm2022/ngx-tethys-time-picker.mjs"
|
|
474
|
-
},
|
|
475
475
|
"./tree": {
|
|
476
476
|
"types": "./tree/index.d.ts",
|
|
477
477
|
"esm2022": "./esm2022/tree/ngx-tethys-tree.mjs",
|
|
478
478
|
"esm": "./esm2022/tree/ngx-tethys-tree.mjs",
|
|
479
479
|
"default": "./fesm2022/ngx-tethys-tree.mjs"
|
|
480
480
|
},
|
|
481
|
+
"./tree-select": {
|
|
482
|
+
"types": "./tree-select/index.d.ts",
|
|
483
|
+
"esm2022": "./esm2022/tree-select/ngx-tethys-tree-select.mjs",
|
|
484
|
+
"esm": "./esm2022/tree-select/ngx-tethys-tree-select.mjs",
|
|
485
|
+
"default": "./fesm2022/ngx-tethys-tree-select.mjs"
|
|
486
|
+
},
|
|
481
487
|
"./types": {
|
|
482
488
|
"types": "./types/index.d.ts",
|
|
483
489
|
"esm2022": "./esm2022/types/ngx-tethys-types.mjs",
|
|
@@ -490,18 +496,6 @@
|
|
|
490
496
|
"esm": "./esm2022/typography/ngx-tethys-typography.mjs",
|
|
491
497
|
"default": "./fesm2022/ngx-tethys-typography.mjs"
|
|
492
498
|
},
|
|
493
|
-
"./tree-select": {
|
|
494
|
-
"types": "./tree-select/index.d.ts",
|
|
495
|
-
"esm2022": "./esm2022/tree-select/ngx-tethys-tree-select.mjs",
|
|
496
|
-
"esm": "./esm2022/tree-select/ngx-tethys-tree-select.mjs",
|
|
497
|
-
"default": "./fesm2022/ngx-tethys-tree-select.mjs"
|
|
498
|
-
},
|
|
499
|
-
"./vote": {
|
|
500
|
-
"types": "./vote/index.d.ts",
|
|
501
|
-
"esm2022": "./esm2022/vote/ngx-tethys-vote.mjs",
|
|
502
|
-
"esm": "./esm2022/vote/ngx-tethys-vote.mjs",
|
|
503
|
-
"default": "./fesm2022/ngx-tethys-vote.mjs"
|
|
504
|
-
},
|
|
505
499
|
"./upload": {
|
|
506
500
|
"types": "./upload/index.d.ts",
|
|
507
501
|
"esm2022": "./esm2022/upload/ngx-tethys-upload.mjs",
|
|
@@ -514,6 +508,12 @@
|
|
|
514
508
|
"esm": "./esm2022/util/ngx-tethys-util.mjs",
|
|
515
509
|
"default": "./fesm2022/ngx-tethys-util.mjs"
|
|
516
510
|
},
|
|
511
|
+
"./vote": {
|
|
512
|
+
"types": "./vote/index.d.ts",
|
|
513
|
+
"esm2022": "./esm2022/vote/ngx-tethys-vote.mjs",
|
|
514
|
+
"esm": "./esm2022/vote/ngx-tethys-vote.mjs",
|
|
515
|
+
"default": "./fesm2022/ngx-tethys-vote.mjs"
|
|
516
|
+
},
|
|
517
517
|
"./watermark": {
|
|
518
518
|
"types": "./watermark/index.d.ts",
|
|
519
519
|
"esm2022": "./esm2022/watermark/ngx-tethys-watermark.mjs",
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { SchematicContext } from '@angular-devkit/schematics';
|
|
2
2
|
import { TargetVersion } from '@angular/cdk/schematics';
|
|
3
3
|
export declare function onMigrationComplete(context: SchematicContext, targetVersion: TargetVersion, hasFailures: boolean): void;
|
|
4
|
-
export declare function onV17MigrationComplete(context: SchematicContext, targetVersion: TargetVersion, hasFailures: boolean): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.onMigrationComplete = void 0;
|
|
4
4
|
function onMigrationComplete(context, targetVersion, hasFailures) {
|
|
5
5
|
context.logger.info('');
|
|
6
6
|
context.logger.info(` ✓ Updated NGX-TETHYS to ${targetVersion}`);
|
|
@@ -11,12 +11,3 @@ function onMigrationComplete(context, targetVersion, hasFailures) {
|
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
13
|
exports.onMigrationComplete = onMigrationComplete;
|
|
14
|
-
function onV17MigrationComplete(context, targetVersion, hasFailures) {
|
|
15
|
-
context.logger.info('');
|
|
16
|
-
context.logger.info(` ✓ Updated NGX-TETHYS to ${targetVersion}`);
|
|
17
|
-
context.logger.info('');
|
|
18
|
-
if (hasFailures) {
|
|
19
|
-
context.logger.warn(' ⚠ Some issues were detected but could not be fixed automatically. Please check the output above against documentation, fix these issues manually. Especially check the replace input with variable value in template, if it has a corresponding useless variable value, delete it manually. Finally prettier your code please.');
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
exports.onV17MigrationComplete = onV17MigrationComplete;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ClassNameUpgradeData, Migration, UpgradeData } from '@angular/cdk/schematics';
|
|
2
|
+
import * as ts from 'typescript';
|
|
3
|
+
export declare class ClassNamesMigration extends Migration<UpgradeData> {
|
|
4
|
+
data: ClassNameUpgradeData[];
|
|
5
|
+
trustedIdentifiers: Set<string>;
|
|
6
|
+
trustedNamespaces: Set<string>;
|
|
7
|
+
enabled: boolean;
|
|
8
|
+
visitNode(node: ts.Node): void;
|
|
9
|
+
private visitIdentifier;
|
|
10
|
+
private isNgxTethysDeclaration;
|
|
11
|
+
private createFailureWithReplacement;
|
|
12
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ClassNamesMigration = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const schematics_1 = require("@angular/cdk/schematics");
|
|
6
|
+
const ts = tslib_1.__importStar(require("typescript"));
|
|
7
|
+
class ClassNamesMigration extends schematics_1.Migration {
|
|
8
|
+
constructor() {
|
|
9
|
+
super(...arguments);
|
|
10
|
+
this.data = (0, schematics_1.getVersionUpgradeData)(this, 'classNames');
|
|
11
|
+
this.trustedIdentifiers = new Set();
|
|
12
|
+
this.trustedNamespaces = new Set();
|
|
13
|
+
this.enabled = this.data.length !== 0;
|
|
14
|
+
}
|
|
15
|
+
visitNode(node) {
|
|
16
|
+
if (ts.isIdentifier(node)) {
|
|
17
|
+
this.visitIdentifier(node);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
visitIdentifier(identifier) {
|
|
21
|
+
if (!this.data.some(data => data.replace === identifier.text)) {
|
|
22
|
+
return;
|
|
23
|
+
}
|
|
24
|
+
if ((0, schematics_1.isNamespaceImportNode)(identifier) && this.isNgxTethysDeclaration((0, schematics_1.getImportDeclaration)(identifier))) {
|
|
25
|
+
this.trustedNamespaces.add(identifier.text);
|
|
26
|
+
return this.createFailureWithReplacement(identifier);
|
|
27
|
+
}
|
|
28
|
+
if ((0, schematics_1.isExportSpecifierNode)(identifier) && this.isNgxTethysDeclaration((0, schematics_1.getExportDeclaration)(identifier))) {
|
|
29
|
+
return this.createFailureWithReplacement(identifier);
|
|
30
|
+
}
|
|
31
|
+
if ((0, schematics_1.isImportSpecifierNode)(identifier) && this.isNgxTethysDeclaration((0, schematics_1.getImportDeclaration)(identifier))) {
|
|
32
|
+
this.trustedIdentifiers.add(identifier.text);
|
|
33
|
+
return this.createFailureWithReplacement(identifier);
|
|
34
|
+
}
|
|
35
|
+
if (ts.isPropertyAccessExpression(identifier.parent)) {
|
|
36
|
+
const expression = identifier.parent.expression;
|
|
37
|
+
if (ts.isIdentifier(expression) && this.trustedNamespaces.has(expression.text)) {
|
|
38
|
+
return this.createFailureWithReplacement(identifier);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
else if (this.trustedIdentifiers.has(identifier.text)) {
|
|
42
|
+
return this.createFailureWithReplacement(identifier);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
isNgxTethysDeclaration(declaration) {
|
|
46
|
+
if (!declaration.moduleSpecifier) {
|
|
47
|
+
return false;
|
|
48
|
+
}
|
|
49
|
+
const ngxTethysModuleSpecifier = 'ngx-tethys';
|
|
50
|
+
const moduleSpecifier = declaration.moduleSpecifier.getText();
|
|
51
|
+
return moduleSpecifier.indexOf(ngxTethysModuleSpecifier) !== -1;
|
|
52
|
+
}
|
|
53
|
+
createFailureWithReplacement(identifier) {
|
|
54
|
+
const classData = this.data.find(data => data.replace === identifier.text);
|
|
55
|
+
const filePath = this.fileSystem.resolve(identifier.getSourceFile().fileName);
|
|
56
|
+
this.fileSystem
|
|
57
|
+
.edit(filePath)
|
|
58
|
+
.remove(identifier.getStart(), identifier.getWidth())
|
|
59
|
+
.insertRight(identifier.getStart(), classData.replaceWith);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
exports.ClassNamesMigration = ClassNamesMigration;
|
|
@@ -2,9 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const schematics_1 = require("@angular/cdk/schematics");
|
|
4
4
|
const complete_1 = require("../core/complete");
|
|
5
|
-
const
|
|
6
|
-
const
|
|
5
|
+
const update_data_1 = require("./update-data");
|
|
6
|
+
const class_name_migration_1 = require("./class-name-migration");
|
|
7
|
+
const migrations = [class_name_migration_1.ClassNamesMigration];
|
|
7
8
|
function main() {
|
|
8
|
-
return (0, schematics_1.createMigrationSchematicRule)(schematics_1.TargetVersion.V17, migrations,
|
|
9
|
+
return (0, schematics_1.createMigrationSchematicRule)(schematics_1.TargetVersion.V17, migrations, update_data_1.upgradeData, complete_1.onMigrationComplete);
|
|
9
10
|
}
|
|
10
11
|
exports.default = main;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
+
const schematics_1 = require("@angular-devkit/schematics");
|
|
4
5
|
const testing_1 = require("@angular-devkit/schematics/testing");
|
|
5
6
|
const testing_2 = require("../../testing");
|
|
6
7
|
describe('ng-update v17 Schematic', () => {
|
|
@@ -20,4 +21,60 @@ describe('ng-update v17 Schematic', () => {
|
|
|
20
21
|
const packageJSON = JSON.parse(file.content.toString());
|
|
21
22
|
expect(packageJSON['dependencies']['@angular/core']).toContain('^17.');
|
|
22
23
|
}));
|
|
24
|
+
describe('should provide schematics for v17', () => {
|
|
25
|
+
let tree;
|
|
26
|
+
const schematicRunner = new testing_1.SchematicTestRunner('migrations', require.resolve('../migration-collection.json'));
|
|
27
|
+
const TEST_COMPONENT_PATH = '/projects/update17test/src/app/app.component.ts';
|
|
28
|
+
const TEST_COMPONENT_CONTENT = `
|
|
29
|
+
import { ThyButtonComponent } from 'ngx-tethys/button';
|
|
30
|
+
import { ThyOptionComponent } from 'ngx-tethys/shared';
|
|
31
|
+
import { ThySelectComponent, ThySelectCustomComponent } from 'ngx-tethys/select';
|
|
32
|
+
|
|
33
|
+
@Component({
|
|
34
|
+
selector: 'app-root',
|
|
35
|
+
standalone: true,
|
|
36
|
+
imports: [
|
|
37
|
+
CommonModule,
|
|
38
|
+
FormsModule,
|
|
39
|
+
RouterOutlet,
|
|
40
|
+
ThySelectComponent,
|
|
41
|
+
ThySelectCustomComponent,
|
|
42
|
+
ThyOptionComponent,
|
|
43
|
+
ThyButtonComponent
|
|
44
|
+
],
|
|
45
|
+
templateUrl: './app.component.html',
|
|
46
|
+
styleUrls: ['./app.component.scss'],
|
|
47
|
+
})
|
|
48
|
+
export class AppComponent {}
|
|
49
|
+
`;
|
|
50
|
+
let workspaceTree;
|
|
51
|
+
beforeEach(() => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
|
|
52
|
+
const hostTree = new schematics_1.HostTree();
|
|
53
|
+
tree = yield schematicRunner.runExternalSchematic('@schematics/angular', 'workspace', {
|
|
54
|
+
name: 'test-workspace',
|
|
55
|
+
version: '17.0.0',
|
|
56
|
+
newProjectRoot: 'projects'
|
|
57
|
+
}, hostTree);
|
|
58
|
+
yield schematicRunner.runExternalSchematic('@schematics/angular', 'application', { name: 'update17test' }, tree);
|
|
59
|
+
tree.overwrite(TEST_COMPONENT_PATH, TEST_COMPONENT_CONTENT);
|
|
60
|
+
workspaceTree = yield schematicRunner.runSchematic('migration-v17', {}, tree);
|
|
61
|
+
}));
|
|
62
|
+
it('should remove the Component suffix from standalone components', () => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
|
|
63
|
+
const result = workspaceTree.read(TEST_COMPONENT_PATH).toString();
|
|
64
|
+
expect(result).not.toContain(`ThyOptionComponent`);
|
|
65
|
+
expect(result).toContain('ThyOption');
|
|
66
|
+
expect(result).not.toContain(`ThyButtonComponent`);
|
|
67
|
+
expect(result).toContain('ThyButton');
|
|
68
|
+
}));
|
|
69
|
+
it('should rename ThySelectCustomComponent to ThySelect', () => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
|
|
70
|
+
const result = workspaceTree.read(TEST_COMPONENT_PATH).toString();
|
|
71
|
+
expect(result).not.toContain('ThySelectComponent');
|
|
72
|
+
expect(result).toContain('ThyNativeSelect');
|
|
73
|
+
}));
|
|
74
|
+
it('should rename ThySelectComponent to ThyNativeSelect', () => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
|
|
75
|
+
const result = workspaceTree.read(TEST_COMPONENT_PATH).toString();
|
|
76
|
+
expect(result).not.toContain(`ThySelectCustomComponent`);
|
|
77
|
+
expect(result).toContain('ThySelect');
|
|
78
|
+
}));
|
|
79
|
+
});
|
|
23
80
|
});
|