@fluxhub/fluxhub-lib 22.0.11 → 22.0.13
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, EventEmitter, Output, Input, ChangeDetectionStrategy, Component, ViewChild, Inject, forwardRef, Optional, Pipe, HostListener, Directive, 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,148 @@ 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
|
+
/**
|
|
179
|
+
* Impostazioni comuni per Sentry.init dei portali (Rustrak): rumore da scartare e pulizia
|
|
180
|
+
* dei breadcrumb. Unica fonte per tutti i portali: una voce nuova si aggiunge qui e arriva
|
|
181
|
+
* a tutti con l'aggiornamento della libreria. Uso nel monitoring.ts del portale:
|
|
182
|
+
* Sentry.init({ dsn, release, ..., ...FH_MONITORING_DEFAULTS })
|
|
183
|
+
* Tipi volutamente generici: la libreria non dipende dall'SDK di Sentry.
|
|
184
|
+
* Rumore individuato analizzando le issue di tutti i portali il 21/10/2026.
|
|
185
|
+
*/
|
|
186
|
+
const FH_MONITORING_IGNORE_ERRORS = [
|
|
187
|
+
'ResizeObserver loop',
|
|
188
|
+
'NG0100',
|
|
189
|
+
// sessione scaduta: l'interceptor fa logout e rilancia l'errore alle richieste in coda
|
|
190
|
+
'Refresh token non valido',
|
|
191
|
+
'SESSIONE SCADUTA',
|
|
192
|
+
// file JS della versione precedente spariti dopo una pubblicazione
|
|
193
|
+
'ChunkLoadError',
|
|
194
|
+
/Loading chunk [\w-]+ failed/,
|
|
195
|
+
'Failed to fetch dynamically imported module',
|
|
196
|
+
'Importing a module script failed',
|
|
197
|
+
// copia di un 5xx che la libreria ha gia' segnalato come "HTTP 5xx /endpoint CHIAVE"
|
|
198
|
+
/^Server returned code \d+ with body/,
|
|
199
|
+
];
|
|
200
|
+
/** Scarta un evento gia' segnalato o non azionabile; raggruppa i backend non raggiungibili. */
|
|
201
|
+
function fhMonitoringBeforeSend(event, hint) {
|
|
202
|
+
const ex = hint?.originalException;
|
|
203
|
+
// KO dei servizi dati rilanciato dopo essere stato mostrato e segnalato
|
|
204
|
+
if (fhIsHandled(ex))
|
|
205
|
+
return null;
|
|
206
|
+
// chiamata HTTP senza gestore d'errore arrivata all'ErrorHandler: 0 = rete assente o
|
|
207
|
+
// richiesta interrotta dal cambio pagina, 401 = sessione scaduta (li scarta anche fhHttpErrorReport)
|
|
208
|
+
if (ex instanceof HttpErrorResponse && (ex.status === 0 || ex.status === 401))
|
|
209
|
+
return null;
|
|
210
|
+
// backend giu' o in riavvio: una issue per portale e status, non una per chiave di query
|
|
211
|
+
const msg = String(event?.message || event?.exception?.values?.[0]?.value || '');
|
|
212
|
+
const gw = /^HTTP (502|503|504) /.exec(msg);
|
|
213
|
+
if (gw && event)
|
|
214
|
+
event.fingerprint = ['fh-gateway', gw[1]];
|
|
215
|
+
return event;
|
|
216
|
+
}
|
|
217
|
+
/**
|
|
218
|
+
* Breadcrumb: i console.log dei portali stampano record interi (anche utenti con password),
|
|
219
|
+
* quindi dei log di console restano solo warning ed errori, senza argomenti; via anche il
|
|
220
|
+
* banner di licenza di AG Grid, che riempie la coda.
|
|
221
|
+
*/
|
|
222
|
+
function fhMonitoringBeforeBreadcrumb(b) {
|
|
223
|
+
if (!b || b.category !== 'console')
|
|
224
|
+
return b;
|
|
225
|
+
if (b.level !== 'warning' && b.level !== 'error')
|
|
226
|
+
return null;
|
|
227
|
+
if (/AG Grid/i.test(String(b.message || '')) && /licen/i.test(String(b.message || '')))
|
|
228
|
+
return null;
|
|
229
|
+
delete b.data;
|
|
230
|
+
return b;
|
|
231
|
+
}
|
|
232
|
+
const FH_MONITORING_DEFAULTS = {
|
|
233
|
+
ignoreErrors: FH_MONITORING_IGNORE_ERRORS,
|
|
234
|
+
beforeSend: fhMonitoringBeforeSend,
|
|
235
|
+
beforeBreadcrumb: fhMonitoringBeforeBreadcrumb,
|
|
236
|
+
};
|
|
237
|
+
|
|
96
238
|
class QGResult {
|
|
97
239
|
result_msg = '';
|
|
98
240
|
msg = '';
|
|
@@ -1250,7 +1392,7 @@ class AuthenticationService {
|
|
|
1250
1392
|
if (displayError) {
|
|
1251
1393
|
this.toastr.error(err.message);
|
|
1252
1394
|
}
|
|
1253
|
-
throw
|
|
1395
|
+
throw fhHandledError();
|
|
1254
1396
|
}
|
|
1255
1397
|
return res || new QGResult();
|
|
1256
1398
|
}), catchError((err) => {
|
|
@@ -1295,7 +1437,7 @@ class AuthenticationService {
|
|
|
1295
1437
|
if (displayError) {
|
|
1296
1438
|
this.toastr.error(err.message);
|
|
1297
1439
|
}
|
|
1298
|
-
throw
|
|
1440
|
+
throw fhHandledError();
|
|
1299
1441
|
}
|
|
1300
1442
|
return res || new QGResult();
|
|
1301
1443
|
}), catchError((err) => {
|
|
@@ -1339,7 +1481,7 @@ class AuthenticationService {
|
|
|
1339
1481
|
if (displayError) {
|
|
1340
1482
|
this.toastr.error(err.message);
|
|
1341
1483
|
}
|
|
1342
|
-
throw
|
|
1484
|
+
throw fhHandledError();
|
|
1343
1485
|
}
|
|
1344
1486
|
return res || new QGResult();
|
|
1345
1487
|
}), catchError((err) => {
|
|
@@ -1374,7 +1516,7 @@ class AuthenticationService {
|
|
|
1374
1516
|
if (displayError) {
|
|
1375
1517
|
this.toastr.error(err.message);
|
|
1376
1518
|
}
|
|
1377
|
-
throw
|
|
1519
|
+
throw fhHandledError();
|
|
1378
1520
|
}
|
|
1379
1521
|
return res || new QGResult();
|
|
1380
1522
|
}), catchError((err) => {
|
|
@@ -1409,7 +1551,7 @@ class AuthenticationService {
|
|
|
1409
1551
|
if (displayError) {
|
|
1410
1552
|
this.toastr.error(err.message);
|
|
1411
1553
|
}
|
|
1412
|
-
throw
|
|
1554
|
+
throw fhHandledError();
|
|
1413
1555
|
}
|
|
1414
1556
|
return res || new QGResult();
|
|
1415
1557
|
}), catchError((err) => {
|
|
@@ -1448,7 +1590,7 @@ class AuthenticationService {
|
|
|
1448
1590
|
if (displayError) {
|
|
1449
1591
|
this.toastr.error(err.message);
|
|
1450
1592
|
}
|
|
1451
|
-
throw
|
|
1593
|
+
throw fhHandledError();
|
|
1452
1594
|
}
|
|
1453
1595
|
return res || new QGResult();
|
|
1454
1596
|
}), catchError((err) => {
|
|
@@ -1482,7 +1624,7 @@ class AuthenticationService {
|
|
|
1482
1624
|
if (displayError) {
|
|
1483
1625
|
this.toastr.error(err.message);
|
|
1484
1626
|
}
|
|
1485
|
-
throw
|
|
1627
|
+
throw fhHandledError();
|
|
1486
1628
|
}
|
|
1487
1629
|
return res || new QGResult();
|
|
1488
1630
|
}), catchError((err) => {
|
|
@@ -1520,7 +1662,7 @@ class AuthenticationService {
|
|
|
1520
1662
|
if (displayError) {
|
|
1521
1663
|
this.toastr.error(err.message);
|
|
1522
1664
|
}
|
|
1523
|
-
throw
|
|
1665
|
+
throw fhHandledError();
|
|
1524
1666
|
}
|
|
1525
1667
|
return res || new QGResult();
|
|
1526
1668
|
}), catchError((err) => {
|
|
@@ -1564,75 +1706,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImpor
|
|
|
1564
1706
|
}]
|
|
1565
1707
|
}], ctorParameters: () => [{ type: i3$1.ToastrService }, { type: i1$1.HttpClient }, { type: i3$2.Router }, { type: AppService }, { type: UtilityService }] });
|
|
1566
1708
|
|
|
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
1709
|
class QueryService {
|
|
1637
1710
|
http;
|
|
1638
1711
|
toastr;
|
|
@@ -1759,7 +1832,7 @@ class QueryService {
|
|
|
1759
1832
|
&& err.message.indexOf('Could not connect (sequence)') == -1)))
|
|
1760
1833
|
this.toastr.error(queryp.sql + ' ' + err.message);
|
|
1761
1834
|
}
|
|
1762
|
-
throw
|
|
1835
|
+
throw fhHandledError();
|
|
1763
1836
|
}
|
|
1764
1837
|
if (this.app_s.COMPANY_KEY == 'COCIF_')
|
|
1765
1838
|
if (!!res)
|
|
@@ -2488,7 +2561,7 @@ class OdbcService {
|
|
|
2488
2561
|
&& err.message.indexOf('Could not connect (sequence)') == -1))
|
|
2489
2562
|
this.toastr.error(queryp.sql + ' ' + err.message);
|
|
2490
2563
|
}
|
|
2491
|
-
throw
|
|
2564
|
+
throw fhHandledError();
|
|
2492
2565
|
}
|
|
2493
2566
|
return res || new QGResult();
|
|
2494
2567
|
}), catchError((err) => {
|
|
@@ -10168,7 +10241,7 @@ class GridService {
|
|
|
10168
10241
|
if (displayError) {
|
|
10169
10242
|
this.toastr.error(err.message);
|
|
10170
10243
|
}
|
|
10171
|
-
throw
|
|
10244
|
+
throw fhHandledError();
|
|
10172
10245
|
}
|
|
10173
10246
|
if (this.app_s.COMPANY_KEY == 'COCIF_')
|
|
10174
10247
|
if (!!res)
|
|
@@ -10241,7 +10314,7 @@ class FileService {
|
|
|
10241
10314
|
if (displayError) {
|
|
10242
10315
|
this.toastr.error(err.message);
|
|
10243
10316
|
}
|
|
10244
|
-
throw
|
|
10317
|
+
throw fhHandledError();
|
|
10245
10318
|
}
|
|
10246
10319
|
return res || new QGResult();
|
|
10247
10320
|
}), catchError((err) => {
|
|
@@ -17704,7 +17777,10 @@ class FHNotesPanelComponent {
|
|
|
17704
17777
|
p.command = 'exec_app';
|
|
17705
17778
|
p.p1 = 'insert_update_comment';
|
|
17706
17779
|
p.p2 = this.App + '|' + this.K;
|
|
17707
|
-
this.m_file.doQuery(p, false).subscribe(
|
|
17780
|
+
this.m_file.doQuery(p, false).subscribe({
|
|
17781
|
+
// hook facoltativo: il portale puo' non avere l'utility, il commento e' gia' salvato
|
|
17782
|
+
error: () => { },
|
|
17783
|
+
});
|
|
17708
17784
|
ok_op = true;
|
|
17709
17785
|
this.b_edit = false;
|
|
17710
17786
|
this.refresh_list();
|
|
@@ -17732,7 +17808,10 @@ class FHNotesPanelComponent {
|
|
|
17732
17808
|
p.command = 'exec_app';
|
|
17733
17809
|
p.p1 = 'insert_update_comment';
|
|
17734
17810
|
p.p2 = this.App + '|' + this.K + '|' + this.edit_id;
|
|
17735
|
-
this.m_file.doQuery(p, false).subscribe(
|
|
17811
|
+
this.m_file.doQuery(p, false).subscribe({
|
|
17812
|
+
// hook facoltativo: il portale puo' non avere l'utility, il commento e' gia' salvato
|
|
17813
|
+
error: () => { },
|
|
17814
|
+
});
|
|
17736
17815
|
ok_op = true;
|
|
17737
17816
|
this.b_edit = false;
|
|
17738
17817
|
this.refresh_list();
|
|
@@ -29608,7 +29687,7 @@ class AppMakerService {
|
|
|
29608
29687
|
if (displayError) {
|
|
29609
29688
|
this.toastr.error(err.message);
|
|
29610
29689
|
}
|
|
29611
|
-
throw
|
|
29690
|
+
throw fhHandledError();
|
|
29612
29691
|
}
|
|
29613
29692
|
return r || new QGResult();
|
|
29614
29693
|
}), catchError((err) => {
|
|
@@ -29719,7 +29798,7 @@ class WkfService {
|
|
|
29719
29798
|
&& err.message.indexOf('Could not connect (sequence)') == -1))
|
|
29720
29799
|
this.toastr.error(err.message);
|
|
29721
29800
|
}
|
|
29722
|
-
throw
|
|
29801
|
+
throw fhHandledError();
|
|
29723
29802
|
}
|
|
29724
29803
|
if (this.app_s.COMPANY_KEY == 'COCIF_')
|
|
29725
29804
|
if (!!res)
|
|
@@ -32831,7 +32910,10 @@ class win_commenti_v2 {
|
|
|
32831
32910
|
this.m_appService.getState().wkf_doc_info.uiid_app +
|
|
32832
32911
|
'|' +
|
|
32833
32912
|
this.m_appService.getState().wkf_doc_info.uiid_doc;
|
|
32834
|
-
this.m_file.doQuery(p, false).subscribe(
|
|
32913
|
+
this.m_file.doQuery(p, false).subscribe({
|
|
32914
|
+
// hook facoltativo: il portale puo' non avere l'utility, il commento e' gia' salvato
|
|
32915
|
+
error: () => { },
|
|
32916
|
+
});
|
|
32835
32917
|
ok_op = true;
|
|
32836
32918
|
this.b_edit = false;
|
|
32837
32919
|
if (sdest != '')
|
|
@@ -32871,7 +32953,10 @@ class win_commenti_v2 {
|
|
|
32871
32953
|
this.m_appService.getState().wkf_doc_info.uiid_doc +
|
|
32872
32954
|
'|' +
|
|
32873
32955
|
this.edit_id;
|
|
32874
|
-
this.m_file.doQuery(p, false).subscribe(
|
|
32956
|
+
this.m_file.doQuery(p, false).subscribe({
|
|
32957
|
+
// hook facoltativo: il portale puo' non avere l'utility, il commento e' gia' salvato
|
|
32958
|
+
error: () => { },
|
|
32959
|
+
});
|
|
32875
32960
|
ok_op = true;
|
|
32876
32961
|
this.b_edit = false;
|
|
32877
32962
|
if (sdest != '')
|
|
@@ -34358,7 +34443,10 @@ class win_log_v2 {
|
|
|
34358
34443
|
this.m_appService.getState().wkf_doc_info.uiid_app +
|
|
34359
34444
|
'|' +
|
|
34360
34445
|
this.m_appService.getState().wkf_doc_info.uiid_doc;
|
|
34361
|
-
this.m_file.doQuery(px, false).subscribe(
|
|
34446
|
+
this.m_file.doQuery(px, false).subscribe({
|
|
34447
|
+
// hook facoltativo: il portale puo' non avere l'utility, il commento e' gia' salvato
|
|
34448
|
+
error: () => { },
|
|
34449
|
+
});
|
|
34362
34450
|
this.b_edit = false;
|
|
34363
34451
|
if (sdest != '')
|
|
34364
34452
|
this.sendEMail_ex(this.m_appService.getState().wkf_doc_info.curr_user, sdest, this.subject
|
|
@@ -34391,7 +34479,10 @@ class win_log_v2 {
|
|
|
34391
34479
|
this.m_appService.getState().wkf_doc_info.uiid_app +
|
|
34392
34480
|
'|' +
|
|
34393
34481
|
this.m_appService.getState().wkf_doc_info.uiid_doc;
|
|
34394
|
-
this.m_file.doQuery(px, false).subscribe(
|
|
34482
|
+
this.m_file.doQuery(px, false).subscribe({
|
|
34483
|
+
// hook facoltativo: il portale puo' non avere l'utility, il commento e' gia' salvato
|
|
34484
|
+
error: () => { },
|
|
34485
|
+
});
|
|
34395
34486
|
this.b_edit = false;
|
|
34396
34487
|
if (sdest != '')
|
|
34397
34488
|
this.sendEMail_ex(this.m_appService.getState().wkf_doc_info.curr_user, sdest, this.subject
|
|
@@ -39867,7 +39958,7 @@ class RegistrationService {
|
|
|
39867
39958
|
if (displayError) {
|
|
39868
39959
|
this.toastr.error(err.message);
|
|
39869
39960
|
}
|
|
39870
|
-
throw
|
|
39961
|
+
throw fhHandledError();
|
|
39871
39962
|
}
|
|
39872
39963
|
return res || new QGResult();
|
|
39873
39964
|
}), catchError((err) => {
|
|
@@ -39994,7 +40085,7 @@ class QueryOpenService {
|
|
|
39994
40085
|
&& err.message.indexOf('Could not connect (sequence)') == -1)))
|
|
39995
40086
|
this.toastr.error(queryp.sql + ' ' + err.message);
|
|
39996
40087
|
}
|
|
39997
|
-
throw
|
|
40088
|
+
throw fhHandledError();
|
|
39998
40089
|
}
|
|
39999
40090
|
if (this.app_s.COMPANY_KEY == 'COCIF_')
|
|
40000
40091
|
if (!!res)
|
|
@@ -43422,5 +43513,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImpor
|
|
|
43422
43513
|
* Generated bundle index. Do not edit.
|
|
43423
43514
|
*/
|
|
43424
43515
|
|
|
43425
|
-
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, FHWinSearchListComponent, 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 };
|
|
43516
|
+
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, FHWinSearchListComponent, FHWinSelectByGridComponent, FHWinShowEmail, FHWinShowEmailS3, FHWinShowImage, FHWinShowLog, FHWinShowLogDett, FHWinTimeSlider, FHWinUploadComponent, FHWinUserInfo, FHWinUserPickerComponent, FHWinWaitComponent, FHWorkflowForm, FHWorkflowHeaderBar, FHWorkflowTasksPanel, FHWorkflowView, FH_ERROR_REPORTER, FH_EVENT_ID_HEADER, FH_MONITORING_DEFAULTS, FH_MONITORING_IGNORE_ERRORS, 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, fhMonitoringBeforeBreadcrumb, fhMonitoringBeforeSend, fh_win_translate, wkfField };
|
|
43426
43517
|
//# sourceMappingURL=fluxhub-fluxhub-lib.mjs.map
|