ngx-tethys 18.0.8 → 18.1.0-next.1
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 +19 -1
- package/action/action.component.d.ts +1 -2
- package/affix/affix.component.d.ts +2 -4
- package/alert/alert.component.d.ts +11 -19
- package/anchor/anchor-link.component.d.ts +2 -4
- package/anchor/anchor.component.d.ts +2 -7
- package/arrow-switcher/arrow-switcher.component.d.ts +1 -2
- package/autocomplete/autocomplete.component.d.ts +1 -2
- package/autocomplete/autocomplete.trigger.directive.d.ts +3 -5
- package/autocomplete/overlay/autocomplete-container.component.d.ts +4 -4
- package/autocomplete/overlay/autocomplete.service.d.ts +3 -5
- package/avatar/avatar.component.d.ts +1 -3
- package/avatar/avatar.pipe.d.ts +0 -2
- package/back-top/back-top.component.d.ts +2 -4
- package/badge/badge.component.d.ts +2 -2
- package/breadcrumb/breadcrumb-item.component.d.ts +1 -2
- package/breadcrumb/breadcrumb.component.d.ts +1 -2
- package/button/button.component.d.ts +1 -2
- package/calendar/calendar-header.component.d.ts +1 -2
- package/calendar/calendar.component.d.ts +1 -2
- package/carousel/carousel-item.directive.d.ts +1 -2
- package/carousel/carousel.component.d.ts +1 -4
- package/carousel/carousel.service.d.ts +1 -2
- package/cascader/cascader.component.d.ts +4 -4
- package/checkbox/checkbox.component.d.ts +0 -2
- package/collapse/collapse-item.component.d.ts +2 -4
- package/color-picker/color-picker-panel.component.d.ts +2 -3
- package/color-picker/color-picker.component.d.ts +2 -4
- package/color-picker/coordinates.directive.d.ts +1 -2
- package/color-picker/parts/alpha/alpha.component.d.ts +1 -2
- package/color-picker/parts/hue/hue.component.d.ts +1 -2
- package/color-picker/parts/saturation/saturation.component.d.ts +1 -2
- package/copy/copy.directive.d.ts +0 -2
- package/core/click-positioner.d.ts +0 -2
- package/core/scroll.d.ts +1 -2
- package/core/update-host-class.service.d.ts +1 -2
- package/date-picker/abstract-picker.component.d.ts +1 -1
- package/date-picker/abstract-picker.directive.d.ts +2 -3
- package/date-picker/base-picker.component.d.ts +2 -3
- package/date-picker/date-picker.component.d.ts +2 -2
- package/date-picker/date-picker.directive.d.ts +1 -3
- package/date-picker/date-picker.service.d.ts +2 -2
- package/date-picker/index.d.ts +26 -27
- package/date-picker/lib/calendar/calendar-footer.component.d.ts +1 -2
- package/date-picker/lib/calendar/calendar-header.component.d.ts +0 -1
- package/date-picker/lib/date/date-header.component.d.ts +0 -3
- package/date-picker/lib/date/date-table-cell.component.d.ts +1 -1
- package/date-picker/lib/date/date-table.component.d.ts +1 -3
- package/date-picker/lib/date-carousel/date-carousel.component.d.ts +1 -2
- package/date-picker/lib/decade/decade-header.component.d.ts +1 -1
- package/date-picker/lib/month/month-header.component.d.ts +0 -3
- package/date-picker/lib/month/month-table.component.d.ts +1 -2
- package/date-picker/lib/popups/date-popup.component.d.ts +1 -4
- package/date-picker/lib/popups/inner-popup.component.d.ts +0 -2
- package/date-picker/lib/quarter/quarter-table.component.d.ts +1 -2
- package/date-picker/lib/year/year-header.component.d.ts +0 -1
- package/date-picker/month-picker.component.d.ts +2 -2
- package/date-picker/picker.component.d.ts +1 -3
- package/date-picker/picker.pipes.d.ts +0 -3
- package/date-picker/quarter-picker.component.d.ts +2 -2
- package/date-picker/range-picker.component.d.ts +2 -2
- package/date-picker/range-picker.directive.d.ts +2 -3
- package/date-picker/week-picker.component.d.ts +2 -2
- package/date-picker/year-picker.component.d.ts +2 -2
- package/date-range/date-range.component.d.ts +3 -11
- package/date-range/optional-dates/optional-dates.component.d.ts +0 -2
- package/dialog/body/dialog-body.component.d.ts +0 -2
- package/dialog/confirm/confirm.component.d.ts +2 -3
- package/dialog/dialog-container.component.d.ts +4 -5
- package/dialog/dialog.service.d.ts +4 -4
- package/dialog/footer/dialog-footer.component.d.ts +2 -2
- package/dialog/header/dialog-header.component.d.ts +2 -6
- package/divider/divider.component.d.ts +8 -2
- package/dot/dot.component.d.ts +1 -2
- package/drag-drop/drag-content.directive.d.ts +2 -3
- package/drag-drop/drag-handle.directive.d.ts +2 -3
- package/drag-drop/drag.directive.d.ts +4 -5
- package/drag-drop/drop-container.directive.d.ts +6 -3
- package/dropdown/dropdown-active.directive.d.ts +3 -4
- package/dropdown/dropdown-menu-item.directive.d.ts +1 -2
- package/dropdown/dropdown-submenu.component.d.ts +1 -3
- package/dropdown/dropdown.directive.d.ts +3 -5
- package/empty/empty.component.d.ts +6 -6
- package/esm2022/action/action.component.mjs +20 -21
- package/esm2022/affix/affix.component.mjs +11 -14
- package/esm2022/alert/alert.component.mjs +55 -81
- package/esm2022/anchor/anchor-link.component.mjs +23 -16
- package/esm2022/anchor/anchor.component.mjs +27 -24
- package/esm2022/arrow-switcher/arrow-switcher.component.mjs +25 -26
- package/esm2022/autocomplete/autocomplete.component.mjs +11 -11
- package/esm2022/autocomplete/autocomplete.trigger.directive.mjs +30 -37
- package/esm2022/autocomplete/overlay/autocomplete-container.component.mjs +11 -15
- package/esm2022/autocomplete/overlay/autocomplete.service.mjs +14 -21
- package/esm2022/avatar/avatar-list/avatar-list.component.mjs +4 -4
- package/esm2022/avatar/avatar.component.mjs +27 -28
- package/esm2022/avatar/avatar.pipe.mjs +6 -7
- package/esm2022/back-top/back-top.component.mjs +14 -18
- package/esm2022/badge/badge.component.mjs +8 -9
- package/esm2022/breadcrumb/breadcrumb-item.component.mjs +7 -7
- package/esm2022/breadcrumb/breadcrumb.component.mjs +15 -17
- package/esm2022/button/button-icon.component.mjs +4 -4
- package/esm2022/button/button.component.mjs +15 -15
- package/esm2022/calendar/calendar-header.component.mjs +15 -15
- package/esm2022/calendar/calendar.component.mjs +14 -15
- package/esm2022/card/header.component.mjs +4 -4
- package/esm2022/carousel/carousel-item.directive.mjs +7 -6
- package/esm2022/carousel/carousel.component.mjs +13 -15
- package/esm2022/carousel/carousel.service.mjs +7 -9
- package/esm2022/cascader/cascader-li.component.mjs +4 -4
- package/esm2022/cascader/cascader-search-option.component.mjs +4 -4
- package/esm2022/cascader/cascader.component.mjs +15 -22
- package/esm2022/checkbox/checkbox.component.mjs +11 -13
- package/esm2022/collapse/collapse-item.component.mjs +21 -24
- package/esm2022/color-picker/color-picker-panel.component.mjs +14 -15
- package/esm2022/color-picker/color-picker.component.mjs +10 -11
- package/esm2022/color-picker/coordinates.directive.mjs +10 -10
- package/esm2022/color-picker/parts/alpha/alpha.component.mjs +6 -6
- package/esm2022/color-picker/parts/hue/hue.component.mjs +6 -6
- package/esm2022/color-picker/parts/saturation/saturation.component.mjs +9 -9
- package/esm2022/comment/comment.component.mjs +4 -4
- package/esm2022/copy/copy.directive.mjs +8 -12
- package/esm2022/core/click-positioner.mjs +6 -7
- package/esm2022/core/scroll.mjs +7 -9
- package/esm2022/core/store/store.mjs +1 -1
- package/esm2022/core/update-host-class.service.mjs +6 -6
- package/esm2022/date-picker/abstract-picker.component.mjs +5 -5
- package/esm2022/date-picker/abstract-picker.directive.mjs +42 -44
- package/esm2022/date-picker/base-picker.component.mjs +26 -26
- package/esm2022/date-picker/date-picker.component.mjs +10 -11
- package/esm2022/date-picker/date-picker.directive.mjs +6 -8
- package/esm2022/date-picker/date-picker.service.mjs +6 -10
- package/esm2022/date-picker/index.mjs +27 -28
- package/esm2022/date-picker/lib/calendar/calendar-footer.component.mjs +7 -8
- package/esm2022/date-picker/lib/calendar/calendar-header.component.mjs +6 -7
- package/esm2022/date-picker/lib/date/date-header.component.mjs +6 -12
- package/esm2022/date-picker/lib/date/date-table-cell.component.mjs +4 -4
- package/esm2022/date-picker/lib/date/date-table.component.mjs +10 -12
- package/esm2022/date-picker/lib/date-carousel/date-carousel.component.mjs +16 -16
- package/esm2022/date-picker/lib/decade/decade-header.component.mjs +8 -11
- package/esm2022/date-picker/lib/decade/decade-table.component.mjs +4 -4
- package/esm2022/date-picker/lib/month/month-header.component.mjs +6 -12
- package/esm2022/date-picker/lib/month/month-table.component.mjs +9 -10
- package/esm2022/date-picker/lib/popups/date-popup.component.mjs +14 -29
- package/esm2022/date-picker/lib/popups/inner-popup.component.mjs +14 -20
- package/esm2022/date-picker/lib/quarter/quarter-table.component.mjs +9 -10
- package/esm2022/date-picker/lib/year/year-header.component.mjs +6 -12
- package/esm2022/date-picker/lib/year/year-table.component.mjs +4 -4
- package/esm2022/date-picker/month-picker.component.mjs +9 -11
- package/esm2022/date-picker/picker.component.mjs +24 -35
- package/esm2022/date-picker/picker.pipes.mjs +10 -11
- package/esm2022/date-picker/quarter-picker.component.mjs +9 -11
- package/esm2022/date-picker/range-picker.component.mjs +9 -11
- package/esm2022/date-picker/range-picker.directive.mjs +6 -8
- package/esm2022/date-picker/week-picker.component.mjs +9 -11
- package/esm2022/date-picker/year-picker.component.mjs +9 -11
- package/esm2022/date-range/date-range.component.mjs +17 -18
- package/esm2022/date-range/optional-dates/optional-dates.component.mjs +9 -13
- package/esm2022/dialog/body/dialog-body.component.mjs +11 -12
- package/esm2022/dialog/confirm/confirm.component.mjs +10 -14
- package/esm2022/dialog/dialog-container.component.mjs +13 -18
- package/esm2022/dialog/dialog.service.mjs +10 -17
- package/esm2022/dialog/footer/dialog-footer.component.mjs +10 -14
- package/esm2022/dialog/header/dialog-header.component.mjs +17 -22
- package/esm2022/divider/divider.component.mjs +21 -13
- package/esm2022/dot/dot.component.mjs +7 -7
- package/esm2022/drag-drop/drag-content.directive.mjs +7 -9
- package/esm2022/drag-drop/drag-handle.directive.mjs +7 -9
- package/esm2022/drag-drop/drag.directive.mjs +13 -16
- package/esm2022/drag-drop/drop-container.directive.mjs +13 -13
- package/esm2022/dropdown/dropdown-active.directive.mjs +9 -12
- package/esm2022/dropdown/dropdown-menu-item.directive.mjs +12 -12
- package/esm2022/dropdown/dropdown-menu.component.mjs +11 -7
- package/esm2022/dropdown/dropdown-submenu.component.mjs +9 -10
- package/esm2022/dropdown/dropdown.directive.mjs +12 -10
- package/esm2022/empty/empty.component.mjs +17 -20
- package/esm2022/flexible-text/flexible-text.component.mjs +16 -17
- package/esm2022/form/form-group-error/form-group-error.component.mjs +12 -15
- package/esm2022/form/form-group-label.directive.mjs +9 -10
- package/esm2022/form/form-group.component.mjs +18 -22
- package/esm2022/form/form-submit.directive.mjs +6 -7
- package/esm2022/form/form-validator-loader.mjs +1 -1
- package/esm2022/form/form-validator.service.mjs +12 -13
- package/esm2022/form/form.directive.mjs +11 -16
- package/esm2022/form/from-group-footer/form-group-footer.component.mjs +13 -19
- package/esm2022/form/validator/unique-validator.directive.mjs +7 -10
- package/esm2022/fullscreen/fullscreen.component.mjs +10 -11
- package/esm2022/fullscreen/fullscreen.service.mjs +7 -10
- package/esm2022/grid/thy-col.directive.mjs +9 -14
- package/esm2022/grid/thy-grid-item.component.mjs +8 -14
- package/esm2022/grid/thy-grid.component.mjs +7 -8
- package/esm2022/guider/guider-hint/guider-hint.component.mjs +4 -4
- package/esm2022/guider/guider.directive.mjs +8 -9
- package/esm2022/guider/guider.service.mjs +12 -19
- package/esm2022/icon/icon-registry.mjs +11 -16
- package/esm2022/icon/icon.component.mjs +8 -9
- package/esm2022/image/image-group.component.mjs +7 -7
- package/esm2022/image/image.directive.mjs +11 -12
- package/esm2022/image/image.service.mjs +8 -14
- package/esm2022/image/preview/image-preview.component.mjs +36 -41
- package/esm2022/input/input-count.component.mjs +7 -10
- package/esm2022/input/input-group.component.mjs +15 -16
- package/esm2022/input/input-search.component.mjs +9 -10
- package/esm2022/input/input.component.mjs +17 -17
- package/esm2022/input/input.directive.mjs +12 -17
- package/esm2022/input-number/input-number.component.mjs +6 -6
- package/esm2022/layout/header.component.mjs +4 -4
- package/esm2022/layout/sidebar-header.component.mjs +4 -4
- package/esm2022/layout/sidebar.component.mjs +125 -121
- package/esm2022/list/list-item-meta.component.mjs +4 -4
- package/esm2022/list/selection/selection-list.mjs +25 -25
- package/esm2022/loading/loading.component.mjs +10 -11
- package/esm2022/mention/mention.directive.mjs +9 -14
- package/esm2022/mention/suggestions/suggestions.component.mjs +11 -12
- package/esm2022/menu/group/menu-group.component.mjs +37 -38
- package/esm2022/menu/item/action/menu-item-action.component.mjs +15 -16
- package/esm2022/menu/item/menu-item.component.mjs +8 -9
- package/esm2022/message/abstract/abstract-message-container.component.mjs +5 -5
- package/esm2022/message/abstract/abstract-message.component.mjs +6 -6
- package/esm2022/message/message-container.component.mjs +21 -15
- package/esm2022/message/message-queue.service.mjs +6 -8
- package/esm2022/message/message.component.mjs +9 -10
- package/esm2022/message/message.service.mjs +10 -11
- package/esm2022/nav/icon-nav/icon-nav-link.directive.mjs +4 -5
- package/esm2022/nav/icon-nav/icon-nav.component.mjs +6 -6
- package/esm2022/nav/nav-ink-bar.directive.mjs +9 -14
- package/esm2022/nav/nav-item.directive.mjs +8 -11
- package/esm2022/nav/nav.component.mjs +35 -38
- package/esm2022/nav/nav.pipe.mjs +6 -7
- package/esm2022/notify/notify-container.component.mjs +11 -14
- package/esm2022/notify/notify-queue.service.mjs +6 -8
- package/esm2022/notify/notify.component.mjs +10 -10
- package/esm2022/notify/notify.service.mjs +11 -12
- package/esm2022/pagination/pagination.component.mjs +41 -46
- package/esm2022/pagination/pagination.pipe.mjs +6 -7
- package/esm2022/popover/header/popover-header.component.mjs +15 -17
- package/esm2022/popover/popover-container.component.mjs +11 -13
- package/esm2022/popover/popover.directive.mjs +13 -12
- package/esm2022/popover/popover.service.mjs +14 -26
- package/esm2022/progress/progress-circle.component.mjs +4 -7
- package/esm2022/progress/progress-strip.component.mjs +10 -13
- package/esm2022/progress/progress.component.mjs +5 -8
- package/esm2022/property/property-item.component.mjs +13 -16
- package/esm2022/property-operation/property-operation.component.mjs +27 -28
- package/esm2022/radio/button/radio-button.component.mjs +9 -15
- package/esm2022/radio/group/radio-group.component.mjs +17 -17
- package/esm2022/radio/radio.component.mjs +12 -18
- package/esm2022/rate/rate.component.mjs +10 -10
- package/esm2022/resizable/resizable.directive.mjs +10 -12
- package/esm2022/resizable/resizable.service.mjs +7 -9
- package/esm2022/resizable/resize-handle.component.mjs +16 -14
- package/esm2022/resizable/resize-handles.component.mjs +12 -5
- package/esm2022/result/result.component.mjs +4 -4
- package/esm2022/segment/segment-item.component.mjs +15 -18
- package/esm2022/segment/segment.component.mjs +29 -30
- package/esm2022/select/custom-select/custom-select.component.mjs +19 -35
- package/esm2022/select/native-select/native-select.component.mjs +10 -11
- package/esm2022/shared/base-form-check.component.mjs +7 -8
- package/esm2022/shared/directives/string-or-template-outlet.directive.mjs +7 -7
- package/esm2022/shared/directives/thy-autofocus.directive.mjs +10 -10
- package/esm2022/shared/directives/thy-contextmenu.directive.mjs +8 -8
- package/esm2022/shared/directives/thy-ctrl-enter.directive.mjs +8 -8
- package/esm2022/shared/directives/thy-enter.directive.mjs +8 -8
- package/esm2022/shared/directives/thy-scroll.directive.mjs +21 -21
- package/esm2022/shared/directives/thy-show.mjs +11 -11
- package/esm2022/shared/directives/thy-stop-propagation.directive.mjs +7 -5
- package/esm2022/shared/directives/view-outlet.directive.mjs +7 -7
- package/esm2022/shared/ng-transclude.directive.mjs +6 -5
- package/esm2022/shared/option/group/option-group.component.mjs +10 -10
- package/esm2022/shared/option/list-option/list-option.component.mjs +14 -22
- package/esm2022/shared/option/option.component.mjs +11 -22
- package/esm2022/shared/select/select-control/select-control.component.mjs +27 -27
- package/esm2022/skeleton/skeleton-circle.component.mjs +7 -15
- package/esm2022/skeleton/skeleton-rectangle.component.mjs +7 -15
- package/esm2022/skeleton/stylized/bullet-list.component.mjs +8 -9
- package/esm2022/skeleton/stylized/list.component.mjs +8 -9
- package/esm2022/skeleton/stylized/paragraph.component.mjs +8 -9
- package/esm2022/slide/drawer/drawer-container.directive.mjs +6 -6
- package/esm2022/slide/slide-container.component.mjs +12 -16
- package/esm2022/slide/slide-header/slide-header.component.mjs +13 -14
- package/esm2022/slide/slide-ref.service.mjs +1 -1
- package/esm2022/slide/slide.service.mjs +8 -12
- package/esm2022/slider/slider.component.mjs +8 -8
- package/esm2022/space/space.component.mjs +16 -16
- package/esm2022/statistic/statistic.component.mjs +23 -23
- package/esm2022/stepper/step.component.mjs +6 -11
- package/esm2022/stepper/stepper-button.directive.mjs +10 -11
- package/esm2022/stepper/stepper.component.mjs +5 -5
- package/esm2022/strength/strength.component.mjs +11 -12
- package/esm2022/switch/switch.component.mjs +11 -11
- package/esm2022/table/table-column.component.mjs +58 -63
- package/esm2022/table/table-skeleton.component.mjs +35 -38
- package/esm2022/table/table.component.mjs +19 -29
- package/esm2022/tabs/tab-content.component.mjs +9 -9
- package/esm2022/tabs/tabs.component.mjs +22 -25
- package/esm2022/tag/tag.component.mjs +22 -22
- package/esm2022/time-picker/inner/inner-time-picker.component.mjs +12 -12
- package/esm2022/time-picker/time-picker-panel.component.mjs +31 -34
- package/esm2022/time-picker/time-picker.component.mjs +33 -43
- package/esm2022/timeline/timeline-item.component.mjs +15 -16
- package/esm2022/timeline/timeline.component.mjs +15 -16
- package/esm2022/tooltip/tooltip.component.mjs +17 -17
- package/esm2022/tooltip/tooltip.directive.mjs +11 -10
- package/esm2022/tooltip/tooltip.service.mjs +9 -13
- package/esm2022/transfer/transfer-list.component.mjs +9 -9
- package/esm2022/transfer/transfer.component.mjs +4 -4
- package/esm2022/tree/tree-node.component.mjs +16 -20
- package/esm2022/tree/tree.component.mjs +90 -96
- package/esm2022/tree-select/tree-select.component.mjs +28 -36
- package/esm2022/typography/bg-color.directive.mjs +9 -9
- package/esm2022/typography/text/text.component.mjs +3 -4
- package/esm2022/typography/text-color.directive.mjs +9 -9
- package/esm2022/upload/file-drop.directive.mjs +1 -1
- package/esm2022/upload/file-select-base.mjs +5 -6
- package/esm2022/upload/file-select.component.mjs +4 -3
- package/esm2022/upload/upload.service.mjs +6 -7
- package/esm2022/version.mjs +2 -2
- package/esm2022/vote/vote.component.mjs +4 -4
- package/esm2022/watermark/watermark.directive.mjs +12 -12
- package/fesm2022/ngx-tethys-action.mjs +20 -20
- package/fesm2022/ngx-tethys-action.mjs.map +1 -1
- package/fesm2022/ngx-tethys-affix.mjs +12 -14
- package/fesm2022/ngx-tethys-affix.mjs.map +1 -1
- package/fesm2022/ngx-tethys-alert.mjs +54 -80
- package/fesm2022/ngx-tethys-alert.mjs.map +1 -1
- package/fesm2022/ngx-tethys-anchor.mjs +48 -35
- package/fesm2022/ngx-tethys-anchor.mjs.map +1 -1
- package/fesm2022/ngx-tethys-arrow-switcher.mjs +25 -25
- package/fesm2022/ngx-tethys-arrow-switcher.mjs.map +1 -1
- package/fesm2022/ngx-tethys-autocomplete.mjs +63 -75
- package/fesm2022/ngx-tethys-autocomplete.mjs.map +1 -1
- package/fesm2022/ngx-tethys-avatar.mjs +32 -32
- package/fesm2022/ngx-tethys-avatar.mjs.map +1 -1
- package/fesm2022/ngx-tethys-back-top.mjs +15 -18
- package/fesm2022/ngx-tethys-back-top.mjs.map +1 -1
- package/fesm2022/ngx-tethys-badge.mjs +8 -8
- package/fesm2022/ngx-tethys-badge.mjs.map +1 -1
- package/fesm2022/ngx-tethys-breadcrumb.mjs +19 -21
- package/fesm2022/ngx-tethys-breadcrumb.mjs.map +1 -1
- package/fesm2022/ngx-tethys-button.mjs +16 -16
- package/fesm2022/ngx-tethys-button.mjs.map +1 -1
- package/fesm2022/ngx-tethys-calendar.mjs +26 -26
- package/fesm2022/ngx-tethys-calendar.mjs.map +1 -1
- package/fesm2022/ngx-tethys-card.mjs +3 -3
- package/fesm2022/ngx-tethys-card.mjs.map +1 -1
- package/fesm2022/ngx-tethys-carousel.mjs +23 -24
- package/fesm2022/ngx-tethys-carousel.mjs.map +1 -1
- package/fesm2022/ngx-tethys-cascader.mjs +19 -25
- package/fesm2022/ngx-tethys-cascader.mjs.map +1 -1
- package/fesm2022/ngx-tethys-checkbox.mjs +10 -11
- package/fesm2022/ngx-tethys-checkbox.mjs.map +1 -1
- package/fesm2022/ngx-tethys-collapse.mjs +20 -22
- package/fesm2022/ngx-tethys-collapse.mjs.map +1 -1
- package/fesm2022/ngx-tethys-color-picker.mjs +47 -45
- package/fesm2022/ngx-tethys-color-picker.mjs.map +1 -1
- package/fesm2022/ngx-tethys-comment.mjs +3 -3
- package/fesm2022/ngx-tethys-comment.mjs.map +1 -1
- package/fesm2022/ngx-tethys-copy.mjs +8 -12
- package/fesm2022/ngx-tethys-copy.mjs.map +1 -1
- package/fesm2022/ngx-tethys-core.mjs +14 -16
- package/fesm2022/ngx-tethys-core.mjs.map +1 -1
- package/fesm2022/ngx-tethys-date-picker.mjs +2872 -2924
- package/fesm2022/ngx-tethys-date-picker.mjs.map +1 -1
- package/fesm2022/ngx-tethys-date-range.mjs +24 -26
- package/fesm2022/ngx-tethys-date-range.mjs.map +1 -1
- package/fesm2022/ngx-tethys-dialog.mjs +61 -77
- package/fesm2022/ngx-tethys-dialog.mjs.map +1 -1
- package/fesm2022/ngx-tethys-divider.mjs +20 -12
- package/fesm2022/ngx-tethys-divider.mjs.map +1 -1
- package/fesm2022/ngx-tethys-dot.mjs +6 -6
- package/fesm2022/ngx-tethys-dot.mjs.map +1 -1
- package/fesm2022/ngx-tethys-drag-drop.mjs +33 -37
- package/fesm2022/ngx-tethys-drag-drop.mjs.map +1 -1
- package/fesm2022/ngx-tethys-dropdown.mjs +49 -43
- package/fesm2022/ngx-tethys-dropdown.mjs.map +1 -1
- package/fesm2022/ngx-tethys-empty.mjs +18 -18
- package/fesm2022/ngx-tethys-empty.mjs.map +1 -1
- package/fesm2022/ngx-tethys-flexible-text.mjs +16 -17
- package/fesm2022/ngx-tethys-flexible-text.mjs.map +1 -1
- package/fesm2022/ngx-tethys-form.mjs +74 -89
- package/fesm2022/ngx-tethys-form.mjs.map +1 -1
- package/fesm2022/ngx-tethys-fullscreen.mjs +14 -17
- package/fesm2022/ngx-tethys-fullscreen.mjs.map +1 -1
- package/fesm2022/ngx-tethys-grid.mjs +20 -29
- package/fesm2022/ngx-tethys-grid.mjs.map +1 -1
- package/fesm2022/ngx-tethys-guider.mjs +20 -26
- package/fesm2022/ngx-tethys-guider.mjs.map +1 -1
- package/fesm2022/ngx-tethys-icon.mjs +18 -22
- package/fesm2022/ngx-tethys-icon.mjs.map +1 -1
- package/fesm2022/ngx-tethys-image.mjs +60 -65
- package/fesm2022/ngx-tethys-image.mjs.map +1 -1
- package/fesm2022/ngx-tethys-input-number.mjs +5 -5
- package/fesm2022/ngx-tethys-input-number.mjs.map +1 -1
- package/fesm2022/ngx-tethys-input.mjs +53 -60
- package/fesm2022/ngx-tethys-input.mjs.map +1 -1
- package/fesm2022/ngx-tethys-layout.mjs +129 -124
- package/fesm2022/ngx-tethys-layout.mjs.map +1 -1
- package/fesm2022/ngx-tethys-list.mjs +27 -27
- package/fesm2022/ngx-tethys-list.mjs.map +1 -1
- package/fesm2022/ngx-tethys-loading.mjs +10 -10
- package/fesm2022/ngx-tethys-loading.mjs.map +1 -1
- package/fesm2022/ngx-tethys-mention.mjs +19 -24
- package/fesm2022/ngx-tethys-mention.mjs.map +1 -1
- package/fesm2022/ngx-tethys-menu.mjs +56 -57
- package/fesm2022/ngx-tethys-menu.mjs.map +1 -1
- package/fesm2022/ngx-tethys-message.mjs +47 -41
- package/fesm2022/ngx-tethys-message.mjs.map +1 -1
- package/fesm2022/ngx-tethys-nav.mjs +61 -72
- package/fesm2022/ngx-tethys-nav.mjs.map +1 -1
- package/fesm2022/ngx-tethys-notify.mjs +31 -34
- package/fesm2022/ngx-tethys-notify.mjs.map +1 -1
- package/fesm2022/ngx-tethys-pagination.mjs +46 -51
- package/fesm2022/ngx-tethys-pagination.mjs.map +1 -1
- package/fesm2022/ngx-tethys-popover.mjs +51 -57
- package/fesm2022/ngx-tethys-popover.mjs.map +1 -1
- package/fesm2022/ngx-tethys-progress.mjs +15 -24
- package/fesm2022/ngx-tethys-progress.mjs.map +1 -1
- package/fesm2022/ngx-tethys-property-operation.mjs +27 -27
- package/fesm2022/ngx-tethys-property-operation.mjs.map +1 -1
- package/fesm2022/ngx-tethys-property.mjs +14 -14
- package/fesm2022/ngx-tethys-property.mjs.map +1 -1
- package/fesm2022/ngx-tethys-radio.mjs +33 -39
- package/fesm2022/ngx-tethys-radio.mjs.map +1 -1
- package/fesm2022/ngx-tethys-rate.mjs +9 -9
- package/fesm2022/ngx-tethys-rate.mjs.map +1 -1
- package/fesm2022/ngx-tethys-resizable.mjs +43 -34
- package/fesm2022/ngx-tethys-resizable.mjs.map +1 -1
- package/fesm2022/ngx-tethys-result.mjs +3 -3
- package/fesm2022/ngx-tethys-result.mjs.map +1 -1
- package/fesm2022/ngx-tethys-segment.mjs +41 -44
- package/fesm2022/ngx-tethys-segment.mjs.map +1 -1
- package/fesm2022/ngx-tethys-select.mjs +28 -44
- package/fesm2022/ngx-tethys-select.mjs.map +1 -1
- package/fesm2022/ngx-tethys-shared.mjs +135 -150
- package/fesm2022/ngx-tethys-shared.mjs.map +1 -1
- package/fesm2022/ngx-tethys-skeleton.mjs +33 -47
- package/fesm2022/ngx-tethys-skeleton.mjs.map +1 -1
- package/fesm2022/ngx-tethys-slide.mjs +33 -37
- package/fesm2022/ngx-tethys-slide.mjs.map +1 -1
- package/fesm2022/ngx-tethys-slider.mjs +7 -7
- package/fesm2022/ngx-tethys-slider.mjs.map +1 -1
- package/fesm2022/ngx-tethys-space.mjs +16 -16
- package/fesm2022/ngx-tethys-space.mjs.map +1 -1
- package/fesm2022/ngx-tethys-statistic.mjs +22 -22
- package/fesm2022/ngx-tethys-statistic.mjs.map +1 -1
- package/fesm2022/ngx-tethys-stepper.mjs +17 -22
- package/fesm2022/ngx-tethys-stepper.mjs.map +1 -1
- package/fesm2022/ngx-tethys-strength.mjs +11 -11
- package/fesm2022/ngx-tethys-strength.mjs.map +1 -1
- package/fesm2022/ngx-tethys-switch.mjs +10 -10
- package/fesm2022/ngx-tethys-switch.mjs.map +1 -1
- package/fesm2022/ngx-tethys-table.mjs +107 -124
- package/fesm2022/ngx-tethys-table.mjs.map +1 -1
- package/fesm2022/ngx-tethys-tabs.mjs +29 -32
- package/fesm2022/ngx-tethys-tabs.mjs.map +1 -1
- package/fesm2022/ngx-tethys-tag.mjs +21 -21
- package/fesm2022/ngx-tethys-tag.mjs.map +1 -1
- package/fesm2022/ngx-tethys-time-picker.mjs +70 -80
- package/fesm2022/ngx-tethys-time-picker.mjs.map +1 -1
- package/fesm2022/ngx-tethys-timeline.mjs +26 -26
- package/fesm2022/ngx-tethys-timeline.mjs.map +1 -1
- package/fesm2022/ngx-tethys-tooltip.mjs +35 -36
- package/fesm2022/ngx-tethys-tooltip.mjs.map +1 -1
- package/fesm2022/ngx-tethys-transfer.mjs +10 -10
- package/fesm2022/ngx-tethys-transfer.mjs.map +1 -1
- package/fesm2022/ngx-tethys-tree-select.mjs +29 -37
- package/fesm2022/ngx-tethys-tree-select.mjs.map +1 -1
- package/fesm2022/ngx-tethys-tree.mjs +102 -110
- package/fesm2022/ngx-tethys-tree.mjs.map +1 -1
- package/fesm2022/ngx-tethys-typography.mjs +18 -18
- package/fesm2022/ngx-tethys-typography.mjs.map +1 -1
- package/fesm2022/ngx-tethys-upload.mjs +11 -12
- package/fesm2022/ngx-tethys-upload.mjs.map +1 -1
- package/fesm2022/ngx-tethys-vote.mjs +3 -3
- package/fesm2022/ngx-tethys-vote.mjs.map +1 -1
- package/fesm2022/ngx-tethys-watermark.mjs +12 -12
- 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/flexible-text/flexible-text.component.d.ts +1 -3
- package/form/form-group-error/form-group-error.component.d.ts +1 -3
- package/form/form-group-label.directive.d.ts +0 -2
- package/form/form-group.component.d.ts +1 -4
- package/form/form-submit.directive.d.ts +0 -2
- package/form/form-validator.service.d.ts +0 -2
- package/form/form.directive.d.ts +4 -4
- package/form/from-group-footer/form-group-footer.component.d.ts +2 -4
- package/form/validator/unique-validator.directive.d.ts +1 -4
- package/fullscreen/fullscreen.component.d.ts +0 -2
- package/fullscreen/fullscreen.service.d.ts +0 -2
- package/grid/thy-col.directive.d.ts +1 -2
- package/grid/thy-grid-item.component.d.ts +2 -4
- package/grid/thy-grid.component.d.ts +1 -3
- package/guider/guider.directive.d.ts +1 -3
- package/guider/guider.service.d.ts +0 -7
- package/icon/icon-registry.d.ts +1 -3
- package/icon/icon.component.d.ts +1 -3
- package/image/image-group.component.d.ts +1 -2
- package/image/image.directive.d.ts +1 -3
- package/image/image.service.d.ts +2 -2
- package/image/preview/image-preview.component.d.ts +1 -4
- package/input/input-count.component.d.ts +3 -4
- package/input/input-group.component.d.ts +1 -3
- package/input/input-search.component.d.ts +2 -2
- package/input/input.component.d.ts +1 -2
- package/input/input.directive.d.ts +2 -3
- package/input-number/input-number.component.d.ts +2 -2
- package/layout/sidebar.component.d.ts +44 -13
- package/list/selection/selection-list.d.ts +1 -2
- package/loading/loading.component.d.ts +0 -2
- package/loading/styles/loading.scss +3 -1
- package/mention/mention.directive.d.ts +4 -5
- package/mention/suggestions/suggestions.component.d.ts +2 -3
- package/menu/group/menu-group.component.d.ts +30 -8
- package/menu/item/action/menu-item-action.component.d.ts +2 -3
- package/menu/item/menu-item.component.d.ts +1 -2
- package/message/abstract/abstract-message-container.component.d.ts +1 -2
- package/message/abstract/abstract-message.component.d.ts +2 -2
- package/message/message-container.component.d.ts +1 -3
- package/message/message-queue.service.d.ts +1 -2
- package/message/message.component.d.ts +1 -3
- package/message/message.service.d.ts +3 -5
- package/nav/icon-nav/icon-nav.component.d.ts +2 -2
- package/nav/nav-ink-bar.directive.d.ts +2 -4
- package/nav/nav-item.directive.d.ts +3 -4
- package/nav/nav.component.d.ts +1 -3
- package/nav/nav.pipe.d.ts +0 -2
- package/notify/notify-container.component.d.ts +1 -3
- package/notify/notify-queue.service.d.ts +1 -2
- package/notify/notify.component.d.ts +2 -3
- package/notify/notify.service.d.ts +1 -4
- package/package.json +1 -1
- package/pagination/pagination.component.d.ts +2 -4
- package/pagination/pagination.pipe.d.ts +0 -2
- package/popover/header/popover-header.component.d.ts +0 -3
- package/popover/popover-container.component.d.ts +3 -4
- package/popover/popover.directive.d.ts +2 -5
- package/popover/popover.service.d.ts +4 -6
- package/progress/progress-circle.component.d.ts +0 -1
- package/progress/progress-strip.component.d.ts +0 -1
- package/progress/progress.component.d.ts +0 -1
- package/property/property-item.component.d.ts +6 -9
- package/property-operation/property-operation.component.d.ts +1 -3
- package/radio/button/radio-button.component.d.ts +2 -5
- package/radio/group/radio-group.component.d.ts +1 -2
- package/radio/radio.component.d.ts +2 -3
- package/rate/rate.component.d.ts +2 -2
- package/resizable/resizable.directive.d.ts +2 -4
- package/resizable/resizable.service.d.ts +2 -2
- package/resizable/resize-handle.component.d.ts +2 -7
- package/schematics/version.d.ts +1 -1
- package/schematics/version.js +1 -1
- package/segment/segment-item.component.d.ts +4 -5
- package/segment/segment.component.d.ts +2 -7
- package/select/custom-select/custom-select.component.d.ts +5 -5
- package/select/native-select/native-select.component.d.ts +1 -1
- package/shared/base-form-check.component.d.ts +1 -1
- package/shared/directives/string-or-template-outlet.directive.d.ts +1 -2
- package/shared/directives/thy-autofocus.directive.d.ts +0 -2
- package/shared/directives/thy-contextmenu.directive.d.ts +1 -2
- package/shared/directives/thy-ctrl-enter.directive.d.ts +1 -2
- package/shared/directives/thy-enter.directive.d.ts +1 -2
- package/shared/directives/thy-scroll.directive.d.ts +1 -2
- package/shared/directives/thy-show.d.ts +1 -2
- package/shared/directives/thy-stop-propagation.directive.d.ts +2 -2
- package/shared/directives/view-outlet.directive.d.ts +1 -2
- package/shared/ng-transclude.directive.d.ts +1 -1
- package/shared/option/group/option-group.component.d.ts +1 -2
- package/shared/option/list-option/list-option.component.d.ts +6 -7
- package/shared/option/option.component.d.ts +5 -5
- package/shared/select/select-control/select-control.component.d.ts +1 -2
- package/skeleton/skeleton-circle.component.d.ts +1 -4
- package/skeleton/skeleton-rectangle.component.d.ts +5 -5
- package/skeleton/stylized/bullet-list.component.d.ts +9 -1
- package/slide/drawer/drawer-container.directive.d.ts +1 -2
- package/slide/slide-container.component.d.ts +3 -4
- package/slide/slide-header/slide-header.component.d.ts +0 -2
- package/slide/slide.service.d.ts +3 -3
- package/slider/slider.component.d.ts +2 -2
- package/space/space.component.d.ts +1 -2
- package/statistic/statistic.component.d.ts +1 -2
- package/stepper/step.component.d.ts +1 -2
- package/stepper/stepper-button.directive.d.ts +0 -3
- package/strength/strength.component.d.ts +0 -1
- package/switch/switch.component.d.ts +1 -1
- package/table/table-column.component.d.ts +32 -8
- package/table/table-skeleton.component.d.ts +1 -3
- package/table/table.component.d.ts +3 -5
- package/tabs/tabs.component.d.ts +1 -3
- package/tag/tag.component.d.ts +7 -3
- package/time-picker/inner/inner-time-picker.component.d.ts +2 -4
- package/time-picker/time-picker-panel.component.d.ts +1 -3
- package/time-picker/time-picker.component.d.ts +1 -2
- package/timeline/timeline-item.component.d.ts +1 -3
- package/timeline/timeline.component.d.ts +1 -3
- package/tooltip/tooltip.component.d.ts +1 -2
- package/tooltip/tooltip.directive.d.ts +6 -9
- package/tooltip/tooltip.service.d.ts +2 -4
- package/transfer/transfer-list.component.d.ts +1 -2
- package/tree/tree-node.component.d.ts +5 -21
- package/tree/tree.component.d.ts +1 -2
- package/tree-select/tree-select.component.d.ts +5 -6
- package/typography/bg-color.directive.d.ts +0 -2
- package/typography/text-color.directive.d.ts +1 -2
- package/upload/file-select-base.d.ts +2 -3
- package/upload/file-select.component.d.ts +1 -0
- package/upload/upload.service.d.ts +0 -2
- package/watermark/watermark.directive.d.ts +1 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, ChangeDetectionStrategy, ViewEncapsulation, Input, InjectionToken,
|
|
3
|
-
import { NgStyle,
|
|
2
|
+
import { Component, ChangeDetectionStrategy, ViewEncapsulation, Input, InjectionToken, inject, NgModule } from '@angular/core';
|
|
3
|
+
import { NgStyle, CommonModule } from '@angular/common';
|
|
4
4
|
import { PortalModule } from '@angular/cdk/portal';
|
|
5
5
|
import { ThyGridModule } from 'ngx-tethys/grid';
|
|
6
6
|
import { ThyListModule } from 'ngx-tethys/list';
|
|
@@ -50,9 +50,9 @@ const THY_SKELETON_CONFIG = new InjectionToken('THY_SKELETON_CONFIG', {
|
|
|
50
50
|
* @order 20
|
|
51
51
|
*/
|
|
52
52
|
class ThySkeletonRectangle {
|
|
53
|
-
constructor(
|
|
54
|
-
this.skeletonConfigModel =
|
|
55
|
-
this._parent =
|
|
53
|
+
constructor() {
|
|
54
|
+
this.skeletonConfigModel = inject(THY_SKELETON_CONFIG, { optional: true });
|
|
55
|
+
this._parent = inject(ThySkeleton, { optional: true });
|
|
56
56
|
this.afterStyles = {};
|
|
57
57
|
}
|
|
58
58
|
ngOnInit() {
|
|
@@ -85,7 +85,7 @@ class ThySkeletonRectangle {
|
|
|
85
85
|
this.crateAfterStyles();
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThySkeletonRectangle, deps: [
|
|
88
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThySkeletonRectangle, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
89
89
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.0", type: ThySkeletonRectangle, isStandalone: true, selector: "thy-skeleton-rectangle", inputs: { thyAnimated: ["thyAnimated", "thyAnimated", coerceBooleanProperty], thyAnimatedInterval: "thyAnimatedInterval", thyBorderRadius: "thyBorderRadius", thyRowWidth: "thyRowWidth", thyRowHeight: "thyRowHeight", thyPrimaryColor: "thyPrimaryColor", thySecondaryColor: "thySecondaryColor" }, host: { properties: { "class.thy-skeleton": "true", "class.thy-skeleton-rectangle": "true", "style.background": "thyPrimaryColor", "style.width": "thyRowWidth", "style.height": "thyRowHeight", "style.borderRadius": "thyBorderRadius" } }, usesOnChanges: true, ngImport: i0, template: ` <div class="thy-skeleton-after" [ngStyle]="afterStyles"></div> `, isInline: true, dependencies: [{ kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
90
90
|
}
|
|
91
91
|
__decorate([
|
|
@@ -118,14 +118,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
|
118
118
|
standalone: true,
|
|
119
119
|
imports: [NgStyle]
|
|
120
120
|
}]
|
|
121
|
-
}],
|
|
122
|
-
type: Optional
|
|
123
|
-
}, {
|
|
124
|
-
type: Inject,
|
|
125
|
-
args: [THY_SKELETON_CONFIG]
|
|
126
|
-
}] }, { type: ThySkeleton, decorators: [{
|
|
127
|
-
type: Optional
|
|
128
|
-
}] }], propDecorators: { thyAnimated: [{
|
|
121
|
+
}], propDecorators: { thyAnimated: [{
|
|
129
122
|
type: Input,
|
|
130
123
|
args: [{ transform: coerceBooleanProperty }]
|
|
131
124
|
}], thyAnimatedInterval: [{
|
|
@@ -148,9 +141,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
|
148
141
|
* @order 30
|
|
149
142
|
*/
|
|
150
143
|
class ThySkeletonCircle {
|
|
151
|
-
constructor(
|
|
152
|
-
this.skeletonConfigModel =
|
|
153
|
-
this._parent =
|
|
144
|
+
constructor() {
|
|
145
|
+
this.skeletonConfigModel = inject(THY_SKELETON_CONFIG, { optional: true });
|
|
146
|
+
this._parent = inject(ThySkeleton, { optional: true });
|
|
154
147
|
/**
|
|
155
148
|
* 骨架尺寸
|
|
156
149
|
* @default 20px
|
|
@@ -188,7 +181,7 @@ class ThySkeletonCircle {
|
|
|
188
181
|
this.crateAfterStyles();
|
|
189
182
|
}
|
|
190
183
|
}
|
|
191
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThySkeletonCircle, deps: [
|
|
184
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThySkeletonCircle, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
192
185
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "18.2.0", type: ThySkeletonCircle, isStandalone: true, selector: "thy-skeleton-circle", inputs: { thyAnimatedInterval: "thyAnimatedInterval", thySize: "thySize", thyPrimaryColor: "thyPrimaryColor", thySecondaryColor: "thySecondaryColor", thyAnimated: ["thyAnimated", "thyAnimated", coerceBooleanProperty] }, host: { properties: { "class.thy-skeleton": "true", "class.thy-skeleton-circle": "true", "style.background": "thyPrimaryColor", "style.width": "thySize", "style.height": "thySize" } }, usesOnChanges: true, ngImport: i0, template: ` <div class="thy-skeleton-after" [ngStyle]="afterStyles"></div> `, isInline: true, dependencies: [{ kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
193
186
|
}
|
|
194
187
|
__decorate([
|
|
@@ -212,14 +205,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
|
212
205
|
standalone: true,
|
|
213
206
|
imports: [NgStyle]
|
|
214
207
|
}]
|
|
215
|
-
}],
|
|
216
|
-
type: Optional
|
|
217
|
-
}, {
|
|
218
|
-
type: Inject,
|
|
219
|
-
args: [THY_SKELETON_CONFIG]
|
|
220
|
-
}] }, { type: ThySkeleton, decorators: [{
|
|
221
|
-
type: Optional
|
|
222
|
-
}] }], propDecorators: { thyAnimatedInterval: [{
|
|
208
|
+
}], propDecorators: { thyAnimatedInterval: [{
|
|
223
209
|
type: Input
|
|
224
210
|
}], thySize: [{
|
|
225
211
|
type: Input
|
|
@@ -251,8 +237,8 @@ class ThySkeletonList {
|
|
|
251
237
|
return this.rowCount.length;
|
|
252
238
|
}
|
|
253
239
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThySkeletonList, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
254
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
255
|
-
|
|
240
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: ThySkeletonList, isStandalone: true, selector: "thy-skeleton-list", inputs: { thyRowWidth: "thyRowWidth", thyRowHeight: "thyRowHeight", thyBorderRadius: "thyBorderRadius", thyAnimated: ["thyAnimated", "thyAnimated", coerceBooleanProperty], thyAnimatedInterval: "thyAnimatedInterval", thyPrimaryColor: "thyPrimaryColor", thySecondaryColor: "thySecondaryColor", thyRowCount: "thyRowCount" }, host: { properties: { "class.thy-skeleton-list": "true" } }, ngImport: i0, template: `
|
|
241
|
+
@for (k of rowCount; track $index; let i = $index) {
|
|
256
242
|
<thy-skeleton-rectangle
|
|
257
243
|
class="vertical-gap"
|
|
258
244
|
[thyRowWidth]="thyRowWidth"
|
|
@@ -262,8 +248,8 @@ class ThySkeletonList {
|
|
|
262
248
|
[thySecondaryColor]="thySecondaryColor"
|
|
263
249
|
[thyBorderRadius]="thyBorderRadius"
|
|
264
250
|
[thyAnimatedInterval]="thyAnimatedInterval"></thy-skeleton-rectangle>
|
|
265
|
-
|
|
266
|
-
`, isInline: true, dependencies: [{ kind: "
|
|
251
|
+
}
|
|
252
|
+
`, isInline: true, dependencies: [{ kind: "component", type: ThySkeletonRectangle, selector: "thy-skeleton-rectangle", inputs: ["thyAnimated", "thyAnimatedInterval", "thyBorderRadius", "thyRowWidth", "thyRowHeight", "thyPrimaryColor", "thySecondaryColor"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
267
253
|
}
|
|
268
254
|
__decorate([
|
|
269
255
|
InputCssPixel(),
|
|
@@ -282,7 +268,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
|
282
268
|
args: [{
|
|
283
269
|
selector: 'thy-skeleton-list',
|
|
284
270
|
template: `
|
|
285
|
-
|
|
271
|
+
@for (k of rowCount; track $index; let i = $index) {
|
|
286
272
|
<thy-skeleton-rectangle
|
|
287
273
|
class="vertical-gap"
|
|
288
274
|
[thyRowWidth]="thyRowWidth"
|
|
@@ -292,7 +278,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
|
292
278
|
[thySecondaryColor]="thySecondaryColor"
|
|
293
279
|
[thyBorderRadius]="thyBorderRadius"
|
|
294
280
|
[thyAnimatedInterval]="thyAnimatedInterval"></thy-skeleton-rectangle>
|
|
295
|
-
|
|
281
|
+
}
|
|
296
282
|
`,
|
|
297
283
|
host: {
|
|
298
284
|
'[class.thy-skeleton-list]': 'true'
|
|
@@ -300,7 +286,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
|
300
286
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
301
287
|
encapsulation: ViewEncapsulation.None,
|
|
302
288
|
standalone: true,
|
|
303
|
-
imports: [
|
|
289
|
+
imports: [ThySkeletonRectangle]
|
|
304
290
|
}]
|
|
305
291
|
}], propDecorators: { thyRowWidth: [{
|
|
306
292
|
type: Input
|
|
@@ -340,8 +326,8 @@ class ThySkeletonParagraph {
|
|
|
340
326
|
return this.rowCount.length;
|
|
341
327
|
}
|
|
342
328
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThySkeletonParagraph, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
343
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
344
|
-
|
|
329
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: ThySkeletonParagraph, isStandalone: true, selector: "thy-skeleton-paragraph", inputs: { thyFirstWidth: "thyFirstWidth", thyLastWidth: "thyLastWidth", thyRowWidth: "thyRowWidth", thyRowHeight: "thyRowHeight", thyBorderRadius: "thyBorderRadius", thyAnimated: ["thyAnimated", "thyAnimated", coerceBooleanProperty], thyAnimatedInterval: "thyAnimatedInterval", thyPrimaryColor: "thyPrimaryColor", thySecondaryColor: "thySecondaryColor", thyRowCount: "thyRowCount" }, host: { properties: { "class.thy-skeleton-paragraph": "true" } }, ngImport: i0, template: `
|
|
330
|
+
@for (k of rowCount; track $index; let i = $index) {
|
|
345
331
|
<thy-skeleton-rectangle
|
|
346
332
|
class="vertical-gap"
|
|
347
333
|
[thyRowWidth]="i === 0 ? thyFirstWidth : i === rowCount.length - 1 ? thyLastWidth : thyRowWidth"
|
|
@@ -351,8 +337,8 @@ class ThySkeletonParagraph {
|
|
|
351
337
|
[thySecondaryColor]="thySecondaryColor"
|
|
352
338
|
[thyBorderRadius]="thyBorderRadius"
|
|
353
339
|
[thyAnimatedInterval]="thyAnimatedInterval"></thy-skeleton-rectangle>
|
|
354
|
-
|
|
355
|
-
`, isInline: true, dependencies: [{ kind: "
|
|
340
|
+
}
|
|
341
|
+
`, isInline: true, dependencies: [{ kind: "component", type: ThySkeletonRectangle, selector: "thy-skeleton-rectangle", inputs: ["thyAnimated", "thyAnimatedInterval", "thyBorderRadius", "thyRowWidth", "thyRowHeight", "thyPrimaryColor", "thySecondaryColor"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
356
342
|
}
|
|
357
343
|
__decorate([
|
|
358
344
|
InputCssPixel(),
|
|
@@ -379,7 +365,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
|
379
365
|
args: [{
|
|
380
366
|
selector: 'thy-skeleton-paragraph',
|
|
381
367
|
template: `
|
|
382
|
-
|
|
368
|
+
@for (k of rowCount; track $index; let i = $index) {
|
|
383
369
|
<thy-skeleton-rectangle
|
|
384
370
|
class="vertical-gap"
|
|
385
371
|
[thyRowWidth]="i === 0 ? thyFirstWidth : i === rowCount.length - 1 ? thyLastWidth : thyRowWidth"
|
|
@@ -389,7 +375,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
|
389
375
|
[thySecondaryColor]="thySecondaryColor"
|
|
390
376
|
[thyBorderRadius]="thyBorderRadius"
|
|
391
377
|
[thyAnimatedInterval]="thyAnimatedInterval"></thy-skeleton-rectangle>
|
|
392
|
-
|
|
378
|
+
}
|
|
393
379
|
`,
|
|
394
380
|
host: {
|
|
395
381
|
'[class.thy-skeleton-paragraph]': 'true'
|
|
@@ -397,7 +383,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
|
397
383
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
398
384
|
encapsulation: ViewEncapsulation.None,
|
|
399
385
|
standalone: true,
|
|
400
|
-
imports: [
|
|
386
|
+
imports: [ThySkeletonRectangle]
|
|
401
387
|
}]
|
|
402
388
|
}], propDecorators: { thyFirstWidth: [{
|
|
403
389
|
type: Input
|
|
@@ -441,8 +427,8 @@ class ThySkeletonBulletList {
|
|
|
441
427
|
this.rowCount = [];
|
|
442
428
|
}
|
|
443
429
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThySkeletonBulletList, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
444
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
445
|
-
|
|
430
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: ThySkeletonBulletList, isStandalone: true, selector: "thy-skeleton-bullet-list", inputs: { thyRowWidth: "thyRowWidth", thyRowHeight: "thyRowHeight", thyBorderRadius: "thyBorderRadius", thyAnimated: ["thyAnimated", "thyAnimated", coerceBooleanProperty], thyAnimatedInterval: "thyAnimatedInterval", thyPrimaryColor: "thyPrimaryColor", thySecondaryColor: "thySecondaryColor", thySize: "thySize", thyRowCount: "thyRowCount" }, host: { properties: { "class.thy-skeleton-bullet-list": "true" } }, ngImport: i0, template: `
|
|
431
|
+
@for (item of rowCount; track $index; let i = $index) {
|
|
446
432
|
<div class="d-flex vertical-gap">
|
|
447
433
|
<thy-skeleton-circle
|
|
448
434
|
[thyAnimated]="thyAnimated"
|
|
@@ -463,8 +449,8 @@ class ThySkeletonBulletList {
|
|
|
463
449
|
[thyAnimatedInterval]="thyAnimatedInterval"></thy-skeleton-rectangle>
|
|
464
450
|
</div>
|
|
465
451
|
</div>
|
|
466
|
-
|
|
467
|
-
`, isInline: true, dependencies: [{ kind: "
|
|
452
|
+
}
|
|
453
|
+
`, isInline: true, dependencies: [{ kind: "component", type: ThySkeletonCircle, selector: "thy-skeleton-circle", inputs: ["thyAnimatedInterval", "thySize", "thyPrimaryColor", "thySecondaryColor", "thyAnimated"] }, { kind: "component", type: ThySkeletonRectangle, selector: "thy-skeleton-rectangle", inputs: ["thyAnimated", "thyAnimatedInterval", "thyBorderRadius", "thyRowWidth", "thyRowHeight", "thyPrimaryColor", "thySecondaryColor"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
468
454
|
}
|
|
469
455
|
__decorate([
|
|
470
456
|
InputCssPixel(),
|
|
@@ -487,7 +473,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
|
487
473
|
args: [{
|
|
488
474
|
selector: 'thy-skeleton-bullet-list',
|
|
489
475
|
template: `
|
|
490
|
-
|
|
476
|
+
@for (item of rowCount; track $index; let i = $index) {
|
|
491
477
|
<div class="d-flex vertical-gap">
|
|
492
478
|
<thy-skeleton-circle
|
|
493
479
|
[thyAnimated]="thyAnimated"
|
|
@@ -508,7 +494,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
|
508
494
|
[thyAnimatedInterval]="thyAnimatedInterval"></thy-skeleton-rectangle>
|
|
509
495
|
</div>
|
|
510
496
|
</div>
|
|
511
|
-
|
|
497
|
+
}
|
|
512
498
|
`,
|
|
513
499
|
host: {
|
|
514
500
|
'[class.thy-skeleton-bullet-list]': 'true'
|
|
@@ -516,7 +502,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
|
516
502
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
517
503
|
encapsulation: ViewEncapsulation.None,
|
|
518
504
|
standalone: true,
|
|
519
|
-
imports: [
|
|
505
|
+
imports: [ThySkeletonCircle, ThySkeletonRectangle]
|
|
520
506
|
}]
|
|
521
507
|
}], ctorParameters: () => [], propDecorators: { thyRowWidth: [{
|
|
522
508
|
type: Input
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ngx-tethys-skeleton.mjs","sources":["../../../src/skeleton/skeleton.component.ts","../../../src/skeleton/skeleton.config.ts","../../../src/skeleton/skeleton-rectangle.component.ts","../../../src/skeleton/skeleton-circle.component.ts","../../../src/skeleton/stylized/list.component.ts","../../../src/skeleton/stylized/paragraph.component.ts","../../../src/skeleton/stylized/bullet-list.component.ts","../../../src/skeleton/module.ts","../../../src/skeleton/ngx-tethys-skeleton.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, ViewEncapsulation, Input } from '@angular/core';\nimport { coerceBooleanProperty } from 'ngx-tethys/util';\n\n/**\n * 骨架屏组件\n * @name thy-skeleton\n * @order 10\n */\n@Component({\n selector: 'thy-skeleton',\n template: ` <ng-content></ng-content> `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n standalone: true\n})\nexport class ThySkeleton {\n /**\n * 是否开启动画\n * @default false\n */\n @Input({ transform: coerceBooleanProperty })\n thyAnimated: boolean;\n\n /**\n * 动画速度\n */\n @Input() thyAnimatedInterval: string | number;\n\n /**\n * 骨架主色调\n */\n @Input() thyPrimaryColor: string;\n\n /**\n * 骨架次色调\n */\n @Input() thySecondaryColor: string;\n}\n","import { InjectionToken } from '@angular/core';\nexport interface ThySkeletonConfigModel {\n thyAnimatedInterval?: string | number;\n thyPrimaryColor?: string;\n thySecondaryColor?: string;\n thyAnimated?: boolean;\n}\n\nexport const THY_SKELETON_CONFIG = new InjectionToken<ThySkeletonConfigModel>('THY_SKELETON_CONFIG', {\n providedIn: 'root',\n factory: () => {\n return {};\n }\n});\n","import {\n Component,\n ChangeDetectionStrategy,\n ViewEncapsulation,\n Input,\n OnInit,\n Optional,\n OnChanges,\n SimpleChanges,\n Inject\n} from '@angular/core';\nimport { ThySkeleton } from './skeleton.component';\nimport { coerceBooleanProperty, helpers } from 'ngx-tethys/util';\nimport { InputCssPixel } from 'ngx-tethys/core';\nimport { THY_SKELETON_CONFIG, ThySkeletonConfigModel } from './skeleton.config';\nimport { isUndefinedOrNull } from 'ngx-tethys/util';\nimport { NgStyle } from '@angular/common';\n\ninterface Style {\n background?: string;\n animation?: string;\n}\n\n/**\n * 骨架屏矩形组件\n * @name thy-skeleton-rectangle\n * @order 20\n */\n@Component({\n selector: 'thy-skeleton-rectangle',\n host: {\n '[class.thy-skeleton]': 'true',\n '[class.thy-skeleton-rectangle]': 'true',\n '[style.background]': 'thyPrimaryColor',\n '[style.width]': 'thyRowWidth',\n '[style.height]': 'thyRowHeight',\n '[style.borderRadius]': 'thyBorderRadius'\n },\n template: ` <div class=\"thy-skeleton-after\" [ngStyle]=\"afterStyles\"></div> `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n standalone: true,\n imports: [NgStyle]\n})\nexport class ThySkeletonRectangle implements OnInit, OnChanges {\n /**\n * 是否开启动画\n * @default false\n */\n @Input({ transform: coerceBooleanProperty })\n thyAnimated: boolean;\n\n /**\n * 动画速度\n * @default 1.5s\n */\n @Input() thyAnimatedInterval: number;\n\n /**\n * 骨架边框圆角\n * @default 4px\n */\n @Input()\n @InputCssPixel()\n thyBorderRadius: string | number;\n\n /**\n * 骨架宽度\n * @default 100%\n */\n @Input()\n @InputCssPixel()\n thyRowWidth: string | number;\n\n /**\n * 骨架高度\n * @default 20px\n */\n @Input()\n @InputCssPixel()\n thyRowHeight: string | number;\n\n /**\n * 骨架主色\n * @default #F7F7F7\n */\n @Input() thyPrimaryColor: string;\n\n /**\n * 骨架次色\n * @default #aaaaaa\n */\n @Input() thySecondaryColor: string;\n\n afterStyles: Style = {};\n\n constructor(\n @Optional()\n @Inject(THY_SKELETON_CONFIG)\n private skeletonConfigModel: ThySkeletonConfigModel,\n @Optional() private _parent: ThySkeleton\n ) {}\n\n ngOnInit() {\n const config = {\n ...this.skeletonConfigModel,\n ...(this._parent || {}),\n ...(!isUndefinedOrNull(this._parent?.thyAnimated) && { thyAnimated: this._parent.thyAnimated })\n };\n const { thyAnimatedInterval, thyPrimaryColor, thySecondaryColor, thyAnimated } = config;\n\n for (let key in { thyAnimatedInterval, thyPrimaryColor, thySecondaryColor, thyAnimated }) {\n this[key] = !isUndefinedOrNull(this[key]) ? this[key] : config[key];\n }\n this.crateAfterStyles();\n }\n\n crateAfterStyles() {\n this.afterStyles = {\n ...(this.thySecondaryColor && {\n background: `linear-gradient(90deg, ${helpers.hexToRgb(this.thySecondaryColor, 0)}, ${helpers.hexToRgb(\n this.thySecondaryColor,\n 0.15\n )}, ${helpers.hexToRgb(this.thySecondaryColor, 0)}`\n }),\n animation: ![false, 'false'].includes(this.thyAnimated)\n ? `thy-skeleton-animation ${this.thyAnimatedInterval}s infinite`\n : 'none'\n };\n }\n\n ngOnChanges(changes: SimpleChanges): void {\n const { thySecondaryColor, thyAnimated, thyAnimatedInterval } = changes;\n if (\n (thySecondaryColor && !thySecondaryColor?.firstChange) ||\n (thyAnimated && !thyAnimated?.firstChange) ||\n (thyAnimatedInterval && !thyAnimatedInterval?.firstChange)\n ) {\n this.crateAfterStyles();\n }\n }\n}\n","import {\n Component,\n ChangeDetectionStrategy,\n ViewEncapsulation,\n Input,\n OnInit,\n Optional,\n OnChanges,\n SimpleChanges,\n Inject\n} from '@angular/core';\nimport { ThySkeleton } from './skeleton.component';\nimport { coerceBooleanProperty, helpers } from 'ngx-tethys/util';\nimport { InputCssPixel } from 'ngx-tethys/core';\nimport { THY_SKELETON_CONFIG, ThySkeletonConfigModel } from './skeleton.config';\nimport { isUndefinedOrNull } from 'ngx-tethys/util';\nimport { NgStyle } from '@angular/common';\n\ninterface Style {\n background?: string;\n animation?: string;\n}\n\n/**\n * 骨架屏圆形组件\n * @name thy-skeleton-circle\n * @order 30\n */\n@Component({\n selector: 'thy-skeleton-circle',\n host: {\n '[class.thy-skeleton]': 'true',\n '[class.thy-skeleton-circle]': 'true',\n '[style.background]': 'thyPrimaryColor',\n '[style.width]': 'thySize',\n '[style.height]': 'thySize'\n },\n template: ` <div class=\"thy-skeleton-after\" [ngStyle]=\"afterStyles\"></div> `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n standalone: true,\n imports: [NgStyle]\n})\nexport class ThySkeletonCircle implements OnInit, OnChanges {\n /**\n * 动画速度\n * @default 1.5s\n */\n @Input() thyAnimatedInterval: string | number;\n\n /**\n * 骨架尺寸\n * @default 20px\n */\n @Input()\n @InputCssPixel()\n thySize: string | number = 20;\n\n /**\n * 骨架主色\n * @default #F7F7F7\n */\n @Input() thyPrimaryColor: string;\n\n /**\n * 骨架次色\n * @default #aaaaaa\n */\n @Input() thySecondaryColor: string;\n\n /**\n * 是否展示动画\n * @default true\n */\n @Input({ transform: coerceBooleanProperty })\n thyAnimated: boolean;\n\n public afterStyles: Style = {};\n\n constructor(\n @Optional()\n @Inject(THY_SKELETON_CONFIG)\n private skeletonConfigModel: ThySkeletonConfigModel,\n @Optional() private _parent: ThySkeleton\n ) {}\n\n ngOnInit() {\n const config = {\n ...this.skeletonConfigModel,\n ...(this._parent || {}),\n ...(!isUndefinedOrNull(this._parent?.thyAnimated) && { thyAnimated: this._parent.thyAnimated }) // do it because @InputBoolean() lead to cannot get thyAnimated from _parent inject\n };\n const { thyAnimatedInterval, thyPrimaryColor, thySecondaryColor, thyAnimated } = config;\n for (let key in { thyAnimatedInterval, thyPrimaryColor, thySecondaryColor, thyAnimated }) {\n this[key] = !isUndefinedOrNull(this[key]) ? this[key] : config[key];\n }\n this.crateAfterStyles();\n }\n\n crateAfterStyles() {\n this.afterStyles = {\n ...(this.thySecondaryColor && {\n background: `linear-gradient(90deg, ${helpers.hexToRgb(this.thySecondaryColor, 0)}, ${helpers.hexToRgb(\n this.thySecondaryColor,\n 0.15\n )}, ${helpers.hexToRgb(this.thySecondaryColor, 0)}`\n }),\n animation: ![false, 'false'].includes(this.thyAnimated)\n ? `thy-skeleton-animation ${this.thyAnimatedInterval}s infinite`\n : 'none'\n };\n }\n\n ngOnChanges(changes: SimpleChanges): void {\n const { thySecondaryColor, thyAnimated, thyAnimatedInterval } = changes;\n if (\n (thySecondaryColor && !thySecondaryColor?.firstChange) ||\n (thyAnimated && !thyAnimated?.firstChange) ||\n (thyAnimatedInterval && !thyAnimatedInterval?.firstChange)\n ) {\n this.crateAfterStyles();\n }\n }\n}\n","import { NgFor } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, Input, ViewEncapsulation } from '@angular/core';\nimport { InputCssPixel } from 'ngx-tethys/core';\nimport { ThySkeletonRectangle } from '../skeleton-rectangle.component';\nimport { coerceBooleanProperty } from 'ngx-tethys/util';\n\n/**\n * 骨架屏列表组件\n * @name thy-skeleton-list\n * @order 40\n */\n@Component({\n selector: 'thy-skeleton-list',\n template: `\n <ng-container *ngFor=\"let k of rowCount; index as i\">\n <thy-skeleton-rectangle\n class=\"vertical-gap\"\n [thyRowWidth]=\"thyRowWidth\"\n [thyRowHeight]=\"thyRowHeight\"\n [thyAnimated]=\"thyAnimated\"\n [thyPrimaryColor]=\"thyPrimaryColor\"\n [thySecondaryColor]=\"thySecondaryColor\"\n [thyBorderRadius]=\"thyBorderRadius\"\n [thyAnimatedInterval]=\"thyAnimatedInterval\"></thy-skeleton-rectangle>\n </ng-container>\n `,\n host: {\n '[class.thy-skeleton-list]': 'true'\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n standalone: true,\n imports: [NgFor, ThySkeletonRectangle]\n})\nexport class ThySkeletonList {\n /**\n * 骨架宽度\n */\n @Input()\n @InputCssPixel()\n thyRowWidth: string | number;\n\n /**\n * 骨架高度\n */\n @Input()\n @InputCssPixel()\n thyRowHeight: string | number;\n\n /**\n * 骨架边框圆角\n */\n @Input()\n @InputCssPixel()\n thyBorderRadius: string | number;\n\n /**\n * 是否开启动画\n * @default false\n */\n @Input({ transform: coerceBooleanProperty })\n thyAnimated: boolean;\n\n /**\n * 动画速度\n */\n @Input() thyAnimatedInterval: string;\n\n /**\n * 骨架主色\n */\n @Input() thyPrimaryColor: string;\n\n /**\n * 骨架次色\n */\n @Input() thySecondaryColor: string;\n\n rowCount: number[] = [];\n\n /**\n * 行数\n */\n @Input()\n set thyRowCount(value: number | string) {\n this.rowCount = Array.from({ length: +value });\n }\n get thyRowCount() {\n return this.rowCount.length;\n }\n}\n","import { NgFor } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, Input, ViewEncapsulation } from '@angular/core';\nimport { InputCssPixel } from 'ngx-tethys/core';\nimport { ThySkeletonRectangle } from '../skeleton-rectangle.component';\nimport { coerceBooleanProperty } from 'ngx-tethys/util';\n\n/**\n * 骨架屏段落组件\n * @name thy-skeleton-paragraph\n * @order 60\n */\n@Component({\n selector: 'thy-skeleton-paragraph',\n template: `\n <ng-container *ngFor=\"let k of rowCount; index as i\">\n <thy-skeleton-rectangle\n class=\"vertical-gap\"\n [thyRowWidth]=\"i === 0 ? thyFirstWidth : i === rowCount.length - 1 ? thyLastWidth : thyRowWidth\"\n [thyRowHeight]=\"thyRowHeight\"\n [thyAnimated]=\"thyAnimated\"\n [thyPrimaryColor]=\"thyPrimaryColor\"\n [thySecondaryColor]=\"thySecondaryColor\"\n [thyBorderRadius]=\"thyBorderRadius\"\n [thyAnimatedInterval]=\"thyAnimatedInterval\"></thy-skeleton-rectangle>\n </ng-container>\n `,\n host: {\n '[class.thy-skeleton-paragraph]': 'true'\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n standalone: true,\n imports: [NgFor, ThySkeletonRectangle]\n})\nexport class ThySkeletonParagraph {\n /**\n * 首行宽度\n */\n @Input()\n @InputCssPixel()\n thyFirstWidth: string | number;\n\n /**\n * 尾行宽度\n */\n @Input()\n @InputCssPixel()\n thyLastWidth: string | number;\n\n /**\n * 骨架宽度\n */\n @Input()\n @InputCssPixel()\n thyRowWidth: string | number;\n\n /**\n * 骨架高度\n */\n @Input()\n @InputCssPixel()\n thyRowHeight: string | number;\n\n /**\n * 骨架边框圆角\n */\n @Input()\n @InputCssPixel()\n thyBorderRadius: string | number;\n\n /**\n * 是否开启动画\n * @default false\n */\n @Input({ transform: coerceBooleanProperty })\n thyAnimated: boolean;\n\n /**\n * 动画速度\n */\n @Input() thyAnimatedInterval: string | number;\n\n /**\n * 骨架主色\n */\n @Input() thyPrimaryColor: string;\n\n /**\n * 骨架次色\n */\n @Input() thySecondaryColor: string;\n\n rowCount: number[] = [];\n\n /**\n * 行数\n */\n @Input()\n set thyRowCount(value: number | string) {\n this.rowCount = Array.from({ length: +value });\n }\n get thyRowCount() {\n return this.rowCount.length;\n }\n}\n","import { ChangeDetectionStrategy, Component, Input, ViewEncapsulation } from '@angular/core';\nimport { InputCssPixel } from 'ngx-tethys/core';\n\nimport { NgFor } from '@angular/common';\nimport { ThySkeletonCircle } from '../skeleton-circle.component';\nimport { ThySkeletonRectangle } from '../skeleton-rectangle.component';\nimport { coerceBooleanProperty } from 'ngx-tethys/util';\n\n/**\n * 骨架屏无序列表组件\n * @name thy-skeleton-bullet-list\n * @order 50\n */\n@Component({\n selector: 'thy-skeleton-bullet-list',\n template: `\n <ng-container *ngFor=\"let item of rowCount; index as i\">\n <div class=\"d-flex vertical-gap\">\n <thy-skeleton-circle\n [thyAnimated]=\"thyAnimated\"\n [thyAnimatedInterval]=\"thyAnimatedInterval\"\n [thySize]=\"thySize\"\n [thyPrimaryColor]=\"thyPrimaryColor\"\n [thySecondaryColor]=\"thySecondaryColor\">\n </thy-skeleton-circle>\n <div class=\"horizontal-gap\"></div>\n <div style=\"flex: 1\">\n <thy-skeleton-rectangle\n [thyRowWidth]=\"thyRowWidth\"\n [thyRowHeight]=\"thyRowHeight\"\n [thyAnimated]=\"thyAnimated\"\n [thyPrimaryColor]=\"thyPrimaryColor\"\n [thySecondaryColor]=\"thySecondaryColor\"\n [thyBorderRadius]=\"thyBorderRadius\"\n [thyAnimatedInterval]=\"thyAnimatedInterval\"></thy-skeleton-rectangle>\n </div>\n </div>\n </ng-container>\n `,\n host: {\n '[class.thy-skeleton-bullet-list]': 'true'\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n standalone: true,\n imports: [NgFor, ThySkeletonCircle, ThySkeletonRectangle]\n})\nexport class ThySkeletonBulletList {\n /**\n * 骨架宽度\n * @default 100%\n */\n @Input()\n @InputCssPixel()\n thyRowWidth: string | number;\n\n /**\n * 骨架高度\n * @default 20px\n */\n @Input()\n @InputCssPixel()\n thyRowHeight: string | number;\n\n /**\n * 骨架边框圆角\n * @default 4px\n */\n @Input()\n @InputCssPixel()\n thyBorderRadius: string | number;\n\n /**\n * 是否开启动画\n * @default true\n */\n @Input({ transform: coerceBooleanProperty })\n thyAnimated: boolean;\n\n /**\n * 动画速度\n * @default 1.5s\n */\n @Input() thyAnimatedInterval: string | number;\n\n /**\n * 骨架主色\n * @default #f7f7f7\n */\n @Input() thyPrimaryColor: string;\n\n /**\n * 骨架次色\n * @default #aaaaaa\n */\n @Input() thySecondaryColor: string;\n\n /**\n * circle类型骨架尺寸\n */\n @Input()\n @InputCssPixel()\n thySize: string | number;\n\n rowCount: number[] = [];\n /**\n * 行数\n */\n @Input()\n set thyRowCount(value: number | string) {\n this.rowCount = Array.from({ length: +value });\n }\n get thyRowCount() {\n return this.rowCount.length;\n }\n\n constructor() {}\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { PortalModule } from '@angular/cdk/portal';\nimport { ThyGridModule } from 'ngx-tethys/grid';\nimport { ThyListModule } from 'ngx-tethys/list';\n\nimport { ThySkeleton } from './skeleton.component';\nimport { ThySkeletonRectangle } from './skeleton-rectangle.component';\nimport { ThySkeletonCircle } from './skeleton-circle.component';\nimport { ThySkeletonList } from './stylized/list.component';\nimport { ThySkeletonParagraph } from './stylized/paragraph.component';\nimport { ThySkeletonBulletList } from './stylized/bullet-list.component';\n\nconst components = [ThySkeleton, ThySkeletonRectangle, ThySkeletonCircle, ThySkeletonList, ThySkeletonParagraph, ThySkeletonBulletList];\n@NgModule({\n imports: [CommonModule, PortalModule, ThyGridModule, ThyListModule, ...components],\n exports: components,\n providers: []\n})\nexport class ThySkeletonModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.ThySkeleton"],"mappings":";;;;;;;;;;AAGA;;;;AAIG;MAQU,WAAW,CAAA;8GAAX,WAAW,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAAX,WAAW,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,cAAA,EAAA,MAAA,EAAA,EAAA,WAAA,EAAA,CAAA,aAAA,EAAA,aAAA,EAKA,qBAAqB,CAAA,EAAA,mBAAA,EAAA,qBAAA,EAAA,eAAA,EAAA,iBAAA,EAAA,iBAAA,EAAA,mBAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAV/B,CAA6B,2BAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAA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AA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,YAJhB,YAAY,EAAE,YAAY,EAAE,aAAa,EAAE,aAAa,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAIzD,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAL7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,GAAG,UAAU,CAAC;AAClF,oBAAA,OAAO,EAAE,UAAU;AACnB,oBAAA,SAAS,EAAE,EAAE;AAChB,iBAAA,CAAA;;;AClBD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"ngx-tethys-skeleton.mjs","sources":["../../../src/skeleton/skeleton.component.ts","../../../src/skeleton/skeleton.config.ts","../../../src/skeleton/skeleton-rectangle.component.ts","../../../src/skeleton/skeleton-circle.component.ts","../../../src/skeleton/stylized/list.component.ts","../../../src/skeleton/stylized/paragraph.component.ts","../../../src/skeleton/stylized/bullet-list.component.ts","../../../src/skeleton/module.ts","../../../src/skeleton/ngx-tethys-skeleton.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, ViewEncapsulation, Input } from '@angular/core';\nimport { coerceBooleanProperty } from 'ngx-tethys/util';\n\n/**\n * 骨架屏组件\n * @name thy-skeleton\n * @order 10\n */\n@Component({\n selector: 'thy-skeleton',\n template: ` <ng-content></ng-content> `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n standalone: true\n})\nexport class ThySkeleton {\n /**\n * 是否开启动画\n * @default false\n */\n @Input({ transform: coerceBooleanProperty })\n thyAnimated: boolean;\n\n /**\n * 动画速度\n */\n @Input() thyAnimatedInterval: string | number;\n\n /**\n * 骨架主色调\n */\n @Input() thyPrimaryColor: string;\n\n /**\n * 骨架次色调\n */\n @Input() thySecondaryColor: string;\n}\n","import { InjectionToken } from '@angular/core';\nexport interface ThySkeletonConfigModel {\n thyAnimatedInterval?: string | number;\n thyPrimaryColor?: string;\n thySecondaryColor?: string;\n thyAnimated?: boolean;\n}\n\nexport const THY_SKELETON_CONFIG = new InjectionToken<ThySkeletonConfigModel>('THY_SKELETON_CONFIG', {\n providedIn: 'root',\n factory: () => {\n return {};\n }\n});\n","import { Component, ChangeDetectionStrategy, ViewEncapsulation, Input, OnInit, OnChanges, SimpleChanges, inject } from '@angular/core';\nimport { ThySkeleton } from './skeleton.component';\nimport { coerceBooleanProperty, helpers } from 'ngx-tethys/util';\nimport { InputCssPixel } from 'ngx-tethys/core';\nimport { THY_SKELETON_CONFIG, ThySkeletonConfigModel } from './skeleton.config';\nimport { isUndefinedOrNull } from 'ngx-tethys/util';\nimport { NgStyle } from '@angular/common';\n\ninterface Style {\n background?: string;\n animation?: string;\n}\n\n/**\n * 骨架屏矩形组件\n * @name thy-skeleton-rectangle\n * @order 20\n */\n@Component({\n selector: 'thy-skeleton-rectangle',\n host: {\n '[class.thy-skeleton]': 'true',\n '[class.thy-skeleton-rectangle]': 'true',\n '[style.background]': 'thyPrimaryColor',\n '[style.width]': 'thyRowWidth',\n '[style.height]': 'thyRowHeight',\n '[style.borderRadius]': 'thyBorderRadius'\n },\n template: ` <div class=\"thy-skeleton-after\" [ngStyle]=\"afterStyles\"></div> `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n standalone: true,\n imports: [NgStyle]\n})\nexport class ThySkeletonRectangle implements OnInit, OnChanges {\n private skeletonConfigModel = inject(THY_SKELETON_CONFIG, { optional: true })!;\n private _parent = inject(ThySkeleton, { optional: true })!;\n\n /**\n * 是否开启动画\n * @default false\n */\n @Input({ transform: coerceBooleanProperty })\n thyAnimated: boolean;\n\n /**\n * 动画速度\n * @default 1.5s\n */\n @Input() thyAnimatedInterval: number;\n\n /**\n * 骨架边框圆角\n * @default 4px\n */\n @Input()\n @InputCssPixel()\n thyBorderRadius: string | number;\n\n /**\n * 骨架宽度\n * @default 100%\n */\n @Input()\n @InputCssPixel()\n thyRowWidth: string | number;\n\n /**\n * 骨架高度\n * @default 20px\n */\n @Input()\n @InputCssPixel()\n thyRowHeight: string | number;\n\n /**\n * 骨架主色\n * @default #F7F7F7\n */\n @Input() thyPrimaryColor: string;\n\n /**\n * 骨架次色\n * @default #aaaaaa\n */\n @Input() thySecondaryColor: string;\n\n afterStyles: Style = {};\n\n ngOnInit() {\n const config = {\n ...this.skeletonConfigModel,\n ...(this._parent || {}),\n ...(!isUndefinedOrNull(this._parent?.thyAnimated) && { thyAnimated: this._parent.thyAnimated })\n };\n const { thyAnimatedInterval, thyPrimaryColor, thySecondaryColor, thyAnimated } = config;\n\n for (let key in { thyAnimatedInterval, thyPrimaryColor, thySecondaryColor, thyAnimated }) {\n this[key] = !isUndefinedOrNull(this[key]) ? this[key] : config[key];\n }\n this.crateAfterStyles();\n }\n\n crateAfterStyles() {\n this.afterStyles = {\n ...(this.thySecondaryColor && {\n background: `linear-gradient(90deg, ${helpers.hexToRgb(this.thySecondaryColor, 0)}, ${helpers.hexToRgb(\n this.thySecondaryColor,\n 0.15\n )}, ${helpers.hexToRgb(this.thySecondaryColor, 0)}`\n }),\n animation: ![false, 'false'].includes(this.thyAnimated)\n ? `thy-skeleton-animation ${this.thyAnimatedInterval}s infinite`\n : 'none'\n };\n }\n\n ngOnChanges(changes: SimpleChanges): void {\n const { thySecondaryColor, thyAnimated, thyAnimatedInterval } = changes;\n if (\n (thySecondaryColor && !thySecondaryColor?.firstChange) ||\n (thyAnimated && !thyAnimated?.firstChange) ||\n (thyAnimatedInterval && !thyAnimatedInterval?.firstChange)\n ) {\n this.crateAfterStyles();\n }\n }\n}\n","import { Component, ChangeDetectionStrategy, ViewEncapsulation, Input, OnInit, OnChanges, SimpleChanges, inject } from '@angular/core';\nimport { ThySkeleton } from './skeleton.component';\nimport { coerceBooleanProperty, helpers } from 'ngx-tethys/util';\nimport { InputCssPixel } from 'ngx-tethys/core';\nimport { THY_SKELETON_CONFIG, ThySkeletonConfigModel } from './skeleton.config';\nimport { isUndefinedOrNull } from 'ngx-tethys/util';\nimport { NgStyle } from '@angular/common';\n\ninterface Style {\n background?: string;\n animation?: string;\n}\n\n/**\n * 骨架屏圆形组件\n * @name thy-skeleton-circle\n * @order 30\n */\n@Component({\n selector: 'thy-skeleton-circle',\n host: {\n '[class.thy-skeleton]': 'true',\n '[class.thy-skeleton-circle]': 'true',\n '[style.background]': 'thyPrimaryColor',\n '[style.width]': 'thySize',\n '[style.height]': 'thySize'\n },\n template: ` <div class=\"thy-skeleton-after\" [ngStyle]=\"afterStyles\"></div> `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n standalone: true,\n imports: [NgStyle]\n})\nexport class ThySkeletonCircle implements OnInit, OnChanges {\n private skeletonConfigModel = inject(THY_SKELETON_CONFIG, { optional: true })!;\n private _parent = inject(ThySkeleton, { optional: true })!;\n\n /**\n * 动画速度\n * @default 1.5s\n */\n @Input() thyAnimatedInterval: string | number;\n\n /**\n * 骨架尺寸\n * @default 20px\n */\n @Input()\n @InputCssPixel()\n thySize: string | number = 20;\n\n /**\n * 骨架主色\n * @default #F7F7F7\n */\n @Input() thyPrimaryColor: string;\n\n /**\n * 骨架次色\n * @default #aaaaaa\n */\n @Input() thySecondaryColor: string;\n\n /**\n * 是否展示动画\n * @default true\n */\n @Input({ transform: coerceBooleanProperty })\n thyAnimated: boolean;\n\n public afterStyles: Style = {};\n\n ngOnInit() {\n const config = {\n ...this.skeletonConfigModel,\n ...(this._parent || {}),\n ...(!isUndefinedOrNull(this._parent?.thyAnimated) && { thyAnimated: this._parent.thyAnimated }) // do it because @InputBoolean() lead to cannot get thyAnimated from _parent inject\n };\n const { thyAnimatedInterval, thyPrimaryColor, thySecondaryColor, thyAnimated } = config;\n for (let key in { thyAnimatedInterval, thyPrimaryColor, thySecondaryColor, thyAnimated }) {\n this[key] = !isUndefinedOrNull(this[key]) ? this[key] : config[key];\n }\n this.crateAfterStyles();\n }\n\n crateAfterStyles() {\n this.afterStyles = {\n ...(this.thySecondaryColor && {\n background: `linear-gradient(90deg, ${helpers.hexToRgb(this.thySecondaryColor, 0)}, ${helpers.hexToRgb(\n this.thySecondaryColor,\n 0.15\n )}, ${helpers.hexToRgb(this.thySecondaryColor, 0)}`\n }),\n animation: ![false, 'false'].includes(this.thyAnimated)\n ? `thy-skeleton-animation ${this.thyAnimatedInterval}s infinite`\n : 'none'\n };\n }\n\n ngOnChanges(changes: SimpleChanges): void {\n const { thySecondaryColor, thyAnimated, thyAnimatedInterval } = changes;\n if (\n (thySecondaryColor && !thySecondaryColor?.firstChange) ||\n (thyAnimated && !thyAnimated?.firstChange) ||\n (thyAnimatedInterval && !thyAnimatedInterval?.firstChange)\n ) {\n this.crateAfterStyles();\n }\n }\n}\n","import { ChangeDetectionStrategy, Component, Input, ViewEncapsulation } from '@angular/core';\nimport { InputCssPixel } from 'ngx-tethys/core';\nimport { ThySkeletonRectangle } from '../skeleton-rectangle.component';\nimport { coerceBooleanProperty } from 'ngx-tethys/util';\n\n/**\n * 骨架屏列表组件\n * @name thy-skeleton-list\n * @order 40\n */\n@Component({\n selector: 'thy-skeleton-list',\n template: `\n @for (k of rowCount; track $index; let i = $index) {\n <thy-skeleton-rectangle\n class=\"vertical-gap\"\n [thyRowWidth]=\"thyRowWidth\"\n [thyRowHeight]=\"thyRowHeight\"\n [thyAnimated]=\"thyAnimated\"\n [thyPrimaryColor]=\"thyPrimaryColor\"\n [thySecondaryColor]=\"thySecondaryColor\"\n [thyBorderRadius]=\"thyBorderRadius\"\n [thyAnimatedInterval]=\"thyAnimatedInterval\"></thy-skeleton-rectangle>\n }\n `,\n host: {\n '[class.thy-skeleton-list]': 'true'\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n standalone: true,\n imports: [ThySkeletonRectangle]\n})\nexport class ThySkeletonList {\n /**\n * 骨架宽度\n */\n @Input()\n @InputCssPixel()\n thyRowWidth: string | number;\n\n /**\n * 骨架高度\n */\n @Input()\n @InputCssPixel()\n thyRowHeight: string | number;\n\n /**\n * 骨架边框圆角\n */\n @Input()\n @InputCssPixel()\n thyBorderRadius: string | number;\n\n /**\n * 是否开启动画\n * @default false\n */\n @Input({ transform: coerceBooleanProperty })\n thyAnimated: boolean;\n\n /**\n * 动画速度\n */\n @Input() thyAnimatedInterval: string;\n\n /**\n * 骨架主色\n */\n @Input() thyPrimaryColor: string;\n\n /**\n * 骨架次色\n */\n @Input() thySecondaryColor: string;\n\n rowCount: number[] = [];\n\n /**\n * 行数\n */\n @Input()\n set thyRowCount(value: number | string) {\n this.rowCount = Array.from({ length: +value });\n }\n get thyRowCount() {\n return this.rowCount.length;\n }\n}\n","import { ChangeDetectionStrategy, Component, Input, ViewEncapsulation } from '@angular/core';\nimport { InputCssPixel } from 'ngx-tethys/core';\nimport { ThySkeletonRectangle } from '../skeleton-rectangle.component';\nimport { coerceBooleanProperty } from 'ngx-tethys/util';\n\n/**\n * 骨架屏段落组件\n * @name thy-skeleton-paragraph\n * @order 60\n */\n@Component({\n selector: 'thy-skeleton-paragraph',\n template: `\n @for (k of rowCount; track $index; let i = $index) {\n <thy-skeleton-rectangle\n class=\"vertical-gap\"\n [thyRowWidth]=\"i === 0 ? thyFirstWidth : i === rowCount.length - 1 ? thyLastWidth : thyRowWidth\"\n [thyRowHeight]=\"thyRowHeight\"\n [thyAnimated]=\"thyAnimated\"\n [thyPrimaryColor]=\"thyPrimaryColor\"\n [thySecondaryColor]=\"thySecondaryColor\"\n [thyBorderRadius]=\"thyBorderRadius\"\n [thyAnimatedInterval]=\"thyAnimatedInterval\"></thy-skeleton-rectangle>\n }\n `,\n host: {\n '[class.thy-skeleton-paragraph]': 'true'\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n standalone: true,\n imports: [ThySkeletonRectangle]\n})\nexport class ThySkeletonParagraph {\n /**\n * 首行宽度\n */\n @Input()\n @InputCssPixel()\n thyFirstWidth: string | number;\n\n /**\n * 尾行宽度\n */\n @Input()\n @InputCssPixel()\n thyLastWidth: string | number;\n\n /**\n * 骨架宽度\n */\n @Input()\n @InputCssPixel()\n thyRowWidth: string | number;\n\n /**\n * 骨架高度\n */\n @Input()\n @InputCssPixel()\n thyRowHeight: string | number;\n\n /**\n * 骨架边框圆角\n */\n @Input()\n @InputCssPixel()\n thyBorderRadius: string | number;\n\n /**\n * 是否开启动画\n * @default false\n */\n @Input({ transform: coerceBooleanProperty })\n thyAnimated: boolean;\n\n /**\n * 动画速度\n */\n @Input() thyAnimatedInterval: string | number;\n\n /**\n * 骨架主色\n */\n @Input() thyPrimaryColor: string;\n\n /**\n * 骨架次色\n */\n @Input() thySecondaryColor: string;\n\n rowCount: number[] = [];\n\n /**\n * 行数\n */\n @Input()\n set thyRowCount(value: number | string) {\n this.rowCount = Array.from({ length: +value });\n }\n get thyRowCount() {\n return this.rowCount.length;\n }\n}\n","import { ChangeDetectionStrategy, Component, Input, ViewEncapsulation } from '@angular/core';\nimport { InputCssPixel } from 'ngx-tethys/core';\n\nimport { ThySkeletonCircle } from '../skeleton-circle.component';\nimport { ThySkeletonRectangle } from '../skeleton-rectangle.component';\nimport { coerceBooleanProperty } from 'ngx-tethys/util';\n\n/**\n * 骨架屏无序列表组件\n * @name thy-skeleton-bullet-list\n * @order 50\n */\n@Component({\n selector: 'thy-skeleton-bullet-list',\n template: `\n @for (item of rowCount; track $index; let i = $index) {\n <div class=\"d-flex vertical-gap\">\n <thy-skeleton-circle\n [thyAnimated]=\"thyAnimated\"\n [thyAnimatedInterval]=\"thyAnimatedInterval\"\n [thySize]=\"thySize\"\n [thyPrimaryColor]=\"thyPrimaryColor\"\n [thySecondaryColor]=\"thySecondaryColor\">\n </thy-skeleton-circle>\n <div class=\"horizontal-gap\"></div>\n <div style=\"flex: 1\">\n <thy-skeleton-rectangle\n [thyRowWidth]=\"thyRowWidth\"\n [thyRowHeight]=\"thyRowHeight\"\n [thyAnimated]=\"thyAnimated\"\n [thyPrimaryColor]=\"thyPrimaryColor\"\n [thySecondaryColor]=\"thySecondaryColor\"\n [thyBorderRadius]=\"thyBorderRadius\"\n [thyAnimatedInterval]=\"thyAnimatedInterval\"></thy-skeleton-rectangle>\n </div>\n </div>\n }\n `,\n host: {\n '[class.thy-skeleton-bullet-list]': 'true'\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n standalone: true,\n imports: [ThySkeletonCircle, ThySkeletonRectangle]\n})\nexport class ThySkeletonBulletList {\n /**\n * 骨架宽度\n * @default 100%\n */\n @Input()\n @InputCssPixel()\n thyRowWidth: string | number;\n\n /**\n * 骨架高度\n * @default 20px\n */\n @Input()\n @InputCssPixel()\n thyRowHeight: string | number;\n\n /**\n * 骨架边框圆角\n * @default 4px\n */\n @Input()\n @InputCssPixel()\n thyBorderRadius: string | number;\n\n /**\n * 是否开启动画\n * @default true\n */\n @Input({ transform: coerceBooleanProperty })\n thyAnimated: boolean;\n\n /**\n * 动画速度\n * @default 1.5s\n */\n @Input() thyAnimatedInterval: string | number;\n\n /**\n * 骨架主色\n * @default #f7f7f7\n */\n @Input() thyPrimaryColor: string;\n\n /**\n * 骨架次色\n * @default #aaaaaa\n */\n @Input() thySecondaryColor: string;\n\n /**\n * circle类型骨架尺寸\n */\n @Input()\n @InputCssPixel()\n thySize: string | number;\n\n rowCount: number[] = [];\n /**\n * 行数\n */\n @Input()\n set thyRowCount(value: number | string) {\n this.rowCount = Array.from({ length: +value });\n }\n get thyRowCount() {\n return this.rowCount.length;\n }\n\n constructor() {}\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { PortalModule } from '@angular/cdk/portal';\nimport { ThyGridModule } from 'ngx-tethys/grid';\nimport { ThyListModule } from 'ngx-tethys/list';\n\nimport { ThySkeleton } from './skeleton.component';\nimport { ThySkeletonRectangle } from './skeleton-rectangle.component';\nimport { ThySkeletonCircle } from './skeleton-circle.component';\nimport { ThySkeletonList } from './stylized/list.component';\nimport { ThySkeletonParagraph } from './stylized/paragraph.component';\nimport { ThySkeletonBulletList } from './stylized/bullet-list.component';\n\nconst components = [ThySkeleton, ThySkeletonRectangle, ThySkeletonCircle, ThySkeletonList, ThySkeletonParagraph, ThySkeletonBulletList];\n@NgModule({\n imports: [CommonModule, PortalModule, ThyGridModule, ThyListModule, ...components],\n exports: components,\n providers: []\n})\nexport class ThySkeletonModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;AAGA;;;;AAIG;MAQU,WAAW,CAAA;8GAAX,WAAW,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAAX,WAAW,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,cAAA,EAAA,MAAA,EAAA,EAAA,WAAA,EAAA,CAAA,aAAA,EAAA,aAAA,EAKA,qBAAqB,CAAA,EAAA,mBAAA,EAAA,qBAAA,EAAA,eAAA,EAAA,iBAAA,EAAA,iBAAA,EAAA,mBAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAV/B,CAA6B,2BAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;;2FAK9B,WAAW,EAAA,UAAA,EAAA,CAAA;kBAPvB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,cAAc;AACxB,oBAAA,QAAQ,EAAE,CAA6B,2BAAA,CAAA;oBACvC,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,aAAa,EAAE,iB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,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,eAAe,EAAE,oBAAoB,EAAE,qBAAqB,CAAA,EAAA,CAAA,CAAA,EAAA;AAMzH,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,YAJhB,YAAY,EAAE,YAAY,EAAE,aAAa,EAAE,aAAa,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAIzD,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAL7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,GAAG,UAAU,CAAC;AAClF,oBAAA,OAAO,EAAE,UAAU;AACnB,oBAAA,SAAS,EAAE,EAAE;AAChB,iBAAA,CAAA;;;AClBD;;AAEG;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken, ElementRef,
|
|
3
|
-
import { DOCUMENT,
|
|
2
|
+
import { InjectionToken, inject, ChangeDetectorRef, ElementRef, Renderer2, NgZone, Component, ViewChild, Injectable, Injector, ViewEncapsulation, HostBinding, Input, ContentChild, Directive, NgModule } from '@angular/core';
|
|
3
|
+
import { DOCUMENT, NgTemplateOutlet, CommonModule } from '@angular/common';
|
|
4
4
|
import { ThySharedModule } from 'ngx-tethys/shared';
|
|
5
5
|
import { ThyAbstractOverlayConfig, ThyAbstractOverlayContainer, ThyPortalOutlet, ThyAbstractOverlayRef, ThyAbstractInternalOverlayRef, ThyAbstractOverlayService } from 'ngx-tethys/core';
|
|
6
6
|
import { helpers, coerceArray, coerceBooleanProperty } from 'ngx-tethys/util';
|
|
@@ -8,7 +8,7 @@ import { Subject, of } from 'rxjs';
|
|
|
8
8
|
import { Directionality } from '@angular/cdk/bidi';
|
|
9
9
|
import { coerceElement } from '@angular/cdk/coercion';
|
|
10
10
|
import * as i1 from '@angular/cdk/overlay';
|
|
11
|
-
import { OverlayModule } from '@angular/cdk/overlay';
|
|
11
|
+
import { ViewportRuler, Overlay, OverlayModule } from '@angular/cdk/overlay';
|
|
12
12
|
import { PortalModule, ComponentPortal } from '@angular/cdk/portal';
|
|
13
13
|
import { filter, startWith, takeUntil } from 'rxjs/operators';
|
|
14
14
|
import { useHostRenderer } from '@tethys/cdk/dom';
|
|
@@ -113,14 +113,15 @@ class ThySlideContainer extends ThyAbstractOverlayContainer {
|
|
|
113
113
|
get drawerContainerElementClass() {
|
|
114
114
|
return `thy-slide-${this.config.mode}-drawer-container`;
|
|
115
115
|
}
|
|
116
|
-
constructor(
|
|
116
|
+
constructor() {
|
|
117
|
+
const changeDetectorRef = inject(ChangeDetectorRef);
|
|
117
118
|
super(slideAbstractOverlayOptions, changeDetectorRef);
|
|
118
|
-
this.elementRef =
|
|
119
|
-
this.document =
|
|
120
|
-
this.config =
|
|
121
|
-
this.renderer =
|
|
122
|
-
this.viewportRuler =
|
|
123
|
-
this.ngZone =
|
|
119
|
+
this.elementRef = inject(ElementRef);
|
|
120
|
+
this.document = inject(DOCUMENT);
|
|
121
|
+
this.config = inject(ThySlideConfig);
|
|
122
|
+
this.renderer = inject(Renderer2);
|
|
123
|
+
this.viewportRuler = inject(ViewportRuler);
|
|
124
|
+
this.ngZone = inject(NgZone);
|
|
124
125
|
this.animationState = 'void';
|
|
125
126
|
this.slideContainerStyles = {};
|
|
126
127
|
this.ngUnsubscribe$ = new Subject();
|
|
@@ -223,7 +224,7 @@ class ThySlideContainer extends ThyAbstractOverlayContainer {
|
|
|
223
224
|
this.ngUnsubscribe$.next();
|
|
224
225
|
this.ngUnsubscribe$.complete();
|
|
225
226
|
}
|
|
226
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThySlideContainer, deps: [
|
|
227
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThySlideContainer, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
227
228
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: ThySlideContainer, isStandalone: true, selector: "thy-slide-container", host: { attributes: { "tabindex": "-1" }, listeners: { "@slideContainer.start": "onAnimationStart($event)", "@slideContainer.done": "onAnimationDone($event)" }, properties: { "class.thy-slide-push": "isPush", "class.thy-slide-side": "isSide", "class.thy-slide-over": "!isPush && !isSide", "attr.role": "'slide'", "@slideContainer": "animationState", "style.width.px": "slideContainerStyles.width", "style.height.px": "slideContainerStyles.height", "style.max-height.px": "slideContainerStyles.height" }, classAttribute: "thy-slide-container" }, viewQueries: [{ propertyName: "portalOutlet", first: true, predicate: ThyPortalOutlet, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: ` <ng-template thyPortalOutlet></ng-template> `, isInline: true, dependencies: [{ kind: "ngmodule", type: PortalModule }, { kind: "directive", type: ThyPortalOutlet, selector: "[thyPortalOutlet]", inputs: ["thyPortalOutlet"], exportAs: ["thyPortalOutlet"] }], animations: [thySlideAnimations.slideContainer] }); }
|
|
228
229
|
}
|
|
229
230
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThySlideContainer, decorators: [{
|
|
@@ -249,10 +250,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
|
249
250
|
standalone: true,
|
|
250
251
|
imports: [PortalModule, ThyPortalOutlet]
|
|
251
252
|
}]
|
|
252
|
-
}], ctorParameters: () => [
|
|
253
|
-
type: Inject,
|
|
254
|
-
args: [DOCUMENT]
|
|
255
|
-
}] }, { type: ThySlideConfig }, { type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type: i1.ViewportRuler }, { type: i0.NgZone }], propDecorators: { portalOutlet: [{
|
|
253
|
+
}], ctorParameters: () => [], propDecorators: { portalOutlet: [{
|
|
256
254
|
type: ViewChild,
|
|
257
255
|
args: [ThyPortalOutlet, { static: true }]
|
|
258
256
|
}] } });
|
|
@@ -341,8 +339,11 @@ class ThySlideService extends ThyAbstractOverlayService {
|
|
|
341
339
|
}
|
|
342
340
|
return openedOverlay;
|
|
343
341
|
}
|
|
344
|
-
constructor(
|
|
342
|
+
constructor() {
|
|
343
|
+
const defaultConfig = inject(THY_SLIDE_DEFAULT_CONFIG, { optional: true });
|
|
345
344
|
const slideDefaultConfig = Object.assign({}, slideDefaultConfigValue, defaultConfig);
|
|
345
|
+
const overlay = inject(Overlay);
|
|
346
|
+
const injector = inject(Injector);
|
|
346
347
|
super(slideAbstractOverlayOptions, overlay, injector, slideDefaultConfig);
|
|
347
348
|
}
|
|
348
349
|
/**
|
|
@@ -362,17 +363,12 @@ class ThySlideService extends ThyAbstractOverlayService {
|
|
|
362
363
|
ngOnDestroy() {
|
|
363
364
|
this.dispose();
|
|
364
365
|
}
|
|
365
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThySlideService, deps: [
|
|
366
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThySlideService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
366
367
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThySlideService }); }
|
|
367
368
|
}
|
|
368
369
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThySlideService, decorators: [{
|
|
369
370
|
type: Injectable
|
|
370
|
-
}], ctorParameters: () => [
|
|
371
|
-
type: Optional
|
|
372
|
-
}, {
|
|
373
|
-
type: Inject,
|
|
374
|
-
args: [THY_SLIDE_DEFAULT_CONFIG]
|
|
375
|
-
}] }] });
|
|
371
|
+
}], ctorParameters: () => [] });
|
|
376
372
|
|
|
377
373
|
/**
|
|
378
374
|
* @name thy-slide-layout
|
|
@@ -405,6 +401,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
|
405
401
|
* @order 40
|
|
406
402
|
*/
|
|
407
403
|
class ThySlideHeader {
|
|
404
|
+
constructor() {
|
|
405
|
+
this.thySlideService = inject(ThySlideService);
|
|
406
|
+
this.isIconFont = false;
|
|
407
|
+
this._iconName = '';
|
|
408
|
+
this.slideLayoutHeader = true;
|
|
409
|
+
}
|
|
408
410
|
/**
|
|
409
411
|
* 标题的图标
|
|
410
412
|
*/
|
|
@@ -420,24 +422,18 @@ class ThySlideHeader {
|
|
|
420
422
|
get thyIcon() {
|
|
421
423
|
return this._iconName;
|
|
422
424
|
}
|
|
423
|
-
constructor(thySlideService) {
|
|
424
|
-
this.thySlideService = thySlideService;
|
|
425
|
-
this.isIconFont = false;
|
|
426
|
-
this._iconName = '';
|
|
427
|
-
this.slideLayoutHeader = true;
|
|
428
|
-
}
|
|
429
425
|
ngOnInit() { }
|
|
430
426
|
closeModal(event) {
|
|
431
427
|
event.stopPropagation();
|
|
432
428
|
this.thySlideService.close();
|
|
433
429
|
}
|
|
434
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThySlideHeader, deps: [
|
|
435
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
430
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThySlideHeader, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
431
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: ThySlideHeader, isStandalone: true, selector: "thy-slide-header", inputs: { thyTitle: "thyTitle", thyIcon: "thyIcon" }, host: { properties: { "class.thy-slide-header": "this.slideLayoutHeader" } }, queries: [{ propertyName: "headerTemplate", first: true, predicate: ["thyHeader"], descendants: true }, { propertyName: "headerOperateTemplate", first: true, predicate: ["thyHeaderOperate"], descendants: true }], ngImport: i0, template: "@if (headerTemplate) {\n <ng-template [ngTemplateOutlet]=\"headerTemplate\"></ng-template>\n} @else {\n <h3 class=\"thy-slide-header-title\">\n @if (!isIconFont && thyIcon) {\n <thy-icon [thyIconName]=\"thyIcon\"></thy-icon>\n } @else {\n @if (thyIcon) {\n <i class=\"wft {{ thyIcon }}\"></i>\n }\n }\n {{ thyTitle }}\n </h3>\n <div class=\"thy-slide-header-main\">\n <ng-container>\n @if (headerOperateTemplate) {\n <ng-template [ngTemplateOutlet]=\"headerOperateTemplate\"> </ng-template>\n }\n </ng-container>\n </div>\n <a href=\"javascript:;\" class=\"mr-n2\" thyAction thyActionIcon=\"close\" (click)=\"closeModal($event)\"></a>\n}\n", dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ThyIcon, selector: "thy-icon, [thy-icon]", inputs: ["thyIconType", "thyTwotoneColor", "thyIconName", "thyIconRotate", "thyIconSet", "thyIconLegging", "thyIconLinearGradient"] }, { kind: "component", type: ThyAction, selector: "thy-action, [thyAction]", inputs: ["thyType", "thyIcon", "thyActionIcon", "thyActive", "thyActionActive", "thyTheme", "thyHoverIcon", "thyDisabled"] }] }); }
|
|
436
432
|
}
|
|
437
433
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThySlideHeader, decorators: [{
|
|
438
434
|
type: Component,
|
|
439
|
-
args: [{ selector: 'thy-slide-header', standalone: true, imports: [
|
|
440
|
-
}],
|
|
435
|
+
args: [{ selector: 'thy-slide-header', standalone: true, imports: [NgTemplateOutlet, ThyIcon, ThyAction], template: "@if (headerTemplate) {\n <ng-template [ngTemplateOutlet]=\"headerTemplate\"></ng-template>\n} @else {\n <h3 class=\"thy-slide-header-title\">\n @if (!isIconFont && thyIcon) {\n <thy-icon [thyIconName]=\"thyIcon\"></thy-icon>\n } @else {\n @if (thyIcon) {\n <i class=\"wft {{ thyIcon }}\"></i>\n }\n }\n {{ thyTitle }}\n </h3>\n <div class=\"thy-slide-header-main\">\n <ng-container>\n @if (headerOperateTemplate) {\n <ng-template [ngTemplateOutlet]=\"headerOperateTemplate\"> </ng-template>\n }\n </ng-container>\n </div>\n <a href=\"javascript:;\" class=\"mr-n2\" thyAction thyActionIcon=\"close\" (click)=\"closeModal($event)\"></a>\n}\n" }]
|
|
436
|
+
}], propDecorators: { slideLayoutHeader: [{
|
|
441
437
|
type: HostBinding,
|
|
442
438
|
args: ['class.thy-slide-header']
|
|
443
439
|
}], thyTitle: [{
|
|
@@ -542,10 +538,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
|
542
538
|
* @order 60
|
|
543
539
|
*/
|
|
544
540
|
class ThyDrawerContainerDirective {
|
|
545
|
-
constructor(
|
|
546
|
-
this.elementRef =
|
|
541
|
+
constructor() {
|
|
542
|
+
this.elementRef = inject(ElementRef);
|
|
547
543
|
}
|
|
548
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyDrawerContainerDirective, deps: [
|
|
544
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyDrawerContainerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
549
545
|
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: ThyDrawerContainerDirective, isStandalone: true, selector: "[thyDrawerContainer]", ngImport: i0 }); }
|
|
550
546
|
}
|
|
551
547
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThyDrawerContainerDirective, decorators: [{
|
|
@@ -554,7 +550,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
|
554
550
|
selector: '[thyDrawerContainer]',
|
|
555
551
|
standalone: true
|
|
556
552
|
}]
|
|
557
|
-
}]
|
|
553
|
+
}] });
|
|
558
554
|
|
|
559
555
|
class ThySlideModule {
|
|
560
556
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ThySlideModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|