@fluxhub/fluxhub-lib 9.0.73 → 9.0.75
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 +32 -10
- 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/auth_guard.js +6 -6
- package/esm2015/lib/controls/fhgrid.js +2 -3
- package/esm2015/lib/controls/win_list_pick.js +30 -7
- package/esm5/lib/auth_guard.js +6 -6
- package/esm5/lib/controls/fhgrid.js +2 -3
- package/esm5/lib/controls/win_list_pick.js +30 -7
- package/fesm2015/fluxhub-fluxhub-lib.js +32 -10
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +32 -10
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/win_list_pick.d.ts +2 -1
- package/package.json +1 -1
|
@@ -5861,8 +5861,7 @@ var FHGridComponent = /** @class */ (function () {
|
|
|
5861
5861
|
if (add_end)
|
|
5862
5862
|
filter_v = filter_v + ' and ';
|
|
5863
5863
|
filter_v = filter_v + ' (';
|
|
5864
|
-
if (obj_filtro.dateFrom != null && obj_filtro.dateTo != null &&
|
|
5865
|
-
filter_v = filter_v + key + ">=" + this.uti_s.sql_date_grid(this.uti_s.string2date(obj_filtro.dateFrom, 5));
|
|
5864
|
+
// if (obj_filtro.dateFrom != null && obj_filtro.dateTo != null && this.uti_s.sql_date_grid(this.uti_s.string2date(obj_filtro.dateFrom, 5))!='dbnull') filter_v = filter_v + key + ">=" + this.uti_s.sql_date_grid(this.uti_s.string2date(obj_filtro.dateFrom, 5));
|
|
5866
5865
|
if (obj_filtro.dateTo != null && this.uti_s.sql_date_grid(this.uti_s.string2date(obj_filtro.dateTo, 5)) != 'dbnull') {
|
|
5867
5866
|
if (obj_filtro.dateFrom != null)
|
|
5868
5867
|
filter_v = filter_v + ' and ';
|
|
@@ -8911,16 +8910,37 @@ var FHNumericFieldComponent = /** @class */ (function () {
|
|
|
8911
8910
|
}());
|
|
8912
8911
|
|
|
8913
8912
|
var FHListPick = /** @class */ (function () {
|
|
8914
|
-
function FHListPick(dialogRef, toastr, m_appService) {
|
|
8913
|
+
function FHListPick(dialogRef, toastr, m_appService, data) {
|
|
8915
8914
|
this.dialogRef = dialogRef;
|
|
8916
8915
|
this.toastr = toastr;
|
|
8917
8916
|
this.m_appService = m_appService;
|
|
8917
|
+
this.data = data;
|
|
8918
8918
|
this.label = "";
|
|
8919
8919
|
this.separator = ",";
|
|
8920
8920
|
this.title = "";
|
|
8921
8921
|
this.sql = "";
|
|
8922
8922
|
this.single_sel = false;
|
|
8923
8923
|
this.sel_values = "";
|
|
8924
|
+
if (data != null) {
|
|
8925
|
+
if (data.sql != null)
|
|
8926
|
+
this.sql = data.sql;
|
|
8927
|
+
if (data.types != null)
|
|
8928
|
+
this.types = data.types;
|
|
8929
|
+
if (data.values != null)
|
|
8930
|
+
this.values = data.values;
|
|
8931
|
+
if (data.single_sel != null)
|
|
8932
|
+
this.values = data.single_sel;
|
|
8933
|
+
if (data.sel_values != null)
|
|
8934
|
+
this.sel_values = data.sel_values;
|
|
8935
|
+
if (data.title != null)
|
|
8936
|
+
this.title = data.title;
|
|
8937
|
+
if (data.separator != null)
|
|
8938
|
+
this.separator = data.separator;
|
|
8939
|
+
if (data.label != null)
|
|
8940
|
+
this.label = data.label;
|
|
8941
|
+
if (data.sql != null)
|
|
8942
|
+
this.doFill();
|
|
8943
|
+
}
|
|
8924
8944
|
}
|
|
8925
8945
|
FHListPick.prototype.close = function () { this.dialogRef.close(null); };
|
|
8926
8946
|
FHListPick.prototype.doFill = function () {
|
|
@@ -8948,7 +8968,8 @@ var FHListPick = /** @class */ (function () {
|
|
|
8948
8968
|
FHListPick.ctorParameters = function () { return [
|
|
8949
8969
|
{ type: MatDialogRef },
|
|
8950
8970
|
{ type: ToastrService },
|
|
8951
|
-
{ type: AppService }
|
|
8971
|
+
{ type: AppService },
|
|
8972
|
+
{ type: undefined, decorators: [{ type: Inject, args: [MAT_DIALOG_DATA,] }] }
|
|
8952
8973
|
]; };
|
|
8953
8974
|
__decorate([
|
|
8954
8975
|
ViewChild('cmb_sel'),
|
|
@@ -8959,7 +8980,8 @@ var FHListPick = /** @class */ (function () {
|
|
|
8959
8980
|
selector: 'fhlistpick',
|
|
8960
8981
|
template: "\n <div style=\"width:100%\" fxLayout=\"row\" fxLayoutAlign=\"end start\"><img src=\"assets/icons/x.png\" style=\"cursor: pointer;\" (click)=\"close()\" /> </div>\n <hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\">\n\n <h2 mat-dialog-title>{{title}}</h2>\n <mat-dialog-content style=\"min-width:700px;min-height:500px;font-size: 12px\">\n <FHList #cmb_sel [label]=\"label\" [single_sel]=\"single_sel\" [separator]=\"separator\" style=\"width:100%;height:100%\" init_fill=\"false\" (selchange)=\"ok_single()\"></FHList>\n\n </mat-dialog-content>\n\n\n <mat-dialog-actions>\n<div fxLayout=\"row\" fxLayoutAlign=\"center center\" style=\"width: 100%\">\n\n <button mat-flat-button color=\"primary\" *ngIf=\"!single_sel\" (click)=\"ok()\">OK</button> \n <button mat-flat-button style=\"background-color: #F5F5F5\" (click)=\"dialogRef.close('')\">ANNULLA</button>\n</div>\n </mat-dialog-actions>\n "
|
|
8961
8982
|
}),
|
|
8962
|
-
|
|
8983
|
+
__param(3, Inject(MAT_DIALOG_DATA)),
|
|
8984
|
+
__metadata("design:paramtypes", [MatDialogRef, ToastrService, AppService, Object])
|
|
8963
8985
|
], FHListPick);
|
|
8964
8986
|
return FHListPick;
|
|
8965
8987
|
}());
|
|
@@ -14685,13 +14707,13 @@ var FHGuard = /** @class */ (function () {
|
|
|
14685
14707
|
});
|
|
14686
14708
|
}
|
|
14687
14709
|
else {
|
|
14688
|
-
console.log('this.app_s ',
|
|
14710
|
+
// console.log('this.app_s ',this.app_s);
|
|
14689
14711
|
var p_2 = new QParam();
|
|
14690
|
-
console.log('this.app_s.user_isadmin ',
|
|
14691
|
-
console.log('this.app_s.user_isadminsss ',
|
|
14712
|
+
// console.log('this.app_s.user_isadmin ',this.app_s.user_isadmin);
|
|
14713
|
+
// console.log('this.app_s.user_isadminsss ',this.app_s.user_isadmin+'');
|
|
14692
14714
|
if (_this.app_s.user_isadmin != null)
|
|
14693
14715
|
if (_this.app_s.user_isadmin + '' == '1') {
|
|
14694
|
-
console.log('resolve true');
|
|
14716
|
+
// console.log('resolve true');
|
|
14695
14717
|
resolve(true);
|
|
14696
14718
|
return;
|
|
14697
14719
|
}
|
|
@@ -14712,7 +14734,7 @@ var FHGuard = /** @class */ (function () {
|
|
|
14712
14734
|
}
|
|
14713
14735
|
}
|
|
14714
14736
|
}
|
|
14715
|
-
console.log(
|
|
14737
|
+
// console.log(this.arr_accessi,' ',this.routingDestination);
|
|
14716
14738
|
_this.toast.error("ACCESS DENIED [0X0005]");
|
|
14717
14739
|
resolve(false);
|
|
14718
14740
|
_this.slimLoadingBarService.complete();
|