@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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dotglitch/ngx-common",
3
3
  "private": false,
4
- "version": "1.0.15",
4
+ "version": "1.0.16",
5
5
  "repository": {
6
6
  "url": "https://github.com/knackstedt/dotglitch-ngx/tree/main/packages/common"
7
7
  },
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
+ }