ngx-tethys 19.0.12 → 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 (270) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/action/action.component.d.ts +2 -2
  3. package/alert/alert.component.d.ts +1 -1
  4. package/anchor/anchor-link.component.d.ts +8 -8
  5. package/anchor/anchor.component.d.ts +15 -21
  6. package/arrow-switcher/arrow-switcher.component.d.ts +15 -22
  7. package/autocomplete/autocomplete.component.d.ts +10 -17
  8. package/autocomplete/autocomplete.trigger.directive.d.ts +10 -18
  9. package/avatar/avatar-list/avatar-list.component.d.ts +1 -1
  10. package/avatar/avatar.component.d.ts +5 -5
  11. package/back-top/back-top.component.d.ts +9 -12
  12. package/badge/badge.component.d.ts +19 -59
  13. package/breadcrumb/breadcrumb.component.d.ts +15 -20
  14. package/button/button-icon.component.d.ts +3 -2
  15. package/button/button.component.d.ts +3 -2
  16. package/calendar/calendar-header.component.d.ts +9 -8
  17. package/calendar/calendar.component.d.ts +16 -16
  18. package/card/card.component.d.ts +5 -11
  19. package/card/content.component.d.ts +3 -8
  20. package/card/header.component.d.ts +7 -8
  21. package/carousel/carousel.component.d.ts +22 -27
  22. package/cascader/cascader-li.component.d.ts +13 -21
  23. package/cascader/cascader-search-option.component.d.ts +8 -16
  24. package/cascader/cascader.component.d.ts +58 -80
  25. package/checkbox/checkbox.component.d.ts +2 -5
  26. package/collapse/collapse-item.component.d.ts +12 -19
  27. package/collapse/collapse.component.d.ts +6 -12
  28. package/collapse/collapse.token.d.ts +3 -3
  29. package/color-picker/color-picker-custom-panel.component.d.ts +5 -5
  30. package/color-picker/color-picker-panel.component.d.ts +7 -11
  31. package/color-picker/color-picker.component.d.ts +19 -35
  32. package/color-picker/parts/alpha/alpha.component.d.ts +8 -8
  33. package/color-picker/parts/hue/hue.component.d.ts +6 -6
  34. package/color-picker/parts/indicator/indicator.component.d.ts +4 -3
  35. package/color-picker/parts/inputs/inputs.component.d.ts +9 -9
  36. package/color-picker/parts/saturation/saturation.component.d.ts +9 -9
  37. package/comment/comment.component.d.ts +4 -5
  38. package/copy/copy.directive.d.ts +8 -9
  39. package/date-picker/abstract-picker.component.d.ts +8 -7
  40. package/date-picker/lib/calendar/calendar-footer.component.d.ts +2 -1
  41. package/date-picker/lib/popups/inner-popup.component.d.ts +2 -1
  42. package/date-picker/picker.component.d.ts +2 -1
  43. package/date-range/date-range.component.d.ts +2 -2
  44. package/dialog/body/dialog-body.component.d.ts +2 -6
  45. package/dialog/confirm/confirm.component.d.ts +2 -2
  46. package/dialog/footer/dialog-footer.component.d.ts +6 -9
  47. package/dialog/header/dialog-header.component.d.ts +9 -11
  48. package/divider/divider.component.d.ts +12 -16
  49. package/dot/dot.component.d.ts +5 -13
  50. package/drag-drop/drag-handle.directive.d.ts +2 -1
  51. package/drag-drop/drag.directive.d.ts +2 -1
  52. package/drag-drop/drop-container.directive.d.ts +2 -1
  53. package/dropdown/dropdown-menu-item.directive.d.ts +3 -2
  54. package/dropdown/dropdown-menu.component.d.ts +2 -1
  55. package/dropdown/dropdown.directive.d.ts +2 -1
  56. package/empty/empty.component.d.ts +21 -27
  57. package/fesm2022/ngx-tethys-anchor.mjs +91 -118
  58. package/fesm2022/ngx-tethys-anchor.mjs.map +1 -1
  59. package/fesm2022/ngx-tethys-arrow-switcher.mjs +51 -77
  60. package/fesm2022/ngx-tethys-arrow-switcher.mjs.map +1 -1
  61. package/fesm2022/ngx-tethys-autocomplete.mjs +69 -103
  62. package/fesm2022/ngx-tethys-autocomplete.mjs.map +1 -1
  63. package/fesm2022/ngx-tethys-avatar.mjs.map +1 -1
  64. package/fesm2022/ngx-tethys-back-top.mjs +33 -46
  65. package/fesm2022/ngx-tethys-back-top.mjs.map +1 -1
  66. package/fesm2022/ngx-tethys-badge.mjs +104 -208
  67. package/fesm2022/ngx-tethys-badge.mjs.map +1 -1
  68. package/fesm2022/ngx-tethys-breadcrumb.mjs +66 -70
  69. package/fesm2022/ngx-tethys-breadcrumb.mjs.map +1 -1
  70. package/fesm2022/ngx-tethys-calendar.mjs +85 -87
  71. package/fesm2022/ngx-tethys-calendar.mjs.map +1 -1
  72. package/fesm2022/ngx-tethys-card.mjs +72 -77
  73. package/fesm2022/ngx-tethys-card.mjs.map +1 -1
  74. package/fesm2022/ngx-tethys-carousel.mjs +82 -99
  75. package/fesm2022/ngx-tethys-carousel.mjs.map +1 -1
  76. package/fesm2022/ngx-tethys-cascader.mjs +313 -468
  77. package/fesm2022/ngx-tethys-cascader.mjs.map +1 -1
  78. package/fesm2022/ngx-tethys-checkbox.mjs +10 -17
  79. package/fesm2022/ngx-tethys-checkbox.mjs.map +1 -1
  80. package/fesm2022/ngx-tethys-collapse.mjs +66 -71
  81. package/fesm2022/ngx-tethys-collapse.mjs.map +1 -1
  82. package/fesm2022/ngx-tethys-color-picker.mjs +187 -246
  83. package/fesm2022/ngx-tethys-color-picker.mjs.map +1 -1
  84. package/fesm2022/ngx-tethys-comment.mjs +16 -10
  85. package/fesm2022/ngx-tethys-comment.mjs.map +1 -1
  86. package/fesm2022/ngx-tethys-copy.mjs +25 -28
  87. package/fesm2022/ngx-tethys-copy.mjs.map +1 -1
  88. package/fesm2022/ngx-tethys-dialog.mjs +81 -82
  89. package/fesm2022/ngx-tethys-dialog.mjs.map +1 -1
  90. package/fesm2022/ngx-tethys-divider.mjs +49 -58
  91. package/fesm2022/ngx-tethys-divider.mjs.map +1 -1
  92. package/fesm2022/ngx-tethys-dot.mjs +45 -68
  93. package/fesm2022/ngx-tethys-dot.mjs.map +1 -1
  94. package/fesm2022/ngx-tethys-empty.mjs +107 -95
  95. package/fesm2022/ngx-tethys-empty.mjs.map +1 -1
  96. package/fesm2022/ngx-tethys-form.mjs +161 -200
  97. package/fesm2022/ngx-tethys-form.mjs.map +1 -1
  98. package/fesm2022/ngx-tethys-fullscreen.mjs +21 -23
  99. package/fesm2022/ngx-tethys-fullscreen.mjs.map +1 -1
  100. package/fesm2022/ngx-tethys-grid.mjs +160 -152
  101. package/fesm2022/ngx-tethys-grid.mjs.map +1 -1
  102. package/fesm2022/ngx-tethys-i18n.mjs +25 -25
  103. package/fesm2022/ngx-tethys-i18n.mjs.map +1 -1
  104. package/fesm2022/ngx-tethys-input-number.mjs +101 -114
  105. package/fesm2022/ngx-tethys-input-number.mjs.map +1 -1
  106. package/fesm2022/ngx-tethys-input.mjs +268 -271
  107. package/fesm2022/ngx-tethys-input.mjs.map +1 -1
  108. package/fesm2022/ngx-tethys-loading.mjs +17 -35
  109. package/fesm2022/ngx-tethys-loading.mjs.map +1 -1
  110. package/fesm2022/ngx-tethys-mention.mjs +3 -3
  111. package/fesm2022/ngx-tethys-mention.mjs.map +1 -1
  112. package/fesm2022/ngx-tethys-menu.mjs +106 -179
  113. package/fesm2022/ngx-tethys-menu.mjs.map +1 -1
  114. package/fesm2022/ngx-tethys-nav.mjs +169 -201
  115. package/fesm2022/ngx-tethys-nav.mjs.map +1 -1
  116. package/fesm2022/ngx-tethys-pagination.mjs +230 -294
  117. package/fesm2022/ngx-tethys-pagination.mjs.map +1 -1
  118. package/fesm2022/ngx-tethys-popover.mjs +67 -70
  119. package/fesm2022/ngx-tethys-popover.mjs.map +1 -1
  120. package/fesm2022/ngx-tethys-progress.mjs +196 -244
  121. package/fesm2022/ngx-tethys-progress.mjs.map +1 -1
  122. package/fesm2022/ngx-tethys-property.mjs +102 -105
  123. package/fesm2022/ngx-tethys-property.mjs.map +1 -1
  124. package/fesm2022/ngx-tethys-radio.mjs +34 -38
  125. package/fesm2022/ngx-tethys-radio.mjs.map +1 -1
  126. package/fesm2022/ngx-tethys-result.mjs +46 -28
  127. package/fesm2022/ngx-tethys-result.mjs.map +1 -1
  128. package/fesm2022/ngx-tethys-skeleton.mjs +339 -342
  129. package/fesm2022/ngx-tethys-skeleton.mjs.map +1 -1
  130. package/fesm2022/ngx-tethys-slider.mjs +75 -108
  131. package/fesm2022/ngx-tethys-slider.mjs.map +1 -1
  132. package/fesm2022/ngx-tethys-space.mjs +26 -46
  133. package/fesm2022/ngx-tethys-space.mjs.map +1 -1
  134. package/fesm2022/ngx-tethys-statistic.mjs +114 -151
  135. package/fesm2022/ngx-tethys-statistic.mjs.map +1 -1
  136. package/fesm2022/ngx-tethys-stepper.mjs +74 -107
  137. package/fesm2022/ngx-tethys-stepper.mjs.map +1 -1
  138. package/fesm2022/ngx-tethys-switch.mjs +80 -140
  139. package/fesm2022/ngx-tethys-switch.mjs.map +1 -1
  140. package/fesm2022/ngx-tethys-table.mjs +1 -1
  141. package/fesm2022/ngx-tethys-table.mjs.map +1 -1
  142. package/fesm2022/ngx-tethys-tabs.mjs +69 -87
  143. package/fesm2022/ngx-tethys-tabs.mjs.map +1 -1
  144. package/fesm2022/ngx-tethys-tag.mjs +42 -64
  145. package/fesm2022/ngx-tethys-tag.mjs.map +1 -1
  146. package/fesm2022/ngx-tethys-timeline.mjs +104 -129
  147. package/fesm2022/ngx-tethys-timeline.mjs.map +1 -1
  148. package/fesm2022/ngx-tethys-typography.mjs +36 -33
  149. package/fesm2022/ngx-tethys-typography.mjs.map +1 -1
  150. package/fesm2022/ngx-tethys-upload.mjs +91 -130
  151. package/fesm2022/ngx-tethys-upload.mjs.map +1 -1
  152. package/fesm2022/ngx-tethys-util.mjs.map +1 -1
  153. package/fesm2022/ngx-tethys-watermark.mjs +36 -40
  154. package/fesm2022/ngx-tethys-watermark.mjs.map +1 -1
  155. package/fesm2022/ngx-tethys.mjs +1 -1
  156. package/fesm2022/ngx-tethys.mjs.map +1 -1
  157. package/form/form-group-error/form-group-error.component.d.ts +2 -3
  158. package/form/form-group-label.directive.d.ts +2 -1
  159. package/form/form-group.component.d.ts +17 -24
  160. package/form/form-submit.directive.d.ts +2 -2
  161. package/form/form.directive.d.ts +6 -8
  162. package/form/from-group-footer/form-group-footer.component.d.ts +2 -2
  163. package/form/validator/confirm-validator.directive.d.ts +2 -2
  164. package/form/validator/unique-validator.directive.d.ts +2 -2
  165. package/fullscreen/fullscreen.component.d.ts +7 -7
  166. package/grid/flex.d.ts +14 -19
  167. package/grid/thy-col.directive.d.ts +6 -9
  168. package/grid/thy-grid-item.component.d.ts +3 -4
  169. package/grid/thy-grid.component.d.ts +11 -12
  170. package/grid/thy-row.directive.d.ts +12 -12
  171. package/icon/icon.component.d.ts +3 -2
  172. package/image/image.directive.d.ts +3 -2
  173. package/input/input-count.component.d.ts +4 -5
  174. package/input/input-group.component.d.ts +20 -20
  175. package/input/input-search.component.d.ts +15 -20
  176. package/input/input.component.d.ts +20 -21
  177. package/input/input.directive.d.ts +4 -6
  178. package/input-number/input-number.component.d.ts +21 -29
  179. package/layout/header.component.d.ts +4 -9
  180. package/layout/sidebar-header.component.d.ts +2 -1
  181. package/layout/sidebar.component.d.ts +8 -7
  182. package/list/list.component.d.ts +2 -1
  183. package/list/selection/selection-list.d.ts +4 -3
  184. package/loading/loading.component.d.ts +4 -10
  185. package/mention/mention.directive.d.ts +2 -2
  186. package/menu/group/menu-group.component.d.ts +16 -33
  187. package/menu/item/action/menu-item-action.component.d.ts +7 -8
  188. package/menu/item/icon/menu-item-icon.component.d.ts +2 -2
  189. package/menu/item/menu-item.component.d.ts +4 -4
  190. package/menu/item/name/menu-item-name.component.d.ts +2 -3
  191. package/menu/menu.component.d.ts +3 -7
  192. package/nav/icon-nav/icon-nav-link.directive.d.ts +3 -7
  193. package/nav/icon-nav/icon-nav.component.d.ts +3 -8
  194. package/nav/nav-ink-bar.directive.d.ts +4 -6
  195. package/nav/nav-item.directive.d.ts +7 -10
  196. package/nav/nav.component.d.ts +20 -48
  197. package/package.json +1 -1
  198. package/pagination/pagination.component.d.ts +48 -109
  199. package/popover/header/popover-header.component.d.ts +7 -6
  200. package/popover/popover.directive.d.ts +11 -18
  201. package/progress/progress-circle.component.d.ts +32 -21
  202. package/progress/progress-strip.component.d.ts +10 -14
  203. package/progress/progress.component.d.ts +15 -23
  204. package/property/examples/single/single.component.scss +6 -0
  205. package/property/properties.component.d.ts +6 -13
  206. package/property/property-item.component.d.ts +21 -26
  207. package/property/styles/properties.scss +124 -52
  208. package/property-operation/property-operation.component.d.ts +6 -5
  209. package/radio/button/radio-button.component.d.ts +2 -2
  210. package/radio/group/radio-group.component.d.ts +8 -7
  211. package/radio/radio.component.d.ts +2 -2
  212. package/radio/radio.token.d.ts +2 -2
  213. package/rate/rate-item.component.d.ts +2 -1
  214. package/rate/rate.component.d.ts +4 -3
  215. package/resizable/resizable.directive.d.ts +4 -9
  216. package/resizable/resize-handle.component.d.ts +2 -1
  217. package/resizable/resize-handles.component.d.ts +2 -1
  218. package/result/result.component.d.ts +9 -10
  219. package/schematics/version.d.ts +1 -1
  220. package/schematics/version.js +1 -1
  221. package/segment/segment-item.component.d.ts +2 -1
  222. package/segment/segment.component.d.ts +2 -1
  223. package/select/custom-select/custom-select.component.d.ts +11 -10
  224. package/select/native-select/native-select.component.d.ts +2 -1
  225. package/shared/base-form-check.component.d.ts +3 -2
  226. package/shared/directives/thy-autofocus.directive.d.ts +3 -2
  227. package/shared/directives/thy-scroll.directive.d.ts +2 -1
  228. package/shared/directives/thy-show.d.ts +2 -1
  229. package/shared/option/group/option-group.component.d.ts +2 -1
  230. package/shared/option/list-option/list-option.component.d.ts +2 -7
  231. package/shared/option/option.component.d.ts +2 -1
  232. package/shared/select/select-control/select-control.component.d.ts +7 -6
  233. package/skeleton/skeleton-circle.component.d.ts +16 -19
  234. package/skeleton/skeleton-rectangle.component.d.ts +20 -23
  235. package/skeleton/skeleton.component.d.ts +5 -6
  236. package/skeleton/stylized/bullet-list.component.d.ts +11 -13
  237. package/skeleton/stylized/list.component.d.ts +10 -12
  238. package/skeleton/stylized/paragraph.component.d.ts +12 -14
  239. package/slide/slide-body/slide-body-section.component.d.ts +2 -1
  240. package/slider/slider.component.d.ts +17 -24
  241. package/space/space.component.d.ts +8 -8
  242. package/statistic/statistic.component.d.ts +35 -40
  243. package/stepper/step-header.component.d.ts +6 -10
  244. package/stepper/step.component.d.ts +6 -6
  245. package/stepper/stepper.component.d.ts +15 -20
  246. package/switch/switch.component.d.ts +24 -35
  247. package/table/table-column.component.d.ts +6 -5
  248. package/table/table-skeleton.component.d.ts +3 -10
  249. package/table/table.component.d.ts +11 -10
  250. package/tabs/tab-content.component.d.ts +4 -4
  251. package/tabs/tab.component.d.ts +4 -5
  252. package/tabs/tabs.component.d.ts +13 -15
  253. package/tag/tag.component.d.ts +10 -16
  254. package/time-picker/time-picker-panel.component.d.ts +3 -2
  255. package/time-picker/time-picker.component.d.ts +6 -5
  256. package/timeline/timeline-item.component.d.ts +9 -13
  257. package/timeline/timeline.component.d.ts +13 -17
  258. package/tooltip/tooltip.directive.d.ts +3 -2
  259. package/tree/tree-node.component.d.ts +6 -15
  260. package/tree/tree.component.d.ts +8 -7
  261. package/tree-select/tree-select.component.d.ts +8 -7
  262. package/typography/bg-color.directive.d.ts +3 -3
  263. package/typography/text/text.component.d.ts +2 -2
  264. package/typography/text-color.directive.d.ts +3 -3
  265. package/upload/file-drop.directive.d.ts +9 -11
  266. package/upload/file-select-base.d.ts +6 -10
  267. package/upload/file-select.component.d.ts +10 -20
  268. package/util/helpers/helpers.d.ts +2 -1
  269. package/vote/vote.component.d.ts +4 -3
  270. package/watermark/watermark.directive.d.ts +7 -9
@@ -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
  }
@@ -1,6 +1,7 @@
1
1
  import { OnChanges, SimpleChanges } from '@angular/core';
2
2
  import { ThyResizeDirection } from './interface';
3
3
  import * as i0 from "@angular/core";
4
+ import * as i1 from "ngx-tethys/util";
4
5
  export declare const DEFAULT_RESIZE_DIRECTION: ThyResizeDirection[];
5
6
  /**
6
7
  * 定义调整手柄的快捷组件
@@ -20,5 +21,5 @@ export declare class ThyResizeHandles implements OnChanges {
20
21
  ngOnChanges(changes: SimpleChanges): void;
21
22
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyResizeHandles, never>;
22
23
  static ɵcmp: i0.ɵɵComponentDeclaration<ThyResizeHandles, "thy-resize-handles", ["thyResizeHandles"], { "thyDirections": { "alias": "thyDirections"; "required": false; }; "thyLine": { "alias": "thyLine"; "required": false; }; }, {}, never, never, true, never>;
23
- static ngAcceptInputType_thyLine: boolean | string | number;
24
+ static ngAcceptInputType_thyLine: i1.ThyBooleanInput;
24
25
  }
@@ -10,46 +10,45 @@ export declare class ThyResult implements OnInit {
10
10
  * @description 结果的状态,决定显示的图标
11
11
  * @type success | warning | error
12
12
  */
13
- thyStatus: ThyResultStatus;
13
+ readonly thyStatus: import("@angular/core").InputSignal<ThyResultStatus>;
14
14
  /**
15
15
  * @description 自定义 icon,作为 img 的 src 显示
16
16
  * @type string
17
17
  */
18
- thyIcon: string;
18
+ readonly thyIcon: import("@angular/core").InputSignal<string>;
19
19
  /**
20
20
  * @description 标题
21
21
  * @type string
22
22
  */
23
- thyTitle: string;
23
+ readonly thyTitle: import("@angular/core").InputSignal<string>;
24
24
  /**
25
25
  * @description 二级标题
26
26
  * @type string
27
27
  */
28
- thySubtitle: string;
28
+ readonly thySubtitle: import("@angular/core").InputSignal<string>;
29
29
  /**
30
30
  * @description 自定义 icon 模板
31
31
  * @type TemplateRef<any>
32
32
  */
33
- iconTemplateRef: TemplateRef<any>;
33
+ protected readonly iconTemplateRef: import("@angular/core").Signal<TemplateRef<any>>;
34
34
  /**
35
35
  * @description 自定义标题模板
36
36
  * @type TemplateRef<any>
37
37
  */
38
- titleTemplateRef: TemplateRef<any>;
38
+ protected readonly titleTemplateRef: import("@angular/core").Signal<TemplateRef<any>>;
39
39
  /**
40
40
  * @description 自定义二级标题模板
41
41
  * @type TemplateRef<any>
42
42
  */
43
- subtitleTemplateRef: TemplateRef<any>;
43
+ protected readonly subtitleTemplateRef: import("@angular/core").Signal<TemplateRef<any>>;
44
44
  /**
45
45
  * @description 自定义操作区域
46
46
  * @type TemplateRef<any>
47
47
  */
48
- extraTemplateRef: TemplateRef<any>;
49
- className: boolean;
48
+ protected readonly extraTemplateRef: import("@angular/core").Signal<TemplateRef<any>>;
50
49
  constructor();
51
50
  ngOnInit(): void;
52
51
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyResult, never>;
53
- static ɵcmp: i0.ɵɵComponentDeclaration<ThyResult, "thy-result", never, { "thyStatus": { "alias": "thyStatus"; "required": false; }; "thyIcon": { "alias": "thyIcon"; "required": false; }; "thyTitle": { "alias": "thyTitle"; "required": false; }; "thySubtitle": { "alias": "thySubtitle"; "required": false; }; }, {}, ["iconTemplateRef", "titleTemplateRef", "subtitleTemplateRef", "extraTemplateRef"], never, true, never>;
52
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThyResult, "thy-result", never, { "thyStatus": { "alias": "thyStatus"; "required": false; "isSignal": true; }; "thyIcon": { "alias": "thyIcon"; "required": false; "isSignal": true; }; "thyTitle": { "alias": "thyTitle"; "required": false; "isSignal": true; }; "thySubtitle": { "alias": "thySubtitle"; "required": false; "isSignal": true; }; }, {}, ["iconTemplateRef", "titleTemplateRef", "subtitleTemplateRef", "extraTemplateRef"], never, true, never>;
54
53
  }
55
54
  export {};
@@ -1 +1 @@
1
- export declare const VERSION = "19.0.12";
1
+ export declare const VERSION = "19.1.0-next.0";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '19.0.12';
4
+ exports.VERSION = '19.1.0-next.0';
@@ -2,6 +2,7 @@ import { AfterViewInit, ElementRef, OnDestroy } from '@angular/core';
2
2
  import { IThySegmentItemComponent } from './segment.token';
3
3
  import { SafeAny } from 'ngx-tethys/types';
4
4
  import * as i0 from "@angular/core";
5
+ import * as i1 from "ngx-tethys/util";
5
6
  /**
6
7
  * 分段控制器的选项组件
7
8
  * @name thy-segment-item,[thy-segment-item]
@@ -35,5 +36,5 @@ export declare class ThySegmentItem implements IThySegmentItemComponent, AfterVi
35
36
  ngOnDestroy(): void;
36
37
  static ɵfac: i0.ɵɵFactoryDeclaration<ThySegmentItem, never>;
37
38
  static ɵcmp: i0.ɵɵComponentDeclaration<ThySegmentItem, "thy-segment-item,[thy-segment-item]", never, { "thyValue": { "alias": "thyValue"; "required": false; }; "thyIcon": { "alias": "thyIcon"; "required": false; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; }, {}, never, ["*"], true, never>;
38
- static ngAcceptInputType_thyDisabled: boolean | string | number;
39
+ static ngAcceptInputType_thyDisabled: i1.ThyBooleanInput;
39
40
  }
@@ -5,6 +5,7 @@ import { IThySegmentComponent } from './segment.token';
5
5
  import { ThySegmentEvent } from './types';
6
6
  import { AnimationEvent } from '@angular/animations';
7
7
  import * as i0 from "@angular/core";
8
+ import * as i1 from "ngx-tethys/util";
8
9
  export type ThySegmentSize = 'xs' | 'sm' | 'md' | 'default';
9
10
  export type ThySegmentMode = 'block' | 'inline';
10
11
  /**
@@ -53,6 +54,6 @@ export declare class ThySegment implements IThySegmentComponent, AfterContentIni
53
54
  handleThumbAnimationDone(event: AnimationEvent): void;
54
55
  static ɵfac: i0.ɵɵFactoryDeclaration<ThySegment, never>;
55
56
  static ɵcmp: i0.ɵɵComponentDeclaration<ThySegment, "thy-segment", ["thySegment"], { "thySize": { "alias": "thySize"; "required": false; }; "thyMode": { "alias": "thyMode"; "required": false; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; "thyActiveIndex": { "alias": "thyActiveIndex"; "required": false; }; }, { "thySelectChange": "thySelectChange"; }, ["options"], ["*"], true, never>;
56
- static ngAcceptInputType_thyDisabled: boolean | string | number;
57
+ static ngAcceptInputType_thyDisabled: i1.ThyBooleanInput;
57
58
  static ngAcceptInputType_thyActiveIndex: unknown;
58
59
  }