@templatical/editor 0.7.3 → 0.8.0
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-H7SIsxeC.js → AiChatSidebar-B74X6tIx.js} +3 -3
- package/dist/{AiFeatureMenu-CJGX-fP5.js → AiFeatureMenu-BOxQqkn9.js} +4 -4
- package/dist/{BlockA11yBadge-BhyoMZJ9.js → BlockIssueBadge-DJTiT1eF.js} +6 -6
- package/dist/{CloudEditor-BBs3p-mW.js → CloudEditor-BzCVDD6e.js} +24 -24
- package/dist/{CollaboratorBar-CiEo25lb.js → CollaboratorBar-Cb-c1IkS.js} +2 -2
- package/dist/{CommentsSidebar-DikjSLtH.js → CommentsSidebar-Qvppl-DR.js} +6 -6
- package/dist/{CountdownBlock-ByJ0_8Pk.js → CountdownBlock-D0IiMliC.js} +1 -1
- package/dist/{CountdownToolbar-Bn4RwJVN.js → CountdownToolbar-BVVT8U5C.js} +2 -2
- package/dist/{DesignReferenceSidebar-D08CLZPA.js → DesignReferenceSidebar-ucgtoDll.js} +6 -6
- package/dist/{AccessibilityPanel-BeUibrUb.js → IssuesPanel-XVdvrgmq.js} +18 -18
- package/dist/{ModuleBrowserModal-D6637s8j.js → ModuleBrowserModal-BotDsZ0R.js} +7 -7
- package/dist/{ModulePreviewCanvas-DBFmwq-y.js → ModulePreviewCanvas-CDg4MnJP.js} +2 -2
- package/dist/{NumberWithSuffix-CyFX9w1e.js → NumberWithSuffix-n-cr7lpU.js} +1 -1
- package/dist/{ParagraphEditor-DC2jOjNh.js → ParagraphEditor-CfzIUFQ_.js} +6 -6
- package/dist/{RichTextEditorContent-8NkjTIua.js → RichTextEditorContent-Cu9NEkKd.js} +3 -3
- package/dist/{SaveModuleDialog-NKT7bWWs.js → SaveModuleDialog-DuzfCamG.js} +6 -6
- package/dist/{SnapshotHistory-XNqYxPBj.js → SnapshotHistory-DiAPOSDM.js} +5 -5
- package/dist/{TemplateScoringPanel-kYOGtac3.js → TemplateScoringPanel-BzDVdfOx.js} +6 -6
- package/dist/{TestEmailModal-B_-Qo5Us.js → TestEmailModal-D5I5Mgtb.js} +3 -3
- package/dist/{TitleEditor-DnH3yyTr.js → TitleEditor-CZUkhtDo.js} +6 -6
- package/dist/{TplModal-BoEZFe3U.js → TplModal-CVq2BAIW.js} +3 -3
- package/dist/{blockTypeIcons-CUcYuWAO.js → blockTypeIcons-CJNuGjLX.js} +1 -1
- package/dist/bundle-stats.json +6 -6
- package/dist/cdn/chunks/{AiFeatureMenu-SxIqfqA0.js → AiFeatureMenu-DtrT-aFR.js} +2 -2
- package/dist/cdn/chunks/{AiFeatureMenu-SxIqfqA0.js.map → AiFeatureMenu-DtrT-aFR.js.map} +1 -1
- package/dist/cdn/chunks/{BlockA11yBadge-QqW6nomn.js → BlockIssueBadge-w7n4orSd.js} +6 -6
- package/dist/cdn/chunks/BlockIssueBadge-w7n4orSd.js.map +1 -0
- package/dist/cdn/chunks/{CloudEditor-ChWUIMw7.js → CloudEditor-CwG0DhG1.js} +101 -101
- package/dist/cdn/chunks/CloudEditor-CwG0DhG1.js.map +1 -0
- package/dist/cdn/chunks/{CollaboratorBar-73LfbzqF.js → CollaboratorBar-DYjZaz7H.js} +3 -3
- package/dist/cdn/chunks/{CollaboratorBar-73LfbzqF.js.map → CollaboratorBar-DYjZaz7H.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownBlock-WYz9b9Ex.js → CountdownBlock-CFR8VJCU.js} +2 -2
- package/dist/cdn/chunks/{CountdownBlock-WYz9b9Ex.js.map → CountdownBlock-CFR8VJCU.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownToolbar-B9fPfFqp.js → CountdownToolbar-DOrQCH57.js} +3 -3
- package/dist/cdn/chunks/{CountdownToolbar-B9fPfFqp.js.map → CountdownToolbar-DOrQCH57.js.map} +1 -1
- package/dist/cdn/chunks/{AccessibilityPanel-CQt87OMk.js → IssuesPanel-C54PhBgc.js} +15 -15
- package/dist/cdn/chunks/IssuesPanel-C54PhBgc.js.map +1 -0
- package/dist/cdn/chunks/{ModuleBrowserModal-DfnJQBkM.js → ModuleBrowserModal-4V6um-AC.js} +8 -8
- package/dist/cdn/chunks/{ModuleBrowserModal-DfnJQBkM.js.map → ModuleBrowserModal-4V6um-AC.js.map} +1 -1
- package/dist/cdn/chunks/{ModulePreviewCanvas-DE4_oHA_.js → ModulePreviewCanvas-DL8zI6VX.js} +24 -24
- package/dist/cdn/chunks/{ModulePreviewCanvas-DE4_oHA_.js.map → ModulePreviewCanvas-DL8zI6VX.js.map} +1 -1
- package/dist/cdn/chunks/{NumberWithSuffix-BST0yRor.js → NumberWithSuffix-avXrYDo6.js} +2 -2
- package/dist/cdn/chunks/{NumberWithSuffix-BST0yRor.js.map → NumberWithSuffix-avXrYDo6.js.map} +1 -1
- package/dist/cdn/chunks/{ParagraphEditor-CQfijF3i.js → ParagraphEditor-Cpmy85zL.js} +15 -15
- package/dist/cdn/chunks/{ParagraphEditor-CQfijF3i.js.map → ParagraphEditor-Cpmy85zL.js.map} +1 -1
- package/dist/cdn/chunks/{RichTextEditorContent-CBds8dnm.js → RichTextEditorContent-CFL-Lrv5.js} +2 -2
- package/dist/cdn/chunks/{RichTextEditorContent-CBds8dnm.js.map → RichTextEditorContent-CFL-Lrv5.js.map} +1 -1
- package/dist/cdn/chunks/{SaveModuleDialog-DXhuZgZ4.js → SaveModuleDialog-D6szy5vX.js} +4 -4
- package/dist/cdn/chunks/{SaveModuleDialog-DXhuZgZ4.js.map → SaveModuleDialog-D6szy5vX.js.map} +1 -1
- package/dist/cdn/chunks/{TitleEditor-BdQvH7eK.js → TitleEditor-CSDdss38.js} +7 -7
- package/dist/cdn/chunks/{TitleEditor-BdQvH7eK.js.map → TitleEditor-CSDdss38.js.map} +1 -1
- package/dist/cdn/chunks/{blockTypeIcons-D3CGFW5P.js → blockTypeIcons-BEdpG8xl.js} +8 -8
- package/dist/cdn/chunks/{blockTypeIcons-D3CGFW5P.js.map → blockTypeIcons-BEdpG8xl.js.map} +1 -1
- package/dist/{de-C9hp3n_a.js → cdn/chunks/de-BBEGQDsd.js} +9 -7
- package/dist/cdn/chunks/{de-B_6zGPbx.js.map → de-BBEGQDsd.js.map} +1 -1
- package/dist/{en-Dv776AqL.js → cdn/chunks/en-CHha-_ta.js} +9 -7
- package/dist/cdn/chunks/{en-pYt1-lm4.js.map → en-CHha-_ta.js.map} +1 -1
- package/dist/cdn/chunks/{extensions-BE81zpqP.js → extensions-DgvvgeJU.js} +2 -2
- package/dist/cdn/chunks/{extensions-BE81zpqP.js.map → extensions-DgvvgeJU.js.map} +1 -1
- package/dist/cdn/chunks/{features-CXF_YKlL.js → features-CgTy87Ni.js} +29 -17
- package/dist/cdn/chunks/features-CgTy87Ni.js.map +1 -0
- package/dist/cdn/chunks/{icons-KbmhF7rg.js → icons-DxJ--AJb.js} +36 -38
- package/dist/cdn/chunks/icons-DxJ--AJb.js.map +1 -0
- package/dist/cdn/chunks/{media-library-BERe10wA.js → media-library-Byh_BbTm.js} +13 -13
- package/dist/cdn/chunks/{media-library-BERe10wA.js.map → media-library-Byh_BbTm.js.map} +1 -1
- package/dist/{pt-BR-6n58Fl_q.js → cdn/chunks/pt-BR-CFomv2R8.js} +9 -7
- package/dist/cdn/chunks/{pt-BR-CtDwVsN-.js.map → pt-BR-CFomv2R8.js.map} +1 -1
- package/dist/cdn/chunks/quality-CHCEMG8e.js +1846 -0
- package/dist/cdn/chunks/quality-CHCEMG8e.js.map +1 -0
- package/dist/cdn/chunks/{renderer-OttGEYkY.js → renderer-DttVILgu.js} +3 -3
- package/dist/cdn/chunks/{renderer-OttGEYkY.js.map → renderer-DttVILgu.js.map} +1 -1
- package/dist/cdn/chunks/{src-C21GI0p6.js → src-a8fYhBi5.js} +6 -6
- package/dist/cdn/chunks/{src-C21GI0p6.js.map → src-a8fYhBi5.js.map} +1 -1
- package/dist/cdn/chunks/{styles-Cy-My9zK.js → styles-8qDRQ-6n.js} +310 -285
- package/dist/cdn/chunks/styles-8qDRQ-6n.js.map +1 -0
- package/dist/cdn/editor.css +1 -1
- package/dist/cdn/editor.js +11 -11
- package/dist/cdn/editor.js.map +1 -1
- package/dist/{cdn/chunks/de-B_6zGPbx.js → de-KFqjrxG3.js} +7 -9
- package/dist/{cdn/chunks/en-pYt1-lm4.js → en-CNm94YYD.js} +7 -9
- package/dist/{extensions-p6UBqXfg.js → extensions-C-FpnfJn.js} +2 -2
- package/dist/index.d.ts +14 -12
- package/dist/{keys-B5SJtPWf.js → keys-CY3tkCsv.js} +2 -2
- package/dist/list-checks-CMtEXe9l.js +25 -0
- package/dist/{cdn/chunks/pt-BR-CtDwVsN-.js → pt-BR-gxZZAUWp.js} +7 -9
- package/dist/style.css +1 -1
- package/dist/{styles-BP15QmP3.js → styles-Ci7RdimQ.js} +204 -179
- package/dist/templatical-editor.js +9 -9
- package/dist/{useCloudI18n-ByEMykjO.js → useCloudI18n-BPUHj2CZ.js} +1 -1
- package/dist/{useEditorCore-_rbu6iMu.js → useEditorCore-DT3VrvZS.js} +41 -29
- package/dist/{useI18n-PEB8ioi_.js → useI18n-CWX9ZTCW.js} +1 -1
- package/dist/{useMergeTag-C47xwU7X.js → useMergeTag-B3F9VR04.js} +2 -2
- package/dist/{usePopoverRoot-BwzFSPLy.js → usePopoverRoot-BKJcxsst.js} +1 -1
- package/package.json +7 -7
- package/dist/accessibility-BgUEA-Ai.js +0 -27
- package/dist/cdn/chunks/AccessibilityPanel-CQt87OMk.js.map +0 -1
- package/dist/cdn/chunks/BlockA11yBadge-QqW6nomn.js.map +0 -1
- package/dist/cdn/chunks/CloudEditor-ChWUIMw7.js.map +0 -1
- package/dist/cdn/chunks/features-CXF_YKlL.js.map +0 -1
- package/dist/cdn/chunks/icons-KbmhF7rg.js.map +0 -1
- package/dist/cdn/chunks/quality-CmkY1kMU.js +0 -1456
- package/dist/cdn/chunks/quality-CmkY1kMU.js.map +0 -1
- package/dist/cdn/chunks/styles-Cy-My9zK.js.map +0 -1
- /package/dist/{check-Bg5yrRmX.js → check-BF4bEbCU.js} +0 -0
- /package/dist/{chevron-down-tee-ghFi.js → chevron-down-4NzWtv6Y.js} +0 -0
- /package/dist/{circle-alert-C0L9pUQ4.js → circle-alert-CPIth9bC.js} +0 -0
- /package/dist/{clock-CDlEdqiP.js → clock-B9-ct9r_.js} +0 -0
- /package/dist/{image-up-1D_3XDdO.js → image-up-CubAveUO.js} +0 -0
- /package/dist/{info-DTGrc0Bx.js → info-DiINxXfZ.js} +0 -0
- /package/dist/{refresh-cw-BNAhAmtL.js → refresh-cw-C9_M6yB3.js} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { A as e, B as t, E as n, L as r, M as i, X as a, _ as o, a as ee, at as te, b as s, f as c, h as l, l as u, m as d, p as f, rt as p, st as m, t as ne, v as h, w as re, z as ie } from "./vue.runtime.esm-bundler-Bxqkjqhc.js";
|
|
2
2
|
import { o as ae, s as oe } from "./dist-BzRLLpfq.js";
|
|
3
|
-
import { A as g,
|
|
3
|
+
import { A as g, c as se, p as ce, r as _, v as le } from "./keys-CY3tkCsv.js";
|
|
4
4
|
import { t as v } from "./createLucideIcon-Di4mqmGn.js";
|
|
5
|
-
import { t as y } from "./circle-alert-
|
|
5
|
+
import { t as y } from "./circle-alert-CPIth9bC.js";
|
|
6
6
|
import { t as ue } from "./loader-circle-_9bP23op.js";
|
|
7
7
|
import { t as de } from "./send-BatIZC9a.js";
|
|
8
8
|
import { t as b } from "./sparkles-D1IGi_cC.js";
|
|
@@ -79,7 +79,7 @@ var w = v("redo-2", [["path", {
|
|
|
79
79
|
},
|
|
80
80
|
emits: ["close"],
|
|
81
81
|
setup(s, { emit: v }) {
|
|
82
|
-
let x = s, B = v, V = g(
|
|
82
|
+
let x = s, B = v, V = g(se, "AiChatSidebar"), H = g(ce, "AiChatSidebar"), we = g(_, "AiChatSidebar"), U = re(le, []), W = S(), G = C({
|
|
83
83
|
authManager: we,
|
|
84
84
|
getTemplateId: () => H.state.template?.id ?? null,
|
|
85
85
|
onApply: x.onApply,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { A as e, F as t, M as n, b as r, d as i, f as a, h as o, l as s, ot as c, p as l, st as u } from "./vue.runtime.esm-bundler-Bxqkjqhc.js";
|
|
2
|
-
import "./useEditorCore-
|
|
3
|
-
import { A as d,
|
|
4
|
-
import { t as p } from "./image-up-
|
|
2
|
+
import "./useEditorCore-DT3VrvZS.js";
|
|
3
|
+
import { A as d, t as f } from "./keys-CY3tkCsv.js";
|
|
4
|
+
import { t as p } from "./image-up-CubAveUO.js";
|
|
5
5
|
import { t as m } from "./shield-check-C5Gv2cM1.js";
|
|
6
6
|
import { t as h } from "./sparkles-D1IGi_cC.js";
|
|
7
7
|
import { t as g } from "./_plugin-vue_export-helper-B0hnzhyu.js";
|
|
8
|
-
import { n as _ } from "./useCloudI18n-
|
|
8
|
+
import { n as _ } from "./useCloudI18n-BPUHj2CZ.js";
|
|
9
9
|
//#region src/cloud/components/AiFeatureMenu.vue?vue&type=script&setup=true&lang.ts
|
|
10
10
|
var v = {
|
|
11
11
|
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)]",
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { A as e, at as t, b as n, d as r, h as i, m as a, p as o, rt as s, w as c } from "./vue.runtime.esm-bundler-Bxqkjqhc.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as u } from "./useI18n-
|
|
4
|
-
import { t as d } from "./circle-alert-
|
|
2
|
+
import { E as l } from "./keys-CY3tkCsv.js";
|
|
3
|
+
import { t as u } from "./useI18n-CWX9ZTCW.js";
|
|
4
|
+
import { t as d } from "./circle-alert-CPIth9bC.js";
|
|
5
5
|
import { t as f } from "./triangle-alert-DWQySIE2.js";
|
|
6
|
-
//#region src/components/canvas/
|
|
6
|
+
//#region src/components/canvas/BlockIssueBadge.vue?vue&type=script&setup=true&lang.ts
|
|
7
7
|
var p = ["title", "aria-label"], m = /* @__PURE__ */ n({
|
|
8
|
-
__name: "
|
|
8
|
+
__name: "BlockIssueBadge",
|
|
9
9
|
props: { blockId: {} },
|
|
10
10
|
setup(n) {
|
|
11
|
-
let m = n, { t: h } = u(), g = c(l, null), _ = r(() => (g?.issues.value ?? []).filter((e) => e.blockId === m.blockId)), v = r(() => _.value.some((e) => e.severity === "error") ? "error" : _.value.some((e) => e.severity === "warning") ? "warning" : null), y = r(() => v.value === "error" ? h.
|
|
11
|
+
let m = n, { t: h } = u(), g = c(l, null), _ = r(() => (g?.issues.value ?? []).filter((e) => e.blockId === m.blockId)), v = r(() => _.value.some((e) => e.severity === "error") ? "error" : _.value.some((e) => e.severity === "warning") ? "warning" : null), y = r(() => v.value === "error" ? h.issues.badgeError : h.issues.badgeWarning);
|
|
12
12
|
return (n, r) => v.value ? (e(), i("span", {
|
|
13
13
|
key: 0,
|
|
14
14
|
class: t(["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)]", v.value === "error" ? "tpl:text-[var(--tpl-danger)]" : "tpl:text-[var(--tpl-warning)]"]),
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { A as e, B as t, L as n, M as r, O as i, Q as a, X as o, _ as s, at as c, b as l, c as u, d, f, g as p, h as m, j as h, k as g, l as _, m as v, o as y, ot as b, p as x, q as S, rt as C, st as w, t as T, v as E, y as D, z as O } from "./vue.runtime.esm-bundler-Bxqkjqhc.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 N, t as ee } from "./useEditorCore-
|
|
4
|
+
import { P as M, S as N, t as ee } from "./useEditorCore-DT3VrvZS.js";
|
|
5
5
|
import { s as P, t as F } from "./dist-BzRLLpfq.js";
|
|
6
|
-
import {
|
|
7
|
-
import { t as V } from "./useI18n-
|
|
6
|
+
import { T as I, c as L, l as te, r as ne, s as R, t as re, w as z, x as B } from "./keys-CY3tkCsv.js";
|
|
7
|
+
import { t as V } from "./useI18n-CWX9ZTCW.js";
|
|
8
8
|
import { t as H } from "./createLucideIcon-Di4mqmGn.js";
|
|
9
|
-
import { t as U } from "./check-
|
|
10
|
-
import { t as W } from "./circle-alert-
|
|
11
|
-
import { a as G, c as K, i as q, l as ie, n as J, o as ae, r as oe, s as se, t as ce } from "./styles-
|
|
12
|
-
import { t as le } from "./clock-
|
|
9
|
+
import { t as U } from "./check-BF4bEbCU.js";
|
|
10
|
+
import { t as W } from "./circle-alert-CPIth9bC.js";
|
|
11
|
+
import { a as G, c as K, i as q, l as ie, n as J, o as ae, r as oe, s as se, t as ce } from "./styles-Ci7RdimQ.js";
|
|
12
|
+
import { t as le } from "./clock-B9-ct9r_.js";
|
|
13
13
|
import { t as Y } from "./loader-circle-_9bP23op.js";
|
|
14
14
|
import { t as X } from "./message-circle-gzy2ZGJ3.js";
|
|
15
15
|
import { t as Z } from "./send-BatIZC9a.js";
|
|
16
16
|
import { t as ue } from "./sparkles-D1IGi_cC.js";
|
|
17
17
|
import { t as de } from "./triangle-alert-DWQySIE2.js";
|
|
18
18
|
import { t as fe } from "./_plugin-vue_export-helper-B0hnzhyu.js";
|
|
19
|
-
import { n as Q } from "./useCloudI18n-
|
|
19
|
+
import { n as Q } from "./useCloudI18n-BPUHj2CZ.js";
|
|
20
20
|
import { d as $ } from "./styleConstants-DkfOPzGu.js";
|
|
21
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-k0DgeCo2.js";
|
|
22
22
|
var Ae = H("save", [
|
|
@@ -250,7 +250,7 @@ function Ie(e) {
|
|
|
250
250
|
mergeTags: t.mergeTags,
|
|
251
251
|
displayConditions: t.displayConditions,
|
|
252
252
|
onRequestMedia: null,
|
|
253
|
-
|
|
253
|
+
lint: K(t),
|
|
254
254
|
onSave: () => {
|
|
255
255
|
p.value?.().catch((e) => {
|
|
256
256
|
t.onError?.(e);
|
|
@@ -324,7 +324,7 @@ function Ie(e) {
|
|
|
324
324
|
comments: F,
|
|
325
325
|
channel: x.channel
|
|
326
326
|
});
|
|
327
|
-
let
|
|
327
|
+
let L = ye({
|
|
328
328
|
authManager: _,
|
|
329
329
|
onError: t.onError
|
|
330
330
|
}), V = o(!1), H = o(null), U = o(!1), W = pe({
|
|
@@ -336,7 +336,7 @@ function Ie(e) {
|
|
|
336
336
|
s()?.filterByBlock(e);
|
|
337
337
|
});
|
|
338
338
|
}
|
|
339
|
-
h(
|
|
339
|
+
h(B, A.handleRequestMedia), h(ne, _), h(re, O), h(te, F), h(z, L), h(I, W), h(R, {
|
|
340
340
|
plan: v,
|
|
341
341
|
ai: O,
|
|
342
342
|
comments: {
|
|
@@ -350,7 +350,7 @@ function Ie(e) {
|
|
|
350
350
|
openBrowser: () => {
|
|
351
351
|
U.value = !0;
|
|
352
352
|
},
|
|
353
|
-
moduleCount: d(() =>
|
|
353
|
+
moduleCount: d(() => L.modules.value.length)
|
|
354
354
|
}
|
|
355
355
|
});
|
|
356
356
|
function q(e) {
|
|
@@ -369,7 +369,7 @@ function Ie(e) {
|
|
|
369
369
|
if (!e.api.ok) throw Error("Health check failed: API is not reachable");
|
|
370
370
|
if (!e.auth.ok) throw Error(`Health check failed: authentication error${e.auth.error ? ` - ${e.auth.error}` : ""}`);
|
|
371
371
|
if (e.websocket.ok || M.warn("WebSocket health check failed:", e.websocket.error ?? "unknown error", "-- real-time features will be disabled."), await v.fetchConfig(), f) return;
|
|
372
|
-
i.setCustomFontsEnabled(v.hasFeature("custom_fonts")), t.customBlocks?.length && v.hasFeature("custom_blocks") && w.registerCustomBlocks(t.customBlocks), t.theme && v.hasFeature("theme_customization") && (w.themeOverrides.value = t.theme), t.modules !== !1 && v.hasFeature("saved_modules") &&
|
|
372
|
+
i.setCustomFontsEnabled(v.hasFeature("custom_fonts")), t.customBlocks?.length && v.hasFeature("custom_blocks") && w.registerCustomBlocks(t.customBlocks), t.theme && v.hasFeature("theme_customization") && (w.themeOverrides.value = t.theme), t.modules !== !1 && v.hasFeature("saved_modules") && L.loadModules(), a("ready");
|
|
373
373
|
} catch (e) {
|
|
374
374
|
if (f) return;
|
|
375
375
|
let n = e instanceof Error ? e : Error("Initialization failed", { cause: e });
|
|
@@ -399,7 +399,7 @@ function Ie(e) {
|
|
|
399
399
|
exporter: j,
|
|
400
400
|
testEmail: P,
|
|
401
401
|
commentsInstance: F,
|
|
402
|
-
savedModulesHeadless:
|
|
402
|
+
savedModulesHeadless: L,
|
|
403
403
|
scoringInstance: W,
|
|
404
404
|
panelState: D,
|
|
405
405
|
snapshotPreview: E,
|
|
@@ -592,7 +592,7 @@ var Be = ["aria-label"], Ve = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
|
|
|
592
592
|
},
|
|
593
593
|
emits: ["save"],
|
|
594
594
|
setup(t) {
|
|
595
|
-
let n = D(() => import("./CollaboratorBar-
|
|
595
|
+
let n = D(() => import("./CollaboratorBar-Cb-c1IkS.js")), r = D(() => import("./SnapshotHistory-DiAPOSDM.js")), i = D(() => import("./AiFeatureMenu-BOxQqkn9.js")), { t: a, format: o } = Q();
|
|
596
596
|
return (l, d) => (e(), m("header", Xe, [
|
|
597
597
|
f("div", Ze, [t.featureFlags.templateLimit.value === null ? v("", !0) : (e(), m("span", Qe, w(C(o)(C(a).header.templatesUsed, {
|
|
598
598
|
used: t.featureFlags.templateCount.value,
|
|
@@ -754,7 +754,7 @@ var Be = ["aria-label"], Ve = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
|
|
|
754
754
|
"module-insert"
|
|
755
755
|
],
|
|
756
756
|
setup(t, { expose: n, emit: r }) {
|
|
757
|
-
let i = D(() => import("./AiChatSidebar-
|
|
757
|
+
let i = D(() => import("./AiChatSidebar-B74X6tIx.js")), a = D(() => import("./CommentsSidebar-Qvppl-DR.js")), s = D(() => import("./DesignReferenceSidebar-ucgtoDll.js")), c = D(() => import("./TemplateScoringPanel-BzDVdfOx.js")), l = D(() => import("./TestEmailModal-D5I5Mgtb.js")), u = D(() => import("./SaveModuleDialog-DuzfCamG.js")), d = D(() => import("./ModuleBrowserModal-BotDsZ0R.js")), f = D(async () => {
|
|
758
758
|
try {
|
|
759
759
|
return (await import("@templatical/media-library")).MediaLibraryModal;
|
|
760
760
|
} catch {
|
|
@@ -932,7 +932,7 @@ var Be = ["aria-label"], Ve = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
|
|
|
932
932
|
emits: ["ready"],
|
|
933
933
|
setup(n, { expose: r, emit: a }) {
|
|
934
934
|
let l = n;
|
|
935
|
-
h(
|
|
935
|
+
h(L, l.cloudTranslations);
|
|
936
936
|
let u = a, d = o(null), p = o(null), _ = Ie({
|
|
937
937
|
config: l.config,
|
|
938
938
|
translations: l.translations,
|
|
@@ -941,10 +941,10 @@ var Be = ["aria-label"], Ve = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
|
|
|
941
941
|
getCommentsSidebar: () => d.value ? { filterByBlock: d.value.filterCommentsByBlock } : null,
|
|
942
942
|
editorRoot: l.shadowRoot,
|
|
943
943
|
containerEl: p
|
|
944
|
-
}), { isInitializing: S, isAuthReady: D, initError: k, planConfigInstance: A, websocket: M, collaboration: N, isCollaborationEnabled: ee, editor: P, core: F, featureFlags: I, mediaLib: te, exporter: ne, testEmail:
|
|
944
|
+
}), { isInitializing: S, isAuthReady: D, initError: k, planConfigInstance: A, websocket: M, collaboration: N, isCollaborationEnabled: ee, editor: P, core: F, featureFlags: I, mediaLib: te, exporter: ne, testEmail: R, commentsInstance: re, savedModulesHeadless: z, panelState: B, snapshotPreview: V, collabWarning: H, showSaveModuleDialog: U, showModuleBrowserModal: W, saveModulePreSelectedBlockId: K, setThemeOverrides: q, setUiTheme: J } = _;
|
|
945
945
|
async function oe(e) {
|
|
946
946
|
try {
|
|
947
|
-
await
|
|
947
|
+
await R.sendTestEmail(e), B.testEmailModalOpen.value = !1;
|
|
948
948
|
} catch {}
|
|
949
949
|
}
|
|
950
950
|
function le(e, t) {
|
|
@@ -965,7 +965,7 @@ var Be = ["aria-label"], Ve = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
|
|
|
965
965
|
featureFlags: I,
|
|
966
966
|
isDestroyed: _.isDestroyed
|
|
967
967
|
}), X = ze({
|
|
968
|
-
issues: F.
|
|
968
|
+
issues: F.templateLint ? F.templateLint.issues : o([]),
|
|
969
969
|
planConfig: A.config
|
|
970
970
|
});
|
|
971
971
|
async function Z() {
|
|
@@ -983,7 +983,7 @@ var Be = ["aria-label"], Ve = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
|
|
|
983
983
|
create: Y.createTemplate,
|
|
984
984
|
load: Y.loadTemplate,
|
|
985
985
|
save: Y.saveTemplate,
|
|
986
|
-
sendTestEmail:
|
|
986
|
+
sendTestEmail: R.sendTestEmail
|
|
987
987
|
}), (r, i) => (e(), m("div", {
|
|
988
988
|
ref_key: "rootEl",
|
|
989
989
|
ref: p,
|
|
@@ -1028,7 +1028,7 @@ var Be = ["aria-label"], Ve = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
|
|
|
1028
1028
|
"panel-state": C(B),
|
|
1029
1029
|
"snapshot-preview": C(V),
|
|
1030
1030
|
"comments-instance": C(re),
|
|
1031
|
-
"test-email": C(
|
|
1031
|
+
"test-email": C(R),
|
|
1032
1032
|
websocket: C(M),
|
|
1033
1033
|
collaboration: C(N),
|
|
1034
1034
|
"is-collaboration-enabled": C(ee),
|
|
@@ -1156,7 +1156,7 @@ var Be = ["aria-label"], Ve = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
|
|
|
1156
1156
|
core: C(F),
|
|
1157
1157
|
"panel-state": C(B),
|
|
1158
1158
|
"plan-config-instance": C(A),
|
|
1159
|
-
"test-email": C(
|
|
1159
|
+
"test-email": C(R),
|
|
1160
1160
|
"media-lib": C(te),
|
|
1161
1161
|
"saved-modules-headless": C(z),
|
|
1162
1162
|
"show-save-module-dialog": C(U),
|
|
@@ -1186,6 +1186,6 @@ var Be = ["aria-label"], Ve = { class: "tpl:flex tpl:max-h-[80vh] tpl:w-full tpl
|
|
|
1186
1186
|
}, null, 512)
|
|
1187
1187
|
], 14, Ot));
|
|
1188
1188
|
}
|
|
1189
|
-
}), [["__scopeId", "data-v-
|
|
1189
|
+
}), [["__scopeId", "data-v-05f1a843"]]);
|
|
1190
1190
|
//#endregion
|
|
1191
1191
|
export { Mt as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { A as e, M as t, b as n, d as r, f as i, h as a, l as o, m as s, ot as c, p as l, rt as u, st as d } from "./vue.runtime.esm-bundler-Bxqkjqhc.js";
|
|
2
|
-
import "./useEditorCore-
|
|
2
|
+
import "./useEditorCore-DT3VrvZS.js";
|
|
3
3
|
import { t as f } from "./createLucideIcon-Di4mqmGn.js";
|
|
4
|
-
import { n as p } from "./useCloudI18n-
|
|
4
|
+
import { n as p } from "./useCloudI18n-BPUHj2CZ.js";
|
|
5
5
|
import { t as m } from "./readableTextColor-CXzrEnNb.js";
|
|
6
6
|
var h = f("wifi-off", [
|
|
7
7
|
["path", {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
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-Bxqkjqhc.js";
|
|
2
|
-
import { A as b,
|
|
3
|
-
import { t as ae } from "./useI18n-
|
|
2
|
+
import { A as b, l as ne, p as re, r as ie } from "./keys-CY3tkCsv.js";
|
|
3
|
+
import { t as ae } from "./useI18n-CWX9ZTCW.js";
|
|
4
4
|
import { t as x } from "./createLucideIcon-Di4mqmGn.js";
|
|
5
|
-
import { t as oe } from "./check-
|
|
6
|
-
import { t as se } from "./chevron-down-
|
|
5
|
+
import { t as oe } from "./check-BF4bEbCU.js";
|
|
6
|
+
import { t as se } from "./chevron-down-4NzWtv6Y.js";
|
|
7
7
|
import { t as S } from "./loader-circle-_9bP23op.js";
|
|
8
8
|
import { t as C } from "./message-circle-gzy2ZGJ3.js";
|
|
9
9
|
import { t as w } from "./send-BatIZC9a.js";
|
|
10
10
|
import { t as T } from "./trash-2-424iqbpN.js";
|
|
11
11
|
import { t as E } from "./x-Dlaenqta.js";
|
|
12
12
|
import { t as D } from "./_plugin-vue_export-helper-B0hnzhyu.js";
|
|
13
|
-
import { n as ce } from "./useCloudI18n-
|
|
13
|
+
import { n as ce } from "./useCloudI18n-BPUHj2CZ.js";
|
|
14
14
|
import { t as le } from "./formatRelativeTime-bvx5sFh5.js";
|
|
15
15
|
var ue = x("chevron-up", [["path", {
|
|
16
16
|
d: "m18 15-6-6-6 6",
|
|
@@ -100,7 +100,7 @@ var ue = x("chevron-up", [["path", {
|
|
|
100
100
|
props: { visible: { type: Boolean } },
|
|
101
101
|
emits: ["close", "filterBlock"],
|
|
102
102
|
setup(c, { expose: x, emit: D }) {
|
|
103
|
-
let k = c, A = D, { format: j } = ae(), { t: M } = ce(), N = b(re, "CommentsSidebar"), bt = b(
|
|
103
|
+
let k = c, A = D, { format: j } = ae(), { t: M } = ce(), N = b(re, "CommentsSidebar"), bt = b(ie, "CommentsSidebar"), P = b(ne, "CommentsSidebar"), F = a("unresolved"), I = a(null), L = a(""), R = a(null), z = a(""), B = a(null), V = a(""), H = a(/* @__PURE__ */ new Set()), U = a(null), W = a(null), xt = l(() => bt.userConfig?.id ?? null), St = l(() => {
|
|
104
104
|
let e = /* @__PURE__ */ new Set();
|
|
105
105
|
for (let t of N.content.value.blocks) if (e.add(t.id), t.type === "section") for (let n of t.children) for (let t of n) e.add(t.id);
|
|
106
106
|
return e;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CAFD8bLK.js";
|
|
2
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-Bxqkjqhc.js";
|
|
3
3
|
import { o as p } from "./dist-BzRLLpfq.js";
|
|
4
|
-
import { t as m } from "./useI18n-
|
|
4
|
+
import { t as m } from "./useI18n-CWX9ZTCW.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
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-Bxqkjqhc.js";
|
|
2
|
-
import { t as m } from "./useI18n-
|
|
2
|
+
import { t as m } from "./useI18n-CWX9ZTCW.js";
|
|
3
3
|
import { f as h } from "./styleConstants-DkfOPzGu.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-n-cr7lpU.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,13 +1,13 @@
|
|
|
1
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-Bxqkjqhc.js";
|
|
2
2
|
import "./timeouts-BSGxjuUF.js";
|
|
3
|
-
import { A as m,
|
|
3
|
+
import { A as m, p as oe, r as h } from "./keys-CY3tkCsv.js";
|
|
4
4
|
import { t as g } from "./createLucideIcon-Di4mqmGn.js";
|
|
5
|
-
import { t as se } from "./circle-alert-
|
|
6
|
-
import { t as _ } from "./image-up-
|
|
5
|
+
import { t as se } from "./circle-alert-CPIth9bC.js";
|
|
6
|
+
import { t as _ } from "./image-up-CubAveUO.js";
|
|
7
7
|
import { t as v } from "./x-Dlaenqta.js";
|
|
8
8
|
import { t as ce } from "./LoadingTrack-CFkDkjBb.js";
|
|
9
9
|
import { t as y } from "./_plugin-vue_export-helper-B0hnzhyu.js";
|
|
10
|
-
import { n as le } from "./useCloudI18n-
|
|
10
|
+
import { n as le } from "./useCloudI18n-BPUHj2CZ.js";
|
|
11
11
|
import { u as ue } from "./cloud-k0DgeCo2.js";
|
|
12
12
|
var de = g("file-image", [
|
|
13
13
|
["path", {
|
|
@@ -91,8 +91,8 @@ var de = g("file-image", [
|
|
|
91
91
|
},
|
|
92
92
|
emits: ["close", "apply"],
|
|
93
93
|
setup(o, { emit: g }) {
|
|
94
|
-
let y = o, z = g, { t: B } = le(), xe = m(
|
|
95
|
-
authManager: m(
|
|
94
|
+
let y = o, z = g, { t: B } = le(), xe = m(oe, "DesignReferenceSidebar"), V = ue({
|
|
95
|
+
authManager: m(h, "DesignReferenceSidebar"),
|
|
96
96
|
getTemplateId: () => xe.state.template?.id ?? null,
|
|
97
97
|
onApply: (e) => z("apply", e)
|
|
98
98
|
}), H = i(null), U = i("image"), W = i(null), G = i(""), K = i(null), q = i(!1), J = i(!1), Y = ne(() => V.isGenerating.value ? !1 : W.value !== null);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
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-Bxqkjqhc.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as v } from "./useI18n-
|
|
2
|
+
import { E as g, p as _ } from "./keys-CY3tkCsv.js";
|
|
3
|
+
import { t as v } from "./useI18n-CWX9ZTCW.js";
|
|
4
4
|
import { t as y } from "./createLucideIcon-Di4mqmGn.js";
|
|
5
|
-
import { t as b } from "./
|
|
6
|
-
import { t as x } from "./
|
|
7
|
-
import { t as S } from "./
|
|
5
|
+
import { t as b } from "./circle-alert-CPIth9bC.js";
|
|
6
|
+
import { t as x } from "./info-DiINxXfZ.js";
|
|
7
|
+
import { t as S } from "./list-checks-CMtEXe9l.js";
|
|
8
8
|
import { t as C } from "./triangle-alert-DWQySIE2.js";
|
|
9
9
|
var w = y("arrow-right", [["path", {
|
|
10
10
|
d: "M5 12h14",
|
|
@@ -25,9 +25,9 @@ var w = y("arrow-right", [["path", {
|
|
|
25
25
|
key: 1,
|
|
26
26
|
class: "tpl:m-0 tpl:mb-3 tpl:flex tpl:list-none tpl:flex-col tpl:gap-2 tpl:p-0"
|
|
27
27
|
}, P = { class: "tpl:m-0 tpl:mb-2 tpl:text-xs tpl:text-[var(--tpl-text)]" }, F = { class: "tpl:m-0 tpl:mb-2 tpl:font-mono tpl:text-[10px] tpl:text-[var(--tpl-text-dim)]" }, I = { class: "tpl:flex tpl:gap-1.5" }, L = ["onClick"], R = ["title", "onClick"], z = /* @__PURE__ */ a({
|
|
28
|
-
__name: "
|
|
28
|
+
__name: "IssuesPanel",
|
|
29
29
|
setup(a) {
|
|
30
|
-
let { t: y, format: z } = v(), B = h(
|
|
30
|
+
let { t: y, format: z } = v(), B = h(g, null), V = h(_, null), H = o(() => (B?.issues.value ?? []).filter((e) => e.severity === "error")), U = o(() => (B?.issues.value ?? []).filter((e) => e.severity === "warning")), W = o(() => (B?.issues.value ?? []).filter((e) => e.severity === "info")), G = o(() => H.value.length + U.value.length + W.value.length);
|
|
31
31
|
function K(e) {
|
|
32
32
|
V && e.blockId && V.selectBlock(e.blockId);
|
|
33
33
|
}
|
|
@@ -35,35 +35,35 @@ var w = y("arrow-right", [["path", {
|
|
|
35
35
|
B?.applyFix(e);
|
|
36
36
|
}
|
|
37
37
|
return (a, o) => (e(), c("div", E, [s("header", D, [
|
|
38
|
-
m(f(
|
|
38
|
+
m(f(S), {
|
|
39
39
|
size: 16,
|
|
40
40
|
"stroke-width": 1.5
|
|
41
41
|
}),
|
|
42
|
-
s("h3", O, p(f(y).
|
|
42
|
+
s("h3", O, p(f(y).issues.panelTitle), 1),
|
|
43
43
|
G.value > 0 ? (e(), c("span", {
|
|
44
44
|
key: 0,
|
|
45
45
|
class: "tpl:ml-auto tpl:rounded-full tpl:bg-[var(--tpl-bg-hover)] tpl:px-2 tpl:py-0.5 tpl:text-[11px] tpl:text-[var(--tpl-text-muted)]",
|
|
46
|
-
title: f(z)(f(y).
|
|
46
|
+
title: f(z)(f(y).issues.issueCountTooltip, { count: G.value })
|
|
47
47
|
}, p(G.value), 9, k)) : u("", !0)
|
|
48
|
-
]), !f(B) || f(B).unavailable.value ? (e(), c("div", A)) : G.value === 0 ? (e(), c("div", j, p(f(y).
|
|
48
|
+
]), !f(B) || f(B).unavailable.value ? (e(), c("div", A)) : G.value === 0 ? (e(), c("div", j, p(f(y).issues.emptyState), 1)) : (e(!0), c(l, { key: 2 }, n([
|
|
49
49
|
{
|
|
50
50
|
key: "errors",
|
|
51
|
-
title: f(y).
|
|
52
|
-
icon: f(
|
|
51
|
+
title: f(y).issues.groupErrors,
|
|
52
|
+
icon: f(b),
|
|
53
53
|
items: H.value,
|
|
54
54
|
tone: "tpl:text-[var(--tpl-danger)]"
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
57
|
key: "warnings",
|
|
58
|
-
title: f(y).
|
|
58
|
+
title: f(y).issues.groupWarnings,
|
|
59
59
|
icon: f(C),
|
|
60
60
|
items: U.value,
|
|
61
61
|
tone: "tpl:text-[var(--tpl-warning)]"
|
|
62
62
|
},
|
|
63
63
|
{
|
|
64
64
|
key: "info",
|
|
65
|
-
title: f(y).
|
|
66
|
-
icon: f(
|
|
65
|
+
title: f(y).issues.groupInfo,
|
|
66
|
+
icon: f(x),
|
|
67
67
|
items: W.value,
|
|
68
68
|
tone: "tpl:text-[var(--tpl-text-muted)]"
|
|
69
69
|
}
|
|
@@ -91,7 +91,7 @@ var w = y("arrow-right", [["path", {
|
|
|
91
91
|
}, [m(f(w), {
|
|
92
92
|
size: 10,
|
|
93
93
|
"stroke-width": 2
|
|
94
|
-
}), r(" " + p(f(y).
|
|
94
|
+
}), r(" " + p(f(y).issues.jump), 1)], 8, L)) : u("", !0), t.fix ? (e(), c("button", {
|
|
95
95
|
key: 1,
|
|
96
96
|
type: "button",
|
|
97
97
|
class: "tpl:flex tpl:items-center tpl:gap-1 tpl:rounded-md tpl:bg-[var(--tpl-primary)] tpl:px-2 tpl:py-1 tpl:text-[11px] tpl:font-medium tpl:text-white",
|
|
@@ -100,7 +100,7 @@ var w = y("arrow-right", [["path", {
|
|
|
100
100
|
}, [m(f(T), {
|
|
101
101
|
size: 10,
|
|
102
102
|
"stroke-width": 2
|
|
103
|
-
}), r(" " + p(f(y).
|
|
103
|
+
}), r(" " + p(f(y).issues.fix), 1)], 8, R)) : u("", !0)])
|
|
104
104
|
]))), 128))])) : u("", !0)]))), 128))]));
|
|
105
105
|
}
|
|
106
106
|
});
|
|
@@ -1,13 +1,13 @@
|
|
|
1
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-Bxqkjqhc.js";
|
|
2
|
-
import "./useEditorCore-
|
|
3
|
-
import { A as g,
|
|
4
|
-
import { t as se } from "./useI18n-
|
|
2
|
+
import "./useEditorCore-DT3VrvZS.js";
|
|
3
|
+
import { A as g, p as _, w as oe } from "./keys-CY3tkCsv.js";
|
|
4
|
+
import { t as se } from "./useI18n-CWX9ZTCW.js";
|
|
5
5
|
import { t as v } from "./createLucideIcon-Di4mqmGn.js";
|
|
6
|
-
import { n as y, t as b } from "./blockTypeIcons-
|
|
6
|
+
import { n as y, t as b } from "./blockTypeIcons-CJNuGjLX.js";
|
|
7
7
|
import { t as ce } from "./trash-2-424iqbpN.js";
|
|
8
8
|
import { t as le } from "./x-Dlaenqta.js";
|
|
9
|
-
import { n as ue } from "./useCloudI18n-
|
|
10
|
-
import { t as de } from "./TplModal-
|
|
9
|
+
import { n as ue } from "./useCloudI18n-BPUHj2CZ.js";
|
|
10
|
+
import { t as de } from "./TplModal-CVq2BAIW.js";
|
|
11
11
|
var fe = v("search", [["path", {
|
|
12
12
|
d: "m21 21-4.34-4.34",
|
|
13
13
|
key: "14j7rj"
|
|
@@ -53,7 +53,7 @@ var fe = v("search", [["path", {
|
|
|
53
53
|
props: { visible: { type: Boolean } },
|
|
54
54
|
emits: ["close", "insert"],
|
|
55
55
|
setup(o, { emit: v }) {
|
|
56
|
-
let B = o, V = v, Ee = ie(() => import("./ModulePreviewCanvas-
|
|
56
|
+
let B = o, V = v, Ee = ie(() => import("./ModulePreviewCanvas-CDg4MnJP.js")), { t: De } = se(), { t: H } = ue(), U = g(oe, "ModuleBrowserModal"), W = g(_, "ModuleBrowserModal"), G = a(""), K = a(null), q = a(null), J = a("end"), Y = c(() => {
|
|
57
57
|
let e = U.modules.value;
|
|
58
58
|
if (!G.value) return e;
|
|
59
59
|
let t = G.value.toLowerCase();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
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-Bxqkjqhc.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-
|
|
3
|
-
import {
|
|
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-DT3VrvZS.js";
|
|
3
|
+
import { o as D } from "./keys-CY3tkCsv.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
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-Bxqkjqhc.js";
|
|
2
2
|
import { t as v } from "./dist-BzRLLpfq.js";
|
|
3
|
-
import { t as ne } from "./useI18n-
|
|
3
|
+
import { t as ne } from "./useI18n-CWX9ZTCW.js";
|
|
4
4
|
import { h as y, i as b, m as x, p as S, u as C } from "./styleConstants-DkfOPzGu.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
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-Bxqkjqhc.js";
|
|
2
|
-
import { C as S, b as C, w } from "./useEditorCore-
|
|
2
|
+
import { C as S, b as C, w } from "./useEditorCore-DT3VrvZS.js";
|
|
3
3
|
import { t as T } from "./dist-BzRLLpfq.js";
|
|
4
|
-
import { A as E, D,
|
|
5
|
-
import { t as A } from "./useI18n-
|
|
4
|
+
import { A as E, D, h as O, k } from "./keys-CY3tkCsv.js";
|
|
5
|
+
import { t as A } from "./useI18n-CWX9ZTCW.js";
|
|
6
6
|
import { t as j } from "./createLucideIcon-Di4mqmGn.js";
|
|
7
|
-
import { a as ee, i as te, n as M, r as N, t as P } from "./RichTextEditorContent-
|
|
7
|
+
import { a as ee, i as te, n as M, r as N, t as P } from "./RichTextEditorContent-Cu9NEkKd.js";
|
|
8
8
|
import { t as ne } from "./loader-circle-_9bP23op.js";
|
|
9
9
|
import { t as re } from "./scan-line-DUEg6DoT.js";
|
|
10
10
|
import { n as ie, r as ae, t as oe } from "./text-align-start-DG3aAH7Y.js";
|
|
11
11
|
import { t as F } from "./_plugin-vue_export-helper-B0hnzhyu.js";
|
|
12
12
|
import { a as I, o as L, s as R } from "./styleConstants-DkfOPzGu.js";
|
|
13
|
-
import { t as z } from "./usePopoverRoot-
|
|
13
|
+
import { t as z } from "./usePopoverRoot-BKJcxsst.js";
|
|
14
14
|
var B = j("list-ordered", [
|
|
15
15
|
["path", {
|
|
16
16
|
d: "M11 5h10",
|
|
@@ -598,7 +598,7 @@ var Z = /* @__PURE__ */ F(fe, [["render", me]]), he = [
|
|
|
598
598
|
import("./dist-CfQPBf15.js"),
|
|
599
599
|
import("./dist-BYt3jdCR.js"),
|
|
600
600
|
import("./dist-DD-9hatO.js"),
|
|
601
|
-
import("./extensions-
|
|
601
|
+
import("./extensions-C-FpnfJn.js")
|
|
602
602
|
]);
|
|
603
603
|
return {
|
|
604
604
|
TiptapEditor: a,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
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-Bxqkjqhc.js";
|
|
2
|
-
import { D as y, k as b } from "./keys-
|
|
3
|
-
import { t as x } from "./useI18n-
|
|
2
|
+
import { D as y, k as b } from "./keys-CY3tkCsv.js";
|
|
3
|
+
import { t as x } from "./useI18n-CWX9ZTCW.js";
|
|
4
4
|
import { t as S } from "./createLucideIcon-Di4mqmGn.js";
|
|
5
5
|
import { t as C } from "./x-Dlaenqta.js";
|
|
6
|
-
import { t as w } from "./usePopoverRoot-
|
|
6
|
+
import { t as w } from "./usePopoverRoot-BKJcxsst.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
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-Bxqkjqhc.js";
|
|
2
|
-
import "./useEditorCore-
|
|
3
|
-
import { A as y,
|
|
4
|
-
import { t as S } from "./useI18n-
|
|
2
|
+
import "./useEditorCore-DT3VrvZS.js";
|
|
3
|
+
import { A as y, p as b, w as x } from "./keys-CY3tkCsv.js";
|
|
4
|
+
import { t as S } from "./useI18n-CWX9ZTCW.js";
|
|
5
5
|
import { t as te } from "./loader-circle-_9bP23op.js";
|
|
6
|
-
import { n as ne } from "./useCloudI18n-
|
|
7
|
-
import { t as C } from "./TplModal-
|
|
6
|
+
import { n as ne } from "./useCloudI18n-BPUHj2CZ.js";
|
|
7
|
+
import { t as C } from "./TplModal-CVq2BAIW.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",
|
|
@@ -28,7 +28,7 @@ var w = ["aria-busy"], T = {
|
|
|
28
28
|
},
|
|
29
29
|
emits: ["close", "saved"],
|
|
30
30
|
setup(c, { emit: R }) {
|
|
31
|
-
let z = c, B = R, { t: V } = S(), { t: H } = ne(), U = y(
|
|
31
|
+
let z = c, B = R, { t: V } = S(), { t: H } = ne(), U = y(b, "SaveModuleDialog"), W = y(x, "SaveModuleDialog"), G = i(""), K = i(/* @__PURE__ */ new Set()), q = i(!1), J = i(null), Y = l(() => U.content.value.blocks);
|
|
32
32
|
function X(e, t) {
|
|
33
33
|
let n = e.type;
|
|
34
34
|
return `${V.blocks[n] ?? e.type} ${t + 1}`;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
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-Bxqkjqhc.js";
|
|
2
|
-
import "./useEditorCore-
|
|
2
|
+
import "./useEditorCore-DT3VrvZS.js";
|
|
3
3
|
import { t as _ } from "./dist-BzRLLpfq.js";
|
|
4
|
-
import { t as v } from "./useI18n-
|
|
4
|
+
import { t as v } from "./useI18n-CWX9ZTCW.js";
|
|
5
5
|
import { t as y } from "./createLucideIcon-Di4mqmGn.js";
|
|
6
|
-
import { t as b } from "./chevron-down-
|
|
7
|
-
import { t as x } from "./clock-
|
|
6
|
+
import { t as b } from "./chevron-down-4NzWtv6Y.js";
|
|
7
|
+
import { t as x } from "./clock-B9-ct9r_.js";
|
|
8
8
|
import { t as S } from "./loader-circle-_9bP23op.js";
|
|
9
|
-
import { n as C } from "./useCloudI18n-
|
|
9
|
+
import { n as C } from "./useCloudI18n-BPUHj2CZ.js";
|
|
10
10
|
import { t as w } from "./formatRelativeTime-bvx5sFh5.js";
|
|
11
11
|
var T = y("chevron-left", [["path", {
|
|
12
12
|
d: "m15 18-6-6 6-6",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
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-Bxqkjqhc.js";
|
|
2
|
-
import { A as _,
|
|
2
|
+
import { A as _, T as re, p as ie, v } from "./keys-CY3tkCsv.js";
|
|
3
3
|
import { t as y } from "./createLucideIcon-Di4mqmGn.js";
|
|
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-
|
|
4
|
+
import { t as ae } from "./chevron-down-4NzWtv6Y.js";
|
|
5
|
+
import { t as b } from "./circle-alert-CPIth9bC.js";
|
|
6
|
+
import { n as x, t as S } from "./refresh-cw-C9_M6yB3.js";
|
|
7
|
+
import { t as oe } from "./info-DiINxXfZ.js";
|
|
8
8
|
import { t as C } from "./loader-circle-_9bP23op.js";
|
|
9
9
|
import { t as w } from "./shield-check-C5Gv2cM1.js";
|
|
10
10
|
import { t as T } from "./sparkles-D1IGi_cC.js";
|
|
@@ -12,7 +12,7 @@ import { t as se } from "./triangle-alert-DWQySIE2.js";
|
|
|
12
12
|
import { t as ce } from "./x-Dlaenqta.js";
|
|
13
13
|
import { t as le } from "./LoadingTrack-CFkDkjBb.js";
|
|
14
14
|
import { t as E } from "./_plugin-vue_export-helper-B0hnzhyu.js";
|
|
15
|
-
import { n as D } from "./useCloudI18n-
|
|
15
|
+
import { n as D } from "./useCloudI18n-BPUHj2CZ.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
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-Bxqkjqhc.js";
|
|
2
|
-
import "./useEditorCore-
|
|
2
|
+
import "./useEditorCore-DT3VrvZS.js";
|
|
3
3
|
import { t as v } from "./loader-circle-_9bP23op.js";
|
|
4
|
-
import { n as y } from "./useCloudI18n-
|
|
5
|
-
import { t as b } from "./TplModal-
|
|
4
|
+
import { n as y } from "./useCloudI18n-BPUHj2CZ.js";
|
|
5
|
+
import { t as b } from "./TplModal-CVq2BAIW.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",
|