@templatical/editor 0.32.0 → 0.34.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-ftdKHSR-.js → AiChatSidebar-CkHJ28sf.js} +3 -3
- package/dist/{AiFeatureMenu-aNeCRlil.js → AiFeatureMenu-DWdKguDN.js} +3 -3
- package/dist/{BlockIssueBadge-bTDu6W_2.js → BlockIssueBadge-DcyHTAqw.js} +2 -2
- package/dist/{BlockPreviewCanvas-BsOuOfzB.js → BlockPreviewCanvas-B621ANn9.js} +4 -4
- package/dist/{CloudHeaderExtras-BNpFohqt.js → CloudHeaderExtras-BJ3Cebhv.js} +2 -2
- package/dist/{CloudPanels-xoGWwqSH.js → CloudPanels-BGz9ygo6.js} +6 -6
- package/dist/{CollaboratorBar-mEqXkdEi.js → CollaboratorBar-KphmSQeZ.js} +2 -2
- package/dist/{ColorPicker-FL5Vb9bE.js → ColorPicker-C6EOwtHC.js} +5 -5
- package/dist/{CommentsPanel-slfi74ng.js → CommentsPanel-DmWh8f08.js} +1 -1
- package/dist/{CommentsSidebar-Dea4spMl.js → CommentsSidebar-CL_tffzT.js} +4 -4
- package/dist/{CountdownBlock-DQTwaRxP.js → CountdownBlock-D1fsNsyS.js} +1 -1
- package/dist/{CountdownToolbar-C7xwJoqh.js → CountdownToolbar-B8J4i5Xp.js} +2 -2
- package/dist/{DesignReferenceSidebar-BtBd7bbz.js → DesignReferenceSidebar-BDhEeaAh.js} +4 -4
- package/dist/{IssuesPanel-Ci2H36L2.js → IssuesPanel-CiOjeRFI.js} +4 -4
- package/dist/MergeTagInput-RytOlh1A.js +448 -0
- package/dist/{MergeTagModeToggle-Cdi_DmVw.js → MergeTagModeToggle-Bi-FydXj.js} +2 -2
- package/dist/{ParagraphEditor-DQEOFc0K.js → ParagraphEditor-C87tkmtE.js} +12 -12
- package/dist/{RestoreVersionDialog-CHwngBae.js → RestoreVersionDialog-Db5rZRMA.js} +2 -2
- package/dist/RichTextEditorContent-BmTcV2-a.js +152 -0
- package/dist/{SaveBlockDialog-tZqZzPjW.js → SaveBlockDialog-CDCzx6Bo.js} +15 -15
- package/dist/{SavedBlocksBrowserModal-Bdj3GOD_.js → SavedBlocksBrowserModal-DQR6kJB1.js} +101 -101
- package/dist/{SavedBlocksPanels-2sBxAH9w.js → SavedBlocksPanels-DFzV0CRD.js} +1 -1
- package/dist/{SavedBlocksPickBar-DTjQBR00.js → SavedBlocksPickBar-XyXmnSnO.js} +2 -2
- package/dist/{TemplateScoringPanel-B6nHSrBD.js → TemplateScoringPanel-CpyEKMzC.js} +4 -4
- package/dist/{TestEmailModal-DuHbzO37.js → TestEmailModal-DIfJy9eE.js} +8 -8
- package/dist/{TestEmailPanel-TpwP-eK_.js → TestEmailPanel-C8Wx5yPS.js} +1 -1
- package/dist/{TitleEditor-C0JQJu38.js → TitleEditor-iNFOisr4.js} +11 -11
- package/dist/{TplModal-BMGmhquu.js → TplModal-CowM3o_F.js} +5 -5
- package/dist/{VersionHistoryMenu-D2x6MMYx.js → VersionHistoryMenu-CV90OhXs.js} +2 -2
- package/dist/{VersionHistoryPanels-aGlUVEGF.js → VersionHistoryPanels-BE3pplJG.js} +1 -1
- package/dist/{VersionPreviewBanner-61t3_Z-a.js → VersionPreviewBanner-BwUWBtlH.js} +1 -1
- package/dist/{blockTypeIcons-BsNup009.js → blockTypeIcons-DQsKtHik.js} +1 -1
- package/dist/bundle-stats.json +6 -6
- package/dist/cdn/chunks/{AiChatSidebar-CqWvtRwB.js → AiChatSidebar-BEnIWn6s.js} +4 -4
- package/dist/cdn/chunks/AiChatSidebar-BEnIWn6s.js.map +1 -0
- package/dist/cdn/chunks/{AiFeatureMenu-DoFrLcXJ.js → AiFeatureMenu-DMl23akc.js} +4 -4
- package/dist/cdn/chunks/{AiFeatureMenu-DoFrLcXJ.js.map → AiFeatureMenu-DMl23akc.js.map} +1 -1
- package/dist/cdn/chunks/{BlockIssueBadge-B_mUH69a.js → BlockIssueBadge-CloK4k3M.js} +3 -3
- package/dist/cdn/chunks/{BlockIssueBadge-B_mUH69a.js.map → BlockIssueBadge-CloK4k3M.js.map} +1 -1
- package/dist/cdn/chunks/{BlockPreviewCanvas-CSIxs7hr.js → BlockPreviewCanvas-DSiJFJa0.js} +5 -5
- package/dist/cdn/chunks/{BlockPreviewCanvas-CSIxs7hr.js.map → BlockPreviewCanvas-DSiJFJa0.js.map} +1 -1
- package/dist/cdn/chunks/{CloudHeaderExtras-Dgtr7WaE.js → CloudHeaderExtras-b4KpVeUN.js} +3 -3
- package/dist/cdn/chunks/{CloudHeaderExtras-Dgtr7WaE.js.map → CloudHeaderExtras-b4KpVeUN.js.map} +1 -1
- package/dist/cdn/chunks/{CloudPanels-B91lUmof.js → CloudPanels-DzwOq9lp.js} +7 -7
- package/dist/cdn/chunks/CloudPanels-DzwOq9lp.js.map +1 -0
- package/dist/cdn/chunks/{CollaboratorBar-CQwPWoFu.js → CollaboratorBar-WXKvpoGK.js} +3 -3
- package/dist/cdn/chunks/{CollaboratorBar-CQwPWoFu.js.map → CollaboratorBar-WXKvpoGK.js.map} +1 -1
- package/dist/cdn/chunks/{ColorPicker-CdrKX48J.js → ColorPicker-BubTDiS1.js} +6 -6
- package/dist/cdn/chunks/{ColorPicker-CdrKX48J.js.map → ColorPicker-BubTDiS1.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsPanel-BJNgTmAA.js → CommentsPanel-DAA2VqX4.js} +2 -2
- package/dist/cdn/chunks/{CommentsPanel-BJNgTmAA.js.map → CommentsPanel-DAA2VqX4.js.map} +1 -1
- package/dist/cdn/chunks/{CommentsSidebar-D6VIIPhB.js → CommentsSidebar-Ci0M2ePp.js} +5 -5
- package/dist/cdn/chunks/CommentsSidebar-Ci0M2ePp.js.map +1 -0
- package/dist/cdn/chunks/{CountdownBlock-BRwXUvGU.js → CountdownBlock-rK055jpy.js} +2 -2
- package/dist/cdn/chunks/{CountdownBlock-BRwXUvGU.js.map → CountdownBlock-rK055jpy.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownToolbar-CVaU5WG6.js → CountdownToolbar-CzZq26Vp.js} +3 -3
- package/dist/cdn/chunks/{CountdownToolbar-CVaU5WG6.js.map → CountdownToolbar-CzZq26Vp.js.map} +1 -1
- package/dist/cdn/chunks/{DesignReferenceSidebar-BvOwE1kg.js → DesignReferenceSidebar-C_ehdX5C.js} +5 -5
- package/dist/cdn/chunks/DesignReferenceSidebar-C_ehdX5C.js.map +1 -0
- package/dist/cdn/chunks/{IssuesPanel-MJZxkScz.js → IssuesPanel-BXAN2_al.js} +5 -5
- package/dist/cdn/chunks/{IssuesPanel-MJZxkScz.js.map → IssuesPanel-BXAN2_al.js.map} +1 -1
- package/dist/cdn/chunks/MergeTagInput-1vcI9uQH.js +419 -0
- package/dist/cdn/chunks/MergeTagInput-1vcI9uQH.js.map +1 -0
- package/dist/cdn/chunks/{MergeTagModeToggle-bNuN6PTV.js → MergeTagModeToggle-B_mUYJo4.js} +3 -3
- package/dist/cdn/chunks/{MergeTagModeToggle-bNuN6PTV.js.map → MergeTagModeToggle-B_mUYJo4.js.map} +1 -1
- package/dist/cdn/chunks/{ParagraphEditor-BU8tlFbL.js → ParagraphEditor-DCDHMcmx.js} +10 -10
- package/dist/cdn/chunks/ParagraphEditor-DCDHMcmx.js.map +1 -0
- package/dist/cdn/chunks/{RestoreVersionDialog-vdRFfyy0.js → RestoreVersionDialog-BkSSwf-Q.js} +3 -3
- package/dist/cdn/chunks/{RestoreVersionDialog-vdRFfyy0.js.map → RestoreVersionDialog-BkSSwf-Q.js.map} +1 -1
- package/dist/cdn/chunks/RichTextEditorContent-S4KogjIj.js +122 -0
- package/dist/cdn/chunks/RichTextEditorContent-S4KogjIj.js.map +1 -0
- package/dist/cdn/chunks/{SaveBlockDialog-DWaeqcM8.js → SaveBlockDialog-BH774Nt0.js} +14 -14
- package/dist/cdn/chunks/{SaveBlockDialog-DWaeqcM8.js.map → SaveBlockDialog-BH774Nt0.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-qC7UhW74.js → SavedBlocksBrowserModal-CSUqw_dD.js} +6 -6
- package/dist/cdn/chunks/{SavedBlocksBrowserModal-qC7UhW74.js.map → SavedBlocksBrowserModal-CSUqw_dD.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPanels-BvtjtdsY.js → SavedBlocksPanels-B6ApbCjG.js} +2 -2
- package/dist/cdn/chunks/{SavedBlocksPanels-BvtjtdsY.js.map → SavedBlocksPanels-B6ApbCjG.js.map} +1 -1
- package/dist/cdn/chunks/{SavedBlocksPickBar-CxXjF3RN.js → SavedBlocksPickBar-C9MXSRcR.js} +3 -3
- package/dist/cdn/chunks/{SavedBlocksPickBar-CxXjF3RN.js.map → SavedBlocksPickBar-C9MXSRcR.js.map} +1 -1
- package/dist/cdn/chunks/{TemplateScoringPanel-CroWaWqy.js → TemplateScoringPanel-QVOxc9TZ.js} +50 -50
- package/dist/cdn/chunks/TemplateScoringPanel-QVOxc9TZ.js.map +1 -0
- package/dist/cdn/chunks/{TestEmailModal-iWxAZRRq.js → TestEmailModal-_CZvaO58.js} +9 -9
- package/dist/cdn/chunks/{TestEmailModal-iWxAZRRq.js.map → TestEmailModal-_CZvaO58.js.map} +1 -1
- package/dist/cdn/chunks/{TestEmailPanel-CGUtEuwp.js → TestEmailPanel-DXLxvyrD.js} +2 -2
- package/dist/cdn/chunks/{TestEmailPanel-CGUtEuwp.js.map → TestEmailPanel-DXLxvyrD.js.map} +1 -1
- package/dist/cdn/chunks/{TitleEditor-DvXUW2j-.js → TitleEditor-BuCOahW3.js} +9 -9
- package/dist/cdn/chunks/TitleEditor-BuCOahW3.js.map +1 -0
- package/dist/cdn/chunks/{TplModal-X-qNoLGZ.js → TplModal-CqY8R3hn.js} +6 -6
- package/dist/cdn/chunks/TplModal-CqY8R3hn.js.map +1 -0
- package/dist/cdn/chunks/{VersionHistoryMenu-yKzwxf7n.js → VersionHistoryMenu-DDjIBvad.js} +3 -3
- package/dist/cdn/chunks/{VersionHistoryMenu-yKzwxf7n.js.map → VersionHistoryMenu-DDjIBvad.js.map} +1 -1
- package/dist/cdn/chunks/{VersionHistoryPanels--hQaanjH.js → VersionHistoryPanels-BuTw04T5.js} +2 -2
- package/dist/cdn/chunks/{VersionHistoryPanels--hQaanjH.js.map → VersionHistoryPanels-BuTw04T5.js.map} +1 -1
- package/dist/cdn/chunks/{VersionPreviewBanner-DWU_SqMd.js → VersionPreviewBanner-fGAv20qI.js} +2 -2
- package/dist/cdn/chunks/{VersionPreviewBanner-DWU_SqMd.js.map → VersionPreviewBanner-fGAv20qI.js.map} +1 -1
- package/dist/cdn/chunks/{createCloudRuntime-DD6ppb71.js → createCloudRuntime-JFE-sxbT.js} +2 -2
- package/dist/cdn/chunks/{createCloudRuntime-DD6ppb71.js.map → createCloudRuntime-JFE-sxbT.js.map} +1 -1
- package/dist/cdn/chunks/{extensions-BUPHNpKD.js → extensions-7z04EIGg.js} +3 -3
- package/dist/cdn/chunks/{extensions-BUPHNpKD.js.map → extensions-7z04EIGg.js.map} +1 -1
- package/dist/cdn/chunks/keys-DQp8x7Nx.js +12 -0
- package/dist/cdn/chunks/keys-DQp8x7Nx.js.map +1 -0
- package/dist/cdn/chunks/src-CLoCCDfs.js.map +1 -1
- package/dist/cdn/chunks/{src-DtnvR_Hl.js → src-CiAi5oRe.js} +2 -2
- package/dist/cdn/chunks/{src-DtnvR_Hl.js.map → src-CiAi5oRe.js.map} +1 -1
- package/dist/cdn/chunks/{useCloudI18n-DbsLlCbZ.js → useCloudI18n-MxgHWrV6.js} +2 -2
- package/dist/cdn/chunks/{useCloudI18n-DbsLlCbZ.js.map → useCloudI18n-MxgHWrV6.js.map} +1 -1
- package/dist/cdn/chunks/{useEditorCore-ChlgO2GN.js → useEditorCore-ehUSEsbw.js} +548 -511
- package/dist/cdn/chunks/useEditorCore-ehUSEsbw.js.map +1 -0
- package/dist/cdn/chunks/{useEditorRoot-BlF1WPeu.js → useEditorRoot-CteADR3y.js} +2 -2
- package/dist/cdn/chunks/{useEditorRoot-BlF1WPeu.js.map → useEditorRoot-CteADR3y.js.map} +1 -1
- package/dist/cdn/chunks/{useI18n-BdxNNw6j.js → useI18n-Ct1VIFcf.js} +2 -2
- package/dist/cdn/chunks/{useI18n-BdxNNw6j.js.map → useI18n-Ct1VIFcf.js.map} +1 -1
- package/dist/cdn/chunks/useMergeTag-TLhF2fGK.js +46 -0
- package/dist/cdn/chunks/useMergeTag-TLhF2fGK.js.map +1 -0
- package/dist/cdn/chunks/{usePopoverPosition-Dw1nTSNx.js → usePopoverPosition-BxVWE5_0.js} +2 -2
- package/dist/cdn/chunks/{usePopoverPosition-Dw1nTSNx.js.map → usePopoverPosition-BxVWE5_0.js.map} +1 -1
- package/dist/cdn/chunks/{useScrollToBlock-BMis3-PR.js → useScrollToBlock-Cz3fpgTK.js} +2 -2
- package/dist/cdn/chunks/{useScrollToBlock-BMis3-PR.js.map → useScrollToBlock-Cz3fpgTK.js.map} +1 -1
- package/dist/cdn/editor.css +1 -1
- package/dist/cdn/editor.js +1722 -2071
- package/dist/cdn/editor.js.map +1 -1
- package/dist/{createCloudRuntime-zNcMjRgb.js → createCloudRuntime-DbTFm1ES.js} +1 -1
- package/dist/{extensions-kOYwOh72.js → extensions-Mf8iHey9.js} +2 -2
- package/dist/index.d.ts +41 -0
- package/dist/keys-C3P1yxnr.js +10 -0
- package/dist/style.css +1 -1
- package/dist/templatical-editor.js +1890 -2240
- package/dist/{useCloudI18n-BlMajbKp.js → useCloudI18n-BKoiYsWZ.js} +1 -1
- package/dist/{useEditorCore-CwQYCSXO.js → useEditorCore-DdkQuTHl.js} +1101 -1064
- package/dist/{useEditorRoot-C92q8uV-.js → useEditorRoot-DkRGTQRs.js} +1 -1
- package/dist/{useI18n-Ce_BRzYv.js → useI18n-CL6RfPzK.js} +1 -1
- package/dist/useMergeTag-gSuYus-M.js +44 -0
- package/dist/{usePopoverPosition-CPk7Twye.js → usePopoverPosition-CWxaIWd3.js} +1 -1
- package/dist/{useScrollToBlock-DvpMfWs2.js → useScrollToBlock-CdI8fGqt.js} +1 -1
- package/package.json +7 -7
- package/dist/RichTextEditorContent-C_9xi7dD.js +0 -153
- package/dist/cdn/chunks/AiChatSidebar-CqWvtRwB.js.map +0 -1
- package/dist/cdn/chunks/CloudPanels-B91lUmof.js.map +0 -1
- package/dist/cdn/chunks/CommentsSidebar-D6VIIPhB.js.map +0 -1
- package/dist/cdn/chunks/DesignReferenceSidebar-BvOwE1kg.js.map +0 -1
- package/dist/cdn/chunks/ParagraphEditor-BU8tlFbL.js.map +0 -1
- package/dist/cdn/chunks/RichTextEditorContent-C1-5I8Df.js +0 -123
- package/dist/cdn/chunks/RichTextEditorContent-C1-5I8Df.js.map +0 -1
- package/dist/cdn/chunks/TemplateScoringPanel-CroWaWqy.js.map +0 -1
- package/dist/cdn/chunks/TitleEditor-DvXUW2j-.js.map +0 -1
- package/dist/cdn/chunks/TplModal-X-qNoLGZ.js.map +0 -1
- package/dist/cdn/chunks/keys-BOn5i9jV.js +0 -12
- package/dist/cdn/chunks/keys-BOn5i9jV.js.map +0 -1
- package/dist/cdn/chunks/useEditorCore-ChlgO2GN.js.map +0 -1
- package/dist/cdn/chunks/useMergeTag-CI2WUNrR.js +0 -46
- package/dist/cdn/chunks/useMergeTag-CI2WUNrR.js.map +0 -1
- package/dist/keys-BOhFlHsv.js +0 -10
- package/dist/scan-line-E7w4yQyv.js +0 -31
- package/dist/useMergeTag-CrXJ49lr.js +0 -44
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { B as e, Dt as t, L as n, S as r, T as ee, X as i, c as a, d as o, g as s, h as c, j as l, k as u, kt as d, l as f, r as p, rt as m, u as h, v as g, z as te } from "./vue.runtime.esm-bundler-D9JUcKrV.js";
|
|
2
2
|
import { a as ne, t as re } from "./runtime-dom.esm-bundler-BuG03jBM.js";
|
|
3
3
|
import { m as ie, p as ae } from "./dist-heatwAdo.js";
|
|
4
|
-
import {
|
|
4
|
+
import { E as oe, J as _, h as se, i as v, l as ce } from "./keys-C3P1yxnr.js";
|
|
5
5
|
import { t as y } from "./createLucideIcon-Bvw1Zx56.js";
|
|
6
6
|
import { t as le } from "./circle-alert-CJDW5LZo.js";
|
|
7
7
|
import { t as ue } from "./loader-circle-t-SVgmJ3.js";
|
|
@@ -27,7 +27,7 @@ var w = y("redo-2", [["path", {
|
|
|
27
27
|
key: "f3b9sd"
|
|
28
28
|
}]]), E = {
|
|
29
29
|
key: 0,
|
|
30
|
-
class: "tpl-ai-sidebar tpl:absolute tpl:top-14 tpl:right-0 tpl:bottom-0 tpl:
|
|
30
|
+
class: "tpl-ai-sidebar tpl:absolute tpl:top-14 tpl:right-0 tpl:bottom-0 tpl:flex tpl:w-[360px] tpl:flex-col tpl:border-l tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-elevated)]"
|
|
31
31
|
}, D = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3" }, O = { class: "tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-primary)]" }, k = { class: "tpl:flex tpl:items-center tpl:gap-1" }, A = ["title"], j = { class: "tpl:relative tpl:flex tpl:min-h-0 tpl:flex-1 tpl:flex-col" }, M = {
|
|
32
32
|
key: 0,
|
|
33
33
|
class: "tpl:flex tpl:h-full tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-3 tpl:text-center"
|
|
@@ -215,6 +215,6 @@ var w = y("redo-2", [["path", {
|
|
|
215
215
|
_: 1
|
|
216
216
|
}));
|
|
217
217
|
}
|
|
218
|
-
}), [["__scopeId", "data-v-
|
|
218
|
+
}), [["__scopeId", "data-v-ae103ae8"]]);
|
|
219
219
|
//#endregion
|
|
220
220
|
export { B as default };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Ot as e, P as t, c as n, d as r, j as i, k as a, kt as o, l as s, r as c, s as l, v as u } from "./vue.runtime.esm-bundler-D9JUcKrV.js";
|
|
2
|
-
import "./useEditorCore-
|
|
3
|
-
import {
|
|
2
|
+
import "./useEditorCore-DdkQuTHl.js";
|
|
3
|
+
import { J as d, t as f } from "./keys-C3P1yxnr.js";
|
|
4
4
|
import { t as p } from "./image-up-CuzFc1mu.js";
|
|
5
5
|
import { t as m } from "./shield-check-D0dMaHtE.js";
|
|
6
6
|
import { t as h } from "./sparkles-Dy2BJjiX.js";
|
|
7
7
|
import { t as g } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
8
|
-
import { n as _ } from "./useCloudI18n-
|
|
8
|
+
import { n as _ } from "./useCloudI18n-BKoiYsWZ.js";
|
|
9
9
|
//#region src/cloud/components/AiFeatureMenu.vue?vue&type=script&setup=true&lang.ts
|
|
10
10
|
var v = { class: "tpl-ai-feature-menu tpl:w-[280px] tpl:overflow-hidden tpl:rounded-[var(--tpl-radius)] tpl:py-1 tpl:bg-[var(--tpl-bg)] tpl:border tpl:border-[var(--tpl-border)] tpl:shadow-[var(--tpl-shadow-lg)]" }, y = ["onClick"], b = { class: "tpl:flex tpl:min-w-0 tpl:flex-col tpl:gap-0.5" }, x = { class: "tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text)]" }, S = { class: "tpl:text-xs tpl:leading-snug tpl:text-[var(--tpl-text-muted)]" }, C = /*#__PURE__*/ g(/* @__PURE__ */ u({
|
|
11
11
|
__name: "AiFeatureMenu",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Dt as e, S as t, d as n, k as r, l as i, rt as a, s as o, u as s, v as c } from "./vue.runtime.esm-bundler-D9JUcKrV.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as u } from "./useI18n-
|
|
2
|
+
import { V as l } from "./keys-C3P1yxnr.js";
|
|
3
|
+
import { t as u } from "./useI18n-CL6RfPzK.js";
|
|
4
4
|
import { t as d } from "./circle-alert-CJDW5LZo.js";
|
|
5
5
|
import { t as f } from "./triangle-alert-DxnFj4-B.js";
|
|
6
6
|
//#region src/components/canvas/BlockIssueBadge.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
2
|
import { A as t, N as n, Ot as r, P as i, S as a, c as o, d as s, j as c, k as l, l as u, r as d, rt as f, s as p, v as m } from "./vue.runtime.esm-bundler-D9JUcKrV.js";
|
|
3
|
-
import { R as h, a as g, b as _, d as v, f as y, g as b, h as x, i as S, l as C, m as w, n as T, p as E, r as D, v as O, y as k } from "./useEditorCore-
|
|
4
|
-
import {
|
|
3
|
+
import { R as h, a as g, b as _, d as v, f as y, g as b, h as x, i as S, l as C, m as w, n as T, p as E, r as D, v as O, y as k } from "./useEditorCore-DdkQuTHl.js";
|
|
4
|
+
import { A, d as j, h as M, q as N, s as P } from "./keys-C3P1yxnr.js";
|
|
5
5
|
import { n as F, t as I } from "./emailFrameWidth-BmFCN2dp.js";
|
|
6
6
|
//#region src/components/blocks/PreviewSectionBlock.vue?vue&type=script&setup=true&lang.ts
|
|
7
7
|
var L = { class: "tpl:w-full" }, R = { class: "tpl:flex tpl:gap-0" }, z = /* @__PURE__ */ m({
|
|
@@ -78,8 +78,8 @@ var L = { class: "tpl:w-full" }, R = { class: "tpl:flex tpl:gap-0" }, z = /* @__
|
|
|
78
78
|
}
|
|
79
79
|
},
|
|
80
80
|
setup(e) {
|
|
81
|
-
let n = e, m = a(P), L = a(
|
|
82
|
-
t(
|
|
81
|
+
let n = e, m = a(P), L = a(M, null), R = a(j, null), V = a(A, null);
|
|
82
|
+
t(N, p(() => V?.value ?? !1));
|
|
83
83
|
let H = p(() => n.applyConditionFilter ? n.blocks.filter((e) => !R?.isHidden(e.id)) : n.blocks), U = p(() => F(L?.content.value.settings, n.viewport)), W = p(() => L ? y(L.content.value.settings) : {}), G = p(() => L?.content.value.settings?.locale?.trim() || void 0), K = p(() => L?.content.value.settings.backgroundColor || "var(--tpl-canvas-bg)"), q = p(() => U.value + 192), J = {
|
|
84
84
|
section: z,
|
|
85
85
|
title: C,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Dt as e, _ as t, c as n, d as r, g as i, h as a, k as o, kt as s, l as c, r as l, rt as u, u as d, v as f, z as p } from "./vue.runtime.esm-bundler-D9JUcKrV.js";
|
|
2
2
|
import { c as m, t as h } from "./runtime-dom.esm-bundler-BuG03jBM.js";
|
|
3
3
|
import { t as g } from "./sparkles-Dy2BJjiX.js";
|
|
4
|
-
import { n as _ } from "./useCloudI18n-
|
|
4
|
+
import { n as _ } from "./useCloudI18n-BKoiYsWZ.js";
|
|
5
5
|
//#region src/cloud/components/CloudHeaderExtras.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var v = {
|
|
7
7
|
key: 0,
|
|
@@ -17,7 +17,7 @@ var v = {
|
|
|
17
17
|
cloud: {}
|
|
18
18
|
},
|
|
19
19
|
setup(f) {
|
|
20
|
-
let x = t(() => import("./CollaboratorBar-
|
|
20
|
+
let x = t(() => import("./CollaboratorBar-KphmSQeZ.js")), S = t(() => import("./AiFeatureMenu-DWdKguDN.js")), { t: C, format: w } = _();
|
|
21
21
|
return (t, _) => f.part === "left" ? (o(), r(l, { key: 0 }, [f.cloud.featureFlags.templateLimit.value === null ? d("", !0) : (o(), r("span", v, s(u(w)(u(C).header.templatesUsed, {
|
|
22
22
|
used: f.cloud.featureFlags.templateCount.value,
|
|
23
23
|
max: f.cloud.featureFlags.templateLimit.value
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { _ as e, c as t, d as n, g as r, j as i, k as a, kt as o, l as s, m as c, r as l, rt as u, u as d, v as f, z as p } from "./vue.runtime.esm-bundler-D9JUcKrV.js";
|
|
2
2
|
import { c as m, t as h } from "./runtime-dom.esm-bundler-BuG03jBM.js";
|
|
3
|
-
import { t as g } from "./useI18n-
|
|
3
|
+
import { t as g } from "./useI18n-CL6RfPzK.js";
|
|
4
4
|
import { t as _ } from "./circle-alert-CJDW5LZo.js";
|
|
5
5
|
import { t as v } from "./triangle-alert-DxnFj4-B.js";
|
|
6
|
-
import { n as y } from "./useCloudI18n-
|
|
6
|
+
import { n as y } from "./useCloudI18n-BKoiYsWZ.js";
|
|
7
7
|
//#region src/cloud/components/CloudErrorOverlay.vue?vue&type=script&setup=true&lang.ts
|
|
8
8
|
var b = {
|
|
9
9
|
key: 0,
|
|
10
10
|
role: "alert",
|
|
11
|
-
class: "tpl-error tpl:absolute tpl:inset-0 tpl:z-
|
|
11
|
+
class: "tpl-error tpl:absolute tpl:inset-0 tpl:z-[100] tpl:flex tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-6 tpl:px-8 tpl:bg-[var(--tpl-bg)]"
|
|
12
12
|
}, x = { class: "tpl:flex tpl:size-16 tpl:items-center tpl:justify-center tpl:rounded-full tpl:bg-[var(--tpl-danger-light)]" }, S = { class: "tpl:flex tpl:flex-col tpl:items-center tpl:gap-2 tpl:text-center" }, C = { class: "tpl:text-lg tpl:font-semibold tpl:text-[var(--tpl-text)]" }, w = { class: "tpl:max-w-md tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, T = /* @__PURE__ */ f({
|
|
13
13
|
__name: "CloudErrorOverlay",
|
|
14
14
|
props: {
|
|
@@ -40,7 +40,7 @@ var b = {
|
|
|
40
40
|
}
|
|
41
41
|
}), E = {
|
|
42
42
|
key: 0,
|
|
43
|
-
class: "tpl-loading tpl:absolute tpl:inset-0 tpl:z-
|
|
43
|
+
class: "tpl-loading tpl:absolute tpl:inset-0 tpl:z-[100] tpl:flex tpl:flex-col tpl:bg-[var(--tpl-bg)]"
|
|
44
44
|
}, D = { class: "tpl:flex tpl:flex-1 tpl:overflow-hidden" }, O = { class: "tpl:flex tpl:w-12 tpl:shrink-0 tpl:flex-col tpl:items-center tpl:gap-4 tpl:py-5 tpl:border-r tpl:border-[var(--tpl-border)]" }, k = /* @__PURE__ */ f({
|
|
45
45
|
__name: "CloudLoadingOverlay",
|
|
46
46
|
props: { visible: { type: Boolean } },
|
|
@@ -100,7 +100,7 @@ var b = {
|
|
|
100
100
|
key: 0,
|
|
101
101
|
role: "status",
|
|
102
102
|
"aria-live": "polite",
|
|
103
|
-
class: "tpl:absolute tpl:top-16 tpl:left-1/2 tpl:z-
|
|
103
|
+
class: "tpl:absolute tpl:top-16 tpl:left-1/2 tpl:z-[60] tpl:-translate-x-1/2 tpl:rounded-[var(--tpl-radius)] tpl:px-4 tpl:py-2.5 tpl:text-sm tpl:shadow-[var(--tpl-shadow-lg)]",
|
|
104
104
|
style: {
|
|
105
105
|
"background-color": "var(--tpl-warning-light)",
|
|
106
106
|
color: "var(--tpl-text)",
|
|
@@ -124,7 +124,7 @@ var b = {
|
|
|
124
124
|
locale: {}
|
|
125
125
|
},
|
|
126
126
|
setup(t) {
|
|
127
|
-
let i = e(() => import("./AiChatSidebar-
|
|
127
|
+
let i = e(() => import("./AiChatSidebar-CkHJ28sf.js")), o = e(() => import("./DesignReferenceSidebar-BDhEeaAh.js")), s = e(() => import("./TemplateScoringPanel-CpyEKMzC.js")), c = e(async () => {
|
|
128
128
|
try {
|
|
129
129
|
return (await import("@templatical/media-library")).MediaLibraryModal;
|
|
130
130
|
} catch {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Ot as e, c as t, d as n, j as r, k as i, kt as a, l as o, r as s, rt as c, s as l, u, v as d } from "./vue.runtime.esm-bundler-D9JUcKrV.js";
|
|
2
|
-
import "./useEditorCore-
|
|
2
|
+
import "./useEditorCore-DdkQuTHl.js";
|
|
3
3
|
import { t as f } from "./createLucideIcon-Bvw1Zx56.js";
|
|
4
|
-
import { n as p } from "./useCloudI18n-
|
|
4
|
+
import { n as p } from "./useCloudI18n-BKoiYsWZ.js";
|
|
5
5
|
import { t as m } from "./readableTextColor-f8Kykfnh.js";
|
|
6
6
|
var h = f("wifi-off", [
|
|
7
7
|
["path", {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Dt as e, Ot as t, S as n, X as r, c as i, d as a, g as o, i as s, j as c, k as l, l as ee, r as te, rt as u, s as d, u as f, v as p, z as ne } from "./vue.runtime.esm-bundler-D9JUcKrV.js";
|
|
2
2
|
import { c as re, s as m, t as ie } from "./runtime-dom.esm-bundler-BuG03jBM.js";
|
|
3
3
|
import { t as ae } from "./dist-dNiknO7j.js";
|
|
4
|
-
import {
|
|
5
|
-
import { t as le } from "./useI18n-
|
|
6
|
-
import { a as ue, i as h, n as de, r as g, t as fe } from "./usePopoverPosition-
|
|
4
|
+
import { K as oe, U as se, u as ce } from "./keys-C3P1yxnr.js";
|
|
5
|
+
import { t as le } from "./useI18n-CL6RfPzK.js";
|
|
6
|
+
import { a as ue, i as h, n as de, r as g, t as fe } from "./usePopoverPosition-CWxaIWd3.js";
|
|
7
7
|
import { t as _ } from "./x-DJOd1hS4.js";
|
|
8
8
|
import { u as v } from "./styleConstants-C_YAPdQS.js";
|
|
9
9
|
//#region ../../node_modules/.pnpm/vanilla-colorful@0.7.2/node_modules/vanilla-colorful/lib/utils/math.js
|
|
@@ -351,7 +351,7 @@ var ge = [
|
|
|
351
351
|
function Y() {
|
|
352
352
|
x("update:modelValue", "");
|
|
353
353
|
}
|
|
354
|
-
let X = de(), { toLocal: Z } = fe(), Q = n(
|
|
354
|
+
let X = de(), { toLocal: Z } = fe(), Q = n(se, null), pe = n(oe, null), $ = r({
|
|
355
355
|
top: 0,
|
|
356
356
|
left: 0
|
|
357
357
|
});
|
|
@@ -426,7 +426,7 @@ var ge = [
|
|
|
426
426
|
ref_key: "popoverRef",
|
|
427
427
|
ref: w,
|
|
428
428
|
"data-tpl-theme": u(pe),
|
|
429
|
-
class: "tpl-color-popover tpl:absolute tpl:
|
|
429
|
+
class: "tpl-color-popover tpl:absolute tpl:rounded-[var(--tpl-radius)] tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:p-3 tpl:shadow-[var(--tpl-shadow-lg)]",
|
|
430
430
|
style: t({
|
|
431
431
|
top: `${$.value.top}px`,
|
|
432
432
|
left: `${$.value.left}px`,
|
|
@@ -5,7 +5,7 @@ var o = /* @__PURE__ */ a({
|
|
|
5
5
|
__name: "CommentsPanel",
|
|
6
6
|
props: { feature: {} },
|
|
7
7
|
setup(a) {
|
|
8
|
-
let o = e(() => import("./CommentsSidebar-
|
|
8
|
+
let o = e(() => import("./CommentsSidebar-CL_tffzT.js"));
|
|
9
9
|
return (e, s) => a.feature.isOpen.value ? (t(), n(r(o), {
|
|
10
10
|
key: 0,
|
|
11
11
|
visible: a.feature.isOpen.value,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { B as e, Dt as t, L as n, Ot as r, T as i, X as a, c as o, d as s, g as c, h as ee, j as l, k as u, kt as d, l as f, r as p, rt as m, s as h, u as g, v as _, z as v } from "./vue.runtime.esm-bundler-D9JUcKrV.js";
|
|
2
2
|
import { a as y, t as b } from "./runtime-dom.esm-bundler-BuG03jBM.js";
|
|
3
|
-
import {
|
|
4
|
-
import { t as re } from "./useI18n-
|
|
3
|
+
import { J as te, h as ne } from "./keys-C3P1yxnr.js";
|
|
4
|
+
import { t as re } from "./useI18n-CL6RfPzK.js";
|
|
5
5
|
import { t as x } from "./createLucideIcon-Bvw1Zx56.js";
|
|
6
6
|
import { t as ie } from "./check-JK8Uacq0.js";
|
|
7
7
|
import { t as ae } from "./chevron-down-a-fb_Ijn.js";
|
|
@@ -31,7 +31,7 @@ var ce = x("circle-check", [["circle", {
|
|
|
31
31
|
}]]), ue = {
|
|
32
32
|
key: 0,
|
|
33
33
|
"data-testid": "comments-sidebar",
|
|
34
|
-
class: "tpl-comments-sidebar tpl:absolute tpl:top-14 tpl:right-0 tpl:bottom-0 tpl:
|
|
34
|
+
class: "tpl-comments-sidebar tpl:absolute tpl:top-14 tpl:right-0 tpl:bottom-0 tpl:flex tpl:w-[360px] tpl:flex-col tpl:border-l tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-elevated)]"
|
|
35
35
|
}, de = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3" }, fe = { class: "tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text)]" }, pe = {
|
|
36
36
|
key: 0,
|
|
37
37
|
class: "tpl:ml-1 tpl:inline-flex tpl:size-5 tpl:items-center tpl:justify-center tpl:rounded-full tpl:text-[10px] tpl:font-semibold tpl:bg-[var(--tpl-primary)] tpl:text-[var(--tpl-on-primary)]"
|
|
@@ -476,6 +476,6 @@ var ce = x("circle-check", [["circle", {
|
|
|
476
476
|
_: 1
|
|
477
477
|
}));
|
|
478
478
|
}
|
|
479
|
-
}), [["__scopeId", "data-v-
|
|
479
|
+
}), [["__scopeId", "data-v-3692da54"]]);
|
|
480
480
|
//#endregion
|
|
481
481
|
export { k as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Ot as e, X as t, c as n, d as r, j as i, k as a, kt as o, r as s, rt as c, s as l, u, v as d } from "./vue.runtime.esm-bundler-D9JUcKrV.js";
|
|
2
2
|
import { p as f } from "./dist-heatwAdo.js";
|
|
3
|
-
import { t as p } from "./useI18n-
|
|
3
|
+
import { t as p } from "./useI18n-CL6RfPzK.js";
|
|
4
4
|
//#region src/components/blocks/CountdownBlock.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var m = {
|
|
6
6
|
key: 0,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Dt as e, c as t, d as n, g as r, j as i, k as a, kt as o, l as s, r as c, rt as l, s as u, v as d, z as f } from "./vue.runtime.esm-bundler-D9JUcKrV.js";
|
|
2
|
-
import { t as p } from "./useI18n-
|
|
2
|
+
import { t as p } from "./useI18n-CL6RfPzK.js";
|
|
3
3
|
import { p as m } from "./styleConstants-C_YAPdQS.js";
|
|
4
|
-
import { t as h } from "./ColorPicker-
|
|
4
|
+
import { t as h } from "./ColorPicker-C6EOwtHC.js";
|
|
5
5
|
import { i as g, n as _, r as v, t as y } from "./FieldRow-BWt7ECqo.js";
|
|
6
6
|
//#region src/components/toolbar/CountdownToolbar.vue?vue&type=script&setup=true&lang.ts
|
|
7
7
|
var b = ["value"], x = ["value"], S = ["value"], C = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-2" }, w = ["value"], T = { value: "" }, E = ["value"], D = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-3" }, O = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-3" }, k = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-2" }, A = [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { B as e, Dt as t, E as n, L as r, Ot as i, X as a, c as o, d as s, g as c, h as l, k as u, kt as d, l as ee, rt as f, s as te, u as p, v as m, z as ne } from "./vue.runtime.esm-bundler-D9JUcKrV.js";
|
|
2
2
|
import { a as re, t as ie } from "./runtime-dom.esm-bundler-BuG03jBM.js";
|
|
3
|
-
import {
|
|
3
|
+
import { J as h, h as ae, i as oe } from "./keys-C3P1yxnr.js";
|
|
4
4
|
import "./timeouts-DHPZQ0G3.js";
|
|
5
5
|
import { t as g } from "./createLucideIcon-Bvw1Zx56.js";
|
|
6
6
|
import { t as se } from "./circle-alert-CJDW5LZo.js";
|
|
@@ -9,7 +9,7 @@ import { t as ce } from "./upload-DZu1adQz.js";
|
|
|
9
9
|
import { t as v } from "./x-DJOd1hS4.js";
|
|
10
10
|
import { t as le } from "./LoadingTrack-SQXoZVf2.js";
|
|
11
11
|
import { t as y } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
12
|
-
import { n as ue } from "./useCloudI18n-
|
|
12
|
+
import { n as ue } from "./useCloudI18n-BKoiYsWZ.js";
|
|
13
13
|
import { g as de } from "./cloud-BMzRKCbk.js";
|
|
14
14
|
var fe = g("file-image", [
|
|
15
15
|
["path", {
|
|
@@ -53,7 +53,7 @@ var fe = g("file-image", [
|
|
|
53
53
|
}]
|
|
54
54
|
]), pe = {
|
|
55
55
|
key: 0,
|
|
56
|
-
class: "tpl-design-sidebar tpl:absolute tpl:top-14 tpl:right-0 tpl:bottom-0 tpl:
|
|
56
|
+
class: "tpl-design-sidebar tpl:absolute tpl:top-14 tpl:right-0 tpl:bottom-0 tpl:flex tpl:w-[360px] tpl:flex-col tpl:border-l tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-elevated)]"
|
|
57
57
|
}, me = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3" }, he = { class: "tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-primary)]" }, ge = { class: "tpl:flex-1 tpl:overflow-y-auto tpl:p-4" }, x = {
|
|
58
58
|
key: 0,
|
|
59
59
|
class: "tpl:flex tpl:h-full tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-3 tpl:text-center"
|
|
@@ -260,6 +260,6 @@ var fe = g("file-image", [
|
|
|
260
260
|
_: 1
|
|
261
261
|
}));
|
|
262
262
|
}
|
|
263
|
-
}), [["__scopeId", "data-v-
|
|
263
|
+
}), [["__scopeId", "data-v-d72bc7be"]]);
|
|
264
264
|
//#endregion
|
|
265
265
|
export { R as default };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Dt as e, P as t, S as n, c as r, d as i, g as a, h as o, j as s, k as c, kt as l, l as u, r as d, rt as f, s as p, u as m, v as h } from "./vue.runtime.esm-bundler-D9JUcKrV.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as v } from "./useI18n-
|
|
2
|
+
import { V as g, h as _ } from "./keys-C3P1yxnr.js";
|
|
3
|
+
import { t as v } from "./useI18n-CL6RfPzK.js";
|
|
4
4
|
import { t as y } from "./createLucideIcon-Bvw1Zx56.js";
|
|
5
5
|
import { t as b } from "./circle-alert-CJDW5LZo.js";
|
|
6
6
|
import { t as x } from "./info-DybAwcA3.js";
|
|
7
|
-
import { n as S, t as C } from "./useScrollToBlock-
|
|
7
|
+
import { n as S, t as C } from "./useScrollToBlock-CdI8fGqt.js";
|
|
8
8
|
import { t as w } from "./triangle-alert-DxnFj4-B.js";
|
|
9
9
|
var T = y("arrow-right", [["path", {
|
|
10
10
|
d: "M5 12h14",
|
|
@@ -27,7 +27,7 @@ var T = y("arrow-right", [["path", {
|
|
|
27
27
|
}, F = { class: "tpl:m-0 tpl:mb-2 tpl:text-xs tpl:text-[var(--tpl-text)]" }, I = { class: "tpl:m-0 tpl:mb-2 tpl:font-mono tpl:text-[10px] tpl:text-[var(--tpl-text-dim)]" }, L = { class: "tpl:flex tpl:gap-1.5" }, R = ["onClick"], z = ["title", "onClick"], B = /* @__PURE__ */ h({
|
|
28
28
|
__name: "IssuesPanel",
|
|
29
29
|
setup(h) {
|
|
30
|
-
let { t: y, format: B } = v(), V = n(
|
|
30
|
+
let { t: y, format: B } = v(), V = n(g, null), H = n(_, null), U = C(), W = p(() => (V?.issues.value ?? []).filter((e) => e.severity === "error")), G = p(() => (V?.issues.value ?? []).filter((e) => e.severity === "warning")), K = p(() => (V?.issues.value ?? []).filter((e) => e.severity === "info")), q = p(() => W.value.length + G.value.length + K.value.length);
|
|
31
31
|
function J(e) {
|
|
32
32
|
H && e.blockId && (H.selectBlock(e.blockId), U(e.blockId));
|
|
33
33
|
}
|