@dotglitch/ngx-common 1.0.15 → 1.0.16
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/public-api.mjs +2 -1
- package/esm2020/services/file.service.mjs +42 -0
- package/fesm2015/dotglitch-ngx-common.mjs +40 -1
- package/fesm2015/dotglitch-ngx-common.mjs.map +1 -1
- package/fesm2020/dotglitch-ngx-common.mjs +40 -1
- package/fesm2020/dotglitch-ngx-common.mjs.map +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/services/file.service.d.ts +12 -0
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -23,6 +23,7 @@ export * from './services/dependency.service';
|
|
|
23
23
|
export * from './services/dialog.service';
|
|
24
24
|
export * from './services/fetch.service';
|
|
25
25
|
export * from './services/keyboard.service';
|
|
26
|
+
export * from './services/file.service';
|
|
26
27
|
/**
|
|
27
28
|
** Lazy loader component & service
|
|
28
29
|
*/
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Fetch } from './fetch.service';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Service that listens for global keyboard events
|
|
5
|
+
*/
|
|
6
|
+
export declare class FileService {
|
|
7
|
+
private fetch;
|
|
8
|
+
constructor(fetch: Fetch);
|
|
9
|
+
chooseFile: (accept?: string, multiple?: boolean, formMetadata?: {}) => Promise<unknown>;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FileService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FileService>;
|
|
12
|
+
}
|