@fluxhub/fluxhub-lib 10.0.602 → 10.0.603
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 +22 -20
- 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/controls/fhupload.js +2 -2
- package/esm2015/lib/controls/fhuploadpanel.js +6 -6
- package/esm2015/lib/controls/fhuploadpanel_s3.js +11 -8
- package/esm2015/lib/controls/win_show_email.js +2 -2
- package/esm2015/lib/controls/win_show_email_s3.js +2 -2
- package/esm2015/lib/wkf_engine/win_assegna.js +2 -2
- package/esm2015/lib/wkf_engine/win_commento_sel_notif.js +2 -2
- package/esm2015/lib/wkf_engine/win_recupera.js +2 -2
- package/esm2015/lib/wkf_engine/win_riassegna_select_level.js +2 -2
- package/esm2015/lib/wkf_engine/win_select_canale.js +2 -2
- package/esm2015/lib/wkf_engine/win_select_level.js +2 -2
- package/esm2015/lib/wkf_engine/win_sostituisci_utente.js +2 -2
- package/esm2015/lib/wkf_engine/win_uploads.js +2 -2
- package/esm2015/lib/wkf_engine_v2/win_commenti.js +2 -2
- package/fesm2015/fluxhub-fluxhub-lib.js +26 -24
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhuploadpanel_s3.d.ts +3 -1
- package/package.json +1 -1
|
@@ -2722,7 +2722,7 @@ fh_win_show_email_s3.decorators = [
|
|
|
2722
2722
|
template: `
|
|
2723
2723
|
<div style="width:100%" fxLayout="row" fxLayoutAlign="end start"><img src="assets/icons/x.png" style="cursor: pointer;" (click)="dialogRef.close(null)" /> </div><br>
|
|
2724
2724
|
<div style="width:100%;overflow:auto;" [style.height]="(m_appService.getState().body_h-240)+'px'">
|
|
2725
|
-
<mat-toolbar color="primary">{{title}}
|
|
2725
|
+
<mat-toolbar color="primary">{{title | translate}}
|
|
2726
2726
|
<span class="fill-remaining-space"></span>
|
|
2727
2727
|
|
|
2728
2728
|
</mat-toolbar>
|
|
@@ -2789,13 +2789,14 @@ fh_win_show_email_s3.ctorParameters = () => [
|
|
|
2789
2789
|
];
|
|
2790
2790
|
|
|
2791
2791
|
class FHUploadPanelS3Component {
|
|
2792
|
-
constructor(_appservice, _dataService, toastr, dialog, fileService, uti) {
|
|
2792
|
+
constructor(_appservice, _dataService, toastr, dialog, fileService, uti, tsr) {
|
|
2793
2793
|
this._appservice = _appservice;
|
|
2794
2794
|
this._dataService = _dataService;
|
|
2795
2795
|
this.toastr = toastr;
|
|
2796
2796
|
this.dialog = dialog;
|
|
2797
2797
|
this.fileService = fileService;
|
|
2798
2798
|
this.uti = uti;
|
|
2799
|
+
this.tsr = tsr;
|
|
2799
2800
|
this.enabled = true;
|
|
2800
2801
|
this.force_en = false;
|
|
2801
2802
|
this.label = "";
|
|
@@ -2873,7 +2874,7 @@ class FHUploadPanelS3Component {
|
|
|
2873
2874
|
if (data.result_msg == "OK") {
|
|
2874
2875
|
let dialogRef = this.dialog.open(fh_win_combo);
|
|
2875
2876
|
setTimeout(() => {
|
|
2876
|
-
dialogRef.componentInstance.set_selection("Tipologia Allegato", data.result_data);
|
|
2877
|
+
dialogRef.componentInstance.set_selection(this.tsr.instant("Tipologia Allegato"), data.result_data);
|
|
2877
2878
|
});
|
|
2878
2879
|
dialogRef.afterClosed().subscribe((result) => {
|
|
2879
2880
|
if (result != null) {
|
|
@@ -2895,7 +2896,7 @@ class FHUploadPanelS3Component {
|
|
|
2895
2896
|
edit_descri(ax) {
|
|
2896
2897
|
let dialogRef = this.dialog.open(fh_win_ask_big_text);
|
|
2897
2898
|
setTimeout(() => {
|
|
2898
|
-
dialogRef.componentInstance.label = "Descrizione Allegato";
|
|
2899
|
+
dialogRef.componentInstance.label = this.tsr.instant("Descrizione Allegato");
|
|
2899
2900
|
dialogRef.componentInstance.valore = ax.description;
|
|
2900
2901
|
dialogRef.componentInstance.min_chars = 0;
|
|
2901
2902
|
});
|
|
@@ -2915,8 +2916,8 @@ class FHUploadPanelS3Component {
|
|
|
2915
2916
|
});
|
|
2916
2917
|
}
|
|
2917
2918
|
delete(ax) {
|
|
2918
|
-
localStorage.setItem(this._appservice.COMPANY_KEY + "title_dialog", "Conferma Operazione");
|
|
2919
|
-
localStorage.setItem(this._appservice.COMPANY_KEY + "msg_dialog", "Confermi l'eliminazione dell'elemento?");
|
|
2919
|
+
localStorage.setItem(this._appservice.COMPANY_KEY + "title_dialog", this.tsr.instant("Conferma Operazione"));
|
|
2920
|
+
localStorage.setItem(this._appservice.COMPANY_KEY + "msg_dialog", this.tsr.instant("Confermi l'eliminazione dell'elemento?"));
|
|
2920
2921
|
let dialogRef = this.dialog.open(fh_win_confirm);
|
|
2921
2922
|
dialogRef.afterClosed().subscribe((result) => {
|
|
2922
2923
|
if (result) {
|
|
@@ -2929,7 +2930,7 @@ class FHUploadPanelS3Component {
|
|
|
2929
2930
|
if (data.result_msg == "OK") {
|
|
2930
2931
|
// this.arr_g = data.result_data;
|
|
2931
2932
|
this.ref_allegato();
|
|
2932
|
-
this.toastr.info("INFO", "ALLEGATO ELIMINATO", {
|
|
2933
|
+
this.toastr.info("INFO", this.tsr.instant("ALLEGATO ELIMINATO"), {
|
|
2933
2934
|
timeOut: 1000,
|
|
2934
2935
|
progressBar: true,
|
|
2935
2936
|
});
|
|
@@ -3381,7 +3382,8 @@ FHUploadPanelS3Component.ctorParameters = () => [
|
|
|
3381
3382
|
{ type: ToastrService },
|
|
3382
3383
|
{ type: MatDialog },
|
|
3383
3384
|
{ type: FileService },
|
|
3384
|
-
{ type: UtilityService }
|
|
3385
|
+
{ type: UtilityService },
|
|
3386
|
+
{ type: TranslateService }
|
|
3385
3387
|
];
|
|
3386
3388
|
FHUploadPanelS3Component.propDecorators = {
|
|
3387
3389
|
enabled: [{ type: Input }],
|
|
@@ -4292,7 +4294,7 @@ win_recupera_doc.decorators = [
|
|
|
4292
4294
|
template: `
|
|
4293
4295
|
<div fxLayout="column" fxLayoutGap="5px">
|
|
4294
4296
|
<div fxFlex="100" fxLayout="row" class="dialog_header">
|
|
4295
|
-
<div fxLayout="row" fxLayoutAlign="start center" style="width:50%">{{title}}</div>
|
|
4297
|
+
<div fxLayout="row" fxLayoutAlign="start center" style="width:50%">{{title | translate}}</div>
|
|
4296
4298
|
<div style="width:50%" fxLayout="row" fxLayoutAlign="end start">
|
|
4297
4299
|
<img src="assets/icons/x.png" style="cursor: pointer;" (click)="close()" />
|
|
4298
4300
|
</div>
|
|
@@ -4414,7 +4416,7 @@ win_riassegna_select_level.decorators = [
|
|
|
4414
4416
|
template: `
|
|
4415
4417
|
<div fxLayout="column" fxLayoutGap="5px">
|
|
4416
4418
|
<div fxFlex="100" fxLayout="row" class="dialog_header">
|
|
4417
|
-
<div fxLayout="row" fxLayoutAlign="start center" style="width:50%">{{title}}</div>
|
|
4419
|
+
<div fxLayout="row" fxLayoutAlign="start center" style="width:50%">{{title | translate}}</div>
|
|
4418
4420
|
<div style="width:50%" fxLayout="row" fxLayoutAlign="end start">
|
|
4419
4421
|
<img src="assets/icons/x.png" style="cursor: pointer;" (click)="close()" />
|
|
4420
4422
|
</div>
|
|
@@ -5205,7 +5207,7 @@ win_sostituisci_utente.decorators = [
|
|
|
5205
5207
|
template: `
|
|
5206
5208
|
<div fxLayout="column" fxLayoutGap="5px">
|
|
5207
5209
|
<div fxFlex="100" fxLayout="row" class="dialog_header">
|
|
5208
|
-
<div fxLayout="row" fxLayoutAlign="start center" style="width:50%">{{title}}</div>
|
|
5210
|
+
<div fxLayout="row" fxLayoutAlign="start center" style="width:50%">{{title | translate}}</div>
|
|
5209
5211
|
<div style="width:50%" fxLayout="row" fxLayoutAlign="end start">
|
|
5210
5212
|
<img src="assets/icons/x.png" style="cursor: pointer;" (click)="close()" />
|
|
5211
5213
|
</div>
|
|
@@ -8731,7 +8733,7 @@ FHUploadComponent.decorators = [
|
|
|
8731
8733
|
<div [hidden]="!(this.descri_obb && descrizione == '')"><b>{{inserire_descrizione | translate}}</b></div>
|
|
8732
8734
|
<div [hidden]="!(multi_list && (cmb_tipo.getValue() == '' || cmb_tipo.getValue() == '-1'))"><b>{{selezionare_tipologia | translate}}</b></div>
|
|
8733
8735
|
</div>
|
|
8734
|
-
<div class="my-drop-zone" [hidden]="(descri_obb && descrizione == '') || (multi_list && (cmb_tipo.getValue() == '' || cmb_tipo.getValue() == '-1'))" style="width:130px" fxLayout="row" [matTooltip]="hasBaseDropZoneOver ? lascia_il_file : trascina_il_file" fxLayoutAlign="center start">
|
|
8736
|
+
<div class="my-drop-zone" [hidden]="(descri_obb && descrizione == '') || (multi_list && (cmb_tipo.getValue() == '' || cmb_tipo.getValue() == '-1'))" style="width:130px" fxLayout="row" [matTooltip]="hasBaseDropZoneOver ? lascia_il_file : trascina_il_file | translate" fxLayoutAlign="center start">
|
|
8735
8737
|
<label for="uploader-input" ng2FileDrop style="font-weight:bold"
|
|
8736
8738
|
[ngClass]="{'over-drop-zone': hasBaseDropZoneOver}" for="file-fh{{ id_component }}"
|
|
8737
8739
|
(onFileDrop)="onFileDrop($event)" (click)="call_up()"
|
|
@@ -9238,7 +9240,7 @@ fh_win_show_email.decorators = [
|
|
|
9238
9240
|
template: `
|
|
9239
9241
|
<div style="width:100%" fxLayout="row" fxLayoutAlign="end start"><img src="assets/icons/x.png" style="cursor: pointer;" (click)="dialogRef.close(null)" /> </div><br>
|
|
9240
9242
|
<div style="width:100%;overflow:auto;" [style.height]="(m_appService.getState().body_h-240)+'px'">
|
|
9241
|
-
<mat-toolbar color="primary">{{title}}
|
|
9243
|
+
<mat-toolbar color="primary">{{title | translate}}
|
|
9242
9244
|
<span class="fill-remaining-space"></span>
|
|
9243
9245
|
|
|
9244
9246
|
</mat-toolbar>
|
|
@@ -9716,9 +9718,9 @@ FHUploadPanelComponent.decorators = [
|
|
|
9716
9718
|
<div *ngIf="enabled">
|
|
9717
9719
|
<a
|
|
9718
9720
|
mat-icon-button
|
|
9719
|
-
[matTooltip]="'Modifica Descrizione'
|
|
9721
|
+
[matTooltip]="'Modifica Descrizione' | translate"
|
|
9720
9722
|
*ngIf="app.can_edit"
|
|
9721
|
-
|
|
9723
|
+
(click)="edit_descri(app)"
|
|
9722
9724
|
>
|
|
9723
9725
|
<mat-icon>edit</mat-icon>
|
|
9724
9726
|
</a>
|
|
@@ -9745,7 +9747,7 @@ FHUploadPanelComponent.decorators = [
|
|
|
9745
9747
|
<div fxLayout="row">
|
|
9746
9748
|
<a
|
|
9747
9749
|
mat-icon-button
|
|
9748
|
-
matTooltip="Modifica Tipo"
|
|
9750
|
+
[matTooltip]="'Modifica Tipo' | translate"
|
|
9749
9751
|
*ngIf="app.can_edit"
|
|
9750
9752
|
(click)="edit_tipo(app)"
|
|
9751
9753
|
>
|
|
@@ -9871,7 +9873,7 @@ FHUploadPanelComponent.decorators = [
|
|
|
9871
9873
|
<div *ngIf="enabled">
|
|
9872
9874
|
<a
|
|
9873
9875
|
mat-icon-button
|
|
9874
|
-
[matTooltip]="'Modifica Descrizione' "
|
|
9876
|
+
[matTooltip]="'Modifica Descrizione' | translate"
|
|
9875
9877
|
*ngIf="app.can_edit"
|
|
9876
9878
|
(click)="edit_descri(app)"
|
|
9877
9879
|
>
|
|
@@ -9899,7 +9901,7 @@ FHUploadPanelComponent.decorators = [
|
|
|
9899
9901
|
<div fxLayout="row">
|
|
9900
9902
|
<a
|
|
9901
9903
|
mat-icon-button
|
|
9902
|
-
[matTooltip]="'Modifica Tipo' "
|
|
9904
|
+
[matTooltip]="'Modifica Tipo' | translate"
|
|
9903
9905
|
*ngIf="app.can_edit"
|
|
9904
9906
|
(click)="edit_tipo(app)"
|
|
9905
9907
|
>
|
|
@@ -10096,7 +10098,7 @@ fh_win_uploads.decorators = [
|
|
|
10096
10098
|
template: `
|
|
10097
10099
|
<div fxLayout="column" fxLayoutGap="5px">
|
|
10098
10100
|
<div fxFlex="100" fxLayout="row" class="dialog_header">
|
|
10099
|
-
<div fxLayout="row" fxLayoutAlign="start center" style="width:50%">{{title}}</div>
|
|
10101
|
+
<div fxLayout="row" fxLayoutAlign="start center" style="width:50%">{{title | translate}}</div>
|
|
10100
10102
|
<div style="width:50%" fxLayout="row" fxLayoutAlign="end start">
|
|
10101
10103
|
<img src="assets/icons/x.png" style="cursor: pointer;" (click)="close()" />
|
|
10102
10104
|
</div>
|
|
@@ -13824,7 +13826,7 @@ win_assegna.decorators = [
|
|
|
13824
13826
|
template: `
|
|
13825
13827
|
<div fxLayout="column" fxLayoutGap="5px">
|
|
13826
13828
|
<div fxFlex="100" fxLayout="row" class="dialog_header">
|
|
13827
|
-
<div fxLayout="row" fxLayoutAlign="start center" style="width:50%">{{title}}</div>
|
|
13829
|
+
<div fxLayout="row" fxLayoutAlign="start center" style="width:50%">{{title | translate}}</div>
|
|
13828
13830
|
<div style="width:50%" fxLayout="row" fxLayoutAlign="end start">
|
|
13829
13831
|
<img src="assets/icons/x.png" style="cursor: pointer;" (click)="close()" />
|
|
13830
13832
|
</div>
|
|
@@ -14015,7 +14017,7 @@ win_select_canale.decorators = [
|
|
|
14015
14017
|
template: `
|
|
14016
14018
|
<div fxLayout="column" fxLayoutGap="5px">
|
|
14017
14019
|
<div fxFlex="100" fxLayout="row" class="dialog_header">
|
|
14018
|
-
<div fxLayout="row" fxLayoutAlign="start center" style="width:50%">{{title}}</div>
|
|
14020
|
+
<div fxLayout="row" fxLayoutAlign="start center" style="width:50%">{{title | translate}}</div>
|
|
14019
14021
|
<div style="width:50%" fxLayout="row" fxLayoutAlign="end start">
|
|
14020
14022
|
<img src="assets/icons/x.png" style="cursor: pointer;" (click)="close()" />
|
|
14021
14023
|
</div>
|
|
@@ -14150,7 +14152,7 @@ win_select_level.decorators = [
|
|
|
14150
14152
|
template: `
|
|
14151
14153
|
<div fxLayout="column" fxLayoutGap="5px">
|
|
14152
14154
|
<div fxFlex="100" fxLayout="row" class="dialog_header">
|
|
14153
|
-
<div fxLayout="row" fxLayoutAlign="start center" style="width:80%">{{title}}</div>
|
|
14155
|
+
<div fxLayout="row" fxLayoutAlign="start center" style="width:80%">{{title | translate}}</div>
|
|
14154
14156
|
<div style="width:20%" fxLayout="row" fxLayoutAlign="end start">
|
|
14155
14157
|
<img src="assets/icons/x.png" style="cursor: pointer;" (click)="close()" />
|
|
14156
14158
|
</div>
|
|
@@ -14246,7 +14248,7 @@ win_commento_sel_notif.decorators = [
|
|
|
14246
14248
|
template: `
|
|
14247
14249
|
<div fxLayout="column" fxLayoutGap="5px">
|
|
14248
14250
|
<div fxFlex="100" fxLayout="row" class="dialog_header">
|
|
14249
|
-
<div fxLayout="row" fxLayoutAlign="start center" style="width:50%">{{title}}</div>
|
|
14251
|
+
<div fxLayout="row" fxLayoutAlign="start center" style="width:50%">{{title | translate}}</div>
|
|
14250
14252
|
<div style="width:50%" fxLayout="row" fxLayoutAlign="end start">
|
|
14251
14253
|
<img src="assets/icons/x.png" style="cursor: pointer;" (click)="close()" />
|
|
14252
14254
|
</div>
|
|
@@ -22098,7 +22100,7 @@ win_commenti_v2.decorators = [
|
|
|
22098
22100
|
template: `
|
|
22099
22101
|
<div fxLayout="column">
|
|
22100
22102
|
<div fxFlex="100" fxLayout="row" fxLayoutAlign="start center" class="dialog_header">
|
|
22101
|
-
<div fxLayout="row" fxLayoutAlign="start center" style="width:50%"> <b>{{title}}</b></div>
|
|
22103
|
+
<div fxLayout="row" fxLayoutAlign="start center" style="width:50%"> <b>{{title | translate}}</b></div>
|
|
22102
22104
|
<div style="width:50%" fxLayout="row" fxLayoutAlign="end start">
|
|
22103
22105
|
<img src="assets/icons/x.png" style="cursor: pointer;" (click)="close()" />
|
|
22104
22106
|
</div>
|