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 = (
|
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-
|
68
|
+
} from "../chunk-7XEBGCHJ.mjs";
|
69
69
|
import "../chunk-7EHNYA4A.mjs";
|
70
70
|
import "../chunk-Y3YGC5IH.mjs";
|
71
71
|
import "../chunk-CJDXLINF.mjs";
|