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.js
CHANGED
@@ -56067,7 +56067,9 @@ var FileCard = function (_a) {
|
|
56067
56067
|
res.blob()
|
56068
56068
|
.then(function (blob) {
|
56069
56069
|
setCurrFile(blob);
|
56070
|
-
|
56070
|
+
if (path === null || path === void 0 ? void 0 : path.endsWith('vsf')) {
|
56071
|
+
fetchHTML(blob);
|
56072
|
+
}
|
56071
56073
|
setCADintegration(blob);
|
56072
56074
|
setIsLoading(false);
|
56073
56075
|
setIsInactive(false);
|
@@ -56158,6 +56160,7 @@ var FileCard = function (_a) {
|
|
56158
56160
|
(React__default["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) {
|
56159
56161
|
if (!html)
|
56160
56162
|
return;
|
56163
|
+
setHtmlOver(false);
|
56161
56164
|
event.stopPropagation();
|
56162
56165
|
download(html, "".concat(label, ".html"));
|
56163
56166
|
} },
|