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

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
@@ -515,14 +515,15 @@ class TableComponent extends StylableComponent {
515
515
  });
516
516
  },
517
517
  // assigns the items on capture phase of the click handler.
518
- assignSelectedItems: (row, e) => {
518
+ assignSelectedItems: (row, e, isRowSelected) => {
519
519
  this.ngZone.run(() => {
520
520
  /*
521
521
  * in case of single select, update the items with out changing the reference.
522
522
  * for multi select, keep old selected items in tact
523
523
  */
524
524
  if (this.multiselect) {
525
- if (_.findIndex(this.items, row) === -1) {
525
+ //Fix for [WMS-25110]: Add row to items list only if the row is selected
526
+ if (_.findIndex(this.items, row) === -1 && (isRowSelected === undefined || isRowSelected == true)) {
526
527
  this.items.push(row);
527
528
  }
528
529
  }