@festo-ui/angular 5.0.0-dev.147 → 5.0.0-dev.149
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/esm2020/lib/forms/select/select.component.mjs +19 -11
- package/esm2020/lib/modals/prompt/prompt.component.mjs +11 -5
- package/fesm2015/festo-ui-angular.mjs +28 -14
- package/fesm2015/festo-ui-angular.mjs.map +1 -1
- package/fesm2020/festo-ui-angular.mjs +26 -14
- package/fesm2020/festo-ui-angular.mjs.map +1 -1
- package/lib/forms/select/select.component.d.ts +5 -3
- package/lib/modals/prompt/prompt.component.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OnInit, Renderer2, ElementRef, AfterViewInit, QueryList, EventEmitter, ChangeDetectorRef } from '@angular/core';
|
|
1
|
+
import { OnInit, Renderer2, ElementRef, AfterViewInit, QueryList, EventEmitter, ChangeDetectorRef, AfterContentInit } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import { FngSelectOptionComponent } from './select-option/select-option.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
@@ -6,7 +6,7 @@ export interface FngSelectOption {
|
|
|
6
6
|
value: any;
|
|
7
7
|
text: string;
|
|
8
8
|
}
|
|
9
|
-
export declare class FngSelectComponent implements ControlValueAccessor, OnInit, AfterViewInit {
|
|
9
|
+
export declare class FngSelectComponent implements ControlValueAccessor, OnInit, AfterViewInit, AfterContentInit {
|
|
10
10
|
protected document: any;
|
|
11
11
|
protected renderer: Renderer2;
|
|
12
12
|
protected cd: ChangeDetectorRef;
|
|
@@ -46,9 +46,12 @@ export declare class FngSelectComponent implements ControlValueAccessor, OnInit,
|
|
|
46
46
|
checked: Map<any, any>;
|
|
47
47
|
hasProjectedOptions: boolean;
|
|
48
48
|
projectedHtml: any[];
|
|
49
|
+
private complete;
|
|
49
50
|
constructor(document: any, renderer: Renderer2, cd: ChangeDetectorRef);
|
|
51
|
+
ngAfterContentInit(): void;
|
|
50
52
|
ngOnInit(): void;
|
|
51
53
|
ngAfterViewInit(): void;
|
|
54
|
+
ngOnDestroy(): void;
|
|
52
55
|
registerOnChange(fn: any): void;
|
|
53
56
|
registerOnTouched(fn: any): void;
|
|
54
57
|
setDisabledState(shouldDisable: boolean): void;
|
|
@@ -61,7 +64,6 @@ export declare class FngSelectComponent implements ControlValueAccessor, OnInit,
|
|
|
61
64
|
toggle(): void;
|
|
62
65
|
select(value: any, event: Event): void;
|
|
63
66
|
markAsTouched(): void;
|
|
64
|
-
onContentChange(event: Event): void;
|
|
65
67
|
protected initProjectedOptions(): void;
|
|
66
68
|
protected isEmpty(): void;
|
|
67
69
|
static ɵfac: i0.ɵɵFactoryDeclaration<FngSelectComponent, never>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { AfterViewInit, ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { AbstractControlOptions, AsyncValidatorFn, FormBuilder, FormGroup, ValidatorFn } from '@angular/forms';
|
|
3
3
|
import { Modal } from '../index';
|
|
4
|
+
import { FngTextInputComponent } from '../../forms/text-input/text-input.component';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export interface FngPromptData {
|
|
6
7
|
title: string;
|
|
@@ -24,6 +25,7 @@ export declare class FngPromptComponent implements OnInit, AfterViewInit, OnDest
|
|
|
24
25
|
cancel: EventEmitter<any>;
|
|
25
26
|
ok: EventEmitter<any>;
|
|
26
27
|
closeBtn: ElementRef | undefined;
|
|
28
|
+
inputField: FngTextInputComponent | undefined;
|
|
27
29
|
form: FormGroup;
|
|
28
30
|
error: string;
|
|
29
31
|
get text(): string;
|
package/package.json
CHANGED