@fluxhub/fluxhub-lib 10.0.315 → 10.0.317
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 +28 -18
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +2 -2
- 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/win_uploads.js +7 -3
- package/fesm2015/fluxhub-fluxhub-lib.js +21 -10
- 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/win_uploads.d.ts +3 -1
- package/package.json +1 -1
|
@@ -8,6 +8,7 @@ import { AES, enc } from 'crypto-js';
|
|
|
8
8
|
import { Title, DomSanitizer } from '@angular/platform-browser';
|
|
9
9
|
import { map, catchError, flatMap } from 'rxjs/operators';
|
|
10
10
|
import { NG_VALUE_ACCESSOR, NgControl, FormsModule } from '@angular/forms';
|
|
11
|
+
import { TranslateService, TranslateModule } from '@ngx-translate/core';
|
|
11
12
|
import { Router, ActivatedRoute } from '@angular/router';
|
|
12
13
|
import { SlimLoadingBarService } from 'ng2-slim-loading-bar';
|
|
13
14
|
import { Clipboard } from '@angular/cdk/clipboard';
|
|
@@ -32,7 +33,6 @@ import 'prismjs/components/prism-typescript';
|
|
|
32
33
|
import 'prismjs/components/prism-sass';
|
|
33
34
|
import 'prismjs/components/prism-scss';
|
|
34
35
|
import 'prismjs/components/prism-sql';
|
|
35
|
-
import { TranslateService, TranslateModule } from '@ngx-translate/core';
|
|
36
36
|
import NavigatedViewer from 'bpmn-js/lib/NavigatedViewer';
|
|
37
37
|
import { MatTabsModule } from '@angular/material/tabs';
|
|
38
38
|
import { FlexLayoutModule } from '@angular/flex-layout';
|
|
@@ -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;
|
|
@@ -5489,10 +5496,11 @@ FHUploadPanelComponent.propDecorators = {
|
|
|
5489
5496
|
};
|
|
5490
5497
|
|
|
5491
5498
|
class fh_win_uploads {
|
|
5492
|
-
constructor(data, dialogRef, app_s) {
|
|
5499
|
+
constructor(data, dialogRef, app_s, trs) {
|
|
5493
5500
|
this.data = data;
|
|
5494
5501
|
this.dialogRef = dialogRef;
|
|
5495
5502
|
this.app_s = app_s;
|
|
5503
|
+
this.trs = trs;
|
|
5496
5504
|
this.enabled = true;
|
|
5497
5505
|
this.access_control = true;
|
|
5498
5506
|
this.App = "";
|
|
@@ -5521,6 +5529,7 @@ class fh_win_uploads {
|
|
|
5521
5529
|
// this.K = this.app_s.getState().wkf_doc_info.uiid_doc;
|
|
5522
5530
|
//}
|
|
5523
5531
|
this.init(this.App, this.K);
|
|
5532
|
+
this.title = this.trs.instant('ALLEGATI');
|
|
5524
5533
|
});
|
|
5525
5534
|
}
|
|
5526
5535
|
init(p_app, p_k) {
|
|
@@ -5570,7 +5579,8 @@ fh_win_uploads.decorators = [
|
|
|
5570
5579
|
fh_win_uploads.ctorParameters = () => [
|
|
5571
5580
|
{ type: undefined, decorators: [{ type: Inject, args: [MAT_DIALOG_DATA,] }] },
|
|
5572
5581
|
{ type: MatDialogRef },
|
|
5573
|
-
{ type: AppService }
|
|
5582
|
+
{ type: AppService },
|
|
5583
|
+
{ type: TranslateService }
|
|
5574
5584
|
];
|
|
5575
5585
|
fh_win_uploads.propDecorators = {
|
|
5576
5586
|
upc: [{ type: ViewChild, args: ["upc",] }]
|
|
@@ -14321,7 +14331,7 @@ win_log.decorators = [
|
|
|
14321
14331
|
>
|
|
14322
14332
|
<button mat-flat-button color="accent" (click)="ins()">
|
|
14323
14333
|
<mat-icon>note_add</mat-icon>
|
|
14324
|
-
INSERISCI</button
|
|
14334
|
+
{{'INSERISCI' | translate}}</button
|
|
14325
14335
|
>
|
|
14326
14336
|
</div>
|
|
14327
14337
|
|
|
@@ -14331,7 +14341,7 @@ win_log.decorators = [
|
|
|
14331
14341
|
*ngIf="b_edit"
|
|
14332
14342
|
appearance="outline"
|
|
14333
14343
|
floatLabel="always"
|
|
14334
|
-
><mat-label>Commento</mat-label>
|
|
14344
|
+
><mat-label>{{'Commento' | translate}}</mat-label>
|
|
14335
14345
|
<textarea matInput [(ngModel)]="nota" rows="12"></textarea>
|
|
14336
14346
|
</mat-form-field>
|
|
14337
14347
|
|
|
@@ -14343,7 +14353,7 @@ win_log.decorators = [
|
|
|
14343
14353
|
style="background-color: #F5F5F5"
|
|
14344
14354
|
(click)="annulla()"
|
|
14345
14355
|
>
|
|
14346
|
-
|
|
14356
|
+
{{'ANNULLA' | translate}}</button
|
|
14347
14357
|
>
|
|
14348
14358
|
<mat-checkbox
|
|
14349
14359
|
[disabled]="not_comm_disabled"
|
|
@@ -14353,7 +14363,8 @@ win_log.decorators = [
|
|
|
14353
14363
|
(notifica_commenti == 1 && lettori == '')
|
|
14354
14364
|
"
|
|
14355
14365
|
>
|
|
14356
|
-
|
|
14366
|
+
{{'Notifica Interessati' | translate}}
|
|
14367
|
+
|
|
14357
14368
|
</mat-checkbox>
|
|
14358
14369
|
</div>
|
|
14359
14370
|
<br /><br />
|
|
@@ -14361,9 +14372,9 @@ win_log.decorators = [
|
|
|
14361
14372
|
<table *ngIf="!b_edit" class="fh_table" style="width:90%">
|
|
14362
14373
|
<thead>
|
|
14363
14374
|
<tr>
|
|
14364
|
-
<th width="15%">Data</th>
|
|
14365
|
-
<th width="15%">Utente</th>
|
|
14366
|
-
<th>Operazione</th>
|
|
14375
|
+
<th width="15%">{{'Data' | translate}}</th>
|
|
14376
|
+
<th width="15%">{{'Utente' | translate}}</th>
|
|
14377
|
+
<th>{{'Operazione' | translate}}</th>
|
|
14367
14378
|
<td></td>
|
|
14368
14379
|
<td></td>
|
|
14369
14380
|
</tr>
|