@templatical/editor 0.39.2 → 0.39.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (137) hide show
  1. package/dist/{AiChatSidebar-pOxCZWz9.js → AiChatSidebar-5qqrS6uy.js} +69 -63
  2. package/dist/{AiFeatureMenu-Bljk6Qjv.js → AiFeatureMenu-BBO_Ojlp.js} +1 -1
  3. package/dist/{BlockPreviewCanvas-DXGjUECG.js → BlockPreviewCanvas-BMC16_QU.js} +1 -1
  4. package/dist/{CloudHeaderExtras-DaocwNmy.js → CloudHeaderExtras-Cg6uF-yQ.js} +1 -1
  5. package/dist/{CloudPanels-CyZAnSJY.js → CloudPanels-D1Gg4qrG.js} +80 -66
  6. package/dist/{CollaboratorBar-C7Zca3g1.js → CollaboratorBar-Cmn0LccS.js} +3 -3
  7. package/dist/{CommentsPanel-CNOb7YCm.js → CommentsPanel-twNhYUqZ.js} +1 -1
  8. package/dist/{CommentsSidebar-VmwjU9va.js → CommentsSidebar-DDO0Qx8U.js} +122 -112
  9. package/dist/{CountdownToolbar-C2kfS6Oy.js → CountdownToolbar-nvHxu8Gu.js} +1 -1
  10. package/dist/DesignReferenceSidebar-C8ohNhOd.js +280 -0
  11. package/dist/{IssuesPanel-DL2Xr14_.js → IssuesPanel-Ck0EGoV5.js} +4 -4
  12. package/dist/{LoadingTrack-C2jKCU2d.js → LoadingTrack-C1Epulqq.js} +1 -1
  13. package/dist/{ParagraphEditor-DkkPSexG.js → ParagraphEditor-D6FRxr8Y.js} +2 -2
  14. package/dist/{RestoreVersionDialog-BgueZnZr.js → RestoreVersionDialog--b0qfNaK.js} +1 -1
  15. package/dist/{SaveBlockDialog-BuTuVlLr.js → SaveBlockDialog-C0BdEGeL.js} +6 -6
  16. package/dist/{SavedBlocksBrowserModal-Srhix8BB.js → SavedBlocksBrowserModal-BzDgXtr4.js} +8 -8
  17. package/dist/{SavedBlocksPanels-B2iScCS-.js → SavedBlocksPanels-DN-bDZzy.js} +1 -1
  18. package/dist/SavedBlocksPickBar-pEi9Et8Q.js +53 -0
  19. package/dist/{TemplateScoringPanel-C2Rdlyn6.js → TemplateScoringPanel-B1wcfE0w.js} +62 -56
  20. package/dist/{TestEmailModal-DJ5q_u4N.js → TestEmailModal-maM8SLBV.js} +6 -6
  21. package/dist/{TestEmailPanel-CP24UGst.js → TestEmailPanel-8iAZYpCK.js} +1 -1
  22. package/dist/{TitleEditor-QBBOXtxx.js → TitleEditor-L26QXwna.js} +1 -1
  23. package/dist/{Toolbar-COD2TW20.js → Toolbar-B2kDLFhn.js} +314 -314
  24. package/dist/{TplModal-C8xGjC1l.js → TplModal-DVMS_nAn.js} +1 -1
  25. package/dist/{VersionHistoryPanels-BrK6na4A.js → VersionHistoryPanels-D8f8KvKX.js} +1 -1
  26. package/dist/bundle-stats.json +6 -6
  27. package/dist/{ca-YlPDhElv.js → ca-Bqeygp1_.js} +1 -0
  28. package/dist/cdn/chunks/{AiChatSidebar-CjSEoK4x.js → AiChatSidebar-ctfIU4i0.js} +67 -61
  29. package/dist/cdn/chunks/AiChatSidebar-ctfIU4i0.js.map +1 -0
  30. package/dist/cdn/chunks/{AiFeatureMenu-l0K5TOSn.js → AiFeatureMenu-ByygdH_9.js} +2 -2
  31. package/dist/cdn/chunks/{AiFeatureMenu-l0K5TOSn.js.map → AiFeatureMenu-ByygdH_9.js.map} +1 -1
  32. package/dist/cdn/chunks/{BlockPreviewCanvas-lQrAdgG3.js → BlockPreviewCanvas-DeS7Sa--.js} +2 -2
  33. package/dist/cdn/chunks/{BlockPreviewCanvas-lQrAdgG3.js.map → BlockPreviewCanvas-DeS7Sa--.js.map} +1 -1
  34. package/dist/cdn/chunks/{CloudHeaderExtras-CXNe7Q-4.js → CloudHeaderExtras-BxsMpvVr.js} +2 -2
  35. package/dist/cdn/chunks/{CloudHeaderExtras-CXNe7Q-4.js.map → CloudHeaderExtras-BxsMpvVr.js.map} +1 -1
  36. package/dist/cdn/chunks/{CloudPanels-bHhh9AUA.js → CloudPanels-DmxmqAS_.js} +78 -64
  37. package/dist/cdn/chunks/CloudPanels-DmxmqAS_.js.map +1 -0
  38. package/dist/cdn/chunks/{CollaboratorBar-DgqcaGGI.js → CollaboratorBar-B8ttqAqX.js} +4 -4
  39. package/dist/cdn/chunks/CollaboratorBar-B8ttqAqX.js.map +1 -0
  40. package/dist/cdn/chunks/{CommentsPanel-Cy4TlTHC.js → CommentsPanel-C8ibhaiK.js} +2 -2
  41. package/dist/cdn/chunks/{CommentsPanel-Cy4TlTHC.js.map → CommentsPanel-C8ibhaiK.js.map} +1 -1
  42. package/dist/cdn/chunks/{CommentsSidebar-C7oAP3Mx.js → CommentsSidebar-CybWfZ3V.js} +118 -108
  43. package/dist/cdn/chunks/CommentsSidebar-CybWfZ3V.js.map +1 -0
  44. package/dist/cdn/chunks/{CountdownToolbar-CN9h4nlC.js → CountdownToolbar-DRESXiVD.js} +2 -2
  45. package/dist/cdn/chunks/{CountdownToolbar-CN9h4nlC.js.map → CountdownToolbar-DRESXiVD.js.map} +1 -1
  46. package/dist/cdn/chunks/DesignReferenceSidebar-CtaoY-hl.js +230 -0
  47. package/dist/cdn/chunks/DesignReferenceSidebar-CtaoY-hl.js.map +1 -0
  48. package/dist/cdn/chunks/{IssuesPanel-DdFk-Blf.js → IssuesPanel-C6RlIxoi.js} +5 -5
  49. package/dist/cdn/chunks/IssuesPanel-C6RlIxoi.js.map +1 -0
  50. package/dist/cdn/chunks/{LoadingTrack-Ba5xh5HD.js → LoadingTrack-_7DH_5aw.js} +2 -2
  51. package/dist/cdn/chunks/{LoadingTrack-Ba5xh5HD.js.map → LoadingTrack-_7DH_5aw.js.map} +1 -1
  52. package/dist/cdn/chunks/{ParagraphEditor-DO4RzP8l.js → ParagraphEditor-R2ph_UOo.js} +3 -3
  53. package/dist/cdn/chunks/ParagraphEditor-R2ph_UOo.js.map +1 -0
  54. package/dist/cdn/chunks/{RestoreVersionDialog-CzZ_sFnz.js → RestoreVersionDialog-C-dwbb7T.js} +2 -2
  55. package/dist/cdn/chunks/{RestoreVersionDialog-CzZ_sFnz.js.map → RestoreVersionDialog-C-dwbb7T.js.map} +1 -1
  56. package/dist/cdn/chunks/{SaveBlockDialog-LgxYrXyx.js → SaveBlockDialog-C_BPjVv6.js} +7 -7
  57. package/dist/cdn/chunks/SaveBlockDialog-C_BPjVv6.js.map +1 -0
  58. package/dist/cdn/chunks/{SavedBlocksBrowserModal-CdeSsTpb.js → SavedBlocksBrowserModal-CrrGEfFb.js} +9 -9
  59. package/dist/cdn/chunks/SavedBlocksBrowserModal-CrrGEfFb.js.map +1 -0
  60. package/dist/cdn/chunks/{SavedBlocksPanels-B5hakNJj.js → SavedBlocksPanels-DfTaMPAr.js} +2 -2
  61. package/dist/cdn/chunks/{SavedBlocksPanels-B5hakNJj.js.map → SavedBlocksPanels-DfTaMPAr.js.map} +1 -1
  62. package/dist/cdn/chunks/SavedBlocksPickBar-DziwHYSu.js +55 -0
  63. package/dist/cdn/chunks/SavedBlocksPickBar-DziwHYSu.js.map +1 -0
  64. package/dist/cdn/chunks/{TemplateScoringPanel--JxR6CsQ.js → TemplateScoringPanel-CR6RG6dZ.js} +95 -89
  65. package/dist/cdn/chunks/TemplateScoringPanel-CR6RG6dZ.js.map +1 -0
  66. package/dist/cdn/chunks/{TestEmailModal-BAuDxJtD.js → TestEmailModal-DId9Og-N.js} +7 -7
  67. package/dist/cdn/chunks/TestEmailModal-DId9Og-N.js.map +1 -0
  68. package/dist/cdn/chunks/{TestEmailPanel-GUGZisLp.js → TestEmailPanel-B8LwXmeX.js} +2 -2
  69. package/dist/cdn/chunks/{TestEmailPanel-GUGZisLp.js.map → TestEmailPanel-B8LwXmeX.js.map} +1 -1
  70. package/dist/cdn/chunks/{TitleEditor-uKu33Nwr.js → TitleEditor-C7KMzX1e.js} +2 -2
  71. package/dist/cdn/chunks/{TitleEditor-uKu33Nwr.js.map → TitleEditor-C7KMzX1e.js.map} +1 -1
  72. package/dist/cdn/chunks/{Toolbar-dxDYwN5E.js → Toolbar-DqFhWxgW.js} +310 -310
  73. package/dist/cdn/chunks/Toolbar-DqFhWxgW.js.map +1 -0
  74. package/dist/cdn/chunks/{TplModal-DuwS2ifK.js → TplModal-BKqDFLq3.js} +2 -2
  75. package/dist/cdn/chunks/{TplModal-DuwS2ifK.js.map → TplModal-BKqDFLq3.js.map} +1 -1
  76. package/dist/cdn/chunks/{VersionHistoryPanels-GeR6MStB.js → VersionHistoryPanels-DcCFFDK6.js} +2 -2
  77. package/dist/cdn/chunks/{VersionHistoryPanels-GeR6MStB.js.map → VersionHistoryPanels-DcCFFDK6.js.map} +1 -1
  78. package/dist/cdn/chunks/{ca-YlPDhElv.js → ca-Bqeygp1_.js} +2 -1
  79. package/dist/cdn/chunks/{ca-YlPDhElv.js.map → ca-Bqeygp1_.js.map} +1 -1
  80. package/dist/cdn/chunks/{de-CONjnzrF.js → de-CY6SlqBx.js} +2 -1
  81. package/dist/cdn/chunks/{de-CONjnzrF.js.map → de-CY6SlqBx.js.map} +1 -1
  82. package/dist/{de-BytZwgn6.js → cdn/chunks/de-mMY5yQJu.js} +5 -0
  83. package/dist/cdn/chunks/de-mMY5yQJu.js.map +1 -0
  84. package/dist/cdn/chunks/{en-BAMooiOF.js → en-8V-2kDcp.js} +2 -1
  85. package/dist/cdn/chunks/{en-BAMooiOF.js.map → en-8V-2kDcp.js.map} +1 -1
  86. package/dist/{en-DyOSV0lY.js → cdn/chunks/en-ChVeGQBY.js} +5 -0
  87. package/dist/cdn/chunks/en-ChVeGQBY.js.map +1 -0
  88. package/dist/cdn/chunks/{es-I47lHs2m.js → es-Cmn1rT3l.js} +2 -1
  89. package/dist/cdn/chunks/{es-I47lHs2m.js.map → es-Cmn1rT3l.js.map} +1 -1
  90. package/dist/cdn/chunks/{fr-B8MIKjT4.js → fr-2yDa4zXM.js} +2 -1
  91. package/dist/cdn/chunks/{fr-B8MIKjT4.js.map → fr-2yDa4zXM.js.map} +1 -1
  92. package/dist/cdn/chunks/{nl-CBLxcb-0.js → nl-Bzk2zRI8.js} +2 -1
  93. package/dist/cdn/chunks/{nl-CBLxcb-0.js.map → nl-Bzk2zRI8.js.map} +1 -1
  94. package/dist/cdn/chunks/{pt-BR-C1WLSGDh.js → pt-BR-CoCwRUi0.js} +4 -1
  95. package/dist/cdn/chunks/pt-BR-CoCwRUi0.js.map +1 -0
  96. package/dist/cdn/chunks/{pt-BR-CMSRfX7t.js → pt-BR-DqtSCTUi.js} +2 -1
  97. package/dist/cdn/chunks/{pt-BR-CMSRfX7t.js.map → pt-BR-DqtSCTUi.js.map} +1 -1
  98. package/dist/cdn/chunks/{src-O5Sp_qJ7.js → src-kSeXM7B2.js} +2 -2
  99. package/dist/cdn/chunks/{src-O5Sp_qJ7.js.map → src-kSeXM7B2.js.map} +1 -1
  100. package/dist/cdn/chunks/{useEditorCore-BHmIp1hW.js → useEditorCore-CXYI14ux.js} +14 -14
  101. package/dist/cdn/chunks/{useEditorCore-BHmIp1hW.js.map → useEditorCore-CXYI14ux.js.map} +1 -1
  102. package/dist/cdn/editor.css +1 -1
  103. package/dist/cdn/editor.js +14 -14
  104. package/dist/cdn/editor.js.map +1 -1
  105. package/dist/{de-CONjnzrF.js → de-CY6SlqBx.js} +1 -0
  106. package/dist/{cdn/chunks/de-BytZwgn6.js → de-mMY5yQJu.js} +3 -2
  107. package/dist/{en-BAMooiOF.js → en-8V-2kDcp.js} +1 -0
  108. package/dist/{cdn/chunks/en-DyOSV0lY.js → en-ChVeGQBY.js} +3 -2
  109. package/dist/{es-I47lHs2m.js → es-Cmn1rT3l.js} +1 -0
  110. package/dist/{fr-B8MIKjT4.js → fr-2yDa4zXM.js} +1 -0
  111. package/dist/{nl-CBLxcb-0.js → nl-Bzk2zRI8.js} +1 -0
  112. package/dist/{pt-BR-C1WLSGDh.js → pt-BR-CoCwRUi0.js} +3 -0
  113. package/dist/{pt-BR-CMSRfX7t.js → pt-BR-DqtSCTUi.js} +1 -0
  114. package/dist/style.css +1 -1
  115. package/dist/templatical-editor.js +13 -13
  116. package/dist/{useEditorCore-C5APBjjV.js → useEditorCore-BUVbQgwb.js} +13 -13
  117. package/package.json +7 -7
  118. package/dist/DesignReferenceSidebar-QC4gEUWp.js +0 -273
  119. package/dist/SavedBlocksPickBar-cI7bDQQi.js +0 -52
  120. package/dist/cdn/chunks/AiChatSidebar-CjSEoK4x.js.map +0 -1
  121. package/dist/cdn/chunks/CloudPanels-bHhh9AUA.js.map +0 -1
  122. package/dist/cdn/chunks/CollaboratorBar-DgqcaGGI.js.map +0 -1
  123. package/dist/cdn/chunks/CommentsSidebar-C7oAP3Mx.js.map +0 -1
  124. package/dist/cdn/chunks/DesignReferenceSidebar-Bjo0M-AY.js +0 -223
  125. package/dist/cdn/chunks/DesignReferenceSidebar-Bjo0M-AY.js.map +0 -1
  126. package/dist/cdn/chunks/IssuesPanel-DdFk-Blf.js.map +0 -1
  127. package/dist/cdn/chunks/ParagraphEditor-DO4RzP8l.js.map +0 -1
  128. package/dist/cdn/chunks/SaveBlockDialog-LgxYrXyx.js.map +0 -1
  129. package/dist/cdn/chunks/SavedBlocksBrowserModal-CdeSsTpb.js.map +0 -1
  130. package/dist/cdn/chunks/SavedBlocksPickBar-Cl6PLwwV.js +0 -54
  131. package/dist/cdn/chunks/SavedBlocksPickBar-Cl6PLwwV.js.map +0 -1
  132. package/dist/cdn/chunks/TemplateScoringPanel--JxR6CsQ.js.map +0 -1
  133. package/dist/cdn/chunks/TestEmailModal-BAuDxJtD.js.map +0 -1
  134. package/dist/cdn/chunks/Toolbar-dxDYwN5E.js.map +0 -1
  135. package/dist/cdn/chunks/de-BytZwgn6.js.map +0 -1
  136. package/dist/cdn/chunks/en-DyOSV0lY.js.map +0 -1
  137. package/dist/cdn/chunks/pt-BR-C1WLSGDh.js.map +0 -1
@@ -1,21 +1,21 @@
1
- import { A as e, At as t, B as n, F as r, M as i, R as ee, S as a, Z as o, at as s, c, d as l, g as u, h as d, jt as f, kt as p, l as m, r as h, u as g, v as _ } from "./vue.runtime.esm-bundler-CyqhBwpY.js";
2
- import { t as te } from "./runtime-dom.esm-bundler-BGbPz4-g.js";
3
- import { D as ne, P as re, U as v, Z as y, g as b } from "./keys-BdoSgsz9.js";
4
- import { t as x } from "./createLucideIcon-BxY5yz5u.js";
5
- import { t as ie } from "./chevron-down-Dkr-7Ywl.js";
6
- import { t as S } from "./circle-alert-CYgTHKWr.js";
7
- import { t as ae } from "./eye-DphkRtAD.js";
8
- import { t as oe } from "./info-VSyAs02q.js";
9
- import { t as se } from "./loader-circle-z5eeqasv.js";
1
+ import { A as e, At as t, B as n, F as r, M as i, R as ee, S as a, Z as o, at as s, c, d as l, g as u, h as d, jt as f, kt as te, l as p, r as m, u as h, v as g } from "./vue.runtime.esm-bundler-CyqhBwpY.js";
2
+ import { t as ne } from "./runtime-dom.esm-bundler-BGbPz4-g.js";
3
+ import { D as re, P as ie, U as ae, Z as _, g as oe } from "./keys-BdoSgsz9.js";
4
+ import { t as v } from "./createLucideIcon-BxY5yz5u.js";
5
+ import { t as se } from "./chevron-down-Dkr-7Ywl.js";
6
+ import { t as y } from "./circle-alert-CYgTHKWr.js";
7
+ import { t as b } from "./eye-DphkRtAD.js";
8
+ import { t as x } from "./info-VSyAs02q.js";
9
+ import { t as S } from "./loader-circle-z5eeqasv.js";
10
10
  import { t as C } from "./refresh-cw-DPB7YFuz.js";
11
11
  import { t as w } from "./shield-check-COgBYFDF.js";
12
12
  import { t as T } from "./sparkles-Ds0RF8Iu.js";
13
13
  import { t as ce } from "./triangle-alert-DGLAyXnh.js";
14
14
  import { t as le } from "./x-3BHV3Q6K.js";
15
- import { t as ue } from "./LoadingTrack-C2jKCU2d.js";
15
+ import { t as ue } from "./LoadingTrack-C1Epulqq.js";
16
16
  import { t as E } from "./_plugin-vue_export-helper-B3ysoDQm.js";
17
17
  import { n as D } from "./useCloudI18n-D1iedlP3.js";
18
- var O = x({
18
+ var O = v({
19
19
  name: "shield-x",
20
20
  size: 24,
21
21
  node: [
@@ -33,7 +33,7 @@ var O = x({
33
33
  }]
34
34
  ],
35
35
  aliases: ["shield-close"]
36
- }), k = x({
36
+ }), k = v({
37
37
  name: "zap",
38
38
  size: 24,
39
39
  node: [["path", {
@@ -57,19 +57,16 @@ function N(e) {
57
57
  }
58
58
  //#endregion
59
59
  //#region src/cloud/components/TemplateScoringPanel.vue?vue&type=script&setup=true&lang.ts
60
- var P = {
61
- key: 0,
62
- class: "tpl-scoring-panel tpl:absolute tpl:top-14 tpl:right-0 tpl:bottom-0 tpl:flex tpl:w-[360px] tpl:flex-col tpl:border-l tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-elevated)]"
63
- }, F = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3" }, I = { class: "tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-primary)]" }, L = { class: "tpl:flex tpl:items-center tpl:gap-1" }, R = ["title"], z = { class: "tpl:flex-1 tpl:overflow-y-auto tpl:p-4" }, B = {
60
+ var P = ["aria-label"], F = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3" }, I = { class: "tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-primary)]" }, L = { class: "tpl:flex tpl:items-center tpl:gap-1" }, R = ["aria-label", "title"], z = ["aria-label"], B = { class: "tpl:flex-1 tpl:overflow-y-auto tpl:p-4" }, V = {
64
61
  key: 0,
65
62
  class: "tpl:flex tpl:h-full tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-3 tpl:text-center"
66
- }, V = { class: "tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, H = {
63
+ }, H = { class: "tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, U = {
67
64
  key: 1,
68
65
  class: "tpl:flex tpl:h-full tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-3 tpl:text-center"
69
- }, U = { class: "tpl:max-w-[240px] tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, de = {
66
+ }, de = { class: "tpl:max-w-[240px] tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, fe = {
70
67
  key: 2,
71
68
  class: "tpl:flex tpl:flex-col tpl:gap-4"
72
- }, fe = { class: "tpl:text-xs tpl:font-medium tpl:uppercase tpl:tracking-wider tpl:text-[var(--tpl-text-muted)]" }, pe = {
69
+ }, pe = { class: "tpl:text-xs tpl:font-medium tpl:uppercase tpl:tracking-wider tpl:text-[var(--tpl-text-muted)]" }, W = {
73
70
  key: 0,
74
71
  class: "tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
75
72
  }, me = {
@@ -86,28 +83,28 @@ var P = {
86
83
  class: "tpl:px-3 tpl:py-3 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
87
84
  }, be = { class: "tpl:flex tpl:items-start tpl:gap-2" }, xe = { class: "tpl:flex-1 tpl:min-w-0" }, Se = { class: "tpl:flex tpl:items-start tpl:gap-1.5" }, Ce = { class: "tpl:text-xs tpl:leading-snug tpl:text-[var(--tpl-text)]" }, we = {
88
85
  key: 0,
89
- class: "tpl:mt-1 tpl:text-[11px] tpl:leading-snug tpl:text-[var(--tpl-text-dim)]"
86
+ class: "tpl:mt-1 tpl:text-[10px] tpl:leading-snug tpl:text-[var(--tpl-text-dim)]"
90
87
  }, Te = {
91
88
  key: 1,
92
89
  class: "tpl:mt-2 tpl:flex tpl:justify-center"
93
90
  }, Ee = ["disabled", "onClick"], De = {
94
91
  key: 0,
95
- class: "tpl:mt-1.5 tpl:text-[11px] tpl:text-[var(--tpl-danger)]"
92
+ class: "tpl:mt-1.5 tpl:text-xs tpl:text-[var(--tpl-danger)]"
96
93
  }, Oe = {
97
94
  key: 3,
98
95
  class: "tpl:flex tpl:h-full tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-3 tpl:text-center"
99
- }, ke = { class: "tpl:max-w-[240px] tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, W = { 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__ */ _({
96
+ }, ke = { class: "tpl:max-w-[240px] tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, Ae = { class: "tpl:m-0 tpl:px-4 tpl:pb-2 tpl:pt-2 tpl:text-center tpl:text-[10px] tpl:text-[var(--tpl-text-dim)]" }, G = /*#__PURE__*/ E(/* @__PURE__ */ g({
100
97
  __name: "TemplateScoringPanel",
101
98
  props: { visible: { type: Boolean } },
102
99
  emits: ["close"],
103
- setup(_, { emit: x }) {
104
- let E = _, G = x, { t: K } = D(), q = y(b, "TemplateScoringPanel"), J = y(v, "TemplateScoringPanel"), Y = a(ne, re), X = o({
100
+ setup(g, { emit: v }) {
101
+ let E = g, G = v, { t: K } = D(), q = _(oe, "TemplateScoringPanel"), J = _(ae, "TemplateScoringPanel"), Y = a(re, ie), X = o({
105
102
  spam: !0,
106
103
  readability: !0,
107
104
  accessibility: !0,
108
105
  bestPractices: !0
109
106
  });
110
- function Ae(e) {
107
+ function je(e) {
111
108
  X.value[e] = !X.value[e];
112
109
  }
113
110
  let Z = [
@@ -115,9 +112,9 @@ var P = {
115
112
  "readability",
116
113
  "accessibility",
117
114
  "bestPractices"
118
- ], je = {
115
+ ], Me = {
119
116
  spam: O,
120
- readability: ae,
117
+ readability: b,
121
118
  accessibility: T,
122
119
  bestPractices: k
123
120
  };
@@ -127,7 +124,7 @@ var P = {
127
124
  ee(() => E.visible, (e) => {
128
125
  e && !J.scoringResult.value && !J.isScoring.value && Q();
129
126
  });
130
- async function Me(e) {
127
+ async function Ne(e) {
131
128
  if (!e.blockId) return;
132
129
  let t = q.content.value.blocks.find((t) => t.id === e.blockId);
133
130
  if (!t) return;
@@ -139,7 +136,7 @@ var P = {
139
136
  function $() {
140
137
  return J.scoringResult.value ? Z.reduce((e, t) => e + (J.scoringResult.value?.categories[t]?.findings.length ?? 0), 0) : 0;
141
138
  }
142
- return (ee, a) => (e(), m(te, {
139
+ return (ee, a) => (e(), p(ne, {
143
140
  "enter-active-class": "tpl-scoring-slide-enter-active",
144
141
  "enter-from-class": "tpl:translate-x-full",
145
142
  "enter-to-class": "tpl:translate-x-0",
@@ -147,30 +144,39 @@ var P = {
147
144
  "leave-from-class": "tpl:translate-x-0",
148
145
  "leave-to-class": "tpl:translate-x-full"
149
146
  }, {
150
- default: n(() => [_.visible ? (e(), l("div", P, [c("div", F, [c("div", I, [u(s(w), {
147
+ default: n(() => [g.visible ? (e(), l("div", {
148
+ key: 0,
149
+ role: "complementary",
150
+ "aria-label": s(K).scoring.title,
151
+ class: "tpl-scoring-panel tpl:absolute tpl:top-14 tpl:right-0 tpl:bottom-0 tpl:flex tpl:w-[360px] tpl:flex-col tpl:border-l tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-elevated)]"
152
+ }, [c("div", F, [c("div", I, [u(s(w), {
151
153
  size: 13,
152
154
  "stroke-width": 2
153
155
  }), c("span", null, f(s(K).scoring.title), 1)]), c("div", L, [s(J).scoringResult.value && !s(J).isScoring.value ? (e(), l("button", {
154
156
  key: 0,
157
+ type: "button",
155
158
  class: "tpl:rounded-md tpl:p-0.5 tpl:transition-colors tpl:text-[var(--tpl-text-muted)]",
159
+ "aria-label": s(K).scoring.rescore,
156
160
  title: s(K).scoring.rescore,
157
161
  onClick: a[0] ||= (e) => Q()
158
162
  }, [u(s(C), {
159
163
  size: 14,
160
164
  "stroke-width": 2
161
- })], 8, R)) : g("", !0), c("button", {
165
+ })], 8, R)) : h("", !0), c("button", {
166
+ type: "button",
162
167
  class: "tpl:rounded-md tpl:p-0.5 tpl:transition-colors tpl:text-[var(--tpl-text-muted)]",
168
+ "aria-label": s(K).scoring.close,
163
169
  onClick: a[1] ||= (e) => G("close")
164
170
  }, [u(s(le), {
165
171
  size: 14,
166
172
  "stroke-width": 2
167
- })])])]), c("div", z, [s(J).isScoring.value ? (e(), l("div", B, [c("p", V, f(s(K).scoring.scoring), 1), u(ue, { class: "tpl:w-3/4" })])) : s(J).error.value && !s(J).scoringResult.value ? (e(), l("div", H, [
168
- u(s(S), {
173
+ })], 8, z)])]), c("div", B, [s(J).isScoring.value ? (e(), l("div", V, [c("p", H, f(s(K).scoring.scoring), 1), u(ue, { class: "tpl:w-3/4" })])) : s(J).error.value && !s(J).scoringResult.value ? (e(), l("div", U, [
174
+ u(s(y), {
169
175
  size: 32,
170
176
  "stroke-width": 1.5,
171
177
  class: "tpl:text-[var(--tpl-danger)]"
172
178
  }),
173
- c("p", U, f(s(K).scoring.error), 1),
179
+ c("p", de, f(s(K).scoring.error), 1),
174
180
  c("button", {
175
181
  class: "tpl:mt-2 tpl:inline-flex tpl:items-center tpl:gap-1.5 tpl:rounded-md tpl:border tpl:px-3 tpl:py-1.5 tpl:text-xs tpl:font-medium tpl:transition-all tpl:border-[var(--tpl-border)] tpl:text-[var(--tpl-text-muted)]",
176
182
  onClick: a[2] ||= (e) => Q()
@@ -178,7 +184,7 @@ var P = {
178
184
  size: 12,
179
185
  "stroke-width": 2
180
186
  }), d(" " + f(s(K).scoring.rescore), 1)])
181
- ])) : s(J).scoringResult.value ? (e(), l("div", de, [
187
+ ])) : s(J).scoringResult.value ? (e(), l("div", fe, [
182
188
  c("div", {
183
189
  class: "tpl:flex tpl:flex-col tpl:items-center tpl:gap-2 tpl:rounded-[var(--tpl-radius)] tpl:p-5",
184
190
  style: t({ backgroundColor: s(j)(s(J).scoringResult.value.score) })
@@ -187,22 +193,22 @@ var P = {
187
193
  class: "tpl:text-4xl tpl:font-bold tpl:tabular-nums",
188
194
  style: t({ color: s(A)(s(J).scoringResult.value.score) })
189
195
  }, f(s(J).scoringResult.value.score), 5),
190
- c("span", fe, f(s(K).scoring.overallScore), 1),
191
- $() > 0 ? (e(), l("span", pe, f($()) + " " + f(s(K).scoring.findings), 1)) : g("", !0)
196
+ c("span", pe, f(s(K).scoring.overallScore), 1),
197
+ $() > 0 ? (e(), l("span", W, f($()) + " " + f(s(K).scoring.findings), 1)) : h("", !0)
192
198
  ], 4),
193
- s(J).fixError.value ? (e(), l("div", me, [u(s(S), {
199
+ s(J).fixError.value ? (e(), l("div", me, [u(s(y), {
194
200
  size: 14,
195
201
  "stroke-width": 2,
196
202
  class: "tpl:mt-0.5 tpl:shrink-0"
197
- }), c("span", null, f(s(K).scoring.fixError), 1)])) : g("", !0),
198
- (e(), l(h, null, i(Z, (n) => c("div", {
203
+ }), c("span", null, f(s(K).scoring.fixError), 1)])) : h("", !0),
204
+ (e(), l(m, null, i(Z, (n) => c("div", {
199
205
  key: n,
200
206
  class: "tpl:overflow-hidden tpl:rounded-[var(--tpl-radius)] tpl:border tpl:border-[var(--tpl-border)]"
201
207
  }, [c("button", {
202
208
  class: "tpl:flex tpl:w-full tpl:cursor-pointer tpl:items-center tpl:gap-2.5 tpl:px-3 tpl:py-2.5 tpl:text-left tpl:transition-colors tpl:bg-[var(--tpl-bg)]",
203
- onClick: (e) => Ae(n)
209
+ onClick: (e) => je(n)
204
210
  }, [
205
- (e(), m(r(je[n]), {
211
+ (e(), p(r(Me[n]), {
206
212
  size: 14,
207
213
  "stroke-width": 2,
208
214
  style: t({ color: s(A)(s(J).scoringResult.value.categories[n].score) })
@@ -215,16 +221,16 @@ var P = {
215
221
  backgroundColor: s(j)(s(J).scoringResult.value.categories[n].score)
216
222
  })
217
223
  }, f(s(J).scoringResult.value.categories[n].score), 5),
218
- s(J).scoringResult.value.categories[n].findings.length > 0 ? (e(), l("span", _e, f(s(J).scoringResult.value.categories[n].findings.length), 1)) : g("", !0),
219
- u(s(ie), {
224
+ s(J).scoringResult.value.categories[n].findings.length > 0 ? (e(), l("span", _e, f(s(J).scoringResult.value.categories[n].findings.length), 1)) : h("", !0),
225
+ u(s(se), {
220
226
  size: 12,
221
227
  "stroke-width": 2,
222
- class: p(["tpl:transition-transform tpl:duration-200 tpl:text-[var(--tpl-text-dim)]", X.value[n] ? "tpl:rotate-0" : "tpl:-rotate-90"])
228
+ class: te(["tpl:transition-transform tpl:duration-200 tpl:text-[var(--tpl-text-dim)]", X.value[n] ? "tpl:rotate-0" : "tpl:-rotate-90"])
223
229
  }, null, 8, ["class"])
224
- ], 8, he), X.value[n] ? (e(), l("div", ve, [s(J).scoringResult.value.categories[n].findings.length === 0 ? (e(), l("div", ye, f(s(K).scoring.noFindings), 1)) : g("", !0), (e(!0), l(h, null, i(s(J).scoringResult.value.categories[n].findings, (n) => (e(), l("div", {
230
+ ], 8, he), X.value[n] ? (e(), l("div", ve, [s(J).scoringResult.value.categories[n].findings.length === 0 ? (e(), l("div", ye, f(s(K).scoring.noFindings), 1)) : h("", !0), (e(!0), l(m, null, i(s(J).scoringResult.value.categories[n].findings, (n) => (e(), l("div", {
225
231
  key: n.id,
226
232
  class: "tpl:border-t tpl:px-3 tpl:py-2.5 tpl:first:border-t-0 tpl:border-[var(--tpl-border-light)]"
227
- }, [c("div", be, [(e(), m(r(n.severity === "high" ? s(S) : n.severity === "medium" ? s(ce) : s(oe)), {
233
+ }, [c("div", be, [(e(), p(r(n.severity === "high" ? s(y) : n.severity === "medium" ? s(ce) : s(x)), {
228
234
  size: 13,
229
235
  "stroke-width": 2,
230
236
  class: "tpl:mt-0.5 tpl:shrink-0",
@@ -237,31 +243,31 @@ var P = {
237
243
  backgroundColor: s(N)(n.severity)
238
244
  })
239
245
  }, f(s(K).scoring.severity[n.severity]), 5), c("span", Ce, f(n.message), 1)]),
240
- n.suggestion ? (e(), l("p", we, f(n.suggestion), 1)) : g("", !0),
246
+ n.suggestion ? (e(), l("p", we, f(n.suggestion), 1)) : h("", !0),
241
247
  n.blockId ? (e(), l("div", Te, [c("button", {
242
- class: "tpl-scoring-fix-btn tpl:inline-flex tpl:items-center tpl:gap-1.5 tpl:rounded tpl:border tpl:px-3 tpl:py-1.5 tpl:text-[11px] tpl:font-medium tpl:transition-all tpl:disabled:opacity-50 tpl:border-[var(--tpl-border)] tpl:text-[var(--tpl-primary)]",
248
+ class: "tpl-scoring-fix-btn tpl:inline-flex tpl:items-center tpl:gap-1.5 tpl:rounded tpl:border tpl:px-3 tpl:py-1.5 tpl:text-xs tpl:font-medium tpl:transition-all tpl:disabled:opacity-50 tpl:border-[var(--tpl-border)] tpl:text-[var(--tpl-primary)]",
243
249
  style: { "background-color": "transparent" },
244
250
  disabled: s(J).fixingFindingId.value !== null,
245
- onClick: (e) => Me(n)
246
- }, [s(J).fixingFindingId.value === n.id ? (e(), m(s(se), {
251
+ onClick: (e) => Ne(n)
252
+ }, [s(J).fixingFindingId.value === n.id ? (e(), p(s(S), {
247
253
  key: 0,
248
254
  class: "tpl-spinner",
249
255
  size: 11,
250
256
  "stroke-width": 2
251
- })) : (e(), m(s(T), {
257
+ })) : (e(), p(s(T), {
252
258
  key: 1,
253
259
  size: 11,
254
260
  "stroke-width": 2
255
- })), d(" " + f(s(J).fixingFindingId.value === n.id ? s(K).scoring.fixing : s(K).scoring.fix), 1)], 8, Ee), s(J).fixError.value ? (e(), l("p", De, f(s(J).fixError.value), 1)) : g("", !0)])) : g("", !0)
256
- ])])]))), 128))])) : g("", !0)])), 64))
261
+ })), d(" " + f(s(J).fixingFindingId.value === n.id ? s(K).scoring.fixing : s(K).scoring.fix), 1)], 8, Ee), s(J).fixError.value ? (e(), l("p", De, f(s(J).fixError.value), 1)) : h("", !0)])) : h("", !0)
262
+ ])])]))), 128))])) : h("", !0)])), 64))
257
263
  ])) : (e(), l("div", Oe, [u(s(w), {
258
264
  size: 32,
259
265
  "stroke-width": 1.5,
260
266
  class: "tpl:text-[var(--tpl-text-dim)]"
261
- }), c("p", ke, f(s(K).scoring.emptyState), 1)])), c("p", W, f(s(K).aiMenu.disclaimer), 1)])])) : g("", !0)]),
267
+ }), c("p", ke, f(s(K).scoring.emptyState), 1)])), c("p", Ae, f(s(K).aiMenu.disclaimer), 1)])], 8, P)) : h("", !0)]),
262
268
  _: 1
263
269
  }));
264
270
  }
265
- }), [["__scopeId", "data-v-e9458def"]]);
271
+ }), [["__scopeId", "data-v-165e948a"]]);
266
272
  //#endregion
267
273
  export { G as default };
@@ -1,15 +1,15 @@
1
1
  import { A as e, B as t, M as n, R as r, S as i, V as a, Z as o, at as s, c, d as l, g as u, h as d, jt as f, kt as p, l as m, r as h, s as g, u as _, v } from "./vue.runtime.esm-bundler-CyqhBwpY.js";
2
2
  import { a as ee, i as te } from "./runtime-dom.esm-bundler-BGbPz4-g.js";
3
3
  import { N as ne } from "./dist-tGkjkX-v.js";
4
- import { L as re } from "./useEditorCore-C5APBjjV.js";
4
+ import { L as re } from "./useEditorCore-BUVbQgwb.js";
5
5
  import { D as ie, P as ae, V as y, g as oe, j as se } from "./keys-BdoSgsz9.js";
6
6
  import { t as ce } from "./useI18n-Ds_-druD.js";
7
7
  import { t as le } from "./check-eqb2JhqU.js";
8
8
  import { t as ue } from "./loader-circle-z5eeqasv.js";
9
9
  import { n as de, t as fe } from "./MergeTagModeToggle-D793Bj_E.js";
10
10
  import { v as pe } from "./styleConstants-C_YAPdQS.js";
11
- import { t as me } from "./TplModal-C8xGjC1l.js";
12
- import { t as he } from "./BlockPreviewCanvas-DXGjUECG.js";
11
+ import { t as me } from "./TplModal-DVMS_nAn.js";
12
+ import { t as he } from "./BlockPreviewCanvas-BMC16_QU.js";
13
13
  //#region src/utils/validateEmailShape.ts
14
14
  var b = /[,;<>()[\]\\"'`|/?#@!$%^&*+=~{}]/;
15
15
  function x(e) {
@@ -129,14 +129,14 @@ var S = ["aria-busy"], C = {
129
129
  value: H.value,
130
130
  disabled: "",
131
131
  "data-testid": "test-email-recipient",
132
- class: "tpl:h-9 tpl:w-full tpl:rounded-md tpl:border tpl:px-3 tpl:py-1 tpl:text-sm tpl:opacity-70 tpl:shadow-[var(--tpl-shadow-sm)] tpl:outline-none tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text)]"
132
+ class: "tpl:h-9 tpl:w-full tpl:rounded-md tpl:border tpl:px-3 tpl:py-1 tpl:text-sm tpl:opacity-70 tpl:shadow-[var(--tpl-shadow-sm)] tpl:outline-none tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[var(--tpl-ring)] tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text)]"
133
133
  }, null, 8, E)) : J.value ? a((e(), l("select", {
134
134
  key: 1,
135
135
  id: "tpl-test-email-recipient",
136
136
  "onUpdate:modelValue": i[0] ||= (e) => H.value = e,
137
137
  disabled: v.isSending || v.justSent,
138
138
  "data-testid": "test-email-recipient",
139
- class: "tpl:h-9 tpl:w-full tpl:rounded-md tpl:border tpl:px-3 tpl:py-1 tpl:text-sm tpl:shadow-[var(--tpl-shadow-sm)] tpl:outline-none tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text)]"
139
+ class: "tpl:h-9 tpl:w-full tpl:rounded-md tpl:border tpl:px-3 tpl:py-1 tpl:text-sm tpl:shadow-[var(--tpl-shadow-sm)] tpl:outline-none tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[var(--tpl-ring)] tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text)]"
140
140
  }, [(e(!0), l(h, null, n(v.allowedRecipients, (t) => (e(), l("option", {
141
141
  key: t,
142
142
  value: t
@@ -150,7 +150,7 @@ var S = ["aria-busy"], C = {
150
150
  placeholder: s(V).testEmail.recipientPlaceholder,
151
151
  disabled: v.isSending || v.justSent,
152
152
  "data-testid": "test-email-recipient",
153
- class: "tpl:h-9 tpl:w-full tpl:rounded-md tpl:border tpl:px-3 tpl:py-1 tpl:text-sm tpl:shadow-[var(--tpl-shadow-sm)] tpl:outline-none tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text)]"
153
+ class: "tpl:h-9 tpl:w-full tpl:rounded-md tpl:border tpl:px-3 tpl:py-1 tpl:text-sm tpl:shadow-[var(--tpl-shadow-sm)] tpl:outline-none tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[var(--tpl-ring)] tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text)]"
154
154
  }, null, 8, k)), [[ee, H.value]]),
155
155
  Oe.value ? (e(), l("p", A, f(s(V).testEmail.invalidAddress), 1)) : _("", !0)
156
156
  ]),
@@ -5,7 +5,7 @@ var o = /* @__PURE__ */ a({
5
5
  __name: "TestEmailPanel",
6
6
  props: { feature: {} },
7
7
  setup(a) {
8
- let o = a, s = t(() => import("./TestEmailModal-DJ5q_u4N.js"));
8
+ let o = a, s = t(() => import("./TestEmailModal-maM8SLBV.js"));
9
9
  function c(e) {
10
10
  o.feature.send(e);
11
11
  }
@@ -1,5 +1,5 @@
1
1
  import { A as e, At as t, K as n, S as r, at as i, c as a, d as o, g as s, h as c, i as l, jt as u, kt as d, l as f, r as p, s as m, u as h, v as g } from "./vue.runtime.esm-bundler-CyqhBwpY.js";
2
- import { b as ee, x as te } from "./useEditorCore-C5APBjjV.js";
2
+ import { b as ee, x as te } from "./useEditorCore-BUVbQgwb.js";
3
3
  import { K as ne, T as re, Y as _, k as v } from "./keys-BdoSgsz9.js";
4
4
  import { t as y } from "./useI18n-Ds_-druD.js";
5
5
  import { n as b } from "./usePopoverPosition-Du-Ah8E9.js";