ngx-tethys 19.0.13 → 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.
Files changed (280) hide show
  1. package/CHANGELOG.md +29 -2
  2. package/action/action.component.d.ts +12 -20
  3. package/action/actions.component.d.ts +5 -7
  4. package/affix/affix.component.d.ts +7 -10
  5. package/alert/alert.component.d.ts +1 -1
  6. package/anchor/anchor-link.component.d.ts +8 -8
  7. package/anchor/anchor.component.d.ts +15 -21
  8. package/arrow-switcher/arrow-switcher.component.d.ts +15 -22
  9. package/autocomplete/autocomplete.component.d.ts +10 -17
  10. package/autocomplete/autocomplete.trigger.directive.d.ts +10 -18
  11. package/avatar/avatar-list/avatar-list.component.d.ts +8 -14
  12. package/avatar/avatar.component.d.ts +25 -39
  13. package/back-top/back-top.component.d.ts +9 -12
  14. package/badge/badge.component.d.ts +19 -59
  15. package/breadcrumb/breadcrumb.component.d.ts +15 -20
  16. package/button/button-icon.component.d.ts +3 -2
  17. package/button/button.component.d.ts +3 -2
  18. package/calendar/calendar-header.component.d.ts +9 -8
  19. package/calendar/calendar.component.d.ts +16 -16
  20. package/card/card.component.d.ts +5 -11
  21. package/card/content.component.d.ts +3 -8
  22. package/card/header.component.d.ts +7 -8
  23. package/carousel/carousel.component.d.ts +22 -27
  24. package/cascader/cascader-li.component.d.ts +13 -21
  25. package/cascader/cascader-search-option.component.d.ts +8 -16
  26. package/cascader/cascader.component.d.ts +58 -80
  27. package/checkbox/checkbox.component.d.ts +2 -5
  28. package/collapse/collapse-item.component.d.ts +12 -19
  29. package/collapse/collapse.component.d.ts +6 -12
  30. package/collapse/collapse.token.d.ts +3 -3
  31. package/color-picker/color-picker-custom-panel.component.d.ts +5 -5
  32. package/color-picker/color-picker-panel.component.d.ts +7 -11
  33. package/color-picker/color-picker.component.d.ts +19 -35
  34. package/color-picker/parts/alpha/alpha.component.d.ts +8 -8
  35. package/color-picker/parts/hue/hue.component.d.ts +6 -6
  36. package/color-picker/parts/indicator/indicator.component.d.ts +4 -3
  37. package/color-picker/parts/inputs/inputs.component.d.ts +9 -9
  38. package/color-picker/parts/saturation/saturation.component.d.ts +9 -9
  39. package/comment/comment.component.d.ts +4 -5
  40. package/copy/copy.directive.d.ts +8 -9
  41. package/date-picker/abstract-picker.component.d.ts +8 -7
  42. package/date-picker/lib/calendar/calendar-footer.component.d.ts +2 -1
  43. package/date-picker/lib/popups/inner-popup.component.d.ts +2 -1
  44. package/date-picker/picker.component.d.ts +2 -1
  45. package/date-range/date-range.component.d.ts +2 -2
  46. package/dialog/body/dialog-body.component.d.ts +2 -6
  47. package/dialog/confirm/confirm.component.d.ts +2 -2
  48. package/dialog/footer/dialog-footer.component.d.ts +6 -9
  49. package/dialog/header/dialog-header.component.d.ts +9 -11
  50. package/divider/divider.component.d.ts +12 -16
  51. package/dot/dot.component.d.ts +5 -13
  52. package/drag-drop/drag-handle.directive.d.ts +2 -1
  53. package/drag-drop/drag.directive.d.ts +2 -1
  54. package/drag-drop/drop-container.directive.d.ts +2 -1
  55. package/dropdown/dropdown-menu-item.directive.d.ts +3 -2
  56. package/dropdown/dropdown-menu.component.d.ts +2 -1
  57. package/dropdown/dropdown.directive.d.ts +2 -1
  58. package/empty/empty.component.d.ts +21 -27
  59. package/fesm2022/ngx-tethys-action.mjs +54 -91
  60. package/fesm2022/ngx-tethys-action.mjs.map +1 -1
  61. package/fesm2022/ngx-tethys-affix.mjs +29 -26
  62. package/fesm2022/ngx-tethys-affix.mjs.map +1 -1
  63. package/fesm2022/ngx-tethys-anchor.mjs +91 -118
  64. package/fesm2022/ngx-tethys-anchor.mjs.map +1 -1
  65. package/fesm2022/ngx-tethys-arrow-switcher.mjs +51 -77
  66. package/fesm2022/ngx-tethys-arrow-switcher.mjs.map +1 -1
  67. package/fesm2022/ngx-tethys-autocomplete.mjs +69 -103
  68. package/fesm2022/ngx-tethys-autocomplete.mjs.map +1 -1
  69. package/fesm2022/ngx-tethys-avatar.mjs +117 -162
  70. package/fesm2022/ngx-tethys-avatar.mjs.map +1 -1
  71. package/fesm2022/ngx-tethys-back-top.mjs +33 -46
  72. package/fesm2022/ngx-tethys-back-top.mjs.map +1 -1
  73. package/fesm2022/ngx-tethys-badge.mjs +104 -208
  74. package/fesm2022/ngx-tethys-badge.mjs.map +1 -1
  75. package/fesm2022/ngx-tethys-breadcrumb.mjs +66 -70
  76. package/fesm2022/ngx-tethys-breadcrumb.mjs.map +1 -1
  77. package/fesm2022/ngx-tethys-calendar.mjs +85 -87
  78. package/fesm2022/ngx-tethys-calendar.mjs.map +1 -1
  79. package/fesm2022/ngx-tethys-card.mjs +72 -77
  80. package/fesm2022/ngx-tethys-card.mjs.map +1 -1
  81. package/fesm2022/ngx-tethys-carousel.mjs +82 -99
  82. package/fesm2022/ngx-tethys-carousel.mjs.map +1 -1
  83. package/fesm2022/ngx-tethys-cascader.mjs +313 -468
  84. package/fesm2022/ngx-tethys-cascader.mjs.map +1 -1
  85. package/fesm2022/ngx-tethys-checkbox.mjs +10 -17
  86. package/fesm2022/ngx-tethys-checkbox.mjs.map +1 -1
  87. package/fesm2022/ngx-tethys-collapse.mjs +66 -71
  88. package/fesm2022/ngx-tethys-collapse.mjs.map +1 -1
  89. package/fesm2022/ngx-tethys-color-picker.mjs +187 -246
  90. package/fesm2022/ngx-tethys-color-picker.mjs.map +1 -1
  91. package/fesm2022/ngx-tethys-comment.mjs +16 -10
  92. package/fesm2022/ngx-tethys-comment.mjs.map +1 -1
  93. package/fesm2022/ngx-tethys-copy.mjs +25 -28
  94. package/fesm2022/ngx-tethys-copy.mjs.map +1 -1
  95. package/fesm2022/ngx-tethys-dialog.mjs +81 -82
  96. package/fesm2022/ngx-tethys-dialog.mjs.map +1 -1
  97. package/fesm2022/ngx-tethys-divider.mjs +49 -58
  98. package/fesm2022/ngx-tethys-divider.mjs.map +1 -1
  99. package/fesm2022/ngx-tethys-dot.mjs +45 -68
  100. package/fesm2022/ngx-tethys-dot.mjs.map +1 -1
  101. package/fesm2022/ngx-tethys-empty.mjs +107 -95
  102. package/fesm2022/ngx-tethys-empty.mjs.map +1 -1
  103. package/fesm2022/ngx-tethys-form.mjs +161 -200
  104. package/fesm2022/ngx-tethys-form.mjs.map +1 -1
  105. package/fesm2022/ngx-tethys-fullscreen.mjs +21 -23
  106. package/fesm2022/ngx-tethys-fullscreen.mjs.map +1 -1
  107. package/fesm2022/ngx-tethys-grid.mjs +160 -152
  108. package/fesm2022/ngx-tethys-grid.mjs.map +1 -1
  109. package/fesm2022/ngx-tethys-i18n.mjs +25 -25
  110. package/fesm2022/ngx-tethys-i18n.mjs.map +1 -1
  111. package/fesm2022/ngx-tethys-input-number.mjs +101 -114
  112. package/fesm2022/ngx-tethys-input-number.mjs.map +1 -1
  113. package/fesm2022/ngx-tethys-input.mjs +268 -271
  114. package/fesm2022/ngx-tethys-input.mjs.map +1 -1
  115. package/fesm2022/ngx-tethys-list.mjs +1 -1
  116. package/fesm2022/ngx-tethys-list.mjs.map +1 -1
  117. package/fesm2022/ngx-tethys-loading.mjs +17 -35
  118. package/fesm2022/ngx-tethys-loading.mjs.map +1 -1
  119. package/fesm2022/ngx-tethys-mention.mjs +52 -74
  120. package/fesm2022/ngx-tethys-mention.mjs.map +1 -1
  121. package/fesm2022/ngx-tethys-menu.mjs +106 -179
  122. package/fesm2022/ngx-tethys-menu.mjs.map +1 -1
  123. package/fesm2022/ngx-tethys-nav.mjs +169 -201
  124. package/fesm2022/ngx-tethys-nav.mjs.map +1 -1
  125. package/fesm2022/ngx-tethys-pagination.mjs +230 -294
  126. package/fesm2022/ngx-tethys-pagination.mjs.map +1 -1
  127. package/fesm2022/ngx-tethys-popover.mjs +67 -70
  128. package/fesm2022/ngx-tethys-popover.mjs.map +1 -1
  129. package/fesm2022/ngx-tethys-progress.mjs +196 -244
  130. package/fesm2022/ngx-tethys-progress.mjs.map +1 -1
  131. package/fesm2022/ngx-tethys-property.mjs +102 -105
  132. package/fesm2022/ngx-tethys-property.mjs.map +1 -1
  133. package/fesm2022/ngx-tethys-radio.mjs +34 -38
  134. package/fesm2022/ngx-tethys-radio.mjs.map +1 -1
  135. package/fesm2022/ngx-tethys-result.mjs +46 -28
  136. package/fesm2022/ngx-tethys-result.mjs.map +1 -1
  137. package/fesm2022/ngx-tethys-skeleton.mjs +339 -342
  138. package/fesm2022/ngx-tethys-skeleton.mjs.map +1 -1
  139. package/fesm2022/ngx-tethys-slider.mjs +75 -108
  140. package/fesm2022/ngx-tethys-slider.mjs.map +1 -1
  141. package/fesm2022/ngx-tethys-space.mjs +26 -46
  142. package/fesm2022/ngx-tethys-space.mjs.map +1 -1
  143. package/fesm2022/ngx-tethys-statistic.mjs +114 -151
  144. package/fesm2022/ngx-tethys-statistic.mjs.map +1 -1
  145. package/fesm2022/ngx-tethys-stepper.mjs +74 -107
  146. package/fesm2022/ngx-tethys-stepper.mjs.map +1 -1
  147. package/fesm2022/ngx-tethys-switch.mjs +80 -140
  148. package/fesm2022/ngx-tethys-switch.mjs.map +1 -1
  149. package/fesm2022/ngx-tethys-table.mjs +1 -1
  150. package/fesm2022/ngx-tethys-table.mjs.map +1 -1
  151. package/fesm2022/ngx-tethys-tabs.mjs +69 -87
  152. package/fesm2022/ngx-tethys-tabs.mjs.map +1 -1
  153. package/fesm2022/ngx-tethys-tag.mjs +42 -64
  154. package/fesm2022/ngx-tethys-tag.mjs.map +1 -1
  155. package/fesm2022/ngx-tethys-timeline.mjs +104 -129
  156. package/fesm2022/ngx-tethys-timeline.mjs.map +1 -1
  157. package/fesm2022/ngx-tethys-typography.mjs +36 -33
  158. package/fesm2022/ngx-tethys-typography.mjs.map +1 -1
  159. package/fesm2022/ngx-tethys-upload.mjs +91 -130
  160. package/fesm2022/ngx-tethys-upload.mjs.map +1 -1
  161. package/fesm2022/ngx-tethys-util.mjs.map +1 -1
  162. package/fesm2022/ngx-tethys-watermark.mjs +36 -40
  163. package/fesm2022/ngx-tethys-watermark.mjs.map +1 -1
  164. package/fesm2022/ngx-tethys.mjs +1 -1
  165. package/fesm2022/ngx-tethys.mjs.map +1 -1
  166. package/form/form-group-error/form-group-error.component.d.ts +2 -3
  167. package/form/form-group-label.directive.d.ts +2 -1
  168. package/form/form-group.component.d.ts +17 -24
  169. package/form/form-submit.directive.d.ts +2 -2
  170. package/form/form.directive.d.ts +6 -8
  171. package/form/from-group-footer/form-group-footer.component.d.ts +2 -2
  172. package/form/validator/confirm-validator.directive.d.ts +2 -2
  173. package/form/validator/unique-validator.directive.d.ts +2 -2
  174. package/fullscreen/fullscreen.component.d.ts +7 -7
  175. package/grid/flex.d.ts +14 -19
  176. package/grid/thy-col.directive.d.ts +6 -9
  177. package/grid/thy-grid-item.component.d.ts +3 -4
  178. package/grid/thy-grid.component.d.ts +11 -12
  179. package/grid/thy-row.directive.d.ts +12 -12
  180. package/icon/icon.component.d.ts +3 -2
  181. package/image/image.directive.d.ts +3 -2
  182. package/input/input-count.component.d.ts +4 -5
  183. package/input/input-group.component.d.ts +20 -20
  184. package/input/input-search.component.d.ts +15 -20
  185. package/input/input.component.d.ts +20 -21
  186. package/input/input.directive.d.ts +4 -6
  187. package/input-number/input-number.component.d.ts +21 -29
  188. package/layout/header.component.d.ts +4 -9
  189. package/layout/sidebar-header.component.d.ts +2 -1
  190. package/layout/sidebar.component.d.ts +8 -7
  191. package/list/list.component.d.ts +2 -1
  192. package/list/selection/selection-list.d.ts +4 -3
  193. package/loading/loading.component.d.ts +4 -10
  194. package/mention/mention.directive.d.ts +6 -7
  195. package/mention/suggestions/suggestions.component.d.ts +8 -9
  196. package/menu/group/menu-group.component.d.ts +16 -33
  197. package/menu/item/action/menu-item-action.component.d.ts +7 -8
  198. package/menu/item/icon/menu-item-icon.component.d.ts +2 -2
  199. package/menu/item/menu-item.component.d.ts +4 -4
  200. package/menu/item/name/menu-item-name.component.d.ts +2 -3
  201. package/menu/menu.component.d.ts +3 -7
  202. package/nav/icon-nav/icon-nav-link.directive.d.ts +3 -7
  203. package/nav/icon-nav/icon-nav.component.d.ts +3 -8
  204. package/nav/nav-ink-bar.directive.d.ts +4 -6
  205. package/nav/nav-item.directive.d.ts +7 -10
  206. package/nav/nav.component.d.ts +20 -48
  207. package/package.json +1 -1
  208. package/pagination/pagination.component.d.ts +48 -109
  209. package/popover/header/popover-header.component.d.ts +7 -6
  210. package/popover/popover.directive.d.ts +11 -18
  211. package/progress/progress-circle.component.d.ts +32 -21
  212. package/progress/progress-strip.component.d.ts +10 -14
  213. package/progress/progress.component.d.ts +15 -23
  214. package/property/examples/single/single.component.scss +6 -0
  215. package/property/properties.component.d.ts +6 -13
  216. package/property/property-item.component.d.ts +21 -26
  217. package/property/styles/properties.scss +124 -52
  218. package/property-operation/property-operation.component.d.ts +6 -5
  219. package/radio/button/radio-button.component.d.ts +2 -2
  220. package/radio/group/radio-group.component.d.ts +8 -7
  221. package/radio/radio.component.d.ts +2 -2
  222. package/radio/radio.token.d.ts +2 -2
  223. package/rate/rate-item.component.d.ts +2 -1
  224. package/rate/rate.component.d.ts +4 -3
  225. package/resizable/resizable.directive.d.ts +4 -9
  226. package/resizable/resize-handle.component.d.ts +2 -1
  227. package/resizable/resize-handles.component.d.ts +2 -1
  228. package/result/result.component.d.ts +9 -10
  229. package/schematics/version.d.ts +1 -1
  230. package/schematics/version.js +1 -1
  231. package/segment/segment-item.component.d.ts +2 -1
  232. package/segment/segment.component.d.ts +2 -1
  233. package/select/custom-select/custom-select.component.d.ts +11 -10
  234. package/select/native-select/native-select.component.d.ts +2 -1
  235. package/shared/base-form-check.component.d.ts +3 -2
  236. package/shared/directives/thy-autofocus.directive.d.ts +3 -2
  237. package/shared/directives/thy-scroll.directive.d.ts +2 -1
  238. package/shared/directives/thy-show.d.ts +2 -1
  239. package/shared/option/group/option-group.component.d.ts +2 -1
  240. package/shared/option/list-option/list-option.component.d.ts +2 -7
  241. package/shared/option/option.component.d.ts +2 -1
  242. package/shared/select/select-control/select-control.component.d.ts +7 -6
  243. package/skeleton/skeleton-circle.component.d.ts +16 -19
  244. package/skeleton/skeleton-rectangle.component.d.ts +20 -23
  245. package/skeleton/skeleton.component.d.ts +5 -6
  246. package/skeleton/stylized/bullet-list.component.d.ts +11 -13
  247. package/skeleton/stylized/list.component.d.ts +10 -12
  248. package/skeleton/stylized/paragraph.component.d.ts +12 -14
  249. package/slide/slide-body/slide-body-section.component.d.ts +2 -1
  250. package/slider/slider.component.d.ts +17 -24
  251. package/space/space.component.d.ts +8 -8
  252. package/statistic/statistic.component.d.ts +35 -40
  253. package/stepper/step-header.component.d.ts +6 -10
  254. package/stepper/step.component.d.ts +6 -6
  255. package/stepper/stepper.component.d.ts +15 -20
  256. package/switch/switch.component.d.ts +24 -35
  257. package/table/table-column.component.d.ts +6 -5
  258. package/table/table-skeleton.component.d.ts +3 -10
  259. package/table/table.component.d.ts +11 -10
  260. package/tabs/tab-content.component.d.ts +4 -4
  261. package/tabs/tab.component.d.ts +4 -5
  262. package/tabs/tabs.component.d.ts +13 -15
  263. package/tag/tag.component.d.ts +10 -16
  264. package/time-picker/time-picker-panel.component.d.ts +3 -2
  265. package/time-picker/time-picker.component.d.ts +6 -5
  266. package/timeline/timeline-item.component.d.ts +9 -13
  267. package/timeline/timeline.component.d.ts +13 -17
  268. package/tooltip/tooltip.directive.d.ts +3 -2
  269. package/tree/tree-node.component.d.ts +6 -15
  270. package/tree/tree.component.d.ts +8 -7
  271. package/tree-select/tree-select.component.d.ts +8 -7
  272. package/typography/bg-color.directive.d.ts +3 -3
  273. package/typography/text/text.component.d.ts +2 -2
  274. package/typography/text-color.directive.d.ts +3 -3
  275. package/upload/file-drop.directive.d.ts +9 -11
  276. package/upload/file-select-base.d.ts +6 -10
  277. package/upload/file-select.component.d.ts +10 -20
  278. package/util/helpers/helpers.d.ts +2 -1
  279. package/vote/vote.component.d.ts +4 -3
  280. package/watermark/watermark.directive.d.ts +7 -9
package/CHANGELOG.md CHANGED
@@ -2,12 +2,39 @@
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.0.13](https://github.com/atinc/ngx-tethys/compare/19.0.11...19.0.13) (2025-05-20)
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
6
 
7
7
 
8
8
  ### Bug Fixes
9
9
 
10
- * **shared:** update input value handling and search emission logic #TINFR-2053 ([#3408](https://github.com/atinc/ngx-tethys/issues/3408)) ([0ebeb82](https://github.com/atinc/ngx-tethys/commit/0ebeb82c6c8303a06c86b6e523128ec5bf52cc1f)), closes [#TINFR-2053](https://github.com/atinc/ngx-tethys/issues/TINFR-2053)
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
+
26
+ ## [19.0.12](https://github.com/atinc/ngx-tethys/compare/19.0.11...19.0.12) (2025-05-14)
27
+
28
+
29
+ ### Bug Fixes
30
+
31
+ * **shared:** update input value handling and search emission logic #TINFR-2053 ([#3408](https://github.com/atinc/ngx-tethys/issues/3408)) ([5c7850b](https://github.com/atinc/ngx-tethys/commit/5c7850b105e53cebace4c1dd3d41c51696053199)), closes [#TINFR-2053](https://github.com/atinc/ngx-tethys/issues/TINFR-2053)
32
+
33
+
34
+ ### Features
35
+
36
+ * **action:** migrate to signal for action [@wumeimin](https://github.com/wumeimin) ([#3414](https://github.com/atinc/ngx-tethys/issues/3414)) ([d787b04](https://github.com/atinc/ngx-tethys/commit/d787b04cfe18048f14c9e710d6b5ada905c0bc80))
37
+ * **affix:** migrate to signal for affix [@wumeimin](https://github.com/wumeimin) ([#3413](https://github.com/atinc/ngx-tethys/issues/3413)) ([d7ea93f](https://github.com/atinc/ngx-tethys/commit/d7ea93f60ba1dc1908c10b0a981e91c31f87e05c))
11
38
 
12
39
 
13
40
 
@@ -1,4 +1,4 @@
1
- import { OnInit, AfterViewInit, OnChanges, SimpleChanges, OnDestroy } from '@angular/core';
1
+ import { AfterViewInit, OnChanges, OnDestroy, OnInit, Signal, SimpleChanges } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export type ThyActionType = 'primary' | 'success' | 'danger' | 'warning';
4
4
  export type ThyActionFeedback = 'success' | 'error';
@@ -15,51 +15,47 @@ export declare class ThyAction implements OnInit, AfterViewInit, OnChanges, OnDe
15
15
  private elementRef;
16
16
  private renderer;
17
17
  private cdr;
18
- icon: string;
18
+ icon: Signal<string>;
19
19
  feedback: ThyActionFeedback;
20
20
  feedbackOptions: ThyActionFeedbackOptions;
21
- active: boolean;
21
+ active: Signal<boolean>;
22
22
  private type;
23
23
  private hostRenderer;
24
24
  private feedbackTimer;
25
25
  /**
26
26
  * 操作图标的类型
27
27
  * @type primary | success | danger | warning
28
- * @default primary
29
28
  */
30
- set thyType(value: ThyActionType);
29
+ readonly thyType: import("@angular/core").InputSignal<ThyActionType>;
31
30
  /**
32
31
  * 操作图标,支持传参同时也支持在投影中写 thy-icon 组件
33
32
  */
34
- set thyIcon(icon: string);
33
+ readonly thyIcon: import("@angular/core").InputSignal<string>;
35
34
  /**
36
35
  * 操作图标,当 thyIcon 和其他指令参数名有冲突时使用 thyActionIcon
37
36
  */
38
- set thyActionIcon(icon: string);
37
+ readonly thyActionIcon: import("@angular/core").InputSignal<string>;
39
38
  /**
40
39
  * 操作的图标 Active 状态,设置为 true 时会在 Item 上添加 active class
41
- * @default false
42
40
  */
43
- set thyActive(value: boolean);
41
+ readonly thyActive: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
44
42
  /**
45
43
  * 操作的图标 Active 状态,当 thyActive 和其他指令参数名有冲突时使用 thyActionActive
46
- * @default false
47
44
  */
48
- set thyActionActive(value: boolean);
45
+ readonly thyActionActive: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
49
46
  /**
50
47
  * 操作图标的主题
51
48
  * @type fill(背景色填充) | lite(简单文本颜色变化)
52
49
  */
53
- thyTheme: 'fill' | 'lite';
50
+ readonly thyTheme: import("@angular/core").InputSignal<"fill" | "lite">;
54
51
  /**
55
52
  * Hover 展示的图标
56
53
  */
57
- thyHoverIcon: string;
54
+ readonly thyHoverIcon: import("@angular/core").InputSignal<string>;
58
55
  /**
59
56
  * 是否处于禁用状态
60
- * @default false
61
57
  */
62
- thyDisabled: boolean;
58
+ readonly thyDisabled: import("@angular/core").InputSignalWithTransform<boolean, string | number | boolean>;
63
59
  ngOnInit(): void;
64
60
  ngAfterViewInit(): void;
65
61
  ngOnChanges(changes: SimpleChanges): void;
@@ -74,12 +70,8 @@ export declare class ThyAction implements OnInit, AfterViewInit, OnChanges, OnDe
74
70
  error(options?: ThyActionFeedbackOptions): void;
75
71
  private setFeedback;
76
72
  private wrapSpanForText;
77
- private setActionType;
78
73
  private updateClasses;
79
74
  ngOnDestroy(): void;
80
75
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyAction, never>;
81
- static ɵcmp: i0.ɵɵComponentDeclaration<ThyAction, "thy-action, [thyAction]", never, { "thyType": { "alias": "thyType"; "required": false; }; "thyIcon": { "alias": "thyIcon"; "required": false; }; "thyActionIcon": { "alias": "thyActionIcon"; "required": false; }; "thyActive": { "alias": "thyActive"; "required": false; }; "thyActionActive": { "alias": "thyActionActive"; "required": false; }; "thyTheme": { "alias": "thyTheme"; "required": false; }; "thyHoverIcon": { "alias": "thyHoverIcon"; "required": false; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; }, {}, never, ["*"], true, never>;
82
- static ngAcceptInputType_thyActive: boolean | string | number;
83
- static ngAcceptInputType_thyActionActive: boolean | string | number;
84
- static ngAcceptInputType_thyDisabled: boolean | string | number;
76
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThyAction, "thy-action, [thyAction]", never, { "thyType": { "alias": "thyType"; "required": false; "isSignal": true; }; "thyIcon": { "alias": "thyIcon"; "required": false; "isSignal": true; }; "thyActionIcon": { "alias": "thyActionIcon"; "required": false; "isSignal": true; }; "thyActive": { "alias": "thyActive"; "required": false; "isSignal": true; }; "thyActionActive": { "alias": "thyActionActive"; "required": false; "isSignal": true; }; "thyTheme": { "alias": "thyTheme"; "required": false; "isSignal": true; }; "thyHoverIcon": { "alias": "thyHoverIcon"; "required": false; "isSignal": true; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
85
77
  }
@@ -1,4 +1,4 @@
1
- import { OnInit, OnChanges, QueryList, AfterContentInit, SimpleChanges } from '@angular/core';
1
+ import { OnInit } from '@angular/core';
2
2
  import { ThySpacingSize } from 'ngx-tethys/core';
3
3
  import { ThyAction } from './action.component';
4
4
  import * as i0 from "@angular/core";
@@ -6,18 +6,16 @@ import * as i0 from "@angular/core";
6
6
  * Actions 组件
7
7
  * @name thy-actions
8
8
  */
9
- export declare class ThyActions implements OnInit, AfterContentInit, OnChanges {
10
- actions: QueryList<ThyAction>;
9
+ export declare class ThyActions implements OnInit {
10
+ readonly actions: import("@angular/core").Signal<readonly ThyAction[]>;
11
11
  /**
12
12
  * 大小,支持 `zero` | `xxs` | `xs` | `sm` | `md` | `lg` | `xlg` 和自定义数字大小
13
13
  * @type string | number
14
14
  */
15
- thySize: ThySpacingSize;
15
+ readonly thySize: import("@angular/core").InputSignal<ThySpacingSize>;
16
16
  constructor();
17
17
  ngOnInit(): void;
18
- ngOnChanges(changes: SimpleChanges): void;
19
- ngAfterContentInit(): void;
20
18
  private setActionsSize;
21
19
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyActions, never>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<ThyActions, "thy-actions", never, { "thySize": { "alias": "thySize"; "required": false; }; }, {}, ["actions"], ["*"], true, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThyActions, "thy-actions", never, { "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; }, {}, ["actions"], ["*"], true, never>;
23
21
  }
@@ -1,5 +1,5 @@
1
1
  import { SimpleRect } from 'ngx-tethys/util';
2
- import { AfterViewInit, EventEmitter, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
2
+ import { AfterViewInit, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
3
3
  import * as i0 from "@angular/core";
4
4
  /**
5
5
  * 固钉组件
@@ -11,26 +11,25 @@ export declare class ThyAffix implements AfterViewInit, OnChanges, OnDestroy {
11
11
  private ngZone;
12
12
  private platform;
13
13
  private renderer;
14
- private fixedElement;
14
+ private readonly fixedElement;
15
15
  /**
16
16
  * 设置 thy-affix 需要监听其滚动事件的元素,值为一个返回对应 DOM 元素的函数
17
17
  * @default window
18
18
  * @type string | Element | Window
19
19
  */
20
- thyContainer?: string | Element | Window;
20
+ readonly thyContainer: import("@angular/core").InputSignal<string | Element | Window>;
21
21
  /**
22
22
  * 距离窗口顶部缓冲的偏移量阈值
23
- * @default 0
24
23
  */
25
- thyOffsetTop?: null | number;
24
+ readonly thyOffsetTop: import("@angular/core").InputSignalWithTransform<number, unknown>;
26
25
  /**
27
26
  * 距离窗口底部缓冲的偏移量阈值
28
27
  */
29
- thyOffsetBottom?: null | number;
28
+ readonly thyOffsetBottom: import("@angular/core").InputSignalWithTransform<number, unknown>;
30
29
  /**
31
30
  * 固定状态改变时触发的回调函数
32
31
  */
33
- readonly thyChange: EventEmitter<boolean>;
32
+ readonly thyChange: import("@angular/core").OutputEmitterRef<boolean>;
34
33
  private readonly placeholderNode;
35
34
  private affixStyle?;
36
35
  private placeholderStyle?;
@@ -52,7 +51,5 @@ export declare class ThyAffix implements AfterViewInit, OnChanges, OnDestroy {
52
51
  private syncPlaceholderStyle;
53
52
  updatePosition(e: Event): void;
54
53
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyAffix, never>;
55
- static ɵcmp: i0.ɵɵComponentDeclaration<ThyAffix, "thy-affix", ["thyAffix"], { "thyContainer": { "alias": "thyContainer"; "required": false; }; "thyOffsetTop": { "alias": "thyOffsetTop"; "required": false; }; "thyOffsetBottom": { "alias": "thyOffsetBottom"; "required": false; }; }, { "thyChange": "thyChange"; }, never, ["*"], true, never>;
56
- static ngAcceptInputType_thyOffsetTop: unknown;
57
- static ngAcceptInputType_thyOffsetBottom: unknown;
54
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThyAffix, "thy-affix", ["thyAffix"], { "thyContainer": { "alias": "thyContainer"; "required": false; "isSignal": true; }; "thyOffsetTop": { "alias": "thyOffsetTop"; "required": false; "isSignal": true; }; "thyOffsetBottom": { "alias": "thyOffsetBottom"; "required": false; "isSignal": true; }; }, { "thyChange": "thyChange"; }, never, ["*"], true, never>;
58
55
  }
@@ -36,7 +36,7 @@ export declare class ThyAlert {
36
36
  * 是否显示关闭警告框按钮,默认不显示
37
37
  * @default false
38
38
  */
39
- thyCloseable: import("@angular/core").InputSignalWithTransform<boolean, string | number | 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?: TemplateRef<any>;
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
- set thyTitle(value: string | TemplateRef<void>);
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, EventEmitter, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
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, OnChanges {
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
- private ink;
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?: number;
28
+ readonly thyOffsetTop: import("@angular/core").InputSignalWithTransform<number, unknown>;
29
29
  /**
30
30
  * 指定滚动的容器
31
- * @type string | HTMLElement
32
31
  */
33
- thyContainer?: string | HTMLElement;
32
+ readonly thyContainer: import("@angular/core").InputSignal<string | HTMLElement>;
34
33
  /**
35
34
  * 设置导航方向
36
- * @type 'vertical' | 'horizontal'
37
35
  */
38
- thyDirection: 'vertical' | 'horizontal';
36
+ readonly thyDirection: import("@angular/core").InputSignal<"horizontal" | "vertical">;
39
37
  /**
40
38
  * 点击项触发
41
39
  */
42
- readonly thyClick: EventEmitter<ThyAnchorLink>;
40
+ readonly thyClick: import("@angular/core").OutputEmitterRef<ThyAnchorLink>;
43
41
  /**
44
42
  * 滚动到某锚点时触发
45
43
  */
46
- readonly thyScroll: EventEmitter<ThyAnchorLink>;
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?: HTMLElement | Window;
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
- private getContainer;
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 { EventEmitter, OnInit } from '@angular/core';
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 OnInit, ControlValueAccessor {
14
+ export declare class ThyArrowSwitcher implements ControlValueAccessor {
15
15
  private cd;
16
- _isArrowSwitcher: boolean;
17
- _isSmallSize: boolean;
18
- total: number;
19
- theme: ThyArrowSwitcherTheme;
16
+ private disabled;
20
17
  /**
21
18
  * 点击上一条事件
22
19
  */
23
- thyPrevious: EventEmitter<ThyArrowSwitcherEvent>;
20
+ readonly thyPrevious: import("@angular/core").OutputEmitterRef<ThyArrowSwitcherEvent>;
24
21
  /**
25
22
  * 点击下一条事件
26
23
  */
27
- thyNext: EventEmitter<ThyArrowSwitcherEvent>;
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
- set thyTheme(value: ThyArrowSwitcherTheme);
37
+ readonly thyTheme: import("@angular/core").InputSignal<ThyArrowSwitcherTheme>;
42
38
  /**
43
39
  * 总条数
44
40
  */
45
- set thyTotal(value: number);
41
+ readonly thyTotal: import("@angular/core").InputSignalWithTransform<number, unknown>;
46
42
  /**
47
43
  * 尺寸大小,默认尺寸为大号,取值为`sm`时展示小号
48
44
  */
49
- set thySize(size: string);
50
- index: number;
51
- disabled: boolean;
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, EventEmitter, OnDestroy, AfterContentInit, ElementRef, Signal } from '@angular/core';
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: EventEmitter<ThyOptionSelectionChangeEvent>;
53
+ readonly thyOptionSelected: import("@angular/core").OutputEmitterRef<ThyOptionSelectionChangeEvent>;
57
54
  /**
58
55
  * 只读,展开下拉菜单的回调
59
- * @type EventEmitter<void>
60
56
  */
61
- readonly thyOpened: EventEmitter<void>;
57
+ readonly thyOpened: import("@angular/core").OutputEmitterRef<void>;
62
58
  /**
63
59
  * 只读,关闭下拉菜单的回调
64
- * @type EventEmitter<void>
65
60
  */
66
- readonly thyClosed: EventEmitter<void>;
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: EventEmitter<ThyAutocompleteActivatedEvent>;
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
- set autocompleteComponent(data: ThyAutocomplete);
30
+ readonly thyAutocompleteComponent: import("@angular/core").InputSignal<ThyAutocomplete>;
32
31
  /**
33
32
  * 下拉菜单组件实例
34
33
  * @type thyAutocompleteComponent
35
34
  */
36
- set autocomplete(data: ThyAutocomplete);
37
- get autocompleteComponent(): ThyAutocomplete;
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
- get activeOption(): ThyOption | null;
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"], { "autocompleteComponent": { "alias": "thyAutocompleteComponent"; "required": false; }; "autocomplete": { "alias": "thyAutocomplete"; "required": false; }; "thyOffset": { "alias": "thyOffset"; "required": false; }; "thyAutocompleteWidth": { "alias": "thyAutocompleteWidth"; "required": false; }; "thyPlacement": { "alias": "thyPlacement"; "required": false; }; "thyIsFocusOpen": { "alias": "thyIsFocusOpen"; "required": false; }; }, {}, never, never, true, never>;
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
  }
@@ -1,5 +1,4 @@
1
- import { AfterContentInit, OnChanges, OnDestroy, QueryList, SimpleChanges, TemplateRef } from '@angular/core';
2
- import { SafeAny } from 'ngx-tethys/types';
1
+ import { Signal, TemplateRef } from '@angular/core';
3
2
  import { ThyAvatar } from '../avatar.component';
4
3
  import * as i0 from "@angular/core";
5
4
  export declare const THY_AVATAR_ITEM_SPACE = 4;
@@ -13,35 +12,30 @@ export declare const enum ThyAvatarListMode {
13
12
  * @name thy-avatar-list
14
13
  * @order 20
15
14
  */
16
- export declare class ThyAvatarList implements OnChanges, OnDestroy, AfterContentInit {
17
- overlapMode: boolean;
15
+ export declare class ThyAvatarList {
18
16
  avatarItems: ThyAvatar[];
19
- private ngUnsubscribe$;
20
17
  /**
21
18
  * 展示方式
22
19
  * @type overlap | default
23
- * @default default
24
20
  */
25
- thyMode: ThyAvatarListMode;
21
+ readonly thyMode: import("@angular/core").InputSignal<ThyAvatarListMode>;
22
+ readonly isOverlapMode: Signal<boolean>;
26
23
  /**
27
24
  * 头像大小
28
25
  * @type 16 | 22 | 24 | 28 | 32 | 36 | 44 | 48 | 68 | 110 | 160 | xxs(22px) | xs(24px) | sm(32px) | md(36px) | lg(48px)
29
26
  * @default 36
30
27
  */
31
- thyAvatarSize: number | string;
28
+ readonly thyAvatarSize: import("@angular/core").InputSignal<string | number>;
32
29
  /**
33
30
  * append 自定义操作
34
31
  */
35
- append: TemplateRef<SafeAny>;
32
+ readonly append: Signal<TemplateRef<any>>;
36
33
  /**
37
34
  * @private
38
35
  */
39
- avatarComponents: QueryList<ThyAvatar>;
36
+ readonly avatarComponents: Signal<readonly ThyAvatar[]>;
40
37
  constructor();
41
- ngOnChanges(changes: SimpleChanges): void;
42
- ngAfterContentInit(): void;
43
38
  private updateAvatarItems;
44
- ngOnDestroy(): void;
45
39
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyAvatarList, never>;
46
- static ɵcmp: i0.ɵɵComponentDeclaration<ThyAvatarList, "thy-avatar-list", never, { "thyMode": { "alias": "thyMode"; "required": false; }; "thyAvatarSize": { "alias": "thyAvatarSize"; "required": false; }; }, {}, ["append", "avatarComponents"], ["*"], true, never>;
40
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThyAvatarList, "thy-avatar-list", never, { "thyMode": { "alias": "thyMode"; "required": false; "isSignal": true; }; "thyAvatarSize": { "alias": "thyAvatarSize"; "required": false; "isSignal": true; }; }, {}, ["append", "avatarComponents"], ["*"], true, never>;
47
41
  }