@templatical/editor 0.29.1 → 0.30.0

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 (130) hide show
  1. package/dist/{AiChatSidebar-DsYJwCLT.js → AiChatSidebar-Bq99wU01.js} +1 -1
  2. package/dist/{AiFeatureMenu-CehKC-dh.js → AiFeatureMenu-F-C59LAV.js} +1 -1
  3. package/dist/{BlockPreviewCanvas-BQZ7aTPr.js → BlockPreviewCanvas-CqU1kwmG.js} +1 -1
  4. package/dist/{CloudHeaderExtras-CaRdlYpY.js → CloudHeaderExtras-vnGV_mLD.js} +1 -1
  5. package/dist/{CloudPanels-CYqHk1Az.js → CloudPanels-Dv-MD1Tc.js} +1 -1
  6. package/dist/{CollaboratorBar-BZi12Mut.js → CollaboratorBar-DmssyJoB.js} +1 -1
  7. package/dist/{CountdownToolbar-ByQVLqFF.js → CountdownToolbar-SwmE7CIk.js} +16 -16
  8. package/dist/{DesignReferenceSidebar-B9anB-Q0.js → DesignReferenceSidebar-9cLTzOqP.js} +1 -1
  9. package/dist/{NumberWithSuffix-C-k0BP1m.js → FieldRow-0-UbQR4a.js} +23 -16
  10. package/dist/{MergeTagModeToggle-sBEGugix.js → MergeTagModeToggle-DtD_Xl9w.js} +1 -1
  11. package/dist/{ParagraphEditor-gbp5gbFv.js → ParagraphEditor-C0NbqDmV.js} +2 -2
  12. package/dist/{RestoreVersionDialog-DIHpGfFr.js → RestoreVersionDialog-DCX0rJiV.js} +1 -1
  13. package/dist/{SaveBlockDialog-QSj7tf1p.js → SaveBlockDialog-e5LtQRVk.js} +3 -3
  14. package/dist/{SavedBlocksBrowserModal-Bz2xaBzJ.js → SavedBlocksBrowserModal-ZQIQoARO.js} +4 -4
  15. package/dist/{SavedBlocksPanels-RNgOnK9j.js → SavedBlocksPanels-pGZWjSmp.js} +1 -1
  16. package/dist/{SavedBlocksPickBar-CRmd3sD9.js → SavedBlocksPickBar-OZaOG1Si.js} +1 -1
  17. package/dist/{TestEmailModal-DclmELUc.js → TestEmailModal-PVa1VL2p.js} +5 -5
  18. package/dist/{TestEmailPanel-4i4n9Kup.js → TestEmailPanel-RekBdAtO.js} +1 -1
  19. package/dist/{TitleEditor-DMAeSWx3.js → TitleEditor-Cs2tELCL.js} +2 -2
  20. package/dist/{TplModal-CjuKT36J.js → TplModal-Bw1i8_eE.js} +1 -1
  21. package/dist/{VersionHistoryPanels-MqgexkhW.js → VersionHistoryPanels-TqTC4ofA.js} +1 -1
  22. package/dist/{blockTypeIcons-ejNais7n.js → blockTypeIcons-C7WedEOG.js} +1 -1
  23. package/dist/bundle-stats.json +6 -6
  24. package/dist/{cdn/chunks/ca-DY0AYOLG.js → ca-DZSrLNXK.js} +2 -2
  25. package/dist/cdn/chunks/{AiChatSidebar-BE97qqqb.js → AiChatSidebar-DmZ1Nvxo.js} +2 -2
  26. package/dist/cdn/chunks/{AiChatSidebar-BE97qqqb.js.map → AiChatSidebar-DmZ1Nvxo.js.map} +1 -1
  27. package/dist/cdn/chunks/{AiFeatureMenu-CNP54HPc.js → AiFeatureMenu-D4tax9j3.js} +2 -2
  28. package/dist/cdn/chunks/{AiFeatureMenu-CNP54HPc.js.map → AiFeatureMenu-D4tax9j3.js.map} +1 -1
  29. package/dist/cdn/chunks/{BlockPreviewCanvas-CUEZIwJ4.js → BlockPreviewCanvas-DDOqFJlT.js} +2 -2
  30. package/dist/cdn/chunks/{BlockPreviewCanvas-CUEZIwJ4.js.map → BlockPreviewCanvas-DDOqFJlT.js.map} +1 -1
  31. package/dist/cdn/chunks/{CloudHeaderExtras-Bz--_dKu.js → CloudHeaderExtras-g-_SFPna.js} +2 -2
  32. package/dist/cdn/chunks/{CloudHeaderExtras-Bz--_dKu.js.map → CloudHeaderExtras-g-_SFPna.js.map} +1 -1
  33. package/dist/cdn/chunks/{CloudPanels-BXcdYgy0.js → CloudPanels-Cnh07_2G.js} +3 -3
  34. package/dist/cdn/chunks/{CloudPanels-BXcdYgy0.js.map → CloudPanels-Cnh07_2G.js.map} +1 -1
  35. package/dist/cdn/chunks/{CollaboratorBar-CvvoIrKS.js → CollaboratorBar-CLGB0prG.js} +2 -2
  36. package/dist/cdn/chunks/{CollaboratorBar-CvvoIrKS.js.map → CollaboratorBar-CLGB0prG.js.map} +1 -1
  37. package/dist/cdn/chunks/{CountdownToolbar-BD90NpY1.js → CountdownToolbar-CO6xLgYc.js} +17 -17
  38. package/dist/cdn/chunks/{CountdownToolbar-BD90NpY1.js.map → CountdownToolbar-CO6xLgYc.js.map} +1 -1
  39. package/dist/cdn/chunks/{DesignReferenceSidebar-DY-laxO5.js → DesignReferenceSidebar-DRGqm33h.js} +2 -2
  40. package/dist/cdn/chunks/{DesignReferenceSidebar-DY-laxO5.js.map → DesignReferenceSidebar-DRGqm33h.js.map} +1 -1
  41. package/dist/cdn/chunks/{NumberWithSuffix-DOG0zHvY.js → FieldRow-CbcpsxZ4.js} +24 -17
  42. package/dist/cdn/chunks/FieldRow-CbcpsxZ4.js.map +1 -0
  43. package/dist/cdn/chunks/{MergeTagModeToggle-BRW3qErZ.js → MergeTagModeToggle-DZtnCj0F.js} +2 -2
  44. package/dist/cdn/chunks/{MergeTagModeToggle-BRW3qErZ.js.map → MergeTagModeToggle-DZtnCj0F.js.map} +1 -1
  45. package/dist/cdn/chunks/{ParagraphEditor-CPVnO48U.js → ParagraphEditor-BalgLjBt.js} +3 -3
  46. package/dist/cdn/chunks/{ParagraphEditor-CPVnO48U.js.map → ParagraphEditor-BalgLjBt.js.map} +1 -1
  47. package/dist/cdn/chunks/{RestoreVersionDialog--Blx-VKu.js → RestoreVersionDialog-DGOXQ0ou.js} +2 -2
  48. package/dist/cdn/chunks/{RestoreVersionDialog--Blx-VKu.js.map → RestoreVersionDialog-DGOXQ0ou.js.map} +1 -1
  49. package/dist/cdn/chunks/{SaveBlockDialog-DXQ2g_38.js → SaveBlockDialog-Dod3jX9X.js} +4 -4
  50. package/dist/cdn/chunks/{SaveBlockDialog-DXQ2g_38.js.map → SaveBlockDialog-Dod3jX9X.js.map} +1 -1
  51. package/dist/cdn/chunks/{SavedBlocksBrowserModal-DWBvVkuk.js → SavedBlocksBrowserModal-BysGB8zb.js} +4 -4
  52. package/dist/cdn/chunks/{SavedBlocksBrowserModal-DWBvVkuk.js.map → SavedBlocksBrowserModal-BysGB8zb.js.map} +1 -1
  53. package/dist/cdn/chunks/{SavedBlocksPanels-GgdpiPUq.js → SavedBlocksPanels-DJ4fceEM.js} +2 -2
  54. package/dist/cdn/chunks/{SavedBlocksPanels-GgdpiPUq.js.map → SavedBlocksPanels-DJ4fceEM.js.map} +1 -1
  55. package/dist/cdn/chunks/{SavedBlocksPickBar-Dyb5xi1B.js → SavedBlocksPickBar-DGgbqAsb.js} +2 -2
  56. package/dist/cdn/chunks/{SavedBlocksPickBar-Dyb5xi1B.js.map → SavedBlocksPickBar-DGgbqAsb.js.map} +1 -1
  57. package/dist/cdn/chunks/{TestEmailModal-B9SmAIKZ.js → TestEmailModal-DvZFnhWa.js} +6 -6
  58. package/dist/cdn/chunks/{TestEmailModal-B9SmAIKZ.js.map → TestEmailModal-DvZFnhWa.js.map} +1 -1
  59. package/dist/cdn/chunks/{TestEmailPanel-Q6alElB1.js → TestEmailPanel-BdxpMiWc.js} +2 -2
  60. package/dist/cdn/chunks/{TestEmailPanel-Q6alElB1.js.map → TestEmailPanel-BdxpMiWc.js.map} +1 -1
  61. package/dist/cdn/chunks/{TitleEditor-Tudoac5f.js → TitleEditor-CfHWnThg.js} +3 -3
  62. package/dist/cdn/chunks/{TitleEditor-Tudoac5f.js.map → TitleEditor-CfHWnThg.js.map} +1 -1
  63. package/dist/cdn/chunks/{TplModal-BNJIFnyj.js → TplModal-BMTW5bEN.js} +2 -2
  64. package/dist/cdn/chunks/{TplModal-BNJIFnyj.js.map → TplModal-BMTW5bEN.js.map} +1 -1
  65. package/dist/cdn/chunks/{VersionHistoryPanels-Crw5JA89.js → VersionHistoryPanels-2l_FLtix.js} +2 -2
  66. package/dist/cdn/chunks/{VersionHistoryPanels-Crw5JA89.js.map → VersionHistoryPanels-2l_FLtix.js.map} +1 -1
  67. package/dist/{ca-DY0AYOLG.js → cdn/chunks/ca-DZSrLNXK.js} +4 -0
  68. package/dist/cdn/chunks/ca-DZSrLNXK.js.map +1 -0
  69. package/dist/cdn/chunks/{cloud-C29LPXYn.js → cloud-CITqEHEc.js} +2 -2
  70. package/dist/cdn/chunks/{cloud-C29LPXYn.js.map → cloud-CITqEHEc.js.map} +1 -1
  71. package/dist/cdn/chunks/{createCloudRuntime-C6MJN7M6.js → createCloudRuntime-jLhuyKds.js} +4 -4
  72. package/dist/cdn/chunks/{createCloudRuntime-C6MJN7M6.js.map → createCloudRuntime-jLhuyKds.js.map} +1 -1
  73. package/dist/cdn/chunks/{de-CYLWugqb.js → de-DbayqpK-.js} +3 -1
  74. package/dist/cdn/chunks/{de-CYLWugqb.js.map → de-DbayqpK-.js.map} +1 -1
  75. package/dist/cdn/chunks/en-CwXyUb6-.js +2 -0
  76. package/dist/cdn/chunks/{en-C3TM249M.js → en-l0ib5X0f.js} +3 -1
  77. package/dist/cdn/chunks/en-l0ib5X0f.js.map +1 -0
  78. package/dist/{es-D1SF4nCR.js → cdn/chunks/es-CMQ-5PJP.js} +4 -0
  79. package/dist/cdn/chunks/es-CMQ-5PJP.js.map +1 -0
  80. package/dist/cdn/chunks/{extensions-BQefRevf.js → extensions-D30V0hzj.js} +3 -3
  81. package/dist/cdn/chunks/{extensions-BQefRevf.js.map → extensions-D30V0hzj.js.map} +1 -1
  82. package/dist/cdn/chunks/{fr-CdLhJ7kw.js → fr-DNXmZWAq.js} +3 -1
  83. package/dist/cdn/chunks/fr-DNXmZWAq.js.map +1 -0
  84. package/dist/{nl-BvsLoyKp.js → cdn/chunks/nl-BylRRHYJ.js} +4 -0
  85. package/dist/cdn/chunks/nl-BylRRHYJ.js.map +1 -0
  86. package/dist/cdn/chunks/{preRenderCustomBlocks-CbA3RcAy.js → preRenderCustomBlocks-DyCIgmqJ.js} +2 -2
  87. package/dist/cdn/chunks/{preRenderCustomBlocks-CbA3RcAy.js.map → preRenderCustomBlocks-DyCIgmqJ.js.map} +1 -1
  88. package/dist/cdn/chunks/{pt-BR-CAGS5YXp.js → pt-BR-BVoJhpie.js} +3 -1
  89. package/dist/cdn/chunks/pt-BR-BVoJhpie.js.map +1 -0
  90. package/dist/cdn/chunks/{src-fxaI2EQc.js → src-65H3RNcb.js} +3 -3
  91. package/dist/cdn/chunks/{src-fxaI2EQc.js.map → src-65H3RNcb.js.map} +1 -1
  92. package/dist/cdn/chunks/{src-Cx70q30o.js → src-6J-yyZoD.js} +2 -2
  93. package/dist/cdn/chunks/{src-Cx70q30o.js.map → src-6J-yyZoD.js.map} +1 -1
  94. package/dist/cdn/chunks/{src-B_QJduQD.js → src-BD60gqPW.js} +72 -67
  95. package/dist/cdn/chunks/src-BD60gqPW.js.map +1 -0
  96. package/dist/cdn/chunks/{src-CjSrA_o4.js → src-CLTXM4PM.js} +166 -136
  97. package/dist/cdn/chunks/src-CLTXM4PM.js.map +1 -0
  98. package/dist/cdn/chunks/{useEditorCore-o2emEjgF.js → useEditorCore-BQeEwEQ9.js} +351 -356
  99. package/dist/cdn/chunks/{useEditorCore-o2emEjgF.js.map → useEditorCore-BQeEwEQ9.js.map} +1 -1
  100. package/dist/cdn/chunks/{useMergeTag-BWt1DQS1.js → useMergeTag-lWo7So18.js} +2 -2
  101. package/dist/cdn/chunks/{useMergeTag-BWt1DQS1.js.map → useMergeTag-lWo7So18.js.map} +1 -1
  102. package/dist/cdn/editor.css +1 -1
  103. package/dist/cdn/editor.js +941 -909
  104. package/dist/cdn/editor.js.map +1 -1
  105. package/dist/{cloud-CHHQWdaR.js → cloud-DwJ8ebNl.js} +1 -1
  106. package/dist/{createCloudRuntime-WwKt9mgb.js → createCloudRuntime-CdXQdl34.js} +2 -2
  107. package/dist/{de-CYLWugqb.js → de-DbayqpK-.js} +2 -0
  108. package/dist/{dist-B1kLn1rs.js → dist-CzVIVbSa.js} +90 -85
  109. package/dist/{en-C3TM249M.js → en-l0ib5X0f.js} +2 -0
  110. package/dist/{cdn/chunks/es-D1SF4nCR.js → es-CMQ-5PJP.js} +2 -2
  111. package/dist/{extensions-B4gwZ36u.js → extensions-Bjsdx6Vm.js} +12 -12
  112. package/dist/{fr-CdLhJ7kw.js → fr-DNXmZWAq.js} +2 -0
  113. package/dist/{cdn/chunks/nl-BvsLoyKp.js → nl-BylRRHYJ.js} +2 -2
  114. package/dist/{preRenderCustomBlocks-BebjKtmw.js → preRenderCustomBlocks-2KyBJocY.js} +1 -1
  115. package/dist/{pt-BR-CAGS5YXp.js → pt-BR-BVoJhpie.js} +2 -0
  116. package/dist/style.css +1 -1
  117. package/dist/templatical-editor.js +983 -951
  118. package/dist/{useEditorCore-CJp84vJY.js → useEditorCore-Du9Vx-qr.js} +868 -873
  119. package/dist/{useMergeTag-D1Rsn4BO.js → useMergeTag-Cx36rtrt.js} +3 -3
  120. package/package.json +7 -7
  121. package/dist/cdn/chunks/NumberWithSuffix-DOG0zHvY.js.map +0 -1
  122. package/dist/cdn/chunks/ca-DY0AYOLG.js.map +0 -1
  123. package/dist/cdn/chunks/en-C3TM249M.js.map +0 -1
  124. package/dist/cdn/chunks/en-DIwntrh3.js +0 -2
  125. package/dist/cdn/chunks/es-D1SF4nCR.js.map +0 -1
  126. package/dist/cdn/chunks/fr-CdLhJ7kw.js.map +0 -1
  127. package/dist/cdn/chunks/nl-BvsLoyKp.js.map +0 -1
  128. package/dist/cdn/chunks/pt-BR-CAGS5YXp.js.map +0 -1
  129. package/dist/cdn/chunks/src-B_QJduQD.js.map +0 -1
  130. package/dist/cdn/chunks/src-CjSrA_o4.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  import { L as e, X as t, q as n, s as r } from "./vue.runtime.esm-bundler-BhOUdXMi.js";
2
- import { o as i } from "./dist-B1kLn1rs.js";
2
+ import { s as i } from "./dist-CzVIVbSa.js";
3
3
  //#region ../core/dist/cloud/index.js
4
4
  function a(e) {
5
5
  let t = e instanceof i ? e.statusCode : void 0;
@@ -4,8 +4,8 @@ import { t as o } from "./dist-CuuPnIMy.js";
4
4
  import { R as s, i as c, l, t as u } from "./keys-BJtoezGU.js";
5
5
  import { t as d } from "./timeouts-DHPZQ0G3.js";
6
6
  import { t as f } from "./logger-BBlvSn6q.js";
7
- import { t as p } from "./preRenderCustomBlocks-BebjKtmw.js";
8
- import { S as m, _ as h, a as g, b as ee, c as te, d as ne, h as _, i as v, l as y, m as b, n as x, o as S, p as C, r as re, s as ie, t as ae, u as oe, v as se, x as ce, y as le } from "./cloud-CHHQWdaR.js";
7
+ import { t as p } from "./preRenderCustomBlocks-2KyBJocY.js";
8
+ import { S as m, _ as h, a as g, b as ee, c as te, d as ne, h as _, i as v, l as y, m as b, n as x, o as S, p as C, r as re, s as ie, t as ae, u as oe, v as se, x as ce, y as le } from "./cloud-DwJ8ebNl.js";
9
9
  //#region src/cloud/composables/useCloudFeatureFlags.ts
10
10
  function ue(e) {
11
11
  let { planConfigInstance: t, aiConfig: n, getTemplateId: r } = e;
@@ -167,6 +167,7 @@ var e = {
167
167
  height: "Höhe",
168
168
  heightAuto: "Automatisch",
169
169
  heightCustom: "Benutzerdefiniert",
170
+ borderRadius: "Eckenradius",
170
171
  linkUrl: "Link-URL",
171
172
  openInNewTab: "In neuem Tab öffnen",
172
173
  placeholderUrl: "Platzhalterbild",
@@ -297,6 +298,7 @@ var e = {
297
298
  cellPlaceholder: "Text eingeben...",
298
299
  empty: "Tabelle hinzufügen"
299
300
  },
301
+ paragraph: { paragraphSpacing: "Absatzabstand" },
300
302
  spacer: { height: "Höhe" },
301
303
  countdown: {
302
304
  targetDate: "Zieldatum",
@@ -5,6 +5,11 @@ var e = {
5
5
  3: 22,
6
6
  4: 18
7
7
  }, t = {
8
+ paragraphGap: 8,
9
+ listMarginY: 8,
10
+ listPaddingLeft: 24,
11
+ listItemMarginY: 4
12
+ }, n = {
8
13
  facebook: {
9
14
  color: "#1877F2",
10
15
  path: "M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"
@@ -74,19 +79,19 @@ var e = {
74
79
  path: "M22 7h-7V5h7v2zm1.726 10c-.442 1.297-2.029 3-5.101 3-3.074 0-5.564-1.729-5.564-5.675 0-3.91 2.325-5.92 5.466-5.92 3.082 0 4.964 1.782 5.375 4.426.078.506.109 1.188.095 2.14H15.97c.13 3.211 3.483 3.312 4.588 2.029h3.168zm-7.686-4h4.965c-.105-1.547-1.136-2.219-2.477-2.219-1.466 0-2.277.768-2.488 2.219zm-9.574 6.988H0V5.021h6.953c5.476.081 5.58 5.444 2.72 6.906 3.461 1.26 3.577 8.061-3.207 8.061zM3 11h3.584c2.508 0 2.906-3-.312-3H3v3zm3.391 3H3v3.016h3.341c3.055 0 2.868-3.016.05-3.016z"
75
80
  }
76
81
  };
77
- function n(e) {
82
+ function r(e) {
78
83
  return e.type === "custom";
79
84
  }
80
- var r = {
85
+ var i = {
81
86
  content: "<p>Enter your title</p>",
82
87
  level: 2,
83
88
  textAlign: "left"
84
- }, i = { content: "<p>Enter your text here</p>" }, a = {
89
+ }, a = { content: "<p>Enter your text here</p>" }, o = {
85
90
  src: "",
86
91
  alt: "",
87
92
  width: "full",
88
93
  align: "center"
89
- }, o = {
94
+ }, s = {
90
95
  text: "Click Here",
91
96
  url: "",
92
97
  backgroundColor: "#333333",
@@ -100,36 +105,36 @@ var r = {
100
105
  left: 24
101
106
  },
102
107
  align: "center"
103
- }, s = {
108
+ }, c = {
104
109
  lineStyle: "solid",
105
110
  color: "#e0e0e0",
106
111
  thickness: 1,
107
112
  width: "full"
108
- }, c = { columns: "1" }, l = {
113
+ }, l = { columns: "1" }, u = {
109
114
  url: "",
110
115
  thumbnailUrl: "",
111
116
  alt: "Video",
112
117
  width: "full",
113
118
  align: "center"
114
- }, u = {
119
+ }, d = {
115
120
  iconStyle: "solid",
116
121
  iconSize: "medium",
117
122
  spacing: 10,
118
123
  align: "center"
119
- }, d = { height: 24 }, f = { content: "" }, p = {
124
+ }, f = { height: 24 }, p = { content: "" }, m = {
120
125
  fontSize: 15,
121
126
  textAlign: "center",
122
127
  separator: "|",
123
128
  separatorColor: "#e0e0e0",
124
129
  spacing: 10
125
- }, m = {
130
+ }, h = {
126
131
  hasHeaderRow: !0,
127
132
  borderColor: "#e0e0e0",
128
133
  borderWidth: 1,
129
134
  cellPadding: 8,
130
135
  fontSize: 15,
131
136
  textAlign: "left"
132
- }, h = {
137
+ }, g = {
133
138
  targetDate: "",
134
139
  timezone: "UTC",
135
140
  showDays: !0,
@@ -149,21 +154,21 @@ var r = {
149
154
  expiredMessage: "This offer has expired",
150
155
  expiredImageUrl: "",
151
156
  hideOnExpiry: !1
152
- }, g = {
153
- title: r,
154
- paragraph: i,
155
- image: a,
156
- button: o,
157
- divider: s,
158
- section: c,
159
- video: l,
160
- social: u,
161
- spacer: d,
162
- html: f,
163
- menu: p,
164
- table: m,
165
- countdown: h
166
157
  }, _ = {
158
+ title: i,
159
+ paragraph: a,
160
+ image: o,
161
+ button: s,
162
+ divider: c,
163
+ section: l,
164
+ video: u,
165
+ social: d,
166
+ spacer: f,
167
+ html: p,
168
+ menu: m,
169
+ table: h,
170
+ countdown: g
171
+ }, v = {
167
172
  width: 600,
168
173
  backgroundColor: "#ffffff",
169
174
  textColor: "#1a1a1a",
@@ -171,34 +176,34 @@ var r = {
171
176
  fontFamily: "Arial",
172
177
  locale: "en"
173
178
  };
174
- function v(e) {
179
+ function y(e) {
175
180
  return typeof e == "object" && !!e && !Array.isArray(e) && Object.getPrototypeOf(e) === Object.prototype;
176
181
  }
177
- function y(e, t) {
182
+ function b(e, t) {
178
183
  let n = { ...e };
179
184
  for (let r of Object.keys(t)) {
180
185
  let i = e[r], a = t[r];
181
- a !== void 0 && (n[r] = v(i) && v(a) ? y(i, a) : a);
186
+ a !== void 0 && (n[r] = y(i) && y(a) ? b(i, a) : a);
182
187
  }
183
188
  return n;
184
189
  }
185
- function b(e = "Arial", t) {
190
+ function ee(e = "Arial", t) {
186
191
  return {
187
192
  blocks: [],
188
193
  settings: {
189
- ..._,
194
+ ...v,
190
195
  fontFamily: e,
191
196
  ...t
192
197
  }
193
198
  };
194
199
  }
195
200
  function x(e, t) {
196
- return !t || Object.keys(t).length === 0 ? e : y(e, t);
201
+ return !t || Object.keys(t).length === 0 ? e : b(e, t);
197
202
  }
198
203
  function S() {
199
204
  return crypto.randomUUID();
200
205
  }
201
- function ee(e = 0) {
206
+ function te(e = 0) {
202
207
  return {
203
208
  top: e,
204
209
  right: e,
@@ -207,13 +212,13 @@ function ee(e = 0) {
207
212
  };
208
213
  }
209
214
  function C(e = 10) {
210
- return { padding: ee(e) };
215
+ return { padding: te(e) };
211
216
  }
212
217
  function w(e = {}) {
213
218
  return x({
214
219
  id: S(),
215
220
  type: "title",
216
- ...r,
221
+ ...i,
217
222
  styles: C()
218
223
  }, e);
219
224
  }
@@ -221,7 +226,7 @@ function T(e = {}) {
221
226
  return x({
222
227
  id: S(),
223
228
  type: "paragraph",
224
- ...i,
229
+ ...a,
225
230
  styles: C()
226
231
  }, e);
227
232
  }
@@ -229,7 +234,7 @@ function E(e = {}) {
229
234
  return x({
230
235
  id: S(),
231
236
  type: "image",
232
- ...a,
237
+ ...o,
233
238
  styles: C()
234
239
  }, e);
235
240
  }
@@ -237,7 +242,7 @@ function D(e = {}) {
237
242
  return x({
238
243
  id: S(),
239
244
  type: "button",
240
- ...o,
245
+ ...s,
241
246
  styles: C()
242
247
  }, e);
243
248
  }
@@ -245,7 +250,7 @@ function O(e = {}) {
245
250
  return x({
246
251
  id: S(),
247
252
  type: "divider",
248
- ...s,
253
+ ...c,
249
254
  styles: C(20)
250
255
  }, e);
251
256
  }
@@ -253,7 +258,7 @@ function k(e = {}) {
253
258
  return x({
254
259
  id: S(),
255
260
  type: "section",
256
- ...c,
261
+ ...l,
257
262
  children: [[]],
258
263
  styles: C(20)
259
264
  }, e);
@@ -262,7 +267,7 @@ function A(e = {}) {
262
267
  return x({
263
268
  id: S(),
264
269
  type: "video",
265
- ...l,
270
+ ...u,
266
271
  styles: C()
267
272
  }, e);
268
273
  }
@@ -271,7 +276,7 @@ function j(e = {}) {
271
276
  id: S(),
272
277
  type: "social",
273
278
  icons: [],
274
- ...u,
279
+ ...d,
275
280
  styles: C()
276
281
  }, e);
277
282
  }
@@ -279,7 +284,7 @@ function M(e = {}) {
279
284
  return x({
280
285
  id: S(),
281
286
  type: "spacer",
282
- ...d,
287
+ ...f,
283
288
  styles: C(0)
284
289
  }, e);
285
290
  }
@@ -287,7 +292,7 @@ function N(e = {}) {
287
292
  return x({
288
293
  id: S(),
289
294
  type: "html",
290
- ...f,
295
+ ...p,
291
296
  styles: C()
292
297
  }, e);
293
298
  }
@@ -296,11 +301,11 @@ function P(e = {}) {
296
301
  id: S(),
297
302
  type: "menu",
298
303
  items: [],
299
- ...p,
304
+ ...m,
300
305
  styles: C()
301
306
  }, e);
302
307
  }
303
- function te(e, t) {
308
+ function ne(e, t) {
304
309
  return Array.from({ length: t }, () => ({
305
310
  id: S(),
306
311
  cells: Array.from({ length: e }, () => ({
@@ -313,8 +318,8 @@ function F(e = {}) {
313
318
  return x({
314
319
  id: S(),
315
320
  type: "table",
316
- rows: te(3, 3),
317
- ...m,
321
+ rows: ne(3, 3),
322
+ ...h,
318
323
  styles: C()
319
324
  }, e);
320
325
  }
@@ -322,14 +327,14 @@ function I(e = {}) {
322
327
  return x({
323
328
  id: S(),
324
329
  type: "countdown",
325
- ...h,
330
+ ...g,
326
331
  styles: C()
327
332
  }, e);
328
333
  }
329
334
  function L(e) {
330
335
  return e.type === "repeatable" ? e.default ?? [] : e.type === "boolean" ? e.default ?? !1 : e.type === "number" ? e.default ?? 0 : e.default ?? "";
331
336
  }
332
- function ne(e) {
337
+ function R(e) {
333
338
  let t = {};
334
339
  for (let n of e.fields) t[n.key] = L(n);
335
340
  let n = x(C(), e.defaultStyles);
@@ -360,9 +365,9 @@ function re(e, t) {
360
365
  default: throw Error(`Unknown block type: ${e}`);
361
366
  }
362
367
  }
363
- function R(e) {
368
+ function z(e) {
364
369
  let t = JSON.parse(JSON.stringify(e));
365
- return t.id = S(), t.type === "section" && (t.children = t.children.map((e) => e.map((e) => R(e)))), t;
370
+ return t.id = S(), t.type === "section" && (t.children = t.children.map((e) => e.map((e) => z(e)))), t;
366
371
  }
367
372
  function ie(e) {
368
373
  let t = /* @__PURE__ */ new WeakSet();
@@ -374,7 +379,7 @@ function ie(e) {
374
379
  return n;
375
380
  }));
376
381
  }
377
- var z = /* @__PURE__ */ new Set(["\"", "'"]);
382
+ var B = /* @__PURE__ */ new Set(["\"", "'"]);
378
383
  function ae(e, t) {
379
384
  let n = null;
380
385
  for (let r = t; r < e.length; r++) {
@@ -383,7 +388,7 @@ function ae(e, t) {
383
388
  t === n && (n = null);
384
389
  continue;
385
390
  }
386
- if (z.has(t)) {
391
+ if (B.has(t)) {
387
392
  n = t;
388
393
  continue;
389
394
  }
@@ -391,13 +396,13 @@ function ae(e, t) {
391
396
  }
392
397
  return -1;
393
398
  }
394
- function B(e) {
399
+ function V(e) {
395
400
  return e !== " " && e !== " " && e !== "\n" && e !== "\r" && e !== "\f" && e !== "=" && e !== ">" && e !== "/";
396
401
  }
397
- function V(e) {
402
+ function H(e) {
398
403
  return e === " " || e === " " || e === "\n" || e === "\r" || e === "\f";
399
404
  }
400
- var H = {
405
+ var U = {
401
406
  amp: "&",
402
407
  lt: "<",
403
408
  gt: ">",
@@ -405,45 +410,45 @@ var H = {
405
410
  apos: "'",
406
411
  nbsp: "\xA0"
407
412
  };
408
- function U(e) {
413
+ function W(e) {
409
414
  return e.includes("&") ? e.replace(/&(#[0-9]+|#[xX][0-9a-fA-F]+|[a-zA-Z][a-zA-Z0-9]*);/g, (e, t) => {
410
415
  if (t[0] === "#") {
411
416
  let n = t[1] === "x" || t[1] === "X" ? Number.parseInt(t.slice(2), 16) : Number.parseInt(t.slice(1), 10);
412
417
  return !Number.isFinite(n) || n < 1 || n > 1114111 || n >= 55296 && n <= 57343 ? e : String.fromCodePoint(n);
413
418
  }
414
- return H[t.toLowerCase()] ?? e;
419
+ return U[t.toLowerCase()] ?? e;
415
420
  }) : e;
416
421
  }
417
- function W(e, t) {
422
+ function G(e, t) {
418
423
  let n = t.toLowerCase(), r = 0;
419
424
  for (; r < e.length;) {
420
- for (; r < e.length && (V(e[r]) || e[r] === "/");) r++;
425
+ for (; r < e.length && (H(e[r]) || e[r] === "/");) r++;
421
426
  if (r >= e.length) break;
422
427
  let t = r;
423
- for (; r < e.length && B(e[r]);) r++;
428
+ for (; r < e.length && V(e[r]);) r++;
424
429
  let i = e.substring(t, r).toLowerCase();
425
430
  if (i === "") {
426
431
  r++;
427
432
  continue;
428
433
  }
429
- for (; r < e.length && V(e[r]);) r++;
434
+ for (; r < e.length && H(e[r]);) r++;
430
435
  if (e[r] !== "=") continue;
431
- for (r++; r < e.length && V(e[r]);) r++;
436
+ for (r++; r < e.length && H(e[r]);) r++;
432
437
  let a = e[r];
433
- if (z.has(a)) {
438
+ if (B.has(a)) {
434
439
  let t = r + 1, o = e.indexOf(a, t);
435
440
  if (o === -1) return null;
436
- if (i === n) return U(e.substring(t, o));
441
+ if (i === n) return W(e.substring(t, o));
437
442
  r = o + 1;
438
443
  continue;
439
444
  }
440
445
  let o = r;
441
- for (; r < e.length && !V(e[r]) && e[r] !== ">";) r++;
442
- if (i === n) return U(e.substring(o, r));
446
+ for (; r < e.length && !H(e[r]) && e[r] !== ">";) r++;
447
+ if (i === n) return W(e.substring(o, r));
443
448
  }
444
449
  return null;
445
450
  }
446
- var G = {
451
+ var K = {
447
452
  liquid: {
448
453
  value: /\{\{.+?\}\}/g,
449
454
  logic: /\{%-?\s*(\w+).*?-?%\}/g
@@ -460,33 +465,33 @@ var G = {
460
465
  value: /%%=.+?=%%/g,
461
466
  logic: /%%\[\s*(\w+).*?\]%%/g
462
467
  }
463
- }, K = {
468
+ }, q = {
464
469
  liquid: "{{",
465
470
  handlebars: "{{",
466
471
  mailchimp: "*|",
467
472
  ampscript: "%%="
468
- }, q = {
473
+ }, oe = {
469
474
  liquid: "}}",
470
475
  handlebars: "}}",
471
476
  mailchimp: "|*",
472
477
  ampscript: "=%%"
473
478
  };
474
- function oe(e) {
475
- for (let t of Object.keys(G)) if (G[t].value.source === e.value.source) return K[t];
476
- return null;
477
- }
478
479
  function se(e) {
479
- for (let t of Object.keys(G)) if (G[t].value.source === e.value.source) return q[t];
480
+ for (let t of Object.keys(K)) if (K[t].value.source === e.value.source) return q[t];
480
481
  return null;
481
482
  }
482
483
  function ce(e) {
483
- return e ? typeof e == "string" ? G[e] ?? G.liquid : e : G.liquid;
484
+ for (let t of Object.keys(K)) if (K[t].value.source === e.value.source) return oe[t];
485
+ return null;
486
+ }
487
+ function le(e) {
488
+ return e ? typeof e == "string" ? K[e] ?? K.liquid : e : K.liquid;
484
489
  }
485
490
  function J(e) {
486
491
  let t = e.source, n = e.flags.replace("g", "");
487
492
  return RegExp(`^${t}$`, n);
488
493
  }
489
- function le(e, t) {
494
+ function ue(e, t) {
490
495
  let n = e?.trim() || "";
491
496
  return !J(t.logic).test(n) && J(t.value).test(n);
492
497
  }
@@ -494,16 +499,16 @@ function Y(e, t) {
494
499
  let n = t.find((t) => t.value === e);
495
500
  return n ? n.label : e;
496
501
  }
497
- function ue(e, t) {
502
+ function de(e, t) {
498
503
  return $(e, "data-merge-tag", (e) => Y(e, t));
499
504
  }
500
505
  function X(e, t) {
501
506
  return t.find((t) => t.value === e)?.sample;
502
507
  }
503
- function de(e, t) {
508
+ function fe(e, t) {
504
509
  return $(e, "data-merge-tag", (e) => me(X(e, t) ?? Y(e, t)), { unwrap: (e) => X(e, t) !== void 0 });
505
510
  }
506
- function fe(e) {
511
+ function Z(e) {
507
512
  return e.some((e) => e.sample !== void 0);
508
513
  }
509
514
  function pe(e, t) {
@@ -520,14 +525,14 @@ function he(e, t) {
520
525
  let n = new RegExp(t.value.source, t.value.flags), r = new RegExp(t.logic.source, t.logic.flags);
521
526
  return n.test(e) || r.test(e);
522
527
  }
523
- function Z(e, t) {
528
+ function ge(e, t) {
524
529
  return J(t.logic).test(e?.trim() || "");
525
530
  }
526
531
  function Q(e, t) {
527
532
  let n = new RegExp(t.logic.source, t.logic.flags.replace("g", "")), r = e.match(n);
528
533
  return r && r[1] ? r[1].toUpperCase() : e;
529
534
  }
530
- function ge(e, t) {
535
+ function _e(e, t) {
531
536
  return $(e, "data-logic-merge-tag", (e) => Q(e, t));
532
537
  }
533
538
  function $(e, t, n, r) {
@@ -553,7 +558,7 @@ function $(e, t, n, r) {
553
558
  i += e.substring(a);
554
559
  break;
555
560
  }
556
- let u = W(e.substring(o + 5, c), t);
561
+ let u = G(e.substring(o + 5, c), t);
557
562
  if (u === null) {
558
563
  i += e.substring(a, o + 5), a = o + 5;
559
564
  continue;
@@ -563,12 +568,12 @@ function $(e, t, n, r) {
563
568
  }
564
569
  return i;
565
570
  }
566
- function _e(e) {
571
+ function ve(e) {
567
572
  if (typeof e != "object" || !e) return !1;
568
573
  let t = e;
569
574
  return Array.isArray(t.blocks);
570
575
  }
571
- var ve = class extends Error {
576
+ var ye = class extends Error {
572
577
  statusCode;
573
578
  constructor(e, t) {
574
579
  super(e), this.statusCode = t, this.name = "SdkError";
@@ -584,4 +589,4 @@ var ve = class extends Error {
584
589
  }
585
590
  };
586
591
  //#endregion
587
- export { oe as A, de as B, w as C, Y as D, Q as E, _e as F, ge as I, ue as L, n as M, Z as N, X as O, le as P, ce as R, F as S, S as T, pe as V, P as _, G as a, j as b, he as c, I as d, ne as f, E as g, N as h, t as i, fe as j, se as k, re as l, O as m, _ as n, ve as o, b as p, e as r, R as s, g as t, D as u, T as v, A as w, M as x, k as y, ie as z };
592
+ export { ce as A, ie as B, F as C, Q as D, S as E, ue as F, pe as H, ve as I, _e as L, Z as M, r as N, Y as O, ge as P, de as R, M as S, A as T, fe as V, E as _, n as a, k as b, z as c, D as d, I as f, N as g, O as h, t as i, se as j, X as k, he as l, ee as m, v as n, K as o, R as p, e as r, ye as s, _ as t, re as u, P as v, w, j as x, T as y, le as z };
@@ -167,6 +167,7 @@ var e = {
167
167
  height: "Height",
168
168
  heightAuto: "Auto",
169
169
  heightCustom: "Custom",
170
+ borderRadius: "Border Radius",
170
171
  linkUrl: "Link URL",
171
172
  openInNewTab: "Open in new tab",
172
173
  placeholderUrl: "Placeholder Image",
@@ -297,6 +298,7 @@ var e = {
297
298
  cellPlaceholder: "Enter text...",
298
299
  empty: "Add a table"
299
300
  },
301
+ paragraph: { paragraphSpacing: "Paragraph Spacing" },
300
302
  spacer: { height: "Height" },
301
303
  countdown: {
302
304
  targetDate: "Target Date",
@@ -167,6 +167,7 @@ var e = {
167
167
  height: "Altura",
168
168
  heightAuto: "Automática",
169
169
  heightCustom: "Personalizada",
170
+ borderRadius: "Radio del borde",
170
171
  linkUrl: "URL del enlace",
171
172
  openInNewTab: "Abrir en una nueva pestaña",
172
173
  placeholderUrl: "Imagen de muestra",
@@ -297,6 +298,7 @@ var e = {
297
298
  cellPlaceholder: "Introduce el texto...",
298
299
  empty: "Añadir una tabla"
299
300
  },
301
+ paragraph: { paragraphSpacing: "Espaciado entre párrafos" },
300
302
  spacer: { height: "Altura" },
301
303
  countdown: {
302
304
  targetDate: "Fecha límite",
@@ -606,5 +608,3 @@ var e = {
606
608
  };
607
609
  //#endregion
608
610
  export { e as default };
609
-
610
- //# sourceMappingURL=es-D1SF4nCR.js.map
@@ -1,8 +1,8 @@
1
1
  import { B as e, Dt as t, Ot as n, T as r, X as i, c as a, d as o, k as s, kt as c, l, rt as u, s as d, u as f, v as p, z as m } from "./vue.runtime.esm-bundler-BhOUdXMi.js";
2
2
  import { a as h, c as g, s as _ } from "./runtime-dom.esm-bundler-Co_SPqAz.js";
3
- import { D as v, E as y, N as b, a as x } from "./dist-B1kLn1rs.js";
3
+ import { D as v, O as y, P as b, o as x } from "./dist-CzVIVbSa.js";
4
4
  import { t as S } from "./useI18n-B135ASaG.js";
5
- import { t as C } from "./useMergeTag-D1Rsn4BO.js";
5
+ import { t as C } from "./useMergeTag-Cx36rtrt.js";
6
6
  import { gn as w, m as T, s as E, u as D, v as O } from "./dist-nmzPlqlz.js";
7
7
  import { i as k, r as A, t as j } from "./MergeTagSuggestion-DPfXtDzP.js";
8
8
  import { n as M, t as N } from "./dist-gWM8H2hz.js";
@@ -101,9 +101,9 @@ var P = E.create({
101
101
  updateAttributes: { type: Function }
102
102
  },
103
103
  setup(p) {
104
- let v = p, { syntax: x } = C(), { t: w } = S(), T = d(() => b(v.node.attrs.value, x)), E = d(() => y(v.node.attrs.value, x)), D = i(!1), O = i(""), k = i(null), A = !1;
104
+ let y = p, { syntax: x } = C(), { t: w } = S(), T = d(() => b(y.node.attrs.value, x)), E = d(() => v(y.node.attrs.value, x)), D = i(!1), O = i(""), k = i(null), A = !1;
105
105
  function j() {
106
- O.value = v.node.attrs.value, A = !1, D.value = !0, r(() => {
106
+ O.value = y.node.attrs.value, A = !1, D.value = !0, r(() => {
107
107
  k.value?.focus(), k.value?.select();
108
108
  });
109
109
  }
@@ -115,9 +115,9 @@ var P = E.create({
115
115
  D.value = !1;
116
116
  return;
117
117
  }
118
- e !== v.node.attrs.value && v.updateAttributes({
118
+ e !== y.node.attrs.value && y.updateAttributes({
119
119
  value: e,
120
- keyword: b(e, x) ? y(e, x) : ""
120
+ keyword: b(e, x) ? v(e, x) : ""
121
121
  }), D.value = !1;
122
122
  }
123
123
  function P(e) {
@@ -228,7 +228,7 @@ var W = T.create({
228
228
  {},
229
229
  e.attrs.value
230
230
  ];
231
- let n = y(e.attrs.value, this.options.syntax);
231
+ let n = v(e.attrs.value, this.options.syntax);
232
232
  return [
233
233
  "span",
234
234
  w(t, {
@@ -254,7 +254,7 @@ var W = T.create({
254
254
  handler: ({ state: e, range: t, match: n }) => {
255
255
  let r = n[0];
256
256
  if (!b(r, this.options.syntax)) return;
257
- let i = y(r, this.options.syntax), a = this.type.create({
257
+ let i = v(r, this.options.syntax), a = this.type.create({
258
258
  value: r,
259
259
  keyword: i
260
260
  });
@@ -269,7 +269,7 @@ var W = T.create({
269
269
  handler: ({ state: e, range: t, match: n }) => {
270
270
  let r = n[0];
271
271
  if (!b(r, this.options.syntax)) return;
272
- let i = y(r, this.options.syntax), a = this.type.create({
272
+ let i = v(r, this.options.syntax), a = this.type.create({
273
273
  value: r,
274
274
  keyword: i
275
275
  });
@@ -386,7 +386,7 @@ var W = T.create({
386
386
  return [{ tag: "span[data-merge-tag]" }];
387
387
  },
388
388
  renderHTML({ node: e, HTMLAttributes: t }) {
389
- let n = v(e.attrs.value, this.options.mergeTags);
389
+ let n = y(e.attrs.value, this.options.mergeTags);
390
390
  return [
391
391
  "span",
392
392
  w(t, {
@@ -419,7 +419,7 @@ var W = T.create({
419
419
  return [new D({
420
420
  find: e,
421
421
  handler: ({ state: e, range: t, match: n }) => {
422
- let r = n[0], i = v(r, this.options.mergeTags), a = this.type.create({
422
+ let r = n[0], i = y(r, this.options.mergeTags), a = this.type.create({
423
423
  label: i,
424
424
  value: r
425
425
  });
@@ -432,7 +432,7 @@ var W = T.create({
432
432
  return [new O({
433
433
  find: e,
434
434
  handler: ({ state: e, range: t, match: n }) => {
435
- let r = n[0], i = v(r, this.options.mergeTags), a = this.type.create({
435
+ let r = n[0], i = y(r, this.options.mergeTags), a = this.type.create({
436
436
  label: i,
437
437
  value: r
438
438
  });
@@ -25,6 +25,7 @@ var e = {
25
25
  hoursAgo: "il y a {hours} h",
26
26
  daysAgo: "il y a {days} j"
27
27
  },
28
+ paragraph: { paragraphSpacing: "Espacement des paragraphes" },
28
29
  history: {
29
30
  collabWarning: "Annuler peut affecter les modifications récentes de vos collaborateurs",
30
31
  undo: "Annuler",
@@ -167,6 +168,7 @@ var e = {
167
168
  height: "Hauteur",
168
169
  heightAuto: "Automatique",
169
170
  heightCustom: "Personnalisée",
171
+ borderRadius: "Rayon de bordure",
170
172
  linkUrl: "URL du lien",
171
173
  openInNewTab: "Ouvrir dans un nouvel onglet",
172
174
  placeholderUrl: "Image de substitution",