ngx-tethys 19.0.12 → 19.1.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 +21 -0
- package/action/action.component.d.ts +2 -2
- package/alert/alert.component.d.ts +1 -1
- package/anchor/anchor-link.component.d.ts +8 -8
- package/anchor/anchor.component.d.ts +15 -21
- package/arrow-switcher/arrow-switcher.component.d.ts +15 -22
- package/autocomplete/autocomplete.component.d.ts +10 -17
- package/autocomplete/autocomplete.trigger.directive.d.ts +10 -18
- package/avatar/avatar-list/avatar-list.component.d.ts +1 -1
- package/avatar/avatar.component.d.ts +5 -5
- package/back-top/back-top.component.d.ts +9 -12
- package/badge/badge.component.d.ts +19 -59
- package/breadcrumb/breadcrumb.component.d.ts +15 -20
- package/button/button-icon.component.d.ts +3 -2
- package/button/button.component.d.ts +3 -2
- package/calendar/calendar-header.component.d.ts +9 -8
- package/calendar/calendar.component.d.ts +16 -16
- package/card/card.component.d.ts +5 -11
- package/card/content.component.d.ts +3 -8
- package/card/header.component.d.ts +7 -8
- package/carousel/carousel.component.d.ts +22 -27
- package/cascader/cascader-li.component.d.ts +13 -21
- package/cascader/cascader-search-option.component.d.ts +8 -16
- package/cascader/cascader.component.d.ts +58 -80
- package/checkbox/checkbox.component.d.ts +2 -5
- package/collapse/collapse-item.component.d.ts +12 -19
- package/collapse/collapse.component.d.ts +6 -12
- package/collapse/collapse.token.d.ts +3 -3
- package/color-picker/color-picker-custom-panel.component.d.ts +5 -5
- package/color-picker/color-picker-panel.component.d.ts +7 -11
- package/color-picker/color-picker.component.d.ts +19 -35
- package/color-picker/parts/alpha/alpha.component.d.ts +8 -8
- package/color-picker/parts/hue/hue.component.d.ts +6 -6
- package/color-picker/parts/indicator/indicator.component.d.ts +4 -3
- package/color-picker/parts/inputs/inputs.component.d.ts +9 -9
- package/color-picker/parts/saturation/saturation.component.d.ts +9 -9
- package/comment/comment.component.d.ts +4 -5
- package/copy/copy.directive.d.ts +8 -9
- package/date-picker/abstract-picker.component.d.ts +8 -7
- package/date-picker/lib/calendar/calendar-footer.component.d.ts +2 -1
- package/date-picker/lib/popups/inner-popup.component.d.ts +2 -1
- package/date-picker/picker.component.d.ts +2 -1
- package/date-range/date-range.component.d.ts +2 -2
- package/dialog/body/dialog-body.component.d.ts +2 -6
- package/dialog/confirm/confirm.component.d.ts +2 -2
- package/dialog/footer/dialog-footer.component.d.ts +6 -9
- package/dialog/header/dialog-header.component.d.ts +9 -11
- package/divider/divider.component.d.ts +12 -16
- package/dot/dot.component.d.ts +5 -13
- package/drag-drop/drag-handle.directive.d.ts +2 -1
- package/drag-drop/drag.directive.d.ts +2 -1
- package/drag-drop/drop-container.directive.d.ts +2 -1
- package/dropdown/dropdown-menu-item.directive.d.ts +3 -2
- package/dropdown/dropdown-menu.component.d.ts +2 -1
- package/dropdown/dropdown.directive.d.ts +2 -1
- package/empty/empty.component.d.ts +21 -27
- package/fesm2022/ngx-tethys-anchor.mjs +91 -118
- package/fesm2022/ngx-tethys-anchor.mjs.map +1 -1
- package/fesm2022/ngx-tethys-arrow-switcher.mjs +51 -77
- package/fesm2022/ngx-tethys-arrow-switcher.mjs.map +1 -1
- package/fesm2022/ngx-tethys-autocomplete.mjs +69 -103
- package/fesm2022/ngx-tethys-autocomplete.mjs.map +1 -1
- package/fesm2022/ngx-tethys-avatar.mjs.map +1 -1
- package/fesm2022/ngx-tethys-back-top.mjs +33 -46
- package/fesm2022/ngx-tethys-back-top.mjs.map +1 -1
- package/fesm2022/ngx-tethys-badge.mjs +104 -208
- package/fesm2022/ngx-tethys-badge.mjs.map +1 -1
- package/fesm2022/ngx-tethys-breadcrumb.mjs +66 -70
- package/fesm2022/ngx-tethys-breadcrumb.mjs.map +1 -1
- package/fesm2022/ngx-tethys-calendar.mjs +85 -87
- package/fesm2022/ngx-tethys-calendar.mjs.map +1 -1
- package/fesm2022/ngx-tethys-card.mjs +72 -77
- package/fesm2022/ngx-tethys-card.mjs.map +1 -1
- package/fesm2022/ngx-tethys-carousel.mjs +82 -99
- package/fesm2022/ngx-tethys-carousel.mjs.map +1 -1
- package/fesm2022/ngx-tethys-cascader.mjs +313 -468
- package/fesm2022/ngx-tethys-cascader.mjs.map +1 -1
- package/fesm2022/ngx-tethys-checkbox.mjs +10 -17
- package/fesm2022/ngx-tethys-checkbox.mjs.map +1 -1
- package/fesm2022/ngx-tethys-collapse.mjs +66 -71
- package/fesm2022/ngx-tethys-collapse.mjs.map +1 -1
- package/fesm2022/ngx-tethys-color-picker.mjs +187 -246
- package/fesm2022/ngx-tethys-color-picker.mjs.map +1 -1
- package/fesm2022/ngx-tethys-comment.mjs +16 -10
- package/fesm2022/ngx-tethys-comment.mjs.map +1 -1
- package/fesm2022/ngx-tethys-copy.mjs +25 -28
- package/fesm2022/ngx-tethys-copy.mjs.map +1 -1
- package/fesm2022/ngx-tethys-dialog.mjs +81 -82
- package/fesm2022/ngx-tethys-dialog.mjs.map +1 -1
- package/fesm2022/ngx-tethys-divider.mjs +49 -58
- package/fesm2022/ngx-tethys-divider.mjs.map +1 -1
- package/fesm2022/ngx-tethys-dot.mjs +45 -68
- package/fesm2022/ngx-tethys-dot.mjs.map +1 -1
- package/fesm2022/ngx-tethys-empty.mjs +107 -95
- package/fesm2022/ngx-tethys-empty.mjs.map +1 -1
- package/fesm2022/ngx-tethys-form.mjs +161 -200
- package/fesm2022/ngx-tethys-form.mjs.map +1 -1
- package/fesm2022/ngx-tethys-fullscreen.mjs +21 -23
- package/fesm2022/ngx-tethys-fullscreen.mjs.map +1 -1
- package/fesm2022/ngx-tethys-grid.mjs +160 -152
- package/fesm2022/ngx-tethys-grid.mjs.map +1 -1
- package/fesm2022/ngx-tethys-i18n.mjs +25 -25
- package/fesm2022/ngx-tethys-i18n.mjs.map +1 -1
- package/fesm2022/ngx-tethys-input-number.mjs +101 -114
- package/fesm2022/ngx-tethys-input-number.mjs.map +1 -1
- package/fesm2022/ngx-tethys-input.mjs +268 -271
- package/fesm2022/ngx-tethys-input.mjs.map +1 -1
- package/fesm2022/ngx-tethys-loading.mjs +17 -35
- package/fesm2022/ngx-tethys-loading.mjs.map +1 -1
- package/fesm2022/ngx-tethys-mention.mjs +3 -3
- package/fesm2022/ngx-tethys-mention.mjs.map +1 -1
- package/fesm2022/ngx-tethys-menu.mjs +106 -179
- package/fesm2022/ngx-tethys-menu.mjs.map +1 -1
- package/fesm2022/ngx-tethys-nav.mjs +169 -201
- package/fesm2022/ngx-tethys-nav.mjs.map +1 -1
- package/fesm2022/ngx-tethys-pagination.mjs +230 -294
- package/fesm2022/ngx-tethys-pagination.mjs.map +1 -1
- package/fesm2022/ngx-tethys-popover.mjs +67 -70
- package/fesm2022/ngx-tethys-popover.mjs.map +1 -1
- package/fesm2022/ngx-tethys-progress.mjs +196 -244
- package/fesm2022/ngx-tethys-progress.mjs.map +1 -1
- package/fesm2022/ngx-tethys-property.mjs +102 -105
- package/fesm2022/ngx-tethys-property.mjs.map +1 -1
- package/fesm2022/ngx-tethys-radio.mjs +34 -38
- package/fesm2022/ngx-tethys-radio.mjs.map +1 -1
- package/fesm2022/ngx-tethys-result.mjs +46 -28
- package/fesm2022/ngx-tethys-result.mjs.map +1 -1
- package/fesm2022/ngx-tethys-skeleton.mjs +339 -342
- package/fesm2022/ngx-tethys-skeleton.mjs.map +1 -1
- package/fesm2022/ngx-tethys-slider.mjs +75 -108
- package/fesm2022/ngx-tethys-slider.mjs.map +1 -1
- package/fesm2022/ngx-tethys-space.mjs +26 -46
- package/fesm2022/ngx-tethys-space.mjs.map +1 -1
- package/fesm2022/ngx-tethys-statistic.mjs +114 -151
- package/fesm2022/ngx-tethys-statistic.mjs.map +1 -1
- package/fesm2022/ngx-tethys-stepper.mjs +74 -107
- package/fesm2022/ngx-tethys-stepper.mjs.map +1 -1
- package/fesm2022/ngx-tethys-switch.mjs +80 -140
- package/fesm2022/ngx-tethys-switch.mjs.map +1 -1
- package/fesm2022/ngx-tethys-table.mjs +1 -1
- package/fesm2022/ngx-tethys-table.mjs.map +1 -1
- package/fesm2022/ngx-tethys-tabs.mjs +69 -87
- package/fesm2022/ngx-tethys-tabs.mjs.map +1 -1
- package/fesm2022/ngx-tethys-tag.mjs +42 -64
- package/fesm2022/ngx-tethys-tag.mjs.map +1 -1
- package/fesm2022/ngx-tethys-timeline.mjs +104 -129
- package/fesm2022/ngx-tethys-timeline.mjs.map +1 -1
- package/fesm2022/ngx-tethys-typography.mjs +36 -33
- package/fesm2022/ngx-tethys-typography.mjs.map +1 -1
- package/fesm2022/ngx-tethys-upload.mjs +91 -130
- package/fesm2022/ngx-tethys-upload.mjs.map +1 -1
- package/fesm2022/ngx-tethys-util.mjs.map +1 -1
- package/fesm2022/ngx-tethys-watermark.mjs +36 -40
- package/fesm2022/ngx-tethys-watermark.mjs.map +1 -1
- package/fesm2022/ngx-tethys.mjs +1 -1
- package/fesm2022/ngx-tethys.mjs.map +1 -1
- package/form/form-group-error/form-group-error.component.d.ts +2 -3
- package/form/form-group-label.directive.d.ts +2 -1
- package/form/form-group.component.d.ts +17 -24
- package/form/form-submit.directive.d.ts +2 -2
- package/form/form.directive.d.ts +6 -8
- package/form/from-group-footer/form-group-footer.component.d.ts +2 -2
- package/form/validator/confirm-validator.directive.d.ts +2 -2
- package/form/validator/unique-validator.directive.d.ts +2 -2
- package/fullscreen/fullscreen.component.d.ts +7 -7
- package/grid/flex.d.ts +14 -19
- package/grid/thy-col.directive.d.ts +6 -9
- package/grid/thy-grid-item.component.d.ts +3 -4
- package/grid/thy-grid.component.d.ts +11 -12
- package/grid/thy-row.directive.d.ts +12 -12
- package/icon/icon.component.d.ts +3 -2
- package/image/image.directive.d.ts +3 -2
- package/input/input-count.component.d.ts +4 -5
- package/input/input-group.component.d.ts +20 -20
- package/input/input-search.component.d.ts +15 -20
- package/input/input.component.d.ts +20 -21
- package/input/input.directive.d.ts +4 -6
- package/input-number/input-number.component.d.ts +21 -29
- package/layout/header.component.d.ts +4 -9
- package/layout/sidebar-header.component.d.ts +2 -1
- package/layout/sidebar.component.d.ts +8 -7
- package/list/list.component.d.ts +2 -1
- package/list/selection/selection-list.d.ts +4 -3
- package/loading/loading.component.d.ts +4 -10
- package/mention/mention.directive.d.ts +2 -2
- package/menu/group/menu-group.component.d.ts +16 -33
- package/menu/item/action/menu-item-action.component.d.ts +7 -8
- package/menu/item/icon/menu-item-icon.component.d.ts +2 -2
- package/menu/item/menu-item.component.d.ts +4 -4
- package/menu/item/name/menu-item-name.component.d.ts +2 -3
- package/menu/menu.component.d.ts +3 -7
- package/nav/icon-nav/icon-nav-link.directive.d.ts +3 -7
- package/nav/icon-nav/icon-nav.component.d.ts +3 -8
- package/nav/nav-ink-bar.directive.d.ts +4 -6
- package/nav/nav-item.directive.d.ts +7 -10
- package/nav/nav.component.d.ts +20 -48
- package/package.json +1 -1
- package/pagination/pagination.component.d.ts +48 -109
- package/popover/header/popover-header.component.d.ts +7 -6
- package/popover/popover.directive.d.ts +11 -18
- package/progress/progress-circle.component.d.ts +32 -21
- package/progress/progress-strip.component.d.ts +10 -14
- package/progress/progress.component.d.ts +15 -23
- package/property/examples/single/single.component.scss +6 -0
- package/property/properties.component.d.ts +6 -13
- package/property/property-item.component.d.ts +21 -26
- package/property/styles/properties.scss +124 -52
- package/property-operation/property-operation.component.d.ts +6 -5
- package/radio/button/radio-button.component.d.ts +2 -2
- package/radio/group/radio-group.component.d.ts +8 -7
- package/radio/radio.component.d.ts +2 -2
- package/radio/radio.token.d.ts +2 -2
- package/rate/rate-item.component.d.ts +2 -1
- package/rate/rate.component.d.ts +4 -3
- package/resizable/resizable.directive.d.ts +4 -9
- package/resizable/resize-handle.component.d.ts +2 -1
- package/resizable/resize-handles.component.d.ts +2 -1
- package/result/result.component.d.ts +9 -10
- package/schematics/version.d.ts +1 -1
- package/schematics/version.js +1 -1
- package/segment/segment-item.component.d.ts +2 -1
- package/segment/segment.component.d.ts +2 -1
- package/select/custom-select/custom-select.component.d.ts +11 -10
- package/select/native-select/native-select.component.d.ts +2 -1
- package/shared/base-form-check.component.d.ts +3 -2
- package/shared/directives/thy-autofocus.directive.d.ts +3 -2
- package/shared/directives/thy-scroll.directive.d.ts +2 -1
- package/shared/directives/thy-show.d.ts +2 -1
- package/shared/option/group/option-group.component.d.ts +2 -1
- package/shared/option/list-option/list-option.component.d.ts +2 -7
- package/shared/option/option.component.d.ts +2 -1
- package/shared/select/select-control/select-control.component.d.ts +7 -6
- package/skeleton/skeleton-circle.component.d.ts +16 -19
- package/skeleton/skeleton-rectangle.component.d.ts +20 -23
- package/skeleton/skeleton.component.d.ts +5 -6
- package/skeleton/stylized/bullet-list.component.d.ts +11 -13
- package/skeleton/stylized/list.component.d.ts +10 -12
- package/skeleton/stylized/paragraph.component.d.ts +12 -14
- package/slide/slide-body/slide-body-section.component.d.ts +2 -1
- package/slider/slider.component.d.ts +17 -24
- package/space/space.component.d.ts +8 -8
- package/statistic/statistic.component.d.ts +35 -40
- package/stepper/step-header.component.d.ts +6 -10
- package/stepper/step.component.d.ts +6 -6
- package/stepper/stepper.component.d.ts +15 -20
- package/switch/switch.component.d.ts +24 -35
- package/table/table-column.component.d.ts +6 -5
- package/table/table-skeleton.component.d.ts +3 -10
- package/table/table.component.d.ts +11 -10
- package/tabs/tab-content.component.d.ts +4 -4
- package/tabs/tab.component.d.ts +4 -5
- package/tabs/tabs.component.d.ts +13 -15
- package/tag/tag.component.d.ts +10 -16
- package/time-picker/time-picker-panel.component.d.ts +3 -2
- package/time-picker/time-picker.component.d.ts +6 -5
- package/timeline/timeline-item.component.d.ts +9 -13
- package/timeline/timeline.component.d.ts +13 -17
- package/tooltip/tooltip.directive.d.ts +3 -2
- package/tree/tree-node.component.d.ts +6 -15
- package/tree/tree.component.d.ts +8 -7
- package/tree-select/tree-select.component.d.ts +8 -7
- package/typography/bg-color.directive.d.ts +3 -3
- package/typography/text/text.component.d.ts +2 -2
- package/typography/text-color.directive.d.ts +3 -3
- package/upload/file-drop.directive.d.ts +9 -11
- package/upload/file-select-base.d.ts +6 -10
- package/upload/file-select.component.d.ts +10 -20
- package/util/helpers/helpers.d.ts +2 -1
- package/vote/vote.component.d.ts +4 -3
- package/watermark/watermark.directive.d.ts +7 -9
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,27 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
# [19.1.0-next.0](https://github.com/atinc/ngx-tethys/compare/19.0.12...19.1.0-next.0) (2025-05-23)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **property:** remove oninit to subscribe click #TINFR-1760 ([#3451](https://github.com/atinc/ngx-tethys/issues/3451)) ([e2e81de](https://github.com/atinc/ngx-tethys/commit/e2e81de6dd6d26485b03601430559c526e0fd3b8)), closes [#TINFR-1760](https://github.com/atinc/ngx-tethys/issues/TINFR-1760)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* **badge:** migrate to signal for badge [@wumeimin](https://github.com/wumeimin) ([#3412](https://github.com/atinc/ngx-tethys/issues/3412)) ([79d0b83](https://github.com/atinc/ngx-tethys/commit/79d0b83657b472135b74fa7d7aaa2450f2e26ee7))
|
|
16
|
+
* **calendar:** migrate to signal for calendar [@wumeimin](https://github.com/wumeimin) ([#3411](https://github.com/atinc/ngx-tethys/issues/3411)) ([16b11d2](https://github.com/atinc/ngx-tethys/commit/16b11d285b7fe8a8d81f96f87d6168b726e4dfc2))
|
|
17
|
+
* **colorPicker:** migrate to signal for colorPicker ([#3450](https://github.com/atinc/ngx-tethys/issues/3450)) ([a58d1ae](https://github.com/atinc/ngx-tethys/commit/a58d1ae3c76be93bc8ca98a80a1a1e87b3b7c4a7))
|
|
18
|
+
* **i18n:** unify placeholder and empty text in drop-down components #TINFR-2111 ([#3454](https://github.com/atinc/ngx-tethys/issues/3454)) ([4c166a6](https://github.com/atinc/ngx-tethys/commit/4c166a66bed4f7a1af6bdf26ecbfe19221d4a74d)), closes [#TINFR-2111](https://github.com/atinc/ngx-tethys/issues/TINFR-2111)
|
|
19
|
+
* **menu:** migrate to signal for menu ([#3439](https://github.com/atinc/ngx-tethys/issues/3439)) ([aa865a6](https://github.com/atinc/ngx-tethys/commit/aa865a6214add62db48d1de0737234df21895008))
|
|
20
|
+
* **property:** thy-property-item support single without thy-properties #TINFR-2098 ([#3453](https://github.com/atinc/ngx-tethys/issues/3453)) ([d88df2c](https://github.com/atinc/ngx-tethys/commit/d88df2ca611a6741f6060b1acd4e122347e8ef27)), closes [#TINFR-2098](https://github.com/atinc/ngx-tethys/issues/TINFR-2098)
|
|
21
|
+
* **slider:** migrate to signal for slider ([#3431](https://github.com/atinc/ngx-tethys/issues/3431)) ([02b31f1](https://github.com/atinc/ngx-tethys/commit/02b31f114d35b6b2d222c591122becffc3c69aef))
|
|
22
|
+
* **stepper:** migrate to signal for stepper #TINFR-1774 ([#3417](https://github.com/atinc/ngx-tethys/issues/3417)) ([70d3e96](https://github.com/atinc/ngx-tethys/commit/70d3e961e4f5cfdd48d94bb1f6a3ab20e9d46c37)), closes [#TINFR-1774](https://github.com/atinc/ngx-tethys/issues/TINFR-1774)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
5
26
|
## [19.0.12](https://github.com/atinc/ngx-tethys/compare/19.0.11...19.0.12) (2025-05-14)
|
|
6
27
|
|
|
7
28
|
|
|
@@ -38,11 +38,11 @@ export declare class ThyAction implements OnInit, AfterViewInit, OnChanges, OnDe
|
|
|
38
38
|
/**
|
|
39
39
|
* 操作的图标 Active 状态,设置为 true 时会在 Item 上添加 active class
|
|
40
40
|
*/
|
|
41
|
-
readonly thyActive: import("@angular/core").InputSignalWithTransform<boolean,
|
|
41
|
+
readonly thyActive: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
42
42
|
/**
|
|
43
43
|
* 操作的图标 Active 状态,当 thyActive 和其他指令参数名有冲突时使用 thyActionActive
|
|
44
44
|
*/
|
|
45
|
-
readonly thyActionActive: import("@angular/core").InputSignalWithTransform<boolean,
|
|
45
|
+
readonly thyActionActive: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
46
46
|
/**
|
|
47
47
|
* 操作图标的主题
|
|
48
48
|
* @type fill(背景色填充) | lite(简单文本颜色变化)
|
|
@@ -36,7 +36,7 @@ export declare class ThyAlert {
|
|
|
36
36
|
* 是否显示关闭警告框按钮,默认不显示
|
|
37
37
|
* @default false
|
|
38
38
|
*/
|
|
39
|
-
thyCloseable: import("@angular/core").InputSignalWithTransform<boolean,
|
|
39
|
+
thyCloseable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
40
40
|
/**
|
|
41
41
|
* 警告框自定义操作
|
|
42
42
|
* @type TemplateRef
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ElementRef, OnDestroy, OnInit, TemplateRef } from '@angular/core';
|
|
1
|
+
import { ElementRef, OnDestroy, OnInit, TemplateRef, Signal } from '@angular/core';
|
|
2
2
|
import { IThyAnchorLinkComponent } from './anchor.token';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
/**
|
|
@@ -9,19 +9,19 @@ export declare class ThyAnchorLink implements IThyAnchorLinkComponent, OnInit, O
|
|
|
9
9
|
elementRef: ElementRef<any>;
|
|
10
10
|
private anchorComponent;
|
|
11
11
|
private platform;
|
|
12
|
-
title: string | null
|
|
13
|
-
titleTemplate
|
|
12
|
+
readonly title: Signal<string | null>;
|
|
13
|
+
readonly titleTemplate: Signal<TemplateRef<any>>;
|
|
14
14
|
private hostRenderer;
|
|
15
15
|
/**
|
|
16
16
|
* 锚点链接
|
|
17
17
|
*/
|
|
18
|
-
thyHref: string
|
|
18
|
+
readonly thyHref: import("@angular/core").InputSignal<string>;
|
|
19
19
|
/**
|
|
20
20
|
* 文字内容
|
|
21
21
|
*/
|
|
22
|
-
|
|
23
|
-
thyTemplate: TemplateRef<void
|
|
24
|
-
linkTitle: ElementRef<HTMLAnchorElement
|
|
22
|
+
readonly thyTitle: import("@angular/core").InputSignal<string | TemplateRef<void>>;
|
|
23
|
+
readonly thyTemplate: Signal<TemplateRef<void>>;
|
|
24
|
+
readonly linkTitle: Signal<ElementRef<HTMLAnchorElement>>;
|
|
25
25
|
constructor();
|
|
26
26
|
ngOnInit(): void;
|
|
27
27
|
getLinkTitleElement(): HTMLAnchorElement;
|
|
@@ -30,5 +30,5 @@ export declare class ThyAnchorLink implements IThyAnchorLinkComponent, OnInit, O
|
|
|
30
30
|
goToClick(e: Event): void;
|
|
31
31
|
ngOnDestroy(): void;
|
|
32
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyAnchorLink, never>;
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyAnchorLink, "thy-link,thy-anchor-link", ["thyLink", "thyAnchorLink"], { "thyHref": { "alias": "thyHref"; "required": false; }; "thyTitle": { "alias": "thyTitle"; "required": false; }; }, {}, ["thyTemplate"], ["*"], true, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyAnchorLink, "thy-link,thy-anchor-link", ["thyLink", "thyAnchorLink"], { "thyHref": { "alias": "thyHref"; "required": false; "isSignal": true; }; "thyTitle": { "alias": "thyTitle"; "required": false; "isSignal": true; }; }, {}, ["thyTemplate"], ["*"], true, never>;
|
|
34
34
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterViewInit,
|
|
1
|
+
import { AfterViewInit, ElementRef, OnDestroy, Signal } from '@angular/core';
|
|
2
2
|
import { ThyAnchorLink } from './anchor-link.component';
|
|
3
3
|
import { IThyAnchorComponent } from './anchor.token';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
@@ -6,56 +6,54 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
* 锚点组件
|
|
7
7
|
* @name thy-anchor
|
|
8
8
|
*/
|
|
9
|
-
export declare class ThyAnchor implements IThyAnchorComponent, OnDestroy, AfterViewInit
|
|
9
|
+
export declare class ThyAnchor implements IThyAnchorComponent, OnDestroy, AfterViewInit {
|
|
10
10
|
private document;
|
|
11
11
|
private cdr;
|
|
12
12
|
private platform;
|
|
13
13
|
private zone;
|
|
14
14
|
private renderer;
|
|
15
15
|
private scrollService;
|
|
16
|
-
|
|
16
|
+
readonly ink: Signal<ElementRef<any>>;
|
|
17
17
|
/**
|
|
18
18
|
* 固定模式
|
|
19
19
|
*/
|
|
20
|
-
thyAffix: boolean
|
|
20
|
+
readonly thyAffix: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
21
21
|
/**
|
|
22
22
|
* 锚点区域边界,单位:px
|
|
23
23
|
*/
|
|
24
|
-
thyBounds: number
|
|
24
|
+
readonly thyBounds: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
25
25
|
/**
|
|
26
26
|
* 缓冲的偏移量阈值
|
|
27
27
|
*/
|
|
28
|
-
thyOffsetTop
|
|
28
|
+
readonly thyOffsetTop: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
29
29
|
/**
|
|
30
30
|
* 指定滚动的容器
|
|
31
|
-
* @type string | HTMLElement
|
|
32
31
|
*/
|
|
33
|
-
thyContainer
|
|
32
|
+
readonly thyContainer: import("@angular/core").InputSignal<string | HTMLElement>;
|
|
34
33
|
/**
|
|
35
34
|
* 设置导航方向
|
|
36
|
-
* @type 'vertical' | 'horizontal'
|
|
37
35
|
*/
|
|
38
|
-
thyDirection:
|
|
36
|
+
readonly thyDirection: import("@angular/core").InputSignal<"horizontal" | "vertical">;
|
|
39
37
|
/**
|
|
40
38
|
* 点击项触发
|
|
41
39
|
*/
|
|
42
|
-
readonly thyClick:
|
|
40
|
+
readonly thyClick: import("@angular/core").OutputEmitterRef<ThyAnchorLink>;
|
|
43
41
|
/**
|
|
44
42
|
* 滚动到某锚点时触发
|
|
45
43
|
*/
|
|
46
|
-
readonly thyScroll:
|
|
44
|
+
readonly thyScroll: import("@angular/core").OutputEmitterRef<ThyAnchorLink>;
|
|
47
45
|
visible: boolean;
|
|
48
|
-
wrapperStyle: {
|
|
46
|
+
readonly wrapperStyle: Signal<{
|
|
49
47
|
'max-height': string;
|
|
50
|
-
}
|
|
51
|
-
container
|
|
48
|
+
}>;
|
|
49
|
+
readonly container: Signal<HTMLElement | Window>;
|
|
52
50
|
private links;
|
|
53
51
|
private animating;
|
|
54
52
|
private destroy$;
|
|
55
53
|
private handleScrollTimeoutID;
|
|
56
54
|
registerLink(link: ThyAnchorLink): void;
|
|
57
55
|
unregisterLink(link: ThyAnchorLink): void;
|
|
58
|
-
|
|
56
|
+
constructor();
|
|
59
57
|
ngAfterViewInit(): void;
|
|
60
58
|
ngOnDestroy(): void;
|
|
61
59
|
private warningPrompt;
|
|
@@ -65,10 +63,6 @@ export declare class ThyAnchor implements IThyAnchorComponent, OnDestroy, AfterV
|
|
|
65
63
|
private handleActive;
|
|
66
64
|
private setVisible;
|
|
67
65
|
handleScrollTo(linkComponent: ThyAnchorLink): void;
|
|
68
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
69
66
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyAnchor, never>;
|
|
70
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyAnchor, "thy-anchor", ["thyAnchor"], { "thyAffix": { "alias": "thyAffix"; "required": false; }; "thyBounds": { "alias": "thyBounds"; "required": false; }; "thyOffsetTop": { "alias": "thyOffsetTop"; "required": false; }; "thyContainer": { "alias": "thyContainer"; "required": false; }; "thyDirection": { "alias": "thyDirection"; "required": false; }; }, { "thyClick": "thyClick"; "thyScroll": "thyScroll"; }, never, ["*"], true, never>;
|
|
71
|
-
static ngAcceptInputType_thyAffix: boolean | string | number;
|
|
72
|
-
static ngAcceptInputType_thyBounds: unknown;
|
|
73
|
-
static ngAcceptInputType_thyOffsetTop: unknown;
|
|
67
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyAnchor, "thy-anchor", ["thyAnchor"], { "thyAffix": { "alias": "thyAffix"; "required": false; "isSignal": true; }; "thyBounds": { "alias": "thyBounds"; "required": false; "isSignal": true; }; "thyOffsetTop": { "alias": "thyOffsetTop"; "required": false; "isSignal": true; }; "thyContainer": { "alias": "thyContainer"; "required": false; "isSignal": true; }; "thyDirection": { "alias": "thyDirection"; "required": false; "isSignal": true; }; }, { "thyClick": "thyClick"; "thyScroll": "thyScroll"; }, never, ["*"], true, never>;
|
|
74
68
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Signal, WritableSignal } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export type ThyArrowSwitcherTheme = 'default' | 'lite';
|
|
@@ -11,57 +11,50 @@ export interface ThyArrowSwitcherEvent {
|
|
|
11
11
|
* @name thy-arrow-switcher
|
|
12
12
|
* @order 10
|
|
13
13
|
*/
|
|
14
|
-
export declare class ThyArrowSwitcher implements
|
|
14
|
+
export declare class ThyArrowSwitcher implements ControlValueAccessor {
|
|
15
15
|
private cd;
|
|
16
|
-
|
|
17
|
-
_isSmallSize: boolean;
|
|
18
|
-
total: number;
|
|
19
|
-
theme: ThyArrowSwitcherTheme;
|
|
16
|
+
private disabled;
|
|
20
17
|
/**
|
|
21
18
|
* 点击上一条事件
|
|
22
19
|
*/
|
|
23
|
-
thyPrevious:
|
|
20
|
+
readonly thyPrevious: import("@angular/core").OutputEmitterRef<ThyArrowSwitcherEvent>;
|
|
24
21
|
/**
|
|
25
22
|
* 点击下一条事件
|
|
26
23
|
*/
|
|
27
|
-
thyNext:
|
|
24
|
+
readonly thyNext: import("@angular/core").OutputEmitterRef<ThyArrowSwitcherEvent>;
|
|
28
25
|
/**
|
|
29
26
|
* 设置上一条 Hover Tooltip 提示
|
|
30
27
|
*/
|
|
31
|
-
thyPreviousTooltip: string
|
|
28
|
+
readonly thyPreviousTooltip: import("@angular/core").InputSignal<string>;
|
|
32
29
|
/**
|
|
33
30
|
* 设置下一条 Hover Tooltip 提示
|
|
34
31
|
*/
|
|
35
|
-
thyNextTooltip: string
|
|
32
|
+
readonly thyNextTooltip: import("@angular/core").InputSignal<string>;
|
|
36
33
|
/**
|
|
37
34
|
* 展示主题
|
|
38
35
|
* @type default | lite
|
|
39
|
-
* @default default
|
|
40
36
|
*/
|
|
41
|
-
|
|
37
|
+
readonly thyTheme: import("@angular/core").InputSignal<ThyArrowSwitcherTheme>;
|
|
42
38
|
/**
|
|
43
39
|
* 总条数
|
|
44
40
|
*/
|
|
45
|
-
|
|
41
|
+
readonly thyTotal: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
46
42
|
/**
|
|
47
43
|
* 尺寸大小,默认尺寸为大号,取值为`sm`时展示小号
|
|
48
44
|
*/
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
previousDisabled: boolean
|
|
53
|
-
nextDisabled: boolean
|
|
45
|
+
readonly thySize: import("@angular/core").InputSignal<string>;
|
|
46
|
+
readonly isSmallSize: Signal<boolean>;
|
|
47
|
+
index: WritableSignal<number>;
|
|
48
|
+
readonly previousDisabled: Signal<boolean>;
|
|
49
|
+
readonly nextDisabled: Signal<boolean>;
|
|
54
50
|
private onModelChange;
|
|
55
51
|
private onModelTouched;
|
|
56
|
-
ngOnInit(): void;
|
|
57
52
|
writeValue(value: number): void;
|
|
58
53
|
registerOnChange(fn: () => void): void;
|
|
59
54
|
registerOnTouched(fn: () => void): void;
|
|
60
55
|
setDisabledState(isDisable: boolean): void;
|
|
61
|
-
getDisabled(): void;
|
|
62
56
|
onPreviousClick(event: Event): void;
|
|
63
57
|
onNextClick(event: Event): void;
|
|
64
58
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyArrowSwitcher, never>;
|
|
65
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyArrowSwitcher, "thy-arrow-switcher", never, { "thyPreviousTooltip": { "alias": "thyPreviousTooltip"; "required": false; }; "thyNextTooltip": { "alias": "thyNextTooltip"; "required": false; }; "thyTheme": { "alias": "thyTheme"; "required": false; }; "thyTotal": { "alias": "thyTotal"; "required": false; }; "thySize": { "alias": "thySize"; "required": false; }; }, { "thyPrevious": "thyPrevious"; "thyNext": "thyNext"; }, never, never, true, never>;
|
|
66
|
-
static ngAcceptInputType_thyTotal: unknown;
|
|
59
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyArrowSwitcher, "thy-arrow-switcher", never, { "thyPreviousTooltip": { "alias": "thyPreviousTooltip"; "required": false; "isSignal": true; }; "thyNextTooltip": { "alias": "thyNextTooltip"; "required": false; "isSignal": true; }; "thyTheme": { "alias": "thyTheme"; "required": false; "isSignal": true; }; "thyTotal": { "alias": "thyTotal"; "required": false; "isSignal": true; }; "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; }, { "thyPrevious": "thyPrevious"; "thyNext": "thyNext"; }, never, never, true, never>;
|
|
67
60
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TemplateRef, QueryList, OnInit,
|
|
1
|
+
import { TemplateRef, QueryList, OnInit, OnDestroy, AfterContentInit, ElementRef, Signal } from '@angular/core';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { SelectionModel } from '@angular/cdk/collections';
|
|
4
4
|
import { IThyOptionParentComponent, ThyOption, ThyOptionSelectionChangeEvent } from 'ngx-tethys/shared';
|
|
@@ -31,8 +31,8 @@ export declare class ThyAutocomplete implements IThyOptionParentComponent, OnIni
|
|
|
31
31
|
isOpened: boolean;
|
|
32
32
|
/** Manages active item in option list based on key events. */
|
|
33
33
|
keyManager: ActiveDescendantKeyManager<ThyOption>;
|
|
34
|
-
contentTemplateRef: TemplateRef<any
|
|
35
|
-
optionsContainer: ElementRef<any
|
|
34
|
+
readonly contentTemplateRef: Signal<TemplateRef<any>>;
|
|
35
|
+
readonly optionsContainer: Signal<ElementRef<any>>;
|
|
36
36
|
/**
|
|
37
37
|
* @private
|
|
38
38
|
*/
|
|
@@ -42,34 +42,28 @@ export declare class ThyAutocomplete implements IThyOptionParentComponent, OnIni
|
|
|
42
42
|
* 空选项时的文本
|
|
43
43
|
* @default 没有任何数据
|
|
44
44
|
*/
|
|
45
|
-
thyEmptyText: string
|
|
45
|
+
readonly thyEmptyText: import("@angular/core").InputSignal<string>;
|
|
46
46
|
/**
|
|
47
47
|
* 是否默认高亮第一个选项
|
|
48
|
-
* @type boolean
|
|
49
|
-
* @default false
|
|
50
48
|
*/
|
|
51
|
-
thyAutoActiveFirstOption: boolean
|
|
49
|
+
readonly thyAutoActiveFirstOption: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
52
50
|
/**
|
|
53
51
|
* 被选中时调用,参数包含选中项的 value 值
|
|
54
|
-
* @type EventEmitter<ThyOptionSelectionChangeEvent>
|
|
55
52
|
*/
|
|
56
|
-
thyOptionSelected:
|
|
53
|
+
readonly thyOptionSelected: import("@angular/core").OutputEmitterRef<ThyOptionSelectionChangeEvent>;
|
|
57
54
|
/**
|
|
58
55
|
* 只读,展开下拉菜单的回调
|
|
59
|
-
* @type EventEmitter<void>
|
|
60
56
|
*/
|
|
61
|
-
readonly thyOpened:
|
|
57
|
+
readonly thyOpened: import("@angular/core").OutputEmitterRef<void>;
|
|
62
58
|
/**
|
|
63
59
|
* 只读,关闭下拉菜单的回调
|
|
64
|
-
* @type EventEmitter<void>
|
|
65
60
|
*/
|
|
66
|
-
readonly thyClosed:
|
|
61
|
+
readonly thyClosed: import("@angular/core").OutputEmitterRef<void>;
|
|
67
62
|
/** Emits whenever an option is activated using the keyboard. */
|
|
68
63
|
/**
|
|
69
64
|
* 只读,option 激活状态变化时,调用此函数
|
|
70
|
-
* @type EventEmitter<ThyAutocompleteActivatedEvent>
|
|
71
65
|
*/
|
|
72
|
-
readonly thyOptionActivated:
|
|
66
|
+
readonly thyOptionActivated: import("@angular/core").OutputEmitterRef<ThyAutocompleteActivatedEvent>;
|
|
73
67
|
ngOnInit(): void;
|
|
74
68
|
ngAfterContentInit(): void;
|
|
75
69
|
initKeyManager(): void;
|
|
@@ -81,6 +75,5 @@ export declare class ThyAutocomplete implements IThyOptionParentComponent, OnIni
|
|
|
81
75
|
private setDropDownClass;
|
|
82
76
|
ngOnDestroy(): void;
|
|
83
77
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyAutocomplete, never>;
|
|
84
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyAutocomplete, "thy-autocomplete", never, { "thyEmptyText": { "alias": "thyEmptyText"; "required": false; }; "thyAutoActiveFirstOption": { "alias": "thyAutoActiveFirstOption"; "required": false; }; }, { "thyOptionSelected": "thyOptionSelected"; "thyOpened": "thyOpened"; "thyClosed": "thyClosed"; "thyOptionActivated": "thyOptionActivated"; }, ["options"], ["*"], true, never>;
|
|
85
|
-
static ngAcceptInputType_thyAutoActiveFirstOption: boolean | string | number;
|
|
78
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyAutocomplete, "thy-autocomplete", never, { "thyEmptyText": { "alias": "thyEmptyText"; "required": false; "isSignal": true; }; "thyAutoActiveFirstOption": { "alias": "thyAutoActiveFirstOption"; "required": false; "isSignal": true; }; }, { "thyOptionSelected": "thyOptionSelected"; "thyOpened": "thyOpened"; "thyClosed": "thyClosed"; "thyOptionActivated": "thyOptionActivated"; }, ["options"], ["*"], true, never>;
|
|
86
79
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
|
1
|
+
import { OnDestroy, OnInit, Signal } from '@angular/core';
|
|
2
2
|
import { OverlayRef } from '@angular/cdk/overlay';
|
|
3
3
|
import { ThyPlacement } from 'ngx-tethys/core';
|
|
4
4
|
import { ThyAutocomplete } from './autocomplete.component';
|
|
@@ -21,41 +21,36 @@ export declare class ThyAutocompleteTriggerDirective implements OnInit, OnDestro
|
|
|
21
21
|
private autocompleteRef;
|
|
22
22
|
private readonly closeKeyEventStream;
|
|
23
23
|
private closingActionsSubscription;
|
|
24
|
-
private _autocompleteComponent;
|
|
25
24
|
panelOpened: boolean;
|
|
26
25
|
/**
|
|
27
26
|
* 下拉菜单组件实例。已废弃,请使用 thyAutocomplete
|
|
28
27
|
* @type thyAutocompleteComponent
|
|
29
28
|
* @deprecated
|
|
30
29
|
*/
|
|
31
|
-
|
|
30
|
+
readonly thyAutocompleteComponent: import("@angular/core").InputSignal<ThyAutocomplete>;
|
|
32
31
|
/**
|
|
33
32
|
* 下拉菜单组件实例
|
|
34
33
|
* @type thyAutocompleteComponent
|
|
35
34
|
*/
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
readonly thyAutocomplete: import("@angular/core").InputSignal<ThyAutocomplete>;
|
|
36
|
+
readonly autocompleteComponent: Signal<ThyAutocomplete>;
|
|
38
37
|
/**
|
|
39
38
|
* 弹出框默认 offset
|
|
40
|
-
* @type number
|
|
41
39
|
*/
|
|
42
|
-
thyOffset: number
|
|
40
|
+
readonly thyOffset: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
43
41
|
/**
|
|
44
42
|
* 下拉菜单的宽度,不设置默认与输入框同宽
|
|
45
|
-
* @type number
|
|
46
43
|
*/
|
|
47
|
-
thyAutocompleteWidth: number
|
|
44
|
+
readonly thyAutocompleteWidth: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
48
45
|
/**
|
|
49
46
|
* 下拉菜单的显示位置,'top' | 'topLeft' | 'topRight' | 'bottom' | 'bottomLeft' | 'bottomRight' | 'left' | 'leftTop' | 'leftBottom' | 'right' | 'rightTop' | 'rightBottom'
|
|
50
|
-
* @type string
|
|
51
47
|
*/
|
|
52
|
-
thyPlacement: ThyPlacement
|
|
48
|
+
readonly thyPlacement: import("@angular/core").InputSignal<ThyPlacement>;
|
|
53
49
|
/**
|
|
54
50
|
* 是否允许聚焦时打开下拉菜单
|
|
55
|
-
* @type boolean
|
|
56
51
|
*/
|
|
57
|
-
thyIsFocusOpen: boolean
|
|
58
|
-
|
|
52
|
+
readonly thyIsFocusOpen: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
53
|
+
readonly activeOption: Signal<ThyOption | null>;
|
|
59
54
|
get panelClosingActions(): Observable<ThyOptionSelectionChangeEvent | null>;
|
|
60
55
|
ngOnInit(): void;
|
|
61
56
|
onFocus(): void;
|
|
@@ -78,8 +73,5 @@ export declare class ThyAutocompleteTriggerDirective implements OnInit, OnDestro
|
|
|
78
73
|
private destroyPanel;
|
|
79
74
|
ngOnDestroy(): void;
|
|
80
75
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyAutocompleteTriggerDirective, never>;
|
|
81
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ThyAutocompleteTriggerDirective, "input[thyAutocompleteTrigger], textarea[thyAutocompleteTrigger], thy-input[thyAutocompleteTrigger], thy-input-search[thyAutocompleteTrigger], input[thyAutocomplete], textarea[thyAutocomplete], thy-input[thyAutocomplete], thy-input-search[thyAutocomplete]", ["thyAutocompleteTrigger", "thyAutocomplete"], { "
|
|
82
|
-
static ngAcceptInputType_thyOffset: unknown;
|
|
83
|
-
static ngAcceptInputType_thyAutocompleteWidth: unknown;
|
|
84
|
-
static ngAcceptInputType_thyIsFocusOpen: boolean | string | number;
|
|
76
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ThyAutocompleteTriggerDirective, "input[thyAutocompleteTrigger], textarea[thyAutocompleteTrigger], thy-input[thyAutocompleteTrigger], thy-input-search[thyAutocompleteTrigger], input[thyAutocomplete], textarea[thyAutocomplete], thy-input[thyAutocomplete], thy-input-search[thyAutocomplete]", ["thyAutocompleteTrigger", "thyAutocomplete"], { "thyAutocompleteComponent": { "alias": "thyAutocompleteComponent"; "required": false; "isSignal": true; }; "thyAutocomplete": { "alias": "thyAutocomplete"; "required": false; "isSignal": true; }; "thyOffset": { "alias": "thyOffset"; "required": false; "isSignal": true; }; "thyAutocompleteWidth": { "alias": "thyAutocompleteWidth"; "required": false; "isSignal": true; }; "thyPlacement": { "alias": "thyPlacement"; "required": false; "isSignal": true; }; "thyIsFocusOpen": { "alias": "thyIsFocusOpen"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
85
77
|
}
|
|
@@ -19,7 +19,7 @@ export declare class ThyAvatarList {
|
|
|
19
19
|
* @type overlap | default
|
|
20
20
|
*/
|
|
21
21
|
readonly thyMode: import("@angular/core").InputSignal<ThyAvatarListMode>;
|
|
22
|
-
isOverlapMode: Signal<boolean>;
|
|
22
|
+
readonly isOverlapMode: Signal<boolean>;
|
|
23
23
|
/**
|
|
24
24
|
* 头像大小
|
|
25
25
|
* @type 16 | 22 | 24 | 28 | 32 | 36 | 44 | 48 | 68 | 110 | 160 | xxs(22px) | xs(24px) | sm(32px) | md(36px) | lg(48px)
|
|
@@ -42,20 +42,20 @@ export declare class ThyAvatar {
|
|
|
42
42
|
* 头像路径地址, 默认为全路径,如果不是全路径,可以通过自定义服务 ThyAvatarService,重写 srcTransform 方法实现转换
|
|
43
43
|
*/
|
|
44
44
|
readonly thySrc: import("@angular/core").InputSignal<string>;
|
|
45
|
-
src: Signal<string>;
|
|
45
|
+
readonly src: Signal<string>;
|
|
46
46
|
/**
|
|
47
47
|
* 人员名称(可设置自定义名称,需通过自定义服务 ThyAvatarService,重写 nameTransform 方法去实现转换)
|
|
48
48
|
*/
|
|
49
49
|
readonly thyName: import("@angular/core").InputSignal<string>;
|
|
50
|
-
avatarName: Signal<string>;
|
|
51
|
-
avatarNameSafeHtml: Signal<SafeHtml>;
|
|
50
|
+
readonly avatarName: Signal<string>;
|
|
51
|
+
readonly avatarNameSafeHtml: Signal<SafeHtml>;
|
|
52
52
|
/**
|
|
53
53
|
* 头像大小
|
|
54
54
|
* @type 16 | 22 | 24 | 28 | 32 | 36 | 44 | 48 | 68 | 110 | 160 | xxs(22px) | xs(24px) | sm(32px) | md(36px) | lg(48px)
|
|
55
55
|
* @default md
|
|
56
56
|
*/
|
|
57
57
|
readonly thySize: import("@angular/core").ModelSignal<string | number>;
|
|
58
|
-
size: Signal<number>;
|
|
58
|
+
readonly size: Signal<number>;
|
|
59
59
|
/**
|
|
60
60
|
* 已废弃,请使用 thyRemovable
|
|
61
61
|
* @deprecated
|
|
@@ -65,7 +65,7 @@ export declare class ThyAvatar {
|
|
|
65
65
|
* 是否展示移除按钮
|
|
66
66
|
*/
|
|
67
67
|
readonly thyRemovable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
68
|
-
showRemove: Signal<boolean>;
|
|
68
|
+
readonly showRemove: Signal<boolean>;
|
|
69
69
|
/**
|
|
70
70
|
* 图片自定义类
|
|
71
71
|
*/
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { OnInit, TemplateRef,
|
|
1
|
+
import { OnInit, TemplateRef, OnDestroy, ElementRef, Signal } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
/**
|
|
4
4
|
* 回到顶部组件
|
|
5
5
|
* @name thy-back-top
|
|
6
6
|
*/
|
|
7
|
-
export declare class ThyBackTop implements OnInit, OnDestroy
|
|
7
|
+
export declare class ThyBackTop implements OnInit, OnDestroy {
|
|
8
8
|
private doc;
|
|
9
9
|
private thyScrollService;
|
|
10
10
|
private platform;
|
|
@@ -14,28 +14,28 @@ export declare class ThyBackTop implements OnInit, OnDestroy, OnChanges {
|
|
|
14
14
|
/**
|
|
15
15
|
* 自定义按钮显示模板
|
|
16
16
|
*/
|
|
17
|
-
thyTemplate
|
|
17
|
+
readonly thyTemplate: import("@angular/core").InputSignal<TemplateRef<void>>;
|
|
18
18
|
/**
|
|
19
19
|
* 指定对哪个 DOM 元素返回顶部
|
|
20
20
|
* @type string | HTMLElement
|
|
21
21
|
* @default window
|
|
22
22
|
*/
|
|
23
|
-
thyContainer
|
|
23
|
+
readonly thyContainer: import("@angular/core").InputSignal<string | HTMLElement>;
|
|
24
24
|
/**
|
|
25
25
|
* 滚动高度达到此参数值才出现 thy-back-top
|
|
26
26
|
* @type number
|
|
27
27
|
*/
|
|
28
|
-
thyVisibilityHeight: number
|
|
28
|
+
readonly thyVisibilityHeight: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
29
29
|
/**
|
|
30
30
|
* 点击按钮的回调函数
|
|
31
31
|
*/
|
|
32
|
-
readonly thyClick:
|
|
32
|
+
readonly thyClick: import("@angular/core").OutputEmitterRef<boolean>;
|
|
33
33
|
/**
|
|
34
34
|
* 监听按钮显示状态的回调函数
|
|
35
35
|
*/
|
|
36
|
-
visibleChange:
|
|
36
|
+
readonly visibleChange: import("@angular/core").OutputEmitterRef<boolean>;
|
|
37
37
|
/** The native `<div class="thy-back-top"></div>` element. */
|
|
38
|
-
|
|
38
|
+
readonly backTop: Signal<ElementRef<HTMLElement>>;
|
|
39
39
|
visible: boolean;
|
|
40
40
|
/**
|
|
41
41
|
* The subject used to store the native `<div class="thy-back-top"></div>` since
|
|
@@ -49,12 +49,9 @@ export declare class ThyBackTop implements OnInit, OnDestroy, OnChanges {
|
|
|
49
49
|
private target;
|
|
50
50
|
constructor();
|
|
51
51
|
ngOnInit(): void;
|
|
52
|
-
private getTarget;
|
|
53
52
|
private handleScroll;
|
|
54
53
|
private registerScrollEvent;
|
|
55
54
|
ngOnDestroy(): void;
|
|
56
|
-
ngOnChanges(changes: any): void;
|
|
57
55
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyBackTop, never>;
|
|
58
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyBackTop, "thy-back-top,[thyBackTop]", never, { "thyTemplate": { "alias": "thyTemplate"; "required": false; }; "thyContainer": { "alias": "thyContainer"; "required": false; }; "thyVisibilityHeight": { "alias": "thyVisibilityHeight"; "required": false; }; }, { "thyClick": "thyClick"; "visibleChange": "visibleChange"; }, never, never, true, never>;
|
|
59
|
-
static ngAcceptInputType_thyVisibilityHeight: unknown;
|
|
56
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyBackTop, "thy-back-top,[thyBackTop]", never, { "thyTemplate": { "alias": "thyTemplate"; "required": false; "isSignal": true; }; "thyContainer": { "alias": "thyContainer"; "required": false; "isSignal": true; }; "thyVisibilityHeight": { "alias": "thyVisibilityHeight"; "required": false; "isSignal": true; }; }, { "thyClick": "thyClick"; "visibleChange": "visibleChange"; }, never, never, true, never>;
|
|
60
57
|
}
|