@fluxhub/fluxhub-lib 1.0.101 → 1.0.103

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.
@@ -0,0 +1,48 @@
1
+ import { Observable } from 'rxjs/Observable';
2
+ import 'rxjs/Rx';
3
+ import { ToastrService } from "ngx-toastr";
4
+ import { QueryService } from "./doquery.service";
5
+ import { FileService } from "./dofile.service";
6
+ import { UtilityService } from "./utility.service";
7
+ /**
8
+ * @export
9
+ */
10
+ export interface Command {
11
+ id?: string;
12
+ op: string;
13
+ v1?: string;
14
+ v2?: string;
15
+ ord: number;
16
+ }
17
+ /**
18
+ * @export
19
+ */
20
+ export interface CommandOptions {
21
+ timeout?: number;
22
+ checkInterval?: number;
23
+ }
24
+ /**
25
+ * @export
26
+ */
27
+ export interface ChunkInfo {
28
+ uiid: string;
29
+ chunk: string;
30
+ done: boolean;
31
+ }
32
+ export declare class OfficeAutomatorService {
33
+ private dataService;
34
+ private fileService;
35
+ private toastr;
36
+ private utility;
37
+ /**
38
+ *
39
+ */
40
+ constructor(dataService: QueryService, fileService: FileService, toastr: ToastrService, utility: UtilityService);
41
+ /**
42
+ * @param commands
43
+ * @param options
44
+ * @export
45
+ */
46
+ runCommands(commands: Command[], options: CommandOptions): Observable<ChunkInfo>;
47
+ send_file_to_user(fs_path: string, web_path: string, error_msg?: string): void;
48
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluxhub/fluxhub-lib",
3
- "version": "1.0.101",
3
+ "version": "1.0.103",
4
4
  "description": "FluxHub components and workflow library",
5
5
  "main": "bundles/fluxhub-fluxhub-lib.umd.js",
6
6
  "peerDependencies": {},
package/public_api.d.ts CHANGED
@@ -8,6 +8,7 @@ export { WkfService } from './lib/services/dowkf.service';
8
8
  export { GridService } from './lib/services/grid.service';
9
9
  export { AuthenticationService } from './lib/services/login.service';
10
10
  export { UtilityService } from './lib/services/utility.service';
11
+ export { OfficeAutomatorService } from './lib/services/office_automator.service';
11
12
  export { LocalDBService } from './lib/services/localstorage.service';
12
13
  export { FHGuard } from './lib/auth_guard';
13
14
  export { FHGridJSONComponent } from './lib/controls/fhgrid_json';