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,17 +1,17 @@
1
1
  import { CdkConnectedOverlay, ConnectedOverlayPositionChange, ConnectionPositionPair } from '@angular/cdk/overlay';
2
- import { AfterContentInit, ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, QueryList, SimpleChanges, TemplateRef, Signal } from '@angular/core';
2
+ import { AfterContentInit, ElementRef, OnDestroy, OnInit, TemplateRef, Signal } from '@angular/core';
3
3
  import { ControlValueAccessor } from '@angular/forms';
4
4
  import { TabIndexDisabledControlValueAccessorMixin } from 'ngx-tethys/core';
5
5
  import { SelectControlSize, SelectOptionBase } from 'ngx-tethys/shared';
6
- import { SafeAny } from 'ngx-tethys/types';
7
6
  import { ThyCascaderService } from './cascader.service';
8
7
  import { ThyCascaderExpandTrigger, ThyCascaderOption, ThyCascaderSearchOption, ThyCascaderTriggerType } from './types';
9
8
  import * as i0 from "@angular/core";
9
+ import * as i1 from "ngx-tethys/util";
10
10
  /**
11
11
  * 级联选择菜单
12
12
  * @name thy-cascader
13
13
  */
14
- export declare class ThyCascader extends TabIndexDisabledControlValueAccessorMixin implements ControlValueAccessor, OnInit, OnChanges, OnDestroy, AfterContentInit {
14
+ export declare class ThyCascader extends TabIndexDisabledControlValueAccessorMixin implements ControlValueAccessor, OnInit, OnDestroy, AfterContentInit {
15
15
  private platformId;
16
16
  private cdr;
17
17
  elementRef: ElementRef<any>;
@@ -23,97 +23,95 @@ export declare class ThyCascader extends TabIndexDisabledControlValueAccessorMix
23
23
  /**
24
24
  * 选项的实际值的属性名
25
25
  */
26
- thyValueProperty: string;
26
+ readonly thyValueProperty: import("@angular/core").InputSignal<string>;
27
27
  /**
28
28
  * 选项的显示值的属性名
29
29
  */
30
- thyLabelProperty: string;
30
+ readonly thyLabelProperty: import("@angular/core").InputSignal<string>;
31
31
  /**
32
32
  * 描述输入字段预期值的简短的提示信息
33
33
  */
34
- thyPlaceholder: string;
34
+ readonly thyPlaceholder: import("@angular/core").InputSignal<string>;
35
35
  /**
36
36
  * 控制大小(5种)
37
37
  * @type 'xs' | 'sm' | 'md' | 'lg' | ''
38
38
  */
39
- thySize: SelectControlSize;
39
+ readonly thySize: import("@angular/core").InputSignal<SelectControlSize>;
40
40
  /**
41
41
  * 数据项
42
42
  * @type ThyCascaderOption[]
43
- * @default []
44
43
  */
45
- set thyOptions(options: ThyCascaderOption[] | null);
44
+ readonly thyOptions: import("@angular/core").InputSignal<ThyCascaderOption[]>;
46
45
  /**
47
46
  * 自定义选项
48
47
  * @type ThyCascaderOption[]
49
- * @default []
50
48
  */
51
- set thyCustomOptions(options: ThyCascaderOption[] | null);
52
- get thyCustomOptions(): ThyCascaderOption[] | null;
49
+ readonly thyCustomOptions: import("@angular/core").InputSignal<ThyCascaderOption[]>;
53
50
  /**
54
51
  * 点击父级菜单选项时,可通过该函数判断是否允许值的变化
55
52
  */
56
- thyChangeOn: (option: ThyCascaderOption, level: number) => boolean;
53
+ readonly thyChangeOn: import("@angular/core").InputSignal<(option: ThyCascaderOption, level: number) => boolean>;
57
54
  /**
58
55
  * 点击项时,表单是否动态展示数据项
59
56
  * @type boolean
60
57
  */
61
- thyChangeOnSelect: boolean;
58
+ readonly thyChangeOnSelect: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
62
59
  /**
63
60
  * 显示输入框
64
61
  * @type boolean
65
62
  */
66
- thyShowInput: boolean;
63
+ readonly thyShowInput: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
67
64
  /**
68
65
  * 用户自定义选项模板
69
66
  * @type TemplateRef
70
67
  */
71
- thyOptionRender: TemplateRef<SafeAny>;
68
+ readonly thyOptionRender: import("@angular/core").InputSignal<TemplateRef<any>>;
72
69
  /**
73
70
  * 用户自定义模板
74
71
  * @type TemplateRef
75
72
  */
76
- set thyLabelRender(value: TemplateRef<any>);
77
- get thyLabelRender(): TemplateRef<any>;
73
+ readonly thyLabelRender: import("@angular/core").InputSignal<TemplateRef<any>>;
74
+ readonly isLabelRenderTemplate: Signal<boolean>;
75
+ /**
78
76
  /**
79
77
  * 用于动态加载选项
80
78
  */
81
- set thyLoadData(value: (node: ThyCascaderOption, index?: number) => PromiseLike<any>);
82
- get thyLoadData(): (node: ThyCascaderOption, index?: number) => PromiseLike<any>;
79
+ readonly thyLoadData: import("@angular/core").InputSignal<(node: ThyCascaderOption, index?: number) => PromiseLike<any>>;
83
80
  /**
84
81
  * 控制触发状态, 支持 `click` | `hover`
85
82
  * @type ThyCascaderTriggerType | ThyCascaderTriggerType[]
86
83
  */
87
- thyTriggerAction: ThyCascaderTriggerType | ThyCascaderTriggerType[];
84
+ readonly thyTriggerAction: import("@angular/core").InputSignal<ThyCascaderTriggerType | ThyCascaderTriggerType[]>;
88
85
  /**
89
86
  * 鼠标经过下方列表项时,是否自动展开列表,支持 `click` | `hover`
90
87
  * @type ThyCascaderExpandTrigger | ThyCascaderExpandTrigger[]
91
88
  */
92
- thyExpandTriggerAction: ThyCascaderExpandTrigger | ThyCascaderExpandTrigger[];
89
+ readonly thyExpandTriggerAction: import("@angular/core").InputSignal<ThyCascaderExpandTrigger | ThyCascaderExpandTrigger[]>;
93
90
  /**
94
91
  * 自定义浮层样式
95
92
  */
96
- thyMenuStyle: {
93
+ readonly thyMenuStyle: import("@angular/core").InputSignal<{
97
94
  [key: string]: string;
98
- };
95
+ }>;
99
96
  /**
100
97
  * 自定义搜索样式
101
98
  */
102
- thySearchListStyle: {
99
+ readonly thySearchListStyle: import("@angular/core").InputSignal<{
103
100
  [key: string]: string;
104
- };
101
+ }>;
105
102
  /**
106
103
  * 自定义浮层类名
107
104
  * @type string
108
105
  */
109
- set thyMenuClassName(value: string);
110
- get thyMenuClassName(): string;
106
+ readonly thyMenuClassName: import("@angular/core").InputSignal<string>;
111
107
  /**
112
108
  * 自定义浮层列类名
113
109
  * @type string
114
110
  */
115
- set thyColumnClassName(value: string);
116
- get thyColumnClassName(): string;
111
+ readonly thyColumnClassName: import("@angular/core").InputSignal<string>;
112
+ readonly menuColumnCls: Signal<{
113
+ [x: string]: string | boolean;
114
+ }>;
117
115
  /**
118
116
  * 是否只读
119
117
  * @default false
@@ -125,98 +123,90 @@ export declare class ThyCascader extends TabIndexDisabledControlValueAccessorMix
125
123
  * 空状态下的展示文字
126
124
  * @default 暂无可选项
127
125
  */
128
- set thyEmptyStateText(value: string);
126
+ readonly thyEmptyStateText: import("@angular/core").InputSignal<string>;
129
127
  /**
130
128
  * 是否多选
131
129
  * @type boolean
132
- * @default false
133
130
  */
134
- set thyMultiple(value: boolean);
135
- get thyMultiple(): boolean;
131
+ readonly thyMultiple: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
136
132
  /**
137
133
  * 设置多选时最大显示的标签数量,0 表示不限制
138
134
  * @type number
139
135
  */
140
- thyMaxTagCount: number;
136
+ readonly thyMaxTagCount: import("@angular/core").InputSignalWithTransform<number, unknown>;
141
137
  /**
142
138
  * 是否仅允许选择叶子项
143
139
  * @default true
144
140
  */
145
- thyIsOnlySelectLeaf: boolean;
141
+ readonly thyIsOnlySelectLeaf: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
146
142
  /**
147
143
  * 初始化时,是否展开面板
148
- * @default false
149
144
  */
150
- thyAutoExpand: boolean;
145
+ readonly thyAutoExpand: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
151
146
  /**
152
147
  * 是否支持搜索
153
- * @default false
154
148
  */
155
- thyShowSearch: boolean;
149
+ readonly thyShowSearch: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
156
150
  /**
157
151
  * 多选选中项的展示方式,默认为空,渲染文字模板,传入tag,渲染展示模板,
158
- * @default ''|tag
159
152
  */
160
- thyPreset: string;
153
+ readonly thyPreset: import("@angular/core").InputSignal<string>;
161
154
  /**
162
155
  * 是否有幕布
163
156
  */
164
- thyHasBackdrop: boolean;
157
+ readonly thyHasBackdrop: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
165
158
  /**
166
159
  * 值发生变化时触发,返回选择项的值
167
160
  * @type EventEmitter<any[]>
168
161
  */
169
- thyChange: EventEmitter<any[]>;
162
+ readonly thyChange: import("@angular/core").OutputEmitterRef<any[]>;
170
163
  /**
171
164
  * 值发生变化时触发,返回选择项列表
172
165
  * @type EventEmitter<ThyCascaderOption[]>
173
166
  */
174
- thySelectionChange: EventEmitter<ThyCascaderOption[]>;
167
+ readonly thySelectionChange: import("@angular/core").OutputEmitterRef<ThyCascaderOption[]>;
175
168
  /**
176
169
  * 选择选项时触发
177
170
  */
178
- thySelect: EventEmitter<{
171
+ readonly thySelect: import("@angular/core").OutputEmitterRef<{
179
172
  option: ThyCascaderOption;
180
173
  index: number;
181
174
  }>;
182
175
  /**
183
176
  * @private 暂无实现
184
177
  */
185
- thyDeselect: EventEmitter<{
178
+ readonly thyDeselect: import("@angular/core").OutputEmitterRef<{
186
179
  option: ThyCascaderOption;
187
180
  index: number;
188
181
  }>;
189
182
  /**
190
183
  * 清空选项时触发
191
184
  */
192
- thyClear: EventEmitter<void>;
185
+ readonly thyClear: import("@angular/core").OutputEmitterRef<void>;
193
186
  /**
194
187
  * 下拉选项展开和折叠状态事件
195
188
  */
196
- thyExpandStatusChange: EventEmitter<boolean>;
197
- cascaderOptions: QueryList<ElementRef>;
198
- cascaderOptionContainers: QueryList<ElementRef>;
199
- cdkConnectedOverlay: CdkConnectedOverlay;
200
- trigger: ElementRef<any>;
201
- input: ElementRef;
202
- menu: ElementRef;
189
+ readonly thyExpandStatusChange: import("@angular/core").OutputEmitterRef<boolean>;
190
+ readonly cascaderOptions: Signal<readonly ElementRef<any>[]>;
191
+ readonly cascaderOptionContainers: Signal<readonly ElementRef<any>[]>;
192
+ readonly cdkConnectedOverlay: Signal<CdkConnectedOverlay>;
193
+ readonly trigger: Signal<ElementRef<any>>;
194
+ readonly input: Signal<ElementRef<any>>;
195
+ readonly menu: Signal<ElementRef<any>>;
203
196
  dropDownPosition: string;
204
197
  menuVisible: boolean;
205
- isLabelRenderTemplate: boolean;
206
198
  triggerRect: DOMRect;
207
- emptyStateText: string;
199
+ menuCls: {
200
+ [name: string]: any;
201
+ };
202
+ labelCls: {
203
+ [name: string]: any;
204
+ };
208
205
  private prefixCls;
209
- private menuClassName;
210
- private columnClassName;
211
- private _menuColumnCls;
212
206
  private readonly destroy$;
213
- private _menuCls;
214
- private _labelCls;
215
- private labelRenderTpl;
216
207
  private hostRenderer;
217
208
  positions: ConnectionPositionPair[];
218
209
  get selected(): SelectOptionBase | SelectOptionBase[];
219
- private isMultiple;
220
210
  menuMinWidth: number;
221
211
  private searchText$;
222
212
  get searchResultList(): ThyCascaderSearchOption[];
@@ -232,9 +222,10 @@ export declare class ThyCascader extends TabIndexDisabledControlValueAccessorMix
232
222
  get columns(): ThyCascaderOption[][];
233
223
  private afterChangeFn;
234
224
  private resizeSubscription;
225
+ constructor();
235
226
  ngOnInit(): void;
236
227
  ngAfterContentInit(): void;
237
- ngOnChanges(changes: SimpleChanges): void;
228
+ private setCascaderOptions;
238
229
  private initPosition;
239
230
  writeValue(value: any): void;
240
231
  setDisabledState(isDisabled: boolean): void;
@@ -245,11 +236,7 @@ export declare class ThyCascader extends TabIndexDisabledControlValueAccessorMix
245
236
  attached(): void;
246
237
  private scrollActiveElementIntoView;
247
238
  setMenuVisible(menuVisible: boolean): void;
248
- get menuCls(): any;
249
239
  private setMenuClass;
250
- get menuColumnCls(): any;
251
- private setMenuColumnClass;
252
- get labelCls(): any;
253
240
  private setLabelClass;
254
241
  private setClassMap;
255
242
  private isClickTriggerAction;
@@ -272,7 +259,6 @@ export declare class ThyCascader extends TabIndexDisabledControlValueAccessorMix
272
259
  }): void;
273
260
  private shouldPerformSelection;
274
261
  clearSelection($event: Event): void;
275
- constructor();
276
262
  trackByFn(index: number, item: ThyCascaderOption): any;
277
263
  searchFilter(searchText: string): void;
278
264
  private initSearch;
@@ -283,14 +269,6 @@ export declare class ThyCascader extends TabIndexDisabledControlValueAccessorMix
283
269
  private unsubscribeTriggerResize;
284
270
  ngOnDestroy(): void;
285
271
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyCascader, never>;
286
- static ɵcmp: i0.ɵɵComponentDeclaration<ThyCascader, "thy-cascader,[thy-cascader]", never, { "thyValueProperty": { "alias": "thyValueProperty"; "required": false; }; "thyLabelProperty": { "alias": "thyLabelProperty"; "required": false; }; "thyPlaceholder": { "alias": "thyPlaceholder"; "required": false; }; "thySize": { "alias": "thySize"; "required": false; }; "thyOptions": { "alias": "thyOptions"; "required": false; }; "thyCustomOptions": { "alias": "thyCustomOptions"; "required": false; }; "thyChangeOn": { "alias": "thyChangeOn"; "required": false; }; "thyChangeOnSelect": { "alias": "thyChangeOnSelect"; "required": false; }; "thyShowInput": { "alias": "thyShowInput"; "required": false; }; "thyOptionRender": { "alias": "thyOptionRender"; "required": false; }; "thyLabelRender": { "alias": "thyLabelRender"; "required": false; }; "thyLoadData": { "alias": "thyLoadData"; "required": false; }; "thyTriggerAction": { "alias": "thyTriggerAction"; "required": false; }; "thyExpandTriggerAction": { "alias": "thyExpandTriggerAction"; "required": false; }; "thyMenuStyle": { "alias": "thyMenuStyle"; "required": false; }; "thySearchListStyle": { "alias": "thySearchListStyle"; "required": false; }; "thyMenuClassName": { "alias": "thyMenuClassName"; "required": false; }; "thyColumnClassName": { "alias": "thyColumnClassName"; "required": false; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; "thyEmptyStateText": { "alias": "thyEmptyStateText"; "required": false; }; "thyMultiple": { "alias": "thyMultiple"; "required": false; }; "thyMaxTagCount": { "alias": "thyMaxTagCount"; "required": false; }; "thyIsOnlySelectLeaf": { "alias": "thyIsOnlySelectLeaf"; "required": false; }; "thyAutoExpand": { "alias": "thyAutoExpand"; "required": false; }; "thyShowSearch": { "alias": "thyShowSearch"; "required": false; }; "thyPreset": { "alias": "thyPreset"; "required": false; }; "thyHasBackdrop": { "alias": "thyHasBackdrop"; "required": false; }; }, { "thyChange": "thyChange"; "thySelectionChange": "thySelectionChange"; "thySelect": "thySelect"; "thyDeselect": "thyDeselect"; "thyClear": "thyClear"; "thyExpandStatusChange": "thyExpandStatusChange"; }, never, never, true, never>;
287
- static ngAcceptInputType_thyChangeOnSelect: boolean | string | number;
288
- static ngAcceptInputType_thyShowInput: boolean | string | number;
289
- static ngAcceptInputType_thyDisabled: boolean | string | number;
290
- static ngAcceptInputType_thyMultiple: boolean | string | number;
291
- static ngAcceptInputType_thyMaxTagCount: unknown;
292
- static ngAcceptInputType_thyIsOnlySelectLeaf: boolean | string | number;
293
- static ngAcceptInputType_thyAutoExpand: boolean | string | number;
294
- static ngAcceptInputType_thyShowSearch: boolean | string | number;
295
- static ngAcceptInputType_thyHasBackdrop: boolean | string | number;
272
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThyCascader, "thy-cascader,[thy-cascader]", never, { "thyValueProperty": { "alias": "thyValueProperty"; "required": false; "isSignal": true; }; "thyLabelProperty": { "alias": "thyLabelProperty"; "required": false; "isSignal": true; }; "thyPlaceholder": { "alias": "thyPlaceholder"; "required": false; "isSignal": true; }; "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; "thyOptions": { "alias": "thyOptions"; "required": false; "isSignal": true; }; "thyCustomOptions": { "alias": "thyCustomOptions"; "required": false; "isSignal": true; }; "thyChangeOn": { "alias": "thyChangeOn"; "required": false; "isSignal": true; }; "thyChangeOnSelect": { "alias": "thyChangeOnSelect"; "required": false; "isSignal": true; }; "thyShowInput": { "alias": "thyShowInput"; "required": false; "isSignal": true; }; "thyOptionRender": { "alias": "thyOptionRender"; "required": false; "isSignal": true; }; "thyLabelRender": { "alias": "thyLabelRender"; "required": false; "isSignal": true; }; "thyLoadData": { "alias": "thyLoadData"; "required": false; "isSignal": true; }; "thyTriggerAction": { "alias": "thyTriggerAction"; "required": false; "isSignal": true; }; "thyExpandTriggerAction": { "alias": "thyExpandTriggerAction"; "required": false; "isSignal": true; }; "thyMenuStyle": { "alias": "thyMenuStyle"; "required": false; "isSignal": true; }; "thySearchListStyle": { "alias": "thySearchListStyle"; "required": false; "isSignal": true; }; "thyMenuClassName": { "alias": "thyMenuClassName"; "required": false; "isSignal": true; }; "thyColumnClassName": { "alias": "thyColumnClassName"; "required": false; "isSignal": true; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; "thyEmptyStateText": { "alias": "thyEmptyStateText"; "required": false; "isSignal": true; }; "thyMultiple": { "alias": "thyMultiple"; "required": false; "isSignal": true; }; "thyMaxTagCount": { "alias": "thyMaxTagCount"; "required": false; "isSignal": true; }; "thyIsOnlySelectLeaf": { "alias": "thyIsOnlySelectLeaf"; "required": false; "isSignal": true; }; "thyAutoExpand": { "alias": "thyAutoExpand"; "required": false; "isSignal": true; }; "thyShowSearch": { "alias": "thyShowSearch"; "required": false; "isSignal": true; }; "thyPreset": { "alias": "thyPreset"; "required": false; "isSignal": true; }; "thyHasBackdrop": { "alias": "thyHasBackdrop"; "required": false; "isSignal": true; }; }, { "thyChange": "thyChange"; "thySelectionChange": "thySelectionChange"; "thySelect": "thySelect"; "thyDeselect": "thyDeselect"; "thyClear": "thyClear"; "thyExpandStatusChange": "thyExpandStatusChange"; }, never, never, true, never>;
273
+ static ngAcceptInputType_thyDisabled: i1.ThyBooleanInput;
296
274
  }
@@ -6,14 +6,11 @@ import * as i0 from "@angular/core";
6
6
  * @order 10
7
7
  */
8
8
  export declare class ThyCheckbox extends ThyFormCheckBaseComponent {
9
- isIndeterminate: boolean;
10
9
  /**
11
10
  * 设置 indeterminate 状态,只负责样式控制
12
11
  * @description.en-us Set the indeterminate state, responsible only for style control
13
- * @default false
14
12
  */
15
- set thyIndeterminate(value: boolean);
13
+ readonly thyIndeterminate: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
16
14
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyCheckbox, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<ThyCheckbox, "thy-checkbox,[thy-checkbox],[thyCheckbox]", never, { "thyIndeterminate": { "alias": "thyIndeterminate"; "required": false; }; }, {}, never, ["*"], true, never>;
18
- static ngAcceptInputType_thyIndeterminate: boolean | string | number;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThyCheckbox, "thy-checkbox,[thy-checkbox],[thyCheckbox]", never, { "thyIndeterminate": { "alias": "thyIndeterminate"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
19
16
  }
@@ -1,6 +1,5 @@
1
- import { EventEmitter, OnDestroy, OnInit, TemplateRef } from '@angular/core';
1
+ import { OnDestroy, OnInit, TemplateRef } from '@angular/core';
2
2
  import { IThyCollapseItemComponent } from './collapse.token';
3
- import { SafeAny } from 'ngx-tethys/types';
4
3
  import * as i0 from "@angular/core";
5
4
  /**
6
5
  * 折叠面板项组件
@@ -10,41 +9,37 @@ import * as i0 from "@angular/core";
10
9
  export declare class ThyCollapseItem implements IThyCollapseItemComponent, OnInit, OnDestroy {
11
10
  private cdr;
12
11
  private thyCollapseComponent;
13
- showArrow: boolean;
14
- arrowIconTemplate: TemplateRef<SafeAny>;
15
- arrowIcon: string;
16
12
  /**
17
13
  * 标题
18
14
  */
19
- thyTitle: string;
15
+ readonly thyTitle: import("@angular/core").InputSignal<string>;
20
16
  /**
21
17
  * 是否处于激活展开状态
22
18
  */
23
- thyActive: boolean;
19
+ thyActive: import("@angular/core").ModelSignal<boolean>;
24
20
  /**
25
21
  * 是否禁用当前面板
26
- * @default false
27
22
  */
28
- thyDisabled: boolean;
23
+ readonly thyDisabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
29
24
  /**
30
25
  * 自定义面板头
31
- * @type TemplateRef
32
26
  */
33
- thyHeaderTemplate: TemplateRef<SafeAny>;
27
+ readonly thyHeaderTemplate: import("@angular/core").InputSignal<TemplateRef<any>>;
34
28
  /**
35
29
  * 自定义箭头(展开收起)图标,设置为 false 表示隐藏图标
36
- * @type {string | TemplateRef<SafeAny> | false}
37
30
  */
38
- set thyArrowIcon(value: string | TemplateRef<SafeAny> | boolean);
31
+ thyArrowIcon: import("@angular/core").ModelSignal<string | boolean | TemplateRef<any>>;
32
+ readonly arrowIconTemplate: import("@angular/core").Signal<TemplateRef<any>>;
33
+ readonly arrowIcon: import("@angular/core").Signal<string>;
34
+ readonly showArrow: import("@angular/core").Signal<string | boolean | TemplateRef<any>>;
39
35
  /**
40
36
  * 额外附加模板
41
- * @type TemplateRef
42
37
  */
43
- thyExtra: TemplateRef<SafeAny>;
38
+ readonly thyExtra: import("@angular/core").InputSignal<TemplateRef<any>>;
44
39
  /**
45
40
  * 展开收起事件
46
41
  */
47
- thyActiveChange: EventEmitter<{
42
+ readonly thyActiveChange: import("@angular/core").OutputEmitterRef<{
48
43
  active: boolean;
49
44
  event: Event;
50
45
  }>;
@@ -53,7 +48,5 @@ export declare class ThyCollapseItem implements IThyCollapseItemComponent, OnIni
53
48
  activeChange(event: Event): void;
54
49
  ngOnDestroy(): void;
55
50
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyCollapseItem, never>;
56
- static ɵcmp: i0.ɵɵComponentDeclaration<ThyCollapseItem, "thy-collapse-panel, thy-collapse-item", ["ThyCollapseComponent"], { "thyTitle": { "alias": "thyTitle"; "required": false; }; "thyActive": { "alias": "thyActive"; "required": false; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; "thyHeaderTemplate": { "alias": "thyHeaderTemplate"; "required": false; }; "thyArrowIcon": { "alias": "thyArrowIcon"; "required": false; }; "thyExtra": { "alias": "thyExtra"; "required": false; }; }, { "thyActiveChange": "thyActiveChange"; }, never, ["*"], true, never>;
57
- static ngAcceptInputType_thyActive: boolean | string | number;
58
- static ngAcceptInputType_thyDisabled: boolean | string | number;
51
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThyCollapseItem, "thy-collapse-panel, thy-collapse-item", ["ThyCollapseComponent"], { "thyTitle": { "alias": "thyTitle"; "required": false; "isSignal": true; }; "thyActive": { "alias": "thyActive"; "required": false; "isSignal": true; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; "isSignal": true; }; "thyHeaderTemplate": { "alias": "thyHeaderTemplate"; "required": false; "isSignal": true; }; "thyArrowIcon": { "alias": "thyArrowIcon"; "required": false; "isSignal": true; }; "thyExtra": { "alias": "thyExtra"; "required": false; "isSignal": true; }; }, { "thyActive": "thyActiveChange"; "thyArrowIcon": "thyArrowIconChange"; "thyActiveChange": "thyActiveChange"; }, never, ["*"], true, never>;
59
52
  }
@@ -1,4 +1,3 @@
1
- import { OnInit } from '@angular/core';
2
1
  import { IThyCollapseItemComponent, IThyCollapseComponent } from './collapse.token';
3
2
  import * as i0 from "@angular/core";
4
3
  export type ThyCollapseTheme = 'divided' | 'bordered' | 'ghost';
@@ -8,28 +7,23 @@ export type ThyCollapsedIconPosition = 'left' | 'right';
8
7
  * @name thy-collapse
9
8
  * @order 10
10
9
  */
11
- export declare class ThyCollapse implements IThyCollapseComponent, OnInit {
10
+ export declare class ThyCollapse implements IThyCollapseComponent {
12
11
  /**
13
12
  * 折叠面板主题,支持 `divided` | `bordered` | `ghost`
14
13
  */
15
- thyTheme: ThyCollapseTheme;
14
+ readonly thyTheme: import("@angular/core").InputSignal<ThyCollapseTheme>;
16
15
  /**
17
16
  * 是否为手风琴模式,手风琴模式下,只能展开一个面板
18
- * @default false
19
17
  */
20
- thyAccordion: boolean;
18
+ readonly thyAccordion: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
21
19
  /**
22
- * 展开收起图标的位置
23
- * @type left | right
20
+ * 展开收起图标的位置,支持 `left` | `right`
24
21
  */
25
- thyArrowIconPosition: ThyCollapsedIconPosition;
22
+ readonly thyArrowIconPosition: import("@angular/core").InputSignal<ThyCollapsedIconPosition>;
26
23
  private listOfCollapsePanelComponent;
27
- constructor();
28
- ngOnInit(): void;
29
24
  addPanel(value: IThyCollapseItemComponent): void;
30
25
  removePanel(value: IThyCollapseItemComponent): void;
31
26
  click(collapseItem: IThyCollapseItemComponent, event: Event): void;
32
27
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyCollapse, never>;
33
- static ɵcmp: i0.ɵɵComponentDeclaration<ThyCollapse, "thy-collapse", never, { "thyTheme": { "alias": "thyTheme"; "required": false; }; "thyAccordion": { "alias": "thyAccordion"; "required": false; }; "thyArrowIconPosition": { "alias": "thyArrowIconPosition"; "required": false; }; }, {}, never, ["*"], true, never>;
34
- static ngAcceptInputType_thyAccordion: boolean | string | number;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThyCollapse, "thy-collapse", never, { "thyTheme": { "alias": "thyTheme"; "required": false; "isSignal": true; }; "thyAccordion": { "alias": "thyAccordion"; "required": false; "isSignal": true; }; "thyArrowIconPosition": { "alias": "thyArrowIconPosition"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
35
29
  }
@@ -1,7 +1,7 @@
1
- import { EventEmitter, InjectionToken } from '@angular/core';
1
+ import { InjectionToken, ModelSignal, OutputEmitterRef } from '@angular/core';
2
2
  export interface IThyCollapseItemComponent {
3
- thyActive: boolean;
4
- thyActiveChange: EventEmitter<{
3
+ thyActive: ModelSignal<boolean>;
4
+ thyActiveChange: OutputEmitterRef<{
5
5
  active: boolean;
6
6
  event: Event;
7
7
  }>;
@@ -1,4 +1,4 @@
1
- import { OnInit } from '@angular/core';
1
+ import { OnInit, WritableSignal } from '@angular/core';
2
2
  import { ThyColor } from './helpers/color.class';
3
3
  import * as i0 from "@angular/core";
4
4
  /**
@@ -6,12 +6,12 @@ import * as i0 from "@angular/core";
6
6
  */
7
7
  export declare class ThyColorPickerCustomPanel implements OnInit {
8
8
  className: boolean;
9
- colorInstance: ThyColor;
10
- color?: string;
11
- pickerColorChange: (color: string) => {};
9
+ readonly color: import("@angular/core").ModelSignal<string>;
10
+ colorInstance: WritableSignal<ThyColor>;
11
+ readonly pickerColorChange: import("@angular/core").InputSignal<(color: string) => {}>;
12
12
  constructor();
13
13
  ngOnInit(): void;
14
14
  colorChangeEvent($event: ThyColor): void;
15
15
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyColorPickerCustomPanel, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<ThyColorPickerCustomPanel, "thy-color-picker-custom-panel", never, { "color": { "alias": "color"; "required": false; }; "pickerColorChange": { "alias": "pickerColorChange"; "required": false; }; }, {}, never, never, true, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThyColorPickerCustomPanel, "thy-color-picker-custom-panel", never, { "color": { "alias": "color"; "required": false; "isSignal": true; }; "pickerColorChange": { "alias": "pickerColorChange"; "required": false; "isSignal": true; }; }, { "color": "colorChange"; }, never, never, true, never>;
17
17
  }
@@ -1,7 +1,7 @@
1
1
  import { OnInit, Signal } from '@angular/core';
2
+ import { ThyColorPickerLocale } from 'ngx-tethys/i18n';
2
3
  import { ThyPopoverRef } from 'ngx-tethys/popover';
3
4
  import { ThyColorPickerCustomPanel } from './color-picker-custom-panel.component';
4
- import { ThyColorPickerLocale } from 'ngx-tethys/i18n';
5
5
  import * as i0 from "@angular/core";
6
6
  /**
7
7
  * @internal
@@ -11,14 +11,11 @@ export declare class ThyColorPickerPanel implements OnInit {
11
11
  private viewContainerRef;
12
12
  private thyPopoverRef;
13
13
  locale: Signal<ThyColorPickerLocale>;
14
- className: boolean;
15
- color: string;
16
- colorChange: (color: string) => {};
17
- set defaultColor(value: string);
18
- get defaultColor(): string;
19
- transparentColorSelectable: boolean;
20
- defaultColors: string[];
21
- customDefaultColor: string;
14
+ readonly color: import("@angular/core").ModelSignal<string>;
15
+ readonly colorChange: import("@angular/core").InputSignal<(color: string) => {}>;
16
+ readonly defaultColor: import("@angular/core").InputSignalWithTransform<string, string>;
17
+ readonly transparentColorSelectable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
18
+ readonly defaultColors: import("@angular/core").InputSignal<string[]>;
22
19
  recentColors: string[];
23
20
  newColor: string;
24
21
  customPanelPopoverRef: ThyPopoverRef<ThyColorPickerCustomPanel>;
@@ -27,6 +24,5 @@ export declare class ThyColorPickerPanel implements OnInit {
27
24
  showMoreColor(event: Event): void;
28
25
  getIconColor(item: string): "white" | "black";
29
26
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyColorPickerPanel, never>;
30
- static ɵcmp: i0.ɵɵComponentDeclaration<ThyColorPickerPanel, "thy-color-picker-panel", never, { "color": { "alias": "color"; "required": false; }; "colorChange": { "alias": "colorChange"; "required": false; }; "defaultColor": { "alias": "defaultColor"; "required": false; }; "transparentColorSelectable": { "alias": "transparentColorSelectable"; "required": false; }; "defaultColors": { "alias": "defaultColors"; "required": false; }; }, {}, never, never, true, never>;
31
- static ngAcceptInputType_transparentColorSelectable: boolean | string | number;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThyColorPickerPanel, "thy-color-picker-panel", never, { "color": { "alias": "color"; "required": false; "isSignal": true; }; "colorChange": { "alias": "colorChange"; "required": false; "isSignal": true; }; "defaultColor": { "alias": "defaultColor"; "required": false; "isSignal": true; }; "transparentColorSelectable": { "alias": "transparentColorSelectable"; "required": false; "isSignal": true; }; "defaultColors": { "alias": "defaultColors"; "required": false; "isSignal": true; }; }, { "color": "colorChange"; }, never, never, true, never>;
32
28
  }