vue3-sphinx-xml 0.5.0 → 0.6.0
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/{Admonition-mKTxm7FA.mjs → Admonition-gd-uJLmV.mjs} +4 -4
- package/dist/{Admonition-mKTxm7FA.mjs.map → Admonition-gd-uJLmV.mjs.map} +1 -1
- package/dist/{BlockQuote-CHndoK9X.mjs → BlockQuote-Cx9XdFGZ.mjs} +3 -3
- package/dist/{BlockQuote-CHndoK9X.mjs.map → BlockQuote-Cx9XdFGZ.mjs.map} +1 -1
- package/dist/{CaptionNumber-sPHsgDmY.mjs → CaptionNumber-B3c0JP0T.mjs} +4 -4
- package/dist/{CaptionNumber-sPHsgDmY.mjs.map → CaptionNumber-B3c0JP0T.mjs.map} +1 -1
- package/dist/{ColumnGroup-3gX9uzXr.mjs → ColumnGroup-DYs1xB1a.mjs} +4 -4
- package/dist/{ColumnGroup-3gX9uzXr.mjs.map → ColumnGroup-DYs1xB1a.mjs.map} +1 -1
- package/dist/{Comment-BazBmRUy.mjs → Comment-DpyTzHo4.mjs} +3 -3
- package/dist/{Comment-BazBmRUy.mjs.map → Comment-DpyTzHo4.mjs.map} +1 -1
- package/dist/{Compound-CuyWvjJc.mjs → Compound-ByH1w0P6.mjs} +3 -3
- package/dist/{Compound-CuyWvjJc.mjs.map → Compound-ByH1w0P6.mjs.map} +1 -1
- package/dist/{Container-BI_-sUj5.mjs → Container-CmVmxWIt.mjs} +4 -4
- package/dist/{Container-BI_-sUj5.mjs.map → Container-CmVmxWIt.mjs.map} +1 -1
- package/dist/{DirectElementMap-BxB8uEd3.mjs → DirectElementMap-B-wTPjj0.mjs} +2 -2
- package/dist/DirectElementMap-B-wTPjj0.mjs.map +1 -0
- package/dist/Document-PZAyvjWh.mjs +230 -0
- package/dist/Document-PZAyvjWh.mjs.map +1 -0
- package/dist/{DownloadReference-Coj1rk-Q.mjs → DownloadReference-CtG3pZe0.mjs} +9 -9
- package/dist/{DownloadReference-Coj1rk-Q.mjs.map → DownloadReference-CtG3pZe0.mjs.map} +1 -1
- package/dist/{Figure-cm9jrp4J.mjs → Figure-BV3wzLZX.mjs} +4 -4
- package/dist/{Figure-cm9jrp4J.mjs.map → Figure-BV3wzLZX.mjs.map} +1 -1
- package/dist/{FigureCaption-CEewNKB3.mjs → FigureCaption-DPm7W0CJ.mjs} +4 -4
- package/dist/{FigureCaption-CEewNKB3.mjs.map → FigureCaption-DPm7W0CJ.mjs.map} +1 -1
- package/dist/{Footnote-CsDVGKIf.mjs → Footnote-DAEfbxUi.mjs} +4 -4
- package/dist/{Footnote-CsDVGKIf.mjs.map → Footnote-DAEfbxUi.mjs.map} +1 -1
- package/dist/{FootnoteReference-mjr_CUNC.mjs → FootnoteReference-Bi6FG4qF.mjs} +7 -7
- package/dist/{FootnoteReference-mjr_CUNC.mjs.map → FootnoteReference-Bi6FG4qF.mjs.map} +1 -1
- package/dist/Image-UjDGAe4v.mjs +37 -0
- package/dist/{Image-DS2T9dhX.mjs.map → Image-UjDGAe4v.mjs.map} +1 -1
- package/dist/{Legend-Buf610bh.mjs → Legend-BL0KvT6x.mjs} +3 -3
- package/dist/{Legend-Buf610bh.mjs.map → Legend-BL0KvT6x.mjs.map} +1 -1
- package/dist/{LineBlock-CC9E637d.mjs → LineBlock-yNMN4PnM.mjs} +4 -4
- package/dist/{LineBlock-CC9E637d.mjs.map → LineBlock-yNMN4PnM.mjs.map} +1 -1
- package/dist/{LineSingle-Dlzi5iIV.mjs → LineSingle-D8mP9JxV.mjs} +4 -4
- package/dist/{LineSingle-Dlzi5iIV.mjs.map → LineSingle-D8mP9JxV.mjs.map} +1 -1
- package/dist/{Literal-DYTpCjPv.mjs → Literal-B3RMToDf.mjs} +4 -4
- package/dist/{Literal-DYTpCjPv.mjs.map → Literal-B3RMToDf.mjs.map} +1 -1
- package/dist/{LiteralBlock-DKVDMrJf.mjs → LiteralBlock-DSNLfJRQ.mjs} +7 -7
- package/dist/{LiteralBlock-DKVDMrJf.mjs.map → LiteralBlock-DSNLfJRQ.mjs.map} +1 -1
- package/dist/{Math-DMrgdPIM.mjs → Math-Cq4PVbWU.mjs} +3 -3
- package/dist/Math-Cq4PVbWU.mjs.map +1 -0
- package/dist/{MathBlock-DdqKjCSS.mjs → MathBlock-BQlgpnCi.mjs} +4 -4
- package/dist/{MathBlock-DdqKjCSS.mjs.map → MathBlock-BQlgpnCi.mjs.map} +1 -1
- package/dist/{Note-BlaELec8.mjs → Note-DTXT2vL1.mjs} +4 -4
- package/dist/{Note-BlaELec8.mjs.map → Note-DTXT2vL1.mjs.map} +1 -1
- package/dist/{NumberReference-bjITftY4.mjs → NumberReference-eWL-p05o.mjs} +7 -7
- package/dist/{NumberReference-bjITftY4.mjs.map → NumberReference-eWL-p05o.mjs.map} +1 -1
- package/dist/{Problematic-CVEE4P8F.mjs → Problematic-DdYGUPom.mjs} +4 -4
- package/dist/{Problematic-CVEE4P8F.mjs.map → Problematic-DdYGUPom.mjs.map} +1 -1
- package/dist/{Reference-Orh-jOnR.mjs → Reference-NuJMaVmj.mjs} +5 -5
- package/dist/{Reference-Orh-jOnR.mjs.map → Reference-NuJMaVmj.mjs.map} +1 -1
- package/dist/{Section-CdTfeVfc.mjs → Section-CsKQgVcF.mjs} +4 -4
- package/dist/{Section-CdTfeVfc.mjs.map → Section-CsKQgVcF.mjs.map} +1 -1
- package/dist/{StandardElement-CBBrXX4Q.mjs → StandardElement-Cf1EpLze.mjs} +4 -4
- package/dist/{StandardElement-CBBrXX4Q.mjs.map → StandardElement-Cf1EpLze.mjs.map} +1 -1
- package/dist/Text-CT8nEMkp.mjs.map +1 -1
- package/dist/{Title-3Cns5zt2.mjs → Title-DoIeD6eK.mjs} +3 -3
- package/dist/{Title-3Cns5zt2.mjs.map → Title-DoIeD6eK.mjs.map} +1 -1
- package/dist/{TodoNode-BR2gUVop.mjs → TodoNode-C6L-iGX4.mjs} +4 -4
- package/dist/{TodoNode-BR2gUVop.mjs.map → TodoNode-C6L-iGX4.mjs.map} +1 -1
- package/dist/{Topic-CGDYI81Y.mjs → Topic-BrgzQGpm.mjs} +4 -4
- package/dist/{Topic-CGDYI81Y.mjs.map → Topic-BrgzQGpm.mjs.map} +1 -1
- package/dist/Transition-CWMp4Zlv.mjs.map +1 -1
- package/dist/{Warning-Cl6MS7S9.mjs → Warning-dcxt8LRd.mjs} +7 -7
- package/dist/{Warning-Cl6MS7S9.mjs.map → Warning-dcxt8LRd.mjs.map} +1 -1
- package/dist/{basereference-CBz3BfwU.mjs → basereference-7wajqzV8.mjs} +9 -9
- package/dist/{basereference-CBz3BfwU.mjs.map → basereference-7wajqzV8.mjs.map} +1 -1
- package/dist/entry-CNV5B73A.mjs +1990 -0
- package/dist/entry-CNV5B73A.mjs.map +1 -0
- package/dist/{methods-DeDVNJrB.mjs → methods-ClbyDlbW.mjs} +2 -2
- package/dist/{methods-DeDVNJrB.mjs.map → methods-ClbyDlbW.mjs.map} +1 -1
- package/dist/vue3-sphinx-xml.js +7 -0
- package/dist/vue3-sphinx-xml.js.map +1 -0
- package/dist/vue3-sphinx-xml.mjs +6 -4
- package/dist/vue3-sphinx-xml.mjs.map +1 -1
- package/package.json +18 -16
- package/dist/DirectElementMap-BxB8uEd3.mjs.map +0 -1
- package/dist/Image-DS2T9dhX.mjs +0 -36
- package/dist/Math-DMrgdPIM.mjs.map +0 -1
- package/dist/entry-BmRN0Y-U.mjs +0 -46649
- package/dist/entry-BmRN0Y-U.mjs.map +0 -1
- /package/dist/{style.css → vue3-sphinx-xml.css} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { toRefs as v, ref as g, computed as _,
|
|
2
|
-
import { u as N, a as x } from "./
|
|
3
|
-
import { u as F } from "./methods-
|
|
1
|
+
import { toRefs as v, ref as g, computed as _, createElementBlock as p, openBlock as r, normalizeProps as h, guardReactiveProps as y, Fragment as C, renderList as b, unref as k, createBlock as j, resolveDynamicComponent as B } from "vue";
|
|
2
|
+
import { u as N, a as x } from "./Document-PZAyvjWh.mjs";
|
|
3
|
+
import { u as F } from "./methods-ClbyDlbW.mjs";
|
|
4
4
|
const z = {
|
|
5
5
|
__name: "FigureCaption",
|
|
6
6
|
props: {
|
|
@@ -38,4 +38,4 @@ const z = {
|
|
|
38
38
|
export {
|
|
39
39
|
z as default
|
|
40
40
|
};
|
|
41
|
-
//# sourceMappingURL=FigureCaption-
|
|
41
|
+
//# sourceMappingURL=FigureCaption-DPm7W0CJ.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FigureCaption-
|
|
1
|
+
{"version":3,"file":"FigureCaption-DPm7W0CJ.mjs","sources":["../src/components/templates/FigureCaption.vue"],"sourcesContent":["<template>\n <span :=\"attrs\">\n <component\n v-for=\"(c, index) in children\"\n :key=\"'figure_caption_' + index\"\n :is=\"c.component\"\n :node=\"c.node\"\n :componentName=\"c.name\"\n :properties=\"c.properties\"\n />\n </span>\n</template>\n\n<script setup>\nimport { computed, toRefs, ref } from 'vue'\n\nimport { useChildren, useClasses } from '../../composables/computed'\nimport { useMethods } from '../../composables/methods'\n\nconst props = defineProps({\n node: {\n type: undefined,\n default: null,\n },\n componentName: {\n type: String,\n },\n properties: {\n type: Object,\n },\n})\n\nconst { dataObject } = useMethods()\nconst { node } = toRefs(props)\nconst attrs = ref({})\nconst { classes } = useClasses(node)\n\nconst { children } = useChildren(node)\n\nconst combinedClasses = computed(() => {\n let c = ['figure-caption', ...classes.value]\n for (const attr of node.value.attributes) {\n if (attr.name === 'align') {\n c.push('align-' + attr.value)\n }\n }\n return c\n})\n\nconst result = dataObject(node.value, combinedClasses.value)\nattrs.value = {\n ...result.attrs,\n class: result.class.join(' '),\n }\n</script>\n"],"names":["props","__props","dataObject","useMethods","node","toRefs","attrs","ref","classes","useClasses","children","useChildren","combinedClasses","computed","c","attr","result","_openBlock","_createElementBlock","_Fragment","_renderList","_unref","index","_createBlock","_resolveDynamicComponent"],"mappings":";;;;;;;;;;;;;;;;;;AAmBA,UAAMA,IAAQC,GAaR,EAAE,YAAAC,EAAU,IAAKC,EAAU,GAC3B,EAAE,MAAAC,EAAI,IAAKC,EAAOL,CAAK,GACvBM,IAAQC,EAAI,CAAA,CAAE,GACd,EAAE,SAAAC,EAAO,IAAKC,EAAWL,CAAI,GAE7B,EAAE,UAAAM,EAAQ,IAAKC,EAAYP,CAAI,GAE/BQ,IAAkBC,EAAS,MAAM;AACrC,UAAIC,IAAI,CAAC,kBAAkB,GAAGN,EAAQ,KAAK;AAC3C,iBAAWO,KAAQX,EAAK,MAAM;AAC5B,QAAIW,EAAK,SAAS,WAChBD,EAAE,KAAK,WAAWC,EAAK,KAAK;AAGhC,aAAOD;AAAA,IACT,CAAC,GAEKE,IAASd,EAAWE,EAAK,OAAOQ,EAAgB,KAAK;AAC3D,WAAAN,EAAM,QAAQ;AAAA,MACV,GAAGU,EAAO;AAAA,MACV,OAAOA,EAAO,MAAM,KAAK,GAAG;AAAA,IAChC,cApDEC,EAAA,GAAAC,EASO,YATEZ,EAAA,KAAK,CAAA,GAAA;AAAA,OACZW,EAAA,EAAA,GAAAC,EAOEC,GAAA,MAAAC,EANqBC,EAAAX,CAAA,GAAQ,CAArBI,GAAGQ,YADbC,EAOEC,EAJKV,EAAE,SAAS,GAAA;AAAA,QADf,yBAAyBQ;AAAA,QAEzB,MAAMR,EAAE;AAAA,QACR,eAAeA,EAAE;AAAA,QACjB,YAAYA,EAAE;AAAA;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { toRefs as l, ref as u,
|
|
2
|
-
import { u as k } from "./methods-
|
|
3
|
-
import { a as g } from "./
|
|
1
|
+
import { toRefs as l, ref as u, createElementBlock as r, openBlock as o, normalizeProps as i, guardReactiveProps as d, Fragment as f, renderList as _, unref as v, createBlock as y, resolveDynamicComponent as h } from "vue";
|
|
2
|
+
import { u as k } from "./methods-ClbyDlbW.mjs";
|
|
3
|
+
import { a as g } from "./Document-PZAyvjWh.mjs";
|
|
4
4
|
const C = {
|
|
5
5
|
__name: "Footnote",
|
|
6
6
|
props: {
|
|
@@ -30,4 +30,4 @@ const C = {
|
|
|
30
30
|
export {
|
|
31
31
|
C as default
|
|
32
32
|
};
|
|
33
|
-
//# sourceMappingURL=Footnote-
|
|
33
|
+
//# sourceMappingURL=Footnote-DAEfbxUi.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Footnote-
|
|
1
|
+
{"version":3,"file":"Footnote-DAEfbxUi.mjs","sources":["../src/components/templates/Footnote.vue"],"sourcesContent":["<template>\n <div :=\"attrs\">\n <component\n v-for=\"(c, index) in children\"\n :key=\"'footnote_component_' + index\"\n :is=\"c.component\"\n :node=\"c.node\"\n :componentName=\"c.name\"\n :properties=\"c.properties\"\n />\n </div>\n</template>\n\n<script setup>\nimport { toRefs, ref } from 'vue'\n\nimport { useMethods } from '../../composables/methods'\nimport { useChildren } from '../../composables/computed'\n\nconst props = defineProps({\n node: {\n type: undefined,\n default: null,\n },\n componentName: {\n type: String,\n },\n properties: {\n type: Object,\n },\n})\n\nconst { node } = toRefs(props)\nconst { children } = useChildren(node)\nconst { dataObject } = useMethods()\nconst attrs = ref({})\n\nattrs.value = dataObject(node.value, ['footnote']).attrs // import { h } from 'vue'\n</script>\n"],"names":["props","__props","node","toRefs","children","useChildren","dataObject","useMethods","attrs","ref","_openBlock","_createElementBlock","_Fragment","_renderList","_unref","c","index","_createBlock","_resolveDynamicComponent"],"mappings":";;;;;;;;;;;;;;;;;;AAmBA,UAAMA,IAAQC,GAaR,EAAE,MAAAC,EAAI,IAAKC,EAAOH,CAAK,GACvB,EAAE,UAAAI,EAAQ,IAAKC,EAAYH,CAAI,GAC/B,EAAE,YAAAI,EAAU,IAAKC,EAAU,GAC3BC,IAAQC,EAAI,CAAA,CAAE;AAEpB,WAAAD,EAAM,QAAQF,EAAWJ,EAAK,OAAO,CAAC,UAAU,CAAC,EAAE,kBApCjDQ,EAAA,GAAAC,EASM,WATEH,EAAA,KAAK,CAAA,GAAA;AAAA,OACXE,EAAA,EAAA,GAAAC,EAOEC,GAAA,MAAAC,EANqBC,EAAAV,CAAA,GAAQ,CAArBW,GAAGC,YADbC,EAOEC,EAJKH,EAAE,SAAS,GAAA;AAAA,QADf,6BAA6BC;AAAA,QAE7B,MAAMD,EAAE;AAAA,QACR,eAAeA,EAAE;AAAA,QACjB,YAAYA,EAAE;AAAA;;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ref as i, toRefs as l, onMounted as m, resolveComponent as _,
|
|
1
|
+
import { ref as i, toRefs as l, onMounted as m, resolveComponent as _, createBlock as d, createElementBlock as h, unref as t, openBlock as n, withCtx as k, createTextVNode as x, toDisplayString as r } from "vue";
|
|
2
2
|
import { useRoute as R } from "vue-router";
|
|
3
|
-
import { u as y } from "./methods-
|
|
4
|
-
import { u as C } from "./basereference-
|
|
3
|
+
import { u as y } from "./methods-ClbyDlbW.mjs";
|
|
4
|
+
import { u as C } from "./basereference-7wajqzV8.mjs";
|
|
5
5
|
const g = ["href"], S = {
|
|
6
6
|
__name: "FootnoteReference",
|
|
7
7
|
props: {
|
|
@@ -21,11 +21,11 @@ const g = ["href"], S = {
|
|
|
21
21
|
key: 0,
|
|
22
22
|
to: o.value
|
|
23
23
|
}, {
|
|
24
|
-
default:
|
|
25
|
-
|
|
24
|
+
default: k(() => [
|
|
25
|
+
x(" [" + r(t(e).textContent) + "] ", 1)
|
|
26
26
|
]),
|
|
27
27
|
_: 1
|
|
28
|
-
}, 8, ["to"])) : (n(),
|
|
28
|
+
}, 8, ["to"])) : (n(), h("a", {
|
|
29
29
|
key: 1,
|
|
30
30
|
href: t(e).getAttribute("refuri"),
|
|
31
31
|
target: "_blank"
|
|
@@ -36,4 +36,4 @@ const g = ["href"], S = {
|
|
|
36
36
|
export {
|
|
37
37
|
S as default
|
|
38
38
|
};
|
|
39
|
-
//# sourceMappingURL=FootnoteReference-
|
|
39
|
+
//# sourceMappingURL=FootnoteReference-Bi6FG4qF.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FootnoteReference-
|
|
1
|
+
{"version":3,"file":"FootnoteReference-Bi6FG4qF.mjs","sources":["../src/components/templates/FootnoteReference.vue"],"sourcesContent":["<template>\n <router-link v-if=\"isInternalReference(node)\" :to=\"routeDescription\">\n [{{ node.textContent }}]\n </router-link>\n <a v-else :href=\"node.getAttribute('refuri')\" target=\"_blank\">\n [{{ node.textContent }}]\n </a>\n</template>\n\n<script setup>\nimport { onMounted, toRefs, ref } from 'vue'\nimport { useRoute } from 'vue-router'\n\nimport { useMethods } from '../../composables/methods'\nimport { useBaseReference } from '../../composables/basereference'\n\nconst props = defineProps({\n node: {\n type: undefined,\n default: null,\n },\n componentName: {\n type: String,\n },\n})\n\nconst routeDescription = ref({path: '', hash: ''})\nconst { node } = toRefs(props)\nconst route = useRoute()\n\nconst { isInternalReference } = useMethods()\nconst { onReferenceCreated } = useBaseReference(node.value, route, routeDescription)\n\nonMounted(onReferenceCreated)\n\n</script>\n"],"names":["props","__props","routeDescription","ref","node","toRefs","route","useRoute","isInternalReference","useMethods","onReferenceCreated","useBaseReference","onMounted","_unref","_createBlock","_component_router_link","_createTextVNode","_toDisplayString","_createElementBlock","_hoisted_1"],"mappings":";;;;;;;;;;;;;;;;AAgBA,UAAMA,IAAQC,GAURC,IAAmBC,EAAI,EAAC,MAAM,IAAI,MAAM,GAAE,CAAC,GAC3C,EAAE,MAAAC,EAAI,IAAKC,EAAOL,CAAK,GACvBM,IAAQC,EAAQ,GAEhB,EAAE,qBAAAC,EAAmB,IAAKC,EAAU,GACpC,EAAE,oBAAAC,EAAkB,IAAKC,EAAiBP,EAAK,OAAOE,GAAOJ,CAAgB;AAEnF,WAAAU,EAAUF,CAAkB;;AAhCP,aAAAG,EAAAL,CAAA,EAAoBK,EAAAT,CAAA,CAAI,UAA3CU,EAEcC,GAAA;AAAA;QAFiC,IAAIb,EAAA;AAAA;mBAAkB,MAClE;AAAA,UADkEc,EAAA,OAClEC,EAAGJ,EAAAT,CAAA,EAAK,WAAW,IAAG,MACzB,CAAA;AAAA;;6BACAc,EAEI,KAAA;AAAA;QAFO,MAAML,EAAAT,CAAA,EAAK,aAAY,QAAA;AAAA,QAAY,QAAO;AAAA,MAAS,GAAA,OAC3Da,EAAGJ,EAAAT,CAAA,EAAK,WAAW,IAAG,MACzB,GAAAe,CAAA;AAAA;;;"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { toRefs as p, ref as d, computed as f, createElementBlock as g, openBlock as h, normalizeProps as v, guardReactiveProps as R } from "vue";
|
|
2
|
+
import { useRoute as x } from "vue-router";
|
|
3
|
+
import { u as _, d as I } from "./entry-CNV5B73A.mjs";
|
|
4
|
+
import { u as S } from "./methods-ClbyDlbW.mjs";
|
|
5
|
+
import { a as U } from "./Document-PZAyvjWh.mjs";
|
|
6
|
+
const B = {
|
|
7
|
+
__name: "Image",
|
|
8
|
+
props: {
|
|
9
|
+
node: {
|
|
10
|
+
type: void 0,
|
|
11
|
+
default: null
|
|
12
|
+
},
|
|
13
|
+
componentName: {
|
|
14
|
+
type: String
|
|
15
|
+
},
|
|
16
|
+
properties: {
|
|
17
|
+
type: Object
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
setup(a) {
|
|
21
|
+
const n = a, { node: o } = p(n);
|
|
22
|
+
U(o);
|
|
23
|
+
const { dataObject: u } = S(), i = x(), c = _(), t = d({}), r = f(() => {
|
|
24
|
+
let e = o.value.getAttribute("uri");
|
|
25
|
+
if (e && !e.startsWith("/") && !e.startsWith("http")) {
|
|
26
|
+
const s = I(i), l = e.lastIndexOf("/"), m = e.slice(l);
|
|
27
|
+
e = [c.getImagesURL(s), m].join("/");
|
|
28
|
+
}
|
|
29
|
+
return e;
|
|
30
|
+
});
|
|
31
|
+
return t.value = u(o.value).attrs, t.value ? t.value.src = r : t.value = { src: r }, (e, s) => (h(), g("img", v(R(t.value)), null, 16));
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
export {
|
|
35
|
+
B as default
|
|
36
|
+
};
|
|
37
|
+
//# sourceMappingURL=Image-UjDGAe4v.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Image-
|
|
1
|
+
{"version":3,"file":"Image-UjDGAe4v.mjs","sources":["../src/components/templates/Image.vue"],"sourcesContent":["<template>\n <img :=\"attrs\" />\n</template>\n\n<script setup>\nimport { computed, toRefs, ref } from 'vue'\nimport { useRoute } from 'vue-router'\nimport { useSphinxStore } from '@/stores/sphinx'\n\nimport { useMethods } from '../../composables/methods'\nimport { useChildren } from '../../composables/computed'\nimport { determineRouteUrl } from '../../js/utilities'\n\nconst props = defineProps({\n node: {\n type: undefined,\n default: null,\n },\n componentName: {\n type: String,\n },\n properties: {\n type: Object,\n },\n})\n\nconst { node } = toRefs(props)\nconst { children } = useChildren(node)\nconst { dataObject } = useMethods()\nconst route = useRoute()\nconst sphinxStore = useSphinxStore()\nconst attrs = ref({})\n\nconst uri = computed(() => {\n let imageURI = node.value.getAttribute('uri')\n if (imageURI && !imageURI.startsWith('/') && !imageURI.startsWith('http')) {\n const routeURL = determineRouteUrl(route)\n // Sphinx puts all images in a directory '_images' by default\n // for HTML output. We are saying here that we will map the\n // XML image reference the same way.\n const lastIndex = imageURI.lastIndexOf('/')\n const imageName = imageURI.slice(lastIndex)\n // imageURI = `${this.$store.sphinx.getImagesURL(routeURL)}${imageName}`\n imageURI = [sphinxStore.getImagesURL(routeURL), imageName].join('/')\n }\n return imageURI\n})\n\nattrs.value = dataObject(node.value).attrs\nif (attrs.value) {\n attrs.value.src = uri\n} else {\n attrs.value = { src: uri }\n}\n</script>\n"],"names":["props","__props","node","toRefs","useChildren","dataObject","useMethods","route","useRoute","sphinxStore","useSphinxStore","attrs","ref","uri","computed","imageURI","routeURL","determineRouteUrl","lastIndex","imageName","_openBlock","_createElementBlock"],"mappings":";;;;;;;;;;;;;;;;;;;;AAaA,UAAMA,IAAQC,GAaR,EAAE,MAAAC,EAAI,IAAKC,EAAOH,CAAK;AACR,IAAAI,EAAYF,CAAI;AACrC,UAAM,EAAE,YAAAG,EAAU,IAAKC,EAAU,GAC3BC,IAAQC,EAAQ,GAChBC,IAAcC,EAAc,GAC5BC,IAAQC,EAAI,CAAA,CAAE,GAEdC,IAAMC,EAAS,MAAM;AACzB,UAAIC,IAAWb,EAAK,MAAM,aAAa,KAAK;AAC5C,UAAIa,KAAY,CAACA,EAAS,WAAW,GAAG,KAAK,CAACA,EAAS,WAAW,MAAM,GAAG;AACzE,cAAMC,IAAWC,EAAkBV,CAAK,GAIlCW,IAAYH,EAAS,YAAY,GAAG,GACpCI,IAAYJ,EAAS,MAAMG,CAAS;AAE1C,QAAAH,IAAW,CAACN,EAAY,aAAaO,CAAQ,GAAGG,CAAS,EAAE,KAAK,GAAG;AAAA,MACrE;AACA,aAAOJ;AAAA,IACT,CAAC;AAED,WAAAJ,EAAM,QAAQN,EAAWH,EAAK,KAAK,EAAE,OACjCS,EAAM,QACRA,EAAM,MAAM,MAAME,IAElBF,EAAM,QAAQ,EAAE,KAAKE,EAAG,cAnDxBO,EAAA,GAAAC,EAAiB,WAATV,EAAA,KAAK,CAAA,GAAA,MAAA,EAAA;AAAA;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { toRefs as m,
|
|
2
|
-
import { a as y, u as g } from "./
|
|
1
|
+
import { toRefs as m, createElementBlock as t, openBlock as n, normalizeClass as i, unref as r, Fragment as u, renderList as d, createBlock as f, resolveDynamicComponent as _ } from "vue";
|
|
2
|
+
import { a as y, u as g } from "./Document-PZAyvjWh.mjs";
|
|
3
3
|
const B = {
|
|
4
4
|
__name: "Legend",
|
|
5
5
|
props: {
|
|
@@ -32,4 +32,4 @@ const B = {
|
|
|
32
32
|
export {
|
|
33
33
|
B as default
|
|
34
34
|
};
|
|
35
|
-
//# sourceMappingURL=Legend-
|
|
35
|
+
//# sourceMappingURL=Legend-BL0KvT6x.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Legend-
|
|
1
|
+
{"version":3,"file":"Legend-BL0KvT6x.mjs","sources":["../src/components/templates/Legend.vue"],"sourcesContent":["<template>\n <div :class=\"classes\">\n <component\n v-for=\"(c, index) in children\"\n :key=\"'container_component_' + index\"\n :is=\"c.component\"\n :node=\"c.node\"\n :componentName=\"c.name\"\n :properties=\"c.properties\"\n />\n </div>\n</template>\n\n<script setup>\nimport { toRefs } from 'vue'\n\nimport { useChildren, useClasses } from '../../composables/computed'\n\nconsole.log('***** IN USE *****')\nconst props = defineProps({\n node: {\n type: undefined,\n default: null,\n },\n componentName: {\n type: String,\n },\n properties: {\n type: Object,\n },\n})\n\nconst { node } = toRefs(props)\n\nconst { children } = useChildren(node)\nconst { classes } = useClasses(node)\n</script>\n"],"names":["props","__props","node","toRefs","children","useChildren","classes","useClasses","_createElementBlock","_unref","_openBlock","_Fragment","_renderList","c","index","_createBlock","_resolveDynamicComponent"],"mappings":";;;;;;;;;;;;;;;;;AAkBA,YAAQ,IAAI,oBAAoB;AAChC,UAAMA,IAAQC,GAaR,EAAE,MAAAC,EAAI,IAAKC,EAAOH,CAAK,GAEvB,EAAE,UAAAI,EAAQ,IAAKC,EAAYH,CAAI,GAC/B,EAAE,SAAAI,EAAO,IAAKC,EAAWL,CAAI;2BAlCjCM,EASM,OAAA;AAAA,MATA,SAAOC,EAAAH,CAAA,CAAO;AAAA;OAClBI,EAAA,EAAA,GAAAF,EAOEG,GAAA,MAAAC,EANqBH,EAAAL,CAAA,GAAQ,CAArBS,GAAGC,YADbC,EAOEC,EAJKH,EAAE,SAAS,GAAA;AAAA,QADf,8BAA8BC;AAAA,QAE9B,MAAMD,EAAE;AAAA,QACR,eAAeA,EAAE;AAAA,QACjB,YAAYA,EAAE;AAAA;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { toRefs as m, ref as i,
|
|
2
|
-
import { a as h } from "./
|
|
3
|
-
import { u as B } from "./methods-
|
|
1
|
+
import { toRefs as m, ref as i, createElementBlock as r, openBlock as o, normalizeProps as u, guardReactiveProps as d, Fragment as f, renderList as _, unref as k, createBlock as v, resolveDynamicComponent as y } from "vue";
|
|
2
|
+
import { a as h } from "./Document-PZAyvjWh.mjs";
|
|
3
|
+
import { u as B } from "./methods-ClbyDlbW.mjs";
|
|
4
4
|
const C = {
|
|
5
5
|
__name: "LineBlock",
|
|
6
6
|
props: {
|
|
@@ -30,4 +30,4 @@ const C = {
|
|
|
30
30
|
export {
|
|
31
31
|
C as default
|
|
32
32
|
};
|
|
33
|
-
//# sourceMappingURL=LineBlock-
|
|
33
|
+
//# sourceMappingURL=LineBlock-yNMN4PnM.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LineBlock-
|
|
1
|
+
{"version":3,"file":"LineBlock-yNMN4PnM.mjs","sources":["../src/components/templates/LineBlock.vue"],"sourcesContent":["<template>\n <div :=\"attrs\">\n <component\n v-for=\"(c, index) in children\"\n :key=\"'section_component_' + index\"\n :is=\"c.component\"\n :node=\"c.node\"\n :componentName=\"c.name\"\n :properties=\"c.properties\"\n />\n </div>\n</template>\n\n<script setup>\nimport { toRefs, ref } from 'vue'\n\nimport { useChildren } from '../../composables/computed'\nimport { useMethods } from '../../composables/methods'\n\nconst props = defineProps({\n node: {\n type: undefined,\n default: null,\n },\n componentName: {\n type: String,\n },\n properties: {\n type: Object,\n },\n})\n\nconst { dataObject } = useMethods()\nconst { node } = toRefs(props)\nconst attrs = ref({})\n\nconst { children } = useChildren(node)\nattrs.value = dataObject(node.value, ['line_block']).attrs\n</script>\n"],"names":["props","__props","dataObject","useMethods","node","toRefs","attrs","ref","children","useChildren","_openBlock","_createElementBlock","_Fragment","_renderList","_unref","c","index","_createBlock","_resolveDynamicComponent"],"mappings":";;;;;;;;;;;;;;;;;;AAmBA,UAAMA,IAAQC,GAaR,EAAE,YAAAC,EAAU,IAAKC,EAAU,GAC3B,EAAE,MAAAC,EAAI,IAAKC,EAAOL,CAAK,GACvBM,IAAQC,EAAI,CAAA,CAAE,GAEd,EAAE,UAAAC,EAAQ,IAAKC,EAAYL,CAAI;AACrC,WAAAE,EAAM,QAAQJ,EAAWE,EAAK,OAAO,CAAC,YAAY,CAAC,EAAE,kBApCnDM,EAAA,GAAAC,EASM,WATEL,EAAA,KAAK,CAAA,GAAA;AAAA,OACXI,EAAA,EAAA,GAAAC,EAOEC,GAAA,MAAAC,EANqBC,EAAAN,CAAA,GAAQ,CAArBO,GAAGC,YADbC,EAOEC,EAJKH,EAAE,SAAS,GAAA;AAAA,QADf,4BAA4BC;AAAA,QAE5B,MAAMD,EAAE;AAAA,QACR,eAAeA,EAAE;AAAA,QACjB,YAAYA,EAAE;AAAA;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { toRefs as m, ref as i,
|
|
2
|
-
import { u as h } from "./methods-
|
|
3
|
-
import { a as k } from "./
|
|
1
|
+
import { toRefs as m, ref as i, createElementBlock as r, openBlock as o, normalizeProps as u, guardReactiveProps as d, Fragment as f, renderList as _, unref as g, createBlock as v, resolveDynamicComponent as y } from "vue";
|
|
2
|
+
import { u as h } from "./methods-ClbyDlbW.mjs";
|
|
3
|
+
import { a as k } from "./Document-PZAyvjWh.mjs";
|
|
4
4
|
const x = {
|
|
5
5
|
__name: "LineSingle",
|
|
6
6
|
props: {
|
|
@@ -31,4 +31,4 @@ const x = {
|
|
|
31
31
|
export {
|
|
32
32
|
x as default
|
|
33
33
|
};
|
|
34
|
-
//# sourceMappingURL=LineSingle-
|
|
34
|
+
//# sourceMappingURL=LineSingle-D8mP9JxV.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LineSingle-
|
|
1
|
+
{"version":3,"file":"LineSingle-D8mP9JxV.mjs","sources":["../src/components/templates/LineSingle.vue"],"sourcesContent":["<template>\n <div :=\"attrs\">\n <component\n v-for=\"(c, index) in children\"\n :key=\"'footnote_component_' + index\"\n :is=\"c.component\"\n :node=\"c.node\"\n :componentName=\"c.name\"\n :properties=\"c.properties\"\n />\n </div>\n</template>\n\n<script setup>\nimport { toRefs, ref } from 'vue'\n\nimport { useMethods } from '../../composables/methods'\nimport { useChildren } from '../../composables/computed'\n\nconsole.log('***** IN USE *****')\n\nconst props = defineProps({\n node: {\n type: undefined,\n default: null,\n },\n componentName: {\n type: String,\n },\n properties: {\n type: Object,\n },\n})\n\nconst { node } = toRefs(props)\nconst { children } = useChildren(node)\nconst { dataObject } = useMethods()\nconst attrs = ref({})\n\nattrs.value = dataObject(node.value, ['line_single']).attrs\n</script>\n"],"names":["props","__props","node","toRefs","children","useChildren","dataObject","useMethods","attrs","ref","_openBlock","_createElementBlock","_Fragment","_renderList","_unref","c","index","_createBlock","_resolveDynamicComponent"],"mappings":";;;;;;;;;;;;;;;;;;AAmBA,YAAQ,IAAI,oBAAoB;AAEhC,UAAMA,IAAQC,GAaR,EAAE,MAAAC,EAAI,IAAKC,EAAOH,CAAK,GACvB,EAAE,UAAAI,EAAQ,IAAKC,EAAYH,CAAI,GAC/B,EAAE,YAAAI,EAAU,IAAKC,EAAU,GAC3BC,IAAQC,EAAI,CAAA,CAAE;AAEpB,WAAAD,EAAM,QAAQF,EAAWJ,EAAK,OAAO,CAAC,aAAa,CAAC,EAAE,kBAtCpDQ,EAAA,GAAAC,EASM,WATEH,EAAA,KAAK,CAAA,GAAA;AAAA,OACXE,EAAA,EAAA,GAAAC,EAOEC,GAAA,MAAAC,EANqBC,EAAAV,CAAA,GAAQ,CAArBW,GAAGC,YADbC,EAOEC,EAJKH,EAAE,SAAS,GAAA;AAAA,QADf,6BAA6BC;AAAA,QAE7B,MAAMD,EAAE;AAAA,QACR,eAAeA,EAAE;AAAA,QACjB,YAAYA,EAAE;AAAA;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { toRefs as d, ref as f,
|
|
2
|
-
import { u as N } from "./methods-
|
|
3
|
-
import { a as B } from "./
|
|
1
|
+
import { toRefs as d, ref as f, createElementBlock as c, openBlock as o, normalizeClass as _, createElementVNode as y, Fragment as h, renderList as v, unref as g, createBlock as k, resolveDynamicComponent as E } from "vue";
|
|
2
|
+
import { u as N } from "./methods-ClbyDlbW.mjs";
|
|
3
|
+
import { a as B } from "./Document-PZAyvjWh.mjs";
|
|
4
4
|
const C = { class: "pre" }, O = {
|
|
5
5
|
__name: "Literal",
|
|
6
6
|
props: {
|
|
@@ -39,4 +39,4 @@ const C = { class: "pre" }, O = {
|
|
|
39
39
|
export {
|
|
40
40
|
O as default
|
|
41
41
|
};
|
|
42
|
-
//# sourceMappingURL=Literal-
|
|
42
|
+
//# sourceMappingURL=Literal-B3RMToDf.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Literal-
|
|
1
|
+
{"version":3,"file":"Literal-B3RMToDf.mjs","sources":["../src/components/templates/Literal.vue"],"sourcesContent":["<template>\n <code :class=\"classes\">\n <span class=\"pre\">\n <component\n v-for=\"(c, index) in children\"\n :key=\"'code_component_' + index\"\n :is=\"c.component\"\n :node=\"c.node\"\n :componentName=\"c.name\"\n :properties=\"c.properties\"\n />\n </span>\n </code>\n</template>\n\n<script setup>\nimport { toRefs, ref } from 'vue'\n\nimport { useMethods } from '../../composables/methods'\nimport { useChildren } from '../../composables/computed'\n\nconst props = defineProps({\n node: {\n type: undefined,\n default: null,\n },\n componentName: {\n type: String,\n },\n properties: {\n type: Object,\n },\n})\n\nconst { node } = toRefs(props)\n\nconst { dataObject } = useMethods()\n\nconst { children } = useChildren(node)\n\nconst classes = ref(['literal', 'notranslate'])\n\nconst v = dataObject(node.value)\nconst isEmpty = (d) => {\n for (const i in d) {\n if (d[i].language === '') {\n continue\n }\n return false\n }\n\n return true\n}\n\nif (!isEmpty(v)) {\n if (v.attrs && v.attrs.role) {\n classes.value.push(v.attrs.role)\n }\n}\n</script>\n"],"names":["props","__props","node","toRefs","dataObject","useMethods","children","useChildren","classes","ref","v","d","i","_createElementBlock","_createElementVNode","_hoisted_1","_openBlock","_Fragment","_renderList","_unref","c","index","_createBlock","_resolveDynamicComponent"],"mappings":";;;;;;;;;;;;;;;;;;AAqBA,UAAMA,IAAQC,GAaR,EAAE,MAAAC,EAAI,IAAKC,EAAOH,CAAK,GAEvB,EAAE,YAAAI,EAAU,IAAKC,EAAU,GAE3B,EAAE,UAAAC,EAAQ,IAAKC,EAAYL,CAAI,GAE/BM,IAAUC,EAAI,CAAC,WAAW,aAAa,CAAC,GAExCC,IAAIN,EAAWF,EAAK,KAAK;AAY/B,YAXgB,CAACS,MAAM;AACrB,iBAAWC,KAAKD;AACd,YAAIA,EAAEC,CAAC,EAAE,aAAa;AAGtB,iBAAO;AAGT,aAAO;AAAA,IACT,GAEaF,CAAC,KACRA,EAAE,SAASA,EAAE,MAAM,QACrBF,EAAQ,MAAM,KAAKE,EAAE,MAAM,IAAI,mBAvDjCG,EAWO,QAAA;AAAA,MAXA,SAAOL,EAAA,KAAO;AAAA;MACnBM,EASO,QATPC,GASO;AAAA,SARLC,EAAA,EAAA,GAAAH,EAOEI,GAAA,MAAAC,EANqBC,EAAAb,CAAA,GAAQ,CAArBc,GAAGC,YADbC,EAOEC,EAJKH,EAAE,SAAS,GAAA;AAAA,UADf,yBAAyBC;AAAA,UAEzB,MAAMD,EAAE;AAAA,UACR,eAAeA,EAAE;AAAA,UACjB,YAAYA,EAAE;AAAA;;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { toRefs as
|
|
2
|
-
import {
|
|
1
|
+
import { toRefs as c, computed as o, resolveDirective as i, withDirectives as u, createElementBlock as p, openBlock as d, createElementVNode as g, normalizeClass as m, toDisplayString as f } from "vue";
|
|
2
|
+
import { a as h } from "./entry-CNV5B73A.mjs";
|
|
3
3
|
const y = {
|
|
4
4
|
__name: "LiteralBlock",
|
|
5
5
|
props: {
|
|
@@ -15,18 +15,18 @@ const y = {
|
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
17
|
setup(n) {
|
|
18
|
-
const r = n, { node: t } =
|
|
18
|
+
const r = n, { node: t } = c(r), l = o(() => {
|
|
19
19
|
let e = t.value.getAttribute("language");
|
|
20
20
|
return e === "console" || e === "default" ? e = "bash" : e === "text" && (e = "plaintext"), e;
|
|
21
21
|
}), a = o(() => h(t.value.innerHTML));
|
|
22
22
|
return (e, v) => {
|
|
23
|
-
const
|
|
24
|
-
return u((
|
|
23
|
+
const s = i("highlightjs");
|
|
24
|
+
return u((d(), p("pre", null, [
|
|
25
25
|
g("code", {
|
|
26
26
|
class: m(l.value)
|
|
27
27
|
}, f(a.value), 3)
|
|
28
28
|
])), [
|
|
29
|
-
[
|
|
29
|
+
[s]
|
|
30
30
|
]);
|
|
31
31
|
};
|
|
32
32
|
}
|
|
@@ -34,4 +34,4 @@ const y = {
|
|
|
34
34
|
export {
|
|
35
35
|
y as default
|
|
36
36
|
};
|
|
37
|
-
//# sourceMappingURL=LiteralBlock-
|
|
37
|
+
//# sourceMappingURL=LiteralBlock-DSNLfJRQ.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LiteralBlock-
|
|
1
|
+
{"version":3,"file":"LiteralBlock-DSNLfJRQ.mjs","sources":["../src/components/templates/LiteralBlock.vue"],"sourcesContent":["<template>\n <pre v-highlightjs><code :class=\"sourceLanguage\">{{ sourceCode }}</code></pre>\n</template>\n\n<script setup>\nimport { computed, toRefs } from 'vue'\n\nimport { decodeHTML } from '../../js/utilities'\n\nconst props = defineProps({\n node: {\n type: undefined,\n default: null,\n },\n componentName: {\n type: String,\n },\n properties: {\n type: Object,\n },\n})\n\nconst { node } = toRefs(props)\n\nconst sourceLanguage = computed(() => {\n let language = node.value.getAttribute('language')\n if (language === 'console' || language === 'default') {\n language = 'bash'\n } else if (language === 'text') {\n language = 'plaintext'\n }\n return language\n})\n\nconst sourceCode = computed(() => {\n return decodeHTML(node.value.innerHTML)\n})\n</script>\n"],"names":["props","__props","node","toRefs","sourceLanguage","computed","language","sourceCode","decodeHTML","_createElementBlock","_createElementVNode"],"mappings":";;;;;;;;;;;;;;;;;AASA,UAAMA,IAAQC,GAaR,EAAE,MAAAC,EAAI,IAAKC,EAAOH,CAAK,GAEvBI,IAAiBC,EAAS,MAAM;AACpC,UAAIC,IAAWJ,EAAK,MAAM,aAAa,UAAU;AACjD,aAAII,MAAa,aAAaA,MAAa,YACzCA,IAAW,SACFA,MAAa,WACtBA,IAAW,cAENA;AAAA,IACT,CAAC,GAEKC,IAAaF,EAAS,MACnBG,EAAWN,EAAK,MAAM,SAAS,CACvC;;;qBAnCCO,EAA8E,OAAA,MAAA;AAAA,QAA3DC,EAAqD,QAAA;AAAA,UAA9C,SAAON,EAAA,KAAc;AAAA,aAAKG,EAAA,KAAU,GAAA,CAAA;AAAA;;;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { resolveComponent as n,
|
|
1
|
+
import { resolveComponent as n, createBlock as o, openBlock as p } from "vue";
|
|
2
2
|
const a = {
|
|
3
3
|
__name: "Math",
|
|
4
4
|
props: {
|
|
@@ -16,7 +16,7 @@ const a = {
|
|
|
16
16
|
setup(e) {
|
|
17
17
|
return (r, c) => {
|
|
18
18
|
const t = n("katex-element");
|
|
19
|
-
return
|
|
19
|
+
return p(), o(t, {
|
|
20
20
|
expression: e.node.textContent
|
|
21
21
|
}, null, 8, ["expression"]);
|
|
22
22
|
};
|
|
@@ -25,4 +25,4 @@ const a = {
|
|
|
25
25
|
export {
|
|
26
26
|
a as default
|
|
27
27
|
};
|
|
28
|
-
//# sourceMappingURL=Math-
|
|
28
|
+
//# sourceMappingURL=Math-Cq4PVbWU.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Math-Cq4PVbWU.mjs","sources":["../src/components/templates/Math.vue"],"sourcesContent":["<template>\n <katex-element :expression=\"node.textContent\"></katex-element>\n</template>\n\n<script setup>\n\nconst props = defineProps({\n node: {\n type: undefined,\n default: null,\n },\n componentName: {\n type: String,\n },\n properties: {\n type: Object,\n }\n})\n</script>\n"],"names":["_createBlock","_component_katex_element","__props"],"mappings":";;;;;;;;;;;;;;;;;;kBACEA,EAA8DC,GAAA;AAAA,QAA9C,YAAYC,EAAA,KAAK;AAAA;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { toRefs as _, computed as v, resolveComponent as x,
|
|
1
|
+
import { toRefs as _, computed as v, resolveComponent as x, createElementBlock as a, openBlock as i, Fragment as b, renderList as h, createVNode as k } from "vue";
|
|
2
2
|
const y = { class: "katex-block" }, E = {
|
|
3
3
|
__name: "MathBlock",
|
|
4
4
|
props: {
|
|
@@ -43,8 +43,8 @@ const y = { class: "katex-block" }, E = {
|
|
|
43
43
|
}
|
|
44
44
|
return (n, r) => {
|
|
45
45
|
const t = x("katex-element");
|
|
46
|
-
return
|
|
47
|
-
(
|
|
46
|
+
return i(), a("div", y, [
|
|
47
|
+
(i(!0), a(b, null, h(u.value, (e, o) => (i(), a("div", {
|
|
48
48
|
key: "math_" + o
|
|
49
49
|
}, [
|
|
50
50
|
k(t, { expression: e }, null, 8, ["expression"])
|
|
@@ -56,4 +56,4 @@ const y = { class: "katex-block" }, E = {
|
|
|
56
56
|
export {
|
|
57
57
|
E as default
|
|
58
58
|
};
|
|
59
|
-
//# sourceMappingURL=MathBlock-
|
|
59
|
+
//# sourceMappingURL=MathBlock-BQlgpnCi.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MathBlock-
|
|
1
|
+
{"version":3,"file":"MathBlock-BQlgpnCi.mjs","sources":["../src/components/templates/MathBlock.vue"],"sourcesContent":["<template>\n <div class=\"katex-block\">\n <div v-for=\"(formula, index) in formulas\" :key=\"'math_' + index\">\n <katex-element :expression=\"formula\"></katex-element>\n </div>\n </div>\n</template>\n\n<script setup>\nimport { computed, toRefs } from 'vue'\n// Unsupported delimiters/formatting.\nconst removeList = ['\\\\begin{equation}', '\\\\end{equation}']\n\nconst renameMap = new Map([\n ['\\\\begin{align}', '\\\\begin{aligned}'],\n ['\\\\begin{eqnarray}', '\\\\begin{aligned}'],\n ['\\\\end{align}', '\\\\end{aligned}'],\n ['\\\\end{eqnarray}', '\\\\end{aligned}'],\n])\n\nconst props = defineProps({\n node: {\n type: undefined,\n default: null,\n },\n componentName: {\n type: String,\n },\n properties: {\n type: Object,\n },\n})\n\nconst { node } = toRefs(props)\n\nconst formulas = computed(() => {\n let formulas = []\n const multiEquations = node.value.innerHTML.split(/\\r?\\n\\r?\\n/)\n for (const equation of multiEquations) {\n if (equation) {\n let stripped = equation.replaceAll('&', '&')\n for (const item of removeList) {\n stripped = stripped.replaceAll(item, '')\n }\n for (let [key, value] of renameMap) {\n stripped = stripped.replaceAll(key, value)\n }\n if (requiresSplitEnvironment(stripped) && !hasEnvironment(stripped)) {\n // Create an environment that looks like a split environment\n stripped = `\\\\begin{array}{cc}${stripped}\\\\end{array}`\n }\n formulas.push(stripped)\n }\n }\n return formulas\n})\n\nfunction requiresSplitEnvironment(formula) {\n const ampersandIndex = formula.search('&')\n const newLineIndex = formula.search('\\\\\\\\')\n if (ampersandIndex !== -1 && newLineIndex !== -1) {\n return true\n }\n return false\n}\n\nfunction hasEnvironment(formula) {\n // For some reason search doesn't return 0 if looking for \\ at the start of a string.\n // So we don't look for it.\n const beginEnvironmentIndex = formula.search('begin{aligned}')\n const endEnvironmentIndex = formula.search('end{aligned}')\n if (beginEnvironmentIndex !== -1 && endEnvironmentIndex !== -1) {\n return true\n }\n return false\n}\n</script>\n"],"names":["removeList","renameMap","props","__props","node","toRefs","formulas","computed","multiEquations","equation","stripped","item","key","value","requiresSplitEnvironment","hasEnvironment","formula","ampersandIndex","newLineIndex","beginEnvironmentIndex","endEnvironmentIndex","_openBlock","_createElementBlock","_hoisted_1","_Fragment","_renderList","index","_createVNode","_component_katex_element"],"mappings":";;;;;;;;;;;;;;;;AAWA,UAAMA,IAAa,CAAC,qBAAqB,iBAAiB,GAEpDC,IAAY,oBAAI,IAAI;AAAA,MACxB,CAAC,kBAAkB,kBAAkB;AAAA,MACrC,CAAC,qBAAqB,kBAAkB;AAAA,MACxC,CAAC,gBAAgB,gBAAgB;AAAA,MACjC,CAAC,mBAAmB,gBAAgB;AAAA,IACtC,CAAC,GAEKC,IAAQC,GAaR,EAAE,MAAAC,EAAI,IAAKC,EAAOH,CAAK,GAEvBI,IAAWC,EAAS,MAAM;AAC9B,UAAID,IAAW,CAAA;AACf,YAAME,IAAiBJ,EAAK,MAAM,UAAU,MAAM,YAAY;AAC9D,iBAAWK,KAAYD;AACrB,YAAIC,GAAU;AACZ,cAAIC,IAAWD,EAAS,WAAW,SAAS,GAAG;AAC/C,qBAAWE,KAAQX;AACjB,YAAAU,IAAWA,EAAS,WAAWC,GAAM,EAAE;AAEzC,mBAAS,CAACC,GAAKC,CAAK,KAAKZ;AACvB,YAAAS,IAAWA,EAAS,WAAWE,GAAKC,CAAK;AAE3C,UAAIC,EAAyBJ,CAAQ,KAAK,CAACK,EAAeL,CAAQ,MAEhEA,IAAW,qBAAqBA,CAAQ,iBAE1CJ,EAAS,KAAKI,CAAQ;AAAA,QACxB;AAEF,aAAOJ;AAAA,IACT,CAAC;AAED,aAASQ,EAAyBE,GAAS;AACzC,YAAMC,IAAiBD,EAAQ,OAAO,GAAG,GACnCE,IAAeF,EAAQ,OAAO,MAAM;AAC1C,aAAIC,MAAmB,MAAMC,MAAiB;AAAA,IAIhD;AAEA,aAASH,EAAeC,GAAS;AAG/B,YAAMG,IAAwBH,EAAQ,OAAO,gBAAgB,GACvDI,IAAsBJ,EAAQ,OAAO,cAAc;AACzD,aAAIG,MAA0B,MAAMC,MAAwB;AAAA,IAI9D;;;AA1EE,aAAAC,EAAA,GAAAC,EAIM,OAJNC,GAIM;AAAA,SAHJF,EAAA,EAAA,GAAAC,EAEME,GAAA,MAAAC,EAF0BnB,EAAA,OAAQ,CAA3BU,GAASU,YAAtBJ,EAEM,OAAA;AAAA,UAFqC,eAAeI;AAAA;UACxDC,EAAqDC,GAAA,EAArC,YAAYZ,EAAO,GAAA,MAAA,GAAA,CAAA,YAAA,CAAA;AAAA;;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { toRefs as c, ref as d,
|
|
2
|
-
import { u as B } from "./methods-
|
|
3
|
-
import { a as b } from "./
|
|
1
|
+
import { toRefs as c, ref as d, createElementBlock as p, openBlock as t, normalizeProps as u, guardReactiveProps as f, createElementVNode as v, Fragment as N, renderList as _, unref as y, createBlock as k, resolveDynamicComponent as g } from "vue";
|
|
2
|
+
import { u as B } from "./methods-ClbyDlbW.mjs";
|
|
3
|
+
import { a as b } from "./Document-PZAyvjWh.mjs";
|
|
4
4
|
const E = {
|
|
5
5
|
__name: "Note",
|
|
6
6
|
props: {
|
|
@@ -31,4 +31,4 @@ const E = {
|
|
|
31
31
|
export {
|
|
32
32
|
E as default
|
|
33
33
|
};
|
|
34
|
-
//# sourceMappingURL=Note-
|
|
34
|
+
//# sourceMappingURL=Note-DTXT2vL1.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Note-
|
|
1
|
+
{"version":3,"file":"Note-DTXT2vL1.mjs","sources":["../src/components/templates/Note.vue"],"sourcesContent":["<template>\n <div :=\"attrs\">\n <p class=\"admonition-title\">Note</p>\n <component\n v-for=\"(c, index) in children\"\n :key=\"'note_component_' + index\"\n :is=\"c.component\"\n :node=\"c.node\"\n :componentName=\"c.name\"\n :properties=\"c.properties\"\n />\n </div>\n</template>\n\n<script setup>\nimport { toRefs, ref } from 'vue'\n\nimport { useMethods } from '../../composables/methods'\nimport { useChildren } from '../../composables/computed'\n\nconst props = defineProps({\n node: {\n type: undefined,\n default: null,\n },\n componentName: {\n type: String,\n },\n properties: {\n type: Object,\n },\n})\n\nconst { node } = toRefs(props)\nconst { dataObject } = useMethods()\nconst attrs = ref({})\n\nconst { children } = useChildren(node)\n\nattrs.value = dataObject(node.value, ['admonition', 'note']).attrs\n</script>\n"],"names":["props","__props","node","toRefs","dataObject","useMethods","attrs","ref","children","useChildren","_openBlock","_createElementBlock","_cache","_createElementVNode","_Fragment","_renderList","_unref","c","index","_createBlock","_resolveDynamicComponent"],"mappings":";;;;;;;;;;;;;;;;;;AAoBA,UAAMA,IAAQC,GAaR,EAAE,MAAAC,EAAI,IAAKC,EAAOH,CAAK,GACvB,EAAE,YAAAI,EAAU,IAAKC,EAAU,GAC3BC,IAAQC,EAAI,CAAA,CAAE,GAEd,EAAE,UAAAC,EAAQ,IAAKC,EAAYP,CAAI;AAErC,WAAAI,EAAM,QAAQF,EAAWF,EAAK,OAAO,CAAC,cAAc,MAAM,CAAC,EAAE,kBAtC3DQ,EAAA,GAAAC,EAUM,WAVEL,EAAA,KAAK,CAAA,GAAA;AAAA,MACXM,EAAA,CAAA,MAAAA,EAAA,CAAA,IAAAC,EAAoC,KAAA,EAAjC,OAAM,mBAAkB,GAAC,QAAI,EAAA;AAAA,OAChCH,EAAA,EAAA,GAAAC,EAOEG,GAAA,MAAAC,EANqBC,EAAAR,CAAA,GAAQ,CAArBS,GAAGC,YADbC,EAOEC,EAJKH,EAAE,SAAS,GAAA;AAAA,QADf,yBAAyBC;AAAA,QAEzB,MAAMD,EAAE;AAAA,QACR,eAAeA,EAAE;AAAA,QACjB,YAAYA,EAAE;AAAA;;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ref as d, toRefs as _, onMounted as h, computed as v, resolveComponent as k,
|
|
1
|
+
import { ref as d, toRefs as _, onMounted as h, computed as v, resolveComponent as k, createBlock as g, createElementBlock as b, unref as o, openBlock as a, withCtx as R, createTextVNode as y, toDisplayString as c } from "vue";
|
|
2
2
|
import { useRoute as C } from "vue-router";
|
|
3
|
-
import { u as x } from "./methods-
|
|
4
|
-
import { u as A } from "./basereference-
|
|
3
|
+
import { u as x } from "./methods-ClbyDlbW.mjs";
|
|
4
|
+
import { u as A } from "./basereference-7wajqzV8.mjs";
|
|
5
5
|
const B = ["href"], L = {
|
|
6
6
|
__name: "NumberReference",
|
|
7
7
|
props: {
|
|
@@ -30,11 +30,11 @@ const B = ["href"], L = {
|
|
|
30
30
|
key: 0,
|
|
31
31
|
to: n.value
|
|
32
32
|
}, {
|
|
33
|
-
default:
|
|
34
|
-
|
|
33
|
+
default: R(() => [
|
|
34
|
+
y(c(u.value), 1)
|
|
35
35
|
]),
|
|
36
36
|
_: 1
|
|
37
|
-
}, 8, ["to"])) : (a(),
|
|
37
|
+
}, 8, ["to"])) : (a(), b("a", {
|
|
38
38
|
key: 1,
|
|
39
39
|
href: o(e).getAttribute("refuri"),
|
|
40
40
|
target: "_blank"
|
|
@@ -45,4 +45,4 @@ const B = ["href"], L = {
|
|
|
45
45
|
export {
|
|
46
46
|
L as default
|
|
47
47
|
};
|
|
48
|
-
//# sourceMappingURL=NumberReference-
|
|
48
|
+
//# sourceMappingURL=NumberReference-eWL-p05o.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NumberReference-
|
|
1
|
+
{"version":3,"file":"NumberReference-eWL-p05o.mjs","sources":["../src/components/templates/NumberReference.vue"],"sourcesContent":["<template>\n <router-link v-if=\"isInternalReference(node)\" :to=\"routeDescription\">\n {{ title }}\n </router-link>\n <a v-else :href=\"node.getAttribute('refuri')\" target=\"_blank\">\n {{ title }}\n </a>\n</template>\n\n<script setup>\nimport { computed, onMounted, toRefs, ref } from 'vue'\nimport { useRoute } from 'vue-router'\n\nimport { useMethods } from '../../composables/methods'\nimport { useBaseReference } from '../../composables/basereference'\n\nconst props = defineProps({\n node: {\n type: undefined,\n default: null,\n },\n componentName: {\n type: String,\n },\n})\n\nconst routeDescription = ref({path: '', hash: ''})\nconst { node } = toRefs(props)\nconst route = useRoute()\n\nconst { isInternalReference } = useMethods()\nconst { onReferenceCreated } = useBaseReference(node.value, route, routeDescription)\n\nonMounted(onReferenceCreated)\n\nconst title = computed(() => {\n if (node.value.childElementCount) {\n // A number reference has a single child element that\n // contains the label for the referenced element.\n // This is what we are assuming: <inline classes=\"std std-numref\">Fig. 3</inline>\n return node.value.children[0].innerHTML\n }\n\n let refLabel = node.value.getAttribute('refid')\n if (!refLabel) {\n refLabel = node.value.getAttribute('refuri')\n }\n const t = refLabel.replace('-', ' ')\n return 'Fig. ' + t.charAt(0).toUpperCase() + t.slice(1)\n})\n</script>\n"],"names":["props","__props","routeDescription","ref","node","toRefs","route","useRoute","isInternalReference","useMethods","onReferenceCreated","useBaseReference","onMounted","title","computed","refLabel","t","_unref","_createBlock","_component_router_link","_createElementBlock","_hoisted_1"],"mappings":";;;;;;;;;;;;;;;;AAgBA,UAAMA,IAAQC,GAURC,IAAmBC,EAAI,EAAC,MAAM,IAAI,MAAM,GAAE,CAAC,GAC3C,EAAE,MAAAC,EAAI,IAAKC,EAAOL,CAAK,GACvBM,IAAQC,EAAQ,GAEhB,EAAE,qBAAAC,EAAmB,IAAKC,EAAU,GACpC,EAAE,oBAAAC,EAAkB,IAAKC,EAAiBP,EAAK,OAAOE,GAAOJ,CAAgB;AAEnF,IAAAU,EAAUF,CAAkB;AAE5B,UAAMG,IAAQC,EAAS,MAAM;AAC3B,UAAIV,EAAK,MAAM;AAIb,eAAOA,EAAK,MAAM,SAAS,CAAC,EAAE;AAGhC,UAAIW,IAAWX,EAAK,MAAM,aAAa,OAAO;AAC9C,MAAKW,MACHA,IAAWX,EAAK,MAAM,aAAa,QAAQ;AAE7C,YAAMY,IAAID,EAAS,QAAQ,KAAK,GAAG;AACnC,aAAO,UAAUC,EAAE,OAAO,CAAC,EAAE,YAAW,IAAKA,EAAE,MAAM,CAAC;AAAA,IACxD,CAAC;;;AAhDoB,aAAAC,EAAAT,CAAA,EAAoBS,EAAAb,CAAA,CAAI,UAA3Cc,EAEcC,GAAA;AAAA;QAFiC,IAAIjB,EAAA;AAAA;mBACjD,MAAW;AAAA,cAARW,EAAA,KAAK,GAAA,CAAA;AAAA;;6BAEVO,EAEI,KAAA;AAAA;QAFO,MAAMH,EAAAb,CAAA,EAAK,aAAY,QAAA;AAAA,QAAY,QAAO;AAAA,WAChDS,EAAA,KAAK,GAAA,GAAAQ,CAAA;AAAA;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { toRefs as i, ref as p, resolveComponent as l,
|
|
2
|
-
import { u as h } from "./methods-
|
|
1
|
+
import { toRefs as i, ref as p, resolveComponent as l, createBlock as u, openBlock as d, withCtx as m, createElementVNode as _, unref as e, toDisplayString as f } from "vue";
|
|
2
|
+
import { u as h } from "./methods-ClbyDlbW.mjs";
|
|
3
3
|
const x = ["id"], g = {
|
|
4
4
|
__name: "Problematic",
|
|
5
5
|
props: {
|
|
@@ -18,7 +18,7 @@ const x = ["id"], g = {
|
|
|
18
18
|
const n = o, { node: t } = i(n), r = p({ hash: "#" + t.value.getAttribute("refid") }), { extractId: s } = h(), { id: c } = s(t.value);
|
|
19
19
|
return (b, k) => {
|
|
20
20
|
const a = l("router-link");
|
|
21
|
-
return
|
|
21
|
+
return d(), u(a, { to: r.value }, {
|
|
22
22
|
default: m(() => [
|
|
23
23
|
_("span", {
|
|
24
24
|
class: "problematic",
|
|
@@ -33,4 +33,4 @@ const x = ["id"], g = {
|
|
|
33
33
|
export {
|
|
34
34
|
g as default
|
|
35
35
|
};
|
|
36
|
-
//# sourceMappingURL=Problematic-
|
|
36
|
+
//# sourceMappingURL=Problematic-DdYGUPom.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Problematic-
|
|
1
|
+
{"version":3,"file":"Problematic-DdYGUPom.mjs","sources":["../src/components/templates/Problematic.vue"],"sourcesContent":["<template>\n <router-link :to=\"routeDescription\">\n <span class=\"problematic\" :id=\"id\">{{\n node.textContent\n }}</span></router-link\n >\n</template>\n\n<script setup>\nimport { toRefs, ref } from 'vue'\n\nimport { useMethods } from '../../composables/methods'\n\nconst props = defineProps({\n node: {\n type: undefined,\n default: null,\n },\n componentName: {\n type: String,\n },\n properties: {\n type: Object,\n }\n})\n\nconst { node } = toRefs(props)\nconst routeDescription = ref({hash: '#' + node.value.getAttribute('refid')})\n\nconst { extractId } = useMethods()\nconst { id } = extractId(node.value)\n\n</script>\n"],"names":["props","__props","node","toRefs","routeDescription","ref","extractId","useMethods","id","_createBlock","_component_router_link","_createElementVNode","_unref","_toDisplayString","_hoisted_1"],"mappings":";;;;;;;;;;;;;;;;;AAaA,UAAMA,IAAQC,GAaR,EAAE,MAAAC,EAAI,IAAKC,EAAOH,CAAK,GACvBI,IAAmBC,EAAI,EAAC,MAAM,MAAMH,EAAK,MAAM,aAAa,OAAO,EAAC,CAAC,GAErE,EAAE,WAAAI,EAAS,IAAKC,EAAU,GAC1B,EAAE,IAAAC,EAAE,IAAKF,EAAUJ,EAAK,KAAK;;;kBA7BjCO,EAICC,GAAA,EAJa,IAAIN,EAAA,SAAgB;AAAA,mBAChC,MAES;AAAA,UAFTO,EAES,QAAA;AAAA,YAFH,OAAM;AAAA,YAAe,IAAIC,EAAAJ,CAAA;AAAA,UAC7B,GAAAK,EAAAD,EAAAV,CAAA,EAAK,WAAW,GAAA,GAAAY,CAAA;AAAA;;;;;;"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ref as _, toRefs as h, onMounted as k, resolveComponent as y,
|
|
1
|
+
import { ref as _, toRefs as h, onMounted as k, resolveComponent as y, createBlock as s, createElementBlock as a, unref as t, openBlock as n, withCtx as C, createTextVNode as R, toDisplayString as g, Fragment as x, renderList as v, resolveDynamicComponent as B } from "vue";
|
|
2
2
|
import { useRoute as N } from "vue-router";
|
|
3
|
-
import { a as b } from "./
|
|
4
|
-
import { u as D } from "./methods-
|
|
5
|
-
import { u as M } from "./basereference-
|
|
3
|
+
import { a as b } from "./Document-PZAyvjWh.mjs";
|
|
4
|
+
import { u as D } from "./methods-ClbyDlbW.mjs";
|
|
5
|
+
import { u as M } from "./basereference-7wajqzV8.mjs";
|
|
6
6
|
const S = ["href"], V = {
|
|
7
7
|
__name: "Reference",
|
|
8
8
|
props: {
|
|
@@ -50,4 +50,4 @@ const S = ["href"], V = {
|
|
|
50
50
|
export {
|
|
51
51
|
V as default
|
|
52
52
|
};
|
|
53
|
-
//# sourceMappingURL=Reference-
|
|
53
|
+
//# sourceMappingURL=Reference-NuJMaVmj.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Reference-
|
|
1
|
+
{"version":3,"file":"Reference-NuJMaVmj.mjs","sources":["../src/components/templates/Reference.vue"],"sourcesContent":["<template>\n <router-link v-if=\"isInternalReference(node)\" :to=\"routeDescription\">\n {{ node.textContent }}\n </router-link>\n <a v-else :href=\"node.getAttribute('refuri')\" target=\"_blank\">\n <component\n v-for=\"(c, index) in children\"\n :key=\"'sub_link_' + index\"\n :is=\"c.component\"\n :node=\"c.node\"\n :componentName=\"c.name\"\n :properties=\"c.properties\"\n />\n </a>\n</template>\n\n<script setup>\nimport { onMounted, toRefs, ref } from 'vue'\nimport { useRoute } from 'vue-router'\n\nimport { useChildren } from '../../composables/computed'\nimport { useMethods } from '../../composables/methods'\nimport { useBaseReference } from '../../composables/basereference'\n\nconst props = defineProps({\n node: {\n type: undefined,\n default: null,\n },\n componentName: {\n type: String,\n },\n})\n\nconst routeDescription = ref({ path: '', hash: '' })\nconst { node } = toRefs(props)\nconst route = useRoute()\n\nconst { isInternalReference } = useMethods()\nconst { onReferenceCreated } = useBaseReference(\n node.value,\n route,\n routeDescription,\n)\n\nonMounted(onReferenceCreated)\nconst { children } = useChildren(node)\n</script>\n"],"names":["props","__props","routeDescription","ref","node","toRefs","route","useRoute","isInternalReference","useMethods","onReferenceCreated","useBaseReference","onMounted","children","useChildren","_unref","_createBlock","_component_router_link","_createTextVNode","_toDisplayString","_createElementBlock","_openBlock","_Fragment","_renderList","c","index","_resolveDynamicComponent"],"mappings":";;;;;;;;;;;;;;;;;AAwBA,UAAMA,IAAQC,GAURC,IAAmBC,EAAI,EAAE,MAAM,IAAI,MAAM,GAAE,CAAE,GAC7C,EAAE,MAAAC,EAAI,IAAKC,EAAOL,CAAK,GACvBM,IAAQC,EAAQ,GAEhB,EAAE,qBAAAC,EAAmB,IAAKC,EAAU,GACpC,EAAE,oBAAAC,EAAkB,IAAKC;AAAA,MAC7BP,EAAK;AAAA,MACLE;AAAA,MACAJ;AAAA,IACF;AAEA,IAAAU,EAAUF,CAAkB;AAC5B,UAAM,EAAE,UAAAG,EAAQ,IAAKC,EAAYV,CAAI;;;AA7ChB,aAAAW,EAAAP,CAAA,EAAoBO,EAAAX,CAAA,CAAI,UAA3CY,EAEcC,GAAA;AAAA;QAFiC,IAAIf,EAAA;AAAA;mBACjD,MAAsB;AAAA,UAAnBgB,EAAAC,EAAAJ,EAAAX,CAAA,EAAK,WAAW,GAAA,CAAA;AAAA;;6BAErBgB,EASI,KAAA;AAAA;QATO,MAAML,EAAAX,CAAA,EAAK,aAAY,QAAA;AAAA,QAAY,QAAO;AAAA;SACnDiB,EAAA,EAAA,GAAAD,EAOEE,GAAA,MAAAC,EANqBR,EAAAF,CAAA,GAAQ,CAArBW,GAAGC,YADbT,EAOEU,EAJKF,EAAE,SAAS,GAAA;AAAA,UADf,mBAAmBC;AAAA,UAEnB,MAAMD,EAAE;AAAA,UACR,eAAeA,EAAE;AAAA,UACjB,YAAYA,EAAE;AAAA;;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { toRefs as f,
|
|
2
|
-
import { u as k } from "./methods-
|
|
3
|
-
import { a as x } from "./
|
|
1
|
+
import { toRefs as f, createElementBlock as t, openBlock as n, unref as s, Fragment as c, renderList as a, createBlock as h, resolveDynamicComponent as y } from "vue";
|
|
2
|
+
import { u as k } from "./methods-ClbyDlbW.mjs";
|
|
3
|
+
import { a as x } from "./Document-PZAyvjWh.mjs";
|
|
4
4
|
const v = ["id"], B = ["id"], b = {
|
|
5
5
|
__name: "Section",
|
|
6
6
|
props: {
|
|
@@ -34,4 +34,4 @@ const v = ["id"], B = ["id"], b = {
|
|
|
34
34
|
export {
|
|
35
35
|
b as default
|
|
36
36
|
};
|
|
37
|
-
//# sourceMappingURL=Section-
|
|
37
|
+
//# sourceMappingURL=Section-CsKQgVcF.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Section-
|
|
1
|
+
{"version":3,"file":"Section-CsKQgVcF.mjs","sources":["../src/components/templates/Section.vue"],"sourcesContent":["<template>\n <section :id=\"id\">\n <span v-for=\"(s, index) in extraIds\" :key=\"'id_span_' + index\" :id=\"s\" />\n <component\n v-for=\"(c, index) in children\"\n :key=\"'section_component_' + index\"\n :is=\"c.component\"\n :node=\"c.node\"\n :componentName=\"c.name\"\n :properties=\"c.properties\"\n />\n </section>\n</template>\n\n<script setup>\nimport { toRefs } from 'vue'\n\nimport { useMethods } from '../../composables/methods'\nimport { useChildren } from '../../composables/computed'\n\nconst props = defineProps({\n node: {\n type: undefined,\n default: null,\n },\n componentName: {\n type: String,\n },\n properties: {\n type: Object,\n }\n})\n\nconst { node } = toRefs(props)\n\nconst { extractId, separateIds } = useMethods()\nconst { id } = extractId(node.value)\nconst { extraIds } = separateIds(node.value, id)\n\nconst { children } = useChildren(node)\n</script>\n"],"names":["props","__props","node","toRefs","extractId","separateIds","useMethods","id","extraIds","children","useChildren","_createElementBlock","_unref","_openBlock","_Fragment","_renderList","s","index","c","_createBlock","_resolveDynamicComponent"],"mappings":";;;;;;;;;;;;;;;;;;AAoBA,UAAMA,IAAQC,GAaR,EAAE,MAAAC,EAAI,IAAKC,EAAOH,CAAK,GAEvB,EAAE,WAAAI,GAAW,aAAAC,EAAW,IAAKC,EAAU,GACvC,EAAE,IAAAC,EAAE,IAAKH,EAAUF,EAAK,KAAK,GAC7B,EAAE,UAAAM,EAAQ,IAAKH,EAAYH,EAAK,OAAOK,CAAE,GAEzC,EAAE,UAAAE,EAAQ,IAAKC,EAAYR,CAAI;2BAtCnCS,EAUU,WAAA,EAVA,IAAIC,EAAAL,CAAA,KAAE;AAAA,OACdM,EAAA,EAAA,GAAAF,EAAyEG,GAAA,MAAAC,EAA9CH,EAAAJ,CAAA,GAAQ,CAArBQ,GAAGC,YAAjBN,EAAyE,QAAA;AAAA,QAAnC,kBAAkBM;AAAA,QAAQ,IAAID;AAAA;OACpEH,EAAA,EAAA,GAAAF,EAOEG,GAAA,MAAAC,EANqBH,EAAAH,CAAA,GAAQ,CAArBS,GAAGD,YADbE,EAOEC,EAJKF,EAAE,SAAS,GAAA;AAAA,QADf,4BAA4BD;AAAA,QAE5B,MAAMC,EAAE;AAAA,QACR,eAAeA,EAAE;AAAA,QACjB,YAAYA,EAAE;AAAA;;;;"}
|