@templatical/editor 0.8.1 → 0.8.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 (147) hide show
  1. package/dist/{AiChatSidebar-B74X6tIx.js → AiChatSidebar-CXpsSTbt.js} +13 -13
  2. package/dist/{AiFeatureMenu-BPOVM_Ou.js → AiFeatureMenu-De9ow6Ej.js} +7 -7
  3. package/dist/{BlockIssueBadge-DJTiT1eF.js → BlockIssueBadge-FEuyG1p0.js} +5 -5
  4. package/dist/{CloudEditor-wAkx8TH_.js → CloudEditor-Ccoru8Up.js} +19 -19
  5. package/dist/{CollaboratorBar-DIr5ZUv9.js → CollaboratorBar-CmHq6XiL.js} +4 -4
  6. package/dist/{CommentsSidebar-Qvppl-DR.js → CommentsSidebar-DaWP5ZGl.js} +12 -12
  7. package/dist/{CountdownBlock-D0IiMliC.js → CountdownBlock-C51M6s-J.js} +3 -3
  8. package/dist/{CountdownToolbar-BVVT8U5C.js → CountdownToolbar-C2QkG8S0.js} +3 -3
  9. package/dist/{DesignReferenceSidebar-ucgtoDll.js → DesignReferenceSidebar-BwIRFmpA.js} +9 -9
  10. package/dist/{IssuesPanel-XVdvrgmq.js → IssuesPanel-B6ukjc1i.js} +8 -8
  11. package/dist/{LoadingTrack-CFkDkjBb.js → LoadingTrack-CZ6tO326.js} +1 -1
  12. package/dist/{ModuleBrowserModal-VqGNisDp.js → ModuleBrowserModal-0n6DoZtA.js} +11 -11
  13. package/dist/{ModulePreviewCanvas-DmzW6I_9.js → ModulePreviewCanvas-DEtTEvMM.js} +3 -3
  14. package/dist/{NumberWithSuffix-n-cr7lpU.js → NumberWithSuffix-wOM0319c.js} +3 -3
  15. package/dist/{ParagraphEditor-BQTPI8j8.js → ParagraphEditor-PQZp1plL.js} +25 -25
  16. package/dist/{RichTextEditorContent-Cu9NEkKd.js → RichTextEditorContent-C02UzFoS.js} +6 -6
  17. package/dist/{SaveModuleDialog-DhgHOGgX.js → SaveModuleDialog-WWMn87Oi.js} +7 -7
  18. package/dist/{SnapshotHistory-DJOsWv4i.js → SnapshotHistory-Dy_Iy7VG.js} +9 -9
  19. package/dist/{TemplateScoringPanel-BzDVdfOx.js → TemplateScoringPanel-BpQgtaDl.js} +14 -14
  20. package/dist/{TestEmailModal-Dqj50aHe.js → TestEmailModal--4EVFj1A.js} +5 -5
  21. package/dist/{TitleEditor-PQYXfY6W.js → TitleEditor-C6z6Jzeg.js} +12 -12
  22. package/dist/{TplModal-Dy6RXBV_.js → TplModal-D5xlYbls.js} +4 -4
  23. package/dist/{blockTypeIcons-qnUeTls5.js → blockTypeIcons-jZR-IBPY.js} +2 -2
  24. package/dist/bundle-stats.json +6 -6
  25. package/dist/cdn/chunks/{AiFeatureMenu-Cr6_Q9Zv.js → AiFeatureMenu-8gbvVwXD.js} +3 -3
  26. package/dist/cdn/chunks/{AiFeatureMenu-Cr6_Q9Zv.js.map → AiFeatureMenu-8gbvVwXD.js.map} +1 -1
  27. package/dist/cdn/chunks/{BlockIssueBadge-D0_mYpkl.js → BlockIssueBadge-CYoY-wyI.js} +3 -3
  28. package/dist/cdn/chunks/{BlockIssueBadge-D0_mYpkl.js.map → BlockIssueBadge-CYoY-wyI.js.map} +1 -1
  29. package/dist/cdn/chunks/{CloudEditor-BtAkuQB4.js → CloudEditor-DGAV0qxk.js} +8 -8
  30. package/dist/cdn/chunks/{CloudEditor-BtAkuQB4.js.map → CloudEditor-DGAV0qxk.js.map} +1 -1
  31. package/dist/cdn/chunks/{CollaboratorBar-C-P00I9l.js → CollaboratorBar-BrzkrQJM.js} +4 -4
  32. package/dist/cdn/chunks/{CollaboratorBar-C-P00I9l.js.map → CollaboratorBar-BrzkrQJM.js.map} +1 -1
  33. package/dist/cdn/chunks/{CountdownBlock-BEWsiqgw.js → CountdownBlock-BSEKrpZY.js} +3 -3
  34. package/dist/cdn/chunks/{CountdownBlock-BEWsiqgw.js.map → CountdownBlock-BSEKrpZY.js.map} +1 -1
  35. package/dist/cdn/chunks/{CountdownToolbar-CdjFGEI7.js → CountdownToolbar-DME9toD5.js} +4 -4
  36. package/dist/cdn/chunks/{CountdownToolbar-CdjFGEI7.js.map → CountdownToolbar-DME9toD5.js.map} +1 -1
  37. package/dist/cdn/chunks/{IssuesPanel-DJOLYNAJ.js → IssuesPanel-BqGOXisb.js} +4 -4
  38. package/dist/cdn/chunks/{IssuesPanel-DJOLYNAJ.js.map → IssuesPanel-BqGOXisb.js.map} +1 -1
  39. package/dist/cdn/chunks/{ModuleBrowserModal-hnbUUl8w.js → ModuleBrowserModal-Bz2oCRS9.js} +6 -6
  40. package/dist/cdn/chunks/{ModuleBrowserModal-hnbUUl8w.js.map → ModuleBrowserModal-Bz2oCRS9.js.map} +1 -1
  41. package/dist/cdn/chunks/{ModulePreviewCanvas-_DoUZGQh.js → ModulePreviewCanvas-8i2U3rd6.js} +3 -3
  42. package/dist/cdn/chunks/{ModulePreviewCanvas-_DoUZGQh.js.map → ModulePreviewCanvas-8i2U3rd6.js.map} +1 -1
  43. package/dist/cdn/chunks/{NumberWithSuffix-ryhWFnCJ.js → NumberWithSuffix-C6HZCvvh.js} +3 -3
  44. package/dist/cdn/chunks/{NumberWithSuffix-ryhWFnCJ.js.map → NumberWithSuffix-C6HZCvvh.js.map} +1 -1
  45. package/dist/cdn/chunks/{ParagraphEditor-BtzinrI_.js → ParagraphEditor-DfKVmv1W.js} +19 -19
  46. package/dist/cdn/chunks/{ParagraphEditor-BtzinrI_.js.map → ParagraphEditor-DfKVmv1W.js.map} +1 -1
  47. package/dist/cdn/chunks/{RichTextEditorContent-CRlcjuMH.js → RichTextEditorContent-B-HY9asd.js} +3 -3
  48. package/dist/cdn/chunks/{RichTextEditorContent-CRlcjuMH.js.map → RichTextEditorContent-B-HY9asd.js.map} +1 -1
  49. package/dist/cdn/chunks/{SaveModuleDialog-D-g-nYuL.js → SaveModuleDialog-BgwBxW_S.js} +3 -3
  50. package/dist/cdn/chunks/{SaveModuleDialog-D-g-nYuL.js.map → SaveModuleDialog-BgwBxW_S.js.map} +1 -1
  51. package/dist/cdn/chunks/{TitleEditor-Bzsbpajt.js → TitleEditor-C2p3SosJ.js} +9 -9
  52. package/dist/cdn/chunks/{TitleEditor-Bzsbpajt.js.map → TitleEditor-C2p3SosJ.js.map} +1 -1
  53. package/dist/cdn/chunks/{blockTypeIcons-B_klsmQ1.js → blockTypeIcons-Bck6aYVw.js} +3 -3
  54. package/dist/cdn/chunks/{blockTypeIcons-B_klsmQ1.js.map → blockTypeIcons-Bck6aYVw.js.map} +1 -1
  55. package/dist/cdn/chunks/de-BBEGQDsd.js.map +1 -1
  56. package/dist/cdn/chunks/de-DG1WWVXM.js.map +1 -1
  57. package/dist/cdn/chunks/de-RQrZR56a.js.map +1 -1
  58. package/dist/cdn/chunks/{draggable-P6QWzy4g.js → draggable-CLpL3kf8.js} +6 -6
  59. package/dist/cdn/chunks/draggable-CLpL3kf8.js.map +1 -0
  60. package/dist/cdn/chunks/emojiData-EMFlj6FJ.js.map +1 -1
  61. package/dist/cdn/chunks/en-BE6OV83-.js.map +1 -1
  62. package/dist/cdn/chunks/en-Bl1ecfRF.js.map +1 -1
  63. package/dist/cdn/chunks/en-CHha-_ta.js.map +1 -1
  64. package/dist/cdn/chunks/{extensions-DIHxPVrP.js → extensions-DdH6DxVo.js} +4 -4
  65. package/dist/cdn/chunks/{extensions-DIHxPVrP.js.map → extensions-DdH6DxVo.js.map} +1 -1
  66. package/dist/cdn/chunks/{features-BsW4aFcn.js → features-BOcQhi9B.js} +69 -48
  67. package/dist/cdn/chunks/features-BOcQhi9B.js.map +1 -0
  68. package/dist/cdn/chunks/{icons-BgPk6tUq.js → icons-BVyDCkxF.js} +12 -12
  69. package/dist/cdn/chunks/{icons-BgPk6tUq.js.map → icons-BVyDCkxF.js.map} +1 -1
  70. package/dist/cdn/chunks/{liquid.browser-lQbkge2E.js → liquid.browser-cpFt-Vmw.js} +674 -612
  71. package/dist/cdn/chunks/liquid.browser-cpFt-Vmw.js.map +1 -0
  72. package/dist/cdn/chunks/{media-library-C1Ue4At9.js → media-library-CPZI4Yxq.js} +6 -5
  73. package/dist/cdn/chunks/{media-library-C1Ue4At9.js.map → media-library-CPZI4Yxq.js.map} +1 -1
  74. package/dist/cdn/chunks/pt-BR-BYRTP5Ww.js.map +1 -1
  75. package/dist/cdn/chunks/pt-BR-CFomv2R8.js.map +1 -1
  76. package/dist/cdn/chunks/pt-BR-CQl2JxRp.js.map +1 -1
  77. package/dist/cdn/chunks/pusher-bjpcqCZG.js.map +1 -1
  78. package/dist/cdn/chunks/quality-Cytz80Z5.js +2140 -0
  79. package/dist/cdn/chunks/quality-Cytz80Z5.js.map +1 -0
  80. package/dist/cdn/chunks/readableTextColor-DhoK4XiZ.js.map +1 -1
  81. package/dist/cdn/chunks/{renderer-BdjvKDwC.js → renderer-Bsqzjvsr.js} +11 -5
  82. package/dist/cdn/chunks/{renderer-BdjvKDwC.js.map → renderer-Bsqzjvsr.js.map} +1 -1
  83. package/dist/cdn/chunks/{src-BI22RLP6.js → src-BRhJ_W0W.js} +5 -5
  84. package/dist/cdn/chunks/{src-BI22RLP6.js.map → src-BRhJ_W0W.js.map} +1 -1
  85. package/dist/cdn/chunks/styleConstants-DP1VOca8.js.map +1 -1
  86. package/dist/cdn/chunks/{styles-BkubbXy8.js → styles-MrOGXwzJ.js} +17 -17
  87. package/dist/cdn/chunks/{styles-BkubbXy8.js.map → styles-MrOGXwzJ.js.map} +1 -1
  88. package/dist/cdn/chunks/{tiptap-BwTCLVWl.js → tiptap-BCvhHXDe.js} +711 -692
  89. package/dist/cdn/chunks/tiptap-BCvhHXDe.js.map +1 -0
  90. package/dist/cdn/editor.js +6 -6
  91. package/dist/cdn/editor.js.map +1 -1
  92. package/dist/{check-BF4bEbCU.js → check-DwVS7v3N.js} +1 -1
  93. package/dist/{chevron-down-4NzWtv6Y.js → chevron-down-CytfFjil.js} +1 -1
  94. package/dist/{circle-alert-CPIth9bC.js → circle-alert-9J8Q4fwU.js} +1 -1
  95. package/dist/{clock-B9-ct9r_.js → clock-CL2fYWmc.js} +1 -1
  96. package/dist/{cloud-k0DgeCo2.js → cloud-DHsOqOnH.js} +1 -1
  97. package/dist/{createLucideIcon-Di4mqmGn.js → createLucideIcon-DTECxBv6.js} +4 -4
  98. package/dist/{dist-DVwOAodp.js → dist-3RAjjDZq.js} +2 -2
  99. package/dist/{dist-hfu7I2rO.js → dist-B5FKze93.js} +375 -353
  100. package/dist/dist-BWVK8w_m.js +5 -0
  101. package/dist/{dist-CISFttkF.js → dist-BjSjVZRA.js} +2 -2
  102. package/dist/{dist-DD-9hatO.js → dist-BoGj0ys1.js} +8 -8
  103. package/dist/{dist-BzRLLpfq.js → dist-CkhqaMca.js} +6 -5
  104. package/dist/{dist-U5guDm2w.js → dist-D8IxYzaU.js} +125 -125
  105. package/dist/{dist-B2jcQhv8.js → dist-DPiqL9q5.js} +17 -17
  106. package/dist/{dist-v8h02hhE.js → dist-DgD8K8y0.js} +2 -2
  107. package/dist/{dist-DxD1kSdH.js → dist-DiYYRj9J.js} +22 -48
  108. package/dist/{dist-CQQS9SRN.js → dist-DpF3BN6Y.js} +85 -62
  109. package/dist/dist-UekZXGFH.js +5 -0
  110. package/dist/{dist-DUvhjQ2-.js → dist-qFGe50Kc.js} +2 -2
  111. package/dist/{extensions-C-FpnfJn.js → extensions-BTheidN4.js} +19 -19
  112. package/dist/{image-up-CubAveUO.js → image-up-YgXg9o1y.js} +1 -1
  113. package/dist/index.d.ts +39 -92
  114. package/dist/{info-DiINxXfZ.js → info-W-213KLD.js} +1 -1
  115. package/dist/{keys-CY3tkCsv.js → keys-XS_XrjqL.js} +1 -1
  116. package/dist/{liquid.browser-DX8ZHRdq.js → liquid.browser-Dc30h4PN.js} +673 -611
  117. package/dist/{list-checks-CMtEXe9l.js → list-checks-BQrZlWzC.js} +1 -1
  118. package/dist/{loader-circle-_9bP23op.js → loader-circle-BQPHssrF.js} +1 -1
  119. package/dist/{message-circle-gzy2ZGJ3.js → message-circle-iMgHXBeH.js} +1 -1
  120. package/dist/{refresh-cw-C9_M6yB3.js → refresh-cw-DFozdLYp.js} +1 -1
  121. package/dist/{scan-line-DUEg6DoT.js → scan-line-D3NN0Gre.js} +1 -1
  122. package/dist/{send-BatIZC9a.js → send-DBhq0GU2.js} +1 -1
  123. package/dist/{shield-check-C5Gv2cM1.js → shield-check-DquM3-E5.js} +1 -1
  124. package/dist/{sparkles-D1IGi_cC.js → sparkles-CTGknLJy.js} +1 -1
  125. package/dist/{styles-BEhOSxt5.js → styles-DfdDKEGV.js} +33 -33
  126. package/dist/templatical-editor.js +4 -4
  127. package/dist/{text-align-start-DG3aAH7Y.js → text-align-end-BPOHCD7K.js} +11 -11
  128. package/dist/{trash-2-424iqbpN.js → trash-2-VyX2kcG0.js} +1 -1
  129. package/dist/{triangle-alert-DWQySIE2.js → triangle-alert-HIqW9Hwv.js} +1 -1
  130. package/dist/{useAliveFlag-D8GoB4VE.js → useAliveFlag-t3e0dokQ.js} +1 -1
  131. package/dist/{useCloudI18n-BPUHj2CZ.js → useCloudI18n-oETj4WiF.js} +2 -2
  132. package/dist/{useEditorCore-DnCOsekL.js → useEditorCore-YaOoz7QB.js} +37 -31
  133. package/dist/{useI18n-CWX9ZTCW.js → useI18n-tMHqPsE4.js} +2 -2
  134. package/dist/{useMergeTag-B3F9VR04.js → useMergeTag-Bv8ASt6n.js} +2 -2
  135. package/dist/usePopoverRoot-Bs6kLsI3.js +8 -0
  136. package/dist/{vue.runtime.esm-bundler-Bxqkjqhc.js → vue.runtime.esm-bundler-xiAB6UTz.js} +15 -12
  137. package/dist/{x-Dlaenqta.js → x-C1j-AamY.js} +1 -1
  138. package/package.json +33 -34
  139. package/dist/cdn/chunks/draggable-P6QWzy4g.js.map +0 -1
  140. package/dist/cdn/chunks/features-BsW4aFcn.js.map +0 -1
  141. package/dist/cdn/chunks/liquid.browser-lQbkge2E.js.map +0 -1
  142. package/dist/cdn/chunks/quality-BDr54nMA.js +0 -1878
  143. package/dist/cdn/chunks/quality-BDr54nMA.js.map +0 -1
  144. package/dist/cdn/chunks/tiptap-BwTCLVWl.js.map +0 -1
  145. package/dist/dist-BYt3jdCR.js +0 -5
  146. package/dist/dist-CfQPBf15.js +0 -5
  147. package/dist/usePopoverRoot-BKJcxsst.js +0 -8
@@ -1,5 +1,5 @@
1
1
  import { n as e, r as t } from "./rolldown-runtime-C266TIVP.js";
2
- import { $ as n, A as r, B as i, C as a, F as o, G as s, H as c, J as l, K as u, L as d, M as f, N as p, O as m, P as h, Q as g, S as _, T as v, U as y, V as b, X as x, Y as S, Z as C, a as w, at as T, b as E, c as D, ct as O, d as ee, et as te, f as k, g as A, h as j, it as M, k as ne, l as N, m as P, n as re, nt as F, o as ie, ot as ae, p as I, rt as oe, s as se, st as L, t as ce, u as R, v as z, w as le, x as B, y as V, z as H } from "./draggable-P6QWzy4g.js";
2
+ import { $ as n, A as r, B as i, C as a, F as o, G as s, H as c, J as l, K as u, L as d, M as f, N as p, O as m, P as h, Q as g, S as _, T as v, U as y, V as b, X as x, Y as S, Z as C, a as w, at as T, b as E, c as D, ct as O, d as ee, et as te, f as k, g as A, h as j, it as M, k as ne, l as N, m as P, n as re, nt as F, o as ie, ot as ae, p as I, rt as oe, s as se, st as L, t as ce, u as R, v as z, w as le, x as B, y as V, z as H } from "./draggable-CLpL3kf8.js";
3
3
  //#region src/constants/timeouts.ts
4
4
  var ue = 3e4, de = 4e3, fe = 5e3, pe = {
5
5
  1: 36,
@@ -394,6 +394,7 @@ function bt(e, t) {
394
394
  //#endregion
395
395
  //#region ../types/src/config.ts
396
396
  var xt = class extends Error {
397
+ statusCode;
397
398
  constructor(e, t) {
398
399
  super(e), this.statusCode = t, this.name = "SdkError";
399
400
  }
@@ -794,7 +795,7 @@ function Nt(e, t) {
794
795
  };
795
796
  }
796
797
  //#endregion
797
- //#region ../../node_modules/.pnpm/@vueuse+shared@14.2.1_vue@3.5.33_typescript@6.0.3_/node_modules/@vueuse/shared/dist/index.js
798
+ //#region ../../node_modules/.pnpm/@vueuse+shared@14.3.0_vue@3.5.34_typescript@6.0.3_/node_modules/@vueuse/shared/dist/index.js
798
799
  function Pt(e, t) {
799
800
  return s() ? (l(e, t), !0) : !1;
800
801
  }
@@ -821,7 +822,7 @@ var It = /* @__PURE__ */ new WeakMap(), Lt = (...e) => {
821
822
  return n && It.has(n) && t in It.get(n) ? It.get(n)[t] : v(...e);
822
823
  }, Rt = typeof window < "u" && typeof document < "u";
823
824
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
824
- var zt = (e) => e != null, Bt = Object.prototype.toString, Vt = (e) => Bt.call(e) === "[object Object]", Ht = () => {}, Ut = (e, t) => Object.prototype.hasOwnProperty.call(e, t), Wt = /* @__PURE__ */ Gt();
825
+ var zt = (e) => e != null, Bt = Object.prototype.toString, Vt = (e) => Bt.call(e) === "[object Object]", Ht = () => {}, Ut = (e, t) => Object.hasOwn(e, t), Wt = /* @__PURE__ */ Gt();
825
826
  function Gt() {
826
827
  var e, t;
827
828
  return Rt && !!(!((e = window) == null || (e = e.navigator) == null) && e.userAgent) && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || ((t = window) == null || (t = t.navigator) == null ? void 0 : t.maxTouchPoints) > 2 && /iPad|Macintosh/.test(window?.navigator.userAgent));
@@ -947,7 +948,7 @@ function sn(e, t, n) {
947
948
  });
948
949
  }
949
950
  //#endregion
950
- //#region ../../node_modules/.pnpm/@vueuse+core@14.2.1_vue@3.5.33_typescript@6.0.3_/node_modules/@vueuse/core/dist/index.js
951
+ //#region ../../node_modules/.pnpm/@vueuse+core@14.3.0_vue@3.5.34_typescript@6.0.3_/node_modules/@vueuse/core/dist/index.js
951
952
  var cn = Rt ? window : void 0, ln = Rt ? window.document : void 0, un = Rt ? window.navigator : void 0;
952
953
  function K(e) {
953
954
  let t = F(e);
@@ -1023,8 +1024,9 @@ function fn(e, t, n = {}) {
1023
1024
  }, { passive: !0 }),
1024
1025
  o && q(r, "blur", (n) => {
1025
1026
  setTimeout(() => {
1026
- let i = K(e);
1027
- r.document.activeElement?.tagName === "IFRAME" && !i?.contains(r.document.activeElement) && t(n);
1027
+ let i = K(e), a = r.document.activeElement;
1028
+ for (; a?.shadowRoot;) a = a.shadowRoot.activeElement;
1029
+ a?.tagName === "IFRAME" && !i?.contains(r.document.activeElement) && t(n);
1028
1030
  }, 0);
1029
1031
  }, { passive: !0 })
1030
1032
  ].filter(Boolean), h = () => m.forEach((e) => e());
@@ -1113,44 +1115,56 @@ function yn(e, t = {}) {
1113
1115
  } : c;
1114
1116
  }
1115
1117
  function bn(e = {}) {
1116
- let { navigator: t = un, read: r = !1, source: i, copiedDuring: a = 1500, legacy: o = !1 } = e, s = /* @__PURE__ */ mn(() => t && "clipboard" in t), c = yn("clipboard-read"), l = yn("clipboard-write"), u = k(() => s.value || o), d = n(""), f = n(!1), p = rn(() => f.value = !1, a, { immediate: !1 });
1117
- async function m() {
1118
- let e = !(s.value && v(c.value));
1118
+ let { navigator: t = un, read: r = !1, source: i, copiedDuring: a = 1500, legacy: o = !1 } = e, s = /* @__PURE__ */ mn(() => t && "clipboard" in t), c = yn("clipboard-read"), l = yn("clipboard-write"), u = k(() => s.value || o), d = n(""), f = n(!1), p = n(!1), m = rn(() => f.value = !1, a, { immediate: !1 }), h = 0;
1119
+ async function _() {
1120
+ let e = !(s.value && S(c.value));
1119
1121
  if (!e) try {
1120
1122
  d.value = await t.clipboard.readText();
1121
1123
  } catch {
1122
1124
  e = !0;
1123
1125
  }
1124
- e && (d.value = _());
1125
- }
1126
- u.value && r && q(["copy", "cut"], m, { passive: !0 });
1127
- async function h(e = F(i)) {
1128
- if (u.value && e != null) {
1129
- let n = !(s.value && v(l.value));
1130
- if (!n) try {
1131
- await t.clipboard.writeText(e);
1126
+ e && (d.value = x());
1127
+ }
1128
+ u.value && r && q(["copy", "cut"], _, { passive: !0 });
1129
+ async function v(e) {
1130
+ let n = e ?? F(i);
1131
+ if (u.value && n != null) {
1132
+ p.value = !0;
1133
+ let e = !(s.value && S(l.value));
1134
+ if (!e) try {
1135
+ let e = y(n);
1136
+ await t.clipboard.write([e]);
1132
1137
  } catch {
1133
- n = !0;
1138
+ e = !0;
1139
+ }
1140
+ if (e) if (typeof n == "string") d.value = n, b(n);
1141
+ else {
1142
+ let e = ++h, t = await n();
1143
+ t != null && e === h && (d.value = t, b(t));
1134
1144
  }
1135
- n && g(e), d.value = e, f.value = !0, p.start();
1145
+ f.value = !0, m.start(), p.value = !1;
1136
1146
  }
1137
1147
  }
1138
- function g(e) {
1148
+ function y(e) {
1149
+ return typeof e == "string" ? (d.value = e, new ClipboardItem({ "text/plain": e })) : new ClipboardItem({ "text/plain": e().then((e = "") => (d.value = e, new Blob([e], { type: "text/plain" }))) });
1150
+ }
1151
+ function b(e) {
1139
1152
  let t = document.createElement("textarea");
1140
1153
  t.value = e, t.style.position = "absolute", t.style.opacity = "0", t.setAttribute("readonly", ""), document.body.appendChild(t), t.select(), document.execCommand("copy"), t.remove();
1141
1154
  }
1142
- function _() {
1155
+ function x() {
1143
1156
  var e, t;
1144
1157
  return ((e = document) == null || (t = e.getSelection) == null || (t = t.call(e)) == null ? void 0 : t.toString()) ?? "";
1145
1158
  }
1146
- function v(e) {
1159
+ function S(e) {
1147
1160
  return e === "granted" || e === "prompt";
1148
1161
  }
1149
1162
  return {
1163
+ copyPending: g(p),
1150
1164
  isSupported: u,
1151
- text: x(d),
1152
- copied: x(f),
1153
- copy: h
1165
+ text: g(d),
1166
+ copied: g(f),
1167
+ copy: v
1154
1168
  };
1155
1169
  }
1156
1170
  function xn(e, t = {}) {
@@ -1368,7 +1382,7 @@ function cr(e) {
1368
1382
  o || l();
1369
1383
  async function l() {
1370
1384
  try {
1371
- let t = await import("./quality-BDr54nMA.js").then((e) => e.t);
1385
+ let t = await import("./quality-Cytz80Z5.js").then((e) => e.t);
1372
1386
  if (c) return;
1373
1387
  a.value = {
1374
1388
  lintAccessibility: t.lintAccessibility,
@@ -1638,7 +1652,7 @@ function _r() {
1638
1652
  let t = s(e.customType);
1639
1653
  if (!t) return c("Block definition not found");
1640
1654
  try {
1641
- let { Liquid: n } = await import("./liquid.browser-lQbkge2E.js");
1655
+ let { Liquid: n } = await import("./liquid.browser-cpFt-Vmw.js");
1642
1656
  return await new n({
1643
1657
  strictVariables: !1,
1644
1658
  strictFilters: !1
@@ -1820,7 +1834,7 @@ function Mr() {
1820
1834
  return v(jr, {});
1821
1835
  }
1822
1836
  //#endregion
1823
- //#region ../../node_modules/.pnpm/@lucide+vue@1.14.0_vue@3.5.33_typescript@6.0.3_/node_modules/@lucide/vue/dist/esm/Icon.mjs
1837
+ //#region ../../node_modules/.pnpm/@lucide+vue@1.16.0_vue@3.5.34_typescript@6.0.3_/node_modules/@lucide/vue/dist/esm/Icon.mjs
1824
1838
  var Nr = ({ name: e, iconNode: t, absoluteStrokeWidth: n, "absolute-stroke-width": r, strokeWidth: i, "stroke-width": o, size: s, color: c, ...l }, { slots: u }) => {
1825
1839
  let { size: d, color: f, strokeWidth: p = 2, absoluteStrokeWidth: m = !1, class: h = "" } = Mr(), g = k(() => {
1826
1840
  let e = Tr(n) || Tr(r) || n === !0 || r === !0 || m === !0, t = i || o || p || Ar["stroke-width"];
@@ -1840,7 +1854,7 @@ var Nr = ({ name: e, iconNode: t, absoluteStrokeWidth: n, "absolute-stroke-width
1840
1854
  ...n,
1841
1855
  iconNode: t,
1842
1856
  name: e
1843
- }, r), Pr = X("bookmark", [["path", {
1857
+ }, r.default ? { default: r.default } : void 0), Pr = X("bookmark", [["path", {
1844
1858
  d: "M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z",
1845
1859
  key: "oz39mx"
1846
1860
  }]]), Fr = X("box", [
@@ -2894,13 +2908,16 @@ var ca = ["href"], la = ["src", "alt"], ua = ["src", "alt"], da = {
2894
2908
  e.alt && (t.alt = e.alt), r("update", t);
2895
2909
  }
2896
2910
  }
2897
- let u = k(() => ({ textAlign: n.block.align })), d = k(() => ({
2898
- maxWidth: "100%",
2899
- width: n.block.width === "full" ? "100%" : `${n.block.width}px`,
2900
- display: "block",
2901
- margin: n.block.align === "center" ? "0 auto" : void 0,
2902
- marginLeft: n.block.align === "right" ? "auto" : void 0
2903
- })), p = k(() => _t(n.block.src, a));
2911
+ let u = k(() => ({ textAlign: n.block.align })), d = k(() => {
2912
+ let e = n.block.align;
2913
+ return {
2914
+ maxWidth: "100%",
2915
+ width: n.block.width === "full" ? "100%" : `${n.block.width}px`,
2916
+ display: "block",
2917
+ marginLeft: e === "center" || e === "right" ? "auto" : void 0,
2918
+ marginRight: e === "center" ? "auto" : void 0
2919
+ };
2920
+ }), p = k(() => _t(n.block.src, a));
2904
2921
  return (t, n) => (f(), A("div", {
2905
2922
  class: "tpl:w-full",
2906
2923
  style: L(u.value)
@@ -3101,7 +3118,7 @@ var Aa = ["innerHTML"], ja = /* @__PURE__ */ B({
3101
3118
  viewport: {}
3102
3119
  },
3103
3120
  setup(e) {
3104
- let t = e, n = E(() => import("./ParagraphEditor-BtzinrI_.js")), { isEditing: r, blockRef: i, toolbarPosition: a, resolvedContent: o, handleDoubleClick: s, handleEditorDone: c } = ka(() => t.block.content);
3121
+ let t = e, n = E(() => import("./ParagraphEditor-DfKVmv1W.js")), { isEditing: r, blockRef: i, toolbarPosition: a, resolvedContent: o, handleDoubleClick: s, handleEditorDone: c } = ka(() => t.block.content);
3105
3122
  return (t, l) => (f(), A("div", {
3106
3123
  ref_key: "blockRef",
3107
3124
  ref: i,
@@ -3165,7 +3182,7 @@ var Pa = ["data-block-id", "data-block-type"], Fa = ["aria-label"], Ia = [
3165
3182
  },
3166
3183
  emits: ["select"],
3167
3184
  setup(e, { emit: t }) {
3168
- let n = E(() => import("./BlockIssueBadge-D0_mYpkl.js")), r = e, i = t, { t: a, format: s } = Y(), c = v(Zn, null), l = C(null), u = k(() => c?.liftedBlockId.value === r.block.id), d = k(() => u.value ? s(a.blockActions.dragLifted, { block: r.block.type }) : a.blockActions.drag);
3185
+ let n = E(() => import("./BlockIssueBadge-CYoY-wyI.js")), r = e, i = t, { t: a, format: s } = Y(), c = v(Zn, null), l = C(null), u = k(() => c?.liftedBlockId.value === r.block.id), d = k(() => u.value ? s(a.blockActions.dragLifted, { block: r.block.type }) : a.blockActions.drag);
3169
3186
  async function p() {
3170
3187
  await m(), l.value?.focus();
3171
3188
  }
@@ -3317,7 +3334,7 @@ var Ja = /* @__PURE__ */ B({
3317
3334
  viewport: {}
3318
3335
  },
3319
3336
  setup(e) {
3320
- let t = e, n = E(() => import("./TitleEditor-Bzsbpajt.js")), { isEditing: r, blockRef: i, toolbarPosition: a, resolvedContent: o, handleDoubleClick: s, handleEditorDone: c } = ka(() => t.block.content), l = k(() => {
3337
+ let t = e, n = E(() => import("./TitleEditor-C2p3SosJ.js")), { isEditing: r, blockRef: i, toolbarPosition: a, resolvedContent: o, handleDoubleClick: s, handleEditorDone: c } = ka(() => t.block.content), l = k(() => {
3321
3338
  let e = {
3322
3339
  fontSize: `${pe[t.block.level]}px`,
3323
3340
  color: t.block.color,
@@ -3814,13 +3831,16 @@ var So = ["src", "alt"], Co = {
3814
3831
  viewport: {}
3815
3832
  },
3816
3833
  setup(e) {
3817
- let t = e, { t: n } = Y(), { syntax: r } = Ii(), i = k(() => _t(t.block.url, r) || _t(t.block.thumbnailUrl, r)), a = k(() => i.value ? null : xo(t.block.url, t.block.thumbnailUrl)), o = k(() => ({ textAlign: t.block.align })), s = k(() => ({
3818
- maxWidth: "100%",
3819
- width: t.block.width === "full" ? "100%" : `${t.block.width}px`,
3820
- display: "block",
3821
- margin: t.block.align === "center" ? "0 auto" : void 0,
3822
- marginLeft: t.block.align === "right" ? "auto" : void 0
3823
- })), c = k(() => _t(t.block.url, r) ? t.block.url : t.block.thumbnailUrl);
3834
+ let t = e, { t: n } = Y(), { syntax: r } = Ii(), i = k(() => _t(t.block.url, r) || _t(t.block.thumbnailUrl, r)), a = k(() => i.value ? null : xo(t.block.url, t.block.thumbnailUrl)), o = k(() => ({ textAlign: t.block.align })), s = k(() => {
3835
+ let e = t.block.align;
3836
+ return {
3837
+ maxWidth: "100%",
3838
+ width: t.block.width === "full" ? "100%" : `${t.block.width}px`,
3839
+ display: "block",
3840
+ marginLeft: e === "center" || e === "right" ? "auto" : void 0,
3841
+ marginRight: e === "center" ? "auto" : void 0
3842
+ };
3843
+ }), c = k(() => _t(t.block.url, r) ? t.block.url : t.block.thumbnailUrl);
3824
3844
  return (t, r) => (f(), A("div", {
3825
3845
  class: "tpl:w-full",
3826
3846
  style: L(o.value)
@@ -3880,7 +3900,7 @@ var So = ["src", "alt"], Co = {
3880
3900
  table: vo,
3881
3901
  spacer: fo,
3882
3902
  html: oa,
3883
- countdown: E(() => import("./CountdownBlock-BEWsiqgw.js").then((e) => e.n))
3903
+ countdown: E(() => import("./CountdownBlock-BSEKrpZY.js").then((e) => e.n))
3884
3904
  };
3885
3905
  function Ao(e) {
3886
3906
  let { editor: t, config: n, translations: r, fontsManager: i } = e, { t: a, format: o } = Y(r);
@@ -4145,6 +4165,7 @@ var No = "/api/v1/projects/{project}/tenants/{tenant}", Q = `${No}/templates/{te
4145
4165
  "savedModules.update": `${Lo}/{savedModule}`,
4146
4166
  "savedModules.destroy": `${Lo}/{savedModule}`
4147
4167
  }, Ro = class {
4168
+ authManager;
4148
4169
  constructor(e) {
4149
4170
  this.authManager = e;
4150
4171
  }
@@ -7049,4 +7070,4 @@ var Ql = {
7049
7070
  //#endregion
7050
7071
  export { Ii as $, Qn as $t, Ao as A, me as An, Ir as At, Na as B, Vn as Bt, Ho as C, ve as Cn, Kr as Ct, Z as D, _e as Dn, Vr as Dt, $ as E, Ce as En, Ur as Et, $a as F, be as Fn, Y as Ft, sa as G, Hn as Gt, ja as H, or as Ht, to as I, pe as In, nr as It, $i as J, Ln as Jt, oa as K, Jn as Kt, Qa as L, de as Ln, Yn as Lt, vo as M, Se as Mn, wr as Mt, fo as N, Te as Nn, gr as Nt, jo as O, we as On, zr as Ot, co as P, he as Pn, lr as Pt, Li as Q, ar as Qt, Ja as R, fe as Rn, tr as Rt, Ko as S, W as Sn, qr as St, Ro as T, ye as Tn, Wr as Tt, Sa as U, rr as Ut, Ma as V, Xn as Vt, va as W, In as Wt, Hi as X, qn as Xt, Wi as Y, Wn as Yt, Ri as Z, ir as Zt, ns as _, ht as _n, ni as _t, Al as a, xn as an, bi as at, Yo as b, st as bn, $r as bt, zs as c, wn as cn, hi as ct, cs as d, rn as dn, di as dt, Rn as en, Pi as et, ss as f, Mt as fn, ui as ft, rs as g, yt as gn, ri as gt, is as h, _t as hn, ii as ht, Ml as i, bn as in, wi as it, Oo as j, xe as jn, X as jt, Mo as k, ge as kn, Lr as kt, ms as l, $t as ln, mi as lt, as as m, lt as mn, si as mt, ku as n, J as nn, Mi as nt, Ol as o, q as on, vi as ot, os as p, Ct as pn, li as pt, ta as q, Nn as qt, Kl as r, fn as rn, Ti as rt, $c as s, Dn as sn, gi as st, Gu as t, zn as tn, Fi as tt, ps as u, nn as un, pi as ut, ts as v, vt as vn, ti as vt, zo as w, Ee as wn, Gr as wt, qo as x, ot as xn, Qr as xt, Xo as y, ct as yn, ei as yt, Ka as z, ue as zn, Bn as zt };
7051
7072
 
7052
- //# sourceMappingURL=features-BsW4aFcn.js.map
7073
+ //# sourceMappingURL=features-BOcQhi9B.js.map