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