pollination-react-io 1.53.2 → 1.53.3

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.
@@ -46515,6 +46515,13 @@ var SendGeometry = function (_a) {
46515
46515
  });
46516
46516
  };
46517
46517
  }, [disabled, geometry, geometryOptions, key, selOpt, sendMessage]);
46518
+ var helpTextButton = {
46519
+ add: "Add geometry to the ".concat(host, " viewport"),
46520
+ preview: "Preview geometry in the ".concat(host, " viewport"),
46521
+ delete: "Delete geometry from the ".concat(host, " viewport"),
46522
+ clear: "Clear geometry from the ".concat(host, " viewport"),
46523
+ 'subscribe-preview': "Render geometry in the ".concat(host, " viewport"),
46524
+ };
46518
46525
  return (React__default.createElement(SettingsButton, { style: style, disabled: disabled, onClick: function (e) {
46519
46526
  e.stopPropagation();
46520
46527
  if (disabled)
@@ -46589,7 +46596,7 @@ var SendGeometry = function (_a) {
46589
46596
  return true;
46590
46597
  return typeof optionsConfig[o.id] === 'undefined' ? true : optionsConfig[o.id];
46591
46598
  }),
46592
- }], asButtons: true, label: buttonLabel, helpText: "".concat(selOpt ? selOpt.charAt(0).toUpperCase() + selOpt.replace('-', ' ').slice(1) : 'Send', " geometry to ").concat(host, " scene") }));
46599
+ }], asButtons: true, label: buttonLabel, helpText: helpTextButton[selOpt] }));
46593
46600
  };
46594
46601
 
46595
46602
  var Action$1;
@@ -46650,6 +46657,13 @@ var SendModel = function (_a) {
46650
46657
  });
46651
46658
  };
46652
46659
  }, [disabled, hbjson, key, selOpt, sendHbjson]);
46660
+ var helpTextButton = {
46661
+ add: "Add model to the ".concat(host, " viewport"),
46662
+ preview: "Preview model in the ".concat(host, " viewport"),
46663
+ delete: "Delete model from the ".concat(host, " viewport"),
46664
+ clear: "Clear model from the ".concat(host, " viewport"),
46665
+ 'subscribe-preview': "Render model in the ".concat(host, " viewport"),
46666
+ };
46653
46667
  return (React__default.createElement(SettingsButton, { style: style, disabled: disabled, onClick: function (e) {
46654
46668
  e.stopPropagation();
46655
46669
  if (disabled)
@@ -46716,7 +46730,7 @@ var SendModel = function (_a) {
46716
46730
  return true;
46717
46731
  return typeof optionsConfig[o.id] === 'undefined' ? true : optionsConfig[o.id];
46718
46732
  }),
46719
- }], asButtons: true, label: buttonLabel, helpText: "".concat(selOpt ? selOpt.charAt(0).toUpperCase() + selOpt.replace('-', ' ').slice(1) : 'Send', " model to ").concat(host, " scene") }));
46733
+ }], asButtons: true, label: buttonLabel, helpText: helpTextButton[selOpt] }));
46720
46734
  };
46721
46735
 
46722
46736
  var Action;
@@ -46776,6 +46790,13 @@ var SendResults = function (_a) {
46776
46790
  });
46777
46791
  };
46778
46792
  }, [disabled, geometryOptions, key, results, selOpt, sendMessage]);
46793
+ var helpTextButton = {
46794
+ add: "Add results to the ".concat(host, " viewport"),
46795
+ preview: "Preview results in the ".concat(host, " viewport"),
46796
+ delete: "Delete results from the ".concat(host, " viewport"),
46797
+ clear: "Clear results from the ".concat(host, " viewport"),
46798
+ 'subscribe-preview': "Render results in the ".concat(host, " viewport"),
46799
+ };
46779
46800
  return (React__default.createElement(SettingsButton, { style: style, disabled: disabled, onClick: function (e) {
46780
46801
  e.stopPropagation();
46781
46802
  if (disabled)
@@ -46850,7 +46871,7 @@ var SendResults = function (_a) {
46850
46871
  return true;
46851
46872
  return typeof optionsConfig[o.id] === 'undefined' ? true : optionsConfig[o.id];
46852
46873
  }),
46853
- }], asButtons: true, label: buttonLabel, helpText: "".concat(selOpt ? selOpt.charAt(0).toUpperCase() + selOpt.replace('-', ' ').slice(1) : 'Send', " results to ").concat(host, " scene") }));
46874
+ }], asButtons: true, label: buttonLabel, helpText: helpTextButton[selOpt] }));
46854
46875
  };
46855
46876
 
46856
46877
  var JobTabs;