@templatical/editor 0.15.0 → 0.15.1

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 (67) hide show
  1. package/dist/{AiFeatureMenu-QbD82crt.js → AiFeatureMenu-CU6kTMTf.js} +1 -1
  2. package/dist/{CloudEditor-DptuSf7A.js → CloudEditor-DRPxvUEj.js} +4 -4
  3. package/dist/{CollaboratorBar-DrA_K69w.js → CollaboratorBar-DMSjd3HZ.js} +1 -1
  4. package/dist/{ModuleBrowserModal-D45rBj5C.js → ModuleBrowserModal-BOzleijA.js} +4 -4
  5. package/dist/{ModulePreviewCanvas-BiQ6B2-l.js → ModulePreviewCanvas-Cg99Pbde.js} +1 -1
  6. package/dist/{ParagraphEditor-1NaUJpZO.js → ParagraphEditor-8jnzoL0A.js} +4 -2
  7. package/dist/{SaveModuleDialog-B0sPOTgO.js → SaveModuleDialog-Cy2XyjYT.js} +2 -2
  8. package/dist/{SnapshotHistory-DslVzmSb.js → SnapshotHistory-cfxmOsJu.js} +1 -1
  9. package/dist/{TestEmailModal-DWGniJVu.js → TestEmailModal-sr1MaMVX.js} +2 -2
  10. package/dist/{TitleEditor-D4t_gZZJ.js → TitleEditor-CvGTprIg.js} +3 -2
  11. package/dist/{TplModal-Br2VG6cn.js → TplModal-BtKB-0Bx.js} +1 -1
  12. package/dist/{blockTypeIcons-CXhCS5WV.js → blockTypeIcons-BxEbbev5.js} +1 -1
  13. package/dist/bundle-stats.json +6 -6
  14. package/dist/cdn/chunks/{AiFeatureMenu-3Slo_LGA.js → AiFeatureMenu-fDUpv_-s.js} +2 -2
  15. package/dist/cdn/chunks/{AiFeatureMenu-3Slo_LGA.js.map → AiFeatureMenu-fDUpv_-s.js.map} +1 -1
  16. package/dist/cdn/chunks/{BlockIssueBadge-BxwEiiF3.js → BlockIssueBadge-Byce0j0W.js} +2 -2
  17. package/dist/cdn/chunks/{BlockIssueBadge-BxwEiiF3.js.map → BlockIssueBadge-Byce0j0W.js.map} +1 -1
  18. package/dist/cdn/chunks/{CloudEditor-DFIFWD9G.js → CloudEditor-B4m8ldiE.js} +8 -8
  19. package/dist/cdn/chunks/{CloudEditor-DFIFWD9G.js.map → CloudEditor-B4m8ldiE.js.map} +1 -1
  20. package/dist/cdn/chunks/{CollaboratorBar-Cu3vuN66.js → CollaboratorBar-LnLmjxw_.js} +3 -3
  21. package/dist/cdn/chunks/{CollaboratorBar-Cu3vuN66.js.map → CollaboratorBar-LnLmjxw_.js.map} +1 -1
  22. package/dist/cdn/chunks/{CountdownBlock-BEVAJQtQ.js → CountdownBlock-DxTuMRBM.js} +2 -2
  23. package/dist/cdn/chunks/{CountdownBlock-BEVAJQtQ.js.map → CountdownBlock-DxTuMRBM.js.map} +1 -1
  24. package/dist/cdn/chunks/{CountdownToolbar-CI2sQZv5.js → CountdownToolbar-DUrVfQZH.js} +3 -3
  25. package/dist/cdn/chunks/{CountdownToolbar-CI2sQZv5.js.map → CountdownToolbar-DUrVfQZH.js.map} +1 -1
  26. package/dist/cdn/chunks/{IssuesPanel-BdeDoTcn.js → IssuesPanel-CHl90k4h.js} +3 -3
  27. package/dist/cdn/chunks/{IssuesPanel-BdeDoTcn.js.map → IssuesPanel-CHl90k4h.js.map} +1 -1
  28. package/dist/cdn/chunks/{ModuleBrowserModal-Dz-I5zfj.js → ModuleBrowserModal-DW0iQW0J.js} +5 -5
  29. package/dist/cdn/chunks/{ModuleBrowserModal-Dz-I5zfj.js.map → ModuleBrowserModal-DW0iQW0J.js.map} +1 -1
  30. package/dist/cdn/chunks/{ModulePreviewCanvas-BfinyuAN.js → ModulePreviewCanvas-Cxo8v8t1.js} +2 -2
  31. package/dist/cdn/chunks/{ModulePreviewCanvas-BfinyuAN.js.map → ModulePreviewCanvas-Cxo8v8t1.js.map} +1 -1
  32. package/dist/cdn/chunks/{NumberWithSuffix-CDjEa08X.js → NumberWithSuffix-CnSRmUMK.js} +2 -2
  33. package/dist/cdn/chunks/{NumberWithSuffix-CDjEa08X.js.map → NumberWithSuffix-CnSRmUMK.js.map} +1 -1
  34. package/dist/cdn/chunks/{ParagraphEditor-B3fG0vge.js → ParagraphEditor-iG5cDjH0.js} +8 -6
  35. package/dist/cdn/chunks/{ParagraphEditor-B3fG0vge.js.map → ParagraphEditor-iG5cDjH0.js.map} +1 -1
  36. package/dist/cdn/chunks/{RichTextEditorContent-C6YPCp9j.js → RichTextEditorContent-DQpgeGMj.js} +2 -2
  37. package/dist/cdn/chunks/{RichTextEditorContent-C6YPCp9j.js.map → RichTextEditorContent-DQpgeGMj.js.map} +1 -1
  38. package/dist/cdn/chunks/{SaveModuleDialog-C6UIIVAM.js → SaveModuleDialog-sJQXg2Mh.js} +2 -2
  39. package/dist/cdn/chunks/{SaveModuleDialog-C6UIIVAM.js.map → SaveModuleDialog-sJQXg2Mh.js.map} +1 -1
  40. package/dist/cdn/chunks/{TitleEditor-BiZbLYF1.js → TitleEditor-C8qIn9Oi.js} +7 -6
  41. package/dist/cdn/chunks/TitleEditor-C8qIn9Oi.js.map +1 -0
  42. package/dist/cdn/chunks/{blockTypeIcons-BernVG06.js → blockTypeIcons-DySnOpPo.js} +3 -3
  43. package/dist/cdn/chunks/{blockTypeIcons-BernVG06.js.map → blockTypeIcons-DySnOpPo.js.map} +1 -1
  44. package/dist/cdn/chunks/{extensions-Drp8UDc6.js → extensions-C2pTX899.js} +2 -2
  45. package/dist/cdn/chunks/{extensions-Drp8UDc6.js.map → extensions-C2pTX899.js.map} +1 -1
  46. package/dist/cdn/chunks/{features-Dpczf9Su.js → features-CHE3YjQE.js} +8 -8
  47. package/dist/cdn/chunks/{features-Dpczf9Su.js.map → features-CHE3YjQE.js.map} +1 -1
  48. package/dist/cdn/chunks/{icons-CuxnJiGQ.js → icons-M4uqBV-_.js} +2 -2
  49. package/dist/cdn/chunks/{icons-CuxnJiGQ.js.map → icons-M4uqBV-_.js.map} +1 -1
  50. package/dist/cdn/chunks/{media-library-CiYl_BO7.js → media-library-Bqr15VN2.js} +3 -3
  51. package/dist/cdn/chunks/{media-library-CiYl_BO7.js.map → media-library-Bqr15VN2.js.map} +1 -1
  52. package/dist/cdn/chunks/{quality-CNjGxBG0.js → quality-DJZ_fqc2.js} +2 -2
  53. package/dist/cdn/chunks/{quality-CNjGxBG0.js.map → quality-DJZ_fqc2.js.map} +1 -1
  54. package/dist/cdn/chunks/{renderer-CFkg8h-K.js → renderer-CyzTR1Vq.js} +3 -3
  55. package/dist/cdn/chunks/{renderer-CFkg8h-K.js.map → renderer-CyzTR1Vq.js.map} +1 -1
  56. package/dist/cdn/chunks/{src-DRpKu4Dy.js → src-q-SBgWx7.js} +4 -4
  57. package/dist/cdn/chunks/{src-DRpKu4Dy.js.map → src-q-SBgWx7.js.map} +1 -1
  58. package/dist/cdn/chunks/{styles-B7wryV0l.js → styles-PWISdaws.js} +8 -8
  59. package/dist/cdn/chunks/{styles-B7wryV0l.js.map → styles-PWISdaws.js.map} +1 -1
  60. package/dist/cdn/editor.css +1 -1
  61. package/dist/cdn/editor.js +6 -6
  62. package/dist/style.css +1 -1
  63. package/dist/{styles-D7fQ7f_1.js → styles-B2OrgEnn.js} +3 -3
  64. package/dist/templatical-editor.js +4 -4
  65. package/dist/{useEditorCore-vcWLdnjN.js → useEditorCore-DJeOXVxQ.js} +4 -4
  66. package/package.json +7 -7
  67. package/dist/cdn/chunks/TitleEditor-BiZbLYF1.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  import { A as e, Dt as t, N as n, O as r, Ot as i, _ as a, c as o, d as s, l as c, r as l, s as u } from "./vue.runtime.esm-bundler-l0XAqiyv.js";
2
- import "./useEditorCore-vcWLdnjN.js";
2
+ import "./useEditorCore-DJeOXVxQ.js";
3
3
  import { L as d, t as f } from "./keys-Cv8-8GsD.js";
4
4
  import { t as p } from "./image-up-BwBCmQ4P.js";
5
5
  import { t as m } from "./shield-check-Bqluu8FS.js";
@@ -2,7 +2,7 @@ import { A as e, D as t, Dt as n, E as r, Et as i, I as a, K as o, O as s, Ot as
2
2
  import { c as E, o as D, t as O } from "./runtime-dom.esm-bundler-BzuoCyNp.js";
3
3
  import { t as k } from "./timeouts-Bmi_yePw.js";
4
4
  import { O as A, a as j } from "./dist-BibU4HNl.js";
5
- import { I as M, b as ee, t as N, w as P } from "./useEditorCore-vcWLdnjN.js";
5
+ import { I as M, b as ee, t as N, w as P } from "./useEditorCore-DJeOXVxQ.js";
6
6
  import { m as F } from "./dist-CTT6WYJ6.js";
7
7
  import { t as I } from "./dist-BEWiuOMi.js";
8
8
  import { D as L, M as R, c as z, j as te, l as ne, r as B, s as re, t as ie } from "./keys-Cv8-8GsD.js";
@@ -10,7 +10,7 @@ import { t as V } from "./useI18n-C-TDeJBt.js";
10
10
  import { t as H } from "./createLucideIcon-Dx-EjR9r.js";
11
11
  import { t as U } from "./check-rl7ok6uJ.js";
12
12
  import { t as W } from "./circle-alert-C8xmpMsK.js";
13
- import { a as G, c as ae, d as oe, f as K, i as q, l as se, n as ce, o as le, p as ue, r as de, s as fe, t as pe, u as me } from "./styles-D7fQ7f_1.js";
13
+ import { a as G, c as ae, d as oe, f as K, i as q, l as se, n as ce, o as le, p as ue, r as de, s as fe, t as pe, u as me } from "./styles-B2OrgEnn.js";
14
14
  import { t as he } from "./clock-BW4JuDCN.js";
15
15
  import { t as J } from "./loader-circle-BLmicnPG.js";
16
16
  import { t as ge } from "./message-circle-C9hHMQCI.js";
@@ -628,7 +628,7 @@ var Ge = ["aria-label"], Ke = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
628
628
  },
629
629
  emits: ["save"],
630
630
  setup(e) {
631
- let t = h(() => import("./CollaboratorBar-DrA_K69w.js")), r = h(() => import("./SnapshotHistory-DslVzmSb.js")), a = h(() => import("./AiFeatureMenu-QbD82crt.js")), { t: o, format: u } = Q();
631
+ let t = h(() => import("./CollaboratorBar-DMSjd3HZ.js")), r = h(() => import("./SnapshotHistory-cfxmOsJu.js")), a = h(() => import("./AiFeatureMenu-CU6kTMTf.js")), { t: o, format: u } = Q();
632
632
  return (d, f) => (s(), m("header", tt, [
633
633
  p("div", nt, [e.featureFlags.templateLimit.value === null ? w("", !0) : (s(), m("span", rt, c(b(u)(b(o).header.templatesUsed, {
634
634
  used: e.featureFlags.templateCount.value,
@@ -790,7 +790,7 @@ var Ge = ["aria-label"], Ke = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
790
790
  "module-insert"
791
791
  ],
792
792
  setup(e, { expose: t, emit: n }) {
793
- let r = h(() => import("./AiChatSidebar-BIKvYREk.js")), i = h(() => import("./CommentsSidebar-D_tSGvTX.js")), a = h(() => import("./DesignReferenceSidebar-DWYK9nTk.js")), o = h(() => import("./TemplateScoringPanel-CZ62rGHz.js")), c = h(() => import("./TestEmailModal-DWGniJVu.js")), l = h(() => import("./SaveModuleDialog-B0sPOTgO.js")), d = h(() => import("./ModuleBrowserModal-D45rBj5C.js")), f = h(async () => {
793
+ let r = h(() => import("./AiChatSidebar-BIKvYREk.js")), i = h(() => import("./CommentsSidebar-D_tSGvTX.js")), a = h(() => import("./DesignReferenceSidebar-DWYK9nTk.js")), o = h(() => import("./TemplateScoringPanel-CZ62rGHz.js")), c = h(() => import("./TestEmailModal-sr1MaMVX.js")), l = h(() => import("./SaveModuleDialog-Cy2XyjYT.js")), d = h(() => import("./ModuleBrowserModal-BOzleijA.js")), f = h(async () => {
794
794
  try {
795
795
  return (await import("@templatical/media-library")).MediaLibraryModal;
796
796
  } catch {
@@ -1,5 +1,5 @@
1
1
  import { A as e, Dt as t, O as n, Ot as r, _ as i, c as a, d as o, l as s, nt as c, r as l, s as u, u as d } from "./vue.runtime.esm-bundler-l0XAqiyv.js";
2
- import "./useEditorCore-vcWLdnjN.js";
2
+ import "./useEditorCore-DJeOXVxQ.js";
3
3
  import { t as f } from "./createLucideIcon-Dx-EjR9r.js";
4
4
  import { n as p } from "./useCloudI18n-AKCy98qD.js";
5
5
  import { t as m } from "./readableTextColor-f8Kykfnh.js";
@@ -1,13 +1,13 @@
1
1
  import { A as e, Dt as t, I as n, N as r, O as i, Ot as a, R as o, Y as s, _ as c, c as l, d as u, g as ee, h as d, l as f, nt as p, r as m, s as h, u as te, z as g } from "./vue.runtime.esm-bundler-l0XAqiyv.js";
2
2
  import { a as ne, c as _, i as re } from "./runtime-dom.esm-bundler-BzuoCyNp.js";
3
- import "./useEditorCore-vcWLdnjN.js";
3
+ import "./useEditorCore-DJeOXVxQ.js";
4
4
  import { L as v, j as ie, m as ae } from "./keys-Cv8-8GsD.js";
5
5
  import { t as oe } from "./useI18n-C-TDeJBt.js";
6
- import { n as se, r as y, t as b } from "./blockTypeIcons-CXhCS5WV.js";
6
+ import { n as se, r as y, t as b } from "./blockTypeIcons-BxEbbev5.js";
7
7
  import { t as ce } from "./trash-2-C-81rkLS.js";
8
8
  import { t as le } from "./x-CQSvXnGR.js";
9
9
  import { n as ue } from "./useCloudI18n-AKCy98qD.js";
10
- import { t as de } from "./TplModal-Br2VG6cn.js";
10
+ import { t as de } from "./TplModal-BtKB-0Bx.js";
11
11
  //#region src/cloud/components/ModuleBrowserModal.vue?vue&type=script&setup=true&lang.ts
12
12
  var fe = {
13
13
  role: "dialog",
@@ -46,7 +46,7 @@ var fe = {
46
46
  props: { visible: { type: Boolean } },
47
47
  emits: ["close", "insert"],
48
48
  setup(c, { emit: B }) {
49
- let Te = c, V = B, Ee = ee(() => import("./ModulePreviewCanvas-BiQ6B2-l.js")), { t: De } = oe(), { t: H } = ue(), U = v(ie, "ModuleBrowserModal"), W = v(ae, "ModuleBrowserModal"), G = s(""), K = s(null), q = s(null), J = s("end"), Y = h(() => {
49
+ let Te = c, V = B, Ee = ee(() => import("./ModulePreviewCanvas-Cg99Pbde.js")), { t: De } = oe(), { t: H } = ue(), U = v(ie, "ModuleBrowserModal"), W = v(ae, "ModuleBrowserModal"), G = s(""), K = s(null), q = s(null), J = s("end"), Y = h(() => {
50
50
  let e = U.modules.value;
51
51
  if (!G.value) return e;
52
52
  let t = G.value.toLowerCase();
@@ -1,5 +1,5 @@
1
1
  import { A as e, Dt as t, M as n, N as r, O as i, _ as a, c as o, d as s, l as c, nt as l, r as u, s as d, x as f } from "./vue.runtime.esm-bundler-l0XAqiyv.js";
2
- import { F as p, _ as m, a as h, d as g, f as _, h as v, i as y, l as b, m as x, n as S, p as C, r as w, v as T, y as E } from "./useEditorCore-vcWLdnjN.js";
2
+ import { F as p, _ as m, a as h, d as g, f as _, h as v, i as y, l as b, m as x, n as S, p as C, r as w, v as T, y as E } from "./useEditorCore-DJeOXVxQ.js";
3
3
  import { o as D } from "./keys-Cv8-8GsD.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__ */ a({
@@ -1,6 +1,6 @@
1
1
  import { A as e, Dt as t, Et as n, N as r, O as i, Ot as a, W as o, Y as s, _ as c, c as l, d as u, h as d, i as f, l as p, m, nt as h, r as g, s as _, u as v, x as y } from "./vue.runtime.esm-bundler-l0XAqiyv.js";
2
2
  import { c as b, s as x } from "./runtime-dom.esm-bundler-BzuoCyNp.js";
3
- import { E as S, T as C, x as w } from "./useEditorCore-vcWLdnjN.js";
3
+ import { E as S, T as C, x as w } from "./useEditorCore-DJeOXVxQ.js";
4
4
  import { t as T } from "./dist-BEWiuOMi.js";
5
5
  import { I as E, L as D, P as O, g as ee, w as te, x as ne } from "./keys-Cv8-8GsD.js";
6
6
  import { t as k } from "./useI18n-C-TDeJBt.js";
@@ -625,7 +625,9 @@ var Z = /*#__PURE__*/ F(he, [["render", _e]]), ve = [
625
625
  heading: !1,
626
626
  codeBlock: !1,
627
627
  blockquote: !1,
628
- horizontalRule: !1
628
+ horizontalRule: !1,
629
+ link: !1,
630
+ underline: !1
629
631
  }),
630
632
  u,
631
633
  d,
@@ -1,11 +1,11 @@
1
1
  import { A as e, Dt as t, Et as n, I as r, O as i, Ot as a, R as o, Y as s, _ as c, c as l, d as u, h as d, l as f, m as p, nt as m, r as h, s as g, u as ee, z as _ } from "./vue.runtime.esm-bundler-l0XAqiyv.js";
2
2
  import { a as v } from "./runtime-dom.esm-bundler-BzuoCyNp.js";
3
- import "./useEditorCore-vcWLdnjN.js";
3
+ import "./useEditorCore-DJeOXVxQ.js";
4
4
  import { L as y, j as b, m as x } from "./keys-Cv8-8GsD.js";
5
5
  import { t as S } from "./useI18n-C-TDeJBt.js";
6
6
  import { t as te } from "./loader-circle-BLmicnPG.js";
7
7
  import { n as ne } from "./useCloudI18n-AKCy98qD.js";
8
- import { t as re } from "./TplModal-Br2VG6cn.js";
8
+ import { t as re } from "./TplModal-BtKB-0Bx.js";
9
9
  //#region src/cloud/components/SaveModuleDialog.vue?vue&type=script&setup=true&lang.ts
10
10
  var C = ["aria-busy"], w = {
11
11
  id: "tpl-save-module-title",
@@ -1,6 +1,6 @@
1
1
  import { A as e, Et as t, I as n, O as r, Ot as i, R as a, Y as o, _ as s, c, d as l, h as u, nt as d, r as f, s as p, u as m } from "./vue.runtime.esm-bundler-l0XAqiyv.js";
2
2
  import { c as h, t as g } from "./runtime-dom.esm-bundler-BzuoCyNp.js";
3
- import "./useEditorCore-vcWLdnjN.js";
3
+ import "./useEditorCore-DJeOXVxQ.js";
4
4
  import { t as _ } from "./dist-BEWiuOMi.js";
5
5
  import { t as v } from "./useI18n-C-TDeJBt.js";
6
6
  import { t as y } from "./createLucideIcon-Dx-EjR9r.js";
@@ -1,9 +1,9 @@
1
1
  import { A as e, Et as t, I as n, O as r, Ot as i, R as a, Y as o, _ as s, c, d as l, h as u, l as d, m as f, nt as p, r as m, u as h, z as g } from "./vue.runtime.esm-bundler-l0XAqiyv.js";
2
2
  import { i as _ } from "./runtime-dom.esm-bundler-BzuoCyNp.js";
3
- import "./useEditorCore-vcWLdnjN.js";
3
+ import "./useEditorCore-DJeOXVxQ.js";
4
4
  import { t as v } from "./loader-circle-BLmicnPG.js";
5
5
  import { n as y } from "./useCloudI18n-AKCy98qD.js";
6
- import { t as b } from "./TplModal-Br2VG6cn.js";
6
+ import { t as b } from "./TplModal-BtKB-0Bx.js";
7
7
  //#region src/cloud/components/TestEmailModal.vue?vue&type=script&setup=true&lang.ts
8
8
  var x = ["aria-busy"], S = {
9
9
  id: "tpl-test-email-title",
@@ -1,5 +1,5 @@
1
1
  import { Dt as e, Et as t, O as n, Ot as r, W as i, _ as a, c as o, d as s, h as c, i as l, l as u, m as d, nt as f, r as p, s as m, u as h, x as g } from "./vue.runtime.esm-bundler-l0XAqiyv.js";
2
- import { x as _ } from "./useEditorCore-vcWLdnjN.js";
2
+ import { x as _ } from "./useEditorCore-DJeOXVxQ.js";
3
3
  import { I as v, P as y, w as b, x as ee } from "./keys-Cv8-8GsD.js";
4
4
  import { t as te } from "./useI18n-C-TDeJBt.js";
5
5
  import { a as ne, i as re, n as ie, r as ae, t as oe } from "./RichTextEditorContent-BqLHIZY7.js";
@@ -48,7 +48,8 @@ var w = { class: "tpl-text-editor-wrapper tpl:relative" }, T = ["data-tpl-theme"
48
48
  bulletList: !1,
49
49
  orderedList: !1,
50
50
  listItem: !1,
51
- strike: !1
51
+ strike: !1,
52
+ link: !1
52
53
  }),
53
54
  c.configure({
54
55
  openOnClick: !1,
@@ -1,6 +1,6 @@
1
1
  import { O as e, R as t, Y as n, _ as r, c as i, d as a, h as o, i as s, j as c, l, nt as u, s as d, u as f, x as p } from "./vue.runtime.esm-bundler-l0XAqiyv.js";
2
2
  import { c as m, t as h } from "./runtime-dom.esm-bundler-BzuoCyNp.js";
3
- import { E as g } from "./useEditorCore-vcWLdnjN.js";
3
+ import { E as g } from "./useEditorCore-DJeOXVxQ.js";
4
4
  import { I as _ } from "./keys-Cv8-8GsD.js";
5
5
  import { t as v } from "./usePopoverRoot-DKUDnr55.js";
6
6
  //#region src/components/TplModal.vue?vue&type=script&setup=true&lang.ts
@@ -1,4 +1,4 @@
1
- import { A as e, O as t, P as n, j as r, k as i } from "./useEditorCore-vcWLdnjN.js";
1
+ import { A as e, O as t, P as n, j as r, k as i } from "./useEditorCore-DJeOXVxQ.js";
2
2
  import { t as a } from "./createLucideIcon-Dx-EjR9r.js";
3
3
  var o = a("columns-3", [
4
4
  ["rect", {
@@ -1,10 +1,10 @@
1
1
  {
2
- "version": "0.15.0",
3
- "initialGzipBytes": 280514,
4
- "initialRawBytes": 1008779,
2
+ "version": "0.15.1",
3
+ "initialGzipBytes": 280529,
4
+ "initialRawBytes": 1008825,
5
5
  "initialFileCount": 42,
6
- "lazyGzipBytes": 180737,
7
- "lazyRawBytes": 608421,
6
+ "lazyGzipBytes": 180758,
7
+ "lazyRawBytes": 608477,
8
8
  "lazyFileCount": 44,
9
- "generatedAt": "2026-07-15T17:57:20.460Z"
9
+ "generatedAt": "2026-07-15T21:18:18.597Z"
10
10
  }
@@ -1,5 +1,5 @@
1
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-kG-D5Xsm.js";
2
- import { Ct as d, Rt as f, at as p, ft as m, ln as h, pt as g, rt as _ } from "./features-Dpczf9Su.js";
2
+ import { Ct as d, Rt as f, at as p, ft as m, ln as h, pt as g, rt as _ } from "./features-CHE3YjQE.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)]",
@@ -56,4 +56,4 @@ var v = {
56
56
  //#endregion
57
57
  export { C as default };
58
58
 
59
- //# sourceMappingURL=AiFeatureMenu-3Slo_LGA.js.map
59
+ //# sourceMappingURL=AiFeatureMenu-fDUpv_-s.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AiFeatureMenu-3Slo_LGA.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-fDUpv_-s.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
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-kG-D5Xsm.js";
2
- import { Lt as l, an as u, kt as d, lt as f } from "./features-Dpczf9Su.js";
2
+ import { Lt as l, an as u, kt as d, lt as f } from "./features-CHE3YjQE.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-BxwEiiF3.js.map
33
+ //# sourceMappingURL=BlockIssueBadge-Byce0j0W.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BlockIssueBadge-BxwEiiF3.js","names":[],"sources":["../../../src/components/canvas/BlockIssueBadge.vue","../../../src/components/canvas/BlockIssueBadge.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { computed, inject } from \"vue\";\nimport { CircleAlert, TriangleAlert } from \"@lucide/vue\";\nimport { useI18n } from \"../../composables/useI18n\";\nimport { TEMPLATE_LINT_KEY } from \"../../keys\";\n\nconst props = defineProps<{ blockId: string }>();\nconst { t } = useI18n();\nconst lint = inject(TEMPLATE_LINT_KEY, null);\n\nconst blockIssues = computed(() =>\n (lint?.issues.value ?? []).filter((i) => i.blockId === props.blockId),\n);\n\nconst severity = computed<\"error\" | \"warning\" | null>(() => {\n if (blockIssues.value.some((i) => i.severity === \"error\")) return \"error\";\n if (blockIssues.value.some((i) => i.severity === \"warning\")) return \"warning\";\n return null;\n});\n\nconst tooltip = computed(() =>\n severity.value === \"error\" ? t.issues.badgeError : t.issues.badgeWarning,\n);\n</script>\n\n<template>\n <span\n v-if=\"severity\"\n class=\"tpl:absolute tpl:top-1 tpl:right-1 tpl:z-10 tpl:flex tpl:size-5 tpl:items-center tpl:justify-center tpl:rounded-full tpl:bg-[var(--tpl-bg)] tpl:shadow-[var(--tpl-shadow-sm)] tpl:ring-1 tpl:ring-[var(--tpl-border)]\"\n :class=\"\n severity === 'error'\n ? 'tpl:text-[var(--tpl-danger)]'\n : 'tpl:text-[var(--tpl-warning)]'\n \"\n :title=\"tooltip\"\n :aria-label=\"tooltip\"\n role=\"img\"\n >\n <CircleAlert\n v-if=\"severity === 'error'\"\n :size=\"14\"\n :stroke-width=\"2.25\"\n fill=\"currentColor\"\n stroke=\"var(--tpl-bg)\"\n />\n <TriangleAlert\n v-else\n :size=\"14\"\n :stroke-width=\"2.25\"\n fill=\"currentColor\"\n stroke=\"var(--tpl-bg)\"\n />\n </span>\n</template>\n","<script setup lang=\"ts\">\nimport { computed, inject } from \"vue\";\nimport { CircleAlert, TriangleAlert } from \"@lucide/vue\";\nimport { useI18n } from \"../../composables/useI18n\";\nimport { TEMPLATE_LINT_KEY } from \"../../keys\";\n\nconst props = defineProps<{ blockId: string }>();\nconst { t } = useI18n();\nconst lint = inject(TEMPLATE_LINT_KEY, null);\n\nconst blockIssues = computed(() =>\n (lint?.issues.value ?? []).filter((i) => i.blockId === props.blockId),\n);\n\nconst severity = computed<\"error\" | \"warning\" | null>(() => {\n if (blockIssues.value.some((i) => i.severity === \"error\")) return \"error\";\n if (blockIssues.value.some((i) => i.severity === \"warning\")) return \"warning\";\n return null;\n});\n\nconst tooltip = computed(() =>\n severity.value === \"error\" ? t.issues.badgeError : t.issues.badgeWarning,\n);\n</script>\n\n<template>\n <span\n v-if=\"severity\"\n class=\"tpl:absolute tpl:top-1 tpl:right-1 tpl:z-10 tpl:flex tpl:size-5 tpl:items-center tpl:justify-center tpl:rounded-full tpl:bg-[var(--tpl-bg)] tpl:shadow-[var(--tpl-shadow-sm)] tpl:ring-1 tpl:ring-[var(--tpl-border)]\"\n :class=\"\n severity === 'error'\n ? 'tpl:text-[var(--tpl-danger)]'\n : 'tpl:text-[var(--tpl-warning)]'\n \"\n :title=\"tooltip\"\n :aria-label=\"tooltip\"\n role=\"img\"\n >\n <CircleAlert\n v-if=\"severity === 'error'\"\n :size=\"14\"\n :stroke-width=\"2.25\"\n fill=\"currentColor\"\n stroke=\"var(--tpl-bg)\"\n />\n <TriangleAlert\n v-else\n :size=\"14\"\n :stroke-width=\"2.25\"\n fill=\"currentColor\"\n stroke=\"var(--tpl-bg)\"\n />\n </span>\n</template>\n"],"mappings":";;;;;;;EAMA,IAAM,IAAQ,GACR,EAAE,SAAM,EAAQ,GAChB,IAAO,EAAO,GAAmB,IAAI,GAErC,IAAc,SACjB,GAAM,OAAO,SAAS,CAAC,EAAA,CAAG,QAAQ,MAAM,EAAE,YAAY,EAAM,OAAO,CACtE,GAEM,IAAW,QACX,EAAY,MAAM,MAAM,MAAM,EAAE,aAAa,OAAO,IAAU,UAC9D,EAAY,MAAM,MAAM,MAAM,EAAE,aAAa,SAAS,IAAU,YAC7D,IACR,GAEK,IAAU,QACd,EAAS,UAAU,UAAU,EAAE,OAAO,aAAa,EAAE,OAAO,YAC9D;mBAKU,EAAA,SAAA,EAAA,GADR,EA0BO,QAAA;;GAxBL,OAAK,EAAA,CAAC,yNACS,EAAA,UAAQ,UAAA,iCAAA,+BAAA,CAAA;GAKtB,OAAO,EAAA;GACP,cAAY,EAAA;GACb,MAAK;MAGG,EAAA,UAAQ,WAAA,EAAA,GADhB,EAME,EAAA,CAAA,GAAA;;GAJC,MAAM;GACN,gBAAc;GACf,MAAK;GACL,QAAO;cAET,EAME,EAAA,CAAA,GAAA;;GAJC,MAAM;GACN,gBAAc;GACf,MAAK;GACL,QAAO"}
1
+ {"version":3,"file":"BlockIssueBadge-Byce0j0W.js","names":[],"sources":["../../../src/components/canvas/BlockIssueBadge.vue","../../../src/components/canvas/BlockIssueBadge.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { computed, inject } from \"vue\";\nimport { CircleAlert, TriangleAlert } from \"@lucide/vue\";\nimport { useI18n } from \"../../composables/useI18n\";\nimport { TEMPLATE_LINT_KEY } from \"../../keys\";\n\nconst props = defineProps<{ blockId: string }>();\nconst { t } = useI18n();\nconst lint = inject(TEMPLATE_LINT_KEY, null);\n\nconst blockIssues = computed(() =>\n (lint?.issues.value ?? []).filter((i) => i.blockId === props.blockId),\n);\n\nconst severity = computed<\"error\" | \"warning\" | null>(() => {\n if (blockIssues.value.some((i) => i.severity === \"error\")) return \"error\";\n if (blockIssues.value.some((i) => i.severity === \"warning\")) return \"warning\";\n return null;\n});\n\nconst tooltip = computed(() =>\n severity.value === \"error\" ? t.issues.badgeError : t.issues.badgeWarning,\n);\n</script>\n\n<template>\n <span\n v-if=\"severity\"\n class=\"tpl:absolute tpl:top-1 tpl:right-1 tpl:z-10 tpl:flex tpl:size-5 tpl:items-center tpl:justify-center tpl:rounded-full tpl:bg-[var(--tpl-bg)] tpl:shadow-[var(--tpl-shadow-sm)] tpl:ring-1 tpl:ring-[var(--tpl-border)]\"\n :class=\"\n severity === 'error'\n ? 'tpl:text-[var(--tpl-danger)]'\n : 'tpl:text-[var(--tpl-warning)]'\n \"\n :title=\"tooltip\"\n :aria-label=\"tooltip\"\n role=\"img\"\n >\n <CircleAlert\n v-if=\"severity === 'error'\"\n :size=\"14\"\n :stroke-width=\"2.25\"\n fill=\"currentColor\"\n stroke=\"var(--tpl-bg)\"\n />\n <TriangleAlert\n v-else\n :size=\"14\"\n :stroke-width=\"2.25\"\n fill=\"currentColor\"\n stroke=\"var(--tpl-bg)\"\n />\n </span>\n</template>\n","<script setup lang=\"ts\">\nimport { computed, inject } from \"vue\";\nimport { CircleAlert, TriangleAlert } from \"@lucide/vue\";\nimport { useI18n } from \"../../composables/useI18n\";\nimport { TEMPLATE_LINT_KEY } from \"../../keys\";\n\nconst props = defineProps<{ blockId: string }>();\nconst { t } = useI18n();\nconst lint = inject(TEMPLATE_LINT_KEY, null);\n\nconst blockIssues = computed(() =>\n (lint?.issues.value ?? []).filter((i) => i.blockId === props.blockId),\n);\n\nconst severity = computed<\"error\" | \"warning\" | null>(() => {\n if (blockIssues.value.some((i) => i.severity === \"error\")) return \"error\";\n if (blockIssues.value.some((i) => i.severity === \"warning\")) return \"warning\";\n return null;\n});\n\nconst tooltip = computed(() =>\n severity.value === \"error\" ? t.issues.badgeError : t.issues.badgeWarning,\n);\n</script>\n\n<template>\n <span\n v-if=\"severity\"\n class=\"tpl:absolute tpl:top-1 tpl:right-1 tpl:z-10 tpl:flex tpl:size-5 tpl:items-center tpl:justify-center tpl:rounded-full tpl:bg-[var(--tpl-bg)] tpl:shadow-[var(--tpl-shadow-sm)] tpl:ring-1 tpl:ring-[var(--tpl-border)]\"\n :class=\"\n severity === 'error'\n ? 'tpl:text-[var(--tpl-danger)]'\n : 'tpl:text-[var(--tpl-warning)]'\n \"\n :title=\"tooltip\"\n :aria-label=\"tooltip\"\n role=\"img\"\n >\n <CircleAlert\n v-if=\"severity === 'error'\"\n :size=\"14\"\n :stroke-width=\"2.25\"\n fill=\"currentColor\"\n stroke=\"var(--tpl-bg)\"\n />\n <TriangleAlert\n v-else\n :size=\"14\"\n :stroke-width=\"2.25\"\n fill=\"currentColor\"\n stroke=\"var(--tpl-bg)\"\n />\n </span>\n</template>\n"],"mappings":";;;;;;;EAMA,IAAM,IAAQ,GACR,EAAE,SAAM,EAAQ,GAChB,IAAO,EAAO,GAAmB,IAAI,GAErC,IAAc,SACjB,GAAM,OAAO,SAAS,CAAC,EAAA,CAAG,QAAQ,MAAM,EAAE,YAAY,EAAM,OAAO,CACtE,GAEM,IAAW,QACX,EAAY,MAAM,MAAM,MAAM,EAAE,aAAa,OAAO,IAAU,UAC9D,EAAY,MAAM,MAAM,MAAM,EAAE,aAAa,SAAS,IAAU,YAC7D,IACR,GAEK,IAAU,QACd,EAAS,UAAU,UAAU,EAAE,OAAO,aAAa,EAAE,OAAO,YAC9D;mBAKU,EAAA,SAAA,EAAA,GADR,EA0BO,QAAA;;GAxBL,OAAK,EAAA,CAAC,yNACS,EAAA,UAAQ,UAAA,iCAAA,+BAAA,CAAA;GAKtB,OAAO,EAAA;GACP,cAAY,EAAA;GACb,MAAK;MAGG,EAAA,UAAQ,WAAA,EAAA,GADhB,EAME,EAAA,CAAA,GAAA;;GAJC,MAAM;GACN,gBAAc;GACf,MAAK;GACL,QAAO;cAET,EAME,EAAA,CAAA,GAAA;;GAJC,MAAM;GACN,gBAAc;GACf,MAAK;GACL,QAAO"}
@@ -1,7 +1,7 @@
1
1
  import { $ as e, A as t, H as n, J as r, M as i, N as a, P as o, V as s, Z as c, _ as l, b as u, ct as d, f, g as p, h as m, it as h, j as g, l as _, m as v, n as y, ot as b, p as x, s as S, st as C, u as w, v as T, x as E, y as D, z as O } from "./draggable-kG-D5Xsm.js";
2
- import { $ as ee, A as k, An as te, Bt as A, E as j, Ft as M, Gt as ne, In as N, Lt as P, Mt as F, Ot as I, Rt as re, S as L, Ut as ie, Wt as R, Y as z, Yn as B, _ as V, at as H, b as ae, bt as U, c as W, d as G, f as K, ft as q, g as oe, h as se, ht as J, in as ce, kt as Y, l as X, lt as Z, m as le, p as ue, rn as de, rt as Q, s as fe, tn as pe, u as me, un as he, v as ge, x as _e, y as ve, yn as ye, yt as be } from "./features-Dpczf9Su.js";
3
- import { S as xe, x as Se } from "./icons-CuxnJiGQ.js";
4
- import { a as Ce, c as we, d as Te, f as Ee, i as De, l as Oe, n as ke, o as Ae, r as je, s as Me, t as Ne, u as Pe } from "./styles-B7wryV0l.js";
2
+ import { $ as ee, A as k, An as te, Bt as A, E as j, Ft as M, Gt as ne, In as N, Lt as P, Mt as F, Ot as I, Rt as re, S as L, Ut as ie, Wt as R, Y as z, Yn as B, _ as V, at as H, b as ae, bt as U, c as W, d as G, f as K, ft as q, g as oe, h as se, ht as J, in as ce, kt as Y, l as X, lt as Z, m as le, p as ue, rn as de, rt as Q, s as fe, tn as pe, u as me, un as he, v as ge, x as _e, y as ve, yn as ye, yt as be } from "./features-CHE3YjQE.js";
3
+ import { S as xe, x as Se } from "./icons-M4uqBV-_.js";
4
+ import { a as Ce, c as we, d as Te, f as Ee, i as De, l as Oe, n as ke, o as Ae, r as je, s as Me, t as Ne, u as Pe } from "./styles-PWISdaws.js";
5
5
  import { d as $ } from "./styleConstants-lGobwiLH.js";
6
6
  //#region src/cloud/composables/useSnapshotPreview.ts
7
7
  function Fe(t) {
@@ -175,7 +175,7 @@ function ze(e) {
175
175
  let t = f(e);
176
176
  if (t) return s?.(t), null;
177
177
  try {
178
- let { MediaApiClient: t } = await import("./src-DRpKu4Dy.js");
178
+ let { MediaApiClient: t } = await import("./src-q-SBgWx7.js");
179
179
  return l(await new t(a).uploadMedia(e));
180
180
  } catch (e) {
181
181
  return s?.(e), null;
@@ -595,7 +595,7 @@ var We = ["aria-label"], Ge = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
595
595
  },
596
596
  emits: ["save"],
597
597
  setup(e) {
598
- let t = u(() => import("./CollaboratorBar-Cu3vuN66.js")), n = u(() => import("./features-Dpczf9Su.js").then((e) => e.r)), r = u(() => import("./AiFeatureMenu-3Slo_LGA.js")), { t: a, format: o } = Q();
598
+ let t = u(() => import("./CollaboratorBar-LnLmjxw_.js")), n = u(() => import("./features-CHE3YjQE.js").then((e) => e.r)), r = u(() => import("./AiFeatureMenu-fDUpv_-s.js")), { t: a, format: o } = Q();
599
599
  return (c, l) => (i(), p("header", et, [
600
600
  x("div", tt, [e.featureFlags.templateLimit.value === null ? m("", !0) : (i(), p("span", nt, d(h(o)(h(a).header.templatesUsed, {
601
601
  used: e.featureFlags.templateCount.value,
@@ -757,9 +757,9 @@ var We = ["aria-label"], Ge = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
757
757
  "module-insert"
758
758
  ],
759
759
  setup(e, { expose: t, emit: n }) {
760
- let r = u(() => import("./features-Dpczf9Su.js").then((e) => e.o)), a = u(() => import("./features-Dpczf9Su.js").then((e) => e.a)), o = u(() => import("./features-Dpczf9Su.js").then((e) => e.i)), s = u(() => import("./features-Dpczf9Su.js").then((e) => e.n)), l = u(() => import("./features-Dpczf9Su.js").then((e) => e.t)), d = u(() => import("./SaveModuleDialog-C6UIIVAM.js")), f = u(() => import("./ModuleBrowserModal-Dz-I5zfj.js")), g = u(async () => {
760
+ let r = u(() => import("./features-CHE3YjQE.js").then((e) => e.o)), a = u(() => import("./features-CHE3YjQE.js").then((e) => e.a)), o = u(() => import("./features-CHE3YjQE.js").then((e) => e.i)), s = u(() => import("./features-CHE3YjQE.js").then((e) => e.n)), l = u(() => import("./features-CHE3YjQE.js").then((e) => e.t)), d = u(() => import("./SaveModuleDialog-sJQXg2Mh.js")), f = u(() => import("./ModuleBrowserModal-DW0iQW0J.js")), g = u(async () => {
761
761
  try {
762
- return (await import("./src-DRpKu4Dy.js")).MediaLibraryModal;
762
+ return (await import("./src-q-SBgWx7.js")).MediaLibraryModal;
763
763
  } catch {
764
764
  throw Error("[Templatical] Cloud media library requires the optional peer dependency '@templatical/media-library'. Please install it.");
765
765
  }
@@ -1200,4 +1200,4 @@ var We = ["aria-label"], Ge = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
1200
1200
  //#endregion
1201
1201
  export { It as default };
1202
1202
 
1203
- //# sourceMappingURL=CloudEditor-DFIFWD9G.js.map
1203
+ //# sourceMappingURL=CloudEditor-B4m8ldiE.js.map