@fluxhub/fluxhub-lib 22.0.10 → 22.0.12
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,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: "22.1.3", ngImpor
|
|
|
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)
|
|
@@ -2488,7 +2502,7 @@ class OdbcService {
|
|
|
2488
2502
|
&& err.message.indexOf('Could not connect (sequence)') == -1))
|
|
2489
2503
|
this.toastr.error(queryp.sql + ' ' + err.message);
|
|
2490
2504
|
}
|
|
2491
|
-
throw
|
|
2505
|
+
throw fhHandledError();
|
|
2492
2506
|
}
|
|
2493
2507
|
return res || new QGResult();
|
|
2494
2508
|
}), catchError((err) => {
|
|
@@ -10168,7 +10182,7 @@ class GridService {
|
|
|
10168
10182
|
if (displayError) {
|
|
10169
10183
|
this.toastr.error(err.message);
|
|
10170
10184
|
}
|
|
10171
|
-
throw
|
|
10185
|
+
throw fhHandledError();
|
|
10172
10186
|
}
|
|
10173
10187
|
if (this.app_s.COMPANY_KEY == 'COCIF_')
|
|
10174
10188
|
if (!!res)
|
|
@@ -10241,7 +10255,7 @@ class FileService {
|
|
|
10241
10255
|
if (displayError) {
|
|
10242
10256
|
this.toastr.error(err.message);
|
|
10243
10257
|
}
|
|
10244
|
-
throw
|
|
10258
|
+
throw fhHandledError();
|
|
10245
10259
|
}
|
|
10246
10260
|
return res || new QGResult();
|
|
10247
10261
|
}), catchError((err) => {
|
|
@@ -11319,6 +11333,9 @@ class FHGridComponent {
|
|
|
11319
11333
|
* (pulsante in toolbar): in quel caso la grid è per definizione a video, quindi
|
|
11320
11334
|
* si salta l'euristica di visibilità e non si rimanda mai. */
|
|
11321
11335
|
autoSizeAll(force = false) {
|
|
11336
|
+
// richiamata anche da setTimeout: la griglia puo' essere gia' distrutta
|
|
11337
|
+
if (!this.gridApi || this.gridApi.isDestroyed?.())
|
|
11338
|
+
return;
|
|
11322
11339
|
if (this.gridOptions == null)
|
|
11323
11340
|
return;
|
|
11324
11341
|
if (this.gridApi == null)
|
|
@@ -11349,6 +11366,9 @@ class FHGridComponent {
|
|
|
11349
11366
|
this.save_cfg();
|
|
11350
11367
|
}
|
|
11351
11368
|
fitSizeAll() {
|
|
11369
|
+
// richiamata anche da setTimeout: la griglia puo' essere gia' distrutta
|
|
11370
|
+
if (!this.gridApi || this.gridApi.isDestroyed?.())
|
|
11371
|
+
return;
|
|
11352
11372
|
console.log('fitSizeAll called');
|
|
11353
11373
|
if (this.gridApi)
|
|
11354
11374
|
this.gridApi.sizeColumnsToFit();
|
|
@@ -17698,7 +17718,10 @@ class FHNotesPanelComponent {
|
|
|
17698
17718
|
p.command = 'exec_app';
|
|
17699
17719
|
p.p1 = 'insert_update_comment';
|
|
17700
17720
|
p.p2 = this.App + '|' + this.K;
|
|
17701
|
-
this.m_file.doQuery(p, false).subscribe(
|
|
17721
|
+
this.m_file.doQuery(p, false).subscribe({
|
|
17722
|
+
// hook facoltativo: il portale puo' non avere l'utility, il commento e' gia' salvato
|
|
17723
|
+
error: () => { },
|
|
17724
|
+
});
|
|
17702
17725
|
ok_op = true;
|
|
17703
17726
|
this.b_edit = false;
|
|
17704
17727
|
this.refresh_list();
|
|
@@ -17726,7 +17749,10 @@ class FHNotesPanelComponent {
|
|
|
17726
17749
|
p.command = 'exec_app';
|
|
17727
17750
|
p.p1 = 'insert_update_comment';
|
|
17728
17751
|
p.p2 = this.App + '|' + this.K + '|' + this.edit_id;
|
|
17729
|
-
this.m_file.doQuery(p, false).subscribe(
|
|
17752
|
+
this.m_file.doQuery(p, false).subscribe({
|
|
17753
|
+
// hook facoltativo: il portale puo' non avere l'utility, il commento e' gia' salvato
|
|
17754
|
+
error: () => { },
|
|
17755
|
+
});
|
|
17730
17756
|
ok_op = true;
|
|
17731
17757
|
this.b_edit = false;
|
|
17732
17758
|
this.refresh_list();
|
|
@@ -26355,6 +26381,9 @@ class FHWinGridSelection {
|
|
|
26355
26381
|
}, 100);
|
|
26356
26382
|
}
|
|
26357
26383
|
autoSizeAll() {
|
|
26384
|
+
// richiamata anche da setTimeout: la griglia puo' essere gia' distrutta
|
|
26385
|
+
if (!this.gridApi || this.gridApi.isDestroyed?.())
|
|
26386
|
+
return;
|
|
26358
26387
|
if (this.gridOptions == null)
|
|
26359
26388
|
return;
|
|
26360
26389
|
if (this.gridApi == null)
|
|
@@ -26373,6 +26402,9 @@ class FHWinGridSelection {
|
|
|
26373
26402
|
}
|
|
26374
26403
|
}
|
|
26375
26404
|
fitSizeAll() {
|
|
26405
|
+
// richiamata anche da setTimeout: la griglia puo' essere gia' distrutta
|
|
26406
|
+
if (!this.gridApi || this.gridApi.isDestroyed?.())
|
|
26407
|
+
return;
|
|
26376
26408
|
if (this.gridApi)
|
|
26377
26409
|
this.gridApi.sizeColumnsToFit();
|
|
26378
26410
|
}
|
|
@@ -29596,7 +29628,7 @@ class AppMakerService {
|
|
|
29596
29628
|
if (displayError) {
|
|
29597
29629
|
this.toastr.error(err.message);
|
|
29598
29630
|
}
|
|
29599
|
-
throw
|
|
29631
|
+
throw fhHandledError();
|
|
29600
29632
|
}
|
|
29601
29633
|
return r || new QGResult();
|
|
29602
29634
|
}), catchError((err) => {
|
|
@@ -29707,7 +29739,7 @@ class WkfService {
|
|
|
29707
29739
|
&& err.message.indexOf('Could not connect (sequence)') == -1))
|
|
29708
29740
|
this.toastr.error(err.message);
|
|
29709
29741
|
}
|
|
29710
|
-
throw
|
|
29742
|
+
throw fhHandledError();
|
|
29711
29743
|
}
|
|
29712
29744
|
if (this.app_s.COMPANY_KEY == 'COCIF_')
|
|
29713
29745
|
if (!!res)
|
|
@@ -32819,7 +32851,10 @@ class win_commenti_v2 {
|
|
|
32819
32851
|
this.m_appService.getState().wkf_doc_info.uiid_app +
|
|
32820
32852
|
'|' +
|
|
32821
32853
|
this.m_appService.getState().wkf_doc_info.uiid_doc;
|
|
32822
|
-
this.m_file.doQuery(p, false).subscribe(
|
|
32854
|
+
this.m_file.doQuery(p, false).subscribe({
|
|
32855
|
+
// hook facoltativo: il portale puo' non avere l'utility, il commento e' gia' salvato
|
|
32856
|
+
error: () => { },
|
|
32857
|
+
});
|
|
32823
32858
|
ok_op = true;
|
|
32824
32859
|
this.b_edit = false;
|
|
32825
32860
|
if (sdest != '')
|
|
@@ -32859,7 +32894,10 @@ class win_commenti_v2 {
|
|
|
32859
32894
|
this.m_appService.getState().wkf_doc_info.uiid_doc +
|
|
32860
32895
|
'|' +
|
|
32861
32896
|
this.edit_id;
|
|
32862
|
-
this.m_file.doQuery(p, false).subscribe(
|
|
32897
|
+
this.m_file.doQuery(p, false).subscribe({
|
|
32898
|
+
// hook facoltativo: il portale puo' non avere l'utility, il commento e' gia' salvato
|
|
32899
|
+
error: () => { },
|
|
32900
|
+
});
|
|
32863
32901
|
ok_op = true;
|
|
32864
32902
|
this.b_edit = false;
|
|
32865
32903
|
if (sdest != '')
|
|
@@ -34346,7 +34384,10 @@ class win_log_v2 {
|
|
|
34346
34384
|
this.m_appService.getState().wkf_doc_info.uiid_app +
|
|
34347
34385
|
'|' +
|
|
34348
34386
|
this.m_appService.getState().wkf_doc_info.uiid_doc;
|
|
34349
|
-
this.m_file.doQuery(px, false).subscribe(
|
|
34387
|
+
this.m_file.doQuery(px, false).subscribe({
|
|
34388
|
+
// hook facoltativo: il portale puo' non avere l'utility, il commento e' gia' salvato
|
|
34389
|
+
error: () => { },
|
|
34390
|
+
});
|
|
34350
34391
|
this.b_edit = false;
|
|
34351
34392
|
if (sdest != '')
|
|
34352
34393
|
this.sendEMail_ex(this.m_appService.getState().wkf_doc_info.curr_user, sdest, this.subject
|
|
@@ -34379,7 +34420,10 @@ class win_log_v2 {
|
|
|
34379
34420
|
this.m_appService.getState().wkf_doc_info.uiid_app +
|
|
34380
34421
|
'|' +
|
|
34381
34422
|
this.m_appService.getState().wkf_doc_info.uiid_doc;
|
|
34382
|
-
this.m_file.doQuery(px, false).subscribe(
|
|
34423
|
+
this.m_file.doQuery(px, false).subscribe({
|
|
34424
|
+
// hook facoltativo: il portale puo' non avere l'utility, il commento e' gia' salvato
|
|
34425
|
+
error: () => { },
|
|
34426
|
+
});
|
|
34383
34427
|
this.b_edit = false;
|
|
34384
34428
|
if (sdest != '')
|
|
34385
34429
|
this.sendEMail_ex(this.m_appService.getState().wkf_doc_info.curr_user, sdest, this.subject
|
|
@@ -39855,7 +39899,7 @@ class RegistrationService {
|
|
|
39855
39899
|
if (displayError) {
|
|
39856
39900
|
this.toastr.error(err.message);
|
|
39857
39901
|
}
|
|
39858
|
-
throw
|
|
39902
|
+
throw fhHandledError();
|
|
39859
39903
|
}
|
|
39860
39904
|
return res || new QGResult();
|
|
39861
39905
|
}), catchError((err) => {
|
|
@@ -39982,7 +40026,7 @@ class QueryOpenService {
|
|
|
39982
40026
|
&& err.message.indexOf('Could not connect (sequence)') == -1)))
|
|
39983
40027
|
this.toastr.error(queryp.sql + ' ' + err.message);
|
|
39984
40028
|
}
|
|
39985
|
-
throw
|
|
40029
|
+
throw fhHandledError();
|
|
39986
40030
|
}
|
|
39987
40031
|
if (this.app_s.COMPANY_KEY == 'COCIF_')
|
|
39988
40032
|
if (!!res)
|
|
@@ -43410,5 +43454,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImpor
|
|
|
43410
43454
|
* Generated bundle index. Do not edit.
|
|
43411
43455
|
*/
|
|
43412
43456
|
|
|
43413
|
-
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 };
|
|
43457
|
+
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, fhHandledError, fhIsHandled, fh_win_translate, wkfField };
|
|
43414
43458
|
//# sourceMappingURL=fluxhub-fluxhub-lib.mjs.map
|