@wavemaker/app-ng-runtime 11.6.0-next.140456 → 11.6.0-next.140457

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 (70) hide show
  1. app-ng-runtime/build-task/bundles/index.umd.js +1 -1
  2. app-ng-runtime/build-task/esm2022/data/form/form-field/form-field.build.mjs +3 -3
  3. app-ng-runtime/build-task/fesm2022/index.mjs +1 -1
  4. app-ng-runtime/build-task/fesm2022/index.mjs.map +1 -1
  5. app-ng-runtime/components/chart/bundles/index.umd.js +1 -1
  6. app-ng-runtime/components/chart/esm2022/chart.utils.mjs +2 -2
  7. app-ng-runtime/components/chart/fesm2022/index.mjs +1 -1
  8. app-ng-runtime/components/chart/fesm2022/index.mjs.map +1 -1
  9. app-ng-runtime/components/data/form/bundles/index.umd.js +41 -24
  10. app-ng-runtime/components/data/form/esm2022/form-field/form-field.directive.mjs +31 -22
  11. app-ng-runtime/components/data/form/esm2022/form.component.mjs +22 -10
  12. app-ng-runtime/components/data/form/fesm2022/index.mjs +45 -24
  13. app-ng-runtime/components/data/form/fesm2022/index.mjs.map +1 -1
  14. app-ng-runtime/components/data/form/form-field/form-field.directive.d.ts +3 -1
  15. app-ng-runtime/components/data/form/form.component.d.ts +2 -2
  16. app-ng-runtime/components/data/table/bundles/index.umd.js +6 -2
  17. app-ng-runtime/components/data/table/esm2022/table.component.mjs +10 -7
  18. app-ng-runtime/components/data/table/fesm2022/index.mjs +6 -2
  19. app-ng-runtime/components/data/table/fesm2022/index.mjs.map +1 -1
  20. app-ng-runtime/components/data/table/table.component.d.ts +4 -4
  21. app-ng-runtime/components/input/calendar/bundles/index.umd.js +6 -0
  22. app-ng-runtime/components/input/calendar/calendar.component.d.ts +1 -1
  23. app-ng-runtime/components/input/calendar/esm2022/calendar.component.mjs +8 -2
  24. app-ng-runtime/components/input/calendar/fesm2022/index.mjs +6 -0
  25. app-ng-runtime/components/input/calendar/fesm2022/index.mjs.map +1 -1
  26. app-ng-runtime/components/input/default/bundles/index.umd.js +52 -30
  27. app-ng-runtime/components/input/default/caption-position.directive.d.ts +1 -1
  28. app-ng-runtime/components/input/default/esm2022/caption-position.directive.mjs +2 -2
  29. app-ng-runtime/components/input/default/esm2022/select/select.component.mjs +60 -37
  30. app-ng-runtime/components/input/default/fesm2022/index.mjs +53 -31
  31. app-ng-runtime/components/input/default/fesm2022/index.mjs.map +1 -1
  32. app-ng-runtime/components/input/default/select/select.component.d.ts +4 -1
  33. app-ng-runtime/components/input/epoch/base-date-time.component.d.ts +11 -11
  34. app-ng-runtime/components/input/epoch/bundles/index.umd.js +112 -87
  35. app-ng-runtime/components/input/epoch/esm2022/base-date-time.component.mjs +100 -78
  36. app-ng-runtime/components/input/epoch/esm2022/date/date.component.mjs +5 -5
  37. app-ng-runtime/components/input/epoch/esm2022/date-time/date-time.component.mjs +6 -5
  38. app-ng-runtime/components/input/epoch/esm2022/time/time.component.mjs +7 -5
  39. app-ng-runtime/components/input/epoch/fesm2022/index.mjs +112 -87
  40. app-ng-runtime/components/input/epoch/fesm2022/index.mjs.map +1 -1
  41. app-ng-runtime/components/navigation/menu/bundles/index.umd.js +15 -5
  42. app-ng-runtime/components/navigation/menu/esm2022/menu.component.mjs +14 -6
  43. app-ng-runtime/components/navigation/menu/esm2022/menu.props.mjs +2 -1
  44. app-ng-runtime/components/navigation/menu/esm2022/nav/nav.component.mjs +3 -3
  45. app-ng-runtime/components/navigation/menu/esm2022/nav/nav.props.mjs +2 -1
  46. app-ng-runtime/components/navigation/menu/fesm2022/index.mjs +15 -5
  47. app-ng-runtime/components/navigation/menu/fesm2022/index.mjs.map +1 -1
  48. app-ng-runtime/components/navigation/menu/menu.component.d.ts +3 -0
  49. app-ng-runtime/components/navigation/menu/nav/nav.component.d.ts +1 -0
  50. app-ng-runtime/components/navigation/popover/bundles/index.umd.js +8 -8
  51. app-ng-runtime/components/navigation/popover/esm2022/popover.component.mjs +11 -11
  52. app-ng-runtime/components/navigation/popover/fesm2022/index.mjs +8 -8
  53. app-ng-runtime/components/navigation/popover/fesm2022/index.mjs.map +1 -1
  54. app-ng-runtime/core/bundles/index.umd.js +2 -1
  55. app-ng-runtime/core/esm2022/utils/utils.mjs +4 -3
  56. app-ng-runtime/core/fesm2022/index.mjs +2 -1
  57. app-ng-runtime/core/fesm2022/index.mjs.map +1 -1
  58. app-ng-runtime/package.json +1 -1
  59. app-ng-runtime/runtime/base/bundles/index.umd.js +4 -0
  60. app-ng-runtime/runtime/base/components/base-page.component.d.ts +2 -3
  61. app-ng-runtime/runtime/base/esm2022/components/base-page.component.mjs +7 -4
  62. app-ng-runtime/runtime/base/fesm2022/index.mjs +5 -1
  63. app-ng-runtime/runtime/base/fesm2022/index.mjs.map +1 -1
  64. app-ng-runtime/scripts/@wavemaker/nvd3/build/nv.d3.min.js +1 -1
  65. app-ng-runtime/scripts/datatable/datatable.js +5 -2
  66. app-ng-runtime/variables/bundles/index.umd.js +13 -7
  67. app-ng-runtime/variables/esm2022/util/variable/variables.utils.mjs +15 -9
  68. app-ng-runtime/variables/fesm2022/index.mjs +13 -7
  69. app-ng-runtime/variables/fesm2022/index.mjs.map +1 -1
  70. app-ng-runtime/variables/util/variable/variables.utils.d.ts +1 -1
@@ -350,6 +350,7 @@ class TableComponent extends StylableComponent {
350
350
  this.items = [];
351
351
  this.rowActions = [];
352
352
  this.shownavigation = false;
353
+ this.showFirstRow = false;
353
354
  this.documentClickBind = noop;
354
355
  this.prevFilterExpression = [];
355
356
  this.fieldDefs = [];
@@ -516,7 +517,7 @@ class TableComponent extends StylableComponent {
516
517
  });
517
518
  },
518
519
  // assigns the items on capture phase of the click handler.
519
- assignSelectedItems: (row, e, isRowSelected) => {
520
+ assignSelectedItems: (row, e, rowInfo) => {
520
521
  this.ngZone.run(() => {
521
522
  /*
522
523
  * in case of single select, update the items with out changing the reference.
@@ -524,8 +525,11 @@ class TableComponent extends StylableComponent {
524
525
  */
525
526
  if (this.multiselect) {
526
527
  //Fix for [WMS-25110]: Add row to items list only if the row is selected
527
- if (_.findIndex(this.items, row) === -1 && (isRowSelected === undefined || isRowSelected == true)) {
528
+ if (_.findIndex(this.items, row) === -1 && (rowInfo?._selected === undefined || rowInfo?._selected == true || (this.gridfirstrowselect && rowInfo?.rowId == 0 && !this.showFirstRow))) {
528
529
  this.items.push(row);
530
+ if (rowInfo?.rowId == 0) {
531
+ this.showFirstRow = true;
532
+ }
529
533
  }
530
534
  }
531
535
  else {