@yuuvis/client-framework 2.1.5 → 2.1.6
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/fesm2022/yuuvis-client-framework-forms.mjs +1 -4
- package/fesm2022/yuuvis-client-framework-forms.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-object-details.mjs +17 -2
- package/fesm2022/yuuvis-client-framework-object-details.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-tile-list.mjs +9 -1
- package/fesm2022/yuuvis-client-framework-tile-list.mjs.map +1 -1
- package/fesm2022/yuuvis-client-framework-widget-grid.mjs +6 -4
- package/fesm2022/yuuvis-client-framework-widget-grid.mjs.map +1 -1
- package/object-details/lib/object-details.component.d.ts +8 -2
- package/package.json +4 -4
- package/tile-list/lib/tile-list/tile-list.component.d.ts +2 -1
|
@@ -246,13 +246,10 @@ class DataGridComponent {
|
|
|
246
246
|
switch (element.type) {
|
|
247
247
|
case 'string':
|
|
248
248
|
return value;
|
|
249
|
-
break;
|
|
250
249
|
case 'decimal':
|
|
251
250
|
return this.#decimalPipe.transform(value, '1.2-4', this.translate.currentLang);
|
|
252
|
-
break;
|
|
253
251
|
default:
|
|
254
252
|
return value;
|
|
255
|
-
break;
|
|
256
253
|
}
|
|
257
254
|
}
|
|
258
255
|
#updateTable(elements, data = []) {
|
|
@@ -261,7 +258,7 @@ class DataGridComponent {
|
|
|
261
258
|
acc.push({
|
|
262
259
|
columnDef: el.label,
|
|
263
260
|
header: el.label,
|
|
264
|
-
cell: (element) => (element.isAddRow ? '' : this.#cellValue(el, element[el.
|
|
261
|
+
cell: (element) => (element.isAddRow ? '' : this.#cellValue(el, element[el.name]))
|
|
265
262
|
});
|
|
266
263
|
return acc;
|
|
267
264
|
}, []));
|