@wavemaker/app-ng-runtime 11.5.2-next.141017 → 11.5.2-next.141021
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/data/table/bundles/index.umd.js +8 -3
- app-ng-runtime/components/data/table/esm2020/table.component.mjs +9 -4
- app-ng-runtime/components/data/table/fesm2015/index.mjs +8 -3
- app-ng-runtime/components/data/table/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/data/table/fesm2020/index.mjs +8 -3
- app-ng-runtime/components/data/table/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/data/table/table.component.d.ts +2 -1
- app-ng-runtime/components/input/calendar/bundles/index.umd.js +6 -0
- app-ng-runtime/components/input/calendar/esm2020/calendar.component.mjs +7 -1
- app-ng-runtime/components/input/calendar/fesm2015/index.mjs +6 -0
- app-ng-runtime/components/input/calendar/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/input/calendar/fesm2020/index.mjs +6 -0
- app-ng-runtime/components/input/calendar/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/menu/bundles/index.umd.js +1 -1
- app-ng-runtime/components/navigation/menu/esm2020/nav/nav.component.mjs +2 -2
- app-ng-runtime/components/navigation/menu/fesm2015/index.mjs +1 -1
- app-ng-runtime/components/navigation/menu/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/menu/fesm2020/index.mjs +1 -1
- app-ng-runtime/components/navigation/menu/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/popover/bundles/index.umd.js +2 -2
- app-ng-runtime/components/navigation/popover/esm2020/popover.component.mjs +3 -3
- app-ng-runtime/components/navigation/popover/fesm2015/index.mjs +2 -2
- app-ng-runtime/components/navigation/popover/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/popover/fesm2020/index.mjs +2 -2
- app-ng-runtime/components/navigation/popover/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/package.json +1 -1
- app-ng-runtime/runtime/base/bundles/index.umd.js +4 -1
- app-ng-runtime/runtime/base/esm2020/components/base-page.component.mjs +5 -3
- app-ng-runtime/runtime/base/fesm2015/index.mjs +5 -2
- app-ng-runtime/runtime/base/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/runtime/base/fesm2020/index.mjs +4 -2
- app-ng-runtime/runtime/base/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/scripts/datatable/datatable.js +2 -2
|
@@ -349,6 +349,7 @@ class TableComponent extends StylableComponent {
|
|
|
349
349
|
this.items = [];
|
|
350
350
|
this.rowActions = [];
|
|
351
351
|
this.shownavigation = false;
|
|
352
|
+
this.showFirstRow = false;
|
|
352
353
|
this.documentClickBind = noop;
|
|
353
354
|
this.prevFilterExpression = [];
|
|
354
355
|
this.fieldDefs = [];
|
|
@@ -515,7 +516,7 @@ class TableComponent extends StylableComponent {
|
|
|
515
516
|
});
|
|
516
517
|
},
|
|
517
518
|
// assigns the items on capture phase of the click handler.
|
|
518
|
-
assignSelectedItems: (row, e,
|
|
519
|
+
assignSelectedItems: (row, e, rowInfo) => {
|
|
519
520
|
this.ngZone.run(() => {
|
|
520
521
|
/*
|
|
521
522
|
* in case of single select, update the items with out changing the reference.
|
|
@@ -523,8 +524,11 @@ class TableComponent extends StylableComponent {
|
|
|
523
524
|
*/
|
|
524
525
|
if (this.multiselect) {
|
|
525
526
|
//Fix for [WMS-25110]: Add row to items list only if the row is selected
|
|
526
|
-
if (_.findIndex(this.items, row) === -1 && (
|
|
527
|
+
if (_.findIndex(this.items, row) === -1 && (rowInfo?._selected === undefined || rowInfo?._selected == true || (this.gridfirstrowselect && rowInfo?.rowId == 0 && !this.showFirstRow))) {
|
|
527
528
|
this.items.push(row);
|
|
529
|
+
if (rowInfo?.rowId == 0) {
|
|
530
|
+
this.showFirstRow = true;
|
|
531
|
+
}
|
|
528
532
|
}
|
|
529
533
|
}
|
|
530
534
|
else {
|
|
@@ -1776,7 +1780,8 @@ class TableComponent extends StylableComponent {
|
|
|
1776
1780
|
}
|
|
1777
1781
|
}
|
|
1778
1782
|
// for Static Variables with Retain State enabled, prevent Table from rendering more than once
|
|
1779
|
-
|
|
1783
|
+
// Fix for [WMS-25284]: Render table that is inside list widget and bound to static Variable
|
|
1784
|
+
if (!(_.get(this.datasource, 'category') === 'wm.Variable' && this._pageLoad && this.getConfiguredState() !== 'none') || (this.parentList && _.startsWith(this.binddataset, 'item'))) {
|
|
1780
1785
|
this.watchVariableDataSet(nv);
|
|
1781
1786
|
}
|
|
1782
1787
|
break;
|