ngx-tethys 19.1.0-next.0 → 19.1.0-next.2

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 (110) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/README.md +0 -1
  3. package/action/action.component.d.ts +7 -8
  4. package/affix/affix.component.d.ts +3 -4
  5. package/arrow-switcher/arrow-switcher.component.d.ts +5 -1
  6. package/button/button-group.component.d.ts +5 -12
  7. package/button/button-icon.component.d.ts +14 -28
  8. package/button/button.component.d.ts +17 -27
  9. package/date-picker/styles/calendar.scss +1 -1
  10. package/date-picker/styles/range-picker.scss +1 -0
  11. package/date-picker/styles/week-picker.scss +1 -0
  12. package/dropdown/dropdown-active.directive.d.ts +4 -5
  13. package/dropdown/dropdown-menu-item.directive.d.ts +7 -15
  14. package/dropdown/dropdown-menu.component.d.ts +6 -13
  15. package/dropdown/dropdown-submenu.component.d.ts +2 -4
  16. package/dropdown/dropdown.directive.d.ts +14 -25
  17. package/fesm2022/ngx-tethys-action.mjs +15 -16
  18. package/fesm2022/ngx-tethys-action.mjs.map +1 -1
  19. package/fesm2022/ngx-tethys-affix.mjs +14 -18
  20. package/fesm2022/ngx-tethys-affix.mjs.map +1 -1
  21. package/fesm2022/ngx-tethys-arrow-switcher.mjs +15 -3
  22. package/fesm2022/ngx-tethys-arrow-switcher.mjs.map +1 -1
  23. package/fesm2022/ngx-tethys-button.mjs +225 -322
  24. package/fesm2022/ngx-tethys-button.mjs.map +1 -1
  25. package/fesm2022/ngx-tethys-carousel.mjs +1 -0
  26. package/fesm2022/ngx-tethys-carousel.mjs.map +1 -1
  27. package/fesm2022/ngx-tethys-collapse.mjs +2 -2
  28. package/fesm2022/ngx-tethys-collapse.mjs.map +1 -1
  29. package/fesm2022/ngx-tethys-date-picker.mjs +6 -6
  30. package/fesm2022/ngx-tethys-date-picker.mjs.map +1 -1
  31. package/fesm2022/ngx-tethys-dropdown.mjs +155 -203
  32. package/fesm2022/ngx-tethys-dropdown.mjs.map +1 -1
  33. package/fesm2022/ngx-tethys-flexible-text.mjs +67 -86
  34. package/fesm2022/ngx-tethys-flexible-text.mjs.map +1 -1
  35. package/fesm2022/ngx-tethys-grid.mjs +10 -15
  36. package/fesm2022/ngx-tethys-grid.mjs.map +1 -1
  37. package/fesm2022/ngx-tethys-icon.mjs +44 -59
  38. package/fesm2022/ngx-tethys-icon.mjs.map +1 -1
  39. package/fesm2022/ngx-tethys-image.mjs +40 -36
  40. package/fesm2022/ngx-tethys-image.mjs.map +1 -1
  41. package/fesm2022/ngx-tethys-input-number.mjs.map +1 -1
  42. package/fesm2022/ngx-tethys-progress.mjs +7 -11
  43. package/fesm2022/ngx-tethys-progress.mjs.map +1 -1
  44. package/fesm2022/ngx-tethys-property.mjs +8 -19
  45. package/fesm2022/ngx-tethys-property.mjs.map +1 -1
  46. package/fesm2022/ngx-tethys-radio.mjs +42 -54
  47. package/fesm2022/ngx-tethys-radio.mjs.map +1 -1
  48. package/fesm2022/ngx-tethys-rate.mjs +115 -157
  49. package/fesm2022/ngx-tethys-rate.mjs.map +1 -1
  50. package/fesm2022/ngx-tethys-resizable.mjs +111 -157
  51. package/fesm2022/ngx-tethys-resizable.mjs.map +1 -1
  52. package/fesm2022/ngx-tethys-segment.mjs +84 -103
  53. package/fesm2022/ngx-tethys-segment.mjs.map +1 -1
  54. package/fesm2022/ngx-tethys-shared.mjs +2 -1
  55. package/fesm2022/ngx-tethys-shared.mjs.map +1 -1
  56. package/fesm2022/ngx-tethys-slide.mjs +37 -56
  57. package/fesm2022/ngx-tethys-slide.mjs.map +1 -1
  58. package/fesm2022/ngx-tethys-slider.mjs.map +1 -1
  59. package/fesm2022/ngx-tethys-space.mjs +2 -8
  60. package/fesm2022/ngx-tethys-space.mjs.map +1 -1
  61. package/fesm2022/ngx-tethys-strength.mjs +52 -66
  62. package/fesm2022/ngx-tethys-strength.mjs.map +1 -1
  63. package/fesm2022/ngx-tethys-transfer.mjs +98 -119
  64. package/fesm2022/ngx-tethys-transfer.mjs.map +1 -1
  65. package/fesm2022/ngx-tethys-tree-select.mjs +2 -4
  66. package/fesm2022/ngx-tethys-tree-select.mjs.map +1 -1
  67. package/fesm2022/ngx-tethys-tree.mjs +281 -401
  68. package/fesm2022/ngx-tethys-tree.mjs.map +1 -1
  69. package/fesm2022/ngx-tethys-upload.mjs +2 -2
  70. package/fesm2022/ngx-tethys-upload.mjs.map +1 -1
  71. package/fesm2022/ngx-tethys-vote.mjs +53 -99
  72. package/fesm2022/ngx-tethys-vote.mjs.map +1 -1
  73. package/fesm2022/ngx-tethys.mjs +1 -1
  74. package/fesm2022/ngx-tethys.mjs.map +1 -1
  75. package/flexible-text/flexible-text.component.d.ts +9 -15
  76. package/grid/flex.d.ts +1 -3
  77. package/grid/thy-row.directive.d.ts +1 -4
  78. package/icon/icon.component.d.ts +10 -18
  79. package/image/image.directive.d.ts +10 -13
  80. package/image/image.token.d.ts +5 -5
  81. package/input-number/input-number.component.d.ts +1 -1
  82. package/package.json +1 -1
  83. package/progress/progress-circle.component.d.ts +3 -5
  84. package/progress/progress.component.d.ts +2 -4
  85. package/property/properties.component.d.ts +0 -2
  86. package/property/property-item.component.d.ts +3 -10
  87. package/radio/group/radio-group.component.d.ts +5 -9
  88. package/rate/rate-item.component.d.ts +8 -11
  89. package/rate/rate.component.d.ts +18 -29
  90. package/resizable/resizable.directive.d.ts +18 -31
  91. package/resizable/resize-handle.component.d.ts +6 -7
  92. package/resizable/resize-handles.component.d.ts +5 -9
  93. package/schematics/version.d.ts +1 -1
  94. package/schematics/version.js +1 -1
  95. package/segment/segment-item.component.d.ts +9 -15
  96. package/segment/segment.component.d.ts +11 -15
  97. package/segment/segment.token.d.ts +4 -3
  98. package/slide/slide-body/slide-body-section.component.d.ts +2 -6
  99. package/slide/slide-header/slide-header.component.d.ts +6 -9
  100. package/space/space.component.d.ts +5 -11
  101. package/strength/strength.component.d.ts +8 -13
  102. package/transfer/transfer-list.component.d.ts +15 -15
  103. package/transfer/transfer.component.d.ts +20 -23
  104. package/tree/tree-abstract.d.ts +5 -5
  105. package/tree/tree-node.component.d.ts +24 -37
  106. package/tree/tree.class.d.ts +4 -4
  107. package/tree/tree.component.d.ts +47 -75
  108. package/tree/tree.service.d.ts +3 -4
  109. package/tree-select/tree-select.component.d.ts +2 -2
  110. package/vote/vote.component.d.ts +13 -33
@@ -1,25 +1,21 @@
1
- import { OnChanges, SimpleChanges } from '@angular/core';
2
1
  import { ThyResizeDirection } from './interface';
3
2
  import * as i0 from "@angular/core";
4
- import * as i1 from "ngx-tethys/util";
5
3
  export declare const DEFAULT_RESIZE_DIRECTION: ThyResizeDirection[];
6
4
  /**
7
5
  * 定义调整手柄的快捷组件
8
6
  * @name thy-resize-handles
9
7
  */
10
- export declare class ThyResizeHandles implements OnChanges {
8
+ export declare class ThyResizeHandles {
11
9
  /**
12
10
  * 定义调整手柄的方向
13
11
  * @type ThyResizeDirection[]
14
12
  */
15
- thyDirections: ThyResizeDirection[];
13
+ readonly thyDirections: import("@angular/core").InputSignal<ThyResizeDirection[]>;
16
14
  /**
17
15
  * 是否展示拖拽线
18
16
  */
19
- thyLine: boolean;
20
- directions: Set<ThyResizeDirection>;
21
- ngOnChanges(changes: SimpleChanges): void;
17
+ readonly thyLine: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
18
+ readonly directions: import("@angular/core").Signal<Set<ThyResizeDirection>>;
22
19
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyResizeHandles, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<ThyResizeHandles, "thy-resize-handles", ["thyResizeHandles"], { "thyDirections": { "alias": "thyDirections"; "required": false; }; "thyLine": { "alias": "thyLine"; "required": false; }; }, {}, never, never, true, never>;
24
- static ngAcceptInputType_thyLine: i1.ThyBooleanInput;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThyResizeHandles, "thy-resize-handles", ["thyResizeHandles"], { "thyDirections": { "alias": "thyDirections"; "required": false; "isSignal": true; }; "thyLine": { "alias": "thyLine"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
25
21
  }
@@ -1 +1 @@
1
- export declare const VERSION = "19.1.0-next.0";
1
+ export declare const VERSION = "19.1.0-next.2";
@@ -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.1.0-next.0';
4
+ exports.VERSION = '19.1.0-next.2';
@@ -1,40 +1,34 @@
1
- import { AfterViewInit, ElementRef, OnDestroy } from '@angular/core';
1
+ import { ElementRef } from '@angular/core';
2
2
  import { IThySegmentItemComponent } from './segment.token';
3
- import { SafeAny } from 'ngx-tethys/types';
4
3
  import * as i0 from "@angular/core";
5
- import * as i1 from "ngx-tethys/util";
6
4
  /**
7
5
  * 分段控制器的选项组件
8
6
  * @name thy-segment-item,[thy-segment-item]
9
7
  */
10
- export declare class ThySegmentItem implements IThySegmentItemComponent, AfterViewInit, OnDestroy {
8
+ export declare class ThySegmentItem implements IThySegmentItemComponent {
11
9
  elementRef: ElementRef<any>;
12
10
  private ngZone;
13
- private cdr;
14
11
  private renderer;
15
12
  private parent;
16
13
  /**
17
14
  * 选项的值
18
15
  */
19
- thyValue: SafeAny;
16
+ readonly thyValue: import("@angular/core").InputSignal<any>;
20
17
  /**
21
18
  * 选项的图标
22
19
  */
23
- thyIcon: string;
20
+ readonly thyIcon: import("@angular/core").InputSignal<string>;
24
21
  /**
25
22
  * 是否禁用该选项
26
23
  */
27
- thyDisabled: boolean;
28
- isOnlyIcon: boolean;
29
- isWithText: boolean;
30
- private destroy$;
24
+ readonly thyDisabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
25
+ isOnlyIcon: import("@angular/core").WritableSignal<boolean>;
26
+ isWithText: import("@angular/core").WritableSignal<boolean>;
27
+ private destroyRef;
31
28
  constructor();
32
- ngAfterViewInit(): void;
33
29
  select(): void;
34
30
  unselect(): void;
35
31
  private wrapSpanForText;
36
- ngOnDestroy(): void;
37
32
  static ɵfac: i0.ɵɵFactoryDeclaration<ThySegmentItem, never>;
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>;
39
- static ngAcceptInputType_thyDisabled: i1.ThyBooleanInput;
33
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThySegmentItem, "thy-segment-item,[thy-segment-item]", never, { "thyValue": { "alias": "thyValue"; "required": false; "isSignal": true; }; "thyIcon": { "alias": "thyIcon"; "required": false; "isSignal": true; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
40
34
  }
@@ -1,59 +1,55 @@
1
- import { AfterContentInit, EventEmitter, QueryList } from '@angular/core';
2
1
  import { ThumbAnimationProps } from 'ngx-tethys/core';
3
2
  import { ThySegmentItem } from './segment-item.component';
4
3
  import { IThySegmentComponent } from './segment.token';
5
4
  import { ThySegmentEvent } from './types';
6
5
  import { AnimationEvent } from '@angular/animations';
7
6
  import * as i0 from "@angular/core";
8
- import * as i1 from "ngx-tethys/util";
9
7
  export type ThySegmentSize = 'xs' | 'sm' | 'md' | 'default';
10
8
  export type ThySegmentMode = 'block' | 'inline';
11
9
  /**
12
10
  * 分段控制器组件
13
11
  * @name thy-segment
14
12
  */
15
- export declare class ThySegment implements IThySegmentComponent, AfterContentInit {
13
+ export declare class ThySegment implements IThySegmentComponent {
16
14
  private cdr;
17
15
  private destroyRef;
18
16
  /**
19
17
  * @internal
20
18
  */
21
- options: QueryList<ThySegmentItem>;
19
+ readonly options: import("@angular/core").Signal<readonly ThySegmentItem[]>;
22
20
  /**
23
21
  * 大小
24
22
  * @type xs | sm | md | default
25
23
  */
26
- thySize: ThySegmentSize;
24
+ readonly thySize: import("@angular/core").InputSignal<ThySegmentSize>;
27
25
  /**
28
26
  * 模式
29
27
  * @type block | inline
30
28
  */
31
- thyMode: ThySegmentMode;
29
+ readonly thyMode: import("@angular/core").InputSignal<ThySegmentMode>;
32
30
  /**
33
31
  * 是否禁用分段控制器
34
32
  */
35
- thyDisabled: boolean;
33
+ readonly thyDisabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
36
34
  /**
37
35
  * 选中选项的索引
38
36
  */
39
- set thyActiveIndex(value: number);
37
+ readonly thyActiveIndex: import("@angular/core").InputSignalWithTransform<number, unknown>;
40
38
  /**
41
39
  * 选项被选中的回调事件
42
40
  */
43
- readonly thySelectChange: EventEmitter<ThySegmentEvent<unknown>>;
41
+ readonly thySelectChange: import("@angular/core").OutputEmitterRef<ThySegmentEvent<unknown>>;
44
42
  selectedItem: ThySegmentItem;
45
43
  private newActiveIndex;
46
44
  private activeIndex;
47
- animationState: null | {
45
+ animationState: import("@angular/core").WritableSignal<{
48
46
  value: string;
49
47
  params: ThumbAnimationProps;
50
- };
48
+ }>;
51
49
  transitionedTo: any;
52
- ngAfterContentInit(): void;
50
+ constructor();
53
51
  changeSelectedItem(item: ThySegmentItem, event?: Event): void;
54
52
  handleThumbAnimationDone(event: AnimationEvent): void;
55
53
  static ɵfac: i0.ɵɵFactoryDeclaration<ThySegment, never>;
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>;
57
- static ngAcceptInputType_thyDisabled: i1.ThyBooleanInput;
58
- static ngAcceptInputType_thyActiveIndex: unknown;
54
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThySegment, "thy-segment", ["thySegment"], { "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; "thyMode": { "alias": "thyMode"; "required": false; "isSignal": true; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; "isSignal": true; }; "thyActiveIndex": { "alias": "thyActiveIndex"; "required": false; "isSignal": true; }; }, { "thySelectChange": "thySelectChange"; }, ["options"], ["*"], true, never>;
59
55
  }
@@ -1,5 +1,6 @@
1
- import { ElementRef, InjectionToken } from '@angular/core';
1
+ import { ElementRef, InjectionToken, InputSignal, InputSignalWithTransform } from '@angular/core';
2
2
  import { SafeAny } from 'ngx-tethys/types';
3
+ import { ThyBooleanInput } from 'ngx-tethys/util';
3
4
  export interface IThySegmentItemComponent {
4
5
  elementRef: ElementRef<HTMLElement>;
5
6
  thyValue: SafeAny;
@@ -7,8 +8,8 @@ export interface IThySegmentItemComponent {
7
8
  select: () => void;
8
9
  }
9
10
  export interface IThySegmentComponent {
10
- thyMode: string;
11
- thyDisabled: boolean;
11
+ thyMode: InputSignal<string>;
12
+ thyDisabled: InputSignalWithTransform<boolean, ThyBooleanInput> | InputSignal<boolean>;
12
13
  selectedItem: IThySegmentItemComponent;
13
14
  changeSelectedItem: (item: IThySegmentItemComponent, event?: Event) => void;
14
15
  }
@@ -1,20 +1,16 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
- import * as i1 from "ngx-tethys/util";
4
3
  /**
5
4
  * @name thy-slide-body-section
6
5
  * @order 50
7
6
  */
8
7
  export declare class ThySlideBodySection implements OnInit {
9
- thySlideBodyItem: boolean;
10
- hasDivider: boolean;
11
8
  /**
12
9
  * 是否有分割线
13
10
  * @default false
14
11
  */
15
- set thyDividerBorder(value: boolean);
12
+ readonly thyDividerBorder: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
16
13
  ngOnInit(): void;
17
14
  static ɵfac: i0.ɵɵFactoryDeclaration<ThySlideBodySection, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<ThySlideBodySection, "thy-slide-body-section", never, { "thyDividerBorder": { "alias": "thyDividerBorder"; "required": false; }; }, {}, never, ["*"], true, never>;
19
- static ngAcceptInputType_thyDividerBorder: i1.ThyBooleanInput;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThySlideBodySection, "thy-slide-body-section", never, { "thyDividerBorder": { "alias": "thyDividerBorder"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
20
16
  }
@@ -7,30 +7,27 @@ import * as i0 from "@angular/core";
7
7
  */
8
8
  export declare class ThySlideHeader implements OnInit {
9
9
  private thySlideService;
10
- isIconFont: boolean;
11
- private _iconName;
12
- slideLayoutHeader: boolean;
13
10
  /**
14
11
  * 标题
15
12
  */
16
- thyTitle: string;
13
+ readonly thyTitle: import("@angular/core").InputSignal<string>;
17
14
  /**
18
15
  * 标题的图标
19
16
  */
20
- set thyIcon(value: string);
21
- get thyIcon(): string;
17
+ readonly thyIcon: import("@angular/core").InputSignal<string>;
18
+ readonly isIconFont: import("@angular/core").Signal<boolean>;
22
19
  /**
23
20
  * 自定义头模板
24
21
  * @type TemplateRef
25
22
  */
26
- headerTemplate: TemplateRef<any>;
23
+ readonly headerTemplate: import("@angular/core").Signal<TemplateRef<any>>;
27
24
  /**
28
25
  * 头部操作区域模板
29
26
  * @type TemplateRef
30
27
  */
31
- headerOperateTemplate: TemplateRef<any>;
28
+ readonly headerOperateTemplate: import("@angular/core").Signal<TemplateRef<any>>;
32
29
  ngOnInit(): void;
33
30
  closeModal(event: Event): void;
34
31
  static ɵfac: i0.ɵɵFactoryDeclaration<ThySlideHeader, never>;
35
- static ɵcmp: i0.ɵɵComponentDeclaration<ThySlideHeader, "thy-slide-header", never, { "thyTitle": { "alias": "thyTitle"; "required": false; }; "thyIcon": { "alias": "thyIcon"; "required": false; }; }, {}, ["headerTemplate", "headerOperateTemplate"], never, true, never>;
32
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThySlideHeader, "thy-slide-header", never, { "thyTitle": { "alias": "thyTitle"; "required": false; "isSignal": true; }; "thyIcon": { "alias": "thyIcon"; "required": false; "isSignal": true; }; }, {}, ["headerTemplate", "headerOperateTemplate"], never, true, never>;
36
33
  }
@@ -1,4 +1,4 @@
1
- import { AfterContentInit, OnInit, TemplateRef } from '@angular/core';
1
+ import { TemplateRef } from '@angular/core';
2
2
  import { ThySpacingSize } from 'ngx-tethys/core';
3
3
  import * as i0 from "@angular/core";
4
4
  /**
@@ -6,9 +6,7 @@ import * as i0 from "@angular/core";
6
6
  * @name thySpaceItem
7
7
  * @order 20
8
8
  */
9
- export declare class ThySpaceItemDirective implements OnInit {
10
- constructor();
11
- ngOnInit(): void;
9
+ export declare class ThySpaceItemDirective {
12
10
  static ɵfac: i0.ɵɵFactoryDeclaration<ThySpaceItemDirective, never>;
13
11
  static ɵdir: i0.ɵɵDirectiveDeclaration<ThySpaceItemDirective, "[thySpaceItem]", never, {}, {}, never, never, true, never>;
14
12
  }
@@ -17,16 +15,14 @@ export declare class ThySpaceItemDirective implements OnInit {
17
15
  * @name thy-space
18
16
  * @order 10
19
17
  */
20
- export declare class ThySpace implements OnInit, AfterContentInit {
21
- private cdr;
22
- private readonly destroyRef;
18
+ export declare class ThySpace {
23
19
  private hostRenderer;
24
20
  /**
25
21
  * 大小,支持 `zero` | `xxs` | `xs` | `sm` | `md` | `lg` | `xlg` 和自定义数字大小
26
22
  * @type string | number
27
23
  */
28
24
  readonly thySize: import("@angular/core").InputSignal<ThySpacingSize>;
29
- space: import("@angular/core").Signal<number>;
25
+ readonly space: import("@angular/core").Signal<number>;
30
26
  /**
31
27
  * 间距垂直方向,默认是水平方向
32
28
  */
@@ -35,10 +31,8 @@ export declare class ThySpace implements OnInit, AfterContentInit {
35
31
  * 对齐方式,可选择 `start` | `end` | `baseline` | `center`
36
32
  */
37
33
  readonly thyAlign: import("@angular/core").InputSignal<string>;
38
- items: import("@angular/core").Signal<readonly TemplateRef<any>[]>;
34
+ readonly items: import("@angular/core").Signal<readonly TemplateRef<any>[]>;
39
35
  constructor();
40
- ngOnInit(): void;
41
- ngAfterContentInit(): void;
42
36
  static ɵfac: i0.ɵɵFactoryDeclaration<ThySpace, never>;
43
37
  static ɵcmp: i0.ɵɵComponentDeclaration<ThySpace, "thy-space", never, { "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; "thyVertical": { "alias": "thyVertical"; "required": false; "isSignal": true; }; "thyAlign": { "alias": "thyAlign"; "required": false; "isSignal": true; }; }, {}, ["items"], ["*"], true, never>;
44
38
  }
@@ -17,10 +17,9 @@ declare enum ThyStrengthEnum {
17
17
  export declare class ThyStrength implements OnInit, ControlValueAccessor {
18
18
  translate: ThyTranslate;
19
19
  styleClass: boolean;
20
- strengthTitle: string;
21
20
  strength: ThyStrengthEnum;
22
21
  locale: Signal<ThyStrengthLocale>;
23
- strengthMap: {
22
+ readonly strengthMap: Signal<{
24
23
  4: {
25
24
  level: string;
26
25
  text: string;
@@ -37,31 +36,27 @@ export declare class ThyStrength implements OnInit, ControlValueAccessor {
37
36
  level: string;
38
37
  text: string;
39
38
  };
40
- };
39
+ }>;
41
40
  /**
42
41
  * 组件标题,描述程度所指类型
43
42
  */
44
- set titleKey(value: string);
43
+ readonly titleKey: import("@angular/core").InputSignalWithTransform<string, string>;
45
44
  /**
46
45
  * 程度最高值文本
47
- * @default 最高
48
46
  */
49
- set highestKey(value: string);
47
+ readonly highestKey: import("@angular/core").InputSignalWithTransform<string, string>;
50
48
  /**
51
49
  * 程度为高值时展示的文本
52
- * @default 高
53
50
  */
54
- set highKey(value: string);
51
+ readonly highKey: import("@angular/core").InputSignalWithTransform<string, string>;
55
52
  /**
56
53
  * 程度为中值时展示的文本
57
- * @default 中
58
54
  */
59
- set averageKey(value: string);
55
+ readonly averageKey: import("@angular/core").InputSignalWithTransform<string, string>;
60
56
  /**
61
57
  * 程度为低值时展示的文本
62
- * @default 低
63
58
  */
64
- set lowKey(value: string);
59
+ readonly lowKey: import("@angular/core").InputSignalWithTransform<string, string>;
65
60
  private _onChange;
66
61
  private _onTouched;
67
62
  ngOnInit(): void;
@@ -69,6 +64,6 @@ export declare class ThyStrength implements OnInit, ControlValueAccessor {
69
64
  registerOnChange(fn: (value: any) => any): void;
70
65
  registerOnTouched(fn: () => any): void;
71
66
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyStrength, never>;
72
- static ɵcmp: i0.ɵɵComponentDeclaration<ThyStrength, "thy-strength", never, { "titleKey": { "alias": "titleKey"; "required": false; }; "highestKey": { "alias": "highestKey"; "required": false; }; "highKey": { "alias": "highKey"; "required": false; }; "averageKey": { "alias": "averageKey"; "required": false; }; "lowKey": { "alias": "lowKey"; "required": false; }; }, {}, never, never, true, never>;
67
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThyStrength, "thy-strength", never, { "titleKey": { "alias": "titleKey"; "required": false; "isSignal": true; }; "highestKey": { "alias": "highestKey"; "required": false; "isSignal": true; }; "highKey": { "alias": "highKey"; "required": false; "isSignal": true; }; "averageKey": { "alias": "averageKey"; "required": false; "isSignal": true; }; "lowKey": { "alias": "lowKey"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
73
68
  }
74
69
  export {};
@@ -1,5 +1,5 @@
1
1
  import { CdkDrag, CdkDragDrop } from '@angular/cdk/drag-drop';
2
- import { DoCheck, EventEmitter, OnInit, Signal, TemplateRef } from '@angular/core';
2
+ import { DoCheck, OnInit, Signal, TemplateRef } from '@angular/core';
3
3
  import { InnerTransferDragEvent, ThyTransferItem, ThyTransferSelectEvent } from './transfer.interface';
4
4
  import { ThyTransferLocale } from 'ngx-tethys/i18n';
5
5
  import * as i0 from "@angular/core";
@@ -14,19 +14,19 @@ export declare class ThyTransferList implements OnInit, DoCheck {
14
14
  private _lockDiff;
15
15
  private _unlockDiff;
16
16
  locale: Signal<ThyTransferLocale>;
17
- title: string;
18
- items: ThyTransferItem[];
19
- draggable: boolean;
20
- canLock: boolean;
21
- maxLock: number;
22
- max: number;
23
- disabled: boolean;
24
- template: TemplateRef<any>;
25
- contentRef: TemplateRef<any>;
26
- draggableUpdate: EventEmitter<InnerTransferDragEvent>;
27
- selectItem: EventEmitter<ThyTransferSelectEvent>;
28
- unselectItem: EventEmitter<ThyTransferSelectEvent>;
29
- hostClass: string;
17
+ readonly title: import("@angular/core").InputSignal<string>;
18
+ readonly items: import("@angular/core").InputSignal<ThyTransferItem[]>;
19
+ readonly draggable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
20
+ readonly canLock: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
21
+ readonly maxLock: import("@angular/core").InputSignalWithTransform<number, unknown>;
22
+ readonly max: import("@angular/core").InputSignalWithTransform<number, unknown>;
23
+ readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
24
+ readonly template: import("@angular/core").InputSignal<TemplateRef<any>>;
25
+ readonly renderContentRef: import("@angular/core").InputSignal<TemplateRef<any>>;
26
+ readonly draggableUpdate: import("@angular/core").OutputEmitterRef<InnerTransferDragEvent>;
27
+ readonly selectItem: import("@angular/core").OutputEmitterRef<ThyTransferSelectEvent>;
28
+ readonly unselectItem: import("@angular/core").OutputEmitterRef<ThyTransferSelectEvent>;
29
+ constructor();
30
30
  ngOnInit(): void;
31
31
  private _combineTransferData;
32
32
  private _afterChangeItems;
@@ -37,5 +37,5 @@ export declare class ThyTransferList implements OnInit, DoCheck {
37
37
  onUnselectItem: (item: ThyTransferItem) => void;
38
38
  drop(event: CdkDragDrop<ThyTransferItem[]>): void;
39
39
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyTransferList, never>;
40
- static ɵcmp: i0.ɵɵComponentDeclaration<ThyTransferList, "thy-transfer-list", never, { "title": { "alias": "title"; "required": false; }; "items": { "alias": "items"; "required": false; }; "draggable": { "alias": "draggable"; "required": false; }; "canLock": { "alias": "canLock"; "required": false; }; "maxLock": { "alias": "maxLock"; "required": false; }; "max": { "alias": "max"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "template": { "alias": "template"; "required": false; }; "contentRef": { "alias": "renderContentRef"; "required": false; }; }, { "draggableUpdate": "draggableUpdate"; "selectItem": "selectItem"; "unselectItem": "unselectItem"; }, never, never, true, never>;
40
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThyTransferList, "thy-transfer-list", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "items": { "alias": "items"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "canLock": { "alias": "canLock"; "required": false; "isSignal": true; }; "maxLock": { "alias": "maxLock"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "template": { "alias": "template"; "required": false; "isSignal": true; }; "renderContentRef": { "alias": "renderContentRef"; "required": false; "isSignal": true; }; }, { "draggableUpdate": "draggableUpdate"; "selectItem": "selectItem"; "unselectItem": "unselectItem"; }, never, never, true, never>;
41
41
  }
@@ -1,4 +1,4 @@
1
- import { EventEmitter, OnInit, TemplateRef } from '@angular/core';
1
+ import { OnInit, TemplateRef } from '@angular/core';
2
2
  import { Direction, InnerTransferDragEvent, ThyTransferChangeEvent, ThyTransferDragEvent, ThyTransferItem, ThyTransferSelectEvent } from './transfer.interface';
3
3
  import * as i0 from "@angular/core";
4
4
  /**
@@ -7,79 +7,76 @@ import * as i0 from "@angular/core";
7
7
  * @order 10
8
8
  */
9
9
  export declare class ThyTransfer implements OnInit {
10
- hostClass: string;
11
10
  leftDataSource: ThyTransferItem[];
12
11
  rightDataSource: ThyTransferItem[];
13
- allDataSource: ThyTransferItem[];
14
- leftTitle: string;
15
- rightTitle: string;
16
- rightDraggable: boolean;
17
- private _autoMove;
18
12
  /**
19
13
  * 数据源
20
14
  * @type ThyTransferItem[]
21
15
  */
22
- set thyData(value: ThyTransferItem[]);
23
- thyrenderLeftTemplateRef: TemplateRef<any>;
24
- thyrenderRightTemplateRef: TemplateRef<any>;
16
+ readonly thyData: import("@angular/core").InputSignal<ThyTransferItem[]>;
17
+ readonly thyRenderLeftTemplateRef: import("@angular/core").InputSignal<TemplateRef<any>>;
18
+ readonly thyRenderRightTemplateRef: import("@angular/core").InputSignal<TemplateRef<any>>;
25
19
  /**
26
20
  * title集合,title[0]为左标题,title[1]为右标题
27
21
  * @type string[]
28
22
  */
29
- set thyTitles(value: string[]);
23
+ readonly thyTitles: import("@angular/core").InputSignal<string[]>;
30
24
  /**
31
25
  * 右侧列表是否可以锁定
32
26
  * @default false
33
27
  */
34
- thyRightCanLock: boolean;
28
+ readonly thyRightCanLock: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
35
29
  /**
36
30
  * 右侧锁定最大数量
37
31
  */
38
- thyRightLockMax: number;
32
+ readonly thyRightLockMax: import("@angular/core").InputSignalWithTransform<number, unknown>;
39
33
  /**
40
34
  * 右侧选择最大数量
41
35
  */
42
- thyRightMax: number;
36
+ readonly thyRightMax: import("@angular/core").InputSignalWithTransform<number, unknown>;
43
37
  /**
44
38
  * 设置是否自动移动
45
39
  * @description.en-us Currently not implemented, in order to support the selections move
46
40
  * @default true
47
41
  */
48
- set thyAutoMove(value: boolean);
42
+ readonly thyAutoMove: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
49
43
  /**
50
44
  * 左侧列表是否拖动
51
45
  * @default false
52
46
  */
53
- thyLeftDraggable: boolean;
47
+ readonly thyLeftDraggable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
54
48
  /**
55
49
  * 右侧列表是否拖动
56
50
  * @default false
57
51
  */
58
- thyRightDraggable: boolean;
52
+ readonly thyRightDraggable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
59
53
  /**
60
54
  * @type EventEmitter<ThyTransferDragEvent>
61
55
  */
62
- thyDraggableUpdate: EventEmitter<ThyTransferDragEvent>;
56
+ thyDraggableUpdate: import("@angular/core").OutputEmitterRef<ThyTransferDragEvent>;
63
57
  /**
64
58
  * Transfer变化的回调事件
65
59
  * @type EventEmitter<ThyTransferChangeEvent>
66
60
  */
67
- thyChange: EventEmitter<ThyTransferChangeEvent>;
61
+ thyChange: import("@angular/core").OutputEmitterRef<ThyTransferChangeEvent>;
68
62
  /**
69
63
  * 设置自定义Item渲染数据模板
70
64
  * @type TemplateRef
71
65
  */
72
- templateRef: TemplateRef<any>;
66
+ readonly templateRef: import("@angular/core").Signal<TemplateRef<any>>;
73
67
  /**
74
68
  * 设置自定义左侧内容模板
75
69
  * @type TemplateRef
76
70
  */
77
- leftContentRef: TemplateRef<any>;
71
+ readonly leftContentRef: import("@angular/core").Signal<TemplateRef<any>>;
78
72
  /**
79
73
  * 设置自定义右侧内容模板
80
74
  * @type TemplateRef
81
75
  */
82
- rightContentRef: TemplateRef<any>;
76
+ readonly rightContentRef: import("@angular/core").Signal<TemplateRef<any>>;
77
+ readonly leftTitle: import("@angular/core").Signal<string>;
78
+ readonly rightTitle: import("@angular/core").Signal<string>;
79
+ constructor();
83
80
  ngOnInit(): void;
84
81
  initializeTransferData(data?: ThyTransferItem[]): void;
85
82
  onSelect(from: Direction, event: ThyTransferSelectEvent): void;
@@ -89,5 +86,5 @@ export declare class ThyTransfer implements OnInit {
89
86
  onMove(to: Direction): void;
90
87
  onDragUpdate(direction: Direction, event: InnerTransferDragEvent): void;
91
88
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyTransfer, never>;
92
- static ɵcmp: i0.ɵɵComponentDeclaration<ThyTransfer, "thy-transfer", never, { "thyData": { "alias": "thyData"; "required": false; }; "thyrenderLeftTemplateRef": { "alias": "thyrenderLeftTemplateRef"; "required": false; }; "thyrenderRightTemplateRef": { "alias": "thyrenderRightTemplateRef"; "required": false; }; "thyTitles": { "alias": "thyTitles"; "required": false; }; "thyRightCanLock": { "alias": "thyRightCanLock"; "required": false; }; "thyRightLockMax": { "alias": "thyRightLockMax"; "required": false; }; "thyRightMax": { "alias": "thyRightMax"; "required": false; }; "thyAutoMove": { "alias": "thyAutoMove"; "required": false; }; "thyLeftDraggable": { "alias": "thyLeftDraggable"; "required": false; }; "thyRightDraggable": { "alias": "thyRightDraggable"; "required": false; }; }, { "thyDraggableUpdate": "thyDraggableUpdate"; "thyChange": "thyChange"; }, ["templateRef", "leftContentRef", "rightContentRef"], never, true, never>;
89
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThyTransfer, "thy-transfer", never, { "thyData": { "alias": "thyData"; "required": false; "isSignal": true; }; "thyRenderLeftTemplateRef": { "alias": "thyRenderLeftTemplateRef"; "required": false; "isSignal": true; }; "thyRenderRightTemplateRef": { "alias": "thyRenderRightTemplateRef"; "required": false; "isSignal": true; }; "thyTitles": { "alias": "thyTitles"; "required": false; "isSignal": true; }; "thyRightCanLock": { "alias": "thyRightCanLock"; "required": false; "isSignal": true; }; "thyRightLockMax": { "alias": "thyRightLockMax"; "required": false; "isSignal": true; }; "thyRightMax": { "alias": "thyRightMax"; "required": false; "isSignal": true; }; "thyAutoMove": { "alias": "thyAutoMove"; "required": false; "isSignal": true; }; "thyLeftDraggable": { "alias": "thyLeftDraggable"; "required": false; "isSignal": true; }; "thyRightDraggable": { "alias": "thyRightDraggable"; "required": false; "isSignal": true; }; }, { "thyDraggableUpdate": "thyDraggableUpdate"; "thyChange": "thyChange"; }, ["templateRef", "leftContentRef", "rightContentRef"], never, true, never>;
93
90
  }
@@ -1,12 +1,12 @@
1
- import { InjectionToken } from '@angular/core';
1
+ import { InjectionToken, InputSignal, Signal } from '@angular/core';
2
2
  import { ThyTreeNode } from './tree.class';
3
3
  import { ThyTreeBeforeDragDropContext, ThyTreeBeforeDragStartContext, ThyTreeDragDropEvent, ThyTreeIcons } from './tree.class';
4
4
  export interface ThyTreeAbstractComponent {
5
- thyMultiple: boolean;
6
- thyDraggable: boolean;
7
- thyShowExpand: boolean;
5
+ thyMultiple: InputSignal<boolean>;
6
+ thyDraggable: InputSignal<boolean>;
7
+ thyShowExpand: InputSignal<boolean>;
8
8
  treeNodes: ThyTreeNode[];
9
- thyIcons: ThyTreeIcons;
9
+ icons: Signal<ThyTreeIcons>;
10
10
  thyBeforeDragStart(e: ThyTreeBeforeDragStartContext): boolean;
11
11
  thyBeforeDragDrop(e: ThyTreeBeforeDragDropContext): boolean;
12
12
  onDragDrop(event: ThyTreeDragDropEvent): void;