@fluxhub/fluxhub-lib 19.0.36 → 19.0.37
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.
|
@@ -1711,7 +1711,7 @@ class FHGuard {
|
|
|
1711
1711
|
return;
|
|
1712
1712
|
}
|
|
1713
1713
|
}
|
|
1714
|
-
console.log('canActivate 4', this.arr_accessi,
|
|
1714
|
+
// console.log('canActivate 4', this.arr_accessi,this.routingDestination.split("/")[0]);
|
|
1715
1715
|
this.toast.error("ACCESS DENIED [0X0003]");
|
|
1716
1716
|
this.app_s.complete();
|
|
1717
1717
|
resolve(false);
|
|
@@ -5165,7 +5165,6 @@ class fh_win_upload {
|
|
|
5165
5165
|
this.data = data;
|
|
5166
5166
|
this.dialogRef = dialogRef;
|
|
5167
5167
|
this.app_s = app_s;
|
|
5168
|
-
console.log('data ', data);
|
|
5169
5168
|
if (data != null) {
|
|
5170
5169
|
if (data.App != null)
|
|
5171
5170
|
this.App = data.App;
|
|
@@ -6037,7 +6036,7 @@ class FHListComponent {
|
|
|
6037
6036
|
this.myData[j].checked = true;
|
|
6038
6037
|
}
|
|
6039
6038
|
}
|
|
6040
|
-
console.log('setByDescri ', this.myData);
|
|
6039
|
+
// console.log('setByDescri ', this.myData);
|
|
6041
6040
|
this.applyFilter();
|
|
6042
6041
|
}
|
|
6043
6042
|
setByIndex(ind) {
|
|
@@ -6075,7 +6074,7 @@ class FHListComponent {
|
|
|
6075
6074
|
this.myData[j].checked = true;
|
|
6076
6075
|
}
|
|
6077
6076
|
}
|
|
6078
|
-
console.log('setByValue ', this.myData);
|
|
6077
|
+
// console.log('setByValue ', this.myData);
|
|
6079
6078
|
this.applyFilter();
|
|
6080
6079
|
}
|
|
6081
6080
|
getDescri() {
|
|
@@ -8100,20 +8099,14 @@ class FHFilterComboboxComponent {
|
|
|
8100
8099
|
setByValue(desc_val) {
|
|
8101
8100
|
this.valDef = desc_val;
|
|
8102
8101
|
this.selval = "-1";
|
|
8103
|
-
// console.log(this.myData);
|
|
8104
8102
|
if ("" + desc_val == "") {
|
|
8105
|
-
// console.log('qqq1111');
|
|
8106
8103
|
return;
|
|
8107
8104
|
}
|
|
8108
|
-
// console.log("qui");
|
|
8109
8105
|
if (this.myData == null)
|
|
8110
8106
|
return;
|
|
8111
|
-
// console.log("qui1");
|
|
8112
8107
|
if (this.myData.length == 0 || this.myData[0] == null)
|
|
8113
8108
|
return;
|
|
8114
|
-
//console.log("qui2");
|
|
8115
8109
|
for (let j = 0; j < this.myData.length; j++) {
|
|
8116
|
-
//console.log(this.myData[j].valore +' '+ desc_val);
|
|
8117
8110
|
if (this.myData[j].valore == desc_val) {
|
|
8118
8111
|
this.selval = "" + this.myData[j].valore;
|
|
8119
8112
|
if (this.myData[j].descrizione_valore != null)
|
|
@@ -9096,7 +9089,7 @@ class FHGridComponent {
|
|
|
9096
9089
|
},
|
|
9097
9090
|
debug: false,
|
|
9098
9091
|
onCellValueChanged: (event) => {
|
|
9099
|
-
console.log('onCellValueChanged: ' + event.oldValue + ' to ' + event.newValue);
|
|
9092
|
+
// console.log('onCellValueChanged: ' + event.oldValue + ' to ' + event.newValue);
|
|
9100
9093
|
this.cellValueChanged.emit(event);
|
|
9101
9094
|
},
|
|
9102
9095
|
pagination: this.pagination,
|
|
@@ -9237,7 +9230,7 @@ class FHGridComponent {
|
|
|
9237
9230
|
}
|
|
9238
9231
|
show_pulisci_filtri = false;
|
|
9239
9232
|
autoSizeAll() {
|
|
9240
|
-
console.log("🚀 ~ FHGridComponent ~ autoSizeAll ~ autoSizeAll")
|
|
9233
|
+
// console.log("🚀 ~ FHGridComponent ~ autoSizeAll ~ autoSizeAll")
|
|
9241
9234
|
if (this.gridOptions == null)
|
|
9242
9235
|
return;
|
|
9243
9236
|
if (this.gridApi == null)
|
|
@@ -9257,7 +9250,7 @@ class FHGridComponent {
|
|
|
9257
9250
|
this.save_cfg();
|
|
9258
9251
|
}
|
|
9259
9252
|
fitSizeAll() {
|
|
9260
|
-
console.log("🚀 ~ FHGridComponent ~ fitSizeAll ~ fitSizeAll")
|
|
9253
|
+
// console.log("🚀 ~ FHGridComponent ~ fitSizeAll ~ fitSizeAll")
|
|
9261
9254
|
if (this.gridApi)
|
|
9262
9255
|
this.gridApi.sizeColumnsToFit();
|
|
9263
9256
|
this.save_cfg();
|
|
@@ -9554,7 +9547,7 @@ class FHGridComponent {
|
|
|
9554
9547
|
this.free_search();
|
|
9555
9548
|
}
|
|
9556
9549
|
onReady(event) {
|
|
9557
|
-
console.log('onReady ', event.api);
|
|
9550
|
+
// console.log('onReady ', event.api);
|
|
9558
9551
|
this.gridApi = event.api;
|
|
9559
9552
|
this.setHeaderHeight(this.header_h);
|
|
9560
9553
|
if (this.gf != null && this.show_buttons && !this.pref_hidden) {
|
|
@@ -9705,7 +9698,7 @@ class FHGridComponent {
|
|
|
9705
9698
|
if (!this.b_init)
|
|
9706
9699
|
return;
|
|
9707
9700
|
if (this.b_init) {
|
|
9708
|
-
console.log('salvo f: '
|
|
9701
|
+
// console.log('salvo f: '+this.gridApi.getColumnState(),this.gridApi);
|
|
9709
9702
|
if (this.gridApi)
|
|
9710
9703
|
localStorage.setItem(this.grid_key + '_COLS', JSON.stringify(this.gridApi.getColumnState()));
|
|
9711
9704
|
}
|
|
@@ -9726,7 +9719,7 @@ class FHGridComponent {
|
|
|
9726
9719
|
// console.log('onBeforeSortChanged');
|
|
9727
9720
|
}
|
|
9728
9721
|
onAfterSortChanged() {
|
|
9729
|
-
console.log('salvo f: '
|
|
9722
|
+
// console.log('salvo f: '+this.gridApi.getColumnState(),this.gridApi);
|
|
9730
9723
|
if (this.no_pref)
|
|
9731
9724
|
return;
|
|
9732
9725
|
if (this.b_init) {
|
|
@@ -10238,7 +10231,7 @@ class fh_win_app_logs {
|
|
|
10238
10231
|
return { 'text-align': 'center' };
|
|
10239
10232
|
},
|
|
10240
10233
|
cellRenderer: (params) => {
|
|
10241
|
-
console.log('params.value ', params.value);
|
|
10234
|
+
// console.log('params.value ', params.value);
|
|
10242
10235
|
if (params.value != null)
|
|
10243
10236
|
if (params.value != 'null')
|
|
10244
10237
|
if (params.value != '')
|
|
@@ -10751,9 +10744,6 @@ class LocalDBService {
|
|
|
10751
10744
|
resolve(JSON.parse((this.uti.decrypt_v2('' + (localStorage.getItem(key)) || '')) || '{}'));
|
|
10752
10745
|
}
|
|
10753
10746
|
catch (e) {
|
|
10754
|
-
console.log(e, "Errore JSON " +
|
|
10755
|
-
" " +
|
|
10756
|
-
this.uti.decrypt_v2(localStorage.getItem(key)));
|
|
10757
10747
|
resolve({});
|
|
10758
10748
|
return;
|
|
10759
10749
|
}
|
|
@@ -12203,7 +12193,6 @@ class FHViewerComponent {
|
|
|
12203
12193
|
notfullScreenEvent = new EventEmitter();
|
|
12204
12194
|
fullScreenEvent = new EventEmitter();
|
|
12205
12195
|
nextImage($event) {
|
|
12206
|
-
console.log("this.src.length ", this.src.length);
|
|
12207
12196
|
if (this.index < this.src.length - 1) {
|
|
12208
12197
|
this.loading = true;
|
|
12209
12198
|
this.index++;
|
|
@@ -12456,33 +12445,31 @@ class FHImageViewerComponent {
|
|
|
12456
12445
|
typeof window !== 'undefined' && typeof window.document !== 'undefined'
|
|
12457
12446
|
? window.document
|
|
12458
12447
|
: {};
|
|
12459
|
-
console.log('closeFullscreen ', this.elem);
|
|
12448
|
+
// console.log('closeFullscreen ', this.elem);
|
|
12460
12449
|
if (this.elem.exitFullscreen) {
|
|
12461
|
-
console.log('exitFullscreen');
|
|
12450
|
+
// console.log('exitFullscreen');
|
|
12462
12451
|
this.elem.exitFullscreen();
|
|
12463
12452
|
}
|
|
12464
12453
|
else if (this.elem.mozCancelFullScreen) {
|
|
12465
12454
|
/* Firefox */
|
|
12466
|
-
console.log('mozCancelFullScreen');
|
|
12455
|
+
// console.log('mozCancelFullScreen');
|
|
12467
12456
|
this.elem.mozCancelFullScreen();
|
|
12468
12457
|
}
|
|
12469
12458
|
else if (this.elem.webkitExitFullscreen) {
|
|
12470
12459
|
/* Chrome, Safari and Opera */
|
|
12471
|
-
console.log('webkitExitFullscreen');
|
|
12460
|
+
// console.log('webkitExitFullscreen');
|
|
12472
12461
|
this.elem.webkitExitFullscreen();
|
|
12473
12462
|
}
|
|
12474
12463
|
else if (this.elem.webkitCancelFullScreen) {
|
|
12475
12464
|
/* Chrome, Safari and Opera */
|
|
12476
|
-
console.log('webkitExitFullscreen');
|
|
12465
|
+
// console.log('webkitExitFullscreen');
|
|
12477
12466
|
this.elem.webkitCancelFullScreen();
|
|
12478
12467
|
}
|
|
12479
12468
|
else if (this.elem.msExitFullscreen) {
|
|
12480
12469
|
/* IE/Edge */
|
|
12481
|
-
console.log('msExitFullscreen');
|
|
12470
|
+
// console.log('msExitFullscreen');
|
|
12482
12471
|
this.elem.msExitFullscreen();
|
|
12483
12472
|
}
|
|
12484
|
-
else
|
|
12485
|
-
console.log('no exit!');
|
|
12486
12473
|
}
|
|
12487
12474
|
catch (e) {
|
|
12488
12475
|
this.openFullscreen();
|
|
@@ -13498,7 +13485,7 @@ class fh_win_picklist {
|
|
|
13498
13485
|
this.filtra_rem();
|
|
13499
13486
|
}
|
|
13500
13487
|
filtra_rem() {
|
|
13501
|
-
console.log('fltr_user_rem ');
|
|
13488
|
+
// console.log('fltr_user_rem ');
|
|
13502
13489
|
this.value_sel_ric = new Array();
|
|
13503
13490
|
// console.log('filtra() '+this.fltr_user.toUpperCase());
|
|
13504
13491
|
if (this.fltr_user_rem == '') {
|
|
@@ -13513,7 +13500,7 @@ class fh_win_picklist {
|
|
|
13513
13500
|
if (this.value_sel[i].descrizione_valore
|
|
13514
13501
|
.toUpperCase()
|
|
13515
13502
|
.indexOf(this.fltr_user_rem.toUpperCase()) != -1) {
|
|
13516
|
-
console.log('entro !!');
|
|
13503
|
+
// console.log('entro !!');
|
|
13517
13504
|
let b_found_a = false;
|
|
13518
13505
|
for (let z = 0; z < this.value_sel_ric.length; z++)
|
|
13519
13506
|
if (this.value_sel_ric[z].descrizione_valore ==
|
|
@@ -13521,7 +13508,7 @@ class fh_win_picklist {
|
|
|
13521
13508
|
b_found_a = true;
|
|
13522
13509
|
break;
|
|
13523
13510
|
}
|
|
13524
|
-
console.log('entro !! ', b_found_a);
|
|
13511
|
+
// console.log('entro !! ', b_found_a);
|
|
13525
13512
|
if (!b_found_a)
|
|
13526
13513
|
this.value_sel_ric.push(this.value_sel[i]);
|
|
13527
13514
|
if (this.value_sel_ric.length == 50 && this.limit_size)
|
|
@@ -15510,14 +15497,19 @@ class FHTimePickerComponent {
|
|
|
15510
15497
|
}
|
|
15511
15498
|
upm() {
|
|
15512
15499
|
let tt = parseInt(this.m + '') + parseInt(this.step + '');
|
|
15513
|
-
console.log('upm ', this.m, parseInt(this.m + ''), tt);
|
|
15500
|
+
// console.log('upm ', this.m, parseInt(this.m + ''), tt);
|
|
15514
15501
|
if (tt < 60) {
|
|
15515
15502
|
this.m = tt;
|
|
15516
15503
|
}
|
|
15517
15504
|
this.sc();
|
|
15518
15505
|
}
|
|
15519
15506
|
dom() {
|
|
15520
|
-
console.log(
|
|
15507
|
+
// console.log(
|
|
15508
|
+
// 'dom ',
|
|
15509
|
+
// this.m,
|
|
15510
|
+
// parseInt(this.m + ''),
|
|
15511
|
+
// parseInt(this.m + '') - this.step
|
|
15512
|
+
// );
|
|
15521
15513
|
if (parseInt(this.m + '') - this.step >= 0) {
|
|
15522
15514
|
this.m = parseInt(this.m + '') - this.step;
|
|
15523
15515
|
}
|
|
@@ -15639,7 +15631,7 @@ class FHTimePickerComponent {
|
|
|
15639
15631
|
setTimeout(() => {
|
|
15640
15632
|
setTimeout(() => {
|
|
15641
15633
|
let value = this.getValue();
|
|
15642
|
-
console.log('sc ', value);
|
|
15634
|
+
// console.log('sc ', value);
|
|
15643
15635
|
this.onChange(value);
|
|
15644
15636
|
this.selchange.emit();
|
|
15645
15637
|
}, 200);
|
|
@@ -15993,7 +15985,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
|
|
|
15993
15985
|
type: Output
|
|
15994
15986
|
}] } });
|
|
15995
15987
|
|
|
15996
|
-
class
|
|
15988
|
+
class FHWinAskBigText {
|
|
15997
15989
|
dialogRef;
|
|
15998
15990
|
toastr;
|
|
15999
15991
|
data;
|
|
@@ -16049,8 +16041,8 @@ class fh_win_ask_big_text {
|
|
|
16049
16041
|
chiudi() {
|
|
16050
16042
|
this.dialogRef.close(null);
|
|
16051
16043
|
}
|
|
16052
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type:
|
|
16053
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type:
|
|
16044
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: FHWinAskBigText, deps: [{ token: i1$2.MatDialogRef }, { token: i3.ToastrService }, { token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component });
|
|
16045
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type: FHWinAskBigText, isStandalone: true, selector: "app-win_ask_text", ngImport: i0, template: `
|
|
16054
16046
|
<div fxLayout="column">
|
|
16055
16047
|
<div fxLayout="row" class="dialog_header">
|
|
16056
16048
|
<div
|
|
@@ -16072,20 +16064,15 @@ class fh_win_ask_big_text {
|
|
|
16072
16064
|
</div>
|
|
16073
16065
|
<hr style="width:100%;size:0.5;color:#DDDDDD" />
|
|
16074
16066
|
|
|
16075
|
-
|
|
16076
|
-
<
|
|
16077
|
-
|
|
16078
|
-
|
|
16079
|
-
|
|
16080
|
-
|
|
16081
|
-
|
|
16082
|
-
|
|
16083
|
-
|
|
16084
|
-
[(ngModel)]="value"
|
|
16085
|
-
rows="15"
|
|
16086
|
-
[required]="min_chars!=0?true:false"
|
|
16087
|
-
></textarea>
|
|
16088
|
-
</mat-form-field>
|
|
16067
|
+
<mat-dialog-content style="width:630px">
|
|
16068
|
+
<FHTextArea
|
|
16069
|
+
[label]="label"
|
|
16070
|
+
[rows]="15"
|
|
16071
|
+
[enabled]="!readonly"
|
|
16072
|
+
[(ngModel)]="value"
|
|
16073
|
+
[required]="min_chars!=0?true:false"
|
|
16074
|
+
>
|
|
16075
|
+
</FHTextArea>
|
|
16089
16076
|
</mat-dialog-content>
|
|
16090
16077
|
<mat-dialog-actions>
|
|
16091
16078
|
<div
|
|
@@ -16128,9 +16115,9 @@ class fh_win_ask_big_text {
|
|
|
16128
16115
|
</div>
|
|
16129
16116
|
</mat-dialog-actions>
|
|
16130
16117
|
</div>
|
|
16131
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i1$2.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i1$2.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i10.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3$2.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i6$2.
|
|
16118
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i1$2.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i1$2.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i10.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3$2.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i6$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i6$2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i6$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i8$2.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "ngmodule", type: FlexLayoutModule }, { kind: "directive", type: i8$1.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i8$1.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "component", type: FHTextAreaComponent, selector: "FHTextArea", inputs: ["hidden", "label", "enabled", "required", "rows", "error"], outputs: ["change", "focusout", "focusin"] }] });
|
|
16132
16119
|
}
|
|
16133
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type:
|
|
16120
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: FHWinAskBigText, decorators: [{
|
|
16134
16121
|
type: Component,
|
|
16135
16122
|
args: [{ selector: "app-win_ask_text", imports: [
|
|
16136
16123
|
MatDialogModule,
|
|
@@ -16139,7 +16126,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
|
|
|
16139
16126
|
FormsModule,
|
|
16140
16127
|
MatFormFieldModule,
|
|
16141
16128
|
MatButtonModule,
|
|
16142
|
-
FlexLayoutModule
|
|
16129
|
+
FlexLayoutModule,
|
|
16130
|
+
FHTextAreaComponent
|
|
16143
16131
|
], template: `
|
|
16144
16132
|
<div fxLayout="column">
|
|
16145
16133
|
<div fxLayout="row" class="dialog_header">
|
|
@@ -16162,20 +16150,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
|
|
|
16162
16150
|
</div>
|
|
16163
16151
|
<hr style="width:100%;size:0.5;color:#DDDDDD" />
|
|
16164
16152
|
|
|
16165
|
-
|
|
16166
|
-
<
|
|
16167
|
-
|
|
16168
|
-
|
|
16169
|
-
|
|
16170
|
-
|
|
16171
|
-
|
|
16172
|
-
|
|
16173
|
-
|
|
16174
|
-
[(ngModel)]="value"
|
|
16175
|
-
rows="15"
|
|
16176
|
-
[required]="min_chars!=0?true:false"
|
|
16177
|
-
></textarea>
|
|
16178
|
-
</mat-form-field>
|
|
16153
|
+
<mat-dialog-content style="width:630px">
|
|
16154
|
+
<FHTextArea
|
|
16155
|
+
[label]="label"
|
|
16156
|
+
[rows]="15"
|
|
16157
|
+
[enabled]="!readonly"
|
|
16158
|
+
[(ngModel)]="value"
|
|
16159
|
+
[required]="min_chars!=0?true:false"
|
|
16160
|
+
>
|
|
16161
|
+
</FHTextArea>
|
|
16179
16162
|
</mat-dialog-content>
|
|
16180
16163
|
<mat-dialog-actions>
|
|
16181
16164
|
<div
|
|
@@ -16630,7 +16613,7 @@ class FHUploadPanelComponent {
|
|
|
16630
16613
|
if (o.response == null)
|
|
16631
16614
|
return;
|
|
16632
16615
|
let obj_r = JSON.parse(o.response);
|
|
16633
|
-
console.log(obj_r);
|
|
16616
|
+
// console.log(obj_r);
|
|
16634
16617
|
if (obj_r != null)
|
|
16635
16618
|
if (obj_r.msg != null)
|
|
16636
16619
|
if (obj_r.msg != '') {
|
|
@@ -16730,7 +16713,7 @@ class FHUploadPanelComponent {
|
|
|
16730
16713
|
});
|
|
16731
16714
|
}
|
|
16732
16715
|
edit_descri(ax) {
|
|
16733
|
-
let dialogRef = this.dialog.open(
|
|
16716
|
+
let dialogRef = this.dialog.open(FHWinAskBigText);
|
|
16734
16717
|
setTimeout(() => {
|
|
16735
16718
|
dialogRef.componentInstance.label = this._trs.instant('Descrizione Allegato');
|
|
16736
16719
|
dialogRef.componentInstance.value = ax.descrizione;
|
|
@@ -18162,7 +18145,10 @@ class FHUploadS3Component {
|
|
|
18162
18145
|
this.uploader.onBeforeUploadItem = (item) => {
|
|
18163
18146
|
item.withCredentials = false;
|
|
18164
18147
|
};
|
|
18165
|
-
console.log(
|
|
18148
|
+
// console.log(
|
|
18149
|
+
// "uploader ",
|
|
18150
|
+
// this.app_s.API_ENDPOINT + this.app_s.UPLOAD_ENDPOINT + "_new"
|
|
18151
|
+
// );
|
|
18166
18152
|
this.uploader.onCompleteItem = (item, response, status, header) => {
|
|
18167
18153
|
if (status === 200) {
|
|
18168
18154
|
this.descrizione = "";
|
|
@@ -18802,7 +18788,7 @@ class FHUploadPanelS3Component {
|
|
|
18802
18788
|
});
|
|
18803
18789
|
}
|
|
18804
18790
|
edit_descri(ax) {
|
|
18805
|
-
let dialogRef = this.dialog.open(
|
|
18791
|
+
let dialogRef = this.dialog.open(FHWinAskBigText);
|
|
18806
18792
|
setTimeout(() => {
|
|
18807
18793
|
dialogRef.componentInstance.label = this.tsr.instant("Descrizione Allegato");
|
|
18808
18794
|
dialogRef.componentInstance.value = ax.description;
|
|
@@ -20472,9 +20458,9 @@ class FHUserFieldComponent {
|
|
|
20472
20458
|
this.selectedUser = result;
|
|
20473
20459
|
this.writeValue("noop");
|
|
20474
20460
|
this.select.emit(this.selectedUser);
|
|
20475
|
-
console.log(this.selectedUser);
|
|
20461
|
+
// console.log(this.selectedUser);
|
|
20476
20462
|
this.userName = this.getUsersNc();
|
|
20477
|
-
console.log(this.userName);
|
|
20463
|
+
// console.log(this.userName);
|
|
20478
20464
|
}
|
|
20479
20465
|
else
|
|
20480
20466
|
this.clear();
|
|
@@ -21943,7 +21929,6 @@ class fh_win_mappa {
|
|
|
21943
21929
|
marker.pos = new google.maps.LatLng(marker.lat, marker.lng);
|
|
21944
21930
|
return marker;
|
|
21945
21931
|
});
|
|
21946
|
-
console.log('{lat: centerLat, lng: centerLng} ', { lat: this.centerLat, lng: this.centerLng }, 'this.markers', this.markers);
|
|
21947
21932
|
this.init = true;
|
|
21948
21933
|
}
|
|
21949
21934
|
// loadGoogleMaps(url: string, id: string, callback:any): void {
|
|
@@ -22268,7 +22253,6 @@ class fh_win_select_by_grid {
|
|
|
22268
22253
|
};
|
|
22269
22254
|
cmd_wkf_prog(o) {
|
|
22270
22255
|
if (o.cmd == 'sel_tutto') {
|
|
22271
|
-
console.log(this.rowData);
|
|
22272
22256
|
for (let index = 0; index < this.rowData.length; index++) {
|
|
22273
22257
|
const element = this.rowData[index];
|
|
22274
22258
|
let v = '';
|
|
@@ -22320,7 +22304,6 @@ class fh_win_select_by_grid {
|
|
|
22320
22304
|
rowsSelection.map((v) => {
|
|
22321
22305
|
this.value_sel.push(v.data);
|
|
22322
22306
|
});
|
|
22323
|
-
console.log('selectionChanged');
|
|
22324
22307
|
}
|
|
22325
22308
|
gridOptions = {
|
|
22326
22309
|
debug: false,
|
|
@@ -22465,14 +22448,12 @@ class fh_win_select_by_grid {
|
|
|
22465
22448
|
init = false;
|
|
22466
22449
|
fe() {
|
|
22467
22450
|
setTimeout(() => {
|
|
22468
|
-
console.log('this.getGridApi() ', this.getGridApi(), this.value_sel);
|
|
22469
22451
|
this.value_sel.map((v) => {
|
|
22470
22452
|
let i = 0;
|
|
22471
22453
|
this.getGridApi().forEachNode((node) => {
|
|
22472
22454
|
let sx = '';
|
|
22473
22455
|
sx = node.data.valore;
|
|
22474
22456
|
if (sx == v.valore) {
|
|
22475
|
-
// console.log('OK!!')
|
|
22476
22457
|
node.setSelected(true);
|
|
22477
22458
|
}
|
|
22478
22459
|
});
|
|
@@ -22790,7 +22771,7 @@ class fh_win_grid_selection {
|
|
|
22790
22771
|
}
|
|
22791
22772
|
};
|
|
22792
22773
|
}
|
|
22793
|
-
console.log("🚀 ~ fh_win_grid_selection ~ this.singleSelection:", this.gridOptions)
|
|
22774
|
+
// console.log("🚀 ~ fh_win_grid_selection ~ this.singleSelection:", this.gridOptions)
|
|
22794
22775
|
}
|
|
22795
22776
|
if (this.groupColumnName != '')
|
|
22796
22777
|
this.autoGroupColumnDef = {
|
|
@@ -23184,7 +23165,7 @@ class fh_win_show_log {
|
|
|
23184
23165
|
dialogRef.afterClosed().subscribe();
|
|
23185
23166
|
}
|
|
23186
23167
|
if (event.colDef.field == "descr_all") {
|
|
23187
|
-
let dialogRef = this.dialog.open(
|
|
23168
|
+
let dialogRef = this.dialog.open(FHWinAskBigText, {
|
|
23188
23169
|
disableClose: true, data: { valore: event.data.descr_all, readonly: true, title: 'Descrizione' }
|
|
23189
23170
|
});
|
|
23190
23171
|
dialogRef.afterClosed().subscribe((result) => {
|
|
@@ -23961,7 +23942,6 @@ class FHFormBuilderComponent {
|
|
|
23961
23942
|
if (data != null)
|
|
23962
23943
|
if (data.result_msg == "OK") {
|
|
23963
23944
|
o.opts_l = JSON.parse(JSON.stringify(data.result_data)).map((x) => x.descrizione_valore);
|
|
23964
|
-
console.log("🚀 ~ FHFormBuilderComponent ~ loadFromDB ~ loadFromDB:", o.opts);
|
|
23965
23945
|
return o;
|
|
23966
23946
|
}
|
|
23967
23947
|
});
|
|
@@ -25427,13 +25407,10 @@ class FHFormExecuterComponent {
|
|
|
25427
25407
|
this._tsr = _tsr;
|
|
25428
25408
|
}
|
|
25429
25409
|
ngAfterViewInit() {
|
|
25430
|
-
console.log('this.items BEFORE ', this.items);
|
|
25431
25410
|
this.items = this.items.map((item) => {
|
|
25432
25411
|
item.uiid = this.fhutility.newGuid();
|
|
25433
25412
|
if (item.type == 'date_field') {
|
|
25434
|
-
console.log('1111-----> ', (item.extra_param || '').split('|').length);
|
|
25435
25413
|
if ((item.extra_param || '').split('|').length > 2) {
|
|
25436
|
-
console.log('2222-----> ', (item.extra_param || '')[2]);
|
|
25437
25414
|
let secondExtraParam = (item.extra_param || '|').split('|')[2];
|
|
25438
25415
|
if (!item.default_value) {
|
|
25439
25416
|
if (secondExtraParam == 'YEARFIRSTDAY')
|
|
@@ -26652,7 +26629,6 @@ class FHGridInternalComponent {
|
|
|
26652
26629
|
.toUpperCase();
|
|
26653
26630
|
}
|
|
26654
26631
|
calcola_filtro(obj_filtro, filter_v, key, add_end = true) {
|
|
26655
|
-
console.log('calcola_filtro ', key, add_end);
|
|
26656
26632
|
let b_filter = false;
|
|
26657
26633
|
if (obj_filtro.type != null) {
|
|
26658
26634
|
if (obj_filtro.filter != null) {
|
|
@@ -26868,7 +26844,6 @@ class FHGridInternalComponent {
|
|
|
26868
26844
|
if (model != null)
|
|
26869
26845
|
num_all = model.length;
|
|
26870
26846
|
}
|
|
26871
|
-
console.log('KEY!!!! ', key);
|
|
26872
26847
|
if (key != 'pers_int') {
|
|
26873
26848
|
if (sq != '') {
|
|
26874
26849
|
if (obj_filtro.values.length != num_all) {
|
|
@@ -26901,7 +26876,6 @@ class FHGridInternalComponent {
|
|
|
26901
26876
|
}
|
|
26902
26877
|
else {
|
|
26903
26878
|
if (like_f != '') {
|
|
26904
|
-
console.log('like_f ', like_f);
|
|
26905
26879
|
b_filter = true;
|
|
26906
26880
|
if (add_end)
|
|
26907
26881
|
filter_v = filter_v + ' and ';
|
|
@@ -27231,7 +27205,6 @@ class FHGridInternalComponent {
|
|
|
27231
27205
|
this.gridApi.setGridOption('headerHeight', this.header_h);
|
|
27232
27206
|
this.gridOptions.suppressCopyRowsToClipboard = true;
|
|
27233
27207
|
this.gridOptions.sendToClipboard = (v) => {
|
|
27234
|
-
console.log('v ', v);
|
|
27235
27208
|
if (this.enable_copy) {
|
|
27236
27209
|
//this.gridApi.copySelectedRangeToClipboard();
|
|
27237
27210
|
this.clipboard.copy(v.data.split('\n')[0]);
|
|
@@ -27338,7 +27311,6 @@ class FHGridInternalComponent {
|
|
|
27338
27311
|
this.save_cfg();
|
|
27339
27312
|
}
|
|
27340
27313
|
fitSizeAll() {
|
|
27341
|
-
console.log("🚀 ~ FHGridInternalComponent ~ fitSizeAll ~ fitSizeAll:", this.gridApi);
|
|
27342
27314
|
if (this.gridApi)
|
|
27343
27315
|
this.gridApi.sizeColumnsToFit();
|
|
27344
27316
|
this.save_cfg();
|
|
@@ -28043,7 +28015,6 @@ class FHGridInternalComponent {
|
|
|
28043
28015
|
}
|
|
28044
28016
|
});
|
|
28045
28017
|
if (ss_r != '') {
|
|
28046
|
-
console.log('ADDO '), ss_r;
|
|
28047
28018
|
if (ss != '')
|
|
28048
28019
|
ss += ' and ';
|
|
28049
28020
|
ss += '(' + ss_r + ')';
|
|
@@ -35780,5 +35751,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
|
|
|
35780
35751
|
* Generated bundle index. Do not edit.
|
|
35781
35752
|
*/
|
|
35782
35753
|
|
|
35783
|
-
export { AppMakerService, AppService, ApprovaGridComponent, AuthHttpRequestInterceptor, AuthenticationService, CheckboxEditorComponent, ComboBoxEditor, CurrencyComponent, FHAutoCompleteComponent, FHCheckBoxComponent, FHColorPickerComponent, FHComboboxComponent, FHConfirmValues, FHCurrencyFormatterDirective, FHCurrencyPipe, FHDatePickerComponent, FHDateRangePickerComponent, FHFieldPickListComponent, FHFilterComboboxComponent, FHFormBuilderComponent, FHFormExecuterComponent, FHFormToolBarComponent, FHGridComponent, FHGridJSONComponent, FHGridToolBarComponent, FHGuard, FHHelpButtonComponent, FHImageViewerComponent, FHListComponent, FHLogPanelComponent, FHMultiComboboxComponent, FHNotesPanelComponent, FHNumericFieldComponent, FHPickFieldComponent, FHRichTextComponent, FHRoleManager, FHTableManager, FHTextAreaComponent, FHTextInputComponent, FHTimePickerComponent, FHUploadComponent, FHUploadPanelComponent, FHUploadPanelS3Component, FHUploadS3Component, FHUserFieldComponent, FHUsersPickerComponent, FSInput, FSResult, FileService, GridService, LocalDBService, NumericEditorComponent, OdbcService, OfficeAutomatorService, OfficeOperation, OfficeResult, QGParam, QGResult, QParam, QResult, QueryService, ReplaceLineBreaks, SafePipe, TextAreaEditor, UtilityService, WkfService, dati_aggiuntivi_v2, fh_win_app_logs,
|
|
35754
|
+
export { AppMakerService, AppService, ApprovaGridComponent, AuthHttpRequestInterceptor, AuthenticationService, CheckboxEditorComponent, ComboBoxEditor, CurrencyComponent, FHAutoCompleteComponent, FHCheckBoxComponent, FHColorPickerComponent, FHComboboxComponent, FHConfirmValues, FHCurrencyFormatterDirective, FHCurrencyPipe, FHDatePickerComponent, FHDateRangePickerComponent, FHFieldPickListComponent, FHFilterComboboxComponent, FHFormBuilderComponent, FHFormExecuterComponent, FHFormToolBarComponent, FHGridComponent, FHGridJSONComponent, FHGridToolBarComponent, FHGuard, FHHelpButtonComponent, FHImageViewerComponent, FHListComponent, FHLogPanelComponent, FHMultiComboboxComponent, FHNotesPanelComponent, FHNumericFieldComponent, FHPickFieldComponent, FHRichTextComponent, FHRoleManager, FHTableManager, FHTextAreaComponent, FHTextInputComponent, FHTimePickerComponent, FHUploadComponent, FHUploadPanelComponent, FHUploadPanelS3Component, FHUploadS3Component, FHUserFieldComponent, FHUsersPickerComponent, FHWinAskBigText, FSInput, FSResult, FileService, GridService, LocalDBService, NumericEditorComponent, OdbcService, OfficeAutomatorService, OfficeOperation, OfficeResult, QGParam, QGResult, QParam, QResult, QueryService, ReplaceLineBreaks, SafePipe, TextAreaEditor, UtilityService, WkfService, dati_aggiuntivi_v2, fh_win_app_logs, fh_win_ask_buttons, fh_win_ask_number, fh_win_ask_richtext, fh_win_ask_text, fh_win_auto_complete, fh_win_combo, fh_win_confirm, fh_win_error, fh_win_grid_selection, fh_win_list, fh_win_mappa, fh_win_output, fh_win_picklist, fh_win_select_by_grid, fh_win_show_email, fh_win_show_email_s3, fh_win_show_image, fh_win_show_log, fh_win_show_log_dett, fh_win_time_slider, fh_win_upload, fh_win_user_info, fh_win_user_picker, fh_win_wait, win_salva_annulla_v2, wkf_header_bar_v2, wkfapp_v2 };
|
|
35784
35755
|
//# sourceMappingURL=fluxhub-fluxhub-lib.mjs.map
|