@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
@@ -24,10 +24,10 @@ import { t as we } from "./upload-BBDme2cy.js";
24
24
  import { t as Te } from "./x-3BHV3Q6K.js";
25
25
  import { t as Ee } from "./_plugin-vue_export-helper-B3ysoDQm.js";
26
26
  import { t as De } from "./useAliveFlag-BkKyhkwZ.js";
27
- import { _ as Oe, b as ke, c as Ae, g as W, h as G, m as K, p as q, r as je } from "./styleConstants-C_YAPdQS.js";
28
- import { n as Me, t as J } from "./ToggleSwitch-JvQ_CmI1.js";
27
+ import { _ as Oe, b as ke, c as Ae, g as W, h as G, m as K, p as q, r as je, v as Me } from "./styleConstants-C_YAPdQS.js";
28
+ import { n as Ne, t as J } from "./ToggleSwitch-JvQ_CmI1.js";
29
29
  import { t as Y } from "./MergeTagInput-QI-5KG2R.js";
30
- var Ne = pe({
30
+ var Pe = pe({
31
31
  name: "lock-open",
32
32
  size: 24,
33
33
  node: [["rect", {
@@ -43,7 +43,7 @@ var Ne = pe({
43
43
  key: "1mm8w8"
44
44
  }]],
45
45
  aliases: ["unlock"]
46
- }), Pe = pe({
46
+ }), Fe = pe({
47
47
  name: "lock",
48
48
  size: 24,
49
49
  node: [["rect", {
@@ -58,12 +58,12 @@ var Ne = pe({
58
58
  d: "M7 11V7a5 5 0 0 1 10 0v4",
59
59
  key: "fwvmzm"
60
60
  }]]
61
- }), Fe = [
61
+ }), Ie = [
62
62
  "aria-checked",
63
63
  "aria-label",
64
64
  "title",
65
65
  "onClick"
66
- ], Ie = { key: 1 }, X = /* @__PURE__ */ w({
66
+ ], Le = { key: 1 }, X = /* @__PURE__ */ w({
67
67
  __name: "SlidingPillSelect",
68
68
  props: {
69
69
  options: {},
@@ -106,12 +106,12 @@ var Ne = pe({
106
106
  key: 0,
107
107
  size: 14,
108
108
  "stroke-width": 2
109
- })) : (t(), h("span", Ie, v(r.label), 1))], 12, Fe))), 128))], 4));
109
+ })) : (t(), h("span", Le, v(r.label), 1))], 12, Ie))), 128))], 4));
110
110
  }
111
- }), 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 = {
111
+ }), Re = { class: "tpl:mb-3.5" }, ze = ["value"], Be = { value: "" }, Ve = ["value"], He = { class: "tpl:mb-3.5" }, Ue = { class: "tpl:mb-3.5" }, We = { class: "tpl:mb-3.5" }, Ge = { class: "tpl:mb-3.5" }, Ke = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-3" }, qe = { class: "tpl:mb-3.5" }, Je = { class: "tpl:flex tpl:items-stretch" }, Ye = ["value"], Xe = { class: "tpl:mb-3.5" }, Ze = { class: "tpl:flex tpl:items-stretch" }, Qe = ["value"], $e = { class: "tpl:mb-3.5" }, et = ["value"], tt = { value: "auto" }, nt = { value: "full" }, rt = { value: "custom" }, it = {
112
112
  key: 0,
113
113
  class: "tpl:mt-2 tpl:flex tpl:items-stretch"
114
- }, it = ["value"], at = { class: "tpl:mb-3.5" }, ot = 200, st = /* @__PURE__ */ w({
114
+ }, at = ["value"], ot = { class: "tpl:mb-3.5" }, st = 200, ct = /* @__PURE__ */ w({
115
115
  __name: "ButtonToolbar",
116
116
  props: {
117
117
  block: {},
@@ -129,7 +129,7 @@ var Ne = pe({
129
129
  return;
130
130
  }
131
131
  if (e === "custom") {
132
- c("width", typeof r.block.width == "number" ? r.block.width : ot);
132
+ c("width", typeof r.block.width == "number" ? r.block.width : st);
133
133
  return;
134
134
  }
135
135
  c("width", void 0);
@@ -139,20 +139,20 @@ var Ne = pe({
139
139
  !Number.isFinite(t) || t <= 0 || c("width", t);
140
140
  }
141
141
  return (n, r) => (t(), h(x, null, [
142
- m("div", Le, [m("label", { class: y(p(W)) }, v(p(o).button.fontFamily), 3), m("select", {
142
+ m("div", Re, [m("label", { class: y(p(W)) }, v(p(o).button.fontFamily), 3), m("select", {
143
143
  class: y(p(q)),
144
144
  value: e.block.fontFamily || "",
145
145
  onChange: r[0] ||= (e) => c("fontFamily", e.target.value || void 0)
146
- }, [m("option", ze, v(p(o).button.inheritFont), 1), (t(!0), h(x, null, a(e.fontFamilies, (e) => (t(), h("option", {
146
+ }, [m("option", Be, v(p(o).button.inheritFont), 1), (t(!0), h(x, null, a(e.fontFamilies, (e) => (t(), h("option", {
147
147
  key: e.value,
148
148
  value: e.value
149
- }, v(e.label), 9, Be))), 128))], 42, Re)]),
150
- m("div", Ve, [m("label", { class: y(p(W)) }, v(p(o).button.text), 3), g(Y, {
149
+ }, v(e.label), 9, Ve))), 128))], 42, ze)]),
150
+ m("div", He, [m("label", { class: y(p(W)) }, v(p(o).button.text), 3), g(Y, {
151
151
  "model-value": e.block.text,
152
152
  type: "text",
153
153
  "onUpdate:modelValue": r[1] ||= (e) => c("text", e)
154
154
  }, null, 8, ["model-value"])]),
155
- m("div", He, [
155
+ m("div", Ue, [
156
156
  m("label", { class: y(p(W)) }, v(p(o).button.url), 3),
157
157
  g(Y, {
158
158
  "model-value": e.block.url,
@@ -168,49 +168,49 @@ var Ne = pe({
168
168
  "onUpdate:modelValue": r[3] ||= (e) => c("openInNewTab", e)
169
169
  }, null, 8, ["model-value", "label"])) : C("", !0)
170
170
  ]),
171
- m("div", Ue, [m("label", { class: y(p(W)) }, v(p(o).button.background), 3), g(R, {
171
+ m("div", We, [m("label", { class: y(p(W)) }, v(p(o).button.background), 3), g(R, {
172
172
  "model-value": e.block.backgroundColor,
173
173
  "onUpdate:modelValue": r[4] ||= (e) => c("backgroundColor", e)
174
174
  }, null, 8, ["model-value"])]),
175
- m("div", We, [m("label", { class: y(p(W)) }, v(p(o).button.textColor), 3), g(R, {
175
+ m("div", Ge, [m("label", { class: y(p(W)) }, v(p(o).button.textColor), 3), g(R, {
176
176
  "model-value": e.block.textColor,
177
177
  "onUpdate:modelValue": r[5] ||= (e) => c("textColor", e)
178
178
  }, null, 8, ["model-value"])]),
179
- m("div", Ge, [m("div", Ke, [m("label", { class: y(p(W)) }, v(p(o).button.borderRadius), 3), m("div", qe, [m("input", {
179
+ m("div", Ke, [m("div", qe, [m("label", { class: y(p(W)) }, v(p(o).button.borderRadius), 3), m("div", Je, [m("input", {
180
180
  type: "number",
181
181
  class: y(p(K)),
182
182
  value: e.block.borderRadius,
183
183
  min: "0",
184
184
  max: "50",
185
185
  onInput: r[6] ||= (e) => c("borderRadius", Number(e.target.value))
186
- }, null, 42, Je), m("span", { class: y(p(G)) }, "px", 2)])]), m("div", Ye, [m("label", { class: y(p(W)) }, v(p(o).button.fontSize), 3), m("div", Xe, [m("input", {
186
+ }, null, 42, Ye), m("span", { class: y(p(G)) }, "px", 2)])]), m("div", Xe, [m("label", { class: y(p(W)) }, v(p(o).button.fontSize), 3), m("div", Ze, [m("input", {
187
187
  type: "number",
188
188
  class: y(p(K)),
189
189
  value: e.block.fontSize,
190
190
  min: "10",
191
191
  max: "36",
192
192
  onInput: r[7] ||= (e) => c("fontSize", Number(e.target.value))
193
- }, null, 42, Ze), m("span", { class: y(p(G)) }, "px", 2)])])]),
194
- m("div", Qe, [
193
+ }, null, 42, Qe), m("span", { class: y(p(G)) }, "px", 2)])])]),
194
+ m("div", $e, [
195
195
  m("label", { class: y(p(W)) }, v(p(o).button.width), 3),
196
196
  m("select", {
197
197
  class: y(p(q)),
198
198
  value: s.value,
199
199
  onChange: r[8] ||= (e) => l(e.target.value)
200
200
  }, [
201
- m("option", et, v(p(o).button.widthAuto), 1),
202
- m("option", tt, v(p(o).button.fullWidth), 1),
203
- m("option", nt, v(p(o).button.widthCustom), 1)
204
- ], 42, $e),
205
- s.value === "custom" ? (t(), h("div", rt, [m("input", {
201
+ m("option", tt, v(p(o).button.widthAuto), 1),
202
+ m("option", nt, v(p(o).button.fullWidth), 1),
203
+ m("option", rt, v(p(o).button.widthCustom), 1)
204
+ ], 42, et),
205
+ s.value === "custom" ? (t(), h("div", it, [m("input", {
206
206
  type: "number",
207
207
  class: y(p(K)),
208
- value: typeof e.block.width == "number" ? e.block.width : ot,
208
+ value: typeof e.block.width == "number" ? e.block.width : st,
209
209
  min: "20",
210
210
  onInput: r[9] ||= (e) => u(e.target.value)
211
- }, null, 42, it), m("span", { class: y(p(G)) }, "px", 2)])) : C("", !0)
211
+ }, null, 42, at), m("span", { class: y(p(G)) }, "px", 2)])) : C("", !0)
212
212
  ]),
213
- m("div", at, [m("label", { class: y(p(W)) }, v(p(o).title.align), 3), g(X, {
213
+ m("div", ot, [m("label", { class: y(p(W)) }, v(p(o).title.align), 3), g(X, {
214
214
  options: [
215
215
  {
216
216
  value: "left",
@@ -230,7 +230,7 @@ var Ne = pe({
230
230
  }, null, 8, ["options", "model-value"])])
231
231
  ], 64));
232
232
  }
233
- }), 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__ */ w({
233
+ }), lt = { class: "spacing-control" }, ut = { class: "tpl:mb-2 tpl:block tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, dt = { class: "tpl:flex tpl:flex-col tpl:items-center tpl:gap-1.5" }, ft = { class: "tpl:flex tpl:items-center" }, pt = ["aria-label"], mt = ["value", "aria-label"], ht = ["aria-label"], gt = { class: "tpl:flex tpl:items-center tpl:gap-2" }, _t = { class: "tpl:flex tpl:items-center" }, vt = ["aria-label"], yt = ["value", "aria-label"], bt = ["aria-label"], xt = ["aria-label", "title"], St = { class: "tpl:flex tpl:items-center" }, Ct = ["aria-label"], wt = ["value", "aria-label"], Tt = ["aria-label"], Et = { class: "tpl:flex tpl:items-center" }, Dt = ["aria-label"], Ot = ["value", "aria-label"], kt = ["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)]", At = "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)]", jt = /*#__PURE__*/ Ee(/* @__PURE__ */ w({
234
234
  __name: "SpacingControl",
235
235
  props: {
236
236
  modelValue: {},
@@ -277,8 +277,8 @@ var Ne = pe({
277
277
  });
278
278
  }
279
279
  }
280
- return (n, r) => (t(), h("div", ct, [m("label", lt, v(e.label), 1), m("div", ut, [
281
- m("div", dt, [
280
+ return (n, r) => (t(), h("div", lt, [m("label", ut, v(e.label), 1), m("div", dt, [
281
+ m("div", ft, [
282
282
  m("button", {
283
283
  "aria-label": p(a).spacingControl.decreaseTop,
284
284
  class: y([Z, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
@@ -286,15 +286,15 @@ var Ne = pe({
286
286
  }, [g(p(z), {
287
287
  size: 12,
288
288
  "stroke-width": 2
289
- })], 10, ft),
289
+ })], 10, pt),
290
290
  m("input", {
291
291
  type: "number",
292
- class: y(kt),
292
+ class: y(At),
293
293
  value: e.modelValue.top,
294
294
  "aria-label": p(a).spacingControl.top,
295
295
  min: "0",
296
296
  onInput: r[1] ||= (e) => u("top", Number(e.target.value))
297
- }, null, 40, pt),
297
+ }, null, 40, mt),
298
298
  m("button", {
299
299
  "aria-label": p(a).spacingControl.increaseTop,
300
300
  class: y([Z, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
@@ -302,10 +302,10 @@ var Ne = pe({
302
302
  }, [g(p(B), {
303
303
  size: 12,
304
304
  "stroke-width": 2
305
- })], 10, mt)
305
+ })], 10, ht)
306
306
  ]),
307
- m("div", ht, [
308
- m("div", gt, [
307
+ m("div", gt, [
308
+ m("div", _t, [
309
309
  m("button", {
310
310
  "aria-label": p(a).spacingControl.decreaseLeft,
311
311
  class: y([Z, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
@@ -313,15 +313,15 @@ var Ne = pe({
313
313
  }, [g(p(z), {
314
314
  size: 12,
315
315
  "stroke-width": 2
316
- })], 10, _t),
316
+ })], 10, vt),
317
317
  m("input", {
318
318
  type: "number",
319
- class: y(kt),
319
+ class: y(At),
320
320
  value: e.modelValue.left,
321
321
  "aria-label": p(a).spacingControl.left,
322
322
  min: "0",
323
323
  onInput: r[4] ||= (e) => u("left", Number(e.target.value))
324
- }, null, 40, vt),
324
+ }, null, 40, yt),
325
325
  m("button", {
326
326
  "aria-label": p(a).spacingControl.increaseLeft,
327
327
  class: y([Z, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
@@ -329,23 +329,23 @@ var Ne = pe({
329
329
  }, [g(p(B), {
330
330
  size: 12,
331
331
  "stroke-width": 2
332
- })], 10, yt)
332
+ })], 10, bt)
333
333
  ]),
334
334
  m("button", {
335
335
  class: y(["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)]", c.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)]"]),
336
336
  "aria-label": c.value ? p(a).spacingControl.unlock : p(a).spacingControl.lockAll,
337
337
  title: c.value ? p(a).spacingControl.unlock : p(a).spacingControl.lockAll,
338
338
  onClick: f
339
- }, [c.value ? (t(), b(p(Pe), {
339
+ }, [c.value ? (t(), b(p(Fe), {
340
340
  key: 0,
341
341
  size: 14,
342
342
  "stroke-width": 2
343
- })) : (t(), b(p(Ne), {
343
+ })) : (t(), b(p(Pe), {
344
344
  key: 1,
345
345
  size: 14,
346
346
  "stroke-width": 2
347
- }))], 10, bt),
348
- m("div", xt, [
347
+ }))], 10, xt),
348
+ m("div", St, [
349
349
  m("button", {
350
350
  "aria-label": p(a).spacingControl.decreaseRight,
351
351
  class: y([Z, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
@@ -353,15 +353,15 @@ var Ne = pe({
353
353
  }, [g(p(z), {
354
354
  size: 12,
355
355
  "stroke-width": 2
356
- })], 10, St),
356
+ })], 10, Ct),
357
357
  m("input", {
358
358
  type: "number",
359
- class: y(kt),
359
+ class: y(At),
360
360
  value: e.modelValue.right,
361
361
  "aria-label": p(a).spacingControl.right,
362
362
  min: "0",
363
363
  onInput: r[7] ||= (e) => u("right", Number(e.target.value))
364
- }, null, 40, Ct),
364
+ }, null, 40, wt),
365
365
  m("button", {
366
366
  "aria-label": p(a).spacingControl.increaseRight,
367
367
  class: y([Z, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
@@ -369,10 +369,10 @@ var Ne = pe({
369
369
  }, [g(p(B), {
370
370
  size: 12,
371
371
  "stroke-width": 2
372
- })], 10, wt)
372
+ })], 10, Tt)
373
373
  ])
374
374
  ]),
375
- m("div", Tt, [
375
+ m("div", Et, [
376
376
  m("button", {
377
377
  "aria-label": p(a).spacingControl.decreaseBottom,
378
378
  class: y([Z, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
@@ -380,15 +380,15 @@ var Ne = pe({
380
380
  }, [g(p(z), {
381
381
  size: 12,
382
382
  "stroke-width": 2
383
- })], 10, Et),
383
+ })], 10, Dt),
384
384
  m("input", {
385
385
  type: "number",
386
- class: y(kt),
386
+ class: y(At),
387
387
  value: e.modelValue.bottom,
388
388
  "aria-label": p(a).spacingControl.bottom,
389
389
  min: "0",
390
390
  onInput: r[10] ||= (e) => u("bottom", Number(e.target.value))
391
- }, null, 40, Dt),
391
+ }, null, 40, Ot),
392
392
  m("button", {
393
393
  "aria-label": p(a).spacingControl.increaseBottom,
394
394
  class: y([Z, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
@@ -396,11 +396,11 @@ var Ne = pe({
396
396
  }, [g(p(B), {
397
397
  size: 12,
398
398
  "stroke-width": 2
399
- })], 10, Ot)
399
+ })], 10, kt)
400
400
  ])
401
401
  ])]));
402
402
  }
403
- }), [["__scopeId", "data-v-69591c1e"]]), jt = ["data-testid"], Mt = { class: "tpl:mt-3" }, Nt = /* @__PURE__ */ w({
403
+ }), [["__scopeId", "data-v-69591c1e"]]), Mt = ["data-testid"], Nt = { class: "tpl:mt-3" }, Pt = /* @__PURE__ */ w({
404
404
  __name: "CollapsibleSection",
405
405
  props: {
406
406
  title: {},
@@ -419,21 +419,21 @@ var Ne = pe({
419
419
  class: y(["tpl:transition-transform tpl:duration-200", e.open ? "tpl:rotate-0" : "tpl:-rotate-90"]),
420
420
  size: 12,
421
421
  "stroke-width": 2
422
- }, null, 8, ["class"]), m("span", null, v(e.title), 1)], 8, jt), l(m("div", Mt, [o(n.$slots, "default")], 512), [[E, e.open]])], 2));
422
+ }, null, 8, ["class"]), m("span", null, v(e.title), 1)], 8, Mt), l(m("div", Nt, [o(n.$slots, "default")], 512), [[E, e.open]])], 2));
423
423
  }
424
- }), 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 = {
424
+ }), Ft = { class: "tpl:space-y-2" }, It = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Lt = { class: "tpl:space-y-2" }, Rt = ["value"], zt = { value: "" }, Bt = ["label"], Vt = ["value"], Ht = ["value"], Ut = {
425
425
  key: 0,
426
426
  value: "__custom__"
427
- }, Ut = {
427
+ }, Wt = {
428
428
  key: 0,
429
429
  class: "tpl:space-y-2"
430
- }, Wt = { class: "tpl:mb-1 tpl:block tpl:text-[11px] tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, Gt = { class: "tpl:mb-1 tpl:block tpl:text-[11px] tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, Kt = { class: "tpl:flex tpl:justify-end" }, qt = ["disabled"], Jt = {
430
+ }, Gt = { class: "tpl:mb-1 tpl:block tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, Kt = { class: "tpl:mb-1 tpl:block tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, qt = { class: "tpl:flex tpl:justify-end" }, Jt = ["disabled"], Yt = {
431
431
  key: 0,
432
- class: "tpl:text-[11px] tpl:text-[var(--tpl-text-muted)]"
433
- }, 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 = {
432
+ class: "tpl:text-[10px] tpl:text-[var(--tpl-text-muted)]"
433
+ }, Xt = { class: "tpl:space-y-1" }, Zt = { 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)]" }, Qt = {
434
434
  key: 0,
435
435
  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)]"
436
- }, Qt = /* @__PURE__ */ w({
436
+ }, $t = /* @__PURE__ */ w({
437
437
  __name: "CommonBlockSettings",
438
438
  props: {
439
439
  block: {},
@@ -496,13 +496,13 @@ var Ne = pe({
496
496
  t[e] = !t[e], f("update", { visibility: t });
497
497
  }
498
498
  return (n, o) => (t(), h("div", { class: y(["tpl:flex tpl:flex-col", e.isFirstSection ? "" : "tpl:mt-4"]) }, [
499
- g(Nt, {
499
+ g(Pt, {
500
500
  title: p(w).blockSettings.spacing,
501
501
  open: O.has("spacing"),
502
502
  "no-border": e.isFirstSection,
503
503
  onToggle: o[1] ||= (e) => M("spacing")
504
504
  }, {
505
- default: r(() => [g(At, {
505
+ default: r(() => [g(jt, {
506
506
  label: p(w).blockSettings.padding,
507
507
  "model-value": e.block.styles.padding,
508
508
  "onUpdate:modelValue": o[0] ||= (e) => P("padding", e)
@@ -513,7 +513,7 @@ var Ne = pe({
513
513
  "open",
514
514
  "no-border"
515
515
  ]),
516
- g(Nt, {
516
+ g(Pt, {
517
517
  title: p(w).blockSettings.background,
518
518
  open: O.has("bg"),
519
519
  onToggle: o[3] ||= (e) => M("bg")
@@ -524,19 +524,19 @@ var Ne = pe({
524
524
  }, null, 8, ["model-value"])]),
525
525
  _: 1
526
526
  }, 8, ["title", "open"]),
527
- g(Nt, {
527
+ g(Pt, {
528
528
  title: p(w).blockSettings.display,
529
529
  open: O.has("display"),
530
530
  onToggle: o[4] ||= (e) => M("display")
531
531
  }, {
532
- default: r(() => [m("div", Pt, [(t(), h(x, null, a(ee, (e) => g(J, {
532
+ default: r(() => [m("div", Ft, [(t(), h(x, null, a(ee, (e) => g(J, {
533
533
  key: e.key,
534
534
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
535
535
  "model-value": F(e.key),
536
536
  label: p(w).blockSettings[e.labelKey],
537
537
  "onUpdate:modelValue": (t) => ae(e.key)
538
538
  }, {
539
- default: r(() => [m("span", Ft, [(t(), b(i(e.icon), {
539
+ default: r(() => [m("span", It, [(t(), b(i(e.icon), {
540
540
  size: 14,
541
541
  "stroke-width": 1.5
542
542
  })), _(" " + v(p(w).blockSettings[e.labelKey]), 1)])]),
@@ -548,14 +548,14 @@ var Ne = pe({
548
548
  ])), 64))])]),
549
549
  _: 1
550
550
  }, 8, ["title", "open"]),
551
- te.value ? (t(), b(Nt, {
551
+ te.value ? (t(), b(Pt, {
552
552
  key: 0,
553
553
  "header-test-id": "display-condition-section",
554
554
  title: p(w).blockSettings.displayCondition,
555
555
  open: O.has("condition"),
556
556
  onToggle: o[8] ||= (e) => M("condition")
557
557
  }, {
558
- default: r(() => [m("div", It, [m("select", {
558
+ default: r(() => [m("div", Lt, [m("select", {
559
559
  "data-testid": "display-condition-select",
560
560
  class: y(["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)]"]),
561
561
  value: k.value || N.value ? "__custom__" : e.block.displayCondition?.label ?? "",
@@ -573,41 +573,41 @@ var Ne = pe({
573
573
  n && f("update", { displayCondition: n });
574
574
  }
575
575
  }, [
576
- m("option", Rt, v(p(w).blockSettings.noCondition), 1),
576
+ m("option", zt, v(p(w).blockSettings.noCondition), 1),
577
577
  (t(!0), h(x, null, a(ie.value, (e, n) => (t(), h(x, { key: n }, [n ? (t(), h("optgroup", {
578
578
  key: 0,
579
579
  label: String(n)
580
580
  }, [(t(!0), h(x, null, a(e, (e) => (t(), h("option", {
581
581
  key: e.label,
582
582
  value: e.label
583
- }, v(e.label), 9, Bt))), 128))], 8, zt)) : (t(!0), h(x, { key: 1 }, a(e, (e) => (t(), h("option", {
583
+ }, v(e.label), 9, Vt))), 128))], 8, Bt)) : (t(!0), h(x, { key: 1 }, a(e, (e) => (t(), h("option", {
584
584
  key: e.label,
585
585
  value: e.label
586
- }, v(e.label), 9, Vt))), 128))], 64))), 128)),
587
- p(D) ? (t(), h("option", Ht, v(p(w).blockSettings.customCondition), 1)) : C("", !0)
588
- ], 42, Lt), k.value || N.value ? (t(), h("div", Ut, [
589
- m("div", null, [m("label", Wt, v(p(w).blockSettings.customConditionBefore), 1), l(m("textarea", {
586
+ }, v(e.label), 9, Ht))), 128))], 64))), 128)),
587
+ p(D) ? (t(), h("option", Ut, v(p(w).blockSettings.customCondition), 1)) : C("", !0)
588
+ ], 42, Rt), k.value || N.value ? (t(), h("div", Wt, [
589
+ m("div", null, [m("label", Gt, v(p(w).blockSettings.customConditionBefore), 1), l(m("textarea", {
590
590
  "onUpdate:modelValue": o[6] ||= (e) => A.value = e,
591
591
  rows: "2",
592
592
  class: y(p(Oe))
593
593
  }, null, 2), [[T, A.value]])]),
594
- m("div", null, [m("label", Gt, v(p(w).blockSettings.customConditionAfter), 1), l(m("textarea", {
594
+ m("div", null, [m("label", Kt, v(p(w).blockSettings.customConditionAfter), 1), l(m("textarea", {
595
595
  "onUpdate:modelValue": o[7] ||= (e) => j.value = e,
596
596
  rows: "2",
597
597
  class: y(p(Oe))
598
598
  }, null, 2), [[T, j.value]])]),
599
- m("div", Kt, [m("button", {
599
+ m("div", qt, [m("button", {
600
600
  type: "button",
601
- 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",
601
+ class: y(p(Me)),
602
602
  disabled: !A.value.trim(),
603
603
  onClick: re
604
- }, v(p(w).blockSettings.applyCondition), 9, qt)])
605
- ])) : e.block.displayCondition && !N.value ? (t(), h(x, { key: 1 }, [e.block.displayCondition.description ? (t(), h("p", Jt, v(e.block.displayCondition.description), 1)) : C("", !0), m("div", Yt, [m("pre", Xt, v(e.block.displayCondition.before), 1), e.block.displayCondition.after ? (t(), h("pre", Zt, v(e.block.displayCondition.after), 1)) : C("", !0)])], 64)) : C("", !0)])]),
604
+ }, v(p(w).blockSettings.applyCondition), 11, Jt)])
605
+ ])) : e.block.displayCondition && !N.value ? (t(), h(x, { key: 1 }, [e.block.displayCondition.description ? (t(), h("p", Yt, v(e.block.displayCondition.description), 1)) : C("", !0), m("div", Xt, [m("pre", Zt, v(e.block.displayCondition.before), 1), e.block.displayCondition.after ? (t(), h("pre", Qt, v(e.block.displayCondition.after), 1)) : C("", !0)])], 64)) : C("", !0)])]),
606
606
  _: 1
607
607
  }, 8, ["title", "open"])) : C("", !0)
608
608
  ], 2));
609
609
  }
610
- }), $t = ["title"], en = /* @__PURE__ */ w({
610
+ }), en = ["title"], tn = /* @__PURE__ */ w({
611
611
  __name: "BooleanField",
612
612
  props: {
613
613
  field: {},
@@ -628,7 +628,7 @@ var Ne = pe({
628
628
  disabled: e.readOnly,
629
629
  "onUpdate:modelValue": o[0] ||= (e) => i("update:modelValue", e)
630
630
  }, {
631
- default: r(() => [_(v(e.field.label) + " ", 1), e.readOnly ? (t(), b(p(Pe), {
631
+ default: r(() => [_(v(e.field.label) + " ", 1), e.readOnly ? (t(), b(p(Fe), {
632
632
  key: 0,
633
633
  size: 12,
634
634
  class: "tpl:inline tpl:text-[var(--tpl-text-dim)]"
@@ -639,9 +639,9 @@ var Ne = pe({
639
639
  "label",
640
640
  "required",
641
641
  "disabled"
642
- ])], 8, $t));
642
+ ])], 8, en));
643
643
  }
644
- }), tn = { class: "tpl:mb-3.5" }, nn = ["title"], rn = { class: "tpl-sr-only" }, an = ["title"], on = { class: "tpl-sr-only" }, Q = /* @__PURE__ */ w({
644
+ }), nn = { class: "tpl:mb-3.5" }, rn = ["title"], an = { class: "tpl-sr-only" }, on = ["title"], sn = { class: "tpl-sr-only" }, Q = /* @__PURE__ */ w({
645
645
  __name: "FieldWrapper",
646
646
  props: {
647
647
  label: {},
@@ -650,24 +650,24 @@ var Ne = pe({
650
650
  },
651
651
  setup(e) {
652
652
  let { t: n } = L();
653
- return (r, i) => (t(), h("div", tn, [m("label", { class: y(p(W)) }, [
653
+ return (r, i) => (t(), h("div", nn, [m("label", { class: y(p(W)) }, [
654
654
  _(v(e.label) + " ", 1),
655
655
  e.readOnly ? (t(), h("span", {
656
656
  key: 0,
657
657
  title: p(n).customBlocks.dataSource.readOnlyTooltip
658
- }, [g(p(Pe), {
658
+ }, [g(p(Fe), {
659
659
  size: 12,
660
660
  class: "tpl:inline tpl:text-[var(--tpl-text-dim)]",
661
661
  "aria-hidden": "true"
662
- }), m("span", rn, v(p(n).customBlocks.dataSource.readOnlyTooltip), 1)], 8, nn)) : C("", !0),
662
+ }), m("span", an, v(p(n).customBlocks.dataSource.readOnlyTooltip), 1)], 8, rn)) : C("", !0),
663
663
  e.required ? (t(), h("span", {
664
664
  key: 1,
665
665
  class: "tpl:text-[var(--tpl-danger)]",
666
666
  title: p(n).customBlocks.fields.required
667
- }, [i[0] ||= m("span", { "aria-hidden": "true" }, "*", -1), m("span", on, v(p(n).customBlocks.fields.required), 1)], 8, an)) : C("", !0)
667
+ }, [i[0] ||= m("span", { "aria-hidden": "true" }, "*", -1), m("span", sn, v(p(n).customBlocks.fields.required), 1)], 8, on)) : C("", !0)
668
668
  ], 2), o(r.$slots, "default")]));
669
669
  }
670
- }), sn = /* @__PURE__ */ w({
670
+ }), cn = /* @__PURE__ */ w({
671
671
  __name: "ColorField",
672
672
  props: {
673
673
  field: {},
@@ -705,15 +705,15 @@ var Ne = pe({
705
705
  "read-only"
706
706
  ]));
707
707
  }
708
- }), cn = {
708
+ }), ln = {
709
709
  key: 0,
710
710
  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)]",
711
711
  style: { "background-color": "color-mix(in srgb, var(--tpl-bg) 90%, transparent)" }
712
- }, ln = [
712
+ }, un = [
713
713
  "value",
714
714
  "placeholder",
715
715
  "title"
716
- ], un = ["value", "placeholder"], dn = /* @__PURE__ */ w({
716
+ ], dn = ["value", "placeholder"], fn = /* @__PURE__ */ w({
717
717
  __name: "ImageField",
718
718
  props: {
719
719
  field: {},
@@ -758,7 +758,7 @@ var Ne = pe({
758
758
  ref: T,
759
759
  class: "tpl:relative"
760
760
  }, [
761
- D.value && (p(k) || E.value) ? (t(), h("div", cn, [E.value ? (t(), h(x, { key: 0 }, [g(p(ye), {
761
+ D.value && (p(k) || E.value) ? (t(), h("div", ln, [E.value ? (t(), h(x, { key: 0 }, [g(p(ye), {
762
762
  class: "tpl-spinner",
763
763
  size: 18,
764
764
  "stroke-width": 2
@@ -774,14 +774,14 @@ var Ne = pe({
774
774
  placeholder: e.field.placeholder || "https://...",
775
775
  disabled: "",
776
776
  title: p(o).customBlocks.dataSource.readOnlyTooltip
777
- }, null, 10, ln)) : (t(), h("input", {
777
+ }, null, 10, un)) : (t(), h("input", {
778
778
  key: 2,
779
779
  type: "url",
780
780
  class: y(p(q)),
781
781
  value: e.modelValue,
782
782
  placeholder: e.field.placeholder || "https://...",
783
783
  onInput: i[0] ||= (e) => a("update:modelValue", e.target.value)
784
- }, null, 42, un)),
784
+ }, null, 42, dn)),
785
785
  f.value && !e.readOnly ? (t(), h("button", {
786
786
  key: 3,
787
787
  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)]",
@@ -798,7 +798,7 @@ var Ne = pe({
798
798
  "read-only"
799
799
  ]));
800
800
  }
801
- }), fn = [
801
+ }), pn = [
802
802
  "value",
803
803
  "placeholder",
804
804
  "min",
@@ -806,7 +806,7 @@ var Ne = pe({
806
806
  "step",
807
807
  "disabled",
808
808
  "title"
809
- ], pn = /* @__PURE__ */ w({
809
+ ], mn = /* @__PURE__ */ w({
810
810
  __name: "NumberField",
811
811
  props: {
812
812
  field: {},
@@ -832,7 +832,7 @@ var Ne = pe({
832
832
  disabled: e.readOnly,
833
833
  title: e.readOnly ? p(a).customBlocks.dataSource.readOnlyTooltip : void 0,
834
834
  onInput: o[0] ||= (t) => !e.readOnly && i("update:modelValue", Number(t.target.value))
835
- }, null, 42, fn)]),
835
+ }, null, 42, pn)]),
836
836
  _: 1
837
837
  }, 8, [
838
838
  "label",
@@ -840,13 +840,13 @@ var Ne = pe({
840
840
  "read-only"
841
841
  ]));
842
842
  }
843
- }), 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 = {
843
+ }), hn = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, gn = { class: "tpl:mb-2 tpl:flex tpl:items-center tpl:justify-between" }, _n = { class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-dim)]" }, vn = ["title", "onClick"], yn = {
844
844
  key: 1,
845
845
  class: "tpl:m-0 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
846
- }, yn = {
846
+ }, bn = {
847
847
  key: 2,
848
848
  class: "tpl:m-0 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
849
- }, bn = /* @__PURE__ */ w({
849
+ }, xn = /* @__PURE__ */ w({
850
850
  __name: "RepeatableField",
851
851
  props: {
852
852
  field: {},
@@ -879,11 +879,11 @@ var Ne = pe({
879
879
  required: e.field.required,
880
880
  "read-only": e.readOnly
881
881
  }, {
882
- default: r(() => [m("div", mn, [
882
+ default: r(() => [m("div", hn, [
883
883
  (t(!0), h(x, null, a(u.value, (n, r) => (t(), h("div", {
884
884
  key: `${e.field.key}-${r}`,
885
885
  class: "tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:p-3"
886
- }, [m("div", hn, [m("span", gn, " #" + v(r + 1), 1), f.value && !e.readOnly ? (t(), h("button", {
886
+ }, [m("div", gn, [m("span", _n, " #" + v(r + 1), 1), f.value && !e.readOnly ? (t(), h("button", {
887
887
  key: 0,
888
888
  type: "button",
889
889
  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)]",
@@ -892,7 +892,7 @@ var Ne = pe({
892
892
  }, [g(p(Ce), {
893
893
  size: 12,
894
894
  "stroke-width": 2
895
- })], 8, _n)) : C("", !0)]), (t(!0), h(x, null, a(e.field.fields, (a) => (t(), b(i(p(kn)(a.type)), {
895
+ })], 8, vn)) : C("", !0)]), (t(!0), h(x, null, a(e.field.fields, (a) => (t(), b(i(p(An)(a.type)), {
896
896
  key: a.key,
897
897
  field: a,
898
898
  "model-value": n[a.key],
@@ -913,8 +913,8 @@ var Ne = pe({
913
913
  size: 14,
914
914
  "stroke-width": 2
915
915
  }), _(" " + v(p(c).customBlocks.fields.addItem), 1)], 2)) : C("", !0),
916
- !d.value && !e.readOnly ? (t(), h("p", vn, v(p(c).customBlocks.fields.maxItemsReached), 1)) : C("", !0),
917
- !f.value && !e.readOnly ? (t(), h("p", yn, v(p(l)(p(c).customBlocks.fields.minItemsRequired, { count: e.field.minItems ?? 0 })), 1)) : C("", !0)
916
+ !d.value && !e.readOnly ? (t(), h("p", yn, v(p(c).customBlocks.fields.maxItemsReached), 1)) : C("", !0),
917
+ !f.value && !e.readOnly ? (t(), h("p", bn, v(p(l)(p(c).customBlocks.fields.minItemsRequired, { count: e.field.minItems ?? 0 })), 1)) : C("", !0)
918
918
  ])]),
919
919
  _: 1
920
920
  }, 8, [
@@ -923,11 +923,11 @@ var Ne = pe({
923
923
  "read-only"
924
924
  ]));
925
925
  }
926
- }), xn = [
926
+ }), Sn = [
927
927
  "value",
928
928
  "disabled",
929
929
  "title"
930
- ], Sn = ["value"], Cn = /* @__PURE__ */ w({
930
+ ], Cn = ["value"], wn = /* @__PURE__ */ w({
931
931
  __name: "SelectField",
932
932
  props: {
933
933
  field: {},
@@ -951,7 +951,7 @@ var Ne = pe({
951
951
  }, [(t(!0), h(x, null, a(e.field.options, (e) => (t(), h("option", {
952
952
  key: e.value,
953
953
  value: e.value
954
- }, v(e.label), 9, Sn))), 128))], 42, xn)]),
954
+ }, v(e.label), 9, Cn))), 128))], 42, Sn)]),
955
955
  _: 1
956
956
  }, 8, [
957
957
  "label",
@@ -959,11 +959,11 @@ var Ne = pe({
959
959
  "read-only"
960
960
  ]));
961
961
  }
962
- }), wn = [
962
+ }), Tn = [
963
963
  "value",
964
964
  "placeholder",
965
965
  "title"
966
- ], Tn = /* @__PURE__ */ w({
966
+ ], En = /* @__PURE__ */ w({
967
967
  __name: "TextField",
968
968
  props: {
969
969
  field: {},
@@ -986,7 +986,7 @@ var Ne = pe({
986
986
  placeholder: e.field.placeholder,
987
987
  disabled: "",
988
988
  title: p(a).customBlocks.dataSource.readOnlyTooltip
989
- }, null, 10, wn)) : (t(), b(Y, {
989
+ }, null, 10, Tn)) : (t(), b(Y, {
990
990
  key: 1,
991
991
  "model-value": e.modelValue,
992
992
  placeholder: e.field.placeholder,
@@ -999,12 +999,12 @@ var Ne = pe({
999
999
  "read-only"
1000
1000
  ]));
1001
1001
  }
1002
- }), En = [
1002
+ }), Dn = [
1003
1003
  "value",
1004
1004
  "placeholder",
1005
1005
  "title"
1006
- ], 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 = {
1007
- text: Tn,
1006
+ ], On = "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", kn = {
1007
+ text: En,
1008
1008
  textarea: /* @__PURE__ */ w({
1009
1009
  __name: "TextareaField",
1010
1010
  props: {
@@ -1027,8 +1027,8 @@ var Ne = pe({
1027
1027
  rows: "3",
1028
1028
  disabled: "",
1029
1029
  title: p(a).customBlocks.dataSource.readOnlyTooltip,
1030
- class: y(Dn)
1031
- }, null, 8, En)) : (t(), b(Me, {
1030
+ class: y(On)
1031
+ }, null, 8, Dn)) : (t(), b(Ne, {
1032
1032
  key: 1,
1033
1033
  "model-value": e.modelValue,
1034
1034
  placeholder: e.field.placeholder,
@@ -1042,37 +1042,37 @@ var Ne = pe({
1042
1042
  ]));
1043
1043
  }
1044
1044
  }),
1045
- image: dn,
1046
- color: sn,
1047
- number: pn,
1048
- select: Cn,
1049
- boolean: en,
1050
- repeatable: bn
1045
+ image: fn,
1046
+ color: cn,
1047
+ number: mn,
1048
+ select: wn,
1049
+ boolean: tn,
1050
+ repeatable: xn
1051
1051
  };
1052
- function kn(e) {
1053
- return On[e] ?? Tn;
1052
+ function An(e) {
1053
+ return kn[e] ?? En;
1054
1054
  }
1055
1055
  //#endregion
1056
1056
  //#region src/components/toolbar/CustomBlockToolbar.vue?vue&type=script&setup=true&lang.ts
1057
- var An = {
1057
+ var jn = {
1058
1058
  key: 0,
1059
1059
  class: "tpl:p-4"
1060
- }, jn = { class: "tpl:m-0 tpl:text-center tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, Mn = { key: 1 }, Nn = {
1060
+ }, Mn = { class: "tpl:m-0 tpl:text-center tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, Nn = { key: 1 }, Pn = {
1061
1061
  key: 0,
1062
1062
  class: "tpl:m-0 tpl:mb-3 tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
1063
- }, Pn = {
1063
+ }, Fn = {
1064
1064
  key: 1,
1065
1065
  class: "tpl:mb-4"
1066
- }, Fn = {
1066
+ }, In = {
1067
1067
  key: 1,
1068
1068
  class: "tpl:flex tpl:h-[32px] tpl:items-center"
1069
- }, In = {
1069
+ }, Ln = {
1070
1070
  key: 0,
1071
1071
  class: "tpl:w-full tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
1072
- }, Ln = {
1072
+ }, Rn = {
1073
1073
  key: 2,
1074
1074
  class: "tpl:m-0 tpl:mt-2 tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-xs tpl:text-[var(--tpl-danger)]"
1075
- }, Rn = /* @__PURE__ */ w({
1075
+ }, zn = /* @__PURE__ */ w({
1076
1076
  __name: "CustomBlockToolbar",
1077
1077
  props: { block: {} },
1078
1078
  emits: ["updateFieldValues", "updateDataSourceFetched"],
@@ -1093,23 +1093,23 @@ var An = {
1093
1093
  [e]: t
1094
1094
  });
1095
1095
  }
1096
- return (n, r) => u.value ? (t(), h("div", Mn, [
1097
- u.value.description ? (t(), h("p", Nn, v(u.value.description), 1)) : C("", !0),
1098
- p(T) ? (t(), h("div", Pn, [p(E) && !p(f) ? (t(), h("button", {
1096
+ return (n, r) => u.value ? (t(), h("div", Nn, [
1097
+ u.value.description ? (t(), h("p", Pn, v(u.value.description), 1)) : C("", !0),
1098
+ p(T) ? (t(), h("div", Fn, [p(E) && !p(f) ? (t(), h("button", {
1099
1099
  key: 0,
1100
1100
  type: "button",
1101
1101
  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)]",
1102
1102
  onClick: r[0] ||= (...e) => p(w) && p(w)(...e)
1103
- }, v(u.value?.dataSource?.label || p(s).customBlocks.dataSource.fetchButton), 1)) : (t(), h("div", Fn, [p(f) ? (t(), h("div", In, v(p(s).customBlocks.dataSource.fetching), 1)) : (t(), h("button", {
1103
+ }, v(u.value?.dataSource?.label || p(s).customBlocks.dataSource.fetchButton), 1)) : (t(), h("div", In, [p(f) ? (t(), h("div", Ln, v(p(s).customBlocks.dataSource.fetching), 1)) : (t(), h("button", {
1104
1104
  key: 1,
1105
1105
  type: "button",
1106
1106
  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)]",
1107
1107
  onClick: r[1] ||= (...e) => p(w) && p(w)(...e)
1108
- }, [g(p(Se), { size: 12 }), _(" " + v(p(s).customBlocks.dataSource.changeButton), 1)]))])), p(y) ? (t(), h("p", Ln, [g(p(he), {
1108
+ }, [g(p(Se), { size: 12 }), _(" " + v(p(s).customBlocks.dataSource.changeButton), 1)]))])), p(y) ? (t(), h("p", Rn, [g(p(he), {
1109
1109
  size: 14,
1110
1110
  class: "tpl:shrink-0"
1111
1111
  }), _(" " + v(p(s).customBlocks.dataSource.fetchError), 1)])) : C("", !0)])) : C("", !0),
1112
- (t(!0), h(x, null, a(u.value.fields, (n) => (t(), b(i(p(kn)(n.type)), {
1112
+ (t(!0), h(x, null, a(u.value.fields, (n) => (t(), b(i(p(An)(n.type)), {
1113
1113
  key: n.key,
1114
1114
  field: n,
1115
1115
  "model-value": e.block.fieldValues[n.key],
@@ -1121,9 +1121,9 @@ var An = {
1121
1121
  "read-only",
1122
1122
  "onUpdate:modelValue"
1123
1123
  ]))), 128))
1124
- ])) : (t(), h("div", An, [m("p", jn, v(p(s).customBlocks.toolbar.noDefinition), 1)]));
1124
+ ])) : (t(), h("div", jn, [m("p", Mn, v(p(s).customBlocks.toolbar.noDefinition), 1)]));
1125
1125
  }
1126
- }), 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__ */ w({
1126
+ }), Bn = { class: "tpl:mb-3.5" }, Vn = { class: "tpl:mb-3.5" }, Hn = { class: "tpl:mb-3.5" }, Un = { class: "tpl:flex tpl:items-stretch" }, Wn = ["value"], Gn = /* @__PURE__ */ w({
1127
1127
  __name: "DividerToolbar",
1128
1128
  props: { block: {} },
1129
1129
  emits: ["update"],
@@ -1133,7 +1133,7 @@ var An = {
1133
1133
  r("update", { [e]: t });
1134
1134
  }
1135
1135
  return (n, r) => (t(), h(x, null, [
1136
- m("div", zn, [m("label", { class: y(p(W)) }, v(p(i).divider.style), 3), g(X, {
1136
+ m("div", Bn, [m("label", { class: y(p(W)) }, v(p(i).divider.style), 3), g(X, {
1137
1137
  options: [
1138
1138
  {
1139
1139
  value: "solid",
@@ -1151,27 +1151,27 @@ var An = {
1151
1151
  "model-value": e.block.lineStyle,
1152
1152
  "onUpdate:modelValue": r[0] ||= (e) => a("lineStyle", e)
1153
1153
  }, null, 8, ["options", "model-value"])]),
1154
- m("div", Bn, [m("label", { class: y(p(W)) }, v(p(i).divider.color), 3), g(R, {
1154
+ m("div", Vn, [m("label", { class: y(p(W)) }, v(p(i).divider.color), 3), g(R, {
1155
1155
  "model-value": e.block.color,
1156
1156
  "onUpdate:modelValue": r[1] ||= (e) => a("color", e)
1157
1157
  }, null, 8, ["model-value"])]),
1158
- m("div", Vn, [m("label", { class: y(p(W)) }, v(p(i).divider.thickness), 3), m("div", Hn, [m("input", {
1158
+ m("div", Hn, [m("label", { class: y(p(W)) }, v(p(i).divider.thickness), 3), m("div", Un, [m("input", {
1159
1159
  type: "number",
1160
1160
  class: y(p(K)),
1161
1161
  value: e.block.thickness,
1162
1162
  min: "1",
1163
1163
  max: "10",
1164
1164
  onInput: r[2] ||= (e) => a("thickness", Number(e.target.value))
1165
- }, null, 42, Un), m("span", { class: y(p(G)) }, "px", 2)])])
1165
+ }, null, 42, Wn), m("span", { class: y(p(G)) }, "px", 2)])])
1166
1166
  ], 64));
1167
1167
  }
1168
- }), 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-[11px] tpl:text-[var(--tpl-text-dim)]" }, Jn = /* @__PURE__ */ w({
1168
+ }), Kn = { class: "tpl:mb-3.5" }, qn = ["value"], Jn = { class: "tpl:mt-1.5 tpl:flex tpl:items-start tpl:gap-1.5 tpl:text-[10px] tpl:text-[var(--tpl-text-dim)]" }, Yn = /* @__PURE__ */ w({
1169
1169
  __name: "HtmlToolbar",
1170
1170
  props: { block: {} },
1171
1171
  emits: ["update"],
1172
1172
  setup(e, { emit: n }) {
1173
1173
  let r = n, { t: i } = L();
1174
- return (n, a) => (t(), h("div", Gn, [
1174
+ return (n, a) => (t(), h("div", Kn, [
1175
1175
  m("label", { class: y(p(W)) }, v(p(i).html.content), 3),
1176
1176
  m("textarea", {
1177
1177
  value: e.block.content,
@@ -1179,19 +1179,19 @@ var An = {
1179
1179
  rows: "10",
1180
1180
  class: y(p(Oe)),
1181
1181
  onInput: a[0] ||= (e) => r("update", { content: e.target.value })
1182
- }, null, 42, Kn),
1183
- m("p", qn, [g(p(ve), {
1182
+ }, null, 42, qn),
1183
+ m("p", Jn, [g(p(ve), {
1184
1184
  size: 12,
1185
1185
  class: "tpl:mt-0.5 tpl:shrink-0"
1186
1186
  }), _(" " + v(p(i).html.sanitizationHint), 1)])
1187
1187
  ]));
1188
1188
  }
1189
- }), Yn = { class: "tpl:flex tpl:items-stretch" }, Xn = [
1189
+ }), Xn = { class: "tpl:flex tpl:items-stretch" }, Zn = [
1190
1190
  "data-testid",
1191
1191
  "value",
1192
1192
  "min",
1193
1193
  "max"
1194
- ], Zn = /* @__PURE__ */ w({
1194
+ ], Qn = /* @__PURE__ */ w({
1195
1195
  __name: "NumberWithSuffix",
1196
1196
  props: {
1197
1197
  modelValue: {},
@@ -1207,7 +1207,7 @@ var An = {
1207
1207
  let t = e.target;
1208
1208
  t.validity?.badInput || r("update:modelValue", Number(t.value));
1209
1209
  }
1210
- return (n, r) => (t(), h("div", Yn, [m("input", {
1210
+ return (n, r) => (t(), h("div", Xn, [m("input", {
1211
1211
  type: "number",
1212
1212
  "data-testid": e.testid,
1213
1213
  class: y(p(K)),
@@ -1215,26 +1215,26 @@ var An = {
1215
1215
  min: e.min,
1216
1216
  max: e.max,
1217
1217
  onInput: i
1218
- }, null, 42, Xn), m("span", { class: y(p(G)) }, v(e.suffix), 3)]));
1218
+ }, null, 42, Zn), m("span", { class: y(p(G)) }, v(e.suffix), 3)]));
1219
1219
  }
1220
- }), Qn = { class: "tpl:mb-3.5" }, $n = {
1220
+ }), $n = { class: "tpl:mb-3.5" }, er = {
1221
1221
  key: 0,
1222
1222
  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)]",
1223
1223
  style: { "background-color": "color-mix(in srgb, var(--tpl-bg) 90%, transparent)" }
1224
- }, er = {
1224
+ }, tr = {
1225
1225
  key: 0,
1226
1226
  class: "tpl:mb-3.5"
1227
- }, tr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, nr = [
1227
+ }, nr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, rr = [
1228
1228
  "value",
1229
1229
  "placeholder",
1230
1230
  "title"
1231
- ], 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 = {
1231
+ ], ir = { class: "tpl:mb-3.5" }, ar = { class: "tpl:block tpl:text-[var(--tpl-text-dim)]" }, or = { class: "tpl:mb-3.5" }, sr = ["value"], cr = { value: "full" }, lr = { value: "custom" }, ur = {
1232
1232
  key: 0,
1233
1233
  class: "tpl:mt-2 tpl:flex tpl:items-stretch"
1234
- }, ur = ["value"], dr = { class: "tpl:mb-3.5" }, fr = ["value"], pr = { value: "auto" }, mr = { value: "custom" }, hr = {
1234
+ }, dr = ["value"], fr = { class: "tpl:mb-3.5" }, pr = ["value"], mr = { value: "auto" }, hr = { value: "custom" }, gr = {
1235
1235
  key: 0,
1236
1236
  class: "tpl:mt-2 tpl:flex tpl:items-stretch"
1237
- }, 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__ */ w({
1237
+ }, _r = ["value"], vr = { class: "tpl:mb-3.5" }, yr = { class: "tpl:mb-3.5" }, br = { class: "tpl:mb-3.5" }, xr = 350, Sr = 200, Cr = /* @__PURE__ */ w({
1238
1238
  __name: "ImageToolbar",
1239
1239
  props: { block: {} },
1240
1240
  emits: ["update"],
@@ -1255,13 +1255,13 @@ var An = {
1255
1255
  function ne(e) {
1256
1256
  if (e === "custom") {
1257
1257
  let e = i.block.width;
1258
- (typeof e != "number" || O.includes(e)) && N("width", br);
1258
+ (typeof e != "number" || O.includes(e)) && N("width", xr);
1259
1259
  return;
1260
1260
  }
1261
1261
  N("width", e === "full" ? "full" : Number(e));
1262
1262
  }
1263
1263
  function re(e) {
1264
- N("height", e === "custom" ? xr : void 0);
1264
+ N("height", e === "custom" ? Sr : void 0);
1265
1265
  }
1266
1266
  function ie(e) {
1267
1267
  let t = Number(e);
@@ -1300,12 +1300,12 @@ var An = {
1300
1300
  onFiles: pe
1301
1301
  });
1302
1302
  return (n, i) => (t(), h(x, null, [
1303
- m("div", Qn, [m("label", { class: y(p(W)) }, v(p(o).image.imageUrl), 3), m("div", {
1303
+ m("div", $n, [m("label", { class: y(p(W)) }, v(p(o).image.imageUrl), 3), m("div", {
1304
1304
  ref_key: "dropZoneRef",
1305
1305
  ref: ue,
1306
1306
  class: "tpl:relative"
1307
1307
  }, [
1308
- fe.value && (p(R) || I.value) ? (t(), h("div", $n, [I.value ? (t(), h(x, { key: 0 }, [g(p(ye), {
1308
+ fe.value && (p(R) || I.value) ? (t(), h("div", er, [I.value ? (t(), h(x, { key: 0 }, [g(p(ye), {
1309
1309
  class: "tpl-spinner",
1310
1310
  size: 18,
1311
1311
  "stroke-width": 2
@@ -1338,15 +1338,15 @@ var An = {
1338
1338
  "stroke-width": 1.5
1339
1339
  }), _(" " + v(p(o).image.browseMedia), 1)])) : C("", !0)
1340
1340
  ], 512)]),
1341
- p(A)(e.block.src, p(u)) ? (t(), h("div", er, [m("label", { class: y(p(W)) }, [_(v(p(o).image.placeholderUrl) + " ", 1), m("span", tr, v(p(o).image.optional), 1)], 2), m("input", {
1341
+ p(A)(e.block.src, p(u)) ? (t(), h("div", tr, [m("label", { class: y(p(W)) }, [_(v(p(o).image.placeholderUrl) + " ", 1), m("span", nr, v(p(o).image.optional), 1)], 2), m("input", {
1342
1342
  type: "url",
1343
1343
  class: y(p(q)),
1344
1344
  value: e.block.placeholderUrl || "",
1345
1345
  placeholder: p(o).image.placeholderUrlPlaceholder,
1346
1346
  title: p(o).image.placeholderUrlTooltip,
1347
1347
  onInput: i[1] ||= (e) => N("placeholderUrl", e.target.value)
1348
- }, null, 42, nr)])) : C("", !0),
1349
- m("div", rr, [
1348
+ }, null, 42, rr)])) : C("", !0),
1349
+ m("div", ir, [
1350
1350
  m("label", { class: y(p(W)) }, v(p(o).image.altText), 3),
1351
1351
  g(Y, {
1352
1352
  "model-value": e.block.alt,
@@ -1367,56 +1367,56 @@ var An = {
1367
1367
  label: p(o).image.decorative,
1368
1368
  "onUpdate:modelValue": i[3] ||= (e) => N("decorative", e)
1369
1369
  }, {
1370
- default: r(() => [m("span", null, [_(v(p(o).image.decorative) + " ", 1), m("span", ir, v(p(o).image.decorativeHint), 1)])]),
1370
+ default: r(() => [m("span", null, [_(v(p(o).image.decorative) + " ", 1), m("span", ar, v(p(o).image.decorativeHint), 1)])]),
1371
1371
  _: 1
1372
1372
  }, 8, ["model-value", "label"])
1373
1373
  ]),
1374
- m("div", ar, [
1374
+ m("div", or, [
1375
1375
  m("label", { class: y(p(W)) }, v(p(o).image.width), 3),
1376
1376
  m("select", {
1377
1377
  class: y(p(q)),
1378
1378
  value: k.value,
1379
1379
  onChange: i[4] ||= (e) => ne(e.target.value)
1380
1380
  }, [
1381
- m("option", sr, v(p(o).image.fullWidth), 1),
1381
+ m("option", cr, v(p(o).image.fullWidth), 1),
1382
1382
  i[11] ||= m("option", { value: "300" }, "300px", -1),
1383
1383
  i[12] ||= m("option", { value: "400" }, "400px", -1),
1384
1384
  i[13] ||= m("option", { value: "500" }, "500px", -1),
1385
- m("option", cr, v(p(o).image.widthCustom), 1)
1386
- ], 42, or),
1387
- k.value === "custom" ? (t(), h("div", lr, [m("input", {
1385
+ m("option", lr, v(p(o).image.widthCustom), 1)
1386
+ ], 42, sr),
1387
+ k.value === "custom" ? (t(), h("div", ur, [m("input", {
1388
1388
  type: "number",
1389
1389
  class: y(p(K)),
1390
- value: typeof e.block.width == "number" ? e.block.width : br,
1390
+ value: typeof e.block.width == "number" ? e.block.width : xr,
1391
1391
  min: "20",
1392
1392
  onInput: i[5] ||= (e) => ce(e.target.value)
1393
- }, null, 42, ur), m("span", { class: y(p(G)) }, "px", 2)])) : C("", !0)
1393
+ }, null, 42, dr), m("span", { class: y(p(G)) }, "px", 2)])) : C("", !0)
1394
1394
  ]),
1395
- m("div", dr, [
1395
+ m("div", fr, [
1396
1396
  m("label", { class: y(p(W)) }, v(p(o).image.height), 3),
1397
1397
  m("select", {
1398
1398
  class: y(p(q)),
1399
1399
  "data-testid": "image-height-mode",
1400
1400
  value: M.value,
1401
1401
  onChange: i[6] ||= (e) => re(e.target.value)
1402
- }, [m("option", pr, v(p(o).image.heightAuto), 1), m("option", mr, v(p(o).image.heightCustom), 1)], 42, fr),
1403
- M.value === "custom" ? (t(), h("div", hr, [m("input", {
1402
+ }, [m("option", mr, v(p(o).image.heightAuto), 1), m("option", hr, v(p(o).image.heightCustom), 1)], 42, pr),
1403
+ M.value === "custom" ? (t(), h("div", gr, [m("input", {
1404
1404
  type: "number",
1405
1405
  "data-testid": "image-height-input",
1406
1406
  class: y(p(K)),
1407
1407
  value: e.block.height,
1408
1408
  min: "20",
1409
1409
  onInput: i[7] ||= (e) => ie(e.target.value)
1410
- }, null, 42, gr), m("span", { class: y(p(G)) }, "px", 2)])) : C("", !0)
1410
+ }, null, 42, _r), m("span", { class: y(p(G)) }, "px", 2)])) : C("", !0)
1411
1411
  ]),
1412
- m("div", _r, [m("label", { class: y(p(W)) }, v(p(o).image.borderRadius), 3), g(Zn, {
1412
+ m("div", vr, [m("label", { class: y(p(W)) }, v(p(o).image.borderRadius), 3), g(Qn, {
1413
1413
  "model-value": e.block.borderRadius ?? 0,
1414
1414
  min: 0,
1415
1415
  suffix: "px",
1416
1416
  testid: "image-border-radius-input",
1417
1417
  "onUpdate:modelValue": oe
1418
1418
  }, null, 8, ["model-value"])]),
1419
- m("div", vr, [m("label", { class: y(p(W)) }, v(p(o).title.align), 3), g(X, {
1419
+ m("div", yr, [m("label", { class: y(p(W)) }, v(p(o).title.align), 3), g(X, {
1420
1420
  options: [
1421
1421
  {
1422
1422
  value: "left",
@@ -1434,7 +1434,7 @@ var An = {
1434
1434
  "model-value": e.block.align,
1435
1435
  "onUpdate:modelValue": i[8] ||= (e) => N("align", e)
1436
1436
  }, null, 8, ["options", "model-value"])]),
1437
- m("div", yr, [
1437
+ m("div", br, [
1438
1438
  m("label", { class: y(p(W)) }, v(p(o).image.linkUrl), 3),
1439
1439
  g(Y, {
1440
1440
  "model-value": e.block.linkUrl || "",
@@ -1452,20 +1452,20 @@ var An = {
1452
1452
  ])
1453
1453
  ], 64));
1454
1454
  }
1455
- }), Cr = { class: "tpl:mb-3.5" }, $ = /* @__PURE__ */ w({
1455
+ }), wr = { class: "tpl:mb-3.5" }, $ = /* @__PURE__ */ w({
1456
1456
  __name: "FieldRow",
1457
1457
  props: { label: {} },
1458
1458
  setup(e) {
1459
- return (n, r) => (t(), h("div", Cr, [e.label ? (t(), h("label", {
1459
+ return (n, r) => (t(), h("div", wr, [e.label ? (t(), h("label", {
1460
1460
  key: 0,
1461
1461
  class: y(p(W))
1462
1462
  }, v(e.label), 3)) : C("", !0), o(n.$slots, "default")]));
1463
1463
  }
1464
- }), wr = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, Tr = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Er = [
1464
+ }), Tr = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, Er = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Dr = [
1465
1465
  "value",
1466
1466
  "placeholder",
1467
1467
  "onInput"
1468
- ], 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__ */ w({
1468
+ ], Or = ["title", "onClick"], kr = { 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)]" }, Ar = { class: "tpl:flex tpl:items-center tpl:gap-2" }, jr = ["value"], Mr = { value: "" }, Nr = ["value"], Pr = ["value"], Fr = /* @__PURE__ */ w({
1469
1469
  __name: "MenuToolbar",
1470
1470
  props: {
1471
1471
  block: {},
@@ -1529,24 +1529,24 @@ var An = {
1529
1529
  }
1530
1530
  return (n, i) => (t(), h(x, null, [
1531
1531
  g($, { label: p(s).menu.items }, {
1532
- default: r(() => [m("div", wr, [(t(!0), h(x, null, a(e.block.items, (n) => (t(), h("div", {
1532
+ default: r(() => [m("div", Tr, [(t(!0), h(x, null, a(e.block.items, (n) => (t(), h("div", {
1533
1533
  key: n.id,
1534
1534
  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"
1535
1535
  }, [
1536
- m("div", Tr, [m("input", {
1536
+ m("div", Er, [m("input", {
1537
1537
  type: "text",
1538
1538
  class: y([p(q), "tpl:flex-1"]),
1539
1539
  value: n.text,
1540
1540
  placeholder: p(s).menu.text,
1541
1541
  onInput: (e) => f(n.id, "text", e.target.value)
1542
- }, null, 42, Er), m("button", {
1542
+ }, null, 42, Dr), m("button", {
1543
1543
  class: y(p(ke)),
1544
1544
  title: p(s).menu.removeItem,
1545
1545
  onClick: (e) => C(n.id)
1546
1546
  }, [g(p(Te), {
1547
1547
  size: 14,
1548
1548
  "stroke-width": 2
1549
- })], 10, Dr)]),
1549
+ })], 10, Or)]),
1550
1550
  g(Y, {
1551
1551
  "model-value": n.url,
1552
1552
  type: "url",
@@ -1557,7 +1557,7 @@ var An = {
1557
1557
  "placeholder",
1558
1558
  "onUpdate:modelValue"
1559
1559
  ]),
1560
- m("div", Or, [(t(!0), h(x, null, a(c.value, (e) => (t(), b(J, {
1560
+ m("div", kr, [(t(!0), h(x, null, a(c.value, (e) => (t(), b(J, {
1561
1561
  key: e.key,
1562
1562
  "model-value": n[e.key],
1563
1563
  label: e.label,
@@ -1567,7 +1567,7 @@ var An = {
1567
1567
  "label",
1568
1568
  "onUpdate:modelValue"
1569
1569
  ]))), 128))]),
1570
- m("div", kr, [m("label", { class: y([p(W), "tpl:!mb-0"]) }, v(p(s).menu.color), 3), g(R, {
1570
+ m("div", Ar, [m("label", { class: y([p(W), "tpl:!mb-0"]) }, v(p(s).menu.color), 3), g(R, {
1571
1571
  "swatch-only": "",
1572
1572
  "model-value": n.color || e.block.linkColor || e.block.color || "",
1573
1573
  "onUpdate:modelValue": (e) => f(n.id, "color", e)
@@ -1586,14 +1586,14 @@ var An = {
1586
1586
  class: y(p(q)),
1587
1587
  value: e.block.fontFamily || "",
1588
1588
  onChange: i[0] ||= (e) => u("fontFamily", e.target.value || void 0)
1589
- }, [m("option", jr, v(p(s).title.inheritFont), 1), (t(!0), h(x, null, a(e.fontFamilies, (e) => (t(), h("option", {
1589
+ }, [m("option", Mr, v(p(s).title.inheritFont), 1), (t(!0), h(x, null, a(e.fontFamilies, (e) => (t(), h("option", {
1590
1590
  key: e.value,
1591
1591
  value: e.value
1592
- }, v(e.label), 9, Mr))), 128))], 42, Ar)]),
1592
+ }, v(e.label), 9, Nr))), 128))], 42, jr)]),
1593
1593
  _: 1
1594
1594
  }, 8, ["label"]),
1595
1595
  g($, { label: p(s).menu.fontSize }, {
1596
- default: r(() => [g(Zn, {
1596
+ default: r(() => [g(Qn, {
1597
1597
  "model-value": e.block.fontSize,
1598
1598
  min: 8,
1599
1599
  max: 48,
@@ -1630,7 +1630,7 @@ var An = {
1630
1630
  class: y(p(q)),
1631
1631
  value: e.block.separator,
1632
1632
  onInput: i[5] ||= (e) => u("separator", e.target.value)
1633
- }, null, 42, Nr)]),
1633
+ }, null, 42, Pr)]),
1634
1634
  _: 1
1635
1635
  }, 8, ["label"]),
1636
1636
  g($, { label: p(s).menu.separatorColor }, {
@@ -1641,7 +1641,7 @@ var An = {
1641
1641
  _: 1
1642
1642
  }, 8, ["label"]),
1643
1643
  g($, { label: p(s).menu.spacing }, {
1644
- default: r(() => [g(Zn, {
1644
+ default: r(() => [g(Qn, {
1645
1645
  "model-value": e.block.spacing,
1646
1646
  min: 0,
1647
1647
  max: 50,
@@ -1652,32 +1652,32 @@ var An = {
1652
1652
  }, 8, ["label"])
1653
1653
  ], 64));
1654
1654
  }
1655
- }), Fr = {
1655
+ }), Ir = {
1656
1656
  class: "tpl:mb-3.5",
1657
1657
  "data-testid": "paragraph-spacing"
1658
- }, Ir = { class: "tpl:flex tpl:items-stretch" }, Lr = ["value"], Rr = /* @__PURE__ */ w({
1658
+ }, Lr = { class: "tpl:flex tpl:items-stretch" }, Rr = ["value"], zr = /* @__PURE__ */ w({
1659
1659
  __name: "ParagraphToolbar",
1660
1660
  props: { block: {} },
1661
1661
  emits: ["update"],
1662
1662
  setup(e, { emit: n }) {
1663
1663
  let r = n, { t: i } = L();
1664
- return (n, a) => (t(), h("div", Fr, [m("label", { class: y(p(W)) }, v(p(i).paragraph.paragraphSpacing), 3), m("div", Ir, [m("input", {
1664
+ return (n, a) => (t(), h("div", Ir, [m("label", { class: y(p(W)) }, v(p(i).paragraph.paragraphSpacing), 3), m("div", Lr, [m("input", {
1665
1665
  type: "number",
1666
1666
  class: y(p(K)),
1667
1667
  value: e.block.paragraphSpacing ?? p(k).paragraphGap,
1668
1668
  min: "0",
1669
1669
  max: "64",
1670
1670
  onInput: a[0] ||= (e) => r("update", { paragraphSpacing: Number(e.target.value) })
1671
- }, null, 42, Lr), m("span", { class: y(p(G)) }, "px", 2)])]));
1671
+ }, null, 42, Rr), m("span", { class: y(p(G)) }, "px", 2)])]));
1672
1672
  }
1673
1673
  });
1674
1674
  //#endregion
1675
1675
  //#region src/utils/rebalanceColumnChildren.ts
1676
- function zr(e) {
1676
+ function Br(e) {
1677
1677
  return e === "1" ? 1 : e === "3" ? 3 : 2;
1678
1678
  }
1679
- function Br(e, t) {
1680
- let n = zr(t);
1679
+ function Vr(e, t) {
1680
+ let n = Br(t);
1681
1681
  if (e.length === n) return e;
1682
1682
  if (e.length < n) {
1683
1683
  let t = Array.from({ length: n - e.length }, () => []);
@@ -1688,13 +1688,13 @@ function Br(e, t) {
1688
1688
  }
1689
1689
  //#endregion
1690
1690
  //#region src/components/toolbar/SectionToolbar.vue?vue&type=script&setup=true&lang.ts
1691
- var Vr = { class: "tpl:mb-3.5" }, Hr = ["value"], Ur = ["value"], Wr = {
1691
+ var Hr = { class: "tpl:mb-3.5" }, Ur = ["value"], Wr = ["value"], Gr = {
1692
1692
  key: 0,
1693
1693
  class: "tpl:mb-3.5"
1694
- }, Gr = { class: "tpl:mb-3.5" }, Kr = { class: "tpl:flex tpl:items-stretch" }, qr = ["value"], Jr = { class: "tpl:mb-3.5" }, Yr = {
1694
+ }, Kr = { class: "tpl:mb-3.5" }, qr = { class: "tpl:flex tpl:items-stretch" }, Jr = ["value"], Yr = { class: "tpl:mb-3.5" }, Xr = {
1695
1695
  key: 0,
1696
1696
  class: "tpl:mt-3 tpl:ml-0.5 tpl:space-y-3 tpl:border-l tpl:border-[var(--tpl-border)] tpl:pl-3"
1697
- }, Xr = { class: "tpl:flex tpl:items-stretch" }, Zr = ["value"], Qr = /* @__PURE__ */ w({
1697
+ }, Zr = { class: "tpl:flex tpl:items-stretch" }, Qr = ["value"], $r = /* @__PURE__ */ w({
1698
1698
  __name: "SectionToolbar",
1699
1699
  props: { block: {} },
1700
1700
  emits: ["update"],
@@ -1722,7 +1722,7 @@ var Vr = { class: "tpl:mb-3.5" }, Hr = ["value"], Ur = ["value"], Wr = {
1722
1722
  }
1723
1723
  ]);
1724
1724
  function c(e) {
1725
- let t = e.target.value, n = Br(r.block.children, t);
1725
+ let t = e.target.value, n = Vr(r.block.children, t);
1726
1726
  i("update", {
1727
1727
  columns: t,
1728
1728
  children: n
@@ -1756,39 +1756,39 @@ var Vr = { class: "tpl:mb-3.5" }, Hr = ["value"], Ur = ["value"], Wr = {
1756
1756
  f({ borderRadius: Number(e.target.value) });
1757
1757
  }
1758
1758
  return (n, r) => (t(), h(x, null, [
1759
- m("div", Vr, [m("label", { class: y(p(W)) }, v(p(o).section.columns), 3), m("select", {
1759
+ m("div", Hr, [m("label", { class: y(p(W)) }, v(p(o).section.columns), 3), m("select", {
1760
1760
  class: y(p(q)),
1761
1761
  value: e.block.columns,
1762
1762
  onChange: c
1763
1763
  }, [(t(!0), h(x, null, a(s.value, (e) => (t(), h("option", {
1764
1764
  key: e.value,
1765
1765
  value: e.value
1766
- }, v(e.label), 9, Ur))), 128))], 42, Hr)]),
1767
- e.block.columns === "1" ? C("", !0) : (t(), h("div", Wr, [g(J, {
1766
+ }, v(e.label), 9, Wr))), 128))], 42, Ur)]),
1767
+ e.block.columns === "1" ? C("", !0) : (t(), h("div", Gr, [g(J, {
1768
1768
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
1769
1769
  "model-value": e.block.stackOnMobile !== !1,
1770
1770
  label: p(o).section.stackOnMobile,
1771
1771
  "onUpdate:modelValue": r[0] ||= (e) => l(e)
1772
1772
  }, null, 8, ["model-value", "label"])])),
1773
- m("div", Gr, [m("label", { class: y(p(W)) }, v(p(o).section.borderRadius), 3), m("div", Kr, [m("input", {
1773
+ m("div", Kr, [m("label", { class: y(p(W)) }, v(p(o).section.borderRadius), 3), m("div", qr, [m("input", {
1774
1774
  type: "number",
1775
1775
  class: y(p(K)),
1776
1776
  value: e.block.borderRadius ?? 0,
1777
1777
  min: "0",
1778
1778
  max: "50",
1779
1779
  onInput: u
1780
- }, null, 42, qr), m("span", { class: y(p(G)) }, "px", 2)])]),
1781
- m("div", Jr, [g(J, {
1780
+ }, null, 42, Jr), m("span", { class: y(p(G)) }, "px", 2)])]),
1781
+ m("div", Yr, [g(J, {
1782
1782
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
1783
1783
  "model-value": !!e.block.wrapper,
1784
1784
  label: p(o).section.wrapperEnable,
1785
1785
  "onUpdate:modelValue": r[1] ||= (e) => d(e)
1786
- }, null, 8, ["model-value", "label"]), e.block.wrapper ? (t(), h("div", Yr, [
1786
+ }, null, 8, ["model-value", "label"]), e.block.wrapper ? (t(), h("div", Xr, [
1787
1787
  m("div", null, [m("label", { class: y(p(W)) }, v(p(o).blockSettings.color), 3), g(R, {
1788
1788
  "model-value": e.block.wrapper.backgroundColor ?? "",
1789
1789
  "onUpdate:modelValue": r[2] ||= (e) => f({ backgroundColor: e })
1790
1790
  }, null, 8, ["model-value"])]),
1791
- g(At, {
1791
+ g(jt, {
1792
1792
  label: p(o).blockSettings.padding,
1793
1793
  "model-value": e.block.wrapper.padding ?? {
1794
1794
  top: 0,
@@ -1798,18 +1798,18 @@ var Vr = { class: "tpl:mb-3.5" }, Hr = ["value"], Ur = ["value"], Wr = {
1798
1798
  },
1799
1799
  "onUpdate:modelValue": _
1800
1800
  }, null, 8, ["label", "model-value"]),
1801
- m("div", null, [m("label", { class: y(p(W)) }, v(p(o).section.borderRadius), 3), m("div", Xr, [m("input", {
1801
+ m("div", null, [m("label", { class: y(p(W)) }, v(p(o).section.borderRadius), 3), m("div", Zr, [m("input", {
1802
1802
  type: "number",
1803
1803
  class: y(p(K)),
1804
1804
  value: e.block.wrapper.borderRadius ?? 0,
1805
1805
  min: "0",
1806
1806
  max: "50",
1807
1807
  onInput: b
1808
- }, null, 42, Zr), m("span", { class: y(p(G)) }, "px", 2)])])
1808
+ }, null, 42, Qr), m("span", { class: y(p(G)) }, "px", 2)])])
1809
1809
  ])) : C("", !0)])
1810
1810
  ], 64));
1811
1811
  }
1812
- }), $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__ */ w({
1812
+ }), ei = { class: "tpl:mb-3.5" }, ti = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, ni = { class: "tpl:flex tpl:items-center tpl:gap-2" }, ri = ["value", "onChange"], ii = ["value"], ai = ["title", "onClick"], oi = { class: "tpl:mb-3.5" }, si = ["value"], ci = { value: "solid" }, li = { value: "outlined" }, ui = { value: "rounded" }, di = { value: "square" }, fi = { value: "circle" }, pi = { class: "tpl:mb-3.5" }, mi = { class: "tpl:mb-3.5" }, hi = { class: "tpl:flex tpl:items-stretch" }, gi = ["value"], _i = { class: "tpl:mb-3.5" }, vi = /* @__PURE__ */ w({
1813
1813
  __name: "SocialToolbar",
1814
1814
  props: { block: {} },
1815
1815
  emits: ["update"],
@@ -1837,10 +1837,10 @@ var Vr = { class: "tpl:mb-3.5" }, Hr = ["value"], Ur = ["value"], Wr = {
1837
1837
  i("update", { icons: r.block.icons.filter((t) => t.id !== e) });
1838
1838
  }
1839
1839
  return (n, r) => (t(), h(x, null, [
1840
- m("div", $r, [m("label", { class: y(p(W)) }, v(p(o).social.icons), 3), m("div", ei, [(t(!0), h(x, null, a(e.block.icons, (e) => (t(), h("div", {
1840
+ m("div", ei, [m("label", { class: y(p(W)) }, v(p(o).social.icons), 3), m("div", ti, [(t(!0), h(x, null, a(e.block.icons, (e) => (t(), h("div", {
1841
1841
  key: e.id,
1842
1842
  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"
1843
- }, [m("div", ti, [m("select", {
1843
+ }, [m("div", ni, [m("select", {
1844
1844
  "data-testid": "social-platform-select",
1845
1845
  class: y([p(q), "tpl:flex-1"]),
1846
1846
  value: e.platform,
@@ -1848,14 +1848,14 @@ var Vr = { class: "tpl:mb-3.5" }, Hr = ["value"], Ur = ["value"], Wr = {
1848
1848
  }, [(t(!0), h(x, null, a(p(ne), (e) => (t(), h("option", {
1849
1849
  key: e,
1850
1850
  value: e
1851
- }, v(p(o).social.platforms[e]), 9, ri))), 128))], 42, ni), m("button", {
1851
+ }, v(p(o).social.platforms[e]), 9, ii))), 128))], 42, ri), m("button", {
1852
1852
  class: y(p(ke)),
1853
1853
  title: p(o).social.removeIcon,
1854
1854
  onClick: (t) => u(e.id)
1855
1855
  }, [g(p(Te), {
1856
1856
  size: 14,
1857
1857
  "stroke-width": 2
1858
- })], 10, ii)]), g(Y, {
1858
+ })], 10, ai)]), g(Y, {
1859
1859
  "model-value": e.url,
1860
1860
  type: "url",
1861
1861
  placeholder: p(o).social.urlPlaceholder,
@@ -1871,18 +1871,18 @@ var Vr = { class: "tpl:mb-3.5" }, Hr = ["value"], Ur = ["value"], Wr = {
1871
1871
  size: 14,
1872
1872
  "stroke-width": 2
1873
1873
  }), _(" " + v(p(o).social.addIcon), 1)], 2)])]),
1874
- m("div", ai, [m("label", { class: y(p(W)) }, v(p(o).social.style), 3), m("select", {
1874
+ m("div", oi, [m("label", { class: y(p(W)) }, v(p(o).social.style), 3), m("select", {
1875
1875
  class: y(p(q)),
1876
1876
  value: e.block.iconStyle,
1877
1877
  onChange: r[0] ||= (e) => s("iconStyle", e.target.value)
1878
1878
  }, [
1879
- m("option", si, v(p(o).social.styleSolid), 1),
1880
- m("option", ci, v(p(o).social.styleOutlined), 1),
1881
- m("option", li, v(p(o).social.styleRounded), 1),
1882
- m("option", ui, v(p(o).social.styleSquare), 1),
1883
- m("option", di, v(p(o).social.styleCircle), 1)
1884
- ], 42, oi)]),
1885
- m("div", fi, [m("label", { class: y(p(W)) }, v(p(o).social.size), 3), g(X, {
1879
+ m("option", ci, v(p(o).social.styleSolid), 1),
1880
+ m("option", li, v(p(o).social.styleOutlined), 1),
1881
+ m("option", ui, v(p(o).social.styleRounded), 1),
1882
+ m("option", di, v(p(o).social.styleSquare), 1),
1883
+ m("option", fi, v(p(o).social.styleCircle), 1)
1884
+ ], 42, si)]),
1885
+ m("div", pi, [m("label", { class: y(p(W)) }, v(p(o).social.size), 3), g(X, {
1886
1886
  options: [
1887
1887
  {
1888
1888
  value: "small",
@@ -1900,15 +1900,15 @@ var Vr = { class: "tpl:mb-3.5" }, Hr = ["value"], Ur = ["value"], Wr = {
1900
1900
  "model-value": e.block.iconSize,
1901
1901
  "onUpdate:modelValue": r[1] ||= (e) => s("iconSize", e)
1902
1902
  }, null, 8, ["options", "model-value"])]),
1903
- m("div", pi, [m("label", { class: y(p(W)) }, v(p(o).social.spacing), 3), m("div", mi, [m("input", {
1903
+ m("div", mi, [m("label", { class: y(p(W)) }, v(p(o).social.spacing), 3), m("div", hi, [m("input", {
1904
1904
  type: "number",
1905
1905
  class: y(p(K)),
1906
1906
  value: e.block.spacing,
1907
1907
  min: "0",
1908
1908
  max: "50",
1909
1909
  onInput: r[2] ||= (e) => s("spacing", Number(e.target.value))
1910
- }, null, 42, hi), m("span", { class: y(p(G)) }, "px", 2)])]),
1911
- m("div", gi, [m("label", { class: y(p(W)) }, v(p(o).social.align), 3), g(X, {
1910
+ }, null, 42, gi), m("span", { class: y(p(G)) }, "px", 2)])]),
1911
+ m("div", _i, [m("label", { class: y(p(W)) }, v(p(o).social.align), 3), g(X, {
1912
1912
  options: [
1913
1913
  {
1914
1914
  value: "left",
@@ -1931,22 +1931,22 @@ var Vr = { class: "tpl:mb-3.5" }, Hr = ["value"], Ur = ["value"], Wr = {
1931
1931
  }, null, 8, ["options", "model-value"])])
1932
1932
  ], 64));
1933
1933
  }
1934
- }), vi = { class: "tpl:mb-3.5" }, yi = { class: "tpl:flex tpl:items-stretch" }, bi = ["value"], xi = ["value"], Si = /* @__PURE__ */ w({
1934
+ }), yi = { class: "tpl:mb-3.5" }, bi = { class: "tpl:flex tpl:items-stretch" }, xi = ["value"], Si = ["value"], Ci = /* @__PURE__ */ w({
1935
1935
  __name: "SpacerToolbar",
1936
1936
  props: { block: {} },
1937
1937
  emits: ["update"],
1938
1938
  setup(e, { emit: n }) {
1939
1939
  let r = n, { t: i } = L();
1940
- return (n, a) => (t(), h("div", vi, [
1940
+ return (n, a) => (t(), h("div", yi, [
1941
1941
  m("label", { class: y(p(W)) }, v(p(i).spacer.height), 3),
1942
- m("div", yi, [m("input", {
1942
+ m("div", bi, [m("input", {
1943
1943
  type: "number",
1944
1944
  class: y(p(K)),
1945
1945
  value: e.block.height,
1946
1946
  min: "10",
1947
1947
  max: "100",
1948
1948
  onInput: a[0] ||= (e) => r("update", { height: Number(e.target.value) })
1949
- }, null, 42, bi), m("span", { class: y(p(G)) }, "px", 2)]),
1949
+ }, null, 42, xi), m("span", { class: y(p(G)) }, "px", 2)]),
1950
1950
  m("input", {
1951
1951
  type: "range",
1952
1952
  class: "tpl:mt-2 tpl:w-full tpl:accent-[var(--tpl-primary)]",
@@ -1954,13 +1954,13 @@ var Vr = { class: "tpl:mb-3.5" }, Hr = ["value"], Ur = ["value"], Wr = {
1954
1954
  min: "10",
1955
1955
  max: "100",
1956
1956
  onInput: a[1] ||= (e) => r("update", { height: Number(e.target.value) })
1957
- }, null, 40, xi)
1957
+ }, null, 40, Si)
1958
1958
  ]));
1959
1959
  }
1960
- }), 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 = {
1960
+ }), wi = { class: "tpl:mb-3.5" }, Ti = { class: "tpl:flex tpl:items-center tpl:gap-3" }, Ei = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, Di = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, Oi = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, ki = ["disabled"], Ai = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, ji = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, Mi = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, Ni = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, Pi = ["disabled"], Fi = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, Ii = { class: "tpl:mb-3.5" }, Li = {
1961
1961
  key: 0,
1962
1962
  class: "tpl:mb-3.5"
1963
- }, 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__ */ w({
1963
+ }, Ri = { class: "tpl:mb-3.5" }, zi = { class: "tpl:mb-3.5" }, Bi = { class: "tpl:flex tpl:items-stretch" }, Vi = ["value"], Hi = { class: "tpl:mb-3.5" }, Ui = { class: "tpl:flex tpl:items-stretch" }, Wi = ["value"], Gi = { class: "tpl:mb-3.5" }, Ki = ["value"], qi = { value: "" }, Ji = ["value"], Yi = { class: "tpl:mb-3.5" }, Xi = { class: "tpl:flex tpl:items-stretch" }, Zi = ["value"], Qi = { class: "tpl:mb-3.5" }, $i = { class: "tpl:mb-3.5" }, ea = /* @__PURE__ */ w({
1964
1964
  __name: "TableToolbar",
1965
1965
  props: {
1966
1966
  block: {},
@@ -2003,7 +2003,7 @@ var Vr = { class: "tpl:mb-3.5" }, Hr = ["value"], Ur = ["value"], Wr = {
2003
2003
  i("update", { rows: t });
2004
2004
  }
2005
2005
  return (n, r) => (t(), h(x, null, [
2006
- m("div", Ci, [m("label", { class: y(p(W)) }, v(p(o).table.dimensions), 3), m("div", wi, [m("div", Ti, [m("span", Ei, v(p(o).table.rows), 1), m("div", Di, [
2006
+ m("div", wi, [m("label", { class: y(p(W)) }, v(p(o).table.dimensions), 3), m("div", Ti, [m("div", Ei, [m("span", Di, v(p(o).table.rows), 1), m("div", Oi, [
2007
2007
  m("button", {
2008
2008
  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",
2009
2009
  disabled: e.block.rows.length <= 1,
@@ -2011,8 +2011,8 @@ var Vr = { class: "tpl:mb-3.5" }, Hr = ["value"], Ur = ["value"], Wr = {
2011
2011
  }, [g(p(z), {
2012
2012
  size: 12,
2013
2013
  "stroke-width": 2
2014
- })], 8, Oi),
2015
- m("span", ki, v(e.block.rows.length), 1),
2014
+ })], 8, ki),
2015
+ m("span", Ai, v(e.block.rows.length), 1),
2016
2016
  m("button", {
2017
2017
  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)]",
2018
2018
  onClick: l
@@ -2020,7 +2020,7 @@ var Vr = { class: "tpl:mb-3.5" }, Hr = ["value"], Ur = ["value"], Wr = {
2020
2020
  size: 12,
2021
2021
  "stroke-width": 2
2022
2022
  })])
2023
- ])]), m("div", Ai, [m("span", ji, v(p(o).table.columns), 1), m("div", Mi, [
2023
+ ])]), m("div", ji, [m("span", Mi, v(p(o).table.columns), 1), m("div", Ni, [
2024
2024
  m("button", {
2025
2025
  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",
2026
2026
  disabled: s.value <= 1,
@@ -2028,8 +2028,8 @@ var Vr = { class: "tpl:mb-3.5" }, Hr = ["value"], Ur = ["value"], Wr = {
2028
2028
  }, [g(p(z), {
2029
2029
  size: 12,
2030
2030
  "stroke-width": 2
2031
- })], 8, Ni),
2032
- m("span", Pi, v(s.value), 1),
2031
+ })], 8, Pi),
2032
+ m("span", Fi, v(s.value), 1),
2033
2033
  m("button", {
2034
2034
  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)]",
2035
2035
  onClick: d
@@ -2038,13 +2038,13 @@ var Vr = { class: "tpl:mb-3.5" }, Hr = ["value"], Ur = ["value"], Wr = {
2038
2038
  "stroke-width": 2
2039
2039
  })])
2040
2040
  ])])])]),
2041
- m("div", Fi, [g(J, {
2041
+ m("div", Ii, [g(J, {
2042
2042
  class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
2043
2043
  "model-value": e.block.hasHeaderRow,
2044
2044
  label: p(o).table.hasHeaderRow,
2045
2045
  "onUpdate:modelValue": r[2] ||= (e) => c("hasHeaderRow", e)
2046
2046
  }, null, 8, ["model-value", "label"])]),
2047
- e.block.hasHeaderRow ? (t(), h("div", Ii, [m("label", { class: y(p(W)) }, v(p(o).table.headerBackgroundColor), 3), g(R, {
2047
+ e.block.hasHeaderRow ? (t(), h("div", Li, [m("label", { class: y(p(W)) }, v(p(o).table.headerBackgroundColor), 3), g(R, {
2048
2048
  "model-value": e.block.headerBackgroundColor ?? "",
2049
2049
  "seed-color": p(je),
2050
2050
  placeholder: p(o).table.noHeaderBg,
@@ -2054,47 +2054,47 @@ var Vr = { class: "tpl:mb-3.5" }, Hr = ["value"], Ur = ["value"], Wr = {
2054
2054
  "seed-color",
2055
2055
  "placeholder"
2056
2056
  ])])) : C("", !0),
2057
- m("div", Li, [m("label", { class: y(p(W)) }, v(p(o).table.borderColor), 3), g(R, {
2057
+ m("div", Ri, [m("label", { class: y(p(W)) }, v(p(o).table.borderColor), 3), g(R, {
2058
2058
  "model-value": e.block.borderColor,
2059
2059
  "onUpdate:modelValue": r[4] ||= (e) => c("borderColor", e)
2060
2060
  }, null, 8, ["model-value"])]),
2061
- m("div", Ri, [m("label", { class: y(p(W)) }, v(p(o).table.borderWidth), 3), m("div", zi, [m("input", {
2061
+ m("div", zi, [m("label", { class: y(p(W)) }, v(p(o).table.borderWidth), 3), m("div", Bi, [m("input", {
2062
2062
  type: "number",
2063
2063
  class: y(p(K)),
2064
2064
  value: e.block.borderWidth,
2065
2065
  min: "0",
2066
2066
  max: "10",
2067
2067
  onInput: r[5] ||= (e) => c("borderWidth", Number(e.target.value))
2068
- }, null, 42, Bi), m("span", { class: y(p(G)) }, "px", 2)])]),
2069
- m("div", Vi, [m("label", { class: y(p(W)) }, v(p(o).table.cellPadding), 3), m("div", Hi, [m("input", {
2068
+ }, null, 42, Vi), m("span", { class: y(p(G)) }, "px", 2)])]),
2069
+ m("div", Hi, [m("label", { class: y(p(W)) }, v(p(o).table.cellPadding), 3), m("div", Ui, [m("input", {
2070
2070
  type: "number",
2071
2071
  class: y(p(K)),
2072
2072
  value: e.block.cellPadding,
2073
2073
  min: "0",
2074
2074
  max: "30",
2075
2075
  onInput: r[6] ||= (e) => c("cellPadding", Number(e.target.value))
2076
- }, null, 42, Ui), m("span", { class: y(p(G)) }, "px", 2)])]),
2077
- m("div", Wi, [m("label", { class: y(p(W)) }, v(p(o).table.fontFamily), 3), m("select", {
2076
+ }, null, 42, Wi), m("span", { class: y(p(G)) }, "px", 2)])]),
2077
+ m("div", Gi, [m("label", { class: y(p(W)) }, v(p(o).table.fontFamily), 3), m("select", {
2078
2078
  class: y(p(q)),
2079
2079
  value: e.block.fontFamily || "",
2080
2080
  onChange: r[7] ||= (e) => c("fontFamily", e.target.value || void 0)
2081
- }, [m("option", Ki, v(p(o).title.inheritFont), 1), (t(!0), h(x, null, a(e.fontFamilies, (e) => (t(), h("option", {
2081
+ }, [m("option", qi, v(p(o).title.inheritFont), 1), (t(!0), h(x, null, a(e.fontFamilies, (e) => (t(), h("option", {
2082
2082
  key: e.value,
2083
2083
  value: e.value
2084
- }, v(e.label), 9, qi))), 128))], 42, Gi)]),
2085
- m("div", Ji, [m("label", { class: y(p(W)) }, v(p(o).table.fontSize), 3), m("div", Yi, [m("input", {
2084
+ }, v(e.label), 9, Ji))), 128))], 42, Ki)]),
2085
+ m("div", Yi, [m("label", { class: y(p(W)) }, v(p(o).table.fontSize), 3), m("div", Xi, [m("input", {
2086
2086
  type: "number",
2087
2087
  class: y(p(K)),
2088
2088
  value: e.block.fontSize,
2089
2089
  min: "10",
2090
2090
  max: "32",
2091
2091
  onInput: r[8] ||= (e) => c("fontSize", Number(e.target.value))
2092
- }, null, 42, Xi), m("span", { class: y(p(G)) }, "px", 2)])]),
2093
- m("div", Zi, [m("label", { class: y(p(W)) }, v(p(o).table.color), 3), g(R, {
2092
+ }, null, 42, Zi), m("span", { class: y(p(G)) }, "px", 2)])]),
2093
+ m("div", Qi, [m("label", { class: y(p(W)) }, v(p(o).table.color), 3), g(R, {
2094
2094
  "model-value": e.block.color ?? "",
2095
2095
  "onUpdate:modelValue": r[9] ||= (e) => c("color", e || void 0)
2096
2096
  }, null, 8, ["model-value"])]),
2097
- m("div", Qi, [m("label", { class: y(p(W)) }, v(p(o).table.textAlign), 3), g(X, {
2097
+ m("div", $i, [m("label", { class: y(p(W)) }, v(p(o).table.textAlign), 3), g(X, {
2098
2098
  options: [
2099
2099
  {
2100
2100
  value: "left",
@@ -2117,7 +2117,7 @@ var Vr = { class: "tpl:mb-3.5" }, Hr = ["value"], Ur = ["value"], Wr = {
2117
2117
  }, null, 8, ["options", "model-value"])])
2118
2118
  ], 64));
2119
2119
  }
2120
- }), 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__ */ w({
2120
+ }), ta = { class: "tpl:mb-3.5" }, na = ["value"], ra = { value: 1 }, ia = { value: 2 }, aa = { value: 3 }, oa = { value: 4 }, sa = { class: "tpl:mb-3.5" }, ca = ["value"], la = { value: "" }, ua = ["value"], da = { class: "tpl:mb-3.5" }, fa = { class: "tpl:mb-3.5" }, pa = /* @__PURE__ */ w({
2121
2121
  __name: "TitleToolbar",
2122
2122
  props: {
2123
2123
  block: {},
@@ -2130,29 +2130,29 @@ var Vr = { class: "tpl:mb-3.5" }, Hr = ["value"], Ur = ["value"], Wr = {
2130
2130
  r("update", { [e]: t });
2131
2131
  }
2132
2132
  return (n, r) => (t(), h(x, null, [
2133
- m("div", ea, [m("label", { class: y(p(W)) }, v(p(i).title.level), 3), m("select", {
2133
+ m("div", ta, [m("label", { class: y(p(W)) }, v(p(i).title.level), 3), m("select", {
2134
2134
  class: y(p(q)),
2135
2135
  value: e.block.level,
2136
2136
  onChange: r[0] ||= (e) => o("level", Number(e.target.value))
2137
2137
  }, [
2138
- m("option", na, v(p(i).title.heading1), 1),
2139
- m("option", ra, v(p(i).title.heading2), 1),
2140
- m("option", ia, v(p(i).title.heading3), 1),
2141
- m("option", aa, v(p(i).title.heading4), 1)
2142
- ], 42, ta)]),
2143
- m("div", oa, [m("label", { class: y(p(W)) }, v(p(i).title.fontFamily), 3), m("select", {
2138
+ m("option", ra, v(p(i).title.heading1), 1),
2139
+ m("option", ia, v(p(i).title.heading2), 1),
2140
+ m("option", aa, v(p(i).title.heading3), 1),
2141
+ m("option", oa, v(p(i).title.heading4), 1)
2142
+ ], 42, na)]),
2143
+ m("div", sa, [m("label", { class: y(p(W)) }, v(p(i).title.fontFamily), 3), m("select", {
2144
2144
  class: y(p(q)),
2145
2145
  value: e.block.fontFamily || "",
2146
2146
  onChange: r[1] ||= (e) => o("fontFamily", e.target.value || void 0)
2147
- }, [m("option", ca, v(p(i).title.inheritFont), 1), (t(!0), h(x, null, a(e.fontFamilies, (e) => (t(), h("option", {
2147
+ }, [m("option", la, v(p(i).title.inheritFont), 1), (t(!0), h(x, null, a(e.fontFamilies, (e) => (t(), h("option", {
2148
2148
  key: e.value,
2149
2149
  value: e.value
2150
- }, v(e.label), 9, la))), 128))], 42, sa)]),
2151
- m("div", ua, [m("label", { class: y(p(W)) }, v(p(i).title.color), 3), g(R, {
2150
+ }, v(e.label), 9, ua))), 128))], 42, ca)]),
2151
+ m("div", da, [m("label", { class: y(p(W)) }, v(p(i).title.color), 3), g(R, {
2152
2152
  "model-value": e.block.color ?? "",
2153
2153
  "onUpdate:modelValue": r[2] ||= (e) => o("color", e || void 0)
2154
2154
  }, null, 8, ["model-value"])]),
2155
- m("div", da, [m("label", { class: y(p(W)) }, v(p(i).title.align), 3), g(X, {
2155
+ m("div", fa, [m("label", { class: y(p(W)) }, v(p(i).title.align), 3), g(X, {
2156
2156
  options: [
2157
2157
  {
2158
2158
  value: "left",
@@ -2175,17 +2175,17 @@ var Vr = { class: "tpl:mb-3.5" }, Hr = ["value"], Ur = ["value"], Wr = {
2175
2175
  }, null, 8, ["options", "model-value"])])
2176
2176
  ], 64));
2177
2177
  }
2178
- }), pa = { class: "tpl:mb-3.5" }, ma = {
2178
+ }), ma = { class: "tpl:mb-3.5" }, ha = {
2179
2179
  key: 0,
2180
2180
  class: "tpl:mb-3.5"
2181
- }, ha = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, ga = [
2181
+ }, ga = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, _a = [
2182
2182
  "value",
2183
2183
  "placeholder",
2184
2184
  "title"
2185
- ], _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 = {
2185
+ ], va = { class: "tpl:mb-3.5" }, ya = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, ba = { class: "tpl:mb-3.5" }, xa = { class: "tpl:mb-3.5" }, Sa = ["value"], Ca = { value: "full" }, wa = { class: "tpl:mb-3.5" }, Ta = ["value"], Ea = { value: "auto" }, Da = { value: "custom" }, Oa = {
2186
2186
  key: 0,
2187
2187
  class: "tpl:mt-2 tpl:flex tpl:items-stretch"
2188
- }, Oa = ["value"], ka = { class: "tpl:mb-3.5" }, Aa = 200, ja = /* @__PURE__ */ w({
2188
+ }, ka = ["value"], Aa = { class: "tpl:mb-3.5" }, ja = 200, Ma = /* @__PURE__ */ w({
2189
2189
  __name: "VideoToolbar",
2190
2190
  props: { block: {} },
2191
2191
  emits: ["update"],
@@ -2197,7 +2197,7 @@ var Vr = { class: "tpl:mb-3.5" }, Hr = ["value"], Ur = ["value"], Wr = {
2197
2197
  i("update", { [e]: t });
2198
2198
  }
2199
2199
  function O(e) {
2200
- D("height", e === "custom" ? Aa : void 0);
2200
+ D("height", e === "custom" ? ja : void 0);
2201
2201
  }
2202
2202
  function k(e) {
2203
2203
  let t = Number(e);
@@ -2208,7 +2208,7 @@ var Vr = { class: "tpl:mb-3.5" }, Hr = ["value"], Ur = ["value"], Wr = {
2208
2208
  l.alive && e && (D("thumbnailUrl", e.url), T.value = !0, E());
2209
2209
  }
2210
2210
  return (n, r) => (t(), h(x, null, [
2211
- m("div", pa, [
2211
+ m("div", ma, [
2212
2212
  m("label", { class: y(p(W)) }, v(p(a).video.videoUrl), 3),
2213
2213
  g(Y, {
2214
2214
  "model-value": e.block.url,
@@ -2224,16 +2224,16 @@ var Vr = { class: "tpl:mb-3.5" }, Hr = ["value"], Ur = ["value"], Wr = {
2224
2224
  "onUpdate:modelValue": r[1] ||= (e) => D("openInNewTab", e)
2225
2225
  }, null, 8, ["model-value", "label"])) : C("", !0)
2226
2226
  ]),
2227
- f.value ? (t(), h("div", ma, [m("label", { class: y(p(W)) }, [_(v(p(a).video.placeholderUrl) + " ", 1), m("span", ha, v(p(a).video.optional), 1)], 2), m("input", {
2227
+ f.value ? (t(), h("div", ha, [m("label", { class: y(p(W)) }, [_(v(p(a).video.placeholderUrl) + " ", 1), m("span", ga, v(p(a).video.optional), 1)], 2), m("input", {
2228
2228
  type: "url",
2229
2229
  class: y(p(q)),
2230
2230
  value: e.block.placeholderUrl || "",
2231
2231
  placeholder: p(a).video.placeholderUrlPlaceholder,
2232
2232
  title: p(a).video.placeholderUrlTooltip,
2233
2233
  onInput: r[2] ||= (e) => D("placeholderUrl", e.target.value)
2234
- }, null, 42, ga)])) : C("", !0),
2235
- m("div", _a, [
2236
- m("label", { class: y(p(W)) }, [_(v(p(a).video.customThumbnail) + " ", 1), m("span", va, v(p(a).video.optional), 1)], 2),
2234
+ }, null, 42, _a)])) : C("", !0),
2235
+ m("div", va, [
2236
+ m("label", { class: y(p(W)) }, [_(v(p(a).video.customThumbnail) + " ", 1), m("span", ya, v(p(a).video.optional), 1)], 2),
2237
2237
  g(Y, {
2238
2238
  "model-value": e.block.thumbnailUrl,
2239
2239
  type: "url",
@@ -2259,40 +2259,40 @@ var Vr = { class: "tpl:mb-3.5" }, Hr = ["value"], Ur = ["value"], Wr = {
2259
2259
  "stroke-width": 1.5
2260
2260
  }), _(" " + v(p(a).image.browseMedia), 1)])) : C("", !0)
2261
2261
  ]),
2262
- m("div", ya, [m("label", { class: y(p(W)) }, v(p(a).video.altText), 3), g(Y, {
2262
+ m("div", ba, [m("label", { class: y(p(W)) }, v(p(a).video.altText), 3), g(Y, {
2263
2263
  "model-value": e.block.alt,
2264
2264
  type: "text",
2265
2265
  placeholder: p(a).video.altTextPlaceholder,
2266
2266
  "onUpdate:modelValue": r[4] ||= (e) => D("alt", e)
2267
2267
  }, null, 8, ["model-value", "placeholder"])]),
2268
- m("div", ba, [m("label", { class: y(p(W)) }, v(p(a).video.width), 3), m("select", {
2268
+ m("div", xa, [m("label", { class: y(p(W)) }, v(p(a).video.width), 3), m("select", {
2269
2269
  class: y(p(q)),
2270
2270
  value: e.block.width,
2271
2271
  onChange: r[5] ||= (e) => D("width", e.target.value === "full" ? "full" : Number(e.target.value))
2272
2272
  }, [
2273
- m("option", Sa, v(p(a).video.fullWidth), 1),
2273
+ m("option", Ca, v(p(a).video.fullWidth), 1),
2274
2274
  r[9] ||= m("option", { value: "300" }, "300px", -1),
2275
2275
  r[10] ||= m("option", { value: "400" }, "400px", -1),
2276
2276
  r[11] ||= m("option", { value: "500" }, "500px", -1)
2277
- ], 42, xa)]),
2278
- m("div", Ca, [
2277
+ ], 42, Sa)]),
2278
+ m("div", wa, [
2279
2279
  m("label", { class: y(p(W)) }, v(p(a).video.height), 3),
2280
2280
  m("select", {
2281
2281
  class: y(p(q)),
2282
2282
  "data-testid": "video-height-mode",
2283
2283
  value: w.value,
2284
2284
  onChange: r[6] ||= (e) => O(e.target.value)
2285
- }, [m("option", Ta, v(p(a).video.heightAuto), 1), m("option", Ea, v(p(a).video.heightCustom), 1)], 42, wa),
2286
- w.value === "custom" ? (t(), h("div", Da, [m("input", {
2285
+ }, [m("option", Ea, v(p(a).video.heightAuto), 1), m("option", Da, v(p(a).video.heightCustom), 1)], 42, Ta),
2286
+ w.value === "custom" ? (t(), h("div", Oa, [m("input", {
2287
2287
  type: "number",
2288
2288
  "data-testid": "video-height-input",
2289
2289
  class: y(p(K)),
2290
2290
  value: e.block.height,
2291
2291
  min: "20",
2292
2292
  onInput: r[7] ||= (e) => k(e.target.value)
2293
- }, null, 42, Oa), m("span", { class: y(p(G)) }, "px", 2)])) : C("", !0)
2293
+ }, null, 42, ka), m("span", { class: y(p(G)) }, "px", 2)])) : C("", !0)
2294
2294
  ]),
2295
- m("div", ka, [m("label", { class: y(p(W)) }, v(p(a).title.align), 3), g(X, {
2295
+ m("div", Aa, [m("label", { class: y(p(W)) }, v(p(a).title.align), 3), g(X, {
2296
2296
  options: [
2297
2297
  {
2298
2298
  value: "left",
@@ -2312,7 +2312,7 @@ var Vr = { class: "tpl:mb-3.5" }, Hr = ["value"], Ur = ["value"], Wr = {
2312
2312
  }, null, 8, ["options", "model-value"])])
2313
2313
  ], 64));
2314
2314
  }
2315
- }), 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__*/ w({
2315
+ }), Na = ["aria-label"], Pa = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3.5" }, Fa = { class: "tpl:flex tpl:items-center tpl:gap-2 tpl:text-[var(--tpl-primary)]" }, Ia = { class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, La = { class: "tpl:flex tpl:gap-1" }, Ra = ["title"], za = ["title"], Ba = { class: "tpl:flex-1 tpl:overflow-y-auto tpl:p-4" }, Va = /*@__PURE__*/ w({
2316
2316
  __name: "Toolbar",
2317
2317
  props: { block: {} },
2318
2318
  emits: [
@@ -2321,7 +2321,7 @@ var Vr = { class: "tpl:mb-3.5" }, Hr = ["value"], Ur = ["value"], Wr = {
2321
2321
  "duplicate"
2322
2322
  ],
2323
2323
  setup(e, { emit: n }) {
2324
- let r = f(() => import("./CountdownToolbar-C2kfS6Oy.js")), a = e, o = n, { t: s } = L(), l = oe(de, "Toolbar"), u = c(I, []), d = S(() => a.block.type), _ = S(() => O(a.block)), y = S(() => {
2324
+ let r = f(() => import("./CountdownToolbar-nvHxu8Gu.js")), a = e, o = n, { t: s } = L(), l = oe(de, "Toolbar"), u = c(I, []), d = S(() => a.block.type), _ = S(() => O(a.block)), y = S(() => {
2325
2325
  if (_.value) return u.find((e) => e.type === a.block.customType);
2326
2326
  }), x = S(() => _.value ? y.value?.name ?? a.block.customType : M(d.value, s)), w = l.fonts;
2327
2327
  function T(e) {
@@ -2331,7 +2331,7 @@ var Vr = { class: "tpl:mb-3.5" }, Hr = ["value"], Ur = ["value"], Wr = {
2331
2331
  "data-testid": "block-toolbar",
2332
2332
  "aria-label": p(s).landmarks.blockToolbar,
2333
2333
  class: "tpl:flex tpl:w-full tpl:flex-1 tpl:flex-col tpl:bg-[var(--tpl-bg-elevated)]"
2334
- }, [m("div", Na, [m("div", Pa, [p(ge)[d.value] ? (t(), b(i(p(ge)[d.value]), {
2334
+ }, [m("div", Pa, [m("div", Fa, [p(ge)[d.value] ? (t(), b(i(p(ge)[d.value]), {
2335
2335
  key: 0,
2336
2336
  size: 16,
2337
2337
  "stroke-width": 1.5
@@ -2339,74 +2339,74 @@ var Vr = { class: "tpl:mb-3.5" }, Hr = ["value"], Ur = ["value"], Wr = {
2339
2339
  key: 1,
2340
2340
  size: 16,
2341
2341
  "stroke-width": 1.5
2342
- })) : C("", !0), m("h3", Fa, v(x.value), 1)]), m("div", Ia, [m("button", {
2342
+ })) : C("", !0), m("h3", Ia, v(x.value), 1)]), m("div", La, [m("button", {
2343
2343
  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)]",
2344
2344
  title: p(s).toolbar.duplicate,
2345
2345
  onClick: a[0] ||= (e) => o("duplicate")
2346
2346
  }, [g(p(_e), {
2347
2347
  size: 14,
2348
2348
  "stroke-width": 2
2349
- })], 8, La), m("button", {
2349
+ })], 8, Ra), m("button", {
2350
2350
  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)]",
2351
2351
  title: p(s).toolbar.delete,
2352
2352
  onClick: a[1] ||= (e) => o("delete")
2353
2353
  }, [g(p(Ce), {
2354
2354
  size: 14,
2355
2355
  "stroke-width": 2
2356
- })], 8, Ra)])]), m("div", za, [_.value ? (t(), b(Rn, {
2356
+ })], 8, za)])]), m("div", Ba, [_.value ? (t(), b(zn, {
2357
2357
  key: 0,
2358
2358
  block: e.block,
2359
2359
  onUpdateFieldValues: a[2] ||= (e) => o("update", { fieldValues: e }),
2360
2360
  onUpdateDataSourceFetched: a[3] ||= (e) => o("update", { dataSourceFetched: e })
2361
- }, null, 8, ["block"])) : d.value === "section" ? (t(), b(Qr, {
2361
+ }, null, 8, ["block"])) : d.value === "section" ? (t(), b($r, {
2362
2362
  key: 1,
2363
2363
  block: e.block,
2364
2364
  onUpdate: T
2365
- }, null, 8, ["block"])) : d.value === "title" ? (t(), b(fa, {
2365
+ }, null, 8, ["block"])) : d.value === "title" ? (t(), b(pa, {
2366
2366
  key: 2,
2367
2367
  block: e.block,
2368
2368
  "font-families": p(w),
2369
2369
  onUpdate: T
2370
- }, null, 8, ["block", "font-families"])) : d.value === "paragraph" ? (t(), b(Rr, {
2370
+ }, null, 8, ["block", "font-families"])) : d.value === "paragraph" ? (t(), b(zr, {
2371
2371
  key: 3,
2372
2372
  block: e.block,
2373
2373
  onUpdate: T
2374
- }, null, 8, ["block"])) : d.value === "image" ? (t(), b(Sr, {
2374
+ }, null, 8, ["block"])) : d.value === "image" ? (t(), b(Cr, {
2375
2375
  key: 4,
2376
2376
  block: e.block,
2377
2377
  onUpdate: T
2378
- }, null, 8, ["block"])) : d.value === "video" ? (t(), b(ja, {
2378
+ }, null, 8, ["block"])) : d.value === "video" ? (t(), b(Ma, {
2379
2379
  key: 5,
2380
2380
  block: e.block,
2381
2381
  onUpdate: T
2382
- }, null, 8, ["block"])) : d.value === "button" ? (t(), b(st, {
2382
+ }, null, 8, ["block"])) : d.value === "button" ? (t(), b(ct, {
2383
2383
  key: 6,
2384
2384
  block: e.block,
2385
2385
  "font-families": p(w),
2386
2386
  onUpdate: T
2387
- }, null, 8, ["block", "font-families"])) : d.value === "divider" ? (t(), b(Wn, {
2387
+ }, null, 8, ["block", "font-families"])) : d.value === "divider" ? (t(), b(Gn, {
2388
2388
  key: 7,
2389
2389
  block: e.block,
2390
2390
  onUpdate: T
2391
- }, null, 8, ["block"])) : d.value === "social" ? (t(), b(_i, {
2391
+ }, null, 8, ["block"])) : d.value === "social" ? (t(), b(vi, {
2392
2392
  key: 8,
2393
2393
  block: e.block,
2394
2394
  onUpdate: T
2395
- }, null, 8, ["block"])) : d.value === "menu" ? (t(), b(Pr, {
2395
+ }, null, 8, ["block"])) : d.value === "menu" ? (t(), b(Fr, {
2396
2396
  key: 9,
2397
2397
  block: e.block,
2398
2398
  "font-families": p(w),
2399
2399
  onUpdate: T
2400
- }, null, 8, ["block", "font-families"])) : d.value === "table" ? (t(), b($i, {
2400
+ }, null, 8, ["block", "font-families"])) : d.value === "table" ? (t(), b(ea, {
2401
2401
  key: 10,
2402
2402
  block: e.block,
2403
2403
  "font-families": p(w),
2404
2404
  onUpdate: T
2405
- }, null, 8, ["block", "font-families"])) : d.value === "spacer" ? (t(), b(Si, {
2405
+ }, null, 8, ["block", "font-families"])) : d.value === "spacer" ? (t(), b(Ci, {
2406
2406
  key: 11,
2407
2407
  block: e.block,
2408
2408
  onUpdate: T
2409
- }, null, 8, ["block"])) : d.value === "html" ? (t(), b(Jn, {
2409
+ }, null, 8, ["block"])) : d.value === "html" ? (t(), b(Yn, {
2410
2410
  key: 12,
2411
2411
  block: e.block,
2412
2412
  onUpdate: T
@@ -2415,12 +2415,12 @@ var Vr = { class: "tpl:mb-3.5" }, Hr = ["value"], Ur = ["value"], Wr = {
2415
2415
  block: e.block,
2416
2416
  "font-families": p(w),
2417
2417
  onUpdate: T
2418
- }, null, 8, ["block", "font-families"])) : C("", !0), g(Qt, {
2418
+ }, null, 8, ["block", "font-families"])) : C("", !0), g($t, {
2419
2419
  block: e.block,
2420
2420
  "is-first-section": d.value === "paragraph",
2421
2421
  onUpdate: T
2422
- }, null, 8, ["block", "is-first-section"])])], 8, Ma));
2422
+ }, null, 8, ["block", "is-first-section"])])], 8, Na));
2423
2423
  }
2424
- }), Va = /* @__PURE__ */ e({ default: () => Ha }), Ha = /*#__PURE__*/ Ee(Ba, [["__scopeId", "data-v-1038bf62"]]);
2424
+ }), Ha = /* @__PURE__ */ e({ default: () => Ua }), Ua = /*#__PURE__*/ Ee(Va, [["__scopeId", "data-v-1038bf62"]]);
2425
2425
  //#endregion
2426
- export { Ha as default, X as i, $ as n, Zn as r, Va as t };
2426
+ export { Ua as default, X as i, $ as n, Qn as r, Ha as t };