@fluxhub/fluxhub-lib 1.0.127 → 1.0.130

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.
Files changed (59) hide show
  1. package/bundles/fluxhub-fluxhub-lib.umd.js +410 -254
  2. package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
  3. package/bundles/fluxhub-fluxhub-lib.umd.min.js +1 -1
  4. package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
  5. package/docs/components/FormBuilderComponent.html +13 -1
  6. package/docs/dependencies.html +1 -1
  7. package/docs/graph/dependencies.svg +361 -349
  8. package/docs/injectables/AppMakerService.html +35 -5
  9. package/docs/injectables/AuthenticationService.html +110 -9
  10. package/docs/injectables/FileService.html +35 -5
  11. package/docs/injectables/OdbcService.html +35 -5
  12. package/docs/injectables/WkfService.html +35 -5
  13. package/docs/js/menu-wc.js +1 -1
  14. package/docs/js/search/search_index.js +2 -2
  15. package/docs/modules/FluxhubLibModule/dependencies.svg +361 -349
  16. package/docs/modules/FluxhubLibModule.html +364 -352
  17. package/docs/overview.html +361 -349
  18. package/esm2015/lib/auth_guard.js +4 -4
  19. package/esm2015/lib/fluxhub-lib.module.js +5 -5
  20. package/esm2015/lib/form_builder/form_builder.js +23 -3
  21. package/esm2015/lib/services/app_maker.service.js +46 -13
  22. package/esm2015/lib/services/dofile.service.js +45 -38
  23. package/esm2015/lib/services/doquery.service.js +5 -7
  24. package/esm2015/lib/services/doquery_odbc.service.js +46 -41
  25. package/esm2015/lib/services/dowkf.service.js +46 -41
  26. package/esm2015/lib/services/grid.service.js +4 -6
  27. package/esm2015/lib/services/login.service.js +164 -61
  28. package/esm2015/lib/services/office_automator.service.js +7 -7
  29. package/esm2015/lib/wkf_engine/win_uploads.js +1 -1
  30. package/esm2015/public_api.js +1 -1
  31. package/esm5/lib/auth_guard.js +4 -4
  32. package/esm5/lib/fluxhub-lib.module.js +5 -5
  33. package/esm5/lib/form_builder/form_builder.js +23 -3
  34. package/esm5/lib/services/app_maker.service.js +48 -13
  35. package/esm5/lib/services/dofile.service.js +47 -46
  36. package/esm5/lib/services/doquery.service.js +5 -7
  37. package/esm5/lib/services/doquery_odbc.service.js +48 -49
  38. package/esm5/lib/services/dowkf.service.js +48 -49
  39. package/esm5/lib/services/grid.service.js +4 -6
  40. package/esm5/lib/services/login.service.js +178 -69
  41. package/esm5/lib/services/office_automator.service.js +7 -7
  42. package/esm5/lib/wkf_engine/win_uploads.js +1 -1
  43. package/esm5/public_api.js +1 -1
  44. package/fesm2015/fluxhub-fluxhub-lib.js +345 -199
  45. package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
  46. package/fesm5/fluxhub-fluxhub-lib.js +370 -234
  47. package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
  48. package/fluxhub-fluxhub-lib.metadata.json +1 -1
  49. package/lib/auth_guard.d.ts +1 -1
  50. package/lib/form_builder/form_builder.d.ts +3 -1
  51. package/lib/services/app_maker.service.d.ts +7 -6
  52. package/lib/services/dofile.service.d.ts +7 -8
  53. package/lib/services/doquery.service.d.ts +1 -2
  54. package/lib/services/doquery_odbc.service.d.ts +7 -8
  55. package/lib/services/dowkf.service.d.ts +7 -8
  56. package/lib/services/grid.service.d.ts +1 -2
  57. package/lib/services/login.service.d.ts +15 -15
  58. package/lib/services/office_automator.service.d.ts +1 -2
  59. package/package.json +39 -39
@@ -1,11 +1,11 @@
1
1
  import { CanActivate, Router, RouterStateSnapshot, ActivatedRouteSnapshot } from "@angular/router";
2
- import { Observable } from "rxjs";
3
2
  import { Http } from "@angular/http";
4
3
  import { SlimLoadingBarService } from "ng2-slim-loading-bar";
5
4
  import { ToastrService } from "ngx-toastr";
6
5
  import { AuthenticationService } from "./services/login.service";
7
6
  import { QueryService } from "./services/doquery.service";
8
7
  import { AppService } from "./services/app.service";
8
+ import { Observable } from "rxjs";
9
9
  export declare class FHGuard implements CanActivate {
10
10
  private http;
11
11
  auth: AuthenticationService;
@@ -1,9 +1,11 @@
1
1
  import { OnInit, ElementRef } from '@angular/core';
2
2
  import { UtilityService } from "../services/utility.service";
3
3
  import { MatDialog } from "@angular/material";
4
+ import { DragulaService } from "ng2-dragula";
4
5
  export declare class FormBuilderComponent implements OnInit {
5
6
  private fhutility;
6
7
  private _dialog;
8
+ private dragula;
7
9
  bottoml: ElementRef;
8
10
  items: any[];
9
11
  add_component(o: any): void;
@@ -17,7 +19,7 @@ export declare class FormBuilderComponent implements OnInit {
17
19
  'background-color': string;
18
20
  };
19
21
  ok_panel(): void;
20
- constructor(fhutility: UtilityService, _dialog: MatDialog);
22
+ constructor(fhutility: UtilityService, _dialog: MatDialog, dragula: DragulaService);
21
23
  edit_item(uiid_obj: any): void;
22
24
  del_item(uiid_obj: any): void;
23
25
  ngOnInit(): void;
@@ -1,16 +1,17 @@
1
- import 'rxjs/Rx';
2
- import { Http, Headers } from '@angular/http';
3
- import { Observable } from 'rxjs';
4
1
  import { AppService } from './app.service';
5
2
  import { QParam } from '../models/QParam';
6
3
  import { QResult } from '../models/QResult';
4
+ import { ToastrService } from "ngx-toastr";
5
+ import { HttpClient, HttpHeaders } from "@angular/common/http";
6
+ import { Observable } from "rxjs";
7
7
  export declare class AppMakerService {
8
8
  private http;
9
9
  private app_s;
10
- headers: Headers;
11
- constructor(http: Http, app_s: AppService);
10
+ private toastr;
11
+ headers: HttpHeaders;
12
+ constructor(http: HttpClient, app_s: AppService, toastr: ToastrService);
12
13
  url: string;
13
- doQuery(queryp: QParam): Observable<QResult>;
14
+ doQuery(queryp: QParam, displayError?: boolean): Observable<QResult>;
14
15
  private extractData;
15
16
  private handleError;
16
17
  }
@@ -1,16 +1,15 @@
1
- import { Observable } from 'rxjs/Observable';
2
- import 'rxjs/Rx';
3
- import { Http, Headers } from '@angular/http';
4
1
  import { AppService } from './app.service';
5
2
  import { FSInput } from '../models/FSInput';
6
3
  import { FSResult } from '../models/FSResult';
4
+ import { HttpClient, HttpHeaders } from "@angular/common/http";
5
+ import { ToastrService } from "ngx-toastr";
6
+ import { Observable } from "rxjs";
7
7
  export declare class FileService {
8
8
  private http;
9
9
  private app_s;
10
- headers: Headers;
11
- constructor(http: Http, app_s: AppService);
10
+ private toastr;
11
+ headers: HttpHeaders;
12
+ constructor(http: HttpClient, app_s: AppService, toastr: ToastrService);
12
13
  private url;
13
- doQuery(queryp: FSInput): Observable<FSResult>;
14
- private extractData;
15
- private handleError;
14
+ doQuery(queryp: FSInput, displayError?: boolean): Observable<FSResult>;
16
15
  }
@@ -1,11 +1,10 @@
1
- import { Observable } from 'rxjs';
2
- import 'rxjs/Rx';
3
1
  import { HttpClient, HttpHeaders } from '@angular/common/http';
4
2
  import { ToastrService } from 'ngx-toastr';
5
3
  import { AppService } from './app.service';
6
4
  import { UtilityService } from './utility.service';
7
5
  import { QResult } from '../models/QResult';
8
6
  import { QParam } from '../models/QParam';
7
+ import { Observable } from "rxjs";
9
8
  export declare class QueryService {
10
9
  private http;
11
10
  private toastr;
@@ -1,16 +1,15 @@
1
- import { Observable } from 'rxjs/Observable';
2
- import 'rxjs/Rx';
3
- import { Http, Headers } from '@angular/http';
1
+ import { HttpClient, HttpHeaders } from '@angular/common/http';
2
+ import { ToastrService } from 'ngx-toastr';
4
3
  import { AppService } from './app.service';
5
4
  import { QParam } from '../models/QParam';
6
5
  import { QResult } from '../models/QResult';
6
+ import { Observable } from "rxjs";
7
7
  export declare class OdbcService {
8
8
  private http;
9
9
  private app_s;
10
- headers: Headers;
11
- constructor(http: Http, app_s: AppService);
10
+ private toastr;
11
+ headers: HttpHeaders;
12
+ constructor(http: HttpClient, app_s: AppService, toastr: ToastrService);
12
13
  url: string;
13
- doQuery(queryp: QParam): Observable<QResult>;
14
- private extractData;
15
- private handleError;
14
+ doQuery(queryp: QParam, displayError?: boolean): Observable<QResult>;
16
15
  }
@@ -1,16 +1,15 @@
1
- import { Observable } from 'rxjs/Observable';
2
- import 'rxjs/Rx';
3
- import { Http, Headers } from '@angular/http';
4
1
  import { AppService } from './app.service';
5
2
  import { QParam } from '../models/QParam';
6
3
  import { QResult } from '../models/QResult';
4
+ import { ToastrService } from "ngx-toastr";
5
+ import { HttpClient, HttpHeaders } from "@angular/common/http";
6
+ import { Observable } from "rxjs";
7
7
  export declare class WkfService {
8
8
  private http;
9
9
  private app_s;
10
- headers: Headers;
11
- constructor(http: Http, app_s: AppService);
10
+ private toastr;
11
+ headers: HttpHeaders;
12
+ constructor(http: HttpClient, app_s: AppService, toastr: ToastrService);
12
13
  url: string;
13
- doQuery(queryp: QParam): Observable<QResult>;
14
- private extractData;
15
- private handleError;
14
+ doQuery(queryp: QParam, displayError?: boolean): Observable<QResult>;
16
15
  }
@@ -1,10 +1,9 @@
1
- import { Observable } from 'rxjs/Observable';
2
- import 'rxjs/Rx';
3
1
  import { HttpClient, HttpHeaders } from '@angular/common/http';
4
2
  import { AppService } from './app.service';
5
3
  import { QGParam } from '../models/QGParam';
6
4
  import { QGResult } from '../models/QGResult';
7
5
  import { ToastrService } from 'ngx-toastr';
6
+ import { Observable } from "rxjs";
8
7
  export declare class GridService {
9
8
  private http;
10
9
  private app_s;
@@ -1,13 +1,15 @@
1
- import { UtilityService } from './utility.service';
2
- import { Router, ActivatedRoute } from '@angular/router';
3
- import { Http, Headers } from '@angular/http';
4
- import { Observable } from 'rxjs/Observable';
5
- import { QueryService } from './doquery.service';
6
- import { FileService } from './dofile.service';
1
+ import { HttpClient, HttpHeaders } from '@angular/common/http';
7
2
  import { AppService } from './app.service';
3
+ import { UtilityService } from './utility.service';
8
4
  import { QResult } from '../models/QResult';
5
+ import { QueryService } from "./doquery.service";
6
+ import { ActivatedRoute, Router } from "@angular/router";
7
+ import { FileService } from "./dofile.service";
8
+ import { ToastrService } from "ngx-toastr";
9
+ import { Observable } from "rxjs";
9
10
  export declare class AuthenticationService {
10
11
  private _dataService;
12
+ private toastr;
11
13
  private http;
12
14
  private router;
13
15
  private route;
@@ -16,18 +18,16 @@ export declare class AuthenticationService {
16
18
  private uti_s;
17
19
  private url;
18
20
  goto_after: string;
19
- headers: Headers;
20
- constructor(_dataService: QueryService, http: Http, router: Router, route: ActivatedRoute, _fileService: FileService, app_s: AppService, uti_s: UtilityService);
21
+ headers: HttpHeaders;
22
+ constructor(_dataService: QueryService, toastr: ToastrService, http: HttpClient, router: Router, route: ActivatedRoute, _fileService: FileService, app_s: AppService, uti_s: UtilityService);
21
23
  logout(): void;
22
- login(username: string, password: string): Observable<QResult>;
23
- get_user_info(username: string): Observable<QResult>;
24
+ login(username: string, password: string, displayError?: boolean): Observable<QResult>;
25
+ get_user_info(username: string, displayError?: boolean): Observable<QResult>;
24
26
  username: string;
25
27
  login_sa(): void;
26
- passrecovery(email: string): Observable<QResult>;
27
- checktoken(res_rep: string): Observable<QResult>;
28
- change_password(token: string, password: string): Observable<QResult>;
29
- private extractData;
30
- private handleError;
28
+ passrecovery(email: string, displayError?: boolean): Observable<QResult>;
29
+ checktoken(res_rep: string, displayError?: boolean): Observable<QResult>;
30
+ change_password(token: string, password: string, displayError?: boolean): Observable<QResult>;
31
31
  checkCredentials_toLogin(): boolean;
32
32
  checkCredentials(): boolean;
33
33
  }
@@ -1,9 +1,8 @@
1
- import { Observable } from 'rxjs/Observable';
2
- import 'rxjs/Rx';
3
1
  import { ToastrService } from "ngx-toastr";
4
2
  import { QueryService } from "./doquery.service";
5
3
  import { FileService } from "./dofile.service";
6
4
  import { UtilityService } from "./utility.service";
5
+ import { Observable } from "rxjs";
7
6
  /**
8
7
  * @export
9
8
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluxhub/fluxhub-lib",
3
- "version": "1.0.127",
3
+ "version": "1.0.130",
4
4
  "description": "FluxHub components and workflow library",
5
5
  "main": "bundles/fluxhub-fluxhub-lib.umd.js",
6
6
  "peerDependencies": {},
@@ -8,61 +8,61 @@
8
8
  "tslib": "^1.9.0"
9
9
  },
10
10
  "devDependencies": {
11
- "@agm/core": "^1.0.0-beta.3",
12
- "@angular-devkit/build-angular": "~0.10.3",
13
- "@angular-devkit/build-ng-packagr": "~0.10.3",
14
- "@angular/animations": "^7.0.1",
15
- "@angular/cdk": "^7.0.1",
16
- "@angular/cli": "~7.0.3",
17
- "@angular/common": "^7.0.1",
18
- "@angular/compiler": "^7.0.1",
19
- "@angular/compiler-cli": "^7.0.1",
20
- "@angular/core": "^7.0.1",
11
+ "@agm/core": "^1.0.0-beta.5",
12
+ "@angular-devkit/build-angular": "~0.10.5",
13
+ "@angular-devkit/build-ng-packagr": "~0.10.5",
14
+ "@angular/animations": "^7.0.3",
15
+ "@angular/cdk": "^7.0.3",
16
+ "@angular/cli": "~7.0.5",
17
+ "@angular/common": "^7.0.3",
18
+ "@angular/compiler": "^7.0.3",
19
+ "@angular/compiler-cli": "^7.0.3",
20
+ "@angular/core": "^7.0.3",
21
21
  "@angular/flex-layout": "^7.0.0-beta.19",
22
- "@angular/forms": "^7.0.1",
23
- "@angular/http": "^7.0.1",
24
- "@angular/language-service": "^7.0.1",
25
- "@angular/material": "^7.0.1",
26
- "@angular/material-moment-adapter": "^7.0.1",
27
- "@angular/platform-browser": "^7.0.1",
28
- "@angular/platform-browser-dynamic": "^7.0.1",
29
- "@angular/router": "^7.0.1",
22
+ "@angular/forms": "^7.0.3",
23
+ "@angular/http": "^7.0.3",
24
+ "@angular/language-service": "^7.0.3",
25
+ "@angular/material": "^7.0.3",
26
+ "@angular/material-moment-adapter": "^7.0.3",
27
+ "@angular/platform-browser": "^7.0.3",
28
+ "@angular/platform-browser-dynamic": "^7.0.3",
29
+ "@angular/router": "^7.0.3",
30
30
  "@ngx-translate/core": "^11.0.0",
31
- "@types/jasmine": "~2.8.8",
32
- "@types/jasminewd2": "~2.0.3",
33
- "@types/node": "~10.12.0",
31
+ "@types/jasmine": "~2.8.11",
32
+ "@types/jasminewd2": "~2.0.6",
33
+ "@types/node": "~10.12.5",
34
34
  "ag-grid": "17.0.0",
35
35
  "ag-grid-angular": "17.0.0",
36
36
  "ag-grid-enterprise": "17.0.0",
37
- "bpmn-js": "^2.5.0",
38
- "bpmn-js-properties-panel": "^0.26.1",
37
+ "bpmn-js": "^3.0.1",
38
+ "bpmn-js-properties-panel": "^0.26.2",
39
39
  "codelyzer": "~4.5.0",
40
- "jasmine-core": "~3.2.1",
40
+ "jasmine-core": "~3.3.0",
41
41
  "jasmine-spec-reporter": "~4.2.1",
42
42
  "karma": "~3.1.1",
43
43
  "karma-chrome-launcher": "~2.2.0",
44
- "karma-coverage-istanbul-reporter": "~2.0.2",
44
+ "karma-coverage-istanbul-reporter": "~2.0.4",
45
45
  "karma-jasmine": "~1.1.2",
46
- "karma-jasmine-html-reporter": "^1.3.1",
47
- "localforage": "^1.7.2",
48
- "mydatepicker": "^2.6.5",
49
- "ng-packagr": "^4.1.1",
50
- "ng2-ckeditor": "^1.2.1",
46
+ "karma-jasmine-html-reporter": "^1.4.0",
47
+ "localforage": "^1.7.3",
48
+ "mydatepicker": "^2.6.6",
49
+ "ng-packagr": "^4.4.0",
50
+ "ng2-ckeditor": "^1.2.2",
51
51
  "ng2-file-upload": "^1.3.0",
52
52
  "ng2-slim-loading-bar": "^4.0.0",
53
- "ngforage": "^4.0.0",
54
- "ngx-color-picker": "^6.6.0",
53
+ "ngforage": "^4.0.1",
54
+ "ngx-color-picker": "^7.0.1",
55
55
  "ngx-markdown": "^7.0.0",
56
56
  "ngx-simple-crypt": "^1.0.1",
57
- "ngx-toastr": "^9.0.2",
58
- "protractor": "~5.4.0",
57
+ "ngx-toastr": "^9.1.1",
58
+ "protractor": "~5.4.1",
59
59
  "ts-node": "~7.0.1",
60
- "tsickle": ">=0.32.1",
60
+ "tsickle": ">=0.33.1",
61
61
  "tslib": "^1.9.3",
62
62
  "tslint": "~5.11.0",
63
- "typescript": "~3.1.3",
64
- "xml-js": "^1.6.7",
65
- "ng2-dragula": "^2.0.2",
63
+ "typescript": "~3.1.6",
64
+ "xml-js": "^1.6.8",
65
+ "ng2-dragula": "^2.1.1",
66
66
  "zone.js": "^0.8.26"
67
67
  },
68
68
  "module": "fesm5/fluxhub-fluxhub-lib.js",