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
@@ -9,53 +9,48 @@ type TipsMode = 'default' | 'label';
9
9
  export declare class ThyFormGroup implements OnInit {
10
10
  private thyParentForm;
11
11
  private thyTranslate;
12
- labelText: string;
13
- labelRequired: boolean;
14
- labelPaddingTopClear: boolean;
15
- feedbackIcon: string;
16
- feedbackSvgIconName: string;
17
- tips: string;
18
- tipMode: TipsMode;
19
- _rowFill: boolean;
20
- _isFormGroup: boolean;
21
- isHorizontal: boolean;
22
- hasFeedback: boolean;
12
+ protected isHorizontalSignal: import("@angular/core").WritableSignal<boolean>;
23
13
  /**
24
14
  * Label 文本
25
15
  */
26
- set thyLabelText(value: string);
16
+ readonly thyLabelText: import("@angular/core").InputSignal<string>;
27
17
  /**
28
18
  * Label 文本多语言 Key
29
19
  */
30
- set thyLabelTextTranslateKey(value: string);
20
+ readonly thyLabelTextTranslateKey: import("@angular/core").InputSignal<string>;
21
+ protected labelTextSignal: import("@angular/core").Signal<any>;
31
22
  /**
32
23
  * Label 是否显示必填项样式
33
24
  */
34
- set thyLabelRequired(value: boolean);
35
- set thyLabelPaddingTopClear(value: boolean);
25
+ readonly thyLabelRequired: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
26
+ /**
27
+ * 清楚 Label padding 间距
28
+ */
29
+ readonly thyLabelPaddingTopClear: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
36
30
  /**
37
31
  * 反馈图标,比如日期输入框显示日期的图标,常用输入 date 表示时间 wtf wtf-schedule-o
38
32
  */
39
- set thyFeedbackIcon(value: string);
33
+ thyFeedbackIcon: import("@angular/core").InputSignalWithTransform<string, string>;
40
34
  /**
41
35
  * 提示文字的显示模式,`label`模式表示在 label 后通过图标+Tooltip 提示, `default`模式在 Form Control 下方直接显示
42
36
  * @type default | label
43
37
  * @default default
44
38
  */
45
- set thyTipsMode(mode: TipsMode);
39
+ thyTipsMode: import("@angular/core").InputSignal<TipsMode>;
46
40
  /**
47
41
  * 提示文案
48
42
  */
49
- set thyTips(value: string);
43
+ readonly thyTips: import("@angular/core").InputSignal<string>;
50
44
  /**
51
45
  * 提示文案的多语言 Key
52
46
  */
53
- set thyTipsTranslateKey(value: string);
47
+ readonly thyTipsTranslateKey: import("@angular/core").InputSignal<string>;
48
+ protected readonly tipsSignal: import("@angular/core").Signal<any>;
54
49
  /**
55
50
  * 是否填充整行, 没有 Label 文本,只有输入框
56
51
  * @default false
57
52
  */
58
- set thyRowFill(value: boolean);
53
+ readonly thyRowFill: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
59
54
  /**
60
55
  * 已废弃
61
56
  * @deprecated please use content because formGroup is same name with angular formGroup directive
@@ -65,11 +60,9 @@ export declare class ThyFormGroup implements OnInit {
65
60
  * 内容自定义模板,`<ng-template #content></ng-template>`
66
61
  */
67
62
  contentTemplate: TemplateRef<any>;
63
+ constructor();
68
64
  ngOnInit(): void;
69
65
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyFormGroup, never>;
70
- static ɵcmp: i0.ɵɵComponentDeclaration<ThyFormGroup, "thy-form-group", never, { "thyLabelText": { "alias": "thyLabelText"; "required": false; }; "thyLabelTextTranslateKey": { "alias": "thyLabelTextTranslateKey"; "required": false; }; "thyLabelRequired": { "alias": "thyLabelRequired"; "required": false; }; "thyLabelPaddingTopClear": { "alias": "thyLabelPaddingTopClear"; "required": false; }; "thyFeedbackIcon": { "alias": "thyFeedbackIcon"; "required": false; }; "thyTipsMode": { "alias": "thyTipsMode"; "required": false; }; "thyTips": { "alias": "thyTips"; "required": false; }; "thyTipsTranslateKey": { "alias": "thyTipsTranslateKey"; "required": false; }; "thyRowFill": { "alias": "thyRowFill"; "required": false; }; }, {}, ["contentTemplateRef", "contentTemplate"], ["*"], true, never>;
71
- static ngAcceptInputType_thyLabelRequired: boolean | string | number;
72
- static ngAcceptInputType_thyLabelPaddingTopClear: boolean | string | number;
73
- static ngAcceptInputType_thyRowFill: boolean | string | number;
66
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThyFormGroup, "thy-form-group", never, { "thyLabelText": { "alias": "thyLabelText"; "required": false; "isSignal": true; }; "thyLabelTextTranslateKey": { "alias": "thyLabelTextTranslateKey"; "required": false; "isSignal": true; }; "thyLabelRequired": { "alias": "thyLabelRequired"; "required": false; "isSignal": true; }; "thyLabelPaddingTopClear": { "alias": "thyLabelPaddingTopClear"; "required": false; "isSignal": true; }; "thyFeedbackIcon": { "alias": "thyFeedbackIcon"; "required": false; "isSignal": true; }; "thyTipsMode": { "alias": "thyTipsMode"; "required": false; "isSignal": true; }; "thyTips": { "alias": "thyTips"; "required": false; "isSignal": true; }; "thyTipsTranslateKey": { "alias": "thyTipsTranslateKey"; "required": false; "isSignal": true; }; "thyRowFill": { "alias": "thyRowFill"; "required": false; "isSignal": true; }; }, {}, ["contentTemplateRef", "contentTemplate"], ["*"], true, never>;
74
67
  }
75
68
  export {};
@@ -1,4 +1,4 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
1
+ import { OnInit } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  /**
4
4
  * 表单提交指令
@@ -10,7 +10,7 @@ export declare class ThyFormSubmitDirective implements OnInit {
10
10
  /**
11
11
  * Form 验证通过的提交函数
12
12
  */
13
- thyFormSubmit: EventEmitter<any>;
13
+ thyFormSubmit: import("@angular/core").OutputEmitterRef<Event>;
14
14
  ngOnInit(): void;
15
15
  onSubmit($event: Event): void;
16
16
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyFormSubmitDirective, never>;
@@ -18,29 +18,27 @@ export declare class ThyFormDirective implements OnInit, AfterViewInit, OnDestro
18
18
  private elementRef;
19
19
  private renderer;
20
20
  private ngZone;
21
- validator: ThyFormValidatorService;
21
+ readonly validator: ThyFormValidatorService;
22
22
  private config;
23
- private layout;
24
- private initialized;
25
23
  private hostRenderer;
26
24
  /**
27
25
  * 布局,默认水平居中 horizontal,其他2种布局待开发
28
26
  * @type horizontal | vertical | inline
29
27
  * @default horizontal
30
28
  */
31
- set thyLayout(value: ThyFormLayout);
32
- get thyLayout(): ThyFormLayout;
29
+ readonly thyLayout: import("@angular/core").InputSignal<ThyFormLayout>;
33
30
  get isHorizontal(): boolean;
31
+ private get layout();
34
32
  /**
35
33
  * Enter 键提交模式。`submit`: Textarea 需要 Ctrl | Command + Enter 提交,其他元素直接 Enter 提交; `alwaysSubmit`: 不管是什么元素 Enter 都提交; `forbidSubmit`: Enter 不提交
36
34
  * @type submit | alwaysSubmit | forbidSubmit
37
35
  * @default submit
38
36
  */
39
- thyEnterKeyMode: ThyEnterKeyMode;
37
+ readonly thyEnterKeyMode: import("@angular/core").InputSignal<ThyEnterKeyMode>;
40
38
  /**
41
39
  * 表单验证规则配置项 (更多内容查看:thyFormValidatorConfig)
42
40
  */
43
- set thyFormValidatorConfig(config: ThyFormValidatorConfig);
41
+ readonly thyFormValidatorConfig: import("@angular/core").InputSignal<ThyFormValidatorConfig>;
44
42
  wasValidated: boolean;
45
43
  onSubmitSuccess: ($event: any) => void;
46
44
  private _unsubscribe;
@@ -54,5 +52,5 @@ export declare class ThyFormDirective implements OnInit, AfterViewInit, OnDestro
54
52
  onKeydown($event: KeyboardEvent): void;
55
53
  ngOnDestroy(): void;
56
54
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyFormDirective, never>;
57
- static ɵdir: i0.ɵɵDirectiveDeclaration<ThyFormDirective, "[thyForm],[thy-form]", ["thyForm"], { "thyLayout": { "alias": "thyLayout"; "required": false; }; "thyEnterKeyMode": { "alias": "thyEnterKeyMode"; "required": false; }; "thyFormValidatorConfig": { "alias": "thyFormValidatorConfig"; "required": false; }; }, {}, ["controls"], never, true, never>;
55
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ThyFormDirective, "[thyForm],[thy-form]", ["thyForm"], { "thyLayout": { "alias": "thyLayout"; "required": false; "isSignal": true; }; "thyEnterKeyMode": { "alias": "thyEnterKeyMode"; "required": false; "isSignal": true; }; "thyFormValidatorConfig": { "alias": "thyFormValidatorConfig"; "required": false; "isSignal": true; }; }, {}, ["controls"], never, true, never>;
58
56
  }
@@ -17,11 +17,11 @@ export declare class ThyFormGroupFooter implements OnInit {
17
17
  * @type left | right | center
18
18
  * @default left
19
19
  */
20
- thyAlign: ThyFormGroupFooterAlign;
20
+ readonly thyAlign: import("@angular/core").InputSignal<ThyFormGroupFooterAlign>;
21
21
  footerClassMap: {};
22
22
  private get align();
23
23
  ngOnInit(): void;
24
24
  setFooterClassMap(): void;
25
25
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyFormGroupFooter, never>;
26
- static ɵcmp: i0.ɵɵComponentDeclaration<ThyFormGroupFooter, "thy-form-group-footer", never, { "thyAlign": { "alias": "thyAlign"; "required": false; }; }, {}, ["description"], ["*"], true, never>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThyFormGroupFooter, "thy-form-group-footer", never, { "thyAlign": { "alias": "thyAlign"; "required": false; "isSignal": true; }; }, {}, ["description"], ["*"], true, never>;
27
27
  }
@@ -10,8 +10,8 @@ export declare class ThyConfirmValidatorDirective implements Validator {
10
10
  /**
11
11
  * 表单控件的校验值
12
12
  */
13
- confirm: string;
13
+ readonly confirm: import("@angular/core").InputSignal<string>;
14
14
  validate(control: AbstractControl): import("@angular/forms").ValidationErrors;
15
15
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyConfirmValidatorDirective, never>;
16
- static ɵdir: i0.ɵɵDirectiveDeclaration<ThyConfirmValidatorDirective, "[confirm]", never, { "confirm": { "alias": "confirm"; "required": false; }; }, {}, never, never, true, never>;
16
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ThyConfirmValidatorDirective, "[confirm]", never, { "confirm": { "alias": "confirm"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
17
17
  }
@@ -9,8 +9,8 @@ import * as i0 from "@angular/core";
9
9
  export declare class ThyUniqueCheckValidator implements AsyncValidator {
10
10
  private elementRef;
11
11
  private thyForm;
12
- thyUniqueCheck: (value: any) => Observable<boolean>;
12
+ readonly thyUniqueCheck: import("@angular/core").InputSignal<(value: any) => Observable<boolean>>;
13
13
  validate(ctrl: AbstractControl): Promise<ValidationErrors | null> | Observable<ValidationErrors | null>;
14
14
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyUniqueCheckValidator, never>;
15
- static ɵdir: i0.ɵɵDirectiveDeclaration<ThyUniqueCheckValidator, "[thyUniqueCheck]", never, { "thyUniqueCheck": { "alias": "thyUniqueCheck"; "required": false; }; }, {}, never, never, true, never>;
15
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ThyUniqueCheckValidator, "[thyUniqueCheck]", never, { "thyUniqueCheck": { "alias": "thyUniqueCheck"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
16
16
  }
@@ -1,4 +1,4 @@
1
- import { ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
1
+ import { ElementRef, OnDestroy, OnInit } from '@angular/core';
2
2
  import { ThyFullscreenMode } from './fullscreen.config';
3
3
  import * as i0 from "@angular/core";
4
4
  /**
@@ -12,23 +12,23 @@ export declare class ThyFullscreenComponent implements OnInit, OnDestroy {
12
12
  /**
13
13
  * immersive 模式使用了浏览器提供的全屏,整个窗体都全屏,emulated 模式为仿真的,只会在 body 区域全屏
14
14
  * @type immersive | emulated
15
- * @default immersive
16
15
  */
17
- thyMode: ThyFullscreenMode;
16
+ readonly thyMode: import("@angular/core").InputSignal<ThyFullscreenMode>;
18
17
  /**
19
18
  * 打开全屏时需要添加的类名
20
19
  */
21
- thyFullscreenClasses: string;
20
+ readonly thyFullscreenClasses: import("@angular/core").InputSignal<string>;
22
21
  /**
23
22
  * 全屏之后的回调
24
23
  */
25
- thyFullscreenChange: EventEmitter<boolean>;
26
- set fullscreenLaunch(fullscreenLaunch: ElementRef<HTMLButtonElement> | undefined);
24
+ readonly thyFullscreenChange: import("@angular/core").OutputEmitterRef<boolean>;
25
+ readonly fullscreenLaunch: import("@angular/core").Signal<ElementRef<any>>;
27
26
  private ngUnsubscribe$;
28
27
  private fullscreenLaunch$;
28
+ constructor();
29
29
  ngOnInit(): void;
30
30
  private handleFullscreen;
31
31
  ngOnDestroy(): void;
32
32
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyFullscreenComponent, never>;
33
- static ɵcmp: i0.ɵɵComponentDeclaration<ThyFullscreenComponent, "thy-fullscreen, [thyFullscreen]", never, { "thyMode": { "alias": "thyMode"; "required": false; }; "thyFullscreenClasses": { "alias": "thyFullscreenClasses"; "required": false; }; }, { "thyFullscreenChange": "thyFullscreenChange"; }, ["fullscreenLaunch"], ["*"], true, never>;
33
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThyFullscreenComponent, "thy-fullscreen, [thyFullscreen]", never, { "thyMode": { "alias": "thyMode"; "required": false; "isSignal": true; }; "thyFullscreenClasses": { "alias": "thyFullscreenClasses"; "required": false; "isSignal": true; }; }, { "thyFullscreenChange": "thyFullscreenChange"; }, ["fullscreenLaunch"], ["*"], true, never>;
34
34
  }
package/grid/flex.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
1
  import * as i0 from "@angular/core";
3
2
  export type ThyFlexDirection = 'row' | 'column' | 'row-reverse' | 'column-reverse';
4
3
  export type ThyFlexWrap = 'nowrap' | 'wrap' | 'wrap-reverse';
@@ -11,38 +10,34 @@ export type ThyFlexShrink = '1' | '0' | 0 | 1;
11
10
  * @name thy-flex, [thyFlex]
12
11
  * @order 20
13
12
  */
14
- export declare class ThyFlex implements OnInit, OnChanges {
13
+ export declare class ThyFlex {
15
14
  private hostRenderer;
16
15
  /**
17
16
  * Flex 方向,为 row 或者 column
18
- * @default row
19
17
  */
20
- thyDirection: ThyFlexDirection;
18
+ readonly thyDirection: import("@angular/core").InputSignalWithTransform<ThyFlexDirection, ThyFlexDirection>;
21
19
  /**
22
20
  * Flex Wrap
23
21
  * @default nowrap
24
22
  */
25
- thyWrap: ThyFlexWrap;
23
+ readonly thyWrap: import("@angular/core").InputSignal<ThyFlexWrap>;
26
24
  /**
27
25
  * Justify Content
28
26
  */
29
- thyJustifyContent: ThyFlexJustifyContent;
27
+ readonly thyJustifyContent: import("@angular/core").InputSignal<ThyFlexJustifyContent>;
30
28
  /**
31
29
  * Align Items
32
30
  */
33
- thyAlignItems: ThyFlexAlignItems;
31
+ readonly thyAlignItems: import("@angular/core").InputSignal<ThyFlexAlignItems>;
34
32
  /**
35
33
  * Flex Item 之间的间隙 Gap
36
34
  * @default 0
37
35
  */
38
- thyGap: number;
39
- get direction(): ThyFlexDirection;
36
+ readonly thyGap: import("@angular/core").InputSignal<number>;
40
37
  constructor();
41
- ngOnInit(): void;
42
- ngOnChanges(changes: SimpleChanges): void;
43
38
  private updateClasses;
44
39
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyFlex, never>;
45
- static ɵdir: i0.ɵɵDirectiveDeclaration<ThyFlex, "[thyFlex]", never, { "thyDirection": { "alias": "thyDirection"; "required": false; }; "thyWrap": { "alias": "thyWrap"; "required": false; }; "thyJustifyContent": { "alias": "thyJustifyContent"; "required": false; }; "thyAlignItems": { "alias": "thyAlignItems"; "required": false; }; "thyGap": { "alias": "thyGap"; "required": false; }; }, {}, never, never, true, never>;
40
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ThyFlex, "[thyFlex]", never, { "thyDirection": { "alias": "thyDirection"; "required": false; "isSignal": true; }; "thyWrap": { "alias": "thyWrap"; "required": false; "isSignal": true; }; "thyJustifyContent": { "alias": "thyJustifyContent"; "required": false; "isSignal": true; }; "thyAlignItems": { "alias": "thyAlignItems"; "required": false; "isSignal": true; }; "thyGap": { "alias": "thyGap"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
46
41
  }
47
42
  /**
48
43
  * @internal
@@ -56,32 +51,30 @@ export declare class ThyFlexComponent {
56
51
  * @name thy-flex-item, [thyFlexItem]
57
52
  * @order 25
58
53
  */
59
- export declare class ThyFlexItem implements OnInit, OnChanges {
54
+ export declare class ThyFlexItem {
60
55
  private hostRenderer;
61
56
  /**
62
57
  * Flex Item 属性,表示 grow 、shrink 、basis
63
58
  */
64
- thyFlexItem: 'fill' | string;
59
+ readonly thyFlexItem: import("@angular/core").InputSignal<string>;
65
60
  /**
66
61
  * Flew Grow,设置或检索弹性盒子的扩展比率,设置 1 为填充剩余区域
67
62
  */
68
- thyGrow: ThyFlexGrow;
63
+ readonly thyGrow: import("@angular/core").InputSignal<ThyFlexGrow>;
69
64
  /**
70
65
  * Flex Shrink,设置或检索弹性盒收缩比例
71
66
  * @default 1
72
67
  */
73
- thyShrink: ThyFlexShrink;
68
+ readonly thyShrink: import("@angular/core").InputSignal<ThyFlexShrink>;
74
69
  /**
75
70
  * Flex Basis,设置或检索弹性盒伸缩基准值
76
71
  * @default 1
77
72
  */
78
- thyBasis: string;
73
+ readonly thyBasis: import("@angular/core").InputSignal<string>;
79
74
  constructor();
80
- ngOnInit(): void;
81
- ngOnChanges(changes: SimpleChanges): void;
82
75
  private updateClasses;
83
76
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyFlexItem, never>;
84
- static ɵdir: i0.ɵɵDirectiveDeclaration<ThyFlexItem, "[thyFlexItem]", never, { "thyFlexItem": { "alias": "thyFlexItem"; "required": false; }; "thyGrow": { "alias": "thyGrow"; "required": false; }; "thyShrink": { "alias": "thyShrink"; "required": false; }; "thyBasis": { "alias": "thyBasis"; "required": false; }; }, {}, never, never, true, never>;
77
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ThyFlexItem, "[thyFlexItem]", never, { "thyFlexItem": { "alias": "thyFlexItem"; "required": false; "isSignal": true; }; "thyGrow": { "alias": "thyGrow"; "required": false; "isSignal": true; }; "thyShrink": { "alias": "thyShrink"; "required": false; "isSignal": true; }; "thyBasis": { "alias": "thyBasis"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
85
78
  }
86
79
  /**
87
80
  * @internal
@@ -1,4 +1,3 @@
1
- import { OnChanges, AfterViewInit, OnInit, SimpleChanges } from '@angular/core';
2
1
  import { ThyRowDirective } from './thy-row.directive';
3
2
  import * as i0 from "@angular/core";
4
3
  export interface ThyColEmbeddedProperty {
@@ -14,23 +13,21 @@ export type ThySpan = number | null | 'auto';
14
13
  * @name thyCol
15
14
  * @order 35
16
15
  */
17
- export declare class ThyColDirective implements OnInit, OnChanges, AfterViewInit {
16
+ export declare class ThyColDirective {
18
17
  thyRowDirective: ThyRowDirective;
19
18
  /**
20
19
  * 栅格项的占位列数,thySpan 如果传递了值,以 thySpan 为准
21
20
  */
22
- thyCol: ThySpan;
21
+ readonly thyCol: import("@angular/core").InputSignal<ThySpan>;
23
22
  /**
24
23
  * 栅格项的占位列数
25
24
  */
26
- thySpan: ThySpan;
27
- get span(): ThySpan;
25
+ readonly thySpan: import("@angular/core").InputSignal<ThySpan>;
26
+ protected readonly span: import("@angular/core").Signal<ThySpan>;
28
27
  private hostRenderer;
29
28
  private takeUntilDestroyed;
30
- ngOnInit(): void;
31
- ngOnChanges(changes: SimpleChanges): void;
32
- ngAfterViewInit(): void;
29
+ constructor();
33
30
  private updateHostClass;
34
31
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyColDirective, never>;
35
- static ɵdir: i0.ɵɵDirectiveDeclaration<ThyColDirective, "[thyCol]", never, { "thyCol": { "alias": "thyCol"; "required": false; }; "thySpan": { "alias": "thySpan"; "required": false; }; }, {}, never, never, true, never>;
32
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ThyColDirective, "[thyCol]", never, { "thyCol": { "alias": "thyCol"; "required": false; "isSignal": true; }; "thySpan": { "alias": "thySpan"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
36
33
  }
@@ -1,5 +1,4 @@
1
1
  import { ElementRef, OnInit } from '@angular/core';
2
- import { ThyGridResponsiveDescription } from './grid.type';
3
2
  import * as i0 from "@angular/core";
4
3
  /**
5
4
  * 栅格项组件
@@ -13,11 +12,11 @@ export declare class ThyGridItem implements OnInit {
13
12
  * 栅格项的占位列数,为 0 时会隐藏该栅格项
14
13
  * @default 1
15
14
  */
16
- thySpan: number | ThyGridResponsiveDescription;
15
+ readonly thySpan: import("@angular/core").InputSignal<string | number>;
17
16
  /**
18
17
  * 栅格项左侧的偏移列数
19
18
  */
20
- thyOffset: number | ThyGridResponsiveDescription;
19
+ readonly thyOffset: import("@angular/core").InputSignal<string | number>;
21
20
  private readonly destroyRef;
22
21
  private hostRenderer;
23
22
  span: number;
@@ -25,5 +24,5 @@ export declare class ThyGridItem implements OnInit {
25
24
  ngOnInit(): void;
26
25
  private setGridItemStyle;
27
26
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyGridItem, never>;
28
- static ɵcmp: i0.ɵɵComponentDeclaration<ThyGridItem, "thy-grid-item,[thyGridItem]", never, { "thySpan": { "alias": "thySpan"; "required": false; }; "thyOffset": { "alias": "thyOffset"; "required": false; }; }, {}, never, ["*"], true, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThyGridItem, "thy-grid-item,[thyGridItem]", never, { "thySpan": { "alias": "thySpan"; "required": false; "isSignal": true; }; "thyOffset": { "alias": "thyOffset"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
29
28
  }
@@ -1,46 +1,46 @@
1
- import { AfterContentInit, OnChanges, OnInit, QueryList, SimpleChanges } from '@angular/core';
1
+ import { OnInit } from '@angular/core';
2
2
  import { Subject } from 'rxjs';
3
3
  import { ThyGridToken } from './grid.token';
4
4
  import { ThyGridItem } from './thy-grid-item.component';
5
- import { ThyGridResponsiveMode, ThyGridResponsiveDescription } from './grid.type';
5
+ import { ThyGridResponsiveMode } from './grid.type';
6
6
  import * as i0 from "@angular/core";
7
7
  /**
8
8
  * 栅格组件
9
9
  * @name thy-grid, [thyGrid]
10
10
  * @order 10
11
11
  */
12
- export declare class ThyGrid implements ThyGridToken, OnInit, OnChanges, AfterContentInit {
12
+ export declare class ThyGrid implements ThyGridToken, OnInit {
13
13
  private elementRef;
14
14
  private viewportRuler;
15
15
  private ngZone;
16
16
  /**
17
17
  * @internal
18
18
  */
19
- gridItems: QueryList<ThyGridItem>;
19
+ readonly gridItems: import("@angular/core").Signal<readonly ThyGridItem[]>;
20
20
  /**
21
21
  * 栅格的列数
22
22
  * @default 24
23
23
  */
24
- thyCols: number | ThyGridResponsiveDescription;
24
+ readonly thyCols: import("@angular/core").InputSignal<string | number>;
25
25
  /**
26
26
  * 栅格的水平间隔
27
27
  */
28
- thyXGap: number | ThyGridResponsiveDescription;
28
+ readonly thyXGap: import("@angular/core").InputSignal<string | number>;
29
29
  /**
30
30
  * 栅格的垂直间隔
31
31
  */
32
- thyYGap: number | ThyGridResponsiveDescription;
32
+ readonly thyYGap: import("@angular/core").InputSignal<string | number>;
33
33
  /**
34
34
  * 栅格的水平和垂直间隔
35
35
  */
36
- thyGap: number | ThyGridResponsiveDescription;
36
+ readonly thyGap: import("@angular/core").InputSignal<string | number>;
37
37
  /**
38
38
  * 响应式栅格列数<br/>
39
39
  * none: 不进行响应式布局。<br/>
40
40
  * self:根据grid的自身宽度进行响应式布局。<br/>
41
41
  * screen:根据屏幕断点进行响应式布局,目前预设了5种响应式尺寸:`xs: 0, sm: 576, md: 768, lg: 992, xl: 1200`。
42
42
  */
43
- thyResponsive: ThyGridResponsiveMode;
43
+ readonly thyResponsive: import("@angular/core").InputSignal<ThyGridResponsiveMode>;
44
44
  private hostRenderer;
45
45
  private cols;
46
46
  xGap: number;
@@ -49,9 +49,8 @@ export declare class ThyGrid implements ThyGridToken, OnInit, OnChanges, AfterCo
49
49
  private responsiveContainerWidth;
50
50
  gridItemPropValueChange$: Subject<void>;
51
51
  private takeUntilDestroyed;
52
+ constructor();
52
53
  ngOnInit(): void;
53
- ngOnChanges(changes: SimpleChanges): void;
54
- ngAfterContentInit(): void;
55
54
  private setGridStyle;
56
55
  private listenResizeEvent;
57
56
  private handleGridItems;
@@ -60,7 +59,7 @@ export declare class ThyGrid implements ThyGridToken, OnInit, OnChanges, AfterCo
60
59
  private calculateBreakPoint;
61
60
  private gridResizeObserver;
62
61
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyGrid, never>;
63
- static ɵdir: i0.ɵɵDirectiveDeclaration<ThyGrid, "[thyGrid]", never, { "thyCols": { "alias": "thyCols"; "required": false; }; "thyXGap": { "alias": "thyXGap"; "required": false; }; "thyYGap": { "alias": "thyYGap"; "required": false; }; "thyGap": { "alias": "thyGap"; "required": false; }; "thyResponsive": { "alias": "thyResponsive"; "required": false; }; }, {}, ["gridItems"], never, true, never>;
62
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ThyGrid, "[thyGrid]", never, { "thyCols": { "alias": "thyCols"; "required": false; "isSignal": true; }; "thyXGap": { "alias": "thyXGap"; "required": false; "isSignal": true; }; "thyYGap": { "alias": "thyYGap"; "required": false; "isSignal": true; }; "thyGap": { "alias": "thyGap"; "required": false; "isSignal": true; }; "thyResponsive": { "alias": "thyResponsive"; "required": false; "isSignal": true; }; }, {}, ["gridItems"], never, true, never>;
64
63
  }
65
64
  /**
66
65
  * @internal
@@ -1,33 +1,30 @@
1
- import { OnChanges, OnInit, AfterViewInit } from '@angular/core';
2
1
  import { ReplaySubject } from 'rxjs';
3
2
  import * as i0 from "@angular/core";
4
3
  export type ThyRowJustify = 'start' | 'end' | 'center' | 'space-around' | 'space-between';
5
4
  export type ThyRowAlign = 'top' | 'middle' | 'bottom';
5
+ export interface ThyGutterType {
6
+ xs?: number;
7
+ sm?: number;
8
+ md?: number;
9
+ lg?: number;
10
+ xl?: number;
11
+ xxl?: number;
12
+ }
6
13
  /**
7
14
  * 栅格行指令
8
15
  * @name thyRow
9
16
  * @order 30
10
17
  */
11
- export declare class ThyRowDirective implements OnInit, OnChanges, AfterViewInit {
18
+ export declare class ThyRowDirective {
12
19
  /**
13
20
  * 栅格的间距
14
21
  */
15
- thyGutter: number | {
16
- xs?: number;
17
- sm?: number;
18
- md?: number;
19
- lg?: number;
20
- xl?: number;
21
- xxl?: number;
22
- };
22
+ readonly thyGutter: import("@angular/core").InputSignal<number | ThyGutterType>;
23
23
  actualGutter$: ReplaySubject<[number, number]>;
24
24
  private hostRenderer;
25
25
  constructor();
26
- ngOnInit(): void;
27
- ngOnChanges(): void;
28
- ngAfterViewInit(): void;
29
26
  private setGutterStyle;
30
27
  private getGutter;
31
28
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyRowDirective, never>;
32
- static ɵdir: i0.ɵɵDirectiveDeclaration<ThyRowDirective, "[thyRow]", never, { "thyGutter": { "alias": "thyGutter"; "required": false; }; }, {}, never, never, true, never>;
29
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ThyRowDirective, "[thyRow]", never, { "thyGutter": { "alias": "thyGutter"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
33
30
  }
@@ -1,40 +1,36 @@
1
- import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
1
  import * as i0 from "@angular/core";
3
2
  /**
4
3
  * 图标组件
5
4
  * @name thy-icon,[thy-icon]
6
5
  * @order 10
7
6
  */
8
- export declare class ThyIcon implements OnInit, OnChanges {
7
+ export declare class ThyIcon {
9
8
  private render;
10
9
  private elementRef;
11
10
  private iconRegistry;
12
- private initialized;
13
11
  /**
14
12
  * 图标的类型
15
13
  * @type outline | fill | twotone
16
14
  */
17
- iconType: 'outline' | 'fill' | 'twotone';
18
- iconTwotoneColor: string;
15
+ readonly thyIconType: import("@angular/core").InputSignal<"fill" | "outline" | "twotone">;
16
+ readonly thyTwotoneColor: import("@angular/core").InputSignal<string>;
19
17
  /**
20
18
  * 图标的名字
21
19
  */
22
- iconName: string;
20
+ readonly thyIconName: import("@angular/core").InputSignal<string>;
23
21
  /**
24
22
  * 图标的旋转角度
25
23
  * @default 0
26
24
  */
27
- iconRotate: number;
28
- iconSet: string;
25
+ readonly thyIconRotate: import("@angular/core").InputSignalWithTransform<number, unknown>;
26
+ readonly thyIconSet: import("@angular/core").InputSignal<string>;
29
27
  /**
30
28
  * 图标打底色,镂空的图标,会透过颜色来
31
- * @default false
32
29
  */
33
- iconLegging: boolean;
34
- iconLinearGradient: boolean;
30
+ readonly thyIconLegging: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
31
+ readonly thyIconLinearGradient: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
35
32
  private hostRenderer;
36
- ngOnInit(): void;
37
- ngOnChanges(changes: SimpleChanges): void;
33
+ constructor();
38
34
  private updateClasses;
39
35
  private setStyleRotate;
40
36
  private setSvgElement;
@@ -47,8 +43,5 @@ export declare class ThyIcon implements OnInit, OnChanges {
47
43
  private setBaseUrl;
48
44
  private clearTitleElement;
49
45
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyIcon, never>;
50
- static ɵcmp: i0.ɵɵComponentDeclaration<ThyIcon, "thy-icon, [thy-icon]", never, { "iconType": { "alias": "thyIconType"; "required": false; }; "iconTwotoneColor": { "alias": "thyTwotoneColor"; "required": false; }; "iconName": { "alias": "thyIconName"; "required": false; }; "iconRotate": { "alias": "thyIconRotate"; "required": false; }; "iconSet": { "alias": "thyIconSet"; "required": false; }; "iconLegging": { "alias": "thyIconLegging"; "required": false; }; "iconLinearGradient": { "alias": "thyIconLinearGradient"; "required": false; }; }, {}, never, ["*"], true, never>;
51
- static ngAcceptInputType_iconRotate: unknown;
52
- static ngAcceptInputType_iconLegging: boolean | string | number;
53
- static ngAcceptInputType_iconLinearGradient: boolean | string | number;
46
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThyIcon, "thy-icon, [thy-icon]", never, { "thyIconType": { "alias": "thyIconType"; "required": false; "isSignal": true; }; "thyTwotoneColor": { "alias": "thyTwotoneColor"; "required": false; "isSignal": true; }; "thyIconName": { "alias": "thyIconName"; "required": true; "isSignal": true; }; "thyIconRotate": { "alias": "thyIconRotate"; "required": false; "isSignal": true; }; "thyIconSet": { "alias": "thyIconSet"; "required": false; "isSignal": true; }; "thyIconLegging": { "alias": "thyIconLegging"; "required": false; "isSignal": true; }; "thyIconLinearGradient": { "alias": "thyIconLinearGradient"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
54
47
  }
@@ -1,4 +1,4 @@
1
- import { OnChanges, OnInit, SimpleChanges, OnDestroy, AfterViewInit } from '@angular/core';
1
+ import { OnInit, OnDestroy, AfterViewInit } from '@angular/core';
2
2
  import { IThyImageDirective } from './image.token';
3
3
  import { ThyImageMeta } from './image.class';
4
4
  import * as i0 from "@angular/core";
@@ -7,46 +7,44 @@ import * as i0 from "@angular/core";
7
7
  * @name img[thyImage]
8
8
  * @order 10
9
9
  */
10
- export declare class ThyImageDirective implements IThyImageDirective, OnInit, OnChanges, AfterViewInit, OnDestroy {
10
+ export declare class ThyImageDirective implements IThyImageDirective, OnInit, AfterViewInit, OnDestroy {
11
11
  private thyImageService;
12
12
  private injector;
13
13
  private elementRef;
14
14
  /**
15
15
  * 图片地址
16
16
  */
17
- thySrc: string;
17
+ readonly thySrc: import("@angular/core").InputSignal<string>;
18
18
  /**
19
19
  * 预览图片地址
20
20
  */
21
- thyPreviewSrc: string;
21
+ readonly thyPreviewSrc: import("@angular/core").InputSignal<string>;
22
22
  /**
23
23
  * 图片原图地址
24
24
  */
25
- thyOriginSrc: string;
25
+ readonly thyOriginSrc: import("@angular/core").InputSignal<string>;
26
26
  /**
27
27
  * 图片附加信息,包含 { name: string, size?: string | number; }
28
28
  */
29
- thyImageMeta: ThyImageMeta;
29
+ readonly thyImageMeta: import("@angular/core").InputSignal<ThyImageMeta>;
30
30
  /**
31
31
  * 是否禁止预览
32
32
  * @default false
33
33
  */
34
- thyDisablePreview: boolean;
34
+ readonly thyDisablePreview: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
35
35
  /**
36
36
  * 是否自动计算图片资源大小
37
37
  */
38
- thyResolveSize: boolean;
38
+ readonly thyResolveSize: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
39
39
  get previewable(): boolean;
40
40
  private parentGroup;
41
+ constructor();
41
42
  ngOnInit(): void;
42
43
  ngAfterViewInit(): void;
43
44
  getParentGroup(): void;
44
45
  addParentImage(): void;
45
- ngOnChanges(changes: SimpleChanges): void;
46
46
  onPreview(event: MouseEvent): void;
47
47
  ngOnDestroy(): void;
48
48
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyImageDirective, never>;
49
- static ɵdir: i0.ɵɵDirectiveDeclaration<ThyImageDirective, "img[thyImage]", ["thyImage"], { "thySrc": { "alias": "thySrc"; "required": false; }; "thyPreviewSrc": { "alias": "thyPreviewSrc"; "required": false; }; "thyOriginSrc": { "alias": "thyOriginSrc"; "required": false; }; "thyImageMeta": { "alias": "thyImageMeta"; "required": false; }; "thyDisablePreview": { "alias": "thyDisablePreview"; "required": false; }; "thyResolveSize": { "alias": "thyResolveSize"; "required": false; }; }, {}, never, never, true, never>;
50
- static ngAcceptInputType_thyDisablePreview: boolean | string | number;
51
- static ngAcceptInputType_thyResolveSize: boolean | string | number;
49
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ThyImageDirective, "img[thyImage]", ["thyImage"], { "thySrc": { "alias": "thySrc"; "required": false; "isSignal": true; }; "thyPreviewSrc": { "alias": "thyPreviewSrc"; "required": false; "isSignal": true; }; "thyOriginSrc": { "alias": "thyOriginSrc"; "required": false; "isSignal": true; }; "thyImageMeta": { "alias": "thyImageMeta"; "required": false; "isSignal": true; }; "thyDisablePreview": { "alias": "thyDisablePreview"; "required": false; "isSignal": true; }; "thyResolveSize": { "alias": "thyResolveSize"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
52
50
  }