@notmrabhi/flowforge 0.1.30 → 0.1.31
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/{SchemaBuilderDrawer-aVm7c6nP.js → SchemaBuilderDrawer-4ubE7KhK.js} +1 -1
- package/dist/{SchemaBuilderDrawer-Lp7zHKBy.js → SchemaBuilderDrawer-CC0gkAU_.js} +1 -1
- package/dist/canvas.cjs +1 -1
- package/dist/canvas.js +1 -1
- package/dist/form.cjs +1 -1
- package/dist/form.js +2 -2
- package/dist/{index-B-NeAOji.js → index-BsJvlQWO.js} +4 -4
- package/dist/{index-SDJsHAB6.js → index-CH_7c8r7.js} +1 -1
- package/dist/{index-DSfC-xL6.js → index-D1D2Okji.js} +1 -1
- package/dist/{index-S399xejO.js → index-DwTs1qiP.js} +1 -1
- package/dist/{index-B0u18V8x.js → index-DyXSbNQ1.js} +81 -82
- package/dist/{index-CGrhrpf7.js → index-LWDTj1BM.js} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +3 -3
- package/dist/{templateSkeletons-CxjL_Z5B.js → templateSkeletons-DOVpyZef.js} +1 -1
- package/dist/{templateSkeletons-DjW20p1_.js → templateSkeletons-x31LuHLb.js} +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as E, jsx as d, Fragment as Ve } from "react/jsx-runtime";
|
|
2
2
|
import * as K from "react";
|
|
3
|
-
import
|
|
3
|
+
import Qe, { createContext as Et, useContext as Ot, useState as L, useRef as H, useCallback as z, useEffect as q, useMemo as ae, useLayoutEffect as go, Component as Fr, Fragment as qt, forwardRef as Ft, Suspense as wr, useImperativeHandle as bo } from "react";
|
|
4
4
|
import { FormikProvider as Pn, Formik as ho, Form as mo, useField as vo, useFormikContext as wt } from "formik";
|
|
5
|
-
import { MdInfoOutline as Io, MdDataObject as Tt, MdClose as Fe, MdSearch as gn, MdKeyboardArrowRight as bn, MdContentCopy as xo, MdCheckCircle as yo, MdAdd as
|
|
5
|
+
import { MdInfoOutline as Io, MdDataObject as Tt, MdClose as Fe, MdSearch as gn, MdKeyboardArrowRight as bn, MdContentCopy as xo, MdCheckCircle as yo, MdAdd as qe, MdUploadFile as Co, MdInsertDriveFile as Ao, MdDeleteOutline as Tr, MdKeyboardArrowDown as So } from "react-icons/md";
|
|
6
6
|
import { Tooltip as Se, IconButton as Gr, Box as N, Typography as de, InputBase as Ro, Divider as hn, Collapse as Br, Snackbar as Eo, Alert as Oo, Select as Vr, MenuItem as gt, TextField as Dr, FormControlLabel as Nr, Switch as Fo, RadioGroup as wo, Radio as To, Slider as Go, Chip as Bo, Button as Ln } from "@mui/material";
|
|
7
7
|
import Vo, { createPortal as Do } from "react-dom";
|
|
8
8
|
import mn, { components as vn } from "react-select";
|
|
@@ -391,7 +391,7 @@ function jo({ groups: n, children: e }) {
|
|
|
391
391
|
anchorEl: o
|
|
392
392
|
}, children: e });
|
|
393
393
|
}
|
|
394
|
-
function
|
|
394
|
+
function Ke() {
|
|
395
395
|
return Ot(_r);
|
|
396
396
|
}
|
|
397
397
|
function $o(n, e) {
|
|
@@ -409,7 +409,7 @@ function Jr(n, e) {
|
|
|
409
409
|
return n.label.toLowerCase().includes(t) || n.path.toLowerCase().includes(t) || (((i = n.description) == null ? void 0 : i.toLowerCase().includes(t)) ?? !1);
|
|
410
410
|
}
|
|
411
411
|
function Uo({ item: n }) {
|
|
412
|
-
const e =
|
|
412
|
+
const e = Ke(), [t, i] = L(!1), r = (a) => {
|
|
413
413
|
a.dataTransfer.effectAllowed = "copy", a.dataTransfer.setData(Kt, JSON.stringify({ path: n.path, label: n.label }));
|
|
414
414
|
const o = document.createElement("span");
|
|
415
415
|
o.textContent = `{ } ${n.label}`, Object.assign(o.style, {
|
|
@@ -539,7 +539,7 @@ function Cd({
|
|
|
539
539
|
title: e = "Values",
|
|
540
540
|
mode: t = "drawer"
|
|
541
541
|
}) {
|
|
542
|
-
const i =
|
|
542
|
+
const i = Ke(), [r, a] = L(""), [o, u] = L(null), s = H(null);
|
|
543
543
|
if (q(() => {
|
|
544
544
|
if (t !== "popover" || !(i != null && i.isOpen)) return;
|
|
545
545
|
function f(g) {
|
|
@@ -729,7 +729,7 @@ function $r({
|
|
|
729
729
|
onPickerOpen: l,
|
|
730
730
|
compact: c
|
|
731
731
|
}) {
|
|
732
|
-
const f = H(null), g = H(null), p = H(""), h = H(!1), b = n.length === 0 || n.length === 1 && n[0].type === "text" && !n[0].value, m =
|
|
732
|
+
const f = H(null), g = H(null), p = H(""), h = H(!1), b = n.length === 0 || n.length === 1 && n[0].type === "text" && !n[0].value, m = Ke(), [v, I] = L(null), [C, x] = L(!1);
|
|
733
733
|
q(() => {
|
|
734
734
|
const R = f.current;
|
|
735
735
|
if (!R) return;
|
|
@@ -1033,7 +1033,7 @@ function Ur({
|
|
|
1033
1033
|
onFormulaConfigChange: u,
|
|
1034
1034
|
inlineLabel: s
|
|
1035
1035
|
}) {
|
|
1036
|
-
const l = { ...n, multiline: n.multiline || n.type === "textarea" }, c = l.id ?? l.name ?? "", f = l.formula === !0, g =
|
|
1036
|
+
const l = { ...n, multiline: n.multiline || n.type === "textarea" }, c = l.id ?? l.name ?? "", f = l.formula === !0, g = Ke(), [p, h] = L(
|
|
1037
1037
|
() => f && c in (o ?? {})
|
|
1038
1038
|
), b = H(p);
|
|
1039
1039
|
b.current = p, q(() => () => {
|
|
@@ -1501,7 +1501,7 @@ function ba(n, e) {
|
|
|
1501
1501
|
}
|
|
1502
1502
|
}));
|
|
1503
1503
|
}
|
|
1504
|
-
const ha = Math.min, ma = Math.max, mt = Math.round,
|
|
1504
|
+
const ha = Math.min, ma = Math.max, mt = Math.round, nt = Math.floor, vt = (n) => ({
|
|
1505
1505
|
x: n,
|
|
1506
1506
|
y: n
|
|
1507
1507
|
});
|
|
@@ -1678,7 +1678,7 @@ function Oa(n, e) {
|
|
|
1678
1678
|
} = l;
|
|
1679
1679
|
if (u || e(), !g || !p)
|
|
1680
1680
|
return;
|
|
1681
|
-
const h =
|
|
1681
|
+
const h = nt(f), b = nt(r.clientWidth - (c + g)), m = nt(r.clientHeight - (f + p)), v = nt(c), C = {
|
|
1682
1682
|
rootMargin: -h + "px " + -b + "px " + -m + "px " + -v + "px",
|
|
1683
1683
|
threshold: ma(0, ha(1, s)) || 1
|
|
1684
1684
|
};
|
|
@@ -1808,7 +1808,7 @@ function Da(n) {
|
|
|
1808
1808
|
function Na(n, e, t, i) {
|
|
1809
1809
|
return t * ((n = n / i - 1) * n * n + 1) + e;
|
|
1810
1810
|
}
|
|
1811
|
-
function
|
|
1811
|
+
function rt(n, e) {
|
|
1812
1812
|
var t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 200, i = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : xt, r = si(n), a = e - r, o = 10, u = 0;
|
|
1813
1813
|
function s() {
|
|
1814
1814
|
u += o;
|
|
@@ -1850,8 +1850,8 @@ var li = !1, Ma = {
|
|
|
1850
1850
|
get passive() {
|
|
1851
1851
|
return li = !0;
|
|
1852
1852
|
}
|
|
1853
|
-
},
|
|
1854
|
-
|
|
1853
|
+
}, it = typeof window < "u" ? window : {};
|
|
1854
|
+
it.addEventListener && it.removeEventListener && (it.addEventListener("p", xt, Ma), it.removeEventListener("p", xt, !1));
|
|
1855
1855
|
var Wa = li;
|
|
1856
1856
|
function Xa(n) {
|
|
1857
1857
|
return n != null;
|
|
@@ -1890,12 +1890,12 @@ function _a(n) {
|
|
|
1890
1890
|
maxHeight: e
|
|
1891
1891
|
};
|
|
1892
1892
|
if (B >= h && !o)
|
|
1893
|
-
return a &&
|
|
1893
|
+
return a && rt(s, W, D), {
|
|
1894
1894
|
placement: "bottom",
|
|
1895
1895
|
maxHeight: e
|
|
1896
1896
|
};
|
|
1897
1897
|
if (!o && B >= i || o && S >= i) {
|
|
1898
|
-
a &&
|
|
1898
|
+
a && rt(s, W, D);
|
|
1899
1899
|
var G = o ? S - x : B - x;
|
|
1900
1900
|
return {
|
|
1901
1901
|
placement: "bottom",
|
|
@@ -1922,13 +1922,13 @@ function _a(n) {
|
|
|
1922
1922
|
maxHeight: e
|
|
1923
1923
|
};
|
|
1924
1924
|
if (T >= h && !o)
|
|
1925
|
-
return a &&
|
|
1925
|
+
return a && rt(s, F, D), {
|
|
1926
1926
|
placement: "top",
|
|
1927
1927
|
maxHeight: e
|
|
1928
1928
|
};
|
|
1929
1929
|
if (!o && T >= i || o && O >= i) {
|
|
1930
1930
|
var j = e;
|
|
1931
|
-
return (!o && T >= i || o && O >= i) && (j = o ? O - y : T - y), a &&
|
|
1931
|
+
return (!o && T >= i || o && O >= i) && (j = o ? O - y : T - y), a && rt(s, F, D), {
|
|
1932
1932
|
placement: "top",
|
|
1933
1933
|
maxHeight: j
|
|
1934
1934
|
};
|
|
@@ -3329,7 +3329,7 @@ function ir(n, e, t, i) {
|
|
|
3329
3329
|
index: i
|
|
3330
3330
|
};
|
|
3331
3331
|
}
|
|
3332
|
-
function
|
|
3332
|
+
function lt(n, e) {
|
|
3333
3333
|
return n.options.map(function(t, i) {
|
|
3334
3334
|
if ("options" in t) {
|
|
3335
3335
|
var r = t.options.map(function(o, u) {
|
|
@@ -3369,7 +3369,7 @@ function or(n, e) {
|
|
|
3369
3369
|
}, []);
|
|
3370
3370
|
}
|
|
3371
3371
|
function Hl(n, e) {
|
|
3372
|
-
return Ai(
|
|
3372
|
+
return Ai(lt(n, e));
|
|
3373
3373
|
}
|
|
3374
3374
|
function ar(n, e) {
|
|
3375
3375
|
var t = n.inputValue, i = t === void 0 ? "" : t, r = e.data, a = e.isSelected, o = e.label, u = e.value;
|
|
@@ -3507,7 +3507,7 @@ var Fi = function(e) {
|
|
|
3507
3507
|
}, r.getFocusedOptionId = function(s) {
|
|
3508
3508
|
return Jt(r.state.focusableOptionsWithIds, s);
|
|
3509
3509
|
}, r.getFocusableOptionsWithIds = function() {
|
|
3510
|
-
return or(
|
|
3510
|
+
return or(lt(r.props, r.state.selectValue), r.getElementId("option"));
|
|
3511
3511
|
}, r.getValue = function() {
|
|
3512
3512
|
return r.state.selectValue;
|
|
3513
3513
|
}, r.cx = function() {
|
|
@@ -3531,7 +3531,7 @@ var Fi = function(e) {
|
|
|
3531
3531
|
}, r.getComponents = function() {
|
|
3532
3532
|
return rl(r.props);
|
|
3533
3533
|
}, r.buildCategorizedOptions = function() {
|
|
3534
|
-
return
|
|
3534
|
+
return lt(r.props, r.state.selectValue);
|
|
3535
3535
|
}, r.getCategorizedOptions = function() {
|
|
3536
3536
|
return r.props.menuIsOpen ? r.buildCategorizedOptions() : [];
|
|
3537
3537
|
}, r.buildFocusableOptions = function() {
|
|
@@ -4111,12 +4111,12 @@ var Fi = function(e) {
|
|
|
4111
4111
|
var r = this, a = this.getComponents(), o = a.Group, u = a.GroupHeading, s = a.Menu, l = a.MenuList, c = a.MenuPortal, f = a.LoadingMessage, g = a.NoOptionsMessage, p = a.Option, h = this.commonProps, b = this.state.focusedOption, m = this.props, v = m.captureMenuScroll, I = m.inputValue, C = m.isLoading, x = m.loadingMessage, y = m.minMenuHeight, O = m.maxMenuHeight, S = m.menuIsOpen, T = m.menuPlacement, B = m.menuPosition, W = m.menuPortalTarget, F = m.menuShouldBlockScroll, D = m.menuShouldScrollIntoView, G = m.noOptionsMessage, M = m.onMenuScrollToTop, V = m.onMenuScrollToBottom;
|
|
4112
4112
|
if (!S) return null;
|
|
4113
4113
|
var j = function(Z, w) {
|
|
4114
|
-
var k = Z.type, $ = Z.data, _ = Z.isDisabled, oe = Z.isSelected, he = Z.label, Pt = Z.value,
|
|
4114
|
+
var k = Z.type, $ = Z.data, _ = Z.isDisabled, oe = Z.isSelected, he = Z.label, Pt = Z.value, et = b === $, Ze = _ ? void 0 : function() {
|
|
4115
4115
|
return r.onOptionHover($);
|
|
4116
4116
|
}, Lt = _ ? void 0 : function() {
|
|
4117
4117
|
return r.selectOption($);
|
|
4118
|
-
},
|
|
4119
|
-
id:
|
|
4118
|
+
}, tt = "".concat(r.getElementId("option"), "-").concat(w), _e = {
|
|
4119
|
+
id: tt,
|
|
4120
4120
|
onClick: Lt,
|
|
4121
4121
|
onMouseMove: Ze,
|
|
4122
4122
|
onMouseOver: Ze,
|
|
@@ -4130,12 +4130,12 @@ var Fi = function(e) {
|
|
|
4130
4130
|
data: $,
|
|
4131
4131
|
isDisabled: _,
|
|
4132
4132
|
isSelected: oe,
|
|
4133
|
-
key:
|
|
4133
|
+
key: tt,
|
|
4134
4134
|
label: he,
|
|
4135
4135
|
type: k,
|
|
4136
4136
|
value: Pt,
|
|
4137
|
-
isFocused:
|
|
4138
|
-
innerRef:
|
|
4137
|
+
isFocused: et,
|
|
4138
|
+
innerRef: et ? r.getFocusedOptionRef : void 0
|
|
4139
4139
|
}), r.formatOptionLabel(Z.data, "menu"));
|
|
4140
4140
|
}, U;
|
|
4141
4141
|
if (this.hasOptions())
|
|
@@ -4306,7 +4306,7 @@ var Fi = function(e) {
|
|
|
4306
4306
|
value: function(r, a) {
|
|
4307
4307
|
var o = a.prevProps, u = a.clearFocusValueOnUpdate, s = a.inputIsHiddenAfterUpdate, l = a.ariaSelection, c = a.isFocused, f = a.prevWasFocused, g = a.instancePrefix, p = r.options, h = r.value, b = r.menuIsOpen, m = r.inputValue, v = r.isMulti, I = yt(h), C = {};
|
|
4308
4308
|
if (o && (h !== o.value || p !== o.options || b !== o.menuIsOpen || m !== o.inputValue)) {
|
|
4309
|
-
var x = b ? Hl(r, I) : [], y = b ? or(
|
|
4309
|
+
var x = b ? Hl(r, I) : [], y = b ? or(lt(r, I), "".concat(g, "-option")) : [], O = u ? Zl(a, I) : null, S = _l(a, x), T = Jt(y, S);
|
|
4310
4310
|
C = {
|
|
4311
4311
|
selectValue: I,
|
|
4312
4312
|
focusedOption: S,
|
|
@@ -4359,8 +4359,8 @@ var jl = ["defaultOptions", "cacheOptions", "loadOptions", "options", "isLoading
|
|
|
4359
4359
|
function wi(n) {
|
|
4360
4360
|
var e = n.defaultOptions, t = e === void 0 ? !1 : e, i = n.cacheOptions, r = i === void 0 ? !1 : i, a = n.loadOptions;
|
|
4361
4361
|
n.options;
|
|
4362
|
-
var o = n.isLoading, u = o === void 0 ? !1 : o, s = n.onInputChange, l = n.filterOption, c = l === void 0 ? null : l, f = ve(n, jl), g = f.inputValue, p = H(void 0), h = H(!1), b = L(Array.isArray(t) ? t : void 0), m = se(b, 2), v = m[0], I = m[1], C = L(typeof g < "u" ? g : ""), x = se(C, 2), y = x[0], O = x[1], S = L(t === !0), T = se(S, 2), B = T[0], W = T[1], F = L(void 0), D = se(F, 2), G = D[0], M = D[1], V = L([]), j = se(V, 2), U = j[0], Q = j[1], re = L(!1), ie = se(re, 2), R = ie[0], P = ie[1], Z = L({}), w = se(Z, 2), k = w[0], $ = w[1], _ = L(void 0), oe = se(_, 2), he = oe[0], Pt = oe[1],
|
|
4363
|
-
r !== Lt && ($({}),
|
|
4362
|
+
var o = n.isLoading, u = o === void 0 ? !1 : o, s = n.onInputChange, l = n.filterOption, c = l === void 0 ? null : l, f = ve(n, jl), g = f.inputValue, p = H(void 0), h = H(!1), b = L(Array.isArray(t) ? t : void 0), m = se(b, 2), v = m[0], I = m[1], C = L(typeof g < "u" ? g : ""), x = se(C, 2), y = x[0], O = x[1], S = L(t === !0), T = se(S, 2), B = T[0], W = T[1], F = L(void 0), D = se(F, 2), G = D[0], M = D[1], V = L([]), j = se(V, 2), U = j[0], Q = j[1], re = L(!1), ie = se(re, 2), R = ie[0], P = ie[1], Z = L({}), w = se(Z, 2), k = w[0], $ = w[1], _ = L(void 0), oe = se(_, 2), he = oe[0], Pt = oe[1], et = L(void 0), Ze = se(et, 2), Lt = Ze[0], tt = Ze[1];
|
|
4363
|
+
r !== Lt && ($({}), tt(r)), t !== he && (I(Array.isArray(t) ? t : void 0), Pt(t)), q(function() {
|
|
4364
4364
|
return h.current = !0, function() {
|
|
4365
4365
|
h.current = !1;
|
|
4366
4366
|
};
|
|
@@ -4480,7 +4480,7 @@ function Gi({
|
|
|
4480
4480
|
onFormulaConfigChange: s,
|
|
4481
4481
|
renderNative: l
|
|
4482
4482
|
}) {
|
|
4483
|
-
const c = n.formula === !0, f =
|
|
4483
|
+
const c = n.formula === !0, f = Ke(), g = H(null), [p, h] = L(
|
|
4484
4484
|
() => c && e in (u ?? {})
|
|
4485
4485
|
), b = H(p);
|
|
4486
4486
|
b.current = p, q(() => {
|
|
@@ -4929,7 +4929,7 @@ function cu(n, e) {
|
|
|
4929
4929
|
const t = n === "object" && e ? Bi(e) : n === "array" ? [] : "";
|
|
4930
4930
|
return t !== null && typeof t == "object" && !Array.isArray(t) ? { ...t, [Ce]: Oe() } : t;
|
|
4931
4931
|
}
|
|
4932
|
-
function
|
|
4932
|
+
function ot(n) {
|
|
4933
4933
|
return Array.isArray(n) ? n : [];
|
|
4934
4934
|
}
|
|
4935
4935
|
function du(n) {
|
|
@@ -5226,7 +5226,7 @@ function gu({
|
|
|
5226
5226
|
"&:hover:not(:disabled)": { borderColor: "#6366f1", bgcolor: "#f5f3ff" }
|
|
5227
5227
|
},
|
|
5228
5228
|
children: [
|
|
5229
|
-
/* @__PURE__ */ d(
|
|
5229
|
+
/* @__PURE__ */ d(qe, { size: 14 }),
|
|
5230
5230
|
C.addLabel ?? `Add ${C.itemLabel ?? "item"}`
|
|
5231
5231
|
]
|
|
5232
5232
|
}
|
|
@@ -5255,7 +5255,7 @@ function Dt(n) {
|
|
|
5255
5255
|
field: e,
|
|
5256
5256
|
pathPrefix: r,
|
|
5257
5257
|
childFields: I,
|
|
5258
|
-
items:
|
|
5258
|
+
items: ot(t),
|
|
5259
5259
|
values: a ?? {},
|
|
5260
5260
|
errors: o ?? {},
|
|
5261
5261
|
touched: u ?? {},
|
|
@@ -5271,10 +5271,10 @@ function Dt(n) {
|
|
|
5271
5271
|
maxItems: v
|
|
5272
5272
|
}
|
|
5273
5273
|
);
|
|
5274
|
-
const [x, y] = L(() => jt(
|
|
5274
|
+
const [x, y] = L(() => jt(ot(t))), O = H(JSON.stringify($t(x)));
|
|
5275
5275
|
q(() => {
|
|
5276
|
-
if (JSON.stringify(
|
|
5277
|
-
const D = jt(
|
|
5276
|
+
if (JSON.stringify(ot(t)) !== O.current) {
|
|
5277
|
+
const D = jt(ot(t));
|
|
5278
5278
|
y(D), O.current = JSON.stringify($t(D));
|
|
5279
5279
|
}
|
|
5280
5280
|
}, [t]);
|
|
@@ -5389,7 +5389,7 @@ function Dt(n) {
|
|
|
5389
5389
|
"&:hover:not(:disabled)": { borderColor: "#6366f1", bgcolor: "#f5f3ff" }
|
|
5390
5390
|
},
|
|
5391
5391
|
children: [
|
|
5392
|
-
/* @__PURE__ */ d(
|
|
5392
|
+
/* @__PURE__ */ d(qe, { size: 14 }),
|
|
5393
5393
|
p.addLabel ?? `Add ${p.itemLabel ?? "item"}`
|
|
5394
5394
|
]
|
|
5395
5395
|
}
|
|
@@ -6148,7 +6148,7 @@ function Ru({
|
|
|
6148
6148
|
(s || p) && /* @__PURE__ */ d("small", { "data-testid": `${u}-error`, style: fe, children: p ?? r })
|
|
6149
6149
|
] });
|
|
6150
6150
|
}
|
|
6151
|
-
const Eu =
|
|
6151
|
+
const Eu = Qe.lazy(async () => ({ default: (await import("./index-CH_7c8r7.js")).default }));
|
|
6152
6152
|
async function Ou(n) {
|
|
6153
6153
|
switch (n) {
|
|
6154
6154
|
case "python":
|
|
@@ -6173,8 +6173,8 @@ function Pi({
|
|
|
6173
6173
|
style: s,
|
|
6174
6174
|
fallbackHeight: l
|
|
6175
6175
|
}) {
|
|
6176
|
-
const [c, f] =
|
|
6177
|
-
|
|
6176
|
+
const [c, f] = Qe.useState(null);
|
|
6177
|
+
Qe.useEffect(() => {
|
|
6178
6178
|
let p = !0;
|
|
6179
6179
|
return Ou(n).then((h) => {
|
|
6180
6180
|
p && f(h);
|
|
@@ -6356,8 +6356,8 @@ function Tu({
|
|
|
6356
6356
|
s && /* @__PURE__ */ d("small", { "data-testid": `${u}-error`, style: fe, children: r })
|
|
6357
6357
|
] });
|
|
6358
6358
|
}
|
|
6359
|
-
const Gu =
|
|
6360
|
-
() => import("./index-
|
|
6359
|
+
const Gu = Qe.lazy(
|
|
6360
|
+
() => import("./index-LWDTj1BM.js").then((n) => n.i).then((n) => (Promise.resolve({ }), { default: n.default }))
|
|
6361
6361
|
), Bu = [
|
|
6362
6362
|
[{ header: [1, 2, 3, !1] }],
|
|
6363
6363
|
["bold", "italic", "underline", "strike"],
|
|
@@ -6430,7 +6430,7 @@ if (typeof document < "u" && !document.getElementById("ff-spin-style")) {
|
|
|
6430
6430
|
n.id = "ff-spin-style", n.textContent = "@keyframes ff-spin { to { transform: rotate(360deg); } }", document.head.appendChild(n);
|
|
6431
6431
|
}
|
|
6432
6432
|
function Nu(n) {
|
|
6433
|
-
const { onScrollBottom: e, isLoading: t, hasMore: i, innerRef: r, children: a, ...o } = n, u =
|
|
6433
|
+
const { onScrollBottom: e, isLoading: t, hasMore: i, innerRef: r, children: a, ...o } = n, u = Qe.Children.count(a) > 0, s = H(null), l = z((c) => {
|
|
6434
6434
|
s.current = c, typeof r == "function" ? r(c) : r && "current" in r && (r.current = c);
|
|
6435
6435
|
}, [r]);
|
|
6436
6436
|
return q(() => {
|
|
@@ -6914,10 +6914,10 @@ let xe = {
|
|
|
6914
6914
|
max: "${path} field must be at earlier than ${max}"
|
|
6915
6915
|
}, un = {
|
|
6916
6916
|
isValue: "${path} field must be ${value}"
|
|
6917
|
-
},
|
|
6917
|
+
}, ut = {
|
|
6918
6918
|
noUnknown: "${path} field has unspecified keys: ${unknown}",
|
|
6919
6919
|
exact: "${path} object contains unknown properties: ${properties}"
|
|
6920
|
-
},
|
|
6920
|
+
}, ct = {
|
|
6921
6921
|
min: "${path} field must have at least ${min} items",
|
|
6922
6922
|
max: "${path} field must have less than or equal to ${max} items",
|
|
6923
6923
|
length: "${path} must have ${length} items"
|
|
@@ -6940,8 +6940,8 @@ Object.assign(/* @__PURE__ */ Object.create(null), {
|
|
|
6940
6940
|
string: pe,
|
|
6941
6941
|
number: Ee,
|
|
6942
6942
|
date: ln,
|
|
6943
|
-
object:
|
|
6944
|
-
array:
|
|
6943
|
+
object: ut,
|
|
6944
|
+
array: ct,
|
|
6945
6945
|
boolean: un,
|
|
6946
6946
|
tuple: cc
|
|
6947
6947
|
});
|
|
@@ -6975,7 +6975,7 @@ class St {
|
|
|
6975
6975
|
return r.resolve(t);
|
|
6976
6976
|
}
|
|
6977
6977
|
}
|
|
6978
|
-
const
|
|
6978
|
+
const at = {
|
|
6979
6979
|
context: "$",
|
|
6980
6980
|
value: "."
|
|
6981
6981
|
};
|
|
@@ -6983,8 +6983,8 @@ class Ne {
|
|
|
6983
6983
|
constructor(e, t = {}) {
|
|
6984
6984
|
if (this.key = void 0, this.isContext = void 0, this.isValue = void 0, this.isSibling = void 0, this.path = void 0, this.getter = void 0, this.map = void 0, typeof e != "string") throw new TypeError("ref must be a string, got: " + e);
|
|
6985
6985
|
if (this.key = e.trim(), e === "") throw new TypeError("ref must be a non-empty string");
|
|
6986
|
-
this.isContext = this.key[0] ===
|
|
6987
|
-
let i = this.isContext ?
|
|
6986
|
+
this.isContext = this.key[0] === at.context, this.isValue = this.key[0] === at.value, this.isSibling = !this.isContext && !this.isValue;
|
|
6987
|
+
let i = this.isContext ? at.context : this.isValue ? at.value : "";
|
|
6988
6988
|
this.path = this.key.slice(i.length), this.getter = this.path && Be.getter(this.path, !0), this.map = t.map;
|
|
6989
6989
|
}
|
|
6990
6990
|
getValue(e, t, i) {
|
|
@@ -7782,7 +7782,7 @@ let hc = (
|
|
|
7782
7782
|
// eslint-disable-next-line
|
|
7783
7783
|
/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i
|
|
7784
7784
|
), vc = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i, Ic = "^\\d{4}-\\d{2}-\\d{2}", xc = "\\d{2}:\\d{2}:\\d{2}", yc = "(([+-]\\d{2}(:?\\d{2})?)|Z)", Cc = new RegExp(`${Ic}T${xc}(\\.\\d+)?${yc}$`), Ac = (n) => me(n) || n === n.trim(), Sc = {}.toString();
|
|
7785
|
-
function
|
|
7785
|
+
function dt() {
|
|
7786
7786
|
return new $i();
|
|
7787
7787
|
}
|
|
7788
7788
|
class $i extends be {
|
|
@@ -7956,7 +7956,7 @@ class $i extends be {
|
|
|
7956
7956
|
});
|
|
7957
7957
|
}
|
|
7958
7958
|
}
|
|
7959
|
-
|
|
7959
|
+
dt.prototype = $i.prototype;
|
|
7960
7960
|
let Rc = (n) => n != +n;
|
|
7961
7961
|
function Ui() {
|
|
7962
7962
|
return new Qi();
|
|
@@ -8150,19 +8150,19 @@ const Ki = (n, e, t) => {
|
|
|
8150
8150
|
}
|
|
8151
8151
|
return t.isType(i) ? i : n;
|
|
8152
8152
|
};
|
|
8153
|
-
function
|
|
8153
|
+
function ft(n) {
|
|
8154
8154
|
if ("fields" in n) {
|
|
8155
8155
|
const e = {};
|
|
8156
8156
|
for (const [t, i] of Object.entries(n.fields))
|
|
8157
|
-
e[t] =
|
|
8157
|
+
e[t] = ft(i);
|
|
8158
8158
|
return n.setFields(e);
|
|
8159
8159
|
}
|
|
8160
8160
|
if (n.type === "array") {
|
|
8161
8161
|
const e = n.optional();
|
|
8162
|
-
return e.innerType && (e.innerType =
|
|
8162
|
+
return e.innerType && (e.innerType = ft(e.innerType)), e;
|
|
8163
8163
|
}
|
|
8164
8164
|
return n.type === "tuple" ? n.optional().clone({
|
|
8165
|
-
types: n.spec.types.map(
|
|
8165
|
+
types: n.spec.types.map(ft)
|
|
8166
8166
|
}) : "optional" in n ? n.optional() : n;
|
|
8167
8167
|
}
|
|
8168
8168
|
const wc = (n, e) => {
|
|
@@ -8304,7 +8304,7 @@ class eo extends be {
|
|
|
8304
8304
|
return this.setFields(e);
|
|
8305
8305
|
}
|
|
8306
8306
|
deepPartial() {
|
|
8307
|
-
return
|
|
8307
|
+
return ft(this);
|
|
8308
8308
|
}
|
|
8309
8309
|
pick(e) {
|
|
8310
8310
|
const t = {};
|
|
@@ -8337,7 +8337,7 @@ class eo extends be {
|
|
|
8337
8337
|
return this.test({
|
|
8338
8338
|
name: "exact",
|
|
8339
8339
|
exclusive: !0,
|
|
8340
|
-
message: e ||
|
|
8340
|
+
message: e || ut.exact,
|
|
8341
8341
|
test(t) {
|
|
8342
8342
|
if (t == null) return !0;
|
|
8343
8343
|
const i = Ir(this.schema, t);
|
|
@@ -8354,7 +8354,7 @@ class eo extends be {
|
|
|
8354
8354
|
noUnknown: !0
|
|
8355
8355
|
});
|
|
8356
8356
|
}
|
|
8357
|
-
noUnknown(e = !0, t =
|
|
8357
|
+
noUnknown(e = !0, t = ut.noUnknown) {
|
|
8358
8358
|
typeof e != "boolean" && (t = e, e = !0);
|
|
8359
8359
|
let i = this.test({
|
|
8360
8360
|
name: "noUnknown",
|
|
@@ -8372,7 +8372,7 @@ class eo extends be {
|
|
|
8372
8372
|
});
|
|
8373
8373
|
return i.spec.noUnknown = e, i;
|
|
8374
8374
|
}
|
|
8375
|
-
unknown(e = !0, t =
|
|
8375
|
+
unknown(e = !0, t = ut.noUnknown) {
|
|
8376
8376
|
return this.noUnknown(!e, t);
|
|
8377
8377
|
}
|
|
8378
8378
|
transformKeys(e) {
|
|
@@ -8489,7 +8489,7 @@ class to extends be {
|
|
|
8489
8489
|
types: e
|
|
8490
8490
|
}), t;
|
|
8491
8491
|
}
|
|
8492
|
-
length(e, t =
|
|
8492
|
+
length(e, t = ct.length) {
|
|
8493
8493
|
return this.test({
|
|
8494
8494
|
message: t,
|
|
8495
8495
|
name: "length",
|
|
@@ -8504,7 +8504,7 @@ class to extends be {
|
|
|
8504
8504
|
});
|
|
8505
8505
|
}
|
|
8506
8506
|
min(e, t) {
|
|
8507
|
-
return t = t ||
|
|
8507
|
+
return t = t || ct.min, this.test({
|
|
8508
8508
|
message: t,
|
|
8509
8509
|
name: "min",
|
|
8510
8510
|
exclusive: !0,
|
|
@@ -8519,7 +8519,7 @@ class to extends be {
|
|
|
8519
8519
|
});
|
|
8520
8520
|
}
|
|
8521
8521
|
max(e, t) {
|
|
8522
|
-
return t = t ||
|
|
8522
|
+
return t = t || ct.max, this.test({
|
|
8523
8523
|
message: t,
|
|
8524
8524
|
name: "max",
|
|
8525
8525
|
exclusive: !0,
|
|
@@ -9187,7 +9187,7 @@ function Nn(n) {
|
|
|
9187
9187
|
let u = fn();
|
|
9188
9188
|
t.required && (u = u.min(1, `${t.label ?? i} is required`)), r = u;
|
|
9189
9189
|
} else {
|
|
9190
|
-
let u =
|
|
9190
|
+
let u = dt();
|
|
9191
9191
|
t.required && (u = u.required(`${t.label ?? i} is required`)), r = u;
|
|
9192
9192
|
}
|
|
9193
9193
|
break;
|
|
@@ -9217,13 +9217,13 @@ function Nn(n) {
|
|
|
9217
9217
|
case "date":
|
|
9218
9218
|
case "datetime":
|
|
9219
9219
|
case "time": {
|
|
9220
|
-
let o =
|
|
9220
|
+
let o = dt();
|
|
9221
9221
|
t.required && (o = o.required(`${t.label ?? i} is required`)), r = o;
|
|
9222
9222
|
break;
|
|
9223
9223
|
}
|
|
9224
9224
|
default: {
|
|
9225
9225
|
const o = t.inputType;
|
|
9226
|
-
let u =
|
|
9226
|
+
let u = dt();
|
|
9227
9227
|
o === "email" ? u = u.email(`${t.label ?? i} must be a valid email address`) : o === "url" && (u = u.url(`${t.label ?? i} must be a valid URL`));
|
|
9228
9228
|
const s = t.minLength, l = t.maxLength;
|
|
9229
9229
|
s != null && (u = u.min(s, `${t.label ?? i} must be at least ${s} characters`)), l != null && (u = u.max(l, `${t.label ?? i} must be at most ${l} characters`)), t.required && (u = u.trim().required(`${t.label ?? i} is required`)), r = u;
|
|
@@ -9234,12 +9234,12 @@ function Nn(n) {
|
|
|
9234
9234
|
}
|
|
9235
9235
|
return dn().shape(e);
|
|
9236
9236
|
}
|
|
9237
|
-
const
|
|
9237
|
+
const st = "__ff_field__";
|
|
9238
9238
|
function Mc(n) {
|
|
9239
|
-
const e = { ...n, id:
|
|
9239
|
+
const e = { ...n, id: st, name: st }, t = Nn([e]);
|
|
9240
9240
|
return async (i) => {
|
|
9241
9241
|
try {
|
|
9242
|
-
await t.validateAt(
|
|
9242
|
+
await t.validateAt(st, { [st]: i });
|
|
9243
9243
|
return;
|
|
9244
9244
|
} catch (r) {
|
|
9245
9245
|
return r instanceof ce ? r.message : "Invalid";
|
|
@@ -9554,7 +9554,7 @@ function _c({
|
|
|
9554
9554
|
"&:hover": { borderColor: "#6366f1", bgcolor: "#f5f3ff" }
|
|
9555
9555
|
},
|
|
9556
9556
|
children: [
|
|
9557
|
-
/* @__PURE__ */ d(
|
|
9557
|
+
/* @__PURE__ */ d(qe, { size: 15 }),
|
|
9558
9558
|
" Add field to ",
|
|
9559
9559
|
S.label
|
|
9560
9560
|
]
|
|
@@ -9815,7 +9815,7 @@ function ao({ conditionDef: n, entries: e, onUpdate: t, depth: i = 0, fieldPath:
|
|
|
9815
9815
|
Ln,
|
|
9816
9816
|
{
|
|
9817
9817
|
variant: "contained",
|
|
9818
|
-
startIcon: /* @__PURE__ */ d(
|
|
9818
|
+
startIcon: /* @__PURE__ */ d(qe, {}),
|
|
9819
9819
|
onClick: o,
|
|
9820
9820
|
"data-testid": "add-condition-button",
|
|
9821
9821
|
className: "ff-form-text-capitalize ff-form-text-12 ff-form-text-dark ff-form-shadow-none ff-form-bg-light",
|
|
@@ -9828,7 +9828,7 @@ function ao({ conditionDef: n, entries: e, onUpdate: t, depth: i = 0, fieldPath:
|
|
|
9828
9828
|
Ln,
|
|
9829
9829
|
{
|
|
9830
9830
|
variant: "contained",
|
|
9831
|
-
startIcon: /* @__PURE__ */ d(
|
|
9831
|
+
startIcon: /* @__PURE__ */ d(qe, {}),
|
|
9832
9832
|
onClick: u,
|
|
9833
9833
|
"data-testid": "add-group-button",
|
|
9834
9834
|
disableElevation: !0,
|
|
@@ -9858,7 +9858,7 @@ function lo({
|
|
|
9858
9858
|
function Qc() {
|
|
9859
9859
|
return Ot(so);
|
|
9860
9860
|
}
|
|
9861
|
-
function
|
|
9861
|
+
function Ue(n, e) {
|
|
9862
9862
|
return e.split(".").reduce((t, i) => {
|
|
9863
9863
|
if (!(t == null || typeof t != "object"))
|
|
9864
9864
|
return t[i];
|
|
@@ -9907,18 +9907,17 @@ function qc({
|
|
|
9907
9907
|
onFormulaConfigChange: r,
|
|
9908
9908
|
children: a
|
|
9909
9909
|
}) {
|
|
9910
|
-
|
|
9911
|
-
const o = wt(), u = e ?? ((l = o.values) == null ? void 0 : l[n]) ?? {};
|
|
9910
|
+
const o = wt(), u = e ?? Ue(o.values, n) ?? {};
|
|
9912
9911
|
return /* @__PURE__ */ d(
|
|
9913
9912
|
lo,
|
|
9914
9913
|
{
|
|
9915
9914
|
conditionConfig: u,
|
|
9916
|
-
onConditionConfigChange: (
|
|
9915
|
+
onConditionConfigChange: (l) => {
|
|
9917
9916
|
if (t) {
|
|
9918
|
-
t(
|
|
9917
|
+
t(l);
|
|
9919
9918
|
return;
|
|
9920
9919
|
}
|
|
9921
|
-
o.setFieldValue(n,
|
|
9920
|
+
o.setFieldValue(n, l, !1);
|
|
9922
9921
|
},
|
|
9923
9922
|
formulaConfig: i,
|
|
9924
9923
|
onFormulaConfigChange: r,
|
|
@@ -10131,7 +10130,7 @@ function pt({
|
|
|
10131
10130
|
Dt,
|
|
10132
10131
|
{
|
|
10133
10132
|
field: n,
|
|
10134
|
-
value:
|
|
10133
|
+
value: Ue(i, e),
|
|
10135
10134
|
values: i,
|
|
10136
10135
|
onChange: (I) => o(e, I),
|
|
10137
10136
|
onBlur: () => u(e, !0),
|
|
@@ -10223,7 +10222,7 @@ function rd({
|
|
|
10223
10222
|
onConditionConfigChange: g
|
|
10224
10223
|
}) {
|
|
10225
10224
|
var F, D, G;
|
|
10226
|
-
const p = { values: t }, h =
|
|
10225
|
+
const p = { values: t }, h = Ue(t, e), b = H(n.compute);
|
|
10227
10226
|
b.current = n.compute, q(() => {
|
|
10228
10227
|
const M = b.current;
|
|
10229
10228
|
if (!M) return;
|
|
@@ -10233,7 +10232,7 @@ function rd({
|
|
|
10233
10232
|
const m = te.get(n.type);
|
|
10234
10233
|
if (!m)
|
|
10235
10234
|
return null;
|
|
10236
|
-
const v = typeof n.disabled == "function" ? n.disabled(p) : ((F = n.shouldDisable) == null ? void 0 : F.call(n, p)) ?? n.disabled ?? !1, I =
|
|
10235
|
+
const v = typeof n.disabled == "function" ? n.disabled(p) : ((F = n.shouldDisable) == null ? void 0 : F.call(n, p)) ?? n.disabled ?? !1, I = Ue(i, e), C = !!Ue(r, e), x = (D = n.compute) == null ? void 0 : D.call(n, p), y = x !== void 0 ? x : h, O = (G = n.transform) != null && G.in ? n.transform.in(y) : y, S = (M) => {
|
|
10237
10236
|
var j, U;
|
|
10238
10237
|
if (n.compute) return;
|
|
10239
10238
|
const V = (j = n.transform) != null && j.out ? n.transform.out(M) : M;
|
|
@@ -10309,5 +10308,5 @@ export {
|
|
|
10309
10308
|
yd as w,
|
|
10310
10309
|
_o as x,
|
|
10311
10310
|
xd as y,
|
|
10312
|
-
|
|
10311
|
+
Ke as z
|
|
10313
10312
|
};
|
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-BsJvlQWO.js"),a=require("./SchemaBuilderDrawer-4ubE7KhK.js");require("react/jsx-runtime");require("react");require("@mui/material");require("react-icons/md");const l=require("./index-BrJBVztu.js"),n=require("./index-CUQQVdoY.js"),i=require("./templateSkeletons-x31LuHLb.js"),u=require("./messages-O9Tw_XXR.js"),d=require("./bpmn-CcuE2X_Q.js"),o=require("./GatewayBranchEdge-9YF32wwN.js"),r=require("./subWorkflowDescriptor-JDKi2INh.js");class c{constructor(){this.channels=new Map}register(t,s){this.channels.set(t,s)}get(t){return this.channels.get(t)}list(){return Array.from(this.channels.entries()).map(([t,s])=>({key:t,...s}))}has(t){return this.channels.has(t)}}const p=new c;exports.DynamicFormRenderer=e.DynamicFormRenderer;exports.FF=e.FF;exports.FlowForgeRegistry=e.FlowForgeRegistry;exports.FlowForm=e.FlowForm;exports.FormulaInput=e.FormulaInput;exports.InfiniteSelectField=e.InfiniteSelectField;exports.TablePickerField=e.TablePickerField;exports.VariablePicker=e.VariablePicker;exports.VariablePickerProvider=e.VariablePickerProvider;exports.astHasRefs=e.astHasRefs;exports.astToTokens=e.astToTokens;exports.buildEvaluationPayload=e.buildEvaluationPayload;exports.buildFieldConfig=e.buildFieldConfig;exports.buildFormulaPath=e.buildFormulaPath;exports.buildSelectStyles=e.buildSelectStyles;exports.buildValidationSchema=e.buildValidationSchema;exports.dataSourceRegistry=e.dataSourceRegistry;exports.errorTextStyle=e.errorTextStyle;exports.extractLabel=e.extractLabel;exports.fieldRegistry=e.fieldRegistry;exports.hasFormulaTokens=e.hasFormulaTokens;exports.helperTextStyle=e.helperTextStyle;exports.inputStyle=e.inputStyle;exports.isFormula=e.isFormula;exports.parseToAST=e.parseToAST;exports.serializeAST=e.serializeAST;exports.serializeASTAsConfig=e.serializeASTAsConfig;exports.serializeConditionExpressions=e.serializeConditionExpressions;exports.stripFormulaTokens=e.stripFormulaTokens;exports.tokenize=e.tokenize;exports.unwrapFormula=e.unwrapFormula;exports.useVariablePickerContext=e.useVariablePickerContext;exports.wrapFormula=e.wrapFormula;exports.FIELD_TYPE_OPTIONS=a.FIELD_TYPE_OPTIONS;exports.SchemaBuilder=a.SchemaBuilder;exports.SchemaBuilderDrawer=a.SchemaBuilderDrawer;exports.useFlowForm=a.useFlowForm;exports.NodeTypeRegistry=l.NodeTypeRegistry;exports.nodeTypeRegistry=l.nodeTypeRegistry;exports.TemplateRegistry=n.TemplateRegistry;exports.templateRegistry=n.templateRegistry;exports.FlowForgeCanvas=i.FlowForgeCanvas;exports.SubWorkflowPreviewDrawer=i.SubWorkflowPreviewDrawer;exports.WorkflowCanvas=i.FlowForgeCanvas;exports.WorkflowExecutionHistory=i.WorkflowExecutionHistory;exports.WorkflowTemplateLibrary=i.WorkflowTemplateLibrary;exports.accessRequestSkeleton=i.accessRequestSkeleton;exports.offboardingSkeleton=i.offboardingSkeleton;exports.userOnboardingSkeleton=i.userOnboardingSkeleton;exports.webhookIntegrationSkeleton=i.webhookIntegrationSkeleton;exports.defaultFlowForgeMessages=u.defaultFlowForgeMessages;exports.loadWorkflowFromBpmn=d.loadWorkflowFromBpmn;exports.saveWorkflowToBpmn=d.saveWorkflowToBpmn;exports.ActionNode=o.ActionNode;exports.ApprovalNode=o.ApprovalNode;exports.EdgeWithPlusLabel=o.EdgeWithPlusLabel;exports.EndNode=o.EndNode;exports.FilterNode=o.FilterNode;exports.RestApiNode=o.RestApiNode;exports.StartNode=o.StartNode;exports.TriggerNode=o.TriggerNode;exports.WebhookTriggerNode=o.WebhookTriggerNode;exports.builtInNodeTypes=o.builtInNodeTypes;exports.baseNodeDefaults=r.baseNodeDefaults;exports.conditionBranchDescriptor=r.conditionBranchDescriptor;exports.defineNode=r.defineNode;exports.endEventDescriptor=r.endEventDescriptor;exports.makeSubWorkflowDescriptor=r.makeSubWorkflowDescriptor;exports.notificationDescriptor=r.notificationDescriptor;exports.restApiDescriptor=r.restApiDescriptor;exports.startEventDescriptor=r.startEventDescriptor;exports.subWorkflowDescriptor=r.subWorkflowDescriptor;exports.webhookTriggerDescriptor=r.webhookTriggerDescriptor;exports.webhookTriggerTemplate=r.webhookTriggerTemplate;exports.notificationChannelRegistry=p;
|
package/dist/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { D as c, F as m, a as u, b as f, c as g, I as F, T as b, V as h, d as k, e as w, f as T, g as S, h as y, i as x, j as D, k as N, B as R, l as W, m as A, n as P, o as v, p as E, q as C, r as I, s as B, t as z, u as V, v as L, w as O, x as q, y as H, z as M, A as _ } from "./index-
|
|
2
|
-
import { F as Y, S as G, a as J, u as K } from "./SchemaBuilderDrawer-
|
|
1
|
+
import { D as c, F as m, a as u, b as f, c as g, I as F, T as b, V as h, d as k, e as w, f as T, g as S, h as y, i as x, j as D, k as N, B as R, l as W, m as A, n as P, o as v, p as E, q as C, r as I, s as B, t as z, u as V, v as L, w as O, x as q, y as H, z as M, A as _ } from "./index-DyXSbNQ1.js";
|
|
2
|
+
import { F as Y, S as G, a as J, u as K } from "./SchemaBuilderDrawer-CC0gkAU_.js";
|
|
3
3
|
import "react/jsx-runtime";
|
|
4
4
|
import "react";
|
|
5
5
|
import "@mui/material";
|
|
6
6
|
import "react-icons/md";
|
|
7
7
|
import { NodeTypeRegistry as U, nodeTypeRegistry as X } from "./index-Dcur-XJ9.js";
|
|
8
8
|
import { TemplateRegistry as $, templateRegistry as ee } from "./index-BeZylHBB.js";
|
|
9
|
-
import { F as se, S as re, F as oe, W as te, a as ie, b as le, o as ne, u as pe, w as de } from "./templateSkeletons-
|
|
9
|
+
import { F as se, S as re, F as oe, W as te, a as ie, b as le, o as ne, u as pe, w as de } from "./templateSkeletons-DOVpyZef.js";
|
|
10
10
|
import { d as me } from "./messages-CO299wPN.js";
|
|
11
11
|
import { l as fe, s as ge } from "./bpmn-CtfWDaOY.js";
|
|
12
12
|
import { A as be, b as he, E as ke, c as we, F as Te, R as Se, S as ye, T as xe, W as De, e as Ne } from "./GatewayBranchEdge-Dxoy5B1A.js";
|
|
@@ -8,7 +8,7 @@ import Kn from "react-select";
|
|
|
8
8
|
import { MdClose as Un, MdCalendarToday as Vn, MdBolt as Hn, MdArrowBack as Wt, MdChevronRight as Gt, MdAddCircleOutline as qn, MdApps as Xn, MdErrorOutline as Jn, MdAccountTree as Zn, MdAdd as Qn, MdSearch as er, MdCategory as tr, MdCancel as $t, MdError as Yt, MdCheckCircle as Kt, MdPlayArrow as Ut, MdHourglassEmpty as nr, MdSchedule as kt, MdPerson as rr, MdExpandLess as or, MdExpandMore as ir } from "react-icons/md";
|
|
9
9
|
import { GrTrigger as sr } from "react-icons/gr";
|
|
10
10
|
import { BiCollapse as lr, BiExpand as ar } from "react-icons/bi";
|
|
11
|
-
import { j as dr, b as cr } from "./index-
|
|
11
|
+
import { j as dr, b as cr } from "./index-DyXSbNQ1.js";
|
|
12
12
|
import { m as ur } from "./messages-CO299wPN.js";
|
|
13
13
|
import { T as fr, E as ee } from "./canvasTokens-CAD6G24b.js";
|
|
14
14
|
var Vt = Object.defineProperty, hr = (e, t, n) => t in e ? Vt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, gr = (e, t) => {
|