@wavemaker/app-ng-runtime 11.6.0-next.24749 → 11.6.0-next.52052

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 (39) hide show
  1. app-ng-runtime/components/base/bundles/index.umd.js +1 -0
  2. app-ng-runtime/components/base/esm2020/widgets/common/partial/partial.directive.mjs +2 -1
  3. app-ng-runtime/components/base/fesm2015/index.mjs +1 -0
  4. app-ng-runtime/components/base/fesm2015/index.mjs.map +1 -1
  5. app-ng-runtime/components/base/fesm2020/index.mjs +1 -0
  6. app-ng-runtime/components/base/fesm2020/index.mjs.map +1 -1
  7. app-ng-runtime/components/chart/bundles/index.umd.js +3 -1
  8. app-ng-runtime/components/chart/esm2020/chart.component.mjs +4 -2
  9. app-ng-runtime/components/chart/fesm2015/index.mjs +3 -1
  10. app-ng-runtime/components/chart/fesm2015/index.mjs.map +1 -1
  11. app-ng-runtime/components/chart/fesm2020/index.mjs +3 -1
  12. app-ng-runtime/components/chart/fesm2020/index.mjs.map +1 -1
  13. app-ng-runtime/components/data/table/bundles/index.umd.js +3 -2
  14. app-ng-runtime/components/data/table/esm2020/table.component.mjs +4 -3
  15. app-ng-runtime/components/data/table/fesm2015/index.mjs +3 -2
  16. app-ng-runtime/components/data/table/fesm2015/index.mjs.map +1 -1
  17. app-ng-runtime/components/data/table/fesm2020/index.mjs +3 -2
  18. app-ng-runtime/components/data/table/fesm2020/index.mjs.map +1 -1
  19. app-ng-runtime/components/data/table/table.component.d.ts +1 -1
  20. app-ng-runtime/components/navigation/popover/bundles/index.umd.js +2 -1
  21. app-ng-runtime/components/navigation/popover/esm2020/popover.component.mjs +3 -2
  22. app-ng-runtime/components/navigation/popover/fesm2015/index.mjs +2 -1
  23. app-ng-runtime/components/navigation/popover/fesm2015/index.mjs.map +1 -1
  24. app-ng-runtime/components/navigation/popover/fesm2020/index.mjs +2 -1
  25. app-ng-runtime/components/navigation/popover/fesm2020/index.mjs.map +1 -1
  26. app-ng-runtime/components/prefab/bundles/index.umd.js +1 -0
  27. app-ng-runtime/components/prefab/esm2020/prefab-container/prefab-container.directive.mjs +2 -1
  28. app-ng-runtime/components/prefab/fesm2015/index.mjs +1 -0
  29. app-ng-runtime/components/prefab/fesm2015/index.mjs.map +1 -1
  30. app-ng-runtime/components/prefab/fesm2020/index.mjs +1 -0
  31. app-ng-runtime/components/prefab/fesm2020/index.mjs.map +1 -1
  32. app-ng-runtime/mobile/components/basic/default/bundles/index.umd.js +1 -1
  33. app-ng-runtime/mobile/components/basic/default/esm2020/image-cache/image-cache.directive.mjs +3 -3
  34. app-ng-runtime/mobile/components/basic/default/fesm2015/index.mjs +1 -1
  35. app-ng-runtime/mobile/components/basic/default/fesm2015/index.mjs.map +1 -1
  36. app-ng-runtime/mobile/components/basic/default/fesm2020/index.mjs +1 -1
  37. app-ng-runtime/mobile/components/basic/default/fesm2020/index.mjs.map +1 -1
  38. app-ng-runtime/package.json +1 -1
  39. app-ng-runtime/scripts/datatable/datatable.js +3 -3
@@ -543,14 +543,15 @@ class TableComponent extends StylableComponent {
543
543
  });
544
544
  },
545
545
  // assigns the items on capture phase of the click handler.
546
- assignSelectedItems: (row, e) => {
546
+ assignSelectedItems: (row, e, isRowSelected) => {
547
547
  this.ngZone.run(() => {
548
548
  /*
549
549
  * in case of single select, update the items with out changing the reference.
550
550
  * for multi select, keep old selected items in tact
551
551
  */
552
552
  if (this.multiselect) {
553
- if (_.findIndex(this.items, row) === -1) {
553
+ //Fix for [WMS-25110]: Add row to items list only if the row is selected
554
+ if (_.findIndex(this.items, row) === -1 && (isRowSelected === undefined || isRowSelected == true)) {
554
555
  this.items.push(row);
555
556
  }
556
557
  }