@fluxhub/fluxhub-lib 9.0.12 → 9.0.13
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 +14 -18
- 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 +9 -3
- package/esm2015/lib/controls/fhgrid.js +7 -17
- package/esm5/lib/controls/fhcurrencyfield.js +9 -3
- package/esm5/lib/controls/fhgrid.js +7 -17
- package/fesm2015/fluxhub-fluxhub-lib.js +14 -18
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +14 -18
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -5956,22 +5956,12 @@
|
|
|
5956
5956
|
});
|
|
5957
5957
|
var cmds = [];
|
|
5958
5958
|
var str_fields = "";
|
|
5959
|
-
var p_col = this.gridOptions.columnApi.
|
|
5960
|
-
for (var
|
|
5961
|
-
if (
|
|
5962
|
-
|
|
5963
|
-
|
|
5964
|
-
|
|
5965
|
-
if (this.columnDefs[i].headerName != '')
|
|
5966
|
-
for (var j = 0; j < p_col.length; j++) {
|
|
5967
|
-
if (this.columnDefs[i].field == p_col[j].colId) {
|
|
5968
|
-
if (!p_col[j].hide) {
|
|
5969
|
-
if (str_fields != '')
|
|
5970
|
-
str_fields += ',';
|
|
5971
|
-
str_fields += '[' + this.columnDefs[i].field + '] [' + this.columnDefs[i].headerName + ']';
|
|
5972
|
-
}
|
|
5973
|
-
}
|
|
5974
|
-
}
|
|
5959
|
+
var p_col = this.gridOptions.columnApi.getAllDisplayedColumns();
|
|
5960
|
+
for (var j = 0; j < p_col.length; j++) {
|
|
5961
|
+
if (str_fields != '')
|
|
5962
|
+
str_fields += ',';
|
|
5963
|
+
str_fields += '[' + p_col[j].getColDef().field + '] [' + p_col[j].getColDef().headerName + ']';
|
|
5964
|
+
}
|
|
5975
5965
|
if (this.fields.indexOf('DISTINCT') != -1)
|
|
5976
5966
|
str_fields = 'DISTINCT ' + str_fields;
|
|
5977
5967
|
cmds.push(this.officeService.operation("GB_XLS_APRI", "tpl_report.xlsx", "" + this.uiid_stampa + ".xlsx", this.xxopx++));
|
|
@@ -8171,7 +8161,9 @@
|
|
|
8171
8161
|
FHCurrencyFieldComponent.prototype.chg = function () {
|
|
8172
8162
|
var _this = this;
|
|
8173
8163
|
setTimeout(function () {
|
|
8164
|
+
console.log(' chg() -> ', _this.formattedAmount);
|
|
8174
8165
|
_this.value = parseFloat(_this.formattedAmount.split('.').join('').split(',').join('.'));
|
|
8166
|
+
console.log('fine chg value -> ', _this.value);
|
|
8175
8167
|
_this.onChange(_this.value);
|
|
8176
8168
|
}, 50);
|
|
8177
8169
|
};
|
|
@@ -8181,8 +8173,9 @@
|
|
|
8181
8173
|
// if (value !== this.innerValue) {
|
|
8182
8174
|
this.innerValue = value;
|
|
8183
8175
|
this.value = value;
|
|
8176
|
+
console.log(' writeValue() -> ', this.value);
|
|
8184
8177
|
this.formattedAmount = this.transform(this.value, this.decimal);
|
|
8185
|
-
|
|
8178
|
+
console.log('fine writeValue -> ', this.formattedAmount);
|
|
8186
8179
|
this.onChange(this.value);
|
|
8187
8180
|
};
|
|
8188
8181
|
FHCurrencyFieldComponent.prototype.registerOnChange = function (fn) {
|
|
@@ -8218,7 +8211,10 @@
|
|
|
8218
8211
|
integer = integer.replace(/\B(?=(\d{3})+(?!\d))/g, '.');
|
|
8219
8212
|
if (integer == '')
|
|
8220
8213
|
integer = '0';
|
|
8221
|
-
|
|
8214
|
+
if (fractionSize > 0)
|
|
8215
|
+
return integer + fraction;
|
|
8216
|
+
else
|
|
8217
|
+
return integer;
|
|
8222
8218
|
};
|
|
8223
8219
|
FHCurrencyFieldComponent.prototype.removeCurrencyPipeFormat = function (element) {
|
|
8224
8220
|
try {
|