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
@@ -1,6 +1,7 @@
1
1
  import { OnChanges, SimpleChanges } from '@angular/core';
2
2
  import { ThyResizeDirection } from './interface';
3
3
  import * as i0 from "@angular/core";
4
+ import * as i1 from "ngx-tethys/util";
4
5
  export declare const DEFAULT_RESIZE_DIRECTION: ThyResizeDirection[];
5
6
  /**
6
7
  * 定义调整手柄的快捷组件
@@ -20,5 +21,5 @@ export declare class ThyResizeHandles implements OnChanges {
20
21
  ngOnChanges(changes: SimpleChanges): void;
21
22
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyResizeHandles, never>;
22
23
  static ɵcmp: i0.ɵɵComponentDeclaration<ThyResizeHandles, "thy-resize-handles", ["thyResizeHandles"], { "thyDirections": { "alias": "thyDirections"; "required": false; }; "thyLine": { "alias": "thyLine"; "required": false; }; }, {}, never, never, true, never>;
23
- static ngAcceptInputType_thyLine: boolean | string | number;
24
+ static ngAcceptInputType_thyLine: i1.ThyBooleanInput;
24
25
  }
@@ -10,46 +10,45 @@ export declare class ThyResult implements OnInit {
10
10
  * @description 结果的状态,决定显示的图标
11
11
  * @type success | warning | error
12
12
  */
13
- thyStatus: ThyResultStatus;
13
+ readonly thyStatus: import("@angular/core").InputSignal<ThyResultStatus>;
14
14
  /**
15
15
  * @description 自定义 icon,作为 img 的 src 显示
16
16
  * @type string
17
17
  */
18
- thyIcon: string;
18
+ readonly thyIcon: import("@angular/core").InputSignal<string>;
19
19
  /**
20
20
  * @description 标题
21
21
  * @type string
22
22
  */
23
- thyTitle: string;
23
+ readonly thyTitle: import("@angular/core").InputSignal<string>;
24
24
  /**
25
25
  * @description 二级标题
26
26
  * @type string
27
27
  */
28
- thySubtitle: string;
28
+ readonly thySubtitle: import("@angular/core").InputSignal<string>;
29
29
  /**
30
30
  * @description 自定义 icon 模板
31
31
  * @type TemplateRef<any>
32
32
  */
33
- iconTemplateRef: TemplateRef<any>;
33
+ protected readonly iconTemplateRef: import("@angular/core").Signal<TemplateRef<any>>;
34
34
  /**
35
35
  * @description 自定义标题模板
36
36
  * @type TemplateRef<any>
37
37
  */
38
- titleTemplateRef: TemplateRef<any>;
38
+ protected readonly titleTemplateRef: import("@angular/core").Signal<TemplateRef<any>>;
39
39
  /**
40
40
  * @description 自定义二级标题模板
41
41
  * @type TemplateRef<any>
42
42
  */
43
- subtitleTemplateRef: TemplateRef<any>;
43
+ protected readonly subtitleTemplateRef: import("@angular/core").Signal<TemplateRef<any>>;
44
44
  /**
45
45
  * @description 自定义操作区域
46
46
  * @type TemplateRef<any>
47
47
  */
48
- extraTemplateRef: TemplateRef<any>;
49
- className: boolean;
48
+ protected readonly extraTemplateRef: import("@angular/core").Signal<TemplateRef<any>>;
50
49
  constructor();
51
50
  ngOnInit(): void;
52
51
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyResult, never>;
53
- static ɵcmp: i0.ɵɵComponentDeclaration<ThyResult, "thy-result", never, { "thyStatus": { "alias": "thyStatus"; "required": false; }; "thyIcon": { "alias": "thyIcon"; "required": false; }; "thyTitle": { "alias": "thyTitle"; "required": false; }; "thySubtitle": { "alias": "thySubtitle"; "required": false; }; }, {}, ["iconTemplateRef", "titleTemplateRef", "subtitleTemplateRef", "extraTemplateRef"], never, true, never>;
52
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThyResult, "thy-result", never, { "thyStatus": { "alias": "thyStatus"; "required": false; "isSignal": true; }; "thyIcon": { "alias": "thyIcon"; "required": false; "isSignal": true; }; "thyTitle": { "alias": "thyTitle"; "required": false; "isSignal": true; }; "thySubtitle": { "alias": "thySubtitle"; "required": false; "isSignal": true; }; }, {}, ["iconTemplateRef", "titleTemplateRef", "subtitleTemplateRef", "extraTemplateRef"], never, true, never>;
54
53
  }
55
54
  export {};
@@ -1 +1 @@
1
- export declare const VERSION = "19.0.13";
1
+ export declare const VERSION = "19.1.0-next.0";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '19.0.13';
4
+ exports.VERSION = '19.1.0-next.0';
@@ -2,6 +2,7 @@ import { AfterViewInit, ElementRef, OnDestroy } from '@angular/core';
2
2
  import { IThySegmentItemComponent } from './segment.token';
3
3
  import { SafeAny } from 'ngx-tethys/types';
4
4
  import * as i0 from "@angular/core";
5
+ import * as i1 from "ngx-tethys/util";
5
6
  /**
6
7
  * 分段控制器的选项组件
7
8
  * @name thy-segment-item,[thy-segment-item]
@@ -35,5 +36,5 @@ export declare class ThySegmentItem implements IThySegmentItemComponent, AfterVi
35
36
  ngOnDestroy(): void;
36
37
  static ɵfac: i0.ɵɵFactoryDeclaration<ThySegmentItem, never>;
37
38
  static ɵcmp: i0.ɵɵComponentDeclaration<ThySegmentItem, "thy-segment-item,[thy-segment-item]", never, { "thyValue": { "alias": "thyValue"; "required": false; }; "thyIcon": { "alias": "thyIcon"; "required": false; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; }, {}, never, ["*"], true, never>;
38
- static ngAcceptInputType_thyDisabled: boolean | string | number;
39
+ static ngAcceptInputType_thyDisabled: i1.ThyBooleanInput;
39
40
  }
@@ -5,6 +5,7 @@ import { IThySegmentComponent } from './segment.token';
5
5
  import { ThySegmentEvent } from './types';
6
6
  import { AnimationEvent } from '@angular/animations';
7
7
  import * as i0 from "@angular/core";
8
+ import * as i1 from "ngx-tethys/util";
8
9
  export type ThySegmentSize = 'xs' | 'sm' | 'md' | 'default';
9
10
  export type ThySegmentMode = 'block' | 'inline';
10
11
  /**
@@ -53,6 +54,6 @@ export declare class ThySegment implements IThySegmentComponent, AfterContentIni
53
54
  handleThumbAnimationDone(event: AnimationEvent): void;
54
55
  static ɵfac: i0.ɵɵFactoryDeclaration<ThySegment, never>;
55
56
  static ɵcmp: i0.ɵɵComponentDeclaration<ThySegment, "thy-segment", ["thySegment"], { "thySize": { "alias": "thySize"; "required": false; }; "thyMode": { "alias": "thyMode"; "required": false; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; "thyActiveIndex": { "alias": "thyActiveIndex"; "required": false; }; }, { "thySelectChange": "thySelectChange"; }, ["options"], ["*"], true, never>;
56
- static ngAcceptInputType_thyDisabled: boolean | string | number;
57
+ static ngAcceptInputType_thyDisabled: i1.ThyBooleanInput;
57
58
  static ngAcceptInputType_thyActiveIndex: unknown;
58
59
  }
@@ -9,6 +9,7 @@ import { AfterContentInit, AfterViewInit, ElementRef, EventEmitter, OnDestroy, O
9
9
  import { ControlValueAccessor } from '@angular/forms';
10
10
  import { ThyDropdownWidthMode, ThySelectConfig } from '../select.config';
11
11
  import * as i0 from "@angular/core";
12
+ import * as i1 from "ngx-tethys/util";
12
13
  export type SelectMode = 'multiple' | '';
13
14
  export type ThySelectTriggerType = 'click' | 'hover';
14
15
  export declare const SELECT_PANEL_MAX_HEIGHT = 300;
@@ -278,16 +279,16 @@ export declare class ThySelect extends TabIndexDisabledControlValueAccessorMixin
278
279
  ngOnDestroy(): void;
279
280
  static ɵfac: i0.ɵɵFactoryDeclaration<ThySelect, never>;
280
281
  static ɵcmp: i0.ɵɵComponentDeclaration<ThySelect, "thy-select,thy-custom-select", ["thySelect"], { "thyDropdownWidthMode": { "alias": "thyDropdownWidthMode"; "required": false; }; "thyShowSearch": { "alias": "thyShowSearch"; "required": false; }; "thyPlaceHolder": { "alias": "thyPlaceHolder"; "required": false; }; "thyServerSearch": { "alias": "thyServerSearch"; "required": false; }; "thyLoadState": { "alias": "thyLoadState"; "required": false; }; "thyAutoActiveFirstItem": { "alias": "thyAutoActiveFirstItem"; "required": false; }; "thyMode": { "alias": "thyMode"; "required": false; }; "thySize": { "alias": "thySize"; "required": false; }; "thyEmptyStateText": { "alias": "thyEmptyStateText"; "required": false; }; "thyEmptySearchMessageText": { "alias": "thyEmptySearchMessageText"; "required": false; }; "thyEnableScrollLoad": { "alias": "thyEnableScrollLoad"; "required": false; }; "thyAllowClear": { "alias": "thyAllowClear"; "required": false; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; "thySortComparator": { "alias": "thySortComparator"; "required": false; }; "thyFooterTemplate": { "alias": "thyFooterTemplate"; "required": false; }; "thyPlacement": { "alias": "thyPlacement"; "required": false; }; "thyOrigin": { "alias": "thyOrigin"; "required": false; }; "thyFooterClass": { "alias": "thyFooterClass"; "required": false; }; "thyAutoExpand": { "alias": "thyAutoExpand"; "required": false; }; "thyHasBackdrop": { "alias": "thyHasBackdrop"; "required": false; }; "thyMaxTagCount": { "alias": "thyMaxTagCount"; "required": false; }; "thyBorderless": { "alias": "thyBorderless"; "required": false; }; "thyOptions": { "alias": "thyOptions"; "required": false; }; "thyPreset": { "alias": "thyPreset"; "required": false; }; }, { "thyOnSearch": "thyOnSearch"; "thyOnScrollToBottom": "thyOnScrollToBottom"; "thyOnExpandStatusChange": "thyOnExpandStatusChange"; }, ["selectedValueDisplayRef", "contentOptions", "contentGroups"], ["*"], true, never>;
281
- static ngAcceptInputType_thyShowSearch: boolean | string | number;
282
- static ngAcceptInputType_thyServerSearch: boolean | string | number;
283
- static ngAcceptInputType_thyLoadState: boolean | string | number;
284
- static ngAcceptInputType_thyAutoActiveFirstItem: boolean | string | number;
285
- static ngAcceptInputType_thyEnableScrollLoad: boolean | string | number;
286
- static ngAcceptInputType_thyAllowClear: boolean | string | number;
287
- static ngAcceptInputType_thyDisabled: boolean | string | number;
288
- static ngAcceptInputType_thyAutoExpand: boolean | string | number;
289
- static ngAcceptInputType_thyHasBackdrop: boolean | string | number;
282
+ static ngAcceptInputType_thyShowSearch: i1.ThyBooleanInput;
283
+ static ngAcceptInputType_thyServerSearch: i1.ThyBooleanInput;
284
+ static ngAcceptInputType_thyLoadState: i1.ThyBooleanInput;
285
+ static ngAcceptInputType_thyAutoActiveFirstItem: i1.ThyBooleanInput;
286
+ static ngAcceptInputType_thyEnableScrollLoad: i1.ThyBooleanInput;
287
+ static ngAcceptInputType_thyAllowClear: i1.ThyBooleanInput;
288
+ static ngAcceptInputType_thyDisabled: i1.ThyBooleanInput;
289
+ static ngAcceptInputType_thyAutoExpand: i1.ThyBooleanInput;
290
+ static ngAcceptInputType_thyHasBackdrop: i1.ThyBooleanInput;
290
291
  static ngAcceptInputType_thyMaxTagCount: unknown;
291
- static ngAcceptInputType_thyBorderless: boolean | string | number;
292
+ static ngAcceptInputType_thyBorderless: i1.ThyBooleanInput;
292
293
  }
293
294
  export {};
@@ -3,6 +3,7 @@ import { ControlValueAccessor } from '@angular/forms';
3
3
  import { TabIndexDisabledControlValueAccessorMixin } from 'ngx-tethys/core';
4
4
  import { ElementRef } from '@angular/core';
5
5
  import * as i0 from "@angular/core";
6
+ import * as i1 from "ngx-tethys/util";
6
7
  export type InputSize = 'xs' | 'sm' | 'md' | 'lg' | '';
7
8
  /**
8
9
  * 下拉选择
@@ -31,5 +32,5 @@ export declare class ThyNativeSelect extends TabIndexDisabledControlValueAccesso
31
32
  clearSelectValue(event: Event): void;
32
33
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyNativeSelect, never>;
33
34
  static ɵcmp: i0.ɵɵComponentDeclaration<ThyNativeSelect, "thy-native-select", never, { "thySize": { "alias": "thySize"; "required": false; }; "name": { "alias": "name"; "required": false; }; "thyAllowClear": { "alias": "thyAllowClear"; "required": false; }; }, {}, never, ["*"], true, never>;
34
- static ngAcceptInputType_thyAllowClear: boolean | string | number;
35
+ static ngAcceptInputType_thyAllowClear: i1.ThyBooleanInput;
35
36
  }
@@ -2,6 +2,7 @@ import { ControlValueAccessor } from '@angular/forms';
2
2
  import { ChangeDetectorRef } from '@angular/core';
3
3
  import { ThyTranslate, TabIndexDisabledControlValueAccessorMixin } from 'ngx-tethys/core';
4
4
  import * as i0 from "@angular/core";
5
+ import * as i1 from "ngx-tethys/util";
5
6
  /**
6
7
  * @private
7
8
  */
@@ -47,6 +48,6 @@ export declare class ThyFormCheckBaseComponent extends TabIndexDisabledControlVa
47
48
  markForCheck(): void;
48
49
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyFormCheckBaseComponent, never>;
49
50
  static ɵdir: i0.ɵɵDirectiveDeclaration<ThyFormCheckBaseComponent, never, never, { "thyInline": { "alias": "thyInline"; "required": false; }; "thyLabelText": { "alias": "thyLabelText"; "required": false; }; "thyLabelTextTranslateKey": { "alias": "thyLabelTextTranslateKey"; "required": false; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; }, {}, never, never, true, never>;
50
- static ngAcceptInputType_thyInline: boolean | string | number;
51
- static ngAcceptInputType_thyDisabled: boolean | string | number;
51
+ static ngAcceptInputType_thyInline: i1.ThyBooleanInput;
52
+ static ngAcceptInputType_thyDisabled: i1.ThyBooleanInput;
52
53
  }
@@ -1,4 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
+ import * as i1 from "ngx-tethys/util";
2
3
  /**
3
4
  * 自动聚焦指令
4
5
  * @name input[thyAutofocus],textarea[thyAutofocus]
@@ -19,6 +20,6 @@ export declare class ThyAutofocusDirective {
19
20
  set thyAutoSelect(value: boolean);
20
21
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyAutofocusDirective, never>;
21
22
  static ɵdir: i0.ɵɵDirectiveDeclaration<ThyAutofocusDirective, "input[thyAutofocus],textarea[thyAutofocus]", never, { "thyAutofocus": { "alias": "thyAutofocus"; "required": false; }; "thyAutoSelect": { "alias": "thyAutoSelect"; "required": false; }; }, {}, never, never, true, never>;
22
- static ngAcceptInputType_thyAutofocus: boolean | string | number;
23
- static ngAcceptInputType_thyAutoSelect: boolean | string | number;
23
+ static ngAcceptInputType_thyAutofocus: i1.ThyBooleanInput;
24
+ static ngAcceptInputType_thyAutoSelect: i1.ThyBooleanInput;
24
25
  }
@@ -1,5 +1,6 @@
1
1
  import { ElementRef, OnInit, OnDestroy, EventEmitter } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
+ import * as i1 from "ngx-tethys/util";
3
4
  /**
4
5
  * @name thyScroll
5
6
  */
@@ -37,5 +38,5 @@ export declare class ThyScrollDirective implements OnInit, OnDestroy {
37
38
  getElementRef(): ElementRef<HTMLElement>;
38
39
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyScrollDirective, never>;
39
40
  static ɵdir: i0.ɵɵDirectiveDeclaration<ThyScrollDirective, "[thyScroll]", never, { "thyEnable": { "alias": "thyEnable"; "required": false; }; }, { "thyOnScrolled": "thyOnScrolled"; }, never, never, true, never>;
40
- static ngAcceptInputType_thyEnable: boolean | string | number;
41
+ static ngAcceptInputType_thyEnable: i1.ThyBooleanInput;
41
42
  }
@@ -1,5 +1,6 @@
1
1
  import { EventEmitter, OnDestroy } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
+ import * as i1 from "ngx-tethys/util";
3
4
  /**
4
5
  * @name thyShow
5
6
  */
@@ -15,5 +16,5 @@ export declare class ThyShowDirective implements OnDestroy {
15
16
  ngOnDestroy(): void;
16
17
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyShowDirective, never>;
17
18
  static ɵdir: i0.ɵɵDirectiveDeclaration<ThyShowDirective, "[thyShow]", never, { "thyShow": { "alias": "thyShow"; "required": false; }; }, { "thyShowChange": "thyShowChange"; }, never, never, true, never>;
18
- static ngAcceptInputType_thyShow: boolean | string | number;
19
+ static ngAcceptInputType_thyShow: i1.ThyBooleanInput;
19
20
  }
@@ -2,6 +2,7 @@ import { QueryList, OnDestroy, AfterContentInit } from '@angular/core';
2
2
  import { Observable, Subject } from 'rxjs';
3
3
  import { ThyOptionVisibleChangeEvent, ThyOption } from '../option.component';
4
4
  import * as i0 from "@angular/core";
5
+ import * as i1 from "ngx-tethys/util";
5
6
  /**
6
7
  * @private
7
8
  */
@@ -21,5 +22,5 @@ export declare class ThySelectOptionGroup implements OnDestroy, AfterContentInit
21
22
  ngOnDestroy(): void;
22
23
  static ɵfac: i0.ɵɵFactoryDeclaration<ThySelectOptionGroup, never>;
23
24
  static ɵcmp: i0.ɵɵComponentDeclaration<ThySelectOptionGroup, "thy-option-group", never, { "thyDisabled": { "alias": "thyDisabled"; "required": false; }; "thyGroupLabel": { "alias": "thyGroupLabel"; "required": false; }; }, {}, ["options"], ["*"], true, never>;
24
- static ngAcceptInputType_thyDisabled: boolean | string | number;
25
+ static ngAcceptInputType_thyDisabled: i1.ThyBooleanInput;
25
26
  }
@@ -2,6 +2,7 @@ import { ElementRef } from '@angular/core';
2
2
  import { Highlightable } from '@angular/cdk/a11y';
3
3
  import { IThyOptionComponent } from '../option.token';
4
4
  import * as i0 from "@angular/core";
5
+ import * as i1 from "ngx-tethys/util";
5
6
  /**
6
7
  * @private
7
8
  * @order 30
@@ -31,11 +32,5 @@ export declare class ThyListOption implements IThyOptionComponent, Highlightable
31
32
  getLabel(): string;
32
33
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyListOption, never>;
33
34
  static ɵcmp: i0.ɵɵComponentDeclaration<ThyListOption, "thy-list-option,[thy-list-option]", never, { "id": { "alias": "id"; "required": false; }; "thyValue": { "alias": "thyValue"; "required": false; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; }, {}, never, ["*"], true, never>;
34
- static ngAcceptInputType_thyDisabled: boolean
35
- /** Allows for programmatic focusing of the option. */
36
- | // }
37
- /** Allows for programmatic focusing of the option. */
38
- string
39
- /** Allows for programmatic focusing of the option. */
40
- | /** Allows for programmatic focusing of the option. */ number;
35
+ static ngAcceptInputType_thyDisabled: i1.ThyBooleanInput;
41
36
  }
@@ -2,6 +2,7 @@ import { TemplateRef, ElementRef, EventEmitter, OnDestroy } from '@angular/core'
2
2
  import { Highlightable } from '@angular/cdk/a11y';
3
3
  import { SelectOptionBase } from './select-option-base';
4
4
  import * as i0 from "@angular/core";
5
+ import * as i1 from "ngx-tethys/util";
5
6
  export declare class ThyOptionSelectionChangeEvent {
6
7
  option: ThyOption;
7
8
  isUserInput: boolean;
@@ -53,5 +54,5 @@ export declare class ThyOption extends SelectOptionBase implements OnDestroy, Hi
53
54
  ngOnDestroy(): void;
54
55
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyOption, never>;
55
56
  static ɵcmp: i0.ɵɵComponentDeclaration<ThyOption, "thy-option", never, { "thyValue": { "alias": "thyValue"; "required": false; }; "thyRawValue": { "alias": "thyRawValue"; "required": false; }; "thyLabelText": { "alias": "thyLabelText"; "required": false; }; "thyShowOptionCustom": { "alias": "thyShowOptionCustom"; "required": false; }; "thySearchKey": { "alias": "thySearchKey"; "required": false; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; }, { "selectionChange": "selectionChange"; "visibleChange": "visibleChange"; }, never, ["*"], true, never>;
56
- static ngAcceptInputType_thyDisabled: boolean | string | number;
57
+ static ngAcceptInputType_thyDisabled: i1.ThyBooleanInput;
57
58
  }
@@ -2,6 +2,7 @@ import { ThyTagSize } from 'ngx-tethys/tag';
2
2
  import { ElementRef, EventEmitter, OnInit, TemplateRef } from '@angular/core';
3
3
  import { SelectOptionBase } from '../../option/select-option-base';
4
4
  import * as i0 from "@angular/core";
5
+ import * as i1 from "ngx-tethys/util";
5
6
  export type SelectControlSize = 'xs' | 'sm' | 'md' | 'lg' | '';
6
7
  /**
7
8
  * @private
@@ -69,11 +70,11 @@ export declare class ThySelectControl implements OnInit {
69
70
  onBlur(event: Event): void;
70
71
  static ɵfac: i0.ɵɵFactoryDeclaration<ThySelectControl, never>;
71
72
  static ɵcmp: i0.ɵɵComponentDeclaration<ThySelectControl, "thy-select-control,[thySelectControl]", never, { "thyPanelOpened": { "alias": "thyPanelOpened"; "required": false; }; "thyIsMultiple": { "alias": "thyIsMultiple"; "required": false; }; "thyShowSearch": { "alias": "thyShowSearch"; "required": false; }; "thySelectedOptions": { "alias": "thySelectedOptions"; "required": false; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; "customDisplayTemplate": { "alias": "customDisplayTemplate"; "required": false; }; "thyAllowClear": { "alias": "thyAllowClear"; "required": false; }; "thyPlaceholder": { "alias": "thyPlaceholder"; "required": false; }; "thySize": { "alias": "thySize"; "required": false; }; "thyMaxTagCount": { "alias": "thyMaxTagCount"; "required": false; }; "thyBorderless": { "alias": "thyBorderless"; "required": false; }; "thyPreset": { "alias": "thyPreset"; "required": false; }; }, { "thyOnSearch": "thyOnSearch"; "thyOnRemove": "thyOnRemove"; "thyOnClear": "thyOnClear"; "thyOnBlur": "thyOnBlur"; }, never, never, true, never>;
72
- static ngAcceptInputType_thyPanelOpened: boolean | string | number;
73
- static ngAcceptInputType_thyIsMultiple: boolean | string | number;
74
- static ngAcceptInputType_thyShowSearch: boolean | string | number;
75
- static ngAcceptInputType_thyDisabled: boolean | string | number;
76
- static ngAcceptInputType_thyAllowClear: boolean | string | number;
73
+ static ngAcceptInputType_thyPanelOpened: i1.ThyBooleanInput;
74
+ static ngAcceptInputType_thyIsMultiple: i1.ThyBooleanInput;
75
+ static ngAcceptInputType_thyShowSearch: i1.ThyBooleanInput;
76
+ static ngAcceptInputType_thyDisabled: i1.ThyBooleanInput;
77
+ static ngAcceptInputType_thyAllowClear: i1.ThyBooleanInput;
77
78
  static ngAcceptInputType_thyMaxTagCount: unknown;
78
- static ngAcceptInputType_thyBorderless: boolean | string | number;
79
+ static ngAcceptInputType_thyBorderless: i1.ThyBooleanInput;
79
80
  }
@@ -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
  }