ngx-tethys 19.0.13 → 19.1.0-next.0

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 (280) hide show
  1. package/CHANGELOG.md +29 -2
  2. package/action/action.component.d.ts +12 -20
  3. package/action/actions.component.d.ts +5 -7
  4. package/affix/affix.component.d.ts +7 -10
  5. package/alert/alert.component.d.ts +1 -1
  6. package/anchor/anchor-link.component.d.ts +8 -8
  7. package/anchor/anchor.component.d.ts +15 -21
  8. package/arrow-switcher/arrow-switcher.component.d.ts +15 -22
  9. package/autocomplete/autocomplete.component.d.ts +10 -17
  10. package/autocomplete/autocomplete.trigger.directive.d.ts +10 -18
  11. package/avatar/avatar-list/avatar-list.component.d.ts +8 -14
  12. package/avatar/avatar.component.d.ts +25 -39
  13. package/back-top/back-top.component.d.ts +9 -12
  14. package/badge/badge.component.d.ts +19 -59
  15. package/breadcrumb/breadcrumb.component.d.ts +15 -20
  16. package/button/button-icon.component.d.ts +3 -2
  17. package/button/button.component.d.ts +3 -2
  18. package/calendar/calendar-header.component.d.ts +9 -8
  19. package/calendar/calendar.component.d.ts +16 -16
  20. package/card/card.component.d.ts +5 -11
  21. package/card/content.component.d.ts +3 -8
  22. package/card/header.component.d.ts +7 -8
  23. package/carousel/carousel.component.d.ts +22 -27
  24. package/cascader/cascader-li.component.d.ts +13 -21
  25. package/cascader/cascader-search-option.component.d.ts +8 -16
  26. package/cascader/cascader.component.d.ts +58 -80
  27. package/checkbox/checkbox.component.d.ts +2 -5
  28. package/collapse/collapse-item.component.d.ts +12 -19
  29. package/collapse/collapse.component.d.ts +6 -12
  30. package/collapse/collapse.token.d.ts +3 -3
  31. package/color-picker/color-picker-custom-panel.component.d.ts +5 -5
  32. package/color-picker/color-picker-panel.component.d.ts +7 -11
  33. package/color-picker/color-picker.component.d.ts +19 -35
  34. package/color-picker/parts/alpha/alpha.component.d.ts +8 -8
  35. package/color-picker/parts/hue/hue.component.d.ts +6 -6
  36. package/color-picker/parts/indicator/indicator.component.d.ts +4 -3
  37. package/color-picker/parts/inputs/inputs.component.d.ts +9 -9
  38. package/color-picker/parts/saturation/saturation.component.d.ts +9 -9
  39. package/comment/comment.component.d.ts +4 -5
  40. package/copy/copy.directive.d.ts +8 -9
  41. package/date-picker/abstract-picker.component.d.ts +8 -7
  42. package/date-picker/lib/calendar/calendar-footer.component.d.ts +2 -1
  43. package/date-picker/lib/popups/inner-popup.component.d.ts +2 -1
  44. package/date-picker/picker.component.d.ts +2 -1
  45. package/date-range/date-range.component.d.ts +2 -2
  46. package/dialog/body/dialog-body.component.d.ts +2 -6
  47. package/dialog/confirm/confirm.component.d.ts +2 -2
  48. package/dialog/footer/dialog-footer.component.d.ts +6 -9
  49. package/dialog/header/dialog-header.component.d.ts +9 -11
  50. package/divider/divider.component.d.ts +12 -16
  51. package/dot/dot.component.d.ts +5 -13
  52. package/drag-drop/drag-handle.directive.d.ts +2 -1
  53. package/drag-drop/drag.directive.d.ts +2 -1
  54. package/drag-drop/drop-container.directive.d.ts +2 -1
  55. package/dropdown/dropdown-menu-item.directive.d.ts +3 -2
  56. package/dropdown/dropdown-menu.component.d.ts +2 -1
  57. package/dropdown/dropdown.directive.d.ts +2 -1
  58. package/empty/empty.component.d.ts +21 -27
  59. package/fesm2022/ngx-tethys-action.mjs +54 -91
  60. package/fesm2022/ngx-tethys-action.mjs.map +1 -1
  61. package/fesm2022/ngx-tethys-affix.mjs +29 -26
  62. package/fesm2022/ngx-tethys-affix.mjs.map +1 -1
  63. package/fesm2022/ngx-tethys-anchor.mjs +91 -118
  64. package/fesm2022/ngx-tethys-anchor.mjs.map +1 -1
  65. package/fesm2022/ngx-tethys-arrow-switcher.mjs +51 -77
  66. package/fesm2022/ngx-tethys-arrow-switcher.mjs.map +1 -1
  67. package/fesm2022/ngx-tethys-autocomplete.mjs +69 -103
  68. package/fesm2022/ngx-tethys-autocomplete.mjs.map +1 -1
  69. package/fesm2022/ngx-tethys-avatar.mjs +117 -162
  70. package/fesm2022/ngx-tethys-avatar.mjs.map +1 -1
  71. package/fesm2022/ngx-tethys-back-top.mjs +33 -46
  72. package/fesm2022/ngx-tethys-back-top.mjs.map +1 -1
  73. package/fesm2022/ngx-tethys-badge.mjs +104 -208
  74. package/fesm2022/ngx-tethys-badge.mjs.map +1 -1
  75. package/fesm2022/ngx-tethys-breadcrumb.mjs +66 -70
  76. package/fesm2022/ngx-tethys-breadcrumb.mjs.map +1 -1
  77. package/fesm2022/ngx-tethys-calendar.mjs +85 -87
  78. package/fesm2022/ngx-tethys-calendar.mjs.map +1 -1
  79. package/fesm2022/ngx-tethys-card.mjs +72 -77
  80. package/fesm2022/ngx-tethys-card.mjs.map +1 -1
  81. package/fesm2022/ngx-tethys-carousel.mjs +82 -99
  82. package/fesm2022/ngx-tethys-carousel.mjs.map +1 -1
  83. package/fesm2022/ngx-tethys-cascader.mjs +313 -468
  84. package/fesm2022/ngx-tethys-cascader.mjs.map +1 -1
  85. package/fesm2022/ngx-tethys-checkbox.mjs +10 -17
  86. package/fesm2022/ngx-tethys-checkbox.mjs.map +1 -1
  87. package/fesm2022/ngx-tethys-collapse.mjs +66 -71
  88. package/fesm2022/ngx-tethys-collapse.mjs.map +1 -1
  89. package/fesm2022/ngx-tethys-color-picker.mjs +187 -246
  90. package/fesm2022/ngx-tethys-color-picker.mjs.map +1 -1
  91. package/fesm2022/ngx-tethys-comment.mjs +16 -10
  92. package/fesm2022/ngx-tethys-comment.mjs.map +1 -1
  93. package/fesm2022/ngx-tethys-copy.mjs +25 -28
  94. package/fesm2022/ngx-tethys-copy.mjs.map +1 -1
  95. package/fesm2022/ngx-tethys-dialog.mjs +81 -82
  96. package/fesm2022/ngx-tethys-dialog.mjs.map +1 -1
  97. package/fesm2022/ngx-tethys-divider.mjs +49 -58
  98. package/fesm2022/ngx-tethys-divider.mjs.map +1 -1
  99. package/fesm2022/ngx-tethys-dot.mjs +45 -68
  100. package/fesm2022/ngx-tethys-dot.mjs.map +1 -1
  101. package/fesm2022/ngx-tethys-empty.mjs +107 -95
  102. package/fesm2022/ngx-tethys-empty.mjs.map +1 -1
  103. package/fesm2022/ngx-tethys-form.mjs +161 -200
  104. package/fesm2022/ngx-tethys-form.mjs.map +1 -1
  105. package/fesm2022/ngx-tethys-fullscreen.mjs +21 -23
  106. package/fesm2022/ngx-tethys-fullscreen.mjs.map +1 -1
  107. package/fesm2022/ngx-tethys-grid.mjs +160 -152
  108. package/fesm2022/ngx-tethys-grid.mjs.map +1 -1
  109. package/fesm2022/ngx-tethys-i18n.mjs +25 -25
  110. package/fesm2022/ngx-tethys-i18n.mjs.map +1 -1
  111. package/fesm2022/ngx-tethys-input-number.mjs +101 -114
  112. package/fesm2022/ngx-tethys-input-number.mjs.map +1 -1
  113. package/fesm2022/ngx-tethys-input.mjs +268 -271
  114. package/fesm2022/ngx-tethys-input.mjs.map +1 -1
  115. package/fesm2022/ngx-tethys-list.mjs +1 -1
  116. package/fesm2022/ngx-tethys-list.mjs.map +1 -1
  117. package/fesm2022/ngx-tethys-loading.mjs +17 -35
  118. package/fesm2022/ngx-tethys-loading.mjs.map +1 -1
  119. package/fesm2022/ngx-tethys-mention.mjs +52 -74
  120. package/fesm2022/ngx-tethys-mention.mjs.map +1 -1
  121. package/fesm2022/ngx-tethys-menu.mjs +106 -179
  122. package/fesm2022/ngx-tethys-menu.mjs.map +1 -1
  123. package/fesm2022/ngx-tethys-nav.mjs +169 -201
  124. package/fesm2022/ngx-tethys-nav.mjs.map +1 -1
  125. package/fesm2022/ngx-tethys-pagination.mjs +230 -294
  126. package/fesm2022/ngx-tethys-pagination.mjs.map +1 -1
  127. package/fesm2022/ngx-tethys-popover.mjs +67 -70
  128. package/fesm2022/ngx-tethys-popover.mjs.map +1 -1
  129. package/fesm2022/ngx-tethys-progress.mjs +196 -244
  130. package/fesm2022/ngx-tethys-progress.mjs.map +1 -1
  131. package/fesm2022/ngx-tethys-property.mjs +102 -105
  132. package/fesm2022/ngx-tethys-property.mjs.map +1 -1
  133. package/fesm2022/ngx-tethys-radio.mjs +34 -38
  134. package/fesm2022/ngx-tethys-radio.mjs.map +1 -1
  135. package/fesm2022/ngx-tethys-result.mjs +46 -28
  136. package/fesm2022/ngx-tethys-result.mjs.map +1 -1
  137. package/fesm2022/ngx-tethys-skeleton.mjs +339 -342
  138. package/fesm2022/ngx-tethys-skeleton.mjs.map +1 -1
  139. package/fesm2022/ngx-tethys-slider.mjs +75 -108
  140. package/fesm2022/ngx-tethys-slider.mjs.map +1 -1
  141. package/fesm2022/ngx-tethys-space.mjs +26 -46
  142. package/fesm2022/ngx-tethys-space.mjs.map +1 -1
  143. package/fesm2022/ngx-tethys-statistic.mjs +114 -151
  144. package/fesm2022/ngx-tethys-statistic.mjs.map +1 -1
  145. package/fesm2022/ngx-tethys-stepper.mjs +74 -107
  146. package/fesm2022/ngx-tethys-stepper.mjs.map +1 -1
  147. package/fesm2022/ngx-tethys-switch.mjs +80 -140
  148. package/fesm2022/ngx-tethys-switch.mjs.map +1 -1
  149. package/fesm2022/ngx-tethys-table.mjs +1 -1
  150. package/fesm2022/ngx-tethys-table.mjs.map +1 -1
  151. package/fesm2022/ngx-tethys-tabs.mjs +69 -87
  152. package/fesm2022/ngx-tethys-tabs.mjs.map +1 -1
  153. package/fesm2022/ngx-tethys-tag.mjs +42 -64
  154. package/fesm2022/ngx-tethys-tag.mjs.map +1 -1
  155. package/fesm2022/ngx-tethys-timeline.mjs +104 -129
  156. package/fesm2022/ngx-tethys-timeline.mjs.map +1 -1
  157. package/fesm2022/ngx-tethys-typography.mjs +36 -33
  158. package/fesm2022/ngx-tethys-typography.mjs.map +1 -1
  159. package/fesm2022/ngx-tethys-upload.mjs +91 -130
  160. package/fesm2022/ngx-tethys-upload.mjs.map +1 -1
  161. package/fesm2022/ngx-tethys-util.mjs.map +1 -1
  162. package/fesm2022/ngx-tethys-watermark.mjs +36 -40
  163. package/fesm2022/ngx-tethys-watermark.mjs.map +1 -1
  164. package/fesm2022/ngx-tethys.mjs +1 -1
  165. package/fesm2022/ngx-tethys.mjs.map +1 -1
  166. package/form/form-group-error/form-group-error.component.d.ts +2 -3
  167. package/form/form-group-label.directive.d.ts +2 -1
  168. package/form/form-group.component.d.ts +17 -24
  169. package/form/form-submit.directive.d.ts +2 -2
  170. package/form/form.directive.d.ts +6 -8
  171. package/form/from-group-footer/form-group-footer.component.d.ts +2 -2
  172. package/form/validator/confirm-validator.directive.d.ts +2 -2
  173. package/form/validator/unique-validator.directive.d.ts +2 -2
  174. package/fullscreen/fullscreen.component.d.ts +7 -7
  175. package/grid/flex.d.ts +14 -19
  176. package/grid/thy-col.directive.d.ts +6 -9
  177. package/grid/thy-grid-item.component.d.ts +3 -4
  178. package/grid/thy-grid.component.d.ts +11 -12
  179. package/grid/thy-row.directive.d.ts +12 -12
  180. package/icon/icon.component.d.ts +3 -2
  181. package/image/image.directive.d.ts +3 -2
  182. package/input/input-count.component.d.ts +4 -5
  183. package/input/input-group.component.d.ts +20 -20
  184. package/input/input-search.component.d.ts +15 -20
  185. package/input/input.component.d.ts +20 -21
  186. package/input/input.directive.d.ts +4 -6
  187. package/input-number/input-number.component.d.ts +21 -29
  188. package/layout/header.component.d.ts +4 -9
  189. package/layout/sidebar-header.component.d.ts +2 -1
  190. package/layout/sidebar.component.d.ts +8 -7
  191. package/list/list.component.d.ts +2 -1
  192. package/list/selection/selection-list.d.ts +4 -3
  193. package/loading/loading.component.d.ts +4 -10
  194. package/mention/mention.directive.d.ts +6 -7
  195. package/mention/suggestions/suggestions.component.d.ts +8 -9
  196. package/menu/group/menu-group.component.d.ts +16 -33
  197. package/menu/item/action/menu-item-action.component.d.ts +7 -8
  198. package/menu/item/icon/menu-item-icon.component.d.ts +2 -2
  199. package/menu/item/menu-item.component.d.ts +4 -4
  200. package/menu/item/name/menu-item-name.component.d.ts +2 -3
  201. package/menu/menu.component.d.ts +3 -7
  202. package/nav/icon-nav/icon-nav-link.directive.d.ts +3 -7
  203. package/nav/icon-nav/icon-nav.component.d.ts +3 -8
  204. package/nav/nav-ink-bar.directive.d.ts +4 -6
  205. package/nav/nav-item.directive.d.ts +7 -10
  206. package/nav/nav.component.d.ts +20 -48
  207. package/package.json +1 -1
  208. package/pagination/pagination.component.d.ts +48 -109
  209. package/popover/header/popover-header.component.d.ts +7 -6
  210. package/popover/popover.directive.d.ts +11 -18
  211. package/progress/progress-circle.component.d.ts +32 -21
  212. package/progress/progress-strip.component.d.ts +10 -14
  213. package/progress/progress.component.d.ts +15 -23
  214. package/property/examples/single/single.component.scss +6 -0
  215. package/property/properties.component.d.ts +6 -13
  216. package/property/property-item.component.d.ts +21 -26
  217. package/property/styles/properties.scss +124 -52
  218. package/property-operation/property-operation.component.d.ts +6 -5
  219. package/radio/button/radio-button.component.d.ts +2 -2
  220. package/radio/group/radio-group.component.d.ts +8 -7
  221. package/radio/radio.component.d.ts +2 -2
  222. package/radio/radio.token.d.ts +2 -2
  223. package/rate/rate-item.component.d.ts +2 -1
  224. package/rate/rate.component.d.ts +4 -3
  225. package/resizable/resizable.directive.d.ts +4 -9
  226. package/resizable/resize-handle.component.d.ts +2 -1
  227. package/resizable/resize-handles.component.d.ts +2 -1
  228. package/result/result.component.d.ts +9 -10
  229. package/schematics/version.d.ts +1 -1
  230. package/schematics/version.js +1 -1
  231. package/segment/segment-item.component.d.ts +2 -1
  232. package/segment/segment.component.d.ts +2 -1
  233. package/select/custom-select/custom-select.component.d.ts +11 -10
  234. package/select/native-select/native-select.component.d.ts +2 -1
  235. package/shared/base-form-check.component.d.ts +3 -2
  236. package/shared/directives/thy-autofocus.directive.d.ts +3 -2
  237. package/shared/directives/thy-scroll.directive.d.ts +2 -1
  238. package/shared/directives/thy-show.d.ts +2 -1
  239. package/shared/option/group/option-group.component.d.ts +2 -1
  240. package/shared/option/list-option/list-option.component.d.ts +2 -7
  241. package/shared/option/option.component.d.ts +2 -1
  242. package/shared/select/select-control/select-control.component.d.ts +7 -6
  243. package/skeleton/skeleton-circle.component.d.ts +16 -19
  244. package/skeleton/skeleton-rectangle.component.d.ts +20 -23
  245. package/skeleton/skeleton.component.d.ts +5 -6
  246. package/skeleton/stylized/bullet-list.component.d.ts +11 -13
  247. package/skeleton/stylized/list.component.d.ts +10 -12
  248. package/skeleton/stylized/paragraph.component.d.ts +12 -14
  249. package/slide/slide-body/slide-body-section.component.d.ts +2 -1
  250. package/slider/slider.component.d.ts +17 -24
  251. package/space/space.component.d.ts +8 -8
  252. package/statistic/statistic.component.d.ts +35 -40
  253. package/stepper/step-header.component.d.ts +6 -10
  254. package/stepper/step.component.d.ts +6 -6
  255. package/stepper/stepper.component.d.ts +15 -20
  256. package/switch/switch.component.d.ts +24 -35
  257. package/table/table-column.component.d.ts +6 -5
  258. package/table/table-skeleton.component.d.ts +3 -10
  259. package/table/table.component.d.ts +11 -10
  260. package/tabs/tab-content.component.d.ts +4 -4
  261. package/tabs/tab.component.d.ts +4 -5
  262. package/tabs/tabs.component.d.ts +13 -15
  263. package/tag/tag.component.d.ts +10 -16
  264. package/time-picker/time-picker-panel.component.d.ts +3 -2
  265. package/time-picker/time-picker.component.d.ts +6 -5
  266. package/timeline/timeline-item.component.d.ts +9 -13
  267. package/timeline/timeline.component.d.ts +13 -17
  268. package/tooltip/tooltip.directive.d.ts +3 -2
  269. package/tree/tree-node.component.d.ts +6 -15
  270. package/tree/tree.component.d.ts +8 -7
  271. package/tree-select/tree-select.component.d.ts +8 -7
  272. package/typography/bg-color.directive.d.ts +3 -3
  273. package/typography/text/text.component.d.ts +2 -2
  274. package/typography/text-color.directive.d.ts +3 -3
  275. package/upload/file-drop.directive.d.ts +9 -11
  276. package/upload/file-select-base.d.ts +6 -10
  277. package/upload/file-select.component.d.ts +10 -20
  278. package/util/helpers/helpers.d.ts +2 -1
  279. package/vote/vote.component.d.ts +4 -3
  280. package/watermark/watermark.directive.d.ts +7 -9
@@ -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
  }
@@ -1,5 +1,6 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
+ import * as i1 from "ngx-tethys/util";
3
4
  /**
4
5
  * @name thy-slide-body-section
5
6
  * @order 50
@@ -15,5 +16,5 @@ export declare class ThySlideBodySection implements OnInit {
15
16
  ngOnInit(): void;
16
17
  static ɵfac: i0.ɵɵFactoryDeclaration<ThySlideBodySection, never>;
17
18
  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;
19
+ static ngAcceptInputType_thyDividerBorder: i1.ThyBooleanInput;
19
20
  }
@@ -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 { AfterContentInit, OnInit, TemplateRef } from '@angular/core';
2
2
  import { ThySpacingSize } from 'ngx-tethys/core';
3
3
  import * as i0 from "@angular/core";
4
4
  /**
@@ -20,25 +20,25 @@ export declare class ThySpaceItemDirective implements OnInit {
20
20
  export declare class ThySpace implements OnInit, AfterContentInit {
21
21
  private cdr;
22
22
  private readonly destroyRef;
23
- space: number;
24
23
  private hostRenderer;
25
24
  /**
26
25
  * 大小,支持 `zero` | `xxs` | `xs` | `sm` | `md` | `lg` | `xlg` 和自定义数字大小
27
26
  * @type string | number
28
27
  */
29
- set thySize(size: ThySpacingSize);
28
+ readonly thySize: import("@angular/core").InputSignal<ThySpacingSize>;
29
+ space: import("@angular/core").Signal<number>;
30
30
  /**
31
31
  * 间距垂直方向,默认是水平方向
32
32
  */
33
- thyVertical: boolean;
33
+ readonly thyVertical: import("@angular/core").InputSignalWithTransform<string | boolean, boolean>;
34
34
  /**
35
35
  * 对齐方式,可选择 `start` | `end` | `baseline` | `center`
36
36
  */
37
- set thyAlign(align: string);
38
- items: QueryList<TemplateRef<HTMLElement>>;
37
+ readonly thyAlign: import("@angular/core").InputSignal<string>;
38
+ items: import("@angular/core").Signal<readonly TemplateRef<any>[]>;
39
+ constructor();
39
40
  ngOnInit(): void;
40
41
  ngAfterContentInit(): void;
41
42
  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;
43
+ 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
44
  }
@@ -1,4 +1,4 @@
1
- import { OnInit, TemplateRef } from '@angular/core';
1
+ import { TemplateRef } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export type ThyStatisticColorType = 'primary' | 'success' | 'warning' | 'danger' | 'info';
4
4
  export type ThyStatisticShape = 'card';
@@ -8,109 +8,104 @@ export type ThyStatisticTitlePosition = 'top' | 'bottom';
8
8
  * 用于展示数据统计
9
9
  * @name thy-statistic
10
10
  */
11
- export declare class ThyStatistic implements OnInit {
12
- private elementRef;
13
- _shape: ThyStatisticShape;
14
- _initialized: boolean;
15
- _size: ThyStatisticSizes;
16
- prefixTemplate: TemplateRef<void>;
17
- suffixTemplate: TemplateRef<void>;
18
- valueTemplate: TemplateRef<void>;
19
- titleTemplate: TemplateRef<void>;
20
- private hostRenderer;
21
- class: boolean;
11
+ export declare class ThyStatistic {
22
12
  /**
23
13
  * @description 展示数据
24
14
  * @type number | string
25
15
  */
26
- thyValue: number | string;
16
+ readonly thyValue: import("@angular/core").InputSignal<string | number>;
27
17
  /**
28
18
  * @description 展示数据的 css 样式
29
19
  * @type { [key: string]: string; }
30
20
  */
31
- thyValueStyle: {
21
+ readonly thyValueStyle: import("@angular/core").InputSignal<{
32
22
  [key: string]: string;
33
- };
23
+ }>;
34
24
  /**
35
25
  * @description 展示数据的前缀
36
26
  * @type string
37
27
  */
38
- thyPrefix: string;
28
+ readonly thyPrefix: import("@angular/core").InputSignal<string>;
39
29
  /**
40
30
  * @description 展示数据的后缀
41
31
  * @type string
42
32
  */
43
- thySuffix: string;
33
+ readonly thySuffix: import("@angular/core").InputSignal<string>;
44
34
  /**
45
35
  * @description 展示数据的标题
46
36
  * @type string
47
37
  */
48
- thyTitle: string;
38
+ readonly thyTitle: import("@angular/core").InputSignal<string>;
49
39
  /**
50
40
  * @description 展示数据标题的位置,可设置 `top`|`bottom`
51
41
  * @type ThyStatisticTitlePosition
52
42
  */
53
- thyTitlePosition: ThyStatisticTitlePosition;
43
+ readonly thyTitlePosition: import("@angular/core").InputSignal<ThyStatisticTitlePosition>;
54
44
  /**
55
45
  * @description 展示形状
56
46
  * @type ThyStatisticShape
57
47
  * @default card
58
48
  */
59
- set thyShape(value: ThyStatisticShape);
49
+ readonly thyShape: import("@angular/core").InputSignal<"card">;
60
50
  /**
61
51
  * @description 主题颜色,可以使用提供的主题色,也可以自定义颜色。 `ThyStatisticColorType` 中包含 `primary` | `success` | `warning` | `danger` | `info`
62
52
  * @type ThyStatisticColorType | string
63
53
  */
64
- thyColor: string | ThyStatisticColorType;
54
+ readonly thyColor: import("@angular/core").InputSignal<string>;
65
55
  /**
66
56
  * @description 前缀和展示数据字体大小
67
57
  * @type ThyStatisticSizes
68
58
  * @default default
69
59
  */
70
- set thySize(value: ThyStatisticSizes);
60
+ readonly thySize: import("@angular/core").InputSignal<"default">;
71
61
  /**
72
62
  * @description 自定义展示数据模板
73
63
  * @type TemplateRef<void>
74
64
  */
75
- set thyValueTemplate(value: TemplateRef<void>);
65
+ readonly thyValueTemplate: import("@angular/core").InputSignal<TemplateRef<void>>;
76
66
  /**
77
- * @description 自定义展示数据模板
67
+ * @description 自定义标题模板
78
68
  * @type TemplateRef<void>
79
69
  */
80
- set value(value: TemplateRef<void>);
70
+ readonly thyTitleTemplate: import("@angular/core").InputSignal<TemplateRef<void>>;
81
71
  /**
82
- * @description 自定义标题模板
72
+ * @description 自定义前缀模板
83
73
  * @type TemplateRef<void>
84
74
  */
85
- set thyTitleTemplate(value: TemplateRef<void>);
75
+ readonly thyPrefixTemplate: import("@angular/core").InputSignal<TemplateRef<void>>;
86
76
  /**
87
- * @description 自定义标题模板
77
+ * @description 自定义后缀模板
88
78
  * @type TemplateRef<void>
89
79
  */
90
- set title(value: TemplateRef<void>);
80
+ readonly thySuffixTemplate: import("@angular/core").InputSignal<TemplateRef<void>>;
91
81
  /**
92
- * @description 自定义前缀模板
82
+ * @description 自定义展示数据模板
93
83
  * @type TemplateRef<void>
94
84
  */
95
- set thyPrefixTemplate(value: TemplateRef<void>);
85
+ readonly contentValueTemplate: import("@angular/core").Signal<TemplateRef<void>>;
96
86
  /**
97
- * @description 自定义前缀模板
87
+ * @description 自定义标题模板
98
88
  * @type TemplateRef<void>
99
89
  */
100
- set prefix(value: TemplateRef<void>);
90
+ readonly contentTitleTemplate: import("@angular/core").Signal<TemplateRef<void>>;
101
91
  /**
102
- * @description 自定义后缀模板
92
+ * @description 自定义前缀模板
103
93
  * @type TemplateRef<void>
104
94
  */
105
- set thySuffixTemplate(value: TemplateRef<void>);
95
+ readonly contentPrefixTemplate: import("@angular/core").Signal<TemplateRef<void>>;
106
96
  /**
107
97
  * @description 自定义后缀模板
108
98
  * @type TemplateRef<void>
109
99
  */
110
- set suffix(value: TemplateRef<void>);
111
- ngOnInit(): void;
112
- setColor(color: string): void;
113
- _setClassesByType(): void;
100
+ readonly contentSuffixTemplate: import("@angular/core").Signal<TemplateRef<void>>;
101
+ readonly valueTemplate: import("@angular/core").Signal<TemplateRef<void>>;
102
+ readonly titleTemplate: import("@angular/core").Signal<TemplateRef<void>>;
103
+ readonly prefixTemplate: import("@angular/core").Signal<TemplateRef<void>>;
104
+ readonly suffixTemplate: import("@angular/core").Signal<TemplateRef<void>>;
105
+ private hostRenderer;
106
+ constructor();
107
+ private setClassesByType;
108
+ private setColor;
114
109
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyStatistic, never>;
115
- static ɵcmp: i0.ɵɵComponentDeclaration<ThyStatistic, "thy-statistic", never, { "thyValue": { "alias": "thyValue"; "required": false; }; "thyValueStyle": { "alias": "thyValueStyle"; "required": false; }; "thyPrefix": { "alias": "thyPrefix"; "required": false; }; "thySuffix": { "alias": "thySuffix"; "required": false; }; "thyTitle": { "alias": "thyTitle"; "required": false; }; "thyTitlePosition": { "alias": "thyTitlePosition"; "required": false; }; "thyShape": { "alias": "thyShape"; "required": false; }; "thyColor": { "alias": "thyColor"; "required": false; }; "thySize": { "alias": "thySize"; "required": false; }; "thyValueTemplate": { "alias": "thyValueTemplate"; "required": false; }; "thyTitleTemplate": { "alias": "thyTitleTemplate"; "required": false; }; "thyPrefixTemplate": { "alias": "thyPrefixTemplate"; "required": false; }; "thySuffixTemplate": { "alias": "thySuffixTemplate"; "required": false; }; }, {}, ["value", "title", "prefix", "suffix"], never, true, never>;
110
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThyStatistic, "thy-statistic", never, { "thyValue": { "alias": "thyValue"; "required": false; "isSignal": true; }; "thyValueStyle": { "alias": "thyValueStyle"; "required": false; "isSignal": true; }; "thyPrefix": { "alias": "thyPrefix"; "required": false; "isSignal": true; }; "thySuffix": { "alias": "thySuffix"; "required": false; "isSignal": true; }; "thyTitle": { "alias": "thyTitle"; "required": false; "isSignal": true; }; "thyTitlePosition": { "alias": "thyTitlePosition"; "required": false; "isSignal": true; }; "thyShape": { "alias": "thyShape"; "required": false; "isSignal": true; }; "thyColor": { "alias": "thyColor"; "required": false; "isSignal": true; }; "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; "thyValueTemplate": { "alias": "thyValueTemplate"; "required": false; "isSignal": true; }; "thyTitleTemplate": { "alias": "thyTitleTemplate"; "required": false; "isSignal": true; }; "thyPrefixTemplate": { "alias": "thyPrefixTemplate"; "required": false; "isSignal": true; }; "thySuffixTemplate": { "alias": "thySuffixTemplate"; "required": false; "isSignal": true; }; }, {}, ["contentValueTemplate", "contentTitleTemplate", "contentPrefixTemplate", "contentSuffixTemplate"], never, true, never>;
116
111
  }
@@ -5,15 +5,11 @@ import * as i0 from "@angular/core";
5
5
  * @order 25
6
6
  */
7
7
  export declare class ThyStepHeader {
8
- label: string;
9
- icon: string;
10
- index: number;
11
- selected: boolean;
12
- active: boolean;
13
- thyStepHeader: boolean;
8
+ readonly label: import("@angular/core").InputSignal<string>;
9
+ readonly icon: import("@angular/core").InputSignal<string>;
10
+ readonly index: import("@angular/core").InputSignalWithTransform<number, unknown>;
11
+ readonly selected: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
12
+ readonly active: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
14
13
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyStepHeader, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<ThyStepHeader, "thy-step-header", never, { "label": { "alias": "label"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "index": { "alias": "index"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "active": { "alias": "active"; "required": false; }; }, {}, never, never, true, never>;
16
- static ngAcceptInputType_index: unknown;
17
- static ngAcceptInputType_selected: boolean | string | number;
18
- static ngAcceptInputType_active: boolean | string | number;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThyStepHeader, "thy-step-header", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "index": { "alias": "index"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "active": { "alias": "active"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
19
15
  }
@@ -1,7 +1,7 @@
1
1
  import { InjectionToken, TemplateRef } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export interface IThyStepperComponent {
4
- selected: ThyStep;
4
+ updateSelected(step: ThyStep): void;
5
5
  }
6
6
  export declare const THY_STEPPER_COMPONENT: InjectionToken<IThyStepperComponent>;
7
7
  /**
@@ -11,18 +11,18 @@ export declare const THY_STEPPER_COMPONENT: InjectionToken<IThyStepperComponent>
11
11
  */
12
12
  export declare class ThyStep {
13
13
  stepper: IThyStepperComponent;
14
- content: TemplateRef<any>;
15
- label: string;
14
+ readonly content: import("@angular/core").Signal<TemplateRef<any>>;
15
+ readonly label: import("@angular/core").InputSignal<string>;
16
16
  /**
17
17
  * 步骤条中每个步骤的label文本
18
18
  */
19
- thyLabel: string;
19
+ readonly thyLabel: import("@angular/core").InputSignal<string>;
20
20
  /**
21
21
  * 步骤条中每个步骤完成的图标
22
22
  * @default check-circle
23
23
  */
24
- thyIcon: string;
24
+ readonly thyIcon: import("@angular/core").InputSignal<string>;
25
25
  select(): void;
26
26
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyStep, never>;
27
- static ɵcmp: i0.ɵɵComponentDeclaration<ThyStep, "thy-step", never, { "label": { "alias": "label"; "required": false; }; "thyLabel": { "alias": "thyLabel"; "required": false; }; "thyIcon": { "alias": "thyIcon"; "required": false; }; }, {}, never, ["*"], true, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThyStep, "thy-step", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "thyLabel": { "alias": "thyLabel"; "required": false; "isSignal": true; }; "thyIcon": { "alias": "thyIcon"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
28
28
  }
@@ -1,6 +1,4 @@
1
- import { QueryList, EventEmitter } from '@angular/core';
2
1
  import { ThyStep, IThyStepperComponent } from './step.component';
3
- import { ThyStepHeader } from './step-header.component';
4
2
  import * as i0 from "@angular/core";
5
3
  /**
6
4
  * 步骤条组件
@@ -9,31 +7,28 @@ import * as i0 from "@angular/core";
9
7
  */
10
8
  export declare class ThyStepper implements IThyStepperComponent {
11
9
  /**
12
- * 当前处于激活状态的步骤index
13
- * @default 0
10
+ * 当前处于激活状态的步骤 index
14
11
  */
15
- set thySelectedIndex(value: number);
16
- set thySelected(value: ThyStep);
12
+ readonly thySelectedIndex: import("@angular/core").InputSignalWithTransform<number, unknown>;
13
+ /**
14
+ * 当前处于激活状态的步骤实例
15
+ */
16
+ readonly thySelected: import("@angular/core").InputSignal<ThyStep>;
17
17
  /**
18
18
  * 步骤条导航是否展示,默认展示
19
19
  */
20
- thyShowStepHeader: boolean;
21
- private _selectedIndex;
22
- set selected(step: ThyStep);
23
- get selected(): ThyStep;
24
- set selectedIndex(index: number);
25
- get selectedIndex(): number;
26
- selectionChange: EventEmitter<any>;
27
- stepHeaders: QueryList<ThyStepHeader>;
28
- steps: QueryList<ThyStep>;
29
- thyStepper: boolean;
30
- private _updateSelectedItemIndex;
20
+ readonly thyShowStepHeader: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
21
+ readonly selectionChange: import("@angular/core").OutputEmitterRef<any>;
22
+ readonly steps: import("@angular/core").Signal<readonly ThyStep[]>;
23
+ protected selectedIndex: import("@angular/core").WritableSignal<number>;
24
+ protected readonly selected: import("@angular/core").Signal<ThyStep>;
25
+ constructor();
26
+ private updateSelectedIndex;
27
+ updateSelected(step: ThyStep): void;
31
28
  to(index: number): void;
32
29
  next(): void;
33
30
  /** Selects and focuses the previous step in list. */
34
31
  previous(): void;
35
32
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyStepper, never>;
36
- static ɵcmp: i0.ɵɵComponentDeclaration<ThyStepper, "thy-stepper", never, { "thySelectedIndex": { "alias": "thySelectedIndex"; "required": false; }; "thySelected": { "alias": "thySelected"; "required": false; }; "thyShowStepHeader": { "alias": "thyShowStepHeader"; "required": false; }; }, { "selectionChange": "selectionChange"; }, ["steps"], never, true, never>;
37
- static ngAcceptInputType_thySelectedIndex: unknown;
38
- static ngAcceptInputType_thyShowStepHeader: boolean | string | number;
33
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThyStepper, "thy-stepper", never, { "thySelectedIndex": { "alias": "thySelectedIndex"; "required": false; "isSignal": true; }; "thySelected": { "alias": "thySelected"; "required": false; "isSignal": true; }; "thyShowStepHeader": { "alias": "thyShowStepHeader"; "required": false; "isSignal": true; }; }, { "selectionChange": "selectionChange"; }, ["steps"], never, true, never>;
39
34
  }
@@ -1,4 +1,4 @@
1
- import { ChangeDetectorRef, ElementRef, EventEmitter, OnInit } from '@angular/core';
1
+ import { ElementRef } 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";
@@ -7,64 +7,53 @@ import * as i0 from "@angular/core";
7
7
  * @name thy-switch
8
8
  * @order 10
9
9
  */
10
- export declare class ThySwitch extends TabIndexDisabledControlValueAccessorMixin implements OnInit, ControlValueAccessor {
11
- cdr: ChangeDetectorRef;
12
- model: boolean;
13
- type?: string;
14
- size?: string;
15
- disabled?: boolean;
16
- loading: boolean;
17
- classNames: string[];
18
- typeArray: string[];
19
- sizeArray: string[];
20
- loadingCircle: {
21
- viewBox?: string;
22
- cx?: number;
23
- cy?: number;
24
- r?: number;
25
- dasharray?: string;
26
- };
27
- private initialized;
28
- private loadingInitialized;
29
- private isDisabledFirstChange;
30
- switchElementRef: ElementRef;
10
+ export declare class ThySwitch extends TabIndexDisabledControlValueAccessorMixin implements ControlValueAccessor {
31
11
  /**
32
12
  * 类型,目前分为: 'primary' |'info' | 'warning' | 'danger'
33
13
  */
34
- set thyType(value: string);
14
+ readonly thyType: import("@angular/core").InputSignal<string>;
35
15
  /**
36
16
  * 大小
37
17
  * @type xs | sm | md
38
18
  * @default md
39
19
  */
40
- set thySize(value: string);
20
+ readonly thySize: import("@angular/core").InputSignal<string>;
41
21
  /**
42
22
  * 是否属于禁用状态
43
23
  */
44
- set thyDisabled(value: boolean);
45
- get thyDisabled(): boolean;
24
+ readonly inputDisabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
46
25
  /**
47
26
  * 是否加载中
48
27
  */
49
- set thyLoading(value: boolean);
28
+ readonly thyLoading: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
50
29
  /**
51
30
  * 数据变化的回调事件,即将被弃用,请使用 ngModelChange
52
31
  * @deprecated
53
32
  */
54
- thyChange: EventEmitter<Event>;
55
- constructor();
56
- ngOnInit(): void;
33
+ thyChange: import("@angular/core").OutputEmitterRef<Event>;
34
+ model: import("@angular/core").WritableSignal<boolean>;
35
+ disabled: import("@angular/core").WritableSignal<boolean>;
36
+ get thyDisabled(): boolean;
37
+ readonly type: import("@angular/core").Signal<string>;
38
+ readonly size: import("@angular/core").Signal<string>;
39
+ readonly classNames: import("@angular/core").Signal<string[]>;
40
+ readonly loadingCircle: import("@angular/core").Signal<{
41
+ viewBox: string;
42
+ cx: number;
43
+ cy: number;
44
+ r: number;
45
+ dasharray: string;
46
+ }>;
57
47
  onModelChange: Function;
58
48
  onModelTouched: Function;
49
+ readonly switchElementRef: import("@angular/core").Signal<ElementRef<HTMLElement>>;
50
+ private cdr;
51
+ constructor();
59
52
  writeValue(value: boolean): void;
60
53
  registerOnChange(fn: Function): void;
61
54
  registerOnTouched(fn: Function): void;
62
55
  setDisabledState(isDisabled: boolean): void;
63
56
  toggle(event: Event): void;
64
- setClassNames(): void;
65
- setLoadingCircle(): void;
66
57
  static ɵfac: i0.ɵɵFactoryDeclaration<ThySwitch, never>;
67
- static ɵcmp: i0.ɵɵComponentDeclaration<ThySwitch, "thy-switch", never, { "thyType": { "alias": "thyType"; "required": false; }; "thySize": { "alias": "thySize"; "required": false; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; "thyLoading": { "alias": "thyLoading"; "required": false; }; }, { "thyChange": "thyChange"; }, never, never, true, never>;
68
- static ngAcceptInputType_thyDisabled: boolean | string | number;
69
- static ngAcceptInputType_thyLoading: boolean | string | number;
58
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThySwitch, "thy-switch", never, { "thyType": { "alias": "thyType"; "required": false; "isSignal": true; }; "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; "inputDisabled": { "alias": "thyDisabled"; "required": false; "isSignal": true; }; "thyLoading": { "alias": "thyLoading"; "required": false; "isSignal": true; }; }, { "thyChange": "thyChange"; }, never, never, true, never>;
70
59
  }
@@ -1,6 +1,7 @@
1
1
  import { EventEmitter, InjectionToken, OnInit, TemplateRef } from '@angular/core';
2
2
  import { ThyTableSortDirection, ThyTableSortEvent } from './table.interface';
3
3
  import * as i0 from "@angular/core";
4
+ import * as i1 from "ngx-tethys/util";
4
5
  export interface IThyTableColumnParentComponent {
5
6
  rowKey: string;
6
7
  updateColumnSelections(key: string, selections: any): void;
@@ -112,9 +113,9 @@ export declare class ThyTableColumnComponent implements OnInit {
112
113
  private _generateKey;
113
114
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyTableColumnComponent, never>;
114
115
  static ɵcmp: i0.ɵɵComponentDeclaration<ThyTableColumnComponent, "thy-table-column", never, { "model": { "alias": "thyModelKey"; "required": false; }; "title": { "alias": "thyTitle"; "required": false; }; "type": { "alias": "thyType"; "required": false; }; "thyWidth": { "alias": "thyWidth"; "required": false; }; "thyMinWidth": { "alias": "thyMinWidth"; "required": false; }; "className": { "alias": "thyClassName"; "required": false; }; "headerClassName": { "alias": "thyHeaderClassName"; "required": false; }; "disabled": { "alias": "thyDisabled"; "required": false; }; "selections": { "alias": "thySelections"; "required": false; }; "defaultText": { "alias": "thyDefaultText"; "required": false; }; "expand": { "alias": "thyExpand"; "required": false; }; "thySortable": { "alias": "thySortable"; "required": false; }; "sortDirection": { "alias": "thySortDirection"; "required": false; }; "fixed": { "alias": "thyFixed"; "required": false; }; "operational": { "alias": "thyOperational"; "required": false; }; "secondary": { "alias": "thySecondary"; "required": false; }; }, { "sortChange": "thySortChange"; }, ["headerTemplateRef", "cellTemplateRef", "templateRef"], ["*"], true, never>;
115
- static ngAcceptInputType_disabled: boolean | string | number;
116
- static ngAcceptInputType_expand: boolean | string | number;
117
- static ngAcceptInputType_thySortable: boolean | string | number;
118
- static ngAcceptInputType_operational: boolean | string | number;
119
- static ngAcceptInputType_secondary: boolean | string | number;
116
+ static ngAcceptInputType_disabled: i1.ThyBooleanInput;
117
+ static ngAcceptInputType_expand: i1.ThyBooleanInput;
118
+ static ngAcceptInputType_thySortable: i1.ThyBooleanInput;
119
+ static ngAcceptInputType_operational: i1.ThyBooleanInput;
120
+ static ngAcceptInputType_secondary: i1.ThyBooleanInput;
120
121
  }
@@ -3,6 +3,7 @@ import { ThyTableSkeletonColumn } from './table.interface';
3
3
  import { ThyTableColumnSkeletonType } from './enums';
4
4
  import { ThyTableSize, ThyTableTheme } from './table.type';
5
5
  import * as i0 from "@angular/core";
6
+ import * as i1 from "ngx-tethys/util";
6
7
  /**
7
8
  * 表格的骨架屏组件
8
9
  * @name thy-table-skeleton
@@ -87,14 +88,6 @@ export declare class ThyTableSkeleton implements AfterViewInit {
87
88
  ngAfterViewInit(): void;
88
89
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyTableSkeleton, never>;
89
90
  static ɵcmp: i0.ɵɵComponentDeclaration<ThyTableSkeleton, "thy-table-skeleton", never, { "thyBorderRadius": { "alias": "thyBorderRadius"; "required": false; }; "thyRowHeight": { "alias": "thyRowHeight"; "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; }; "thyHeadless": { "alias": "thyHeadless"; "required": false; }; "thyTheme": { "alias": "thyTheme"; "required": false; }; "thySize": { "alias": "thySize"; "required": false; }; "thyMinWidth": { "alias": "thyMinWidth"; "required": false; }; "thyColumns": { "alias": "thyColumns"; "required": false; }; }, {}, never, never, true, never>;
90
- static ngAcceptInputType_thyAnimated: boolean |
91
- /**
92
- * 行数
93
- */
94
- string | number;
95
- static ngAcceptInputType_thyHeadless: boolean |
96
- /**
97
- * 行数
98
- */
99
- string | number;
91
+ static ngAcceptInputType_thyAnimated: i1.ThyBooleanInput;
92
+ static ngAcceptInputType_thyHeadless: i1.ThyBooleanInput;
100
93
  }