@chaibuilder/sdk 1.2.12 → 1.2.14
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/{AddBlocks-nMUkm4og.cjs → AddBlocks-tomDo_Is.cjs} +1 -1
- package/dist/{AddBlocks-ByeMUUzE.js → AddBlocks-zN5--UP6.js} +1 -1
- package/dist/{BrandingOptions-eeDfvB0R.cjs → BrandingOptions-BUmE4f72.cjs} +1 -1
- package/dist/{BrandingOptions--poS5shs.js → BrandingOptions-LbizrmRI.js} +2 -2
- package/dist/{CanvasArea-h4lA4oqP.cjs → CanvasArea-1PwexKQz.cjs} +1 -1
- package/dist/{CanvasArea--TKubnIM.js → CanvasArea-leUzGAdQ.js} +4 -4
- package/dist/{CurrentPage-B3YumhrX.cjs → CurrentPage-M6uJPKhj.cjs} +1 -1
- package/dist/{CurrentPage-Gw9LJ40j.js → CurrentPage-XSq62fdk.js} +3 -3
- package/dist/{Layers-d-xge4On.js → Layers-JoV3wull.js} +4 -4
- package/dist/{Layers-4r_4F6ST.cjs → Layers-tasAbEc8.cjs} +1 -1
- package/dist/{PagesPanel-E4wSgVcE.js → PagesPanel-5KjlPTtj.js} +4 -4
- package/dist/{PagesPanel-iZLDBwXQ.cjs → PagesPanel-v1B780fd.cjs} +1 -1
- package/dist/{ProjectPanel-q7upaf7h.js → ProjectPanel-4X2KLnOi.js} +4 -4
- package/dist/{ProjectPanel-2TcqGnfN.cjs → ProjectPanel-NZYWWYTt.cjs} +1 -1
- package/dist/{Settings-y3DHsT88.js → Settings-1WP3BWxr.js} +3 -3
- package/dist/{Settings-NuDNH2dR.cjs → Settings-FW-bX28i.cjs} +1 -1
- package/dist/{SidePanels-91l1CjYv.cjs → SidePanels-YpyBLRub.cjs} +1 -1
- package/dist/{SidePanels-BK_QnEh9.js → SidePanels-ZlDXRldT.js} +4 -4
- package/dist/{Topbar-rEO5z57t.cjs → Topbar-2sOsQD2d.cjs} +1 -1
- package/dist/{Topbar-b7jnOD57.js → Topbar-xvrno03z.js} +1 -1
- package/dist/{UnsplashImages-p-WdKs3b.cjs → UnsplashImages-EiYSWkBa.cjs} +1 -1
- package/dist/{UnsplashImages-Lb78FYx7.js → UnsplashImages-hhPOf7kt.js} +1 -1
- package/dist/{UploadImages-zk-IYDx8.cjs → UploadImages-GGCExfQd.cjs} +1 -1
- package/dist/{UploadImages-aWG_1r7N.js → UploadImages-JKjE44i7.js} +1 -1
- package/dist/{add-page-modal-7djj9GZj.js → add-page-modal-iYgzDs08.js} +4 -4
- package/dist/{add-page-modal-iUffBbAe.cjs → add-page-modal-ueEpfep_.cjs} +1 -1
- package/dist/{confirm-alert-QuqMrpWn.js → confirm-alert-Nw1JCtuu.js} +1 -1
- package/dist/{confirm-alert-i3FRAgP4.cjs → confirm-alert-_DCO6hCV.cjs} +1 -1
- package/dist/core.cjs +1 -1
- package/dist/core.js +3 -3
- package/dist/{delete-page-modal-RllDrgxs.cjs → delete-page-modal-CT-ZA6H5.cjs} +1 -1
- package/dist/{delete-page-modal-DEBiprds.js → delete-page-modal-hlR-A69E.js} +3 -3
- package/dist/email-blocks.cjs +1 -1
- package/dist/email-blocks.js +27 -27
- package/dist/email.cjs +1 -1
- package/dist/email.js +4 -4
- package/dist/{empty-slot-TF2kd-0X.cjs → empty-slot-2LSrWJaY.cjs} +1 -1
- package/dist/{empty-slot-MWycClTb.js → empty-slot-5FRrRq1E.js} +33 -33
- package/dist/{form-94xR0NG8.js → form-lbFCPUoE.js} +1 -1
- package/dist/{form-yz7h2msc.cjs → form-vNgf0kO2.cjs} +1 -1
- package/dist/{index-19nTm_cE.js → index-DXznIJrr.js} +665 -660
- package/dist/{index-XVud0HL8.cjs → index-TBa4RPnS.cjs} +22 -22
- package/dist/{index-TEfD-2ti.cjs → index-bfKqnRvZ.cjs} +1 -1
- package/dist/{index-0m8Zuv5X.js → index-m9VziIOy.js} +2 -2
- package/dist/{page-viewer-xPLhXv6k.js → page-viewer-Hgr72mrQ.js} +4 -4
- package/dist/{page-viewer-_ktv1pgX.cjs → page-viewer-voX6SLpK.cjs} +1 -1
- package/dist/{project-general-setting-XlORLtqJ.js → project-general-setting-OdZj-lfx.js} +4 -4
- package/dist/{project-general-setting-nULU3Tzw.cjs → project-general-setting-VFFXhGpN.cjs} +1 -1
- package/dist/{project-seo-setting-KQkeHwny.js → project-seo-setting-9V67NFil.js} +3 -3
- package/dist/{project-seo-setting-9QkARPhg.cjs → project-seo-setting-aRDdqu88.cjs} +1 -1
- package/dist/{single-page-detail-gtVN9hxR.js → single-page-detail-AjhWBVK1.js} +5 -5
- package/dist/{single-page-detail-Gb6O3Yyw.cjs → single-page-detail-FIwXvGx2.cjs} +1 -1
- package/dist/studio.cjs +1 -1
- package/dist/studio.d.ts +110 -2
- package/dist/studio.js +3 -3
- package/dist/ui.cjs +1 -1
- package/dist/ui.js +1 -1
- package/dist/{useAddBlockByDrop-GU5QLPtz.cjs → useAddBlockByDrop-1WvPoBXa.cjs} +1 -1
- package/dist/{useAddBlockByDrop-b5KJh_7w.js → useAddBlockByDrop-bs_SH7Tw.js} +1 -1
- package/dist/web-blocks.cjs +1 -1
- package/dist/web-blocks.js +129 -129
- package/package.json +1 -1
package/dist/web-blocks.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { isNull as F, isEmpty as k, get as v, pick as D, omit as $, map as _, noop as q } from "lodash-es";
|
|
2
2
|
import { j as s } from "./jsx-runtime-WbnYoNE9.js";
|
|
3
3
|
import * as d from "react";
|
|
4
|
-
import { E as g, S as
|
|
4
|
+
import { E as g, S as c, f as I, o as j, g as B, m as T, u as f, T as E, c as w, q as z, b as O, r as h, h as V } from "./empty-slot-5FRrRq1E.js";
|
|
5
5
|
import { registerChaiBlock as u } from "@chaibuilder/runtime";
|
|
6
|
-
import { HeadingIcon as U, TextIcon as G, CursorTextIcon as W, ButtonIcon as H, Link1Icon as Y, RowsIcon as X, ColumnsIcon as Z, SketchLogoIcon as J, ImageIcon as K, VideoIcon as Q, CodeIcon as ee, DividerHorizontalIcon as te, SpaceBetweenVerticallyIcon as R, TableIcon as le, BorderTopIcon as oe, BorderAllIcon as ae, ViewHorizontalIcon as re, DragHandleHorizontalIcon as se, GroupIcon as ne, LetterCaseToggleIcon as
|
|
6
|
+
import { HeadingIcon as U, TextIcon as G, CursorTextIcon as W, ButtonIcon as H, Link1Icon as Y, RowsIcon as X, ColumnsIcon as Z, SketchLogoIcon as J, ImageIcon as K, VideoIcon as Q, CodeIcon as ee, DividerHorizontalIcon as te, SpaceBetweenVerticallyIcon as R, TableIcon as le, BorderTopIcon as oe, BorderAllIcon as ae, ViewHorizontalIcon as re, DragHandleHorizontalIcon as se, GroupIcon as ne, LetterCaseToggleIcon as ie, CheckboxIcon as ce, InputIcon as A, RadiobuttonIcon as de, DropdownMenuIcon as ue } from "@radix-ui/react-icons";
|
|
7
7
|
import { c as P, g as x } from "./Functions-7jnEwJyw.js";
|
|
8
8
|
import "./_commonjsHelpers-UyOWmZb0.js";
|
|
9
9
|
import "clsx";
|
|
10
10
|
import "tailwind-merge";
|
|
11
11
|
const pe = d.memo(
|
|
12
12
|
(e) => {
|
|
13
|
-
const { blockProps: t,
|
|
14
|
-
let
|
|
15
|
-
|
|
16
|
-
let
|
|
17
|
-
return
|
|
13
|
+
const { blockProps: t, inBuilder: l, backgroundImage: o, children: a, tag: r = "div", styles: n } = e;
|
|
14
|
+
let i = a;
|
|
15
|
+
a || (i = /* @__PURE__ */ s.jsx(g, { blockProps: {}, styles: {}, inBuilder: l }));
|
|
16
|
+
let p = {};
|
|
17
|
+
return o && (p = { backgroundImage: `url(${o})` }), d.createElement(r, { ...t, ...n, style: p }, i);
|
|
18
18
|
}
|
|
19
19
|
);
|
|
20
20
|
u(pe, {
|
|
@@ -23,7 +23,7 @@ u(pe, {
|
|
|
23
23
|
category: "core",
|
|
24
24
|
group: "basic",
|
|
25
25
|
props: {
|
|
26
|
-
styles:
|
|
26
|
+
styles: c({ default: "" }),
|
|
27
27
|
tag: I({
|
|
28
28
|
title: "Tag",
|
|
29
29
|
default: "div",
|
|
@@ -79,8 +79,8 @@ u(me, {
|
|
|
79
79
|
{ value: "h6", title: "h6" }
|
|
80
80
|
]
|
|
81
81
|
}),
|
|
82
|
-
styles:
|
|
83
|
-
content:
|
|
82
|
+
styles: c({ default: "text-3xl" }),
|
|
83
|
+
content: B({ title: "Content", default: "Heading goes here" })
|
|
84
84
|
},
|
|
85
85
|
canAcceptBlock: (e) => e === "Span" || e === "Text"
|
|
86
86
|
});
|
|
@@ -99,8 +99,8 @@ u(fe, {
|
|
|
99
99
|
icon: G,
|
|
100
100
|
group: "typography",
|
|
101
101
|
props: {
|
|
102
|
-
styles:
|
|
103
|
-
content:
|
|
102
|
+
styles: c({ default: "" }),
|
|
103
|
+
content: B({
|
|
104
104
|
title: "Content",
|
|
105
105
|
default: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere."
|
|
106
106
|
})
|
|
@@ -121,8 +121,8 @@ u(ye, {
|
|
|
121
121
|
category: "core",
|
|
122
122
|
group: "typography",
|
|
123
123
|
props: {
|
|
124
|
-
styles:
|
|
125
|
-
content:
|
|
124
|
+
styles: c({ default: "" }),
|
|
125
|
+
content: B({ title: "Content", default: "Enter your content" })
|
|
126
126
|
}
|
|
127
127
|
});
|
|
128
128
|
const be = (e) => {
|
|
@@ -136,7 +136,7 @@ u(be, {
|
|
|
136
136
|
icon: W,
|
|
137
137
|
group: "typography",
|
|
138
138
|
props: {
|
|
139
|
-
styles:
|
|
139
|
+
styles: c({ default: "" }),
|
|
140
140
|
content: T({
|
|
141
141
|
title: "Content",
|
|
142
142
|
default: "<p>This is a rich text block. You can add text, and other content here.</p>"
|
|
@@ -144,18 +144,18 @@ u(be, {
|
|
|
144
144
|
}
|
|
145
145
|
});
|
|
146
146
|
const he = (e) => {
|
|
147
|
-
const { blockProps: t, iconSize: l, icon: o, content: a, iconPos: r, styles: n, children:
|
|
147
|
+
const { blockProps: t, iconSize: l, icon: o, content: a, iconPos: r, styles: n, children: i } = e, p = o, m = i || /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
148
148
|
/* @__PURE__ */ s.jsx("span", { children: a }),
|
|
149
|
-
|
|
149
|
+
p && /* @__PURE__ */ s.jsx(
|
|
150
150
|
"div",
|
|
151
151
|
{
|
|
152
152
|
style: { width: l + "px" },
|
|
153
153
|
className: r + " " + (r === "order-first" ? "mr-2" : "ml-2") || "",
|
|
154
|
-
dangerouslySetInnerHTML: { __html:
|
|
154
|
+
dangerouslySetInnerHTML: { __html: p }
|
|
155
155
|
}
|
|
156
156
|
)
|
|
157
157
|
] });
|
|
158
|
-
return d.createElement("button", { ...t, ...n, type: "button" },
|
|
158
|
+
return d.createElement("button", { ...t, ...n, type: "button" }, m);
|
|
159
159
|
};
|
|
160
160
|
u(he, {
|
|
161
161
|
type: "Button",
|
|
@@ -165,7 +165,7 @@ u(he, {
|
|
|
165
165
|
group: "basic",
|
|
166
166
|
props: {
|
|
167
167
|
content: f({ title: "Label", default: "Button", multiLingual: !0 }),
|
|
168
|
-
styles:
|
|
168
|
+
styles: c({ default: "text-white bg-primary px-4 py-2 rounded-global flex items-center" }),
|
|
169
169
|
icon: E({ title: "Icon", default: "" }),
|
|
170
170
|
iconSize: w({ title: "Icon Size", default: 24 }),
|
|
171
171
|
iconPos: I({
|
|
@@ -180,7 +180,7 @@ u(he, {
|
|
|
180
180
|
});
|
|
181
181
|
const ge = (e) => {
|
|
182
182
|
const { blockProps: t, link: l, children: o, styles: a, inBuilder: r, content: n } = e;
|
|
183
|
-
return !o && k(a == null ? void 0 : a.className) && k(n) ? /* @__PURE__ */ s.jsx(g, { blockProps: t }) : r ? o ? /* @__PURE__ */ s.jsx("span", { "data-simulate": "a", ...t, ...a, children: o }) : d.createElement("span", {
|
|
183
|
+
return !o && k(a == null ? void 0 : a.className) && k(n) ? /* @__PURE__ */ s.jsx(g, { blockProps: t, inBuilder: r }) : r ? o ? /* @__PURE__ */ s.jsx("span", { "data-simulate": "a", ...t, ...a, children: o }) : d.createElement("span", {
|
|
184
184
|
...t,
|
|
185
185
|
...a,
|
|
186
186
|
dangerouslySetInnerHTML: { __html: n },
|
|
@@ -200,7 +200,7 @@ u(ge, {
|
|
|
200
200
|
icon: Y,
|
|
201
201
|
group: "basic",
|
|
202
202
|
props: {
|
|
203
|
-
styles:
|
|
203
|
+
styles: c({ default: "" }),
|
|
204
204
|
content: f({ title: "Content", default: "" }),
|
|
205
205
|
link: z({
|
|
206
206
|
title: "Link",
|
|
@@ -210,10 +210,10 @@ u(ge, {
|
|
|
210
210
|
canAcceptBlock: () => !0
|
|
211
211
|
});
|
|
212
212
|
const xe = (e) => {
|
|
213
|
-
const { blockProps: t, children: l, listType: o, styles: a, tag: r } = e,
|
|
214
|
-
return !l && k(a == null ? void 0 : a.className) ? /* @__PURE__ */ s.jsx(g, { blockProps: t, text: "LIST ITEM" }) : d.createElement(
|
|
213
|
+
const { blockProps: t, children: l, listType: o, styles: a, tag: r, inBuilder: n } = e, i = P(v(a, "className", ""), o);
|
|
214
|
+
return !l && k(a == null ? void 0 : a.className) ? /* @__PURE__ */ s.jsx(g, { inBuilder: n, blockProps: t, text: "LIST ITEM" }) : d.createElement(
|
|
215
215
|
r || (o === "list-decimal" ? "ol" : "ul"),
|
|
216
|
-
{ ...t, ...a, className:
|
|
216
|
+
{ ...t, ...a, className: i },
|
|
217
217
|
l
|
|
218
218
|
);
|
|
219
219
|
};
|
|
@@ -224,7 +224,7 @@ u(xe, {
|
|
|
224
224
|
category: "core",
|
|
225
225
|
group: "basic",
|
|
226
226
|
props: {
|
|
227
|
-
styles:
|
|
227
|
+
styles: c({ default: "" }),
|
|
228
228
|
listType: I({
|
|
229
229
|
title: "List type",
|
|
230
230
|
default: "list-disc",
|
|
@@ -276,20 +276,20 @@ u(ke, {
|
|
|
276
276
|
category: "core",
|
|
277
277
|
group: "basic",
|
|
278
278
|
props: {
|
|
279
|
-
styles:
|
|
280
|
-
content:
|
|
279
|
+
styles: c({ default: "" }),
|
|
280
|
+
content: B({ title: "Content", default: "List item" })
|
|
281
281
|
},
|
|
282
282
|
canAcceptBlock: () => !0,
|
|
283
283
|
canBeNested: (e) => e === "List"
|
|
284
284
|
});
|
|
285
285
|
const ve = (e) => {
|
|
286
|
-
const { blockProps: t, icon: l, styles: o, width: a,
|
|
286
|
+
const { blockProps: t, icon: l, styles: o, width: a, inBuilder: r, height: n } = e, i = {
|
|
287
287
|
...o,
|
|
288
|
-
className: P(o.className, "inline-block c-inline-block", `w-[${a}px]`, `h-[${
|
|
288
|
+
className: P(o.className, "inline-block c-inline-block", `w-[${a}px]`, `h-[${n}px]`)
|
|
289
289
|
};
|
|
290
|
-
return k(l) ? /* @__PURE__ */ s.jsx(g, { blockProps: t, text: "", className: "h-8 w-14" }) : d.createElement("span", {
|
|
290
|
+
return k(l) ? /* @__PURE__ */ s.jsx(g, { blockProps: t, text: "", inBuilder: r, className: "h-8 w-14" }) : d.createElement("span", {
|
|
291
291
|
...t,
|
|
292
|
-
...
|
|
292
|
+
...i,
|
|
293
293
|
dangerouslySetInnerHTML: { __html: l }
|
|
294
294
|
});
|
|
295
295
|
};
|
|
@@ -300,7 +300,7 @@ u(ve, {
|
|
|
300
300
|
icon: J,
|
|
301
301
|
group: "media",
|
|
302
302
|
props: {
|
|
303
|
-
styles:
|
|
303
|
+
styles: c({ default: "text-black" }),
|
|
304
304
|
icon: E({
|
|
305
305
|
title: "Icon",
|
|
306
306
|
default: '<svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M8 16c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8zM8 1.5c3.59 0 6.5 2.91 6.5 6.5s-2.91 6.5-6.5 6.5-6.5-2.91-6.5-6.5 2.91-6.5 6.5-6.5zM8 9.356c1.812 0 3.535-0.481 5-1.327-0.228 2.788-2.393 4.971-5 4.971s-4.772-2.186-5-4.973c1.465 0.845 3.188 1.329 5 1.329zM4 5.5c0-0.828 0.448-1.5 1-1.5s1 0.672 1 1.5c0 0.828-0.448 1.5-1 1.5s-1-0.672-1-1.5zM10 5.5c0-0.828 0.448-1.5 1-1.5s1 0.672 1 1.5c0 0.828-0.448 1.5-1 1.5s-1-0.672-1-1.5z"></path></svg>'
|
|
@@ -327,7 +327,7 @@ u(Ie, {
|
|
|
327
327
|
icon: K,
|
|
328
328
|
group: "media",
|
|
329
329
|
props: {
|
|
330
|
-
styles:
|
|
330
|
+
styles: c({ default: "" }),
|
|
331
331
|
image: j({
|
|
332
332
|
title: "Image",
|
|
333
333
|
default: "https://fakeimg.pl/400x200?text=Choose&font=bebas"
|
|
@@ -337,29 +337,29 @@ u(Ie, {
|
|
|
337
337
|
height: f({ title: "Height", default: "" })
|
|
338
338
|
}
|
|
339
339
|
});
|
|
340
|
-
const
|
|
341
|
-
var
|
|
342
|
-
const { blockProps: t,
|
|
343
|
-
let
|
|
344
|
-
return
|
|
345
|
-
/* @__PURE__ */ s.jsx("div", { className: P("flex flex-col items-center justify-center", (
|
|
340
|
+
const Be = (e) => {
|
|
341
|
+
var n;
|
|
342
|
+
const { blockProps: t, inBuilder: l, styles: o, children: a } = e;
|
|
343
|
+
let r = null;
|
|
344
|
+
return !a && l && (r = // @ts-ignore
|
|
345
|
+
/* @__PURE__ */ s.jsx("div", { className: P("flex flex-col items-center justify-center", (n = e.emptyStyles) == null ? void 0 : n.className), children: /* @__PURE__ */ s.jsx("div", { className: "h-full w-full rounded-md border-4 border-dashed", children: /* @__PURE__ */ s.jsxs("p", { className: "truncate p-1 text-left text-xs text-gray-400", children: [
|
|
346
346
|
"Slot: ",
|
|
347
347
|
e.name
|
|
348
|
-
] }) }) })), d.createElement("div", { ...
|
|
348
|
+
] }) }) })), d.createElement("div", { ...o, ...t, droppable: "yes" }, a || r);
|
|
349
349
|
};
|
|
350
|
-
u(
|
|
350
|
+
u(Be, {
|
|
351
351
|
type: "Slot",
|
|
352
352
|
label: "Slot",
|
|
353
353
|
group: "basic",
|
|
354
354
|
category: "core",
|
|
355
355
|
hidden: !0,
|
|
356
356
|
props: {
|
|
357
|
-
styles:
|
|
358
|
-
emptyStyles:
|
|
357
|
+
styles: c({ default: "" }),
|
|
358
|
+
emptyStyles: c({ default: "" })
|
|
359
359
|
},
|
|
360
360
|
canAcceptBlock: () => !0
|
|
361
361
|
});
|
|
362
|
-
const N = /^(https?:\/\/)?(www\.)?youtube\.com\/(watch\?v=|embed\/)([a-zA-Z0-9_-]{11})/, C = /^(https?:\/\/)?(www\.)?player.vimeo\.com/, M = /^(https?:\/\/)?(www\.)?dailymotion\.com\/(video|embed\/video)\/([a-zA-Z0-9_-]+)/,
|
|
362
|
+
const N = /^(https?:\/\/)?(www\.)?youtube\.com\/(watch\?v=|embed\/)([a-zA-Z0-9_-]{11})/, C = /^(https?:\/\/)?(www\.)?player.vimeo\.com/, M = /^(https?:\/\/)?(www\.)?dailymotion\.com\/(video|embed\/video)\/([a-zA-Z0-9_-]+)/, Le = (e) => {
|
|
363
363
|
if (N.test(e)) {
|
|
364
364
|
const t = e.match(N);
|
|
365
365
|
return t ? `https://www.youtube.com/embed/${t[4]}` : e;
|
|
@@ -375,14 +375,14 @@ const N = /^(https?:\/\/)?(www\.)?youtube\.com\/(watch\?v=|embed\/)([a-zA-Z0-9_-
|
|
|
375
375
|
return null;
|
|
376
376
|
}, Te = d.memo(
|
|
377
377
|
(e) => {
|
|
378
|
-
const { blockProps: t, inBuilder: l, styles: o, url: a, controls: r } = e, n = v(r, "autoPlay", !1),
|
|
378
|
+
const { blockProps: t, inBuilder: l, styles: o, url: a, controls: r } = e, n = v(r, "autoPlay", !1), i = v(r, "controls", !1), p = n || v(r, "muted", !0), m = v(r, "loop", !1);
|
|
379
379
|
if (k(a))
|
|
380
|
-
return /* @__PURE__ */ s.jsx(g, { blockProps: t, text: "VIDEO URL", className: "h-36" });
|
|
381
|
-
let b =
|
|
380
|
+
return /* @__PURE__ */ s.jsx(g, { inBuilder: l, blockProps: t, text: "VIDEO URL", className: "h-36" });
|
|
381
|
+
let b = Le(a), y = null;
|
|
382
382
|
if (b) {
|
|
383
383
|
if (!k(b)) {
|
|
384
|
-
const
|
|
385
|
-
|
|
384
|
+
const L = [];
|
|
385
|
+
L.push(`autoplay=${n ? 1 : 0}`), L.push(`controls=${r ? 1 : 0}`), L.push(`mute=${p ? 1 : 0}&muted=${p ? 1 : 0}`), L.push(`loop=${m ? 1 : 0}`), b = `${b}?${L.join("&")}`;
|
|
386
386
|
}
|
|
387
387
|
y = d.createElement("iframe", {
|
|
388
388
|
...t,
|
|
@@ -397,10 +397,10 @@ const N = /^(https?:\/\/)?(www\.)?youtube\.com\/(watch\?v=|embed\/)([a-zA-Z0-9_-
|
|
|
397
397
|
...t,
|
|
398
398
|
className: "absolute inset-0 w-full h-full",
|
|
399
399
|
src: a,
|
|
400
|
-
controls:
|
|
401
|
-
muted:
|
|
400
|
+
controls: i,
|
|
401
|
+
muted: p,
|
|
402
402
|
autoPlay: l ? !1 : n,
|
|
403
|
-
loop:
|
|
403
|
+
loop: m
|
|
404
404
|
});
|
|
405
405
|
return /* @__PURE__ */ s.jsx("div", { ...D(o, ["className"]), children: /* @__PURE__ */ s.jsxs("div", { className: "relative w-full overflow-hidden", style: { paddingBottom: "56.25%" }, children: [
|
|
406
406
|
l ? /* @__PURE__ */ s.jsx("div", { ...t, ...$(o, ["className"]), className: "absolute inset-0 z-20 h-full w-full" }) : null,
|
|
@@ -415,7 +415,7 @@ u(Te, {
|
|
|
415
415
|
icon: Q,
|
|
416
416
|
group: "media",
|
|
417
417
|
props: {
|
|
418
|
-
styles:
|
|
418
|
+
styles: c({ default: "" }),
|
|
419
419
|
url: f({
|
|
420
420
|
title: "Video URL",
|
|
421
421
|
default: "https://www.youtube.com/watch?v=9xwazD5SyVg&ab_channel=MaximilianMustermann"
|
|
@@ -450,8 +450,8 @@ u(we, {
|
|
|
450
450
|
icon: ee,
|
|
451
451
|
group: "advanced",
|
|
452
452
|
props: {
|
|
453
|
-
styles:
|
|
454
|
-
content:
|
|
453
|
+
styles: c({ default: "" }),
|
|
454
|
+
content: B({
|
|
455
455
|
title: "HTML Content",
|
|
456
456
|
default: "<div><p>HTML Snippet goes here...</p></div>",
|
|
457
457
|
placeholder: "Enter custom HTML code here"
|
|
@@ -469,7 +469,7 @@ u(Se, {
|
|
|
469
469
|
icon: te,
|
|
470
470
|
group: "basic",
|
|
471
471
|
props: {
|
|
472
|
-
styles:
|
|
472
|
+
styles: c({ default: "bg-gray-900 h-0.5 py-2 my-1" })
|
|
473
473
|
}
|
|
474
474
|
});
|
|
475
475
|
const _e = (e) => e.inBuilder ? /* @__PURE__ */ s.jsx("span", { className: "inline", ...e.blockProps, children: e.content }) : `${e.content}`;
|
|
@@ -481,7 +481,7 @@ u(_e, {
|
|
|
481
481
|
group: "typography",
|
|
482
482
|
icon: R,
|
|
483
483
|
props: {
|
|
484
|
-
content:
|
|
484
|
+
content: B({ title: "Content", defaultValue: "" })
|
|
485
485
|
}
|
|
486
486
|
});
|
|
487
487
|
const je = (e) => {
|
|
@@ -496,7 +496,7 @@ u(je, {
|
|
|
496
496
|
group: "basic",
|
|
497
497
|
hidden: !0,
|
|
498
498
|
props: {
|
|
499
|
-
styles:
|
|
499
|
+
styles: c({ default: "font-body antialiased" }),
|
|
500
500
|
backgroundImage: j({ title: "Background Image" })
|
|
501
501
|
},
|
|
502
502
|
canAcceptBlock: () => !0,
|
|
@@ -516,7 +516,7 @@ u(Ee, {
|
|
|
516
516
|
hidden: !0,
|
|
517
517
|
icon: R,
|
|
518
518
|
props: {
|
|
519
|
-
styles:
|
|
519
|
+
styles: c({ default: "" })
|
|
520
520
|
}
|
|
521
521
|
});
|
|
522
522
|
const S = (e) => {
|
|
@@ -527,26 +527,26 @@ const S = (e) => {
|
|
|
527
527
|
styles: "#styles:,",
|
|
528
528
|
content: `${e === "TableHead" ? "Table Head" : "Table Cell " + n}`
|
|
529
529
|
}), l = (r) => {
|
|
530
|
-
const n = x(),
|
|
530
|
+
const n = x(), i = {
|
|
531
531
|
_type: "TableRow",
|
|
532
532
|
_id: n,
|
|
533
533
|
styles: "#styles:,border-b"
|
|
534
534
|
};
|
|
535
|
-
return r && (
|
|
535
|
+
return r && (i._parent = r), [i, t(n, "1"), t(n, "2"), t(n, "3")];
|
|
536
536
|
}, o = (r) => {
|
|
537
|
-
const n = x(),
|
|
537
|
+
const n = x(), i = {
|
|
538
538
|
_id: n,
|
|
539
539
|
_type: "TableHead",
|
|
540
540
|
styles: "#styles:,font-medium"
|
|
541
541
|
};
|
|
542
|
-
return r && (
|
|
542
|
+
return r && (i._parent = r), [i, ...l(n)];
|
|
543
543
|
}, a = (r) => {
|
|
544
|
-
const n = x(),
|
|
544
|
+
const n = x(), i = {
|
|
545
545
|
_id: n,
|
|
546
546
|
_type: "TableBody",
|
|
547
547
|
styles: "#styles:,"
|
|
548
548
|
};
|
|
549
|
-
return r && (
|
|
549
|
+
return r && (i._parent = r), [i, ...l(n), ...l(n)];
|
|
550
550
|
};
|
|
551
551
|
if (e === "Table") {
|
|
552
552
|
const r = x();
|
|
@@ -573,7 +573,7 @@ u(Pe, {
|
|
|
573
573
|
hidden: !0,
|
|
574
574
|
icon: le,
|
|
575
575
|
props: {
|
|
576
|
-
styles:
|
|
576
|
+
styles: c({ default: "" })
|
|
577
577
|
},
|
|
578
578
|
blocks: S("Table")
|
|
579
579
|
});
|
|
@@ -589,7 +589,7 @@ u(Ne, {
|
|
|
589
589
|
hidden: !0,
|
|
590
590
|
icon: oe,
|
|
591
591
|
props: {
|
|
592
|
-
styles:
|
|
592
|
+
styles: c({ default: "" })
|
|
593
593
|
},
|
|
594
594
|
blocks: S("TableHead")
|
|
595
595
|
});
|
|
@@ -605,7 +605,7 @@ u(Ce, {
|
|
|
605
605
|
hidden: !0,
|
|
606
606
|
icon: ae,
|
|
607
607
|
props: {
|
|
608
|
-
styles:
|
|
608
|
+
styles: c({ default: "" })
|
|
609
609
|
},
|
|
610
610
|
blocks: S("TableBody")
|
|
611
611
|
});
|
|
@@ -621,7 +621,7 @@ u(Me, {
|
|
|
621
621
|
hidden: !0,
|
|
622
622
|
icon: re,
|
|
623
623
|
props: {
|
|
624
|
-
styles:
|
|
624
|
+
styles: c({ default: "w-full" })
|
|
625
625
|
},
|
|
626
626
|
blocks: S("TableRow")
|
|
627
627
|
});
|
|
@@ -641,14 +641,14 @@ u(He, {
|
|
|
641
641
|
hidden: !0,
|
|
642
642
|
icon: se,
|
|
643
643
|
props: {
|
|
644
|
-
styles:
|
|
644
|
+
styles: c({ default: "" }),
|
|
645
645
|
content: T({ title: "Content", default: "Table cell item" })
|
|
646
646
|
}
|
|
647
647
|
});
|
|
648
648
|
const Re = (e) => {
|
|
649
|
-
const { blockProps: t, errorMessage: l, name: o, _type: a, successMessage: r, action: n, styles:
|
|
650
|
-
let
|
|
651
|
-
|
|
649
|
+
const { blockProps: t, errorMessage: l, name: o, _type: a, successMessage: r, action: n, styles: i, children: p } = e;
|
|
650
|
+
let m = p;
|
|
651
|
+
p || (m = /* @__PURE__ */ s.jsx(g, { blockProps: {}, text: "FORM FIELDS" }));
|
|
652
652
|
const b = {
|
|
653
653
|
"x-data": "useForm",
|
|
654
654
|
"x-on:submit.prevent": "post"
|
|
@@ -665,11 +665,11 @@ const Re = (e) => {
|
|
|
665
665
|
method: "post",
|
|
666
666
|
action: n,
|
|
667
667
|
...t,
|
|
668
|
-
...
|
|
668
|
+
...i,
|
|
669
669
|
children: [
|
|
670
670
|
/* @__PURE__ */ s.jsx("div", { ...y }),
|
|
671
671
|
/* @__PURE__ */ s.jsx("input", { name: "formname", type: "hidden", value: o || a }),
|
|
672
|
-
|
|
672
|
+
m
|
|
673
673
|
]
|
|
674
674
|
}
|
|
675
675
|
);
|
|
@@ -682,7 +682,7 @@ u(Re, {
|
|
|
682
682
|
group: "form",
|
|
683
683
|
hidden: !0,
|
|
684
684
|
props: {
|
|
685
|
-
styles:
|
|
685
|
+
styles: c({ default: "" }),
|
|
686
686
|
action: f({
|
|
687
687
|
title: "Submit URL",
|
|
688
688
|
default: "/api/form/submit"
|
|
@@ -709,22 +709,22 @@ u(Ae, {
|
|
|
709
709
|
type: "Label",
|
|
710
710
|
label: "Label",
|
|
711
711
|
category: "core",
|
|
712
|
-
icon:
|
|
712
|
+
icon: ie,
|
|
713
713
|
group: "form",
|
|
714
714
|
hidden: !0,
|
|
715
715
|
props: {
|
|
716
|
-
styles:
|
|
716
|
+
styles: c({ default: "" }),
|
|
717
717
|
content: f({ title: "Content", default: "Label" })
|
|
718
718
|
}
|
|
719
719
|
});
|
|
720
720
|
const Fe = (e) => {
|
|
721
|
-
const { blockProps: t, inBuilder: l, label: o, placeholder: a, styles: r, inputStyles: n, icon:
|
|
721
|
+
const { blockProps: t, inBuilder: l, label: o, placeholder: a, styles: r, inputStyles: n, icon: i, iconPos: p } = e, m = x(), b = {
|
|
722
722
|
"x-bind:disabled": "formLoading"
|
|
723
723
|
};
|
|
724
724
|
return /* @__PURE__ */ s.jsxs(
|
|
725
725
|
"button",
|
|
726
726
|
{
|
|
727
|
-
id:
|
|
727
|
+
id: m,
|
|
728
728
|
...b,
|
|
729
729
|
...n,
|
|
730
730
|
...r,
|
|
@@ -733,7 +733,7 @@ const Fe = (e) => {
|
|
|
733
733
|
placeholder: a,
|
|
734
734
|
children: [
|
|
735
735
|
o,
|
|
736
|
-
|
|
736
|
+
i && /* @__PURE__ */ s.jsx("span", { className: p, dangerouslySetInnerHTML: { __html: i } })
|
|
737
737
|
]
|
|
738
738
|
}
|
|
739
739
|
);
|
|
@@ -747,7 +747,7 @@ u(Fe, {
|
|
|
747
747
|
hidden: !0,
|
|
748
748
|
props: {
|
|
749
749
|
label: f({ title: "Label", default: "Submit" }),
|
|
750
|
-
styles:
|
|
750
|
+
styles: c({
|
|
751
751
|
default: "text-white bg-primary disabled:bg-gray-400 px-4 py-2 rounded-global flex items-center gap-x-2"
|
|
752
752
|
}),
|
|
753
753
|
icon: E({ title: "Icon", default: "" }),
|
|
@@ -762,24 +762,24 @@ u(Fe, {
|
|
|
762
762
|
}
|
|
763
763
|
});
|
|
764
764
|
const De = (e) => {
|
|
765
|
-
const { blockProps: t, fieldName: l, label: o, styles: a, inputStyles: r, required: n, checked:
|
|
766
|
-
return
|
|
765
|
+
const { blockProps: t, fieldName: l, label: o, styles: a, inputStyles: r, required: n, checked: i, showLabel: p = !0 } = e, m = x();
|
|
766
|
+
return p ? /* @__PURE__ */ s.jsxs("div", { ...a, ...t, children: [
|
|
767
767
|
/* @__PURE__ */ s.jsx(
|
|
768
768
|
"input",
|
|
769
769
|
{
|
|
770
770
|
...r,
|
|
771
771
|
name: l,
|
|
772
|
-
id:
|
|
772
|
+
id: m,
|
|
773
773
|
type: "checkbox",
|
|
774
774
|
required: n,
|
|
775
|
-
defaultChecked:
|
|
775
|
+
defaultChecked: i
|
|
776
776
|
}
|
|
777
777
|
),
|
|
778
|
-
o && o !== "Label" && /* @__PURE__ */ s.jsx("label", { htmlFor:
|
|
778
|
+
o && o !== "Label" && /* @__PURE__ */ s.jsx("label", { htmlFor: m, children: o })
|
|
779
779
|
] }) : /* @__PURE__ */ s.jsx(
|
|
780
780
|
"input",
|
|
781
781
|
{
|
|
782
|
-
id:
|
|
782
|
+
id: m,
|
|
783
783
|
...t,
|
|
784
784
|
...r,
|
|
785
785
|
...a,
|
|
@@ -793,12 +793,12 @@ u(De, {
|
|
|
793
793
|
type: "Checkbox",
|
|
794
794
|
label: "Checkbox",
|
|
795
795
|
category: "core",
|
|
796
|
-
icon:
|
|
796
|
+
icon: ce,
|
|
797
797
|
group: "form",
|
|
798
798
|
hidden: !0,
|
|
799
799
|
props: {
|
|
800
800
|
fieldName: f({ title: "Field Name", default: "checkbox" }),
|
|
801
|
-
styles:
|
|
801
|
+
styles: c({ default: "flex items-center gap-x-2" }),
|
|
802
802
|
label: f({ title: "Label", default: "Label" }),
|
|
803
803
|
checked: h({ title: "Checked", default: !1 }),
|
|
804
804
|
required: h({ title: "Required", default: !1 })
|
|
@@ -812,23 +812,23 @@ const $e = (e) => {
|
|
|
812
812
|
styles: a,
|
|
813
813
|
inputStyles: r,
|
|
814
814
|
showLabel: n,
|
|
815
|
-
required:
|
|
816
|
-
inputType:
|
|
817
|
-
inBuilder:
|
|
815
|
+
required: i,
|
|
816
|
+
inputType: p = "text",
|
|
817
|
+
inBuilder: m,
|
|
818
818
|
fieldName: b
|
|
819
819
|
} = e, y = x();
|
|
820
|
-
return !n ||
|
|
820
|
+
return !n || p === "submit" ? (p === "submit" && (t.value = l), /* @__PURE__ */ s.jsx(
|
|
821
821
|
"input",
|
|
822
822
|
{
|
|
823
823
|
id: y,
|
|
824
824
|
name: b,
|
|
825
|
-
readOnly:
|
|
825
|
+
readOnly: m,
|
|
826
826
|
...t,
|
|
827
827
|
...r,
|
|
828
828
|
...a,
|
|
829
|
-
type:
|
|
829
|
+
type: p,
|
|
830
830
|
placeholder: o,
|
|
831
|
-
required:
|
|
831
|
+
required: i
|
|
832
832
|
}
|
|
833
833
|
)) : /* @__PURE__ */ s.jsxs("div", { ...a, ...t, children: [
|
|
834
834
|
n && /* @__PURE__ */ s.jsx("label", { htmlFor: y, children: l }),
|
|
@@ -836,12 +836,12 @@ const $e = (e) => {
|
|
|
836
836
|
"input",
|
|
837
837
|
{
|
|
838
838
|
name: b,
|
|
839
|
-
readOnly:
|
|
839
|
+
readOnly: m,
|
|
840
840
|
...r,
|
|
841
841
|
id: y,
|
|
842
|
-
type:
|
|
842
|
+
type: p,
|
|
843
843
|
placeholder: o,
|
|
844
|
-
required:
|
|
844
|
+
required: i
|
|
845
845
|
}
|
|
846
846
|
)
|
|
847
847
|
] });
|
|
@@ -854,7 +854,7 @@ u($e, {
|
|
|
854
854
|
group: "form",
|
|
855
855
|
hidden: !0,
|
|
856
856
|
props: {
|
|
857
|
-
styles:
|
|
857
|
+
styles: c({ default: "" }),
|
|
858
858
|
fieldName: f({ title: "Field Name", default: "input" }),
|
|
859
859
|
inputType: I({
|
|
860
860
|
title: "Type",
|
|
@@ -869,7 +869,7 @@ u($e, {
|
|
|
869
869
|
}),
|
|
870
870
|
value: f({ title: "Value", default: "" }),
|
|
871
871
|
showLabel: h({ title: "Show label", default: !0 }),
|
|
872
|
-
inputStyles:
|
|
872
|
+
inputStyles: c({ default: "w-full p-1" }),
|
|
873
873
|
label: f({ title: "Label", default: "Label" }),
|
|
874
874
|
placeholder: f({
|
|
875
875
|
title: "Placeholder",
|
|
@@ -879,19 +879,19 @@ u($e, {
|
|
|
879
879
|
}
|
|
880
880
|
});
|
|
881
881
|
const qe = (e) => {
|
|
882
|
-
const { blockProps: t, fieldName: l, label: o, styles: a, inputStyles: r, checked: n, required:
|
|
883
|
-
return
|
|
884
|
-
/* @__PURE__ */ s.jsx("input", { ...r, name: l, id:
|
|
885
|
-
o && /* @__PURE__ */ s.jsx("label", { htmlFor:
|
|
882
|
+
const { blockProps: t, fieldName: l, label: o, styles: a, inputStyles: r, checked: n, required: i, showLabel: p = !0 } = e, m = x();
|
|
883
|
+
return p ? /* @__PURE__ */ s.jsxs("div", { ...a, ...t, children: [
|
|
884
|
+
/* @__PURE__ */ s.jsx("input", { ...r, name: l, id: m, type: "radio", required: i, defaultChecked: n }),
|
|
885
|
+
o && /* @__PURE__ */ s.jsx("label", { htmlFor: m, children: o })
|
|
886
886
|
] }) : /* @__PURE__ */ s.jsx(
|
|
887
887
|
"input",
|
|
888
888
|
{
|
|
889
|
-
id:
|
|
889
|
+
id: m,
|
|
890
890
|
...t,
|
|
891
891
|
...r,
|
|
892
892
|
...a,
|
|
893
893
|
type: "radio",
|
|
894
|
-
required:
|
|
894
|
+
required: i,
|
|
895
895
|
checked: n,
|
|
896
896
|
name: l
|
|
897
897
|
}
|
|
@@ -905,7 +905,7 @@ u(qe, {
|
|
|
905
905
|
group: "form",
|
|
906
906
|
hidden: !0,
|
|
907
907
|
props: {
|
|
908
|
-
styles:
|
|
908
|
+
styles: c({ default: "flex items-center w-max gap-x-2" }),
|
|
909
909
|
fieldName: f({ title: "Field Name", default: "radio" }),
|
|
910
910
|
label: f({ title: "Label", default: "Label" }),
|
|
911
911
|
checked: h({ title: "Checked", default: !1 }),
|
|
@@ -920,20 +920,20 @@ const ze = (e) => {
|
|
|
920
920
|
placeholder: a,
|
|
921
921
|
styles: r,
|
|
922
922
|
inputStyles: n,
|
|
923
|
-
required:
|
|
924
|
-
showLabel:
|
|
925
|
-
_multiple:
|
|
923
|
+
required: i,
|
|
924
|
+
showLabel: p,
|
|
925
|
+
_multiple: m = !1
|
|
926
926
|
} = e, b = x();
|
|
927
|
-
return
|
|
928
|
-
|
|
927
|
+
return p ? /* @__PURE__ */ s.jsxs("div", { ...r, children: [
|
|
928
|
+
p && /* @__PURE__ */ s.jsx("label", { htmlFor: b, children: o }),
|
|
929
929
|
/* @__PURE__ */ s.jsxs(
|
|
930
930
|
"select",
|
|
931
931
|
{
|
|
932
932
|
...n,
|
|
933
933
|
id: b,
|
|
934
934
|
placeholder: a,
|
|
935
|
-
required:
|
|
936
|
-
multiple:
|
|
935
|
+
required: i,
|
|
936
|
+
multiple: m,
|
|
937
937
|
name: l,
|
|
938
938
|
children: [
|
|
939
939
|
/* @__PURE__ */ s.jsx("option", { value: "", disabled: !0, selected: !0, hidden: !0, children: a }),
|
|
@@ -956,8 +956,8 @@ const ze = (e) => {
|
|
|
956
956
|
...r,
|
|
957
957
|
...t,
|
|
958
958
|
placeholder: a,
|
|
959
|
-
required:
|
|
960
|
-
multiple:
|
|
959
|
+
required: i,
|
|
960
|
+
multiple: m,
|
|
961
961
|
name: l,
|
|
962
962
|
children: [
|
|
963
963
|
/* @__PURE__ */ s.jsx("option", { value: "", disabled: !0, selected: !0, hidden: !0, children: a }),
|
|
@@ -982,10 +982,10 @@ u(ze, {
|
|
|
982
982
|
group: "form",
|
|
983
983
|
hidden: !0,
|
|
984
984
|
props: {
|
|
985
|
-
styles:
|
|
985
|
+
styles: c({ default: "" }),
|
|
986
986
|
fieldName: f({ title: "Field Name", default: "select" }),
|
|
987
987
|
showLabel: h({ title: "Show label", default: !0 }),
|
|
988
|
-
inputStyles:
|
|
988
|
+
inputStyles: c({ default: "w-full p-1" }),
|
|
989
989
|
label: f({ title: "Label", default: "Label" }),
|
|
990
990
|
placeholder: f({
|
|
991
991
|
title: "Placeholder",
|
|
@@ -1003,20 +1003,20 @@ u(ze, {
|
|
|
1003
1003
|
}
|
|
1004
1004
|
});
|
|
1005
1005
|
const Oe = (e) => {
|
|
1006
|
-
const { blockProps: t, fieldName: l, label: o, placeholder: a, styles: r, inputStyles: n, _rows:
|
|
1007
|
-
return
|
|
1008
|
-
|
|
1009
|
-
/* @__PURE__ */ s.jsx("textarea", { name: l, ...n, id:
|
|
1006
|
+
const { blockProps: t, fieldName: l, label: o, placeholder: a, styles: r, inputStyles: n, _rows: i, showLabel: p } = e, m = x();
|
|
1007
|
+
return p ? /* @__PURE__ */ s.jsxs("div", { ...r, ...t, children: [
|
|
1008
|
+
p && /* @__PURE__ */ s.jsx("label", { htmlFor: m, children: o }),
|
|
1009
|
+
/* @__PURE__ */ s.jsx("textarea", { name: l, ...n, id: m, placeholder: a, rows: i })
|
|
1010
1010
|
] }) : /* @__PURE__ */ s.jsx(
|
|
1011
1011
|
"textarea",
|
|
1012
1012
|
{
|
|
1013
|
-
id:
|
|
1013
|
+
id: m,
|
|
1014
1014
|
name: l,
|
|
1015
1015
|
...t,
|
|
1016
1016
|
...n,
|
|
1017
1017
|
...r,
|
|
1018
1018
|
placeholder: a,
|
|
1019
|
-
rows:
|
|
1019
|
+
rows: i
|
|
1020
1020
|
}
|
|
1021
1021
|
);
|
|
1022
1022
|
};
|
|
@@ -1030,8 +1030,8 @@ u(Oe, {
|
|
|
1030
1030
|
props: {
|
|
1031
1031
|
fieldName: f({ title: "Field Name", default: "textarea" }),
|
|
1032
1032
|
showLabel: h({ title: "Show label", default: !0 }),
|
|
1033
|
-
styles:
|
|
1034
|
-
inputStyles:
|
|
1033
|
+
styles: c({ default: "" }),
|
|
1034
|
+
inputStyles: c({ default: "w-full p-1" }),
|
|
1035
1035
|
label: f({ title: "Label", default: "Label" }),
|
|
1036
1036
|
placeholder: f({
|
|
1037
1037
|
title: "Placeholder",
|