@anglr/datetime 8.1.0-beta.20240827080139 → 9.0.0-beta.20241004120552
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 +61 -1
- package/date-fns/src/services/dateFnsDateApi.service.d.ts +58 -130
- package/date-fns/src/services/dateFnsDateApi.service.d.ts.map +1 -1
- package/es2022/date-fns/src/services/dateFnsDateApi.service.js +60 -143
- package/es2022/date-fns/src/services/dateFnsDateApi.service.js.map +1 -1
- package/es2022/moment/src/services/momentDateApi.service.js +58 -140
- package/es2022/moment/src/services/momentDateApi.service.js.map +1 -1
- package/es2022/src/directives/buttonDateTimeInput/buttonDateTimeInput.directive.js +17 -30
- package/es2022/src/directives/buttonDateTimeInput/buttonDateTimeInput.directive.js.map +1 -1
- package/es2022/src/directives/datePickerInput/datePickerInput.directive.js +9 -9
- package/es2022/src/directives/datePickerInput/datePickerInput.directive.js.map +1 -1
- package/es2022/src/directives/dateTimeInputHandler/dateTimeInputHandler.directive.js +16 -26
- package/es2022/src/directives/dateTimeInputHandler/dateTimeInputHandler.directive.js.map +1 -1
- package/es2022/src/directives/dateTimePickerInput/dateTimePickerInput.directive.js +8 -8
- package/es2022/src/directives/dateTimePickerInput/dateTimePickerInput.directive.js.map +1 -1
- package/es2022/src/directives/simpleDatePickerInput/simpleDatePickerInput.directive.js +9 -9
- package/es2022/src/directives/simpleDatePickerInput/simpleDatePickerInput.directive.js.map +1 -1
- package/es2022/src/directives/simpleDateTimeInputHandler/simpleDateTimeInputHandler.directive.js +7 -11
- package/es2022/src/directives/simpleDateTimeInputHandler/simpleDateTimeInputHandler.directive.js.map +1 -1
- package/es2022/src/directives/simpleDateTimePickerInput/simpleDateTimePickerInput.directive.js +8 -8
- package/es2022/src/directives/simpleDateTimePickerInput/simpleDateTimePickerInput.directive.js.map +1 -1
- package/es2022/src/directives/withNow/withNow.directive.js +11 -11
- package/es2022/src/directives/withNow/withNow.directive.js.map +1 -1
- package/es2022/src/directives/withTime/withTime.directive.js +10 -10
- package/es2022/src/directives/withTime/withTime.directive.js.map +1 -1
- package/es2022/src/directives/withToday/withToday.directive.js +11 -11
- package/es2022/src/directives/withToday/withToday.directive.js.map +1 -1
- package/es2022/src/interfaces/dateTimeInput/dateTimeInput.interface.js.map +1 -1
- package/es2022/src/misc/enums.js +8 -4
- package/es2022/src/misc/enums.js.map +1 -1
- package/es2022/src/misc/utils.js +7 -6
- package/es2022/src/misc/utils.js.map +1 -1
- package/es2022/src/misc/validators.js.map +1 -1
- package/es2022/src/modules/calendar/components/monthCalendar/monthCalendar.component.js +36 -59
- package/es2022/src/modules/calendar/components/monthCalendar/monthCalendar.component.js.map +1 -1
- package/es2022/src/modules/calendar/directives/calendarDayTemplate/calendarDayTemplate.directive.js +5 -5
- package/es2022/src/modules/calendar/directives/calendarDayTemplate/calendarDayTemplate.directive.js.map +1 -1
- package/es2022/src/modules/calendar/modules/monthCalendar.module.js +7 -11
- package/es2022/src/modules/calendar/modules/monthCalendar.module.js.map +1 -1
- package/es2022/src/modules/calendar/services/eventParser/eventParser.service.js +3 -4
- package/es2022/src/modules/calendar/services/eventParser/eventParser.service.js.map +1 -1
- package/es2022/src/modules/datePipes.module.js +6 -6
- package/es2022/src/modules/datePipes.module.js.map +1 -1
- package/es2022/src/modules/dateTime/directives/dateTime/dateTime.directive.js +41 -72
- package/es2022/src/modules/dateTime/directives/dateTime/dateTime.directive.js.map +1 -1
- package/es2022/src/modules/dateTime/directives/dateTimeBase.js +21 -25
- package/es2022/src/modules/dateTime/directives/dateTimeBase.js.map +1 -1
- package/es2022/src/modules/dateTime/directives/dateTimeControlValueAccessor/dateTimeControlValueAccessor.directive.js +36 -16
- package/es2022/src/modules/dateTime/directives/dateTimeControlValueAccessor/dateTimeControlValueAccessor.directive.js.map +1 -1
- package/es2022/src/modules/dateTime/directives/dateTimeInput/dateTimeInput.directive.js +18 -26
- package/es2022/src/modules/dateTime/directives/dateTimeInput/dateTimeInput.directive.js.map +1 -1
- package/es2022/src/modules/dateTime/directives/dateTimeMaxValidator/dateTimeMaxValidator.directive.js +12 -13
- package/es2022/src/modules/dateTime/directives/dateTimeMaxValidator/dateTimeMaxValidator.directive.js.map +1 -1
- package/es2022/src/modules/dateTime/directives/dateTimeMinValidator/dateTimeMinValidator.directive.js +12 -13
- package/es2022/src/modules/dateTime/directives/dateTimeMinValidator/dateTimeMinValidator.directive.js.map +1 -1
- package/es2022/src/modules/dateTime/directives/dateTimeValidator/dateTimeValidator.directive.js +12 -13
- package/es2022/src/modules/dateTime/directives/dateTimeValidator/dateTimeValidator.directive.js.map +1 -1
- package/es2022/src/modules/dateTime/modules/dateTime.module.js +27 -27
- package/es2022/src/modules/dateTime/modules/dateTime.module.js.map +1 -1
- package/es2022/src/modules/dateTimePicker/components/dateTimePeriodPickerBase.js +39 -58
- package/es2022/src/modules/dateTimePicker/components/dateTimePeriodPickerBase.js.map +1 -1
- package/es2022/src/modules/dateTimePicker/components/dateTimePicker/dateTimePicker.component.js +21 -57
- package/es2022/src/modules/dateTimePicker/components/dateTimePicker/dateTimePicker.component.js.map +1 -1
- package/es2022/src/modules/dateTimePicker/components/dayPicker/dayPicker.component.js +14 -14
- package/es2022/src/modules/dateTimePicker/components/dayPicker/dayPicker.component.js.map +1 -1
- package/es2022/src/modules/dateTimePicker/components/monthPicker/monthPicker.component.js +4 -5
- package/es2022/src/modules/dateTimePicker/components/monthPicker/monthPicker.component.js.map +1 -1
- package/es2022/src/modules/dateTimePicker/components/rollerTimePicker/rollerTimePicker.component.js +27 -24
- package/es2022/src/modules/dateTimePicker/components/rollerTimePicker/rollerTimePicker.component.js.map +1 -1
- package/es2022/src/modules/dateTimePicker/components/yearPicker/yearPicker.component.js +12 -9
- package/es2022/src/modules/dateTimePicker/components/yearPicker/yearPicker.component.js.map +1 -1
- package/es2022/src/modules/dateTimePicker/directives/dateTimePicker/dateTimePicker.directive.js +11 -40
- package/es2022/src/modules/dateTimePicker/directives/dateTimePicker/dateTimePicker.directive.js.map +1 -1
- package/es2022/src/modules/dateTimePicker/directives/loopScroll/loopScroll.directive.js +40 -55
- package/es2022/src/modules/dateTimePicker/directives/loopScroll/loopScroll.directive.js.map +1 -1
- package/es2022/src/modules/dateTimePicker/directives/loopScrollData/loopScrollData.directive.js +8 -14
- package/es2022/src/modules/dateTimePicker/directives/loopScrollData/loopScrollData.directive.js.map +1 -1
- package/es2022/src/modules/dateTimePicker/interfaces/periodData/periodData.interface.js.map +1 -1
- package/es2022/src/modules/dateTimePicker/modules/dateTimePicker.module.js +9 -10
- package/es2022/src/modules/dateTimePicker/modules/dateTimePicker.module.js.map +1 -1
- package/es2022/src/pipes/dateConvert.pipe.js +4 -5
- package/es2022/src/pipes/dateConvert.pipe.js.map +1 -1
- package/es2022/src/pipes/dateFormat.pipe.js +4 -6
- package/es2022/src/pipes/dateFormat.pipe.js.map +1 -1
- package/es2022/src/services/dateApi/dateApi.interface.js.map +1 -1
- package/es2022/src/services/datePositionParser/datePositionParser.service.js +16 -17
- package/es2022/src/services/datePositionParser/datePositionParser.service.js.map +1 -1
- package/es2022/src/services/dateTimeRelativeParser/dateTimeRelativeParser.service.js +3 -9
- package/es2022/src/services/dateTimeRelativeParser/dateTimeRelativeParser.service.js.map +1 -1
- package/es2022/src/services/dateValueProvider/dateValueProvider.service.js +3 -5
- package/es2022/src/services/dateValueProvider/dateValueProvider.service.js.map +1 -1
- package/lerna.json +4 -0
- package/moment/src/services/momentDateApi.service.d.ts +59 -132
- package/moment/src/services/momentDateApi.service.d.ts.map +1 -1
- package/package.json +41 -43
- package/src/directives/buttonDateTimeInput/buttonDateTimeInput.directive.d.ts +3 -3
- package/src/directives/buttonDateTimeInput/buttonDateTimeInput.directive.d.ts.map +1 -1
- package/src/directives/datePickerInput/datePickerInput.directive.d.ts +3 -3
- package/src/directives/datePickerInput/datePickerInput.directive.d.ts.map +1 -1
- package/src/directives/dateTimeInputHandler/dateTimeInputHandler.directive.d.ts +7 -7
- package/src/directives/dateTimeInputHandler/dateTimeInputHandler.directive.d.ts.map +1 -1
- package/src/directives/dateTimePickerInput/dateTimePickerInput.directive.d.ts +3 -3
- package/src/directives/dateTimePickerInput/dateTimePickerInput.directive.d.ts.map +1 -1
- package/src/directives/simpleDatePickerInput/simpleDatePickerInput.directive.d.ts +3 -3
- package/src/directives/simpleDatePickerInput/simpleDatePickerInput.directive.d.ts.map +1 -1
- package/src/directives/simpleDateTimeInputHandler/simpleDateTimeInputHandler.directive.d.ts +7 -7
- package/src/directives/simpleDateTimeInputHandler/simpleDateTimeInputHandler.directive.d.ts.map +1 -1
- package/src/directives/simpleDateTimePickerInput/simpleDateTimePickerInput.directive.d.ts +3 -3
- package/src/directives/simpleDateTimePickerInput/simpleDateTimePickerInput.directive.d.ts.map +1 -1
- package/src/directives/withNow/withNow.directive.d.ts +5 -5
- package/src/directives/withNow/withNow.directive.d.ts.map +1 -1
- package/src/directives/withTime/withTime.directive.d.ts +5 -5
- package/src/directives/withTime/withTime.directive.d.ts.map +1 -1
- package/src/directives/withToday/withToday.directive.d.ts +5 -5
- package/src/directives/withToday/withToday.directive.d.ts.map +1 -1
- package/src/interfaces/dateTimeInput/dateTimeInput.interface.d.ts +1 -1
- package/src/misc/enums.d.ts +8 -4
- package/src/misc/enums.d.ts.map +1 -1
- package/src/misc/utils.d.ts +3 -3
- package/src/misc/utils.d.ts.map +1 -1
- package/src/modules/calendar/components/monthCalendar/monthCalendar.component.d.ts +1 -1
- package/src/modules/calendar/components/monthCalendar/monthCalendar.component.d.ts.map +1 -1
- package/src/modules/calendar/components/monthCalendar/monthCalendar.component.html +17 -9
- package/src/modules/calendar/directives/calendarDayTemplate/calendarDayTemplate.directive.d.ts +1 -1
- package/src/modules/calendar/directives/calendarDayTemplate/calendarDayTemplate.directive.d.ts.map +1 -1
- package/src/modules/calendar/modules/monthCalendar.module.d.ts +3 -4
- package/src/modules/calendar/modules/monthCalendar.module.d.ts.map +1 -1
- package/src/modules/datePipes.module.d.ts +1 -1
- package/src/modules/dateTime/directives/dateTime/dateTime.directive.d.ts +3 -3
- package/src/modules/dateTime/directives/dateTime/dateTime.directive.d.ts.map +1 -1
- package/src/modules/dateTime/directives/dateTimeBase.d.ts +3 -3
- package/src/modules/dateTime/directives/dateTimeBase.d.ts.map +1 -1
- package/src/modules/dateTime/directives/dateTimeControlValueAccessor/dateTimeControlValueAccessor.directive.d.ts +6 -4
- package/src/modules/dateTime/directives/dateTimeControlValueAccessor/dateTimeControlValueAccessor.directive.d.ts.map +1 -1
- package/src/modules/dateTime/directives/dateTimeInput/dateTimeInput.directive.d.ts +3 -3
- package/src/modules/dateTime/directives/dateTimeInput/dateTimeInput.directive.d.ts.map +1 -1
- package/src/modules/dateTime/directives/dateTimeMaxValidator/dateTimeMaxValidator.directive.d.ts +3 -3
- package/src/modules/dateTime/directives/dateTimeMaxValidator/dateTimeMaxValidator.directive.d.ts.map +1 -1
- package/src/modules/dateTime/directives/dateTimeMinValidator/dateTimeMinValidator.directive.d.ts +3 -3
- package/src/modules/dateTime/directives/dateTimeMinValidator/dateTimeMinValidator.directive.d.ts.map +1 -1
- package/src/modules/dateTime/directives/dateTimeValidator/dateTimeValidator.directive.d.ts +3 -3
- package/src/modules/dateTime/directives/dateTimeValidator/dateTimeValidator.directive.d.ts.map +1 -1
- package/src/modules/dateTime/modules/dateTime.module.d.ts +1 -1
- package/src/modules/dateTimePicker/components/dateTimePicker/dateTimePicker.component.d.ts +4 -4
- package/src/modules/dateTimePicker/components/dateTimePicker/dateTimePicker.component.d.ts.map +1 -1
- package/src/modules/dateTimePicker/components/dateTimePicker/dateTimePicker.component.html +1 -1
- package/src/modules/dateTimePicker/components/dayPicker/dayPicker.component.d.ts +3 -3
- package/src/modules/dateTimePicker/components/dayPicker/dayPicker.component.d.ts.map +1 -1
- package/src/modules/dateTimePicker/components/monthPicker/monthPicker.component.d.ts +3 -3
- package/src/modules/dateTimePicker/components/monthPicker/monthPicker.component.d.ts.map +1 -1
- package/src/modules/dateTimePicker/components/rollerTimePicker/rollerTimePicker.component.d.ts +3 -3
- package/src/modules/dateTimePicker/components/rollerTimePicker/rollerTimePicker.component.d.ts.map +1 -1
- package/src/modules/dateTimePicker/components/yearPicker/yearPicker.component.d.ts +3 -3
- package/src/modules/dateTimePicker/components/yearPicker/yearPicker.component.d.ts.map +1 -1
- package/src/modules/dateTimePicker/directives/dateTimePicker/dateTimePicker.directive.d.ts +5 -5
- package/src/modules/dateTimePicker/directives/dateTimePicker/dateTimePicker.directive.d.ts.map +1 -1
- package/src/modules/dateTimePicker/directives/loopScroll/loopScroll.directive.d.ts +7 -7
- package/src/modules/dateTimePicker/directives/loopScroll/loopScroll.directive.d.ts.map +1 -1
- package/src/modules/dateTimePicker/directives/loopScrollData/loopScrollData.directive.d.ts +3 -3
- package/src/modules/dateTimePicker/directives/loopScrollData/loopScrollData.directive.d.ts.map +1 -1
- package/src/modules/dateTimePicker/interfaces/periodData/periodData.interface.d.ts.map +1 -1
- package/src/modules/dateTimePicker/modules/dateTimePicker.module.d.ts +3 -3
- package/src/modules/dateTimePicker/modules/dateTimePicker.module.d.ts.map +1 -1
- package/src/pipes/dateConvert.pipe.d.ts +1 -1
- package/src/pipes/dateFormat.pipe.d.ts +1 -1
- package/src/services/dateApi/dateApi.interface.d.ts +5 -1
- package/src/services/dateApi/dateApi.interface.d.ts.map +1 -1
- package/src/services/dateValueProvider/dateValueProvider.service.d.ts.map +1 -1
- package/version.bak +1 -1
|
@@ -7,7 +7,7 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
/**
|
|
8
8
|
* Directive that is used for setting up date time input for button
|
|
9
9
|
*/
|
|
10
|
-
export declare class
|
|
10
|
+
export declare class ButtonDateTimeInputDirective<TDate = unknown> extends DateTimeBase<TDate> implements DateTimeInput, OnDestroy {
|
|
11
11
|
protected elementRef: ElementRef<HTMLButtonElement>;
|
|
12
12
|
protected dateApi: DateApi<TDate>;
|
|
13
13
|
protected valueProvider: DateValueProvider<TDate>;
|
|
@@ -61,7 +61,7 @@ export declare class ButtonDateTimeInputSADirective<TDate = unknown> extends Dat
|
|
|
61
61
|
* @param event - Event that occured
|
|
62
62
|
*/
|
|
63
63
|
protected handleBlur(event: FocusEvent): void;
|
|
64
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
65
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
64
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonDateTimeInputDirective<any>, never>;
|
|
65
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ButtonDateTimeInputDirective<any>, "button[dateTime][dateTimeInput],a[dateTime][dateTimeInput]", ["dateTime"], { "value": { "alias": "value"; "required": false; }; }, {}, never, never, true, never>;
|
|
66
66
|
}
|
|
67
67
|
//# sourceMappingURL=buttonDateTimeInput.directive.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buttonDateTimeInput.directive.d.ts","sourceRoot":"","sources":["buttonDateTimeInput.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,UAAU,EAAE,YAAY,EAA+C,SAAS,EAAC,MAAM,eAAe,CAAC;AAI1H,OAAO,EAAC,YAAY,EAAC,MAAM,gDAAgD,CAAC;AAC5E,OAAO,EAAC,aAAa,EAAC,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAC,wBAAwB,EAAE,mBAAmB,EAAC,MAAM,kBAAkB,CAAC;AAE/E,OAAO,EAAC,OAAO,EAAE,iBAAiB,EAAC,MAAM,gBAAgB,CAAC;;AAE1D;;GAEG;AACH,qBAca,
|
|
1
|
+
{"version":3,"file":"buttonDateTimeInput.directive.d.ts","sourceRoot":"","sources":["buttonDateTimeInput.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,UAAU,EAAE,YAAY,EAA+C,SAAS,EAAC,MAAM,eAAe,CAAC;AAI1H,OAAO,EAAC,YAAY,EAAC,MAAM,gDAAgD,CAAC;AAC5E,OAAO,EAAC,aAAa,EAAC,MAAM,kBAAkB,CAAC;AA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GG;IACH,SAAS,CAAC,gBAAgB,CAAC,KAAK,EAAE,wBAAwB,CAAC,KAAK,CAAC,GAAC,SAAS,GAAC,IAAI,GAAG,IAAI;IAKvF;;;OAGG;IAEH,SAAS,CAAC,WAAW,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI;IAK9C;;;OAGG;IAEH,SAAS,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI;yCA5HpC,4BAA4B;2CAA5B,4BAA4B;CAgIxC"}
|
|
@@ -5,8 +5,8 @@ import * as i3 from "../dateTimeInputHandler/dateTimeInputHandler.directive";
|
|
|
5
5
|
/**
|
|
6
6
|
* Directive that combines date picker with date input
|
|
7
7
|
*/
|
|
8
|
-
export declare class
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
10
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
8
|
+
export declare class DatePickerInputDirective {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerInputDirective, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DatePickerInputDirective, "input[dateTime][datePickerInput]", never, {}, {}, never, never, true, [{ directive: typeof i1.DateTimePickerDirective; inputs: { "withPickerOptions": "withPickerOptions"; "pickerOptions": "pickerOptions"; }; outputs: {}; }, { directive: typeof i2.DateTimeInputDirective; inputs: {}; outputs: {}; }, { directive: typeof i3.DateTimeInputHandlerDirective; inputs: {}; outputs: {}; }]>;
|
|
11
11
|
}
|
|
12
12
|
//# sourceMappingURL=datePickerInput.directive.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"datePickerInput.directive.d.ts","sourceRoot":"","sources":["datePickerInput.directive.ts"],"names":[],"mappings":";;;;AAKA;;GAEG;AACH,qBAsBa,
|
|
1
|
+
{"version":3,"file":"datePickerInput.directive.d.ts","sourceRoot":"","sources":["datePickerInput.directive.ts"],"names":[],"mappings":";;;;AAKA;;GAEG;AACH,qBAsBa,wBAAwB;yCAAxB,wBAAwB;2CAAxB,wBAAwB;CAEpC"}
|
|
@@ -3,19 +3,19 @@ import { Action1 } from '@jscrpt/common';
|
|
|
3
3
|
import { Subscription } from 'rxjs';
|
|
4
4
|
import { DateTimeInput } from '../../interfaces';
|
|
5
5
|
import { DateTimeObjectValue } from '../../misc/types';
|
|
6
|
-
import {
|
|
6
|
+
import { DateTimePickerDirective, DateTimeDirective } from '../../modules';
|
|
7
7
|
import { DateApi, DateApiObject, DatePositionParser, DatePositionParserService, DateValueProvider } from '../../services';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
/**
|
|
10
10
|
* Directive that adds handler for date time input, which allows navigation using keyboard and checking restriction of value
|
|
11
11
|
*/
|
|
12
|
-
export declare class
|
|
12
|
+
export declare class DateTimeInputHandlerDirective<TDate = unknown> implements OnInit, OnDestroy {
|
|
13
13
|
protected input: DateTimeInput<TDate>;
|
|
14
14
|
protected dateApi: DateApi<TDate>;
|
|
15
|
-
protected dateTimeData:
|
|
15
|
+
protected dateTimeData: DateTimeDirective<TDate>;
|
|
16
16
|
protected parserSvc: DatePositionParserService;
|
|
17
17
|
protected valueProvider: DateValueProvider<TDate>;
|
|
18
|
-
protected picker?:
|
|
18
|
+
protected picker?: DateTimePickerDirective<TDate> | undefined;
|
|
19
19
|
/**
|
|
20
20
|
* Subscriptions created during initialization
|
|
21
21
|
*/
|
|
@@ -28,7 +28,7 @@ export declare class DateTimeInputHandlerSADirective<TDate = unknown> implements
|
|
|
28
28
|
* Gets input element as html input
|
|
29
29
|
*/
|
|
30
30
|
protected get inputElement(): HTMLInputElement;
|
|
31
|
-
constructor(input: DateTimeInput<TDate>, dateApi: DateApi<TDate>, dateTimeData:
|
|
31
|
+
constructor(input: DateTimeInput<TDate>, dateApi: DateApi<TDate>, dateTimeData: DateTimeDirective<TDate>, parserSvc: DatePositionParserService, valueProvider: DateValueProvider<TDate>, picker?: DateTimePickerDirective<TDate> | undefined);
|
|
32
32
|
/**
|
|
33
33
|
* Initialize component
|
|
34
34
|
*/
|
|
@@ -80,7 +80,7 @@ export declare class DateTimeInputHandlerSADirective<TDate = unknown> implements
|
|
|
80
80
|
* @param increment - Indication whether value should be incremented or decremented
|
|
81
81
|
*/
|
|
82
82
|
protected stepChangeValue(value: DateApiObject<TDate>, part: string, increment: boolean): void;
|
|
83
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
84
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
83
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateTimeInputHandlerDirective<any>, [null, null, null, null, null, { optional: true; }]>;
|
|
84
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DateTimeInputHandlerDirective<any>, "[dateTime][withHandler]", never, {}, {}, never, never, true, never>;
|
|
85
85
|
}
|
|
86
86
|
//# sourceMappingURL=dateTimeInputHandler.directive.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dateTimeInputHandler.directive.d.ts","sourceRoot":"","sources":["dateTimeInputHandler.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,SAAS,EAAE,MAAM,EAAW,MAAM,eAAe,CAAC;AAC7E,OAAO,EAAC,OAAO,EAAW,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAC,YAAY,EAAC,MAAM,MAAM,CAAC;AAElC,OAAO,EAAC,aAAa,EAAC,MAAM,kBAAkB,CAAC;AAE/C,OAAO,EAAC,mBAAmB,EAAC,MAAM,kBAAkB,CAAC;AAErD,OAAO,EAAC,
|
|
1
|
+
{"version":3,"file":"dateTimeInputHandler.directive.d.ts","sourceRoot":"","sources":["dateTimeInputHandler.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,SAAS,EAAE,MAAM,EAAW,MAAM,eAAe,CAAC;AAC7E,OAAO,EAAC,OAAO,EAAW,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAC,YAAY,EAAC,MAAM,MAAM,CAAC;AAElC,OAAO,EAA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,IAAI;IAmB9B;;OAEG;IAEH,SAAS,CAAC,WAAW,IAAI,IAAI;IAe7B;;;OAGG;IAEH,SAAS,CAAC,cAAc,CAAC,KAAK,EAAE,aAAa,GAAG,IAAI;IA0BpD;;;OAGG;IAEH,SAAS,CAAC,cAAc,CAAC,KAAK,EAAE,aAAa,GAAG,IAAI;IAiGpD;;;OAGG;IACH,SAAS,CAAC,oBAAoB,CAAC,KAAK,EAAE,aAAa,CAAC,KAAK,CAAC,GAAG,OAAO;IAMpE;;;;OAIG;IACH,SAAS,CAAC,oBAAoB,CAAC,KAAK,EAAE,aAAa,CAAC,KAAK,CAAC,EAAE,IAAI,EAAE,MAAM,IAAI,GAAG,IAAI;IAoBnF;;;;;OAKG;IACH,SAAS,CAAC,YAAY,CAAC,eAAe,EAAE,OAAO,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,EAAE,cAAc,EAAE,OAAO,CAAC,CAAC,aAAa,CAAC,KAAK,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC,EAAE,kBAAkB,CAAC,EAAE,mBAAmB,CAAC,KAAK,CAAC,GAAC,SAAS,GAAC,IAAI,GAAG,IAAI;IAyBjO;;;;;OAKG;IACH,SAAS,CAAC,eAAe,CAAC,KAAK,EAAE,aAAa,CAAC,KAAK,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,GAAG,IAAI;yCA3TrF,6BAA6B;2CAA7B,6BAA6B;CA2WzC"}
|
|
@@ -4,8 +4,8 @@ import * as i2 from "../withTime/withTime.directive";
|
|
|
4
4
|
/**
|
|
5
5
|
* Directive that combines date time picker with date time input
|
|
6
6
|
*/
|
|
7
|
-
export declare class
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
9
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
7
|
+
export declare class DateTimePickerInputDirective {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateTimePickerInputDirective, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DateTimePickerInputDirective, "input[dateTime][dateTimePickerInput]", never, {}, {}, never, never, true, [{ directive: typeof i1.DatePickerInputDirective; inputs: {}; outputs: {}; }, { directive: typeof i2.WithTimeDirective; inputs: {}; outputs: {}; }]>;
|
|
10
10
|
}
|
|
11
11
|
//# sourceMappingURL=dateTimePickerInput.directive.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dateTimePickerInput.directive.d.ts","sourceRoot":"","sources":["dateTimePickerInput.directive.ts"],"names":[],"mappings":";;;AAKA;;GAEG;AACH,qBAca,
|
|
1
|
+
{"version":3,"file":"dateTimePickerInput.directive.d.ts","sourceRoot":"","sources":["dateTimePickerInput.directive.ts"],"names":[],"mappings":";;;AAKA;;GAEG;AACH,qBAca,4BAA4B;yCAA5B,4BAA4B;2CAA5B,4BAA4B;CAExC"}
|
|
@@ -5,8 +5,8 @@ import * as i3 from "../simpleDateTimeInputHandler/simpleDateTimeInputHandler.di
|
|
|
5
5
|
/**
|
|
6
6
|
* Directive that combines date picker with simple date input
|
|
7
7
|
*/
|
|
8
|
-
export declare class
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
10
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
8
|
+
export declare class SimpleDatePickerInputDirective {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SimpleDatePickerInputDirective, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SimpleDatePickerInputDirective, "input[dateTime][simpleDatePickerInput]", never, {}, {}, never, never, true, [{ directive: typeof i1.DateTimePickerDirective; inputs: { "withPickerOptions": "withPickerOptions"; "pickerOptions": "pickerOptions"; }; outputs: {}; }, { directive: typeof i2.DateTimeInputDirective; inputs: {}; outputs: {}; }, { directive: typeof i3.SimpleDateTimeInputHandlerDirective; inputs: {}; outputs: {}; }]>;
|
|
11
11
|
}
|
|
12
12
|
//# sourceMappingURL=simpleDatePickerInput.directive.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"simpleDatePickerInput.directive.d.ts","sourceRoot":"","sources":["simpleDatePickerInput.directive.ts"],"names":[],"mappings":";;;;AAKA;;GAEG;AACH,qBAsBa,
|
|
1
|
+
{"version":3,"file":"simpleDatePickerInput.directive.d.ts","sourceRoot":"","sources":["simpleDatePickerInput.directive.ts"],"names":[],"mappings":";;;;AAKA;;GAEG;AACH,qBAsBa,8BAA8B;yCAA9B,8BAA8B;2CAA9B,8BAA8B;CAE1C"}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { DateTimeInput } from '../../interfaces';
|
|
3
|
-
import {
|
|
3
|
+
import { DateTimePickerDirective, DateTimeDirective } from '../../modules';
|
|
4
4
|
import { DateApi, DateApiObject } from '../../services';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
/**
|
|
7
7
|
* Directive that adds simple handler for date time input, which allows simple navigation using keyboard
|
|
8
8
|
*/
|
|
9
|
-
export declare class
|
|
9
|
+
export declare class SimpleDateTimeInputHandlerDirective<TDate = unknown> implements OnInit, OnDestroy {
|
|
10
10
|
protected input: DateTimeInput<TDate>;
|
|
11
11
|
protected dateApi: DateApi<TDate>;
|
|
12
|
-
protected dateTimeData:
|
|
13
|
-
protected picker?:
|
|
14
|
-
constructor(input: DateTimeInput<TDate>, dateApi: DateApi<TDate>, dateTimeData:
|
|
12
|
+
protected dateTimeData: DateTimeDirective<TDate>;
|
|
13
|
+
protected picker?: DateTimePickerDirective<TDate> | undefined;
|
|
14
|
+
constructor(input: DateTimeInput<TDate>, dateApi: DateApi<TDate>, dateTimeData: DateTimeDirective<TDate>, picker?: DateTimePickerDirective<TDate> | undefined);
|
|
15
15
|
/**
|
|
16
16
|
* Initialize component
|
|
17
17
|
*/
|
|
@@ -36,7 +36,7 @@ export declare class SimpleDateTimeInputHandlerSADirective<TDate = unknown> impl
|
|
|
36
36
|
* @param code - Code that should be executed which can change current value
|
|
37
37
|
*/
|
|
38
38
|
protected withMinMaxConstraint(value: DateApiObject<TDate>, code: () => void): void;
|
|
39
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
40
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SimpleDateTimeInputHandlerDirective<any>, [null, null, null, { optional: true; }]>;
|
|
40
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SimpleDateTimeInputHandlerDirective<any>, "[dateTime][withSimpleHandler]", never, {}, {}, never, never, true, never>;
|
|
41
41
|
}
|
|
42
42
|
//# sourceMappingURL=simpleDateTimeInputHandler.directive.d.ts.map
|
package/src/directives/simpleDateTimeInputHandler/simpleDateTimeInputHandler.directive.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"simpleDateTimeInputHandler.directive.d.ts","sourceRoot":"","sources":["simpleDateTimeInputHandler.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,SAAS,EAAE,MAAM,EAAW,MAAM,eAAe,CAAC;AAG7E,OAAO,EAAC,aAAa,EAAC,MAAM,kBAAkB,CAAC;AAG/C,OAAO,EAAC,
|
|
1
|
+
{"version":3,"file":"simpleDateTimeInputHandler.directive.d.ts","sourceRoot":"","sources":["simpleDateTimeInputHandler.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,SAAS,EAAE,MAAM,EAAW,MAAM,eAAe,CAAC;AAG7E,OAAO,EAAC,aAAa,EAAC,MAAM,kBAAkB,CAAC;AAG/C,OAAO,EAAC,uBAAuB,EAAE,iBAAiB,EAAC,MAAM,eAAe,CAAC;AACzE,OAAO,EAAC,OAAO,EAAE,aAAa,EAAC,MAAM,gBAAgB,CAAC;;AAEtD;;GAEG;AACH,qBAKa,mCAAmC,CAAC,KAAK,GAAG,OAAO,CAAE,YAAW,MAAM,EAAE,SAAS;IAGrD,SAAS,CAAC,KAAK,EAAE,aAAa,CAAC,KAAK,CAAC;IAC5C,SAAS,CAAC,OAAO,EAAE,OAAO,CAAC,KAAK,CAAC;IACnD,SAAS,CAAC,YAAY,EAAE,iBAAiB,CAAC,KAAK,CAAC;IACpC,SAAS,CAAC,MAAM,CAAC,EAAE,uBAAuB,CAAC,KAAK,CAAC;gBAH1B,KAAK,EAAE,aAAa,CAAC,KAAK,CAAC,EAClC,OAAO,EAAE,OAAO,CAAC,KAAK,CAAC,EACzC,YAAY,EAAE,iBAAiB,CAAC,KAAK,CAAC,EAC1B,MAAM,CAAC,EAAE,uBAAuB,CAAC,KAAK,CAAC,YAAA;IAMzE;;OAEG;IACI,QAAQ,IAAI,IAAI;IAOvB;;OAEG;IACI,WAAW,IAAI,IAAI;IAO1B;;;OAGG;IAEI,cAAc,CAAC,KAAK,EAAE,aAAa,GAAG,IAAI;IAgEjD;;;OAGG;IACH,SAAS,CAAC,oBAAoB,CAAC,KAAK,EAAE,aAAa,CAAC,KAAK,CAAC,GAAG,OAAO;IAMpE;;;;OAIG;IACH,SAAS,CAAC,oBAAoB,CAAC,KAAK,EAAE,aAAa,CAAC,KAAK,CAAC,EAAE,IAAI,EAAE,MAAM,IAAI,GAAG,IAAI;yCApH1E,mCAAmC;2CAAnC,mCAAmC;CAuI/C"}
|
|
@@ -4,8 +4,8 @@ import * as i2 from "../withTime/withTime.directive";
|
|
|
4
4
|
/**
|
|
5
5
|
* Directive that combines date time picker with simple date time input
|
|
6
6
|
*/
|
|
7
|
-
export declare class
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
9
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
7
|
+
export declare class SimpleDateTimePickerInputDirective {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SimpleDateTimePickerInputDirective, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SimpleDateTimePickerInputDirective, "input[dateTime][simpleDateTimePickerInput]", never, {}, {}, never, never, true, [{ directive: typeof i1.SimpleDatePickerInputDirective; inputs: {}; outputs: {}; }, { directive: typeof i2.WithTimeDirective; inputs: {}; outputs: {}; }]>;
|
|
10
10
|
}
|
|
11
11
|
//# sourceMappingURL=simpleDateTimePickerInput.directive.d.ts.map
|
package/src/directives/simpleDateTimePickerInput/simpleDateTimePickerInput.directive.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"simpleDateTimePickerInput.directive.d.ts","sourceRoot":"","sources":["simpleDateTimePickerInput.directive.ts"],"names":[],"mappings":";;;AAKA;;GAEG;AACH,qBAca,
|
|
1
|
+
{"version":3,"file":"simpleDateTimePickerInput.directive.d.ts","sourceRoot":"","sources":["simpleDateTimePickerInput.directive.ts"],"names":[],"mappings":";;;AAKA;;GAEG;AACH,qBAca,kCAAkC;yCAAlC,kCAAkC;2CAAlC,kCAAkC;CAE9C"}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { OnDestroy } from '@angular/core';
|
|
2
2
|
import { Subscription } from 'rxjs';
|
|
3
|
-
import {
|
|
3
|
+
import { DateTimeInputDirective } from '../../modules';
|
|
4
4
|
import { DateApi } from '../../services';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
/**
|
|
7
7
|
* Directive that sets current date and time as day and time for empty date time on focus
|
|
8
8
|
*/
|
|
9
|
-
export declare class
|
|
9
|
+
export declare class WithNowDirective<TDate = unknown> implements OnDestroy {
|
|
10
10
|
/**
|
|
11
11
|
* Subscriptions created during initialization
|
|
12
12
|
*/
|
|
13
13
|
protected initSubscriptions: Subscription;
|
|
14
|
-
constructor(input:
|
|
14
|
+
constructor(input: DateTimeInputDirective<TDate>, dateApi: DateApi<TDate>);
|
|
15
15
|
/**
|
|
16
16
|
* Called when component is destroyed
|
|
17
17
|
*/
|
|
18
18
|
ngOnDestroy(): void;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
20
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WithNowDirective<any>, never>;
|
|
20
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<WithNowDirective<any>, "[dateTime][withNow]", never, {}, {}, never, never, true, never>;
|
|
21
21
|
}
|
|
22
22
|
//# sourceMappingURL=withNow.directive.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"withNow.directive.d.ts","sourceRoot":"","sources":["withNow.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,SAAS,EAAC,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAC,YAAY,EAAC,MAAM,MAAM,CAAC;AAGlC,OAAO,EAAC,
|
|
1
|
+
{"version":3,"file":"withNow.directive.d.ts","sourceRoot":"","sources":["withNow.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,SAAS,EAAC,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAC,YAAY,EAAC,MAAM,MAAM,CAAC;AAGlC,OAAO,EAAC,sBAAsB,EAAC,MAAM,eAAe,CAAC;AACrD,OAAO,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;;AAEvC;;GAEG;AACH,qBAKa,gBAAgB,CAAC,KAAK,GAAG,OAAO,CAAE,YAAW,SAAS;IAI/D;;OAEG;IACH,SAAS,CAAC,iBAAiB,EAAE,YAAY,CAAsB;gBAGnD,KAAK,EAAE,sBAAsB,CAAC,KAAK,CAAC,EAClB,OAAO,EAAE,OAAO,CAAC,KAAK,CAAC;IAarD;;OAEG;IACI,WAAW,IAAI,IAAI;yCA3BjB,gBAAgB;2CAAhB,gBAAgB;CA+B5B"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DateTimePickerDirective, DateTimeDirective } from '../../modules';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
/**
|
|
4
4
|
* Directive that sets up usage of date time picker to use time format and time picker
|
|
5
5
|
*/
|
|
6
|
-
export declare class
|
|
7
|
-
constructor(picker:
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
9
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
6
|
+
export declare class WithTimeDirective<TDate = unknown> {
|
|
7
|
+
constructor(picker: DateTimePickerDirective<TDate>, dateTime: DateTimeDirective<TDate>);
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WithTimeDirective<any>, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<WithTimeDirective<any>, "[dateTime][withPicker][withTime]", never, {}, {}, never, never, true, never>;
|
|
10
10
|
}
|
|
11
11
|
//# sourceMappingURL=withTime.directive.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"withTime.directive.d.ts","sourceRoot":"","sources":["withTime.directive.ts"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"withTime.directive.d.ts","sourceRoot":"","sources":["withTime.directive.ts"],"names":[],"mappings":"AAEA,OAAO,EAA4B,uBAAuB,EAAiE,iBAAiB,EAAC,MAAM,eAAe,CAAC;;AAEnK;;GAEG;AACH,qBAKa,iBAAiB,CAAC,KAAK,GAAG,OAAO;gBAG9B,MAAM,EAAE,uBAAuB,CAAC,KAAK,CAAC,EACtC,QAAQ,EAAE,iBAAiB,CAAC,KAAK,CAAC;yCAJrC,iBAAiB;2CAAjB,iBAAiB;CAmB7B"}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { OnDestroy } from '@angular/core';
|
|
2
2
|
import { Subscription } from 'rxjs';
|
|
3
|
-
import {
|
|
3
|
+
import { DateTimeInputDirective } from '../../modules';
|
|
4
4
|
import { DateApi } from '../../services';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
/**
|
|
7
7
|
* Directive that sets today (start of a day) as day for empty date time on focus
|
|
8
8
|
*/
|
|
9
|
-
export declare class
|
|
9
|
+
export declare class WithTodayDirective<TDate = unknown> implements OnDestroy {
|
|
10
10
|
/**
|
|
11
11
|
* Subscriptions created during initialization
|
|
12
12
|
*/
|
|
13
13
|
protected initSubscriptions: Subscription;
|
|
14
|
-
constructor(input:
|
|
14
|
+
constructor(input: DateTimeInputDirective<TDate>, dateApi: DateApi<TDate>);
|
|
15
15
|
/**
|
|
16
16
|
* Called when component is destroyed
|
|
17
17
|
*/
|
|
18
18
|
ngOnDestroy(): void;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
20
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WithTodayDirective<any>, never>;
|
|
20
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<WithTodayDirective<any>, "[dateTime][withToday]", never, {}, {}, never, never, true, never>;
|
|
21
21
|
}
|
|
22
22
|
//# sourceMappingURL=withToday.directive.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"withToday.directive.d.ts","sourceRoot":"","sources":["withToday.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,SAAS,EAAC,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAC,YAAY,EAAC,MAAM,MAAM,CAAC;AAGlC,OAAO,EAAC,
|
|
1
|
+
{"version":3,"file":"withToday.directive.d.ts","sourceRoot":"","sources":["withToday.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,SAAS,EAAC,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAC,YAAY,EAAC,MAAM,MAAM,CAAC;AAGlC,OAAO,EAAC,sBAAsB,EAAC,MAAM,eAAe,CAAC;AACrD,OAAO,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;;AAEvC;;GAEG;AACH,qBAKa,kBAAkB,CAAC,KAAK,GAAG,OAAO,CAAE,YAAW,SAAS;IAIjE;;OAEG;IACH,SAAS,CAAC,iBAAiB,EAAE,YAAY,CAAsB;gBAGnD,KAAK,EAAE,sBAAsB,CAAC,KAAK,CAAC,EAClB,OAAO,EAAE,OAAO,CAAC,KAAK,CAAC;IAarD;;OAEG;IACI,WAAW,IAAI,IAAI;yCA3BjB,kBAAkB;2CAAlB,kBAAkB;CA+B9B"}
|
|
@@ -5,7 +5,7 @@ import { DateTimeInputOutputValue } from '../../misc/types';
|
|
|
5
5
|
*/
|
|
6
6
|
export interface DateTimeInputValue<TDate = unknown> {
|
|
7
7
|
/**
|
|
8
|
-
* Current value of date time, could be string,
|
|
8
|
+
* Current value of date time, could be string, timestamp, Date, TDate object, or ranged DateTimeValue
|
|
9
9
|
*/
|
|
10
10
|
value: DateTimeInputOutputValue<TDate> | undefined | null;
|
|
11
11
|
/**
|
package/src/misc/enums.d.ts
CHANGED
|
@@ -7,20 +7,24 @@ export declare enum DateTimeValueFormat {
|
|
|
7
7
|
*/
|
|
8
8
|
DateInstance = 0,
|
|
9
9
|
/**
|
|
10
|
-
* Numeric unix timestamp in
|
|
10
|
+
* Numeric unix timestamp in seconds (only works for ControlValueAccessor, internally its Timestamp)
|
|
11
11
|
*/
|
|
12
12
|
UnixTimestamp = 1,
|
|
13
|
+
/**
|
|
14
|
+
* Numeric timestamp in miliseconds
|
|
15
|
+
*/
|
|
16
|
+
Timestamp = 2,
|
|
13
17
|
/**
|
|
14
18
|
* Formatted date as string value, same string as displayed string
|
|
15
19
|
*/
|
|
16
|
-
FormattedString =
|
|
20
|
+
FormattedString = 3,
|
|
17
21
|
/**
|
|
18
22
|
* Formatted date as string value, custom string format for date time value, different from displayed string format
|
|
19
23
|
*/
|
|
20
|
-
DataString =
|
|
24
|
+
DataString = 4,
|
|
21
25
|
/**
|
|
22
26
|
* Range of date instances from, to
|
|
23
27
|
*/
|
|
24
|
-
RangeOfDateInstances =
|
|
28
|
+
RangeOfDateInstances = 5
|
|
25
29
|
}
|
|
26
30
|
//# sourceMappingURL=enums.d.ts.map
|
package/src/misc/enums.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["enums.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,mBAAmB;IAE3B;;OAEG;IACH,YAAY,IAAA;IAEZ;;OAEG;IACH,aAAa,IAAA;IAEb;;OAEG;IACH,eAAe,IAAA;IAEf;;OAEG;IACH,UAAU,IAAA;IAEV;;OAEG;IACH,oBAAoB,IAAA;CACvB"}
|
|
1
|
+
{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["enums.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,mBAAmB;IAE3B;;OAEG;IACH,YAAY,IAAA;IAEZ;;OAEG;IACH,aAAa,IAAA;IAEb;;OAEG;IACH,SAAS,IAAA;IAET;;OAEG;IACH,eAAe,IAAA;IAEf;;OAEG;IACH,UAAU,IAAA;IAEV;;OAEG;IACH,oBAAoB,IAAA;CACvB"}
|
package/src/misc/utils.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DateTimeValue } from '../interfaces';
|
|
2
|
-
import type {
|
|
2
|
+
import type { DateTimeDirective } from '../modules/dateTime/directives/dateTime/dateTime.directive';
|
|
3
3
|
import { DateApi, DateValue, DateValueProvider } from '../services';
|
|
4
4
|
import { DateTimeValueFormat } from './enums';
|
|
5
5
|
import { DateTimeInputOutputValue, DateTimeObjectValue } from './types';
|
|
@@ -37,7 +37,7 @@ export declare function getSingleDateTimeValue<TDate>(value: DateTimeInputOutput
|
|
|
37
37
|
* @param dateTimeData - Object storing information about format
|
|
38
38
|
* @param valueProvider - Provider used for obtaining rounded value according format
|
|
39
39
|
*/
|
|
40
|
-
export declare function parseRawInput<TDate>(rawValue: string, dateApi: DateApi<TDate>, dateTimeData:
|
|
40
|
+
export declare function parseRawInput<TDate>(rawValue: string, dateApi: DateApi<TDate>, dateTimeData: DateTimeDirective<TDate>, valueProvider: DateValueProvider<TDate>): [DateTimeObjectValue<TDate> | undefined | null, DateTimeInputOutputValue<TDate> | undefined | null];
|
|
41
41
|
/**
|
|
42
42
|
* Gets internal value and fix lowest time difference
|
|
43
43
|
* @param value - Value to be get as internal value
|
|
@@ -46,5 +46,5 @@ export declare function parseRawInput<TDate>(rawValue: string, dateApi: DateApi<
|
|
|
46
46
|
* @param valueProvider - Provider used for obtaining rounded value according format
|
|
47
47
|
* @param dateTimeFormat - Date time format type, optional, if not specified autodetection of format will be used, used when obtaining value from users input
|
|
48
48
|
*/
|
|
49
|
-
export declare function getInternalValue<TDate>(value: DateTimeInputOutputValue<TDate> | undefined | null, dateApi: DateApi<TDate>, dateTimeData:
|
|
49
|
+
export declare function getInternalValue<TDate>(value: DateTimeInputOutputValue<TDate> | undefined | null, dateApi: DateApi<TDate>, dateTimeData: DateTimeDirective<TDate>, valueProvider: DateValueProvider<TDate>, dateTimeFormat?: DateTimeValueFormat | undefined | null): DateTimeObjectValue<TDate> | undefined | null;
|
|
50
50
|
//# sourceMappingURL=utils.d.ts.map
|
package/src/misc/utils.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["utils.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,aAAa,EAAC,MAAM,eAAe,CAAC;AAC5C,OAAO,KAAK,EAAC,
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["utils.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,aAAa,EAAC,MAAM,eAAe,CAAC;AAC5C,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,4DAA4D,CAAC;AAClG,OAAO,EAAC,OAAO,EAAiB,SAAS,EAAE,iBAAiB,EAAC,MAAM,aAAa,CAAC;AACjF,OAAO,EAAC,mBAAmB,EAAC,MAAM,SAAS,CAAC;AAC5C,OAAO,EAAC,wBAAwB,EAAE,mBAAmB,EAAC,MAAM,SAAS,CAAC;AAEtE;;;;;;;G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AC,SAAS,GAAC,IAAI,EAAE,wBAAwB,CAAC,KAAK,CAAC,GAAC,SAAS,GAAC,IAAI,CAAC,CAW1K;AAED;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,KAAK,EAAE,wBAAwB,CAAC,KAAK,CAAC,GAAC,SAAS,GAAC,IAAI,EACrD,OAAO,EAAE,OAAO,CAAC,KAAK,CAAC,EACvB,YAAY,EAAE,iBAAiB,CAAC,KAAK,CAAC,EACtC,aAAa,EAAE,iBAAiB,CAAC,KAAK,CAAC,EACvC,cAAc,GAAE,mBAAmB,GAAC,SAAS,GAAC,IAAW,GAAI,mBAAmB,CAAC,KAAK,CAAC,GAAC,SAAS,GAAC,IAAI,CA+C7I"}
|
|
@@ -89,6 +89,6 @@ export declare class MonthCalendarComponent<TDate = unknown, TEvent = unknown> i
|
|
|
89
89
|
*/
|
|
90
90
|
static ngAcceptInputType_dayAspectRatio: keyof typeof CalendarDayAspectRatio | number;
|
|
91
91
|
static ɵfac: i0.ɵɵFactoryDeclaration<MonthCalendarComponent<any, any>, never>;
|
|
92
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MonthCalendarComponent<any, any>, "month-calendar", never, { "showWeekNumber": { "alias": "showWeekNumber"; "required": false; }; "display": { "alias": "display"; "required": false; }; "weekDayName": { "alias": "weekDayName"; "required": false; }; "dayAspectRatio": { "alias": "dayAspectRatio"; "required": false; }; "events": { "alias": "events"; "required": false; }; }, {}, ["customCalendarDayTemplate"], never,
|
|
92
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MonthCalendarComponent<any, any>, "month-calendar", never, { "showWeekNumber": { "alias": "showWeekNumber"; "required": false; }; "display": { "alias": "display"; "required": false; }; "weekDayName": { "alias": "weekDayName"; "required": false; }; "dayAspectRatio": { "alias": "dayAspectRatio"; "required": false; }; "events": { "alias": "events"; "required": false; }; }, {}, ["customCalendarDayTemplate"], never, true, never>;
|
|
93
93
|
}
|
|
94
94
|
//# sourceMappingURL=monthCalendar.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"monthCalendar.component.d.ts","sourceRoot":"","sources":["monthCalendar.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoD,MAAM,EAAa,WAAW,EAAgB,SAAS,EAAE,aAAa,EAAC,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"monthCalendar.component.d.ts","sourceRoot":"","sources":["monthCalendar.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoD,MAAM,EAAa,WAAW,EAAgB,SAAS,EAAE,aAAa,EAAC,MAAM,eAAe,CAAC;AAExJ,OAAO,EAAC,UAAU,EAAmB,MAAM,gBAAgB,CAAC;AAE5D,OAAO,EAAC,eAAe,EAAE,SAAS,EAAC,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EAA+B,0BAA0B,EAAC,MAAM,kBAAkB,CAAC;AAC1F,OAAO,EAAC,sBAAsB,EAAE,sBAAsB,EAAC,MAAM,YAAY,CAAC;AAC1E,OAAO,EAAC,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAE3C,OAAO,EAAC,OAAO,EAAC,MAAM,sBAAsB,CAAC;AAC7C,OAAO,EAAC,cAAc,EAAC,MAAM,wBAAwB,CAAC;;AAEtD;;GAEG;AACH,qBAgBa,sBAAsB,CAAC,KAAK,GAAG,OAAO,EAAE,MAAM,GAAG,OAAO,CAAE,YAAW,MAAM,EAAE,SAAS;IAwFjE,SAAS,CAAC,OAAO,EAAE,OAAO,CAAC,KAAK,CAAC;IAC1B,SAAS,CAAC,cAAc,EAAE,cAAc;IACjE,SAAS,CAAC,WAAW,EAAE,WAAW,CAAC,KAAK,EAAE,MAAM,CAAC;IAtF7D;;OAEG;IACH,SAAS,CAAC,mBAAmB,EAAE,MAAM,CAAqC;IAE1E;;OAEG;IACH,SAAS,CAAC,YAAY,EAAE,UAAU,CAAC,eAAe,CAAC,KAAK,EAAE,MAAM,CAAC,EAAE,CAAC,CAAM;IAE1E;;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+1,23 @@
|
|
|
1
1
|
<div *calendarDayTemplate="let data" class="default-calendar-day" [class.is-weekend]="data.isWeekend" [class.is-other-month]="!data.isCurrentMonth">{{data.day}}</div>
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
@for(dayName of weekDayNames; track dayName)
|
|
4
|
+
{
|
|
5
|
+
<div [class.week-day-name]="dayName">{{dayName}}</div>
|
|
6
|
+
}
|
|
4
7
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
<ng-container *ngFor="let weekData of calendarData | keyvalue">
|
|
8
|
+
@for(weekData of calendarData | keyvalue; track weekData)
|
|
9
|
+
{
|
|
8
10
|
<div class="week-number">
|
|
9
|
-
|
|
11
|
+
@if(showWeekNumber)
|
|
12
|
+
{
|
|
13
|
+
{{weekData.key}}
|
|
14
|
+
}
|
|
10
15
|
</div>
|
|
11
16
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
17
|
+
@for(dayData of weekData.value; track dayData)
|
|
18
|
+
{
|
|
19
|
+
<div [style.padding-bottom.%]="dayAspectRatioValue" class="day-wrapper">
|
|
20
|
+
<div class="day-content"><ng-container *ngTemplateOutlet="calendarDayTemplate; context: {$implicit: dayData}"/></div>
|
|
21
|
+
</div>
|
|
22
|
+
}
|
|
23
|
+
}
|
package/src/modules/calendar/directives/calendarDayTemplate/calendarDayTemplate.directive.d.ts
CHANGED
|
@@ -12,6 +12,6 @@ export declare class CalendarDayTemplateDirective<TDate = unknown, TEvent = unkn
|
|
|
12
12
|
*/
|
|
13
13
|
static ngTemplateContextGuard(_dir: CalendarDayTemplateDirective, _ctx: unknown): _ctx is CalendarDayTemplateContext;
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarDayTemplateDirective<any, any>, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CalendarDayTemplateDirective<any, any>, "[calendarDayTemplate]", never, {}, {}, never, never,
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CalendarDayTemplateDirective<any, any>, "[calendarDayTemplate]", never, {}, {}, never, never, true, never>;
|
|
16
16
|
}
|
|
17
17
|
//# sourceMappingURL=calendarDayTemplate.directive.d.ts.map
|
package/src/modules/calendar/directives/calendarDayTemplate/calendarDayTemplate.directive.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calendarDayTemplate.directive.d.ts","sourceRoot":"","sources":["calendarDayTemplate.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,WAAW,EAAC,MAAM,eAAe,CAAC;AAErD,OAAO,EAAC,0BAA0B,EAAC,MAAM,+BAA+B,CAAC;;AAEzE;;GAEG;AACH,
|
|
1
|
+
{"version":3,"file":"calendarDayTemplate.directive.d.ts","sourceRoot":"","sources":["calendarDayTemplate.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,WAAW,EAAC,MAAM,eAAe,CAAC;AAErD,OAAO,EAAC,0BAA0B,EAAC,MAAM,+BAA+B,CAAC;;AAEzE;;GAEG;AACH,qBAKa,4BAA4B,CAAC,KAAK,GAAG,OAAO,EAAE,MAAM,GAAG,OAAO;IAGpD,QAAQ,EAAE,WAAW,CAAC,0BAA0B,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;gBAAhE,QAAQ,EAAE,WAAW,CAAC,0BAA0B,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;IAMnF;;OAEG;IACH,MAAM,CAAC,sBAAsB,CAAC,IAAI,EAAE,4BAA4B,EAAE,IAAI,EAAE,OAAO,GAAG,IAAI,IAAI,0BAA0B;yCAZ3G,4BAA4B;2CAA5B,4BAA4B;CAgBxC"}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "../
|
|
3
|
-
import * as i2 from "../
|
|
4
|
-
import * as i3 from "@angular/common";
|
|
2
|
+
import * as i1 from "../directives/calendarDayTemplate/calendarDayTemplate.directive";
|
|
3
|
+
import * as i2 from "../components/monthCalendar/monthCalendar.component";
|
|
5
4
|
/**
|
|
6
5
|
* Module used for calendar displaying month
|
|
7
6
|
*/
|
|
8
7
|
export declare class MonthCalendarModule {
|
|
9
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<MonthCalendarModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MonthCalendarModule, [typeof i1.
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MonthCalendarModule, never, [typeof i1.CalendarDayTemplateDirective, typeof i2.MonthCalendarComponent], [typeof i2.MonthCalendarComponent, typeof i1.CalendarDayTemplateDirective]>;
|
|
11
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<MonthCalendarModule>;
|
|
12
11
|
}
|
|
13
12
|
//# sourceMappingURL=monthCalendar.module.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"monthCalendar.module.d.ts","sourceRoot":"","sources":["monthCalendar.module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"monthCalendar.module.d.ts","sourceRoot":"","sources":["monthCalendar.module.ts"],"names":[],"mappings":";;;AAKA;;GAEG;AACH,qBAaa,mBAAmB;yCAAnB,mBAAmB;0CAAnB,mBAAmB;0CAAnB,mBAAmB;CAE/B"}
|
|
@@ -6,7 +6,7 @@ import * as i2 from "../pipes/dateConvert.pipe";
|
|
|
6
6
|
*/
|
|
7
7
|
export declare class DatePipesModule {
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<DatePipesModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DatePipesModule, [typeof i1.DateFormatPipe, typeof i2.DateConvertPipe],
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DatePipesModule, never, [typeof i1.DateFormatPipe, typeof i2.DateConvertPipe], [typeof i1.DateFormatPipe, typeof i2.DateConvertPipe]>;
|
|
10
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<DatePipesModule>;
|
|
11
11
|
}
|
|
12
12
|
//# sourceMappingURL=datePipes.module.d.ts.map
|
|
@@ -9,7 +9,7 @@ import * as i0 from "@angular/core";
|
|
|
9
9
|
/**
|
|
10
10
|
* Directive that holds shared data for date time, like formats, restrictions
|
|
11
11
|
*/
|
|
12
|
-
export declare class
|
|
12
|
+
export declare class DateTimeDirective<TDate = unknown> implements OnDestroy {
|
|
13
13
|
/**
|
|
14
14
|
* Subject used for emitting changes in max date time value
|
|
15
15
|
*/
|
|
@@ -139,7 +139,7 @@ export declare class DateTimeSADirective<TDate = unknown> implements OnDestroy {
|
|
|
139
139
|
* Custom input type for `minDateTime` input
|
|
140
140
|
*/
|
|
141
141
|
static ngAcceptInputType_minDateTime: DateValue | DateTimeBase;
|
|
142
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
143
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
142
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateTimeDirective<any>, never>;
|
|
143
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DateTimeDirective<any>, "[dateTime]", never, { "valueFormat": { "alias": "valueFormat"; "required": false; }; "format": { "alias": "format"; "required": false; }; "customFormat": { "alias": "customFormat"; "required": false; }; "dataFormat": { "alias": "dataFormat"; "required": false; }; "maxDateTime": { "alias": "maxDateTime"; "required": false; }; "minDateTime": { "alias": "minDateTime"; "required": false; }; }, {}, never, never, true, never>;
|
|
144
144
|
}
|
|
145
145
|
//# sourceMappingURL=dateTime.directive.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dateTime.directive.d.ts","sourceRoot":"","sources":["dateTime.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAA2B,SAAS,EAAC,MAAM,eAAe,CAAC;AAClE,OAAO,EAAC,OAAO,EAA8B,MAAM,gBAAgB,CAAC;AACpE,OAAO,EAAsB,UAAU,EAAE,OAAO,EAAE,YAAY,EAAC,MAAM,MAAM,CAAC;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AAW,WAAW,CAAC,KAAK,EAAE,KAAK,GAAC,SAAS,GAAC,IAAI,EA6CjD;IAID;;OAEG;IACI,WAAW,IAAI,IAAI;IAW1B;;;OAGG;IAEH,SAAS,CAAC,UAAU,CAAC,KAAK,EAAE,KAAK,GAAC,SAAS,GAAC,IAAI,GAAG,IAAI;IAOvD;;;OAGG;IAEH,SAAS,CAAC,UAAU,CAAC,KAAK,EAAE,KAAK,GAAC,SAAS,GAAC,IAAI,GAAG,IAAI;IAOvD;;;;OAIG;IACH,SAAS,CAAC,cAAc,CAAC,KAAK,EAAE,SAAS,GAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,KAAK,GAAC,SAAS,GAAC,IAAI,CAAC,GAAG,IAAI;IAc7F;;OAEG;IACH,SAAS,CAAC,mBAAmB,IAAI,IAAI;IAIrC;;OAEG;IACH,SAAS,CAAC,mBAAmB,IAAI,IAAI;IAMrC;;OAEG;IACH,OAAc,6BAA6B,EAAE,MAAM,OAAO,mBAAmB,GAAC,mBAAmB,CAAC;IAElG;;OAEG;IACH,OAAc,6BAA6B,EAAE,SAAS,GAAC,YAAY,CAAC;IAEpE;;OAEG;IACH,OAAc,6BAA6B,EAAE,SAAS,GAAC,YAAY,CAAC;yCAxV3D,iBAAiB;2CAAjB,iBAAiB;CAyV7B"}
|
|
@@ -2,7 +2,7 @@ import { EventEmitter, OnDestroy } from '@angular/core';
|
|
|
2
2
|
import { Subscription } from 'rxjs';
|
|
3
3
|
import { DateTimeInputValue } from '../../../interfaces';
|
|
4
4
|
import { DateTimeInputOutputValue } from '../../../misc/types';
|
|
5
|
-
import {
|
|
5
|
+
import { DateTimeDirective } from './dateTime/dateTime.directive';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
8
|
* Base class for date time directives, contains basic shared data
|
|
@@ -13,13 +13,13 @@ export declare class DateTimeBase<TDate = unknown> implements DateTimeInputValue
|
|
|
13
13
|
*/
|
|
14
14
|
protected initSubscriptions: Subscription;
|
|
15
15
|
/**
|
|
16
|
-
* Current value of date time, could be string,
|
|
16
|
+
* Current value of date time, could be string, timestamp, Date, TDate object, or ranged DateTimeValue
|
|
17
17
|
*/
|
|
18
18
|
protected ɵValue: DateTimeInputOutputValue<TDate> | undefined | null;
|
|
19
19
|
/**
|
|
20
20
|
* Instance of date time shared data, like formats and restrictions
|
|
21
21
|
*/
|
|
22
|
-
protected dateTimeData:
|
|
22
|
+
protected dateTimeData: DateTimeDirective<TDate>;
|
|
23
23
|
/**
|
|
24
24
|
* @inheritdoc
|
|
25
25
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dateTimeBase.d.ts","sourceRoot":"","sources":["dateTimeBase.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,YAAY,EAAU,SAAS,EAAC,MAAM,eAAe,CAAC;AACzE,OAAO,EAAC,YAAY,EAAC,MAAM,MAAM,CAAC;AAElC,OAAO,EAAC,kBAAkB,EAAC,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAC,wBAAwB,EAAC,MAAM,qBAAqB,CAAC;AAC7D,OAAO,EAAC,
|
|
1
|
+
{"version":3,"file":"dateTimeBase.d.ts","sourceRoot":"","sources":["dateTimeBase.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,YAAY,EAAU,SAAS,EAAC,MAAM,eAAe,CAAC;AACzE,OAAO,EAAC,YAAY,EAAC,MAAM,MAAM,CAAC;AAElC,OAAO,EAAC,kBAAkB,EAAC,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAC,wBAAwB,EAAC,MAAM,qBAAqB,CAAC;AAC7D,OAAO,EAAC,iBAAiB,EAAC,MAAM,+BAA+B,CAAC;;AAEhE;;GAEG;AACH,qBACa,YAAY,CAAC,KAAK,GAAG,OAAO,CAAE,YAAW,kBAAkB,CAAC,KAAK,CAAC,EAAE,SAAS;IAItF;;OAEG;IACH,SAAS,CAAC,iBAAiB,EAAE,YAAY,CAAsB;IAE/D;;OAEG;IACH,S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