@templatical/editor 0.8.3 → 0.8.5
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-CXpsSTbt.js → AiChatSidebar-uhkhnXQd.js} +14 -14
- package/dist/{AiFeatureMenu-De9ow6Ej.js → AiFeatureMenu-DXNKvXP5.js} +8 -8
- package/dist/{BlockIssueBadge-FEuyG1p0.js → BlockIssueBadge-DM-vXeD6.js} +5 -5
- package/dist/{CloudEditor-Ccoru8Up.js → CloudEditor-BSkPQjwo.js} +23 -23
- package/dist/{CollaboratorBar-CmHq6XiL.js → CollaboratorBar-CP76Sh6c.js} +5 -5
- package/dist/{CommentsSidebar-DaWP5ZGl.js → CommentsSidebar-_llWQ4VT.js} +14 -14
- package/dist/{CountdownBlock-C51M6s-J.js → CountdownBlock-I99sC0C5.js} +4 -4
- package/dist/{CountdownToolbar-C2QkG8S0.js → CountdownToolbar-BUhOUiQ9.js} +4 -4
- package/dist/{DesignReferenceSidebar-BwIRFmpA.js → DesignReferenceSidebar-CfJqJ7l6.js} +11 -11
- package/dist/{IssuesPanel-B6ukjc1i.js → IssuesPanel-4MKZe8yP.js} +8 -8
- package/dist/{LoadingTrack-CZ6tO326.js → LoadingTrack-xCOLUR3o.js} +2 -2
- package/dist/{ModuleBrowserModal-0n6DoZtA.js → ModuleBrowserModal-BFQTm6uY.js} +11 -11
- package/dist/{ModulePreviewCanvas-DEtTEvMM.js → ModulePreviewCanvas-DeqMpo73.js} +3 -3
- package/dist/{NumberWithSuffix-wOM0319c.js → NumberWithSuffix-CxMFy_j3.js} +4 -4
- package/dist/{ParagraphEditor-PQZp1plL.js → ParagraphEditor-DqomSbW3.js} +28 -28
- package/dist/{RichTextEditorContent-C02UzFoS.js → RichTextEditorContent-B_KCY6T1.js} +6 -6
- package/dist/{SaveModuleDialog-WWMn87Oi.js → SaveModuleDialog-DKcpPeWd.js} +7 -7
- package/dist/{SnapshotHistory-Dy_Iy7VG.js → SnapshotHistory-Z9RQj53S.js} +10 -10
- package/dist/{TemplateScoringPanel-BpQgtaDl.js → TemplateScoringPanel-BIwEwFxD.js} +15 -15
- package/dist/{TestEmailModal--4EVFj1A.js → TestEmailModal-C8DhylO1.js} +5 -5
- package/dist/{TitleEditor-C6z6Jzeg.js → TitleEditor-CgLrn6R3.js} +15 -15
- package/dist/{TplModal-D5xlYbls.js → TplModal-CbwRwmR3.js} +4 -4
- package/dist/{blockTypeIcons-jZR-IBPY.js → blockTypeIcons-CccKujXP.js} +2 -2
- package/dist/bundle-stats.json +6 -6
- package/dist/cdn/chunks/{AiFeatureMenu-8gbvVwXD.js → AiFeatureMenu-ChNv7XXj.js} +3 -3
- package/dist/cdn/chunks/{AiFeatureMenu-8gbvVwXD.js.map → AiFeatureMenu-ChNv7XXj.js.map} +1 -1
- package/dist/cdn/chunks/{BlockIssueBadge-CYoY-wyI.js → BlockIssueBadge-BovmWgok.js} +3 -3
- package/dist/cdn/chunks/{BlockIssueBadge-CYoY-wyI.js.map → BlockIssueBadge-BovmWgok.js.map} +1 -1
- package/dist/cdn/chunks/{CloudEditor-DGAV0qxk.js → CloudEditor-CHF_P5OL.js} +9 -9
- package/dist/cdn/chunks/{CloudEditor-DGAV0qxk.js.map → CloudEditor-CHF_P5OL.js.map} +1 -1
- package/dist/cdn/chunks/{CollaboratorBar-BrzkrQJM.js → CollaboratorBar-Bjr5YSh0.js} +5 -5
- package/dist/cdn/chunks/{CollaboratorBar-BrzkrQJM.js.map → CollaboratorBar-Bjr5YSh0.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownBlock-BSEKrpZY.js → CountdownBlock-KyzvhjMF.js} +4 -4
- package/dist/cdn/chunks/{CountdownBlock-BSEKrpZY.js.map → CountdownBlock-KyzvhjMF.js.map} +1 -1
- package/dist/cdn/chunks/{CountdownToolbar-DME9toD5.js → CountdownToolbar-bJtMHGYz.js} +5 -5
- package/dist/cdn/chunks/{CountdownToolbar-DME9toD5.js.map → CountdownToolbar-bJtMHGYz.js.map} +1 -1
- package/dist/cdn/chunks/{IssuesPanel-BqGOXisb.js → IssuesPanel-DFSYTQXy.js} +4 -4
- package/dist/cdn/chunks/{IssuesPanel-BqGOXisb.js.map → IssuesPanel-DFSYTQXy.js.map} +1 -1
- package/dist/cdn/chunks/{ModuleBrowserModal-Bz2oCRS9.js → ModuleBrowserModal-DS0BGRhZ.js} +6 -6
- package/dist/cdn/chunks/{ModuleBrowserModal-Bz2oCRS9.js.map → ModuleBrowserModal-DS0BGRhZ.js.map} +1 -1
- package/dist/cdn/chunks/{ModulePreviewCanvas-8i2U3rd6.js → ModulePreviewCanvas-Dwn2cA5a.js} +3 -3
- package/dist/cdn/chunks/{ModulePreviewCanvas-8i2U3rd6.js.map → ModulePreviewCanvas-Dwn2cA5a.js.map} +1 -1
- package/dist/cdn/chunks/{NumberWithSuffix-C6HZCvvh.js → NumberWithSuffix-BNBeHv0P.js} +4 -4
- package/dist/cdn/chunks/{NumberWithSuffix-C6HZCvvh.js.map → NumberWithSuffix-BNBeHv0P.js.map} +1 -1
- package/dist/cdn/chunks/{ParagraphEditor-DfKVmv1W.js → ParagraphEditor-C4TrTIOm.js} +21 -21
- package/dist/cdn/chunks/ParagraphEditor-C4TrTIOm.js.map +1 -0
- package/dist/cdn/chunks/{RichTextEditorContent-B-HY9asd.js → RichTextEditorContent-HNFFL4aK.js} +3 -3
- package/dist/cdn/chunks/{RichTextEditorContent-B-HY9asd.js.map → RichTextEditorContent-HNFFL4aK.js.map} +1 -1
- package/dist/cdn/chunks/{SaveModuleDialog-BgwBxW_S.js → SaveModuleDialog-CbHqqeID.js} +3 -3
- package/dist/cdn/chunks/{SaveModuleDialog-BgwBxW_S.js.map → SaveModuleDialog-CbHqqeID.js.map} +1 -1
- package/dist/cdn/chunks/{TitleEditor-C2p3SosJ.js → TitleEditor-gr-eBUq_.js} +12 -12
- package/dist/cdn/chunks/TitleEditor-gr-eBUq_.js.map +1 -0
- package/dist/cdn/chunks/{blockTypeIcons-Bck6aYVw.js → blockTypeIcons-BUlgu9JL.js} +3 -3
- package/dist/cdn/chunks/{blockTypeIcons-Bck6aYVw.js.map → blockTypeIcons-BUlgu9JL.js.map} +1 -1
- package/dist/cdn/chunks/{de-RQrZR56a.js → de-CTYXVU9v.js} +1 -1
- package/dist/cdn/chunks/{de-RQrZR56a.js.map → de-CTYXVU9v.js.map} +1 -1
- package/dist/cdn/chunks/{de-DG1WWVXM.js → de-DFYCT4QU.js} +1 -1
- package/dist/cdn/chunks/{de-DG1WWVXM.js.map → de-DFYCT4QU.js.map} +1 -1
- package/dist/cdn/chunks/{de-BBEGQDsd.js → de-ED7c5RpG.js} +1 -2
- package/dist/cdn/chunks/{de-BBEGQDsd.js.map → de-ED7c5RpG.js.map} +1 -1
- package/dist/cdn/chunks/{draggable-CLpL3kf8.js → draggable-BwWMFq33.js} +2 -2
- package/dist/cdn/chunks/{draggable-CLpL3kf8.js.map → draggable-BwWMFq33.js.map} +1 -1
- package/dist/cdn/chunks/{emojiData-EMFlj6FJ.js → emojiData-6m0DBh7O.js} +1 -1
- package/dist/cdn/chunks/{emojiData-EMFlj6FJ.js.map → emojiData-6m0DBh7O.js.map} +1 -1
- package/dist/cdn/chunks/{en-Bl1ecfRF.js → en-BtmIaJeb.js} +1 -1
- package/dist/cdn/chunks/{en-Bl1ecfRF.js.map → en-BtmIaJeb.js.map} +1 -1
- package/dist/cdn/chunks/{en-BE6OV83-.js → en-DE_y1YWU.js} +1 -1
- package/dist/cdn/chunks/{en-BE6OV83-.js.map → en-DE_y1YWU.js.map} +1 -1
- package/dist/cdn/chunks/{en-CHha-_ta.js → en-ivilDUn0.js} +1 -2
- package/dist/cdn/chunks/{en-CHha-_ta.js.map → en-ivilDUn0.js.map} +1 -1
- package/dist/cdn/chunks/{extensions-DdH6DxVo.js → extensions-DK_lVs7A.js} +4 -4
- package/dist/cdn/chunks/{extensions-DdH6DxVo.js.map → extensions-DK_lVs7A.js.map} +1 -1
- package/dist/cdn/chunks/{features-BOcQhi9B.js → features-LiilsBqW.js} +1037 -1004
- package/dist/cdn/chunks/features-LiilsBqW.js.map +1 -0
- package/dist/cdn/chunks/{icons-BVyDCkxF.js → icons-Bn2SIR30.js} +2 -2
- package/dist/cdn/chunks/{icons-BVyDCkxF.js.map → icons-Bn2SIR30.js.map} +1 -1
- package/dist/cdn/chunks/{liquid.browser-cpFt-Vmw.js → liquid.browser-rMoPo2t_.js} +1 -1
- package/dist/cdn/chunks/{liquid.browser-cpFt-Vmw.js.map → liquid.browser-rMoPo2t_.js.map} +1 -1
- package/dist/cdn/chunks/{media-library-CPZI4Yxq.js → media-library-Bb2PavAd.js} +5 -5
- package/dist/cdn/chunks/{media-library-CPZI4Yxq.js.map → media-library-Bb2PavAd.js.map} +1 -1
- package/dist/cdn/chunks/{pt-BR-CQl2JxRp.js → pt-BR-B2ZvFlRL.js} +1 -1
- package/dist/cdn/chunks/{pt-BR-CQl2JxRp.js.map → pt-BR-B2ZvFlRL.js.map} +1 -1
- package/dist/cdn/chunks/{pt-BR-CFomv2R8.js → pt-BR-B5tm2iBl.js} +1 -2
- package/dist/cdn/chunks/{pt-BR-CFomv2R8.js.map → pt-BR-B5tm2iBl.js.map} +1 -1
- package/dist/cdn/chunks/{pt-BR-BYRTP5Ww.js → pt-BR-BibOQm-o.js} +1 -1
- package/dist/cdn/chunks/{pt-BR-BYRTP5Ww.js.map → pt-BR-BibOQm-o.js.map} +1 -1
- package/dist/cdn/chunks/{pusher-bjpcqCZG.js → pusher-CHo5Cua0.js} +2 -2
- package/dist/cdn/chunks/{pusher-bjpcqCZG.js.map → pusher-CHo5Cua0.js.map} +1 -1
- package/dist/cdn/chunks/{quality-Cytz80Z5.js → quality-Bpj6kNxR.js} +181 -155
- package/dist/cdn/chunks/{quality-Cytz80Z5.js.map → quality-Bpj6kNxR.js.map} +1 -1
- package/dist/cdn/chunks/{readableTextColor-DhoK4XiZ.js → readableTextColor-f8Kykfnh.js} +1 -1
- package/dist/cdn/chunks/{readableTextColor-DhoK4XiZ.js.map → readableTextColor-f8Kykfnh.js.map} +1 -1
- package/dist/cdn/chunks/{renderer-Bsqzjvsr.js → renderer-CYYyu-Di.js} +133 -99
- package/dist/cdn/chunks/{renderer-Bsqzjvsr.js.map → renderer-CYYyu-Di.js.map} +1 -1
- package/dist/cdn/chunks/{src-BRhJ_W0W.js → src-CQjZnxvw.js} +8 -8
- package/dist/cdn/chunks/{src-BRhJ_W0W.js.map → src-CQjZnxvw.js.map} +1 -1
- package/dist/cdn/chunks/{styleConstants-DP1VOca8.js → styleConstants-lGobwiLH.js} +1 -1
- package/dist/cdn/chunks/{styleConstants-DP1VOca8.js.map → styleConstants-lGobwiLH.js.map} +1 -1
- package/dist/cdn/chunks/{styles-MrOGXwzJ.js → styles-5g8XOS68.js} +11 -11
- package/dist/cdn/chunks/{styles-MrOGXwzJ.js.map → styles-5g8XOS68.js.map} +1 -1
- package/dist/cdn/chunks/{tiptap-BCvhHXDe.js → tiptap-BBbH3IT9.js} +856 -732
- package/dist/cdn/chunks/tiptap-BBbH3IT9.js.map +1 -0
- package/dist/cdn/editor.css +1 -1
- package/dist/cdn/editor.js +13 -13
- package/dist/{check-DwVS7v3N.js → check-ChQyfxJ3.js} +1 -1
- package/dist/{chevron-down-CytfFjil.js → chevron-down-DJjo0jSV.js} +1 -1
- package/dist/{circle-alert-9J8Q4fwU.js → circle-alert-CPH6l3Lc.js} +1 -1
- package/dist/{clock-CL2fYWmc.js → clock-DHl_BIkU.js} +1 -1
- package/dist/{cloud-DHsOqOnH.js → cloud-VxYMtfXC.js} +2 -2
- package/dist/{createLucideIcon-DTECxBv6.js → createLucideIcon-XgXOJ05E.js} +1 -1
- package/dist/{de-KFqjrxG3.js → de-ED7c5RpG.js} +0 -1
- package/dist/{dist-B5FKze93.js → dist-BDgf2G-V.js} +453 -314
- package/dist/{dist-BoGj0ys1.js → dist-BxP6TB0l.js} +2 -2
- package/dist/{dist-DpF3BN6Y.js → dist-BzuC8o3y.js} +451 -459
- package/dist/{dist-DiYYRj9J.js → dist-C0jo8wtG.js} +2 -2
- package/dist/{dist-3RAjjDZq.js → dist-C8wMh_gi.js} +2 -2
- package/dist/{dist-DJmnUmW9.js → dist-CIV3Brg-.js} +37 -4
- package/dist/{dist-BjSjVZRA.js → dist-CUpJmrjt.js} +2 -2
- package/dist/dist-D5lmdi1F.js +5 -0
- package/dist/{dist-D8IxYzaU.js → dist-D8C6jIXM.js} +170 -177
- package/dist/dist-DILjuzSv.js +5 -0
- package/dist/{dist-DPiqL9q5.js → dist-DXaxGLsw.js} +33 -33
- package/dist/{dist-qFGe50Kc.js → dist-DYO-w_Jf.js} +2 -2
- package/dist/{dist-CkhqaMca.js → dist-HO0vjY5Z.js} +1 -1
- package/dist/{dist-DgD8K8y0.js → dist-UK-lbEBc.js} +2 -2
- package/dist/{en-CNm94YYD.js → en-ivilDUn0.js} +0 -1
- package/dist/{extensions-BTheidN4.js → extensions-DeNHyWwh.js} +29 -29
- package/dist/{formatRelativeTime-bvx5sFh5.js → formatRelativeTime-CyDg5cDD.js} +1 -1
- package/dist/{image-up-YgXg9o1y.js → image-up-CPBCOMit.js} +1 -1
- package/dist/{info-W-213KLD.js → info-DIY9mguM.js} +1 -1
- package/dist/{keys-XS_XrjqL.js → keys-B8K7Z7Ef.js} +1 -1
- package/dist/{list-checks-BQrZlWzC.js → list-checks-CSCyu3fH.js} +1 -1
- package/dist/{loader-circle-BQPHssrF.js → loader-circle-Rz_4vJLH.js} +1 -1
- package/dist/{message-circle-iMgHXBeH.js → message-circle-D-umK_MU.js} +1 -1
- package/dist/{pt-BR-gxZZAUWp.js → pt-BR-B5tm2iBl.js} +0 -1
- package/dist/{refresh-cw-DFozdLYp.js → refresh-cw-CvWF4jfR.js} +1 -1
- package/dist/{scan-line-D3NN0Gre.js → scan-line-wanvAFDr.js} +1 -1
- package/dist/{send-DBhq0GU2.js → send-BhbhbIFT.js} +1 -1
- package/dist/{shield-check-DquM3-E5.js → shield-check-CXPPMWth.js} +1 -1
- package/dist/{sparkles-CTGknLJy.js → sparkles-CrUN0KWY.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{styles-DfdDKEGV.js → styles-Bgqv7rLA.js} +29 -29
- package/dist/templatical-editor.js +13 -13
- package/dist/{text-align-end-BPOHCD7K.js → text-align-end-Bkq8oBrD.js} +1 -1
- package/dist/{trash-2-VyX2kcG0.js → trash-2-BpY5BCLT.js} +1 -1
- package/dist/{triangle-alert-HIqW9Hwv.js → triangle-alert-MwJBKR2e.js} +1 -1
- package/dist/{useAliveFlag-t3e0dokQ.js → useAliveFlag-BLyG8L4d.js} +1 -1
- package/dist/{useCloudI18n-oETj4WiF.js → useCloudI18n-DFzVgYhJ.js} +2 -2
- package/dist/{useEditorCore-YaOoz7QB.js → useEditorCore-CaOVDL_m.js} +20 -20
- package/dist/{useI18n-tMHqPsE4.js → useI18n-CBbStVlD.js} +2 -2
- package/dist/{useMergeTag-Bv8ASt6n.js → useMergeTag-RWsgUcSh.js} +3 -3
- package/dist/usePopoverRoot-62PlZQQ3.js +8 -0
- package/dist/{vue.runtime.esm-bundler-xiAB6UTz.js → vue.runtime.esm-bundler-BDSGA5hA.js} +1 -1
- package/dist/{x-C1j-AamY.js → x-rcnxRG8Y.js} +1 -1
- package/package.json +23 -23
- package/dist/cdn/chunks/ParagraphEditor-DfKVmv1W.js.map +0 -1
- package/dist/cdn/chunks/TitleEditor-C2p3SosJ.js.map +0 -1
- package/dist/cdn/chunks/features-BOcQhi9B.js.map +0 -1
- package/dist/cdn/chunks/tiptap-BCvhHXDe.js.map +0 -1
- package/dist/dist-BWVK8w_m.js +0 -5
- package/dist/dist-UekZXGFH.js +0 -5
- package/dist/usePopoverRoot-Bs6kLsI3.js +0 -8
- /package/dist/{_plugin-vue_export-helper-B0hnzhyu.js → _plugin-vue_export-helper-B3ysoDQm.js} +0 -0
- /package/dist/cdn/chunks/{rolldown-runtime-C266TIVP.js → rolldown-runtime-Dqa2HsxW.js} +0 -0
- /package/dist/{de-GOtR9DwW.js → de-CTYXVU9v.js} +0 -0
- /package/dist/{emojiData-DrBuvEoP.js → emojiData-6m0DBh7O.js} +0 -0
- /package/dist/{en-dFFQVzNn.js → en-BtmIaJeb.js} +0 -0
- /package/dist/{liquid.browser-Dc30h4PN.js → liquid.browser-IgQrXHPQ.js} +0 -0
- /package/dist/{pt-BR-iOr79aDg.js → pt-BR-B2ZvFlRL.js} +0 -0
- /package/dist/{readableTextColor-CXzrEnNb.js → readableTextColor-f8Kykfnh.js} +0 -0
- /package/dist/{rolldown-runtime-CAFD8bLK.js → rolldown-runtime-Dy4uBu1J.js} +0 -0
- /package/dist/{styleConstants-DkfOPzGu.js → styleConstants-lGobwiLH.js} +0 -0
- /package/dist/{timeouts-BSGxjuUF.js → timeouts-Bmi_yePw.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Gt as e, J as t, K as n, L as r, Ut as i, bn as a, c as o, tt as s, y as c, yn as l } from "./dist-BzuC8o3y.js";
|
|
2
2
|
//#region ../../node_modules/.pnpm/linkifyjs@4.3.3/node_modules/linkifyjs/dist/linkify.mjs
|
|
3
3
|
var u = "aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2odyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rck0msd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2oodside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2", 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) {
|
|
@@ -510,30 +510,30 @@ function gt(e, t = null, n = null) {
|
|
|
510
510
|
return a;
|
|
511
511
|
}
|
|
512
512
|
//#endregion
|
|
513
|
-
//#region ../../node_modules/.pnpm/@tiptap+extension-link@3.23.
|
|
513
|
+
//#region ../../node_modules/.pnpm/@tiptap+extension-link@3.23.6_@tiptap+core@3.23.6_@tiptap+pm@3.23.6__@tiptap+pm@3.23.6/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
519
|
return new l({
|
|
520
|
-
key: new
|
|
521
|
-
appendTransaction: (n,
|
|
522
|
-
let
|
|
523
|
-
if (!
|
|
524
|
-
let { tr: u } =
|
|
525
|
-
if (
|
|
526
|
-
let
|
|
527
|
-
if (
|
|
528
|
-
else if (
|
|
529
|
-
let e =
|
|
520
|
+
key: new a("autolink"),
|
|
521
|
+
appendTransaction: (n, i, a) => {
|
|
522
|
+
let o = n.some((e) => e.docChanged) && !i.doc.eq(a.doc), l = n.some((e) => e.getMeta("preventAutolink"));
|
|
523
|
+
if (!o || l) return;
|
|
524
|
+
let { tr: u } = a;
|
|
525
|
+
if (t(c(i.doc, [...n])).forEach(({ newRange: t }) => {
|
|
526
|
+
let n = r(a.doc, t, (e) => e.isTextblock), i, o;
|
|
527
|
+
if (n.length > 1) i = n[0], o = a.doc.textBetween(i.pos, i.pos + i.node.nodeSize, void 0, " ");
|
|
528
|
+
else if (n.length) {
|
|
529
|
+
let e = a.doc.textBetween(t.from, t.to, " ", " ");
|
|
530
530
|
if (!yt.test(e)) return;
|
|
531
|
-
i =
|
|
531
|
+
i = n[0], o = a.doc.textBetween(i.pos, t.to, void 0, " ");
|
|
532
532
|
}
|
|
533
|
-
if (i &&
|
|
534
|
-
let t =
|
|
533
|
+
if (i && o) {
|
|
534
|
+
let t = o.split(vt).filter(Boolean);
|
|
535
535
|
if (t.length <= 0) return !1;
|
|
536
|
-
let n = t[t.length - 1], r = i.pos +
|
|
536
|
+
let n = t[t.length - 1], r = i.pos + o.lastIndexOf(n);
|
|
537
537
|
if (!n) return !1;
|
|
538
538
|
let c = ht(n).map((t) => t.toObject(e.defaultProtocol));
|
|
539
539
|
if (!xt(c)) return !1;
|
|
@@ -541,8 +541,8 @@ function St(e) {
|
|
|
541
541
|
...e,
|
|
542
542
|
from: r + e.start + 1,
|
|
543
543
|
to: r + e.end + 1
|
|
544
|
-
})).filter((e) =>
|
|
545
|
-
s(t.from, t.to,
|
|
544
|
+
})).filter((e) => a.schema.marks.code ? !a.doc.rangeHasMark(e.from, e.to, a.schema.marks.code) : !0).filter((t) => e.validate(t.value)).filter((t) => e.shouldAutoLink(t.value)).forEach((t) => {
|
|
545
|
+
s(t.from, t.to, a.doc).some((t) => t.mark.type === e.type) || u.addMark(t.from, t.to, e.type.create({ href: t.href }));
|
|
546
546
|
});
|
|
547
547
|
}
|
|
548
548
|
}), u.steps.length) return u;
|
|
@@ -551,30 +551,30 @@ function St(e) {
|
|
|
551
551
|
}
|
|
552
552
|
function Ct(e) {
|
|
553
553
|
return new l({
|
|
554
|
-
key: new
|
|
555
|
-
props: { handleClick: (t,
|
|
556
|
-
if (
|
|
557
|
-
let
|
|
558
|
-
if (
|
|
554
|
+
key: new a("handleClickLink"),
|
|
555
|
+
props: { handleClick: (t, r, i) => {
|
|
556
|
+
if (i.button !== 0 || !t.editable) return !1;
|
|
557
|
+
let a = null;
|
|
558
|
+
if (i.target instanceof HTMLAnchorElement) a = i.target;
|
|
559
559
|
else {
|
|
560
|
-
let t =
|
|
560
|
+
let t = i.target;
|
|
561
561
|
if (!t) return !1;
|
|
562
562
|
let n = e.editor.view.dom;
|
|
563
|
-
|
|
563
|
+
a = t.closest("a"), a && !n.contains(a) && (a = null);
|
|
564
564
|
}
|
|
565
|
-
if (!
|
|
566
|
-
let
|
|
567
|
-
if (e.enableClickSelection && (
|
|
568
|
-
let
|
|
569
|
-
|
|
565
|
+
if (!a) return !1;
|
|
566
|
+
let o = !1;
|
|
567
|
+
if (e.enableClickSelection && (o = e.editor.commands.extendMarkRange(e.type.name)), e.openOnClick) {
|
|
568
|
+
let r = n(t.state, e.type.name), i = a.href ?? r.href, s = a.target ?? r.target;
|
|
569
|
+
i && (window.open(i, s), o = !0);
|
|
570
570
|
}
|
|
571
|
-
return
|
|
571
|
+
return o;
|
|
572
572
|
} }
|
|
573
573
|
});
|
|
574
574
|
}
|
|
575
575
|
function wt(e) {
|
|
576
576
|
return new l({
|
|
577
|
-
key: new
|
|
577
|
+
key: new a("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;
|
|
@@ -725,7 +725,7 @@ var Et = o.create({
|
|
|
725
725
|
};
|
|
726
726
|
},
|
|
727
727
|
addPasteRules() {
|
|
728
|
-
return [
|
|
728
|
+
return [i({
|
|
729
729
|
find: (e) => {
|
|
730
730
|
let t = [];
|
|
731
731
|
if (e) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
//#region ../../node_modules/.pnpm/@tiptap+extension-underline@3.23.
|
|
1
|
+
import { Gt as e, c as t } from "./dist-BzuC8o3y.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/@tiptap+extension-underline@3.23.6_@tiptap+core@3.23.6_@tiptap+pm@3.23.6_/node_modules/@tiptap/extension-underline/dist/index.js
|
|
3
3
|
var n = t.create({
|
|
4
4
|
name: "underline",
|
|
5
5
|
addOptions() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as e, E as t, G as n, L as r, O as i, Q as a, R as o, U as s, Z as c, d as l, q as u, rt as d, tt as f, w as p, x as m } from "./vue.runtime.esm-bundler-
|
|
1
|
+
import { C as e, E as t, G as n, L as r, O as i, Q as a, R as o, U as s, Z as c, d as l, q as u, rt as d, tt as f, w as p, x as m } from "./vue.runtime.esm-bundler-BDSGA5hA.js";
|
|
2
2
|
//#region ../../node_modules/.pnpm/@vueuse+shared@14.3.0_vue@3.5.34_typescript@6.0.3_/node_modules/@vueuse/shared/dist/index.js
|
|
3
3
|
function h(e, t) {
|
|
4
4
|
return s() ? (u(e, t), !0) : !1;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as e } from "./dist-
|
|
2
|
-
//#region ../../node_modules/.pnpm/@tiptap+extension-text-align@3.23.
|
|
1
|
+
import { i as e } from "./dist-BzuC8o3y.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/@tiptap+extension-text-align@3.23.6_@tiptap+core@3.23.6_@tiptap+pm@3.23.6_/node_modules/@tiptap/extension-text-align/dist/index.js
|
|
3
3
|
var t = e.create({
|
|
4
4
|
name: "textAlign",
|
|
5
5
|
addOptions() {
|
|
@@ -388,7 +388,6 @@ var e = {
|
|
|
388
388
|
clickToEdit: "Click to edit",
|
|
389
389
|
remove: "Remove merge tag",
|
|
390
390
|
insert: "Insert merge tag",
|
|
391
|
-
add: "Add merge tag",
|
|
392
391
|
editValue: "Edit merge tag value",
|
|
393
392
|
deleteMergeTag: "Delete merge tag",
|
|
394
393
|
suggestionEmpty: "No matching merge tags"
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { A as e, B as t, E as n, M as r, S as i, X as a, a as o, at as s, b as c, c as l, d as u, f as d, h as f, l as p, m, n as h, ot as g, p as _, rt as v, s as y, st as b, z as x } from "./vue.runtime.esm-bundler-
|
|
2
|
-
import { C as S, D as C, n as w, w as T } from "./dist-
|
|
3
|
-
import { t as E } from "./useI18n-
|
|
4
|
-
import { t as D } from "./useMergeTag-
|
|
5
|
-
import {
|
|
6
|
-
import { n as
|
|
1
|
+
import { A as e, B as t, E as n, M as r, S as i, X as a, a as o, at as s, b as c, c as l, d as u, f as d, h as f, l as p, m, n as h, ot as g, p as _, rt as v, s as y, st as b, z as x } from "./vue.runtime.esm-bundler-BDSGA5hA.js";
|
|
2
|
+
import { C as S, D as C, n as w, w as T } from "./dist-CIV3Brg-.js";
|
|
3
|
+
import { t as E } from "./useI18n-CBbStVlD.js";
|
|
4
|
+
import { t as D } from "./useMergeTag-RWsgUcSh.js";
|
|
5
|
+
import { Gt as O, P as k, _n as A, bn as j, gn as M, i as N, o as P, p as F, u as I, yn as L } from "./dist-BzuC8o3y.js";
|
|
6
|
+
import { n as R, t as z } from "./dist-D8C6jIXM.js";
|
|
7
7
|
//#region src/extensions/FontSize.ts
|
|
8
|
-
var
|
|
8
|
+
var ee = N.create({
|
|
9
9
|
name: "fontSize",
|
|
10
10
|
addOptions() {
|
|
11
11
|
return { types: ["textStyle"] };
|
|
@@ -26,7 +26,7 @@ var te = j.create({
|
|
|
26
26
|
unsetFontSize: () => ({ chain: e }) => e().setMark("textStyle", { fontSize: null }).removeEmptyTextStyle().run()
|
|
27
27
|
};
|
|
28
28
|
}
|
|
29
|
-
}),
|
|
29
|
+
}), te = N.create({
|
|
30
30
|
name: "letterSpacing",
|
|
31
31
|
addOptions() {
|
|
32
32
|
return { types: ["textStyle"] };
|
|
@@ -47,7 +47,7 @@ var te = j.create({
|
|
|
47
47
|
unsetLetterSpacing: () => ({ chain: e }) => e().setMark("textStyle", { letterSpacing: null }).removeEmptyTextStyle().run()
|
|
48
48
|
};
|
|
49
49
|
}
|
|
50
|
-
}),
|
|
50
|
+
}), ne = N.create({
|
|
51
51
|
name: "lineHeight",
|
|
52
52
|
addOptions() {
|
|
53
53
|
return {
|
|
@@ -71,7 +71,7 @@ var te = j.create({
|
|
|
71
71
|
unsetLineHeight: () => ({ commands: e }) => this.options.types.every((t) => e.resetAttributes(t, "lineHeight"))
|
|
72
72
|
};
|
|
73
73
|
}
|
|
74
|
-
}),
|
|
74
|
+
}), re = [
|
|
75
75
|
"aria-label",
|
|
76
76
|
"data-tooltip",
|
|
77
77
|
"onKeydown"
|
|
@@ -107,7 +107,7 @@ var te = j.create({
|
|
|
107
107
|
function N(e) {
|
|
108
108
|
e.key === "Enter" ? (e.preventDefault(), M()) : e.key === "Escape" && (T.value = !1);
|
|
109
109
|
}
|
|
110
|
-
return (n, i) => (e(), _(v(
|
|
110
|
+
return (n, i) => (e(), _(v(z), {
|
|
111
111
|
as: "span",
|
|
112
112
|
class: s(h.value ? "tpl-logic-merge-tag-node tpl:group tpl:mx-0.5 tpl:inline-flex tpl:items-center tpl:gap-1 tpl:rounded tpl:px-1.5 tpl:py-0.5 tpl:text-[0.8em] tpl:font-bold tpl:tracking-wide tpl:uppercase tpl:select-none" : ""),
|
|
113
113
|
style: g(h.value ? "background-color: transparent; border: 1.5px solid color-mix(in srgb, var(--tpl-primary) 50%, transparent); color: var(--tpl-primary);" : ""),
|
|
@@ -131,7 +131,7 @@ var te = j.create({
|
|
|
131
131
|
"data-tooltip": r.node.attrs.value,
|
|
132
132
|
onClick: l(j, ["stop"]),
|
|
133
133
|
onKeydown: [y(l(j, ["stop"]), ["enter"]), y(l(j, ["prevent", "stop"]), ["space"])]
|
|
134
|
-
}, b(w.value), 41,
|
|
134
|
+
}, b(w.value), 41, re)) : (e(), f("span", {
|
|
135
135
|
key: 2,
|
|
136
136
|
role: "button",
|
|
137
137
|
tabindex: "0",
|
|
@@ -177,11 +177,11 @@ function U(e, t) {
|
|
|
177
177
|
//#endregion
|
|
178
178
|
//#region src/extensions/renderVueNodeView.ts
|
|
179
179
|
function W(e) {
|
|
180
|
-
return
|
|
180
|
+
return R(e);
|
|
181
181
|
}
|
|
182
182
|
//#endregion
|
|
183
183
|
//#region src/extensions/LogicMergeTagNode.ts
|
|
184
|
-
var G =
|
|
184
|
+
var G = I.create({
|
|
185
185
|
name: "logicMergeTagNode",
|
|
186
186
|
group: "inline",
|
|
187
187
|
inline: !0,
|
|
@@ -213,7 +213,7 @@ var G = P.create({
|
|
|
213
213
|
let n = S(e.attrs.value, this.options.syntax);
|
|
214
214
|
return [
|
|
215
215
|
"span",
|
|
216
|
-
|
|
216
|
+
O(t, {
|
|
217
217
|
"data-logic-merge-tag": e.attrs.value,
|
|
218
218
|
"data-keyword": n
|
|
219
219
|
}),
|
|
@@ -230,7 +230,7 @@ var G = P.create({
|
|
|
230
230
|
};
|
|
231
231
|
},
|
|
232
232
|
addInputRules() {
|
|
233
|
-
return [new
|
|
233
|
+
return [new P({
|
|
234
234
|
find: RegExp(this.options.syntax.logic.source + "$", ""),
|
|
235
235
|
handler: ({ state: e, range: t, match: n }) => {
|
|
236
236
|
let r = n[0];
|
|
@@ -244,7 +244,7 @@ var G = P.create({
|
|
|
244
244
|
})];
|
|
245
245
|
},
|
|
246
246
|
addPasteRules() {
|
|
247
|
-
return [new
|
|
247
|
+
return [new F({
|
|
248
248
|
find: new RegExp(this.options.syntax.logic.source, "g"),
|
|
249
249
|
handler: ({ state: e, range: t, match: n }) => {
|
|
250
250
|
let r = n[0];
|
|
@@ -285,7 +285,7 @@ var G = P.create({
|
|
|
285
285
|
function w(e) {
|
|
286
286
|
e.key === "Enter" ? (e.preventDefault(), C()) : e.key === "Escape" && (m.value = !1);
|
|
287
287
|
}
|
|
288
|
-
return (n, i) => (e(), _(v(
|
|
288
|
+
return (n, i) => (e(), _(v(z), {
|
|
289
289
|
as: "span",
|
|
290
290
|
class: "tpl-merge-tag-node tpl:group tpl:mx-0.5 tpl:inline-flex tpl:items-center tpl:gap-1 tpl:rounded tpl:px-1.5 tpl:py-0.5 tpl:text-[0.9em] tpl:font-medium tpl:select-none tpl:text-[var(--tpl-primary)]",
|
|
291
291
|
style: { "background-color": "color-mix(in srgb, var(--tpl-primary) 20%, transparent)" },
|
|
@@ -337,7 +337,7 @@ var G = P.create({
|
|
|
337
337
|
_: 1
|
|
338
338
|
}));
|
|
339
339
|
}
|
|
340
|
-
}), Y =
|
|
340
|
+
}), Y = I.create({
|
|
341
341
|
name: "mergeTagNode",
|
|
342
342
|
group: "inline",
|
|
343
343
|
inline: !0,
|
|
@@ -367,7 +367,7 @@ var G = P.create({
|
|
|
367
367
|
let n = T(e.attrs.value, this.options.mergeTags);
|
|
368
368
|
return [
|
|
369
369
|
"span",
|
|
370
|
-
|
|
370
|
+
O(t, {
|
|
371
371
|
"data-merge-tag": e.attrs.value,
|
|
372
372
|
"data-label": n
|
|
373
373
|
}),
|
|
@@ -390,7 +390,7 @@ var G = P.create({
|
|
|
390
390
|
};
|
|
391
391
|
},
|
|
392
392
|
addInputRules() {
|
|
393
|
-
return [new
|
|
393
|
+
return [new P({
|
|
394
394
|
find: RegExp(this.options.syntax.value.source + "$", ""),
|
|
395
395
|
handler: ({ state: e, range: t, match: n }) => {
|
|
396
396
|
let r = n[0], i = T(r, this.options.mergeTags), a = this.type.create({
|
|
@@ -402,7 +402,7 @@ var G = P.create({
|
|
|
402
402
|
})];
|
|
403
403
|
},
|
|
404
404
|
addPasteRules() {
|
|
405
|
-
return [new
|
|
405
|
+
return [new F({
|
|
406
406
|
find: new RegExp(this.options.syntax.value.source, "g"),
|
|
407
407
|
handler: ({ state: e, range: t, match: n }) => {
|
|
408
408
|
let r = n[0], i = T(r, this.options.mergeTags), a = this.type.create({
|
|
@@ -415,9 +415,9 @@ var G = P.create({
|
|
|
415
415
|
}
|
|
416
416
|
});
|
|
417
417
|
//#endregion
|
|
418
|
-
//#region ../../node_modules/.pnpm/@tiptap+suggestion@3.23.
|
|
418
|
+
//#region ../../node_modules/.pnpm/@tiptap+suggestion@3.23.6_@tiptap+core@3.23.6_@tiptap+pm@3.23.6__@tiptap+pm@3.23.6/node_modules/@tiptap/suggestion/dist/index.js
|
|
419
419
|
function ie(e) {
|
|
420
|
-
let { char: t, allowSpaces: n, allowToIncludeChar: r, allowedPrefixes: i, startOfLine: a, $position: o } = e, s = n && !r, c =
|
|
420
|
+
let { char: t, allowSpaces: n, allowToIncludeChar: r, allowedPrefixes: i, startOfLine: a, $position: o } = e, s = n && !r, c = k(t), l = RegExp(`\\s${c}$`), u = a ? "^" : "", d = r ? "" : c, f = RegExp(s ? `${u}${c}.*?(?=\\s${d}|$)` : `${u}(?:^)?${c}[^\\s${d}]*`, "gm"), p = o.nodeBefore?.isText && o.nodeBefore.text;
|
|
421
421
|
if (!p) return null;
|
|
422
422
|
let m = o.pos - p.length, h = Array.from(p.matchAll(f)).pop();
|
|
423
423
|
if (!h || h.input === void 0 || h.index === void 0) return null;
|
|
@@ -441,7 +441,7 @@ function ae(e) {
|
|
|
441
441
|
return /\s/.test(n);
|
|
442
442
|
}) : !1;
|
|
443
443
|
}
|
|
444
|
-
var oe = new
|
|
444
|
+
var oe = new j("suggestion");
|
|
445
445
|
function se({ pluginKey: e = oe, editor: t, char: n = "@", allowSpaces: r = !1, allowToIncludeChar: i = !1, allowedPrefixes: a = [" "], startOfLine: o = !1, decorationTag: s = "span", decorationClass: c = "suggestion", decorationContent: l = "", decorationEmptyClass: u = "is-empty", command: d = () => null, items: f = () => [], render: p = () => ({}), allow: m = () => !0, findSuggestionMatch: h = ie, shouldShow: g, shouldResetDismissed: _ }) {
|
|
446
446
|
let v, y = p?.(), b = r && !i, x = () => {
|
|
447
447
|
let e = t.state.selection.$anchor.pos, { top: n, right: r, bottom: i, left: a } = t.view.coordsAtPos(e);
|
|
@@ -489,7 +489,7 @@ function se({ pluginKey: e = oe, editor: t, char: n = "@", allowSpaces: r = !1,
|
|
|
489
489
|
let a = n.state.tr.setMeta(r, { exit: !0 });
|
|
490
490
|
n.dispatch(a);
|
|
491
491
|
}
|
|
492
|
-
let T = new
|
|
492
|
+
let T = new L({
|
|
493
493
|
key: e,
|
|
494
494
|
view() {
|
|
495
495
|
return {
|
|
@@ -602,7 +602,7 @@ function se({ pluginKey: e = oe, editor: t, char: n = "@", allowSpaces: r = !1,
|
|
|
602
602
|
let { active: t, range: n, decorationId: r, query: i } = T.getState(e);
|
|
603
603
|
if (!t) return null;
|
|
604
604
|
let a = !i?.length, o = [c];
|
|
605
|
-
return a && o.push(u),
|
|
605
|
+
return a && o.push(u), A.create(e.doc, [M.inline(n.from, n.to, {
|
|
606
606
|
nodeName: s,
|
|
607
607
|
class: o.join(" "),
|
|
608
608
|
"data-decoration-id": r,
|
|
@@ -667,7 +667,7 @@ function Q(e, t) {
|
|
|
667
667
|
function $(e, t, n, r) {
|
|
668
668
|
return t.length === 0 ? e.key === "Enter" || e.key === "Tab" : e.key === "ArrowDown" ? (n.value = (n.value + 1) % t.length, !0) : e.key === "ArrowUp" ? (n.value = (n.value - 1 + t.length) % t.length, !0) : e.key === "Enter" || e.key === "Tab" ? (r(t[n.value]), !0) : !1;
|
|
669
669
|
}
|
|
670
|
-
var he =
|
|
670
|
+
var he = N.create({
|
|
671
671
|
name: "mergeTagSuggestion",
|
|
672
672
|
addOptions() {
|
|
673
673
|
return {
|
|
@@ -797,4 +797,4 @@ var he = j.create({
|
|
|
797
797
|
}
|
|
798
798
|
});
|
|
799
799
|
//#endregion
|
|
800
|
-
export {
|
|
800
|
+
export { ee as FontSize, te as LetterSpacing, ne as LineHeight, G as LogicMergeTagNode, Y as MergeTagNode, he as MergeTagSuggestion, Q as filterMergeTags, $ as handleSuggestionKeyDown };
|
|
@@ -4,7 +4,7 @@ function r(r, i, a, o) {
|
|
|
4
4
|
let s = new Date(r).getTime();
|
|
5
5
|
if (Number.isNaN(s)) return null;
|
|
6
6
|
let c = Date.now() - s;
|
|
7
|
-
if (c < -
|
|
7
|
+
if (c < -6e4) return null;
|
|
8
8
|
let l = Math.floor(c / e), u = Math.floor(c / t), d = Math.floor(c / n);
|
|
9
9
|
return l < 1 ? i.justNow : l < 60 ? a ? a(i.minutesAgo, { minutes: l }) : i.minutesAgo.replace("{minutes}", String(l)) : u < 24 ? a ? a(i.hoursAgo, { hours: u }) : i.hoursAgo.replace("{hours}", String(u)) : o !== void 0 && d >= o ? null : a ? a(i.daysAgo, { days: d }) : i.daysAgo.replace("{days}", String(d));
|
|
10
10
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { w as e } from "./vue.runtime.esm-bundler-
|
|
1
|
+
import { w as e } from "./vue.runtime.esm-bundler-BDSGA5hA.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("mergeTags"), p = Symbol("mergeTagSyntax"), m = Symbol("onRequestMergeTag"), h = Symbol("mergeTagAutocomplete"), g = Symbol("onRequestMedia"), _ = Symbol("displayConditions"), v = Symbol("allowCustomConditions"), y = Symbol("capabilities"), b = Symbol("keyboardReorder"), x = Symbol("templateLint"), S = Symbol("editorRoot"), C = Symbol("popoverRoot"), w = Symbol("authManager"), T = Symbol("aiConfig"), E = Symbol("comments"), D = Symbol("savedModulesHeadless"), O = Symbol("scoring"), k = Symbol("cloudTranslations");
|
|
4
4
|
function A(t, n) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./createLucideIcon-
|
|
1
|
+
import { t as e } from "./createLucideIcon-XgXOJ05E.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"
|
|
@@ -388,7 +388,6 @@ var e = {
|
|
|
388
388
|
clickToEdit: "Clique para editar",
|
|
389
389
|
remove: "Remover merge tag",
|
|
390
390
|
insert: "Inserir merge tag",
|
|
391
|
-
add: "Adicionar merge tag",
|
|
392
391
|
editValue: "Editar valor da merge tag",
|
|
393
392
|
deleteMergeTag: "Excluir merge tag",
|
|
394
393
|
suggestionEmpty: "Nenhuma merge tag correspondente"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./createLucideIcon-
|
|
1
|
+
import { t as e } from "./createLucideIcon-XgXOJ05E.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,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./createLucideIcon-
|
|
1
|
+
import { t as e } from "./createLucideIcon-XgXOJ05E.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-XgXOJ05E.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-XgXOJ05E.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",
|