@templatical/editor 0.20.0 → 0.21.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/README.md +1 -0
- package/dist/{AiChatSidebar-ChrE6pUq.js → AiChatSidebar-K_AehWc-.js} +9 -9
- package/dist/{AiFeatureMenu-DkQ9HhQ6.js → AiFeatureMenu-CPdNpHpZ.js} +6 -6
- package/dist/{BlockIssueBadge-B4QjePax.js → BlockIssueBadge-Dmj9rVra.js} +4 -4
- package/dist/{CloudEditor-CfX-aMiV.js → CloudEditor-3a7mqMhe.js} +263 -315
- package/dist/{CollaboratorBar-DTibhQ1j.js → CollaboratorBar-Ds0YZWzV.js} +3 -3
- package/dist/{ColorPicker-4vDYhdGe.js → ColorPicker-s9GHXjZs.js} +4 -4
- package/dist/CommentsSidebar-DvNEdugN.js +435 -0
- package/dist/{CountdownBlock-Bn5w7C-p.js → CountdownBlock-BUHYIAe9.js} +1 -1
- package/dist/{CountdownToolbar-D7yQqnA2.js → CountdownToolbar-DPRcv3Fu.js} +3 -4
- package/dist/{DesignReferenceSidebar-DnO6ZdwS.js → DesignReferenceSidebar-DNmK3dxp.js} +8 -8
- package/dist/{IssuesPanel-X_vkNGrs.js → IssuesPanel-CEnEGFtd.js} +7 -7
- package/dist/{MergeTagSuggestion-DCuaSOPQ.js → MergeTagSuggestion-DMe4rqn0.js} +2 -2
- package/dist/NumberWithSuffix-CCPN_oCh.js +121 -0
- package/dist/{ParagraphEditor-C5ixOIYb.js → ParagraphEditor-CkwBirNl.js} +47 -47
- package/dist/{RichTextEditorContent-DwhDnMsG.js → RichTextEditorContent-FbnWsh46.js} +6 -6
- package/dist/SaveBlockDialog-Cc5BSUBx.js +264 -0
- package/dist/SavedBlockPreviewCanvas-ubttfmKr.js +109 -0
- package/dist/SavedBlocksBrowserModal-LkY_U3lY.js +323 -0
- package/dist/SavedBlocksPanels-CET0zvH6.js +36 -0
- package/dist/SavedBlocksPickBar-poGS4PoI.js +52 -0
- package/dist/{SnapshotHistory-DaVueFv6.js → SnapshotHistory-BvF5IXn1.js} +8 -8
- package/dist/{TemplateScoringPanel-B0UHoTLx.js → TemplateScoringPanel-ifGGGWs5.js} +14 -14
- package/dist/{TestEmailModal-BkauxF7j.js → TestEmailModal-BRaM_eko.js} +4 -4
- package/dist/{TitleEditor-n6WDVDjW.js → TitleEditor-Bhgzh-iQ.js} +11 -11
- package/dist/{TplModal-BDDyvT-C.js → TplModal-BA-Zsg0O.js} +3 -3
- package/dist/{blockTypeIcons-4D0aFXNg.js → blockTypeIcons-B1-Yzp-a.js} +6 -6
- package/dist/bundle-stats.json +8 -8
- package/dist/{cdn/chunks/ca-DbWoy4rG.js → ca-BBgad6y5.js} +50 -5
- package/dist/cdn/chunks/{AiFeatureMenu-CIBHAGSz.js → AiFeatureMenu--PdArSnv.js} +7 -7
- package/dist/cdn/chunks/{AiFeatureMenu-CIBHAGSz.js.map → AiFeatureMenu--PdArSnv.js.map} +1 -1
- package/dist/cdn/chunks/{BlockIssueBadge-CxMiLo3p.js → BlockIssueBadge-DMSd0SIl.js} +5 -5
- package/dist/cdn/chunks/{BlockIssueBadge-CxMiLo3p.js.map → BlockIssueBadge-DMSd0SIl.js.map} +1 -1
- package/dist/cdn/chunks/{CloudEditor-CEa3Xgqh.js → CloudEditor-DnTfI5GU.js} +270 -322
- package/dist/cdn/chunks/CloudEditor-DnTfI5GU.js.map +1 -0
- package/dist/cdn/chunks/{CollaboratorBar-Bk1gD02G.js → CollaboratorBar-CBqd7ldq.js} +3 -3
- package/dist/cdn/chunks/{CollaboratorBar-Bk1gD02G.js.map → CollaboratorBar-CBqd7ldq.js.map} +1 -1
- package/dist/cdn/chunks/{ColorPicker-ll8pynws.js → ColorPicker-DCdWP8YB.js} +161 -161
- package/dist/cdn/chunks/{ColorPicker-ll8pynws.js.map → ColorPicker-DCdWP8YB.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownBlock-eGUE7hhw.js → CountdownBlock-BDnWMAME.js} +4 -4
- package/dist/cdn/chunks/{CountdownBlock-eGUE7hhw.js.map → CountdownBlock-BDnWMAME.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownToolbar-C1bkSjUR.js → CountdownToolbar-BbLoo22S.js} +4 -5
- package/dist/cdn/chunks/{CountdownToolbar-C1bkSjUR.js.map → CountdownToolbar-BbLoo22S.js.map} +1 -1
- package/dist/cdn/chunks/{IssuesPanel-Csasylf_.js → IssuesPanel-CfudrI3T.js} +7 -7
- package/dist/cdn/chunks/{IssuesPanel-Csasylf_.js.map → IssuesPanel-CfudrI3T.js.map} +1 -1
- package/dist/cdn/chunks/{MergeTagSuggestion-BmMmdcRg.js → MergeTagSuggestion-D7TsECll.js} +2 -2
- package/dist/cdn/chunks/{MergeTagSuggestion-BmMmdcRg.js.map → MergeTagSuggestion-D7TsECll.js.map} +1 -1
- package/dist/cdn/chunks/NumberWithSuffix-BmMx9_n_.js +123 -0
- package/dist/cdn/chunks/NumberWithSuffix-BmMx9_n_.js.map +1 -0
- package/dist/cdn/chunks/{ParagraphEditor-v0_XEL-v.js → ParagraphEditor-DPCUSXpx.js} +86 -86
- package/dist/cdn/chunks/{ParagraphEditor-v0_XEL-v.js.map → ParagraphEditor-DPCUSXpx.js.map} +1 -1
- package/dist/cdn/chunks/{RichTextEditorContent-NQExNsaV.js → RichTextEditorContent-B8dOiv_D.js} +5 -5
- package/dist/cdn/chunks/{RichTextEditorContent-NQExNsaV.js.map → RichTextEditorContent-B8dOiv_D.js.map} +1 -1
- package/dist/cdn/chunks/SaveBlockDialog-BY3SMnNV.js +259 -0
- package/dist/cdn/chunks/SaveBlockDialog-BY3SMnNV.js.map +1 -0
- package/dist/cdn/chunks/SavedBlockPreviewCanvas-LpaOcusq.js +110 -0
- package/dist/cdn/chunks/SavedBlockPreviewCanvas-LpaOcusq.js.map +1 -0
- package/dist/cdn/chunks/SavedBlocksBrowserModal-CfIcmyzF.js +318 -0
- package/dist/cdn/chunks/SavedBlocksBrowserModal-CfIcmyzF.js.map +1 -0
- package/dist/cdn/chunks/SavedBlocksPanels-kIowCfh_.js +38 -0
- package/dist/cdn/chunks/SavedBlocksPanels-kIowCfh_.js.map +1 -0
- package/dist/cdn/chunks/SavedBlocksPickBar-WSGe1GiZ.js +52 -0
- package/dist/cdn/chunks/SavedBlocksPickBar-WSGe1GiZ.js.map +1 -0
- package/dist/cdn/chunks/{TitleEditor-CS-_MzYs.js → TitleEditor-iwd-O9sO.js} +11 -11
- package/dist/cdn/chunks/{TitleEditor-CS-_MzYs.js.map → TitleEditor-iwd-O9sO.js.map} +1 -1
- package/dist/cdn/chunks/{blockTypeIcons-B0Hjh42a.js → blockTypeIcons-BYz0fgLz.js} +7 -7
- package/dist/cdn/chunks/{blockTypeIcons-B0Hjh42a.js.map → blockTypeIcons-BYz0fgLz.js.map} +1 -1
- package/dist/{ca-DbWoy4rG.js → cdn/chunks/ca-BBgad6y5.js} +52 -3
- package/dist/cdn/chunks/ca-BBgad6y5.js.map +1 -0
- package/dist/{de-CTYXVU9v.js → cdn/chunks/de-Bw6fB5JU.js} +2 -24
- package/dist/cdn/chunks/{de-CTYXVU9v.js.map → de-Bw6fB5JU.js.map} +1 -1
- package/dist/cdn/chunks/{de-CgGOnerg.js → de-D7WbpFBR.js} +50 -3
- package/dist/cdn/chunks/de-D7WbpFBR.js.map +1 -0
- package/dist/{en-DrUV9xth.js → cdn/chunks/en-BrZ0uGK2.js} +51 -2
- package/dist/cdn/chunks/en-BrZ0uGK2.js.map +1 -0
- package/dist/{en-BtmIaJeb.js → cdn/chunks/en-DAdHJz7h.js} +2 -24
- package/dist/cdn/chunks/{en-BtmIaJeb.js.map → en-DAdHJz7h.js.map} +1 -1
- package/dist/{es-DwbKjU7q.js → cdn/chunks/es-tLSLysPs.js} +51 -2
- package/dist/cdn/chunks/es-tLSLysPs.js.map +1 -0
- package/dist/cdn/chunks/{extensions-Di3hdIRT.js → extensions-DeJh3E9b.js} +26 -26
- package/dist/cdn/chunks/{extensions-Di3hdIRT.js.map → extensions-DeJh3E9b.js.map} +1 -1
- package/dist/cdn/chunks/{features-CLIZ7Q-Y.js → features-pLfGJWIB.js} +1118 -962
- package/dist/cdn/chunks/features-pLfGJWIB.js.map +1 -0
- package/dist/cdn/chunks/{icons-GX40Qm2W.js → icons-FLemooQz.js} +16 -16
- package/dist/cdn/chunks/{icons-GX40Qm2W.js.map → icons-FLemooQz.js.map} +1 -1
- package/dist/cdn/chunks/{media-library-yYAkAagU.js → media-library-mCCZieYO.js} +176 -176
- package/dist/cdn/chunks/{media-library-yYAkAagU.js.map → media-library-mCCZieYO.js.map} +1 -1
- package/dist/cdn/chunks/{pt-BR-Bcc5Tjed.js → pt-BR-BWFokdTU.js} +50 -3
- package/dist/cdn/chunks/pt-BR-BWFokdTU.js.map +1 -0
- package/dist/{pt-BR-B2ZvFlRL.js → cdn/chunks/pt-BR-w2sGzHNX.js} +2 -24
- package/dist/cdn/chunks/{pt-BR-B2ZvFlRL.js.map → pt-BR-w2sGzHNX.js.map} +1 -1
- package/dist/cdn/chunks/quality-BRbHtAk1.js +2180 -0
- package/dist/cdn/chunks/{quality-DffYv9j5.js.map → quality-BRbHtAk1.js.map} +1 -1
- package/dist/cdn/chunks/{renderer-DpBGiXOg.js → renderer-Yg1XhsBN.js} +17 -17
- package/dist/cdn/chunks/{renderer-DpBGiXOg.js.map → renderer-Yg1XhsBN.js.map} +1 -1
- package/dist/cdn/chunks/{src-9K6uFiuK.js → src-BDJeYiVE.js} +33 -33
- package/dist/cdn/chunks/{src-9K6uFiuK.js.map → src-BDJeYiVE.js.map} +1 -1
- package/dist/cdn/chunks/{styles-DHSmjlpX.js → styles-Bp5Jsu9J.js} +1380 -1294
- package/dist/cdn/chunks/styles-Bp5Jsu9J.js.map +1 -0
- package/dist/cdn/chunks/{tiptap-C2indasq.js → tiptap-BMZ-OENR.js} +2012 -1863
- package/dist/cdn/chunks/tiptap-BMZ-OENR.js.map +1 -0
- package/dist/cdn/editor.css +1 -1
- package/dist/cdn/editor.js +123 -114
- package/dist/cdn/editor.js.map +1 -1
- package/dist/{check-Bl4J_tYV.js → check-BpQDKiPz.js} +1 -1
- package/dist/{chevron-down-COEcl2iP.js → chevron-down-j8GrdTyz.js} +1 -1
- package/dist/chevron-up-BACyVhyC.js +7 -0
- package/dist/{circle-alert-CvHi5etc.js → circle-alert-CgtE46ND.js} +1 -1
- package/dist/{clock-CZZw62e8.js → clock-BzKLLW5L.js} +1 -1
- package/dist/{cloud-B-RebwxI.js → cloud-Du7mnkz2.js} +19 -47
- package/dist/{createLucideIcon-_peTZQtY.js → createLucideIcon-JWHwTI6N.js} +2 -2
- package/dist/{cdn/chunks/de-CTYXVU9v.js → de-Bw6fB5JU.js} +0 -26
- package/dist/{de-CgGOnerg.js → de-D7WbpFBR.js} +49 -2
- package/dist/{dist-CgTKuIUN.js → dist-BEpCh2mG.js} +1158 -1125
- package/dist/{dist-Cx7IUM7J.js → dist-BgPYC_8-.js} +14 -6
- package/dist/{dist-BKKo5wPC.js → dist-BkM8A17N.js} +2 -2
- package/dist/{dist-CcX5sLpz.js → dist-BuNDAAVp.js} +361 -256
- package/dist/{dist-COSN3oDJ.js → dist-CBzCU-a-.js} +2 -2
- package/dist/{dist-YSCPD13F.js → dist-CDO52Rxy.js} +2 -2
- package/dist/{dist-Dk5AdwoQ.js → dist-CrjzhIxB.js} +2 -2
- package/dist/{dist-DXAZUjj3.js → dist-CtcgoC_R.js} +2 -2
- package/dist/{dist-D6M5FAY7.js → dist-CuXha2_7.js} +2 -2
- package/dist/dist-CweLDZrs.js +5 -0
- package/dist/dist-DOsdqAEZ.js +5 -0
- package/dist/{dist-8TKf-Jpg.js → dist-DYClLqy8.js} +6 -3
- package/dist/{cdn/chunks/en-DrUV9xth.js → en-BrZ0uGK2.js} +49 -4
- package/dist/{cdn/chunks/en-BtmIaJeb.js → en-DAdHJz7h.js} +0 -26
- package/dist/{cdn/chunks/es-DwbKjU7q.js → es-tLSLysPs.js} +49 -4
- package/dist/{extensions-BCA9pyer.js → extensions-ClY5Sh7S.js} +5 -5
- package/dist/{image-up-D26rNdfX.js → image-up-CQdtq8ge.js} +1 -1
- package/dist/index.d.ts +81 -4
- package/dist/{info-CE3JSTqk.js → info-BUJBXoE6.js} +1 -1
- package/dist/{keys-DFaIbGR8.js → keys-CHPcp-Nz.js} +2 -2
- package/dist/{list-checks-BQsLrtBB.js → list-checks-BGHaCSD5.js} +1 -1
- package/dist/{loader-circle-s9Rh5lLd.js → loader-circle-C-Z6kgI6.js} +1 -1
- package/dist/{message-circle-CI62d690.js → message-circle-CEm5qckV.js} +1 -1
- package/dist/pencil-DdwmkKLb.js +10 -0
- package/dist/{pt-BR-Bcc5Tjed.js → pt-BR-BWFokdTU.js} +49 -2
- package/dist/{cdn/chunks/pt-BR-B2ZvFlRL.js → pt-BR-w2sGzHNX.js} +0 -26
- package/dist/{refresh-cw-DlYfl65Y.js → refresh-cw-maKlg0dl.js} +1 -1
- package/dist/{scan-line-CHadrYVb.js → scan-line-BFgesTOY.js} +1 -1
- package/dist/{send-CbP40otC.js → send-B70aQDrA.js} +1 -1
- package/dist/{shield-check-Bnj9aRoJ.js → shield-check-B7x5OKt5.js} +1 -1
- package/dist/{sparkles-CncWT57a.js → sparkles-DVlm1Ipp.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{styles-DkF_-uX8.js → styles-DIDAJdkj.js} +1237 -1151
- package/dist/templatical-editor.js +134 -125
- package/dist/{text-align-start-B458vzYw.js → text-align-start-Vay3Kvo2.js} +1 -1
- package/dist/{trash-2-DO0yjSU1.js → trash-2-DE8CmxAG.js} +1 -1
- package/dist/{triangle-alert-C18_ima6.js → triangle-alert-Djg6IG8N.js} +1 -1
- package/dist/{upload-DsCd2zTR.js → upload-BwwE0U6G.js} +1 -1
- package/dist/{useCloudI18n-PCDOC2kz.js → useCloudI18n-BmiygEM4.js} +1 -1
- package/dist/{useEditorCore-kKUemYY6.js → useEditorCore-Bd9CA4L_.js} +997 -817
- package/dist/{useI18n-BNMzZTM5.js → useI18n-D2L9Mkik.js} +1 -1
- package/dist/{useMergeTag-DfEY0eK5.js → useMergeTag-BTdDq5DC.js} +1 -1
- package/dist/{usePopoverPosition-F9STHRIr.js → usePopoverPosition-BO2LNy5n.js} +1 -1
- package/dist/{x-BCFQuE_q.js → x-CkD6A1iB.js} +1 -1
- package/package.json +21 -21
- package/dist/CommentsSidebar-D-o5Stlg.js +0 -442
- package/dist/ModuleBrowserModal-AJt--JPh.js +0 -202
- package/dist/ModulePreviewCanvas-BKYOcVCh.js +0 -106
- package/dist/NumberWithSuffix-Bf3rNxza.js +0 -89
- package/dist/SaveModuleDialog-B4QX9eiv.js +0 -125
- package/dist/ToggleSwitch-DUNuUPsZ.js +0 -37
- package/dist/cdn/chunks/CloudEditor-CEa3Xgqh.js.map +0 -1
- package/dist/cdn/chunks/ModuleBrowserModal-DznWWtBI.js +0 -198
- package/dist/cdn/chunks/ModuleBrowserModal-DznWWtBI.js.map +0 -1
- package/dist/cdn/chunks/ModulePreviewCanvas-D-h7fr87.js +0 -107
- package/dist/cdn/chunks/ModulePreviewCanvas-D-h7fr87.js.map +0 -1
- package/dist/cdn/chunks/NumberWithSuffix-Dt-0odUN.js +0 -91
- package/dist/cdn/chunks/NumberWithSuffix-Dt-0odUN.js.map +0 -1
- package/dist/cdn/chunks/SaveModuleDialog-BpFhTi-k.js +0 -120
- package/dist/cdn/chunks/SaveModuleDialog-BpFhTi-k.js.map +0 -1
- package/dist/cdn/chunks/ToggleSwitch-OrmX_w18.js +0 -39
- package/dist/cdn/chunks/ToggleSwitch-OrmX_w18.js.map +0 -1
- package/dist/cdn/chunks/ca-DbWoy4rG.js.map +0 -1
- package/dist/cdn/chunks/de-CgGOnerg.js.map +0 -1
- package/dist/cdn/chunks/en-DrUV9xth.js.map +0 -1
- package/dist/cdn/chunks/es-DwbKjU7q.js.map +0 -1
- package/dist/cdn/chunks/features-CLIZ7Q-Y.js.map +0 -1
- package/dist/cdn/chunks/pt-BR-Bcc5Tjed.js.map +0 -1
- package/dist/cdn/chunks/quality-DffYv9j5.js +0 -2180
- package/dist/cdn/chunks/styles-DHSmjlpX.js.map +0 -1
- package/dist/cdn/chunks/tiptap-C2indasq.js.map +0 -1
- package/dist/dist-BDVm2MrW.js +0 -5
- package/dist/dist-DbekZDmJ.js +0 -5
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { K as e, L as t, M as n, P as r, T as i, Z as a, c as o, ct as s, d as c, f as l, g as u, h as d, it as f, l as p, m, ot as h, p as g, st as _, u as v, v as y, x as b, y as x } from "./draggable-D840DIZB.js";
|
|
2
|
-
import {
|
|
3
|
-
import { B as
|
|
4
|
-
import { c as
|
|
5
|
-
import { n as I, t as L } from "./RichTextEditorContent-
|
|
2
|
+
import { $ as S, Cn as C, Sn as w, W as T, Yt as E, ct as D, dn as O, et as k, fn as A, it as j, ln as ee, lt as M, un as te, wt as ne, xn as re, yn as ie } from "./features-pLfGJWIB.js";
|
|
3
|
+
import { B as ae, C as oe, H as se, L as ce, R as le, X as ue, Z as de, b as fe, c as pe, d as me, f as he, g as N, i as ge, l as _e, o as ve, s as ye } from "./icons-FLemooQz.js";
|
|
4
|
+
import { c as P, o as be, r as xe, s as Se, t as F } from "./ColorPicker-DCdWP8YB.js";
|
|
5
|
+
import { n as I, t as L } from "./RichTextEditorContent-B8dOiv_D.js";
|
|
6
6
|
//#region src/components/blocks/EmojiPickerDropdown.vue?vue&type=script&setup=true&lang.ts
|
|
7
7
|
var R = [
|
|
8
8
|
"aria-label",
|
|
@@ -12,16 +12,16 @@ var R = [
|
|
|
12
12
|
__name: "EmojiPickerDropdown",
|
|
13
13
|
emits: ["insert"],
|
|
14
14
|
setup(e, { emit: t }) {
|
|
15
|
-
let i = t, { categories: c, isOpen: m, toggle: _, close: y } = j(), { t: b, format: S } =
|
|
16
|
-
|
|
15
|
+
let i = t, { categories: c, isOpen: m, toggle: _, close: y } = j(), { t: b, format: S } = E(), w = a(null), T = a(null);
|
|
16
|
+
D(w, l(() => m.value)), C(T, () => {
|
|
17
17
|
m.value && y();
|
|
18
18
|
});
|
|
19
|
-
function
|
|
19
|
+
function O(e) {
|
|
20
20
|
i("insert", e), y();
|
|
21
21
|
}
|
|
22
22
|
return (e, t) => (n(), u("div", {
|
|
23
23
|
ref_key: "rootRef",
|
|
24
|
-
ref:
|
|
24
|
+
ref: T,
|
|
25
25
|
class: "tpl:relative"
|
|
26
26
|
}, [g("button", {
|
|
27
27
|
type: "button",
|
|
@@ -32,14 +32,14 @@ var R = [
|
|
|
32
32
|
"aria-haspopup": "dialog",
|
|
33
33
|
"aria-controls": "tpl-emoji-picker",
|
|
34
34
|
onClick: t[0] ||= (...e) => f(_) && f(_)(...e)
|
|
35
|
-
}, [x(f(
|
|
35
|
+
}, [x(f(N), {
|
|
36
36
|
size: 16,
|
|
37
37
|
"stroke-width": 2
|
|
38
38
|
})], 10, R), f(m) ? (n(), u("div", {
|
|
39
39
|
key: 0,
|
|
40
40
|
id: "tpl-emoji-picker",
|
|
41
41
|
ref_key: "pickerRef",
|
|
42
|
-
ref:
|
|
42
|
+
ref: w,
|
|
43
43
|
role: "dialog",
|
|
44
44
|
"aria-modal": "false",
|
|
45
45
|
"aria-label": f(b).paragraphEditor.insertEmoji,
|
|
@@ -54,7 +54,7 @@ var R = [
|
|
|
54
54
|
type: "button",
|
|
55
55
|
"aria-label": f(S)(f(b).paragraphEditor.emojiItemLabel, { emoji: e }),
|
|
56
56
|
class: "tpl:flex tpl:size-6 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded tpl:border-none tpl:bg-transparent tpl:text-base tpl:transition-all tpl:duration-100 tpl:hover:scale-125 tpl:hover:bg-[var(--tpl-bg-active)]",
|
|
57
|
-
onClick: (t) =>
|
|
57
|
+
onClick: (t) => O(e)
|
|
58
58
|
}, s(e), 9, H))), 128))])]))), 128))], 40, z)) : d("", !0)], 512));
|
|
59
59
|
}
|
|
60
60
|
}), U = [
|
|
@@ -89,7 +89,7 @@ var R = [
|
|
|
89
89
|
function q(e, t) {
|
|
90
90
|
return n(), u("span", K);
|
|
91
91
|
}
|
|
92
|
-
var J = /*#__PURE__*/
|
|
92
|
+
var J = /*#__PURE__*/ M(G, [["render", q]]), Y = [
|
|
93
93
|
"value",
|
|
94
94
|
"aria-label",
|
|
95
95
|
"title"
|
|
@@ -133,7 +133,7 @@ function Q(e, t) {
|
|
|
133
133
|
}
|
|
134
134
|
//#endregion
|
|
135
135
|
//#region src/components/blocks/ParagraphToolbar.vue?vue&type=script&setup=true&lang.ts
|
|
136
|
-
var
|
|
136
|
+
var Te = ["data-tpl-theme", "aria-label"], $ = { class: "tpl:flex tpl:items-center tpl:gap-1" }, Ee = { class: "tpl:flex tpl:items-center tpl:gap-1" }, De = ["aria-label", "title"], Oe = ["aria-label", "title"], ke = {
|
|
137
137
|
key: 1,
|
|
138
138
|
class: "tpl:flex tpl:items-center tpl:gap-2 tpl:px-2 tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
|
|
139
139
|
}, Ae = /* @__PURE__ */ b({
|
|
@@ -151,8 +151,8 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
|
|
|
151
151
|
"add-logic-tag"
|
|
152
152
|
],
|
|
153
153
|
setup(e, { emit: t }) {
|
|
154
|
-
let r = e, a = t, o = i(
|
|
155
|
-
function
|
|
154
|
+
let r = e, a = t, o = i(ie, null), p = i(re, null), h = w(te, "ParagraphToolbar"), b = T(), S = i(A, null), C = i(O, null), D = i(ee, null), k = l(() => (S?.isOpen.value ?? !1) || (C?.isOpen.value ?? !1)), { t: j } = E(), M = h.fonts;
|
|
155
|
+
function N(e) {
|
|
156
156
|
r.editor?.chain().focus().insertContent(e).run();
|
|
157
157
|
}
|
|
158
158
|
function I(e) {
|
|
@@ -201,13 +201,13 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
|
|
|
201
201
|
let t = r.editor?.chain().focus();
|
|
202
202
|
e ? t?.setHighlight({ color: e }).run() : t?.unsetHighlight().run();
|
|
203
203
|
}
|
|
204
|
-
return (t, r) => f(b) && !
|
|
204
|
+
return (t, r) => f(b) && !k.value ? (n(), m(c, {
|
|
205
205
|
key: 0,
|
|
206
206
|
to: f(b)
|
|
207
207
|
}, [g("div", {
|
|
208
208
|
"data-tpl-theme": f(p),
|
|
209
209
|
role: "toolbar",
|
|
210
|
-
"aria-label": f(
|
|
210
|
+
"aria-label": f(j).paragraphEditor.toolbar,
|
|
211
211
|
class: "tpl tpl-text-toolbar tpl:absolute tpl:z-popover tpl:flex tpl:gap-1 tpl:rounded-lg tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-3 tpl:py-2 tpl:shadow-lg",
|
|
212
212
|
style: _({
|
|
213
213
|
...f(o),
|
|
@@ -216,12 +216,12 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
|
|
|
216
216
|
transform: "translateY(-100%)",
|
|
217
217
|
flexDirection: "column"
|
|
218
218
|
})
|
|
219
|
-
}, [!e.isLoading && e.editor ? (n(), u(v, { key: 0 }, [g("div",
|
|
219
|
+
}, [!e.isLoading && e.editor ? (n(), u(v, { key: 0 }, [g("div", $, [
|
|
220
220
|
x(Z, {
|
|
221
221
|
"model-value": I("fontFamily"),
|
|
222
|
-
options: f(
|
|
223
|
-
label: f(
|
|
224
|
-
placeholder: f(
|
|
222
|
+
options: f(M),
|
|
223
|
+
label: f(j).paragraphEditor.fontFamily,
|
|
224
|
+
placeholder: f(j).paragraphEditor.defaultFont,
|
|
225
225
|
"width-class": "tpl:w-32",
|
|
226
226
|
"onUpdate:modelValue": L
|
|
227
227
|
}, null, 8, [
|
|
@@ -233,8 +233,8 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
|
|
|
233
233
|
x(Z, {
|
|
234
234
|
"model-value": I("fontSize"),
|
|
235
235
|
options: f(be),
|
|
236
|
-
label: f(
|
|
237
|
-
placeholder: f(
|
|
236
|
+
label: f(j).paragraphEditor.fontSize,
|
|
237
|
+
placeholder: f(j).paragraphEditor.defaultSize,
|
|
238
238
|
"width-class": "tpl:w-20",
|
|
239
239
|
"onUpdate:modelValue": R
|
|
240
240
|
}, null, 8, [
|
|
@@ -250,7 +250,7 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
|
|
|
250
250
|
"data-testid": "text-color-picker",
|
|
251
251
|
"model-value": U(),
|
|
252
252
|
"seed-color": H(),
|
|
253
|
-
"aria-label": f(
|
|
253
|
+
"aria-label": f(j).paragraphEditor.textColor,
|
|
254
254
|
"onUpdate:modelValue": V
|
|
255
255
|
}, null, 8, [
|
|
256
256
|
"model-value",
|
|
@@ -263,7 +263,7 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
|
|
|
263
263
|
"data-testid": "highlight-color-picker",
|
|
264
264
|
"model-value": Y(),
|
|
265
265
|
"seed-color": f(xe),
|
|
266
|
-
"aria-label": f(
|
|
266
|
+
"aria-label": f(j).paragraphEditor.highlightColor,
|
|
267
267
|
"onUpdate:modelValue": X
|
|
268
268
|
}, null, 8, [
|
|
269
269
|
"model-value",
|
|
@@ -272,8 +272,8 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
|
|
|
272
272
|
]),
|
|
273
273
|
x(J),
|
|
274
274
|
x(W, {
|
|
275
|
-
icon: f(
|
|
276
|
-
label: f(
|
|
275
|
+
icon: f(de),
|
|
276
|
+
label: f(j).paragraphEditor.bold,
|
|
277
277
|
active: e.editor.isActive("bold"),
|
|
278
278
|
"stroke-width": 2.5,
|
|
279
279
|
onClick: r[0] ||= (t) => e.editor.chain().focus().toggleBold().run()
|
|
@@ -283,8 +283,8 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
|
|
|
283
283
|
"active"
|
|
284
284
|
]),
|
|
285
285
|
x(W, {
|
|
286
|
-
icon: f(
|
|
287
|
-
label: f(
|
|
286
|
+
icon: f(se),
|
|
287
|
+
label: f(j).paragraphEditor.italic,
|
|
288
288
|
active: e.editor.isActive("italic"),
|
|
289
289
|
onClick: r[1] ||= (t) => e.editor.chain().focus().toggleItalic().run()
|
|
290
290
|
}, null, 8, [
|
|
@@ -293,8 +293,8 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
|
|
|
293
293
|
"active"
|
|
294
294
|
]),
|
|
295
295
|
x(W, {
|
|
296
|
-
icon: f(
|
|
297
|
-
label: f(
|
|
296
|
+
icon: f(ge),
|
|
297
|
+
label: f(j).paragraphEditor.underline,
|
|
298
298
|
active: e.editor.isActive("underline"),
|
|
299
299
|
onClick: r[2] ||= (t) => e.editor.chain().focus().toggleUnderline().run()
|
|
300
300
|
}, null, 8, [
|
|
@@ -304,7 +304,7 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
|
|
|
304
304
|
]),
|
|
305
305
|
x(W, {
|
|
306
306
|
icon: f(me),
|
|
307
|
-
label: f(
|
|
307
|
+
label: f(j).paragraphEditor.strikethrough,
|
|
308
308
|
active: e.editor.isActive("strike"),
|
|
309
309
|
onClick: r[3] ||= (t) => e.editor.chain().focus().toggleStrike().run()
|
|
310
310
|
}, null, 8, [
|
|
@@ -314,8 +314,8 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
|
|
|
314
314
|
]),
|
|
315
315
|
x(J),
|
|
316
316
|
x(W, {
|
|
317
|
-
icon: f(
|
|
318
|
-
label: f(
|
|
317
|
+
icon: f(he),
|
|
318
|
+
label: f(j).paragraphEditor.subscript,
|
|
319
319
|
active: e.editor.isActive("subscript"),
|
|
320
320
|
onClick: r[4] ||= (t) => e.editor.chain().focus().toggleSubscript().run()
|
|
321
321
|
}, null, 8, [
|
|
@@ -324,8 +324,8 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
|
|
|
324
324
|
"active"
|
|
325
325
|
]),
|
|
326
326
|
x(W, {
|
|
327
|
-
icon: f(
|
|
328
|
-
label: f(
|
|
327
|
+
icon: f(_e),
|
|
328
|
+
label: f(j).paragraphEditor.superscript,
|
|
329
329
|
active: e.editor.isActive("superscript"),
|
|
330
330
|
onClick: r[5] ||= (t) => e.editor.chain().focus().toggleSuperscript().run()
|
|
331
331
|
}, null, 8, [
|
|
@@ -335,8 +335,8 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
|
|
|
335
335
|
]),
|
|
336
336
|
x(J),
|
|
337
337
|
x(W, {
|
|
338
|
-
icon: f(
|
|
339
|
-
label: f(
|
|
338
|
+
icon: f(ae),
|
|
339
|
+
label: f(j).paragraphEditor.addLink,
|
|
340
340
|
active: e.editor.isActive("link"),
|
|
341
341
|
onClick: r[6] ||= (e) => a("open-link-dialog")
|
|
342
342
|
}, null, 8, [
|
|
@@ -346,8 +346,8 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
|
|
|
346
346
|
])
|
|
347
347
|
]), g("div", Ee, [
|
|
348
348
|
x(W, {
|
|
349
|
-
icon: f(
|
|
350
|
-
label: f(
|
|
349
|
+
icon: f(ce),
|
|
350
|
+
label: f(j).paragraphEditor.bulletList,
|
|
351
351
|
active: e.editor.isActive("bulletList"),
|
|
352
352
|
onClick: r[7] ||= (t) => e.editor.chain().focus().toggleBulletList().run()
|
|
353
353
|
}, null, 8, [
|
|
@@ -356,8 +356,8 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
|
|
|
356
356
|
"active"
|
|
357
357
|
]),
|
|
358
358
|
x(W, {
|
|
359
|
-
icon: f(
|
|
360
|
-
label: f(
|
|
359
|
+
icon: f(le),
|
|
360
|
+
label: f(j).paragraphEditor.numberedList,
|
|
361
361
|
active: e.editor.isActive("orderedList"),
|
|
362
362
|
onClick: r[8] ||= (t) => e.editor.chain().focus().toggleOrderedList().run()
|
|
363
363
|
}, null, 8, [
|
|
@@ -367,8 +367,8 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
|
|
|
367
367
|
]),
|
|
368
368
|
x(J),
|
|
369
369
|
x(W, {
|
|
370
|
-
icon: f(
|
|
371
|
-
label: f(
|
|
370
|
+
icon: f(ve),
|
|
371
|
+
label: f(j).paragraphEditor.alignLeft,
|
|
372
372
|
active: e.editor.isActive({ textAlign: "left" }),
|
|
373
373
|
onClick: r[9] ||= (t) => e.editor.chain().focus().setTextAlign("left").run()
|
|
374
374
|
}, null, 8, [
|
|
@@ -377,8 +377,8 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
|
|
|
377
377
|
"active"
|
|
378
378
|
]),
|
|
379
379
|
x(W, {
|
|
380
|
-
icon: f(
|
|
381
|
-
label: f(
|
|
380
|
+
icon: f(pe),
|
|
381
|
+
label: f(j).paragraphEditor.alignCenter,
|
|
382
382
|
active: e.editor.isActive({ textAlign: "center" }),
|
|
383
383
|
onClick: r[10] ||= (t) => e.editor.chain().focus().setTextAlign("center").run()
|
|
384
384
|
}, null, 8, [
|
|
@@ -387,8 +387,8 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
|
|
|
387
387
|
"active"
|
|
388
388
|
]),
|
|
389
389
|
x(W, {
|
|
390
|
-
icon: f(
|
|
391
|
-
label: f(
|
|
390
|
+
icon: f(ye),
|
|
391
|
+
label: f(j).paragraphEditor.alignRight,
|
|
392
392
|
active: e.editor.isActive({ textAlign: "right" }),
|
|
393
393
|
onClick: r[11] ||= (t) => e.editor.chain().focus().setTextAlign("right").run()
|
|
394
394
|
}, null, 8, [
|
|
@@ -399,8 +399,8 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
|
|
|
399
399
|
x(J),
|
|
400
400
|
x(Z, {
|
|
401
401
|
"model-value": G(),
|
|
402
|
-
options: f(
|
|
403
|
-
label: f(
|
|
402
|
+
options: f(P),
|
|
403
|
+
label: f(j).paragraphEditor.lineHeight,
|
|
404
404
|
placeholder: "LH",
|
|
405
405
|
"width-class": "tpl:w-16",
|
|
406
406
|
"onUpdate:modelValue": K
|
|
@@ -412,7 +412,7 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
|
|
|
412
412
|
x(Z, {
|
|
413
413
|
"model-value": I("letterSpacing"),
|
|
414
414
|
options: f(Se),
|
|
415
|
-
label: f(
|
|
415
|
+
label: f(j).paragraphEditor.letterSpacing,
|
|
416
416
|
placeholder: "LS",
|
|
417
417
|
"width-class": "tpl:w-20",
|
|
418
418
|
"onUpdate:modelValue": q
|
|
@@ -423,38 +423,38 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
|
|
|
423
423
|
]),
|
|
424
424
|
x(J),
|
|
425
425
|
x(W, {
|
|
426
|
-
icon: f(
|
|
427
|
-
label: f(
|
|
426
|
+
icon: f(oe),
|
|
427
|
+
label: f(j).paragraphEditor.clearFormatting,
|
|
428
428
|
onClick: r[12] ||= (t) => e.editor.chain().focus().clearNodes().unsetAllMarks().run()
|
|
429
429
|
}, null, 8, ["icon", "label"]),
|
|
430
430
|
x(J),
|
|
431
|
-
x(Ce, { onInsert:
|
|
431
|
+
x(Ce, { onInsert: N }),
|
|
432
432
|
e.canRequestMergeTag ? (n(), u(v, { key: 0 }, [x(J), g("button", {
|
|
433
433
|
type: "button",
|
|
434
434
|
class: "tpl:flex tpl:h-8 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded tpl:border-none tpl:bg-transparent tpl:px-2.5 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)] tpl:transition-all tpl:duration-150 tpl:hover:bg-[var(--tpl-bg-active)]",
|
|
435
|
-
"aria-label": f(
|
|
436
|
-
title: f(
|
|
435
|
+
"aria-label": f(j).mergeTag.insert,
|
|
436
|
+
title: f(j).mergeTag.insert,
|
|
437
437
|
onClick: r[13] ||= (e) => a("add-merge-tag")
|
|
438
|
-
}, [x(f(
|
|
438
|
+
}, [x(f(fe), {
|
|
439
439
|
size: 16,
|
|
440
440
|
"stroke-width": 2
|
|
441
|
-
}), y(" " + s(f(
|
|
441
|
+
}), y(" " + s(f(j).mergeTag.insertShort), 1)], 8, De)], 64)) : d("", !0),
|
|
442
442
|
e.canInsertLogicTag ? (n(), u(v, { key: 1 }, [x(J), g("button", {
|
|
443
443
|
type: "button",
|
|
444
444
|
class: "tpl:flex tpl:h-8 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded tpl:border-none tpl:bg-transparent tpl:px-2.5 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)] tpl:transition-all tpl:duration-150 tpl:hover:bg-[var(--tpl-bg-active)]",
|
|
445
|
-
"aria-label": f(
|
|
446
|
-
title: f(
|
|
445
|
+
"aria-label": f(j).logicTag.insert,
|
|
446
|
+
title: f(j).logicTag.insert,
|
|
447
447
|
"data-testid": "insert-logic-button",
|
|
448
448
|
onClick: r[14] ||= (e) => a("add-logic-tag")
|
|
449
|
-
}, [x(f(
|
|
449
|
+
}, [x(f(ue), {
|
|
450
450
|
size: 16,
|
|
451
451
|
"stroke-width": 2
|
|
452
|
-
}), y(" " + s(f(
|
|
453
|
-
])], 64)) : (n(), u("div", ke, [x(f(
|
|
452
|
+
}), y(" " + s(f(j).logicTag.insertShort), 1)], 8, Oe)], 64)) : d("", !0)
|
|
453
|
+
])], 64)) : (n(), u("div", ke, [x(f(ne), {
|
|
454
454
|
class: "tpl-spinner",
|
|
455
455
|
size: 14,
|
|
456
456
|
"stroke-width": 2
|
|
457
|
-
}), y(" " + s(f(
|
|
457
|
+
}), y(" " + s(f(j).errors.editorLoading), 1)]))], 12, Te)], 8, ["to"])) : d("", !0);
|
|
458
458
|
}
|
|
459
459
|
}), je = { class: "tpl-text-editor-wrapper tpl:relative" }, Me = /* @__PURE__ */ b({
|
|
460
460
|
__name: "ParagraphEditor",
|
|
@@ -464,25 +464,25 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
|
|
|
464
464
|
},
|
|
465
465
|
emits: ["done"],
|
|
466
466
|
setup(t, { emit: r }) {
|
|
467
|
-
let i = t, a = r, o =
|
|
467
|
+
let i = t, a = r, o = T(), { editor: s, EditorContent: c, isLoading: l, initError: d, retry: p, showLinkDialog: m, linkUrl: h, linkColor: g, linkDialogRef: _, canRequestMergeTag: v, canInsertLogicTag: y, openLinkDialog: b, insertLink: C, removeLink: w, closeLinkDialog: E, handleLinkKeydown: D, handleAddMergeTag: O, handleAddLogicTag: A } = S({
|
|
468
468
|
blockId: () => i.block.id,
|
|
469
469
|
blockContent: () => i.block.content,
|
|
470
470
|
onDone: () => a("done"),
|
|
471
471
|
editorName: "ParagraphEditor",
|
|
472
472
|
async loadExtensions({ mergeTags: e, syntax: t, triggerChar: n, autocompleteEnabled: r, suggestionEmptyText: i }) {
|
|
473
|
-
let [{ Editor: a, EditorContent: s }, { default: c }, { default: l }, { default: u }, { default: d }, { default: f }, { default: p }, { TextStyle: m }, { default: h }, { default: g }, { default: _ }, { MergeTagNode: v, MergeTagSuggestion: y, LogicMergeTagNode: b, FontSize: x, LineHeight: S, LetterSpacing:
|
|
474
|
-
import("./tiptap-
|
|
475
|
-
import("./tiptap-
|
|
476
|
-
import("./tiptap-
|
|
477
|
-
import("./tiptap-
|
|
478
|
-
import("./tiptap-
|
|
479
|
-
import("./tiptap-
|
|
480
|
-
import("./tiptap-
|
|
481
|
-
import("./tiptap-
|
|
482
|
-
import("./tiptap-
|
|
483
|
-
import("./tiptap-
|
|
484
|
-
import("./tiptap-
|
|
485
|
-
import("./extensions-
|
|
473
|
+
let [{ Editor: a, EditorContent: s }, { default: c }, { default: l }, { default: u }, { default: d }, { default: f }, { default: p }, { TextStyle: m }, { default: h }, { default: g }, { default: _ }, { MergeTagNode: v, MergeTagSuggestion: y, LogicMergeTagNode: b, FontSize: x, LineHeight: S, LetterSpacing: C }] = await Promise.all([
|
|
474
|
+
import("./tiptap-BMZ-OENR.js").then((e) => e.r),
|
|
475
|
+
import("./tiptap-BMZ-OENR.js").then((e) => e.i),
|
|
476
|
+
import("./tiptap-BMZ-OENR.js").then((e) => e.l),
|
|
477
|
+
import("./tiptap-BMZ-OENR.js").then((e) => e.a),
|
|
478
|
+
import("./tiptap-BMZ-OENR.js").then((e) => e.c),
|
|
479
|
+
import("./tiptap-BMZ-OENR.js").then((e) => e.s),
|
|
480
|
+
import("./tiptap-BMZ-OENR.js").then((e) => e.o),
|
|
481
|
+
import("./tiptap-BMZ-OENR.js").then((e) => e.p),
|
|
482
|
+
import("./tiptap-BMZ-OENR.js").then((e) => e.f),
|
|
483
|
+
import("./tiptap-BMZ-OENR.js").then((e) => e.d),
|
|
484
|
+
import("./tiptap-BMZ-OENR.js").then((e) => e.u),
|
|
485
|
+
import("./extensions-DeJh3E9b.js")
|
|
486
486
|
]);
|
|
487
487
|
return {
|
|
488
488
|
TiptapEditor: a,
|
|
@@ -499,7 +499,7 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
|
|
|
499
499
|
u,
|
|
500
500
|
d,
|
|
501
501
|
f,
|
|
502
|
-
|
|
502
|
+
k(l).configure({
|
|
503
503
|
openOnClick: !1,
|
|
504
504
|
HTMLAttributes: {
|
|
505
505
|
target: "_blank",
|
|
@@ -513,7 +513,7 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
|
|
|
513
513
|
_.configure({ multicolor: !0 }),
|
|
514
514
|
x,
|
|
515
515
|
S,
|
|
516
|
-
|
|
516
|
+
C,
|
|
517
517
|
v.configure({
|
|
518
518
|
mergeTags: e,
|
|
519
519
|
syntax: t
|
|
@@ -537,7 +537,7 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
|
|
|
537
537
|
"can-request-merge-tag": f(v),
|
|
538
538
|
"can-insert-logic-tag": f(y),
|
|
539
539
|
onOpenLinkDialog: f(b),
|
|
540
|
-
onAddMergeTag: f(
|
|
540
|
+
onAddMergeTag: f(O),
|
|
541
541
|
onAddLogicTag: f(A)
|
|
542
542
|
}, null, 8, [
|
|
543
543
|
"editor",
|
|
@@ -571,10 +571,10 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
|
|
|
571
571
|
"onUpdate:linkUrl": i[1] ||= (t) => e(h) ? h.value = t : null,
|
|
572
572
|
"link-color": f(g),
|
|
573
573
|
"onUpdate:linkColor": i[2] ||= (t) => e(g) ? g.value = t : null,
|
|
574
|
-
onClose: f(
|
|
575
|
-
onInsert: f(
|
|
576
|
-
onRemove: f(
|
|
577
|
-
onKeydown: f(
|
|
574
|
+
onClose: f(E),
|
|
575
|
+
onInsert: f(C),
|
|
576
|
+
onRemove: f(w),
|
|
577
|
+
onKeydown: f(D)
|
|
578
578
|
}, null, 8, [
|
|
579
579
|
"visible",
|
|
580
580
|
"is-editing-link",
|
|
@@ -592,4 +592,4 @@ var $ = ["data-tpl-theme", "aria-label"], Te = { class: "tpl:flex tpl:items-cent
|
|
|
592
592
|
//#endregion
|
|
593
593
|
export { Me as default };
|
|
594
594
|
|
|
595
|
-
//# sourceMappingURL=ParagraphEditor-
|
|
595
|
+
//# sourceMappingURL=ParagraphEditor-DPCUSXpx.js.map
|