aq-fe-framework 0.1.128 → 0.1.130

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.
@@ -57,7 +57,7 @@ function MyButtonViewPDF({
57
57
  isActionIcon = false,
58
58
  filePath
59
59
  }) {
60
- var _a, _b;
60
+ var _a, _b, _c, _d;
61
61
  const disc = useDisclosure(false);
62
62
  const fullScreen = useState(false);
63
63
  const hSize = useState("80vh");
@@ -131,10 +131,11 @@ function MyButtonViewPDF({
131
131
  overlayProps: { radius: "sm", blur: 2 }
132
132
  }
133
133
  ),
134
+ (_a = query.data) == null ? void 0 : _a.fileBase64String,
134
135
  query.data ? /* @__PURE__ */ jsx2(
135
136
  "iframe",
136
137
  {
137
- src: `data:application/pdf;base64, ${(_b = (_a = query.data) == null ? void 0 : _a.fileDetail) == null ? void 0 : _b.fileBase64String}`,
138
+ src: `data:application/pdf;base64, ${filePath ? (_b = query.data) == null ? void 0 : _b.fileBase64String : (_d = (_c = query.data) == null ? void 0 : _c.fileDetail) == null ? void 0 : _d.fileBase64String}`,
138
139
  width: "100%",
139
140
  height: "100%"
140
141
  }
@@ -65,7 +65,7 @@ import {
65
65
  useS_BasicAppShell,
66
66
  useS_ButtonImport,
67
67
  utils_layout_getItemsWithoutLinks
68
- } from "../chunk-S6UU4RJT.mjs";
68
+ } from "../chunk-7XEBGCHJ.mjs";
69
69
  import "../chunk-7EHNYA4A.mjs";
70
70
  import "../chunk-Y3YGC5IH.mjs";
71
71
  import "../chunk-CJDXLINF.mjs";
@@ -65,7 +65,7 @@ import {
65
65
  useS_core60524,
66
66
  useS_core83092,
67
67
  utils_core83092_mergePage
68
- } from "../chunk-S6UU4RJT.mjs";
68
+ } from "../chunk-7XEBGCHJ.mjs";
69
69
  import "../chunk-7EHNYA4A.mjs";
70
70
  import "../chunk-Y3YGC5IH.mjs";
71
71
  import "../chunk-CJDXLINF.mjs";
package/package.json CHANGED
@@ -22,7 +22,7 @@
22
22
  "types": "./dist/hooks/index.d.mts"
23
23
  }
24
24
  },
25
- "version": "0.1.128",
25
+ "version": "0.1.130",
26
26
  "private": false,
27
27
  "files": [
28
28
  "dist"