pollination-react-io 1.77.0 → 1.77.2

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.
@@ -56119,22 +56119,22 @@ var FileCard = function (_a) {
56119
56119
  onClicked({ label: label, path: path, file: currFile, description: description });
56120
56120
  } },
56121
56121
  React__default.createElement("div", { className: 'title-param' },
56122
- React__default.createElement("div", { style: { float: 'left', margin: '0 8px 0 0' } }, (!isLoading || loading) ? React__default.createElement("div", { title: !isInactive
56122
+ React__default.createElement("div", { style: { float: 'left', margin: '0 8px 0 0' } }, !isLoading ? React__default.createElement("div", { title: !isInactive
56123
56123
  ? 'Open the viewer'
56124
56124
  : 'File is missing. Check run workspace' },
56125
56125
  React__default.createElement("span", { style: { margin: '0 8px 0 0' } }, path && getFileIcon(18, ((_c = (_b = path.split('/')
56126
56126
  .reverse()[0]) === null || _b === void 0 ? void 0 : _b.split('.')) === null || _c === void 0 ? void 0 : _c.pop()) || '')),
56127
56127
  label)
56128
56128
  : React__default.createElement(LoadingIcon, { size: 14 })),
56129
- React__default.createElement("div", { style: { textAlign: 'right' } },
56130
- filename && filename.endsWith('vsf') &&
56131
- 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) {
56129
+ !isLoading && React__default.createElement("div", { style: { textAlign: 'right' } },
56130
+ (filename && filename.endsWith('vsf')) && (loading ? React__default.createElement(LoadingIcon, { size: 14 }) :
56131
+ (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
56132
  if (!html)
56133
56133
  return;
56134
56134
  event.stopPropagation();
56135
56135
  download(html, "".concat(label, ".html"));
56136
56136
  } },
56137
- React__default.createElement(FiletypeHtml$1, { size: 14, style: htmlOver ? { color: '#40a9ff' } : {} })),
56137
+ React__default.createElement(FiletypeHtml$1, { size: 14, style: htmlOver ? { color: '#40a9ff' } : {} })))),
56138
56138
  React__default.createElement("button", { style: { all: 'unset', margin: '0 0 0 8px' }, title: 'Download', onMouseOver: function () { return setInfoOver(true); }, onMouseLeave: function () { return setInfoOver(false); }, onClick: function (event) {
56139
56139
  if (!currFile || !path)
56140
56140
  return;