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 CHANGED
@@ -16843,7 +16843,7 @@ function hideDeckChrome(iframe) {
16843
16843
  style.id = "pxe-embed-chrome";
16844
16844
  (doc.head || doc.documentElement).appendChild(style);
16845
16845
  }
16846
- style.textContent = ".nav,.progress-bar,.dots{display:none!important}";
16846
+ 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}";
16847
16847
  } catch {
16848
16848
  }
16849
16849
  }
@@ -18090,7 +18090,7 @@ var PresentationJobCard = ({
18090
18090
  "iframe",
18091
18091
  {
18092
18092
  ref: iframeRef,
18093
- src: formats.html_url,
18093
+ src: `${formats.html_url}#embedded=1`,
18094
18094
  title,
18095
18095
  sandbox: "allow-same-origin allow-scripts",
18096
18096
  onLoad: () => {
@@ -18156,7 +18156,7 @@ var PresentationJobCard = ({
18156
18156
  showFullscreen && hasHtml && /* @__PURE__ */ (0, import_jsx_runtime152.jsx)(
18157
18157
  FullscreenModal,
18158
18158
  {
18159
- url: formats.html_url,
18159
+ url: `${formats.html_url}#embedded=1`,
18160
18160
  title,
18161
18161
  slideCount,
18162
18162
  initialSlide: currentSlide,
@@ -19132,7 +19132,7 @@ var ResearchReportJobCard = (props) => {
19132
19132
  };
19133
19133
  const canApprove = !hideApproval && generationMode === "template" && reviewStatus === "pending_review" && Boolean(job_id);
19134
19134
  const canRegenerate = !hideApproval && generationMode === "template" && reviewStatus === "pending_review" && Boolean(job_id);
19135
- const canShare = Boolean(hasHTML || job_id) && (generationMode !== "template" || reviewStatus !== "pending_review");
19135
+ const canShare = Boolean(hasHTML || job_id);
19136
19136
  const handleApprove = async () => {
19137
19137
  if (!job_id || approving) return;
19138
19138
  const endpoint = approveUrl || `/api/reports/${job_id}/approve`;
@@ -19299,7 +19299,7 @@ var ResearchReportJobCard = (props) => {
19299
19299
  ActionIconButton,
19300
19300
  {
19301
19301
  icon: copied ? /* @__PURE__ */ (0, import_jsx_runtime153.jsx)(CheckIcon, {}) : /* @__PURE__ */ (0, import_jsx_runtime153.jsx)(ShareIcon, {}),
19302
- label: !canShare && reviewStatus === "pending_review" ? "Approve the report to enable sharing" : copied ? "Copied!" : "Copy shareable link",
19302
+ label: copied ? "Copied!" : "Copy shareable link",
19303
19303
  onClick: handleShare,
19304
19304
  disabled: !canShare,
19305
19305
  active: copied