@boltic/swirl 1.0.2-uat.101 → 1.0.2-uat.103
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 +148 -149
- package/dist/swirl.umd.js +16 -16
- package/package.json +1 -1
package/dist/swirl.es.js
CHANGED
|
@@ -3244,7 +3244,7 @@ function Nue() {
|
|
|
3244
3244
|
function kr(me, je) {
|
|
3245
3245
|
return me && $o(je, us(je), me);
|
|
3246
3246
|
}
|
|
3247
|
-
function
|
|
3247
|
+
function Vn(me, je, ft, Ut, ln, Ur, mn) {
|
|
3248
3248
|
var Rn;
|
|
3249
3249
|
if (Ut && (Rn = Ur ? Ut(me, ln, Ur, mn) : Ut(me)), Rn !== void 0)
|
|
3250
3250
|
return Rn;
|
|
@@ -3266,7 +3266,7 @@ function Nue() {
|
|
|
3266
3266
|
} else {
|
|
3267
3267
|
if (!L[Yn])
|
|
3268
3268
|
return Ur ? me : {};
|
|
3269
|
-
Rn = pi(me, Yn,
|
|
3269
|
+
Rn = pi(me, Yn, Vn, je);
|
|
3270
3270
|
}
|
|
3271
3271
|
}
|
|
3272
3272
|
mn || (mn = new rt());
|
|
@@ -3276,7 +3276,7 @@ function Nue() {
|
|
|
3276
3276
|
if (mn.set(me, Rn), !qi)
|
|
3277
3277
|
var hi = ft ? we(me) : us(me);
|
|
3278
3278
|
return H(hi || me, function(co, mo) {
|
|
3279
|
-
hi && (mo = co, co = me[mo]), _n(Rn, mo,
|
|
3279
|
+
hi && (mo = co, co = me[mo]), _n(Rn, mo, Vn(co, je, ft, Ut, mo, me, mn));
|
|
3280
3280
|
}), Rn;
|
|
3281
3281
|
}
|
|
3282
3282
|
function Vt(me) {
|
|
@@ -3450,7 +3450,7 @@ function Nue() {
|
|
|
3450
3450
|
return "";
|
|
3451
3451
|
}
|
|
3452
3452
|
function Ml(me) {
|
|
3453
|
-
return
|
|
3453
|
+
return Vn(me, !0, !0);
|
|
3454
3454
|
}
|
|
3455
3455
|
function On(me, je) {
|
|
3456
3456
|
return me === je || me !== me && je !== je;
|
|
@@ -11588,7 +11588,7 @@ const _fe = (e = BC, t) => {
|
|
|
11588
11588
|
title: "Blocks",
|
|
11589
11589
|
value: "blocks"
|
|
11590
11590
|
}
|
|
11591
|
-
],
|
|
11591
|
+
], jn = [
|
|
11592
11592
|
{
|
|
11593
11593
|
title: "Yes",
|
|
11594
11594
|
value: !0
|
|
@@ -12691,7 +12691,7 @@ const _fe = (e = BC, t) => {
|
|
|
12691
12691
|
return n !== -1 && n < r.length - 1 && r[n + 1] === t ? e : `/boltic/${t}${e}`;
|
|
12692
12692
|
}
|
|
12693
12693
|
return e;
|
|
12694
|
-
},
|
|
12694
|
+
}, $n = (e) => {
|
|
12695
12695
|
const r = window.location.pathname.split("/");
|
|
12696
12696
|
if (e === Gr.VERSION) {
|
|
12697
12697
|
const o = r.indexOf(Gr.VERSION);
|
|
@@ -29108,7 +29108,7 @@ const Ef = (e, t) => {
|
|
|
29108
29108
|
integrationSlug: p,
|
|
29109
29109
|
integrationType: h
|
|
29110
29110
|
}) => {
|
|
29111
|
-
const A = wt(), g = as(), m =
|
|
29111
|
+
const A = wt(), g = as(), m = $n(g), E = $n(Gr.VERSION), O = m || E, {
|
|
29112
29112
|
loading: y,
|
|
29113
29113
|
value: v,
|
|
29114
29114
|
filteredValue: x,
|
|
@@ -29766,13 +29766,13 @@ function IX() {
|
|
|
29766
29766
|
oe && a1([N, P, R], (Vt) => {
|
|
29767
29767
|
kr = O0(kr, Vt, " ");
|
|
29768
29768
|
});
|
|
29769
|
-
const
|
|
29770
|
-
if (!St(
|
|
29769
|
+
const Vn = Qe(Ve.nodeName);
|
|
29770
|
+
if (!St(Vn, _n, kr)) {
|
|
29771
29771
|
Yt(Vr, Ve);
|
|
29772
29772
|
continue;
|
|
29773
29773
|
}
|
|
29774
29774
|
if (v && typeof h == "object" && typeof h.getAttributeType == "function" && !Ln)
|
|
29775
|
-
switch (h.getAttributeType(
|
|
29775
|
+
switch (h.getAttributeType(Vn, _n)) {
|
|
29776
29776
|
case "TrustedHTML": {
|
|
29777
29777
|
kr = v.createHTML(kr);
|
|
29778
29778
|
break;
|
|
@@ -39761,7 +39761,7 @@ const cq = $r(
|
|
|
39761
39761
|
}, x) => {
|
|
39762
39762
|
const S = wt(), { getNodes: b, setNodes: C, getEdges: w } = io(), _ = b(), { loopSuggestionsData: D = {} } = er((Ae) => Ae.loopActivity), [N, P] = ve(!1), { canvasWorkflow: R, activityExecutionData: M, selectedActivityId: F, aiGeneratedFieldMap: W } = er(
|
|
39763
39763
|
(Ae) => Ae.canvas
|
|
39764
|
-
), B = Nt(null), { WORKFLOW_URLS: G, ENTITY_ID: L = "", analytics: V, openAddonModal: $, currentSubscription: I } = Xi(), { VORTEX_MAIN_URL: k } = G, j = as(), q =
|
|
39764
|
+
), B = Nt(null), { WORKFLOW_URLS: G, ENTITY_ID: L = "", analytics: V, openAddonModal: $, currentSubscription: I } = Xi(), { VORTEX_MAIN_URL: k } = G, j = as(), q = $n(j), z = $n(Gr.VERSION);
|
|
39765
39765
|
Me(() => () => {
|
|
39766
39766
|
B.current && clearTimeout(B.current);
|
|
39767
39767
|
}, []);
|
|
@@ -50314,7 +50314,7 @@ class ql {
|
|
|
50314
50314
|
this.from = t, this.to = r;
|
|
50315
50315
|
}
|
|
50316
50316
|
}
|
|
50317
|
-
class
|
|
50317
|
+
class Un {
|
|
50318
50318
|
/**
|
|
50319
50319
|
Create a new node prop type.
|
|
50320
50320
|
*/
|
|
@@ -50341,17 +50341,17 @@ class $n {
|
|
|
50341
50341
|
};
|
|
50342
50342
|
}
|
|
50343
50343
|
}
|
|
50344
|
-
|
|
50345
|
-
|
|
50346
|
-
|
|
50347
|
-
|
|
50344
|
+
Un.closedBy = new Un({ deserialize: (e) => e.split(" ") });
|
|
50345
|
+
Un.openedBy = new Un({ deserialize: (e) => e.split(" ") });
|
|
50346
|
+
Un.group = new Un({ deserialize: (e) => e.split(" ") });
|
|
50347
|
+
Un.isolate = new Un({ deserialize: (e) => {
|
|
50348
50348
|
if (e && e != "rtl" && e != "ltr" && e != "auto")
|
|
50349
50349
|
throw new RangeError("Invalid value for isolate: " + e);
|
|
50350
50350
|
return e || "auto";
|
|
50351
50351
|
} });
|
|
50352
|
-
|
|
50353
|
-
|
|
50354
|
-
|
|
50352
|
+
Un.contextHash = new Un({ perNode: !0 });
|
|
50353
|
+
Un.lookAhead = new Un({ perNode: !0 });
|
|
50354
|
+
Un.mounted = new Un({ perNode: !0 });
|
|
50355
50355
|
class qA {
|
|
50356
50356
|
constructor(t, r, n, i = !1) {
|
|
50357
50357
|
this.tree = t, this.overlay = r, this.parser = n, this.bracketed = i;
|
|
@@ -50360,7 +50360,7 @@ class qA {
|
|
|
50360
50360
|
@internal
|
|
50361
50361
|
*/
|
|
50362
50362
|
static get(t) {
|
|
50363
|
-
return t && t.props && t.props[
|
|
50363
|
+
return t && t.props && t.props[Un.mounted.id];
|
|
50364
50364
|
}
|
|
50365
50365
|
}
|
|
50366
50366
|
const FCe = /* @__PURE__ */ Object.create(null);
|
|
@@ -50426,7 +50426,7 @@ let wl = class FY {
|
|
|
50426
50426
|
if (typeof t == "string") {
|
|
50427
50427
|
if (this.name == t)
|
|
50428
50428
|
return !0;
|
|
50429
|
-
let r = this.prop(
|
|
50429
|
+
let r = this.prop(Un.group);
|
|
50430
50430
|
return r ? r.indexOf(t) > -1 : !1;
|
|
50431
50431
|
}
|
|
50432
50432
|
return this.id == t;
|
|
@@ -50445,7 +50445,7 @@ let wl = class FY {
|
|
|
50445
50445
|
for (let i of n.split(" "))
|
|
50446
50446
|
r[i] = t[n];
|
|
50447
50447
|
return (n) => {
|
|
50448
|
-
for (let i = n.prop(
|
|
50448
|
+
for (let i = n.prop(Un.group), o = -1; o < (i ? i.length : 0); o++) {
|
|
50449
50449
|
let s = r[o < 0 ? n.name : i[o]];
|
|
50450
50450
|
if (s)
|
|
50451
50451
|
return s;
|
|
@@ -51455,7 +51455,7 @@ function $Ce(e) {
|
|
|
51455
51455
|
if (D >= 0 && (N = b[D]) instanceof To) {
|
|
51456
51456
|
if (!D && N.type == x && N.length == w)
|
|
51457
51457
|
return N;
|
|
51458
|
-
(P = N.prop(
|
|
51458
|
+
(P = N.prop(Un.lookAhead)) && (_ = C[D] + N.length + P);
|
|
51459
51459
|
}
|
|
51460
51460
|
return g(x, b, C, w, _, S);
|
|
51461
51461
|
};
|
|
@@ -51468,11 +51468,11 @@ function $Ce(e) {
|
|
|
51468
51468
|
}
|
|
51469
51469
|
function g(x, S, b, C, w, _, D) {
|
|
51470
51470
|
if (_) {
|
|
51471
|
-
let N = [
|
|
51471
|
+
let N = [Un.contextHash, _];
|
|
51472
51472
|
D = D ? [N].concat(D) : [N];
|
|
51473
51473
|
}
|
|
51474
51474
|
if (w > 25) {
|
|
51475
|
-
let N = [
|
|
51475
|
+
let N = [Un.lookAhead, w];
|
|
51476
51476
|
D = D ? [N].concat(D) : [N];
|
|
51477
51477
|
}
|
|
51478
51478
|
return new To(x, S, b, C, D);
|
|
@@ -51739,7 +51739,7 @@ class HCe {
|
|
|
51739
51739
|
this.parser = t, this.predicate = r, this.mounts = n, this.index = i, this.start = o, this.bracketed = s, this.target = a, this.prev = l, this.depth = 0, this.ranges = [];
|
|
51740
51740
|
}
|
|
51741
51741
|
}
|
|
51742
|
-
const OP = new
|
|
51742
|
+
const OP = new Un({ perNode: !0 });
|
|
51743
51743
|
class WCe {
|
|
51744
51744
|
constructor(t, r, n, i, o) {
|
|
51745
51745
|
this.nest = r, this.input = n, this.fragments = i, this.ranges = o, this.inner = [], this.innerDone = 0, this.baseTree = null, this.stoppedAt = null, this.baseParse = t;
|
|
@@ -51761,7 +51761,7 @@ class WCe {
|
|
|
51761
51761
|
if (r) {
|
|
51762
51762
|
this.innerDone++;
|
|
51763
51763
|
let n = Object.assign(/* @__PURE__ */ Object.create(null), t.target.props);
|
|
51764
|
-
n[
|
|
51764
|
+
n[Un.mounted.id] = new qA(r, t.overlay, t.parser, t.bracketed), t.target.props = n;
|
|
51765
51765
|
}
|
|
51766
51766
|
return null;
|
|
51767
51767
|
}
|
|
@@ -51913,7 +51913,7 @@ let zCe = class {
|
|
|
51913
51913
|
if (this.inner) {
|
|
51914
51914
|
this.inner.cursor.moveTo(t, 1);
|
|
51915
51915
|
for (let o = this.inner.cursor.node; o; o = o.parent) {
|
|
51916
|
-
let s = (n = o.tree) === null || n === void 0 ? void 0 : n.prop(
|
|
51916
|
+
let s = (n = o.tree) === null || n === void 0 ? void 0 : n.prop(Un.mounted);
|
|
51917
51917
|
if (s && s.parser == r)
|
|
51918
51918
|
for (let a = this.fragI; a < this.fragments.length; a++) {
|
|
51919
51919
|
let l = this.fragments[a];
|
|
@@ -52083,7 +52083,7 @@ function Zf(e) {
|
|
|
52083
52083
|
}
|
|
52084
52084
|
return UY.add(t);
|
|
52085
52085
|
}
|
|
52086
|
-
const UY = new
|
|
52086
|
+
const UY = new Un({
|
|
52087
52087
|
combine(e, t) {
|
|
52088
52088
|
let r, n, i;
|
|
52089
52089
|
for (; e || t; ) {
|
|
@@ -52168,7 +52168,7 @@ class t_e {
|
|
|
52168
52168
|
let c = i, u = r_e(t) || AE.empty, f = JCe(o, u.tags);
|
|
52169
52169
|
if (f && (c && (c += " "), c += f, u.mode == 1 && (i += (i ? " " : "") + f)), this.startSpan(Math.max(r, a), c), u.opaque)
|
|
52170
52170
|
return;
|
|
52171
|
-
let p = t.tree && t.tree.prop(
|
|
52171
|
+
let p = t.tree && t.tree.prop(Un.mounted);
|
|
52172
52172
|
if (p && p.overlay) {
|
|
52173
52173
|
let h = t.node.enter(p.overlay[0].from + a, 1), A = this.highlighters.filter((m) => !m.scope || m.scope(p.tree.type)), g = t.firstChild();
|
|
52174
52174
|
for (let m = 0, E = a; ; m++) {
|
|
@@ -52603,13 +52603,13 @@ VY([
|
|
|
52603
52603
|
{ tag: et.punctuation, class: "tok-punctuation" }
|
|
52604
52604
|
]);
|
|
52605
52605
|
var Kw;
|
|
52606
|
-
const DA = /* @__PURE__ */ new
|
|
52606
|
+
const DA = /* @__PURE__ */ new Un();
|
|
52607
52607
|
function HY(e) {
|
|
52608
52608
|
return Dr.define({
|
|
52609
52609
|
combine: e ? (t) => t.concat(e) : void 0
|
|
52610
52610
|
});
|
|
52611
52611
|
}
|
|
52612
|
-
const x3 = /* @__PURE__ */ new
|
|
52612
|
+
const x3 = /* @__PURE__ */ new Un();
|
|
52613
52613
|
class Rc {
|
|
52614
52614
|
/**
|
|
52615
52615
|
Construct a language object. If you need to invoke this
|
|
@@ -52662,7 +52662,7 @@ class Rc {
|
|
|
52662
52662
|
n.push({ from: s, to: s + o.length });
|
|
52663
52663
|
return;
|
|
52664
52664
|
}
|
|
52665
|
-
let a = o.prop(
|
|
52665
|
+
let a = o.prop(Un.mounted);
|
|
52666
52666
|
if (a) {
|
|
52667
52667
|
if (a.tree.prop(DA) == this.data) {
|
|
52668
52668
|
if (a.overlay)
|
|
@@ -53113,7 +53113,7 @@ class Mx {
|
|
|
53113
53113
|
return this.options.simulateBreak || null;
|
|
53114
53114
|
}
|
|
53115
53115
|
}
|
|
53116
|
-
const Jf = /* @__PURE__ */ new
|
|
53116
|
+
const Jf = /* @__PURE__ */ new Un();
|
|
53117
53117
|
function s_e(e, t, r) {
|
|
53118
53118
|
let n = t.resolveStack(r), i = t.resolveInner(r, -1).resolve(r, 0).enterUnfinishedNodesBefore(r);
|
|
53119
53119
|
if (i != n.node) {
|
|
@@ -53141,7 +53141,7 @@ function l_e(e) {
|
|
|
53141
53141
|
if (t)
|
|
53142
53142
|
return t;
|
|
53143
53143
|
let r = e.firstChild, n;
|
|
53144
|
-
if (r && (n = r.type.prop(
|
|
53144
|
+
if (r && (n = r.type.prop(Un.closedBy))) {
|
|
53145
53145
|
let i = e.lastChild, o = i && n.indexOf(i.name) > -1;
|
|
53146
53146
|
return (s) => QY(s, !0, 1, void 0, o && !a_e(s) ? i.from : void 0);
|
|
53147
53147
|
}
|
|
@@ -53275,7 +53275,7 @@ function h_e() {
|
|
|
53275
53275
|
return l.length ? [e, { changes: l, sequential: !0 }] : e;
|
|
53276
53276
|
});
|
|
53277
53277
|
}
|
|
53278
|
-
const A_e = /* @__PURE__ */ Dr.define(), ep = /* @__PURE__ */ new
|
|
53278
|
+
const A_e = /* @__PURE__ */ Dr.define(), ep = /* @__PURE__ */ new Un();
|
|
53279
53279
|
function Fx(e) {
|
|
53280
53280
|
let t = e.firstChild, r = e.lastChild;
|
|
53281
53281
|
return t && t.to < r.from ? { from: t.to, to: r.type.isError ? e.to : r.from } : null;
|
|
@@ -53734,9 +53734,9 @@ const k_e = /* @__PURE__ */ po.fromClass(class {
|
|
|
53734
53734
|
function j_e(e = {}) {
|
|
53735
53735
|
return [nK.of(e), B_e];
|
|
53736
53736
|
}
|
|
53737
|
-
const _3 = /* @__PURE__ */ new
|
|
53737
|
+
const _3 = /* @__PURE__ */ new Un();
|
|
53738
53738
|
function TP(e, t, r) {
|
|
53739
|
-
let n = e.prop(t < 0 ?
|
|
53739
|
+
let n = e.prop(t < 0 ? Un.openedBy : Un.closedBy);
|
|
53740
53740
|
if (n)
|
|
53741
53741
|
return n;
|
|
53742
53742
|
if (e.name.length == 1) {
|
|
@@ -55566,7 +55566,7 @@ function oRe(e, t, r) {
|
|
|
55566
55566
|
return n && (n > 2 || /[^\s,.;:]/.test(e.sliceDoc(t.from, t.to))) || t.firstChild;
|
|
55567
55567
|
}
|
|
55568
55568
|
function Wx(e, t, r) {
|
|
55569
|
-
let n = oo(e).resolveInner(t.head), i = r ?
|
|
55569
|
+
let n = oo(e).resolveInner(t.head), i = r ? Un.closedBy : Un.openedBy;
|
|
55570
55570
|
for (let l = t.head; ; ) {
|
|
55571
55571
|
let c = r ? n.childAfter(l) : n.childBefore(l);
|
|
55572
55572
|
if (!c)
|
|
@@ -55852,7 +55852,7 @@ function HRe(e, t) {
|
|
|
55852
55852
|
if (/\(\)|\[\]|\{\}/.test(e.sliceDoc(t - 1, t + 1)))
|
|
55853
55853
|
return { from: t, to: t };
|
|
55854
55854
|
let r = oo(e).resolveInner(t), n = r.childBefore(t), i = r.childAfter(t), o;
|
|
55855
|
-
return n && i && n.to <= t && i.from >= t && (o = n.type.prop(
|
|
55855
|
+
return n && i && n.to <= t && i.from >= t && (o = n.type.prop(Un.closedBy)) && o.indexOf(i.name) > -1 && e.doc.lineAt(n.to).from == e.doc.lineAt(i.from).from && !/\S/.test(e.sliceDoc(n.to, i.from)) ? { from: n.to, to: i.from } : null;
|
|
55856
55856
|
}
|
|
55857
55857
|
const h9 = /* @__PURE__ */ HK(!1), WRe = /* @__PURE__ */ HK(!0);
|
|
55858
55858
|
function HK(e) {
|
|
@@ -56717,7 +56717,7 @@ class t2e {
|
|
|
56717
56717
|
return null;
|
|
56718
56718
|
let a = s + o.length;
|
|
56719
56719
|
if (a <= this.safeTo) {
|
|
56720
|
-
let l = o.prop(
|
|
56720
|
+
let l = o.prop(Un.lookAhead);
|
|
56721
56721
|
if (!l || a + l < this.fragment.to)
|
|
56722
56722
|
return o;
|
|
56723
56723
|
}
|
|
@@ -56900,7 +56900,7 @@ class n2e {
|
|
|
56900
56900
|
let c = t.curContext && t.curContext.tracker.strict, u = c ? t.curContext.hash : 0;
|
|
56901
56901
|
for (let f = this.fragments.nodeAt(i); f; ) {
|
|
56902
56902
|
let p = this.parser.nodeSet.types[f.type.id] == f.type ? o.getGoto(t.state, f.type.id) : -1;
|
|
56903
|
-
if (p > -1 && f.length && (!c || (f.prop(
|
|
56903
|
+
if (p > -1 && f.length && (!c || (f.prop(Un.contextHash) || 0) == u))
|
|
56904
56904
|
return t.useNode(f, p), !0;
|
|
56905
56905
|
if (!(f instanceof To) || f.children.length == 0 || f.positions[0] > 0)
|
|
56906
56906
|
break;
|
|
@@ -57022,7 +57022,7 @@ class Uu extends $Y {
|
|
|
57022
57022
|
if (t.nodeProps)
|
|
57023
57023
|
for (let a of t.nodeProps) {
|
|
57024
57024
|
let l = a[0];
|
|
57025
|
-
typeof l == "string" && (l =
|
|
57025
|
+
typeof l == "string" && (l = Un[l]);
|
|
57026
57026
|
for (let c = 1; c < a.length; ) {
|
|
57027
57027
|
let u = a[c++];
|
|
57028
57028
|
if (u >= 0)
|
|
@@ -93406,7 +93406,7 @@ const yh = /* @__PURE__ */ ci(D9e), P9e = (e) => !e || typeof e != "string" ? ""
|
|
|
93406
93406
|
suggestionLabel: S,
|
|
93407
93407
|
allowArrayAtRoot: b = !1,
|
|
93408
93408
|
...C
|
|
93409
|
-
} = e, w = qt(() => u && typeof u == "object" && Object.keys(u).length > 0 ? u : {}, [JSON.stringify(u)]), [_, D] = ve(null), N = Nt(null), P = Nt(null), R = Ir(), M = Nt(null), F = Nt(null), [W, B] = ve(!1), G = tl(), { canvasWorkflow: L, activityExecutionData: V } = er((Ae) => Ae.canvas), { WORKFLOW_URLS: $, ENTITY_ID: I = "", analytics: k, openAddonModal: j, currentSubscription: q } = Xi(), { VORTEX_MAIN_URL: z } = $, U = as(), H =
|
|
93409
|
+
} = e, w = qt(() => u && typeof u == "object" && Object.keys(u).length > 0 ? u : {}, [JSON.stringify(u)]), [_, D] = ve(null), N = Nt(null), P = Nt(null), R = Ir(), M = Nt(null), F = Nt(null), [W, B] = ve(!1), G = tl(), { canvasWorkflow: L, activityExecutionData: V } = er((Ae) => Ae.canvas), { WORKFLOW_URLS: $, ENTITY_ID: I = "", analytics: k, openAddonModal: j, currentSubscription: q } = Xi(), { VORTEX_MAIN_URL: z } = $, U = as(), H = $n(U), X = $n(Gr.VERSION) || H, { setNodes: Y, getEdges: oe } = io(), { MCP_INTEGRATION_FORM: te } = nl(), ae = (Ae) => {
|
|
93410
93410
|
try {
|
|
93411
93411
|
if (l !== "json")
|
|
93412
93412
|
return !0;
|
|
@@ -94767,7 +94767,7 @@ const zo = re.memo(Hd(X9e), q9e), cte = /* @__PURE__ */ Object.freeze(/* @__PURE
|
|
|
94767
94767
|
viewOnly: r = !1,
|
|
94768
94768
|
excludeUrlLanguage: n = !1
|
|
94769
94769
|
}) => {
|
|
94770
|
-
const i = Ir(), o = wt(), { getNodes: s } = io(), a = s(), { trigger_help: l, workflow: c } = er((x) => x.workflows), [u, f] = ve(""), [p, h] = ve("get"), [A, g] = ve({}), m =
|
|
94770
|
+
const i = Ir(), o = wt(), { getNodes: s } = io(), a = s(), { trigger_help: l, workflow: c } = er((x) => x.workflows), [u, f] = ve(""), [p, h] = ve("get"), [A, g] = ve({}), m = $n(), E = $n("version");
|
|
94771
94771
|
Me(() => {
|
|
94772
94772
|
if (!xt(l)) {
|
|
94773
94773
|
const x = {}, S = [];
|
|
@@ -94866,7 +94866,7 @@ const zo = re.memo(Hd(X9e), q9e), cte = /* @__PURE__ */ Object.freeze(/* @__PURE
|
|
|
94866
94866
|
}
|
|
94867
94867
|
);
|
|
94868
94868
|
}, Z9e = ({ VORTEX_MAIN_URL: e, ENTITY_ID: t, triggerType: r }) => {
|
|
94869
|
-
const n = wt(), i = Ir(), { trigger_help: o, workflow: s } = er((A) => A.workflows), a =
|
|
94869
|
+
const n = wt(), i = Ir(), { trigger_help: o, workflow: s } = er((A) => A.workflows), a = $n(), l = $n("version"), [c, u] = ve(""), [f, p] = ve("");
|
|
94870
94870
|
Me(() => {
|
|
94871
94871
|
!xt(s) && (l || a) && i(AL(l || a, e, t));
|
|
94872
94872
|
}, []), Me(() => {
|
|
@@ -103979,7 +103979,7 @@ const P2 = (e) => !e.field || typeof e.field == "object" && Object.keys(e.field)
|
|
|
103979
103979
|
insert: L
|
|
103980
103980
|
}
|
|
103981
103981
|
}), j(""), z("");
|
|
103982
|
-
}, ut = Nt(null), [At, Ke] = ve(!1), { canvasWorkflow: gt, activityExecutionData: St } = er((Vt) => Vt.canvas), { getNodes: Bt, setNodes: Pe, getEdges: it } = io(), at = Bt(), { ENTITY_ID: Ve = "", analytics: rt, openAddonModal: Et, currentSubscription: Kt } = Xi(), { VORTEX_MAIN_URL: gr = "", GYRATE_MAIN_URL: Vr = "" } = h || {}, Ln = as(), En =
|
|
103982
|
+
}, ut = Nt(null), [At, Ke] = ve(!1), { canvasWorkflow: gt, activityExecutionData: St } = er((Vt) => Vt.canvas), { getNodes: Bt, setNodes: Pe, getEdges: it } = io(), at = Bt(), { ENTITY_ID: Ve = "", analytics: rt, openAddonModal: Et, currentSubscription: Kt } = Xi(), { VORTEX_MAIN_URL: gr = "", GYRATE_MAIN_URL: Vr = "" } = h || {}, Ln = as(), En = $n(Ln), Or = $n(Gr.VERSION) || En, kr = async (Vt) => {
|
|
103983
103983
|
const lr = [...Array.isArray(at) ? at : []], Zr = {
|
|
103984
103984
|
workflow_json: [bd({ ...Vt })],
|
|
103985
103985
|
result: lO(gt, at, St, Vt?.id, it())
|
|
@@ -104025,7 +104025,7 @@ const P2 = (e) => !e.field || typeof e.field == "object" && Object.keys(e.field)
|
|
|
104025
104025
|
});
|
|
104026
104026
|
});
|
|
104027
104027
|
})), Ke(!1), !1);
|
|
104028
|
-
},
|
|
104028
|
+
}, Vn = async (Vt) => {
|
|
104029
104029
|
const lr = at?.find((Zr) => Zr?.id === Vt);
|
|
104030
104030
|
lr && await kr(lr);
|
|
104031
104031
|
};
|
|
@@ -104230,7 +104230,7 @@ const P2 = (e) => !e.field || typeof e.field == "object" && Object.keys(e.field)
|
|
|
104230
104230
|
changes: { from: Zr, to: Zr, insert: `'{{${Vt}}}'` }
|
|
104231
104231
|
}), m(null);
|
|
104232
104232
|
},
|
|
104233
|
-
runActivity:
|
|
104233
|
+
runActivity: Vn,
|
|
104234
104234
|
isLoading: At
|
|
104235
104235
|
}
|
|
104236
104236
|
),
|
|
@@ -106281,16 +106281,16 @@ function w$e() {
|
|
|
106281
106281
|
for (var qr, Bn = 0; Bn < Or.length; Bn++)
|
|
106282
106282
|
if (qr = Or.charAt(Bn), De.indexOf(qr) !== -1 && qr !== Qe["exponent-separator"])
|
|
106283
106283
|
return Or.substring(0, Bn);
|
|
106284
|
-
})(),
|
|
106284
|
+
})(), Vn = (function() {
|
|
106285
106285
|
for (var qr, Bn = Or.length - 1; Bn >= 0; Bn--)
|
|
106286
106286
|
if (qr = Or.charAt(Bn), De.indexOf(qr) !== -1 && qr !== Qe["exponent-separator"])
|
|
106287
106287
|
return Or.substring(Bn + 1);
|
|
106288
|
-
})(), Vt = Or.substring(kr.length, Or.length -
|
|
106289
|
-
zr === -1 || zr > Or.length -
|
|
106288
|
+
})(), Vt = Or.substring(kr.length, Or.length - Vn.length), lr, Zr, Br, Pr, zr = Or.indexOf(Qe["exponent-separator"], kr.length);
|
|
106289
|
+
zr === -1 || zr > Or.length - Vn.length ? (lr = Vt, Zr = void 0) : (lr = Vt.substring(0, zr), Zr = Vt.substring(zr + 1));
|
|
106290
106290
|
var tn = lr.indexOf(Qe["decimal-separator"]);
|
|
106291
|
-
return tn === -1 ? (Br = lr, Pr =
|
|
106291
|
+
return tn === -1 ? (Br = lr, Pr = Vn) : (Br = lr.substring(0, tn), Pr = lr.substring(tn + 1)), {
|
|
106292
106292
|
prefix: kr,
|
|
106293
|
-
suffix:
|
|
106293
|
+
suffix: Vn,
|
|
106294
106294
|
activePart: Vt,
|
|
106295
106295
|
mantissaPart: lr,
|
|
106296
106296
|
exponentPart: Zr,
|
|
@@ -106299,11 +106299,11 @@ function w$e() {
|
|
|
106299
106299
|
subpicture: Or
|
|
106300
106300
|
};
|
|
106301
106301
|
}, Ct = function(Or) {
|
|
106302
|
-
var kr,
|
|
106302
|
+
var kr, Vn, Vt = Or.subpicture, lr = Vt.indexOf(Qe["decimal-separator"]);
|
|
106303
106303
|
lr !== Vt.lastIndexOf(Qe["decimal-separator"]) && (kr = "D3081"), Vt.indexOf(Qe.percent) !== Vt.lastIndexOf(Qe.percent) && (kr = "D3082"), Vt.indexOf(Qe["per-mille"]) !== Vt.lastIndexOf(Qe["per-mille"]) && (kr = "D3083"), Vt.indexOf(Qe.percent) !== -1 && Vt.indexOf(Qe["per-mille"]) !== -1 && (kr = "D3084");
|
|
106304
106304
|
var Zr = !1;
|
|
106305
|
-
for (
|
|
106306
|
-
var Br = Or.mantissaPart.charAt(
|
|
106305
|
+
for (Vn = 0; Vn < Or.mantissaPart.length; Vn++) {
|
|
106306
|
+
var Br = Or.mantissaPart.charAt(Vn);
|
|
106307
106307
|
if (ze.indexOf(Br) !== -1 || Br === Qe.digit) {
|
|
106308
106308
|
Zr = !0;
|
|
106309
106309
|
break;
|
|
@@ -106337,7 +106337,7 @@ function w$e() {
|
|
|
106337
106337
|
Ao.push($o), An = Or.integerPart.indexOf(Qe["grouping-separator"], An + 1);
|
|
106338
106338
|
}
|
|
106339
106339
|
return Ao;
|
|
106340
|
-
},
|
|
106340
|
+
}, Vn = kr(Or.integerPart), Vt = function(qn) {
|
|
106341
106341
|
if (qn.length === 0)
|
|
106342
106342
|
return 0;
|
|
106343
106343
|
for (var Li = function($o, ie) {
|
|
@@ -106346,7 +106346,7 @@ function w$e() {
|
|
|
106346
106346
|
if (qn.indexOf(An * Ao) === -1)
|
|
106347
106347
|
return 0;
|
|
106348
106348
|
return Ao;
|
|
106349
|
-
}, lr = Vt(
|
|
106349
|
+
}, lr = Vt(Vn), Zr = kr(Or.fractionalPart, !0), Br = Or.integerPart.split("").filter(function(qn) {
|
|
106350
106350
|
return ze.indexOf(qn) !== -1;
|
|
106351
106351
|
}).length, Pr = Br, zr = Or.fractionalPart.split(""), tn = zr.filter(function(qn) {
|
|
106352
106352
|
return ze.indexOf(qn) !== -1;
|
|
@@ -106358,7 +106358,7 @@ function w$e() {
|
|
|
106358
106358
|
return Bn && (Mn = Or.exponentPart.split("").filter(function(qn) {
|
|
106359
106359
|
return ze.indexOf(qn) !== -1;
|
|
106360
106360
|
}).length), {
|
|
106361
|
-
integerPartGroupingPositions:
|
|
106361
|
+
integerPartGroupingPositions: Vn,
|
|
106362
106362
|
regularGrouping: lr,
|
|
106363
106363
|
minimumIntegerPartSize: Br,
|
|
106364
106364
|
scalingFactor: Pr,
|
|
@@ -106389,10 +106389,10 @@ function w$e() {
|
|
|
106389
106389
|
Bt /= 10, Pe += 1;
|
|
106390
106390
|
}
|
|
106391
106391
|
var Ve = ae(Bt, gt.maximumFactionalPartSize), rt = function(Or, kr) {
|
|
106392
|
-
var
|
|
106393
|
-
return ut !== "0" && (
|
|
106392
|
+
var Vn = Math.abs(Or).toFixed(kr);
|
|
106393
|
+
return ut !== "0" && (Vn = Vn.split("").map(function(Vt) {
|
|
106394
106394
|
return Vt >= "0" && Vt <= "9" ? ze[Vt.charCodeAt(0) - 48] : Vt;
|
|
106395
|
-
}).join("")),
|
|
106395
|
+
}).join("")), Vn;
|
|
106396
106396
|
}, Et = rt(Ve, gt.maximumFactionalPartSize), Kt = Et.indexOf(".");
|
|
106397
106397
|
for (Kt === -1 ? Et = Et + At : Et = Et.replace(".", At); Et.charAt(0) === ut; )
|
|
106398
106398
|
Et = Et.substring(1);
|
|
@@ -110271,7 +110271,7 @@ function D$e() {
|
|
|
110271
110271
|
Je = Pr(), we.push(Je);
|
|
110272
110272
|
return v.markEnd(v.createSwitchCase(ie, we), mt);
|
|
110273
110273
|
}
|
|
110274
|
-
function
|
|
110274
|
+
function Vn() {
|
|
110275
110275
|
var ie, we, Je, mt, kt;
|
|
110276
110276
|
if (He("switch"), Ze("("), ie = ut(), Ze(")"), Ze("{"), we = [], ot("}"))
|
|
110277
110277
|
return le(), v.createSwitchStatement(ie, we);
|
|
@@ -110324,7 +110324,7 @@ function D$e() {
|
|
|
110324
110324
|
case "return":
|
|
110325
110325
|
return v.markEnd(_n(), kt);
|
|
110326
110326
|
case "switch":
|
|
110327
|
-
return v.markEnd(
|
|
110327
|
+
return v.markEnd(Vn(), kt);
|
|
110328
110328
|
case "throw":
|
|
110329
110329
|
return v.markEnd(Vt(), kt);
|
|
110330
110330
|
case "try":
|
|
@@ -113471,7 +113471,7 @@ function G$e() {
|
|
|
113471
113471
|
function kr() {
|
|
113472
113472
|
this.__data__ = new gt();
|
|
113473
113473
|
}
|
|
113474
|
-
function
|
|
113474
|
+
function Vn(Ce) {
|
|
113475
113475
|
return this.__data__.delete(Ce);
|
|
113476
113476
|
}
|
|
113477
113477
|
function Vt(Ce) {
|
|
@@ -113490,7 +113490,7 @@ function G$e() {
|
|
|
113490
113490
|
}
|
|
113491
113491
|
return Ot.set(Ce, Ye), this;
|
|
113492
113492
|
}
|
|
113493
|
-
Or.prototype.clear = kr, Or.prototype.delete =
|
|
113493
|
+
Or.prototype.clear = kr, Or.prototype.delete = Vn, Or.prototype.get = Vt, Or.prototype.has = lr, Or.prototype.set = Zr;
|
|
113494
113494
|
function Br(Ce, Ye) {
|
|
113495
113495
|
var Ot = mn(Ce) || Ur(Ce) ? J(Ce.length, String) : [], _t = Ot.length, tr = !!_t;
|
|
113496
113496
|
for (var Jt in Ce)
|
|
@@ -114086,7 +114086,7 @@ function z$e() {
|
|
|
114086
114086
|
function kr(he) {
|
|
114087
114087
|
return this.__data__.delete(he);
|
|
114088
114088
|
}
|
|
114089
|
-
function
|
|
114089
|
+
function Vn(he) {
|
|
114090
114090
|
return this.__data__.get(he);
|
|
114091
114091
|
}
|
|
114092
114092
|
function Vt(he) {
|
|
@@ -114102,7 +114102,7 @@ function z$e() {
|
|
|
114102
114102
|
}
|
|
114103
114103
|
return st.set(he, Ne), this;
|
|
114104
114104
|
}
|
|
114105
|
-
_n.prototype.clear = Or, _n.prototype.delete = kr, _n.prototype.get =
|
|
114105
|
+
_n.prototype.clear = Or, _n.prototype.delete = kr, _n.prototype.get = Vn, _n.prototype.has = Vt, _n.prototype.set = lr;
|
|
114106
114106
|
function Zr(he, Ne) {
|
|
114107
114107
|
var st = me(he) || Yc(he) ? ne(he.length, String) : [], vt = st.length, Wt = !!vt;
|
|
114108
114108
|
for (var Ce in he)
|
|
@@ -115730,14 +115730,14 @@ const vA = (e) => {
|
|
|
115730
115730
|
G("description", "Description", {
|
|
115731
115731
|
placeholder: "Short description shown in the admin UI"
|
|
115732
115732
|
}),
|
|
115733
|
-
V("active", "Active",
|
|
115733
|
+
V("active", "Active", jn, {
|
|
115734
115734
|
description: "Whether the attribute is enabled."
|
|
115735
115735
|
}),
|
|
115736
|
-
V("mandatory", "Mandatory",
|
|
115736
|
+
V("mandatory", "Mandatory", jn, {
|
|
115737
115737
|
description: "Required on products that use this attribute."
|
|
115738
115738
|
}),
|
|
115739
|
-
V("auto_sync_to_prod", "Auto-sync to Production",
|
|
115740
|
-
V("is_global", "Global Attribute",
|
|
115739
|
+
V("auto_sync_to_prod", "Auto-sync to Production", jn),
|
|
115740
|
+
V("is_global", "Global Attribute", jn, {
|
|
115741
115741
|
description: "Marks the attribute as a global/shared attribute."
|
|
115742
115742
|
}),
|
|
115743
115743
|
G("tags", "Tags", {
|
|
@@ -115763,7 +115763,7 @@ const vA = (e) => {
|
|
|
115763
115763
|
G("max", "Maximum", { type: "number" })
|
|
115764
115764
|
] }),
|
|
115765
115765
|
ae && /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
|
|
115766
|
-
V("allow_multiple", "Allow Multiple Selections",
|
|
115766
|
+
V("allow_multiple", "Allow Multiple Selections", jn),
|
|
115767
115767
|
G("limit", "Max Selections", { type: "number" })
|
|
115768
115768
|
] }),
|
|
115769
115769
|
Oe && /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
|
|
@@ -115783,16 +115783,16 @@ const vA = (e) => {
|
|
|
115783
115783
|
V("aspect_ratio", "Aspect Ratio", ipe),
|
|
115784
115784
|
G("height", "Height (px)", { type: "number" }),
|
|
115785
115785
|
G("width", "Width (px)", { type: "number" }),
|
|
115786
|
-
V("proportion_restriction", "Proportion Restriction",
|
|
115786
|
+
V("proportion_restriction", "Proportion Restriction", jn),
|
|
115787
115787
|
G("max_size", "Max File Size (bytes)", { type: "number" })
|
|
115788
115788
|
] }),
|
|
115789
|
-
V("vms_visible", "Visible in VMS",
|
|
115790
|
-
V("vms_editable", "Editable in VMS",
|
|
115791
|
-
V("store_filter", "Storefront — Filter",
|
|
115792
|
-
V("store_display_plp", "Storefront — Show on PLP",
|
|
115793
|
-
V("store_display_pdp", "Storefront — Show on PDP",
|
|
115794
|
-
V("store_search", "Storefront — Searchable",
|
|
115795
|
-
V("store_compare", "Storefront — Comparable",
|
|
115789
|
+
V("vms_visible", "Visible in VMS", jn),
|
|
115790
|
+
V("vms_editable", "Editable in VMS", jn),
|
|
115791
|
+
V("store_filter", "Storefront — Filter", jn),
|
|
115792
|
+
V("store_display_plp", "Storefront — Show on PLP", jn),
|
|
115793
|
+
V("store_display_pdp", "Storefront — Show on PDP", jn),
|
|
115794
|
+
V("store_search", "Storefront — Searchable", jn),
|
|
115795
|
+
V("store_compare", "Storefront — Comparable", jn)
|
|
115796
115796
|
] });
|
|
115797
115797
|
}, k = (X) => /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
|
|
115798
115798
|
X && G("category_id", "Category ID", {
|
|
@@ -115808,7 +115808,7 @@ const vA = (e) => {
|
|
|
115808
115808
|
placeholder: "e.g. apparel",
|
|
115809
115809
|
description: "Slug-style identifier. Immutable after create."
|
|
115810
115810
|
}),
|
|
115811
|
-
V("archive", "Archive",
|
|
115811
|
+
V("archive", "Archive", jn, {
|
|
115812
115812
|
description: "Mark the category as archived (hides it from active flows)."
|
|
115813
115813
|
}),
|
|
115814
115814
|
X && G("_id", "Numeric ID (optional override)", {
|
|
@@ -115827,11 +115827,11 @@ const vA = (e) => {
|
|
|
115827
115827
|
G("description", "Description", {
|
|
115828
115828
|
placeholder: "Short description shown in the admin UI"
|
|
115829
115829
|
}),
|
|
115830
|
-
V("active", "Active",
|
|
115831
|
-
V("public", "Public",
|
|
115830
|
+
V("active", "Active", jn),
|
|
115831
|
+
V("public", "Public", jn, {
|
|
115832
115832
|
description: "Make the template visible across the organization."
|
|
115833
115833
|
}),
|
|
115834
|
-
V("is_global", "Global Template",
|
|
115834
|
+
V("is_global", "Global Template", jn),
|
|
115835
115835
|
G("attributes", "Ungrouped Attribute IDs", {
|
|
115836
115836
|
required: !X,
|
|
115837
115837
|
placeholder: "id1, id2, id3",
|
|
@@ -115862,10 +115862,10 @@ const vA = (e) => {
|
|
|
115862
115862
|
required: !X,
|
|
115863
115863
|
placeholder: "e.g. My SAP Inbound"
|
|
115864
115864
|
}),
|
|
115865
|
-
V("active", "Active",
|
|
115865
|
+
V("active", "Active", jn, {
|
|
115866
115866
|
description: "Whether the connector is active (defaults to true)."
|
|
115867
115867
|
}),
|
|
115868
|
-
V("sync_to_prod", "Sync to Production",
|
|
115868
|
+
V("sync_to_prod", "Sync to Production", jn, {
|
|
115869
115869
|
description: "Sync imported products directly to production (defaults to false)."
|
|
115870
115870
|
}),
|
|
115871
115871
|
G("integration_failure_threshold", "Failure Threshold", {
|
|
@@ -115889,7 +115889,7 @@ const vA = (e) => {
|
|
|
115889
115889
|
placeholder: "group1, group2",
|
|
115890
115890
|
description: "Comma-separated user groups (used when alert type = user_group)."
|
|
115891
115891
|
}),
|
|
115892
|
-
V("multiple_sku.flag", "Enable Multiple SKU per Product",
|
|
115892
|
+
V("multiple_sku.flag", "Enable Multiple SKU per Product", jn),
|
|
115893
115893
|
G("multiple_sku.jsonata", "Multiple SKU JSONata Expression", {
|
|
115894
115894
|
placeholder: "payload.skus[*].code",
|
|
115895
115895
|
description: "JSONata expression to extract SKU codes. Base64-encoded automatically."
|
|
@@ -116023,7 +116023,7 @@ const vA = (e) => {
|
|
|
116023
116023
|
placeholder: "5f4b8c60d46df3841d86a551",
|
|
116024
116024
|
description: "UUID of the associated template."
|
|
116025
116025
|
}),
|
|
116026
|
-
V("archive", "Archive",
|
|
116026
|
+
V("archive", "Archive", jn)
|
|
116027
116027
|
] }), Q = () => {
|
|
116028
116028
|
if (!v) return null;
|
|
116029
116029
|
if (v === "products.export_history")
|
|
@@ -116049,9 +116049,9 @@ const vA = (e) => {
|
|
|
116049
116049
|
if (v === "templates.list")
|
|
116050
116050
|
return /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
|
|
116051
116051
|
G("name", "Filter by Name"),
|
|
116052
|
-
V("active", "Active",
|
|
116052
|
+
V("active", "Active", jn),
|
|
116053
116053
|
G("tags", "Tags", { placeholder: "comma,separated" }),
|
|
116054
|
-
V("is_global", "Is Global",
|
|
116054
|
+
V("is_global", "Is Global", jn),
|
|
116055
116055
|
G("created_by", "Created By"),
|
|
116056
116056
|
G("template_type", "Template Type")
|
|
116057
116057
|
] });
|
|
@@ -116065,10 +116065,10 @@ const vA = (e) => {
|
|
|
116065
116065
|
return /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
|
|
116066
116066
|
G("name", "Filter by Name"),
|
|
116067
116067
|
G("code", "Filter by Code"),
|
|
116068
|
-
V("active", "Active",
|
|
116068
|
+
V("active", "Active", jn),
|
|
116069
116069
|
V("type", "Type", FM),
|
|
116070
116070
|
G("tags", "Tags", { placeholder: "comma,separated" }),
|
|
116071
|
-
V("is_global", "Is Global",
|
|
116071
|
+
V("is_global", "Is Global", jn),
|
|
116072
116072
|
G("created_by", "Created By")
|
|
116073
116073
|
] });
|
|
116074
116074
|
if (v === "attributes.list_tags")
|
|
@@ -116087,8 +116087,8 @@ const vA = (e) => {
|
|
|
116087
116087
|
G("name", "Filter by Name"),
|
|
116088
116088
|
G("code", "Filter by Code"),
|
|
116089
116089
|
G("tags", "Tags", { placeholder: "comma,separated" }),
|
|
116090
|
-
V("archive", "Archive",
|
|
116091
|
-
V("is_global", "Is Global",
|
|
116090
|
+
V("archive", "Archive", jn),
|
|
116091
|
+
V("is_global", "Is Global", jn),
|
|
116092
116092
|
G("created_by", "Created By")
|
|
116093
116093
|
] });
|
|
116094
116094
|
if (v === "categories.list_mappings")
|
|
@@ -116130,7 +116130,7 @@ const vA = (e) => {
|
|
|
116130
116130
|
required: !0,
|
|
116131
116131
|
placeholder: "e.g. category_apparel_main"
|
|
116132
116132
|
}),
|
|
116133
|
-
V("limited", "Limited Response",
|
|
116133
|
+
V("limited", "Limited Response", jn, {
|
|
116134
116134
|
description: "Return a trimmed-down template details payload."
|
|
116135
116135
|
})
|
|
116136
116136
|
] });
|
|
@@ -116141,7 +116141,7 @@ const vA = (e) => {
|
|
|
116141
116141
|
placeholder: "code1, code2",
|
|
116142
116142
|
description: "Comma-separated category mapping codes to fetch in bulk."
|
|
116143
116143
|
}),
|
|
116144
|
-
V("populate", "Populate",
|
|
116144
|
+
V("populate", "Populate", jn, {
|
|
116145
116145
|
description: "Populate referenced documents in the response."
|
|
116146
116146
|
})
|
|
116147
116147
|
] });
|
|
@@ -116162,7 +116162,7 @@ const vA = (e) => {
|
|
|
116162
116162
|
}
|
|
116163
116163
|
return v === "inbound.create" ? q(!1) : v === "inbound.get" || v === "inbound.delete" ? G("inbound_id", "Inbound ID", { required: !0, placeholder: "e.g. 64f3a2b1c8d9e10001234567" }) : v === "inbound.update" ? q(!0) : v === "mapper.list" ? /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
|
|
116164
116164
|
G("name", "Filter by Name"),
|
|
116165
|
-
V("all", "Return All (no pagination)",
|
|
116165
|
+
V("all", "Return All (no pagination)", jn)
|
|
116166
116166
|
] }) : v === "mapper.create" ? z(!1) : v === "mapper.get" || v === "mapper.delete" ? G("mapper_id", "Mapper ID", { required: !0, placeholder: "e.g. 64f3a2b1c8d9e10001234567" }) : v === "mapper.update" ? z(!0) : v === "custom.custom_api" ? /* @__PURE__ */ d.jsx(
|
|
116167
116167
|
Zd,
|
|
116168
116168
|
{
|
|
@@ -116476,7 +116476,7 @@ const vA = (e) => {
|
|
|
116476
116476
|
placeholder: "₹",
|
|
116477
116477
|
description: "Currency symbol."
|
|
116478
116478
|
}),
|
|
116479
|
-
M("show_promotions", "Show Promotions",
|
|
116479
|
+
M("show_promotions", "Show Promotions", jn, {
|
|
116480
116480
|
description: "Include promotions in the response."
|
|
116481
116481
|
}),
|
|
116482
116482
|
R("size", "Size", {
|
|
@@ -116525,7 +116525,7 @@ const vA = (e) => {
|
|
|
116525
116525
|
placeholder: "e.g. 69b9336ba41a69c64a25bcda",
|
|
116526
116526
|
description: "MongoDB ObjectId of the contract."
|
|
116527
116527
|
}),
|
|
116528
|
-
M("unmask", "Unmask",
|
|
116528
|
+
M("unmask", "Unmask", jn, {
|
|
116529
116529
|
description: "Return unmasked contract details."
|
|
116530
116530
|
})
|
|
116531
116531
|
] }) : m === "contracts.create" ? /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
|
|
@@ -116543,7 +116543,7 @@ const vA = (e) => {
|
|
|
116543
116543
|
placeholder: "merchant_abc123",
|
|
116544
116544
|
description: "Optional merchant ID."
|
|
116545
116545
|
}),
|
|
116546
|
-
M("is_active", "Active",
|
|
116546
|
+
M("is_active", "Active", jn, {
|
|
116547
116547
|
required: !0,
|
|
116548
116548
|
description: "Whether the contract is active."
|
|
116549
116549
|
}),
|
|
@@ -116566,11 +116566,7 @@ const vA = (e) => {
|
|
|
116566
116566
|
}),
|
|
116567
116567
|
R("upload_id", "Upload ID", {
|
|
116568
116568
|
placeholder: "upload_abc123",
|
|
116569
|
-
description: "Validated upload ID from Validate Contract File."
|
|
116570
|
-
}),
|
|
116571
|
-
R("uploaded_file_url", "Uploaded File URL", {
|
|
116572
|
-
placeholder: "https://cdn.example.com/pricing.csv",
|
|
116573
|
-
description: "Direct CSV URL (legacy)."
|
|
116569
|
+
description: "Validated upload ID from Validate Contract File. Run Validate first to obtain it."
|
|
116574
116570
|
}),
|
|
116575
116571
|
F("notification_email", "Notification Emails", {
|
|
116576
116572
|
rowLabel: "Email",
|
|
@@ -116589,7 +116585,7 @@ const vA = (e) => {
|
|
|
116589
116585
|
placeholder: "e.g. 69b9336ba41a69c64a25bcda",
|
|
116590
116586
|
description: "MongoDB ObjectId of the contract."
|
|
116591
116587
|
}),
|
|
116592
|
-
M("is_active", "Active",
|
|
116588
|
+
M("is_active", "Active", jn, {
|
|
116593
116589
|
required: !0,
|
|
116594
116590
|
description: "Whether the contract is active."
|
|
116595
116591
|
}),
|
|
@@ -116659,7 +116655,7 @@ const vA = (e) => {
|
|
|
116659
116655
|
placeholder: "Q1 Volume Ladder",
|
|
116660
116656
|
description: "Ladder name."
|
|
116661
116657
|
}),
|
|
116662
|
-
M("is_active", "Active",
|
|
116658
|
+
M("is_active", "Active", jn, {
|
|
116663
116659
|
required: !0,
|
|
116664
116660
|
description: "Whether the ladder is active."
|
|
116665
116661
|
}),
|
|
@@ -116686,11 +116682,7 @@ const vA = (e) => {
|
|
|
116686
116682
|
}),
|
|
116687
116683
|
R("upload_id", "Upload ID", {
|
|
116688
116684
|
placeholder: "upload_abc123",
|
|
116689
|
-
description: "Validated upload ID from Validate Ladder File."
|
|
116690
|
-
}),
|
|
116691
|
-
R("uploaded_file_url", "Uploaded File URL", {
|
|
116692
|
-
placeholder: "https://cdn.example.com/ladder.csv",
|
|
116693
|
-
description: "Direct CSV URL (legacy)."
|
|
116685
|
+
description: "Validated upload ID from Validate Ladder File. Run Validate first to obtain it."
|
|
116694
116686
|
})
|
|
116695
116687
|
] }) : m === "ladders.update" ? /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
|
|
116696
116688
|
R("ladder_id", "Ladder ID", {
|
|
@@ -116702,7 +116694,7 @@ const vA = (e) => {
|
|
|
116702
116694
|
placeholder: "Q1 Volume Ladder",
|
|
116703
116695
|
description: "Ladder name."
|
|
116704
116696
|
}),
|
|
116705
|
-
M("is_active", "Active",
|
|
116697
|
+
M("is_active", "Active", jn, {
|
|
116706
116698
|
required: !0,
|
|
116707
116699
|
description: "Whether the ladder is active."
|
|
116708
116700
|
}),
|
|
@@ -116762,11 +116754,16 @@ const vA = (e) => {
|
|
|
116762
116754
|
R("search", "Search", {
|
|
116763
116755
|
description: "Full-text search across quote requests."
|
|
116764
116756
|
})
|
|
116765
|
-
] }) : m === "quotations.get" ?
|
|
116766
|
-
|
|
116767
|
-
|
|
116768
|
-
|
|
116769
|
-
|
|
116757
|
+
] }) : m === "quotations.get" ? /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
|
|
116758
|
+
R("quote_request_id", "Quote Request ID", {
|
|
116759
|
+
required: !0,
|
|
116760
|
+
placeholder: "e.g. 67921b98eac9ab1f3a80a560",
|
|
116761
|
+
description: "MongoDB ObjectId of the quote request."
|
|
116762
|
+
}),
|
|
116763
|
+
M("unmask", "Unmask", jn, {
|
|
116764
|
+
description: "Return unmasked quotation details."
|
|
116765
|
+
})
|
|
116766
|
+
] }) : m === "quotations.update_status" ? /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
|
|
116770
116767
|
R("quote_request_id", "Quote Request ID", {
|
|
116771
116768
|
required: !0,
|
|
116772
116769
|
placeholder: "e.g. 67921b98eac9ab1f3a80a560",
|
|
@@ -116801,8 +116798,9 @@ const vA = (e) => {
|
|
|
116801
116798
|
itemLabel: (B) => `Quote ${B + 1}`,
|
|
116802
116799
|
renderItem: (B) => /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
|
|
116803
116800
|
R(`quotes.${B}.item_code`, "Item Code", {
|
|
116801
|
+
required: !0,
|
|
116804
116802
|
placeholder: "1234567890",
|
|
116805
|
-
description: "Product item code."
|
|
116803
|
+
description: "Product item code. Required so an untouched row is not submitted as an empty quote."
|
|
116806
116804
|
}),
|
|
116807
116805
|
R(`quotes.${B}.seller_identifier`, "Seller Identifier", {
|
|
116808
116806
|
placeholder: "1234567890",
|
|
@@ -116972,8 +116970,9 @@ const vA = (e) => {
|
|
|
116972
116970
|
description: "URL slug of the product."
|
|
116973
116971
|
}),
|
|
116974
116972
|
R(`product.${B}.item_code`, "Item Code", {
|
|
116973
|
+
required: !0,
|
|
116975
116974
|
placeholder: "1234567890",
|
|
116976
|
-
description: "Product item code."
|
|
116975
|
+
description: "Product item code. Required so an untouched row is not submitted as an empty product."
|
|
116977
116976
|
}),
|
|
116978
116977
|
R(
|
|
116979
116978
|
`product.${B}.seller_identifier`,
|
|
@@ -152594,7 +152593,7 @@ function Vrt() {
|
|
|
152594
152593
|
var je = this.__data__ = new St(me);
|
|
152595
152594
|
this.size = je.size;
|
|
152596
152595
|
}
|
|
152597
|
-
function
|
|
152596
|
+
function Vn() {
|
|
152598
152597
|
this.__data__ = new St(), this.size = 0;
|
|
152599
152598
|
}
|
|
152600
152599
|
function Vt(me) {
|
|
@@ -152617,7 +152616,7 @@ function Vrt() {
|
|
|
152617
152616
|
}
|
|
152618
152617
|
return ft.set(me, je), this.size = ft.size, this;
|
|
152619
152618
|
}
|
|
152620
|
-
kr.prototype.clear =
|
|
152619
|
+
kr.prototype.clear = Vn, kr.prototype.delete = Vt, kr.prototype.get = lr, kr.prototype.has = Zr, kr.prototype.set = Br;
|
|
152621
152620
|
function Pr(me, je) {
|
|
152622
152621
|
var ft = di(me), Ut = !ft && On(me), ln = !ft && !Ut && Mi(me), Ur = !ft && !Ut && !ln && Gs(me), mn = ft || Ut || ln || Ur, Rn = mn ? se(me.length, String) : [], qi = Rn.length;
|
|
152623
152622
|
for (var Yn in me)
|
|
@@ -154984,7 +154983,7 @@ const nnt = /* @__PURE__ */ ci(rnt), hy = (e) => [
|
|
|
154984
154983
|
] })
|
|
154985
154984
|
] });
|
|
154986
154985
|
}, snt = $r((e, t) => {
|
|
154987
|
-
const { type: r, viewOnly: n = !1, id: i } = e, [o, s] = ve("Live Now"), [a, l] = ve(!1), { control: c, watch: u, setValue: f, getValues: p } = Kr(), h = u("properties"), [A, g] = ve(() => h?.spec?.calendars?.length ? "calendar" : h?.spec?.cron_expressions?.length ? "cron_expression" : "interval"), m = as(), O =
|
|
154986
|
+
const { type: r, viewOnly: n = !1, id: i } = e, [o, s] = ve("Live Now"), [a, l] = ve(!1), { control: c, watch: u, setValue: f, getValues: p } = Kr(), h = u("properties"), [A, g] = ve(() => h?.spec?.calendars?.length ? "calendar" : h?.spec?.cron_expressions?.length ? "cron_expression" : "interval"), m = as(), O = !$n(m);
|
|
154988
154987
|
Me(() => {
|
|
154989
154988
|
(h?.spec?.intervals?.length || h?.spec?.calendars?.length || h?.spec?.cron_expressions?.length) && (h?.spec.start_at ? s("Schedule Later") : s("Live Now"), h?.spec?.calendars?.length ? g("calendar") : h?.spec?.intervals?.length ? g("interval") : g("cron_expression"));
|
|
154990
154989
|
const v = Intl?.DateTimeFormat()?.resolvedOptions()?.timeZone;
|
|
@@ -168480,7 +168479,7 @@ const GS = (e) => {
|
|
|
168480
168479
|
INTEGRATION_DATA: O,
|
|
168481
168480
|
viewOnly: y = !1,
|
|
168482
168481
|
openIntegrationDrawer: v
|
|
168483
|
-
} = e, [x, S] = ve([]), [b, C] = ve(!1), [w, _] = ve(!1), [D, N] = ve(!1), [P, R] = ve([]), [M, F] = ve([]), [W, B] = ve("Query Params"), [G, L] = ve(!1), [V, $] = ve(!1), [I, k] = ve(!1), j = I ?
|
|
168482
|
+
} = e, [x, S] = ve([]), [b, C] = ve(!1), [w, _] = ve(!1), [D, N] = ve(!1), [P, R] = ve([]), [M, F] = ve([]), [W, B] = ve("Query Params"), [G, L] = ve(!1), [V, $] = ve(!1), [I, k] = ve(!1), j = I ? jn : jn.filter((se) => se.value), q = async () => {
|
|
168484
168483
|
C(!0);
|
|
168485
168484
|
const se = {
|
|
168486
168485
|
page_size: 999,
|
|
@@ -169078,7 +169077,7 @@ const GS = (e) => {
|
|
|
169078
169077
|
name: `properties.${c.event}.send_with_thread`,
|
|
169079
169078
|
control: i,
|
|
169080
169079
|
meta: {
|
|
169081
|
-
options:
|
|
169080
|
+
options: jn,
|
|
169082
169081
|
displayName: "Send Channel Message?",
|
|
169083
169082
|
description: Hn(
|
|
169084
169083
|
g,
|
|
@@ -170338,7 +170337,7 @@ const GS = (e) => {
|
|
|
170338
170337
|
} else
|
|
170339
170338
|
be.current = null, fe.current ? fe.current = !1 : J(se === "completed" && pe ? 1 : 0);
|
|
170340
170339
|
}, [t?.id, R?.nodeId, R?.runWithPrevious, se, pe]);
|
|
170341
|
-
const { VORTEX_MAIN_URL: ge } = W, [ye, Ue] = ve(!1), [Ze, He] = ve(t?.data?.name || ""), [ot, dt] = ve(null), ct =
|
|
170340
|
+
const { VORTEX_MAIN_URL: ge } = W, [ye, Ue] = ve(!1), [Ze, He] = ve(t?.data?.name || ""), [ot, dt] = ve(null), ct = $n(S), Le = $n(Gr.VERSION), [Ge, qe] = ve(null), Ee = async (Ke) => await Ppe(
|
|
170342
170341
|
Ke.trim(),
|
|
170343
170342
|
t.data.name,
|
|
170344
170343
|
w,
|
|
@@ -173131,7 +173130,7 @@ const zO = ({
|
|
|
173131
173130
|
handleDeleteNode: a,
|
|
173132
173131
|
currentSubscription: l,
|
|
173133
173132
|
pro_integration: c
|
|
173134
|
-
} = e, u =
|
|
173133
|
+
} = e, u = $n(Gr.VERSION), f = as(), p = $n(f), h = Ir(), A = wt(), { analytics: g } = Xi(), m = tl(), E = sc(), { workflow: O } = er((j) => j.workflows), { canvasWorkflow: y, activityExecutionData: v, viewOnly: x, showDebugLogs: S, selectedActivityId: b } = er(
|
|
173135
173134
|
(j) => j.canvas
|
|
173136
173135
|
), C = m.find((j) => j.id === b), w = y?.meta?.isHorizontal ?? !0, _ = m?.find((j) => j?.type === Dt.TRIGGER), { activities: D, triggers: N } = er(QO), P = Array.isArray(D) ? D : [], R = Array.isArray(N) ? N : [], M = Pi(P, R, r, "pro"), F = !!M && M !== "", W = F && c === !1, [B, G] = ve(!1), L = v?.[r.name]?.loading ?? !1, V = _?.data?.type, I = (Array.isArray(r?.properties?.branches) ? r.properties.branches : []).length + 1, k = Math.max(I * 16, 84);
|
|
173137
173136
|
return /* @__PURE__ */ d.jsxs(
|
|
@@ -173303,7 +173302,7 @@ const zO = ({
|
|
|
173303
173302
|
}
|
|
173304
173303
|
);
|
|
173305
173304
|
}), Jct = (e, t, r, n, i) => {
|
|
173306
|
-
const o = wt(), s = tl(), a = sc(), l = Ir(), c =
|
|
173305
|
+
const o = wt(), s = tl(), a = sc(), l = Ir(), c = $n(), { analytics: u, ENTITY_ID: f, WORKFLOW_URLS: p } = Xi(), { activity_names: h } = er((_) => _.activities), { selectedPlaceholderId: A } = er((_) => _.canvas), g = (_, D) => [..._, D], { captureEvent: m, WORKFLOW_EVENTS: E } = u || {}, O = pt(
|
|
173307
173306
|
(_) => {
|
|
173308
173307
|
_.preventDefault(), A && l({
|
|
173309
173308
|
type: um,
|
|
@@ -174413,7 +174412,7 @@ const voe = (e) => {
|
|
|
174413
174412
|
bolticAiOverlay: Y,
|
|
174414
174413
|
showDebugLogs: oe,
|
|
174415
174414
|
runLogsPanelHeight: te
|
|
174416
|
-
} = er((he) => he.canvas), { selectedPlaceholderId: ae } = er((he) => he.canvas), Oe = oe ? Math.max(0, (te ?? 340) - aut) : 0, Te = !H, { workflow: se, scheduleState: ne, versions: J } = er((he) => he.workflows), { activities: K, triggers: ee, activity_names: le } = er((he) => he.activities), [pe, Ae] = ve([]), fe = bh(), be = as(), ge =
|
|
174415
|
+
} = er((he) => he.canvas), { selectedPlaceholderId: ae } = er((he) => he.canvas), Oe = oe ? Math.max(0, (te ?? 340) - aut) : 0, Te = !H, { workflow: se, scheduleState: ne, versions: J } = er((he) => he.workflows), { activities: K, triggers: ee, activity_names: le } = er((he) => he.activities), [pe, Ae] = ve([]), fe = bh(), be = as(), ge = $n(be), ye = $n(Gr.VERSION), Ze = ye || ge, He = Nt(null);
|
|
174417
174416
|
Me(() => () => {
|
|
174418
174417
|
He.current && clearTimeout(He.current);
|
|
174419
174418
|
}, []);
|
|
@@ -174839,7 +174838,7 @@ const voe = (e) => {
|
|
|
174839
174838
|
payload: !!Q?.nodeId
|
|
174840
174839
|
});
|
|
174841
174840
|
}, [Q?.nodeId]);
|
|
174842
|
-
const [_n, Or] = ve(!1), [kr,
|
|
174841
|
+
const [_n, Or] = ve(!1), [kr, Vn] = ve(!1), [Vt, lr] = ve(!1), [Zr, Br] = ve(null), [Pr, zr] = ve(!1), { selectedActivityId: tn, openDrawer: qr } = er((he) => he.canvas), [Bn, Mn] = ve(null), qn = io(), { undo: Li, redo: Ao, canUndo: An, canRedo: $o, takeSnapshot: ie } = eut(), Je = (() => {
|
|
174843
174842
|
const he = localStorage.getItem(`viewport-${ge}`);
|
|
174844
174843
|
if (he)
|
|
174845
174844
|
return JSON.parse(he);
|
|
@@ -174855,7 +174854,7 @@ const voe = (e) => {
|
|
|
174855
174854
|
const mt = (he) => {
|
|
174856
174855
|
if (H)
|
|
174857
174856
|
return;
|
|
174858
|
-
Br(he), f?.find((st) => st?.id === he?.[0]?.id)?.data?.type === nt.FP_WEBHOOK && E?.includes("commerce_") ?
|
|
174857
|
+
Br(he), f?.find((st) => st?.id === he?.[0]?.id)?.data?.type === nt.FP_WEBHOOK && E?.includes("commerce_") ? Vn(!1) : Vn(!0), l(null);
|
|
174859
174858
|
}, {
|
|
174860
174859
|
onDrop: kt,
|
|
174861
174860
|
onConnect: cr,
|
|
@@ -175701,7 +175700,7 @@ const voe = (e) => {
|
|
|
175701
175700
|
b({
|
|
175702
175701
|
type: Wi.SET_ACTIVITY_NAMES,
|
|
175703
175702
|
payload: st
|
|
175704
|
-
}),
|
|
175703
|
+
}), Vn(!1), Br(null), ge && I && i && Ne.length > 0 && gL(
|
|
175705
175704
|
ge,
|
|
175706
175705
|
Ne,
|
|
175707
175706
|
I,
|
|
@@ -175710,11 +175709,11 @@ const voe = (e) => {
|
|
|
175710
175709
|
});
|
|
175711
175710
|
return;
|
|
175712
175711
|
}
|
|
175713
|
-
|
|
175712
|
+
Vn(!1), Br(null);
|
|
175714
175713
|
}
|
|
175715
175714
|
},
|
|
175716
175715
|
onClose: () => {
|
|
175717
|
-
|
|
175716
|
+
Vn(!1), Br(null);
|
|
175718
175717
|
}
|
|
175719
175718
|
}
|
|
175720
175719
|
),
|
|
@@ -179187,7 +179186,7 @@ const tG = ({ data: e, maxHeight: t = 400 }) => {
|
|
|
179187
179186
|
}, [se]), Me(() => {
|
|
179188
179187
|
v && c({ type: HQ, payload: Oe });
|
|
179189
179188
|
}, [Oe, v, c]);
|
|
179190
|
-
const Ae = as(), fe =
|
|
179189
|
+
const Ae = as(), fe = $n(Ae), be = $n("version"), ge = $n(Ae), ye = {
|
|
179191
179190
|
next_id: null,
|
|
179192
179191
|
prev_id: null,
|
|
179193
179192
|
per_page: 10,
|
|
@@ -180516,7 +180515,7 @@ const tG = ({ data: e, maxHeight: t = 400 }) => {
|
|
|
180516
180515
|
}
|
|
180517
180516
|
);
|
|
180518
180517
|
}, Ndt = ({ setActiveMenu: e, open: t, onClose: r }) => {
|
|
180519
|
-
const n = wt(), i = Ir(), [o, s] = ve(""), [a, l] = ve(!1), [c, u] = ve(!1), [f, p] = ve(null), [h, A] = ve(!0), { canvasWorkflow: g } = er((B) => B.canvas), { WORKFLOW_URLS: m, ENTITY_ID: E } = Xi(), { setNodes: O, setEdges: y, getNodes: v } = io(), x = as(), S =
|
|
180518
|
+
const n = wt(), i = Ir(), [o, s] = ve(""), [a, l] = ve(!1), [c, u] = ve(!1), [f, p] = ve(null), [h, A] = ve(!0), { canvasWorkflow: g } = er((B) => B.canvas), { WORKFLOW_URLS: m, ENTITY_ID: E } = Xi(), { setNodes: O, setEdges: y, getNodes: v } = io(), x = as(), S = $n(x), b = async (B) => {
|
|
180520
180519
|
if (!B) return;
|
|
180521
180520
|
u(!0), i({
|
|
180522
180521
|
type: rD,
|
|
@@ -181537,7 +181536,7 @@ const cG = 1024 * 2, uG = 768 * 2, _ft = ({ nodes: e, edges: t, open: r, onClose
|
|
|
181537
181536
|
}
|
|
181538
181537
|
);
|
|
181539
181538
|
}, Rft = ({ VORTEX_MAIN_URL: e, ENTITY_ID: t }) => {
|
|
181540
|
-
const r = Ir(), { trigger_help: n, workflow: i, versions: o } = er((g) => g.workflows), [s, a] = ve(""), [l, c] = ve("get"), [u, f] = ve({}), p =
|
|
181539
|
+
const r = Ir(), { trigger_help: n, workflow: i, versions: o } = er((g) => g.workflows), [s, a] = ve(""), [l, c] = ve("get"), [u, f] = ve({}), p = $n(Gr.VERSION), h = $n(), A = {
|
|
181541
181540
|
URL: "https://cdn.pixelbin.io/v2/fyndcloud/original/url.svg",
|
|
181542
181541
|
Python: "https://cdn.pixelbin.io/v2/fyndcloud/fyndst/original/images/svgs/python.svg",
|
|
181543
181542
|
cURL: "https://cdn.pixelbin.io/v2/fyndcloud/fyndst/original/images/svgs/curl.svg",
|
|
@@ -182269,7 +182268,7 @@ const cG = 1024 * 2, uG = 768 * 2, _ft = ({ nodes: e, edges: t, open: r, onClose
|
|
|
182269
182268
|
i({ type: gT });
|
|
182270
182269
|
const y = `/accounts/${l}/workflow-builder/draft/${O}`;
|
|
182271
182270
|
r ? r(y, { replace: !0 }) : window.location.replace(Mf(y));
|
|
182272
|
-
}, g = as(), m =
|
|
182271
|
+
}, g = as(), m = $n(g), E = async () => {
|
|
182273
182272
|
const O = {
|
|
182274
182273
|
id: o.id
|
|
182275
182274
|
};
|
|
@@ -182365,7 +182364,7 @@ const cG = 1024 * 2, uG = 768 * 2, _ft = ({ nodes: e, edges: t, open: r, onClose
|
|
|
182365
182364
|
title: "",
|
|
182366
182365
|
content: "",
|
|
182367
182366
|
status: ""
|
|
182368
|
-
}), [$, I] = ve(!1), k = new URLSearchParams(window.location.search), j = as(), { workflow: q } = er((De) => De.workflows), { canvasWorkflow: z, viewOnly: U, showDebugLogs: H, autoSaving: Q } = er((De) => De.canvas), X = l?.find((De) => De.type === Dt.TRIGGER), [Y, oe] = ve(""), te =
|
|
182367
|
+
}), [$, I] = ve(!1), k = new URLSearchParams(window.location.search), j = as(), { workflow: q } = er((De) => De.workflows), { canvasWorkflow: z, viewOnly: U, showDebugLogs: H, autoSaving: Q } = er((De) => De.canvas), X = l?.find((De) => De.type === Dt.TRIGGER), [Y, oe] = ve(""), te = $n(), ae = $n("version"), Oe = [Gr.PUBLISHED, Gr.SCHEDULED].includes(
|
|
182369
182368
|
j
|
|
182370
182369
|
) ? q?.id || q?.parent_id || "" : q?.parent_id || "", {
|
|
182371
182370
|
versions: Te,
|
|
@@ -183212,7 +183211,7 @@ const cG = 1024 * 2, uG = 768 * 2, _ft = ({ nodes: e, edges: t, open: r, onClose
|
|
|
183212
183211
|
const { navigate: t, VORTEX_MAIN_URL: r, ENTITY_ID: n, setSelectedMenu: i, currentSubscription: o } = e, { versions: s, workflow: a } = er((V) => V.workflows), [l, c] = ve(!1), [u, f] = ve(!1), [p, h] = ve({
|
|
183213
183212
|
data: [],
|
|
183214
183213
|
pagination: { current_page: 1, total_count: 0, per_page: 10 }
|
|
183215
|
-
}), A = as(), g =
|
|
183214
|
+
}), A = as(), g = $n("workflow"), m = Ir(), E = wt(), y = new URLSearchParams(window.location.search).get("source")?.toLowerCase(), [v, x] = ve(null), S = {
|
|
183216
183215
|
page: 1,
|
|
183217
183216
|
per_page: 999
|
|
183218
183217
|
}, b = [Gr.PUBLISHED, Gr.SCHEDULED].includes(A) ? a?.id || a?.parent_id || "" : a?.parent_id || "";
|
|
@@ -183881,7 +183880,7 @@ const Wft = ({ onUpgradeToPro: e }) => {
|
|
|
183881
183880
|
setSelectedMenu: u,
|
|
183882
183881
|
pro_integration: f,
|
|
183883
183882
|
openUpgradeModal: p
|
|
183884
|
-
} = e, h = wt(), A = Ir(), g = io(), [m, E] = ve({}), { setNodes: O } = io(), [y, v] = ve(""), [x, S] = ve(!0), b =
|
|
183883
|
+
} = e, h = wt(), A = Ir(), g = io(), [m, E] = ve({}), { setNodes: O } = io(), [y, v] = ve(""), [x, S] = ve(!0), b = $n() || "", C = [
|
|
183885
183884
|
{ icon: "ic_all", label: "All" },
|
|
183886
183885
|
{ icon: "ic_apps", label: "Integrations" },
|
|
183887
183886
|
{ icon: "ic_tools", label: "Built in tools" }
|
|
@@ -184254,7 +184253,7 @@ const Wft = ({ onUpgradeToPro: e }) => {
|
|
|
184254
184253
|
pro_integration: i,
|
|
184255
184254
|
openUpgradeModal: o
|
|
184256
184255
|
}) => {
|
|
184257
|
-
const s = wt(), a = Ir(), { getNodes: l, getEdges: c, setNodes: u, setEdges: f } = io(), p = c(), h = l(), [A, g] = re.useState(""), { canvasWorkflow: m, showSideBar: E, selectedPlaceholderId: O } = er((G) => G.canvas), { retry_config: y } = m, { VORTEX_MAIN_URL: v, VORTEX_SYNC_DOMAIN: x } = r, S = as(), b =
|
|
184256
|
+
const s = wt(), a = Ir(), { getNodes: l, getEdges: c, setNodes: u, setEdges: f } = io(), p = c(), h = l(), [A, g] = re.useState(""), { canvasWorkflow: m, showSideBar: E, selectedPlaceholderId: O } = er((G) => G.canvas), { retry_config: y } = m, { VORTEX_MAIN_URL: v, VORTEX_SYNC_DOMAIN: x } = r, S = as(), b = $n(S), C = $n(Gr.VERSION), { activitiesPopover: w } = er((G) => G.canvas), D = new URLSearchParams(window.location.search).get("source")?.toLowerCase(), N = () => xt(m) ? !1 : S !== Gr.DRAFT, P = qt(
|
|
184258
184257
|
() => [
|
|
184259
184258
|
{
|
|
184260
184259
|
label: "Add activity",
|
|
@@ -184465,7 +184464,7 @@ const Wft = ({ onUpgradeToPro: e }) => {
|
|
|
184465
184464
|
...w,
|
|
184466
184465
|
nodes: g,
|
|
184467
184466
|
edges: E
|
|
184468
|
-
}), k =
|
|
184467
|
+
}), k = $n(Gr.VERSION), j = as(), q = $n(), [z, U] = ve(!!q), [H, Q] = ve(!1), [X, Y] = ve(null), oe = new URLSearchParams(window.location.search), te = oe.get("source")?.toLowerCase(), ae = oe.get("triggerType")?.toLowerCase(), [Oe, Te] = ve(null), [se, ne] = ve(!1), [J, K] = ve(!1), ee = Nt(null), le = g?.find((ze) => ze.type === Dt.TRIGGER), pe = () => ET(F) === ET({
|
|
184469
184468
|
...w,
|
|
184470
184469
|
nodes: Oc("nodes_update", g),
|
|
184471
184470
|
edges: Oc("edges_update", null, E)
|
|
@@ -184705,7 +184704,7 @@ const Wft = ({ onUpgradeToPro: e }) => {
|
|
|
184705
184704
|
}
|
|
184706
184705
|
}, tt = window.location.pathname.includes("/executions");
|
|
184707
184706
|
if (ze(), q && YI(q) && j) {
|
|
184708
|
-
const bt =
|
|
184707
|
+
const bt = $n(Gr.VERSION);
|
|
184709
184708
|
ee.current !== null && ee.current !== bt && (C(zM()), C({
|
|
184710
184709
|
type: gT
|
|
184711
184710
|
}), C({
|
|
@@ -184720,7 +184719,7 @@ const Wft = ({ onUpgradeToPro: e }) => {
|
|
|
184720
184719
|
type: rg,
|
|
184721
184720
|
payload: !0
|
|
184722
184721
|
});
|
|
184723
|
-
const lt = xt(bt) ?
|
|
184722
|
+
const lt = xt(bt) ? $n(j) : bt;
|
|
184724
184723
|
C(uz(lt, b, r));
|
|
184725
184724
|
} else if (!tt) {
|
|
184726
184725
|
C({
|
|
@@ -184741,7 +184740,7 @@ const Wft = ({ onUpgradeToPro: e }) => {
|
|
|
184741
184740
|
}
|
|
184742
184741
|
}, [C, q, k, j, b, r]), Me(() => {
|
|
184743
184742
|
if (!xt(F)) {
|
|
184744
|
-
const tt =
|
|
184743
|
+
const tt = $n(Gr.VERSION) || $n(j);
|
|
184745
184744
|
if (tt && F?.id !== tt)
|
|
184746
184745
|
return;
|
|
184747
184746
|
P || U(!0);
|
|
@@ -186417,7 +186416,7 @@ const lpt = /* @__PURE__ */ ci(apt), cpt = (e) => {
|
|
|
186417
186416
|
allowedAccount: p,
|
|
186418
186417
|
openUpgradeModal: h,
|
|
186419
186418
|
openAddonModal: A
|
|
186420
|
-
} = e, g =
|
|
186419
|
+
} = e, g = $n("workflow"), { canvasWorkflow: { name: m = "", version: E = "", meta: O = {}, source: y = "" } = {} } = er((_) => _.canvas) ?? {}, v = new URLSearchParams(window.location.search), x = v.get("from"), S = v.get("template_id"), b = er((_) => _.customization), [C, w] = ve(null);
|
|
186421
186420
|
return Me(() => {
|
|
186422
186421
|
if (!(x === "express" || S)) return;
|
|
186423
186422
|
const _ = window?.__wisper;
|