@wavemaker/app-ng-runtime 11.5.0-next.40002 → 11.5.0-next.40301

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/components/basic/search/bundles/index.umd.js +7 -0
  2. app-ng-runtime/components/basic/search/bundles/index.umd.js.map +1 -1
  3. app-ng-runtime/components/basic/search/esm2015/search.component.js +7 -1
  4. app-ng-runtime/components/basic/search/fesm2015/index.js +6 -0
  5. app-ng-runtime/components/basic/search/fesm2015/index.js.map +1 -1
  6. app-ng-runtime/components/basic/tree/bundles/index.umd.js +236 -132
  7. app-ng-runtime/components/basic/tree/bundles/index.umd.js.map +1 -1
  8. app-ng-runtime/components/basic/tree/esm2015/tree.component.js +208 -135
  9. app-ng-runtime/components/basic/tree/fesm2015/index.js +207 -134
  10. app-ng-runtime/components/basic/tree/fesm2015/index.js.map +1 -1
  11. app-ng-runtime/components/basic/tree/index.metadata.json +1 -1
  12. app-ng-runtime/components/basic/tree/tree.component.d.ts +21 -25
  13. app-ng-runtime/components/chart/bundles/index.umd.js +1 -7
  14. app-ng-runtime/components/chart/bundles/index.umd.js.map +1 -1
  15. app-ng-runtime/components/chart/esm2015/chart.component.js +2 -8
  16. app-ng-runtime/components/chart/fesm2015/index.js +1 -7
  17. app-ng-runtime/components/chart/fesm2015/index.js.map +1 -1
  18. app-ng-runtime/components/chart/index.metadata.json +1 -1
  19. app-ng-runtime/components/containers/tabs/bundles/index.umd.js +0 -6
  20. app-ng-runtime/components/containers/tabs/bundles/index.umd.js.map +1 -1
  21. app-ng-runtime/components/containers/tabs/esm2015/tab-pane/tab-pane.component.js +1 -7
  22. app-ng-runtime/components/containers/tabs/fesm2015/index.js +0 -6
  23. app-ng-runtime/components/containers/tabs/fesm2015/index.js.map +1 -1
  24. app-ng-runtime/components/containers/tabs/index.metadata.json +1 -1
  25. app-ng-runtime/components/containers/tabs/tab-pane/tab-pane.component.d.ts +0 -2
  26. app-ng-runtime/components/data/form/bundles/index.umd.js +3 -9
  27. app-ng-runtime/components/data/form/bundles/index.umd.js.map +1 -1
  28. app-ng-runtime/components/data/form/esm2015/form.component.js +5 -11
  29. app-ng-runtime/components/data/form/fesm2015/index.js +4 -10
  30. app-ng-runtime/components/data/form/fesm2015/index.js.map +1 -1
  31. app-ng-runtime/components/data/form/index.metadata.json +1 -1
  32. app-ng-runtime/components/input/calendar/bundles/index.umd.js +1 -11
  33. app-ng-runtime/components/input/calendar/bundles/index.umd.js.map +1 -1
  34. app-ng-runtime/components/input/calendar/calendar.component.d.ts +2 -4
  35. app-ng-runtime/components/input/calendar/esm2015/calendar.component.js +2 -12
  36. app-ng-runtime/components/input/calendar/fesm2015/index.js +1 -11
  37. app-ng-runtime/components/input/calendar/fesm2015/index.js.map +1 -1
  38. app-ng-runtime/components/input/calendar/index.metadata.json +1 -1
  39. app-ng-runtime/components/input/default/bundles/index.umd.js +3 -9
  40. app-ng-runtime/components/input/default/bundles/index.umd.js.map +1 -1
  41. app-ng-runtime/components/input/default/dataset-aware-form.component.d.ts +2 -4
  42. app-ng-runtime/components/input/default/esm2015/base-form-custom.component.js +4 -2
  43. app-ng-runtime/components/input/default/esm2015/dataset-aware-form.component.js +1 -9
  44. app-ng-runtime/components/input/default/fesm2015/index.js +3 -9
  45. app-ng-runtime/components/input/default/fesm2015/index.js.map +1 -1
  46. app-ng-runtime/components/input/default/index.metadata.json +1 -1
  47. app-ng-runtime/components/input/epoch/base-date-time.component.d.ts +0 -1
  48. app-ng-runtime/components/input/epoch/bundles/index.umd.js +24 -25
  49. app-ng-runtime/components/input/epoch/bundles/index.umd.js.map +1 -1
  50. app-ng-runtime/components/input/epoch/esm2015/base-date-time.component.js +19 -17
  51. app-ng-runtime/components/input/epoch/esm2015/date/date.component.js +3 -5
  52. app-ng-runtime/components/input/epoch/esm2015/date-time/date-time-picker.component.js +10 -10
  53. app-ng-runtime/components/input/epoch/esm2015/date-time/date-time.component.js +2 -2
  54. app-ng-runtime/components/input/epoch/esm2015/time/time.component.js +2 -2
  55. app-ng-runtime/components/input/epoch/fesm2015/index.js +31 -31
  56. app-ng-runtime/components/input/epoch/fesm2015/index.js.map +1 -1
  57. app-ng-runtime/components/input/epoch/index.metadata.json +1 -1
  58. app-ng-runtime/core/bundles/index.umd.js +8 -12
  59. app-ng-runtime/core/bundles/index.umd.js.map +1 -1
  60. app-ng-runtime/core/esm2015/services/state-persistence.service.js +2 -4
  61. app-ng-runtime/core/esm2015/services/viewport.service.js +7 -9
  62. app-ng-runtime/core/esm2015/utils/utils.js +2 -2
  63. app-ng-runtime/core/fesm2015/index.js +8 -12
  64. app-ng-runtime/core/fesm2015/index.js.map +1 -1
  65. app-ng-runtime/mobile/components/basic/default/bundles/index.umd.js +1 -1
  66. app-ng-runtime/mobile/components/basic/default/bundles/index.umd.js.map +1 -1
  67. app-ng-runtime/mobile/components/basic/default/esm2015/image-cache/image-cache.directive.js +2 -2
  68. app-ng-runtime/mobile/components/basic/default/fesm2015/index.js +1 -1
  69. app-ng-runtime/mobile/components/basic/default/fesm2015/index.js.map +1 -1
  70. app-ng-runtime/mobile/components/basic/default/index.metadata.json +1 -1
  71. app-ng-runtime/package.json +1 -1
  72. app-ng-runtime/runtime/base/bundles/index.umd.js +2 -35
  73. app-ng-runtime/runtime/base/bundles/index.umd.js.map +1 -1
  74. app-ng-runtime/runtime/base/esm2015/services/i18n.service.js +3 -35
  75. app-ng-runtime/runtime/base/fesm2015/index.js +2 -34
  76. app-ng-runtime/runtime/base/fesm2015/index.js.map +1 -1
  77. app-ng-runtime/runtime/base/index.metadata.json +1 -1
  78. app-ng-runtime/runtime/base/services/i18n.service.d.ts +0 -2
@@ -3745,7 +3745,7 @@ const VALIDATOR = {
3745
3745
  EXCLUDEDAYS: 'excludedays'
3746
3746
  };
3747
3747
  const transformFileURI = (url) => {
3748
- if (_.isString(url) && hasCordova() && url.startsWith('file://')) {
3748
+ if (url && hasCordova() && url.startsWith('file://')) {
3749
3749
  if (isIos()) {
3750
3750
  return url.replace('file://', '/_app_file_');
3751
3751
  }
@@ -3984,7 +3984,7 @@ class EventNotifier {
3984
3984
 
3985
3985
  let MINIMUM_MOBILE_WIDTH = 480;
3986
3986
  let MINIMUM_TAB_WIDTH = 768;
3987
- let MINIMUM_LARGE_SCREEN_WIDTH = 1200;
3987
+ let MINIMUM_LARGE_SCREEN_WIDTH = 1280;
3988
3988
  class IViewportService {
3989
3989
  }
3990
3990
  class Viewport {
@@ -4053,14 +4053,12 @@ class Viewport {
4053
4053
  else {
4054
4054
  MINIMUM_MOBILE_WIDTH = parseInt(getComputedStyle(document.documentElement).getPropertyValue('--screen-xs')) || 480;
4055
4055
  MINIMUM_TAB_WIDTH = parseInt(getComputedStyle(document.documentElement).getPropertyValue('--screen-sm')) || 768;
4056
- MINIMUM_LARGE_SCREEN_WIDTH = parseInt(getComputedStyle(document.documentElement).getPropertyValue('--screen-lg')) || 1200;
4057
- if (this.screenWidth >= MINIMUM_LARGE_SCREEN_WIDTH) {
4058
- this.isTabletType = isAndroid() || isIos() || isAndroidTablet();
4059
- this.isMobileType = false;
4060
- }
4061
- else if (this.screenWidth >= MINIMUM_TAB_WIDTH) {
4056
+ // Tablet specification: min >= 480 max >= 768
4057
+ if (minValue >= MINIMUM_MOBILE_WIDTH && maxValue >= MINIMUM_TAB_WIDTH) {
4062
4058
  this.type = 1 /* TABLET */;
4063
- this.isTabletType = true;
4059
+ if (isAndroid() || isIos() || isAndroidTablet()) {
4060
+ this.isTabletType = true;
4061
+ }
4064
4062
  }
4065
4063
  else {
4066
4064
  this.type = 0 /* MOBILE */;
@@ -4628,9 +4626,7 @@ class StatePersistence {
4628
4626
  if (!_.get(parsedObj, [stateParam]) && !_.get(parsedObj, key)) {
4629
4627
  return;
4630
4628
  }
4631
- // Fix for [WMS-24698]: when table is inside a prefab, state persistence key is like "TestLabel_11.TestLabel_1.staticVariable1Table1"
4632
- // _.get(parsedObj, stateParam + '.' + key) is undefined so using (parsedObj && parsedObj[stateParam] && parsedObj[stateParam][key]) condition.
4633
- if (_.get(parsedObj, stateParam + '.' + key) || (parsedObj && parsedObj[stateParam] && parsedObj[stateParam][key])) {
4629
+ if (_.get(parsedObj, stateParam + '.' + key)) {
4634
4630
  if (subParam) {
4635
4631
  delete parsedObj[stateParam][key][subParam];
4636
4632
  }