@wavemaker/app-ng-runtime 11.4.0-next.140429 → 11.4.0-next.140433

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 (78) hide show
  1. app-ng-runtime/build-task/basic/tree/tree.build.d.ts +1 -2
  2. app-ng-runtime/build-task/bundles/index.umd.js +5 -7
  3. app-ng-runtime/build-task/bundles/index.umd.js.map +1 -1
  4. app-ng-runtime/build-task/esm2015/basic/tree/tree.build.js +3 -4
  5. app-ng-runtime/build-task/fesm2015/index.js +5 -7
  6. app-ng-runtime/build-task/fesm2015/index.js.map +1 -1
  7. app-ng-runtime/components/base/bundles/index.umd.js +1 -1
  8. app-ng-runtime/components/base/bundles/index.umd.js.map +1 -1
  9. app-ng-runtime/components/base/esm2015/widgets/common/dialog/dialog.service.js +3 -3
  10. app-ng-runtime/components/base/fesm2015/index.js +2 -2
  11. app-ng-runtime/components/base/fesm2015/index.js.map +1 -1
  12. app-ng-runtime/components/basic/tree/bundles/index.umd.js +271 -255
  13. app-ng-runtime/components/basic/tree/bundles/index.umd.js.map +1 -1
  14. app-ng-runtime/components/basic/tree/esm2015/public_api.js +2 -2
  15. app-ng-runtime/components/basic/tree/esm2015/tree.component.js +314 -0
  16. app-ng-runtime/components/basic/tree/esm2015/tree.module.js +3 -3
  17. app-ng-runtime/components/basic/tree/fesm2015/index.js +251 -247
  18. app-ng-runtime/components/basic/tree/fesm2015/index.js.map +1 -1
  19. app-ng-runtime/components/basic/tree/index.metadata.json +1 -1
  20. app-ng-runtime/components/basic/tree/public_api.d.ts +1 -1
  21. app-ng-runtime/components/basic/tree/tree.component.d.ts +33 -0
  22. app-ng-runtime/components/containers/tabs/bundles/index.umd.js +39 -23
  23. app-ng-runtime/components/containers/tabs/bundles/index.umd.js.map +1 -1
  24. app-ng-runtime/components/containers/tabs/esm2015/tab-pane/tab-pane.component.js +8 -1
  25. app-ng-runtime/components/containers/tabs/esm2015/tabs.animator.js +33 -13
  26. app-ng-runtime/components/containers/tabs/fesm2015/index.js +40 -13
  27. app-ng-runtime/components/containers/tabs/fesm2015/index.js.map +1 -1
  28. app-ng-runtime/components/containers/tabs/tabs.animator.d.ts +5 -1
  29. app-ng-runtime/components/data/list/bundles/index.umd.js +24 -39
  30. app-ng-runtime/components/data/list/bundles/index.umd.js.map +1 -1
  31. app-ng-runtime/components/data/list/esm2015/list.component.js +24 -39
  32. app-ng-runtime/components/data/list/fesm2015/index.js +23 -38
  33. app-ng-runtime/components/data/list/fesm2015/index.js.map +1 -1
  34. app-ng-runtime/components/data/list/index.metadata.json +1 -1
  35. app-ng-runtime/components/data/pagination/bundles/index.umd.js +21 -4
  36. app-ng-runtime/components/data/pagination/bundles/index.umd.js.map +1 -1
  37. app-ng-runtime/components/data/pagination/esm2015/pagination.component.js +22 -5
  38. app-ng-runtime/components/data/pagination/fesm2015/index.js +21 -4
  39. app-ng-runtime/components/data/pagination/fesm2015/index.js.map +1 -1
  40. app-ng-runtime/components/data/pagination/index.metadata.json +1 -1
  41. app-ng-runtime/components/data/pagination/pagination.component.d.ts +1 -0
  42. app-ng-runtime/components/data/table/bundles/index.umd.js +11 -4
  43. app-ng-runtime/components/data/table/bundles/index.umd.js.map +1 -1
  44. app-ng-runtime/components/data/table/esm2015/table.component.js +12 -5
  45. app-ng-runtime/components/data/table/fesm2015/index.js +11 -4
  46. app-ng-runtime/components/data/table/fesm2015/index.js.map +1 -1
  47. app-ng-runtime/components/data/table/index.metadata.json +1 -1
  48. app-ng-runtime/components/dialogs/default/base-dialog.d.ts +1 -0
  49. app-ng-runtime/components/dialogs/default/bundles/index.umd.js +11 -3
  50. app-ng-runtime/components/dialogs/default/bundles/index.umd.js.map +1 -1
  51. app-ng-runtime/components/dialogs/default/esm2015/base-dialog.js +12 -5
  52. app-ng-runtime/components/dialogs/default/fesm2015/index.js +11 -4
  53. app-ng-runtime/components/dialogs/default/fesm2015/index.js.map +1 -1
  54. app-ng-runtime/components/dialogs/default/index.metadata.json +1 -1
  55. app-ng-runtime/components/input/epoch/bundles/index.umd.js +27 -8
  56. app-ng-runtime/components/input/epoch/bundles/index.umd.js.map +1 -1
  57. app-ng-runtime/components/input/epoch/date-time/date-time-picker.component.d.ts +1 -0
  58. app-ng-runtime/components/input/epoch/esm2015/date-time/date-time-picker.component.js +31 -11
  59. app-ng-runtime/components/input/epoch/fesm2015/index.js +30 -10
  60. app-ng-runtime/components/input/epoch/fesm2015/index.js.map +1 -1
  61. app-ng-runtime/components/input/epoch/index.metadata.json +1 -1
  62. app-ng-runtime/mobile/components/page/default/bundles/index.umd.js +24 -6
  63. app-ng-runtime/mobile/components/page/default/bundles/index.umd.js.map +1 -1
  64. app-ng-runtime/mobile/components/page/default/esm2015/page.directive.js +20 -3
  65. app-ng-runtime/mobile/components/page/default/fesm2015/index.js +19 -2
  66. app-ng-runtime/mobile/components/page/default/fesm2015/index.js.map +1 -1
  67. app-ng-runtime/mobile/components/page/default/index.metadata.json +1 -1
  68. app-ng-runtime/mobile/components/page/default/page.directive.d.ts +4 -1
  69. app-ng-runtime/package.json +1 -1
  70. app-ng-runtime/variables/bundles/index.umd.js +10 -0
  71. app-ng-runtime/variables/bundles/index.umd.js.map +1 -1
  72. app-ng-runtime/variables/esm2015/service/variables.service.js +8 -1
  73. app-ng-runtime/variables/fesm2015/index.js +7 -1
  74. app-ng-runtime/variables/fesm2015/index.js.map +1 -1
  75. app-ng-runtime/variables/index.metadata.json +1 -1
  76. app-ng-runtime/variables/service/variables.service.d.ts +4 -0
  77. app-ng-runtime/components/basic/tree/esm2015/tree.directive.js +0 -310
  78. app-ng-runtime/components/basic/tree/tree.directive.d.ts +0 -35
@@ -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
- if (this.dataset) {
1613
- this.watchVariableDataSet(this.dataset);
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) {