@templatical/editor 0.0.5 → 0.1.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/LICENSE +56 -0
- package/README.md +69 -0
- package/dist/{AiChatSidebar-DwME3f-a.js → AiChatSidebar-DSbBLDkW.js} +9 -9
- package/dist/{AiFeatureMenu-DJvWL1GZ.js → AiFeatureMenu-d04gmgud.js} +5 -5
- package/dist/{CloudEditor-Fe0ssRgi.js → CloudEditor-CjO4tzbV.js} +218 -227
- package/dist/{CollaboratorBar-DTT0EkZn.js → CollaboratorBar-DYBSTuMW.js} +3 -3
- package/dist/{CommentsSidebar-DrJhQRXK.js → CommentsSidebar-CQvUh5xt.js} +9 -9
- package/dist/CountdownBlock-D3olfssJ.js +92 -0
- package/dist/CountdownToolbar-ClpBwFoX.js +210 -0
- package/dist/{DesignReferenceSidebar-DdOht5zn.js → DesignReferenceSidebar-BOfeETis.js} +5 -5
- package/dist/{LoadingTrack-vK8W2PJf.js → LoadingTrack-CdqDYVR-.js} +1 -1
- package/dist/{ModuleBrowserModal-CiV_jOEM.js → ModuleBrowserModal-DKSSQonv.js} +7 -7
- package/dist/{ModulePreviewCanvas-Bmy6Y1WE.js → ModulePreviewCanvas-CoLNuu1o.js} +32 -32
- package/dist/NumberWithSuffix-_0l3Q4jq.js +424 -0
- package/dist/{ParagraphEditor-CoQ3NlS7.js → ParagraphEditor-C9R2ou7x.js} +57 -56
- package/dist/{RichTextEditorContent-CHJlh7HJ.js → RichTextEditorContent-BcY3Rcp4.js} +2 -2
- package/dist/{SaveModuleDialog-CD2ZYq1o.js → SaveModuleDialog-DmFe4VUc.js} +3 -3
- package/dist/{SnapshotHistory-DltsKvhP.js → SnapshotHistory-CAhikAOr.js} +7 -7
- package/dist/{TemplateScoringPanel-DmnmUE3y.js → TemplateScoringPanel-b5DnyIll.js} +10 -10
- package/dist/{TestEmailModal-Dl633j9o.js → TestEmailModal-BmDIzGYz.js} +3 -3
- package/dist/{TitleEditor-C7fds2Nc.js → TitleEditor-DtRYx-LS.js} +11 -11
- package/dist/{TplModal-C5_CF-qn.js → TplModal-BLbMDMd6.js} +4 -4
- package/dist/{_plugin-vue_export-helper-B1-bu7yR.js → _plugin-vue_export-helper-BHUPLLh1.js} +2 -2
- package/dist/{blockTypeIcons-BrKZB10B.js → blockTypeIcons-CEU2dMe1.js} +2 -2
- package/dist/cdn/chunks/{AiFeatureMenu-C5UQmEgV.js → AiFeatureMenu-DWMSYD2J.js} +4 -4
- package/dist/cdn/chunks/{AiFeatureMenu-C5UQmEgV.js.map → AiFeatureMenu-DWMSYD2J.js.map} +1 -1
- package/dist/cdn/chunks/{CloudEditor-DeTolKnf.js → CloudEditor-HrfSfr3G.js} +179 -188
- package/dist/cdn/chunks/CloudEditor-HrfSfr3G.js.map +1 -0
- package/dist/cdn/chunks/{CollaboratorBar-DO1nxSrr.js → CollaboratorBar-Cfok52TZ.js} +4 -4
- package/dist/cdn/chunks/{CollaboratorBar-DO1nxSrr.js.map → CollaboratorBar-Cfok52TZ.js.map} +1 -1
- package/dist/cdn/chunks/CountdownBlock-CkV21NEM.js +93 -0
- package/dist/cdn/chunks/CountdownBlock-CkV21NEM.js.map +1 -0
- package/dist/cdn/chunks/CountdownToolbar-CEmbR7kt.js +212 -0
- package/dist/cdn/chunks/CountdownToolbar-CEmbR7kt.js.map +1 -0
- package/dist/cdn/chunks/{ModuleBrowserModal-ChBr3aXj.js → ModuleBrowserModal-sASaPRot.js} +7 -7
- package/dist/cdn/chunks/{ModuleBrowserModal-ChBr3aXj.js.map → ModuleBrowserModal-sASaPRot.js.map} +1 -1
- package/dist/cdn/chunks/{ModulePreviewCanvas-DkSvri9H.js → ModulePreviewCanvas-D8zsajMf.js} +19 -19
- package/dist/cdn/chunks/{ModulePreviewCanvas-DkSvri9H.js.map → ModulePreviewCanvas-D8zsajMf.js.map} +1 -1
- package/dist/cdn/chunks/NumberWithSuffix-k5Te7Tuw.js +425 -0
- package/dist/cdn/chunks/NumberWithSuffix-k5Te7Tuw.js.map +1 -0
- package/dist/cdn/chunks/{ParagraphEditor-DU3oUKA7.js → ParagraphEditor-C1vQWGzW.js} +37 -37
- package/dist/cdn/chunks/ParagraphEditor-C1vQWGzW.js.map +1 -0
- package/dist/cdn/chunks/{RichTextEditorContent-BrsW1p9s.js → RichTextEditorContent-CT8dBB0R.js} +5 -5
- package/dist/cdn/chunks/{RichTextEditorContent-BrsW1p9s.js.map → RichTextEditorContent-CT8dBB0R.js.map} +1 -1
- package/dist/cdn/chunks/{SaveModuleDialog-CjqKkTEc.js → SaveModuleDialog-BkwKrB0N.js} +5 -5
- package/dist/cdn/chunks/{SaveModuleDialog-CjqKkTEc.js.map → SaveModuleDialog-BkwKrB0N.js.map} +1 -1
- package/dist/cdn/chunks/{TitleEditor-C8FYbadT.js → TitleEditor-BXqt42Px.js} +11 -11
- package/dist/cdn/chunks/{TitleEditor-C8FYbadT.js.map → TitleEditor-BXqt42Px.js.map} +1 -1
- package/dist/cdn/chunks/{blockTypeIcons-5QwYklNq.js → blockTypeIcons-BS6pWyGO.js} +3 -3
- package/dist/cdn/chunks/{blockTypeIcons-5QwYklNq.js.map → blockTypeIcons-BS6pWyGO.js.map} +1 -1
- package/dist/cdn/chunks/{de-BvYD17KT.js → de-3exf7MYE.js} +1 -1
- package/dist/cdn/chunks/{de-BvYD17KT.js.map → de-3exf7MYE.js.map} +1 -1
- package/dist/cdn/chunks/{de-BB3dgVOc.js → de-C8LxVUsb.js} +1 -1
- package/dist/cdn/chunks/de-C8LxVUsb.js.map +1 -0
- package/dist/cdn/chunks/{dist-KYv9v_1z2.js → dist-BpOx-ugr.js} +10 -3
- package/dist/cdn/chunks/dist-BpOx-ugr.js.map +1 -0
- package/dist/cdn/chunks/{draggable-BQNU47zu.js → draggable-Bcb86AsV.js} +1591 -1563
- package/dist/cdn/chunks/draggable-Bcb86AsV.js.map +1 -0
- package/dist/cdn/chunks/{emojiData-BVEJHcNH.js → emojiData-DUHzsh4j.js} +1 -1
- package/dist/cdn/chunks/{emojiData-BVEJHcNH.js.map → emojiData-DUHzsh4j.js.map} +1 -1
- package/dist/cdn/chunks/{en-DeDcpnoS.js → en-BoEycuqw.js} +1 -1
- package/dist/cdn/chunks/en-BoEycuqw.js.map +1 -0
- package/dist/cdn/chunks/{en-CpotcOPr.js → en-KNPUKxYp.js} +1 -1
- package/dist/cdn/chunks/{en-CpotcOPr.js.map → en-KNPUKxYp.js.map} +1 -1
- package/dist/cdn/chunks/{extensions-Bj7USRLr.js → extensions-DBxH6pz0.js} +21 -21
- package/dist/cdn/chunks/{extensions-Bj7USRLr.js.map → extensions-DBxH6pz0.js.map} +1 -1
- package/dist/cdn/chunks/{features-Ds0XUfte.js → features-C3n7AeUc.js} +1338 -1422
- package/dist/cdn/chunks/features-C3n7AeUc.js.map +1 -0
- package/dist/cdn/chunks/{icons-fWsuSvgd.js → icons-Hmpb0_8s.js} +2 -2
- package/dist/cdn/chunks/icons-Hmpb0_8s.js.map +1 -0
- package/dist/cdn/chunks/{liquid.browser-C1VIYISn.js → liquid.browser-CEMn-ZqL.js} +24 -17
- package/dist/cdn/chunks/liquid.browser-CEMn-ZqL.js.map +1 -0
- package/dist/cdn/chunks/{media-library-BGQm_OyC.js → media-library-C1wCpRY1.js} +114 -110
- package/dist/cdn/chunks/media-library-C1wCpRY1.js.map +1 -0
- package/dist/cdn/chunks/{pusher-DJPhQnE8.js → pusher-DwSQn6BA.js} +11 -8
- package/dist/cdn/chunks/pusher-DwSQn6BA.js.map +1 -0
- package/dist/cdn/chunks/readableTextColor-Cd_cgWO_.js.map +1 -1
- package/dist/cdn/chunks/{rolldown-runtime-DPITmOBR.js → rolldown-runtime-BNuo_Jkg.js} +1 -1
- package/dist/cdn/chunks/{src-3i8rPuqd.js → src-BUszJqfd.js} +8 -8
- package/dist/cdn/chunks/{src-3i8rPuqd.js.map → src-BUszJqfd.js.map} +1 -1
- package/dist/cdn/chunks/{styleConstants-DFe3I4Op.js → styleConstants-DP1VOca8.js} +1 -1
- package/dist/cdn/chunks/{styleConstants-DFe3I4Op.js.map → styleConstants-DP1VOca8.js.map} +1 -1
- package/dist/cdn/chunks/{styles-Dgijy53u.js → styles-U2VFFgxC.js} +623 -1239
- package/dist/cdn/chunks/styles-U2VFFgxC.js.map +1 -0
- package/dist/cdn/chunks/{tiptap-BhxaWR8R.js → tiptap-w5IqC8oW.js} +1610 -1364
- package/dist/cdn/chunks/tiptap-w5IqC8oW.js.map +1 -0
- package/dist/cdn/editor.css +1 -1
- package/dist/cdn/editor.js +92 -97
- package/dist/cdn/editor.js.map +1 -1
- package/dist/{check-B7kDuZmP.js → check-BDE2uFIC.js} +1 -1
- package/dist/{chevron-down-DJLW2Q9Z.js → chevron-down-BL1DcOiT.js} +1 -1
- package/dist/{circle-alert-E2vYPs5r.js → circle-alert-1tetIFJU.js} +1 -1
- package/dist/{clock-lWIIQA3C.js → clock-CNc3isoG.js} +1 -1
- package/dist/{dist-DysAFIPy.js → dist-7SaUYnxo.js} +385 -357
- package/dist/{dist-DmOE-Ubp.js → dist-BKZ5gvJf.js} +5 -5
- package/dist/{dist-CG-vEqSU.js → dist-CLg2qE0p.js} +2 -2
- package/dist/dist-CdzaZZSx.js +5 -0
- package/dist/dist-Cl9giA3B.js +5 -0
- package/dist/{dist-C_ymrGFi.js → dist-CpHKN3mI.js} +541 -508
- package/dist/{dist-4LiM9FDd.js → dist-DMuaebdo.js} +2 -2
- package/dist/{dist-ChAGLpWo.js → dist-DW_4_uv3.js} +2 -2
- package/dist/{dist-C1BIRHCQ.js → dist-DYG6FL7b.js} +2 -2
- package/dist/{dist-DrvKRSU6.js → dist-DbFMBx8E.js} +2 -2
- package/dist/{dist-D_HQYSY-.js → dist-Dn9cOicG.js} +2 -2
- package/dist/{dist-Ci5lFuUy.js → dist-ENKQZrNg.js} +138 -132
- package/dist/{dist-Bu7veieH.js → dist-fEtcLxee.js} +15 -15
- package/dist/{extensions-DWx_jj8v.js → extensions-Y880c0sP.js} +3 -3
- package/dist/{image-up-X4xIq4ea.js → image-up-4ZmaHFga.js} +1 -1
- package/dist/index.d.ts +234 -0
- package/dist/{liquid.browser-BemTg3sZ.js → liquid.browser-DZ62L7up.js} +20 -15
- package/dist/{loader-circle-BTQQxC3l.js → loader-circle-C7YEH4do.js} +1 -1
- package/dist/{message-circle-Blgm6V_h.js → message-circle-B_lxRh4z.js} +1 -1
- package/dist/{refresh-cw-Bb4PEeW1.js → refresh-cw-DmZNoimV.js} +1 -1
- package/dist/rolldown-runtime-gEudmnaM.js +23 -0
- package/dist/{scan-line-7lZPfOdm.js → scan-line-Cc9KlXo5.js} +1 -1
- package/dist/{send-C0ltAQrv.js → send-CMwNWTPX.js} +1 -1
- package/dist/{shield-check-f-qv4RKs.js → shield-check-DZFf4LTh.js} +1 -1
- package/dist/{sparkles-KhBCGlqB.js → sparkles-D80W88H8.js} +1 -1
- package/dist/{styleConstants-Cxw88naD.js → styleConstants-Codo7aUT.js} +6 -45
- package/dist/styles-unyYKihg.js +2942 -0
- package/dist/templatical-editor.css +1 -1
- package/dist/templatical-editor.js +85 -90
- package/dist/text-align-start-Cje6pwo4.js +43 -0
- package/dist/{trash-2-OwjZ-guZ.js → trash-2-BWvxOB4Q.js} +1 -1
- package/dist/{triangle-alert-DOSRIUYZ.js → triangle-alert-C6y94qVX.js} +1 -1
- package/dist/{useEditorCore-DUGD6pq_.js → useEditorCore-CQwWl2js.js} +1143 -1247
- package/dist/{x-CGlq2XQe.js → x-IyhJ6V90.js} +1 -1
- package/package.json +70 -52
- package/dist/cdn/chunks/AiChatSidebar-X_Bv3Qys.js +0 -2
- package/dist/cdn/chunks/CloudEditor-DeTolKnf.js.map +0 -1
- package/dist/cdn/chunks/CommentsSidebar-4MTw_hue.js +0 -2
- package/dist/cdn/chunks/DesignReferenceSidebar-Bswh4Yx4.js +0 -2
- package/dist/cdn/chunks/ParagraphEditor-DU3oUKA7.js.map +0 -1
- package/dist/cdn/chunks/SnapshotHistory-KME4xmn_.js +0 -2
- package/dist/cdn/chunks/TemplateScoringPanel-DgB3xDN6.js +0 -2
- package/dist/cdn/chunks/TestEmailModal-DdpvRbYf.js +0 -2
- package/dist/cdn/chunks/de-BB3dgVOc.js.map +0 -1
- package/dist/cdn/chunks/dist-BF5c3Dr-.js +0 -2
- package/dist/cdn/chunks/dist-BGzvIxcJ.js +0 -2
- package/dist/cdn/chunks/dist-CFemF8rI.js +0 -2
- package/dist/cdn/chunks/dist-Co6uFhFK.js +0 -2
- package/dist/cdn/chunks/dist-DCikBY9K.js +0 -2
- package/dist/cdn/chunks/dist-DUILafAC.js +0 -2
- package/dist/cdn/chunks/dist-DghiKH0A.js +0 -2
- package/dist/cdn/chunks/dist-Dw8ckvfK.js +0 -2
- package/dist/cdn/chunks/dist-H07p0KAw.js +0 -2
- package/dist/cdn/chunks/dist-KYv9v_1z2.js.map +0 -1
- package/dist/cdn/chunks/dist-MjnKIc0W.js +0 -2
- package/dist/cdn/chunks/dist-odp0vGRv.js +0 -2
- package/dist/cdn/chunks/draggable-BQNU47zu.js.map +0 -1
- package/dist/cdn/chunks/en-DeDcpnoS.js.map +0 -1
- package/dist/cdn/chunks/features-Ds0XUfte.js.map +0 -1
- package/dist/cdn/chunks/icons-fWsuSvgd.js.map +0 -1
- package/dist/cdn/chunks/liquid.browser-C1VIYISn.js.map +0 -1
- package/dist/cdn/chunks/media-library-BGQm_OyC.js.map +0 -1
- package/dist/cdn/chunks/pusher-DJPhQnE8.js.map +0 -1
- package/dist/cdn/chunks/styles-Dgijy53u.js.map +0 -1
- package/dist/cdn/chunks/tiptap-BhxaWR8R.js.map +0 -1
- package/dist/dist-DkypH7qG.js +0 -5
- package/dist/dist-Dxnd0GRf.js +0 -5
- package/dist/styles-fdXNRqI3.js +0 -3556
- package/dist/templatical-editor.umd.cjs +0 -179
- /package/dist/cdn/chunks/{_rolldown_dynamic_import_helper-DMEI4TQ3.js → _rolldown_dynamic_import_helper-BRcA6nWq.js} +0 -0
- /package/dist/{de-D7TLGIPA.js → de-DCRASLfd.js} +0 -0
- /package/dist/{emojiData-BfWQS72m.js → emojiData-CyACq8qV.js} +0 -0
- /package/dist/{en-DvtiEMwP.js → en-BC0igPeg.js} +0 -0
- /package/dist/{formatRelativeTime-DX3FgqN9.js → formatRelativeTime-mRxw8HK8.js} +0 -0
- /package/dist/{readableTextColor-LDlmVEUv.js → readableTextColor-B809bF5J.js} +0 -0
- /package/dist/{useMergeTag-BZ3X0bNr.js → useMergeTag-CSXcnFBc.js} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
//#region ../../node_modules/.
|
|
1
|
+
import { Gt as e, c as t } from "./dist-CpHKN3mI.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/@tiptap+extension-superscript@3.22.5_@tiptap+core@3.22.5_@tiptap+pm@3.22.5__@tiptap+pm@3.22.5/node_modules/@tiptap/extension-superscript/dist/index.js
|
|
3
3
|
var n = t.create({
|
|
4
4
|
name: "superscript",
|
|
5
5
|
addOptions() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
//#region ../../node_modules/.
|
|
1
|
+
import { Gt as e, c as t } from "./dist-CpHKN3mI.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/@tiptap+extension-subscript@3.22.5_@tiptap+core@3.22.5_@tiptap+pm@3.22.5__@tiptap+pm@3.22.5/node_modules/@tiptap/extension-subscript/dist/index.js
|
|
3
3
|
var n = t.create({
|
|
4
4
|
name: "subscript",
|
|
5
5
|
addOptions() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
//#region ../../node_modules/.
|
|
1
|
+
import { Gt as e, c as t } from "./dist-CpHKN3mI.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/@tiptap+extension-underline@3.22.5_@tiptap+core@3.22.5_@tiptap+pm@3.22.5_/node_modules/@tiptap/extension-underline/dist/index.js
|
|
3
3
|
var n = t.create({
|
|
4
4
|
name: "underline",
|
|
5
5
|
addOptions() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as e } from "./dist-
|
|
2
|
-
//#region ../../node_modules/.
|
|
1
|
+
import { i as e } from "./dist-CpHKN3mI.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/@tiptap+extension-text-align@3.22.5_@tiptap+core@3.22.5_@tiptap+pm@3.22.5_/node_modules/@tiptap/extension-text-align/dist/index.js
|
|
3
3
|
var t = e.create({
|
|
4
4
|
name: "textAlign",
|
|
5
5
|
addOptions() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
//#region ../../node_modules/.
|
|
1
|
+
import { Gt as e, c as t, i as n } from "./dist-CpHKN3mI.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/@tiptap+extension-text-style@3.22.5_@tiptap+core@3.22.5_@tiptap+pm@3.22.5_/node_modules/@tiptap/extension-text-style/dist/index.js
|
|
3
3
|
var r = 20, i = (e, t = 0) => {
|
|
4
4
|
let n = [];
|
|
5
5
|
return !e.children.length || t > r || Array.from(e.children).forEach((e) => {
|
|
@@ -1,145 +1,146 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { $ as t, $t as n, A as r, At as i, B as a, Bt as o, C as
|
|
3
|
-
import { customRef as
|
|
4
|
-
//#region ../../node_modules/.
|
|
5
|
-
var
|
|
6
|
-
CommandManager: () =>
|
|
1
|
+
import { r as e } from "./rolldown-runtime-gEudmnaM.js";
|
|
2
|
+
import { $ as t, $t as n, A as r, At as i, B as a, Bt as o, C as s, Ct as ee, D as te, Dt as ne, E as re, Et as ie, F as ae, Ft as oe, G as se, Gt as ce, H as le, Ht as ue, I as de, It as fe, J as pe, Jt as me, K as he, Kt as ge, L as _e, Lt as ve, M as ye, Mt as c, N as l, Nt as u, O as d, Ot as f, P as p, Pt as m, Q as h, Qt as g, R as _, Rt as v, S as y, St as b, T as x, Tt as S, U as C, Ut as w, V as T, Vt as E, W as D, Wt as O, X as k, Xt as A, Y as j, Yt as M, Z as N, Zt as P, _ as be, _t as F, a as xe, an as Se, at as Ce, b as we, bt as Te, c as Ee, cn as De, ct as Oe, d as ke, dn as Ae, dt as je, en as Me, et as Ne, f as I, fn as Pe, ft as Fe, g as Ie, gt as Le, h as Re, hn as ze, ht as Be, i as Ve, in as He, it as Ue, j as We, jt as Ge, k as Ke, kt as L, l as R, ln as qe, lt as Je, m as Ye, mn as Xe, mt as Ze, n as Qe, nn as $e, nt as et, o as tt, on as z, ot as nt, p as rt, pn as it, pt as at, q as ot, qt as st, r as ct, rn as lt, rt as ut, s as dt, sn as ft, st as pt, t as mt, tn as ht, tt as gt, u as _t, un as vt, ut as yt, v as bt, vt as xt, w as St, wt as Ct, x as wt, xt as Tt, y as B, yt as Et, z as Dt, zt as Ot } from "./dist-CpHKN3mI.js";
|
|
3
|
+
import { customRef as kt, defineComponent as V, getCurrentInstance as At, h as H, markRaw as U, nextTick as jt, onBeforeUnmount as W, onMounted as Mt, provide as G, reactive as Nt, ref as K, render as q, shallowRef as Pt, toRaw as Ft, unref as It, watchEffect as Lt } from "vue";
|
|
4
|
+
//#region ../../node_modules/.pnpm/@tiptap+vue-3@3.22.5_@floating-ui+dom@1.7.6_@tiptap+core@3.22.5_@tiptap+pm@3.22.5__@tip_7097ea972d8e6e4e31801879e2c3d1b4/node_modules/@tiptap/vue-3/dist/index.js
|
|
5
|
+
var Rt = /* @__PURE__ */ e({
|
|
6
|
+
CommandManager: () => mt,
|
|
7
7
|
Editor: () => Y,
|
|
8
|
-
EditorContent: () =>
|
|
9
|
-
Extendable: () =>
|
|
10
|
-
Extension: () =>
|
|
8
|
+
EditorContent: () => zt,
|
|
9
|
+
Extendable: () => ct,
|
|
10
|
+
Extension: () => Ve,
|
|
11
11
|
Fragment: () => xe,
|
|
12
|
-
InputRule: () =>
|
|
13
|
-
MappablePosition: () =>
|
|
14
|
-
Mark: () =>
|
|
12
|
+
InputRule: () => tt,
|
|
13
|
+
MappablePosition: () => dt,
|
|
14
|
+
Mark: () => Ee,
|
|
15
15
|
MarkView: () => R,
|
|
16
|
-
MarkViewContent: () =>
|
|
17
|
-
Node: () =>
|
|
18
|
-
NodePos: () =>
|
|
19
|
-
NodeView: () =>
|
|
20
|
-
NodeViewContent: () =>
|
|
16
|
+
MarkViewContent: () => Ut,
|
|
17
|
+
Node: () => _t,
|
|
18
|
+
NodePos: () => ke,
|
|
19
|
+
NodeView: () => I,
|
|
20
|
+
NodeViewContent: () => Bt,
|
|
21
21
|
NodeViewWrapper: () => X,
|
|
22
|
-
PasteRule: () =>
|
|
23
|
-
ResizableNodeView: () =>
|
|
24
|
-
ResizableNodeview: () =>
|
|
25
|
-
Tracker: () =>
|
|
22
|
+
PasteRule: () => rt,
|
|
23
|
+
ResizableNodeView: () => Ye,
|
|
24
|
+
ResizableNodeview: () => Re,
|
|
25
|
+
Tracker: () => Ie,
|
|
26
26
|
VueMarkView: () => Q,
|
|
27
|
-
VueMarkViewRenderer: () =>
|
|
27
|
+
VueMarkViewRenderer: () => Wt,
|
|
28
28
|
VueNodeViewRenderer: () => $,
|
|
29
29
|
VueRenderer: () => Z,
|
|
30
30
|
callOrReturn: () => be,
|
|
31
|
-
canInsertNode: () =>
|
|
31
|
+
canInsertNode: () => bt,
|
|
32
32
|
cancelPositionCheck: () => B,
|
|
33
|
-
combineTransactionSteps: () =>
|
|
34
|
-
commands: () =>
|
|
33
|
+
combineTransactionSteps: () => we,
|
|
34
|
+
commands: () => wt,
|
|
35
35
|
createAtomBlockMarkdownSpec: () => y,
|
|
36
|
-
createBlockMarkdownSpec: () =>
|
|
37
|
-
createChainableState: () =>
|
|
36
|
+
createBlockMarkdownSpec: () => s,
|
|
37
|
+
createChainableState: () => St,
|
|
38
38
|
createDocument: () => x,
|
|
39
39
|
createElement: () => F,
|
|
40
|
-
createInlineMarkdownSpec: () =>
|
|
41
|
-
createMappablePosition: () =>
|
|
40
|
+
createInlineMarkdownSpec: () => re,
|
|
41
|
+
createMappablePosition: () => te,
|
|
42
42
|
createNodeFromContent: () => d,
|
|
43
|
-
createStyleTag: () =>
|
|
43
|
+
createStyleTag: () => Ke,
|
|
44
44
|
decodeHtmlEntities: () => r,
|
|
45
|
-
defaultBlockAt: () =>
|
|
46
|
-
deleteProps: () =>
|
|
45
|
+
defaultBlockAt: () => We,
|
|
46
|
+
deleteProps: () => ye,
|
|
47
47
|
elementFromString: () => l,
|
|
48
48
|
encodeHtmlEntities: () => p,
|
|
49
|
-
escapeForRegEx: () =>
|
|
50
|
-
extensions: () =>
|
|
51
|
-
findChildren: () =>
|
|
49
|
+
escapeForRegEx: () => ae,
|
|
50
|
+
extensions: () => de,
|
|
51
|
+
findChildren: () => _e,
|
|
52
52
|
findChildrenInRange: () => _,
|
|
53
|
-
findDuplicates: () =>
|
|
53
|
+
findDuplicates: () => Dt,
|
|
54
54
|
findParentNode: () => a,
|
|
55
55
|
findParentNodeClosestToPos: () => T,
|
|
56
|
-
flattenExtensions: () =>
|
|
56
|
+
flattenExtensions: () => le,
|
|
57
57
|
fromString: () => C,
|
|
58
58
|
generateHTML: () => D,
|
|
59
|
-
generateJSON: () =>
|
|
60
|
-
generateText: () =>
|
|
61
|
-
getAttributes: () =>
|
|
62
|
-
getAttributesFromExtensions: () =>
|
|
59
|
+
generateJSON: () => se,
|
|
60
|
+
generateText: () => he,
|
|
61
|
+
getAttributes: () => ot,
|
|
62
|
+
getAttributesFromExtensions: () => pe,
|
|
63
63
|
getChangedRanges: () => j,
|
|
64
64
|
getDebugJSON: () => k,
|
|
65
65
|
getExtensionField: () => N,
|
|
66
66
|
getHTMLFromFragment: () => h,
|
|
67
67
|
getMarkAttributes: () => t,
|
|
68
|
-
getMarkRange: () =>
|
|
69
|
-
getMarkType: () =>
|
|
70
|
-
getMarksBetween: () =>
|
|
71
|
-
getNodeAtPosition: () =>
|
|
72
|
-
getNodeAttributes: () =>
|
|
73
|
-
getNodeType: () =>
|
|
74
|
-
getRenderedAttributes: () =>
|
|
75
|
-
getSchema: () =>
|
|
76
|
-
getSchemaByResolvedExtensions: () =>
|
|
77
|
-
getSchemaTypeByName: () =>
|
|
78
|
-
getSchemaTypeNameByName: () =>
|
|
79
|
-
getSplittedAttributes: () =>
|
|
80
|
-
getText: () =>
|
|
81
|
-
getTextBetween: () =>
|
|
82
|
-
getTextContentFromNodes: () =>
|
|
83
|
-
getTextSerializersFromSchema: () =>
|
|
84
|
-
getUpdatedPosition: () =>
|
|
68
|
+
getMarkRange: () => Ne,
|
|
69
|
+
getMarkType: () => gt,
|
|
70
|
+
getMarksBetween: () => et,
|
|
71
|
+
getNodeAtPosition: () => ut,
|
|
72
|
+
getNodeAttributes: () => Ue,
|
|
73
|
+
getNodeType: () => Ce,
|
|
74
|
+
getRenderedAttributes: () => nt,
|
|
75
|
+
getSchema: () => pt,
|
|
76
|
+
getSchemaByResolvedExtensions: () => Oe,
|
|
77
|
+
getSchemaTypeByName: () => Je,
|
|
78
|
+
getSchemaTypeNameByName: () => yt,
|
|
79
|
+
getSplittedAttributes: () => je,
|
|
80
|
+
getText: () => Fe,
|
|
81
|
+
getTextBetween: () => at,
|
|
82
|
+
getTextContentFromNodes: () => Ze,
|
|
83
|
+
getTextSerializersFromSchema: () => Be,
|
|
84
|
+
getUpdatedPosition: () => Le,
|
|
85
85
|
h: () => F,
|
|
86
|
-
injectExtensionAttributesToParseRule: () =>
|
|
87
|
-
inputRulesPlugin: () =>
|
|
88
|
-
isActive: () =>
|
|
89
|
-
isAndroid: () =>
|
|
86
|
+
injectExtensionAttributesToParseRule: () => xt,
|
|
87
|
+
inputRulesPlugin: () => Et,
|
|
88
|
+
isActive: () => Te,
|
|
89
|
+
isAndroid: () => Tt,
|
|
90
90
|
isAtEndOfNode: () => b,
|
|
91
|
-
isAtStartOfNode: () =>
|
|
92
|
-
isEmptyObject: () =>
|
|
91
|
+
isAtStartOfNode: () => ee,
|
|
92
|
+
isEmptyObject: () => Ct,
|
|
93
93
|
isExtensionRulesEnabled: () => S,
|
|
94
|
-
isFirefox: () =>
|
|
95
|
-
isFunction: () =>
|
|
94
|
+
isFirefox: () => ie,
|
|
95
|
+
isFunction: () => ne,
|
|
96
96
|
isList: () => f,
|
|
97
|
-
isMacOS: () =>
|
|
97
|
+
isMacOS: () => L,
|
|
98
98
|
isMarkActive: () => i,
|
|
99
|
-
isNodeActive: () =>
|
|
99
|
+
isNodeActive: () => Ge,
|
|
100
100
|
isNodeEmpty: () => c,
|
|
101
101
|
isNodeSelection: () => u,
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
102
|
+
isNodeViewSelected: () => m,
|
|
103
|
+
isNumber: () => oe,
|
|
104
|
+
isPlainObject: () => fe,
|
|
105
|
+
isRegExp: () => ve,
|
|
106
|
+
isSafari: () => v,
|
|
107
|
+
isString: () => Ot,
|
|
108
|
+
isTextSelection: () => o,
|
|
109
|
+
isiOS: () => E,
|
|
110
|
+
markInputRule: () => ue,
|
|
111
|
+
markPasteRule: () => w,
|
|
112
|
+
markViewProps: () => Ht,
|
|
113
|
+
markdown: () => O,
|
|
114
|
+
mergeAttributes: () => ce,
|
|
115
|
+
mergeDeep: () => ge,
|
|
116
|
+
minMax: () => st,
|
|
117
|
+
nodeInputRule: () => me,
|
|
118
|
+
nodePasteRule: () => M,
|
|
119
|
+
nodeViewProps: () => Gt,
|
|
120
|
+
objectIncludes: () => A,
|
|
121
|
+
parseAttributes: () => P,
|
|
122
|
+
parseIndentedBlocks: () => g,
|
|
123
|
+
pasteRulesPlugin: () => n,
|
|
124
|
+
posToDOMRect: () => Me,
|
|
125
|
+
removeDuplicates: () => ht,
|
|
126
|
+
renderNestedMarkdownContent: () => $e,
|
|
127
|
+
resolveExtensions: () => lt,
|
|
128
|
+
resolveFocusPosition: () => He,
|
|
129
|
+
rewriteUnknownContent: () => Se,
|
|
130
|
+
schedulePositionCheck: () => z,
|
|
131
|
+
selectionToInsertionEnd: () => ft,
|
|
132
|
+
serializeAttributes: () => De,
|
|
133
|
+
sortExtensions: () => qe,
|
|
134
|
+
splitExtensions: () => vt,
|
|
135
|
+
textInputRule: () => Ae,
|
|
136
|
+
textPasteRule: () => Pe,
|
|
137
|
+
textblockTypeInputRule: () => it,
|
|
138
|
+
updateMarkViewAttributes: () => Xe,
|
|
139
|
+
useEditor: () => Vt,
|
|
140
|
+
wrappingInputRule: () => ze
|
|
140
141
|
});
|
|
141
142
|
function J(e) {
|
|
142
|
-
return
|
|
143
|
+
return kt((t, n) => ({
|
|
143
144
|
get() {
|
|
144
145
|
return t(), e;
|
|
145
146
|
},
|
|
@@ -152,7 +153,7 @@ function J(e) {
|
|
|
152
153
|
}
|
|
153
154
|
}));
|
|
154
155
|
}
|
|
155
|
-
var Y = class extends
|
|
156
|
+
var Y = class extends Qe {
|
|
156
157
|
constructor(e = {}) {
|
|
157
158
|
return super(e), this.contentComponent = null, this.appContext = null, this.reactiveState = J(this.view.state), this.reactiveExtensionStorage = J(this.extensionStorage), this.on("beforeTransaction", ({ nextState: e }) => {
|
|
158
159
|
this.reactiveState.value = e, this.reactiveExtensionStorage.value = this.extensionStorage;
|
|
@@ -172,19 +173,19 @@ var Y = class extends z {
|
|
|
172
173
|
let t = super.unregisterPlugin(e);
|
|
173
174
|
return this.reactiveState && t && (this.reactiveState.value = t), t;
|
|
174
175
|
}
|
|
175
|
-
},
|
|
176
|
+
}, zt = V({
|
|
176
177
|
name: "EditorContent",
|
|
177
178
|
props: { editor: {
|
|
178
179
|
default: null,
|
|
179
180
|
type: Object
|
|
180
181
|
} },
|
|
181
182
|
setup(e) {
|
|
182
|
-
let t = K(), n =
|
|
183
|
-
return
|
|
183
|
+
let t = K(), n = At();
|
|
184
|
+
return Lt(() => {
|
|
184
185
|
let r = e.editor;
|
|
185
|
-
r && r.options.element && t.value &&
|
|
186
|
+
r && r.options.element && t.value && jt(() => {
|
|
186
187
|
if (!t.value || !r.view.dom?.parentNode) return;
|
|
187
|
-
let e =
|
|
188
|
+
let e = It(t.value);
|
|
188
189
|
t.value.append(...r.view.dom.parentNode.childNodes), r.contentComponent = n.ctx._, n && (r.appContext = {
|
|
189
190
|
...n.appContext,
|
|
190
191
|
provides: n.provides
|
|
@@ -200,7 +201,7 @@ var Y = class extends z {
|
|
|
200
201
|
this.rootEl = e;
|
|
201
202
|
} });
|
|
202
203
|
}
|
|
203
|
-
}),
|
|
204
|
+
}), Bt = V({
|
|
204
205
|
name: "NodeViewContent",
|
|
205
206
|
props: { as: {
|
|
206
207
|
type: String,
|
|
@@ -228,9 +229,9 @@ var Y = class extends z {
|
|
|
228
229
|
onDragstart: this.onDragStart
|
|
229
230
|
}, (e = this.$slots).default?.call(e));
|
|
230
231
|
}
|
|
231
|
-
}),
|
|
232
|
-
let t =
|
|
233
|
-
return
|
|
232
|
+
}), Vt = (e = {}) => {
|
|
233
|
+
let t = Pt();
|
|
234
|
+
return Mt(() => {
|
|
234
235
|
t.value = new Y(e);
|
|
235
236
|
}), W(() => {
|
|
236
237
|
var e, n;
|
|
@@ -239,7 +240,7 @@ var Y = class extends z {
|
|
|
239
240
|
}), t;
|
|
240
241
|
}, Z = class {
|
|
241
242
|
constructor(e, { props: t = {}, editor: n }) {
|
|
242
|
-
this.destroyed = !1, this.editor = n, this.component = U(e), this.el = document.createElement("div"), this.props =
|
|
243
|
+
this.destroyed = !1, this.editor = n, this.component = U(e), this.el = document.createElement("div"), this.props = Nt(t), this.renderedComponent = this.renderComponent();
|
|
243
244
|
}
|
|
244
245
|
get element() {
|
|
245
246
|
return this.renderedComponent.el;
|
|
@@ -266,7 +267,7 @@ var Y = class extends z {
|
|
|
266
267
|
destroy() {
|
|
267
268
|
this.destroyed || (this.destroyed = !0, this.renderedComponent.destroy());
|
|
268
269
|
}
|
|
269
|
-
},
|
|
270
|
+
}, Ht = {
|
|
270
271
|
editor: {
|
|
271
272
|
type: Object,
|
|
272
273
|
required: !0
|
|
@@ -295,7 +296,7 @@ var Y = class extends z {
|
|
|
295
296
|
type: Object,
|
|
296
297
|
required: !0
|
|
297
298
|
}
|
|
298
|
-
},
|
|
299
|
+
}, Ut = V({
|
|
299
300
|
name: "MarkViewContent",
|
|
300
301
|
props: { as: {
|
|
301
302
|
type: String,
|
|
@@ -313,8 +314,7 @@ var Y = class extends z {
|
|
|
313
314
|
let r = {
|
|
314
315
|
...t,
|
|
315
316
|
updateAttributes: this.updateAttributes.bind(this)
|
|
316
|
-
}
|
|
317
|
-
this.renderer = new Z(V({
|
|
317
|
+
}, i = V({
|
|
318
318
|
extends: { ...e },
|
|
319
319
|
props: Object.keys(r),
|
|
320
320
|
template: this.component.template,
|
|
@@ -323,7 +323,8 @@ var Y = class extends z {
|
|
|
323
323
|
__cssModules: e.__cssModules,
|
|
324
324
|
__name: e.__name,
|
|
325
325
|
__file: e.__file
|
|
326
|
-
})
|
|
326
|
+
});
|
|
327
|
+
this.renderer = new Z(i, {
|
|
327
328
|
editor: this.editor,
|
|
328
329
|
props: r
|
|
329
330
|
});
|
|
@@ -335,17 +336,17 @@ var Y = class extends z {
|
|
|
335
336
|
return this.dom.querySelector("[data-mark-view-content]");
|
|
336
337
|
}
|
|
337
338
|
updateAttributes(e) {
|
|
338
|
-
let t =
|
|
339
|
+
let t = Ft(this.mark);
|
|
339
340
|
super.updateAttributes(e, t);
|
|
340
341
|
}
|
|
341
342
|
destroy() {
|
|
342
343
|
this.renderer.destroy();
|
|
343
344
|
}
|
|
344
345
|
};
|
|
345
|
-
function
|
|
346
|
+
function Wt(e, t = {}) {
|
|
346
347
|
return (n) => n.editor.contentComponent ? new Q(e, n, t) : {};
|
|
347
348
|
}
|
|
348
|
-
var
|
|
349
|
+
var Gt = {
|
|
349
350
|
editor: {
|
|
350
351
|
type: Object,
|
|
351
352
|
required: !0
|
|
@@ -390,7 +391,7 @@ var Wt = {
|
|
|
390
391
|
type: Object,
|
|
391
392
|
required: !0
|
|
392
393
|
}
|
|
393
|
-
},
|
|
394
|
+
}, Kt = class extends I {
|
|
394
395
|
constructor() {
|
|
395
396
|
super(...arguments), this.positionCheckCallback = null, this.cachedExtensionWithSyncedStorage = null;
|
|
396
397
|
}
|
|
@@ -435,7 +436,7 @@ var Wt = {
|
|
|
435
436
|
if (!this.renderer) return;
|
|
436
437
|
let e = this.getPos();
|
|
437
438
|
typeof e != "number" || e === this.currentPos || (this.currentPos = e, this.renderer.updateProps({ getPos: () => this.getPos() }));
|
|
438
|
-
},
|
|
439
|
+
}, z(this.editor, this.positionCheckCallback), this.renderer = new Z(n, {
|
|
439
440
|
editor: this.editor,
|
|
440
441
|
props: e
|
|
441
442
|
});
|
|
@@ -448,8 +449,13 @@ var Wt = {
|
|
|
448
449
|
return this.node.isLeaf ? null : this.dom.querySelector("[data-node-view-content]");
|
|
449
450
|
}
|
|
450
451
|
handleSelectionUpdate() {
|
|
451
|
-
let
|
|
452
|
-
if (typeof
|
|
452
|
+
let e = this.getPos();
|
|
453
|
+
if (typeof e == "number") if (m({
|
|
454
|
+
selection: this.editor.state.selection,
|
|
455
|
+
pos: e,
|
|
456
|
+
nodeSize: this.node.nodeSize,
|
|
457
|
+
selectedOnTextSelection: this.options.selectedOnTextSelection
|
|
458
|
+
})) {
|
|
453
459
|
if (this.renderer.props.selected) return;
|
|
454
460
|
this.selectNode();
|
|
455
461
|
} else {
|
|
@@ -507,7 +513,7 @@ var Wt = {
|
|
|
507
513
|
}
|
|
508
514
|
};
|
|
509
515
|
function $(e, t) {
|
|
510
|
-
return (n) => n.editor.contentComponent ? new
|
|
516
|
+
return (n) => n.editor.contentComponent ? new Kt(typeof e == "function" && "__vccOpts" in e ? e.__vccOpts : e, n, t) : {};
|
|
511
517
|
}
|
|
512
518
|
//#endregion
|
|
513
|
-
export { $ as n,
|
|
519
|
+
export { $ as n, Rt as r, X as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
//#region ../../node_modules/.
|
|
1
|
+
import { Gt as e, R as t, Ut as n, Y as r, b as i, bn as a, c as o, nt as s, q as c, xn as l } from "./dist-CpHKN3mI.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/linkifyjs@4.3.2/node_modules/linkifyjs/dist/linkify.mjs
|
|
3
3
|
var u = "aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2", d = "ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2", f = "numeric", p = "ascii", m = "alpha", h = "asciinumeric", g = "alphanumeric", _ = "domain", ee = "emoji", te = "scheme", v = "slashscheme", y = "whitespace";
|
|
4
4
|
function b(e, t) {
|
|
5
5
|
return e in t || (t[e] = []), t[e];
|
|
@@ -510,14 +510,14 @@ function gt(e, t = null, n = null) {
|
|
|
510
510
|
return a;
|
|
511
511
|
}
|
|
512
512
|
//#endregion
|
|
513
|
-
//#region ../../node_modules/.
|
|
513
|
+
//#region ../../node_modules/.pnpm/@tiptap+extension-link@3.22.5_@tiptap+core@3.22.5_@tiptap+pm@3.22.5__@tiptap+pm@3.22.5/node_modules/@tiptap/extension-link/dist/index.js
|
|
514
514
|
var _t = "[\0- \xA0 -\u2029 ]", vt = new RegExp(_t), yt = RegExp(`${_t}$`), bt = new RegExp(_t, "g");
|
|
515
515
|
function xt(e) {
|
|
516
516
|
return e.length === 1 ? e[0].isLink : e.length === 3 && e[1].isLink ? ["()", "[]"].includes(e[0].value + e[2].value) : !1;
|
|
517
517
|
}
|
|
518
518
|
function St(e) {
|
|
519
|
-
return new
|
|
520
|
-
key: new
|
|
519
|
+
return new a({
|
|
520
|
+
key: new l("autolink"),
|
|
521
521
|
appendTransaction: (n, a, o) => {
|
|
522
522
|
let c = n.some((e) => e.docChanged) && !a.doc.eq(o.doc), l = n.some((e) => e.getMeta("preventAutolink"));
|
|
523
523
|
if (!c || l) return;
|
|
@@ -550,8 +550,8 @@ function St(e) {
|
|
|
550
550
|
});
|
|
551
551
|
}
|
|
552
552
|
function Ct(e) {
|
|
553
|
-
return new
|
|
554
|
-
key: new
|
|
553
|
+
return new a({
|
|
554
|
+
key: new l("handleClickLink"),
|
|
555
555
|
props: { handleClick: (t, n, r) => {
|
|
556
556
|
if (r.button !== 0 || !t.editable) return !1;
|
|
557
557
|
let i = null;
|
|
@@ -573,8 +573,8 @@ function Ct(e) {
|
|
|
573
573
|
});
|
|
574
574
|
}
|
|
575
575
|
function wt(e) {
|
|
576
|
-
return new
|
|
577
|
-
key: new
|
|
576
|
+
return new a({
|
|
577
|
+
key: new l("handlePasteLink"),
|
|
578
578
|
props: { handlePaste: (t, n, r) => {
|
|
579
579
|
let { shouldAutoLink: i } = e, { state: a } = t, { selection: o } = a, { empty: s } = o;
|
|
580
580
|
if (s) return !1;
|
|
@@ -676,19 +676,19 @@ var Et = o.create({
|
|
|
676
676
|
}
|
|
677
677
|
}];
|
|
678
678
|
},
|
|
679
|
-
renderHTML({ HTMLAttributes:
|
|
680
|
-
return this.options.isAllowedUri(
|
|
679
|
+
renderHTML({ HTMLAttributes: t }) {
|
|
680
|
+
return this.options.isAllowedUri(t.href, {
|
|
681
681
|
defaultValidate: (e) => !!$(e, this.options.protocols),
|
|
682
682
|
protocols: this.options.protocols,
|
|
683
683
|
defaultProtocol: this.options.defaultProtocol
|
|
684
684
|
}) ? [
|
|
685
685
|
"a",
|
|
686
|
-
|
|
686
|
+
e(this.options.HTMLAttributes, t),
|
|
687
687
|
0
|
|
688
688
|
] : [
|
|
689
689
|
"a",
|
|
690
|
-
|
|
691
|
-
...
|
|
690
|
+
e(this.options.HTMLAttributes, {
|
|
691
|
+
...t,
|
|
692
692
|
href: ""
|
|
693
693
|
}),
|
|
694
694
|
0
|
|
@@ -725,7 +725,7 @@ var Et = o.create({
|
|
|
725
725
|
};
|
|
726
726
|
},
|
|
727
727
|
addPasteRules() {
|
|
728
|
-
return [
|
|
728
|
+
return [n({
|
|
729
729
|
find: (e) => {
|
|
730
730
|
let t = [];
|
|
731
731
|
if (e) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./useI18n-D6m7ZUgY.js";
|
|
2
|
-
import { t } from "./useMergeTag-
|
|
3
|
-
import {
|
|
4
|
-
import { n as s, t as c } from "./dist-
|
|
2
|
+
import { t } from "./useMergeTag-CSXcnFBc.js";
|
|
3
|
+
import { Gt as n, i as r, o as i, p as a, u as o } from "./dist-CpHKN3mI.js";
|
|
4
|
+
import { n as s, t as c } from "./dist-ENKQZrNg.js";
|
|
5
5
|
import { computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, defineComponent as m, nextTick as h, normalizeClass as g, normalizeStyle as _, openBlock as v, ref as y, toDisplayString as b, unref as x, vModelText as S, withCtx as C, withDirectives as w, withKeys as T, withModifiers as E } from "vue";
|
|
6
6
|
import { SYNTAX_PRESETS as D, getLogicMergeTagKeyword as O, getMergeTagLabel as k, isLogicMergeTagValue as A } from "@templatical/types";
|
|
7
7
|
//#region src/extensions/FontSize.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e } from "./_plugin-vue_export-helper-
|
|
1
|
+
import { n as e } from "./_plugin-vue_export-helper-BHUPLLh1.js";
|
|
2
2
|
var t = e("image-up", [
|
|
3
3
|
["path", {
|
|
4
4
|
d: "M10.3 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v10l-3.1-3.1a2 2 0 0 0-2.814.014L6 21",
|