@fluxhub/fluxhub-lib 10.0.314 → 10.0.316
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.
- package/bundles/fluxhub-fluxhub-lib.umd.js +18 -6
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/lib/services/utility.service.js +8 -1
- package/esm2015/lib/wkf_engine/win_log.js +9 -8
- package/esm2015/lib/wkf_engine/wkfapp.js +3 -2
- package/esm2015/lib/wkf_engine_v2/wkfapp.js +6 -3
- package/esm2015/lib/wkf_engine_v2/wkfdatiaggiuntivi.js +6 -3
- package/fesm2015/fluxhub-fluxhub-lib.js +25 -12
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/services/utility.service.d.ts +1 -0
- package/lib/wkf_engine/wkfapp.d.ts +3 -1
- package/lib/wkf_engine_v2/wkfapp.d.ts +3 -1
- package/lib/wkf_engine_v2/wkfdatiaggiuntivi.d.ts +3 -1
- package/package.json +1 -1
|
@@ -513,6 +513,13 @@ class UtilityService {
|
|
|
513
513
|
adds +
|
|
514
514
|
"',127)");
|
|
515
515
|
}
|
|
516
|
+
properCase(ss) {
|
|
517
|
+
let sentence = ss.toLowerCase().split(" ");
|
|
518
|
+
for (let i = 0; i < sentence.length; i++) {
|
|
519
|
+
sentence[i] = sentence[i][0].toUpperCase() + sentence[i].slice(1);
|
|
520
|
+
}
|
|
521
|
+
return sentence.join(" ");
|
|
522
|
+
}
|
|
516
523
|
DateAdd(timeU, byMany, dateObj) {
|
|
517
524
|
var millisecond = 1;
|
|
518
525
|
var second = millisecond * 1000;
|
|
@@ -6844,7 +6851,7 @@ win_sostituisci_utente.propDecorators = {
|
|
|
6844
6851
|
};
|
|
6845
6852
|
|
|
6846
6853
|
class wkfapp {
|
|
6847
|
-
constructor(app_s, m_service, m_dataService, m_fservice, m_router, _toastr, dialog, m_wkf, m_uti) {
|
|
6854
|
+
constructor(app_s, m_service, m_dataService, m_fservice, m_router, _toastr, dialog, m_wkf, m_uti, tsr) {
|
|
6848
6855
|
this.app_s = app_s;
|
|
6849
6856
|
this.m_service = m_service;
|
|
6850
6857
|
this.m_dataService = m_dataService;
|
|
@@ -6854,6 +6861,7 @@ class wkfapp {
|
|
|
6854
6861
|
this.dialog = dialog;
|
|
6855
6862
|
this.m_wkf = m_wkf;
|
|
6856
6863
|
this.m_uti = m_uti;
|
|
6864
|
+
this.tsr = tsr;
|
|
6857
6865
|
this.b_editing = false;
|
|
6858
6866
|
this.is_Supervisor = false;
|
|
6859
6867
|
this.is_Visor = false;
|
|
@@ -14320,7 +14328,7 @@ win_log.decorators = [
|
|
|
14320
14328
|
>
|
|
14321
14329
|
<button mat-flat-button color="accent" (click)="ins()">
|
|
14322
14330
|
<mat-icon>note_add</mat-icon>
|
|
14323
|
-
INSERISCI</button
|
|
14331
|
+
{{'INSERISCI' | translate}}</button
|
|
14324
14332
|
>
|
|
14325
14333
|
</div>
|
|
14326
14334
|
|
|
@@ -14330,7 +14338,7 @@ win_log.decorators = [
|
|
|
14330
14338
|
*ngIf="b_edit"
|
|
14331
14339
|
appearance="outline"
|
|
14332
14340
|
floatLabel="always"
|
|
14333
|
-
><mat-label>Commento</mat-label>
|
|
14341
|
+
><mat-label>{{'Commento' | translate}}</mat-label>
|
|
14334
14342
|
<textarea matInput [(ngModel)]="nota" rows="12"></textarea>
|
|
14335
14343
|
</mat-form-field>
|
|
14336
14344
|
|
|
@@ -14342,7 +14350,7 @@ win_log.decorators = [
|
|
|
14342
14350
|
style="background-color: #F5F5F5"
|
|
14343
14351
|
(click)="annulla()"
|
|
14344
14352
|
>
|
|
14345
|
-
|
|
14353
|
+
{{'ANNULLA' | translate}}</button
|
|
14346
14354
|
>
|
|
14347
14355
|
<mat-checkbox
|
|
14348
14356
|
[disabled]="not_comm_disabled"
|
|
@@ -14352,7 +14360,8 @@ win_log.decorators = [
|
|
|
14352
14360
|
(notifica_commenti == 1 && lettori == '')
|
|
14353
14361
|
"
|
|
14354
14362
|
>
|
|
14355
|
-
|
|
14363
|
+
{{'Notifica Interessati' | translate}}
|
|
14364
|
+
|
|
14356
14365
|
</mat-checkbox>
|
|
14357
14366
|
</div>
|
|
14358
14367
|
<br /><br />
|
|
@@ -14360,9 +14369,9 @@ win_log.decorators = [
|
|
|
14360
14369
|
<table *ngIf="!b_edit" class="fh_table" style="width:90%">
|
|
14361
14370
|
<thead>
|
|
14362
14371
|
<tr>
|
|
14363
|
-
<th width="15%">Data</th>
|
|
14364
|
-
<th width="15%">Utente</th>
|
|
14365
|
-
<th>Operazione</th>
|
|
14372
|
+
<th width="15%">{{'Data' | translate}}</th>
|
|
14373
|
+
<th width="15%">{{'Utente' | translate}}</th>
|
|
14374
|
+
<th>{{'Operazione' | translate}}</th>
|
|
14366
14375
|
<td></td>
|
|
14367
14376
|
<td></td>
|
|
14368
14377
|
</tr>
|
|
@@ -22690,7 +22699,7 @@ win_uploads_v2.propDecorators = {
|
|
|
22690
22699
|
};
|
|
22691
22700
|
|
|
22692
22701
|
class dati_aggiuntivi_v2 {
|
|
22693
|
-
constructor(app_s, m_dataService, m_router, m_dialog, m_route, m_wkf, uti_s, m_fileservice) {
|
|
22702
|
+
constructor(app_s, m_dataService, m_router, m_dialog, m_route, m_wkf, uti_s, m_fileservice, tsr) {
|
|
22694
22703
|
this.app_s = app_s;
|
|
22695
22704
|
this.m_dataService = m_dataService;
|
|
22696
22705
|
this.m_router = m_router;
|
|
@@ -22699,6 +22708,7 @@ class dati_aggiuntivi_v2 {
|
|
|
22699
22708
|
this.m_wkf = m_wkf;
|
|
22700
22709
|
this.uti_s = uti_s;
|
|
22701
22710
|
this.m_fileservice = m_fileservice;
|
|
22711
|
+
this.tsr = tsr;
|
|
22702
22712
|
this.m_obj = {};
|
|
22703
22713
|
this.wkf_users_roles = '';
|
|
22704
22714
|
this.b_rip_pulsanti = true;
|
|
@@ -24305,7 +24315,8 @@ dati_aggiuntivi_v2.ctorParameters = () => [
|
|
|
24305
24315
|
{ type: ActivatedRoute },
|
|
24306
24316
|
{ type: WkfService },
|
|
24307
24317
|
{ type: UtilityService },
|
|
24308
|
-
{ type: FileService }
|
|
24318
|
+
{ type: FileService },
|
|
24319
|
+
{ type: TranslateService }
|
|
24309
24320
|
];
|
|
24310
24321
|
dati_aggiuntivi_v2.propDecorators = {
|
|
24311
24322
|
onResize: [{ type: HostListener, args: ["window:resize", ["event"],] }]
|
|
@@ -24866,7 +24877,7 @@ class FSResult {
|
|
|
24866
24877
|
}
|
|
24867
24878
|
|
|
24868
24879
|
class wkfapp_v2 {
|
|
24869
|
-
constructor(app_s, m_service, m_dataService, m_router, _toastr, dialog, m_wkf, m_uti) {
|
|
24880
|
+
constructor(app_s, m_service, m_dataService, m_router, _toastr, dialog, m_wkf, m_uti, tsr) {
|
|
24870
24881
|
this.app_s = app_s;
|
|
24871
24882
|
this.m_service = m_service;
|
|
24872
24883
|
this.m_dataService = m_dataService;
|
|
@@ -24875,6 +24886,7 @@ class wkfapp_v2 {
|
|
|
24875
24886
|
this.dialog = dialog;
|
|
24876
24887
|
this.m_wkf = m_wkf;
|
|
24877
24888
|
this.m_uti = m_uti;
|
|
24889
|
+
this.tsr = tsr;
|
|
24878
24890
|
this.b_editing = false;
|
|
24879
24891
|
this.is_Supervisor = false;
|
|
24880
24892
|
this.is_Visor = false;
|
|
@@ -25612,7 +25624,8 @@ wkfapp_v2.ctorParameters = () => [
|
|
|
25612
25624
|
{ type: ToastrService },
|
|
25613
25625
|
{ type: MatDialog },
|
|
25614
25626
|
{ type: WkfService },
|
|
25615
|
-
{ type: UtilityService }
|
|
25627
|
+
{ type: UtilityService },
|
|
25628
|
+
{ type: TranslateService }
|
|
25616
25629
|
];
|
|
25617
25630
|
|
|
25618
25631
|
/*
|