@myissue/vue-website-page-builder 3.2.85 → 3.2.86
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/README.md +70 -13
- package/dist/vue-website-page-builder.js +124 -124
- package/dist/vue-website-page-builder.umd.cjs +1 -1
- package/package.json +1 -1
|
@@ -23099,10 +23099,10 @@ const C3 = ["src"], M3 = {
|
|
|
23099
23099
|
}, z4 = { class: "overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg" }, F4 = { class: "overflow-x-auto" }, j4 = { class: "min-w-full" }, H4 = { class: "bg-white divide-y divide-gray-200" }, V4 = { class: "px-6 py-4 whitespace-nowrap text-sm text-gray-500" }, W4 = { class: "min-w-[30rem] w-max" }, q4 = { class: "flex items-center space-x-3" }, U4 = ["src"], K4 = { class: "px-6 py-4 whitespace-nowrap text-sm text-gray-500" }, J4 = { class: "min-w-[30rem] w-max" }, G4 = { class: "flex items-center space-x-3" }, Y4 = { class: "border-r border-gray-200 pr-6" }, X4 = { class: "flex items-center space-x-3" }, Q4 = { class: "whitespace-nowrap" }, Z4 = {
|
|
23100
23100
|
key: 4,
|
|
23101
23101
|
class: "mt-8"
|
|
23102
|
-
},
|
|
23102
|
+
}, t6 = { class: "overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg" }, e6 = { class: "overflow-x-auto" }, r6 = { class: "w-max" }, o6 = { class: "bg-white divide-y divide-gray-200" }, n6 = { class: "px-6 py-4 whitespace-nowrap text-sm text-gray-500" }, i6 = { class: "min-w-[30rem] w-max" }, s6 = { key: 0 }, a6 = { key: 1 }, l6 = { key: 0 }, d6 = { class: "px-6 py-4 whitespace-nowrap text-sm text-gray-500" }, c6 = { class: "min-w-[30rem] w-max" }, u6 = { class: "inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium" }, p6 = { class: "mt-4 mb-4 py-8 border-b border-myPrimbryLightGrayColor" }, h6 = { class: "mt-4 whitespace-pre-wrap text-white overflow-hidden bg-gray-900" }, m6 = { class: "px-4 pb-8 pt-4 text-white text-xs break-all" }, f6 = { class: "myPrimaryParagraph text-xs text-white" }, g6 = {
|
|
23103
23103
|
__name: "PageBuilderSettings",
|
|
23104
23104
|
setup(r) {
|
|
23105
|
-
const t = "v3.2.
|
|
23105
|
+
const t = "v3.2.86", e = vt;
|
|
23106
23106
|
new Et(e);
|
|
23107
23107
|
const o = M(null), n = $(() => e.getConfigPageBuilder), i = $(() => e.getComponents), s = function(l, d) {
|
|
23108
23108
|
const c = document.createElement("a");
|
|
@@ -23376,9 +23376,9 @@ const C3 = ["src"], M3 = {
|
|
|
23376
23376
|
])) : D("", !0),
|
|
23377
23377
|
(j = n.value) != null && j.updateOrCreate && !A(xo)(n.value.updateOrCreate) ? (v(), k("div", Z4, [
|
|
23378
23378
|
d[25] || (d[25] = p("h4", { class: "myQuaternaryHeader text-sm mb-2" }, "Form Type", -1)),
|
|
23379
|
-
p("div",
|
|
23380
|
-
p("div",
|
|
23381
|
-
p("table",
|
|
23379
|
+
p("div", t6, [
|
|
23380
|
+
p("div", e6, [
|
|
23381
|
+
p("table", r6, [
|
|
23382
23382
|
d[24] || (d[24] = p("thead", { class: "bg-gray-50" }, [
|
|
23383
23383
|
p("tr", null, [
|
|
23384
23384
|
p("th", {
|
|
@@ -23391,32 +23391,32 @@ const C3 = ["src"], M3 = {
|
|
|
23391
23391
|
}, " Description ")
|
|
23392
23392
|
])
|
|
23393
23393
|
], -1)),
|
|
23394
|
-
p("tbody",
|
|
23394
|
+
p("tbody", o6, [
|
|
23395
23395
|
p("tr", null, [
|
|
23396
23396
|
d[22] || (d[22] = p("td", { class: "px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900" }, [
|
|
23397
23397
|
p("div", { class: "min-w-[30rem] w-max" }, "Form Type")
|
|
23398
23398
|
], -1)),
|
|
23399
|
-
p("td",
|
|
23400
|
-
p("div",
|
|
23399
|
+
p("td", n6, [
|
|
23400
|
+
p("div", i6, [
|
|
23401
23401
|
p("span", {
|
|
23402
23402
|
class: Q([
|
|
23403
23403
|
"inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium",
|
|
23404
23404
|
n.value.updateOrCreate === "create" ? "bg-green-100 text-green-800" : "bg-blue-100 text-blue-800"
|
|
23405
23405
|
])
|
|
23406
23406
|
}, [
|
|
23407
|
-
n.value && n.value.updateOrCreate.formType === "create" ? (v(), k("span",
|
|
23408
|
-
n.value && n.value.updateOrCreate.formType === "update" ? (v(), k("span",
|
|
23407
|
+
n.value && n.value.updateOrCreate.formType === "create" ? (v(), k("span", s6, F(n.value.updateOrCreate.formType), 1)) : D("", !0),
|
|
23408
|
+
n.value && n.value.updateOrCreate.formType === "update" ? (v(), k("span", a6, F(n.value.updateOrCreate.formType), 1)) : D("", !0)
|
|
23409
23409
|
], 2)
|
|
23410
23410
|
])
|
|
23411
23411
|
])
|
|
23412
23412
|
]),
|
|
23413
|
-
n.value.updateOrCreate.formName && n.value.updateOrCreate.formName.length > 0 ? (v(), k("tr",
|
|
23413
|
+
n.value.updateOrCreate.formName && n.value.updateOrCreate.formName.length > 0 ? (v(), k("tr", l6, [
|
|
23414
23414
|
d[23] || (d[23] = p("td", { class: "px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900" }, [
|
|
23415
23415
|
p("div", { class: "min-w-[30rem] w-max" }, "Form Name")
|
|
23416
23416
|
], -1)),
|
|
23417
|
-
p("td",
|
|
23418
|
-
p("div",
|
|
23419
|
-
p("span",
|
|
23417
|
+
p("td", d6, [
|
|
23418
|
+
p("div", c6, [
|
|
23419
|
+
p("span", u6, F(n.value.updateOrCreate.formName), 1)
|
|
23420
23420
|
])
|
|
23421
23421
|
])
|
|
23422
23422
|
])) : D("", !0)
|
|
@@ -23441,32 +23441,32 @@ const C3 = ["src"], M3 = {
|
|
|
23441
23441
|
}, " Download HTML file ")
|
|
23442
23442
|
])
|
|
23443
23443
|
]),
|
|
23444
|
-
p("div",
|
|
23444
|
+
p("div", p6, [
|
|
23445
23445
|
d[29] || (d[29] = p("div", { class: "flex items-left flex-col gap-1" }, [
|
|
23446
23446
|
p("h3", { class: "myQuaternaryHeader" }, "Complete Configuration Overview"),
|
|
23447
23447
|
p("p", { class: "myPrimaryParagraph text-xs" }, " omplete configuration object currently used by the Page Builder. It includes information about the user, form behavior, branding settings, and other context-specific data needed for rendering and managing the builder environment. ")
|
|
23448
23448
|
], -1)),
|
|
23449
|
-
p("div",
|
|
23449
|
+
p("div", h6, [
|
|
23450
23450
|
d[28] || (d[28] = p("div", { class: "flex bg-gray-800/40 ring-1 ring-white/5" }, [
|
|
23451
23451
|
p("div", { class: "-mb-px flex text-xs font-medium text-myPrimaryMediumGrayColor" }, [
|
|
23452
23452
|
p("div", { class: "px-4 py-4 text-white" }, "Configuration")
|
|
23453
23453
|
])
|
|
23454
23454
|
], -1)),
|
|
23455
|
-
p("div",
|
|
23456
|
-
p("p",
|
|
23455
|
+
p("div", m6, [
|
|
23456
|
+
p("p", f6, " config: " + F(JSON.stringify(n.value, null, 4)), 1)
|
|
23457
23457
|
])
|
|
23458
23458
|
])
|
|
23459
23459
|
])
|
|
23460
23460
|
]);
|
|
23461
23461
|
};
|
|
23462
23462
|
}
|
|
23463
|
-
},
|
|
23463
|
+
}, b6 = { class: "w-full inset-x-0 h-[90vh] bg-white overflow-x-scroll lg:pt-2 pt-2" }, w6 = { class: "flex items-left flex-col myPrimaryGap border-myPrimaryMediumGrayColor" }, y6 = { class: "text-gray-100 overflow-hidden bg-stone-800" }, v6 = { class: "px-4 pb-8 pt-4 text-gray-100 text-xs" }, x6 = { class: "text-xs pb-2" }, k6 = { class: "text-xs pb-2" }, S6 = { class: "text-xs pb-2" }, C6 = { class: "overflow-hidden bg-stone-800" }, M6 = { class: "flex bg-stone-800 ring-1 ring-white/5" }, E6 = { class: "-mb-px flex text-xs font-medium text-myPrimaryMediumGrayColor" }, T6 = { class: "px-4 pb-8 pt-4 text-gray-100 text-xs break-all" }, O6 = { key: 0 }, B6 = { key: 0 }, P6 = { class: "pb-2 text-xs" }, A6 = {
|
|
23464
23464
|
key: 1,
|
|
23465
23465
|
class: "overflow-hidden border border-gray-100 mb-6"
|
|
23466
|
-
},
|
|
23466
|
+
}, N6 = { class: "bg-stone-800 pt-4 pb-1 border-b border-gray-200" }, D6 = { class: "overflow-x-auto" }, I6 = { class: "min-w-full" }, L6 = { class: "bg-stone-800 divide-y divide-gray-200" }, R6 = { class: "px-6 py-3 text-left text-xs text-gray-100 font-normal border-b" }, $6 = { class: "overflow-x-auto" }, _6 = { class: "min-w-full" }, z6 = { class: "bg-stone-800 divide-y divide-gray-200" }, F6 = { class: "px-6 py-3 text-left text-xs text-gray-100 font-normal whitespace-pre-line" }, j6 = { class: "overflow-x-auto" }, H6 = { class: "min-w-full" }, V6 = { class: "bg-stone-800 divide-y divide-gray-200" }, W6 = { class: "px-6 py-3 text-left text-xs text-gray-100 font-normal" }, q6 = { key: 1 }, U6 = { key: 0 }, K6 = { class: "pb-2 text-xs" }, J6 = {
|
|
23467
23467
|
key: 1,
|
|
23468
23468
|
class: "overflow-hidden border border-gray-100 mb-6"
|
|
23469
|
-
},
|
|
23469
|
+
}, G6 = { class: "bg-stone-800 pt-4 pb-1 border-b border-gray-200" }, Y6 = { class: "overflow-x-auto" }, X6 = { class: "min-w-full" }, Q6 = { class: "bg-stone-800 divide-y divide-gray-200" }, Z6 = { class: "px-6 py-3 text-left text-xs text-gray-100 font-normal" }, tS = { class: "overflow-x-auto" }, eS = { class: "min-w-full" }, rS = { class: "bg-stone-800 divide-y divide-gray-200" }, oS = { class: "px-6 py-3 text-left text-xs text-gray-100 font-normal whitespace-pre-line" }, nS = { class: "overflow-x-auto" }, iS = { class: "min-w-full" }, sS = { class: "bg-stone-800 divide-y divide-gray-200" }, aS = { class: "px-6 py-3 text-left text-xs text-gray-100 font-normal" }, lS = { class: "text-xs text-gray-100 whitespace-pre-lines font-sans flex items-start justify-left" }, dS = ["innerHTML"], cS = { key: 2 }, uS = { class: "pb-2 text-xs" }, pS = { key: 0 }, hS = { class: "bg-stone-800 pt-4 pb-1 border-b border-gray-200" }, mS = { class: "overflow-x-auto" }, fS = { class: "min-w-full" }, gS = { class: "bg-stone-800 divide-y divide-gray-200" }, bS = { class: "px-6 py-3 text-left text-xs text-gray-100 font-normal" }, wS = { class: "overflow-x-auto" }, yS = { class: "min-w-full" }, vS = { class: "bg-stone-800 divide-y divide-gray-200" }, xS = { class: "px-6 py-3 text-left text-xs text-gray-100 font-normal whitespace-pre-line" }, kS = { class: "overflow-x-auto" }, SS = { class: "min-w-full" }, CS = { class: "bg-stone-800 divide-y divide-gray-200" }, MS = { class: "px-6 py-3 text-left text-xs text-gray-100 font-normal" }, ES = { class: "text-xs text-gray-100 whitespace-pre-lines font-sans flex items-start justify-left" }, TS = ["innerHTML"], OS = {
|
|
23470
23470
|
__name: "AdvancedPageBuilderSettings",
|
|
23471
23471
|
setup(r) {
|
|
23472
23472
|
const t = vt, e = $(() => t.getElement), o = $(() => t.getComponent), n = $(() => t.getComponents), i = M("element"), s = function(l) {
|
|
@@ -23477,27 +23477,27 @@ const C3 = ["src"], M3 = {
|
|
|
23477
23477
|
}
|
|
23478
23478
|
return (l, d) => {
|
|
23479
23479
|
var c, u, h, m, f, g, b, y, C, x;
|
|
23480
|
-
return v(), k("div",
|
|
23481
|
-
p("div",
|
|
23480
|
+
return v(), k("div", b6, [
|
|
23481
|
+
p("div", w6, [
|
|
23482
23482
|
d[22] || (d[22] = p("p", { class: "myPrimaryParagraph" }, " Overview of Selected Element, Component, and Components. This section provides real-time updates based on your HTML selection. ", -1)),
|
|
23483
23483
|
p("div", null, [
|
|
23484
23484
|
d[7] || (d[7] = p("h4", { class: "myPrimaryParagraph text-xs pb-2" }, "Types", -1)),
|
|
23485
|
-
p("div",
|
|
23485
|
+
p("div", y6, [
|
|
23486
23486
|
d[6] || (d[6] = p("div", { class: "flex bg-stone-800 ring-1 ring-white/5" }, [
|
|
23487
23487
|
p("div", { class: "-mb-px flex text-xs font-medium text-myPrimaryMediumGrayColor" }, [
|
|
23488
23488
|
p("div", { class: "px-4 py-4 text-gray-100" }, "Types")
|
|
23489
23489
|
])
|
|
23490
23490
|
], -1)),
|
|
23491
|
-
p("div",
|
|
23492
|
-
p("p",
|
|
23491
|
+
p("div", v6, [
|
|
23492
|
+
p("p", x6, [
|
|
23493
23493
|
d[3] || (d[3] = p("span", null, "Element type: ", -1)),
|
|
23494
23494
|
p("span", null, F(typeof e.value), 1)
|
|
23495
23495
|
]),
|
|
23496
|
-
p("p",
|
|
23496
|
+
p("p", k6, [
|
|
23497
23497
|
d[4] || (d[4] = p("span", null, "Component type: ", -1)),
|
|
23498
23498
|
ee(" " + F(typeof o.value), 1)
|
|
23499
23499
|
]),
|
|
23500
|
-
p("p",
|
|
23500
|
+
p("p", S6, [
|
|
23501
23501
|
d[5] || (d[5] = p("span", null, "Components: ", -1)),
|
|
23502
23502
|
p("span", null, F(Array.isArray(n.value) === !0 ? "array" : typeof n.value), 1)
|
|
23503
23503
|
])
|
|
@@ -23506,9 +23506,9 @@ const C3 = ["src"], M3 = {
|
|
|
23506
23506
|
]),
|
|
23507
23507
|
p("div", null, [
|
|
23508
23508
|
d[21] || (d[21] = p("h4", { class: "myPrimaryParagraph text-xs pb-2" }, "Content", -1)),
|
|
23509
|
-
p("div",
|
|
23510
|
-
p("div",
|
|
23511
|
-
p("div",
|
|
23509
|
+
p("div", C6, [
|
|
23510
|
+
p("div", M6, [
|
|
23511
|
+
p("div", E6, [
|
|
23512
23512
|
p("div", {
|
|
23513
23513
|
onClick: d[0] || (d[0] = (w) => s("element")),
|
|
23514
23514
|
class: Q(["px-4 py-4 cursor-pointer", [i.value === "element" ? "text-gray-100" : ""]])
|
|
@@ -23523,109 +23523,109 @@ const C3 = ["src"], M3 = {
|
|
|
23523
23523
|
}, " Components " + F(Array.isArray(n.value) && n.value.length), 3)
|
|
23524
23524
|
])
|
|
23525
23525
|
]),
|
|
23526
|
-
p("div",
|
|
23527
|
-
i.value === "element" ? (v(), k("div",
|
|
23528
|
-
o.value ? D("", !0) : (v(), k("div",
|
|
23529
|
-
p("p",
|
|
23526
|
+
p("div", T6, [
|
|
23527
|
+
i.value === "element" ? (v(), k("div", O6, [
|
|
23528
|
+
o.value ? D("", !0) : (v(), k("div", B6, [
|
|
23529
|
+
p("p", P6, F(o.value === null ? "No Element selected" : typeof o.value), 1)
|
|
23530
23530
|
])),
|
|
23531
|
-
e.value ? (v(), k("div",
|
|
23532
|
-
p("div",
|
|
23533
|
-
p("div",
|
|
23534
|
-
p("table",
|
|
23531
|
+
e.value ? (v(), k("div", A6, [
|
|
23532
|
+
p("div", N6, [
|
|
23533
|
+
p("div", D6, [
|
|
23534
|
+
p("table", I6, [
|
|
23535
23535
|
d[8] || (d[8] = p("thead", { class: "bg-stone-800" }, [
|
|
23536
23536
|
p("tr", null, [
|
|
23537
23537
|
p("th", { class: "px-6 py-3 text-left text-xs text-gray-100 font-normal" }, " Selected HTML: ")
|
|
23538
23538
|
])
|
|
23539
23539
|
], -1)),
|
|
23540
|
-
p("tbody",
|
|
23540
|
+
p("tbody", L6, [
|
|
23541
23541
|
p("tr", null, [
|
|
23542
|
-
p("td",
|
|
23542
|
+
p("td", R6, F((c = e.value) == null ? void 0 : c.outerHTML), 1)
|
|
23543
23543
|
])
|
|
23544
23544
|
])
|
|
23545
23545
|
])
|
|
23546
23546
|
]),
|
|
23547
|
-
p("div", $
|
|
23548
|
-
p("table",
|
|
23547
|
+
p("div", $6, [
|
|
23548
|
+
p("table", _6, [
|
|
23549
23549
|
d[9] || (d[9] = p("thead", { class: "bg-stone-800" }, [
|
|
23550
23550
|
p("tr", null, [
|
|
23551
23551
|
p("th", { class: "px-6 py-3 text-left text-xs text-gray-100 font-normal" }, " Element src: ")
|
|
23552
23552
|
])
|
|
23553
23553
|
], -1)),
|
|
23554
|
-
p("tbody",
|
|
23554
|
+
p("tbody", z6, [
|
|
23555
23555
|
p("tr", null, [
|
|
23556
|
-
p("td",
|
|
23556
|
+
p("td", F6, F((u = e.value) != null && u.src ? (h = e.value) == null ? void 0 : h.src : typeof ((m = e.value) == null ? void 0 : m.src)), 1)
|
|
23557
23557
|
])
|
|
23558
23558
|
])
|
|
23559
23559
|
])
|
|
23560
23560
|
])
|
|
23561
23561
|
]),
|
|
23562
|
-
p("div",
|
|
23563
|
-
p("table",
|
|
23562
|
+
p("div", j6, [
|
|
23563
|
+
p("table", H6, [
|
|
23564
23564
|
d[10] || (d[10] = p("thead", { class: "bg-stone-800" }, [
|
|
23565
23565
|
p("tr", null, [
|
|
23566
23566
|
p("th", { class: "px-6 py-3 text-left text-xs text-gray-100 font-normal" }, " Element classes: ")
|
|
23567
23567
|
])
|
|
23568
23568
|
], -1)),
|
|
23569
|
-
p("tbody",
|
|
23569
|
+
p("tbody", V6, [
|
|
23570
23570
|
p("tr", null, [
|
|
23571
|
-
p("td",
|
|
23571
|
+
p("td", W6, F((f = e.value) != null && f.classList ? (g = e.value) == null ? void 0 : g.classList : typeof ((b = e.value) == null ? void 0 : b.classList)), 1)
|
|
23572
23572
|
])
|
|
23573
23573
|
])
|
|
23574
23574
|
])
|
|
23575
23575
|
])
|
|
23576
23576
|
])) : D("", !0)
|
|
23577
23577
|
])) : D("", !0),
|
|
23578
|
-
i.value === "component" ? (v(), k("div",
|
|
23579
|
-
o.value ? D("", !0) : (v(), k("div",
|
|
23580
|
-
p("p",
|
|
23578
|
+
i.value === "component" ? (v(), k("div", q6, [
|
|
23579
|
+
o.value ? D("", !0) : (v(), k("div", U6, [
|
|
23580
|
+
p("p", K6, F(o.value === null ? "No Component selected" : typeof o.value), 1)
|
|
23581
23581
|
])),
|
|
23582
|
-
o.value ? (v(), k("div",
|
|
23583
|
-
p("div",
|
|
23584
|
-
p("div",
|
|
23585
|
-
p("table",
|
|
23582
|
+
o.value ? (v(), k("div", J6, [
|
|
23583
|
+
p("div", G6, [
|
|
23584
|
+
p("div", Y6, [
|
|
23585
|
+
p("table", X6, [
|
|
23586
23586
|
d[11] || (d[11] = p("thead", { class: "bg-stone-800" }, [
|
|
23587
23587
|
p("tr", null, [
|
|
23588
23588
|
p("th", { class: "px-6 py-3 text-left text-xs text-gray-100 font-normal" }, "ID:")
|
|
23589
23589
|
])
|
|
23590
23590
|
], -1)),
|
|
23591
|
-
p("tbody",
|
|
23591
|
+
p("tbody", Q6, [
|
|
23592
23592
|
p("tr", null, [
|
|
23593
|
-
p("td",
|
|
23593
|
+
p("td", Z6, F((y = o.value) == null ? void 0 : y.id), 1)
|
|
23594
23594
|
])
|
|
23595
23595
|
])
|
|
23596
23596
|
])
|
|
23597
23597
|
]),
|
|
23598
|
-
p("div",
|
|
23599
|
-
p("table",
|
|
23598
|
+
p("div", tS, [
|
|
23599
|
+
p("table", eS, [
|
|
23600
23600
|
d[12] || (d[12] = p("thead", { class: "bg-stone-800" }, [
|
|
23601
23601
|
p("tr", null, [
|
|
23602
23602
|
p("th", { class: "px-6 py-3 text-left text-xs text-gray-100 font-normal border-t" }, " Title: ")
|
|
23603
23603
|
])
|
|
23604
23604
|
], -1)),
|
|
23605
|
-
p("tbody",
|
|
23605
|
+
p("tbody", rS, [
|
|
23606
23606
|
p("tr", null, [
|
|
23607
|
-
p("td",
|
|
23607
|
+
p("td", oS, F((C = o.value) == null ? void 0 : C.title), 1)
|
|
23608
23608
|
])
|
|
23609
23609
|
])
|
|
23610
23610
|
])
|
|
23611
23611
|
])
|
|
23612
23612
|
]),
|
|
23613
|
-
p("div",
|
|
23614
|
-
p("table",
|
|
23613
|
+
p("div", nS, [
|
|
23614
|
+
p("table", iS, [
|
|
23615
23615
|
d[15] || (d[15] = p("thead", { class: "bg-stone-800" }, [
|
|
23616
23616
|
p("tr", null, [
|
|
23617
23617
|
p("th", { class: "px-6 py-3 text-left text-xs text-gray-100 font-normal" }, " HTML Code: ")
|
|
23618
23618
|
])
|
|
23619
23619
|
], -1)),
|
|
23620
|
-
p("tbody",
|
|
23620
|
+
p("tbody", sS, [
|
|
23621
23621
|
p("tr", null, [
|
|
23622
|
-
p("td",
|
|
23623
|
-
p("pre",
|
|
23622
|
+
p("td", aS, [
|
|
23623
|
+
p("pre", lS, [
|
|
23624
23624
|
d[13] || (d[13] = ee(" ")),
|
|
23625
23625
|
p("code", {
|
|
23626
23626
|
class: "font-sans",
|
|
23627
23627
|
innerHTML: a((x = o.value) == null ? void 0 : x.html_code)
|
|
23628
|
-
}, null, 8,
|
|
23628
|
+
}, null, 8, dS),
|
|
23629
23629
|
d[14] || (d[14] = ee(`
|
|
23630
23630
|
`))
|
|
23631
23631
|
])
|
|
@@ -23636,61 +23636,61 @@ const C3 = ["src"], M3 = {
|
|
|
23636
23636
|
])
|
|
23637
23637
|
])) : D("", !0)
|
|
23638
23638
|
])) : D("", !0),
|
|
23639
|
-
i.value === "components" ? (v(), k("div",
|
|
23639
|
+
i.value === "components" ? (v(), k("div", cS, [
|
|
23640
23640
|
p("div", null, [
|
|
23641
|
-
p("p",
|
|
23641
|
+
p("p", uS, F(Array.isArray(n.value) && n.value.length === 0 ? "No Components added yet" : ""), 1)
|
|
23642
23642
|
]),
|
|
23643
|
-
n.value ? (v(), k("div",
|
|
23643
|
+
n.value ? (v(), k("div", pS, [
|
|
23644
23644
|
(v(!0), k(ft, null, kt(n.value, (w) => (v(), k("div", {
|
|
23645
23645
|
key: w.id,
|
|
23646
23646
|
class: "overflow-hidden border border-gray-100 mb-6"
|
|
23647
23647
|
}, [
|
|
23648
|
-
p("div",
|
|
23649
|
-
p("div",
|
|
23650
|
-
p("table",
|
|
23648
|
+
p("div", hS, [
|
|
23649
|
+
p("div", mS, [
|
|
23650
|
+
p("table", fS, [
|
|
23651
23651
|
d[16] || (d[16] = p("thead", { class: "bg-stone-800" }, [
|
|
23652
23652
|
p("tr", null, [
|
|
23653
23653
|
p("th", { class: "px-6 py-3 text-left text-xs text-gray-100 font-normal" }, " ID: ")
|
|
23654
23654
|
])
|
|
23655
23655
|
], -1)),
|
|
23656
|
-
p("tbody",
|
|
23656
|
+
p("tbody", gS, [
|
|
23657
23657
|
p("tr", null, [
|
|
23658
|
-
p("td",
|
|
23658
|
+
p("td", bS, F(w.id), 1)
|
|
23659
23659
|
])
|
|
23660
23660
|
])
|
|
23661
23661
|
])
|
|
23662
23662
|
]),
|
|
23663
|
-
p("div",
|
|
23664
|
-
p("table",
|
|
23663
|
+
p("div", wS, [
|
|
23664
|
+
p("table", yS, [
|
|
23665
23665
|
d[17] || (d[17] = p("thead", { class: "bg-stone-800" }, [
|
|
23666
23666
|
p("tr", null, [
|
|
23667
23667
|
p("th", { class: "px-6 py-3 text-left text-xs text-gray-100 font-normal border-t" }, " Title: ")
|
|
23668
23668
|
])
|
|
23669
23669
|
], -1)),
|
|
23670
|
-
p("tbody",
|
|
23670
|
+
p("tbody", vS, [
|
|
23671
23671
|
p("tr", null, [
|
|
23672
|
-
p("td",
|
|
23672
|
+
p("td", xS, F(w.title), 1)
|
|
23673
23673
|
])
|
|
23674
23674
|
])
|
|
23675
23675
|
])
|
|
23676
23676
|
])
|
|
23677
23677
|
]),
|
|
23678
|
-
p("div",
|
|
23679
|
-
p("table",
|
|
23678
|
+
p("div", kS, [
|
|
23679
|
+
p("table", SS, [
|
|
23680
23680
|
d[20] || (d[20] = p("thead", { class: "bg-stone-800" }, [
|
|
23681
23681
|
p("tr", null, [
|
|
23682
23682
|
p("th", { class: "px-6 py-3 text-left text-xs text-gray-100 font-normal" }, " HTML Code: ")
|
|
23683
23683
|
])
|
|
23684
23684
|
], -1)),
|
|
23685
|
-
p("tbody",
|
|
23685
|
+
p("tbody", CS, [
|
|
23686
23686
|
p("tr", null, [
|
|
23687
|
-
p("td",
|
|
23688
|
-
p("pre",
|
|
23687
|
+
p("td", MS, [
|
|
23688
|
+
p("pre", ES, [
|
|
23689
23689
|
d[18] || (d[18] = ee(" ")),
|
|
23690
23690
|
p("code", {
|
|
23691
23691
|
class: "font-sans",
|
|
23692
23692
|
innerHTML: a(w.html_code)
|
|
23693
|
-
}, null, 8,
|
|
23693
|
+
}, null, 8, TS),
|
|
23694
23694
|
d[19] || (d[19] = ee(`
|
|
23695
23695
|
`))
|
|
23696
23696
|
])
|
|
@@ -23709,13 +23709,13 @@ const C3 = ["src"], M3 = {
|
|
|
23709
23709
|
]);
|
|
23710
23710
|
};
|
|
23711
23711
|
}
|
|
23712
|
-
},
|
|
23712
|
+
}, BS = { class: "flex gap-2 items-center myPrimaryParagraph font-medium text-xs py-1 px-2 rounded-full lg:border lg:border-gray-200 lg:shadow-sm lg:mr-10" }, PS = {
|
|
23713
23713
|
key: 0,
|
|
23714
23714
|
class: "flex items-center myPrimaryTag py-0"
|
|
23715
|
-
},
|
|
23715
|
+
}, AS = { class: "text-white rounded-full bg-myPrimaryBrandColor flex justify-center items-center text-xs h-8 min-h-8 max-h-8 w-8 min-w-8 max-w-8 font-normal" }, NS = { class: "hidden text-xs h-8 lg:flex items-center font-normal" }, DS = {
|
|
23716
23716
|
key: 1,
|
|
23717
23717
|
class: "flex items-center lg:myPrimaryTag py-0 gap-4 w-max"
|
|
23718
|
-
},
|
|
23718
|
+
}, IS = { class: "text-white flex-shrink-0 h-8 w-8 rounded-full flex justify-center items-center text-xs rounded-l-full" }, LS = ["src"], RS = { class: "hidden text-xs h-8 lg:flex items-center font-normal" }, $S = { class: "relative group" }, _S = { class: "absolute left-0 -ml-16 -mt-2 flex flex-col gap-3 shadow-lg bg-white w-max border border-gray-100 rounded-2xl transition-all duration-200 ease-out pt-4 pr-4 pb-4 pl-2 z-30 opacity-0 pointer-events-none -translate-y-2 group-hover:opacity-100 group-hover:pointer-events-auto group-hover:translate-y-0" }, zS = {
|
|
23719
23719
|
__name: "ToolbarOption",
|
|
23720
23720
|
setup(r) {
|
|
23721
23721
|
const t = vt, e = $(() => t.getConfigPageBuilder), o = new Et(t), n = M(!1), i = M(""), s = M(1), a = M(""), l = M(""), d = M(""), c = M(null), u = M(null), h = M(null), m = M(null), f = M(null), g = function() {
|
|
@@ -23736,30 +23736,30 @@ const C3 = ["src"], M3 = {
|
|
|
23736
23736
|
return (S, O) => {
|
|
23737
23737
|
var L;
|
|
23738
23738
|
return v(), k("div", null, [
|
|
23739
|
-
p("div",
|
|
23740
|
-
e.value && e.value.userForPageBuilder && e.value.userForPageBuilder.name && (!e.value.userForPageBuilder.image || typeof e.value.userForPageBuilder.image == "string" && ((L = e.value.userForPageBuilder.image) == null ? void 0 : L.length) < 2) ? (v(), k("div",
|
|
23741
|
-
p("div",
|
|
23742
|
-
p("div",
|
|
23739
|
+
p("div", BS, [
|
|
23740
|
+
e.value && e.value.userForPageBuilder && e.value.userForPageBuilder.name && (!e.value.userForPageBuilder.image || typeof e.value.userForPageBuilder.image == "string" && ((L = e.value.userForPageBuilder.image) == null ? void 0 : L.length) < 2) ? (v(), k("div", PS, [
|
|
23741
|
+
p("div", AS, F(typeof e.value.userForPageBuilder.name == "string" && e.value.userForPageBuilder.name[0]), 1),
|
|
23742
|
+
p("div", NS, F(e.value.userForPageBuilder.name), 1)
|
|
23743
23743
|
])) : D("", !0),
|
|
23744
|
-
e.value && e.value.userForPageBuilder && e.value.userForPageBuilder.name && e.value.userForPageBuilder.image && typeof e.value.userForPageBuilder.image == "string" && e.value.userForPageBuilder.image.length > 2 ? (v(), k("div",
|
|
23745
|
-
p("div",
|
|
23744
|
+
e.value && e.value.userForPageBuilder && e.value.userForPageBuilder.name && e.value.userForPageBuilder.image && typeof e.value.userForPageBuilder.image == "string" && e.value.userForPageBuilder.image.length > 2 ? (v(), k("div", DS, [
|
|
23745
|
+
p("div", IS, [
|
|
23746
23746
|
p("img", {
|
|
23747
23747
|
alt: "avatar",
|
|
23748
23748
|
src: `${e.value.userForPageBuilder.image}`,
|
|
23749
23749
|
class: "block inset-0 object-top h-8 min-h-8 max-h-8 w-8 min-w-8 max-w-8 object-cover rounded-full"
|
|
23750
|
-
}, null, 8,
|
|
23750
|
+
}, null, 8, LS)
|
|
23751
23751
|
]),
|
|
23752
|
-
p("div",
|
|
23752
|
+
p("div", RS, F(e.value.userForPageBuilder.name), 1)
|
|
23753
23753
|
])) : D("", !0),
|
|
23754
23754
|
p("div", null, [
|
|
23755
|
-
p("div", $
|
|
23755
|
+
p("div", $S, [
|
|
23756
23756
|
O[2] || (O[2] = p("button", {
|
|
23757
23757
|
type: "button",
|
|
23758
23758
|
class: "cursor-pointer lg:flex myPrimaryTag font-normal w-max text-xs"
|
|
23759
23759
|
}, [
|
|
23760
23760
|
p("span", null, " Options ")
|
|
23761
23761
|
], -1)),
|
|
23762
|
-
p("div",
|
|
23762
|
+
p("div", _S, [
|
|
23763
23763
|
p("button", {
|
|
23764
23764
|
onClick: O[0] || (O[0] = () => {
|
|
23765
23765
|
A(o).clearHtmlSelection(), C();
|
|
@@ -23792,7 +23792,7 @@ const C3 = ["src"], M3 = {
|
|
|
23792
23792
|
maxHeight: ""
|
|
23793
23793
|
}, {
|
|
23794
23794
|
default: q(() => [
|
|
23795
|
-
W(
|
|
23795
|
+
W(g6)
|
|
23796
23796
|
]),
|
|
23797
23797
|
_: 1
|
|
23798
23798
|
}, 8, ["showModalBuilder"]),
|
|
@@ -23805,7 +23805,7 @@ const C3 = ["src"], M3 = {
|
|
|
23805
23805
|
maxHeight: ""
|
|
23806
23806
|
}, {
|
|
23807
23807
|
default: q(() => [
|
|
23808
|
-
W(
|
|
23808
|
+
W(OS)
|
|
23809
23809
|
]),
|
|
23810
23810
|
_: 1
|
|
23811
23811
|
}, 8, ["showModalBuilder"]),
|
|
@@ -23834,30 +23834,30 @@ const C3 = ["src"], M3 = {
|
|
|
23834
23834
|
}
|
|
23835
23835
|
};
|
|
23836
23836
|
let Aa = null;
|
|
23837
|
-
function
|
|
23837
|
+
function FS() {
|
|
23838
23838
|
return (r, t = 300) => {
|
|
23839
23839
|
Aa && clearTimeout(Aa), Aa = setTimeout(r, t);
|
|
23840
23840
|
};
|
|
23841
23841
|
}
|
|
23842
|
-
const
|
|
23842
|
+
const jS = {
|
|
23843
23843
|
id: "builder-container",
|
|
23844
23844
|
class: "font-sans max-w-full m-1 border border-gray-600 inset-x-0 z-10 bg-white overflow-x-scroll"
|
|
23845
|
-
},
|
|
23845
|
+
}, HS = {
|
|
23846
23846
|
id: "pagebuilder-top-area",
|
|
23847
23847
|
class: "lg:px-4 pt-2 pb-4 mx-4 mb-4 mt-2"
|
|
23848
|
-
},
|
|
23848
|
+
}, VS = {
|
|
23849
23849
|
key: 0,
|
|
23850
23850
|
class: "flex items-center divide-x divide-gray-200"
|
|
23851
|
-
},
|
|
23851
|
+
}, WS = {
|
|
23852
23852
|
id: "pagebuilder-logo-main",
|
|
23853
23853
|
class: "pr-4"
|
|
23854
|
-
},
|
|
23854
|
+
}, qS = ["src"], US = { key: 1 }, KS = { class: "relative h-full flex pb-2 gap-2" }, JS = { class: "mx-2 flex flex-col myPrimaryGap items-stretch" }, GS = { class: "flex gap-2 items-center justify-center" }, YS = {
|
|
23855
23855
|
id: "pagebuilder-toolbar-area",
|
|
23856
23856
|
class: "flex items-center justify-between rounded-t-2xl bg-myPrimaryLightGrayColor min-w-[30rem]"
|
|
23857
|
-
},
|
|
23857
|
+
}, XS = ["disabled"], QS = {
|
|
23858
23858
|
key: 0,
|
|
23859
23859
|
class: "h-10 w-4 cursor-pointer rounded-full flex items-center justify-center"
|
|
23860
|
-
},
|
|
23860
|
+
}, ZS = {
|
|
23861
23861
|
key: 1,
|
|
23862
23862
|
class: "h-10 w-4 cursor-pointer rounded-full flex items-center justify-center"
|
|
23863
23863
|
}, tC = { class: "flex items-center justify-center gap-4" }, eC = {
|
|
@@ -23896,7 +23896,7 @@ const j6 = {
|
|
|
23896
23896
|
style: x.value.getAttribute("style"),
|
|
23897
23897
|
class: x.value.getAttribute("class"),
|
|
23898
23898
|
dataImage: x.value.getAttribute("data-image")
|
|
23899
|
-
}), T =
|
|
23899
|
+
}), T = FS();
|
|
23900
23900
|
pt(w, async (X, R) => {
|
|
23901
23901
|
((X == null ? void 0 : X.src) !== (R == null ? void 0 : R.src) || (X == null ? void 0 : X.href) !== (R == null ? void 0 : R.href) || (X == null ? void 0 : X.style) !== (R == null ? void 0 : R.style) || (X == null ? void 0 : X.class) !== (R == null ? void 0 : R.class) || (X == null ? void 0 : X.dataImage) !== (R == null ? void 0 : R.dataImage)) && T(async () => {
|
|
23902
23902
|
await n.handleAutoSave(), await n.initializeElementStyles();
|
|
@@ -23934,8 +23934,8 @@ const j6 = {
|
|
|
23934
23934
|
return or(async () => {
|
|
23935
23935
|
const X = s.value;
|
|
23936
23936
|
j(X), n.updateLocalStorageItemName(), n.deleteOldPageBuilderLocalStorage(), await n.clearHtmlSelection(), await n.addListenersToEditableElements(), await n.hasLocalDraftForUpdate() && ue();
|
|
23937
|
-
}), (X, R) => (v(), k("div",
|
|
23938
|
-
p("div",
|
|
23937
|
+
}), (X, R) => (v(), k("div", jS, [
|
|
23938
|
+
p("div", HS, [
|
|
23939
23939
|
p("div", {
|
|
23940
23940
|
onClick: R[1] || (R[1] = qe((ut) => A(n).clearHtmlSelection(), ["self"])),
|
|
23941
23941
|
class: "flex justify-between items-center pb-2 border-b border-gray-200"
|
|
@@ -23943,23 +23943,23 @@ const j6 = {
|
|
|
23943
23943
|
p("div", {
|
|
23944
23944
|
onClick: R[0] || (R[0] = (ut) => A(n).clearHtmlSelection())
|
|
23945
23945
|
}, [
|
|
23946
|
-
s.value && s.value.pageBuilderLogo && s.value.pageBuilderLogo.src ? (v(), k("div",
|
|
23947
|
-
p("div",
|
|
23946
|
+
s.value && s.value.pageBuilderLogo && s.value.pageBuilderLogo.src ? (v(), k("div", VS, [
|
|
23947
|
+
p("div", WS, [
|
|
23948
23948
|
p("img", {
|
|
23949
23949
|
class: "h-6",
|
|
23950
23950
|
src: s.value.pageBuilderLogo.src,
|
|
23951
23951
|
alt: "Logo"
|
|
23952
|
-
}, null, 8,
|
|
23952
|
+
}, null, 8, qS)
|
|
23953
23953
|
]),
|
|
23954
23954
|
R[17] || (R[17] = p("span", { class: "myPrimaryParagraph font-medium pl-4" }, "Editing Page ", -1))
|
|
23955
|
-
])) : (v(), k("div",
|
|
23955
|
+
])) : (v(), k("div", US, R[18] || (R[18] = [
|
|
23956
23956
|
p("div", { class: "pr-6" }, [
|
|
23957
23957
|
p("span", { class: "myPrimaryParagraph font-medium" }, "Editing Page ")
|
|
23958
23958
|
], -1)
|
|
23959
23959
|
])))
|
|
23960
23960
|
]),
|
|
23961
23961
|
p("div", null, [
|
|
23962
|
-
W(
|
|
23962
|
+
W(zS)
|
|
23963
23963
|
])
|
|
23964
23964
|
])
|
|
23965
23965
|
]),
|
|
@@ -24004,14 +24004,14 @@ const j6 = {
|
|
|
24004
24004
|
__: [19]
|
|
24005
24005
|
}, 8, ["showDynamicModalBuilder", "isLoading", "type", "gridColumnAmount", "title", "description", "firstButtonText", "secondButtonText", "thirdButtonText", "onFirstModalButtonFunctionDynamicModalBuilder", "onSecondModalButtonFunctionDynamicModalBuilder", "onThirdModalButtonFunctionDynamicModalBuilder"]),
|
|
24006
24006
|
p("div", null, [
|
|
24007
|
-
p("div",
|
|
24007
|
+
p("div", KS, [
|
|
24008
24008
|
p("div", {
|
|
24009
24009
|
onClick: R[4] || (R[4] = qe((ut) => A(n).clearHtmlSelection(), ["self"])),
|
|
24010
24010
|
id: "pagebuilder-left-area",
|
|
24011
24011
|
class: "min-w-[3.5rem] pt-6 pb-2 ml-2 bg-myPrimaryLightGrayColor rounded-full shadow-sm"
|
|
24012
24012
|
}, [
|
|
24013
|
-
p("div",
|
|
24014
|
-
p("div",
|
|
24013
|
+
p("div", JS, [
|
|
24014
|
+
p("div", GS, [
|
|
24015
24015
|
p("button", {
|
|
24016
24016
|
type: "button",
|
|
24017
24017
|
onClick: R[2] || (R[2] = () => {
|
|
@@ -24032,7 +24032,7 @@ const j6 = {
|
|
|
24032
24032
|
p("main", {
|
|
24033
24033
|
class: Q(["flex flex-col h-full grow rounded-tr-2xl rounded-tl-2xl border border-gray-200 items-stretch", { "mr-2": !l.value, "": l.value }])
|
|
24034
24034
|
}, [
|
|
24035
|
-
p("div",
|
|
24035
|
+
p("div", YS, [
|
|
24036
24036
|
p("div", {
|
|
24037
24037
|
onClick: R[6] || (R[6] = qe((ut) => A(n).clearHtmlSelection(), ["self"])),
|
|
24038
24038
|
class: "flex myPrimaryGap items-center pt-4 pb-2 pl-2 h-24 w-full min-w-36"
|
|
@@ -24048,17 +24048,17 @@ const j6 = {
|
|
|
24048
24048
|
type: "button",
|
|
24049
24049
|
disabled: a.value
|
|
24050
24050
|
}, [
|
|
24051
|
-
a.value ? D("", !0) : (v(), k("div",
|
|
24051
|
+
a.value ? D("", !0) : (v(), k("div", QS, R[21] || (R[21] = [
|
|
24052
24052
|
p("span", { class: "material-symbols-outlined" }, "save", -1)
|
|
24053
24053
|
]))),
|
|
24054
|
-
a.value ? (v(), k("div",
|
|
24054
|
+
a.value ? (v(), k("div", ZS, R[22] || (R[22] = [
|
|
24055
24055
|
p("span", { class: "relative flex size-3" }, [
|
|
24056
24056
|
p("span", { class: "absolute inline-flex h-full w-full animate-ping rounded-full bg-gray-400 opacity-75" }),
|
|
24057
24057
|
p("span", { class: "relative inline-flex size-3 rounded-full bg-green-200" })
|
|
24058
24058
|
], -1)
|
|
24059
24059
|
]))) : D("", !0),
|
|
24060
24060
|
R[23] || (R[23] = p("div", null, "Save", -1))
|
|
24061
|
-
], 8,
|
|
24061
|
+
], 8, XS)
|
|
24062
24062
|
]),
|
|
24063
24063
|
p("div", {
|
|
24064
24064
|
onClick: R[10] || (R[10] = qe((ut) => A(n).clearHtmlSelection(), ["self"])),
|