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,48 +1,45 @@
1
- import { OnInit, OnChanges, SimpleChanges } from '@angular/core';
2
1
  import * as i0 from "@angular/core";
3
- interface Style {
4
- background?: string;
5
- animation?: string;
6
- }
7
2
  /**
8
3
  * 骨架屏圆形组件
9
4
  * @name thy-skeleton-circle
10
5
  * @order 30
11
6
  */
12
- export declare class ThySkeletonCircle implements OnInit, OnChanges {
7
+ export declare class ThySkeletonCircle {
13
8
  private skeletonConfigModel;
14
- private _parent;
9
+ private parent;
15
10
  /**
16
11
  * 动画速度
17
12
  * @default 1.5s
18
13
  */
19
- thyAnimatedInterval: string | number;
14
+ readonly thyAnimatedInterval: import("@angular/core").InputSignal<string | number>;
20
15
  /**
21
16
  * 骨架尺寸
22
17
  * @default 20px
23
18
  */
24
- thySize: string | number;
19
+ readonly thySize: import("@angular/core").InputSignalWithTransform<string, string | number>;
25
20
  /**
26
21
  * 骨架主色
27
22
  * @default #F7F7F7
28
23
  */
29
- thyPrimaryColor: string;
24
+ readonly thyPrimaryColor: import("@angular/core").InputSignal<string>;
30
25
  /**
31
26
  * 骨架次色
32
27
  * @default #aaaaaa
33
28
  */
34
- thySecondaryColor: string;
29
+ readonly thySecondaryColor: import("@angular/core").InputSignal<string>;
35
30
  /**
36
31
  * 是否展示动画
37
32
  * @default true
38
33
  */
39
- thyAnimated: boolean;
40
- afterStyles: Style;
41
- ngOnInit(): void;
42
- crateAfterStyles(): void;
43
- ngOnChanges(changes: SimpleChanges): void;
34
+ readonly thyAnimated: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
35
+ readonly animatedInterval: import("@angular/core").Signal<string | number>;
36
+ readonly primaryColor: import("@angular/core").Signal<string>;
37
+ readonly secondaryColor: import("@angular/core").Signal<string>;
38
+ readonly animated: import("@angular/core").Signal<boolean>;
39
+ readonly afterStyles: import("@angular/core").Signal<{
40
+ animation: string;
41
+ background: string;
42
+ }>;
44
43
  static ɵfac: i0.ɵɵFactoryDeclaration<ThySkeletonCircle, never>;
45
- static ɵcmp: i0.ɵɵComponentDeclaration<ThySkeletonCircle, "thy-skeleton-circle", never, { "thyAnimatedInterval": { "alias": "thyAnimatedInterval"; "required": false; }; "thySize": { "alias": "thySize"; "required": false; }; "thyPrimaryColor": { "alias": "thyPrimaryColor"; "required": false; }; "thySecondaryColor": { "alias": "thySecondaryColor"; "required": false; }; "thyAnimated": { "alias": "thyAnimated"; "required": false; }; }, {}, never, never, true, never>;
46
- static ngAcceptInputType_thyAnimated: boolean | string | number;
44
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThySkeletonCircle, "thy-skeleton-circle", never, { "thyAnimatedInterval": { "alias": "thyAnimatedInterval"; "required": false; "isSignal": true; }; "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; "thyPrimaryColor": { "alias": "thyPrimaryColor"; "required": false; "isSignal": true; }; "thySecondaryColor": { "alias": "thySecondaryColor"; "required": false; "isSignal": true; }; "thyAnimated": { "alias": "thyAnimated"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
47
45
  }
48
- export {};
@@ -1,58 +1,55 @@
1
- import { OnInit, OnChanges, SimpleChanges } from '@angular/core';
2
1
  import * as i0 from "@angular/core";
3
- interface Style {
4
- background?: string;
5
- animation?: string;
6
- }
7
2
  /**
8
3
  * 骨架屏矩形组件
9
4
  * @name thy-skeleton-rectangle
10
5
  * @order 20
11
6
  */
12
- export declare class ThySkeletonRectangle implements OnInit, OnChanges {
7
+ export declare class ThySkeletonRectangle {
13
8
  private skeletonConfigModel;
14
- private _parent;
9
+ private parent;
15
10
  /**
16
- * 是否开启动画
17
- * @default false
11
+ * 是否展示动画
12
+ * @default true
18
13
  */
19
- thyAnimated: boolean;
14
+ readonly thyAnimated: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
20
15
  /**
21
16
  * 动画速度
22
17
  * @default 1.5s
23
18
  */
24
- thyAnimatedInterval: number;
19
+ readonly thyAnimatedInterval: import("@angular/core").InputSignal<string | number>;
25
20
  /**
26
21
  * 骨架边框圆角
27
22
  * @default 4px
28
23
  */
29
- thyBorderRadius: string | number;
24
+ readonly thyBorderRadius: import("@angular/core").InputSignalWithTransform<string, string | number>;
30
25
  /**
31
26
  * 骨架宽度
32
27
  * @default 100%
33
28
  */
34
- thyRowWidth: string | number;
29
+ readonly thyRowWidth: import("@angular/core").InputSignalWithTransform<string, string | number>;
35
30
  /**
36
31
  * 骨架高度
37
32
  * @default 20px
38
33
  */
39
- thyRowHeight: string | number;
34
+ readonly thyRowHeight: import("@angular/core").InputSignalWithTransform<string, string | number>;
40
35
  /**
41
36
  * 骨架主色
42
37
  * @default #F7F7F7
43
38
  */
44
- thyPrimaryColor: string;
39
+ readonly thyPrimaryColor: import("@angular/core").InputSignal<string>;
45
40
  /**
46
41
  * 骨架次色
47
42
  * @default #aaaaaa
48
43
  */
49
- thySecondaryColor: string;
50
- afterStyles: Style;
51
- ngOnInit(): void;
52
- crateAfterStyles(): void;
53
- ngOnChanges(changes: SimpleChanges): void;
44
+ readonly thySecondaryColor: import("@angular/core").InputSignal<string>;
45
+ readonly animatedInterval: import("@angular/core").Signal<string | number>;
46
+ readonly primaryColor: import("@angular/core").Signal<string>;
47
+ readonly secondaryColor: import("@angular/core").Signal<string>;
48
+ readonly animated: import("@angular/core").Signal<boolean>;
49
+ readonly afterStyles: import("@angular/core").Signal<{
50
+ animation: string;
51
+ background: string;
52
+ }>;
54
53
  static ɵfac: i0.ɵɵFactoryDeclaration<ThySkeletonRectangle, never>;
55
- static ɵcmp: i0.ɵɵComponentDeclaration<ThySkeletonRectangle, "thy-skeleton-rectangle", never, { "thyAnimated": { "alias": "thyAnimated"; "required": false; }; "thyAnimatedInterval": { "alias": "thyAnimatedInterval"; "required": false; }; "thyBorderRadius": { "alias": "thyBorderRadius"; "required": false; }; "thyRowWidth": { "alias": "thyRowWidth"; "required": false; }; "thyRowHeight": { "alias": "thyRowHeight"; "required": false; }; "thyPrimaryColor": { "alias": "thyPrimaryColor"; "required": false; }; "thySecondaryColor": { "alias": "thySecondaryColor"; "required": false; }; }, {}, never, never, true, never>;
56
- static ngAcceptInputType_thyAnimated: boolean | string | number;
54
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThySkeletonRectangle, "thy-skeleton-rectangle", never, { "thyAnimated": { "alias": "thyAnimated"; "required": false; "isSignal": true; }; "thyAnimatedInterval": { "alias": "thyAnimatedInterval"; "required": false; "isSignal": true; }; "thyBorderRadius": { "alias": "thyBorderRadius"; "required": false; "isSignal": true; }; "thyRowWidth": { "alias": "thyRowWidth"; "required": false; "isSignal": true; }; "thyRowHeight": { "alias": "thyRowHeight"; "required": false; "isSignal": true; }; "thyPrimaryColor": { "alias": "thyPrimaryColor"; "required": false; "isSignal": true; }; "thySecondaryColor": { "alias": "thySecondaryColor"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
57
55
  }
58
- export {};
@@ -9,20 +9,19 @@ export declare class ThySkeleton {
9
9
  * 是否开启动画
10
10
  * @default false
11
11
  */
12
- thyAnimated: boolean;
12
+ readonly thyAnimated: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
13
13
  /**
14
14
  * 动画速度
15
15
  */
16
- thyAnimatedInterval: string | number;
16
+ readonly thyAnimatedInterval: import("@angular/core").InputSignal<string | number>;
17
17
  /**
18
18
  * 骨架主色调
19
19
  */
20
- thyPrimaryColor: string;
20
+ readonly thyPrimaryColor: import("@angular/core").InputSignal<string>;
21
21
  /**
22
22
  * 骨架次色调
23
23
  */
24
- thySecondaryColor: string;
24
+ readonly thySecondaryColor: import("@angular/core").InputSignal<string>;
25
25
  static ɵfac: i0.ɵɵFactoryDeclaration<ThySkeleton, never>;
26
- static ɵcmp: i0.ɵɵComponentDeclaration<ThySkeleton, "thy-skeleton", never, { "thyAnimated": { "alias": "thyAnimated"; "required": false; }; "thyAnimatedInterval": { "alias": "thyAnimatedInterval"; "required": false; }; "thyPrimaryColor": { "alias": "thyPrimaryColor"; "required": false; }; "thySecondaryColor": { "alias": "thySecondaryColor"; "required": false; }; }, {}, never, ["*"], true, never>;
27
- static ngAcceptInputType_thyAnimated: boolean | string | number;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThySkeleton, "thy-skeleton", never, { "thyAnimated": { "alias": "thyAnimated"; "required": false; "isSignal": true; }; "thyAnimatedInterval": { "alias": "thyAnimatedInterval"; "required": false; "isSignal": true; }; "thyPrimaryColor": { "alias": "thyPrimaryColor"; "required": false; "isSignal": true; }; "thySecondaryColor": { "alias": "thySecondaryColor"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
28
27
  }
@@ -9,49 +9,47 @@ export declare class ThySkeletonBulletList {
9
9
  * 骨架宽度
10
10
  * @default 100%
11
11
  */
12
- thyRowWidth: string | number;
12
+ readonly thyRowWidth: import("@angular/core").InputSignalWithTransform<string, string | number>;
13
13
  /**
14
14
  * 骨架高度
15
15
  * @default 20px
16
16
  */
17
- thyRowHeight: string | number;
17
+ readonly thyRowHeight: import("@angular/core").InputSignalWithTransform<string, string | number>;
18
18
  /**
19
19
  * 骨架边框圆角
20
20
  * @default 4px
21
21
  */
22
- thyBorderRadius: string | number;
22
+ readonly thyBorderRadius: import("@angular/core").InputSignalWithTransform<string, string | number>;
23
23
  /**
24
24
  * 是否开启动画
25
25
  * @default true
26
26
  */
27
- thyAnimated: boolean;
27
+ readonly thyAnimated: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
28
28
  /**
29
29
  * 动画速度
30
30
  * @default 1.5s
31
31
  */
32
- thyAnimatedInterval: string | number;
32
+ readonly thyAnimatedInterval: import("@angular/core").InputSignal<string | number>;
33
33
  /**
34
34
  * 骨架主色
35
35
  * @default #f7f7f7
36
36
  */
37
- thyPrimaryColor: string;
37
+ readonly thyPrimaryColor: import("@angular/core").InputSignal<string>;
38
38
  /**
39
39
  * 骨架次色
40
40
  * @default #aaaaaa
41
41
  */
42
- thySecondaryColor: string;
42
+ readonly thySecondaryColor: import("@angular/core").InputSignal<string>;
43
43
  /**
44
44
  * circle类型骨架尺寸
45
45
  */
46
- thySize: string | number;
47
- rowCount: number[];
46
+ readonly thySize: import("@angular/core").InputSignalWithTransform<string, string | number>;
48
47
  /**
49
48
  * 行数
50
49
  */
51
- set thyRowCount(value: number | string);
52
- get thyRowCount(): number | string;
50
+ readonly thyRowCount: import("@angular/core").InputSignal<string | number>;
51
+ readonly rows: import("@angular/core").Signal<unknown[]>;
53
52
  constructor();
54
53
  static ɵfac: i0.ɵɵFactoryDeclaration<ThySkeletonBulletList, never>;
55
- static ɵcmp: i0.ɵɵComponentDeclaration<ThySkeletonBulletList, "thy-skeleton-bullet-list", never, { "thyRowWidth": { "alias": "thyRowWidth"; "required": false; }; "thyRowHeight": { "alias": "thyRowHeight"; "required": false; }; "thyBorderRadius": { "alias": "thyBorderRadius"; "required": false; }; "thyAnimated": { "alias": "thyAnimated"; "required": false; }; "thyAnimatedInterval": { "alias": "thyAnimatedInterval"; "required": false; }; "thyPrimaryColor": { "alias": "thyPrimaryColor"; "required": false; }; "thySecondaryColor": { "alias": "thySecondaryColor"; "required": false; }; "thySize": { "alias": "thySize"; "required": false; }; "thyRowCount": { "alias": "thyRowCount"; "required": false; }; }, {}, never, never, true, never>;
56
- static ngAcceptInputType_thyAnimated: boolean | string | number;
54
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThySkeletonBulletList, "thy-skeleton-bullet-list", never, { "thyRowWidth": { "alias": "thyRowWidth"; "required": false; "isSignal": true; }; "thyRowHeight": { "alias": "thyRowHeight"; "required": false; "isSignal": true; }; "thyBorderRadius": { "alias": "thyBorderRadius"; "required": false; "isSignal": true; }; "thyAnimated": { "alias": "thyAnimated"; "required": false; "isSignal": true; }; "thyAnimatedInterval": { "alias": "thyAnimatedInterval"; "required": false; "isSignal": true; }; "thyPrimaryColor": { "alias": "thyPrimaryColor"; "required": false; "isSignal": true; }; "thySecondaryColor": { "alias": "thySecondaryColor"; "required": false; "isSignal": true; }; "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; "thyRowCount": { "alias": "thyRowCount"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
57
55
  }
@@ -8,39 +8,37 @@ export declare class ThySkeletonList {
8
8
  /**
9
9
  * 骨架宽度
10
10
  */
11
- thyRowWidth: string | number;
11
+ readonly thyRowWidth: import("@angular/core").InputSignalWithTransform<string, string | number>;
12
12
  /**
13
13
  * 骨架高度
14
14
  */
15
- thyRowHeight: string | number;
15
+ readonly thyRowHeight: import("@angular/core").InputSignalWithTransform<string, string | number>;
16
16
  /**
17
17
  * 骨架边框圆角
18
18
  */
19
- thyBorderRadius: string | number;
19
+ readonly thyBorderRadius: import("@angular/core").InputSignalWithTransform<string, string | number>;
20
20
  /**
21
21
  * 是否开启动画
22
22
  * @default false
23
23
  */
24
- thyAnimated: boolean;
24
+ readonly thyAnimated: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
25
25
  /**
26
26
  * 动画速度
27
27
  */
28
- thyAnimatedInterval: string;
28
+ readonly thyAnimatedInterval: import("@angular/core").InputSignal<string | number>;
29
29
  /**
30
30
  * 骨架主色
31
31
  */
32
- thyPrimaryColor: string;
32
+ readonly thyPrimaryColor: import("@angular/core").InputSignal<string>;
33
33
  /**
34
34
  * 骨架次色
35
35
  */
36
- thySecondaryColor: string;
37
- rowCount: number[];
36
+ readonly thySecondaryColor: import("@angular/core").InputSignal<string>;
38
37
  /**
39
38
  * 行数
40
39
  */
41
- set thyRowCount(value: number | string);
42
- get thyRowCount(): number | string;
40
+ readonly thyRowCount: import("@angular/core").InputSignal<string | number>;
41
+ readonly rows: import("@angular/core").Signal<unknown[]>;
43
42
  static ɵfac: i0.ɵɵFactoryDeclaration<ThySkeletonList, never>;
44
- static ɵcmp: i0.ɵɵComponentDeclaration<ThySkeletonList, "thy-skeleton-list", never, { "thyRowWidth": { "alias": "thyRowWidth"; "required": false; }; "thyRowHeight": { "alias": "thyRowHeight"; "required": false; }; "thyBorderRadius": { "alias": "thyBorderRadius"; "required": false; }; "thyAnimated": { "alias": "thyAnimated"; "required": false; }; "thyAnimatedInterval": { "alias": "thyAnimatedInterval"; "required": false; }; "thyPrimaryColor": { "alias": "thyPrimaryColor"; "required": false; }; "thySecondaryColor": { "alias": "thySecondaryColor"; "required": false; }; "thyRowCount": { "alias": "thyRowCount"; "required": false; }; }, {}, never, never, true, never>;
45
- static ngAcceptInputType_thyAnimated: boolean | string | number;
43
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThySkeletonList, "thy-skeleton-list", never, { "thyRowWidth": { "alias": "thyRowWidth"; "required": false; "isSignal": true; }; "thyRowHeight": { "alias": "thyRowHeight"; "required": false; "isSignal": true; }; "thyBorderRadius": { "alias": "thyBorderRadius"; "required": false; "isSignal": true; }; "thyAnimated": { "alias": "thyAnimated"; "required": false; "isSignal": true; }; "thyAnimatedInterval": { "alias": "thyAnimatedInterval"; "required": false; "isSignal": true; }; "thyPrimaryColor": { "alias": "thyPrimaryColor"; "required": false; "isSignal": true; }; "thySecondaryColor": { "alias": "thySecondaryColor"; "required": false; "isSignal": true; }; "thyRowCount": { "alias": "thyRowCount"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
46
44
  }
@@ -8,47 +8,45 @@ export declare class ThySkeletonParagraph {
8
8
  /**
9
9
  * 首行宽度
10
10
  */
11
- thyFirstWidth: string | number;
11
+ readonly thyFirstWidth: import("@angular/core").InputSignalWithTransform<string, string | number>;
12
12
  /**
13
13
  * 尾行宽度
14
14
  */
15
- thyLastWidth: string | number;
15
+ readonly thyLastWidth: import("@angular/core").InputSignalWithTransform<string, string | number>;
16
16
  /**
17
17
  * 骨架宽度
18
18
  */
19
- thyRowWidth: string | number;
19
+ readonly thyRowWidth: import("@angular/core").InputSignalWithTransform<string, string | number>;
20
20
  /**
21
21
  * 骨架高度
22
22
  */
23
- thyRowHeight: string | number;
23
+ readonly thyRowHeight: import("@angular/core").InputSignalWithTransform<string, string | number>;
24
24
  /**
25
25
  * 骨架边框圆角
26
26
  */
27
- thyBorderRadius: string | number;
27
+ readonly thyBorderRadius: import("@angular/core").InputSignalWithTransform<string, string | number>;
28
28
  /**
29
29
  * 是否开启动画
30
30
  * @default false
31
31
  */
32
- thyAnimated: boolean;
32
+ readonly thyAnimated: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
33
33
  /**
34
34
  * 动画速度
35
35
  */
36
- thyAnimatedInterval: string | number;
36
+ readonly thyAnimatedInterval: import("@angular/core").InputSignal<string | number>;
37
37
  /**
38
38
  * 骨架主色
39
39
  */
40
- thyPrimaryColor: string;
40
+ readonly thyPrimaryColor: import("@angular/core").InputSignal<string>;
41
41
  /**
42
42
  * 骨架次色
43
43
  */
44
- thySecondaryColor: string;
45
- rowCount: number[];
44
+ readonly thySecondaryColor: import("@angular/core").InputSignal<string>;
46
45
  /**
47
46
  * 行数
48
47
  */
49
- set thyRowCount(value: number | string);
50
- get thyRowCount(): number | string;
48
+ readonly thyRowCount: import("@angular/core").InputSignal<string | number>;
49
+ readonly rows: import("@angular/core").Signal<unknown[]>;
51
50
  static ɵfac: i0.ɵɵFactoryDeclaration<ThySkeletonParagraph, never>;
52
- static ɵcmp: i0.ɵɵComponentDeclaration<ThySkeletonParagraph, "thy-skeleton-paragraph", never, { "thyFirstWidth": { "alias": "thyFirstWidth"; "required": false; }; "thyLastWidth": { "alias": "thyLastWidth"; "required": false; }; "thyRowWidth": { "alias": "thyRowWidth"; "required": false; }; "thyRowHeight": { "alias": "thyRowHeight"; "required": false; }; "thyBorderRadius": { "alias": "thyBorderRadius"; "required": false; }; "thyAnimated": { "alias": "thyAnimated"; "required": false; }; "thyAnimatedInterval": { "alias": "thyAnimatedInterval"; "required": false; }; "thyPrimaryColor": { "alias": "thyPrimaryColor"; "required": false; }; "thySecondaryColor": { "alias": "thySecondaryColor"; "required": false; }; "thyRowCount": { "alias": "thyRowCount"; "required": false; }; }, {}, never, never, true, never>;
53
- static ngAcceptInputType_thyAnimated: boolean | string | number;
51
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThySkeletonParagraph, "thy-skeleton-paragraph", never, { "thyFirstWidth": { "alias": "thyFirstWidth"; "required": false; "isSignal": true; }; "thyLastWidth": { "alias": "thyLastWidth"; "required": false; "isSignal": true; }; "thyRowWidth": { "alias": "thyRowWidth"; "required": false; "isSignal": true; }; "thyRowHeight": { "alias": "thyRowHeight"; "required": false; "isSignal": true; }; "thyBorderRadius": { "alias": "thyBorderRadius"; "required": false; "isSignal": true; }; "thyAnimated": { "alias": "thyAnimated"; "required": false; "isSignal": true; }; "thyAnimatedInterval": { "alias": "thyAnimatedInterval"; "required": false; "isSignal": true; }; "thyPrimaryColor": { "alias": "thyPrimaryColor"; "required": false; "isSignal": true; }; "thySecondaryColor": { "alias": "thySecondaryColor"; "required": false; "isSignal": true; }; "thyRowCount": { "alias": "thyRowCount"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
54
52
  }
@@ -5,15 +5,12 @@ import * as i0 from "@angular/core";
5
5
  * @order 50
6
6
  */
7
7
  export declare class ThySlideBodySection implements OnInit {
8
- thySlideBodyItem: boolean;
9
- hasDivider: boolean;
10
8
  /**
11
9
  * 是否有分割线
12
10
  * @default false
13
11
  */
14
- set thyDividerBorder(value: boolean);
12
+ readonly thyDividerBorder: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
15
13
  ngOnInit(): void;
16
14
  static ɵfac: i0.ɵɵFactoryDeclaration<ThySlideBodySection, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<ThySlideBodySection, "thy-slide-body-section", never, { "thyDividerBorder": { "alias": "thyDividerBorder"; "required": false; }; }, {}, never, ["*"], true, never>;
18
- static ngAcceptInputType_thyDividerBorder: boolean | string | number;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThySlideBodySection, "thy-slide-body-section", never, { "thyDividerBorder": { "alias": "thyDividerBorder"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
19
16
  }
@@ -7,30 +7,27 @@ import * as i0 from "@angular/core";
7
7
  */
8
8
  export declare class ThySlideHeader implements OnInit {
9
9
  private thySlideService;
10
- isIconFont: boolean;
11
- private _iconName;
12
- slideLayoutHeader: boolean;
13
10
  /**
14
11
  * 标题
15
12
  */
16
- thyTitle: string;
13
+ readonly thyTitle: import("@angular/core").InputSignal<string>;
17
14
  /**
18
15
  * 标题的图标
19
16
  */
20
- set thyIcon(value: string);
21
- get thyIcon(): string;
17
+ readonly thyIcon: import("@angular/core").InputSignal<string>;
18
+ readonly isIconFont: import("@angular/core").Signal<boolean>;
22
19
  /**
23
20
  * 自定义头模板
24
21
  * @type TemplateRef
25
22
  */
26
- headerTemplate: TemplateRef<any>;
23
+ readonly headerTemplate: import("@angular/core").Signal<TemplateRef<any>>;
27
24
  /**
28
25
  * 头部操作区域模板
29
26
  * @type TemplateRef
30
27
  */
31
- headerOperateTemplate: TemplateRef<any>;
28
+ readonly headerOperateTemplate: import("@angular/core").Signal<TemplateRef<any>>;
32
29
  ngOnInit(): void;
33
30
  closeModal(event: Event): void;
34
31
  static ɵfac: i0.ɵɵFactoryDeclaration<ThySlideHeader, never>;
35
- static ɵcmp: i0.ɵɵComponentDeclaration<ThySlideHeader, "thy-slide-header", never, { "thyTitle": { "alias": "thyTitle"; "required": false; }; "thyIcon": { "alias": "thyIcon"; "required": false; }; }, {}, ["headerTemplate", "headerOperateTemplate"], never, true, never>;
32
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThySlideHeader, "thy-slide-header", never, { "thyTitle": { "alias": "thyTitle"; "required": false; "isSignal": true; }; "thyIcon": { "alias": "thyIcon"; "required": false; "isSignal": true; }; }, {}, ["headerTemplate", "headerOperateTemplate"], never, true, never>;
36
33
  }
@@ -1,7 +1,8 @@
1
- import { OnInit, OnChanges, OnDestroy, AfterViewInit, SimpleChanges, EventEmitter, ElementRef } from '@angular/core';
1
+ import { AfterViewInit, ElementRef, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
2
2
  import { ControlValueAccessor } from '@angular/forms';
3
3
  import { TabIndexDisabledControlValueAccessorMixin } from 'ngx-tethys/core';
4
4
  import * as i0 from "@angular/core";
5
+ import * as i1 from "ngx-tethys/util";
5
6
  export type ThySliderType = 'primary' | 'success' | 'info' | 'warning' | 'danger';
6
7
  export type ThySliderSize = 'sm' | 'md' | 'lg';
7
8
  /**
@@ -16,55 +17,51 @@ export declare class ThySlider extends TabIndexDisabledControlValueAccessorMixin
16
17
  /**
17
18
  * 是否切换为纵轴模式
18
19
  */
19
- thyVertical: boolean;
20
+ readonly thyVertical: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
20
21
  /**
21
22
  * 是否禁用
22
23
  */
23
24
  set thyDisabled(value: boolean);
24
25
  get thyDisabled(): boolean;
25
26
  disabled: boolean;
26
- _thySlider: boolean;
27
- _pointer: boolean;
28
- sliderRail: ElementRef;
29
- sliderTrack: ElementRef;
30
- sliderPointer: ElementRef;
27
+ readonly sliderRail: import("@angular/core").Signal<ElementRef<any>>;
28
+ readonly sliderTrack: import("@angular/core").Signal<ElementRef<any>>;
29
+ readonly sliderPointer: import("@angular/core").Signal<ElementRef<any>>;
30
+ private typeClassName;
31
+ private sizeClassName;
31
32
  /**
32
33
  * 最大值
33
34
  */
34
- thyMax: number;
35
+ readonly thyMax: import("@angular/core").InputSignalWithTransform<number, unknown>;
35
36
  /**
36
37
  * 最小值
37
38
  */
38
- thyMin: number;
39
+ readonly thyMin: import("@angular/core").InputSignalWithTransform<number, unknown>;
39
40
  /**
40
41
  * 步长,需要被 thyMax - thyMin 的差值整除。
41
42
  */
42
- thyStep: number;
43
+ readonly thyStep: import("@angular/core").InputSignalWithTransform<number, unknown>;
43
44
  /**
44
45
  * 切换主题类型
45
46
  * @type primary | success | info | warning | danger
46
- * @default success
47
47
  */
48
- set thyType(type: ThySliderType);
48
+ readonly thyType: import("@angular/core").InputSignal<ThySliderType>;
49
49
  /**
50
50
  * 通过变量设置颜色
51
51
  */
52
- thyColor: string;
52
+ readonly thyColor: import("@angular/core").InputSignal<string>;
53
53
  /**
54
54
  * 滑动输入条大小
55
55
  * @type sm | md | lg
56
- * @default sm
57
56
  */
58
- set thySize(size: ThySliderSize);
57
+ readonly thySize: import("@angular/core").InputSignal<ThySliderSize>;
59
58
  /**
60
59
  * 移动结束后的回调,参数为当前值
61
60
  */
62
- thyAfterChange: EventEmitter<{
61
+ readonly thyAfterChange: import("@angular/core").OutputEmitterRef<{
63
62
  value: number;
64
63
  }>;
65
64
  value: number;
66
- private typeClassName;
67
- private sizeClassName;
68
65
  private dragStartListener;
69
66
  private dragMoveListener;
70
67
  private dragEndListener;
@@ -103,10 +100,6 @@ export declare class ThySlider extends TabIndexDisabledControlValueAccessorMixin
103
100
  private ratioToValue;
104
101
  private getDecimals;
105
102
  static ɵfac: i0.ɵɵFactoryDeclaration<ThySlider, never>;
106
- static ɵcmp: i0.ɵɵComponentDeclaration<ThySlider, "thy-slider", never, { "thyVertical": { "alias": "thyVertical"; "required": false; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; "thyMax": { "alias": "thyMax"; "required": false; }; "thyMin": { "alias": "thyMin"; "required": false; }; "thyStep": { "alias": "thyStep"; "required": false; }; "thyType": { "alias": "thyType"; "required": false; }; "thyColor": { "alias": "thyColor"; "required": false; }; "thySize": { "alias": "thySize"; "required": false; }; }, { "thyAfterChange": "thyAfterChange"; }, never, never, true, never>;
107
- static ngAcceptInputType_thyVertical: boolean | string | number;
108
- static ngAcceptInputType_thyDisabled: boolean | string | number;
109
- static ngAcceptInputType_thyMax: unknown;
110
- static ngAcceptInputType_thyMin: unknown;
111
- static ngAcceptInputType_thyStep: unknown;
103
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThySlider, "thy-slider", never, { "thyVertical": { "alias": "thyVertical"; "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; }; "thyType": { "alias": "thyType"; "required": false; "isSignal": true; }; "thyColor": { "alias": "thyColor"; "required": false; "isSignal": true; }; "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; }, { "thyAfterChange": "thyAfterChange"; }, never, never, true, never>;
104
+ static ngAcceptInputType_thyDisabled: i1.ThyBooleanInput;
112
105
  }
@@ -1,4 +1,4 @@
1
- import { AfterContentInit, OnInit, QueryList, TemplateRef } from '@angular/core';
1
+ import { TemplateRef } from '@angular/core';
2
2
  import { ThySpacingSize } from 'ngx-tethys/core';
3
3
  import * as i0 from "@angular/core";
4
4
  /**
@@ -6,9 +6,7 @@ import * as i0 from "@angular/core";
6
6
  * @name thySpaceItem
7
7
  * @order 20
8
8
  */
9
- export declare class ThySpaceItemDirective implements OnInit {
10
- constructor();
11
- ngOnInit(): void;
9
+ export declare class ThySpaceItemDirective {
12
10
  static ɵfac: i0.ɵɵFactoryDeclaration<ThySpaceItemDirective, never>;
13
11
  static ɵdir: i0.ɵɵDirectiveDeclaration<ThySpaceItemDirective, "[thySpaceItem]", never, {}, {}, never, never, true, never>;
14
12
  }
@@ -17,28 +15,24 @@ export declare class ThySpaceItemDirective implements OnInit {
17
15
  * @name thy-space
18
16
  * @order 10
19
17
  */
20
- export declare class ThySpace implements OnInit, AfterContentInit {
21
- private cdr;
22
- private readonly destroyRef;
23
- space: number;
18
+ export declare class ThySpace {
24
19
  private hostRenderer;
25
20
  /**
26
21
  * 大小,支持 `zero` | `xxs` | `xs` | `sm` | `md` | `lg` | `xlg` 和自定义数字大小
27
22
  * @type string | number
28
23
  */
29
- set thySize(size: ThySpacingSize);
24
+ readonly thySize: import("@angular/core").InputSignal<ThySpacingSize>;
25
+ readonly space: import("@angular/core").Signal<number>;
30
26
  /**
31
27
  * 间距垂直方向,默认是水平方向
32
28
  */
33
- thyVertical: boolean;
29
+ readonly thyVertical: import("@angular/core").InputSignalWithTransform<string | boolean, boolean>;
34
30
  /**
35
31
  * 对齐方式,可选择 `start` | `end` | `baseline` | `center`
36
32
  */
37
- set thyAlign(align: string);
38
- items: QueryList<TemplateRef<HTMLElement>>;
39
- ngOnInit(): void;
40
- ngAfterContentInit(): void;
33
+ readonly thyAlign: import("@angular/core").InputSignal<string>;
34
+ readonly items: import("@angular/core").Signal<readonly TemplateRef<any>[]>;
35
+ constructor();
41
36
  static ɵfac: i0.ɵɵFactoryDeclaration<ThySpace, never>;
42
- static ɵcmp: i0.ɵɵComponentDeclaration<ThySpace, "thy-space", never, { "thySize": { "alias": "thySize"; "required": false; }; "thyVertical": { "alias": "thyVertical"; "required": false; }; "thyAlign": { "alias": "thyAlign"; "required": false; }; }, {}, ["items"], ["*"], true, never>;
43
- static ngAcceptInputType_thyVertical: boolean | string | number;
37
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThySpace, "thy-space", never, { "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; "thyVertical": { "alias": "thyVertical"; "required": false; "isSignal": true; }; "thyAlign": { "alias": "thyAlign"; "required": false; "isSignal": true; }; }, {}, ["items"], ["*"], true, never>;
44
38
  }