@fluxhub/fluxhub-lib 1.0.102 → 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.
- package/bundles/fluxhub-fluxhub-lib.umd.js +205 -42
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/docs/coverage.html +64 -0
- package/docs/injectables/OfficeAutomatorService.html +424 -0
- package/docs/interfaces/ChunkInfo.html +246 -0
- package/docs/interfaces/Command.html +328 -0
- package/docs/interfaces/CommandOptions.html +226 -0
- package/docs/js/menu-wc.js +20 -8
- package/docs/js/search/search_index.js +2 -2
- package/docs/overview.html +2 -2
- package/esm2015/fluxhub-fluxhub-lib.js +2 -2
- package/esm2015/lib/fluxhub-lib.module.js +3 -2
- package/esm2015/lib/services/office_automator.service.js +206 -0
- package/esm2015/public_api.js +2 -1
- package/esm5/fluxhub-fluxhub-lib.js +2 -2
- package/esm5/lib/fluxhub-lib.module.js +3 -2
- package/esm5/lib/services/office_automator.service.js +219 -0
- package/esm5/public_api.js +2 -1
- package/fesm2015/fluxhub-fluxhub-lib.js +150 -4
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +161 -3
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/services/office_automator.service.d.ts +48 -0
- package/package.json +1 -1
- package/public_api.d.ts +1 -0
|
@@ -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
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';
|