@evlop/commons 1.0.248 → 1.0.249
Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"platformEventsMiddleware.d.ts","sourceRoot":"","sources":["../../../src/middlewares/platformEventsMiddleware.tsx"],"names":[],"mappings":"AA8CA,eAAO,MAAM,wBAAwB;qBAA8B,GAAG,KAAK,IAAI;
|
1
|
+
{"version":3,"file":"platformEventsMiddleware.d.ts","sourceRoot":"","sources":["../../../src/middlewares/platformEventsMiddleware.tsx"],"names":[],"mappings":"AA8CA,eAAO,MAAM,wBAAwB;qBAA8B,GAAG,KAAK,IAAI;aAwB7D,GAAG,cAAc,GAAG,QACrC,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
|
@@ -57,10 +57,12 @@ const platformEventsMiddleware = (store) => {
|
|
57
57
|
}
|
58
58
|
catch (e) { }
|
59
59
|
});
|
60
|
-
// Send LOAD_COMPLETED message to parent window if it exists
|
61
60
|
if (window.parent !== window) {
|
62
61
|
window.parent.postMessage({ type: 'LOAD_COMPLETED' }, '*');
|
63
62
|
}
|
63
|
+
if (window.opener) {
|
64
|
+
window.opener.postMessage({ type: 'LOAD_COMPLETED' }, '*');
|
65
|
+
}
|
64
66
|
}
|
65
67
|
return (next) => (action) => next(action);
|
66
68
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"platformEventsMiddleware.js","sourceRoot":"","sources":["../../../src/middlewares/platformEventsMiddleware.tsx"],"names":[],"mappings":";;;AAAA,MAAM,iBAAiB,GAAG,cAAc,CAAC;AACzC,MAAM,uBAAuB,GAAG,oBAAoB,CAAC;AAErD,KAAK,UAAU,iBAAiB;IAC5B,qDAAqD;IACrD,IAAI,CAAE,MAAc,CAAC,WAAW,EAAE;QAC9B,MAAM,MAAM,GAAG,QAAQ,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;QAChD,MAAM,CAAC,GAAG,GAAG,yDAAyD,CAAC;QACvE,MAAM,CAAC,KAAK,GAAG,IAAI,CAA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ACC,MAAM,aAAa,GAAG,OAAO,OAAO,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;gBACjG,QAAO,aAAa,CAAC,IAAI,EAAC;oBACtB,KAAK,iBAAiB;wBAClB,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC;wBACrC,MAAM;oBACV,KAAK,uBAAuB;wBACxB,iBAAiB,EAAE,CAAC;wBACpB,MAAM;iBACb;aACJ;YAAC,OAAM,CAAC,EAAC,GAAE;QAChB,CAAC,CAAC,CAAC;QAEH,
|
1
|
+
{"version":3,"file":"platformEventsMiddleware.js","sourceRoot":"","sources":["../../../src/middlewares/platformEventsMiddleware.tsx"],"names":[],"mappings":";;;AAAA,MAAM,iBAAiB,GAAG,cAAc,CAAC;AACzC,MAAM,uBAAuB,GAAG,oBAAoB,CAAC;AAErD,KAAK,UAAU,iBAAiB;IAC5B,qDAAqD;IACrD,IAAI,CAAE,MAAc,CAAC,WAAW,EAAE;QAC9B,MAAM,MAAM,GAAG,QAAQ,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;QAChD,MAAM,CAAC,GAAG,GAAG,yDAAyD,CAAC;QACvE,MAAM,CAAC,KAAK,GAAG,IAAI,CAAC;QAEpB,MAAM,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;YAClC,MAAM,CAAC,MAAM,GAAG,OAAO,CAAC;YACxB,MAAM,CAAC,OAAO,GAAG,MAAM,CAAC;YACxB,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;QACtC,CAAC,CAAC,CAAC;KACN;IAED,IAAI;QACA,0BAA0B;QAC1B,MAAM,aAAa,GAAG,MAAM,CAAC,UAAU,CAAC;QACxC,MAAM,cAAc,GAAG,MAAM,CAAC,WAAW,CAAC;QAE1C,+CAA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