@fluxhub/fluxhub-lib 1.0.388 → 1.0.390
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 +10 -13
- 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 +4 -4
- package/esm2015/lib/services/utility.service.js +10 -13
- package/esm5/lib/controls/fhautocomplete.js +2 -2
- package/esm5/lib/services/utility.service.js +10 -13
- package/fesm2015/fluxhub-fluxhub-lib.js +12 -15
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +10 -13
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -760,18 +760,15 @@
|
|
|
760
760
|
//console.log(dt);/
|
|
761
761
|
//console.log(dt.length);
|
|
762
762
|
if (f == 2) {
|
|
763
|
-
if (dt.length >= 19) {
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
// console.log(new Date(parseInt(a[0]),parseInt(a[1])-1,parseInt(a[2]),parseInt(b[0]),parseInt(b[1]),parseInt(b[2])));
|
|
773
|
-
// return new Date(parseInt(a[0]), parseInt(a[1]) - 1, parseInt(a[2]), parseInt(b[0]), parseInt(b[1]), parseInt(b[2]));
|
|
774
|
-
}
|
|
763
|
+
// if (dt.length >= 19) {
|
|
764
|
+
// dt = dt.substring(0, 19);
|
|
765
|
+
// var ab: Array<string> = dt.split('T');
|
|
766
|
+
// var a: Array<string> = ab[0].split('-');
|
|
767
|
+
///var b: Array<string> = ab[1].split(':');
|
|
768
|
+
return new Date(dt);
|
|
769
|
+
// console.log(new Date(parseInt(a[0]),parseInt(a[1])-1,parseInt(a[2]),parseInt(b[0]),parseInt(b[1]),parseInt(b[2])));
|
|
770
|
+
// return new Date(parseInt(a[0]), parseInt(a[1]) - 1, parseInt(a[2]), parseInt(b[0]), parseInt(b[1]), parseInt(b[2]));
|
|
771
|
+
// }
|
|
775
772
|
}
|
|
776
773
|
if (f == 3) {
|
|
777
774
|
if (dt.length >= 16) {
|
|
@@ -8931,7 +8928,7 @@
|
|
|
8931
8928
|
FHAutoCompleteComponent.decorators = [
|
|
8932
8929
|
{ type: core.Component, args: [{
|
|
8933
8930
|
selector: 'FHAutoComplete',
|
|
8934
|
-
template: "\n <mat-form-field
|
|
8931
|
+
template: "\n <mat-form-field [hidden]=\"!enabled || hidden\" appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}}</mat-label>\n <input matInput\n [disabled]=\"!enabled || hidden\" [matAutocomplete]=\"auto\" [required]=\"required\"\n (keyup)=\"onChange($event)\" [(ngModel)]=\"sItem\" (focus)=\"fi_search()\" (focusout)=\"fo_search($event)\"\n #searchp>\n </mat-form-field>\n <mat-autocomplete #auto=\"matAutocomplete\" (optionSelected)=\"selectedSearchItem($event)\" autoActiveFirstOption >\n <mat-option *ngFor=\"let objx of searchItemsFiltered\" [value]=\"objx.descrizione_valore\">\n {{ objx.descrizione_valore }}\n </mat-option>\n </mat-autocomplete>\n\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 [hidden]=\"enabled || hidden\" appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}}</mat-label>\n <input type=\"text\" #el1 matInput [disabled]=\"true\" [(ngModel)]=\"sItem\"\n >\n </mat-form-field>\n ",
|
|
8935
8932
|
providers: [
|
|
8936
8933
|
{ provide: forms.NG_VALUE_ACCESSOR, useExisting: FHAutoCompleteComponent, multi: true },
|
|
8937
8934
|
],
|