@sparrowengg/integrations-templates-frontend 1.9.84-beta.22 → 1.9.84-beta.23

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.
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var cjs = {};
3
+ var lib = {};
4
4
 
5
- exports.__exports = cjs;
5
+ exports.__exports = lib;
6
6
  //# sourceMappingURL=index8.js.map
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var lib = {};
3
+ var cjs = {};
4
4
 
5
- exports.__exports = lib;
5
+ exports.__exports = cjs;
6
6
  //# sourceMappingURL=index9.js.map
@@ -1055,7 +1055,7 @@ const EventComponent = ({
1055
1055
  marginInline: "$4"
1056
1056
  }
1057
1057
  }
1058
- )), /* @__PURE__ */ React.createElement(flex.Flex, { gap: "$2" }, /* @__PURE__ */ React.createElement(text.Text, { size: "sm", css: { color: "$neutral700" } }, heading), !!hasLink ? /* @__PURE__ */ React.createElement(
1058
+ )), /* @__PURE__ */ React.createElement(flex.Flex, { gap: "$2" }, /* @__PURE__ */ React.createElement(text.Text, { size: "sm", css: { color: "$neutral700" } }, heading, " :"), !!hasLink ? /* @__PURE__ */ React.createElement(
1059
1059
  text.Text,
1060
1060
  {
1061
1061
  size: "sm",
@@ -1077,8 +1077,8 @@ const SingleMappingEventWrapper = ({
1077
1077
  field,
1078
1078
  isTrigger
1079
1079
  }) => {
1080
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D;
1081
- const hasEventSection = !!((_c = (_b = (_a = field == null ? void 0 : field.configurationFields) == null ? void 0 : _a.account) == null ? void 0 : _b.value) == null ? void 0 : _c.label) || !!field.action || !!field.exisitingSheet || !!field.object && isTrigger;
1080
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G, _H, _I, _J, _K;
1081
+ const hasEventSection = !!((_c = (_b = (_a = field == null ? void 0 : field.configurationFields) == null ? void 0 : _a.account) == null ? void 0 : _b.value) == null ? void 0 : _c.label) || !!field.action || !!field.exisitingSheet || !!(field == null ? void 0 : field.configurationFields) || !!field.object && isTrigger;
1082
1082
  return /* @__PURE__ */ React.createElement(React.Fragment, null, hasEventSection ? /* @__PURE__ */ React.createElement(flex.Flex, { flexDirection: "column", gap: "$6" }, /* @__PURE__ */ React.createElement(text.Text, { size: "sm", weight: "bold", css: { textTransform: "uppercase" } }, "Event"), /* @__PURE__ */ React.createElement(flex.Flex, { alignItems: "center" }, !!((_f = (_e = (_d = field == null ? void 0 : field.configurationFields) == null ? void 0 : _d.account) == null ? void 0 : _e.value) == null ? void 0 : _f.label) ? /* @__PURE__ */ React.createElement(
1083
1083
  EventComponent,
1084
1084
  {
@@ -1106,6 +1106,14 @@ const SingleMappingEventWrapper = ({
1106
1106
  heading: "Sheet:",
1107
1107
  description: typeof ((_y = field == null ? void 0 : field.configurationFields) == null ? void 0 : _y.spreadsheet) === "object" ? (_B = (_A = (_z = field == null ? void 0 : field.configurationFields) == null ? void 0 : _z.spreadsheet) == null ? void 0 : _A.value) == null ? void 0 : _B.label : (_D = (_C = field == null ? void 0 : field.configurationFields) == null ? void 0 : _C.spreadsheet) == null ? void 0 : _D.value
1108
1108
  }
1109
+ ) : null, !!((_E = field == null ? void 0 : field.configurationFields) == null ? void 0 : _E.reference) ? /* @__PURE__ */ React.createElement(
1110
+ EventComponent,
1111
+ {
1112
+ hasLink: (_G = (_F = field == null ? void 0 : field.configurationFields) == null ? void 0 : _F.reference) == null ? void 0 : _G.referenceURL,
1113
+ hasBorder: false,
1114
+ heading: (_I = (_H = field == null ? void 0 : field.configurationFields) == null ? void 0 : _H.reference) == null ? void 0 : _I.title,
1115
+ description: (_K = (_J = field == null ? void 0 : field.configurationFields) == null ? void 0 : _J.reference) == null ? void 0 : _K.description
1116
+ }
1109
1117
  ) : null), /* @__PURE__ */ React.createElement(
1110
1118
  box.Box,
1111
1119
  {