vue-stream-markdown 0.2.0 → 0.2.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-C68fU4lp.js → blockquote-Bv0immvx.js} +2 -2
- package/dist/{button-BDO3n0n_.js → button-CRnH8Rzt.js} +2 -2
- package/dist/button-CpZL9Dhf.js +6 -0
- package/dist/{code-2Dd0EGfm.js → code-BcAa_-2j.js} +10 -10
- package/dist/code-block-C1Hz5oQb.js +10 -0
- package/dist/{code-block-hQLDeAmP.js → code-block-mylXl6jG.js} +6 -6
- package/dist/{composables-DuQ72m6O.js → composables-CL-BX9Ri.js} +76 -15
- package/dist/{delete-CB-OS2WZ.js → delete-drdYWAXs.js} +2 -2
- package/dist/dropdown-CS5Df_eY.js +6 -0
- package/dist/{emphasis-BmUoyBRK.js → emphasis-CdEFGQdu.js} +2 -2
- package/dist/error-component-Csr-ujUx.js +5 -0
- package/dist/{error-component-CtZr0_st.js → error-component-xzXxODeR.js} +2 -2
- package/dist/{footnote-definition-55TjXXwa.js → footnote-definition-BTSXdQZi.js} +5 -5
- package/dist/{footnote-reference-lk2rvC4Q.js → footnote-reference-CV_67vK7.js} +1 -1
- package/dist/{heading-BlOK3uk2.js → heading-BH7urRHb.js} +2 -2
- package/dist/icon-DcKmEBsy.js +4 -0
- package/dist/{icon-PEivHbuv.js → icon-MRs2P5TP.js} +1 -1
- package/dist/image-BRCbBLI5.js +9 -0
- package/dist/{image-Bqn98dDB.js → image-Bo_26KHM.js} +8 -8
- package/dist/{image-VMGQj_VU.js → image-BypX6qku.js} +4 -4
- package/dist/{index.css/index.css → index.css} +13 -0
- package/dist/index.d.ts +497 -74
- package/dist/index.js +42 -32
- package/dist/{inline-math--lfq9WCW.js → inline-math-DFUJNhmp.js} +3 -3
- package/dist/{link-DAOjAX6n.js → link-ClKb1qAC.js} +4 -4
- package/dist/{list-EOEqkWEi.js → list-BdM_gwie.js} +2 -2
- package/dist/{list-item-ZG4eadLp.js → list-item-DaRd7Yu3.js} +2 -2
- package/dist/{math-3zyrsc0O.js → math-CLweuHzM.js} +3 -3
- package/dist/{mermaid-VkvXdOuQ.js → mermaid-CyLU2UYz.js} +6 -6
- package/dist/modal-JW5JgjbN.js +4 -0
- package/dist/{modal-DrPdD2g1.js → modal-vHG2jmSe.js} +1 -1
- package/dist/{node-list-D7eKaZGS.js → node-list-3yGs9Kcx.js} +1 -1
- package/dist/node-list-Cl7nXqfm.js +4 -0
- package/dist/{paragraph-DEyWEFYY.js → paragraph-LV8LrqLS.js} +2 -2
- package/dist/{previewers-DYnyVv4Y.js → previewers-BUz7EQbB.js} +1 -1
- package/dist/{segmented-CeLXMLZa.js → segmented-ChmGPy3i.js} +1 -1
- package/dist/segmented-STxjOAhU.js +7 -0
- package/dist/{shiki-Dgoch7Q6.js → shiki-Dp1kiUyz.js} +35 -10
- package/dist/{shiki-token-renderer-BjxmGfXH.js → shiki-token-renderer-l2VX-xoX.js} +4 -2
- package/dist/{strong-CFjQLk1h.js → strong-CcKSE5Jo.js} +2 -2
- package/dist/{table-DI25RphX.js → table-Bk4vJ8-K.js} +5 -5
- package/dist/tooltip-BElCxO8W.js +4 -0
- package/dist/{tooltip-CnO7OPL1.js → tooltip-DkCGsj0S.js} +2 -2
- package/dist/vanilla-79xxpygI.js +4 -0
- package/dist/{vanilla-YFxsSfhA.js → vanilla-D2g3JpWZ.js} +1 -1
- package/dist/zoom-container-C5vP44cr.js +7 -0
- package/dist/{zoom-container-CrKx_BbS.js → zoom-container-H5FZmzwY.js} +2 -2
- package/package.json +3 -3
- package/dist/button-CdUyT8T_.js +0 -6
- package/dist/code-block-Co2UoPPS.js +0 -10
- package/dist/dropdown-BB3nyts8.js +0 -6
- package/dist/error-component-biOT0E-h.js +0 -5
- package/dist/icon-mUoYnA6R.js +0 -4
- package/dist/image-B6Pw2YBI.js +0 -9
- package/dist/modal-BKzT1TQI.js +0 -4
- package/dist/node-list-DtNGUnnI.js +0 -4
- package/dist/segmented-6Ch-Ees3.js +0 -7
- package/dist/tooltip-CAyfm3_l.js +0 -4
- package/dist/vanilla-BZ1fQWZQ.js +0 -4
- package/dist/zoom-container-j4kY9qX_.js +0 -7
- /package/dist/{theme.css/theme.css → theme.css} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./composables-
|
|
2
|
-
import { t as node_list_default } from "./node-list-
|
|
1
|
+
import "./composables-CL-BX9Ri.js";
|
|
2
|
+
import { t as node_list_default } from "./node-list-3yGs9Kcx.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-DkCGsj0S.js";
|
|
2
|
+
import { t as icon_default } from "./icon-MRs2P5TP.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-BUz7EQbB.js";
|
|
2
|
+
import { r as useShiki } from "./composables-CL-BX9Ri.js";
|
|
3
|
+
import "./tooltip-DkCGsj0S.js";
|
|
4
|
+
import "./button-CRnH8Rzt.js";
|
|
5
|
+
import "./icon-MRs2P5TP.js";
|
|
6
|
+
import "./modal-vHG2jmSe.js";
|
|
7
|
+
import { t as code_block_default } from "./code-block-mylXl6jG.js";
|
|
8
|
+
import "./segmented-ChmGPy3i.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
|
|
@@ -75,8 +75,8 @@ var index_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineCo
|
|
|
75
75
|
const languageClass = computed(() => `language-${props.node.lang}`);
|
|
76
76
|
const { installed: hasShiki } = useShiki();
|
|
77
77
|
const components = {
|
|
78
|
-
vanilla: defineAsyncComponent(() => import("./vanilla-
|
|
79
|
-
shiki: defineAsyncComponent(() => import("./shiki-
|
|
78
|
+
vanilla: defineAsyncComponent(() => import("./vanilla-79xxpygI.js")),
|
|
79
|
+
shiki: defineAsyncComponent(() => import("./shiki-Dp1kiUyz.js"))
|
|
80
80
|
};
|
|
81
81
|
const component = computed(() => {
|
|
82
82
|
if (hasShiki.value) return components.shiki;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import "./previewers-BUz7EQbB.js";
|
|
2
|
+
import "./composables-CL-BX9Ri.js";
|
|
3
|
+
import "./tooltip-DkCGsj0S.js";
|
|
4
|
+
import "./button-CRnH8Rzt.js";
|
|
5
|
+
import "./icon-MRs2P5TP.js";
|
|
6
|
+
import "./modal-vHG2jmSe.js";
|
|
7
|
+
import { t as code_block_default } from "./code-block-mylXl6jG.js";
|
|
8
|
+
import "./segmented-ChmGPy3i.js";
|
|
9
|
+
|
|
10
|
+
export { code_block_default as default };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as CODE_PREVIEWERS } from "./previewers-
|
|
2
|
-
import { G as
|
|
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 { t as CODE_PREVIEWERS } from "./previewers-BUz7EQbB.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-CL-BX9Ri.js";
|
|
3
|
+
import { t as button_default } from "./button-CRnH8Rzt.js";
|
|
4
|
+
import { t as modal_default } from "./modal-vHG2jmSe.js";
|
|
5
|
+
import { t as segmented_default } from "./segmented-ChmGPy3i.js";
|
|
6
6
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineAsyncComponent, defineComponent, guardReactiveProps, mergeProps, normalizeClass, normalizeProps, 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
|
|
|
@@ -184,7 +184,7 @@ var index_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineCo
|
|
|
184
184
|
},
|
|
185
185
|
setup(__props) {
|
|
186
186
|
const props = __props;
|
|
187
|
-
const CodeNode = defineAsyncComponent(() => import("./code-
|
|
187
|
+
const CodeNode = defineAsyncComponent(() => import("./code-BcAa_-2j.js"));
|
|
188
188
|
const { controls, previewers, codeOptions } = toRefs(props);
|
|
189
189
|
const [DefineTemplate, ReuseTemplate] = createReusableTemplate();
|
|
190
190
|
const { t } = useI18n();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed, defineAsyncComponent, inject, nextTick, onBeforeUnmount, provide, ref, toValue, unref, watch, watchEffect } from "vue";
|
|
2
|
-
import { autoUpdate, flip, offset, shift
|
|
2
|
+
import { autoUpdate, computePosition, flip, offset, shift } from "@floating-ui/dom";
|
|
3
3
|
import { useEventListener, useStyleTag } from "@vueuse/core";
|
|
4
4
|
|
|
5
5
|
//#region src/composables/use-code-options.ts
|
|
@@ -327,6 +327,22 @@ function findNodeParent(targetNode, nodes, parent) {
|
|
|
327
327
|
return null;
|
|
328
328
|
}
|
|
329
329
|
|
|
330
|
+
//#endregion
|
|
331
|
+
//#region src/utils/preload.ts
|
|
332
|
+
function isAsyncComponent(component) {
|
|
333
|
+
return typeof component === "object" && "__asyncLoader" in component;
|
|
334
|
+
}
|
|
335
|
+
async function preloadAsyncComponents(components, include = [], exclude = []) {
|
|
336
|
+
const loaders = [];
|
|
337
|
+
Object.entries(components).forEach(([key, component]) => {
|
|
338
|
+
if (!isAsyncComponent(component)) return;
|
|
339
|
+
if (include.length > 0 && !include.includes(key)) return;
|
|
340
|
+
if (exclude.length > 0 && exclude.includes(key)) return;
|
|
341
|
+
loaders.push(component.__asyncLoader());
|
|
342
|
+
});
|
|
343
|
+
await Promise.all(loaders);
|
|
344
|
+
}
|
|
345
|
+
|
|
330
346
|
//#endregion
|
|
331
347
|
//#region src/utils/table.ts
|
|
332
348
|
function extractTableDataFromElement(tableElement) {
|
|
@@ -461,8 +477,8 @@ function tableDataToMarkdown(data) {
|
|
|
461
477
|
}
|
|
462
478
|
|
|
463
479
|
//#endregion
|
|
464
|
-
//#region src/composables/use-floating
|
|
465
|
-
function
|
|
480
|
+
//#region src/composables/use-floating.ts
|
|
481
|
+
function useFloating(options) {
|
|
466
482
|
const trigger = computed(() => unref(options.trigger) ?? "hover");
|
|
467
483
|
const placement = computed(() => unref(options.placement) ?? "top");
|
|
468
484
|
const delay = computed(() => unref(options.delay) ?? [100, 100]);
|
|
@@ -471,6 +487,37 @@ function useFloatingElement(options) {
|
|
|
471
487
|
let showTimer = null;
|
|
472
488
|
let hideTimer = null;
|
|
473
489
|
const open = ref(false);
|
|
490
|
+
const x = ref(null);
|
|
491
|
+
const y = ref(null);
|
|
492
|
+
const strategy = ref("absolute");
|
|
493
|
+
let cleanupAutoUpdate = null;
|
|
494
|
+
async function updatePosition() {
|
|
495
|
+
if (!referenceEl.value || !floatingEl.value || !isClient()) return;
|
|
496
|
+
try {
|
|
497
|
+
const position = await computePosition(referenceEl.value, floatingEl.value, {
|
|
498
|
+
placement: placement.value,
|
|
499
|
+
middleware: [
|
|
500
|
+
offset(6),
|
|
501
|
+
flip(),
|
|
502
|
+
shift({ padding: 5 })
|
|
503
|
+
]
|
|
504
|
+
});
|
|
505
|
+
x.value = position.x;
|
|
506
|
+
y.value = position.y;
|
|
507
|
+
strategy.value = position.strategy;
|
|
508
|
+
} catch {}
|
|
509
|
+
}
|
|
510
|
+
watchEffect(() => {
|
|
511
|
+
if (cleanupAutoUpdate) {
|
|
512
|
+
cleanupAutoUpdate();
|
|
513
|
+
cleanupAutoUpdate = null;
|
|
514
|
+
}
|
|
515
|
+
if (!referenceEl.value || !floatingEl.value || !isClient()) return;
|
|
516
|
+
cleanupAutoUpdate = autoUpdate(referenceEl.value, floatingEl.value, updatePosition);
|
|
517
|
+
});
|
|
518
|
+
watch(placement, () => {
|
|
519
|
+
if (open.value) updatePosition();
|
|
520
|
+
});
|
|
474
521
|
const parentEl = computed(() => {
|
|
475
522
|
var _referenceEl$value;
|
|
476
523
|
if (!isClient()) return null;
|
|
@@ -483,15 +530,6 @@ function useFloatingElement(options) {
|
|
|
483
530
|
if (target instanceof HTMLElement && !document.body.contains(target)) return "body";
|
|
484
531
|
return target || "body";
|
|
485
532
|
});
|
|
486
|
-
const { x, y, strategy, update } = useFloating(referenceEl, floatingEl, {
|
|
487
|
-
placement,
|
|
488
|
-
middleware: [
|
|
489
|
-
offset(6),
|
|
490
|
-
flip(),
|
|
491
|
-
shift({ padding: 5 })
|
|
492
|
-
],
|
|
493
|
-
whileElementsMounted: autoUpdate
|
|
494
|
-
});
|
|
495
533
|
const floatingStyle = computed(() => ({
|
|
496
534
|
position: strategy.value,
|
|
497
535
|
top: `${y.value ?? 0}px`,
|
|
@@ -502,7 +540,7 @@ function useFloatingElement(options) {
|
|
|
502
540
|
const { show: showDelay } = getDelay();
|
|
503
541
|
showTimer = window.setTimeout(() => {
|
|
504
542
|
open.value = true;
|
|
505
|
-
|
|
543
|
+
updatePosition();
|
|
506
544
|
}, showDelay);
|
|
507
545
|
}
|
|
508
546
|
function hide() {
|
|
@@ -514,7 +552,7 @@ function useFloatingElement(options) {
|
|
|
514
552
|
}
|
|
515
553
|
function toggle() {
|
|
516
554
|
open.value = !open.value;
|
|
517
|
-
|
|
555
|
+
updatePosition();
|
|
518
556
|
}
|
|
519
557
|
function onMouseEnter() {
|
|
520
558
|
if (trigger.value === "hover") show();
|
|
@@ -1687,6 +1725,29 @@ const ICONS = {
|
|
|
1687
1725
|
zoomOut: defineAsyncComponent(() => import("./zoomOut-Lvyw8SOW.js"))
|
|
1688
1726
|
};
|
|
1689
1727
|
|
|
1728
|
+
//#endregion
|
|
1729
|
+
//#region src/constants/preload.ts
|
|
1730
|
+
const PRELOAD_NODE_RENDERER = [
|
|
1731
|
+
"blockquote",
|
|
1732
|
+
"delete",
|
|
1733
|
+
"emphasis",
|
|
1734
|
+
"footnoteDefinition",
|
|
1735
|
+
"footnoteReference",
|
|
1736
|
+
"heading",
|
|
1737
|
+
"image",
|
|
1738
|
+
"inlineCode",
|
|
1739
|
+
"inlineMath",
|
|
1740
|
+
"link",
|
|
1741
|
+
"list",
|
|
1742
|
+
"listItem",
|
|
1743
|
+
"paragraph",
|
|
1744
|
+
"strong",
|
|
1745
|
+
"table",
|
|
1746
|
+
"text",
|
|
1747
|
+
"thematicBreak",
|
|
1748
|
+
"yaml"
|
|
1749
|
+
];
|
|
1750
|
+
|
|
1690
1751
|
//#endregion
|
|
1691
1752
|
//#region src/constants/theme.ts
|
|
1692
1753
|
const SHADCN_SCHEMAS = [
|
|
@@ -2062,4 +2123,4 @@ function useZoom(options = {}) {
|
|
|
2062
2123
|
}
|
|
2063
2124
|
|
|
2064
2125
|
//#endregion
|
|
2065
|
-
export {
|
|
2126
|
+
export { tableDataToMarkdown as A, flow as B, loadLocaleMessages as C, escapeMarkdownTableCell as D, useFloating as E, hasKatex as F, useControls as G, saveImage as H, hasMermaid as I, useContext as K, hasShiki as L, preloadAsyncComponents as M, findLastLeafNode as N, extractTableDataFromElement as O, findNodeParent as P, isClient as R, currentLocale as S, localesGlob as T, svgToPngBlob as U, save as V, transformUrl as W, throttle as _, SHADCN_SCHEMAS as a, useI18n as b, DEFAULT_HARDEN_OPTIONS as c, LANGUAGE_ALIAS as d, LANGUAGE_EXTENSIONS as f, useMathRenderer as g, useMediumZoom as h, useSanitizers as i, tableDataToTSV as j, tableDataToCSV as k, DEFAULT_DARK_THEME as l, useMermaid as m, useTailwindV3Theme as n, PRELOAD_NODE_RENDERER as o, LANGUAGE_ICONS as p, useCodeOptions as q, useShiki as r, ICONS as s, useZoom as t, DEFAULT_LIGHT_THEME as u, _defineProperty as v, localeMessages as w, SUPPORT_LANGUAGES as x, useKatex as y, isServer as z };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./composables-
|
|
2
|
-
import { t as node_list_default } from "./node-list-
|
|
1
|
+
import "./composables-CL-BX9Ri.js";
|
|
2
|
+
import { t as node_list_default } from "./node-list-3yGs9Kcx.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
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./composables-
|
|
2
|
-
import { t as node_list_default } from "./node-list-
|
|
1
|
+
import "./composables-CL-BX9Ri.js";
|
|
2
|
+
import { t as node_list_default } from "./node-list-3yGs9Kcx.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
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as icon_default } from "./icon-
|
|
1
|
+
import { K as useContext, b as useI18n } from "./composables-CL-BX9Ri.js";
|
|
2
|
+
import { t as icon_default } from "./icon-MRs2P5TP.js";
|
|
3
3
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, 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 {
|
|
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-CL-BX9Ri.js";
|
|
2
|
+
import { t as node_list_default } from "./node-list-3yGs9Kcx.js";
|
|
3
|
+
import "./tooltip-DkCGsj0S.js";
|
|
4
|
+
import { t as button_default } from "./button-CRnH8Rzt.js";
|
|
5
|
+
import "./icon-MRs2P5TP.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
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { K as useContext } from "./composables-CL-BX9Ri.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
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./composables-
|
|
2
|
-
import { t as node_list_default } from "./node-list-
|
|
1
|
+
import "./composables-CL-BX9Ri.js";
|
|
2
|
+
import { t as node_list_default } from "./node-list-3yGs9Kcx.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
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { K as useContext } from "./composables-CL-BX9Ri.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
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import "./composables-CL-BX9Ri.js";
|
|
2
|
+
import "./tooltip-DkCGsj0S.js";
|
|
3
|
+
import "./button-CRnH8Rzt.js";
|
|
4
|
+
import "./icon-MRs2P5TP.js";
|
|
5
|
+
import "./modal-vHG2jmSe.js";
|
|
6
|
+
import "./zoom-container-H5FZmzwY.js";
|
|
7
|
+
import { t as image_default } from "./image-BypX6qku.js";
|
|
8
|
+
|
|
9
|
+
export { image_default as default };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
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-CL-BX9Ri.js";
|
|
2
|
+
import "./tooltip-DkCGsj0S.js";
|
|
3
|
+
import { t as button_default } from "./button-CRnH8Rzt.js";
|
|
4
|
+
import "./icon-MRs2P5TP.js";
|
|
5
|
+
import "./modal-vHG2jmSe.js";
|
|
6
|
+
import { t as error_component_default } from "./error-component-xzXxODeR.js";
|
|
7
|
+
import "./zoom-container-H5FZmzwY.js";
|
|
8
|
+
import { t as image_default$1 } from "./image-BypX6qku.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
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { G as useControls, H as saveImage, K as useContext, b as useI18n, h as useMediumZoom } from "./composables-CL-BX9Ri.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-CRnH8Rzt.js";
|
|
4
|
+
import { t as modal_default } from "./modal-vHG2jmSe.js";
|
|
5
|
+
import { t as zoom_container_default } from "./zoom-container-H5FZmzwY.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
|
|
|
@@ -638,6 +638,19 @@
|
|
|
638
638
|
opacity: 1;
|
|
639
639
|
}
|
|
640
640
|
|
|
641
|
+
.stream-markdown .code-fade-enter-active,
|
|
642
|
+
.stream-markdown .code-fade-leave-active {
|
|
643
|
+
transition: opacity var(--default-transition-duration) ease;
|
|
644
|
+
}
|
|
645
|
+
.stream-markdown .code-fade-enter-from,
|
|
646
|
+
.stream-markdown .code-fade-leave-to {
|
|
647
|
+
opacity: 0;
|
|
648
|
+
}
|
|
649
|
+
.stream-markdown .code-fade-enter-to,
|
|
650
|
+
.stream-markdown .code-fade-leave-from {
|
|
651
|
+
opacity: 1;
|
|
652
|
+
}
|
|
653
|
+
|
|
641
654
|
.stream-markdown .modal-enter-from,
|
|
642
655
|
.stream-markdown .modal-leave-to {
|
|
643
656
|
opacity: 0;
|