@templatical/editor 0.39.2 → 0.39.3

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.
Files changed (137) hide show
  1. package/dist/{AiChatSidebar-pOxCZWz9.js → AiChatSidebar-5qqrS6uy.js} +69 -63
  2. package/dist/{AiFeatureMenu-Bljk6Qjv.js → AiFeatureMenu-BBO_Ojlp.js} +1 -1
  3. package/dist/{BlockPreviewCanvas-DXGjUECG.js → BlockPreviewCanvas-BMC16_QU.js} +1 -1
  4. package/dist/{CloudHeaderExtras-DaocwNmy.js → CloudHeaderExtras-Cg6uF-yQ.js} +1 -1
  5. package/dist/{CloudPanels-CyZAnSJY.js → CloudPanels-D1Gg4qrG.js} +80 -66
  6. package/dist/{CollaboratorBar-C7Zca3g1.js → CollaboratorBar-Cmn0LccS.js} +3 -3
  7. package/dist/{CommentsPanel-CNOb7YCm.js → CommentsPanel-twNhYUqZ.js} +1 -1
  8. package/dist/{CommentsSidebar-VmwjU9va.js → CommentsSidebar-DDO0Qx8U.js} +122 -112
  9. package/dist/{CountdownToolbar-C2kfS6Oy.js → CountdownToolbar-nvHxu8Gu.js} +1 -1
  10. package/dist/DesignReferenceSidebar-C8ohNhOd.js +280 -0
  11. package/dist/{IssuesPanel-DL2Xr14_.js → IssuesPanel-Ck0EGoV5.js} +4 -4
  12. package/dist/{LoadingTrack-C2jKCU2d.js → LoadingTrack-C1Epulqq.js} +1 -1
  13. package/dist/{ParagraphEditor-DkkPSexG.js → ParagraphEditor-D6FRxr8Y.js} +2 -2
  14. package/dist/{RestoreVersionDialog-BgueZnZr.js → RestoreVersionDialog--b0qfNaK.js} +1 -1
  15. package/dist/{SaveBlockDialog-BuTuVlLr.js → SaveBlockDialog-C0BdEGeL.js} +6 -6
  16. package/dist/{SavedBlocksBrowserModal-Srhix8BB.js → SavedBlocksBrowserModal-BzDgXtr4.js} +8 -8
  17. package/dist/{SavedBlocksPanels-B2iScCS-.js → SavedBlocksPanels-DN-bDZzy.js} +1 -1
  18. package/dist/SavedBlocksPickBar-pEi9Et8Q.js +53 -0
  19. package/dist/{TemplateScoringPanel-C2Rdlyn6.js → TemplateScoringPanel-B1wcfE0w.js} +62 -56
  20. package/dist/{TestEmailModal-DJ5q_u4N.js → TestEmailModal-maM8SLBV.js} +6 -6
  21. package/dist/{TestEmailPanel-CP24UGst.js → TestEmailPanel-8iAZYpCK.js} +1 -1
  22. package/dist/{TitleEditor-QBBOXtxx.js → TitleEditor-L26QXwna.js} +1 -1
  23. package/dist/{Toolbar-COD2TW20.js → Toolbar-B2kDLFhn.js} +314 -314
  24. package/dist/{TplModal-C8xGjC1l.js → TplModal-DVMS_nAn.js} +1 -1
  25. package/dist/{VersionHistoryPanels-BrK6na4A.js → VersionHistoryPanels-D8f8KvKX.js} +1 -1
  26. package/dist/bundle-stats.json +6 -6
  27. package/dist/{ca-YlPDhElv.js → ca-Bqeygp1_.js} +1 -0
  28. package/dist/cdn/chunks/{AiChatSidebar-CjSEoK4x.js → AiChatSidebar-ctfIU4i0.js} +67 -61
  29. package/dist/cdn/chunks/AiChatSidebar-ctfIU4i0.js.map +1 -0
  30. package/dist/cdn/chunks/{AiFeatureMenu-l0K5TOSn.js → AiFeatureMenu-ByygdH_9.js} +2 -2
  31. package/dist/cdn/chunks/{AiFeatureMenu-l0K5TOSn.js.map → AiFeatureMenu-ByygdH_9.js.map} +1 -1
  32. package/dist/cdn/chunks/{BlockPreviewCanvas-lQrAdgG3.js → BlockPreviewCanvas-DeS7Sa--.js} +2 -2
  33. package/dist/cdn/chunks/{BlockPreviewCanvas-lQrAdgG3.js.map → BlockPreviewCanvas-DeS7Sa--.js.map} +1 -1
  34. package/dist/cdn/chunks/{CloudHeaderExtras-CXNe7Q-4.js → CloudHeaderExtras-BxsMpvVr.js} +2 -2
  35. package/dist/cdn/chunks/{CloudHeaderExtras-CXNe7Q-4.js.map → CloudHeaderExtras-BxsMpvVr.js.map} +1 -1
  36. package/dist/cdn/chunks/{CloudPanels-bHhh9AUA.js → CloudPanels-DmxmqAS_.js} +78 -64
  37. package/dist/cdn/chunks/CloudPanels-DmxmqAS_.js.map +1 -0
  38. package/dist/cdn/chunks/{CollaboratorBar-DgqcaGGI.js → CollaboratorBar-B8ttqAqX.js} +4 -4
  39. package/dist/cdn/chunks/CollaboratorBar-B8ttqAqX.js.map +1 -0
  40. package/dist/cdn/chunks/{CommentsPanel-Cy4TlTHC.js → CommentsPanel-C8ibhaiK.js} +2 -2
  41. package/dist/cdn/chunks/{CommentsPanel-Cy4TlTHC.js.map → CommentsPanel-C8ibhaiK.js.map} +1 -1
  42. package/dist/cdn/chunks/{CommentsSidebar-C7oAP3Mx.js → CommentsSidebar-CybWfZ3V.js} +118 -108
  43. package/dist/cdn/chunks/CommentsSidebar-CybWfZ3V.js.map +1 -0
  44. package/dist/cdn/chunks/{CountdownToolbar-CN9h4nlC.js → CountdownToolbar-DRESXiVD.js} +2 -2
  45. package/dist/cdn/chunks/{CountdownToolbar-CN9h4nlC.js.map → CountdownToolbar-DRESXiVD.js.map} +1 -1
  46. package/dist/cdn/chunks/DesignReferenceSidebar-CtaoY-hl.js +230 -0
  47. package/dist/cdn/chunks/DesignReferenceSidebar-CtaoY-hl.js.map +1 -0
  48. package/dist/cdn/chunks/{IssuesPanel-DdFk-Blf.js → IssuesPanel-C6RlIxoi.js} +5 -5
  49. package/dist/cdn/chunks/IssuesPanel-C6RlIxoi.js.map +1 -0
  50. package/dist/cdn/chunks/{LoadingTrack-Ba5xh5HD.js → LoadingTrack-_7DH_5aw.js} +2 -2
  51. package/dist/cdn/chunks/{LoadingTrack-Ba5xh5HD.js.map → LoadingTrack-_7DH_5aw.js.map} +1 -1
  52. package/dist/cdn/chunks/{ParagraphEditor-DO4RzP8l.js → ParagraphEditor-R2ph_UOo.js} +3 -3
  53. package/dist/cdn/chunks/ParagraphEditor-R2ph_UOo.js.map +1 -0
  54. package/dist/cdn/chunks/{RestoreVersionDialog-CzZ_sFnz.js → RestoreVersionDialog-C-dwbb7T.js} +2 -2
  55. package/dist/cdn/chunks/{RestoreVersionDialog-CzZ_sFnz.js.map → RestoreVersionDialog-C-dwbb7T.js.map} +1 -1
  56. package/dist/cdn/chunks/{SaveBlockDialog-LgxYrXyx.js → SaveBlockDialog-C_BPjVv6.js} +7 -7
  57. package/dist/cdn/chunks/SaveBlockDialog-C_BPjVv6.js.map +1 -0
  58. package/dist/cdn/chunks/{SavedBlocksBrowserModal-CdeSsTpb.js → SavedBlocksBrowserModal-CrrGEfFb.js} +9 -9
  59. package/dist/cdn/chunks/SavedBlocksBrowserModal-CrrGEfFb.js.map +1 -0
  60. package/dist/cdn/chunks/{SavedBlocksPanels-B5hakNJj.js → SavedBlocksPanels-DfTaMPAr.js} +2 -2
  61. package/dist/cdn/chunks/{SavedBlocksPanels-B5hakNJj.js.map → SavedBlocksPanels-DfTaMPAr.js.map} +1 -1
  62. package/dist/cdn/chunks/SavedBlocksPickBar-DziwHYSu.js +55 -0
  63. package/dist/cdn/chunks/SavedBlocksPickBar-DziwHYSu.js.map +1 -0
  64. package/dist/cdn/chunks/{TemplateScoringPanel--JxR6CsQ.js → TemplateScoringPanel-CR6RG6dZ.js} +95 -89
  65. package/dist/cdn/chunks/TemplateScoringPanel-CR6RG6dZ.js.map +1 -0
  66. package/dist/cdn/chunks/{TestEmailModal-BAuDxJtD.js → TestEmailModal-DId9Og-N.js} +7 -7
  67. package/dist/cdn/chunks/TestEmailModal-DId9Og-N.js.map +1 -0
  68. package/dist/cdn/chunks/{TestEmailPanel-GUGZisLp.js → TestEmailPanel-B8LwXmeX.js} +2 -2
  69. package/dist/cdn/chunks/{TestEmailPanel-GUGZisLp.js.map → TestEmailPanel-B8LwXmeX.js.map} +1 -1
  70. package/dist/cdn/chunks/{TitleEditor-uKu33Nwr.js → TitleEditor-C7KMzX1e.js} +2 -2
  71. package/dist/cdn/chunks/{TitleEditor-uKu33Nwr.js.map → TitleEditor-C7KMzX1e.js.map} +1 -1
  72. package/dist/cdn/chunks/{Toolbar-dxDYwN5E.js → Toolbar-DqFhWxgW.js} +310 -310
  73. package/dist/cdn/chunks/Toolbar-DqFhWxgW.js.map +1 -0
  74. package/dist/cdn/chunks/{TplModal-DuwS2ifK.js → TplModal-BKqDFLq3.js} +2 -2
  75. package/dist/cdn/chunks/{TplModal-DuwS2ifK.js.map → TplModal-BKqDFLq3.js.map} +1 -1
  76. package/dist/cdn/chunks/{VersionHistoryPanels-GeR6MStB.js → VersionHistoryPanels-DcCFFDK6.js} +2 -2
  77. package/dist/cdn/chunks/{VersionHistoryPanels-GeR6MStB.js.map → VersionHistoryPanels-DcCFFDK6.js.map} +1 -1
  78. package/dist/cdn/chunks/{ca-YlPDhElv.js → ca-Bqeygp1_.js} +2 -1
  79. package/dist/cdn/chunks/{ca-YlPDhElv.js.map → ca-Bqeygp1_.js.map} +1 -1
  80. package/dist/cdn/chunks/{de-CONjnzrF.js → de-CY6SlqBx.js} +2 -1
  81. package/dist/cdn/chunks/{de-CONjnzrF.js.map → de-CY6SlqBx.js.map} +1 -1
  82. package/dist/{de-BytZwgn6.js → cdn/chunks/de-mMY5yQJu.js} +5 -0
  83. package/dist/cdn/chunks/de-mMY5yQJu.js.map +1 -0
  84. package/dist/cdn/chunks/{en-BAMooiOF.js → en-8V-2kDcp.js} +2 -1
  85. package/dist/cdn/chunks/{en-BAMooiOF.js.map → en-8V-2kDcp.js.map} +1 -1
  86. package/dist/{en-DyOSV0lY.js → cdn/chunks/en-ChVeGQBY.js} +5 -0
  87. package/dist/cdn/chunks/en-ChVeGQBY.js.map +1 -0
  88. package/dist/cdn/chunks/{es-I47lHs2m.js → es-Cmn1rT3l.js} +2 -1
  89. package/dist/cdn/chunks/{es-I47lHs2m.js.map → es-Cmn1rT3l.js.map} +1 -1
  90. package/dist/cdn/chunks/{fr-B8MIKjT4.js → fr-2yDa4zXM.js} +2 -1
  91. package/dist/cdn/chunks/{fr-B8MIKjT4.js.map → fr-2yDa4zXM.js.map} +1 -1
  92. package/dist/cdn/chunks/{nl-CBLxcb-0.js → nl-Bzk2zRI8.js} +2 -1
  93. package/dist/cdn/chunks/{nl-CBLxcb-0.js.map → nl-Bzk2zRI8.js.map} +1 -1
  94. package/dist/cdn/chunks/{pt-BR-C1WLSGDh.js → pt-BR-CoCwRUi0.js} +4 -1
  95. package/dist/cdn/chunks/pt-BR-CoCwRUi0.js.map +1 -0
  96. package/dist/cdn/chunks/{pt-BR-CMSRfX7t.js → pt-BR-DqtSCTUi.js} +2 -1
  97. package/dist/cdn/chunks/{pt-BR-CMSRfX7t.js.map → pt-BR-DqtSCTUi.js.map} +1 -1
  98. package/dist/cdn/chunks/{src-O5Sp_qJ7.js → src-kSeXM7B2.js} +2 -2
  99. package/dist/cdn/chunks/{src-O5Sp_qJ7.js.map → src-kSeXM7B2.js.map} +1 -1
  100. package/dist/cdn/chunks/{useEditorCore-BHmIp1hW.js → useEditorCore-CXYI14ux.js} +14 -14
  101. package/dist/cdn/chunks/{useEditorCore-BHmIp1hW.js.map → useEditorCore-CXYI14ux.js.map} +1 -1
  102. package/dist/cdn/editor.css +1 -1
  103. package/dist/cdn/editor.js +14 -14
  104. package/dist/cdn/editor.js.map +1 -1
  105. package/dist/{de-CONjnzrF.js → de-CY6SlqBx.js} +1 -0
  106. package/dist/{cdn/chunks/de-BytZwgn6.js → de-mMY5yQJu.js} +3 -2
  107. package/dist/{en-BAMooiOF.js → en-8V-2kDcp.js} +1 -0
  108. package/dist/{cdn/chunks/en-DyOSV0lY.js → en-ChVeGQBY.js} +3 -2
  109. package/dist/{es-I47lHs2m.js → es-Cmn1rT3l.js} +1 -0
  110. package/dist/{fr-B8MIKjT4.js → fr-2yDa4zXM.js} +1 -0
  111. package/dist/{nl-CBLxcb-0.js → nl-Bzk2zRI8.js} +1 -0
  112. package/dist/{pt-BR-C1WLSGDh.js → pt-BR-CoCwRUi0.js} +3 -0
  113. package/dist/{pt-BR-CMSRfX7t.js → pt-BR-DqtSCTUi.js} +1 -0
  114. package/dist/style.css +1 -1
  115. package/dist/templatical-editor.js +13 -13
  116. package/dist/{useEditorCore-C5APBjjV.js → useEditorCore-BUVbQgwb.js} +13 -13
  117. package/package.json +7 -7
  118. package/dist/DesignReferenceSidebar-QC4gEUWp.js +0 -273
  119. package/dist/SavedBlocksPickBar-cI7bDQQi.js +0 -52
  120. package/dist/cdn/chunks/AiChatSidebar-CjSEoK4x.js.map +0 -1
  121. package/dist/cdn/chunks/CloudPanels-bHhh9AUA.js.map +0 -1
  122. package/dist/cdn/chunks/CollaboratorBar-DgqcaGGI.js.map +0 -1
  123. package/dist/cdn/chunks/CommentsSidebar-C7oAP3Mx.js.map +0 -1
  124. package/dist/cdn/chunks/DesignReferenceSidebar-Bjo0M-AY.js +0 -223
  125. package/dist/cdn/chunks/DesignReferenceSidebar-Bjo0M-AY.js.map +0 -1
  126. package/dist/cdn/chunks/IssuesPanel-DdFk-Blf.js.map +0 -1
  127. package/dist/cdn/chunks/ParagraphEditor-DO4RzP8l.js.map +0 -1
  128. package/dist/cdn/chunks/SaveBlockDialog-LgxYrXyx.js.map +0 -1
  129. package/dist/cdn/chunks/SavedBlocksBrowserModal-CdeSsTpb.js.map +0 -1
  130. package/dist/cdn/chunks/SavedBlocksPickBar-Cl6PLwwV.js +0 -54
  131. package/dist/cdn/chunks/SavedBlocksPickBar-Cl6PLwwV.js.map +0 -1
  132. package/dist/cdn/chunks/TemplateScoringPanel--JxR6CsQ.js.map +0 -1
  133. package/dist/cdn/chunks/TestEmailModal-BAuDxJtD.js.map +0 -1
  134. package/dist/cdn/chunks/Toolbar-dxDYwN5E.js.map +0 -1
  135. package/dist/cdn/chunks/de-BytZwgn6.js.map +0 -1
  136. package/dist/cdn/chunks/en-DyOSV0lY.js.map +0 -1
  137. package/dist/cdn/chunks/pt-BR-C1WLSGDh.js.map +0 -1
@@ -9,18 +9,18 @@ import { a as ue } from "./usePopoverPosition-gB9q-ql7.js";
9
9
  import { $ as de, D as fe, Et as pe, It as me, Mt as he, Ot as ge, U as R, d as _e, dt as ve, et as z, ft as ye, g as B, h as V, it as be, m as H, n as xe, nt as Se, rt as Ce, s as we, z as Te } from "./icons-BKkJ-5xF.js";
10
10
  import { t as Ee } from "./_plugin-vue_export-helper-B3ysoDQm.js";
11
11
  import { t as De } from "./useAliveFlag-DAlQLbM2.js";
12
- import { _ as Oe, b as ke, c as Ae, g as U, h as W, m as G, p as K, r as je } from "./styleConstants-C_YAPdQS.js";
13
- import { t as Me } from "./blockTypeIcons-raBjStuv.js";
12
+ import { _ as Oe, b as ke, c as Ae, g as U, h as W, m as G, p as K, r as je, v as Me } from "./styleConstants-C_YAPdQS.js";
13
+ import { t as Ne } from "./blockTypeIcons-raBjStuv.js";
14
14
  import { c as q } from "./LogicTagInsertButton-DpyPozop.js";
15
- import { n as Ne, t as J } from "./ToggleSwitch-CDy8OfcB.js";
15
+ import { n as Pe, t as J } from "./ToggleSwitch-CDy8OfcB.js";
16
16
  import { t as Y } from "./MergeTagInput-ERJr7bP_.js";
17
17
  //#region src/components/SlidingPillSelect.vue?vue&type=script&setup=true&lang.ts
18
- var Pe = [
18
+ var Fe = [
19
19
  "aria-checked",
20
20
  "aria-label",
21
21
  "title",
22
22
  "onClick"
23
- ], Fe = { key: 1 }, X = /* @__PURE__ */ l({
23
+ ], Ie = { key: 1 }, X = /* @__PURE__ */ l({
24
24
  __name: "SlidingPillSelect",
25
25
  props: {
26
26
  options: {},
@@ -63,12 +63,12 @@ var Pe = [
63
63
  key: 0,
64
64
  size: 14,
65
65
  "stroke-width": 2
66
- })) : (o(), g("span", Fe, w(t.label), 1))], 12, Pe))), 128))], 4));
66
+ })) : (o(), g("span", Ie, w(t.label), 1))], 12, Fe))), 128))], 4));
67
67
  }
68
- }), Ie = { class: "tpl:mb-3.5" }, Le = ["value"], Re = { value: "" }, ze = ["value"], Be = { class: "tpl:mb-3.5" }, Ve = { class: "tpl:mb-3.5" }, He = { class: "tpl:mb-3.5" }, Ue = { class: "tpl:mb-3.5" }, We = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-3" }, Ge = { class: "tpl:mb-3.5" }, Ke = { class: "tpl:flex tpl:items-stretch" }, qe = ["value"], Je = { class: "tpl:mb-3.5" }, Ye = { class: "tpl:flex tpl:items-stretch" }, Xe = ["value"], Ze = { class: "tpl:mb-3.5" }, Qe = ["value"], $e = { value: "auto" }, et = { value: "full" }, tt = { value: "custom" }, nt = {
68
+ }), Le = { class: "tpl:mb-3.5" }, Re = ["value"], ze = { value: "" }, Be = ["value"], Ve = { class: "tpl:mb-3.5" }, He = { class: "tpl:mb-3.5" }, Ue = { class: "tpl:mb-3.5" }, We = { class: "tpl:mb-3.5" }, Ge = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-3" }, Ke = { class: "tpl:mb-3.5" }, qe = { class: "tpl:flex tpl:items-stretch" }, Je = ["value"], Ye = { class: "tpl:mb-3.5" }, Xe = { class: "tpl:flex tpl:items-stretch" }, Ze = ["value"], Qe = { class: "tpl:mb-3.5" }, $e = ["value"], et = { value: "auto" }, tt = { value: "full" }, nt = { value: "custom" }, rt = {
69
69
  key: 0,
70
70
  class: "tpl:mt-2 tpl:flex tpl:items-stretch"
71
- }, rt = ["value"], it = { class: "tpl:mb-3.5" }, at = 200, ot = /* @__PURE__ */ l({
71
+ }, it = ["value"], at = { class: "tpl:mb-3.5" }, ot = 200, st = /* @__PURE__ */ l({
72
72
  __name: "ButtonToolbar",
73
73
  props: {
74
74
  block: {},
@@ -86,7 +86,7 @@ var Pe = [
86
86
  return;
87
87
  }
88
88
  if (e === "custom") {
89
- c("width", typeof n.block.width == "number" ? n.block.width : at);
89
+ c("width", typeof n.block.width == "number" ? n.block.width : ot);
90
90
  return;
91
91
  }
92
92
  c("width", void 0);
@@ -96,20 +96,20 @@ var Pe = [
96
96
  !Number.isFinite(t) || t <= 0 || c("width", t);
97
97
  }
98
98
  return (t, n) => (o(), g(C, null, [
99
- x("div", Ie, [x("label", { class: m(f(U)) }, w(f(a).button.fontFamily), 3), x("select", {
99
+ x("div", Le, [x("label", { class: m(f(U)) }, w(f(a).button.fontFamily), 3), x("select", {
100
100
  class: m(f(K)),
101
101
  value: e.block.fontFamily || "",
102
102
  onChange: n[0] ||= (e) => c("fontFamily", e.target.value || void 0)
103
- }, [x("option", Re, w(f(a).button.inheritFont), 1), (o(!0), g(C, null, r(e.fontFamilies, (e) => (o(), g("option", {
103
+ }, [x("option", ze, w(f(a).button.inheritFont), 1), (o(!0), g(C, null, r(e.fontFamilies, (e) => (o(), g("option", {
104
104
  key: e.value,
105
105
  value: e.value
106
- }, w(e.label), 9, ze))), 128))], 42, Le)]),
107
- x("div", Be, [x("label", { class: m(f(U)) }, w(f(a).button.text), 3), p(Y, {
106
+ }, w(e.label), 9, Be))), 128))], 42, Re)]),
107
+ x("div", Ve, [x("label", { class: m(f(U)) }, w(f(a).button.text), 3), p(Y, {
108
108
  "model-value": e.block.text,
109
109
  type: "text",
110
110
  "onUpdate:modelValue": n[1] ||= (e) => c("text", e)
111
111
  }, null, 8, ["model-value"])]),
112
- x("div", Ve, [
112
+ x("div", He, [
113
113
  x("label", { class: m(f(U)) }, w(f(a).button.url), 3),
114
114
  p(Y, {
115
115
  "model-value": e.block.url,
@@ -125,49 +125,49 @@ var Pe = [
125
125
  "onUpdate:modelValue": n[3] ||= (e) => c("openInNewTab", e)
126
126
  }, null, 8, ["model-value", "label"])) : _("", !0)
127
127
  ]),
128
- x("div", He, [x("label", { class: m(f(U)) }, w(f(a).button.background), 3), p(q, {
128
+ x("div", Ue, [x("label", { class: m(f(U)) }, w(f(a).button.background), 3), p(q, {
129
129
  "model-value": e.block.backgroundColor,
130
130
  "onUpdate:modelValue": n[4] ||= (e) => c("backgroundColor", e)
131
131
  }, null, 8, ["model-value"])]),
132
- x("div", Ue, [x("label", { class: m(f(U)) }, w(f(a).button.textColor), 3), p(q, {
132
+ x("div", We, [x("label", { class: m(f(U)) }, w(f(a).button.textColor), 3), p(q, {
133
133
  "model-value": e.block.textColor,
134
134
  "onUpdate:modelValue": n[5] ||= (e) => c("textColor", e)
135
135
  }, null, 8, ["model-value"])]),
136
- x("div", We, [x("div", Ge, [x("label", { class: m(f(U)) }, w(f(a).button.borderRadius), 3), x("div", Ke, [x("input", {
136
+ x("div", Ge, [x("div", Ke, [x("label", { class: m(f(U)) }, w(f(a).button.borderRadius), 3), x("div", qe, [x("input", {
137
137
  type: "number",
138
138
  class: m(f(G)),
139
139
  value: e.block.borderRadius,
140
140
  min: "0",
141
141
  max: "50",
142
142
  onInput: n[6] ||= (e) => c("borderRadius", Number(e.target.value))
143
- }, null, 42, qe), x("span", { class: m(f(W)) }, "px", 2)])]), x("div", Je, [x("label", { class: m(f(U)) }, w(f(a).button.fontSize), 3), x("div", Ye, [x("input", {
143
+ }, null, 42, Je), x("span", { class: m(f(W)) }, "px", 2)])]), x("div", Ye, [x("label", { class: m(f(U)) }, w(f(a).button.fontSize), 3), x("div", Xe, [x("input", {
144
144
  type: "number",
145
145
  class: m(f(G)),
146
146
  value: e.block.fontSize,
147
147
  min: "10",
148
148
  max: "36",
149
149
  onInput: n[7] ||= (e) => c("fontSize", Number(e.target.value))
150
- }, null, 42, Xe), x("span", { class: m(f(W)) }, "px", 2)])])]),
151
- x("div", Ze, [
150
+ }, null, 42, Ze), x("span", { class: m(f(W)) }, "px", 2)])])]),
151
+ x("div", Qe, [
152
152
  x("label", { class: m(f(U)) }, w(f(a).button.width), 3),
153
153
  x("select", {
154
154
  class: m(f(K)),
155
155
  value: s.value,
156
156
  onChange: n[8] ||= (e) => l(e.target.value)
157
157
  }, [
158
- x("option", $e, w(f(a).button.widthAuto), 1),
159
- x("option", et, w(f(a).button.fullWidth), 1),
160
- x("option", tt, w(f(a).button.widthCustom), 1)
161
- ], 42, Qe),
162
- s.value === "custom" ? (o(), g("div", nt, [x("input", {
158
+ x("option", et, w(f(a).button.widthAuto), 1),
159
+ x("option", tt, w(f(a).button.fullWidth), 1),
160
+ x("option", nt, w(f(a).button.widthCustom), 1)
161
+ ], 42, $e),
162
+ s.value === "custom" ? (o(), g("div", rt, [x("input", {
163
163
  type: "number",
164
164
  class: m(f(G)),
165
- value: typeof e.block.width == "number" ? e.block.width : at,
165
+ value: typeof e.block.width == "number" ? e.block.width : ot,
166
166
  min: "20",
167
167
  onInput: n[9] ||= (e) => u(e.target.value)
168
- }, null, 42, rt), x("span", { class: m(f(W)) }, "px", 2)])) : _("", !0)
168
+ }, null, 42, it), x("span", { class: m(f(W)) }, "px", 2)])) : _("", !0)
169
169
  ]),
170
- x("div", it, [x("label", { class: m(f(U)) }, w(f(a).title.align), 3), p(X, {
170
+ x("div", at, [x("label", { class: m(f(U)) }, w(f(a).title.align), 3), p(X, {
171
171
  options: [
172
172
  {
173
173
  value: "left",
@@ -187,7 +187,7 @@ var Pe = [
187
187
  }, null, 8, ["options", "model-value"])])
188
188
  ], 64));
189
189
  }
190
- }), st = { class: "spacing-control" }, ct = { class: "tpl:mb-2 tpl:block tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, lt = { class: "tpl:flex tpl:flex-col tpl:items-center tpl:gap-1.5" }, ut = { class: "tpl:flex tpl:items-center" }, dt = ["aria-label"], ft = ["value", "aria-label"], pt = ["aria-label"], mt = { class: "tpl:flex tpl:items-center tpl:gap-2" }, ht = { class: "tpl:flex tpl:items-center" }, gt = ["aria-label"], _t = ["value", "aria-label"], vt = ["aria-label"], yt = ["aria-label", "title"], bt = { class: "tpl:flex tpl:items-center" }, xt = ["aria-label"], St = ["value", "aria-label"], Ct = ["aria-label"], wt = { class: "tpl:flex tpl:items-center" }, Tt = ["aria-label"], Et = ["value", "aria-label"], Dt = ["aria-label"], Z = "tpl:flex tpl:items-center tpl:justify-center tpl:w-8 tpl:h-8 tpl:text-[var(--tpl-text-muted)] tpl:bg-[var(--tpl-bg)] tpl:border tpl:border-[var(--tpl-border)] tpl:cursor-pointer tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:hover:bg-[var(--tpl-bg-hover)] tpl:hover:text-[var(--tpl-text)] tpl:active:bg-[var(--tpl-bg-active)]", Ot = "tpl:w-10 tpl:h-8 tpl:text-center tpl:text-xs tpl:font-medium tpl:border-y tpl:border-x-0 tpl:border-[var(--tpl-border)] tpl:text-[var(--tpl-text)] tpl:bg-[var(--tpl-bg)] tpl:outline-none tpl:transition-all tpl:duration-[120ms] tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[var(--tpl-ring)]", kt = /*#__PURE__*/ Ee(/* @__PURE__ */ l({
190
+ }), ct = { class: "spacing-control" }, lt = { class: "tpl:mb-2 tpl:block tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, ut = { class: "tpl:flex tpl:flex-col tpl:items-center tpl:gap-1.5" }, dt = { class: "tpl:flex tpl:items-center" }, ft = ["aria-label"], pt = ["value", "aria-label"], mt = ["aria-label"], ht = { class: "tpl:flex tpl:items-center tpl:gap-2" }, gt = { class: "tpl:flex tpl:items-center" }, _t = ["aria-label"], vt = ["value", "aria-label"], yt = ["aria-label"], bt = ["aria-label", "title"], xt = { class: "tpl:flex tpl:items-center" }, St = ["aria-label"], Ct = ["value", "aria-label"], wt = ["aria-label"], Tt = { class: "tpl:flex tpl:items-center" }, Et = ["aria-label"], Dt = ["value", "aria-label"], Ot = ["aria-label"], Z = "tpl:flex tpl:items-center tpl:justify-center tpl:w-8 tpl:h-8 tpl:text-[var(--tpl-text-muted)] tpl:bg-[var(--tpl-bg)] tpl:border tpl:border-[var(--tpl-border)] tpl:cursor-pointer tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:hover:bg-[var(--tpl-bg-hover)] tpl:hover:text-[var(--tpl-text)] tpl:active:bg-[var(--tpl-bg-active)]", kt = "tpl:w-10 tpl:h-8 tpl:text-center tpl:text-xs tpl:font-medium tpl:border-y tpl:border-x-0 tpl:border-[var(--tpl-border)] tpl:text-[var(--tpl-text)] tpl:bg-[var(--tpl-bg)] tpl:outline-none tpl:transition-all tpl:duration-[120ms] tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[var(--tpl-ring)]", At = /*#__PURE__*/ Ee(/* @__PURE__ */ l({
191
191
  __name: "SpacingControl",
192
192
  props: {
193
193
  modelValue: {},
@@ -234,8 +234,8 @@ var Pe = [
234
234
  });
235
235
  }
236
236
  }
237
- return (t, n) => (o(), g("div", st, [x("label", ct, w(e.label), 1), x("div", lt, [
238
- x("div", ut, [
237
+ return (t, n) => (o(), g("div", ct, [x("label", lt, w(e.label), 1), x("div", ut, [
238
+ x("div", dt, [
239
239
  x("button", {
240
240
  "aria-label": f(a).spacingControl.decreaseTop,
241
241
  class: m([Z, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
@@ -243,15 +243,15 @@ var Pe = [
243
243
  }, [p(f(z), {
244
244
  size: 12,
245
245
  "stroke-width": 2
246
- })], 10, dt),
246
+ })], 10, ft),
247
247
  x("input", {
248
248
  type: "number",
249
- class: m(Ot),
249
+ class: m(kt),
250
250
  value: e.modelValue.top,
251
251
  "aria-label": f(a).spacingControl.top,
252
252
  min: "0",
253
253
  onInput: n[1] ||= (e) => d("top", Number(e.target.value))
254
- }, null, 40, ft),
254
+ }, null, 40, pt),
255
255
  x("button", {
256
256
  "aria-label": f(a).spacingControl.increaseTop,
257
257
  class: m([Z, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
@@ -259,10 +259,10 @@ var Pe = [
259
259
  }, [p(f(R), {
260
260
  size: 12,
261
261
  "stroke-width": 2
262
- })], 10, pt)
262
+ })], 10, mt)
263
263
  ]),
264
- x("div", mt, [
265
- x("div", ht, [
264
+ x("div", ht, [
265
+ x("div", gt, [
266
266
  x("button", {
267
267
  "aria-label": f(a).spacingControl.decreaseLeft,
268
268
  class: m([Z, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
@@ -270,15 +270,15 @@ var Pe = [
270
270
  }, [p(f(z), {
271
271
  size: 12,
272
272
  "stroke-width": 2
273
- })], 10, gt),
273
+ })], 10, _t),
274
274
  x("input", {
275
275
  type: "number",
276
- class: m(Ot),
276
+ class: m(kt),
277
277
  value: e.modelValue.left,
278
278
  "aria-label": f(a).spacingControl.left,
279
279
  min: "0",
280
280
  onInput: n[4] ||= (e) => d("left", Number(e.target.value))
281
- }, null, 40, _t),
281
+ }, null, 40, vt),
282
282
  x("button", {
283
283
  "aria-label": f(a).spacingControl.increaseLeft,
284
284
  class: m([Z, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
@@ -286,7 +286,7 @@ var Pe = [
286
286
  }, [p(f(R), {
287
287
  size: 12,
288
288
  "stroke-width": 2
289
- })], 10, vt)
289
+ })], 10, yt)
290
290
  ]),
291
291
  x("button", {
292
292
  class: m(["tpl:flex tpl:h-8 tpl:w-8 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]", l.value ? "tpl:border-[var(--tpl-primary)] tpl:bg-[var(--tpl-primary-light)] tpl:text-[var(--tpl-primary)]" : "tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text-muted)] tpl:hover:bg-[var(--tpl-bg-hover)]"]),
@@ -301,8 +301,8 @@ var Pe = [
301
301
  key: 1,
302
302
  size: 14,
303
303
  "stroke-width": 2
304
- }))], 10, yt),
305
- x("div", bt, [
304
+ }))], 10, bt),
305
+ x("div", xt, [
306
306
  x("button", {
307
307
  "aria-label": f(a).spacingControl.decreaseRight,
308
308
  class: m([Z, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
@@ -310,15 +310,15 @@ var Pe = [
310
310
  }, [p(f(z), {
311
311
  size: 12,
312
312
  "stroke-width": 2
313
- })], 10, xt),
313
+ })], 10, St),
314
314
  x("input", {
315
315
  type: "number",
316
- class: m(Ot),
316
+ class: m(kt),
317
317
  value: e.modelValue.right,
318
318
  "aria-label": f(a).spacingControl.right,
319
319
  min: "0",
320
320
  onInput: n[7] ||= (e) => d("right", Number(e.target.value))
321
- }, null, 40, St),
321
+ }, null, 40, Ct),
322
322
  x("button", {
323
323
  "aria-label": f(a).spacingControl.increaseRight,
324
324
  class: m([Z, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
@@ -326,10 +326,10 @@ var Pe = [
326
326
  }, [p(f(R), {
327
327
  size: 12,
328
328
  "stroke-width": 2
329
- })], 10, Ct)
329
+ })], 10, wt)
330
330
  ])
331
331
  ]),
332
- x("div", wt, [
332
+ x("div", Tt, [
333
333
  x("button", {
334
334
  "aria-label": f(a).spacingControl.decreaseBottom,
335
335
  class: m([Z, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
@@ -337,15 +337,15 @@ var Pe = [
337
337
  }, [p(f(z), {
338
338
  size: 12,
339
339
  "stroke-width": 2
340
- })], 10, Tt),
340
+ })], 10, Et),
341
341
  x("input", {
342
342
  type: "number",
343
- class: m(Ot),
343
+ class: m(kt),
344
344
  value: e.modelValue.bottom,
345
345
  "aria-label": f(a).spacingControl.bottom,
346
346
  min: "0",
347
347
  onInput: n[10] ||= (e) => d("bottom", Number(e.target.value))
348
- }, null, 40, Et),
348
+ }, null, 40, Dt),
349
349
  x("button", {
350
350
  "aria-label": f(a).spacingControl.increaseBottom,
351
351
  class: m([Z, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
@@ -353,11 +353,11 @@ var Pe = [
353
353
  }, [p(f(R), {
354
354
  size: 12,
355
355
  "stroke-width": 2
356
- })], 10, Dt)
356
+ })], 10, Ot)
357
357
  ])
358
358
  ])]));
359
359
  }
360
- }), [["__scopeId", "data-v-69591c1e"]]), At = ["data-testid"], jt = { class: "tpl:mt-3" }, Mt = /* @__PURE__ */ l({
360
+ }), [["__scopeId", "data-v-69591c1e"]]), jt = ["data-testid"], Mt = { class: "tpl:mt-3" }, Nt = /* @__PURE__ */ l({
361
361
  __name: "CollapsibleSection",
362
362
  props: {
363
363
  title: {},
@@ -376,21 +376,21 @@ var Pe = [
376
376
  class: m(["tpl:transition-transform tpl:duration-200", e.open ? "tpl:rotate-0" : "tpl:-rotate-90"]),
377
377
  size: 12,
378
378
  "stroke-width": 2
379
- }, null, 8, ["class"]), x("span", null, w(e.title), 1)], 8, At), u(x("div", jt, [a(t.$slots, "default")], 512), [[S, e.open]])], 2));
379
+ }, null, 8, ["class"]), x("span", null, w(e.title), 1)], 8, jt), u(x("div", Mt, [a(t.$slots, "default")], 512), [[S, e.open]])], 2));
380
380
  }
381
- }), Nt = { class: "tpl:space-y-2" }, Pt = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Ft = { class: "tpl:space-y-2" }, It = ["value"], Lt = { value: "" }, Rt = ["label"], zt = ["value"], Bt = ["value"], Vt = {
381
+ }), Pt = { class: "tpl:space-y-2" }, Ft = { class: "tpl:flex tpl:items-center tpl:gap-2" }, It = { class: "tpl:space-y-2" }, Lt = ["value"], Rt = { value: "" }, zt = ["label"], Bt = ["value"], Vt = ["value"], Ht = {
382
382
  key: 0,
383
383
  value: "__custom__"
384
- }, Ht = {
384
+ }, Ut = {
385
385
  key: 0,
386
386
  class: "tpl:space-y-2"
387
- }, Ut = { class: "tpl:mb-1 tpl:block tpl:text-[11px] tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, Wt = { class: "tpl:mb-1 tpl:block tpl:text-[11px] tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, Gt = { class: "tpl:flex tpl:justify-end" }, Kt = ["disabled"], qt = {
387
+ }, Wt = { class: "tpl:mb-1 tpl:block tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, Gt = { class: "tpl:mb-1 tpl:block tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, Kt = { class: "tpl:flex tpl:justify-end" }, qt = ["disabled"], Jt = {
388
388
  key: 0,
389
- class: "tpl:text-[11px] tpl:text-[var(--tpl-text-muted)]"
390
- }, Jt = { class: "tpl:space-y-1" }, Yt = { class: "tpl:m-0 tpl:overflow-x-auto tpl:rounded tpl:bg-[var(--tpl-bg)] tpl:p-2 tpl:font-mono tpl:text-[10px] tpl:text-[var(--tpl-text-muted)]" }, Xt = {
389
+ class: "tpl:text-[10px] tpl:text-[var(--tpl-text-muted)]"
390
+ }, Yt = { class: "tpl:space-y-1" }, Xt = { class: "tpl:m-0 tpl:overflow-x-auto tpl:rounded tpl:bg-[var(--tpl-bg)] tpl:p-2 tpl:font-mono tpl:text-[10px] tpl:text-[var(--tpl-text-muted)]" }, Zt = {
391
391
  key: 0,
392
392
  class: "tpl:m-0 tpl:overflow-x-auto tpl:rounded tpl:bg-[var(--tpl-bg)] tpl:p-2 tpl:font-mono tpl:text-[10px] tpl:text-[var(--tpl-text-muted)]"
393
- }, Zt = /* @__PURE__ */ l({
393
+ }, Qt = /* @__PURE__ */ l({
394
394
  __name: "CommonBlockSettings",
395
395
  props: {
396
396
  block: {},
@@ -453,13 +453,13 @@ var Pe = [
453
453
  t[e] = !t[e], v("update", { visibility: t });
454
454
  }
455
455
  return (t, n) => (o(), g("div", { class: m(["tpl:flex tpl:flex-col", e.isFirstSection ? "" : "tpl:mt-4"]) }, [
456
- p(Mt, {
456
+ p(Nt, {
457
457
  title: f(S).blockSettings.spacing,
458
458
  open: O.has("spacing"),
459
459
  "no-border": e.isFirstSection,
460
460
  onToggle: n[1] ||= (e) => N("spacing")
461
461
  }, {
462
- default: i(() => [p(kt, {
462
+ default: i(() => [p(At, {
463
463
  label: f(S).blockSettings.padding,
464
464
  "model-value": e.block.styles.padding,
465
465
  "onUpdate:modelValue": n[0] ||= (e) => ie("padding", e)
@@ -470,7 +470,7 @@ var Pe = [
470
470
  "open",
471
471
  "no-border"
472
472
  ]),
473
- p(Mt, {
473
+ p(Nt, {
474
474
  title: f(S).blockSettings.background,
475
475
  open: O.has("bg"),
476
476
  onToggle: n[3] ||= (e) => N("bg")
@@ -481,19 +481,19 @@ var Pe = [
481
481
  }, null, 8, ["model-value"])]),
482
482
  _: 1
483
483
  }, 8, ["title", "open"]),
484
- p(Mt, {
484
+ p(Nt, {
485
485
  title: f(S).blockSettings.display,
486
486
  open: O.has("display"),
487
487
  onToggle: n[4] ||= (e) => N("display")
488
488
  }, {
489
- default: i(() => [x("div", Nt, [(o(), g(C, null, r(M, (e) => p(J, {
489
+ default: i(() => [x("div", Pt, [(o(), g(C, null, r(M, (e) => p(J, {
490
490
  key: e.key,
491
491
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
492
492
  "model-value": F(e.key),
493
493
  label: f(S).blockSettings[e.labelKey],
494
494
  "onUpdate:modelValue": (t) => ae(e.key)
495
495
  }, {
496
- default: i(() => [x("span", Pt, [(o(), y(c(e.icon), {
496
+ default: i(() => [x("span", Ft, [(o(), y(c(e.icon), {
497
497
  size: 14,
498
498
  "stroke-width": 1.5
499
499
  })), E(" " + w(f(S).blockSettings[e.labelKey]), 1)])]),
@@ -505,14 +505,14 @@ var Pe = [
505
505
  ])), 64))])]),
506
506
  _: 1
507
507
  }, 8, ["title", "open"]),
508
- ee.value ? (o(), y(Mt, {
508
+ ee.value ? (o(), y(Nt, {
509
509
  key: 0,
510
510
  "header-test-id": "display-condition-section",
511
511
  title: f(S).blockSettings.displayCondition,
512
512
  open: O.has("condition"),
513
513
  onToggle: n[8] ||= (e) => N("condition")
514
514
  }, {
515
- default: i(() => [x("div", Ft, [x("select", {
515
+ default: i(() => [x("div", It, [x("select", {
516
516
  "data-testid": "display-condition-select",
517
517
  class: m(["tpl:w-full tpl:rounded-md tpl:border tpl:px-2.5 tpl:py-2 tpl:text-xs tpl:outline-none tpl:transition-all tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[0_0_0_3px_var(--tpl-primary-light)]", e.block.displayCondition ? "tpl:border-[var(--tpl-primary)] tpl:bg-[var(--tpl-primary-light)] tpl:text-[var(--tpl-text)]" : "tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text)]"]),
518
518
  value: k.value || P.value ? "__custom__" : e.block.displayCondition?.label ?? "",
@@ -530,41 +530,41 @@ var Pe = [
530
530
  n && v("update", { displayCondition: n });
531
531
  }
532
532
  }, [
533
- x("option", Lt, w(f(S).blockSettings.noCondition), 1),
533
+ x("option", Rt, w(f(S).blockSettings.noCondition), 1),
534
534
  (o(!0), g(C, null, r(re.value, (e, t) => (o(), g(C, { key: t }, [t ? (o(), g("optgroup", {
535
535
  key: 0,
536
536
  label: String(t)
537
537
  }, [(o(!0), g(C, null, r(e, (e) => (o(), g("option", {
538
538
  key: e.label,
539
539
  value: e.label
540
- }, w(e.label), 9, zt))), 128))], 8, Rt)) : (o(!0), g(C, { key: 1 }, r(e, (e) => (o(), g("option", {
540
+ }, w(e.label), 9, Bt))), 128))], 8, zt)) : (o(!0), g(C, { key: 1 }, r(e, (e) => (o(), g("option", {
541
541
  key: e.label,
542
542
  value: e.label
543
- }, w(e.label), 9, Bt))), 128))], 64))), 128)),
544
- f(D) ? (o(), g("option", Vt, w(f(S).blockSettings.customCondition), 1)) : _("", !0)
545
- ], 42, It), k.value || P.value ? (o(), g("div", Ht, [
546
- x("div", null, [x("label", Ut, w(f(S).blockSettings.customConditionBefore), 1), u(x("textarea", {
543
+ }, w(e.label), 9, Vt))), 128))], 64))), 128)),
544
+ f(D) ? (o(), g("option", Ht, w(f(S).blockSettings.customCondition), 1)) : _("", !0)
545
+ ], 42, Lt), k.value || P.value ? (o(), g("div", Ut, [
546
+ x("div", null, [x("label", Wt, w(f(S).blockSettings.customConditionBefore), 1), u(x("textarea", {
547
547
  "onUpdate:modelValue": n[6] ||= (e) => A.value = e,
548
548
  rows: "2",
549
549
  class: m(f(Oe))
550
550
  }, null, 2), [[b, A.value]])]),
551
- x("div", null, [x("label", Wt, w(f(S).blockSettings.customConditionAfter), 1), u(x("textarea", {
551
+ x("div", null, [x("label", Gt, w(f(S).blockSettings.customConditionAfter), 1), u(x("textarea", {
552
552
  "onUpdate:modelValue": n[7] ||= (e) => j.value = e,
553
553
  rows: "2",
554
554
  class: m(f(Oe))
555
555
  }, null, 2), [[b, j.value]])]),
556
- x("div", Gt, [x("button", {
556
+ x("div", Kt, [x("button", {
557
557
  type: "button",
558
- class: "tpl:cursor-pointer tpl:rounded-md tpl:border-none tpl:bg-[var(--tpl-primary)] tpl:px-3 tpl:py-1.5 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-on-primary)] tpl:transition-all tpl:hover:opacity-90 tpl:disabled:opacity-50",
558
+ class: m(f(Me)),
559
559
  disabled: !A.value.trim(),
560
560
  onClick: ne
561
- }, w(f(S).blockSettings.applyCondition), 9, Kt)])
562
- ])) : e.block.displayCondition && !P.value ? (o(), g(C, { key: 1 }, [e.block.displayCondition.description ? (o(), g("p", qt, w(e.block.displayCondition.description), 1)) : _("", !0), x("div", Jt, [x("pre", Yt, w(e.block.displayCondition.before), 1), e.block.displayCondition.after ? (o(), g("pre", Xt, w(e.block.displayCondition.after), 1)) : _("", !0)])], 64)) : _("", !0)])]),
561
+ }, w(f(S).blockSettings.applyCondition), 11, qt)])
562
+ ])) : e.block.displayCondition && !P.value ? (o(), g(C, { key: 1 }, [e.block.displayCondition.description ? (o(), g("p", Jt, w(e.block.displayCondition.description), 1)) : _("", !0), x("div", Yt, [x("pre", Xt, w(e.block.displayCondition.before), 1), e.block.displayCondition.after ? (o(), g("pre", Zt, w(e.block.displayCondition.after), 1)) : _("", !0)])], 64)) : _("", !0)])]),
563
563
  _: 1
564
564
  }, 8, ["title", "open"])) : _("", !0)
565
565
  ], 2));
566
566
  }
567
- }), Qt = ["title"], $t = /* @__PURE__ */ l({
567
+ }), $t = ["title"], en = /* @__PURE__ */ l({
568
568
  __name: "BooleanField",
569
569
  props: {
570
570
  field: {},
@@ -596,9 +596,9 @@ var Pe = [
596
596
  "label",
597
597
  "required",
598
598
  "disabled"
599
- ])], 8, Qt));
599
+ ])], 8, $t));
600
600
  }
601
- }), en = { class: "tpl:mb-3.5" }, tn = ["title"], nn = { class: "tpl-sr-only" }, rn = ["title"], an = { class: "tpl-sr-only" }, Q = /* @__PURE__ */ l({
601
+ }), tn = { class: "tpl:mb-3.5" }, nn = ["title"], rn = { class: "tpl-sr-only" }, an = ["title"], on = { class: "tpl-sr-only" }, Q = /* @__PURE__ */ l({
602
602
  __name: "FieldWrapper",
603
603
  props: {
604
604
  label: {},
@@ -607,7 +607,7 @@ var Pe = [
607
607
  },
608
608
  setup(e) {
609
609
  let { t } = L();
610
- return (n, r) => (o(), g("div", en, [x("label", { class: m(f(U)) }, [
610
+ return (n, r) => (o(), g("div", tn, [x("label", { class: m(f(U)) }, [
611
611
  E(w(e.label) + " ", 1),
612
612
  e.readOnly ? (o(), g("span", {
613
613
  key: 0,
@@ -616,15 +616,15 @@ var Pe = [
616
616
  size: 12,
617
617
  class: "tpl:inline tpl:text-[var(--tpl-text-dim)]",
618
618
  "aria-hidden": "true"
619
- }), x("span", nn, w(f(t).customBlocks.dataSource.readOnlyTooltip), 1)], 8, tn)) : _("", !0),
619
+ }), x("span", rn, w(f(t).customBlocks.dataSource.readOnlyTooltip), 1)], 8, nn)) : _("", !0),
620
620
  e.required ? (o(), g("span", {
621
621
  key: 1,
622
622
  class: "tpl:text-[var(--tpl-danger)]",
623
623
  title: f(t).customBlocks.fields.required
624
- }, [r[0] ||= x("span", { "aria-hidden": "true" }, "*", -1), x("span", an, w(f(t).customBlocks.fields.required), 1)], 8, rn)) : _("", !0)
624
+ }, [r[0] ||= x("span", { "aria-hidden": "true" }, "*", -1), x("span", on, w(f(t).customBlocks.fields.required), 1)], 8, an)) : _("", !0)
625
625
  ], 2), a(n.$slots, "default")]));
626
626
  }
627
- }), on = /* @__PURE__ */ l({
627
+ }), sn = /* @__PURE__ */ l({
628
628
  __name: "ColorField",
629
629
  props: {
630
630
  field: {},
@@ -662,15 +662,15 @@ var Pe = [
662
662
  "read-only"
663
663
  ]));
664
664
  }
665
- }), sn = {
665
+ }), cn = {
666
666
  key: 0,
667
667
  class: "tpl:pointer-events-none tpl:absolute tpl:inset-0 tpl:z-10 tpl:flex tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded tpl:border-2 tpl:border-dashed tpl:text-xs tpl:font-medium tpl:border-[var(--tpl-primary)] tpl:text-[var(--tpl-primary)]",
668
668
  style: { "background-color": "color-mix(in srgb, var(--tpl-bg) 90%, transparent)" }
669
- }, cn = [
669
+ }, ln = [
670
670
  "value",
671
671
  "placeholder",
672
672
  "title"
673
- ], ln = ["value", "placeholder"], un = /* @__PURE__ */ l({
673
+ ], un = ["value", "placeholder"], dn = /* @__PURE__ */ l({
674
674
  __name: "ImageField",
675
675
  props: {
676
676
  field: {},
@@ -715,7 +715,7 @@ var Pe = [
715
715
  ref: S,
716
716
  class: "tpl:relative"
717
717
  }, [
718
- D.value && (f(k) || T.value) ? (o(), g("div", sn, [T.value ? (o(), g(C, { key: 0 }, [p(f(be), {
718
+ D.value && (f(k) || T.value) ? (o(), g("div", cn, [T.value ? (o(), g(C, { key: 0 }, [p(f(be), {
719
719
  class: "tpl-spinner",
720
720
  size: 18,
721
721
  "stroke-width": 2
@@ -731,14 +731,14 @@ var Pe = [
731
731
  placeholder: e.field.placeholder || "https://...",
732
732
  disabled: "",
733
733
  title: f(c).customBlocks.dataSource.readOnlyTooltip
734
- }, null, 10, cn)) : (o(), g("input", {
734
+ }, null, 10, ln)) : (o(), g("input", {
735
735
  key: 2,
736
736
  type: "url",
737
737
  class: m(f(K)),
738
738
  value: e.modelValue,
739
739
  placeholder: e.field.placeholder || "https://...",
740
740
  onInput: n[0] ||= (e) => a("update:modelValue", e.target.value)
741
- }, null, 42, ln)),
741
+ }, null, 42, un)),
742
742
  v.value && !e.readOnly ? (o(), g("button", {
743
743
  key: 3,
744
744
  class: "tpl:mt-2 tpl:flex tpl:w-full tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded-md tpl:border tpl:px-3 tpl:py-2 tpl:text-xs tpl:font-medium tpl:transition-all tpl:border-[var(--tpl-border)] tpl:text-[var(--tpl-primary)] tpl:bg-[var(--tpl-bg)]",
@@ -755,7 +755,7 @@ var Pe = [
755
755
  "read-only"
756
756
  ]));
757
757
  }
758
- }), dn = [
758
+ }), fn = [
759
759
  "value",
760
760
  "placeholder",
761
761
  "min",
@@ -763,7 +763,7 @@ var Pe = [
763
763
  "step",
764
764
  "disabled",
765
765
  "title"
766
- ], fn = /* @__PURE__ */ l({
766
+ ], pn = /* @__PURE__ */ l({
767
767
  __name: "NumberField",
768
768
  props: {
769
769
  field: {},
@@ -789,7 +789,7 @@ var Pe = [
789
789
  disabled: e.readOnly,
790
790
  title: e.readOnly ? f(r).customBlocks.dataSource.readOnlyTooltip : void 0,
791
791
  onInput: a[0] ||= (t) => !e.readOnly && n("update:modelValue", Number(t.target.value))
792
- }, null, 42, dn)]),
792
+ }, null, 42, fn)]),
793
793
  _: 1
794
794
  }, 8, [
795
795
  "label",
@@ -797,13 +797,13 @@ var Pe = [
797
797
  "read-only"
798
798
  ]));
799
799
  }
800
- }), pn = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, mn = { class: "tpl:mb-2 tpl:flex tpl:items-center tpl:justify-between" }, hn = { class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-dim)]" }, gn = ["title", "onClick"], _n = {
800
+ }), mn = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, hn = { class: "tpl:mb-2 tpl:flex tpl:items-center tpl:justify-between" }, gn = { class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-dim)]" }, _n = ["title", "onClick"], vn = {
801
801
  key: 1,
802
802
  class: "tpl:m-0 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
803
- }, vn = {
803
+ }, yn = {
804
804
  key: 2,
805
805
  class: "tpl:m-0 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
806
- }, yn = /* @__PURE__ */ l({
806
+ }, bn = /* @__PURE__ */ l({
807
807
  __name: "RepeatableField",
808
808
  props: {
809
809
  field: {},
@@ -836,11 +836,11 @@ var Pe = [
836
836
  required: e.field.required,
837
837
  "read-only": e.readOnly
838
838
  }, {
839
- default: i(() => [x("div", pn, [
839
+ default: i(() => [x("div", mn, [
840
840
  (o(!0), g(C, null, r(u.value, (t, n) => (o(), g("div", {
841
841
  key: `${e.field.key}-${n}`,
842
842
  class: "tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:p-3"
843
- }, [x("div", mn, [x("span", hn, " #" + w(n + 1), 1), v.value && !e.readOnly ? (o(), g("button", {
843
+ }, [x("div", hn, [x("span", gn, " #" + w(n + 1), 1), v.value && !e.readOnly ? (o(), g("button", {
844
844
  key: 0,
845
845
  type: "button",
846
846
  class: "tpl:flex tpl:size-6 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:hover:border-[var(--tpl-danger)] tpl:hover:bg-[var(--tpl-danger-light)] tpl:hover:text-[var(--tpl-danger)]",
@@ -849,7 +849,7 @@ var Pe = [
849
849
  }, [p(f(_e), {
850
850
  size: 12,
851
851
  "stroke-width": 2
852
- })], 8, gn)) : _("", !0)]), (o(!0), g(C, null, r(e.field.fields, (r) => (o(), y(c(f(On)(r.type)), {
852
+ })], 8, _n)) : _("", !0)]), (o(!0), g(C, null, r(e.field.fields, (r) => (o(), y(c(f(kn)(r.type)), {
853
853
  key: r.key,
854
854
  field: r,
855
855
  "model-value": t[r.key],
@@ -870,8 +870,8 @@ var Pe = [
870
870
  size: 14,
871
871
  "stroke-width": 2
872
872
  }), E(" " + w(f(s).customBlocks.fields.addItem), 1)], 2)) : _("", !0),
873
- !d.value && !e.readOnly ? (o(), g("p", _n, w(f(s).customBlocks.fields.maxItemsReached), 1)) : _("", !0),
874
- !v.value && !e.readOnly ? (o(), g("p", vn, w(f(l)(f(s).customBlocks.fields.minItemsRequired, { count: e.field.minItems ?? 0 })), 1)) : _("", !0)
873
+ !d.value && !e.readOnly ? (o(), g("p", vn, w(f(s).customBlocks.fields.maxItemsReached), 1)) : _("", !0),
874
+ !v.value && !e.readOnly ? (o(), g("p", yn, w(f(l)(f(s).customBlocks.fields.minItemsRequired, { count: e.field.minItems ?? 0 })), 1)) : _("", !0)
875
875
  ])]),
876
876
  _: 1
877
877
  }, 8, [
@@ -880,11 +880,11 @@ var Pe = [
880
880
  "read-only"
881
881
  ]));
882
882
  }
883
- }), bn = [
883
+ }), xn = [
884
884
  "value",
885
885
  "disabled",
886
886
  "title"
887
- ], xn = ["value"], Sn = /* @__PURE__ */ l({
887
+ ], Sn = ["value"], Cn = /* @__PURE__ */ l({
888
888
  __name: "SelectField",
889
889
  props: {
890
890
  field: {},
@@ -908,7 +908,7 @@ var Pe = [
908
908
  }, [(o(!0), g(C, null, r(e.field.options, (e) => (o(), g("option", {
909
909
  key: e.value,
910
910
  value: e.value
911
- }, w(e.label), 9, xn))), 128))], 42, bn)]),
911
+ }, w(e.label), 9, Sn))), 128))], 42, xn)]),
912
912
  _: 1
913
913
  }, 8, [
914
914
  "label",
@@ -916,11 +916,11 @@ var Pe = [
916
916
  "read-only"
917
917
  ]));
918
918
  }
919
- }), Cn = [
919
+ }), wn = [
920
920
  "value",
921
921
  "placeholder",
922
922
  "title"
923
- ], wn = /* @__PURE__ */ l({
923
+ ], Tn = /* @__PURE__ */ l({
924
924
  __name: "TextField",
925
925
  props: {
926
926
  field: {},
@@ -943,7 +943,7 @@ var Pe = [
943
943
  placeholder: e.field.placeholder,
944
944
  disabled: "",
945
945
  title: f(r).customBlocks.dataSource.readOnlyTooltip
946
- }, null, 10, Cn)) : (o(), y(Y, {
946
+ }, null, 10, wn)) : (o(), y(Y, {
947
947
  key: 1,
948
948
  "model-value": e.modelValue,
949
949
  placeholder: e.field.placeholder,
@@ -956,12 +956,12 @@ var Pe = [
956
956
  "read-only"
957
957
  ]));
958
958
  }
959
- }), Tn = [
959
+ }), En = [
960
960
  "value",
961
961
  "placeholder",
962
962
  "title"
963
- ], En = "tpl:w-full tpl:resize-y tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-3 tpl:py-2 tpl:text-sm tpl:text-[var(--tpl-text)] tpl:outline-none tpl:opacity-60 tpl:cursor-not-allowed", Dn = {
964
- text: wn,
963
+ ], Dn = "tpl:w-full tpl:resize-y tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-3 tpl:py-2 tpl:text-sm tpl:text-[var(--tpl-text)] tpl:outline-none tpl:opacity-60 tpl:cursor-not-allowed", On = {
964
+ text: Tn,
965
965
  textarea: /* @__PURE__ */ l({
966
966
  __name: "TextareaField",
967
967
  props: {
@@ -984,8 +984,8 @@ var Pe = [
984
984
  rows: "3",
985
985
  disabled: "",
986
986
  title: f(r).customBlocks.dataSource.readOnlyTooltip,
987
- class: m(En)
988
- }, null, 8, Tn)) : (o(), y(Ne, {
987
+ class: m(Dn)
988
+ }, null, 8, En)) : (o(), y(Pe, {
989
989
  key: 1,
990
990
  "model-value": e.modelValue,
991
991
  placeholder: e.field.placeholder,
@@ -999,37 +999,37 @@ var Pe = [
999
999
  ]));
1000
1000
  }
1001
1001
  }),
1002
- image: un,
1003
- color: on,
1004
- number: fn,
1005
- select: Sn,
1006
- boolean: $t,
1007
- repeatable: yn
1002
+ image: dn,
1003
+ color: sn,
1004
+ number: pn,
1005
+ select: Cn,
1006
+ boolean: en,
1007
+ repeatable: bn
1008
1008
  };
1009
- function On(e) {
1010
- return Dn[e] ?? wn;
1009
+ function kn(e) {
1010
+ return On[e] ?? Tn;
1011
1011
  }
1012
1012
  //#endregion
1013
1013
  //#region src/components/toolbar/CustomBlockToolbar.vue?vue&type=script&setup=true&lang.ts
1014
- var kn = {
1014
+ var An = {
1015
1015
  key: 0,
1016
1016
  class: "tpl:p-4"
1017
- }, An = { class: "tpl:m-0 tpl:text-center tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, jn = { key: 1 }, Mn = {
1017
+ }, jn = { class: "tpl:m-0 tpl:text-center tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, Mn = { key: 1 }, Nn = {
1018
1018
  key: 0,
1019
1019
  class: "tpl:m-0 tpl:mb-3 tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
1020
- }, Nn = {
1020
+ }, Pn = {
1021
1021
  key: 1,
1022
1022
  class: "tpl:mb-4"
1023
- }, Pn = {
1023
+ }, Fn = {
1024
1024
  key: 1,
1025
1025
  class: "tpl:flex tpl:h-[32px] tpl:items-center"
1026
- }, Fn = {
1026
+ }, In = {
1027
1027
  key: 0,
1028
1028
  class: "tpl:w-full tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
1029
- }, In = {
1029
+ }, Ln = {
1030
1030
  key: 2,
1031
1031
  class: "tpl:m-0 tpl:mt-2 tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-xs tpl:text-[var(--tpl-danger)]"
1032
- }, Ln = /* @__PURE__ */ l({
1032
+ }, Rn = /* @__PURE__ */ l({
1033
1033
  __name: "CustomBlockToolbar",
1034
1034
  props: { block: {} },
1035
1035
  emits: ["updateFieldValues", "updateDataSourceFetched"],
@@ -1050,23 +1050,23 @@ var kn = {
1050
1050
  [e]: t
1051
1051
  });
1052
1052
  }
1053
- return (t, n) => u.value ? (o(), g("div", jn, [
1054
- u.value.description ? (o(), g("p", Mn, w(u.value.description), 1)) : _("", !0),
1055
- f(S) ? (o(), g("div", Nn, [f(T) && !f(m) ? (o(), g("button", {
1053
+ return (t, n) => u.value ? (o(), g("div", Mn, [
1054
+ u.value.description ? (o(), g("p", Nn, w(u.value.description), 1)) : _("", !0),
1055
+ f(S) ? (o(), g("div", Pn, [f(T) && !f(m) ? (o(), g("button", {
1056
1056
  key: 0,
1057
1057
  type: "button",
1058
1058
  class: "tpl:flex tpl:w-full tpl:items-center tpl:justify-center tpl:gap-2 tpl:rounded-md tpl:px-3 tpl:py-2.5 tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-on-primary)] tpl:transition-all tpl:bg-[var(--tpl-primary)]",
1059
1059
  onClick: n[0] ||= (...e) => f(b) && f(b)(...e)
1060
- }, w(u.value?.dataSource?.label || f(s).customBlocks.dataSource.fetchButton), 1)) : (o(), g("div", Pn, [f(m) ? (o(), g("div", Fn, w(f(s).customBlocks.dataSource.fetching), 1)) : (o(), g("button", {
1060
+ }, w(u.value?.dataSource?.label || f(s).customBlocks.dataSource.fetchButton), 1)) : (o(), g("div", Fn, [f(m) ? (o(), g("div", In, w(f(s).customBlocks.dataSource.fetching), 1)) : (o(), g("button", {
1061
1061
  key: 1,
1062
1062
  type: "button",
1063
1063
  class: "tpl:flex tpl:w-full tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-3 tpl:py-1.5 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:hover:border-[var(--tpl-primary)] tpl:hover:text-[var(--tpl-primary)]",
1064
1064
  onClick: n[1] ||= (...e) => f(b) && f(b)(...e)
1065
- }, [p(f(Te), { size: 12 }), E(" " + w(f(s).customBlocks.dataSource.changeButton), 1)]))])), f(v) ? (o(), g("p", In, [p(f(he), {
1065
+ }, [p(f(Te), { size: 12 }), E(" " + w(f(s).customBlocks.dataSource.changeButton), 1)]))])), f(v) ? (o(), g("p", Ln, [p(f(he), {
1066
1066
  size: 14,
1067
1067
  class: "tpl:shrink-0"
1068
1068
  }), E(" " + w(f(s).customBlocks.dataSource.fetchError), 1)])) : _("", !0)])) : _("", !0),
1069
- (o(!0), g(C, null, r(u.value.fields, (t) => (o(), y(c(f(On)(t.type)), {
1069
+ (o(!0), g(C, null, r(u.value.fields, (t) => (o(), y(c(f(kn)(t.type)), {
1070
1070
  key: t.key,
1071
1071
  field: t,
1072
1072
  "model-value": e.block.fieldValues[t.key],
@@ -1078,9 +1078,9 @@ var kn = {
1078
1078
  "read-only",
1079
1079
  "onUpdate:modelValue"
1080
1080
  ]))), 128))
1081
- ])) : (o(), g("div", kn, [x("p", An, w(f(s).customBlocks.toolbar.noDefinition), 1)]));
1081
+ ])) : (o(), g("div", An, [x("p", jn, w(f(s).customBlocks.toolbar.noDefinition), 1)]));
1082
1082
  }
1083
- }), Rn = { class: "tpl:mb-3.5" }, zn = { class: "tpl:mb-3.5" }, Bn = { class: "tpl:mb-3.5" }, Vn = { class: "tpl:flex tpl:items-stretch" }, Hn = ["value"], Un = /* @__PURE__ */ l({
1083
+ }), zn = { class: "tpl:mb-3.5" }, Bn = { class: "tpl:mb-3.5" }, Vn = { class: "tpl:mb-3.5" }, Hn = { class: "tpl:flex tpl:items-stretch" }, Un = ["value"], Wn = /* @__PURE__ */ l({
1084
1084
  __name: "DividerToolbar",
1085
1085
  props: { block: {} },
1086
1086
  emits: ["update"],
@@ -1090,7 +1090,7 @@ var kn = {
1090
1090
  n("update", { [e]: t });
1091
1091
  }
1092
1092
  return (t, n) => (o(), g(C, null, [
1093
- x("div", Rn, [x("label", { class: m(f(U)) }, w(f(r).divider.style), 3), p(X, {
1093
+ x("div", zn, [x("label", { class: m(f(U)) }, w(f(r).divider.style), 3), p(X, {
1094
1094
  options: [
1095
1095
  {
1096
1096
  value: "solid",
@@ -1108,27 +1108,27 @@ var kn = {
1108
1108
  "model-value": e.block.lineStyle,
1109
1109
  "onUpdate:modelValue": n[0] ||= (e) => i("lineStyle", e)
1110
1110
  }, null, 8, ["options", "model-value"])]),
1111
- x("div", zn, [x("label", { class: m(f(U)) }, w(f(r).divider.color), 3), p(q, {
1111
+ x("div", Bn, [x("label", { class: m(f(U)) }, w(f(r).divider.color), 3), p(q, {
1112
1112
  "model-value": e.block.color,
1113
1113
  "onUpdate:modelValue": n[1] ||= (e) => i("color", e)
1114
1114
  }, null, 8, ["model-value"])]),
1115
- x("div", Bn, [x("label", { class: m(f(U)) }, w(f(r).divider.thickness), 3), x("div", Vn, [x("input", {
1115
+ x("div", Vn, [x("label", { class: m(f(U)) }, w(f(r).divider.thickness), 3), x("div", Hn, [x("input", {
1116
1116
  type: "number",
1117
1117
  class: m(f(G)),
1118
1118
  value: e.block.thickness,
1119
1119
  min: "1",
1120
1120
  max: "10",
1121
1121
  onInput: n[2] ||= (e) => i("thickness", Number(e.target.value))
1122
- }, null, 42, Hn), x("span", { class: m(f(W)) }, "px", 2)])])
1122
+ }, null, 42, Un), x("span", { class: m(f(W)) }, "px", 2)])])
1123
1123
  ], 64));
1124
1124
  }
1125
- }), Wn = { class: "tpl:mb-3.5" }, Gn = ["value"], Kn = { class: "tpl:mt-1.5 tpl:flex tpl:items-start tpl:gap-1.5 tpl:text-[11px] tpl:text-[var(--tpl-text-dim)]" }, qn = /* @__PURE__ */ l({
1125
+ }), Gn = { class: "tpl:mb-3.5" }, Kn = ["value"], qn = { class: "tpl:mt-1.5 tpl:flex tpl:items-start tpl:gap-1.5 tpl:text-[10px] tpl:text-[var(--tpl-text-dim)]" }, Jn = /* @__PURE__ */ l({
1126
1126
  __name: "HtmlToolbar",
1127
1127
  props: { block: {} },
1128
1128
  emits: ["update"],
1129
1129
  setup(e, { emit: t }) {
1130
1130
  let n = t, { t: r } = L();
1131
- return (t, i) => (o(), g("div", Wn, [
1131
+ return (t, i) => (o(), g("div", Gn, [
1132
1132
  x("label", { class: m(f(U)) }, w(f(r).html.content), 3),
1133
1133
  x("textarea", {
1134
1134
  value: e.block.content,
@@ -1136,19 +1136,19 @@ var kn = {
1136
1136
  rows: "10",
1137
1137
  class: m(f(Oe)),
1138
1138
  onInput: i[0] ||= (e) => n("update", { content: e.target.value })
1139
- }, null, 42, Gn),
1140
- x("p", Kn, [p(f(ve), {
1139
+ }, null, 42, Kn),
1140
+ x("p", qn, [p(f(ve), {
1141
1141
  size: 12,
1142
1142
  class: "tpl:mt-0.5 tpl:shrink-0"
1143
1143
  }), E(" " + w(f(r).html.sanitizationHint), 1)])
1144
1144
  ]));
1145
1145
  }
1146
- }), Jn = { class: "tpl:flex tpl:items-stretch" }, Yn = [
1146
+ }), Yn = { class: "tpl:flex tpl:items-stretch" }, Xn = [
1147
1147
  "data-testid",
1148
1148
  "value",
1149
1149
  "min",
1150
1150
  "max"
1151
- ], Xn = /* @__PURE__ */ l({
1151
+ ], Zn = /* @__PURE__ */ l({
1152
1152
  __name: "NumberWithSuffix",
1153
1153
  props: {
1154
1154
  modelValue: {},
@@ -1164,7 +1164,7 @@ var kn = {
1164
1164
  let t = e.target;
1165
1165
  t.validity?.badInput || n("update:modelValue", Number(t.value));
1166
1166
  }
1167
- return (t, n) => (o(), g("div", Jn, [x("input", {
1167
+ return (t, n) => (o(), g("div", Yn, [x("input", {
1168
1168
  type: "number",
1169
1169
  "data-testid": e.testid,
1170
1170
  class: m(f(G)),
@@ -1172,26 +1172,26 @@ var kn = {
1172
1172
  min: e.min,
1173
1173
  max: e.max,
1174
1174
  onInput: r
1175
- }, null, 42, Yn), x("span", { class: m(f(W)) }, w(e.suffix), 3)]));
1175
+ }, null, 42, Xn), x("span", { class: m(f(W)) }, w(e.suffix), 3)]));
1176
1176
  }
1177
- }), Zn = { class: "tpl:mb-3.5" }, Qn = {
1177
+ }), Qn = { class: "tpl:mb-3.5" }, $n = {
1178
1178
  key: 0,
1179
1179
  class: "tpl:pointer-events-none tpl:absolute tpl:inset-0 tpl:z-10 tpl:flex tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded tpl:border-2 tpl:border-dashed tpl:text-xs tpl:font-medium tpl:border-[var(--tpl-primary)] tpl:text-[var(--tpl-primary)]",
1180
1180
  style: { "background-color": "color-mix(in srgb, var(--tpl-bg) 90%, transparent)" }
1181
- }, $n = {
1181
+ }, er = {
1182
1182
  key: 0,
1183
1183
  class: "tpl:mb-3.5"
1184
- }, er = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, tr = [
1184
+ }, tr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, nr = [
1185
1185
  "value",
1186
1186
  "placeholder",
1187
1187
  "title"
1188
- ], nr = { class: "tpl:mb-3.5" }, rr = { class: "tpl:block tpl:text-[var(--tpl-text-dim)]" }, ir = { class: "tpl:mb-3.5" }, ar = ["value"], or = { value: "full" }, sr = { value: "custom" }, cr = {
1188
+ ], rr = { class: "tpl:mb-3.5" }, ir = { class: "tpl:block tpl:text-[var(--tpl-text-dim)]" }, ar = { class: "tpl:mb-3.5" }, or = ["value"], sr = { value: "full" }, cr = { value: "custom" }, lr = {
1189
1189
  key: 0,
1190
1190
  class: "tpl:mt-2 tpl:flex tpl:items-stretch"
1191
- }, lr = ["value"], ur = { class: "tpl:mb-3.5" }, dr = ["value"], fr = { value: "auto" }, pr = { value: "custom" }, mr = {
1191
+ }, ur = ["value"], dr = { class: "tpl:mb-3.5" }, fr = ["value"], pr = { value: "auto" }, mr = { value: "custom" }, hr = {
1192
1192
  key: 0,
1193
1193
  class: "tpl:mt-2 tpl:flex tpl:items-stretch"
1194
- }, hr = ["value"], gr = { class: "tpl:mb-3.5" }, _r = { class: "tpl:mb-3.5" }, vr = { class: "tpl:mb-3.5" }, yr = 350, br = 200, xr = /* @__PURE__ */ l({
1194
+ }, gr = ["value"], _r = { class: "tpl:mb-3.5" }, vr = { class: "tpl:mb-3.5" }, yr = { class: "tpl:mb-3.5" }, br = 350, xr = 200, Sr = /* @__PURE__ */ l({
1195
1195
  __name: "ImageToolbar",
1196
1196
  props: { block: {} },
1197
1197
  emits: ["update"],
@@ -1212,13 +1212,13 @@ var kn = {
1212
1212
  function P(e) {
1213
1213
  if (e === "custom") {
1214
1214
  let e = r.block.width;
1215
- (typeof e != "number" || O.includes(e)) && N("width", yr);
1215
+ (typeof e != "number" || O.includes(e)) && N("width", br);
1216
1216
  return;
1217
1217
  }
1218
1218
  N("width", e === "full" ? "full" : Number(e));
1219
1219
  }
1220
1220
  function te(e) {
1221
- N("height", e === "custom" ? br : void 0);
1221
+ N("height", e === "custom" ? xr : void 0);
1222
1222
  }
1223
1223
  function F(e) {
1224
1224
  let t = Number(e);
@@ -1257,12 +1257,12 @@ var kn = {
1257
1257
  onFiles: fe
1258
1258
  });
1259
1259
  return (t, n) => (o(), g(C, null, [
1260
- x("div", Zn, [x("label", { class: m(f(U)) }, w(f(c).image.imageUrl), 3), x("div", {
1260
+ x("div", Qn, [x("label", { class: m(f(U)) }, w(f(c).image.imageUrl), 3), x("div", {
1261
1261
  ref_key: "dropZoneRef",
1262
1262
  ref: le,
1263
1263
  class: "tpl:relative"
1264
1264
  }, [
1265
- de.value && (f(pe) || I.value) ? (o(), g("div", Qn, [I.value ? (o(), g(C, { key: 0 }, [p(f(be), {
1265
+ de.value && (f(pe) || I.value) ? (o(), g("div", $n, [I.value ? (o(), g(C, { key: 0 }, [p(f(be), {
1266
1266
  class: "tpl-spinner",
1267
1267
  size: 18,
1268
1268
  "stroke-width": 2
@@ -1295,15 +1295,15 @@ var kn = {
1295
1295
  "stroke-width": 1.5
1296
1296
  }), E(" " + w(f(c).image.browseMedia), 1)])) : _("", !0)
1297
1297
  ], 512)]),
1298
- f(k)(e.block.src, f(d)) ? (o(), g("div", $n, [x("label", { class: m(f(U)) }, [E(w(f(c).image.placeholderUrl) + " ", 1), x("span", er, w(f(c).image.optional), 1)], 2), x("input", {
1298
+ f(k)(e.block.src, f(d)) ? (o(), g("div", er, [x("label", { class: m(f(U)) }, [E(w(f(c).image.placeholderUrl) + " ", 1), x("span", tr, w(f(c).image.optional), 1)], 2), x("input", {
1299
1299
  type: "url",
1300
1300
  class: m(f(K)),
1301
1301
  value: e.block.placeholderUrl || "",
1302
1302
  placeholder: f(c).image.placeholderUrlPlaceholder,
1303
1303
  title: f(c).image.placeholderUrlTooltip,
1304
1304
  onInput: n[1] ||= (e) => N("placeholderUrl", e.target.value)
1305
- }, null, 42, tr)])) : _("", !0),
1306
- x("div", nr, [
1305
+ }, null, 42, nr)])) : _("", !0),
1306
+ x("div", rr, [
1307
1307
  x("label", { class: m(f(U)) }, w(f(c).image.altText), 3),
1308
1308
  p(Y, {
1309
1309
  "model-value": e.block.alt,
@@ -1324,56 +1324,56 @@ var kn = {
1324
1324
  label: f(c).image.decorative,
1325
1325
  "onUpdate:modelValue": n[3] ||= (e) => N("decorative", e)
1326
1326
  }, {
1327
- default: i(() => [x("span", null, [E(w(f(c).image.decorative) + " ", 1), x("span", rr, w(f(c).image.decorativeHint), 1)])]),
1327
+ default: i(() => [x("span", null, [E(w(f(c).image.decorative) + " ", 1), x("span", ir, w(f(c).image.decorativeHint), 1)])]),
1328
1328
  _: 1
1329
1329
  }, 8, ["model-value", "label"])
1330
1330
  ]),
1331
- x("div", ir, [
1331
+ x("div", ar, [
1332
1332
  x("label", { class: m(f(U)) }, w(f(c).image.width), 3),
1333
1333
  x("select", {
1334
1334
  class: m(f(K)),
1335
1335
  value: A.value,
1336
1336
  onChange: n[4] ||= (e) => P(e.target.value)
1337
1337
  }, [
1338
- x("option", or, w(f(c).image.fullWidth), 1),
1338
+ x("option", sr, w(f(c).image.fullWidth), 1),
1339
1339
  n[11] ||= x("option", { value: "300" }, "300px", -1),
1340
1340
  n[12] ||= x("option", { value: "400" }, "400px", -1),
1341
1341
  n[13] ||= x("option", { value: "500" }, "500px", -1),
1342
- x("option", sr, w(f(c).image.widthCustom), 1)
1343
- ], 42, ar),
1344
- A.value === "custom" ? (o(), g("div", cr, [x("input", {
1342
+ x("option", cr, w(f(c).image.widthCustom), 1)
1343
+ ], 42, or),
1344
+ A.value === "custom" ? (o(), g("div", lr, [x("input", {
1345
1345
  type: "number",
1346
1346
  class: m(f(G)),
1347
- value: typeof e.block.width == "number" ? e.block.width : yr,
1347
+ value: typeof e.block.width == "number" ? e.block.width : br,
1348
1348
  min: "20",
1349
1349
  onInput: n[5] ||= (e) => se(e.target.value)
1350
- }, null, 42, lr), x("span", { class: m(f(W)) }, "px", 2)])) : _("", !0)
1350
+ }, null, 42, ur), x("span", { class: m(f(W)) }, "px", 2)])) : _("", !0)
1351
1351
  ]),
1352
- x("div", ur, [
1352
+ x("div", dr, [
1353
1353
  x("label", { class: m(f(U)) }, w(f(c).image.height), 3),
1354
1354
  x("select", {
1355
1355
  class: m(f(K)),
1356
1356
  "data-testid": "image-height-mode",
1357
1357
  value: M.value,
1358
1358
  onChange: n[6] ||= (e) => te(e.target.value)
1359
- }, [x("option", fr, w(f(c).image.heightAuto), 1), x("option", pr, w(f(c).image.heightCustom), 1)], 42, dr),
1360
- M.value === "custom" ? (o(), g("div", mr, [x("input", {
1359
+ }, [x("option", pr, w(f(c).image.heightAuto), 1), x("option", mr, w(f(c).image.heightCustom), 1)], 42, fr),
1360
+ M.value === "custom" ? (o(), g("div", hr, [x("input", {
1361
1361
  type: "number",
1362
1362
  "data-testid": "image-height-input",
1363
1363
  class: m(f(G)),
1364
1364
  value: e.block.height,
1365
1365
  min: "20",
1366
1366
  onInput: n[7] ||= (e) => F(e.target.value)
1367
- }, null, 42, hr), x("span", { class: m(f(W)) }, "px", 2)])) : _("", !0)
1367
+ }, null, 42, gr), x("span", { class: m(f(W)) }, "px", 2)])) : _("", !0)
1368
1368
  ]),
1369
- x("div", gr, [x("label", { class: m(f(U)) }, w(f(c).image.borderRadius), 3), p(Xn, {
1369
+ x("div", _r, [x("label", { class: m(f(U)) }, w(f(c).image.borderRadius), 3), p(Zn, {
1370
1370
  "model-value": e.block.borderRadius ?? 0,
1371
1371
  min: 0,
1372
1372
  suffix: "px",
1373
1373
  testid: "image-border-radius-input",
1374
1374
  "onUpdate:modelValue": oe
1375
1375
  }, null, 8, ["model-value"])]),
1376
- x("div", _r, [x("label", { class: m(f(U)) }, w(f(c).title.align), 3), p(X, {
1376
+ x("div", vr, [x("label", { class: m(f(U)) }, w(f(c).title.align), 3), p(X, {
1377
1377
  options: [
1378
1378
  {
1379
1379
  value: "left",
@@ -1391,7 +1391,7 @@ var kn = {
1391
1391
  "model-value": e.block.align,
1392
1392
  "onUpdate:modelValue": n[8] ||= (e) => N("align", e)
1393
1393
  }, null, 8, ["options", "model-value"])]),
1394
- x("div", vr, [
1394
+ x("div", yr, [
1395
1395
  x("label", { class: m(f(U)) }, w(f(c).image.linkUrl), 3),
1396
1396
  p(Y, {
1397
1397
  "model-value": e.block.linkUrl || "",
@@ -1409,20 +1409,20 @@ var kn = {
1409
1409
  ])
1410
1410
  ], 64));
1411
1411
  }
1412
- }), Sr = { class: "tpl:mb-3.5" }, $ = /* @__PURE__ */ l({
1412
+ }), Cr = { class: "tpl:mb-3.5" }, $ = /* @__PURE__ */ l({
1413
1413
  __name: "FieldRow",
1414
1414
  props: { label: {} },
1415
1415
  setup(e) {
1416
- return (t, n) => (o(), g("div", Sr, [e.label ? (o(), g("label", {
1416
+ return (t, n) => (o(), g("div", Cr, [e.label ? (o(), g("label", {
1417
1417
  key: 0,
1418
1418
  class: m(f(U))
1419
1419
  }, w(e.label), 3)) : _("", !0), a(t.$slots, "default")]));
1420
1420
  }
1421
- }), Cr = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, wr = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Tr = [
1421
+ }), wr = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, Tr = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Er = [
1422
1422
  "value",
1423
1423
  "placeholder",
1424
1424
  "onInput"
1425
- ], Er = ["title", "onClick"], Dr = { class: "tpl:flex tpl:flex-wrap tpl:items-center tpl:gap-x-3 tpl:gap-y-1.5 tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, Or = { class: "tpl:flex tpl:items-center tpl:gap-2" }, kr = ["value"], Ar = { value: "" }, jr = ["value"], Mr = ["value"], Nr = /* @__PURE__ */ l({
1425
+ ], Dr = ["title", "onClick"], Or = { class: "tpl:flex tpl:flex-wrap tpl:items-center tpl:gap-x-3 tpl:gap-y-1.5 tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, kr = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Ar = ["value"], jr = { value: "" }, Mr = ["value"], Nr = ["value"], Pr = /* @__PURE__ */ l({
1426
1426
  __name: "MenuToolbar",
1427
1427
  props: {
1428
1428
  block: {},
@@ -1486,24 +1486,24 @@ var kn = {
1486
1486
  }
1487
1487
  return (t, n) => (o(), g(C, null, [
1488
1488
  p($, { label: f(s).menu.items }, {
1489
- default: i(() => [x("div", Cr, [(o(!0), g(C, null, r(e.block.items, (t) => (o(), g("div", {
1489
+ default: i(() => [x("div", wr, [(o(!0), g(C, null, r(e.block.items, (t) => (o(), g("div", {
1490
1490
  key: t.id,
1491
1491
  class: "tpl:flex tpl:flex-col tpl:gap-1.5 tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:p-2"
1492
1492
  }, [
1493
- x("div", wr, [x("input", {
1493
+ x("div", Tr, [x("input", {
1494
1494
  type: "text",
1495
1495
  class: m([f(K), "tpl:flex-1"]),
1496
1496
  value: t.text,
1497
1497
  placeholder: f(s).menu.text,
1498
1498
  onInput: (e) => _(t.id, "text", e.target.value)
1499
- }, null, 42, Tr), x("button", {
1499
+ }, null, 42, Er), x("button", {
1500
1500
  class: m(f(ke)),
1501
1501
  title: f(s).menu.removeItem,
1502
1502
  onClick: (e) => v(t.id)
1503
1503
  }, [p(f(xe), {
1504
1504
  size: 14,
1505
1505
  "stroke-width": 2
1506
- })], 10, Er)]),
1506
+ })], 10, Dr)]),
1507
1507
  p(Y, {
1508
1508
  "model-value": t.url,
1509
1509
  type: "url",
@@ -1514,7 +1514,7 @@ var kn = {
1514
1514
  "placeholder",
1515
1515
  "onUpdate:modelValue"
1516
1516
  ]),
1517
- x("div", Dr, [(o(!0), g(C, null, r(c.value, (e) => (o(), y(J, {
1517
+ x("div", Or, [(o(!0), g(C, null, r(c.value, (e) => (o(), y(J, {
1518
1518
  key: e.key,
1519
1519
  "model-value": t[e.key],
1520
1520
  label: e.label,
@@ -1524,7 +1524,7 @@ var kn = {
1524
1524
  "label",
1525
1525
  "onUpdate:modelValue"
1526
1526
  ]))), 128))]),
1527
- x("div", Or, [x("label", { class: m([f(U), "tpl:!mb-0"]) }, w(f(s).menu.color), 3), p(q, {
1527
+ x("div", kr, [x("label", { class: m([f(U), "tpl:!mb-0"]) }, w(f(s).menu.color), 3), p(q, {
1528
1528
  "swatch-only": "",
1529
1529
  "model-value": t.color || e.block.linkColor || e.block.color || "",
1530
1530
  "onUpdate:modelValue": (e) => _(t.id, "color", e)
@@ -1543,14 +1543,14 @@ var kn = {
1543
1543
  class: m(f(K)),
1544
1544
  value: e.block.fontFamily || "",
1545
1545
  onChange: n[0] ||= (e) => u("fontFamily", e.target.value || void 0)
1546
- }, [x("option", Ar, w(f(s).title.inheritFont), 1), (o(!0), g(C, null, r(e.fontFamilies, (e) => (o(), g("option", {
1546
+ }, [x("option", jr, w(f(s).title.inheritFont), 1), (o(!0), g(C, null, r(e.fontFamilies, (e) => (o(), g("option", {
1547
1547
  key: e.value,
1548
1548
  value: e.value
1549
- }, w(e.label), 9, jr))), 128))], 42, kr)]),
1549
+ }, w(e.label), 9, Mr))), 128))], 42, Ar)]),
1550
1550
  _: 1
1551
1551
  }, 8, ["label"]),
1552
1552
  p($, { label: f(s).menu.fontSize }, {
1553
- default: i(() => [p(Xn, {
1553
+ default: i(() => [p(Zn, {
1554
1554
  "model-value": e.block.fontSize,
1555
1555
  min: 8,
1556
1556
  max: 48,
@@ -1587,7 +1587,7 @@ var kn = {
1587
1587
  class: m(f(K)),
1588
1588
  value: e.block.separator,
1589
1589
  onInput: n[5] ||= (e) => u("separator", e.target.value)
1590
- }, null, 42, Mr)]),
1590
+ }, null, 42, Nr)]),
1591
1591
  _: 1
1592
1592
  }, 8, ["label"]),
1593
1593
  p($, { label: f(s).menu.separatorColor }, {
@@ -1598,7 +1598,7 @@ var kn = {
1598
1598
  _: 1
1599
1599
  }, 8, ["label"]),
1600
1600
  p($, { label: f(s).menu.spacing }, {
1601
- default: i(() => [p(Xn, {
1601
+ default: i(() => [p(Zn, {
1602
1602
  "model-value": e.block.spacing,
1603
1603
  min: 0,
1604
1604
  max: 50,
@@ -1609,32 +1609,32 @@ var kn = {
1609
1609
  }, 8, ["label"])
1610
1610
  ], 64));
1611
1611
  }
1612
- }), Pr = {
1612
+ }), Fr = {
1613
1613
  class: "tpl:mb-3.5",
1614
1614
  "data-testid": "paragraph-spacing"
1615
- }, Fr = { class: "tpl:flex tpl:items-stretch" }, Ir = ["value"], Lr = /* @__PURE__ */ l({
1615
+ }, Ir = { class: "tpl:flex tpl:items-stretch" }, Lr = ["value"], Rr = /* @__PURE__ */ l({
1616
1616
  __name: "ParagraphToolbar",
1617
1617
  props: { block: {} },
1618
1618
  emits: ["update"],
1619
1619
  setup(e, { emit: t }) {
1620
1620
  let n = t, { t: r } = L();
1621
- return (t, i) => (o(), g("div", Pr, [x("label", { class: m(f(U)) }, w(f(r).paragraph.paragraphSpacing), 3), x("div", Fr, [x("input", {
1621
+ return (t, i) => (o(), g("div", Fr, [x("label", { class: m(f(U)) }, w(f(r).paragraph.paragraphSpacing), 3), x("div", Ir, [x("input", {
1622
1622
  type: "number",
1623
1623
  class: m(f(G)),
1624
1624
  value: e.block.paragraphSpacing ?? f(A).paragraphGap,
1625
1625
  min: "0",
1626
1626
  max: "64",
1627
1627
  onInput: i[0] ||= (e) => n("update", { paragraphSpacing: Number(e.target.value) })
1628
- }, null, 42, Ir), x("span", { class: m(f(W)) }, "px", 2)])]));
1628
+ }, null, 42, Lr), x("span", { class: m(f(W)) }, "px", 2)])]));
1629
1629
  }
1630
1630
  });
1631
1631
  //#endregion
1632
1632
  //#region src/utils/rebalanceColumnChildren.ts
1633
- function Rr(e) {
1633
+ function zr(e) {
1634
1634
  return e === "1" ? 1 : e === "3" ? 3 : 2;
1635
1635
  }
1636
- function zr(e, t) {
1637
- let n = Rr(t);
1636
+ function Br(e, t) {
1637
+ let n = zr(t);
1638
1638
  if (e.length === n) return e;
1639
1639
  if (e.length < n) {
1640
1640
  let t = Array.from({ length: n - e.length }, () => []);
@@ -1645,13 +1645,13 @@ function zr(e, t) {
1645
1645
  }
1646
1646
  //#endregion
1647
1647
  //#region src/components/toolbar/SectionToolbar.vue?vue&type=script&setup=true&lang.ts
1648
- var Br = { class: "tpl:mb-3.5" }, Vr = ["value"], Hr = ["value"], Ur = {
1648
+ var Vr = { class: "tpl:mb-3.5" }, Hr = ["value"], Ur = ["value"], Wr = {
1649
1649
  key: 0,
1650
1650
  class: "tpl:mb-3.5"
1651
- }, Wr = { class: "tpl:mb-3.5" }, Gr = { class: "tpl:flex tpl:items-stretch" }, Kr = ["value"], qr = { class: "tpl:mb-3.5" }, Jr = {
1651
+ }, Gr = { class: "tpl:mb-3.5" }, Kr = { class: "tpl:flex tpl:items-stretch" }, qr = ["value"], Jr = { class: "tpl:mb-3.5" }, Yr = {
1652
1652
  key: 0,
1653
1653
  class: "tpl:mt-3 tpl:ml-0.5 tpl:space-y-3 tpl:border-l tpl:border-[var(--tpl-border)] tpl:pl-3"
1654
- }, Yr = { class: "tpl:flex tpl:items-stretch" }, Xr = ["value"], Zr = /* @__PURE__ */ l({
1654
+ }, Xr = { class: "tpl:flex tpl:items-stretch" }, Zr = ["value"], Qr = /* @__PURE__ */ l({
1655
1655
  __name: "SectionToolbar",
1656
1656
  props: { block: {} },
1657
1657
  emits: ["update"],
@@ -1679,7 +1679,7 @@ var Br = { class: "tpl:mb-3.5" }, Vr = ["value"], Hr = ["value"], Ur = {
1679
1679
  }
1680
1680
  ]);
1681
1681
  function c(e) {
1682
- let t = e.target.value, r = zr(n.block.children, t);
1682
+ let t = e.target.value, r = Br(n.block.children, t);
1683
1683
  i("update", {
1684
1684
  columns: t,
1685
1685
  children: r
@@ -1713,39 +1713,39 @@ var Br = { class: "tpl:mb-3.5" }, Vr = ["value"], Hr = ["value"], Ur = {
1713
1713
  v({ borderRadius: Number(e.target.value) });
1714
1714
  }
1715
1715
  return (t, n) => (o(), g(C, null, [
1716
- x("div", Br, [x("label", { class: m(f(U)) }, w(f(a).section.columns), 3), x("select", {
1716
+ x("div", Vr, [x("label", { class: m(f(U)) }, w(f(a).section.columns), 3), x("select", {
1717
1717
  class: m(f(K)),
1718
1718
  value: e.block.columns,
1719
1719
  onChange: c
1720
1720
  }, [(o(!0), g(C, null, r(s.value, (e) => (o(), g("option", {
1721
1721
  key: e.value,
1722
1722
  value: e.value
1723
- }, w(e.label), 9, Hr))), 128))], 42, Vr)]),
1724
- e.block.columns === "1" ? _("", !0) : (o(), g("div", Ur, [p(J, {
1723
+ }, w(e.label), 9, Ur))), 128))], 42, Hr)]),
1724
+ e.block.columns === "1" ? _("", !0) : (o(), g("div", Wr, [p(J, {
1725
1725
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
1726
1726
  "model-value": e.block.stackOnMobile !== !1,
1727
1727
  label: f(a).section.stackOnMobile,
1728
1728
  "onUpdate:modelValue": n[0] ||= (e) => l(e)
1729
1729
  }, null, 8, ["model-value", "label"])])),
1730
- x("div", Wr, [x("label", { class: m(f(U)) }, w(f(a).section.borderRadius), 3), x("div", Gr, [x("input", {
1730
+ x("div", Gr, [x("label", { class: m(f(U)) }, w(f(a).section.borderRadius), 3), x("div", Kr, [x("input", {
1731
1731
  type: "number",
1732
1732
  class: m(f(G)),
1733
1733
  value: e.block.borderRadius ?? 0,
1734
1734
  min: "0",
1735
1735
  max: "50",
1736
1736
  onInput: u
1737
- }, null, 42, Kr), x("span", { class: m(f(W)) }, "px", 2)])]),
1738
- x("div", qr, [p(J, {
1737
+ }, null, 42, qr), x("span", { class: m(f(W)) }, "px", 2)])]),
1738
+ x("div", Jr, [p(J, {
1739
1739
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
1740
1740
  "model-value": !!e.block.wrapper,
1741
1741
  label: f(a).section.wrapperEnable,
1742
1742
  "onUpdate:modelValue": n[1] ||= (e) => d(e)
1743
- }, null, 8, ["model-value", "label"]), e.block.wrapper ? (o(), g("div", Jr, [
1743
+ }, null, 8, ["model-value", "label"]), e.block.wrapper ? (o(), g("div", Yr, [
1744
1744
  x("div", null, [x("label", { class: m(f(U)) }, w(f(a).blockSettings.color), 3), p(q, {
1745
1745
  "model-value": e.block.wrapper.backgroundColor ?? "",
1746
1746
  "onUpdate:modelValue": n[2] ||= (e) => v({ backgroundColor: e })
1747
1747
  }, null, 8, ["model-value"])]),
1748
- p(kt, {
1748
+ p(At, {
1749
1749
  label: f(a).blockSettings.padding,
1750
1750
  "model-value": e.block.wrapper.padding ?? {
1751
1751
  top: 0,
@@ -1755,18 +1755,18 @@ var Br = { class: "tpl:mb-3.5" }, Vr = ["value"], Hr = ["value"], Ur = {
1755
1755
  },
1756
1756
  "onUpdate:modelValue": y
1757
1757
  }, null, 8, ["label", "model-value"]),
1758
- x("div", null, [x("label", { class: m(f(U)) }, w(f(a).section.borderRadius), 3), x("div", Yr, [x("input", {
1758
+ x("div", null, [x("label", { class: m(f(U)) }, w(f(a).section.borderRadius), 3), x("div", Xr, [x("input", {
1759
1759
  type: "number",
1760
1760
  class: m(f(G)),
1761
1761
  value: e.block.wrapper.borderRadius ?? 0,
1762
1762
  min: "0",
1763
1763
  max: "50",
1764
1764
  onInput: b
1765
- }, null, 42, Xr), x("span", { class: m(f(W)) }, "px", 2)])])
1765
+ }, null, 42, Zr), x("span", { class: m(f(W)) }, "px", 2)])])
1766
1766
  ])) : _("", !0)])
1767
1767
  ], 64));
1768
1768
  }
1769
- }), Qr = { class: "tpl:mb-3.5" }, $r = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, ei = { class: "tpl:flex tpl:items-center tpl:gap-2" }, ti = ["value", "onChange"], ni = ["value"], ri = ["title", "onClick"], ii = { class: "tpl:mb-3.5" }, ai = ["value"], oi = { value: "solid" }, si = { value: "outlined" }, ci = { value: "rounded" }, li = { value: "square" }, ui = { value: "circle" }, di = { class: "tpl:mb-3.5" }, fi = { class: "tpl:mb-3.5" }, pi = { class: "tpl:flex tpl:items-stretch" }, mi = ["value"], hi = { class: "tpl:mb-3.5" }, gi = /* @__PURE__ */ l({
1769
+ }), $r = { class: "tpl:mb-3.5" }, ei = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, ti = { class: "tpl:flex tpl:items-center tpl:gap-2" }, ni = ["value", "onChange"], ri = ["value"], ii = ["title", "onClick"], ai = { class: "tpl:mb-3.5" }, oi = ["value"], si = { value: "solid" }, ci = { value: "outlined" }, li = { value: "rounded" }, ui = { value: "square" }, di = { value: "circle" }, fi = { class: "tpl:mb-3.5" }, pi = { class: "tpl:mb-3.5" }, mi = { class: "tpl:flex tpl:items-stretch" }, hi = ["value"], gi = { class: "tpl:mb-3.5" }, _i = /* @__PURE__ */ l({
1770
1770
  __name: "SocialToolbar",
1771
1771
  props: { block: {} },
1772
1772
  emits: ["update"],
@@ -1794,10 +1794,10 @@ var Br = { class: "tpl:mb-3.5" }, Vr = ["value"], Hr = ["value"], Ur = {
1794
1794
  i("update", { icons: n.block.icons.filter((t) => t.id !== e) });
1795
1795
  }
1796
1796
  return (t, n) => (o(), g(C, null, [
1797
- x("div", Qr, [x("label", { class: m(f(U)) }, w(f(a).social.icons), 3), x("div", $r, [(o(!0), g(C, null, r(e.block.icons, (e) => (o(), g("div", {
1797
+ x("div", $r, [x("label", { class: m(f(U)) }, w(f(a).social.icons), 3), x("div", ei, [(o(!0), g(C, null, r(e.block.icons, (e) => (o(), g("div", {
1798
1798
  key: e.id,
1799
1799
  class: "tpl:flex tpl:flex-col tpl:gap-1.5 tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:p-2"
1800
- }, [x("div", ei, [x("select", {
1800
+ }, [x("div", ti, [x("select", {
1801
1801
  "data-testid": "social-platform-select",
1802
1802
  class: m([f(K), "tpl:flex-1"]),
1803
1803
  value: e.platform,
@@ -1805,14 +1805,14 @@ var Br = { class: "tpl:mb-3.5" }, Vr = ["value"], Hr = ["value"], Ur = {
1805
1805
  }, [(o(!0), g(C, null, r(f(P), (e) => (o(), g("option", {
1806
1806
  key: e,
1807
1807
  value: e
1808
- }, w(f(a).social.platforms[e]), 9, ni))), 128))], 42, ti), x("button", {
1808
+ }, w(f(a).social.platforms[e]), 9, ri))), 128))], 42, ni), x("button", {
1809
1809
  class: m(f(ke)),
1810
1810
  title: f(a).social.removeIcon,
1811
1811
  onClick: (t) => u(e.id)
1812
1812
  }, [p(f(xe), {
1813
1813
  size: 14,
1814
1814
  "stroke-width": 2
1815
- })], 10, ri)]), p(Y, {
1815
+ })], 10, ii)]), p(Y, {
1816
1816
  "model-value": e.url,
1817
1817
  type: "url",
1818
1818
  placeholder: f(a).social.urlPlaceholder,
@@ -1828,18 +1828,18 @@ var Br = { class: "tpl:mb-3.5" }, Vr = ["value"], Hr = ["value"], Ur = {
1828
1828
  size: 14,
1829
1829
  "stroke-width": 2
1830
1830
  }), E(" " + w(f(a).social.addIcon), 1)], 2)])]),
1831
- x("div", ii, [x("label", { class: m(f(U)) }, w(f(a).social.style), 3), x("select", {
1831
+ x("div", ai, [x("label", { class: m(f(U)) }, w(f(a).social.style), 3), x("select", {
1832
1832
  class: m(f(K)),
1833
1833
  value: e.block.iconStyle,
1834
1834
  onChange: n[0] ||= (e) => s("iconStyle", e.target.value)
1835
1835
  }, [
1836
- x("option", oi, w(f(a).social.styleSolid), 1),
1837
- x("option", si, w(f(a).social.styleOutlined), 1),
1838
- x("option", ci, w(f(a).social.styleRounded), 1),
1839
- x("option", li, w(f(a).social.styleSquare), 1),
1840
- x("option", ui, w(f(a).social.styleCircle), 1)
1841
- ], 42, ai)]),
1842
- x("div", di, [x("label", { class: m(f(U)) }, w(f(a).social.size), 3), p(X, {
1836
+ x("option", si, w(f(a).social.styleSolid), 1),
1837
+ x("option", ci, w(f(a).social.styleOutlined), 1),
1838
+ x("option", li, w(f(a).social.styleRounded), 1),
1839
+ x("option", ui, w(f(a).social.styleSquare), 1),
1840
+ x("option", di, w(f(a).social.styleCircle), 1)
1841
+ ], 42, oi)]),
1842
+ x("div", fi, [x("label", { class: m(f(U)) }, w(f(a).social.size), 3), p(X, {
1843
1843
  options: [
1844
1844
  {
1845
1845
  value: "small",
@@ -1857,15 +1857,15 @@ var Br = { class: "tpl:mb-3.5" }, Vr = ["value"], Hr = ["value"], Ur = {
1857
1857
  "model-value": e.block.iconSize,
1858
1858
  "onUpdate:modelValue": n[1] ||= (e) => s("iconSize", e)
1859
1859
  }, null, 8, ["options", "model-value"])]),
1860
- x("div", fi, [x("label", { class: m(f(U)) }, w(f(a).social.spacing), 3), x("div", pi, [x("input", {
1860
+ x("div", pi, [x("label", { class: m(f(U)) }, w(f(a).social.spacing), 3), x("div", mi, [x("input", {
1861
1861
  type: "number",
1862
1862
  class: m(f(G)),
1863
1863
  value: e.block.spacing,
1864
1864
  min: "0",
1865
1865
  max: "50",
1866
1866
  onInput: n[2] ||= (e) => s("spacing", Number(e.target.value))
1867
- }, null, 42, mi), x("span", { class: m(f(W)) }, "px", 2)])]),
1868
- x("div", hi, [x("label", { class: m(f(U)) }, w(f(a).social.align), 3), p(X, {
1867
+ }, null, 42, hi), x("span", { class: m(f(W)) }, "px", 2)])]),
1868
+ x("div", gi, [x("label", { class: m(f(U)) }, w(f(a).social.align), 3), p(X, {
1869
1869
  options: [
1870
1870
  {
1871
1871
  value: "left",
@@ -1888,22 +1888,22 @@ var Br = { class: "tpl:mb-3.5" }, Vr = ["value"], Hr = ["value"], Ur = {
1888
1888
  }, null, 8, ["options", "model-value"])])
1889
1889
  ], 64));
1890
1890
  }
1891
- }), _i = { class: "tpl:mb-3.5" }, vi = { class: "tpl:flex tpl:items-stretch" }, yi = ["value"], bi = ["value"], xi = /* @__PURE__ */ l({
1891
+ }), vi = { class: "tpl:mb-3.5" }, yi = { class: "tpl:flex tpl:items-stretch" }, bi = ["value"], xi = ["value"], Si = /* @__PURE__ */ l({
1892
1892
  __name: "SpacerToolbar",
1893
1893
  props: { block: {} },
1894
1894
  emits: ["update"],
1895
1895
  setup(e, { emit: t }) {
1896
1896
  let n = t, { t: r } = L();
1897
- return (t, i) => (o(), g("div", _i, [
1897
+ return (t, i) => (o(), g("div", vi, [
1898
1898
  x("label", { class: m(f(U)) }, w(f(r).spacer.height), 3),
1899
- x("div", vi, [x("input", {
1899
+ x("div", yi, [x("input", {
1900
1900
  type: "number",
1901
1901
  class: m(f(G)),
1902
1902
  value: e.block.height,
1903
1903
  min: "10",
1904
1904
  max: "100",
1905
1905
  onInput: i[0] ||= (e) => n("update", { height: Number(e.target.value) })
1906
- }, null, 42, yi), x("span", { class: m(f(W)) }, "px", 2)]),
1906
+ }, null, 42, bi), x("span", { class: m(f(W)) }, "px", 2)]),
1907
1907
  x("input", {
1908
1908
  type: "range",
1909
1909
  class: "tpl:mt-2 tpl:w-full tpl:accent-[var(--tpl-primary)]",
@@ -1911,13 +1911,13 @@ var Br = { class: "tpl:mb-3.5" }, Vr = ["value"], Hr = ["value"], Ur = {
1911
1911
  min: "10",
1912
1912
  max: "100",
1913
1913
  onInput: i[1] ||= (e) => n("update", { height: Number(e.target.value) })
1914
- }, null, 40, bi)
1914
+ }, null, 40, xi)
1915
1915
  ]));
1916
1916
  }
1917
- }), Si = { class: "tpl:mb-3.5" }, Ci = { class: "tpl:flex tpl:items-center tpl:gap-3" }, wi = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, Ti = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, Ei = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, Di = ["disabled"], Oi = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, ki = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, Ai = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, ji = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, Mi = ["disabled"], Ni = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, Pi = { class: "tpl:mb-3.5" }, Fi = {
1917
+ }), Ci = { class: "tpl:mb-3.5" }, wi = { class: "tpl:flex tpl:items-center tpl:gap-3" }, Ti = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, Ei = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, Di = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, Oi = ["disabled"], ki = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, Ai = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, ji = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, Mi = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, Ni = ["disabled"], Pi = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, Fi = { class: "tpl:mb-3.5" }, Ii = {
1918
1918
  key: 0,
1919
1919
  class: "tpl:mb-3.5"
1920
- }, Ii = { class: "tpl:mb-3.5" }, Li = { class: "tpl:mb-3.5" }, Ri = { class: "tpl:flex tpl:items-stretch" }, zi = ["value"], Bi = { class: "tpl:mb-3.5" }, Vi = { class: "tpl:flex tpl:items-stretch" }, Hi = ["value"], Ui = { class: "tpl:mb-3.5" }, Wi = ["value"], Gi = { value: "" }, Ki = ["value"], qi = { class: "tpl:mb-3.5" }, Ji = { class: "tpl:flex tpl:items-stretch" }, Yi = ["value"], Xi = { class: "tpl:mb-3.5" }, Zi = { class: "tpl:mb-3.5" }, Qi = /* @__PURE__ */ l({
1920
+ }, Li = { class: "tpl:mb-3.5" }, Ri = { class: "tpl:mb-3.5" }, zi = { class: "tpl:flex tpl:items-stretch" }, Bi = ["value"], Vi = { class: "tpl:mb-3.5" }, Hi = { class: "tpl:flex tpl:items-stretch" }, Ui = ["value"], Wi = { class: "tpl:mb-3.5" }, Gi = ["value"], Ki = { value: "" }, qi = ["value"], Ji = { class: "tpl:mb-3.5" }, Yi = { class: "tpl:flex tpl:items-stretch" }, Xi = ["value"], Zi = { class: "tpl:mb-3.5" }, Qi = { class: "tpl:mb-3.5" }, $i = /* @__PURE__ */ l({
1921
1921
  __name: "TableToolbar",
1922
1922
  props: {
1923
1923
  block: {},
@@ -1960,7 +1960,7 @@ var Br = { class: "tpl:mb-3.5" }, Vr = ["value"], Hr = ["value"], Ur = {
1960
1960
  i("update", { rows: t });
1961
1961
  }
1962
1962
  return (t, n) => (o(), g(C, null, [
1963
- x("div", Si, [x("label", { class: m(f(U)) }, w(f(a).table.dimensions), 3), x("div", Ci, [x("div", wi, [x("span", Ti, w(f(a).table.rows), 1), x("div", Ei, [
1963
+ x("div", Ci, [x("label", { class: m(f(U)) }, w(f(a).table.dimensions), 3), x("div", wi, [x("div", Ti, [x("span", Ei, w(f(a).table.rows), 1), x("div", Di, [
1964
1964
  x("button", {
1965
1965
  class: "tpl:flex tpl:items-center tpl:justify-center tpl:px-1.5 tpl:py-1 tpl:text-[var(--tpl-text-muted)] tpl:transition-colors tpl:hover:text-[var(--tpl-primary)] tpl:disabled:opacity-30",
1966
1966
  disabled: e.block.rows.length <= 1,
@@ -1968,8 +1968,8 @@ var Br = { class: "tpl:mb-3.5" }, Vr = ["value"], Hr = ["value"], Ur = {
1968
1968
  }, [p(f(z), {
1969
1969
  size: 12,
1970
1970
  "stroke-width": 2
1971
- })], 8, Di),
1972
- x("span", Oi, w(e.block.rows.length), 1),
1971
+ })], 8, Oi),
1972
+ x("span", ki, w(e.block.rows.length), 1),
1973
1973
  x("button", {
1974
1974
  class: "tpl:flex tpl:items-center tpl:justify-center tpl:px-1.5 tpl:py-1 tpl:text-[var(--tpl-text-muted)] tpl:transition-colors tpl:hover:text-[var(--tpl-primary)]",
1975
1975
  onClick: l
@@ -1977,7 +1977,7 @@ var Br = { class: "tpl:mb-3.5" }, Vr = ["value"], Hr = ["value"], Ur = {
1977
1977
  size: 12,
1978
1978
  "stroke-width": 2
1979
1979
  })])
1980
- ])]), x("div", ki, [x("span", Ai, w(f(a).table.columns), 1), x("div", ji, [
1980
+ ])]), x("div", Ai, [x("span", ji, w(f(a).table.columns), 1), x("div", Mi, [
1981
1981
  x("button", {
1982
1982
  class: "tpl:flex tpl:items-center tpl:justify-center tpl:px-1.5 tpl:py-1 tpl:text-[var(--tpl-text-muted)] tpl:transition-colors tpl:hover:text-[var(--tpl-primary)] tpl:disabled:opacity-30",
1983
1983
  disabled: s.value <= 1,
@@ -1985,8 +1985,8 @@ var Br = { class: "tpl:mb-3.5" }, Vr = ["value"], Hr = ["value"], Ur = {
1985
1985
  }, [p(f(z), {
1986
1986
  size: 12,
1987
1987
  "stroke-width": 2
1988
- })], 8, Mi),
1989
- x("span", Ni, w(s.value), 1),
1988
+ })], 8, Ni),
1989
+ x("span", Pi, w(s.value), 1),
1990
1990
  x("button", {
1991
1991
  class: "tpl:flex tpl:items-center tpl:justify-center tpl:px-1.5 tpl:py-1 tpl:text-[var(--tpl-text-muted)] tpl:transition-colors tpl:hover:text-[var(--tpl-primary)]",
1992
1992
  onClick: d
@@ -1995,13 +1995,13 @@ var Br = { class: "tpl:mb-3.5" }, Vr = ["value"], Hr = ["value"], Ur = {
1995
1995
  "stroke-width": 2
1996
1996
  })])
1997
1997
  ])])])]),
1998
- x("div", Pi, [p(J, {
1998
+ x("div", Fi, [p(J, {
1999
1999
  class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
2000
2000
  "model-value": e.block.hasHeaderRow,
2001
2001
  label: f(a).table.hasHeaderRow,
2002
2002
  "onUpdate:modelValue": n[2] ||= (e) => c("hasHeaderRow", e)
2003
2003
  }, null, 8, ["model-value", "label"])]),
2004
- e.block.hasHeaderRow ? (o(), g("div", Fi, [x("label", { class: m(f(U)) }, w(f(a).table.headerBackgroundColor), 3), p(q, {
2004
+ e.block.hasHeaderRow ? (o(), g("div", Ii, [x("label", { class: m(f(U)) }, w(f(a).table.headerBackgroundColor), 3), p(q, {
2005
2005
  "model-value": e.block.headerBackgroundColor ?? "",
2006
2006
  "seed-color": f(je),
2007
2007
  placeholder: f(a).table.noHeaderBg,
@@ -2011,47 +2011,47 @@ var Br = { class: "tpl:mb-3.5" }, Vr = ["value"], Hr = ["value"], Ur = {
2011
2011
  "seed-color",
2012
2012
  "placeholder"
2013
2013
  ])])) : _("", !0),
2014
- x("div", Ii, [x("label", { class: m(f(U)) }, w(f(a).table.borderColor), 3), p(q, {
2014
+ x("div", Li, [x("label", { class: m(f(U)) }, w(f(a).table.borderColor), 3), p(q, {
2015
2015
  "model-value": e.block.borderColor,
2016
2016
  "onUpdate:modelValue": n[4] ||= (e) => c("borderColor", e)
2017
2017
  }, null, 8, ["model-value"])]),
2018
- x("div", Li, [x("label", { class: m(f(U)) }, w(f(a).table.borderWidth), 3), x("div", Ri, [x("input", {
2018
+ x("div", Ri, [x("label", { class: m(f(U)) }, w(f(a).table.borderWidth), 3), x("div", zi, [x("input", {
2019
2019
  type: "number",
2020
2020
  class: m(f(G)),
2021
2021
  value: e.block.borderWidth,
2022
2022
  min: "0",
2023
2023
  max: "10",
2024
2024
  onInput: n[5] ||= (e) => c("borderWidth", Number(e.target.value))
2025
- }, null, 42, zi), x("span", { class: m(f(W)) }, "px", 2)])]),
2026
- x("div", Bi, [x("label", { class: m(f(U)) }, w(f(a).table.cellPadding), 3), x("div", Vi, [x("input", {
2025
+ }, null, 42, Bi), x("span", { class: m(f(W)) }, "px", 2)])]),
2026
+ x("div", Vi, [x("label", { class: m(f(U)) }, w(f(a).table.cellPadding), 3), x("div", Hi, [x("input", {
2027
2027
  type: "number",
2028
2028
  class: m(f(G)),
2029
2029
  value: e.block.cellPadding,
2030
2030
  min: "0",
2031
2031
  max: "30",
2032
2032
  onInput: n[6] ||= (e) => c("cellPadding", Number(e.target.value))
2033
- }, null, 42, Hi), x("span", { class: m(f(W)) }, "px", 2)])]),
2034
- x("div", Ui, [x("label", { class: m(f(U)) }, w(f(a).table.fontFamily), 3), x("select", {
2033
+ }, null, 42, Ui), x("span", { class: m(f(W)) }, "px", 2)])]),
2034
+ x("div", Wi, [x("label", { class: m(f(U)) }, w(f(a).table.fontFamily), 3), x("select", {
2035
2035
  class: m(f(K)),
2036
2036
  value: e.block.fontFamily || "",
2037
2037
  onChange: n[7] ||= (e) => c("fontFamily", e.target.value || void 0)
2038
- }, [x("option", Gi, w(f(a).title.inheritFont), 1), (o(!0), g(C, null, r(e.fontFamilies, (e) => (o(), g("option", {
2038
+ }, [x("option", Ki, w(f(a).title.inheritFont), 1), (o(!0), g(C, null, r(e.fontFamilies, (e) => (o(), g("option", {
2039
2039
  key: e.value,
2040
2040
  value: e.value
2041
- }, w(e.label), 9, Ki))), 128))], 42, Wi)]),
2042
- x("div", qi, [x("label", { class: m(f(U)) }, w(f(a).table.fontSize), 3), x("div", Ji, [x("input", {
2041
+ }, w(e.label), 9, qi))), 128))], 42, Gi)]),
2042
+ x("div", Ji, [x("label", { class: m(f(U)) }, w(f(a).table.fontSize), 3), x("div", Yi, [x("input", {
2043
2043
  type: "number",
2044
2044
  class: m(f(G)),
2045
2045
  value: e.block.fontSize,
2046
2046
  min: "10",
2047
2047
  max: "32",
2048
2048
  onInput: n[8] ||= (e) => c("fontSize", Number(e.target.value))
2049
- }, null, 42, Yi), x("span", { class: m(f(W)) }, "px", 2)])]),
2050
- x("div", Xi, [x("label", { class: m(f(U)) }, w(f(a).table.color), 3), p(q, {
2049
+ }, null, 42, Xi), x("span", { class: m(f(W)) }, "px", 2)])]),
2050
+ x("div", Zi, [x("label", { class: m(f(U)) }, w(f(a).table.color), 3), p(q, {
2051
2051
  "model-value": e.block.color ?? "",
2052
2052
  "onUpdate:modelValue": n[9] ||= (e) => c("color", e || void 0)
2053
2053
  }, null, 8, ["model-value"])]),
2054
- x("div", Zi, [x("label", { class: m(f(U)) }, w(f(a).table.textAlign), 3), p(X, {
2054
+ x("div", Qi, [x("label", { class: m(f(U)) }, w(f(a).table.textAlign), 3), p(X, {
2055
2055
  options: [
2056
2056
  {
2057
2057
  value: "left",
@@ -2074,7 +2074,7 @@ var Br = { class: "tpl:mb-3.5" }, Vr = ["value"], Hr = ["value"], Ur = {
2074
2074
  }, null, 8, ["options", "model-value"])])
2075
2075
  ], 64));
2076
2076
  }
2077
- }), $i = { class: "tpl:mb-3.5" }, ea = ["value"], ta = { value: 1 }, na = { value: 2 }, ra = { value: 3 }, ia = { value: 4 }, aa = { class: "tpl:mb-3.5" }, oa = ["value"], sa = { value: "" }, ca = ["value"], la = { class: "tpl:mb-3.5" }, ua = { class: "tpl:mb-3.5" }, da = /* @__PURE__ */ l({
2077
+ }), ea = { class: "tpl:mb-3.5" }, ta = ["value"], na = { value: 1 }, ra = { value: 2 }, ia = { value: 3 }, aa = { value: 4 }, oa = { class: "tpl:mb-3.5" }, sa = ["value"], ca = { value: "" }, la = ["value"], ua = { class: "tpl:mb-3.5" }, da = { class: "tpl:mb-3.5" }, fa = /* @__PURE__ */ l({
2078
2078
  __name: "TitleToolbar",
2079
2079
  props: {
2080
2080
  block: {},
@@ -2087,29 +2087,29 @@ var Br = { class: "tpl:mb-3.5" }, Vr = ["value"], Hr = ["value"], Ur = {
2087
2087
  n("update", { [e]: t });
2088
2088
  }
2089
2089
  return (t, n) => (o(), g(C, null, [
2090
- x("div", $i, [x("label", { class: m(f(U)) }, w(f(i).title.level), 3), x("select", {
2090
+ x("div", ea, [x("label", { class: m(f(U)) }, w(f(i).title.level), 3), x("select", {
2091
2091
  class: m(f(K)),
2092
2092
  value: e.block.level,
2093
2093
  onChange: n[0] ||= (e) => a("level", Number(e.target.value))
2094
2094
  }, [
2095
- x("option", ta, w(f(i).title.heading1), 1),
2096
- x("option", na, w(f(i).title.heading2), 1),
2097
- x("option", ra, w(f(i).title.heading3), 1),
2098
- x("option", ia, w(f(i).title.heading4), 1)
2099
- ], 42, ea)]),
2100
- x("div", aa, [x("label", { class: m(f(U)) }, w(f(i).title.fontFamily), 3), x("select", {
2095
+ x("option", na, w(f(i).title.heading1), 1),
2096
+ x("option", ra, w(f(i).title.heading2), 1),
2097
+ x("option", ia, w(f(i).title.heading3), 1),
2098
+ x("option", aa, w(f(i).title.heading4), 1)
2099
+ ], 42, ta)]),
2100
+ x("div", oa, [x("label", { class: m(f(U)) }, w(f(i).title.fontFamily), 3), x("select", {
2101
2101
  class: m(f(K)),
2102
2102
  value: e.block.fontFamily || "",
2103
2103
  onChange: n[1] ||= (e) => a("fontFamily", e.target.value || void 0)
2104
- }, [x("option", sa, w(f(i).title.inheritFont), 1), (o(!0), g(C, null, r(e.fontFamilies, (e) => (o(), g("option", {
2104
+ }, [x("option", ca, w(f(i).title.inheritFont), 1), (o(!0), g(C, null, r(e.fontFamilies, (e) => (o(), g("option", {
2105
2105
  key: e.value,
2106
2106
  value: e.value
2107
- }, w(e.label), 9, ca))), 128))], 42, oa)]),
2108
- x("div", la, [x("label", { class: m(f(U)) }, w(f(i).title.color), 3), p(q, {
2107
+ }, w(e.label), 9, la))), 128))], 42, sa)]),
2108
+ x("div", ua, [x("label", { class: m(f(U)) }, w(f(i).title.color), 3), p(q, {
2109
2109
  "model-value": e.block.color ?? "",
2110
2110
  "onUpdate:modelValue": n[2] ||= (e) => a("color", e || void 0)
2111
2111
  }, null, 8, ["model-value"])]),
2112
- x("div", ua, [x("label", { class: m(f(U)) }, w(f(i).title.align), 3), p(X, {
2112
+ x("div", da, [x("label", { class: m(f(U)) }, w(f(i).title.align), 3), p(X, {
2113
2113
  options: [
2114
2114
  {
2115
2115
  value: "left",
@@ -2132,17 +2132,17 @@ var Br = { class: "tpl:mb-3.5" }, Vr = ["value"], Hr = ["value"], Ur = {
2132
2132
  }, null, 8, ["options", "model-value"])])
2133
2133
  ], 64));
2134
2134
  }
2135
- }), fa = { class: "tpl:mb-3.5" }, pa = {
2135
+ }), pa = { class: "tpl:mb-3.5" }, ma = {
2136
2136
  key: 0,
2137
2137
  class: "tpl:mb-3.5"
2138
- }, ma = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, ha = [
2138
+ }, ha = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, ga = [
2139
2139
  "value",
2140
2140
  "placeholder",
2141
2141
  "title"
2142
- ], ga = { class: "tpl:mb-3.5" }, _a = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, va = { class: "tpl:mb-3.5" }, ya = { class: "tpl:mb-3.5" }, ba = ["value"], xa = { value: "full" }, Sa = { class: "tpl:mb-3.5" }, Ca = ["value"], wa = { value: "auto" }, Ta = { value: "custom" }, Ea = {
2142
+ ], _a = { class: "tpl:mb-3.5" }, va = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, ya = { class: "tpl:mb-3.5" }, ba = { class: "tpl:mb-3.5" }, xa = ["value"], Sa = { value: "full" }, Ca = { class: "tpl:mb-3.5" }, wa = ["value"], Ta = { value: "auto" }, Ea = { value: "custom" }, Da = {
2143
2143
  key: 0,
2144
2144
  class: "tpl:mt-2 tpl:flex tpl:items-stretch"
2145
- }, Da = ["value"], Oa = { class: "tpl:mb-3.5" }, ka = 200, Aa = /* @__PURE__ */ l({
2145
+ }, Oa = ["value"], ka = { class: "tpl:mb-3.5" }, Aa = 200, ja = /* @__PURE__ */ l({
2146
2146
  __name: "VideoToolbar",
2147
2147
  props: { block: {} },
2148
2148
  emits: ["update"],
@@ -2154,7 +2154,7 @@ var Br = { class: "tpl:mb-3.5" }, Vr = ["value"], Hr = ["value"], Ur = {
2154
2154
  i("update", { [e]: t });
2155
2155
  }
2156
2156
  function O(e) {
2157
- D("height", e === "custom" ? ka : void 0);
2157
+ D("height", e === "custom" ? Aa : void 0);
2158
2158
  }
2159
2159
  function A(e) {
2160
2160
  let t = Number(e);
@@ -2165,7 +2165,7 @@ var Br = { class: "tpl:mb-3.5" }, Vr = ["value"], Hr = ["value"], Ur = {
2165
2165
  u.alive && e && (D("thumbnailUrl", e.url), S.value = !0, T());
2166
2166
  }
2167
2167
  return (t, n) => (o(), g(C, null, [
2168
- x("div", fa, [
2168
+ x("div", pa, [
2169
2169
  x("label", { class: m(f(U)) }, w(f(a).video.videoUrl), 3),
2170
2170
  p(Y, {
2171
2171
  "model-value": e.block.url,
@@ -2181,16 +2181,16 @@ var Br = { class: "tpl:mb-3.5" }, Vr = ["value"], Hr = ["value"], Ur = {
2181
2181
  "onUpdate:modelValue": n[1] ||= (e) => D("openInNewTab", e)
2182
2182
  }, null, 8, ["model-value", "label"])) : _("", !0)
2183
2183
  ]),
2184
- v.value ? (o(), g("div", pa, [x("label", { class: m(f(U)) }, [E(w(f(a).video.placeholderUrl) + " ", 1), x("span", ma, w(f(a).video.optional), 1)], 2), x("input", {
2184
+ v.value ? (o(), g("div", ma, [x("label", { class: m(f(U)) }, [E(w(f(a).video.placeholderUrl) + " ", 1), x("span", ha, w(f(a).video.optional), 1)], 2), x("input", {
2185
2185
  type: "url",
2186
2186
  class: m(f(K)),
2187
2187
  value: e.block.placeholderUrl || "",
2188
2188
  placeholder: f(a).video.placeholderUrlPlaceholder,
2189
2189
  title: f(a).video.placeholderUrlTooltip,
2190
2190
  onInput: n[2] ||= (e) => D("placeholderUrl", e.target.value)
2191
- }, null, 42, ha)])) : _("", !0),
2192
- x("div", ga, [
2193
- x("label", { class: m(f(U)) }, [E(w(f(a).video.customThumbnail) + " ", 1), x("span", _a, w(f(a).video.optional), 1)], 2),
2191
+ }, null, 42, ga)])) : _("", !0),
2192
+ x("div", _a, [
2193
+ x("label", { class: m(f(U)) }, [E(w(f(a).video.customThumbnail) + " ", 1), x("span", va, w(f(a).video.optional), 1)], 2),
2194
2194
  p(Y, {
2195
2195
  "model-value": e.block.thumbnailUrl,
2196
2196
  type: "url",
@@ -2216,40 +2216,40 @@ var Br = { class: "tpl:mb-3.5" }, Vr = ["value"], Hr = ["value"], Ur = {
2216
2216
  "stroke-width": 1.5
2217
2217
  }), E(" " + w(f(a).image.browseMedia), 1)])) : _("", !0)
2218
2218
  ]),
2219
- x("div", va, [x("label", { class: m(f(U)) }, w(f(a).video.altText), 3), p(Y, {
2219
+ x("div", ya, [x("label", { class: m(f(U)) }, w(f(a).video.altText), 3), p(Y, {
2220
2220
  "model-value": e.block.alt,
2221
2221
  type: "text",
2222
2222
  placeholder: f(a).video.altTextPlaceholder,
2223
2223
  "onUpdate:modelValue": n[4] ||= (e) => D("alt", e)
2224
2224
  }, null, 8, ["model-value", "placeholder"])]),
2225
- x("div", ya, [x("label", { class: m(f(U)) }, w(f(a).video.width), 3), x("select", {
2225
+ x("div", ba, [x("label", { class: m(f(U)) }, w(f(a).video.width), 3), x("select", {
2226
2226
  class: m(f(K)),
2227
2227
  value: e.block.width,
2228
2228
  onChange: n[5] ||= (e) => D("width", e.target.value === "full" ? "full" : Number(e.target.value))
2229
2229
  }, [
2230
- x("option", xa, w(f(a).video.fullWidth), 1),
2230
+ x("option", Sa, w(f(a).video.fullWidth), 1),
2231
2231
  n[9] ||= x("option", { value: "300" }, "300px", -1),
2232
2232
  n[10] ||= x("option", { value: "400" }, "400px", -1),
2233
2233
  n[11] ||= x("option", { value: "500" }, "500px", -1)
2234
- ], 42, ba)]),
2235
- x("div", Sa, [
2234
+ ], 42, xa)]),
2235
+ x("div", Ca, [
2236
2236
  x("label", { class: m(f(U)) }, w(f(a).video.height), 3),
2237
2237
  x("select", {
2238
2238
  class: m(f(K)),
2239
2239
  "data-testid": "video-height-mode",
2240
2240
  value: b.value,
2241
2241
  onChange: n[6] ||= (e) => O(e.target.value)
2242
- }, [x("option", wa, w(f(a).video.heightAuto), 1), x("option", Ta, w(f(a).video.heightCustom), 1)], 42, Ca),
2243
- b.value === "custom" ? (o(), g("div", Ea, [x("input", {
2242
+ }, [x("option", Ta, w(f(a).video.heightAuto), 1), x("option", Ea, w(f(a).video.heightCustom), 1)], 42, wa),
2243
+ b.value === "custom" ? (o(), g("div", Da, [x("input", {
2244
2244
  type: "number",
2245
2245
  "data-testid": "video-height-input",
2246
2246
  class: m(f(G)),
2247
2247
  value: e.block.height,
2248
2248
  min: "20",
2249
2249
  onInput: n[7] ||= (e) => A(e.target.value)
2250
- }, null, 42, Da), x("span", { class: m(f(W)) }, "px", 2)])) : _("", !0)
2250
+ }, null, 42, Oa), x("span", { class: m(f(W)) }, "px", 2)])) : _("", !0)
2251
2251
  ]),
2252
- x("div", Oa, [x("label", { class: m(f(U)) }, w(f(a).title.align), 3), p(X, {
2252
+ x("div", ka, [x("label", { class: m(f(U)) }, w(f(a).title.align), 3), p(X, {
2253
2253
  options: [
2254
2254
  {
2255
2255
  value: "left",
@@ -2269,7 +2269,7 @@ var Br = { class: "tpl:mb-3.5" }, Vr = ["value"], Hr = ["value"], Ur = {
2269
2269
  }, null, 8, ["options", "model-value"])])
2270
2270
  ], 64));
2271
2271
  }
2272
- }), ja = ["aria-label"], Ma = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3.5" }, Na = { class: "tpl:flex tpl:items-center tpl:gap-2 tpl:text-[var(--tpl-primary)]" }, Pa = { class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Fa = { class: "tpl:flex tpl:gap-1" }, Ia = ["title"], La = ["title"], Ra = { class: "tpl:flex-1 tpl:overflow-y-auto tpl:p-4" }, za = /*@__PURE__*/ l({
2272
+ }), Ma = ["aria-label"], Na = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3.5" }, Pa = { class: "tpl:flex tpl:items-center tpl:gap-2 tpl:text-[var(--tpl-primary)]" }, Fa = { class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Ia = { class: "tpl:flex tpl:gap-1" }, La = ["title"], Ra = ["title"], za = { class: "tpl:flex-1 tpl:overflow-y-auto tpl:p-4" }, Ba = /*@__PURE__*/ l({
2273
2273
  __name: "Toolbar",
2274
2274
  props: { block: {} },
2275
2275
  emits: [
@@ -2278,7 +2278,7 @@ var Br = { class: "tpl:mb-3.5" }, Vr = ["value"], Hr = ["value"], Ur = {
2278
2278
  "duplicate"
2279
2279
  ],
2280
2280
  setup(e, { emit: t }) {
2281
- let r = T(() => import("./CountdownToolbar-CN9h4nlC.js")), i = e, a = t, { t: s } = L(), l = F(I, "Toolbar"), u = n(le, []), d = h(() => i.block.type), m = h(() => O(i.block)), v = h(() => {
2281
+ let r = T(() => import("./CountdownToolbar-DRESXiVD.js")), i = e, a = t, { t: s } = L(), l = F(I, "Toolbar"), u = n(le, []), d = h(() => i.block.type), m = h(() => O(i.block)), v = h(() => {
2282
2282
  if (m.value) return u.find((e) => e.type === i.block.customType);
2283
2283
  }), b = h(() => m.value ? v.value?.name ?? i.block.customType : te(d.value, s)), S = l.fonts;
2284
2284
  function C(e) {
@@ -2288,7 +2288,7 @@ var Br = { class: "tpl:mb-3.5" }, Vr = ["value"], Hr = ["value"], Ur = {
2288
2288
  "data-testid": "block-toolbar",
2289
2289
  "aria-label": f(s).landmarks.blockToolbar,
2290
2290
  class: "tpl:flex tpl:w-full tpl:flex-1 tpl:flex-col tpl:bg-[var(--tpl-bg-elevated)]"
2291
- }, [x("div", Ma, [x("div", Na, [f(Me)[d.value] ? (o(), y(c(f(Me)[d.value]), {
2291
+ }, [x("div", Na, [x("div", Pa, [f(Ne)[d.value] ? (o(), y(c(f(Ne)[d.value]), {
2292
2292
  key: 0,
2293
2293
  size: 16,
2294
2294
  "stroke-width": 1.5
@@ -2296,74 +2296,74 @@ var Br = { class: "tpl:mb-3.5" }, Vr = ["value"], Hr = ["value"], Ur = {
2296
2296
  key: 1,
2297
2297
  size: 16,
2298
2298
  "stroke-width": 1.5
2299
- })) : _("", !0), x("h3", Pa, w(b.value), 1)]), x("div", Fa, [x("button", {
2299
+ })) : _("", !0), x("h3", Fa, w(b.value), 1)]), x("div", Ia, [x("button", {
2300
2300
  class: "tpl:flex tpl:size-7 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:hover:bg-[var(--tpl-bg-active)] tpl:hover:text-[var(--tpl-text)]",
2301
2301
  title: f(s).toolbar.duplicate,
2302
2302
  onClick: n[0] ||= (e) => a("duplicate")
2303
2303
  }, [p(f(pe), {
2304
2304
  size: 14,
2305
2305
  "stroke-width": 2
2306
- })], 8, Ia), x("button", {
2306
+ })], 8, La), x("button", {
2307
2307
  class: "tpl:flex tpl:size-7 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:hover:border-[var(--tpl-danger)] tpl:hover:bg-[var(--tpl-danger-light)] tpl:hover:text-[var(--tpl-danger)]",
2308
2308
  title: f(s).toolbar.delete,
2309
2309
  onClick: n[1] ||= (e) => a("delete")
2310
2310
  }, [p(f(_e), {
2311
2311
  size: 14,
2312
2312
  "stroke-width": 2
2313
- })], 8, La)])]), x("div", Ra, [m.value ? (o(), y(Ln, {
2313
+ })], 8, Ra)])]), x("div", za, [m.value ? (o(), y(Rn, {
2314
2314
  key: 0,
2315
2315
  block: e.block,
2316
2316
  onUpdateFieldValues: n[2] ||= (e) => a("update", { fieldValues: e }),
2317
2317
  onUpdateDataSourceFetched: n[3] ||= (e) => a("update", { dataSourceFetched: e })
2318
- }, null, 8, ["block"])) : d.value === "section" ? (o(), y(Zr, {
2318
+ }, null, 8, ["block"])) : d.value === "section" ? (o(), y(Qr, {
2319
2319
  key: 1,
2320
2320
  block: e.block,
2321
2321
  onUpdate: C
2322
- }, null, 8, ["block"])) : d.value === "title" ? (o(), y(da, {
2322
+ }, null, 8, ["block"])) : d.value === "title" ? (o(), y(fa, {
2323
2323
  key: 2,
2324
2324
  block: e.block,
2325
2325
  "font-families": f(S),
2326
2326
  onUpdate: C
2327
- }, null, 8, ["block", "font-families"])) : d.value === "paragraph" ? (o(), y(Lr, {
2327
+ }, null, 8, ["block", "font-families"])) : d.value === "paragraph" ? (o(), y(Rr, {
2328
2328
  key: 3,
2329
2329
  block: e.block,
2330
2330
  onUpdate: C
2331
- }, null, 8, ["block"])) : d.value === "image" ? (o(), y(xr, {
2331
+ }, null, 8, ["block"])) : d.value === "image" ? (o(), y(Sr, {
2332
2332
  key: 4,
2333
2333
  block: e.block,
2334
2334
  onUpdate: C
2335
- }, null, 8, ["block"])) : d.value === "video" ? (o(), y(Aa, {
2335
+ }, null, 8, ["block"])) : d.value === "video" ? (o(), y(ja, {
2336
2336
  key: 5,
2337
2337
  block: e.block,
2338
2338
  onUpdate: C
2339
- }, null, 8, ["block"])) : d.value === "button" ? (o(), y(ot, {
2339
+ }, null, 8, ["block"])) : d.value === "button" ? (o(), y(st, {
2340
2340
  key: 6,
2341
2341
  block: e.block,
2342
2342
  "font-families": f(S),
2343
2343
  onUpdate: C
2344
- }, null, 8, ["block", "font-families"])) : d.value === "divider" ? (o(), y(Un, {
2344
+ }, null, 8, ["block", "font-families"])) : d.value === "divider" ? (o(), y(Wn, {
2345
2345
  key: 7,
2346
2346
  block: e.block,
2347
2347
  onUpdate: C
2348
- }, null, 8, ["block"])) : d.value === "social" ? (o(), y(gi, {
2348
+ }, null, 8, ["block"])) : d.value === "social" ? (o(), y(_i, {
2349
2349
  key: 8,
2350
2350
  block: e.block,
2351
2351
  onUpdate: C
2352
- }, null, 8, ["block"])) : d.value === "menu" ? (o(), y(Nr, {
2352
+ }, null, 8, ["block"])) : d.value === "menu" ? (o(), y(Pr, {
2353
2353
  key: 9,
2354
2354
  block: e.block,
2355
2355
  "font-families": f(S),
2356
2356
  onUpdate: C
2357
- }, null, 8, ["block", "font-families"])) : d.value === "table" ? (o(), y(Qi, {
2357
+ }, null, 8, ["block", "font-families"])) : d.value === "table" ? (o(), y($i, {
2358
2358
  key: 10,
2359
2359
  block: e.block,
2360
2360
  "font-families": f(S),
2361
2361
  onUpdate: C
2362
- }, null, 8, ["block", "font-families"])) : d.value === "spacer" ? (o(), y(xi, {
2362
+ }, null, 8, ["block", "font-families"])) : d.value === "spacer" ? (o(), y(Si, {
2363
2363
  key: 11,
2364
2364
  block: e.block,
2365
2365
  onUpdate: C
2366
- }, null, 8, ["block"])) : d.value === "html" ? (o(), y(qn, {
2366
+ }, null, 8, ["block"])) : d.value === "html" ? (o(), y(Jn, {
2367
2367
  key: 12,
2368
2368
  block: e.block,
2369
2369
  onUpdate: C
@@ -2372,14 +2372,14 @@ var Br = { class: "tpl:mb-3.5" }, Vr = ["value"], Hr = ["value"], Ur = {
2372
2372
  block: e.block,
2373
2373
  "font-families": f(S),
2374
2374
  onUpdate: C
2375
- }, null, 8, ["block", "font-families"])) : _("", !0), p(Zt, {
2375
+ }, null, 8, ["block", "font-families"])) : _("", !0), p(Qt, {
2376
2376
  block: e.block,
2377
2377
  "is-first-section": d.value === "paragraph",
2378
2378
  onUpdate: C
2379
- }, null, 8, ["block", "is-first-section"])])], 8, ja));
2379
+ }, null, 8, ["block", "is-first-section"])])], 8, Ma));
2380
2380
  }
2381
- }), Ba = /* @__PURE__ */ e({ default: () => Va }), Va = /*#__PURE__*/ Ee(za, [["__scopeId", "data-v-1038bf62"]]);
2381
+ }), Va = /* @__PURE__ */ e({ default: () => Ha }), Ha = /*#__PURE__*/ Ee(Ba, [["__scopeId", "data-v-1038bf62"]]);
2382
2382
  //#endregion
2383
- export { Va as default, X as i, $ as n, Xn as r, Ba as t };
2383
+ export { Ha as default, X as i, $ as n, Zn as r, Va as t };
2384
2384
 
2385
- //# sourceMappingURL=Toolbar-dxDYwN5E.js.map
2385
+ //# sourceMappingURL=Toolbar-DqFhWxgW.js.map