@recursyve/nice-ui-kit.v2 16.0.0-beta.141 → 16.0.0-beta.142
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/esm2022/lib/components/form-error/control-status.directive.mjs +59 -59
- package/esm2022/lib/utils/file.utils.mjs +14 -1
- package/fesm2022/recursyve-nice-ui-kit.v2.mjs +71 -58
- package/fesm2022/recursyve-nice-ui-kit.v2.mjs.map +1 -1
- package/lib/components/form-error/control-status.directive.d.ts +1 -1
- package/lib/utils/file.utils.d.ts +3 -0
- package/package.json +1 -1
|
@@ -10,10 +10,10 @@ export declare class NiceControlStatusDirective implements AfterViewInit, OnDest
|
|
|
10
10
|
private ref;
|
|
11
11
|
private control;
|
|
12
12
|
private unsubscribeAll$;
|
|
13
|
+
onChange: () => void;
|
|
13
14
|
constructor(el: ElementRef<HTMLElement>, vcr: ViewContainerRef, formField: MatFormField, translateService: TranslateService);
|
|
14
15
|
ngAfterViewInit(): void;
|
|
15
16
|
ngOnDestroy(): void;
|
|
16
|
-
onChange(): void;
|
|
17
17
|
setError(text: string): void;
|
|
18
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<NiceControlStatusDirective, never>;
|
|
19
19
|
static ɵdir: i0.ɵɵDirectiveDeclaration<NiceControlStatusDirective, "[niceControlStatus]", never, {}, {}, never, never, false, never>;
|
|
@@ -2,6 +2,9 @@ export declare class FileUtils {
|
|
|
2
2
|
static getFileFromUrl(url?: string, name?: string): Promise<File | undefined>;
|
|
3
3
|
static selectFile(accept: string, multiple?: boolean): Promise<File | File[]>;
|
|
4
4
|
static downloadFile(fileName: string, content: Blob, downloadLink?: HTMLAnchorElement): void;
|
|
5
|
+
static openFile(file: Blob, options?: {
|
|
6
|
+
openInNewTab: boolean;
|
|
7
|
+
}): void;
|
|
5
8
|
static downloadUrl(url: string): void;
|
|
6
9
|
static openPrintableWindow(content: string): void;
|
|
7
10
|
static filenameToExtension(filename: string): string;
|