@fluxhub/fluxhub-lib 19.0.67 → 19.0.68

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,27 @@
1
+ import { HttpClient, HttpHeaders } from "@angular/common/http";
2
+ import { ToastrService } from "ngx-toastr";
3
+ import { Observable } from "rxjs";
4
+ import { QParam } from "../models/QParam";
5
+ import { QResult } from "../models/QResult";
6
+ import { AppService } from "./app.service";
7
+ import { UtilityService } from "./utility.service";
8
+ import * as i0 from "@angular/core";
9
+ export declare class QueryOpenService {
10
+ private http;
11
+ private toastr;
12
+ private app_s;
13
+ private uti_s;
14
+ headers?: HttpHeaders | null;
15
+ url: string | null;
16
+ constructor(http: HttpClient, toastr: ToastrService, app_s: AppService, uti_s: UtilityService);
17
+ /**
18
+ * Perform a query on the server
19
+ *
20
+ * @param queryp the query object
21
+ * @param displayError whether to show a toaster with the error message in the UI
22
+ * @return Observable with result, throws an error if response invalid or not ok
23
+ */
24
+ doQuery(queryp: QParam, displayError?: boolean, url_sec?: string | null): Observable<QResult>;
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<QueryOpenService, never>;
26
+ static ɵprov: i0.ɵɵInjectableDeclaration<QueryOpenService>;
27
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluxhub/fluxhub-lib",
3
- "version": "19.0.67",
3
+ "version": "19.0.68",
4
4
  "description": "FluxHub components and workflow library",
5
5
  "main": "dist/index.js",
6
6
  "typings": "index.d.ts",
package/public-api.d.ts CHANGED
@@ -99,3 +99,4 @@ export { SafePipe } from './lib/controls/utils/save-pipe';
99
99
  export { AuthHttpRequestInterceptor } from './lib/services/auth.interceptor';
100
100
  export { FHWinSalvaAnnulla } from './lib/wkf_engine_v2/win-save-cancel';
101
101
  export { RegistrationService } from './lib/services/register.service';
102
+ export { QueryOpenService } from './lib/services/doqueryopen.service';