vue-stream-markdown 0.2.2 → 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 +4 -0
- package/dist/{blockquote-CVFraiyL.js → blockquote-Crr-D7fY.js} +6 -2
- package/dist/{break-CzrM3nW0.js → break-DoDPjOA0.js} +4 -0
- package/dist/{button-CWSGNZmd.js → button-DVWlhfQ9.js} +2 -2
- package/dist/button-Dw4uJRaD.js +6 -0
- package/dist/{code-DwwmPoup.js → code-Bz8LM16H.js} +14 -10
- package/dist/code-block-Bitp8x1w.js +10 -0
- package/dist/{code-block-XfHjZodV.js → code-block-CmUZxKNr.js} +14 -9
- package/dist/{composables-BMXMKLLj.js → composables-CzUVrTt_.js} +14 -2
- package/dist/{delete-BRwEUU72.js → delete-DFoiOzHW.js} +6 -2
- package/dist/dropdown-CSRjqK0u.js +6 -0
- package/dist/{emphasis-DblyP-Vp.js → emphasis-DvaBuxeK.js} +6 -2
- package/dist/{error-component-CckClFee.js → error-component-BTe-SuY7.js} +2 -2
- package/dist/error-component-DDnC0bqw.js +5 -0
- package/dist/{footnote-definition-BvZNKSLa.js → footnote-definition-ByWh1N3S.js} +9 -5
- package/dist/{footnote-reference-DvAxMjRZ.js → footnote-reference-BJ4J7BFo.js} +5 -1
- package/dist/{heading-g87txbB0.js → heading-1fssqGGO.js} +6 -2
- package/dist/{html-BG83dEZJ.js → html-Be_6ezK6.js} +4 -0
- package/dist/{html-D7bGx0Cz.js → html-DfTs9nEm.js} +4 -0
- package/dist/icon-DE3AzDqz.js +4 -0
- package/dist/{icon-CpKYt1dR.js → icon-DcLTFhFW.js} +1 -1
- package/dist/{image-Dwe5A7RP.js → image-DXnmoID_.js} +4 -4
- package/dist/image-Dl-r78_E.js +9 -0
- package/dist/{image-CR28eDok.js → image-xPrAKT9D.js} +12 -8
- package/dist/index.css +130 -144
- package/dist/index.d.ts +170 -144
- package/dist/index.js +334 -219
- package/dist/{inline-code-E5uGvmnx.js → inline-code-B5lfHACE.js} +4 -0
- package/dist/{inline-math-BHDNxQ5R.js → inline-math-CPkpjl8t.js} +7 -3
- package/dist/{link-BiA46FMM.js → link-BACrkxRW.js} +8 -4
- package/dist/{list-D7QyoGUy.js → list-Cu8G46hK.js} +6 -2
- package/dist/{list-item-Cv8l3Ufd.js → list-item-BMgDS1tS.js} +6 -2
- package/dist/{math-BzuYH4PG.js → math-XsZX0VMw.js} +7 -3
- package/dist/{mermaid-BoiSJ4fF.js → mermaid-CQdSlhqn.js} +22 -8
- package/dist/{modal-DHGxvCt5.js → modal-C1riNMrs.js} +8 -5
- package/dist/modal-C7O4jt5-.js +4 -0
- package/dist/{node-list-D6zJX92N.js → node-list-7H-lIfUX.js} +10 -2
- package/dist/node-list-DMwAmH_n.js +4 -0
- package/dist/{paragraph-YTqe84Bm.js → paragraph-Cfd37HUK.js} +6 -2
- package/dist/previewers-C7PKsIbc.js +10 -0
- package/dist/segmented-BRTZXoDN.js +7 -0
- package/dist/{segmented-DDQZGL7l.js → segmented-C9j-IIDc.js} +1 -1
- package/dist/{shiki-DDfRFzy0.js → shiki-BoBbCakv.js} +7 -3
- package/dist/{strong-nPwCJEKq.js → strong-BzOBAWrG.js} +6 -2
- package/dist/{table-Dtpd-MnT.js → table-YY5M01Jm.js} +9 -5
- package/dist/{text-CfRWiRE0.js → text-DbHMEN3P.js} +4 -0
- package/dist/{thematic-break-DgOD2KmY.js → thematic-break-CdlhHAEZ.js} +4 -0
- package/dist/theme.css +2 -2
- package/dist/{tooltip-C4RiUZwy.js → tooltip-DarhJuZR.js} +3 -2
- package/dist/tooltip-vDDEbLwf.js +4 -0
- package/dist/vanilla-CzQw2_b4.js +4 -0
- package/dist/{vanilla-NR7MOE5P.js → vanilla-Z6d1vQmX.js} +1 -1
- package/dist/{yaml-DP0yfJyS.js → yaml-DL5ozHZ_.js} +4 -0
- package/dist/{zoom-container-CqZQ4X6w.js → zoom-container-DQMpHHGQ.js} +33 -9
- package/dist/zoom-container-JLbwB4gy.js +7 -0
- package/package.json +2 -1
- package/dist/button-BFS-gHGF.js +0 -6
- package/dist/code-block-CTM9VEwA.js +0 -10
- package/dist/dropdown-BQ3uynLf.js +0 -6
- package/dist/error-component-B_Vacrqa.js +0 -5
- package/dist/icon-BX3KKloR.js +0 -4
- package/dist/image-BtkXhzG1.js +0 -9
- package/dist/modal-CFOdkYNj.js +0 -4
- package/dist/node-list-BYDvt6bq.js +0 -4
- package/dist/previewers-Cpx1Wqu8.js +0 -10
- package/dist/segmented-CaVb5_Rp.js +0 -7
- package/dist/tooltip-BIvCaFUj.js +0 -4
- package/dist/vanilla-DfHiHWnr.js +0 -4
- package/dist/zoom-container-DtkZ07v1.js +0 -7
package/README.md
CHANGED
|
@@ -96,6 +96,10 @@ If you encounter any problems, please:
|
|
|
96
96
|
|
|
97
97
|
Please provide the shareable link, markdown content, and AST syntax tree when creating an issue. This will help me reproduce and diagnose the problem more effectively.
|
|
98
98
|
|
|
99
|
+
## Contributors
|
|
100
|
+
|
|
101
|
+
[](https://github.com/jinghaihan/vue-stream-markdown/graphs/contributors)
|
|
102
|
+
|
|
99
103
|
## License
|
|
100
104
|
|
|
101
105
|
[MIT](./LICENSE) License © [jinghaihan](https://github.com/jinghaihan)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./composables-
|
|
2
|
-
import { t as node_list_default } from "./node-list-
|
|
1
|
+
import "./composables-CzUVrTt_.js";
|
|
2
|
+
import { t as node_list_default } from "./node-list-7H-lIfUX.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
|
|
@@ -55,6 +55,10 @@ var blockquote_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ def
|
|
|
55
55
|
type: Object,
|
|
56
56
|
required: false
|
|
57
57
|
},
|
|
58
|
+
uiOptions: {
|
|
59
|
+
type: Object,
|
|
60
|
+
required: false
|
|
61
|
+
},
|
|
58
62
|
isDark: {
|
|
59
63
|
type: Boolean,
|
|
60
64
|
required: false
|
|
@@ -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-DarhJuZR.js";
|
|
2
|
+
import { t as icon_default } from "./icon-DcLTFhFW.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-
|
|
2
|
-
import { r as useShiki } from "./composables-
|
|
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 "./previewers-C7PKsIbc.js";
|
|
2
|
+
import { r as useShiki } from "./composables-CzUVrTt_.js";
|
|
3
|
+
import "./tooltip-DarhJuZR.js";
|
|
4
|
+
import "./button-DVWlhfQ9.js";
|
|
5
|
+
import "./icon-DcLTFhFW.js";
|
|
6
|
+
import "./modal-C1riNMrs.js";
|
|
7
|
+
import { t as code_block_default } from "./code-block-CmUZxKNr.js";
|
|
8
|
+
import "./segmented-C9j-IIDc.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
|
|
@@ -60,6 +60,10 @@ var index_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineCo
|
|
|
60
60
|
type: Object,
|
|
61
61
|
required: false
|
|
62
62
|
},
|
|
63
|
+
uiOptions: {
|
|
64
|
+
type: Object,
|
|
65
|
+
required: false
|
|
66
|
+
},
|
|
63
67
|
isDark: {
|
|
64
68
|
type: Boolean,
|
|
65
69
|
required: false
|
|
@@ -75,8 +79,8 @@ var index_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineCo
|
|
|
75
79
|
const languageClass = computed(() => `language-${props.node.lang}`);
|
|
76
80
|
const { installed: hasShiki } = useShiki();
|
|
77
81
|
const components = {
|
|
78
|
-
vanilla: defineAsyncComponent(() => import("./vanilla-
|
|
79
|
-
shiki: defineAsyncComponent(() => import("./shiki-
|
|
82
|
+
vanilla: defineAsyncComponent(() => import("./vanilla-CzQw2_b4.js")),
|
|
83
|
+
shiki: defineAsyncComponent(() => import("./shiki-BoBbCakv.js"))
|
|
80
84
|
};
|
|
81
85
|
const component = computed(() => {
|
|
82
86
|
if (hasShiki.value) return components.shiki;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import "./previewers-C7PKsIbc.js";
|
|
2
|
+
import "./composables-CzUVrTt_.js";
|
|
3
|
+
import "./tooltip-DarhJuZR.js";
|
|
4
|
+
import "./button-DVWlhfQ9.js";
|
|
5
|
+
import "./icon-DcLTFhFW.js";
|
|
6
|
+
import "./modal-C1riNMrs.js";
|
|
7
|
+
import { t as code_block_default } from "./code-block-CmUZxKNr.js";
|
|
8
|
+
import "./segmented-C9j-IIDc.js";
|
|
9
|
+
|
|
10
|
+
export { code_block_default as default };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as CODE_PREVIEWERS } from "./previewers-
|
|
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-
|
|
3
|
-
import { t as button_default } from "./button-
|
|
4
|
-
import { t as modal_default } from "./modal-
|
|
5
|
-
import { t as segmented_default } from "./segmented-
|
|
6
|
-
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineAsyncComponent, defineComponent,
|
|
1
|
+
import { t as CODE_PREVIEWERS } from "./previewers-C7PKsIbc.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-CzUVrTt_.js";
|
|
3
|
+
import { t as button_default } from "./button-DVWlhfQ9.js";
|
|
4
|
+
import { t as modal_default } from "./modal-C1riNMrs.js";
|
|
5
|
+
import { t as segmented_default } from "./segmented-C9j-IIDc.js";
|
|
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
|
|
|
9
9
|
//#region src/components/code-block/actions.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -179,6 +179,10 @@ var index_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineCo
|
|
|
179
179
|
type: Object,
|
|
180
180
|
required: false
|
|
181
181
|
},
|
|
182
|
+
uiOptions: {
|
|
183
|
+
type: Object,
|
|
184
|
+
required: false
|
|
185
|
+
},
|
|
182
186
|
isDark: {
|
|
183
187
|
type: Boolean,
|
|
184
188
|
required: false
|
|
@@ -186,11 +190,11 @@ var index_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineCo
|
|
|
186
190
|
},
|
|
187
191
|
setup(__props) {
|
|
188
192
|
const props = __props;
|
|
189
|
-
const CodeNode = defineAsyncComponent(() => import("./code-
|
|
193
|
+
const CodeNode = defineAsyncComponent(() => import("./code-Bz8LM16H.js"));
|
|
190
194
|
const { controls, previewers, codeOptions } = toRefs(props);
|
|
191
195
|
const [DefineTemplate, ReuseTemplate] = createReusableTemplate();
|
|
192
196
|
const { t } = useI18n();
|
|
193
|
-
const { isControlEnabled, resolveControls } = useControls({ controls });
|
|
197
|
+
const { isControlEnabled, getControlValue, resolveControls } = useControls({ controls });
|
|
194
198
|
const { installed: hasMermaid } = useMermaid();
|
|
195
199
|
const { onCopied } = useContext();
|
|
196
200
|
const { copy, copied } = useClipboard({ legacy: true });
|
|
@@ -265,6 +269,7 @@ var index_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineCo
|
|
|
265
269
|
if (data && typeof data !== "boolean") return data;
|
|
266
270
|
return previewer;
|
|
267
271
|
});
|
|
272
|
+
const inlineInteractive = computed(() => getControlValue("mermaid.inlineInteractive") ?? true);
|
|
268
273
|
function normalizeHeight(height) {
|
|
269
274
|
return typeof height === "number" ? `${height}px` : height;
|
|
270
275
|
}
|
|
@@ -394,7 +399,7 @@ var index_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineCo
|
|
|
394
399
|
withDirectives(createElementVNode("main", {
|
|
395
400
|
"data-stream-markdown": "code-block-content",
|
|
396
401
|
style: normalizeStyle({ maxHeight: maxHeight.value })
|
|
397
|
-
}, [previewable.value ? withDirectives((openBlock(), createBlock(resolveDynamicComponent(PreviewComponent.value),
|
|
402
|
+
}, [previewable.value ? withDirectives((openBlock(), createBlock(resolveDynamicComponent(PreviewComponent.value), mergeProps({ key: 0 }, props, { interactive: inlineInteractive.value }), null, 16, ["interactive"])), [[vShow, mode.value === "preview"]]) : createCommentVNode("v-if", true), withDirectives(createElementVNode("main", null, [renderSlot(_ctx.$slots, "default")], 512), [[vShow, mode.value === "source"]])], 4), [[vShow, !collapsed.value]]),
|
|
398
403
|
createVNode(modal_default, {
|
|
399
404
|
open: fullscreen.value,
|
|
400
405
|
"onUpdate:open": _cache[10] || (_cache[10] = ($event) => fullscreen.value = $event),
|
|
@@ -38,6 +38,8 @@ function useContext() {
|
|
|
38
38
|
const context = injectContext();
|
|
39
39
|
const mode = computed(() => unref(context.mode) ?? "streaming");
|
|
40
40
|
const icons = computed(() => unref(context.icons) ?? {});
|
|
41
|
+
const uiOptions = computed(() => unref(context.uiOptions) ?? {});
|
|
42
|
+
const hideTooltip = computed(() => uiOptions.value.hideTooltip ?? false);
|
|
41
43
|
const isDark = computed(() => unref(context.isDark) ?? false);
|
|
42
44
|
const enableAnimate = computed(() => unref(context.enableAnimate));
|
|
43
45
|
const parsedNodes = computed(() => unref(context.parsedNodes) ?? []);
|
|
@@ -55,6 +57,7 @@ function useContext() {
|
|
|
55
57
|
provideContext,
|
|
56
58
|
injectContext,
|
|
57
59
|
mode,
|
|
60
|
+
hideTooltip,
|
|
58
61
|
icons,
|
|
59
62
|
isDark,
|
|
60
63
|
enableAnimate,
|
|
@@ -62,6 +65,9 @@ function useContext() {
|
|
|
62
65
|
get getContainer() {
|
|
63
66
|
return context.getContainer || (() => void 0);
|
|
64
67
|
},
|
|
68
|
+
get getOverlayContainer() {
|
|
69
|
+
return context.getOverlayContainer || (() => null);
|
|
70
|
+
},
|
|
65
71
|
get onCopied() {
|
|
66
72
|
return context.onCopied || (() => {});
|
|
67
73
|
}
|
|
@@ -479,6 +485,7 @@ function tableDataToMarkdown(data) {
|
|
|
479
485
|
//#endregion
|
|
480
486
|
//#region src/composables/use-floating.ts
|
|
481
487
|
function useFloating(options) {
|
|
488
|
+
const hideTooltip = computed(() => unref(options.hideTooltip) ?? false);
|
|
482
489
|
const trigger = computed(() => unref(options.trigger) ?? "hover");
|
|
483
490
|
const placement = computed(() => unref(options.placement) ?? "top");
|
|
484
491
|
const delay = computed(() => unref(options.delay) ?? [100, 100]);
|
|
@@ -555,6 +562,7 @@ function useFloating(options) {
|
|
|
555
562
|
updatePosition();
|
|
556
563
|
}
|
|
557
564
|
function onMouseEnter() {
|
|
565
|
+
if (hideTooltip.value) return;
|
|
558
566
|
if (trigger.value === "hover") show();
|
|
559
567
|
}
|
|
560
568
|
function onMouseLeave() {
|
|
@@ -1939,7 +1947,11 @@ function useTailwindV3Theme(options) {
|
|
|
1939
1947
|
id: "stream-markdown-tailwind-v3-theme",
|
|
1940
1948
|
immediate: false
|
|
1941
1949
|
});
|
|
1942
|
-
const styleScope = computed(() =>
|
|
1950
|
+
const styleScope = computed(() => {
|
|
1951
|
+
const scope = unref(options.styleScope);
|
|
1952
|
+
if (!scope) return [".stream-markdown", ".stream-markdown-overlay"];
|
|
1953
|
+
return Array.isArray(scope) ? scope : [scope];
|
|
1954
|
+
});
|
|
1943
1955
|
const element = computed(() => {
|
|
1944
1956
|
return toValue(options.element) || (isClient() ? document.body : void 0);
|
|
1945
1957
|
});
|
|
@@ -1953,7 +1965,7 @@ function useTailwindV3Theme(options) {
|
|
|
1953
1965
|
if (value && !reg.test(value)) cssVariables.push(` ${name}: hsl(${value});`);
|
|
1954
1966
|
}
|
|
1955
1967
|
if (cssVariables.length > 0) {
|
|
1956
|
-
css.value =
|
|
1968
|
+
css.value = styleScope.value.map((scope) => `${scope} {\n${cssVariables.join("\n")}\n}`).join("\n");
|
|
1957
1969
|
load();
|
|
1958
1970
|
} else {
|
|
1959
1971
|
css.value = "";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./composables-
|
|
2
|
-
import { t as node_list_default } from "./node-list-
|
|
1
|
+
import "./composables-CzUVrTt_.js";
|
|
2
|
+
import { t as node_list_default } from "./node-list-7H-lIfUX.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
|
|
@@ -55,6 +55,10 @@ var delete_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineC
|
|
|
55
55
|
type: Object,
|
|
56
56
|
required: false
|
|
57
57
|
},
|
|
58
|
+
uiOptions: {
|
|
59
|
+
type: Object,
|
|
60
|
+
required: false
|
|
61
|
+
},
|
|
58
62
|
isDark: {
|
|
59
63
|
type: Boolean,
|
|
60
64
|
required: false
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./composables-
|
|
2
|
-
import { t as node_list_default } from "./node-list-
|
|
1
|
+
import "./composables-CzUVrTt_.js";
|
|
2
|
+
import { t as node_list_default } from "./node-list-7H-lIfUX.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
|
|
@@ -55,6 +55,10 @@ var emphasis_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defin
|
|
|
55
55
|
type: Object,
|
|
56
56
|
required: false
|
|
57
57
|
},
|
|
58
|
+
uiOptions: {
|
|
59
|
+
type: Object,
|
|
60
|
+
required: false
|
|
61
|
+
},
|
|
58
62
|
isDark: {
|
|
59
63
|
type: Boolean,
|
|
60
64
|
required: false
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { K as useContext, b as useI18n } from "./composables-
|
|
2
|
-
import { t as icon_default } from "./icon-
|
|
1
|
+
import { K as useContext, b as useI18n } from "./composables-CzUVrTt_.js";
|
|
2
|
+
import { t as icon_default } from "./icon-DcLTFhFW.js";
|
|
3
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
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { K as useContext, b as useI18n } from "./composables-
|
|
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-CzUVrTt_.js";
|
|
2
|
+
import { t as node_list_default } from "./node-list-7H-lIfUX.js";
|
|
3
|
+
import "./tooltip-DarhJuZR.js";
|
|
4
|
+
import { t as button_default } from "./button-DVWlhfQ9.js";
|
|
5
|
+
import "./icon-DcLTFhFW.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
|
|
@@ -59,6 +59,10 @@ var footnote_definition_vue_vue_type_script_setup_true_lang_default = /* @__PURE
|
|
|
59
59
|
type: Object,
|
|
60
60
|
required: false
|
|
61
61
|
},
|
|
62
|
+
uiOptions: {
|
|
63
|
+
type: Object,
|
|
64
|
+
required: false
|
|
65
|
+
},
|
|
62
66
|
isDark: {
|
|
63
67
|
type: Boolean,
|
|
64
68
|
required: false
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { K as useContext } from "./composables-
|
|
1
|
+
import { K as useContext } from "./composables-CzUVrTt_.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
|
|
@@ -54,6 +54,10 @@ var footnote_reference_vue_vue_type_script_setup_true_lang_default = /* @__PURE_
|
|
|
54
54
|
type: Object,
|
|
55
55
|
required: false
|
|
56
56
|
},
|
|
57
|
+
uiOptions: {
|
|
58
|
+
type: Object,
|
|
59
|
+
required: false
|
|
60
|
+
},
|
|
57
61
|
isDark: {
|
|
58
62
|
type: Boolean,
|
|
59
63
|
required: false
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./composables-
|
|
2
|
-
import { t as node_list_default } from "./node-list-
|
|
1
|
+
import "./composables-CzUVrTt_.js";
|
|
2
|
+
import { t as node_list_default } from "./node-list-7H-lIfUX.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
|
|
@@ -54,6 +54,10 @@ var heading_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ define
|
|
|
54
54
|
type: Object,
|
|
55
55
|
required: false
|
|
56
56
|
},
|
|
57
|
+
uiOptions: {
|
|
58
|
+
type: Object,
|
|
59
|
+
required: false
|
|
60
|
+
},
|
|
57
61
|
isDark: {
|
|
58
62
|
type: Boolean,
|
|
59
63
|
required: false
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { K as useContext } from "./composables-
|
|
1
|
+
import { K as useContext } from "./composables-CzUVrTt_.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
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { G as useControls, H as saveImage, K as useContext, b as useI18n, h as useMediumZoom } from "./composables-
|
|
1
|
+
import { G as useControls, H as saveImage, K as useContext, b as useI18n, h as useMediumZoom } from "./composables-CzUVrTt_.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-DVWlhfQ9.js";
|
|
4
|
+
import { t as modal_default } from "./modal-C1riNMrs.js";
|
|
5
|
+
import { t as zoom_container_default } from "./zoom-container-DQMpHHGQ.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
|
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import "./composables-CzUVrTt_.js";
|
|
2
|
+
import "./tooltip-DarhJuZR.js";
|
|
3
|
+
import "./button-DVWlhfQ9.js";
|
|
4
|
+
import "./icon-DcLTFhFW.js";
|
|
5
|
+
import "./modal-C1riNMrs.js";
|
|
6
|
+
import "./zoom-container-DQMpHHGQ.js";
|
|
7
|
+
import { t as image_default } from "./image-DXnmoID_.js";
|
|
8
|
+
|
|
9
|
+
export { image_default as default };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { G as useControls, H as saveImage, b as useI18n, i as useSanitizers } from "./composables-
|
|
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-CzUVrTt_.js";
|
|
2
|
+
import "./tooltip-DarhJuZR.js";
|
|
3
|
+
import { t as button_default } from "./button-DVWlhfQ9.js";
|
|
4
|
+
import "./icon-DcLTFhFW.js";
|
|
5
|
+
import "./modal-C1riNMrs.js";
|
|
6
|
+
import { t as error_component_default } from "./error-component-BTe-SuY7.js";
|
|
7
|
+
import "./zoom-container-DQMpHHGQ.js";
|
|
8
|
+
import { t as image_default$1 } from "./image-DXnmoID_.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
|
|
|
@@ -66,6 +66,10 @@ var image_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineCo
|
|
|
66
66
|
type: Object,
|
|
67
67
|
required: false
|
|
68
68
|
},
|
|
69
|
+
uiOptions: {
|
|
70
|
+
type: Object,
|
|
71
|
+
required: false
|
|
72
|
+
},
|
|
69
73
|
isDark: {
|
|
70
74
|
type: Boolean,
|
|
71
75
|
required: false
|