@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.
- app-ng-runtime/components/base/bundles/index.umd.js +1 -0
- app-ng-runtime/components/base/esm2020/widgets/common/partial/partial.directive.mjs +2 -1
- app-ng-runtime/components/base/fesm2015/index.mjs +1 -0
- app-ng-runtime/components/base/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/base/fesm2020/index.mjs +1 -0
- app-ng-runtime/components/base/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/chart/bundles/index.umd.js +3 -1
- app-ng-runtime/components/chart/esm2020/chart.component.mjs +4 -2
- app-ng-runtime/components/chart/fesm2015/index.mjs +3 -1
- app-ng-runtime/components/chart/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/chart/fesm2020/index.mjs +3 -1
- app-ng-runtime/components/chart/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/data/table/bundles/index.umd.js +3 -2
- app-ng-runtime/components/data/table/esm2020/table.component.mjs +4 -3
- app-ng-runtime/components/data/table/fesm2015/index.mjs +3 -2
- app-ng-runtime/components/data/table/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/data/table/fesm2020/index.mjs +3 -2
- app-ng-runtime/components/data/table/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/data/table/table.component.d.ts +1 -1
- app-ng-runtime/components/navigation/popover/bundles/index.umd.js +2 -1
- app-ng-runtime/components/navigation/popover/esm2020/popover.component.mjs +3 -2
- app-ng-runtime/components/navigation/popover/fesm2015/index.mjs +2 -1
- app-ng-runtime/components/navigation/popover/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/popover/fesm2020/index.mjs +2 -1
- app-ng-runtime/components/navigation/popover/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/prefab/bundles/index.umd.js +1 -0
- app-ng-runtime/components/prefab/esm2020/prefab-container/prefab-container.directive.mjs +2 -1
- app-ng-runtime/components/prefab/fesm2015/index.mjs +1 -0
- app-ng-runtime/components/prefab/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/prefab/fesm2020/index.mjs +1 -0
- app-ng-runtime/components/prefab/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/basic/default/bundles/index.umd.js +1 -1
- app-ng-runtime/mobile/components/basic/default/esm2020/image-cache/image-cache.directive.mjs +3 -3
- app-ng-runtime/mobile/components/basic/default/fesm2015/index.mjs +1 -1
- app-ng-runtime/mobile/components/basic/default/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/mobile/components/basic/default/fesm2020/index.mjs +1 -1
- app-ng-runtime/mobile/components/basic/default/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/package.json +1 -1
- 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
|
-
|
|
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
|
}
|