@boltic/swirl 1.0.2-sit.51 → 1.0.2-sit.53

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/swirl.es.js CHANGED
@@ -34107,10 +34107,7 @@ const Ls = (e) => e && typeof window < "u" ? Rq.sanitize(e, {
34107
34107
  };
34108
34108
  p === !0 && (C.run_with_previous_node = !0);
34109
34109
  const w = await or.post(b, {
34110
- data: C,
34111
- headers: {
34112
- "x-request-source": "workflow"
34113
- }
34110
+ data: C
34114
34111
  }), _ = w.data?.data?.execution_id;
34115
34112
  if (h && _ && c) {
34116
34113
  t({
@@ -105353,8 +105350,7 @@ const rI = (e) => !e.field || typeof e.field == "object" && Object.keys(e.field)
105353
105350
  current_query: ar
105354
105351
  },
105355
105352
  headers: {
105356
- "Content-Type": "application/json",
105357
- "x-request-source": "workflow"
105353
+ "Content-Type": "application/json"
105358
105354
  }
105359
105355
  };
105360
105356
  try {
@@ -117970,7 +117966,9 @@ const pWe = /* @__PURE__ */ Si(fWe), hWe = Hr((e, t) => {
117970
117966
  const $ = j.map((Q) => I.current.find((K) => K.id === Q)).filter(Boolean);
117971
117967
  $.length && P(
117972
117968
  "properties.events",
117973
- $.map((Q) => ({ slug: `${Q.event_name}/${Q.event_type}` }))
117969
+ $.map((Q) => ({
117970
+ slug: `${Q.event_category}/${Q.event_name}/${Q.event_type}/v${Q.version}`
117971
+ }))
117974
117972
  );
117975
117973
  }, [h]);
117976
117974
  const X = (j) => Tt(j) ? [] : M.event_details?.event_category === "application" ? Object.keys(j.application).map(($) => ({
@@ -117983,7 +117981,8 @@ const pWe = /* @__PURE__ */ Si(fWe), hWe = Hr((e, t) => {
117983
117981
  title: j.event_type,
117984
117982
  value: j.id,
117985
117983
  event_name: j.event_name,
117986
- event_type: j.event_type
117984
+ event_type: j.event_type,
117985
+ event_category: j.event_category
117987
117986
  })) : [];
117988
117987
  return /* @__PURE__ */ f.jsxs(le, { gap: 2.5, children: [
117989
117988
  /* @__PURE__ */ f.jsx(Vo, { children: /* @__PURE__ */ f.jsx(
@@ -118154,17 +118153,19 @@ const pWe = /* @__PURE__ */ Si(fWe), hWe = Hr((e, t) => {
118154
118153
  multiple: !0,
118155
118154
  placeholder: "Select Events",
118156
118155
  handleChange: (j) => {
118157
- const { value: $ } = j, Q = $.map((Y) => {
118158
- const ae = z.find(
118159
- (G) => G.value === Y
118156
+ const { value: $ } = j, Q = M.version, K = $.map((ae) => {
118157
+ const G = z.find(
118158
+ (re) => re.value === ae
118160
118159
  );
118161
- return { slug: `${ae?.event_name}/${ae?.event_type}` };
118160
+ return {
118161
+ slug: `${G?.event_category}/${G?.event_name}/${G?.event_type}/v${Q}`
118162
+ };
118162
118163
  });
118163
- P("properties.events", Q);
118164
- const K = z.find(
118165
- (Y) => Y.value === $?.[0]
118164
+ P("properties.events", K);
118165
+ const Y = z.find(
118166
+ (ae) => ae.value === $?.[0]
118166
118167
  );
118167
- P("properties.event_details.event_type", K?.title);
118168
+ P("properties.event_details.event_type", Y?.title);
118168
118169
  },
118169
118170
  getSelectedValue: (j) => j.map(
118170
118171
  ($) => z.find(