vue-stream-markdown 0.2.0 → 0.2.2
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 +7 -0
- package/dist/{blockquote-C68fU4lp.js → blockquote-CVFraiyL.js} +2 -2
- package/dist/break-CzrM3nW0.js +73 -0
- package/dist/button-BFS-gHGF.js +6 -0
- package/dist/{button-BDO3n0n_.js → button-CWSGNZmd.js} +2 -2
- package/dist/{code-2Dd0EGfm.js → code-DwwmPoup.js} +10 -10
- package/dist/code-block-CTM9VEwA.js +10 -0
- package/dist/{code-block-hQLDeAmP.js → code-block-XfHjZodV.js} +54 -21
- package/dist/{composables-DuQ72m6O.js → composables-BMXMKLLj.js} +293 -219
- package/dist/{delete-CB-OS2WZ.js → delete-BRwEUU72.js} +2 -2
- package/dist/dropdown-BQ3uynLf.js +6 -0
- package/dist/{emphasis-BmUoyBRK.js → emphasis-DblyP-Vp.js} +2 -2
- package/dist/error-component-B_Vacrqa.js +5 -0
- package/dist/{error-component-CtZr0_st.js → error-component-CckClFee.js} +15 -7
- package/dist/{footnote-definition-55TjXXwa.js → footnote-definition-BvZNKSLa.js} +5 -5
- package/dist/{footnote-reference-lk2rvC4Q.js → footnote-reference-DvAxMjRZ.js} +1 -1
- package/dist/{heading-BlOK3uk2.js → heading-g87txbB0.js} +2 -2
- package/dist/html-BG83dEZJ.js +70 -0
- package/dist/icon-BX3KKloR.js +4 -0
- package/dist/{icon-PEivHbuv.js → icon-CpKYt1dR.js} +1 -1
- package/dist/image-BtkXhzG1.js +9 -0
- package/dist/{image-Bqn98dDB.js → image-CR28eDok.js} +8 -8
- package/dist/{image-VMGQj_VU.js → image-Dwe5A7RP.js} +4 -4
- package/dist/{index.css/index.css → index.css} +17 -0
- package/dist/index.d.ts +521 -82
- package/dist/index.js +51 -38
- package/dist/{inline-math--lfq9WCW.js → inline-math-BHDNxQ5R.js} +3 -3
- package/dist/{link-DAOjAX6n.js → link-BiA46FMM.js} +4 -4
- package/dist/{list-EOEqkWEi.js → list-D7QyoGUy.js} +2 -2
- package/dist/{list-item-ZG4eadLp.js → list-item-Cv8l3Ufd.js} +2 -2
- package/dist/{math-3zyrsc0O.js → math-BzuYH4PG.js} +3 -3
- package/dist/{mermaid-VkvXdOuQ.js → mermaid-BoiSJ4fF.js} +21 -11
- package/dist/modal-CFOdkYNj.js +4 -0
- package/dist/{modal-DrPdD2g1.js → modal-DHGxvCt5.js} +1 -1
- package/dist/node-list-BYDvt6bq.js +4 -0
- package/dist/{node-list-D7eKaZGS.js → node-list-D6zJX92N.js} +1 -1
- package/dist/{paragraph-DEyWEFYY.js → paragraph-YTqe84Bm.js} +2 -2
- package/dist/{previewers-DYnyVv4Y.js → previewers-Cpx1Wqu8.js} +1 -1
- package/dist/segmented-CaVb5_Rp.js +7 -0
- package/dist/{segmented-CeLXMLZa.js → segmented-DDQZGL7l.js} +7 -2
- package/dist/{shiki-Dgoch7Q6.js → shiki-DDfRFzy0.js} +35 -10
- package/dist/{shiki-token-renderer-BjxmGfXH.js → shiki-token-renderer-zn-KUQJD.js} +4 -2
- package/dist/{strong-CFjQLk1h.js → strong-nPwCJEKq.js} +2 -2
- package/dist/table-D6j6Gl87.js +3 -0
- package/dist/{table-DI25RphX.js → table-Dtpd-MnT.js} +6 -6
- package/dist/tooltip-BIvCaFUj.js +4 -0
- package/dist/{tooltip-CnO7OPL1.js → tooltip-C4RiUZwy.js} +2 -2
- package/dist/vanilla-DfHiHWnr.js +4 -0
- package/dist/{vanilla-YFxsSfhA.js → vanilla-NR7MOE5P.js} +1 -1
- package/dist/{yaml-eOuEqAWX.js → yaml-DP0yfJyS.js} +1 -1
- package/dist/{zoom-container-CrKx_BbS.js → zoom-container-CqZQ4X6w.js} +2 -2
- package/dist/zoom-container-DtkZ07v1.js +7 -0
- package/package.json +3 -3
- package/dist/button-CdUyT8T_.js +0 -6
- package/dist/code-block-Co2UoPPS.js +0 -10
- package/dist/dropdown-BB3nyts8.js +0 -6
- package/dist/error-component-biOT0E-h.js +0 -5
- package/dist/icon-mUoYnA6R.js +0 -4
- package/dist/image-B6Pw2YBI.js +0 -9
- package/dist/modal-BKzT1TQI.js +0 -4
- package/dist/node-list-DtNGUnnI.js +0 -4
- package/dist/segmented-6Ch-Ees3.js +0 -7
- package/dist/table-20vwclBI.js +0 -3
- package/dist/tooltip-CAyfm3_l.js +0 -4
- package/dist/vanilla-BZ1fQWZQ.js +0 -4
- package/dist/zoom-container-j4kY9qX_.js +0 -7
- /package/dist/{angular-CJL7ngrz.js → angular-BhTq4eiQ.js} +0 -0
- /package/dist/{angular-component-COlDvuNE.js → angular-component-Ba6hb3Ou.js} +0 -0
- /package/dist/{apache-CVvmKdUn.js → apache-D-wFNTKM.js} +0 -0
- /package/dist/{arrow-left-Dqeb1_Um.js → arrow-left-Fc4I-KPU.js} +0 -0
- /package/dist/{asciidoc-DOmevTVz.js → asciidoc-BhsFgAwp.js} +0 -0
- /package/dist/{assembly-Bj0yQVcL.js → assembly-DujbfxwO.js} +0 -0
- /package/dist/{astro-DUti0QFn.js → astro-By5aMeAI.js} +0 -0
- /package/dist/{bash-BfyNXzLO.js → bash-CxLhFc8T.js} +0 -0
- /package/dist/{batch-Dp6N3cFQ.js → batch-D2KCChyX.js} +0 -0
- /package/dist/{bicep-CEkCHedl.js → bicep-BpMR7zbS.js} +0 -0
- /package/dist/{c-CTmG9vr2.js → c-BL0h9qSZ.js} +0 -0
- /package/dist/{check-C6XCJVPi.js → check-DUf_EYGI.js} +0 -0
- /package/dist/{chevron-down-aK8OlmM2.js → chevron-down-Bd8OWcQz.js} +0 -0
- /package/dist/{circle-alert-C5r2kfnc.js → circle-alert-C3xlkKpn.js} +0 -0
- /package/dist/{clojure-CHjliXb8.js → clojure-CIlREuXX.js} +0 -0
- /package/dist/{cmake-BsKz8Gt4.js → cmake-C1NQwzHz.js} +0 -0
- /package/dist/{cobol-BvWYwPFU.js → cobol-BSROkBc2.js} +0 -0
- /package/dist/{code-Bwlpb4mV.js → code-jkFGYUqR.js} +0 -0
- /package/dist/{codeowners-CfTM6yvs.js → codeowners-ByOcyZxj.js} +0 -0
- /package/dist/{coffeescript-BDiFe_B2.js → coffeescript-LQTFO7bN.js} +0 -0
- /package/dist/{copy-VpvA-5VS.js → copy-CLBkFmXf.js} +0 -0
- /package/dist/{corner-down-left-B77X84F8.js → corner-down-left-CMgnqWC_.js} +0 -0
- /package/dist/{cpp-BfV_KWzp.js → cpp-BFHQMV1Y.js} +0 -0
- /package/dist/{crystal-BXT0x2i3.js → crystal-DCVN-7Od.js} +0 -0
- /package/dist/{csharp-C6rkxA6x.js → csharp-B0k7ij_8.js} +0 -0
- /package/dist/{css-Drxb2cuf.js → css-CC5BGj0-.js} +0 -0
- /package/dist/{csv-CHKRaQ9l.js → csv-B5a7HayX.js} +0 -0
- /package/dist/{cue-DksiF2mE.js → cue-CGNrDM1A.js} +0 -0
- /package/dist/{d-C8JgmiVc.js → d-CMJdAMFb.js} +0 -0
- /package/dist/{dart-BX3GppmW.js → dart-BBqW-Fvj.js} +0 -0
- /package/dist/{database-Lmva5T5u.js → database-LuWYzgPI.js} +0 -0
- /package/dist/{diff-C61xHcnV.js → diff-UhwhR0nf.js} +0 -0
- /package/dist/{docker-Dws0Euuu.js → docker-CaBsFwYx.js} +0 -0
- /package/dist/{download-BB76SD0m.js → download-DtpBCWCq.js} +0 -0
- /package/dist/{elixir-CtaCeLkf.js → elixir-NvxbJYKg.js} +0 -0
- /package/dist/{elm-CFvSvo-7.js → elm-BNn2zGko.js} +0 -0
- /package/dist/{en-US-Cw-sFSiZ.js → en-US-BE5eeEXk.js} +0 -0
- /package/dist/{env-BwMmmmE5.js → env-CKkm6DtJ.js} +0 -0
- /package/dist/{erlang-DJRbvPSq.js → erlang-DnQ1MXEC.js} +0 -0
- /package/dist/{eye-VjweBQoW.js → eye-g-R6YkP9.js} +0 -0
- /package/dist/{flip-horizontal-D4IxaKDu.js → flip-horizontal-14eeKks-.js} +0 -0
- /package/dist/{fortran-D3Vf5GTV.js → fortran-D7C8ntBV.js} +0 -0
- /package/dist/{fsharp-C2iQH5b1.js → fsharp-B2meisDr.js} +0 -0
- /package/dist/{git-DN4z97-P.js → git-Dibise41.js} +0 -0
- /package/dist/{gleam-PhX3VC_5.js → gleam-DghqX0MW.js} +0 -0
- /package/dist/{go-xPznl0oK.js → go-hIgDRVGB.js} +0 -0
- /package/dist/{graphql-sVzb1_rA.js → graphql-Cwvddao6.js} +0 -0
- /package/dist/{groovy-Bvkrc3eE.js → groovy-Z_peiWRr.js} +0 -0
- /package/dist/{haml-Y_qa35Lk.js → haml-CK7X58Ac.js} +0 -0
- /package/dist/{handlebars-Bo6cxn4k.js → handlebars-CzXueKIL.js} +0 -0
- /package/dist/{haskell-D8t1pxAr.js → haskell-F8Hxt60K.js} +0 -0
- /package/dist/{haxe-C-sdXVB9.js → haxe-rnsd_VXm.js} +0 -0
- /package/dist/{html-I3JKB_2G.js → html-B-vufMHC.js} +0 -0
- /package/dist/{http-Dj2NVTPO.js → http-D-fTarEG.js} +0 -0
- /package/dist/{image-DzKVFSaY.js → image-BnP_94aa.js} +0 -0
- /package/dist/{inline-code-BZNE1ALQ.js → inline-code-E5uGvmnx.js} +0 -0
- /package/dist/{java-BulcCUaV.js → java-BhCbKSsp.js} +0 -0
- /package/dist/{javascript-DQlby440.js → javascript-CgYlNrc3.js} +0 -0
- /package/dist/{jinja-HRQZM5oZ.js → jinja-BwhD62Ck.js} +0 -0
- /package/dist/{json-wUPUX2x-.js → json-BITBW2a3.js} +0 -0
- /package/dist/{julia-DjHYSWzj.js → julia-K2FP98rH.js} +0 -0
- /package/dist/{kdl-CGLuct22.js → kdl-wzDw_Xgt.js} +0 -0
- /package/dist/{kotlin-CnR9eg7m.js → kotlin-UdhiRb2s.js} +0 -0
- /package/dist/{latex-CesDKd8G.js → latex-Cg4biTsQ.js} +0 -0
- /package/dist/{less-215r2nUv.js → less-CvaKAB1v.js} +0 -0
- /package/dist/{link-4JB1WqYS.js → link-C8MvJEtb.js} +0 -0
- /package/dist/{liquid-FFTnvZwx.js → liquid-DnaYJvE6.js} +0 -0
- /package/dist/{lisp-BNWIo3S3.js → lisp-Dxh5WGkj.js} +0 -0
- /package/dist/{log-C3BhnPjM.js → log-CptO9Lr8.js} +0 -0
- /package/dist/{lua-jBHQD7Fh.js → lua-BYE-WkAz.js} +0 -0
- /package/dist/{luau-CJKAqC3L.js → luau-9_yNlfJT.js} +0 -0
- /package/dist/{makefile-DZmoFYpF.js → makefile-B7idP48b.js} +0 -0
- /package/dist/{markdown-BEABBw2C.js → markdown-CF1aOY6A.js} +0 -0
- /package/dist/{marko-DE7d51Q2.js → marko-B96CKJZY.js} +0 -0
- /package/dist/{matlab-n99nEoGl.js → matlab-LSvZWs6_.js} +0 -0
- /package/dist/{maximize-VRncBaHe.js → maximize-BYf7n_fw.js} +0 -0
- /package/dist/{mermaid-Dv9_1JlU.js → mermaid-CjPc_PTq.js} +0 -0
- /package/dist/{minimize-k8aU78V4.js → minimize-DUcEsZ0x.js} +0 -0
- /package/dist/{nextflow-DjdDVx1j.js → nextflow-Di2JOuIQ.js} +0 -0
- /package/dist/{nginx-DH4jOOdC.js → nginx-DwP-rcfw.js} +0 -0
- /package/dist/{nim-Cb0hPGv5.js → nim-B8CTKDeR.js} +0 -0
- /package/dist/{nix-Bf4Vwv5v.js → nix-DzZgDL2a.js} +0 -0
- /package/dist/{ocaml-BwJ1z9S7.js → ocaml-Bs_vWDxp.js} +0 -0
- /package/dist/{perl-P6bAYvN9.js → perl-BvEAb2FB.js} +0 -0
- /package/dist/{php-BGTGPBW1.js → php-DJ6oc5J7.js} +0 -0
- /package/dist/{postcss-D8a2Jx1D.js → postcss-Buy79gTC.js} +0 -0
- /package/dist/{powershell-DNOnus4K.js → powershell-xWtLU9gf.js} +0 -0
- /package/dist/{prisma-DquVk_GR.js → prisma-_Jw8lmC9.js} +0 -0
- /package/dist/{prolog-BxJJGnOg.js → prolog-CXJiBRKn.js} +0 -0
- /package/dist/{properties-DjauSeDE.js → properties-bV3eZsxi.js} +0 -0
- /package/dist/{proto-3aU1SxxY.js → proto-CdPPb7qQ.js} +0 -0
- /package/dist/{pug-OiYFRnMd.js → pug-DuDhqAK0.js} +0 -0
- /package/dist/{puppet-8Sq4QIbE.js → puppet-BznIc6wm.js} +0 -0
- /package/dist/{python-CBYVyhMm.js → python-1saA982A.js} +0 -0
- /package/dist/{r-DfzMNaiK.js → r-C94u3fL1.js} +0 -0
- /package/dist/{racket-EkEmTJtD.js → racket-CJXkPHdl.js} +0 -0
- /package/dist/{razor-BSd-q379.js → razor-NEi8COml.js} +0 -0
- /package/dist/{rotate-ccw-square-Dy0doneR.js → rotate-ccw-square-BJ_A0rAa.js} +0 -0
- /package/dist/{ruby-CNn-W_DF.js → ruby-CgygvN8C.js} +0 -0
- /package/dist/{rust-BW9y4Ksf.js → rust-DQacYSAC.js} +0 -0
- /package/dist/{sass-Cyleqehh.js → sass-HD_VNbVH.js} +0 -0
- /package/dist/{scala-2YqaI_aG.js → scala-DFCCsRj5.js} +0 -0
- /package/dist/{scheme-CWx6sQlk.js → scheme-CMuWDKun.js} +0 -0
- /package/dist/{shader-CLzSKNOz.js → shader-CJxZVwVX.js} +0 -0
- /package/dist/{solidity-CgjJUETv.js → solidity-CZfwNrv_.js} +0 -0
- /package/dist/{stata-CI3W9UFN.js → stata-DLyUE6pK.js} +0 -0
- /package/dist/{svelte-D-OV6frL.js → svelte-D3v3JUId.js} +0 -0
- /package/dist/{swift-CcBwS4X5.js → swift-BuLBBeAo.js} +0 -0
- /package/dist/{table-BMlD4JhL.js → table-tZ8TA3cu.js} +0 -0
- /package/dist/{terraform-BwM_GPTy.js → terraform-BpdftQxe.js} +0 -0
- /package/dist/{text-hIzRUiKs.js → text-CVjFFVPk.js} +0 -0
- /package/dist/{text-DP2IAZrc.js → text-CfRWiRE0.js} +0 -0
- /package/dist/{thematic-break-DIO-A8eY.js → thematic-break-DgOD2KmY.js} +0 -0
- /package/dist/{theme.css/theme.css → theme.css} +0 -0
- /package/dist/{toml-CXJ7B-C1.js → toml-DwuHYrJF.js} +0 -0
- /package/dist/{twig-CXQNsdEx.js → twig-C3W2hNMC.js} +0 -0
- /package/dist/{typescript-0uiFYOof.js → typescript-oV84jXPW.js} +0 -0
- /package/dist/{typst-gIi5b52E.js → typst-iMKBhjQc.js} +0 -0
- /package/dist/{v-Ct-HfSu0.js → v-D8a-2CMq.js} +0 -0
- /package/dist/{vala-BZbAZj2w.js → vala-Dnxzb4xr.js} +0 -0
- /package/dist/{verilog-NzFyyNP_.js → verilog-CABQqn01.js} +0 -0
- /package/dist/{vim-CN-tRagW.js → vim-BGlWyvYm.js} +0 -0
- /package/dist/{vue-BmLzKAao.js → vue-D6HdD2dj.js} +0 -0
- /package/dist/{xml-CBzkooc-.js → xml-B9NfR4AN.js} +0 -0
- /package/dist/{yaml-CT7I_lPM.js → yaml-CrFdGZgo.js} +0 -0
- /package/dist/{zh-CN-B9lWRP8O.js → zh-CN-BLQuwJEP.js} +0 -0
- /package/dist/{zig-B7F-QzJD.js → zig-BYI6J86j.js} +0 -0
- /package/dist/{zoomIn-DlPeXZbT.js → zoomIn-B7_XWmXc.js} +0 -0
- /package/dist/{zoomOut-Lvyw8SOW.js → zoomOut-CMmvbGLb.js} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./composables-
|
|
2
|
-
import { t as node_list_default } from "./node-list-
|
|
1
|
+
import "./composables-BMXMKLLj.js";
|
|
2
|
+
import { t as node_list_default } from "./node-list-D6zJX92N.js";
|
|
3
3
|
import { createElementBlock, createVNode, defineComponent, mergeProps, openBlock } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/components/renderers/delete.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./composables-
|
|
2
|
-
import { t as node_list_default } from "./node-list-
|
|
1
|
+
import "./composables-BMXMKLLj.js";
|
|
2
|
+
import { t as node_list_default } from "./node-list-D6zJX92N.js";
|
|
3
3
|
import { createElementBlock, createVNode, defineComponent, mergeProps, openBlock } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/components/renderers/emphasis.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as icon_default } from "./icon-
|
|
3
|
-
import { computed, createBlock, createCommentVNode, createElementBlock,
|
|
1
|
+
import { K as useContext, b as useI18n } from "./composables-BMXMKLLj.js";
|
|
2
|
+
import { t as icon_default } from "./icon-CpKYt1dR.js";
|
|
3
|
+
import { computed, createBlock, createCommentVNode, createElementBlock, createTextVNode, defineComponent, openBlock, renderSlot, resolveDynamicComponent, toDisplayString } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/components/error-component.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
const _hoisted_1 = { "data-stream-markdown": "error-component" };
|
|
7
|
-
const _hoisted_2 = {
|
|
7
|
+
const _hoisted_2 = {
|
|
8
|
+
key: 0,
|
|
9
|
+
"data-stream-markdown": "error-component-icon"
|
|
10
|
+
};
|
|
8
11
|
var error_component_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
9
12
|
inheritAttrs: false,
|
|
10
13
|
__name: "error-component",
|
|
@@ -14,6 +17,11 @@ var error_component_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ *
|
|
|
14
17
|
required: false,
|
|
15
18
|
default: "vanilla"
|
|
16
19
|
},
|
|
20
|
+
showIcon: {
|
|
21
|
+
type: Boolean,
|
|
22
|
+
required: false,
|
|
23
|
+
default: true
|
|
24
|
+
},
|
|
17
25
|
icon: {
|
|
18
26
|
type: null,
|
|
19
27
|
required: false
|
|
@@ -49,11 +57,11 @@ var error_component_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ *
|
|
|
49
57
|
});
|
|
50
58
|
return (_ctx, _cache) => {
|
|
51
59
|
return openBlock(), createElementBlock("span", _hoisted_1, [
|
|
52
|
-
|
|
60
|
+
__props.showIcon ? (openBlock(), createElementBlock("div", _hoisted_2, [typeof icon.value === "string" ? (openBlock(), createBlock(icon_default, {
|
|
53
61
|
key: 0,
|
|
54
62
|
icon: icon.value
|
|
55
|
-
}, null, 8, ["icon"])) : (openBlock(), createBlock(resolveDynamicComponent(icon.value), { key: 1 }))]),
|
|
56
|
-
isHarden.value ? renderSlot(_ctx.$slots, "default", { key:
|
|
63
|
+
}, null, 8, ["icon"])) : (openBlock(), createBlock(resolveDynamicComponent(icon.value), { key: 1 }))])) : createCommentVNode("v-if", true),
|
|
64
|
+
isHarden.value ? renderSlot(_ctx.$slots, "default", { key: 1 }) : createCommentVNode("v-if", true),
|
|
57
65
|
createTextVNode(" [" + toDisplayString(message.value) + "] ", 1)
|
|
58
66
|
]);
|
|
59
67
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as node_list_default } from "./node-list-
|
|
3
|
-
import "./tooltip-
|
|
4
|
-
import { t as button_default } from "./button-
|
|
5
|
-
import "./icon-
|
|
1
|
+
import { K as useContext, b as useI18n } from "./composables-BMXMKLLj.js";
|
|
2
|
+
import { t as node_list_default } from "./node-list-D6zJX92N.js";
|
|
3
|
+
import "./tooltip-C4RiUZwy.js";
|
|
4
|
+
import { t as button_default } from "./button-CWSGNZmd.js";
|
|
5
|
+
import "./icon-CpKYt1dR.js";
|
|
6
6
|
import { computed, createElementBlock, createElementVNode, createVNode, defineComponent, mergeProps, openBlock, toDisplayString, unref } from "vue";
|
|
7
7
|
|
|
8
8
|
//#region src/components/renderers/footnote-definition.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { K as useContext } from "./composables-BMXMKLLj.js";
|
|
2
2
|
import { computed, createElementBlock, createElementVNode, defineComponent, openBlock, toDisplayString } from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/renderers/footnote-reference.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./composables-
|
|
2
|
-
import { t as node_list_default } from "./node-list-
|
|
1
|
+
import "./composables-BMXMKLLj.js";
|
|
2
|
+
import { t as node_list_default } from "./node-list-D6zJX92N.js";
|
|
3
3
|
import { computed, createBlock, createVNode, defineComponent, mergeProps, openBlock, resolveDynamicComponent, withCtx } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/components/renderers/heading.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { defineComponent } from "vue";
|
|
2
|
+
|
|
3
|
+
//#region src/components/renderers/html.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
+
var html_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
5
|
+
__name: "html",
|
|
6
|
+
props: {
|
|
7
|
+
node: {
|
|
8
|
+
type: Object,
|
|
9
|
+
required: true
|
|
10
|
+
},
|
|
11
|
+
markdownParser: {
|
|
12
|
+
type: Object,
|
|
13
|
+
required: true
|
|
14
|
+
},
|
|
15
|
+
nodeRenderers: {
|
|
16
|
+
type: Object,
|
|
17
|
+
required: true
|
|
18
|
+
},
|
|
19
|
+
nodeKey: {
|
|
20
|
+
type: String,
|
|
21
|
+
required: true
|
|
22
|
+
},
|
|
23
|
+
controls: {
|
|
24
|
+
type: [Boolean, Object],
|
|
25
|
+
required: false
|
|
26
|
+
},
|
|
27
|
+
previewers: {
|
|
28
|
+
type: [Boolean, Object],
|
|
29
|
+
required: false
|
|
30
|
+
},
|
|
31
|
+
shikiOptions: {
|
|
32
|
+
type: Object,
|
|
33
|
+
required: false
|
|
34
|
+
},
|
|
35
|
+
mermaidOptions: {
|
|
36
|
+
type: Object,
|
|
37
|
+
required: false
|
|
38
|
+
},
|
|
39
|
+
katexOptions: {
|
|
40
|
+
type: Object,
|
|
41
|
+
required: false
|
|
42
|
+
},
|
|
43
|
+
hardenOptions: {
|
|
44
|
+
type: Object,
|
|
45
|
+
required: false
|
|
46
|
+
},
|
|
47
|
+
codeOptions: {
|
|
48
|
+
type: Object,
|
|
49
|
+
required: false
|
|
50
|
+
},
|
|
51
|
+
imageOptions: {
|
|
52
|
+
type: Object,
|
|
53
|
+
required: false
|
|
54
|
+
},
|
|
55
|
+
isDark: {
|
|
56
|
+
type: Boolean,
|
|
57
|
+
required: false
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
setup(__props) {
|
|
61
|
+
return () => {};
|
|
62
|
+
}
|
|
63
|
+
});
|
|
64
|
+
|
|
65
|
+
//#endregion
|
|
66
|
+
//#region src/components/renderers/html.vue
|
|
67
|
+
var html_default = html_vue_vue_type_script_setup_true_lang_default;
|
|
68
|
+
|
|
69
|
+
//#endregion
|
|
70
|
+
export { html_default as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { K as useContext } from "./composables-BMXMKLLj.js";
|
|
2
2
|
import { computed, createElementBlock, createVNode, defineComponent, normalizeClass, normalizeStyle, openBlock, unref } from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/icon.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import "./composables-BMXMKLLj.js";
|
|
2
|
+
import "./tooltip-C4RiUZwy.js";
|
|
3
|
+
import "./button-CWSGNZmd.js";
|
|
4
|
+
import "./icon-CpKYt1dR.js";
|
|
5
|
+
import "./modal-DHGxvCt5.js";
|
|
6
|
+
import "./zoom-container-CqZQ4X6w.js";
|
|
7
|
+
import { t as image_default } from "./image-Dwe5A7RP.js";
|
|
8
|
+
|
|
9
|
+
export { image_default as default };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./tooltip-
|
|
3
|
-
import { t as button_default } from "./button-
|
|
4
|
-
import "./icon-
|
|
5
|
-
import "./modal-
|
|
6
|
-
import { t as error_component_default } from "./error-component-
|
|
7
|
-
import "./zoom-container-
|
|
8
|
-
import { t as image_default$1 } from "./image-
|
|
1
|
+
import { G as useControls, H as saveImage, b as useI18n, i as useSanitizers } from "./composables-BMXMKLLj.js";
|
|
2
|
+
import "./tooltip-C4RiUZwy.js";
|
|
3
|
+
import { t as button_default } from "./button-CWSGNZmd.js";
|
|
4
|
+
import "./icon-CpKYt1dR.js";
|
|
5
|
+
import "./modal-DHGxvCt5.js";
|
|
6
|
+
import { t as error_component_default } from "./error-component-CckClFee.js";
|
|
7
|
+
import "./zoom-container-CqZQ4X6w.js";
|
|
8
|
+
import { t as image_default$1 } from "./image-Dwe5A7RP.js";
|
|
9
9
|
import { t as spin_default } from "./spin-DzERwGWy.js";
|
|
10
10
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, mergeProps, normalizeStyle, openBlock, ref, resolveDynamicComponent, toDisplayString, toRefs, unref, withCtx } from "vue";
|
|
11
11
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { G as useControls, H as saveImage, K as useContext, b as useI18n, h as useMediumZoom } from "./composables-BMXMKLLj.js";
|
|
2
2
|
import { n as treeFlatFilter } from "./dist-CYkm26BF.js";
|
|
3
|
-
import { t as button_default } from "./button-
|
|
4
|
-
import { t as modal_default } from "./modal-
|
|
5
|
-
import { t as zoom_container_default } from "./zoom-container-
|
|
3
|
+
import { t as button_default } from "./button-CWSGNZmd.js";
|
|
4
|
+
import { t as modal_default } from "./modal-DHGxvCt5.js";
|
|
5
|
+
import { t as zoom_container_default } from "./zoom-container-CqZQ4X6w.js";
|
|
6
6
|
import { Fragment, computed, createBlock, createElementBlock, createElementVNode, createVNode, defineComponent, mergeProps, normalizeStyle, openBlock, ref, renderList, toRefs, unref, watch, withCtx } from "vue";
|
|
7
7
|
import { useCycleList } from "@vueuse/core";
|
|
8
8
|
|
|
@@ -341,6 +341,10 @@
|
|
|
341
341
|
user-select: none;
|
|
342
342
|
}
|
|
343
343
|
|
|
344
|
+
.stream-markdown [data-stream-markdown='mermaid-previewer'] [data-stream-markdown='error-component'] {
|
|
345
|
+
padding: 1rem;
|
|
346
|
+
}
|
|
347
|
+
|
|
344
348
|
.stream-markdown [data-stream-markdown='blockquote'] {
|
|
345
349
|
position: relative;
|
|
346
350
|
margin-inline: 0;
|
|
@@ -638,6 +642,19 @@
|
|
|
638
642
|
opacity: 1;
|
|
639
643
|
}
|
|
640
644
|
|
|
645
|
+
.stream-markdown .code-fade-enter-active,
|
|
646
|
+
.stream-markdown .code-fade-leave-active {
|
|
647
|
+
transition: opacity var(--default-transition-duration) ease;
|
|
648
|
+
}
|
|
649
|
+
.stream-markdown .code-fade-enter-from,
|
|
650
|
+
.stream-markdown .code-fade-leave-to {
|
|
651
|
+
opacity: 0;
|
|
652
|
+
}
|
|
653
|
+
.stream-markdown .code-fade-enter-to,
|
|
654
|
+
.stream-markdown .code-fade-leave-from {
|
|
655
|
+
opacity: 1;
|
|
656
|
+
}
|
|
657
|
+
|
|
641
658
|
.stream-markdown .modal-enter-from,
|
|
642
659
|
.stream-markdown .modal-leave-to {
|
|
643
660
|
opacity: 0;
|