@templatical/editor 0.10.0 → 0.10.2

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 (138) hide show
  1. package/dist/{AiChatSidebar-D30WPhbv.js → AiChatSidebar-BMwpZx-6.js} +14 -14
  2. package/dist/{AiFeatureMenu-B5CJX5zr.js → AiFeatureMenu-xgaIGUCo.js} +8 -8
  3. package/dist/{BlockIssueBadge-CkB4Yyz2.js → BlockIssueBadge-3kNs6WoD.js} +5 -5
  4. package/dist/{CloudEditor-nT-R769W.js → CloudEditor-Dm9hiaui.js} +159 -156
  5. package/dist/{CollaboratorBar-CwhlXODK.js → CollaboratorBar-Cz_evoU4.js} +4 -4
  6. package/dist/{CommentsSidebar-gpZMMI5w.js → CommentsSidebar-jFZj_CTo.js} +13 -13
  7. package/dist/{CountdownBlock-BNvuXucv.js → CountdownBlock-S-SCyVye.js} +4 -4
  8. package/dist/{CountdownToolbar-Dl82DAmI.js → CountdownToolbar-Ckdo-3P-.js} +3 -3
  9. package/dist/{DesignReferenceSidebar-Bs5AMxVd.js → DesignReferenceSidebar-B9QNPZNV.js} +10 -10
  10. package/dist/{IssuesPanel-CqQa2BtU.js → IssuesPanel-_E_fbSM8.js} +8 -8
  11. package/dist/{LoadingTrack-xCOLUR3o.js → LoadingTrack-BZ5KJyZ_.js} +2 -2
  12. package/dist/{ModuleBrowserModal-BWWgF0LC.js → ModuleBrowserModal-BB22urqi.js} +10 -10
  13. package/dist/{ModulePreviewCanvas-D7Tk5HOt.js → ModulePreviewCanvas-CH5OdXv8.js} +3 -3
  14. package/dist/{NumberWithSuffix-DVy5HxMi.js → NumberWithSuffix-BHDXHMpo.js} +3 -3
  15. package/dist/{ParagraphEditor-DVSGdMOo.js → ParagraphEditor-BmY7LLgN.js} +26 -26
  16. package/dist/{RichTextEditorContent-DN-fRjMa.js → RichTextEditorContent-COijbaWp.js} +8 -8
  17. package/dist/{SaveModuleDialog-CkEYkyVD.js → SaveModuleDialog-D5WN-je_.js} +7 -7
  18. package/dist/{SnapshotHistory-Nx9wrlbF.js → SnapshotHistory-BQ55Rhri.js} +9 -9
  19. package/dist/{TemplateScoringPanel-BG9M-29t.js → TemplateScoringPanel-Dhf_Qgr7.js} +15 -15
  20. package/dist/{TestEmailModal-CRjtEs6S.js → TestEmailModal-DH_Viz_m.js} +5 -5
  21. package/dist/{TitleEditor-CvtV4pCA.js → TitleEditor-Dn613K8o.js} +12 -12
  22. package/dist/{TplModal-BudEYVcJ.js → TplModal-Dxa3rhHI.js} +4 -4
  23. package/dist/{blockTypeIcons-Dd-UvfnC.js → blockTypeIcons-CrcSCTD6.js} +2 -2
  24. package/dist/bundle-stats.json +6 -6
  25. package/dist/cdn/chunks/{AiFeatureMenu-DKOv8VnB.js → AiFeatureMenu-CCsgxyN9.js} +4 -4
  26. package/dist/cdn/chunks/{AiFeatureMenu-DKOv8VnB.js.map → AiFeatureMenu-CCsgxyN9.js.map} +1 -1
  27. package/dist/cdn/chunks/{BlockIssueBadge-DpiSTwM7.js → BlockIssueBadge-Lc3NWFV8.js} +3 -3
  28. package/dist/cdn/chunks/{BlockIssueBadge-DpiSTwM7.js.map → BlockIssueBadge-Lc3NWFV8.js.map} +1 -1
  29. package/dist/cdn/chunks/{CloudEditor-xc_uOEgn.js → CloudEditor-KkwvBhyt.js} +131 -128
  30. package/dist/cdn/chunks/CloudEditor-KkwvBhyt.js.map +1 -0
  31. package/dist/cdn/chunks/{CollaboratorBar-VWfPri_h.js → CollaboratorBar-BGIGiFSm.js} +4 -4
  32. package/dist/cdn/chunks/{CollaboratorBar-VWfPri_h.js.map → CollaboratorBar-BGIGiFSm.js.map} +1 -1
  33. package/dist/cdn/chunks/{CountdownBlock-BKsCWboK.js → CountdownBlock-gqnpxKp_.js} +4 -4
  34. package/dist/cdn/chunks/{CountdownBlock-BKsCWboK.js.map → CountdownBlock-gqnpxKp_.js.map} +1 -1
  35. package/dist/cdn/chunks/{CountdownToolbar-BLtECDNb.js → CountdownToolbar-xHpaWQE2.js} +4 -4
  36. package/dist/cdn/chunks/{CountdownToolbar-BLtECDNb.js.map → CountdownToolbar-xHpaWQE2.js.map} +1 -1
  37. package/dist/cdn/chunks/{IssuesPanel-BW2piyvs.js → IssuesPanel-DHTTHu65.js} +4 -4
  38. package/dist/cdn/chunks/{IssuesPanel-BW2piyvs.js.map → IssuesPanel-DHTTHu65.js.map} +1 -1
  39. package/dist/cdn/chunks/{ModuleBrowserModal-TLlKpvjX.js → ModuleBrowserModal-DDTjrKph.js} +6 -6
  40. package/dist/cdn/chunks/{ModuleBrowserModal-TLlKpvjX.js.map → ModuleBrowserModal-DDTjrKph.js.map} +1 -1
  41. package/dist/cdn/chunks/{ModulePreviewCanvas-wu7y-vrh.js → ModulePreviewCanvas-DeFq0hVi.js} +3 -3
  42. package/dist/cdn/chunks/{ModulePreviewCanvas-wu7y-vrh.js.map → ModulePreviewCanvas-DeFq0hVi.js.map} +1 -1
  43. package/dist/cdn/chunks/{NumberWithSuffix-DxoUtTMr.js → NumberWithSuffix-D4wtmU9O.js} +3 -3
  44. package/dist/cdn/chunks/{NumberWithSuffix-DxoUtTMr.js.map → NumberWithSuffix-D4wtmU9O.js.map} +1 -1
  45. package/dist/cdn/chunks/{ParagraphEditor-DvxIO2LN.js → ParagraphEditor-CwY8GeWa.js} +20 -20
  46. package/dist/cdn/chunks/{ParagraphEditor-DvxIO2LN.js.map → ParagraphEditor-CwY8GeWa.js.map} +1 -1
  47. package/dist/cdn/chunks/{RichTextEditorContent-Dm9GXJmo.js → RichTextEditorContent-C_bMURGF.js} +5 -5
  48. package/dist/cdn/chunks/{RichTextEditorContent-Dm9GXJmo.js.map → RichTextEditorContent-C_bMURGF.js.map} +1 -1
  49. package/dist/cdn/chunks/{SaveModuleDialog-BRAdVcYM.js → SaveModuleDialog-DEi8PSP6.js} +3 -3
  50. package/dist/cdn/chunks/{SaveModuleDialog-BRAdVcYM.js.map → SaveModuleDialog-DEi8PSP6.js.map} +1 -1
  51. package/dist/cdn/chunks/{TitleEditor-D3gPRd0x.js → TitleEditor-Betpo8AZ.js} +9 -9
  52. package/dist/cdn/chunks/{TitleEditor-D3gPRd0x.js.map → TitleEditor-Betpo8AZ.js.map} +1 -1
  53. package/dist/cdn/chunks/{blockTypeIcons-C2cm4RjU.js → blockTypeIcons-Xz6OBq3U.js} +3 -3
  54. package/dist/cdn/chunks/{blockTypeIcons-C2cm4RjU.js.map → blockTypeIcons-Xz6OBq3U.js.map} +1 -1
  55. package/dist/cdn/chunks/{draggable-BwWMFq33.js → draggable-BTGr7_-X.js} +1271 -1270
  56. package/dist/cdn/chunks/draggable-BTGr7_-X.js.map +1 -0
  57. package/dist/cdn/chunks/{extensions-SS1ywPUR.js → extensions-D_j4UWxi.js} +108 -105
  58. package/dist/cdn/chunks/{extensions-SS1ywPUR.js.map → extensions-D_j4UWxi.js.map} +1 -1
  59. package/dist/cdn/chunks/{features-CwZTdcbt.js → features-A28DQtjE.js} +831 -820
  60. package/dist/cdn/chunks/features-A28DQtjE.js.map +1 -0
  61. package/dist/cdn/chunks/{icons-CbNEr1kc.js → icons-C9D3N0-J.js} +12 -12
  62. package/dist/cdn/chunks/{icons-CbNEr1kc.js.map → icons-C9D3N0-J.js.map} +1 -1
  63. package/dist/cdn/chunks/{liquid.browser-rMoPo2t_.js → liquid.browser-DUDc3U21.js} +10 -10
  64. package/dist/cdn/chunks/{liquid.browser-rMoPo2t_.js.map → liquid.browser-DUDc3U21.js.map} +1 -1
  65. package/dist/cdn/chunks/{media-library-BRpHZOl7.js → media-library-CH1Wx5wP.js} +13 -9
  66. package/dist/cdn/chunks/media-library-CH1Wx5wP.js.map +1 -0
  67. package/dist/cdn/chunks/pusher-CHo5Cua0.js.map +1 -1
  68. package/dist/cdn/chunks/{quality-BqJqIPRU.js → quality-D4NeyFej.js} +530 -530
  69. package/dist/cdn/chunks/{quality-BqJqIPRU.js.map → quality-D4NeyFej.js.map} +1 -1
  70. package/dist/cdn/chunks/{renderer-CGVYkdUi.js → renderer-BQnGfLhL.js} +62 -61
  71. package/dist/cdn/chunks/renderer-BQnGfLhL.js.map +1 -0
  72. package/dist/cdn/chunks/{src-CvzfrFlT.js → src-BkKEyLw1.js} +6 -6
  73. package/dist/cdn/chunks/{src-CvzfrFlT.js.map → src-BkKEyLw1.js.map} +1 -1
  74. package/dist/cdn/chunks/{styles-2P5yvfsS.js → styles-BDVaiw3K.js} +150 -150
  75. package/dist/cdn/chunks/{styles-2P5yvfsS.js.map → styles-BDVaiw3K.js.map} +1 -1
  76. package/dist/cdn/chunks/{tiptap-BBbH3IT9.js → tiptap-P5abGB13.js} +4437 -2580
  77. package/dist/cdn/chunks/tiptap-P5abGB13.js.map +1 -0
  78. package/dist/cdn/editor.css +1 -1
  79. package/dist/cdn/editor.js +100 -100
  80. package/dist/cdn/editor.js.map +1 -1
  81. package/dist/{check-ChQyfxJ3.js → check-KooI2jyS.js} +1 -1
  82. package/dist/{chevron-down-DJjo0jSV.js → chevron-down-mnlFgueW.js} +1 -1
  83. package/dist/{circle-alert-CPH6l3Lc.js → circle-alert-D89_hB8j.js} +1 -1
  84. package/dist/{clock-DHl_BIkU.js → clock-BaadyUrg.js} +1 -1
  85. package/dist/{cloud-BBC7bv8q.js → cloud-D-FScaHx.js} +80 -74
  86. package/dist/{createLucideIcon-XgXOJ05E.js → createLucideIcon-D-6fpD2L.js} +3 -3
  87. package/dist/{dist-DXaxGLsw.js → dist-BttO3Zdx.js} +44 -44
  88. package/dist/{dist-C8wMh_gi.js → dist-C1WcikEF.js} +5 -5
  89. package/dist/dist-CjULgTep.js +4072 -0
  90. package/dist/{dist-GAmhYvUK.js → dist-D6L_WdRL.js} +96 -86
  91. package/dist/{dist-DYO-w_Jf.js → dist-DaajG7Fo.js} +5 -5
  92. package/dist/dist-Df4eV6Zi.js +5 -0
  93. package/dist/{dist-D8C6jIXM.js → dist-Dnqx5UF3.js} +171 -158
  94. package/dist/{dist-CUpJmrjt.js → dist-Drp5bNAu.js} +5 -5
  95. package/dist/dist-WJ1fVd5b.js +5 -0
  96. package/dist/{dist-BxP6TB0l.js → dist-XA2i70J5.js} +8 -8
  97. package/dist/{dist-UK-lbEBc.js → dist-b52vYHb5.js} +2 -2
  98. package/dist/{dist-CNLAS2v2.js → dist-cl33Ip6W.js} +3 -3
  99. package/dist/{dist-C0jo8wtG.js → dist-sqf7pq5q.js} +16 -16
  100. package/dist/{dist-BzuC8o3y.js → dist-zInT3Lf6.js} +78 -60
  101. package/dist/{extensions-C87ZSllQ.js → extensions-DA-w1gVg.js} +128 -125
  102. package/dist/{image-up-CPBCOMit.js → image-up-DjwfAom6.js} +1 -1
  103. package/dist/{info-DIY9mguM.js → info-Db3HlTr8.js} +1 -1
  104. package/dist/{keys-Vt3XipJl.js → keys-BjmL5YCT.js} +1 -1
  105. package/dist/{liquid.browser-IgQrXHPQ.js → liquid.browser--qtl1Fqy.js} +9 -9
  106. package/dist/{list-checks-CSCyu3fH.js → list-checks-BlAB0X8a.js} +1 -1
  107. package/dist/{loader-circle-Rz_4vJLH.js → loader-circle-EVqyIxjU.js} +1 -1
  108. package/dist/{message-circle-D-umK_MU.js → message-circle-BuI5pBVG.js} +1 -1
  109. package/dist/{refresh-cw-CvWF4jfR.js → refresh-cw-C2vM_6zQ.js} +1 -1
  110. package/dist/{scan-line-wanvAFDr.js → scan-line-AUIh_SHI.js} +1 -1
  111. package/dist/{send-BhbhbIFT.js → send-nrbwF7xg.js} +1 -1
  112. package/dist/{shield-check-CXPPMWth.js → shield-check-B55Ozmva.js} +1 -1
  113. package/dist/{sparkles-CrUN0KWY.js → sparkles-oh1NUSFq.js} +1 -1
  114. package/dist/style.css +1 -1
  115. package/dist/{styles-DOjWbqA9.js → styles-Byhh107n.js} +41 -41
  116. package/dist/templatical-editor.js +81 -80
  117. package/dist/{text-align-end-Bkq8oBrD.js → text-align-start-B2MqzZwU.js} +11 -11
  118. package/dist/{trash-2-BpY5BCLT.js → trash-2-DH8RBwAx.js} +1 -1
  119. package/dist/{triangle-alert-MwJBKR2e.js → triangle-alert-BQHjCt3B.js} +1 -1
  120. package/dist/{useAliveFlag-BLyG8L4d.js → useAliveFlag-B_b9ubwD.js} +1 -1
  121. package/dist/{useCloudI18n-sRfoQCZY.js → useCloudI18n-BHCrmQgj.js} +2 -2
  122. package/dist/{useEditorCore-DxApq2hZ.js → useEditorCore-BEgc3KFu.js} +370 -377
  123. package/dist/{useI18n-lF6hYgZu.js → useI18n-Bb9-ha9X.js} +2 -2
  124. package/dist/{useMergeTag-CZVI7Xe5.js → useMergeTag-HykzEtBn.js} +3 -3
  125. package/dist/usePopoverRoot-BZDkRRry.js +8 -0
  126. package/dist/{vue.runtime.esm-bundler-BDSGA5hA.js → vue.runtime.esm-bundler-MzYCkFSH.js} +1306 -1305
  127. package/dist/{x-rcnxRG8Y.js → x-DgCCENgP.js} +1 -1
  128. package/package.json +27 -27
  129. package/dist/cdn/chunks/CloudEditor-xc_uOEgn.js.map +0 -1
  130. package/dist/cdn/chunks/draggable-BwWMFq33.js.map +0 -1
  131. package/dist/cdn/chunks/features-CwZTdcbt.js.map +0 -1
  132. package/dist/cdn/chunks/media-library-BRpHZOl7.js.map +0 -1
  133. package/dist/cdn/chunks/renderer-CGVYkdUi.js.map +0 -1
  134. package/dist/cdn/chunks/tiptap-BBbH3IT9.js.map +0 -1
  135. package/dist/dist-BDgf2G-V.js +0 -2243
  136. package/dist/dist-D5lmdi1F.js +0 -5
  137. package/dist/dist-DILjuzSv.js +0 -5
  138. package/dist/usePopoverRoot-p2BanBI7.js +0 -8
@@ -1,7 +1,7 @@
1
- import { A as e, M as t, b as n, d as r, f as i, h as a, l as o, m as s, ot as c, p as l, rt as u, st as d } from "./vue.runtime.esm-bundler-BDSGA5hA.js";
2
- import "./useEditorCore-DxApq2hZ.js";
3
- import { t as f } from "./createLucideIcon-XgXOJ05E.js";
4
- import { n as p } from "./useCloudI18n-sRfoQCZY.js";
1
+ import { A as e, M as t, b as n, d as r, f as i, h as a, l as o, m as s, ot as c, p as l, rt as u, st as d } from "./vue.runtime.esm-bundler-MzYCkFSH.js";
2
+ import "./useEditorCore-BEgc3KFu.js";
3
+ import { t as f } from "./createLucideIcon-D-6fpD2L.js";
4
+ import { n as p } from "./useCloudI18n-BHCrmQgj.js";
5
5
  import { t as m } from "./readableTextColor-f8Kykfnh.js";
6
6
  var h = f("wifi-off", [
7
7
  ["path", {
@@ -1,16 +1,16 @@
1
- import { A as e, B as t, E as n, L as r, M as i, X as a, _ as ee, a as o, at as s, b as c, d as l, f as u, h as d, l as f, m as p, ot as te, p as m, rt as h, st as g, t as _, v, z as y } from "./vue.runtime.esm-bundler-BDSGA5hA.js";
2
- import { M as b, l as ne, m as re, r as ie } from "./keys-Vt3XipJl.js";
3
- import { t as ae } from "./useI18n-lF6hYgZu.js";
4
- import { t as x } from "./createLucideIcon-XgXOJ05E.js";
5
- import { t as oe } from "./check-ChQyfxJ3.js";
6
- import { t as se } from "./chevron-down-DJjo0jSV.js";
7
- import { t as S } from "./loader-circle-Rz_4vJLH.js";
8
- import { t as C } from "./message-circle-D-umK_MU.js";
9
- import { t as w } from "./send-BhbhbIFT.js";
10
- import { t as T } from "./trash-2-BpY5BCLT.js";
11
- import { t as E } from "./x-rcnxRG8Y.js";
1
+ import { A as e, B as t, E as n, L as r, M as i, X as a, _ as ee, a as o, at as s, b as c, d as l, f as u, h as d, l as f, m as p, ot as te, p as m, rt as h, st as g, t as _, v, z as y } from "./vue.runtime.esm-bundler-MzYCkFSH.js";
2
+ import { M as b, l as ne, m as re, r as ie } from "./keys-BjmL5YCT.js";
3
+ import { t as ae } from "./useI18n-Bb9-ha9X.js";
4
+ import { t as x } from "./createLucideIcon-D-6fpD2L.js";
5
+ import { t as oe } from "./check-KooI2jyS.js";
6
+ import { t as se } from "./chevron-down-mnlFgueW.js";
7
+ import { t as S } from "./loader-circle-EVqyIxjU.js";
8
+ import { t as C } from "./message-circle-BuI5pBVG.js";
9
+ import { t as w } from "./send-nrbwF7xg.js";
10
+ import { t as T } from "./trash-2-DH8RBwAx.js";
11
+ import { t as E } from "./x-DgCCENgP.js";
12
12
  import { t as D } from "./_plugin-vue_export-helper-B3ysoDQm.js";
13
- import { n as ce } from "./useCloudI18n-sRfoQCZY.js";
13
+ import { n as ce } from "./useCloudI18n-BHCrmQgj.js";
14
14
  import { t as le } from "./formatRelativeTime-CyDg5cDD.js";
15
15
  var ue = x("chevron-up", [["path", {
16
16
  d: "m18 15-6-6-6 6",
@@ -95,7 +95,7 @@ var ue = x("chevron-up", [["path", {
95
95
  }, _t = {
96
96
  key: 1,
97
97
  class: "tpl-comments-input-wrapper tpl:flex tpl:min-h-[68px] tpl:items-end tpl:gap-2 tpl:rounded-[var(--tpl-radius)] tpl:border tpl:px-3 tpl:py-2 tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]"
98
- }, vt = ["placeholder", "disabled"], yt = ["disabled"], k = /* @__PURE__ */ D(/* @__PURE__ */ c({
98
+ }, vt = ["placeholder", "disabled"], yt = ["disabled"], k = /*#__PURE__*/ D(/* @__PURE__ */ c({
99
99
  __name: "CommentsSidebar",
100
100
  props: { visible: { type: Boolean } },
101
101
  emits: ["close", "filterBlock"],
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { A as t, M as n, X as r, b as i, d as a, f as o, h as s, l as c, m as l, ot as u, rt as d, st as f } from "./vue.runtime.esm-bundler-BDSGA5hA.js";
3
- import { s as p } from "./dist-CNLAS2v2.js";
4
- import { t as m } from "./useI18n-lF6hYgZu.js";
2
+ import { A as t, M as n, X as r, b as i, d as a, f as o, h as s, l as c, m as l, ot as u, rt as d, st as f } from "./vue.runtime.esm-bundler-MzYCkFSH.js";
3
+ import { s as p } from "./dist-cl33Ip6W.js";
4
+ import { t as m } from "./useI18n-Bb9-ha9X.js";
5
5
  //#region src/components/blocks/CountdownBlock.vue?vue&type=script&setup=true&lang.ts
6
6
  var h = {
7
7
  key: 0,
@@ -9,7 +9,7 @@ var h = {
9
9
  }, g = {
10
10
  key: 1,
11
11
  class: "tpl:flex tpl:items-center tpl:justify-center tpl:py-4 tpl:text-xs tpl:text-[var(--tpl-text-dim)] tpl:opacity-50"
12
- }, _ = { class: "tpl:text-center" }, v = /* @__PURE__ */ i({
12
+ }, _ = { class: "tpl:text-center" }, v = /*@__PURE__*/ i({
13
13
  __name: "CountdownBlock",
14
14
  props: {
15
15
  block: {},
@@ -1,7 +1,7 @@
1
- import { A as e, M as t, _ as n, at as r, b as i, d as a, f as o, h as s, l as c, p as l, rt as u, st as d, v as f, z as p } from "./vue.runtime.esm-bundler-BDSGA5hA.js";
2
- import { t as m } from "./useI18n-lF6hYgZu.js";
1
+ import { A as e, M as t, _ as n, at as r, b as i, d as a, f as o, h as s, l as c, p as l, rt as u, st as d, v as f, z as p } from "./vue.runtime.esm-bundler-MzYCkFSH.js";
2
+ import { t as m } from "./useI18n-Bb9-ha9X.js";
3
3
  import { f as h } from "./styleConstants-lGobwiLH.js";
4
- import { i as g, n as _, r as v, t as y } from "./NumberWithSuffix-DVy5HxMi.js";
4
+ import { i as g, n as _, r as v, t as y } from "./NumberWithSuffix-BHDXHMpo.js";
5
5
  //#region src/components/toolbar/CheckboxItem.vue?vue&type=script&setup=true&lang.ts
6
6
  var b = { class: "tpl:flex tpl:cursor-pointer tpl:items-center tpl:gap-2 tpl:text-[12px] tpl:text-[var(--tpl-text)]" }, x = ["checked"], S = /* @__PURE__ */ i({
7
7
  __name: "CheckboxItem",
@@ -1,14 +1,14 @@
1
- import { A as e, B as t, D as n, L as r, X as i, _ as a, a as ee, at as te, b as o, d as ne, f as s, h as c, m as l, ot as u, p as re, rt as d, st as f, t as ie, v as p, z as ae } from "./vue.runtime.esm-bundler-BDSGA5hA.js";
1
+ import { A as e, B as t, D as n, L as r, X as i, _ as a, a as ee, at as te, b as o, d as ne, f as s, h as c, m as l, ot as u, p as re, rt as d, st as f, t as ie, v as p, z as ae } from "./vue.runtime.esm-bundler-MzYCkFSH.js";
2
2
  import "./timeouts-Bmi_yePw.js";
3
- import { M as m, m as oe, r as h } from "./keys-Vt3XipJl.js";
4
- import { t as g } from "./createLucideIcon-XgXOJ05E.js";
5
- import { t as se } from "./circle-alert-CPH6l3Lc.js";
6
- import { t as _ } from "./image-up-CPBCOMit.js";
7
- import { t as v } from "./x-rcnxRG8Y.js";
8
- import { t as ce } from "./LoadingTrack-xCOLUR3o.js";
3
+ import { M as m, m as oe, r as h } from "./keys-BjmL5YCT.js";
4
+ import { t as g } from "./createLucideIcon-D-6fpD2L.js";
5
+ import { t as se } from "./circle-alert-D89_hB8j.js";
6
+ import { t as _ } from "./image-up-DjwfAom6.js";
7
+ import { t as v } from "./x-DgCCENgP.js";
8
+ import { t as ce } from "./LoadingTrack-BZ5KJyZ_.js";
9
9
  import { t as y } from "./_plugin-vue_export-helper-B3ysoDQm.js";
10
- import { n as le } from "./useCloudI18n-sRfoQCZY.js";
11
- import { u as ue } from "./cloud-BBC7bv8q.js";
10
+ import { n as le } from "./useCloudI18n-BHCrmQgj.js";
11
+ import { u as ue } from "./cloud-D-FScaHx.js";
12
12
  var de = g("file-image", [
13
13
  ["path", {
14
14
  d: "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",
@@ -83,7 +83,7 @@ var de = g("file-image", [
83
83
  }, ge = { class: "tpl:text-xs tpl:leading-snug tpl:text-[var(--tpl-text)]" }, _e = { class: "tpl:flex tpl:gap-2" }, ve = {
84
84
  key: 1,
85
85
  class: "tpl:flex tpl:items-start tpl:gap-2 tpl:rounded-lg tpl:px-3 tpl:py-2 tpl:text-xs tpl:bg-[var(--tpl-danger-light)] tpl:text-[var(--tpl-danger)]"
86
- }, ye = ["disabled"], be = { class: "tpl:m-0 tpl:pt-1 tpl:text-center tpl:text-[11px] tpl:text-[var(--tpl-text-dim)]" }, z = /* @__PURE__ */ y(/* @__PURE__ */ o({
86
+ }, ye = ["disabled"], be = { class: "tpl:m-0 tpl:pt-1 tpl:text-center tpl:text-[11px] tpl:text-[var(--tpl-text-dim)]" }, z = /*#__PURE__*/ y(/* @__PURE__ */ o({
87
87
  __name: "DesignReferenceSidebar",
88
88
  props: {
89
89
  visible: { type: Boolean },
@@ -1,11 +1,11 @@
1
- import { A as e, F as t, M as n, _ as r, at as i, b as a, d as o, f as s, h as c, l, m as u, p as d, rt as f, st as p, v as m, w as h } from "./vue.runtime.esm-bundler-BDSGA5hA.js";
2
- import { O as g, m as _ } from "./keys-Vt3XipJl.js";
3
- import { t as v } from "./useI18n-lF6hYgZu.js";
4
- import { t as y } from "./createLucideIcon-XgXOJ05E.js";
5
- import { t as b } from "./circle-alert-CPH6l3Lc.js";
6
- import { t as x } from "./info-DIY9mguM.js";
7
- import { t as S } from "./list-checks-CSCyu3fH.js";
8
- import { t as C } from "./triangle-alert-MwJBKR2e.js";
1
+ import { A as e, F as t, M as n, _ as r, at as i, b as a, d as o, f as s, h as c, l, m as u, p as d, rt as f, st as p, v as m, w as h } from "./vue.runtime.esm-bundler-MzYCkFSH.js";
2
+ import { O as g, m as _ } from "./keys-BjmL5YCT.js";
3
+ import { t as v } from "./useI18n-Bb9-ha9X.js";
4
+ import { t as y } from "./createLucideIcon-D-6fpD2L.js";
5
+ import { t as b } from "./circle-alert-D89_hB8j.js";
6
+ import { t as x } from "./info-Db3HlTr8.js";
7
+ import { t as S } from "./list-checks-BlAB0X8a.js";
8
+ import { t as C } from "./triangle-alert-BQHjCt3B.js";
9
9
  var w = y("arrow-right", [["path", {
10
10
  d: "M5 12h14",
11
11
  key: "1ays0h"
@@ -1,10 +1,10 @@
1
- import { A as e, h as t } from "./vue.runtime.esm-bundler-BDSGA5hA.js";
1
+ import { A as e, h as t } from "./vue.runtime.esm-bundler-MzYCkFSH.js";
2
2
  import { t as n } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
3
  //#region src/components/LoadingTrack.vue
4
4
  var r = {}, i = { class: "tpl-loading-track" };
5
5
  function a(n, r) {
6
6
  return e(), t("div", i);
7
7
  }
8
- var o = /* @__PURE__ */ n(r, [["render", a], ["__scopeId", "data-v-1ed538ec"]]);
8
+ var o = /*#__PURE__*/ n(r, [["render", a], ["__scopeId", "data-v-1ed538ec"]]);
9
9
  //#endregion
10
10
  export { o as t };
@@ -1,12 +1,12 @@
1
- import { A as e, B as t, F as n, L as r, M as i, X as a, a as ee, b as o, c as s, d as c, f as l, h as u, i as te, l as d, m as ne, ot as re, p as f, rt as p, st as m, v as h, y as ie, z as ae } from "./vue.runtime.esm-bundler-BDSGA5hA.js";
2
- import "./useEditorCore-DxApq2hZ.js";
3
- import { E as oe, M as g, m as se } from "./keys-Vt3XipJl.js";
4
- import { t as ce } from "./useI18n-lF6hYgZu.js";
5
- import { n as le, r as _, t as v } from "./blockTypeIcons-Dd-UvfnC.js";
6
- import { t as ue } from "./trash-2-BpY5BCLT.js";
7
- import { t as de } from "./x-rcnxRG8Y.js";
8
- import { n as fe } from "./useCloudI18n-sRfoQCZY.js";
9
- import { t as pe } from "./TplModal-BudEYVcJ.js";
1
+ import { A as e, B as t, F as n, L as r, M as i, X as a, a as ee, b as o, c as s, d as c, f as l, h as u, i as te, l as d, m as ne, ot as re, p as f, rt as p, st as m, v as h, y as ie, z as ae } from "./vue.runtime.esm-bundler-MzYCkFSH.js";
2
+ import "./useEditorCore-BEgc3KFu.js";
3
+ import { E as oe, M as g, m as se } from "./keys-BjmL5YCT.js";
4
+ import { t as ce } from "./useI18n-Bb9-ha9X.js";
5
+ import { n as le, r as _, t as v } from "./blockTypeIcons-CrcSCTD6.js";
6
+ import { t as ue } from "./trash-2-DH8RBwAx.js";
7
+ import { t as de } from "./x-DgCCENgP.js";
8
+ import { n as fe } from "./useCloudI18n-BHCrmQgj.js";
9
+ import { t as pe } from "./TplModal-Dxa3rhHI.js";
10
10
  //#region src/cloud/components/ModuleBrowserModal.vue?vue&type=script&setup=true&lang.ts
11
11
  var me = {
12
12
  role: "dialog",
@@ -45,7 +45,7 @@ var me = {
45
45
  props: { visible: { type: Boolean } },
46
46
  emits: ["close", "insert"],
47
47
  setup(o, { emit: z }) {
48
- let Ee = o, B = z, De = ie(() => import("./ModulePreviewCanvas-D7Tk5HOt.js")), { t: Oe } = ce(), { t: V } = fe(), H = g(oe, "ModuleBrowserModal"), U = g(se, "ModuleBrowserModal"), W = a(""), G = a(null), K = a(null), q = a("end"), J = c(() => {
48
+ let Ee = o, B = z, De = ie(() => import("./ModulePreviewCanvas-CH5OdXv8.js")), { t: Oe } = ce(), { t: V } = fe(), H = g(oe, "ModuleBrowserModal"), U = g(se, "ModuleBrowserModal"), W = a(""), G = a(null), K = a(null), q = a("end"), J = c(() => {
49
49
  let e = H.modules.value;
50
50
  if (!W.value) return e;
51
51
  let t = W.value.toLowerCase();
@@ -1,6 +1,6 @@
1
- import { A as e, F as t, M as n, P as r, b as i, d as a, f as o, h as s, l as c, ot as l, p as u, rt as d, w as f } from "./vue.runtime.esm-bundler-BDSGA5hA.js";
2
- import { N as p, _ as m, a as h, f as g, g as _, h as v, i as y, m as b, n as x, p as S, r as C, u as w, v as T, y as E } from "./useEditorCore-DxApq2hZ.js";
3
- import { o as D } from "./keys-Vt3XipJl.js";
1
+ import { A as e, F as t, M as n, P as r, b as i, d as a, f as o, h as s, l as c, ot as l, p as u, rt as d, w as f } from "./vue.runtime.esm-bundler-MzYCkFSH.js";
2
+ import { N as p, _ as m, a as h, f as g, g as _, h as v, i as y, m as b, n as x, p as S, r as C, u as w, v as T, y as E } from "./useEditorCore-BEgc3KFu.js";
3
+ import { o as D } from "./keys-BjmL5YCT.js";
4
4
  //#region src/components/blocks/PreviewSectionBlock.vue?vue&type=script&setup=true&lang.ts
5
5
  var O = { class: "tpl:w-full" }, k = { class: "tpl:flex tpl:gap-0" }, A = /* @__PURE__ */ i({
6
6
  name: "PreviewSectionBlock",
@@ -1,6 +1,6 @@
1
- import { A as e, F as t, M as n, N as r, X as i, at as a, b as o, d as s, f as c, h as l, l as u, m as d, ot as f, p, rt as m, s as h, st as g, t as ee, v as _, z as te } from "./vue.runtime.esm-bundler-BDSGA5hA.js";
2
- import { t as v } from "./dist-CNLAS2v2.js";
3
- import { t as ne } from "./useI18n-lF6hYgZu.js";
1
+ import { A as e, F as t, M as n, N as r, X as i, at as a, b as o, d as s, f as c, h as l, l as u, m as d, ot as f, p, rt as m, s as h, st as g, t as ee, v as _, z as te } from "./vue.runtime.esm-bundler-MzYCkFSH.js";
2
+ import { t as v } from "./dist-cl33Ip6W.js";
3
+ import { t as ne } from "./useI18n-Bb9-ha9X.js";
4
4
  import { h as y, i as b, m as x, p as S, u as C } from "./styleConstants-lGobwiLH.js";
5
5
  //#region ../../node_modules/.pnpm/vanilla-colorful@0.7.2/node_modules/vanilla-colorful/lib/utils/math.js
6
6
  var w = (e, t = 0, n = 1) => e > n ? n : e < t ? t : e, T = (e, t = 0, n = 10 ** t) => Math.round(n * e) / n;
@@ -1,16 +1,16 @@
1
- import { A as e, F as t, G as n, M as r, X as i, _ as a, at as o, b as s, c, d as l, f as u, h as d, l as f, m as p, ot as m, p as h, rt as g, s as _, st as v, u as y, v as b, w as x } from "./vue.runtime.esm-bundler-BDSGA5hA.js";
2
- import { C as S, b as C, w } from "./useEditorCore-DxApq2hZ.js";
3
- import { t as T } from "./dist-CNLAS2v2.js";
4
- import { M as E, g as D, j as O, k, x as ee } from "./keys-Vt3XipJl.js";
5
- import { t as A } from "./useI18n-lF6hYgZu.js";
6
- import { t as j } from "./createLucideIcon-XgXOJ05E.js";
7
- import { a as te, i as M, n as N, r as ne, t as P } from "./RichTextEditorContent-DN-fRjMa.js";
8
- import { t as re } from "./loader-circle-Rz_4vJLH.js";
9
- import { t as ie } from "./scan-line-wanvAFDr.js";
10
- import { n as ae, r as oe, t as se } from "./text-align-end-Bkq8oBrD.js";
1
+ import { A as e, F as t, G as n, M as r, X as i, _ as a, at as o, b as s, c, d as l, f as u, h as d, l as f, m as p, ot as m, p as h, rt as g, s as _, st as v, u as y, v as b, w as x } from "./vue.runtime.esm-bundler-MzYCkFSH.js";
2
+ import { C as S, b as C, w } from "./useEditorCore-BEgc3KFu.js";
3
+ import { t as T } from "./dist-cl33Ip6W.js";
4
+ import { M as E, g as D, j as O, k, x as ee } from "./keys-BjmL5YCT.js";
5
+ import { t as A } from "./useI18n-Bb9-ha9X.js";
6
+ import { t as j } from "./createLucideIcon-D-6fpD2L.js";
7
+ import { a as te, i as M, n as N, r as ne, t as P } from "./RichTextEditorContent-COijbaWp.js";
8
+ import { t as re } from "./loader-circle-EVqyIxjU.js";
9
+ import { t as ie } from "./scan-line-AUIh_SHI.js";
10
+ import { n as ae, r as oe, t as se } from "./text-align-start-B2MqzZwU.js";
11
11
  import { t as F } from "./_plugin-vue_export-helper-B3ysoDQm.js";
12
12
  import { a as ce, o as le, s as I } from "./styleConstants-lGobwiLH.js";
13
- import { t as L } from "./usePopoverRoot-p2BanBI7.js";
13
+ import { t as L } from "./usePopoverRoot-BZDkRRry.js";
14
14
  var R = j("list-ordered", [
15
15
  ["path", {
16
16
  d: "M11 5h10",
@@ -243,7 +243,7 @@ var R = j("list-ordered", [
243
243
  function he(t, n) {
244
244
  return e(), d("span", me);
245
245
  }
246
- var Z = /* @__PURE__ */ F(pe, [["render", he]]), ge = [
246
+ var Z = /*#__PURE__*/ F(pe, [["render", he]]), ge = [
247
247
  "value",
248
248
  "aria-label",
249
249
  "title"
@@ -494,7 +494,7 @@ var Z = /* @__PURE__ */ F(pe, [["render", he]]), ge = [
494
494
  ]),
495
495
  b(Z),
496
496
  b(X, {
497
- icon: g(ae),
497
+ icon: g(se),
498
498
  label: g(w).paragraphEditor.alignLeft,
499
499
  active: t.editor.isActive({ textAlign: "left" }),
500
500
  onClick: r[11] ||= (e) => t.editor.chain().focus().setTextAlign("left").run()
@@ -514,7 +514,7 @@ var Z = /* @__PURE__ */ F(pe, [["render", he]]), ge = [
514
514
  "active"
515
515
  ]),
516
516
  b(X, {
517
- icon: g(se),
517
+ icon: g(ae),
518
518
  label: g(w).paragraphEditor.alignRight,
519
519
  active: t.editor.isActive({ textAlign: "right" }),
520
520
  onClick: r[13] ||= (e) => t.editor.chain().focus().setTextAlign("right").run()
@@ -587,18 +587,18 @@ var Z = /* @__PURE__ */ F(pe, [["render", he]]), ge = [
587
587
  editorName: "ParagraphEditor",
588
588
  async loadExtensions({ mergeTags: e, syntax: t, triggerChar: n, autocompleteEnabled: r, suggestionEmptyText: i }) {
589
589
  let [{ Editor: a, EditorContent: s }, { default: c }, { default: l }, { default: u }, { default: d }, { default: f }, { default: p }, { TextStyle: m }, { default: h }, { default: g }, { default: _ }, { MergeTagNode: v, MergeTagSuggestion: y, LogicMergeTagNode: b, FontSize: x, LineHeight: S, LetterSpacing: C }] = await Promise.all([
590
- import("./dist-D8C6jIXM.js").then((e) => e.r),
591
- import("./dist-BDgf2G-V.js"),
592
- import("./dist-DXaxGLsw.js"),
593
- import("./dist-DYO-w_Jf.js"),
594
- import("./dist-C8wMh_gi.js"),
595
- import("./dist-CUpJmrjt.js"),
596
- import("./dist-UK-lbEBc.js"),
597
- import("./dist-C0jo8wtG.js"),
598
- import("./dist-DILjuzSv.js"),
599
- import("./dist-D5lmdi1F.js"),
600
- import("./dist-BxP6TB0l.js"),
601
- import("./extensions-C87ZSllQ.js")
590
+ import("./dist-Dnqx5UF3.js").then((e) => e.r),
591
+ import("./dist-CjULgTep.js"),
592
+ import("./dist-BttO3Zdx.js"),
593
+ import("./dist-DaajG7Fo.js"),
594
+ import("./dist-C1WcikEF.js"),
595
+ import("./dist-Drp5bNAu.js"),
596
+ import("./dist-b52vYHb5.js"),
597
+ import("./dist-sqf7pq5q.js"),
598
+ import("./dist-Df4eV6Zi.js"),
599
+ import("./dist-WJ1fVd5b.js"),
600
+ import("./dist-XA2i70J5.js"),
601
+ import("./extensions-DA-w1gVg.js")
602
602
  ]);
603
603
  return {
604
604
  TiptapEditor: a,
@@ -1,9 +1,9 @@
1
- import { A as e, B as t, F as n, I as r, T as i, _ as a, a as o, b as s, c, f as l, h as u, m as d, ot as f, p, rt as m, st as h, u as g, v as _, w as v } from "./vue.runtime.esm-bundler-BDSGA5hA.js";
2
- import { j as y, k as b } from "./keys-Vt3XipJl.js";
3
- import { t as x } from "./useI18n-lF6hYgZu.js";
4
- import { t as S } from "./createLucideIcon-XgXOJ05E.js";
5
- import { t as C } from "./x-rcnxRG8Y.js";
6
- import { t as w } from "./usePopoverRoot-p2BanBI7.js";
1
+ import { A as e, B as t, F as n, I as r, T as i, _ as a, a as o, b as s, c, f as l, h as u, m as d, ot as f, p, rt as m, st as h, u as g, v as _, w as v } from "./vue.runtime.esm-bundler-MzYCkFSH.js";
2
+ import { j as y, k as b } from "./keys-BjmL5YCT.js";
3
+ import { t as x } from "./useI18n-Bb9-ha9X.js";
4
+ import { t as S } from "./createLucideIcon-D-6fpD2L.js";
5
+ import { t as C } from "./x-DgCCENgP.js";
6
+ import { t as w } from "./usePopoverRoot-BZDkRRry.js";
7
7
  var T = S("bold", [["path", {
8
8
  d: "M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8",
9
9
  key: "mg9rjx"
@@ -43,7 +43,7 @@ var T = S("bold", [["path", {
43
43
  class: "tpl:mb-1.5 tpl:block tpl:text-xs tpl:font-medium tpl:tracking-wide tpl:text-[var(--tpl-text-muted)] tpl:uppercase"
44
44
  }, F = ["placeholder"], I = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-t tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-elevated)] tpl:px-5 tpl:py-4" }, L = { class: "tpl:ml-auto tpl:flex tpl:gap-2" }, R = /* @__PURE__ */ s({
45
45
  __name: "RichTextLinkDialog",
46
- props: /* @__PURE__ */ i({
46
+ props: /*@__PURE__*/ i({
47
47
  visible: { type: Boolean },
48
48
  isEditingLink: { type: Boolean }
49
49
  }, {
@@ -52,7 +52,7 @@ var T = S("bold", [["path", {
52
52
  dialogRef: { required: !0 },
53
53
  dialogRefModifiers: {}
54
54
  }),
55
- emits: /* @__PURE__ */ i([
55
+ emits: /*@__PURE__*/ i([
56
56
  "close",
57
57
  "insert",
58
58
  "remove",
@@ -1,10 +1,10 @@
1
- import { A as e, B as t, L as n, M as r, X as i, _ as a, a as o, at as s, b as c, d as l, f as u, h as d, l as ee, m as f, ot as p, p as m, rt as h, st as g, v as _, z as v } from "./vue.runtime.esm-bundler-BDSGA5hA.js";
2
- import "./useEditorCore-DxApq2hZ.js";
3
- import { E as y, M as b, m as x } from "./keys-Vt3XipJl.js";
4
- import { t as S } from "./useI18n-lF6hYgZu.js";
5
- import { t as te } from "./loader-circle-Rz_4vJLH.js";
6
- import { n as ne } from "./useCloudI18n-sRfoQCZY.js";
7
- import { t as C } from "./TplModal-BudEYVcJ.js";
1
+ import { A as e, B as t, L as n, M as r, X as i, _ as a, a as o, at as s, b as c, d as l, f as u, h as d, l as ee, m as f, ot as p, p as m, rt as h, st as g, v as _, z as v } from "./vue.runtime.esm-bundler-MzYCkFSH.js";
2
+ import "./useEditorCore-BEgc3KFu.js";
3
+ import { E as y, M as b, m as x } from "./keys-BjmL5YCT.js";
4
+ import { t as S } from "./useI18n-Bb9-ha9X.js";
5
+ import { t as te } from "./loader-circle-EVqyIxjU.js";
6
+ import { n as ne } from "./useCloudI18n-BHCrmQgj.js";
7
+ import { t as C } from "./TplModal-Dxa3rhHI.js";
8
8
  //#region src/cloud/components/SaveModuleDialog.vue?vue&type=script&setup=true&lang.ts
9
9
  var w = ["aria-busy"], T = {
10
10
  id: "tpl-save-module-title",
@@ -1,12 +1,12 @@
1
- import { A as e, L as t, M as n, X as r, at as i, b as a, c as o, d as s, f as c, h as l, l as u, m as d, rt as f, st as p, t as m, v as h, z as g } from "./vue.runtime.esm-bundler-BDSGA5hA.js";
2
- import "./useEditorCore-DxApq2hZ.js";
3
- import { t as _ } from "./dist-CNLAS2v2.js";
4
- import { t as v } from "./useI18n-lF6hYgZu.js";
5
- import { t as y } from "./createLucideIcon-XgXOJ05E.js";
6
- import { t as b } from "./chevron-down-DJjo0jSV.js";
7
- import { t as x } from "./clock-DHl_BIkU.js";
8
- import { t as S } from "./loader-circle-Rz_4vJLH.js";
9
- import { n as C } from "./useCloudI18n-sRfoQCZY.js";
1
+ import { A as e, L as t, M as n, X as r, at as i, b as a, c as o, d as s, f as c, h as l, l as u, m as d, rt as f, st as p, t as m, v as h, z as g } from "./vue.runtime.esm-bundler-MzYCkFSH.js";
2
+ import "./useEditorCore-BEgc3KFu.js";
3
+ import { t as _ } from "./dist-cl33Ip6W.js";
4
+ import { t as v } from "./useI18n-Bb9-ha9X.js";
5
+ import { t as y } from "./createLucideIcon-D-6fpD2L.js";
6
+ import { t as b } from "./chevron-down-mnlFgueW.js";
7
+ import { t as x } from "./clock-BaadyUrg.js";
8
+ import { t as S } from "./loader-circle-EVqyIxjU.js";
9
+ import { n as C } from "./useCloudI18n-BHCrmQgj.js";
10
10
  import { t as w } from "./formatRelativeTime-CyDg5cDD.js";
11
11
  var T = y("chevron-left", [["path", {
12
12
  d: "m15 18-6-6 6-6",
@@ -1,18 +1,18 @@
1
- import { A as e, F as t, L as n, M as r, X as i, _ as a, at as ee, b as o, f as s, h as c, l, m as u, ot as d, p as f, rt as p, st as m, t as h, v as g, w as te, z as ne } from "./vue.runtime.esm-bundler-BDSGA5hA.js";
2
- import { D as re, M as _, m as ie, y as v } from "./keys-Vt3XipJl.js";
3
- import { t as y } from "./createLucideIcon-XgXOJ05E.js";
4
- import { t as ae } from "./chevron-down-DJjo0jSV.js";
5
- import { t as b } from "./circle-alert-CPH6l3Lc.js";
6
- import { n as x, t as S } from "./refresh-cw-CvWF4jfR.js";
7
- import { t as oe } from "./info-DIY9mguM.js";
8
- import { t as C } from "./loader-circle-Rz_4vJLH.js";
9
- import { t as w } from "./shield-check-CXPPMWth.js";
10
- import { t as T } from "./sparkles-CrUN0KWY.js";
11
- import { t as se } from "./triangle-alert-MwJBKR2e.js";
12
- import { t as ce } from "./x-rcnxRG8Y.js";
13
- import { t as le } from "./LoadingTrack-xCOLUR3o.js";
1
+ import { A as e, F as t, L as n, M as r, X as i, _ as a, at as ee, b as o, f as s, h as c, l, m as u, ot as d, p as f, rt as p, st as m, t as h, v as g, w as te, z as ne } from "./vue.runtime.esm-bundler-MzYCkFSH.js";
2
+ import { D as re, M as _, m as ie, y as v } from "./keys-BjmL5YCT.js";
3
+ import { t as y } from "./createLucideIcon-D-6fpD2L.js";
4
+ import { t as ae } from "./chevron-down-mnlFgueW.js";
5
+ import { t as b } from "./circle-alert-D89_hB8j.js";
6
+ import { n as x, t as S } from "./refresh-cw-C2vM_6zQ.js";
7
+ import { t as oe } from "./info-Db3HlTr8.js";
8
+ import { t as C } from "./loader-circle-EVqyIxjU.js";
9
+ import { t as w } from "./shield-check-B55Ozmva.js";
10
+ import { t as T } from "./sparkles-oh1NUSFq.js";
11
+ import { t as se } from "./triangle-alert-BQHjCt3B.js";
12
+ import { t as ce } from "./x-DgCCENgP.js";
13
+ import { t as le } from "./LoadingTrack-BZ5KJyZ_.js";
14
14
  import { t as E } from "./_plugin-vue_export-helper-B3ysoDQm.js";
15
- import { n as D } from "./useCloudI18n-sRfoQCZY.js";
15
+ import { n as D } from "./useCloudI18n-BHCrmQgj.js";
16
16
  var O = y("shield-x", [
17
17
  ["path", {
18
18
  d: "M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",
@@ -85,7 +85,7 @@ var P = {
85
85
  }, Ee = {
86
86
  key: 3,
87
87
  class: "tpl:flex tpl:h-full tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-3 tpl:text-center"
88
- }, De = { class: "tpl:max-w-[240px] tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, Oe = { class: "tpl:m-0 tpl:px-4 tpl:pb-2 tpl:pt-2 tpl:text-center tpl:text-[11px] tpl:text-[var(--tpl-text-dim)]" }, G = /* @__PURE__ */ E(/* @__PURE__ */ o({
88
+ }, De = { class: "tpl:max-w-[240px] tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, Oe = { class: "tpl:m-0 tpl:px-4 tpl:pb-2 tpl:pt-2 tpl:text-center tpl:text-[11px] tpl:text-[var(--tpl-text-dim)]" }, G = /*#__PURE__*/ E(/* @__PURE__ */ o({
89
89
  __name: "TemplateScoringPanel",
90
90
  props: { visible: { type: Boolean } },
91
91
  emits: ["close"],
@@ -1,8 +1,8 @@
1
- import { A as e, B as t, L as n, M as r, X as i, _ as a, at as o, b as s, f as c, h as l, i as u, l as d, m as f, p, rt as m, st as h, v as g, z as _ } from "./vue.runtime.esm-bundler-BDSGA5hA.js";
2
- import "./useEditorCore-DxApq2hZ.js";
3
- import { t as v } from "./loader-circle-Rz_4vJLH.js";
4
- import { n as y } from "./useCloudI18n-sRfoQCZY.js";
5
- import { t as b } from "./TplModal-BudEYVcJ.js";
1
+ import { A as e, B as t, L as n, M as r, X as i, _ as a, at as o, b as s, f as c, h as l, i as u, l as d, m as f, p, rt as m, st as h, v as g, z as _ } from "./vue.runtime.esm-bundler-MzYCkFSH.js";
2
+ import "./useEditorCore-BEgc3KFu.js";
3
+ import { t as v } from "./loader-circle-EVqyIxjU.js";
4
+ import { n as y } from "./useCloudI18n-BHCrmQgj.js";
5
+ import { t as b } from "./TplModal-Dxa3rhHI.js";
6
6
  //#region src/cloud/components/TestEmailModal.vue?vue&type=script&setup=true&lang.ts
7
7
  var x = ["aria-busy"], S = {
8
8
  id: "tpl-test-email-title",
@@ -1,11 +1,11 @@
1
- import { A as e, G as t, _ as n, at as r, b as i, d as a, f as o, h as s, l as c, m as l, ot as u, p as d, rt as f, st as p, u as m, v as h, w as g } from "./vue.runtime.esm-bundler-BDSGA5hA.js";
2
- import { b as _ } from "./useEditorCore-DxApq2hZ.js";
3
- import { j as v, k as y, x as b } from "./keys-Vt3XipJl.js";
4
- import { t as x } from "./useI18n-lF6hYgZu.js";
5
- import { a as S, i as C, n as w, r as T, t as ee } from "./RichTextEditorContent-DN-fRjMa.js";
6
- import { t as te } from "./loader-circle-Rz_4vJLH.js";
7
- import { t as ne } from "./scan-line-wanvAFDr.js";
8
- import { t as E } from "./usePopoverRoot-p2BanBI7.js";
1
+ import { A as e, G as t, _ as n, at as r, b as i, d as a, f as o, h as s, l as c, m as l, ot as u, p as d, rt as f, st as p, u as m, v as h, w as g } from "./vue.runtime.esm-bundler-MzYCkFSH.js";
2
+ import { b as _ } from "./useEditorCore-BEgc3KFu.js";
3
+ import { j as v, k as y, x as b } from "./keys-BjmL5YCT.js";
4
+ import { t as x } from "./useI18n-Bb9-ha9X.js";
5
+ import { a as S, i as C, n as w, r as T, t as ee } from "./RichTextEditorContent-COijbaWp.js";
6
+ import { t as te } from "./loader-circle-EVqyIxjU.js";
7
+ import { t as ne } from "./scan-line-AUIh_SHI.js";
8
+ import { t as E } from "./usePopoverRoot-BZDkRRry.js";
9
9
  //#region src/components/blocks/TitleEditor.vue?vue&type=script&setup=true&lang.ts
10
10
  var D = { class: "tpl-text-editor-wrapper tpl:relative" }, O = ["data-tpl-theme", "aria-label"], k = ["aria-label", "title"], A = ["aria-label", "title"], j = ["aria-label", "title"], M = {
11
11
  key: 0,
@@ -28,10 +28,10 @@ var D = { class: "tpl-text-editor-wrapper tpl:relative" }, O = ["data-tpl-theme"
28
28
  editorName: "TitleEditor",
29
29
  async loadExtensions({ mergeTags: e, syntax: t, triggerChar: n, autocompleteEnabled: r, suggestionEmptyText: i }) {
30
30
  let [{ Editor: a, EditorContent: o }, { default: s }, { default: c }, { MergeTagNode: l, MergeTagSuggestion: u, LogicMergeTagNode: d }] = await Promise.all([
31
- import("./dist-D8C6jIXM.js").then((e) => e.r),
32
- import("./dist-BDgf2G-V.js"),
33
- import("./dist-DXaxGLsw.js"),
34
- import("./extensions-C87ZSllQ.js")
31
+ import("./dist-Dnqx5UF3.js").then((e) => e.r),
32
+ import("./dist-CjULgTep.js"),
33
+ import("./dist-BttO3Zdx.js"),
34
+ import("./extensions-DA-w1gVg.js")
35
35
  ]);
36
36
  return {
37
37
  TiptapEditor: a,
@@ -1,7 +1,7 @@
1
- import { A as e, N as t, X as n, b as r, c as i, d as a, f as o, h as s, m as c, p as l, rt as u, t as d, u as f, v as p, w as m, z as h } from "./vue.runtime.esm-bundler-BDSGA5hA.js";
2
- import { w as g } from "./useEditorCore-DxApq2hZ.js";
3
- import { j as _ } from "./keys-Vt3XipJl.js";
4
- import { t as v } from "./usePopoverRoot-p2BanBI7.js";
1
+ import { A as e, N as t, X as n, b as r, c as i, d as a, f as o, h as s, m as c, p as l, rt as u, t as d, u as f, v as p, w as m, z as h } from "./vue.runtime.esm-bundler-MzYCkFSH.js";
2
+ import { w as g } from "./useEditorCore-BEgc3KFu.js";
3
+ import { j as _ } from "./keys-BjmL5YCT.js";
4
+ import { t as v } from "./usePopoverRoot-BZDkRRry.js";
5
5
  //#region src/components/TplModal.vue?vue&type=script&setup=true&lang.ts
6
6
  var y = ["data-tpl-theme"], b = /* @__PURE__ */ r({
7
7
  __name: "TplModal",
@@ -1,5 +1,5 @@
1
- import { D as e, E as t, M as n, O as r, k as i } from "./useEditorCore-DxApq2hZ.js";
2
- import { t as a } from "./createLucideIcon-XgXOJ05E.js";
1
+ import { D as e, E as t, M as n, O as r, k as i } from "./useEditorCore-BEgc3KFu.js";
2
+ import { t as a } from "./createLucideIcon-D-6fpD2L.js";
3
3
  var o = a("columns-3", [
4
4
  ["rect", {
5
5
  width: "18",
@@ -1,10 +1,10 @@
1
1
  {
2
- "version": "0.10.0",
3
- "initialGzipBytes": 157708,
4
- "initialRawBytes": 551098,
2
+ "version": "0.10.2",
3
+ "initialGzipBytes": 157846,
4
+ "initialRawBytes": 551218,
5
5
  "initialFileCount": 36,
6
- "lazyGzipBytes": 265694,
7
- "lazyRawBytes": 921116,
6
+ "lazyGzipBytes": 279614,
7
+ "lazyRawBytes": 976892,
8
8
  "lazyFileCount": 46,
9
- "generatedAt": "2026-05-29T11:12:38.103Z"
9
+ "generatedAt": "2026-06-12T14:31:12.876Z"
10
10
  }
@@ -1,5 +1,5 @@
1
- import { L as e, M as t, P as n, ct as r, f as i, g as a, m as o, p as s, st as c, u as l, x as u } from "./draggable-BwWMFq33.js";
2
- import { It as d, dt as f, in as p, rt as m, tt as h, ut as g, xt as _ } from "./features-CwZTdcbt.js";
1
+ import { L as e, M as t, P as n, ct as r, f as i, g as a, m as o, p as s, st as c, u as l, x as u } from "./draggable-BTGr7_-X.js";
2
+ import { It as d, dt as f, in as p, rt as m, tt as h, ut as g, xt as _ } from "./features-A28DQtjE.js";
3
3
  //#region src/cloud/components/AiFeatureMenu.vue?vue&type=script&setup=true&lang.ts
4
4
  var v = {
5
5
  class: "tpl-ai-feature-menu tpl:w-[280px] tpl:overflow-hidden tpl:rounded-[var(--tpl-radius)] tpl:py-1 tpl:bg-[var(--tpl-bg-elevated)] tpl:border tpl:border-[var(--tpl-border)] tpl:shadow-[var(--tpl-shadow-lg)]",
@@ -7,7 +7,7 @@ var v = {
7
7
  "backdrop-filter": "blur(8px)",
8
8
  "-webkit-backdrop-filter": "blur(8px)"
9
9
  }
10
- }, y = ["onClick"], b = { class: "tpl:flex tpl:min-w-0 tpl:flex-col tpl:gap-0.5" }, x = { class: "tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text)]" }, S = { class: "tpl:text-xs tpl:leading-snug tpl:text-[var(--tpl-text-muted)]" }, C = /* @__PURE__ */ m(/* @__PURE__ */ u({
10
+ }, y = ["onClick"], b = { class: "tpl:flex tpl:min-w-0 tpl:flex-col tpl:gap-0.5" }, x = { class: "tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text)]" }, S = { class: "tpl:text-xs tpl:leading-snug tpl:text-[var(--tpl-text-muted)]" }, C = /*#__PURE__*/ m(/* @__PURE__ */ u({
11
11
  __name: "AiFeatureMenu",
12
12
  props: { activeFeature: {} },
13
13
  emits: ["select"],
@@ -56,4 +56,4 @@ var v = {
56
56
  //#endregion
57
57
  export { C as default };
58
58
 
59
- //# sourceMappingURL=AiFeatureMenu-DKOv8VnB.js.map
59
+ //# sourceMappingURL=AiFeatureMenu-CCsgxyN9.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AiFeatureMenu-DKOv8VnB.js","names":[],"sources":["../../../src/cloud/components/AiFeatureMenu.vue","../../../src/cloud/components/AiFeatureMenu.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { useCloudI18nStrict } from \"../../composables\";\nimport { AI_CONFIG_KEY, requireInject } from \"../../keys\";\nimport type { AiConfig } from \"@templatical/types\";\nimport { ImageUp, ShieldCheck, Sparkles } from \"@lucide/vue\";\nimport { computed } from \"vue\";\n\nexport type AiFeature = \"ai-chat\" | \"design-reference\" | \"scoring\";\n\ndefineProps<{\n activeFeature: AiFeature | null;\n}>();\n\nconst emit = defineEmits<{\n (e: \"select\", feature: AiFeature): void;\n}>();\n\nconst { t: cloudT } = useCloudI18nStrict();\n\nconst aiConfig = requireInject(AI_CONFIG_KEY, \"AiFeatureMenu\");\n\nconst configKeyMap: Record<AiFeature, keyof AiConfig> = {\n \"ai-chat\": \"chat\",\n \"design-reference\": \"designToTemplate\",\n scoring: \"scoring\",\n};\n\nconst allFeatures: { key: AiFeature; icon: typeof Sparkles }[] = [\n { key: \"ai-chat\", icon: Sparkles },\n { key: \"design-reference\", icon: ImageUp },\n { key: \"scoring\", icon: ShieldCheck },\n];\n\nconst features = computed(() =>\n allFeatures.filter((f) => aiConfig.isFeatureEnabled(configKeyMap[f.key])),\n);\n\nfunction getTitle(key: AiFeature): string {\n if (key === \"ai-chat\") return cloudT.aiMenu.aiAssistant;\n if (key === \"design-reference\") return cloudT.aiMenu.designToTemplate;\n return cloudT.aiMenu.templateScore;\n}\n\nfunction getDescription(key: AiFeature): string {\n if (key === \"ai-chat\") return cloudT.aiMenu.aiAssistantDesc;\n if (key === \"design-reference\") return cloudT.aiMenu.designToTemplateDesc;\n return cloudT.aiMenu.templateScoreDesc;\n}\n</script>\n\n<template>\n <div\n class=\"tpl-ai-feature-menu tpl:w-[280px] tpl:overflow-hidden tpl:rounded-[var(--tpl-radius)] tpl:py-1 tpl:bg-[var(--tpl-bg-elevated)] tpl:border tpl:border-[var(--tpl-border)] tpl:shadow-[var(--tpl-shadow-lg)]\"\n style=\"backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px)\"\n >\n <button\n v-for=\"feature in features\"\n :key=\"feature.key\"\n class=\"tpl-ai-feature-menu-item tpl:flex tpl:w-full tpl:cursor-pointer tpl:items-start tpl:gap-3 tpl:border-none tpl:px-3 tpl:py-2.5 tpl:text-left tpl:transition-colors tpl:duration-100\"\n :style=\"{\n backgroundColor:\n activeFeature === feature.key\n ? 'var(--tpl-primary-light)'\n : 'transparent',\n }\"\n @click=\"emit('select', feature.key)\"\n >\n <div\n class=\"tpl:mt-0.5 tpl:flex tpl:size-7 tpl:shrink-0 tpl:items-center tpl:justify-center tpl:rounded-[var(--tpl-radius-sm)]\"\n :style=\"{\n backgroundColor:\n activeFeature === feature.key\n ? 'var(--tpl-primary)'\n : 'var(--tpl-bg-active)',\n color:\n activeFeature === feature.key\n ? 'var(--tpl-bg)'\n : 'var(--tpl-text-muted)',\n }\"\n >\n <component :is=\"feature.icon\" :size=\"15\" :stroke-width=\"2\" />\n </div>\n <div class=\"tpl:flex tpl:min-w-0 tpl:flex-col tpl:gap-0.5\">\n <span class=\"tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text)]\">\n {{ getTitle(feature.key) }}\n </span>\n <span\n class=\"tpl:text-xs tpl:leading-snug tpl:text-[var(--tpl-text-muted)]\"\n >\n {{ getDescription(feature.key) }}\n </span>\n </div>\n </button>\n </div>\n</template>\n\n<style scoped>\n.tpl-ai-feature-menu-item:hover {\n background-color: var(--tpl-bg-hover) !important;\n}\n</style>\n","<script setup lang=\"ts\">\nimport { useCloudI18nStrict } from \"../../composables\";\nimport { AI_CONFIG_KEY, requireInject } from \"../../keys\";\nimport type { AiConfig } from \"@templatical/types\";\nimport { ImageUp, ShieldCheck, Sparkles } from \"@lucide/vue\";\nimport { computed } from \"vue\";\n\nexport type AiFeature = \"ai-chat\" | \"design-reference\" | \"scoring\";\n\ndefineProps<{\n activeFeature: AiFeature | null;\n}>();\n\nconst emit = defineEmits<{\n (e: \"select\", feature: AiFeature): void;\n}>();\n\nconst { t: cloudT } = useCloudI18nStrict();\n\nconst aiConfig = requireInject(AI_CONFIG_KEY, \"AiFeatureMenu\");\n\nconst configKeyMap: Record<AiFeature, keyof AiConfig> = {\n \"ai-chat\": \"chat\",\n \"design-reference\": \"designToTemplate\",\n scoring: \"scoring\",\n};\n\nconst allFeatures: { key: AiFeature; icon: typeof Sparkles }[] = [\n { key: \"ai-chat\", icon: Sparkles },\n { key: \"design-reference\", icon: ImageUp },\n { key: \"scoring\", icon: ShieldCheck },\n];\n\nconst features = computed(() =>\n allFeatures.filter((f) => aiConfig.isFeatureEnabled(configKeyMap[f.key])),\n);\n\nfunction getTitle(key: AiFeature): string {\n if (key === \"ai-chat\") return cloudT.aiMenu.aiAssistant;\n if (key === \"design-reference\") return cloudT.aiMenu.designToTemplate;\n return cloudT.aiMenu.templateScore;\n}\n\nfunction getDescription(key: AiFeature): string {\n if (key === \"ai-chat\") return cloudT.aiMenu.aiAssistantDesc;\n if (key === \"design-reference\") return cloudT.aiMenu.designToTemplateDesc;\n return cloudT.aiMenu.templateScoreDesc;\n}\n</script>\n\n<template>\n <div\n class=\"tpl-ai-feature-menu tpl:w-[280px] tpl:overflow-hidden tpl:rounded-[var(--tpl-radius)] tpl:py-1 tpl:bg-[var(--tpl-bg-elevated)] tpl:border tpl:border-[var(--tpl-border)] tpl:shadow-[var(--tpl-shadow-lg)]\"\n style=\"backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px)\"\n >\n <button\n v-for=\"feature in features\"\n :key=\"feature.key\"\n class=\"tpl-ai-feature-menu-item tpl:flex tpl:w-full tpl:cursor-pointer tpl:items-start tpl:gap-3 tpl:border-none tpl:px-3 tpl:py-2.5 tpl:text-left tpl:transition-colors tpl:duration-100\"\n :style=\"{\n backgroundColor:\n activeFeature === feature.key\n ? 'var(--tpl-primary-light)'\n : 'transparent',\n }\"\n @click=\"emit('select', feature.key)\"\n >\n <div\n class=\"tpl:mt-0.5 tpl:flex tpl:size-7 tpl:shrink-0 tpl:items-center tpl:justify-center tpl:rounded-[var(--tpl-radius-sm)]\"\n :style=\"{\n backgroundColor:\n activeFeature === feature.key\n ? 'var(--tpl-primary)'\n : 'var(--tpl-bg-active)',\n color:\n activeFeature === feature.key\n ? 'var(--tpl-bg)'\n : 'var(--tpl-text-muted)',\n }\"\n >\n <component :is=\"feature.icon\" :size=\"15\" :stroke-width=\"2\" />\n </div>\n <div class=\"tpl:flex tpl:min-w-0 tpl:flex-col tpl:gap-0.5\">\n <span class=\"tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text)]\">\n {{ getTitle(feature.key) }}\n </span>\n <span\n class=\"tpl:text-xs tpl:leading-snug tpl:text-[var(--tpl-text-muted)]\"\n >\n {{ getDescription(feature.key) }}\n </span>\n </div>\n </button>\n </div>\n</template>\n\n<style scoped>\n.tpl-ai-feature-menu-item:hover {\n background-color: var(--tpl-bg-hover) !important;\n}\n</style>\n"],"mappings":";;;;;;;;;;;;;;EAaA,IAAM,IAAO,GAIP,EAAE,GAAG,MAAW,EAAmB,GAEnC,IAAW,EAAc,GAAe,eAAe,GAEvD,IAAkD;GACtD,WAAW;GACX,oBAAoB;GACpB,SAAS;EACX,GAEM,IAA2D;GAC/D;IAAE,KAAK;IAAW,MAAM;GAAS;GACjC;IAAE,KAAK;IAAoB,MAAM;GAAQ;GACzC;IAAE,KAAK;IAAW,MAAM;GAAY;EACtC,GAEM,IAAW,QACf,EAAY,QAAQ,MAAM,EAAS,iBAAiB,EAAa,EAAE,IAAI,CAAC,CAC1E;EAEA,SAAS,EAAS,GAAwB;GAGxC,OAFI,MAAQ,YAAkB,EAAO,OAAO,cACxC,MAAQ,qBAA2B,EAAO,OAAO,mBAC9C,EAAO,OAAO;EACvB;EAEA,SAAS,EAAe,GAAwB;GAG9C,OAFI,MAAQ,YAAkB,EAAO,OAAO,kBACxC,MAAQ,qBAA2B,EAAO,OAAO,uBAC9C,EAAO,OAAO;EACvB;yBAIE,EA0CM,OA1CN,GA0CM,EAAA,EAAA,EAAA,GAtCJ,EAqCS,GAAA,MAAA,EApCW,EAAA,QAAX,YADT,EAqCS,UAAA;GAnCN,KAAK,EAAQ;GACd,OAAM;GACL,OAAK,EAAA,EAAA,iBAAuC,EAAA,kBAAkB,EAAQ,MAAA,6BAAA,cAAA,CAAA;GAMtE,UAAK,MAAE,EAAI,UAAW,EAAQ,GAAG;MAElC,EAcM,OAAA;GAbJ,OAAM;GACL,OAAK,EAAA;qBAA2C,EAAA,kBAAkB,EAAQ,MAAA,uBAAA;WAA8G,EAAA,kBAAkB,EAAQ,MAAA,kBAAA;;YAWnN,EAA6D,EAA7C,EAAQ,IAAI,GAAA;GAAG,MAAM;GAAK,gBAAc;YAE1D,EASM,OATN,GASM,CARJ,EAEO,QAFP,GAEO,EADF,EAAS,EAAQ,GAAG,CAAA,GAAA,CAAA,GAEzB,EAIO,QAJP,GAIO,EADF,EAAe,EAAQ,GAAG,CAAA,GAAA,CAAA,CAAA,CAAA,CAAA,GAAA,IAAA,CAAA"}
1
+ {"version":3,"file":"AiFeatureMenu-CCsgxyN9.js","names":[],"sources":["../../../src/cloud/components/AiFeatureMenu.vue","../../../src/cloud/components/AiFeatureMenu.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { useCloudI18nStrict } from \"../../composables\";\nimport { AI_CONFIG_KEY, requireInject } from \"../../keys\";\nimport type { AiConfig } from \"@templatical/types\";\nimport { ImageUp, ShieldCheck, Sparkles } from \"@lucide/vue\";\nimport { computed } from \"vue\";\n\nexport type AiFeature = \"ai-chat\" | \"design-reference\" | \"scoring\";\n\ndefineProps<{\n activeFeature: AiFeature | null;\n}>();\n\nconst emit = defineEmits<{\n (e: \"select\", feature: AiFeature): void;\n}>();\n\nconst { t: cloudT } = useCloudI18nStrict();\n\nconst aiConfig = requireInject(AI_CONFIG_KEY, \"AiFeatureMenu\");\n\nconst configKeyMap: Record<AiFeature, keyof AiConfig> = {\n \"ai-chat\": \"chat\",\n \"design-reference\": \"designToTemplate\",\n scoring: \"scoring\",\n};\n\nconst allFeatures: { key: AiFeature; icon: typeof Sparkles }[] = [\n { key: \"ai-chat\", icon: Sparkles },\n { key: \"design-reference\", icon: ImageUp },\n { key: \"scoring\", icon: ShieldCheck },\n];\n\nconst features = computed(() =>\n allFeatures.filter((f) => aiConfig.isFeatureEnabled(configKeyMap[f.key])),\n);\n\nfunction getTitle(key: AiFeature): string {\n if (key === \"ai-chat\") return cloudT.aiMenu.aiAssistant;\n if (key === \"design-reference\") return cloudT.aiMenu.designToTemplate;\n return cloudT.aiMenu.templateScore;\n}\n\nfunction getDescription(key: AiFeature): string {\n if (key === \"ai-chat\") return cloudT.aiMenu.aiAssistantDesc;\n if (key === \"design-reference\") return cloudT.aiMenu.designToTemplateDesc;\n return cloudT.aiMenu.templateScoreDesc;\n}\n</script>\n\n<template>\n <div\n class=\"tpl-ai-feature-menu tpl:w-[280px] tpl:overflow-hidden tpl:rounded-[var(--tpl-radius)] tpl:py-1 tpl:bg-[var(--tpl-bg-elevated)] tpl:border tpl:border-[var(--tpl-border)] tpl:shadow-[var(--tpl-shadow-lg)]\"\n style=\"backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px)\"\n >\n <button\n v-for=\"feature in features\"\n :key=\"feature.key\"\n class=\"tpl-ai-feature-menu-item tpl:flex tpl:w-full tpl:cursor-pointer tpl:items-start tpl:gap-3 tpl:border-none tpl:px-3 tpl:py-2.5 tpl:text-left tpl:transition-colors tpl:duration-100\"\n :style=\"{\n backgroundColor:\n activeFeature === feature.key\n ? 'var(--tpl-primary-light)'\n : 'transparent',\n }\"\n @click=\"emit('select', feature.key)\"\n >\n <div\n class=\"tpl:mt-0.5 tpl:flex tpl:size-7 tpl:shrink-0 tpl:items-center tpl:justify-center tpl:rounded-[var(--tpl-radius-sm)]\"\n :style=\"{\n backgroundColor:\n activeFeature === feature.key\n ? 'var(--tpl-primary)'\n : 'var(--tpl-bg-active)',\n color:\n activeFeature === feature.key\n ? 'var(--tpl-bg)'\n : 'var(--tpl-text-muted)',\n }\"\n >\n <component :is=\"feature.icon\" :size=\"15\" :stroke-width=\"2\" />\n </div>\n <div class=\"tpl:flex tpl:min-w-0 tpl:flex-col tpl:gap-0.5\">\n <span class=\"tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text)]\">\n {{ getTitle(feature.key) }}\n </span>\n <span\n class=\"tpl:text-xs tpl:leading-snug tpl:text-[var(--tpl-text-muted)]\"\n >\n {{ getDescription(feature.key) }}\n </span>\n </div>\n </button>\n </div>\n</template>\n\n<style scoped>\n.tpl-ai-feature-menu-item:hover {\n background-color: var(--tpl-bg-hover) !important;\n}\n</style>\n","<script setup lang=\"ts\">\nimport { useCloudI18nStrict } from \"../../composables\";\nimport { AI_CONFIG_KEY, requireInject } from \"../../keys\";\nimport type { AiConfig } from \"@templatical/types\";\nimport { ImageUp, ShieldCheck, Sparkles } from \"@lucide/vue\";\nimport { computed } from \"vue\";\n\nexport type AiFeature = \"ai-chat\" | \"design-reference\" | \"scoring\";\n\ndefineProps<{\n activeFeature: AiFeature | null;\n}>();\n\nconst emit = defineEmits<{\n (e: \"select\", feature: AiFeature): void;\n}>();\n\nconst { t: cloudT } = useCloudI18nStrict();\n\nconst aiConfig = requireInject(AI_CONFIG_KEY, \"AiFeatureMenu\");\n\nconst configKeyMap: Record<AiFeature, keyof AiConfig> = {\n \"ai-chat\": \"chat\",\n \"design-reference\": \"designToTemplate\",\n scoring: \"scoring\",\n};\n\nconst allFeatures: { key: AiFeature; icon: typeof Sparkles }[] = [\n { key: \"ai-chat\", icon: Sparkles },\n { key: \"design-reference\", icon: ImageUp },\n { key: \"scoring\", icon: ShieldCheck },\n];\n\nconst features = computed(() =>\n allFeatures.filter((f) => aiConfig.isFeatureEnabled(configKeyMap[f.key])),\n);\n\nfunction getTitle(key: AiFeature): string {\n if (key === \"ai-chat\") return cloudT.aiMenu.aiAssistant;\n if (key === \"design-reference\") return cloudT.aiMenu.designToTemplate;\n return cloudT.aiMenu.templateScore;\n}\n\nfunction getDescription(key: AiFeature): string {\n if (key === \"ai-chat\") return cloudT.aiMenu.aiAssistantDesc;\n if (key === \"design-reference\") return cloudT.aiMenu.designToTemplateDesc;\n return cloudT.aiMenu.templateScoreDesc;\n}\n</script>\n\n<template>\n <div\n class=\"tpl-ai-feature-menu tpl:w-[280px] tpl:overflow-hidden tpl:rounded-[var(--tpl-radius)] tpl:py-1 tpl:bg-[var(--tpl-bg-elevated)] tpl:border tpl:border-[var(--tpl-border)] tpl:shadow-[var(--tpl-shadow-lg)]\"\n style=\"backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px)\"\n >\n <button\n v-for=\"feature in features\"\n :key=\"feature.key\"\n class=\"tpl-ai-feature-menu-item tpl:flex tpl:w-full tpl:cursor-pointer tpl:items-start tpl:gap-3 tpl:border-none tpl:px-3 tpl:py-2.5 tpl:text-left tpl:transition-colors tpl:duration-100\"\n :style=\"{\n backgroundColor:\n activeFeature === feature.key\n ? 'var(--tpl-primary-light)'\n : 'transparent',\n }\"\n @click=\"emit('select', feature.key)\"\n >\n <div\n class=\"tpl:mt-0.5 tpl:flex tpl:size-7 tpl:shrink-0 tpl:items-center tpl:justify-center tpl:rounded-[var(--tpl-radius-sm)]\"\n :style=\"{\n backgroundColor:\n activeFeature === feature.key\n ? 'var(--tpl-primary)'\n : 'var(--tpl-bg-active)',\n color:\n activeFeature === feature.key\n ? 'var(--tpl-bg)'\n : 'var(--tpl-text-muted)',\n }\"\n >\n <component :is=\"feature.icon\" :size=\"15\" :stroke-width=\"2\" />\n </div>\n <div class=\"tpl:flex tpl:min-w-0 tpl:flex-col tpl:gap-0.5\">\n <span class=\"tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text)]\">\n {{ getTitle(feature.key) }}\n </span>\n <span\n class=\"tpl:text-xs tpl:leading-snug tpl:text-[var(--tpl-text-muted)]\"\n >\n {{ getDescription(feature.key) }}\n </span>\n </div>\n </button>\n </div>\n</template>\n\n<style scoped>\n.tpl-ai-feature-menu-item:hover {\n background-color: var(--tpl-bg-hover) !important;\n}\n</style>\n"],"mappings":";;;;;;;;;;;;;;EAaA,IAAM,IAAO,GAIP,EAAE,GAAG,MAAW,EAAmB,GAEnC,IAAW,EAAc,GAAe,eAAe,GAEvD,IAAkD;GACtD,WAAW;GACX,oBAAoB;GACpB,SAAS;EACX,GAEM,IAA2D;GAC/D;IAAE,KAAK;IAAW,MAAM;GAAS;GACjC;IAAE,KAAK;IAAoB,MAAM;GAAQ;GACzC;IAAE,KAAK;IAAW,MAAM;GAAY;EACtC,GAEM,IAAW,QACf,EAAY,QAAQ,MAAM,EAAS,iBAAiB,EAAa,EAAE,IAAI,CAAC,CAC1E;EAEA,SAAS,EAAS,GAAwB;GAGxC,OAFI,MAAQ,YAAkB,EAAO,OAAO,cACxC,MAAQ,qBAA2B,EAAO,OAAO,mBAC9C,EAAO,OAAO;EACvB;EAEA,SAAS,EAAe,GAAwB;GAG9C,OAFI,MAAQ,YAAkB,EAAO,OAAO,kBACxC,MAAQ,qBAA2B,EAAO,OAAO,uBAC9C,EAAO,OAAO;EACvB;yBAIE,EA0CM,OA1CN,GA0CM,EAAA,EAAA,EAAA,GAtCJ,EAqCS,GAAA,MAAA,EApCW,EAAA,QAAX,YADT,EAqCS,UAAA;GAnCN,KAAK,EAAQ;GACd,OAAM;GACL,OAAK,EAAA,EAAA,iBAAuC,EAAA,kBAAkB,EAAQ,MAAA,6BAAA,cAAA,CAAA;GAMtE,UAAK,MAAE,EAAI,UAAW,EAAQ,GAAG;MAElC,EAcM,OAAA;GAbJ,OAAM;GACL,OAAK,EAAA;qBAA2C,EAAA,kBAAkB,EAAQ,MAAA,uBAAA;WAA8G,EAAA,kBAAkB,EAAQ,MAAA,kBAAA;;YAWnN,EAA6D,EAA7C,EAAQ,IAAI,GAAA;GAAG,MAAM;GAAK,gBAAc;YAE1D,EASM,OATN,GASM,CARJ,EAEO,QAFP,GAEO,EADF,EAAS,EAAQ,GAAG,CAAA,GAAA,CAAA,GAEzB,EAIO,QAJP,GAIO,EADF,EAAe,EAAQ,GAAG,CAAA,GAAA,CAAA,CAAA,CAAA,CAAA,GAAA,IAAA,CAAA"}
@@ -1,5 +1,5 @@
1
- import { M as e, T as t, f as n, g as r, h as i, it as a, m as o, ot as s, x as c } from "./draggable-BwWMFq33.js";
2
- import { Dt as l, Ft as u, st as d, tn as f } from "./features-CwZTdcbt.js";
1
+ import { M as e, T as t, f as n, g as r, h as i, it as a, m as o, ot as s, x as c } from "./draggable-BTGr7_-X.js";
2
+ import { Dt as l, Ft as u, st as d, tn as f } from "./features-A28DQtjE.js";
3
3
  //#region src/components/canvas/BlockIssueBadge.vue?vue&type=script&setup=true&lang.ts
4
4
  var p = ["title", "aria-label"], m = /* @__PURE__ */ c({
5
5
  __name: "BlockIssueBadge",
@@ -30,4 +30,4 @@ var p = ["title", "aria-label"], m = /* @__PURE__ */ c({
30
30
  //#endregion
31
31
  export { m as default };
32
32
 
33
- //# sourceMappingURL=BlockIssueBadge-DpiSTwM7.js.map
33
+ //# sourceMappingURL=BlockIssueBadge-Lc3NWFV8.js.map