vue-stream-markdown 0.2.1 → 0.2.3
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 +11 -0
- package/dist/{blockquote-Bv0immvx.js → blockquote-Crr-D7fY.js} +6 -2
- package/dist/break-DoDPjOA0.js +77 -0
- package/dist/{button-CRnH8Rzt.js → button-DVWlhfQ9.js} +2 -2
- package/dist/button-Dw4uJRaD.js +6 -0
- package/dist/{code-BcAa_-2j.js → code-Bz8LM16H.js} +14 -10
- package/dist/code-block-Bitp8x1w.js +10 -0
- package/dist/{code-block-mylXl6jG.js → code-block-CmUZxKNr.js} +62 -24
- package/dist/{composables-CL-BX9Ri.js → composables-CzUVrTt_.js} +231 -206
- package/dist/{delete-drdYWAXs.js → delete-DFoiOzHW.js} +6 -2
- package/dist/dropdown-CSRjqK0u.js +6 -0
- package/dist/{emphasis-CdEFGQdu.js → emphasis-DvaBuxeK.js} +6 -2
- package/dist/{error-component-xzXxODeR.js → error-component-BTe-SuY7.js} +15 -7
- package/dist/error-component-DDnC0bqw.js +5 -0
- package/dist/{footnote-definition-BTSXdQZi.js → footnote-definition-ByWh1N3S.js} +9 -5
- package/dist/{footnote-reference-CV_67vK7.js → footnote-reference-BJ4J7BFo.js} +5 -1
- package/dist/{heading-BH7urRHb.js → heading-1fssqGGO.js} +6 -2
- package/dist/html-Be_6ezK6.js +74 -0
- package/dist/{html-D7bGx0Cz.js → html-DfTs9nEm.js} +4 -0
- package/dist/icon-DE3AzDqz.js +4 -0
- package/dist/{icon-MRs2P5TP.js → icon-DcLTFhFW.js} +1 -1
- package/dist/{image-BypX6qku.js → image-DXnmoID_.js} +4 -4
- package/dist/image-Dl-r78_E.js +9 -0
- package/dist/{image-Bo_26KHM.js → image-xPrAKT9D.js} +12 -8
- package/dist/index.css +133 -143
- package/dist/index.d.ts +194 -152
- package/dist/index.js +335 -217
- package/dist/{inline-code-BZNE1ALQ.js → inline-code-B5lfHACE.js} +4 -0
- package/dist/{inline-math-DFUJNhmp.js → inline-math-CPkpjl8t.js} +7 -3
- package/dist/{link-ClKb1qAC.js → link-BACrkxRW.js} +8 -4
- package/dist/{list-BdM_gwie.js → list-Cu8G46hK.js} +6 -2
- package/dist/{list-item-DaRd7Yu3.js → list-item-BMgDS1tS.js} +6 -2
- package/dist/{math-CLweuHzM.js → math-XsZX0VMw.js} +7 -3
- package/dist/{mermaid-CyLU2UYz.js → mermaid-CQdSlhqn.js} +37 -13
- package/dist/{modal-vHG2jmSe.js → modal-C1riNMrs.js} +8 -5
- package/dist/modal-C7O4jt5-.js +4 -0
- package/dist/{node-list-3yGs9Kcx.js → node-list-7H-lIfUX.js} +10 -2
- package/dist/node-list-DMwAmH_n.js +4 -0
- package/dist/{paragraph-LV8LrqLS.js → paragraph-Cfd37HUK.js} +6 -2
- package/dist/previewers-C7PKsIbc.js +10 -0
- package/dist/segmented-BRTZXoDN.js +7 -0
- package/dist/{segmented-ChmGPy3i.js → segmented-C9j-IIDc.js} +7 -2
- package/dist/{shiki-Dp1kiUyz.js → shiki-BoBbCakv.js} +8 -4
- package/dist/{strong-CcKSE5Jo.js → strong-BzOBAWrG.js} +6 -2
- package/dist/table-D6j6Gl87.js +3 -0
- package/dist/{table-Bk4vJ8-K.js → table-YY5M01Jm.js} +10 -6
- package/dist/{text-DP2IAZrc.js → text-DbHMEN3P.js} +4 -0
- package/dist/{thematic-break-DIO-A8eY.js → thematic-break-CdlhHAEZ.js} +4 -0
- package/dist/theme.css +2 -2
- package/dist/{tooltip-DkCGsj0S.js → tooltip-DarhJuZR.js} +3 -2
- package/dist/tooltip-vDDEbLwf.js +4 -0
- package/dist/vanilla-CzQw2_b4.js +4 -0
- package/dist/{vanilla-D2g3JpWZ.js → vanilla-Z6d1vQmX.js} +1 -1
- package/dist/{yaml-eOuEqAWX.js → yaml-DL5ozHZ_.js} +5 -1
- package/dist/{zoom-container-H5FZmzwY.js → zoom-container-DQMpHHGQ.js} +33 -9
- package/dist/zoom-container-JLbwB4gy.js +7 -0
- package/package.json +3 -2
- package/dist/button-CpZL9Dhf.js +0 -6
- package/dist/code-block-C1Hz5oQb.js +0 -10
- package/dist/dropdown-CS5Df_eY.js +0 -6
- package/dist/error-component-Csr-ujUx.js +0 -5
- package/dist/icon-DcKmEBsy.js +0 -4
- package/dist/image-BRCbBLI5.js +0 -9
- package/dist/modal-JW5JgjbN.js +0 -4
- package/dist/node-list-Cl7nXqfm.js +0 -4
- package/dist/previewers-BUz7EQbB.js +0 -10
- package/dist/segmented-STxjOAhU.js +0 -7
- package/dist/table-20vwclBI.js +0 -3
- package/dist/tooltip-BElCxO8W.js +0 -4
- package/dist/vanilla-79xxpygI.js +0 -4
- package/dist/zoom-container-C5vP44cr.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/{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/{shiki-token-renderer-l2VX-xoX.js → shiki-token-renderer-zn-KUQJD.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/{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
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue210 from "vue";
|
|
2
2
|
import { CSSProperties, Component, MaybeRef, MaybeRefOrGetter } from "vue";
|
|
3
3
|
import * as _floating_ui_dom0 from "@floating-ui/dom";
|
|
4
4
|
import { Placement } from "@floating-ui/dom";
|
|
@@ -261,24 +261,24 @@ declare const DEFAULT_HARDEN_OPTIONS: HardenOptions;
|
|
|
261
261
|
//#endregion
|
|
262
262
|
//#region src/constants/icons.d.ts
|
|
263
263
|
declare const ICONS: {
|
|
264
|
-
readonly arrowLeft:
|
|
265
|
-
readonly check:
|
|
266
|
-
readonly code:
|
|
267
|
-
readonly collapse:
|
|
268
|
-
readonly copy:
|
|
269
|
-
readonly cornerDownLeft:
|
|
270
|
-
readonly download:
|
|
271
|
-
readonly error:
|
|
272
|
-
readonly flipHorizontal:
|
|
273
|
-
readonly image:
|
|
274
|
-
readonly link:
|
|
275
|
-
readonly maximize:
|
|
276
|
-
readonly mermaid:
|
|
277
|
-
readonly minimize:
|
|
278
|
-
readonly preview:
|
|
279
|
-
readonly rotateLeft:
|
|
280
|
-
readonly zoomIn:
|
|
281
|
-
readonly zoomOut:
|
|
264
|
+
readonly arrowLeft: vue210.FunctionalComponent<vue210.SVGAttributes, {}, any, {}>;
|
|
265
|
+
readonly check: vue210.FunctionalComponent<vue210.SVGAttributes, {}, any, {}>;
|
|
266
|
+
readonly code: vue210.FunctionalComponent<vue210.SVGAttributes, {}, any, {}>;
|
|
267
|
+
readonly collapse: vue210.FunctionalComponent<vue210.SVGAttributes, {}, any, {}>;
|
|
268
|
+
readonly copy: vue210.FunctionalComponent<vue210.SVGAttributes, {}, any, {}>;
|
|
269
|
+
readonly cornerDownLeft: vue210.FunctionalComponent<vue210.SVGAttributes, {}, any, {}>;
|
|
270
|
+
readonly download: vue210.FunctionalComponent<vue210.SVGAttributes, {}, any, {}>;
|
|
271
|
+
readonly error: vue210.FunctionalComponent<vue210.SVGAttributes, {}, any, {}>;
|
|
272
|
+
readonly flipHorizontal: vue210.FunctionalComponent<vue210.SVGAttributes, {}, any, {}>;
|
|
273
|
+
readonly image: vue210.FunctionalComponent<vue210.SVGAttributes, {}, any, {}>;
|
|
274
|
+
readonly link: vue210.FunctionalComponent<vue210.SVGAttributes, {}, any, {}>;
|
|
275
|
+
readonly maximize: vue210.FunctionalComponent<vue210.SVGAttributes, {}, any, {}>;
|
|
276
|
+
readonly mermaid: vue210.FunctionalComponent<vue210.SVGAttributes, {}, any, {}>;
|
|
277
|
+
readonly minimize: vue210.FunctionalComponent<vue210.SVGAttributes, {}, any, {}>;
|
|
278
|
+
readonly preview: vue210.FunctionalComponent<vue210.SVGAttributes, {}, any, {}>;
|
|
279
|
+
readonly rotateLeft: vue210.FunctionalComponent<vue210.SVGAttributes, {}, any, {}>;
|
|
280
|
+
readonly zoomIn: vue210.FunctionalComponent<vue210.SVGAttributes, {}, any, {}>;
|
|
281
|
+
readonly zoomOut: vue210.FunctionalComponent<vue210.SVGAttributes, {}, any, {}>;
|
|
282
282
|
};
|
|
283
283
|
//#endregion
|
|
284
284
|
//#region src/constants/preload.d.ts
|
|
@@ -353,6 +353,7 @@ interface StreamMarkdownContext {
|
|
|
353
353
|
hardenOptions?: HardenOptions;
|
|
354
354
|
codeOptions?: CodeOptions;
|
|
355
355
|
imageOptions?: ImageOptions;
|
|
356
|
+
uiOptions?: UIOptions;
|
|
356
357
|
isDark?: boolean;
|
|
357
358
|
}
|
|
358
359
|
type TableControlsConfig = boolean | {
|
|
@@ -377,6 +378,12 @@ type ImageControlsConfig = boolean | {
|
|
|
377
378
|
customize?: ControlTransformer<ImageNodeRendererProps>;
|
|
378
379
|
};
|
|
379
380
|
type MermaidControlsConfig = boolean | {
|
|
381
|
+
/**
|
|
382
|
+
* Disable drag/pan in page preview (but keep it in fullscreen preview)
|
|
383
|
+
* Useful for mobile devices where drag interactions can interfere with page scrolling
|
|
384
|
+
* @default true
|
|
385
|
+
*/
|
|
386
|
+
inlineInteractive?: boolean;
|
|
380
387
|
position?: ZoomControlPosition;
|
|
381
388
|
customize?: ControlTransformer<CodeNodeRendererProps>;
|
|
382
389
|
};
|
|
@@ -387,12 +394,15 @@ type ControlsConfig = boolean | {
|
|
|
387
394
|
image?: boolean | ImageControlsConfig;
|
|
388
395
|
mermaid?: boolean | MermaidControlsConfig;
|
|
389
396
|
};
|
|
390
|
-
type
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
397
|
+
type PreviewSegmentedPlacement = 'left' | 'center' | 'right' | 'auto';
|
|
398
|
+
type PreviewerConfig = boolean | {
|
|
399
|
+
placement?: PreviewSegmentedPlacement;
|
|
400
|
+
progressive?: Record<string, boolean>;
|
|
401
|
+
components?: {
|
|
402
|
+
mermaid?: boolean | Component;
|
|
403
|
+
html?: boolean | Component;
|
|
404
|
+
} & Record<string, Component>;
|
|
405
|
+
};
|
|
396
406
|
interface ShikiOptions {
|
|
397
407
|
theme?: [BuiltinTheme, BuiltinTheme];
|
|
398
408
|
langs?: BundledLanguage[];
|
|
@@ -442,26 +452,34 @@ interface HardenOptions {
|
|
|
442
452
|
allowDataImages?: boolean;
|
|
443
453
|
errorComponent?: Component;
|
|
444
454
|
}
|
|
455
|
+
interface UIOptions {
|
|
456
|
+
/**
|
|
457
|
+
* Hide tooltips triggered by hover (but keep dropdowns triggered by click)
|
|
458
|
+
* Useful for mobile devices where hover interactions don't work well
|
|
459
|
+
* @default false
|
|
460
|
+
*/
|
|
461
|
+
hideTooltip?: boolean;
|
|
462
|
+
}
|
|
445
463
|
//#endregion
|
|
446
464
|
//#region src/components/renderers/index.d.ts
|
|
447
465
|
declare const NODE_RENDERERS: NodeRenderers;
|
|
448
466
|
//#endregion
|
|
449
467
|
//#region src/components/index.d.ts
|
|
450
468
|
declare const UI: {
|
|
451
|
-
readonly Button:
|
|
469
|
+
readonly Button: vue210.DefineComponent<ButtonProps, {}, {}, {}, {}, vue210.ComponentOptionsMixin, vue210.ComponentOptionsMixin, {} & {
|
|
452
470
|
click: (event: MouseEvent, item?: SelectOption | undefined) => any;
|
|
453
|
-
}, string,
|
|
471
|
+
}, string, vue210.PublicProps, Readonly<ButtonProps> & Readonly<{
|
|
454
472
|
onClick?: ((event: MouseEvent, item?: SelectOption | undefined) => any) | undefined;
|
|
455
473
|
}>, {
|
|
456
474
|
variant: "icon" | "text";
|
|
457
|
-
buttonStyle:
|
|
475
|
+
buttonStyle: vue210.CSSProperties;
|
|
458
476
|
iconWidth: number;
|
|
459
477
|
iconHeight: number;
|
|
460
|
-
iconStyle:
|
|
478
|
+
iconStyle: vue210.CSSProperties;
|
|
461
479
|
options: SelectOption[];
|
|
462
|
-
}, {}, {}, {}, string,
|
|
480
|
+
}, {}, {}, {}, string, vue210.ComponentProvideOptions, false, {}, any>;
|
|
463
481
|
readonly CodeBlock: {
|
|
464
|
-
new (...args: any[]):
|
|
482
|
+
new (...args: any[]): vue210.CreateComponentPublicInstanceWithMixins<Readonly<CodeNodeRendererProps> & Readonly<{}>, {}, {}, {}, {}, vue210.ComponentOptionsMixin, vue210.ComponentOptionsMixin, {}, vue210.PublicProps, {}, false, {}, {}, vue210.GlobalComponents, vue210.GlobalDirectives, string, {}, any, vue210.ComponentProvideOptions, {
|
|
465
483
|
P: {};
|
|
466
484
|
B: {};
|
|
467
485
|
D: {};
|
|
@@ -472,7 +490,7 @@ declare const UI: {
|
|
|
472
490
|
__isFragment?: never;
|
|
473
491
|
__isTeleport?: never;
|
|
474
492
|
__isSuspense?: never;
|
|
475
|
-
} &
|
|
493
|
+
} & vue210.ComponentOptionsBase<Readonly<CodeNodeRendererProps> & Readonly<{}>, {}, {}, {}, {}, vue210.ComponentOptionsMixin, vue210.ComponentOptionsMixin, {}, string, {}, {}, string, {}, vue210.GlobalComponents, vue210.GlobalDirectives, string, vue210.ComponentProvideOptions> & vue210.VNodeProps & vue210.AllowedComponentProps & vue210.ComponentCustomProps & (new () => {
|
|
476
494
|
$slots: {
|
|
477
495
|
title?: (props: {}) => any;
|
|
478
496
|
} & {
|
|
@@ -484,16 +502,16 @@ declare const UI: {
|
|
|
484
502
|
};
|
|
485
503
|
});
|
|
486
504
|
readonly Dropdown: {
|
|
487
|
-
new (...args: any[]):
|
|
505
|
+
new (...args: any[]): vue210.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
488
506
|
title?: string;
|
|
489
507
|
options?: SelectOption[];
|
|
490
508
|
}> & Readonly<{
|
|
491
509
|
onClick?: ((event: MouseEvent, item: SelectOption) => any) | undefined;
|
|
492
|
-
}>, {}, {}, {}, {},
|
|
510
|
+
}>, {}, {}, {}, {}, vue210.ComponentOptionsMixin, vue210.ComponentOptionsMixin, {} & {
|
|
493
511
|
click: (event: MouseEvent, item: SelectOption) => any;
|
|
494
|
-
},
|
|
512
|
+
}, vue210.PublicProps, {
|
|
495
513
|
options: SelectOption[];
|
|
496
|
-
}, false, {}, {},
|
|
514
|
+
}, false, {}, {}, vue210.GlobalComponents, vue210.GlobalDirectives, string, {}, any, vue210.ComponentProvideOptions, {
|
|
497
515
|
P: {};
|
|
498
516
|
B: {};
|
|
499
517
|
D: {};
|
|
@@ -511,28 +529,30 @@ declare const UI: {
|
|
|
511
529
|
__isFragment?: never;
|
|
512
530
|
__isTeleport?: never;
|
|
513
531
|
__isSuspense?: never;
|
|
514
|
-
} &
|
|
532
|
+
} & vue210.ComponentOptionsBase<Readonly<{
|
|
515
533
|
title?: string;
|
|
516
534
|
options?: SelectOption[];
|
|
517
535
|
}> & Readonly<{
|
|
518
536
|
onClick?: ((event: MouseEvent, item: SelectOption) => any) | undefined;
|
|
519
|
-
}>, {}, {}, {}, {},
|
|
537
|
+
}>, {}, {}, {}, {}, vue210.ComponentOptionsMixin, vue210.ComponentOptionsMixin, {} & {
|
|
520
538
|
click: (event: MouseEvent, item: SelectOption) => any;
|
|
521
539
|
}, string, {
|
|
522
540
|
options: SelectOption[];
|
|
523
|
-
}, {}, string, {},
|
|
541
|
+
}, {}, string, {}, vue210.GlobalComponents, vue210.GlobalDirectives, string, vue210.ComponentProvideOptions> & vue210.VNodeProps & vue210.AllowedComponentProps & vue210.ComponentCustomProps & (new () => {
|
|
524
542
|
$slots: {
|
|
525
543
|
default?: (props: {}) => any;
|
|
526
544
|
};
|
|
527
545
|
});
|
|
528
546
|
readonly ErrorComponent: {
|
|
529
|
-
new (...args: any[]):
|
|
547
|
+
new (...args: any[]): vue210.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
530
548
|
variant?: "image" | "vanilla" | "mermaid" | "katex" | "harden-image" | "harden-link";
|
|
531
|
-
|
|
549
|
+
showIcon?: boolean;
|
|
550
|
+
icon?: string | vue210.Component;
|
|
532
551
|
message?: string;
|
|
533
|
-
}> & Readonly<{}>, {}, {}, {}, {},
|
|
552
|
+
}> & Readonly<{}>, {}, {}, {}, {}, vue210.ComponentOptionsMixin, vue210.ComponentOptionsMixin, {}, vue210.PublicProps, {
|
|
534
553
|
variant: "image" | "vanilla" | "mermaid" | "katex" | "harden-image" | "harden-link";
|
|
535
|
-
|
|
554
|
+
showIcon: boolean;
|
|
555
|
+
}, false, {}, {}, vue210.GlobalComponents, vue210.GlobalDirectives, string, {}, any, vue210.ComponentProvideOptions, {
|
|
536
556
|
P: {};
|
|
537
557
|
B: {};
|
|
538
558
|
D: {};
|
|
@@ -541,42 +561,46 @@ declare const UI: {
|
|
|
541
561
|
Defaults: {};
|
|
542
562
|
}, Readonly<{
|
|
543
563
|
variant?: "image" | "vanilla" | "mermaid" | "katex" | "harden-image" | "harden-link";
|
|
544
|
-
|
|
564
|
+
showIcon?: boolean;
|
|
565
|
+
icon?: string | vue210.Component;
|
|
545
566
|
message?: string;
|
|
546
567
|
}> & Readonly<{}>, {}, {}, {}, {}, {
|
|
547
568
|
variant: "image" | "vanilla" | "mermaid" | "katex" | "harden-image" | "harden-link";
|
|
569
|
+
showIcon: boolean;
|
|
548
570
|
}>;
|
|
549
571
|
__isFragment?: never;
|
|
550
572
|
__isTeleport?: never;
|
|
551
573
|
__isSuspense?: never;
|
|
552
|
-
} &
|
|
574
|
+
} & vue210.ComponentOptionsBase<Readonly<{
|
|
553
575
|
variant?: "image" | "vanilla" | "mermaid" | "katex" | "harden-image" | "harden-link";
|
|
554
|
-
|
|
576
|
+
showIcon?: boolean;
|
|
577
|
+
icon?: string | vue210.Component;
|
|
555
578
|
message?: string;
|
|
556
|
-
}> & Readonly<{}>, {}, {}, {}, {},
|
|
579
|
+
}> & Readonly<{}>, {}, {}, {}, {}, vue210.ComponentOptionsMixin, vue210.ComponentOptionsMixin, {}, string, {
|
|
557
580
|
variant: "image" | "vanilla" | "mermaid" | "katex" | "harden-image" | "harden-link";
|
|
558
|
-
|
|
581
|
+
showIcon: boolean;
|
|
582
|
+
}, {}, string, {}, vue210.GlobalComponents, vue210.GlobalDirectives, string, vue210.ComponentProvideOptions> & vue210.VNodeProps & vue210.AllowedComponentProps & vue210.ComponentCustomProps & (new () => {
|
|
559
583
|
$slots: {
|
|
560
584
|
default?: (props: {}) => any;
|
|
561
585
|
};
|
|
562
586
|
});
|
|
563
|
-
readonly Icon:
|
|
564
|
-
icon: string |
|
|
587
|
+
readonly Icon: vue210.DefineComponent<{
|
|
588
|
+
icon: string | vue210.Component;
|
|
565
589
|
width?: number;
|
|
566
590
|
height?: number;
|
|
567
591
|
class?: string | string[] | Record<string, unknown>;
|
|
568
|
-
style?:
|
|
569
|
-
}, {}, {}, {}, {},
|
|
570
|
-
icon: string |
|
|
592
|
+
style?: vue210.CSSProperties;
|
|
593
|
+
}, {}, {}, {}, {}, vue210.ComponentOptionsMixin, vue210.ComponentOptionsMixin, {}, string, vue210.PublicProps, Readonly<{
|
|
594
|
+
icon: string | vue210.Component;
|
|
571
595
|
width?: number;
|
|
572
596
|
height?: number;
|
|
573
597
|
class?: string | string[] | Record<string, unknown>;
|
|
574
|
-
style?:
|
|
598
|
+
style?: vue210.CSSProperties;
|
|
575
599
|
}> & Readonly<{}>, {
|
|
576
600
|
width: number;
|
|
577
601
|
height: number;
|
|
578
|
-
}, {}, {}, {}, string,
|
|
579
|
-
readonly Image:
|
|
602
|
+
}, {}, {}, {}, string, vue210.ComponentProvideOptions, false, {}, any>;
|
|
603
|
+
readonly Image: vue210.DefineComponent<{
|
|
580
604
|
src?: string;
|
|
581
605
|
alt?: string;
|
|
582
606
|
title?: string;
|
|
@@ -585,10 +609,10 @@ declare const UI: {
|
|
|
585
609
|
controls?: ControlsConfig;
|
|
586
610
|
transformHardenUrl?: (url: string) => string | null;
|
|
587
611
|
nodeProps: ImageNodeRendererProps;
|
|
588
|
-
}, {}, {}, {}, {},
|
|
612
|
+
}, {}, {}, {}, {}, vue210.ComponentOptionsMixin, vue210.ComponentOptionsMixin, {} & {
|
|
589
613
|
load: (event: Event) => any;
|
|
590
614
|
error: (event: Event) => any;
|
|
591
|
-
}, string,
|
|
615
|
+
}, string, vue210.PublicProps, Readonly<{
|
|
592
616
|
src?: string;
|
|
593
617
|
alt?: string;
|
|
594
618
|
title?: string;
|
|
@@ -604,25 +628,25 @@ declare const UI: {
|
|
|
604
628
|
controls: ControlsConfig;
|
|
605
629
|
preview: boolean;
|
|
606
630
|
margin: number;
|
|
607
|
-
}, {}, {}, {}, string,
|
|
631
|
+
}, {}, {}, {}, string, vue210.ComponentProvideOptions, false, {}, any>;
|
|
608
632
|
readonly Modal: {
|
|
609
|
-
new (...args: any[]):
|
|
633
|
+
new (...args: any[]): vue210.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
610
634
|
title?: string;
|
|
611
635
|
zIndex?: number;
|
|
612
|
-
modalStyle?:
|
|
613
|
-
headerStyle?:
|
|
636
|
+
modalStyle?: vue210.CSSProperties;
|
|
637
|
+
headerStyle?: vue210.CSSProperties;
|
|
614
638
|
transition?: string;
|
|
615
639
|
close?: () => void;
|
|
616
640
|
} & {
|
|
617
641
|
open?: boolean;
|
|
618
642
|
}> & Readonly<{
|
|
619
643
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
620
|
-
}>, {}, {}, {}, {},
|
|
644
|
+
}>, {}, {}, {}, {}, vue210.ComponentOptionsMixin, vue210.ComponentOptionsMixin, {
|
|
621
645
|
"update:open": (value: boolean) => any;
|
|
622
|
-
},
|
|
646
|
+
}, vue210.PublicProps, {
|
|
623
647
|
zIndex: number;
|
|
624
648
|
transition: string;
|
|
625
|
-
}, false, {}, {},
|
|
649
|
+
}, false, {}, {}, vue210.GlobalComponents, vue210.GlobalDirectives, string, {}, any, vue210.ComponentProvideOptions, {
|
|
626
650
|
P: {};
|
|
627
651
|
B: {};
|
|
628
652
|
D: {};
|
|
@@ -632,8 +656,8 @@ declare const UI: {
|
|
|
632
656
|
}, Readonly<{
|
|
633
657
|
title?: string;
|
|
634
658
|
zIndex?: number;
|
|
635
|
-
modalStyle?:
|
|
636
|
-
headerStyle?:
|
|
659
|
+
modalStyle?: vue210.CSSProperties;
|
|
660
|
+
headerStyle?: vue210.CSSProperties;
|
|
637
661
|
transition?: string;
|
|
638
662
|
close?: () => void;
|
|
639
663
|
} & {
|
|
@@ -647,23 +671,23 @@ declare const UI: {
|
|
|
647
671
|
__isFragment?: never;
|
|
648
672
|
__isTeleport?: never;
|
|
649
673
|
__isSuspense?: never;
|
|
650
|
-
} &
|
|
674
|
+
} & vue210.ComponentOptionsBase<Readonly<{
|
|
651
675
|
title?: string;
|
|
652
676
|
zIndex?: number;
|
|
653
|
-
modalStyle?:
|
|
654
|
-
headerStyle?:
|
|
677
|
+
modalStyle?: vue210.CSSProperties;
|
|
678
|
+
headerStyle?: vue210.CSSProperties;
|
|
655
679
|
transition?: string;
|
|
656
680
|
close?: () => void;
|
|
657
681
|
} & {
|
|
658
682
|
open?: boolean;
|
|
659
683
|
}> & Readonly<{
|
|
660
684
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
661
|
-
}>, {}, {}, {}, {},
|
|
685
|
+
}>, {}, {}, {}, {}, vue210.ComponentOptionsMixin, vue210.ComponentOptionsMixin, {
|
|
662
686
|
"update:open": (value: boolean) => any;
|
|
663
687
|
}, string, {
|
|
664
688
|
zIndex: number;
|
|
665
689
|
transition: string;
|
|
666
|
-
}, {}, string, {},
|
|
690
|
+
}, {}, string, {}, vue210.GlobalComponents, vue210.GlobalDirectives, string, vue210.ComponentProvideOptions> & vue210.VNodeProps & vue210.AllowedComponentProps & vue210.ComponentCustomProps & (new () => {
|
|
667
691
|
$slots: {
|
|
668
692
|
title?: (props: {}) => any;
|
|
669
693
|
} & {
|
|
@@ -674,39 +698,39 @@ declare const UI: {
|
|
|
674
698
|
default?: (props: {}) => any;
|
|
675
699
|
};
|
|
676
700
|
});
|
|
677
|
-
readonly NodeList:
|
|
701
|
+
readonly NodeList: vue210.DefineComponent<NodeRendererListProps, {}, {}, {}, {}, vue210.ComponentOptionsMixin, vue210.ComponentOptionsMixin, {}, string, vue210.PublicProps, Readonly<NodeRendererListProps> & Readonly<{}>, {
|
|
678
702
|
nodes: ParsedNode[];
|
|
679
|
-
}, {}, {}, {}, string,
|
|
680
|
-
readonly Segmented:
|
|
703
|
+
}, {}, {}, {}, string, vue210.ComponentProvideOptions, false, {}, any>;
|
|
704
|
+
readonly Segmented: vue210.DefineComponent<{
|
|
681
705
|
options?: SelectOption[];
|
|
682
|
-
buttonStyle?:
|
|
706
|
+
buttonStyle?: vue210.CSSProperties;
|
|
683
707
|
} & {
|
|
684
708
|
value?: string;
|
|
685
|
-
}, {}, {}, {}, {},
|
|
709
|
+
}, {}, {}, {}, {}, vue210.ComponentOptionsMixin, vue210.ComponentOptionsMixin, {
|
|
686
710
|
"update:value": (value: string) => any;
|
|
687
711
|
} & {
|
|
688
712
|
change: (value: string) => any;
|
|
689
|
-
}, string,
|
|
713
|
+
}, string, vue210.PublicProps, Readonly<{
|
|
690
714
|
options?: SelectOption[];
|
|
691
|
-
buttonStyle?:
|
|
715
|
+
buttonStyle?: vue210.CSSProperties;
|
|
692
716
|
} & {
|
|
693
717
|
value?: string;
|
|
694
718
|
}> & Readonly<{
|
|
695
719
|
"onUpdate:value"?: ((value: string) => any) | undefined;
|
|
696
720
|
onChange?: ((value: string) => any) | undefined;
|
|
697
721
|
}>, {
|
|
698
|
-
buttonStyle:
|
|
722
|
+
buttonStyle: vue210.CSSProperties;
|
|
699
723
|
options: SelectOption[];
|
|
700
|
-
}, {}, {}, {}, string,
|
|
701
|
-
readonly Spin:
|
|
724
|
+
}, {}, {}, {}, string, vue210.ComponentProvideOptions, false, {}, any>;
|
|
725
|
+
readonly Spin: vue210.DefineComponent<{}, {}, {}, {}, {}, vue210.ComponentOptionsMixin, vue210.ComponentOptionsMixin, {}, string, vue210.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue210.ComponentProvideOptions, true, {}, any>;
|
|
702
726
|
readonly Table: {
|
|
703
|
-
new (...args: any[]):
|
|
727
|
+
new (...args: any[]): vue210.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
704
728
|
getAlign?: (index: number) => "left" | "center" | "right";
|
|
705
729
|
headers?: unknown[];
|
|
706
730
|
rows?: Array<{
|
|
707
731
|
children: unknown[];
|
|
708
732
|
}>;
|
|
709
|
-
}> & Readonly<{}>, {}, {}, {}, {},
|
|
733
|
+
}> & Readonly<{}>, {}, {}, {}, {}, vue210.ComponentOptionsMixin, vue210.ComponentOptionsMixin, {}, vue210.PublicProps, {}, false, {}, {}, vue210.GlobalComponents, vue210.GlobalDirectives, string, {}, any, vue210.ComponentProvideOptions, {
|
|
710
734
|
P: {};
|
|
711
735
|
B: {};
|
|
712
736
|
D: {};
|
|
@@ -723,13 +747,13 @@ declare const UI: {
|
|
|
723
747
|
__isFragment?: never;
|
|
724
748
|
__isTeleport?: never;
|
|
725
749
|
__isSuspense?: never;
|
|
726
|
-
} &
|
|
750
|
+
} & vue210.ComponentOptionsBase<Readonly<{
|
|
727
751
|
getAlign?: (index: number) => "left" | "center" | "right";
|
|
728
752
|
headers?: unknown[];
|
|
729
753
|
rows?: Array<{
|
|
730
754
|
children: unknown[];
|
|
731
755
|
}>;
|
|
732
|
-
}> & Readonly<{}>, {}, {}, {}, {},
|
|
756
|
+
}> & Readonly<{}>, {}, {}, {}, {}, vue210.ComponentOptionsMixin, vue210.ComponentOptionsMixin, {}, string, {}, {}, string, {}, vue210.GlobalComponents, vue210.GlobalDirectives, string, vue210.ComponentProvideOptions> & vue210.VNodeProps & vue210.AllowedComponentProps & vue210.ComponentCustomProps & (new () => {
|
|
733
757
|
$slots: {
|
|
734
758
|
'header-cell'?: (props: {
|
|
735
759
|
cell: unknown;
|
|
@@ -744,7 +768,7 @@ declare const UI: {
|
|
|
744
768
|
};
|
|
745
769
|
});
|
|
746
770
|
readonly Tooltip: {
|
|
747
|
-
new (...args: any[]):
|
|
771
|
+
new (...args: any[]): vue210.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
748
772
|
content?: string;
|
|
749
773
|
trigger?: "hover" | "click";
|
|
750
774
|
placement?: _floating_ui_dom0.Placement;
|
|
@@ -752,11 +776,11 @@ declare const UI: {
|
|
|
752
776
|
}> & Readonly<{}>, {
|
|
753
777
|
show: () => void;
|
|
754
778
|
hide: () => void;
|
|
755
|
-
}, {}, {}, {},
|
|
779
|
+
}, {}, {}, {}, vue210.ComponentOptionsMixin, vue210.ComponentOptionsMixin, {}, vue210.PublicProps, {
|
|
756
780
|
trigger: "hover" | "click";
|
|
757
781
|
placement: _floating_ui_dom0.Placement;
|
|
758
782
|
delay: number | [number, number];
|
|
759
|
-
}, false, {}, {},
|
|
783
|
+
}, false, {}, {}, vue210.GlobalComponents, vue210.GlobalDirectives, string, {}, any, vue210.ComponentProvideOptions, {
|
|
760
784
|
P: {};
|
|
761
785
|
B: {};
|
|
762
786
|
D: {};
|
|
@@ -779,7 +803,7 @@ declare const UI: {
|
|
|
779
803
|
__isFragment?: never;
|
|
780
804
|
__isTeleport?: never;
|
|
781
805
|
__isSuspense?: never;
|
|
782
|
-
} &
|
|
806
|
+
} & vue210.ComponentOptionsBase<Readonly<{
|
|
783
807
|
content?: string;
|
|
784
808
|
trigger?: "hover" | "click";
|
|
785
809
|
placement?: _floating_ui_dom0.Placement;
|
|
@@ -787,11 +811,11 @@ declare const UI: {
|
|
|
787
811
|
}> & Readonly<{}>, {
|
|
788
812
|
show: () => void;
|
|
789
813
|
hide: () => void;
|
|
790
|
-
}, {}, {}, {},
|
|
814
|
+
}, {}, {}, {}, vue210.ComponentOptionsMixin, vue210.ComponentOptionsMixin, {}, string, {
|
|
791
815
|
trigger: "hover" | "click";
|
|
792
816
|
placement: _floating_ui_dom0.Placement;
|
|
793
817
|
delay: number | [number, number];
|
|
794
|
-
}, {}, string, {},
|
|
818
|
+
}, {}, string, {}, vue210.GlobalComponents, vue210.GlobalDirectives, string, vue210.ComponentProvideOptions> & vue210.VNodeProps & vue210.AllowedComponentProps & vue210.ComponentCustomProps & (new () => {
|
|
795
819
|
$slots: {
|
|
796
820
|
default?: (props: {}) => any;
|
|
797
821
|
} & {
|
|
@@ -799,17 +823,19 @@ declare const UI: {
|
|
|
799
823
|
};
|
|
800
824
|
});
|
|
801
825
|
readonly ZoomContainer: {
|
|
802
|
-
new (...args: any[]):
|
|
826
|
+
new (...args: any[]): vue210.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
827
|
+
interactive?: boolean;
|
|
803
828
|
showControl?: boolean;
|
|
804
829
|
controlSize?: "vanilla" | "large";
|
|
805
830
|
position?: ZoomControlPosition;
|
|
806
|
-
containerStyle?:
|
|
807
|
-
}> & Readonly<{}>, {}, {}, {}, {},
|
|
831
|
+
containerStyle?: vue210.CSSProperties;
|
|
832
|
+
}> & Readonly<{}>, {}, {}, {}, {}, vue210.ComponentOptionsMixin, vue210.ComponentOptionsMixin, {}, vue210.PublicProps, {
|
|
833
|
+
interactive: boolean;
|
|
808
834
|
showControl: boolean;
|
|
809
835
|
controlSize: "vanilla" | "large";
|
|
810
836
|
position: ZoomControlPosition;
|
|
811
|
-
containerStyle:
|
|
812
|
-
}, false, {}, {},
|
|
837
|
+
containerStyle: vue210.CSSProperties;
|
|
838
|
+
}, false, {}, {}, vue210.GlobalComponents, vue210.GlobalDirectives, string, {}, any, vue210.ComponentProvideOptions, {
|
|
813
839
|
P: {};
|
|
814
840
|
B: {};
|
|
815
841
|
D: {};
|
|
@@ -817,30 +843,34 @@ declare const UI: {
|
|
|
817
843
|
M: {};
|
|
818
844
|
Defaults: {};
|
|
819
845
|
}, Readonly<{
|
|
846
|
+
interactive?: boolean;
|
|
820
847
|
showControl?: boolean;
|
|
821
848
|
controlSize?: "vanilla" | "large";
|
|
822
849
|
position?: ZoomControlPosition;
|
|
823
|
-
containerStyle?:
|
|
850
|
+
containerStyle?: vue210.CSSProperties;
|
|
824
851
|
}> & Readonly<{}>, {}, {}, {}, {}, {
|
|
852
|
+
interactive: boolean;
|
|
825
853
|
showControl: boolean;
|
|
826
854
|
controlSize: "vanilla" | "large";
|
|
827
855
|
position: ZoomControlPosition;
|
|
828
|
-
containerStyle:
|
|
856
|
+
containerStyle: vue210.CSSProperties;
|
|
829
857
|
}>;
|
|
830
858
|
__isFragment?: never;
|
|
831
859
|
__isTeleport?: never;
|
|
832
860
|
__isSuspense?: never;
|
|
833
|
-
} &
|
|
861
|
+
} & vue210.ComponentOptionsBase<Readonly<{
|
|
862
|
+
interactive?: boolean;
|
|
834
863
|
showControl?: boolean;
|
|
835
864
|
controlSize?: "vanilla" | "large";
|
|
836
865
|
position?: ZoomControlPosition;
|
|
837
|
-
containerStyle?:
|
|
838
|
-
}> & Readonly<{}>, {}, {}, {}, {},
|
|
866
|
+
containerStyle?: vue210.CSSProperties;
|
|
867
|
+
}> & Readonly<{}>, {}, {}, {}, {}, vue210.ComponentOptionsMixin, vue210.ComponentOptionsMixin, {}, string, {
|
|
868
|
+
interactive: boolean;
|
|
839
869
|
showControl: boolean;
|
|
840
870
|
controlSize: "vanilla" | "large";
|
|
841
871
|
position: ZoomControlPosition;
|
|
842
|
-
containerStyle:
|
|
843
|
-
}, {}, string, {},
|
|
872
|
+
containerStyle: vue210.CSSProperties;
|
|
873
|
+
}, {}, string, {}, vue210.GlobalComponents, vue210.GlobalDirectives, string, vue210.ComponentProvideOptions> & vue210.VNodeProps & vue210.AllowedComponentProps & vue210.ComponentCustomProps & (new () => {
|
|
844
874
|
$slots: {
|
|
845
875
|
controls?: (props: {
|
|
846
876
|
iconWidth?: undefined;
|
|
@@ -865,38 +895,42 @@ interface UseCodeOptionsOptions {
|
|
|
865
895
|
language?: MaybeRef<string>;
|
|
866
896
|
}
|
|
867
897
|
declare function useCodeOptions(options: UseCodeOptionsOptions): {
|
|
868
|
-
languageCodeOptions:
|
|
869
|
-
languageIcon?: boolean |
|
|
898
|
+
languageCodeOptions: vue210.ComputedRef<{
|
|
899
|
+
languageIcon?: boolean | vue210.Component | undefined;
|
|
870
900
|
language?: Record<string, CodeOptionsLanguage>;
|
|
871
901
|
languageName?: boolean;
|
|
872
902
|
lineNumbers?: boolean;
|
|
873
903
|
maxHeight?: number | string;
|
|
874
904
|
}>;
|
|
875
|
-
showLanguageIcon:
|
|
876
|
-
showLanguageName:
|
|
877
|
-
showLineNumbers:
|
|
905
|
+
showLanguageIcon: vue210.ComputedRef<boolean>;
|
|
906
|
+
showLanguageName: vue210.ComputedRef<boolean>;
|
|
907
|
+
showLineNumbers: vue210.ComputedRef<boolean>;
|
|
878
908
|
};
|
|
879
909
|
//#endregion
|
|
880
910
|
//#region src/composables/use-context.d.ts
|
|
881
911
|
interface Context {
|
|
882
912
|
mode?: MaybeRef<'static' | 'streaming'>;
|
|
883
913
|
isDark?: MaybeRef<boolean>;
|
|
914
|
+
uiOptions?: MaybeRef<UIOptions | undefined>;
|
|
884
915
|
icons?: MaybeRef<Icons>;
|
|
885
916
|
enableAnimate?: MaybeRef<boolean | undefined>;
|
|
886
917
|
parsedNodes?: MaybeRef<ParsedNode[]>;
|
|
887
918
|
getContainer?: () => HTMLElement | undefined;
|
|
919
|
+
getOverlayContainer?: () => Element | null;
|
|
888
920
|
onCopied?: (content: string) => void;
|
|
889
921
|
}
|
|
890
922
|
declare function useContext(): {
|
|
891
923
|
context: Context;
|
|
892
924
|
provideContext: (ctx: Partial<Context>) => void;
|
|
893
925
|
injectContext: () => Context;
|
|
894
|
-
mode:
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
926
|
+
mode: vue210.ComputedRef<"streaming" | "static">;
|
|
927
|
+
hideTooltip: vue210.ComputedRef<boolean>;
|
|
928
|
+
icons: vue210.ComputedRef<Partial<Icons>>;
|
|
929
|
+
isDark: vue210.ComputedRef<boolean>;
|
|
930
|
+
enableAnimate: vue210.ComputedRef<boolean | undefined>;
|
|
931
|
+
parsedNodes: vue210.ComputedRef<ParsedNode[]>;
|
|
899
932
|
readonly getContainer: () => HTMLElement | undefined;
|
|
933
|
+
readonly getOverlayContainer: () => Element | null;
|
|
900
934
|
readonly onCopied: (content: string) => void;
|
|
901
935
|
};
|
|
902
936
|
//#endregion
|
|
@@ -912,17 +946,18 @@ declare function useControls(options: UseControlsOptions): {
|
|
|
912
946
|
//#endregion
|
|
913
947
|
//#region src/composables/use-floating.d.ts
|
|
914
948
|
interface UseFloatingOptions {
|
|
949
|
+
hideTooltip?: MaybeRef<boolean>;
|
|
915
950
|
trigger?: MaybeRef<'hover' | 'click'>;
|
|
916
951
|
placement?: MaybeRef<Placement>;
|
|
917
952
|
delay?: MaybeRef<number | [number, number]>;
|
|
918
953
|
getContainer?: () => HTMLElement | undefined;
|
|
919
954
|
}
|
|
920
955
|
declare function useFloating(options: UseFloatingOptions): {
|
|
921
|
-
referenceEl:
|
|
922
|
-
floatingEl:
|
|
923
|
-
open:
|
|
924
|
-
appendTo:
|
|
925
|
-
floatingStyle:
|
|
956
|
+
referenceEl: vue210.Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
957
|
+
floatingEl: vue210.Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
958
|
+
open: vue210.Ref<boolean, boolean>;
|
|
959
|
+
appendTo: vue210.ComputedRef<HTMLElement | "body">;
|
|
960
|
+
floatingStyle: vue210.ComputedRef<{
|
|
926
961
|
position: "absolute" | "fixed";
|
|
927
962
|
top: string;
|
|
928
963
|
left: string;
|
|
@@ -943,7 +978,7 @@ declare function useI18n(): {
|
|
|
943
978
|
//#endregion
|
|
944
979
|
//#region src/composables/use-katex.d.ts
|
|
945
980
|
declare function useKatex(): {
|
|
946
|
-
installed:
|
|
981
|
+
installed: vue210.Ref<boolean, boolean>;
|
|
947
982
|
render: (code: string, options?: KatexOptions$1) => Promise<{
|
|
948
983
|
html?: string;
|
|
949
984
|
error?: string;
|
|
@@ -959,9 +994,9 @@ interface UseMathRendererOptions {
|
|
|
959
994
|
throttle?: MaybeRef<number>;
|
|
960
995
|
}
|
|
961
996
|
declare function useMathRenderer(options: UseMathRendererOptions): {
|
|
962
|
-
html:
|
|
963
|
-
error:
|
|
964
|
-
errorMessage:
|
|
997
|
+
html: vue210.Ref<string, string>;
|
|
998
|
+
error: vue210.ComputedRef<boolean>;
|
|
999
|
+
errorMessage: vue210.Ref<string, string>;
|
|
965
1000
|
};
|
|
966
1001
|
//#endregion
|
|
967
1002
|
//#region src/composables/use-medium-zoom.d.ts
|
|
@@ -971,12 +1006,12 @@ interface UseMediumZoomOptions {
|
|
|
971
1006
|
close?: () => void;
|
|
972
1007
|
}
|
|
973
1008
|
declare function useMediumZoom(options: UseMediumZoomOptions): {
|
|
974
|
-
isAnimating:
|
|
975
|
-
elementStyle:
|
|
1009
|
+
isAnimating: vue210.Ref<boolean, boolean>;
|
|
1010
|
+
elementStyle: vue210.ComputedRef<{
|
|
976
1011
|
opacity: number;
|
|
977
1012
|
}>;
|
|
978
|
-
elementRef:
|
|
979
|
-
zoomElementRef:
|
|
1013
|
+
elementRef: vue210.Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
1014
|
+
zoomElementRef: vue210.Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
980
1015
|
zoomIn: () => Promise<void>;
|
|
981
1016
|
zoomOut: () => Promise<void>;
|
|
982
1017
|
};
|
|
@@ -987,10 +1022,17 @@ interface UseMermaidOptions {
|
|
|
987
1022
|
isDark?: MaybeRef<boolean>;
|
|
988
1023
|
}
|
|
989
1024
|
declare function useMermaid(options?: UseMermaidOptions): {
|
|
990
|
-
installed:
|
|
1025
|
+
installed: vue210.Ref<boolean, boolean>;
|
|
991
1026
|
getMermaid: () => Promise<Mermaid>;
|
|
992
|
-
parseMermaid: (code: string) => Promise<
|
|
993
|
-
|
|
1027
|
+
parseMermaid: (code: string) => Promise<{
|
|
1028
|
+
valid: boolean;
|
|
1029
|
+
error?: string;
|
|
1030
|
+
}>;
|
|
1031
|
+
renderMermaid: (code: string) => Promise<{
|
|
1032
|
+
svg?: string;
|
|
1033
|
+
error?: string;
|
|
1034
|
+
valid: boolean;
|
|
1035
|
+
}>;
|
|
994
1036
|
saveMermaid: (format: "svg" | "png", code?: string, onError?: (error: Error) => void) => Promise<void>;
|
|
995
1037
|
preload: () => Promise<void>;
|
|
996
1038
|
dispose: () => void;
|
|
@@ -1004,10 +1046,10 @@ interface UseSanitizersOptions {
|
|
|
1004
1046
|
isImage?: MaybeRef<boolean | undefined>;
|
|
1005
1047
|
}
|
|
1006
1048
|
declare function useSanitizers(options: UseSanitizersOptions): {
|
|
1007
|
-
hardenOptions:
|
|
1049
|
+
hardenOptions: vue210.ComputedRef<HardenOptions>;
|
|
1008
1050
|
transformHardenUrl: (url: string) => string | null;
|
|
1009
|
-
transformedUrl:
|
|
1010
|
-
isHardenUrl:
|
|
1051
|
+
transformedUrl: vue210.ComputedRef<string | null>;
|
|
1052
|
+
isHardenUrl: vue210.ComputedRef<boolean>;
|
|
1011
1053
|
};
|
|
1012
1054
|
//#endregion
|
|
1013
1055
|
//#region src/composables/use-shiki.d.ts
|
|
@@ -1017,7 +1059,7 @@ interface UseShikiOptions {
|
|
|
1017
1059
|
isDark?: MaybeRef<boolean>;
|
|
1018
1060
|
}
|
|
1019
1061
|
declare function useShiki(options?: UseShikiOptions): {
|
|
1020
|
-
installed:
|
|
1062
|
+
installed: vue210.Ref<boolean, boolean>;
|
|
1021
1063
|
getHighlighter: () => Promise<Highlighter>;
|
|
1022
1064
|
codeToTokens: (code: string) => Promise<TokensResult>;
|
|
1023
1065
|
preload: () => Promise<void>;
|
|
@@ -1027,15 +1069,15 @@ declare function useShiki(options?: UseShikiOptions): {
|
|
|
1027
1069
|
//#region src/composables/use-tailwind-v3-theme.d.ts
|
|
1028
1070
|
interface UseTailwindV3ThemeOptions {
|
|
1029
1071
|
element?: MaybeRefOrGetter<HTMLElement | undefined>;
|
|
1030
|
-
styleScope?: MaybeRef<string>;
|
|
1072
|
+
styleScope?: MaybeRef<string | string[]>;
|
|
1031
1073
|
}
|
|
1032
1074
|
declare function useTailwindV3Theme(options: UseTailwindV3ThemeOptions): {
|
|
1033
|
-
element:
|
|
1075
|
+
element: vue210.ComputedRef<Element | undefined>;
|
|
1034
1076
|
id: string;
|
|
1035
|
-
css:
|
|
1077
|
+
css: vue210.ShallowRef<string>;
|
|
1036
1078
|
load: () => void;
|
|
1037
1079
|
unload: () => void;
|
|
1038
|
-
isLoaded: Readonly<
|
|
1080
|
+
isLoaded: Readonly<vue210.ShallowRef<boolean>>;
|
|
1039
1081
|
generateCSS: () => void;
|
|
1040
1082
|
};
|
|
1041
1083
|
//#endregion
|
|
@@ -1055,11 +1097,11 @@ interface ZoomState {
|
|
|
1055
1097
|
translateY: number;
|
|
1056
1098
|
}
|
|
1057
1099
|
declare function useZoom(options?: UseZoomOptions): {
|
|
1058
|
-
zoom:
|
|
1059
|
-
translateX:
|
|
1060
|
-
translateY:
|
|
1061
|
-
isDragging:
|
|
1062
|
-
transformStyle:
|
|
1100
|
+
zoom: vue210.Ref<number, number>;
|
|
1101
|
+
translateX: vue210.Ref<number, number>;
|
|
1102
|
+
translateY: vue210.Ref<number, number>;
|
|
1103
|
+
isDragging: vue210.Ref<boolean, boolean>;
|
|
1104
|
+
transformStyle: vue210.ComputedRef<{
|
|
1063
1105
|
transform: string;
|
|
1064
1106
|
}>;
|
|
1065
1107
|
zoomIn: () => void;
|
|
@@ -1078,16 +1120,16 @@ declare function useZoom(options?: UseZoomOptions): {
|
|
|
1078
1120
|
};
|
|
1079
1121
|
//#endregion
|
|
1080
1122
|
//#region src/index.vue.d.ts
|
|
1081
|
-
declare const __VLS_export:
|
|
1123
|
+
declare const __VLS_export: vue210.DefineComponent<StreamMarkdownProps, {
|
|
1082
1124
|
getMarkdownParser: () => MarkdownParser;
|
|
1083
1125
|
getParsedNodes: () => ParsedNode[];
|
|
1084
1126
|
getProcessedContent: () => string;
|
|
1085
|
-
}, {}, {}, {},
|
|
1127
|
+
}, {}, {}, {}, vue210.ComponentOptionsMixin, vue210.ComponentOptionsMixin, {} & {
|
|
1086
1128
|
copied: (content: string) => any;
|
|
1087
|
-
}, string,
|
|
1129
|
+
}, string, vue210.PublicProps, Readonly<StreamMarkdownProps> & Readonly<{
|
|
1088
1130
|
onCopied?: ((content: string) => any) | undefined;
|
|
1089
1131
|
}>, {
|
|
1090
|
-
nodeRenderers: Partial<Record<"delete" | "text" | "blockquote" | "break" | "code" | "definition" | "emphasis" | "footnoteDefinition" | "footnoteReference" | "heading" | "html" | "image" | "imageReference" | "inlineCode" | "link" | "linkReference" | "list" | "listItem" | "paragraph" | "strong" | "table" | "tableCell" | "tableRow" | "thematicBreak" | "yaml" | "inlineMath" | "math",
|
|
1132
|
+
nodeRenderers: Partial<Record<"delete" | "text" | "blockquote" | "break" | "code" | "definition" | "emphasis" | "footnoteDefinition" | "footnoteReference" | "heading" | "html" | "image" | "imageReference" | "inlineCode" | "link" | "linkReference" | "list" | "listItem" | "paragraph" | "strong" | "table" | "tableCell" | "tableRow" | "thematicBreak" | "yaml" | "inlineMath" | "math", vue210.Component>>;
|
|
1091
1133
|
controls: ControlsConfig;
|
|
1092
1134
|
previewers: PreviewerConfig;
|
|
1093
1135
|
isDark: boolean;
|
|
@@ -1096,14 +1138,14 @@ declare const __VLS_export: vue209.DefineComponent<StreamMarkdownProps, {
|
|
|
1096
1138
|
icons: Partial<Icons>;
|
|
1097
1139
|
locale: string | LocaleConfig;
|
|
1098
1140
|
enableAnimate: boolean;
|
|
1099
|
-
}, {}, {}, {}, string,
|
|
1141
|
+
}, {}, {}, {}, string, vue210.ComponentProvideOptions, false, {}, any>;
|
|
1100
1142
|
declare const _default: typeof __VLS_export;
|
|
1101
1143
|
//#endregion
|
|
1102
1144
|
//#region src/locales/index.d.ts
|
|
1103
1145
|
declare const SUPPORT_LANGUAGES: string[];
|
|
1104
1146
|
declare const localesGlob: Record<string, () => Promise<unknown>>;
|
|
1105
|
-
declare const localeMessages:
|
|
1106
|
-
declare const currentLocale:
|
|
1147
|
+
declare const localeMessages: vue210.Ref<LocaleConfig | undefined, LocaleConfig | undefined>;
|
|
1148
|
+
declare const currentLocale: vue210.Ref<string, string>;
|
|
1107
1149
|
declare function loadLocaleMessages(language: string | LocaleConfig): Promise<void>;
|
|
1108
1150
|
//#endregion
|
|
1109
1151
|
//#region src/postprocess/footnote.d.ts
|
|
@@ -1354,7 +1396,7 @@ declare const trailingStandaloneDashWithNewlinesPattern: RegExp;
|
|
|
1354
1396
|
//#region src/preprocess/index.d.ts
|
|
1355
1397
|
declare function proprocessContent(content: string): string;
|
|
1356
1398
|
declare function normalize(content: string): string;
|
|
1357
|
-
declare function preprocess(content: string): string;
|
|
1399
|
+
declare function preprocess(content: string, streamdown?: boolean): string;
|
|
1358
1400
|
//#endregion
|
|
1359
1401
|
//#region src/utils/harden.d.ts
|
|
1360
1402
|
declare function transformUrl(url: unknown, allowedPrefixes: string[], defaultOrigin: string, allowDataImages?: boolean, isImage?: boolean, allowedProtocols?: string[]): string | null;
|
|
@@ -1401,4 +1443,4 @@ declare function tableDataToTSV(data: TableData): string;
|
|
|
1401
1443
|
declare function escapeMarkdownTableCell(cell: string): string;
|
|
1402
1444
|
declare function tableDataToMarkdown(data: TableData): string;
|
|
1403
1445
|
//#endregion
|
|
1404
|
-
export { BlockquoteNode, BlockquoteNodeRendererProps, BreakNode, BreakNodeRendererProps, BuiltinNodeRenderers, BuiltinPreviewers, BuiltinUIComponents, ButtonProps, CODE_PREVIEWERS, CodeControlsConfig, CodeNode, CodeNodeRendererProps, CodeOptions, CodeOptionsLanguage, Control, ControlTransformer, ControlsConfig, DEFAULT_DARK_THEME, DEFAULT_HARDEN_OPTIONS, DEFAULT_LIGHT_THEME, DefinitionNode, DefinitionNodeRendererProps, DeleteNode, DeleteNodeRendererProps, EmphasisNode, EmphasisNodeRendererProps, FootnoteDefinitionNode, FootnoteDefinitionNodeRendererProps, FootnoteReferenceNode, FootnoteReferenceNodeRendererProps, HardenOptions, HeadingNode, HeadingNodeRendererProps, HtmlNode, HtmlNodeRendererProps, ICONS, IconName, Icons, ImageControlsConfig, ImageNode, ImageNodeRendererProps, ImageOptions, ImageReferenceNode, ImageReferenceNodeRendererProps, InlineCodeNode, InlineCodeNodeRendererProps, InlineMathNode, InlineMathNodeRendererProps, KatexOptions, LANGUAGE_ALIAS, LANGUAGE_EXTENSIONS, LANGUAGE_ICONS, LinkNode, LinkNodeRendererProps, LinkReferenceNode, LinkReferenceNodeRendererProps, ListItemNode, ListItemNodeRendererProps, ListNode, ListNodeRendererProps, LocaleConfig, _default as Markdown, MarkdownParser, MarkdownParserOptions, MathNode, MathNodeRendererProps, MdastOptions, MermaidControlsConfig, MermaidOptions, NODE_RENDERERS, NodeRendererListProps, NodeRendererProps, NodeRenderers, NodeType, OptionalIconName, Options, PRELOAD_NODE_RENDERER, ParagraphNode, ParagraphNodeRendererProps, ParsedNode, PreloadConfig, PreviewerConfig, SHADCN_SCHEMAS, SUPPORT_LANGUAGES, SelectOption, ShikiOptions, StreamMarkdownContext, StreamMarkdownProps, StrongNode, StrongNodeRendererProps, SyntaxTree, TableCellNode, TableCellNodeRendererProps, TableControlsConfig, TableData, TableNode, TableNodeRendererProps, TableRowNode, TableRowNodeRendererProps, TextNode, TextNodeRendererProps, ThematicBreakNode, ThematicBreakNodeRendererProps, UI, YamlNode, YamlNodeRendererProps, ZoomControlPosition, codeBlockPattern, crlfPattern, currentLocale, doubleAsteriskPattern, doubleDollarPattern, doubleTildePattern, doubleUnderscorePattern, escapeMarkdownTableCell, extractTableDataFromElement, findLastLeafNode, findNodeParent, fixCode, fixDelete, fixEmphasis, fixFootnote, fixLink, fixStrong, fixTable, fixTaskList, flow, footnoteDefLabelPattern, footnoteDefLinePattern, footnoteDefPattern, footnoteRefLabelPattern, footnoteRefPattern, hasKatex, hasMermaid, hasShiki, incompleteBracketPattern, incompleteFootnoteRefPattern, incompleteLinkTextPattern, incompleteTaskListPattern, incompleteUrlPattern, isClient, isServer, loadLocaleMessages, localeMessages, localesGlob, normalize, postFixFootnote, postFixText, postNormalize, postprocess, preloadAsyncComponents, preprocess, preprocessLaTeX, proprocessContent, quoteIncompleteTaskListPattern, quoteStandaloneDashPattern, quoteTaskListPattern, remend, save, saveImage, separatorPattern, singleAsteriskPattern, singleBacktickPattern, singleUnderscorePattern, standaloneDashPattern, svgToPngBlob, tableDataToCSV, tableDataToMarkdown, tableDataToTSV, tableRowPattern, taskListPattern, trailingBackticksPattern, trailingStandaloneBracketPattern, trailingStandaloneDashWithNewlinesPattern, trailingWhitespacePattern, transformUrl, tripleBacktickPattern, useCodeOptions, useContext, useControls, useFloating, useI18n, useKatex, useMathRenderer, useMediumZoom, useMermaid, useSanitizers, useShiki, useTailwindV3Theme, useZoom };
|
|
1446
|
+
export { BlockquoteNode, BlockquoteNodeRendererProps, BreakNode, BreakNodeRendererProps, BuiltinNodeRenderers, BuiltinPreviewers, BuiltinUIComponents, ButtonProps, CODE_PREVIEWERS, CodeControlsConfig, CodeNode, CodeNodeRendererProps, CodeOptions, CodeOptionsLanguage, Control, ControlTransformer, ControlsConfig, DEFAULT_DARK_THEME, DEFAULT_HARDEN_OPTIONS, DEFAULT_LIGHT_THEME, DefinitionNode, DefinitionNodeRendererProps, DeleteNode, DeleteNodeRendererProps, EmphasisNode, EmphasisNodeRendererProps, FootnoteDefinitionNode, FootnoteDefinitionNodeRendererProps, FootnoteReferenceNode, FootnoteReferenceNodeRendererProps, HardenOptions, HeadingNode, HeadingNodeRendererProps, HtmlNode, HtmlNodeRendererProps, ICONS, IconName, Icons, ImageControlsConfig, ImageNode, ImageNodeRendererProps, ImageOptions, ImageReferenceNode, ImageReferenceNodeRendererProps, InlineCodeNode, InlineCodeNodeRendererProps, InlineMathNode, InlineMathNodeRendererProps, KatexOptions, LANGUAGE_ALIAS, LANGUAGE_EXTENSIONS, LANGUAGE_ICONS, LinkNode, LinkNodeRendererProps, LinkReferenceNode, LinkReferenceNodeRendererProps, ListItemNode, ListItemNodeRendererProps, ListNode, ListNodeRendererProps, LocaleConfig, _default as Markdown, MarkdownParser, MarkdownParserOptions, MathNode, MathNodeRendererProps, MdastOptions, MermaidControlsConfig, MermaidOptions, NODE_RENDERERS, NodeRendererListProps, NodeRendererProps, NodeRenderers, NodeType, OptionalIconName, Options, PRELOAD_NODE_RENDERER, ParagraphNode, ParagraphNodeRendererProps, ParsedNode, PreloadConfig, PreviewSegmentedPlacement, PreviewerConfig, SHADCN_SCHEMAS, SUPPORT_LANGUAGES, SelectOption, ShikiOptions, StreamMarkdownContext, StreamMarkdownProps, StrongNode, StrongNodeRendererProps, SyntaxTree, TableCellNode, TableCellNodeRendererProps, TableControlsConfig, TableData, TableNode, TableNodeRendererProps, TableRowNode, TableRowNodeRendererProps, TextNode, TextNodeRendererProps, ThematicBreakNode, ThematicBreakNodeRendererProps, UI, UIOptions, YamlNode, YamlNodeRendererProps, ZoomControlPosition, codeBlockPattern, crlfPattern, currentLocale, doubleAsteriskPattern, doubleDollarPattern, doubleTildePattern, doubleUnderscorePattern, escapeMarkdownTableCell, extractTableDataFromElement, findLastLeafNode, findNodeParent, fixCode, fixDelete, fixEmphasis, fixFootnote, fixLink, fixStrong, fixTable, fixTaskList, flow, footnoteDefLabelPattern, footnoteDefLinePattern, footnoteDefPattern, footnoteRefLabelPattern, footnoteRefPattern, hasKatex, hasMermaid, hasShiki, incompleteBracketPattern, incompleteFootnoteRefPattern, incompleteLinkTextPattern, incompleteTaskListPattern, incompleteUrlPattern, isClient, isServer, loadLocaleMessages, localeMessages, localesGlob, normalize, postFixFootnote, postFixText, postNormalize, postprocess, preloadAsyncComponents, preprocess, preprocessLaTeX, proprocessContent, quoteIncompleteTaskListPattern, quoteStandaloneDashPattern, quoteTaskListPattern, remend, save, saveImage, separatorPattern, singleAsteriskPattern, singleBacktickPattern, singleUnderscorePattern, standaloneDashPattern, svgToPngBlob, tableDataToCSV, tableDataToMarkdown, tableDataToTSV, tableRowPattern, taskListPattern, trailingBackticksPattern, trailingStandaloneBracketPattern, trailingStandaloneDashWithNewlinesPattern, trailingWhitespacePattern, transformUrl, tripleBacktickPattern, useCodeOptions, useContext, useControls, useFloating, useI18n, useKatex, useMathRenderer, useMediumZoom, useMermaid, useSanitizers, useShiki, useTailwindV3Theme, useZoom };
|