@wkly/datetime-picker 21.1.0 → 22.1.0

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.
@@ -1,336 +1,543 @@
1
- import * as i0 from '@angular/core';
2
- import { InjectionToken, InputSignal, InputSignalWithTransform, OutputEmitterRef, OnInit, AfterViewInit, OnDestroy, ElementRef, ChangeDetectorRef, ComponentRef, EnvironmentInjector, ApplicationRef, Injector, OnChanges, EventEmitter } from '@angular/core';
3
- import { ControlValueAccessor, Validator, AbstractControl, ValidationErrors } from '@angular/forms';
4
- import { WklyWeekOffset } from '@wkly/core';
5
- import { WklyClock, WklyConfiguration, WklyPickerInputs as WklyPickerInputs$1, WklyPickerOutputs, WklyPickerInputsPropertyKeys, WklyPickerOutputsPropertyKeys, WklyCloseReason, WklyViewportChange, WklyWeekRow, WklyDraft, WklyStrings, WklyTranslations, WklyJumpOptions } from '@wkly/presentation';
6
- export * from '@wkly/presentation';
7
- import { WklySelectionMode, WklyPickerValue, WklyCalendarAdapter, WklyViewportPreset, WklyHourCycle, WklyDisabledDatePredicate, WklyDisabledTimePredicate, WklyRangeValidator, WklyWeekLabelMode, WklyWeekLabelFormatter, WklyValidationError, WklyCalendarDate } from '@wkly/adapters';
8
- export { WklyDisabledDatePredicate, WklyDisabledTimePredicate, WklyEndpoint, WklyHourCycle, WklyIsoString, WklyPickerValue, WklyRangeValidator, WklyRangeValue, WklySelectionMode, WklyValidationError, WklyValidationErrorCode, WklyViewportPreset, WklyWeekLabelFormatter, WklyWeekLabelMode } from '@wkly/adapters';
9
- import * as i4 from '@angular/common';
10
-
11
- declare const WKLY_CLOCK: InjectionToken<WklyClock>;
12
- declare const WKLY_CONFIG: InjectionToken<WklyConfiguration>;
13
- declare const WKLY_LOCALIZATION: InjectionToken<Readonly<Record<string, string>>>;
14
- declare const WKLY_TRANSLATIONS: InjectionToken<Readonly<Record<string, Readonly<Record<string, string>>>>>;
1
+ import * as i0 from "@angular/core";
2
+ import { AfterViewInit, ApplicationRef, ChangeDetectorRef, ComponentRef, ElementRef, EnvironmentInjector, EventEmitter, InjectionToken, Injector, InputSignal, InputSignalWithTransform, OnChanges, OnDestroy, OnInit, OutputEmitterRef } from "@angular/core";
3
+ import { AbstractControl, ControlValueAccessor, ValidationErrors, Validator } from "@angular/forms";
4
+ import { WklyWeekOffset } from "@wkly/core";
5
+ import { WklyClock, WklyCloseReason, WklyConfiguration, WklyDraft, WklyPickerInputs as WklyPickerInputs$1, WklyPickerInputsPropertyKeys, WklyPickerOutputs, WklyPickerOutputsPropertyKeys, WklyViewportChange, WklyWeekRow } from "@wkly/presentation";
6
+ import { WklyCalendarAdapter, WklyCalendarDate, WklyDisabledDatePredicate, WklyDisabledDatePredicate as WklyDisabledDatePredicate$1, WklyDisabledTimePredicate, WklyDisabledTimePredicate as WklyDisabledTimePredicate$1, WklyEndpoint, WklyHourCycle, WklyHourCycle as WklyHourCycle$1, WklyIsoString, WklyPickerValue, WklyPickerValue as WklyPickerValue$1, WklyRangeValidator, WklyRangeValidator as WklyRangeValidator$1, WklyRangeValue, WklySelectionMode, WklySelectionMode as WklySelectionMode$1, WklyValidationError, WklyValidationError as WklyValidationError$1, WklyValidationErrorCode, WklyViewportPreset, WklyViewportPreset as WklyViewportPreset$1, WklyWeekLabelFormatter, WklyWeekLabelFormatter as WklyWeekLabelFormatter$1, WklyWeekLabelMode, WklyWeekLabelMode as WklyWeekLabelMode$1 } from "@wkly/adapters";
7
+ import * as i4 from "@angular/common";
8
+ export * from "@wkly/presentation";
9
+ declare namespace config_d_exports {
10
+ export { WKLY_CLOCK, WKLY_CONFIG, WKLY_LOCALIZATION, WKLY_TRANSLATIONS, WklyPickerInputs, WklyPickerSignalInputs, WklyPickerSignalInputsAndOutputs, WklyPickerSignalOutputs, unwrapWklyPickerSignalInputs };
11
+ }
12
+ import * as import__wkly_presentation from "@wkly/presentation";
13
+ export declare const WKLY_CLOCK: InjectionToken<WklyClock>;
14
+ export declare const WKLY_CONFIG: InjectionToken<WklyConfiguration>;
15
+ export declare const WKLY_LOCALIZATION: InjectionToken<Readonly<Record<string, string>>>;
16
+ export declare const WKLY_TRANSLATIONS: InjectionToken<Readonly<Record<string, Readonly<Record<string, string>>>>>;
15
17
  /** Shared public inputs/outputs inherited by the picker and both trigger directives. */
16
- type WklyPickerSignalInputs<T> = {
17
- [K in keyof T]: InputSignal<T[K]> | InputSignalWithTransform<T[K], unknown>;
18
- };
19
- type WklyPickerSignalOutputs<T> = {
20
- [K in keyof T]: OutputEmitterRef<T[K]>;
21
- };
22
- type WklyPickerSignalInputsAndOutputs<T, U> = WklyPickerSignalInputs<T> & WklyPickerSignalOutputs<U>;
23
- declare abstract class WklyPickerInputs implements WklyPickerSignalInputsAndOutputs<WklyPickerInputs$1, WklyPickerOutputs> {
24
- protected readonly modeInput: InputSignal<WklySelectionMode>;
25
- protected readonly valueInput: InputSignal<WklyPickerValue>;
26
- protected readonly calendarAdapterInput: InputSignal<WklyCalendarAdapter>;
27
- protected readonly localeInput: InputSignal<string>;
28
- protected readonly weekOffsetInput: InputSignal<WklyWeekOffset | null>;
29
- protected readonly viewportPresetInput: InputSignal<WklyViewportPreset>;
30
- protected readonly hourCycleInput: InputSignal<WklyHourCycle>;
31
- protected readonly showSecondsInput: InputSignalWithTransform<boolean, unknown>;
32
- protected readonly minuteStepInput: InputSignal<number>;
33
- protected readonly secondStepInput: InputSignal<number>;
34
- protected readonly minInput: InputSignal<string | null>;
35
- protected readonly maxInput: InputSignal<string | null>;
36
- protected readonly isDateDisabledInput: InputSignal<WklyDisabledDatePredicate | null>;
37
- protected readonly isTimeDisabledInput: InputSignal<WklyDisabledTimePredicate | null>;
38
- protected readonly rangeValidatorInput: InputSignal<WklyRangeValidator | null>;
39
- protected readonly allowRangeAcrossDisabledInput: InputSignalWithTransform<boolean, unknown>;
40
- protected readonly requiredInput: InputSignalWithTransform<boolean, unknown>;
41
- protected readonly disabledInput: InputSignalWithTransform<boolean, unknown>;
42
- protected readonly weekLabelModeInput: InputSignal<WklyWeekLabelMode>;
43
- protected readonly weekLabelFormatterInput: InputSignal<WklyWeekLabelFormatter | null>;
44
- protected readonly weekCacheSizeInput: InputSignal<number>;
45
- protected readonly overscanWeeksInput: InputSignal<number>;
46
- protected readonly ariaLabelInput: InputSignal<string | null>;
47
- protected readonly ariaDescribedByInput: InputSignal<string | null>;
48
- protected readonly initialEpochDayInput: InputSignal<number | null>;
49
- protected readonly closeOnBackdropInput: InputSignalWithTransform<boolean, unknown>;
50
- protected readonly validatorsInput: InputSignal<readonly ((value: WklyPickerValue) => WklyValidationError | null)[]>;
51
- protected readonly translationsInput: InputSignal<Readonly<Record<string, Readonly<Record<string, string>>>> | null>;
52
- readonly [WklyPickerInputsPropertyKeys.Mode]: InputSignal<WklySelectionMode>;
53
- readonly [WklyPickerInputsPropertyKeys.Value]: InputSignal<WklyPickerValue>;
54
- readonly [WklyPickerInputsPropertyKeys.CalendarAdapter]: InputSignal<WklyCalendarAdapter>;
55
- readonly [WklyPickerInputsPropertyKeys.Locale]: InputSignal<string>;
56
- readonly [WklyPickerInputsPropertyKeys.WeekOffset]: InputSignal<WklyWeekOffset | null>;
57
- readonly [WklyPickerInputsPropertyKeys.ViewportPreset]: InputSignal<WklyViewportPreset>;
58
- readonly [WklyPickerInputsPropertyKeys.HourCycle]: InputSignal<WklyHourCycle>;
59
- readonly [WklyPickerInputsPropertyKeys.ShowSeconds]: InputSignalWithTransform<boolean, unknown>;
60
- readonly [WklyPickerInputsPropertyKeys.MinuteStep]: InputSignal<number>;
61
- readonly [WklyPickerInputsPropertyKeys.SecondStep]: InputSignal<number>;
62
- readonly [WklyPickerInputsPropertyKeys.Min]: InputSignal<string | null>;
63
- readonly [WklyPickerInputsPropertyKeys.Max]: InputSignal<string | null>;
64
- readonly [WklyPickerInputsPropertyKeys.IsDateDisabled]: InputSignal<WklyDisabledDatePredicate | null>;
65
- readonly [WklyPickerInputsPropertyKeys.IsTimeDisabled]: InputSignal<WklyDisabledTimePredicate | null>;
66
- readonly [WklyPickerInputsPropertyKeys.RangeValidator]: InputSignal<WklyRangeValidator | null>;
67
- readonly [WklyPickerInputsPropertyKeys.AllowRangeAcrossDisabled]: InputSignalWithTransform<boolean, unknown>;
68
- readonly [WklyPickerInputsPropertyKeys.Required]: InputSignalWithTransform<boolean, unknown>;
69
- readonly [WklyPickerInputsPropertyKeys.Disabled]: InputSignalWithTransform<boolean, unknown>;
70
- readonly [WklyPickerInputsPropertyKeys.WeekLabelMode]: InputSignal<WklyWeekLabelMode>;
71
- readonly [WklyPickerInputsPropertyKeys.WeekLabelFormatter]: InputSignal<WklyWeekLabelFormatter | null>;
72
- readonly [WklyPickerInputsPropertyKeys.WeekCacheSize]: InputSignal<number>;
73
- readonly [WklyPickerInputsPropertyKeys.OverscanWeeks]: InputSignal<number>;
74
- readonly [WklyPickerInputsPropertyKeys.AriaLabel]: InputSignal<string | null>;
75
- readonly [WklyPickerInputsPropertyKeys.AriaDescribedBy]: InputSignal<string | null>;
76
- readonly [WklyPickerInputsPropertyKeys.InitialEpochDay]: InputSignal<number | null>;
77
- readonly [WklyPickerInputsPropertyKeys.CloseOnBackdrop]: InputSignalWithTransform<boolean, unknown>;
78
- readonly [WklyPickerInputsPropertyKeys.Validators]: InputSignal<readonly ((value: WklyPickerValue) => WklyValidationError | null)[]>;
79
- readonly [WklyPickerInputsPropertyKeys.Translations]: InputSignal<Readonly<Record<string, Readonly<Record<string, string>>>> | null>;
80
- readonly [WklyPickerOutputsPropertyKeys.ValueChange]: OutputEmitterRef<WklyPickerValue>;
81
- readonly [WklyPickerOutputsPropertyKeys.ValidationChange]: OutputEmitterRef<readonly WklyValidationError[]>;
82
- readonly [WklyPickerOutputsPropertyKeys.Opened]: OutputEmitterRef<void>;
83
- readonly [WklyPickerOutputsPropertyKeys.Closed]: OutputEmitterRef<WklyCloseReason>;
84
- readonly [WklyPickerOutputsPropertyKeys.ViewportChange]: OutputEmitterRef<WklyViewportChange>;
85
- readonly [WklyPickerOutputsPropertyKeys.ViewModeChange]: OutputEmitterRef<"calendar" | "manual">;
86
- static ɵfac: i0.ɵɵFactoryDeclaration<WklyPickerInputs, never>;
87
- static ɵdir: i0.ɵɵDirectiveDeclaration<WklyPickerInputs, never, never, { "modeInput": { "alias": "mode"; "required": false; "isSignal": true; }; "valueInput": { "alias": "value"; "required": false; "isSignal": true; }; "calendarAdapterInput": { "alias": "calendarAdapter"; "required": false; "isSignal": true; }; "localeInput": { "alias": "locale"; "required": false; "isSignal": true; }; "weekOffsetInput": { "alias": "weekOffset"; "required": false; "isSignal": true; }; "viewportPresetInput": { "alias": "viewportPreset"; "required": false; "isSignal": true; }; "hourCycleInput": { "alias": "hourCycle"; "required": false; "isSignal": true; }; "showSecondsInput": { "alias": "showSeconds"; "required": false; "isSignal": true; }; "minuteStepInput": { "alias": "minuteStep"; "required": false; "isSignal": true; }; "secondStepInput": { "alias": "secondStep"; "required": false; "isSignal": true; }; "minInput": { "alias": "min"; "required": false; "isSignal": true; }; "maxInput": { "alias": "max"; "required": false; "isSignal": true; }; "isDateDisabledInput": { "alias": "isDateDisabled"; "required": false; "isSignal": true; }; "isTimeDisabledInput": { "alias": "isTimeDisabled"; "required": false; "isSignal": true; }; "rangeValidatorInput": { "alias": "rangeValidator"; "required": false; "isSignal": true; }; "allowRangeAcrossDisabledInput": { "alias": "allowRangeAcrossDisabled"; "required": false; "isSignal": true; }; "requiredInput": { "alias": "required"; "required": false; "isSignal": true; }; "disabledInput": { "alias": "disabled"; "required": false; "isSignal": true; }; "weekLabelModeInput": { "alias": "weekLabelMode"; "required": false; "isSignal": true; }; "weekLabelFormatterInput": { "alias": "weekLabelFormatter"; "required": false; "isSignal": true; }; "weekCacheSizeInput": { "alias": "weekCacheSize"; "required": false; "isSignal": true; }; "overscanWeeksInput": { "alias": "overscanWeeks"; "required": false; "isSignal": true; }; "ariaLabelInput": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "ariaDescribedByInput": { "alias": "ariaDescribedBy"; "required": false; "isSignal": true; }; "initialEpochDayInput": { "alias": "initialEpochDay"; "required": false; "isSignal": true; }; "closeOnBackdropInput": { "alias": "closeOnBackdrop"; "required": false; "isSignal": true; }; "validatorsInput": { "alias": "validators"; "required": false; "isSignal": true; }; "translationsInput": { "alias": "translations"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; "validationChange": "validationChange"; "opened": "opened"; "closed": "closed"; "viewportChange": "viewportChange"; "viewModeChange": "viewModeChange"; }, never, never, true, never>;
18
+ export type WklyPickerSignalInputs<T> = { [K in keyof T]: InputSignal<T[K]> | InputSignalWithTransform<T[K], unknown>; };
19
+ export type WklyPickerSignalOutputs<T> = { [K in keyof T]: OutputEmitterRef<T[K]>; };
20
+ export type WklyPickerSignalInputsAndOutputs<T, U> = WklyPickerSignalInputs<T> & WklyPickerSignalOutputs<U>;
21
+ export declare abstract class WklyPickerInputs implements WklyPickerSignalInputsAndOutputs<WklyPickerInputs$1, WklyPickerOutputs> {
22
+ protected readonly modeInput: InputSignal<WklySelectionMode$1>;
23
+ protected readonly valueInput: InputSignal<WklyPickerValue$1>;
24
+ protected readonly calendarAdapterInput: InputSignal<WklyCalendarAdapter>;
25
+ protected readonly localeInput: InputSignal<string>;
26
+ protected readonly weekOffsetInput: InputSignal<WklyWeekOffset | null>;
27
+ protected readonly viewportPresetInput: InputSignal<WklyViewportPreset$1>;
28
+ protected readonly hourCycleInput: InputSignal<WklyHourCycle$1>;
29
+ protected readonly showSecondsInput: InputSignalWithTransform<boolean, unknown>;
30
+ protected readonly minuteStepInput: InputSignal<number>;
31
+ protected readonly secondStepInput: InputSignal<number>;
32
+ protected readonly minInput: InputSignal<string | null>;
33
+ protected readonly maxInput: InputSignal<string | null>;
34
+ protected readonly isDateDisabledInput: InputSignal<WklyDisabledDatePredicate$1 | null>;
35
+ protected readonly isTimeDisabledInput: InputSignal<WklyDisabledTimePredicate$1 | null>;
36
+ protected readonly rangeValidatorInput: InputSignal<WklyRangeValidator$1 | null>;
37
+ protected readonly allowRangeAcrossDisabledInput: InputSignalWithTransform<boolean, unknown>;
38
+ protected readonly requiredInput: InputSignalWithTransform<boolean, unknown>;
39
+ protected readonly disabledInput: InputSignalWithTransform<boolean, unknown>;
40
+ protected readonly weekLabelModeInput: InputSignal<WklyWeekLabelMode$1>;
41
+ protected readonly weekLabelFormatterInput: InputSignal<WklyWeekLabelFormatter$1 | null>;
42
+ protected readonly weekCacheSizeInput: InputSignal<number>;
43
+ protected readonly overscanWeeksInput: InputSignal<number>;
44
+ protected readonly ariaLabelInput: InputSignal<string | null>;
45
+ protected readonly ariaDescribedByInput: InputSignal<string | null>;
46
+ protected readonly initialEpochDayInput: InputSignal<number | null>;
47
+ protected readonly closeOnBackdropInput: InputSignalWithTransform<boolean, unknown>;
48
+ protected readonly validatorsInput: InputSignal<readonly ((value: WklyPickerValue$1) => WklyValidationError$1 | null)[]>;
49
+ protected readonly translationsInput: InputSignal<Readonly<Record<string, Readonly<Record<string, string>>>> | null>;
50
+ readonly [WklyPickerInputsPropertyKeys.Mode]: InputSignal<WklySelectionMode$1>;
51
+ readonly [WklyPickerInputsPropertyKeys.Value]: InputSignal<WklyPickerValue$1>;
52
+ readonly [WklyPickerInputsPropertyKeys.CalendarAdapter]: InputSignal<WklyCalendarAdapter>;
53
+ readonly [WklyPickerInputsPropertyKeys.Locale]: InputSignal<string>;
54
+ readonly [WklyPickerInputsPropertyKeys.WeekOffset]: InputSignal<WklyWeekOffset | null>;
55
+ readonly [WklyPickerInputsPropertyKeys.ViewportPreset]: InputSignal<WklyViewportPreset$1>;
56
+ readonly [WklyPickerInputsPropertyKeys.HourCycle]: InputSignal<WklyHourCycle$1>;
57
+ readonly [WklyPickerInputsPropertyKeys.ShowSeconds]: InputSignalWithTransform<boolean, unknown>;
58
+ readonly [WklyPickerInputsPropertyKeys.MinuteStep]: InputSignal<number>;
59
+ readonly [WklyPickerInputsPropertyKeys.SecondStep]: InputSignal<number>;
60
+ readonly [WklyPickerInputsPropertyKeys.Min]: InputSignal<string | null>;
61
+ readonly [WklyPickerInputsPropertyKeys.Max]: InputSignal<string | null>;
62
+ readonly [WklyPickerInputsPropertyKeys.IsDateDisabled]: InputSignal<WklyDisabledDatePredicate$1 | null>;
63
+ readonly [WklyPickerInputsPropertyKeys.IsTimeDisabled]: InputSignal<WklyDisabledTimePredicate$1 | null>;
64
+ readonly [WklyPickerInputsPropertyKeys.RangeValidator]: InputSignal<WklyRangeValidator$1 | null>;
65
+ readonly [WklyPickerInputsPropertyKeys.AllowRangeAcrossDisabled]: InputSignalWithTransform<boolean, unknown>;
66
+ readonly [WklyPickerInputsPropertyKeys.Required]: InputSignalWithTransform<boolean, unknown>;
67
+ readonly [WklyPickerInputsPropertyKeys.Disabled]: InputSignalWithTransform<boolean, unknown>;
68
+ readonly [WklyPickerInputsPropertyKeys.WeekLabelMode]: InputSignal<WklyWeekLabelMode$1>;
69
+ readonly [WklyPickerInputsPropertyKeys.WeekLabelFormatter]: InputSignal<WklyWeekLabelFormatter$1 | null>;
70
+ readonly [WklyPickerInputsPropertyKeys.WeekCacheSize]: InputSignal<number>;
71
+ readonly [WklyPickerInputsPropertyKeys.OverscanWeeks]: InputSignal<number>;
72
+ readonly [WklyPickerInputsPropertyKeys.AriaLabel]: InputSignal<string | null>;
73
+ readonly [WklyPickerInputsPropertyKeys.AriaDescribedBy]: InputSignal<string | null>;
74
+ readonly [WklyPickerInputsPropertyKeys.InitialEpochDay]: InputSignal<number | null>;
75
+ readonly [WklyPickerInputsPropertyKeys.CloseOnBackdrop]: InputSignalWithTransform<boolean, unknown>;
76
+ readonly [WklyPickerInputsPropertyKeys.Validators]: InputSignal<readonly ((value: WklyPickerValue$1) => WklyValidationError$1 | null)[]>;
77
+ readonly [WklyPickerInputsPropertyKeys.Translations]: InputSignal<Readonly<Record<string, Readonly<Record<string, string>>>> | null>;
78
+ readonly [WklyPickerOutputsPropertyKeys.ValueChange]: OutputEmitterRef<WklyPickerValue$1>;
79
+ readonly [WklyPickerOutputsPropertyKeys.ValidationChange]: OutputEmitterRef<readonly WklyValidationError$1[]>;
80
+ readonly [WklyPickerOutputsPropertyKeys.Opened]: OutputEmitterRef<void>;
81
+ readonly [WklyPickerOutputsPropertyKeys.Closed]: OutputEmitterRef<WklyCloseReason>;
82
+ readonly [WklyPickerOutputsPropertyKeys.ViewportChange]: OutputEmitterRef<WklyViewportChange>;
83
+ readonly [WklyPickerOutputsPropertyKeys.ViewModeChange]: OutputEmitterRef<"calendar" | "manual">;
84
+ static ɵfac: i0.ɵɵFactoryDeclaration<WklyPickerInputs, never>;
85
+ static ɵdir: i0.ɵɵDirectiveDeclaration<WklyPickerInputs, never, never, {
86
+ "modeInput": {
87
+ "alias": "mode";
88
+ "required": false;
89
+ "isSignal": true;
90
+ };
91
+ "valueInput": {
92
+ "alias": "value";
93
+ "required": false;
94
+ "isSignal": true;
95
+ };
96
+ "calendarAdapterInput": {
97
+ "alias": "calendarAdapter";
98
+ "required": false;
99
+ "isSignal": true;
100
+ };
101
+ "localeInput": {
102
+ "alias": "locale";
103
+ "required": false;
104
+ "isSignal": true;
105
+ };
106
+ "weekOffsetInput": {
107
+ "alias": "weekOffset";
108
+ "required": false;
109
+ "isSignal": true;
110
+ };
111
+ "viewportPresetInput": {
112
+ "alias": "viewportPreset";
113
+ "required": false;
114
+ "isSignal": true;
115
+ };
116
+ "hourCycleInput": {
117
+ "alias": "hourCycle";
118
+ "required": false;
119
+ "isSignal": true;
120
+ };
121
+ "showSecondsInput": {
122
+ "alias": "showSeconds";
123
+ "required": false;
124
+ "isSignal": true;
125
+ };
126
+ "minuteStepInput": {
127
+ "alias": "minuteStep";
128
+ "required": false;
129
+ "isSignal": true;
130
+ };
131
+ "secondStepInput": {
132
+ "alias": "secondStep";
133
+ "required": false;
134
+ "isSignal": true;
135
+ };
136
+ "minInput": {
137
+ "alias": "min";
138
+ "required": false;
139
+ "isSignal": true;
140
+ };
141
+ "maxInput": {
142
+ "alias": "max";
143
+ "required": false;
144
+ "isSignal": true;
145
+ };
146
+ "isDateDisabledInput": {
147
+ "alias": "isDateDisabled";
148
+ "required": false;
149
+ "isSignal": true;
150
+ };
151
+ "isTimeDisabledInput": {
152
+ "alias": "isTimeDisabled";
153
+ "required": false;
154
+ "isSignal": true;
155
+ };
156
+ "rangeValidatorInput": {
157
+ "alias": "rangeValidator";
158
+ "required": false;
159
+ "isSignal": true;
160
+ };
161
+ "allowRangeAcrossDisabledInput": {
162
+ "alias": "allowRangeAcrossDisabled";
163
+ "required": false;
164
+ "isSignal": true;
165
+ };
166
+ "requiredInput": {
167
+ "alias": "required";
168
+ "required": false;
169
+ "isSignal": true;
170
+ };
171
+ "disabledInput": {
172
+ "alias": "disabled";
173
+ "required": false;
174
+ "isSignal": true;
175
+ };
176
+ "weekLabelModeInput": {
177
+ "alias": "weekLabelMode";
178
+ "required": false;
179
+ "isSignal": true;
180
+ };
181
+ "weekLabelFormatterInput": {
182
+ "alias": "weekLabelFormatter";
183
+ "required": false;
184
+ "isSignal": true;
185
+ };
186
+ "weekCacheSizeInput": {
187
+ "alias": "weekCacheSize";
188
+ "required": false;
189
+ "isSignal": true;
190
+ };
191
+ "overscanWeeksInput": {
192
+ "alias": "overscanWeeks";
193
+ "required": false;
194
+ "isSignal": true;
195
+ };
196
+ "ariaLabelInput": {
197
+ "alias": "ariaLabel";
198
+ "required": false;
199
+ "isSignal": true;
200
+ };
201
+ "ariaDescribedByInput": {
202
+ "alias": "ariaDescribedBy";
203
+ "required": false;
204
+ "isSignal": true;
205
+ };
206
+ "initialEpochDayInput": {
207
+ "alias": "initialEpochDay";
208
+ "required": false;
209
+ "isSignal": true;
210
+ };
211
+ "closeOnBackdropInput": {
212
+ "alias": "closeOnBackdrop";
213
+ "required": false;
214
+ "isSignal": true;
215
+ };
216
+ "validatorsInput": {
217
+ "alias": "validators";
218
+ "required": false;
219
+ "isSignal": true;
220
+ };
221
+ "translationsInput": {
222
+ "alias": "translations";
223
+ "required": false;
224
+ "isSignal": true;
225
+ };
226
+ }, {
227
+ "valueChange": "valueChange";
228
+ "validationChange": "validationChange";
229
+ "opened": "opened";
230
+ "closed": "closed";
231
+ "viewportChange": "viewportChange";
232
+ "viewModeChange": "viewModeChange";
233
+ }, never, never, true, never>;
234
+ }
235
+ export declare function unwrapWklyPickerSignalInputs<T extends WklyPickerInputs$1>(source: WklyPickerSignalInputs<T>): T;
236
+ declare namespace picker_component_d_exports {
237
+ export { WklyDateTimePickerComponent };
238
+ }
239
+ export declare class WklyDateTimePickerComponent extends WklyPickerInputs implements OnInit, AfterViewInit, OnDestroy, ControlValueAccessor, Validator {
240
+ private defaultLocale;
241
+ private defaults;
242
+ private clock;
243
+ private strings;
244
+ private defaultTranslations;
245
+ private host;
246
+ private changeDetector;
247
+ scroller?: ElementRef<HTMLElement>;
248
+ presentation: "inline" | "transient";
249
+ viewMode: "calendar" | "manual";
250
+ endView: "date" | "days";
251
+ adapter: WklyCalendarAdapter;
252
+ effectiveLocale: string;
253
+ effectiveOffset: WklyWeekOffset;
254
+ effectiveHourCycle: "h12" | "h24";
255
+ private configuredHourCycle?;
256
+ direction: string;
257
+ rows: WklyWeekRow[];
258
+ weekdays: string[];
259
+ drafts: WklyDraft[];
260
+ errors: readonly WklyValidationError$1[];
261
+ today: number;
262
+ focused: number;
263
+ anchorWeek: number;
264
+ firstWeek: number;
265
+ visibleCount: number;
266
+ rowHeight: number;
267
+ scrollHeight: number;
268
+ paddingTop: number;
269
+ initialized: boolean;
270
+ compact: boolean;
271
+ readonly WklyPickerInputsPropertyKeys: typeof WklyPickerInputsPropertyKeys;
272
+ private baseWeek;
273
+ private firstSupportedDay;
274
+ private lastSupportedDay;
275
+ private firstSupportedWeek;
276
+ private lastSupportedWeek;
277
+ private generator;
278
+ private initialMonth;
279
+ private clipMonth;
280
+ private browser;
281
+ private observer?;
282
+ private destroyed;
283
+ private scrollEndTimer?;
284
+ private snapPending;
285
+ private onChange;
286
+ private onTouched;
287
+ private validatorChanged;
288
+ private configErrors;
289
+ private pendingValue;
290
+ private emittedValue;
291
+ private manualDateEndpoint;
292
+ private readonly formValue;
293
+ private readonly formDisabled;
294
+ private previousInputs?;
295
+ currentValue(): WklyPickerValue$1;
296
+ isDisabled(): boolean;
297
+ constructor(defaultLocale: string, defaults: config_d_exports.WklyConfiguration, clock: config_d_exports.WklyClock, strings: config_d_exports.WklyStrings, defaultTranslations: config_d_exports.WklyTranslations, platform: Object, host: ElementRef<HTMLElement>, changeDetector: ChangeDetectorRef);
298
+ ngOnInit(): void;
299
+ initialize(): void;
300
+ configure(): void;
301
+ private setSupportedScrollRange;
302
+ private clampFirstWeek;
303
+ ngAfterViewInit(): void;
304
+ ngOnDestroy(): void;
305
+ t(key: string): string;
306
+ get isRange(): boolean;
307
+ get hasDate(): boolean;
308
+ get hasTime(): boolean;
309
+ get submitVisible(): boolean;
310
+ get title(): string;
311
+ get canSubmit(): boolean;
312
+ private blank;
313
+ load(value: WklyPickerValue$1): void;
314
+ writeValue(value: WklyPickerValue$1): void;
315
+ registerOnChange(fn: (value: WklyPickerValue$1) => void): void;
316
+ registerOnTouched(fn: () => void): void;
317
+ setDisabledState(disabled: boolean): void;
318
+ validate(_control: AbstractControl): ValidationErrors | null;
319
+ registerOnValidatorChange(fn: () => void): void;
320
+ touched(): void;
321
+ private report;
322
+ check(): void;
323
+ trackDraft(index: number): number;
324
+ private orderDrafts;
325
+ finish(): void;
326
+ private commit;
327
+ submit(reason?: config_d_exports.WklyCloseReason): void;
328
+ cancel(reason?: config_d_exports.WklyCloseReason): void;
329
+ now(): void;
330
+ private clockDraft;
331
+ private initializeManualRange;
332
+ toggleView(): void;
333
+ private positionOnManualDate;
334
+ months(draft: WklyDraft): readonly string[];
335
+ monthCount(draft: WklyDraft): number;
336
+ get inDays(): number | null;
337
+ get inDaysLabel(): string;
338
+ get resultingEndDate(): string;
339
+ toggleEndView(view: "date" | "days"): void;
340
+ days(value: number | null): void;
341
+ field(index: number, field: string, value: number | null): void;
342
+ displayHour(draft: WklyDraft): number | null;
343
+ period(index: number, period: "am" | "pm" | "24"): void;
344
+ selected(day: number): boolean;
345
+ inRange(day: number): boolean;
346
+ dayDisabled(day: number): boolean;
347
+ select(day: number): void;
348
+ key(event: KeyboardEvent, day: number): void;
349
+ private position;
350
+ private resetScroll;
351
+ scroll(event: Event): void;
352
+ private scheduleSnap;
353
+ snapWeek(): void;
354
+ private showFirstWeek;
355
+ canMoveWeek(delta: number): boolean;
356
+ moveWeek(delta: number): void;
357
+ private renderRows;
358
+ trackCell(_i: number, cell: {
359
+ epochDay: number;
360
+ }): number;
361
+ trackRow(_i: number, row: WklyWeekRow): number;
362
+ scrollToEpochDay(day: number, options?: config_d_exports.WklyJumpOptions): void;
363
+ scrollToAbsoluteWeek(week: number, options?: config_d_exports.WklyJumpOptions): void;
364
+ scrollToCalendarDate(date: WklyCalendarDate, options?: config_d_exports.WklyJumpOptions): void;
365
+ scrollToValue(value: string, options?: config_d_exports.WklyJumpOptions): void;
366
+ focusDay(): void;
367
+ static ɵfac: i0.ɵɵFactoryDeclaration<WklyDateTimePickerComponent, never>;
368
+ static ɵcmp: i0.ɵɵComponentDeclaration<WklyDateTimePickerComponent, "wkly-datetime-picker", never, {}, {}, never, never, false, never>;
88
369
  }
89
- declare function unwrapWklyPickerSignalInputs<T extends WklyPickerInputs$1>(source: WklyPickerSignalInputs<T>): T;
90
-
91
- declare class WklyDateTimePickerComponent extends WklyPickerInputs implements OnInit, AfterViewInit, OnDestroy, ControlValueAccessor, Validator {
92
- private defaultLocale;
93
- private defaults;
94
- private clock;
95
- private strings;
96
- private defaultTranslations;
97
- private host;
98
- private changeDetector;
99
- scroller?: ElementRef<HTMLElement>;
100
- presentation: "inline" | "transient";
101
- viewMode: "calendar" | "manual";
102
- endView: "date" | "days";
103
- adapter: WklyCalendarAdapter;
104
- effectiveLocale: string;
105
- effectiveOffset: WklyWeekOffset;
106
- effectiveHourCycle: "h12" | "h24";
107
- private configuredHourCycle?;
108
- direction: string;
109
- rows: WklyWeekRow[];
110
- weekdays: string[];
111
- drafts: WklyDraft[];
112
- errors: readonly WklyValidationError[];
113
- today: number;
114
- focused: number;
115
- anchorWeek: number;
116
- firstWeek: number;
117
- visibleCount: number;
118
- rowHeight: number;
119
- scrollHeight: number;
120
- paddingTop: number;
121
- initialized: boolean;
122
- compact: boolean;
123
- readonly WklyPickerInputsPropertyKeys: typeof WklyPickerInputsPropertyKeys;
124
- private baseWeek;
125
- private firstSupportedDay;
126
- private lastSupportedDay;
127
- private firstSupportedWeek;
128
- private lastSupportedWeek;
129
- private generator;
130
- private initialMonth;
131
- private clipMonth;
132
- private browser;
133
- private observer?;
134
- private destroyed;
135
- private scrollEndTimer?;
136
- private snapPending;
137
- private onChange;
138
- private onTouched;
139
- private validatorChanged;
140
- private configErrors;
141
- private pendingValue;
142
- private emittedValue;
143
- private manualDateEndpoint;
144
- private readonly formValue;
145
- private readonly formDisabled;
146
- private previousInputs?;
147
- currentValue(): WklyPickerValue;
148
- isDisabled(): boolean;
149
- constructor(defaultLocale: string, defaults: WklyConfiguration, clock: WklyClock, strings: WklyStrings, defaultTranslations: WklyTranslations, platform: Object, host: ElementRef<HTMLElement>, changeDetector: ChangeDetectorRef);
150
- ngOnInit(): void;
151
- initialize(): void;
152
- configure(): void;
153
- private setSupportedScrollRange;
154
- private clampFirstWeek;
155
- ngAfterViewInit(): void;
156
- ngOnDestroy(): void;
157
- t(key: string): string;
158
- get isRange(): boolean;
159
- get hasDate(): boolean;
160
- get hasTime(): boolean;
161
- get submitVisible(): boolean;
162
- get title(): string;
163
- get canSubmit(): boolean;
164
- private blank;
165
- load(value: WklyPickerValue): void;
166
- writeValue(value: WklyPickerValue): void;
167
- registerOnChange(fn: (value: WklyPickerValue) => void): void;
168
- registerOnTouched(fn: () => void): void;
169
- setDisabledState(disabled: boolean): void;
170
- validate(_control: AbstractControl): ValidationErrors | null;
171
- registerOnValidatorChange(fn: () => void): void;
172
- touched(): void;
173
- private report;
174
- check(): void;
175
- trackDraft(index: number): number;
176
- private orderDrafts;
177
- finish(): void;
178
- private commit;
179
- submit(reason?: WklyCloseReason): void;
180
- cancel(reason?: WklyCloseReason): void;
181
- now(): void;
182
- private clockDraft;
183
- private initializeManualRange;
184
- toggleView(): void;
185
- private positionOnManualDate;
186
- months(draft: WklyDraft): readonly string[];
187
- monthCount(draft: WklyDraft): number;
188
- get inDays(): number | null;
189
- get inDaysLabel(): string;
190
- get resultingEndDate(): string;
191
- toggleEndView(view: "date" | "days"): void;
192
- days(value: number | null): void;
193
- field(index: number, field: string, value: number | null): void;
194
- displayHour(draft: WklyDraft): number | null;
195
- period(index: number, period: "am" | "pm" | "24"): void;
196
- selected(day: number): boolean;
197
- inRange(day: number): boolean;
198
- dayDisabled(day: number): boolean;
199
- select(day: number): void;
200
- key(event: KeyboardEvent, day: number): void;
201
- private position;
202
- private resetScroll;
203
- scroll(event: Event): void;
204
- private scheduleSnap;
205
- snapWeek(): void;
206
- private showFirstWeek;
207
- canMoveWeek(delta: number): boolean;
208
- moveWeek(delta: number): void;
209
- private renderRows;
210
- trackCell(_i: number, cell: {
211
- epochDay: number;
212
- }): number;
213
- trackRow(_i: number, row: WklyWeekRow): number;
214
- scrollToEpochDay(day: number, options?: WklyJumpOptions): void;
215
- scrollToAbsoluteWeek(week: number, options?: WklyJumpOptions): void;
216
- scrollToCalendarDate(date: WklyCalendarDate, options?: WklyJumpOptions): void;
217
- scrollToValue(value: string, options?: WklyJumpOptions): void;
218
- focusDay(): void;
219
- static ɵfac: i0.ɵɵFactoryDeclaration<WklyDateTimePickerComponent, never>;
220
- static ɵcmp: i0.ɵɵComponentDeclaration<WklyDateTimePickerComponent, "wkly-datetime-picker", never, {}, {}, never, never, false, never>;
370
+ declare namespace presentation_d_exports {
371
+ export { WklyDateTimePickerDialogDirective, WklyDateTimePickerDialogService, WklyPresentationRef, WklyTriggerBase };
221
372
  }
222
-
223
- interface WklyPresentationRef {
224
- readonly component: ComponentRef<WklyDateTimePickerComponent>;
225
- destroy(): void;
373
+ export interface WklyPresentationRef {
374
+ readonly component: ComponentRef<WklyDateTimePickerComponent>;
375
+ destroy(): void;
226
376
  }
227
377
  /** Native-dialog factory. Browser resources are allocated only by open(). */
228
- declare class WklyDateTimePickerDialogService {
229
- private environmentInjector;
230
- private app;
231
- private document;
232
- private platform;
233
- constructor(environmentInjector: EnvironmentInjector, app: ApplicationRef, document: Document, platform: Object);
234
- open(trigger: HTMLElement, onCancel: (reason: WklyCloseReason) => void, backdrop?: boolean, injector?: Injector): WklyPresentationRef;
235
- static ɵfac: i0.ɵɵFactoryDeclaration<WklyDateTimePickerDialogService, never>;
236
- static ɵprov: i0.ɵɵInjectableDeclaration<WklyDateTimePickerDialogService>;
378
+ export declare class WklyDateTimePickerDialogService {
379
+ private environmentInjector;
380
+ private app;
381
+ private document;
382
+ private platform;
383
+ constructor(environmentInjector: EnvironmentInjector, app: ApplicationRef, document: Document, platform: Object);
384
+ open(trigger: HTMLElement, onCancel: (reason: config_d_exports.WklyCloseReason) => void, backdrop?: boolean, injector?: Injector): WklyPresentationRef;
385
+ static ɵfac: i0.ɵɵFactoryDeclaration<WklyDateTimePickerDialogService, never>;
386
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
237
387
  }
238
388
  /** Shared trigger lifecycle; optional presentation packages extend this class. */
239
- declare abstract class WklyTriggerBase extends WklyPickerInputs implements ControlValueAccessor, Validator, OnDestroy {
240
- protected element: ElementRef<HTMLElement>;
241
- protected ref: WklyPresentationRef | null;
242
- protected subscriptions: {
243
- unsubscribe(): void;
244
- }[];
245
- private errors;
246
- private change;
247
- private touched;
248
- private validation;
249
- private readonly formValue;
250
- private readonly formDisabled;
251
- private previousInputs?;
252
- private currentValue;
253
- private isDisabled;
254
- constructor(element: ElementRef<HTMLElement>);
255
- protected abstract create(): WklyPresentationRef;
256
- open(): void;
257
- key(event: KeyboardEvent): void;
258
- blur(): void;
259
- close(reason?: WklyCloseReason): void;
260
- ngOnDestroy(): void;
261
- private copy;
262
- private display;
263
- private checkValue;
264
- writeValue(value: WklyPickerValue): void;
265
- registerOnChange(fn: (value: WklyPickerValue) => void): void;
266
- registerOnTouched(fn: () => void): void;
267
- setDisabledState(value: boolean): void;
268
- validate(): ValidationErrors | null;
269
- registerOnValidatorChange(fn: () => void): void;
270
- scrollToEpochDay(day: number, options?: WklyJumpOptions): void;
271
- scrollToAbsoluteWeek(week: number, options?: WklyJumpOptions): void;
272
- scrollToCalendarDate(date: WklyCalendarDate, options?: WklyJumpOptions): void;
273
- scrollToValue(value: string, options?: WklyJumpOptions): void;
274
- static ɵfac: i0.ɵɵFactoryDeclaration<WklyTriggerBase, never>;
275
- static ɵdir: i0.ɵɵDirectiveDeclaration<WklyTriggerBase, never, never, {}, {}, never, never, true, never>;
389
+ export declare abstract class WklyTriggerBase extends WklyPickerInputs implements ControlValueAccessor, Validator, OnDestroy {
390
+ protected element: ElementRef<HTMLElement>;
391
+ protected ref: WklyPresentationRef | null;
392
+ protected subscriptions: {
393
+ unsubscribe(): void;
394
+ }[];
395
+ private errors;
396
+ private change;
397
+ private touched;
398
+ private validation;
399
+ private readonly formValue;
400
+ private readonly formDisabled;
401
+ private previousInputs?;
402
+ private currentValue;
403
+ private isDisabled;
404
+ constructor(element: ElementRef<HTMLElement>);
405
+ protected abstract create(): WklyPresentationRef;
406
+ open(): void;
407
+ key(event: KeyboardEvent): void;
408
+ blur(): void;
409
+ close(reason?: config_d_exports.WklyCloseReason): void;
410
+ ngOnDestroy(): void;
411
+ private copy;
412
+ private display;
413
+ private checkValue;
414
+ writeValue(value: WklyPickerValue$1): void;
415
+ registerOnChange(fn: (value: WklyPickerValue$1) => void): void;
416
+ registerOnTouched(fn: () => void): void;
417
+ setDisabledState(value: boolean): void;
418
+ validate(): ValidationErrors | null;
419
+ registerOnValidatorChange(fn: () => void): void;
420
+ scrollToEpochDay(day: number, options?: config_d_exports.WklyJumpOptions): void;
421
+ scrollToAbsoluteWeek(week: number, options?: config_d_exports.WklyJumpOptions): void;
422
+ scrollToCalendarDate(date: WklyCalendarDate, options?: config_d_exports.WklyJumpOptions): void;
423
+ scrollToValue(value: string, options?: config_d_exports.WklyJumpOptions): void;
424
+ static ɵfac: i0.ɵɵFactoryDeclaration<WklyTriggerBase, never>;
425
+ static ɵdir: i0.ɵɵDirectiveDeclaration<WklyTriggerBase, never, never, {}, {}, never, never, true, never>;
426
+ }
427
+ export declare class WklyDateTimePickerDialogDirective extends WklyTriggerBase {
428
+ private service;
429
+ private triggerInjector;
430
+ constructor(element: ElementRef<HTMLElement>, service: WklyDateTimePickerDialogService, triggerInjector: Injector);
431
+ protected create(): WklyPresentationRef;
432
+ static ɵfac: i0.ɵɵFactoryDeclaration<WklyDateTimePickerDialogDirective, never>;
433
+ static ɵdir: i0.ɵɵDirectiveDeclaration<WklyDateTimePickerDialogDirective, "[wklyDateTimePickerDialog]", ["wklyDialog"], {}, {}, never, never, false, never>;
434
+ }
435
+ declare namespace field_component_d_exports {
436
+ export { WklyFieldComponent };
437
+ }
438
+ export declare class WklyFieldComponent implements OnChanges, OnDestroy {
439
+ value: number | null;
440
+ label: string;
441
+ hideLabel: boolean;
442
+ previousLabel: string;
443
+ nextLabel: string;
444
+ min: number;
445
+ max: number;
446
+ step: number;
447
+ locale: string;
448
+ disabled: boolean;
449
+ invalid: boolean;
450
+ labels: readonly string[] | null;
451
+ valueChange: EventEmitter<number | null>;
452
+ complete: EventEmitter<void>;
453
+ private before;
454
+ private touchY;
455
+ private touchSteps;
456
+ private touchChanged;
457
+ private typed;
458
+ private inputTimer;
459
+ private wheelTimer;
460
+ get display(): string;
461
+ ngOnChanges(changes: any): void;
462
+ ngOnDestroy(): void;
463
+ next(delta: number): number;
464
+ neighbor(delta: number): string;
465
+ stepBy(delta: number): void;
466
+ begin(event: FocusEvent): void;
467
+ type(event: Event): void;
468
+ key(event: KeyboardEvent): void;
469
+ finish(): void;
470
+ wheel(event: WheelEvent): void;
471
+ touchStart(event: TouchEvent): void;
472
+ touchMove(event: TouchEvent): void;
473
+ touchEnd(event: TouchEvent): void;
474
+ private cancelInput;
475
+ private scrollBy;
476
+ private applyTouchY;
477
+ static ɵfac: i0.ɵɵFactoryDeclaration<WklyFieldComponent, never>;
478
+ static ɵcmp: i0.ɵɵComponentDeclaration<WklyFieldComponent, "wkly-field", never, {
479
+ "value": {
480
+ "alias": "value";
481
+ "required": false;
482
+ };
483
+ "label": {
484
+ "alias": "label";
485
+ "required": false;
486
+ };
487
+ "hideLabel": {
488
+ "alias": "hideLabel";
489
+ "required": false;
490
+ };
491
+ "previousLabel": {
492
+ "alias": "previousLabel";
493
+ "required": false;
494
+ };
495
+ "nextLabel": {
496
+ "alias": "nextLabel";
497
+ "required": false;
498
+ };
499
+ "min": {
500
+ "alias": "min";
501
+ "required": false;
502
+ };
503
+ "max": {
504
+ "alias": "max";
505
+ "required": false;
506
+ };
507
+ "step": {
508
+ "alias": "step";
509
+ "required": false;
510
+ };
511
+ "locale": {
512
+ "alias": "locale";
513
+ "required": false;
514
+ };
515
+ "disabled": {
516
+ "alias": "disabled";
517
+ "required": false;
518
+ };
519
+ "invalid": {
520
+ "alias": "invalid";
521
+ "required": false;
522
+ };
523
+ "labels": {
524
+ "alias": "labels";
525
+ "required": false;
526
+ };
527
+ }, {
528
+ "valueChange": "valueChange";
529
+ "complete": "complete";
530
+ }, never, never, false, never>;
276
531
  }
277
- declare class WklyDateTimePickerDialogDirective extends WklyTriggerBase {
278
- private service;
279
- private triggerInjector;
280
- constructor(element: ElementRef<HTMLElement>, service: WklyDateTimePickerDialogService, triggerInjector: Injector);
281
- protected create(): WklyPresentationRef;
282
- static ɵfac: i0.ɵɵFactoryDeclaration<WklyDateTimePickerDialogDirective, never>;
283
- static ɵdir: i0.ɵɵDirectiveDeclaration<WklyDateTimePickerDialogDirective, "[wklyDateTimePickerDialog]", ["wklyDialog"], {}, {}, never, never, false, never>;
532
+ declare namespace public_api_d_exports {
533
+ export { WKLY_CLOCK, WKLY_CONFIG, WKLY_LOCALIZATION, WKLY_TRANSLATIONS, WklyDateTimePickerComponent, WklyDateTimePickerDialogDirective, WklyDateTimePickerDialogService, WklyDateTimePickerModule, WklyDisabledDatePredicate, WklyDisabledTimePredicate, WklyEndpoint, WklyFieldComponent, WklyHourCycle, WklyIsoString, WklyPickerInputs, WklyPickerSignalInputs, WklyPickerSignalInputsAndOutputs, WklyPickerSignalOutputs, WklyPickerValue, WklyPresentationRef, WklyRangeValidator, WklyRangeValue, WklySelectionMode, WklyTriggerBase, WklyValidationError, WklyValidationErrorCode, WklyViewportPreset, WklyWeekLabelFormatter, WklyWeekLabelMode, unwrapWklyPickerSignalInputs };
284
534
  }
285
-
286
- declare class WklyFieldComponent implements OnChanges, OnDestroy {
287
- value: number | null;
288
- label: string;
289
- hideLabel: boolean;
290
- previousLabel: string;
291
- nextLabel: string;
292
- min: number;
293
- max: number;
294
- step: number;
295
- locale: string;
296
- disabled: boolean;
297
- invalid: boolean;
298
- labels: readonly string[] | null;
299
- valueChange: EventEmitter<number | null>;
300
- complete: EventEmitter<void>;
301
- private before;
302
- private touchY;
303
- private touchSteps;
304
- private touchChanged;
305
- private typed;
306
- private inputTimer;
307
- private wheelTimer;
308
- get display(): string;
309
- ngOnChanges(changes: any): void;
310
- ngOnDestroy(): void;
311
- next(delta: number): number;
312
- neighbor(delta: number): string;
313
- stepBy(delta: number): void;
314
- begin(event: FocusEvent): void;
315
- type(event: Event): void;
316
- key(event: KeyboardEvent): void;
317
- finish(): void;
318
- wheel(event: WheelEvent): void;
319
- touchStart(event: TouchEvent): void;
320
- touchMove(event: TouchEvent): void;
321
- touchEnd(event: TouchEvent): void;
322
- private cancelInput;
323
- private scrollBy;
324
- private applyTouchY;
325
- static ɵfac: i0.ɵɵFactoryDeclaration<WklyFieldComponent, never>;
326
- static ɵcmp: i0.ɵɵComponentDeclaration<WklyFieldComponent, "wkly-field", never, { "value": { "alias": "value"; "required": false; }; "label": { "alias": "label"; "required": false; }; "hideLabel": { "alias": "hideLabel"; "required": false; }; "previousLabel": { "alias": "previousLabel"; "required": false; }; "nextLabel": { "alias": "nextLabel"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "step": { "alias": "step"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "labels": { "alias": "labels"; "required": false; }; }, { "valueChange": "valueChange"; "complete": "complete"; }, never, never, false, never>;
535
+ export declare class WklyDateTimePickerModule {
536
+ static ɵfac: i0.ɵɵFactoryDeclaration<WklyDateTimePickerModule, never>;
537
+ static ɵmod: i0.ɵɵNgModuleDeclaration<WklyDateTimePickerModule, [typeof WklyDateTimePickerComponent, typeof WklyDateTimePickerDialogDirective, typeof WklyFieldComponent], [typeof i4.CommonModule], [typeof WklyDateTimePickerComponent, typeof WklyDateTimePickerDialogDirective]>;
538
+ static ɵinj: i0.ɵɵInjectorDeclaration<WklyDateTimePickerModule>;
327
539
  }
328
-
329
- declare class WklyDateTimePickerModule {
330
- static ɵfac: i0.ɵɵFactoryDeclaration<WklyDateTimePickerModule, never>;
331
- static ɵmod: i0.ɵɵNgModuleDeclaration<WklyDateTimePickerModule, [typeof WklyDateTimePickerComponent, typeof WklyDateTimePickerDialogDirective, typeof WklyFieldComponent], [typeof i4.CommonModule], [typeof WklyDateTimePickerComponent, typeof WklyDateTimePickerDialogDirective]>;
332
- static ɵinj: i0.ɵɵInjectorDeclaration<WklyDateTimePickerModule>;
540
+ declare namespace wkly_datetime_picker_d_exports {
541
+ export { WKLY_CLOCK, WKLY_CONFIG, WKLY_LOCALIZATION, WKLY_TRANSLATIONS, WklyDateTimePickerComponent, WklyDateTimePickerDialogDirective, WklyDateTimePickerDialogService, WklyDateTimePickerModule, WklyDisabledDatePredicate, WklyDisabledTimePredicate, WklyEndpoint, WklyFieldComponent, WklyHourCycle, WklyIsoString, WklyPickerInputs, WklyPickerSignalInputs, WklyPickerSignalInputsAndOutputs, WklyPickerSignalOutputs, WklyPickerValue, WklyPresentationRef, WklyRangeValidator, WklyRangeValue, WklySelectionMode, WklyTriggerBase, WklyValidationError, WklyValidationErrorCode, WklyViewportPreset, WklyWeekLabelFormatter, WklyWeekLabelMode, unwrapWklyPickerSignalInputs };
333
542
  }
334
-
335
- export { WKLY_CLOCK, WKLY_CONFIG, WKLY_LOCALIZATION, WKLY_TRANSLATIONS, WklyDateTimePickerComponent, WklyDateTimePickerDialogDirective, WklyDateTimePickerDialogService, WklyDateTimePickerModule, WklyFieldComponent, WklyPickerInputs, WklyTriggerBase, unwrapWklyPickerSignalInputs };
336
- export type { WklyPickerSignalInputs, WklyPickerSignalInputsAndOutputs, WklyPickerSignalOutputs, WklyPresentationRef };
543
+ export { WklyDisabledDatePredicate, WklyDisabledTimePredicate, WklyEndpoint, WklyHourCycle, WklyIsoString, WklyPickerValue, WklyRangeValidator, WklyRangeValue, WklySelectionMode, WklyValidationError, WklyValidationErrorCode, WklyViewportPreset, WklyWeekLabelFormatter, WklyWeekLabelMode };