@levo-so/studio 0.1.106 → 0.1.108
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/{BillingStep-BNRcxjRl.js → BillingStep-CJqmdIz2.js} +1 -1
- package/{Button-BIpdwMrO.js → Button-DujHjtOV.js} +3 -3
- package/CollectionField-BPl8E9MW.js +318 -0
- package/CollectionFormBuilder-BvFtiZeH.js +3668 -0
- package/{DateTimeWidget-DPHIhkAi.js → DateTimeWidget-CbpvxQ9s.js} +3 -4
- package/{EntryCard-yFsTPjEj.js → EntryCard-Drnobf4s.js} +3 -3
- package/{LoginCard-CUapIHAo.js → LoginCard-B9HKjZEk.js} +3 -3
- package/{LoginForm-n-6Z7eVb.js → LoginForm-DpgxFh89.js} +1 -1
- package/{LoginModal-wyVhIJk8.js → LoginModal-CaqsScly.js} +2 -2
- package/{MessageCard-C2fU_Bo_.js → MessageCard-DojQRKnf.js} +2 -2
- package/{ModalManager-D-yKU_15.js → ModalManager-CaBZKQR2.js} +1 -1
- package/{PendingApprovalCard-CDZRD8Jm.js → PendingApprovalCard-CrdOrMRu.js} +3 -3
- package/{PhoneWidget-BOFhs8Ra.js → PhoneWidget-BxW2gL28.js} +3 -4
- package/{PopupRenderer-CV5HY1dP-DlAn5Rc8.js → PopupRenderer-CV5HY1dP-hICGc5AG.js} +1 -1
- package/{RichTextWidget-18XLL8wW.js → RichTextWidget-DCzgJ9EA.js} +3 -4
- package/{Toolbar-Y6JtgPFn.js → Toolbar-B5UZer_x.js} +3 -3
- package/{VerifyButton-TNkt-SDu.js → VerifyButton-DFAg6STD.js} +1 -1
- package/{bookingCard-MDpR8SL_.js → bookingCard-BgApvrcj.js} +2 -2
- package/collection.js +7 -8
- package/dist-DZbXWctg.js +97 -0
- package/index.d.ts +10 -0
- package/index.js +1294 -1294
- package/package.json +4 -4
- package/{utils-B01DL3RB.js → utils-CUqS5dMC.js} +1 -1
- package/CollectionField-xa-jed3_.js +0 -232
- package/dist-BjFMATnH.js +0 -3550
- package/getFieldValidations-CSkSV2hW.js +0 -90
- package/widgets-NzmPF3Ji.js +0 -215
- /package/{Beams-DEybrmUZ.js → Beams-DboMUgCv.js} +0 -0
- /package/{CollectionInput-CpNGIXJx.js → CollectionInput-DcNJT5Pg.js} +0 -0
- /package/{Dots-CMyy77GM.js → Dots-a8xSboDv.js} +0 -0
- /package/{Gradient-DBn_zXzI.js → Gradient-NacpoDCM.js} +0 -0
- /package/{Grid-kGCr-6by.js → Grid-BJQvxnks.js} +0 -0
- /package/{MessageFooter-4qIEK91O.js → MessageFooter-C4qC8cem.js} +0 -0
- /package/{Popover-O1poOHk2.js → Popover-DOvRAGzc.js} +0 -0
- /package/{Tooltip-NEMQqPyr.js → Tooltip-CJINDx93.js} +0 -0
- /package/{Waves-DjLcbiBu.js → Waves-DUuT_IFr.js} +0 -0
- /package/{authentication-hnV1BI8s.js → authentication-ClOFcry8.js} +0 -0
- /package/{card-5ooLmYSr.js → card-E2LKF9nT.js} +0 -0
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./Button-lUfKisu8.js";
|
|
2
|
-
import { t } from "./
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as
|
|
5
|
-
import { a as r, i, n as a, r as o, t as s } from "./Popover-O1poOHk2.js";
|
|
2
|
+
import { f as t, t as n } from "./CollectionField-BPl8E9MW.js";
|
|
3
|
+
import { t as ee } from "./CollectionInput-DcNJT5Pg.js";
|
|
4
|
+
import { a as r, i, n as a, r as o, t as s } from "./Popover-DOvRAGzc.js";
|
|
6
5
|
import { c as te } from "react/compiler-runtime";
|
|
7
6
|
import { useEffect as ne, useRef as c, useState as l } from "react";
|
|
8
7
|
import { jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { t as e } from "./CollectionFormBuilder-BvFtiZeH.js";
|
|
3
3
|
import { n as t } from "./AuthProvider-C6bvedwF.js";
|
|
4
|
-
import { t as n } from "./card-
|
|
5
|
-
import { t as r } from "./MessageFooter-
|
|
4
|
+
import { t as n } from "./card-E2LKF9nT.js";
|
|
5
|
+
import { t as r } from "./MessageFooter-C4qC8cem.js";
|
|
6
6
|
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
7
7
|
var o = {
|
|
8
8
|
header: "_header_emo7t_1",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as e } from "./LoginForm-
|
|
3
|
-
import { t } from "./card-
|
|
2
|
+
import { t as e } from "./LoginForm-DpgxFh89.js";
|
|
3
|
+
import { t } from "./card-E2LKF9nT.js";
|
|
4
4
|
import { Suspense as n, lazy as r, useState as i } from "react";
|
|
5
5
|
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
6
6
|
var s = {
|
|
@@ -8,7 +8,7 @@ var s = {
|
|
|
8
8
|
title: "_title_s7k8g_7",
|
|
9
9
|
subtitle: "_subtitle_s7k8g_14",
|
|
10
10
|
formWrapper: "_formWrapper_s7k8g_20"
|
|
11
|
-
}, c = r(() => import("./PendingApprovalCard-
|
|
11
|
+
}, c = r(() => import("./PendingApprovalCard-CrdOrMRu.js")), l = ({ logo: r, siteName: l, page: u }) => {
|
|
12
12
|
let [d, f] = i(!1), [p, m] = i(!1), h = u.access?.find((e) => e.kind === "gating" && e.enabled)?.options;
|
|
13
13
|
return p ? /* @__PURE__ */ a(n, {
|
|
14
14
|
fallback: /* @__PURE__ */ a("div", {}),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as e } from "./useLogin-D4A5iRey.js";
|
|
3
|
-
import { c as t, t as n } from "./authentication-
|
|
3
|
+
import { c as t, t as n } from "./authentication-ClOFcry8.js";
|
|
4
4
|
import { LevoOAuth as r, errorHandler as i, successToast as a, useLevo as o } from "@levo-so/react";
|
|
5
5
|
import { useEffect as s, useMemo as c, useRef as l, useState as u } from "react";
|
|
6
6
|
import { Fragment as d, jsx as f, jsxs as p } from "react/jsx-runtime";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { n as e } from "./AuthProvider-C6bvedwF.js";
|
|
3
|
-
import { n as t } from "./ModalManager-
|
|
3
|
+
import { n as t } from "./ModalManager-CaBZKQR2.js";
|
|
4
4
|
import { a as n, n as r, o as i, r as a, t as o } from "./dialog-DoxC50i0.js";
|
|
5
|
-
import { t as s } from "./LoginForm-
|
|
5
|
+
import { t as s } from "./LoginForm-DpgxFh89.js";
|
|
6
6
|
import { useEffect as c } from "react";
|
|
7
7
|
import { jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
8
8
|
var d = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as e } from "./card-
|
|
3
|
-
import { t } from "./MessageFooter-
|
|
2
|
+
import { t as e } from "./card-E2LKF9nT.js";
|
|
3
|
+
import { t } from "./MessageFooter-C4qC8cem.js";
|
|
4
4
|
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
5
5
|
//#region src/components/accessCard/MessageCard.tsx
|
|
6
6
|
var i = ({ logo: i, siteName: a, options: o, message: s }) => /* @__PURE__ */ r(e, {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { Suspense as e, createContext as t, lazy as n, useCallback as r, useContext as i, useState as a } from "react";
|
|
3
3
|
import { jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
4
4
|
//#region src/context/ModalManager.tsx
|
|
5
|
-
var c = n(() => import("./LoginModal-
|
|
5
|
+
var c = n(() => import("./LoginModal-CaqsScly.js")), l = t({
|
|
6
6
|
availableModals: ["login"],
|
|
7
7
|
openModals: { key: null },
|
|
8
8
|
openModal: () => ({}),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { t } from "./card-
|
|
4
|
-
import { t as n } from "./MessageFooter-
|
|
2
|
+
import { t as e } from "./CollectionFormBuilder-BvFtiZeH.js";
|
|
3
|
+
import { t } from "./card-E2LKF9nT.js";
|
|
4
|
+
import { t as n } from "./MessageFooter-C4qC8cem.js";
|
|
5
5
|
import { useState as r } from "react";
|
|
6
6
|
import { Fragment as i, jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
7
7
|
var s = {
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { t } from "./
|
|
4
|
-
import { t as
|
|
5
|
-
import { t as r } from "./CollectionInput-CpNGIXJx.js";
|
|
2
|
+
import { f as e, t } from "./CollectionField-BPl8E9MW.js";
|
|
3
|
+
import { t as n } from "./VerifyButton-DFAg6STD.js";
|
|
4
|
+
import { t as r } from "./CollectionInput-DcNJT5Pg.js";
|
|
6
5
|
import { c as ee } from "react/compiler-runtime";
|
|
7
6
|
import { useState as i } from "react";
|
|
8
7
|
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
@@ -2241,7 +2241,7 @@ var et = oe([L, I], (e, t) => ({
|
|
|
2241
2241
|
return e[0] === t ? n = e[1] : (n = () => {
|
|
2242
2242
|
t && (t.callbacks?.onPopupClose?.(t.popup, { trigger_type: rt() }), q(t.popup.id));
|
|
2243
2243
|
}, e[0] = t, e[1] = n), n;
|
|
2244
|
-
}, bt = "zv6sjd4", xt = "zv6sjd5", St = "zv6sjd6", Ct = k(() => import("./dist-
|
|
2244
|
+
}, bt = "zv6sjd4", xt = "zv6sjd5", St = "zv6sjd6", Ct = k(() => import("./dist-DZbXWctg.js").then((e) => e.t).then((e) => ({ default: e.CollectionFormBuilder }))), wt = {
|
|
2245
2245
|
left: bt,
|
|
2246
2246
|
center: xt,
|
|
2247
2247
|
right: St
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { r as e, t } from "./inlineRteTheme-Ajq9PNpQ.js";
|
|
3
3
|
import { t as ee } from "./RteThemeProvider-Cfepkyer.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { r, t as ie } from "./Toolbar-Y6JtgPFn.js";
|
|
4
|
+
import { f as te, l as ne, t as re } from "./CollectionField-BPl8E9MW.js";
|
|
5
|
+
import { i as n } from "./Tooltip-CJINDx93.js";
|
|
6
|
+
import { r, t as ie } from "./Toolbar-B5UZer_x.js";
|
|
8
7
|
import { c as ae } from "react/compiler-runtime";
|
|
9
8
|
import { useEffect as i, useState as oe } from "react";
|
|
10
9
|
import { jsx as a, jsxs as se } from "react/jsx-runtime";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as e } from "./Button-lUfKisu8.js";
|
|
2
2
|
import { t } from "./nodeAlignment-DKCIjzlR.js";
|
|
3
|
-
import { l as n } from "./CollectionField-
|
|
4
|
-
import { n as r, r as i, t as a } from "./Tooltip-
|
|
5
|
-
import { a as o, i as s, n as c, o as l, r as u } from "./Popover-
|
|
3
|
+
import { l as n } from "./CollectionField-BPl8E9MW.js";
|
|
4
|
+
import { n as r, r as i, t as a } from "./Tooltip-CJINDx93.js";
|
|
5
|
+
import { a as o, i as s, n as c, o as l, r as u } from "./Popover-DOvRAGzc.js";
|
|
6
6
|
import { c as d } from "react/compiler-runtime";
|
|
7
7
|
import { forwardRef as f, useEffect as p, useState as m } from "react";
|
|
8
8
|
import { Fragment as h, jsx as g, jsxs as _ } from "react/jsx-runtime";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { i as e, n as t, o as n, t as r } from "./Dialog-IrII0ugb.js";
|
|
3
3
|
import { t as i } from "./Button-lUfKisu8.js";
|
|
4
|
-
import { t as a } from "./CollectionInput-
|
|
4
|
+
import { t as a } from "./CollectionInput-DcNJT5Pg.js";
|
|
5
5
|
import { c as o } from "react/compiler-runtime";
|
|
6
6
|
import { errorToast as s, successToast as c, useLevo as l } from "@levo-so/react";
|
|
7
7
|
import { useEffect as u, useState as d } from "react";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as e } from "./Button-
|
|
2
|
+
import { t as e } from "./Button-DujHjtOV.js";
|
|
3
3
|
import { n as t } from "./AuthProvider-C6bvedwF.js";
|
|
4
4
|
import { n, t as r } from "./StripePaymentModal-Do1xHctU.js";
|
|
5
|
-
import { BillingStep as i } from "./BillingStep-
|
|
5
|
+
import { BillingStep as i } from "./BillingStep-CJqmdIz2.js";
|
|
6
6
|
import { cn as a, errorHandler as o, useLevo as s } from "@levo-so/react";
|
|
7
7
|
import { useEffect as c, useRef as l, useState as u } from "react";
|
|
8
8
|
import { Fragment as d, jsx as f, jsxs as p } from "react/jsx-runtime";
|
package/collection.js
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as
|
|
5
|
-
import {
|
|
6
|
-
import { t as
|
|
7
|
-
import { n as R, r as z, t as B } from "./Toolbar-Y6JtgPFn.js";
|
|
1
|
+
import { C as e, S as t, T as n, _ as r, a as i, b as a, c as o, d as s, f as c, g as l, h as u, i as d, l as f, m as p, o as m, p as h, r as g, s as _, t as v, u as y, v as b, w as x, x as S, y as C } from "./CollectionFormBuilder-BvFtiZeH.js";
|
|
2
|
+
import { a as w, c as T, f as E, i as D, n as O, o as k, r as A, s as j, t as M, u as N } from "./CollectionField-BPl8E9MW.js";
|
|
3
|
+
import { t as P } from "./utils-CUqS5dMC.js";
|
|
4
|
+
import { t as F } from "./CollectionInput-DcNJT5Pg.js";
|
|
5
|
+
import { n as I, r as L } from "./dist-DZbXWctg.js";
|
|
6
|
+
import { n as R, r as z, t as B } from "./Toolbar-B5UZer_x.js";
|
|
8
7
|
//#region ../../libraries/react-collection/dist/types/formVariant.js
|
|
9
8
|
var V = [
|
|
10
9
|
{
|
|
@@ -29,4 +28,4 @@ var V = [
|
|
|
29
28
|
}
|
|
30
29
|
];
|
|
31
30
|
//#endregion
|
|
32
|
-
export {
|
|
31
|
+
export { h as AsyncSelectPaginate, c as CURRENCY_SYMBOLS, B as CollectionEditorToolbar, M as CollectionFieldWrapper, M as FieldWrapper, L as CollectionForm, v as CollectionFormBuilder, I as CollectionFormRenderer, F as CollectionInput, F as Input, N as CollectionLabel, y as DEFAULT_WIDGET_REGISTRY, w as Field, j as FieldContent, k as FieldDescription, O as FieldError, T as FieldGroup, A as FieldLabel, f as FieldRenderer, D as FieldSet, g as FormBuilder, V as FormVariantOptions, s as INR_CURRENCY_SYMBOL, i as LevoFormProvider, o as ThemeWrapper, R as ToolbarButton, n as areAllFieldsHidden, p as createWidget, r as errorsToParam, z as getCollectionEditorExtensions, C as getDefaultFieldValues, x as getDefaultValuesByKind, E as getFieldValidations, S as getInitialValues, P as getKindFromMimetype, e as getValueIfNotUndefined, t as isPhoneValid, u as setFormErrors, l as submitDataParser, a as updateFieldWInterface, d as useLevoForm, m as useLevoFormContext, _ as useLevoFormTheme, b as validateForm };
|
package/dist-DZbXWctg.js
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { t as e } from "./rolldown-runtime-CAFD8bLK.js";
|
|
3
|
+
import { t } from "./Button-lUfKisu8.js";
|
|
4
|
+
import { T as n, a as r, c as i, i as a, l as o, n as s, o as c, r as l, t as u, w as d } from "./CollectionFormBuilder-BvFtiZeH.js";
|
|
5
|
+
import { useEffect as f, useMemo as p } from "react";
|
|
6
|
+
import { jsx as m, jsxs as h } from "react/jsx-runtime";
|
|
7
|
+
import g from "clsx";
|
|
8
|
+
import { FormProvider as _, useForm as v } from "react-hook-form";
|
|
9
|
+
//#region ../../libraries/react-collection/dist/lib/CollectionForm/CollectionForm.cssm.js
|
|
10
|
+
var y = "_1dzarb20", b = "_1dzarb21", x = "_1dzarb23", S = "_1dzarb24", C = "_1dzarb25", w = "_1dzarb26", T = ({ hiddenFields: e, isLoading: r, initialValues: a, onSubmit: s, schema: c, uiConfig: l, submitButtonConfig: u, containerStyles: T, isDisabled: E, theme: D, enableVerification: O = !0 }) => {
|
|
11
|
+
let k = p(() => {
|
|
12
|
+
if (c) {
|
|
13
|
+
let t = { ...c };
|
|
14
|
+
return t.sections = t?.sections?.map((t) => (t.fields = t?.fields?.map((t) => ((e?.includes(t?.key) || e?.includes(t?.id)) && (t.hidden = !0), t)), t)), t;
|
|
15
|
+
}
|
|
16
|
+
return null;
|
|
17
|
+
}, [c]), A = v({
|
|
18
|
+
mode: "onTouched",
|
|
19
|
+
disabled: E,
|
|
20
|
+
defaultValues: {},
|
|
21
|
+
resetOptions: { keepErrors: !0 }
|
|
22
|
+
}), { formState: { isSubmitting: j } } = A, M = (e) => {
|
|
23
|
+
s && s(e);
|
|
24
|
+
};
|
|
25
|
+
f(() => {
|
|
26
|
+
if (k) {
|
|
27
|
+
let e = {
|
|
28
|
+
...d(c),
|
|
29
|
+
...a
|
|
30
|
+
};
|
|
31
|
+
A.reset(e);
|
|
32
|
+
}
|
|
33
|
+
}, [k]);
|
|
34
|
+
let N = r || j;
|
|
35
|
+
return k ? /* @__PURE__ */ m(_, {
|
|
36
|
+
...A,
|
|
37
|
+
children: /* @__PURE__ */ m(i, {
|
|
38
|
+
...D || {},
|
|
39
|
+
children: /* @__PURE__ */ h("div", {
|
|
40
|
+
className: y,
|
|
41
|
+
children: [l?.hideFormHeading ? null : /* @__PURE__ */ m("h1", {
|
|
42
|
+
className: g(b),
|
|
43
|
+
children: "Create new"
|
|
44
|
+
}), /* @__PURE__ */ m("div", {
|
|
45
|
+
className: g(x, T),
|
|
46
|
+
children: /* @__PURE__ */ h("form", {
|
|
47
|
+
className: g(S, r && "_1dzarb27"),
|
|
48
|
+
id: "collection-form",
|
|
49
|
+
onSubmit: A.handleSubmit(M),
|
|
50
|
+
children: [c?.sections?.map((e) => n(e?.fields || []) ? null : /* @__PURE__ */ h("div", {
|
|
51
|
+
className: C,
|
|
52
|
+
children: [!l?.hideSectionHeadings && /* @__PURE__ */ m("p", {
|
|
53
|
+
className: "_1dzarb28",
|
|
54
|
+
children: e?.label
|
|
55
|
+
}), /* @__PURE__ */ m("div", {
|
|
56
|
+
className: w,
|
|
57
|
+
children: e?.fields?.map((e) => /* @__PURE__ */ m(o, {
|
|
58
|
+
field: e,
|
|
59
|
+
schema: c,
|
|
60
|
+
settings: { enableVerification: O }
|
|
61
|
+
}, e?.key))
|
|
62
|
+
})]
|
|
63
|
+
}, e.id)), u?.show && /* @__PURE__ */ m("div", {
|
|
64
|
+
className: "_1dzarb29",
|
|
65
|
+
children: /* @__PURE__ */ m(t, {
|
|
66
|
+
className: u?.styles,
|
|
67
|
+
disabled: E || N,
|
|
68
|
+
type: "submit",
|
|
69
|
+
children: N ? "Saving" : u?.text || "Save"
|
|
70
|
+
})
|
|
71
|
+
})]
|
|
72
|
+
})
|
|
73
|
+
})]
|
|
74
|
+
})
|
|
75
|
+
})
|
|
76
|
+
}) : null;
|
|
77
|
+
}, E = ({ hiddenFields: e, fetchedSchema: t, isLoading: n, enableVerification: r = !0, ...i }) => {
|
|
78
|
+
let a = p(() => {
|
|
79
|
+
let n = { ...t }, r = (t) => t?.map((t) => ((e?.includes(t.key) || e?.includes(t.id)) && (t.hidden = !0), t.fields = r(t.fields), t));
|
|
80
|
+
return n.sections = n?.sections?.map((e) => (e.fields = r(e?.fields), e)), n;
|
|
81
|
+
}, [t]);
|
|
82
|
+
return n ? /* @__PURE__ */ m(s, {}) : a ? /* @__PURE__ */ m(l, {
|
|
83
|
+
schema: a,
|
|
84
|
+
enableVerification: r,
|
|
85
|
+
...i
|
|
86
|
+
}) : null;
|
|
87
|
+
}, D = /* @__PURE__ */ e({
|
|
88
|
+
CollectionForm: () => T,
|
|
89
|
+
CollectionFormBuilder: () => u,
|
|
90
|
+
CollectionFormRenderer: () => E,
|
|
91
|
+
FormBuilder: () => l,
|
|
92
|
+
LevoFormProvider: () => r,
|
|
93
|
+
useLevoForm: () => a,
|
|
94
|
+
useLevoFormContext: () => c
|
|
95
|
+
});
|
|
96
|
+
//#endregion
|
|
97
|
+
export { E as n, T as r, D as t };
|
package/index.d.ts
CHANGED
|
@@ -402,6 +402,8 @@ declare interface CarouselProps extends BaseElementProps {
|
|
|
402
402
|
*/
|
|
403
403
|
export declare const CategoryFilter: React.FC<ICategoryFilterProps>;
|
|
404
404
|
|
|
405
|
+
export declare const CollectionFormBuilder: default_2.FC<ICollectionFormBuilderProps>;
|
|
406
|
+
|
|
405
407
|
export declare const colorOptions: {
|
|
406
408
|
readonly brand: {
|
|
407
409
|
readonly label: "Brand";
|
|
@@ -1082,6 +1084,14 @@ export declare interface ICategoryFilterProps {
|
|
|
1082
1084
|
className?: string;
|
|
1083
1085
|
}
|
|
1084
1086
|
|
|
1087
|
+
declare interface ICollectionFormBuilderProps extends Omit<ILevoFormContext, "schema"> {
|
|
1088
|
+
formVariant?: FormVariantType;
|
|
1089
|
+
collection_id: string;
|
|
1090
|
+
hiddenFields?: string[];
|
|
1091
|
+
workspace_id?: string;
|
|
1092
|
+
account?: ILevoMembership.Account;
|
|
1093
|
+
}
|
|
1094
|
+
|
|
1085
1095
|
declare interface ICollectionTheme {
|
|
1086
1096
|
form: {
|
|
1087
1097
|
maxWidth: string;
|