@octaviaflow/core 3.1.0-beta.111 → 3.1.0-beta.113

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/dist/workflow.js CHANGED
@@ -2402,6 +2402,7 @@ function FxPanel({
2402
2402
  const mono = category.kind === "function";
2403
2403
  const draggable = !!item.insertValue;
2404
2404
  const isFocused = focusedId === item.id;
2405
+ const showsReference = !!item.insertValue && !item.insertValue.trim().startsWith("ods://");
2405
2406
  const tip = /* @__PURE__ */ jsxs3("span", { className: "ods-flow-fx-panel__tip", children: [
2406
2407
  /* @__PURE__ */ jsxs3("span", { className: "ods-flow-fx-panel__tip-head", children: [
2407
2408
  /* @__PURE__ */ jsx3(
@@ -2417,14 +2418,14 @@ function FxPanel({
2417
2418
  item.valueType && /* @__PURE__ */ jsx3("span", { className: "ods-flow-fx-panel__tip-type", children: item.valueType })
2418
2419
  ] }),
2419
2420
  item.description && /* @__PURE__ */ jsx3("span", { className: "ods-flow-fx-panel__tip-desc", children: item.description }),
2420
- item.insertValue && /* @__PURE__ */ jsx3("span", { className: "ods-flow-fx-panel__tip-ref", children: item.insertValue })
2421
+ showsReference && /* @__PURE__ */ jsx3("span", { className: "ods-flow-fx-panel__tip-ref", children: item.insertValue })
2421
2422
  ] });
2422
2423
  return /* @__PURE__ */ jsx3(
2423
2424
  Tooltip,
2424
2425
  {
2425
2426
  content: tip,
2426
2427
  position: "left",
2427
- disabled: !item.description && !item.insertValue,
2428
+ disabled: !item.description && !showsReference,
2428
2429
  children: /* @__PURE__ */ jsxs3(
2429
2430
  "div",
2430
2431
  {