@wavemaker/app-ng-runtime 11.4.0-rc.5346 → 11.4.0-rc.5347

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 (43) hide show
  1. app-ng-runtime/components/base/bundles/index.umd.js +15 -4
  2. app-ng-runtime/components/base/bundles/index.umd.js.map +1 -1
  3. app-ng-runtime/components/base/esm2015/directives/show-in-device.directive.js +16 -5
  4. app-ng-runtime/components/base/fesm2015/index.js +15 -4
  5. app-ng-runtime/components/base/fesm2015/index.js.map +1 -1
  6. app-ng-runtime/components/basic/tree/bundles/index.umd.js +16 -8
  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 +17 -9
  9. app-ng-runtime/components/basic/tree/fesm2015/index.js +16 -8
  10. app-ng-runtime/components/basic/tree/fesm2015/index.js.map +1 -1
  11. app-ng-runtime/components/chart/bundles/index.umd.js +1 -1
  12. app-ng-runtime/components/chart/bundles/index.umd.js.map +1 -1
  13. app-ng-runtime/components/chart/esm2015/chart.component.js +2 -2
  14. app-ng-runtime/components/chart/fesm2015/index.js +1 -1
  15. app-ng-runtime/components/chart/fesm2015/index.js.map +1 -1
  16. app-ng-runtime/components/containers/wizard/bundles/index.umd.js +43 -2
  17. app-ng-runtime/components/containers/wizard/bundles/index.umd.js.map +1 -1
  18. app-ng-runtime/components/containers/wizard/esm2015/wizard-step/wizard-step.props.js +3 -2
  19. app-ng-runtime/components/containers/wizard/esm2015/wizard.component.js +42 -2
  20. app-ng-runtime/components/containers/wizard/fesm2015/index.js +43 -2
  21. app-ng-runtime/components/containers/wizard/fesm2015/index.js.map +1 -1
  22. app-ng-runtime/components/containers/wizard/index.metadata.json +1 -1
  23. app-ng-runtime/components/containers/wizard/wizard.component.d.ts +2 -0
  24. app-ng-runtime/core/bundles/index.umd.js +12 -2
  25. app-ng-runtime/core/bundles/index.umd.js.map +1 -1
  26. app-ng-runtime/core/esm2015/services/viewport.service.js +6 -4
  27. app-ng-runtime/core/esm2015/utils/utils.js +11 -3
  28. app-ng-runtime/core/fesm2015/index.js +15 -5
  29. app-ng-runtime/core/fesm2015/index.js.map +1 -1
  30. app-ng-runtime/core/index.metadata.json +1 -1
  31. app-ng-runtime/core/utils/utils.d.ts +2 -2
  32. app-ng-runtime/package.json +1 -1
  33. app-ng-runtime/runtime/base/bundles/index.umd.js +163 -132
  34. app-ng-runtime/runtime/base/bundles/index.umd.js.map +1 -1
  35. app-ng-runtime/runtime/base/esm2015/public_api.js +2 -1
  36. app-ng-runtime/runtime/base/esm2015/runtime-base.module.js +3 -1
  37. app-ng-runtime/runtime/base/esm2015/services/app.service.js +3 -1
  38. app-ng-runtime/runtime/base/esm2015/services/pipe.service.js +33 -0
  39. app-ng-runtime/runtime/base/fesm2015/index.js +148 -119
  40. app-ng-runtime/runtime/base/fesm2015/index.js.map +1 -1
  41. app-ng-runtime/runtime/base/index.metadata.json +1 -1
  42. app-ng-runtime/runtime/base/public_api.d.ts +1 -0
  43. app-ng-runtime/runtime/base/services/pipe.service.d.ts +9 -0
@@ -2355,10 +2355,21 @@
2355
2355
  5. For all, always render the view.
2356
2356
  */
2357
2357
  ShowInDeviceDirective.prototype.onResize = function ($event) {
2358
- if ((this.devices.indexOf('lg') > -1 && window.matchMedia("(min-width: 1200px)").matches && !core$1.isLargeTabletLandscape())
2359
- || (this.devices.indexOf('md') > -1 && (core$1.isLargeTabletLandscape() || (window.matchMedia("(min-width: 992px) and (max-width: 1199px)").matches && !core$1.isLargeTabletPortrait())))
2360
- || (this.devices.indexOf('sm') > -1 && (window.matchMedia("(min-width: 768px) and (max-width: 991px)").matches || core$1.isLargeTabletPortrait()))
2361
- || (this.devices.indexOf('xs') > -1 && window.matchMedia("(max-width: 767px)").matches)
2358
+ var lgWidth = getComputedStyle(document.documentElement).getPropertyValue('--screen-lg') || '1200px';
2359
+ var mdWidth = getComputedStyle(document.documentElement).getPropertyValue('--screen-md') || '992px';
2360
+ var smWidth = getComputedStyle(document.documentElement).getPropertyValue('--screen-sm') || '768px';
2361
+ var lgTabLandScapeWidth = getComputedStyle(document.documentElement).getPropertyValue('--screen-lg-tab-landscape') || '1366px';
2362
+ var lgTabPortraitWidth = getComputedStyle(document.documentElement).getPropertyValue('--screen-lg-tab-portrait') || '1024px';
2363
+ var lgWidthMin = parseFloat(lgWidth) - 1;
2364
+ var lgUnit = lgWidthMin + "px";
2365
+ var mdWidthMin = parseFloat(mdWidth) - 1;
2366
+ var mdUnit = mdWidthMin + "px";
2367
+ var smWidthMin = parseFloat(smWidth) - 1;
2368
+ var smUnit = smWidthMin + "px";
2369
+ if ((this.devices.indexOf('lg') > -1 && window.matchMedia("(min-width: " + lgWidth + ")").matches && !core$1.isLargeTabletLandscape(lgTabLandScapeWidth, lgTabPortraitWidth))
2370
+ || (this.devices.indexOf('md') > -1 && (core$1.isLargeTabletLandscape(lgTabLandScapeWidth, lgTabPortraitWidth) || (window.matchMedia("(min-width: " + mdWidth + ") and (max-width: " + lgUnit + ")").matches && !core$1.isLargeTabletPortrait(lgTabLandScapeWidth, lgTabPortraitWidth))))
2371
+ || (this.devices.indexOf('sm') > -1 && (window.matchMedia("(min-width: " + smWidth + ") and (max-width: " + mdUnit + ")").matches || core$1.isLargeTabletPortrait(lgTabLandScapeWidth, lgTabPortraitWidth)))
2372
+ || (this.devices.indexOf('xs') > -1 && window.matchMedia("(max-width: " + smUnit + ")").matches)
2362
2373
  || (this.devices.indexOf('all') > -1)) {
2363
2374
  if (!this.embeddedView) {
2364
2375
  this.embeddedView = this.viewContainerRef.createEmbeddedView(this.templateRef, this.context);