@wavemaker/app-ng-runtime 11.4.0-next.25720 → 11.4.0-next.25722
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.
- app-ng-runtime/components/base/bundles/index.umd.js +15 -4
- app-ng-runtime/components/base/bundles/index.umd.js.map +1 -1
- app-ng-runtime/components/base/esm2015/directives/show-in-device.directive.js +16 -5
- app-ng-runtime/components/base/fesm2015/index.js +15 -4
- app-ng-runtime/components/base/fesm2015/index.js.map +1 -1
- app-ng-runtime/components/chart/bundles/index.umd.js +1 -1
- app-ng-runtime/components/chart/bundles/index.umd.js.map +1 -1
- app-ng-runtime/components/chart/esm2015/chart.component.js +2 -2
- app-ng-runtime/components/chart/fesm2015/index.js +1 -1
- app-ng-runtime/components/chart/fesm2015/index.js.map +1 -1
- app-ng-runtime/components/containers/wizard/bundles/index.umd.js +43 -2
- app-ng-runtime/components/containers/wizard/bundles/index.umd.js.map +1 -1
- app-ng-runtime/components/containers/wizard/esm2015/wizard-step/wizard-step.props.js +3 -2
- app-ng-runtime/components/containers/wizard/esm2015/wizard.component.js +42 -2
- app-ng-runtime/components/containers/wizard/fesm2015/index.js +43 -2
- app-ng-runtime/components/containers/wizard/fesm2015/index.js.map +1 -1
- app-ng-runtime/components/containers/wizard/index.metadata.json +1 -1
- app-ng-runtime/components/containers/wizard/wizard.component.d.ts +2 -0
- app-ng-runtime/core/bundles/index.umd.js +12 -2
- app-ng-runtime/core/bundles/index.umd.js.map +1 -1
- app-ng-runtime/core/esm2015/services/viewport.service.js +6 -4
- app-ng-runtime/core/esm2015/utils/utils.js +11 -3
- app-ng-runtime/core/fesm2015/index.js +15 -5
- app-ng-runtime/core/fesm2015/index.js.map +1 -1
- app-ng-runtime/core/index.metadata.json +1 -1
- app-ng-runtime/core/utils/utils.d.ts +2 -2
- app-ng-runtime/package.json +1 -1
- app-ng-runtime/runtime/base/bundles/index.umd.js +163 -132
- app-ng-runtime/runtime/base/bundles/index.umd.js.map +1 -1
- app-ng-runtime/runtime/base/esm2015/public_api.js +2 -1
- app-ng-runtime/runtime/base/esm2015/runtime-base.module.js +3 -1
- app-ng-runtime/runtime/base/esm2015/services/app.service.js +3 -1
- app-ng-runtime/runtime/base/esm2015/services/pipe.service.js +33 -0
- app-ng-runtime/runtime/base/fesm2015/index.js +148 -119
- app-ng-runtime/runtime/base/fesm2015/index.js.map +1 -1
- app-ng-runtime/runtime/base/index.metadata.json +1 -1
- app-ng-runtime/runtime/base/public_api.d.ts +1 -0
- 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
|
-
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
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);
|