ngx-tethys 19.1.0-next.5 → 19.1.0-next.7
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 +25 -0
- 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 +1 -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 +2 -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/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/fesm2022/ngx-tethys-autocomplete.mjs +4 -4
- package/fesm2022/ngx-tethys-autocomplete.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 +841 -1068
- package/fesm2022/ngx-tethys-date-picker.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-flexible-text.mjs +4 -5
- package/fesm2022/ngx-tethys-flexible-text.mjs.map +1 -1
- package/fesm2022/ngx-tethys-i18n.mjs +11 -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 +147 -166
- package/fesm2022/ngx-tethys-list.mjs.map +1 -1
- package/fesm2022/ngx-tethys-message.mjs +1 -2
- package/fesm2022/ngx-tethys-message.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-select.mjs +164 -228
- package/fesm2022/ngx-tethys-select.mjs.map +1 -1
- package/fesm2022/ngx-tethys-shared.mjs +386 -569
- 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-table.mjs +1 -2
- package/fesm2022/ngx-tethys-table.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.mjs +1 -1
- package/fesm2022/ngx-tethys.mjs.map +1 -1
- package/i18n/i18n.d.ts +2 -1
- package/i18n/locales/de-de.d.ts +2 -1
- package/i18n/locales/en-us.d.ts +2 -1
- package/i18n/locales/ja-jp.d.ts +2 -1
- package/i18n/locales/zh-hans.d.ts +2 -1
- package/i18n/locales/zh-hant.d.ts +2 -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/selection/selection-list.d.ts +33 -46
- package/package.json +1 -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 +27 -47
- package/table/table-column.component.d.ts +15 -5
- package/tooltip/tooltip.directive.d.ts +20 -22
- package/tree-select/tree-select.component.d.ts +53 -70
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,31 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
# [19.1.0-next.7](https://github.com/atinc/ngx-tethys/compare/19.1.0-next.6...19.1.0-next.7) (2025-08-15)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **date-picker:** rename open to opened and add open method #TINFR-1463 ([#3532](https://github.com/atinc/ngx-tethys/issues/3532)) ([67ba3f5](https://github.com/atinc/ngx-tethys/commit/67ba3f55e68781181c28992c1c4c421d603fb3f6)), closes [#TINFR-1463](https://github.com/atinc/ngx-tethys/issues/TINFR-1463)
|
|
11
|
+
* migrate tooltip signal and related component ([#3518](https://github.com/atinc/ngx-tethys/issues/3518)) ([58189df](https://github.com/atinc/ngx-tethys/commit/58189df326aee2d2c0e449d53ebe6b46c08a3a10))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
# [19.1.0-next.6](https://github.com/atinc/ngx-tethys/compare/19.1.0-next.5...19.1.0-next.6) (2025-08-14)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* **date-picker:** chang format '第三季' to ‘Q3’ for quarter picker, and change format '二月‘ to '2月' for month picker #TINFR-2391 ([#3505](https://github.com/atinc/ngx-tethys/issues/3505)) ([f621bac](https://github.com/atinc/ngx-tethys/commit/f621bacac05b4520daa5476a791516ccd130bc29)), closes [#TINFR-2391](https://github.com/atinc/ngx-tethys/issues/TINFR-2391)
|
|
21
|
+
* **dropdown:** handle placement default value ([#3519](https://github.com/atinc/ngx-tethys/issues/3519)) ([aa9fa8e](https://github.com/atinc/ngx-tethys/commit/aa9fa8ee206b26aec27524d7ff69f68eb67a28e6))
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Features
|
|
25
|
+
|
|
26
|
+
* **layout:** migrate inputs to signals inputs #TINFR-1480 ([#3512](https://github.com/atinc/ngx-tethys/issues/3512)) ([6d22be5](https://github.com/atinc/ngx-tethys/commit/6d22be5bb7c862de688264fc11be745f98e1b586)), closes [#TINFR-1480](https://github.com/atinc/ngx-tethys/issues/TINFR-1480)
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
5
30
|
# [19.1.0-next.5](https://github.com/atinc/ngx-tethys/compare/19.1.0-next.4...19.1.0-next.5) (2025-08-07)
|
|
6
31
|
|
|
7
32
|
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { Subject } from 'rxjs';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
/**
|
|
5
4
|
* @internal
|
|
6
5
|
*/
|
|
7
6
|
export declare class ThyCoordinatesDirective implements OnInit, OnDestroy {
|
|
8
7
|
el: ElementRef<any>;
|
|
9
|
-
coordinatesChange:
|
|
8
|
+
readonly coordinatesChange: import("@angular/core").OutputEmitterRef<{
|
|
10
9
|
x: number;
|
|
11
10
|
y: number;
|
|
12
11
|
left: number;
|
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
import { TabIndexDisabledControlValueAccessorMixin } from 'ngx-tethys/core';
|
|
2
2
|
import { TinyDate } from 'ngx-tethys/util';
|
|
3
|
-
import {
|
|
4
|
-
import { ChangeDetectorRef, EventEmitter, OnChanges, OnDestroy, OnInit, Signal, SimpleChanges } from '@angular/core';
|
|
3
|
+
import { ChangeDetectorRef, OnChanges, OnInit, Signal, SimpleChanges, DestroyRef } from '@angular/core';
|
|
5
4
|
import { ControlValueAccessor } from '@angular/forms';
|
|
6
5
|
import { ThyDatePickerLocale } from 'ngx-tethys/i18n';
|
|
7
6
|
import { CompatibleValue, RangeAdvancedValue } from './inner-types';
|
|
8
7
|
import { ThyPicker } from './picker.component';
|
|
9
|
-
import {
|
|
8
|
+
import { ThyCompatibleDate, CompatiblePresets, DateEntry, DisabledDateFn, ThyDateChangeEvent, ThyDateGranularity, ThyDateRangeEntry, ThyPanelMode, ThyShortcutPosition } from './standard-types';
|
|
10
9
|
import * as i0 from "@angular/core";
|
|
11
10
|
import * as i1 from "ngx-tethys/util";
|
|
12
11
|
/**
|
|
13
12
|
* @private
|
|
14
13
|
*/
|
|
15
|
-
export declare abstract class AbstractPickerComponent extends TabIndexDisabledControlValueAccessorMixin implements OnInit, OnChanges,
|
|
14
|
+
export declare abstract class AbstractPickerComponent extends TabIndexDisabledControlValueAccessorMixin implements OnInit, OnChanges, ControlValueAccessor {
|
|
15
|
+
protected destroyRef: DestroyRef;
|
|
16
16
|
cdr: ChangeDetectorRef;
|
|
17
17
|
locale: Signal<ThyDatePickerLocale>;
|
|
18
18
|
thyValue: CompatibleValue | null;
|
|
19
|
+
panelMode: ThyPanelMode | ThyPanelMode[];
|
|
19
20
|
_panelMode: ThyPanelMode;
|
|
20
21
|
private datePickerConfigService;
|
|
21
22
|
/**
|
|
@@ -27,98 +28,104 @@ export declare abstract class AbstractPickerComponent extends TabIndexDisabledCo
|
|
|
27
28
|
/**
|
|
28
29
|
* 是否显示清除按钮
|
|
29
30
|
*/
|
|
30
|
-
thyAllowClear: boolean
|
|
31
|
+
readonly thyAllowClear: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
31
32
|
/**
|
|
32
33
|
* 是否自动获取焦点
|
|
33
|
-
* @default false
|
|
34
34
|
*/
|
|
35
|
-
thyAutoFocus: boolean
|
|
36
|
-
thyOpen: boolean
|
|
37
|
-
|
|
35
|
+
readonly thyAutoFocus: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
36
|
+
readonly thyOpen: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
37
|
+
readonly opened: import("@angular/core").WritableSignal<boolean>;
|
|
38
|
+
readonly thyDisabledDate: import("@angular/core").InputSignal<DisabledDateFn>;
|
|
38
39
|
/**
|
|
39
40
|
* 最小值
|
|
40
|
-
* @type Date | number
|
|
41
41
|
*/
|
|
42
|
-
thyMinDate:
|
|
42
|
+
readonly thyMinDate: import("@angular/core").InputSignal<number | Date>;
|
|
43
43
|
/**
|
|
44
44
|
* 最大值
|
|
45
|
-
* @type Date | number
|
|
46
45
|
*/
|
|
47
|
-
thyMaxDate:
|
|
46
|
+
readonly thyMaxDate: import("@angular/core").InputSignal<number | Date>;
|
|
48
47
|
/**
|
|
49
48
|
* 输入框提示文字
|
|
50
49
|
* @type string | string[]
|
|
51
50
|
*/
|
|
52
|
-
thyPlaceHolder: string | string[]
|
|
51
|
+
readonly thyPlaceHolder: import("@angular/core").InputSignal<string | string[]>;
|
|
52
|
+
readonly placeholder: import("@angular/core").WritableSignal<string | string[]>;
|
|
53
53
|
/**
|
|
54
54
|
* 是否只读
|
|
55
|
-
* @default false
|
|
56
55
|
*/
|
|
57
|
-
thyReadonly: boolean
|
|
56
|
+
readonly thyReadonly: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
58
57
|
/**
|
|
59
58
|
* 选择器 className
|
|
60
59
|
*/
|
|
61
|
-
thyOriginClassName: string
|
|
60
|
+
readonly thyOriginClassName: import("@angular/core").InputSignal<string>;
|
|
62
61
|
/**
|
|
63
62
|
* 弹出层 className
|
|
64
63
|
*/
|
|
65
|
-
thyPanelClassName: string
|
|
64
|
+
readonly thyPanelClassName: import("@angular/core").InputSignal<string>;
|
|
66
65
|
/**
|
|
67
66
|
* 输入框的大小
|
|
68
|
-
* @type xs | sm | md | lg | default
|
|
69
67
|
*/
|
|
70
|
-
thySize:
|
|
68
|
+
readonly thySize: import("@angular/core").InputSignal<"default" | "sm" | "lg" | "xs" | "md">;
|
|
71
69
|
/**
|
|
72
70
|
* 设置时间戳精度
|
|
73
71
|
* @default seconds 10位
|
|
74
72
|
*/
|
|
75
|
-
thyTimestampPrecision:
|
|
73
|
+
readonly thyTimestampPrecision: import("@angular/core").InputSignal<"seconds" | "milliseconds">;
|
|
76
74
|
/**
|
|
77
75
|
* 展示的日期格式
|
|
78
76
|
* @default yyyy-MM-dd
|
|
79
77
|
*/
|
|
80
|
-
thyFormat: string
|
|
78
|
+
readonly thyFormat: import("@angular/core").ModelSignal<string>;
|
|
81
79
|
/**
|
|
82
80
|
* 区间分隔符,不传值默认为 "~"
|
|
83
81
|
*/
|
|
84
|
-
thySeparator: string
|
|
85
|
-
separator: Signal<string>;
|
|
82
|
+
readonly thySeparator: import("@angular/core").InputSignal<string>;
|
|
83
|
+
readonly separator: Signal<string>;
|
|
86
84
|
/**
|
|
87
85
|
* @description.en-us only for range picker, Whether to automatically take the beginning and ending unixTime of the day
|
|
88
86
|
* @description.zh-cn 是否取值开始日期的00:00以及截止日期的24:00
|
|
89
87
|
* @default false
|
|
90
88
|
*/
|
|
91
|
-
thyAutoStartAndEnd: boolean
|
|
89
|
+
readonly thyAutoStartAndEnd: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
92
90
|
/**
|
|
93
91
|
* 面板默认日期
|
|
94
|
-
* @type CompatibleDate | number | null
|
|
95
92
|
*/
|
|
96
|
-
thyDefaultPickerValue:
|
|
93
|
+
readonly thyDefaultPickerValue: import("@angular/core").InputSignal<number | ThyCompatibleDate>;
|
|
97
94
|
/**
|
|
98
95
|
* 自定义的后缀图标
|
|
99
96
|
*/
|
|
100
|
-
thySuffixIcon: string
|
|
97
|
+
readonly thySuffixIcon: import("@angular/core").InputSignal<string>;
|
|
101
98
|
/**
|
|
102
99
|
* 是否展示快捷选项面板
|
|
103
100
|
* @default false
|
|
104
101
|
*/
|
|
105
|
-
thyShowShortcut: boolean
|
|
102
|
+
readonly thyShowShortcut: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
106
103
|
/**
|
|
107
104
|
* 快捷选项面板的显示位置
|
|
108
105
|
* @type left | bottom
|
|
109
106
|
*/
|
|
110
|
-
|
|
107
|
+
readonly thyShortcutPosition: import("@angular/core").InputSignalWithTransform<ThyShortcutPosition, ThyShortcutPosition>;
|
|
111
108
|
/**
|
|
112
109
|
* 自定义快捷选项
|
|
113
110
|
* @type ThyShortcutPreset[]
|
|
114
111
|
*/
|
|
115
|
-
|
|
112
|
+
readonly thyShortcutPresets: import("@angular/core").InputSignal<CompatiblePresets>;
|
|
113
|
+
/**
|
|
114
|
+
* 是否支持选择时间
|
|
115
|
+
*/
|
|
116
|
+
readonly thyShowTime: import("@angular/core").InputSignalWithTransform<boolean | object, boolean | object>;
|
|
117
|
+
/**
|
|
118
|
+
* 是否展示时间(时、分)
|
|
119
|
+
*/
|
|
120
|
+
readonly thyMustShowTime: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
121
|
+
readonly showWeek: Signal<boolean>;
|
|
122
|
+
readonly flexible: Signal<boolean>;
|
|
116
123
|
/**
|
|
117
124
|
* 日期变化的回调
|
|
118
125
|
*/
|
|
119
|
-
readonly thyDateChange:
|
|
120
|
-
readonly thyOpenChange:
|
|
121
|
-
picker: ThyPicker
|
|
126
|
+
readonly thyDateChange: import("@angular/core").OutputEmitterRef<ThyDateChangeEvent>;
|
|
127
|
+
readonly thyOpenChange: import("@angular/core").OutputEmitterRef<boolean>;
|
|
128
|
+
readonly picker: Signal<ThyPicker>;
|
|
122
129
|
/**
|
|
123
130
|
* 是否禁用
|
|
124
131
|
* @default false
|
|
@@ -128,28 +135,22 @@ export declare abstract class AbstractPickerComponent extends TabIndexDisabledCo
|
|
|
128
135
|
/**
|
|
129
136
|
* 时区,不传使用默认时区
|
|
130
137
|
*/
|
|
131
|
-
thyTimeZone: string
|
|
138
|
+
readonly thyTimeZone: import("@angular/core").InputSignal<string>;
|
|
132
139
|
disabled: boolean;
|
|
133
|
-
shortcutPosition: ThyShortcutPosition;
|
|
134
|
-
shortcutPresets: CompatiblePresets;
|
|
135
140
|
isRange: boolean;
|
|
136
141
|
withTime: boolean;
|
|
137
|
-
flexible: boolean;
|
|
138
142
|
flexibleDateGranularity: ThyDateGranularity;
|
|
139
|
-
protected destroyed$: Subject<void>;
|
|
140
143
|
protected isCustomPlaceHolder: boolean;
|
|
141
144
|
private onlyEmitDate;
|
|
142
145
|
protected originWithTime: boolean;
|
|
143
|
-
protected innerValue:
|
|
146
|
+
protected innerValue: ThyCompatibleDate;
|
|
144
147
|
get realOpenState(): boolean;
|
|
145
148
|
get isShowDatePopup(): boolean;
|
|
146
149
|
initValue(): void;
|
|
147
150
|
constructor();
|
|
148
151
|
ngOnInit(): void;
|
|
149
|
-
isFlexible(): void;
|
|
150
152
|
onDateValueChange(event: ThyDateChangeEvent): void;
|
|
151
153
|
ngOnChanges(changes: SimpleChanges): void;
|
|
152
|
-
ngOnDestroy(): void;
|
|
153
154
|
closeOverlay(): void;
|
|
154
155
|
getAutoStartAndEndValue(begin: TinyDate, end: TinyDate): {
|
|
155
156
|
begin: number;
|
|
@@ -158,20 +159,17 @@ export declare abstract class AbstractPickerComponent extends TabIndexDisabledCo
|
|
|
158
159
|
onValueChange(originalValue: CompatibleValue | RangeAdvancedValue): void;
|
|
159
160
|
setFormatRule(): void;
|
|
160
161
|
onOpenChange(open: boolean): void;
|
|
161
|
-
onChangeFn: (val:
|
|
162
|
-
writeValue(originalValue:
|
|
162
|
+
onChangeFn: (val: ThyCompatibleDate | DateEntry | ThyDateRangeEntry | number | null) => void;
|
|
163
|
+
writeValue(originalValue: ThyCompatibleDate | ThyDateRangeEntry): void;
|
|
163
164
|
setTimePickerState(withTime: boolean): void;
|
|
165
|
+
setDefaultTimePickerState(): void;
|
|
166
|
+
restoreTimePickerState(value: CompatibleValue | null): void;
|
|
167
|
+
setPanelMode(): void;
|
|
164
168
|
setDisabledState(disabled: boolean): void;
|
|
165
169
|
private setDefaultPlaceHolder;
|
|
166
|
-
setValue(value:
|
|
170
|
+
setValue(value: ThyCompatibleDate): void;
|
|
167
171
|
private setValueByPrecision;
|
|
168
172
|
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractPickerComponent, never>;
|
|
169
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractPickerComponent, never, never, { "thyMode": { "alias": "thyMode"; "required": false; }; "thyAllowClear": { "alias": "thyAllowClear"; "required": false; }; "thyAutoFocus": { "alias": "thyAutoFocus"; "required": false; }; "thyOpen": { "alias": "thyOpen"; "required": false; }; "thyDisabledDate": { "alias": "thyDisabledDate"; "required": false; }; "thyMinDate": { "alias": "thyMinDate"; "required": false; }; "thyMaxDate": { "alias": "thyMaxDate"; "required": false; }; "thyPlaceHolder": { "alias": "thyPlaceHolder"; "required": false; }; "thyReadonly": { "alias": "thyReadonly"; "required": false; }; "thyOriginClassName": { "alias": "thyOriginClassName"; "required": false; }; "thyPanelClassName": { "alias": "thyPanelClassName"; "required": false; }; "thySize": { "alias": "thySize"; "required": false; }; "thyTimestampPrecision": { "alias": "thyTimestampPrecision"; "required": false; }; "thyFormat": { "alias": "thyFormat"; "required": false; }; "thySeparator": { "alias": "thySeparator"; "required": false; }; "thyAutoStartAndEnd": { "alias": "thyAutoStartAndEnd"; "required": false; }; "thyDefaultPickerValue": { "alias": "thyDefaultPickerValue"; "required": false; }; "thySuffixIcon": { "alias": "thySuffixIcon"; "required": false; }; "thyShowShortcut": { "alias": "thyShowShortcut"; "required": false; }; "thyShortcutPosition": { "alias": "thyShortcutPosition"; "required": false; }; "thyShortcutPresets": { "alias": "thyShortcutPresets"; "required": false; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; "thyTimeZone": { "alias": "thyTimeZone"; "required": false; }; }, { "thyDateChange": "thyDateChange"; "thyOpenChange": "thyOpenChange"; }, never, never, true, never>;
|
|
170
|
-
static ngAcceptInputType_thyAllowClear: i1.ThyBooleanInput;
|
|
171
|
-
static ngAcceptInputType_thyAutoFocus: i1.ThyBooleanInput;
|
|
172
|
-
static ngAcceptInputType_thyOpen: i1.ThyBooleanInput;
|
|
173
|
-
static ngAcceptInputType_thyReadonly: i1.ThyBooleanInput;
|
|
174
|
-
static ngAcceptInputType_thyAutoStartAndEnd: i1.ThyBooleanInput;
|
|
175
|
-
static ngAcceptInputType_thyShowShortcut: i1.ThyBooleanInput;
|
|
173
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractPickerComponent, never, never, { "thyMode": { "alias": "thyMode"; "required": false; }; "thyAllowClear": { "alias": "thyAllowClear"; "required": false; "isSignal": true; }; "thyAutoFocus": { "alias": "thyAutoFocus"; "required": false; "isSignal": true; }; "thyOpen": { "alias": "thyOpen"; "required": false; "isSignal": true; }; "thyDisabledDate": { "alias": "thyDisabledDate"; "required": false; "isSignal": true; }; "thyMinDate": { "alias": "thyMinDate"; "required": false; "isSignal": true; }; "thyMaxDate": { "alias": "thyMaxDate"; "required": false; "isSignal": true; }; "thyPlaceHolder": { "alias": "thyPlaceHolder"; "required": false; "isSignal": true; }; "thyReadonly": { "alias": "thyReadonly"; "required": false; "isSignal": true; }; "thyOriginClassName": { "alias": "thyOriginClassName"; "required": false; "isSignal": true; }; "thyPanelClassName": { "alias": "thyPanelClassName"; "required": false; "isSignal": true; }; "thySize": { "alias": "thySize"; "required": false; "isSignal": true; }; "thyTimestampPrecision": { "alias": "thyTimestampPrecision"; "required": false; "isSignal": true; }; "thyFormat": { "alias": "thyFormat"; "required": false; "isSignal": true; }; "thySeparator": { "alias": "thySeparator"; "required": false; "isSignal": true; }; "thyAutoStartAndEnd": { "alias": "thyAutoStartAndEnd"; "required": false; "isSignal": true; }; "thyDefaultPickerValue": { "alias": "thyDefaultPickerValue"; "required": false; "isSignal": true; }; "thySuffixIcon": { "alias": "thySuffixIcon"; "required": false; "isSignal": true; }; "thyShowShortcut": { "alias": "thyShowShortcut"; "required": false; "isSignal": true; }; "thyShortcutPosition": { "alias": "thyShortcutPosition"; "required": false; "isSignal": true; }; "thyShortcutPresets": { "alias": "thyShortcutPresets"; "required": false; "isSignal": true; }; "thyShowTime": { "alias": "thyShowTime"; "required": false; "isSignal": true; }; "thyMustShowTime": { "alias": "thyMustShowTime"; "required": false; "isSignal": true; }; "thyDisabled": { "alias": "thyDisabled"; "required": false; }; "thyTimeZone": { "alias": "thyTimeZone"; "required": false; "isSignal": true; }; }, { "thyFormat": "thyFormatChange"; "thyDateChange": "thyDateChange"; "thyOpenChange": "thyOpenChange"; }, never, never, true, never>;
|
|
176
174
|
static ngAcceptInputType_thyDisabled: i1.ThyBooleanInput;
|
|
177
175
|
}
|
|
@@ -2,7 +2,7 @@ import { ThyPlacement } from 'ngx-tethys/core';
|
|
|
2
2
|
import { ThyPopoverConfig } from 'ngx-tethys/popover';
|
|
3
3
|
import { FunctionProp } from 'ngx-tethys/util';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
|
-
import { AfterViewInit, ChangeDetectorRef, ElementRef,
|
|
5
|
+
import { AfterViewInit, ChangeDetectorRef, ElementRef, OnChanges, OnInit, TemplateRef, OnDestroy } from '@angular/core';
|
|
6
6
|
import { AbstractPickerComponent } from './abstract-picker.component';
|
|
7
7
|
import { ThyPanelMode } from './standard-types';
|
|
8
8
|
import { CompatibleValue } from './inner-types';
|
|
@@ -10,73 +10,48 @@ import * as i0 from "@angular/core";
|
|
|
10
10
|
/**
|
|
11
11
|
* @private
|
|
12
12
|
*/
|
|
13
|
-
export declare abstract class PickerDirective extends AbstractPickerComponent implements OnInit,
|
|
13
|
+
export declare abstract class PickerDirective extends AbstractPickerComponent implements OnInit, OnDestroy, AfterViewInit, OnChanges {
|
|
14
14
|
elementRef: ElementRef<any>;
|
|
15
15
|
cdr: ChangeDetectorRef;
|
|
16
16
|
private thyPopover;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* @type EventEmitter<ThyPanelMode | ThyPanelMode[]>
|
|
22
|
-
*/
|
|
23
|
-
readonly thyOnPanelChange: EventEmitter<ThyPanelMode | ThyPanelMode[]>;
|
|
24
|
-
/**
|
|
25
|
-
* @type EventEmitter<Date[]>
|
|
26
|
-
*/
|
|
27
|
-
readonly thyOnCalendarChange: EventEmitter<Date[]>;
|
|
28
|
-
private _showTime;
|
|
29
|
-
get thyShowTime(): object | boolean;
|
|
30
|
-
set thyShowTime(value: object | boolean);
|
|
31
|
-
/**
|
|
32
|
-
* 是否展示时间(时、分)
|
|
33
|
-
* @default false
|
|
34
|
-
*/
|
|
35
|
-
thyMustShowTime: boolean;
|
|
17
|
+
readonly thyDateRender: import("@angular/core").InputSignal<FunctionProp<string | TemplateRef<Date>>>;
|
|
18
|
+
readonly thyOnPanelChange: import("@angular/core").OutputEmitterRef<ThyPanelMode | ThyPanelMode[]>;
|
|
19
|
+
readonly thyOnCalendarChange: import("@angular/core").OutputEmitterRef<Date[]>;
|
|
36
20
|
/**
|
|
37
21
|
* 弹出位置
|
|
38
22
|
* @type top | topLeft | topRight | bottom | bottomLeft | bottomRight | left | leftTop | leftBottom | right | rightTop | rightBottom
|
|
39
23
|
*/
|
|
40
|
-
thyPlacement: ThyPlacement
|
|
41
|
-
private offset;
|
|
24
|
+
readonly thyPlacement: import("@angular/core").InputSignal<ThyPlacement>;
|
|
42
25
|
/**
|
|
43
26
|
* 弹出 DatePicker 的偏移量
|
|
44
|
-
* @default 4
|
|
45
27
|
*/
|
|
46
|
-
|
|
47
|
-
private hasBackdrop;
|
|
28
|
+
readonly thyOffset: import("@angular/core").InputSignalWithTransform<number, number>;
|
|
48
29
|
/**
|
|
49
30
|
* 是否有幕布
|
|
50
|
-
* @default true
|
|
51
31
|
*/
|
|
52
|
-
|
|
32
|
+
readonly thyHasBackdrop: import("@angular/core").InputSignalWithTransform<boolean, boolean>;
|
|
53
33
|
/**
|
|
54
34
|
* popover 的其它参数
|
|
55
35
|
*/
|
|
56
|
-
thyPopoverOptions: ThyPopoverConfig
|
|
36
|
+
readonly thyPopoverOptions: import("@angular/core").InputSignal<ThyPopoverConfig<unknown>>;
|
|
57
37
|
/**
|
|
58
38
|
* 是否阻止冒泡
|
|
59
39
|
*/
|
|
60
|
-
thyStopPropagation: boolean
|
|
61
|
-
private destroy$;
|
|
40
|
+
readonly thyStopPropagation: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
62
41
|
private el;
|
|
63
42
|
readonly $click: Observable<boolean>;
|
|
64
|
-
|
|
43
|
+
private valueChangeSubscription;
|
|
44
|
+
private calendarChangeSubscription;
|
|
45
|
+
private showTimePickerChangeSubscription;
|
|
46
|
+
private dateValueChangeSubscription;
|
|
65
47
|
ngOnInit(): void;
|
|
66
|
-
private getInitialState;
|
|
67
48
|
private openOverlay;
|
|
68
49
|
closeOverlay(): void;
|
|
69
50
|
initActionSubscribe(): void;
|
|
70
51
|
ngAfterViewInit(): void;
|
|
71
52
|
ngOnDestroy(): void;
|
|
72
53
|
onValueChange(value: CompatibleValue): void;
|
|
73
|
-
setDefaultTimePickerState(): void;
|
|
74
|
-
restoreTimePickerState(value: CompatibleValue | null): void;
|
|
75
54
|
onShowTimePickerChange(show: boolean): void;
|
|
76
55
|
static ɵfac: i0.ɵɵFactoryDeclaration<PickerDirective, never>;
|
|
77
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<PickerDirective, never, never, { "thyDateRender": { "alias": "thyDateRender"; "required": false;
|
|
78
|
-
static ngAcceptInputType_thyMustShowTime: any;
|
|
79
|
-
static ngAcceptInputType_thyOffset: unknown;
|
|
80
|
-
static ngAcceptInputType_thyHasBackdrop: any;
|
|
81
|
-
static ngAcceptInputType_thyStopPropagation: any;
|
|
56
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PickerDirective, never, never, { "thyDateRender": { "alias": "thyDateRender"; "required": false; "isSignal": true; }; "thyPlacement": { "alias": "thyPlacement"; "required": false; "isSignal": true; }; "thyOffset": { "alias": "thyOffset"; "required": false; "isSignal": true; }; "thyHasBackdrop": { "alias": "thyHasBackdrop"; "required": false; "isSignal": true; }; "thyPopoverOptions": { "alias": "thyPopoverOptions"; "required": false; "isSignal": true; }; "thyStopPropagation": { "alias": "thyStopPropagation"; "required": false; "isSignal": true; }; }, { "thyOnPanelChange": "thyOnPanelChange"; "thyOnCalendarChange": "thyOnCalendarChange"; }, never, never, true, never>;
|
|
82
57
|
}
|
|
@@ -1,67 +1,41 @@
|
|
|
1
1
|
import { ThyClickDispatcher, ThyPlacement } from 'ngx-tethys/core';
|
|
2
2
|
import { FunctionProp, TinyDate } from 'ngx-tethys/util';
|
|
3
|
-
import { ElementRef,
|
|
3
|
+
import { ElementRef, NgZone, OnChanges, OnInit, TemplateRef } from '@angular/core';
|
|
4
4
|
import { AbstractPickerComponent } from './abstract-picker.component';
|
|
5
5
|
import { CompatibleValue, RangeAdvancedValue } from './inner-types';
|
|
6
|
-
import {
|
|
7
|
-
import { CompatibleDate, ThyPanelMode } from './standard-types';
|
|
6
|
+
import { ThyCompatibleDate, ThyPanelMode } from './standard-types';
|
|
8
7
|
import * as i0 from "@angular/core";
|
|
9
8
|
/**
|
|
10
9
|
* @private
|
|
11
10
|
*/
|
|
12
11
|
export declare class BasePicker extends AbstractPickerComponent implements OnInit, OnChanges {
|
|
13
12
|
protected element: ElementRef<any>;
|
|
14
|
-
showWeek: boolean;
|
|
15
|
-
panelMode: ThyPanelMode | ThyPanelMode[];
|
|
16
13
|
initialized: boolean;
|
|
17
14
|
private innerPreviousDate;
|
|
18
|
-
thyPicker
|
|
19
|
-
thyDateRender: FunctionProp<TemplateRef<Date
|
|
15
|
+
private thyPicker;
|
|
16
|
+
readonly thyDateRender: import("@angular/core").InputSignal<FunctionProp<string | TemplateRef<Date>>>;
|
|
20
17
|
set thyMode(value: ThyPanelMode);
|
|
21
18
|
get thyMode(): ThyPanelMode;
|
|
22
19
|
/**
|
|
23
20
|
* 是否有幕布
|
|
24
|
-
* @default true
|
|
25
21
|
*/
|
|
26
|
-
thyHasBackdrop: boolean
|
|
27
|
-
/**
|
|
28
|
-
* @type EventEmitter<ThyPanelMode | ThyPanelMode[]>
|
|
29
|
-
*/
|
|
30
|
-
readonly thyOnPanelChange: EventEmitter<ThyPanelMode | ThyPanelMode[]>;
|
|
31
|
-
/**
|
|
32
|
-
* @type EventEmitter<Date[]>
|
|
33
|
-
*/
|
|
34
|
-
readonly thyOnCalendarChange: EventEmitter<Date[]>;
|
|
35
|
-
private _showTime;
|
|
36
|
-
/**
|
|
37
|
-
* 增加时间选择功能
|
|
38
|
-
* @default false
|
|
39
|
-
*/
|
|
40
|
-
get thyShowTime(): object | boolean;
|
|
41
|
-
set thyShowTime(value: object | boolean);
|
|
42
|
-
/**
|
|
43
|
-
* 是否展示时间(时、分)
|
|
44
|
-
* @default false
|
|
45
|
-
*/
|
|
46
|
-
thyMustShowTime: boolean;
|
|
22
|
+
readonly thyHasBackdrop: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
47
23
|
/**
|
|
48
24
|
* 弹出位置
|
|
49
25
|
* @type top | topLeft | topRight | bottom | bottomLeft | bottomRight | left | leftTop | leftBottom | right | rightTop | rightBottom
|
|
50
26
|
*/
|
|
51
|
-
thyPlacement: ThyPlacement
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
readonly thyOnOk: EventEmitter<CompatibleDate>;
|
|
56
|
-
takeUntilDestroyed: import("rxjs").MonoTypeOperatorFunction<unknown>;
|
|
27
|
+
readonly thyPlacement: import("@angular/core").InputSignal<ThyPlacement>;
|
|
28
|
+
readonly thyOnPanelChange: import("@angular/core").OutputEmitterRef<ThyPanelMode | ThyPanelMode[]>;
|
|
29
|
+
readonly thyOnCalendarChange: import("@angular/core").OutputEmitterRef<Date[]>;
|
|
30
|
+
readonly thyOnOk: import("@angular/core").OutputEmitterRef<ThyCompatibleDate>;
|
|
57
31
|
thyClickDispatcher: ThyClickDispatcher;
|
|
58
32
|
platformId: Object;
|
|
59
33
|
ngZone: NgZone;
|
|
34
|
+
open(): void;
|
|
60
35
|
ngOnInit(): void;
|
|
61
36
|
onValueChange(value: CompatibleValue | RangeAdvancedValue): void;
|
|
62
37
|
onInputValueChange(formatDate: string | null | Array<null>): void;
|
|
63
|
-
|
|
64
|
-
restoreTimePickerState(value: CompatibleValue | null): void;
|
|
38
|
+
setFormat(): void;
|
|
65
39
|
onCalendarChange(value: TinyDate[]): void;
|
|
66
40
|
onShowTimePickerChange(show: boolean): void;
|
|
67
41
|
onResultOk(): void;
|
|
@@ -71,7 +45,5 @@ export declare class BasePicker extends AbstractPickerComponent implements OnIni
|
|
|
71
45
|
onInputDate(value: string): void;
|
|
72
46
|
private isValidDateLimit;
|
|
73
47
|
static ɵfac: i0.ɵɵFactoryDeclaration<BasePicker, never>;
|
|
74
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BasePicker, "ng-component", never, { "thyDateRender": { "alias": "thyDateRender"; "required": false; }; "thyMode": { "alias": "thyMode"; "required": false; }; "thyHasBackdrop": { "alias": "thyHasBackdrop"; "required": false;
|
|
75
|
-
static ngAcceptInputType_thyHasBackdrop: any;
|
|
76
|
-
static ngAcceptInputType_thyMustShowTime: any;
|
|
48
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BasePicker, "ng-component", never, { "thyDateRender": { "alias": "thyDateRender"; "required": false; "isSignal": true; }; "thyMode": { "alias": "thyMode"; "required": false; }; "thyHasBackdrop": { "alias": "thyHasBackdrop"; "required": false; "isSignal": true; }; "thyPlacement": { "alias": "thyPlacement"; "required": false; "isSignal": true; }; }, { "thyOnPanelChange": "thyOnPanelChange"; "thyOnCalendarChange": "thyOnCalendarChange"; "thyOnOk": "thyOnOk"; }, never, never, true, never>;
|
|
77
49
|
}
|
|
@@ -17,6 +17,7 @@ export interface ThyDatePickerConfig {
|
|
|
17
17
|
* @deprecated
|
|
18
18
|
*/
|
|
19
19
|
export declare const DEFAULT_DATE_PICKER_CONFIG: ThyDatePickerConfig;
|
|
20
|
+
export declare const QUARTER_FORMAT = "'Q'q";
|
|
20
21
|
export declare const THY_DATE_PICKER_CONFIG: InjectionToken<ThyDatePickerConfig>;
|
|
21
22
|
export declare function useDatePickerDefaultConfig(): ThyDatePickerConfig;
|
|
22
23
|
export declare const THY_DATE_PICKER_CONFIG_PROVIDER: {
|
|
@@ -1,32 +1,37 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnInit, Signal } from '@angular/core';
|
|
2
2
|
import { ThyDatePickerLocale } from 'ngx-tethys/i18n';
|
|
3
3
|
import { TinyDate } from 'ngx-tethys/util';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "ngx-tethys/util";
|
|
6
5
|
/**
|
|
7
6
|
* @private
|
|
8
7
|
*/
|
|
9
|
-
export declare class CalendarFooter implements OnInit
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
readonly
|
|
18
|
-
readonly
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
8
|
+
export declare class CalendarFooter implements OnInit {
|
|
9
|
+
/**
|
|
10
|
+
* 是否支持设置时间 (时、分)
|
|
11
|
+
*/
|
|
12
|
+
readonly showTime: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
13
|
+
/**
|
|
14
|
+
* 是否展示时间 (时、分)
|
|
15
|
+
*/
|
|
16
|
+
readonly mustShowTime: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
17
|
+
readonly value: import("@angular/core").ModelSignal<TinyDate>;
|
|
18
|
+
readonly timeZone: import("@angular/core").InputSignal<string>;
|
|
19
|
+
readonly disableTimeConfirm: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
20
|
+
readonly selectTime: import("@angular/core").OutputEmitterRef<TinyDate>;
|
|
21
|
+
readonly clickOk: import("@angular/core").OutputEmitterRef<void>;
|
|
22
|
+
readonly clickRemove: import("@angular/core").OutputEmitterRef<void>;
|
|
23
|
+
readonly showTimePickerChange: import("@angular/core").OutputEmitterRef<boolean>;
|
|
24
|
+
readonly isShowTime: import("@angular/core").WritableSignal<boolean>;
|
|
25
|
+
readonly isCanTime: import("@angular/core").WritableSignal<boolean>;
|
|
26
|
+
readonly locale: Signal<ThyDatePickerLocale>;
|
|
27
|
+
constructor();
|
|
22
28
|
ngOnInit(): void;
|
|
23
|
-
|
|
29
|
+
initValue(): void;
|
|
24
30
|
onSelectTime(date: Date): void;
|
|
25
31
|
onTimeOk(): void;
|
|
26
32
|
onClear(): void;
|
|
27
33
|
changeTimeShowMode(type: string): void;
|
|
28
|
-
private
|
|
34
|
+
private initTimeShowMode;
|
|
29
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarFooter, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CalendarFooter, "calendar-footer", ["calendarFooter"], { "showTime": { "alias": "showTime"; "required": false; }; "mustShowTime": { "alias": "mustShowTime"; "required": false; }; "value": { "alias": "value"; "required": false; }; "timeZone": { "alias": "timeZone"; "required": false; }; "disableTimeConfirm": { "alias": "disableTimeConfirm"; "required": false; }; }, { "selectTime": "selectTime"; "clickOk": "clickOk"; "clickRemove": "clickRemove"; "showTimePickerChange": "showTimePickerChange"; }, never, never, true, never>;
|
|
31
|
-
static ngAcceptInputType_disableTimeConfirm: i1.ThyBooleanInput;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CalendarFooter, "calendar-footer", ["calendarFooter"], { "showTime": { "alias": "showTime"; "required": false; "isSignal": true; }; "mustShowTime": { "alias": "mustShowTime"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "timeZone": { "alias": "timeZone"; "required": false; "isSignal": true; }; "disableTimeConfirm": { "alias": "disableTimeConfirm"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "selectTime": "selectTime"; "clickOk": "clickOk"; "clickRemove": "clickRemove"; "showTimePickerChange": "showTimePickerChange"; }, never, never, true, never>;
|
|
32
37
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnInit, Signal } from '@angular/core';
|
|
2
2
|
import { ThyPanelMode } from '../../standard-types';
|
|
3
3
|
import { TinyDate } from 'ngx-tethys/util';
|
|
4
4
|
import { DateHelperService } from '../../date-helper.service';
|
|
@@ -13,21 +13,21 @@ export interface PanelSelector {
|
|
|
13
13
|
/**
|
|
14
14
|
* @private
|
|
15
15
|
*/
|
|
16
|
-
export declare abstract class CalendarHeader implements OnInit
|
|
17
|
-
dateHelper: DateHelperService;
|
|
18
|
-
locale: Signal<ThyDatePickerLocale>;
|
|
19
|
-
showSuperPreBtn: boolean
|
|
20
|
-
showSuperNextBtn: boolean
|
|
21
|
-
showPreBtn: boolean
|
|
22
|
-
showNextBtn: boolean
|
|
23
|
-
value: TinyDate
|
|
24
|
-
readonly valueChange:
|
|
25
|
-
readonly panelModeChange:
|
|
16
|
+
export declare abstract class CalendarHeader implements OnInit {
|
|
17
|
+
protected dateHelper: DateHelperService;
|
|
18
|
+
protected locale: Signal<ThyDatePickerLocale>;
|
|
19
|
+
readonly showSuperPreBtn: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
20
|
+
readonly showSuperNextBtn: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
21
|
+
readonly showPreBtn: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
22
|
+
readonly showNextBtn: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
23
|
+
readonly value: import("@angular/core").ModelSignal<TinyDate>;
|
|
24
|
+
readonly valueChange: import("@angular/core").OutputEmitterRef<TinyDate>;
|
|
25
|
+
readonly panelModeChange: import("@angular/core").OutputEmitterRef<ThyPanelMode>;
|
|
26
26
|
abstract getSelectors(): PanelSelector[];
|
|
27
|
-
prefixCls: string;
|
|
28
|
-
selectors: PanelSelector[];
|
|
27
|
+
protected prefixCls: string;
|
|
28
|
+
protected selectors: PanelSelector[];
|
|
29
|
+
constructor();
|
|
29
30
|
ngOnInit(): void;
|
|
30
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
31
31
|
superPrevious(): void;
|
|
32
32
|
superNext(): void;
|
|
33
33
|
previous(): void;
|
|
@@ -40,5 +40,5 @@ export declare abstract class CalendarHeader implements OnInit, OnChanges {
|
|
|
40
40
|
changeValue(value: TinyDate): void;
|
|
41
41
|
formatDateTime(format: string): string;
|
|
42
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarHeader, never>;
|
|
43
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CalendarHeader, never, never, { "showSuperPreBtn": { "alias": "showSuperPreBtn"; "required": false; }; "showSuperNextBtn": { "alias": "showSuperNextBtn"; "required": false; }; "showPreBtn": { "alias": "showPreBtn"; "required": false; }; "showNextBtn": { "alias": "showNextBtn"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; "panelModeChange": "panelModeChange"; }, never, never, true, never>;
|
|
43
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CalendarHeader, never, never, { "showSuperPreBtn": { "alias": "showSuperPreBtn"; "required": false; "isSignal": true; }; "showSuperNextBtn": { "alias": "showSuperNextBtn"; "required": false; "isSignal": true; }; "showPreBtn": { "alias": "showPreBtn"; "required": false; "isSignal": true; }; "showNextBtn": { "alias": "showNextBtn"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "valueChange": "valueChange"; "panelModeChange": "panelModeChange"; }, never, never, true, never>;
|
|
44
44
|
}
|