pollination-react-io 1.77.2 → 1.77.4
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/build/index.esm.js +4 -1
- package/build/index.esm.js.map +1 -1
- package/build/index.js +4 -1
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.esm.js
CHANGED
@@ -56040,7 +56040,9 @@ var FileCard = function (_a) {
|
|
56040
56040
|
res.blob()
|
56041
56041
|
.then(function (blob) {
|
56042
56042
|
setCurrFile(blob);
|
56043
|
-
|
56043
|
+
if (path === null || path === void 0 ? void 0 : path.endsWith('vsf')) {
|
56044
|
+
fetchHTML(blob);
|
56045
|
+
}
|
56044
56046
|
setCADintegration(blob);
|
56045
56047
|
setIsLoading(false);
|
56046
56048
|
setIsInactive(false);
|
@@ -56131,6 +56133,7 @@ var FileCard = function (_a) {
|
|
56131
56133
|
(React__default.createElement("button", { style: { all: 'unset', margin: '0 0 0 8px' }, title: 'Download HTML', onMouseOver: function () { return setHtmlOver(true); }, onMouseLeave: function () { return setHtmlOver(false); }, onClick: function (event) {
|
56132
56134
|
if (!html)
|
56133
56135
|
return;
|
56136
|
+
setHtmlOver(false);
|
56134
56137
|
event.stopPropagation();
|
56135
56138
|
download(html, "".concat(label, ".html"));
|
56136
56139
|
} },
|