aq-fe-framework 0.1.128 → 0.1.129

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;
61
61
  const disc = useDisclosure(false);
62
62
  const fullScreen = useState(false);
63
63
  const hSize = useState("80vh");
@@ -134,7 +134,7 @@ function MyButtonViewPDF({
134
134
  query.data ? /* @__PURE__ */ jsx2(
135
135
  "iframe",
136
136
  {
137
- src: `data:application/pdf;base64, ${(_b = (_a = query.data) == null ? void 0 : _a.fileDetail) == null ? void 0 : _b.fileBase64String}`,
137
+ src: `data:application/pdf;base64, ${filePath ? (_a = query.data) == null ? void 0 : _a.fileBase64String : (_c = (_b = query.data) == null ? void 0 : _b.fileDetail) == null ? void 0 : _c.fileBase64String}`,
138
138
  width: "100%",
139
139
  height: "100%"
140
140
  }
@@ -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-7GAQYHTL.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-7GAQYHTL.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.129",
26
26
  "private": false,
27
27
  "files": [
28
28
  "dist"