ngx-tethys 19.0.16 → 19.1.0-next.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (322) hide show
  1. package/CHANGELOG.md +31 -11
  2. package/README.md +0 -1
  3. package/action/action.component.d.ts +14 -23
  4. package/action/actions.component.d.ts +5 -7
  5. package/affix/affix.component.d.ts +9 -13
  6. package/alert/alert.component.d.ts +1 -1
  7. package/anchor/anchor-link.component.d.ts +8 -8
  8. package/anchor/anchor.component.d.ts +15 -21
  9. package/arrow-switcher/arrow-switcher.component.d.ts +15 -22
  10. package/autocomplete/autocomplete.component.d.ts +10 -17
  11. package/autocomplete/autocomplete.trigger.directive.d.ts +10 -18
  12. package/avatar/avatar-list/avatar-list.component.d.ts +8 -14
  13. package/avatar/avatar.component.d.ts +25 -39
  14. package/back-top/back-top.component.d.ts +9 -12
  15. package/badge/badge.component.d.ts +19 -59
  16. package/breadcrumb/breadcrumb.component.d.ts +15 -20
  17. package/button/button-group.component.d.ts +5 -12
  18. package/button/button-icon.component.d.ts +14 -27
  19. package/button/button.component.d.ts +17 -26
  20. package/calendar/calendar-header.component.d.ts +9 -8
  21. package/calendar/calendar.component.d.ts +16 -16
  22. package/card/card.component.d.ts +5 -11
  23. package/card/content.component.d.ts +3 -8
  24. package/card/header.component.d.ts +7 -8
  25. package/carousel/carousel.component.d.ts +22 -27
  26. package/cascader/cascader-li.component.d.ts +13 -21
  27. package/cascader/cascader-search-option.component.d.ts +8 -16
  28. package/cascader/cascader.component.d.ts +58 -80
  29. package/checkbox/checkbox.component.d.ts +2 -5
  30. package/collapse/collapse-item.component.d.ts +12 -19
  31. package/collapse/collapse.component.d.ts +6 -12
  32. package/collapse/collapse.token.d.ts +3 -3
  33. package/color-picker/color-picker-custom-panel.component.d.ts +5 -5
  34. package/color-picker/color-picker-panel.component.d.ts +7 -11
  35. package/color-picker/color-picker.component.d.ts +19 -35
  36. package/color-picker/parts/alpha/alpha.component.d.ts +8 -8
  37. package/color-picker/parts/hue/hue.component.d.ts +6 -6
  38. package/color-picker/parts/indicator/indicator.component.d.ts +4 -3
  39. package/color-picker/parts/inputs/inputs.component.d.ts +9 -9
  40. package/color-picker/parts/saturation/saturation.component.d.ts +9 -9
  41. package/comment/comment.component.d.ts +4 -5
  42. package/copy/copy.directive.d.ts +8 -9
  43. package/date-picker/abstract-picker.component.d.ts +8 -7
  44. package/date-picker/lib/calendar/calendar-footer.component.d.ts +2 -1
  45. package/date-picker/lib/popups/inner-popup.component.d.ts +2 -1
  46. package/date-picker/picker.component.d.ts +2 -1
  47. package/date-range/date-range.component.d.ts +2 -2
  48. package/dialog/body/dialog-body.component.d.ts +2 -6
  49. package/dialog/confirm/confirm.component.d.ts +2 -2
  50. package/dialog/footer/dialog-footer.component.d.ts +6 -9
  51. package/dialog/header/dialog-header.component.d.ts +9 -11
  52. package/divider/divider.component.d.ts +12 -16
  53. package/dot/dot.component.d.ts +5 -13
  54. package/drag-drop/drag-handle.directive.d.ts +2 -1
  55. package/drag-drop/drag.directive.d.ts +2 -1
  56. package/drag-drop/drop-container.directive.d.ts +2 -1
  57. package/dropdown/dropdown-active.directive.d.ts +4 -5
  58. package/dropdown/dropdown-menu-item.directive.d.ts +7 -14
  59. package/dropdown/dropdown-menu.component.d.ts +6 -12
  60. package/dropdown/dropdown-submenu.component.d.ts +2 -4
  61. package/dropdown/dropdown.directive.d.ts +14 -24
  62. package/empty/empty.component.d.ts +21 -27
  63. package/fesm2022/ngx-tethys-action.mjs +63 -101
  64. package/fesm2022/ngx-tethys-action.mjs.map +1 -1
  65. package/fesm2022/ngx-tethys-affix.mjs +40 -41
  66. package/fesm2022/ngx-tethys-affix.mjs.map +1 -1
  67. package/fesm2022/ngx-tethys-anchor.mjs +91 -118
  68. package/fesm2022/ngx-tethys-anchor.mjs.map +1 -1
  69. package/fesm2022/ngx-tethys-arrow-switcher.mjs +51 -77
  70. package/fesm2022/ngx-tethys-arrow-switcher.mjs.map +1 -1
  71. package/fesm2022/ngx-tethys-autocomplete.mjs +69 -103
  72. package/fesm2022/ngx-tethys-autocomplete.mjs.map +1 -1
  73. package/fesm2022/ngx-tethys-avatar.mjs +117 -162
  74. package/fesm2022/ngx-tethys-avatar.mjs.map +1 -1
  75. package/fesm2022/ngx-tethys-back-top.mjs +33 -46
  76. package/fesm2022/ngx-tethys-back-top.mjs.map +1 -1
  77. package/fesm2022/ngx-tethys-badge.mjs +104 -208
  78. package/fesm2022/ngx-tethys-badge.mjs.map +1 -1
  79. package/fesm2022/ngx-tethys-breadcrumb.mjs +66 -70
  80. package/fesm2022/ngx-tethys-breadcrumb.mjs.map +1 -1
  81. package/fesm2022/ngx-tethys-button.mjs +225 -322
  82. package/fesm2022/ngx-tethys-button.mjs.map +1 -1
  83. package/fesm2022/ngx-tethys-calendar.mjs +85 -87
  84. package/fesm2022/ngx-tethys-calendar.mjs.map +1 -1
  85. package/fesm2022/ngx-tethys-card.mjs +72 -77
  86. package/fesm2022/ngx-tethys-card.mjs.map +1 -1
  87. package/fesm2022/ngx-tethys-carousel.mjs +83 -99
  88. package/fesm2022/ngx-tethys-carousel.mjs.map +1 -1
  89. package/fesm2022/ngx-tethys-cascader.mjs +313 -468
  90. package/fesm2022/ngx-tethys-cascader.mjs.map +1 -1
  91. package/fesm2022/ngx-tethys-checkbox.mjs +10 -17
  92. package/fesm2022/ngx-tethys-checkbox.mjs.map +1 -1
  93. package/fesm2022/ngx-tethys-collapse.mjs +66 -71
  94. package/fesm2022/ngx-tethys-collapse.mjs.map +1 -1
  95. package/fesm2022/ngx-tethys-color-picker.mjs +187 -246
  96. package/fesm2022/ngx-tethys-color-picker.mjs.map +1 -1
  97. package/fesm2022/ngx-tethys-comment.mjs +16 -10
  98. package/fesm2022/ngx-tethys-comment.mjs.map +1 -1
  99. package/fesm2022/ngx-tethys-copy.mjs +25 -28
  100. package/fesm2022/ngx-tethys-copy.mjs.map +1 -1
  101. package/fesm2022/ngx-tethys-dialog.mjs +81 -82
  102. package/fesm2022/ngx-tethys-dialog.mjs.map +1 -1
  103. package/fesm2022/ngx-tethys-divider.mjs +49 -58
  104. package/fesm2022/ngx-tethys-divider.mjs.map +1 -1
  105. package/fesm2022/ngx-tethys-dot.mjs +45 -68
  106. package/fesm2022/ngx-tethys-dot.mjs.map +1 -1
  107. package/fesm2022/ngx-tethys-dropdown.mjs +155 -203
  108. package/fesm2022/ngx-tethys-dropdown.mjs.map +1 -1
  109. package/fesm2022/ngx-tethys-empty.mjs +107 -95
  110. package/fesm2022/ngx-tethys-empty.mjs.map +1 -1
  111. package/fesm2022/ngx-tethys-flexible-text.mjs +67 -86
  112. package/fesm2022/ngx-tethys-flexible-text.mjs.map +1 -1
  113. package/fesm2022/ngx-tethys-form.mjs +161 -200
  114. package/fesm2022/ngx-tethys-form.mjs.map +1 -1
  115. package/fesm2022/ngx-tethys-fullscreen.mjs +21 -23
  116. package/fesm2022/ngx-tethys-fullscreen.mjs.map +1 -1
  117. package/fesm2022/ngx-tethys-grid.mjs +161 -158
  118. package/fesm2022/ngx-tethys-grid.mjs.map +1 -1
  119. package/fesm2022/ngx-tethys-i18n.mjs +25 -25
  120. package/fesm2022/ngx-tethys-i18n.mjs.map +1 -1
  121. package/fesm2022/ngx-tethys-icon.mjs +44 -59
  122. package/fesm2022/ngx-tethys-icon.mjs.map +1 -1
  123. package/fesm2022/ngx-tethys-image.mjs +40 -36
  124. package/fesm2022/ngx-tethys-image.mjs.map +1 -1
  125. package/fesm2022/ngx-tethys-input-number.mjs +101 -114
  126. package/fesm2022/ngx-tethys-input-number.mjs.map +1 -1
  127. package/fesm2022/ngx-tethys-input.mjs +268 -271
  128. package/fesm2022/ngx-tethys-input.mjs.map +1 -1
  129. package/fesm2022/ngx-tethys-list.mjs +1 -1
  130. package/fesm2022/ngx-tethys-list.mjs.map +1 -1
  131. package/fesm2022/ngx-tethys-loading.mjs +17 -35
  132. package/fesm2022/ngx-tethys-loading.mjs.map +1 -1
  133. package/fesm2022/ngx-tethys-mention.mjs +52 -74
  134. package/fesm2022/ngx-tethys-mention.mjs.map +1 -1
  135. package/fesm2022/ngx-tethys-menu.mjs +106 -179
  136. package/fesm2022/ngx-tethys-menu.mjs.map +1 -1
  137. package/fesm2022/ngx-tethys-nav.mjs +169 -201
  138. package/fesm2022/ngx-tethys-nav.mjs.map +1 -1
  139. package/fesm2022/ngx-tethys-pagination.mjs +230 -294
  140. package/fesm2022/ngx-tethys-pagination.mjs.map +1 -1
  141. package/fesm2022/ngx-tethys-popover.mjs +67 -70
  142. package/fesm2022/ngx-tethys-popover.mjs.map +1 -1
  143. package/fesm2022/ngx-tethys-progress.mjs +194 -246
  144. package/fesm2022/ngx-tethys-progress.mjs.map +1 -1
  145. package/fesm2022/ngx-tethys-property.mjs +99 -113
  146. package/fesm2022/ngx-tethys-property.mjs.map +1 -1
  147. package/fesm2022/ngx-tethys-radio.mjs +60 -76
  148. package/fesm2022/ngx-tethys-radio.mjs.map +1 -1
  149. package/fesm2022/ngx-tethys-rate.mjs +115 -157
  150. package/fesm2022/ngx-tethys-rate.mjs.map +1 -1
  151. package/fesm2022/ngx-tethys-resizable.mjs +111 -157
  152. package/fesm2022/ngx-tethys-resizable.mjs.map +1 -1
  153. package/fesm2022/ngx-tethys-result.mjs +46 -28
  154. package/fesm2022/ngx-tethys-result.mjs.map +1 -1
  155. package/fesm2022/ngx-tethys-segment.mjs +84 -103
  156. package/fesm2022/ngx-tethys-segment.mjs.map +1 -1
  157. package/fesm2022/ngx-tethys-skeleton.mjs +339 -342
  158. package/fesm2022/ngx-tethys-skeleton.mjs.map +1 -1
  159. package/fesm2022/ngx-tethys-slide.mjs +37 -56
  160. package/fesm2022/ngx-tethys-slide.mjs.map +1 -1
  161. package/fesm2022/ngx-tethys-slider.mjs +75 -108
  162. package/fesm2022/ngx-tethys-slider.mjs.map +1 -1
  163. package/fesm2022/ngx-tethys-space.mjs +25 -51
  164. package/fesm2022/ngx-tethys-space.mjs.map +1 -1
  165. package/fesm2022/ngx-tethys-statistic.mjs +114 -151
  166. package/fesm2022/ngx-tethys-statistic.mjs.map +1 -1
  167. package/fesm2022/ngx-tethys-stepper.mjs +74 -107
  168. package/fesm2022/ngx-tethys-stepper.mjs.map +1 -1
  169. package/fesm2022/ngx-tethys-strength.mjs +52 -66
  170. package/fesm2022/ngx-tethys-strength.mjs.map +1 -1
  171. package/fesm2022/ngx-tethys-switch.mjs +80 -140
  172. package/fesm2022/ngx-tethys-switch.mjs.map +1 -1
  173. package/fesm2022/ngx-tethys-table.mjs +1 -1
  174. package/fesm2022/ngx-tethys-table.mjs.map +1 -1
  175. package/fesm2022/ngx-tethys-tabs.mjs +69 -87
  176. package/fesm2022/ngx-tethys-tabs.mjs.map +1 -1
  177. package/fesm2022/ngx-tethys-tag.mjs +42 -64
  178. package/fesm2022/ngx-tethys-tag.mjs.map +1 -1
  179. package/fesm2022/ngx-tethys-timeline.mjs +104 -129
  180. package/fesm2022/ngx-tethys-timeline.mjs.map +1 -1
  181. package/fesm2022/ngx-tethys-transfer.mjs +98 -119
  182. package/fesm2022/ngx-tethys-transfer.mjs.map +1 -1
  183. package/fesm2022/ngx-tethys-tree-select.mjs +2 -4
  184. package/fesm2022/ngx-tethys-tree-select.mjs.map +1 -1
  185. package/fesm2022/ngx-tethys-tree.mjs +281 -401
  186. package/fesm2022/ngx-tethys-tree.mjs.map +1 -1
  187. package/fesm2022/ngx-tethys-typography.mjs +36 -33
  188. package/fesm2022/ngx-tethys-typography.mjs.map +1 -1
  189. package/fesm2022/ngx-tethys-upload.mjs +93 -132
  190. package/fesm2022/ngx-tethys-upload.mjs.map +1 -1
  191. package/fesm2022/ngx-tethys-util.mjs.map +1 -1
  192. package/fesm2022/ngx-tethys-vote.mjs +53 -99
  193. package/fesm2022/ngx-tethys-vote.mjs.map +1 -1
  194. package/fesm2022/ngx-tethys-watermark.mjs +36 -40
  195. package/fesm2022/ngx-tethys-watermark.mjs.map +1 -1
  196. package/fesm2022/ngx-tethys.mjs +1 -1
  197. package/fesm2022/ngx-tethys.mjs.map +1 -1
  198. package/flexible-text/flexible-text.component.d.ts +9 -15
  199. package/form/form-group-error/form-group-error.component.d.ts +2 -3
  200. package/form/form-group-label.directive.d.ts +2 -1
  201. package/form/form-group.component.d.ts +17 -24
  202. package/form/form-submit.directive.d.ts +2 -2
  203. package/form/form.directive.d.ts +6 -8
  204. package/form/from-group-footer/form-group-footer.component.d.ts +2 -2
  205. package/form/validator/confirm-validator.directive.d.ts +2 -2
  206. package/form/validator/unique-validator.directive.d.ts +2 -2
  207. package/fullscreen/fullscreen.component.d.ts +7 -7
  208. package/grid/flex.d.ts +13 -20
  209. package/grid/thy-col.directive.d.ts +6 -9
  210. package/grid/thy-grid-item.component.d.ts +3 -4
  211. package/grid/thy-grid.component.d.ts +11 -12
  212. package/grid/thy-row.directive.d.ts +11 -14
  213. package/icon/icon.component.d.ts +10 -17
  214. package/image/image.directive.d.ts +10 -12
  215. package/image/image.token.d.ts +5 -5
  216. package/input/input-count.component.d.ts +4 -5
  217. package/input/input-group.component.d.ts +20 -20
  218. package/input/input-search.component.d.ts +15 -20
  219. package/input/input.component.d.ts +20 -21
  220. package/input/input.directive.d.ts +4 -6
  221. package/input-number/input-number.component.d.ts +21 -29
  222. package/layout/header.component.d.ts +4 -9
  223. package/layout/sidebar-header.component.d.ts +2 -1
  224. package/layout/sidebar.component.d.ts +8 -7
  225. package/list/list.component.d.ts +2 -1
  226. package/list/selection/selection-list.d.ts +4 -3
  227. package/loading/loading.component.d.ts +4 -10
  228. package/mention/mention.directive.d.ts +6 -7
  229. package/mention/suggestions/suggestions.component.d.ts +8 -9
  230. package/menu/group/menu-group.component.d.ts +16 -33
  231. package/menu/item/action/menu-item-action.component.d.ts +7 -8
  232. package/menu/item/icon/menu-item-icon.component.d.ts +2 -2
  233. package/menu/item/menu-item.component.d.ts +4 -4
  234. package/menu/item/name/menu-item-name.component.d.ts +2 -3
  235. package/menu/menu.component.d.ts +3 -7
  236. package/nav/icon-nav/icon-nav-link.directive.d.ts +3 -7
  237. package/nav/icon-nav/icon-nav.component.d.ts +3 -8
  238. package/nav/nav-ink-bar.directive.d.ts +4 -6
  239. package/nav/nav-item.directive.d.ts +7 -10
  240. package/nav/nav.component.d.ts +20 -48
  241. package/package.json +1 -1
  242. package/pagination/pagination.component.d.ts +48 -109
  243. package/popover/header/popover-header.component.d.ts +7 -6
  244. package/popover/popover.directive.d.ts +11 -18
  245. package/progress/progress-circle.component.d.ts +35 -26
  246. package/progress/progress-strip.component.d.ts +10 -14
  247. package/progress/progress.component.d.ts +16 -26
  248. package/property/examples/single/single.component.scss +6 -0
  249. package/property/properties.component.d.ts +6 -15
  250. package/property/property-item.component.d.ts +22 -34
  251. package/property/styles/properties.scss +124 -52
  252. package/property-operation/property-operation.component.d.ts +6 -5
  253. package/radio/button/radio-button.component.d.ts +2 -2
  254. package/radio/group/radio-group.component.d.ts +13 -16
  255. package/radio/radio.component.d.ts +2 -2
  256. package/radio/radio.token.d.ts +2 -2
  257. package/rate/rate-item.component.d.ts +8 -10
  258. package/rate/rate.component.d.ts +20 -30
  259. package/resizable/resizable.directive.d.ts +18 -36
  260. package/resizable/resize-handle.component.d.ts +6 -6
  261. package/resizable/resize-handles.component.d.ts +5 -8
  262. package/result/result.component.d.ts +9 -10
  263. package/schematics/version.d.ts +1 -1
  264. package/schematics/version.js +1 -1
  265. package/segment/segment-item.component.d.ts +9 -14
  266. package/segment/segment.component.d.ts +11 -14
  267. package/segment/segment.token.d.ts +4 -3
  268. package/select/custom-select/custom-select.component.d.ts +11 -10
  269. package/select/native-select/native-select.component.d.ts +2 -1
  270. package/shared/base-form-check.component.d.ts +3 -2
  271. package/shared/directives/thy-autofocus.directive.d.ts +3 -2
  272. package/shared/directives/thy-scroll.directive.d.ts +2 -1
  273. package/shared/directives/thy-show.d.ts +2 -1
  274. package/shared/option/group/option-group.component.d.ts +2 -1
  275. package/shared/option/list-option/list-option.component.d.ts +2 -7
  276. package/shared/option/option.component.d.ts +2 -1
  277. package/shared/select/select-control/select-control.component.d.ts +7 -6
  278. package/skeleton/skeleton-circle.component.d.ts +16 -19
  279. package/skeleton/skeleton-rectangle.component.d.ts +20 -23
  280. package/skeleton/skeleton.component.d.ts +5 -6
  281. package/skeleton/stylized/bullet-list.component.d.ts +11 -13
  282. package/skeleton/stylized/list.component.d.ts +10 -12
  283. package/skeleton/stylized/paragraph.component.d.ts +12 -14
  284. package/slide/slide-body/slide-body-section.component.d.ts +2 -5
  285. package/slide/slide-header/slide-header.component.d.ts +6 -9
  286. package/slider/slider.component.d.ts +17 -24
  287. package/space/space.component.d.ts +10 -16
  288. package/statistic/statistic.component.d.ts +35 -40
  289. package/stepper/step-header.component.d.ts +6 -10
  290. package/stepper/step.component.d.ts +6 -6
  291. package/stepper/stepper.component.d.ts +15 -20
  292. package/strength/strength.component.d.ts +8 -13
  293. package/switch/switch.component.d.ts +24 -35
  294. package/table/table-column.component.d.ts +6 -5
  295. package/table/table-skeleton.component.d.ts +3 -10
  296. package/table/table.component.d.ts +11 -10
  297. package/tabs/tab-content.component.d.ts +4 -4
  298. package/tabs/tab.component.d.ts +4 -5
  299. package/tabs/tabs.component.d.ts +13 -15
  300. package/tag/tag.component.d.ts +10 -16
  301. package/time-picker/time-picker-panel.component.d.ts +3 -2
  302. package/time-picker/time-picker.component.d.ts +6 -5
  303. package/timeline/timeline-item.component.d.ts +9 -13
  304. package/timeline/timeline.component.d.ts +13 -17
  305. package/tooltip/tooltip.directive.d.ts +3 -2
  306. package/transfer/transfer-list.component.d.ts +15 -15
  307. package/transfer/transfer.component.d.ts +20 -23
  308. package/tree/tree-abstract.d.ts +5 -5
  309. package/tree/tree-node.component.d.ts +24 -46
  310. package/tree/tree.class.d.ts +4 -4
  311. package/tree/tree.component.d.ts +47 -74
  312. package/tree/tree.service.d.ts +3 -4
  313. package/tree-select/tree-select.component.d.ts +10 -9
  314. package/typography/bg-color.directive.d.ts +3 -3
  315. package/typography/text/text.component.d.ts +2 -2
  316. package/typography/text-color.directive.d.ts +3 -3
  317. package/upload/file-drop.directive.d.ts +9 -11
  318. package/upload/file-select-base.d.ts +6 -10
  319. package/upload/file-select.component.d.ts +10 -20
  320. package/util/helpers/helpers.d.ts +2 -1
  321. package/vote/vote.component.d.ts +13 -32
  322. package/watermark/watermark.directive.d.ts +7 -9
@@ -1,6 +1,6 @@
1
- import { AfterContentInit, EventEmitter, OnChanges, OnInit, QueryList, SimpleChanges, TemplateRef } from '@angular/core';
1
+ import { AfterContentInit, OnInit, QueryList, TemplateRef } from '@angular/core';
2
2
  import { ThyTab } from './tab.component';
3
- import { ThyActiveTabInfo, ThyTabActiveEvent } from './types';
3
+ import { ThyActiveTabInfo } from './types';
4
4
  import * as i0 from "@angular/core";
5
5
  export type ThyTabsSize = 'lg' | 'md' | 'sm';
6
6
  export type ThyTabsType = 'pulled' | 'tabs' | 'pills' | 'lite';
@@ -9,7 +9,7 @@ export type ThyTabsPosition = 'top' | 'left';
9
9
  * 选项卡切换组件
10
10
  * @name thy-tabs
11
11
  */
12
- export declare class ThyTabs implements OnInit, OnChanges, AfterContentInit {
12
+ export declare class ThyTabs implements OnInit, AfterContentInit {
13
13
  private cd;
14
14
  private el;
15
15
  tabs: QueryList<ThyTab>;
@@ -18,48 +18,46 @@ export declare class ThyTabs implements OnInit, OnChanges, AfterContentInit {
18
18
  * 标签类型
19
19
  * @type 'pulled' | 'tabs' | 'pills' | 'lite'
20
20
  */
21
- thyType: ThyTabsType;
21
+ readonly thyType: import("@angular/core").InputSignal<ThyTabsType>;
22
22
  /**
23
23
  * 选项卡的大小
24
24
  * @type 'lg' | 'md' | 'sm'
25
25
  */
26
- thySize: ThyTabsSize;
26
+ readonly thySize: import("@angular/core").InputSignal<ThyTabsSize>;
27
27
  /**
28
28
  * 激活的项
29
29
  */
30
- set thyActiveTab(value: ThyActiveTabInfo);
30
+ readonly thyActiveTab: import("@angular/core").InputSignal<ThyActiveTabInfo>;
31
31
  /**
32
32
  * 附加操作
33
33
  */
34
- thyExtra: TemplateRef<unknown>;
34
+ readonly thyExtra: import("@angular/core").InputSignal<TemplateRef<unknown>>;
35
35
  /**
36
36
  * 选项卡的位置
37
37
  * @type 'top' | 'left'
38
38
  */
39
- thyPosition: ThyTabsPosition;
39
+ readonly thyPosition: import("@angular/core").InputSignal<ThyTabsPosition>;
40
40
  /**
41
41
  * 是否使用动画切换 Tabs
42
42
  */
43
- thyAnimated: boolean;
43
+ readonly thyAnimated: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
44
44
  /**
45
45
  * 响应式,自动计算宽度存放 thyNavItem,并添加更多弹框
46
46
  */
47
- thyResponsive: boolean;
47
+ readonly thyResponsive: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
48
48
  /**
49
49
  * 激活的项发生改变时的回调
50
50
  */
51
- thyActiveTabChange: EventEmitter<ThyTabActiveEvent>;
51
+ readonly thyActiveTabChange: import("@angular/core").OutputEmitterRef<ThyActiveTabInfo>;
52
52
  activeTabIndex: number;
53
53
  activeTabId: string;
54
54
  transitionStarted: boolean;
55
+ constructor();
55
56
  ngOnInit(): void;
56
- ngOnChanges(changes: SimpleChanges): void;
57
57
  ngAfterContentInit(): void;
58
58
  get tabPaneAnimated(): boolean;
59
59
  getTabContentMarginLeft(): string;
60
60
  activeTab(tab: ThyTab, index: number): void;
61
61
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyTabs, never>;
62
- static ɵcmp: i0.ɵɵComponentDeclaration<ThyTabs, "thy-tabs", never, { "thyType": { "alias": "thyType"; "required": false; }; "thySize": { "alias": "thySize"; "required": false; }; "thyActiveTab": { "alias": "thyActiveTab"; "required": false; }; "thyExtra": { "alias": "thyExtra"; "required": false; }; "thyPosition": { "alias": "thyPosition"; "required": false; }; "thyAnimated": { "alias": "thyAnimated"; "required": false; }; "thyResponsive": { "alias": "thyResponsive"; "required": false; }; }, { "thyActiveTabChange": "thyActiveTabChange"; }, ["tabs"], never, true, never>;
63
- static ngAcceptInputType_thyAnimated: boolean | string | number;
64
- static ngAcceptInputType_thyResponsive: boolean | string | number;
62
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThyTabs, "thy-tabs", never, { "thyType": { "alias": "thyType"; "required": false; "isSignal": true; }; "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; "thyActiveTab": { "alias": "thyActiveTab"; "required": false; "isSignal": true; }; "thyExtra": { "alias": "thyExtra"; "required": false; "isSignal": true; }; "thyPosition": { "alias": "thyPosition"; "required": false; "isSignal": true; }; "thyAnimated": { "alias": "thyAnimated"; "required": false; "isSignal": true; }; "thyResponsive": { "alias": "thyResponsive"; "required": false; "isSignal": true; }; }, { "thyActiveTabChange": "thyActiveTabChange"; }, ["tabs"], never, true, never>;
65
63
  }
@@ -1,4 +1,3 @@
1
- import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
1
  import { ThyThemeColor } from 'ngx-tethys/core';
3
2
  import * as i0 from "@angular/core";
4
3
  export type ThyTagColor = ThyThemeColor | string;
@@ -8,47 +7,42 @@ export type ThyTagSize = 'sm' | 'md' | 'lg';
8
7
  * 标签组件
9
8
  * @name thy-tag,[thyTag]
10
9
  */
11
- export declare class ThyTag implements OnInit, OnChanges {
10
+ export declare class ThyTag {
12
11
  private elementRef;
13
- private color;
14
12
  private hostRenderer;
15
13
  /**
16
14
  * 标签颜色,thyColor 的简写
17
15
  * @type primary | success | info | warning | danger | default | light | string
18
16
  * @default default
19
17
  */
20
- set thyTag(value: ThyTagColor);
18
+ readonly thyTag: import("@angular/core").InputSignal<string>;
21
19
  /**
22
20
  * 标签形状
23
21
  * @type pill | rectangle
24
22
  */
25
- thyShape: ThyTagShape;
23
+ readonly thyShape: import("@angular/core").InputSignal<ThyTagShape>;
26
24
  /**
27
25
  * 标签颜色,支持设置主题色和颜色值,主题色为 default、primary、success、info、warning、danger
28
26
  */
29
- set thyColor(color: ThyTagColor);
27
+ readonly thyColor: import("@angular/core").InputSignal<string>;
30
28
  /**
31
29
  * 标签主题,fill 为颜色填充,outline 为线框,weak-fill 为背景色0.1透明度效果
32
30
  * @type outline | fill | weak-fill
33
31
  */
34
- thyTheme: 'outline' | 'fill' | 'weak-fill';
32
+ readonly thyTheme: import("@angular/core").InputSignal<"fill" | "outline" | "weak-fill">;
35
33
  /**
36
34
  * 标签大小
37
35
  * @type sm | md | lg
38
36
  */
39
- thySize: ThyTagSize;
37
+ readonly thySize: import("@angular/core").InputSignal<ThyTagSize>;
40
38
  /**
41
39
  * 可 Hover 悬停的标签,设置为 true 时会有一个 Hover 效果
42
40
  * @default false
43
41
  */
44
- thyHoverable: boolean | string;
45
- ngOnInit(): void;
46
- ngOnChanges(changes: SimpleChanges): void;
42
+ readonly thyHoverable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
43
+ protected readonly color: import("@angular/core").Signal<string>;
44
+ constructor();
47
45
  private setColor;
48
46
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyTag, never>;
49
- static ɵcmp: i0.ɵɵComponentDeclaration<ThyTag, "thy-tag,[thyTag]", never, { "thyTag": { "alias": "thyTag"; "required": false; }; "thyShape": { "alias": "thyShape"; "required": false; }; "thyColor": { "alias": "thyColor"; "required": false; }; "thyTheme": { "alias": "thyTheme"; "required": false; }; "thySize": { "alias": "thySize"; "required": false; }; "thyHoverable": { "alias": "thyHoverable"; "required": false; }; }, {}, never, ["*"], true, never>;
50
- static ngAcceptInputType_thyHoverable: /**
51
- * 可 Hover 悬停的标签,设置为 true 时会有一个 Hover 效果
52
- * @default false
53
- */ boolean | string | number;
47
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThyTag, "thy-tag,[thyTag]", never, { "thyTag": { "alias": "thyTag"; "required": false; "isSignal": true; }; "thyShape": { "alias": "thyShape"; "required": false; "isSignal": true; }; "thyColor": { "alias": "thyColor"; "required": false; "isSignal": true; }; "thyTheme": { "alias": "thyTheme"; "required": false; "isSignal": true; }; "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; "thyHoverable": { "alias": "thyHoverable"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
54
48
  }
@@ -2,6 +2,7 @@ import { ElementRef, EventEmitter, OnDestroy, OnInit, Signal } from '@angular/co
2
2
  import { ControlValueAccessor } from '@angular/forms';
3
3
  import { ThyTimePickerLocale } from 'ngx-tethys/i18n';
4
4
  import * as i0 from "@angular/core";
5
+ import * as i1 from "ngx-tethys/util";
5
6
  /**
6
7
  * 时间选择面板组件
7
8
  * @name thy-time-picker-panel
@@ -109,6 +110,6 @@ export declare class ThyTimePanel implements OnInit, OnDestroy, ControlValueAcce
109
110
  ngOnDestroy(): void;
110
111
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyTimePanel, never>;
111
112
  static ɵcmp: i0.ɵɵComponentDeclaration<ThyTimePanel, "thy-time-picker-panel", never, { "thyFormat": { "alias": "thyFormat"; "required": false; }; "thyHourStep": { "alias": "thyHourStep"; "required": false; }; "thyMinuteStep": { "alias": "thyMinuteStep"; "required": false; }; "thySecondStep": { "alias": "thySecondStep"; "required": false; }; "thyShowSelectNow": { "alias": "thyShowSelectNow"; "required": false; }; "thyShowOperations": { "alias": "thyShowOperations"; "required": false; }; }, { "thyPickChange": "thyPickChange"; "thyClosePanel": "thyClosePanel"; }, never, never, true, never>;
112
- static ngAcceptInputType_thyShowSelectNow: boolean | string | number;
113
- static ngAcceptInputType_thyShowOperations: boolean | string | number;
113
+ static ngAcceptInputType_thyShowSelectNow: i1.ThyBooleanInput;
114
+ static ngAcceptInputType_thyShowOperations: i1.ThyBooleanInput;
114
115
  }
@@ -4,6 +4,7 @@ import { ControlValueAccessor } from '@angular/forms';
4
4
  import { ThyPlacement } from 'ngx-tethys/core';
5
5
  import { ThyTimePickerLocale } from 'ngx-tethys/i18n';
6
6
  import * as i0 from "@angular/core";
7
+ import * as i1 from "ngx-tethys/util";
7
8
  export type TimePickerSize = 'xs' | 'sm' | 'md' | 'lg' | 'default';
8
9
  /**
9
10
  * 时间选择组件
@@ -135,9 +136,9 @@ export declare class ThyTimePicker implements OnInit, AfterViewInit, ControlValu
135
136
  private disabledUserOperation;
136
137
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyTimePicker, never>;
137
138
  static ɵcmp: i0.ɵɵComponentDeclaration<ThyTimePicker, "thy-time-picker", never, { "thySize": { "alias": "thySize"; "required": false; }; "thyPlaceholder": { "alias": "thyPlaceholder"; "required": false; }; "thyPlacement": { "alias": "thyPlacement"; "required": false; }; "thyFormat": { "alias": "thyFormat"; "required": false; }; "thyHourStep": { "alias": "thyHourStep"; "required": false; }; "thyMinuteStep": { "alias": "thyMinuteStep"; "required": false; }; "thySecondStep": { "alias": "thySecondStep"; "required": false; }; "thyPopupClass": { "alias": "thyPopupClass"; "required": false; }; "thyBackdrop": { "alias": "thyBackdrop"; "required": false; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; "thyReadonly": { "alias": "thyReadonly"; "required": false; }; "thyShowSelectNow": { "alias": "thyShowSelectNow"; "required": false; }; "thyAllowClear": { "alias": "thyAllowClear"; "required": false; }; }, { "thyOpenChange": "thyOpenChange"; }, never, never, true, never>;
138
- static ngAcceptInputType_thyBackdrop: boolean | string | number;
139
- static ngAcceptInputType_thyDisabled: boolean | string | number;
140
- static ngAcceptInputType_thyReadonly: boolean | string | number;
141
- static ngAcceptInputType_thyShowSelectNow: boolean | string | number;
142
- static ngAcceptInputType_thyAllowClear: boolean | string | number;
139
+ static ngAcceptInputType_thyBackdrop: i1.ThyBooleanInput;
140
+ static ngAcceptInputType_thyDisabled: i1.ThyBooleanInput;
141
+ static ngAcceptInputType_thyReadonly: i1.ThyBooleanInput;
142
+ static ngAcceptInputType_thyShowSelectNow: i1.ThyBooleanInput;
143
+ static ngAcceptInputType_thyAllowClear: i1.ThyBooleanInput;
143
144
  }
@@ -1,5 +1,4 @@
1
- import { OnInit, OnChanges, TemplateRef, SimpleChanges } from '@angular/core';
2
- import { SafeAny } from 'ngx-tethys/types';
1
+ import { OnInit, TemplateRef } from '@angular/core';
3
2
  import { ThyTimeMode } from './timeline.type';
4
3
  import * as i0 from "@angular/core";
5
4
  export type thyColor = 'primary' | 'success' | 'warning' | 'danger' | 'info';
@@ -8,12 +7,9 @@ export type thyColor = 'primary' | 'success' | 'warning' | 'danger' | 'info';
8
7
  * @name thy-timeline-item
9
8
  * @order 20
10
9
  */
11
- export declare class ThyTimelineItem implements OnInit, OnChanges {
10
+ export declare class ThyTimelineItem implements OnInit {
12
11
  private cdr;
13
- private timelineService;
14
- template: TemplateRef<void>;
15
- className: string;
16
- color: thyColor;
12
+ readonly template: import("@angular/core").Signal<TemplateRef<void>>;
17
13
  isLast: boolean;
18
14
  isFirst: boolean;
19
15
  position: ThyTimeMode;
@@ -23,25 +19,25 @@ export declare class ThyTimelineItem implements OnInit, OnChanges {
23
19
  * @type primary | success | warning | danger | info
24
20
  * @default primary
25
21
  */
26
- set thyColor(value: thyColor);
22
+ readonly thyColor: import("@angular/core").InputSignal<thyColor>;
27
23
  /**
28
24
  * 自定义节点位置
29
25
  * @type left | right | center
30
26
  */
31
- thyPosition: ThyTimeMode;
27
+ readonly thyPosition: import("@angular/core").InputSignal<ThyTimeMode>;
32
28
  /**
33
29
  * 自定义时间轴点模板
34
30
  * @type TemplateRef
35
31
  */
36
- dot: TemplateRef<SafeAny>;
32
+ readonly dot: import("@angular/core").Signal<TemplateRef<any>>;
37
33
  /**
38
34
  * 自定义另一侧的模板
39
35
  * @type TemplateRef
40
36
  */
41
- description: TemplateRef<SafeAny>;
37
+ readonly description: import("@angular/core").Signal<TemplateRef<any>>;
38
+ constructor();
42
39
  detectChanges(): void;
43
- ngOnChanges(changes: SimpleChanges): void;
44
40
  ngOnInit(): void;
45
41
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyTimelineItem, never>;
46
- static ɵcmp: i0.ɵɵComponentDeclaration<ThyTimelineItem, "thy-timeline-item", ["ThyTimelineItem"], { "thyColor": { "alias": "thyColor"; "required": false; }; "thyPosition": { "alias": "thyPosition"; "required": false; }; }, {}, ["dot", "description"], ["*"], true, never>;
42
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThyTimelineItem, "thy-timeline-item", ["ThyTimelineItem"], { "thyColor": { "alias": "thyColor"; "required": false; "isSignal": true; }; "thyPosition": { "alias": "thyPosition"; "required": false; "isSignal": true; }; }, {}, ["dot", "description"], ["*"], true, never>;
47
43
  }
@@ -1,4 +1,4 @@
1
- import { QueryList, AfterContentInit, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
1
+ import { OnInit, WritableSignal } from '@angular/core';
2
2
  import { ThyTimelineItem } from './timeline-item.component';
3
3
  import { ThyTimeMode } from './timeline.type';
4
4
  import * as i0 from "@angular/core";
@@ -13,39 +13,35 @@ export type ThyTimeDirection = 'horizontal' | 'vertical';
13
13
  * @name thy-timeline
14
14
  * @order 10
15
15
  */
16
- export declare class ThyTimeline implements OnInit, AfterContentInit, OnChanges, OnDestroy {
16
+ export declare class ThyTimeline implements OnInit {
17
17
  private cdr;
18
18
  private timelineService;
19
19
  /**
20
20
  * 节点排序是否倒序
21
21
  * @default false
22
22
  */
23
- thyReverse: boolean;
23
+ readonly thyReverse: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
24
24
  /**
25
25
  * 改变时间轴和内容的相对位置
26
26
  * @type left | right | center
27
27
  * @default left
28
28
  */
29
- thyMode: ThyTimeMode;
29
+ readonly thyMode: import("@angular/core").InputSignal<ThyTimeMode>;
30
30
  /**
31
31
  * 时间轴的方向
32
32
  * @type horizontal | vertical
33
33
  */
34
- thyDirection: ThyTimeDirection;
34
+ readonly thyDirection: import("@angular/core").InputSignal<ThyTimeDirection>;
35
35
  timelineItems: ThyTimelineItem[];
36
- private destroy$;
37
- isTimeline: boolean;
38
- rightTimeline: boolean;
39
- centerTimeline: boolean;
40
- templateTimeline: boolean;
41
- horizontal: boolean;
42
- listOfItems: QueryList<ThyTimelineItem>;
43
- ngOnChanges(changes: SimpleChanges): void;
36
+ templateTimeline: WritableSignal<boolean>;
37
+ horizontal: import("@angular/core").Signal<boolean>;
38
+ rightTimeline: import("@angular/core").Signal<boolean>;
39
+ centerTimeline: import("@angular/core").Signal<boolean>;
40
+ readonly listOfItems: import("@angular/core").Signal<readonly ThyTimelineItem[]>;
41
+ private takeUntilDestroyed;
42
+ constructor();
44
43
  ngOnInit(): void;
45
- ngAfterContentInit(): void;
46
- ngOnDestroy(): void;
47
44
  private updateChildren;
48
45
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyTimeline, never>;
49
- static ɵcmp: i0.ɵɵComponentDeclaration<ThyTimeline, "thy-timeline", never, { "thyReverse": { "alias": "thyReverse"; "required": false; }; "thyMode": { "alias": "thyMode"; "required": false; }; "thyDirection": { "alias": "thyDirection"; "required": false; }; }, {}, ["listOfItems"], ["*"], true, never>;
50
- static ngAcceptInputType_thyReverse: boolean | string | number;
46
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThyTimeline, "thy-timeline", never, { "thyReverse": { "alias": "thyReverse"; "required": false; "isSignal": true; }; "thyMode": { "alias": "thyMode"; "required": false; "isSignal": true; }; "thyDirection": { "alias": "thyDirection"; "required": false; "isSignal": true; }; }, {}, ["listOfItems"], ["*"], true, never>;
51
47
  }
@@ -3,6 +3,7 @@ import { ThyOverlayDirectiveBase, ThyOverlayTrigger, ThyPlacement } from 'ngx-te
3
3
  import { SafeAny } from 'ngx-tethys/types';
4
4
  import { ThyTooltipContent } from './interface';
5
5
  import * as i0 from "@angular/core";
6
+ import * as i1 from "ngx-tethys/util";
6
7
  /**
7
8
  * @name thyTooltip
8
9
  */
@@ -76,7 +77,7 @@ export declare class ThyTooltipDirective extends ThyOverlayDirectiveBase impleme
76
77
  static ɵdir: i0.ɵɵDirectiveDeclaration<ThyTooltipDirective, "[thyTooltip],[thy-tooltip]", ["thyTooltip"], { "content": { "alias": "thyTooltip"; "required": false; }; "placement": { "alias": "thyTooltipPlacement"; "required": false; }; "thyTooltipClass": { "alias": "thyTooltipClass"; "required": false; }; "showDelay": { "alias": "thyTooltipShowDelay"; "required": false; }; "hideDelay": { "alias": "thyTooltipHideDelay"; "required": false; }; "thyTooltipTrigger": { "alias": "thyTooltipTrigger"; "required": false; }; "thyTooltipDisabled": { "alias": "thyTooltipDisabled"; "required": false; }; "data": { "alias": "thyTooltipTemplateContext"; "required": false; }; "tooltipOffset": { "alias": "thyTooltipOffset"; "required": false; }; "tooltipPin": { "alias": "thyTooltipPin"; "required": false; }; }, {}, never, never, true, never>;
77
78
  static ngAcceptInputType_showDelay: unknown;
78
79
  static ngAcceptInputType_hideDelay: unknown;
79
- static ngAcceptInputType_thyTooltipDisabled: boolean | string | number;
80
+ static ngAcceptInputType_thyTooltipDisabled: i1.ThyBooleanInput;
80
81
  static ngAcceptInputType_tooltipOffset: unknown;
81
- static ngAcceptInputType_tooltipPin: boolean | string | number;
82
+ static ngAcceptInputType_tooltipPin: i1.ThyBooleanInput;
82
83
  }
@@ -1,5 +1,5 @@
1
1
  import { CdkDrag, CdkDragDrop } from '@angular/cdk/drag-drop';
2
- import { DoCheck, EventEmitter, OnInit, Signal, TemplateRef } from '@angular/core';
2
+ import { DoCheck, OnInit, Signal, TemplateRef } from '@angular/core';
3
3
  import { InnerTransferDragEvent, ThyTransferItem, ThyTransferSelectEvent } from './transfer.interface';
4
4
  import { ThyTransferLocale } from 'ngx-tethys/i18n';
5
5
  import * as i0 from "@angular/core";
@@ -14,19 +14,19 @@ export declare class ThyTransferList implements OnInit, DoCheck {
14
14
  private _lockDiff;
15
15
  private _unlockDiff;
16
16
  locale: Signal<ThyTransferLocale>;
17
- title: string;
18
- items: ThyTransferItem[];
19
- draggable: boolean;
20
- canLock: boolean;
21
- maxLock: number;
22
- max: number;
23
- disabled: boolean;
24
- template: TemplateRef<any>;
25
- contentRef: TemplateRef<any>;
26
- draggableUpdate: EventEmitter<InnerTransferDragEvent>;
27
- selectItem: EventEmitter<ThyTransferSelectEvent>;
28
- unselectItem: EventEmitter<ThyTransferSelectEvent>;
29
- hostClass: string;
17
+ readonly title: import("@angular/core").InputSignal<string>;
18
+ readonly items: import("@angular/core").InputSignal<ThyTransferItem[]>;
19
+ readonly draggable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
20
+ readonly canLock: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
21
+ readonly maxLock: import("@angular/core").InputSignalWithTransform<number, unknown>;
22
+ readonly max: import("@angular/core").InputSignalWithTransform<number, unknown>;
23
+ readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
24
+ readonly template: import("@angular/core").InputSignal<TemplateRef<any>>;
25
+ readonly renderContentRef: import("@angular/core").InputSignal<TemplateRef<any>>;
26
+ readonly draggableUpdate: import("@angular/core").OutputEmitterRef<InnerTransferDragEvent>;
27
+ readonly selectItem: import("@angular/core").OutputEmitterRef<ThyTransferSelectEvent>;
28
+ readonly unselectItem: import("@angular/core").OutputEmitterRef<ThyTransferSelectEvent>;
29
+ constructor();
30
30
  ngOnInit(): void;
31
31
  private _combineTransferData;
32
32
  private _afterChangeItems;
@@ -37,5 +37,5 @@ export declare class ThyTransferList implements OnInit, DoCheck {
37
37
  onUnselectItem: (item: ThyTransferItem) => void;
38
38
  drop(event: CdkDragDrop<ThyTransferItem[]>): void;
39
39
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyTransferList, never>;
40
- static ɵcmp: i0.ɵɵComponentDeclaration<ThyTransferList, "thy-transfer-list", never, { "title": { "alias": "title"; "required": false; }; "items": { "alias": "items"; "required": false; }; "draggable": { "alias": "draggable"; "required": false; }; "canLock": { "alias": "canLock"; "required": false; }; "maxLock": { "alias": "maxLock"; "required": false; }; "max": { "alias": "max"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "template": { "alias": "template"; "required": false; }; "contentRef": { "alias": "renderContentRef"; "required": false; }; }, { "draggableUpdate": "draggableUpdate"; "selectItem": "selectItem"; "unselectItem": "unselectItem"; }, never, never, true, never>;
40
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThyTransferList, "thy-transfer-list", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "items": { "alias": "items"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "canLock": { "alias": "canLock"; "required": false; "isSignal": true; }; "maxLock": { "alias": "maxLock"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "template": { "alias": "template"; "required": false; "isSignal": true; }; "renderContentRef": { "alias": "renderContentRef"; "required": false; "isSignal": true; }; }, { "draggableUpdate": "draggableUpdate"; "selectItem": "selectItem"; "unselectItem": "unselectItem"; }, never, never, true, never>;
41
41
  }
@@ -1,4 +1,4 @@
1
- import { EventEmitter, OnInit, TemplateRef } from '@angular/core';
1
+ import { OnInit, TemplateRef } from '@angular/core';
2
2
  import { Direction, InnerTransferDragEvent, ThyTransferChangeEvent, ThyTransferDragEvent, ThyTransferItem, ThyTransferSelectEvent } from './transfer.interface';
3
3
  import * as i0 from "@angular/core";
4
4
  /**
@@ -7,79 +7,76 @@ import * as i0 from "@angular/core";
7
7
  * @order 10
8
8
  */
9
9
  export declare class ThyTransfer implements OnInit {
10
- hostClass: string;
11
10
  leftDataSource: ThyTransferItem[];
12
11
  rightDataSource: ThyTransferItem[];
13
- allDataSource: ThyTransferItem[];
14
- leftTitle: string;
15
- rightTitle: string;
16
- rightDraggable: boolean;
17
- private _autoMove;
18
12
  /**
19
13
  * 数据源
20
14
  * @type ThyTransferItem[]
21
15
  */
22
- set thyData(value: ThyTransferItem[]);
23
- thyrenderLeftTemplateRef: TemplateRef<any>;
24
- thyrenderRightTemplateRef: TemplateRef<any>;
16
+ readonly thyData: import("@angular/core").InputSignal<ThyTransferItem[]>;
17
+ readonly thyRenderLeftTemplateRef: import("@angular/core").InputSignal<TemplateRef<any>>;
18
+ readonly thyRenderRightTemplateRef: import("@angular/core").InputSignal<TemplateRef<any>>;
25
19
  /**
26
20
  * title集合,title[0]为左标题,title[1]为右标题
27
21
  * @type string[]
28
22
  */
29
- set thyTitles(value: string[]);
23
+ readonly thyTitles: import("@angular/core").InputSignal<string[]>;
30
24
  /**
31
25
  * 右侧列表是否可以锁定
32
26
  * @default false
33
27
  */
34
- thyRightCanLock: boolean;
28
+ readonly thyRightCanLock: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
35
29
  /**
36
30
  * 右侧锁定最大数量
37
31
  */
38
- thyRightLockMax: number;
32
+ readonly thyRightLockMax: import("@angular/core").InputSignalWithTransform<number, unknown>;
39
33
  /**
40
34
  * 右侧选择最大数量
41
35
  */
42
- thyRightMax: number;
36
+ readonly thyRightMax: import("@angular/core").InputSignalWithTransform<number, unknown>;
43
37
  /**
44
38
  * 设置是否自动移动
45
39
  * @description.en-us Currently not implemented, in order to support the selections move
46
40
  * @default true
47
41
  */
48
- set thyAutoMove(value: boolean);
42
+ readonly thyAutoMove: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
49
43
  /**
50
44
  * 左侧列表是否拖动
51
45
  * @default false
52
46
  */
53
- thyLeftDraggable: boolean;
47
+ readonly thyLeftDraggable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
54
48
  /**
55
49
  * 右侧列表是否拖动
56
50
  * @default false
57
51
  */
58
- thyRightDraggable: boolean;
52
+ readonly thyRightDraggable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
59
53
  /**
60
54
  * @type EventEmitter<ThyTransferDragEvent>
61
55
  */
62
- thyDraggableUpdate: EventEmitter<ThyTransferDragEvent>;
56
+ thyDraggableUpdate: import("@angular/core").OutputEmitterRef<ThyTransferDragEvent>;
63
57
  /**
64
58
  * Transfer变化的回调事件
65
59
  * @type EventEmitter<ThyTransferChangeEvent>
66
60
  */
67
- thyChange: EventEmitter<ThyTransferChangeEvent>;
61
+ thyChange: import("@angular/core").OutputEmitterRef<ThyTransferChangeEvent>;
68
62
  /**
69
63
  * 设置自定义Item渲染数据模板
70
64
  * @type TemplateRef
71
65
  */
72
- templateRef: TemplateRef<any>;
66
+ readonly templateRef: import("@angular/core").Signal<TemplateRef<any>>;
73
67
  /**
74
68
  * 设置自定义左侧内容模板
75
69
  * @type TemplateRef
76
70
  */
77
- leftContentRef: TemplateRef<any>;
71
+ readonly leftContentRef: import("@angular/core").Signal<TemplateRef<any>>;
78
72
  /**
79
73
  * 设置自定义右侧内容模板
80
74
  * @type TemplateRef
81
75
  */
82
- rightContentRef: TemplateRef<any>;
76
+ readonly rightContentRef: import("@angular/core").Signal<TemplateRef<any>>;
77
+ readonly leftTitle: import("@angular/core").Signal<string>;
78
+ readonly rightTitle: import("@angular/core").Signal<string>;
79
+ constructor();
83
80
  ngOnInit(): void;
84
81
  initializeTransferData(data?: ThyTransferItem[]): void;
85
82
  onSelect(from: Direction, event: ThyTransferSelectEvent): void;
@@ -89,5 +86,5 @@ export declare class ThyTransfer implements OnInit {
89
86
  onMove(to: Direction): void;
90
87
  onDragUpdate(direction: Direction, event: InnerTransferDragEvent): void;
91
88
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyTransfer, never>;
92
- static ɵcmp: i0.ɵɵComponentDeclaration<ThyTransfer, "thy-transfer", never, { "thyData": { "alias": "thyData"; "required": false; }; "thyrenderLeftTemplateRef": { "alias": "thyrenderLeftTemplateRef"; "required": false; }; "thyrenderRightTemplateRef": { "alias": "thyrenderRightTemplateRef"; "required": false; }; "thyTitles": { "alias": "thyTitles"; "required": false; }; "thyRightCanLock": { "alias": "thyRightCanLock"; "required": false; }; "thyRightLockMax": { "alias": "thyRightLockMax"; "required": false; }; "thyRightMax": { "alias": "thyRightMax"; "required": false; }; "thyAutoMove": { "alias": "thyAutoMove"; "required": false; }; "thyLeftDraggable": { "alias": "thyLeftDraggable"; "required": false; }; "thyRightDraggable": { "alias": "thyRightDraggable"; "required": false; }; }, { "thyDraggableUpdate": "thyDraggableUpdate"; "thyChange": "thyChange"; }, ["templateRef", "leftContentRef", "rightContentRef"], never, true, never>;
89
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThyTransfer, "thy-transfer", never, { "thyData": { "alias": "thyData"; "required": false; "isSignal": true; }; "thyRenderLeftTemplateRef": { "alias": "thyRenderLeftTemplateRef"; "required": false; "isSignal": true; }; "thyRenderRightTemplateRef": { "alias": "thyRenderRightTemplateRef"; "required": false; "isSignal": true; }; "thyTitles": { "alias": "thyTitles"; "required": false; "isSignal": true; }; "thyRightCanLock": { "alias": "thyRightCanLock"; "required": false; "isSignal": true; }; "thyRightLockMax": { "alias": "thyRightLockMax"; "required": false; "isSignal": true; }; "thyRightMax": { "alias": "thyRightMax"; "required": false; "isSignal": true; }; "thyAutoMove": { "alias": "thyAutoMove"; "required": false; "isSignal": true; }; "thyLeftDraggable": { "alias": "thyLeftDraggable"; "required": false; "isSignal": true; }; "thyRightDraggable": { "alias": "thyRightDraggable"; "required": false; "isSignal": true; }; }, { "thyDraggableUpdate": "thyDraggableUpdate"; "thyChange": "thyChange"; }, ["templateRef", "leftContentRef", "rightContentRef"], never, true, never>;
93
90
  }
@@ -1,12 +1,12 @@
1
- import { InjectionToken } from '@angular/core';
1
+ import { InjectionToken, InputSignal, Signal } from '@angular/core';
2
2
  import { ThyTreeNode } from './tree.class';
3
3
  import { ThyTreeBeforeDragDropContext, ThyTreeBeforeDragStartContext, ThyTreeDragDropEvent, ThyTreeIcons } from './tree.class';
4
4
  export interface ThyTreeAbstractComponent {
5
- thyMultiple: boolean;
6
- thyDraggable: boolean;
7
- thyShowExpand: boolean;
5
+ thyMultiple: InputSignal<boolean>;
6
+ thyDraggable: InputSignal<boolean>;
7
+ thyShowExpand: InputSignal<boolean>;
8
8
  treeNodes: ThyTreeNode[];
9
- thyIcons: ThyTreeIcons;
9
+ icons: Signal<ThyTreeIcons>;
10
10
  thyBeforeDragStart(e: ThyTreeBeforeDragStartContext): boolean;
11
11
  thyBeforeDragDrop(e: ThyTreeBeforeDragDropContext): boolean;
12
12
  onDragDrop(event: ThyTreeDragDropEvent): void;