@openmrs/ngx-formentry 3.0.1-pre.61 → 3.0.1-pre.62
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/openmrs-ngx-formentry.umd.js +841 -869
- package/bundles/openmrs-ngx-formentry.umd.js.map +1 -1
- package/components/afe-ng-select.component.d.ts +3 -4
- package/components/appointments-overview/appointments-overview.component.d.ts +3 -4
- package/components/check-box/checkbox.component.d.ts +3 -4
- package/components/custom-component-wrapper/custom-component-wrapper.component.d.ts +2 -4
- package/components/custom-control-wrapper/custom-control-wrapper.component.d.ts +1 -1
- package/components/date-time-picker/date-picker/date-picker.component.d.ts +3 -3
- package/components/date-time-picker/date-time-picker.component.d.ts +4 -5
- package/components/date-time-picker/picker-modal/modal.component.d.ts +4 -5
- package/components/date-time-picker/time-picker/time-picker.component.d.ts +3 -3
- package/components/file-upload/file-upload.component.d.ts +2 -2
- package/components/input/input.directive.d.ts +4 -4
- package/components/input/input.module.d.ts +1 -1
- package/components/input/label.component.d.ts +12 -12
- package/components/input/text-area.directive.d.ts +4 -4
- package/components/ngx-datetime-picker/ngx-datetime-picker.component.d.ts +1 -1
- package/components/ngx-pick-datetime/lib/date-time/calendar-body.component.d.ts +5 -9
- package/components/ngx-pick-datetime/lib/date-time/calendar-month-view.component.d.ts +2 -5
- package/components/ngx-pick-datetime/lib/date-time/calendar-multi-year-view.component.d.ts +6 -10
- package/components/ngx-pick-datetime/lib/date-time/calendar-year-view.component.d.ts +3 -6
- package/components/ngx-pick-datetime/lib/date-time/calendar.component.d.ts +4 -11
- package/components/ngx-pick-datetime/lib/date-time/date-time-inline.component.d.ts +5 -6
- package/components/ngx-pick-datetime/lib/date-time/date-time-picker-container.component.d.ts +15 -19
- package/components/ngx-pick-datetime/lib/date-time/date-time-picker-input.directive.d.ts +9 -15
- package/components/ngx-pick-datetime/lib/date-time/date-time-picker-trigger.directive.d.ts +5 -9
- package/components/ngx-pick-datetime/lib/date-time/date-time-picker.component.d.ts +3 -7
- package/components/ngx-pick-datetime/lib/date-time/timer-box.component.d.ts +2 -5
- package/components/ngx-pick-datetime/lib/date-time/timer.component.d.ts +5 -9
- package/components/ngx-pick-datetime/lib/dialog/dialog-container.component.d.ts +15 -16
- package/components/ngx-remote-select/ngx-remote-select.component.d.ts +5 -5
- package/components/ngx-tabset/components/ngx-tab-set.component.d.ts +2 -2
- package/components/ngx-tabset/components/tab.component.d.ts +1 -1
- package/components/ngx-tabset/directives/hover-class.directive.d.ts +2 -2
- package/components/number-input/number-input.component.d.ts +2 -2
- package/components/radio-button/radio.component.d.ts +3 -4
- package/components/select/optgroup.directive.d.ts +3 -3
- package/components/select/option.directive.d.ts +3 -3
- package/components/select/select.component.d.ts +6 -6
- package/components/select/select.module.d.ts +1 -1
- package/esm2015/components/afe-ng-select.component.js +4 -5
- package/esm2015/components/appointments-overview/appointments-overview.component.js +3 -4
- package/esm2015/components/check-box/checkbox.component.js +3 -4
- package/esm2015/components/custom-component-wrapper/custom-component-wrapper.component.js +3 -4
- package/esm2015/components/custom-control-wrapper/custom-control-wrapper.component.js +3 -3
- package/esm2015/components/date-time-picker/date-picker/date-picker.component.js +11 -11
- package/esm2015/components/date-time-picker/date-time-picker.component.js +7 -8
- package/esm2015/components/date-time-picker/picker-modal/modal.component.js +6 -7
- package/esm2015/components/date-time-picker/time-picker/time-picker.component.js +11 -11
- package/esm2015/components/file-upload/file-upload.component.js +3 -3
- package/esm2015/components/file-upload/secure.pipe.js +1 -3
- package/esm2015/components/input/input.directive.js +7 -8
- package/esm2015/components/input/input.module.js +7 -7
- package/esm2015/components/input/label.component.js +18 -19
- package/esm2015/components/input/text-area.directive.js +7 -8
- package/esm2015/components/ngx-datetime-picker/ngx-datetime-picker.component.js +4 -4
- package/esm2015/components/ngx-datetime-picker/ngx-datetime-picker.module.js +2 -3
- package/esm2015/components/ngx-pick-datetime/lib/date-time/calendar-body.component.js +13 -20
- package/esm2015/components/ngx-pick-datetime/lib/date-time/calendar-month-view.component.js +11 -16
- package/esm2015/components/ngx-pick-datetime/lib/date-time/calendar-multi-year-view.component.js +20 -24
- package/esm2015/components/ngx-pick-datetime/lib/date-time/calendar-year-view.component.js +14 -19
- package/esm2015/components/ngx-pick-datetime/lib/date-time/calendar.component.js +13 -22
- package/esm2015/components/ngx-pick-datetime/lib/date-time/date-time-inline.component.js +18 -26
- package/esm2015/components/ngx-pick-datetime/lib/date-time/date-time-picker-container.component.js +61 -53
- package/esm2015/components/ngx-pick-datetime/lib/date-time/date-time-picker-input.directive.js +82 -73
- package/esm2015/components/ngx-pick-datetime/lib/date-time/date-time-picker-trigger.directive.js +20 -23
- package/esm2015/components/ngx-pick-datetime/lib/date-time/date-time-picker.component.js +6 -11
- package/esm2015/components/ngx-pick-datetime/lib/date-time/timer-box.component.js +12 -17
- package/esm2015/components/ngx-pick-datetime/lib/date-time/timer.component.js +19 -23
- package/esm2015/components/ngx-pick-datetime/lib/dialog/dialog-container.component.js +52 -41
- package/esm2015/components/ngx-remote-select/ngx-remote-select.component.js +6 -6
- package/esm2015/components/ngx-tabset/components/ngx-tab-set.component.js +6 -6
- package/esm2015/components/ngx-tabset/components/tab.component.js +3 -3
- package/esm2015/components/ngx-tabset/directives/hover-class.directive.js +4 -5
- package/esm2015/components/number-input/number-input.component.js +6 -6
- package/esm2015/components/radio-button/radio.component.js +3 -4
- package/esm2015/components/select/optgroup.directive.js +6 -8
- package/esm2015/components/select/option.directive.js +6 -8
- package/esm2015/components/select/select.component.js +16 -274
- package/esm2015/components/select/select.module.js +7 -7
- package/esm2015/form-entry/data-sources/data-sources.js +1 -2
- package/esm2015/form-entry/directives/collapse.directive.js +5 -9
- package/esm2015/form-entry/directives/{historical-value-directive.js → historical-value.directive.js} +3 -3
- package/esm2015/form-entry/error-renderer/error-renderer.component.js +3 -4
- package/esm2015/form-entry/expression-runner/expression-runner.js +1 -2
- package/esm2015/form-entry/form-entry.module.js +2 -2
- package/esm2015/form-entry/form-factory/form.js +1 -5
- package/esm2015/form-entry/form-renderer/form-renderer.component.js +9 -10
- package/esm2015/form-entry/question-models/interfaces/date-question-options.js +1 -1
- package/esm2015/form-entry/value-adapters/encounter.adapter.js +1 -2
- package/esm2015/form-entry/value-adapters/obs-adapter-helper.js +1 -6
- package/esm2015/form-entry/value-adapters/obs.adapter.js +1 -5
- package/esm2015/form-entry/value-adapters/order.adapter.js +1 -2
- package/esm2015/form-entry/value-adapters/person-attribute.adapter.js +1 -2
- package/fesm2015/openmrs-ngx-formentry.js +637 -927
- package/fesm2015/openmrs-ngx-formentry.js.map +1 -1
- package/form-entry/directives/collapse.directive.d.ts +1 -1
- package/form-entry/directives/{historical-value-directive.d.ts → historical-value.directive.d.ts} +1 -1
- package/form-entry/error-renderer/error-renderer.component.d.ts +2 -4
- package/form-entry/form-entry.module.d.ts +1 -1
- package/form-entry/form-renderer/form-renderer.component.d.ts +1 -1
- package/package.json +1 -1
package/components/ngx-pick-datetime/lib/date-time/date-time-picker-container.component.d.ts
CHANGED
|
@@ -1,22 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
* date-time-picker-container.component
|
|
3
|
-
*/
|
|
4
|
-
import { AfterContentInit, AfterViewInit, ChangeDetectorRef, ElementRef, OnInit } from '@angular/core';
|
|
1
|
+
import { AfterContentInit, AfterViewInit, ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
5
2
|
import { AnimationEvent } from '@angular/animations';
|
|
6
|
-
import {
|
|
7
|
-
import { OwlCalendarComponent } from './calendar.component';
|
|
8
|
-
import { OwlTimerComponent } from './timer.component';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
9
4
|
import { DateTimeAdapter } from './adapter/date-time-adapter.class';
|
|
5
|
+
import { OwlCalendarComponent } from './calendar.component';
|
|
10
6
|
import { OwlDateTime, PickerType } from './date-time.class';
|
|
11
|
-
import {
|
|
7
|
+
import { OwlDateTimeIntl } from './date-time-picker-intl.service';
|
|
8
|
+
import { OwlTimerComponent } from './timer.component';
|
|
12
9
|
import * as i0 from "@angular/core";
|
|
13
|
-
export declare class OwlDateTimeContainerComponent<T> implements
|
|
10
|
+
export declare class OwlDateTimeContainerComponent<T> implements AfterContentInit, AfterViewInit {
|
|
14
11
|
private cdRef;
|
|
15
12
|
private elmRef;
|
|
16
13
|
private pickerIntl;
|
|
17
14
|
private dateTimeAdapter;
|
|
18
15
|
calendar: OwlCalendarComponent<T>;
|
|
19
16
|
timer: OwlTimerComponent<T>;
|
|
17
|
+
get owlDTContainerClass(): boolean;
|
|
18
|
+
get owlDTPopupContainerClass(): boolean;
|
|
19
|
+
get owlDTDialogContainerClass(): boolean;
|
|
20
|
+
get owlDTInlineContainerClass(): boolean;
|
|
21
|
+
get owlDTContainerDisabledClass(): boolean;
|
|
22
|
+
get owlDTContainerId(): string;
|
|
23
|
+
get owlDTContainerAnimation(): "" | "enter";
|
|
24
|
+
handleContainerAnimationDone(event: AnimationEvent): void;
|
|
20
25
|
picker: OwlDateTime<T>;
|
|
21
26
|
activeSelectedIndex: number;
|
|
22
27
|
/**
|
|
@@ -64,18 +69,9 @@ export declare class OwlDateTimeContainerComponent<T> implements OnInit, AfterCo
|
|
|
64
69
|
* */
|
|
65
70
|
get showControlButtons(): boolean;
|
|
66
71
|
get containerElm(): HTMLElement;
|
|
67
|
-
get owlDTContainerClass(): boolean;
|
|
68
|
-
get owlDTPopupContainerClass(): boolean;
|
|
69
|
-
get owlDTDialogContainerClass(): boolean;
|
|
70
|
-
get owlDTInlineContainerClass(): boolean;
|
|
71
|
-
get owlDTContainerDisabledClass(): boolean;
|
|
72
|
-
get owlDTContainerId(): string;
|
|
73
|
-
get owlDTContainerAnimation(): any;
|
|
74
72
|
constructor(cdRef: ChangeDetectorRef, elmRef: ElementRef, pickerIntl: OwlDateTimeIntl, dateTimeAdapter: DateTimeAdapter<T>);
|
|
75
|
-
ngOnInit(): void;
|
|
76
73
|
ngAfterContentInit(): void;
|
|
77
74
|
ngAfterViewInit(): void;
|
|
78
|
-
handleContainerAnimationDone(event: AnimationEvent): void;
|
|
79
75
|
dateSelected(date: T): void;
|
|
80
76
|
timeSelected(time: T): void;
|
|
81
77
|
/**
|
|
@@ -121,5 +117,5 @@ export declare class OwlDateTimeContainerComponent<T> implements OnInit, AfterCo
|
|
|
121
117
|
* */
|
|
122
118
|
private focusPicker;
|
|
123
119
|
static ɵfac: i0.ɵɵFactoryDeclaration<OwlDateTimeContainerComponent<any>, [null, null, null, { optional: true; }]>;
|
|
124
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OwlDateTimeContainerComponent<any>, "owl-date-time-container", ["owlDateTimeContainer"], {}, {}, never, never>;
|
|
120
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OwlDateTimeContainerComponent<any>, "ofe-owl-date-time-container", ["owlDateTimeContainer"], {}, {}, never, never>;
|
|
125
121
|
}
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* date-time-picker-input.directive
|
|
3
|
-
*/
|
|
4
1
|
import { AfterContentInit, ElementRef, EventEmitter, OnDestroy, OnInit, Renderer2 } from '@angular/core';
|
|
5
2
|
import { AbstractControl, ControlValueAccessor, Validator } from '@angular/forms';
|
|
6
3
|
import { OwlDateTimeComponent } from './date-time-picker.component';
|
|
@@ -15,6 +12,15 @@ export declare class OwlDateTimeInputDirective<T> implements OnInit, AfterConten
|
|
|
15
12
|
private renderer;
|
|
16
13
|
private dateTimeAdapter;
|
|
17
14
|
private dateTimeFormats;
|
|
15
|
+
get owlDateTimeInputAriaHaspopup(): boolean;
|
|
16
|
+
get maxIso8601(): string;
|
|
17
|
+
get minIso8601(): string;
|
|
18
|
+
get owlDateTimeInputAriaOwns(): string;
|
|
19
|
+
get owlDateTimeInputDisabled(): boolean;
|
|
20
|
+
handleBlurOnHost($event: Event): void;
|
|
21
|
+
handleChangeOnHost($event: Event): void;
|
|
22
|
+
handleInputOnHost($event: any): void;
|
|
23
|
+
handleKeydownOnHost($event: KeyboardEvent): void;
|
|
18
24
|
/**
|
|
19
25
|
* The date time picker that this input is associated with.
|
|
20
26
|
* */
|
|
@@ -39,11 +45,6 @@ export declare class OwlDateTimeInputDirective<T> implements OnInit, AfterConten
|
|
|
39
45
|
get elementRef(): ElementRef;
|
|
40
46
|
get isInSingleMode(): boolean;
|
|
41
47
|
get isInRangeMode(): boolean;
|
|
42
|
-
get owlDateTimeInputAriaHaspopup(): boolean;
|
|
43
|
-
get owlDateTimeInputAriaOwns(): string;
|
|
44
|
-
get minIso8601(): string;
|
|
45
|
-
get maxIso8601(): string;
|
|
46
|
-
get owlDateTimeInputDisabled(): boolean;
|
|
47
48
|
private _dateTimeFilter;
|
|
48
49
|
/** Whether the date time picker's input is disabled. */
|
|
49
50
|
private _disabled;
|
|
@@ -108,13 +109,6 @@ export declare class OwlDateTimeInputDirective<T> implements OnInit, AfterConten
|
|
|
108
109
|
[key: string]: any;
|
|
109
110
|
};
|
|
110
111
|
registerOnValidatorChange(fn: () => void): void;
|
|
111
|
-
/**
|
|
112
|
-
* Open the picker when user hold alt + DOWN_ARROW
|
|
113
|
-
* */
|
|
114
|
-
handleKeydownOnHost(event: KeyboardEvent): void;
|
|
115
|
-
handleBlurOnHost(event: Event): void;
|
|
116
|
-
handleInputOnHost(event: any): void;
|
|
117
|
-
handleChangeOnHost(event: any): void;
|
|
118
112
|
/**
|
|
119
113
|
* Set the native input property 'value'
|
|
120
114
|
*/
|
|
@@ -1,24 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
* date-time-picker-trigger.directive
|
|
3
|
-
*/
|
|
4
|
-
import { AfterContentInit, ChangeDetectorRef, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
1
|
+
import { AfterContentInit, ChangeDetectorRef, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
|
5
2
|
import { OwlDateTimeComponent } from './date-time-picker.component';
|
|
6
3
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class OwlDateTimeTriggerDirective<T> implements
|
|
4
|
+
export declare class OwlDateTimeTriggerDirective<T> implements OnChanges, AfterContentInit, OnDestroy {
|
|
8
5
|
protected changeDetector: ChangeDetectorRef;
|
|
9
6
|
dtPicker: OwlDateTimeComponent<T>;
|
|
7
|
+
get owlDTTriggerDisabledClass(): boolean;
|
|
8
|
+
handleClickOnHost($event: Event): void;
|
|
10
9
|
private _disabled;
|
|
11
10
|
get disabled(): boolean;
|
|
12
11
|
set disabled(value: boolean);
|
|
13
|
-
get owlDTTriggerDisabledClass(): boolean;
|
|
14
12
|
private stateChanges;
|
|
15
13
|
constructor(changeDetector: ChangeDetectorRef);
|
|
16
|
-
ngOnInit(): void;
|
|
17
14
|
ngOnChanges(changes: SimpleChanges): void;
|
|
18
15
|
ngAfterContentInit(): void;
|
|
19
16
|
ngOnDestroy(): void;
|
|
20
|
-
handleClickOnHost(event: Event): void;
|
|
21
17
|
private watchStateChanges;
|
|
22
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<OwlDateTimeTriggerDirective<any>, never>;
|
|
23
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<OwlDateTimeTriggerDirective<any>, "[
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<OwlDateTimeTriggerDirective<any>, "[ofeOwlDateTimeTrigger]", never, { "dtPicker": "ofeOwlDateTimeTrigger"; "disabled": "disabled"; }, {}, never>;
|
|
24
20
|
}
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* date-time-picker.component
|
|
3
|
-
*/
|
|
4
|
-
import { ChangeDetectorRef, EventEmitter, InjectionToken, NgZone, OnDestroy, OnInit, ViewContainerRef } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, InjectionToken, NgZone, OnDestroy, ViewContainerRef } from '@angular/core';
|
|
5
2
|
import { BlockScrollStrategy, Overlay, ScrollStrategy } from '@angular/cdk/overlay';
|
|
6
3
|
import { OwlDateTimeInputDirective } from './date-time-picker-input.directive';
|
|
7
4
|
import { DateTimeAdapter } from './adapter/date-time-adapter.class';
|
|
@@ -19,7 +16,7 @@ export declare const OWL_DTPICKER_SCROLL_STRATEGY_PROVIDER: {
|
|
|
19
16
|
deps: (typeof Overlay)[];
|
|
20
17
|
useFactory: typeof OWL_DTPICKER_SCROLL_STRATEGY_PROVIDER_FACTORY;
|
|
21
18
|
};
|
|
22
|
-
export declare class OwlDateTimeComponent<T> extends OwlDateTime<T> implements
|
|
19
|
+
export declare class OwlDateTimeComponent<T> extends OwlDateTime<T> implements OnDestroy {
|
|
23
20
|
private overlay;
|
|
24
21
|
private viewContainerRef;
|
|
25
22
|
private dialogService;
|
|
@@ -118,7 +115,6 @@ export declare class OwlDateTimeComponent<T> extends OwlDateTime<T> implements O
|
|
|
118
115
|
get isInRangeMode(): boolean;
|
|
119
116
|
private defaultScrollStrategy;
|
|
120
117
|
constructor(overlay: Overlay, viewContainerRef: ViewContainerRef, dialogService: OwlDialogService, ngZone: NgZone, changeDetector: ChangeDetectorRef, dateTimeAdapter: DateTimeAdapter<T>, defaultScrollStrategy: any, dateTimeFormats: OwlDateTimeFormats, document: any);
|
|
121
|
-
ngOnInit(): void;
|
|
122
118
|
ngOnDestroy(): void;
|
|
123
119
|
registerInput(input: OwlDateTimeInputDirective<T>): void;
|
|
124
120
|
open(): void;
|
|
@@ -156,5 +152,5 @@ export declare class OwlDateTimeComponent<T> extends OwlDateTime<T> implements O
|
|
|
156
152
|
* */
|
|
157
153
|
private createPopupPositionStrategy;
|
|
158
154
|
static ɵfac: i0.ɵɵFactoryDeclaration<OwlDateTimeComponent<any>, [null, null, null, null, null, { optional: true; }, null, { optional: true; }, { optional: true; }]>;
|
|
159
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OwlDateTimeComponent<any>, "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>;
|
|
160
156
|
}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* timer-box.component
|
|
3
|
-
*/
|
|
4
1
|
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
5
2
|
import * as i0 from "@angular/core";
|
|
6
3
|
export declare class OwlTimerBoxComponent implements OnInit, OnDestroy {
|
|
4
|
+
get owlDTTimerBoxClass(): boolean;
|
|
7
5
|
showDivider: boolean;
|
|
8
6
|
upBtnAriaLabel: string;
|
|
9
7
|
upBtnDisabled: boolean;
|
|
@@ -24,7 +22,6 @@ export declare class OwlTimerBoxComponent implements OnInit, OnDestroy {
|
|
|
24
22
|
private inputStream;
|
|
25
23
|
private inputStreamSub;
|
|
26
24
|
get displayValue(): number;
|
|
27
|
-
get owlDTTimerBoxClass(): boolean;
|
|
28
25
|
constructor();
|
|
29
26
|
ngOnInit(): void;
|
|
30
27
|
ngOnDestroy(): void;
|
|
@@ -34,5 +31,5 @@ export declare class OwlTimerBoxComponent implements OnInit, OnDestroy {
|
|
|
34
31
|
private updateValue;
|
|
35
32
|
private updateValueViaInput;
|
|
36
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<OwlTimerBoxComponent, never>;
|
|
37
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OwlTimerBoxComponent, "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>;
|
|
38
35
|
}
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
* timer.component
|
|
3
|
-
*/
|
|
4
|
-
import { ChangeDetectorRef, ElementRef, EventEmitter, NgZone, OnInit } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, NgZone } from '@angular/core';
|
|
5
2
|
import { OwlDateTimeIntl } from './date-time-picker-intl.service';
|
|
6
3
|
import { DateTimeAdapter } from './adapter/date-time-adapter.class';
|
|
7
4
|
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class OwlTimerComponent<T>
|
|
5
|
+
export declare class OwlTimerComponent<T> {
|
|
9
6
|
private ngZone;
|
|
10
7
|
private elmRef;
|
|
11
8
|
private pickerIntl;
|
|
12
9
|
private cdRef;
|
|
13
10
|
private dateTimeAdapter;
|
|
11
|
+
get owlDTTimeTabIndex(): number;
|
|
12
|
+
get owlDTTimerClass(): boolean;
|
|
14
13
|
/** The current picker moment */
|
|
15
14
|
private _pickerMoment;
|
|
16
15
|
get pickerMoment(): T;
|
|
@@ -61,10 +60,7 @@ export declare class OwlTimerComponent<T> implements OnInit {
|
|
|
61
60
|
get downSecondButtonLabel(): string;
|
|
62
61
|
get hour12ButtonLabel(): string;
|
|
63
62
|
selectedChange: EventEmitter<T>;
|
|
64
|
-
get owlDTTimerClass(): boolean;
|
|
65
|
-
get owlDTTimeTabIndex(): number;
|
|
66
63
|
constructor(ngZone: NgZone, elmRef: ElementRef, pickerIntl: OwlDateTimeIntl, cdRef: ChangeDetectorRef, dateTimeAdapter: DateTimeAdapter<T>);
|
|
67
|
-
ngOnInit(): void;
|
|
68
64
|
/**
|
|
69
65
|
* Focus to the host element
|
|
70
66
|
* */
|
|
@@ -128,5 +124,5 @@ export declare class OwlTimerComponent<T> implements OnInit {
|
|
|
128
124
|
*/
|
|
129
125
|
private getValidDate;
|
|
130
126
|
static ɵfac: i0.ɵɵFactoryDeclaration<OwlTimerComponent<any>, [null, null, null, null, { optional: true; }]>;
|
|
131
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OwlTimerComponent<any>, "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>;
|
|
132
128
|
}
|
|
@@ -1,17 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
* dialog-container.component
|
|
3
|
-
*/
|
|
4
|
-
import { ChangeDetectorRef, ComponentRef, ElementRef, EmbeddedViewRef, EventEmitter, OnInit } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, ComponentRef, ElementRef, EmbeddedViewRef, EventEmitter } from '@angular/core';
|
|
5
2
|
import { AnimationEvent } from '@angular/animations';
|
|
6
3
|
import { FocusTrapFactory } from '@angular/cdk/a11y';
|
|
7
4
|
import { BasePortalOutlet, CdkPortalOutlet, ComponentPortal, TemplatePortal } from '@angular/cdk/portal';
|
|
8
5
|
import { OwlDialogConfig } from './dialog-config.class';
|
|
9
6
|
import * as i0 from "@angular/core";
|
|
10
|
-
export declare class OwlDialogContainerComponent extends BasePortalOutlet
|
|
7
|
+
export declare class OwlDialogContainerComponent extends BasePortalOutlet {
|
|
11
8
|
private changeDetector;
|
|
12
9
|
private elementRef;
|
|
13
10
|
private focusTrapFactory;
|
|
14
11
|
private document;
|
|
12
|
+
get owlDialogContainerTabIndex(): number;
|
|
13
|
+
get owlDialogContainerClass(): boolean;
|
|
14
|
+
get owlDialogContainerId(): string;
|
|
15
|
+
get owlDialogContainerRole(): "dialog" | "alertdialog";
|
|
16
|
+
get owlDialogContainerAriaLabelledby(): string;
|
|
17
|
+
get owlDialogContainerAriaDescribedby(): string;
|
|
18
|
+
get owlDialogContainerAnimation(): {
|
|
19
|
+
value: "enter" | "exit" | "void";
|
|
20
|
+
params: any;
|
|
21
|
+
};
|
|
22
|
+
onAnimationStart(event: AnimationEvent): void;
|
|
23
|
+
onAnimationDone(event: AnimationEvent): void;
|
|
15
24
|
portalOutlet: CdkPortalOutlet;
|
|
16
25
|
/** The class that traps and manages focus within the dialog. */
|
|
17
26
|
private focusTrap;
|
|
@@ -25,23 +34,13 @@ export declare class OwlDialogContainerComponent extends BasePortalOutlet implem
|
|
|
25
34
|
private state;
|
|
26
35
|
private params;
|
|
27
36
|
private elementFocusedBeforeDialogWasOpened;
|
|
28
|
-
get owlDialogContainerClass(): boolean;
|
|
29
|
-
get owlDialogContainerTabIndex(): number;
|
|
30
|
-
get owlDialogContainerId(): string;
|
|
31
|
-
get owlDialogContainerRole(): string;
|
|
32
|
-
get owlDialogContainerAriaLabelledby(): string;
|
|
33
|
-
get owlDialogContainerAriaDescribedby(): string;
|
|
34
|
-
get owlDialogContainerAnimation(): any;
|
|
35
37
|
constructor(changeDetector: ChangeDetectorRef, elementRef: ElementRef, focusTrapFactory: FocusTrapFactory, document: any);
|
|
36
|
-
ngOnInit(): void;
|
|
37
38
|
/**
|
|
38
39
|
* Attach a ComponentPortal as content to this dialog container.
|
|
39
40
|
*/
|
|
40
41
|
attachComponentPortal<T>(portal: ComponentPortal<T>): ComponentRef<T>;
|
|
41
42
|
attachTemplatePortal<C>(portal: TemplatePortal<C>): EmbeddedViewRef<C>;
|
|
42
43
|
setConfig(config: OwlDialogConfig): void;
|
|
43
|
-
onAnimationStart(event: AnimationEvent): void;
|
|
44
|
-
onAnimationDone(event: AnimationEvent): void;
|
|
45
44
|
startExitAnimation(): void;
|
|
46
45
|
/**
|
|
47
46
|
* Calculate origin used in the `zoomFadeInFrom()`
|
|
@@ -55,5 +54,5 @@ export declare class OwlDialogContainerComponent extends BasePortalOutlet implem
|
|
|
55
54
|
private trapFocus;
|
|
56
55
|
private restoreFocus;
|
|
57
56
|
static ɵfac: i0.ɵɵFactoryDeclaration<OwlDialogContainerComponent, [null, null, null, { optional: true; }]>;
|
|
58
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OwlDialogContainerComponent, "owl-dialog-container", never, {}, {}, never, never>;
|
|
57
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OwlDialogContainerComponent, "ofe-owl-dialog-container", never, {}, {}, never, never>;
|
|
59
58
|
}
|
|
@@ -10,15 +10,15 @@ export declare class RemoteSelectComponent implements OnInit, ControlValueAccess
|
|
|
10
10
|
remoteOptionsLoading: boolean;
|
|
11
11
|
remoteOptionInput$: Subject<string>;
|
|
12
12
|
selectedRemoteOptions: SelectOption;
|
|
13
|
-
placeholder: string;
|
|
14
|
-
componentID: string;
|
|
15
|
-
disabled: boolean;
|
|
16
|
-
theme: string;
|
|
17
13
|
items: any[];
|
|
18
14
|
value: any[];
|
|
19
15
|
loading: boolean;
|
|
20
16
|
searchText: string;
|
|
21
17
|
notFoundMsg: string;
|
|
18
|
+
placeholder: string;
|
|
19
|
+
componentID: string;
|
|
20
|
+
disabled: boolean;
|
|
21
|
+
theme: string;
|
|
22
22
|
done: EventEmitter<any>;
|
|
23
23
|
private _dataSource;
|
|
24
24
|
get dataSource(): DataSource;
|
|
@@ -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, "
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RemoteSelectComponent, "ofe-remote-select", never, { "placeholder": "placeholder"; "componentID": "componentID"; "disabled": "disabled"; "theme": "theme"; "dataSource": "dataSource"; }, { "done": "done"; }, never, never>;
|
|
40
40
|
}
|
|
@@ -8,12 +8,12 @@ export declare class TabSetComponent implements AfterContentInit, OnChanges {
|
|
|
8
8
|
customNavClass: String;
|
|
9
9
|
customTabsClass: String;
|
|
10
10
|
selectedIndex: Number;
|
|
11
|
-
|
|
11
|
+
tabSelect: EventEmitter<any>;
|
|
12
12
|
ngOnChanges(changes: SimpleChanges): void;
|
|
13
13
|
ngAfterContentInit(): void;
|
|
14
14
|
onHover($event: any): void;
|
|
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, "
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TabSetComponent, "ofe-tab-set", never, { "disableStyle": "disableStyle"; "customNavClass": "customNavClass"; "customTabsClass": "customTabsClass"; "selectedIndex": "selectedIndex"; }, { "tabSelect": "tabSelect"; }, ["tabs"], ["*"]>;
|
|
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, "
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TabComponent, "ofe-tab", never, { "tabTitle": "tabTitle"; "tabSubTitle": "tabSubTitle"; "active": "active"; "disabled": "disabled"; "bypassDOM": "bypassDOM"; "customPaneClass": "customPaneClass"; }, {}, ["template"], ["*"]>;
|
|
13
13
|
}
|
|
@@ -3,9 +3,9 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class HoverClassDirective {
|
|
4
4
|
elementRef: ElementRef;
|
|
5
5
|
constructor(elementRef: ElementRef);
|
|
6
|
-
hoverClass:
|
|
6
|
+
hoverClass: string;
|
|
7
7
|
onMouseEnter(): void;
|
|
8
8
|
onMouseLeave(): void;
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<HoverClassDirective, never>;
|
|
10
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<HoverClassDirective, "[
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HoverClassDirective, "[ofeHoverClass]", never, { "hoverClass": "hoverClass"; }, {}, never>;
|
|
11
11
|
}
|
|
@@ -91,7 +91,7 @@ export declare class NumberInputComponent implements ControlValueAccessor {
|
|
|
91
91
|
/**
|
|
92
92
|
* Emits event notifying other classes when a change in state occurs in the input.
|
|
93
93
|
*/
|
|
94
|
-
|
|
94
|
+
numberChange: EventEmitter<NumberChangeEvent>;
|
|
95
95
|
/**
|
|
96
96
|
* Sets the decrement label text
|
|
97
97
|
*/
|
|
@@ -147,5 +147,5 @@ export declare class NumberInputComponent implements ControlValueAccessor {
|
|
|
147
147
|
onNumberInputChange(event: any): void;
|
|
148
148
|
isTemplate(value: any): boolean;
|
|
149
149
|
static ɵfac: i0.ɵɵFactoryDeclaration<NumberInputComponent, never>;
|
|
150
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NumberInputComponent, "number-input", never, { "theme": "theme"; "disabled": "disabled"; "skeleton": "skeleton"; "invalid": "invalid"; "id": "id"; "size": "size"; "required": "required"; "value": "value"; "min": "min"; "max": "max"; "label": "label"; "helperText": "helperText"; "invalidText": "invalidText"; "step": "step"; "precision": "precision"; "warn": "warn"; "warnText": "warnText"; "decrementLabel": "decrementLabel"; "incrementLabel": "incrementLabel"; }, { "
|
|
150
|
+
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"; "label": "label"; "helperText": "helperText"; "invalidText": "invalidText"; "step": "step"; "precision": "precision"; "warn": "warn"; "warnText": "warnText"; "decrementLabel": "decrementLabel"; "incrementLabel": "incrementLabel"; }, { "numberChange": "numberChange"; }, never, never>;
|
|
151
151
|
}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { OnInit
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class RadioButtonControlComponent implements OnInit
|
|
3
|
+
export declare class RadioButtonControlComponent implements OnInit {
|
|
4
4
|
id: String;
|
|
5
5
|
selected: any;
|
|
6
6
|
options: Array<any>;
|
|
7
7
|
allowRadioUnselect: Boolean;
|
|
8
8
|
ngOnInit(): void;
|
|
9
|
-
ngAfterViewInit(): void;
|
|
10
9
|
writeValue(value: any): void;
|
|
11
10
|
registerOnChange(fn: (_: any) => void): void;
|
|
12
11
|
registerOnTouched(fn: () => void): void;
|
|
@@ -15,5 +14,5 @@ export declare class RadioButtonControlComponent implements OnInit, AfterViewIni
|
|
|
15
14
|
private onChange;
|
|
16
15
|
private onTouched;
|
|
17
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<RadioButtonControlComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RadioButtonControlComponent, "radio", never, { "id": "id"; "selected": "selected"; "options": "options"; "allowRadioUnselect": "allowRadioUnselect"; }, {}, never, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RadioButtonControlComponent, "ofe-radio-button", never, { "id": "id"; "selected": "selected"; "options": "options"; "allowRadioUnselect": "allowRadioUnselect"; }, {}, never, never>;
|
|
19
18
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class
|
|
2
|
+
export declare class OptGroupDirective {
|
|
3
3
|
inputClass: string;
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
5
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OptGroupDirective, never>;
|
|
5
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<OptGroupDirective, "[ofeOptgroup]", never, {}, {}, never>;
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class
|
|
2
|
+
export declare class OptionDirective {
|
|
3
3
|
inputClass: string;
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
5
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OptionDirective, never>;
|
|
5
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<OptionDirective, "[ofeOption]", never, {}, {}, never>;
|
|
6
6
|
}
|
|
@@ -2,24 +2,24 @@ import { AfterViewInit, ElementRef, EventEmitter, TemplateRef } from '@angular/c
|
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
/**
|
|
5
|
-
* `
|
|
5
|
+
* `ofe-select` provides a styled `select` component.
|
|
6
6
|
*
|
|
7
7
|
* [See demo](../../?path=/story/select--basic)
|
|
8
8
|
*
|
|
9
9
|
* Example:
|
|
10
10
|
*
|
|
11
11
|
* ```
|
|
12
|
-
* <
|
|
12
|
+
* <ofe-select [(ngModel)]="model">
|
|
13
13
|
* <option value="default" disabled selected hidden>Choose an option</option>
|
|
14
14
|
* <option value="option1">Option 1</option>
|
|
15
15
|
* <option value="option2">Option 2</option>
|
|
16
16
|
* <option value="option3">Option 3</option>
|
|
17
|
-
* </
|
|
17
|
+
* </ofe-select>
|
|
18
18
|
* ```
|
|
19
19
|
*
|
|
20
20
|
* <example-url>../../iframe.html?id=select--basic</example-url>
|
|
21
21
|
*/
|
|
22
|
-
export declare class
|
|
22
|
+
export declare class SelectComponent implements ControlValueAccessor, AfterViewInit {
|
|
23
23
|
/**
|
|
24
24
|
* Tracks the total number of selects instantiated. Used to generate unique IDs
|
|
25
25
|
*/
|
|
@@ -110,6 +110,6 @@ export declare class Select implements ControlValueAccessor, AfterViewInit {
|
|
|
110
110
|
*/
|
|
111
111
|
protected onChangeHandler: (_: any) => void;
|
|
112
112
|
protected onTouchedHandler: () => void;
|
|
113
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
114
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
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, ["*"]>;
|
|
115
115
|
}
|
|
@@ -6,6 +6,6 @@ import * as i4 from "@angular/common";
|
|
|
6
6
|
import * as i5 from "@angular/forms";
|
|
7
7
|
export declare class SelectModule {
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SelectModule, [typeof i1.
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SelectModule, [typeof i1.SelectComponent, typeof i2.OptionDirective, typeof i3.OptGroupDirective], [typeof i4.CommonModule, typeof i5.FormsModule], [typeof i1.SelectComponent, typeof i2.OptionDirective, typeof i3.OptGroupDirective]>;
|
|
10
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<SelectModule>;
|
|
11
11
|
}
|
|
@@ -20,7 +20,6 @@ export class AfeNgSelectComponent {
|
|
|
20
20
|
this.propagateChange = fn;
|
|
21
21
|
}
|
|
22
22
|
registerOnTouched(fn) { }
|
|
23
|
-
ngOnChanges(changes) { }
|
|
24
23
|
ngOnInit() {
|
|
25
24
|
if (this.extras) {
|
|
26
25
|
if (this.extras.originalValue) {
|
|
@@ -60,13 +59,13 @@ export class AfeNgSelectComponent {
|
|
|
60
59
|
}
|
|
61
60
|
}
|
|
62
61
|
AfeNgSelectComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AfeNgSelectComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
63
|
-
AfeNgSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: AfeNgSelectComponent, selector: "
|
|
62
|
+
AfeNgSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: AfeNgSelectComponent, selector: "ofe-ng-select", inputs: { dataSource: "dataSource", multiple: "multiple", extras: "extras" }, providers: [
|
|
64
63
|
{
|
|
65
64
|
provide: NG_VALUE_ACCESSOR,
|
|
66
65
|
useExisting: forwardRef(() => AfeNgSelectComponent),
|
|
67
66
|
multi: true
|
|
68
67
|
}
|
|
69
|
-
],
|
|
68
|
+
], ngImport: i0, template: `<ng-select
|
|
70
69
|
(searchInputText)="getChangingText($event)"
|
|
71
70
|
(ngModelChange)="onValueChange($event)"
|
|
72
71
|
[options]="question_options"
|
|
@@ -76,7 +75,7 @@ AfeNgSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
76
75
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AfeNgSelectComponent, decorators: [{
|
|
77
76
|
type: Component,
|
|
78
77
|
args: [{
|
|
79
|
-
selector: '
|
|
78
|
+
selector: 'ofe-ng-select',
|
|
80
79
|
template: `<ng-select
|
|
81
80
|
(searchInputText)="getChangingText($event)"
|
|
82
81
|
(ngModelChange)="onValueChange($event)"
|
|
@@ -99,4 +98,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
99
98
|
}], extras: [{
|
|
100
99
|
type: Input
|
|
101
100
|
}] } });
|
|
102
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
101
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWZlLW5nLXNlbGVjdC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtZm9ybWVudHJ5L3NyYy9jb21wb25lbnRzL2FmZS1uZy1zZWxlY3QuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLFVBQVUsRUFBVSxNQUF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