ngx-tethys 19.1.0-next.1 → 19.1.0-next.11
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 +114 -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-property.mjs +1 -0
- package/fesm2022/ngx-tethys-property.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
|
@@ -18,11 +18,10 @@ export declare const HIDE_STYLE: {
|
|
|
18
18
|
export declare class ThyAbstractMessageComponent<TConfig extends ThyMessageBaseConfig> implements OnInit, OnDestroy {
|
|
19
19
|
private _ngZone;
|
|
20
20
|
animationState: string;
|
|
21
|
-
config: TConfig;
|
|
22
21
|
iconName: string;
|
|
23
22
|
private closeTimer;
|
|
24
23
|
private queue;
|
|
25
|
-
|
|
24
|
+
readonly config: import("@angular/core").InputSignal<TConfig>;
|
|
26
25
|
constructor(queue: ThyAbstractMessageQueue);
|
|
27
26
|
ngOnInit(): void;
|
|
28
27
|
mouseenter(): void;
|
|
@@ -32,5 +31,5 @@ export declare class ThyAbstractMessageComponent<TConfig extends ThyMessageBaseC
|
|
|
32
31
|
private clearCloseTimer;
|
|
33
32
|
ngOnDestroy(): void;
|
|
34
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyAbstractMessageComponent<any>, never>;
|
|
35
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ThyAbstractMessageComponent<any>, never, never, { "
|
|
34
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ThyAbstractMessageComponent<any>, never, never, { "config": { "alias": "thyConfig"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
36
35
|
}
|
|
@@ -6,7 +6,6 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
*/
|
|
7
7
|
export declare class ThyMessageContainer extends ThyAbstractMessageContainerComponent {
|
|
8
8
|
messageQueue: ThyMessageQueue;
|
|
9
|
-
className: string;
|
|
10
9
|
constructor();
|
|
11
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyMessageContainer, never>;
|
|
12
11
|
static ɵcmp: i0.ɵɵComponentDeclaration<ThyMessageContainer, "thy-message-container", never, {}, {}, never, never, true, never>;
|
|
@@ -6,10 +6,8 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
*/
|
|
7
7
|
export declare class ThyMessage extends ThyAbstractMessageComponent<ThyMessageConfig> {
|
|
8
8
|
animationState: string;
|
|
9
|
-
config: ThyMessageConfig;
|
|
10
9
|
private hostRenderer;
|
|
11
|
-
set thyConfig(value: ThyMessageConfig);
|
|
12
10
|
constructor();
|
|
13
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyMessage, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyMessage, "thy-message", never, {
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyMessage, "thy-message", never, {}, {}, never, never, true, never>;
|
|
15
13
|
}
|
|
@@ -6,7 +6,6 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
*/
|
|
7
7
|
export declare class ThyNotifyContainer extends ThyAbstractMessageContainerComponent {
|
|
8
8
|
notifyQueue: ThyNotifyQueue;
|
|
9
|
-
className: string;
|
|
10
9
|
constructor();
|
|
11
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyNotifyContainer, never>;
|
|
12
11
|
static ɵcmp: i0.ɵɵComponentDeclaration<ThyNotifyContainer, "thy-notify-container", never, {}, {}, never, never, true, never>;
|
|
@@ -1,24 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ThyNotifyConfig, ThyNotifyPlacement } from './notify.config';
|
|
1
|
+
import { ThyNotifyConfig } from './notify.config';
|
|
3
2
|
import { ThyAbstractMessageComponent } from 'ngx-tethys/message';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
/**
|
|
6
5
|
* @private
|
|
7
6
|
*/
|
|
8
|
-
export declare class ThyNotify extends ThyAbstractMessageComponent<ThyNotifyConfig>
|
|
7
|
+
export declare class ThyNotify extends ThyAbstractMessageComponent<ThyNotifyConfig> {
|
|
9
8
|
animationState: string;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
contentIsString: boolean;
|
|
15
|
-
placement: ThyNotifyPlacement;
|
|
16
|
-
set thyConfig(value: ThyNotifyConfig);
|
|
9
|
+
extendContentClass: import("@angular/core").WritableSignal<boolean>;
|
|
10
|
+
isShowDetail: import("@angular/core").WritableSignal<boolean>;
|
|
11
|
+
readonly contentIsString: import("@angular/core").Signal<boolean>;
|
|
12
|
+
private placement;
|
|
17
13
|
constructor();
|
|
18
|
-
ngOnInit(): void;
|
|
19
14
|
extendContent(): void;
|
|
20
15
|
showDetailToggle(): void;
|
|
21
16
|
triggerDetail(): void;
|
|
22
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyNotify, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyNotify, "thy-notify", never, {
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyNotify, "thy-notify", never, {}, {}, never, never, true, never>;
|
|
24
19
|
}
|
package/package.json
CHANGED
|
@@ -70,13 +70,14 @@ export declare class ThyResizableDirective implements OnDestroy {
|
|
|
70
70
|
*/
|
|
71
71
|
readonly thyResizeEnd: import("@angular/core").OutputEmitterRef<ThyResizeEvent>;
|
|
72
72
|
resizing: import("@angular/core").WritableSignal<boolean>;
|
|
73
|
-
private nativeElement;
|
|
73
|
+
private get nativeElement();
|
|
74
74
|
private nativeElementRect;
|
|
75
75
|
private sizeCache;
|
|
76
76
|
private ghostElement;
|
|
77
77
|
private currentHandleEvent;
|
|
78
78
|
private readonly destroyRef;
|
|
79
79
|
constructor();
|
|
80
|
+
private bindMouseEnterAndLeaveEvents;
|
|
80
81
|
setCursor(): void;
|
|
81
82
|
endResize(event: MouseEvent | TouchEvent): void;
|
|
82
83
|
resize(event: MouseEvent | TouchEvent): void;
|
package/schematics/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "19.1.0-next.
|
|
1
|
+
export declare const VERSION = "19.1.0-next.11";
|
package/schematics/version.js
CHANGED
|
@@ -5,7 +5,7 @@ import { Observable } from 'rxjs';
|
|
|
5
5
|
import { ActiveDescendantKeyManager } from '@angular/cdk/a11y';
|
|
6
6
|
import { SelectionModel } from '@angular/cdk/collections';
|
|
7
7
|
import { CdkConnectedOverlay, ConnectionPositionPair, ScrollStrategy } from '@angular/cdk/overlay';
|
|
8
|
-
import { AfterContentInit, AfterViewInit, ElementRef,
|
|
8
|
+
import { AfterContentInit, AfterViewInit, ElementRef, OnDestroy, OnInit, QueryList, TemplateRef, Signal } from '@angular/core';
|
|
9
9
|
import { ControlValueAccessor } from '@angular/forms';
|
|
10
10
|
import { ThyDropdownWidthMode, ThySelectConfig } from '../select.config';
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
@@ -51,10 +51,7 @@ export declare class ThySelect extends TabIndexDisabledControlValueAccessorMixin
|
|
|
51
51
|
selectConfig: ThySelectConfig;
|
|
52
52
|
emptyIcon: Signal<string>;
|
|
53
53
|
disabled: boolean;
|
|
54
|
-
size: SelectControlSize;
|
|
55
54
|
mode: SelectMode;
|
|
56
|
-
emptyStateText: string;
|
|
57
|
-
emptySearchMessageText: string;
|
|
58
55
|
scrollTop: number;
|
|
59
56
|
modalValue: any;
|
|
60
57
|
defaultOffset: number;
|
|
@@ -66,7 +63,7 @@ export declare class ThySelect extends TabIndexDisabledControlValueAccessorMixin
|
|
|
66
63
|
* 设置下拉框的最小宽度,默认值 `match-select`,表示与输入框的宽度一致;`min-width` 表示最小宽度为200px;支持自定义最小宽度,比如传 `{minWidth: 150}` 表示最小宽度为150px
|
|
67
64
|
* @default match-select
|
|
68
65
|
*/
|
|
69
|
-
thyDropdownWidthMode: ThyDropdownWidthMode
|
|
66
|
+
readonly thyDropdownWidthMode: import("@angular/core").InputSignal<ThyDropdownWidthMode>;
|
|
70
67
|
dropDownPositions: ConnectionPositionPair[];
|
|
71
68
|
selectionModel: SelectionModel<ThyOption>;
|
|
72
69
|
triggerRectWidth: number;
|
|
@@ -80,74 +77,68 @@ export declare class ThySelect extends TabIndexDisabledControlValueAccessorMixin
|
|
|
80
77
|
private config;
|
|
81
78
|
private readonly destroy$;
|
|
82
79
|
readonly optionSelectionChanges: Observable<ThyOptionSelectionChangeEvent>;
|
|
83
|
-
cdkConnectedOverlay: CdkConnectedOverlay
|
|
84
|
-
isSelectCustom: boolean;
|
|
85
|
-
isSelect: boolean;
|
|
80
|
+
readonly cdkConnectedOverlay: Signal<CdkConnectedOverlay>;
|
|
86
81
|
keyManager: ActiveDescendantKeyManager<ThyOption>;
|
|
87
82
|
panelOpen: boolean;
|
|
88
83
|
/**
|
|
89
84
|
* 搜索时回调
|
|
90
85
|
*/
|
|
91
|
-
thyOnSearch:
|
|
86
|
+
readonly thyOnSearch: import("@angular/core").OutputEmitterRef<string>;
|
|
92
87
|
/**
|
|
93
88
|
* 下拉菜单滚动到底部事件,可以用这个事件实现滚动加载
|
|
94
89
|
*/
|
|
95
|
-
thyOnScrollToBottom:
|
|
90
|
+
readonly thyOnScrollToBottom: import("@angular/core").OutputEmitterRef<void>;
|
|
96
91
|
/**
|
|
97
92
|
* 下拉菜单展开和折叠状态事件
|
|
98
93
|
*/
|
|
99
|
-
thyOnExpandStatusChange:
|
|
94
|
+
readonly thyOnExpandStatusChange: import("@angular/core").OutputEmitterRef<boolean>;
|
|
100
95
|
/**
|
|
101
96
|
* 下拉列表是否显示搜索框
|
|
102
|
-
* @default false
|
|
103
97
|
*/
|
|
104
|
-
thyShowSearch: boolean
|
|
98
|
+
readonly thyShowSearch: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
105
99
|
/**
|
|
106
100
|
* 选择框默认文字
|
|
107
101
|
*/
|
|
108
|
-
thyPlaceHolder: string
|
|
102
|
+
readonly thyPlaceHolder: import("@angular/core").InputSignal<string>;
|
|
109
103
|
/**
|
|
110
104
|
* 是否使用服务端搜索,当为 true 时,将不再在前端进行过滤
|
|
111
|
-
* @default false
|
|
112
105
|
*/
|
|
113
|
-
thyServerSearch: boolean
|
|
106
|
+
readonly thyServerSearch: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
114
107
|
/**
|
|
115
108
|
* 异步加载 loading 状态,false 表示加载中,true 表示加载完成
|
|
116
109
|
*/
|
|
117
|
-
thyLoadState: boolean
|
|
110
|
+
readonly thyLoadState: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
118
111
|
/**
|
|
119
112
|
* 是否自动设置选项第一条为高亮状态
|
|
120
113
|
*/
|
|
121
|
-
thyAutoActiveFirstItem: boolean
|
|
114
|
+
readonly thyAutoActiveFirstItem: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
122
115
|
/**
|
|
123
116
|
* 下拉选择模式
|
|
124
117
|
* @type 'multiple' | ''
|
|
125
118
|
*/
|
|
126
|
-
|
|
127
|
-
get thyMode(): SelectMode;
|
|
119
|
+
readonly thyMode: import("@angular/core").InputSignal<SelectMode>;
|
|
128
120
|
/**
|
|
129
121
|
* 操作图标类型
|
|
130
122
|
* @type primary | success | danger | warning
|
|
131
123
|
* @default primary
|
|
132
124
|
*/
|
|
133
|
-
|
|
134
|
-
set thySize(value: SelectControlSize);
|
|
125
|
+
readonly thySize: import("@angular/core").InputSignal<SelectControlSize>;
|
|
135
126
|
/**
|
|
136
127
|
* 数据为空时显示的提示文字
|
|
137
128
|
*/
|
|
138
|
-
|
|
129
|
+
readonly thyEmptyStateText: import("@angular/core").InputSignalWithTransform<string, string>;
|
|
139
130
|
/**
|
|
140
131
|
* 搜索结果为空时显示的提示文字
|
|
141
132
|
*/
|
|
142
|
-
|
|
133
|
+
readonly thyEmptySearchMessageText: import("@angular/core").InputSignalWithTransform<string, string>;
|
|
143
134
|
/**
|
|
144
135
|
* 滚动加载是否可用,只能当这个参数可以,下面的thyOnScrollToBottom事件才会触发
|
|
145
136
|
*/
|
|
146
|
-
thyEnableScrollLoad: boolean
|
|
137
|
+
readonly thyEnableScrollLoad: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
147
138
|
/**
|
|
148
139
|
* 单选( thyMode="" 或者不设置)时,选择框支持清除
|
|
149
140
|
*/
|
|
150
|
-
thyAllowClear: boolean
|
|
141
|
+
readonly thyAllowClear: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
151
142
|
/**
|
|
152
143
|
* 是否禁用
|
|
153
144
|
* @default false
|
|
@@ -157,63 +148,59 @@ export declare class ThySelect extends TabIndexDisabledControlValueAccessorMixin
|
|
|
157
148
|
/**
|
|
158
149
|
* 排序比较函数
|
|
159
150
|
*/
|
|
160
|
-
thySortComparator: (a: ThyOption, b: ThyOption, options: ThyOption[]) => number
|
|
151
|
+
readonly thySortComparator: import("@angular/core").InputSignal<(a: ThyOption, b: ThyOption, options: ThyOption[]) => number>;
|
|
161
152
|
/**
|
|
162
153
|
* Footer 模板,默认值为空不显示 Footer
|
|
163
|
-
* @type TemplateRef
|
|
164
154
|
*/
|
|
165
|
-
thyFooterTemplate: TemplateRef<any
|
|
155
|
+
readonly thyFooterTemplate: import("@angular/core").InputSignal<TemplateRef<any>>;
|
|
166
156
|
/**
|
|
167
157
|
* 弹出位置
|
|
168
158
|
* @type ThyPlacement
|
|
169
159
|
*/
|
|
170
|
-
thyPlacement: ThyPlacement
|
|
160
|
+
readonly thyPlacement: import("@angular/core").InputSignal<ThyPlacement>;
|
|
171
161
|
/**
|
|
172
162
|
* 自定义 Overlay Origin
|
|
173
163
|
*/
|
|
174
|
-
thyOrigin:
|
|
164
|
+
readonly thyOrigin: import("@angular/core").InputSignal<HTMLElement | ElementRef<any>>;
|
|
175
165
|
/**
|
|
176
166
|
* 自定义 Footer 模板容器 class
|
|
177
167
|
*/
|
|
178
|
-
thyFooterClass: string
|
|
168
|
+
readonly thyFooterClass: import("@angular/core").InputSignal<string>;
|
|
179
169
|
/**
|
|
180
170
|
* @private
|
|
181
171
|
*/
|
|
182
|
-
selectedValueDisplayRef: TemplateRef<any
|
|
172
|
+
readonly selectedValueDisplayRef: Signal<TemplateRef<any>>;
|
|
183
173
|
/**
|
|
184
174
|
* 初始化时,是否展开面板
|
|
185
|
-
* @default false
|
|
186
175
|
*/
|
|
187
|
-
thyAutoExpand: boolean
|
|
176
|
+
readonly thyAutoExpand: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
188
177
|
/**
|
|
189
178
|
* 是否弹出透明遮罩,如果显示遮罩则会阻止滚动区域滚动
|
|
190
179
|
*/
|
|
191
|
-
thyHasBackdrop: boolean
|
|
180
|
+
readonly thyHasBackdrop: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
192
181
|
/**
|
|
193
182
|
* 设置多选时最大显示的标签数量,0 表示不限制
|
|
194
183
|
*/
|
|
195
|
-
thyMaxTagCount: number
|
|
184
|
+
readonly thyMaxTagCount: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
196
185
|
/**
|
|
197
186
|
* 是否隐藏选择框边框
|
|
198
|
-
* @default false
|
|
199
187
|
*/
|
|
200
|
-
thyBorderless: boolean
|
|
188
|
+
readonly thyBorderless: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
201
189
|
isReactiveDriven: boolean;
|
|
202
190
|
innerOptions: ThySelectOptionModel[];
|
|
203
191
|
optionGroups: ThyOptionGroupModel[];
|
|
204
192
|
/**
|
|
205
193
|
* option 列表
|
|
206
|
-
* @type ThySelectOptionModel[]
|
|
207
194
|
*/
|
|
208
|
-
|
|
195
|
+
readonly thyOptions: import("@angular/core").InputSignalWithTransform<ThySelectOptionModel[], ThySelectOptionModel[]>;
|
|
209
196
|
options: QueryList<ThyOption>;
|
|
210
197
|
/**
|
|
211
198
|
* 目前只支持多选选中项的展示,默认为空,渲染文字模板,传入tag,渲染展示模板,
|
|
212
199
|
* @default ''|tag
|
|
213
200
|
*/
|
|
214
|
-
thyPreset: string
|
|
201
|
+
readonly thyPreset: import("@angular/core").InputSignal<string>;
|
|
215
202
|
trigger: ElementRef<HTMLElement>;
|
|
216
|
-
panel: ElementRef<HTMLElement
|
|
203
|
+
readonly panel: Signal<ElementRef<HTMLElement>>;
|
|
217
204
|
/**
|
|
218
205
|
* @private
|
|
219
206
|
*/
|
|
@@ -222,8 +209,8 @@ export declare class ThySelect extends TabIndexDisabledControlValueAccessorMixin
|
|
|
222
209
|
/**
|
|
223
210
|
* @private
|
|
224
211
|
*/
|
|
225
|
-
contentGroups:
|
|
226
|
-
viewGroups:
|
|
212
|
+
readonly contentGroups: Signal<readonly ThySelectOptionGroup[]>;
|
|
213
|
+
readonly viewGroups: Signal<readonly ThySelectOptionGroup[]>;
|
|
227
214
|
handleKeydown(event: KeyboardEvent): void;
|
|
228
215
|
get optionsChanges$(): Observable<ThyOption[]>;
|
|
229
216
|
private buildScrollStrategy;
|
|
@@ -278,17 +265,7 @@ export declare class ThySelect extends TabIndexDisabledControlValueAccessorMixin
|
|
|
278
265
|
private unsubscribeTriggerResize;
|
|
279
266
|
ngOnDestroy(): void;
|
|
280
267
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThySelect, never>;
|
|
281
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThySelect, "thy-select,thy-custom-select", ["thySelect"], { "thyDropdownWidthMode": { "alias": "thyDropdownWidthMode"; "required": false; }; "thyShowSearch": { "alias": "thyShowSearch"; "required": false; }; "thyPlaceHolder": { "alias": "thyPlaceHolder"; "required": false; }; "thyServerSearch": { "alias": "thyServerSearch"; "required": false; }; "thyLoadState": { "alias": "thyLoadState"; "required": false; }; "thyAutoActiveFirstItem": { "alias": "thyAutoActiveFirstItem"; "required": false; }; "thyMode": { "alias": "thyMode"; "required": false; }; "thySize": { "alias": "thySize"; "required": false; }; "thyEmptyStateText": { "alias": "thyEmptyStateText"; "required": false; }; "thyEmptySearchMessageText": { "alias": "thyEmptySearchMessageText"; "required": false; }; "thyEnableScrollLoad": { "alias": "thyEnableScrollLoad"; "required": false; }; "thyAllowClear": { "alias": "thyAllowClear"; "required": false; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; "thySortComparator": { "alias": "thySortComparator"; "required": false; }; "thyFooterTemplate": { "alias": "thyFooterTemplate"; "required": false; }; "thyPlacement": { "alias": "thyPlacement"; "required": false; }; "thyOrigin": { "alias": "thyOrigin"; "required": false; }; "thyFooterClass": { "alias": "thyFooterClass"; "required": false; }; "thyAutoExpand": { "alias": "thyAutoExpand"; "required": false; }; "thyHasBackdrop": { "alias": "thyHasBackdrop"; "required": false; }; "thyMaxTagCount": { "alias": "thyMaxTagCount"; "required": false; }; "thyBorderless": { "alias": "thyBorderless"; "required": false; }; "thyOptions": { "alias": "thyOptions"; "required": false; }; "thyPreset": { "alias": "thyPreset"; "required": false; }; }, { "thyOnSearch": "thyOnSearch"; "thyOnScrollToBottom": "thyOnScrollToBottom"; "thyOnExpandStatusChange": "thyOnExpandStatusChange"; }, ["selectedValueDisplayRef", "
|
|
282
|
-
static ngAcceptInputType_thyShowSearch: i1.ThyBooleanInput;
|
|
283
|
-
static ngAcceptInputType_thyServerSearch: i1.ThyBooleanInput;
|
|
284
|
-
static ngAcceptInputType_thyLoadState: i1.ThyBooleanInput;
|
|
285
|
-
static ngAcceptInputType_thyAutoActiveFirstItem: i1.ThyBooleanInput;
|
|
286
|
-
static ngAcceptInputType_thyEnableScrollLoad: i1.ThyBooleanInput;
|
|
287
|
-
static ngAcceptInputType_thyAllowClear: i1.ThyBooleanInput;
|
|
268
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThySelect, "thy-select,thy-custom-select", ["thySelect"], { "thyDropdownWidthMode": { "alias": "thyDropdownWidthMode"; "required": false; "isSignal": true; }; "thyShowSearch": { "alias": "thyShowSearch"; "required": false; "isSignal": true; }; "thyPlaceHolder": { "alias": "thyPlaceHolder"; "required": false; "isSignal": true; }; "thyServerSearch": { "alias": "thyServerSearch"; "required": false; "isSignal": true; }; "thyLoadState": { "alias": "thyLoadState"; "required": false; "isSignal": true; }; "thyAutoActiveFirstItem": { "alias": "thyAutoActiveFirstItem"; "required": false; "isSignal": true; }; "thyMode": { "alias": "thyMode"; "required": false; "isSignal": true; }; "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; "thyEmptyStateText": { "alias": "thyEmptyStateText"; "required": false; "isSignal": true; }; "thyEmptySearchMessageText": { "alias": "thyEmptySearchMessageText"; "required": false; "isSignal": true; }; "thyEnableScrollLoad": { "alias": "thyEnableScrollLoad"; "required": false; "isSignal": true; }; "thyAllowClear": { "alias": "thyAllowClear"; "required": false; "isSignal": true; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; "thySortComparator": { "alias": "thySortComparator"; "required": false; "isSignal": true; }; "thyFooterTemplate": { "alias": "thyFooterTemplate"; "required": false; "isSignal": true; }; "thyPlacement": { "alias": "thyPlacement"; "required": false; "isSignal": true; }; "thyOrigin": { "alias": "thyOrigin"; "required": false; "isSignal": true; }; "thyFooterClass": { "alias": "thyFooterClass"; "required": false; "isSignal": true; }; "thyAutoExpand": { "alias": "thyAutoExpand"; "required": false; "isSignal": true; }; "thyHasBackdrop": { "alias": "thyHasBackdrop"; "required": false; "isSignal": true; }; "thyMaxTagCount": { "alias": "thyMaxTagCount"; "required": false; "isSignal": true; }; "thyBorderless": { "alias": "thyBorderless"; "required": false; "isSignal": true; }; "thyOptions": { "alias": "thyOptions"; "required": false; "isSignal": true; }; "thyPreset": { "alias": "thyPreset"; "required": false; "isSignal": true; }; }, { "thyOnSearch": "thyOnSearch"; "thyOnScrollToBottom": "thyOnScrollToBottom"; "thyOnExpandStatusChange": "thyOnExpandStatusChange"; }, ["selectedValueDisplayRef", "contentGroups", "contentOptions"], ["*"], true, never>;
|
|
288
269
|
static ngAcceptInputType_thyDisabled: i1.ThyBooleanInput;
|
|
289
|
-
static ngAcceptInputType_thyAutoExpand: i1.ThyBooleanInput;
|
|
290
|
-
static ngAcceptInputType_thyHasBackdrop: i1.ThyBooleanInput;
|
|
291
|
-
static ngAcceptInputType_thyMaxTagCount: unknown;
|
|
292
|
-
static ngAcceptInputType_thyBorderless: i1.ThyBooleanInput;
|
|
293
270
|
}
|
|
294
271
|
export {};
|
|
@@ -3,7 +3,6 @@ import { ControlValueAccessor } from '@angular/forms';
|
|
|
3
3
|
import { TabIndexDisabledControlValueAccessorMixin } from 'ngx-tethys/core';
|
|
4
4
|
import { ElementRef } from '@angular/core';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "ngx-tethys/util";
|
|
7
6
|
export type InputSize = 'xs' | 'sm' | 'md' | 'lg' | '';
|
|
8
7
|
/**
|
|
9
8
|
* 下拉选择
|
|
@@ -11,17 +10,13 @@ export type InputSize = 'xs' | 'sm' | 'md' | 'lg' | '';
|
|
|
11
10
|
* @order 20
|
|
12
11
|
*/
|
|
13
12
|
export declare class ThyNativeSelect extends TabIndexDisabledControlValueAccessorMixin implements ControlValueAccessor, OnInit {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
_disabled: boolean;
|
|
18
|
-
_size: InputSize;
|
|
19
|
-
_expandOptions: boolean;
|
|
13
|
+
readonly selectElement: import("@angular/core").Signal<ElementRef<any>>;
|
|
14
|
+
readonly innerValue: import("@angular/core").ModelSignal<any>;
|
|
15
|
+
readonly disabled: import("@angular/core").WritableSignal<boolean>;
|
|
20
16
|
private hostRenderer;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
thyAllowClear: boolean;
|
|
17
|
+
readonly thySize: import("@angular/core").InputSignal<InputSize>;
|
|
18
|
+
readonly name: import("@angular/core").InputSignal<string>;
|
|
19
|
+
readonly thyAllowClear: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
25
20
|
writeValue(obj: any): void;
|
|
26
21
|
setDisabledState?(isDisabled: boolean): void;
|
|
27
22
|
constructor();
|
|
@@ -31,6 +26,5 @@ export declare class ThyNativeSelect extends TabIndexDisabledControlValueAccesso
|
|
|
31
26
|
onFocus(event?: Event): void;
|
|
32
27
|
clearSelectValue(event: Event): void;
|
|
33
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyNativeSelect, never>;
|
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyNativeSelect, "thy-native-select", never, { "thySize": { "alias": "thySize"; "required": false; }; "name": { "alias": "name"; "required": false; }; "thyAllowClear": { "alias": "thyAllowClear"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
35
|
-
static ngAcceptInputType_thyAllowClear: i1.ThyBooleanInput;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyNativeSelect, "thy-native-select", never, { "innerValue": { "alias": "innerValue"; "required": false; "isSignal": true; }; "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "thyAllowClear": { "alias": "thyAllowClear"; "required": false; "isSignal": true; }; }, { "innerValue": "innerValueChange"; }, never, ["*"], true, never>;
|
|
36
30
|
}
|
|
@@ -13,24 +13,23 @@ export declare class ThyFormCheckBaseComponent extends TabIndexDisabledControlVa
|
|
|
13
13
|
_disabled: boolean;
|
|
14
14
|
private onTouchedCallback;
|
|
15
15
|
private onChangeCallback;
|
|
16
|
-
_labelText: string;
|
|
17
16
|
_isFormCheck: boolean;
|
|
18
|
-
_isFormCheckInline: boolean;
|
|
19
17
|
_isChecked: boolean;
|
|
20
|
-
get _isNoText(): boolean;
|
|
21
18
|
/**
|
|
22
19
|
* 是否同一行展示
|
|
23
20
|
* @default false
|
|
24
21
|
*/
|
|
25
|
-
|
|
22
|
+
readonly thyInline: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
26
23
|
/**
|
|
27
24
|
* Label 展示文本
|
|
28
25
|
*/
|
|
29
|
-
|
|
26
|
+
readonly thyLabelText: import("@angular/core").InputSignal<string>;
|
|
30
27
|
/**
|
|
31
28
|
* Label 文本多语言 key
|
|
32
29
|
*/
|
|
33
|
-
|
|
30
|
+
readonly thyLabelTextTranslateKey: import("@angular/core").InputSignal<string>;
|
|
31
|
+
_labelText: import("@angular/core").Signal<any>;
|
|
32
|
+
_isNoText: import("@angular/core").Signal<boolean>;
|
|
34
33
|
disabled: boolean;
|
|
35
34
|
/**
|
|
36
35
|
* 是否禁用
|
|
@@ -47,7 +46,6 @@ export declare class ThyFormCheckBaseComponent extends TabIndexDisabledControlVa
|
|
|
47
46
|
change(): void;
|
|
48
47
|
markForCheck(): void;
|
|
49
48
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyFormCheckBaseComponent, never>;
|
|
50
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ThyFormCheckBaseComponent, never, never, { "thyInline": { "alias": "thyInline"; "required": false; }; "thyLabelText": { "alias": "thyLabelText"; "required": false; }; "thyLabelTextTranslateKey": { "alias": "thyLabelTextTranslateKey"; "required": false; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; }, {}, never, never, true, never>;
|
|
51
|
-
static ngAcceptInputType_thyInline: i1.ThyBooleanInput;
|
|
49
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ThyFormCheckBaseComponent, never, never, { "thyInline": { "alias": "thyInline"; "required": false; "isSignal": true; }; "thyLabelText": { "alias": "thyLabelText"; "required": false; "isSignal": true; }; "thyLabelTextTranslateKey": { "alias": "thyLabelTextTranslateKey"; "required": false; "isSignal": true; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; }, {}, never, never, true, never>;
|
|
52
50
|
static ngAcceptInputType_thyDisabled: i1.ThyBooleanInput;
|
|
53
51
|
}
|
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
import { OnChanges, SimpleChanges, TemplateRef } from '@angular/core';
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
2
|
/**
|
|
4
3
|
* @name thyStringOrTemplateOutlet
|
|
5
4
|
*/
|
|
6
|
-
export declare class ThyStringOrTemplateOutletDirective
|
|
5
|
+
export declare class ThyStringOrTemplateOutletDirective {
|
|
7
6
|
private viewContainerRef;
|
|
8
7
|
private renderer;
|
|
9
8
|
private viewRef;
|
|
10
9
|
private textNode;
|
|
11
|
-
thyStringOrTemplateOutletContext: any
|
|
12
|
-
thyStringOrTemplateOutlet:
|
|
13
|
-
|
|
10
|
+
readonly thyStringOrTemplateOutletContext: import("@angular/core").InputSignal<any>;
|
|
11
|
+
readonly thyStringOrTemplateOutlet: import("@angular/core").InputSignal<any>;
|
|
12
|
+
constructor();
|
|
14
13
|
private updateView;
|
|
15
14
|
private clear;
|
|
16
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyStringOrTemplateOutletDirective, never>;
|
|
17
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ThyStringOrTemplateOutletDirective, "[thyStringOrTemplateOutlet]", ["thyStringOrTemplateOutlet"], { "thyStringOrTemplateOutletContext": { "alias": "thyStringOrTemplateOutletContext"; "required": false; }; "thyStringOrTemplateOutlet": { "alias": "thyStringOrTemplateOutlet"; "required": false; }; }, {}, never, never, true, never>;
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ThyStringOrTemplateOutletDirective, "[thyStringOrTemplateOutlet]", ["thyStringOrTemplateOutlet"], { "thyStringOrTemplateOutletContext": { "alias": "thyStringOrTemplateOutletContext"; "required": false; "isSignal": true; }; "thyStringOrTemplateOutlet": { "alias": "thyStringOrTemplateOutlet"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
18
17
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "ngx-tethys/util";
|
|
3
2
|
/**
|
|
4
3
|
* 自动聚焦指令
|
|
5
4
|
* @name input[thyAutofocus],textarea[thyAutofocus]
|
|
@@ -12,14 +11,13 @@ export declare class ThyAutofocusDirective {
|
|
|
12
11
|
* 是否自动聚焦
|
|
13
12
|
* @default false
|
|
14
13
|
*/
|
|
15
|
-
|
|
14
|
+
readonly thyAutofocus: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
16
15
|
/**
|
|
17
16
|
* 是否自动选择
|
|
18
17
|
* @default false
|
|
19
18
|
*/
|
|
20
|
-
|
|
19
|
+
readonly thyAutoSelect: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
20
|
+
constructor();
|
|
21
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyAutofocusDirective, never>;
|
|
22
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ThyAutofocusDirective, "input[thyAutofocus],textarea[thyAutofocus]", never, { "thyAutofocus": { "alias": "thyAutofocus"; "required": false; }; "thyAutoSelect": { "alias": "thyAutoSelect"; "required": false; }; }, {}, never, never, true, never>;
|
|
23
|
-
static ngAcceptInputType_thyAutofocus: i1.ThyBooleanInput;
|
|
24
|
-
static ngAcceptInputType_thyAutoSelect: i1.ThyBooleanInput;
|
|
22
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ThyAutofocusDirective, "input[thyAutofocus],textarea[thyAutofocus]", never, { "thyAutofocus": { "alias": "thyAutofocus"; "required": false; "isSignal": true; }; "thyAutoSelect": { "alias": "thyAutoSelect"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
25
23
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnInit, OnDestroy } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
/**
|
|
4
4
|
* @name thyContextMenu
|
|
@@ -7,7 +7,7 @@ export declare class ThyContextMenuDirective implements OnInit, OnDestroy {
|
|
|
7
7
|
private ngZone;
|
|
8
8
|
private elementRef;
|
|
9
9
|
private renderer;
|
|
10
|
-
thyContextMenu:
|
|
10
|
+
readonly thyContextMenu: import("@angular/core").OutputEmitterRef<Event>;
|
|
11
11
|
private removeContextListenerFn;
|
|
12
12
|
rightClick: (event: Event) => void;
|
|
13
13
|
ngOnInit(): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnInit, OnDestroy } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
/**
|
|
4
4
|
* @name thyCtrlEnter
|
|
@@ -7,7 +7,7 @@ export declare class ThyCtrlEnterDirective implements OnInit, OnDestroy {
|
|
|
7
7
|
private ngZone;
|
|
8
8
|
private elementRef;
|
|
9
9
|
private renderer;
|
|
10
|
-
thyCtrlEnter:
|
|
10
|
+
readonly thyCtrlEnter: import("@angular/core").OutputEmitterRef<KeyboardEvent>;
|
|
11
11
|
private removeKeydownListenerFn;
|
|
12
12
|
onKeydown: (event: KeyboardEvent) => void;
|
|
13
13
|
ngOnInit(): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnInit, OnDestroy } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
/**
|
|
4
4
|
* 与 (keydown.enter) 区别是支持组合键,当按 Ctrl + Enter 或者 Command + Enter 也会触发
|
|
@@ -8,7 +8,7 @@ export declare class ThyEnterDirective implements OnInit, OnDestroy {
|
|
|
8
8
|
private ngZone;
|
|
9
9
|
private elementRef;
|
|
10
10
|
private renderer;
|
|
11
|
-
thyEnter:
|
|
11
|
+
readonly thyEnter: import("@angular/core").OutputEmitterRef<KeyboardEvent>;
|
|
12
12
|
onKeydown: (event: KeyboardEvent) => void;
|
|
13
13
|
private removeKeydownListenerFn;
|
|
14
14
|
ngOnInit(): void;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { ElementRef, OnInit, OnDestroy
|
|
1
|
+
import { ElementRef, OnInit, OnDestroy } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "ngx-tethys/util";
|
|
4
3
|
/**
|
|
5
4
|
* @name thyScroll
|
|
6
5
|
*/
|
|
@@ -8,11 +7,9 @@ export declare class ThyScrollDirective implements OnInit, OnDestroy {
|
|
|
8
7
|
private elementRef;
|
|
9
8
|
private ngZone;
|
|
10
9
|
private _destroyed;
|
|
11
|
-
private _enable;
|
|
12
|
-
private _initialled;
|
|
13
10
|
private _subscription;
|
|
14
11
|
private _elementScrolled;
|
|
15
|
-
|
|
12
|
+
readonly thyEnable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
16
13
|
/**
|
|
17
14
|
* @description
|
|
18
15
|
*
|
|
@@ -32,11 +29,11 @@ export declare class ThyScrollDirective implements OnInit, OnDestroy {
|
|
|
32
29
|
* }
|
|
33
30
|
* ```
|
|
34
31
|
*/
|
|
35
|
-
thyOnScrolled:
|
|
32
|
+
readonly thyOnScrolled: import("@angular/core").OutputEmitterRef<ElementRef<any>>;
|
|
33
|
+
constructor();
|
|
36
34
|
ngOnInit(): void;
|
|
37
35
|
ngOnDestroy(): void;
|
|
38
36
|
getElementRef(): ElementRef<HTMLElement>;
|
|
39
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyScrollDirective, never>;
|
|
40
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ThyScrollDirective, "[thyScroll]", never, { "thyEnable": { "alias": "thyEnable"; "required": false; }; }, { "thyOnScrolled": "thyOnScrolled"; }, never, never, true, never>;
|
|
41
|
-
static ngAcceptInputType_thyEnable: i1.ThyBooleanInput;
|
|
38
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ThyScrollDirective, "[thyScroll]", never, { "thyEnable": { "alias": "thyEnable"; "required": false; "isSignal": true; }; }, { "thyOnScrolled": "thyOnScrolled"; }, never, never, true, never>;
|
|
42
39
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "ngx-tethys/util";
|
|
4
3
|
/**
|
|
5
4
|
* @name thyShow
|
|
6
5
|
*/
|
|
@@ -8,13 +7,13 @@ export declare class ThyShowDirective implements OnDestroy {
|
|
|
8
7
|
private elementRef;
|
|
9
8
|
private renderer;
|
|
10
9
|
private ngZone;
|
|
11
|
-
thyShowChange:
|
|
10
|
+
readonly thyShowChange: import("@angular/core").OutputEmitterRef<boolean>;
|
|
12
11
|
private hostRenderer;
|
|
13
12
|
private unListenEvent;
|
|
14
13
|
private unListenDocument;
|
|
15
|
-
|
|
14
|
+
readonly thyShow: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
15
|
+
constructor();
|
|
16
16
|
ngOnDestroy(): void;
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyShowDirective, never>;
|
|
18
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ThyShowDirective, "[thyShow]", never, { "thyShow": { "alias": "thyShow"; "required": false; }; }, { "thyShowChange": "thyShowChange"; }, never, never, true, never>;
|
|
19
|
-
static ngAcceptInputType_thyShow: i1.ThyBooleanInput;
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ThyShowDirective, "[thyShow]", never, { "thyShow": { "alias": "thyShow"; "required": false; "isSignal": true; }; }, { "thyShowChange": "thyShowChange"; }, never, never, true, never>;
|
|
20
19
|
}
|
|
@@ -5,13 +5,13 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
* @name thyStopPropagation
|
|
6
6
|
*/
|
|
7
7
|
export declare class ThyStopPropagationDirective implements OnDestroy {
|
|
8
|
-
|
|
9
|
-
private
|
|
10
|
-
|
|
8
|
+
readonly thyStopPropagation: import("@angular/core").InputSignal<string | boolean>;
|
|
9
|
+
private readonly _eventName;
|
|
10
|
+
private readonly _shouldStopPropagation;
|
|
11
11
|
private _changes$;
|
|
12
12
|
private _destroy$;
|
|
13
13
|
constructor();
|
|
14
14
|
ngOnDestroy(): void;
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyStopPropagationDirective, never>;
|
|
16
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ThyStopPropagationDirective, "[thyStopPropagation]", never, { "thyStopPropagation": { "alias": "thyStopPropagation"; "required": false; }; }, {}, never, never, true, never>;
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ThyStopPropagationDirective, "[thyStopPropagation]", never, { "thyStopPropagation": { "alias": "thyStopPropagation"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
17
17
|
}
|