vue-stream-markdown 0.1.2 → 0.1.4

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 (40) hide show
  1. package/README.md +8 -0
  2. package/dist/button-D6ccVxGm.js +5 -0
  3. package/dist/{button-vKhxUL3C.js → button-jFTF378X.js} +1 -1
  4. package/dist/{code-_dL6Qk0F.js → code-BxWvKFxG.js} +8 -8
  5. package/dist/code-block-B72JfFy-.js +9 -0
  6. package/dist/{code-block-wYeMwBck.js → code-block-uZcUI59D.js} +40 -29
  7. package/dist/{composables-CZ7YmjNl.js → composables-Cx0nvyHl.js} +124 -25
  8. package/dist/dropdown-oiCw8QVq.js +5 -0
  9. package/dist/error-component-8y13-fYG.js +4 -0
  10. package/dist/{error-component-ChEpOmSX.js → error-component-Bhl770lu.js} +4 -3
  11. package/dist/{image-DB-4Sv8R.js → image-BDtPwitR.js} +6 -5
  12. package/dist/index.css +58 -73
  13. package/dist/index.d.ts +112 -53
  14. package/dist/index.js +76 -19
  15. package/dist/{inline-math-rChhv_1j.js → inline-math-CAqboT7h.js} +12 -15
  16. package/dist/{link-CJk67Kbh.js → link-C8BSlPhZ.js} +2 -2
  17. package/dist/{math-ZLxqHT_f.js → math-CT1TB2pK.js} +12 -15
  18. package/dist/{mermaid-CNFU7Pg8.js → mermaid-CYrA8rCl.js} +5 -5
  19. package/dist/{previewers-CMreQ4TA.js → previewers-ByaS2Ksa.js} +1 -1
  20. package/dist/segmented-B4IEw3wg.js +6 -0
  21. package/dist/{segmented-RoWxDIP3.js → segmented-DBW9ignu.js} +1 -1
  22. package/dist/{shiki-4529WbJJ.js → shiki-bQYWLdW3.js} +9 -14
  23. package/dist/{renderer-CZ41eK_V.js → shiki-token-renderer-D164wC7Y.js} +10 -23
  24. package/dist/{table-BmGwZIPR.js → table-l_3z210v.js} +6 -5
  25. package/dist/{tooltip-KcTe6tBF.js → tooltip-3UDC9mw-.js} +1 -1
  26. package/dist/tooltip-CAoc_U1X.js +4 -0
  27. package/dist/vanilla-CFWVwBvD.js +39 -0
  28. package/dist/vanilla-De7W3PpS.js +4 -0
  29. package/dist/zoom-container-DBgGdbJS.js +6 -0
  30. package/dist/{zoom-container-D1Mys9gv.js → zoom-container-gjQ0EMyk.js} +18 -5
  31. package/package.json +1 -1
  32. package/dist/button-DBgeYAZy.js +0 -5
  33. package/dist/code-block-DGZ48hb0.js +0 -9
  34. package/dist/dropdown-DR-uQ215.js +0 -5
  35. package/dist/error-component-CKCT9gXy.js +0 -4
  36. package/dist/segmented-63wrfRNo.js +0 -6
  37. package/dist/tooltip--rusT8LZ.js +0 -4
  38. package/dist/vanilla-CA9QO96X.js +0 -3
  39. package/dist/vanilla-DkX6g0dm.js +0 -87
  40. package/dist/zoom-container-C-CB2LTY.js +0 -6
@@ -1,87 +0,0 @@
1
- import { computed, createElementBlock, createElementVNode, defineComponent, openBlock, toDisplayString } from "vue";
2
-
3
- //#region src/components/renderers/code/vanilla.vue?vue&type=script&setup=true&lang.ts
4
- const _hoisted_1 = { "data-stream-markdown": "code" };
5
- const _hoisted_2 = ["textContent"];
6
- var vanilla_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
7
- __name: "vanilla",
8
- props: {
9
- node: {
10
- type: Object,
11
- required: true
12
- },
13
- markdownParser: {
14
- type: Object,
15
- required: true
16
- },
17
- nodeRenderers: {
18
- type: Object,
19
- required: true
20
- },
21
- mediumZoom: {
22
- type: Object,
23
- required: true
24
- },
25
- indexKey: {
26
- type: [Number, String],
27
- required: true
28
- },
29
- getContainer: {
30
- type: Function,
31
- required: true
32
- },
33
- controls: {
34
- type: [Boolean, Object],
35
- required: false
36
- },
37
- previewers: {
38
- type: [Boolean, Object],
39
- required: false
40
- },
41
- shikiOptions: {
42
- type: Object,
43
- required: false
44
- },
45
- mermaidOptions: {
46
- type: Object,
47
- required: false
48
- },
49
- katexOptions: {
50
- type: Object,
51
- required: false
52
- },
53
- hardenOptions: {
54
- type: Object,
55
- required: false
56
- },
57
- codeOptions: {
58
- type: Object,
59
- required: false
60
- },
61
- imageOptions: {
62
- type: Object,
63
- required: false
64
- },
65
- isDark: {
66
- type: Boolean,
67
- required: false
68
- }
69
- },
70
- setup(__props) {
71
- const props = __props;
72
- const code = computed(() => props.node.value.trim());
73
- return (_ctx, _cache) => {
74
- return openBlock(), createElementBlock("pre", _hoisted_1, [createElementVNode("code", {
75
- translate: "no",
76
- textContent: toDisplayString(code.value)
77
- }, null, 8, _hoisted_2)]);
78
- };
79
- }
80
- });
81
-
82
- //#endregion
83
- //#region src/components/renderers/code/vanilla.vue
84
- var vanilla_default = vanilla_vue_vue_type_script_setup_true_lang_default;
85
-
86
- //#endregion
87
- export { vanilla_default as t };
@@ -1,6 +0,0 @@
1
- import "./composables-CZ7YmjNl.js";
2
- import "./tooltip-KcTe6tBF.js";
3
- import "./button-vKhxUL3C.js";
4
- import { t as zoom_container_default } from "./zoom-container-D1Mys9gv.js";
5
-
6
- export { zoom_container_default as default };