@notmrabhi/flowforge 0.1.44 → 0.1.46
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-KUOXc7K_.js → SchemaBuilderDrawer-CmSfZyyx.js} +2 -2
- package/dist/{SchemaBuilderDrawer-KUOXc7K_.js.map → SchemaBuilderDrawer-CmSfZyyx.js.map} +1 -1
- package/dist/{SchemaBuilderDrawer-DlmInnSC.js → SchemaBuilderDrawer-DTDPHHoR.js} +2 -2
- package/dist/{SchemaBuilderDrawer-DlmInnSC.js.map → SchemaBuilderDrawer-DTDPHHoR.js.map} +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-BDDJrQn0.js → index-C39URw6S.js} +5 -5
- package/dist/index-C39URw6S.js.map +1 -0
- package/dist/{index-DU-niBi3.js → index-CXMgesuG.js} +2 -2
- package/dist/{index-DU-niBi3.js.map → index-CXMgesuG.js.map} +1 -1
- package/dist/{index-CbdFoSw3.js → index-C_bOLGwq.js} +2 -2
- package/dist/{index-CbdFoSw3.js.map → index-C_bOLGwq.js.map} +1 -1
- package/dist/{index-AISQhG1t.js → index-D0Qlgyc5.js} +2 -2
- package/dist/{index-AISQhG1t.js.map → index-D0Qlgyc5.js.map} +1 -1
- package/dist/{index-CBJiDDQc.js → index-DjpT0QMv.js} +2 -2
- package/dist/{index-CBJiDDQc.js.map → index-DjpT0QMv.js.map} +1 -1
- package/dist/{index-y_v8Qog1.js → index-gTlJrrQs.js} +24 -15
- package/dist/index-gTlJrrQs.js.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +3 -3
- package/dist/{templateSkeletons-CHrd4Z5h.js → templateSkeletons-C235ahaA.js} +2 -2
- package/dist/{templateSkeletons-CHrd4Z5h.js.map → templateSkeletons-C235ahaA.js.map} +1 -1
- package/dist/{templateSkeletons-CtknKiGO.js → templateSkeletons-CzKWnn4a.js} +2 -2
- package/dist/{templateSkeletons-CtknKiGO.js.map → templateSkeletons-CzKWnn4a.js.map} +1 -1
- package/package.json +1 -1
- package/dist/index-BDDJrQn0.js.map +0 -1
- package/dist/index-y_v8Qog1.js.map +0 -1
|
@@ -794,7 +794,7 @@ function Qr({
|
|
|
794
794
|
const Q = Xn(E, L);
|
|
795
795
|
Z.deleteContents(), Z.insertNode(Q), Z.setStartAfter(Q), Z.collapse(!0), w == null || w.removeAllRanges(), w == null || w.addRange(Z), x();
|
|
796
796
|
}, [x]), P = X(() => {
|
|
797
|
-
!h || !o || (h.registerField({ editorRef: f, savedRange: null, fieldId: o, onInsert: N }), h.notifyFieldFocus(o, f.current));
|
|
797
|
+
!h || !o || (h.registerField({ editorRef: f, savedRange: null, fieldId: o, onInsert: N }), h.notifyFieldFocus(o, f.current), h.openPicker());
|
|
798
798
|
}, [h, o, N]), G = X(() => {
|
|
799
799
|
var L;
|
|
800
800
|
if (!h) return;
|
|
@@ -4486,7 +4486,7 @@ function Vi({
|
|
|
4486
4486
|
renderNative: l
|
|
4487
4487
|
}) {
|
|
4488
4488
|
const c = t.formula === !0, f = tt(), g = k(null), [p, m] = W(
|
|
4489
|
-
() => c && e in (u ?? {})
|
|
4489
|
+
() => c && (t.formula === !0 || e in (u ?? {}))
|
|
4490
4490
|
), b = k(p);
|
|
4491
4491
|
b.current = p, q(() => {
|
|
4492
4492
|
if (!(!c || !f))
|
|
@@ -6268,7 +6268,7 @@ function Gu({
|
|
|
6268
6268
|
(s || p) && /* @__PURE__ */ d("small", { "data-testid": `${u}-error`, style: fe, children: p ?? r })
|
|
6269
6269
|
] });
|
|
6270
6270
|
}
|
|
6271
|
-
const Bu = qe.lazy(async () => ({ default: (await import("./index-
|
|
6271
|
+
const Bu = qe.lazy(async () => ({ default: (await import("./index-DjpT0QMv.js")).default }));
|
|
6272
6272
|
async function Vu(t) {
|
|
6273
6273
|
switch (t) {
|
|
6274
6274
|
case "python":
|
|
@@ -6477,7 +6477,7 @@ function Pu({
|
|
|
6477
6477
|
] });
|
|
6478
6478
|
}
|
|
6479
6479
|
const Lu = qe.lazy(
|
|
6480
|
-
() => import("./index-
|
|
6480
|
+
() => import("./index-D0Qlgyc5.js").then((t) => t.i).then((t) => (Promise.resolve({ }), { default: t.default }))
|
|
6481
6481
|
), Mu = [
|
|
6482
6482
|
[{ header: [1, 2, 3, !1] }],
|
|
6483
6483
|
["bold", "italic", "underline", "strike"],
|
|
@@ -9764,9 +9764,9 @@ function ed({ connector: t, onChange: e }) {
|
|
|
9764
9764
|
function td({ colDef: t, entry: e, onChange: n, cellId: i, formValues: r }) {
|
|
9765
9765
|
const [a, o] = W({}), u = t.id === "value" && !Sr(e.operator);
|
|
9766
9766
|
if (t.type === "operator") {
|
|
9767
|
-
const
|
|
9768
|
-
return
|
|
9769
|
-
|
|
9767
|
+
const c = te.get("select");
|
|
9768
|
+
return c ? /* @__PURE__ */ d(
|
|
9769
|
+
c,
|
|
9770
9770
|
{
|
|
9771
9771
|
field: {
|
|
9772
9772
|
id: i,
|
|
@@ -9779,11 +9779,11 @@ function td({ colDef: t, entry: e, onChange: n, cellId: i, formValues: r }) {
|
|
|
9779
9779
|
},
|
|
9780
9780
|
value: e.operator ?? "",
|
|
9781
9781
|
values: r,
|
|
9782
|
-
onChange: (
|
|
9783
|
-
const
|
|
9782
|
+
onChange: (f) => {
|
|
9783
|
+
const g = String(f ?? "");
|
|
9784
9784
|
n({
|
|
9785
|
-
operator:
|
|
9786
|
-
...!Sr(
|
|
9785
|
+
operator: g,
|
|
9786
|
+
...!Sr(g) && { value: "" }
|
|
9787
9787
|
});
|
|
9788
9788
|
},
|
|
9789
9789
|
onBlur: () => {
|
|
@@ -9796,7 +9796,16 @@ function td({ colDef: t, entry: e, onChange: n, cellId: i, formValues: r }) {
|
|
|
9796
9796
|
) : null;
|
|
9797
9797
|
}
|
|
9798
9798
|
const s = te.get(t.type);
|
|
9799
|
-
|
|
9799
|
+
if (!s) return null;
|
|
9800
|
+
const l = (c) => {
|
|
9801
|
+
const f = { [t.id]: c };
|
|
9802
|
+
if (t.id === "field" && t.type === "select" && Array.isArray(t.options)) {
|
|
9803
|
+
const g = t.options.find((p) => String(p.value) === String(c));
|
|
9804
|
+
f.fieldLabel = (g == null ? void 0 : g.label) ?? "";
|
|
9805
|
+
}
|
|
9806
|
+
n(f);
|
|
9807
|
+
};
|
|
9808
|
+
return /* @__PURE__ */ d(
|
|
9800
9809
|
s,
|
|
9801
9810
|
{
|
|
9802
9811
|
field: {
|
|
@@ -9811,7 +9820,7 @@ function td({ colDef: t, entry: e, onChange: n, cellId: i, formValues: r }) {
|
|
|
9811
9820
|
},
|
|
9812
9821
|
value: e[t.id] ?? "",
|
|
9813
9822
|
values: r,
|
|
9814
|
-
onChange:
|
|
9823
|
+
onChange: l,
|
|
9815
9824
|
onBlur: () => {
|
|
9816
9825
|
},
|
|
9817
9826
|
error: void 0,
|
|
@@ -9819,7 +9828,7 @@ function td({ colDef: t, entry: e, onChange: n, cellId: i, formValues: r }) {
|
|
|
9819
9828
|
formulaConfig: a,
|
|
9820
9829
|
onFormulaConfigChange: o
|
|
9821
9830
|
}
|
|
9822
|
-
)
|
|
9831
|
+
);
|
|
9823
9832
|
}
|
|
9824
9833
|
function nd({ node: t, conditionDef: e, depth: n, fieldPath: i, onUpdate: r, onRemove: a, formValues: o }) {
|
|
9825
9834
|
const [u, s] = W(!1), l = lo(t.entries);
|
|
@@ -10458,4 +10467,4 @@ export {
|
|
|
10458
10467
|
Ed as y,
|
|
10459
10468
|
su as z
|
|
10460
10469
|
};
|
|
10461
|
-
//# sourceMappingURL=index-
|
|
10470
|
+
//# sourceMappingURL=index-gTlJrrQs.js.map
|