@openmrs/ngx-formentry 3.2.1-pre.281 → 3.2.1-pre.286
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/abstract-controls-extension/afe-form-array.d.ts +2 -2
- package/abstract-controls-extension/afe-form-control.d.ts +2 -2
- package/abstract-controls-extension/afe-form-group.d.ts +2 -2
- package/components/afe-ng-select.component.d.ts +1 -1
- package/components/appointments-overview/appointments-overview.component.d.ts +1 -1
- package/components/check-box/checkbox.component.d.ts +1 -1
- package/components/custom-component-wrapper/custom-component-wrapper.component.d.ts +1 -1
- 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 +1 -1
- package/components/date-time-picker/date-time-picker.component.d.ts +1 -1
- package/components/date-time-picker/picker-modal/modal.component.d.ts +1 -1
- package/components/date-time-picker/pipes/moment.pipe.d.ts +1 -1
- package/components/date-time-picker/time-picker/time-picker.component.d.ts +1 -1
- package/components/file-upload/file-upload.component.d.ts +1 -1
- package/components/file-upload/file-upload.module.d.ts +1 -1
- package/components/file-upload/secure.pipe.d.ts +1 -1
- package/components/input/input.directive.d.ts +1 -1
- package/components/input/label.component.d.ts +1 -1
- package/components/input/text-area.directive.d.ts +1 -1
- 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 +1 -1
- package/components/ngx-pick-datetime/lib/date-time/calendar-month-view.component.d.ts +1 -1
- package/components/ngx-pick-datetime/lib/date-time/calendar-multi-year-view.component.d.ts +1 -1
- package/components/ngx-pick-datetime/lib/date-time/calendar-year-view.component.d.ts +1 -1
- package/components/ngx-pick-datetime/lib/date-time/calendar.component.d.ts +1 -1
- package/components/ngx-pick-datetime/lib/date-time/date-time-inline.component.d.ts +1 -1
- package/components/ngx-pick-datetime/lib/date-time/date-time-picker-container.component.d.ts +1 -1
- package/components/ngx-pick-datetime/lib/date-time/date-time-picker-input.directive.d.ts +1 -1
- package/components/ngx-pick-datetime/lib/date-time/date-time-picker-trigger.directive.d.ts +1 -1
- package/components/ngx-pick-datetime/lib/date-time/date-time-picker.component.d.ts +1 -1
- package/components/ngx-pick-datetime/lib/date-time/numberedFixLen.pipe.d.ts +1 -1
- package/components/ngx-pick-datetime/lib/date-time/timer-box.component.d.ts +1 -1
- package/components/ngx-pick-datetime/lib/date-time/timer.component.d.ts +1 -1
- package/components/ngx-pick-datetime/lib/dialog/dialog-container.component.d.ts +1 -1
- package/components/ngx-remote-select/ngx-remote-select.component.d.ts +1 -1
- package/components/ngx-tabset/components/ngx-tab-set.component.d.ts +1 -1
- package/components/ngx-tabset/components/tab.component.d.ts +1 -1
- package/components/ngx-tabset/directives/hover-class.directive.d.ts +1 -1
- package/components/number-input/number-input.component.d.ts +1 -1
- package/components/number-input/number.directive.d.ts +1 -1
- package/components/radio-button/radio.component.d.ts +1 -1
- package/components/select/optgroup.directive.d.ts +1 -1
- package/components/select/option.directive.d.ts +1 -1
- package/components/select/select.component.d.ts +1 -1
- package/esm2020/abstract-controls-extension/afe-form-array.mjs +3 -3
- package/esm2020/abstract-controls-extension/afe-form-control.mjs +4 -3
- package/esm2020/abstract-controls-extension/afe-form-group.mjs +6 -3
- package/esm2020/components/afe-ng-select.component.mjs +4 -4
- package/esm2020/components/appointments-overview/appointments-overview.component.mjs +3 -3
- package/esm2020/components/check-box/checkbox.component.mjs +4 -4
- package/esm2020/components/check-box/checkbox.module.mjs +5 -5
- package/esm2020/components/custom-component-wrapper/custom-component-wrapper..module.mjs +5 -5
- package/esm2020/components/custom-component-wrapper/custom-component-wrapper.component.mjs +3 -3
- package/esm2020/components/custom-control-wrapper/custom-control-wrapper..module.mjs +5 -5
- package/esm2020/components/custom-control-wrapper/custom-control-wrapper.component.mjs +4 -4
- package/esm2020/components/date-time-picker/date-picker/date-picker.component.mjs +5 -5
- package/esm2020/components/date-time-picker/date-time-picker.component.mjs +7 -7
- package/esm2020/components/date-time-picker/date-time-picker.module.mjs +5 -5
- package/esm2020/components/date-time-picker/picker-modal/modal.component.mjs +3 -3
- package/esm2020/components/date-time-picker/pipes/moment.pipe.mjs +3 -3
- package/esm2020/components/date-time-picker/time-picker/time-picker.component.mjs +5 -5
- package/esm2020/components/file-upload/file-upload.component.mjs +8 -16
- package/esm2020/components/file-upload/file-upload.module.mjs +10 -12
- package/esm2020/components/file-upload/secure.pipe.mjs +3 -3
- package/esm2020/components/input/input.directive.mjs +3 -3
- package/esm2020/components/input/input.module.mjs +5 -5
- package/esm2020/components/input/label.component.mjs +4 -4
- package/esm2020/components/input/text-area.directive.mjs +3 -3
- package/esm2020/components/ngx-datetime-picker/ngx-datetime-picker.component.mjs +9 -9
- package/esm2020/components/ngx-datetime-picker/ngx-datetime-picker.module.mjs +9 -11
- package/esm2020/components/ngx-pick-datetime/lib/date-time/adapter/native-date-time-adapter.class.mjs +3 -3
- package/esm2020/components/ngx-pick-datetime/lib/date-time/adapter/native-date-time.module.mjs +10 -10
- package/esm2020/components/ngx-pick-datetime/lib/date-time/calendar-body.component.mjs +4 -4
- package/esm2020/components/ngx-pick-datetime/lib/date-time/calendar-month-view.component.mjs +6 -6
- package/esm2020/components/ngx-pick-datetime/lib/date-time/calendar-multi-year-view.component.mjs +4 -4
- package/esm2020/components/ngx-pick-datetime/lib/date-time/calendar-year-view.component.mjs +4 -4
- package/esm2020/components/ngx-pick-datetime/lib/date-time/calendar.component.mjs +8 -8
- package/esm2020/components/ngx-pick-datetime/lib/date-time/date-time-inline.component.mjs +4 -4
- package/esm2020/components/ngx-pick-datetime/lib/date-time/date-time-picker-container.component.mjs +9 -9
- package/esm2020/components/ngx-pick-datetime/lib/date-time/date-time-picker-input.directive.mjs +3 -3
- package/esm2020/components/ngx-pick-datetime/lib/date-time/date-time-picker-intl.service.mjs +3 -3
- package/esm2020/components/ngx-pick-datetime/lib/date-time/date-time-picker-trigger.directive.mjs +3 -3
- package/esm2020/components/ngx-pick-datetime/lib/date-time/date-time-picker.component.mjs +4 -4
- package/esm2020/components/ngx-pick-datetime/lib/date-time/date-time.class.mjs +3 -3
- package/esm2020/components/ngx-pick-datetime/lib/date-time/date-time.module.mjs +9 -11
- package/esm2020/components/ngx-pick-datetime/lib/date-time/numberedFixLen.pipe.mjs +3 -3
- package/esm2020/components/ngx-pick-datetime/lib/date-time/timer-box.component.mjs +4 -4
- package/esm2020/components/ngx-pick-datetime/lib/date-time/timer.component.mjs +6 -6
- package/esm2020/components/ngx-pick-datetime/lib/dialog/dialog-container.component.mjs +4 -4
- package/esm2020/components/ngx-pick-datetime/lib/dialog/dialog.module.mjs +5 -5
- package/esm2020/components/ngx-pick-datetime/lib/dialog/dialog.service.mjs +4 -4
- package/esm2020/components/ngx-remote-select/ngx-remote-select.component.mjs +6 -6
- package/esm2020/components/ngx-remote-select/ngx-remote-select.module.mjs +5 -5
- package/esm2020/components/ngx-tabset/components/ngx-tab-set.component.mjs +3 -3
- package/esm2020/components/ngx-tabset/components/tab.component.mjs +3 -3
- package/esm2020/components/ngx-tabset/directives/hover-class.directive.mjs +3 -3
- package/esm2020/components/ngx-tabset/modules/ngx-tabset.module.mjs +5 -5
- package/esm2020/components/number-input/number-input.component.mjs +4 -4
- package/esm2020/components/number-input/number-input.module.mjs +5 -5
- package/esm2020/components/number-input/number.directive.mjs +3 -3
- package/esm2020/components/radio-button/radio.component.mjs +4 -4
- package/esm2020/components/radio-button/radio.module.mjs +5 -5
- package/esm2020/components/select/optgroup.directive.mjs +3 -3
- package/esm2020/components/select/option.directive.mjs +3 -3
- package/esm2020/components/select/select.component.mjs +4 -4
- package/esm2020/components/select/select.module.mjs +5 -5
- package/esm2020/form-entry/data-sources/data-sources.mjs +3 -3
- package/esm2020/form-entry/directives/collapse.directive.mjs +3 -3
- package/esm2020/form-entry/directives/historical-value.directive.mjs +3 -3
- package/esm2020/form-entry/error-renderer/error-renderer.component.mjs +3 -3
- package/esm2020/form-entry/expression-runner/expression-runner.mjs +3 -3
- package/esm2020/form-entry/form-entry.module.mjs +26 -28
- package/esm2020/form-entry/form-factory/control-relations.factory.mjs +3 -3
- package/esm2020/form-entry/form-factory/form-control.service.mjs +3 -3
- package/esm2020/form-entry/form-factory/form.factory.mjs +3 -3
- package/esm2020/form-entry/form-factory/hiders-disablers.factory.mjs +3 -3
- package/esm2020/form-entry/form-factory/question.factory.mjs +3 -3
- package/esm2020/form-entry/form-factory/show-messages.factory.mjs +3 -3
- package/esm2020/form-entry/form-factory/validation.factory.mjs +3 -3
- package/esm2020/form-entry/form-renderer/form-renderer.component.mjs +22 -22
- package/esm2020/form-entry/helpers/historical-expression-helper-service.mjs +3 -3
- package/esm2020/form-entry/helpers/historical-field-helper-service.mjs +3 -3
- package/esm2020/form-entry/helpers/js-expression-helper.mjs +3 -3
- package/esm2020/form-entry/pipes/time-ago.pipe.mjs +3 -3
- package/esm2020/form-entry/services/debug-mode.service.mjs +3 -3
- package/esm2020/form-entry/services/form-errors.service.mjs +3 -3
- package/esm2020/form-entry/services/form-schema-compiler.service.mjs +3 -3
- package/esm2020/form-entry/services/historical-encounter-data.service.mjs +3 -3
- package/esm2020/form-entry/value-adapters/diagnosis.adapter.mjs +3 -3
- package/esm2020/form-entry/value-adapters/encounter.adapter.mjs +3 -3
- package/esm2020/form-entry/value-adapters/obs-adapter-helper.mjs +3 -3
- package/esm2020/form-entry/value-adapters/obs.adapter.mjs +3 -3
- package/esm2020/form-entry/value-adapters/order.adapter.mjs +3 -3
- package/esm2020/form-entry/value-adapters/patient-identifier.adapter.mjs +3 -3
- package/esm2020/form-entry/value-adapters/person-attribute.adapter.mjs +3 -3
- package/esm2020/shared.module.mjs +5 -5
- package/fesm2015/openmrs-ngx-formentry.mjs +4765 -4777
- package/fesm2015/openmrs-ngx-formentry.mjs.map +1 -1
- package/fesm2020/openmrs-ngx-formentry.mjs +4772 -4784
- package/fesm2020/openmrs-ngx-formentry.mjs.map +1 -1
- package/form-entry/directives/collapse.directive.d.ts +1 -1
- package/form-entry/directives/historical-value.directive.d.ts +1 -1
- package/form-entry/error-renderer/error-renderer.component.d.ts +1 -1
- package/form-entry/form-renderer/form-renderer.component.d.ts +1 -1
- package/form-entry/pipes/time-ago.pipe.d.ts +1 -1
- package/package.json +3 -3
- /package/{openmrs-ngx-formentry.d.ts → index.d.ts} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { UntypedFormArray, ValidatorFn, AsyncValidatorFn, AbstractControl } from '@angular/forms';
|
|
2
2
|
import { ControlRelations } from '../change-tracking/control-relations';
|
|
3
3
|
import { ValueChangeListener } from './value-change.listener';
|
|
4
4
|
import { CanHide, Hider } from '../form-entry/control-hiders-disablers/can-hide';
|
|
5
5
|
import { CanGenerateAlert, Alert } from '../form-entry/control-alerts/can-generate-alert';
|
|
6
6
|
import { CanDisable, Disabler } from '../form-entry/control-hiders-disablers/can-disable';
|
|
7
|
-
export declare class AfeFormArray extends
|
|
7
|
+
export declare class AfeFormArray extends UntypedFormArray implements CanHide, CanDisable, CanGenerateAlert, ValueChangeListener {
|
|
8
8
|
private _controlRelations;
|
|
9
9
|
private _valueChangeListener;
|
|
10
10
|
private _previousValue;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { UntypedFormControl, ValidatorFn, AsyncValidatorFn, AbstractControlOptions } from '@angular/forms';
|
|
2
2
|
import { ControlRelations } from '../change-tracking/control-relations';
|
|
3
3
|
import { ValueChangeListener } from './value-change.listener';
|
|
4
4
|
import { CanHide, Hider } from '../form-entry/control-hiders-disablers/can-hide';
|
|
5
5
|
import { CanDisable, Disabler } from '../form-entry/control-hiders-disablers/can-disable';
|
|
6
6
|
import { CanGenerateAlert, Alert } from '../form-entry/control-alerts/can-generate-alert';
|
|
7
7
|
import { CanCalculate } from '../form-entry/control-calculators/can-calculate';
|
|
8
|
-
declare class AfeFormControl extends
|
|
8
|
+
declare class AfeFormControl extends UntypedFormControl implements CanHide, CanDisable, CanCalculate, CanGenerateAlert, ValueChangeListener {
|
|
9
9
|
private _controlRelations;
|
|
10
10
|
private _valueChangeListener;
|
|
11
11
|
private _previousValue;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { UntypedFormGroup, ValidatorFn, AsyncValidatorFn, AbstractControl } from '@angular/forms';
|
|
2
2
|
import { ControlRelations } from '../change-tracking/control-relations';
|
|
3
3
|
import { CanHide, Hider } from '../form-entry/control-hiders-disablers/can-hide';
|
|
4
4
|
import { CanDisable, Disabler } from '../form-entry/control-hiders-disablers/can-disable';
|
|
5
5
|
import { CanGenerateAlert, Alert } from '../form-entry/control-alerts/can-generate-alert';
|
|
6
|
-
export declare class AfeFormGroup extends
|
|
6
|
+
export declare class AfeFormGroup extends UntypedFormGroup implements CanHide, CanDisable, CanGenerateAlert {
|
|
7
7
|
private _controlRelations;
|
|
8
8
|
uuid: string;
|
|
9
9
|
pathFromRoot: string;
|
|
@@ -24,5 +24,5 @@ export declare class AfeNgSelectComponent implements ControlValueAccessor, OnIni
|
|
|
24
24
|
resolveSelectedOption(value: any): Observable<Option>;
|
|
25
25
|
resetOptions(): void;
|
|
26
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>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AfeNgSelectComponent, "ofe-ng-select", never, { "dataSource": "dataSource"; "multiple": "multiple"; "extras": "extras"; }, {}, never, never, false>;
|
|
28
28
|
}
|
|
@@ -13,5 +13,5 @@ export declare class AppointmentsOverviewComponent implements OnChanges {
|
|
|
13
13
|
ngOnChanges(): void;
|
|
14
14
|
resetProperties(): void;
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<AppointmentsOverviewComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AppointmentsOverviewComponent, "ofe-appointments-overview", never, { "node": "node"; }, {}, never, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AppointmentsOverviewComponent, "ofe-appointments-overview", never, { "node": "node"; }, {}, never, never, false>;
|
|
17
17
|
}
|
|
@@ -15,5 +15,5 @@ export declare class CheckboxControlComponent implements OnInit {
|
|
|
15
15
|
private onChange;
|
|
16
16
|
private onTouched;
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxControlComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxControlComponent, "ofe-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, false>;
|
|
19
19
|
}
|
|
@@ -8,5 +8,5 @@ export declare class CustomComponentWrapperComponent {
|
|
|
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
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CustomComponentWrapperComponent, "ofe-custom-component-wrapper", never, { "componentConfigs": "componentConfigs"; "dark": "dark"; }, {}, never, never, false>;
|
|
12
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, "ofe-custom-control-wrapper", never, { "question": "question"; }, {}, never, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CustomControlWrapperComponent, "ofe-custom-control-wrapper", never, { "question": "question"; }, {}, never, never, false>;
|
|
28
28
|
}
|
|
@@ -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, "ofe-date-picker", never, { "initDate": "initDate"; "locale": "locale"; "viewFormat": "viewFormat"; "returnObject": "returnObject"; }, { "datePickerCancel": "datePickerCancel"; "dateSelect": "dateSelect"; }, never, 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, false>;
|
|
45
45
|
}
|
|
@@ -24,5 +24,5 @@ export declare class DateTimePickerComponent implements ControlValueAccessor {
|
|
|
24
24
|
registerOnTouched(fn: any): void;
|
|
25
25
|
writeValue(value: any): void;
|
|
26
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>;
|
|
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, false>;
|
|
28
28
|
}
|
|
@@ -8,5 +8,5 @@ export declare class ModalComponent {
|
|
|
8
8
|
constructor();
|
|
9
9
|
closeModal(): void;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<ModalComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ModalComponent, "ofe-picker-modal", never, {}, { "overlayClick": "overlayClick"; }, never, ["*"]>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModalComponent, "ofe-picker-modal", never, {}, { "overlayClick": "overlayClick"; }, never, ["*"], false>;
|
|
12
12
|
}
|
|
@@ -7,5 +7,5 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
export declare class MomentPipe implements PipeTransform {
|
|
8
8
|
transform(moment: Moment, format?: string): string;
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<MomentPipe, never>;
|
|
10
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<MomentPipe, "moment">;
|
|
10
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<MomentPipe, "moment", false>;
|
|
11
11
|
}
|
|
@@ -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, "ofe-time-picker", never, { "initTime": "initTime"; "showSecond": "showSecond"; "viewFormat": "viewFormat"; "use12Hour": "use12Hour"; "returnObject": "returnObject"; }, { "timeSelect": "timeSelect"; "timePickerCancel": "timePickerCancel"; }, never, 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, false>;
|
|
32
32
|
}
|
|
@@ -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, "ofe-file-upload", never, { "dataSource": "dataSource"; }, {}, never, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadComponent, "ofe-file-upload", never, { "dataSource": "dataSource"; }, {}, never, never, false>;
|
|
29
29
|
}
|
|
@@ -4,7 +4,7 @@ import * as i2 from "@angular/common";
|
|
|
4
4
|
import * as i3 from "@angular/forms";
|
|
5
5
|
import * as i4 from "../../shared.module";
|
|
6
6
|
import * as i5 from "ngx-webcam";
|
|
7
|
-
import * as i6 from "ngx-file-uploader
|
|
7
|
+
import * as i6 from "@openmrs/ngx-file-uploader";
|
|
8
8
|
export declare class RemoteFileUploadModule {
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<RemoteFileUploadModule, never>;
|
|
10
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]>;
|
|
@@ -22,5 +22,5 @@ export declare class SecurePipe implements PipeTransform, OnDestroy {
|
|
|
22
22
|
private _dispose;
|
|
23
23
|
private _updateLatestValue;
|
|
24
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<SecurePipe, never>;
|
|
25
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<SecurePipe, "secure">;
|
|
25
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SecurePipe, "secure", false>;
|
|
26
26
|
}
|
|
@@ -27,5 +27,5 @@ export declare class TextInputDirective {
|
|
|
27
27
|
skeleton: boolean;
|
|
28
28
|
get isLightTheme(): boolean;
|
|
29
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>;
|
|
30
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TextInputDirective, "[ofeTextInput]", never, { "theme": "theme"; "size": "size"; "invalid": "invalid"; "warn": "warn"; "skeleton": "skeleton"; }, {}, never, never, false>;
|
|
31
31
|
}
|
|
@@ -86,5 +86,5 @@ export declare class LabelComponent implements AfterContentInit, AfterViewInit {
|
|
|
86
86
|
ngAfterViewInit(): void;
|
|
87
87
|
isTemplate(value: any): boolean;
|
|
88
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"]>;
|
|
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"], false>;
|
|
90
90
|
}
|
|
@@ -21,5 +21,5 @@ export declare class TextAreaDirective {
|
|
|
21
21
|
skeleton: boolean;
|
|
22
22
|
get isLightTheme(): boolean;
|
|
23
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextAreaDirective, never>;
|
|
24
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TextAreaDirective, "[ofeTextAreaInput]", never, { "theme": "theme"; "invalid": "invalid"; "skeleton": "skeleton"; }, {}, never>;
|
|
24
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TextAreaDirective, "[ofeTextAreaInput]", never, { "theme": "theme"; "invalid": "invalid"; "skeleton": "skeleton"; }, {}, never, never, false>;
|
|
25
25
|
}
|
|
@@ -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, "ofe-ngx-date-time-picker", never, { "id": "id"; "theme": "theme"; "datePickerFormat": "datePickerFormat"; "showWeeks": "showWeeks"; "weeks": "weeks"; }, {}, never, 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, false>;
|
|
21
21
|
}
|
|
@@ -72,5 +72,5 @@ export declare class OwlCalendarBodyComponent {
|
|
|
72
72
|
* */
|
|
73
73
|
focusActiveCell(): void;
|
|
74
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>;
|
|
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, false>;
|
|
76
76
|
}
|
|
@@ -135,5 +135,5 @@ export declare class OwlMonthViewComponent<T> implements OnInit, AfterContentIni
|
|
|
135
135
|
private setSelectedDates;
|
|
136
136
|
private focusActiveCell;
|
|
137
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>;
|
|
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, false>;
|
|
139
139
|
}
|
|
@@ -104,5 +104,5 @@ export declare class OwlMultiYearViewComponent<T> implements AfterContentInit {
|
|
|
104
104
|
private getValidDate;
|
|
105
105
|
private focusActiveCell;
|
|
106
106
|
static ɵfac: i0.ɵɵFactoryDeclaration<OwlMultiYearViewComponent<any>, [null, null, { optional: true; }]>;
|
|
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>;
|
|
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, false>;
|
|
108
108
|
}
|
|
@@ -116,5 +116,5 @@ export declare class OwlYearViewComponent<T> implements OnInit, AfterContentInit
|
|
|
116
116
|
private getValidDate;
|
|
117
117
|
private focusActiveCell;
|
|
118
118
|
static ɵfac: i0.ɵɵFactoryDeclaration<OwlYearViewComponent<any>, [null, { optional: true; }, { optional: true; }]>;
|
|
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>;
|
|
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, false>;
|
|
120
120
|
}
|
|
@@ -133,5 +133,5 @@ export declare class OwlCalendarComponent<T> implements AfterContentInit, AfterV
|
|
|
133
133
|
*/
|
|
134
134
|
private getValidDate;
|
|
135
135
|
static ɵfac: i0.ɵɵFactoryDeclaration<OwlCalendarComponent<any>, [null, null, null, null, { optional: true; }, { optional: true; }]>;
|
|
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>;
|
|
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, false>;
|
|
137
137
|
}
|
|
@@ -88,5 +88,5 @@ export declare class OwlDateTimeInlineComponent<T> extends OwlDateTime<T> implem
|
|
|
88
88
|
* */
|
|
89
89
|
selectMonth(normalizedMonth: T): void;
|
|
90
90
|
static ɵfac: i0.ɵɵFactoryDeclaration<OwlDateTimeInlineComponent<any>, [null, { optional: true; }, { optional: true; }]>;
|
|
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>;
|
|
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, false>;
|
|
92
92
|
}
|
package/components/ngx-pick-datetime/lib/date-time/date-time-picker-container.component.d.ts
CHANGED
|
@@ -117,5 +117,5 @@ export declare class OwlDateTimeContainerComponent<T> implements AfterContentIni
|
|
|
117
117
|
* */
|
|
118
118
|
private focusPicker;
|
|
119
119
|
static ɵfac: i0.ɵɵFactoryDeclaration<OwlDateTimeContainerComponent<any>, [null, null, null, { optional: true; }]>;
|
|
120
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OwlDateTimeContainerComponent<any>, "ofe-owl-date-time-container", ["owlDateTimeContainer"], {}, {}, never, never>;
|
|
120
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OwlDateTimeContainerComponent<any>, "ofe-owl-date-time-container", ["owlDateTimeContainer"], {}, {}, never, never, false>;
|
|
121
121
|
}
|
|
@@ -145,5 +145,5 @@ export declare class OwlDateTimeInputDirective<T> implements OnInit, AfterConten
|
|
|
145
145
|
*/
|
|
146
146
|
private isSameValue;
|
|
147
147
|
static ɵfac: i0.ɵɵFactoryDeclaration<OwlDateTimeInputDirective<any>, [null, null, { optional: true; }, { optional: true; }]>;
|
|
148
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<OwlDateTimeInputDirective<any>, "input[owlDateTime]", ["owlDateTimeInput"], { "owlDateTime": "owlDateTime"; "owlDateTimeFilter": "owlDateTimeFilter"; "min": "min"; "max": "max"; "selectMode": "selectMode"; "value": "value"; "values": "values"; "_disabled": "_disabled"; "rangeSeparator": "rangeSeparator"; }, { "dateTimeChange": "dateTimeChange"; "dateTimeInput": "dateTimeInput"; }, never>;
|
|
148
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<OwlDateTimeInputDirective<any>, "input[owlDateTime]", ["owlDateTimeInput"], { "owlDateTime": "owlDateTime"; "owlDateTimeFilter": "owlDateTimeFilter"; "min": "min"; "max": "max"; "selectMode": "selectMode"; "value": "value"; "values": "values"; "_disabled": "_disabled"; "rangeSeparator": "rangeSeparator"; }, { "dateTimeChange": "dateTimeChange"; "dateTimeInput": "dateTimeInput"; }, never, never, false>;
|
|
149
149
|
}
|
|
@@ -16,5 +16,5 @@ export declare class OwlDateTimeTriggerDirective<T> implements OnChanges, AfterC
|
|
|
16
16
|
ngOnDestroy(): void;
|
|
17
17
|
private watchStateChanges;
|
|
18
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<OwlDateTimeTriggerDirective<any>, never>;
|
|
19
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<OwlDateTimeTriggerDirective<any>, "[ofeOwlDateTimeTrigger]", never, { "dtPicker": "ofeOwlDateTimeTrigger"; "disabled": "disabled"; }, {}, never>;
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<OwlDateTimeTriggerDirective<any>, "[ofeOwlDateTimeTrigger]", never, { "dtPicker": "ofeOwlDateTimeTrigger"; "disabled": "disabled"; }, {}, never, never, false>;
|
|
20
20
|
}
|
|
@@ -152,5 +152,5 @@ export declare class OwlDateTimeComponent<T> extends OwlDateTime<T> implements O
|
|
|
152
152
|
* */
|
|
153
153
|
private createPopupPositionStrategy;
|
|
154
154
|
static ɵfac: i0.ɵɵFactoryDeclaration<OwlDateTimeComponent<any>, [null, null, null, null, null, { optional: true; }, null, { optional: true; }, { optional: true; }]>;
|
|
155
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OwlDateTimeComponent<any>, "ofe-owl-date-time", ["owlDateTime"], { "backdropClass": "backdropClass"; "panelClass": "panelClass"; "startAt": "startAt"; "pickerType": "pickerType"; "pickerMode": "pickerMode"; "disabled": "disabled"; "opened": "opened"; "scrollStrategy": "scrollStrategy"; }, { "afterPickerClosed": "afterPickerClosed"; "afterPickerOpen": "afterPickerOpen"; "yearSelected": "yearSelected"; "monthSelected": "monthSelected"; }, never, never>;
|
|
155
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OwlDateTimeComponent<any>, "ofe-owl-date-time", ["owlDateTime"], { "backdropClass": "backdropClass"; "panelClass": "panelClass"; "startAt": "startAt"; "pickerType": "pickerType"; "pickerMode": "pickerMode"; "disabled": "disabled"; "opened": "opened"; "scrollStrategy": "scrollStrategy"; }, { "afterPickerClosed": "afterPickerClosed"; "afterPickerOpen": "afterPickerOpen"; "yearSelected": "yearSelected"; "monthSelected": "monthSelected"; }, never, never, false>;
|
|
156
156
|
}
|
|
@@ -6,5 +6,5 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
export declare class NumberFixedLenPipe implements PipeTransform {
|
|
7
7
|
transform(num: number, len: number): any;
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<NumberFixedLenPipe, never>;
|
|
9
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<NumberFixedLenPipe, "numberFixedLen">;
|
|
9
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<NumberFixedLenPipe, "numberFixedLen", false>;
|
|
10
10
|
}
|
|
@@ -31,5 +31,5 @@ export declare class OwlTimerBoxComponent implements OnInit, OnDestroy {
|
|
|
31
31
|
private updateValue;
|
|
32
32
|
private updateValueViaInput;
|
|
33
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<OwlTimerBoxComponent, never>;
|
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OwlTimerBoxComponent, "ofe-owl-date-time-timer-box", ["owlDateTimeTimerBox"], { "showDivider": "showDivider"; "upBtnAriaLabel": "upBtnAriaLabel"; "upBtnDisabled": "upBtnDisabled"; "downBtnAriaLabel": "downBtnAriaLabel"; "downBtnDisabled": "downBtnDisabled"; "boxValue": "boxValue"; "value": "value"; "min": "min"; "max": "max"; "step": "step"; "inputLabel": "inputLabel"; }, { "valueChange": "valueChange"; "inputChange": "inputChange"; }, never, never>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OwlTimerBoxComponent, "ofe-owl-date-time-timer-box", ["owlDateTimeTimerBox"], { "showDivider": "showDivider"; "upBtnAriaLabel": "upBtnAriaLabel"; "upBtnDisabled": "upBtnDisabled"; "downBtnAriaLabel": "downBtnAriaLabel"; "downBtnDisabled": "downBtnDisabled"; "boxValue": "boxValue"; "value": "value"; "min": "min"; "max": "max"; "step": "step"; "inputLabel": "inputLabel"; }, { "valueChange": "valueChange"; "inputChange": "inputChange"; }, never, never, false>;
|
|
35
35
|
}
|
|
@@ -124,5 +124,5 @@ export declare class OwlTimerComponent<T> {
|
|
|
124
124
|
*/
|
|
125
125
|
private getValidDate;
|
|
126
126
|
static ɵfac: i0.ɵɵFactoryDeclaration<OwlTimerComponent<any>, [null, null, null, null, { optional: true; }]>;
|
|
127
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OwlTimerComponent<any>, "ofe-owl-date-time-timer", ["owlDateTimeTimer"], { "pickerMoment": "pickerMoment"; "minDateTime": "minDateTime"; "maxDateTime": "maxDateTime"; "showSecondsTimer": "showSecondsTimer"; "hour12Timer": "hour12Timer"; "stepHour": "stepHour"; "stepMinute": "stepMinute"; "stepSecond": "stepSecond"; }, { "selectedChange": "selectedChange"; }, never, never>;
|
|
127
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OwlTimerComponent<any>, "ofe-owl-date-time-timer", ["owlDateTimeTimer"], { "pickerMoment": "pickerMoment"; "minDateTime": "minDateTime"; "maxDateTime": "maxDateTime"; "showSecondsTimer": "showSecondsTimer"; "hour12Timer": "hour12Timer"; "stepHour": "stepHour"; "stepMinute": "stepMinute"; "stepSecond": "stepSecond"; }, { "selectedChange": "selectedChange"; }, never, never, false>;
|
|
128
128
|
}
|
|
@@ -54,5 +54,5 @@ export declare class OwlDialogContainerComponent extends BasePortalOutlet {
|
|
|
54
54
|
private trapFocus;
|
|
55
55
|
private restoreFocus;
|
|
56
56
|
static ɵfac: i0.ɵɵFactoryDeclaration<OwlDialogContainerComponent, [null, null, null, { optional: true; }]>;
|
|
57
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OwlDialogContainerComponent, "ofe-owl-dialog-container", never, {}, {}, never, never>;
|
|
57
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OwlDialogContainerComponent, "ofe-owl-dialog-container", never, {}, {}, never, never, false>;
|
|
58
58
|
}
|
|
@@ -36,5 +36,5 @@ export declare class RemoteSelectComponent implements OnInit, ControlValueAccess
|
|
|
36
36
|
trackByFn(item: SelectOption): any;
|
|
37
37
|
private loadOptions;
|
|
38
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<RemoteSelectComponent, never>;
|
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RemoteSelectComponent, "ofe-remote-select", never, { "placeholder": "placeholder"; "componentID": "componentID"; "disabled": "disabled"; "theme": "theme"; "dataSource": "dataSource"; }, { "done": "done"; }, never, never>;
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RemoteSelectComponent, "ofe-remote-select", never, { "placeholder": "placeholder"; "componentID": "componentID"; "disabled": "disabled"; "theme": "theme"; "dataSource": "dataSource"; }, { "done": "done"; }, never, never, false>;
|
|
40
40
|
}
|
|
@@ -15,5 +15,5 @@ export declare class TabSetComponent implements AfterContentInit, OnChanges {
|
|
|
15
15
|
selectTab(tabToSelect: TabComponent): void;
|
|
16
16
|
getStatusClasses(active: any, disabled: any): "active" | "disabled" | "enabled";
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<TabSetComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TabSetComponent, "ofe-tab-set", never, { "disableStyle": "disableStyle"; "customNavClass": "customNavClass"; "customTabsClass": "customTabsClass"; "selectedIndex": "selectedIndex"; }, { "tabSelect": "tabSelect"; }, ["tabs"], ["*"]>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TabSetComponent, "ofe-tab-set", never, { "disableStyle": "disableStyle"; "customNavClass": "customNavClass"; "customTabsClass": "customTabsClass"; "selectedIndex": "selectedIndex"; }, { "tabSelect": "tabSelect"; }, ["tabs"], ["*"], false>;
|
|
19
19
|
}
|
|
@@ -9,5 +9,5 @@ export declare class TabComponent {
|
|
|
9
9
|
customPaneClass: string;
|
|
10
10
|
template: TemplateRef<any>;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<TabComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TabComponent, "ofe-tab", never, { "tabTitle": "tabTitle"; "tabSubTitle": "tabSubTitle"; "active": "active"; "disabled": "disabled"; "bypassDOM": "bypassDOM"; "customPaneClass": "customPaneClass"; }, {}, ["template"], ["*"]>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TabComponent, "ofe-tab", never, { "tabTitle": "tabTitle"; "tabSubTitle": "tabSubTitle"; "active": "active"; "disabled": "disabled"; "bypassDOM": "bypassDOM"; "customPaneClass": "customPaneClass"; }, {}, ["template"], ["*"], false>;
|
|
13
13
|
}
|
|
@@ -7,5 +7,5 @@ export declare class HoverClassDirective {
|
|
|
7
7
|
onMouseEnter(): void;
|
|
8
8
|
onMouseLeave(): void;
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<HoverClassDirective, never>;
|
|
10
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<HoverClassDirective, "[ofeHoverClass]", never, { "hoverClass": "hoverClass"; }, {}, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HoverClassDirective, "[ofeHoverClass]", never, { "hoverClass": "hoverClass"; }, {}, never, never, false>;
|
|
11
11
|
}
|
|
@@ -155,5 +155,5 @@ export declare class NumberInputComponent implements ControlValueAccessor {
|
|
|
155
155
|
onNumberInputChange(event: any): void;
|
|
156
156
|
isTemplate(value: any): boolean;
|
|
157
157
|
static ɵfac: i0.ɵɵFactoryDeclaration<NumberInputComponent, never>;
|
|
158
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NumberInputComponent, "ofe-number-input", never, { "theme": "theme"; "disabled": "disabled"; "skeleton": "skeleton"; "invalid": "invalid"; "id": "id"; "size": "size"; "required": "required"; "value": "value"; "min": "min"; "max": "max"; "maxlength": "maxlength"; "minlength": "minlength"; "label": "label"; "helperText": "helperText"; "invalidText": "invalidText"; "step": "step"; "precision": "precision"; "warn": "warn"; "warnText": "warnText"; "decrementLabel": "decrementLabel"; "incrementLabel": "incrementLabel"; }, { "numberChange": "numberChange"; }, never, never>;
|
|
158
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NumberInputComponent, "ofe-number-input", never, { "theme": "theme"; "disabled": "disabled"; "skeleton": "skeleton"; "invalid": "invalid"; "id": "id"; "size": "size"; "required": "required"; "value": "value"; "min": "min"; "max": "max"; "maxlength": "maxlength"; "minlength": "minlength"; "label": "label"; "helperText": "helperText"; "invalidText": "invalidText"; "step": "step"; "precision": "precision"; "warn": "warn"; "warnText": "warnText"; "decrementLabel": "decrementLabel"; "incrementLabel": "incrementLabel"; }, { "numberChange": "numberChange"; }, never, never, false>;
|
|
159
159
|
}
|
|
@@ -5,5 +5,5 @@ export declare class NumberInputDirective {
|
|
|
5
5
|
constructor(element: ElementRef);
|
|
6
6
|
onScroll(event: WheelEvent): boolean;
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<NumberInputDirective, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NumberInputDirective, "[ofeNumberScroll]", never, {}, {}, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NumberInputDirective, "[ofeNumberScroll]", never, {}, {}, never, never, false>;
|
|
9
9
|
}
|
|
@@ -21,5 +21,5 @@ export declare class RadioButtonControlComponent implements ControlValueAccessor
|
|
|
21
21
|
ngOnChanges(changes: SimpleChanges): void;
|
|
22
22
|
private updateSelectedOption;
|
|
23
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<RadioButtonControlComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RadioButtonControlComponent, "ofe-radio-button", never, { "id": "id"; "options": "options"; "selected": "selected"; "allowUnselect": "allowUnselect"; "orientation": "orientation"; }, {}, never, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RadioButtonControlComponent, "ofe-radio-button", never, { "id": "id"; "options": "options"; "selected": "selected"; "allowUnselect": "allowUnselect"; "orientation": "orientation"; }, {}, never, never, false>;
|
|
25
25
|
}
|
|
@@ -2,5 +2,5 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
export declare class OptGroupDirective {
|
|
3
3
|
inputClass: string;
|
|
4
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<OptGroupDirective, never>;
|
|
5
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<OptGroupDirective, "[ofeOptgroup]", never, {}, {}, never>;
|
|
5
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<OptGroupDirective, "[ofeOptgroup]", never, {}, {}, never, never, false>;
|
|
6
6
|
}
|
|
@@ -2,5 +2,5 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
export declare class OptionDirective {
|
|
3
3
|
inputClass: string;
|
|
4
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<OptionDirective, never>;
|
|
5
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<OptionDirective, "[ofeOption]", never, {}, {}, never>;
|
|
5
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<OptionDirective, "[ofeOption]", never, {}, {}, never, never, false>;
|
|
6
6
|
}
|
|
@@ -111,5 +111,5 @@ export declare class SelectComponent implements ControlValueAccessor, AfterViewI
|
|
|
111
111
|
protected onChangeHandler: (_: any) => void;
|
|
112
112
|
protected onTouchedHandler: () => void;
|
|
113
113
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent, never>;
|
|
114
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "ofe-select", never, { "display": "display"; "label": "label"; "helperText": "helperText"; "invalidText": "invalidText"; "warn": "warn"; "warnText": "warnText"; "id": "id"; "size": "size"; "disabled": "disabled"; "skeleton": "skeleton"; "invalid": "invalid"; "theme": "theme"; "ariaLabel": "ariaLabel"; "value": "value"; }, { "valueChange": "valueChange"; }, never, ["*"]>;
|
|
114
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "ofe-select", never, { "display": "display"; "label": "label"; "helperText": "helperText"; "invalidText": "invalidText"; "warn": "warn"; "warnText": "warnText"; "id": "id"; "size": "size"; "disabled": "disabled"; "skeleton": "skeleton"; "invalid": "invalid"; "theme": "theme"; "ariaLabel": "ariaLabel"; "value": "value"; }, { "valueChange": "valueChange"; }, never, ["*"], false>;
|
|
115
115
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { UntypedFormArray } from '@angular/forms';
|
|
2
2
|
import { ControlRelations } from '../change-tracking/control-relations';
|
|
3
3
|
import { HiderHelper } from '../form-entry/control-hiders-disablers/hider-helpers';
|
|
4
4
|
import { AlertHelper } from '../form-entry/control-alerts/alert-helpers';
|
|
5
5
|
import { DisablerHelper } from '../form-entry/control-hiders-disablers/disabler-helper';
|
|
6
|
-
export class AfeFormArray extends
|
|
6
|
+
export class AfeFormArray extends UntypedFormArray {
|
|
7
7
|
constructor(controls, validator, asyncValidator) {
|
|
8
8
|
super(controls, validator, asyncValidator);
|
|
9
9
|
this.hiderHelper = new HiderHelper();
|
|
@@ -84,4 +84,4 @@ export class AfeFormArray extends FormArray {
|
|
|
84
84
|
super.setValue(value);
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
87
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWZlLWZvcm0tYXJyYXkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtZm9ybWVudHJ5L3NyYy9hYnN0cmFjdC1jb250cm9scy1leHRlbnNpb24vYWZlLWZvcm0tYXJyYXkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLGdCQUFnQixFQUlqQixNQUFNLGdCQUFnQixDQUFDO0FBRXhCLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLHNDQUFzQyxDQUFDO0FBY3hFLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxzREFBc0QsQ0FBQztBQUNuRixPQUFPLEVBQUUsV0FBVyxFQUFFLE1BQU0sNENBQTRDLENBQUM7QUFDekUsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLHdEQUF3RCxDQUFDO0FBRXhGLE1BQU0sT0FBTyxZQUNYLFNBQVEsZ0JBQWdCO0lBb0J4QixZQUNFLFFBQTJCLEVBQzNCLFNBQXVCLEVBQ3ZCLGNBQWlDO1FBRWpDLEtBQUssQ0FBQyxRQUFRLEVBQUUsU0FBUyxFQUFFLGNBQWMsQ0FBQyxDQUFDO1FBVHJDLGdCQ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hbmdlTGlzdGVuZXIgJiZcbiAgICAgIHR5cGVvZiB0aGlzLl92YWx1ZUNoYW5nZUxpc3RlbmVyID09PSAnZnVuY3Rpb24nXG4gICAgKSB7XG4gICAgICB0aGlzLl92YWx1ZUNoYW5nZUxpc3RlbmVyKHZhbHVlKTtcbiAgICB9XG4gIH1cblxuICBzZXRWYWx1ZSh2YWx1ZTogYW55KSB7XG4gICAgc3VwZXIuc2V0VmFsdWUodmFsdWUpO1xuICB9XG59XG4iXX0=
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { UntypedFormControl } from '@angular/forms';
|
|
2
2
|
import { ControlRelations } from '../change-tracking/control-relations';
|
|
3
3
|
import { HiderHelper } from '../form-entry/control-hiders-disablers/hider-helpers';
|
|
4
4
|
import { AlertHelper } from '../form-entry/control-alerts/alert-helpers';
|
|
5
5
|
import { DisablerHelper } from '../form-entry/control-hiders-disablers/disabler-helper';
|
|
6
6
|
import { ExpressionRunner } from '../form-entry/expression-runner/expression-runner';
|
|
7
|
-
class AfeFormControl extends
|
|
7
|
+
class AfeFormControl extends UntypedFormControl {
|
|
8
8
|
constructor(formState, validator, asyncValidator) {
|
|
9
9
|
super(formState, validator, asyncValidator);
|
|
10
10
|
this.hidden = false;
|
|
@@ -81,10 +81,11 @@ class AfeFormControl extends FormControl {
|
|
|
81
81
|
typeof this._valueChangeListener === 'function') {
|
|
82
82
|
this._valueChangeListener(value);
|
|
83
83
|
}
|
|
84
|
+
this.alerts.length > 0 && this.updateAlert();
|
|
84
85
|
}
|
|
85
86
|
setValue(value) {
|
|
86
87
|
super.setValue(value);
|
|
87
88
|
}
|
|
88
89
|
}
|
|
89
90
|
export { AfeFormControl };
|
|
90
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
91
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWZlLWZvcm0tY29udHJvbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3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