@openmrs/ngx-formentry 3.0.1-pre.61 → 3.0.1-pre.62
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/bundles/openmrs-ngx-formentry.umd.js +841 -869
- package/bundles/openmrs-ngx-formentry.umd.js.map +1 -1
- package/components/afe-ng-select.component.d.ts +3 -4
- package/components/appointments-overview/appointments-overview.component.d.ts +3 -4
- package/components/check-box/checkbox.component.d.ts +3 -4
- package/components/custom-component-wrapper/custom-component-wrapper.component.d.ts +2 -4
- package/components/custom-control-wrapper/custom-control-wrapper.component.d.ts +1 -1
- package/components/date-time-picker/date-picker/date-picker.component.d.ts +3 -3
- package/components/date-time-picker/date-time-picker.component.d.ts +4 -5
- package/components/date-time-picker/picker-modal/modal.component.d.ts +4 -5
- package/components/date-time-picker/time-picker/time-picker.component.d.ts +3 -3
- package/components/file-upload/file-upload.component.d.ts +2 -2
- package/components/input/input.directive.d.ts +4 -4
- package/components/input/input.module.d.ts +1 -1
- package/components/input/label.component.d.ts +12 -12
- package/components/input/text-area.directive.d.ts +4 -4
- package/components/ngx-datetime-picker/ngx-datetime-picker.component.d.ts +1 -1
- package/components/ngx-pick-datetime/lib/date-time/calendar-body.component.d.ts +5 -9
- package/components/ngx-pick-datetime/lib/date-time/calendar-month-view.component.d.ts +2 -5
- package/components/ngx-pick-datetime/lib/date-time/calendar-multi-year-view.component.d.ts +6 -10
- package/components/ngx-pick-datetime/lib/date-time/calendar-year-view.component.d.ts +3 -6
- package/components/ngx-pick-datetime/lib/date-time/calendar.component.d.ts +4 -11
- package/components/ngx-pick-datetime/lib/date-time/date-time-inline.component.d.ts +5 -6
- package/components/ngx-pick-datetime/lib/date-time/date-time-picker-container.component.d.ts +15 -19
- package/components/ngx-pick-datetime/lib/date-time/date-time-picker-input.directive.d.ts +9 -15
- package/components/ngx-pick-datetime/lib/date-time/date-time-picker-trigger.directive.d.ts +5 -9
- package/components/ngx-pick-datetime/lib/date-time/date-time-picker.component.d.ts +3 -7
- package/components/ngx-pick-datetime/lib/date-time/timer-box.component.d.ts +2 -5
- package/components/ngx-pick-datetime/lib/date-time/timer.component.d.ts +5 -9
- package/components/ngx-pick-datetime/lib/dialog/dialog-container.component.d.ts +15 -16
- package/components/ngx-remote-select/ngx-remote-select.component.d.ts +5 -5
- package/components/ngx-tabset/components/ngx-tab-set.component.d.ts +2 -2
- package/components/ngx-tabset/components/tab.component.d.ts +1 -1
- package/components/ngx-tabset/directives/hover-class.directive.d.ts +2 -2
- package/components/number-input/number-input.component.d.ts +2 -2
- package/components/radio-button/radio.component.d.ts +3 -4
- package/components/select/optgroup.directive.d.ts +3 -3
- package/components/select/option.directive.d.ts +3 -3
- package/components/select/select.component.d.ts +6 -6
- package/components/select/select.module.d.ts +1 -1
- package/esm2015/components/afe-ng-select.component.js +4 -5
- package/esm2015/components/appointments-overview/appointments-overview.component.js +3 -4
- package/esm2015/components/check-box/checkbox.component.js +3 -4
- package/esm2015/components/custom-component-wrapper/custom-component-wrapper.component.js +3 -4
- package/esm2015/components/custom-control-wrapper/custom-control-wrapper.component.js +3 -3
- package/esm2015/components/date-time-picker/date-picker/date-picker.component.js +11 -11
- package/esm2015/components/date-time-picker/date-time-picker.component.js +7 -8
- package/esm2015/components/date-time-picker/picker-modal/modal.component.js +6 -7
- package/esm2015/components/date-time-picker/time-picker/time-picker.component.js +11 -11
- package/esm2015/components/file-upload/file-upload.component.js +3 -3
- package/esm2015/components/file-upload/secure.pipe.js +1 -3
- package/esm2015/components/input/input.directive.js +7 -8
- package/esm2015/components/input/input.module.js +7 -7
- package/esm2015/components/input/label.component.js +18 -19
- package/esm2015/components/input/text-area.directive.js +7 -8
- package/esm2015/components/ngx-datetime-picker/ngx-datetime-picker.component.js +4 -4
- package/esm2015/components/ngx-datetime-picker/ngx-datetime-picker.module.js +2 -3
- package/esm2015/components/ngx-pick-datetime/lib/date-time/calendar-body.component.js +13 -20
- package/esm2015/components/ngx-pick-datetime/lib/date-time/calendar-month-view.component.js +11 -16
- package/esm2015/components/ngx-pick-datetime/lib/date-time/calendar-multi-year-view.component.js +20 -24
- package/esm2015/components/ngx-pick-datetime/lib/date-time/calendar-year-view.component.js +14 -19
- package/esm2015/components/ngx-pick-datetime/lib/date-time/calendar.component.js +13 -22
- package/esm2015/components/ngx-pick-datetime/lib/date-time/date-time-inline.component.js +18 -26
- package/esm2015/components/ngx-pick-datetime/lib/date-time/date-time-picker-container.component.js +61 -53
- package/esm2015/components/ngx-pick-datetime/lib/date-time/date-time-picker-input.directive.js +82 -73
- package/esm2015/components/ngx-pick-datetime/lib/date-time/date-time-picker-trigger.directive.js +20 -23
- package/esm2015/components/ngx-pick-datetime/lib/date-time/date-time-picker.component.js +6 -11
- package/esm2015/components/ngx-pick-datetime/lib/date-time/timer-box.component.js +12 -17
- package/esm2015/components/ngx-pick-datetime/lib/date-time/timer.component.js +19 -23
- package/esm2015/components/ngx-pick-datetime/lib/dialog/dialog-container.component.js +52 -41
- package/esm2015/components/ngx-remote-select/ngx-remote-select.component.js +6 -6
- package/esm2015/components/ngx-tabset/components/ngx-tab-set.component.js +6 -6
- package/esm2015/components/ngx-tabset/components/tab.component.js +3 -3
- package/esm2015/components/ngx-tabset/directives/hover-class.directive.js +4 -5
- package/esm2015/components/number-input/number-input.component.js +6 -6
- package/esm2015/components/radio-button/radio.component.js +3 -4
- package/esm2015/components/select/optgroup.directive.js +6 -8
- package/esm2015/components/select/option.directive.js +6 -8
- package/esm2015/components/select/select.component.js +16 -274
- package/esm2015/components/select/select.module.js +7 -7
- package/esm2015/form-entry/data-sources/data-sources.js +1 -2
- package/esm2015/form-entry/directives/collapse.directive.js +5 -9
- package/esm2015/form-entry/directives/{historical-value-directive.js → historical-value.directive.js} +3 -3
- package/esm2015/form-entry/error-renderer/error-renderer.component.js +3 -4
- package/esm2015/form-entry/expression-runner/expression-runner.js +1 -2
- package/esm2015/form-entry/form-entry.module.js +2 -2
- package/esm2015/form-entry/form-factory/form.js +1 -5
- package/esm2015/form-entry/form-renderer/form-renderer.component.js +9 -10
- package/esm2015/form-entry/question-models/interfaces/date-question-options.js +1 -1
- package/esm2015/form-entry/value-adapters/encounter.adapter.js +1 -2
- package/esm2015/form-entry/value-adapters/obs-adapter-helper.js +1 -6
- package/esm2015/form-entry/value-adapters/obs.adapter.js +1 -5
- package/esm2015/form-entry/value-adapters/order.adapter.js +1 -2
- package/esm2015/form-entry/value-adapters/person-attribute.adapter.js +1 -2
- package/fesm2015/openmrs-ngx-formentry.js +637 -927
- package/fesm2015/openmrs-ngx-formentry.js.map +1 -1
- package/form-entry/directives/collapse.directive.d.ts +1 -1
- package/form-entry/directives/{historical-value-directive.d.ts → historical-value.directive.d.ts} +1 -1
- package/form-entry/error-renderer/error-renderer.component.d.ts +2 -4
- package/form-entry/form-entry.module.d.ts +1 -1
- package/form-entry/form-renderer/form-renderer.component.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { OnInit
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import { Observable, BehaviorSubject } from 'rxjs';
|
|
4
4
|
import { Option } from '../form-entry/question-models/select-option';
|
|
5
5
|
import { DataSource } from '../form-entry/question-models/interfaces/data-source';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class AfeNgSelectComponent implements ControlValueAccessor, OnInit
|
|
7
|
+
export declare class AfeNgSelectComponent implements ControlValueAccessor, OnInit {
|
|
8
8
|
subject: BehaviorSubject<Option[]>;
|
|
9
9
|
subjectOption: BehaviorSubject<Option>;
|
|
10
10
|
dataSource: DataSource;
|
|
@@ -18,12 +18,11 @@ export declare class AfeNgSelectComponent implements ControlValueAccessor, OnIni
|
|
|
18
18
|
writeValue(obj: any): void;
|
|
19
19
|
registerOnChange(fn: any): void;
|
|
20
20
|
registerOnTouched(fn: any): void;
|
|
21
|
-
ngOnChanges(changes: any): void;
|
|
22
21
|
ngOnInit(): void;
|
|
23
22
|
getData(searchText: string): Observable<Option[]>;
|
|
24
23
|
onValueChange(event: any): void;
|
|
25
24
|
resolveSelectedOption(value: any): Observable<Option>;
|
|
26
25
|
resetOptions(): void;
|
|
27
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<AfeNgSelectComponent, never>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AfeNgSelectComponent, "
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AfeNgSelectComponent, "ofe-ng-select", never, { "dataSource": "dataSource"; "multiple": "multiple"; "extras": "extras"; }, {}, never, never>;
|
|
29
28
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnChanges } from '@angular/core';
|
|
2
2
|
import { LeafNode } from '../../form-entry/form-factory/form-node';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class AppointmentsOverviewComponent implements
|
|
4
|
+
export declare class AppointmentsOverviewComponent implements OnChanges {
|
|
5
5
|
node: LeafNode;
|
|
6
6
|
showAppointments: boolean;
|
|
7
7
|
loadingAppointments: boolean;
|
|
@@ -10,9 +10,8 @@ export declare class AppointmentsOverviewComponent implements OnInit, OnChanges
|
|
|
10
10
|
appointments: Array<any>;
|
|
11
11
|
today: string;
|
|
12
12
|
constructor();
|
|
13
|
-
ngOnInit(): void;
|
|
14
13
|
ngOnChanges(): void;
|
|
15
14
|
resetProperties(): void;
|
|
16
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<AppointmentsOverviewComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AppointmentsOverviewComponent, "appointments-overview", never, { "node": "node"; }, {}, never, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AppointmentsOverviewComponent, "ofe-appointments-overview", never, { "node": "node"; }, {}, never, never>;
|
|
18
17
|
}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { OnInit
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class CheckboxControlComponent implements OnInit
|
|
3
|
+
export declare class CheckboxControlComponent implements OnInit {
|
|
4
4
|
id: String;
|
|
5
5
|
options: Array<any>;
|
|
6
6
|
selected: Array<any>;
|
|
7
7
|
_value: Array<any>;
|
|
8
8
|
ngOnInit(): void;
|
|
9
|
-
ngAfterViewInit(): void;
|
|
10
9
|
writeValue(value: any): void;
|
|
11
10
|
registerOnChange(fn: (_: any) => void): void;
|
|
12
11
|
registerOnTouched(fn: () => void): void;
|
|
@@ -16,5 +15,5 @@ export declare class CheckboxControlComponent implements OnInit, AfterViewInit {
|
|
|
16
15
|
private onChange;
|
|
17
16
|
private onTouched;
|
|
18
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxControlComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxControlComponent, "checkbox", never, { "id": "id"; "options": "options"; "selected": "selected"; }, {}, never, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxControlComponent, "ofe-checkbox", never, { "id": "id"; "options": "options"; "selected": "selected"; }, {}, never, never>;
|
|
20
19
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class CustomComponentWrapperComponent
|
|
2
|
+
export declare class CustomComponentWrapperComponent {
|
|
4
3
|
componentConfigs: Array<{
|
|
5
4
|
tag: '';
|
|
6
5
|
url?: '';
|
|
@@ -8,7 +7,6 @@ export declare class CustomComponentWrapperComponent implements OnInit {
|
|
|
8
7
|
detail?: any;
|
|
9
8
|
}>;
|
|
10
9
|
dark: boolean;
|
|
11
|
-
ngOnInit(): void;
|
|
12
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<CustomComponentWrapperComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CustomComponentWrapperComponent, "
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CustomComponentWrapperComponent, "ofe-custom-component-wrapper", never, { "componentConfigs": "componentConfigs"; "dark": "dark"; }, {}, never, never>;
|
|
14
12
|
}
|
|
@@ -24,5 +24,5 @@ export declare class CustomControlWrapperComponent implements ControlValueAccess
|
|
|
24
24
|
markAsTouched(): void;
|
|
25
25
|
setDisabledState(disabled: boolean): void;
|
|
26
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<CustomControlWrapperComponent, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CustomControlWrapperComponent, "
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CustomControlWrapperComponent, "ofe-custom-control-wrapper", never, { "question": "question"; }, {}, never, never>;
|
|
28
28
|
}
|
|
@@ -10,8 +10,8 @@ export declare class DatePickerComponent implements OnInit {
|
|
|
10
10
|
locale: string;
|
|
11
11
|
viewFormat: string;
|
|
12
12
|
returnObject: string;
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
datePickerCancel: EventEmitter<boolean>;
|
|
14
|
+
dateSelect: EventEmitter<any>;
|
|
15
15
|
calendarDate: Moment;
|
|
16
16
|
selectedDate: Moment;
|
|
17
17
|
currentMonth: any;
|
|
@@ -41,5 +41,5 @@ export declare class DatePickerComponent implements OnInit {
|
|
|
41
41
|
protected generateCalendar(): void;
|
|
42
42
|
protected parseToReturnObjectType(day: Moment): any;
|
|
43
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerComponent, never>;
|
|
44
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DatePickerComponent, "date-picker", never, { "initDate": "initDate"; "locale": "locale"; "viewFormat": "viewFormat"; "returnObject": "returnObject"; }, { "
|
|
44
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DatePickerComponent, "ofe-date-picker", never, { "initDate": "initDate"; "locale": "locale"; "viewFormat": "viewFormat"; "returnObject": "returnObject"; }, { "datePickerCancel": "datePickerCancel"; "dateSelect": "dateSelect"; }, never, never>;
|
|
45
45
|
}
|
|
@@ -1,19 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class DateTimePickerComponent implements
|
|
4
|
+
export declare class DateTimePickerComponent implements ControlValueAccessor {
|
|
5
5
|
modelValue: any;
|
|
6
6
|
showDate: boolean;
|
|
7
7
|
showTime: boolean;
|
|
8
8
|
showWeeks: boolean;
|
|
9
9
|
weeks: number[];
|
|
10
|
-
|
|
10
|
+
dateChange: EventEmitter<any>;
|
|
11
11
|
showDatePicker: boolean;
|
|
12
12
|
showTimePicker: boolean;
|
|
13
13
|
onChange: any;
|
|
14
14
|
onTouched: any;
|
|
15
15
|
constructor();
|
|
16
|
-
ngOnInit(): void;
|
|
17
16
|
weeksSelected(count: any): void;
|
|
18
17
|
setDate(date: any): void;
|
|
19
18
|
setTime(time: any): void;
|
|
@@ -25,5 +24,5 @@ export declare class DateTimePickerComponent implements OnInit, ControlValueAcce
|
|
|
25
24
|
registerOnTouched(fn: any): void;
|
|
26
25
|
writeValue(value: any): void;
|
|
27
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateTimePickerComponent, never>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DateTimePickerComponent, "date-time-picker", never, { "modelValue": "modelValue"; "showDate": "showDate"; "showTime": "showTime"; "showWeeks": "showWeeks"; "weeks": "weeks"; }, { "
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DateTimePickerComponent, "ofe-date-time-picker", never, { "modelValue": "modelValue"; "showDate": "showDate"; "showTime": "showTime"; "showWeeks": "showWeeks"; "weeks": "weeks"; }, { "dateChange": "dateChange"; }, never, never>;
|
|
29
28
|
}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* modal.component
|
|
3
3
|
*/
|
|
4
|
-
import {
|
|
4
|
+
import { EventEmitter } from '@angular/core';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class ModalComponent
|
|
7
|
-
|
|
6
|
+
export declare class ModalComponent {
|
|
7
|
+
overlayClick: EventEmitter<boolean>;
|
|
8
8
|
constructor();
|
|
9
|
-
ngOnInit(): void;
|
|
10
9
|
closeModal(): void;
|
|
11
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<ModalComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ModalComponent, "picker-modal", never, {}, { "
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModalComponent, "ofe-picker-modal", never, {}, { "overlayClick": "overlayClick"; }, never, ["*"]>;
|
|
13
12
|
}
|
|
@@ -10,8 +10,8 @@ export declare class TimePickerComponent implements OnInit {
|
|
|
10
10
|
viewFormat: string;
|
|
11
11
|
use12Hour: boolean;
|
|
12
12
|
returnObject: string;
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
timeSelect: EventEmitter<any>;
|
|
14
|
+
timePickerCancel: EventEmitter<boolean>;
|
|
15
15
|
hourFormat: string;
|
|
16
16
|
time: Moment;
|
|
17
17
|
constructor();
|
|
@@ -28,5 +28,5 @@ export declare class TimePickerComponent implements OnInit {
|
|
|
28
28
|
cancelTimePicker(): void;
|
|
29
29
|
protected parseToReturnObjectType(time: Moment): any;
|
|
30
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<TimePickerComponent, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TimePickerComponent, "time-picker", never, { "initTime": "initTime"; "showSecond": "showSecond"; "viewFormat": "viewFormat"; "use12Hour": "use12Hour"; "returnObject": "returnObject"; }, { "
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TimePickerComponent, "ofe-time-picker", never, { "initTime": "initTime"; "showSecond": "showSecond"; "viewFormat": "viewFormat"; "use12Hour": "use12Hour"; "returnObject": "returnObject"; }, { "timeSelect": "timeSelect"; "timePickerCancel": "timePickerCancel"; }, never, never>;
|
|
32
32
|
}
|
|
@@ -9,9 +9,9 @@ export declare class FileUploadComponent implements OnInit, ControlValueAccessor
|
|
|
9
9
|
pdfUploaded: boolean;
|
|
10
10
|
formEntryMode: boolean;
|
|
11
11
|
pdfUrl: string;
|
|
12
|
-
private _dataSource;
|
|
13
12
|
get dataSource(): DataSource;
|
|
14
13
|
set dataSource(v: DataSource);
|
|
14
|
+
private _dataSource;
|
|
15
15
|
constructor(renderer: Renderer2);
|
|
16
16
|
ngOnInit(): void;
|
|
17
17
|
onFileChange(fileList: any): void;
|
|
@@ -25,5 +25,5 @@ export declare class FileUploadComponent implements OnInit, ControlValueAccessor
|
|
|
25
25
|
getPdfUrl(fileUuid: string): void;
|
|
26
26
|
checkFileType(): void;
|
|
27
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadComponent, never>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadComponent, "
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadComponent, "ofe-file-upload", never, { "dataSource": "dataSource"; }, {}, never, never>;
|
|
29
29
|
}
|
|
@@ -5,12 +5,12 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
* Example:
|
|
6
6
|
*
|
|
7
7
|
* ```html
|
|
8
|
-
* <input
|
|
8
|
+
* <input ofeTextInput/>
|
|
9
9
|
* ```
|
|
10
10
|
*
|
|
11
11
|
* See the [vanilla carbon docs](http://www.carbondesignsystem.com/components/text-input/code) for more detail.
|
|
12
12
|
*/
|
|
13
|
-
export declare class
|
|
13
|
+
export declare class TextInputDirective {
|
|
14
14
|
/**
|
|
15
15
|
* `light` or `dark` input theme
|
|
16
16
|
*/
|
|
@@ -26,6 +26,6 @@ export declare class TextInput {
|
|
|
26
26
|
warn: boolean;
|
|
27
27
|
skeleton: boolean;
|
|
28
28
|
get isLightTheme(): boolean;
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
30
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TextInputDirective, never>;
|
|
30
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TextInputDirective, "[ofeTextInput]", never, { "theme": "theme"; "size": "size"; "invalid": "invalid"; "warn": "warn"; "skeleton": "skeleton"; }, {}, never>;
|
|
31
31
|
}
|
|
@@ -6,6 +6,6 @@ import * as i4 from "@angular/common";
|
|
|
6
6
|
import * as i5 from "@angular/forms";
|
|
7
7
|
export declare class InputModule {
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<InputModule, [typeof i1.
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<InputModule, [typeof i1.LabelComponent, typeof i2.TextInputDirective, typeof i3.TextAreaDirective], [typeof i4.CommonModule, typeof i5.FormsModule], [typeof i1.LabelComponent, typeof i2.TextInputDirective, typeof i3.TextAreaDirective]>;
|
|
10
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<InputModule>;
|
|
11
11
|
}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import { AfterViewInit, ElementRef, TemplateRef, AfterContentInit } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { TextAreaDirective } from './text-area.directive';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
/**
|
|
5
5
|
* [See demo](../../?path=/story/input--label)
|
|
6
6
|
*
|
|
7
7
|
* ```html
|
|
8
|
-
* <
|
|
8
|
+
* <ofe-label labelState="success">
|
|
9
9
|
* <label label>Field with success</label>
|
|
10
10
|
* <input type="text" class="input-field">
|
|
11
|
-
* </
|
|
11
|
+
* </ofe-label>
|
|
12
12
|
*
|
|
13
|
-
* <
|
|
13
|
+
* <ofe-label labelState="warning">
|
|
14
14
|
* <label label>Field with warning</label>
|
|
15
15
|
* <input type="text" class="input-field">
|
|
16
|
-
* </
|
|
16
|
+
* </ofe-label>
|
|
17
17
|
*
|
|
18
|
-
* <
|
|
18
|
+
* <ofe-label labelState="error">
|
|
19
19
|
* <label label>Field with error</label>
|
|
20
20
|
* <input type="text" class="input-field">
|
|
21
|
-
* </
|
|
21
|
+
* </ofe-label>
|
|
22
22
|
* ```
|
|
23
23
|
*
|
|
24
24
|
* <example-url>../../iframe.html?id=input--label</example-url>
|
|
25
25
|
*/
|
|
26
|
-
export declare class
|
|
26
|
+
export declare class LabelComponent implements AfterContentInit, AfterViewInit {
|
|
27
27
|
/**
|
|
28
28
|
* Used to build the id of the input item associated with the `Label`.
|
|
29
29
|
*/
|
|
@@ -70,10 +70,10 @@ export declare class Label implements AfterContentInit, AfterViewInit {
|
|
|
70
70
|
*/
|
|
71
71
|
ariaLabel: string;
|
|
72
72
|
wrapper: ElementRef<HTMLDivElement>;
|
|
73
|
-
textArea:
|
|
73
|
+
textArea: TextAreaDirective;
|
|
74
74
|
labelClass: boolean;
|
|
75
75
|
/**
|
|
76
|
-
* Creates an instance of
|
|
76
|
+
* Creates an instance of LabelComponent.
|
|
77
77
|
*/
|
|
78
78
|
constructor();
|
|
79
79
|
/**
|
|
@@ -85,6 +85,6 @@ export declare class Label implements AfterContentInit, AfterViewInit {
|
|
|
85
85
|
*/
|
|
86
86
|
ngAfterViewInit(): void;
|
|
87
87
|
isTemplate(value: any): boolean;
|
|
88
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
89
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
88
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LabelComponent, never>;
|
|
89
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LabelComponent, "ofe-label", never, { "labelInputID": "labelInputID"; "labelState": "labelState"; "skeleton": "skeleton"; "helperText": "helperText"; "invalidText": "invalidText"; "invalid": "invalid"; "warn": "warn"; "warnText": "warnText"; "ariaLabel": "ariaLabel"; }, {}, ["textArea"], ["*", "input,textarea,div"]>;
|
|
90
90
|
}
|
|
@@ -5,12 +5,12 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
* Example:
|
|
6
6
|
*
|
|
7
7
|
* ```html
|
|
8
|
-
* <textarea
|
|
8
|
+
* <textarea ofeTextAreaInput></textarea>
|
|
9
9
|
* ```
|
|
10
10
|
*
|
|
11
11
|
* See the [vanilla carbon docs](http://www.carbondesignsystem.com/components/text-input/code) for more detail.
|
|
12
12
|
*/
|
|
13
|
-
export declare class
|
|
13
|
+
export declare class TextAreaDirective {
|
|
14
14
|
/**
|
|
15
15
|
* `light` or `dark` input theme
|
|
16
16
|
*/
|
|
@@ -19,6 +19,6 @@ export declare class TextArea {
|
|
|
19
19
|
invalid: boolean;
|
|
20
20
|
skeleton: boolean;
|
|
21
21
|
get isLightTheme(): boolean;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
23
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TextAreaDirective, never>;
|
|
23
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TextAreaDirective, "[ofeTextAreaInput]", never, { "theme": "theme"; "invalid": "invalid"; "skeleton": "skeleton"; }, {}, never>;
|
|
24
24
|
}
|
|
@@ -17,5 +17,5 @@ export declare class NgxDatetimeComponent implements ControlValueAccessor {
|
|
|
17
17
|
setDisabledState(isDisabled: boolean): void;
|
|
18
18
|
onWeeksSelected(numberOfWeeks: number): void;
|
|
19
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgxDatetimeComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgxDatetimeComponent, "ngx-
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgxDatetimeComponent, "ofe-ngx-date-time-picker", never, { "id": "id"; "theme": "theme"; "datePickerFormat": "datePickerFormat"; "showWeeks": "showWeeks"; "weeks": "weeks"; }, {}, never, never>;
|
|
21
21
|
}
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* calendar-body.component
|
|
3
|
-
*/
|
|
4
|
-
import { ElementRef, EventEmitter, NgZone, OnInit } from '@angular/core';
|
|
1
|
+
import { ElementRef, EventEmitter, NgZone } from '@angular/core';
|
|
5
2
|
import { SelectMode } from './date-time.class';
|
|
6
3
|
import * as i0 from "@angular/core";
|
|
7
4
|
export declare class CalendarCell {
|
|
@@ -13,9 +10,10 @@ export declare class CalendarCell {
|
|
|
13
10
|
cellClass: string;
|
|
14
11
|
constructor(value: number, displayValue: string, ariaLabel: string, enabled: boolean, out?: boolean, cellClass?: string);
|
|
15
12
|
}
|
|
16
|
-
export declare class OwlCalendarBodyComponent
|
|
13
|
+
export declare class OwlCalendarBodyComponent {
|
|
17
14
|
private elmRef;
|
|
18
15
|
private ngZone;
|
|
16
|
+
owlDTCalendarBodyClass: boolean;
|
|
19
17
|
/**
|
|
20
18
|
* The cell number of the active cell in the table.
|
|
21
19
|
*/
|
|
@@ -47,12 +45,10 @@ export declare class OwlCalendarBodyComponent implements OnInit {
|
|
|
47
45
|
/**
|
|
48
46
|
* Emit when a calendar cell is selected
|
|
49
47
|
* */
|
|
50
|
-
readonly
|
|
51
|
-
get owlDTCalendarBodyClass(): boolean;
|
|
48
|
+
readonly cellSelected: EventEmitter<CalendarCell>;
|
|
52
49
|
get isInSingleMode(): boolean;
|
|
53
50
|
get isInRangeMode(): boolean;
|
|
54
51
|
constructor(elmRef: ElementRef, ngZone: NgZone);
|
|
55
|
-
ngOnInit(): void;
|
|
56
52
|
selectCell(cell: CalendarCell): void;
|
|
57
53
|
isActiveCell(rowIndex: number, colIndex: number): boolean;
|
|
58
54
|
/**
|
|
@@ -76,5 +72,5 @@ export declare class OwlCalendarBodyComponent implements OnInit {
|
|
|
76
72
|
* */
|
|
77
73
|
focusActiveCell(): void;
|
|
78
74
|
static ɵfac: i0.ɵɵFactoryDeclaration<OwlCalendarBodyComponent, never>;
|
|
79
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OwlCalendarBodyComponent, "[owl-date-time-calendar-body]", ["owlDateTimeCalendarBody"], { "activeCell": "activeCell"; "rows": "rows"; "numCols": "numCols"; "cellRatio": "cellRatio"; "todayValue": "todayValue"; "selectedValues": "selectedValues"; "selectMode": "selectMode"; }, { "
|
|
75
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OwlCalendarBodyComponent, "[ofe-owl-date-time-calendar-body]", ["owlDateTimeCalendarBody"], { "activeCell": "activeCell"; "rows": "rows"; "numCols": "numCols"; "cellRatio": "cellRatio"; "todayValue": "todayValue"; "selectedValues": "selectedValues"; "selectMode": "selectMode"; }, { "cellSelected": "cellSelected"; }, never, never>;
|
|
80
76
|
}
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* calendar-month-view.component
|
|
3
|
-
*/
|
|
4
1
|
import { AfterContentInit, ChangeDetectorRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
5
2
|
import { CalendarCell, OwlCalendarBodyComponent } from './calendar-body.component';
|
|
6
3
|
import { DateTimeAdapter } from './adapter/date-time-adapter.class';
|
|
@@ -11,6 +8,7 @@ export declare class OwlMonthViewComponent<T> implements OnInit, AfterContentIni
|
|
|
11
8
|
private cdRef;
|
|
12
9
|
private dateTimeAdapter;
|
|
13
10
|
private dateTimeFormats;
|
|
11
|
+
get owlDTCalendarView(): boolean;
|
|
14
12
|
/**
|
|
15
13
|
* Whether to hide dates in other months at the start or end of the current month.
|
|
16
14
|
* */
|
|
@@ -89,7 +87,6 @@ export declare class OwlMonthViewComponent<T> implements OnInit, AfterContentIni
|
|
|
89
87
|
readonly pickerMomentChange: EventEmitter<T>;
|
|
90
88
|
/** The body of calendar table */
|
|
91
89
|
calendarBodyElm: OwlCalendarBodyComponent;
|
|
92
|
-
get owlDTCalendarView(): boolean;
|
|
93
90
|
constructor(cdRef: ChangeDetectorRef, dateTimeAdapter: DateTimeAdapter<T>, dateTimeFormats: OwlDateTimeFormats);
|
|
94
91
|
ngOnInit(): void;
|
|
95
92
|
ngAfterContentInit(): void;
|
|
@@ -138,5 +135,5 @@ export declare class OwlMonthViewComponent<T> implements OnInit, AfterContentIni
|
|
|
138
135
|
private setSelectedDates;
|
|
139
136
|
private focusActiveCell;
|
|
140
137
|
static ɵfac: i0.ɵɵFactoryDeclaration<OwlMonthViewComponent<any>, [null, { optional: true; }, { optional: true; }]>;
|
|
141
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OwlMonthViewComponent<any>, "owl-date-time-month-view", ["owlYearView"], { "hideOtherMonths": "hideOtherMonths"; "firstDayOfWeek": "firstDayOfWeek"; "selectMode": "selectMode"; "selected": "selected"; "selecteds": "selecteds"; "pickerMoment": "pickerMoment"; "dateFilter": "dateFilter"; "minDate": "minDate"; "maxDate": "maxDate"; }, { "selectedChange": "selectedChange"; "userSelection": "userSelection"; "pickerMomentChange": "pickerMomentChange"; }, never, never>;
|
|
138
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OwlMonthViewComponent<any>, "ofe-owl-date-time-month-view", ["owlYearView"], { "hideOtherMonths": "hideOtherMonths"; "firstDayOfWeek": "firstDayOfWeek"; "selectMode": "selectMode"; "selected": "selected"; "selecteds": "selecteds"; "pickerMoment": "pickerMoment"; "dateFilter": "dateFilter"; "minDate": "minDate"; "maxDate": "maxDate"; }, { "selectedChange": "selectedChange"; "userSelection": "userSelection"; "pickerMomentChange": "pickerMomentChange"; }, never, never>;
|
|
142
139
|
}
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* calendar-multi-year-view.component
|
|
3
|
-
*/
|
|
4
|
-
import { AfterContentInit, ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core';
|
|
1
|
+
import { AfterContentInit, ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
5
2
|
import { DateTimeAdapter } from './adapter/date-time-adapter.class';
|
|
6
3
|
import { CalendarCell, OwlCalendarBodyComponent } from './calendar-body.component';
|
|
7
4
|
import { SelectMode } from './date-time.class';
|
|
@@ -9,10 +6,12 @@ import { OwlDateTimeIntl } from './date-time-picker-intl.service';
|
|
|
9
6
|
import * as i0 from "@angular/core";
|
|
10
7
|
export declare const YEARS_PER_ROW = 3;
|
|
11
8
|
export declare const YEAR_ROWS = 7;
|
|
12
|
-
export declare class OwlMultiYearViewComponent<T> implements
|
|
9
|
+
export declare class OwlMultiYearViewComponent<T> implements AfterContentInit {
|
|
13
10
|
private cdRef;
|
|
14
11
|
private pickerIntl;
|
|
15
12
|
private dateTimeAdapter;
|
|
13
|
+
get owlDTCalendarView(): boolean;
|
|
14
|
+
get owlDTCalendarMultiYearView(): boolean;
|
|
16
15
|
/**
|
|
17
16
|
* The select mode of the picker;
|
|
18
17
|
* */
|
|
@@ -59,7 +58,7 @@ export declare class OwlMultiYearViewComponent<T> implements OnInit, AfterConten
|
|
|
59
58
|
/**
|
|
60
59
|
* Callback to invoke when a new month is selected
|
|
61
60
|
* */
|
|
62
|
-
readonly
|
|
61
|
+
readonly monthChange: EventEmitter<T>;
|
|
63
62
|
/**
|
|
64
63
|
* Emits the selected year. This doesn't imply a change on the selected date
|
|
65
64
|
* */
|
|
@@ -70,10 +69,7 @@ export declare class OwlMultiYearViewComponent<T> implements OnInit, AfterConten
|
|
|
70
69
|
readonly keyboardEnter: EventEmitter<any>;
|
|
71
70
|
/** The body of calendar table */
|
|
72
71
|
calendarBodyElm: OwlCalendarBodyComponent;
|
|
73
|
-
get owlDTCalendarView(): boolean;
|
|
74
|
-
get owlDTCalendarMultiYearView(): boolean;
|
|
75
72
|
constructor(cdRef: ChangeDetectorRef, pickerIntl: OwlDateTimeIntl, dateTimeAdapter: DateTimeAdapter<T>);
|
|
76
|
-
ngOnInit(): void;
|
|
77
73
|
ngAfterContentInit(): void;
|
|
78
74
|
/**
|
|
79
75
|
* Handle a calendarCell selected
|
|
@@ -108,5 +104,5 @@ export declare class OwlMultiYearViewComponent<T> implements OnInit, AfterConten
|
|
|
108
104
|
private getValidDate;
|
|
109
105
|
private focusActiveCell;
|
|
110
106
|
static ɵfac: i0.ɵɵFactoryDeclaration<OwlMultiYearViewComponent<any>, [null, null, { optional: true; }]>;
|
|
111
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OwlMultiYearViewComponent<any>, "owl-date-time-multi-year-view", never, { "selectMode": "selectMode"; "selected": "selected"; "selecteds": "selecteds"; "pickerMoment": "pickerMoment"; "dateFilter": "dateFilter"; "minDate": "minDate"; "maxDate": "maxDate"; }, { "
|
|
107
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OwlMultiYearViewComponent<any>, "ofe-owl-date-time-multi-year-view", never, { "selectMode": "selectMode"; "selected": "selected"; "selecteds": "selecteds"; "pickerMoment": "pickerMoment"; "dateFilter": "dateFilter"; "minDate": "minDate"; "maxDate": "maxDate"; }, { "monthChange": "monthChange"; "yearSelected": "yearSelected"; "pickerMomentChange": "pickerMomentChange"; "keyboardEnter": "keyboardEnter"; }, never, never>;
|
|
112
108
|
}
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* calendar-year-view.component
|
|
3
|
-
*/
|
|
4
1
|
import { AfterContentInit, ChangeDetectorRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
5
2
|
import { CalendarCell, OwlCalendarBodyComponent } from './calendar-body.component';
|
|
6
3
|
import { DateTimeAdapter } from './adapter/date-time-adapter.class';
|
|
@@ -11,6 +8,7 @@ export declare class OwlYearViewComponent<T> implements OnInit, AfterContentInit
|
|
|
11
8
|
private cdRef;
|
|
12
9
|
private dateTimeAdapter;
|
|
13
10
|
private dateTimeFormats;
|
|
11
|
+
get owlDTCalendarView(): boolean;
|
|
14
12
|
/**
|
|
15
13
|
* The select mode of the picker;
|
|
16
14
|
* */
|
|
@@ -58,7 +56,7 @@ export declare class OwlYearViewComponent<T> implements OnInit, AfterContentInit
|
|
|
58
56
|
/**
|
|
59
57
|
* Callback to invoke when a new month is selected
|
|
60
58
|
* */
|
|
61
|
-
readonly
|
|
59
|
+
readonly monthChange: EventEmitter<T>;
|
|
62
60
|
/**
|
|
63
61
|
* Emits the selected year. This doesn't imply a change on the selected date
|
|
64
62
|
* */
|
|
@@ -69,7 +67,6 @@ export declare class OwlYearViewComponent<T> implements OnInit, AfterContentInit
|
|
|
69
67
|
readonly keyboardEnter: EventEmitter<any>;
|
|
70
68
|
/** The body of calendar table */
|
|
71
69
|
calendarBodyElm: OwlCalendarBodyComponent;
|
|
72
|
-
get owlDTCalendarView(): boolean;
|
|
73
70
|
constructor(cdRef: ChangeDetectorRef, dateTimeAdapter: DateTimeAdapter<T>, dateTimeFormats: OwlDateTimeFormats);
|
|
74
71
|
ngOnInit(): void;
|
|
75
72
|
ngAfterContentInit(): void;
|
|
@@ -119,5 +116,5 @@ export declare class OwlYearViewComponent<T> implements OnInit, AfterContentInit
|
|
|
119
116
|
private getValidDate;
|
|
120
117
|
private focusActiveCell;
|
|
121
118
|
static ɵfac: i0.ɵɵFactoryDeclaration<OwlYearViewComponent<any>, [null, { optional: true; }, { optional: true; }]>;
|
|
122
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OwlYearViewComponent<any>, "owl-date-time-year-view", ["owlMonthView"], { "selectMode": "selectMode"; "selected": "selected"; "selecteds": "selecteds"; "pickerMoment": "pickerMoment"; "dateFilter": "dateFilter"; "minDate": "minDate"; "maxDate": "maxDate"; }, { "
|
|
119
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OwlYearViewComponent<any>, "ofe-owl-date-time-year-view", ["owlMonthView"], { "selectMode": "selectMode"; "selected": "selected"; "selecteds": "selecteds"; "pickerMoment": "pickerMoment"; "dateFilter": "dateFilter"; "minDate": "minDate"; "maxDate": "maxDate"; }, { "monthChange": "monthChange"; "monthSelected": "monthSelected"; "pickerMomentChange": "pickerMomentChange"; "keyboardEnter": "keyboardEnter"; }, never, never>;
|
|
123
120
|
}
|
|
@@ -1,19 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
* calendar.component
|
|
3
|
-
*/
|
|
4
|
-
import { AfterContentInit, AfterViewChecked, ChangeDetectorRef, ElementRef, EventEmitter, NgZone, OnDestroy, OnInit } from '@angular/core';
|
|
1
|
+
import { AfterContentInit, AfterViewChecked, ChangeDetectorRef, ElementRef, EventEmitter, NgZone, OnDestroy } from '@angular/core';
|
|
5
2
|
import { OwlDateTimeIntl } from './date-time-picker-intl.service';
|
|
6
3
|
import { DateTimeAdapter } from './adapter/date-time-adapter.class';
|
|
7
4
|
import { OwlDateTimeFormats } from './adapter/date-time-format.class';
|
|
8
5
|
import { SelectMode } from './date-time.class';
|
|
9
6
|
import * as i0 from "@angular/core";
|
|
10
|
-
export declare class OwlCalendarComponent<T> implements
|
|
7
|
+
export declare class OwlCalendarComponent<T> implements AfterContentInit, AfterViewChecked, OnDestroy {
|
|
11
8
|
private elmRef;
|
|
12
9
|
private pickerIntl;
|
|
13
10
|
private ngZone;
|
|
14
11
|
private cdRef;
|
|
15
12
|
private dateTimeAdapter;
|
|
16
13
|
private dateTimeFormats;
|
|
14
|
+
get owlDTCalendarClass(): boolean;
|
|
17
15
|
get minDate(): T | null;
|
|
18
16
|
set minDate(value: T | null);
|
|
19
17
|
get maxDate(): T | null;
|
|
@@ -34,10 +32,6 @@ export declare class OwlCalendarComponent<T> implements OnInit, AfterContentInit
|
|
|
34
32
|
get isInRangeMode(): boolean;
|
|
35
33
|
get showControlArrows(): boolean;
|
|
36
34
|
get isMonthView(): boolean;
|
|
37
|
-
/**
|
|
38
|
-
* Bind class 'owl-dt-calendar' to host
|
|
39
|
-
* */
|
|
40
|
-
get owlDTCalendarClass(): boolean;
|
|
41
35
|
constructor(elmRef: ElementRef, pickerIntl: OwlDateTimeIntl, ngZone: NgZone, cdRef: ChangeDetectorRef, dateTimeAdapter: DateTimeAdapter<T>, dateTimeFormats: OwlDateTimeFormats);
|
|
42
36
|
/**
|
|
43
37
|
* Date filter for the month and year view
|
|
@@ -91,7 +85,6 @@ export declare class OwlCalendarComponent<T> implements OnInit, AfterContentInit
|
|
|
91
85
|
* Date filter for the month and year view
|
|
92
86
|
*/
|
|
93
87
|
dateFilterForViews: (date: T) => boolean;
|
|
94
|
-
ngOnInit(): void;
|
|
95
88
|
ngAfterContentInit(): void;
|
|
96
89
|
ngAfterViewChecked(): void;
|
|
97
90
|
ngOnDestroy(): void;
|
|
@@ -140,5 +133,5 @@ export declare class OwlCalendarComponent<T> implements OnInit, AfterContentInit
|
|
|
140
133
|
*/
|
|
141
134
|
private getValidDate;
|
|
142
135
|
static ɵfac: i0.ɵɵFactoryDeclaration<OwlCalendarComponent<any>, [null, null, null, null, { optional: true; }, { optional: true; }]>;
|
|
143
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OwlCalendarComponent<any>, "owl-date-time-calendar", ["owlDateTimeCalendar"], { "minDate": "minDate"; "maxDate": "maxDate"; "pickerMoment": "pickerMoment"; "selected": "selected"; "selecteds": "selecteds"; "dateFilter": "dateFilter"; "firstDayOfWeek": "firstDayOfWeek"; "selectMode": "selectMode"; "startView": "startView"; "hideOtherMonths": "hideOtherMonths"; }, { "pickerMomentChange": "pickerMomentChange"; "selectedChange": "selectedChange"; "userSelection": "userSelection"; "yearSelected": "yearSelected"; "monthSelected": "monthSelected"; }, never, never>;
|
|
136
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OwlCalendarComponent<any>, "ofe-owl-date-time-calendar", ["owlDateTimeCalendar"], { "minDate": "minDate"; "maxDate": "maxDate"; "pickerMoment": "pickerMoment"; "selected": "selected"; "selecteds": "selecteds"; "dateFilter": "dateFilter"; "firstDayOfWeek": "firstDayOfWeek"; "selectMode": "selectMode"; "startView": "startView"; "hideOtherMonths": "hideOtherMonths"; }, { "pickerMomentChange": "pickerMomentChange"; "selectedChange": "selectedChange"; "userSelection": "userSelection"; "yearSelected": "yearSelected"; "monthSelected": "monthSelected"; }, never, never>;
|
|
144
137
|
}
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* date-time-inline.component
|
|
3
|
-
*/
|
|
4
1
|
import { ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core';
|
|
5
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
6
3
|
import { OwlDateTime, PickerMode, PickerType, SelectMode } from './date-time.class';
|
|
@@ -13,6 +10,7 @@ export declare class OwlDateTimeInlineComponent<T> extends OwlDateTime<T> implem
|
|
|
13
10
|
protected changeDetector: ChangeDetectorRef;
|
|
14
11
|
protected dateTimeAdapter: DateTimeAdapter<T>;
|
|
15
12
|
protected dateTimeFormats: OwlDateTimeFormats;
|
|
13
|
+
get owlDTInlineClass(): boolean;
|
|
16
14
|
container: OwlDateTimeContainerComponent<T>;
|
|
17
15
|
/**
|
|
18
16
|
* Set the type of the dateTime picker
|
|
@@ -34,15 +32,17 @@ export declare class OwlDateTimeInlineComponent<T> extends OwlDateTime<T> implem
|
|
|
34
32
|
get startAt(): T | null;
|
|
35
33
|
set startAt(date: T | null);
|
|
36
34
|
private _dateTimeFilter;
|
|
37
|
-
get
|
|
35
|
+
get owlDateTimeFilter(): (date: T) => boolean;
|
|
38
36
|
set dateTimeFilter(filter: (date: T | null) => boolean);
|
|
39
37
|
/** The minimum valid date. */
|
|
40
38
|
private _min;
|
|
41
39
|
get minDateTime(): T | null;
|
|
40
|
+
min: Date;
|
|
42
41
|
set minDateTime(value: T | null);
|
|
43
42
|
/** The maximum valid date. */
|
|
44
43
|
private _max;
|
|
45
44
|
get maxDateTime(): T | null;
|
|
45
|
+
max: Date;
|
|
46
46
|
set maxDateTime(value: T | null);
|
|
47
47
|
private _value;
|
|
48
48
|
get value(): T | null;
|
|
@@ -70,7 +70,6 @@ export declare class OwlDateTimeInlineComponent<T> extends OwlDateTime<T> implem
|
|
|
70
70
|
get pickerMode(): PickerMode;
|
|
71
71
|
get isInSingleMode(): boolean;
|
|
72
72
|
get isInRangeMode(): boolean;
|
|
73
|
-
get owlDTInlineClass(): boolean;
|
|
74
73
|
private onModelChange;
|
|
75
74
|
private onModelTouched;
|
|
76
75
|
constructor(changeDetector: ChangeDetectorRef, dateTimeAdapter: DateTimeAdapter<T>, dateTimeFormats: OwlDateTimeFormats);
|
|
@@ -89,5 +88,5 @@ export declare class OwlDateTimeInlineComponent<T> extends OwlDateTime<T> implem
|
|
|
89
88
|
* */
|
|
90
89
|
selectMonth(normalizedMonth: T): void;
|
|
91
90
|
static ɵfac: i0.ɵɵFactoryDeclaration<OwlDateTimeInlineComponent<any>, [null, { optional: true; }, { optional: true; }]>;
|
|
92
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OwlDateTimeInlineComponent<any>, "owl-date-time-inline", never, { "pickerType": "pickerType"; "disabled": "disabled"; "selectMode": "selectMode"; "startAt": "startAt"; "
|
|
91
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OwlDateTimeInlineComponent<any>, "ofe-owl-date-time-inline", never, { "pickerType": "pickerType"; "disabled": "disabled"; "selectMode": "selectMode"; "startAt": "startAt"; "owlDateTimeFilter": "owlDateTimeFilter"; "min": "min"; "max": "max"; "value": "value"; "values": "values"; }, { "yearSelected": "yearSelected"; "monthSelected": "monthSelected"; }, never, never>;
|
|
93
92
|
}
|