@uxbertlabs/reportly 1.0.16 → 1.0.17
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/features/screenshot.d.ts.map +1 -1
- package/dist/reportly.cjs.js +6 -2
- package/dist/reportly.cjs.js.map +1 -1
- package/dist/reportly.esm.js +6 -2
- package/dist/reportly.esm.js.map +1 -1
- package/dist/reportly.js +6 -2
- package/dist/reportly.js.map +1 -1
- package/dist/reportly.min.js +1 -1
- package/dist/reportly.min.js.map +1 -1
- package/package.json +1 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"screenshot.d.ts","sourceRoot":"","sources":["../../src/features/screenshot.ts"],"names":[],"mappings":"AAGA,cAAM,UAAU;IACd,OAAO,CAAC,iBAAiB,CAAgB;;IAKzC,OAAO,CAAC,IAAI;IAGN,OAAO,CAAC,IAAI,GAAE,UAAU,GAAG,UAAuB,GAAG,OAAO,CAAC,MAAM,CAAC;
|
1
|
+
{"version":3,"file":"screenshot.d.ts","sourceRoot":"","sources":["../../src/features/screenshot.ts"],"names":[],"mappings":"AAGA,cAAM,UAAU;IACd,OAAO,CAAC,iBAAiB,CAAgB;;IAKzC,OAAO,CAAC,IAAI;IAGN,OAAO,CAAC,IAAI,GAAE,UAAU,GAAG,UAAuB,GAAG,OAAO,CAAC,MAAM,CAAC;IA8H1E,OAAO,CAAC,kBAAkB;IAS1B,OAAO,CAAC,kBAAkB;IAY1B,OAAO,CAAC,iBAAiB;IA6DzB,OAAO,CAAC,iBAAiB;IAOzB,aAAa,IAAI,MAAM,GAAG,IAAI;IAI9B,KAAK,IAAI,IAAI;CAGd;AAED,eAAe,UAAU,CAAC"}
|
package/dist/reportly.cjs.js
CHANGED
@@ -9454,8 +9454,6 @@ class Screenshot {
|
|
9454
9454
|
}
|
9455
9455
|
async capture(mode = "fullpage") {
|
9456
9456
|
try {
|
9457
|
-
// Show loading screen
|
9458
|
-
this.showLoadingScreen();
|
9459
9457
|
// Hide UXbert UI elements before capturing
|
9460
9458
|
this.hideUXbertElements();
|
9461
9459
|
const originalScrollY = window.scrollY;
|
@@ -9474,6 +9472,8 @@ class Screenshot {
|
|
9474
9472
|
x: window.scrollX,
|
9475
9473
|
y: window.scrollY,
|
9476
9474
|
onclone: async () => {
|
9475
|
+
// Show loading screen after clone (won't appear in screenshot)
|
9476
|
+
this.showLoadingScreen();
|
9477
9477
|
// Wait 1 second after cloning to let animations complete
|
9478
9478
|
await this.wait(1000);
|
9479
9479
|
},
|
@@ -9514,6 +9514,10 @@ class Screenshot {
|
|
9514
9514
|
logging: false,
|
9515
9515
|
width: fullPageWidth,
|
9516
9516
|
height: fullPageHeight,
|
9517
|
+
onclone: async () => {
|
9518
|
+
// Show loading screen after clone (won't appear in screenshot)
|
9519
|
+
this.showLoadingScreen();
|
9520
|
+
},
|
9517
9521
|
ignoreElements: (element) => {
|
9518
9522
|
// Skip cross-origin images that might cause issues
|
9519
9523
|
if (element.tagName === "IMG") {
|