@wavemaker/app-ng-runtime 11.4.1-rc.5354 → 11.4.1-rc.5387

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 (76) hide show
  1. app-ng-runtime/components/basic/search/bundles/index.umd.js +0 -7
  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 +1 -7
  4. app-ng-runtime/components/basic/search/fesm2015/index.js +0 -6
  5. app-ng-runtime/components/basic/search/fesm2015/index.js.map +1 -1
  6. app-ng-runtime/components/basic/tree/bundles/index.umd.js +93 -216
  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 +94 -185
  9. app-ng-runtime/components/basic/tree/fesm2015/index.js +93 -184
  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 +20 -20
  13. app-ng-runtime/components/chart/bundles/index.umd.js +7 -1
  14. app-ng-runtime/components/chart/bundles/index.umd.js.map +1 -1
  15. app-ng-runtime/components/chart/esm2015/chart.component.js +8 -2
  16. app-ng-runtime/components/chart/fesm2015/index.js +7 -1
  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 +6 -0
  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 +7 -1
  22. app-ng-runtime/components/containers/tabs/fesm2015/index.js +6 -0
  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 +2 -0
  26. app-ng-runtime/components/data/form/bundles/index.umd.js +9 -3
  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 +11 -5
  29. app-ng-runtime/components/data/form/fesm2015/index.js +10 -4
  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 +11 -1
  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 +4 -2
  35. app-ng-runtime/components/input/calendar/esm2015/calendar.component.js +12 -2
  36. app-ng-runtime/components/input/calendar/fesm2015/index.js +11 -1
  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 +8 -0
  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 +4 -2
  42. app-ng-runtime/components/input/default/esm2015/dataset-aware-form.component.js +9 -1
  43. app-ng-runtime/components/input/default/fesm2015/index.js +8 -0
  44. app-ng-runtime/components/input/default/fesm2015/index.js.map +1 -1
  45. app-ng-runtime/components/input/default/index.metadata.json +1 -1
  46. app-ng-runtime/components/input/epoch/base-date-time.component.d.ts +1 -0
  47. app-ng-runtime/components/input/epoch/bundles/index.umd.js +25 -24
  48. app-ng-runtime/components/input/epoch/bundles/index.umd.js.map +1 -1
  49. app-ng-runtime/components/input/epoch/esm2015/base-date-time.component.js +17 -19
  50. app-ng-runtime/components/input/epoch/esm2015/date/date.component.js +5 -3
  51. app-ng-runtime/components/input/epoch/esm2015/date-time/date-time-picker.component.js +10 -10
  52. app-ng-runtime/components/input/epoch/esm2015/date-time/date-time.component.js +2 -2
  53. app-ng-runtime/components/input/epoch/esm2015/time/time.component.js +2 -2
  54. app-ng-runtime/components/input/epoch/fesm2015/index.js +31 -31
  55. app-ng-runtime/components/input/epoch/fesm2015/index.js.map +1 -1
  56. app-ng-runtime/components/input/epoch/index.metadata.json +1 -1
  57. app-ng-runtime/core/bundles/index.umd.js +9 -7
  58. app-ng-runtime/core/bundles/index.umd.js.map +1 -1
  59. app-ng-runtime/core/esm2015/services/viewport.service.js +9 -7
  60. app-ng-runtime/core/esm2015/utils/utils.js +2 -2
  61. app-ng-runtime/core/fesm2015/index.js +9 -7
  62. app-ng-runtime/core/fesm2015/index.js.map +1 -1
  63. app-ng-runtime/mobile/components/basic/default/bundles/index.umd.js +1 -1
  64. app-ng-runtime/mobile/components/basic/default/bundles/index.umd.js.map +1 -1
  65. app-ng-runtime/mobile/components/basic/default/esm2015/image-cache/image-cache.directive.js +2 -2
  66. app-ng-runtime/mobile/components/basic/default/fesm2015/index.js +1 -1
  67. app-ng-runtime/mobile/components/basic/default/fesm2015/index.js.map +1 -1
  68. app-ng-runtime/mobile/components/basic/default/index.metadata.json +1 -1
  69. app-ng-runtime/package.json +1 -1
  70. app-ng-runtime/runtime/base/bundles/index.umd.js +35 -2
  71. app-ng-runtime/runtime/base/bundles/index.umd.js.map +1 -1
  72. app-ng-runtime/runtime/base/esm2015/services/i18n.service.js +35 -3
  73. app-ng-runtime/runtime/base/fesm2015/index.js +34 -2
  74. app-ng-runtime/runtime/base/fesm2015/index.js.map +1 -1
  75. app-ng-runtime/runtime/base/index.metadata.json +1 -1
  76. app-ng-runtime/runtime/base/services/i18n.service.d.ts +2 -0
@@ -3745,7 +3745,7 @@ const VALIDATOR = {
3745
3745
  EXCLUDEDAYS: 'excludedays'
3746
3746
  };
3747
3747
  const transformFileURI = (url) => {
3748
- if (url && hasCordova() && url.startsWith('file://')) {
3748
+ if (_.isString(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 = 1280;
3987
+ let MINIMUM_LARGE_SCREEN_WIDTH = 1200;
3988
3988
  class IViewportService {
3989
3989
  }
3990
3990
  class Viewport {
@@ -4053,12 +4053,14 @@ 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
- // Tablet specification: min >= 480 max >= 768
4057
- if (minValue >= MINIMUM_MOBILE_WIDTH && maxValue >= MINIMUM_TAB_WIDTH) {
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) {
4058
4062
  this.type = 1 /* TABLET */;
4059
- if (isAndroid() || isIos() || isAndroidTablet()) {
4060
- this.isTabletType = true;
4061
- }
4063
+ this.isTabletType = true;
4062
4064
  }
4063
4065
  else {
4064
4066
  this.type = 0 /* MOBILE */;