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.
Files changed (59) hide show
  1. package/dist/{blockquote-DTo6zg12.js → blockquote-ClgbyGJ2.js} +2 -2
  2. package/dist/button-BKN2jNlv.js +6 -0
  3. package/dist/{button-B7H9jKmU.js → button-BVOWJPmC.js} +2 -2
  4. package/dist/{code-DC7KVCvB.js → code-DG1O8Nim.js} +10 -10
  5. package/dist/code-block-C3VwzdZn.js +10 -0
  6. package/dist/{code-block-DPC1FZT3.js → code-block-wjjUUcJZ.js} +10 -7
  7. package/dist/composables-CcP6Ysj8.js +10954 -0
  8. package/dist/{delete-xkkM7TML.js → delete-C9W-KhtX.js} +2 -2
  9. package/dist/dropdown-ByLAwToD.js +6 -0
  10. package/dist/{emphasis-BmM30dZi.js → emphasis-DiWz4428.js} +2 -2
  11. package/dist/error-component-Bhq210EM.js +5 -0
  12. package/dist/{error-component-DFBWdaYB.js → error-component-BrESW9p1.js} +2 -2
  13. package/dist/{footnote-definition-6cTbdg-J.js → footnote-definition-lObKczNc.js} +5 -5
  14. package/dist/{footnote-reference-CxJUg8wT.js → footnote-reference-D4hG5a5R.js} +1 -1
  15. package/dist/{heading-DQ4lofbm.js → heading-CV3_yOWw.js} +2 -2
  16. package/dist/{icon-BJa4ovUe.js → icon-CRNiOEiK.js} +1 -1
  17. package/dist/icon-CVg4xQw0.js +4 -0
  18. package/dist/image-C9bwOpvz.js +9 -0
  19. package/dist/{image-e0E51Nc3.js → image-CRAZ3iRD.js} +8 -8
  20. package/dist/{image-DXu2WF2r.js → image-CS78DShm.js} +4 -4
  21. package/dist/index.d.ts +251 -176
  22. package/dist/index.js +10414 -18871
  23. package/dist/{inline-math-BuO_dWPX.js → inline-math-BE7gPPl0.js} +3 -3
  24. package/dist/{link-DyD59DzG.js → link-EaqqdLrN.js} +4 -4
  25. package/dist/{list-De0KPajx.js → list-EaQaXX4p.js} +2 -2
  26. package/dist/{list-item-CuUgvXRC.js → list-item-KAU_GIzi.js} +2 -2
  27. package/dist/{math-DnFOOLdz.js → math-CsyxsUp9.js} +3 -3
  28. package/dist/{mermaid-ZCQPlRUa.js → mermaid-CA30wprV.js} +25 -11
  29. package/dist/modal-C0X_IXfp.js +4 -0
  30. package/dist/{modal-Bhe0iSs6.js → modal-D8sOifLe.js} +1 -1
  31. package/dist/node-list--ReOjYkK.js +4 -0
  32. package/dist/{node-list-CWy--Gin.js → node-list-VskJkISk.js} +1 -1
  33. package/dist/{paragraph-D3H1qprZ.js → paragraph-D6OuJvHb.js} +2 -2
  34. package/dist/{previewers-DB2HHDGb.js → previewers-CwjTiQh8.js} +1 -1
  35. package/dist/segmented-D-zfh_BF.js +7 -0
  36. package/dist/{segmented-B-kjIOkd.js → segmented-DafF5jPA.js} +1 -1
  37. package/dist/{shiki-DAu2_FTG.js → shiki-C1omjtbf.js} +2 -2
  38. package/dist/{strong-BlCQoXCR.js → strong-Clqsbyuc.js} +2 -2
  39. package/dist/{table-Co_MpK6m.js → table-DQZFzn1X.js} +5 -5
  40. package/dist/{tooltip-CWv9skVu.js → tooltip-BfznjscC.js} +1 -1
  41. package/dist/tooltip-Yf5TSh_Q.js +4 -0
  42. package/dist/vanilla-C7Ds8DWX.js +4 -0
  43. package/dist/{vanilla-D30b-_ch.js → vanilla-CfMvJwq0.js} +1 -1
  44. package/dist/{zoom-container-DbeN8U39.js → zoom-container-Ci1d-2Rg.js} +2 -2
  45. package/dist/zoom-container-Dd5Vtieh.js +7 -0
  46. package/package.json +1 -1
  47. package/dist/button-1EHxh8s2.js +0 -6
  48. package/dist/code-block-DYrPMONb.js +0 -10
  49. package/dist/composables-BvaSMf02.js +0 -2154
  50. package/dist/dropdown-Cv_yW4GS.js +0 -6
  51. package/dist/error-component-1U-JNS6o.js +0 -5
  52. package/dist/icon-CvIgAOPh.js +0 -4
  53. package/dist/image-Dm5xIWs7.js +0 -9
  54. package/dist/modal-B5jFKJL4.js +0 -4
  55. package/dist/node-list-Doh9Z-4p.js +0 -4
  56. package/dist/segmented-fbmq_xK1.js +0 -7
  57. package/dist/tooltip-70WIAMmC.js +0 -4
  58. package/dist/vanilla-DV7fYrnj.js +0 -4
  59. package/dist/zoom-container-Dc8N-wuo.js +0 -7
@@ -1,5 +1,5 @@
1
- import "./composables-BvaSMf02.js";
2
- import { t as node_list_default } from "./node-list-CWy--Gin.js";
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
@@ -0,0 +1,6 @@
1
+ import "./composables-CcP6Ysj8.js";
2
+ import "./tooltip-BfznjscC.js";
3
+ import { t as button_default } from "./button-BVOWJPmC.js";
4
+ import "./icon-CRNiOEiK.js";
5
+
6
+ export { button_default as default };
@@ -1,5 +1,5 @@
1
- import { t as tooltip_default } from "./tooltip-CWv9skVu.js";
2
- import { t as icon_default } from "./icon-BJa4ovUe.js";
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 "./previewers-DB2HHDGb.js";
2
- import { r as useShiki } from "./composables-BvaSMf02.js";
3
- import "./tooltip-CWv9skVu.js";
4
- import "./button-B7H9jKmU.js";
5
- import "./icon-BJa4ovUe.js";
6
- import "./modal-Bhe0iSs6.js";
7
- import { t as code_block_default } from "./code-block-DPC1FZT3.js";
8
- import "./segmented-B-kjIOkd.js";
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-DV7fYrnj.js")),
83
- shiki: defineAsyncComponent(() => import("./shiki-DAu2_FTG.js"))
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 { t as CODE_PREVIEWERS } from "./previewers-DB2HHDGb.js";
2
- import { G as useControls, K as useContext, V as save, b as useI18n, d as LANGUAGE_ALIAS, f as LANGUAGE_EXTENSIONS, m as useMermaid, p as LANGUAGE_ICONS, q as useCodeOptions } from "./composables-BvaSMf02.js";
3
- import { t as button_default } from "./button-B7H9jKmU.js";
4
- import { t as modal_default } from "./modal-Bhe0iSs6.js";
5
- import { t as segmented_default } from "./segmented-B-kjIOkd.js";
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-DC7KVCvB.js"));
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, { "container-height": "100%" }), 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"]])]),
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);