@wavemaker/app-ng-runtime 11.4.0-next.141707 → 11.4.0-next.1417070

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 (84) hide show
  1. app-ng-runtime/build-task/bundles/index.umd.js +1 -1
  2. app-ng-runtime/build-task/bundles/index.umd.js.map +1 -1
  3. app-ng-runtime/build-task/esm2015/data/form/form-field/form-field.build.js +2 -2
  4. app-ng-runtime/build-task/fesm2015/index.js +1 -1
  5. app-ng-runtime/build-task/fesm2015/index.js.map +1 -1
  6. app-ng-runtime/components/base/bundles/index.umd.js +16 -0
  7. app-ng-runtime/components/base/bundles/index.umd.js.map +1 -1
  8. app-ng-runtime/components/base/esm2015/public_api.js +2 -2
  9. app-ng-runtime/components/base/esm2015/utils/widget-utils.js +16 -1
  10. app-ng-runtime/components/base/fesm2015/index.js +16 -1
  11. app-ng-runtime/components/base/fesm2015/index.js.map +1 -1
  12. app-ng-runtime/components/base/index.metadata.json +1 -1
  13. app-ng-runtime/components/base/public_api.d.ts +1 -1
  14. app-ng-runtime/components/base/utils/widget-utils.d.ts +7 -0
  15. app-ng-runtime/components/basic/rich-text-editor/bundles/index.umd.js +2 -2
  16. app-ng-runtime/components/basic/rich-text-editor/bundles/index.umd.js.map +1 -1
  17. app-ng-runtime/components/basic/rich-text-editor/esm2015/rich-text-editor.component.js +3 -3
  18. app-ng-runtime/components/basic/rich-text-editor/fesm2015/index.js +2 -2
  19. app-ng-runtime/components/basic/rich-text-editor/fesm2015/index.js.map +1 -1
  20. app-ng-runtime/components/data/list/bundles/index.umd.js +12 -6
  21. app-ng-runtime/components/data/list/bundles/index.umd.js.map +1 -1
  22. app-ng-runtime/components/data/list/esm2015/list.component.js +11 -5
  23. app-ng-runtime/components/data/list/fesm2015/index.js +10 -4
  24. app-ng-runtime/components/data/list/fesm2015/index.js.map +1 -1
  25. app-ng-runtime/components/data/pagination/bundles/index.umd.js +1 -1
  26. app-ng-runtime/components/data/pagination/bundles/index.umd.js.map +1 -1
  27. app-ng-runtime/components/data/pagination/esm2015/pagination.component.js +2 -2
  28. app-ng-runtime/components/data/pagination/fesm2015/index.js +1 -1
  29. app-ng-runtime/components/data/pagination/fesm2015/index.js.map +1 -1
  30. app-ng-runtime/components/data/table/bundles/index.umd.js +48 -9
  31. app-ng-runtime/components/data/table/bundles/index.umd.js.map +1 -1
  32. app-ng-runtime/components/data/table/esm2015/table-filter.directive.js +3 -2
  33. app-ng-runtime/components/data/table/esm2015/table.component.js +45 -9
  34. app-ng-runtime/components/data/table/esm2015/table.props.js +3 -1
  35. app-ng-runtime/components/data/table/fesm2015/index.js +48 -9
  36. app-ng-runtime/components/data/table/fesm2015/index.js.map +1 -1
  37. app-ng-runtime/components/data/table/index.metadata.json +1 -1
  38. app-ng-runtime/components/data/table/table.component.d.ts +9 -0
  39. app-ng-runtime/components/input/epoch/base-date-time.component.d.ts +5 -0
  40. app-ng-runtime/components/input/epoch/bundles/index.umd.js +31 -3
  41. app-ng-runtime/components/input/epoch/bundles/index.umd.js.map +1 -1
  42. app-ng-runtime/components/input/epoch/esm2015/base-date-time.component.js +32 -3
  43. app-ng-runtime/components/input/epoch/esm2015/date/date.component.js +1 -2
  44. app-ng-runtime/components/input/epoch/fesm2015/index.js +31 -3
  45. app-ng-runtime/components/input/epoch/fesm2015/index.js.map +1 -1
  46. app-ng-runtime/components/input/epoch/index.metadata.json +1 -1
  47. app-ng-runtime/components/navigation/menu/bundles/index.umd.js +25 -19
  48. app-ng-runtime/components/navigation/menu/bundles/index.umd.js.map +1 -1
  49. app-ng-runtime/components/navigation/menu/esm2015/menu-dropdown-item/menu-dropdown-item.component.js +15 -5
  50. app-ng-runtime/components/navigation/menu/esm2015/menu.component.js +14 -19
  51. app-ng-runtime/components/navigation/menu/fesm2015/index.js +25 -20
  52. app-ng-runtime/components/navigation/menu/fesm2015/index.js.map +1 -1
  53. app-ng-runtime/components/navigation/menu/index.metadata.json +1 -1
  54. app-ng-runtime/components/navigation/menu/menu-dropdown-item/menu-dropdown-item.component.d.ts +7 -4
  55. app-ng-runtime/components/navigation/menu/menu.component.d.ts +3 -7
  56. app-ng-runtime/core/bundles/index.umd.js +7 -1
  57. app-ng-runtime/core/bundles/index.umd.js.map +1 -1
  58. app-ng-runtime/core/esm2015/services/pagination.service.js +8 -2
  59. app-ng-runtime/core/fesm2015/index.js +7 -1
  60. app-ng-runtime/core/fesm2015/index.js.map +1 -1
  61. app-ng-runtime/mobile/core/bundles/index.umd.js +2 -1
  62. app-ng-runtime/mobile/core/bundles/index.umd.js.map +1 -1
  63. app-ng-runtime/mobile/core/esm2015/services/device.service.js +3 -2
  64. app-ng-runtime/mobile/core/fesm2015/index.js +2 -1
  65. app-ng-runtime/mobile/core/fesm2015/index.js.map +1 -1
  66. app-ng-runtime/mobile/runtime-dynamic/bundles/index.umd.js +3 -2
  67. app-ng-runtime/mobile/runtime-dynamic/bundles/index.umd.js.map +1 -1
  68. app-ng-runtime/mobile/runtime-dynamic/esm2015/services/live-sync.service.js +4 -3
  69. app-ng-runtime/mobile/runtime-dynamic/fesm2015/index.js +3 -2
  70. app-ng-runtime/mobile/runtime-dynamic/fesm2015/index.js.map +1 -1
  71. app-ng-runtime/package.json +1 -1
  72. app-ng-runtime/runtime/base/bundles/index.umd.js +1 -0
  73. app-ng-runtime/runtime/base/bundles/index.umd.js.map +1 -1
  74. app-ng-runtime/runtime/base/esm2015/services/prefab-manager.service.js +2 -1
  75. app-ng-runtime/runtime/base/fesm2015/index.js +1 -0
  76. app-ng-runtime/runtime/base/fesm2015/index.js.map +1 -1
  77. app-ng-runtime/scripts/datatable/datatable.js +94 -25
  78. app-ng-runtime/scripts/summernote/dist/summernote-lite.min.js +3 -3
  79. app-ng-runtime/variables/bundles/index.umd.js +5 -12
  80. app-ng-runtime/variables/bundles/index.umd.js.map +1 -1
  81. app-ng-runtime/variables/esm2015/constants/variables.constants.js +3 -9
  82. app-ng-runtime/variables/fesm2015/index.js +2 -9
  83. app-ng-runtime/variables/fesm2015/index.js.map +1 -1
  84. app-ng-runtime/variables/index.metadata.json +1 -1
@@ -574,11 +574,17 @@ class ListComponent extends StylableComponent {
574
574
  const dataSource = this.datasource;
575
575
  if (dataSource && dataSource.execute(DataSource.Operation.IS_API_AWARE) && isDataSourceEqual(data.variable, dataSource)) {
576
576
  this.ngZone.run(() => {
577
- var _a;
577
+ var _a, _b, _c;
578
578
  this.handleStateParams(data);
579
579
  this.variableInflight = data.active;
580
- // WMS-17268: Update nodatafound flag once the response is recieved from the server
581
- this.noDataFound = !((_a = data.data) === null || _a === void 0 ? void 0 : _a.pagination.totalElements);
580
+ // Fix for [WMS-23772] Update nodatafound flag once the response is recieved from the server
581
+ const totalEle = (_b = (_a = data.data) === null || _a === void 0 ? void 0 : _a.pagination) === null || _b === void 0 ? void 0 : _b.totalElements;
582
+ if (!_.isUndefined(totalEle)) {
583
+ this.noDataFound = totalEle === 0 ? true : false;
584
+ }
585
+ else { // totalelements is undefined
586
+ this.noDataFound = _.isEmpty((_c = data.data) === null || _c === void 0 ? void 0 : _c.data);
587
+ }
582
588
  });
583
589
  }
584
590
  }
@@ -1089,7 +1095,7 @@ class ListComponent extends StylableComponent {
1089
1095
  }
1090
1096
  handleKeyDown($event, action) {
1091
1097
  $event.stopPropagation();
1092
- if ($event.keyCode !== 13 && $event.keyCode !== 9 && !($event.target.classList.contains('form-control') && $event.keyCode === 32)) {
1098
+ if ($event.keyCode !== 13 && $event.keyCode !== 9 && !(($event.target.classList.contains('form-control') || $event.target.classList.contains('note-editable')) && $event.keyCode === 32)) {
1093
1099
  $event.preventDefault();
1094
1100
  }
1095
1101
  const listItems = this.listItems;