@chaibuilder/sdk 1.0.15 → 1.0.16
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/{BrandingOptions-_Og7VUHA.js → BrandingOptions-ZfGlHDQN.js} +1 -1
- package/dist/{BrandingOptions-WSCFnWAf.cjs → BrandingOptions-qLROZ5_E.cjs} +1 -1
- package/dist/{CanvasArea-hT9uHhkz.cjs → CanvasArea-970i3vfn.cjs} +1 -1
- package/dist/{CanvasArea-cky_d2Lu.js → CanvasArea-tngPDKeT.js} +2 -2
- package/dist/{CurrentPage--OlBwyNE.js → CurrentPage-CMfaRNdW.js} +2 -2
- package/dist/{CurrentPage-x6Ez11gP.cjs → CurrentPage-ChffzjTI.cjs} +1 -1
- package/dist/{Layers-gEA0qWYP.cjs → Layers-GkcHf9zi.cjs} +1 -1
- package/dist/{Layers-uzA3QA-4.js → Layers-uB7ROW-2.js} +2 -2
- package/dist/{PagesPanel-tH6c9Mnv.js → PagesPanel-DVZ90k1Y.js} +4 -4
- package/dist/{PagesPanel-5t0bV9T2.cjs → PagesPanel-ZhyfEOgv.cjs} +1 -1
- package/dist/{ProjectPanel-NdrR6a8t.cjs → ProjectPanel-8oW-gW5l.cjs} +1 -1
- package/dist/{ProjectPanel-Q2-15-In.js → ProjectPanel-WCQDwngA.js} +3 -3
- package/dist/{Settings-LOqpvQ_1.js → Settings-7Km8_Iba.js} +2 -2
- package/dist/{Settings-DBiwm1hY.cjs → Settings-CLiAR8FT.cjs} +1 -1
- package/dist/{SidePanels-8JWYXGqN.cjs → SidePanels-D7Jota-n.cjs} +1 -1
- package/dist/{SidePanels-F7ccs2Xf.js → SidePanels-_2og328o.js} +3 -3
- package/dist/{add-page-modal-tIt3N8jH.cjs → add-page-modal-OBghcP4h.cjs} +1 -1
- package/dist/{add-page-modal-U5ramelz.js → add-page-modal-PsNV4j42.js} +2 -2
- package/dist/core.cjs +1 -1
- package/dist/core.js +3 -3
- package/dist/{delete-page-modal-_E87bVUZ.js → delete-page-modal-5QqRuat8.js} +2 -2
- package/dist/{delete-page-modal-5XuSfQT0.cjs → delete-page-modal-niJTfDhl.cjs} +1 -1
- package/dist/{index-_jFEo7h5.cjs → index-3_eUgIcu.cjs} +2 -2
- package/dist/{index-cU5eyVRU.js → index-X20Fx8GF.js} +3 -3
- package/dist/index-aGgHTZqR.cjs +9 -0
- package/dist/{index-RVm8Txnj.js → index-yWvUd-lf.js} +354 -314
- package/dist/{page-viewer-nLqIs_9w.js → page-viewer-_Sx79O1c.js} +3 -3
- package/dist/{page-viewer-BSc-5M4B.cjs → page-viewer-vgt_sF5B.cjs} +1 -1
- package/dist/{project-general-setting-kXh5myAr.js → project-general-setting-d4UJ9Xsf.js} +2 -2
- package/dist/{project-general-setting-14MA_cX5.cjs → project-general-setting-isR_XMTY.cjs} +1 -1
- package/dist/{project-seo-setting-nT1qo1Bb.js → project-seo-setting-FpCjw-1j.js} +2 -2
- package/dist/{project-seo-setting-POGPEJZ8.cjs → project-seo-setting-tUM5Jqki.cjs} +1 -1
- package/dist/render.cjs +1 -1
- package/dist/render.js +1 -1
- package/dist/{single-page-detail-fV-A6vJR.js → single-page-detail-Ajzk6Hdb.js} +3 -3
- package/dist/{single-page-detail-EgQd9TSA.cjs → single-page-detail-nAykBmpV.cjs} +1 -1
- package/dist/studio.cjs +1 -1
- package/dist/studio.js +3 -3
- package/package.json +1 -1
- package/dist/index-m2muA80V.cjs +0 -9
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import { j as n } from "./jsx-runtime-qAwJ85SY.js";
|
|
1
2
|
import * as u from "react";
|
|
2
|
-
import {
|
|
3
|
-
import { get as b, omit as T, isNull as re, isEmpty as I, map as _ } from "lodash";
|
|
3
|
+
import { get as b, omit as I, isEmpty as v, isNull as A, map as _ } from "lodash";
|
|
4
4
|
import { f as d } from "./index-gmZcUXyn.js";
|
|
5
|
-
import {
|
|
5
|
+
import { PlusCircledIcon as F, HeadingIcon as $, TextIcon as D, CursorTextIcon as O, ButtonIcon as N, Link1Icon as z, RowsIcon as V, ColumnsIcon as U, SketchLogoIcon as G, ImageIcon as W, VideoIcon as Y, CodeIcon as X, DividerHorizontalIcon as Z, SpaceBetweenVerticallyIcon as M, TableIcon as K, BorderTopIcon as J, BorderAllIcon as Q, ViewHorizontalIcon as ee, DragHandleHorizontalIcon as te, GroupIcon as le, LetterCaseToggleIcon as ae, InputIcon as R, DropdownMenuIcon as oe, CheckboxIcon as re, RadiobuttonIcon as ne } from "@radix-ui/react-icons";
|
|
6
6
|
import "./lib.js";
|
|
7
|
-
import { b as
|
|
8
|
-
const
|
|
7
|
+
import { b as w, d as k } from "./Class-nQk08vqd.js";
|
|
8
|
+
const ie = "#styles:";
|
|
9
9
|
const m = (e) => ({
|
|
10
10
|
type: "singular",
|
|
11
11
|
default: e.default || "",
|
|
@@ -15,12 +15,12 @@ const m = (e) => ({
|
|
|
15
15
|
required: e.required || !1,
|
|
16
16
|
schema: {
|
|
17
17
|
type: "string",
|
|
18
|
-
...
|
|
18
|
+
...I(e, ["i18n", "required"])
|
|
19
19
|
},
|
|
20
20
|
uiSchema: {
|
|
21
21
|
"ui:placeholder": e.placeholder || "Enter here"
|
|
22
22
|
}
|
|
23
|
-
}),
|
|
23
|
+
}), B = (e) => ({
|
|
24
24
|
type: "singular",
|
|
25
25
|
default: e.default || "",
|
|
26
26
|
binding: b(e, "binding", !0),
|
|
@@ -29,7 +29,7 @@ const m = (e) => ({
|
|
|
29
29
|
required: e.required || !1,
|
|
30
30
|
schema: {
|
|
31
31
|
type: "string",
|
|
32
|
-
...
|
|
32
|
+
...I(e, ["i18n", "required", "rows"])
|
|
33
33
|
},
|
|
34
34
|
uiSchema: {
|
|
35
35
|
"ui:widget": "textarea",
|
|
@@ -38,7 +38,7 @@ const m = (e) => ({
|
|
|
38
38
|
rows: e.rows || 4
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
|
-
}),
|
|
41
|
+
}), h = (e) => ({
|
|
42
42
|
type: "singular",
|
|
43
43
|
i18n: e.i18n || !1,
|
|
44
44
|
default: e.default || !1,
|
|
@@ -46,7 +46,7 @@ const m = (e) => ({
|
|
|
46
46
|
binding: b(e, "binding", !0),
|
|
47
47
|
schema: {
|
|
48
48
|
type: "boolean",
|
|
49
|
-
...
|
|
49
|
+
...I(e, ["i18n", "required"])
|
|
50
50
|
},
|
|
51
51
|
uiSchema: {
|
|
52
52
|
"ui:title": e.title || "Select Item",
|
|
@@ -61,10 +61,10 @@ const m = (e) => ({
|
|
|
61
61
|
required: e.required || !1,
|
|
62
62
|
schema: {
|
|
63
63
|
type: "number",
|
|
64
|
-
...
|
|
64
|
+
...I(e, ["i18n", "required"])
|
|
65
65
|
},
|
|
66
66
|
uiSchema: {}
|
|
67
|
-
}),
|
|
67
|
+
}), L = (e) => ({
|
|
68
68
|
type: "singular",
|
|
69
69
|
default: e.default || "",
|
|
70
70
|
binding: b(e, "binding", !0),
|
|
@@ -73,13 +73,13 @@ const m = (e) => ({
|
|
|
73
73
|
dataType: "string",
|
|
74
74
|
schema: {
|
|
75
75
|
type: "string",
|
|
76
|
-
...
|
|
76
|
+
...I(e, ["i18n", "required", "options", "binding"]),
|
|
77
77
|
oneOf: e.options.map((t) => ({ const: t.value, title: t.title }))
|
|
78
78
|
},
|
|
79
79
|
uiSchema: {
|
|
80
80
|
"ui:widget": "select"
|
|
81
81
|
}
|
|
82
|
-
}),
|
|
82
|
+
}), Ye = (e) => ({
|
|
83
83
|
type: "singular",
|
|
84
84
|
i18n: e.i18n || !1,
|
|
85
85
|
default: e.default || "",
|
|
@@ -87,13 +87,13 @@ const m = (e) => ({
|
|
|
87
87
|
dataType: "string",
|
|
88
88
|
schema: {
|
|
89
89
|
type: "string",
|
|
90
|
-
...
|
|
90
|
+
...I(e, ["i18n", "required"])
|
|
91
91
|
},
|
|
92
92
|
uiSchema: {
|
|
93
93
|
"ui:widget": "color"
|
|
94
94
|
}
|
|
95
95
|
});
|
|
96
|
-
const
|
|
96
|
+
const T = (e) => ({
|
|
97
97
|
type: "singular",
|
|
98
98
|
default: e.default || "",
|
|
99
99
|
i18n: e.i18n || !1,
|
|
@@ -101,19 +101,19 @@ const L = (e) => ({
|
|
|
101
101
|
dataType: "string",
|
|
102
102
|
schema: {
|
|
103
103
|
type: "string",
|
|
104
|
-
...
|
|
104
|
+
...I(e, ["i18n", "required"])
|
|
105
105
|
},
|
|
106
106
|
uiSchema: {
|
|
107
107
|
"ui:widget": "richtext"
|
|
108
108
|
}
|
|
109
|
-
}),
|
|
109
|
+
}), ce = (e) => ({
|
|
110
110
|
type: "model",
|
|
111
111
|
title: e.title,
|
|
112
112
|
dataType: "object",
|
|
113
113
|
default: e.default || {},
|
|
114
114
|
binding: b(e, "binding", !0),
|
|
115
115
|
properties: e.properties
|
|
116
|
-
}),
|
|
116
|
+
}), de = (e) => ({
|
|
117
117
|
type: "list",
|
|
118
118
|
itemProperties: e.itemProperties,
|
|
119
119
|
binding: b(e, "binding", !0),
|
|
@@ -124,8 +124,8 @@ const L = (e) => ({
|
|
|
124
124
|
}), c = (e) => ({
|
|
125
125
|
type: "styles",
|
|
126
126
|
binding: !1,
|
|
127
|
-
default: `${
|
|
128
|
-
}),
|
|
127
|
+
default: `${ie},${e.default || ""}`
|
|
128
|
+
}), j = (e) => ({
|
|
129
129
|
default: e.default || "",
|
|
130
130
|
binding: b(e, "binding", !0),
|
|
131
131
|
type: "singular",
|
|
@@ -157,7 +157,7 @@ const L = (e) => ({
|
|
|
157
157
|
uiSchema: {
|
|
158
158
|
"ui:field": "link"
|
|
159
159
|
}
|
|
160
|
-
}),
|
|
160
|
+
}), q = (e) => ({
|
|
161
161
|
type: "singular",
|
|
162
162
|
default: e.default || "",
|
|
163
163
|
binding: b(e, "binding", !0),
|
|
@@ -165,27 +165,79 @@ const L = (e) => ({
|
|
|
165
165
|
i18n: e.i18n || !1,
|
|
166
166
|
schema: {
|
|
167
167
|
type: "string",
|
|
168
|
-
...
|
|
168
|
+
...I(e, ["i18n", "required"])
|
|
169
169
|
},
|
|
170
170
|
uiSchema: {
|
|
171
171
|
"ui:widget": "image"
|
|
172
172
|
}
|
|
173
|
-
}),
|
|
174
|
-
|
|
175
|
-
|
|
173
|
+
}), x = ({ blockProps: e, className: t = "", text: l = "BLOCK", styles: a = {} }) => /* @__PURE__ */ n.jsx(
|
|
174
|
+
"div",
|
|
175
|
+
{
|
|
176
|
+
...e,
|
|
177
|
+
className: w("flex h-20 flex-col items-center justify-center", t),
|
|
178
|
+
...I(a, ["className"]),
|
|
179
|
+
children: /* @__PURE__ */ n.jsx("div", { className: "flex h-full w-full items-center justify-center bg-[radial-gradient(#CCC,transparent_1.5px)] outline-dashed outline-2 outline-gray-400 duration-300 [background-size:12px_12px] dark:bg-[radial-gradient(#AAA,transparent_1.5px)]", children: /* @__PURE__ */ n.jsxs("span", { className: "opacit flex items-center gap-x-1.5 text-xs font-semibold text-gray-400", children: [
|
|
180
|
+
/* @__PURE__ */ n.jsx(F, { className: "w-3 h-3" }),
|
|
181
|
+
" ADD ",
|
|
182
|
+
l
|
|
183
|
+
] }) })
|
|
184
|
+
}
|
|
185
|
+
), ue = (e) => {
|
|
186
|
+
const { blockProps: t, backgroundImage: l, children: a, tag: o = "div", styles: r } = e;
|
|
187
|
+
if (!a && v(r == null ? void 0 : r.className))
|
|
188
|
+
return /* @__PURE__ */ n.jsx(x, { blockProps: t, styles: r });
|
|
189
|
+
let i = {};
|
|
190
|
+
return l && (i = { backgroundImage: `url(${l})` }), u.createElement(o, { ...t, ...r, style: i }, a);
|
|
191
|
+
};
|
|
192
|
+
d(ue, {
|
|
193
|
+
type: "Box",
|
|
194
|
+
label: "Box",
|
|
195
|
+
category: "core",
|
|
196
|
+
group: "basic",
|
|
197
|
+
props: {
|
|
198
|
+
styles: c({ default: "" }),
|
|
199
|
+
tag: L({
|
|
200
|
+
title: "Tag",
|
|
201
|
+
default: "div",
|
|
202
|
+
options: [
|
|
203
|
+
{ value: "div", title: "div" },
|
|
204
|
+
{ value: "header", title: "header" },
|
|
205
|
+
{ value: "footer", title: "footer" },
|
|
206
|
+
{ value: "section", title: "section" },
|
|
207
|
+
{ value: "article", title: "article" },
|
|
208
|
+
{ value: "aside", title: "aside" },
|
|
209
|
+
{ value: "main", title: "main" },
|
|
210
|
+
{ value: "nav", title: "nav" },
|
|
211
|
+
{ value: "figure", title: "figure" },
|
|
212
|
+
{ value: "details", title: "details" },
|
|
213
|
+
{ value: "summary", title: "summary" },
|
|
214
|
+
{ value: "dialog", title: "dialog" },
|
|
215
|
+
{ value: "strike", title: "strike" },
|
|
216
|
+
{ value: "caption", title: "caption" },
|
|
217
|
+
{ value: "legend", title: "legend" },
|
|
218
|
+
{ value: "figcaption", title: "figcaption" },
|
|
219
|
+
{ value: "mark", title: "mark" }
|
|
220
|
+
]
|
|
221
|
+
}),
|
|
222
|
+
backgroundImage: q({ title: "Background Image" })
|
|
223
|
+
}
|
|
224
|
+
});
|
|
225
|
+
const pe = (e) => {
|
|
226
|
+
const { blockProps: t, styles: l, content: a, level: o = "h1", children: r = null } = e;
|
|
227
|
+
return r ? u.createElement(o, { ...l, ...t }, r) : u.createElement(o, {
|
|
176
228
|
...l,
|
|
177
229
|
...t,
|
|
178
|
-
dangerouslySetInnerHTML: { __html:
|
|
230
|
+
dangerouslySetInnerHTML: { __html: a }
|
|
179
231
|
});
|
|
180
232
|
};
|
|
181
|
-
d(
|
|
233
|
+
d(pe, {
|
|
182
234
|
type: "Heading",
|
|
183
235
|
label: "Heading",
|
|
184
236
|
category: "core",
|
|
185
|
-
icon:
|
|
237
|
+
icon: $,
|
|
186
238
|
group: "basic",
|
|
187
239
|
props: {
|
|
188
|
-
level:
|
|
240
|
+
level: L({
|
|
189
241
|
title: "Level",
|
|
190
242
|
default: "h1",
|
|
191
243
|
binding: !1,
|
|
@@ -199,44 +251,44 @@ d(ue, {
|
|
|
199
251
|
]
|
|
200
252
|
}),
|
|
201
253
|
styles: c({ default: "text-3xl" }),
|
|
202
|
-
content:
|
|
254
|
+
content: T({ title: "Content", default: "Heading goes here" })
|
|
203
255
|
}
|
|
204
256
|
});
|
|
205
|
-
const
|
|
206
|
-
const { blockProps: t, styles: l, content:
|
|
207
|
-
return
|
|
257
|
+
const me = (e) => {
|
|
258
|
+
const { blockProps: t, styles: l, content: a } = e;
|
|
259
|
+
return A(e.children) ? u.createElement("div", {
|
|
208
260
|
...l,
|
|
209
261
|
...t,
|
|
210
|
-
dangerouslySetInnerHTML: { __html:
|
|
262
|
+
dangerouslySetInnerHTML: { __html: a }
|
|
211
263
|
}) : u.createElement("p", { ...l, ...t }, e.children);
|
|
212
264
|
};
|
|
213
|
-
d(
|
|
265
|
+
d(me, {
|
|
214
266
|
type: "Paragraph",
|
|
215
267
|
label: "Paragraph",
|
|
216
268
|
category: "core",
|
|
217
|
-
icon:
|
|
269
|
+
icon: D,
|
|
218
270
|
group: "basic",
|
|
219
271
|
props: {
|
|
220
272
|
styles: c({ default: "" }),
|
|
221
|
-
content:
|
|
273
|
+
content: T({
|
|
222
274
|
title: "Content",
|
|
223
275
|
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."
|
|
224
276
|
})
|
|
225
277
|
}
|
|
226
278
|
});
|
|
227
|
-
const
|
|
228
|
-
const { blockProps: t, content: l, styles:
|
|
229
|
-
return /* @__PURE__ */
|
|
279
|
+
const fe = (e) => {
|
|
280
|
+
const { blockProps: t, content: l, styles: a } = e;
|
|
281
|
+
return /* @__PURE__ */ n.jsx("div", { className: "prose max-w-full", children: /* @__PURE__ */ n.jsx("div", { ...t, ...a, dangerouslySetInnerHTML: { __html: l } }) });
|
|
230
282
|
};
|
|
231
|
-
d(
|
|
283
|
+
d(fe, {
|
|
232
284
|
type: "RichText",
|
|
233
285
|
label: "Rich Text",
|
|
234
286
|
category: "core",
|
|
235
|
-
icon:
|
|
287
|
+
icon: O,
|
|
236
288
|
group: "basic",
|
|
237
289
|
props: {
|
|
238
290
|
styles: c({ default: "" }),
|
|
239
|
-
content:
|
|
291
|
+
content: T({
|
|
240
292
|
title: "Content",
|
|
241
293
|
default: `Lorem Ipsum Rich Text Editor Demo
|
|
242
294
|
|
|
@@ -250,14 +302,14 @@ Utilize nested lists for organization.`
|
|
|
250
302
|
})
|
|
251
303
|
}
|
|
252
304
|
});
|
|
253
|
-
const
|
|
254
|
-
const { blockProps: t, icon: l, content:
|
|
255
|
-
|
|
256
|
-
l && /* @__PURE__ */
|
|
305
|
+
const ye = (e) => {
|
|
306
|
+
const { blockProps: t, icon: l, content: a, iconPos: o, styles: r, children: i } = e, s = i || /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
307
|
+
a,
|
|
308
|
+
l && /* @__PURE__ */ n.jsx("span", { className: o || "", dangerouslySetInnerHTML: { __html: l } })
|
|
257
309
|
] });
|
|
258
|
-
return u.createElement("button", { ...t, ...r, type: "button" },
|
|
310
|
+
return u.createElement("button", { ...t, ...r, type: "button" }, s);
|
|
259
311
|
};
|
|
260
|
-
d(
|
|
312
|
+
d(ye, {
|
|
261
313
|
type: "Button",
|
|
262
314
|
label: "Button",
|
|
263
315
|
category: "core",
|
|
@@ -276,8 +328,8 @@ d(fe, {
|
|
|
276
328
|
title: "Link",
|
|
277
329
|
default: { type: "page", href: "", target: "_blank" }
|
|
278
330
|
}),
|
|
279
|
-
icon:
|
|
280
|
-
iconPos:
|
|
331
|
+
icon: j({ title: "Icon", default: "" }),
|
|
332
|
+
iconPos: L({
|
|
281
333
|
title: "Icon Position",
|
|
282
334
|
default: "order-last",
|
|
283
335
|
options: [
|
|
@@ -287,40 +339,28 @@ d(fe, {
|
|
|
287
339
|
})
|
|
288
340
|
}
|
|
289
341
|
});
|
|
290
|
-
const
|
|
291
|
-
|
|
292
|
-
{
|
|
293
|
-
...e,
|
|
294
|
-
className: v("flex h-20 flex-col items-center justify-center", t),
|
|
295
|
-
...T(o, ["className"]),
|
|
296
|
-
children: /* @__PURE__ */ a.jsx("div", { className: "flex h-full w-full items-center justify-center bg-[radial-gradient(#CCC,transparent_1.5px)] outline-dashed outline-2 outline-gray-400 duration-300 [background-size:12px_12px] dark:bg-[radial-gradient(#AAA,transparent_1.5px)]", children: /* @__PURE__ */ a.jsxs("span", { className: "opacit flex items-center gap-x-1.5 text-xs font-semibold text-gray-400", children: [
|
|
297
|
-
/* @__PURE__ */ a.jsx($, { className: "w-3 h-3" }),
|
|
298
|
-
" ADD ",
|
|
299
|
-
l
|
|
300
|
-
] }) })
|
|
301
|
-
}
|
|
302
|
-
), ye = (e) => {
|
|
303
|
-
const { blockProps: t, link: l, children: o, styles: n, inBuilder: r, content: s } = e;
|
|
304
|
-
return !o && I(n == null ? void 0 : n.className) && I(s) ? /* @__PURE__ */ a.jsx(k, { blockProps: t }) : r ? o ? /* @__PURE__ */ a.jsx("span", { "data-simulate": "a", ...t, ...n, children: o }) : u.createElement("span", {
|
|
342
|
+
const be = (e) => {
|
|
343
|
+
const { blockProps: t, link: l, children: a, styles: o, inBuilder: r, content: i } = e;
|
|
344
|
+
return !a && v(o == null ? void 0 : o.className) && v(i) ? /* @__PURE__ */ n.jsx(x, { blockProps: t }) : r ? a ? /* @__PURE__ */ n.jsx("span", { "data-simulate": "a", ...t, ...o, children: a }) : u.createElement("span", {
|
|
305
345
|
...t,
|
|
306
|
-
...
|
|
346
|
+
...o,
|
|
307
347
|
href: l.href || "#",
|
|
308
348
|
target: l.target || "_self",
|
|
309
|
-
dangerouslySetInnerHTML: { __html:
|
|
349
|
+
dangerouslySetInnerHTML: { __html: i },
|
|
310
350
|
"data-simulate": "a"
|
|
311
|
-
}) :
|
|
351
|
+
}) : a ? /* @__PURE__ */ n.jsx("a", { href: l.href || "#/", target: l.target, ...t, ...o, children: a }) : u.createElement("a", {
|
|
312
352
|
...t,
|
|
313
|
-
...
|
|
353
|
+
...o,
|
|
314
354
|
href: l.href || "#",
|
|
315
355
|
target: l.target || "_self",
|
|
316
|
-
dangerouslySetInnerHTML: { __html:
|
|
356
|
+
dangerouslySetInnerHTML: { __html: i }
|
|
317
357
|
});
|
|
318
358
|
};
|
|
319
|
-
d(
|
|
359
|
+
d(be, {
|
|
320
360
|
type: "Link",
|
|
321
361
|
label: "Link",
|
|
322
362
|
category: "core",
|
|
323
|
-
icon:
|
|
363
|
+
icon: z,
|
|
324
364
|
group: "basic",
|
|
325
365
|
props: {
|
|
326
366
|
styles: c({ default: "" }),
|
|
@@ -331,23 +371,23 @@ d(ye, {
|
|
|
331
371
|
})
|
|
332
372
|
}
|
|
333
373
|
});
|
|
334
|
-
const
|
|
335
|
-
const { blockProps: t, children: l, listType:
|
|
336
|
-
return !l &&
|
|
337
|
-
r || (
|
|
338
|
-
{ ...t, ...
|
|
374
|
+
const ge = (e) => {
|
|
375
|
+
const { blockProps: t, children: l, listType: a, styles: o, tag: r } = e, i = w(b(o, "className", ""), a);
|
|
376
|
+
return !l && v(o == null ? void 0 : o.className) ? /* @__PURE__ */ n.jsx(x, { blockProps: t, text: "LIST ITEM" }) : u.createElement(
|
|
377
|
+
r || (a === "list-decimal" ? "ol" : "ul"),
|
|
378
|
+
{ ...t, ...o, className: i },
|
|
339
379
|
l
|
|
340
380
|
);
|
|
341
381
|
};
|
|
342
|
-
d(
|
|
382
|
+
d(ge, {
|
|
343
383
|
type: "List",
|
|
344
384
|
label: "List",
|
|
345
|
-
icon:
|
|
385
|
+
icon: V,
|
|
346
386
|
category: "core",
|
|
347
387
|
group: "basic",
|
|
348
388
|
props: {
|
|
349
389
|
styles: c({ default: "" }),
|
|
350
|
-
listType:
|
|
390
|
+
listType: L({
|
|
351
391
|
title: "List type",
|
|
352
392
|
default: "list-disc",
|
|
353
393
|
options: [
|
|
@@ -383,9 +423,9 @@ d(be, {
|
|
|
383
423
|
]
|
|
384
424
|
});
|
|
385
425
|
const he = (e) => {
|
|
386
|
-
const { blockProps: t, content: l, styles:
|
|
387
|
-
return
|
|
388
|
-
...
|
|
426
|
+
const { blockProps: t, content: l, styles: a, children: o, tag: r } = e;
|
|
427
|
+
return o ? u.createElement(r || "li", { ...a, ...t }, o) : u.createElement(r || "li", {
|
|
428
|
+
...a,
|
|
389
429
|
...t,
|
|
390
430
|
dangerouslySetInnerHTML: { __html: l }
|
|
391
431
|
});
|
|
@@ -393,59 +433,59 @@ const he = (e) => {
|
|
|
393
433
|
d(he, {
|
|
394
434
|
type: "ListItem",
|
|
395
435
|
label: "List Item",
|
|
396
|
-
icon:
|
|
436
|
+
icon: U,
|
|
397
437
|
category: "core",
|
|
398
438
|
group: "basic",
|
|
399
439
|
props: {
|
|
400
440
|
styles: c({ default: "" }),
|
|
401
|
-
content:
|
|
441
|
+
content: T({ title: "Content", default: "List item" })
|
|
402
442
|
}
|
|
403
443
|
});
|
|
404
|
-
const
|
|
405
|
-
const { blockProps: t, icon: l, styles:
|
|
406
|
-
...
|
|
407
|
-
className:
|
|
444
|
+
const xe = (e) => {
|
|
445
|
+
const { blockProps: t, icon: l, styles: a } = e, o = {
|
|
446
|
+
...a,
|
|
447
|
+
className: w(a.className, "inline-block c-inline-block")
|
|
408
448
|
};
|
|
409
|
-
return
|
|
449
|
+
return v(l) ? /* @__PURE__ */ n.jsx(x, { blockProps: t, text: "", className: "h-8 w-14" }) : u.createElement("span", {
|
|
410
450
|
...t,
|
|
411
|
-
...
|
|
451
|
+
...o,
|
|
412
452
|
dangerouslySetInnerHTML: { __html: l }
|
|
413
453
|
});
|
|
414
454
|
};
|
|
415
|
-
d(
|
|
455
|
+
d(xe, {
|
|
416
456
|
type: "Icon",
|
|
417
457
|
label: "Icon",
|
|
418
458
|
category: "core",
|
|
419
|
-
icon:
|
|
459
|
+
icon: G,
|
|
420
460
|
group: "basic",
|
|
421
461
|
props: {
|
|
422
462
|
styles: c({ default: "text-black" }),
|
|
423
|
-
icon:
|
|
463
|
+
icon: j({
|
|
424
464
|
title: "Icon",
|
|
425
465
|
default: '<svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 16 16" height="1em" width="1em" 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>'
|
|
426
466
|
})
|
|
427
467
|
}
|
|
428
468
|
});
|
|
429
|
-
const
|
|
430
|
-
const { blockProps: t, image: l, styles:
|
|
431
|
-
return
|
|
469
|
+
const ke = (e) => {
|
|
470
|
+
const { blockProps: t, image: l, styles: a, alt: o, height: r = 200, width: i = 200 } = e;
|
|
471
|
+
return v(l) ? /* @__PURE__ */ n.jsx(x, { blockProps: t, text: "IMAGE URL", className: "h-36" }) : u.createElement("img", {
|
|
432
472
|
...t,
|
|
433
|
-
...
|
|
473
|
+
...a,
|
|
434
474
|
src: l,
|
|
435
|
-
alt:
|
|
475
|
+
alt: o,
|
|
436
476
|
height: r,
|
|
437
|
-
width:
|
|
477
|
+
width: i
|
|
438
478
|
});
|
|
439
479
|
};
|
|
440
|
-
d(
|
|
480
|
+
d(ke, {
|
|
441
481
|
type: "Image",
|
|
442
482
|
label: "Image",
|
|
443
483
|
category: "core",
|
|
444
|
-
icon:
|
|
484
|
+
icon: W,
|
|
445
485
|
group: "basic",
|
|
446
486
|
props: {
|
|
447
487
|
styles: c({ default: "" }),
|
|
448
|
-
image:
|
|
488
|
+
image: q({
|
|
449
489
|
title: "Image",
|
|
450
490
|
default: "https://fakeimg.pl/400x200?text=Choose&font=bebas"
|
|
451
491
|
}),
|
|
@@ -454,17 +494,17 @@ d(xe, {
|
|
|
454
494
|
height: m({ title: "Height", default: "" })
|
|
455
495
|
}
|
|
456
496
|
});
|
|
457
|
-
const
|
|
497
|
+
const ve = (e) => {
|
|
458
498
|
var r;
|
|
459
|
-
const { blockProps: t, styles: l, children:
|
|
460
|
-
let
|
|
461
|
-
return
|
|
462
|
-
/* @__PURE__ */
|
|
499
|
+
const { blockProps: t, styles: l, children: a } = e;
|
|
500
|
+
let o = null;
|
|
501
|
+
return a || (o = // @ts-ignore
|
|
502
|
+
/* @__PURE__ */ n.jsx("div", { className: w("flex flex-col items-center justify-center", (r = e.emptyStyles) == null ? void 0 : r.className), children: /* @__PURE__ */ n.jsx("div", { className: "h-full w-full rounded-md border-4 border-dashed", children: /* @__PURE__ */ n.jsxs("p", { className: "truncate p-1 text-left text-xs text-gray-400", children: [
|
|
463
503
|
"Slot: ",
|
|
464
504
|
e.name
|
|
465
|
-
] }) }) })), u.createElement("div", { ...l, ...t, droppable: "yes" },
|
|
505
|
+
] }) }) })), u.createElement("div", { ...l, ...t, droppable: "yes" }, a || o);
|
|
466
506
|
};
|
|
467
|
-
d(
|
|
507
|
+
d(ve, {
|
|
468
508
|
type: "Slot",
|
|
469
509
|
label: "Slot",
|
|
470
510
|
group: "basic",
|
|
@@ -490,16 +530,16 @@ const E = /^(https?:\/\/)?(www\.)?youtube\.com\/(watch\?v=|embed\/)([a-zA-Z0-9_-
|
|
|
490
530
|
}
|
|
491
531
|
return null;
|
|
492
532
|
}, Te = (e) => {
|
|
493
|
-
const { blockProps: t, styles: l, _url:
|
|
494
|
-
if (
|
|
495
|
-
return /* @__PURE__ */
|
|
496
|
-
let p = Ie(
|
|
533
|
+
const { blockProps: t, styles: l, _url: a, _controls: o } = e, r = o.autoPlay, i = o.controls, s = r || o.muted, f = o.loop;
|
|
534
|
+
if (v(a))
|
|
535
|
+
return /* @__PURE__ */ n.jsx(x, { blockProps: t, text: "VIDEO URL", className: "h-36" });
|
|
536
|
+
let p = Ie(a), g = null;
|
|
497
537
|
if (p) {
|
|
498
|
-
if (!
|
|
538
|
+
if (!v(p)) {
|
|
499
539
|
const y = [];
|
|
500
|
-
y.push(`autoplay=${r ? 1 : 0}`), y.push(`controls=${
|
|
540
|
+
y.push(`autoplay=${r ? 1 : 0}`), y.push(`controls=${i ? 1 : 0}`), y.push(`mute=${s ? 1 : 0}&muted=${s ? 1 : 0}`), y.push(`loop=${f ? 1 : 0}`), p = `${p}?${y.join("&")}`;
|
|
501
541
|
}
|
|
502
|
-
|
|
542
|
+
g = u.createElement("iframe", {
|
|
503
543
|
...t,
|
|
504
544
|
...l,
|
|
505
545
|
src: p,
|
|
@@ -508,25 +548,25 @@ const E = /^(https?:\/\/)?(www\.)?youtube\.com\/(watch\?v=|embed\/)([a-zA-Z0-9_-
|
|
|
508
548
|
frameBorder: 0
|
|
509
549
|
});
|
|
510
550
|
} else
|
|
511
|
-
|
|
551
|
+
g = u.createElement("video", {
|
|
512
552
|
...t,
|
|
513
553
|
...l,
|
|
514
|
-
src:
|
|
515
|
-
controls:
|
|
516
|
-
muted:
|
|
554
|
+
src: a,
|
|
555
|
+
controls: i,
|
|
556
|
+
muted: s,
|
|
517
557
|
autoPlay: r,
|
|
518
558
|
loop: f
|
|
519
559
|
});
|
|
520
|
-
return /* @__PURE__ */
|
|
521
|
-
/* @__PURE__ */
|
|
522
|
-
|
|
560
|
+
return /* @__PURE__ */ n.jsxs("div", { className: "relative overflow-hidden", style: { paddingBottom: "56.25%" }, children: [
|
|
561
|
+
/* @__PURE__ */ n.jsx("div", { className: "absolute h-full w-full" }),
|
|
562
|
+
g
|
|
523
563
|
] });
|
|
524
564
|
};
|
|
525
565
|
d(Te, {
|
|
526
566
|
type: "Video",
|
|
527
567
|
label: "Video",
|
|
528
568
|
category: "core",
|
|
529
|
-
icon:
|
|
569
|
+
icon: Y,
|
|
530
570
|
group: "basic",
|
|
531
571
|
props: {
|
|
532
572
|
styles: c({ default: "absolute top-0 left-0 w-full h-full" }),
|
|
@@ -534,34 +574,34 @@ d(Te, {
|
|
|
534
574
|
title: "Video URL",
|
|
535
575
|
default: "https://www.youtube.com/watch?v=9xwazD5SyVg&ab_channel=MaximilianMustermann"
|
|
536
576
|
}),
|
|
537
|
-
_controls:
|
|
577
|
+
_controls: ce({
|
|
538
578
|
title: "Controls",
|
|
539
579
|
properties: {
|
|
540
|
-
autoPlay:
|
|
541
|
-
controls:
|
|
542
|
-
loop:
|
|
543
|
-
muted:
|
|
580
|
+
autoPlay: h({ title: "Autoplay", default: !0 }),
|
|
581
|
+
controls: h({ title: "Show widgets", default: !1 }),
|
|
582
|
+
loop: h({ title: "Loop", default: !1 }),
|
|
583
|
+
muted: h({ title: "Muted", default: !0 })
|
|
544
584
|
}
|
|
545
585
|
})
|
|
546
586
|
}
|
|
547
587
|
});
|
|
548
588
|
const Le = (e) => {
|
|
549
|
-
const { blockProps: t, styles: l, content:
|
|
589
|
+
const { blockProps: t, styles: l, content: a } = e;
|
|
550
590
|
return u.createElement("div", {
|
|
551
591
|
...l,
|
|
552
592
|
...t,
|
|
553
|
-
dangerouslySetInnerHTML: { __html:
|
|
593
|
+
dangerouslySetInnerHTML: { __html: a }
|
|
554
594
|
});
|
|
555
595
|
};
|
|
556
596
|
d(Le, {
|
|
557
597
|
type: "CustomHTML",
|
|
558
598
|
label: "CustomHTML",
|
|
559
599
|
category: "core",
|
|
560
|
-
icon:
|
|
600
|
+
icon: X,
|
|
561
601
|
group: "basic",
|
|
562
602
|
props: {
|
|
563
603
|
styles: c({ default: "" }),
|
|
564
|
-
content:
|
|
604
|
+
content: B({
|
|
565
605
|
title: "HTML Content",
|
|
566
606
|
default: "",
|
|
567
607
|
placeholder: "Enter custom HTML code here"
|
|
@@ -569,11 +609,11 @@ d(Le, {
|
|
|
569
609
|
}
|
|
570
610
|
});
|
|
571
611
|
const we = (e) => {
|
|
572
|
-
const { blockProps: t, styles: l, content:
|
|
573
|
-
return
|
|
612
|
+
const { blockProps: t, styles: l, content: a, children: o = null, tag: r } = e;
|
|
613
|
+
return o ? u.createElement("span", { ...l, ...t }, o) : u.createElement(r || "span", {
|
|
574
614
|
...l,
|
|
575
615
|
...t,
|
|
576
|
-
dangerouslySetInnerHTML: { __html:
|
|
616
|
+
dangerouslySetInnerHTML: { __html: a }
|
|
577
617
|
});
|
|
578
618
|
};
|
|
579
619
|
d(we, {
|
|
@@ -583,28 +623,28 @@ d(we, {
|
|
|
583
623
|
group: "basic",
|
|
584
624
|
props: {
|
|
585
625
|
styles: c({ default: "" }),
|
|
586
|
-
content:
|
|
626
|
+
content: B({ title: "Content", default: "" })
|
|
587
627
|
}
|
|
588
628
|
});
|
|
589
|
-
const
|
|
629
|
+
const Se = (e) => {
|
|
590
630
|
const { blockProps: t, styles: l } = e;
|
|
591
631
|
return u.createElement("hr", { ...l, ...t });
|
|
592
632
|
};
|
|
593
|
-
d(
|
|
633
|
+
d(Se, {
|
|
594
634
|
type: "Divider",
|
|
595
635
|
label: "Divider",
|
|
596
636
|
category: "core",
|
|
597
|
-
icon:
|
|
637
|
+
icon: Z,
|
|
598
638
|
group: "basic",
|
|
599
639
|
props: {
|
|
600
640
|
styles: c({ default: "bg-gray-900 h-0.5 py-2 my-1" })
|
|
601
641
|
}
|
|
602
642
|
});
|
|
603
|
-
const
|
|
643
|
+
const _e = (e) => {
|
|
604
644
|
const { blockProps: t, styles: l } = e;
|
|
605
645
|
return u.createElement("br", { ...t, ...l });
|
|
606
646
|
};
|
|
607
|
-
d(
|
|
647
|
+
d(_e, {
|
|
608
648
|
type: "LineBreak",
|
|
609
649
|
label: "Line Break",
|
|
610
650
|
category: "core",
|
|
@@ -614,12 +654,12 @@ d(Se, {
|
|
|
614
654
|
styles: c({ default: "" })
|
|
615
655
|
}
|
|
616
656
|
});
|
|
617
|
-
const
|
|
657
|
+
const Be = (e) => e.inBuilder ? /* @__PURE__ */ n.jsxs("span", { ...e.blockProps, children: [
|
|
618
658
|
" ",
|
|
619
659
|
e.content,
|
|
620
660
|
" "
|
|
621
661
|
] }) : ` ${e.content} `;
|
|
622
|
-
d(
|
|
662
|
+
d(Be, {
|
|
623
663
|
type: "Text",
|
|
624
664
|
label: "Text",
|
|
625
665
|
hidden: !0,
|
|
@@ -627,164 +667,164 @@ d(_e, {
|
|
|
627
667
|
group: "basic",
|
|
628
668
|
icon: M,
|
|
629
669
|
props: {
|
|
630
|
-
content:
|
|
670
|
+
content: B({ title: "Content", defaultValue: "" })
|
|
631
671
|
}
|
|
632
672
|
});
|
|
633
673
|
const S = (e) => {
|
|
634
|
-
const t = (r,
|
|
635
|
-
_id:
|
|
674
|
+
const t = (r, i) => ({
|
|
675
|
+
_id: k(),
|
|
636
676
|
_parent: r,
|
|
637
677
|
_type: "TableCell",
|
|
638
678
|
styles: "#styles:,",
|
|
639
|
-
content: `${e === "TableHead" ? "Table Head" : "Table Cell " +
|
|
679
|
+
content: `${e === "TableHead" ? "Table Head" : "Table Cell " + i}`
|
|
640
680
|
}), l = (r) => {
|
|
641
|
-
const
|
|
681
|
+
const i = k(), s = {
|
|
642
682
|
_type: "TableRow",
|
|
643
|
-
_id:
|
|
683
|
+
_id: i,
|
|
644
684
|
styles: "#styles:,border-b"
|
|
645
685
|
};
|
|
646
|
-
return r && (
|
|
647
|
-
},
|
|
648
|
-
const
|
|
649
|
-
_id:
|
|
686
|
+
return r && (s._parent = r), [s, t(i, "1"), t(i, "2"), t(i, "3")];
|
|
687
|
+
}, a = (r) => {
|
|
688
|
+
const i = k(), s = {
|
|
689
|
+
_id: i,
|
|
650
690
|
_type: "TableHead",
|
|
651
691
|
styles: "#styles:,font-medium"
|
|
652
692
|
};
|
|
653
|
-
return r && (
|
|
654
|
-
},
|
|
655
|
-
const
|
|
656
|
-
_id:
|
|
693
|
+
return r && (s._parent = r), [s, ...l(i)];
|
|
694
|
+
}, o = (r) => {
|
|
695
|
+
const i = k(), s = {
|
|
696
|
+
_id: i,
|
|
657
697
|
_type: "TableBody",
|
|
658
698
|
styles: "#styles:,"
|
|
659
699
|
};
|
|
660
|
-
return r && (
|
|
700
|
+
return r && (s._parent = r), [s, ...l(i), ...l(i)];
|
|
661
701
|
};
|
|
662
702
|
if (e === "Table") {
|
|
663
|
-
const r =
|
|
703
|
+
const r = k();
|
|
664
704
|
return [
|
|
665
705
|
{
|
|
666
706
|
_id: r,
|
|
667
707
|
_type: "Table",
|
|
668
708
|
styles: "#styles:,w-full text-left text-gray-500 dark:text-gray-400"
|
|
669
709
|
},
|
|
670
|
-
...
|
|
671
|
-
...
|
|
710
|
+
...a(r),
|
|
711
|
+
...o(r)
|
|
672
712
|
];
|
|
673
713
|
}
|
|
674
|
-
return e === "TableRow" ? l() : e === "TableHead" ?
|
|
714
|
+
return e === "TableRow" ? l() : e === "TableHead" ? a() : e === "TableBody" ? o() : [];
|
|
675
715
|
}, je = (e) => {
|
|
676
|
-
const { blockProps: t, children: l, styles:
|
|
677
|
-
return l ? u.createElement("table", { ...t, ...
|
|
716
|
+
const { blockProps: t, children: l, styles: a } = e;
|
|
717
|
+
return l ? u.createElement("table", { ...t, ...a }, l) : /* @__PURE__ */ n.jsx(x, { blockProps: t, text: "TABLE HEAD / BODY" });
|
|
678
718
|
};
|
|
679
719
|
d(je, {
|
|
680
720
|
type: "Table",
|
|
681
721
|
label: "Table",
|
|
682
722
|
category: "core",
|
|
683
723
|
group: "table",
|
|
684
|
-
icon:
|
|
724
|
+
icon: K,
|
|
685
725
|
props: {
|
|
686
726
|
styles: c({ default: "" })
|
|
687
727
|
},
|
|
688
728
|
blocks: S("Table")
|
|
689
729
|
});
|
|
690
|
-
const
|
|
691
|
-
const { blockProps: t, children: l, styles:
|
|
692
|
-
return l ? u.createElement("thead", { ...t, ...
|
|
730
|
+
const Ee = (e) => {
|
|
731
|
+
const { blockProps: t, children: l, styles: a } = e;
|
|
732
|
+
return l ? u.createElement("thead", { ...t, ...a }, l) : /* @__PURE__ */ n.jsx(x, { blockProps: t, text: "TABLE ROW" });
|
|
693
733
|
};
|
|
694
|
-
d(
|
|
734
|
+
d(Ee, {
|
|
695
735
|
type: "TableHead",
|
|
696
736
|
label: "Table Head",
|
|
697
737
|
category: "core",
|
|
698
738
|
group: "table",
|
|
699
|
-
icon:
|
|
739
|
+
icon: J,
|
|
700
740
|
props: {
|
|
701
741
|
styles: c({ default: "" })
|
|
702
742
|
},
|
|
703
743
|
blocks: S("TableHead")
|
|
704
744
|
});
|
|
705
|
-
const
|
|
706
|
-
const { blockProps: t, children: l, styles:
|
|
707
|
-
return l ? u.createElement("tbody", { ...t, ...
|
|
745
|
+
const Pe = (e) => {
|
|
746
|
+
const { blockProps: t, children: l, styles: a } = e;
|
|
747
|
+
return l ? u.createElement("tbody", { ...t, ...a }, l) : /* @__PURE__ */ n.jsx(x, { blockProps: t, text: "TABLE ROW" });
|
|
708
748
|
};
|
|
709
|
-
d(
|
|
749
|
+
d(Pe, {
|
|
710
750
|
type: "TableBody",
|
|
711
751
|
label: "Table Body",
|
|
712
752
|
category: "core",
|
|
713
753
|
group: "table",
|
|
714
|
-
icon:
|
|
754
|
+
icon: Q,
|
|
715
755
|
props: {
|
|
716
756
|
styles: c({ default: "" })
|
|
717
757
|
},
|
|
718
758
|
blocks: S("TableBody")
|
|
719
759
|
});
|
|
720
|
-
const
|
|
721
|
-
const { blockProps: t, children: l, styles:
|
|
722
|
-
return l ? u.createElement("tr", { ...t, ...
|
|
760
|
+
const Ce = (e) => {
|
|
761
|
+
const { blockProps: t, children: l, styles: a } = e;
|
|
762
|
+
return l ? u.createElement("tr", { ...t, ...a }, l) : /* @__PURE__ */ n.jsx(x, { blockProps: t, text: "TABLE CELL" });
|
|
723
763
|
};
|
|
724
|
-
d(
|
|
764
|
+
d(Ce, {
|
|
725
765
|
type: "TableRow",
|
|
726
766
|
label: "Table Row",
|
|
727
767
|
category: "core",
|
|
728
768
|
group: "table",
|
|
729
|
-
icon:
|
|
769
|
+
icon: ee,
|
|
730
770
|
props: {
|
|
731
771
|
styles: c({ default: "w-full" })
|
|
732
772
|
},
|
|
733
773
|
blocks: S("TableRow")
|
|
734
774
|
});
|
|
735
|
-
const
|
|
736
|
-
const { blockProps: t, children: l, content:
|
|
737
|
-
return !l &&
|
|
775
|
+
const Ne = (e) => {
|
|
776
|
+
const { blockProps: t, children: l, content: a, styles: o } = e;
|
|
777
|
+
return !l && v(a) ? /* @__PURE__ */ n.jsx(x, { blockProps: t }) : l ? u.createElement("td", { ...t, ...o }, l) : u.createElement("td", {
|
|
738
778
|
...t,
|
|
739
|
-
...
|
|
740
|
-
dangerouslySetInnerHTML: { __html:
|
|
779
|
+
...o,
|
|
780
|
+
dangerouslySetInnerHTML: { __html: a }
|
|
741
781
|
});
|
|
742
782
|
};
|
|
743
|
-
d(
|
|
783
|
+
d(Ne, {
|
|
744
784
|
type: "TableCell",
|
|
745
785
|
label: "Table Cell",
|
|
746
786
|
category: "core",
|
|
747
787
|
group: "table",
|
|
748
|
-
icon:
|
|
788
|
+
icon: te,
|
|
749
789
|
props: {
|
|
750
790
|
styles: c({ default: "" }),
|
|
751
|
-
content:
|
|
791
|
+
content: T({ title: "Content", default: "Table cell item" })
|
|
752
792
|
}
|
|
753
793
|
});
|
|
754
|
-
const
|
|
755
|
-
const { blockProps: t, errorMessage: l, name:
|
|
756
|
-
if (!f &&
|
|
757
|
-
return /* @__PURE__ */
|
|
794
|
+
const Me = (e) => {
|
|
795
|
+
const { blockProps: t, errorMessage: l, name: a, _type: o, successMessage: r, action: i, styles: s, children: f } = e;
|
|
796
|
+
if (!f && v(s == null ? void 0 : s.className))
|
|
797
|
+
return /* @__PURE__ */ n.jsx(x, { blockProps: t, text: "FORM FIELDS" });
|
|
758
798
|
const p = {
|
|
759
799
|
"x-data": "useForm",
|
|
760
800
|
"x-on:submit.prevent": "post"
|
|
761
|
-
},
|
|
801
|
+
}, g = {
|
|
762
802
|
"x-html": "formResponse",
|
|
763
803
|
":class": "{'text-red-500': formStatus === 'ERROR', 'text-green-500': formStatus === 'SUCCESS'}"
|
|
764
804
|
};
|
|
765
|
-
return /* @__PURE__ */
|
|
805
|
+
return /* @__PURE__ */ n.jsxs(
|
|
766
806
|
"form",
|
|
767
807
|
{
|
|
768
808
|
...p,
|
|
769
809
|
"data-error": l,
|
|
770
810
|
"data-success": r,
|
|
771
811
|
method: "post",
|
|
772
|
-
action:
|
|
812
|
+
action: i,
|
|
773
813
|
...t,
|
|
774
|
-
...
|
|
814
|
+
...s,
|
|
775
815
|
children: [
|
|
776
|
-
/* @__PURE__ */
|
|
777
|
-
/* @__PURE__ */
|
|
816
|
+
/* @__PURE__ */ n.jsx("div", { ...g }),
|
|
817
|
+
/* @__PURE__ */ n.jsx("input", { name: "formname", type: "hidden", value: a || o }),
|
|
778
818
|
f
|
|
779
819
|
]
|
|
780
820
|
}
|
|
781
821
|
);
|
|
782
822
|
};
|
|
783
|
-
d(
|
|
823
|
+
d(Me, {
|
|
784
824
|
type: "Form",
|
|
785
825
|
label: "Form",
|
|
786
826
|
category: "core",
|
|
787
|
-
icon:
|
|
827
|
+
icon: le,
|
|
788
828
|
group: "form",
|
|
789
829
|
props: {
|
|
790
830
|
styles: c({ default: "" }),
|
|
@@ -792,77 +832,77 @@ d(Ne, {
|
|
|
792
832
|
title: "Submit URL",
|
|
793
833
|
default: "/api/form/submit"
|
|
794
834
|
}),
|
|
795
|
-
errorMessage:
|
|
835
|
+
errorMessage: T({
|
|
796
836
|
title: "Error Message",
|
|
797
837
|
default: "Something went wrong. Please try again"
|
|
798
838
|
}),
|
|
799
|
-
successMessage:
|
|
839
|
+
successMessage: T({
|
|
800
840
|
title: "Success Message",
|
|
801
841
|
default: "Thank you for your submission."
|
|
802
842
|
})
|
|
803
843
|
}
|
|
804
844
|
});
|
|
805
|
-
const
|
|
806
|
-
const { blockProps: t, content: l, styles:
|
|
807
|
-
return
|
|
845
|
+
const Re = (e) => {
|
|
846
|
+
const { blockProps: t, content: l, styles: a, children: o } = e, r = { ...a, ...t };
|
|
847
|
+
return o ? u.createElement("label", r, o) : u.createElement("label", {
|
|
808
848
|
...r,
|
|
809
849
|
dangerouslySetInnerHTML: { __html: l }
|
|
810
850
|
});
|
|
811
851
|
};
|
|
812
|
-
d(
|
|
852
|
+
d(Re, {
|
|
813
853
|
type: "Label",
|
|
814
854
|
label: "Label",
|
|
815
855
|
category: "core",
|
|
816
|
-
icon:
|
|
856
|
+
icon: ae,
|
|
817
857
|
group: "form",
|
|
818
858
|
props: {
|
|
819
859
|
styles: c({ default: "" }),
|
|
820
860
|
content: m({ title: "Content", default: "Label" })
|
|
821
861
|
}
|
|
822
862
|
});
|
|
823
|
-
const
|
|
863
|
+
const He = (e) => {
|
|
824
864
|
const {
|
|
825
865
|
blockProps: t,
|
|
826
866
|
label: l,
|
|
827
|
-
placeholder:
|
|
828
|
-
styles:
|
|
867
|
+
placeholder: a,
|
|
868
|
+
styles: o,
|
|
829
869
|
inputStyles: r,
|
|
830
|
-
showLabel:
|
|
831
|
-
required:
|
|
870
|
+
showLabel: i,
|
|
871
|
+
required: s,
|
|
832
872
|
inputType: f = "text",
|
|
833
873
|
inBuilder: p,
|
|
834
|
-
fieldName:
|
|
835
|
-
} = e, y =
|
|
836
|
-
return !
|
|
874
|
+
fieldName: g
|
|
875
|
+
} = e, y = k();
|
|
876
|
+
return !i || f === "submit" ? (f === "submit" && (t.value = l), /* @__PURE__ */ n.jsx(
|
|
837
877
|
"input",
|
|
838
878
|
{
|
|
839
879
|
id: y,
|
|
840
|
-
name:
|
|
880
|
+
name: g,
|
|
841
881
|
readOnly: p,
|
|
842
882
|
...t,
|
|
843
883
|
...r,
|
|
844
|
-
...
|
|
884
|
+
...o,
|
|
845
885
|
type: f,
|
|
846
|
-
placeholder:
|
|
847
|
-
required:
|
|
886
|
+
placeholder: a,
|
|
887
|
+
required: s
|
|
848
888
|
}
|
|
849
|
-
)) : /* @__PURE__ */
|
|
850
|
-
|
|
851
|
-
/* @__PURE__ */
|
|
889
|
+
)) : /* @__PURE__ */ n.jsxs("div", { ...o, ...t, children: [
|
|
890
|
+
i && /* @__PURE__ */ n.jsx("label", { htmlFor: y, children: l }),
|
|
891
|
+
/* @__PURE__ */ n.jsx(
|
|
852
892
|
"input",
|
|
853
893
|
{
|
|
854
|
-
name:
|
|
894
|
+
name: g,
|
|
855
895
|
readOnly: p,
|
|
856
896
|
...r,
|
|
857
897
|
id: y,
|
|
858
898
|
type: f,
|
|
859
|
-
placeholder:
|
|
860
|
-
required:
|
|
899
|
+
placeholder: a,
|
|
900
|
+
required: s
|
|
861
901
|
}
|
|
862
902
|
)
|
|
863
903
|
] });
|
|
864
904
|
};
|
|
865
|
-
d(
|
|
905
|
+
d(He, {
|
|
866
906
|
type: "Input",
|
|
867
907
|
label: "Input",
|
|
868
908
|
category: "core",
|
|
@@ -871,7 +911,7 @@ d(Re, {
|
|
|
871
911
|
props: {
|
|
872
912
|
styles: c({ default: "" }),
|
|
873
913
|
fieldName: m({ title: "Field Name", default: "input" }),
|
|
874
|
-
inputType:
|
|
914
|
+
inputType: L({
|
|
875
915
|
title: "Type",
|
|
876
916
|
options: _(
|
|
877
917
|
["text", "email", "password", "number", "tel", "file", "hidden", "range", "submit", "color", "date", "time"],
|
|
@@ -883,35 +923,35 @@ d(Re, {
|
|
|
883
923
|
default: "text"
|
|
884
924
|
}),
|
|
885
925
|
value: m({ title: "Value", default: "" }),
|
|
886
|
-
showLabel:
|
|
926
|
+
showLabel: h({ title: "Show label", default: !0 }),
|
|
887
927
|
inputStyles: c({ default: "w-full p-1" }),
|
|
888
928
|
label: m({ title: "Label", default: "Label" }),
|
|
889
929
|
placeholder: m({
|
|
890
930
|
title: "Placeholder",
|
|
891
931
|
default: "Placeholder"
|
|
892
932
|
}),
|
|
893
|
-
required:
|
|
933
|
+
required: h({ title: "Required", default: !1 })
|
|
894
934
|
}
|
|
895
935
|
});
|
|
896
|
-
const
|
|
897
|
-
const { blockProps: t, fieldName: l, label:
|
|
898
|
-
return f ? /* @__PURE__ */
|
|
899
|
-
f && /* @__PURE__ */
|
|
900
|
-
/* @__PURE__ */
|
|
901
|
-
] }) : /* @__PURE__ */
|
|
936
|
+
const qe = (e) => {
|
|
937
|
+
const { blockProps: t, fieldName: l, label: a, placeholder: o, styles: r, inputStyles: i, _rows: s, showLabel: f } = e, p = k();
|
|
938
|
+
return f ? /* @__PURE__ */ n.jsxs("div", { ...r, ...t, children: [
|
|
939
|
+
f && /* @__PURE__ */ n.jsx("label", { htmlFor: p, children: a }),
|
|
940
|
+
/* @__PURE__ */ n.jsx("textarea", { name: l, ...i, id: p, placeholder: o, rows: s })
|
|
941
|
+
] }) : /* @__PURE__ */ n.jsx(
|
|
902
942
|
"textarea",
|
|
903
943
|
{
|
|
904
944
|
id: p,
|
|
905
945
|
name: l,
|
|
906
946
|
...t,
|
|
907
|
-
...
|
|
947
|
+
...i,
|
|
908
948
|
...r,
|
|
909
|
-
placeholder:
|
|
910
|
-
rows:
|
|
949
|
+
placeholder: o,
|
|
950
|
+
rows: s
|
|
911
951
|
}
|
|
912
952
|
);
|
|
913
953
|
};
|
|
914
|
-
d(
|
|
954
|
+
d(qe, {
|
|
915
955
|
type: "TextArea",
|
|
916
956
|
label: "TextArea",
|
|
917
957
|
category: "core",
|
|
@@ -919,7 +959,7 @@ d(He, {
|
|
|
919
959
|
group: "form",
|
|
920
960
|
props: {
|
|
921
961
|
fieldName: m({ title: "Field Name", default: "textarea" }),
|
|
922
|
-
showLabel:
|
|
962
|
+
showLabel: h({ title: "Show label", default: !0 }),
|
|
923
963
|
styles: c({ default: "" }),
|
|
924
964
|
inputStyles: c({ default: "w-full p-1" }),
|
|
925
965
|
label: m({ title: "Label", default: "Label" }),
|
|
@@ -930,32 +970,32 @@ d(He, {
|
|
|
930
970
|
_rows: se({ title: "Rows", default: 3 })
|
|
931
971
|
}
|
|
932
972
|
});
|
|
933
|
-
const
|
|
973
|
+
const Ae = (e) => {
|
|
934
974
|
const {
|
|
935
975
|
blockProps: t,
|
|
936
976
|
fieldName: l,
|
|
937
|
-
label:
|
|
938
|
-
placeholder:
|
|
977
|
+
label: a,
|
|
978
|
+
placeholder: o,
|
|
939
979
|
styles: r,
|
|
940
|
-
inputStyles:
|
|
941
|
-
required:
|
|
980
|
+
inputStyles: i,
|
|
981
|
+
required: s,
|
|
942
982
|
showLabel: f,
|
|
943
983
|
_multiple: p = !1
|
|
944
|
-
} = e,
|
|
945
|
-
return f ? /* @__PURE__ */
|
|
946
|
-
f && /* @__PURE__ */
|
|
947
|
-
/* @__PURE__ */
|
|
984
|
+
} = e, g = k();
|
|
985
|
+
return f ? /* @__PURE__ */ n.jsxs("div", { ...r, children: [
|
|
986
|
+
f && /* @__PURE__ */ n.jsx("label", { htmlFor: g, children: a }),
|
|
987
|
+
/* @__PURE__ */ n.jsxs(
|
|
948
988
|
"select",
|
|
949
989
|
{
|
|
950
|
-
...
|
|
951
|
-
id:
|
|
952
|
-
placeholder:
|
|
953
|
-
required:
|
|
990
|
+
...i,
|
|
991
|
+
id: g,
|
|
992
|
+
placeholder: o,
|
|
993
|
+
required: s,
|
|
954
994
|
multiple: p,
|
|
955
995
|
name: l,
|
|
956
996
|
children: [
|
|
957
|
-
/* @__PURE__ */
|
|
958
|
-
_(e.options, (y) => /* @__PURE__ */
|
|
997
|
+
/* @__PURE__ */ n.jsx("option", { value: "", disabled: !0, selected: !0, hidden: !0, children: o }),
|
|
998
|
+
_(e.options, (y) => /* @__PURE__ */ n.jsx(
|
|
959
999
|
"option",
|
|
960
1000
|
{
|
|
961
1001
|
selected: b(y, "selected", !1),
|
|
@@ -967,19 +1007,19 @@ const qe = (e) => {
|
|
|
967
1007
|
]
|
|
968
1008
|
}
|
|
969
1009
|
)
|
|
970
|
-
] }) : /* @__PURE__ */
|
|
1010
|
+
] }) : /* @__PURE__ */ n.jsxs(
|
|
971
1011
|
"select",
|
|
972
1012
|
{
|
|
973
|
-
id:
|
|
1013
|
+
id: g,
|
|
974
1014
|
...r,
|
|
975
1015
|
...t,
|
|
976
|
-
placeholder:
|
|
977
|
-
required:
|
|
1016
|
+
placeholder: o,
|
|
1017
|
+
required: s,
|
|
978
1018
|
multiple: p,
|
|
979
1019
|
name: l,
|
|
980
1020
|
children: [
|
|
981
|
-
/* @__PURE__ */
|
|
982
|
-
_(e.options, (y) => /* @__PURE__ */
|
|
1021
|
+
/* @__PURE__ */ n.jsx("option", { value: "", disabled: !0, selected: !0, hidden: !0, children: o }),
|
|
1022
|
+
_(e.options, (y) => /* @__PURE__ */ n.jsx(
|
|
983
1023
|
"option",
|
|
984
1024
|
{
|
|
985
1025
|
selected: b(y, "selected", !1),
|
|
@@ -992,25 +1032,25 @@ const qe = (e) => {
|
|
|
992
1032
|
}
|
|
993
1033
|
);
|
|
994
1034
|
};
|
|
995
|
-
d(
|
|
1035
|
+
d(Ae, {
|
|
996
1036
|
type: "Select",
|
|
997
1037
|
label: "Select",
|
|
998
1038
|
category: "core",
|
|
999
|
-
icon:
|
|
1039
|
+
icon: oe,
|
|
1000
1040
|
group: "form",
|
|
1001
1041
|
props: {
|
|
1002
1042
|
styles: c({ default: "" }),
|
|
1003
1043
|
fieldName: m({ title: "Field Name", default: "select" }),
|
|
1004
|
-
showLabel:
|
|
1044
|
+
showLabel: h({ title: "Show label", default: !0 }),
|
|
1005
1045
|
inputStyles: c({ default: "w-full p-1" }),
|
|
1006
1046
|
label: m({ title: "Label", default: "Label" }),
|
|
1007
1047
|
placeholder: m({
|
|
1008
1048
|
title: "Placeholder",
|
|
1009
1049
|
default: "Placeholder"
|
|
1010
1050
|
}),
|
|
1011
|
-
required:
|
|
1012
|
-
_multiple:
|
|
1013
|
-
options:
|
|
1051
|
+
required: h({ title: "Required", default: !1 }),
|
|
1052
|
+
_multiple: h({ title: "Multiple Choice", default: !1 }),
|
|
1053
|
+
options: de({
|
|
1014
1054
|
title: "Options",
|
|
1015
1055
|
itemProperties: {
|
|
1016
1056
|
label: m({ title: "Label", default: "" }),
|
|
@@ -1019,68 +1059,68 @@ d(qe, {
|
|
|
1019
1059
|
})
|
|
1020
1060
|
}
|
|
1021
1061
|
});
|
|
1022
|
-
const
|
|
1023
|
-
const { blockProps: t, fieldName: l, label:
|
|
1024
|
-
return f ? /* @__PURE__ */
|
|
1025
|
-
/* @__PURE__ */
|
|
1062
|
+
const Fe = (e) => {
|
|
1063
|
+
const { blockProps: t, fieldName: l, label: a, styles: o, inputStyles: r, required: i, checked: s, showLabel: f = !0 } = e, p = k();
|
|
1064
|
+
return f ? /* @__PURE__ */ n.jsxs("div", { ...o, ...t, children: [
|
|
1065
|
+
/* @__PURE__ */ n.jsx(
|
|
1026
1066
|
"input",
|
|
1027
1067
|
{
|
|
1028
1068
|
...r,
|
|
1029
1069
|
name: l,
|
|
1030
1070
|
id: p,
|
|
1031
1071
|
type: "checkbox",
|
|
1032
|
-
required:
|
|
1033
|
-
defaultChecked:
|
|
1072
|
+
required: i,
|
|
1073
|
+
defaultChecked: s
|
|
1034
1074
|
}
|
|
1035
1075
|
),
|
|
1036
|
-
|
|
1037
|
-
] }) : /* @__PURE__ */
|
|
1076
|
+
a && a !== "Label" && /* @__PURE__ */ n.jsx("label", { htmlFor: p, children: a })
|
|
1077
|
+
] }) : /* @__PURE__ */ n.jsx(
|
|
1038
1078
|
"input",
|
|
1039
1079
|
{
|
|
1040
1080
|
id: p,
|
|
1041
1081
|
...t,
|
|
1042
1082
|
...r,
|
|
1043
|
-
...
|
|
1083
|
+
...o,
|
|
1044
1084
|
type: "checkbox",
|
|
1045
|
-
required:
|
|
1085
|
+
required: i,
|
|
1046
1086
|
name: l
|
|
1047
1087
|
}
|
|
1048
1088
|
);
|
|
1049
1089
|
};
|
|
1050
|
-
d(
|
|
1090
|
+
d(Fe, {
|
|
1051
1091
|
type: "Checkbox",
|
|
1052
1092
|
label: "Checkbox",
|
|
1053
1093
|
category: "core",
|
|
1054
|
-
icon:
|
|
1094
|
+
icon: re,
|
|
1055
1095
|
group: "form",
|
|
1056
1096
|
props: {
|
|
1057
1097
|
fieldName: m({ title: "Field Name", default: "checkbox" }),
|
|
1058
1098
|
styles: c({ default: "flex items-center gap-x-2" }),
|
|
1059
1099
|
label: m({ title: "Label", default: "Label" }),
|
|
1060
|
-
checked:
|
|
1061
|
-
required:
|
|
1100
|
+
checked: h({ title: "Checked", default: !1 }),
|
|
1101
|
+
required: h({ title: "Required", default: !1 })
|
|
1062
1102
|
}
|
|
1063
1103
|
});
|
|
1064
|
-
const
|
|
1065
|
-
const { blockProps: t, fieldName: l, label:
|
|
1066
|
-
return f ? /* @__PURE__ */
|
|
1067
|
-
/* @__PURE__ */
|
|
1068
|
-
|
|
1069
|
-
] }) : /* @__PURE__ */
|
|
1104
|
+
const $e = (e) => {
|
|
1105
|
+
const { blockProps: t, fieldName: l, label: a, styles: o, inputStyles: r, checked: i, required: s, showLabel: f = !0 } = e, p = k();
|
|
1106
|
+
return f ? /* @__PURE__ */ n.jsxs("div", { ...o, ...t, children: [
|
|
1107
|
+
/* @__PURE__ */ n.jsx("input", { ...r, name: l, id: p, type: "radio", required: s, defaultChecked: i }),
|
|
1108
|
+
a && /* @__PURE__ */ n.jsx("label", { htmlFor: p, children: a })
|
|
1109
|
+
] }) : /* @__PURE__ */ n.jsx(
|
|
1070
1110
|
"input",
|
|
1071
1111
|
{
|
|
1072
1112
|
id: p,
|
|
1073
1113
|
...t,
|
|
1074
1114
|
...r,
|
|
1075
|
-
...
|
|
1115
|
+
...o,
|
|
1076
1116
|
type: "radio",
|
|
1077
|
-
required:
|
|
1078
|
-
checked:
|
|
1117
|
+
required: s,
|
|
1118
|
+
checked: i,
|
|
1079
1119
|
name: l
|
|
1080
1120
|
}
|
|
1081
1121
|
);
|
|
1082
1122
|
};
|
|
1083
|
-
d(
|
|
1123
|
+
d($e, {
|
|
1084
1124
|
type: "Radio",
|
|
1085
1125
|
label: "Radio",
|
|
1086
1126
|
category: "core",
|
|
@@ -1090,32 +1130,32 @@ d(Fe, {
|
|
|
1090
1130
|
styles: c({ default: "flex items-center w-max gap-x-2" }),
|
|
1091
1131
|
fieldName: m({ title: "Field Name", default: "radio" }),
|
|
1092
1132
|
label: m({ title: "Label", default: "Label" }),
|
|
1093
|
-
checked:
|
|
1094
|
-
required:
|
|
1133
|
+
checked: h({ title: "Checked", default: !1 }),
|
|
1134
|
+
required: h({ title: "Required", default: !1 })
|
|
1095
1135
|
}
|
|
1096
1136
|
});
|
|
1097
|
-
const
|
|
1098
|
-
const { blockProps: t, inBuilder: l, label:
|
|
1137
|
+
const De = (e) => {
|
|
1138
|
+
const { blockProps: t, inBuilder: l, label: a, placeholder: o, styles: r, inputStyles: i, icon: s, iconPos: f } = e, p = k(), g = {
|
|
1099
1139
|
"x-bind:disabled": "formLoading"
|
|
1100
1140
|
};
|
|
1101
|
-
return /* @__PURE__ */
|
|
1141
|
+
return /* @__PURE__ */ n.jsxs(
|
|
1102
1142
|
"button",
|
|
1103
1143
|
{
|
|
1104
1144
|
id: p,
|
|
1105
|
-
...
|
|
1106
|
-
...
|
|
1145
|
+
...g,
|
|
1146
|
+
...i,
|
|
1107
1147
|
...r,
|
|
1108
1148
|
...t || {},
|
|
1109
1149
|
type: l ? "button" : "submit",
|
|
1110
|
-
placeholder:
|
|
1150
|
+
placeholder: o,
|
|
1111
1151
|
children: [
|
|
1112
|
-
|
|
1113
|
-
|
|
1152
|
+
a,
|
|
1153
|
+
s && /* @__PURE__ */ n.jsx("span", { className: f, dangerouslySetInnerHTML: { __html: s } })
|
|
1114
1154
|
]
|
|
1115
1155
|
}
|
|
1116
1156
|
);
|
|
1117
1157
|
};
|
|
1118
|
-
d(
|
|
1158
|
+
d(De, {
|
|
1119
1159
|
type: "FormButton",
|
|
1120
1160
|
label: "Submit Button",
|
|
1121
1161
|
category: "core",
|
|
@@ -1126,8 +1166,8 @@ d($e, {
|
|
|
1126
1166
|
styles: c({
|
|
1127
1167
|
default: "text-white bg-primary disabled:bg-gray-400 px-4 py-2 rounded-global flex items-center gap-x-2"
|
|
1128
1168
|
}),
|
|
1129
|
-
icon:
|
|
1130
|
-
iconPos:
|
|
1169
|
+
icon: j({ title: "Icon", default: "" }),
|
|
1170
|
+
iconPos: L({
|
|
1131
1171
|
title: "Icon Position",
|
|
1132
1172
|
default: "order-last",
|
|
1133
1173
|
options: [
|
|
@@ -1138,12 +1178,12 @@ d($e, {
|
|
|
1138
1178
|
}
|
|
1139
1179
|
});
|
|
1140
1180
|
export {
|
|
1141
|
-
|
|
1181
|
+
ce as b,
|
|
1142
1182
|
se as c,
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1183
|
+
L as f,
|
|
1184
|
+
B as g,
|
|
1185
|
+
q as o,
|
|
1186
|
+
h as r,
|
|
1147
1187
|
m as u,
|
|
1148
|
-
|
|
1188
|
+
Ye as y
|
|
1149
1189
|
};
|