ngx-tethys 19.1.0-next.1 → 19.1.0-next.10
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.
- package/CHANGELOG.md +105 -0
- package/arrow-switcher/arrow-switcher.component.d.ts +5 -1
- package/badge/badge.component.d.ts +1 -1
- package/color-picker/coordinates.directive.d.ts +1 -2
- package/date-picker/abstract-picker.component.d.ts +50 -52
- package/date-picker/abstract-picker.directive.d.ts +15 -40
- package/date-picker/base-picker.component.d.ts +12 -40
- package/date-picker/date-picker.config.d.ts +3 -0
- package/date-picker/lib/calendar/calendar-footer.component.d.ts +24 -19
- package/date-picker/lib/calendar/calendar-header.component.d.ts +15 -15
- package/date-picker/lib/calendar/calendar-table.component.d.ts +15 -16
- package/date-picker/lib/date/date-table-cell.component.d.ts +6 -3
- package/date-picker/lib/date/date-table.component.d.ts +2 -3
- package/date-picker/lib/date-carousel/date-carousel.component.d.ts +2 -3
- package/date-picker/lib/decade/decade-header.component.d.ts +2 -5
- package/date-picker/lib/decade/decade-table.component.d.ts +3 -5
- package/date-picker/lib/month/month-table.component.d.ts +1 -2
- package/date-picker/lib/popups/date-popup.component.d.ts +33 -34
- package/date-picker/lib/popups/inner-popup.component.d.ts +22 -29
- package/date-picker/lib/quarter/quarter-table.component.d.ts +1 -4
- package/date-picker/lib/year/year-header.component.d.ts +2 -4
- package/date-picker/lib/year/year-table.component.d.ts +2 -4
- package/date-picker/month-picker.component.d.ts +2 -2
- package/date-picker/picker.component.d.ts +31 -36
- package/date-picker/picker.pipes.d.ts +4 -5
- package/date-picker/picker.util.d.ts +5 -5
- package/date-picker/picker.validators.d.ts +4 -8
- package/date-picker/quarter-picker.component.d.ts +2 -3
- package/date-picker/styles/range-picker.scss +1 -0
- package/date-picker/week-picker.component.d.ts +0 -1
- package/date-picker/year-picker.component.d.ts +2 -3
- package/dropdown/dropdown-menu.component.d.ts +1 -1
- package/dropdown/dropdown.directive.d.ts +4 -3
- package/empty/empty.component.d.ts +2 -1
- package/fesm2022/ngx-tethys-arrow-switcher.mjs +15 -3
- package/fesm2022/ngx-tethys-arrow-switcher.mjs.map +1 -1
- package/fesm2022/ngx-tethys-autocomplete.mjs +4 -4
- package/fesm2022/ngx-tethys-autocomplete.mjs.map +1 -1
- package/fesm2022/ngx-tethys-badge.mjs.map +1 -1
- package/fesm2022/ngx-tethys-cascader.mjs +1 -1
- package/fesm2022/ngx-tethys-cascader.mjs.map +1 -1
- package/fesm2022/ngx-tethys-checkbox.mjs +2 -2
- package/fesm2022/ngx-tethys-checkbox.mjs.map +1 -1
- package/fesm2022/ngx-tethys-color-picker.mjs +4 -6
- package/fesm2022/ngx-tethys-color-picker.mjs.map +1 -1
- package/fesm2022/ngx-tethys-copy.mjs +2 -2
- package/fesm2022/ngx-tethys-copy.mjs.map +1 -1
- package/fesm2022/ngx-tethys-date-picker.mjs +855 -1072
- package/fesm2022/ngx-tethys-date-picker.mjs.map +1 -1
- package/fesm2022/ngx-tethys-divider.mjs +5 -5
- package/fesm2022/ngx-tethys-divider.mjs.map +1 -1
- package/fesm2022/ngx-tethys-dropdown.mjs +9 -11
- package/fesm2022/ngx-tethys-dropdown.mjs.map +1 -1
- package/fesm2022/ngx-tethys-empty.mjs +5 -2
- package/fesm2022/ngx-tethys-empty.mjs.map +1 -1
- package/fesm2022/ngx-tethys-flexible-text.mjs +4 -5
- package/fesm2022/ngx-tethys-flexible-text.mjs.map +1 -1
- package/fesm2022/ngx-tethys-i18n.mjs +26 -6
- package/fesm2022/ngx-tethys-i18n.mjs.map +1 -1
- package/fesm2022/ngx-tethys-image.mjs +5 -7
- package/fesm2022/ngx-tethys-image.mjs.map +1 -1
- package/fesm2022/ngx-tethys-layout.mjs +291 -334
- package/fesm2022/ngx-tethys-layout.mjs.map +1 -1
- package/fesm2022/ngx-tethys-list.mjs +183 -217
- package/fesm2022/ngx-tethys-list.mjs.map +1 -1
- package/fesm2022/ngx-tethys-message.mjs +29 -36
- package/fesm2022/ngx-tethys-message.mjs.map +1 -1
- package/fesm2022/ngx-tethys-notify.mjs +33 -41
- package/fesm2022/ngx-tethys-notify.mjs.map +1 -1
- package/fesm2022/ngx-tethys-radio.mjs +4 -4
- package/fesm2022/ngx-tethys-radio.mjs.map +1 -1
- package/fesm2022/ngx-tethys-resizable.mjs +20 -17
- package/fesm2022/ngx-tethys-resizable.mjs.map +1 -1
- package/fesm2022/ngx-tethys-select.mjs +164 -228
- package/fesm2022/ngx-tethys-select.mjs.map +1 -1
- package/fesm2022/ngx-tethys-shared.mjs +423 -587
- package/fesm2022/ngx-tethys-shared.mjs.map +1 -1
- package/fesm2022/ngx-tethys-skeleton.mjs +1 -2
- package/fesm2022/ngx-tethys-skeleton.mjs.map +1 -1
- package/fesm2022/ngx-tethys-stepper.mjs.map +1 -1
- package/fesm2022/ngx-tethys-table.mjs +1 -2
- package/fesm2022/ngx-tethys-table.mjs.map +1 -1
- package/fesm2022/ngx-tethys-time-picker.mjs +244 -271
- package/fesm2022/ngx-tethys-time-picker.mjs.map +1 -1
- package/fesm2022/ngx-tethys-tooltip.mjs +109 -93
- package/fesm2022/ngx-tethys-tooltip.mjs.map +1 -1
- package/fesm2022/ngx-tethys-tree-select.mjs +215 -281
- package/fesm2022/ngx-tethys-tree-select.mjs.map +1 -1
- package/fesm2022/ngx-tethys-upload.mjs +2 -2
- package/fesm2022/ngx-tethys-upload.mjs.map +1 -1
- package/fesm2022/ngx-tethys.mjs +1 -1
- package/fesm2022/ngx-tethys.mjs.map +1 -1
- package/i18n/i18n.d.ts +7 -2
- package/i18n/locales/de-de.d.ts +5 -1
- package/i18n/locales/en-us.d.ts +5 -1
- package/i18n/locales/ja-jp.d.ts +5 -1
- package/i18n/locales/zh-hans.d.ts +5 -1
- package/i18n/locales/zh-hant.d.ts +5 -1
- package/image/preview/image-preview.component.d.ts +2 -2
- package/layout/header.component.d.ts +15 -19
- package/layout/layout.component.d.ts +3 -2
- package/layout/sidebar-header.component.d.ts +7 -8
- package/layout/sidebar.component.d.ts +32 -62
- package/list/list-item-meta.component.d.ts +7 -9
- package/list/list-item.component.d.ts +0 -2
- package/list/list.component.d.ts +2 -8
- package/list/selection/selection-list.d.ts +33 -46
- package/message/abstract/abstract-message.component.d.ts +2 -3
- package/message/message-container.component.d.ts +0 -1
- package/message/message.component.d.ts +1 -3
- package/notify/notify-container.component.d.ts +0 -1
- package/notify/notify.component.d.ts +7 -12
- package/package.json +1 -1
- package/resizable/resizable.directive.d.ts +2 -1
- package/schematics/version.d.ts +1 -1
- package/schematics/version.js +1 -1
- package/select/custom-select/custom-select.component.d.ts +33 -56
- package/select/native-select/native-select.component.d.ts +7 -13
- package/shared/base-form-check.component.d.ts +6 -8
- package/shared/directives/string-or-template-outlet.directive.d.ts +5 -6
- package/shared/directives/thy-autofocus.directive.d.ts +4 -6
- package/shared/directives/thy-contextmenu.directive.d.ts +2 -2
- package/shared/directives/thy-ctrl-enter.directive.d.ts +2 -2
- package/shared/directives/thy-enter.directive.d.ts +2 -2
- package/shared/directives/thy-scroll.directive.d.ts +5 -8
- package/shared/directives/thy-show.d.ts +5 -6
- package/shared/directives/thy-stop-propagation.directive.d.ts +4 -4
- package/shared/directives/view-outlet.directive.d.ts +6 -7
- package/shared/ng-transclude.directive.d.ts +2 -3
- package/shared/option/group/option-group.component.d.ts +5 -9
- package/shared/option/list-option/list-option.component.d.ts +9 -13
- package/shared/option/option.component.d.ts +10 -17
- package/shared/option/option.token.d.ts +4 -3
- package/shared/option/options-container.component.d.ts +1 -1
- package/shared/select/select-control/select-control.component.d.ts +38 -53
- package/stepper/stepper.component.d.ts +1 -1
- package/table/table-column.component.d.ts +15 -5
- package/time-picker/inner/inner-time-picker.class.d.ts +15 -13
- package/time-picker/inner/inner-time-picker.component.d.ts +26 -26
- package/time-picker/time-picker-panel.component.d.ts +18 -20
- package/time-picker/time-picker.component.d.ts +22 -30
- package/tooltip/tooltip.directive.d.ts +20 -22
- package/tree-select/tree-select.component.d.ts +53 -70
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { ElementRef,
|
|
1
|
+
import { ElementRef, OnDestroy, OnInit, Signal } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import { ThyTimePickerLocale } from 'ngx-tethys/i18n';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "ngx-tethys/util";
|
|
6
5
|
/**
|
|
7
6
|
* 时间选择面板组件
|
|
8
7
|
* @name thy-time-picker-panel
|
|
@@ -11,50 +10,50 @@ export declare class ThyTimePanel implements OnInit, OnDestroy, ControlValueAcce
|
|
|
11
10
|
private cdr;
|
|
12
11
|
private ngZone;
|
|
13
12
|
locale: Signal<ThyTimePickerLocale>;
|
|
14
|
-
hourListRef: ElementRef<HTMLElement
|
|
15
|
-
minuteListRef: ElementRef<HTMLElement
|
|
16
|
-
secondListRef: ElementRef<HTMLElement
|
|
13
|
+
readonly hourListRef: Signal<ElementRef<HTMLElement>>;
|
|
14
|
+
readonly minuteListRef: Signal<ElementRef<HTMLElement>>;
|
|
15
|
+
readonly secondListRef: Signal<ElementRef<HTMLElement>>;
|
|
17
16
|
/**
|
|
18
17
|
* 展示的日期格式,支持 'HH:mm:ss' | 'HH:mm' | 'mm:ss'
|
|
19
18
|
* @type string
|
|
20
19
|
* @default HH:mm:ss
|
|
21
20
|
*/
|
|
22
|
-
|
|
21
|
+
readonly thyFormat: import("@angular/core").InputSignal<string>;
|
|
23
22
|
/**
|
|
24
23
|
* 小时间隔步长
|
|
25
24
|
* @type number
|
|
26
25
|
*/
|
|
27
|
-
thyHourStep: number
|
|
26
|
+
readonly thyHourStep: import("@angular/core").InputSignal<number>;
|
|
28
27
|
/**
|
|
29
28
|
* 分钟间隔步长
|
|
30
29
|
* @type number
|
|
31
30
|
*/
|
|
32
|
-
thyMinuteStep: number
|
|
31
|
+
readonly thyMinuteStep: import("@angular/core").InputSignal<number>;
|
|
33
32
|
/**
|
|
34
33
|
* 秒间隔步长
|
|
35
34
|
* @type number
|
|
36
35
|
*/
|
|
37
|
-
thySecondStep: number
|
|
36
|
+
readonly thySecondStep: import("@angular/core").InputSignal<number>;
|
|
38
37
|
/**
|
|
39
38
|
* 展示选择此刻
|
|
40
39
|
* @type boolean
|
|
41
40
|
*/
|
|
42
|
-
thyShowSelectNow: boolean
|
|
41
|
+
readonly thyShowSelectNow: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
43
42
|
/**
|
|
44
43
|
* 展示底部操作
|
|
45
44
|
* @type boolean
|
|
46
45
|
*/
|
|
47
|
-
thyShowOperations: boolean
|
|
46
|
+
readonly thyShowOperations: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
48
47
|
/**
|
|
49
48
|
* 选择时间触发的事件
|
|
50
49
|
* @type EventEmitter<Date>
|
|
51
50
|
*/
|
|
52
|
-
thyPickChange:
|
|
51
|
+
readonly thyPickChange: import("@angular/core").OutputEmitterRef<Date>;
|
|
53
52
|
/**
|
|
54
53
|
* 关闭面板事件
|
|
55
54
|
* @type EventEmitter<void>
|
|
56
55
|
*/
|
|
57
|
-
thyClosePanel:
|
|
56
|
+
readonly thyClosePanel: import("@angular/core").OutputEmitterRef<void>;
|
|
58
57
|
SCROLL_OFFSET_SPACING: number;
|
|
59
58
|
SCROLL_DEFAULT_DURATION: number;
|
|
60
59
|
prefixCls: string;
|
|
@@ -70,10 +69,10 @@ export declare class ThyTimePanel implements OnInit, OnDestroy, ControlValueAcce
|
|
|
70
69
|
value: number;
|
|
71
70
|
disabled: boolean;
|
|
72
71
|
}>;
|
|
73
|
-
showHourColumn: boolean
|
|
74
|
-
showMinuteColumn: boolean
|
|
75
|
-
showSecondColumn: boolean
|
|
76
|
-
showColumnCount: number
|
|
72
|
+
readonly showHourColumn: Signal<boolean>;
|
|
73
|
+
readonly showMinuteColumn: Signal<boolean>;
|
|
74
|
+
readonly showSecondColumn: Signal<boolean>;
|
|
75
|
+
readonly showColumnCount: Signal<number>;
|
|
77
76
|
value: Date;
|
|
78
77
|
hour: number;
|
|
79
78
|
minute: number;
|
|
@@ -81,6 +80,7 @@ export declare class ThyTimePanel implements OnInit, OnDestroy, ControlValueAcce
|
|
|
81
80
|
initialScrollPosition: boolean;
|
|
82
81
|
onValueChangeFn: (val: Date) => void;
|
|
83
82
|
onTouchedFn: () => void;
|
|
83
|
+
constructor();
|
|
84
84
|
ngOnInit(): void;
|
|
85
85
|
generateTimeRange(): void;
|
|
86
86
|
pickHours(hours: {
|
|
@@ -109,7 +109,5 @@ export declare class ThyTimePanel implements OnInit, OnDestroy, ControlValueAcce
|
|
|
109
109
|
private autoScroll;
|
|
110
110
|
ngOnDestroy(): void;
|
|
111
111
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyTimePanel, never>;
|
|
112
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyTimePanel, "thy-time-picker-panel", never, { "thyFormat": { "alias": "thyFormat"; "required": false; }; "thyHourStep": { "alias": "thyHourStep"; "required": false; }; "thyMinuteStep": { "alias": "thyMinuteStep"; "required": false; }; "thySecondStep": { "alias": "thySecondStep"; "required": false; }; "thyShowSelectNow": { "alias": "thyShowSelectNow"; "required": false; }; "thyShowOperations": { "alias": "thyShowOperations"; "required": false; }; }, { "thyPickChange": "thyPickChange"; "thyClosePanel": "thyClosePanel"; }, never, never, true, never>;
|
|
113
|
-
static ngAcceptInputType_thyShowSelectNow: i1.ThyBooleanInput;
|
|
114
|
-
static ngAcceptInputType_thyShowOperations: i1.ThyBooleanInput;
|
|
112
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyTimePanel, "thy-time-picker-panel", never, { "thyFormat": { "alias": "thyFormat"; "required": false; "isSignal": true; }; "thyHourStep": { "alias": "thyHourStep"; "required": false; "isSignal": true; }; "thyMinuteStep": { "alias": "thyMinuteStep"; "required": false; "isSignal": true; }; "thySecondStep": { "alias": "thySecondStep"; "required": false; "isSignal": true; }; "thyShowSelectNow": { "alias": "thyShowSelectNow"; "required": false; "isSignal": true; }; "thyShowOperations": { "alias": "thyShowOperations"; "required": false; "isSignal": true; }; }, { "thyPickChange": "thyPickChange"; "thyClosePanel": "thyClosePanel"; }, never, never, true, never>;
|
|
115
113
|
}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { CdkConnectedOverlay, CdkOverlayOrigin, ConnectionPositionPair } from '@angular/cdk/overlay';
|
|
2
|
-
import { AfterViewInit, ElementRef,
|
|
2
|
+
import { AfterViewInit, ElementRef, OnInit, Signal } from '@angular/core';
|
|
3
3
|
import { ControlValueAccessor } from '@angular/forms';
|
|
4
4
|
import { ThyPlacement } from 'ngx-tethys/core';
|
|
5
5
|
import { ThyTimePickerLocale } from 'ngx-tethys/i18n';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
import * as i1 from "ngx-tethys/util";
|
|
8
7
|
export type TimePickerSize = 'xs' | 'sm' | 'md' | 'lg' | 'default';
|
|
9
8
|
/**
|
|
10
9
|
* 时间选择组件
|
|
@@ -14,90 +13,87 @@ export declare class ThyTimePicker implements OnInit, AfterViewInit, ControlValu
|
|
|
14
13
|
private cdr;
|
|
15
14
|
private elementRef;
|
|
16
15
|
locale: Signal<ThyTimePickerLocale>;
|
|
17
|
-
cdkConnectedOverlay: CdkConnectedOverlay
|
|
18
|
-
origin: CdkOverlayOrigin
|
|
19
|
-
inputRef: ElementRef<HTMLInputElement
|
|
20
|
-
overlayContainer: ElementRef<HTMLElement
|
|
16
|
+
readonly cdkConnectedOverlay: Signal<CdkConnectedOverlay>;
|
|
17
|
+
readonly origin: Signal<CdkOverlayOrigin>;
|
|
18
|
+
readonly inputRef: Signal<ElementRef<HTMLInputElement>>;
|
|
19
|
+
readonly overlayContainer: Signal<ElementRef<HTMLElement>>;
|
|
21
20
|
/**
|
|
22
21
|
* 输入框大小
|
|
23
22
|
* @type 'xs' | 'sm' | 'md' | 'lg' | 'default'
|
|
24
23
|
*/
|
|
25
|
-
thySize: TimePickerSize
|
|
24
|
+
readonly thySize: import("@angular/core").InputSignal<TimePickerSize>;
|
|
26
25
|
/**
|
|
27
26
|
* 输入框提示文字
|
|
28
27
|
* @type string
|
|
29
28
|
*/
|
|
30
|
-
thyPlaceholder: string
|
|
29
|
+
readonly thyPlaceholder: import("@angular/core").InputSignal<string>;
|
|
31
30
|
/**
|
|
32
31
|
* 弹出位置
|
|
33
32
|
* @type 'top' | 'topLeft'| 'topRight' | 'bottom' | 'bottomLeft' | 'bottomRight' | 'left' | 'leftTop' | 'leftBottom' | 'right' | 'rightTop' | 'rightBottom'
|
|
34
33
|
*/
|
|
35
|
-
thyPlacement: ThyPlacement
|
|
34
|
+
readonly thyPlacement: import("@angular/core").InputSignal<ThyPlacement>;
|
|
36
35
|
/**
|
|
37
36
|
* 展示的日期格式,支持 'HH:mm:ss' | 'HH:mm' | 'mm:ss'
|
|
38
37
|
* @type string
|
|
39
38
|
* @default HH:mm:ss
|
|
40
39
|
*/
|
|
41
|
-
|
|
40
|
+
readonly thyFormat: import("@angular/core").InputSignalWithTransform<string, string>;
|
|
42
41
|
/**
|
|
43
42
|
* 小时间隔步长
|
|
44
43
|
* @type number
|
|
45
44
|
*/
|
|
46
|
-
thyHourStep: number
|
|
45
|
+
readonly thyHourStep: import("@angular/core").InputSignal<number>;
|
|
47
46
|
/**
|
|
48
47
|
* 分钟间隔步长
|
|
49
48
|
* @type number
|
|
50
49
|
*/
|
|
51
|
-
thyMinuteStep: number
|
|
50
|
+
readonly thyMinuteStep: import("@angular/core").InputSignal<number>;
|
|
52
51
|
/**
|
|
53
52
|
* 秒间隔步长
|
|
54
53
|
* @type number
|
|
55
54
|
*/
|
|
56
|
-
thySecondStep: number
|
|
55
|
+
readonly thySecondStep: import("@angular/core").InputSignal<number>;
|
|
57
56
|
/**
|
|
58
57
|
* 弹出层组件 class
|
|
59
58
|
* @type string
|
|
60
59
|
*/
|
|
61
|
-
thyPopupClass: string
|
|
60
|
+
readonly thyPopupClass: import("@angular/core").InputSignal<string>;
|
|
62
61
|
/**
|
|
63
62
|
* 是否显示弹出层遮罩
|
|
64
63
|
* @type boolean
|
|
65
64
|
* @default false
|
|
66
65
|
*/
|
|
67
|
-
thyBackdrop: boolean
|
|
66
|
+
readonly thyBackdrop: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
68
67
|
/**
|
|
69
68
|
* 禁用
|
|
70
69
|
* @type boolean
|
|
71
70
|
* @default false
|
|
72
71
|
*/
|
|
73
|
-
|
|
74
|
-
get thyDisabled(): boolean;
|
|
72
|
+
readonly thyDisabled: import("@angular/core").ModelSignal<boolean>;
|
|
75
73
|
/**
|
|
76
74
|
* 只读
|
|
77
75
|
* @type boolean
|
|
78
76
|
* @default false
|
|
79
77
|
*/
|
|
80
|
-
thyReadonly: boolean
|
|
78
|
+
readonly thyReadonly: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
81
79
|
/**
|
|
82
80
|
* 展示选择此刻
|
|
83
81
|
* @type boolean
|
|
84
82
|
*/
|
|
85
|
-
thyShowSelectNow: boolean
|
|
83
|
+
readonly thyShowSelectNow: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
86
84
|
/**
|
|
87
85
|
* 可清空值
|
|
88
86
|
* @type boolean
|
|
89
87
|
*/
|
|
90
|
-
thyAllowClear: boolean
|
|
88
|
+
readonly thyAllowClear: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
91
89
|
/**
|
|
92
90
|
* 打开/关闭弹窗事件
|
|
93
91
|
* @type EventEmitter<boolean>
|
|
94
92
|
*/
|
|
95
|
-
thyOpenChange:
|
|
93
|
+
readonly thyOpenChange: import("@angular/core").OutputEmitterRef<boolean>;
|
|
96
94
|
prefixCls: string;
|
|
97
95
|
overlayPositions: ConnectionPositionPair[];
|
|
98
|
-
|
|
99
|
-
disabled: boolean;
|
|
100
|
-
showText: string;
|
|
96
|
+
readonly showText: import("@angular/core").ModelSignal<string>;
|
|
101
97
|
openState: boolean;
|
|
102
98
|
value: Date;
|
|
103
99
|
originValue: Date;
|
|
@@ -105,6 +101,7 @@ export declare class ThyTimePicker implements OnInit, AfterViewInit, ControlValu
|
|
|
105
101
|
private isDisabledFirstChange;
|
|
106
102
|
onValueChangeFn: (val: number | Date) => void;
|
|
107
103
|
onTouchedFn: () => void;
|
|
104
|
+
constructor();
|
|
108
105
|
ngOnInit(): void;
|
|
109
106
|
ngAfterViewInit(): void;
|
|
110
107
|
onInputPickerClick(): void;
|
|
@@ -135,10 +132,5 @@ export declare class ThyTimePicker implements OnInit, AfterViewInit, ControlValu
|
|
|
135
132
|
private validateCustomizeInput;
|
|
136
133
|
private disabledUserOperation;
|
|
137
134
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyTimePicker, never>;
|
|
138
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyTimePicker, "thy-time-picker", never, { "thySize": { "alias": "thySize"; "required": false; }; "thyPlaceholder": { "alias": "thyPlaceholder"; "required": false; }; "thyPlacement": { "alias": "thyPlacement"; "required": false; }; "thyFormat": { "alias": "thyFormat"; "required": false; }; "thyHourStep": { "alias": "thyHourStep"; "required": false; }; "thyMinuteStep": { "alias": "thyMinuteStep"; "required": false; }; "thySecondStep": { "alias": "thySecondStep"; "required": false; }; "thyPopupClass": { "alias": "thyPopupClass"; "required": false; }; "thyBackdrop": { "alias": "thyBackdrop"; "required": false; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; "thyReadonly": { "alias": "thyReadonly"; "required": false; }; "thyShowSelectNow": { "alias": "thyShowSelectNow"; "required": false; }; "thyAllowClear": { "alias": "thyAllowClear"; "required": false; }; }, { "thyOpenChange": "thyOpenChange"; }, never, never, true, never>;
|
|
139
|
-
static ngAcceptInputType_thyBackdrop: i1.ThyBooleanInput;
|
|
140
|
-
static ngAcceptInputType_thyDisabled: i1.ThyBooleanInput;
|
|
141
|
-
static ngAcceptInputType_thyReadonly: i1.ThyBooleanInput;
|
|
142
|
-
static ngAcceptInputType_thyShowSelectNow: i1.ThyBooleanInput;
|
|
143
|
-
static ngAcceptInputType_thyAllowClear: i1.ThyBooleanInput;
|
|
135
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyTimePicker, "thy-time-picker", never, { "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; "thyPlaceholder": { "alias": "thyPlaceholder"; "required": false; "isSignal": true; }; "thyPlacement": { "alias": "thyPlacement"; "required": false; "isSignal": true; }; "thyFormat": { "alias": "thyFormat"; "required": false; "isSignal": true; }; "thyHourStep": { "alias": "thyHourStep"; "required": false; "isSignal": true; }; "thyMinuteStep": { "alias": "thyMinuteStep"; "required": false; "isSignal": true; }; "thySecondStep": { "alias": "thySecondStep"; "required": false; "isSignal": true; }; "thyPopupClass": { "alias": "thyPopupClass"; "required": false; "isSignal": true; }; "thyBackdrop": { "alias": "thyBackdrop"; "required": false; "isSignal": true; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; "isSignal": true; }; "thyReadonly": { "alias": "thyReadonly"; "required": false; "isSignal": true; }; "thyShowSelectNow": { "alias": "thyShowSelectNow"; "required": false; "isSignal": true; }; "thyAllowClear": { "alias": "thyAllowClear"; "required": false; "isSignal": true; }; "showText": { "alias": "showText"; "required": false; "isSignal": true; }; }, { "thyDisabled": "thyDisabledChange"; "thyOpenChange": "thyOpenChange"; "showText": "showTextChange"; }, never, never, true, never>;
|
|
144
136
|
}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { ThyOverlayDirectiveBase, ThyOverlayTrigger, ThyPlacement } from 'ngx-tethys/core';
|
|
3
|
-
import { SafeAny } from 'ngx-tethys/types';
|
|
4
3
|
import { ThyTooltipContent } from './interface';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "ngx-tethys/util";
|
|
7
5
|
/**
|
|
8
6
|
* @name thyTooltip
|
|
9
7
|
*/
|
|
@@ -12,33 +10,32 @@ export declare class ThyTooltipDirective extends ThyOverlayDirectiveBase impleme
|
|
|
12
10
|
private thyTooltipService;
|
|
13
11
|
touchendHideDelay: number;
|
|
14
12
|
protected isAutoCloseOnMobileTouch: boolean;
|
|
15
|
-
private tooltipClass;
|
|
16
13
|
private tooltipRef;
|
|
17
|
-
private _content;
|
|
18
|
-
get content(): ThyTooltipContent;
|
|
19
14
|
/**
|
|
20
15
|
* 提示消息,可以是文本,也可以是一个模板
|
|
21
16
|
* @type string | TemplateRef<T>
|
|
22
17
|
*/
|
|
23
|
-
|
|
18
|
+
readonly thyTooltipContent: import("@angular/core").InputSignal<ThyTooltipContent>;
|
|
19
|
+
getValidContent(value: ThyTooltipContent): ThyTooltipContent;
|
|
20
|
+
content: import("@angular/core").WritableSignal<ThyTooltipContent>;
|
|
24
21
|
/**
|
|
25
22
|
* 指定提示的位置
|
|
26
23
|
* @type ThyPlacement
|
|
27
24
|
*/
|
|
28
|
-
|
|
25
|
+
readonly thyPlacement: import("@angular/core").InputSignal<ThyPlacement>;
|
|
26
|
+
placement: import("@angular/core").WritableSignal<ThyPlacement>;
|
|
29
27
|
/**
|
|
30
28
|
* 提示内容自定义样式
|
|
31
29
|
*/
|
|
32
|
-
|
|
30
|
+
readonly thyTooltipClass: import("@angular/core").InputSignal<string | string[]>;
|
|
33
31
|
/**
|
|
34
32
|
* 显示提示内容延迟毫秒
|
|
35
33
|
*/
|
|
36
|
-
|
|
34
|
+
readonly thyTooltipShowDelay: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
37
35
|
/**
|
|
38
36
|
* 隐藏提示内容延迟毫秒
|
|
39
37
|
*/
|
|
40
|
-
|
|
41
|
-
_trigger: ThyOverlayTrigger;
|
|
38
|
+
readonly thyTooltipHideDelay: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
42
39
|
/**
|
|
43
40
|
* 触发提示方式
|
|
44
41
|
* <br/>`hover` 鼠标移入,显示提示;鼠标移出,隐藏提示;显示提示时,滚动页面,会隐藏提示。
|
|
@@ -47,25 +44,31 @@ export declare class ThyTooltipDirective extends ThyOverlayDirectiveBase impleme
|
|
|
47
44
|
*
|
|
48
45
|
* @type hover | focus | click
|
|
49
46
|
*/
|
|
50
|
-
|
|
47
|
+
readonly thyTooltipTrigger: import("@angular/core").InputSignal<ThyOverlayTrigger>;
|
|
51
48
|
/**
|
|
52
49
|
* 设置是否禁用提示
|
|
53
50
|
* @default false
|
|
54
51
|
*/
|
|
55
|
-
|
|
52
|
+
readonly thyTooltipDisabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
53
|
+
toolTipDisabled: import("@angular/core").WritableSignal<boolean>;
|
|
56
54
|
/**
|
|
57
55
|
* 传入 template 时,需要注入给 template 的上下文数据
|
|
58
56
|
*/
|
|
59
|
-
data:
|
|
57
|
+
readonly data: import("@angular/core").InputSignal<any>;
|
|
60
58
|
/**
|
|
61
59
|
* 偏移量
|
|
62
60
|
*/
|
|
63
|
-
|
|
61
|
+
readonly thyTooltipOffset: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
62
|
+
tooltipOffset: import("@angular/core").WritableSignal<number>;
|
|
64
63
|
/**
|
|
65
64
|
* hover 触发方式下 鼠标移入Tooltip是否固定 Tooltip
|
|
66
65
|
* @default false
|
|
67
66
|
*/
|
|
68
|
-
|
|
67
|
+
readonly tooltipPin: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
68
|
+
setDisabled(disabled: boolean): void;
|
|
69
|
+
setContent(content: ThyTooltipContent): void;
|
|
70
|
+
setOffset(offset: number): void;
|
|
71
|
+
setPlacement(placement: ThyPlacement): void;
|
|
69
72
|
constructor();
|
|
70
73
|
ngOnInit(): void;
|
|
71
74
|
/** Shows the tooltip after the delay in ms, defaults to tooltip-delay-show 200ms */
|
|
@@ -74,10 +77,5 @@ export declare class ThyTooltipDirective extends ThyOverlayDirectiveBase impleme
|
|
|
74
77
|
hide(delay?: number): void;
|
|
75
78
|
ngOnDestroy(): void;
|
|
76
79
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyTooltipDirective, never>;
|
|
77
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ThyTooltipDirective, "[thyTooltip],[thy-tooltip]", ["thyTooltip"], { "
|
|
78
|
-
static ngAcceptInputType_showDelay: unknown;
|
|
79
|
-
static ngAcceptInputType_hideDelay: unknown;
|
|
80
|
-
static ngAcceptInputType_thyTooltipDisabled: i1.ThyBooleanInput;
|
|
81
|
-
static ngAcceptInputType_tooltipOffset: unknown;
|
|
82
|
-
static ngAcceptInputType_tooltipPin: i1.ThyBooleanInput;
|
|
80
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ThyTooltipDirective, "[thyTooltip],[thy-tooltip]", ["thyTooltip"], { "thyTooltipContent": { "alias": "thyTooltip"; "required": false; "isSignal": true; }; "thyPlacement": { "alias": "thyTooltipPlacement"; "required": false; "isSignal": true; }; "thyTooltipClass": { "alias": "thyTooltipClass"; "required": false; "isSignal": true; }; "thyTooltipShowDelay": { "alias": "thyTooltipShowDelay"; "required": false; "isSignal": true; }; "thyTooltipHideDelay": { "alias": "thyTooltipHideDelay"; "required": false; "isSignal": true; }; "thyTooltipTrigger": { "alias": "thyTooltipTrigger"; "required": false; "isSignal": true; }; "thyTooltipDisabled": { "alias": "thyTooltipDisabled"; "required": false; "isSignal": true; }; "data": { "alias": "thyTooltipTemplateContext"; "required": false; "isSignal": true; }; "thyTooltipOffset": { "alias": "thyTooltipOffset"; "required": false; "isSignal": true; }; "tooltipPin": { "alias": "thyTooltipPin"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
83
81
|
}
|
|
@@ -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,
|
|
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
|
|
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
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
149
|
+
private bindClickEvent;
|
|
150
|
+
private bindResizeEvent;
|
|
157
151
|
onFocus($event: FocusEvent): void;
|
|
158
152
|
onBlur($event: FocusEvent): void;
|
|
159
|
-
|
|
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
|
|
176
|
+
export declare class ThyTreeSelectNodes {
|
|
192
177
|
parent: ThyTreeSelect;
|
|
193
178
|
emptyIcon: Signal<string>;
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
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
|
-
|
|
207
|
-
|
|
208
|
-
|
|
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 {};
|