@fluxhub/fluxhub-lib 9.0.118 → 9.0.120
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 +71 -38
- 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/fhcurrencyfield.js +75 -41
- package/esm2015/lib/controls/fhdatepicker.js +2 -2
- package/esm2015/lib/controls/fhgrid.js +7 -2
- package/esm2015/lib/controls/fhupload.js +4 -5
- package/esm2015/lib/services/localstorage.service.js +17 -5
- package/esm2015/lib/services/utility.service.js +5 -4
- package/esm2015/lib/wkf_engine/wkfdatiaggiuntivi.js +3 -3
- package/esm5/lib/controls/fhcurrencyfield.js +45 -30
- package/esm5/lib/controls/fhdatepicker.js +2 -2
- package/esm5/lib/controls/fhgrid.js +7 -2
- package/esm5/lib/controls/fhupload.js +2 -2
- package/esm5/lib/services/localstorage.service.js +17 -5
- package/esm5/lib/services/utility.service.js +5 -4
- package/esm5/lib/wkf_engine/wkfdatiaggiuntivi.js +3 -3
- package/fesm2015/fluxhub-fluxhub-lib.js +103 -52
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +71 -38
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhcurrencyfield.d.ts +5 -3
- package/lib/services/utility.service.d.ts +2 -3
- package/package.json +1 -1
|
@@ -200,7 +200,6 @@ var QParam = /** @class */ (function () {
|
|
|
200
200
|
var UtilityService = /** @class */ (function () {
|
|
201
201
|
function UtilityService(app_s) {
|
|
202
202
|
this.app_s = app_s;
|
|
203
|
-
this.simpleCrypt = new SimpleCrypt();
|
|
204
203
|
}
|
|
205
204
|
UtilityService_1 = UtilityService;
|
|
206
205
|
UtilityService.prototype.set_home_title = function (s) {
|
|
@@ -724,10 +723,12 @@ var UtilityService = /** @class */ (function () {
|
|
|
724
723
|
return enc;
|
|
725
724
|
};
|
|
726
725
|
UtilityService.prototype.encrypt_v2 = function (s) {
|
|
727
|
-
|
|
726
|
+
var simpleCrypt = new SimpleCrypt();
|
|
727
|
+
return simpleCrypt.encode("prologika_fluxhub_etjda", s);
|
|
728
728
|
};
|
|
729
729
|
UtilityService.prototype.decrypt_v2 = function (s) {
|
|
730
|
-
|
|
730
|
+
var simpleCrypt = new SimpleCrypt();
|
|
731
|
+
return simpleCrypt.decode("prologika_fluxhub_etjda", s);
|
|
731
732
|
};
|
|
732
733
|
UtilityService.prototype.string_sqlvalue = function (s) {
|
|
733
734
|
if (s == null)
|
|
@@ -2047,7 +2048,7 @@ var FHUploadComponent = /** @class */ (function () {
|
|
|
2047
2048
|
FHUploadComponent = __decorate([
|
|
2048
2049
|
Component({
|
|
2049
2050
|
selector: 'FHUpload',
|
|
2050
|
-
template: "\n\n <div *ngIf=\"loading\" fxLayout=\"row\">\n WAIT\n </div>\n <div [hidden]=\"!(enabled && !loading)\" fxLayout=\"row\" fxLayoutAlign=\"start center\">\n <div [hidden]=\"!multi_list\" style=\"width:380px\" fxLayoutAlign=\"start center\">\n <FHComboBox [sql]=\"tipo\" #cmb_tipo [init_fill]=\"false\" label=\"Tipologia\"></FHComboBox> \n </div>\n <mat-form-field [hidden]=\"!show_descri\" style=\"width: 100%\" appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}} {{fixed_label}}</mat-label>\n <input matInput type=\"text\" name=\"descrizione\" [(ngModel)]=\"descrizione\"\n >\n </mat-form-field>\n \n <div style=\"width:140px\" fxLayout=\"row\" fxLayoutAlign=\"start start\" (click)=\"call_up()\">\n <input type=\"file\" multiple ng2FileSelect [uploader]=\"uploader\" name=\"file-fh{{App}}\" id=\"file-fh{{App}}\" class=\"inputfile inputfile-fh\" />\n <label for=\"file-fh{{App}}\" style=\"width:210px\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"17\" viewBox=\"0 0 20 17\"><path d=\"M10 0l-5.2 4.9h3.3v5.1h3.8v-5.1h3.3l-5.2-4.9zm9.3 11.5l-3.2-2.1h-2l3.4 2.6h-3.5c-.1 0-.2.1-.2.1l-.8 2.3h-6l-.8-2.2c-.1-.1-.1-.2-.2-.2h-3.6l3.4-2.6h-2l-3.2 2.1c-.4.3-.7 1-.6 1.5l.6 3.1c.1.5.7.9 1.2.9h16.3c.6 0 1.1-.4 1.3-.9l.6-3.1c.1-.5-.2-1.2-.7-1.5z\"/></svg><span style=\"font-size: 12px\"> Upload</span></label>\n </div>\n <div fxLayout=\"row\" fxLayoutAlign=\"start start\">\n <button mat-flat-button *ngIf=\"b_edit_loaded\" (click)=\"download_all()\" style=\"font-size: 12px\">{{label_b}}</button> \n <button mat-flat-button *ngIf=\"id!=null && allow_delete\" (click)=\"del_doc()\" color=\"warn\">\n <mat-icon>delete</mat-icon>\n </button>\n </div>\n </div>\n <div *ngIf=\"!enabled\" fxLayout=\"row\">\n <label>{{label}}:</label>{{descrizione}}
|
|
2051
|
+
template: "\n\n <div *ngIf=\"loading\" fxLayout=\"row\">\n WAIT\n </div>\n <div [hidden]=\"!(enabled && !loading)\" fxLayout=\"row\" fxLayoutAlign=\"start center\">\n <div [hidden]=\"!multi_list\" style=\"width:380px\" fxLayoutAlign=\"start center\">\n <FHComboBox [sql]=\"tipo\" #cmb_tipo [init_fill]=\"false\" label=\"Tipologia\"></FHComboBox> \n </div>\n <mat-form-field [hidden]=\"!show_descri\" style=\"width: 100%\" appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}} {{fixed_label}}</mat-label>\n <input matInput type=\"text\" name=\"descrizione\" [(ngModel)]=\"descrizione\"\n >\n </mat-form-field>\n \n <div style=\"width:140px\" fxLayout=\"row\" fxLayoutAlign=\"start start\" (click)=\"call_up()\">\n <input type=\"file\" multiple ng2FileSelect [uploader]=\"uploader\" name=\"file-fh{{App}}\" id=\"file-fh{{App}}\" class=\"inputfile inputfile-fh\" />\n <label for=\"file-fh{{App}}\" style=\"width:210px\"><svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"17\" viewBox=\"0 0 20 17\"><path d=\"M10 0l-5.2 4.9h3.3v5.1h3.8v-5.1h3.3l-5.2-4.9zm9.3 11.5l-3.2-2.1h-2l3.4 2.6h-3.5c-.1 0-.2.1-.2.1l-.8 2.3h-6l-.8-2.2c-.1-.1-.1-.2-.2-.2h-3.6l3.4-2.6h-2l-3.2 2.1c-.4.3-.7 1-.6 1.5l.6 3.1c.1.5.7.9 1.2.9h16.3c.6 0 1.1-.4 1.3-.9l.6-3.1c.1-.5-.2-1.2-.7-1.5z\"/></svg><span style=\"font-size: 12px\"> Upload</span></label>\n </div>\n <div fxLayout=\"row\" fxLayoutAlign=\"start start\">\n <button mat-flat-button *ngIf=\"b_edit_loaded\" (click)=\"download_all()\" style=\"font-size: 12px\">{{label_b}}</button> \n <button mat-flat-button *ngIf=\"id!=null && allow_delete\" (click)=\"del_doc()\" color=\"warn\">\n <mat-icon>delete</mat-icon>\n </button>\n </div>\n </div>\n <div *ngIf=\"!enabled\" fxLayout=\"row\" fxLayoutGap=\"10px\">\n <label>{{label}}:</label><div *ngIf=\"label!=descrizione\">{{descrizione}}</div>\n <button mat-flat-button *ngIf=\"b_edit_loaded\" (click)=\"download_all()\" style=\"font-size: 12px;background-color: #F5F5F5\">{{label_b}}</button>\n </div>\n\n ",
|
|
2051
2052
|
styles: ["\n\n "]
|
|
2052
2053
|
}),
|
|
2053
2054
|
__metadata("design:paramtypes", [QueryService, ToastrService, MatDialog, AppService])
|
|
@@ -5487,7 +5488,12 @@ var FHGridComponent = /** @class */ (function () {
|
|
|
5487
5488
|
for (var j = 0; j < p_col.length; j++) {
|
|
5488
5489
|
if (str_fields != '')
|
|
5489
5490
|
str_fields += ',';
|
|
5490
|
-
|
|
5491
|
+
if (p_col[j].getColDef().headerName == null)
|
|
5492
|
+
str_fields += '[' + p_col[j].getColDef().field + ']';
|
|
5493
|
+
else if (p_col[j].getColDef().headerName == null)
|
|
5494
|
+
str_fields += '[' + p_col[j].getColDef().field + ']';
|
|
5495
|
+
else
|
|
5496
|
+
str_fields += '[' + p_col[j].getColDef().field + '] [' + p_col[j].getColDef().headerName + ']';
|
|
5491
5497
|
}
|
|
5492
5498
|
if (this.fields.indexOf('DISTINCT') != -1)
|
|
5493
5499
|
str_fields = 'DISTINCT ' + str_fields;
|
|
@@ -7841,7 +7847,7 @@ var FHDatePickerComponent = /** @class */ (function () {
|
|
|
7841
7847
|
{ provide: DateAdapter, useClass: MomentDateAdapter },
|
|
7842
7848
|
{ provide: MAT_DATE_LOCALE, useValue: 'it-IT' },
|
|
7843
7849
|
],
|
|
7844
|
-
template: "\n <div [hidden]=\"!show_buttons||!enabled\">\n <button mat-flat-button style=\"background-color: #F5F5F5\" (click)=\"add_year()\">+1 Anno</button>\n <button mat-flat-button style=\"background-color: #F5F5F5\" (click)=\"ini_year()\">Inizio Anno</button>\n <button mat-flat-button style=\"background-color: #F5F5F5\" (click)=\"fin_year()\">Fine Anno</button>\n </div>\n\n <mat-form-field (click)=\"chxx($event)\" appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}}</mat-label>\n <input [disabled]=\"!enabled\" #pickerId (dateChange)=\"ch($event)\" (focusout)=\"dt_chg($event)\" (keyup)=\"checkInput($event)\"\n
|
|
7850
|
+
template: "\n <div [hidden]=\"!show_buttons||!enabled\">\n <button mat-flat-button style=\"background-color: #F5F5F5\" (click)=\"add_year()\">+1 Anno</button>\n <button mat-flat-button style=\"background-color: #F5F5F5\" (click)=\"ini_year()\">Inizio Anno</button>\n <button mat-flat-button style=\"background-color: #F5F5F5\" (click)=\"fin_year()\">Fine Anno</button>\n </div>\n\n <mat-form-field (click)=\"chxx($event)\" appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}}</mat-label>\n <input [disabled]=\"!enabled\" #pickerId (dateChange)=\"ch($event)\" (focusout)=\"dt_chg($event)\" (keyup)=\"checkInput($event)\"\n [min]=\"min_date\" [max]=\"max_date\" (click)=\"chxx($event)\" [(ngModel)]=\"date_sel\" matInput [matDatepicker]=\"picker\" >\n <mat-datepicker-toggle matSuffix [for]=\"picker\" (click)=\"chxx($event)\"></mat-datepicker-toggle>\n <mat-datepicker (click)=\"chxx($event)\" #picker></mat-datepicker>\n </mat-form-field>\n\n ",
|
|
7845
7851
|
styles: ["\n .lb_small_grigia {\n font-size: 15px;\n color: #B8B8B8;\n }\n\n .label_dis {\n font-size: 14px;\n font-weight: bold;\n }\n\n :host.ng-invalid > .ng-touched ::ng-deep .mat-input-element,\n :host.ng-invalid > .ng-touched ::ng-deep .mat-form-field-label {\n color: #f44336;\n }\n\n :host.ng-invalid > .ng-touched ::ng-deep .mat-form-field-underline,\n :host.ng-invalid > .ng-touched ::ng-deep .mat-form-field-ripple {\n background-color: #f44336;\n }\n "]
|
|
7846
7852
|
}),
|
|
7847
7853
|
__metadata("design:paramtypes", [DateAdapter, UtilityService])
|
|
@@ -8692,32 +8698,28 @@ var FHLogPanelComponent = /** @class */ (function () {
|
|
|
8692
8698
|
return FHLogPanelComponent;
|
|
8693
8699
|
}());
|
|
8694
8700
|
|
|
8695
|
-
var noop$6 = function () {
|
|
8696
|
-
};
|
|
8701
|
+
var noop$6 = function () { };
|
|
8697
8702
|
var ɵ0$6 = noop$6;
|
|
8698
8703
|
var CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$7 = {
|
|
8699
8704
|
provide: NG_VALUE_ACCESSOR,
|
|
8700
8705
|
useExisting: forwardRef(function () { return FHCurrencyFieldComponent; }),
|
|
8701
|
-
multi: true
|
|
8706
|
+
multi: true,
|
|
8702
8707
|
};
|
|
8703
8708
|
var FHCurrencyFieldComponent = /** @class */ (function () {
|
|
8704
8709
|
function FHCurrencyFieldComponent() {
|
|
8705
8710
|
this.decimal = 2;
|
|
8706
|
-
this.label =
|
|
8711
|
+
this.label = "";
|
|
8707
8712
|
this.required = false;
|
|
8708
8713
|
this.enabled = true;
|
|
8709
8714
|
this.hidden = false;
|
|
8710
|
-
this.color =
|
|
8711
|
-
this.m_color =
|
|
8715
|
+
this.color = "";
|
|
8716
|
+
this.m_color = "";
|
|
8712
8717
|
this.label_width = "";
|
|
8713
8718
|
this.change = new EventEmitter();
|
|
8714
8719
|
this.enter_pressed = new EventEmitter();
|
|
8715
|
-
this.
|
|
8716
|
-
this.
|
|
8717
|
-
|
|
8718
|
-
this.onTouched = function () {
|
|
8719
|
-
};
|
|
8720
|
-
this.formattedAmount = '0,00';
|
|
8720
|
+
this.onChange = function (_) { };
|
|
8721
|
+
this.onTouched = function () { };
|
|
8722
|
+
this.formattedAmount = "0,00";
|
|
8721
8723
|
this.value = 0;
|
|
8722
8724
|
}
|
|
8723
8725
|
FHCurrencyFieldComponent.prototype.kd = function (event) {
|
|
@@ -8725,6 +8727,15 @@ var FHCurrencyFieldComponent = /** @class */ (function () {
|
|
|
8725
8727
|
this.enter_pressed.emit();
|
|
8726
8728
|
}
|
|
8727
8729
|
};
|
|
8730
|
+
FHCurrencyFieldComponent.prototype.click_select_allf = function (element) {
|
|
8731
|
+
var _this = this;
|
|
8732
|
+
setTimeout(function () {
|
|
8733
|
+
_this.el.nativeElement.select();
|
|
8734
|
+
}, 200);
|
|
8735
|
+
};
|
|
8736
|
+
FHCurrencyFieldComponent.prototype.select_allf = function (element) {
|
|
8737
|
+
this.el.nativeElement.select();
|
|
8738
|
+
};
|
|
8728
8739
|
FHCurrencyFieldComponent.prototype.getStyle_color = function () {
|
|
8729
8740
|
return this.m_color;
|
|
8730
8741
|
};
|
|
@@ -8737,15 +8748,21 @@ var FHCurrencyFieldComponent = /** @class */ (function () {
|
|
|
8737
8748
|
FHCurrencyFieldComponent.prototype.chg = function () {
|
|
8738
8749
|
var _this = this;
|
|
8739
8750
|
setTimeout(function () {
|
|
8740
|
-
_this.value = parseFloat(_this.formattedAmount.split(
|
|
8751
|
+
_this.value = parseFloat(_this.formattedAmount.split(".").join("").split(",").join("."));
|
|
8741
8752
|
_this.onChange(_this.value);
|
|
8742
8753
|
}, 50);
|
|
8743
8754
|
};
|
|
8744
8755
|
FHCurrencyFieldComponent.prototype.writeValue = function (value) {
|
|
8756
|
+
if (this.value == parseFloat(this.formattedAmount.split(".").join("").split(",").join("."))) {
|
|
8757
|
+
this.formattedAmount = this.transform(this.value, this.decimal);
|
|
8758
|
+
return;
|
|
8759
|
+
}
|
|
8745
8760
|
if (value == null)
|
|
8746
8761
|
value = 0;
|
|
8747
8762
|
// if (value !== this.innerValue) {
|
|
8748
|
-
|
|
8763
|
+
if (typeof (value) == 'string') {
|
|
8764
|
+
value = parseFloat(value.split(".").join("").split(",").join("."));
|
|
8765
|
+
}
|
|
8749
8766
|
this.value = value;
|
|
8750
8767
|
this.formattedAmount = this.transform(this.value, this.decimal);
|
|
8751
8768
|
//}
|
|
@@ -8763,7 +8780,7 @@ var FHCurrencyFieldComponent = /** @class */ (function () {
|
|
|
8763
8780
|
// if (typeof (element.target.value) !== 'number')
|
|
8764
8781
|
// this.formattedAmount = this.currencyPipe.transform(this.value);
|
|
8765
8782
|
setTimeout(function () {
|
|
8766
|
-
_this.value = parseFloat(_this.formattedAmount.split(
|
|
8783
|
+
_this.value = parseFloat(_this.formattedAmount.split(".").join("").split(",").join("."));
|
|
8767
8784
|
// this.writeValue(this.value);
|
|
8768
8785
|
_this.formattedAmount = _this.transform(_this.value, _this.decimal);
|
|
8769
8786
|
}, 50);
|
|
@@ -8777,13 +8794,17 @@ var FHCurrencyFieldComponent = /** @class */ (function () {
|
|
|
8777
8794
|
};
|
|
8778
8795
|
FHCurrencyFieldComponent.prototype.transform = function (value, fractionSize) {
|
|
8779
8796
|
if (fractionSize === void 0) { fractionSize = 2; }
|
|
8780
|
-
|
|
8781
|
-
|
|
8782
|
-
|
|
8783
|
-
|
|
8784
|
-
|
|
8785
|
-
|
|
8786
|
-
|
|
8797
|
+
if (typeof (value) == 'string') {
|
|
8798
|
+
value = parseFloat(value.split(".").join("").split(",").join("."));
|
|
8799
|
+
}
|
|
8800
|
+
var _a = __read((value || "").toString().split("."), 2), integer = _a[0], _b = _a[1], fraction = _b === void 0 ? "" : _b;
|
|
8801
|
+
fraction =
|
|
8802
|
+
fractionSize > 0
|
|
8803
|
+
? "," + (fraction + "000000").substring(0, fractionSize)
|
|
8804
|
+
: "";
|
|
8805
|
+
integer = integer.replace(/\B(?=(\d{3})+(?!\d))/g, ".");
|
|
8806
|
+
if (integer == "")
|
|
8807
|
+
integer = "0";
|
|
8787
8808
|
return integer + fraction;
|
|
8788
8809
|
};
|
|
8789
8810
|
FHCurrencyFieldComponent.prototype.removeCurrencyPipeFormat = function (element) {
|
|
@@ -8810,7 +8831,7 @@ var FHCurrencyFieldComponent = /** @class */ (function () {
|
|
|
8810
8831
|
});
|
|
8811
8832
|
};
|
|
8812
8833
|
__decorate([
|
|
8813
|
-
ViewChild(
|
|
8834
|
+
ViewChild("el"),
|
|
8814
8835
|
__metadata("design:type", ElementRef)
|
|
8815
8836
|
], FHCurrencyFieldComponent.prototype, "el", void 0);
|
|
8816
8837
|
__decorate([
|
|
@@ -8855,10 +8876,10 @@ var FHCurrencyFieldComponent = /** @class */ (function () {
|
|
|
8855
8876
|
], FHCurrencyFieldComponent.prototype, "value", void 0);
|
|
8856
8877
|
FHCurrencyFieldComponent = __decorate([
|
|
8857
8878
|
Component({
|
|
8858
|
-
selector:
|
|
8879
|
+
selector: "FHCurrencyField",
|
|
8859
8880
|
providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$7],
|
|
8860
|
-
template: "\n <mat-form-field
|
|
8861
|
-
styles: ["
|
|
8881
|
+
template: "\n <mat-form-field\n [hidden]=\"!enabled || hidden\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ label }}</mat-label>\n <input\n type=\"text\"\n style=\"text-align:right\"\n #el\n matInput\n [disabled]=\"!enabled\"\n [(ngModel)]=\"formattedAmount\"\n (focusout)=\"chg()\"\n [style.color]=\"getStyle_color()\"\n (keydown)=\"kd($event)\"\n (click)=\"click_select_allf($event)\"\n (focus)=\"removeCurrencyPipeFormat($event); select_allf($event)\"\n />\n </mat-form-field>\n <mat-form-field\n [hidden]=\"enabled || hidden\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ label }}</mat-label>\n <input\n type=\"text\"\n style=\"text-align:right\"\n [style.color]=\"getStyle_color()\"\n #el1\n matInput\n [disabled]=\"true\"\n [(ngModel)]=\"formattedAmount\"\n />\n </mat-form-field>\n ",
|
|
8882
|
+
styles: [""]
|
|
8862
8883
|
}),
|
|
8863
8884
|
__metadata("design:paramtypes", [])
|
|
8864
8885
|
], FHCurrencyFieldComponent);
|
|
@@ -10343,7 +10364,14 @@ var LocalDBService = /** @class */ (function () {
|
|
|
10343
10364
|
}
|
|
10344
10365
|
if (crypt) {
|
|
10345
10366
|
if (json_format) {
|
|
10346
|
-
|
|
10367
|
+
try {
|
|
10368
|
+
resolve(JSON.parse(_this.uti.decrypt_v2(localStorage.getItem(key))));
|
|
10369
|
+
}
|
|
10370
|
+
catch (e) {
|
|
10371
|
+
console.log(e, 'Errore JSON ' + ' ' + _this.uti.decrypt_v2(localStorage.getItem(key)));
|
|
10372
|
+
resolve({});
|
|
10373
|
+
return;
|
|
10374
|
+
}
|
|
10347
10375
|
return;
|
|
10348
10376
|
}
|
|
10349
10377
|
else {
|
|
@@ -10353,7 +10381,14 @@ var LocalDBService = /** @class */ (function () {
|
|
|
10353
10381
|
}
|
|
10354
10382
|
else {
|
|
10355
10383
|
if (json_format) {
|
|
10356
|
-
|
|
10384
|
+
try {
|
|
10385
|
+
resolve(JSON.parse('' + localStorage.getItem(key)));
|
|
10386
|
+
}
|
|
10387
|
+
catch (e) {
|
|
10388
|
+
console.log(e, 'Errore JSON ' + localStorage.getItem(key));
|
|
10389
|
+
resolve({});
|
|
10390
|
+
return;
|
|
10391
|
+
}
|
|
10357
10392
|
return;
|
|
10358
10393
|
}
|
|
10359
10394
|
else {
|
|
@@ -10361,8 +10396,6 @@ var LocalDBService = /** @class */ (function () {
|
|
|
10361
10396
|
return;
|
|
10362
10397
|
}
|
|
10363
10398
|
}
|
|
10364
|
-
resolve(null);
|
|
10365
|
-
return;
|
|
10366
10399
|
});
|
|
10367
10400
|
};
|
|
10368
10401
|
LocalDBService.prototype.write = function (k, obj, crypt, json_format) {
|
|
@@ -12709,8 +12742,8 @@ var dati_aggiuntivi = /** @class */ (function () {
|
|
|
12709
12742
|
console.log('min_liv ', min_liv);
|
|
12710
12743
|
for (var i = 0; i < this.livs.length; i++)
|
|
12711
12744
|
if (min_liv == this.livs[i].livello) {
|
|
12712
|
-
console.log('this.user_idp.toUpperCase() ',
|
|
12713
|
-
console.log('this.livs[i].idp.toUpperCase() ',
|
|
12745
|
+
//console.log('this.user_idp.toUpperCase() ',this.user_idp.toUpperCase());
|
|
12746
|
+
//console.log('this.livs[i].idp.toUpperCase() ',this.livs[i].idp.toUpperCase() );
|
|
12714
12747
|
if (this.user_idp.toUpperCase() == this.livs[i].idp.toUpperCase() || this.livs[i].gruppo_parallelo == '*ALLUSERS') {
|
|
12715
12748
|
if (this.livs[i].abilita_indietro == 1)
|
|
12716
12749
|
this.respingi_enabled = true;
|