aq-fe-framework 0.1.132 → 0.1.134
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, _c
|
60
|
+
var _a, _b, _c;
|
61
61
|
const disc = useDisclosure(false);
|
62
62
|
const fullScreen = useState(false);
|
63
63
|
const hSize = useState("80vh");
|
@@ -131,11 +131,10 @@ function MyButtonViewPDF({
|
|
131
131
|
overlayProps: { radius: "sm", blur: 2 }
|
132
132
|
}
|
133
133
|
),
|
134
|
-
(_a = query.data) == null ? void 0 : _a.fileBase64String,
|
135
134
|
query.data ? /* @__PURE__ */ jsx2(
|
136
135
|
"iframe",
|
137
136
|
{
|
138
|
-
src: `data:application/pdf;base64, ${filePath ? (
|
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}`,
|
139
138
|
width: "100%",
|
140
139
|
height: "100%"
|
141
140
|
}
|
@@ -564,7 +563,13 @@ function MyActionIconUpdate(_a) {
|
|
564
563
|
mutation.mutate(values);
|
565
564
|
}), children: /* @__PURE__ */ jsxs5(MyFlexColumn, { children: [
|
566
565
|
children,
|
567
|
-
/* @__PURE__ */ jsx9(
|
566
|
+
/* @__PURE__ */ jsx9(
|
567
|
+
MyButton,
|
568
|
+
{
|
569
|
+
type: "submit",
|
570
|
+
crudType: "save"
|
571
|
+
}
|
572
|
+
)
|
568
573
|
] }) }) }));
|
569
574
|
}
|
570
575
|
|
@@ -65,7 +65,7 @@ import {
|
|
65
65
|
useS_BasicAppShell,
|
66
66
|
useS_ButtonImport,
|
67
67
|
utils_layout_getItemsWithoutLinks
|
68
|
-
} from "../chunk-
|
68
|
+
} from "../chunk-QN4YXDKT.mjs";
|
69
69
|
import "../chunk-7EHNYA4A.mjs";
|
70
70
|
import "../chunk-Y3YGC5IH.mjs";
|
71
71
|
import "../chunk-CJDXLINF.mjs";
|