@fluxhub/fluxhub-lib 10.0.45 → 10.0.46
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 +7 -2
- 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/fhautocomplete.js +3 -3
- package/esm2015/lib/controls/fhcombobox.js +3 -3
- package/esm2015/lib/services/utility.service.js +6 -1
- package/fesm2015/fluxhub-fluxhub-lib.js +9 -4
- 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/package.json +1 -1
|
@@ -1181,6 +1181,11 @@
|
|
|
1181
1181
|
this.left_pad(dt.getSeconds()));
|
|
1182
1182
|
return "Parametro SQL_SERVER_LANG non corretto";
|
|
1183
1183
|
};
|
|
1184
|
+
UtilityService.prototype.onlyDt = function (dt) {
|
|
1185
|
+
if (dt == null)
|
|
1186
|
+
return null;
|
|
1187
|
+
return new Date(dt.getFullYear(), dt.getMonth(), dt.getDate());
|
|
1188
|
+
};
|
|
1184
1189
|
UtilityService.prototype.descriMese = function (date) {
|
|
1185
1190
|
switch (date.getMonth()) {
|
|
1186
1191
|
case 0:
|
|
@@ -6877,7 +6882,7 @@
|
|
|
6877
6882
|
{ type: i0.Component, args: [{
|
|
6878
6883
|
selector: "FHComboBox",
|
|
6879
6884
|
providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$3],
|
|
6880
|
-
template: "\n <div style=\"min-height:45px\" *ngIf=\"enabled && !hidden && !is_loaded && myData?.length==0\"><mat-spinner diameter=\"25\" ></mat-spinner></div>\n <mat-form-field\n [hidden]=\"!enabled || hidden || (!is_loaded && myData?.length==0)\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ label }}</mat-label>\n <mat-select\n #cmb\n [(ngModel)]=\"selval\"\n (selectionChange)=\"sc()\"\n [required]=\"required\"\n [matTooltip]=\"tooltip\"\n >\n <mat-option value=\"-1\">{{ sel_label }}</mat-option>\n <mat-option value=\"{{ app.valore }}\" *ngFor=\"let app of myData\">{{\n app.descrizione_valore\n }}</mat-option>\n </mat-select>\n </mat-form-field>\n\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 #el1\n matInput\n [disabled]=\"true\"\n [(ngModel)]=\"dis_value\"\n [matTooltip]=\"tooltip\"\n />\n </mat-form-field>\n ",
|
|
6885
|
+
template: "\n <div style=\"min-height:45px\" *ngIf=\"enabled && !hidden && !is_loaded && myData?.length==0 && init_fill\"><mat-spinner diameter=\"25\" ></mat-spinner></div>\n <mat-form-field\n [hidden]=\"!enabled || hidden || (!is_loaded && myData?.length==0 && init_fill)\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ label }}</mat-label>\n <mat-select\n #cmb\n [(ngModel)]=\"selval\"\n (selectionChange)=\"sc()\"\n [required]=\"required\"\n [matTooltip]=\"tooltip\"\n >\n <mat-option value=\"-1\">{{ sel_label }}</mat-option>\n <mat-option value=\"{{ app.valore }}\" *ngFor=\"let app of myData\">{{\n app.descrizione_valore\n }}</mat-option>\n </mat-select>\n </mat-form-field>\n\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 #el1\n matInput\n [disabled]=\"true\"\n [(ngModel)]=\"dis_value\"\n [matTooltip]=\"tooltip\"\n />\n </mat-form-field>\n ",
|
|
6881
6886
|
styles: [""]
|
|
6882
6887
|
},] }
|
|
6883
6888
|
];
|
|
@@ -7245,7 +7250,7 @@
|
|
|
7245
7250
|
{ type: i0.Component, args: [{
|
|
7246
7251
|
selector: "FHAutoComplete",
|
|
7247
7252
|
providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$4],
|
|
7248
|
-
template: "\n <div style=\"min-height:45px\" *ngIf=\"enabled && !hidden && !is_loaded && myData?.length==0\"><mat-spinner diameter=\"25\" ></mat-spinner></div>\n <mat-form-field\n [hidden]=\"!enabled || hidden || (!is_loaded && myData?.length==0)\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ label }}</mat-label>\n <input\n matInput\n [disabled]=\"!enabled || hidden\"\n [matAutocomplete]=\"auto\"\n [required]=\"required\"\n (keyup)=\"onChange_up($event)\"\n [(ngModel)]=\"sItem\"\n (focus)=\"fi_search()\"\n (focusout)=\"fo_search($event)\"\n #searchp\n />\n </mat-form-field>\n <mat-autocomplete\n #auto=\"matAutocomplete\"\n (optionSelected)=\"selectedSearchItem($event)\"\n autoActiveFirstOption\n >\n <mat-option\n *ngFor=\"let objx of searchItemsFiltered\"\n [value]=\"objx.descrizione_valore\"\n >\n {{ objx.descrizione_valore }}\n </mat-option>\n </mat-autocomplete>\n\n <div class=\"ui negative message\" *ngIf=\"errorMsg != ''\">\n <i class=\"close icon\"></i>\n <div class=\"header\">\n {{ errorMsg }}\n </div>\n </div>\n <mat-form-field\n [hidden]=\"enabled || hidden\"\n\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ label }}</mat-label>\n <input type=\"text\" #el1 matInput [disabled]=\"true\" [required]=\"required\" [(ngModel)]=\"sItem\" />\n </mat-form-field>\n ",
|
|
7253
|
+
template: "\n <div style=\"min-height:45px\" *ngIf=\"enabled && !hidden && !is_loaded && myData?.length==0 && init_fill\"><mat-spinner diameter=\"25\" ></mat-spinner></div>\n <mat-form-field\n [hidden]=\"!enabled || hidden || (!is_loaded && myData?.length==0 && init_fill)\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ label }}</mat-label>\n <input\n matInput\n [disabled]=\"!enabled || hidden\"\n [matAutocomplete]=\"auto\"\n [required]=\"required\"\n (keyup)=\"onChange_up($event)\"\n [(ngModel)]=\"sItem\"\n (focus)=\"fi_search()\"\n (focusout)=\"fo_search($event)\"\n #searchp\n />\n </mat-form-field>\n <mat-autocomplete\n #auto=\"matAutocomplete\"\n (optionSelected)=\"selectedSearchItem($event)\"\n autoActiveFirstOption\n >\n <mat-option\n *ngFor=\"let objx of searchItemsFiltered\"\n [value]=\"objx.descrizione_valore\"\n >\n {{ objx.descrizione_valore }}\n </mat-option>\n </mat-autocomplete>\n\n <div class=\"ui negative message\" *ngIf=\"errorMsg != ''\">\n <i class=\"close icon\"></i>\n <div class=\"header\">\n {{ errorMsg }}\n </div>\n </div>\n <mat-form-field\n [hidden]=\"enabled || hidden\"\n\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ label }}</mat-label>\n <input type=\"text\" #el1 matInput [disabled]=\"true\" [required]=\"required\" [(ngModel)]=\"sItem\" />\n </mat-form-field>\n ",
|
|
7249
7254
|
styles: [""]
|
|
7250
7255
|
},] }
|
|
7251
7256
|
];
|