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,11 +1,11 @@
1
- import { ElementRef, InjectionToken, Injector } from '@angular/core';
1
+ import { ElementRef, InjectionToken, Injector, InputSignal } from '@angular/core';
2
2
  import { ThyImageMeta } from './image.class';
3
3
  export interface IThyImageDirective {
4
4
  previewable: boolean;
5
- thySrc: string;
6
- thyPreviewSrc: string;
7
- thyOriginSrc: string;
8
- thyImageMeta: ThyImageMeta;
5
+ thySrc: InputSignal<string>;
6
+ thyPreviewSrc: InputSignal<string>;
7
+ thyOriginSrc: InputSignal<string>;
8
+ thyImageMeta: InputSignal<ThyImageMeta>;
9
9
  }
10
10
  export interface IThyImageGroupComponent {
11
11
  injector: Injector;
@@ -8,7 +8,6 @@ import * as i0 from "@angular/core";
8
8
  * @order 40
9
9
  */
10
10
  export declare class ThyInputCount implements OnInit {
11
- private changeDetectorRef;
12
11
  private inputGroup;
13
12
  private readonly destroyRef;
14
13
  private hasInput;
@@ -16,13 +15,13 @@ export declare class ThyInputCount implements OnInit {
16
15
  * 输入框组件,如果不传默认会读取外层 thy-input-group 下的 thyInput 指令
17
16
  * @type ThyInputDirective
18
17
  */
19
- set thyInput(value: ThyInputDirective);
20
- maxLength: number | string;
21
- inputLength: number;
18
+ readonly thyInput: import("@angular/core").InputSignal<ThyInputDirective>;
19
+ maxLength: import("@angular/core").WritableSignal<string | number>;
20
+ inputLength: import("@angular/core").WritableSignal<number>;
22
21
  thyInput$: Subject<ThyInputDirective>;
23
22
  constructor();
24
23
  setup(): void;
25
24
  ngOnInit(): void;
26
25
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyInputCount, never>;
27
- static ɵcmp: i0.ɵɵComponentDeclaration<ThyInputCount, "thy-input-count", never, { "thyInput": { "alias": "thyInput"; "required": false; }; }, {}, never, never, true, never>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThyInputCount, "thy-input-count", never, { "thyInput": { "alias": "thyInput"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
28
27
  }
@@ -1,4 +1,4 @@
1
- import { TemplateRef, AfterContentChecked, OnInit, OnDestroy } from '@angular/core';
1
+ import { TemplateRef, OnInit, OnDestroy } from '@angular/core';
2
2
  import { ThyInputDirective } from './input.directive';
3
3
  import * as i0 from "@angular/core";
4
4
  export type InputGroupSize = 'sm' | 'lg' | 'md' | '';
@@ -7,65 +7,65 @@ export type InputGroupSize = 'sm' | 'lg' | 'md' | '';
7
7
  * @name thy-input-group
8
8
  * @order 20
9
9
  */
10
- export declare class ThyInputGroup implements OnInit, AfterContentChecked, OnDestroy {
10
+ export declare class ThyInputGroup implements OnInit, OnDestroy {
11
11
  private thyTranslate;
12
12
  private ngZone;
13
- private cdr;
14
13
  private hostRenderer;
15
14
  private hostFocusControl;
16
15
  private readonly destroyRef;
17
- appendText: string;
18
- prependText: string;
19
- isTextareaSuffix: boolean;
20
- hasScrollbar: boolean;
21
- disabled: boolean;
16
+ isTextareaSuffix: import("@angular/core").WritableSignal<boolean>;
17
+ hasScrollbar: import("@angular/core").WritableSignal<boolean>;
18
+ disabled: import("@angular/core").WritableSignal<boolean>;
22
19
  /**
23
20
  * 输入框上添加的后置文本
24
21
  */
25
- set thyAppendText(value: string);
22
+ readonly thyAppendText: import("@angular/core").InputSignal<string>;
26
23
  /**
27
24
  * 输入框上添加的后置文本多语言 Key
28
25
  */
29
- set thyAppendTextTranslateKey(value: string);
26
+ readonly thyAppendTextTranslateKey: import("@angular/core").InputSignal<string>;
30
27
  /**
31
28
  * 输入框上添加的前置文本
32
29
  */
33
- set thyPrependText(value: string);
30
+ readonly thyPrependText: import("@angular/core").InputSignal<string>;
34
31
  /**
35
32
  * 输入框上添加的前置文本多语言 Key
36
33
  */
37
- set thyPrependTextTranslateKey(value: string);
34
+ readonly thyPrependTextTranslateKey: import("@angular/core").InputSignal<string>;
35
+ protected readonly prependText: import("@angular/core").Signal<any>;
36
+ protected readonly appendText: import("@angular/core").Signal<any>;
38
37
  /**
39
38
  * 输入框分组大小
40
39
  * @type 'sm' | 'lg' | 'md' | ''
41
40
  * @default ''
42
41
  */
43
- set thySize(size: InputGroupSize);
42
+ readonly thySize: import("@angular/core").InputSignal<InputGroupSize>;
44
43
  /**
45
44
  * 后置模板
46
45
  */
47
- appendTemplate: TemplateRef<unknown>;
46
+ readonly appendTemplate: import("@angular/core").Signal<TemplateRef<unknown>>;
48
47
  /**
49
48
  * 前置模板
50
49
  */
51
- prependTemplate: TemplateRef<unknown>;
50
+ readonly prependTemplate: import("@angular/core").Signal<TemplateRef<unknown>>;
52
51
  /**
53
52
  * 前缀
54
53
  */
55
- prefixTemplate: TemplateRef<unknown>;
54
+ readonly prefixTemplate: import("@angular/core").Signal<TemplateRef<unknown>>;
56
55
  /**
57
56
  * 后缀
58
57
  */
59
- suffixTemplate: TemplateRef<unknown>;
58
+ readonly suffixTemplate: import("@angular/core").Signal<TemplateRef<unknown>>;
60
59
  /**
61
60
  * @private
62
61
  */
63
- inputDirective: ThyInputDirective;
62
+ readonly inputDirective: import("@angular/core").Signal<ThyInputDirective>;
63
+ private disabledObservable;
64
+ constructor();
64
65
  ngOnInit(): void;
65
- ngAfterContentChecked(): void;
66
66
  private determineHasScrollbar;
67
67
  private resizeObserver;
68
68
  ngOnDestroy(): void;
69
69
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyInputGroup, never>;
70
- static ɵcmp: i0.ɵɵComponentDeclaration<ThyInputGroup, "thy-input-group", never, { "thyAppendText": { "alias": "thyAppendText"; "required": false; }; "thyAppendTextTranslateKey": { "alias": "thyAppendTextTranslateKey"; "required": false; }; "thyPrependText": { "alias": "thyPrependText"; "required": false; }; "thyPrependTextTranslateKey": { "alias": "thyPrependTextTranslateKey"; "required": false; }; "thySize": { "alias": "thySize"; "required": false; }; }, {}, ["appendTemplate", "prependTemplate", "prefixTemplate", "suffixTemplate", "inputDirective"], ["*"], true, never>;
70
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThyInputGroup, "thy-input-group", never, { "thyAppendText": { "alias": "thyAppendText"; "required": false; "isSignal": true; }; "thyAppendTextTranslateKey": { "alias": "thyAppendTextTranslateKey"; "required": false; "isSignal": true; }; "thyPrependText": { "alias": "thyPrependText"; "required": false; "isSignal": true; }; "thyPrependTextTranslateKey": { "alias": "thyPrependTextTranslateKey"; "required": false; "isSignal": true; }; "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; }, {}, ["appendTemplate", "prependTemplate", "prefixTemplate", "suffixTemplate", "inputDirective"], ["*"], true, never>;
71
71
  }
@@ -1,5 +1,5 @@
1
1
  import { AbstractControlValueAccessor, Constructor, ThyCanDisable, ThyHasTabIndex, ThyInitialized } from 'ngx-tethys/core';
2
- import { ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
+ import { ElementRef, OnDestroy, OnInit } from '@angular/core';
3
3
  import { ControlValueAccessor } from '@angular/forms';
4
4
  import { ThyInputSize } from './input.directive';
5
5
  import * as i0 from "@angular/core";
@@ -13,63 +13,58 @@ declare const _MixinBase: Constructor<ThyHasTabIndex> & Constructor<ThyInitializ
13
13
  * @order 30
14
14
  */
15
15
  export declare class ThyInputSearch extends _MixinBase implements ControlValueAccessor, OnInit, OnDestroy {
16
- private cdr;
17
16
  private elementRef;
18
- inputElement: ElementRef<any>;
17
+ readonly inputElement: import("@angular/core").Signal<ElementRef<any>>;
19
18
  private hostRenderer;
20
19
  private hostFocusControl;
21
- disabled: boolean;
22
- autoFocus: boolean;
23
- iconPosition: ThyInputSearchIconPosition;
24
- searchText: string;
25
- focused: boolean;
20
+ disabled: import("@angular/core").WritableSignal<boolean>;
21
+ searchText: import("@angular/core").WritableSignal<string>;
22
+ focused: import("@angular/core").WritableSignal<boolean>;
26
23
  /**
27
24
  * 搜索框 name 属性
28
25
  */
29
- name: string;
26
+ readonly name: import("@angular/core").InputSignal<string>;
30
27
  /**
31
28
  * 搜索框 Placeholder
32
29
  */
33
- placeholder: string;
30
+ readonly placeholder: import("@angular/core").InputSignal<string>;
34
31
  /**
35
32
  * 搜索框风格
36
33
  * @type 'default' | 'ellipse' | 'transparent'
37
34
  * @default default
38
35
  */
39
- thyTheme: ThyInputSearchTheme;
36
+ readonly thyTheme: import("@angular/core").InputSignal<ThyInputSearchTheme>;
40
37
  /**
41
38
  * 是否自动聚焦
42
39
  * @default false
43
40
  */
44
- set thySearchFocus(value: boolean);
41
+ readonly autoFocus: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
45
42
  /**
46
43
  * 搜索图标位置,当传入 after 时,搜索图标在输入框后方显示,有内容时显示为关闭按钮
47
- * @type
44
+ * @type ThyInputSearchIconPosition
48
45
  */
49
- set thyIconPosition(value: ThyInputSearchIconPosition);
46
+ readonly iconPosition: import("@angular/core").InputSignalWithTransform<ThyInputSearchIconPosition, ThyInputSearchIconPosition>;
50
47
  /**
51
48
  * 输入框大小
52
49
  * @type 'xs' | 'sm' | 'md' | 'default' | 'lg'
53
50
  */
54
- thySize: ThyInputSize;
51
+ readonly thySize: import("@angular/core").InputSignal<ThyInputSize>;
55
52
  /**
56
53
  * @deprecated please use thyClear
57
54
  */
58
- clear: EventEmitter<Event>;
55
+ readonly clear: import("@angular/core").OutputEmitterRef<Event>;
59
56
  /**
60
57
  * 清除搜索事件
61
58
  */
62
- thyClear: EventEmitter<Event>;
59
+ readonly thyClear: import("@angular/core").OutputEmitterRef<Event>;
63
60
  constructor();
64
61
  ngOnInit(): void;
65
- updateClasses(forceUpdate?: boolean): void;
66
62
  writeValue(value: any): void;
67
63
  setDisabledState?(isDisabled: boolean): void;
68
64
  searchModelChange(): void;
69
65
  clearSearchText(event: Event): void;
70
66
  ngOnDestroy(): void;
71
67
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyInputSearch, never>;
72
- static ɵcmp: i0.ɵɵComponentDeclaration<ThyInputSearch, "thy-input-search", never, { "name": { "alias": "name"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "thyTheme": { "alias": "thyTheme"; "required": false; }; "thySearchFocus": { "alias": "thySearchFocus"; "required": false; }; "thyIconPosition": { "alias": "thyIconPosition"; "required": false; }; "thySize": { "alias": "thySize"; "required": false; }; }, { "clear": "clear"; "thyClear": "thyClear"; }, never, never, true, never>;
73
- static ngAcceptInputType_thySearchFocus: boolean | string | number;
68
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThyInputSearch, "thy-input-search", never, { "name": { "alias": "name"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "thyTheme": { "alias": "thyTheme"; "required": false; "isSignal": true; }; "autoFocus": { "alias": "thySearchFocus"; "required": false; "isSignal": true; }; "iconPosition": { "alias": "thyIconPosition"; "required": false; "isSignal": true; }; "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; }, { "clear": "clear"; "thyClear": "thyClear"; }, never, never, true, never>;
74
69
  }
75
70
  export {};
@@ -1,4 +1,4 @@
1
- import { EventEmitter, OnInit, TemplateRef } from '@angular/core';
1
+ import { OnInit, TemplateRef } from '@angular/core';
2
2
  import { ControlValueAccessor } from '@angular/forms';
3
3
  import { ThyInputSize } from './input.directive';
4
4
  import * as i0 from "@angular/core";
@@ -14,58 +14,59 @@ export declare class ThyInput implements ControlValueAccessor, OnInit {
14
14
  /**
15
15
  * Placeholder
16
16
  */
17
- placeholder: string;
17
+ readonly placeholder: import("@angular/core").InputSignal<string>;
18
18
  /**
19
19
  * 输入框大小
20
20
  * @type 'xs' | 'sm' | 'md' | 'default' | 'lg'
21
21
  * @default default
22
22
  */
23
- thySize: ThyInputSize;
23
+ readonly thySize: import("@angular/core").InputSignal<ThyInputSize>;
24
24
  /**
25
25
  * 是否自动聚焦
26
26
  */
27
- thyAutofocus: boolean;
27
+ readonly thyAutofocus: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
28
28
  /**
29
29
  * 输入框类型
30
30
  * @type 'number' | 'input'
31
31
  */
32
- set thyType(value: string);
32
+ readonly thyType: import("@angular/core").InputSignal<string>;
33
33
  /**
34
34
  * @deprecated please use thyType
35
35
  */
36
- type: string;
36
+ readonly _type: import("@angular/core").InputSignal<string>;
37
37
  /**
38
38
  * 输入 Label 文本
39
39
  */
40
- thyLabelText: string;
40
+ readonly thyLabelText: import("@angular/core").InputSignal<string>;
41
41
  /**
42
42
  * 是否只读
43
43
  */
44
- readonly: boolean;
44
+ readonly readonly: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
45
45
  /**
46
46
  * focus 聚焦事件
47
47
  */
48
- focus: EventEmitter<Event>;
48
+ readonly focus: import("@angular/core").OutputEmitterRef<Event>;
49
49
  /**
50
50
  * blur 失焦事件
51
51
  */
52
- blur: EventEmitter<Event>;
52
+ readonly blur: import("@angular/core").OutputEmitterRef<Event>;
53
53
  /**
54
54
  * 后置模板
55
55
  */
56
- appendTemplate: TemplateRef<any>;
56
+ readonly appendTemplate: import("@angular/core").Signal<TemplateRef<any>>;
57
57
  /**
58
58
  * 前置模板
59
59
  */
60
- prependTemplate: TemplateRef<any>;
61
- eyeTemplate: TemplateRef<any>;
62
- _type: string;
63
- value: string;
64
- showLabel: boolean;
65
- focused: boolean;
66
- disabled: boolean;
60
+ readonly prependTemplate: import("@angular/core").Signal<TemplateRef<any>>;
61
+ type: import("@angular/core").WritableSignal<string>;
62
+ value: import("@angular/core").WritableSignal<string>;
63
+ showLabel: import("@angular/core").WritableSignal<boolean>;
64
+ focused: import("@angular/core").WritableSignal<boolean>;
65
+ disabled: import("@angular/core").WritableSignal<boolean>;
67
66
  private onTouchedCallback;
68
67
  private onChangeCallback;
68
+ isPasswordType: import("@angular/core").WritableSignal<boolean>;
69
+ constructor();
69
70
  ngOnInit(): void;
70
71
  writeValue(value: any): void;
71
72
  registerOnChange(fn: any): void;
@@ -77,7 +78,5 @@ export declare class ThyInput implements ControlValueAccessor, OnInit {
77
78
  isPassword(value: string): value is "password";
78
79
  togglePasswordType(): void;
79
80
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyInput, never>;
80
- static ɵcmp: i0.ɵɵComponentDeclaration<ThyInput, "thy-input", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "thySize": { "alias": "thySize"; "required": false; }; "thyAutofocus": { "alias": "thyAutofocus"; "required": false; }; "thyType": { "alias": "thyType"; "required": false; }; "type": { "alias": "type"; "required": false; }; "thyLabelText": { "alias": "thyLabelText"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; }, { "focus": "focus"; "blur": "blur"; }, ["appendTemplate", "prependTemplate"], never, true, never>;
81
- static ngAcceptInputType_thyAutofocus: boolean | string | number;
82
- static ngAcceptInputType_readonly: boolean | string | number;
81
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThyInput, "thy-input", never, { "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; "thyAutofocus": { "alias": "thyAutofocus"; "required": false; "isSignal": true; }; "thyType": { "alias": "thyType"; "required": false; "isSignal": true; }; "_type": { "alias": "type"; "required": false; "isSignal": true; }; "thyLabelText": { "alias": "thyLabelText"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; }, { "focus": "focus"; "blur": "blur"; }, ["appendTemplate", "prependTemplate"], never, true, never>;
83
82
  }
@@ -1,4 +1,3 @@
1
- import { OnInit } from '@angular/core';
2
1
  import { NgControl } from '@angular/forms';
3
2
  import * as i0 from "@angular/core";
4
3
  export type ThyInputSize = 'xs' | 'sm' | 'md' | 'lg' | '';
@@ -7,22 +6,21 @@ export type ThyInputSize = 'xs' | 'sm' | 'md' | 'lg' | '';
7
6
  * @name thyInput
8
7
  * @order 10
9
8
  */
10
- export declare class ThyInputDirective implements OnInit {
9
+ export declare class ThyInputDirective {
11
10
  private elementRef;
12
11
  private render;
13
12
  private control;
14
13
  isFormControl: boolean;
15
- private initialized;
16
14
  private hostRenderer;
17
15
  /**
18
16
  * 输入框大小
19
17
  * @type 'xs' | 'sm' | 'md' | 'default' | 'lg'
20
18
  * @default default
21
19
  */
22
- set thySize(size: ThyInputSize);
20
+ readonly thySize: import("@angular/core").InputSignal<ThyInputSize>;
23
21
  get ngControl(): NgControl;
24
22
  get nativeElement(): HTMLInputElement;
25
- ngOnInit(): void;
23
+ constructor();
26
24
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyInputDirective, never>;
27
- static ɵdir: i0.ɵɵDirectiveDeclaration<ThyInputDirective, "input[thyInput], select[thyInput], textarea[thyInput]", ["thyInput"], { "thySize": { "alias": "thySize"; "required": false; }; }, {}, never, never, true, never>;
25
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ThyInputDirective, "input[thyInput], select[thyInput], textarea[thyInput]", ["thyInput"], { "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
28
26
  }
@@ -1,7 +1,8 @@
1
1
  import { TabIndexDisabledControlValueAccessorMixin } from 'ngx-tethys/core';
2
- import { ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
2
+ import { ElementRef, OnDestroy, OnInit } from '@angular/core';
3
3
  import { ControlValueAccessor } from '@angular/forms';
4
4
  import * as i0 from "@angular/core";
5
+ import * as i1 from "ngx-tethys/util";
5
6
  type InputSize = 'xs' | 'sm' | 'md' | 'lg' | '';
6
7
  declare enum Type {
7
8
  up = 0,
@@ -12,25 +13,24 @@ declare enum Type {
12
13
  * @name thy-input-number
13
14
  * @order 10
14
15
  */
15
- export declare class ThyInputNumber extends TabIndexDisabledControlValueAccessorMixin implements ControlValueAccessor, OnChanges, OnInit, OnDestroy {
16
- private cdr;
17
- inputElement: ElementRef<any>;
16
+ export declare class ThyInputNumber extends TabIndexDisabledControlValueAccessorMixin implements ControlValueAccessor, OnInit, OnDestroy {
17
+ readonly inputElement: import("@angular/core").Signal<ElementRef<any>>;
18
18
  private autoStepTimer;
19
19
  private hostFocusControl;
20
20
  validValue: number | string;
21
- displayValue: number | string;
22
- disabledUp: boolean;
23
- disabledDown: boolean;
21
+ displayValue: import("@angular/core").WritableSignal<string | number>;
22
+ disabledUp: import("@angular/core").WritableSignal<boolean>;
23
+ disabledDown: import("@angular/core").WritableSignal<boolean>;
24
24
  activeValue: string;
25
25
  /**
26
26
  * 是否自动聚焦
27
27
  * @default false
28
28
  */
29
- thyAutoFocus: boolean;
29
+ readonly thyAutoFocus: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
30
30
  /**
31
31
  * 输入框的placeholder
32
32
  */
33
- thyPlaceholder: string;
33
+ readonly thyPlaceholder: import("@angular/core").InputSignal<string>;
34
34
  /**
35
35
  * 是否禁用
36
36
  * @default false
@@ -40,58 +40,53 @@ export declare class ThyInputNumber extends TabIndexDisabledControlValueAccessor
40
40
  * 最大值
41
41
  * @default Infinity
42
42
  */
43
- set thyMax(value: number);
44
- get thyMax(): number;
43
+ readonly thyMax: import("@angular/core").InputSignalWithTransform<number, number>;
45
44
  /**
46
45
  * 最小值
47
46
  * @default -Infinity
48
47
  */
49
- set thyMin(value: number);
50
- get thyMin(): number;
48
+ readonly thyMin: import("@angular/core").InputSignalWithTransform<number, number>;
51
49
  /**
52
50
  * 每次改变步数,可以为小数
53
51
  */
54
- thyStep: number;
52
+ readonly thyStep: import("@angular/core").InputSignalWithTransform<number, unknown>;
55
53
  /**
56
54
  * 改变步数时的延迟毫秒数,值越小变化的速度越快
57
55
  * @default 300
58
56
  */
59
- thyStepDelay: number;
57
+ readonly thyStepDelay: import("@angular/core").InputSignalWithTransform<number, unknown>;
60
58
  /**
61
59
  * 输入框大小
62
60
  * @type xs | sm | md | lg
63
61
  */
64
- thySize: InputSize;
62
+ readonly thySize: import("@angular/core").InputSignal<InputSize>;
65
63
  /**
66
64
  * 数值精度
67
65
  */
68
- thyPrecision: number;
66
+ readonly thyPrecision: import("@angular/core").InputSignal<number>;
69
67
  /**
70
68
  * 数值后缀
71
69
  */
72
- thySuffix: string;
70
+ readonly thySuffix: import("@angular/core").InputSignal<string>;
73
71
  /**
74
72
  * 焦点失去事件
75
73
  */
76
- thyBlur: EventEmitter<Event>;
74
+ readonly thyBlur: import("@angular/core").OutputEmitterRef<void>;
77
75
  /**
78
76
  * 焦点激活事件
79
77
  */
80
- thyFocus: EventEmitter<Event>;
78
+ readonly thyFocus: import("@angular/core").OutputEmitterRef<Event>;
81
79
  /**
82
80
  * 上下箭头点击事件
83
81
  */
84
- thyStepChange: EventEmitter<{
82
+ readonly thyStepChange: import("@angular/core").OutputEmitterRef<{
85
83
  value: number;
86
84
  type: Type;
87
85
  }>;
88
- private innerMax;
89
- private innerMin;
90
86
  private isFocused;
91
87
  constructor();
92
88
  setDisabledState?(isDisabled: boolean): void;
93
89
  ngOnInit(): void;
94
- ngOnChanges(changes: SimpleChanges): void;
95
90
  writeValue(value: number | string): void;
96
91
  updateValidValue(value: number | string): void;
97
92
  onModelChange(value: string): void;
@@ -114,10 +109,7 @@ export declare class ThyInputNumber extends TabIndexDisabledControlValueAccessor
114
109
  isInputNumber(value: string): boolean;
115
110
  ngOnDestroy(): void;
116
111
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyInputNumber, never>;
117
- static ɵcmp: i0.ɵɵComponentDeclaration<ThyInputNumber, "thy-input-number", never, { "thyAutoFocus": { "alias": "thyAutoFocus"; "required": false; }; "thyPlaceholder": { "alias": "thyPlaceholder"; "required": false; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; "thyMax": { "alias": "thyMax"; "required": false; }; "thyMin": { "alias": "thyMin"; "required": false; }; "thyStep": { "alias": "thyStep"; "required": false; }; "thyStepDelay": { "alias": "thyStepDelay"; "required": false; }; "thySize": { "alias": "thySize"; "required": false; }; "thyPrecision": { "alias": "thyPrecision"; "required": false; }; "thySuffix": { "alias": "thySuffix"; "required": false; }; }, { "thyBlur": "thyBlur"; "thyFocus": "thyFocus"; "thyStepChange": "thyStepChange"; }, never, never, true, never>;
118
- static ngAcceptInputType_thyAutoFocus: boolean | string | number;
119
- static ngAcceptInputType_thyDisabled: boolean | string | number;
120
- static ngAcceptInputType_thyStep: unknown;
121
- static ngAcceptInputType_thyStepDelay: unknown;
112
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThyInputNumber, "thy-input-number", never, { "thyAutoFocus": { "alias": "thyAutoFocus"; "required": false; "isSignal": true; }; "thyPlaceholder": { "alias": "thyPlaceholder"; "required": false; "isSignal": true; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; "thyMax": { "alias": "thyMax"; "required": false; "isSignal": true; }; "thyMin": { "alias": "thyMin"; "required": false; "isSignal": true; }; "thyStep": { "alias": "thyStep"; "required": false; "isSignal": true; }; "thyStepDelay": { "alias": "thyStepDelay"; "required": false; "isSignal": true; }; "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; "thyPrecision": { "alias": "thyPrecision"; "required": false; "isSignal": true; }; "thySuffix": { "alias": "thySuffix"; "required": false; "isSignal": true; }; }, { "thyBlur": "thyBlur"; "thyFocus": "thyFocus"; "thyStepChange": "thyStepChange"; }, never, never, true, never>;
113
+ static ngAcceptInputType_thyDisabled: i1.ThyBooleanInput;
122
114
  }
123
115
  export {};
@@ -1,5 +1,6 @@
1
1
  import { TemplateRef } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
+ import * as i1 from "ngx-tethys/util";
3
4
  /**
4
5
  * 头部布局指令
5
6
  * @name thyHeader
@@ -28,15 +29,9 @@ export declare class ThyHeaderDirective {
28
29
  set thyHasBorder(value: boolean);
29
30
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyHeaderDirective, never>;
30
31
  static ɵdir: i0.ɵɵDirectiveDeclaration<ThyHeaderDirective, "[thyHeader]", never, { "thySize": { "alias": "thySize"; "required": false; }; "thyShadow": { "alias": "thyShadow"; "required": false; }; "thyDivided": { "alias": "thyDivided"; "required": false; }; "thyHasBorder": { "alias": "thyHasBorder"; "required": false; }; }, {}, never, never, true, never>;
31
- static ngAcceptInputType_thyShadow: /**
32
- * 图标,SVG 图标名称
33
- */ boolean | string | number;
34
- static ngAcceptInputType_thyDivided: /**
35
- * 图标,SVG 图标名称
36
- */ boolean | string | number;
37
- static ngAcceptInputType_thyHasBorder: /**
38
- * 图标,SVG 图标名称
39
- */ boolean | string | number;
32
+ static ngAcceptInputType_thyShadow: i1.ThyBooleanInput;
33
+ static ngAcceptInputType_thyDivided: i1.ThyBooleanInput;
34
+ static ngAcceptInputType_thyHasBorder: i1.ThyBooleanInput;
40
35
  }
41
36
  /**
42
37
  * 头部布局组件
@@ -1,5 +1,6 @@
1
1
  import { TemplateRef } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
+ import * as i1 from "ngx-tethys/util";
3
4
  /**
4
5
  * 侧边栏头部布局指令
5
6
  * @name thySidebarHeader
@@ -13,7 +14,7 @@ export declare class ThySidebarHeaderDirective {
13
14
  thyDivided: boolean | string;
14
15
  static ɵfac: i0.ɵɵFactoryDeclaration<ThySidebarHeaderDirective, never>;
15
16
  static ɵdir: i0.ɵɵDirectiveDeclaration<ThySidebarHeaderDirective, "[thySidebarHeader]", never, { "thyDivided": { "alias": "thyDivided"; "required": false; }; }, {}, never, never, true, never>;
16
- static ngAcceptInputType_thyDivided: boolean | string | number;
17
+ static ngAcceptInputType_thyDivided: i1.ThyBooleanInput;
17
18
  }
18
19
  /**
19
20
  * 侧边栏头部布局组件
@@ -1,6 +1,7 @@
1
1
  import { ElementRef, EventEmitter, OnDestroy, OnInit, TemplateRef } from '@angular/core';
2
2
  import { ThyResizeEvent } from 'ngx-tethys/resizable';
3
3
  import * as i0 from "@angular/core";
4
+ import * as i1 from "ngx-tethys/util";
4
5
  export type ThySidebarTheme = 'white' | 'light' | 'dark';
5
6
  export type ThySidebarDirection = 'left' | 'right';
6
7
  /**
@@ -53,10 +54,10 @@ export declare class ThySidebarDirective implements OnInit {
53
54
  ngOnInit(): void;
54
55
  static ɵfac: i0.ɵɵFactoryDeclaration<ThySidebarDirective, never>;
55
56
  static ɵdir: i0.ɵɵDirectiveDeclaration<ThySidebarDirective, "[thySidebar]", never, { "thyDirection": { "alias": "thyDirection"; "required": false; }; "thyTheme": { "alias": "thyTheme"; "required": false; }; "thyWidth": { "alias": "thyWidth"; "required": false; }; "thyIsolated": { "alias": "thyIsolated"; "required": false; }; "thyDivided": { "alias": "thyDivided"; "required": false; }; "thyHasBorderRight": { "alias": "thyHasBorderRight"; "required": false; }; "thyHasBorderLeft": { "alias": "thyHasBorderLeft"; "required": false; }; }, {}, never, never, true, never>;
56
- static ngAcceptInputType_thyIsolated: boolean | string | number;
57
- static ngAcceptInputType_thyDivided: boolean | string | number;
58
- static ngAcceptInputType_thyHasBorderRight: boolean | string | number;
59
- static ngAcceptInputType_thyHasBorderLeft: boolean | string | number;
57
+ static ngAcceptInputType_thyIsolated: i1.ThyBooleanInput;
58
+ static ngAcceptInputType_thyDivided: i1.ThyBooleanInput;
59
+ static ngAcceptInputType_thyHasBorderRight: i1.ThyBooleanInput;
60
+ static ngAcceptInputType_thyHasBorderLeft: i1.ThyBooleanInput;
60
61
  }
61
62
  /**
62
63
  * 侧边栏布局组件
@@ -143,10 +144,10 @@ export declare class ThySidebar implements OnInit, OnDestroy {
143
144
  ngOnDestroy(): void;
144
145
  static ɵfac: i0.ɵɵFactoryDeclaration<ThySidebar, never>;
145
146
  static ɵcmp: i0.ɵɵComponentDeclaration<ThySidebar, "thy-sidebar", never, { "thyDraggable": { "alias": "thyDraggable"; "required": false; }; "thyDragMaxWidth": { "alias": "thyDragMaxWidth"; "required": false; }; "thyDragMinWidth": { "alias": "thyDragMinWidth"; "required": false; }; "thyTrigger": { "alias": "thyTrigger"; "required": false; }; "thyCollapsible": { "alias": "thyCollapsible"; "required": false; }; "thyCollapsed": { "alias": "thyCollapsed"; "required": false; }; "thyCollapsedWidth": { "alias": "thyCollapsedWidth"; "required": false; }; "thyDefaultWidth": { "alias": "thyDefaultWidth"; "required": false; }; }, { "thyCollapsedChange": "thyCollapsedChange"; "thyDragWidthChange": "thyDragWidthChange"; }, never, ["*"], true, [{ directive: typeof ThySidebarDirective; inputs: { "thyTheme": "thyTheme"; "thyDirection": "thyDirection"; "thyWidth": "thyWidth"; "thyIsolated": "thyIsolated"; "thyDivided": "thyDivided"; "thyHasBorderLeft": "thyHasBorderLeft"; "thyHasBorderRight": "thyHasBorderRight"; }; outputs: {}; }]>;
146
- static ngAcceptInputType_thyDraggable: boolean | string | number;
147
+ static ngAcceptInputType_thyDraggable: i1.ThyBooleanInput;
147
148
  static ngAcceptInputType_thyDragMaxWidth: unknown;
148
149
  static ngAcceptInputType_thyDragMinWidth: unknown;
149
- static ngAcceptInputType_thyCollapsible: boolean | string | number;
150
- static ngAcceptInputType_thyCollapsed: boolean | string | number;
150
+ static ngAcceptInputType_thyCollapsible: i1.ThyBooleanInput;
151
+ static ngAcceptInputType_thyCollapsed: i1.ThyBooleanInput;
151
152
  static ngAcceptInputType_thyCollapsedWidth: unknown;
152
153
  }
@@ -1,4 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
+ import * as i1 from "ngx-tethys/util";
2
3
  /**
3
4
  * 列表组件
4
5
  * @name thy-list
@@ -15,5 +16,5 @@ export declare class ThyList {
15
16
  constructor();
16
17
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyList, never>;
17
18
  static ɵcmp: i0.ɵɵComponentDeclaration<ThyList, "thy-list", never, { "thyDivided": { "alias": "thyDivided"; "required": false; }; }, {}, never, ["*"], true, never>;
18
- static ngAcceptInputType_thyDivided: boolean | string | number;
19
+ static ngAcceptInputType_thyDivided: i1.ThyBooleanInput;
19
20
  }
@@ -5,6 +5,7 @@ import { ControlValueAccessor } from '@angular/forms';
5
5
  import { ThyListLayout } from 'ngx-tethys/shared';
6
6
  import { ThySelectionListChange } from './selection.interface';
7
7
  import * as i0 from "@angular/core";
8
+ import * as i1 from "ngx-tethys/util";
8
9
  export type ThyListSize = 'sm' | 'md' | 'lg';
9
10
  /**
10
11
  * @name thy-selection-list,[thy-selection-list]
@@ -122,7 +123,7 @@ export declare class ThySelectionList implements OnInit, OnDestroy, AfterContent
122
123
  ngOnDestroy(): void;
123
124
  static ɵfac: i0.ɵɵFactoryDeclaration<ThySelectionList, never>;
124
125
  static ɵcmp: i0.ɵɵComponentDeclaration<ThySelectionList, "thy-selection-list,[thy-selection-list]", never, { "thyMultiple": { "alias": "thyMultiple"; "required": false; }; "thyBindKeyEventContainer": { "alias": "thyBindKeyEventContainer"; "required": false; }; "thyScrollContainer": { "alias": "thyScrollContainer"; "required": false; }; "thyBeforeKeydown": { "alias": "thyBeforeKeydown"; "required": false; }; "thyUniqueKey": { "alias": "thyUniqueKey"; "required": false; }; "thyCompareWith": { "alias": "thyCompareWith"; "required": false; }; "thyLayout": { "alias": "thyLayout"; "required": false; }; "thyAutoActiveFirstItem": { "alias": "thyAutoActiveFirstItem"; "required": false; }; "thySize": { "alias": "thySize"; "required": false; }; "thySpaceKeyEnabled": { "alias": "thySpaceKeyEnabled"; "required": false; }; }, { "thySelectionChange": "thySelectionChange"; }, ["options"], ["*"], true, never>;
125
- static ngAcceptInputType_thyMultiple: boolean | string | number;
126
- static ngAcceptInputType_thyAutoActiveFirstItem: boolean | string | number;
127
- static ngAcceptInputType_thySpaceKeyEnabled: boolean | string | number;
126
+ static ngAcceptInputType_thyMultiple: i1.ThyBooleanInput;
127
+ static ngAcceptInputType_thyAutoActiveFirstItem: i1.ThyBooleanInput;
128
+ static ngAcceptInputType_thySpaceKeyEnabled: i1.ThyBooleanInput;
128
129
  }
@@ -5,26 +5,20 @@ import * as i0 from "@angular/core";
5
5
  * @order 10
6
6
  */
7
7
  export declare class ThyLoading {
8
- private changeDetectorRef;
9
- isDone: boolean;
10
- tip: string;
11
- isMask: boolean;
12
8
  /**
13
9
  * 数据是否加载完成
14
10
  * @default false
15
11
  */
16
- set thyDone(value: boolean);
12
+ readonly thyDone: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
17
13
  /**
18
14
  * 自定义加载提示文案
19
15
  */
20
- set thyTip(value: string);
16
+ readonly thyTip: import("@angular/core").InputSignal<string>;
21
17
  /**
22
18
  * 加载时是否启用嵌套遮罩模式,不传或传 false,没有遮罩层,加载完成出现内容
23
19
  */
24
- set thyIsMask(value: boolean);
20
+ readonly thyIsMask: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
25
21
  loadingClassName: boolean;
26
22
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyLoading, never>;
27
- static ɵcmp: i0.ɵɵComponentDeclaration<ThyLoading, "thy-loading", never, { "thyDone": { "alias": "thyDone"; "required": false; }; "thyTip": { "alias": "thyTip"; "required": false; }; "thyIsMask": { "alias": "thyIsMask"; "required": false; }; }, {}, never, ["*"], true, never>;
28
- static ngAcceptInputType_thyDone: boolean | string | number;
29
- static ngAcceptInputType_thyIsMask: boolean | string | number;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThyLoading, "thy-loading", never, { "thyDone": { "alias": "thyDone"; "required": false; "isSignal": true; }; "thyTip": { "alias": "thyTip"; "required": false; "isSignal": true; }; "thyIsMask": { "alias": "thyIsMask"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
30
24
  }