@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
|
@@ -738,18 +738,15 @@ var UtilityService = /** @class */ (function () {
|
|
|
738
738
|
//console.log(dt);/
|
|
739
739
|
//console.log(dt.length);
|
|
740
740
|
if (f == 2) {
|
|
741
|
-
if (dt.length >= 19) {
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
// console.log(new Date(parseInt(a[0]),parseInt(a[1])-1,parseInt(a[2]),parseInt(b[0]),parseInt(b[1]),parseInt(b[2])));
|
|
751
|
-
// return new Date(parseInt(a[0]), parseInt(a[1]) - 1, parseInt(a[2]), parseInt(b[0]), parseInt(b[1]), parseInt(b[2]));
|
|
752
|
-
}
|
|
741
|
+
// if (dt.length >= 19) {
|
|
742
|
+
// dt = dt.substring(0, 19);
|
|
743
|
+
// var ab: Array<string> = dt.split('T');
|
|
744
|
+
// var a: Array<string> = ab[0].split('-');
|
|
745
|
+
///var b: Array<string> = ab[1].split(':');
|
|
746
|
+
return new Date(dt);
|
|
747
|
+
// console.log(new Date(parseInt(a[0]),parseInt(a[1])-1,parseInt(a[2]),parseInt(b[0]),parseInt(b[1]),parseInt(b[2])));
|
|
748
|
+
// return new Date(parseInt(a[0]), parseInt(a[1]) - 1, parseInt(a[2]), parseInt(b[0]), parseInt(b[1]), parseInt(b[2]));
|
|
749
|
+
// }
|
|
753
750
|
}
|
|
754
751
|
if (f == 3) {
|
|
755
752
|
if (dt.length >= 16) {
|
|
@@ -8909,7 +8906,7 @@ var FHAutoCompleteComponent = /** @class */ (function (_super) {
|
|
|
8909
8906
|
FHAutoCompleteComponent.decorators = [
|
|
8910
8907
|
{ type: Component, args: [{
|
|
8911
8908
|
selector: 'FHAutoComplete',
|
|
8912
|
-
template: "\n <mat-form-field
|
|
8909
|
+
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 ",
|
|
8913
8910
|
providers: [
|
|
8914
8911
|
{ provide: NG_VALUE_ACCESSOR, useExisting: FHAutoCompleteComponent, multi: true },
|
|
8915
8912
|
],
|