@fluxhub/fluxhub-lib 10.0.76 → 10.0.78
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 +23 -8
- 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/fhcurrencyfield.js +16 -4
- package/esm2015/lib/controls/fhgrid.js +7 -4
- package/esm2015/lib/controls/fhgrid_json.js +3 -3
- package/fesm2015/fluxhub-fluxhub-lib.js +23 -8
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhcurrencyfield.d.ts +2 -1
- package/package.json +1 -1
|
@@ -5240,8 +5240,8 @@
|
|
|
5240
5240
|
// for number filter
|
|
5241
5241
|
equals: "Uguale",
|
|
5242
5242
|
notEqual: "Diverso",
|
|
5243
|
-
lessThan: "Minore",
|
|
5244
|
-
greaterThan: "Maggiore",
|
|
5243
|
+
lessThan: "Minore o Uguale",
|
|
5244
|
+
greaterThan: "Maggiore o Uguale",
|
|
5245
5245
|
// for text filter
|
|
5246
5246
|
notContains: "Non Contiene",
|
|
5247
5247
|
contains: "Contiene",
|
|
@@ -5694,12 +5694,15 @@
|
|
|
5694
5694
|
" < " +
|
|
5695
5695
|
this.uti_s.sql_date_grid(this.uti_s.string2date(obj_filtro.dateFrom, 5)) +
|
|
5696
5696
|
"";
|
|
5697
|
+
var dtx = obj_filtro.dateFrom;
|
|
5698
|
+
dtx.setHours(23);
|
|
5699
|
+
dtx.setMinutes(59);
|
|
5697
5700
|
if (obj_filtro.type == "lessThanOrEqual")
|
|
5698
5701
|
q =
|
|
5699
5702
|
" " +
|
|
5700
5703
|
key +
|
|
5701
5704
|
" <= " +
|
|
5702
|
-
this.uti_s.sql_date_grid(
|
|
5705
|
+
this.uti_s.sql_date_grid(dtx) +
|
|
5703
5706
|
"";
|
|
5704
5707
|
if (obj_filtro.type == "greaterThanOrEqual")
|
|
5705
5708
|
q =
|
|
@@ -8743,9 +8746,11 @@
|
|
|
8743
8746
|
integer = "0";
|
|
8744
8747
|
return integer + fraction;
|
|
8745
8748
|
};
|
|
8746
|
-
FHCurrencyFieldComponent.prototype.focus_e = function () {
|
|
8749
|
+
FHCurrencyFieldComponent.prototype.focus_e = function ($event) {
|
|
8747
8750
|
try {
|
|
8748
|
-
// this.value=this.value.split('.').join('')
|
|
8751
|
+
// this.value=this.value.split('.').join('');+
|
|
8752
|
+
this.removeCurrencyPipeFormat($event);
|
|
8753
|
+
this.setFocus();
|
|
8749
8754
|
this.focus.emit(this.value);
|
|
8750
8755
|
}
|
|
8751
8756
|
catch (e) {
|
|
@@ -8766,13 +8771,23 @@
|
|
|
8766
8771
|
_this.formattedAmount = _this.transform(_this.value, _this.decimal);
|
|
8767
8772
|
});
|
|
8768
8773
|
};
|
|
8774
|
+
FHCurrencyFieldComponent.prototype.removeCurrencyPipeFormat = function (element) {
|
|
8775
|
+
//console.log('removeCurrencyPipeFormat '+this.value);
|
|
8776
|
+
try {
|
|
8777
|
+
// this.value=this.value.split('.').join('');
|
|
8778
|
+
this.formattedAmount = this.transform(this.value, this.decimal);
|
|
8779
|
+
}
|
|
8780
|
+
catch (e) {
|
|
8781
|
+
console.log(e);
|
|
8782
|
+
}
|
|
8783
|
+
};
|
|
8769
8784
|
return FHCurrencyFieldComponent;
|
|
8770
8785
|
}());
|
|
8771
8786
|
FHCurrencyFieldComponent.decorators = [
|
|
8772
8787
|
{ type: i0.Component, args: [{
|
|
8773
8788
|
selector: "FHCurrencyField",
|
|
8774
8789
|
providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$7],
|
|
8775
|
-
template: "\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 style=\"text-align:right\"\n #el\n matInput\n [disabled]=\"!enabled\"\n [(ngModel)]=\"formattedAmount\"\n (blur)=\"transformAmount($event); focus_out.emit(value)\"\n [style.color]=\"getStyle_color()\"\n (keydown)=\"kd($event)\"\n (focus)=\"focus_e()\"\n (keyup)=\"chg()\"\n />\n </mat-form-field>\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 style=\"text-align:right\"\n [style.color]=\"getStyle_color()\"\n #el1\n matInput\n [disabled]=\"true\"\n [(ngModel)]=\"formattedAmount\"\n />\n </mat-form-field>\n ",
|
|
8790
|
+
template: "\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 style=\"text-align:right\"\n #el\n matInput\n [disabled]=\"!enabled\"\n [(ngModel)]=\"formattedAmount\"\n (blur)=\"transformAmount($event); focus_out.emit(value)\"\n [style.color]=\"getStyle_color()\"\n (keydown)=\"kd($event)\"\n (focus)=\"focus_e($event)\"\n (keyup)=\"chg()\"\n />\n </mat-form-field>\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 style=\"text-align:right\"\n [style.color]=\"getStyle_color()\"\n #el1\n matInput\n [disabled]=\"true\"\n [(ngModel)]=\"formattedAmount\"\n />\n </mat-form-field>\n ",
|
|
8776
8791
|
styles: [""]
|
|
8777
8792
|
},] }
|
|
8778
8793
|
];
|
|
@@ -10975,8 +10990,8 @@
|
|
|
10975
10990
|
// for number filter
|
|
10976
10991
|
equals: "Uguale",
|
|
10977
10992
|
notEqual: "Diverso",
|
|
10978
|
-
lessThan: "Minore",
|
|
10979
|
-
greaterThan: "Maggiore",
|
|
10993
|
+
lessThan: "Minore o Uguale",
|
|
10994
|
+
greaterThan: "Maggiore o Uguale",
|
|
10980
10995
|
// for text filter
|
|
10981
10996
|
notContains: "Non Contiene",
|
|
10982
10997
|
contains: "Contiene",
|