ngx-tethys 17.0.5 → 18.0.0-next.0
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 +24 -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 +6 -6
- 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 +9 -8
- 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 +30 -18
- 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 +9 -9
- package/esm2022/upload/upload.service.mjs +3 -3
- package/esm2022/util/helpers/helpers.mjs +2 -2
- 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 +18 -18
- package/fesm2022/ngx-tethys-cascader.mjs.map +1 -1
- 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 +14 -13
- package/fesm2022/ngx-tethys-icon.mjs.map +1 -1
- 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 +35 -23
- package/fesm2022/ngx-tethys-segment.mjs.map +1 -1
- 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 +20 -20
- package/fesm2022/ngx-tethys-upload.mjs.map +1 -1
- package/fesm2022/ngx-tethys-util.mjs +1 -1
- package/fesm2022/ngx-tethys-util.mjs.map +1 -1
- 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/icon/icon.module.d.ts +1 -2
- package/package.json +4 -4
- package/schematics/dependencies.js +1 -1
- package/schematics/ng-update/migration-collection.json +4 -4
- package/schematics/ng-update/{update-17 → update-18}/complete.d.ts +1 -1
- package/schematics/ng-update/update-18/complete.js +23 -0
- package/schematics/ng-update/{update-17 → update-18}/index.js +1 -1
- package/schematics/ng-update/update-18/index.spec.js +96 -0
- package/schematics/ng-update/update-18/update-data.js +872 -0
- package/schematics/testing/test-app.js +2 -2
- package/schematics/testing/test-project.js +2 -2
- package/schematics/version.d.ts +1 -1
- package/schematics/version.js +1 -1
- package/segment/segment.component.d.ts +4 -2
- package/segment/styles/segment.scss +10 -0
- package/styles/bootstrap/_functions.scss +14 -14
- package/styles/variables.scss +3 -0
- package/upload/module.d.ts +3 -4
- package/util/helpers/helpers.d.ts +1 -1
- package/schematics/ng-update/update-17/complete.js +0 -19
- package/schematics/ng-update/update-17/index.spec.js +0 -93
- package/schematics/ng-update/update-17/update-data.js +0 -871
- /package/schematics/ng-update/{update-17 → update-18}/class-name-migration.d.ts +0 -0
- /package/schematics/ng-update/{update-17 → update-18}/class-name-migration.js +0 -0
- /package/schematics/ng-update/{update-17 → update-18}/index.d.ts +0 -0
- /package/schematics/ng-update/{update-17 → update-18}/index.spec.d.ts +0 -0
- /package/schematics/ng-update/{update-17 → update-18}/update-data.d.ts +0 -0
|
@@ -4,8 +4,8 @@ exports.createTestApp = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const test_project_1 = require("./test-project");
|
|
6
6
|
/** Create a base app used for testing. */
|
|
7
|
-
function createTestApp(
|
|
8
|
-
return tslib_1.__awaiter(this,
|
|
7
|
+
function createTestApp(runner_1) {
|
|
8
|
+
return tslib_1.__awaiter(this, arguments, void 0, function* (runner, appOptions = {}, tree) {
|
|
9
9
|
return (0, test_project_1.createTestProject)(runner, 'application', appOptions, tree);
|
|
10
10
|
});
|
|
11
11
|
}
|
|
@@ -10,8 +10,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
10
10
|
exports.createTestProject = void 0;
|
|
11
11
|
const tslib_1 = require("tslib");
|
|
12
12
|
/** Create a base project used for testing. */
|
|
13
|
-
function createTestProject(
|
|
14
|
-
return tslib_1.__awaiter(this,
|
|
13
|
+
function createTestProject(runner_1, projectType_1) {
|
|
14
|
+
return tslib_1.__awaiter(this, arguments, void 0, function* (runner, projectType, appOptions = {}, tree) {
|
|
15
15
|
const workspaceTree = yield runner.runExternalSchematic('@schematics/angular', 'workspace', {
|
|
16
16
|
name: 'workspace',
|
|
17
17
|
version: '6.0.0',
|
package/schematics/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "
|
|
1
|
+
export declare const VERSION = "18.0.0-next.0";
|
package/schematics/version.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterContentInit, ChangeDetectorRef, EventEmitter, QueryList } from '@angular/core';
|
|
1
|
+
import { AfterContentInit, ChangeDetectorRef, DestroyRef, EventEmitter, QueryList } from '@angular/core';
|
|
2
2
|
import { ThumbAnimationProps } from 'ngx-tethys/core';
|
|
3
3
|
import { ThySegmentItem } from './segment-item.component';
|
|
4
4
|
import { IThySegmentComponent } from './segment.token';
|
|
@@ -13,6 +13,7 @@ export type ThySegmentMode = 'block' | 'inline';
|
|
|
13
13
|
*/
|
|
14
14
|
export declare class ThySegment implements IThySegmentComponent, AfterContentInit {
|
|
15
15
|
private cdr;
|
|
16
|
+
private destroyRef;
|
|
16
17
|
/**
|
|
17
18
|
* @internal
|
|
18
19
|
*/
|
|
@@ -40,13 +41,14 @@ export declare class ThySegment implements IThySegmentComponent, AfterContentIni
|
|
|
40
41
|
*/
|
|
41
42
|
readonly thySelectChange: EventEmitter<ThySegmentEvent<unknown>>;
|
|
42
43
|
selectedItem: ThySegmentItem;
|
|
44
|
+
private newActiveIndex;
|
|
43
45
|
private activeIndex;
|
|
44
46
|
animationState: null | {
|
|
45
47
|
value: string;
|
|
46
48
|
params: ThumbAnimationProps;
|
|
47
49
|
};
|
|
48
50
|
transitionedTo: any;
|
|
49
|
-
constructor(cdr: ChangeDetectorRef);
|
|
51
|
+
constructor(cdr: ChangeDetectorRef, destroyRef: DestroyRef);
|
|
50
52
|
ngAfterContentInit(): void;
|
|
51
53
|
changeSelectedItem(item: ThySegmentItem, event?: Event): void;
|
|
52
54
|
handleThumbAnimationDone(event: AnimationEvent): void;
|
|
@@ -32,6 +32,10 @@
|
|
|
32
32
|
cursor: variables.$hand-cursor;
|
|
33
33
|
transition: color 0.3s ease-in-out;
|
|
34
34
|
|
|
35
|
+
&-icon {
|
|
36
|
+
color: variables.$segment-item-only-icon-default-color;
|
|
37
|
+
}
|
|
38
|
+
|
|
35
39
|
.icon-with-text {
|
|
36
40
|
color: variables.$segment-icon-with-text-default-color;
|
|
37
41
|
transition: color 0.3s ease-in-out;
|
|
@@ -40,6 +44,9 @@
|
|
|
40
44
|
&:not(.disabled) {
|
|
41
45
|
&:hover,
|
|
42
46
|
&:focus {
|
|
47
|
+
.#{variables.$thy-prefix}-segment-item-icon {
|
|
48
|
+
color: variables.$segment-item-only-icon-hover-color;
|
|
49
|
+
}
|
|
43
50
|
color: variables.$segment-hover-color;
|
|
44
51
|
.icon-with-text {
|
|
45
52
|
color: variables.$segment-icon-with-text-hover-color;
|
|
@@ -49,6 +56,9 @@
|
|
|
49
56
|
&.active {
|
|
50
57
|
@include segment-mixin.segment-item-active();
|
|
51
58
|
color: variables.$segment-active-color;
|
|
59
|
+
.#{variables.$thy-prefix}-segment-item-icon {
|
|
60
|
+
color: variables.$segment-item-only-icon-active-color;
|
|
61
|
+
}
|
|
52
62
|
.icon-with-text {
|
|
53
63
|
color: variables.$segment-icon-with-text-active-color;
|
|
54
64
|
}
|
|
@@ -61,20 +61,20 @@
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
// See https://codepen.io/kevinweber/pen/dXWoRw
|
|
64
|
-
@function escape-svg($string) {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
}
|
|
64
|
+
// @function escape-svg($string) {
|
|
65
|
+
// @if string.index($string, 'data:image/svg+xml') {
|
|
66
|
+
// @each $char, $encoded in $escaped-characters {
|
|
67
|
+
// // Do not escape the url brackets
|
|
68
|
+
// @if string.index($string, 'url(') == 1 {
|
|
69
|
+
// $string: url('#{str-replace(string.slice($string, 6, -3), $char, $encoded)}');
|
|
70
|
+
// } @else {
|
|
71
|
+
// $string: str-replace($string, $char, $encoded);
|
|
72
|
+
// }
|
|
73
|
+
// }
|
|
74
|
+
// }
|
|
75
|
+
|
|
76
|
+
// @return $string;
|
|
77
|
+
// }
|
|
78
78
|
|
|
79
79
|
// Color contrast
|
|
80
80
|
@function color-yiq($color, $dark: functions-variables.$yiq-text-dark, $light: functions-variables.$yiq-text-light) {
|
package/styles/variables.scss
CHANGED
|
@@ -1002,6 +1002,9 @@ $segment-sizes: (
|
|
|
1002
1002
|
) !default;
|
|
1003
1003
|
$segment-item-only-icon-xs-width: 28px !default;
|
|
1004
1004
|
$segment-item-only-icon-width: 38px !default;
|
|
1005
|
+
$segment-item-only-icon-default-color: $gray-600 !default;
|
|
1006
|
+
$segment-item-only-icon-active-color: $gray-700 !default;
|
|
1007
|
+
$segment-item-only-icon-hover-color: $gray-700 !default;
|
|
1005
1008
|
$segment-text-margin-left: 8px !default;
|
|
1006
1009
|
$segment-item-xs-padding-x: 8px !default;
|
|
1007
1010
|
$segment-item-padding-x: 12px !default;
|
package/upload/module.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "@angular/common";
|
|
3
|
-
import * as i2 from "
|
|
4
|
-
import * as i3 from "./file-
|
|
5
|
-
import * as i4 from "./file-drop.directive";
|
|
3
|
+
import * as i2 from "./file-select.component";
|
|
4
|
+
import * as i3 from "./file-drop.directive";
|
|
6
5
|
export declare class ThyUploadModule {
|
|
7
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyUploadModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ThyUploadModule, never, [typeof i1.CommonModule, typeof i2.
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ThyUploadModule, never, [typeof i1.CommonModule, typeof i2.ThyFileSelect, typeof i3.ThyFileDropDirective], [typeof i2.ThyFileSelect, typeof i3.ThyFileDropDirective]>;
|
|
9
8
|
static ɵinj: i0.ɵɵInjectorDeclaration<ThyUploadModule>;
|
|
10
9
|
}
|
|
@@ -30,7 +30,7 @@ export declare function isTemplateRef<C = any>(value: any): value is TemplateRef
|
|
|
30
30
|
export declare function isHTMLElement(value: any): value is HTMLElement;
|
|
31
31
|
export declare function isElementRef(value: any): value is ElementRef;
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* fix angular cdk's coerceBooleanProperty will transform 0 to true
|
|
34
34
|
*/
|
|
35
35
|
export declare function coerceBooleanProperty(value: boolean | string | number): boolean;
|
|
36
36
|
export type FunctionProp<T> = (...args: any[]) => T;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.onV17MigrationComplete = void 0;
|
|
4
|
-
function onV17MigrationComplete(context, targetVersion, hasFailures) {
|
|
5
|
-
context.logger.info('');
|
|
6
|
-
context.logger.info(` ✓ Updated NGX-TETHYS to ${targetVersion}`);
|
|
7
|
-
context.logger.info('');
|
|
8
|
-
if (hasFailures) {
|
|
9
|
-
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.');
|
|
10
|
-
context.logger.info('');
|
|
11
|
-
}
|
|
12
|
-
context.logger.info('Tips: the four points have changes in data structure. If it is used, please modify manually according to the error prompts.');
|
|
13
|
-
context.logger.info(' • The input parameter `thyShortcutRanges` of RangePicker would be changed to `thyShortcutPresets`.');
|
|
14
|
-
context.logger.info(' • The output parameter `thyShortcutValueChange` of DatePicker and RangePicker would be changed to `thyDateChange`.');
|
|
15
|
-
context.logger.info(' • The interface `ThyShortcutRange` would be changed to `ThyShortcutPreset`.');
|
|
16
|
-
context.logger.info(' • The interface `ThyShortcutValueChange` would be changed to `ThyDateChangeEvent`.');
|
|
17
|
-
context.logger.info('');
|
|
18
|
-
}
|
|
19
|
-
exports.onV17MigrationComplete = onV17MigrationComplete;
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
const schematics_1 = require("@angular-devkit/schematics");
|
|
5
|
-
const testing_1 = require("@angular-devkit/schematics/testing");
|
|
6
|
-
const testing_2 = require("../../testing");
|
|
7
|
-
describe('ng-update v17 Schematic', () => {
|
|
8
|
-
let tree;
|
|
9
|
-
const schematicRunner = new testing_1.SchematicTestRunner('migrations', require.resolve('../migration-collection.json'));
|
|
10
|
-
let workspaceTree;
|
|
11
|
-
beforeEach(() => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
|
|
12
|
-
const factory = (0, testing_2.createTestWorkspaceFactory)(schematicRunner);
|
|
13
|
-
yield factory.create();
|
|
14
|
-
yield factory.addApplication({ name: 'update-17-test' });
|
|
15
|
-
tree = factory.getTree();
|
|
16
|
-
}));
|
|
17
|
-
it('should update to ng v17', () => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
|
|
18
|
-
workspaceTree = yield schematicRunner.runSchematic('migration-v17', undefined, tree);
|
|
19
|
-
const file = workspaceTree.get('package.json');
|
|
20
|
-
expect(file.content.toString()).toBeTruthy();
|
|
21
|
-
const packageJSON = JSON.parse(file.content.toString());
|
|
22
|
-
expect(packageJSON['dependencies']['@angular/core']).toContain('^17.');
|
|
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
|
-
import { DialogHeaderComponent, DialogBodyComponent, DialogFooterComponent } from 'ngx-tethys/dialog';
|
|
33
|
-
|
|
34
|
-
@Component({
|
|
35
|
-
selector: 'app-root',
|
|
36
|
-
standalone: true,
|
|
37
|
-
imports: [
|
|
38
|
-
CommonModule,
|
|
39
|
-
FormsModule,
|
|
40
|
-
RouterOutlet,
|
|
41
|
-
ThySelectComponent,
|
|
42
|
-
ThySelectCustomComponent,
|
|
43
|
-
ThyOptionComponent,
|
|
44
|
-
ThyButtonComponent,
|
|
45
|
-
DialogHeaderComponent,
|
|
46
|
-
DialogBodyComponent,
|
|
47
|
-
DialogFooterComponent
|
|
48
|
-
],
|
|
49
|
-
templateUrl: './app.component.html',
|
|
50
|
-
styleUrls: ['./app.component.scss'],
|
|
51
|
-
})
|
|
52
|
-
export class AppComponent {}
|
|
53
|
-
`;
|
|
54
|
-
let workspaceTree;
|
|
55
|
-
beforeEach(() => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
|
|
56
|
-
const hostTree = new schematics_1.HostTree();
|
|
57
|
-
tree = yield schematicRunner.runExternalSchematic('@schematics/angular', 'workspace', {
|
|
58
|
-
name: 'test-workspace',
|
|
59
|
-
version: '17.0.0',
|
|
60
|
-
newProjectRoot: 'projects'
|
|
61
|
-
}, hostTree);
|
|
62
|
-
yield schematicRunner.runExternalSchematic('@schematics/angular', 'application', { name: 'update17test' }, tree);
|
|
63
|
-
tree.overwrite(TEST_COMPONENT_PATH, TEST_COMPONENT_CONTENT);
|
|
64
|
-
workspaceTree = yield schematicRunner.runSchematic('migration-v17', {}, tree);
|
|
65
|
-
}));
|
|
66
|
-
it('should remove the Component suffix from standalone components', () => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
|
|
67
|
-
const result = workspaceTree.read(TEST_COMPONENT_PATH).toString();
|
|
68
|
-
expect(result).not.toContain(`ThyOptionComponent`);
|
|
69
|
-
expect(result).toContain('ThyOption');
|
|
70
|
-
expect(result).not.toContain(`ThyButtonComponent`);
|
|
71
|
-
expect(result).toContain('ThyButton');
|
|
72
|
-
}));
|
|
73
|
-
it('should rename ThySelectCustomComponent to ThySelect', () => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
|
|
74
|
-
const result = workspaceTree.read(TEST_COMPONENT_PATH).toString();
|
|
75
|
-
expect(result).not.toContain('ThySelectComponent');
|
|
76
|
-
expect(result).toContain('ThyNativeSelect');
|
|
77
|
-
}));
|
|
78
|
-
it('should rename ThySelectComponent to ThyNativeSelect', () => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
|
|
79
|
-
const result = workspaceTree.read(TEST_COMPONENT_PATH).toString();
|
|
80
|
-
expect(result).not.toContain(`ThySelectCustomComponent`);
|
|
81
|
-
expect(result).toContain('ThySelect');
|
|
82
|
-
}));
|
|
83
|
-
it('should rename DialogHeaderComponent, DialogBodyComponent, DialogFooterComponent to ThyDialogHeader, ThyDialogBody, ThyDialogFooter', () => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
|
|
84
|
-
const result = workspaceTree.read(TEST_COMPONENT_PATH).toString();
|
|
85
|
-
expect(result).not.toContain(`DialogHeaderComponent`);
|
|
86
|
-
expect(result).toContain('ThyDialogHeader');
|
|
87
|
-
expect(result).not.toContain(`DialogBodyComponent`);
|
|
88
|
-
expect(result).toContain('ThyDialogBody');
|
|
89
|
-
expect(result).not.toContain(`DialogFooterComponent`);
|
|
90
|
-
expect(result).toContain('ThyDialogFooter');
|
|
91
|
-
}));
|
|
92
|
-
});
|
|
93
|
-
});
|