@evlop/commons 1.0.243 → 1.0.245
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/edl/index.d.ts.map +1 -1
- package/dist/src/edl/index.js +2 -0
- package/dist/src/edl/index.js.map +1 -1
- package/dist/src/middlewares/platformEventsMiddleware.d.ts.map +1 -1
- package/dist/src/middlewares/platformEventsMiddleware.js +46 -2
- package/dist/src/middlewares/platformEventsMiddleware.js.map +1 -1
- package/package.json +1 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/edl/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAiB9D,aAAK,yBAAyB,GAAG;IAC/B,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB,CAAA;AAOD,aAAK,kBAAkB,GAAG,MAAM,GAAG,CAAC,SAAS,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,CAAC,CAAC;AAS7E,aAAK,UAAU,GAAG;IAChB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,CAAA;AASD,iBAAS,eAAe,CAAC,IAAI,KAAA,EAAE,OAAO,KAAA,QAErC;AAED,iBAAS,gBAAgB,CAAC,WAAW,KAAA,QAEpC;AAGD,iBAAS,6BAA6B,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,QAG9D;AAED,iBAAS,8BAA8B,CAAC,gBAAgB,EAAE,yBAAyB,QAGlF;AAED,iBAAS,0BAA0B,CAAC,KAAK,EAAE,kBAAkB,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/edl/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAiB9D,aAAK,yBAAyB,GAAG;IAC/B,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB,CAAA;AAOD,aAAK,kBAAkB,GAAG,MAAM,GAAG,CAAC,SAAS,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,CAAC,CAAC;AAS7E,aAAK,UAAU,GAAG;IAChB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,CAAA;AASD,iBAAS,eAAe,CAAC,IAAI,KAAA,EAAE,OAAO,KAAA,QAErC;AAED,iBAAS,gBAAgB,CAAC,WAAW,KAAA,QAEpC;AAGD,iBAAS,6BAA6B,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,QAG9D;AAED,iBAAS,8BAA8B,CAAC,gBAAgB,EAAE,yBAAyB,QAGlF;AAED,iBAAS,0BAA0B,CAAC,KAAK,EAAE,kBAAkB,QAS5D;AAED,iBAAS,2BAA2B,CAAC,MAAM,EAAE,kBAAkB,EAAE,QAEhE;AAED,iBAAS,UAAU,CAAC,UAAU,EAAE,UAAU,QAEzC;AAkED,eAAO,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAaf,CAAC;AAEF,eAAe,GAAG,CAAC"}
|
package/dist/src/edl/index.js
CHANGED
@@ -73,10 +73,12 @@ function registerRenderContextVariables(newContextValues) {
|
|
73
73
|
function registerRenderContextScope(scope) {
|
74
74
|
if (typeof scope === 'string') {
|
75
75
|
renderContextScopes[scope] = scope;
|
76
|
+
renderContextVariables.add(scope);
|
76
77
|
}
|
77
78
|
else if (Array.isArray(scope)) {
|
78
79
|
const [scopeName, variableName] = scope;
|
79
80
|
renderContextScopes[variableName] = scopeName;
|
81
|
+
renderContextVariables.add(variableName);
|
80
82
|
}
|
81
83
|
}
|
82
84
|
function registerRenderContextScopes(scopes) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/edl/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mCAAyD;AACzD,+CAA8D;AAC9D,0EAAkD;AAClD,0DAAsC;AACtC,oEAA+C;AAC/C,sDAAgC;AAChC,wCAAyC;AACzC,oCAAmD;AACnD,k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AAI,EAAE,IAAI,EAAE,UAAU,EAAE,UAAU,EAAE,iBAAiB,EAAE,iBAAiB,GAAI,CAAC,CAC/I,EAAE,CAAC,WAAW,CAAC,CAAC,CAAA;IAEjB,MAAM,cAAc,GAAG,eAAO,CAAC,GAAE,EAAE,CAAA,gBAAgB,CAAC,YAAY,CAAC,MAAM,EAAE,aAAa,EAAE,IAAI,CAAC,EAAE,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC,CAAA;IAEvH,OAAO,eAAO,CAAC,GAAE,EAAE,CAAA,8BAAC,wBAAW,IAAC,KAAK,EAAE,EAAC,cAAc,EAAC,EAAE,QAAQ,EAAE,CAAC,GAAG,iBAAiB,EAAE,GAAG,cAAc,CAAC,GAAI,EAAE,CAAC,iBAAiB,EAAE,cAAc,CAAC,CAAC,CAAC;AACzJ,CAAC,CAAC;AAEW,QAAA,GAAG,GAAG;IACf,MAAM,EAAE,SAAS;IACjB,eAAe;IACf,gBAAgB;IAChB,oBAAoB,EAAE,6BAA6B;IACnD,qBAAqB,EAAE,8BAA8B;IACrD,6BAA6B;IAC7B,8BAA8B;IAC9B,2BAA2B;IAC3B,0BAA0B;IAC1B,UAAU;IACV,QAAQ,EAAE,WAAW;IACrB,KAAK,EAAE,gBAAgB;CAC1B,CAAC;AAEF,kBAAe,WAAG,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"platformEventsMiddleware.d.ts","sourceRoot":"","sources":["../../../src/middlewares/platformEventsMiddleware.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"platformEventsMiddleware.d.ts","sourceRoot":"","sources":["../../../src/middlewares/platformEventsMiddleware.tsx"],"names":[],"mappings":"AA8CA,eAAO,MAAM,wBAAwB;qBAA8B,GAAG,KAAK,IAAI;aAkB7D,GAAG,cAAc,GAAG,QACrC,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
|
@@ -1,14 +1,58 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.platformEventsMiddleware = void 0;
|
4
|
+
const TYPE_REDUX_ACTION = 'REDUX_ACTION';
|
5
|
+
const TYPE_CAPTURE_SCREENSHOT = 'CAPTURE_SCREENSHOT';
|
6
|
+
async function captureScreenshot() {
|
7
|
+
// Dynamically load html2canvas if not already loaded
|
8
|
+
if (!window.html2canvas) {
|
9
|
+
const script = document.createElement('script');
|
10
|
+
script.src = 'https://html2canvas.hertzen.com/dist/html2canvas.min.js';
|
11
|
+
script.async = true;
|
12
|
+
await new Promise((resolve, reject) => {
|
13
|
+
script.onload = resolve;
|
14
|
+
script.onerror = reject;
|
15
|
+
document.head.appendChild(script);
|
16
|
+
});
|
17
|
+
}
|
18
|
+
try {
|
19
|
+
// Get viewport dimensions
|
20
|
+
const viewportWidth = window.innerWidth;
|
21
|
+
const viewportHeight = window.innerHeight;
|
22
|
+
// Capture the screenshot with viewport options
|
23
|
+
const canvas = await window.html2canvas(document.body, {
|
24
|
+
width: viewportWidth,
|
25
|
+
height: viewportHeight,
|
26
|
+
windowWidth: viewportWidth,
|
27
|
+
windowHeight: viewportHeight,
|
28
|
+
scrollX: window.scrollX,
|
29
|
+
scrollY: window.scrollY,
|
30
|
+
x: window.scrollX,
|
31
|
+
y: window.scrollY
|
32
|
+
});
|
33
|
+
const screenshot = canvas.toDataURL('image/png');
|
34
|
+
window.parent.postMessage({
|
35
|
+
type: 'SCREENSHOT_CAPTURED',
|
36
|
+
data: screenshot
|
37
|
+
}, '*');
|
38
|
+
}
|
39
|
+
catch (error) {
|
40
|
+
console.error('Failed to capture screenshot:', error);
|
41
|
+
}
|
42
|
+
}
|
4
43
|
// listen to window message events and pass to redux
|
5
44
|
const platformEventsMiddleware = (store) => {
|
6
45
|
if (typeof window.addEventListener === 'function') {
|
7
46
|
window.addEventListener('message', (message) => {
|
8
47
|
try {
|
9
48
|
const messageObject = typeof message.data === 'string' ? JSON.parse(message.data) : message.data;
|
10
|
-
|
11
|
-
|
49
|
+
switch (messageObject.type) {
|
50
|
+
case TYPE_REDUX_ACTION:
|
51
|
+
store.dispatch(messageObject.action);
|
52
|
+
break;
|
53
|
+
case TYPE_CAPTURE_SCREENSHOT:
|
54
|
+
captureScreenshot();
|
55
|
+
break;
|
12
56
|
}
|
13
57
|
}
|
14
58
|
catch (e) { }
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"platformEventsMiddleware.js","sourceRoot":"","sources":["../../../src/middlewares/platformEventsMiddleware.tsx"],"names":[],"mappings":";;;AAAA,oDAAoD;AAC7C,MAAM,wBAAwB,GAAG,CAAC,KAAyC,EAAE,EAAE;IAClF,IAAG,OAAO,MAAM,CAAC,gBAAgB,KAAK,UAAU,EAAC;QAC7C,MAAM,CAAC,gBAAgB,CAAC,SAAS,EAAE,CAAC,OAAO,EAAC,EAAE;YAC1C,IAAG;gBACC,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,
|
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;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