@wavemaker/app-ng-runtime 11.6.0-next.26294 → 11.6.0-next.26299
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/package.json +1 -1
- app-ng-runtime/runtime/base/bundles/index.umd.js +4 -1
- app-ng-runtime/runtime/base/esm2020/components/base-page.component.mjs +5 -3
- app-ng-runtime/runtime/base/fesm2015/index.mjs +5 -2
- app-ng-runtime/runtime/base/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/runtime/base/fesm2020/index.mjs +4 -2
- app-ng-runtime/runtime/base/fesm2020/index.mjs.map +1 -1
|
@@ -5,7 +5,7 @@ import { ActivatedRoute, Router, RouterOutlet, NavigationStart, NavigationEnd, N
|
|
|
5
5
|
import * as i1$2 from '@angular/common';
|
|
6
6
|
import { AsyncPipe, SlicePipe, PercentPipe, I18nPluralPipe, NgLocalization, I18nSelectPipe, KeyValuePipe, UpperCasePipe, LowerCasePipe, JsonPipe, DecimalPipe, TitleCasePipe, CurrencyPipe, DatePipe, DOCUMENT, ɵgetDOM, CommonModule } from '@angular/common';
|
|
7
7
|
import * as i1 from '@wm/core';
|
|
8
|
-
import { $appDigest, isDefined, triggerFn, fetchContent, stringStartsWith, loadStyleSheets, loadScripts, noop as noop$1, App, AbstractI18nService, ScriptLoaderService, Viewport, UtilsService, $invokeWatchers, registerFnByExpr, LRUCache, muteWatchers, AbstractNavigationService, isMobileApp, isIos, isAndroid, unMuteWatchers, $watch, isIE,
|
|
8
|
+
import { $appDigest, isDefined, triggerFn, fetchContent, stringStartsWith, loadStyleSheets, loadScripts, noop as noop$1, App, AbstractI18nService, ScriptLoaderService, Viewport, UtilsService, $invokeWatchers, registerFnByExpr, LRUCache, muteWatchers, AbstractNavigationService, getWmProjectProperties, isMobileApp, isIos, isAndroid, unMuteWatchers, $watch, isIE, CustomPipeManager, getSessionStorageItem, AbstractDialogService, StatePersistence, AbstractSpinnerService, AbstractToasterService, ConstantService, FieldTypeService, FieldWidgetService, DynamicComponentRefProvider, EventNotifier, isString, setCSS, _WM_APP_PROJECT, isMobile, setSessionStorageItem, replace, setPipeProvider, setNgZone, setAppRef, addClass, removeClass, hasCordova, extendProto, $parseExpr, AppDefaults, isObject, isIphone, isIpod, isIpad, CoreModule } from '@wm/core';
|
|
9
9
|
import * as i2 from '@wm/security';
|
|
10
10
|
import { SecurityModule } from '@wm/security';
|
|
11
11
|
import * as i4 from '@wm/variables';
|
|
@@ -1212,8 +1212,10 @@ class BasePageComponent extends FragmentMonitor {
|
|
|
1212
1212
|
this.onReady();
|
|
1213
1213
|
this.appManager.notify('pageReady', { 'name': this.pageName, instance: this });
|
|
1214
1214
|
(this.App.onPageReady || noop$1)(this.pageName, this);
|
|
1215
|
-
|
|
1215
|
+
const homePage = getWmProjectProperties()?.homePage;
|
|
1216
|
+
if (window.top.name !== window.name && homePage === this.pageName) {
|
|
1216
1217
|
window.top.postMessage({ key: 'onHomepageLoad' }, "*");
|
|
1218
|
+
}
|
|
1217
1219
|
}
|
|
1218
1220
|
loadScripts() {
|
|
1219
1221
|
return new Promise((resolve) => {
|