ngx-tethys 19.1.0-next.0 → 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 +126 -0
- package/README.md +0 -1
- package/action/action.component.d.ts +7 -8
- package/affix/affix.component.d.ts +3 -4
- package/arrow-switcher/arrow-switcher.component.d.ts +5 -1
- package/badge/badge.component.d.ts +1 -1
- package/button/button-group.component.d.ts +5 -12
- package/button/button-icon.component.d.ts +14 -28
- package/button/button.component.d.ts +17 -27
- 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/calendar.scss +1 -1
- package/date-picker/styles/range-picker.scss +1 -0
- package/date-picker/styles/week-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-active.directive.d.ts +4 -5
- package/dropdown/dropdown-menu-item.directive.d.ts +7 -15
- package/dropdown/dropdown-menu.component.d.ts +6 -13
- package/dropdown/dropdown-submenu.component.d.ts +2 -4
- package/dropdown/dropdown.directive.d.ts +15 -25
- package/empty/empty.component.d.ts +2 -1
- package/fesm2022/ngx-tethys-action.mjs +15 -16
- package/fesm2022/ngx-tethys-action.mjs.map +1 -1
- package/fesm2022/ngx-tethys-affix.mjs +14 -18
- package/fesm2022/ngx-tethys-affix.mjs.map +1 -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-button.mjs +225 -322
- package/fesm2022/ngx-tethys-button.mjs.map +1 -1
- package/fesm2022/ngx-tethys-carousel.mjs +1 -0
- package/fesm2022/ngx-tethys-carousel.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-collapse.mjs +2 -2
- package/fesm2022/ngx-tethys-collapse.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 +861 -1078
- 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 +159 -209
- 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 +68 -88
- package/fesm2022/ngx-tethys-flexible-text.mjs.map +1 -1
- package/fesm2022/ngx-tethys-grid.mjs +10 -15
- package/fesm2022/ngx-tethys-grid.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-icon.mjs +44 -59
- package/fesm2022/ngx-tethys-icon.mjs.map +1 -1
- package/fesm2022/ngx-tethys-image.mjs +44 -42
- package/fesm2022/ngx-tethys-image.mjs.map +1 -1
- package/fesm2022/ngx-tethys-input-number.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-progress.mjs +7 -11
- package/fesm2022/ngx-tethys-progress.mjs.map +1 -1
- package/fesm2022/ngx-tethys-property.mjs +8 -19
- package/fesm2022/ngx-tethys-property.mjs.map +1 -1
- package/fesm2022/ngx-tethys-radio.mjs +46 -58
- package/fesm2022/ngx-tethys-radio.mjs.map +1 -1
- package/fesm2022/ngx-tethys-rate.mjs +115 -157
- package/fesm2022/ngx-tethys-rate.mjs.map +1 -1
- package/fesm2022/ngx-tethys-resizable.mjs +100 -143
- package/fesm2022/ngx-tethys-resizable.mjs.map +1 -1
- package/fesm2022/ngx-tethys-segment.mjs +84 -103
- package/fesm2022/ngx-tethys-segment.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 -586
- 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-slide.mjs +37 -56
- package/fesm2022/ngx-tethys-slide.mjs.map +1 -1
- package/fesm2022/ngx-tethys-slider.mjs.map +1 -1
- package/fesm2022/ngx-tethys-space.mjs +2 -8
- package/fesm2022/ngx-tethys-space.mjs.map +1 -1
- package/fesm2022/ngx-tethys-stepper.mjs.map +1 -1
- package/fesm2022/ngx-tethys-strength.mjs +52 -66
- package/fesm2022/ngx-tethys-strength.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-transfer.mjs +98 -119
- package/fesm2022/ngx-tethys-transfer.mjs.map +1 -1
- package/fesm2022/ngx-tethys-tree-select.mjs +216 -284
- package/fesm2022/ngx-tethys-tree-select.mjs.map +1 -1
- package/fesm2022/ngx-tethys-tree.mjs +281 -401
- package/fesm2022/ngx-tethys-tree.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-vote.mjs +53 -99
- package/fesm2022/ngx-tethys-vote.mjs.map +1 -1
- package/fesm2022/ngx-tethys.mjs +1 -1
- package/fesm2022/ngx-tethys.mjs.map +1 -1
- package/flexible-text/flexible-text.component.d.ts +9 -15
- package/grid/flex.d.ts +1 -3
- package/grid/thy-row.directive.d.ts +1 -4
- 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/icon/icon.component.d.ts +10 -18
- package/image/image.directive.d.ts +10 -13
- package/image/image.token.d.ts +5 -5
- package/image/preview/image-preview.component.d.ts +2 -2
- package/input-number/input-number.component.d.ts +1 -1
- 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/progress/progress-circle.component.d.ts +3 -5
- package/progress/progress.component.d.ts +2 -4
- package/property/properties.component.d.ts +0 -2
- package/property/property-item.component.d.ts +3 -10
- package/radio/group/radio-group.component.d.ts +5 -9
- package/rate/rate-item.component.d.ts +8 -11
- package/rate/rate.component.d.ts +18 -29
- package/resizable/resizable.directive.d.ts +20 -32
- package/resizable/resize-handle.component.d.ts +6 -7
- package/resizable/resize-handles.component.d.ts +5 -9
- package/schematics/version.d.ts +1 -1
- package/schematics/version.js +1 -1
- package/segment/segment-item.component.d.ts +9 -15
- package/segment/segment.component.d.ts +11 -15
- package/segment/segment.token.d.ts +4 -3
- 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/slide/slide-body/slide-body-section.component.d.ts +2 -6
- package/slide/slide-header/slide-header.component.d.ts +6 -9
- package/space/space.component.d.ts +5 -11
- package/stepper/stepper.component.d.ts +1 -1
- package/strength/strength.component.d.ts +8 -13
- 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/transfer/transfer-list.component.d.ts +15 -15
- package/transfer/transfer.component.d.ts +20 -23
- package/tree/tree-abstract.d.ts +5 -5
- package/tree/tree-node.component.d.ts +24 -37
- package/tree/tree.class.d.ts +4 -4
- package/tree/tree.component.d.ts +47 -75
- package/tree/tree.service.d.ts +3 -4
- package/tree-select/tree-select.component.d.ts +54 -71
- package/vote/vote.component.d.ts +13 -33
|
@@ -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,5 +1,5 @@
|
|
|
1
1
|
import { CdkDrag, CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
2
|
-
import { DoCheck,
|
|
2
|
+
import { DoCheck, OnInit, Signal, TemplateRef } from '@angular/core';
|
|
3
3
|
import { InnerTransferDragEvent, ThyTransferItem, ThyTransferSelectEvent } from './transfer.interface';
|
|
4
4
|
import { ThyTransferLocale } from 'ngx-tethys/i18n';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
@@ -14,19 +14,19 @@ export declare class ThyTransferList implements OnInit, DoCheck {
|
|
|
14
14
|
private _lockDiff;
|
|
15
15
|
private _unlockDiff;
|
|
16
16
|
locale: Signal<ThyTransferLocale>;
|
|
17
|
-
title: string
|
|
18
|
-
items: ThyTransferItem[]
|
|
19
|
-
draggable: boolean
|
|
20
|
-
canLock: boolean
|
|
21
|
-
maxLock: number
|
|
22
|
-
max: number
|
|
23
|
-
disabled: boolean
|
|
24
|
-
template: TemplateRef<any
|
|
25
|
-
|
|
26
|
-
draggableUpdate:
|
|
27
|
-
selectItem:
|
|
28
|
-
unselectItem:
|
|
29
|
-
|
|
17
|
+
readonly title: import("@angular/core").InputSignal<string>;
|
|
18
|
+
readonly items: import("@angular/core").InputSignal<ThyTransferItem[]>;
|
|
19
|
+
readonly draggable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
20
|
+
readonly canLock: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
21
|
+
readonly maxLock: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
22
|
+
readonly max: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
23
|
+
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
24
|
+
readonly template: import("@angular/core").InputSignal<TemplateRef<any>>;
|
|
25
|
+
readonly renderContentRef: import("@angular/core").InputSignal<TemplateRef<any>>;
|
|
26
|
+
readonly draggableUpdate: import("@angular/core").OutputEmitterRef<InnerTransferDragEvent>;
|
|
27
|
+
readonly selectItem: import("@angular/core").OutputEmitterRef<ThyTransferSelectEvent>;
|
|
28
|
+
readonly unselectItem: import("@angular/core").OutputEmitterRef<ThyTransferSelectEvent>;
|
|
29
|
+
constructor();
|
|
30
30
|
ngOnInit(): void;
|
|
31
31
|
private _combineTransferData;
|
|
32
32
|
private _afterChangeItems;
|
|
@@ -37,5 +37,5 @@ export declare class ThyTransferList implements OnInit, DoCheck {
|
|
|
37
37
|
onUnselectItem: (item: ThyTransferItem) => void;
|
|
38
38
|
drop(event: CdkDragDrop<ThyTransferItem[]>): void;
|
|
39
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyTransferList, never>;
|
|
40
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyTransferList, "thy-transfer-list", never, { "title": { "alias": "title"; "required": false; }; "items": { "alias": "items"; "required": false; }; "draggable": { "alias": "draggable"; "required": false; }; "canLock": { "alias": "canLock"; "required": false; }; "maxLock": { "alias": "maxLock"; "required": false; }; "max": { "alias": "max"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "template": { "alias": "template"; "required": false; }; "
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyTransferList, "thy-transfer-list", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "items": { "alias": "items"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "canLock": { "alias": "canLock"; "required": false; "isSignal": true; }; "maxLock": { "alias": "maxLock"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "template": { "alias": "template"; "required": false; "isSignal": true; }; "renderContentRef": { "alias": "renderContentRef"; "required": false; "isSignal": true; }; }, { "draggableUpdate": "draggableUpdate"; "selectItem": "selectItem"; "unselectItem": "unselectItem"; }, never, never, true, never>;
|
|
41
41
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnInit, TemplateRef } from '@angular/core';
|
|
2
2
|
import { Direction, InnerTransferDragEvent, ThyTransferChangeEvent, ThyTransferDragEvent, ThyTransferItem, ThyTransferSelectEvent } from './transfer.interface';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
/**
|
|
@@ -7,79 +7,76 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
* @order 10
|
|
8
8
|
*/
|
|
9
9
|
export declare class ThyTransfer implements OnInit {
|
|
10
|
-
hostClass: string;
|
|
11
10
|
leftDataSource: ThyTransferItem[];
|
|
12
11
|
rightDataSource: ThyTransferItem[];
|
|
13
|
-
allDataSource: ThyTransferItem[];
|
|
14
|
-
leftTitle: string;
|
|
15
|
-
rightTitle: string;
|
|
16
|
-
rightDraggable: boolean;
|
|
17
|
-
private _autoMove;
|
|
18
12
|
/**
|
|
19
13
|
* 数据源
|
|
20
14
|
* @type ThyTransferItem[]
|
|
21
15
|
*/
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
16
|
+
readonly thyData: import("@angular/core").InputSignal<ThyTransferItem[]>;
|
|
17
|
+
readonly thyRenderLeftTemplateRef: import("@angular/core").InputSignal<TemplateRef<any>>;
|
|
18
|
+
readonly thyRenderRightTemplateRef: import("@angular/core").InputSignal<TemplateRef<any>>;
|
|
25
19
|
/**
|
|
26
20
|
* title集合,title[0]为左标题,title[1]为右标题
|
|
27
21
|
* @type string[]
|
|
28
22
|
*/
|
|
29
|
-
|
|
23
|
+
readonly thyTitles: import("@angular/core").InputSignal<string[]>;
|
|
30
24
|
/**
|
|
31
25
|
* 右侧列表是否可以锁定
|
|
32
26
|
* @default false
|
|
33
27
|
*/
|
|
34
|
-
thyRightCanLock: boolean
|
|
28
|
+
readonly thyRightCanLock: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
35
29
|
/**
|
|
36
30
|
* 右侧锁定最大数量
|
|
37
31
|
*/
|
|
38
|
-
thyRightLockMax: number
|
|
32
|
+
readonly thyRightLockMax: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
39
33
|
/**
|
|
40
34
|
* 右侧选择最大数量
|
|
41
35
|
*/
|
|
42
|
-
thyRightMax: number
|
|
36
|
+
readonly thyRightMax: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
43
37
|
/**
|
|
44
38
|
* 设置是否自动移动
|
|
45
39
|
* @description.en-us Currently not implemented, in order to support the selections move
|
|
46
40
|
* @default true
|
|
47
41
|
*/
|
|
48
|
-
|
|
42
|
+
readonly thyAutoMove: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
49
43
|
/**
|
|
50
44
|
* 左侧列表是否拖动
|
|
51
45
|
* @default false
|
|
52
46
|
*/
|
|
53
|
-
thyLeftDraggable: boolean
|
|
47
|
+
readonly thyLeftDraggable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
54
48
|
/**
|
|
55
49
|
* 右侧列表是否拖动
|
|
56
50
|
* @default false
|
|
57
51
|
*/
|
|
58
|
-
thyRightDraggable: boolean
|
|
52
|
+
readonly thyRightDraggable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
59
53
|
/**
|
|
60
54
|
* @type EventEmitter<ThyTransferDragEvent>
|
|
61
55
|
*/
|
|
62
|
-
thyDraggableUpdate:
|
|
56
|
+
thyDraggableUpdate: import("@angular/core").OutputEmitterRef<ThyTransferDragEvent>;
|
|
63
57
|
/**
|
|
64
58
|
* Transfer变化的回调事件
|
|
65
59
|
* @type EventEmitter<ThyTransferChangeEvent>
|
|
66
60
|
*/
|
|
67
|
-
thyChange:
|
|
61
|
+
thyChange: import("@angular/core").OutputEmitterRef<ThyTransferChangeEvent>;
|
|
68
62
|
/**
|
|
69
63
|
* 设置自定义Item渲染数据模板
|
|
70
64
|
* @type TemplateRef
|
|
71
65
|
*/
|
|
72
|
-
templateRef: TemplateRef<any
|
|
66
|
+
readonly templateRef: import("@angular/core").Signal<TemplateRef<any>>;
|
|
73
67
|
/**
|
|
74
68
|
* 设置自定义左侧内容模板
|
|
75
69
|
* @type TemplateRef
|
|
76
70
|
*/
|
|
77
|
-
leftContentRef: TemplateRef<any
|
|
71
|
+
readonly leftContentRef: import("@angular/core").Signal<TemplateRef<any>>;
|
|
78
72
|
/**
|
|
79
73
|
* 设置自定义右侧内容模板
|
|
80
74
|
* @type TemplateRef
|
|
81
75
|
*/
|
|
82
|
-
rightContentRef: TemplateRef<any
|
|
76
|
+
readonly rightContentRef: import("@angular/core").Signal<TemplateRef<any>>;
|
|
77
|
+
readonly leftTitle: import("@angular/core").Signal<string>;
|
|
78
|
+
readonly rightTitle: import("@angular/core").Signal<string>;
|
|
79
|
+
constructor();
|
|
83
80
|
ngOnInit(): void;
|
|
84
81
|
initializeTransferData(data?: ThyTransferItem[]): void;
|
|
85
82
|
onSelect(from: Direction, event: ThyTransferSelectEvent): void;
|
|
@@ -89,5 +86,5 @@ export declare class ThyTransfer implements OnInit {
|
|
|
89
86
|
onMove(to: Direction): void;
|
|
90
87
|
onDragUpdate(direction: Direction, event: InnerTransferDragEvent): void;
|
|
91
88
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThyTransfer, never>;
|
|
92
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThyTransfer, "thy-transfer", never, { "thyData": { "alias": "thyData"; "required": false; }; "
|
|
89
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThyTransfer, "thy-transfer", never, { "thyData": { "alias": "thyData"; "required": false; "isSignal": true; }; "thyRenderLeftTemplateRef": { "alias": "thyRenderLeftTemplateRef"; "required": false; "isSignal": true; }; "thyRenderRightTemplateRef": { "alias": "thyRenderRightTemplateRef"; "required": false; "isSignal": true; }; "thyTitles": { "alias": "thyTitles"; "required": false; "isSignal": true; }; "thyRightCanLock": { "alias": "thyRightCanLock"; "required": false; "isSignal": true; }; "thyRightLockMax": { "alias": "thyRightLockMax"; "required": false; "isSignal": true; }; "thyRightMax": { "alias": "thyRightMax"; "required": false; "isSignal": true; }; "thyAutoMove": { "alias": "thyAutoMove"; "required": false; "isSignal": true; }; "thyLeftDraggable": { "alias": "thyLeftDraggable"; "required": false; "isSignal": true; }; "thyRightDraggable": { "alias": "thyRightDraggable"; "required": false; "isSignal": true; }; }, { "thyDraggableUpdate": "thyDraggableUpdate"; "thyChange": "thyChange"; }, ["templateRef", "leftContentRef", "rightContentRef"], never, true, never>;
|
|
93
90
|
}
|
package/tree/tree-abstract.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
1
|
+
import { InjectionToken, InputSignal, Signal } from '@angular/core';
|
|
2
2
|
import { ThyTreeNode } from './tree.class';
|
|
3
3
|
import { ThyTreeBeforeDragDropContext, ThyTreeBeforeDragStartContext, ThyTreeDragDropEvent, ThyTreeIcons } from './tree.class';
|
|
4
4
|
export interface ThyTreeAbstractComponent {
|
|
5
|
-
thyMultiple: boolean
|
|
6
|
-
thyDraggable: boolean
|
|
7
|
-
thyShowExpand: boolean
|
|
5
|
+
thyMultiple: InputSignal<boolean>;
|
|
6
|
+
thyDraggable: InputSignal<boolean>;
|
|
7
|
+
thyShowExpand: InputSignal<boolean>;
|
|
8
8
|
treeNodes: ThyTreeNode[];
|
|
9
|
-
|
|
9
|
+
icons: Signal<ThyTreeIcons>;
|
|
10
10
|
thyBeforeDragStart(e: ThyTreeBeforeDragStartContext): boolean;
|
|
11
11
|
thyBeforeDragDrop(e: ThyTreeBeforeDragDropContext): boolean;
|
|
12
12
|
onDragDrop(event: ThyTreeDragDropEvent): void;
|