@festo-ui/angular 4.0.3-pre-20221007.5 → 4.0.3-pre-20221026.2
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/components/modals/prompt/prompt.component.mjs +4 -4
- package/esm2020/lib/forms/text-editor/text-editor.component.mjs +16 -3
- package/fesm2015/festo-ui-angular.mjs +18 -4
- package/fesm2015/festo-ui-angular.mjs.map +1 -1
- package/fesm2020/festo-ui-angular.mjs +17 -4
- package/fesm2020/festo-ui-angular.mjs.map +1 -1
- package/lib/components/modals/prompt/prompt.component.d.ts +3 -3
- package/lib/forms/text-editor/text-editor.component.d.ts +5 -0
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AfterViewInit, ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { AbstractControlOptions, AsyncValidatorFn,
|
|
2
|
+
import { AbstractControlOptions, AsyncValidatorFn, FormBuilder, FormGroup, ValidatorFn } from '@angular/forms';
|
|
3
3
|
import { Modal } from '../index';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export interface PromptData {
|
|
@@ -23,12 +23,12 @@ export declare class PromptComponent implements OnInit, AfterViewInit, OnDestroy
|
|
|
23
23
|
cancel: EventEmitter<any>;
|
|
24
24
|
ok: EventEmitter<any>;
|
|
25
25
|
closeBtn: ElementRef;
|
|
26
|
-
form:
|
|
26
|
+
form: FormGroup;
|
|
27
27
|
error: string;
|
|
28
28
|
get text(): string;
|
|
29
29
|
get valid(): boolean;
|
|
30
30
|
private complete;
|
|
31
|
-
constructor(formBuilder:
|
|
31
|
+
constructor(formBuilder: FormBuilder);
|
|
32
32
|
onKeyUp(event: KeyboardEvent): void;
|
|
33
33
|
ngOnInit(): void;
|
|
34
34
|
ngAfterViewInit(): void;
|
|
@@ -15,6 +15,11 @@ export interface TextEditorConfiguration {
|
|
|
15
15
|
image?: boolean;
|
|
16
16
|
link?: boolean;
|
|
17
17
|
};
|
|
18
|
+
sanitizing?: {
|
|
19
|
+
skipDefaultSanitizing?: boolean;
|
|
20
|
+
skipWhitespaceHandling?: boolean;
|
|
21
|
+
sanitizingFn?: (ds: DomSanitizer) => string;
|
|
22
|
+
};
|
|
18
23
|
}
|
|
19
24
|
export declare class TextEditorComponent extends ValueAccessorBaseDirective<string> implements OnInit, AfterViewInit, OnChanges {
|
|
20
25
|
elementRef: ElementRef;
|
package/package.json
CHANGED