@templatical/editor 0.10.0 → 0.10.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.
- package/dist/{AiChatSidebar-D30WPhbv.js → AiChatSidebar-Dz5bH1z3.js} +13 -13
- package/dist/{AiFeatureMenu-B5CJX5zr.js → AiFeatureMenu-D2Xn0jFx.js} +7 -7
- package/dist/{BlockIssueBadge-CkB4Yyz2.js → BlockIssueBadge-CnqD1cGo.js} +5 -5
- package/dist/{CloudEditor-nT-R769W.js → CloudEditor-BizZwsfD.js} +158 -155
- package/dist/{CollaboratorBar-CwhlXODK.js → CollaboratorBar-Bn2JDu6l.js} +4 -4
- package/dist/{CommentsSidebar-gpZMMI5w.js → CommentsSidebar-BAG6rdVC.js} +12 -12
- package/dist/{CountdownBlock-BNvuXucv.js → CountdownBlock-B_Hr9Bm9.js} +3 -3
- package/dist/{CountdownToolbar-Dl82DAmI.js → CountdownToolbar-DaqDLKLk.js} +3 -3
- package/dist/{DesignReferenceSidebar-Bs5AMxVd.js → DesignReferenceSidebar-I9LWjvrj.js} +9 -9
- package/dist/{IssuesPanel-CqQa2BtU.js → IssuesPanel-B32Ifp4x.js} +8 -8
- package/dist/{LoadingTrack-xCOLUR3o.js → LoadingTrack-UTqOUN4O.js} +1 -1
- package/dist/{ModuleBrowserModal-BWWgF0LC.js → ModuleBrowserModal-DodRped1.js} +10 -10
- package/dist/{ModulePreviewCanvas-D7Tk5HOt.js → ModulePreviewCanvas-DhcnddJF.js} +3 -3
- package/dist/{NumberWithSuffix-DVy5HxMi.js → NumberWithSuffix-DB7GyyCI.js} +3 -3
- package/dist/{ParagraphEditor-DVSGdMOo.js → ParagraphEditor-pJA9BHAL.js} +25 -25
- package/dist/{RichTextEditorContent-DN-fRjMa.js → RichTextEditorContent-dTGSUff_.js} +6 -6
- package/dist/{SaveModuleDialog-CkEYkyVD.js → SaveModuleDialog-D634e99d.js} +7 -7
- package/dist/{SnapshotHistory-Nx9wrlbF.js → SnapshotHistory-m_nGAHlb.js} +9 -9
- package/dist/{TemplateScoringPanel-BG9M-29t.js → TemplateScoringPanel-BOQh9neV.js} +14 -14
- package/dist/{TestEmailModal-CRjtEs6S.js → TestEmailModal-DOcwoKkc.js} +5 -5
- package/dist/{TitleEditor-CvtV4pCA.js → TitleEditor-t6JMWamY.js} +12 -12
- package/dist/{TplModal-BudEYVcJ.js → TplModal-BAtbfDB0.js} +4 -4
- package/dist/{blockTypeIcons-Dd-UvfnC.js → blockTypeIcons-C4lXx3Au.js} +2 -2
- package/dist/bundle-stats.json +6 -6
- package/dist/cdn/chunks/{AiFeatureMenu-DKOv8VnB.js → AiFeatureMenu-BeOyHAoZ.js} +3 -3
- package/dist/cdn/chunks/{AiFeatureMenu-DKOv8VnB.js.map → AiFeatureMenu-BeOyHAoZ.js.map} +1 -1
- package/dist/cdn/chunks/{BlockIssueBadge-DpiSTwM7.js → BlockIssueBadge-C6YilQdl.js} +3 -3
- package/dist/cdn/chunks/{BlockIssueBadge-DpiSTwM7.js.map → BlockIssueBadge-C6YilQdl.js.map} +1 -1
- package/dist/cdn/chunks/{CloudEditor-xc_uOEgn.js → CloudEditor-DEA37rdW.js} +35 -32
- package/dist/cdn/chunks/CloudEditor-DEA37rdW.js.map +1 -0
- package/dist/cdn/chunks/{CollaboratorBar-VWfPri_h.js → CollaboratorBar-CKW7jOW4.js} +4 -4
- package/dist/cdn/chunks/{CollaboratorBar-VWfPri_h.js.map → CollaboratorBar-CKW7jOW4.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownBlock-BKsCWboK.js → CountdownBlock-DU9ga9Ki.js} +3 -3
- package/dist/cdn/chunks/{CountdownBlock-BKsCWboK.js.map → CountdownBlock-DU9ga9Ki.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownToolbar-BLtECDNb.js → CountdownToolbar-BHWsxth7.js} +4 -4
- package/dist/cdn/chunks/{CountdownToolbar-BLtECDNb.js.map → CountdownToolbar-BHWsxth7.js.map} +1 -1
- package/dist/cdn/chunks/{IssuesPanel-BW2piyvs.js → IssuesPanel-BkYhij39.js} +4 -4
- package/dist/cdn/chunks/{IssuesPanel-BW2piyvs.js.map → IssuesPanel-BkYhij39.js.map} +1 -1
- package/dist/cdn/chunks/{ModuleBrowserModal-TLlKpvjX.js → ModuleBrowserModal-D51w942J.js} +6 -6
- package/dist/cdn/chunks/{ModuleBrowserModal-TLlKpvjX.js.map → ModuleBrowserModal-D51w942J.js.map} +1 -1
- package/dist/cdn/chunks/{ModulePreviewCanvas-wu7y-vrh.js → ModulePreviewCanvas-BqTqcKHS.js} +3 -3
- package/dist/cdn/chunks/{ModulePreviewCanvas-wu7y-vrh.js.map → ModulePreviewCanvas-BqTqcKHS.js.map} +1 -1
- package/dist/cdn/chunks/{NumberWithSuffix-DxoUtTMr.js → NumberWithSuffix-DuUcF2zG.js} +3 -3
- package/dist/cdn/chunks/{NumberWithSuffix-DxoUtTMr.js.map → NumberWithSuffix-DuUcF2zG.js.map} +1 -1
- package/dist/cdn/chunks/{ParagraphEditor-DvxIO2LN.js → ParagraphEditor-Bqjn3ZNm.js} +19 -19
- package/dist/cdn/chunks/{ParagraphEditor-DvxIO2LN.js.map → ParagraphEditor-Bqjn3ZNm.js.map} +1 -1
- package/dist/cdn/chunks/{RichTextEditorContent-Dm9GXJmo.js → RichTextEditorContent-mIkkb5EK.js} +3 -3
- package/dist/cdn/chunks/{RichTextEditorContent-Dm9GXJmo.js.map → RichTextEditorContent-mIkkb5EK.js.map} +1 -1
- package/dist/cdn/chunks/{SaveModuleDialog-BRAdVcYM.js → SaveModuleDialog-Felfmkcj.js} +3 -3
- package/dist/cdn/chunks/{SaveModuleDialog-BRAdVcYM.js.map → SaveModuleDialog-Felfmkcj.js.map} +1 -1
- package/dist/cdn/chunks/{TitleEditor-D3gPRd0x.js → TitleEditor-Dcldr8D6.js} +9 -9
- package/dist/cdn/chunks/{TitleEditor-D3gPRd0x.js.map → TitleEditor-Dcldr8D6.js.map} +1 -1
- package/dist/cdn/chunks/{blockTypeIcons-C2cm4RjU.js → blockTypeIcons-D05Wqf5u.js} +3 -3
- package/dist/cdn/chunks/{blockTypeIcons-C2cm4RjU.js.map → blockTypeIcons-D05Wqf5u.js.map} +1 -1
- package/dist/cdn/chunks/{draggable-BwWMFq33.js → draggable-J_1CPXYc.js} +1254 -1253
- package/dist/cdn/chunks/draggable-J_1CPXYc.js.map +1 -0
- package/dist/cdn/chunks/{extensions-SS1ywPUR.js → extensions-CNmpC18A.js} +108 -105
- package/dist/cdn/chunks/{extensions-SS1ywPUR.js.map → extensions-CNmpC18A.js.map} +1 -1
- package/dist/cdn/chunks/{features-CwZTdcbt.js → features-_ar9QbVv.js} +264 -258
- package/dist/cdn/chunks/{features-CwZTdcbt.js.map → features-_ar9QbVv.js.map} +1 -1
- package/dist/cdn/chunks/{icons-CbNEr1kc.js → icons-CnwCLJX-.js} +12 -12
- package/dist/cdn/chunks/{icons-CbNEr1kc.js.map → icons-CnwCLJX-.js.map} +1 -1
- package/dist/cdn/chunks/{media-library-BRpHZOl7.js → media-library-9jyt7Bf9.js} +10 -6
- package/dist/cdn/chunks/media-library-9jyt7Bf9.js.map +1 -0
- package/dist/cdn/chunks/{quality-BqJqIPRU.js → quality-CO9mj_RH.js} +2 -2
- package/dist/cdn/chunks/{quality-BqJqIPRU.js.map → quality-CO9mj_RH.js.map} +1 -1
- package/dist/cdn/chunks/{renderer-CGVYkdUi.js → renderer-m6XTCWCL.js} +55 -54
- package/dist/cdn/chunks/renderer-m6XTCWCL.js.map +1 -0
- package/dist/cdn/chunks/{src-CvzfrFlT.js → src-DfMSYqvE.js} +5 -5
- package/dist/cdn/chunks/{src-CvzfrFlT.js.map → src-DfMSYqvE.js.map} +1 -1
- package/dist/cdn/chunks/{styles-2P5yvfsS.js → styles-1uFWdD5T.js} +17 -17
- package/dist/cdn/chunks/{styles-2P5yvfsS.js.map → styles-1uFWdD5T.js.map} +1 -1
- package/dist/cdn/chunks/{tiptap-BBbH3IT9.js → tiptap-CJbIm_hE.js} +5 -5
- package/dist/cdn/chunks/{tiptap-BBbH3IT9.js.map → tiptap-CJbIm_hE.js.map} +1 -1
- package/dist/cdn/editor.css +1 -1
- package/dist/cdn/editor.js +7 -7
- package/dist/{check-ChQyfxJ3.js → check-Bs6_uQpm.js} +1 -1
- package/dist/{chevron-down-DJjo0jSV.js → chevron-down-so1rnGwF.js} +1 -1
- package/dist/{circle-alert-CPH6l3Lc.js → circle-alert-CrKv0AuW.js} +1 -1
- package/dist/{clock-DHl_BIkU.js → clock-Cpx6GYpa.js} +1 -1
- package/dist/{cloud-BBC7bv8q.js → cloud-bHhCNRZa.js} +80 -74
- package/dist/{createLucideIcon-XgXOJ05E.js → createLucideIcon-DFBxEm5K.js} +3 -3
- package/dist/{dist-C0jo8wtG.js → dist-0RguD1vS.js} +1 -1
- package/dist/{dist-CNLAS2v2.js → dist-2-A7SaKm.js} +3 -3
- package/dist/{dist-UK-lbEBc.js → dist-74n2Mqc6.js} +1 -1
- package/dist/{dist-BzuC8o3y.js → dist-B3CcePtK.js} +3 -3
- package/dist/{dist-D8C6jIXM.js → dist-BejBMbBX.js} +3 -3
- package/dist/{dist-DILjuzSv.js → dist-Bvje_Tqb.js} +1 -1
- package/dist/{dist-BDgf2G-V.js → dist-BxHa6kIT.js} +3 -3
- package/dist/{dist-CUpJmrjt.js → dist-CIK3BYgh.js} +1 -1
- package/dist/{dist-C8wMh_gi.js → dist-CMkZaqX1.js} +1 -1
- package/dist/{dist-BxP6TB0l.js → dist-CoaWXQ7N.js} +1 -1
- package/dist/{dist-D5lmdi1F.js → dist-D1YvgM6p.js} +1 -1
- package/dist/{dist-DYO-w_Jf.js → dist-DJ5YJLXn.js} +1 -1
- package/dist/{dist-DXaxGLsw.js → dist-DwEpKyry.js} +1 -1
- package/dist/{extensions-C87ZSllQ.js → extensions-C810eSzv.js} +107 -104
- package/dist/{image-up-CPBCOMit.js → image-up-kMLE5GsI.js} +1 -1
- package/dist/{info-DIY9mguM.js → info-xqRxLfNz.js} +1 -1
- package/dist/{keys-Vt3XipJl.js → keys-BoYBr3PU.js} +1 -1
- package/dist/{list-checks-CSCyu3fH.js → list-checks-C81htkBJ.js} +1 -1
- package/dist/{loader-circle-Rz_4vJLH.js → loader-circle-C6cZPIum.js} +1 -1
- package/dist/{message-circle-D-umK_MU.js → message-circle-dqOBRe07.js} +1 -1
- package/dist/{refresh-cw-CvWF4jfR.js → refresh-cw-DCjNd6o0.js} +1 -1
- package/dist/{scan-line-wanvAFDr.js → scan-line-DXz0nZVJ.js} +1 -1
- package/dist/{send-BhbhbIFT.js → send-C4uH_WaI.js} +1 -1
- package/dist/{shield-check-CXPPMWth.js → shield-check-B3U68ssA.js} +1 -1
- package/dist/{sparkles-CrUN0KWY.js → sparkles-CsDweGUy.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{styles-DOjWbqA9.js → styles-CBlNpqL9.js} +35 -35
- package/dist/templatical-editor.js +5 -5
- package/dist/{text-align-end-Bkq8oBrD.js → text-align-start-BkKQePFp.js} +11 -11
- package/dist/{trash-2-BpY5BCLT.js → trash-2-BIOkaEz1.js} +1 -1
- package/dist/{triangle-alert-MwJBKR2e.js → triangle-alert-Bbgu6uUG.js} +1 -1
- package/dist/{useAliveFlag-BLyG8L4d.js → useAliveFlag-Bc99FWyR.js} +1 -1
- package/dist/{useCloudI18n-sRfoQCZY.js → useCloudI18n-DiwsLi6z.js} +2 -2
- package/dist/{useEditorCore-DxApq2hZ.js → useEditorCore-7c1QpPlw.js} +20 -20
- package/dist/{useI18n-lF6hYgZu.js → useI18n-DskZMfRJ.js} +2 -2
- package/dist/{useMergeTag-CZVI7Xe5.js → useMergeTag-Co4xYwG6.js} +3 -3
- package/dist/usePopoverRoot-DYH_gX8o.js +8 -0
- package/dist/{vue.runtime.esm-bundler-BDSGA5hA.js → vue.runtime.esm-bundler-D0Hg03Ub.js} +1289 -1288
- package/dist/{x-rcnxRG8Y.js → x-DWU6NCuE.js} +1 -1
- package/package.json +9 -9
- package/dist/cdn/chunks/CloudEditor-xc_uOEgn.js.map +0 -1
- package/dist/cdn/chunks/draggable-BwWMFq33.js.map +0 -1
- package/dist/cdn/chunks/media-library-BRpHZOl7.js.map +0 -1
- package/dist/cdn/chunks/renderer-CGVYkdUi.js.map +0 -1
- package/dist/usePopoverRoot-p2BanBI7.js +0 -8
- package/dist/{dist-GAmhYvUK.js → dist-BufRk8ZY.js} +1 -1
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { A as e, B as t, E as n, L as r, M as i, X as a, _ as ee, a as o, at as s, b as c, d as l, f as u, h as d, l as f, m as p, ot as te, p as m, rt as h, st as g, t as _, v, z as y } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import { M as b, l as ne, m as re, r as ie } from "./keys-
|
|
3
|
-
import { t as ae } from "./useI18n-
|
|
4
|
-
import { t as x } from "./createLucideIcon-
|
|
5
|
-
import { t as oe } from "./check-
|
|
6
|
-
import { t as se } from "./chevron-down-
|
|
7
|
-
import { t as S } from "./loader-circle-
|
|
8
|
-
import { t as C } from "./message-circle-
|
|
9
|
-
import { t as w } from "./send-
|
|
10
|
-
import { t as T } from "./trash-2-
|
|
11
|
-
import { t as E } from "./x-
|
|
1
|
+
import { A as e, B as t, E as n, L as r, M as i, X as a, _ as ee, a as o, at as s, b as c, d as l, f as u, h as d, l as f, m as p, ot as te, p as m, rt as h, st as g, t as _, v, z as y } from "./vue.runtime.esm-bundler-D0Hg03Ub.js";
|
|
2
|
+
import { M as b, l as ne, m as re, r as ie } from "./keys-BoYBr3PU.js";
|
|
3
|
+
import { t as ae } from "./useI18n-DskZMfRJ.js";
|
|
4
|
+
import { t as x } from "./createLucideIcon-DFBxEm5K.js";
|
|
5
|
+
import { t as oe } from "./check-Bs6_uQpm.js";
|
|
6
|
+
import { t as se } from "./chevron-down-so1rnGwF.js";
|
|
7
|
+
import { t as S } from "./loader-circle-C6cZPIum.js";
|
|
8
|
+
import { t as C } from "./message-circle-dqOBRe07.js";
|
|
9
|
+
import { t as w } from "./send-C4uH_WaI.js";
|
|
10
|
+
import { t as T } from "./trash-2-BIOkaEz1.js";
|
|
11
|
+
import { t as E } from "./x-DWU6NCuE.js";
|
|
12
12
|
import { t as D } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
13
|
-
import { n as ce } from "./useCloudI18n-
|
|
13
|
+
import { n as ce } from "./useCloudI18n-DiwsLi6z.js";
|
|
14
14
|
import { t as le } from "./formatRelativeTime-CyDg5cDD.js";
|
|
15
15
|
var ue = x("chevron-up", [["path", {
|
|
16
16
|
d: "m18 15-6-6-6 6",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { A as t, M as n, X as r, b as i, d as a, f as o, h as s, l as c, m as l, ot as u, rt as d, st as f } from "./vue.runtime.esm-bundler-
|
|
3
|
-
import { s as p } from "./dist-
|
|
4
|
-
import { t as m } from "./useI18n-
|
|
2
|
+
import { A as t, M as n, X as r, b as i, d as a, f as o, h as s, l as c, m as l, ot as u, rt as d, st as f } from "./vue.runtime.esm-bundler-D0Hg03Ub.js";
|
|
3
|
+
import { s as p } from "./dist-2-A7SaKm.js";
|
|
4
|
+
import { t as m } from "./useI18n-DskZMfRJ.js";
|
|
5
5
|
//#region src/components/blocks/CountdownBlock.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var h = {
|
|
7
7
|
key: 0,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { A as e, M as t, _ as n, at as r, b as i, d as a, f as o, h as s, l as c, p as l, rt as u, st as d, v as f, z as p } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import { t as m } from "./useI18n-
|
|
1
|
+
import { A as e, M as t, _ as n, at as r, b as i, d as a, f as o, h as s, l as c, p as l, rt as u, st as d, v as f, z as p } from "./vue.runtime.esm-bundler-D0Hg03Ub.js";
|
|
2
|
+
import { t as m } from "./useI18n-DskZMfRJ.js";
|
|
3
3
|
import { f as h } from "./styleConstants-lGobwiLH.js";
|
|
4
|
-
import { i as g, n as _, r as v, t as y } from "./NumberWithSuffix-
|
|
4
|
+
import { i as g, n as _, r as v, t as y } from "./NumberWithSuffix-DB7GyyCI.js";
|
|
5
5
|
//#region src/components/toolbar/CheckboxItem.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var b = { class: "tpl:flex tpl:cursor-pointer tpl:items-center tpl:gap-2 tpl:text-[12px] tpl:text-[var(--tpl-text)]" }, x = ["checked"], S = /* @__PURE__ */ i({
|
|
7
7
|
__name: "CheckboxItem",
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { A as e, B as t, D as n, L as r, X as i, _ as a, a as ee, at as te, b as o, d as ne, f as s, h as c, m as l, ot as u, p as re, rt as d, st as f, t as ie, v as p, z as ae } from "./vue.runtime.esm-bundler-
|
|
1
|
+
import { A as e, B as t, D as n, L as r, X as i, _ as a, a as ee, at as te, b as o, d as ne, f as s, h as c, m as l, ot as u, p as re, rt as d, st as f, t as ie, v as p, z as ae } from "./vue.runtime.esm-bundler-D0Hg03Ub.js";
|
|
2
2
|
import "./timeouts-Bmi_yePw.js";
|
|
3
|
-
import { M as m, m as oe, r as h } from "./keys-
|
|
4
|
-
import { t as g } from "./createLucideIcon-
|
|
5
|
-
import { t as se } from "./circle-alert-
|
|
6
|
-
import { t as _ } from "./image-up-
|
|
7
|
-
import { t as v } from "./x-
|
|
8
|
-
import { t as ce } from "./LoadingTrack-
|
|
3
|
+
import { M as m, m as oe, r as h } from "./keys-BoYBr3PU.js";
|
|
4
|
+
import { t as g } from "./createLucideIcon-DFBxEm5K.js";
|
|
5
|
+
import { t as se } from "./circle-alert-CrKv0AuW.js";
|
|
6
|
+
import { t as _ } from "./image-up-kMLE5GsI.js";
|
|
7
|
+
import { t as v } from "./x-DWU6NCuE.js";
|
|
8
|
+
import { t as ce } from "./LoadingTrack-UTqOUN4O.js";
|
|
9
9
|
import { t as y } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
10
|
-
import { n as le } from "./useCloudI18n-
|
|
11
|
-
import { u as ue } from "./cloud-
|
|
10
|
+
import { n as le } from "./useCloudI18n-DiwsLi6z.js";
|
|
11
|
+
import { u as ue } from "./cloud-bHhCNRZa.js";
|
|
12
12
|
var de = g("file-image", [
|
|
13
13
|
["path", {
|
|
14
14
|
d: "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { A as e, F as t, M as n, _ as r, at as i, b as a, d as o, f as s, h as c, l, m as u, p as d, rt as f, st as p, v as m, w as h } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import { O as g, m as _ } from "./keys-
|
|
3
|
-
import { t as v } from "./useI18n-
|
|
4
|
-
import { t as y } from "./createLucideIcon-
|
|
5
|
-
import { t as b } from "./circle-alert-
|
|
6
|
-
import { t as x } from "./info-
|
|
7
|
-
import { t as S } from "./list-checks-
|
|
8
|
-
import { t as C } from "./triangle-alert-
|
|
1
|
+
import { A as e, F as t, M as n, _ as r, at as i, b as a, d as o, f as s, h as c, l, m as u, p as d, rt as f, st as p, v as m, w as h } from "./vue.runtime.esm-bundler-D0Hg03Ub.js";
|
|
2
|
+
import { O as g, m as _ } from "./keys-BoYBr3PU.js";
|
|
3
|
+
import { t as v } from "./useI18n-DskZMfRJ.js";
|
|
4
|
+
import { t as y } from "./createLucideIcon-DFBxEm5K.js";
|
|
5
|
+
import { t as b } from "./circle-alert-CrKv0AuW.js";
|
|
6
|
+
import { t as x } from "./info-xqRxLfNz.js";
|
|
7
|
+
import { t as S } from "./list-checks-C81htkBJ.js";
|
|
8
|
+
import { t as C } from "./triangle-alert-Bbgu6uUG.js";
|
|
9
9
|
var w = y("arrow-right", [["path", {
|
|
10
10
|
d: "M5 12h14",
|
|
11
11
|
key: "1ays0h"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as e, h as t } from "./vue.runtime.esm-bundler-
|
|
1
|
+
import { A as e, h as t } from "./vue.runtime.esm-bundler-D0Hg03Ub.js";
|
|
2
2
|
import { t as n } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
3
3
|
//#region src/components/LoadingTrack.vue
|
|
4
4
|
var r = {}, i = { class: "tpl-loading-track" };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { A as e, B as t, F as n, L as r, M as i, X as a, a as ee, b as o, c as s, d as c, f as l, h as u, i as te, l as d, m as ne, ot as re, p as f, rt as p, st as m, v as h, y as ie, z as ae } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import "./useEditorCore-
|
|
3
|
-
import { E as oe, M as g, m as se } from "./keys-
|
|
4
|
-
import { t as ce } from "./useI18n-
|
|
5
|
-
import { n as le, r as _, t as v } from "./blockTypeIcons-
|
|
6
|
-
import { t as ue } from "./trash-2-
|
|
7
|
-
import { t as de } from "./x-
|
|
8
|
-
import { n as fe } from "./useCloudI18n-
|
|
9
|
-
import { t as pe } from "./TplModal-
|
|
1
|
+
import { A as e, B as t, F as n, L as r, M as i, X as a, a as ee, b as o, c as s, d as c, f as l, h as u, i as te, l as d, m as ne, ot as re, p as f, rt as p, st as m, v as h, y as ie, z as ae } from "./vue.runtime.esm-bundler-D0Hg03Ub.js";
|
|
2
|
+
import "./useEditorCore-7c1QpPlw.js";
|
|
3
|
+
import { E as oe, M as g, m as se } from "./keys-BoYBr3PU.js";
|
|
4
|
+
import { t as ce } from "./useI18n-DskZMfRJ.js";
|
|
5
|
+
import { n as le, r as _, t as v } from "./blockTypeIcons-C4lXx3Au.js";
|
|
6
|
+
import { t as ue } from "./trash-2-BIOkaEz1.js";
|
|
7
|
+
import { t as de } from "./x-DWU6NCuE.js";
|
|
8
|
+
import { n as fe } from "./useCloudI18n-DiwsLi6z.js";
|
|
9
|
+
import { t as pe } from "./TplModal-BAtbfDB0.js";
|
|
10
10
|
//#region src/cloud/components/ModuleBrowserModal.vue?vue&type=script&setup=true&lang.ts
|
|
11
11
|
var me = {
|
|
12
12
|
role: "dialog",
|
|
@@ -45,7 +45,7 @@ var me = {
|
|
|
45
45
|
props: { visible: { type: Boolean } },
|
|
46
46
|
emits: ["close", "insert"],
|
|
47
47
|
setup(o, { emit: z }) {
|
|
48
|
-
let Ee = o, B = z, De = ie(() => import("./ModulePreviewCanvas-
|
|
48
|
+
let Ee = o, B = z, De = ie(() => import("./ModulePreviewCanvas-DhcnddJF.js")), { t: Oe } = ce(), { t: V } = fe(), H = g(oe, "ModuleBrowserModal"), U = g(se, "ModuleBrowserModal"), W = a(""), G = a(null), K = a(null), q = a("end"), J = c(() => {
|
|
49
49
|
let e = H.modules.value;
|
|
50
50
|
if (!W.value) return e;
|
|
51
51
|
let t = W.value.toLowerCase();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { A as e, F as t, M as n, P as r, b as i, d as a, f as o, h as s, l as c, ot as l, p as u, rt as d, w as f } from "./vue.runtime.esm-bundler-
|
|
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-
|
|
3
|
-
import { o as D } from "./keys-
|
|
1
|
+
import { A as e, F as t, M as n, P as r, b as i, d as a, f as o, h as s, l as c, ot as l, p as u, rt as d, w as f } from "./vue.runtime.esm-bundler-D0Hg03Ub.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-7c1QpPlw.js";
|
|
3
|
+
import { o as D } from "./keys-BoYBr3PU.js";
|
|
4
4
|
//#region src/components/blocks/PreviewSectionBlock.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var O = { class: "tpl:w-full" }, k = { class: "tpl:flex tpl:gap-0" }, A = /* @__PURE__ */ i({
|
|
6
6
|
name: "PreviewSectionBlock",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { A as e, F as t, M as n, N as r, X as i, at as a, b as o, d as s, f as c, h as l, l as u, m as d, ot as f, p, rt as m, s as h, st as g, t as ee, v as _, z as te } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import { t as v } from "./dist-
|
|
3
|
-
import { t as ne } from "./useI18n-
|
|
1
|
+
import { A as e, F as t, M as n, N as r, X as i, at as a, b as o, d as s, f as c, h as l, l as u, m as d, ot as f, p, rt as m, s as h, st as g, t as ee, v as _, z as te } from "./vue.runtime.esm-bundler-D0Hg03Ub.js";
|
|
2
|
+
import { t as v } from "./dist-2-A7SaKm.js";
|
|
3
|
+
import { t as ne } from "./useI18n-DskZMfRJ.js";
|
|
4
4
|
import { h as y, i as b, m as x, p as S, u as C } from "./styleConstants-lGobwiLH.js";
|
|
5
5
|
//#region ../../node_modules/.pnpm/vanilla-colorful@0.7.2/node_modules/vanilla-colorful/lib/utils/math.js
|
|
6
6
|
var w = (e, t = 0, n = 1) => e > n ? n : e < t ? t : e, T = (e, t = 0, n = 10 ** t) => Math.round(n * e) / n;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { A as e, F as t, G as n, M as r, X as i, _ as a, at as o, b as s, c, d as l, f as u, h as d, l as f, m as p, ot as m, p as h, rt as g, s as _, st as v, u as y, v as b, w as x } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import { C as S, b as C, w } from "./useEditorCore-
|
|
3
|
-
import { t as T } from "./dist-
|
|
4
|
-
import { M as E, g as D, j as O, k, x as ee } from "./keys-
|
|
5
|
-
import { t as A } from "./useI18n-
|
|
6
|
-
import { t as j } from "./createLucideIcon-
|
|
7
|
-
import { a as te, i as M, n as N, r as ne, t as P } from "./RichTextEditorContent-
|
|
8
|
-
import { t as re } from "./loader-circle-
|
|
9
|
-
import { t as ie } from "./scan-line-
|
|
10
|
-
import { n as ae, r as oe, t as se } from "./text-align-
|
|
1
|
+
import { A as e, F as t, G as n, M as r, X as i, _ as a, at as o, b as s, c, d as l, f as u, h as d, l as f, m as p, ot as m, p as h, rt as g, s as _, st as v, u as y, v as b, w as x } from "./vue.runtime.esm-bundler-D0Hg03Ub.js";
|
|
2
|
+
import { C as S, b as C, w } from "./useEditorCore-7c1QpPlw.js";
|
|
3
|
+
import { t as T } from "./dist-2-A7SaKm.js";
|
|
4
|
+
import { M as E, g as D, j as O, k, x as ee } from "./keys-BoYBr3PU.js";
|
|
5
|
+
import { t as A } from "./useI18n-DskZMfRJ.js";
|
|
6
|
+
import { t as j } from "./createLucideIcon-DFBxEm5K.js";
|
|
7
|
+
import { a as te, i as M, n as N, r as ne, t as P } from "./RichTextEditorContent-dTGSUff_.js";
|
|
8
|
+
import { t as re } from "./loader-circle-C6cZPIum.js";
|
|
9
|
+
import { t as ie } from "./scan-line-DXz0nZVJ.js";
|
|
10
|
+
import { n as ae, r as oe, t as se } from "./text-align-start-BkKQePFp.js";
|
|
11
11
|
import { t as F } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
12
12
|
import { a as ce, o as le, s as I } from "./styleConstants-lGobwiLH.js";
|
|
13
|
-
import { t as L } from "./usePopoverRoot-
|
|
13
|
+
import { t as L } from "./usePopoverRoot-DYH_gX8o.js";
|
|
14
14
|
var R = j("list-ordered", [
|
|
15
15
|
["path", {
|
|
16
16
|
d: "M11 5h10",
|
|
@@ -494,7 +494,7 @@ var Z = /* @__PURE__ */ F(pe, [["render", he]]), ge = [
|
|
|
494
494
|
]),
|
|
495
495
|
b(Z),
|
|
496
496
|
b(X, {
|
|
497
|
-
icon: g(
|
|
497
|
+
icon: g(se),
|
|
498
498
|
label: g(w).paragraphEditor.alignLeft,
|
|
499
499
|
active: t.editor.isActive({ textAlign: "left" }),
|
|
500
500
|
onClick: r[11] ||= (e) => t.editor.chain().focus().setTextAlign("left").run()
|
|
@@ -514,7 +514,7 @@ var Z = /* @__PURE__ */ F(pe, [["render", he]]), ge = [
|
|
|
514
514
|
"active"
|
|
515
515
|
]),
|
|
516
516
|
b(X, {
|
|
517
|
-
icon: g(
|
|
517
|
+
icon: g(ae),
|
|
518
518
|
label: g(w).paragraphEditor.alignRight,
|
|
519
519
|
active: t.editor.isActive({ textAlign: "right" }),
|
|
520
520
|
onClick: r[13] ||= (e) => t.editor.chain().focus().setTextAlign("right").run()
|
|
@@ -587,18 +587,18 @@ var Z = /* @__PURE__ */ F(pe, [["render", he]]), ge = [
|
|
|
587
587
|
editorName: "ParagraphEditor",
|
|
588
588
|
async loadExtensions({ mergeTags: e, syntax: t, triggerChar: n, autocompleteEnabled: r, suggestionEmptyText: i }) {
|
|
589
589
|
let [{ Editor: a, EditorContent: s }, { default: c }, { default: l }, { default: u }, { default: d }, { default: f }, { default: p }, { TextStyle: m }, { default: h }, { default: g }, { default: _ }, { MergeTagNode: v, MergeTagSuggestion: y, LogicMergeTagNode: b, FontSize: x, LineHeight: S, LetterSpacing: C }] = await Promise.all([
|
|
590
|
-
import("./dist-
|
|
591
|
-
import("./dist-
|
|
592
|
-
import("./dist-
|
|
593
|
-
import("./dist-
|
|
594
|
-
import("./dist-
|
|
595
|
-
import("./dist-
|
|
596
|
-
import("./dist-
|
|
597
|
-
import("./dist-
|
|
598
|
-
import("./dist-
|
|
599
|
-
import("./dist-
|
|
600
|
-
import("./dist-
|
|
601
|
-
import("./extensions-
|
|
590
|
+
import("./dist-BejBMbBX.js").then((e) => e.r),
|
|
591
|
+
import("./dist-BxHa6kIT.js"),
|
|
592
|
+
import("./dist-DwEpKyry.js"),
|
|
593
|
+
import("./dist-DJ5YJLXn.js"),
|
|
594
|
+
import("./dist-CMkZaqX1.js"),
|
|
595
|
+
import("./dist-CIK3BYgh.js"),
|
|
596
|
+
import("./dist-74n2Mqc6.js"),
|
|
597
|
+
import("./dist-0RguD1vS.js"),
|
|
598
|
+
import("./dist-Bvje_Tqb.js"),
|
|
599
|
+
import("./dist-D1YvgM6p.js"),
|
|
600
|
+
import("./dist-CoaWXQ7N.js"),
|
|
601
|
+
import("./extensions-C810eSzv.js")
|
|
602
602
|
]);
|
|
603
603
|
return {
|
|
604
604
|
TiptapEditor: a,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { A as e, B as t, F as n, I as r, T as i, _ as a, a as o, b as s, c, f as l, h as u, m as d, ot as f, p, rt as m, st as h, u as g, v as _, w as v } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import { j as y, k as b } from "./keys-
|
|
3
|
-
import { t as x } from "./useI18n-
|
|
4
|
-
import { t as S } from "./createLucideIcon-
|
|
5
|
-
import { t as C } from "./x-
|
|
6
|
-
import { t as w } from "./usePopoverRoot-
|
|
1
|
+
import { A as e, B as t, F as n, I as r, T as i, _ as a, a as o, b as s, c, f as l, h as u, m as d, ot as f, p, rt as m, st as h, u as g, v as _, w as v } from "./vue.runtime.esm-bundler-D0Hg03Ub.js";
|
|
2
|
+
import { j as y, k as b } from "./keys-BoYBr3PU.js";
|
|
3
|
+
import { t as x } from "./useI18n-DskZMfRJ.js";
|
|
4
|
+
import { t as S } from "./createLucideIcon-DFBxEm5K.js";
|
|
5
|
+
import { t as C } from "./x-DWU6NCuE.js";
|
|
6
|
+
import { t as w } from "./usePopoverRoot-DYH_gX8o.js";
|
|
7
7
|
var T = S("bold", [["path", {
|
|
8
8
|
d: "M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8",
|
|
9
9
|
key: "mg9rjx"
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as e, B as t, L as n, M as r, X as i, _ as a, a as o, at as s, b as c, d as l, f as u, h as d, l as ee, m as f, ot as p, p as m, rt as h, st as g, v as _, z as v } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import "./useEditorCore-
|
|
3
|
-
import { E as y, M as b, m as x } from "./keys-
|
|
4
|
-
import { t as S } from "./useI18n-
|
|
5
|
-
import { t as te } from "./loader-circle-
|
|
6
|
-
import { n as ne } from "./useCloudI18n-
|
|
7
|
-
import { t as C } from "./TplModal-
|
|
1
|
+
import { A as e, B as t, L as n, M as r, X as i, _ as a, a as o, at as s, b as c, d as l, f as u, h as d, l as ee, m as f, ot as p, p as m, rt as h, st as g, v as _, z as v } from "./vue.runtime.esm-bundler-D0Hg03Ub.js";
|
|
2
|
+
import "./useEditorCore-7c1QpPlw.js";
|
|
3
|
+
import { E as y, M as b, m as x } from "./keys-BoYBr3PU.js";
|
|
4
|
+
import { t as S } from "./useI18n-DskZMfRJ.js";
|
|
5
|
+
import { t as te } from "./loader-circle-C6cZPIum.js";
|
|
6
|
+
import { n as ne } from "./useCloudI18n-DiwsLi6z.js";
|
|
7
|
+
import { t as C } from "./TplModal-BAtbfDB0.js";
|
|
8
8
|
//#region src/cloud/components/SaveModuleDialog.vue?vue&type=script&setup=true&lang.ts
|
|
9
9
|
var w = ["aria-busy"], T = {
|
|
10
10
|
id: "tpl-save-module-title",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { A as e, L as t, M as n, X as r, at as i, b as a, c as o, d as s, f as c, h as l, l as u, m as d, rt as f, st as p, t as m, v as h, z as g } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import "./useEditorCore-
|
|
3
|
-
import { t as _ } from "./dist-
|
|
4
|
-
import { t as v } from "./useI18n-
|
|
5
|
-
import { t as y } from "./createLucideIcon-
|
|
6
|
-
import { t as b } from "./chevron-down-
|
|
7
|
-
import { t as x } from "./clock-
|
|
8
|
-
import { t as S } from "./loader-circle-
|
|
9
|
-
import { n as C } from "./useCloudI18n-
|
|
1
|
+
import { A as e, L as t, M as n, X as r, at as i, b as a, c as o, d as s, f as c, h as l, l as u, m as d, rt as f, st as p, t as m, v as h, z as g } from "./vue.runtime.esm-bundler-D0Hg03Ub.js";
|
|
2
|
+
import "./useEditorCore-7c1QpPlw.js";
|
|
3
|
+
import { t as _ } from "./dist-2-A7SaKm.js";
|
|
4
|
+
import { t as v } from "./useI18n-DskZMfRJ.js";
|
|
5
|
+
import { t as y } from "./createLucideIcon-DFBxEm5K.js";
|
|
6
|
+
import { t as b } from "./chevron-down-so1rnGwF.js";
|
|
7
|
+
import { t as x } from "./clock-Cpx6GYpa.js";
|
|
8
|
+
import { t as S } from "./loader-circle-C6cZPIum.js";
|
|
9
|
+
import { n as C } from "./useCloudI18n-DiwsLi6z.js";
|
|
10
10
|
import { t as w } from "./formatRelativeTime-CyDg5cDD.js";
|
|
11
11
|
var T = y("chevron-left", [["path", {
|
|
12
12
|
d: "m15 18-6-6 6-6",
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { A as e, F as t, L as n, M as r, X as i, _ as a, at as ee, b as o, f as s, h as c, l, m as u, ot as d, p as f, rt as p, st as m, t as h, v as g, w as te, z as ne } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import { D as re, M as _, m as ie, y as v } from "./keys-
|
|
3
|
-
import { t as y } from "./createLucideIcon-
|
|
4
|
-
import { t as ae } from "./chevron-down-
|
|
5
|
-
import { t as b } from "./circle-alert-
|
|
6
|
-
import { n as x, t as S } from "./refresh-cw-
|
|
7
|
-
import { t as oe } from "./info-
|
|
8
|
-
import { t as C } from "./loader-circle-
|
|
9
|
-
import { t as w } from "./shield-check-
|
|
10
|
-
import { t as T } from "./sparkles-
|
|
11
|
-
import { t as se } from "./triangle-alert-
|
|
12
|
-
import { t as ce } from "./x-
|
|
13
|
-
import { t as le } from "./LoadingTrack-
|
|
1
|
+
import { A as e, F as t, L as n, M as r, X as i, _ as a, at as ee, b as o, f as s, h as c, l, m as u, ot as d, p as f, rt as p, st as m, t as h, v as g, w as te, z as ne } from "./vue.runtime.esm-bundler-D0Hg03Ub.js";
|
|
2
|
+
import { D as re, M as _, m as ie, y as v } from "./keys-BoYBr3PU.js";
|
|
3
|
+
import { t as y } from "./createLucideIcon-DFBxEm5K.js";
|
|
4
|
+
import { t as ae } from "./chevron-down-so1rnGwF.js";
|
|
5
|
+
import { t as b } from "./circle-alert-CrKv0AuW.js";
|
|
6
|
+
import { n as x, t as S } from "./refresh-cw-DCjNd6o0.js";
|
|
7
|
+
import { t as oe } from "./info-xqRxLfNz.js";
|
|
8
|
+
import { t as C } from "./loader-circle-C6cZPIum.js";
|
|
9
|
+
import { t as w } from "./shield-check-B3U68ssA.js";
|
|
10
|
+
import { t as T } from "./sparkles-CsDweGUy.js";
|
|
11
|
+
import { t as se } from "./triangle-alert-Bbgu6uUG.js";
|
|
12
|
+
import { t as ce } from "./x-DWU6NCuE.js";
|
|
13
|
+
import { t as le } from "./LoadingTrack-UTqOUN4O.js";
|
|
14
14
|
import { t as E } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
15
|
-
import { n as D } from "./useCloudI18n-
|
|
15
|
+
import { n as D } from "./useCloudI18n-DiwsLi6z.js";
|
|
16
16
|
var O = y("shield-x", [
|
|
17
17
|
["path", {
|
|
18
18
|
d: "M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { A as e, B as t, L as n, M as r, X as i, _ as a, at as o, b as s, f as c, h as l, i as u, l as d, m as f, p, rt as m, st as h, v as g, z as _ } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import "./useEditorCore-
|
|
3
|
-
import { t as v } from "./loader-circle-
|
|
4
|
-
import { n as y } from "./useCloudI18n-
|
|
5
|
-
import { t as b } from "./TplModal-
|
|
1
|
+
import { A as e, B as t, L as n, M as r, X as i, _ as a, at as o, b as s, f as c, h as l, i as u, l as d, m as f, p, rt as m, st as h, v as g, z as _ } from "./vue.runtime.esm-bundler-D0Hg03Ub.js";
|
|
2
|
+
import "./useEditorCore-7c1QpPlw.js";
|
|
3
|
+
import { t as v } from "./loader-circle-C6cZPIum.js";
|
|
4
|
+
import { n as y } from "./useCloudI18n-DiwsLi6z.js";
|
|
5
|
+
import { t as b } from "./TplModal-BAtbfDB0.js";
|
|
6
6
|
//#region src/cloud/components/TestEmailModal.vue?vue&type=script&setup=true&lang.ts
|
|
7
7
|
var x = ["aria-busy"], S = {
|
|
8
8
|
id: "tpl-test-email-title",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { A as e, G as t, _ as n, at as r, b as i, d as a, f as o, h as s, l as c, m as l, ot as u, p as d, rt as f, st as p, u as m, v as h, w as g } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import { b as _ } from "./useEditorCore-
|
|
3
|
-
import { j as v, k as y, x as b } from "./keys-
|
|
4
|
-
import { t as x } from "./useI18n-
|
|
5
|
-
import { a as S, i as C, n as w, r as T, t as ee } from "./RichTextEditorContent-
|
|
6
|
-
import { t as te } from "./loader-circle-
|
|
7
|
-
import { t as ne } from "./scan-line-
|
|
8
|
-
import { t as E } from "./usePopoverRoot-
|
|
1
|
+
import { A as e, G as t, _ as n, at as r, b as i, d as a, f as o, h as s, l as c, m as l, ot as u, p as d, rt as f, st as p, u as m, v as h, w as g } from "./vue.runtime.esm-bundler-D0Hg03Ub.js";
|
|
2
|
+
import { b as _ } from "./useEditorCore-7c1QpPlw.js";
|
|
3
|
+
import { j as v, k as y, x as b } from "./keys-BoYBr3PU.js";
|
|
4
|
+
import { t as x } from "./useI18n-DskZMfRJ.js";
|
|
5
|
+
import { a as S, i as C, n as w, r as T, t as ee } from "./RichTextEditorContent-dTGSUff_.js";
|
|
6
|
+
import { t as te } from "./loader-circle-C6cZPIum.js";
|
|
7
|
+
import { t as ne } from "./scan-line-DXz0nZVJ.js";
|
|
8
|
+
import { t as E } from "./usePopoverRoot-DYH_gX8o.js";
|
|
9
9
|
//#region src/components/blocks/TitleEditor.vue?vue&type=script&setup=true&lang.ts
|
|
10
10
|
var D = { class: "tpl-text-editor-wrapper tpl:relative" }, O = ["data-tpl-theme", "aria-label"], k = ["aria-label", "title"], A = ["aria-label", "title"], j = ["aria-label", "title"], M = {
|
|
11
11
|
key: 0,
|
|
@@ -28,10 +28,10 @@ var D = { class: "tpl-text-editor-wrapper tpl:relative" }, O = ["data-tpl-theme"
|
|
|
28
28
|
editorName: "TitleEditor",
|
|
29
29
|
async loadExtensions({ mergeTags: e, syntax: t, triggerChar: n, autocompleteEnabled: r, suggestionEmptyText: i }) {
|
|
30
30
|
let [{ Editor: a, EditorContent: o }, { default: s }, { default: c }, { MergeTagNode: l, MergeTagSuggestion: u, LogicMergeTagNode: d }] = await Promise.all([
|
|
31
|
-
import("./dist-
|
|
32
|
-
import("./dist-
|
|
33
|
-
import("./dist-
|
|
34
|
-
import("./extensions-
|
|
31
|
+
import("./dist-BejBMbBX.js").then((e) => e.r),
|
|
32
|
+
import("./dist-BxHa6kIT.js"),
|
|
33
|
+
import("./dist-DwEpKyry.js"),
|
|
34
|
+
import("./extensions-C810eSzv.js")
|
|
35
35
|
]);
|
|
36
36
|
return {
|
|
37
37
|
TiptapEditor: a,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { A as e, N as t, X as n, b as r, c as i, d as a, f as o, h as s, m as c, p as l, rt as u, t as d, u as f, v as p, w as m, z as h } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import { w as g } from "./useEditorCore-
|
|
3
|
-
import { j as _ } from "./keys-
|
|
4
|
-
import { t as v } from "./usePopoverRoot-
|
|
1
|
+
import { A as e, N as t, X as n, b as r, c as i, d as a, f as o, h as s, m as c, p as l, rt as u, t as d, u as f, v as p, w as m, z as h } from "./vue.runtime.esm-bundler-D0Hg03Ub.js";
|
|
2
|
+
import { w as g } from "./useEditorCore-7c1QpPlw.js";
|
|
3
|
+
import { j as _ } from "./keys-BoYBr3PU.js";
|
|
4
|
+
import { t as v } from "./usePopoverRoot-DYH_gX8o.js";
|
|
5
5
|
//#region src/components/TplModal.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var y = ["data-tpl-theme"], b = /* @__PURE__ */ r({
|
|
7
7
|
__name: "TplModal",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as e, E as t, M as n, O as r, k as i } from "./useEditorCore-
|
|
2
|
-
import { t as a } from "./createLucideIcon-
|
|
1
|
+
import { D as e, E as t, M as n, O as r, k as i } from "./useEditorCore-7c1QpPlw.js";
|
|
2
|
+
import { t as a } from "./createLucideIcon-DFBxEm5K.js";
|
|
3
3
|
var o = a("columns-3", [
|
|
4
4
|
["rect", {
|
|
5
5
|
width: "18",
|
package/dist/bundle-stats.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.10.
|
|
3
|
-
"initialGzipBytes":
|
|
4
|
-
"initialRawBytes":
|
|
2
|
+
"version": "0.10.1",
|
|
3
|
+
"initialGzipBytes": 157770,
|
|
4
|
+
"initialRawBytes": 551278,
|
|
5
5
|
"initialFileCount": 36,
|
|
6
|
-
"lazyGzipBytes":
|
|
7
|
-
"lazyRawBytes":
|
|
6
|
+
"lazyGzipBytes": 265736,
|
|
7
|
+
"lazyRawBytes": 921201,
|
|
8
8
|
"lazyFileCount": 46,
|
|
9
|
-
"generatedAt": "2026-
|
|
9
|
+
"generatedAt": "2026-06-01T07:17:19.883Z"
|
|
10
10
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { L as e, M as t, P as n, ct as r, f as i, g as a, m as o, p as s, st as c, u as l, x as u } from "./draggable-
|
|
2
|
-
import { It as d, dt as f, in as p, rt as m, tt as h, ut as g, xt as _ } from "./features-
|
|
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-J_1CPXYc.js";
|
|
2
|
+
import { It as d, dt as f, in as p, rt as m, tt as h, ut as g, xt as _ } from "./features-_ar9QbVv.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-
|
|
59
|
+
//# sourceMappingURL=AiFeatureMenu-BeOyHAoZ.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AiFeatureMenu-
|
|
1
|
+
{"version":3,"file":"AiFeatureMenu-BeOyHAoZ.js","names":[],"sources":["../../../src/cloud/components/AiFeatureMenu.vue","../../../src/cloud/components/AiFeatureMenu.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { useCloudI18nStrict } from \"../../composables\";\nimport { AI_CONFIG_KEY, requireInject } from \"../../keys\";\nimport type { AiConfig } from \"@templatical/types\";\nimport { ImageUp, ShieldCheck, Sparkles } from \"@lucide/vue\";\nimport { computed } from \"vue\";\n\nexport type AiFeature = \"ai-chat\" | \"design-reference\" | \"scoring\";\n\ndefineProps<{\n activeFeature: AiFeature | null;\n}>();\n\nconst emit = defineEmits<{\n (e: \"select\", feature: AiFeature): void;\n}>();\n\nconst { t: cloudT } = useCloudI18nStrict();\n\nconst aiConfig = requireInject(AI_CONFIG_KEY, \"AiFeatureMenu\");\n\nconst configKeyMap: Record<AiFeature, keyof AiConfig> = {\n \"ai-chat\": \"chat\",\n \"design-reference\": \"designToTemplate\",\n scoring: \"scoring\",\n};\n\nconst allFeatures: { key: AiFeature; icon: typeof Sparkles }[] = [\n { key: \"ai-chat\", icon: Sparkles },\n { key: \"design-reference\", icon: ImageUp },\n { key: \"scoring\", icon: ShieldCheck },\n];\n\nconst features = computed(() =>\n allFeatures.filter((f) => aiConfig.isFeatureEnabled(configKeyMap[f.key])),\n);\n\nfunction getTitle(key: AiFeature): string {\n if (key === \"ai-chat\") return cloudT.aiMenu.aiAssistant;\n if (key === \"design-reference\") return cloudT.aiMenu.designToTemplate;\n return cloudT.aiMenu.templateScore;\n}\n\nfunction getDescription(key: AiFeature): string {\n if (key === \"ai-chat\") return cloudT.aiMenu.aiAssistantDesc;\n if (key === \"design-reference\") return cloudT.aiMenu.designToTemplateDesc;\n return cloudT.aiMenu.templateScoreDesc;\n}\n</script>\n\n<template>\n <div\n class=\"tpl-ai-feature-menu tpl:w-[280px] tpl:overflow-hidden tpl:rounded-[var(--tpl-radius)] tpl:py-1 tpl:bg-[var(--tpl-bg-elevated)] tpl:border tpl:border-[var(--tpl-border)] tpl:shadow-[var(--tpl-shadow-lg)]\"\n style=\"backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px)\"\n >\n <button\n v-for=\"feature in features\"\n :key=\"feature.key\"\n class=\"tpl-ai-feature-menu-item tpl:flex tpl:w-full tpl:cursor-pointer tpl:items-start tpl:gap-3 tpl:border-none tpl:px-3 tpl:py-2.5 tpl:text-left tpl:transition-colors tpl:duration-100\"\n :style=\"{\n backgroundColor:\n activeFeature === feature.key\n ? 'var(--tpl-primary-light)'\n : 'transparent',\n }\"\n @click=\"emit('select', feature.key)\"\n >\n <div\n class=\"tpl:mt-0.5 tpl:flex tpl:size-7 tpl:shrink-0 tpl:items-center tpl:justify-center tpl:rounded-[var(--tpl-radius-sm)]\"\n :style=\"{\n backgroundColor:\n activeFeature === feature.key\n ? 'var(--tpl-primary)'\n : 'var(--tpl-bg-active)',\n color:\n activeFeature === feature.key\n ? 'var(--tpl-bg)'\n : 'var(--tpl-text-muted)',\n }\"\n >\n <component :is=\"feature.icon\" :size=\"15\" :stroke-width=\"2\" />\n </div>\n <div class=\"tpl:flex tpl:min-w-0 tpl:flex-col tpl:gap-0.5\">\n <span class=\"tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text)]\">\n {{ getTitle(feature.key) }}\n </span>\n <span\n class=\"tpl:text-xs tpl:leading-snug tpl:text-[var(--tpl-text-muted)]\"\n >\n {{ getDescription(feature.key) }}\n </span>\n </div>\n </button>\n </div>\n</template>\n\n<style scoped>\n.tpl-ai-feature-menu-item:hover {\n background-color: var(--tpl-bg-hover) !important;\n}\n</style>\n","<script setup lang=\"ts\">\nimport { useCloudI18nStrict } from \"../../composables\";\nimport { AI_CONFIG_KEY, requireInject } from \"../../keys\";\nimport type { AiConfig } from \"@templatical/types\";\nimport { ImageUp, ShieldCheck, Sparkles } from \"@lucide/vue\";\nimport { computed } from \"vue\";\n\nexport type AiFeature = \"ai-chat\" | \"design-reference\" | \"scoring\";\n\ndefineProps<{\n activeFeature: AiFeature | null;\n}>();\n\nconst emit = defineEmits<{\n (e: \"select\", feature: AiFeature): void;\n}>();\n\nconst { t: cloudT } = useCloudI18nStrict();\n\nconst aiConfig = requireInject(AI_CONFIG_KEY, \"AiFeatureMenu\");\n\nconst configKeyMap: Record<AiFeature, keyof AiConfig> = {\n \"ai-chat\": \"chat\",\n \"design-reference\": \"designToTemplate\",\n scoring: \"scoring\",\n};\n\nconst allFeatures: { key: AiFeature; icon: typeof Sparkles }[] = [\n { key: \"ai-chat\", icon: Sparkles },\n { key: \"design-reference\", icon: ImageUp },\n { key: \"scoring\", icon: ShieldCheck },\n];\n\nconst features = computed(() =>\n allFeatures.filter((f) => aiConfig.isFeatureEnabled(configKeyMap[f.key])),\n);\n\nfunction getTitle(key: AiFeature): string {\n if (key === \"ai-chat\") return cloudT.aiMenu.aiAssistant;\n if (key === \"design-reference\") return cloudT.aiMenu.designToTemplate;\n return cloudT.aiMenu.templateScore;\n}\n\nfunction getDescription(key: AiFeature): string {\n if (key === \"ai-chat\") return cloudT.aiMenu.aiAssistantDesc;\n if (key === \"design-reference\") return cloudT.aiMenu.designToTemplateDesc;\n return cloudT.aiMenu.templateScoreDesc;\n}\n</script>\n\n<template>\n <div\n class=\"tpl-ai-feature-menu tpl:w-[280px] tpl:overflow-hidden tpl:rounded-[var(--tpl-radius)] tpl:py-1 tpl:bg-[var(--tpl-bg-elevated)] tpl:border tpl:border-[var(--tpl-border)] tpl:shadow-[var(--tpl-shadow-lg)]\"\n style=\"backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px)\"\n >\n <button\n v-for=\"feature in features\"\n :key=\"feature.key\"\n class=\"tpl-ai-feature-menu-item tpl:flex tpl:w-full tpl:cursor-pointer tpl:items-start tpl:gap-3 tpl:border-none tpl:px-3 tpl:py-2.5 tpl:text-left tpl:transition-colors tpl:duration-100\"\n :style=\"{\n backgroundColor:\n activeFeature === feature.key\n ? 'var(--tpl-primary-light)'\n : 'transparent',\n }\"\n @click=\"emit('select', feature.key)\"\n >\n <div\n class=\"tpl:mt-0.5 tpl:flex tpl:size-7 tpl:shrink-0 tpl:items-center tpl:justify-center tpl:rounded-[var(--tpl-radius-sm)]\"\n :style=\"{\n backgroundColor:\n activeFeature === feature.key\n ? 'var(--tpl-primary)'\n : 'var(--tpl-bg-active)',\n color:\n activeFeature === feature.key\n ? 'var(--tpl-bg)'\n : 'var(--tpl-text-muted)',\n }\"\n >\n <component :is=\"feature.icon\" :size=\"15\" :stroke-width=\"2\" />\n </div>\n <div class=\"tpl:flex tpl:min-w-0 tpl:flex-col tpl:gap-0.5\">\n <span class=\"tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text)]\">\n {{ getTitle(feature.key) }}\n </span>\n <span\n class=\"tpl:text-xs tpl:leading-snug tpl:text-[var(--tpl-text-muted)]\"\n >\n {{ getDescription(feature.key) }}\n </span>\n </div>\n </button>\n </div>\n</template>\n\n<style scoped>\n.tpl-ai-feature-menu-item:hover {\n background-color: var(--tpl-bg-hover) !important;\n}\n</style>\n"],"mappings":";;;;;;;;;;;;;;EAaA,IAAM,IAAO,GAIP,EAAE,GAAG,MAAW,EAAmB,GAEnC,IAAW,EAAc,GAAe,eAAe,GAEvD,IAAkD;GACtD,WAAW;GACX,oBAAoB;GACpB,SAAS;EACX,GAEM,IAA2D;GAC/D;IAAE,KAAK;IAAW,MAAM;GAAS;GACjC;IAAE,KAAK;IAAoB,MAAM;GAAQ;GACzC;IAAE,KAAK;IAAW,MAAM;GAAY;EACtC,GAEM,IAAW,QACf,EAAY,QAAQ,MAAM,EAAS,iBAAiB,EAAa,EAAE,IAAI,CAAC,CAC1E;EAEA,SAAS,EAAS,GAAwB;GAGxC,OAFI,MAAQ,YAAkB,EAAO,OAAO,cACxC,MAAQ,qBAA2B,EAAO,OAAO,mBAC9C,EAAO,OAAO;EACvB;EAEA,SAAS,EAAe,GAAwB;GAG9C,OAFI,MAAQ,YAAkB,EAAO,OAAO,kBACxC,MAAQ,qBAA2B,EAAO,OAAO,uBAC9C,EAAO,OAAO;EACvB;yBAIE,EA0CM,OA1CN,GA0CM,EAAA,EAAA,EAAA,GAtCJ,EAqCS,GAAA,MAAA,EApCW,EAAA,QAAX,YADT,EAqCS,UAAA;GAnCN,KAAK,EAAQ;GACd,OAAM;GACL,OAAK,EAAA,EAAA,iBAAuC,EAAA,kBAAkB,EAAQ,MAAA,6BAAA,cAAA,CAAA;GAMtE,UAAK,MAAE,EAAI,UAAW,EAAQ,GAAG;MAElC,EAcM,OAAA;GAbJ,OAAM;GACL,OAAK,EAAA;qBAA2C,EAAA,kBAAkB,EAAQ,MAAA,uBAAA;WAA8G,EAAA,kBAAkB,EAAQ,MAAA,kBAAA;;YAWnN,EAA6D,EAA7C,EAAQ,IAAI,GAAA;GAAG,MAAM;GAAK,gBAAc;YAE1D,EASM,OATN,GASM,CARJ,EAEO,QAFP,GAEO,EADF,EAAS,EAAQ,GAAG,CAAA,GAAA,CAAA,GAEzB,EAIO,QAJP,GAIO,EADF,EAAe,EAAQ,GAAG,CAAA,GAAA,CAAA,CAAA,CAAA,CAAA,GAAA,IAAA,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { M as e, T as t, f as n, g as r, h as i, it as a, m as o, ot as s, x as c } from "./draggable-
|
|
2
|
-
import { Dt as l, Ft as u, st as d, tn as f } from "./features-
|
|
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-J_1CPXYc.js";
|
|
2
|
+
import { Dt as l, Ft as u, st as d, tn as f } from "./features-_ar9QbVv.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-
|
|
33
|
+
//# sourceMappingURL=BlockIssueBadge-C6YilQdl.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BlockIssueBadge-
|
|
1
|
+
{"version":3,"file":"BlockIssueBadge-C6YilQdl.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,GAAG,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"}
|