pxengine 0.1.144 → 0.1.145
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/index.cjs +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.map +1 -1
- package/dist/registry.json +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -16500,7 +16500,7 @@ function hideDeckChrome(iframe) {
|
|
|
16500
16500
|
style.id = "pxe-embed-chrome";
|
|
16501
16501
|
(doc.head || doc.documentElement).appendChild(style);
|
|
16502
16502
|
}
|
|
16503
|
-
style.textContent = "
|
|
16503
|
+
style.textContent = "body>nav,body>.progress-bar,body>[class*='nav' i],body>[class*='pagination' i],body>[class*='slide-counter' i],body>[class*='dots' i]{display:none!important}";
|
|
16504
16504
|
} catch {
|
|
16505
16505
|
}
|
|
16506
16506
|
}
|
|
@@ -17747,7 +17747,7 @@ var PresentationJobCard = ({
|
|
|
17747
17747
|
"iframe",
|
|
17748
17748
|
{
|
|
17749
17749
|
ref: iframeRef,
|
|
17750
|
-
src: formats.html_url
|
|
17750
|
+
src: `${formats.html_url}#embedded=1`,
|
|
17751
17751
|
title,
|
|
17752
17752
|
sandbox: "allow-same-origin allow-scripts",
|
|
17753
17753
|
onLoad: () => {
|
|
@@ -17813,7 +17813,7 @@ var PresentationJobCard = ({
|
|
|
17813
17813
|
showFullscreen && hasHtml && /* @__PURE__ */ jsx152(
|
|
17814
17814
|
FullscreenModal,
|
|
17815
17815
|
{
|
|
17816
|
-
url: formats.html_url
|
|
17816
|
+
url: `${formats.html_url}#embedded=1`,
|
|
17817
17817
|
title,
|
|
17818
17818
|
slideCount,
|
|
17819
17819
|
initialSlide: currentSlide,
|
|
@@ -18789,7 +18789,7 @@ var ResearchReportJobCard = (props) => {
|
|
|
18789
18789
|
};
|
|
18790
18790
|
const canApprove = !hideApproval && generationMode === "template" && reviewStatus === "pending_review" && Boolean(job_id);
|
|
18791
18791
|
const canRegenerate = !hideApproval && generationMode === "template" && reviewStatus === "pending_review" && Boolean(job_id);
|
|
18792
|
-
const canShare = Boolean(hasHTML || job_id)
|
|
18792
|
+
const canShare = Boolean(hasHTML || job_id);
|
|
18793
18793
|
const handleApprove = async () => {
|
|
18794
18794
|
if (!job_id || approving) return;
|
|
18795
18795
|
const endpoint = approveUrl || `/api/reports/${job_id}/approve`;
|
|
@@ -18956,7 +18956,7 @@ var ResearchReportJobCard = (props) => {
|
|
|
18956
18956
|
ActionIconButton,
|
|
18957
18957
|
{
|
|
18958
18958
|
icon: copied ? /* @__PURE__ */ jsx153(CheckIcon, {}) : /* @__PURE__ */ jsx153(ShareIcon, {}),
|
|
18959
|
-
label:
|
|
18959
|
+
label: copied ? "Copied!" : "Copy shareable link",
|
|
18960
18960
|
onClick: handleShare,
|
|
18961
18961
|
disabled: !canShare,
|
|
18962
18962
|
active: copied
|