@fluxhub/fluxhub-lib 19.0.247 → 19.0.249
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { InjectionToken, Injectable, inject, forwardRef, EventEmitter, Input, Output, ViewChild, Component, Inject, Optional, Pipe, HostListener, Directive, ChangeDetectionStrategy, ViewEncapsulation, ViewContainerRef, ElementRef, ViewChildren, HostBinding } from '@angular/core';
|
|
3
3
|
import * as i1$1 from '@angular/common/http';
|
|
4
|
-
import {
|
|
4
|
+
import { HttpErrorResponse, HttpHeaders, HttpEventType } from '@angular/common/http';
|
|
5
5
|
import { map, catchError, flatMap, debounceTime, switchMap, filter, take, tap } from 'rxjs/operators';
|
|
6
6
|
import * as i3$1 from 'ngx-toastr';
|
|
7
7
|
import * as i3$2 from '@angular/router';
|
|
@@ -93,6 +93,89 @@ class QParam {
|
|
|
93
93
|
names = new Array();
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
+
/** Fornito dal portale: `{ provide: FH_ERROR_REPORTER, useValue: (r) => ... }` */
|
|
97
|
+
const FH_ERROR_REPORTER = new InjectionToken('FH_ERROR_REPORTER');
|
|
98
|
+
/** Header con cui il server dichiara di aver gia' registrato l'errore. */
|
|
99
|
+
const FH_EVENT_ID_HEADER = 'X-FH-Event-Id';
|
|
100
|
+
/** Header con la pagina del portale, letto dal server per arricchire i suoi eventi. */
|
|
101
|
+
const FH_ROUTE_HEADER = 'X-FH-Route';
|
|
102
|
+
/** Pagina corrente: i portali usano l'hash routing (/#/home), altrimenti il path. */
|
|
103
|
+
function fhCurrentRoute() {
|
|
104
|
+
try {
|
|
105
|
+
const h = window.location.hash || '';
|
|
106
|
+
const r = h.startsWith('#') ? h.substring(1) : window.location.pathname;
|
|
107
|
+
// Va in un header HTTP: solo ASCII stampabile, il resto codificato.
|
|
108
|
+
return (r.split('?')[0] || '/')
|
|
109
|
+
.substring(0, 200)
|
|
110
|
+
.replace(/[^\x20-\x7E]/g, (c) => encodeURIComponent(c));
|
|
111
|
+
}
|
|
112
|
+
catch {
|
|
113
|
+
return '';
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
function fhEndpointOf(url) {
|
|
117
|
+
if (!url)
|
|
118
|
+
return '';
|
|
119
|
+
try {
|
|
120
|
+
// Solo l'ultimo segmento (/doquery, /dogridn): il prefisso del reverse proxy
|
|
121
|
+
// (/fh3/...) cambia da portale a portale e il backend non lo vede.
|
|
122
|
+
const segs = new URL(url, window.location.href).pathname.split('/').filter((x) => x);
|
|
123
|
+
return '/' + (segs[segs.length - 1] || '');
|
|
124
|
+
}
|
|
125
|
+
catch {
|
|
126
|
+
return url;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
/** Invoca il reporter senza mai far fallire la chiamata dati per colpa sua. */
|
|
130
|
+
function fhReport(reporter, r) {
|
|
131
|
+
if (!reporter || !r)
|
|
132
|
+
return;
|
|
133
|
+
try {
|
|
134
|
+
reporter(r);
|
|
135
|
+
}
|
|
136
|
+
catch {
|
|
137
|
+
// il monitoraggio non deve mai rompere il portale
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
/** Report per un errore di trasporto, o null se non va segnalato. */
|
|
141
|
+
function fhHttpErrorReport(err, base) {
|
|
142
|
+
if (!(err instanceof HttpErrorResponse))
|
|
143
|
+
return null;
|
|
144
|
+
// 401 lo gestisce l'interceptor (refresh token); 0 e' rete assente o richiesta
|
|
145
|
+
// interrotta dal cambio pagina: rumore. Si segnalano gli errori del server.
|
|
146
|
+
if (err.status < 500)
|
|
147
|
+
return null;
|
|
148
|
+
return {
|
|
149
|
+
...base,
|
|
150
|
+
kind: 'http',
|
|
151
|
+
status: err.status,
|
|
152
|
+
message: `${err.status} ${err.statusText || ''}`.trim(),
|
|
153
|
+
serverEventId: fhEventId(err.headers),
|
|
154
|
+
};
|
|
155
|
+
}
|
|
156
|
+
function fhEventId(h) {
|
|
157
|
+
try {
|
|
158
|
+
return h?.get(FH_EVENT_ID_HEADER) || null;
|
|
159
|
+
}
|
|
160
|
+
catch {
|
|
161
|
+
return null;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* Errore rilanciato dai servizi dati dopo un KO gia' mostrato a video (toast) e, per
|
|
166
|
+
* query e griglie, gia' segnalato: serve solo a interrompere la catena del chiamante.
|
|
167
|
+
* Se il chiamante non lo gestisce arriverebbe a Rustrak come "Error: No error message",
|
|
168
|
+
* doppione del KO: il portale lo riconosce con fhIsHandled() e lo scarta.
|
|
169
|
+
*/
|
|
170
|
+
function fhHandledError() {
|
|
171
|
+
const e = new Error();
|
|
172
|
+
e.fhHandled = true;
|
|
173
|
+
return e;
|
|
174
|
+
}
|
|
175
|
+
function fhIsHandled(err) {
|
|
176
|
+
return !!err?.fhHandled;
|
|
177
|
+
}
|
|
178
|
+
|
|
96
179
|
class QGResult {
|
|
97
180
|
result_msg = '';
|
|
98
181
|
msg = '';
|
|
@@ -1250,7 +1333,7 @@ class AuthenticationService {
|
|
|
1250
1333
|
if (displayError) {
|
|
1251
1334
|
this.toastr.error(err.message);
|
|
1252
1335
|
}
|
|
1253
|
-
throw
|
|
1336
|
+
throw fhHandledError();
|
|
1254
1337
|
}
|
|
1255
1338
|
return res || new QGResult();
|
|
1256
1339
|
}), catchError((err) => {
|
|
@@ -1295,7 +1378,7 @@ class AuthenticationService {
|
|
|
1295
1378
|
if (displayError) {
|
|
1296
1379
|
this.toastr.error(err.message);
|
|
1297
1380
|
}
|
|
1298
|
-
throw
|
|
1381
|
+
throw fhHandledError();
|
|
1299
1382
|
}
|
|
1300
1383
|
return res || new QGResult();
|
|
1301
1384
|
}), catchError((err) => {
|
|
@@ -1339,7 +1422,7 @@ class AuthenticationService {
|
|
|
1339
1422
|
if (displayError) {
|
|
1340
1423
|
this.toastr.error(err.message);
|
|
1341
1424
|
}
|
|
1342
|
-
throw
|
|
1425
|
+
throw fhHandledError();
|
|
1343
1426
|
}
|
|
1344
1427
|
return res || new QGResult();
|
|
1345
1428
|
}), catchError((err) => {
|
|
@@ -1374,7 +1457,7 @@ class AuthenticationService {
|
|
|
1374
1457
|
if (displayError) {
|
|
1375
1458
|
this.toastr.error(err.message);
|
|
1376
1459
|
}
|
|
1377
|
-
throw
|
|
1460
|
+
throw fhHandledError();
|
|
1378
1461
|
}
|
|
1379
1462
|
return res || new QGResult();
|
|
1380
1463
|
}), catchError((err) => {
|
|
@@ -1409,7 +1492,7 @@ class AuthenticationService {
|
|
|
1409
1492
|
if (displayError) {
|
|
1410
1493
|
this.toastr.error(err.message);
|
|
1411
1494
|
}
|
|
1412
|
-
throw
|
|
1495
|
+
throw fhHandledError();
|
|
1413
1496
|
}
|
|
1414
1497
|
return res || new QGResult();
|
|
1415
1498
|
}), catchError((err) => {
|
|
@@ -1448,7 +1531,7 @@ class AuthenticationService {
|
|
|
1448
1531
|
if (displayError) {
|
|
1449
1532
|
this.toastr.error(err.message);
|
|
1450
1533
|
}
|
|
1451
|
-
throw
|
|
1534
|
+
throw fhHandledError();
|
|
1452
1535
|
}
|
|
1453
1536
|
return res || new QGResult();
|
|
1454
1537
|
}), catchError((err) => {
|
|
@@ -1482,7 +1565,7 @@ class AuthenticationService {
|
|
|
1482
1565
|
if (displayError) {
|
|
1483
1566
|
this.toastr.error(err.message);
|
|
1484
1567
|
}
|
|
1485
|
-
throw
|
|
1568
|
+
throw fhHandledError();
|
|
1486
1569
|
}
|
|
1487
1570
|
return res || new QGResult();
|
|
1488
1571
|
}), catchError((err) => {
|
|
@@ -1520,7 +1603,7 @@ class AuthenticationService {
|
|
|
1520
1603
|
if (displayError) {
|
|
1521
1604
|
this.toastr.error(err.message);
|
|
1522
1605
|
}
|
|
1523
|
-
throw
|
|
1606
|
+
throw fhHandledError();
|
|
1524
1607
|
}
|
|
1525
1608
|
return res || new QGResult();
|
|
1526
1609
|
}), catchError((err) => {
|
|
@@ -1564,75 +1647,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
1564
1647
|
}]
|
|
1565
1648
|
}], ctorParameters: () => [{ type: i3$1.ToastrService }, { type: i1$1.HttpClient }, { type: i3$2.Router }, { type: AppService }, { type: UtilityService }] });
|
|
1566
1649
|
|
|
1567
|
-
/** Fornito dal portale: `{ provide: FH_ERROR_REPORTER, useValue: (r) => ... }` */
|
|
1568
|
-
const FH_ERROR_REPORTER = new InjectionToken('FH_ERROR_REPORTER');
|
|
1569
|
-
/** Header con cui il server dichiara di aver gia' registrato l'errore. */
|
|
1570
|
-
const FH_EVENT_ID_HEADER = 'X-FH-Event-Id';
|
|
1571
|
-
/** Header con la pagina del portale, letto dal server per arricchire i suoi eventi. */
|
|
1572
|
-
const FH_ROUTE_HEADER = 'X-FH-Route';
|
|
1573
|
-
/** Pagina corrente: i portali usano l'hash routing (/#/home), altrimenti il path. */
|
|
1574
|
-
function fhCurrentRoute() {
|
|
1575
|
-
try {
|
|
1576
|
-
const h = window.location.hash || '';
|
|
1577
|
-
const r = h.startsWith('#') ? h.substring(1) : window.location.pathname;
|
|
1578
|
-
// Va in un header HTTP: solo ASCII stampabile, il resto codificato.
|
|
1579
|
-
return (r.split('?')[0] || '/')
|
|
1580
|
-
.substring(0, 200)
|
|
1581
|
-
.replace(/[^\x20-\x7E]/g, (c) => encodeURIComponent(c));
|
|
1582
|
-
}
|
|
1583
|
-
catch {
|
|
1584
|
-
return '';
|
|
1585
|
-
}
|
|
1586
|
-
}
|
|
1587
|
-
function fhEndpointOf(url) {
|
|
1588
|
-
if (!url)
|
|
1589
|
-
return '';
|
|
1590
|
-
try {
|
|
1591
|
-
// Solo l'ultimo segmento (/doquery, /dogridn): il prefisso del reverse proxy
|
|
1592
|
-
// (/fh3/...) cambia da portale a portale e il backend non lo vede.
|
|
1593
|
-
const segs = new URL(url, window.location.href).pathname.split('/').filter((x) => x);
|
|
1594
|
-
return '/' + (segs[segs.length - 1] || '');
|
|
1595
|
-
}
|
|
1596
|
-
catch {
|
|
1597
|
-
return url;
|
|
1598
|
-
}
|
|
1599
|
-
}
|
|
1600
|
-
/** Invoca il reporter senza mai far fallire la chiamata dati per colpa sua. */
|
|
1601
|
-
function fhReport(reporter, r) {
|
|
1602
|
-
if (!reporter || !r)
|
|
1603
|
-
return;
|
|
1604
|
-
try {
|
|
1605
|
-
reporter(r);
|
|
1606
|
-
}
|
|
1607
|
-
catch {
|
|
1608
|
-
// il monitoraggio non deve mai rompere il portale
|
|
1609
|
-
}
|
|
1610
|
-
}
|
|
1611
|
-
/** Report per un errore di trasporto, o null se non va segnalato. */
|
|
1612
|
-
function fhHttpErrorReport(err, base) {
|
|
1613
|
-
if (!(err instanceof HttpErrorResponse))
|
|
1614
|
-
return null;
|
|
1615
|
-
// 401 lo gestisce l'interceptor (refresh token); 0 e' rete assente o richiesta
|
|
1616
|
-
// interrotta dal cambio pagina: rumore. Si segnalano gli errori del server.
|
|
1617
|
-
if (err.status < 500)
|
|
1618
|
-
return null;
|
|
1619
|
-
return {
|
|
1620
|
-
...base,
|
|
1621
|
-
kind: 'http',
|
|
1622
|
-
status: err.status,
|
|
1623
|
-
message: `${err.status} ${err.statusText || ''}`.trim(),
|
|
1624
|
-
serverEventId: fhEventId(err.headers),
|
|
1625
|
-
};
|
|
1626
|
-
}
|
|
1627
|
-
function fhEventId(h) {
|
|
1628
|
-
try {
|
|
1629
|
-
return h?.get(FH_EVENT_ID_HEADER) || null;
|
|
1630
|
-
}
|
|
1631
|
-
catch {
|
|
1632
|
-
return null;
|
|
1633
|
-
}
|
|
1634
|
-
}
|
|
1635
|
-
|
|
1636
1650
|
class QueryService {
|
|
1637
1651
|
http;
|
|
1638
1652
|
toastr;
|
|
@@ -1759,7 +1773,7 @@ class QueryService {
|
|
|
1759
1773
|
&& err.message.indexOf('Could not connect (sequence)') == -1)))
|
|
1760
1774
|
this.toastr.error(queryp.sql + ' ' + err.message);
|
|
1761
1775
|
}
|
|
1762
|
-
throw
|
|
1776
|
+
throw fhHandledError();
|
|
1763
1777
|
}
|
|
1764
1778
|
if (this.app_s.COMPANY_KEY == 'COCIF_')
|
|
1765
1779
|
if (!!res)
|
|
@@ -1973,7 +1987,7 @@ class OdbcService {
|
|
|
1973
1987
|
&& err.message.indexOf('Could not connect (sequence)') == -1))
|
|
1974
1988
|
this.toastr.error(queryp.sql + ' ' + err.message);
|
|
1975
1989
|
}
|
|
1976
|
-
throw
|
|
1990
|
+
throw fhHandledError();
|
|
1977
1991
|
}
|
|
1978
1992
|
return res || new QGResult();
|
|
1979
1993
|
}), catchError((err) => {
|
|
@@ -9106,7 +9120,7 @@ class GridService {
|
|
|
9106
9120
|
if (displayError) {
|
|
9107
9121
|
this.toastr.error(err.message);
|
|
9108
9122
|
}
|
|
9109
|
-
throw
|
|
9123
|
+
throw fhHandledError();
|
|
9110
9124
|
}
|
|
9111
9125
|
if (this.app_s.COMPANY_KEY == 'COCIF_')
|
|
9112
9126
|
if (!!res)
|
|
@@ -9179,7 +9193,7 @@ class FileService {
|
|
|
9179
9193
|
if (displayError) {
|
|
9180
9194
|
this.toastr.error(err.message);
|
|
9181
9195
|
}
|
|
9182
|
-
throw
|
|
9196
|
+
throw fhHandledError();
|
|
9183
9197
|
}
|
|
9184
9198
|
return res || new QGResult();
|
|
9185
9199
|
}), catchError((err) => {
|
|
@@ -9847,12 +9861,14 @@ class FHGridComponent {
|
|
|
9847
9861
|
this.check_end(type == 'pdf' ? '.pdf' : '.xlsx');
|
|
9848
9862
|
});
|
|
9849
9863
|
}
|
|
9850
|
-
|
|
9864
|
+
// uiid e finestra dell'export che ha avviato il controllo: con un secondo export
|
|
9865
|
+
// partito nel frattempo (doppio clic) this.uiid_stampa/dialogRef_W sono gia' dell'altro
|
|
9866
|
+
check_end(format, uiid = this.uiid_stampa, dialogRef = this.dialogRef_W) {
|
|
9851
9867
|
let p = new FSInput();
|
|
9852
9868
|
p.p1 =
|
|
9853
9869
|
this.m_appService.LOCAL_PATH +
|
|
9854
9870
|
'grid_reports' + (this.m_appService.LOCAL_PATH.indexOf('/') >= 0 ? '/' : '\\') +
|
|
9855
|
-
|
|
9871
|
+
uiid +
|
|
9856
9872
|
'_' +
|
|
9857
9873
|
this.m_appService.user +
|
|
9858
9874
|
format;
|
|
@@ -9861,20 +9877,20 @@ class FHGridComponent {
|
|
|
9861
9877
|
if (data != null)
|
|
9862
9878
|
if (data.msg == 'N') {
|
|
9863
9879
|
setTimeout(() => {
|
|
9864
|
-
this.check_end(format);
|
|
9880
|
+
this.check_end(format, uiid, dialogRef);
|
|
9865
9881
|
}, 1000);
|
|
9866
9882
|
}
|
|
9867
9883
|
else {
|
|
9868
9884
|
setTimeout(() => {
|
|
9869
|
-
|
|
9885
|
+
dialogRef?.componentInstance?.update_progess(100);
|
|
9870
9886
|
});
|
|
9871
9887
|
setTimeout(() => {
|
|
9872
9888
|
this.downloadFile(this.m_appService.COMPANY_SITE_ROOT +
|
|
9873
9889
|
'/grid_reports/' +
|
|
9874
|
-
|
|
9890
|
+
uiid +
|
|
9875
9891
|
'_' +
|
|
9876
9892
|
this.m_appService.user +
|
|
9877
|
-
format,
|
|
9893
|
+
format, uiid +
|
|
9878
9894
|
'_' +
|
|
9879
9895
|
this.m_appService.user +
|
|
9880
9896
|
format);
|
|
@@ -16302,7 +16318,10 @@ class FHNotesPanelComponent {
|
|
|
16302
16318
|
this.App +
|
|
16303
16319
|
'|' +
|
|
16304
16320
|
this.K;
|
|
16305
|
-
this.m_file.doQuery(p, false).subscribe(
|
|
16321
|
+
this.m_file.doQuery(p, false).subscribe({
|
|
16322
|
+
// hook facoltativo: il portale puo' non avere l'utility, il commento e' gia' salvato
|
|
16323
|
+
error: () => { },
|
|
16324
|
+
});
|
|
16306
16325
|
ok_op = true;
|
|
16307
16326
|
this.b_edit = false;
|
|
16308
16327
|
this.refresh_list();
|
|
@@ -16335,7 +16354,10 @@ class FHNotesPanelComponent {
|
|
|
16335
16354
|
this.K +
|
|
16336
16355
|
'|' +
|
|
16337
16356
|
this.edit_id;
|
|
16338
|
-
this.m_file.doQuery(p, false).subscribe(
|
|
16357
|
+
this.m_file.doQuery(p, false).subscribe({
|
|
16358
|
+
// hook facoltativo: il portale puo' non avere l'utility, il commento e' gia' salvato
|
|
16359
|
+
error: () => { },
|
|
16360
|
+
});
|
|
16339
16361
|
ok_op = true;
|
|
16340
16362
|
this.b_edit = false;
|
|
16341
16363
|
this.refresh_list();
|
|
@@ -27523,7 +27545,7 @@ class AppMakerService {
|
|
|
27523
27545
|
if (displayError) {
|
|
27524
27546
|
this.toastr.error(err.message);
|
|
27525
27547
|
}
|
|
27526
|
-
throw
|
|
27548
|
+
throw fhHandledError();
|
|
27527
27549
|
}
|
|
27528
27550
|
return r || new QGResult();
|
|
27529
27551
|
}), catchError((err) => {
|
|
@@ -27634,7 +27656,7 @@ class WkfService {
|
|
|
27634
27656
|
&& err.message.indexOf('Could not connect (sequence)') == -1))
|
|
27635
27657
|
this.toastr.error(err.message);
|
|
27636
27658
|
}
|
|
27637
|
-
throw
|
|
27659
|
+
throw fhHandledError();
|
|
27638
27660
|
}
|
|
27639
27661
|
if (this.app_s.COMPANY_KEY == 'COCIF_')
|
|
27640
27662
|
if (!!res)
|
|
@@ -30707,7 +30729,10 @@ class win_commenti_v2 {
|
|
|
30707
30729
|
this.m_appService.getState().wkf_doc_info.uiid_app +
|
|
30708
30730
|
'|' +
|
|
30709
30731
|
this.m_appService.getState().wkf_doc_info.uiid_doc;
|
|
30710
|
-
this.m_file.doQuery(p, false).subscribe(
|
|
30732
|
+
this.m_file.doQuery(p, false).subscribe({
|
|
30733
|
+
// hook facoltativo: il portale puo' non avere l'utility, il commento e' gia' salvato
|
|
30734
|
+
error: () => { },
|
|
30735
|
+
});
|
|
30711
30736
|
ok_op = true;
|
|
30712
30737
|
this.b_edit = false;
|
|
30713
30738
|
if (sdest != '')
|
|
@@ -30747,7 +30772,10 @@ class win_commenti_v2 {
|
|
|
30747
30772
|
this.m_appService.getState().wkf_doc_info.uiid_doc +
|
|
30748
30773
|
'|' +
|
|
30749
30774
|
this.edit_id;
|
|
30750
|
-
this.m_file.doQuery(p, false).subscribe(
|
|
30775
|
+
this.m_file.doQuery(p, false).subscribe({
|
|
30776
|
+
// hook facoltativo: il portale puo' non avere l'utility, il commento e' gia' salvato
|
|
30777
|
+
error: () => { },
|
|
30778
|
+
});
|
|
30751
30779
|
ok_op = true;
|
|
30752
30780
|
this.b_edit = false;
|
|
30753
30781
|
if (sdest != '')
|
|
@@ -32141,7 +32169,10 @@ class win_log_v2 {
|
|
|
32141
32169
|
this.m_appService.getState().wkf_doc_info.uiid_app +
|
|
32142
32170
|
'|' +
|
|
32143
32171
|
this.m_appService.getState().wkf_doc_info.uiid_doc;
|
|
32144
|
-
this.m_file.doQuery(px, false).subscribe(
|
|
32172
|
+
this.m_file.doQuery(px, false).subscribe({
|
|
32173
|
+
// hook facoltativo: il portale puo' non avere l'utility, il commento e' gia' salvato
|
|
32174
|
+
error: () => { },
|
|
32175
|
+
});
|
|
32145
32176
|
this.b_edit = false;
|
|
32146
32177
|
if (sdest != '')
|
|
32147
32178
|
this.sendEMail_ex(this.m_appService.getState().wkf_doc_info.curr_user, sdest, this.subject
|
|
@@ -32174,7 +32205,10 @@ class win_log_v2 {
|
|
|
32174
32205
|
this.m_appService.getState().wkf_doc_info.uiid_app +
|
|
32175
32206
|
'|' +
|
|
32176
32207
|
this.m_appService.getState().wkf_doc_info.uiid_doc;
|
|
32177
|
-
this.m_file.doQuery(px, false).subscribe(
|
|
32208
|
+
this.m_file.doQuery(px, false).subscribe({
|
|
32209
|
+
// hook facoltativo: il portale puo' non avere l'utility, il commento e' gia' salvato
|
|
32210
|
+
error: () => { },
|
|
32211
|
+
});
|
|
32178
32212
|
this.b_edit = false;
|
|
32179
32213
|
if (sdest != '')
|
|
32180
32214
|
this.sendEMail_ex(this.m_appService.getState().wkf_doc_info.curr_user, sdest, this.subject
|
|
@@ -37361,7 +37395,7 @@ class RegistrationService {
|
|
|
37361
37395
|
if (displayError) {
|
|
37362
37396
|
this.toastr.error(err.message);
|
|
37363
37397
|
}
|
|
37364
|
-
throw
|
|
37398
|
+
throw fhHandledError();
|
|
37365
37399
|
}
|
|
37366
37400
|
return res || new QGResult();
|
|
37367
37401
|
}), catchError((err) => {
|
|
@@ -37488,7 +37522,7 @@ class QueryOpenService {
|
|
|
37488
37522
|
&& err.message.indexOf('Could not connect (sequence)') == -1)))
|
|
37489
37523
|
this.toastr.error(queryp.sql + ' ' + err.message);
|
|
37490
37524
|
}
|
|
37491
|
-
throw
|
|
37525
|
+
throw fhHandledError();
|
|
37492
37526
|
}
|
|
37493
37527
|
if (this.app_s.COMPANY_KEY == 'COCIF_')
|
|
37494
37528
|
if (!!res)
|
|
@@ -40304,5 +40338,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
40304
40338
|
* Generated bundle index. Do not edit.
|
|
40305
40339
|
*/
|
|
40306
40340
|
|
|
40307
|
-
export { AppMakerService, AppService, ApprovaGridComponent, AuthHttpRequestInterceptor, AuthenticationService, BpmnEditorComponent, CheckboxEditorComponent, ComboBoxEditorComponent, CurrencyComponent, DialogBaseComponent, FHAiAssistantComponent, FHAiChatComponent, FHAiService, FHAutoCompleteComponent, FHCheckBoxComponent, FHColorPickerComponent, FHComboboxComponent, FHConfirmValues, FHCurrencyFormatterDirective, FHCurrencyPipe, FHDatePickerComponent, FHDateRangePickerComponent, FHFieldPickListComponent, FHFilterComboboxComponent, FHFormBuilderComponent, FHFormExecuterComponent, FHFormToolBarComponent, FHGridComponent, FHGridJSONComponent, FHGridToolBarComponent, FHGuard, FHHelpButtonComponent, FHHomeDocsComponent, FHHomeLauncherComponent, FHHomeStatsComponent, FHHomeTodoComponent, FHIconPickerComponent, FHImageViewerComponent, FHListComponent, FHLogPanelComponent, FHMailArchivedComponent, FHMailPreviewComponent, FHMultiComboboxComponent, FHNotesPanelComponent, FHNumericFieldComponent, FHPickFieldComponent, FHPickUsersComponent, FHRichTextComponent, FHRoleManagerComponent, FHTableManagerComponent, FHTextAreaComponent, FHTextInputComponent, FHTimePickerComponent, FHToolBarCustomAction, FHToolbarCommandType, FHUploadComponent, FHUploadPanelComponent, FHUploadPanelS3Component, FHUploadS3Component, FHUserFieldComponent, FHWinAppLogsComponent, FHWinAskBigTextComponent, FHWinAskButtonsComponent, FHWinAskNumberComponent, FHWinAskRichTextComponent, FHWinAskTextComponent, FHWinAutoComplete, FHWinComboComponent, FHWinConfirmComponent, FHWinErrorComponent, FHWinGridSelection, FHWinInfoComponent, FHWinListComponent, FHWinMappaComponent, FHWinOutputComponent, FHWinPicklistComponent, FHWinSalvaAnnulla, FHWinSelectByGridComponent, FHWinShowEmail, FHWinShowEmailS3, FHWinShowImage, FHWinShowLog, FHWinShowLogDett, FHWinTimeSlider, FHWinUploadComponent, FHWinUserInfo, FHWinUserPickerComponent, FHWinWaitComponent, FHWorkflowForm, FHWorkflowHeaderBar, FHWorkflowTasksPanel, FHWorkflowView, FH_ERROR_REPORTER, FH_EVENT_ID_HEADER, FH_ROUTE_HEADER, FSInput, FSResult, FileService, GridService, LocalDBService, MonthYearPickerComponent, NumericEditorComponent, OdbcService, OfficeAutomatorService, OfficeOperation, OfficeResult, QGParam, QGResult, QParam, QResult, QueryOpenService, QueryService, RegistrationService, ReplaceLineBreaks, SafePipe, TextAreaEditorComponent, UtilityService, WkfService, YearPickerComponent, createButtonCommand, createCheckboxCommand, createSpacerCommand, createTableManagerCommand, fh_win_translate, wkfField };
|
|
40341
|
+
export { AppMakerService, AppService, ApprovaGridComponent, AuthHttpRequestInterceptor, AuthenticationService, BpmnEditorComponent, CheckboxEditorComponent, ComboBoxEditorComponent, CurrencyComponent, DialogBaseComponent, FHAiAssistantComponent, FHAiChatComponent, FHAiService, FHAutoCompleteComponent, FHCheckBoxComponent, FHColorPickerComponent, FHComboboxComponent, FHConfirmValues, FHCurrencyFormatterDirective, FHCurrencyPipe, FHDatePickerComponent, FHDateRangePickerComponent, FHFieldPickListComponent, FHFilterComboboxComponent, FHFormBuilderComponent, FHFormExecuterComponent, FHFormToolBarComponent, FHGridComponent, FHGridJSONComponent, FHGridToolBarComponent, FHGuard, FHHelpButtonComponent, FHHomeDocsComponent, FHHomeLauncherComponent, FHHomeStatsComponent, FHHomeTodoComponent, FHIconPickerComponent, FHImageViewerComponent, FHListComponent, FHLogPanelComponent, FHMailArchivedComponent, FHMailPreviewComponent, FHMultiComboboxComponent, FHNotesPanelComponent, FHNumericFieldComponent, FHPickFieldComponent, FHPickUsersComponent, FHRichTextComponent, FHRoleManagerComponent, FHTableManagerComponent, FHTextAreaComponent, FHTextInputComponent, FHTimePickerComponent, FHToolBarCustomAction, FHToolbarCommandType, FHUploadComponent, FHUploadPanelComponent, FHUploadPanelS3Component, FHUploadS3Component, FHUserFieldComponent, FHWinAppLogsComponent, FHWinAskBigTextComponent, FHWinAskButtonsComponent, FHWinAskNumberComponent, FHWinAskRichTextComponent, FHWinAskTextComponent, FHWinAutoComplete, FHWinComboComponent, FHWinConfirmComponent, FHWinErrorComponent, FHWinGridSelection, FHWinInfoComponent, FHWinListComponent, FHWinMappaComponent, FHWinOutputComponent, FHWinPicklistComponent, FHWinSalvaAnnulla, FHWinSelectByGridComponent, FHWinShowEmail, FHWinShowEmailS3, FHWinShowImage, FHWinShowLog, FHWinShowLogDett, FHWinTimeSlider, FHWinUploadComponent, FHWinUserInfo, FHWinUserPickerComponent, FHWinWaitComponent, FHWorkflowForm, FHWorkflowHeaderBar, FHWorkflowTasksPanel, FHWorkflowView, FH_ERROR_REPORTER, FH_EVENT_ID_HEADER, FH_ROUTE_HEADER, FSInput, FSResult, FileService, GridService, LocalDBService, MonthYearPickerComponent, NumericEditorComponent, OdbcService, OfficeAutomatorService, OfficeOperation, OfficeResult, QGParam, QGResult, QParam, QResult, QueryOpenService, QueryService, RegistrationService, ReplaceLineBreaks, SafePipe, TextAreaEditorComponent, UtilityService, WkfService, YearPickerComponent, createButtonCommand, createCheckboxCommand, createSpacerCommand, createTableManagerCommand, fhHandledError, fhIsHandled, fh_win_translate, wkfField };
|
|
40308
40342
|
//# sourceMappingURL=fluxhub-fluxhub-lib.mjs.map
|