ngx-tethys 19.1.13 → 20.0.0-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/action/index.d.ts +107 -3
- package/affix/index.d.ts +65 -2
- package/alert/index.d.ts +74 -3
- package/anchor/index.d.ts +118 -3
- package/arrow-switcher/index.d.ts +79 -2
- package/autocomplete/index.d.ts +280 -7
- package/avatar/index.d.ts +195 -5
- package/back-top/index.d.ts +68 -2
- package/badge/index.d.ts +87 -2
- package/breadcrumb/index.d.ts +71 -3
- package/button/index.d.ts +156 -4
- package/calendar/index.d.ts +161 -4
- package/card/index.d.ts +100 -4
- package/carousel/index.d.ts +210 -4
- package/cascader/index.d.ts +471 -5
- package/checkbox/index.d.ts +27 -2
- package/collapse/index.d.ts +108 -3
- package/color-picker/index.d.ts +494 -13
- package/comment/index.d.ts +53 -4
- package/copy/index.d.ts +59 -2
- package/core/index.d.ts +680 -15
- package/date-picker/index.d.ts +1148 -36
- package/date-range/index.d.ts +158 -4
- package/dialog/index.d.ts +393 -11
- package/divider/index.d.ts +60 -2
- package/dot/index.d.ts +56 -2
- package/drag-drop/index.d.ts +281 -9
- package/dropdown/index.d.ts +282 -6
- package/empty/index.d.ts +116 -3
- package/fesm2022/ngx-tethys-action.mjs +26 -26
- package/fesm2022/ngx-tethys-action.mjs.map +1 -1
- package/fesm2022/ngx-tethys-affix.mjs +14 -14
- package/fesm2022/ngx-tethys-affix.mjs.map +1 -1
- package/fesm2022/ngx-tethys-alert.mjs +19 -19
- package/fesm2022/ngx-tethys-alert.mjs.map +1 -1
- package/fesm2022/ngx-tethys-anchor.mjs +25 -25
- package/fesm2022/ngx-tethys-anchor.mjs.map +1 -1
- package/fesm2022/ngx-tethys-arrow-switcher.mjs +20 -20
- package/fesm2022/ngx-tethys-arrow-switcher.mjs.map +1 -1
- package/fesm2022/ngx-tethys-autocomplete.mjs +41 -36
- package/fesm2022/ngx-tethys-autocomplete.mjs.map +1 -1
- package/fesm2022/ngx-tethys-avatar.mjs +45 -45
- package/fesm2022/ngx-tethys-avatar.mjs.map +1 -1
- package/fesm2022/ngx-tethys-back-top.mjs +15 -15
- package/fesm2022/ngx-tethys-back-top.mjs.map +1 -1
- package/fesm2022/ngx-tethys-badge.mjs +27 -27
- package/fesm2022/ngx-tethys-badge.mjs.map +1 -1
- package/fesm2022/ngx-tethys-breadcrumb.mjs +20 -20
- package/fesm2022/ngx-tethys-breadcrumb.mjs.map +1 -1
- package/fesm2022/ngx-tethys-button.mjs +57 -51
- package/fesm2022/ngx-tethys-button.mjs.map +1 -1
- package/fesm2022/ngx-tethys-calendar.mjs +29 -29
- package/fesm2022/ngx-tethys-calendar.mjs.map +1 -1
- package/fesm2022/ngx-tethys-card.mjs +28 -28
- package/fesm2022/ngx-tethys-card.mjs.map +1 -1
- package/fesm2022/ngx-tethys-carousel.mjs +29 -29
- package/fesm2022/ngx-tethys-carousel.mjs.map +1 -1
- package/fesm2022/ngx-tethys-cascader.mjs +93 -87
- package/fesm2022/ngx-tethys-cascader.mjs.map +1 -1
- package/fesm2022/ngx-tethys-checkbox.mjs +9 -9
- package/fesm2022/ngx-tethys-checkbox.mjs.map +1 -1
- package/fesm2022/ngx-tethys-collapse.mjs +24 -24
- package/fesm2022/ngx-tethys-collapse.mjs.map +1 -1
- package/fesm2022/ngx-tethys-color-picker.mjs +75 -73
- package/fesm2022/ngx-tethys-color-picker.mjs.map +1 -1
- package/fesm2022/ngx-tethys-comment.mjs +17 -17
- package/fesm2022/ngx-tethys-comment.mjs.map +1 -1
- package/fesm2022/ngx-tethys-copy.mjs +15 -15
- package/fesm2022/ngx-tethys-copy.mjs.map +1 -1
- package/fesm2022/ngx-tethys-core.mjs +38 -38
- package/fesm2022/ngx-tethys-core.mjs.map +1 -1
- package/fesm2022/ngx-tethys-date-picker.mjs +323 -305
- package/fesm2022/ngx-tethys-date-picker.mjs.map +1 -1
- package/fesm2022/ngx-tethys-date-range.mjs +23 -23
- package/fesm2022/ngx-tethys-date-range.mjs.map +1 -1
- package/fesm2022/ngx-tethys-dialog.mjs +56 -54
- package/fesm2022/ngx-tethys-dialog.mjs.map +1 -1
- package/fesm2022/ngx-tethys-divider.mjs +16 -16
- package/fesm2022/ngx-tethys-divider.mjs.map +1 -1
- package/fesm2022/ngx-tethys-dot.mjs +20 -20
- package/fesm2022/ngx-tethys-dot.mjs.map +1 -1
- package/fesm2022/ngx-tethys-drag-drop.mjs +20 -21
- package/fesm2022/ngx-tethys-drag-drop.mjs.map +1 -1
- package/fesm2022/ngx-tethys-dropdown.mjs +85 -83
- package/fesm2022/ngx-tethys-dropdown.mjs.map +1 -1
- package/fesm2022/ngx-tethys-empty.mjs +28 -28
- package/fesm2022/ngx-tethys-empty.mjs.map +1 -1
- package/fesm2022/ngx-tethys-flexible-text.mjs +13 -13
- package/fesm2022/ngx-tethys-flexible-text.mjs.map +1 -1
- package/fesm2022/ngx-tethys-form.mjs +99 -95
- package/fesm2022/ngx-tethys-form.mjs.map +1 -1
- package/fesm2022/ngx-tethys-fullscreen.mjs +22 -21
- package/fesm2022/ngx-tethys-fullscreen.mjs.map +1 -1
- package/fesm2022/ngx-tethys-grid.mjs +60 -60
- package/fesm2022/ngx-tethys-grid.mjs.map +1 -1
- package/fesm2022/ngx-tethys-guider.mjs +20 -20
- package/fesm2022/ngx-tethys-guider.mjs.map +1 -1
- package/fesm2022/ngx-tethys-i18n.mjs +4 -4
- package/fesm2022/ngx-tethys-i18n.mjs.map +1 -1
- package/fesm2022/ngx-tethys-icon.mjs +20 -20
- package/fesm2022/ngx-tethys-icon.mjs.map +1 -1
- package/fesm2022/ngx-tethys-image.mjs +26 -26
- package/fesm2022/ngx-tethys-image.mjs.map +1 -1
- package/fesm2022/ngx-tethys-input-number.mjs +28 -24
- package/fesm2022/ngx-tethys-input-number.mjs.map +1 -1
- package/fesm2022/ngx-tethys-input.mjs +72 -71
- package/fesm2022/ngx-tethys-input.mjs.map +1 -1
- package/fesm2022/ngx-tethys-layout.mjs +128 -118
- package/fesm2022/ngx-tethys-layout.mjs.map +1 -1
- package/fesm2022/ngx-tethys-list.mjs +37 -37
- package/fesm2022/ngx-tethys-list.mjs.map +1 -1
- package/fesm2022/ngx-tethys-loading.mjs +11 -11
- package/fesm2022/ngx-tethys-loading.mjs.map +1 -1
- package/fesm2022/ngx-tethys-mention.mjs +18 -18
- package/fesm2022/ngx-tethys-mention.mjs.map +1 -1
- package/fesm2022/ngx-tethys-menu.mjs +57 -57
- package/fesm2022/ngx-tethys-menu.mjs.map +1 -1
- package/fesm2022/ngx-tethys-message.mjs +43 -40
- package/fesm2022/ngx-tethys-message.mjs.map +1 -1
- package/fesm2022/ngx-tethys-nav.mjs +58 -58
- package/fesm2022/ngx-tethys-nav.mjs.map +1 -1
- package/fesm2022/ngx-tethys-notify.mjs +35 -32
- package/fesm2022/ngx-tethys-notify.mjs.map +1 -1
- package/fesm2022/ngx-tethys-pagination.mjs +38 -38
- package/fesm2022/ngx-tethys-pagination.mjs.map +1 -1
- package/fesm2022/ngx-tethys-popover.mjs +46 -38
- package/fesm2022/ngx-tethys-popover.mjs.map +1 -1
- package/fesm2022/ngx-tethys-progress.mjs +64 -57
- package/fesm2022/ngx-tethys-progress.mjs.map +1 -1
- package/fesm2022/ngx-tethys-property-operation.mjs +11 -11
- package/fesm2022/ngx-tethys-property-operation.mjs.map +1 -1
- package/fesm2022/ngx-tethys-property.mjs +29 -29
- package/fesm2022/ngx-tethys-property.mjs.map +1 -1
- package/fesm2022/ngx-tethys-radio.mjs +23 -23
- package/fesm2022/ngx-tethys-radio.mjs.map +1 -1
- package/fesm2022/ngx-tethys-rate.mjs +28 -28
- package/fesm2022/ngx-tethys-rate.mjs.map +1 -1
- package/fesm2022/ngx-tethys-resizable.mjs +38 -38
- package/fesm2022/ngx-tethys-resizable.mjs.map +1 -1
- package/fesm2022/ngx-tethys-result.mjs +16 -16
- package/fesm2022/ngx-tethys-result.mjs.map +1 -1
- package/fesm2022/ngx-tethys-segment.mjs +23 -23
- package/fesm2022/ngx-tethys-segment.mjs.map +1 -1
- package/fesm2022/ngx-tethys-select.mjs +76 -64
- package/fesm2022/ngx-tethys-select.mjs.map +1 -1
- package/fesm2022/ngx-tethys-shared.mjs +163 -155
- package/fesm2022/ngx-tethys-shared.mjs.map +1 -1
- package/fesm2022/ngx-tethys-skeleton.mjs +84 -84
- package/fesm2022/ngx-tethys-skeleton.mjs.map +1 -1
- package/fesm2022/ngx-tethys-slide.mjs +50 -46
- package/fesm2022/ngx-tethys-slide.mjs.map +1 -1
- package/fesm2022/ngx-tethys-slider.mjs +21 -21
- 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 +29 -29
- package/fesm2022/ngx-tethys-statistic.mjs.map +1 -1
- package/fesm2022/ngx-tethys-stepper.mjs +37 -37
- package/fesm2022/ngx-tethys-stepper.mjs.map +1 -1
- package/fesm2022/ngx-tethys-strength.mjs +22 -22
- package/fesm2022/ngx-tethys-strength.mjs.map +1 -1
- package/fesm2022/ngx-tethys-switch.mjs +19 -19
- package/fesm2022/ngx-tethys-switch.mjs.map +1 -1
- package/fesm2022/ngx-tethys-table.mjs +22 -22
- package/fesm2022/ngx-tethys-table.mjs.map +1 -1
- package/fesm2022/ngx-tethys-tabs.mjs +31 -31
- package/fesm2022/ngx-tethys-tabs.mjs.map +1 -1
- package/fesm2022/ngx-tethys-tag.mjs +18 -18
- package/fesm2022/ngx-tethys-tag.mjs.map +1 -1
- package/fesm2022/ngx-tethys-testing.mjs.map +1 -1
- package/fesm2022/ngx-tethys-time-picker.mjs +75 -74
- package/fesm2022/ngx-tethys-time-picker.mjs.map +1 -1
- package/fesm2022/ngx-tethys-timeline.mjs +28 -28
- package/fesm2022/ngx-tethys-timeline.mjs.map +1 -1
- package/fesm2022/ngx-tethys-tooltip.mjs +28 -28
- package/fesm2022/ngx-tethys-tooltip.mjs.map +1 -1
- package/fesm2022/ngx-tethys-transfer.mjs +36 -36
- package/fesm2022/ngx-tethys-transfer.mjs.map +1 -1
- package/fesm2022/ngx-tethys-tree-select.mjs +58 -58
- package/fesm2022/ngx-tethys-tree-select.mjs.map +1 -1
- package/fesm2022/ngx-tethys-tree.mjs +77 -72
- package/fesm2022/ngx-tethys-tree.mjs.map +1 -1
- package/fesm2022/ngx-tethys-typography.mjs +19 -19
- package/fesm2022/ngx-tethys-typography.mjs.map +1 -1
- package/fesm2022/ngx-tethys-upload.mjs +68 -68
- package/fesm2022/ngx-tethys-upload.mjs.map +1 -1
- package/fesm2022/ngx-tethys-util.mjs.map +1 -1
- package/fesm2022/ngx-tethys-vote.mjs +25 -25
- 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/index.d.ts +64 -2
- package/form/index.d.ts +405 -11
- package/fullscreen/index.d.ts +117 -6
- package/grid/index.d.ts +262 -7
- package/guider/index.d.ts +304 -8
- package/i18n/index.d.ts +1053 -6
- package/icon/index.d.ts +145 -4
- package/image/index.d.ts +263 -8
- package/index.d.ts +5 -5
- package/input/index.d.ts +281 -6
- package/input-number/index.d.ts +133 -2
- package/layout/index.d.ts +362 -10
- package/list/index.d.ts +182 -6
- package/loading/index.d.ts +34 -2
- package/mention/index.d.ts +147 -4
- package/menu/index.d.ts +191 -8
- package/message/index.d.ts +203 -8
- package/nav/index.d.ts +269 -6
- package/notify/index.d.ts +158 -7
- package/package.json +13 -13
- package/pagination/index.d.ts +248 -5
- package/popover/index.d.ts +339 -9
- package/progress/index.d.ts +154 -5
- package/property/index.d.ts +118 -3
- package/property-operation/index.d.ts +114 -3
- package/radio/index.d.ts +102 -4
- package/rate/index.d.ts +99 -3
- package/resizable/index.d.ts +197 -7
- package/result/index.d.ts +63 -2
- package/schematics/ng-update/migration-collection.json +4 -4
- package/schematics/ng-update/{update-19 → update-20}/index.js +1 -1
- package/schematics/ng-update/{update-19 → update-20}/index.spec.js +5 -5
- package/schematics/version.d.ts +1 -1
- package/schematics/version.js +1 -1
- package/segment/index.d.ts +119 -4
- package/select/index.d.ts +332 -4
- package/shared/index.d.ts +516 -16
- package/skeleton/index.d.ts +301 -8
- package/slide/index.d.ts +270 -12
- package/slider/index.d.ts +117 -2
- package/space/index.d.ts +48 -2
- package/statistic/index.d.ts +124 -2
- package/stepper/index.d.ts +112 -5
- package/strength/index.d.ts +77 -2
- package/switch/index.d.ts +69 -2
- package/table/index.d.ts +670 -9
- package/tabs/index.d.ts +114 -4
- package/tag/index.d.ts +71 -3
- package/testing/index.d.ts +178 -7
- package/time-picker/index.d.ts +468 -7
- package/timeline/index.d.ts +109 -5
- package/tooltip/index.d.ts +198 -8
- package/transfer/index.d.ts +212 -4
- package/tree/index.d.ts +469 -5
- package/tree-select/index.d.ts +231 -3
- package/types/index.d.ts +22 -3
- package/typography/index.d.ts +69 -4
- package/upload/index.d.ts +253 -6
- package/util/index.d.ts +595 -14
- package/vote/index.d.ts +66 -2
- package/watermark/index.d.ts +75 -2
- package/action/action.component.d.ts +0 -76
- package/action/action.module.d.ts +0 -10
- package/action/actions.component.d.ts +0 -21
- package/affix/affix.component.d.ts +0 -54
- package/affix/affix.module.d.ts +0 -9
- package/affix/respond-events.d.ts +0 -9
- package/alert/alert.component.d.ts +0 -51
- package/alert/alert.directive.d.ts +0 -12
- package/alert/alert.module.d.ts +0 -10
- package/anchor/anchor-link.component.d.ts +0 -34
- package/anchor/anchor.component.d.ts +0 -68
- package/anchor/anchor.module.d.ts +0 -11
- package/anchor/anchor.token.d.ts +0 -9
- package/arrow-switcher/arrow-switcher.component.d.ts +0 -64
- package/arrow-switcher/module.d.ts +0 -12
- package/autocomplete/autocomplete.component.d.ts +0 -79
- package/autocomplete/autocomplete.trigger.directive.d.ts +0 -77
- package/autocomplete/module.d.ts +0 -18
- package/autocomplete/overlay/autocomplete-animations.d.ts +0 -8
- package/autocomplete/overlay/autocomplete-container.component.d.ts +0 -33
- package/autocomplete/overlay/autocomplete-ref.d.ts +0 -14
- package/autocomplete/overlay/autocomplete.config.d.ts +0 -36
- package/autocomplete/overlay/autocomplete.options.d.ts +0 -2
- package/autocomplete/overlay/autocomplete.service.d.ts +0 -32
- package/avatar/avatar-list/avatar-list.component.d.ts +0 -41
- package/avatar/avatar.component.d.ts +0 -95
- package/avatar/avatar.module.d.ts +0 -11
- package/avatar/avatar.pipe.d.ts +0 -30
- package/avatar/avatar.service.d.ts +0 -21
- package/back-top/back-top.component.d.ts +0 -57
- package/back-top/back-top.module.d.ts +0 -9
- package/badge/badge.component.d.ts +0 -75
- package/badge/badge.module.d.ts +0 -9
- package/breadcrumb/breadcrumb-item.component.d.ts +0 -15
- package/breadcrumb/breadcrumb.component.d.ts +0 -44
- package/breadcrumb/module.d.ts +0 -12
- package/button/button-group.component.d.ts +0 -32
- package/button/button-icon.component.d.ts +0 -51
- package/button/button.component.d.ts +0 -61
- package/button/button.module.d.ts +0 -11
- package/calendar/calendar-cells.d.ts +0 -17
- package/calendar/calendar-header.component.d.ts +0 -51
- package/calendar/calendar.component.d.ts +0 -78
- package/calendar/module.d.ts +0 -18
- package/card/card.component.d.ts +0 -28
- package/card/card.module.d.ts +0 -10
- package/card/content.component.d.ts +0 -21
- package/card/header.component.d.ts +0 -42
- package/carousel/carousel-item.directive.d.ts +0 -14
- package/carousel/carousel.component.d.ts +0 -112
- package/carousel/carousel.service.d.ts +0 -19
- package/carousel/carousel.token.d.ts +0 -7
- package/carousel/engine/carousel-base.d.ts +0 -27
- package/carousel/engine/carousel-fade.d.ts +0 -15
- package/carousel/engine/carousel-noop.d.ts +0 -14
- package/carousel/engine/carousel-slide.d.ts +0 -16
- package/carousel/engine/index.d.ts +0 -4
- package/carousel/module.d.ts +0 -11
- package/carousel/typings.d.ts +0 -20
- package/cascader/cascader-li.component.d.ts +0 -24
- package/cascader/cascader-search-option.component.d.ts +0 -21
- package/cascader/cascader.component.d.ts +0 -284
- package/cascader/cascader.pipe.d.ts +0 -11
- package/cascader/cascader.service.d.ts +0 -97
- package/cascader/module.d.ts +0 -19
- package/cascader/types.d.ts +0 -23
- package/checkbox/checkbox.component.d.ts +0 -16
- package/checkbox/module.d.ts +0 -9
- package/collapse/collapse-item.component.d.ts +0 -52
- package/collapse/collapse.component.d.ts +0 -29
- package/collapse/collapse.token.d.ts +0 -15
- package/collapse/module.d.ts +0 -13
- package/color-picker/color-picker-custom-panel.component.d.ts +0 -17
- package/color-picker/color-picker-panel.component.d.ts +0 -28
- package/color-picker/color-picker.component.d.ts +0 -100
- package/color-picker/constant.d.ts +0 -1
- package/color-picker/coordinates.directive.d.ts +0 -28
- package/color-picker/helpers/color.class.d.ts +0 -32
- package/color-picker/helpers/colors-table.class.d.ts +0 -154
- package/color-picker/helpers/rgba.class.d.ts +0 -20
- package/color-picker/module.d.ts +0 -22
- package/color-picker/parts/alpha/alpha.component.d.ts +0 -28
- package/color-picker/parts/hue/hue.component.d.ts +0 -26
- package/color-picker/parts/indicator/indicator.component.d.ts +0 -13
- package/color-picker/parts/inputs/inputs.component.d.ts +0 -18
- package/color-picker/parts/saturation/saturation.component.d.ts +0 -28
- package/comment/comment-actions.directive.d.ts +0 -8
- package/comment/comment-content.directive.d.ts +0 -8
- package/comment/comment.component.d.ts +0 -24
- package/comment/comment.module.d.ts +0 -13
- package/copy/copy.directive.d.ts +0 -47
- package/copy/module.d.ts +0 -9
- package/core/animation/animation-consts.d.ts +0 -22
- package/core/animation/collapse.d.ts +0 -2
- package/core/animation/fade.d.ts +0 -2
- package/core/animation/index.d.ts +0 -1
- package/core/animation/public-api.d.ts +0 -5
- package/core/animation/thumb.d.ts +0 -6
- package/core/animation/zoom.d.ts +0 -4
- package/core/behaviors/constructor.d.ts +0 -5
- package/core/behaviors/control-value-accessor.d.ts +0 -7
- package/core/behaviors/decorators.d.ts +0 -9
- package/core/behaviors/disabled.d.ts +0 -7
- package/core/behaviors/focus-control.d.ts +0 -14
- package/core/behaviors/index.d.ts +0 -10
- package/core/behaviors/initialized.d.ts +0 -6
- package/core/behaviors/loading-done.d.ts +0 -5
- package/core/behaviors/mixin.d.ts +0 -5
- package/core/behaviors/tabindex.d.ts +0 -11
- package/core/behaviors/unsubscribe.d.ts +0 -11
- package/core/click-positioner.d.ts +0 -15
- package/core/color/color.d.ts +0 -9
- package/core/color/index.d.ts +0 -1
- package/core/debounce-time.d.ts +0 -8
- package/core/event-dispatchers/index.d.ts +0 -1
- package/core/overlay/abstract-overlay-container.d.ts +0 -43
- package/core/overlay/abstract-overlay-ref.d.ts +0 -101
- package/core/overlay/abstract-overlay.config.d.ts +0 -131
- package/core/overlay/abstract-overlay.service.d.ts +0 -56
- package/core/overlay/index.d.ts +0 -9
- package/core/overlay/interface.d.ts +0 -5
- package/core/overlay/overlay-position-map.d.ts +0 -5
- package/core/overlay/overlay.directive.d.ts +0 -51
- package/core/overlay/portal-directives.d.ts +0 -14
- package/core/overlay/utils.d.ts +0 -14
- package/core/request-animation.d.ts +0 -2
- package/core/scroll-to.service.d.ts +0 -4
- package/core/scroll.d.ts +0 -22
- package/core/spacing/index.d.ts +0 -1
- package/core/spacing/spacing.d.ts +0 -2
- package/core/store/action-state.d.ts +0 -5
- package/core/store/action.d.ts +0 -4
- package/core/store/actions-stream.d.ts +0 -14
- package/core/store/index.d.ts +0 -3
- package/core/store/store.d.ts +0 -43
- package/core/store/types.d.ts +0 -12
- package/core/store/utils.d.ts +0 -2
- package/core/theme/enum.d.ts +0 -5
- package/core/theme/index.d.ts +0 -3
- package/core/theme/store.d.ts +0 -12
- package/core/theme/theme.d.ts +0 -2
- package/core/translate.d.ts +0 -8
- package/core/update-host-class.service.d.ts +0 -15
- package/date-picker/abstract-picker.component.d.ts +0 -174
- package/date-picker/abstract-picker.directive.d.ts +0 -57
- package/date-picker/base-picker.component.d.ts +0 -49
- package/date-picker/date-helper.service.d.ts +0 -20
- package/date-picker/date-picker.component.d.ts +0 -15
- package/date-picker/date-picker.config.d.ts +0 -27
- package/date-picker/date-picker.directive.d.ts +0 -13
- package/date-picker/date-picker.module.d.ts +0 -24
- package/date-picker/date-picker.service.d.ts +0 -14
- package/date-picker/inner-types.d.ts +0 -19
- package/date-picker/lib/calendar/calendar-footer.component.d.ts +0 -37
- package/date-picker/lib/calendar/calendar-header.component.d.ts +0 -44
- package/date-picker/lib/calendar/calendar-table.component.d.ts +0 -41
- package/date-picker/lib/date/date-header.component.d.ts +0 -10
- package/date-picker/lib/date/date-table-cell.component.d.ts +0 -18
- package/date-picker/lib/date/date-table.component.d.ts +0 -23
- package/date-picker/lib/date/types.d.ts +0 -41
- package/date-picker/lib/date-carousel/date-carousel.component.d.ts +0 -65
- package/date-picker/lib/decade/decade-header.component.d.ts +0 -14
- package/date-picker/lib/decade/decade-table.component.d.ts +0 -21
- package/date-picker/lib/lib-packer.module.d.ts +0 -28
- package/date-picker/lib/month/month-header.component.d.ts +0 -10
- package/date-picker/lib/month/month-table.component.d.ts +0 -22
- package/date-picker/lib/popups/date-popup.component.d.ts +0 -99
- package/date-picker/lib/popups/inner-popup.component.d.ts +0 -43
- package/date-picker/lib/quarter/quarter-table.component.d.ts +0 -21
- package/date-picker/lib/year/year-header.component.d.ts +0 -14
- package/date-picker/lib/year/year-table.component.d.ts +0 -21
- package/date-picker/month-picker.component.d.ts +0 -19
- package/date-picker/picker.component.d.ts +0 -76
- package/date-picker/picker.pipes.d.ts +0 -40
- package/date-picker/picker.util.d.ts +0 -30
- package/date-picker/picker.validators.d.ts +0 -22
- package/date-picker/quarter-picker.component.d.ts +0 -22
- package/date-picker/range-picker.component.d.ts +0 -16
- package/date-picker/range-picker.directive.d.ts +0 -14
- package/date-picker/standard-types.d.ts +0 -45
- package/date-picker/week-picker.component.d.ts +0 -15
- package/date-picker/year-picker.component.d.ts +0 -22
- package/date-range/date-range.class.d.ts +0 -29
- package/date-range/date-range.component.d.ts +0 -89
- package/date-range/module.d.ts +0 -15
- package/date-range/optional-dates/optional-dates.component.d.ts +0 -25
- package/dialog/body/dialog-body.component.d.ts +0 -18
- package/dialog/confirm/confirm.component.d.ts +0 -29
- package/dialog/confirm/token.d.ts +0 -8
- package/dialog/confirm.config.d.ts +0 -71
- package/dialog/dialog-animations.d.ts +0 -8
- package/dialog/dialog-container.component.d.ts +0 -46
- package/dialog/dialog-ref.d.ts +0 -32
- package/dialog/dialog.config.d.ts +0 -79
- package/dialog/dialog.module.d.ts +0 -20
- package/dialog/dialog.options.d.ts +0 -2
- package/dialog/dialog.service.d.ts +0 -52
- package/dialog/footer/dialog-footer.component.d.ts +0 -33
- package/dialog/header/dialog-header.component.d.ts +0 -47
- package/divider/divider.component.d.ts +0 -47
- package/divider/divider.module.d.ts +0 -10
- package/dot/dot.component.d.ts +0 -45
- package/dot/dot.module.d.ts +0 -8
- package/drag-drop/drag-content.directive.d.ts +0 -15
- package/drag-drop/drag-drop.class.d.ts +0 -36
- package/drag-drop/drag-drop.service.d.ts +0 -27
- package/drag-drop/drag-drop.token.d.ts +0 -24
- package/drag-drop/drag-handle.directive.d.ts +0 -24
- package/drag-drop/drag-ref.d.ts +0 -47
- package/drag-drop/drag.directive.d.ts +0 -39
- package/drag-drop/drop-container.directive.d.ts +0 -70
- package/drag-drop/module.d.ts +0 -14
- package/dropdown/dropdown-active.directive.d.ts +0 -27
- package/dropdown/dropdown-menu-item.directive.d.ts +0 -95
- package/dropdown/dropdown-menu.component.d.ts +0 -54
- package/dropdown/dropdown-submenu.component.d.ts +0 -23
- package/dropdown/dropdown.directive.d.ts +0 -77
- package/dropdown/module.d.ts +0 -13
- package/empty/empty.component.d.ts +0 -92
- package/empty/empty.config.d.ts +0 -10
- package/empty/empty.module.d.ts +0 -10
- package/empty/svgs.d.ts +0 -4
- package/flexible-text/flexible-text.component.d.ts +0 -53
- package/flexible-text/flexible-text.module.d.ts +0 -10
- package/form/form-group-error/form-group-error.component.d.ts +0 -21
- package/form/form-group-label.directive.d.ts +0 -18
- package/form/form-group.component.d.ts +0 -68
- package/form/form-submit.directive.d.ts +0 -18
- package/form/form-validator-loader.d.ts +0 -28
- package/form/form-validator.service.d.ts +0 -54
- package/form/form.class.d.ts +0 -54
- package/form/form.directive.d.ts +0 -56
- package/form/from-group-footer/form-group-footer.component.d.ts +0 -27
- package/form/module.d.ts +0 -25
- package/form/validator/confirm-validator.directive.d.ts +0 -17
- package/form/validator/index.d.ts +0 -4
- package/form/validator/max-validator.directive.d.ts +0 -15
- package/form/validator/min-validator.directive.d.ts +0 -15
- package/form/validator/unique-validator.directive.d.ts +0 -16
- package/fullscreen/fullscreen-launch.directive.d.ts +0 -9
- package/fullscreen/fullscreen-ref.d.ts +0 -25
- package/fullscreen/fullscreen.component.d.ts +0 -34
- package/fullscreen/fullscreen.config.d.ts +0 -23
- package/fullscreen/fullscreen.module.d.ts +0 -8
- package/fullscreen/fullscreen.service.d.ts +0 -20
- package/grid/flex.d.ts +0 -85
- package/grid/grid.token.d.ts +0 -7
- package/grid/grid.type.d.ts +0 -5
- package/grid/module.d.ts +0 -11
- package/grid/thy-col.directive.d.ts +0 -33
- package/grid/thy-grid-item.component.d.ts +0 -28
- package/grid/thy-grid.component.d.ts +0 -71
- package/grid/thy-row.directive.d.ts +0 -30
- package/guider/guider-hint/guider-hint.component.d.ts +0 -28
- package/guider/guider-manager.d.ts +0 -23
- package/guider/guider-ref.d.ts +0 -42
- package/guider/guider-step-ref.d.ts +0 -44
- package/guider/guider.class.d.ts +0 -95
- package/guider/guider.directive.d.ts +0 -21
- package/guider/guider.interface.d.ts +0 -26
- package/guider/guider.module.d.ts +0 -13
- package/guider/guider.service.d.ts +0 -25
- package/guider/utils.d.ts +0 -4
- package/i18n/i18n.d.ts +0 -191
- package/i18n/i18n.service.d.ts +0 -19
- package/i18n/i18n.token.d.ts +0 -8
- package/i18n/locale.d.ts +0 -4
- package/i18n/locales/de-de.d.ts +0 -162
- package/i18n/locales/en-us.d.ts +0 -183
- package/i18n/locales/index.d.ts +0 -5
- package/i18n/locales/ja-jp.d.ts +0 -162
- package/i18n/locales/zh-hans.d.ts +0 -162
- package/i18n/locales/zh-hant.d.ts +0 -162
- package/i18n/util.d.ts +0 -3
- package/icon/config.d.ts +0 -2
- package/icon/icon-registry.d.ts +0 -84
- package/icon/icon.component.d.ts +0 -47
- package/icon/icon.module.d.ts +0 -9
- package/image/image-group.component.d.ts +0 -16
- package/image/image.class.d.ts +0 -38
- package/image/image.config.d.ts +0 -21
- package/image/image.directive.d.ts +0 -50
- package/image/image.service.d.ts +0 -30
- package/image/image.token.d.ts +0 -17
- package/image/module.d.ts +0 -19
- package/image/preview/image-preview-ref.d.ts +0 -14
- package/image/preview/image-preview.component.d.ts +0 -73
- package/image/utils.d.ts +0 -1
- package/input/input-count.component.d.ts +0 -27
- package/input/input-group.component.d.ts +0 -71
- package/input/input-search.component.d.ts +0 -70
- package/input/input.component.d.ts +0 -82
- package/input/input.directive.d.ts +0 -26
- package/input/module.d.ts +0 -16
- package/input-number/input-number.component.d.ts +0 -115
- package/input-number/module.d.ts +0 -13
- package/layout/content-main.component.d.ts +0 -19
- package/layout/content-section.component.d.ts +0 -19
- package/layout/content.component.d.ts +0 -19
- package/layout/header.component.d.ts +0 -69
- package/layout/layout.component.d.ts +0 -22
- package/layout/layout.module.d.ts +0 -21
- package/layout/sidebar-content.component.d.ts +0 -19
- package/layout/sidebar-footer.component.d.ts +0 -19
- package/layout/sidebar-header.component.d.ts +0 -40
- package/layout/sidebar.component.d.ts +0 -123
- package/list/list-item-meta.component.d.ts +0 -25
- package/list/list-item.component.d.ts +0 -9
- package/list/list.component.d.ts +0 -14
- package/list/list.module.d.ts +0 -13
- package/list/selection/selection-list.d.ts +0 -116
- package/list/selection/selection.interface.d.ts +0 -8
- package/loading/loading.component.d.ts +0 -24
- package/loading/loading.module.d.ts +0 -8
- package/mention/adapter/adapter.d.ts +0 -19
- package/mention/adapter/editable.adapter.d.ts +0 -9
- package/mention/adapter/index.d.ts +0 -7
- package/mention/adapter/textarea.adapter.d.ts +0 -11
- package/mention/caret-positioner.d.ts +0 -19
- package/mention/interfaces.d.ts +0 -61
- package/mention/mention.directive.d.ts +0 -43
- package/mention/mention.module.d.ts +0 -13
- package/mention/suggestions/suggestions.component.d.ts +0 -28
- package/menu/divider/menu-divider.component.d.ts +0 -12
- package/menu/group/menu-group.component.d.ts +0 -61
- package/menu/item/action/menu-item-action.component.d.ts +0 -34
- package/menu/item/icon/menu-item-icon.component.d.ts +0 -18
- package/menu/item/menu-item.component.d.ts +0 -20
- package/menu/item/name/menu-item-name.component.d.ts +0 -17
- package/menu/menu.component.d.ts +0 -23
- package/menu/menu.module.d.ts +0 -16
- package/message/abstract/abstract-message-container.component.d.ts +0 -13
- package/message/abstract/abstract-message-queue.service.d.ts +0 -13
- package/message/abstract/abstract-message-ref.d.ts +0 -18
- package/message/abstract/abstract-message.component.d.ts +0 -35
- package/message/abstract/abstract-message.service.d.ts +0 -17
- package/message/abstract/index.d.ts +0 -5
- package/message/message-container.component.d.ts +0 -12
- package/message/message-queue.service.d.ts +0 -11
- package/message/message-ref.d.ts +0 -4
- package/message/message.component.d.ts +0 -13
- package/message/message.config.d.ts +0 -29
- package/message/message.service.d.ts +0 -36
- package/message/module.d.ts +0 -13
- package/nav/icon-nav/icon-nav-link.directive.d.ts +0 -10
- package/nav/icon-nav/icon-nav.component.d.ts +0 -15
- package/nav/nav-ink-bar.directive.d.ts +0 -22
- package/nav/nav-item.directive.d.ts +0 -60
- package/nav/nav.component.d.ts +0 -142
- package/nav/nav.module.d.ts +0 -17
- package/nav/nav.pipe.d.ts +0 -11
- package/notify/module.d.ts +0 -13
- package/notify/notify-container.component.d.ts +0 -12
- package/notify/notify-queue.service.d.ts +0 -15
- package/notify/notify-ref.d.ts +0 -4
- package/notify/notify.component.d.ts +0 -19
- package/notify/notify.config.d.ts +0 -55
- package/notify/notify.service.d.ts +0 -42
- package/pagination/pagination.class.d.ts +0 -79
- package/pagination/pagination.component.d.ts +0 -132
- package/pagination/pagination.config.d.ts +0 -8
- package/pagination/pagination.module.d.ts +0 -13
- package/pagination/pagination.pipe.d.ts +0 -17
- package/popover/body/popover-body.component.d.ts +0 -10
- package/popover/header/popover-header.component.d.ts +0 -35
- package/popover/module.d.ts +0 -14
- package/popover/popover-animations.d.ts +0 -8
- package/popover/popover-container.component.d.ts +0 -38
- package/popover/popover-ref.d.ts +0 -14
- package/popover/popover.config.d.ts +0 -110
- package/popover/popover.directive.d.ts +0 -67
- package/popover/popover.options.d.ts +0 -2
- package/popover/popover.service.d.ts +0 -58
- package/progress/interfaces.d.ts +0 -23
- package/progress/progress-circle.component.d.ts +0 -43
- package/progress/progress-strip.component.d.ts +0 -23
- package/progress/progress.component.d.ts +0 -59
- package/progress/progress.module.d.ts +0 -11
- package/property/module.d.ts +0 -11
- package/property/properties.component.d.ts +0 -25
- package/property/property-item.component.d.ts +0 -80
- package/property-operation/group/property-operation-group.component.d.ts +0 -10
- package/property-operation/module.d.ts +0 -12
- package/property-operation/property-operation.component.d.ts +0 -92
- package/public-api.d.ts +0 -1
- package/radio/button/radio-button.component.d.ts +0 -18
- package/radio/group/radio-group.component.d.ts +0 -46
- package/radio/module.d.ts +0 -11
- package/radio/radio.component.d.ts +0 -22
- package/radio/radio.token.d.ts +0 -12
- package/rate/module.d.ts +0 -13
- package/rate/rate-item.component.d.ts +0 -17
- package/rate/rate.component.d.ts +0 -69
- package/resizable/interface.d.ts +0 -12
- package/resizable/module.d.ts +0 -10
- package/resizable/resizable.directive.d.ts +0 -91
- package/resizable/resizable.service.d.ts +0 -32
- package/resizable/resize-handle.component.d.ts +0 -31
- package/resizable/resize-handles.component.d.ts +0 -21
- package/resizable/utils.d.ts +0 -3
- package/result/result.component.d.ts +0 -54
- package/result/result.module.d.ts +0 -8
- package/segment/segment-item.component.d.ts +0 -34
- package/segment/segment.component.d.ts +0 -55
- package/segment/segment.module.d.ts +0 -11
- package/segment/segment.token.d.ts +0 -16
- package/segment/types.d.ts +0 -5
- package/select/custom-select/custom-select.component.d.ts +0 -271
- package/select/module.d.ts +0 -16
- package/select/native-select/native-select.component.d.ts +0 -30
- package/select/select.config.d.ts +0 -34
- package/shared/base-form-check.component.d.ts +0 -51
- package/shared/directives/string-or-template-outlet.directive.d.ts +0 -17
- package/shared/directives/thy-autofocus.directive.d.ts +0 -23
- package/shared/directives/thy-contextmenu.directive.d.ts +0 -17
- package/shared/directives/thy-ctrl-enter.directive.d.ts +0 -17
- package/shared/directives/thy-drag-drop.directive.d.ts +0 -15
- package/shared/directives/thy-enter.directive.d.ts +0 -18
- package/shared/directives/thy-scroll.directive.d.ts +0 -39
- package/shared/directives/thy-show.d.ts +0 -19
- package/shared/directives/thy-stop-propagation.directive.d.ts +0 -17
- package/shared/directives/view-outlet.directive.d.ts +0 -27
- package/shared/ng-transclude.directive.d.ts +0 -14
- package/shared/option/group/option-group.component.d.ts +0 -22
- package/shared/option/index.d.ts +0 -8
- package/shared/option/list-option/list-option.component.d.ts +0 -32
- package/shared/option/module.d.ts +0 -13
- package/shared/option/option-group.component.d.ts +0 -12
- package/shared/option/option.component.d.ts +0 -51
- package/shared/option/option.token.d.ts +0 -30
- package/shared/option/options-container.component.d.ts +0 -9
- package/shared/option/select-option-base.d.ts +0 -5
- package/shared/select/index.d.ts +0 -2
- package/shared/select/module.d.ts +0 -11
- package/shared/select/select-control/select-control.component.d.ts +0 -73
- package/shared/shared.module.d.ts +0 -17
- package/shared/shared.type.d.ts +0 -1
- package/skeleton/module.d.ts +0 -16
- package/skeleton/skeleton-circle.component.d.ts +0 -45
- package/skeleton/skeleton-rectangle.component.d.ts +0 -55
- package/skeleton/skeleton.component.d.ts +0 -27
- package/skeleton/skeleton.config.d.ts +0 -8
- package/skeleton/stylized/bullet-list.component.d.ts +0 -55
- package/skeleton/stylized/list.component.d.ts +0 -44
- package/skeleton/stylized/paragraph.component.d.ts +0 -52
- package/slide/drawer/drawer-container.directive.d.ts +0 -11
- package/slide/slide-animations.d.ts +0 -4
- package/slide/slide-body/slide-body-section.component.d.ts +0 -16
- package/slide/slide-body/slide-body.component.d.ts +0 -10
- package/slide/slide-container.component.d.ts +0 -49
- package/slide/slide-footer/slide-footer.component.d.ts +0 -12
- package/slide/slide-header/slide-header.component.d.ts +0 -33
- package/slide/slide-layout/slide-layout.component.d.ts +0 -13
- package/slide/slide-ref.service.d.ts +0 -20
- package/slide/slide.config.d.ts +0 -73
- package/slide/slide.module.d.ts +0 -19
- package/slide/slide.service.d.ts +0 -28
- package/slider/slider.component.d.ts +0 -105
- package/slider/slider.module.d.ts +0 -9
- package/space/space.component.d.ts +0 -38
- package/space/space.module.d.ts +0 -8
- package/statistic/statistic.component.d.ts +0 -111
- package/statistic/statistic.module.d.ts +0 -10
- package/stepper/step-header.component.d.ts +0 -15
- package/stepper/step.component.d.ts +0 -28
- package/stepper/stepper-button.directive.d.ts +0 -25
- package/stepper/stepper.component.d.ts +0 -34
- package/stepper/stepper.module.d.ts +0 -11
- package/strength/strength.component.d.ts +0 -69
- package/strength/strength.module.d.ts +0 -7
- package/switch/switch.component.d.ts +0 -59
- package/switch/switch.module.d.ts +0 -8
- package/table/enums/column-skeleton-type.d.ts +0 -6
- package/table/enums/index.d.ts +0 -1
- package/table/pipes/drag.pipe.d.ts +0 -11
- package/table/pipes/table.pipe.d.ts +0 -10
- package/table/table-column.component.d.ts +0 -131
- package/table/table-skeleton.component.d.ts +0 -93
- package/table/table.component.d.ts +0 -333
- package/table/table.interface.d.ts +0 -87
- package/table/table.module.d.ts +0 -22
- package/table/table.type.d.ts +0 -3
- package/tabs/tab-content.component.d.ts +0 -12
- package/tabs/tab.component.d.ts +0 -31
- package/tabs/tabs.component.d.ts +0 -59
- package/tabs/tabs.module.d.ts +0 -12
- package/tabs/types.d.ts +0 -2
- package/tag/tag.component.d.ts +0 -48
- package/tag/tag.module.d.ts +0 -10
- package/tag/tags.component.d.ts +0 -11
- package/testing/data-transfer.d.ts +0 -22
- package/testing/dispatcher-events.d.ts +0 -32
- package/testing/element-focus.d.ts +0 -13
- package/testing/events.d.ts +0 -33
- package/testing/thy-icon.d.ts +0 -5
- package/testing/type-in-element.d.ts +0 -14
- package/testing/xhr-mock.d.ts +0 -51
- package/time-picker/inner/inner-time-picker.class.d.ts +0 -37
- package/time-picker/inner/inner-time-picker.component.d.ts +0 -91
- package/time-picker/inner/inner-time-picker.config.d.ts +0 -42
- package/time-picker/inner/inner-time-picker.store.d.ts +0 -23
- package/time-picker/time-picker-controls.util.d.ts +0 -7
- package/time-picker/time-picker-panel.component.d.ts +0 -113
- package/time-picker/time-picker.component.d.ts +0 -136
- package/time-picker/time-picker.module.d.ts +0 -17
- package/time-picker/time-picker.utils.d.ts +0 -16
- package/timeline/timeline-item.component.d.ts +0 -43
- package/timeline/timeline.component.d.ts +0 -47
- package/timeline/timeline.module.d.ts +0 -11
- package/timeline/timeline.service.d.ts +0 -8
- package/timeline/timeline.type.d.ts +0 -1
- package/tooltip/interface.d.ts +0 -5
- package/tooltip/tooltip-animations.d.ts +0 -4
- package/tooltip/tooltip-ref.d.ts +0 -31
- package/tooltip/tooltip.component.d.ts +0 -36
- package/tooltip/tooltip.config.d.ts +0 -22
- package/tooltip/tooltip.directive.d.ts +0 -81
- package/tooltip/tooltip.module.d.ts +0 -11
- package/tooltip/tooltip.service.d.ts +0 -16
- package/transfer/transfer-list.component.d.ts +0 -41
- package/transfer/transfer.component.d.ts +0 -90
- package/transfer/transfer.interface.d.ts +0 -66
- package/transfer/transfer.module.d.ts +0 -15
- package/tree/tree-abstract.d.ts +0 -19
- package/tree/tree-node.component.d.ts +0 -95
- package/tree/tree.class.d.ts +0 -106
- package/tree/tree.component.d.ts +0 -199
- package/tree/tree.module.d.ts +0 -20
- package/tree/tree.pipe.d.ts +0 -12
- package/tree/tree.service.d.ts +0 -34
- package/tree-select/module.d.ts +0 -14
- package/tree-select/tree-select.class.d.ts +0 -12
- package/tree-select/tree-select.component.d.ts +0 -203
- package/types/common.d.ts +0 -2
- package/types/dictionary.d.ts +0 -10
- package/types/pagination.d.ts +0 -6
- package/typography/bg-color.directive.d.ts +0 -20
- package/typography/module.d.ts +0 -11
- package/typography/text/text.component.d.ts +0 -17
- package/typography/text-color.directive.d.ts +0 -22
- package/upload/constant.d.ts +0 -73
- package/upload/file-drop.directive.d.ts +0 -32
- package/upload/file-select-base.d.ts +0 -22
- package/upload/file-select.component.d.ts +0 -34
- package/upload/module.d.ts +0 -9
- package/upload/types.d.ts +0 -11
- package/upload/upload.config.d.ts +0 -17
- package/upload/upload.service.d.ts +0 -140
- package/upload/util.d.ts +0 -1
- package/util/date/functions.d.ts +0 -85
- package/util/date/tiny-date.d.ts +0 -124
- package/util/dom.d.ts +0 -101
- package/util/helpers/helpers.d.ts +0 -55
- package/util/helpers/index.d.ts +0 -1
- package/util/immutable.d.ts +0 -70
- package/util/keycodes.d.ts +0 -2
- package/util/logger/index.d.ts +0 -1
- package/util/logger/logger.d.ts +0 -6
- package/util/ng.d.ts +0 -2
- package/util/references.d.ts +0 -58
- package/version.d.ts +0 -2
- package/vote/vote.component.d.ts +0 -53
- package/vote/vote.module.d.ts +0 -10
- package/watermark/config.d.ts +0 -19
- package/watermark/watermark.directive.d.ts +0 -63
- package/watermark/watermark.module.d.ts +0 -9
- /package/schematics/ng-update/{update-19 → update-20}/class-name-migration.d.ts +0 -0
- /package/schematics/ng-update/{update-19 → update-20}/class-name-migration.js +0 -0
- /package/schematics/ng-update/{update-19 → update-20}/index.d.ts +0 -0
- /package/schematics/ng-update/{update-19 → update-20}/index.spec.d.ts +0 -0
- /package/schematics/ng-update/{update-19 → update-20}/update-data.d.ts +0 -0
- /package/schematics/ng-update/{update-19 → update-20}/update-data.js +0 -0
|
@@ -16,101 +16,101 @@ class ThyStatistic {
|
|
|
16
16
|
* @description 展示数据
|
|
17
17
|
* @type number | string
|
|
18
18
|
*/
|
|
19
|
-
this.thyValue = input();
|
|
19
|
+
this.thyValue = input(...(ngDevMode ? [undefined, { debugName: "thyValue" }] : []));
|
|
20
20
|
/**
|
|
21
21
|
* @description 展示数据的 css 样式
|
|
22
22
|
* @type { [key: string]: string; }
|
|
23
23
|
*/
|
|
24
|
-
this.thyValueStyle = input({});
|
|
24
|
+
this.thyValueStyle = input({}, ...(ngDevMode ? [{ debugName: "thyValueStyle" }] : []));
|
|
25
25
|
/**
|
|
26
26
|
* @description 展示数据的前缀
|
|
27
27
|
* @type string
|
|
28
28
|
*/
|
|
29
|
-
this.thyPrefix = input();
|
|
29
|
+
this.thyPrefix = input(...(ngDevMode ? [undefined, { debugName: "thyPrefix" }] : []));
|
|
30
30
|
/**
|
|
31
31
|
* @description 展示数据的后缀
|
|
32
32
|
* @type string
|
|
33
33
|
*/
|
|
34
|
-
this.thySuffix = input();
|
|
34
|
+
this.thySuffix = input(...(ngDevMode ? [undefined, { debugName: "thySuffix" }] : []));
|
|
35
35
|
/**
|
|
36
36
|
* @description 展示数据的标题
|
|
37
37
|
* @type string
|
|
38
38
|
*/
|
|
39
|
-
this.thyTitle = input();
|
|
39
|
+
this.thyTitle = input(...(ngDevMode ? [undefined, { debugName: "thyTitle" }] : []));
|
|
40
40
|
/**
|
|
41
41
|
* @description 展示数据标题的位置,可设置 `top`|`bottom`
|
|
42
42
|
* @type ThyStatisticTitlePosition
|
|
43
43
|
*/
|
|
44
|
-
this.thyTitlePosition = input('bottom');
|
|
44
|
+
this.thyTitlePosition = input('bottom', ...(ngDevMode ? [{ debugName: "thyTitlePosition" }] : []));
|
|
45
45
|
/**
|
|
46
46
|
* @description 展示形状
|
|
47
47
|
* @type ThyStatisticShape
|
|
48
48
|
* @default card
|
|
49
49
|
*/
|
|
50
|
-
this.thyShape = input();
|
|
50
|
+
this.thyShape = input(...(ngDevMode ? [undefined, { debugName: "thyShape" }] : []));
|
|
51
51
|
/**
|
|
52
52
|
* @description 主题颜色,可以使用提供的主题色,也可以自定义颜色。 `ThyStatisticColorType` 中包含 `primary` | `success` | `warning` | `danger` | `info`
|
|
53
53
|
* @type ThyStatisticColorType | string
|
|
54
54
|
*/
|
|
55
|
-
this.thyColor = input();
|
|
55
|
+
this.thyColor = input(...(ngDevMode ? [undefined, { debugName: "thyColor" }] : []));
|
|
56
56
|
/**
|
|
57
57
|
* @description 前缀和展示数据字体大小
|
|
58
58
|
* @type ThyStatisticSizes
|
|
59
59
|
* @default default
|
|
60
60
|
*/
|
|
61
|
-
this.thySize = input('default');
|
|
61
|
+
this.thySize = input('default', ...(ngDevMode ? [{ debugName: "thySize" }] : []));
|
|
62
62
|
/**
|
|
63
63
|
* @description 自定义展示数据模板
|
|
64
64
|
* @type TemplateRef<void>
|
|
65
65
|
*/
|
|
66
|
-
this.thyValueTemplate = input();
|
|
66
|
+
this.thyValueTemplate = input(...(ngDevMode ? [undefined, { debugName: "thyValueTemplate" }] : []));
|
|
67
67
|
/**
|
|
68
68
|
* @description 自定义标题模板
|
|
69
69
|
* @type TemplateRef<void>
|
|
70
70
|
*/
|
|
71
|
-
this.thyTitleTemplate = input();
|
|
71
|
+
this.thyTitleTemplate = input(...(ngDevMode ? [undefined, { debugName: "thyTitleTemplate" }] : []));
|
|
72
72
|
/**
|
|
73
73
|
* @description 自定义前缀模板
|
|
74
74
|
* @type TemplateRef<void>
|
|
75
75
|
*/
|
|
76
|
-
this.thyPrefixTemplate = input();
|
|
76
|
+
this.thyPrefixTemplate = input(...(ngDevMode ? [undefined, { debugName: "thyPrefixTemplate" }] : []));
|
|
77
77
|
/**
|
|
78
78
|
* @description 自定义后缀模板
|
|
79
79
|
* @type TemplateRef<void>
|
|
80
80
|
*/
|
|
81
|
-
this.thySuffixTemplate = input();
|
|
81
|
+
this.thySuffixTemplate = input(...(ngDevMode ? [undefined, { debugName: "thySuffixTemplate" }] : []));
|
|
82
82
|
/**
|
|
83
83
|
* @description 自定义展示数据模板
|
|
84
84
|
* @type TemplateRef<void>
|
|
85
85
|
*/
|
|
86
|
-
this.contentValueTemplate = contentChild('value');
|
|
86
|
+
this.contentValueTemplate = contentChild('value', ...(ngDevMode ? [{ debugName: "contentValueTemplate" }] : []));
|
|
87
87
|
/**
|
|
88
88
|
* @description 自定义标题模板
|
|
89
89
|
* @type TemplateRef<void>
|
|
90
90
|
*/
|
|
91
|
-
this.contentTitleTemplate = contentChild('title');
|
|
91
|
+
this.contentTitleTemplate = contentChild('title', ...(ngDevMode ? [{ debugName: "contentTitleTemplate" }] : []));
|
|
92
92
|
/**
|
|
93
93
|
* @description 自定义前缀模板
|
|
94
94
|
* @type TemplateRef<void>
|
|
95
95
|
*/
|
|
96
|
-
this.contentPrefixTemplate = contentChild('prefix');
|
|
96
|
+
this.contentPrefixTemplate = contentChild('prefix', ...(ngDevMode ? [{ debugName: "contentPrefixTemplate" }] : []));
|
|
97
97
|
/**
|
|
98
98
|
* @description 自定义后缀模板
|
|
99
99
|
* @type TemplateRef<void>
|
|
100
100
|
*/
|
|
101
|
-
this.contentSuffixTemplate = contentChild('suffix');
|
|
101
|
+
this.contentSuffixTemplate = contentChild('suffix', ...(ngDevMode ? [{ debugName: "contentSuffixTemplate" }] : []));
|
|
102
102
|
this.valueTemplate = computed(() => {
|
|
103
103
|
return this.thyValueTemplate() || this.contentValueTemplate();
|
|
104
|
-
});
|
|
104
|
+
}, ...(ngDevMode ? [{ debugName: "valueTemplate" }] : []));
|
|
105
105
|
this.titleTemplate = computed(() => {
|
|
106
106
|
return this.thyTitleTemplate() || this.contentTitleTemplate();
|
|
107
|
-
});
|
|
107
|
+
}, ...(ngDevMode ? [{ debugName: "titleTemplate" }] : []));
|
|
108
108
|
this.prefixTemplate = computed(() => {
|
|
109
109
|
return this.thyPrefixTemplate() || this.contentPrefixTemplate();
|
|
110
|
-
});
|
|
110
|
+
}, ...(ngDevMode ? [{ debugName: "prefixTemplate" }] : []));
|
|
111
111
|
this.suffixTemplate = computed(() => {
|
|
112
112
|
return this.thySuffixTemplate() || this.contentSuffixTemplate();
|
|
113
|
-
});
|
|
113
|
+
}, ...(ngDevMode ? [{ debugName: "suffixTemplate" }] : []));
|
|
114
114
|
this.hostRenderer = useHostRenderer();
|
|
115
115
|
effect(() => {
|
|
116
116
|
this.setClassesByType();
|
|
@@ -140,20 +140,20 @@ class ThyStatistic {
|
|
|
140
140
|
this.hostRenderer.setStyle('background-color', hexToRgb(color, 0.05));
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
144
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
143
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: ThyStatistic, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
144
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.10", type: ThyStatistic, isStandalone: true, selector: "thy-statistic", inputs: { thyValue: { classPropertyName: "thyValue", publicName: "thyValue", isSignal: true, isRequired: false, transformFunction: null }, thyValueStyle: { classPropertyName: "thyValueStyle", publicName: "thyValueStyle", isSignal: true, isRequired: false, transformFunction: null }, thyPrefix: { classPropertyName: "thyPrefix", publicName: "thyPrefix", isSignal: true, isRequired: false, transformFunction: null }, thySuffix: { classPropertyName: "thySuffix", publicName: "thySuffix", isSignal: true, isRequired: false, transformFunction: null }, thyTitle: { classPropertyName: "thyTitle", publicName: "thyTitle", isSignal: true, isRequired: false, transformFunction: null }, thyTitlePosition: { classPropertyName: "thyTitlePosition", publicName: "thyTitlePosition", isSignal: true, isRequired: false, transformFunction: null }, thyShape: { classPropertyName: "thyShape", publicName: "thyShape", isSignal: true, isRequired: false, transformFunction: null }, thyColor: { classPropertyName: "thyColor", publicName: "thyColor", isSignal: true, isRequired: false, transformFunction: null }, thySize: { classPropertyName: "thySize", publicName: "thySize", isSignal: true, isRequired: false, transformFunction: null }, thyValueTemplate: { classPropertyName: "thyValueTemplate", publicName: "thyValueTemplate", isSignal: true, isRequired: false, transformFunction: null }, thyTitleTemplate: { classPropertyName: "thyTitleTemplate", publicName: "thyTitleTemplate", isSignal: true, isRequired: false, transformFunction: null }, thyPrefixTemplate: { classPropertyName: "thyPrefixTemplate", publicName: "thyPrefixTemplate", isSignal: true, isRequired: false, transformFunction: null }, thySuffixTemplate: { classPropertyName: "thySuffixTemplate", publicName: "thySuffixTemplate", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.thy-statistic": "true" } }, queries: [{ propertyName: "contentValueTemplate", first: true, predicate: ["value"], descendants: true, isSignal: true }, { propertyName: "contentTitleTemplate", first: true, predicate: ["title"], descendants: true, isSignal: true }, { propertyName: "contentPrefixTemplate", first: true, predicate: ["prefix"], descendants: true, isSignal: true }, { propertyName: "contentSuffixTemplate", first: true, predicate: ["suffix"], descendants: true, isSignal: true }], ngImport: i0, template: "@if ((thyTitle() || titleTemplate()) && thyTitlePosition() === 'top') {\n <ng-container [ngTemplateOutlet]=\"title\"></ng-container>\n}\n<div class=\"thy-statistic-content\" [ngStyle]=\"thyValueStyle()\">\n @if (thyPrefix() || prefixTemplate()) {\n <span class=\"thy-statistic-content-prefix\">\n @if (thyPrefix()) {\n <span>{{ thyPrefix() }}</span>\n }\n @if (prefixTemplate()) {\n <ng-container [ngTemplateOutlet]=\"prefixTemplate()\"></ng-container>\n }\n </span>\n }\n\n <span class=\"thy-statistic-content-value\">\n @if (!valueTemplate()) {\n <span>{{ thyValue() }}</span>\n }\n @if (valueTemplate()) {\n <ng-container [ngTemplateOutlet]=\"valueTemplate()\"></ng-container>\n }\n </span>\n\n @if (thySuffix() || suffixTemplate()) {\n <span class=\"thy-statistic-content-suffix\">\n @if (thySuffix()) {\n <span>{{ thySuffix() }}</span>\n }\n @if (suffixTemplate()) {\n <ng-container [ngTemplateOutlet]=\"suffixTemplate()\"></ng-container>\n }\n </span>\n }\n</div>\n@if ((thyTitle() || titleTemplate()) && thyTitlePosition() === 'bottom') {\n <ng-container [ngTemplateOutlet]=\"title\"></ng-container>\n}\n\n<ng-template #title>\n <div class=\"thy-statistic-title\">\n @if (thyTitle()) {\n <span>{{ thyTitle() }}</span>\n }\n <ng-container [ngTemplateOutlet]=\"titleTemplate()\"></ng-container>\n </div>\n</ng-template>\n", dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
145
145
|
}
|
|
146
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
146
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: ThyStatistic, decorators: [{
|
|
147
147
|
type: Component,
|
|
148
148
|
args: [{ selector: 'thy-statistic', imports: [NgTemplateOutlet, NgStyle], changeDetection: ChangeDetectionStrategy.OnPush, host: { '[class.thy-statistic]': 'true' }, template: "@if ((thyTitle() || titleTemplate()) && thyTitlePosition() === 'top') {\n <ng-container [ngTemplateOutlet]=\"title\"></ng-container>\n}\n<div class=\"thy-statistic-content\" [ngStyle]=\"thyValueStyle()\">\n @if (thyPrefix() || prefixTemplate()) {\n <span class=\"thy-statistic-content-prefix\">\n @if (thyPrefix()) {\n <span>{{ thyPrefix() }}</span>\n }\n @if (prefixTemplate()) {\n <ng-container [ngTemplateOutlet]=\"prefixTemplate()\"></ng-container>\n }\n </span>\n }\n\n <span class=\"thy-statistic-content-value\">\n @if (!valueTemplate()) {\n <span>{{ thyValue() }}</span>\n }\n @if (valueTemplate()) {\n <ng-container [ngTemplateOutlet]=\"valueTemplate()\"></ng-container>\n }\n </span>\n\n @if (thySuffix() || suffixTemplate()) {\n <span class=\"thy-statistic-content-suffix\">\n @if (thySuffix()) {\n <span>{{ thySuffix() }}</span>\n }\n @if (suffixTemplate()) {\n <ng-container [ngTemplateOutlet]=\"suffixTemplate()\"></ng-container>\n }\n </span>\n }\n</div>\n@if ((thyTitle() || titleTemplate()) && thyTitlePosition() === 'bottom') {\n <ng-container [ngTemplateOutlet]=\"title\"></ng-container>\n}\n\n<ng-template #title>\n <div class=\"thy-statistic-title\">\n @if (thyTitle()) {\n <span>{{ thyTitle() }}</span>\n }\n <ng-container [ngTemplateOutlet]=\"titleTemplate()\"></ng-container>\n </div>\n</ng-template>\n" }]
|
|
149
|
-
}], ctorParameters: () => [] });
|
|
149
|
+
}], ctorParameters: () => [], propDecorators: { thyValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "thyValue", required: false }] }], thyValueStyle: [{ type: i0.Input, args: [{ isSignal: true, alias: "thyValueStyle", required: false }] }], thyPrefix: [{ type: i0.Input, args: [{ isSignal: true, alias: "thyPrefix", required: false }] }], thySuffix: [{ type: i0.Input, args: [{ isSignal: true, alias: "thySuffix", required: false }] }], thyTitle: [{ type: i0.Input, args: [{ isSignal: true, alias: "thyTitle", required: false }] }], thyTitlePosition: [{ type: i0.Input, args: [{ isSignal: true, alias: "thyTitlePosition", required: false }] }], thyShape: [{ type: i0.Input, args: [{ isSignal: true, alias: "thyShape", required: false }] }], thyColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "thyColor", required: false }] }], thySize: [{ type: i0.Input, args: [{ isSignal: true, alias: "thySize", required: false }] }], thyValueTemplate: [{ type: i0.Input, args: [{ isSignal: true, alias: "thyValueTemplate", required: false }] }], thyTitleTemplate: [{ type: i0.Input, args: [{ isSignal: true, alias: "thyTitleTemplate", required: false }] }], thyPrefixTemplate: [{ type: i0.Input, args: [{ isSignal: true, alias: "thyPrefixTemplate", required: false }] }], thySuffixTemplate: [{ type: i0.Input, args: [{ isSignal: true, alias: "thySuffixTemplate", required: false }] }], contentValueTemplate: [{ type: i0.ContentChild, args: ['value', { isSignal: true }] }], contentTitleTemplate: [{ type: i0.ContentChild, args: ['title', { isSignal: true }] }], contentPrefixTemplate: [{ type: i0.ContentChild, args: ['prefix', { isSignal: true }] }], contentSuffixTemplate: [{ type: i0.ContentChild, args: ['suffix', { isSignal: true }] }] } });
|
|
150
150
|
|
|
151
151
|
class ThyStatisticModule {
|
|
152
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
153
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
154
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
152
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: ThyStatisticModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
153
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.10", ngImport: i0, type: ThyStatisticModule, imports: [CommonModule, ThySharedModule, ThyIconModule, ThyStatistic], exports: [ThyStatistic] }); }
|
|
154
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: ThyStatisticModule, imports: [CommonModule, ThySharedModule, ThyIconModule] }); }
|
|
155
155
|
}
|
|
156
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
156
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: ThyStatisticModule, decorators: [{
|
|
157
157
|
type: NgModule,
|
|
158
158
|
args: [{
|
|
159
159
|
imports: [CommonModule, ThySharedModule, ThyIconModule, ThyStatistic],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ngx-tethys-statistic.mjs","sources":["../../../src/statistic/statistic.component.ts","../../../src/statistic/statistic.component.html","../../../src/statistic/statistic.module.ts","../../../src/statistic/ngx-tethys-statistic.ts"],"sourcesContent":["import { Component, TemplateRef, ChangeDetectionStrategy, input, contentChild, effect, computed } from '@angular/core';\nimport { hexToRgb } from 'ngx-tethys/util';\nimport { useHostRenderer } from '@tethys/cdk/dom';\nimport { NgTemplateOutlet, NgStyle } from '@angular/common';\n\nexport type ThyStatisticColorType = 'primary' | 'success' | 'warning' | 'danger' | 'info';\n\nexport type ThyStatisticShape = 'card';\n\nexport type ThyStatisticSizes = 'default';\n\nexport type ThyStatisticTitlePosition = 'top' | 'bottom';\n\n/**\n * 用于展示数据统计\n * @name thy-statistic\n */\n@Component({\n selector: 'thy-statistic',\n templateUrl: './statistic.component.html',\n imports: [NgTemplateOutlet, NgStyle],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { '[class.thy-statistic]': 'true' }\n})\nexport class ThyStatistic {\n /**\n * @description 展示数据\n * @type number | string\n */\n readonly thyValue = input<number | string>();\n\n /**\n * @description 展示数据的 css 样式\n * @type { [key: string]: string; }\n */\n readonly thyValueStyle = input<{ [key: string]: string }>({});\n\n /**\n * @description 展示数据的前缀\n * @type string\n */\n readonly thyPrefix = input<string>();\n\n /**\n * @description 展示数据的后缀\n * @type string\n */\n readonly thySuffix = input<string>();\n\n /**\n * @description 展示数据的标题\n * @type string\n */\n readonly thyTitle = input<string>();\n\n /**\n * @description 展示数据标题的位置,可设置 `top`|`bottom`\n * @type ThyStatisticTitlePosition\n */\n readonly thyTitlePosition = input<ThyStatisticTitlePosition>('bottom');\n\n /**\n * @description 展示形状\n * @type ThyStatisticShape\n * @default card\n */\n readonly thyShape = input<ThyStatisticShape>();\n\n /**\n * @description 主题颜色,可以使用提供的主题色,也可以自定义颜色。 `ThyStatisticColorType` 中包含 `primary` | `success` | `warning` | `danger` | `info`\n * @type ThyStatisticColorType | string\n */\n readonly thyColor = input<string | ThyStatisticColorType>();\n\n /**\n * @description 前缀和展示数据字体大小\n * @type ThyStatisticSizes\n * @default default\n */\n readonly thySize = input<ThyStatisticSizes>('default');\n\n /**\n * @description 自定义展示数据模板\n * @type TemplateRef<void>\n */\n readonly thyValueTemplate = input<TemplateRef<void>>();\n\n /**\n * @description 自定义标题模板\n * @type TemplateRef<void>\n */\n readonly thyTitleTemplate = input<TemplateRef<void>>();\n\n /**\n * @description 自定义前缀模板\n * @type TemplateRef<void>\n */\n readonly thyPrefixTemplate = input<TemplateRef<void>>();\n\n /**\n * @description 自定义后缀模板\n * @type TemplateRef<void>\n */\n readonly thySuffixTemplate = input<TemplateRef<void>>();\n\n /**\n * @description 自定义展示数据模板\n * @type TemplateRef<void>\n */\n readonly contentValueTemplate = contentChild<TemplateRef<void>>('value');\n\n /**\n * @description 自定义标题模板\n * @type TemplateRef<void>\n */\n readonly contentTitleTemplate = contentChild<TemplateRef<void>>('title');\n\n /**\n * @description 自定义前缀模板\n * @type TemplateRef<void>\n */\n readonly contentPrefixTemplate = contentChild<TemplateRef<void>>('prefix');\n\n /**\n * @description 自定义后缀模板\n * @type TemplateRef<void>\n */\n readonly contentSuffixTemplate = contentChild<TemplateRef<void>>('suffix');\n\n readonly valueTemplate = computed(() => {\n return this.thyValueTemplate() || this.contentValueTemplate();\n });\n\n readonly titleTemplate = computed(() => {\n return this.thyTitleTemplate() || this.contentTitleTemplate();\n });\n\n readonly prefixTemplate = computed(() => {\n return this.thyPrefixTemplate() || this.contentPrefixTemplate();\n });\n\n readonly suffixTemplate = computed(() => {\n return this.thySuffixTemplate() || this.contentSuffixTemplate();\n });\n\n private hostRenderer = useHostRenderer();\n\n constructor() {\n effect(() => {\n this.setClassesByType();\n });\n }\n\n private setClassesByType() {\n const classNames = [];\n if (this.thyColor()) {\n if (RegExp(/^#([0-9a-fA-F]{6}|[0-9a-fA-F]{3})$/).test(this.thyColor())) {\n this.setColor(this.thyColor());\n } else {\n classNames.push(`thy-statistic-${this.thyColor()}`);\n }\n }\n if (this.thyShape()) {\n classNames.push(`thy-statistic-${this.thyShape()}`);\n }\n classNames.push(`thy-statistic-${this.thySize()}`);\n\n this.hostRenderer.setStyle('font-size', this.thySize());\n this.hostRenderer.updateClass(classNames);\n }\n\n private setColor(color: string) {\n this.hostRenderer.setStyle('color', color);\n if (this.thyShape() === 'card') {\n this.hostRenderer.setStyle('border-color', color);\n this.hostRenderer.setStyle('background-color', hexToRgb(color, 0.05));\n }\n }\n}\n","@if ((thyTitle() || titleTemplate()) && thyTitlePosition() === 'top') {\n <ng-container [ngTemplateOutlet]=\"title\"></ng-container>\n}\n<div class=\"thy-statistic-content\" [ngStyle]=\"thyValueStyle()\">\n @if (thyPrefix() || prefixTemplate()) {\n <span class=\"thy-statistic-content-prefix\">\n @if (thyPrefix()) {\n <span>{{ thyPrefix() }}</span>\n }\n @if (prefixTemplate()) {\n <ng-container [ngTemplateOutlet]=\"prefixTemplate()\"></ng-container>\n }\n </span>\n }\n\n <span class=\"thy-statistic-content-value\">\n @if (!valueTemplate()) {\n <span>{{ thyValue() }}</span>\n }\n @if (valueTemplate()) {\n <ng-container [ngTemplateOutlet]=\"valueTemplate()\"></ng-container>\n }\n </span>\n\n @if (thySuffix() || suffixTemplate()) {\n <span class=\"thy-statistic-content-suffix\">\n @if (thySuffix()) {\n <span>{{ thySuffix() }}</span>\n }\n @if (suffixTemplate()) {\n <ng-container [ngTemplateOutlet]=\"suffixTemplate()\"></ng-container>\n }\n </span>\n }\n</div>\n@if ((thyTitle() || titleTemplate()) && thyTitlePosition() === 'bottom') {\n <ng-container [ngTemplateOutlet]=\"title\"></ng-container>\n}\n\n<ng-template #title>\n <div class=\"thy-statistic-title\">\n @if (thyTitle()) {\n <span>{{ thyTitle() }}</span>\n }\n <ng-container [ngTemplateOutlet]=\"titleTemplate()\"></ng-container>\n </div>\n</ng-template>\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ThySharedModule } from 'ngx-tethys/shared';\nimport { ThyStatistic } from './statistic.component';\nimport { ThyIconModule } from 'ngx-tethys/icon';\n\n@NgModule({\n imports: [CommonModule, ThySharedModule, ThyIconModule, ThyStatistic],\n exports: [ThyStatistic],\n providers: []\n})\nexport class ThyStatisticModule {}\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istic.component.ts","../../../src/statistic/statistic.component.html","../../../src/statistic/statistic.module.ts","../../../src/statistic/ngx-tethys-statistic.ts"],"sourcesContent":["import { Component, TemplateRef, ChangeDetectionStrategy, input, contentChild, effect, computed } from '@angular/core';\nimport { hexToRgb } from 'ngx-tethys/util';\nimport { useHostRenderer } from '@tethys/cdk/dom';\nimport { NgTemplateOutlet, NgStyle } from '@angular/common';\n\nexport type ThyStatisticColorType = 'primary' | 'success' | 'warning' | 'danger' | 'info';\n\nexport type ThyStatisticShape = 'card';\n\nexport type ThyStatisticSizes = 'default';\n\nexport type ThyStatisticTitlePosition = 'top' | 'bottom';\n\n/**\n * 用于展示数据统计\n * @name thy-statistic\n */\n@Component({\n selector: 'thy-statistic',\n templateUrl: './statistic.component.html',\n imports: [NgTemplateOutlet, NgStyle],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { '[class.thy-statistic]': 'true' }\n})\nexport class ThyStatistic {\n /**\n * @description 展示数据\n * @type number | string\n */\n readonly thyValue = input<number | string>();\n\n /**\n * @description 展示数据的 css 样式\n * @type { [key: string]: string; }\n */\n readonly thyValueStyle = input<{ [key: string]: string }>({});\n\n /**\n * @description 展示数据的前缀\n * @type string\n */\n readonly thyPrefix = input<string>();\n\n /**\n * @description 展示数据的后缀\n * @type string\n */\n readonly thySuffix = input<string>();\n\n /**\n * @description 展示数据的标题\n * @type string\n */\n readonly thyTitle = input<string>();\n\n /**\n * @description 展示数据标题的位置,可设置 `top`|`bottom`\n * @type ThyStatisticTitlePosition\n */\n readonly thyTitlePosition = input<ThyStatisticTitlePosition>('bottom');\n\n /**\n * @description 展示形状\n * @type ThyStatisticShape\n * @default card\n */\n readonly thyShape = input<ThyStatisticShape>();\n\n /**\n * @description 主题颜色,可以使用提供的主题色,也可以自定义颜色。 `ThyStatisticColorType` 中包含 `primary` | `success` | `warning` | `danger` | `info`\n * @type ThyStatisticColorType | string\n */\n readonly thyColor = input<string | ThyStatisticColorType>();\n\n /**\n * @description 前缀和展示数据字体大小\n * @type ThyStatisticSizes\n * @default default\n */\n readonly thySize = input<ThyStatisticSizes>('default');\n\n /**\n * @description 自定义展示数据模板\n * @type TemplateRef<void>\n */\n readonly thyValueTemplate = input<TemplateRef<void>>();\n\n /**\n * @description 自定义标题模板\n * @type TemplateRef<void>\n */\n readonly thyTitleTemplate = input<TemplateRef<void>>();\n\n /**\n * @description 自定义前缀模板\n * @type TemplateRef<void>\n */\n readonly thyPrefixTemplate = input<TemplateRef<void>>();\n\n /**\n * @description 自定义后缀模板\n * @type TemplateRef<void>\n */\n readonly thySuffixTemplate = input<TemplateRef<void>>();\n\n /**\n * @description 自定义展示数据模板\n * @type TemplateRef<void>\n */\n readonly contentValueTemplate = contentChild<TemplateRef<void>>('value');\n\n /**\n * @description 自定义标题模板\n * @type TemplateRef<void>\n */\n readonly contentTitleTemplate = contentChild<TemplateRef<void>>('title');\n\n /**\n * @description 自定义前缀模板\n * @type TemplateRef<void>\n */\n readonly contentPrefixTemplate = contentChild<TemplateRef<void>>('prefix');\n\n /**\n * @description 自定义后缀模板\n * @type TemplateRef<void>\n */\n readonly contentSuffixTemplate = contentChild<TemplateRef<void>>('suffix');\n\n readonly valueTemplate = computed(() => {\n return this.thyValueTemplate() || this.contentValueTemplate();\n });\n\n readonly titleTemplate = computed(() => {\n return this.thyTitleTemplate() || this.contentTitleTemplate();\n });\n\n readonly prefixTemplate = computed(() => {\n return this.thyPrefixTemplate() || this.contentPrefixTemplate();\n });\n\n readonly suffixTemplate = computed(() => {\n return this.thySuffixTemplate() || this.contentSuffixTemplate();\n });\n\n private hostRenderer = useHostRenderer();\n\n constructor() {\n effect(() => {\n this.setClassesByType();\n });\n }\n\n private setClassesByType() {\n const classNames = [];\n if (this.thyColor()) {\n if (RegExp(/^#([0-9a-fA-F]{6}|[0-9a-fA-F]{3})$/).test(this.thyColor())) {\n this.setColor(this.thyColor());\n } else {\n classNames.push(`thy-statistic-${this.thyColor()}`);\n }\n }\n if (this.thyShape()) {\n classNames.push(`thy-statistic-${this.thyShape()}`);\n }\n classNames.push(`thy-statistic-${this.thySize()}`);\n\n this.hostRenderer.setStyle('font-size', this.thySize());\n this.hostRenderer.updateClass(classNames);\n }\n\n private setColor(color: string) {\n this.hostRenderer.setStyle('color', color);\n if (this.thyShape() === 'card') {\n this.hostRenderer.setStyle('border-color', color);\n this.hostRenderer.setStyle('background-color', hexToRgb(color, 0.05));\n }\n }\n}\n","@if ((thyTitle() || titleTemplate()) && thyTitlePosition() === 'top') {\n <ng-container [ngTemplateOutlet]=\"title\"></ng-container>\n}\n<div class=\"thy-statistic-content\" [ngStyle]=\"thyValueStyle()\">\n @if (thyPrefix() || prefixTemplate()) {\n <span class=\"thy-statistic-content-prefix\">\n @if (thyPrefix()) {\n <span>{{ thyPrefix() }}</span>\n }\n @if (prefixTemplate()) {\n <ng-container [ngTemplateOutlet]=\"prefixTemplate()\"></ng-container>\n }\n </span>\n }\n\n <span class=\"thy-statistic-content-value\">\n @if (!valueTemplate()) {\n <span>{{ thyValue() }}</span>\n }\n @if (valueTemplate()) {\n <ng-container [ngTemplateOutlet]=\"valueTemplate()\"></ng-container>\n }\n </span>\n\n @if (thySuffix() || suffixTemplate()) {\n <span class=\"thy-statistic-content-suffix\">\n @if (thySuffix()) {\n <span>{{ thySuffix() }}</span>\n }\n @if (suffixTemplate()) {\n <ng-container [ngTemplateOutlet]=\"suffixTemplate()\"></ng-container>\n }\n </span>\n }\n</div>\n@if ((thyTitle() || titleTemplate()) && thyTitlePosition() === 'bottom') {\n <ng-container [ngTemplateOutlet]=\"title\"></ng-container>\n}\n\n<ng-template #title>\n <div class=\"thy-statistic-title\">\n @if (thyTitle()) {\n <span>{{ thyTitle() }}</span>\n }\n <ng-container [ngTemplateOutlet]=\"titleTemplate()\"></ng-container>\n </div>\n</ng-template>\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ThySharedModule } from 'ngx-tethys/shared';\nimport { ThyStatistic } from './statistic.component';\nimport { ThyIconModule } from 'ngx-tethys/icon';\n\n@NgModule({\n imports: [CommonModule, ThySharedModule, ThyIconModule, ThyStatistic],\n exports: [ThyStatistic],\n providers: []\n})\nexport class ThyStatisticModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAaA;;;AAGG;MAQU,YAAY,CAAA;AA2HrB,IAAA,WAAA,GAAA;AA1HA;;;AAGG;QACM,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,UAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAmB;AAE5C;;;AAGG;AACM,QAAA,IAAA,CAAA,aAAa,GAAG,KAAK,CAA4B,EAAE,yDAAC;AAE7D;;;AAGG;QACM,IAAA,CAAA,SAAS,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,WAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAU;AAEpC;;;AAGG;QACM,IAAA,CAAA,SAAS,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,WAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAU;AAEpC;;;AAGG;QACM,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,UAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAU;AAEnC;;;AAGG;AACM,QAAA,IAAA,CAAA,gBAAgB,GAAG,KAAK,CAA4B,QAAQ,4DAAC;AAEtE;;;;AAIG;QACM,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,UAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAqB;AAE9C;;;AAGG;QACM,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAA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AE,eAAe,EAAE,aAAa,CAAA,EAAA,CAAA,CAAA;;4FAI7C,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAL9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,OAAO,EAAE,CAAC,YAAY,EAAE,eAAe,EAAE,aAAa,EAAE,YAAY,CAAC;oBACrE,OAAO,EAAE,CAAC,YAAY,CAAC;AACvB,oBAAA,SAAS,EAAE;AACd,iBAAA;;;ACVD;;AAEG;;;;"}
|
|
@@ -11,19 +11,19 @@ import { coerceBooleanProperty } from 'ngx-tethys/util';
|
|
|
11
11
|
*/
|
|
12
12
|
class ThyStepHeader {
|
|
13
13
|
constructor() {
|
|
14
|
-
this.label = input();
|
|
15
|
-
this.icon = input();
|
|
16
|
-
this.index = input(undefined, { transform: numberAttribute });
|
|
17
|
-
this.selected = input(false, { transform: coerceBooleanProperty });
|
|
18
|
-
this.active = input(false, { transform: coerceBooleanProperty });
|
|
14
|
+
this.label = input(...(ngDevMode ? [undefined, { debugName: "label" }] : []));
|
|
15
|
+
this.icon = input(...(ngDevMode ? [undefined, { debugName: "icon" }] : []));
|
|
16
|
+
this.index = input(undefined, ...(ngDevMode ? [{ debugName: "index", transform: numberAttribute }] : [{ transform: numberAttribute }]));
|
|
17
|
+
this.selected = input(false, ...(ngDevMode ? [{ debugName: "selected", transform: coerceBooleanProperty }] : [{ transform: coerceBooleanProperty }]));
|
|
18
|
+
this.active = input(false, ...(ngDevMode ? [{ debugName: "active", transform: coerceBooleanProperty }] : [{ transform: coerceBooleanProperty }]));
|
|
19
19
|
}
|
|
20
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
21
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
20
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: ThyStepHeader, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
21
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.10", type: ThyStepHeader, isStandalone: true, selector: "thy-step-header", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, index: { classPropertyName: "index", publicName: "index", isSignal: true, isRequired: false, transformFunction: null }, selected: { classPropertyName: "selected", publicName: "selected", isSignal: true, isRequired: false, transformFunction: null }, active: { classPropertyName: "active", publicName: "active", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "thy-stepper-header" }, ngImport: i0, template: "<div class=\"thy-step-number\">\n <span>{{ index() + 1 }}</span>\n</div>\n<thy-icon class=\"thy-step-icon\" [thyIconName]=\"icon() || 'check-circle'\"></thy-icon>\n<div class=\"thy-step-label\">{{ label() }}</div>\n", dependencies: [{ kind: "component", type: ThyIcon, selector: "thy-icon, [thy-icon]", inputs: ["thyIconType", "thyTwotoneColor", "thyIconName", "thyIconRotate", "thyIconSet", "thyIconLegging", "thyIconLinearGradient"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
22
22
|
}
|
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: ThyStepHeader, decorators: [{
|
|
24
24
|
type: Component,
|
|
25
25
|
args: [{ selector: 'thy-step-header', imports: [ThyIcon], changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'thy-stepper-header' }, template: "<div class=\"thy-step-number\">\n <span>{{ index() + 1 }}</span>\n</div>\n<thy-icon class=\"thy-step-icon\" [thyIconName]=\"icon() || 'check-circle'\"></thy-icon>\n<div class=\"thy-step-label\">{{ label() }}</div>\n" }]
|
|
26
|
-
}] });
|
|
26
|
+
}], propDecorators: { label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: false }] }], index: [{ type: i0.Input, args: [{ isSignal: true, alias: "index", required: false }] }], selected: [{ type: i0.Input, args: [{ isSignal: true, alias: "selected", required: false }] }], active: [{ type: i0.Input, args: [{ isSignal: true, alias: "active", required: false }] }] } });
|
|
27
27
|
|
|
28
28
|
const THY_STEPPER_COMPONENT = new InjectionToken('THY_STEPPER_COMPONENT');
|
|
29
29
|
/**
|
|
@@ -34,28 +34,28 @@ const THY_STEPPER_COMPONENT = new InjectionToken('THY_STEPPER_COMPONENT');
|
|
|
34
34
|
class ThyStep {
|
|
35
35
|
constructor() {
|
|
36
36
|
this.stepper = inject(THY_STEPPER_COMPONENT, { optional: true });
|
|
37
|
-
this.content = viewChild(TemplateRef);
|
|
38
|
-
this.label = input();
|
|
37
|
+
this.content = viewChild(TemplateRef, ...(ngDevMode ? [{ debugName: "content" }] : []));
|
|
38
|
+
this.label = input(...(ngDevMode ? [undefined, { debugName: "label" }] : []));
|
|
39
39
|
/**
|
|
40
40
|
* 步骤条中每个步骤的label文本
|
|
41
41
|
*/
|
|
42
|
-
this.thyLabel = input();
|
|
42
|
+
this.thyLabel = input(...(ngDevMode ? [undefined, { debugName: "thyLabel" }] : []));
|
|
43
43
|
/**
|
|
44
44
|
* 步骤条中每个步骤完成的图标
|
|
45
45
|
* @default check-circle
|
|
46
46
|
*/
|
|
47
|
-
this.thyIcon = input();
|
|
47
|
+
this.thyIcon = input(...(ngDevMode ? [undefined, { debugName: "thyIcon" }] : []));
|
|
48
48
|
}
|
|
49
49
|
select() {
|
|
50
50
|
this.stepper.updateSelected(this);
|
|
51
51
|
}
|
|
52
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
53
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "
|
|
52
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: ThyStep, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
53
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "20.3.10", type: ThyStep, isStandalone: true, selector: "thy-step", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, thyLabel: { classPropertyName: "thyLabel", publicName: "thyLabel", isSignal: true, isRequired: false, transformFunction: null }, thyIcon: { classPropertyName: "thyIcon", publicName: "thyIcon", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "content", first: true, predicate: TemplateRef, descendants: true, isSignal: true }], ngImport: i0, template: "<ng-template><ng-content></ng-content></ng-template>\n" }); }
|
|
54
54
|
}
|
|
55
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
55
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: ThyStep, decorators: [{
|
|
56
56
|
type: Component,
|
|
57
57
|
args: [{ selector: 'thy-step', template: "<ng-template><ng-content></ng-content></ng-template>\n" }]
|
|
58
|
-
}] });
|
|
58
|
+
}], propDecorators: { content: [{ type: i0.ViewChild, args: [i0.forwardRef(() => TemplateRef), { isSignal: true }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], thyLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "thyLabel", required: false }] }], thyIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "thyIcon", required: false }] }] } });
|
|
59
59
|
|
|
60
60
|
/**
|
|
61
61
|
* 步骤条组件
|
|
@@ -67,19 +67,19 @@ class ThyStepper {
|
|
|
67
67
|
/**
|
|
68
68
|
* 当前处于激活状态的步骤 index
|
|
69
69
|
*/
|
|
70
|
-
this.thySelectedIndex = input(0, { transform: numberAttribute });
|
|
70
|
+
this.thySelectedIndex = input(0, ...(ngDevMode ? [{ debugName: "thySelectedIndex", transform: numberAttribute }] : [{ transform: numberAttribute }]));
|
|
71
71
|
/**
|
|
72
72
|
* 当前处于激活状态的步骤实例
|
|
73
73
|
*/
|
|
74
|
-
this.thySelected = input();
|
|
74
|
+
this.thySelected = input(...(ngDevMode ? [undefined, { debugName: "thySelected" }] : []));
|
|
75
75
|
/**
|
|
76
76
|
* 步骤条导航是否展示,默认展示
|
|
77
77
|
*/
|
|
78
|
-
this.thyShowStepHeader = input(true, { transform: coerceBooleanProperty });
|
|
78
|
+
this.thyShowStepHeader = input(true, ...(ngDevMode ? [{ debugName: "thyShowStepHeader", transform: coerceBooleanProperty }] : [{ transform: coerceBooleanProperty }]));
|
|
79
79
|
this.selectionChange = output();
|
|
80
|
-
this.steps = contentChildren(ThyStep);
|
|
81
|
-
this.selectedIndex = signal(0);
|
|
82
|
-
this.selected = computed(() => this.steps()?.[this.selectedIndex()]);
|
|
80
|
+
this.steps = contentChildren(ThyStep, ...(ngDevMode ? [{ debugName: "steps" }] : []));
|
|
81
|
+
this.selectedIndex = signal(0, ...(ngDevMode ? [{ debugName: "selectedIndex" }] : []));
|
|
82
|
+
this.selected = computed(() => this.steps()?.[this.selectedIndex()], ...(ngDevMode ? [{ debugName: "selected" }] : []));
|
|
83
83
|
effect(() => {
|
|
84
84
|
const newIndex = this.thySelectedIndex();
|
|
85
85
|
if (newIndex) {
|
|
@@ -128,13 +128,13 @@ class ThyStepper {
|
|
|
128
128
|
previous() {
|
|
129
129
|
this.updateSelectedIndex(Math.max(this.selectedIndex() - 1, 0));
|
|
130
130
|
}
|
|
131
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
132
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
131
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: ThyStepper, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
132
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.10", type: ThyStepper, isStandalone: true, selector: "thy-stepper", inputs: { thySelectedIndex: { classPropertyName: "thySelectedIndex", publicName: "thySelectedIndex", isSignal: true, isRequired: false, transformFunction: null }, thySelected: { classPropertyName: "thySelected", publicName: "thySelected", isSignal: true, isRequired: false, transformFunction: null }, thyShowStepHeader: { classPropertyName: "thyShowStepHeader", publicName: "thyShowStepHeader", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { selectionChange: "selectionChange" }, host: { classAttribute: "thy-stepper" }, providers: [{ provide: THY_STEPPER_COMPONENT, useExisting: ThyStepper }], queries: [{ propertyName: "steps", predicate: ThyStep, isSignal: true }], ngImport: i0, template: "@if (thyShowStepHeader()) {\n <div class=\"thy-stepper-header-container\">\n @for (step of steps(); track $index; let i = $index; let isLast = $last) {\n <thy-step-header\n [index]=\"i\"\n [label]=\"step.thyLabel() || step.label()\"\n [icon]=\"step.thyIcon()\"\n [selected]=\"selectedIndex() === i\"\n [class.thy-stepper-header-active]=\"i <= selectedIndex()\"\n [active]=\"i <= selectedIndex()\">\n </thy-step-header>\n @if (!isLast) {\n <div class=\"thy-stepper-line\" [class.thy-stepper-line-active]=\"i < selectedIndex()\"></div>\n }\n }\n </div>\n}\n\n<div class=\"thy-stepper-content-container\">\n <ng-container [ngTemplateOutlet]=\"selected()?.content()\"></ng-container>\n</div>\n\n ", dependencies: [{ kind: "component", type: ThyStepHeader, selector: "thy-step-header", inputs: ["label", "icon", "index", "selected", "active"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
133
133
|
}
|
|
134
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
134
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: ThyStepper, decorators: [{
|
|
135
135
|
type: Component,
|
|
136
136
|
args: [{ selector: 'thy-stepper', providers: [{ provide: THY_STEPPER_COMPONENT, useExisting: ThyStepper }], imports: [ThyStepHeader, NgTemplateOutlet], changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'thy-stepper' }, template: "@if (thyShowStepHeader()) {\n <div class=\"thy-stepper-header-container\">\n @for (step of steps(); track $index; let i = $index; let isLast = $last) {\n <thy-step-header\n [index]=\"i\"\n [label]=\"step.thyLabel() || step.label()\"\n [icon]=\"step.thyIcon()\"\n [selected]=\"selectedIndex() === i\"\n [class.thy-stepper-header-active]=\"i <= selectedIndex()\"\n [active]=\"i <= selectedIndex()\">\n </thy-step-header>\n @if (!isLast) {\n <div class=\"thy-stepper-line\" [class.thy-stepper-line-active]=\"i < selectedIndex()\"></div>\n }\n }\n </div>\n}\n\n<div class=\"thy-stepper-content-container\">\n <ng-container [ngTemplateOutlet]=\"selected()?.content()\"></ng-container>\n</div>\n\n " }]
|
|
137
|
-
}], ctorParameters: () => [] });
|
|
137
|
+
}], ctorParameters: () => [], propDecorators: { thySelectedIndex: [{ type: i0.Input, args: [{ isSignal: true, alias: "thySelectedIndex", required: false }] }], thySelected: [{ type: i0.Input, args: [{ isSignal: true, alias: "thySelected", required: false }] }], thyShowStepHeader: [{ type: i0.Input, args: [{ isSignal: true, alias: "thyShowStepHeader", required: false }] }], selectionChange: [{ type: i0.Output, args: ["selectionChange"] }], steps: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => ThyStep), { isSignal: true }] }] } });
|
|
138
138
|
|
|
139
139
|
/**
|
|
140
140
|
* 在步进工作流中移动到下一个步骤的按钮
|
|
@@ -149,10 +149,10 @@ class ThyStepperNextDirective {
|
|
|
149
149
|
click($event) {
|
|
150
150
|
this.stepper.next();
|
|
151
151
|
}
|
|
152
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
153
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
152
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: ThyStepperNextDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
153
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.10", type: ThyStepperNextDirective, isStandalone: true, selector: "[thyStepperNext]", host: { listeners: { "click": "click($event)" } }, ngImport: i0 }); }
|
|
154
154
|
}
|
|
155
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
155
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: ThyStepperNextDirective, decorators: [{
|
|
156
156
|
type: Directive,
|
|
157
157
|
args: [{
|
|
158
158
|
selector: '[thyStepperNext]'
|
|
@@ -174,10 +174,10 @@ class ThyStepperPreviousDirective {
|
|
|
174
174
|
click($event) {
|
|
175
175
|
this.stepper.previous();
|
|
176
176
|
}
|
|
177
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
178
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
177
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: ThyStepperPreviousDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
178
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.10", type: ThyStepperPreviousDirective, isStandalone: true, selector: "[thyStepperPrevious]", host: { listeners: { "click": "click($event)" } }, ngImport: i0 }); }
|
|
179
179
|
}
|
|
180
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
180
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: ThyStepperPreviousDirective, decorators: [{
|
|
181
181
|
type: Directive,
|
|
182
182
|
args: [{
|
|
183
183
|
selector: '[thyStepperPrevious]'
|
|
@@ -188,11 +188,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.8", ngImpor
|
|
|
188
188
|
}] } });
|
|
189
189
|
|
|
190
190
|
class ThyStepperModule {
|
|
191
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
192
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
193
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
191
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: ThyStepperModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
192
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.10", ngImport: i0, type: ThyStepperModule, imports: [CommonModule, ThyStepHeader, ThyStepper, ThyStep, ThyStepperNextDirective, ThyStepperPreviousDirective], exports: [ThyStepper, ThyStep, ThyStepHeader, ThyStepperNextDirective, ThyStepperPreviousDirective] }); }
|
|
193
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: ThyStepperModule, imports: [CommonModule, ThyStepHeader, ThyStepper] }); }
|
|
194
194
|
}
|
|
195
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
195
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: ThyStepperModule, decorators: [{
|
|
196
196
|
type: NgModule,
|
|
197
197
|
args: [{
|
|
198
198
|
imports: [CommonModule, ThyStepHeader, ThyStepper, ThyStep, ThyStepperNextDirective, ThyStepperPreviousDirective],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ngx-tethys-stepper.mjs","sources":["../../../src/stepper/step-header.component.ts","../../../src/stepper/step-header.component.html","../../../src/stepper/step.component.ts","../../../src/stepper/step.component.html","../../../src/stepper/stepper.component.ts","../../../src/stepper/stepper.component.html","../../../src/stepper/stepper-button.directive.ts","../../../src/stepper/stepper.module.ts","../../../src/stepper/ngx-tethys-stepper.ts"],"sourcesContent":["import { ThyIcon } from 'ngx-tethys/icon';\nimport { coerceBooleanProperty } from 'ngx-tethys/util';\n\nimport { Component, HostBinding, Input, numberAttribute, input, ChangeDetectionStrategy } from '@angular/core';\n\n/**\n * 步骤条头部组件\n * @name thy-step-header\n * @order 25\n */\n@Component({\n selector: 'thy-step-header',\n templateUrl: './step-header.component.html',\n imports: [ThyIcon],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { class: 'thy-stepper-header' }\n})\nexport class ThyStepHeader {\n readonly label = input<string>();\n\n readonly icon = input<string>();\n\n readonly index = input<number, unknown>(undefined, { transform: numberAttribute });\n\n readonly selected = input(false, { transform: coerceBooleanProperty });\n\n readonly active = input(false, { transform: coerceBooleanProperty });\n}\n","<div class=\"thy-step-number\">\n <span>{{ index() + 1 }}</span>\n</div>\n<thy-icon class=\"thy-step-icon\" [thyIconName]=\"icon() || 'check-circle'\"></thy-icon>\n<div class=\"thy-step-label\">{{ label() }}</div>\n","import { Component, InjectionToken, TemplateRef, ViewChild, inject, input, WritableSignal, viewChild } from '@angular/core';\n\nexport interface IThyStepperComponent {\n updateSelected(step: ThyStep): void;\n}\n\nexport const THY_STEPPER_COMPONENT = new InjectionToken<IThyStepperComponent>('THY_STEPPER_COMPONENT');\n\n/**\n * 步骤项组件\n * @name thy-step\n * @order 20\n */\n@Component({ selector: 'thy-step', templateUrl: './step.component.html' })\nexport class ThyStep {\n stepper = inject(THY_STEPPER_COMPONENT, { optional: true })!;\n\n readonly content = viewChild<TemplateRef<any>>(TemplateRef);\n\n readonly label = input<string>();\n\n /**\n * 步骤条中每个步骤的label文本\n */\n readonly thyLabel = input<string>();\n\n /**\n * 步骤条中每个步骤完成的图标\n * @default check-circle\n */\n readonly thyIcon = input<string>();\n\n select() {\n this.stepper.updateSelected(this);\n }\n}\n","<ng-template><ng-content></ng-content></ng-template>\n","import {\n Component,\n numberAttribute,\n viewChildren,\n output,\n contentChildren,\n input,\n computed,\n effect,\n ChangeDetectionStrategy,\n signal,\n untracked\n} from '@angular/core';\nimport { ThyStep, IThyStepperComponent, THY_STEPPER_COMPONENT } from './step.component';\nimport { ThyStepHeader } from './step-header.component';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { coerceBooleanProperty } from 'ngx-tethys/util';\n\n/**\n * 步骤条组件\n * @name thy-stepper\n * @order 10\n */\n@Component({\n selector: 'thy-stepper',\n templateUrl: 'stepper.component.html',\n providers: [{ provide: THY_STEPPER_COMPONENT, useExisting: ThyStepper }],\n imports: [ThyStepHeader, NgTemplateOutlet],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { class: 'thy-stepper' }\n})\nexport class ThyStepper implements IThyStepperComponent {\n /**\n * 当前处于激活状态的步骤 index\n */\n readonly thySelectedIndex = input<number, unknown>(0, { transform: numberAttribute });\n\n /**\n * 当前处于激活状态的步骤实例\n */\n readonly thySelected = input<ThyStep>();\n\n /**\n * 步骤条导航是否展示,默认展示\n */\n readonly thyShowStepHeader = input(true, { transform: coerceBooleanProperty });\n\n readonly selectionChange = output<any>();\n\n readonly steps = contentChildren(ThyStep);\n\n readonly selectedIndex = signal(0);\n\n protected readonly selected = computed(() => this.steps()?.[this.selectedIndex()]);\n\n constructor() {\n effect(() => {\n const newIndex = this.thySelectedIndex();\n if (newIndex) {\n untracked(() => {\n this.updateSelectedIndex(newIndex);\n });\n }\n });\n\n effect(() => {\n const selected = this.thySelected();\n if (selected) {\n untracked(() => {\n const index = this.steps()?.indexOf(selected);\n if (index > -1) {\n this.updateSelectedIndex(index);\n }\n });\n }\n });\n }\n\n private updateSelectedIndex(newIndex: number): void {\n if (!this.steps()?.[newIndex]) {\n return;\n }\n const previouslySelectedIndex = this.selectedIndex();\n const previouslySelectedStep = this.steps() ? this.steps()[previouslySelectedIndex] : null;\n this.selectedIndex.set(newIndex);\n this.selectionChange.emit({\n selectedIndex: newIndex,\n previouslySelectedIndex: previouslySelectedIndex,\n selectedStep: this.selected(),\n previouslySelectedStep: previouslySelectedStep\n });\n }\n\n updateSelected(step: ThyStep): void {\n const index = this.steps().indexOf(step);\n this.updateSelectedIndex(index);\n }\n\n to(index: number): void {\n this.updateSelectedIndex(Math.min(index, this.steps().length - 1));\n }\n\n next(): void {\n this.updateSelectedIndex(Math.min(this.selectedIndex() + 1, this.steps().length - 1));\n }\n\n /** Selects and focuses the previous step in list. */\n previous(): void {\n this.updateSelectedIndex(Math.max(this.selectedIndex() - 1, 0));\n }\n}\n","@if (thyShowStepHeader()) {\n <div class=\"thy-stepper-header-container\">\n @for (step of steps(); track $index; let i = $index; let isLast = $last) {\n <thy-step-header\n [index]=\"i\"\n [label]=\"step.thyLabel() || step.label()\"\n [icon]=\"step.thyIcon()\"\n [selected]=\"selectedIndex() === i\"\n [class.thy-stepper-header-active]=\"i <= selectedIndex()\"\n [active]=\"i <= selectedIndex()\">\n </thy-step-header>\n @if (!isLast) {\n <div class=\"thy-stepper-line\" [class.thy-stepper-line-active]=\"i < selectedIndex()\"></div>\n }\n }\n </div>\n}\n\n<div class=\"thy-stepper-content-container\">\n <ng-container [ngTemplateOutlet]=\"selected()?.content()\"></ng-container>\n</div>\n\n ","import { Directive, HostListener, inject } from '@angular/core';\nimport { ThyStepper } from './stepper.component';\n\n/**\n * 在步进工作流中移动到下一个步骤的按钮\n * @description.en-us Button that moves to the next step in a stepper workflow.\n * @name thyStepperNext\n * @order 40\n */\n@Directive({\n selector: '[thyStepperNext]'\n})\nexport class ThyStepperNextDirective {\n private stepper = inject(ThyStepper);\n\n @HostListener('click', ['$event'])\n click($event: any) {\n this.stepper.next();\n }\n}\n\n/**\n * 在步进工作流中移动到上一个步骤的按钮\n * @description.en-us Button that moves to the previous step in a stepper workflow.\n * @name thyStepperPrevious\n * @order 30\n */\n@Directive({\n selector: '[thyStepperPrevious]'\n})\nexport class ThyStepperPreviousDirective {\n private stepper = inject(ThyStepper);\n\n @HostListener('click', ['$event'])\n click($event: any) {\n this.stepper.previous();\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ThyStepHeader } from './step-header.component';\nimport { ThyStep } from './step.component';\nimport { ThyStepper } from './stepper.component';\nimport { ThyStepperNextDirective, ThyStepperPreviousDirective } from './stepper-button.directive';\n\n@NgModule({\n imports: [CommonModule, ThyStepHeader, ThyStepper, ThyStep, ThyStepperNextDirective, ThyStepperPreviousDirective],\n exports: [ThyStepper, ThyStep, ThyStepHeader, ThyStepperNextDirective, ThyStepperPreviousDirective],\n providers: []\n})\nexport class ThyStepperModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAKA;;;;AAIG;MAQU,aAAa,CAAA;AAP1B,IAAA,WAAA,GAAA;QAQa,IAAK,CAAA,KAAA,GAAG,KAAK,EAAU;QAEvB,IAAI,CAAA,IAAA,GAAG,KAAK,EAAU;QAEtB,IAAK,CAAA,KAAA,GAAG,KAAK,CAAkB,SAAS,EAAE,EAAE,SAAS,EAAE,eAAe,EAAE,CAAC;QAEzE,IAAQ,CAAA,QAAA,GAAG,KAAK,CAAC,KAAK,EAAE,EAAE,SAAS,EAAE,qBAAqB,EAAE,CAAC;QAE7D,IAAM,CAAA,MAAA,GAAG,KAAK,CAAC,KAAK,EAAE,EAAE,SAAS,EAAE,qBAAqB,EAAE,CAAC;AACvE;8GAVY,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAb,aAAa,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,iBAAA,EAAA,MAAA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;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"ngx-tethys-stepper.mjs","sources":["../../../src/stepper/step-header.component.ts","../../../src/stepper/step-header.component.html","../../../src/stepper/step.component.ts","../../../src/stepper/step.component.html","../../../src/stepper/stepper.component.ts","../../../src/stepper/stepper.component.html","../../../src/stepper/stepper-button.directive.ts","../../../src/stepper/stepper.module.ts","../../../src/stepper/ngx-tethys-stepper.ts"],"sourcesContent":["import { ThyIcon } from 'ngx-tethys/icon';\nimport { coerceBooleanProperty } from 'ngx-tethys/util';\n\nimport { Component, HostBinding, Input, numberAttribute, input, ChangeDetectionStrategy } from '@angular/core';\n\n/**\n * 步骤条头部组件\n * @name thy-step-header\n * @order 25\n */\n@Component({\n selector: 'thy-step-header',\n templateUrl: './step-header.component.html',\n imports: [ThyIcon],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { class: 'thy-stepper-header' }\n})\nexport class ThyStepHeader {\n readonly label = input<string>();\n\n readonly icon = input<string>();\n\n readonly index = input<number, unknown>(undefined, { transform: numberAttribute });\n\n readonly selected = input(false, { transform: coerceBooleanProperty });\n\n readonly active = input(false, { transform: coerceBooleanProperty });\n}\n","<div class=\"thy-step-number\">\n <span>{{ index() + 1 }}</span>\n</div>\n<thy-icon class=\"thy-step-icon\" [thyIconName]=\"icon() || 'check-circle'\"></thy-icon>\n<div class=\"thy-step-label\">{{ label() }}</div>\n","import { Component, InjectionToken, TemplateRef, ViewChild, inject, input, WritableSignal, viewChild } from '@angular/core';\n\nexport interface IThyStepperComponent {\n updateSelected(step: ThyStep): void;\n}\n\nexport const THY_STEPPER_COMPONENT = new InjectionToken<IThyStepperComponent>('THY_STEPPER_COMPONENT');\n\n/**\n * 步骤项组件\n * @name thy-step\n * @order 20\n */\n@Component({ selector: 'thy-step', templateUrl: './step.component.html' })\nexport class ThyStep {\n stepper = inject(THY_STEPPER_COMPONENT, { optional: true })!;\n\n readonly content = viewChild<TemplateRef<any>>(TemplateRef);\n\n readonly label = input<string>();\n\n /**\n * 步骤条中每个步骤的label文本\n */\n readonly thyLabel = input<string>();\n\n /**\n * 步骤条中每个步骤完成的图标\n * @default check-circle\n */\n readonly thyIcon = input<string>();\n\n select() {\n this.stepper.updateSelected(this);\n }\n}\n","<ng-template><ng-content></ng-content></ng-template>\n","import {\n Component,\n numberAttribute,\n viewChildren,\n output,\n contentChildren,\n input,\n computed,\n effect,\n ChangeDetectionStrategy,\n signal,\n untracked\n} from '@angular/core';\nimport { ThyStep, IThyStepperComponent, THY_STEPPER_COMPONENT } from './step.component';\nimport { ThyStepHeader } from './step-header.component';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { coerceBooleanProperty } from 'ngx-tethys/util';\n\n/**\n * 步骤条组件\n * @name thy-stepper\n * @order 10\n */\n@Component({\n selector: 'thy-stepper',\n templateUrl: 'stepper.component.html',\n providers: [{ provide: THY_STEPPER_COMPONENT, useExisting: ThyStepper }],\n imports: [ThyStepHeader, NgTemplateOutlet],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { class: 'thy-stepper' }\n})\nexport class ThyStepper implements IThyStepperComponent {\n /**\n * 当前处于激活状态的步骤 index\n */\n readonly thySelectedIndex = input<number, unknown>(0, { transform: numberAttribute });\n\n /**\n * 当前处于激活状态的步骤实例\n */\n readonly thySelected = input<ThyStep>();\n\n /**\n * 步骤条导航是否展示,默认展示\n */\n readonly thyShowStepHeader = input(true, { transform: coerceBooleanProperty });\n\n readonly selectionChange = output<any>();\n\n readonly steps = contentChildren(ThyStep);\n\n readonly selectedIndex = signal(0);\n\n protected readonly selected = computed(() => this.steps()?.[this.selectedIndex()]);\n\n constructor() {\n effect(() => {\n const newIndex = this.thySelectedIndex();\n if (newIndex) {\n untracked(() => {\n this.updateSelectedIndex(newIndex);\n });\n }\n });\n\n effect(() => {\n const selected = this.thySelected();\n if (selected) {\n untracked(() => {\n const index = this.steps()?.indexOf(selected);\n if (index > -1) {\n this.updateSelectedIndex(index);\n }\n });\n }\n });\n }\n\n private updateSelectedIndex(newIndex: number): void {\n if (!this.steps()?.[newIndex]) {\n return;\n }\n const previouslySelectedIndex = this.selectedIndex();\n const previouslySelectedStep = this.steps() ? this.steps()[previouslySelectedIndex] : null;\n this.selectedIndex.set(newIndex);\n this.selectionChange.emit({\n selectedIndex: newIndex,\n previouslySelectedIndex: previouslySelectedIndex,\n selectedStep: this.selected(),\n previouslySelectedStep: previouslySelectedStep\n });\n }\n\n updateSelected(step: ThyStep): void {\n const index = this.steps().indexOf(step);\n this.updateSelectedIndex(index);\n }\n\n to(index: number): void {\n this.updateSelectedIndex(Math.min(index, this.steps().length - 1));\n }\n\n next(): void {\n this.updateSelectedIndex(Math.min(this.selectedIndex() + 1, this.steps().length - 1));\n }\n\n /** Selects and focuses the previous step in list. */\n previous(): void {\n this.updateSelectedIndex(Math.max(this.selectedIndex() - 1, 0));\n }\n}\n","@if (thyShowStepHeader()) {\n <div class=\"thy-stepper-header-container\">\n @for (step of steps(); track $index; let i = $index; let isLast = $last) {\n <thy-step-header\n [index]=\"i\"\n [label]=\"step.thyLabel() || step.label()\"\n [icon]=\"step.thyIcon()\"\n [selected]=\"selectedIndex() === i\"\n [class.thy-stepper-header-active]=\"i <= selectedIndex()\"\n [active]=\"i <= selectedIndex()\">\n </thy-step-header>\n @if (!isLast) {\n <div class=\"thy-stepper-line\" [class.thy-stepper-line-active]=\"i < selectedIndex()\"></div>\n }\n }\n </div>\n}\n\n<div class=\"thy-stepper-content-container\">\n <ng-container [ngTemplateOutlet]=\"selected()?.content()\"></ng-container>\n</div>\n\n ","import { Directive, HostListener, inject } from '@angular/core';\nimport { ThyStepper } from './stepper.component';\n\n/**\n * 在步进工作流中移动到下一个步骤的按钮\n * @description.en-us Button that moves to the next step in a stepper workflow.\n * @name thyStepperNext\n * @order 40\n */\n@Directive({\n selector: '[thyStepperNext]'\n})\nexport class ThyStepperNextDirective {\n private stepper = inject(ThyStepper);\n\n @HostListener('click', ['$event'])\n click($event: any) {\n this.stepper.next();\n }\n}\n\n/**\n * 在步进工作流中移动到上一个步骤的按钮\n * @description.en-us Button that moves to the previous step in a stepper workflow.\n * @name thyStepperPrevious\n * @order 30\n */\n@Directive({\n selector: '[thyStepperPrevious]'\n})\nexport class ThyStepperPreviousDirective {\n private stepper = inject(ThyStepper);\n\n @HostListener('click', ['$event'])\n click($event: any) {\n this.stepper.previous();\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ThyStepHeader } from './step-header.component';\nimport { ThyStep } from './step.component';\nimport { ThyStepper } from './stepper.component';\nimport { ThyStepperNextDirective, ThyStepperPreviousDirective } from './stepper-button.directive';\n\n@NgModule({\n imports: [CommonModule, ThyStepHeader, ThyStepper, ThyStep, ThyStepperNextDirective, ThyStepperPreviousDirective],\n exports: [ThyStepper, ThyStep, ThyStepHeader, ThyStepperNextDirective, ThyStepperPreviousDirective],\n providers: []\n})\nexport class ThyStepperModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAKA;;;;AAIG;MAQU,aAAa,CAAA;AAP1B,IAAA,WAAA,GAAA;QAQa,IAAA,CAAA,KAAK,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,OAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAU;QAEvB,IAAA,CAAA,IAAI,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,MAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAU;AAEtB,QAAA,IAAA,CAAA,KAAK,GAAG,KAAK,CAAkB,SAAS,yCAAI,SAAS,EAAE,eAAe,EAAA,CAAA,GAAA,CAA5B,EAAE,SAAS,EAAE,eAAe,EAAE,GAAC;AAEzE,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAC,KAAK,4CAAI,SAAS,EAAE,qBAAqB,EAAA,CAAA,GAAA,CAAlC,EAAE,SAAS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