vue-stream-markdown 0.1.4 → 0.1.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/README.md +3 -1
- package/dist/arrow-left-C5s0Sn8o.js +25 -0
- package/dist/{blockquote-DdEg2gww.js → blockquote-bkADuiGm.js} +1 -9
- package/dist/{button-jFTF378X.js → button-BQhuT7wh.js} +2 -3
- package/dist/button-JYC8d-B-.js +5 -0
- package/dist/{code-BxWvKFxG.js → code-DF8PTNol.js} +10 -18
- package/dist/code-block-BhMDz2ZL.js +9 -0
- package/dist/{code-block-uZcUI59D.js → code-block-Dm2wl0cb.js} +60 -65
- package/dist/{composables-Cx0nvyHl.js → composables-yny5gJo3.js} +495 -227
- package/dist/{delete-BdWzKJCy.js → delete-D17YBeI-.js} +1 -9
- package/dist/dropdown-Y5_Z4a_u.js +5 -0
- package/dist/{emphasis-CTuGt1Ok.js → emphasis-B-2R_0Q5.js} +1 -9
- package/dist/{en-US-Bfc50l3I.js → en-US-Kw2LYAMk.js} +7 -1
- package/dist/{error-component-Bhl770lu.js → error-component-Bb0gIZsx.js} +1 -1
- package/dist/error-component-DEIWb6kB.js +4 -0
- package/dist/flip-horizontal-BFWjqDbQ.js +25 -0
- package/dist/{heading-2vpQQtTH.js → heading-DyJIwNrN.js} +1 -9
- package/dist/{html-DL0PcUXX.js → html-DXNqMvt_.js} +0 -8
- package/dist/{image-BDtPwitR.js → image-BPhFn1xp.js} +38 -75
- package/dist/image-DXBD47sF.js +8 -0
- package/dist/image-DvOGBhi-.js +327 -0
- package/dist/index.css +44 -64
- package/dist/index.d.ts +115 -70
- package/dist/index.js +42 -61
- package/dist/{inline-code-CBoqhfz7.js → inline-code-C44UJ2TH.js} +0 -8
- package/dist/{inline-math-CAqboT7h.js → inline-math-wO1rMt9T.js} +2 -10
- package/dist/{link-C8BSlPhZ.js → link-sGo7CEll.js} +3 -11
- package/dist/{list-BCiFKGaz.js → list-C0I1ysSI.js} +1 -9
- package/dist/{list-item-p-OLUR_9.js → list-item-BoC2wKBL.js} +1 -9
- package/dist/{math-CT1TB2pK.js → math-BlqtUf2r.js} +2 -10
- package/dist/{mermaid-CYrA8rCl.js → mermaid-Ka1jnXrR.js} +6 -14
- package/dist/modal-Duhc-vVa.js +4 -0
- package/dist/modal-Rc_RoeYA.js +94 -0
- package/dist/node-list-C1je2nLd.js +3 -0
- package/dist/{node-list-CGr_EVtn.js → node-list-YhpHXdM_.js} +0 -16
- package/dist/{paragraph-DYjqr_Sa.js → paragraph-BN-4-Dn7.js} +1 -9
- package/dist/previewers-D0VVcdjL.js +10 -0
- package/dist/rotate-ccw-square-C2KVFUF3.js +24 -0
- package/dist/{segmented-DBW9ignu.js → segmented-CaC54iz_.js} +1 -1
- package/dist/segmented-XdoLnuuq.js +6 -0
- package/dist/{shiki-bQYWLdW3.js → shiki-sJNZTn1K.js} +4 -12
- package/dist/spin-wM2KE8mO.js +3 -0
- package/dist/{strong-CvOjLZiq.js → strong-NdAS3VjP.js} +1 -9
- package/dist/{table-l_3z210v.js → table-CWX5B2i1.js} +11 -16
- package/dist/table-R9gmCXm_.js +3 -0
- package/dist/{text-DuONUqRA.js → text-DpleLvNh.js} +0 -8
- package/dist/{thematic-break-CcNPEI9Y.js → thematic-break-D5GvzU5S.js} +0 -8
- package/dist/tooltip-BJDs-A8d.js +4 -0
- package/dist/tooltip-Bgbzbk4Q.js +68 -0
- package/dist/{vanilla-CFWVwBvD.js → vanilla-BTOVqKl7.js} +1 -1
- package/dist/vanilla-DA5bwIkr.js +4 -0
- package/dist/{yaml-DJHrmzSe.js → yaml-y0snrPRx.js} +1 -9
- package/dist/{zh-CN-CL1XGe0H.js → zh-CN-Dfow4Yn2.js} +7 -1
- package/dist/{zoom-container-gjQ0EMyk.js → zoom-container-B1qbA-7z.js} +52 -23
- package/dist/zoom-container-KztuE4ri.js +6 -0
- package/package.json +9 -10
- package/dist/button-D6ccVxGm.js +0 -5
- package/dist/code-block-B72JfFy-.js +0 -9
- package/dist/dropdown-oiCw8QVq.js +0 -5
- package/dist/error-component-8y13-fYG.js +0 -4
- package/dist/modal-CuQR21UD.js +0 -71
- package/dist/modal-DcpxxDDX.js +0 -3
- package/dist/node-list-lgY1wbfQ.js +0 -3
- package/dist/previewers-ByaS2Ksa.js +0 -10
- package/dist/segmented-B4IEw3wg.js +0 -6
- package/dist/spin-Bz4zGBEo.js +0 -3
- package/dist/table-CZLbUHiJ.js +0 -3
- package/dist/tooltip-3UDC9mw-.js +0 -71
- package/dist/tooltip-CAoc_U1X.js +0 -4
- package/dist/vanilla-De7W3PpS.js +0 -4
- package/dist/zoom-container-DBgGdbJS.js +0 -6
- /package/dist/{angular-Chs-UKBr.js → angular-Mip1mspI.js} +0 -0
- /package/dist/{angular-component-Cc_FANXU.js → angular-component-Cq5UbX7R.js} +0 -0
- /package/dist/{apache-COYnc6xR.js → apache-BSq7fX32.js} +0 -0
- /package/dist/{asciidoc-BabXBDAL.js → asciidoc-DS-PMOLv.js} +0 -0
- /package/dist/{assembly-CDqKhexW.js → assembly-BPatlOM7.js} +0 -0
- /package/dist/{astro-C9kftzFG.js → astro-CSD_ZjXp.js} +0 -0
- /package/dist/{bash-Ce4pNIkV.js → bash-RITislE1.js} +0 -0
- /package/dist/{batch-CHQBRjFL.js → batch-DWPShYhN.js} +0 -0
- /package/dist/{bicep-8jxWtuBF.js → bicep-C6BEHfP6.js} +0 -0
- /package/dist/{c-FBUef746.js → c-DNo3tsNy.js} +0 -0
- /package/dist/{check-C4xOk8um.js → check-BfpxIITS.js} +0 -0
- /package/dist/{chevron-down-cnOJ4h1g.js → chevron-down-LeNeemjn.js} +0 -0
- /package/dist/{circle-alert-CLX-h5rZ.js → circle-alert-BjDuIzgc.js} +0 -0
- /package/dist/{clojure-BulUroSy.js → clojure-C1DEYHW0.js} +0 -0
- /package/dist/{cmake-CW3vz1Mo.js → cmake-B69mdXcH.js} +0 -0
- /package/dist/{cobol-CIn3oFju.js → cobol-qmL-zIWi.js} +0 -0
- /package/dist/{code-D8LSp8rK.js → code-D9CiymEK.js} +0 -0
- /package/dist/{codeowners-CJggXF_b.js → codeowners-Crklt5nF.js} +0 -0
- /package/dist/{coffeescript-CBrVvzGY.js → coffeescript-k3huSp23.js} +0 -0
- /package/dist/{copy-Cabve0xf.js → copy-C4580J93.js} +0 -0
- /package/dist/{cpp-BTKeuyd-.js → cpp-Cn3MB35e.js} +0 -0
- /package/dist/{crystal-DyIYvZbm.js → crystal-D5aGETSx.js} +0 -0
- /package/dist/{csharp-NqZ1vyF9.js → csharp-CgkTkbPx.js} +0 -0
- /package/dist/{css-BpR5Lajb.js → css-DRH4n_IV.js} +0 -0
- /package/dist/{csv-eCMFnKKK.js → csv-D5nNTIzO.js} +0 -0
- /package/dist/{cue-TY97dGOQ.js → cue-B5mC88-N.js} +0 -0
- /package/dist/{d-NftUsdTd.js → d-BdQRMgma.js} +0 -0
- /package/dist/{dart-DJpwZZbk.js → dart-BGnfn0NN.js} +0 -0
- /package/dist/{database-aZwE71Px.js → database-Ca1VGX7u.js} +0 -0
- /package/dist/{diff-CYRzypaU.js → diff-DVaTsnqu.js} +0 -0
- /package/dist/{docker-CxHBuukH.js → docker-E47qYlmL.js} +0 -0
- /package/dist/{download-Bnn7rtYw.js → download-DytrK56a.js} +0 -0
- /package/dist/{elixir-BKSxVc1h.js → elixir-C-jqqu6q.js} +0 -0
- /package/dist/{elm-DScuAf3X.js → elm-CmeHvaWl.js} +0 -0
- /package/dist/{env-CDAKsodl.js → env-Ck1BHoxR.js} +0 -0
- /package/dist/{erlang-D2M1ZL3m.js → erlang-CIP8kpGJ.js} +0 -0
- /package/dist/{eye-CdeX8PhP.js → eye-TaEwQS2Z.js} +0 -0
- /package/dist/{fortran-CORyQ0wt.js → fortran-DJVP2s7V.js} +0 -0
- /package/dist/{fsharp-BJz_Jgpl.js → fsharp-Bp6mUcG0.js} +0 -0
- /package/dist/{git-DgrlTr1E.js → git-BDcqJ1Gp.js} +0 -0
- /package/dist/{gleam-t_xad9Kw.js → gleam-JLiZVlev.js} +0 -0
- /package/dist/{go-Cvlh1xtL.js → go-ClcCiS7e.js} +0 -0
- /package/dist/{graphql-ApIm0mDD.js → graphql-D2RDo-DF.js} +0 -0
- /package/dist/{groovy-CaLnK8PV.js → groovy-DLZBw8xE.js} +0 -0
- /package/dist/{haml-MwijEO_6.js → haml-Da74jRwZ.js} +0 -0
- /package/dist/{handlebars-CKdUPI9h.js → handlebars-CNgS57Sz.js} +0 -0
- /package/dist/{haskell-NPOXEnck.js → haskell-DCvfD6VB.js} +0 -0
- /package/dist/{haxe-DyKBMsDE.js → haxe-CHVK1TId.js} +0 -0
- /package/dist/{html-CMgES1dE.js → html-Du4235Z-.js} +0 -0
- /package/dist/{http-B9FFNmUr.js → http-B8VAFeQ5.js} +0 -0
- /package/dist/{image-CMZAakWu.js → image-D8MZj4W5.js} +0 -0
- /package/dist/{java-iU-L9wJz.js → java-CoSdnK1N.js} +0 -0
- /package/dist/{javascript-DtnWdTFC.js → javascript-BCDeVll0.js} +0 -0
- /package/dist/{jinja-CoWszo_D.js → jinja-DYbiqZy0.js} +0 -0
- /package/dist/{json-C80qKCnh.js → json-CdzCyWJA.js} +0 -0
- /package/dist/{julia-DG2BCBLx.js → julia-pswJGtpP.js} +0 -0
- /package/dist/{kdl-7twRfIlJ.js → kdl-M8rfQ85l.js} +0 -0
- /package/dist/{kotlin-BjrOgP7R.js → kotlin-CfCV33oB.js} +0 -0
- /package/dist/{latex-DIQfUvG8.js → latex-DK8DFhTm.js} +0 -0
- /package/dist/{less-BJ1yEAWt.js → less-BFnNZiIs.js} +0 -0
- /package/dist/{link-DeV4CQOB.js → link-C7eU_yi-.js} +0 -0
- /package/dist/{liquid-BqKFZ1wQ.js → liquid-C8h46DoX.js} +0 -0
- /package/dist/{lisp-oekhB2ti.js → lisp-C3FbGuD1.js} +0 -0
- /package/dist/{log-D1XEqR9q.js → log-D-O3FXf2.js} +0 -0
- /package/dist/{lua-C5Q97-1D.js → lua-BC_aR1_i.js} +0 -0
- /package/dist/{luau-BT8KwqZ2.js → luau-DFUOrNN7.js} +0 -0
- /package/dist/{makefile-B4a0ciG4.js → makefile-Ck67veVV.js} +0 -0
- /package/dist/{markdown-DvNyKsiJ.js → markdown-BX13X3kd.js} +0 -0
- /package/dist/{marko-BzsIf6bg.js → marko-CQE8YTCc.js} +0 -0
- /package/dist/{matlab-cMBkmDhQ.js → matlab-Bd9O2Ml3.js} +0 -0
- /package/dist/{maximize-4PIqBONS.js → maximize-CDZ9rnYF.js} +0 -0
- /package/dist/{mermaid-8JIH2gkQ.js → mermaid-Dv-Pr0W-.js} +0 -0
- /package/dist/{minimize-BJ8htyDF.js → minimize-B9ER7p2X.js} +0 -0
- /package/dist/{nextflow-DNmqU1xg.js → nextflow-D3lDq1Yi.js} +0 -0
- /package/dist/{nginx-DDfYF_rj.js → nginx-CgsqCL4l.js} +0 -0
- /package/dist/{nim-D9xEmy4k.js → nim-BJdSu3c6.js} +0 -0
- /package/dist/{nix-BV1Deshw.js → nix-B7K_D6CN.js} +0 -0
- /package/dist/{ocaml-BkFn4LL3.js → ocaml-gYS1Y45s.js} +0 -0
- /package/dist/{perl-BytUHDE7.js → perl-DXFhFWhI.js} +0 -0
- /package/dist/{php-BImJJtNM.js → php-We35bF4E.js} +0 -0
- /package/dist/{postcss-CrZ9_0sT.js → postcss-BWovY_YV.js} +0 -0
- /package/dist/{powershell-DYSGu7TM.js → powershell-C6teiBsq.js} +0 -0
- /package/dist/{prisma-BhRvcOFY.js → prisma-UyJEg0_X.js} +0 -0
- /package/dist/{prolog-DuaCKek_.js → prolog-YZsPgdnw.js} +0 -0
- /package/dist/{properties-BbIJwuP-.js → properties-DaPbL0e2.js} +0 -0
- /package/dist/{proto-CE0aVW11.js → proto-1LIwu2O1.js} +0 -0
- /package/dist/{pug-B1-IC-Tc.js → pug-CzkUK-Ec.js} +0 -0
- /package/dist/{puppet-8nYquiMG.js → puppet-CNhB1MHb.js} +0 -0
- /package/dist/{python-DhRyfBrD.js → python-B_hgEobv.js} +0 -0
- /package/dist/{r-Cjje17IA.js → r-CVeKYmPK.js} +0 -0
- /package/dist/{racket-Dx0gMnpg.js → racket-D5UfvXuw.js} +0 -0
- /package/dist/{razor-DPht_bdD.js → razor-RIKaANTN.js} +0 -0
- /package/dist/{ruby-B8RxtCzI.js → ruby-C8wV0pMO.js} +0 -0
- /package/dist/{rust-Cjtli6yf.js → rust-75Gei1mP.js} +0 -0
- /package/dist/{sass-Dv3DMzjs.js → sass-Cq68xmQ4.js} +0 -0
- /package/dist/{scala-B7bZGKXq.js → scala-C_E5rjSc.js} +0 -0
- /package/dist/{scheme-B2PsEdVN.js → scheme-Bm-q-nLL.js} +0 -0
- /package/dist/{shader-BZzu3zGr.js → shader-DPaRkMCs.js} +0 -0
- /package/dist/{shiki-token-renderer-D164wC7Y.js → shiki-token-renderer-CLmUjKa3.js} +0 -0
- /package/dist/{solidity-CLieFYpL.js → solidity-DvHG_0CD.js} +0 -0
- /package/dist/{spin-Ds5W7qC_.js → spin--f5jNjBn.js} +0 -0
- /package/dist/{stata-C0yUiO47.js → stata-DoVloJLm.js} +0 -0
- /package/dist/{svelte-rtF4yNGL.js → svelte-tlbA11de.js} +0 -0
- /package/dist/{swift-CzvYoIM0.js → swift-BZn5eRnK.js} +0 -0
- /package/dist/{table-4ec9FVB_.js → table-CaUMjs4M.js} +0 -0
- /package/dist/{terraform-CD_BZGb-.js → terraform-c5-k7yB1.js} +0 -0
- /package/dist/{text-D1-vbZ7l.js → text-DPCGWvDK.js} +0 -0
- /package/dist/{toml-C6jUF0Xd.js → toml-DdLGBe1A.js} +0 -0
- /package/dist/{twig-C4dfP84J.js → twig-D_jzZxh6.js} +0 -0
- /package/dist/{typescript-Bk-pp-cK.js → typescript-B95hq2ns.js} +0 -0
- /package/dist/{typst-DPCpaVSH.js → typst-CSAEQ4yK.js} +0 -0
- /package/dist/{v-nRGMJ2Ki.js → v-BAhebuOB.js} +0 -0
- /package/dist/{vala-B78bKcY0.js → vala-RAu83-lp.js} +0 -0
- /package/dist/{verilog-CRpkl76S.js → verilog-BgmTn52U.js} +0 -0
- /package/dist/{vim-DpKnut7b.js → vim-c8oTCLkH.js} +0 -0
- /package/dist/{vue-D5eadhjo.js → vue-TGT6HTBA.js} +0 -0
- /package/dist/{xml-Dvx5F-hl.js → xml-C1HDr874.js} +0 -0
- /package/dist/{yaml-n1S8nAOh.js → yaml-BO7FjFQZ.js} +0 -0
- /package/dist/{zig-R-iFzxfW.js → zig-qANBp1SU.js} +0 -0
- /package/dist/{zoomIn-CEukuh3x.js → zoomIn-iVMAUxIz.js} +0 -0
- /package/dist/{zoomOut-qlzQyQli.js → zoomOut-Cxq1_dIQ.js} +0 -0
package/dist/index.js
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import { t as CODE_PREVIEWERS } from "./previewers-
|
|
2
|
-
import { A as
|
|
3
|
-
import { t as node_list_default } from "./node-list-
|
|
1
|
+
import { t as CODE_PREVIEWERS } from "./previewers-D0VVcdjL.js";
|
|
2
|
+
import { A as svgToPngBlob, B as useFloatingElement, C as findNodeParent, D as flow, E as hasShiki, F as DEFAULT_DARK_THEME, H as useContext, I as DEFAULT_LIGHT_THEME, L as LANGUAGE_ALIAS, M as SHADCN_SCHEMAS, N as ICONS, O as save, P as DEFAULT_HARDEN_OPTIONS, R as LANGUAGE_EXTENSIONS, S as findLastLeafNode, T as hasMermaid, U as useCodeOptions, V as useControls, _ as escapeMarkdownTableCell, a as useMediumZoom, b as tableDataToMarkdown, c as _defineProperty, d as SUPPORT_LANGUAGES, f as currentLocale, g as useHardenSanitizers, h as localesGlob, i as useMermaid, j as transformUrl, k as saveImage, l as useKatex, m as localeMessages, n as useTailwindV3Theme, o as useMathRenderer, p as loadLocaleMessages, r as useShiki, t as useZoom, u as useI18n, v as extractTableDataFromElement, w as hasKatex, x as tableDataToTSV, y as tableDataToCSV, z as LANGUAGE_ICONS } from "./composables-yny5gJo3.js";
|
|
3
|
+
import { t as node_list_default } from "./node-list-YhpHXdM_.js";
|
|
4
4
|
import { computed, createElementBlock, createVNode, defineAsyncComponent, defineComponent, mergeProps, normalizeClass, onBeforeUnmount, openBlock, ref, toRefs, unref, watch } from "vue";
|
|
5
|
-
import mediumZoom from "medium-zoom";
|
|
6
5
|
import { MarkdownItAsync } from "markdown-it-async";
|
|
7
6
|
import remend from "remend";
|
|
8
|
-
import "medium-zoom/dist/style.css";
|
|
9
7
|
|
|
10
8
|
//#region rolldown:runtime
|
|
11
9
|
var __create = Object.create;
|
|
@@ -50,40 +48,41 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
50
48
|
//#endregion
|
|
51
49
|
//#region src/components/renderers/index.ts
|
|
52
50
|
const NODE_RENDERERS = {
|
|
53
|
-
blockquote: defineAsyncComponent(() => import("./blockquote-
|
|
54
|
-
code: defineAsyncComponent(() => import("./code-
|
|
55
|
-
delete: defineAsyncComponent(() => import("./delete-
|
|
56
|
-
emphasis: defineAsyncComponent(() => import("./emphasis-
|
|
57
|
-
heading: defineAsyncComponent(() => import("./heading-
|
|
58
|
-
image: defineAsyncComponent(() => import("./image-
|
|
59
|
-
inlineCode: defineAsyncComponent(() => import("./inline-code-
|
|
60
|
-
inlineMath: defineAsyncComponent(() => import("./inline-math-
|
|
61
|
-
link: defineAsyncComponent(() => import("./link-
|
|
62
|
-
list: defineAsyncComponent(() => import("./list-
|
|
63
|
-
listItem: defineAsyncComponent(() => import("./list-item-
|
|
64
|
-
math: defineAsyncComponent(() => import("./math-
|
|
65
|
-
paragraph: defineAsyncComponent(() => import("./paragraph-
|
|
66
|
-
strong: defineAsyncComponent(() => import("./strong-
|
|
67
|
-
table: defineAsyncComponent(() => import("./table-
|
|
68
|
-
text: defineAsyncComponent(() => import("./text-
|
|
69
|
-
thematicBreak: defineAsyncComponent(() => import("./thematic-break-
|
|
70
|
-
yaml: defineAsyncComponent(() => import("./yaml-
|
|
51
|
+
blockquote: defineAsyncComponent(() => import("./blockquote-bkADuiGm.js")),
|
|
52
|
+
code: defineAsyncComponent(() => import("./code-DF8PTNol.js")),
|
|
53
|
+
delete: defineAsyncComponent(() => import("./delete-D17YBeI-.js")),
|
|
54
|
+
emphasis: defineAsyncComponent(() => import("./emphasis-B-2R_0Q5.js")),
|
|
55
|
+
heading: defineAsyncComponent(() => import("./heading-DyJIwNrN.js")),
|
|
56
|
+
image: defineAsyncComponent(() => import("./image-BPhFn1xp.js")),
|
|
57
|
+
inlineCode: defineAsyncComponent(() => import("./inline-code-C44UJ2TH.js")),
|
|
58
|
+
inlineMath: defineAsyncComponent(() => import("./inline-math-wO1rMt9T.js")),
|
|
59
|
+
link: defineAsyncComponent(() => import("./link-sGo7CEll.js")),
|
|
60
|
+
list: defineAsyncComponent(() => import("./list-C0I1ysSI.js")),
|
|
61
|
+
listItem: defineAsyncComponent(() => import("./list-item-BoC2wKBL.js")),
|
|
62
|
+
math: defineAsyncComponent(() => import("./math-BlqtUf2r.js")),
|
|
63
|
+
paragraph: defineAsyncComponent(() => import("./paragraph-BN-4-Dn7.js")),
|
|
64
|
+
strong: defineAsyncComponent(() => import("./strong-NdAS3VjP.js")),
|
|
65
|
+
table: defineAsyncComponent(() => import("./table-CWX5B2i1.js")),
|
|
66
|
+
text: defineAsyncComponent(() => import("./text-DpleLvNh.js")),
|
|
67
|
+
thematicBreak: defineAsyncComponent(() => import("./thematic-break-D5GvzU5S.js")),
|
|
68
|
+
yaml: defineAsyncComponent(() => import("./yaml-y0snrPRx.js"))
|
|
71
69
|
};
|
|
72
70
|
|
|
73
71
|
//#endregion
|
|
74
72
|
//#region src/components/index.ts
|
|
75
|
-
const
|
|
76
|
-
Button: defineAsyncComponent(() => import("./button-
|
|
77
|
-
CodeBlock: defineAsyncComponent(() => import("./code-block-
|
|
78
|
-
Dropdown: defineAsyncComponent(() => import("./dropdown-
|
|
79
|
-
ErrorComponent: defineAsyncComponent(() => import("./error-component-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
73
|
+
const UI = {
|
|
74
|
+
Button: defineAsyncComponent(() => import("./button-JYC8d-B-.js")),
|
|
75
|
+
CodeBlock: defineAsyncComponent(() => import("./code-block-BhMDz2ZL.js")),
|
|
76
|
+
Dropdown: defineAsyncComponent(() => import("./dropdown-Y5_Z4a_u.js")),
|
|
77
|
+
ErrorComponent: defineAsyncComponent(() => import("./error-component-DEIWb6kB.js")),
|
|
78
|
+
Image: defineAsyncComponent(() => import("./image-DXBD47sF.js")),
|
|
79
|
+
Modal: defineAsyncComponent(() => import("./modal-Duhc-vVa.js")),
|
|
80
|
+
NodeList: defineAsyncComponent(() => import("./node-list-C1je2nLd.js")),
|
|
81
|
+
Segmented: defineAsyncComponent(() => import("./segmented-XdoLnuuq.js")),
|
|
82
|
+
Spin: defineAsyncComponent(() => import("./spin-wM2KE8mO.js")),
|
|
83
|
+
Table: defineAsyncComponent(() => import("./table-R9gmCXm_.js")),
|
|
84
|
+
Tooltip: defineAsyncComponent(() => import("./tooltip-BJDs-A8d.js")),
|
|
85
|
+
ZoomContainer: defineAsyncComponent(() => import("./zoom-container-KztuE4ri.js"))
|
|
87
86
|
};
|
|
88
87
|
|
|
89
88
|
//#endregion
|
|
@@ -18130,15 +18129,6 @@ function preprocessLaTeX(content$2) {
|
|
|
18130
18129
|
processedContent = processedContent.replace(/_TMP_REPLACE_DOLLAR_/g, "$");
|
|
18131
18130
|
return processedContent;
|
|
18132
18131
|
}
|
|
18133
|
-
function preprocessThinkTag(content$2) {
|
|
18134
|
-
const thinkOpenTagRegex = /(<think>\s*)+/g;
|
|
18135
|
-
const thinkCloseTagRegex = /(\s*<\/think>)+/g;
|
|
18136
|
-
return flow([
|
|
18137
|
-
(str) => str.replace(thinkOpenTagRegex, "<details data-think=true>\n"),
|
|
18138
|
-
(str) => str.replace(thinkCloseTagRegex, "\n[ENDTHINKFLAG]</details>"),
|
|
18139
|
-
(str) => str.replace(/(<\/details>)(?![^\S\r\n]*[\r\n])(?![^\S\r\n]*$)/g, "$1\n")
|
|
18140
|
-
])(content$2);
|
|
18141
|
-
}
|
|
18142
18132
|
|
|
18143
18133
|
//#endregion
|
|
18144
18134
|
//#region src/preprocess/index.ts
|
|
@@ -18146,11 +18136,7 @@ function proprocessContent(content$2) {
|
|
|
18146
18136
|
return content$2.replace(crlfPattern, "\n").trimEnd();
|
|
18147
18137
|
}
|
|
18148
18138
|
function normalize(content$2) {
|
|
18149
|
-
return flow([
|
|
18150
|
-
proprocessContent,
|
|
18151
|
-
preprocessLaTeX,
|
|
18152
|
-
preprocessThinkTag
|
|
18153
|
-
])(content$2);
|
|
18139
|
+
return flow([proprocessContent, preprocessLaTeX])(content$2);
|
|
18154
18140
|
}
|
|
18155
18141
|
function preprocess(content$2) {
|
|
18156
18142
|
return flow([
|
|
@@ -18348,8 +18334,6 @@ var index_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineCo
|
|
|
18348
18334
|
const { shikiOptions, mermaidOptions, isDark } = toRefs(props);
|
|
18349
18335
|
const containerRef = ref();
|
|
18350
18336
|
const { provideContext } = useContext();
|
|
18351
|
-
const { initTippy } = useTippy({ isDark });
|
|
18352
|
-
const zoom = mediumZoom("[data-zoomable]", { background: "color-mix(in oklab, var(--background) 80%, transparent)" });
|
|
18353
18337
|
const markdownParser = new MarkdownParser({
|
|
18354
18338
|
mode: props.mode,
|
|
18355
18339
|
mdastOptions: props.mdastOptions,
|
|
@@ -18372,15 +18356,13 @@ var index_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineCo
|
|
|
18372
18356
|
const { preload: preloadMermaid, dispose: disposeMermaid } = useMermaid({ mermaidOptions });
|
|
18373
18357
|
const { preload: preloadKatex, dispose: disposeKatex } = useKatex();
|
|
18374
18358
|
async function bootstrap() {
|
|
18375
|
-
|
|
18376
|
-
const tasks = [];
|
|
18377
|
-
if (props.locale !== "en-US") tasks.push(loadLocaleMessages(props.locale));
|
|
18378
|
-
await Promise.all([
|
|
18379
|
-
...tasks,
|
|
18359
|
+
const tasks = [
|
|
18380
18360
|
preloadShiki(),
|
|
18381
18361
|
preloadMermaid(),
|
|
18382
18362
|
preloadKatex()
|
|
18383
|
-
]
|
|
18363
|
+
];
|
|
18364
|
+
if (props.locale !== "en-US") tasks.push(loadLocaleMessages(props.locale));
|
|
18365
|
+
await Promise.all(tasks);
|
|
18384
18366
|
}
|
|
18385
18367
|
bootstrap();
|
|
18386
18368
|
watch(() => props.mode, () => markdownParser.updateMode(props.mode));
|
|
@@ -18388,6 +18370,7 @@ var index_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineCo
|
|
|
18388
18370
|
provideContext({
|
|
18389
18371
|
icons,
|
|
18390
18372
|
isDark,
|
|
18373
|
+
parsedNodes,
|
|
18391
18374
|
getContainer,
|
|
18392
18375
|
onCopied: (content$2) => {
|
|
18393
18376
|
emits("copied", content$2);
|
|
@@ -18411,13 +18394,11 @@ var index_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineCo
|
|
|
18411
18394
|
"markdown-parser": unref(markdownParser),
|
|
18412
18395
|
"node-renderers": nodeRenderers.value,
|
|
18413
18396
|
nodes: parsedNodes.value,
|
|
18414
|
-
"medium-zoom": unref(zoom),
|
|
18415
18397
|
"get-container": getContainer
|
|
18416
18398
|
}), null, 16, [
|
|
18417
18399
|
"markdown-parser",
|
|
18418
18400
|
"node-renderers",
|
|
18419
|
-
"nodes"
|
|
18420
|
-
"medium-zoom"
|
|
18401
|
+
"nodes"
|
|
18421
18402
|
])], 2);
|
|
18422
18403
|
};
|
|
18423
18404
|
}
|
|
@@ -18428,4 +18409,4 @@ var index_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineCo
|
|
|
18428
18409
|
var src_default = index_vue_vue_type_script_setup_true_lang_default;
|
|
18429
18410
|
|
|
18430
18411
|
//#endregion
|
|
18431
|
-
export { CODE_PREVIEWERS,
|
|
18412
|
+
export { CODE_PREVIEWERS, DEFAULT_DARK_THEME, DEFAULT_HARDEN_OPTIONS, DEFAULT_LIGHT_THEME, ICONS, LANGUAGE_ALIAS, LANGUAGE_EXTENSIONS, LANGUAGE_ICONS, src_default as Markdown, MarkdownParser, NODE_RENDERERS, SHADCN_SCHEMAS, SUPPORT_LANGUAGES, UI, codeBlockPattern, crlfPattern, currentLocale, doubleAsteriskPattern, doubleDollarPattern, doubleTildePattern, doubleUnderscorePattern, escapeMarkdownTableCell, extractTableDataFromElement, findLastLeafNode, findNodeParent, fixCode, fixDelete, fixEmphasis, fixLink, fixStrong, fixTable, fixTaskList, flow, hasKatex, hasMermaid, hasShiki, incompleteBracketPattern, incompleteLinkTextPattern, incompleteUrlPattern, loadLocaleMessages, localeMessages, localesGlob, normalize, postFixText, postprocess, preprocess, preprocessLaTeX, proprocessContent, quoteStandaloneDashPattern, quoteTaskListPattern, remend, save, saveImage, separatorPattern, singleAsteriskPattern, singleBacktickPattern, singleUnderscorePattern, standaloneDashPattern, svgToPngBlob, tableDataToCSV, tableDataToMarkdown, tableDataToTSV, tableRowPattern, taskListPattern, trailingBackticksPattern, trailingWhitespacePattern, transformUrl, tripleBacktickPattern, useCodeOptions, useContext, useControls, useFloatingElement, useHardenSanitizers, useI18n, useKatex, useMathRenderer, useMediumZoom, useMermaid, useShiki, useTailwindV3Theme, useZoom };
|
|
@@ -17,18 +17,10 @@ var inline_code_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ de
|
|
|
17
17
|
type: Object,
|
|
18
18
|
required: true
|
|
19
19
|
},
|
|
20
|
-
mediumZoom: {
|
|
21
|
-
type: Object,
|
|
22
|
-
required: true
|
|
23
|
-
},
|
|
24
20
|
indexKey: {
|
|
25
21
|
type: [Number, String],
|
|
26
22
|
required: true
|
|
27
23
|
},
|
|
28
|
-
getContainer: {
|
|
29
|
-
type: Function,
|
|
30
|
-
required: true
|
|
31
|
-
},
|
|
32
24
|
controls: {
|
|
33
25
|
type: [Boolean, Object],
|
|
34
26
|
required: false
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { o as useMathRenderer } from "./composables-
|
|
2
|
-
import { t as error_component_default } from "./error-component-
|
|
1
|
+
import { o as useMathRenderer } from "./composables-yny5gJo3.js";
|
|
2
|
+
import { t as error_component_default } from "./error-component-Bb0gIZsx.js";
|
|
3
3
|
import { computed, createBlock, createCommentVNode, createElementBlock, defineComponent, mergeProps, openBlock, resolveDynamicComponent, toRefs, unref } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/components/renderers/inline-math.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -19,18 +19,10 @@ var inline_math_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ de
|
|
|
19
19
|
type: Object,
|
|
20
20
|
required: true
|
|
21
21
|
},
|
|
22
|
-
mediumZoom: {
|
|
23
|
-
type: Object,
|
|
24
|
-
required: true
|
|
25
|
-
},
|
|
26
22
|
indexKey: {
|
|
27
23
|
type: [Number, String],
|
|
28
24
|
required: true
|
|
29
25
|
},
|
|
30
|
-
getContainer: {
|
|
31
|
-
type: Function,
|
|
32
|
-
required: true
|
|
33
|
-
},
|
|
34
26
|
controls: {
|
|
35
27
|
type: [Boolean, Object],
|
|
36
28
|
required: false
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as useHardenSanitizers } from "./composables-
|
|
2
|
-
import { t as node_list_default } from "./node-list-
|
|
3
|
-
import { t as error_component_default } from "./error-component-
|
|
1
|
+
import { g as useHardenSanitizers } from "./composables-yny5gJo3.js";
|
|
2
|
+
import { t as node_list_default } from "./node-list-YhpHXdM_.js";
|
|
3
|
+
import { t as error_component_default } from "./error-component-Bb0gIZsx.js";
|
|
4
4
|
import { computed, createBlock, createCommentVNode, createElementBlock, createVNode, defineComponent, mergeProps, openBlock, resolveDynamicComponent, toRefs, unref, withCtx } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/components/renderers/link.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -20,18 +20,10 @@ var link_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineCom
|
|
|
20
20
|
type: Object,
|
|
21
21
|
required: true
|
|
22
22
|
},
|
|
23
|
-
mediumZoom: {
|
|
24
|
-
type: Object,
|
|
25
|
-
required: true
|
|
26
|
-
},
|
|
27
23
|
indexKey: {
|
|
28
24
|
type: [Number, String],
|
|
29
25
|
required: true
|
|
30
26
|
},
|
|
31
|
-
getContainer: {
|
|
32
|
-
type: Function,
|
|
33
|
-
required: true
|
|
34
|
-
},
|
|
35
27
|
controls: {
|
|
36
28
|
type: [Boolean, Object],
|
|
37
29
|
required: false
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as node_list_default } from "./node-list-
|
|
1
|
+
import { t as node_list_default } from "./node-list-YhpHXdM_.js";
|
|
2
2
|
import { computed, createBlock, createVNode, defineComponent, mergeProps, openBlock, resolveDynamicComponent, withCtx } from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/renderers/list.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -17,18 +17,10 @@ var list_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineCom
|
|
|
17
17
|
type: Object,
|
|
18
18
|
required: true
|
|
19
19
|
},
|
|
20
|
-
mediumZoom: {
|
|
21
|
-
type: Object,
|
|
22
|
-
required: true
|
|
23
|
-
},
|
|
24
20
|
indexKey: {
|
|
25
21
|
type: [Number, String],
|
|
26
22
|
required: true
|
|
27
23
|
},
|
|
28
|
-
getContainer: {
|
|
29
|
-
type: Function,
|
|
30
|
-
required: true
|
|
31
|
-
},
|
|
32
24
|
controls: {
|
|
33
25
|
type: [Boolean, Object],
|
|
34
26
|
required: false
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as node_list_default } from "./node-list-
|
|
1
|
+
import { t as node_list_default } from "./node-list-YhpHXdM_.js";
|
|
2
2
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, mergeProps, openBlock } from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/renderers/list-item.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -23,18 +23,10 @@ var list_item_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defi
|
|
|
23
23
|
type: Object,
|
|
24
24
|
required: true
|
|
25
25
|
},
|
|
26
|
-
mediumZoom: {
|
|
27
|
-
type: Object,
|
|
28
|
-
required: true
|
|
29
|
-
},
|
|
30
26
|
indexKey: {
|
|
31
27
|
type: [Number, String],
|
|
32
28
|
required: true
|
|
33
29
|
},
|
|
34
|
-
getContainer: {
|
|
35
|
-
type: Function,
|
|
36
|
-
required: true
|
|
37
|
-
},
|
|
38
30
|
controls: {
|
|
39
31
|
type: [Boolean, Object],
|
|
40
32
|
required: false
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { o as useMathRenderer } from "./composables-
|
|
2
|
-
import { t as error_component_default } from "./error-component-
|
|
1
|
+
import { o as useMathRenderer } from "./composables-yny5gJo3.js";
|
|
2
|
+
import { t as error_component_default } from "./error-component-Bb0gIZsx.js";
|
|
3
3
|
import { computed, createBlock, createCommentVNode, createElementBlock, defineComponent, mergeProps, openBlock, resolveDynamicComponent, toRefs, unref } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/components/renderers/math.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -19,18 +19,10 @@ var math_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineCom
|
|
|
19
19
|
type: Object,
|
|
20
20
|
required: true
|
|
21
21
|
},
|
|
22
|
-
mediumZoom: {
|
|
23
|
-
type: Object,
|
|
24
|
-
required: true
|
|
25
|
-
},
|
|
26
22
|
indexKey: {
|
|
27
23
|
type: [Number, String],
|
|
28
24
|
required: true
|
|
29
25
|
},
|
|
30
|
-
getContainer: {
|
|
31
|
-
type: Function,
|
|
32
|
-
required: true
|
|
33
|
-
},
|
|
34
26
|
controls: {
|
|
35
27
|
type: [Boolean, Object],
|
|
36
28
|
required: false
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./tooltip-
|
|
3
|
-
import "./button-
|
|
4
|
-
import { t as error_component_default } from "./error-component-
|
|
5
|
-
import { t as
|
|
6
|
-
import { t as
|
|
1
|
+
import { V as useControls, i as useMermaid, s as throttle } from "./composables-yny5gJo3.js";
|
|
2
|
+
import "./tooltip-Bgbzbk4Q.js";
|
|
3
|
+
import "./button-BQhuT7wh.js";
|
|
4
|
+
import { t as error_component_default } from "./error-component-Bb0gIZsx.js";
|
|
5
|
+
import { t as zoom_container_default } from "./zoom-container-B1qbA-7z.js";
|
|
6
|
+
import { t as spin_default } from "./spin--f5jNjBn.js";
|
|
7
7
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, mergeProps, normalizeStyle, openBlock, ref, resolveDynamicComponent, toRefs, watch, withCtx } from "vue";
|
|
8
8
|
import { useResizeObserver } from "@vueuse/core";
|
|
9
9
|
|
|
@@ -24,18 +24,10 @@ var mermaid_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ define
|
|
|
24
24
|
type: Object,
|
|
25
25
|
required: true
|
|
26
26
|
},
|
|
27
|
-
mediumZoom: {
|
|
28
|
-
type: Object,
|
|
29
|
-
required: true
|
|
30
|
-
},
|
|
31
27
|
indexKey: {
|
|
32
28
|
type: [Number, String],
|
|
33
29
|
required: true
|
|
34
30
|
},
|
|
35
|
-
getContainer: {
|
|
36
|
-
type: Function,
|
|
37
|
-
required: true
|
|
38
|
-
},
|
|
39
31
|
controls: {
|
|
40
32
|
type: [Boolean, Object],
|
|
41
33
|
required: false
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { H as useContext } from "./composables-yny5gJo3.js";
|
|
2
|
+
import { Fragment, Teleport, Transition, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeModels, normalizeStyle, openBlock, renderSlot, toDisplayString, unref, useModel, useSlots, withCtx } from "vue";
|
|
3
|
+
import { createReusableTemplate, useEventListener } from "@vueuse/core";
|
|
4
|
+
|
|
5
|
+
//#region src/components/modal.vue?vue&type=script&setup=true&lang.ts
|
|
6
|
+
const _hoisted_1 = { "data-stream-markdown": "modal-body" };
|
|
7
|
+
var modal_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
8
|
+
__name: "modal",
|
|
9
|
+
props: /* @__PURE__ */ mergeModels({
|
|
10
|
+
title: {
|
|
11
|
+
type: String,
|
|
12
|
+
required: false
|
|
13
|
+
},
|
|
14
|
+
zIndex: {
|
|
15
|
+
type: Number,
|
|
16
|
+
required: false,
|
|
17
|
+
default: 1e3
|
|
18
|
+
},
|
|
19
|
+
modalStyle: {
|
|
20
|
+
type: Object,
|
|
21
|
+
required: false
|
|
22
|
+
},
|
|
23
|
+
headerStyle: {
|
|
24
|
+
type: Object,
|
|
25
|
+
required: false
|
|
26
|
+
},
|
|
27
|
+
transition: {
|
|
28
|
+
type: String,
|
|
29
|
+
required: false,
|
|
30
|
+
default: "modal"
|
|
31
|
+
},
|
|
32
|
+
close: {
|
|
33
|
+
type: Function,
|
|
34
|
+
required: false
|
|
35
|
+
}
|
|
36
|
+
}, {
|
|
37
|
+
"open": {
|
|
38
|
+
type: Boolean,
|
|
39
|
+
required: false,
|
|
40
|
+
default: false
|
|
41
|
+
},
|
|
42
|
+
"openModifiers": {}
|
|
43
|
+
}),
|
|
44
|
+
emits: ["update:open"],
|
|
45
|
+
setup(__props) {
|
|
46
|
+
const props = __props;
|
|
47
|
+
const slots = useSlots();
|
|
48
|
+
const open = useModel(__props, "open");
|
|
49
|
+
const [DefineTemplate, ReuseTemplate] = createReusableTemplate();
|
|
50
|
+
const { getContainer } = useContext();
|
|
51
|
+
const container = getContainer() || "body";
|
|
52
|
+
const modalStyle = computed(() => ({
|
|
53
|
+
...props.modalStyle,
|
|
54
|
+
zIndex: props.zIndex
|
|
55
|
+
}));
|
|
56
|
+
const showHeader = computed(() => !!props.title || !!slots.title || !!slots.extra);
|
|
57
|
+
useEventListener(document, "keyup", (event) => {
|
|
58
|
+
if (event.key === "Escape" || event.key === "Esc") if (props.close) props.close();
|
|
59
|
+
else open.value = false;
|
|
60
|
+
});
|
|
61
|
+
return (_ctx, _cache) => {
|
|
62
|
+
return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(DefineTemplate), null, {
|
|
63
|
+
default: withCtx(() => [open.value ? (openBlock(), createElementBlock("div", {
|
|
64
|
+
key: 0,
|
|
65
|
+
"data-stream-markdown": "modal",
|
|
66
|
+
style: normalizeStyle(modalStyle.value)
|
|
67
|
+
}, [showHeader.value ? (openBlock(), createElementBlock("header", {
|
|
68
|
+
key: 0,
|
|
69
|
+
"data-stream-markdown": "modal-header",
|
|
70
|
+
style: normalizeStyle(__props.headerStyle)
|
|
71
|
+
}, [
|
|
72
|
+
renderSlot(_ctx.$slots, "title", {}, () => [createTextVNode(toDisplayString(__props.title), 1)]),
|
|
73
|
+
renderSlot(_ctx.$slots, "header-center", {}, () => [_cache[0] || (_cache[0] = createElementVNode("div", null, null, -1))]),
|
|
74
|
+
renderSlot(_ctx.$slots, "actions")
|
|
75
|
+
], 4)) : createCommentVNode("v-if", true), createElementVNode("main", _hoisted_1, [renderSlot(_ctx.$slots, "default")])], 4)) : createCommentVNode("v-if", true)]),
|
|
76
|
+
_: 3
|
|
77
|
+
}), (openBlock(), createBlock(Teleport, { to: unref(container) }, [__props.transition ? (openBlock(), createBlock(Transition, {
|
|
78
|
+
key: 0,
|
|
79
|
+
name: __props.transition,
|
|
80
|
+
appear: ""
|
|
81
|
+
}, {
|
|
82
|
+
default: withCtx(() => [createVNode(unref(ReuseTemplate))]),
|
|
83
|
+
_: 1
|
|
84
|
+
}, 8, ["name"])) : (openBlock(), createBlock(unref(ReuseTemplate), { key: 1 }))], 8, ["to"]))], 64);
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
});
|
|
88
|
+
|
|
89
|
+
//#endregion
|
|
90
|
+
//#region src/components/modal.vue
|
|
91
|
+
var modal_default = modal_vue_vue_type_script_setup_true_lang_default;
|
|
92
|
+
|
|
93
|
+
//#endregion
|
|
94
|
+
export { modal_default as t };
|
|
@@ -17,18 +17,10 @@ var markdown_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defin
|
|
|
17
17
|
type: Object,
|
|
18
18
|
required: true
|
|
19
19
|
},
|
|
20
|
-
mediumZoom: {
|
|
21
|
-
type: Object,
|
|
22
|
-
required: true
|
|
23
|
-
},
|
|
24
20
|
indexKey: {
|
|
25
21
|
type: [Number, String],
|
|
26
22
|
required: true
|
|
27
23
|
},
|
|
28
|
-
getContainer: {
|
|
29
|
-
type: Function,
|
|
30
|
-
required: true
|
|
31
|
-
},
|
|
32
24
|
controls: {
|
|
33
25
|
type: [Boolean, Object],
|
|
34
26
|
required: false
|
|
@@ -105,14 +97,6 @@ var node_list_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defi
|
|
|
105
97
|
type: Object,
|
|
106
98
|
required: true
|
|
107
99
|
},
|
|
108
|
-
mediumZoom: {
|
|
109
|
-
type: Object,
|
|
110
|
-
required: true
|
|
111
|
-
},
|
|
112
|
-
getContainer: {
|
|
113
|
-
type: Function,
|
|
114
|
-
required: true
|
|
115
|
-
},
|
|
116
100
|
controls: {
|
|
117
101
|
type: [Boolean, Object],
|
|
118
102
|
required: false
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as node_list_default } from "./node-list-
|
|
1
|
+
import { t as node_list_default } from "./node-list-YhpHXdM_.js";
|
|
2
2
|
import { createElementBlock, createVNode, defineComponent, mergeProps, openBlock } from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/renderers/paragraph.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -18,18 +18,10 @@ var paragraph_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defi
|
|
|
18
18
|
type: Object,
|
|
19
19
|
required: true
|
|
20
20
|
},
|
|
21
|
-
mediumZoom: {
|
|
22
|
-
type: Object,
|
|
23
|
-
required: true
|
|
24
|
-
},
|
|
25
21
|
indexKey: {
|
|
26
22
|
type: [Number, String],
|
|
27
23
|
required: true
|
|
28
24
|
},
|
|
29
|
-
getContainer: {
|
|
30
|
-
type: Function,
|
|
31
|
-
required: true
|
|
32
|
-
},
|
|
33
25
|
controls: {
|
|
34
26
|
type: [Boolean, Object],
|
|
35
27
|
required: false
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { defineAsyncComponent } from "vue";
|
|
2
|
+
|
|
3
|
+
//#region src/components/previewers/index.ts
|
|
4
|
+
const CODE_PREVIEWERS = {
|
|
5
|
+
html: defineAsyncComponent(() => import("./html-DXNqMvt_.js")),
|
|
6
|
+
mermaid: defineAsyncComponent(() => import("./mermaid-Ka1jnXrR.js"))
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
//#endregion
|
|
10
|
+
export { CODE_PREVIEWERS as t };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { createElementBlock, createElementVNode, markRaw, openBlock } from "vue";
|
|
2
|
+
|
|
3
|
+
//#region ~icons/lucide/rotate-ccw-square
|
|
4
|
+
const _hoisted_1 = {
|
|
5
|
+
viewBox: "0 0 24 24",
|
|
6
|
+
width: "1.2em",
|
|
7
|
+
height: "1.2em"
|
|
8
|
+
};
|
|
9
|
+
function render(_ctx, _cache) {
|
|
10
|
+
return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [createElementVNode("g", {
|
|
11
|
+
fill: "none",
|
|
12
|
+
stroke: "currentColor",
|
|
13
|
+
"stroke-linecap": "round",
|
|
14
|
+
"stroke-linejoin": "round",
|
|
15
|
+
"stroke-width": "2"
|
|
16
|
+
}, [createElementVNode("path", { d: "M20 9V7a2 2 0 0 0-2-2h-6" }), createElementVNode("path", { d: "m15 2l-3 3l3 3m5 5v5a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h2" })], -1)])]);
|
|
17
|
+
}
|
|
18
|
+
var rotate_ccw_square_default = markRaw({
|
|
19
|
+
name: "lucide-rotate-ccw-square",
|
|
20
|
+
render
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
//#endregion
|
|
24
|
+
export { rotate_ccw_square_default as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as button_default } from "./button-
|
|
1
|
+
import { t as button_default } from "./button-BQhuT7wh.js";
|
|
2
2
|
import { Fragment, createBlock, createElementBlock, defineComponent, mergeModels, openBlock, renderList, useModel } from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/segmented.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as vanilla_default } from "./vanilla-
|
|
3
|
-
import { computed, createBlock, createCommentVNode, defineAsyncComponent, defineComponent, mergeProps, normalizeProps, openBlock, ref, toRefs, unref, watch } from "vue";
|
|
1
|
+
import { U as useCodeOptions, r as useShiki } from "./composables-yny5gJo3.js";
|
|
2
|
+
import { t as vanilla_default } from "./vanilla-BTOVqKl7.js";
|
|
3
|
+
import { computed, createBlock, createCommentVNode, defineAsyncComponent, defineComponent, guardReactiveProps, mergeProps, normalizeProps, openBlock, ref, toRefs, unref, watch } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/components/renderers/code/shiki.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var shiki_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
@@ -18,18 +18,10 @@ var shiki_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineCo
|
|
|
18
18
|
type: Object,
|
|
19
19
|
required: true
|
|
20
20
|
},
|
|
21
|
-
mediumZoom: {
|
|
22
|
-
type: Object,
|
|
23
|
-
required: true
|
|
24
|
-
},
|
|
25
21
|
indexKey: {
|
|
26
22
|
type: [Number, String],
|
|
27
23
|
required: true
|
|
28
24
|
},
|
|
29
|
-
getContainer: {
|
|
30
|
-
type: Function,
|
|
31
|
-
required: true
|
|
32
|
-
},
|
|
33
25
|
controls: {
|
|
34
26
|
type: [Boolean, Object],
|
|
35
27
|
required: false
|
|
@@ -70,7 +62,7 @@ var shiki_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineCo
|
|
|
70
62
|
setup(__props) {
|
|
71
63
|
const props = __props;
|
|
72
64
|
const { shikiOptions, codeOptions, isDark } = toRefs(props);
|
|
73
|
-
const ShikiTokensRenderer = defineAsyncComponent(() => import("./shiki-token-renderer-
|
|
65
|
+
const ShikiTokensRenderer = defineAsyncComponent(() => import("./shiki-token-renderer-CLmUjKa3.js"));
|
|
74
66
|
const code = computed(() => props.node.value.trim());
|
|
75
67
|
const lang = computed(() => props.node.lang || "");
|
|
76
68
|
const { showLineNumbers } = useCodeOptions({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as node_list_default } from "./node-list-
|
|
1
|
+
import { t as node_list_default } from "./node-list-YhpHXdM_.js";
|
|
2
2
|
import { createElementBlock, createVNode, defineComponent, mergeProps, openBlock } from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/renderers/strong.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -18,18 +18,10 @@ var strong_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineC
|
|
|
18
18
|
type: Object,
|
|
19
19
|
required: true
|
|
20
20
|
},
|
|
21
|
-
mediumZoom: {
|
|
22
|
-
type: Object,
|
|
23
|
-
required: true
|
|
24
|
-
},
|
|
25
21
|
indexKey: {
|
|
26
22
|
type: [Number, String],
|
|
27
23
|
required: true
|
|
28
24
|
},
|
|
29
|
-
getContainer: {
|
|
30
|
-
type: Function,
|
|
31
|
-
required: true
|
|
32
|
-
},
|
|
33
25
|
controls: {
|
|
34
26
|
type: [Boolean, Object],
|
|
35
27
|
required: false
|