@templatical/editor 0.6.1 → 0.6.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 (78) hide show
  1. package/dist/{AiChatSidebar-Br9dhkIB.js → AiChatSidebar-B3SJIKG_.js} +1 -1
  2. package/dist/{AiFeatureMenu-Ceewb3uB.js → AiFeatureMenu-BLLKoOos.js} +1 -1
  3. package/dist/{CloudEditor-D_flODpm.js → CloudEditor-BCz1ZTYC.js} +36 -30
  4. package/dist/{CollaboratorBar-BcSxXVY-.js → CollaboratorBar-DuPYW5iF.js} +1 -1
  5. package/dist/{CommentsSidebar-DceMRyIS.js → CommentsSidebar-B1pvJdqF.js} +1 -1
  6. package/dist/{DesignReferenceSidebar-50qFipmW.js → DesignReferenceSidebar-B8V_F2yF.js} +69 -67
  7. package/dist/{ModuleBrowserModal-BnSdG4DE.js → ModuleBrowserModal-DrUFMTDx.js} +4 -4
  8. package/dist/{ModulePreviewCanvas-B78PuZdk.js → ModulePreviewCanvas-CHdOwV_4.js} +1 -1
  9. package/dist/{ParagraphEditor-CPBYk2m3.js → ParagraphEditor-D75wl3BX.js} +1 -1
  10. package/dist/{SaveModuleDialog-Df__VToK.js → SaveModuleDialog-FZ9lxY7_.js} +2 -2
  11. package/dist/{SnapshotHistory-QBTbVrEK.js → SnapshotHistory-BR3eV120.js} +2 -2
  12. package/dist/{TestEmailModal-DaDMACHY.js → TestEmailModal--ue5w9fT.js} +2 -2
  13. package/dist/{TitleEditor-PHShl4tS.js → TitleEditor-fStSADI-.js} +1 -1
  14. package/dist/{TplModal-DzlNkBYQ.js → TplModal-BwSfxIHf.js} +1 -1
  15. package/dist/{blockTypeIcons-D0wkSpP9.js → blockTypeIcons-BcTrDjmH.js} +1 -1
  16. package/dist/bundle-stats.json +6 -6
  17. package/dist/cdn/chunks/{AccessibilityPanel-fjNLcnxu.js → AccessibilityPanel-B6DOjojm.js} +3 -3
  18. package/dist/cdn/chunks/{AccessibilityPanel-fjNLcnxu.js.map → AccessibilityPanel-B6DOjojm.js.map} +1 -1
  19. package/dist/cdn/chunks/{AiFeatureMenu-DSamZ3ve.js → AiFeatureMenu-qEdB2fZJ.js} +2 -2
  20. package/dist/cdn/chunks/{AiFeatureMenu-DSamZ3ve.js.map → AiFeatureMenu-qEdB2fZJ.js.map} +1 -1
  21. package/dist/cdn/chunks/{BlockA11yBadge-D73PKVS8.js → BlockA11yBadge-DcEZftf6.js} +2 -2
  22. package/dist/cdn/chunks/{BlockA11yBadge-D73PKVS8.js.map → BlockA11yBadge-DcEZftf6.js.map} +1 -1
  23. package/dist/cdn/chunks/{CloudEditor-BGfliRFn.js → CloudEditor-D2GsEC_n.js} +41 -35
  24. package/dist/cdn/chunks/CloudEditor-D2GsEC_n.js.map +1 -0
  25. package/dist/cdn/chunks/{CollaboratorBar-BRvF0m5t.js → CollaboratorBar--nO7TX6b.js} +3 -3
  26. package/dist/cdn/chunks/{CollaboratorBar-BRvF0m5t.js.map → CollaboratorBar--nO7TX6b.js.map} +1 -1
  27. package/dist/cdn/chunks/{CountdownBlock-IIZk8uja.js → CountdownBlock-5YdT1uUu.js} +2 -2
  28. package/dist/cdn/chunks/{CountdownBlock-IIZk8uja.js.map → CountdownBlock-5YdT1uUu.js.map} +1 -1
  29. package/dist/cdn/chunks/{CountdownToolbar-mXM3YITU.js → CountdownToolbar-DXPXrbAA.js} +3 -3
  30. package/dist/cdn/chunks/{CountdownToolbar-mXM3YITU.js.map → CountdownToolbar-DXPXrbAA.js.map} +1 -1
  31. package/dist/cdn/chunks/{ModuleBrowserModal-BgIdqEyV.js → ModuleBrowserModal-DxoPp81s.js} +5 -5
  32. package/dist/cdn/chunks/{ModuleBrowserModal-BgIdqEyV.js.map → ModuleBrowserModal-DxoPp81s.js.map} +1 -1
  33. package/dist/cdn/chunks/{ModulePreviewCanvas-BOFLwREg.js → ModulePreviewCanvas-CoLdb4ar.js} +2 -2
  34. package/dist/cdn/chunks/{ModulePreviewCanvas-BOFLwREg.js.map → ModulePreviewCanvas-CoLdb4ar.js.map} +1 -1
  35. package/dist/cdn/chunks/{NumberWithSuffix-Cxe5sPC2.js → NumberWithSuffix-CE3NrZhH.js} +2 -2
  36. package/dist/cdn/chunks/{NumberWithSuffix-Cxe5sPC2.js.map → NumberWithSuffix-CE3NrZhH.js.map} +1 -1
  37. package/dist/cdn/chunks/{ParagraphEditor-7Wycs4gM.js → ParagraphEditor-B6Ygu-Mq.js} +16 -16
  38. package/dist/cdn/chunks/{ParagraphEditor-7Wycs4gM.js.map → ParagraphEditor-B6Ygu-Mq.js.map} +1 -1
  39. package/dist/cdn/chunks/{RichTextEditorContent-DVw5mwEA.js → RichTextEditorContent-DL_y2SrR.js} +2 -2
  40. package/dist/cdn/chunks/{RichTextEditorContent-DVw5mwEA.js.map → RichTextEditorContent-DL_y2SrR.js.map} +1 -1
  41. package/dist/cdn/chunks/{SaveModuleDialog-Cz1xEjJG.js → SaveModuleDialog-B0TnO_o9.js} +2 -2
  42. package/dist/cdn/chunks/{SaveModuleDialog-Cz1xEjJG.js.map → SaveModuleDialog-B0TnO_o9.js.map} +1 -1
  43. package/dist/cdn/chunks/{TitleEditor-DTF4hRB6.js → TitleEditor-BHpfxvwy.js} +8 -8
  44. package/dist/cdn/chunks/{TitleEditor-DTF4hRB6.js.map → TitleEditor-BHpfxvwy.js.map} +1 -1
  45. package/dist/cdn/chunks/{blockTypeIcons-C5tZU4ot.js → blockTypeIcons-BzzY9_kA.js} +3 -3
  46. package/dist/cdn/chunks/{blockTypeIcons-C5tZU4ot.js.map → blockTypeIcons-BzzY9_kA.js.map} +1 -1
  47. package/dist/cdn/chunks/{extensions-BrVEX2vQ.js → extensions-DIxF31tA.js} +3 -3
  48. package/dist/cdn/chunks/{extensions-BrVEX2vQ.js.map → extensions-DIxF31tA.js.map} +1 -1
  49. package/dist/cdn/chunks/{features-BdkV7kQP.js → features-DEMb13KS.js} +419 -380
  50. package/dist/cdn/chunks/features-DEMb13KS.js.map +1 -0
  51. package/dist/cdn/chunks/{icons-oRXtYgc3.js → icons-CsLTcirh.js} +2 -2
  52. package/dist/cdn/chunks/{icons-oRXtYgc3.js.map → icons-CsLTcirh.js.map} +1 -1
  53. package/dist/cdn/chunks/{media-library-C7uyFrMO.js → media-library-CVaNvhpM.js} +3 -3
  54. package/dist/cdn/chunks/{media-library-C7uyFrMO.js.map → media-library-CVaNvhpM.js.map} +1 -1
  55. package/dist/cdn/chunks/{quality-C5gsx_Tw.js → quality-BaBfc54_.js} +2 -2
  56. package/dist/cdn/chunks/{quality-C5gsx_Tw.js.map → quality-BaBfc54_.js.map} +1 -1
  57. package/dist/cdn/chunks/{renderer-DM2gdPmx.js → renderer-CUxvx7ro.js} +11 -11
  58. package/dist/cdn/chunks/renderer-CUxvx7ro.js.map +1 -0
  59. package/dist/cdn/chunks/{src-BAAwLL7q.js → src-CRaqN-p8.js} +4 -4
  60. package/dist/cdn/chunks/{src-BAAwLL7q.js.map → src-CRaqN-p8.js.map} +1 -1
  61. package/dist/cdn/chunks/{styles-iDn0uW8_.js → styles-BHJULjNR.js} +177 -61
  62. package/dist/cdn/chunks/styles-BHJULjNR.js.map +1 -0
  63. package/dist/cdn/chunks/{tiptap-ClLEM7Xz.js → tiptap-ZhwKyFp7.js} +2 -2
  64. package/dist/cdn/chunks/{tiptap-ClLEM7Xz.js.map → tiptap-ZhwKyFp7.js.map} +1 -1
  65. package/dist/cdn/editor.css +1 -1
  66. package/dist/cdn/editor.js +5 -5
  67. package/dist/{cloud-WfWdqZVK.js → cloud-DEk_b4CR.js} +321 -293
  68. package/dist/{formatRelativeTime-WvH3Au71.js → formatRelativeTime-BOEf47hq.js} +3 -1
  69. package/dist/index.d.ts +11 -11
  70. package/dist/style.css +1 -1
  71. package/dist/{styles-B58wYIn4.js → styles-DEXEkBvg.js} +417 -301
  72. package/dist/templatical-editor.js +3 -3
  73. package/dist/{useEditorCore-Dz-qbVXX.js → useEditorCore-C6ost42Q.js} +71 -64
  74. package/package.json +7 -7
  75. package/dist/cdn/chunks/CloudEditor-BGfliRFn.js.map +0 -1
  76. package/dist/cdn/chunks/features-BdkV7kQP.js.map +0 -1
  77. package/dist/cdn/chunks/renderer-DM2gdPmx.js.map +0 -1
  78. package/dist/cdn/chunks/styles-iDn0uW8_.js.map +0 -1
@@ -10,7 +10,7 @@ import { t as fe } from "./trash-2-DbP2Y6t2.js";
10
10
  import { t as pe } from "./x-u2oVmjN_.js";
11
11
  import { t as me } from "./LoadingTrack-B0CWFHXQ.js";
12
12
  import { t as S } from "./_plugin-vue_export-helper-B0hnzhyu.js";
13
- import { i as C } from "./cloud-WfWdqZVK.js";
13
+ import { i as C } from "./cloud-DEk_b4CR.js";
14
14
  var w = b("redo-2", [["path", {
15
15
  d: "m15 14 5-5-5-5",
16
16
  key: "12vg1m"
@@ -1,5 +1,5 @@
1
1
  import { L as e, M as t, Mt as n, Ot as r, P as i, S as a, _ as o, d as s, h as c, m as l, p as u } from "./vue.runtime.esm-bundler-DpvJL-nX.js";
2
- import "./useEditorCore-Dz-qbVXX.js";
2
+ import "./useEditorCore-C6ost42Q.js";
3
3
  import { O as d, n as f } from "./keys-ciNfSSGj.js";
4
4
  import { t as p } from "./image-up-MBZKKg9p.js";
5
5
  import { t as m } from "./shield-check-CfJgs2Hd.js";
@@ -1,14 +1,14 @@
1
1
  import { A as e, Dt as t, H as n, M as r, Mt as i, N as a, Ot as o, P as s, Q as c, S as l, V as u, Y as d, _ as f, b as p, c as m, d as h, et as g, g as _, h as v, it as y, j as b, m as x, p as S, t as C, u as w, v as T, x as E, y as D, z as O } from "./vue.runtime.esm-bundler-DpvJL-nX.js";
2
2
  import { t as k } from "./timeouts-BSGxjuUF.js";
3
3
  import { E as A, i as j } from "./dist-DJmnUmW9.js";
4
- import { P as M, S as ee, t as N } from "./useEditorCore-Dz-qbVXX.js";
4
+ import { P as M, S as ee, t as N } from "./useEditorCore-C6ost42Q.js";
5
5
  import { s as P, t as F } from "./dist-B1IR0bpH.js";
6
6
  import { C as te, c as I, i as L, l as R, n as z, u as ne, w as B, x as V } from "./keys-ciNfSSGj.js";
7
7
  import { t as H } from "./useI18n-lb2DHDiu.js";
8
8
  import { t as U } from "./createLucideIcon-C3pa2siy.js";
9
9
  import { t as W } from "./check-Da05j8yl.js";
10
10
  import { t as G } from "./circle-alert-DZuGWPX-.js";
11
- import { a as K, c as re, i as q, l as ie, n as J, o as ae, r as oe, s as se, t as ce } from "./styles-B58wYIn4.js";
11
+ import { a as K, c as re, i as q, l as ie, n as J, o as ae, r as oe, s as se, t as ce } from "./styles-DEXEkBvg.js";
12
12
  import { t as Y } from "./clock-CRp2sIub.js";
13
13
  import { t as X } from "./loader-circle-DsY5Yg33.js";
14
14
  import { t as Z } from "./message-circle-yElBbR2C.js";
@@ -18,7 +18,7 @@ import { t as de } from "./triangle-alert-aOXceTSe.js";
18
18
  import { t as fe } from "./_plugin-vue_export-helper-B0hnzhyu.js";
19
19
  import { n as Q } from "./useCloudI18n-BuIwR6OE.js";
20
20
  import { d as $ } from "./styleConstants-fWzlIIwN.js";
21
- import { _ as pe, a as me, c as he, d as ge, f as _e, g as ve, h as ye, l as be, m as xe, n as Se, o as Ce, p as we, r as Te, s as Ee, t as De, v as Oe, y as ke } from "./cloud-WfWdqZVK.js";
21
+ import { _ as pe, a as me, c as he, d as ge, f as _e, g as ve, h as ye, l as be, m as xe, n as Se, o as Ce, p as we, r as Te, s as Ee, t as De, v as Oe, y as ke } from "./cloud-DEk_b4CR.js";
22
22
  var Ae = U("save", [
23
23
  ["path", {
24
24
  d: "M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",
@@ -36,52 +36,58 @@ var Ae = U("save", [
36
36
  //#endregion
37
37
  //#region src/cloud/composables/useSnapshotPreview.ts
38
38
  function je(e) {
39
- let { authManager: t, editor: n, history: r, conditionPreview: i, autoSave: a, onError: o } = e, s = g(null), l = c(null), u = c(null), d = S(() => l.value !== null), f = S(() => s.value?.snapshots.value ?? []), p = S(() => s.value?.isLoading.value ?? !1), m = S(() => s.value?.isRestoring.value ?? !1);
40
- function h() {
39
+ let { authManager: t, editor: n, history: r, conditionPreview: i, autoSave: a, onError: o } = e, s = g(null), l = c(null), u = c(null), f = !1;
40
+ d(() => {
41
+ f = !0;
42
+ });
43
+ let p = S(() => l.value !== null), m = S(() => s.value?.snapshots.value ?? []), h = S(() => s.value?.isLoading.value ?? !1), _ = S(() => s.value?.isRestoring.value ?? !1);
44
+ function v() {
41
45
  n.state.template?.id && !s.value && (s.value = ve({
42
46
  authManager: t,
43
47
  templateId: n.state.template.id,
44
- onRestore: _,
48
+ onRestore: y,
45
49
  onError: o
46
50
  }), s.value.loadSnapshots());
47
51
  }
48
- function _(e) {
52
+ function y(e) {
49
53
  n.setContent(e.content, !1), r.clear(), i.reset();
50
54
  }
51
- async function v(e) {
52
- if (l.value) {
53
- l.value = e, n.setContent(e.content, !1);
54
- return;
55
+ async function b(e) {
56
+ if (!f) {
57
+ if (l.value) {
58
+ l.value = e, n.setContent(e.content, !1);
59
+ return;
60
+ }
61
+ n.state.isDirty && n.hasTemplate() && (await n.createSnapshot(), f) || (u.value = structuredClone(n.content.value), a?.pause(), l.value = e, n.setContent(e.content, !1));
55
62
  }
56
- n.state.isDirty && n.hasTemplate() && await n.createSnapshot(), u.value = structuredClone(n.content.value), a?.pause(), l.value = e, n.setContent(e.content, !1);
57
63
  }
58
- async function y() {
64
+ async function x() {
59
65
  if (!(!l.value || !s.value)) try {
60
- await s.value.restoreSnapshot(l.value.id), await s.value.loadSnapshots();
66
+ if (await s.value.restoreSnapshot(l.value.id), f || (await s.value.loadSnapshots(), f)) return;
61
67
  } finally {
62
- l.value = null, u.value = null, a?.resume();
68
+ f || (l.value = null, u.value = null, a?.resume());
63
69
  }
64
70
  }
65
- function b() {
71
+ function C() {
66
72
  !l.value || !u.value || (n.setContent(u.value, !1), l.value = null, u.value = null, a?.resume());
67
73
  }
68
- async function x() {
69
- s.value && await s.value.loadSnapshots();
74
+ async function w() {
75
+ f || s.value && await s.value.loadSnapshots();
70
76
  }
71
77
  return {
72
78
  snapshotHistoryInstance: s,
73
79
  previewingSnapshot: l,
74
80
  contentBeforePreview: u,
75
- isPreviewingSnapshot: d,
76
- snapshotHistorySnapshots: f,
77
- snapshotHistoryIsLoading: p,
78
- snapshotHistoryIsRestoring: m,
79
- initSnapshotHistory: h,
80
- handleRestore: _,
81
- handleSnapshotNavigate: v,
82
- confirmRestoreSnapshot: y,
83
- cancelPreview: b,
84
- loadSnapshotHistory: x
81
+ isPreviewingSnapshot: p,
82
+ snapshotHistorySnapshots: m,
83
+ snapshotHistoryIsLoading: h,
84
+ snapshotHistoryIsRestoring: _,
85
+ initSnapshotHistory: v,
86
+ handleRestore: y,
87
+ handleSnapshotNavigate: b,
88
+ confirmRestoreSnapshot: x,
89
+ cancelPreview: C,
90
+ loadSnapshotHistory: w
85
91
  };
86
92
  }
87
93
  //#endregion
@@ -584,7 +590,7 @@ var Be = ["aria-label"], Ve = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
584
590
  },
585
591
  emits: ["save"],
586
592
  setup(e) {
587
- let n = E(() => import("./CollaboratorBar-BcSxXVY-.js")), a = E(() => import("./SnapshotHistory-QBTbVrEK.js")), s = E(() => import("./AiFeatureMenu-Ceewb3uB.js")), { t: c, format: l } = Q();
593
+ let n = E(() => import("./CollaboratorBar-DuPYW5iF.js")), a = E(() => import("./SnapshotHistory-BR3eV120.js")), s = E(() => import("./AiFeatureMenu-BLLKoOos.js")), { t: c, format: l } = Q();
588
594
  return (d, m) => (r(), f("header", Xe, [
589
595
  x("div", Ze, [e.featureFlags.templateLimit.value === null ? _("", !0) : (r(), f("span", Qe, i(y(l)(y(c).header.templatesUsed, {
590
596
  used: e.featureFlags.templateCount.value,
@@ -746,7 +752,7 @@ var Be = ["aria-label"], Ve = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
746
752
  "module-insert"
747
753
  ],
748
754
  setup(e, { expose: t, emit: n }) {
749
- let i = E(() => import("./AiChatSidebar-Br9dhkIB.js")), a = E(() => import("./CommentsSidebar-DceMRyIS.js")), o = E(() => import("./DesignReferenceSidebar-50qFipmW.js")), s = E(() => import("./TemplateScoringPanel-4GTNHej5.js")), l = E(() => import("./TestEmailModal-DaDMACHY.js")), u = E(() => import("./SaveModuleDialog-Df__VToK.js")), d = E(() => import("./ModuleBrowserModal-BnSdG4DE.js")), m = E(async () => (await import("@templatical/media-library")).MediaLibraryModal), g = n;
755
+ let i = E(() => import("./AiChatSidebar-B3SJIKG_.js")), a = E(() => import("./CommentsSidebar-B1pvJdqF.js")), o = E(() => import("./DesignReferenceSidebar-B8V_F2yF.js")), s = E(() => import("./TemplateScoringPanel-4GTNHej5.js")), l = E(() => import("./TestEmailModal--ue5w9fT.js")), u = E(() => import("./SaveModuleDialog-FZ9lxY7_.js")), d = E(() => import("./ModuleBrowserModal-DrUFMTDx.js")), m = E(async () => (await import("@templatical/media-library")).MediaLibraryModal), g = n;
750
756
  function b(e, t, n) {
751
757
  t.history.record(), n.setContent(e), t.conditionPreview.reset();
752
758
  }
@@ -1,5 +1,5 @@
1
1
  import { M as e, Mt as t, Ot as n, P as r, S as i, _ as a, d as o, g as s, h as c, it as l, m as u, p as d } from "./vue.runtime.esm-bundler-DpvJL-nX.js";
2
- import "./useEditorCore-Dz-qbVXX.js";
2
+ import "./useEditorCore-C6ost42Q.js";
3
3
  import { t as f } from "./createLucideIcon-C3pa2siy.js";
4
4
  import { n as p } from "./useCloudI18n-BuIwR6OE.js";
5
5
  import { t as m } from "./readableTextColor-CY3SiRnt.js";
@@ -11,7 +11,7 @@ import { t as E } from "./trash-2-DbP2Y6t2.js";
11
11
  import { t as D } from "./x-u2oVmjN_.js";
12
12
  import { t as O } from "./_plugin-vue_export-helper-B0hnzhyu.js";
13
13
  import { n as se } from "./useCloudI18n-BuIwR6OE.js";
14
- import { t as ce } from "./formatRelativeTime-WvH3Au71.js";
14
+ import { t as ce } from "./formatRelativeTime-BOEf47hq.js";
15
15
  var le = S("chevron-up", [["path", {
16
16
  d: "m18 15-6-6-6 6",
17
17
  key: "153udz"
@@ -1,15 +1,15 @@
1
- import { Dt as e, H as t, M as n, Mt as r, Ot as i, Q as a, S as o, V as ee, _ as s, b as c, g as l, h as te, it as u, m as d, p as f, s as ne, t as re, y as p, z as ie } from "./vue.runtime.esm-bundler-DpvJL-nX.js";
1
+ import { Dt as e, H as t, M as n, Mt as r, Ot as i, Q as a, S as o, V as ee, _ as s, b as c, g as l, h as te, it as u, k as d, m as f, p as ne, s as re, t as ie, y as p, z as ae } from "./vue.runtime.esm-bundler-DpvJL-nX.js";
2
2
  import "./timeouts-BSGxjuUF.js";
3
- import { O as m, i as ae, m as oe } from "./keys-ciNfSSGj.js";
4
- import { t as h } from "./createLucideIcon-C3pa2siy.js";
3
+ import { O as m, i as oe, m as h } from "./keys-ciNfSSGj.js";
4
+ import { t as g } from "./createLucideIcon-C3pa2siy.js";
5
5
  import { t as se } from "./circle-alert-DZuGWPX-.js";
6
- import { t as g } from "./image-up-MBZKKg9p.js";
7
- import { t as _ } from "./x-u2oVmjN_.js";
8
- import { t as v } from "./LoadingTrack-B0CWFHXQ.js";
6
+ import { t as _ } from "./image-up-MBZKKg9p.js";
7
+ import { t as v } from "./x-u2oVmjN_.js";
8
+ import { t as ce } from "./LoadingTrack-B0CWFHXQ.js";
9
9
  import { t as y } from "./_plugin-vue_export-helper-B0hnzhyu.js";
10
- import { n as ce } from "./useCloudI18n-BuIwR6OE.js";
11
- import { u as le } from "./cloud-WfWdqZVK.js";
12
- var ue = h("file-image", [
10
+ import { n as le } from "./useCloudI18n-BuIwR6OE.js";
11
+ import { u as ue } from "./cloud-DEk_b4CR.js";
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",
15
15
  key: "1oefj6"
@@ -28,7 +28,7 @@ var ue = h("file-image", [
28
28
  d: "m20 17-1.296-1.296a2.41 2.41 0 0 0-3.408 0L9 22",
29
29
  key: "wt3hpn"
30
30
  }]
31
- ]), b = h("file-text", [
31
+ ]), b = g("file-text", [
32
32
  ["path", {
33
33
  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",
34
34
  key: "1oefj6"
@@ -49,7 +49,7 @@ var ue = h("file-image", [
49
49
  d: "M16 17H8",
50
50
  key: "z1uh3a"
51
51
  }]
52
- ]), de = h("upload", [
52
+ ]), fe = g("upload", [
53
53
  ["path", {
54
54
  d: "M12 3v12",
55
55
  key: "1x0j5s"
@@ -62,44 +62,44 @@ var ue = h("file-image", [
62
62
  d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",
63
63
  key: "ih7n3h"
64
64
  }]
65
- ]), fe = {
65
+ ]), pe = {
66
66
  key: 0,
67
67
  class: "tpl-design-sidebar tpl:absolute tpl:top-14 tpl:right-0 tpl:bottom-0 tpl:z-panel tpl:flex tpl:w-[360px] tpl:flex-col tpl:border-l tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-elevated)]"
68
- }, pe = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3" }, me = { class: "tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-primary)]" }, he = { class: "tpl:flex-1 tpl:overflow-y-auto tpl:p-4" }, x = {
68
+ }, me = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3" }, he = { class: "tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-primary)]" }, x = { class: "tpl:flex-1 tpl:overflow-y-auto tpl:p-4" }, S = {
69
69
  key: 0,
70
70
  class: "tpl:flex tpl:h-full tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-3 tpl:text-center"
71
- }, S = { class: "tpl:flex tpl:w-full tpl:flex-col tpl:items-center tpl:gap-3" }, C = { class: "tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, w = {
71
+ }, C = { class: "tpl:flex tpl:w-full tpl:flex-col tpl:items-center tpl:gap-3" }, w = { class: "tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, T = {
72
72
  key: 1,
73
73
  class: "tpl:flex tpl:flex-col tpl:gap-4"
74
- }, T = { class: "tpl:flex tpl:gap-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:p-1 tpl:bg-[var(--tpl-bg-hover)]" }, E = {
74
+ }, E = { class: "tpl:flex tpl:gap-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:p-1 tpl:bg-[var(--tpl-bg-hover)]" }, D = {
75
75
  key: 0,
76
76
  class: "tpl:flex tpl:flex-col tpl:gap-2"
77
- }, D = { class: "tpl:relative tpl:overflow-hidden tpl:rounded-[var(--tpl-radius)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, O = ["src", "alt"], k = {
77
+ }, O = { class: "tpl:relative tpl:overflow-hidden tpl:rounded-[var(--tpl-radius)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, k = ["src", "alt"], A = {
78
78
  key: 1,
79
79
  class: "tpl:flex tpl:h-32 tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-2"
80
- }, A = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, j = { class: "tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, M = { class: "tpl:text-center tpl:text-[11px] tpl:text-[var(--tpl-text-dim)]" }, N = ["accept"], P = { class: "tpl:flex tpl:flex-col tpl:gap-1.5" }, F = { class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, I = ["placeholder"], L = {
80
+ }, j = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, M = { class: "tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, N = { class: "tpl:text-center tpl:text-[11px] tpl:text-[var(--tpl-text-dim)]" }, P = ["accept"], F = { class: "tpl:flex tpl:flex-col tpl:gap-1.5" }, I = { class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, L = ["placeholder"], R = {
81
81
  key: 0,
82
82
  class: "tpl:flex tpl:flex-col tpl:gap-2 tpl:rounded-[var(--tpl-radius)] tpl:px-3 tpl:py-3 tpl:bg-[var(--tpl-warning-light)] tpl:border tpl:border-[var(--tpl-warning)]"
83
- }, R = { class: "tpl:text-xs tpl:leading-snug tpl:text-[var(--tpl-text)]" }, ge = { class: "tpl:flex tpl:gap-2" }, _e = {
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
- }, ve = ["disabled"], ye = { 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 },
90
90
  hasExistingBlocks: { type: Boolean }
91
91
  },
92
92
  emits: ["close", "apply"],
93
- setup(o, { emit: h }) {
94
- let y = o, z = h, { t: B } = ce(), be = m(oe, "DesignReferenceSidebar"), V = le({
95
- authManager: m(ae, "DesignReferenceSidebar"),
96
- getTemplateId: () => be.state.template?.id ?? null,
93
+ setup(o, { emit: g }) {
94
+ let y = o, z = g, { t: B } = le(), xe = m(h, "DesignReferenceSidebar"), V = ue({
95
+ authManager: m(oe, "DesignReferenceSidebar"),
96
+ getTemplateId: () => xe.state.template?.id ?? null,
97
97
  onApply: (e) => z("apply", e)
98
- }), H = a(null), U = a("image"), W = a(null), G = a(""), K = a(null), q = a(!1), J = a(!1), Y = f(() => V.isGenerating.value ? !1 : W.value !== null);
98
+ }), H = a(null), U = a("image"), W = a(null), G = a(""), K = a(null), q = a(!1), J = a(!1), Y = ne(() => V.isGenerating.value ? !1 : W.value !== null);
99
99
  function X(e) {
100
100
  U.value = e, Q();
101
101
  }
102
- function xe(e) {
102
+ function Se(e) {
103
103
  let t = e.target, n = t.files?.[0];
104
104
  n && Z(n), t.value = "";
105
105
  }
@@ -127,13 +127,13 @@ var ue = h("file-image", [
127
127
  function Q() {
128
128
  K.value &&= (URL.revokeObjectURL(K.value), null), W.value = null;
129
129
  }
130
- function Se(e) {
130
+ function Ce(e) {
131
131
  e.preventDefault(), J.value = !0;
132
132
  }
133
- function Ce() {
133
+ function we() {
134
134
  J.value = !1;
135
135
  }
136
- function we(e) {
136
+ function Te(e) {
137
137
  e.preventDefault(), J.value = !1;
138
138
  let t = e.dataTransfer?.files?.[0];
139
139
  t && Z(t);
@@ -148,12 +148,14 @@ var ue = h("file-image", [
148
148
  let e = {};
149
149
  G.value.trim() && (e.prompt = G.value.trim()), U.value === "image" && W.value ? e.imageUpload = W.value : U.value === "pdf" && W.value && (e.pdfUpload = W.value), V.generate(e);
150
150
  }
151
- function Te() {
151
+ function Ee() {
152
152
  q.value = !1;
153
153
  }
154
- return ie(() => y.visible, (e) => {
154
+ return ae(() => y.visible, (e) => {
155
155
  e || (q.value = !1);
156
- }), (a, f) => (n(), te(re, {
156
+ }), d(() => {
157
+ K.value &&= (URL.revokeObjectURL(K.value), null);
158
+ }), (a, d) => (n(), te(ie, {
157
159
  "enter-active-class": "tpl-design-slide-enter-active",
158
160
  "enter-from-class": "tpl:translate-x-full",
159
161
  "enter-to-class": "tpl:translate-x-0",
@@ -161,52 +163,52 @@ var ue = h("file-image", [
161
163
  "leave-from-class": "tpl:translate-x-0",
162
164
  "leave-to-class": "tpl:translate-x-full"
163
165
  }, {
164
- default: ee(() => [o.visible ? (n(), s("div", fe, [d("div", pe, [d("div", me, [c(u(g), {
166
+ default: ee(() => [o.visible ? (n(), s("div", pe, [f("div", me, [f("div", he, [c(u(_), {
165
167
  size: 13,
166
168
  "stroke-width": 2
167
- }), d("span", null, r(u(B).designReference.title), 1)]), d("button", {
169
+ }), f("span", null, r(u(B).designReference.title), 1)]), f("button", {
168
170
  class: "tpl:rounded-md tpl:p-0.5 tpl:transition-colors tpl:duration-150 tpl:text-[var(--tpl-text-muted)]",
169
- onClick: f[0] ||= (e) => z("close")
170
- }, [c(u(_), {
171
+ onClick: d[0] ||= (e) => z("close")
172
+ }, [c(u(v), {
171
173
  size: 14,
172
174
  "stroke-width": 2
173
- })])]), d("div", he, [u(V).isGenerating.value ? (n(), s("div", x, [d("div", S, [c(v), d("p", C, r(u(B).designReference.generating), 1)])])) : (n(), s("div", w, [
174
- d("div", T, [d("button", {
175
+ })])]), f("div", x, [u(V).isGenerating.value ? (n(), s("div", S, [f("div", C, [c(ce), f("p", w, r(u(B).designReference.generating), 1)])])) : (n(), s("div", T, [
176
+ f("div", E, [f("button", {
175
177
  class: "tpl:flex tpl:flex-1 tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded-[var(--tpl-radius-sm)] tpl:px-2 tpl:py-1.5 tpl:text-xs tpl:font-medium tpl:transition-all tpl:duration-150",
176
178
  style: i({
177
179
  backgroundColor: U.value === "image" ? "var(--tpl-bg)" : "transparent",
178
180
  color: U.value === "image" ? "var(--tpl-primary)" : "var(--tpl-text-muted)",
179
181
  boxShadow: U.value === "image" ? "var(--tpl-shadow)" : "none"
180
182
  }),
181
- onClick: f[1] ||= (e) => X("image")
182
- }, [c(u(ue), {
183
+ onClick: d[1] ||= (e) => X("image")
184
+ }, [c(u(de), {
183
185
  size: 12,
184
186
  "stroke-width": 2
185
- }), p(" " + r(u(B).designReference.uploadImage), 1)], 4), d("button", {
187
+ }), p(" " + r(u(B).designReference.uploadImage), 1)], 4), f("button", {
186
188
  class: "tpl:flex tpl:flex-1 tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded-[var(--tpl-radius-sm)] tpl:px-2 tpl:py-1.5 tpl:text-xs tpl:font-medium tpl:transition-all tpl:duration-150",
187
189
  style: i({
188
190
  backgroundColor: U.value === "pdf" ? "var(--tpl-bg)" : "transparent",
189
191
  color: U.value === "pdf" ? "var(--tpl-primary)" : "var(--tpl-text-muted)",
190
192
  boxShadow: U.value === "pdf" ? "var(--tpl-shadow)" : "none"
191
193
  }),
192
- onClick: f[2] ||= (e) => X("pdf")
194
+ onClick: d[2] ||= (e) => X("pdf")
193
195
  }, [c(u(b), {
194
196
  size: 12,
195
197
  "stroke-width": 2
196
198
  }), p(" " + r(u(B).designReference.uploadPdf), 1)], 4)]),
197
- d("div", null, [W.value ? (n(), s("div", E, [d("div", D, [K.value ? (n(), s("img", {
199
+ f("div", null, [W.value ? (n(), s("div", D, [f("div", O, [K.value ? (n(), s("img", {
198
200
  key: 0,
199
201
  src: K.value,
200
202
  alt: W.value.name,
201
203
  class: "tpl:h-auto tpl:max-h-48 tpl:w-full tpl:object-contain"
202
- }, null, 8, O)) : (n(), s("div", k, [c(u(b), {
204
+ }, null, 8, k)) : (n(), s("div", A, [c(u(b), {
203
205
  size: 32,
204
206
  "stroke-width": 1.5,
205
207
  class: "tpl:text-[var(--tpl-text-dim)]"
206
- }), d("span", A, r(W.value.name), 1)])), d("button", {
208
+ }), f("span", j, r(W.value.name), 1)])), f("button", {
207
209
  class: "tpl:absolute tpl:top-2 tpl:right-2 tpl:rounded-full tpl:p-1 tpl:transition-colors tpl:duration-150 tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text-muted)] tpl:shadow-[var(--tpl-shadow)]",
208
210
  onClick: Q
209
- }, [c(u(_), {
211
+ }, [c(u(v), {
210
212
  size: 12,
211
213
  "stroke-width": 2
212
214
  })])])])) : (n(), s("div", {
@@ -216,59 +218,59 @@ var ue = h("file-image", [
216
218
  borderColor: J.value ? "var(--tpl-primary)" : "var(--tpl-border-light)",
217
219
  backgroundColor: J.value ? "var(--tpl-primary-light)" : "var(--tpl-bg)"
218
220
  }),
219
- onClick: f[3] ||= (e) => H.value?.click(),
220
- onDragover: Se,
221
- onDragleave: Ce,
222
- onDrop: we
221
+ onClick: d[3] ||= (e) => H.value?.click(),
222
+ onDragover: Ce,
223
+ onDragleave: we,
224
+ onDrop: Te
223
225
  }, [
224
- c(u(de), {
226
+ c(u(fe), {
225
227
  size: 24,
226
228
  "stroke-width": 1.5,
227
229
  class: "tpl:text-[var(--tpl-text-dim)]"
228
230
  }),
229
- d("span", j, r(u(B).designReference.dropHint), 1),
230
- d("span", M, r(U.value === "image" ? u(B).designReference.acceptedImages : u(B).designReference.acceptedPdf), 1)
231
- ], 36)), d("input", {
231
+ f("span", M, r(u(B).designReference.dropHint), 1),
232
+ f("span", N, r(U.value === "image" ? u(B).designReference.acceptedImages : u(B).designReference.acceptedPdf), 1)
233
+ ], 36)), f("input", {
232
234
  ref_key: "fileInput",
233
235
  ref: H,
234
236
  type: "file",
235
237
  class: "tpl:hidden",
236
238
  accept: U.value === "image" ? "image/png,image/jpeg,image/webp" : "application/pdf",
237
- onChange: xe
238
- }, null, 40, N)]),
239
- d("div", P, [d("label", F, r(u(B).designReference.promptLabel), 1), t(d("textarea", {
240
- "onUpdate:modelValue": f[4] ||= (e) => G.value = e,
239
+ onChange: Se
240
+ }, null, 40, P)]),
241
+ f("div", F, [f("label", I, r(u(B).designReference.promptLabel), 1), t(f("textarea", {
242
+ "onUpdate:modelValue": d[4] ||= (e) => G.value = e,
241
243
  class: e(["tpl:min-h-[72px] tpl:w-full tpl:resize-none tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:px-3 tpl:py-2 tpl:font-sans tpl:text-sm tpl:outline-none tpl:transition-colors tpl:duration-150 tpl:border-[var(--tpl-border)] tpl:text-[var(--tpl-text)] tpl:bg-[var(--tpl-bg)]", ["tpl-design-prompt-input"]]),
242
244
  placeholder: u(B).designReference.promptPlaceholder,
243
245
  rows: "3"
244
- }, null, 8, I), [[ne, G.value]])]),
245
- q.value ? (n(), s("div", L, [d("p", R, r(u(B).designReference.replaceWarning), 1), d("div", ge, [d("button", {
246
+ }, null, 8, L), [[re, G.value]])]),
247
+ q.value ? (n(), s("div", R, [f("p", ge, r(u(B).designReference.replaceWarning), 1), f("div", _e, [f("button", {
246
248
  class: "tpl:flex-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:px-3 tpl:py-1.5 tpl:text-xs tpl:font-medium tpl:transition-all tpl:duration-150 tpl:text-[var(--tpl-text-muted)] tpl:border tpl:border-[var(--tpl-border)]",
247
249
  style: { "background-color": "transparent" },
248
- onClick: Te
249
- }, r(u(B).designReference.replaceCancel), 1), d("button", {
250
+ onClick: Ee
251
+ }, r(u(B).designReference.replaceCancel), 1), f("button", {
250
252
  class: "tpl:flex-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:px-3 tpl:py-1.5 tpl:text-xs tpl:font-medium tpl:transition-all tpl:duration-150 tpl:hover:opacity-90 tpl:bg-[var(--tpl-primary)] tpl:text-[var(--tpl-bg)]",
251
253
  onClick: $
252
254
  }, r(u(B).designReference.replaceConfirm), 1)])])) : l("", !0),
253
- u(V).error.value ? (n(), s("div", _e, [c(u(se), {
255
+ u(V).error.value ? (n(), s("div", ve, [c(u(se), {
254
256
  size: 14,
255
257
  "stroke-width": 2,
256
258
  class: "tpl:mt-0.5 tpl:shrink-0"
257
- }), d("span", null, r(u(B).designReference.error), 1)])) : l("", !0),
259
+ }), f("span", null, r(u(B).designReference.error), 1)])) : l("", !0),
258
260
  q.value ? l("", !0) : (n(), s("button", {
259
261
  key: 2,
260
262
  class: "tpl:flex tpl:w-full tpl:items-center tpl:justify-center tpl:gap-2 tpl:rounded-[var(--tpl-radius-sm)] tpl:px-4 tpl:py-2.5 tpl:text-sm tpl:font-medium tpl:transition-all tpl:duration-150 tpl:hover:opacity-90 tpl:disabled:cursor-not-allowed tpl:disabled:opacity-50 tpl:bg-[var(--tpl-primary)] tpl:text-[var(--tpl-bg)]",
261
263
  disabled: !Y.value,
262
264
  onClick: $
263
- }, [c(u(g), {
265
+ }, [c(u(_), {
264
266
  size: 16,
265
267
  "stroke-width": 2
266
- }), p(" " + r(u(B).designReference.generate), 1)], 8, ve)),
267
- d("p", ye, r(u(B).aiMenu.disclaimer), 1)
268
+ }), p(" " + r(u(B).designReference.generate), 1)], 8, ye)),
269
+ f("p", be, r(u(B).aiMenu.disclaimer), 1)
268
270
  ]))])])) : l("", !0)]),
269
271
  _: 1
270
272
  }));
271
273
  }
272
- }), [["__scopeId", "data-v-7e3f1324"]]);
274
+ }), [["__scopeId", "data-v-bdbf8d0d"]]);
273
275
  //#endregion
274
276
  export { z as default };
@@ -1,13 +1,13 @@
1
1
  import { H as e, L as t, M as n, Mt as r, Ot as i, P as a, Q as o, S as s, V as ee, _ as c, b as l, d as u, g as te, h as d, it as f, m as p, o as ne, p as m, s as re, u as h, x as ie, z as ae } from "./vue.runtime.esm-bundler-DpvJL-nX.js";
2
- import "./useEditorCore-Dz-qbVXX.js";
2
+ import "./useEditorCore-C6ost42Q.js";
3
3
  import { C as oe, O as g, m as se } from "./keys-ciNfSSGj.js";
4
4
  import { t as ce } from "./useI18n-lb2DHDiu.js";
5
5
  import { t as _ } from "./createLucideIcon-C3pa2siy.js";
6
- import { n as v, t as y } from "./blockTypeIcons-D0wkSpP9.js";
6
+ import { n as v, t as y } from "./blockTypeIcons-BcTrDjmH.js";
7
7
  import { t as le } from "./trash-2-DbP2Y6t2.js";
8
8
  import { t as ue } from "./x-u2oVmjN_.js";
9
9
  import { n as de } from "./useCloudI18n-BuIwR6OE.js";
10
- import { t as fe } from "./TplModal-DzlNkBYQ.js";
10
+ import { t as fe } from "./TplModal-BwSfxIHf.js";
11
11
  var pe = _("search", [["path", {
12
12
  d: "m21 21-4.34-4.34",
13
13
  key: "14j7rj"
@@ -53,7 +53,7 @@ var pe = _("search", [["path", {
53
53
  props: { visible: { type: Boolean } },
54
54
  emits: ["close", "insert"],
55
55
  setup(s, { emit: _ }) {
56
- let B = s, V = _, Ee = ie(() => import("./ModulePreviewCanvas-B78PuZdk.js")), { t: De } = ce(), { t: H } = de(), U = g(oe, "ModuleBrowserModal"), W = g(se, "ModuleBrowserModal"), G = o(""), K = o(null), q = o(null), J = o("end"), Y = m(() => {
56
+ let B = s, V = _, Ee = ie(() => import("./ModulePreviewCanvas-CHdOwV_4.js")), { t: De } = ce(), { t: H } = de(), U = g(oe, "ModuleBrowserModal"), W = g(se, "ModuleBrowserModal"), G = o(""), K = o(null), q = o(null), J = o("end"), Y = m(() => {
57
57
  let e = U.modules.value;
58
58
  if (!G.value) return e;
59
59
  let t = G.value.toLowerCase();
@@ -1,5 +1,5 @@
1
1
  import { E as e, I as t, L as n, M as r, Ot as i, P as a, S as o, _ as s, d as c, h as l, it as u, m as d, p as f } from "./vue.runtime.esm-bundler-DpvJL-nX.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-Dz-qbVXX.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-C6ost42Q.js";
3
3
  import { s as D } from "./keys-ciNfSSGj.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__ */ o({
@@ -1,5 +1,5 @@
1
1
  import { Dt as e, E as t, L as n, M as r, Mt as i, Ot as a, P as o, Q as s, S as c, _ as l, b as u, d, f, g as p, h as m, it as h, l as g, m as _, p as v, q as y, u as b, y as x } from "./vue.runtime.esm-bundler-DpvJL-nX.js";
2
- import { C as S, b as C, w } from "./useEditorCore-Dz-qbVXX.js";
2
+ import { C as S, b as C, w } from "./useEditorCore-C6ost42Q.js";
3
3
  import { t as T } from "./dist-B1IR0bpH.js";
4
4
  import { D as E, O as D, T as O, h as k } from "./keys-ciNfSSGj.js";
5
5
  import { t as A } from "./useI18n-lb2DHDiu.js";
@@ -1,10 +1,10 @@
1
1
  import { Dt as e, H as t, M as n, Mt as r, Ot as i, P as a, Q as o, S as s, V as c, _ as l, b as u, d, g as f, h as p, it as m, m as h, p as g, s as _, y as v, z as y } from "./vue.runtime.esm-bundler-DpvJL-nX.js";
2
- import "./useEditorCore-Dz-qbVXX.js";
2
+ import "./useEditorCore-C6ost42Q.js";
3
3
  import { C as b, O as x, m as S } from "./keys-ciNfSSGj.js";
4
4
  import { t as ee } from "./useI18n-lb2DHDiu.js";
5
5
  import { t as te } from "./loader-circle-DsY5Yg33.js";
6
6
  import { n as ne } from "./useCloudI18n-BuIwR6OE.js";
7
- import { t as C } from "./TplModal-DzlNkBYQ.js";
7
+ import { t as C } from "./TplModal-BwSfxIHf.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,5 +1,5 @@
1
1
  import { Dt as e, M as t, Mt as n, P as r, Q as i, S as a, V as o, _ as s, b as c, d as l, g as u, it as d, m as f, p, t as m, u as h, z as g } from "./vue.runtime.esm-bundler-DpvJL-nX.js";
2
- import "./useEditorCore-Dz-qbVXX.js";
2
+ import "./useEditorCore-C6ost42Q.js";
3
3
  import { t as _ } from "./dist-B1IR0bpH.js";
4
4
  import { t as v } from "./useI18n-lb2DHDiu.js";
5
5
  import { t as y } from "./createLucideIcon-C3pa2siy.js";
@@ -7,7 +7,7 @@ import { t as b } from "./chevron-down-R2uY34iD.js";
7
7
  import { t as x } from "./clock-CRp2sIub.js";
8
8
  import { t as S } from "./loader-circle-DsY5Yg33.js";
9
9
  import { n as C } from "./useCloudI18n-BuIwR6OE.js";
10
- import { t as w } from "./formatRelativeTime-WvH3Au71.js";
10
+ import { t as w } from "./formatRelativeTime-BOEf47hq.js";
11
11
  var T = y("chevron-left", [["path", {
12
12
  d: "m15 18-6-6 6-6",
13
13
  key: "1wnfg3"
@@ -1,8 +1,8 @@
1
1
  import { Dt as e, H as t, M as n, Mt as r, P as i, Q as a, S as o, V as s, _ as c, b as l, d as u, g as d, h as f, it as p, m, o as h, y as g, z as _ } from "./vue.runtime.esm-bundler-DpvJL-nX.js";
2
- import "./useEditorCore-Dz-qbVXX.js";
2
+ import "./useEditorCore-C6ost42Q.js";
3
3
  import { t as v } from "./loader-circle-DsY5Yg33.js";
4
4
  import { n as y } from "./useCloudI18n-BuIwR6OE.js";
5
- import { t as b } from "./TplModal-DzlNkBYQ.js";
5
+ import { t as b } from "./TplModal-BwSfxIHf.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,5 +1,5 @@
1
1
  import { Dt as e, E as t, M as n, Mt as r, Ot as i, S as a, _ as o, b as s, d as c, f as l, g as u, h as d, it as f, m as p, q as m, y as h } from "./vue.runtime.esm-bundler-DpvJL-nX.js";
2
- import { b as g } from "./useEditorCore-Dz-qbVXX.js";
2
+ import { b as g } from "./useEditorCore-C6ost42Q.js";
3
3
  import { D as _, T as v } from "./keys-ciNfSSGj.js";
4
4
  import { t as y } from "./useI18n-lb2DHDiu.js";
5
5
  import { a as b, i as x, n as S, r as C, t as w } from "./RichTextEditorContent-DYkIauIk.js";
@@ -1,5 +1,5 @@
1
1
  import { E as e, F as t, M as n, Q as r, S as i, V as a, _ as o, b as s, f as c, g as l, h as u, it as d, m as f, p, t as m, u as h } from "./vue.runtime.esm-bundler-DpvJL-nX.js";
2
- import { w as g } from "./useEditorCore-Dz-qbVXX.js";
2
+ import { w as g } from "./useEditorCore-C6ost42Q.js";
3
3
  import { D as _ } from "./keys-ciNfSSGj.js";
4
4
  //#region src/cloud/components/TplModal.vue?vue&type=script&setup=true&lang.ts
5
5
  var v = ["data-tpl-theme"], y = /* @__PURE__ */ i({
@@ -1,4 +1,4 @@
1
- import { D as e, E as t, M as n, O as r, k as i } from "./useEditorCore-Dz-qbVXX.js";
1
+ import { D as e, E as t, M as n, O as r, k as i } from "./useEditorCore-C6ost42Q.js";
2
2
  import { t as a } from "./createLucideIcon-C3pa2siy.js";
3
3
  var o = a("columns-3", [
4
4
  ["rect", {
@@ -1,10 +1,10 @@
1
1
  {
2
- "version": "0.6.1",
3
- "initialGzipBytes": 213432,
4
- "initialRawBytes": 723490,
2
+ "version": "0.6.3",
3
+ "initialGzipBytes": 214031,
4
+ "initialRawBytes": 728243,
5
5
  "initialFileCount": 33,
6
- "lazyGzipBytes": 255537,
7
- "lazyRawBytes": 890869,
6
+ "lazyGzipBytes": 255677,
7
+ "lazyRawBytes": 891447,
8
8
  "lazyFileCount": 45,
9
- "generatedAt": "2026-05-05T20:42:07.500Z"
9
+ "generatedAt": "2026-05-06T20:13:47.307Z"
10
10
  }
@@ -1,6 +1,6 @@
1
1
  import { E as e, F as t, N as n, R as r, S as i, _ as a, at as o, b as s, d as c, g as l, h as u, lt as d, m as f, p, st as m, y as h } from "./draggable-Bcb86AsV.js";
2
- import { Kt as g, Nt as _, Pt as v, Tt as y, _t as b, at as x } from "./features-BdkV7kQP.js";
3
- import { Q as S, Z as C, t as w } from "./icons-oRXtYgc3.js";
2
+ import { Kt as g, Nt as _, Pt as v, Tt as y, _t as b, at as x } from "./features-DEMb13KS.js";
3
+ import { Q as S, Z as C, t as w } from "./icons-CsLTcirh.js";
4
4
  //#region src/components/sidebar/AccessibilityPanel.vue?vue&type=script&setup=true&lang.ts
5
5
  var T = { class: "tpl:flex tpl:flex-col tpl:gap-4 tpl:p-4" }, E = { class: "tpl:flex tpl:items-center tpl:gap-2" }, D = { class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, O = ["title"], k = {
6
6
  key: 0,
@@ -94,4 +94,4 @@ var T = { class: "tpl:flex tpl:flex-col tpl:gap-4 tpl:p-4" }, E = { class: "tpl:
94
94
  //#endregion
95
95
  export { R as default };
96
96
 
97
- //# sourceMappingURL=AccessibilityPanel-fjNLcnxu.js.map
97
+ //# sourceMappingURL=AccessibilityPanel-B6DOjojm.js.map