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,4 +1,4 @@
1
- import { OnChanges, OnInit, QueryList, SimpleChanges, TemplateRef } from '@angular/core';
1
+ import { OnChanges, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
2
2
  import { ThyProgressGapPositionType, ThyProgressShapeType, ThyProgressStackedValue, ThyProgressType } from './interfaces';
3
3
  import { ThyParentProgress, ThyProgressStrip } from './progress-strip.component';
4
4
  import * as i0 from "@angular/core";
@@ -7,63 +7,55 @@ import * as i0 from "@angular/core";
7
7
  * @name thy-progress
8
8
  */
9
9
  export declare class ThyProgress implements ThyParentProgress, OnInit, OnChanges {
10
- value: number | ThyProgressStackedValue[];
11
- bars: ThyProgressStrip[];
12
- barsTotalValue: number;
13
- private settedMax;
14
10
  private hostRenderer;
15
- max: number;
16
- isStacked: boolean;
17
- set barsQueryList(value: QueryList<ThyProgressStrip>);
11
+ readonly barsTotalValue: import("@angular/core").Signal<number>;
12
+ readonly max: import("@angular/core").Signal<number>;
13
+ readonly isStacked: import("@angular/core").Signal<boolean>;
14
+ readonly bars: import("@angular/core").Signal<readonly ThyProgressStrip[]>;
18
15
  /**
19
16
  * 进度条类型: `primary` | `success` | `info` | `warning` | `danger`
20
17
  */
21
- thyType: ThyProgressType;
18
+ readonly thyType: import("@angular/core").InputSignal<ThyProgressType>;
22
19
  /**
23
20
  * 进度条大小
24
21
  * @type xs | sm | md
25
22
  * @default md
26
23
  */
27
- set thySize(size: string | number);
24
+ readonly thySize: import("@angular/core").InputSignal<string | number>;
28
25
  /**
29
26
  * 进度值,传入数字时显示百分比 = value / max * 100,当传入数组时显示多个 bar,stacked 模式的进度条
30
27
  * @type number | ThyProgressStackedValue[]
31
28
  */
32
- set thyValue(value: number | ThyProgressStackedValue[]);
29
+ readonly thyValue: import("@angular/core").InputSignalWithTransform<number | ThyProgressStackedValue[], number | ThyProgressStackedValue[]>;
33
30
  /**
34
31
  * 最大值,主要计算百分比进度的分母使用,当 thyValue 传入数组时,自动累加数组中的 value 之和为 max
35
32
  */
36
- set thyMax(max: number);
33
+ readonly thyMax: import("@angular/core").InputSignalWithTransform<number, unknown>;
37
34
  /**
38
35
  * 鼠标移入进度条时显示的提示文案或者模板
39
36
  */
40
- thyTips: string | TemplateRef<unknown>;
37
+ readonly thyTips: import("@angular/core").InputSignal<string | TemplateRef<unknown>>;
41
38
  /**
42
39
  * 进度形状
43
40
  * @type strip | circle
44
41
  */
45
- thyShape: ThyProgressShapeType;
42
+ readonly thyShape: import("@angular/core").InputSignal<ThyProgressShapeType>;
46
43
  /**
47
44
  * 圆形进度条缺口角度,可取值 0 ~ 360
48
45
  */
49
- thyGapDegree?: number;
46
+ readonly thyGapDegree: import("@angular/core").InputSignalWithTransform<number, unknown>;
50
47
  /**
51
48
  * 圆形进度条缺口位置
52
49
  * @type top | bottom | left | right
53
50
  */
54
- thyGapPosition: ThyProgressGapPositionType;
51
+ readonly thyGapPosition: import("@angular/core").InputSignal<ThyProgressGapPositionType>;
55
52
  /**
56
53
  * 圆形进度条线的宽度
57
54
  */
58
- thyStrokeWidth: number;
59
- size: string | number;
55
+ readonly thyStrokeWidth: import("@angular/core").InputSignalWithTransform<number, unknown>;
60
56
  constructor();
61
57
  ngOnInit(): void;
62
58
  ngOnChanges(changes: SimpleChanges): void;
63
- calculateMax(): void;
64
59
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyProgress, never>;
65
- static ɵcmp: i0.ɵɵComponentDeclaration<ThyProgress, "thy-progress", never, { "thyType": { "alias": "thyType"; "required": false; }; "thySize": { "alias": "thySize"; "required": false; }; "thyValue": { "alias": "thyValue"; "required": false; }; "thyMax": { "alias": "thyMax"; "required": false; }; "thyTips": { "alias": "thyTips"; "required": false; }; "thyShape": { "alias": "thyShape"; "required": false; }; "thyGapDegree": { "alias": "thyGapDegree"; "required": false; }; "thyGapPosition": { "alias": "thyGapPosition"; "required": false; }; "thyStrokeWidth": { "alias": "thyStrokeWidth"; "required": false; }; }, {}, never, ["*"], true, never>;
66
- static ngAcceptInputType_thyMax: unknown;
67
- static ngAcceptInputType_thyGapDegree: unknown;
68
- static ngAcceptInputType_thyStrokeWidth: unknown;
60
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThyProgress, "thy-progress", never, { "thyType": { "alias": "thyType"; "required": false; "isSignal": true; }; "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; "thyValue": { "alias": "thyValue"; "required": false; "isSignal": true; }; "thyMax": { "alias": "thyMax"; "required": false; "isSignal": true; }; "thyTips": { "alias": "thyTips"; "required": false; "isSignal": true; }; "thyShape": { "alias": "thyShape"; "required": false; "isSignal": true; }; "thyGapDegree": { "alias": "thyGapDegree"; "required": false; "isSignal": true; }; "thyGapPosition": { "alias": "thyGapPosition"; "required": false; "isSignal": true; }; "thyStrokeWidth": { "alias": "thyStrokeWidth"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
69
61
  }
@@ -0,0 +1,6 @@
1
+ .thy-property-item {
2
+ width: 360px;
3
+ &:not(:first-child) {
4
+ margin-top: 8px;
5
+ }
6
+ }
@@ -1,34 +1,27 @@
1
- import { BehaviorSubject } from 'rxjs';
2
- import { OnInit } from '@angular/core';
3
1
  import * as i0 from "@angular/core";
4
2
  export type ThyPropertiesLayout = 'horizontal' | 'vertical';
5
3
  /**
6
4
  * 属性列表组件
7
5
  * @name thy-properties
8
6
  */
9
- export declare class ThyProperties implements OnInit {
10
- layout$: BehaviorSubject<ThyPropertiesLayout>;
11
- layout: ThyPropertiesLayout;
7
+ export declare class ThyProperties {
12
8
  /**
13
9
  * 展示布局
14
10
  * @type "horizontal" | "vertical"
15
11
  * @default horizontal
16
12
  */
17
- set thyLayout(layout: ThyPropertiesLayout);
13
+ readonly layout: import("@angular/core").InputSignal<ThyPropertiesLayout>;
18
14
  /**
19
15
  * 设置一行的可以 property-item 的数量
20
16
  * @type number
21
17
  */
22
- thyColumn: number;
18
+ readonly thyColumn: import("@angular/core").InputSignalWithTransform<number, unknown>;
23
19
  /**
24
20
  * 设置编辑状态触发方法
25
21
  * @type 'hover' | 'click'
26
22
  */
27
- thyEditTrigger: 'hover' | 'click';
28
- get gridTemplateColumns(): string;
29
- constructor();
30
- ngOnInit(): void;
23
+ readonly thyEditTrigger: import("@angular/core").InputSignal<"hover" | "click">;
24
+ protected readonly gridTemplateColumns: import("@angular/core").Signal<string>;
31
25
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyProperties, never>;
32
- static ɵcmp: i0.ɵɵComponentDeclaration<ThyProperties, "thy-properties", never, { "thyLayout": { "alias": "thyLayout"; "required": false; }; "thyColumn": { "alias": "thyColumn"; "required": false; }; "thyEditTrigger": { "alias": "thyEditTrigger"; "required": false; }; }, {}, never, ["*"], true, never>;
33
- static ngAcceptInputType_thyColumn: unknown;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThyProperties, "thy-properties", never, { "layout": { "alias": "thyLayout"; "required": false; "isSignal": true; }; "thyColumn": { "alias": "thyColumn"; "required": false; "isSignal": true; }; "thyEditTrigger": { "alias": "thyEditTrigger"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
34
27
  }
@@ -1,13 +1,12 @@
1
1
  import { Subject } from 'rxjs';
2
- import { ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
2
+ import { ElementRef, OnDestroy, SimpleChanges, TemplateRef } from '@angular/core';
3
3
  import * as i0 from "@angular/core";
4
4
  export type ThyPropertyItemOperationTrigger = 'hover' | 'always';
5
5
  /**
6
6
  * 属性组件
7
7
  * @name thy-property-item
8
8
  */
9
- export declare class ThyPropertyItem implements OnInit, OnChanges, OnDestroy {
10
- private cdr;
9
+ export declare class ThyPropertyItem implements OnDestroy {
11
10
  private clickDispatcher;
12
11
  private ngZone;
13
12
  private overlayOutsideClickDispatcher;
@@ -17,58 +16,61 @@ export declare class ThyPropertyItem implements OnInit, OnChanges, OnDestroy {
17
16
  * @type sting
18
17
  * @default thyLabelText
19
18
  */
20
- thyLabelText: string;
19
+ readonly thyLabelText: import("@angular/core").InputSignal<string>;
21
20
  /**
22
21
  * 设置属性是否是可编辑的
23
22
  * @type sting
24
23
  * @default false
25
24
  */
26
- thyEditable: boolean;
25
+ readonly thyEditable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
27
26
  /**
28
27
  * 设置跨列的数量
29
28
  * @type number
30
29
  */
31
- thySpan: number;
30
+ readonly thySpan: import("@angular/core").InputSignalWithTransform<number, unknown>;
31
+ /**
32
+ * 设置编辑状态触发方法
33
+ * @type 'hover' | 'click'
34
+ */
35
+ readonly thyEditTrigger: import("@angular/core").InputSignal<"hover" | "click">;
32
36
  /**
33
37
  * 设置属性操作现实触发方式,默认 always 一直显示
34
38
  * @type 'hover' | 'always'
35
39
  */
36
- thyOperationTrigger: ThyPropertyItemOperationTrigger;
37
- thyEditingChange: EventEmitter<boolean>;
40
+ readonly thyOperationTrigger: import("@angular/core").InputSignal<ThyPropertyItemOperationTrigger>;
41
+ readonly thyEditingChange: import("@angular/core").OutputEmitterRef<boolean>;
38
42
  /**
39
43
  * 属性名称自定义模板
40
44
  * @type TemplateRef
41
45
  */
42
- label: TemplateRef<void>;
46
+ readonly label: import("@angular/core").Signal<TemplateRef<void>>;
43
47
  /**
44
48
  * 属性内容编辑模板,只有在 thyEditable 为 true 时生效
45
49
  * @type TemplateRef
46
50
  */
47
- editor: TemplateRef<void>;
51
+ readonly editor: import("@angular/core").Signal<TemplateRef<void>>;
48
52
  /**
49
53
  * 操作区模板
50
54
  * @type TemplateRef
51
55
  */
52
- operation: TemplateRef<void>;
56
+ readonly operation: import("@angular/core").Signal<TemplateRef<void>>;
53
57
  /**
54
58
  * @private
55
59
  */
56
- content: TemplateRef<void>;
60
+ readonly content: import("@angular/core").Signal<TemplateRef<void>>;
57
61
  /**
58
62
  * @private
59
63
  */
60
- itemContent: ElementRef<HTMLElement>;
61
- editing: boolean;
64
+ readonly itemContent: import("@angular/core").Signal<ElementRef<HTMLElement>>;
65
+ editing: import("@angular/core").WritableSignal<boolean>;
62
66
  changes$: Subject<SimpleChanges>;
63
67
  private destroy$;
64
68
  private eventDestroy$;
65
69
  private originOverlays;
66
70
  private clickEventSubscription;
67
- get gridColumn(): string;
68
- isVertical: boolean;
71
+ protected readonly gridColumn: import("@angular/core").Signal<string>;
72
+ isVertical: import("@angular/core").WritableSignal<boolean>;
69
73
  constructor();
70
- ngOnInit(): void;
71
- ngOnChanges(changes: SimpleChanges): void;
72
74
  setEditing(editing: boolean): void;
73
75
  /**
74
76
  * @deprecated please use setEditing(editing: boolean)
@@ -81,12 +83,5 @@ export declare class ThyPropertyItem implements OnInit, OnChanges, OnDestroy {
81
83
  private bindEditorBlurEvent;
82
84
  ngOnDestroy(): void;
83
85
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyPropertyItem, never>;
84
- static ɵcmp: i0.ɵɵComponentDeclaration<ThyPropertyItem, "thy-property-item", never, { "thyLabelText": { "alias": "thyLabelText"; "required": false; }; "thyEditable": { "alias": "thyEditable"; "required": false; }; "thySpan": { "alias": "thySpan"; "required": false; }; "thyOperationTrigger": { "alias": "thyOperationTrigger"; "required": false; }; }, { "thyEditingChange": "thyEditingChange"; }, ["label", "editor", "operation"], ["*"], true, never>;
85
- static ngAcceptInputType_thyEditable:
86
- /**
87
- * 设置属性操作现实触发方式,默认 always 一直显示
88
- * @type 'hover' | 'always'
89
- */
90
- boolean | string | number;
91
- static ngAcceptInputType_thySpan: unknown;
86
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThyPropertyItem, "thy-property-item", never, { "thyLabelText": { "alias": "thyLabelText"; "required": false; "isSignal": true; }; "thyEditable": { "alias": "thyEditable"; "required": false; "isSignal": true; }; "thySpan": { "alias": "thySpan"; "required": false; "isSignal": true; }; "thyEditTrigger": { "alias": "thyEditTrigger"; "required": false; "isSignal": true; }; "thyOperationTrigger": { "alias": "thyOperationTrigger"; "required": false; "isSignal": true; }; }, { "thyEditingChange": "thyEditingChange"; }, ["label", "editor", "operation"], ["*"], true, never>;
92
87
  }
@@ -43,7 +43,7 @@
43
43
  }
44
44
  }
45
45
 
46
- &.thy-properties-edit-trigger-hover {
46
+ &.thy-property-edit-trigger-hover {
47
47
  .thy-property-item-wrapper {
48
48
  &:hover {
49
49
  .thy-property-item-content-editable {
@@ -53,7 +53,7 @@
53
53
  }
54
54
  }
55
55
 
56
- &.thy-properties-edit-trigger-click {
56
+ &.thy-property-edit-trigger-click {
57
57
  .thy-property-item-wrapper {
58
58
  &:hover {
59
59
  .thy-property-item-content {
@@ -100,76 +100,148 @@
100
100
  }
101
101
  }
102
102
  }
103
+ }
103
104
 
104
- .thy-property-item {
105
- display: flex;
106
- // 添加最小宽度是因为内容区域过多时会超出对应宽度区域
107
- min-width: 0px;
108
- .thy-property-item-label {
109
- display: inline-grid;
110
- align-items: center;
111
- height: variables.$property-item-min-height;
112
- color: variables.$property-item-label-color;
113
- grid-template-columns: auto auto;
114
- flex-shrink: 0;
115
-
116
- .thy-property-item-operation {
117
- text-align: end;
105
+ .thy-property-edit-trigger-hover {
106
+ .thy-property-item-wrapper {
107
+ &:hover {
108
+ .thy-property-item-content-editable {
109
+ @include display-item-editor();
118
110
  }
119
- span {
120
- display: inline-block;
111
+ }
112
+ }
113
+ }
114
+
115
+ .thy-property-edit-trigger-click {
116
+ .thy-property-item-wrapper {
117
+ &:hover {
118
+ .thy-property-item-content {
119
+ &.thy-property-item-content-editable {
120
+ cursor: pointer;
121
+ position: relative;
122
+
123
+ &:after,
124
+ &:before {
125
+ content: '';
126
+ display: block;
127
+ position: absolute;
128
+ right: 0;
129
+ bottom: 0;
130
+ left: 0;
131
+ top: 0;
132
+ margin-left: variables.$property-item-editor-offset;
133
+ border-radius: variables.$border-radius;
134
+ }
135
+
136
+ &:after {
137
+ border: solid 1px variables.$primary;
138
+ }
139
+
140
+ &:before {
141
+ background: variables.$bg-default;
142
+ }
143
+
144
+ &:not(.thy-property-item-content-editing):after {
145
+ z-index: 999;
146
+ }
147
+ .thy-property-item-content-text {
148
+ z-index: 1;
149
+ }
150
+ &.thy-property-item-content-editing:after {
151
+ z-index: -1;
152
+ transition: 100ms;
153
+ }
154
+ &.thy-property-item-content-editing:before {
155
+ z-index: -1;
156
+ }
157
+ }
121
158
  }
122
159
  }
160
+ }
161
+ }
162
+
163
+ .thy-property-item {
164
+ display: flex;
165
+ // 添加最小宽度是因为内容区域过多时会超出对应宽度区域
166
+ min-width: 0px;
167
+
168
+ &.thy-property-item-single {
169
+ flex-direction: row;
170
+ .thy-property-item-label {
171
+ padding-right: variables.$property-item-padding-x;
172
+ }
123
173
 
124
- .thy-property-item-wrapper {
174
+ .thy-property-item-operation {
125
175
  display: flex;
176
+ justify-content: flex-end;
126
177
  align-items: center;
127
- flex: 1;
128
- min-width: 0;
129
178
  }
179
+ }
130
180
 
131
- .thy-property-item-content {
132
- flex: 1;
181
+ .thy-property-item-label {
182
+ display: inline-grid;
183
+ align-items: center;
184
+ height: variables.$property-item-min-height;
185
+ color: variables.$property-item-label-color;
186
+ grid-template-columns: auto auto;
187
+ flex-shrink: 0;
188
+
189
+ .thy-property-item-operation {
190
+ text-align: end;
191
+ }
192
+ span {
193
+ display: inline-block;
194
+ }
195
+ }
196
+
197
+ .thy-property-item-wrapper {
198
+ display: flex;
199
+ align-items: center;
200
+ flex: 1;
201
+ min-width: 0;
202
+ }
203
+
204
+ .thy-property-item-content {
205
+ flex: 1;
206
+ display: flex;
207
+ align-items: center;
208
+ color: variables.$property-item-content-color;
209
+ min-height: variables.$property-item-min-height;
210
+ min-width: 0px;
211
+
212
+ .thy-property-item-content-text {
133
213
  display: flex;
134
214
  align-items: center;
135
- color: variables.$property-item-content-color;
136
- min-height: variables.$property-item-min-height;
137
215
  min-width: 0px;
216
+ flex: auto;
217
+ }
138
218
 
139
- .thy-property-item-content-text {
140
- display: flex;
141
- align-items: center;
142
- min-width: 0px;
143
- flex: auto;
144
- }
145
-
146
- .thy-property-item-content-editor {
147
- display: none;
148
- margin-left: variables.$property-item-editor-offset;
149
- width: calc(100% - variables.$property-item-editor-offset);
150
- }
219
+ .thy-property-item-content-editor {
220
+ display: none;
221
+ margin-left: variables.$property-item-editor-offset;
222
+ width: calc(100% - variables.$property-item-editor-offset);
223
+ }
151
224
 
152
- &-editing {
153
- @include display-item-editor();
154
- }
225
+ &-editing {
226
+ @include display-item-editor();
155
227
  }
228
+ }
156
229
 
157
- .thy-property-item-operation {
230
+ .thy-property-item-operation {
231
+ margin-left: 4px;
232
+ .thy-action + .thy-action {
158
233
  margin-left: 4px;
159
- .thy-action + .thy-action {
160
- margin-left: 4px;
161
- }
162
234
  }
235
+ }
163
236
 
164
- &.thy-property-item-operational-hover {
165
- .thy-property-item-operation {
166
- visibility: hidden;
167
- }
237
+ &.thy-property-item-operational-hover {
238
+ .thy-property-item-operation {
239
+ visibility: hidden;
240
+ }
168
241
 
169
- .thy-property-item-label,
170
- .thy-property-item-wrapper {
171
- @include property-item-operation-hover-visible();
172
- }
242
+ .thy-property-item-label,
243
+ .thy-property-item-wrapper {
244
+ @include property-item-operation-hover-visible();
173
245
  }
174
246
  }
175
247
  }
@@ -1,5 +1,6 @@
1
1
  import { AfterContentInit, ElementRef, EventEmitter, OnInit, TemplateRef, OnDestroy } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
+ import * as i1 from "ngx-tethys/util";
3
4
  type ThyPropertyOperationTypes = 'primary' | 'success' | 'warning' | 'danger';
4
5
  /**
5
6
  * 属性操作组件
@@ -82,10 +83,10 @@ export declare class ThyPropertyOperation implements OnInit, AfterContentInit, O
82
83
  remove($event: Event): void;
83
84
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyPropertyOperation, never>;
84
85
  static ɵcmp: i0.ɵɵComponentDeclaration<ThyPropertyOperation, "thy-property-operation", never, { "thyLabelText": { "alias": "thyLabelText"; "required": false; }; "thyValue": { "alias": "thyValue"; "required": false; }; "thyLabelTextTranslateKey": { "alias": "thyLabelTextTranslateKey"; "required": false; }; "thyIcon": { "alias": "thyIcon"; "required": false; }; "thyShowClose": { "alias": "thyShowClose"; "required": false; }; "thyLabelHasValue": { "alias": "thyLabelHasValue"; "required": false; }; "thyLabelHideWhenHasValue": { "alias": "thyLabelHideWhenHasValue"; "required": false; }; "thyType": { "alias": "thyType"; "required": false; }; "active": { "alias": "thyActive"; "required": false; }; "disabled": { "alias": "thyDisabled"; "required": false; }; }, { "thyOnRemove": "thyOnRemove"; "thyClick": "thyClick"; }, ["operationIcon"], ["*"], true, never>;
85
- static ngAcceptInputType_thyShowClose: boolean | string | number;
86
- static ngAcceptInputType_thyLabelHasValue: boolean | string | number;
87
- static ngAcceptInputType_thyLabelHideWhenHasValue: boolean | string | number;
88
- static ngAcceptInputType_active: boolean | string | number;
89
- static ngAcceptInputType_disabled: boolean | string | number;
86
+ static ngAcceptInputType_thyShowClose: i1.ThyBooleanInput;
87
+ static ngAcceptInputType_thyLabelHasValue: i1.ThyBooleanInput;
88
+ static ngAcceptInputType_thyLabelHideWhenHasValue: i1.ThyBooleanInput;
89
+ static ngAcceptInputType_active: i1.ThyBooleanInput;
90
+ static ngAcceptInputType_disabled: i1.ThyBooleanInput;
90
91
  }
91
92
  export {};
@@ -9,10 +9,10 @@ export declare class ThyRadioButton extends ThyRadio implements OnInit {
9
9
  isActive: boolean;
10
10
  get isDisabled(): boolean;
11
11
  name: string;
12
- thyValue: string;
12
+ readonly thyValue: import("@angular/core").InputSignal<string>;
13
13
  set thyChecked(value: boolean);
14
14
  ngOnInit(): void;
15
15
  click($event: MouseEvent): void;
16
16
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyRadioButton, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<ThyRadioButton, "[thy-radio-button],[thyRadioButton]", never, { "thyValue": { "alias": "thyValue"; "required": false; }; }, {}, never, ["*"], true, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThyRadioButton, "[thy-radio-button],[thyRadioButton]", never, { "thyValue": { "alias": "thyValue"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
18
18
  }
@@ -13,15 +13,17 @@ export declare class ThyRadioGroup implements IThyRadioGroupComponent, ControlVa
13
13
  thyRadioGroup: boolean;
14
14
  isButtonGroup: boolean;
15
15
  isButtonGroupOutline: boolean;
16
- private _size;
17
- private _layout;
18
16
  /**
19
17
  * 大小
20
18
  * @type sm | md | lg
21
19
  * @default md
22
20
  */
23
- set thySize(size: string);
24
- set thyLayout(layout: string);
21
+ readonly thySize: import("@angular/core").InputSignal<string>;
22
+ /**
23
+ * 布局
24
+ * @type flex
25
+ */
26
+ readonly thyLayout: import("@angular/core").InputSignal<string>;
25
27
  _innerValue: string | number;
26
28
  radios: Array<ThyRadio | ThyRadioButton>;
27
29
  private hostRenderer;
@@ -29,7 +31,7 @@ export declare class ThyRadioGroup implements IThyRadioGroupComponent, ControlVa
29
31
  * 是否禁用单选组合框
30
32
  * @default false
31
33
  */
32
- thyDisabled: boolean;
34
+ readonly thyDisabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
33
35
  onChange: (_: string) => void;
34
36
  onTouched: () => void;
35
37
  addRadio(radio: ThyRadio | ThyRadioButton): void;
@@ -44,6 +46,5 @@ export declare class ThyRadioGroup implements IThyRadioGroupComponent, ControlVa
44
46
  ngAfterContentInit(): void;
45
47
  private _setClasses;
46
48
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyRadioGroup, never>;
47
- static ɵcmp: i0.ɵɵComponentDeclaration<ThyRadioGroup, "thy-radio-group", never, { "thySize": { "alias": "thySize"; "required": false; }; "thyLayout": { "alias": "thyLayout"; "required": false; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; }, {}, never, ["*"], true, never>;
48
- static ngAcceptInputType_thyDisabled: boolean | string | number;
49
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThyRadioGroup, "thy-radio-group", never, { "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; "thyLayout": { "alias": "thyLayout"; "required": false; "isSignal": true; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
49
50
  }
@@ -13,10 +13,10 @@ export declare class ThyRadio extends ThyFormCheckBaseComponent implements IThyR
13
13
  /**
14
14
  * 当和 thy-radio-group 配合使用时的值,选中后的 NgModel 值
15
15
  */
16
- thyValue: string;
16
+ readonly thyValue: import("@angular/core").InputSignal<string>;
17
17
  set thyChecked(value: boolean);
18
18
  ngOnInit(): void;
19
19
  change(): void;
20
20
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyRadio, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<ThyRadio, "[thy-radio],[thyRadio]", never, { "thyValue": { "alias": "thyValue"; "required": false; }; }, {}, never, ["*"], true, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThyRadio, "[thy-radio],[thyRadio]", never, { "thyValue": { "alias": "thyValue"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
22
22
  }
@@ -1,6 +1,6 @@
1
- import { InjectionToken } from '@angular/core';
1
+ import { InjectionToken, InputSignal } from '@angular/core';
2
2
  export interface IThyRadioComponent {
3
- thyValue: string;
3
+ thyValue: InputSignal<string>;
4
4
  thyChecked: boolean;
5
5
  setDisabledState?(isDisabled: boolean): void;
6
6
  }
@@ -1,5 +1,6 @@
1
1
  import { EventEmitter, OnInit, TemplateRef } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
+ import * as i1 from "ngx-tethys/util";
3
4
  /**
4
5
  * @private
5
6
  */
@@ -15,5 +16,5 @@ export declare class ThyRateItem implements OnInit {
15
16
  clickRateItem(isHalf: boolean): void;
16
17
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyRateItem, never>;
17
18
  static ɵcmp: i0.ɵɵComponentDeclaration<ThyRateItem, "thy-rate-item, [thy-rate-item]", never, { "allowHalf": { "alias": "allowHalf"; "required": false; }; "iconValue": { "alias": "iconValue"; "required": false; }; "iconTemplate": { "alias": "iconTemplate"; "required": false; }; }, { "itemHover": "itemHover"; "itemClick": "itemClick"; }, never, never, true, never>;
18
- static ngAcceptInputType_allowHalf: boolean | string | number;
19
+ static ngAcceptInputType_allowHalf: i1.ThyBooleanInput;
19
20
  }
@@ -2,6 +2,7 @@ import { TabIndexDisabledControlValueAccessorMixin } from 'ngx-tethys/core';
2
2
  import { EventEmitter, OnChanges, OnInit, SimpleChanges, TemplateRef } 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
  /**
6
7
  * 评分组件
7
8
  * @name thy-rate
@@ -73,7 +74,7 @@ export declare class ThyRate extends TabIndexDisabledControlValueAccessorMixin i
73
74
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyRate, never>;
74
75
  static ɵcmp: i0.ɵɵComponentDeclaration<ThyRate, "thy-rate", never, { "thyCount": { "alias": "thyCount"; "required": false; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; "thyAllowHalf": { "alias": "thyAllowHalf"; "required": false; }; "thyAllowClear": { "alias": "thyAllowClear"; "required": false; }; "thyTooltips": { "alias": "thyTooltips"; "required": false; }; "thyIconTemplate": { "alias": "thyIconTemplate"; "required": false; }; }, { "thyItemHoverChange": "thyItemHoverChange"; }, never, never, true, never>;
75
76
  static ngAcceptInputType_thyCount: unknown;
76
- static ngAcceptInputType_thyDisabled: boolean | string | number;
77
- static ngAcceptInputType_thyAllowHalf: boolean | string | number;
78
- static ngAcceptInputType_thyAllowClear: boolean | string | number;
77
+ static ngAcceptInputType_thyDisabled: i1.ThyBooleanInput;
78
+ static ngAcceptInputType_thyAllowHalf: i1.ThyBooleanInput;
79
+ static ngAcceptInputType_thyAllowClear: i1.ThyBooleanInput;
79
80
  }
@@ -1,6 +1,7 @@
1
1
  import { AfterViewInit, OnDestroy, ElementRef, EventEmitter } from '@angular/core';
2
2
  import { ThyResizeEvent } from './interface';
3
3
  import * as i0 from "@angular/core";
4
+ import * as i1 from "ngx-tethys/util";
4
5
  /**
5
6
  * 调整尺寸
6
7
  * @name thyResizable
@@ -96,13 +97,7 @@ export declare class ThyResizableDirective implements AfterViewInit, OnDestroy {
96
97
  static ngAcceptInputType_thyGridColumnCount: unknown;
97
98
  static ngAcceptInputType_thyMaxColumn: unknown;
98
99
  static ngAcceptInputType_thyMinColumn: unknown;
99
- static ngAcceptInputType_thyLockAspectRatio: boolean /**
100
- * 栅格最大列数
101
- */ | string | number;
102
- static ngAcceptInputType_thyPreview: boolean /**
103
- * 栅格最大列数
104
- */ | string | number;
105
- static ngAcceptInputType_thyDisabled: boolean /**
106
- * 栅格最大列数
107
- */ | string | number;
100
+ static ngAcceptInputType_thyLockAspectRatio: i1.ThyBooleanInput;
101
+ static ngAcceptInputType_thyPreview: i1.ThyBooleanInput;
102
+ static ngAcceptInputType_thyDisabled: i1.ThyBooleanInput;
108
103
  }
@@ -1,6 +1,7 @@
1
1
  import { OnInit, EventEmitter } from '@angular/core';
2
2
  import { ThyResizeDirection, ThyResizeHandleMouseDownEvent } from './interface';
3
3
  import * as i0 from "@angular/core";
4
+ import * as i1 from "ngx-tethys/util";
4
5
  /**
5
6
  * 定义调整手柄及方向
6
7
  * @name thy-resize-handle
@@ -27,5 +28,5 @@ export declare class ThyResizeHandle implements OnInit {
27
28
  ngOnInit(): void;
28
29
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyResizeHandle, never>;
29
30
  static ɵcmp: i0.ɵɵComponentDeclaration<ThyResizeHandle, "thy-resize-handle, [thy-resize-handle]", ["thyResizeHandle"], { "thyDirection": { "alias": "thyDirection"; "required": false; }; "thyLine": { "alias": "thyLine"; "required": false; }; }, { "thyMouseDown": "thyMouseDown"; }, never, ["*"], true, never>;
30
- static ngAcceptInputType_thyLine: boolean | string | number;
31
+ static ngAcceptInputType_thyLine: i1.ThyBooleanInput;
31
32
  }