@esfaenza/es-table 11.2.101 → 11.2.103
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/esfaenza-es-table.umd.js +11 -4
- package/bundles/esfaenza-es-table.umd.js.map +1 -1
- package/bundles/esfaenza-es-table.umd.min.js +1 -1
- package/bundles/esfaenza-es-table.umd.min.js.map +1 -1
- package/esm2015/lib/components/es-table/es_table.component.js +7 -3
- package/esm2015/lib/core/handlers/ExportHandler.js +5 -3
- package/fesm2015/esfaenza-es-table.js +10 -4
- package/fesm2015/esfaenza-es-table.js.map +1 -1
- package/lib/components/es-table/es_table.component.d.ts +2 -2
- package/package.json +1 -1
|
@@ -854,8 +854,10 @@
|
|
|
854
854
|
switch (h.type) {
|
|
855
855
|
case 'date':
|
|
856
856
|
date = this.dateExts.getDateConvertion(val);
|
|
857
|
-
|
|
858
|
-
|
|
857
|
+
if (date) {
|
|
858
|
+
correctedDate = dayjs(date).add(dayjs().utcOffset(), 'minute');
|
|
859
|
+
cell.value = correctedDate.toDate();
|
|
860
|
+
}
|
|
859
861
|
break;
|
|
860
862
|
case 'number':
|
|
861
863
|
cell.value = parseFloat(val.replace(',', '.'));
|
|
@@ -4234,7 +4236,12 @@
|
|
|
4234
4236
|
/** @ignore */
|
|
4235
4237
|
EsTableComponent.prototype.registerOnTouched = function (fn) { };
|
|
4236
4238
|
/** @ignore */
|
|
4237
|
-
EsTableComponent.prototype.changed = function () {
|
|
4239
|
+
EsTableComponent.prototype.changed = function (clearItems) {
|
|
4240
|
+
if (clearItems === void 0) { clearItems = false; }
|
|
4241
|
+
if (clearItems && this.viewMode)
|
|
4242
|
+
this.View.items = [];
|
|
4243
|
+
this.propagateChange(this.View);
|
|
4244
|
+
};
|
|
4238
4245
|
/** @ignore */
|
|
4239
4246
|
EsTableComponent.prototype.writeValue = function (obj) {
|
|
4240
4247
|
var _a;
|
|
@@ -4373,7 +4380,7 @@
|
|
|
4373
4380
|
this.postBoundSourceCalculation();
|
|
4374
4381
|
if (this.View && !this.View.selfsearch && this.EsTableHandledSearch) {
|
|
4375
4382
|
this.View.selfsearch = true;
|
|
4376
|
-
this.changed();
|
|
4383
|
+
this.changed(true);
|
|
4377
4384
|
this.onSearchRequest.emit(false);
|
|
4378
4385
|
}
|
|
4379
4386
|
else if (this.View && this.View.selfsearch && this.EsTableHandledSearch) {
|