@openmrs/ngx-formentry 3.0.1-pre.8 → 3.0.1-pre.85
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 +9392 -8315
- package/bundles/openmrs-ngx-formentry.umd.js.map +1 -1
- package/components/afe-ng-select.component.d.ts +5 -3
- package/components/appointments-overview/appointments-overview.component.d.ts +5 -3
- package/components/check-box/checkbox.component.d.ts +6 -3
- package/components/check-box/checkbox.module.d.ts +7 -0
- package/components/custom-component-wrapper/custom-component-wrapper..module.d.ts +7 -0
- package/components/custom-component-wrapper/custom-component-wrapper.component.d.ts +4 -3
- package/components/custom-control-wrapper/custom-control-wrapper..module.d.ts +8 -0
- package/components/custom-control-wrapper/custom-control-wrapper.component.d.ts +3 -0
- package/components/date-time-picker/date-picker/date-picker.component.d.ts +5 -2
- package/components/date-time-picker/date-time-picker.component.d.ts +6 -4
- package/components/date-time-picker/date-time-picker.module.d.ts +11 -3
- package/components/date-time-picker/index.d.ts +8 -0
- package/components/date-time-picker/picker-modal/modal.component.d.ts +6 -4
- package/components/date-time-picker/pipes/moment.pipe.d.ts +3 -0
- package/components/date-time-picker/time-picker/time-picker.component.d.ts +5 -2
- package/components/file-upload/file-upload.component.d.ts +4 -1
- package/components/file-upload/file-upload.module.d.ts +10 -0
- package/components/file-upload/secure.pipe.d.ts +3 -0
- package/components/input/input.directive.d.ts +5 -2
- package/components/input/input.module.d.ts +9 -0
- package/components/input/label.component.d.ts +13 -10
- package/components/input/text-area.directive.d.ts +5 -2
- package/components/ngx-datetime-picker/ngx-datetime-picker.component.d.ts +4 -0
- package/components/ngx-datetime-picker/ngx-datetime-picker.module.d.ts +9 -3
- package/components/ngx-pick-datetime/lib/date-time/adapter/native-date-time-adapter.class.d.ts +3 -3
- package/components/ngx-pick-datetime/lib/date-time/adapter/native-date-time.module.d.ts +8 -3
- package/components/ngx-pick-datetime/lib/date-time/calendar-body.component.d.ts +7 -8
- package/components/ngx-pick-datetime/lib/date-time/calendar-month-view.component.d.ts +4 -4
- package/components/ngx-pick-datetime/lib/date-time/calendar-multi-year-view.component.d.ts +8 -9
- package/components/ngx-pick-datetime/lib/date-time/calendar-year-view.component.d.ts +5 -5
- package/components/ngx-pick-datetime/lib/date-time/calendar.component.d.ts +6 -10
- package/components/ngx-pick-datetime/lib/date-time/date-time-inline.component.d.ts +7 -5
- package/components/ngx-pick-datetime/lib/date-time/date-time-picker-container.component.d.ts +17 -18
- package/components/ngx-pick-datetime/lib/date-time/date-time-picker-input.directive.d.ts +12 -15
- package/components/ngx-pick-datetime/lib/date-time/date-time-picker-intl.service.d.ts +3 -3
- package/components/ngx-pick-datetime/lib/date-time/date-time-picker-trigger.directive.d.ts +7 -8
- package/components/ngx-pick-datetime/lib/date-time/date-time-picker.component.d.ts +5 -6
- package/components/ngx-pick-datetime/lib/date-time/date-time.class.d.ts +3 -0
- package/components/ngx-pick-datetime/lib/date-time/date-time.module.d.ts +21 -3
- package/components/ngx-pick-datetime/lib/date-time/numberedFixLen.pipe.d.ts +3 -0
- package/components/ngx-pick-datetime/lib/date-time/timer-box.component.d.ts +4 -4
- package/components/ngx-pick-datetime/lib/date-time/timer.component.d.ts +7 -8
- package/components/ngx-pick-datetime/lib/dialog/dialog-container.component.d.ts +17 -15
- package/components/ngx-pick-datetime/lib/dialog/dialog.module.d.ts +9 -3
- package/components/ngx-pick-datetime/lib/dialog/dialog.service.d.ts +3 -0
- package/components/ngx-remote-select/ngx-remote-select.component.d.ts +7 -4
- package/components/ngx-remote-select/ngx-remote-select.module.d.ts +8 -0
- package/components/ngx-tabset/components/{tab-set.d.ts → ngx-tab-set.component.d.ts} +6 -3
- package/components/ngx-tabset/components/tab.component.d.ts +13 -0
- package/components/ngx-tabset/directives/hover-class.directive.d.ts +4 -1
- package/components/ngx-tabset/modules/ngx-tabset.module.d.ts +8 -0
- package/components/number-input/number-input.component.d.ts +4 -1
- package/components/number-input/number-input.module.d.ts +7 -0
- package/components/radio-button/radio.component.d.ts +22 -0
- package/components/radio-button/radio.module.d.ts +9 -0
- package/components/select/optgroup.directive.d.ts +4 -1
- package/components/select/option.directive.d.ts +4 -1
- package/components/select/select.component.d.ts +7 -4
- package/components/select/select.module.d.ts +9 -0
- package/esm2015/components/afe-ng-select.component.js +37 -23
- package/esm2015/components/appointments-overview/appointments-overview.component.js +15 -13
- package/esm2015/components/check-box/checkbox.component.js +37 -24
- package/esm2015/components/check-box/checkbox.module.js +13 -8
- package/esm2015/components/custom-component-wrapper/custom-component-wrapper..module.js +15 -10
- package/esm2015/components/custom-component-wrapper/custom-component-wrapper.component.js +17 -12
- package/esm2015/components/custom-control-wrapper/custom-control-wrapper..module.js +15 -10
- package/esm2015/components/custom-control-wrapper/custom-control-wrapper.component.js +27 -17
- package/esm2015/components/date-time-picker/date-picker/date-picker.component.js +33 -23
- package/esm2015/components/date-time-picker/date-time-picker.component.js +42 -27
- package/esm2015/components/date-time-picker/date-time-picker.module.js +34 -21
- package/esm2015/components/date-time-picker/index.js +9 -0
- package/esm2015/components/date-time-picker/picker-modal/modal.component.js +18 -17
- package/esm2015/components/date-time-picker/pipes/moment.pipe.js +8 -4
- package/esm2015/components/date-time-picker/time-picker/time-picker.component.js +35 -24
- package/esm2015/components/file-upload/file-upload.component.js +34 -22
- package/esm2015/components/file-upload/file-upload.module.js +31 -16
- package/esm2015/components/file-upload/secure.pipe.js +12 -13
- package/esm2015/components/input/input.directive.js +43 -20
- package/esm2015/components/input/input.module.js +16 -11
- package/esm2015/components/input/label.component.js +130 -44
- package/esm2015/components/input/text-area.directive.js +30 -16
- package/esm2015/components/ngx-datetime-picker/ngx-datetime-picker.component.js +41 -21
- package/esm2015/components/ngx-datetime-picker/ngx-datetime-picker.module.js +28 -16
- package/esm2015/components/ngx-pick-datetime/lib/date-time/adapter/native-date-time-adapter.class.js +14 -11
- package/esm2015/components/ngx-pick-datetime/lib/date-time/adapter/native-date-time.module.js +26 -17
- package/esm2015/components/ngx-pick-datetime/lib/date-time/calendar-body.component.js +39 -39
- package/esm2015/components/ngx-pick-datetime/lib/date-time/calendar-month-view.component.js +58 -42
- package/esm2015/components/ngx-pick-datetime/lib/date-time/calendar-multi-year-view.component.js +58 -47
- package/esm2015/components/ngx-pick-datetime/lib/date-time/calendar-year-view.component.js +57 -43
- package/esm2015/components/ngx-pick-datetime/lib/date-time/calendar.component.js +67 -53
- package/esm2015/components/ngx-pick-datetime/lib/date-time/date-time-inline.component.js +56 -42
- package/esm2015/components/ngx-pick-datetime/lib/date-time/date-time-picker-container.component.js +92 -73
- package/esm2015/components/ngx-pick-datetime/lib/date-time/date-time-picker-input.directive.js +121 -97
- package/esm2015/components/ngx-pick-datetime/lib/date-time/date-time-picker-intl.service.js +7 -5
- package/esm2015/components/ngx-pick-datetime/lib/date-time/date-time-picker-trigger.directive.js +31 -32
- package/esm2015/components/ngx-pick-datetime/lib/date-time/date-time-picker.component.js +58 -42
- package/esm2015/components/ngx-pick-datetime/lib/date-time/date-time.class.js +31 -18
- package/esm2015/components/ngx-pick-datetime/lib/date-time/date-time.module.js +59 -34
- package/esm2015/components/ngx-pick-datetime/lib/date-time/numberedFixLen.pipe.js +10 -6
- package/esm2015/components/ngx-pick-datetime/lib/date-time/timer-box.component.js +49 -38
- package/esm2015/components/ngx-pick-datetime/lib/date-time/timer.component.js +52 -46
- package/esm2015/components/ngx-pick-datetime/lib/dialog/dialog-container.component.js +114 -75
- package/esm2015/components/ngx-pick-datetime/lib/dialog/dialog.module.js +15 -10
- package/esm2015/components/ngx-pick-datetime/lib/dialog/dialog.service.js +24 -13
- package/esm2015/components/ngx-remote-select/ngx-remote-select.component.js +42 -28
- package/esm2015/components/ngx-remote-select/ngx-remote-select.module.js +14 -9
- package/esm2015/components/ngx-tabset/components/ngx-tab-set.component.js +76 -0
- package/esm2015/components/ngx-tabset/components/tab.component.js +37 -0
- package/esm2015/components/ngx-tabset/directives/hover-class.directive.js +18 -14
- package/esm2015/components/ngx-tabset/modules/ngx-tabset.module.js +15 -10
- package/esm2015/components/number-input/number-input.component.js +70 -40
- package/esm2015/components/number-input/number-input.module.js +14 -9
- package/esm2015/components/radio-button/radio.component.js +89 -0
- package/esm2015/components/radio-button/radio.module.js +19 -0
- package/esm2015/components/select/optgroup.directive.js +15 -13
- package/esm2015/components/select/option.directive.js +15 -13
- package/esm2015/components/select/select.component.js +68 -174
- package/esm2015/components/select/select.module.js +16 -11
- package/esm2015/form-entry/control-hiders-disablers/disabler-helper.js +1 -2
- package/esm2015/form-entry/data-sources/data-sources.js +7 -7
- package/esm2015/form-entry/directives/collapse.directive.js +45 -30
- package/esm2015/form-entry/directives/historical-value.directive.js +71 -0
- package/esm2015/form-entry/error-renderer/error-renderer.component.js +17 -16
- package/esm2015/form-entry/expression-runner/expression-runner.js +7 -5
- package/esm2015/form-entry/form-entry.module.js +143 -63
- package/esm2015/form-entry/form-factory/control-relations.factory.js +7 -5
- package/esm2015/form-entry/form-factory/form-control.service.js +10 -9
- package/esm2015/form-entry/form-factory/form-node.js +19 -4
- package/esm2015/form-entry/form-factory/form.factory.js +20 -11
- package/esm2015/form-entry/form-factory/form.js +1 -5
- package/esm2015/form-entry/form-factory/hiders-disablers.factory.js +10 -9
- package/esm2015/form-entry/form-factory/question.factory.js +90 -6
- package/esm2015/form-entry/form-factory/show-messages.factory.js +9 -8
- package/esm2015/form-entry/form-factory/validation.factory.js +7 -5
- package/esm2015/form-entry/form-renderer/form-renderer.component.js +93 -56
- package/esm2015/form-entry/helpers/historical-expression-helper-service.js +17 -13
- package/esm2015/form-entry/helpers/historical-field-helper-service.js +7 -4
- package/esm2015/form-entry/helpers/js-expression-helper.js +22 -4
- package/esm2015/form-entry/helpers/risk-dataset-table.js +247 -0
- package/esm2015/form-entry/pipes/time-ago.pipe.js +11 -11
- package/esm2015/form-entry/question-models/checkbox.model.js +2 -2
- package/esm2015/form-entry/question-models/interfaces/base-options.js +1 -1
- package/esm2015/form-entry/question-models/interfaces/date-question-options.js +1 -1
- package/esm2015/form-entry/question-models/interfaces/radio-button-options.js +2 -0
- package/esm2015/form-entry/question-models/interfaces/repeating-question-options.js +1 -1
- package/esm2015/form-entry/question-models/models.js +2 -1
- package/esm2015/form-entry/question-models/question-base.js +2 -1
- package/esm2015/form-entry/question-models/radio-button.model.js +12 -0
- package/esm2015/form-entry/services/debug-mode.service.js +7 -5
- package/esm2015/form-entry/services/form-errors.service.js +7 -4
- package/esm2015/form-entry/services/form-schema-compiler.service.js +9 -7
- package/esm2015/form-entry/services/historical-encounter-data.service.js +8 -6
- package/esm2015/form-entry/value-adapters/encounter.adapter.js +9 -10
- package/esm2015/form-entry/value-adapters/obs-adapter-helper.js +31 -15
- package/esm2015/form-entry/value-adapters/obs.adapter.js +8 -11
- package/esm2015/form-entry/value-adapters/order.adapter.js +7 -7
- package/esm2015/form-entry/value-adapters/person-attribute.adapter.js +7 -6
- package/esm2015/lib/index.js +10 -1
- package/esm2015/openmrs-ngx-formentry.js +1 -72
- package/esm2015/shared.module.js +15 -9
- package/fesm2015/openmrs-ngx-formentry.js +10913 -10055
- package/fesm2015/openmrs-ngx-formentry.js.map +1 -1
- package/form-entry/data-sources/data-sources.d.ts +3 -0
- package/form-entry/directives/collapse.directive.d.ts +3 -0
- package/form-entry/directives/{historical-value-directive.d.ts → historical-value.directive.d.ts} +3 -0
- package/form-entry/error-renderer/error-renderer.component.d.ts +4 -3
- package/form-entry/expression-runner/expression-runner.d.ts +3 -0
- package/form-entry/form-entry.module.d.ts +28 -0
- package/form-entry/form-factory/control-relations.factory.d.ts +3 -0
- package/form-entry/form-factory/form-control.service.d.ts +3 -0
- package/form-entry/form-factory/form-node.d.ts +3 -2
- package/form-entry/form-factory/form.factory.d.ts +5 -1
- package/form-entry/form-factory/hiders-disablers.factory.d.ts +3 -0
- package/form-entry/form-factory/question.factory.d.ts +6 -0
- package/form-entry/form-factory/show-messages.factory.d.ts +3 -0
- package/form-entry/form-factory/validation.factory.d.ts +3 -0
- package/form-entry/form-renderer/form-renderer.component.d.ts +13 -2
- package/form-entry/helpers/historical-expression-helper-service.d.ts +4 -1
- package/form-entry/helpers/historical-field-helper-service.d.ts +3 -0
- package/form-entry/helpers/js-expression-helper.d.ts +5 -0
- package/form-entry/helpers/risk-dataset-table.d.ts +1 -0
- package/form-entry/pipes/time-ago.pipe.d.ts +3 -0
- package/form-entry/question-models/interfaces/base-options.d.ts +2 -0
- package/form-entry/question-models/interfaces/radio-button-options.d.ts +8 -0
- package/form-entry/question-models/interfaces/repeating-question-options.d.ts +2 -0
- package/form-entry/question-models/models.d.ts +1 -0
- package/form-entry/question-models/question-base.d.ts +5 -0
- package/form-entry/question-models/radio-button.model.d.ts +7 -0
- package/form-entry/services/debug-mode.service.d.ts +3 -0
- package/form-entry/services/form-errors.service.d.ts +3 -0
- package/form-entry/services/form-schema-compiler.service.d.ts +3 -0
- package/form-entry/services/historical-encounter-data.service.d.ts +3 -0
- package/form-entry/value-adapters/encounter.adapter.d.ts +3 -0
- package/form-entry/value-adapters/obs-adapter-helper.d.ts +7 -0
- package/form-entry/value-adapters/obs.adapter.d.ts +3 -0
- package/form-entry/value-adapters/order.adapter.d.ts +3 -0
- package/form-entry/value-adapters/person-attribute.adapter.d.ts +3 -0
- package/lib/index.d.ts +9 -0
- package/openmrs-ngx-formentry.d.ts +1 -81
- package/package.json +3 -4
- package/shared.module.d.ts +7 -0
- package/styles/ngx-formentry.css +1 -1
- package/bundles/openmrs-ngx-formentry.umd.min.js +0 -2
- package/bundles/openmrs-ngx-formentry.umd.min.js.map +0 -1
- package/components/ngx-tabset/components/tab.d.ts +0 -10
- package/esm2015/components/ngx-tabset/components/tab-set.js +0 -67
- package/esm2015/components/ngx-tabset/components/tab.js +0 -35
- package/esm2015/form-entry/directives/historical-value-directive.js +0 -66
- package/esm2015/form-entry/form-renderer/form-renderer.component.css.js +0 -179
- package/form-entry/form-renderer/form-renderer.component.css.d.ts +0 -1
- package/openmrs-ngx-formentry.metadata.json +0 -1
|
@@ -1,9 +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
8
|
subject: BehaviorSubject<Option[]>;
|
|
8
9
|
subjectOption: BehaviorSubject<Option>;
|
|
9
10
|
dataSource: DataSource;
|
|
@@ -17,10 +18,11 @@ export declare class AfeNgSelectComponent implements ControlValueAccessor, OnIni
|
|
|
17
18
|
writeValue(obj: any): void;
|
|
18
19
|
registerOnChange(fn: any): void;
|
|
19
20
|
registerOnTouched(fn: any): void;
|
|
20
|
-
ngOnChanges(changes: any): void;
|
|
21
21
|
ngOnInit(): void;
|
|
22
22
|
getData(searchText: string): Observable<Option[]>;
|
|
23
23
|
onValueChange(event: any): void;
|
|
24
24
|
resolveSelectedOption(value: any): Observable<Option>;
|
|
25
25
|
resetOptions(): void;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AfeNgSelectComponent, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AfeNgSelectComponent, "ofe-ng-select", never, { "dataSource": "dataSource"; "multiple": "multiple"; "extras": "extras"; }, {}, never, never>;
|
|
26
28
|
}
|
|
@@ -1,6 +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 OnChanges {
|
|
4
5
|
node: LeafNode;
|
|
5
6
|
showAppointments: boolean;
|
|
6
7
|
loadingAppointments: boolean;
|
|
@@ -9,7 +10,8 @@ export declare class AppointmentsOverviewComponent implements OnInit, OnChanges
|
|
|
9
10
|
appointments: Array<any>;
|
|
10
11
|
today: string;
|
|
11
12
|
constructor();
|
|
12
|
-
ngOnInit(): void;
|
|
13
13
|
ngOnChanges(): void;
|
|
14
14
|
resetProperties(): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppointmentsOverviewComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AppointmentsOverviewComponent, "ofe-appointments-overview", never, { "node": "node"; }, {}, never, never>;
|
|
15
17
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { OnInit
|
|
2
|
-
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class CheckboxControlComponent implements OnInit {
|
|
4
|
+
id: String;
|
|
3
5
|
options: Array<any>;
|
|
4
6
|
selected: Array<any>;
|
|
5
7
|
_value: Array<any>;
|
|
6
8
|
ngOnInit(): void;
|
|
7
|
-
ngAfterViewInit(): void;
|
|
8
9
|
writeValue(value: any): void;
|
|
9
10
|
registerOnChange(fn: (_: any) => void): void;
|
|
10
11
|
registerOnTouched(fn: () => void): void;
|
|
@@ -13,4 +14,6 @@ export declare class CheckboxControlComponent implements OnInit, AfterViewInit {
|
|
|
13
14
|
selectOpt(option: any, event: any): void;
|
|
14
15
|
private onChange;
|
|
15
16
|
private onTouched;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxControlComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxControlComponent, "ofe-checkbox", never, { "id": "id"; "options": "options"; "selected": "selected"; }, {}, never, never>;
|
|
16
19
|
}
|
|
@@ -1,2 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./checkbox.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
1
5
|
export declare class CheckboxModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CheckboxModule, [typeof i1.CheckboxControlComponent], [typeof i2.CommonModule, typeof i3.FormsModule], [typeof i1.CheckboxControlComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CheckboxModule>;
|
|
2
9
|
}
|
|
@@ -1,2 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./custom-component-wrapper.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular-extensions/elements";
|
|
1
5
|
export declare class CustomComponentWrapperModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomComponentWrapperModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CustomComponentWrapperModule, [typeof i1.CustomComponentWrapperComponent], [typeof i2.CommonModule, typeof i3.LazyElementsModule], [typeof i1.CustomComponentWrapperComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CustomComponentWrapperModule>;
|
|
2
9
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
export declare class CustomComponentWrapperComponent
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class CustomComponentWrapperComponent {
|
|
3
3
|
componentConfigs: Array<{
|
|
4
4
|
tag: '';
|
|
5
5
|
url?: '';
|
|
@@ -7,5 +7,6 @@ export declare class CustomComponentWrapperComponent implements OnInit {
|
|
|
7
7
|
detail?: any;
|
|
8
8
|
}>;
|
|
9
9
|
dark: boolean;
|
|
10
|
-
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomComponentWrapperComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CustomComponentWrapperComponent, "ofe-custom-component-wrapper", never, { "componentConfigs": "componentConfigs"; "dark": "dark"; }, {}, never, never>;
|
|
11
12
|
}
|
|
@@ -1,2 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./custom-control-wrapper.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "@angular-extensions/elements";
|
|
1
6
|
export declare class CustomControlWrapperModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomControlWrapperModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CustomControlWrapperModule, [typeof i1.CustomControlWrapperComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.LazyElementsModule], [typeof i1.CustomControlWrapperComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CustomControlWrapperModule>;
|
|
2
10
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import { CustomControlQuestion } from '../../form-entry/question-models/custom-control-question.model';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class CustomControlWrapperComponent implements ControlValueAccessor, OnInit {
|
|
5
6
|
customControlConfig: {
|
|
6
7
|
tag: string;
|
|
@@ -22,4 +23,6 @@ export declare class CustomControlWrapperComponent implements ControlValueAccess
|
|
|
22
23
|
registerOnTouched(onTouched: any): void;
|
|
23
24
|
markAsTouched(): void;
|
|
24
25
|
setDisabledState(disabled: boolean): void;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomControlWrapperComponent, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CustomControlWrapperComponent, "ofe-custom-control-wrapper", never, { "question": "question"; }, {}, never, never>;
|
|
25
28
|
}
|
|
@@ -3,14 +3,15 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { OnInit, EventEmitter } from '@angular/core';
|
|
5
5
|
import { Moment } from 'moment';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class DatePickerComponent implements OnInit {
|
|
7
8
|
dayNames: Array<string>;
|
|
8
9
|
initDate: any;
|
|
9
10
|
locale: string;
|
|
10
11
|
viewFormat: string;
|
|
11
12
|
returnObject: string;
|
|
12
|
-
|
|
13
|
-
|
|
13
|
+
datePickerCancel: EventEmitter<boolean>;
|
|
14
|
+
dateSelect: EventEmitter<any>;
|
|
14
15
|
calendarDate: Moment;
|
|
15
16
|
selectedDate: Moment;
|
|
16
17
|
currentMonth: any;
|
|
@@ -39,4 +40,6 @@ export declare class DatePickerComponent implements OnInit {
|
|
|
39
40
|
protected initValue(): void;
|
|
40
41
|
protected generateCalendar(): void;
|
|
41
42
|
protected parseToReturnObjectType(day: Moment): any;
|
|
43
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerComponent, never>;
|
|
44
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DatePickerComponent, "ofe-date-picker", never, { "initDate": "initDate"; "locale": "locale"; "viewFormat": "viewFormat"; "returnObject": "returnObject"; }, { "datePickerCancel": "datePickerCancel"; "dateSelect": "dateSelect"; }, never, never>;
|
|
42
45
|
}
|
|
@@ -1,18 +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 ControlValueAccessor {
|
|
4
5
|
modelValue: any;
|
|
5
6
|
showDate: boolean;
|
|
6
7
|
showTime: boolean;
|
|
7
8
|
showWeeks: boolean;
|
|
8
9
|
weeks: number[];
|
|
9
|
-
|
|
10
|
+
dateChange: EventEmitter<any>;
|
|
10
11
|
showDatePicker: boolean;
|
|
11
12
|
showTimePicker: boolean;
|
|
12
13
|
onChange: any;
|
|
13
14
|
onTouched: any;
|
|
14
15
|
constructor();
|
|
15
|
-
ngOnInit(): void;
|
|
16
16
|
weeksSelected(count: any): void;
|
|
17
17
|
setDate(date: any): void;
|
|
18
18
|
setTime(time: any): void;
|
|
@@ -23,4 +23,6 @@ export declare class DateTimePickerComponent implements OnInit, ControlValueAcce
|
|
|
23
23
|
registerOnChange(fn: any): void;
|
|
24
24
|
registerOnTouched(fn: any): void;
|
|
25
25
|
writeValue(value: any): void;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateTimePickerComponent, never>;
|
|
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>;
|
|
26
28
|
}
|
|
@@ -1,5 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
* date-
|
|
3
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./date-picker/date-picker.component";
|
|
3
|
+
import * as i2 from "./time-picker/time-picker.component";
|
|
4
|
+
import * as i3 from "./picker-modal/modal.component";
|
|
5
|
+
import * as i4 from "./pipes/moment.pipe";
|
|
6
|
+
import * as i5 from "./date-time-picker.component";
|
|
7
|
+
import * as i6 from "@angular/common";
|
|
8
|
+
import * as i7 from "@angular/forms";
|
|
4
9
|
export declare class DateTimePickerModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateTimePickerModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DateTimePickerModule, [typeof i1.DatePickerComponent, typeof i2.TimePickerComponent, typeof i3.ModalComponent, typeof i4.MomentPipe, typeof i5.DateTimePickerComponent], [typeof i6.CommonModule, typeof i7.FormsModule], [typeof i1.DatePickerComponent, typeof i2.TimePickerComponent, typeof i3.ModalComponent, typeof i4.MomentPipe, typeof i5.DateTimePickerComponent]>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DateTimePickerModule>;
|
|
5
13
|
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* modal.component
|
|
3
3
|
*/
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
import { EventEmitter } from '@angular/core';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ModalComponent {
|
|
7
|
+
overlayClick: EventEmitter<boolean>;
|
|
7
8
|
constructor();
|
|
8
|
-
ngOnInit(): void;
|
|
9
9
|
closeModal(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModalComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModalComponent, "ofe-picker-modal", never, {}, { "overlayClick": "overlayClick"; }, never, ["*"]>;
|
|
10
12
|
}
|
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { PipeTransform } from '@angular/core';
|
|
5
5
|
import { Moment } from 'moment/moment';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class MomentPipe implements PipeTransform {
|
|
7
8
|
transform(moment: Moment, format?: string): string;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MomentPipe, never>;
|
|
10
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<MomentPipe, "moment">;
|
|
8
11
|
}
|
|
@@ -3,14 +3,15 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { OnInit, EventEmitter } from '@angular/core';
|
|
5
5
|
import { Moment } from 'moment';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class TimePickerComponent implements OnInit {
|
|
7
8
|
initTime: any;
|
|
8
9
|
showSecond: boolean;
|
|
9
10
|
viewFormat: string;
|
|
10
11
|
use12Hour: boolean;
|
|
11
12
|
returnObject: string;
|
|
12
|
-
|
|
13
|
-
|
|
13
|
+
timeSelect: EventEmitter<any>;
|
|
14
|
+
timePickerCancel: EventEmitter<boolean>;
|
|
14
15
|
hourFormat: string;
|
|
15
16
|
time: Moment;
|
|
16
17
|
constructor();
|
|
@@ -26,4 +27,6 @@ export declare class TimePickerComponent implements OnInit {
|
|
|
26
27
|
clearTime(): void;
|
|
27
28
|
cancelTimePicker(): void;
|
|
28
29
|
protected parseToReturnObjectType(time: Moment): any;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TimePickerComponent, never>;
|
|
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>;
|
|
29
32
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { OnInit, Renderer2 } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import { DataSource } from '../../form-entry/question-models/interfaces/data-source';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class FileUploadComponent implements OnInit, ControlValueAccessor {
|
|
5
6
|
private renderer;
|
|
6
7
|
uploading: boolean;
|
|
@@ -8,9 +9,9 @@ export declare class FileUploadComponent implements OnInit, ControlValueAccessor
|
|
|
8
9
|
pdfUploaded: boolean;
|
|
9
10
|
formEntryMode: boolean;
|
|
10
11
|
pdfUrl: string;
|
|
11
|
-
private _dataSource;
|
|
12
12
|
get dataSource(): DataSource;
|
|
13
13
|
set dataSource(v: DataSource);
|
|
14
|
+
private _dataSource;
|
|
14
15
|
constructor(renderer: Renderer2);
|
|
15
16
|
ngOnInit(): void;
|
|
16
17
|
onFileChange(fileList: any): void;
|
|
@@ -23,4 +24,6 @@ export declare class FileUploadComponent implements OnInit, ControlValueAccessor
|
|
|
23
24
|
clearValue(): void;
|
|
24
25
|
getPdfUrl(fileUuid: string): void;
|
|
25
26
|
checkFileType(): void;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadComponent, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadComponent, "ofe-file-upload", never, { "dataSource": "dataSource"; }, {}, never, never>;
|
|
26
29
|
}
|
|
@@ -1,2 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./file-upload.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "../../shared.module";
|
|
6
|
+
import * as i5 from "ngx-webcam";
|
|
7
|
+
import * as i6 from "ngx-file-uploader-openmrs";
|
|
1
8
|
export declare class RemoteFileUploadModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RemoteFileUploadModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<RemoteFileUploadModule, [typeof i1.FileUploadComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.SharedModule, typeof i5.WebcamModule, typeof i6.NgxFileUploaderModule], [typeof i1.FileUploadComponent]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<RemoteFileUploadModule>;
|
|
2
12
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { PipeTransform, OnDestroy, ChangeDetectorRef } from '@angular/core';
|
|
2
2
|
import { DomSanitizer } from '@angular/platform-browser';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class SecurePipe implements PipeTransform, OnDestroy {
|
|
4
5
|
private _ref;
|
|
5
6
|
private sanitizer;
|
|
@@ -20,4 +21,6 @@ export declare class SecurePipe implements PipeTransform, OnDestroy {
|
|
|
20
21
|
private _subscribe;
|
|
21
22
|
private _dispose;
|
|
22
23
|
private _updateLatestValue;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SecurePipe, never>;
|
|
25
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SecurePipe, "secure">;
|
|
23
26
|
}
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
1
2
|
/**
|
|
2
3
|
* A directive for applying styling to an input element.
|
|
3
4
|
*
|
|
4
5
|
* Example:
|
|
5
6
|
*
|
|
6
7
|
* ```html
|
|
7
|
-
* <input
|
|
8
|
+
* <input ofeTextInput/>
|
|
8
9
|
* ```
|
|
9
10
|
*
|
|
10
11
|
* See the [vanilla carbon docs](http://www.carbondesignsystem.com/components/text-input/code) for more detail.
|
|
11
12
|
*/
|
|
12
|
-
export declare class
|
|
13
|
+
export declare class TextInputDirective {
|
|
13
14
|
/**
|
|
14
15
|
* `light` or `dark` input theme
|
|
15
16
|
*/
|
|
@@ -25,4 +26,6 @@ export declare class TextInput {
|
|
|
25
26
|
warn: boolean;
|
|
26
27
|
skeleton: boolean;
|
|
27
28
|
get isLightTheme(): boolean;
|
|
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>;
|
|
28
31
|
}
|
|
@@ -1,2 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./label.component";
|
|
3
|
+
import * as i2 from "./input.directive";
|
|
4
|
+
import * as i3 from "./text-area.directive";
|
|
5
|
+
import * as i4 from "@angular/common";
|
|
6
|
+
import * as i5 from "@angular/forms";
|
|
1
7
|
export declare class InputModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputModule, never>;
|
|
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
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<InputModule>;
|
|
2
11
|
}
|
|
@@ -1,28 +1,29 @@
|
|
|
1
1
|
import { AfterViewInit, ElementRef, TemplateRef, AfterContentInit } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { TextAreaDirective } from './text-area.directive';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
/**
|
|
4
5
|
* [See demo](../../?path=/story/input--label)
|
|
5
6
|
*
|
|
6
7
|
* ```html
|
|
7
|
-
* <
|
|
8
|
+
* <ofe-label labelState="success">
|
|
8
9
|
* <label label>Field with success</label>
|
|
9
10
|
* <input type="text" class="input-field">
|
|
10
|
-
* </
|
|
11
|
+
* </ofe-label>
|
|
11
12
|
*
|
|
12
|
-
* <
|
|
13
|
+
* <ofe-label labelState="warning">
|
|
13
14
|
* <label label>Field with warning</label>
|
|
14
15
|
* <input type="text" class="input-field">
|
|
15
|
-
* </
|
|
16
|
+
* </ofe-label>
|
|
16
17
|
*
|
|
17
|
-
* <
|
|
18
|
+
* <ofe-label labelState="error">
|
|
18
19
|
* <label label>Field with error</label>
|
|
19
20
|
* <input type="text" class="input-field">
|
|
20
|
-
* </
|
|
21
|
+
* </ofe-label>
|
|
21
22
|
* ```
|
|
22
23
|
*
|
|
23
24
|
* <example-url>../../iframe.html?id=input--label</example-url>
|
|
24
25
|
*/
|
|
25
|
-
export declare class
|
|
26
|
+
export declare class LabelComponent implements AfterContentInit, AfterViewInit {
|
|
26
27
|
/**
|
|
27
28
|
* Used to build the id of the input item associated with the `Label`.
|
|
28
29
|
*/
|
|
@@ -69,10 +70,10 @@ export declare class Label implements AfterContentInit, AfterViewInit {
|
|
|
69
70
|
*/
|
|
70
71
|
ariaLabel: string;
|
|
71
72
|
wrapper: ElementRef<HTMLDivElement>;
|
|
72
|
-
textArea:
|
|
73
|
+
textArea: TextAreaDirective;
|
|
73
74
|
labelClass: boolean;
|
|
74
75
|
/**
|
|
75
|
-
* Creates an instance of
|
|
76
|
+
* Creates an instance of LabelComponent.
|
|
76
77
|
*/
|
|
77
78
|
constructor();
|
|
78
79
|
/**
|
|
@@ -84,4 +85,6 @@ export declare class Label implements AfterContentInit, AfterViewInit {
|
|
|
84
85
|
*/
|
|
85
86
|
ngAfterViewInit(): void;
|
|
86
87
|
isTemplate(value: any): boolean;
|
|
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"]>;
|
|
87
90
|
}
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
1
2
|
/**
|
|
2
3
|
* A directive for applying styling to a textarea element.
|
|
3
4
|
*
|
|
4
5
|
* Example:
|
|
5
6
|
*
|
|
6
7
|
* ```html
|
|
7
|
-
* <textarea
|
|
8
|
+
* <textarea ofeTextAreaInput></textarea>
|
|
8
9
|
* ```
|
|
9
10
|
*
|
|
10
11
|
* See the [vanilla carbon docs](http://www.carbondesignsystem.com/components/text-input/code) for more detail.
|
|
11
12
|
*/
|
|
12
|
-
export declare class
|
|
13
|
+
export declare class TextAreaDirective {
|
|
13
14
|
/**
|
|
14
15
|
* `light` or `dark` input theme
|
|
15
16
|
*/
|
|
@@ -18,4 +19,6 @@ export declare class TextArea {
|
|
|
18
19
|
invalid: boolean;
|
|
19
20
|
skeleton: boolean;
|
|
20
21
|
get isLightTheme(): boolean;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TextAreaDirective, never>;
|
|
23
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TextAreaDirective, "[ofeTextAreaInput]", never, { "theme": "theme"; "invalid": "invalid"; "skeleton": "skeleton"; }, {}, never>;
|
|
21
24
|
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { ControlValueAccessor } from '@angular/forms';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class NgxDatetimeComponent implements ControlValueAccessor {
|
|
3
4
|
value: string;
|
|
4
5
|
isDisabled: boolean;
|
|
5
6
|
id: string;
|
|
6
7
|
theme: string;
|
|
8
|
+
datePickerFormat: string;
|
|
7
9
|
showWeeks: boolean;
|
|
8
10
|
weeks: number[];
|
|
9
11
|
onChange: (_: any) => void;
|
|
@@ -14,4 +16,6 @@ export declare class NgxDatetimeComponent implements ControlValueAccessor {
|
|
|
14
16
|
registerOnTouched(fn: any): void;
|
|
15
17
|
setDisabledState(isDisabled: boolean): void;
|
|
16
18
|
onWeeksSelected(numberOfWeeks: number): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgxDatetimeComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgxDatetimeComponent, "ofe-ngx-date-time-picker", never, { "id": "id"; "theme": "theme"; "datePickerFormat": "datePickerFormat"; "showWeeks": "showWeeks"; "weeks": "weeks"; }, {}, never, never>;
|
|
17
21
|
}
|
|
@@ -1,5 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./ngx-datetime-picker.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "../ngx-pick-datetime/lib/date-time/date-time.module";
|
|
6
|
+
import * as i5 from "../ngx-pick-datetime/lib/date-time/adapter/native-date-time.module";
|
|
4
7
|
export declare class NgxDateTimePickerModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgxDateTimePickerModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NgxDateTimePickerModule, [typeof i1.NgxDatetimeComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.OwlDateTimeModule, typeof i5.OwlNativeDateTimeModule], [typeof i1.NgxDatetimeComponent]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NgxDateTimePickerModule>;
|
|
5
11
|
}
|
package/components/ngx-pick-datetime/lib/date-time/adapter/native-date-time-adapter.class.d.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* native-date-time-adapter.class
|
|
3
|
-
*/
|
|
4
1
|
import { Platform } from '@angular/cdk/platform';
|
|
5
2
|
import { DateTimeAdapter } from './date-time-adapter.class';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
6
4
|
export declare class NativeDateTimeAdapter extends DateTimeAdapter<Date> {
|
|
7
5
|
private owlDateTimeLocale;
|
|
8
6
|
/** Whether to clamp the date between 1 and 9999 to avoid IE and Edge errors. */
|
|
@@ -70,4 +68,6 @@ export declare class NativeDateTimeAdapter extends DateTimeAdapter<Date> {
|
|
|
70
68
|
* representation with the local date and time.
|
|
71
69
|
*/
|
|
72
70
|
private _format;
|
|
71
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NativeDateTimeAdapter, [{ optional: true; }, null]>;
|
|
72
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NativeDateTimeAdapter>;
|
|
73
73
|
}
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
*/
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/cdk/platform";
|
|
4
3
|
export declare class NativeDateTimeModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NativeDateTimeModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NativeDateTimeModule, never, [typeof i1.PlatformModule], never>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NativeDateTimeModule>;
|
|
5
7
|
}
|
|
6
8
|
export declare class OwlNativeDateTimeModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OwlNativeDateTimeModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<OwlNativeDateTimeModule, never, [typeof NativeDateTimeModule], never>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<OwlNativeDateTimeModule>;
|
|
7
12
|
}
|
|
@@ -1,8 +1,6 @@
|
|
|
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';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
6
4
|
export declare class CalendarCell {
|
|
7
5
|
value: number;
|
|
8
6
|
displayValue: string;
|
|
@@ -12,9 +10,10 @@ export declare class CalendarCell {
|
|
|
12
10
|
cellClass: string;
|
|
13
11
|
constructor(value: number, displayValue: string, ariaLabel: string, enabled: boolean, out?: boolean, cellClass?: string);
|
|
14
12
|
}
|
|
15
|
-
export declare class OwlCalendarBodyComponent
|
|
13
|
+
export declare class OwlCalendarBodyComponent {
|
|
16
14
|
private elmRef;
|
|
17
15
|
private ngZone;
|
|
16
|
+
owlDTCalendarBodyClass: boolean;
|
|
18
17
|
/**
|
|
19
18
|
* The cell number of the active cell in the table.
|
|
20
19
|
*/
|
|
@@ -46,12 +45,10 @@ export declare class OwlCalendarBodyComponent implements OnInit {
|
|
|
46
45
|
/**
|
|
47
46
|
* Emit when a calendar cell is selected
|
|
48
47
|
* */
|
|
49
|
-
readonly
|
|
50
|
-
get owlDTCalendarBodyClass(): boolean;
|
|
48
|
+
readonly cellSelected: EventEmitter<CalendarCell>;
|
|
51
49
|
get isInSingleMode(): boolean;
|
|
52
50
|
get isInRangeMode(): boolean;
|
|
53
51
|
constructor(elmRef: ElementRef, ngZone: NgZone);
|
|
54
|
-
ngOnInit(): void;
|
|
55
52
|
selectCell(cell: CalendarCell): void;
|
|
56
53
|
isActiveCell(rowIndex: number, colIndex: number): boolean;
|
|
57
54
|
/**
|
|
@@ -74,4 +71,6 @@ export declare class OwlCalendarBodyComponent implements OnInit {
|
|
|
74
71
|
* Focus to a active cell
|
|
75
72
|
* */
|
|
76
73
|
focusActiveCell(): void;
|
|
74
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OwlCalendarBodyComponent, never>;
|
|
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>;
|
|
77
76
|
}
|
|
@@ -1,15 +1,14 @@
|
|
|
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';
|
|
7
4
|
import { OwlDateTimeFormats } from './adapter/date-time-format.class';
|
|
8
5
|
import { SelectMode } from './date-time.class';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
9
7
|
export declare class OwlMonthViewComponent<T> implements OnInit, AfterContentInit, OnDestroy {
|
|
10
8
|
private cdRef;
|
|
11
9
|
private dateTimeAdapter;
|
|
12
10
|
private dateTimeFormats;
|
|
11
|
+
get owlDTCalendarView(): boolean;
|
|
13
12
|
/**
|
|
14
13
|
* Whether to hide dates in other months at the start or end of the current month.
|
|
15
14
|
* */
|
|
@@ -88,7 +87,6 @@ export declare class OwlMonthViewComponent<T> implements OnInit, AfterContentIni
|
|
|
88
87
|
readonly pickerMomentChange: EventEmitter<T>;
|
|
89
88
|
/** The body of calendar table */
|
|
90
89
|
calendarBodyElm: OwlCalendarBodyComponent;
|
|
91
|
-
get owlDTCalendarView(): boolean;
|
|
92
90
|
constructor(cdRef: ChangeDetectorRef, dateTimeAdapter: DateTimeAdapter<T>, dateTimeFormats: OwlDateTimeFormats);
|
|
93
91
|
ngOnInit(): void;
|
|
94
92
|
ngAfterContentInit(): void;
|
|
@@ -136,4 +134,6 @@ export declare class OwlMonthViewComponent<T> implements OnInit, AfterContentIni
|
|
|
136
134
|
* */
|
|
137
135
|
private setSelectedDates;
|
|
138
136
|
private focusActiveCell;
|
|
137
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OwlMonthViewComponent<any>, [null, { optional: true; }, { optional: true; }]>;
|
|
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>;
|
|
139
139
|
}
|