@templatical/editor 0.16.0 → 0.16.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-B-k_Sdas.js → AiChatSidebar-EaPCeDXr.js} +14 -14
- package/dist/{AiFeatureMenu-B5_IKOlI.js → AiFeatureMenu-Rb8G3EBo.js} +7 -7
- package/dist/{BlockIssueBadge-B3xVgMTh.js → BlockIssueBadge-CZYgn-qg.js} +5 -5
- package/dist/{CloudEditor-BUJk4vXS.js → CloudEditor-D88gLBXp.js} +24 -24
- package/dist/{CollaboratorBar-BAUQfXUk.js → CollaboratorBar-dxCD8jSi.js} +4 -4
- package/dist/ColorPicker-CAgMCX3A.js +442 -0
- package/dist/{CommentsSidebar-D_tSGvTX.js → CommentsSidebar-DDKiFsSq.js} +13 -13
- package/dist/{CountdownBlock-apiYUhkQ.js → CountdownBlock-173fiO5Z.js} +3 -3
- package/dist/{CountdownToolbar-CS0axcjz.js → CountdownToolbar-8XVTOuGX.js} +4 -4
- package/dist/{DesignReferenceSidebar-BYQcuaL4.js → DesignReferenceSidebar-D6TfC176.js} +11 -11
- package/dist/{IssuesPanel-CR1MPaDE.js → IssuesPanel-CQQipLQP.js} +8 -8
- package/dist/{LoadingTrack-DsecR8Rw.js → LoadingTrack-KIcREPlS.js} +1 -1
- package/dist/{MergeTagSuggestion-DLVykS0K.js → MergeTagSuggestion-DrT3LiZ4.js} +4 -4
- package/dist/{ModuleBrowserModal-BzDuagt5.js → ModuleBrowserModal-l4_RCC8m.js} +11 -11
- package/dist/{ModulePreviewCanvas-CK11BX4i.js → ModulePreviewCanvas-BqYAr4fz.js} +3 -3
- package/dist/NumberWithSuffix-Di-cDy_m.js +89 -0
- package/dist/{ParagraphEditor-fg9Ljy_Z.js → ParagraphEditor-DIQ1jmSP.js} +230 -195
- package/dist/{RichTextEditorContent-BqLHIZY7.js → RichTextEditorContent-DkTJ6KK8.js} +56 -45
- package/dist/{SaveModuleDialog-D27ufH5q.js → SaveModuleDialog-DPo3Raon.js} +8 -8
- package/dist/{SnapshotHistory-Cymqkk9_.js → SnapshotHistory-m7brKV7C.js} +10 -10
- package/dist/{TemplateScoringPanel-CZ62rGHz.js → TemplateScoringPanel-C8VOC6gn.js} +15 -15
- package/dist/{TestEmailModal-BIvdHidU.js → TestEmailModal-BE9sFEIl.js} +6 -6
- package/dist/{TitleEditor-D0a4NdOn.js → TitleEditor-BATN-k-Q.js} +38 -35
- package/dist/{TplModal-dYXt3vyd.js → TplModal-DHBcZ1gq.js} +5 -5
- package/dist/{blockTypeIcons-JSBvsa0M.js → blockTypeIcons-wRchKKx0.js} +7 -7
- package/dist/bundle-stats.json +6 -6
- package/dist/{ca-C58VqAgo.js → ca-B3eR47lE.js} +2 -1
- package/dist/cdn/chunks/{AiFeatureMenu-B6V5CzCc.js → AiFeatureMenu-W7VQFAwq.js} +6 -6
- package/dist/cdn/chunks/{AiFeatureMenu-B6V5CzCc.js.map → AiFeatureMenu-W7VQFAwq.js.map} +1 -1
- package/dist/cdn/chunks/{BlockIssueBadge-C6Xpl1KK.js → BlockIssueBadge-ww2vNIfJ.js} +5 -5
- package/dist/cdn/chunks/{BlockIssueBadge-C6Xpl1KK.js.map → BlockIssueBadge-ww2vNIfJ.js.map} +1 -1
- package/dist/cdn/chunks/{CloudEditor-C-npgK-l.js → CloudEditor-BVSJ1kvB.js} +161 -161
- package/dist/cdn/chunks/{CloudEditor-C-npgK-l.js.map → CloudEditor-BVSJ1kvB.js.map} +1 -1
- package/dist/cdn/chunks/{CollaboratorBar-BSKXgw9D.js → CollaboratorBar-BFrAua9a.js} +4 -4
- package/dist/cdn/chunks/{CollaboratorBar-BSKXgw9D.js.map → CollaboratorBar-BFrAua9a.js.map} +1 -1
- package/dist/cdn/chunks/ColorPicker-DmxMDn-t.js +439 -0
- package/dist/cdn/chunks/ColorPicker-DmxMDn-t.js.map +1 -0
- package/dist/cdn/chunks/{CountdownBlock-Y-nycxv2.js → CountdownBlock-MC-mhtQD.js} +3 -3
- package/dist/cdn/chunks/{CountdownBlock-Y-nycxv2.js.map → CountdownBlock-MC-mhtQD.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownToolbar-9LqnhGyh.js → CountdownToolbar-dXyr7tz-.js} +5 -5
- package/dist/cdn/chunks/{CountdownToolbar-9LqnhGyh.js.map → CountdownToolbar-dXyr7tz-.js.map} +1 -1
- package/dist/cdn/chunks/{IssuesPanel-BYfGf1rC.js → IssuesPanel-CTxSgViL.js} +8 -8
- package/dist/cdn/chunks/{IssuesPanel-BYfGf1rC.js.map → IssuesPanel-CTxSgViL.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagSuggestion-DQzKlLH7.js → MergeTagSuggestion-jesxS7An.js} +3 -3
- package/dist/cdn/chunks/{MergeTagSuggestion-DQzKlLH7.js.map → MergeTagSuggestion-jesxS7An.js.map} +1 -1
- package/dist/cdn/chunks/{ModuleBrowserModal-EzKgW5TG.js → ModuleBrowserModal-B5sCsrud.js} +9 -9
- package/dist/cdn/chunks/{ModuleBrowserModal-EzKgW5TG.js.map → ModuleBrowserModal-B5sCsrud.js.map} +1 -1
- package/dist/cdn/chunks/{ModulePreviewCanvas-DxbSzXm8.js → ModulePreviewCanvas-DGTGo8kg.js} +11 -11
- package/dist/cdn/chunks/{ModulePreviewCanvas-DxbSzXm8.js.map → ModulePreviewCanvas-DGTGo8kg.js.map} +1 -1
- package/dist/cdn/chunks/NumberWithSuffix-tAHfui6k.js +91 -0
- package/dist/cdn/chunks/NumberWithSuffix-tAHfui6k.js.map +1 -0
- package/dist/cdn/chunks/{ParagraphEditor-CJNgRMhw.js → ParagraphEditor-CB5FGRs3.js} +213 -179
- package/dist/cdn/chunks/ParagraphEditor-CB5FGRs3.js.map +1 -0
- package/dist/cdn/chunks/{RichTextEditorContent-Cebdzomd.js → RichTextEditorContent-CPelbtck.js} +53 -42
- package/dist/cdn/chunks/RichTextEditorContent-CPelbtck.js.map +1 -0
- package/dist/cdn/chunks/{SaveModuleDialog-Cufwqoln.js → SaveModuleDialog-7f9uUUEC.js} +6 -6
- package/dist/cdn/chunks/{SaveModuleDialog-Cufwqoln.js.map → SaveModuleDialog-7f9uUUEC.js.map} +1 -1
- package/dist/cdn/chunks/{TitleEditor-7BhmKL-_.js → TitleEditor-C0mYpgs4.js} +46 -43
- package/dist/cdn/chunks/TitleEditor-C0mYpgs4.js.map +1 -0
- package/dist/cdn/chunks/{blockTypeIcons-d4Sb61H-.js → blockTypeIcons-BtxaUtlx.js} +5 -5
- package/dist/cdn/chunks/{blockTypeIcons-d4Sb61H-.js.map → blockTypeIcons-BtxaUtlx.js.map} +1 -1
- package/dist/cdn/chunks/{ca-C58VqAgo.js → ca-B3eR47lE.js} +3 -2
- package/dist/cdn/chunks/ca-B3eR47lE.js.map +1 -0
- package/dist/cdn/chunks/{de-C0sMmfic.js → de-Cy8FB-Ii.js} +3 -2
- package/dist/cdn/chunks/de-Cy8FB-Ii.js.map +1 -0
- package/dist/cdn/chunks/{draggable-kG-D5Xsm.js → draggable-D840DIZB.js} +52 -39
- package/dist/cdn/chunks/draggable-D840DIZB.js.map +1 -0
- package/dist/cdn/chunks/{en-CsGBTBOf.js → en-Bu-zS_5o.js} +3 -2
- package/dist/cdn/chunks/en-Bu-zS_5o.js.map +1 -0
- package/dist/cdn/chunks/{es-DgjbcPIu.js → es-CD3ZD6hK.js} +3 -2
- package/dist/cdn/chunks/es-CD3ZD6hK.js.map +1 -0
- package/dist/cdn/chunks/{extensions-BeAsz_mp.js → extensions-BJ7vaBol.js} +28 -28
- package/dist/cdn/chunks/{extensions-BeAsz_mp.js.map → extensions-BJ7vaBol.js.map} +1 -1
- package/dist/cdn/chunks/{features-DO71hPJr.js → features-CgbSSCgv.js} +589 -553
- package/dist/cdn/chunks/features-CgbSSCgv.js.map +1 -0
- package/dist/cdn/chunks/{icons-BfP1cRNb.js → icons-Dlx5MT1V.js} +2 -2
- package/dist/cdn/chunks/{icons-BfP1cRNb.js.map → icons-Dlx5MT1V.js.map} +1 -1
- package/dist/cdn/chunks/{media-library-0S3e0i8G.js → media-library-BMlykZGq.js} +104 -104
- package/dist/cdn/chunks/{media-library-0S3e0i8G.js.map → media-library-BMlykZGq.js.map} +1 -1
- package/dist/cdn/chunks/{pt-BR-DXaP5lMJ.js → pt-BR-CgICL-CQ.js} +3 -2
- package/dist/cdn/chunks/pt-BR-CgICL-CQ.js.map +1 -0
- package/dist/cdn/chunks/quality-DsVgXk_j.js +2180 -0
- package/dist/cdn/chunks/{quality-B6V4R_df.js.map → quality-DsVgXk_j.js.map} +1 -1
- package/dist/cdn/chunks/{renderer-Dhn1J4H4.js → renderer-DPvEtVGO.js} +17 -17
- package/dist/cdn/chunks/{renderer-Dhn1J4H4.js.map → renderer-DPvEtVGO.js.map} +1 -1
- package/dist/cdn/chunks/{src-DoKjbqU2.js → src-CAdirukY.js} +5 -5
- package/dist/cdn/chunks/{src-DoKjbqU2.js.map → src-CAdirukY.js.map} +1 -1
- package/dist/cdn/chunks/{styles-CSqligXJ.js → styles-D7u4vCpH.js} +820 -820
- package/dist/cdn/chunks/{styles-CSqligXJ.js.map → styles-D7u4vCpH.js.map} +1 -1
- package/dist/cdn/chunks/{tiptap-DVHUKGZf.js → tiptap-zpXk5mN4.js} +1131 -1134
- package/dist/cdn/chunks/{tiptap-DVHUKGZf.js.map → tiptap-zpXk5mN4.js.map} +1 -1
- package/dist/cdn/editor.js +74 -74
- package/dist/cdn/editor.js.map +1 -1
- package/dist/{check-rl7ok6uJ.js → check-D1zYtCPK.js} +1 -1
- package/dist/{chevron-down-BKe__NOD.js → chevron-down-ByXpufZD.js} +1 -1
- package/dist/{circle-alert-C8xmpMsK.js → circle-alert-CjcAORUw.js} +1 -1
- package/dist/{clock-BW4JuDCN.js → clock-5lWLadUn.js} +1 -1
- package/dist/{cloud-CFpaFRCV.js → cloud-BogxOeZu.js} +1 -1
- package/dist/{createLucideIcon-Dx-EjR9r.js → createLucideIcon-Bh9xOmlW.js} +3 -3
- package/dist/{de-C0sMmfic.js → de-Cy8FB-Ii.js} +2 -1
- package/dist/dist-BE9m_i60.js +5 -0
- package/dist/{dist-C5-0GG3g.js → dist-BPPeDw62.js} +2 -2
- package/dist/{dist-DEcNpSJi.js → dist-BReUTadj.js} +4 -4
- package/dist/dist-BXR1aBJV.js +5 -0
- package/dist/{dist-r_2rJCMg.js → dist-Bm07Z3Es.js} +2 -2
- package/dist/{dist-BEWiuOMi.js → dist-CFOQvhSC.js} +3 -3
- package/dist/{dist-Ci5GHd96.js → dist-CHLoeloJ.js} +2 -2
- package/dist/{dist-0VHbLR6h.js → dist-D1WmF8BF.js} +2 -2
- package/dist/{dist-DrlHbc8g.js → dist-D9g4CSnm.js} +1 -1
- package/dist/{dist-Drm7i-yw.js → dist-DGEaAAIb.js} +2 -2
- package/dist/{dist-CTT6WYJ6.js → dist-DYv_Pttj.js} +2 -2
- package/dist/{dist-Dsoq4knU.js → dist-DcKlLQ8d.js} +2 -2
- package/dist/{dist-D_-AsMP4.js → dist-DhY2di4U.js} +2 -2
- package/dist/{dist-FVawx7ou.js → dist-i_Z7t67A.js} +260 -263
- package/dist/{en-CsGBTBOf.js → en-Bu-zS_5o.js} +2 -1
- package/dist/{es-DgjbcPIu.js → es-CD3ZD6hK.js} +2 -1
- package/dist/{extensions-3jhgwhV-.js → extensions-B2poxDIo.js} +7 -7
- package/dist/{image-up-BwBCmQ4P.js → image-up-Bj_nes3f.js} +1 -1
- package/dist/{info-TCn7uWR5.js → info-BhSQCxBV.js} +1 -1
- package/dist/{keys-Cv8-8GsD.js → keys-BbDgCU6K.js} +1 -1
- package/dist/{list-checks-CSrOWNgq.js → list-checks-CgxyUg7i.js} +1 -1
- package/dist/{loader-circle-BLmicnPG.js → loader-circle-DFU0HPAa.js} +1 -1
- package/dist/{message-circle-C9hHMQCI.js → message-circle-BEBsCHnk.js} +1 -1
- package/dist/{pt-BR-DXaP5lMJ.js → pt-BR-CgICL-CQ.js} +2 -1
- package/dist/{refresh-cw-D1JQ1LNa.js → refresh-cw--lvWGy0_.js} +1 -1
- package/dist/{runtime-dom.esm-bundler-BzuoCyNp.js → runtime-dom.esm-bundler-GdMI8WqG.js} +6 -7
- package/dist/{scan-line-DgijVq9y.js → scan-line-QgyDIgn_.js} +1 -1
- package/dist/{send-DjPdq69F.js → send-BMyisUim.js} +1 -1
- package/dist/{shield-check-Bqluu8FS.js → shield-check-C49M20le.js} +1 -1
- package/dist/{sparkles-M4azPVSP.js → sparkles-DV7Dman6.js} +1 -1
- package/dist/{styles-5sGbDIA2.js → styles-B-yhoJnH.js} +78 -78
- package/dist/templatical-editor.js +61 -61
- package/dist/{text-align-start-CMya5pCQ.js → text-align-start-BMU70uAm.js} +1 -1
- package/dist/{trash-2-C-81rkLS.js → trash-2-B6M659Ey.js} +1 -1
- package/dist/{triangle-alert-BuRWnynk.js → triangle-alert-D1lzx6ds.js} +1 -1
- package/dist/{upload-CWBIoLd4.js → upload-3A1oZtOR.js} +1 -1
- package/dist/{useAliveFlag-CECL_OUb.js → useAliveFlag-C43EhZFY.js} +1 -1
- package/dist/{useCloudI18n-AKCy98qD.js → useCloudI18n-WbfVWq5k.js} +2 -2
- package/dist/{useEditorCore-AQ0BN1ug.js → useEditorCore-CV1ct_17.js} +616 -580
- package/dist/{useI18n-C-TDeJBt.js → useI18n-eR1yVW0v.js} +2 -2
- package/dist/{useMergeTag-D0aZw7Q5.js → useMergeTag-C3GfSktg.js} +2 -2
- package/dist/usePopoverRoot-C1j0D7cc.js +8 -0
- package/dist/{vue.runtime.esm-bundler-l0XAqiyv.js → vue.runtime.esm-bundler-B0xoGkDv.js} +84 -70
- package/dist/{x-CQSvXnGR.js → x-CG_NV3nP.js} +1 -1
- package/package.json +22 -22
- package/dist/NumberWithSuffix-CrA6quxx.js +0 -445
- package/dist/cdn/chunks/NumberWithSuffix-Conp_Pki.js +0 -444
- package/dist/cdn/chunks/NumberWithSuffix-Conp_Pki.js.map +0 -1
- package/dist/cdn/chunks/ParagraphEditor-CJNgRMhw.js.map +0 -1
- package/dist/cdn/chunks/RichTextEditorContent-Cebdzomd.js.map +0 -1
- package/dist/cdn/chunks/TitleEditor-7BhmKL-_.js.map +0 -1
- package/dist/cdn/chunks/ca-C58VqAgo.js.map +0 -1
- package/dist/cdn/chunks/de-C0sMmfic.js.map +0 -1
- package/dist/cdn/chunks/draggable-kG-D5Xsm.js.map +0 -1
- package/dist/cdn/chunks/en-CsGBTBOf.js.map +0 -1
- package/dist/cdn/chunks/es-DgjbcPIu.js.map +0 -1
- package/dist/cdn/chunks/features-DO71hPJr.js.map +0 -1
- package/dist/cdn/chunks/pt-BR-DXaP5lMJ.js.map +0 -1
- package/dist/cdn/chunks/quality-B6V4R_df.js +0 -2180
- package/dist/cdn/chunks/styleConstants-lGobwiLH.js +0 -57
- package/dist/cdn/chunks/styleConstants-lGobwiLH.js.map +0 -1
- package/dist/dist-DR-6IpV6.js +0 -5
- package/dist/dist-DW8b0TO6.js +0 -5
- package/dist/styleConstants-lGobwiLH.js +0 -55
- package/dist/usePopoverRoot-DKUDnr55.js +0 -8
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Dt as e, Et as t, O as n, Ot as r, R as i, Y as a, _ as o, c as s, d as c, l, nt as u, s as d, u as f, w as p, z as m } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import { a as h, c as g, s as _ } from "./runtime-dom.esm-bundler-
|
|
1
|
+
import { Dt as e, Et as t, O as n, Ot as r, R as i, Y as a, _ as o, c as s, d as c, l, nt as u, s as d, u as f, w as p, z as m } from "./vue.runtime.esm-bundler-B0xoGkDv.js";
|
|
2
|
+
import { a as h, c as g, s as _ } from "./runtime-dom.esm-bundler-GdMI8WqG.js";
|
|
3
3
|
import { T as v, k as y, r as b, w as x } from "./dist-DoRIUsfz.js";
|
|
4
|
-
import { t as S } from "./useI18n-
|
|
5
|
-
import { t as C } from "./useMergeTag-
|
|
6
|
-
import { i as w, o as T, p as E, qt as D, u as O } from "./dist-
|
|
7
|
-
import { i as k, r as A, t as j } from "./MergeTagSuggestion-
|
|
8
|
-
import { n as M, t as N } from "./dist-
|
|
4
|
+
import { t as S } from "./useI18n-eR1yVW0v.js";
|
|
5
|
+
import { t as C } from "./useMergeTag-C3GfSktg.js";
|
|
6
|
+
import { i as w, o as T, p as E, qt as D, u as O } from "./dist-D9g4CSnm.js";
|
|
7
|
+
import { i as k, r as A, t as j } from "./MergeTagSuggestion-DrT3LiZ4.js";
|
|
8
|
+
import { n as M, t as N } from "./dist-BReUTadj.js";
|
|
9
9
|
//#region src/extensions/FontSize.ts
|
|
10
10
|
var P = w.create({
|
|
11
11
|
name: "fontSize",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { x as e } from "./vue.runtime.esm-bundler-
|
|
1
|
+
import { x as e } from "./vue.runtime.esm-bundler-B0xoGkDv.js";
|
|
2
2
|
//#region src/keys.ts
|
|
3
3
|
var t = Symbol("translations"), n = Symbol("editor"), r = Symbol("history"), i = Symbol("blockActions"), a = Symbol("conditionPreview"), o = Symbol("fontsManager"), s = Symbol("themeStyles"), c = Symbol("tplUiTheme"), l = Symbol("blockDefaults"), u = Symbol("blockRegistry"), d = Symbol("customBlockDefinitions"), f = Symbol("paletteBlocks"), p = Symbol("customBlockStylesheets"), m = Symbol("mergeTags"), h = Symbol("mergeTagSyntax"), g = Symbol("onRequestMergeTag"), _ = Symbol("mergeTagAutocomplete"), v = Symbol("mergeTagPicker"), y = Symbol("logicTags"), b = Symbol("logicPairs"), x = Symbol("logicPicker"), S = Symbol("onRequestLogic"), C = Symbol("onRequestMedia"), w = Symbol("displayConditions"), T = Symbol("allowCustomConditions"), E = Symbol("capabilities"), D = Symbol("keyboardReorder"), O = Symbol("templateLint"), k = Symbol("editorRoot"), A = Symbol("popoverRoot"), j = Symbol("authManager"), M = Symbol("aiConfig"), N = Symbol("comments"), P = Symbol("savedModulesHeadless"), F = Symbol("scoring"), I = Symbol("cloudTranslations");
|
|
4
4
|
function L(t, n) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./createLucideIcon-
|
|
1
|
+
import { t as e } from "./createLucideIcon-Bh9xOmlW.js";
|
|
2
2
|
var t = e("message-circle", [["path", {
|
|
3
3
|
d: "M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",
|
|
4
4
|
key: "1sd12s"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./createLucideIcon-
|
|
1
|
+
import { t as e } from "./createLucideIcon-Bh9xOmlW.js";
|
|
2
2
|
var t = e("eye", [["path", {
|
|
3
3
|
d: "M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",
|
|
4
4
|
key: "1nclc0"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Ct as e, F as t, S as n, St as r, Tt as i, _t as a, a as o, at as s, bt as c, ct as l, dt as u, f as d, ft as f, gt as p, ht as m, it as h, kt as ee, lt as g, mt as _, n as v, o as y, ot as te, pt as ne, st as b, t as x, ut as re, vt as S, w as C, wt as w, xt as T, y as ie, yt as E } from "./vue.runtime.esm-bundler-
|
|
2
|
-
//#region ../../node_modules/.pnpm/@vue+runtime-dom@3.5.
|
|
1
|
+
import { Ct as e, F as t, S as n, St as r, Tt as i, _t as a, a as o, at as s, bt as c, ct as l, dt as u, f as d, ft as f, gt as p, ht as m, it as h, kt as ee, lt as g, mt as _, n as v, o as y, ot as te, pt as ne, st as b, t as x, ut as re, vt as S, w as C, wt as w, xt as T, y as ie, yt as E } from "./vue.runtime.esm-bundler-B0xoGkDv.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/@vue+runtime-dom@3.5.40/node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js
|
|
3
3
|
var D = void 0, O = typeof window < "u" && window.trustedTypes;
|
|
4
4
|
if (O) try {
|
|
5
5
|
D = /* @__PURE__ */ O.createPolicy("vue", { createHTML: (e) => e });
|
|
@@ -379,10 +379,9 @@ var Ke = {
|
|
|
379
379
|
}, qe = {
|
|
380
380
|
deep: !0,
|
|
381
381
|
created(e, { value: t, modifiers: { number: n } }, r) {
|
|
382
|
-
|
|
383
|
-
Y(e, "change", () => {
|
|
382
|
+
e._modelValue = t, Y(e, "change", () => {
|
|
384
383
|
let t = Array.prototype.filter.call(e.options, (e) => e.selected).map((e) => n ? i($(e)) : $(e));
|
|
385
|
-
e[Z](e.multiple ?
|
|
384
|
+
e[Z](e.multiple ? E(e._modelValue) ? new Set(t) : t : t[0]), e._assigning = !0, C(() => {
|
|
386
385
|
e._assigning = !1;
|
|
387
386
|
});
|
|
388
387
|
}), e[Z] = X(r);
|
|
@@ -390,8 +389,8 @@ var Ke = {
|
|
|
390
389
|
mounted(e, { value: t }) {
|
|
391
390
|
Je(e, t);
|
|
392
391
|
},
|
|
393
|
-
beforeUpdate(e, t, n) {
|
|
394
|
-
e[Z] = X(n);
|
|
392
|
+
beforeUpdate(e, { value: t }, n) {
|
|
393
|
+
e._modelValue = t, e[Z] = X(n);
|
|
395
394
|
},
|
|
396
395
|
updated(e, { value: t }) {
|
|
397
396
|
e._assigning || Je(e, t);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./createLucideIcon-
|
|
1
|
+
import { t as e } from "./createLucideIcon-Bh9xOmlW.js";
|
|
2
2
|
var t = e("send", [["path", {
|
|
3
3
|
d: "M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",
|
|
4
4
|
key: "1ffxy3"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./createLucideIcon-
|
|
1
|
+
import { t as e } from "./createLucideIcon-Bh9xOmlW.js";
|
|
2
2
|
var t = e("shield-check", [["path", {
|
|
3
3
|
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",
|
|
4
4
|
key: "oel41y"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./createLucideIcon-
|
|
1
|
+
import { t as e } from "./createLucideIcon-Bh9xOmlW.js";
|
|
2
2
|
var t = e("sparkles", [
|
|
3
3
|
["path", {
|
|
4
4
|
d: "M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import { A as e, Dt as t, Et as n, H as r, I as i, K as a, N as o, O as s, Ot as c, R as l, W as u, Y as d, _ as f, c as p, d as m, g as h, h as g, j as _, l as v, m as y, nt as b, q as x, r as S, s as C, u as w, w as T, x as E, y as D, z as O } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import { a as k, c as A, o as j, s as M, t as N } from "./runtime-dom.esm-bundler-
|
|
1
|
+
import { A as e, Dt as t, Et as n, H as r, I as i, K as a, N as o, O as s, Ot as c, R as l, W as u, Y as d, _ as f, c as p, d as m, g as h, h as g, j as _, l as v, m as y, nt as b, q as x, r as S, s as C, u as w, w as T, x as E, y as D, z as O } from "./vue.runtime.esm-bundler-B0xoGkDv.js";
|
|
2
|
+
import { a as k, c as A, o as j, s as M, t as N } from "./runtime-dom.esm-bundler-GdMI8WqG.js";
|
|
3
3
|
import { C as P, D as F, E as I, O as L, k as R, o as z, r as B, s as V, u as ee, w as te } from "./dist-DoRIUsfz.js";
|
|
4
|
-
import {
|
|
5
|
-
import { c as Oe, m as ke } from "./dist-
|
|
6
|
-
import { D as Ae, F as je, I as Me, L as Ne, N as Pe, P as Fe, T as Ie, a as Le, d as Re, f as ze, g as Be, k as Ve, m as He, n as Ue, o as We, p as Ge, s as Ke, u as qe, w as Je, x as Ye } from "./keys-
|
|
7
|
-
import { t as U } from "./useI18n-
|
|
8
|
-
import { t as W } from "./createLucideIcon-
|
|
9
|
-
import { n as Xe, t as Ze } from "./scan-line-
|
|
10
|
-
import { t as Qe } from "./chevron-down-
|
|
11
|
-
import { t as $e } from "./circle-alert-
|
|
12
|
-
import { i as et, n as tt, r as nt, t as rt } from "./blockTypeIcons-
|
|
13
|
-
import { n as it, t as at } from "./refresh-cw
|
|
14
|
-
import { t as ot } from "./image-up-
|
|
15
|
-
import { t as st } from "./info-
|
|
16
|
-
import { t as ct } from "./list-checks-
|
|
17
|
-
import { t as lt } from "./loader-circle-
|
|
18
|
-
import { t as ut } from "./sparkles-
|
|
19
|
-
import { n as dt, r as ft, t as pt } from "./text-align-start-
|
|
20
|
-
import { t as mt } from "./trash-2-
|
|
21
|
-
import { t as ht } from "./upload-
|
|
22
|
-
import { t as gt } from "./x-
|
|
4
|
+
import { C as ne, F as H, I as re, L as ie, M as ae, N as oe, O as se, P as ce, R as le, _ as ue, a as de, c as fe, f as pe, g as me, h as he, i as ge, l as _e, m as ve, n as ye, o as be, p as xe, r as Se, s as Ce, u as we, v as Te, y as Ee, z as De } from "./useEditorCore-CV1ct_17.js";
|
|
5
|
+
import { c as Oe, m as ke } from "./dist-DYv_Pttj.js";
|
|
6
|
+
import { D as Ae, F as je, I as Me, L as Ne, N as Pe, P as Fe, T as Ie, a as Le, d as Re, f as ze, g as Be, k as Ve, m as He, n as Ue, o as We, p as Ge, s as Ke, u as qe, w as Je, x as Ye } from "./keys-BbDgCU6K.js";
|
|
7
|
+
import { t as U } from "./useI18n-eR1yVW0v.js";
|
|
8
|
+
import { t as W } from "./createLucideIcon-Bh9xOmlW.js";
|
|
9
|
+
import { n as Xe, t as Ze } from "./scan-line-QgyDIgn_.js";
|
|
10
|
+
import { t as Qe } from "./chevron-down-ByXpufZD.js";
|
|
11
|
+
import { t as $e } from "./circle-alert-CjcAORUw.js";
|
|
12
|
+
import { i as et, n as tt, r as nt, t as rt } from "./blockTypeIcons-wRchKKx0.js";
|
|
13
|
+
import { n as it, t as at } from "./refresh-cw--lvWGy0_.js";
|
|
14
|
+
import { t as ot } from "./image-up-Bj_nes3f.js";
|
|
15
|
+
import { t as st } from "./info-BhSQCxBV.js";
|
|
16
|
+
import { t as ct } from "./list-checks-CgxyUg7i.js";
|
|
17
|
+
import { t as lt } from "./loader-circle-DFU0HPAa.js";
|
|
18
|
+
import { t as ut } from "./sparkles-DV7Dman6.js";
|
|
19
|
+
import { n as dt, r as ft, t as pt } from "./text-align-start-BMU70uAm.js";
|
|
20
|
+
import { t as mt } from "./trash-2-B6M659Ey.js";
|
|
21
|
+
import { t as ht } from "./upload-3A1oZtOR.js";
|
|
22
|
+
import { t as gt } from "./x-CG_NV3nP.js";
|
|
23
23
|
import { t as _t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
24
|
-
import { t as vt } from "./useCloudI18n-
|
|
25
|
-
import { t as yt } from "./useMergeTag-
|
|
26
|
-
import { t as bt } from "./useAliveFlag-
|
|
24
|
+
import { t as vt } from "./useCloudI18n-WbfVWq5k.js";
|
|
25
|
+
import { t as yt } from "./useMergeTag-C3GfSktg.js";
|
|
26
|
+
import { t as bt } from "./useAliveFlag-C43EhZFY.js";
|
|
27
27
|
import { t as xt } from "./readableTextColor-f8Kykfnh.js";
|
|
28
|
-
import { t as St } from "./CountdownBlock-
|
|
29
|
-
import {
|
|
30
|
-
import { i as
|
|
31
|
-
import { n as At, r as jt } from "./MergeTagSuggestion-
|
|
32
|
-
import { t as Mt } from "./
|
|
33
|
-
import { t as Nt } from "./TplModal-
|
|
28
|
+
import { t as St } from "./CountdownBlock-173fiO5Z.js";
|
|
29
|
+
import { t as Ct } from "./usePopoverRoot-C1j0D7cc.js";
|
|
30
|
+
import { _ as wt, f as G, g as Tt, h as K, i as Et, l as Dt, m as q, n as Ot, p as J, t as Y, u as kt } from "./ColorPicker-CAgMCX3A.js";
|
|
31
|
+
import { n as At, r as jt } from "./MergeTagSuggestion-DrT3LiZ4.js";
|
|
32
|
+
import { n as X, r as Z, t as Mt } from "./NumberWithSuffix-Di-cDy_m.js";
|
|
33
|
+
import { t as Nt } from "./TplModal-DHBcZ1gq.js";
|
|
34
34
|
var Pt = W("circle", [["circle", {
|
|
35
35
|
cx: "12",
|
|
36
36
|
cy: "12",
|
|
@@ -268,20 +268,20 @@ var Yt = ["aria-label"], Xt = {
|
|
|
268
268
|
],
|
|
269
269
|
setup(r, { emit: i }) {
|
|
270
270
|
let a = {
|
|
271
|
-
section:
|
|
272
|
-
title:
|
|
273
|
-
paragraph:
|
|
271
|
+
section: Ce,
|
|
272
|
+
title: _e,
|
|
273
|
+
paragraph: xe,
|
|
274
274
|
image: he,
|
|
275
275
|
button: re,
|
|
276
|
-
divider:
|
|
276
|
+
divider: Te,
|
|
277
277
|
spacer: ge,
|
|
278
278
|
html: ue,
|
|
279
279
|
social: de,
|
|
280
|
-
menu:
|
|
281
|
-
table:
|
|
282
|
-
video:
|
|
280
|
+
menu: ve,
|
|
281
|
+
table: Se,
|
|
282
|
+
video: ye,
|
|
283
283
|
countdown: St,
|
|
284
|
-
custom:
|
|
284
|
+
custom: Ee
|
|
285
285
|
}, u = r, f = i, { t: h } = U(), { t: _ } = vt(), x = Ne(He, "Canvas"), T = E(qe, null), D = E(We, null), k = E(Ke, {}), A = C(() => (k.plan?.hasFeature("ai_generation") ?? !1) && (k.ai?.isFeatureEnabled("chat") ?? !1)), M = C(() => (k.plan?.hasFeature("ai_generation") ?? !1) && (k.ai?.isFeatureEnabled("designToTemplate") ?? !1)), N = C({
|
|
286
286
|
get: () => u.content.blocks,
|
|
287
287
|
set: (e) => {
|
|
@@ -421,7 +421,7 @@ var Yt = ["aria-label"], Xt = {
|
|
|
421
421
|
backgroundColor: H(e.id).color,
|
|
422
422
|
color: b(xt)(H(e.id).color)
|
|
423
423
|
})
|
|
424
|
-
}, [p("span", rn, c(H(e.id).name.charAt(0)), 1), y(" " + c(H(e.id).name), 1)], 4)], 4)) : w("", !0), g(
|
|
424
|
+
}, [p("span", rn, c(H(e.id).name.charAt(0)), 1), y(" " + c(H(e.id).name), 1)], 4)], 4)) : w("", !0), g(we, {
|
|
425
425
|
block: e,
|
|
426
426
|
"is-selected": !r.previewMode && r.selectedBlockId === e.id && !H(e.id),
|
|
427
427
|
viewport: r.viewport,
|
|
@@ -532,11 +532,11 @@ var ln = ["aria-label"], un = {
|
|
|
532
532
|
], N = C(() => {
|
|
533
533
|
let e = M.map((e) => ({
|
|
534
534
|
type: e,
|
|
535
|
-
label:
|
|
535
|
+
label: le(e, r)
|
|
536
536
|
}));
|
|
537
537
|
return x.plan && e.splice(-1, 0, {
|
|
538
538
|
type: "countdown",
|
|
539
|
-
label:
|
|
539
|
+
label: le("countdown", r)
|
|
540
540
|
}), e;
|
|
541
541
|
}), P = C(() => f.map((e) => ({
|
|
542
542
|
type: `custom:${e.type}`,
|
|
@@ -545,7 +545,7 @@ var ln = ["aria-label"], un = {
|
|
|
545
545
|
icon: e.icon
|
|
546
546
|
}))), F = C(() => [...N.value, ...P.value]), I = C(() => cn(F.value, h)), L = C(() => I.value.items), R = /* @__PURE__ */ new Set();
|
|
547
547
|
i(() => I.value.unknown, (e) => {
|
|
548
|
-
for (let t of e) R.has(t) || (R.add(t),
|
|
548
|
+
for (let t of e) R.has(t) || (R.add(t), ie.warn(`config.paletteBlocks: "${t}" is not a built-in or registered custom block (use the "custom:" prefix for custom blocks) — skipping it in the palette.`));
|
|
549
549
|
}, { immediate: !0 });
|
|
550
550
|
function z(e) {
|
|
551
551
|
if (e.isCustom) {
|
|
@@ -618,7 +618,7 @@ var ln = ["aria-label"], un = {
|
|
|
618
618
|
key: 0,
|
|
619
619
|
size: 20,
|
|
620
620
|
"stroke-width": 1.5
|
|
621
|
-
})) : e.isCustom ? (s(), v(
|
|
621
|
+
})) : e.isCustom ? (s(), v(se, {
|
|
622
622
|
key: 1,
|
|
623
623
|
icon: e.icon,
|
|
624
624
|
size: 20
|
|
@@ -686,7 +686,7 @@ var Sn = /* @__PURE__ */ new Set([
|
|
|
686
686
|
"End"
|
|
687
687
|
]);
|
|
688
688
|
function Cn(e) {
|
|
689
|
-
let { elementRef: t, modelValue: n, emit: i, mergeTags: o, syntax: s, enabled: c, onInsert: l } = e, d = F(s), f = I(s), p = c && d !== null && o.length > 0, m = E(je, null), h = At((u(m) ? m.value : m)?.mergeTag?.suggestionEmpty ?? "No matching merge tags",
|
|
689
|
+
let { elementRef: t, modelValue: n, emit: i, mergeTags: o, syntax: s, enabled: c, onInsert: l } = e, d = F(s), f = I(s), p = c && d !== null && o.length > 0, m = E(je, null), h = At((u(m) ? m.value : m)?.mergeTag?.suggestionEmpty ?? "No matching merge tags", Ct()), g = !1;
|
|
690
690
|
r() && a(() => {
|
|
691
691
|
g = !0, h.close();
|
|
692
692
|
});
|
|
@@ -740,7 +740,7 @@ function Cn(e) {
|
|
|
740
740
|
//#endregion
|
|
741
741
|
//#region src/composables/useMergeTagField.ts
|
|
742
742
|
function wn(e) {
|
|
743
|
-
let { modelValue: t, emit: n, elementRef: i } = e, { mergeTags: o, canRequestMergeTag: s, isRequesting: c, isMergeTagValue: l, getMergeTagLabel: u, requestMergeTag: f, syntax: p, autocomplete: m } = yt(), { canInsertLogicTag: h, isRequesting: g, requestLogicTag: _ } =
|
|
743
|
+
let { modelValue: t, emit: n, elementRef: i } = e, { mergeTags: o, canRequestMergeTag: s, isRequesting: c, isMergeTagValue: l, getMergeTagLabel: u, requestMergeTag: f, syntax: p, autocomplete: m } = yt(), { canInsertLogicTag: h, isRequesting: g, requestLogicTag: _ } = ne(), v = d(!1), y = !1, b = !1;
|
|
744
744
|
r() && a(() => {
|
|
745
745
|
b = !0;
|
|
746
746
|
});
|
|
@@ -1050,7 +1050,7 @@ var Tn = ["aria-label", "onKeydown"], En = ["data-tooltip"], Dn = ["data-tooltip
|
|
|
1050
1050
|
}
|
|
1051
1051
|
];
|
|
1052
1052
|
return (i, a) => (s(), m("aside", Gn, [p("div", Kn, [
|
|
1053
|
-
p("div", { class: n(b(
|
|
1053
|
+
p("div", { class: n(b(kt)) }, [
|
|
1054
1054
|
p("div", qn, [g(b(Kt), {
|
|
1055
1055
|
class: "tpl:text-[var(--tpl-text-muted)]",
|
|
1056
1056
|
size: 14,
|
|
@@ -1075,7 +1075,7 @@ var Tn = ["aria-label", "onKeydown"], En = ["data-tooltip"], Dn = ["data-tooltip
|
|
|
1075
1075
|
onInput: a[0] ||= (e) => o("update", { width: Number(e.target.value) })
|
|
1076
1076
|
}, null, 42, Qn), p("span", { class: n(b(q)) }, "px", 2)])])
|
|
1077
1077
|
], 2),
|
|
1078
|
-
p("div", { class: n(b(
|
|
1078
|
+
p("div", { class: n(b(kt)) }, [
|
|
1079
1079
|
p("div", $n, [g(b(Pt), {
|
|
1080
1080
|
class: "tpl:text-[var(--tpl-text-muted)]",
|
|
1081
1081
|
size: 14,
|
|
@@ -1113,7 +1113,7 @@ var Tn = ["aria-label", "onKeydown"], En = ["data-tooltip"], Dn = ["data-tooltip
|
|
|
1113
1113
|
value: e.value
|
|
1114
1114
|
}, c(e.label), 9, cr))), 128))], 42, sr)])
|
|
1115
1115
|
], 2),
|
|
1116
|
-
p("div", { class: n(b(
|
|
1116
|
+
p("div", { class: n(b(kt)) }, [p("div", lr, [g(b(Ft), {
|
|
1117
1117
|
class: "tpl:text-[var(--tpl-text-muted)]",
|
|
1118
1118
|
size: 14,
|
|
1119
1119
|
"stroke-width": 2
|
|
@@ -1131,7 +1131,7 @@ var Tn = ["aria-label", "onKeydown"], En = ["data-tooltip"], Dn = ["data-tooltip
|
|
|
1131
1131
|
}, null, 42, ur),
|
|
1132
1132
|
p("p", dr, c(b(l).templateSettings.contentLocaleHint), 1)
|
|
1133
1133
|
])], 2),
|
|
1134
|
-
p("div", { class: n(b(
|
|
1134
|
+
p("div", { class: n(b(kt)) }, [p("div", fr, [g(b(it), {
|
|
1135
1135
|
class: "tpl:text-[var(--tpl-text-muted)]",
|
|
1136
1136
|
size: 14,
|
|
1137
1137
|
"stroke-width": 2
|
|
@@ -1875,7 +1875,7 @@ var Tn = ["aria-label", "onKeydown"], En = ["data-tooltip"], Dn = ["data-tooltip
|
|
|
1875
1875
|
key: 3,
|
|
1876
1876
|
class: "tpl:mt-2 tpl:flex tpl:w-full tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded-md tpl:border tpl:px-3 tpl:py-2 tpl:text-xs tpl:font-medium tpl:transition-all tpl:duration-150 tpl:border-[var(--tpl-border)] tpl:text-[var(--tpl-primary)] tpl:bg-[var(--tpl-bg)]",
|
|
1877
1877
|
onClick: r[1] ||= (e) => h()
|
|
1878
|
-
}, [g(b(
|
|
1878
|
+
}, [g(b(ae), {
|
|
1879
1879
|
size: 14,
|
|
1880
1880
|
"stroke-width": 1.5
|
|
1881
1881
|
}), y(" " + c(b(a).image.browseMedia), 1)])) : w("", !0)
|
|
@@ -1993,7 +1993,7 @@ var Tn = ["aria-label", "onKeydown"], En = ["data-tooltip"], Dn = ["data-tooltip
|
|
|
1993
1993
|
f.value && !t.readOnly ? (s(), m("button", {
|
|
1994
1994
|
key: 0,
|
|
1995
1995
|
type: "button",
|
|
1996
|
-
class: n(b(
|
|
1996
|
+
class: n(b(Dt)),
|
|
1997
1997
|
onClick: _
|
|
1998
1998
|
}, [g(b(Q), {
|
|
1999
1999
|
size: 14,
|
|
@@ -2162,7 +2162,7 @@ var Ca = {
|
|
|
2162
2162
|
props: { block: {} },
|
|
2163
2163
|
emits: ["updateFieldValues", "updateDataSourceFetched"],
|
|
2164
2164
|
setup(t, { emit: n }) {
|
|
2165
|
-
let r = t, i = n, { t: a } = U(), l = E(Re, []), u = C(() => l.find((e) => e.type === r.block.customType)), { isFetching: d, fetchError: f, fetch: h, hasDataSource: _, needsFetch: x } =
|
|
2165
|
+
let r = t, i = n, { t: a } = U(), l = E(Re, []), u = C(() => l.find((e) => e.type === r.block.customType)), { isFetching: d, fetchError: f, fetch: h, hasDataSource: _, needsFetch: x } = De({
|
|
2166
2166
|
definition: u,
|
|
2167
2167
|
block: C(() => r.block),
|
|
2168
2168
|
onUpdate: (e, t) => {
|
|
@@ -2373,7 +2373,7 @@ var Ca = {
|
|
|
2373
2373
|
"background-color": "var(--tpl-bg)"
|
|
2374
2374
|
},
|
|
2375
2375
|
onClick: A
|
|
2376
|
-
}, [g(b(
|
|
2376
|
+
}, [g(b(ae), {
|
|
2377
2377
|
size: 14,
|
|
2378
2378
|
"stroke-width": 1.5
|
|
2379
2379
|
}), y(" " + c(b(a).image.browseMedia), 1)])) : w("", !0)
|
|
@@ -2542,7 +2542,7 @@ var Ca = {
|
|
|
2542
2542
|
placeholder: b(o).menu.text,
|
|
2543
2543
|
onInput: (e) => _(r.id, "text", e.target.value)
|
|
2544
2544
|
}, null, 42, uo), p("button", {
|
|
2545
|
-
class: n(b(
|
|
2545
|
+
class: n(b(wt)),
|
|
2546
2546
|
title: b(o).menu.removeItem,
|
|
2547
2547
|
onClick: (e) => v(r.id)
|
|
2548
2548
|
}, [g(b(gt), {
|
|
@@ -2574,7 +2574,7 @@ var Ca = {
|
|
|
2574
2574
|
"onUpdate:modelValue": (e) => _(r.id, "color", e)
|
|
2575
2575
|
}, null, 8, ["model-value", "onUpdate:modelValue"])])
|
|
2576
2576
|
]))), 128)), p("button", {
|
|
2577
|
-
class: n(b(
|
|
2577
|
+
class: n(b(Dt)),
|
|
2578
2578
|
onClick: h
|
|
2579
2579
|
}, [g(b(Q), {
|
|
2580
2580
|
size: 14,
|
|
@@ -2594,7 +2594,7 @@ var Ca = {
|
|
|
2594
2594
|
_: 1
|
|
2595
2595
|
}, 8, ["label"]),
|
|
2596
2596
|
g(X, { label: b(o).menu.fontSize }, {
|
|
2597
|
-
default: l(() => [g(
|
|
2597
|
+
default: l(() => [g(Mt, {
|
|
2598
2598
|
"model-value": t.block.fontSize,
|
|
2599
2599
|
min: 8,
|
|
2600
2600
|
max: 48,
|
|
@@ -2642,7 +2642,7 @@ var Ca = {
|
|
|
2642
2642
|
_: 1
|
|
2643
2643
|
}, 8, ["label"]),
|
|
2644
2644
|
g(X, { label: b(o).menu.spacing }, {
|
|
2645
|
-
default: l(() => [g(
|
|
2645
|
+
default: l(() => [g(Mt, {
|
|
2646
2646
|
"model-value": t.block.spacing,
|
|
2647
2647
|
min: 0,
|
|
2648
2648
|
max: 50,
|
|
@@ -2816,11 +2816,11 @@ var Co = { class: "tpl:mb-3.5" }, wo = ["value"], To = ["value"], Eo = { class:
|
|
|
2816
2816
|
class: n([b(G), "tpl:flex-1"]),
|
|
2817
2817
|
value: t.platform,
|
|
2818
2818
|
onChange: (e) => d(t.id, "platform", e.target.value)
|
|
2819
|
-
}, [(s(!0), m(S, null, e(b(
|
|
2819
|
+
}, [(s(!0), m(S, null, e(b(be), (e) => (s(), m("option", {
|
|
2820
2820
|
key: e,
|
|
2821
2821
|
value: e
|
|
2822
2822
|
}, c(b(o).social.platforms[e]), 9, Bo))), 128))], 42, zo), p("button", {
|
|
2823
|
-
class: n(b(
|
|
2823
|
+
class: n(b(wt)),
|
|
2824
2824
|
title: b(o).social.removeIcon,
|
|
2825
2825
|
onClick: (e) => f(t.id)
|
|
2826
2826
|
}, [g(b(gt), {
|
|
@@ -2836,7 +2836,7 @@ var Co = { class: "tpl:mb-3.5" }, wo = ["value"], To = ["value"], Eo = { class:
|
|
|
2836
2836
|
"placeholder",
|
|
2837
2837
|
"onUpdate:modelValue"
|
|
2838
2838
|
])]))), 128)), p("button", {
|
|
2839
|
-
class: n(b(
|
|
2839
|
+
class: n(b(Dt)),
|
|
2840
2840
|
onClick: u
|
|
2841
2841
|
}, [g(b(Q), {
|
|
2842
2842
|
size: 14,
|
|
@@ -3017,7 +3017,7 @@ var Co = { class: "tpl:mb-3.5" }, wo = ["value"], To = ["value"], Eo = { class:
|
|
|
3017
3017
|
}, null, 40, bs), y(" " + c(b(o).table.hasHeaderRow), 1)])]),
|
|
3018
3018
|
t.block.hasHeaderRow ? (s(), m("div", xs, [p("label", { class: n(b(K)) }, c(b(o).table.headerBackgroundColor), 3), g(Y, {
|
|
3019
3019
|
"model-value": t.block.headerBackgroundColor ?? "",
|
|
3020
|
-
"seed-color": b(
|
|
3020
|
+
"seed-color": b(Et),
|
|
3021
3021
|
placeholder: b(o).table.noHeaderBg,
|
|
3022
3022
|
"onUpdate:modelValue": i[3] ||= (e) => u("headerBackgroundColor", e || null)
|
|
3023
3023
|
}, null, 8, [
|
|
@@ -3217,7 +3217,7 @@ var Co = { class: "tpl:mb-3.5" }, wo = ["value"], To = ["value"], Eo = { class:
|
|
|
3217
3217
|
"background-color": "var(--tpl-bg)"
|
|
3218
3218
|
},
|
|
3219
3219
|
onClick: T
|
|
3220
|
-
}, [g(b(
|
|
3220
|
+
}, [g(b(ae), {
|
|
3221
3221
|
size: 14,
|
|
3222
3222
|
"stroke-width": 1.5
|
|
3223
3223
|
}), y(" " + c(b(a).image.browseMedia), 1)])) : w("", !0)
|
|
@@ -3267,9 +3267,9 @@ var Co = { class: "tpl:mb-3.5" }, wo = ["value"], To = ["value"], Eo = { class:
|
|
|
3267
3267
|
"duplicate"
|
|
3268
3268
|
],
|
|
3269
3269
|
setup(e, { emit: t }) {
|
|
3270
|
-
let n = h(() => import("./CountdownToolbar-
|
|
3270
|
+
let n = h(() => import("./CountdownToolbar-8XVTOuGX.js")), r = e, i = t, { t: a } = U(), l = Ne(Be, "Toolbar"), u = E(Re, []), d = C(() => r.block.type), f = C(() => L(r.block)), _ = C(() => {
|
|
3271
3271
|
if (f.value) return u.find((e) => e.type === r.block.customType);
|
|
3272
|
-
}), y = C(() => f.value ? _.value?.name ?? r.block.customType :
|
|
3272
|
+
}), y = C(() => f.value ? _.value?.name ?? r.block.customType : le(d.value, a)), x = l.fonts;
|
|
3273
3273
|
function T(e) {
|
|
3274
3274
|
i("update", e);
|
|
3275
3275
|
}
|
|
@@ -3280,7 +3280,7 @@ var Co = { class: "tpl:mb-3.5" }, wo = ["value"], To = ["value"], Eo = { class:
|
|
|
3280
3280
|
key: 0,
|
|
3281
3281
|
size: 16,
|
|
3282
3282
|
"stroke-width": 1.5
|
|
3283
|
-
})) : f.value ? (s(), v(b(
|
|
3283
|
+
})) : f.value ? (s(), v(b(H), {
|
|
3284
3284
|
key: 1,
|
|
3285
3285
|
size: 16,
|
|
3286
3286
|
"stroke-width": 1.5
|
|
@@ -3288,7 +3288,7 @@ var Co = { class: "tpl:mb-3.5" }, wo = ["value"], To = ["value"], Eo = { class:
|
|
|
3288
3288
|
class: "tpl:flex tpl:size-7 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:duration-150 tpl:hover:bg-[var(--tpl-bg-active)] tpl:hover:text-[var(--tpl-text)]",
|
|
3289
3289
|
title: b(a).toolbar.duplicate,
|
|
3290
3290
|
onClick: r[0] ||= (e) => i("duplicate")
|
|
3291
|
-
}, [g(b(
|
|
3291
|
+
}, [g(b(ce), {
|
|
3292
3292
|
size: 14,
|
|
3293
3293
|
"stroke-width": 2
|
|
3294
3294
|
})], 8, _c), p("button", {
|
|
@@ -3415,7 +3415,7 @@ var Co = { class: "tpl:mb-3.5" }, wo = ["value"], To = ["value"], Eo = { class:
|
|
|
3415
3415
|
"update-settings"
|
|
3416
3416
|
],
|
|
3417
3417
|
setup(e, { emit: r }) {
|
|
3418
|
-
let a = h(() => import("./IssuesPanel-
|
|
3418
|
+
let a = h(() => import("./IssuesPanel-CQQipLQP.js")), o = e, l = r, { t: u } = U(), f = d("content"), _ = E(Pe, null), y = C(() => _ !== null), x = C(() => _?.issues.value.length ?? 0);
|
|
3419
3419
|
function S(e) {
|
|
3420
3420
|
return f.value === e ? "tpl:flex-1 tpl:text-[var(--tpl-primary)]" : "tpl:shrink-0 tpl:text-[var(--tpl-text-muted)] hover:tpl:text-[var(--tpl-text)]";
|
|
3421
3421
|
}
|
|
@@ -3607,7 +3607,7 @@ var Co = { class: "tpl:mb-3.5" }, wo = ["value"], To = ["value"], Eo = { class:
|
|
|
3607
3607
|
key: "eye",
|
|
3608
3608
|
size: 18,
|
|
3609
3609
|
"stroke-width": 1.5
|
|
3610
|
-
})) : (s(), v(b(
|
|
3610
|
+
})) : (s(), v(b(oe), {
|
|
3611
3611
|
key: "eye-off",
|
|
3612
3612
|
size: 18,
|
|
3613
3613
|
"stroke-width": 1.5
|
|
@@ -3795,9 +3795,9 @@ var Co = { class: "tpl:mb-3.5" }, wo = ["value"], To = ["value"], Eo = { class:
|
|
|
3795
3795
|
let t = j.value + e;
|
|
3796
3796
|
j.value = Math.max(0, Math.min(B.value.length - 1, t)), ie();
|
|
3797
3797
|
}
|
|
3798
|
-
let ne = d(null),
|
|
3799
|
-
function
|
|
3800
|
-
|
|
3798
|
+
let ne = d(null), H = d({});
|
|
3799
|
+
function re(e, t) {
|
|
3800
|
+
H.value[e] = t ?? null;
|
|
3801
3801
|
}
|
|
3802
3802
|
function ie() {
|
|
3803
3803
|
T(() => {
|
|
@@ -3907,7 +3907,7 @@ var Co = { class: "tpl:mb-3.5" }, wo = ["value"], To = ["value"], Eo = { class:
|
|
|
3907
3907
|
}, [le.value ? (s(), m("div", cl, c(b(o).mergeTag.picker.empty), 1)) : ue.value ? (s(), m("div", ll, c(b(o).mergeTag.picker.noResults), 1)) : (s(!0), m(S, { key: 2 }, e(z.value, (e, t) => (s(), m(S, { key: t }, [e.kind === "header" ? (s(), m("button", {
|
|
3908
3908
|
key: 0,
|
|
3909
3909
|
ref_for: !0,
|
|
3910
|
-
ref: (t) =>
|
|
3910
|
+
ref: (t) => re(e.group, t),
|
|
3911
3911
|
type: "button",
|
|
3912
3912
|
"aria-expanded": !F(e.group),
|
|
3913
3913
|
"aria-controls": gl,
|
|
@@ -4061,10 +4061,10 @@ var Co = { class: "tpl:mb-3.5" }, wo = ["value"], To = ["value"], Eo = { class:
|
|
|
4061
4061
|
j.value >= e.length && (j.value = Math.max(0, e.length - 1));
|
|
4062
4062
|
});
|
|
4063
4063
|
let ne = d(null);
|
|
4064
|
-
function
|
|
4064
|
+
function H(e) {
|
|
4065
4065
|
a.resolve(e);
|
|
4066
4066
|
}
|
|
4067
|
-
function
|
|
4067
|
+
function re() {
|
|
4068
4068
|
a.resolve(null);
|
|
4069
4069
|
}
|
|
4070
4070
|
function ie(e) {
|
|
@@ -4078,7 +4078,7 @@ var Co = { class: "tpl:mb-3.5" }, wo = ["value"], To = ["value"], Eo = { class:
|
|
|
4078
4078
|
else if (e.key === "Enter") {
|
|
4079
4079
|
e.preventDefault();
|
|
4080
4080
|
let t = V.value[j.value];
|
|
4081
|
-
t &&
|
|
4081
|
+
t && H(t);
|
|
4082
4082
|
}
|
|
4083
4083
|
}
|
|
4084
4084
|
function oe(e) {
|
|
@@ -4089,7 +4089,7 @@ var Co = { class: "tpl:mb-3.5" }, wo = ["value"], To = ["value"], Eo = { class:
|
|
|
4089
4089
|
}
|
|
4090
4090
|
return (r, i) => (s(), v(Nt, {
|
|
4091
4091
|
visible: b(a).isOpen.value,
|
|
4092
|
-
onClose:
|
|
4092
|
+
onClose: re,
|
|
4093
4093
|
onKeydown: ae
|
|
4094
4094
|
}, {
|
|
4095
4095
|
default: l(() => [p("div", {
|
|
@@ -4109,7 +4109,7 @@ var Co = { class: "tpl:mb-3.5" }, wo = ["value"], To = ["value"], Eo = { class:
|
|
|
4109
4109
|
class: "tpl:flex tpl:h-7 tpl:w-7 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:bg-transparent tpl:text-[var(--tpl-text-dim)] tpl:transition-colors tpl:hover:bg-[var(--tpl-bg-hover)] tpl:hover:text-[var(--tpl-text)]",
|
|
4110
4110
|
"aria-label": b(o).logicTag.picker.close,
|
|
4111
4111
|
"data-testid": "logic-picker-close",
|
|
4112
|
-
onClick:
|
|
4112
|
+
onClick: re
|
|
4113
4113
|
}, [g(b(gt), {
|
|
4114
4114
|
size: 16,
|
|
4115
4115
|
"stroke-width": 2
|
|
@@ -4157,7 +4157,7 @@ var Co = { class: "tpl:mb-3.5" }, wo = ["value"], To = ["value"], Eo = { class:
|
|
|
4157
4157
|
class: n(["tpl:flex tpl:w-full tpl:cursor-pointer tpl:flex-col tpl:items-start tpl:gap-0.5 tpl:border-none tpl:px-3 tpl:py-1.5 tpl:text-left tpl:transition-colors", e.index === j.value ? "tpl:bg-[var(--tpl-primary-light)] tpl:text-[var(--tpl-primary)]" : "tpl:bg-transparent tpl:text-[var(--tpl-text)] tpl:hover:bg-[var(--tpl-bg-hover)]"]),
|
|
4158
4158
|
"data-testid": "logic-picker-item",
|
|
4159
4159
|
onMousemove: (t) => j.value = e.index,
|
|
4160
|
-
onClick: (t) =>
|
|
4160
|
+
onClick: (t) => H(e.kind === "tag" ? e.tag : e.pair)
|
|
4161
4161
|
}, [
|
|
4162
4162
|
p("span", jl, [p("span", Ml, c(e.kind === "tag" ? e.tag.label : e.pair.label), 1), e.kind === "tag" ? (s(), m("span", Nl, [g(yl, {
|
|
4163
4163
|
value: e.tag.value,
|