@wkly/datetime-picker 17.0.0 → 19.0.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.
package/config.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import { EventEmitter, InjectionToken } from "@angular/core";
1
+ import { InjectionToken, InputSignal, InputSignalWithTransform, OutputEmitterRef } from "@angular/core";
2
2
  import { WklyWeekOffset } from "@wkly/core";
3
3
  import { WklyCalendarAdapter, WklyDisabledDatePredicate, WklyDisabledTimePredicate, WklyHourCycle, WklyPickerValue, WklyRangeValidator, WklySelectionMode, WklyValidationError, WklyViewportPreset, WklyWeekLabelFormatter, WklyWeekLabelMode } from "@wkly/adapters";
4
- import { WklyClock, WklyConfiguration, WklyCloseReason, WklyPickerInputs as WklyPickerInputsContract, WklyPickerOutputs as WklyPickerOutputsContract, WklyTranslations, WklyViewportChange, WklyPickerInputsPropertyKeys, WklyPickerOutputsPropertyKeys } from "@wkly/presentation";
4
+ import { WklyClock, WklyConfiguration, WklyCloseReason, WklyPickerInputs as WklyPickerInputsContract, WklyPickerOutputs as WklyPickerOutputsContract, WklyViewportChange, WklyPickerInputsPropertyKeys, WklyPickerOutputsPropertyKeys } from "@wkly/presentation";
5
5
  import * as i0 from "@angular/core";
6
6
  export * from "@wkly/presentation";
7
7
  export declare const WKLY_CLOCK: InjectionToken<WklyClock>;
@@ -9,41 +9,77 @@ export declare const WKLY_CONFIG: InjectionToken<WklyConfiguration>;
9
9
  export declare const WKLY_LOCALIZATION: InjectionToken<Readonly<Record<string, string>>>;
10
10
  export declare const WKLY_TRANSLATIONS: InjectionToken<Readonly<Record<string, Readonly<Record<string, string>>>>>;
11
11
  /** Shared public inputs/outputs inherited by the picker and both trigger directives. */
12
- export declare abstract class WklyPickerInputs implements WklyPickerInputsContract, WklyPickerOutputsContract {
13
- [WklyPickerInputsPropertyKeys.Mode]: WklySelectionMode;
14
- [WklyPickerInputsPropertyKeys.Value]: WklyPickerValue;
15
- [WklyPickerInputsPropertyKeys.CalendarAdapter]: WklyCalendarAdapter;
16
- [WklyPickerInputsPropertyKeys.Locale]: string;
17
- [WklyPickerInputsPropertyKeys.WeekOffset]: WklyWeekOffset | null;
18
- [WklyPickerInputsPropertyKeys.ViewportPreset]: WklyViewportPreset;
19
- [WklyPickerInputsPropertyKeys.HourCycle]: WklyHourCycle;
20
- [WklyPickerInputsPropertyKeys.ShowSeconds]: boolean;
21
- [WklyPickerInputsPropertyKeys.MinuteStep]: number;
22
- [WklyPickerInputsPropertyKeys.SecondStep]: number;
23
- [WklyPickerInputsPropertyKeys.Min]: string | null;
24
- [WklyPickerInputsPropertyKeys.Max]: string | null;
25
- [WklyPickerInputsPropertyKeys.IsDateDisabled]: WklyDisabledDatePredicate | null;
26
- [WklyPickerInputsPropertyKeys.IsTimeDisabled]: WklyDisabledTimePredicate | null;
27
- [WklyPickerInputsPropertyKeys.RangeValidator]: WklyRangeValidator | null;
28
- [WklyPickerInputsPropertyKeys.AllowRangeAcrossDisabled]: boolean;
29
- [WklyPickerInputsPropertyKeys.Required]: boolean;
30
- [WklyPickerInputsPropertyKeys.Disabled]: boolean;
31
- [WklyPickerInputsPropertyKeys.WeekLabelMode]: WklyWeekLabelMode;
32
- [WklyPickerInputsPropertyKeys.WeekLabelFormatter]: WklyWeekLabelFormatter | null;
33
- [WklyPickerInputsPropertyKeys.WeekCacheSize]: number;
34
- [WklyPickerInputsPropertyKeys.OverscanWeeks]: number;
35
- [WklyPickerInputsPropertyKeys.AriaLabel]: string | null;
36
- [WklyPickerInputsPropertyKeys.AriaDescribedBy]: string | null;
37
- [WklyPickerInputsPropertyKeys.InitialEpochDay]: number | null;
38
- [WklyPickerInputsPropertyKeys.CloseOnBackdrop]: boolean;
39
- [WklyPickerInputsPropertyKeys.Validators]: readonly ((value: WklyPickerValue) => WklyValidationError | null)[];
40
- [WklyPickerInputsPropertyKeys.Translations]: WklyTranslations | null;
41
- [WklyPickerOutputsPropertyKeys.ValueChange]: EventEmitter<WklyPickerValue>;
42
- [WklyPickerOutputsPropertyKeys.ValidationChange]: EventEmitter<readonly WklyValidationError[]>;
43
- [WklyPickerOutputsPropertyKeys.Opened]: EventEmitter<void>;
44
- [WklyPickerOutputsPropertyKeys.Closed]: EventEmitter<WklyCloseReason>;
45
- [WklyPickerOutputsPropertyKeys.ViewportChange]: EventEmitter<WklyViewportChange>;
46
- [WklyPickerOutputsPropertyKeys.ViewModeChange]: EventEmitter<"calendar" | "manual">;
12
+ export type WklyPickerSignalInputs<T> = {
13
+ [K in keyof T]: InputSignal<T[K]> | InputSignalWithTransform<T[K], unknown>;
14
+ };
15
+ export type WklyPickerSignalOutputs<T> = {
16
+ [K in keyof T]: OutputEmitterRef<T[K]>;
17
+ };
18
+ export type WklyPickerSignalInputsAndOutputs<T, U> = WklyPickerSignalInputs<T> & WklyPickerSignalOutputs<U>;
19
+ export declare abstract class WklyPickerInputs implements WklyPickerSignalInputsAndOutputs<WklyPickerInputsContract, WklyPickerOutputsContract> {
20
+ protected readonly modeInput: InputSignal<WklySelectionMode>;
21
+ protected readonly valueInput: InputSignal<WklyPickerValue>;
22
+ protected readonly calendarAdapterInput: InputSignal<WklyCalendarAdapter>;
23
+ protected readonly localeInput: InputSignal<string>;
24
+ protected readonly weekOffsetInput: InputSignal<WklyWeekOffset | null>;
25
+ protected readonly viewportPresetInput: InputSignal<WklyViewportPreset>;
26
+ protected readonly hourCycleInput: InputSignal<WklyHourCycle>;
27
+ protected readonly showSecondsInput: InputSignalWithTransform<boolean, unknown>;
28
+ protected readonly minuteStepInput: InputSignal<number>;
29
+ protected readonly secondStepInput: InputSignal<number>;
30
+ protected readonly minInput: InputSignal<string | null>;
31
+ protected readonly maxInput: InputSignal<string | null>;
32
+ protected readonly isDateDisabledInput: InputSignal<WklyDisabledDatePredicate | null>;
33
+ protected readonly isTimeDisabledInput: InputSignal<WklyDisabledTimePredicate | null>;
34
+ protected readonly rangeValidatorInput: InputSignal<WklyRangeValidator | null>;
35
+ protected readonly allowRangeAcrossDisabledInput: InputSignalWithTransform<boolean, unknown>;
36
+ protected readonly requiredInput: InputSignalWithTransform<boolean, unknown>;
37
+ protected readonly disabledInput: InputSignalWithTransform<boolean, unknown>;
38
+ protected readonly weekLabelModeInput: InputSignal<WklyWeekLabelMode>;
39
+ protected readonly weekLabelFormatterInput: InputSignal<WklyWeekLabelFormatter | null>;
40
+ protected readonly weekCacheSizeInput: InputSignal<number>;
41
+ protected readonly overscanWeeksInput: InputSignal<number>;
42
+ protected readonly ariaLabelInput: InputSignal<string | null>;
43
+ protected readonly ariaDescribedByInput: InputSignal<string | null>;
44
+ protected readonly initialEpochDayInput: InputSignal<number | null>;
45
+ protected readonly closeOnBackdropInput: InputSignalWithTransform<boolean, unknown>;
46
+ protected readonly validatorsInput: InputSignal<readonly ((value: WklyPickerValue) => WklyValidationError | null)[]>;
47
+ protected readonly translationsInput: InputSignal<Readonly<Record<string, Readonly<Record<string, string>>>> | null>;
48
+ readonly [WklyPickerInputsPropertyKeys.Mode]: InputSignal<WklySelectionMode>;
49
+ readonly [WklyPickerInputsPropertyKeys.Value]: InputSignal<WklyPickerValue>;
50
+ readonly [WklyPickerInputsPropertyKeys.CalendarAdapter]: InputSignal<WklyCalendarAdapter>;
51
+ readonly [WklyPickerInputsPropertyKeys.Locale]: InputSignal<string>;
52
+ readonly [WklyPickerInputsPropertyKeys.WeekOffset]: InputSignal<WklyWeekOffset | null>;
53
+ readonly [WklyPickerInputsPropertyKeys.ViewportPreset]: InputSignal<WklyViewportPreset>;
54
+ readonly [WklyPickerInputsPropertyKeys.HourCycle]: InputSignal<WklyHourCycle>;
55
+ readonly [WklyPickerInputsPropertyKeys.ShowSeconds]: InputSignalWithTransform<boolean, unknown>;
56
+ readonly [WklyPickerInputsPropertyKeys.MinuteStep]: InputSignal<number>;
57
+ readonly [WklyPickerInputsPropertyKeys.SecondStep]: InputSignal<number>;
58
+ readonly [WklyPickerInputsPropertyKeys.Min]: InputSignal<string | null>;
59
+ readonly [WklyPickerInputsPropertyKeys.Max]: InputSignal<string | null>;
60
+ readonly [WklyPickerInputsPropertyKeys.IsDateDisabled]: InputSignal<WklyDisabledDatePredicate | null>;
61
+ readonly [WklyPickerInputsPropertyKeys.IsTimeDisabled]: InputSignal<WklyDisabledTimePredicate | null>;
62
+ readonly [WklyPickerInputsPropertyKeys.RangeValidator]: InputSignal<WklyRangeValidator | null>;
63
+ readonly [WklyPickerInputsPropertyKeys.AllowRangeAcrossDisabled]: InputSignalWithTransform<boolean, unknown>;
64
+ readonly [WklyPickerInputsPropertyKeys.Required]: InputSignalWithTransform<boolean, unknown>;
65
+ readonly [WklyPickerInputsPropertyKeys.Disabled]: InputSignalWithTransform<boolean, unknown>;
66
+ readonly [WklyPickerInputsPropertyKeys.WeekLabelMode]: InputSignal<WklyWeekLabelMode>;
67
+ readonly [WklyPickerInputsPropertyKeys.WeekLabelFormatter]: InputSignal<WklyWeekLabelFormatter | null>;
68
+ readonly [WklyPickerInputsPropertyKeys.WeekCacheSize]: InputSignal<number>;
69
+ readonly [WklyPickerInputsPropertyKeys.OverscanWeeks]: InputSignal<number>;
70
+ readonly [WklyPickerInputsPropertyKeys.AriaLabel]: InputSignal<string | null>;
71
+ readonly [WklyPickerInputsPropertyKeys.AriaDescribedBy]: InputSignal<string | null>;
72
+ readonly [WklyPickerInputsPropertyKeys.InitialEpochDay]: InputSignal<number | null>;
73
+ readonly [WklyPickerInputsPropertyKeys.CloseOnBackdrop]: InputSignalWithTransform<boolean, unknown>;
74
+ readonly [WklyPickerInputsPropertyKeys.Validators]: InputSignal<readonly ((value: WklyPickerValue) => WklyValidationError | null)[]>;
75
+ readonly [WklyPickerInputsPropertyKeys.Translations]: InputSignal<Readonly<Record<string, Readonly<Record<string, string>>>> | null>;
76
+ readonly [WklyPickerOutputsPropertyKeys.ValueChange]: OutputEmitterRef<WklyPickerValue>;
77
+ readonly [WklyPickerOutputsPropertyKeys.ValidationChange]: OutputEmitterRef<readonly WklyValidationError[]>;
78
+ readonly [WklyPickerOutputsPropertyKeys.Opened]: OutputEmitterRef<void>;
79
+ readonly [WklyPickerOutputsPropertyKeys.Closed]: OutputEmitterRef<WklyCloseReason>;
80
+ readonly [WklyPickerOutputsPropertyKeys.ViewportChange]: OutputEmitterRef<WklyViewportChange>;
81
+ readonly [WklyPickerOutputsPropertyKeys.ViewModeChange]: OutputEmitterRef<"calendar" | "manual">;
47
82
  static ɵfac: i0.ɵɵFactoryDeclaration<WklyPickerInputs, never>;
48
- static ɵdir: i0.ɵɵDirectiveDeclaration<WklyPickerInputs, never, never, { "mode": { "alias": "mode"; "required": false; }; "value": { "alias": "value"; "required": false; }; "calendarAdapter": { "alias": "calendarAdapter"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "weekOffset": { "alias": "weekOffset"; "required": false; }; "viewportPreset": { "alias": "viewportPreset"; "required": false; }; "hourCycle": { "alias": "hourCycle"; "required": false; }; "showSeconds": { "alias": "showSeconds"; "required": false; }; "minuteStep": { "alias": "minuteStep"; "required": false; }; "secondStep": { "alias": "secondStep"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "isDateDisabled": { "alias": "isDateDisabled"; "required": false; }; "isTimeDisabled": { "alias": "isTimeDisabled"; "required": false; }; "rangeValidator": { "alias": "rangeValidator"; "required": false; }; "allowRangeAcrossDisabled": { "alias": "allowRangeAcrossDisabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "weekLabelMode": { "alias": "weekLabelMode"; "required": false; }; "weekLabelFormatter": { "alias": "weekLabelFormatter"; "required": false; }; "weekCacheSize": { "alias": "weekCacheSize"; "required": false; }; "overscanWeeks": { "alias": "overscanWeeks"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaDescribedBy": { "alias": "ariaDescribedBy"; "required": false; }; "initialEpochDay": { "alias": "initialEpochDay"; "required": false; }; "closeOnBackdrop": { "alias": "closeOnBackdrop"; "required": false; }; "validators": { "alias": "validators"; "required": false; }; "translations": { "alias": "translations"; "required": false; }; }, { "valueChange": "valueChange"; "validationChange": "validationChange"; "opened": "opened"; "closed": "closed"; "viewportChange": "viewportChange"; "viewModeChange": "viewModeChange"; }, never, never, false, never>;
83
+ 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>;
49
84
  }
85
+ export declare function unwrapWklyPickerSignalInputs<T extends WklyPickerInputsContract>(source: WklyPickerSignalInputs<T>): T;
@@ -75,10 +75,10 @@ class WklyDateTimePickerOverlayService {
75
75
  },
76
76
  };
77
77
  }
78
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: WklyDateTimePickerOverlayService, deps: [{ token: i1.Overlay }, { token: i0.Injector }, { token: i2.FocusTrapFactory }], target: i0.ɵɵFactoryTarget.Injectable });
79
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: WklyDateTimePickerOverlayService, providedIn: "root" });
78
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: WklyDateTimePickerOverlayService, deps: [{ token: i1.Overlay }, { token: i0.Injector }, { token: i2.FocusTrapFactory }], target: i0.ɵɵFactoryTarget.Injectable });
79
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: WklyDateTimePickerOverlayService, providedIn: "root" });
80
80
  }
81
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: WklyDateTimePickerOverlayService, decorators: [{
81
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: WklyDateTimePickerOverlayService, decorators: [{
82
82
  type: Injectable,
83
83
  args: [{ providedIn: "root" }]
84
84
  }], ctorParameters: () => [{ type: i1.Overlay }, { type: i0.Injector }, { type: i2.FocusTrapFactory }] });
@@ -91,10 +91,10 @@ class WklyDateTimePickerOverlayDirective extends WklyTriggerBase {
91
91
  this.triggerInjector = triggerInjector;
92
92
  }
93
93
  create() {
94
- return this.service.open(this.element.nativeElement, (reason) => this.close(reason), this[WklyPickerInputsPropertyKeys.CloseOnBackdrop], this.triggerInjector);
94
+ return this.service.open(this.element.nativeElement, (reason) => this.close(reason), this[WklyPickerInputsPropertyKeys.CloseOnBackdrop](), this.triggerInjector);
95
95
  }
96
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: WklyDateTimePickerOverlayDirective, deps: [{ token: i0.ElementRef }, { token: WklyDateTimePickerOverlayService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Directive });
97
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.12", type: WklyDateTimePickerOverlayDirective, selector: "[wklyDateTimePickerOverlay]", providers: [
96
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: WklyDateTimePickerOverlayDirective, deps: [{ token: i0.ElementRef }, { token: WklyDateTimePickerOverlayService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Directive });
97
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.25", type: WklyDateTimePickerOverlayDirective, isStandalone: false, selector: "[wklyDateTimePickerOverlay]", providers: [
98
98
  {
99
99
  provide: NG_VALUE_ACCESSOR,
100
100
  useExisting: forwardRef(() => WklyDateTimePickerOverlayDirective),
@@ -107,10 +107,11 @@ class WklyDateTimePickerOverlayDirective extends WklyTriggerBase {
107
107
  },
108
108
  ], exportAs: ["wklyOverlay"], usesInheritance: true, ngImport: i0 });
109
109
  }
110
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: WklyDateTimePickerOverlayDirective, decorators: [{
110
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: WklyDateTimePickerOverlayDirective, decorators: [{
111
111
  type: Directive,
112
112
  args: [{
113
113
  selector: "[wklyDateTimePickerOverlay]",
114
+ standalone: false,
114
115
  exportAs: "wklyOverlay",
115
116
  providers: [
116
117
  {
@@ -127,11 +128,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
127
128
  }]
128
129
  }], ctorParameters: () => [{ type: i0.ElementRef }, { type: WklyDateTimePickerOverlayService }, { type: i0.Injector }] });
129
130
  class WklyDateTimePickerOverlayModule {
130
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: WklyDateTimePickerOverlayModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
131
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: WklyDateTimePickerOverlayModule, declarations: [WklyDateTimePickerOverlayDirective], imports: [OverlayModule, WklyDateTimePickerModule], exports: [WklyDateTimePickerOverlayDirective] });
132
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: WklyDateTimePickerOverlayModule, imports: [OverlayModule, WklyDateTimePickerModule] });
131
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: WklyDateTimePickerOverlayModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
132
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.25", ngImport: i0, type: WklyDateTimePickerOverlayModule, declarations: [WklyDateTimePickerOverlayDirective], imports: [OverlayModule, WklyDateTimePickerModule], exports: [WklyDateTimePickerOverlayDirective] });
133
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: WklyDateTimePickerOverlayModule, imports: [OverlayModule, WklyDateTimePickerModule] });
133
134
  }
134
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: WklyDateTimePickerOverlayModule, decorators: [{
135
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: WklyDateTimePickerOverlayModule, decorators: [{
135
136
  type: NgModule,
136
137
  args: [{
137
138
  imports: [OverlayModule, WklyDateTimePickerModule],
@@ -1 +1 @@
1
- {"version":3,"file":"wkly-datetime-picker-cdk-overlay.mjs","sources":["../../../projects/wkly-datetime-picker.17/cdk-overlay/public-api.ts","../../../projects/wkly-datetime-picker.17/cdk-overlay/wkly-datetime-picker-cdk-overlay.ts"],"sourcesContent":["import {\n ComponentFactoryResolver,\n Directive,\n ElementRef,\n forwardRef,\n Injectable,\n Injector,\n NgModule,\n} from \"@angular/core\";\nimport { NG_VALIDATORS, NG_VALUE_ACCESSOR } from \"@angular/forms\";\nimport { Overlay, OverlayModule } from \"@angular/cdk/overlay\";\nimport { ComponentPortal } from \"@angular/cdk/portal\";\nimport { FocusTrapFactory } from \"@angular/cdk/a11y\";\nimport {\n WklyDateTimePickerComponent,\n WklyDateTimePickerModule,\n WklyCloseReason,\n WklyPresentationRef,\n WklyTriggerBase,\n WklyPickerInputsPropertyKeys,\n} from \"@wkly/datetime-picker\";\n@Injectable({ providedIn: \"root\" })\nexport class WklyDateTimePickerOverlayService {\n constructor(\n private overlay: Overlay,\n private injector: Injector,\n private traps: FocusTrapFactory,\n ) {}\n open(\n trigger: HTMLElement,\n onCancel: (reason: WklyCloseReason) => void,\n backdrop = true,\n injector?: Injector,\n ): WklyPresentationRef {\n const overlay = this.overlay.create({\n width: \"390px\",\n maxWidth: \"100vw\",\n maxHeight: \"94vh\",\n hasBackdrop: true,\n backdropClass: \"cdk-overlay-transparent-backdrop\",\n scrollStrategy: this.overlay.scrollStrategies.block(),\n positionStrategy: this.overlay\n .position()\n .flexibleConnectedTo(trigger)\n .withPush(true)\n .withFlexibleDimensions(false)\n .withLockedPosition(true)\n .withPositions([\n {\n originX: \"start\",\n originY: \"bottom\",\n overlayX: \"start\",\n overlayY: \"top\",\n offsetY: 6,\n },\n {\n originX: \"start\",\n originY: \"top\",\n overlayX: \"start\",\n overlayY: \"bottom\",\n offsetY: -6,\n },\n ]),\n });\n const component = overlay.attach(\n new ComponentPortal(\n WklyDateTimePickerComponent,\n null,\n injector || this.injector,\n ),\n );\n component.instance.presentation = \"transient\";\n overlay.overlayElement.setAttribute(\"role\", \"dialog\");\n overlay.overlayElement.setAttribute(\"aria-modal\", \"true\");\n overlay.overlayElement.setAttribute(\"aria-label\", \"Date and time picker\");\n overlay.overlayElement.style.overflow = \"auto\";\n const trap = this.traps.create(overlay.overlayElement);\n const sub = overlay.backdropClick().subscribe(() => {\n if (backdrop) onCancel(\"backdrop\");\n });\n const key = overlay.keydownEvents().subscribe((event) => {\n if (event.key === \"Escape\") {\n event.preventDefault();\n onCancel(\"escape\");\n }\n });\n return {\n component,\n destroy: () => {\n sub.unsubscribe();\n key.unsubscribe();\n trap.destroy();\n overlay.dispose();\n trigger.focus();\n },\n };\n }\n}\n@Directive({\n selector: \"[wklyDateTimePickerOverlay]\",\n exportAs: \"wklyOverlay\",\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => WklyDateTimePickerOverlayDirective),\n multi: true,\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => WklyDateTimePickerOverlayDirective),\n multi: true,\n },\n ],\n})\nexport class WklyDateTimePickerOverlayDirective extends WklyTriggerBase {\n constructor(\n element: ElementRef<HTMLElement>,\n private service: WklyDateTimePickerOverlayService,\n private triggerInjector: Injector,\n ) {\n super(element);\n }\n protected create(): WklyPresentationRef {\n return this.service.open(\n this.element.nativeElement,\n (reason) => this.close(reason),\n this[WklyPickerInputsPropertyKeys.CloseOnBackdrop],\n this.triggerInjector,\n );\n }\n}\n@NgModule({\n imports: [OverlayModule, WklyDateTimePickerModule],\n declarations: [WklyDateTimePickerOverlayDirective],\n exports: [WklyDateTimePickerOverlayDirective],\n})\nexport class WklyDateTimePickerOverlayModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;MAsBa,gCAAgC,CAAA;AAEjC,IAAA,OAAA;AACA,IAAA,QAAA;AACA,IAAA,KAAA;AAHV,IAAA,WAAA,CACU,OAAgB,EAChB,QAAkB,EAClB,KAAuB,EAAA;QAFvB,IAAA,CAAA,OAAO,GAAP,OAAO;QACP,IAAA,CAAA,QAAQ,GAAR,QAAQ;QACR,IAAA,CAAA,KAAK,GAAL,KAAK;IACZ;IACH,IAAI,CACF,OAAoB,EACpB,QAA2C,EAC3C,QAAQ,GAAG,IAAI,EACf,QAAmB,EAAA;AAEnB,QAAA,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC;AAClC,YAAA,KAAK,EAAE,OAAO;AACd,YAAA,QAAQ,EAAE,OAAO;AACjB,YAAA,SAAS,EAAE,MAAM;AACjB,YAAA,WAAW,EAAE,IAAI;AACjB,YAAA,aAAa,EAAE,kCAAkC;YACjD,cAAc,EAAE,IAAI,CAAC,OAAO,CAAC,gBAAgB,CAAC,KAAK,EAAE;YACrD,gBAAgB,EAAE,IAAI,CAAC;AACpB,iBAAA,QAAQ;iBACR,mBAAmB,CAAC,OAAO;iBAC3B,QAAQ,CAAC,IAAI;iBACb,sBAAsB,CAAC,KAAK;iBAC5B,kBAAkB,CAAC,IAAI;AACvB,iBAAA,aAAa,CAAC;AACb,gBAAA;AACE,oBAAA,OAAO,EAAE,OAAO;AAChB,oBAAA,OAAO,EAAE,QAAQ;AACjB,oBAAA,QAAQ,EAAE,OAAO;AACjB,oBAAA,QAAQ,EAAE,KA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,qBAAA;AACF,iBAAA;;MAuBY,+BAA+B,CAAA;wGAA/B,+BAA+B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;AAA/B,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,+BAA+B,iBAtB/B,kCAAkC,CAAA,EAAA,OAAA,EAAA,CAkBnC,aAAa,EAAE,wBAAwB,aAlBtC,kCAAkC,CAAA,EAAA,CAAA;yGAsBlC,+BAA+B,EAAA,OAAA,EAAA,CAJhC,aAAa,EAAE,wBAAwB,CAAA,EAAA,CAAA;;4FAItC,+BAA+B,EAAA,UAAA,EAAA,CAAA;kBAL3C,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,aAAa,EAAE,wBAAwB,CAAC;oBAClD,YAAY,EAAE,CAAC,kCAAkC,CAAC;oBAClD,OAAO,EAAE,CAAC,kCAAkC,CAAC;AAC9C,iBAAA;;;ACvID;;AAEG;;"}
1
+ {"version":3,"file":"wkly-datetime-picker-cdk-overlay.mjs","sources":["../../../projects/wkly-datetime-picker.19/cdk-overlay/public-api.ts","../../../projects/wkly-datetime-picker.19/cdk-overlay/wkly-datetime-picker-cdk-overlay.ts"],"sourcesContent":["import {\n ComponentFactoryResolver,\n Directive,\n ElementRef,\n forwardRef,\n Injectable,\n Injector,\n NgModule,\n} from \"@angular/core\";\nimport { NG_VALIDATORS, NG_VALUE_ACCESSOR } from \"@angular/forms\";\nimport { Overlay, OverlayModule } from \"@angular/cdk/overlay\";\nimport { ComponentPortal } from \"@angular/cdk/portal\";\nimport { FocusTrapFactory } from \"@angular/cdk/a11y\";\nimport {\n WklyDateTimePickerComponent,\n WklyDateTimePickerModule,\n WklyCloseReason,\n WklyPresentationRef,\n WklyTriggerBase,\n WklyPickerInputsPropertyKeys,\n} from \"@wkly/datetime-picker\";\n@Injectable({ providedIn: \"root\" })\nexport class WklyDateTimePickerOverlayService {\n constructor(\n private overlay: Overlay,\n private injector: Injector,\n private traps: FocusTrapFactory,\n ) {}\n open(\n trigger: HTMLElement,\n onCancel: (reason: WklyCloseReason) => void,\n backdrop = true,\n injector?: Injector,\n ): WklyPresentationRef {\n const overlay = this.overlay.create({\n width: \"390px\",\n maxWidth: \"100vw\",\n maxHeight: \"94vh\",\n hasBackdrop: true,\n backdropClass: \"cdk-overlay-transparent-backdrop\",\n scrollStrategy: this.overlay.scrollStrategies.block(),\n positionStrategy: this.overlay\n .position()\n .flexibleConnectedTo(trigger)\n .withPush(true)\n .withFlexibleDimensions(false)\n .withLockedPosition(true)\n .withPositions([\n {\n originX: \"start\",\n originY: \"bottom\",\n overlayX: \"start\",\n overlayY: \"top\",\n offsetY: 6,\n },\n {\n originX: \"start\",\n originY: \"top\",\n overlayX: \"start\",\n overlayY: \"bottom\",\n offsetY: -6,\n },\n ]),\n });\n const component = overlay.attach(\n new ComponentPortal(\n WklyDateTimePickerComponent,\n null,\n injector || this.injector,\n ),\n );\n component.instance.presentation = \"transient\";\n overlay.overlayElement.setAttribute(\"role\", \"dialog\");\n overlay.overlayElement.setAttribute(\"aria-modal\", \"true\");\n overlay.overlayElement.setAttribute(\"aria-label\", \"Date and time picker\");\n overlay.overlayElement.style.overflow = \"auto\";\n const trap = this.traps.create(overlay.overlayElement);\n const sub = overlay.backdropClick().subscribe(() => {\n if (backdrop) onCancel(\"backdrop\");\n });\n const key = overlay.keydownEvents().subscribe((event) => {\n if (event.key === \"Escape\") {\n event.preventDefault();\n onCancel(\"escape\");\n }\n });\n return {\n component,\n destroy: () => {\n sub.unsubscribe();\n key.unsubscribe();\n trap.destroy();\n overlay.dispose();\n trigger.focus();\n },\n };\n }\n}\n@Directive({\n selector: \"[wklyDateTimePickerOverlay]\",\n standalone: false,\n exportAs: \"wklyOverlay\",\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => WklyDateTimePickerOverlayDirective),\n multi: true,\n },\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => WklyDateTimePickerOverlayDirective),\n multi: true,\n },\n ],\n})\nexport class WklyDateTimePickerOverlayDirective extends WklyTriggerBase {\n constructor(\n element: ElementRef<HTMLElement>,\n private service: WklyDateTimePickerOverlayService,\n private triggerInjector: Injector,\n ) {\n super(element);\n }\n protected create(): WklyPresentationRef {\n return this.service.open(\n this.element.nativeElement,\n (reason) => this.close(reason),\n this[WklyPickerInputsPropertyKeys.CloseOnBackdrop](),\n this.triggerInjector,\n );\n }\n}\n@NgModule({\n imports: [OverlayModule, WklyDateTimePickerModule],\n declarations: [WklyDateTimePickerOverlayDirective],\n exports: [WklyDateTimePickerOverlayDirective],\n})\nexport class WklyDateTimePickerOverlayModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;MAsBa,gCAAgC,CAAA;AAEjC,IAAA,OAAA;AACA,IAAA,QAAA;AACA,IAAA,KAAA;AAHV,IAAA,WAAA,CACU,OAAgB,EAChB,QAAkB,EAClB,KAAuB,EAAA;QAFvB,IAAA,CAAA,OAAO,GAAP,OAAO;QACP,IAAA,CAAA,QAAQ,GAAR,QAAQ;QACR,IAAA,CAAA,KAAK,GAAL,KAAK;IACZ;IACH,IAAI,CACF,OAAoB,EACpB,QAA2C,EAC3C,QAAQ,GAAG,IAAI,EACf,QAAmB,EAAA;AAEnB,QAAA,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC;AAClC,YAAA,KAAK,EAAE,OAAO;AACd,YAAA,QAAQ,EAAE,OAAO;AACjB,YAAA,SAAS,EAAE,MAAM;AACjB,YAAA,WAAW,EAAE,IAAI;AACjB,YAAA,aAAa,EAAE,kCAAkC;YACjD,cAAc,EAAE,IAAI,CAAC,OAAO,CAAC,gBAAg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