@fluxhub/fluxhub-lib 10.0.44 → 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
|
@@ -707,6 +707,11 @@ class UtilityService {
|
|
|
707
707
|
this.left_pad(dt.getSeconds()));
|
|
708
708
|
return "Parametro SQL_SERVER_LANG non corretto";
|
|
709
709
|
}
|
|
710
|
+
onlyDt(dt) {
|
|
711
|
+
if (dt == null)
|
|
712
|
+
return null;
|
|
713
|
+
return new Date(dt.getFullYear(), dt.getMonth(), dt.getDate());
|
|
714
|
+
}
|
|
710
715
|
descriMese(date) {
|
|
711
716
|
switch (date.getMonth()) {
|
|
712
717
|
case 0:
|
|
@@ -1374,9 +1379,9 @@ FHComboboxComponent.decorators = [
|
|
|
1374
1379
|
selector: "FHComboBox",
|
|
1375
1380
|
providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR],
|
|
1376
1381
|
template: `
|
|
1377
|
-
<div style="min-height:45px" *ngIf="enabled && !hidden && !is_loaded"><mat-spinner diameter="25" ></mat-spinner></div>
|
|
1382
|
+
<div style="min-height:45px" *ngIf="enabled && !hidden && !is_loaded && myData?.length==0 && init_fill"><mat-spinner diameter="25" ></mat-spinner></div>
|
|
1378
1383
|
<mat-form-field
|
|
1379
|
-
[hidden]="!enabled || hidden || !is_loaded"
|
|
1384
|
+
[hidden]="!enabled || hidden || (!is_loaded && myData?.length==0 && init_fill)"
|
|
1380
1385
|
appearance="outline"
|
|
1381
1386
|
floatLabel="always"
|
|
1382
1387
|
><mat-label>{{ label }}</mat-label>
|
|
@@ -10636,9 +10641,9 @@ FHAutoCompleteComponent.decorators = [
|
|
|
10636
10641
|
selector: "FHAutoComplete",
|
|
10637
10642
|
providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$5],
|
|
10638
10643
|
template: `
|
|
10639
|
-
<div style="min-height:45px" *ngIf="enabled && !hidden && !is_loaded"><mat-spinner diameter="25" ></mat-spinner></div>
|
|
10644
|
+
<div style="min-height:45px" *ngIf="enabled && !hidden && !is_loaded && myData?.length==0 && init_fill"><mat-spinner diameter="25" ></mat-spinner></div>
|
|
10640
10645
|
<mat-form-field
|
|
10641
|
-
[hidden]="!enabled || hidden || !is_loaded"
|
|
10646
|
+
[hidden]="!enabled || hidden || (!is_loaded && myData?.length==0 && init_fill)"
|
|
10642
10647
|
appearance="outline"
|
|
10643
10648
|
floatLabel="always"
|
|
10644
10649
|
><mat-label>{{ label }}</mat-label>
|