ngx-tethys 19.1.0-next.4 → 19.1.0-next.6

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 (83) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/date-picker/abstract-picker.component.d.ts +50 -52
  3. package/date-picker/abstract-picker.directive.d.ts +15 -40
  4. package/date-picker/base-picker.component.d.ts +11 -40
  5. package/date-picker/date-picker.config.d.ts +1 -0
  6. package/date-picker/lib/calendar/calendar-footer.component.d.ts +24 -19
  7. package/date-picker/lib/calendar/calendar-header.component.d.ts +15 -15
  8. package/date-picker/lib/calendar/calendar-table.component.d.ts +15 -16
  9. package/date-picker/lib/date/date-table-cell.component.d.ts +2 -3
  10. package/date-picker/lib/date/date-table.component.d.ts +2 -3
  11. package/date-picker/lib/date-carousel/date-carousel.component.d.ts +2 -3
  12. package/date-picker/lib/decade/decade-header.component.d.ts +2 -5
  13. package/date-picker/lib/decade/decade-table.component.d.ts +3 -5
  14. package/date-picker/lib/month/month-table.component.d.ts +1 -2
  15. package/date-picker/lib/popups/date-popup.component.d.ts +33 -34
  16. package/date-picker/lib/popups/inner-popup.component.d.ts +22 -29
  17. package/date-picker/lib/quarter/quarter-table.component.d.ts +1 -4
  18. package/date-picker/lib/year/year-header.component.d.ts +2 -4
  19. package/date-picker/lib/year/year-table.component.d.ts +2 -4
  20. package/date-picker/month-picker.component.d.ts +2 -2
  21. package/date-picker/picker.component.d.ts +30 -34
  22. package/date-picker/picker.pipes.d.ts +4 -5
  23. package/date-picker/picker.util.d.ts +5 -5
  24. package/date-picker/picker.validators.d.ts +4 -8
  25. package/date-picker/quarter-picker.component.d.ts +2 -3
  26. package/date-picker/week-picker.component.d.ts +0 -1
  27. package/date-picker/year-picker.component.d.ts +2 -3
  28. package/dropdown/dropdown.directive.d.ts +2 -1
  29. package/fesm2022/ngx-tethys-autocomplete.mjs +4 -4
  30. package/fesm2022/ngx-tethys-autocomplete.mjs.map +1 -1
  31. package/fesm2022/ngx-tethys-checkbox.mjs +2 -2
  32. package/fesm2022/ngx-tethys-checkbox.mjs.map +1 -1
  33. package/fesm2022/ngx-tethys-date-picker.mjs +833 -1060
  34. package/fesm2022/ngx-tethys-date-picker.mjs.map +1 -1
  35. package/fesm2022/ngx-tethys-divider.mjs +5 -5
  36. package/fesm2022/ngx-tethys-divider.mjs.map +1 -1
  37. package/fesm2022/ngx-tethys-dropdown.mjs +2 -1
  38. package/fesm2022/ngx-tethys-dropdown.mjs.map +1 -1
  39. package/fesm2022/ngx-tethys-i18n.mjs +11 -6
  40. package/fesm2022/ngx-tethys-i18n.mjs.map +1 -1
  41. package/fesm2022/ngx-tethys-layout.mjs +291 -334
  42. package/fesm2022/ngx-tethys-layout.mjs.map +1 -1
  43. package/fesm2022/ngx-tethys-list.mjs +11 -10
  44. package/fesm2022/ngx-tethys-list.mjs.map +1 -1
  45. package/fesm2022/ngx-tethys-radio.mjs +4 -4
  46. package/fesm2022/ngx-tethys-radio.mjs.map +1 -1
  47. package/fesm2022/ngx-tethys-select.mjs +164 -228
  48. package/fesm2022/ngx-tethys-select.mjs.map +1 -1
  49. package/fesm2022/ngx-tethys-shared.mjs +371 -523
  50. package/fesm2022/ngx-tethys-shared.mjs.map +1 -1
  51. package/fesm2022/ngx-tethys-tree-select.mjs +215 -281
  52. package/fesm2022/ngx-tethys-tree-select.mjs.map +1 -1
  53. package/fesm2022/ngx-tethys.mjs +1 -1
  54. package/fesm2022/ngx-tethys.mjs.map +1 -1
  55. package/i18n/i18n.d.ts +2 -1
  56. package/i18n/locales/de-de.d.ts +2 -1
  57. package/i18n/locales/en-us.d.ts +2 -1
  58. package/i18n/locales/ja-jp.d.ts +2 -1
  59. package/i18n/locales/zh-hans.d.ts +2 -1
  60. package/i18n/locales/zh-hant.d.ts +2 -1
  61. package/layout/header.component.d.ts +15 -19
  62. package/layout/layout.component.d.ts +3 -2
  63. package/layout/sidebar-header.component.d.ts +7 -8
  64. package/layout/sidebar.component.d.ts +32 -62
  65. package/package.json +54 -54
  66. package/schematics/version.d.ts +1 -1
  67. package/schematics/version.js +1 -1
  68. package/select/custom-select/custom-select.component.d.ts +33 -56
  69. package/select/native-select/native-select.component.d.ts +7 -13
  70. package/shared/base-form-check.component.d.ts +6 -8
  71. package/shared/directives/string-or-template-outlet.directive.d.ts +5 -6
  72. package/shared/directives/thy-autofocus.directive.d.ts +4 -6
  73. package/shared/directives/thy-scroll.directive.d.ts +5 -8
  74. package/shared/directives/thy-show.d.ts +3 -4
  75. package/shared/directives/thy-stop-propagation.directive.d.ts +4 -4
  76. package/shared/directives/view-outlet.directive.d.ts +6 -7
  77. package/shared/ng-transclude.directive.d.ts +2 -3
  78. package/shared/option/group/option-group.component.d.ts +5 -9
  79. package/shared/option/list-option/list-option.component.d.ts +4 -8
  80. package/shared/option/option.component.d.ts +10 -17
  81. package/shared/option/options-container.component.d.ts +1 -1
  82. package/shared/select/select-control/select-control.component.d.ts +27 -47
  83. package/tree-select/tree-select.component.d.ts +53 -70
@@ -1,8 +1,7 @@
1
1
  import { ThyTagSize } from 'ngx-tethys/tag';
2
- import { ElementRef, EventEmitter, OnInit, TemplateRef } from '@angular/core';
2
+ import { ElementRef, OnInit, TemplateRef, Signal } from '@angular/core';
3
3
  import { SelectOptionBase } from '../../option/select-option-base';
4
4
  import * as i0 from "@angular/core";
5
- import * as i1 from "ngx-tethys/util";
6
5
  export type SelectControlSize = 'xs' | 'sm' | 'md' | 'lg' | '';
7
6
  /**
8
7
  * @private
@@ -11,54 +10,42 @@ export declare class ThySelectControl implements OnInit {
11
10
  private renderer;
12
11
  inputValue: string;
13
12
  isComposing: boolean;
14
- panelOpened: boolean;
15
- isMultiple: boolean;
16
- showSearch: boolean;
17
- disabled: boolean;
18
- size: SelectControlSize;
19
- selectedOptions: SelectOptionBase | SelectOptionBase[];
20
13
  searchInputControlClass: {
21
14
  [key: string]: boolean;
22
15
  };
23
- tagSize: ThyTagSize;
24
16
  private hostRenderer;
25
- get thyPanelOpened(): boolean;
26
- set thyPanelOpened(value: boolean);
27
- get thyIsMultiple(): boolean;
28
- set thyIsMultiple(value: boolean);
29
- get thyShowSearch(): boolean;
30
- set thyShowSearch(value: boolean);
31
- get thySelectedOptions(): SelectOptionBase | SelectOptionBase[];
32
- set thySelectedOptions(value: SelectOptionBase | SelectOptionBase[]);
33
- get thyDisabled(): boolean;
34
- set thyDisabled(value: boolean);
35
- customDisplayTemplate: TemplateRef<any>;
36
- thyAllowClear: boolean;
37
- thyPlaceholder: string;
38
- get thySize(): SelectControlSize;
39
- set thySize(value: SelectControlSize);
40
- thyMaxTagCount: number;
41
- thyBorderless: boolean;
42
- thyPreset: string;
43
- thyOnSearch: EventEmitter<string>;
44
- thyOnRemove: EventEmitter<{
17
+ readonly thyPanelOpened: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
18
+ readonly thyIsMultiple: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
19
+ readonly thyShowSearch: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
20
+ readonly thySelectedOptions: import("@angular/core").InputSignal<SelectOptionBase | SelectOptionBase[]>;
21
+ protected readonly previousSelectedOptions: import("@angular/core").WritableSignal<unknown>;
22
+ readonly thyDisabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
23
+ readonly customDisplayTemplate: import("@angular/core").InputSignal<TemplateRef<any>>;
24
+ readonly thyAllowClear: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
25
+ readonly thyPlaceholder: import("@angular/core").InputSignal<string>;
26
+ readonly thySize: import("@angular/core").InputSignal<SelectControlSize>;
27
+ readonly tagSize: Signal<ThyTagSize>;
28
+ readonly thyMaxTagCount: import("@angular/core").InputSignalWithTransform<number, unknown>;
29
+ readonly thyBorderless: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
30
+ readonly thyPreset: import("@angular/core").InputSignal<string>;
31
+ readonly thyOnSearch: import("@angular/core").OutputEmitterRef<string>;
32
+ readonly thyOnRemove: import("@angular/core").OutputEmitterRef<{
45
33
  item: SelectOptionBase;
46
34
  $eventOrigin: Event;
47
35
  }>;
48
- thyOnClear: EventEmitter<Event>;
49
- thyOnBlur: EventEmitter<Event>;
50
- inputElement: ElementRef;
36
+ readonly thyOnClear: import("@angular/core").OutputEmitterRef<Event>;
37
+ readonly thyOnBlur: import("@angular/core").OutputEmitterRef<Event>;
38
+ readonly inputElement: Signal<ElementRef<any>>;
39
+ isSelectedValue: Signal<boolean>;
40
+ showClearIcon: Signal<boolean>;
41
+ maxSelectedTags: Signal<SelectOptionBase[]>;
51
42
  get selectedValueStyle(): {
52
- [key: string]: string;
43
+ display: string;
53
44
  };
54
45
  get placeholderStyle(): {
55
- [key: string]: string;
46
+ display: string;
56
47
  };
57
- get selectedValue(): any;
58
- get multipleSelectedValue(): any;
59
- get maxSelectedTags(): SelectOptionBase[];
60
- get showClearIcon(): boolean;
61
- get isSelectedValue(): boolean;
48
+ constructor();
62
49
  ngOnInit(): void;
63
50
  setSelectControlClass(): void;
64
51
  setInputValue(value: string): void;
@@ -69,12 +56,5 @@ export declare class ThySelectControl implements OnInit {
69
56
  trackValue(_index: number, option: SelectOptionBase): any;
70
57
  onBlur(event: Event): void;
71
58
  static ɵfac: i0.ɵɵFactoryDeclaration<ThySelectControl, never>;
72
- static ɵcmp: i0.ɵɵComponentDeclaration<ThySelectControl, "thy-select-control,[thySelectControl]", never, { "thyPanelOpened": { "alias": "thyPanelOpened"; "required": false; }; "thyIsMultiple": { "alias": "thyIsMultiple"; "required": false; }; "thyShowSearch": { "alias": "thyShowSearch"; "required": false; }; "thySelectedOptions": { "alias": "thySelectedOptions"; "required": false; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; "customDisplayTemplate": { "alias": "customDisplayTemplate"; "required": false; }; "thyAllowClear": { "alias": "thyAllowClear"; "required": false; }; "thyPlaceholder": { "alias": "thyPlaceholder"; "required": false; }; "thySize": { "alias": "thySize"; "required": false; }; "thyMaxTagCount": { "alias": "thyMaxTagCount"; "required": false; }; "thyBorderless": { "alias": "thyBorderless"; "required": false; }; "thyPreset": { "alias": "thyPreset"; "required": false; }; }, { "thyOnSearch": "thyOnSearch"; "thyOnRemove": "thyOnRemove"; "thyOnClear": "thyOnClear"; "thyOnBlur": "thyOnBlur"; }, never, never, true, never>;
73
- static ngAcceptInputType_thyPanelOpened: i1.ThyBooleanInput;
74
- static ngAcceptInputType_thyIsMultiple: i1.ThyBooleanInput;
75
- static ngAcceptInputType_thyShowSearch: i1.ThyBooleanInput;
76
- static ngAcceptInputType_thyDisabled: i1.ThyBooleanInput;
77
- static ngAcceptInputType_thyAllowClear: i1.ThyBooleanInput;
78
- static ngAcceptInputType_thyMaxTagCount: unknown;
79
- static ngAcceptInputType_thyBorderless: i1.ThyBooleanInput;
59
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThySelectControl, "thy-select-control,[thySelectControl]", never, { "thyPanelOpened": { "alias": "thyPanelOpened"; "required": false; "isSignal": true; }; "thyIsMultiple": { "alias": "thyIsMultiple"; "required": false; "isSignal": true; }; "thyShowSearch": { "alias": "thyShowSearch"; "required": false; "isSignal": true; }; "thySelectedOptions": { "alias": "thySelectedOptions"; "required": false; "isSignal": true; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; "isSignal": true; }; "customDisplayTemplate": { "alias": "customDisplayTemplate"; "required": false; "isSignal": true; }; "thyAllowClear": { "alias": "thyAllowClear"; "required": false; "isSignal": true; }; "thyPlaceholder": { "alias": "thyPlaceholder"; "required": false; "isSignal": true; }; "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; "thyMaxTagCount": { "alias": "thyMaxTagCount"; "required": false; "isSignal": true; }; "thyBorderless": { "alias": "thyBorderless"; "required": false; "isSignal": true; }; "thyPreset": { "alias": "thyPreset"; "required": false; "isSignal": true; }; }, { "thyOnSearch": "thyOnSearch"; "thyOnRemove": "thyOnRemove"; "thyOnClear": "thyOnClear"; "thyOnBlur": "thyOnBlur"; }, never, never, true, never>;
80
60
  }
@@ -1,11 +1,10 @@
1
1
  import { TabIndexDisabledControlValueAccessorMixin } from 'ngx-tethys/core';
2
2
  import { Observable } from 'rxjs';
3
3
  import { CdkConnectedOverlay, CdkOverlayOrigin, ConnectionPositionPair } from '@angular/cdk/overlay';
4
- import { ElementRef, OnDestroy, OnInit, TemplateRef, Signal } from '@angular/core';
4
+ import { ElementRef, TemplateRef, Signal } from '@angular/core';
5
5
  import { ControlValueAccessor } from '@angular/forms';
6
6
  import { ThyTreeSelectNode, ThyTreeSelectType } from './tree-select.class';
7
7
  import * as i0 from "@angular/core";
8
- import * as i1 from "ngx-tethys/util";
9
8
  type InputSize = 'xs' | 'sm' | 'md' | 'lg' | '';
10
9
  export declare function filterTreeData(treeNodes: ThyTreeSelectNode[], searchText: string, searchKey?: string): ThyTreeSelectNode[];
11
10
  /**
@@ -13,122 +12,117 @@ export declare function filterTreeData(treeNodes: ThyTreeSelectNode[], searchTex
13
12
  * @name thy-tree-select
14
13
  * @order 10
15
14
  */
16
- export declare class ThyTreeSelect extends TabIndexDisabledControlValueAccessorMixin implements OnInit, OnDestroy, ControlValueAccessor {
15
+ export declare class ThyTreeSelect extends TabIndexDisabledControlValueAccessorMixin implements ControlValueAccessor {
17
16
  elementRef: ElementRef<any>;
18
17
  private ngZone;
19
18
  private ref;
20
19
  private platformId;
21
20
  private thyClickDispatcher;
22
21
  private viewportRuler;
23
- treeSelectClass: boolean;
24
- isTreeSelect: boolean;
25
- expandTreeSelectOptions: boolean;
26
- isMulti: boolean;
27
- treeNodes: ThyTreeSelectNode[];
28
- selectedValue: any;
29
- selectedNode: ThyTreeSelectNode;
30
- selectedNodes: ThyTreeSelectNode[];
31
- flattenTreeNodes: ThyTreeSelectNode[];
32
- virtualTreeNodes: ThyTreeSelectNode[];
33
- cdkConnectOverlayWidth: number;
22
+ private destroyRef;
23
+ expandTreeSelectOptions: import("@angular/core").WritableSignal<boolean>;
24
+ selectedValue: import("@angular/core").WritableSignal<any>;
25
+ selectedNode: import("@angular/core").WritableSignal<ThyTreeSelectNode>;
26
+ selectedNodes: import("@angular/core").WritableSignal<ThyTreeSelectNode[]>;
27
+ flattenTreeNodes: import("@angular/core").WritableSignal<ThyTreeSelectNode[]>;
28
+ virtualTreeNodes: import("@angular/core").WritableSignal<ThyTreeSelectNode[]>;
29
+ cdkConnectOverlayWidth: import("@angular/core").WritableSignal<number>;
34
30
  expandedDropdownPositions: ConnectionPositionPair[];
35
31
  icons: {
36
32
  expand: string;
37
33
  collapse: string;
38
34
  gap?: number;
39
35
  };
40
- private initialled;
41
- private destroy$;
42
36
  private locale;
43
- valueIsObject: boolean;
44
- originTreeNodes: ThyTreeSelectNode[];
45
- thyTreeSelectTriggerDisplayRef: TemplateRef<any>;
46
- treeNodeTemplateRef: TemplateRef<any>;
47
- cdkOverlayOrigin: CdkOverlayOrigin;
48
- cdkConnectedOverlay: CdkConnectedOverlay;
49
- customDisplayTemplate: TemplateRef<any>;
37
+ valueIsObject: Signal<boolean>;
38
+ searchText: import("@angular/core").WritableSignal<string>;
39
+ readonly thyTreeSelectTriggerDisplayRef: Signal<TemplateRef<any>>;
40
+ readonly treeNodeTemplateRef: Signal<TemplateRef<any>>;
41
+ readonly cdkOverlayOrigin: Signal<CdkOverlayOrigin>;
42
+ readonly cdkConnectedOverlay: Signal<CdkConnectedOverlay>;
43
+ readonly customDisplayTemplate: Signal<TemplateRef<any>>;
50
44
  /**
51
45
  * treeNodes 数据
52
46
  * @type ThyTreeSelectNode[]
53
47
  */
54
- set thyTreeNodes(value: ThyTreeSelectNode[]);
48
+ readonly thyTreeNodes: import("@angular/core").InputSignal<ThyTreeSelectNode[]>;
49
+ treeNodes: Signal<ThyTreeSelectNode[]>;
55
50
  /**
56
51
  * 开启虚拟滚动
57
52
  */
58
- thyVirtualScroll: boolean;
53
+ readonly thyVirtualScroll: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
59
54
  /**
60
55
  * 树节点的唯一标识
61
56
  * @type string
62
57
  */
63
- thyPrimaryKey: string;
58
+ readonly thyPrimaryKey: import("@angular/core").InputSignal<string>;
64
59
  /**
65
60
  * 树节点的显示的字段 key
66
61
  * @type string
67
62
  */
68
- thyShowKey: string;
69
- thyChildCountKey: string;
63
+ readonly thyShowKey: import("@angular/core").InputSignal<string>;
64
+ readonly thyChildCountKey: import("@angular/core").InputSignal<string>;
70
65
  /**
71
66
  * 单选时,是否显示清除按钮,当为 true 时,显示清除按钮
72
67
  * @default false
73
68
  */
74
- thyAllowClear: boolean;
69
+ readonly thyAllowClear: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
75
70
  /**
76
71
  * 是否多选
77
72
  * @type boolean
78
73
  */
79
- thyMultiple: boolean;
74
+ readonly thyMultiple: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
80
75
  /**
81
76
  * 是否禁用树选择器,当为 true 禁用树选择器
82
77
  * @type boolean
83
78
  */
84
- thyDisable: boolean;
79
+ readonly thyDisable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
85
80
  get thyDisabled(): boolean;
86
81
  /**
87
82
  * 树选择框默认文字
88
83
  * @type string
89
84
  */
90
- thyPlaceholder: string;
91
- get placeholder(): string;
85
+ readonly thyPlaceholder: import("@angular/core").InputSignal<string>;
92
86
  /**
93
87
  * 控制树选择的输入框大小
94
88
  * @type xs | sm | md | default | lg
95
89
  */
96
- thySize: InputSize;
90
+ readonly thySize: import("@angular/core").InputSignal<InputSize>;
97
91
  /**
98
92
  * 改变空选项的情况下的提示文本
99
93
  * @type string
100
94
  */
101
- thyEmptyOptionsText: string;
95
+ readonly thyEmptyOptionsText: import("@angular/core").InputSignal<string>;
102
96
  /**
103
97
  * 设置是否隐藏节点(不可进行任何操作),优先级高于 thyHiddenNodeFn
104
98
  * @type string
105
99
  */
106
- thyHiddenNodeKey: string;
100
+ readonly thyHiddenNodeKey: import("@angular/core").InputSignal<string>;
107
101
  /**
108
102
  * 设置是否禁用节点(不可进行任何操作),优先级高于 thyDisableNodeFn
109
103
  * @type string
110
104
  */
111
- thyDisableNodeKey: string;
105
+ readonly thyDisableNodeKey: import("@angular/core").InputSignal<string>;
112
106
  /**
113
107
  * 是否异步加载节点的子节点(显示加载状态),当为 true 时,异步获取
114
108
  * @type boolean
115
109
  */
116
- thyAsyncNode: boolean;
110
+ readonly thyAsyncNode: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
117
111
  /**
118
112
  * 是否展示全名
119
113
  * @type boolean
120
114
  */
121
- thyShowWholeName: boolean;
115
+ readonly thyShowWholeName: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
122
116
  /**
123
117
  * 是否展示搜索
124
118
  * @type boolean
125
119
  */
126
- thyShowSearch: boolean;
120
+ readonly thyShowSearch: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
127
121
  /**
128
122
  * 图标类型,支持 default | especial,已废弃
129
123
  * @deprecated
130
124
  */
131
- set thyIconType(type: ThyTreeSelectType);
125
+ readonly thyIconType: import("@angular/core").InputSignal<ThyTreeSelectType>;
132
126
  /**
133
127
  * 设置是否隐藏节点(不可进行任何操作),优先级低于 thyHiddenNodeKey。
134
128
  * @default (node: ThyTreeSelectNode) => boolean = (node: ThyTreeSelectNode) => node.hidden
@@ -148,19 +142,17 @@ export declare class ThyTreeSelect extends TabIndexDisabledControlValueAccessorM
148
142
  * 树选择组件展开和折叠状态事件
149
143
  */
150
144
  readonly thyExpandStatusChange: import("@angular/core").OutputEmitterRef<boolean>;
151
- private _getNgModelType;
152
145
  buildFlattenTreeNodes(): void;
153
146
  private getFlattenTreeNodes;
154
147
  writeValue(value: any): void;
155
148
  constructor();
156
- ngOnInit(): void;
149
+ private bindClickEvent;
150
+ private bindResizeEvent;
157
151
  onFocus($event: FocusEvent): void;
158
152
  onBlur($event: FocusEvent): void;
159
- ngOnDestroy(): void;
160
- get selectedValueObject(): ThyTreeSelectNode | ThyTreeSelectNode[];
153
+ readonly selectedValueObject: Signal<ThyTreeSelectNode | ThyTreeSelectNode[]>;
161
154
  searchValue(searchText: string): void;
162
155
  setPosition(): void;
163
- private init;
164
156
  private flattenNodes;
165
157
  private _findTreeNode;
166
158
  private setSelectedNodes;
@@ -176,36 +168,27 @@ export declare class ThyTreeSelect extends TabIndexDisabledControlValueAccessorM
176
168
  selectNode(node: ThyTreeSelectNode): void;
177
169
  getNodeChildren(node: ThyTreeSelectNode): Observable<ThyTreeSelectNode>;
178
170
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyTreeSelect, never>;
179
- static ɵcmp: i0.ɵɵComponentDeclaration<ThyTreeSelect, "thy-tree-select", never, { "thyTreeNodes": { "alias": "thyTreeNodes"; "required": false; }; "thyVirtualScroll": { "alias": "thyVirtualScroll"; "required": false; }; "thyPrimaryKey": { "alias": "thyPrimaryKey"; "required": false; }; "thyShowKey": { "alias": "thyShowKey"; "required": false; }; "thyChildCountKey": { "alias": "thyChildCountKey"; "required": false; }; "thyAllowClear": { "alias": "thyAllowClear"; "required": false; }; "thyMultiple": { "alias": "thyMultiple"; "required": false; }; "thyDisable": { "alias": "thyDisable"; "required": false; }; "thyPlaceholder": { "alias": "thyPlaceholder"; "required": false; }; "thySize": { "alias": "thySize"; "required": false; }; "thyEmptyOptionsText": { "alias": "thyEmptyOptionsText"; "required": false; }; "thyHiddenNodeKey": { "alias": "thyHiddenNodeKey"; "required": false; }; "thyDisableNodeKey": { "alias": "thyDisableNodeKey"; "required": false; }; "thyAsyncNode": { "alias": "thyAsyncNode"; "required": false; }; "thyShowWholeName": { "alias": "thyShowWholeName"; "required": false; }; "thyShowSearch": { "alias": "thyShowSearch"; "required": false; }; "thyIconType": { "alias": "thyIconType"; "required": false; }; "thyHiddenNodeFn": { "alias": "thyHiddenNodeFn"; "required": false; }; "thyDisableNodeFn": { "alias": "thyDisableNodeFn"; "required": false; }; "thyGetNodeChildren": { "alias": "thyGetNodeChildren"; "required": false; }; }, { "thyExpandStatusChange": "thyExpandStatusChange"; }, ["thyTreeSelectTriggerDisplayRef", "treeNodeTemplateRef"], never, true, never>;
180
- static ngAcceptInputType_thyVirtualScroll: i1.ThyBooleanInput;
181
- static ngAcceptInputType_thyAllowClear: i1.ThyBooleanInput;
182
- static ngAcceptInputType_thyMultiple: i1.ThyBooleanInput;
183
- static ngAcceptInputType_thyDisable: i1.ThyBooleanInput;
184
- static ngAcceptInputType_thyAsyncNode: i1.ThyBooleanInput;
185
- static ngAcceptInputType_thyShowWholeName: i1.ThyBooleanInput;
186
- static ngAcceptInputType_thyShowSearch: i1.ThyBooleanInput;
171
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThyTreeSelect, "thy-tree-select", never, { "thyTreeNodes": { "alias": "thyTreeNodes"; "required": false; "isSignal": true; }; "thyVirtualScroll": { "alias": "thyVirtualScroll"; "required": false; "isSignal": true; }; "thyPrimaryKey": { "alias": "thyPrimaryKey"; "required": false; "isSignal": true; }; "thyShowKey": { "alias": "thyShowKey"; "required": false; "isSignal": true; }; "thyChildCountKey": { "alias": "thyChildCountKey"; "required": false; "isSignal": true; }; "thyAllowClear": { "alias": "thyAllowClear"; "required": false; "isSignal": true; }; "thyMultiple": { "alias": "thyMultiple"; "required": false; "isSignal": true; }; "thyDisable": { "alias": "thyDisable"; "required": false; "isSignal": true; }; "thyPlaceholder": { "alias": "thyPlaceholder"; "required": false; "isSignal": true; }; "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; "thyEmptyOptionsText": { "alias": "thyEmptyOptionsText"; "required": false; "isSignal": true; }; "thyHiddenNodeKey": { "alias": "thyHiddenNodeKey"; "required": false; "isSignal": true; }; "thyDisableNodeKey": { "alias": "thyDisableNodeKey"; "required": false; "isSignal": true; }; "thyAsyncNode": { "alias": "thyAsyncNode"; "required": false; "isSignal": true; }; "thyShowWholeName": { "alias": "thyShowWholeName"; "required": false; "isSignal": true; }; "thyShowSearch": { "alias": "thyShowSearch"; "required": false; "isSignal": true; }; "thyIconType": { "alias": "thyIconType"; "required": false; "isSignal": true; }; "thyHiddenNodeFn": { "alias": "thyHiddenNodeFn"; "required": false; }; "thyDisableNodeFn": { "alias": "thyDisableNodeFn"; "required": false; }; "thyGetNodeChildren": { "alias": "thyGetNodeChildren"; "required": false; }; }, { "thyExpandStatusChange": "thyExpandStatusChange"; }, ["thyTreeSelectTriggerDisplayRef", "treeNodeTemplateRef"], never, true, never>;
187
172
  }
188
173
  /**
189
174
  * @private
190
175
  */
191
- export declare class ThyTreeSelectNodes implements OnInit {
176
+ export declare class ThyTreeSelectNodes {
192
177
  parent: ThyTreeSelect;
193
178
  emptyIcon: Signal<string>;
194
- class: string;
195
- nodeList: ThyTreeSelectNode[];
196
- set treeNodes(value: ThyTreeSelectNode[]);
197
- thyVirtualScroll: boolean;
198
- primaryKey: string;
199
- showKey: string;
200
- isMultiple: boolean;
201
- valueIsObject: boolean;
202
- selectedValue: any;
203
- childCountKey: string;
204
- treeNodeTemplateRef: TemplateRef<any>;
179
+ readonly treeNodes: import("@angular/core").InputSignal<ThyTreeSelectNode[]>;
180
+ readonly thyVirtualScroll: import("@angular/core").InputSignal<boolean>;
181
+ readonly isMultiple: Signal<boolean>;
182
+ readonly childCountKey: Signal<string>;
183
+ readonly treeNodeTemplateRef: Signal<TemplateRef<any>>;
205
184
  defaultItemSize: number;
206
- thyVirtualHeight: string;
207
- hasNodeChildren: boolean;
208
- ngOnInit(): void;
185
+ readonly thyPrimaryKey: Signal<string>;
186
+ readonly selectedNodes: Signal<ThyTreeSelectNode[]>;
187
+ readonly selectedNode: Signal<ThyTreeSelectNode>;
188
+ readonly hiddenNodeKey: Signal<string>;
189
+ readonly disableNodeKey: Signal<string>;
190
+ readonly thyVirtualHeight: Signal<string>;
191
+ readonly hasNodeChildren: Signal<boolean>;
209
192
  treeNodeIsSelected(node: ThyTreeSelectNode): boolean | ThyTreeSelectNode;
210
193
  treeNodeIsHidden(node: ThyTreeSelectNode): any;
211
194
  treeNodeIsDisable(node: ThyTreeSelectNode): any;
@@ -215,6 +198,6 @@ export declare class ThyTreeSelectNodes implements OnInit {
215
198
  nodeExpandToggle(event: Event, node: ThyTreeSelectNode): void;
216
199
  tabTrackBy(index: number, item: ThyTreeSelectNode): number;
217
200
  static ɵfac: i0.ɵɵFactoryDeclaration<ThyTreeSelectNodes, never>;
218
- static ɵcmp: i0.ɵɵComponentDeclaration<ThyTreeSelectNodes, "thy-tree-select-nodes", never, { "treeNodes": { "alias": "treeNodes"; "required": false; }; "thyVirtualScroll": { "alias": "thyVirtualScroll"; "required": false; }; }, {}, never, never, true, never>;
201
+ static ɵcmp: i0.ɵɵComponentDeclaration<ThyTreeSelectNodes, "thy-tree-select-nodes", never, { "treeNodes": { "alias": "treeNodes"; "required": false; "isSignal": true; }; "thyVirtualScroll": { "alias": "thyVirtualScroll"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
219
202
  }
220
203
  export {};