@yuuvis/client-framework 2.6.3 → 2.8.0

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.
Files changed (45) hide show
  1. package/common/lib/components/busy-overlay/busy-overlay.component.d.ts +0 -1
  2. package/datepicker/lib/calendar/calendar.component.d.ts +1 -2
  3. package/datepicker/lib/date-input/date-input.component.d.ts +1 -1
  4. package/fesm2022/yuuvis-client-framework-common.mjs +1 -4
  5. package/fesm2022/yuuvis-client-framework-common.mjs.map +1 -1
  6. package/fesm2022/yuuvis-client-framework-datepicker.mjs +32 -29
  7. package/fesm2022/yuuvis-client-framework-datepicker.mjs.map +1 -1
  8. package/fesm2022/yuuvis-client-framework-forms.mjs +7 -4
  9. package/fesm2022/yuuvis-client-framework-forms.mjs.map +1 -1
  10. package/fesm2022/yuuvis-client-framework-list.mjs +96 -62
  11. package/fesm2022/yuuvis-client-framework-list.mjs.map +1 -1
  12. package/fesm2022/yuuvis-client-framework-object-flavor.mjs +2 -2
  13. package/fesm2022/yuuvis-client-framework-object-flavor.mjs.map +1 -1
  14. package/fesm2022/yuuvis-client-framework-object-versions.mjs +1 -1
  15. package/fesm2022/yuuvis-client-framework-object-versions.mjs.map +1 -1
  16. package/fesm2022/yuuvis-client-framework-query-list.mjs +284 -0
  17. package/fesm2022/yuuvis-client-framework-query-list.mjs.map +1 -0
  18. package/fesm2022/yuuvis-client-framework-tile-list.mjs +92 -203
  19. package/fesm2022/yuuvis-client-framework-tile-list.mjs.map +1 -1
  20. package/fesm2022/yuuvis-client-framework-tree.mjs +8 -5
  21. package/fesm2022/yuuvis-client-framework-tree.mjs.map +1 -1
  22. package/fesm2022/yuuvis-client-framework.mjs +716 -160
  23. package/fesm2022/yuuvis-client-framework.mjs.map +1 -1
  24. package/lib/config/halo-focus-defaults/halo-excluded-elements.const.d.ts +26 -0
  25. package/lib/config/halo-focus-defaults/halo-focus-navigation-keys.const.d.ts +25 -0
  26. package/lib/config/halo-focus-defaults/halo-focus-offset.const.d.ts +25 -0
  27. package/lib/config/halo-focus-defaults/halo-focus-styles.const.d.ts +26 -0
  28. package/lib/config/halo-focus-defaults/index.d.ts +4 -0
  29. package/lib/config/index.d.ts +1 -0
  30. package/lib/models/halo-focus-config/halo-focus-config.model.d.ts +48 -0
  31. package/lib/models/halo-focus-config/index.d.ts +1 -0
  32. package/lib/models/index.d.ts +1 -0
  33. package/lib/providers/halo-focus/index.d.ts +1 -0
  34. package/lib/providers/halo-focus/provide-halo-focus.d.ts +58 -6
  35. package/lib/providers/index.d.ts +1 -1
  36. package/lib/services/halo-focus/halo-focus.service.d.ts +80 -17
  37. package/lib/services/halo-utility/halo-utility.service.d.ts +230 -0
  38. package/lib/services/index.d.ts +1 -0
  39. package/list/lib/list.component.d.ts +35 -6
  40. package/package.json +19 -15
  41. package/query-list/README.md +3 -0
  42. package/query-list/index.d.ts +2 -0
  43. package/query-list/lib/query-list.component.d.ts +152 -0
  44. package/query-list/lib/query-list.module.d.ts +7 -0
  45. package/tile-list/lib/tile-list/tile-list.component.d.ts +60 -34
@@ -201,11 +201,14 @@ class DataGridComponent {
201
201
  let data = formElement ? formElement['value'] || [] : [];
202
202
  const columns = elements.map((e) => e.name);
203
203
  data = data.map((row) => {
204
- const obj = {};
205
- for (let i = 0; i < columns.length; i++) {
206
- obj[columns[i]] = row[i];
204
+ if (Array.isArray(row)) {
205
+ const obj = {};
206
+ for (let i = 0; i < columns.length; i++) {
207
+ obj[columns[i]] = row[i];
208
+ }
209
+ return obj;
207
210
  }
208
- return obj;
211
+ return row;
209
212
  });
210
213
  untracked(() => formElement && this.#updateTable(elements, data));
211
214
  });