ngx-tethys 18.0.0-next.0 → 18.0.0-next.2
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 +161 -1
- package/action/action.component.d.ts +3 -3
- package/alert/alert.component.d.ts +1 -1
- package/anchor/anchor.component.d.ts +3 -1
- package/autocomplete/autocomplete.component.d.ts +1 -1
- package/autocomplete/autocomplete.trigger.directive.d.ts +1 -1
- package/avatar/avatar.component.d.ts +4 -4
- package/badge/badge.component.d.ts +3 -3
- package/breadcrumb/breadcrumb.component.d.ts +30 -2
- package/breadcrumb/module.d.ts +3 -1
- package/breadcrumb/styles/breadcrumb.scss +8 -0
- package/button/button-icon.component.d.ts +2 -2
- package/button/button.component.d.ts +2 -2
- package/button/styles/button.scss +5 -5
- package/card/card.component.d.ts +3 -3
- package/card/content.component.d.ts +1 -1
- package/carousel/carousel.component.d.ts +4 -4
- package/cascader/cascader-li.component.d.ts +5 -5
- package/cascader/cascader-search-option.component.d.ts +3 -3
- package/cascader/cascader.component.d.ts +8 -8
- package/checkbox/checkbox.component.d.ts +1 -1
- package/collapse/collapse-item.component.d.ts +2 -2
- package/collapse/collapse.component.d.ts +1 -1
- package/color-picker/color-picker-panel.component.d.ts +1 -1
- package/color-picker/color-picker.component.d.ts +3 -3
- package/copy/copy.directive.d.ts +1 -1
- package/core/behaviors/decorators.d.ts +1 -1
- package/core/overlay/abstract-overlay.config.d.ts +6 -0
- package/date-picker/abstract-picker.component.d.ts +15 -8
- package/date-picker/abstract-picker.directive.d.ts +3 -3
- package/date-picker/base-picker.component.d.ts +2 -2
- package/date-picker/date-picker.config.d.ts +1 -0
- package/date-picker/date-picker.service.d.ts +1 -0
- package/date-picker/lib/calendar/calendar-footer.component.d.ts +1 -1
- package/date-picker/lib/popups/date-popup.component.d.ts +2 -1
- package/date-picker/lib/popups/inner-popup.component.d.ts +1 -1
- package/date-picker/picker.component.d.ts +1 -1
- package/date-picker/picker.util.d.ts +2 -0
- package/date-range/date-range.component.d.ts +8 -2
- package/dialog/body/dialog-body.component.d.ts +1 -1
- package/dialog/footer/dialog-footer.component.d.ts +1 -1
- package/dialog/header/dialog-header.component.d.ts +1 -1
- package/divider/divider.component.d.ts +2 -2
- package/drag-drop/drag-handle.directive.d.ts +1 -1
- package/drag-drop/drag.directive.d.ts +1 -1
- package/drag-drop/drop-container.directive.d.ts +1 -1
- package/dropdown/dropdown-menu-item.directive.d.ts +2 -2
- package/dropdown/dropdown-menu.component.d.ts +1 -1
- package/dropdown/dropdown.directive.d.ts +1 -1
- package/empty/empty.component.d.ts +1 -1
- package/esm2022/action/action.component.mjs +7 -6
- package/esm2022/alert/alert.component.mjs +5 -5
- package/esm2022/anchor/anchor.component.mjs +5 -5
- package/esm2022/autocomplete/autocomplete.component.mjs +5 -4
- package/esm2022/autocomplete/autocomplete.trigger.directive.mjs +5 -5
- package/esm2022/avatar/avatar.component.mjs +8 -8
- package/esm2022/badge/badge.component.mjs +7 -6
- package/esm2022/breadcrumb/breadcrumb.component.mjs +73 -32
- package/esm2022/breadcrumb/module.mjs +6 -4
- package/esm2022/button/button-icon.component.mjs +6 -5
- package/esm2022/button/button.component.mjs +6 -6
- package/esm2022/card/card.component.mjs +7 -6
- package/esm2022/card/content.component.mjs +5 -4
- package/esm2022/carousel/carousel.component.mjs +8 -7
- package/esm2022/cascader/cascader-li.component.mjs +9 -8
- package/esm2022/cascader/cascader-search-option.component.mjs +7 -6
- package/esm2022/cascader/cascader.component.mjs +19 -12
- package/esm2022/checkbox/checkbox.component.mjs +5 -4
- package/esm2022/collapse/collapse-item.component.mjs +6 -6
- package/esm2022/collapse/collapse.component.mjs +5 -4
- package/esm2022/color-picker/color-picker-panel.component.mjs +5 -4
- package/esm2022/color-picker/color-picker.component.mjs +7 -6
- package/esm2022/color-picker/parts/inputs/inputs.component.mjs +1 -1
- package/esm2022/copy/copy.directive.mjs +5 -4
- package/esm2022/core/behaviors/decorators.mjs +2 -2
- package/esm2022/core/overlay/abstract-overlay.config.mjs +7 -1
- package/esm2022/date-picker/abstract-picker.component.mjs +28 -17
- package/esm2022/date-picker/abstract-picker.directive.mjs +8 -7
- package/esm2022/date-picker/base-picker.component.mjs +5 -5
- package/esm2022/date-picker/date-picker.component.mjs +3 -3
- package/esm2022/date-picker/date-picker.config.mjs +2 -1
- package/esm2022/date-picker/date-picker.service.mjs +4 -1
- package/esm2022/date-picker/lib/calendar/calendar-footer.component.mjs +5 -5
- package/esm2022/date-picker/lib/date/date-header.component.mjs +4 -4
- package/esm2022/date-picker/lib/decade/decade-header.component.mjs +4 -4
- package/esm2022/date-picker/lib/month/month-header.component.mjs +4 -4
- package/esm2022/date-picker/lib/popups/date-popup.component.mjs +7 -4
- package/esm2022/date-picker/lib/popups/inner-popup.component.mjs +5 -5
- package/esm2022/date-picker/lib/year/year-header.component.mjs +4 -4
- package/esm2022/date-picker/month-picker.component.mjs +3 -3
- package/esm2022/date-picker/picker.component.mjs +5 -5
- package/esm2022/date-picker/picker.util.mjs +14 -2
- package/esm2022/date-picker/quarter-picker.component.mjs +3 -3
- package/esm2022/date-picker/range-picker.component.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 +6 -5
- package/esm2022/dialog/body/dialog-body.component.mjs +5 -4
- package/esm2022/dialog/footer/dialog-footer.component.mjs +5 -4
- package/esm2022/dialog/header/dialog-header.component.mjs +5 -4
- package/esm2022/divider/divider.component.mjs +6 -5
- package/esm2022/drag-drop/drag-handle.directive.mjs +5 -4
- package/esm2022/drag-drop/drag.directive.mjs +5 -4
- package/esm2022/drag-drop/drop-container.directive.mjs +5 -4
- package/esm2022/dropdown/dropdown-menu-item.directive.mjs +7 -6
- package/esm2022/dropdown/dropdown-menu.component.mjs +5 -4
- package/esm2022/dropdown/dropdown.directive.mjs +5 -5
- package/esm2022/empty/empty.component.mjs +5 -4
- package/esm2022/form/form-group-error/form-group-error.component.mjs +5 -4
- package/esm2022/form/form-group-label.directive.mjs +5 -4
- package/esm2022/form/form-group.component.mjs +7 -6
- package/esm2022/icon/icon.component.mjs +6 -5
- package/esm2022/image/image.class.mjs +1 -1
- package/esm2022/image/image.directive.mjs +6 -5
- package/esm2022/image/index.mjs +6 -5
- package/esm2022/image/preview/image-preview.component.mjs +21 -13
- package/esm2022/input/input-search.component.mjs +5 -4
- package/esm2022/input/input.component.mjs +6 -5
- package/esm2022/input-number/input-number.component.mjs +14 -7
- package/esm2022/layout/header.component.mjs +7 -6
- package/esm2022/layout/sidebar-header.component.mjs +5 -4
- package/esm2022/layout/sidebar.component.mjs +12 -11
- package/esm2022/list/list.component.mjs +5 -4
- package/esm2022/list/selection/selection-list.mjs +7 -7
- package/esm2022/loading/loading.component.mjs +6 -5
- package/esm2022/mention/mention.directive.mjs +3 -3
- package/esm2022/menu/group/menu-group.component.mjs +10 -9
- package/esm2022/menu/item/action/menu-item-action.component.mjs +17 -7
- package/esm2022/menu/item/name/menu-item-name.component.mjs +5 -4
- package/esm2022/menu/menu.component.mjs +5 -4
- package/esm2022/nav/icon-nav/icon-nav-link.directive.mjs +5 -4
- package/esm2022/nav/nav-ink-bar.directive.mjs +6 -5
- package/esm2022/nav/nav-item.directive.mjs +7 -6
- package/esm2022/nav/nav.component.mjs +18 -7
- package/esm2022/pagination/pagination.class.mjs +1 -1
- package/esm2022/pagination/pagination.component.mjs +22 -10
- package/esm2022/pagination/pagination.config.mjs +3 -2
- package/esm2022/popover/popover.directive.mjs +6 -5
- package/esm2022/popover/popover.service.mjs +2 -1
- package/esm2022/property/property-item.component.mjs +6 -5
- package/esm2022/property-operation/property-operation.component.mjs +9 -9
- package/esm2022/radio/group/radio-group.component.mjs +5 -4
- package/esm2022/rate/rate-item.component.mjs +5 -4
- package/esm2022/rate/rate.component.mjs +7 -7
- package/esm2022/resizable/resizable.directive.mjs +7 -6
- package/esm2022/resizable/resize-handle.component.mjs +5 -4
- package/esm2022/resizable/resize-handles.component.mjs +5 -4
- package/esm2022/segment/segment-item.component.mjs +5 -5
- package/esm2022/segment/segment.component.mjs +5 -4
- package/esm2022/select/custom-select/custom-select.component.mjs +14 -14
- package/esm2022/select/native-select/native-select.component.mjs +5 -5
- package/esm2022/shared/base-form-check.component.mjs +6 -5
- package/esm2022/shared/directives/thy-autofocus.directive.mjs +6 -5
- package/esm2022/shared/directives/thy-scroll.directive.mjs +5 -4
- package/esm2022/shared/directives/thy-show.mjs +5 -4
- package/esm2022/shared/option/group/option-group.component.mjs +5 -4
- package/esm2022/shared/option/list-option/list-option.component.mjs +5 -4
- package/esm2022/shared/option/option.component.mjs +5 -5
- package/esm2022/shared/select/select-control/select-control.component.mjs +10 -10
- package/esm2022/skeleton/skeleton-circle.component.mjs +5 -5
- package/esm2022/skeleton/skeleton-rectangle.component.mjs +5 -5
- package/esm2022/skeleton/skeleton.component.mjs +5 -4
- package/esm2022/skeleton/stylized/bullet-list.component.mjs +5 -4
- package/esm2022/skeleton/stylized/list.component.mjs +5 -4
- package/esm2022/skeleton/stylized/paragraph.component.mjs +5 -4
- package/esm2022/slide/slide-body/slide-body-section.component.mjs +5 -4
- package/esm2022/slider/slider.component.mjs +6 -6
- package/esm2022/space/space.component.mjs +5 -4
- package/esm2022/stepper/step-header.component.mjs +6 -5
- package/esm2022/stepper/stepper.component.mjs +5 -4
- package/esm2022/switch/switch.component.mjs +6 -5
- package/esm2022/table/table-column.component.mjs +9 -9
- package/esm2022/table/table-skeleton.component.mjs +8 -7
- package/esm2022/table/table.component.mjs +19 -17
- package/esm2022/tabs/tab.component.mjs +5 -4
- package/esm2022/tabs/tabs.component.mjs +6 -6
- package/esm2022/tag/tag.component.mjs +5 -5
- package/esm2022/time-picker/time-picker-panel.component.mjs +6 -6
- package/esm2022/time-picker/time-picker.component.mjs +9 -9
- package/esm2022/timeline/timeline.component.mjs +5 -4
- package/esm2022/tooltip/tooltip.directive.mjs +6 -6
- package/esm2022/tree/tree-node.component.mjs +9 -8
- package/esm2022/tree/tree.component.mjs +32 -11
- package/esm2022/tree/tree.service.mjs +3 -3
- package/esm2022/tree-select/tree-select.component.mjs +20 -18
- package/esm2022/upload/file-select.component.mjs +24 -27
- package/esm2022/version.mjs +2 -2
- package/esm2022/vote/vote.component.mjs +7 -6
- package/esm2022/watermark/watermark.directive.mjs +5 -4
- package/fesm2022/ngx-tethys-action.mjs +6 -5
- package/fesm2022/ngx-tethys-action.mjs.map +1 -1
- package/fesm2022/ngx-tethys-alert.mjs +4 -4
- package/fesm2022/ngx-tethys-alert.mjs.map +1 -1
- package/fesm2022/ngx-tethys-anchor.mjs +4 -4
- package/fesm2022/ngx-tethys-anchor.mjs.map +1 -1
- package/fesm2022/ngx-tethys-autocomplete.mjs +6 -6
- package/fesm2022/ngx-tethys-autocomplete.mjs.map +1 -1
- package/fesm2022/ngx-tethys-avatar.mjs +7 -7
- package/fesm2022/ngx-tethys-avatar.mjs.map +1 -1
- package/fesm2022/ngx-tethys-badge.mjs +6 -5
- package/fesm2022/ngx-tethys-badge.mjs.map +1 -1
- package/fesm2022/ngx-tethys-breadcrumb.mjs +117 -77
- package/fesm2022/ngx-tethys-breadcrumb.mjs.map +1 -1
- package/fesm2022/ngx-tethys-button.mjs +8 -8
- package/fesm2022/ngx-tethys-button.mjs.map +1 -1
- package/fesm2022/ngx-tethys-card.mjs +8 -7
- package/fesm2022/ngx-tethys-card.mjs.map +1 -1
- package/fesm2022/ngx-tethys-carousel.mjs +7 -6
- package/fesm2022/ngx-tethys-carousel.mjs.map +1 -1
- package/fesm2022/ngx-tethys-cascader.mjs +28 -21
- package/fesm2022/ngx-tethys-cascader.mjs.map +1 -1
- package/fesm2022/ngx-tethys-checkbox.mjs +4 -3
- package/fesm2022/ngx-tethys-checkbox.mjs.map +1 -1
- package/fesm2022/ngx-tethys-collapse.mjs +7 -7
- package/fesm2022/ngx-tethys-collapse.mjs.map +1 -1
- package/fesm2022/ngx-tethys-color-picker.mjs +9 -8
- package/fesm2022/ngx-tethys-color-picker.mjs.map +1 -1
- package/fesm2022/ngx-tethys-copy.mjs +4 -3
- package/fesm2022/ngx-tethys-copy.mjs.map +1 -1
- package/fesm2022/ngx-tethys-core.mjs +7 -1
- package/fesm2022/ngx-tethys-core.mjs.map +1 -1
- package/fesm2022/ngx-tethys-date-picker.mjs +86 -57
- package/fesm2022/ngx-tethys-date-picker.mjs.map +1 -1
- package/fesm2022/ngx-tethys-date-range.mjs +5 -4
- package/fesm2022/ngx-tethys-date-range.mjs.map +1 -1
- package/fesm2022/ngx-tethys-dialog.mjs +8 -7
- package/fesm2022/ngx-tethys-dialog.mjs.map +1 -1
- package/fesm2022/ngx-tethys-divider.mjs +5 -4
- package/fesm2022/ngx-tethys-divider.mjs.map +1 -1
- package/fesm2022/ngx-tethys-drag-drop.mjs +8 -8
- package/fesm2022/ngx-tethys-drag-drop.mjs.map +1 -1
- package/fesm2022/ngx-tethys-dropdown.mjs +10 -10
- package/fesm2022/ngx-tethys-dropdown.mjs.map +1 -1
- package/fesm2022/ngx-tethys-empty.mjs +4 -3
- package/fesm2022/ngx-tethys-empty.mjs.map +1 -1
- package/fesm2022/ngx-tethys-form.mjs +10 -10
- package/fesm2022/ngx-tethys-form.mjs.map +1 -1
- package/fesm2022/ngx-tethys-icon.mjs +5 -5
- package/fesm2022/ngx-tethys-icon.mjs.map +1 -1
- package/fesm2022/ngx-tethys-image.mjs +24 -16
- package/fesm2022/ngx-tethys-image.mjs.map +1 -1
- package/fesm2022/ngx-tethys-input-number.mjs +13 -6
- package/fesm2022/ngx-tethys-input-number.mjs.map +1 -1
- package/fesm2022/ngx-tethys-input.mjs +7 -6
- package/fesm2022/ngx-tethys-input.mjs.map +1 -1
- package/fesm2022/ngx-tethys-layout.mjs +17 -16
- package/fesm2022/ngx-tethys-layout.mjs.map +1 -1
- package/fesm2022/ngx-tethys-list.mjs +8 -8
- package/fesm2022/ngx-tethys-list.mjs.map +1 -1
- package/fesm2022/ngx-tethys-loading.mjs +5 -4
- package/fesm2022/ngx-tethys-loading.mjs.map +1 -1
- package/fesm2022/ngx-tethys-mention.mjs +2 -2
- package/fesm2022/ngx-tethys-mention.mjs.map +1 -1
- package/fesm2022/ngx-tethys-menu.mjs +26 -16
- package/fesm2022/ngx-tethys-menu.mjs.map +1 -1
- package/fesm2022/ngx-tethys-nav.mjs +26 -16
- package/fesm2022/ngx-tethys-nav.mjs.map +1 -1
- package/fesm2022/ngx-tethys-pagination.mjs +23 -10
- package/fesm2022/ngx-tethys-pagination.mjs.map +1 -1
- package/fesm2022/ngx-tethys-popover.mjs +6 -5
- package/fesm2022/ngx-tethys-popover.mjs.map +1 -1
- package/fesm2022/ngx-tethys-property-operation.mjs +8 -8
- package/fesm2022/ngx-tethys-property-operation.mjs.map +1 -1
- package/fesm2022/ngx-tethys-property.mjs +5 -4
- package/fesm2022/ngx-tethys-property.mjs.map +1 -1
- package/fesm2022/ngx-tethys-radio.mjs +7 -6
- package/fesm2022/ngx-tethys-radio.mjs.map +1 -1
- package/fesm2022/ngx-tethys-rate.mjs +8 -8
- package/fesm2022/ngx-tethys-rate.mjs.map +1 -1
- package/fesm2022/ngx-tethys-resizable.mjs +10 -10
- package/fesm2022/ngx-tethys-resizable.mjs.map +1 -1
- package/fesm2022/ngx-tethys-segment.mjs +6 -6
- package/fesm2022/ngx-tethys-segment.mjs.map +1 -1
- package/fesm2022/ngx-tethys-select.mjs +15 -15
- package/fesm2022/ngx-tethys-select.mjs.map +1 -1
- package/fesm2022/ngx-tethys-shared.mjs +25 -25
- package/fesm2022/ngx-tethys-shared.mjs.map +1 -1
- package/fesm2022/ngx-tethys-skeleton.mjs +14 -14
- package/fesm2022/ngx-tethys-skeleton.mjs.map +1 -1
- package/fesm2022/ngx-tethys-slide.mjs +4 -4
- package/fesm2022/ngx-tethys-slide.mjs.map +1 -1
- package/fesm2022/ngx-tethys-slider.mjs +5 -5
- package/fesm2022/ngx-tethys-slider.mjs.map +1 -1
- package/fesm2022/ngx-tethys-space.mjs +4 -3
- package/fesm2022/ngx-tethys-space.mjs.map +1 -1
- package/fesm2022/ngx-tethys-stepper.mjs +7 -6
- package/fesm2022/ngx-tethys-stepper.mjs.map +1 -1
- package/fesm2022/ngx-tethys-switch.mjs +5 -4
- package/fesm2022/ngx-tethys-switch.mjs.map +1 -1
- package/fesm2022/ngx-tethys-table.mjs +29 -27
- package/fesm2022/ngx-tethys-table.mjs.map +1 -1
- package/fesm2022/ngx-tethys-tabs.mjs +7 -7
- package/fesm2022/ngx-tethys-tabs.mjs.map +1 -1
- package/fesm2022/ngx-tethys-tag.mjs +4 -4
- package/fesm2022/ngx-tethys-tag.mjs.map +1 -1
- package/fesm2022/ngx-tethys-time-picker.mjs +11 -11
- package/fesm2022/ngx-tethys-time-picker.mjs.map +1 -1
- package/fesm2022/ngx-tethys-timeline.mjs +4 -3
- package/fesm2022/ngx-tethys-timeline.mjs.map +1 -1
- package/fesm2022/ngx-tethys-tooltip.mjs +5 -5
- package/fesm2022/ngx-tethys-tooltip.mjs.map +1 -1
- package/fesm2022/ngx-tethys-tree-select.mjs +14 -11
- package/fesm2022/ngx-tethys-tree-select.mjs.map +1 -1
- package/fesm2022/ngx-tethys-tree.mjs +39 -18
- package/fesm2022/ngx-tethys-tree.mjs.map +1 -1
- package/fesm2022/ngx-tethys-upload.mjs +23 -27
- package/fesm2022/ngx-tethys-upload.mjs.map +1 -1
- package/fesm2022/ngx-tethys-vote.mjs +6 -5
- package/fesm2022/ngx-tethys-vote.mjs.map +1 -1
- package/fesm2022/ngx-tethys-watermark.mjs +4 -3
- package/fesm2022/ngx-tethys-watermark.mjs.map +1 -1
- package/fesm2022/ngx-tethys.mjs +1 -1
- package/fesm2022/ngx-tethys.mjs.map +1 -1
- package/form/form-group-error/form-group-error.component.d.ts +1 -1
- package/form/form-group-label.directive.d.ts +1 -1
- package/form/form-group.component.d.ts +3 -3
- package/icon/icon.component.d.ts +2 -2
- package/image/image.class.d.ts +1 -1
- package/image/image.directive.d.ts +2 -2
- package/image/index.d.ts +5 -4
- package/image/preview/image-preview.component.d.ts +5 -5
- package/input/input-search.component.d.ts +1 -1
- package/input/input.component.d.ts +2 -2
- package/input/styles/input-group.scss +3 -0
- package/input-number/input-number.component.d.ts +10 -3
- package/layout/header.component.d.ts +3 -3
- package/layout/sidebar-header.component.d.ts +1 -1
- package/layout/sidebar.component.d.ts +7 -7
- package/list/list.component.d.ts +1 -1
- package/list/selection/selection-list.d.ts +3 -3
- package/loading/loading.component.d.ts +2 -2
- package/menu/group/menu-group.component.d.ts +6 -6
- package/menu/item/action/menu-item-action.component.d.ts +8 -3
- package/menu/item/name/menu-item-name.component.d.ts +1 -1
- package/menu/menu.component.d.ts +1 -1
- package/menu/styles/menu.scss +8 -0
- package/nav/icon-nav/icon-nav-link.directive.d.ts +1 -1
- package/nav/nav-ink-bar.directive.d.ts +2 -2
- package/nav/nav-item.directive.d.ts +3 -3
- package/nav/nav.component.d.ts +7 -5
- package/package.json +2 -2
- package/pagination/pagination.class.d.ts +4 -0
- package/pagination/pagination.component.d.ts +11 -6
- package/popover/popover.directive.d.ts +2 -2
- package/property/property-item.component.d.ts +4 -1
- package/property/styles/properties.scss +2 -0
- package/property-operation/property-operation.component.d.ts +5 -5
- package/radio/group/radio-group.component.d.ts +1 -1
- package/rate/rate-item.component.d.ts +1 -1
- package/rate/rate.component.d.ts +3 -3
- package/resizable/resizable.directive.d.ts +3 -3
- package/resizable/resize-handle.component.d.ts +1 -1
- package/resizable/resize-handles.component.d.ts +1 -1
- package/schematics/ng-update/update-18/complete.js +0 -10
- package/schematics/ng-update/update-18/index.spec.js +0 -73
- package/schematics/ng-update/update-18/update-data.js +4 -860
- package/schematics/version.d.ts +1 -1
- package/schematics/version.js +1 -1
- package/segment/segment-item.component.d.ts +1 -1
- package/segment/segment.component.d.ts +5 -1
- package/select/custom-select/custom-select.component.d.ts +10 -10
- package/select/native-select/native-select.component.d.ts +1 -1
- package/shared/base-form-check.component.d.ts +2 -2
- package/shared/directives/thy-autofocus.directive.d.ts +2 -2
- package/shared/directives/thy-scroll.directive.d.ts +1 -1
- package/shared/directives/thy-show.d.ts +1 -1
- package/shared/option/group/option-group.component.d.ts +1 -1
- package/shared/option/list-option/list-option.component.d.ts +1 -1
- package/shared/option/option.component.d.ts +1 -1
- package/shared/option/styles/select-dropdown.scss +1 -0
- package/shared/select/select-control/select-control.component.d.ts +6 -6
- package/skeleton/skeleton-circle.component.d.ts +1 -1
- package/skeleton/skeleton-rectangle.component.d.ts +1 -1
- package/skeleton/skeleton.component.d.ts +1 -1
- package/skeleton/stylized/bullet-list.component.d.ts +1 -1
- package/skeleton/stylized/list.component.d.ts +1 -1
- package/skeleton/stylized/paragraph.component.d.ts +1 -1
- package/slide/slide-body/slide-body-section.component.d.ts +1 -1
- package/slider/slider.component.d.ts +2 -2
- package/slider/slider.scss +12 -20
- package/space/space.component.d.ts +1 -1
- package/stepper/step-header.component.d.ts +2 -2
- package/stepper/stepper.component.d.ts +1 -1
- package/styles/modules/tables.scss +20 -0
- package/styles/variables.scss +2 -2
- package/switch/switch.component.d.ts +2 -2
- package/table/styles/skeleton.scss +5 -0
- package/table/table-column.component.d.ts +5 -5
- package/table/table-skeleton.component.d.ts +2 -2
- package/table/table.component.d.ts +13 -11
- package/tabs/tab.component.d.ts +1 -1
- package/tabs/tabs.component.d.ts +2 -2
- package/tag/tag.component.d.ts +1 -1
- package/time-picker/time-picker-panel.component.d.ts +2 -2
- package/time-picker/time-picker.component.d.ts +5 -5
- package/timeline/timeline.component.d.ts +1 -1
- package/tooltip/tooltip.directive.d.ts +10 -2
- package/tree/tree-node.component.d.ts +20 -5
- package/tree/tree.component.d.ts +17 -7
- package/tree/tree.service.d.ts +1 -1
- package/tree-select/tree-select.component.d.ts +7 -7
- package/upload/file-select.component.d.ts +7 -8
- package/vote/vote.component.d.ts +3 -3
- package/watermark/watermark.directive.d.ts +1 -1
|
@@ -51,6 +51,9 @@
|
|
|
51
51
|
> .form-control {
|
|
52
52
|
min-height: 34px;
|
|
53
53
|
|
|
54
|
+
// bottom 6px + group-suffix height 22px
|
|
55
|
+
padding-bottom: 28px;
|
|
56
|
+
|
|
54
57
|
// The suffix of textarea uses absolute position, so the right side of textarea needs border-radius
|
|
55
58
|
&:not(:last-child) {
|
|
56
59
|
@include border-radius.border-right-radius(bootstrap-variables.$input-border-radius);
|
|
@@ -78,6 +78,13 @@ export declare class ThyInputNumber extends TabIndexDisabledControlValueAccessor
|
|
|
78
78
|
* 焦点激活事件
|
|
79
79
|
*/
|
|
80
80
|
thyFocus: EventEmitter<Event>;
|
|
81
|
+
/**
|
|
82
|
+
* 上下箭头点击事件
|
|
83
|
+
*/
|
|
84
|
+
thyStepChange: EventEmitter<{
|
|
85
|
+
value: number;
|
|
86
|
+
type: Type;
|
|
87
|
+
}>;
|
|
81
88
|
private innerMax;
|
|
82
89
|
private innerMin;
|
|
83
90
|
private isFocused;
|
|
@@ -107,9 +114,9 @@ export declare class ThyInputNumber extends TabIndexDisabledControlValueAccessor
|
|
|
107
114
|
isInputNumber(value: string): boolean;
|
|
108
115
|
ngOnDestroy(): void;
|
|
109
116
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyInputNumber, never>;
|
|
110
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyInputNumber, "thy-input-number", never, { "thyAutoFocus": { "alias": "thyAutoFocus"; "required": false; }; "thyPlaceholder": { "alias": "thyPlaceholder"; "required": false; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; "thyMax": { "alias": "thyMax"; "required": false; }; "thyMin": { "alias": "thyMin"; "required": false; }; "thyStep": { "alias": "thyStep"; "required": false; }; "thyStepDelay": { "alias": "thyStepDelay"; "required": false; }; "thySize": { "alias": "thySize"; "required": false; }; "thyPrecision": { "alias": "thyPrecision"; "required": false; }; "thySuffix": { "alias": "thySuffix"; "required": false; }; }, { "thyBlur": "thyBlur"; "thyFocus": "thyFocus"; }, never, never, true, never>;
|
|
111
|
-
static ngAcceptInputType_thyAutoFocus:
|
|
112
|
-
static ngAcceptInputType_thyDisabled:
|
|
117
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyInputNumber, "thy-input-number", never, { "thyAutoFocus": { "alias": "thyAutoFocus"; "required": false; }; "thyPlaceholder": { "alias": "thyPlaceholder"; "required": false; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; "thyMax": { "alias": "thyMax"; "required": false; }; "thyMin": { "alias": "thyMin"; "required": false; }; "thyStep": { "alias": "thyStep"; "required": false; }; "thyStepDelay": { "alias": "thyStepDelay"; "required": false; }; "thySize": { "alias": "thySize"; "required": false; }; "thyPrecision": { "alias": "thyPrecision"; "required": false; }; "thySuffix": { "alias": "thySuffix"; "required": false; }; }, { "thyBlur": "thyBlur"; "thyFocus": "thyFocus"; "thyStepChange": "thyStepChange"; }, never, never, true, never>;
|
|
118
|
+
static ngAcceptInputType_thyAutoFocus: boolean | string | number;
|
|
119
|
+
static ngAcceptInputType_thyDisabled: boolean | string | number;
|
|
113
120
|
static ngAcceptInputType_thyStep: unknown;
|
|
114
121
|
static ngAcceptInputType_thyStepDelay: unknown;
|
|
115
122
|
}
|
|
@@ -28,9 +28,9 @@ export declare class ThyHeaderDirective {
|
|
|
28
28
|
set thyHasBorder(value: boolean);
|
|
29
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyHeaderDirective, never>;
|
|
30
30
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ThyHeaderDirective, "[thyHeader]", never, { "thySize": { "alias": "thySize"; "required": false; }; "thyShadow": { "alias": "thyShadow"; "required": false; }; "thyDivided": { "alias": "thyDivided"; "required": false; }; "thyHasBorder": { "alias": "thyHasBorder"; "required": false; }; }, {}, never, never, true, never>;
|
|
31
|
-
static ngAcceptInputType_thyShadow:
|
|
32
|
-
static ngAcceptInputType_thyDivided:
|
|
33
|
-
static ngAcceptInputType_thyHasBorder:
|
|
31
|
+
static ngAcceptInputType_thyShadow: boolean | string | number;
|
|
32
|
+
static ngAcceptInputType_thyDivided: boolean | string | number;
|
|
33
|
+
static ngAcceptInputType_thyHasBorder: boolean | string | number;
|
|
34
34
|
}
|
|
35
35
|
/**
|
|
36
36
|
* 头部布局组件
|
|
@@ -13,7 +13,7 @@ export declare class ThySidebarHeaderDirective {
|
|
|
13
13
|
thyDivided: boolean | string;
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThySidebarHeaderDirective, never>;
|
|
15
15
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ThySidebarHeaderDirective, "[thySidebarHeader]", never, { "thyDivided": { "alias": "thyDivided"; "required": false; }; }, {}, never, never, true, never>;
|
|
16
|
-
static ngAcceptInputType_thyDivided:
|
|
16
|
+
static ngAcceptInputType_thyDivided: boolean | string | number;
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
19
19
|
* 侧边栏头部布局组件
|
|
@@ -56,10 +56,10 @@ export declare class ThySidebarDirective implements OnInit {
|
|
|
56
56
|
ngOnInit(): void;
|
|
57
57
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThySidebarDirective, [{ optional: true; host: true; }]>;
|
|
58
58
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ThySidebarDirective, "[thySidebar]", never, { "thyDirection": { "alias": "thyDirection"; "required": false; }; "thyTheme": { "alias": "thyTheme"; "required": false; }; "thyWidth": { "alias": "thyWidth"; "required": false; }; "thyIsolated": { "alias": "thyIsolated"; "required": false; }; "thyDivided": { "alias": "thyDivided"; "required": false; }; "thyHasBorderRight": { "alias": "thyHasBorderRight"; "required": false; }; "thyHasBorderLeft": { "alias": "thyHasBorderLeft"; "required": false; }; }, {}, never, never, true, never>;
|
|
59
|
-
static ngAcceptInputType_thyIsolated:
|
|
60
|
-
static ngAcceptInputType_thyDivided:
|
|
61
|
-
static ngAcceptInputType_thyHasBorderRight:
|
|
62
|
-
static ngAcceptInputType_thyHasBorderLeft:
|
|
59
|
+
static ngAcceptInputType_thyIsolated: boolean | string | number;
|
|
60
|
+
static ngAcceptInputType_thyDivided: boolean | string | number;
|
|
61
|
+
static ngAcceptInputType_thyHasBorderRight: boolean | string | number;
|
|
62
|
+
static ngAcceptInputType_thyHasBorderLeft: boolean | string | number;
|
|
63
63
|
}
|
|
64
64
|
/**
|
|
65
65
|
* 侧边栏布局组件
|
|
@@ -146,10 +146,10 @@ export declare class ThySidebar implements OnInit, OnDestroy {
|
|
|
146
146
|
ngOnDestroy(): void;
|
|
147
147
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThySidebar, never>;
|
|
148
148
|
static ɵcmp: i0.ɵɵComponentDeclaration<ThySidebar, "thy-sidebar", never, { "thyDraggable": { "alias": "thyDraggable"; "required": false; }; "thyDragMaxWidth": { "alias": "thyDragMaxWidth"; "required": false; }; "thyDragMinWidth": { "alias": "thyDragMinWidth"; "required": false; }; "thyTrigger": { "alias": "thyTrigger"; "required": false; }; "thyCollapsible": { "alias": "thyCollapsible"; "required": false; }; "thyCollapsed": { "alias": "thyCollapsed"; "required": false; }; "thyCollapsedWidth": { "alias": "thyCollapsedWidth"; "required": false; }; "thyDefaultWidth": { "alias": "thyDefaultWidth"; "required": false; }; }, { "thyCollapsedChange": "thyCollapsedChange"; "thyDragWidthChange": "thyDragWidthChange"; }, never, ["*"], true, [{ directive: typeof ThySidebarDirective; inputs: { "thyTheme": "thyTheme"; "thyDirection": "thyDirection"; "thyWidth": "thyWidth"; "thyIsolated": "thyIsolated"; "thyDivided": "thyDivided"; "thyHasBorderLeft": "thyHasBorderLeft"; "thyHasBorderRight": "thyHasBorderRight"; }; outputs: {}; }]>;
|
|
149
|
-
static ngAcceptInputType_thyDraggable:
|
|
149
|
+
static ngAcceptInputType_thyDraggable: boolean | string | number;
|
|
150
150
|
static ngAcceptInputType_thyDragMaxWidth: unknown;
|
|
151
151
|
static ngAcceptInputType_thyDragMinWidth: unknown;
|
|
152
|
-
static ngAcceptInputType_thyCollapsible:
|
|
153
|
-
static ngAcceptInputType_thyCollapsed:
|
|
152
|
+
static ngAcceptInputType_thyCollapsible: boolean | string | number;
|
|
153
|
+
static ngAcceptInputType_thyCollapsed: boolean | string | number;
|
|
154
154
|
static ngAcceptInputType_thyCollapsedWidth: unknown;
|
|
155
155
|
}
|
package/list/list.component.d.ts
CHANGED
|
@@ -15,5 +15,5 @@ export declare class ThyList {
|
|
|
15
15
|
constructor();
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyList, never>;
|
|
17
17
|
static ɵcmp: i0.ɵɵComponentDeclaration<ThyList, "thy-list", never, { "thyDivided": { "alias": "thyDivided"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
18
|
-
static ngAcceptInputType_thyDivided:
|
|
18
|
+
static ngAcceptInputType_thyDivided: boolean | string | number;
|
|
19
19
|
}
|
|
@@ -122,7 +122,7 @@ export declare class ThySelectionList implements OnInit, OnDestroy, AfterContent
|
|
|
122
122
|
ngOnDestroy(): void;
|
|
123
123
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThySelectionList, never>;
|
|
124
124
|
static ɵcmp: i0.ɵɵComponentDeclaration<ThySelectionList, "thy-selection-list,[thy-selection-list]", never, { "thyMultiple": { "alias": "thyMultiple"; "required": false; }; "thyBindKeyEventContainer": { "alias": "thyBindKeyEventContainer"; "required": false; }; "thyScrollContainer": { "alias": "thyScrollContainer"; "required": false; }; "thyBeforeKeydown": { "alias": "thyBeforeKeydown"; "required": false; }; "thyUniqueKey": { "alias": "thyUniqueKey"; "required": false; }; "thyCompareWith": { "alias": "thyCompareWith"; "required": false; }; "thyLayout": { "alias": "thyLayout"; "required": false; }; "thyAutoActiveFirstItem": { "alias": "thyAutoActiveFirstItem"; "required": false; }; "thySize": { "alias": "thySize"; "required": false; }; "thySpaceKeyEnabled": { "alias": "thySpaceKeyEnabled"; "required": false; }; }, { "thySelectionChange": "thySelectionChange"; }, ["options"], ["*"], true, never>;
|
|
125
|
-
static ngAcceptInputType_thyMultiple:
|
|
126
|
-
static ngAcceptInputType_thyAutoActiveFirstItem:
|
|
127
|
-
static ngAcceptInputType_thySpaceKeyEnabled:
|
|
125
|
+
static ngAcceptInputType_thyMultiple: boolean | string | number;
|
|
126
|
+
static ngAcceptInputType_thyAutoActiveFirstItem: boolean | string | number;
|
|
127
|
+
static ngAcceptInputType_thySpaceKeyEnabled: boolean | string | number;
|
|
128
128
|
}
|
|
@@ -27,6 +27,6 @@ export declare class ThyLoading {
|
|
|
27
27
|
constructor(changeDetectorRef: ChangeDetectorRef);
|
|
28
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyLoading, never>;
|
|
29
29
|
static ɵcmp: i0.ɵɵComponentDeclaration<ThyLoading, "thy-loading", never, { "thyDone": { "alias": "thyDone"; "required": false; }; "thyTip": { "alias": "thyTip"; "required": false; }; "thyIsMask": { "alias": "thyIsMask"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
30
|
-
static ngAcceptInputType_thyDone:
|
|
31
|
-
static ngAcceptInputType_thyIsMask:
|
|
30
|
+
static ngAcceptInputType_thyDone: boolean | string | number;
|
|
31
|
+
static ngAcceptInputType_thyIsMask: boolean | string | number;
|
|
32
32
|
}
|
|
@@ -71,10 +71,10 @@ export declare class ThyMenuGroup implements OnInit {
|
|
|
71
71
|
onActionClick(event: Event): void;
|
|
72
72
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyMenuGroup, never>;
|
|
73
73
|
static ɵcmp: i0.ɵɵComponentDeclaration<ThyMenuGroup, "thy-menu-group,[thy-menu-group],[thyMenuGroup]", never, { "thyTitle": { "alias": "thyTitle"; "required": false; }; "thyExpand": { "alias": "thyExpand"; "required": false; }; "thyCollapsed": { "alias": "thyCollapsed"; "required": false; }; "thyCollapsible": { "alias": "thyCollapsible"; "required": false; }; "thyShowIcon": { "alias": "thyShowIcon"; "required": false; }; "thyIcon": { "alias": "thyIcon"; "required": false; }; "thyActionIcon": { "alias": "thyActionIcon"; "required": false; }; "thyShowAction": { "alias": "thyShowAction"; "required": false; }; "thyActionStopPropagation": { "alias": "thyActionStopPropagation"; "required": false; }; "thyActionMenu": { "alias": "thyActionMenu"; "required": false; }; }, { "thyOnActionClick": "thyOnActionClick"; "thyCollapsedChange": "thyCollapsedChange"; }, ["headerContentTemplateRef"], ["*"], true, never>;
|
|
74
|
-
static ngAcceptInputType_thyExpand:
|
|
75
|
-
static ngAcceptInputType_thyCollapsed:
|
|
76
|
-
static ngAcceptInputType_thyCollapsible:
|
|
77
|
-
static ngAcceptInputType_thyShowIcon:
|
|
78
|
-
static ngAcceptInputType_thyShowAction:
|
|
79
|
-
static ngAcceptInputType_thyActionStopPropagation:
|
|
74
|
+
static ngAcceptInputType_thyExpand: boolean | string | number;
|
|
75
|
+
static ngAcceptInputType_thyCollapsed: boolean | string | number;
|
|
76
|
+
static ngAcceptInputType_thyCollapsible: boolean | string | number;
|
|
77
|
+
static ngAcceptInputType_thyShowIcon: boolean | string | number;
|
|
78
|
+
static ngAcceptInputType_thyShowAction: boolean | string | number;
|
|
79
|
+
static ngAcceptInputType_thyActionStopPropagation: boolean | string | number;
|
|
80
80
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { ThyPopover, ThyPopoverConfig } from 'ngx-tethys/popover';
|
|
1
2
|
import { ComponentType } from '@angular/cdk/portal';
|
|
2
3
|
import { ElementRef, OnDestroy, Renderer2, TemplateRef } from '@angular/core';
|
|
3
|
-
import { ThyPopover } from 'ngx-tethys/popover';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
6
6
|
* 菜单项操作组件
|
|
@@ -21,11 +21,16 @@ export declare class ThyMenuItemAction implements OnDestroy {
|
|
|
21
21
|
* 是否阻止事件冒泡
|
|
22
22
|
*/
|
|
23
23
|
thyStopPropagation: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* 弹出框的参数
|
|
26
|
+
* @default { placement: "bottomLeft", insideClosable: true }
|
|
27
|
+
*/
|
|
28
|
+
thyPopoverOptions: ThyPopoverConfig;
|
|
24
29
|
private bindClickEvent;
|
|
25
30
|
private removeClickListenerFn;
|
|
26
31
|
constructor(popover: ThyPopover, renderer: Renderer2, elementRef: ElementRef);
|
|
27
32
|
ngOnDestroy(): void;
|
|
28
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyMenuItemAction, never>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyMenuItemAction, "thy-menu-item-action,[thy-menu-item-action],[thyMenuItemAction]", never, { "thyActionMenu": { "alias": "thyActionMenu"; "required": false; }; "thyStopPropagation": { "alias": "thyStopPropagation"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
30
|
-
static ngAcceptInputType_thyStopPropagation:
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyMenuItemAction, "thy-menu-item-action,[thy-menu-item-action],[thyMenuItemAction]", never, { "thyActionMenu": { "alias": "thyActionMenu"; "required": false; }; "thyStopPropagation": { "alias": "thyStopPropagation"; "required": false; }; "thyPopoverOptions": { "alias": "thyPopoverOptions"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
35
|
+
static ngAcceptInputType_thyStopPropagation: boolean | string | number;
|
|
31
36
|
}
|
|
@@ -14,5 +14,5 @@ export declare class ThyMenuItemName implements OnInit {
|
|
|
14
14
|
ngOnInit(): void;
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyMenuItemName, never>;
|
|
16
16
|
static ɵcmp: i0.ɵɵComponentDeclaration<ThyMenuItemName, "thy-menu-item-name,[thy-menu-item-name],[thyMenuItemName]", never, { "thyOverflowEllipsis": { "alias": "thyOverflowEllipsis"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
17
|
-
static ngAcceptInputType_thyOverflowEllipsis:
|
|
17
|
+
static ngAcceptInputType_thyOverflowEllipsis: boolean | string | number;
|
|
18
18
|
}
|
package/menu/menu.component.d.ts
CHANGED
|
@@ -23,5 +23,5 @@ export declare class ThyMenu implements OnInit {
|
|
|
23
23
|
ngOnInit(): void;
|
|
24
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyMenu, never>;
|
|
25
25
|
static ɵcmp: i0.ɵɵComponentDeclaration<ThyMenu, "thy-menu,[thy-menu],[thyMenu]", never, { "thyTheme": { "alias": "thyTheme"; "required": false; }; "thyCollapsed": { "alias": "thyCollapsed"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
26
|
-
static ngAcceptInputType_thyCollapsed:
|
|
26
|
+
static ngAcceptInputType_thyCollapsed: boolean | string | number;
|
|
27
27
|
}
|
package/menu/styles/menu.scss
CHANGED
|
@@ -12,6 +12,10 @@
|
|
|
12
12
|
min-height: variables.$menu-height;
|
|
13
13
|
align-items: center;
|
|
14
14
|
|
|
15
|
+
&.action-active .thy-menu-item-content {
|
|
16
|
+
background: variables.$gray-100;
|
|
17
|
+
}
|
|
18
|
+
|
|
15
19
|
&.active .thy-menu-item-content {
|
|
16
20
|
background: rgba(variables.$primary, 0.1);
|
|
17
21
|
}
|
|
@@ -174,6 +178,10 @@
|
|
|
174
178
|
&.active {
|
|
175
179
|
display: inline-block !important;
|
|
176
180
|
margin-left: 4px;
|
|
181
|
+
.thy-action {
|
|
182
|
+
background: rgba(variables.$primary, 0.1);
|
|
183
|
+
color: variables.$primary;
|
|
184
|
+
}
|
|
177
185
|
}
|
|
178
186
|
}
|
|
179
187
|
}
|
|
@@ -10,5 +10,5 @@ export declare class ThyIconNavLink {
|
|
|
10
10
|
set thyIconNavLinkActive(active: boolean);
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyIconNavLink, never>;
|
|
12
12
|
static ɵcmp: i0.ɵɵComponentDeclaration<ThyIconNavLink, "[thyIconNavLink]", never, { "thyIconNavLinkIcon": { "alias": "thyIconNavLinkIcon"; "required": false; }; "thyIconNavLinkActive": { "alias": "thyIconNavLinkActive"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
13
|
-
static ngAcceptInputType_thyIconNavLinkActive:
|
|
13
|
+
static ngAcceptInputType_thyIconNavLinkActive: boolean | string | number;
|
|
14
14
|
}
|
|
@@ -21,6 +21,6 @@ export declare class ThyNavInkBarDirective {
|
|
|
21
21
|
hide(): void;
|
|
22
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyNavInkBarDirective, [null, null, { optional: true; }]>;
|
|
23
23
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ThyNavInkBarDirective, "thy-nav-ink-bar, [thyNavInkBar]", never, { "isVertical": { "alias": "isVertical"; "required": false; }; "showInkBar": { "alias": "showInkBar"; "required": false; }; }, {}, never, never, true, never>;
|
|
24
|
-
static ngAcceptInputType_isVertical:
|
|
25
|
-
static ngAcceptInputType_showInkBar:
|
|
24
|
+
static ngAcceptInputType_isVertical: boolean | string | number;
|
|
25
|
+
static ngAcceptInputType_showInkBar: boolean | string | number;
|
|
26
26
|
}
|
|
@@ -52,7 +52,7 @@ export declare class ThyNavItemDirective implements AfterViewInit {
|
|
|
52
52
|
setNavLinkHidden(value: boolean): void;
|
|
53
53
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyNavItemDirective, [null, { optional: true; }, null]>;
|
|
54
54
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ThyNavItemDirective, "[thyNavLink],[thyNavItem]", never, { "thyNavItemActive": { "alias": "thyNavItemActive"; "required": false; }; "thyNavLinkActive": { "alias": "thyNavLinkActive"; "required": false; }; "thyNavItemDisabled": { "alias": "thyNavItemDisabled"; "required": false; }; }, {}, ["links", "routers"], never, true, never>;
|
|
55
|
-
static ngAcceptInputType_thyNavItemActive:
|
|
56
|
-
static ngAcceptInputType_thyNavLinkActive:
|
|
57
|
-
static ngAcceptInputType_thyNavItemDisabled:
|
|
55
|
+
static ngAcceptInputType_thyNavItemActive: boolean | string | number;
|
|
56
|
+
static ngAcceptInputType_thyNavLinkActive: boolean | string | number;
|
|
57
|
+
static ngAcceptInputType_thyNavItemDisabled: boolean | string | number;
|
|
58
58
|
}
|
package/nav/nav.component.d.ts
CHANGED
|
@@ -34,6 +34,7 @@ export declare class ThyNav implements OnInit, AfterViewInit, AfterContentInit,
|
|
|
34
34
|
showMore: boolean;
|
|
35
35
|
private moreBtnOffset;
|
|
36
36
|
private hostRenderer;
|
|
37
|
+
private innerLinks;
|
|
37
38
|
/**
|
|
38
39
|
* 导航类型
|
|
39
40
|
* @type pulled | tabs | pills | lite | primary | secondary | thirdly | secondary-divider
|
|
@@ -78,7 +79,8 @@ export declare class ThyNav implements OnInit, AfterViewInit, AfterContentInit,
|
|
|
78
79
|
/**
|
|
79
80
|
* @private
|
|
80
81
|
*/
|
|
81
|
-
links: QueryList<ThyNavItemDirective
|
|
82
|
+
set links(value: QueryList<ThyNavItemDirective>);
|
|
83
|
+
get links(): QueryList<ThyNavItemDirective>;
|
|
82
84
|
/**
|
|
83
85
|
* @private
|
|
84
86
|
*/
|
|
@@ -123,8 +125,8 @@ export declare class ThyNav implements OnInit, AfterViewInit, AfterContentInit,
|
|
|
123
125
|
ngOnChanges(changes: SimpleChanges): void;
|
|
124
126
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyNav, never>;
|
|
125
127
|
static ɵcmp: i0.ɵɵComponentDeclaration<ThyNav, "thy-nav", never, { "thyType": { "alias": "thyType"; "required": false; }; "thySize": { "alias": "thySize"; "required": false; }; "thyHorizontal": { "alias": "thyHorizontal"; "required": false; }; "thyVertical": { "alias": "thyVertical"; "required": false; }; "thyFill": { "alias": "thyFill"; "required": false; }; "thyResponsive": { "alias": "thyResponsive"; "required": false; }; "thyInsideClosable": { "alias": "thyInsideClosable"; "required": false; }; "thyExtra": { "alias": "thyExtra"; "required": false; }; }, {}, ["moreOperation", "morePopover", "extra", "links", "routers"], ["*"], true, never>;
|
|
126
|
-
static ngAcceptInputType_thyVertical:
|
|
127
|
-
static ngAcceptInputType_thyFill:
|
|
128
|
-
static ngAcceptInputType_thyResponsive:
|
|
129
|
-
static ngAcceptInputType_thyInsideClosable:
|
|
128
|
+
static ngAcceptInputType_thyVertical: boolean | string | number;
|
|
129
|
+
static ngAcceptInputType_thyFill: boolean | string | number;
|
|
130
|
+
static ngAcceptInputType_thyResponsive: boolean | string | number;
|
|
131
|
+
static ngAcceptInputType_thyInsideClosable: boolean | string | number;
|
|
130
132
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ngx-tethys",
|
|
3
|
-
"version": "18.0.0-next.
|
|
3
|
+
"version": "18.0.0-next.2",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+ssh://git@github.com/atinc/ngx-tethys.git"
|
|
@@ -524,7 +524,7 @@
|
|
|
524
524
|
"peerDependencies": {
|
|
525
525
|
"@angular/core": "^18.0.0",
|
|
526
526
|
"@angular/cdk": "^18.0.0",
|
|
527
|
-
"@tethys/cdk": "^18.0.0",
|
|
527
|
+
"@tethys/cdk": "^18.0.0-next.1",
|
|
528
528
|
"date-fns": "^2.6.0",
|
|
529
529
|
"@tethys/icons": "^1.4.23",
|
|
530
530
|
"rxjs": "^6.5.4 || ^7.0.0"
|
|
@@ -77,6 +77,11 @@ export declare class ThyPagination implements OnInit {
|
|
|
77
77
|
* @default false
|
|
78
78
|
*/
|
|
79
79
|
hideOnSinglePage: boolean;
|
|
80
|
+
/**
|
|
81
|
+
* 分页器单位
|
|
82
|
+
* @default 条
|
|
83
|
+
*/
|
|
84
|
+
set unit(value: string);
|
|
80
85
|
/**
|
|
81
86
|
* 页码改变的回调
|
|
82
87
|
*/
|
|
@@ -132,16 +137,16 @@ export declare class ThyPagination implements OnInit {
|
|
|
132
137
|
jumpPage(input: HTMLInputElement): void;
|
|
133
138
|
onPageSizeChange(event: number): void;
|
|
134
139
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyPagination, [{ optional: true; }, null]>;
|
|
135
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyPagination, "thy-pagination", never, { "thyPageIndex": { "alias": "thyPageIndex"; "required": false; }; "thyPageSize": { "alias": "thyPageSize"; "required": false; }; "thyTotal": { "alias": "thyTotal"; "required": false; }; "thyCustomPages": { "alias": "thyCustomPages"; "required": false; }; "disabled": { "alias": "thyDisabled"; "required": false; }; "showQuickJumper": { "alias": "thyShowQuickJumper"; "required": false; }; "showTotalPageCount": { "alias": "thyShowTotalPageCount"; "required": false; }; "size": { "alias": "thySize"; "required": false; }; "maxCount": { "alias": "thyMaxCount"; "required": false; }; "marginalCount": { "alias": "thyMarginalCount"; "required": false; }; "thyRangeCount": { "alias": "thyRangeCount"; "required": false; }; "showSizeChanger": { "alias": "thyShowSizeChanger"; "required": false; }; "pageSizeOptions": { "alias": "thyPageSizeOptions"; "required": false; }; "hideOnSinglePage": { "alias": "thyHideOnSinglePage"; "required": false; }; "showTotal": { "alias": "thyShowTotal"; "required": false; }; }, { "pageIndexChange": "thyPageIndexChange"; "pageChanged": "thyPageChanged"; "pageSizeChanged": "thyPageSizeChanged"; }, never, never, true, never>;
|
|
140
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyPagination, "thy-pagination", never, { "thyPageIndex": { "alias": "thyPageIndex"; "required": false; }; "thyPageSize": { "alias": "thyPageSize"; "required": false; }; "thyTotal": { "alias": "thyTotal"; "required": false; }; "thyCustomPages": { "alias": "thyCustomPages"; "required": false; }; "disabled": { "alias": "thyDisabled"; "required": false; }; "showQuickJumper": { "alias": "thyShowQuickJumper"; "required": false; }; "showTotalPageCount": { "alias": "thyShowTotalPageCount"; "required": false; }; "size": { "alias": "thySize"; "required": false; }; "maxCount": { "alias": "thyMaxCount"; "required": false; }; "marginalCount": { "alias": "thyMarginalCount"; "required": false; }; "thyRangeCount": { "alias": "thyRangeCount"; "required": false; }; "showSizeChanger": { "alias": "thyShowSizeChanger"; "required": false; }; "pageSizeOptions": { "alias": "thyPageSizeOptions"; "required": false; }; "hideOnSinglePage": { "alias": "thyHideOnSinglePage"; "required": false; }; "unit": { "alias": "thyUnit"; "required": false; }; "showTotal": { "alias": "thyShowTotal"; "required": false; }; }, { "pageIndexChange": "thyPageIndexChange"; "pageChanged": "thyPageChanged"; "pageSizeChanged": "thyPageSizeChanged"; }, never, never, true, never>;
|
|
136
141
|
static ngAcceptInputType_thyPageIndex: unknown;
|
|
137
142
|
static ngAcceptInputType_thyPageSize: unknown;
|
|
138
143
|
static ngAcceptInputType_thyTotal: unknown;
|
|
139
|
-
static ngAcceptInputType_disabled:
|
|
140
|
-
static ngAcceptInputType_showQuickJumper:
|
|
141
|
-
static ngAcceptInputType_showTotalPageCount:
|
|
144
|
+
static ngAcceptInputType_disabled: boolean | string | number;
|
|
145
|
+
static ngAcceptInputType_showQuickJumper: boolean | string | number;
|
|
146
|
+
static ngAcceptInputType_showTotalPageCount: boolean | string | number;
|
|
142
147
|
static ngAcceptInputType_maxCount: unknown;
|
|
143
148
|
static ngAcceptInputType_marginalCount: unknown;
|
|
144
149
|
static ngAcceptInputType_thyRangeCount: unknown;
|
|
145
|
-
static ngAcceptInputType_showSizeChanger:
|
|
146
|
-
static ngAcceptInputType_hideOnSinglePage:
|
|
150
|
+
static ngAcceptInputType_showSizeChanger: boolean | string | number;
|
|
151
|
+
static ngAcceptInputType_hideOnSinglePage: boolean | string | number;
|
|
147
152
|
}
|
|
@@ -68,6 +68,6 @@ export declare class ThyPopoverDirective extends ThyOverlayDirectiveBase impleme
|
|
|
68
68
|
static ngAcceptInputType_thyOffset: unknown;
|
|
69
69
|
static ngAcceptInputType_thyShowDelay: unknown;
|
|
70
70
|
static ngAcceptInputType_thyHideDelay: unknown;
|
|
71
|
-
static ngAcceptInputType_thyAutoAdaptive:
|
|
72
|
-
static ngAcceptInputType_thyDisabled:
|
|
71
|
+
static ngAcceptInputType_thyAutoAdaptive: boolean | string | number;
|
|
72
|
+
static ngAcceptInputType_thyDisabled: boolean | string | number;
|
|
73
73
|
}
|
|
@@ -85,6 +85,9 @@ export declare class ThyPropertyItem implements OnInit, OnChanges, OnDestroy {
|
|
|
85
85
|
ngOnDestroy(): void;
|
|
86
86
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyPropertyItem, never>;
|
|
87
87
|
static ɵcmp: i0.ɵɵComponentDeclaration<ThyPropertyItem, "thy-property-item", never, { "thyLabelText": { "alias": "thyLabelText"; "required": false; }; "thyEditable": { "alias": "thyEditable"; "required": false; }; "thySpan": { "alias": "thySpan"; "required": false; }; "thyOperationTrigger": { "alias": "thyOperationTrigger"; "required": false; }; }, { "thyEditingChange": "thyEditingChange"; }, ["label", "editor", "operation"], ["*"], true, never>;
|
|
88
|
-
static ngAcceptInputType_thyEditable:
|
|
88
|
+
static ngAcceptInputType_thyEditable: boolean /**
|
|
89
|
+
* 属性名称自定义模板
|
|
90
|
+
* @type TemplateRef
|
|
91
|
+
*/ | string | number;
|
|
89
92
|
static ngAcceptInputType_thySpan: unknown;
|
|
90
93
|
}
|
|
@@ -84,10 +84,10 @@ export declare class ThyPropertyOperation implements OnInit, AfterContentInit, O
|
|
|
84
84
|
remove($event: Event): void;
|
|
85
85
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyPropertyOperation, never>;
|
|
86
86
|
static ɵcmp: i0.ɵɵComponentDeclaration<ThyPropertyOperation, "thy-property-operation", never, { "thyLabelText": { "alias": "thyLabelText"; "required": false; }; "thyValue": { "alias": "thyValue"; "required": false; }; "thyLabelTextTranslateKey": { "alias": "thyLabelTextTranslateKey"; "required": false; }; "thyIcon": { "alias": "thyIcon"; "required": false; }; "thyShowClose": { "alias": "thyShowClose"; "required": false; }; "thyLabelHasValue": { "alias": "thyLabelHasValue"; "required": false; }; "thyLabelHideWhenHasValue": { "alias": "thyLabelHideWhenHasValue"; "required": false; }; "thyType": { "alias": "thyType"; "required": false; }; "active": { "alias": "thyActive"; "required": false; }; "disabled": { "alias": "thyDisabled"; "required": false; }; }, { "thyOnRemove": "thyOnRemove"; "thyClick": "thyClick"; }, ["operationIcon"], ["*"], true, never>;
|
|
87
|
-
static ngAcceptInputType_thyShowClose:
|
|
88
|
-
static ngAcceptInputType_thyLabelHasValue:
|
|
89
|
-
static ngAcceptInputType_thyLabelHideWhenHasValue:
|
|
90
|
-
static ngAcceptInputType_active:
|
|
91
|
-
static ngAcceptInputType_disabled:
|
|
87
|
+
static ngAcceptInputType_thyShowClose: boolean | string | number;
|
|
88
|
+
static ngAcceptInputType_thyLabelHasValue: boolean | string | number;
|
|
89
|
+
static ngAcceptInputType_thyLabelHideWhenHasValue: boolean | string | number;
|
|
90
|
+
static ngAcceptInputType_active: boolean | string | number;
|
|
91
|
+
static ngAcceptInputType_disabled: boolean | string | number;
|
|
92
92
|
}
|
|
93
93
|
export {};
|
|
@@ -45,5 +45,5 @@ export declare class ThyRadioGroup implements ControlValueAccessor, OnInit, OnCh
|
|
|
45
45
|
private _setClasses;
|
|
46
46
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyRadioGroup, never>;
|
|
47
47
|
static ɵcmp: i0.ɵɵComponentDeclaration<ThyRadioGroup, "thy-radio-group", never, { "thySize": { "alias": "thySize"; "required": false; }; "thyLayout": { "alias": "thyLayout"; "required": false; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
48
|
-
static ngAcceptInputType_thyDisabled:
|
|
48
|
+
static ngAcceptInputType_thyDisabled: boolean | string | number;
|
|
49
49
|
}
|
|
@@ -15,5 +15,5 @@ export declare class ThyRateItem implements OnInit {
|
|
|
15
15
|
clickRateItem(isHalf: boolean): void;
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyRateItem, never>;
|
|
17
17
|
static ɵcmp: i0.ɵɵComponentDeclaration<ThyRateItem, "thy-rate-item, [thy-rate-item]", never, { "allowHalf": { "alias": "allowHalf"; "required": false; }; "iconValue": { "alias": "iconValue"; "required": false; }; "iconTemplate": { "alias": "iconTemplate"; "required": false; }; }, { "itemHover": "itemHover"; "itemClick": "itemClick"; }, never, never, true, never>;
|
|
18
|
-
static ngAcceptInputType_allowHalf:
|
|
18
|
+
static ngAcceptInputType_allowHalf: boolean | string | number;
|
|
19
19
|
}
|
package/rate/rate.component.d.ts
CHANGED
|
@@ -73,7 +73,7 @@ export declare class ThyRate extends TabIndexDisabledControlValueAccessorMixin i
|
|
|
73
73
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyRate, never>;
|
|
74
74
|
static ɵcmp: i0.ɵɵComponentDeclaration<ThyRate, "thy-rate", never, { "thyCount": { "alias": "thyCount"; "required": false; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; "thyAllowHalf": { "alias": "thyAllowHalf"; "required": false; }; "thyAllowClear": { "alias": "thyAllowClear"; "required": false; }; "thyTooltips": { "alias": "thyTooltips"; "required": false; }; "thyIconTemplate": { "alias": "thyIconTemplate"; "required": false; }; }, { "thyItemHoverChange": "thyItemHoverChange"; }, never, never, true, never>;
|
|
75
75
|
static ngAcceptInputType_thyCount: unknown;
|
|
76
|
-
static ngAcceptInputType_thyDisabled:
|
|
77
|
-
static ngAcceptInputType_thyAllowHalf:
|
|
78
|
-
static ngAcceptInputType_thyAllowClear:
|
|
76
|
+
static ngAcceptInputType_thyDisabled: boolean | string | number;
|
|
77
|
+
static ngAcceptInputType_thyAllowHalf: boolean | string | number;
|
|
78
|
+
static ngAcceptInputType_thyAllowClear: boolean | string | number;
|
|
79
79
|
}
|
|
@@ -98,7 +98,7 @@ export declare class ThyResizableDirective implements AfterViewInit, OnDestroy {
|
|
|
98
98
|
static ngAcceptInputType_thyGridColumnCount: unknown;
|
|
99
99
|
static ngAcceptInputType_thyMaxColumn: unknown;
|
|
100
100
|
static ngAcceptInputType_thyMinColumn: unknown;
|
|
101
|
-
static ngAcceptInputType_thyLockAspectRatio:
|
|
102
|
-
static ngAcceptInputType_thyPreview:
|
|
103
|
-
static ngAcceptInputType_thyDisabled:
|
|
101
|
+
static ngAcceptInputType_thyLockAspectRatio: boolean | string | number;
|
|
102
|
+
static ngAcceptInputType_thyPreview: boolean | string | number;
|
|
103
|
+
static ngAcceptInputType_thyDisabled: boolean | string | number;
|
|
104
104
|
}
|
|
@@ -34,5 +34,5 @@ export declare class ThyResizeHandle implements OnInit {
|
|
|
34
34
|
ngOnInit(): void;
|
|
35
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyResizeHandle, never>;
|
|
36
36
|
static ɵcmp: i0.ɵɵComponentDeclaration<ThyResizeHandle, "thy-resize-handle, [thy-resize-handle]", ["thyResizeHandle"], { "thyDirection": { "alias": "thyDirection"; "required": false; }; "thyLine": { "alias": "thyLine"; "required": false; }; }, { "thyMouseDown": "thyMouseDown"; }, never, ["*"], true, never>;
|
|
37
|
-
static ngAcceptInputType_thyLine:
|
|
37
|
+
static ngAcceptInputType_thyLine: boolean | string | number;
|
|
38
38
|
}
|
|
@@ -20,5 +20,5 @@ export declare class ThyResizeHandles implements OnChanges {
|
|
|
20
20
|
ngOnChanges(changes: SimpleChanges): void;
|
|
21
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyResizeHandles, never>;
|
|
22
22
|
static ɵcmp: i0.ɵɵComponentDeclaration<ThyResizeHandles, "thy-resize-handles", ["thyResizeHandles"], { "thyDirections": { "alias": "thyDirections"; "required": false; }; "thyLine": { "alias": "thyLine"; "required": false; }; }, {}, never, never, true, never>;
|
|
23
|
-
static ngAcceptInputType_thyLine:
|
|
23
|
+
static ngAcceptInputType_thyLine: boolean | string | number;
|
|
24
24
|
}
|
|
@@ -9,15 +9,5 @@ function onV18MigrationComplete(context, targetVersion, hasFailures) {
|
|
|
9
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
10
|
context.logger.info('');
|
|
11
11
|
}
|
|
12
|
-
// context.logger.info(
|
|
13
|
-
// 'Tips: the four points have changes in data structure. If it is used, please modify manually according to the error prompts.'
|
|
14
|
-
// );
|
|
15
|
-
// context.logger.info(' • The input parameter `thyShortcutRanges` of RangePicker would be changed to `thyShortcutPresets`.');
|
|
16
|
-
// context.logger.info(
|
|
17
|
-
// ' • The output parameter `thyShortcutValueChange` of DatePicker and RangePicker would be changed to `thyDateChange`.'
|
|
18
|
-
// );
|
|
19
|
-
// context.logger.info(' • The interface `ThyShortcutRange` would be changed to `ThyShortcutPreset`.');
|
|
20
|
-
// context.logger.info(' • The interface `ThyShortcutValueChange` would be changed to `ThyDateChangeEvent`.');
|
|
21
|
-
// context.logger.info('');
|
|
22
12
|
}
|
|
23
13
|
exports.onV18MigrationComplete = onV18MigrationComplete;
|
|
@@ -20,77 +20,4 @@ describe('ng-update v18 Schematic', () => {
|
|
|
20
20
|
const packageJSON = JSON.parse(file.content.toString());
|
|
21
21
|
expect(packageJSON['dependencies']['@angular/core']).toContain('^18.');
|
|
22
22
|
}));
|
|
23
|
-
// describe('should provide schematics for v18', () => {
|
|
24
|
-
// let tree: Tree;
|
|
25
|
-
// const schematicRunner = new SchematicTestRunner('migrations', require.resolve('../migration-collection.json'));
|
|
26
|
-
// const TEST_COMPONENT_PATH = '/projects/update17test/src/app/app.component.ts';
|
|
27
|
-
// const TEST_COMPONENT_CONTENT = `
|
|
28
|
-
// import { ThyButtonComponent } from 'ngx-tethys/button';
|
|
29
|
-
// import { ThyOptionComponent } from 'ngx-tethys/shared';
|
|
30
|
-
// import { ThySelectComponent, ThySelectCustomComponent } from 'ngx-tethys/select';
|
|
31
|
-
// import { DialogHeaderComponent, DialogBodyComponent, DialogFooterComponent } from 'ngx-tethys/dialog';
|
|
32
|
-
// @Component({
|
|
33
|
-
// selector: 'app-root',
|
|
34
|
-
// standalone: true,
|
|
35
|
-
// imports: [
|
|
36
|
-
// CommonModule,
|
|
37
|
-
// FormsModule,
|
|
38
|
-
// RouterOutlet,
|
|
39
|
-
// ThySelectComponent,
|
|
40
|
-
// ThySelectCustomComponent,
|
|
41
|
-
// ThyOptionComponent,
|
|
42
|
-
// ThyButtonComponent,
|
|
43
|
-
// DialogHeaderComponent,
|
|
44
|
-
// DialogBodyComponent,
|
|
45
|
-
// DialogFooterComponent
|
|
46
|
-
// ],
|
|
47
|
-
// templateUrl: './app.component.html',
|
|
48
|
-
// styleUrls: ['./app.component.scss'],
|
|
49
|
-
// })
|
|
50
|
-
// export class AppComponent {}
|
|
51
|
-
// `;
|
|
52
|
-
// let workspaceTree: UnitTestTree;
|
|
53
|
-
// beforeEach(async () => {
|
|
54
|
-
// const hostTree = new HostTree();
|
|
55
|
-
// tree = await schematicRunner.runExternalSchematic(
|
|
56
|
-
// '@schematics/angular',
|
|
57
|
-
// 'workspace',
|
|
58
|
-
// {
|
|
59
|
-
// name: 'test-workspace',
|
|
60
|
-
// version: '18.0.0',
|
|
61
|
-
// newProjectRoot: 'projects'
|
|
62
|
-
// },
|
|
63
|
-
// hostTree
|
|
64
|
-
// );
|
|
65
|
-
// await schematicRunner.runExternalSchematic('@schematics/angular', 'application', { name: 'update17test' }, tree);
|
|
66
|
-
// tree.overwrite(TEST_COMPONENT_PATH, TEST_COMPONENT_CONTENT);
|
|
67
|
-
// workspaceTree = await schematicRunner.runSchematic('migration-v18', {}, tree);
|
|
68
|
-
// });
|
|
69
|
-
// it('should remove the Component suffix from standalone components', async () => {
|
|
70
|
-
// const result = workspaceTree.read(TEST_COMPONENT_PATH).toString();
|
|
71
|
-
// expect(result).not.toContain(`ThyOptionComponent`);
|
|
72
|
-
// expect(result).toContain('ThyOption');
|
|
73
|
-
// expect(result).not.toContain(`ThyButtonComponent`);
|
|
74
|
-
// expect(result).toContain('ThyButton');
|
|
75
|
-
// });
|
|
76
|
-
// it('should rename ThySelectCustomComponent to ThySelect', async () => {
|
|
77
|
-
// const result = workspaceTree.read(TEST_COMPONENT_PATH).toString();
|
|
78
|
-
// expect(result).not.toContain('ThySelectComponent');
|
|
79
|
-
// expect(result).toContain('ThyNativeSelect');
|
|
80
|
-
// });
|
|
81
|
-
// it('should rename ThySelectComponent to ThyNativeSelect', async () => {
|
|
82
|
-
// const result = workspaceTree.read(TEST_COMPONENT_PATH).toString();
|
|
83
|
-
// expect(result).not.toContain(`ThySelectCustomComponent`);
|
|
84
|
-
// expect(result).toContain('ThySelect');
|
|
85
|
-
// });
|
|
86
|
-
// it('should rename DialogHeaderComponent, DialogBodyComponent, DialogFooterComponent to ThyDialogHeader, ThyDialogBody, ThyDialogFooter', async () => {
|
|
87
|
-
// const result = workspaceTree.read(TEST_COMPONENT_PATH).toString();
|
|
88
|
-
// expect(result).not.toContain(`DialogHeaderComponent`);
|
|
89
|
-
// expect(result).toContain('ThyDialogHeader');
|
|
90
|
-
// expect(result).not.toContain(`DialogBodyComponent`);
|
|
91
|
-
// expect(result).toContain('ThyDialogBody');
|
|
92
|
-
// expect(result).not.toContain(`DialogFooterComponent`);
|
|
93
|
-
// expect(result).toContain('ThyDialogFooter');
|
|
94
|
-
// });
|
|
95
|
-
// });
|
|
96
23
|
});
|