vue-stream-markdown 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{blockquote-DTo6zg12.js → blockquote-ClgbyGJ2.js} +2 -2
- package/dist/button-BKN2jNlv.js +6 -0
- package/dist/{button-B7H9jKmU.js → button-BVOWJPmC.js} +2 -2
- package/dist/{code-DC7KVCvB.js → code-DG1O8Nim.js} +10 -10
- package/dist/code-block-C3VwzdZn.js +10 -0
- package/dist/{code-block-DPC1FZT3.js → code-block-wjjUUcJZ.js} +10 -7
- package/dist/composables-CcP6Ysj8.js +10954 -0
- package/dist/{delete-xkkM7TML.js → delete-C9W-KhtX.js} +2 -2
- package/dist/dropdown-ByLAwToD.js +6 -0
- package/dist/{emphasis-BmM30dZi.js → emphasis-DiWz4428.js} +2 -2
- package/dist/error-component-Bhq210EM.js +5 -0
- package/dist/{error-component-DFBWdaYB.js → error-component-BrESW9p1.js} +2 -2
- package/dist/{footnote-definition-6cTbdg-J.js → footnote-definition-lObKczNc.js} +5 -5
- package/dist/{footnote-reference-CxJUg8wT.js → footnote-reference-D4hG5a5R.js} +1 -1
- package/dist/{heading-DQ4lofbm.js → heading-CV3_yOWw.js} +2 -2
- package/dist/{icon-BJa4ovUe.js → icon-CRNiOEiK.js} +1 -1
- package/dist/icon-CVg4xQw0.js +4 -0
- package/dist/image-C9bwOpvz.js +9 -0
- package/dist/{image-e0E51Nc3.js → image-CRAZ3iRD.js} +8 -8
- package/dist/{image-DXu2WF2r.js → image-CS78DShm.js} +4 -4
- package/dist/index.d.ts +251 -176
- package/dist/index.js +10414 -18871
- package/dist/{inline-math-BuO_dWPX.js → inline-math-BE7gPPl0.js} +3 -3
- package/dist/{link-DyD59DzG.js → link-EaqqdLrN.js} +4 -4
- package/dist/{list-De0KPajx.js → list-EaQaXX4p.js} +2 -2
- package/dist/{list-item-CuUgvXRC.js → list-item-KAU_GIzi.js} +2 -2
- package/dist/{math-DnFOOLdz.js → math-CsyxsUp9.js} +3 -3
- package/dist/{mermaid-ZCQPlRUa.js → mermaid-CA30wprV.js} +25 -11
- package/dist/modal-C0X_IXfp.js +4 -0
- package/dist/{modal-Bhe0iSs6.js → modal-D8sOifLe.js} +1 -1
- package/dist/node-list--ReOjYkK.js +4 -0
- package/dist/{node-list-CWy--Gin.js → node-list-VskJkISk.js} +1 -1
- package/dist/{paragraph-D3H1qprZ.js → paragraph-D6OuJvHb.js} +2 -2
- package/dist/{previewers-DB2HHDGb.js → previewers-CwjTiQh8.js} +1 -1
- package/dist/segmented-D-zfh_BF.js +7 -0
- package/dist/{segmented-B-kjIOkd.js → segmented-DafF5jPA.js} +1 -1
- package/dist/{shiki-DAu2_FTG.js → shiki-C1omjtbf.js} +2 -2
- package/dist/{strong-BlCQoXCR.js → strong-Clqsbyuc.js} +2 -2
- package/dist/{table-Co_MpK6m.js → table-DQZFzn1X.js} +5 -5
- package/dist/{tooltip-CWv9skVu.js → tooltip-BfznjscC.js} +1 -1
- package/dist/tooltip-Yf5TSh_Q.js +4 -0
- package/dist/vanilla-C7Ds8DWX.js +4 -0
- package/dist/{vanilla-D30b-_ch.js → vanilla-CfMvJwq0.js} +1 -1
- package/dist/{zoom-container-DbeN8U39.js → zoom-container-Ci1d-2Rg.js} +2 -2
- package/dist/zoom-container-Dd5Vtieh.js +7 -0
- package/package.json +1 -1
- package/dist/button-1EHxh8s2.js +0 -6
- package/dist/code-block-DYrPMONb.js +0 -10
- package/dist/composables-BvaSMf02.js +0 -2154
- package/dist/dropdown-Cv_yW4GS.js +0 -6
- package/dist/error-component-1U-JNS6o.js +0 -5
- package/dist/icon-CvIgAOPh.js +0 -4
- package/dist/image-Dm5xIWs7.js +0 -9
- package/dist/modal-B5jFKJL4.js +0 -4
- package/dist/node-list-Doh9Z-4p.js +0 -4
- package/dist/segmented-fbmq_xK1.js +0 -7
- package/dist/tooltip-70WIAMmC.js +0 -4
- package/dist/vanilla-DV7fYrnj.js +0 -4
- package/dist/zoom-container-Dc8N-wuo.js +0 -7
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./composables-
|
|
2
|
-
import { t as node_list_default } from "./node-list-
|
|
1
|
+
import "./composables-CcP6Ysj8.js";
|
|
2
|
+
import { t as node_list_default } from "./node-list-VskJkISk.js";
|
|
3
3
|
import { createElementBlock, createVNode, defineComponent, mergeProps, openBlock } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/components/renderers/blockquote.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as tooltip_default } from "./tooltip-
|
|
2
|
-
import { t as icon_default } from "./icon-
|
|
1
|
+
import { t as tooltip_default } from "./tooltip-BfznjscC.js";
|
|
2
|
+
import { t as icon_default } from "./icon-CRNiOEiK.js";
|
|
3
3
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeProps, normalizeClass, normalizeStyle, openBlock, ref, renderList, renderSlot, resolveDynamicComponent, toDisplayString, unref, withCtx } from "vue";
|
|
4
4
|
import { createReusableTemplate } from "@vueuse/core";
|
|
5
5
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import
|
|
3
|
-
import "./tooltip-
|
|
4
|
-
import "./button-
|
|
5
|
-
import "./icon-
|
|
6
|
-
import "./modal-
|
|
7
|
-
import { t as code_block_default } from "./code-block-
|
|
8
|
-
import "./segmented-
|
|
1
|
+
import { r as useShiki } from "./composables-CcP6Ysj8.js";
|
|
2
|
+
import "./previewers-CwjTiQh8.js";
|
|
3
|
+
import "./tooltip-BfznjscC.js";
|
|
4
|
+
import "./button-BVOWJPmC.js";
|
|
5
|
+
import "./icon-CRNiOEiK.js";
|
|
6
|
+
import "./modal-D8sOifLe.js";
|
|
7
|
+
import { t as code_block_default } from "./code-block-wjjUUcJZ.js";
|
|
8
|
+
import "./segmented-DafF5jPA.js";
|
|
9
9
|
import { computed, createBlock, createCommentVNode, defineAsyncComponent, defineComponent, guardReactiveProps, mergeProps, normalizeProps, openBlock, resolveDynamicComponent, withCtx } from "vue";
|
|
10
10
|
|
|
11
11
|
//#region src/components/renderers/code/index.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -79,8 +79,8 @@ var index_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineCo
|
|
|
79
79
|
const languageClass = computed(() => `language-${props.node.lang}`);
|
|
80
80
|
const { installed: hasShiki } = useShiki();
|
|
81
81
|
const components = {
|
|
82
|
-
vanilla: defineAsyncComponent(() => import("./vanilla-
|
|
83
|
-
shiki: defineAsyncComponent(() => import("./shiki-
|
|
82
|
+
vanilla: defineAsyncComponent(() => import("./vanilla-C7Ds8DWX.js")),
|
|
83
|
+
shiki: defineAsyncComponent(() => import("./shiki-C1omjtbf.js"))
|
|
84
84
|
};
|
|
85
85
|
const component = computed(() => {
|
|
86
86
|
if (hasShiki.value) return components.shiki;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import "./composables-CcP6Ysj8.js";
|
|
2
|
+
import "./previewers-CwjTiQh8.js";
|
|
3
|
+
import "./tooltip-BfznjscC.js";
|
|
4
|
+
import "./button-BVOWJPmC.js";
|
|
5
|
+
import "./icon-CRNiOEiK.js";
|
|
6
|
+
import "./modal-D8sOifLe.js";
|
|
7
|
+
import { t as code_block_default } from "./code-block-wjjUUcJZ.js";
|
|
8
|
+
import "./segmented-DafF5jPA.js";
|
|
9
|
+
|
|
10
|
+
export { code_block_default as default };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { t as button_default } from "./button-
|
|
4
|
-
import { t as modal_default } from "./modal-
|
|
5
|
-
import { t as segmented_default } from "./segmented-
|
|
1
|
+
import { B as LANGUAGE_ICONS, Ct as useContext, R as LANGUAGE_ALIAS, St as useControls, V as useMermaid, q as useI18n, vt as save, wt as useCodeOptions, z as LANGUAGE_EXTENSIONS } from "./composables-CcP6Ysj8.js";
|
|
2
|
+
import { t as CODE_PREVIEWERS } from "./previewers-CwjTiQh8.js";
|
|
3
|
+
import { t as button_default } from "./button-BVOWJPmC.js";
|
|
4
|
+
import { t as modal_default } from "./modal-D8sOifLe.js";
|
|
5
|
+
import { t as segmented_default } from "./segmented-DafF5jPA.js";
|
|
6
6
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineAsyncComponent, defineComponent, mergeProps, normalizeClass, normalizeStyle, openBlock, ref, renderList, renderSlot, resolveDynamicComponent, toDisplayString, toRefs, unref, useModel, vShow, watch, withCtx, withDirectives } from "vue";
|
|
7
7
|
import { createReusableTemplate, useClipboard } from "@vueuse/core";
|
|
8
8
|
|
|
@@ -190,7 +190,7 @@ var index_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineCo
|
|
|
190
190
|
},
|
|
191
191
|
setup(__props) {
|
|
192
192
|
const props = __props;
|
|
193
|
-
const CodeNode = defineAsyncComponent(() => import("./code-
|
|
193
|
+
const CodeNode = defineAsyncComponent(() => import("./code-DG1O8Nim.js"));
|
|
194
194
|
const { controls, previewers, codeOptions } = toRefs(props);
|
|
195
195
|
const [DefineTemplate, ReuseTemplate] = createReusableTemplate();
|
|
196
196
|
const { t } = useI18n();
|
|
@@ -432,7 +432,10 @@ var index_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineCo
|
|
|
432
432
|
collapsed: collapsed.value,
|
|
433
433
|
"onUpdate:collapsed": _cache[9] || (_cache[9] = ($event) => collapsed.value = $event)
|
|
434
434
|
}, null, 8, ["mode", "collapsed"])) : createCommentVNode("v-if", true), createVNode(actions_default, { actions: modalControls.value }, null, 8, ["actions"])])]),
|
|
435
|
-
default: withCtx(() => [previewable.value ? withDirectives((openBlock(), createBlock(resolveDynamicComponent(PreviewComponent.value), mergeProps({ key: 0 }, props, {
|
|
435
|
+
default: withCtx(() => [previewable.value ? withDirectives((openBlock(), createBlock(resolveDynamicComponent(PreviewComponent.value), mergeProps({ key: 0 }, props, {
|
|
436
|
+
"immediate-render": true,
|
|
437
|
+
"container-height": "100%"
|
|
438
|
+
}), null, 16)), [[vShow, mode.value === "preview"]]) : createCommentVNode("v-if", true), withDirectives(createVNode(unref(CodeNode), mergeProps(props, { "show-header": false }), null, 16), [[vShow, mode.value === "source"]])]),
|
|
436
439
|
_: 1
|
|
437
440
|
}, 8, ["open"])
|
|
438
441
|
], 10, _hoisted_2)], 64);
|