@evlop/commons 1.0.269 → 1.0.270
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.
- package/dist/cjs/src/edl/parser.js +1 -1
- package/dist/cjs/src/edl/parser.js.map +1 -1
- package/dist/cjs/src/middlewares/platformEventsMiddleware.d.ts.map +1 -1
- package/dist/cjs/src/middlewares/platformEventsMiddleware.js +0 -41
- package/dist/cjs/src/middlewares/platformEventsMiddleware.js.map +1 -1
- package/dist/esm/src/edl/parser.js +1 -1
- package/dist/esm/src/edl/parser.js.map +1 -1
- package/dist/esm/src/middlewares/platformEventsMiddleware.d.ts.map +1 -1
- package/dist/esm/src/middlewares/platformEventsMiddleware.js +0 -41
- package/dist/esm/src/middlewares/platformEventsMiddleware.js.map +1 -1
- package/dist/types/src/middlewares/platformEventsMiddleware.d.ts.map +1 -1
- package/package.json +1 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"parser.js","sourceRoot":"","sources":["../../../../src/edl/parser.ts"],"names":[],"mappings":";;;;;AAAA,2BAAkD;AAClD,mCAAgE;AAChE,0EAAkD;AAElD,MAAM,gBAAgB,GAAG,CAAC,SAAS,EAAE,MAAM,EAAE,gBAAgB,EAAE,UAAU,EAAE,WAAW,EAAE,OAAO,EAAE,gBAAgB,EAAE,cAAc,CAAC,CAAC;AAEnI,MAAM,eAAe,GAAG,IAAI,GAAG,CAAC;IAC9B,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK;IACjE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO;CAC3C,CAAC,CAAC;AAGH,oCAAoC;AACpC,MAAM,eAAe,GAAG,qBAAqB,CAAC;AAE9C,gEAAgE;AAChE,MAAM,cAAc,GAAG,mEAAmE,CAAC;AAE3F,0DAA0D;AAC1D,MAAM,eAAe,GAAG,qGAAqG,CAA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,MAAM,GAAG,CAAC,CAAC,CAAC;gBACvE,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;aACtC;iBAAM;gBACL,oFAAoF;gBACpF,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;aAC/B;YAED,0EAA0E;YAC1E,IAAI,CAAC,aAAa,EAAE;gBAClB,mBAAmB,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;aACtC;SACF;IACH,CAAC,CAAC,CAAC;IACH,OAAO,YAAY,CAAC;AACtB,CAAC;AAGD,kBAAe,QAAQ,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":"AAGA,eAAO,MAAM,wBAAwB;qBAA8B,GAAG,KAAK,IAAI;aAqB7D,GAAG,cAAc,GAAG,QACrC,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
|
@@ -2,44 +2,6 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.platformEventsMiddleware = void 0;
|
4
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
|
-
}
|
43
5
|
// listen to window message events and pass to redux
|
44
6
|
const platformEventsMiddleware = (store) => {
|
45
7
|
if (typeof window.addEventListener === 'function') {
|
@@ -50,9 +12,6 @@ const platformEventsMiddleware = (store) => {
|
|
50
12
|
case TYPE_REDUX_ACTION:
|
51
13
|
store.dispatch(messageObject.action);
|
52
14
|
break;
|
53
|
-
case TYPE_CAPTURE_SCREENSHOT:
|
54
|
-
captureScreenshot();
|
55
|
-
break;
|
56
15
|
}
|
57
16
|
}
|
58
17
|
catch (e) { }
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"platformEventsMiddleware.js","sourceRoot":"","sources":["../../../../src/middlewares/platformEventsMiddleware.tsx"],"names":[],"mappings":";;;AAAA,MAAM,iBAAiB,GAAG,cAAc,CAAC;
|
1
|
+
{"version":3,"file":"platformEventsMiddleware.js","sourceRoot":"","sources":["../../../../src/middlewares/platformEventsMiddleware.tsx"],"names":[],"mappings":";;;AAAA,MAAM,iBAAiB,GAAG,cAAc,CAAC;AAEzC,oDAAoD;AAC7C,MAAM,wBAAwB,GAAG,CAAC,KAAyC,EA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ewares/platformEventsMiddleware.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"platformEventsMiddleware.d.ts","sourceRoot":"","sources":["../../../../src/middlewares/platformEventsMiddleware.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,wBAAwB;qBAA8B,GAAG,KAAK,IAAI;aAqB7D,GAAG,cAAc,GAAG,QACrC,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
|
@@ -1,42 +1,4 @@
|
|
1
1
|
const TYPE_REDUX_ACTION = 'REDUX_ACTION';
|
2
|
-
const TYPE_CAPTURE_SCREENSHOT = 'CAPTURE_SCREENSHOT';
|
3
|
-
async function captureScreenshot() {
|
4
|
-
// Dynamically load html2canvas if not already loaded
|
5
|
-
if (!window.html2canvas) {
|
6
|
-
const script = document.createElement('script');
|
7
|
-
script.src = 'https://html2canvas.hertzen.com/dist/html2canvas.min.js';
|
8
|
-
script.async = true;
|
9
|
-
await new Promise((resolve, reject) => {
|
10
|
-
script.onload = resolve;
|
11
|
-
script.onerror = reject;
|
12
|
-
document.head.appendChild(script);
|
13
|
-
});
|
14
|
-
}
|
15
|
-
try {
|
16
|
-
// Get viewport dimensions
|
17
|
-
const viewportWidth = window.innerWidth;
|
18
|
-
const viewportHeight = window.innerHeight;
|
19
|
-
// Capture the screenshot with viewport options
|
20
|
-
const canvas = await window.html2canvas(document.body, {
|
21
|
-
width: viewportWidth,
|
22
|
-
height: viewportHeight,
|
23
|
-
windowWidth: viewportWidth,
|
24
|
-
windowHeight: viewportHeight,
|
25
|
-
scrollX: window.scrollX,
|
26
|
-
scrollY: window.scrollY,
|
27
|
-
x: window.scrollX,
|
28
|
-
y: window.scrollY
|
29
|
-
});
|
30
|
-
const screenshot = canvas.toDataURL('image/png');
|
31
|
-
window.parent.postMessage({
|
32
|
-
type: 'SCREENSHOT_CAPTURED',
|
33
|
-
data: screenshot
|
34
|
-
}, '*');
|
35
|
-
}
|
36
|
-
catch (error) {
|
37
|
-
console.error('Failed to capture screenshot:', error);
|
38
|
-
}
|
39
|
-
}
|
40
2
|
// listen to window message events and pass to redux
|
41
3
|
export const platformEventsMiddleware = (store) => {
|
42
4
|
if (typeof window.addEventListener === 'function') {
|
@@ -47,9 +9,6 @@ export const platformEventsMiddleware = (store) => {
|
|
47
9
|
case TYPE_REDUX_ACTION:
|
48
10
|
store.dispatch(messageObject.action);
|
49
11
|
break;
|
50
|
-
case TYPE_CAPTURE_SCREENSHOT:
|
51
|
-
captureScreenshot();
|
52
|
-
break;
|
53
12
|
}
|
54
13
|
}
|
55
14
|
catch (e) { }
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"platformEventsMiddleware.js","sourceRoot":"","sources":["../../../../src/middlewares/platformEventsMiddleware.tsx"],"names":[],"mappings":"AAAA,MAAM,iBAAiB,GAAG,cAAc,CAAC;
|
1
|
+
{"version":3,"file":"platformEventsMiddleware.js","sourceRoot":"","sources":["../../../../src/middlewares/platformEventsMiddleware.tsx"],"names":[],"mappings":"AAAA,MAAM,iBAAiB,GAAG,cAAc,CAAC;AAEzC,oDAAoD;AACpD,MAAM,CAAC,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,QAAO,aAAa,CAAC,IAAI,EAAC;oBACtB,KAAK,iBAAiB;wBAClB,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC;wBACrC,MAAM;iBACb;aACJ;YAAC,OAAM,CAAC,EAAC,GAAE;QAChB,CAAC,CAAC,CAAC;QAEH,IAAI,MAAM,CAAC,MAAM,KAAK,MAAM,EAAE;YAC1B,MAAM,CAAC,MAAM,CAAC,WAAW,CAAC,EAAE,IAAI,EAAE,gBAAgB,EAAE,EAAE,GAAG,CAAC,CAAC;SAC9D;QACD,IAAI,MAAM,CAAC,MAAM,EAAE;YACf,MAAM,CAAC,MAAM,CAAC,WAAW,CAAC,EAAE,IAAI,EAAE,gBAAgB,EAAE,EAAE,GAAG,CAAC,CAAC;SAC9D;KACJ;IAED,OAAO,CAAC,IAAS,EAAE,EAAE,CAAC,CAAC,MAAW,EAAE,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;AACxD,CAAC,CAAC;AAEF,eAAe,wBAAwB,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":"AAGA,eAAO,MAAM,wBAAwB;qBAA8B,GAAG,KAAK,IAAI;aAqB7D,GAAG,cAAc,GAAG,QACrC,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
|