@wavemaker/app-ng-runtime 11.4.0-next.24565 → 11.4.0-next.24569
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/build-task/bundles/index.umd.js +1 -1
- app-ng-runtime/build-task/bundles/index.umd.js.map +1 -1
- app-ng-runtime/build-task/esm2015/data/form/form-field/form-field.build.js +2 -2
- app-ng-runtime/build-task/fesm2015/index.js +1 -1
- app-ng-runtime/build-task/fesm2015/index.js.map +1 -1
- app-ng-runtime/components/base/bundles/index.umd.js +7 -1
- app-ng-runtime/components/base/bundles/index.umd.js.map +1 -1
- app-ng-runtime/components/base/esm2015/widgets/common/base/base-field-validations.js +3 -2
- app-ng-runtime/components/base/esm2015/widgets/common/dialog/dialog.service.js +7 -1
- app-ng-runtime/components/base/fesm2015/index.js +8 -2
- app-ng-runtime/components/base/fesm2015/index.js.map +1 -1
- app-ng-runtime/components/containers/tabs/bundles/index.umd.js +39 -23
- app-ng-runtime/components/containers/tabs/bundles/index.umd.js.map +1 -1
- app-ng-runtime/components/containers/tabs/esm2015/tab-pane/tab-pane.component.js +8 -1
- app-ng-runtime/components/containers/tabs/esm2015/tabs.animator.js +33 -13
- app-ng-runtime/components/containers/tabs/fesm2015/index.js +40 -13
- app-ng-runtime/components/containers/tabs/fesm2015/index.js.map +1 -1
- app-ng-runtime/components/containers/tabs/tabs.animator.d.ts +5 -1
- app-ng-runtime/components/data/form/bundles/index.umd.js +37 -13
- app-ng-runtime/components/data/form/bundles/index.umd.js.map +1 -1
- app-ng-runtime/components/data/form/esm2015/form-field/form-field.directive.js +26 -7
- app-ng-runtime/components/data/form/esm2015/form.component.js +10 -5
- app-ng-runtime/components/data/form/fesm2015/index.js +34 -10
- app-ng-runtime/components/data/form/fesm2015/index.js.map +1 -1
- app-ng-runtime/components/data/form/index.metadata.json +1 -1
- app-ng-runtime/components/data/list/bundles/index.umd.js +24 -39
- app-ng-runtime/components/data/list/bundles/index.umd.js.map +1 -1
- app-ng-runtime/components/data/list/esm2015/list.component.js +24 -39
- app-ng-runtime/components/data/list/fesm2015/index.js +23 -38
- app-ng-runtime/components/data/list/fesm2015/index.js.map +1 -1
- app-ng-runtime/components/data/list/index.metadata.json +1 -1
- app-ng-runtime/components/data/list/list.component.d.ts +1 -1
- app-ng-runtime/components/data/pagination/bundles/index.umd.js +21 -4
- app-ng-runtime/components/data/pagination/bundles/index.umd.js.map +1 -1
- app-ng-runtime/components/data/pagination/esm2015/pagination.component.js +22 -5
- app-ng-runtime/components/data/pagination/fesm2015/index.js +21 -4
- app-ng-runtime/components/data/pagination/fesm2015/index.js.map +1 -1
- app-ng-runtime/components/data/pagination/index.metadata.json +1 -1
- app-ng-runtime/components/data/pagination/pagination.component.d.ts +1 -0
- app-ng-runtime/components/data/table/bundles/index.umd.js +11 -4
- app-ng-runtime/components/data/table/bundles/index.umd.js.map +1 -1
- app-ng-runtime/components/data/table/esm2015/table.component.js +12 -5
- app-ng-runtime/components/data/table/fesm2015/index.js +11 -4
- app-ng-runtime/components/data/table/fesm2015/index.js.map +1 -1
- app-ng-runtime/components/data/table/index.metadata.json +1 -1
- app-ng-runtime/components/dialogs/default/base-dialog.d.ts +1 -0
- app-ng-runtime/components/dialogs/default/bundles/index.umd.js +11 -2
- app-ng-runtime/components/dialogs/default/bundles/index.umd.js.map +1 -1
- app-ng-runtime/components/dialogs/default/esm2015/base-dialog.js +12 -4
- app-ng-runtime/components/dialogs/default/fesm2015/index.js +11 -3
- app-ng-runtime/components/dialogs/default/fesm2015/index.js.map +1 -1
- app-ng-runtime/components/dialogs/default/index.metadata.json +1 -1
- app-ng-runtime/components/input/epoch/bundles/index.umd.js +28 -9
- app-ng-runtime/components/input/epoch/bundles/index.umd.js.map +1 -1
- app-ng-runtime/components/input/epoch/date-time/date-time-picker.component.d.ts +1 -0
- app-ng-runtime/components/input/epoch/esm2015/date/date.component.js +2 -2
- app-ng-runtime/components/input/epoch/esm2015/date-time/date-time-picker.component.js +31 -11
- app-ng-runtime/components/input/epoch/fesm2015/index.js +31 -11
- app-ng-runtime/components/input/epoch/fesm2015/index.js.map +1 -1
- app-ng-runtime/components/input/epoch/index.metadata.json +1 -1
- app-ng-runtime/components/navigation/popover/bundles/index.umd.js +3 -0
- app-ng-runtime/components/navigation/popover/bundles/index.umd.js.map +1 -1
- app-ng-runtime/components/navigation/popover/esm2015/popover.component.js +4 -1
- app-ng-runtime/components/navigation/popover/fesm2015/index.js +3 -0
- app-ng-runtime/components/navigation/popover/fesm2015/index.js.map +1 -1
- app-ng-runtime/mobile/components/page/default/bundles/index.umd.js +24 -6
- app-ng-runtime/mobile/components/page/default/bundles/index.umd.js.map +1 -1
- app-ng-runtime/mobile/components/page/default/esm2015/page.directive.js +20 -3
- app-ng-runtime/mobile/components/page/default/fesm2015/index.js +19 -2
- app-ng-runtime/mobile/components/page/default/fesm2015/index.js.map +1 -1
- app-ng-runtime/mobile/components/page/default/index.metadata.json +1 -1
- app-ng-runtime/mobile/components/page/default/page.directive.d.ts +4 -1
- app-ng-runtime/package.json +1 -1
|
@@ -151,6 +151,7 @@ class TableComponent extends StylableComponent {
|
|
|
151
151
|
this.rowDef = {};
|
|
152
152
|
this.rowInstance = {};
|
|
153
153
|
this.fullFieldDefs = [];
|
|
154
|
+
this.variableInflight = true;
|
|
154
155
|
this.applyProps = new Map();
|
|
155
156
|
this.redraw = _.debounce(this._redraw, 150);
|
|
156
157
|
this.debouncedHandleLoading = _.debounce(this.handleLoading, 350);
|
|
@@ -838,6 +839,10 @@ class TableComponent extends StylableComponent {
|
|
|
838
839
|
}
|
|
839
840
|
set gridData(newValue) {
|
|
840
841
|
this.isDataLoading = false;
|
|
842
|
+
// Fix for [WMS-24012]: hide no datafound msg when variableInflight is true and dataset is empty
|
|
843
|
+
if (this.variableInflight && _.isEmpty(newValue)) {
|
|
844
|
+
return;
|
|
845
|
+
}
|
|
841
846
|
this.variableInflight = false;
|
|
842
847
|
if (this.gridOptions.isNavTypeScrollOrOndemand()) {
|
|
843
848
|
// update the _gridData field with the next set of items and modify the current page
|
|
@@ -1306,6 +1311,10 @@ class TableComponent extends StylableComponent {
|
|
|
1306
1311
|
}
|
|
1307
1312
|
setGridData(serverData) {
|
|
1308
1313
|
const data = this.filternullrecords ? this.removeEmptyRecords(serverData) : serverData;
|
|
1314
|
+
// fix for [WMS-24012] set variableinflight flag to false for static variables
|
|
1315
|
+
if (_.get(this.datasource, 'category') === 'wm.Variable') {
|
|
1316
|
+
this.variableInflight = false;
|
|
1317
|
+
}
|
|
1309
1318
|
if (!this.variableInflight) {
|
|
1310
1319
|
if (data && (data.length) === 0) {
|
|
1311
1320
|
this.callDataGridMethod('setStatus', 'nodata', this.nodatamessage);
|
|
@@ -1609,10 +1618,8 @@ class TableComponent extends StylableComponent {
|
|
|
1609
1618
|
this.variableInflight = false;
|
|
1610
1619
|
this.callDataGridMethod('setStatus', 'nodata', this.nodatamessage);
|
|
1611
1620
|
}
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
this.onDataSourceChange();
|
|
1615
|
-
}
|
|
1621
|
+
this.watchVariableDataSet(this.dataset);
|
|
1622
|
+
this.onDataSourceChange();
|
|
1616
1623
|
break;
|
|
1617
1624
|
case 'dataset':
|
|
1618
1625
|
if (this.gridOptions.isNavTypeScrollOrOndemand() && this.gridOptions.getCurrentPage() === 1) {
|