vue3-sphinx-xml 0.6.0 → 0.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/dist/{Admonition-gd-uJLmV.mjs → Admonition-C1LWpeza.mjs} +3 -3
  2. package/dist/{Admonition-gd-uJLmV.mjs.map → Admonition-C1LWpeza.mjs.map} +1 -1
  3. package/dist/{BlockQuote-Cx9XdFGZ.mjs → BlockQuote-DQGmutzn.mjs} +2 -2
  4. package/dist/{BlockQuote-Cx9XdFGZ.mjs.map → BlockQuote-DQGmutzn.mjs.map} +1 -1
  5. package/dist/{CaptionNumber-B3c0JP0T.mjs → CaptionNumber-CqeASt_i.mjs} +3 -3
  6. package/dist/{CaptionNumber-B3c0JP0T.mjs.map → CaptionNumber-CqeASt_i.mjs.map} +1 -1
  7. package/dist/{Compound-ByH1w0P6.mjs → Compound-BvroDjHX.mjs} +2 -2
  8. package/dist/{Compound-ByH1w0P6.mjs.map → Compound-BvroDjHX.mjs.map} +1 -1
  9. package/dist/{Container-CmVmxWIt.mjs → Container-BTZf-b6P.mjs} +3 -3
  10. package/dist/{Container-CmVmxWIt.mjs.map → Container-BTZf-b6P.mjs.map} +1 -1
  11. package/dist/{Document-PZAyvjWh.mjs → Document-Ciwh11I6.mjs} +3 -3
  12. package/dist/{Document-PZAyvjWh.mjs.map → Document-Ciwh11I6.mjs.map} +1 -1
  13. package/dist/{DownloadReference-CtG3pZe0.mjs → DownloadReference-BKyZDsoj.mjs} +2 -2
  14. package/dist/{DownloadReference-CtG3pZe0.mjs.map → DownloadReference-BKyZDsoj.mjs.map} +1 -1
  15. package/dist/{Figure-BV3wzLZX.mjs → Figure-fjT2FOsJ.mjs} +3 -3
  16. package/dist/{Figure-BV3wzLZX.mjs.map → Figure-fjT2FOsJ.mjs.map} +1 -1
  17. package/dist/{FigureCaption-DPm7W0CJ.mjs → FigureCaption-CyYfEcCd.mjs} +3 -3
  18. package/dist/{FigureCaption-DPm7W0CJ.mjs.map → FigureCaption-CyYfEcCd.mjs.map} +1 -1
  19. package/dist/{Footnote-DAEfbxUi.mjs → Footnote-DVcKM62Z.mjs} +3 -3
  20. package/dist/{Footnote-DAEfbxUi.mjs.map → Footnote-DVcKM62Z.mjs.map} +1 -1
  21. package/dist/{FootnoteReference-Bi6FG4qF.mjs → FootnoteReference-CevmkftO.mjs} +3 -3
  22. package/dist/{FootnoteReference-Bi6FG4qF.mjs.map → FootnoteReference-CevmkftO.mjs.map} +1 -1
  23. package/dist/{Image-UjDGAe4v.mjs → Image-BkvoN6Va.mjs} +4 -4
  24. package/dist/{Image-UjDGAe4v.mjs.map → Image-BkvoN6Va.mjs.map} +1 -1
  25. package/dist/{Legend-BL0KvT6x.mjs → Legend-zR_qvYxu.mjs} +2 -2
  26. package/dist/{Legend-BL0KvT6x.mjs.map → Legend-zR_qvYxu.mjs.map} +1 -1
  27. package/dist/{LineBlock-yNMN4PnM.mjs → LineBlock-DRrGaTVf.mjs} +3 -3
  28. package/dist/{LineBlock-yNMN4PnM.mjs.map → LineBlock-DRrGaTVf.mjs.map} +1 -1
  29. package/dist/{LineSingle-D8mP9JxV.mjs → LineSingle-0djhboXu.mjs} +3 -3
  30. package/dist/{LineSingle-D8mP9JxV.mjs.map → LineSingle-0djhboXu.mjs.map} +1 -1
  31. package/dist/{Literal-B3RMToDf.mjs → Literal-B_0bDO6F.mjs} +3 -3
  32. package/dist/{Literal-B3RMToDf.mjs.map → Literal-B_0bDO6F.mjs.map} +1 -1
  33. package/dist/{LiteralBlock-DSNLfJRQ.mjs → LiteralBlock-BLa6tk4x.mjs} +2 -2
  34. package/dist/{LiteralBlock-DSNLfJRQ.mjs.map → LiteralBlock-BLa6tk4x.mjs.map} +1 -1
  35. package/dist/{Note-DTXT2vL1.mjs → Note-DfIeqrXb.mjs} +3 -3
  36. package/dist/{Note-DTXT2vL1.mjs.map → Note-DfIeqrXb.mjs.map} +1 -1
  37. package/dist/{NumberReference-eWL-p05o.mjs → NumberReference-Bzq9ZOkm.mjs} +3 -3
  38. package/dist/{NumberReference-eWL-p05o.mjs.map → NumberReference-Bzq9ZOkm.mjs.map} +1 -1
  39. package/dist/{Problematic-DdYGUPom.mjs → Problematic-C_GOe5g8.mjs} +2 -2
  40. package/dist/{Problematic-DdYGUPom.mjs.map → Problematic-C_GOe5g8.mjs.map} +1 -1
  41. package/dist/{Reference-NuJMaVmj.mjs → Reference-C3p4_jzs.mjs} +4 -4
  42. package/dist/{Reference-NuJMaVmj.mjs.map → Reference-C3p4_jzs.mjs.map} +1 -1
  43. package/dist/{Section-CsKQgVcF.mjs → Section-C1fT1LoO.mjs} +3 -3
  44. package/dist/{Section-CsKQgVcF.mjs.map → Section-C1fT1LoO.mjs.map} +1 -1
  45. package/dist/{StandardElement-Cf1EpLze.mjs → StandardElement-DObLRysY.mjs} +3 -3
  46. package/dist/{StandardElement-Cf1EpLze.mjs.map → StandardElement-DObLRysY.mjs.map} +1 -1
  47. package/dist/{Title-DoIeD6eK.mjs → Title-BXKmKZJr.mjs} +2 -2
  48. package/dist/{Title-DoIeD6eK.mjs.map → Title-BXKmKZJr.mjs.map} +1 -1
  49. package/dist/{TodoNode-C6L-iGX4.mjs → TodoNode-BubW_p1P.mjs} +3 -3
  50. package/dist/{TodoNode-C6L-iGX4.mjs.map → TodoNode-BubW_p1P.mjs.map} +1 -1
  51. package/dist/{Topic-BrgzQGpm.mjs → Topic-Cw8NozpE.mjs} +3 -3
  52. package/dist/{Topic-BrgzQGpm.mjs.map → Topic-Cw8NozpE.mjs.map} +1 -1
  53. package/dist/{Warning-dcxt8LRd.mjs → Warning-B2aBs-ON.mjs} +3 -3
  54. package/dist/{Warning-dcxt8LRd.mjs.map → Warning-B2aBs-ON.mjs.map} +1 -1
  55. package/dist/{basereference-7wajqzV8.mjs → basereference-B1sG1P00.mjs} +3 -3
  56. package/dist/{basereference-7wajqzV8.mjs.map → basereference-B1sG1P00.mjs.map} +1 -1
  57. package/dist/{entry-CNV5B73A.mjs → entry-NtWSzZvs.mjs} +2 -2
  58. package/dist/{entry-CNV5B73A.mjs.map → entry-NtWSzZvs.mjs.map} +1 -1
  59. package/dist/methods-DhzaI6N4.mjs +72 -0
  60. package/dist/methods-DhzaI6N4.mjs.map +1 -0
  61. package/dist/vue3-sphinx-xml.js +4 -4
  62. package/dist/vue3-sphinx-xml.js.map +1 -1
  63. package/dist/vue3-sphinx-xml.mjs +1 -1
  64. package/package.json +1 -1
  65. package/dist/methods-ClbyDlbW.mjs +0 -69
  66. package/dist/methods-ClbyDlbW.mjs.map +0 -1
@@ -1,6 +1,6 @@
1
1
  import { toRefs as v, ref as h, computed as y, createElementBlock as r, openBlock as o, mergeProps as k, unref as a, Fragment as C, renderList as b, createBlock as g, resolveDynamicComponent as j } from "vue";
2
- import { u as x } from "./methods-ClbyDlbW.mjs";
3
- import { u as B, a as N } from "./Document-PZAyvjWh.mjs";
2
+ import { u as x } from "./methods-DhzaI6N4.mjs";
3
+ import { u as B, a as N } from "./Document-Ciwh11I6.mjs";
4
4
  const O = ["id"], L = {
5
5
  __name: "Admonition",
6
6
  props: {
@@ -33,4 +33,4 @@ const O = ["id"], L = {
33
33
  export {
34
34
  L as default
35
35
  };
36
- //# sourceMappingURL=Admonition-gd-uJLmV.mjs.map
36
+ //# sourceMappingURL=Admonition-C1LWpeza.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Admonition-gd-uJLmV.mjs","sources":["../src/components/templates/Admonition.vue"],"sourcesContent":["<template>\n <div :id=\"id\" :=\"attrs\">\n <component\n v-for=\"(c, index) in children\"\n :key=\"'admonition_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 { computed, toRefs, ref } from 'vue'\n\nimport { useMethods } from '../../composables/methods'\nimport { useChildren, useClasses } 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 attrs = ref({})\n\nconst { dataObject, extractId } = useMethods()\nconst { classes } = useClasses(node)\n\nconst { id } = extractId(node.value)\n\nconst { children } = useChildren(node)\n\nconst combinedClasses = computed(() => {\n return ['admonition', ...classes.value]\n})\n\nconst result = dataObject(node.value, combinedClasses.value)\n\nattrs.value = {\n ...result.attrs,\n class: result.class.join(' '),\n}\n</script>\n"],"names":["props","__props","node","toRefs","attrs","ref","dataObject","extractId","useMethods","classes","useClasses","id","children","useChildren","combinedClasses","computed","result","_openBlock","_createElementBlock","_mergeProps","_unref","_Fragment","_renderList","c","index","_createBlock","_resolveDynamicComponent"],"mappings":";;;;;;;;;;;;;;;;;;AAmBA,UAAMA,IAAQC,GAaR,EAAE,MAAAC,EAAI,IAAKC,EAAOH,CAAK,GACvBI,IAAQC,EAAI,CAAA,CAAE,GAEd,EAAE,YAAAC,GAAY,WAAAC,EAAS,IAAKC,EAAU,GACtC,EAAE,SAAAC,EAAO,IAAKC,EAAWR,CAAI,GAE7B,EAAE,IAAAS,EAAE,IAAKJ,EAAUL,EAAK,KAAK,GAE7B,EAAE,UAAAU,EAAQ,IAAKC,EAAYX,CAAI,GAE/BY,IAAkBC,EAAS,MACxB,CAAC,cAAc,GAAGN,EAAQ,KAAK,CACvC,GAEKO,IAASV,EAAWJ,EAAK,OAAOY,EAAgB,KAAK;AAE3D,WAAAV,EAAM,QAAQ;AAAA,MACZ,GAAGY,EAAO;AAAA,MACV,OAAOA,EAAO,MAAM,KAAK,GAAG;AAAA,IAC9B,cAlDEC,EAAA,GAAAC,EASM,OATNC,EASM,EATA,IAAIC,EAAAT,CAAA,EAAE,GAAKP,EAAA,KAAK,GAAA;AAAA,OACpBa,EAAA,EAAA,GAAAC,EAOEG,GAAA,MAAAC,EANqBF,EAAAR,CAAA,GAAQ,CAArBW,GAAGC,YADbC,EAOEC,EAJKH,EAAE,SAAS,GAAA;AAAA,QADf,+BAA+BC;AAAA,QAE/B,MAAMD,EAAE;AAAA,QACR,eAAeA,EAAE;AAAA,QACjB,YAAYA,EAAE;AAAA;;;;"}
1
+ {"version":3,"file":"Admonition-C1LWpeza.mjs","sources":["../src/components/templates/Admonition.vue"],"sourcesContent":["<template>\n <div :id=\"id\" :=\"attrs\">\n <component\n v-for=\"(c, index) in children\"\n :key=\"'admonition_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 { computed, toRefs, ref } from 'vue'\n\nimport { useMethods } from '../../composables/methods'\nimport { useChildren, useClasses } 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 attrs = ref({})\n\nconst { dataObject, extractId } = useMethods()\nconst { classes } = useClasses(node)\n\nconst { id } = extractId(node.value)\n\nconst { children } = useChildren(node)\n\nconst combinedClasses = computed(() => {\n return ['admonition', ...classes.value]\n})\n\nconst result = dataObject(node.value, combinedClasses.value)\n\nattrs.value = {\n ...result.attrs,\n class: result.class.join(' '),\n}\n</script>\n"],"names":["props","__props","node","toRefs","attrs","ref","dataObject","extractId","useMethods","classes","useClasses","id","children","useChildren","combinedClasses","computed","result","_openBlock","_createElementBlock","_mergeProps","_unref","_Fragment","_renderList","c","index","_createBlock","_resolveDynamicComponent"],"mappings":";;;;;;;;;;;;;;;;;;AAmBA,UAAMA,IAAQC,GAaR,EAAE,MAAAC,EAAI,IAAKC,EAAOH,CAAK,GACvBI,IAAQC,EAAI,CAAA,CAAE,GAEd,EAAE,YAAAC,GAAY,WAAAC,EAAS,IAAKC,EAAU,GACtC,EAAE,SAAAC,EAAO,IAAKC,EAAWR,CAAI,GAE7B,EAAE,IAAAS,EAAE,IAAKJ,EAAUL,EAAK,KAAK,GAE7B,EAAE,UAAAU,EAAQ,IAAKC,EAAYX,CAAI,GAE/BY,IAAkBC,EAAS,MACxB,CAAC,cAAc,GAAGN,EAAQ,KAAK,CACvC,GAEKO,IAASV,EAAWJ,EAAK,OAAOY,EAAgB,KAAK;AAE3D,WAAAV,EAAM,QAAQ;AAAA,MACZ,GAAGY,EAAO;AAAA,MACV,OAAOA,EAAO,MAAM,KAAK,GAAG;AAAA,IAC9B,cAlDEC,EAAA,GAAAC,EASM,OATNC,EASM,EATA,IAAIC,EAAAT,CAAA,EAAE,GAAKP,EAAA,KAAK,GAAA;AAAA,OACpBa,EAAA,EAAA,GAAAC,EAOEG,GAAA,MAAAC,EANqBF,EAAAR,CAAA,GAAQ,CAArBW,GAAGC,YADbC,EAOEC,EAJKH,EAAE,SAAS,GAAA;AAAA,QADf,+BAA+BC;AAAA,QAE/B,MAAMD,EAAE;AAAA,QACR,eAAeA,EAAE;AAAA,QACjB,YAAYA,EAAE;AAAA;;;;"}
@@ -1,5 +1,5 @@
1
1
  import { toRefs as m, createElementBlock as n, openBlock as o, createElementVNode as s, Fragment as u, renderList as a, unref as d, createBlock as i, resolveDynamicComponent as f } from "vue";
2
- import { a as _ } from "./Document-PZAyvjWh.mjs";
2
+ import { a as _ } from "./Document-Ciwh11I6.mjs";
3
3
  const b = {
4
4
  __name: "BlockQuote",
5
5
  props: {
@@ -31,4 +31,4 @@ const b = {
31
31
  export {
32
32
  b as default
33
33
  };
34
- //# sourceMappingURL=BlockQuote-Cx9XdFGZ.mjs.map
34
+ //# sourceMappingURL=BlockQuote-DQGmutzn.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"BlockQuote-Cx9XdFGZ.mjs","sources":["../src/components/templates/BlockQuote.vue"],"sourcesContent":["<template>\n <blockquote>\n <div>\n <component\n v-for=\"(c, index) in children\"\n :key=\"'blockquote_component_' + index\"\n :is=\"c.component\"\n :node=\"c.node\"\n :componentName=\"c.name\"\n :properties=\"c.properties\"\n />\n </div>\n </blockquote>\n</template>\n\n<script setup>\nimport { toRefs } from 'vue'\n\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 { children } = useChildren(node)\n</script>\n"],"names":["props","__props","node","toRefs","children","useChildren","_createElementBlock","_createElementVNode","_openBlock","_Fragment","_renderList","_unref","c","index","_createBlock","_resolveDynamicComponent"],"mappings":";;;;;;;;;;;;;;;;;AAoBA,UAAMA,IAAQC,GAaR,EAAE,MAAAC,EAAI,IAAKC,EAAOH,CAAK,GAEvB,EAAE,UAAAI,EAAQ,IAAKC,EAAYH,CAAI;2BAlCnCI,EAWa,cAAA,MAAA;AAAA,MAVXC,EASM,OAAA,MAAA;AAAA,SARJC,EAAA,EAAA,GAAAF,EAOEG,GAAA,MAAAC,EANqBC,EAAAP,CAAA,GAAQ,CAArBQ,GAAGC,YADbC,EAOEC,EAJKH,EAAE,SAAS,GAAA;AAAA,UADf,+BAA+BC;AAAA,UAE/B,MAAMD,EAAE;AAAA,UACR,eAAeA,EAAE;AAAA,UACjB,YAAYA,EAAE;AAAA;;;;;"}
1
+ {"version":3,"file":"BlockQuote-DQGmutzn.mjs","sources":["../src/components/templates/BlockQuote.vue"],"sourcesContent":["<template>\n <blockquote>\n <div>\n <component\n v-for=\"(c, index) in children\"\n :key=\"'blockquote_component_' + index\"\n :is=\"c.component\"\n :node=\"c.node\"\n :componentName=\"c.name\"\n :properties=\"c.properties\"\n />\n </div>\n </blockquote>\n</template>\n\n<script setup>\nimport { toRefs } from 'vue'\n\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 { children } = useChildren(node)\n</script>\n"],"names":["props","__props","node","toRefs","children","useChildren","_createElementBlock","_createElementVNode","_openBlock","_Fragment","_renderList","_unref","c","index","_createBlock","_resolveDynamicComponent"],"mappings":";;;;;;;;;;;;;;;;;AAoBA,UAAMA,IAAQC,GAaR,EAAE,MAAAC,EAAI,IAAKC,EAAOH,CAAK,GAEvB,EAAE,UAAAI,EAAQ,IAAKC,EAAYH,CAAI;2BAlCnCI,EAWa,cAAA,MAAA;AAAA,MAVXC,EASM,OAAA,MAAA;AAAA,SARJC,EAAA,EAAA,GAAAF,EAOEG,GAAA,MAAAC,EANqBC,EAAAP,CAAA,GAAQ,CAArBQ,GAAGC,YADbC,EAOEC,EAJKH,EAAE,SAAS,GAAA;AAAA,UADf,+BAA+BC;AAAA,UAE/B,MAAMD,EAAE;AAAA,UACR,eAAeA,EAAE;AAAA,UACjB,YAAYA,EAAE;AAAA;;;;;"}
@@ -1,6 +1,6 @@
1
1
  import { toRefs as d, ref as f, computed as _, createElementBlock as s, openBlock as n, normalizeProps as v, guardReactiveProps as b, Fragment as y, renderList as C, unref as h, createBlock as k, resolveDynamicComponent as N } from "vue";
2
- import { u as g, a as j } from "./Document-PZAyvjWh.mjs";
3
- import { u as B } from "./methods-ClbyDlbW.mjs";
2
+ import { u as g, a as j } from "./Document-Ciwh11I6.mjs";
3
+ import { u as B } from "./methods-DhzaI6N4.mjs";
4
4
  const D = {
5
5
  __name: "CaptionNumber",
6
6
  props: {
@@ -33,4 +33,4 @@ const D = {
33
33
  export {
34
34
  D as default
35
35
  };
36
- //# sourceMappingURL=CaptionNumber-B3c0JP0T.mjs.map
36
+ //# sourceMappingURL=CaptionNumber-CqeASt_i.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"CaptionNumber-B3c0JP0T.mjs","sources":["../src/components/templates/CaptionNumber.vue"],"sourcesContent":["<template>\n <span :=\"attrs\">\n <component\n v-for=\"(c, index) in children\"\n :key=\"'caption_number_' + 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 return ['caption-number', ...classes.value]\n})\n\nconst result = dataObject(node.value, combinedClasses.value)\nattrs.value = {\n ...result.attrs,\n class: result.class.join(' '),\n }\n\n</script>\n"],"names":["props","__props","dataObject","useMethods","node","toRefs","attrs","ref","classes","useClasses","children","useChildren","combinedClasses","computed","result","_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,GACd,EAAE,SAAAC,EAAO,IAAKC,EAAWL,CAAI,GAE7B,EAAE,UAAAM,EAAQ,IAAKC,EAAYP,CAAI,GAE/BQ,IAAkBC,EAAS,MACxB,CAAC,kBAAkB,GAAGL,EAAQ,KAAK,CAC3C,GAEKM,IAASZ,EAAWE,EAAK,OAAOQ,EAAgB,KAAK;AAC3D,WAAAN,EAAM,QAAQ;AAAA,MACV,GAAGQ,EAAO;AAAA,MACV,OAAOA,EAAO,MAAM,KAAK,GAAG;AAAA,IAChC,cA9CEC,EAAA,GAAAC,EASO,YATEV,EAAA,KAAK,CAAA,GAAA;AAAA,OACZS,EAAA,EAAA,GAAAC,EAOEC,GAAA,MAAAC,EANqBC,EAAAT,CAAA,GAAQ,CAArBU,GAAGC,YADbC,EAOEC,EAJKH,EAAE,SAAS,GAAA;AAAA,QADf,yBAAyBC;AAAA,QAEzB,MAAMD,EAAE;AAAA,QACR,eAAeA,EAAE;AAAA,QACjB,YAAYA,EAAE;AAAA;;;;"}
1
+ {"version":3,"file":"CaptionNumber-CqeASt_i.mjs","sources":["../src/components/templates/CaptionNumber.vue"],"sourcesContent":["<template>\n <span :=\"attrs\">\n <component\n v-for=\"(c, index) in children\"\n :key=\"'caption_number_' + 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 return ['caption-number', ...classes.value]\n})\n\nconst result = dataObject(node.value, combinedClasses.value)\nattrs.value = {\n ...result.attrs,\n class: result.class.join(' '),\n }\n\n</script>\n"],"names":["props","__props","dataObject","useMethods","node","toRefs","attrs","ref","classes","useClasses","children","useChildren","combinedClasses","computed","result","_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,GACd,EAAE,SAAAC,EAAO,IAAKC,EAAWL,CAAI,GAE7B,EAAE,UAAAM,EAAQ,IAAKC,EAAYP,CAAI,GAE/BQ,IAAkBC,EAAS,MACxB,CAAC,kBAAkB,GAAGL,EAAQ,KAAK,CAC3C,GAEKM,IAASZ,EAAWE,EAAK,OAAOQ,EAAgB,KAAK;AAC3D,WAAAN,EAAM,QAAQ;AAAA,MACV,GAAGQ,EAAO;AAAA,MACV,OAAOA,EAAO,MAAM,KAAK,GAAG;AAAA,IAChC,cA9CEC,EAAA,GAAAC,EASO,YATEV,EAAA,KAAK,CAAA,GAAA;AAAA,OACZS,EAAA,EAAA,GAAAC,EAOEC,GAAA,MAAAC,EANqBC,EAAAT,CAAA,GAAQ,CAArBU,GAAGC,YADbC,EAOEC,EAJKH,EAAE,SAAS,GAAA;AAAA,QADf,yBAAyBC;AAAA,QAEzB,MAAMD,EAAE;AAAA,QACR,eAAeA,EAAE;AAAA,QACjB,YAAYA,EAAE;AAAA;;;;"}
@@ -1,5 +1,5 @@
1
1
  import { toRefs as c, createElementBlock as s, openBlock as n, Fragment as a, renderList as l, unref as u, createBlock as d, resolveDynamicComponent as i } from "vue";
2
- import { a as f } from "./Document-PZAyvjWh.mjs";
2
+ import { a as f } from "./Document-Ciwh11I6.mjs";
3
3
  const B = {
4
4
  __name: "Compound",
5
5
  props: {
@@ -27,4 +27,4 @@ const B = {
27
27
  export {
28
28
  B as default
29
29
  };
30
- //# sourceMappingURL=Compound-ByH1w0P6.mjs.map
30
+ //# sourceMappingURL=Compound-BvroDjHX.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Compound-ByH1w0P6.mjs","sources":["../src/components/templates/Compound.vue"],"sourcesContent":["<template>\n <component\n v-for=\"(c, index) in children\"\n :key=\"'compound_component_' + index\"\n :is=\"c.component\"\n :node=\"c.node\"\n :componentName=\"c.name\"\n :properties=\"c.properties\"\n />\n</template>\n\n<script setup>\nimport { toRefs } from 'vue'\n\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 { children } = useChildren(node)\n</script>\n"],"names":["props","__props","node","toRefs","children","useChildren","_openBlock","_createElementBlock","_Fragment","_renderList","_unref","c","index","_createBlock","_resolveDynamicComponent"],"mappings":";;;;;;;;;;;;;;;;;AAgBA,UAAMA,IAAQC,GAaR,EAAE,MAAAC,EAAI,IAAKC,EAAOH,CAAK,GAEvB,EAAE,UAAAI,EAAQ,IAAKC,EAAYH,CAAI;sBA9BnCI,EAAA,EAAA,GAAAC,EAOEC,GAAA,MAAAC,EANqBC,EAAAN,CAAA,GAAQ,CAArBO,GAAGC,YADbC,EAOEC,EAJKH,EAAE,SAAS,GAAA;AAAA,MADf,6BAA6BC;AAAA,MAE7B,MAAMD,EAAE;AAAA,MACR,eAAeA,EAAE;AAAA,MACjB,YAAYA,EAAE;AAAA;;;"}
1
+ {"version":3,"file":"Compound-BvroDjHX.mjs","sources":["../src/components/templates/Compound.vue"],"sourcesContent":["<template>\n <component\n v-for=\"(c, index) in children\"\n :key=\"'compound_component_' + index\"\n :is=\"c.component\"\n :node=\"c.node\"\n :componentName=\"c.name\"\n :properties=\"c.properties\"\n />\n</template>\n\n<script setup>\nimport { toRefs } from 'vue'\n\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 { children } = useChildren(node)\n</script>\n"],"names":["props","__props","node","toRefs","children","useChildren","_openBlock","_createElementBlock","_Fragment","_renderList","_unref","c","index","_createBlock","_resolveDynamicComponent"],"mappings":";;;;;;;;;;;;;;;;;AAgBA,UAAMA,IAAQC,GAaR,EAAE,MAAAC,EAAI,IAAKC,EAAOH,CAAK,GAEvB,EAAE,UAAAI,EAAQ,IAAKC,EAAYH,CAAI;sBA9BnCI,EAAA,EAAA,GAAAC,EAOEC,GAAA,MAAAC,EANqBC,EAAAN,CAAA,GAAQ,CAArBO,GAAGC,YADbC,EAOEC,EAJKH,EAAE,SAAS,GAAA;AAAA,MADf,6BAA6BC;AAAA,MAE7B,MAAMD,EAAE;AAAA,MACR,eAAeA,EAAE;AAAA,MACjB,YAAYA,EAAE;AAAA;;;"}
@@ -1,6 +1,6 @@
1
1
  import { toRefs as _, ref as a, onMounted as b, createElementBlock as u, openBlock as s, mergeProps as h, toHandlerKey as y, Fragment as k, renderList as x, unref as C, createBlock as E, resolveDynamicComponent as S } from "vue";
2
- import { _ as N, a as B, u as H } from "./Document-PZAyvjWh.mjs";
3
- import { u as A } from "./methods-ClbyDlbW.mjs";
2
+ import { _ as N, a as B, u as H } from "./Document-Ciwh11I6.mjs";
3
+ import { u as A } from "./methods-DhzaI6N4.mjs";
4
4
  const I = {
5
5
  __name: "Container",
6
6
  props: {
@@ -47,4 +47,4 @@ const I = {
47
47
  export {
48
48
  j as default
49
49
  };
50
- //# sourceMappingURL=Container-CmVmxWIt.mjs.map
50
+ //# sourceMappingURL=Container-BTZf-b6P.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Container-CmVmxWIt.mjs","sources":["../src/components/templates/Container.vue"],"sourcesContent":["<template>\n <div\n :class=\"combinedClasses\"\n @[isToggleHeader&&`click`]=\"toggleHeaderClicked\"\n ref=\"containerElement\"\n >\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 { onMounted, ref, toRefs } 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 { node } = toRefs(props)\n\nconst { children } = useChildren(node)\nconst { classes } = useClasses(node)\nconst { toggleActiveClass } = useMethods()\n\nconst combinedClasses = ref([])\nconst isToggleHeader = ref(false)\nconst containerElement = ref(null)\n\ncombinedClasses.value = [...classes.value]\n\nfunction toggleHeaderClicked() {\n toggleActiveClass(combinedClasses.value)\n const index = combinedClasses.value.indexOf('active')\n let blockType = index === -1 ? 'none' : 'block'\n\n let elementSibling = containerElement.value.nextElementSibling\n while (elementSibling !== null) {\n elementSibling.style.display = blockType\n elementSibling = elementSibling.nextElementSibling\n }\n}\n\nonMounted(() => {\n if (\n classes.value.includes('header') ||\n classes.value.includes('header-left')\n ) {\n combinedClasses.value.push('inactive')\n const parent = node.value.parentElement\n if (parent) {\n if (parent.getAttribute('classes').includes('toggle')) {\n isToggleHeader.value = true\n combinedClasses.value.push('toggle-header')\n }\n }\n }\n\n if (classes.value.includes('tab2name')) {\n console.log('***** IN USE tab2name found ??? *****')\n }\n})\n</script>\n\n<style scoped>\n.toggle-header {\n cursor: pointer;\n}\n</style>\n"],"names":["props","__props","node","toRefs","children","useChildren","classes","useClasses","toggleActiveClass","useMethods","combinedClasses","ref","isToggleHeader","containerElement","toggleHeaderClicked","blockType","elementSibling","onMounted","parent","_createElementBlock","_mergeProps","_toHandlerKey","_openBlock","_Fragment","_renderList","_unref","c","index","_createBlock","_resolveDynamicComponent"],"mappings":";;;;;;;;;;;;;;;;;;AAuBA,UAAMA,IAAQC,GAaR,EAAE,MAAAC,EAAI,IAAKC,EAAOH,CAAK,GAEvB,EAAE,UAAAI,EAAQ,IAAKC,EAAYH,CAAI,GAC/B,EAAE,SAAAI,EAAO,IAAKC,EAAWL,CAAI,GAC7B,EAAE,mBAAAM,EAAiB,IAAKC,EAAU,GAElCC,IAAkBC,EAAI,CAAA,CAAE,GACxBC,IAAiBD,EAAI,EAAK,GAC1BE,IAAmBF,EAAI,IAAI;AAEjC,IAAAD,EAAgB,QAAQ,CAAC,GAAGJ,EAAQ,KAAK;AAEzC,aAASQ,IAAsB;AAC7B,MAAAN,EAAkBE,EAAgB,KAAK;AAEvC,UAAIK,IADUL,EAAgB,MAAM,QAAQ,QAAQ,MAC1B,KAAK,SAAS,SAEpCM,IAAiBH,EAAiB,MAAM;AAC5C,aAAOG,MAAmB;AACxB,QAAAA,EAAe,MAAM,UAAUD,GAC/BC,IAAiBA,EAAe;AAAA,IAEpC;AAEA,WAAAC,EAAU,MAAM;AACd,UACEX,EAAQ,MAAM,SAAS,QAAQ,KAC/BA,EAAQ,MAAM,SAAS,aAAa,GACpC;AACA,QAAAI,EAAgB,MAAM,KAAK,UAAU;AACrC,cAAMQ,IAAShB,EAAK,MAAM;AAC1B,QAAIgB,KACEA,EAAO,aAAa,SAAS,EAAE,SAAS,QAAQ,MAClDN,EAAe,QAAQ,IACvBF,EAAgB,MAAM,KAAK,eAAe;AAAA,MAGhD;AAEA,MAAIJ,EAAQ,MAAM,SAAS,UAAU,KACnC,QAAQ,IAAI,uCAAuC;AAAA,IAEvD,CAAC,mBA7ECa,EAaM,OAbNC,EAaM,EAZH,OAAOV,EAAA,MAAe,GAAA,EAAA,CAAAW,EACtBT,EAAA,SAAc,OAAA,CAAA,GAAaE,KAAmB;AAAA,eAC3C;AAAA,MAAJ,KAAID;AAAA;OAEJS,EAAA,EAAA,GAAAH,EAOEI,GAAA,MAAAC,EANqBC,EAAArB,CAAA,GAAQ,CAArBsB,GAAGC,YADbC,EAOEC,EAJKH,EAAE,SAAS,GAAA;AAAA,QADf,8BAA8BC;AAAA,QAE9B,MAAMD,EAAE;AAAA,QACR,eAAeA,EAAE;AAAA,QACjB,YAAYA,EAAE;AAAA;;;;"}
1
+ {"version":3,"file":"Container-BTZf-b6P.mjs","sources":["../src/components/templates/Container.vue"],"sourcesContent":["<template>\n <div\n :class=\"combinedClasses\"\n @[isToggleHeader&&`click`]=\"toggleHeaderClicked\"\n ref=\"containerElement\"\n >\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 { onMounted, ref, toRefs } 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 { node } = toRefs(props)\n\nconst { children } = useChildren(node)\nconst { classes } = useClasses(node)\nconst { toggleActiveClass } = useMethods()\n\nconst combinedClasses = ref([])\nconst isToggleHeader = ref(false)\nconst containerElement = ref(null)\n\ncombinedClasses.value = [...classes.value]\n\nfunction toggleHeaderClicked() {\n toggleActiveClass(combinedClasses.value)\n const index = combinedClasses.value.indexOf('active')\n let blockType = index === -1 ? 'none' : 'block'\n\n let elementSibling = containerElement.value.nextElementSibling\n while (elementSibling !== null) {\n elementSibling.style.display = blockType\n elementSibling = elementSibling.nextElementSibling\n }\n}\n\nonMounted(() => {\n if (\n classes.value.includes('header') ||\n classes.value.includes('header-left')\n ) {\n combinedClasses.value.push('inactive')\n const parent = node.value.parentElement\n if (parent) {\n if (parent.getAttribute('classes').includes('toggle')) {\n isToggleHeader.value = true\n combinedClasses.value.push('toggle-header')\n }\n }\n }\n\n if (classes.value.includes('tab2name')) {\n console.log('***** IN USE tab2name found ??? *****')\n }\n})\n</script>\n\n<style scoped>\n.toggle-header {\n cursor: pointer;\n}\n</style>\n"],"names":["props","__props","node","toRefs","children","useChildren","classes","useClasses","toggleActiveClass","useMethods","combinedClasses","ref","isToggleHeader","containerElement","toggleHeaderClicked","blockType","elementSibling","onMounted","parent","_createElementBlock","_mergeProps","_toHandlerKey","_openBlock","_Fragment","_renderList","_unref","c","index","_createBlock","_resolveDynamicComponent"],"mappings":";;;;;;;;;;;;;;;;;;AAuBA,UAAMA,IAAQC,GAaR,EAAE,MAAAC,EAAI,IAAKC,EAAOH,CAAK,GAEvB,EAAE,UAAAI,EAAQ,IAAKC,EAAYH,CAAI,GAC/B,EAAE,SAAAI,EAAO,IAAKC,EAAWL,CAAI,GAC7B,EAAE,mBAAAM,EAAiB,IAAKC,EAAU,GAElCC,IAAkBC,EAAI,CAAA,CAAE,GACxBC,IAAiBD,EAAI,EAAK,GAC1BE,IAAmBF,EAAI,IAAI;AAEjC,IAAAD,EAAgB,QAAQ,CAAC,GAAGJ,EAAQ,KAAK;AAEzC,aAASQ,IAAsB;AAC7B,MAAAN,EAAkBE,EAAgB,KAAK;AAEvC,UAAIK,IADUL,EAAgB,MAAM,QAAQ,QAAQ,MAC1B,KAAK,SAAS,SAEpCM,IAAiBH,EAAiB,MAAM;AAC5C,aAAOG,MAAmB;AACxB,QAAAA,EAAe,MAAM,UAAUD,GAC/BC,IAAiBA,EAAe;AAAA,IAEpC;AAEA,WAAAC,EAAU,MAAM;AACd,UACEX,EAAQ,MAAM,SAAS,QAAQ,KAC/BA,EAAQ,MAAM,SAAS,aAAa,GACpC;AACA,QAAAI,EAAgB,MAAM,KAAK,UAAU;AACrC,cAAMQ,IAAShB,EAAK,MAAM;AAC1B,QAAIgB,KACEA,EAAO,aAAa,SAAS,EAAE,SAAS,QAAQ,MAClDN,EAAe,QAAQ,IACvBF,EAAgB,MAAM,KAAK,eAAe;AAAA,MAGhD;AAEA,MAAIJ,EAAQ,MAAM,SAAS,UAAU,KACnC,QAAQ,IAAI,uCAAuC;AAAA,IAEvD,CAAC,mBA7ECa,EAaM,OAbNC,EAaM,EAZH,OAAOV,EAAA,MAAe,GAAA,EAAA,CAAAW,EACtBT,EAAA,SAAc,OAAA,CAAA,GAAaE,KAAmB;AAAA,eAC3C;AAAA,MAAJ,KAAID;AAAA;OAEJS,EAAA,EAAA,GAAAH,EAOEI,GAAA,MAAAC,EANqBC,EAAArB,CAAA,GAAQ,CAArBsB,GAAGC,YADbC,EAOEC,EAJKH,EAAE,SAAS,GAAA;AAAA,QADf,8BAA8BC;AAAA,QAE9B,MAAMD,EAAE;AAAA,QACR,eAAeA,EAAE;AAAA,QACjB,YAAYA,EAAE;AAAA;;;;"}
@@ -119,7 +119,7 @@ function R(e, t) {
119
119
  }
120
120
  return {
121
121
  component: d({
122
- loader: () => v(/* @__PURE__ */ Object.assign({ "../components/templates/Admonition.vue": () => import("./Admonition-gd-uJLmV.mjs"), "../components/templates/BlockQuote.vue": () => import("./BlockQuote-Cx9XdFGZ.mjs"), "../components/templates/CaptionNumber.vue": () => import("./CaptionNumber-B3c0JP0T.mjs"), "../components/templates/ColumnGroup.vue": () => import("./ColumnGroup-DYs1xB1a.mjs"), "../components/templates/Comment.vue": () => import("./Comment-DpyTzHo4.mjs"), "../components/templates/Compound.vue": () => import("./Compound-ByH1w0P6.mjs"), "../components/templates/Container.vue": () => import("./Container-CmVmxWIt.mjs"), "../components/templates/DirectElementMap.vue": () => import("./DirectElementMap-B-wTPjj0.mjs"), "../components/templates/Document.vue": () => Promise.resolve().then(() => _), "../components/templates/DownloadReference.vue": () => import("./DownloadReference-CtG3pZe0.mjs"), "../components/templates/Figure.vue": () => import("./Figure-BV3wzLZX.mjs"), "../components/templates/FigureCaption.vue": () => import("./FigureCaption-DPm7W0CJ.mjs"), "../components/templates/Footnote.vue": () => import("./Footnote-DAEfbxUi.mjs"), "../components/templates/FootnoteReference.vue": () => import("./FootnoteReference-Bi6FG4qF.mjs"), "../components/templates/Image.vue": () => import("./Image-UjDGAe4v.mjs"), "../components/templates/Legend.vue": () => import("./Legend-BL0KvT6x.mjs"), "../components/templates/LineBlock.vue": () => import("./LineBlock-yNMN4PnM.mjs"), "../components/templates/LineSingle.vue": () => import("./LineSingle-D8mP9JxV.mjs"), "../components/templates/Literal.vue": () => import("./Literal-B3RMToDf.mjs"), "../components/templates/LiteralBlock.vue": () => import("./LiteralBlock-DSNLfJRQ.mjs"), "../components/templates/Math.vue": () => import("./Math-Cq4PVbWU.mjs"), "../components/templates/MathBlock.vue": () => import("./MathBlock-BQlgpnCi.mjs"), "../components/templates/Note.vue": () => import("./Note-DTXT2vL1.mjs"), "../components/templates/NumberReference.vue": () => import("./NumberReference-eWL-p05o.mjs"), "../components/templates/Problematic.vue": () => import("./Problematic-DdYGUPom.mjs"), "../components/templates/Raw.vue": () => import("./Raw-DuZmU9hd.mjs"), "../components/templates/Reference.vue": () => import("./Reference-NuJMaVmj.mjs"), "../components/templates/Section.vue": () => import("./Section-CsKQgVcF.mjs"), "../components/templates/Skip.vue": () => import("./Skip-CRGkjuMM.mjs"), "../components/templates/StandardElement.vue": () => import("./StandardElement-Cf1EpLze.mjs"), "../components/templates/Text.vue": () => import("./Text-CT8nEMkp.mjs"), "../components/templates/Title.vue": () => import("./Title-DoIeD6eK.mjs"), "../components/templates/TodoNode.vue": () => import("./TodoNode-C6L-iGX4.mjs"), "../components/templates/Topic.vue": () => import("./Topic-BrgzQGpm.mjs"), "../components/templates/Transition.vue": () => import("./Transition-CWMp4Zlv.mjs"), "../components/templates/Warning.vue": () => import("./Warning-dcxt8LRd.mjs") }), `../components/templates/${e}.vue`, 4),
122
+ loader: () => v(/* @__PURE__ */ Object.assign({ "../components/templates/Admonition.vue": () => import("./Admonition-C1LWpeza.mjs"), "../components/templates/BlockQuote.vue": () => import("./BlockQuote-DQGmutzn.mjs"), "../components/templates/CaptionNumber.vue": () => import("./CaptionNumber-CqeASt_i.mjs"), "../components/templates/ColumnGroup.vue": () => import("./ColumnGroup-DYs1xB1a.mjs"), "../components/templates/Comment.vue": () => import("./Comment-DpyTzHo4.mjs"), "../components/templates/Compound.vue": () => import("./Compound-BvroDjHX.mjs"), "../components/templates/Container.vue": () => import("./Container-BTZf-b6P.mjs"), "../components/templates/DirectElementMap.vue": () => import("./DirectElementMap-B-wTPjj0.mjs"), "../components/templates/Document.vue": () => Promise.resolve().then(() => _), "../components/templates/DownloadReference.vue": () => import("./DownloadReference-BKyZDsoj.mjs"), "../components/templates/Figure.vue": () => import("./Figure-fjT2FOsJ.mjs"), "../components/templates/FigureCaption.vue": () => import("./FigureCaption-CyYfEcCd.mjs"), "../components/templates/Footnote.vue": () => import("./Footnote-DVcKM62Z.mjs"), "../components/templates/FootnoteReference.vue": () => import("./FootnoteReference-CevmkftO.mjs"), "../components/templates/Image.vue": () => import("./Image-BkvoN6Va.mjs"), "../components/templates/Legend.vue": () => import("./Legend-zR_qvYxu.mjs"), "../components/templates/LineBlock.vue": () => import("./LineBlock-DRrGaTVf.mjs"), "../components/templates/LineSingle.vue": () => import("./LineSingle-0djhboXu.mjs"), "../components/templates/Literal.vue": () => import("./Literal-B_0bDO6F.mjs"), "../components/templates/LiteralBlock.vue": () => import("./LiteralBlock-BLa6tk4x.mjs"), "../components/templates/Math.vue": () => import("./Math-Cq4PVbWU.mjs"), "../components/templates/MathBlock.vue": () => import("./MathBlock-BQlgpnCi.mjs"), "../components/templates/Note.vue": () => import("./Note-DfIeqrXb.mjs"), "../components/templates/NumberReference.vue": () => import("./NumberReference-Bzq9ZOkm.mjs"), "../components/templates/Problematic.vue": () => import("./Problematic-C_GOe5g8.mjs"), "../components/templates/Raw.vue": () => import("./Raw-DuZmU9hd.mjs"), "../components/templates/Reference.vue": () => import("./Reference-C3p4_jzs.mjs"), "../components/templates/Section.vue": () => import("./Section-C1fT1LoO.mjs"), "../components/templates/Skip.vue": () => import("./Skip-CRGkjuMM.mjs"), "../components/templates/StandardElement.vue": () => import("./StandardElement-DObLRysY.mjs"), "../components/templates/Text.vue": () => import("./Text-CT8nEMkp.mjs"), "../components/templates/Title.vue": () => import("./Title-BXKmKZJr.mjs"), "../components/templates/TodoNode.vue": () => import("./TodoNode-BubW_p1P.mjs"), "../components/templates/Topic.vue": () => import("./Topic-Cw8NozpE.mjs"), "../components/templates/Transition.vue": () => import("./Transition-CWMp4Zlv.mjs"), "../components/templates/Warning.vue": () => import("./Warning-B2aBs-ON.mjs") }), `../components/templates/${e}.vue`, 4),
123
123
  // A component to use while the async component is loading
124
124
  loadingComponent: g,
125
125
  // A component to use if the load fails
@@ -134,7 +134,7 @@ function x(e, t) {
134
134
  const o = "ColumnGroup";
135
135
  return {
136
136
  component: d({
137
- loader: () => v(/* @__PURE__ */ Object.assign({ "../components/templates/Admonition.vue": () => import("./Admonition-gd-uJLmV.mjs"), "../components/templates/BlockQuote.vue": () => import("./BlockQuote-Cx9XdFGZ.mjs"), "../components/templates/CaptionNumber.vue": () => import("./CaptionNumber-B3c0JP0T.mjs"), "../components/templates/ColumnGroup.vue": () => import("./ColumnGroup-DYs1xB1a.mjs"), "../components/templates/Comment.vue": () => import("./Comment-DpyTzHo4.mjs"), "../components/templates/Compound.vue": () => import("./Compound-ByH1w0P6.mjs"), "../components/templates/Container.vue": () => import("./Container-CmVmxWIt.mjs"), "../components/templates/DirectElementMap.vue": () => import("./DirectElementMap-B-wTPjj0.mjs"), "../components/templates/Document.vue": () => Promise.resolve().then(() => _), "../components/templates/DownloadReference.vue": () => import("./DownloadReference-CtG3pZe0.mjs"), "../components/templates/Figure.vue": () => import("./Figure-BV3wzLZX.mjs"), "../components/templates/FigureCaption.vue": () => import("./FigureCaption-DPm7W0CJ.mjs"), "../components/templates/Footnote.vue": () => import("./Footnote-DAEfbxUi.mjs"), "../components/templates/FootnoteReference.vue": () => import("./FootnoteReference-Bi6FG4qF.mjs"), "../components/templates/Image.vue": () => import("./Image-UjDGAe4v.mjs"), "../components/templates/Legend.vue": () => import("./Legend-BL0KvT6x.mjs"), "../components/templates/LineBlock.vue": () => import("./LineBlock-yNMN4PnM.mjs"), "../components/templates/LineSingle.vue": () => import("./LineSingle-D8mP9JxV.mjs"), "../components/templates/Literal.vue": () => import("./Literal-B3RMToDf.mjs"), "../components/templates/LiteralBlock.vue": () => import("./LiteralBlock-DSNLfJRQ.mjs"), "../components/templates/Math.vue": () => import("./Math-Cq4PVbWU.mjs"), "../components/templates/MathBlock.vue": () => import("./MathBlock-BQlgpnCi.mjs"), "../components/templates/Note.vue": () => import("./Note-DTXT2vL1.mjs"), "../components/templates/NumberReference.vue": () => import("./NumberReference-eWL-p05o.mjs"), "../components/templates/Problematic.vue": () => import("./Problematic-DdYGUPom.mjs"), "../components/templates/Raw.vue": () => import("./Raw-DuZmU9hd.mjs"), "../components/templates/Reference.vue": () => import("./Reference-NuJMaVmj.mjs"), "../components/templates/Section.vue": () => import("./Section-CsKQgVcF.mjs"), "../components/templates/Skip.vue": () => import("./Skip-CRGkjuMM.mjs"), "../components/templates/StandardElement.vue": () => import("./StandardElement-Cf1EpLze.mjs"), "../components/templates/Text.vue": () => import("./Text-CT8nEMkp.mjs"), "../components/templates/Title.vue": () => import("./Title-DoIeD6eK.mjs"), "../components/templates/TodoNode.vue": () => import("./TodoNode-C6L-iGX4.mjs"), "../components/templates/Topic.vue": () => import("./Topic-BrgzQGpm.mjs"), "../components/templates/Transition.vue": () => import("./Transition-CWMp4Zlv.mjs"), "../components/templates/Warning.vue": () => import("./Warning-dcxt8LRd.mjs") }), `../components/templates/${o}.vue`, 4),
137
+ loader: () => v(/* @__PURE__ */ Object.assign({ "../components/templates/Admonition.vue": () => import("./Admonition-C1LWpeza.mjs"), "../components/templates/BlockQuote.vue": () => import("./BlockQuote-DQGmutzn.mjs"), "../components/templates/CaptionNumber.vue": () => import("./CaptionNumber-CqeASt_i.mjs"), "../components/templates/ColumnGroup.vue": () => import("./ColumnGroup-DYs1xB1a.mjs"), "../components/templates/Comment.vue": () => import("./Comment-DpyTzHo4.mjs"), "../components/templates/Compound.vue": () => import("./Compound-BvroDjHX.mjs"), "../components/templates/Container.vue": () => import("./Container-BTZf-b6P.mjs"), "../components/templates/DirectElementMap.vue": () => import("./DirectElementMap-B-wTPjj0.mjs"), "../components/templates/Document.vue": () => Promise.resolve().then(() => _), "../components/templates/DownloadReference.vue": () => import("./DownloadReference-BKyZDsoj.mjs"), "../components/templates/Figure.vue": () => import("./Figure-fjT2FOsJ.mjs"), "../components/templates/FigureCaption.vue": () => import("./FigureCaption-CyYfEcCd.mjs"), "../components/templates/Footnote.vue": () => import("./Footnote-DVcKM62Z.mjs"), "../components/templates/FootnoteReference.vue": () => import("./FootnoteReference-CevmkftO.mjs"), "../components/templates/Image.vue": () => import("./Image-BkvoN6Va.mjs"), "../components/templates/Legend.vue": () => import("./Legend-zR_qvYxu.mjs"), "../components/templates/LineBlock.vue": () => import("./LineBlock-DRrGaTVf.mjs"), "../components/templates/LineSingle.vue": () => import("./LineSingle-0djhboXu.mjs"), "../components/templates/Literal.vue": () => import("./Literal-B_0bDO6F.mjs"), "../components/templates/LiteralBlock.vue": () => import("./LiteralBlock-BLa6tk4x.mjs"), "../components/templates/Math.vue": () => import("./Math-Cq4PVbWU.mjs"), "../components/templates/MathBlock.vue": () => import("./MathBlock-BQlgpnCi.mjs"), "../components/templates/Note.vue": () => import("./Note-DfIeqrXb.mjs"), "../components/templates/NumberReference.vue": () => import("./NumberReference-Bzq9ZOkm.mjs"), "../components/templates/Problematic.vue": () => import("./Problematic-C_GOe5g8.mjs"), "../components/templates/Raw.vue": () => import("./Raw-DuZmU9hd.mjs"), "../components/templates/Reference.vue": () => import("./Reference-C3p4_jzs.mjs"), "../components/templates/Section.vue": () => import("./Section-C1fT1LoO.mjs"), "../components/templates/Skip.vue": () => import("./Skip-CRGkjuMM.mjs"), "../components/templates/StandardElement.vue": () => import("./StandardElement-DObLRysY.mjs"), "../components/templates/Text.vue": () => import("./Text-CT8nEMkp.mjs"), "../components/templates/Title.vue": () => import("./Title-BXKmKZJr.mjs"), "../components/templates/TodoNode.vue": () => import("./TodoNode-BubW_p1P.mjs"), "../components/templates/Topic.vue": () => import("./Topic-Cw8NozpE.mjs"), "../components/templates/Transition.vue": () => import("./Transition-CWMp4Zlv.mjs"), "../components/templates/Warning.vue": () => import("./Warning-B2aBs-ON.mjs") }), `../components/templates/${o}.vue`, 4),
138
138
  // A component to use while the async component is loading
139
139
  loadingComponent: g,
140
140
  // A component to use if the load fails
@@ -227,4 +227,4 @@ export {
227
227
  B as n,
228
228
  O as u
229
229
  };
230
- //# sourceMappingURL=Document-PZAyvjWh.mjs.map
230
+ //# sourceMappingURL=Document-Ciwh11I6.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Document-PZAyvjWh.mjs","sources":["../src/components/Error.vue","../src/components/Loading.vue","../src/js/nodemap.js","../src/composables/computed.js","../src/components/templates/Document.vue"],"sourcesContent":["<template>\n <div>\n <h3>Missing: '{{ componentName }}' from Sphinx XML output</h3>\n <span>It seems the component was not found.</span>\n </div>\n</template>\n\n<script setup>\nconst props = defineProps({\n node: {\n type: undefined,\n },\n componentName: {\n type: String,\n },\n})\n</script>\n","<template>\n <div class=\"loading-container\">\n <span>Loading page component</span>\n <span class=\"lds-roller\">\n <div></div>\n <div></div>\n <div></div>\n <div></div>\n <div></div>\n <div></div>\n <div></div>\n <div></div>\n </span>\n </div>\n</template>\n\n<script setup>\nconst props = defineProps({\n node: {\n type: undefined,\n },\n componentName: {\n type: String,\n },\n})\n</script>\n\n<style scoped>\n.loading-container {\n display: flex;\n align-items: center;\n}\n\n.lds-roller {\n transform: scale(0.5);\n display: inline-block;\n position: relative;\n width: 80px;\n height: 80px;\n}\n.lds-roller div {\n animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;\n transform-origin: 40px 40px;\n}\n.lds-roller div:after {\n content: ' ';\n display: block;\n position: absolute;\n width: 7px;\n height: 7px;\n border-radius: 50%;\n background: rgb(116, 116, 116);\n margin: -4px 0 0 -4px;\n}\n.lds-roller div:nth-child(1) {\n animation-delay: -0.036s;\n}\n.lds-roller div:nth-child(1):after {\n top: 63px;\n left: 63px;\n}\n.lds-roller div:nth-child(2) {\n animation-delay: -0.072s;\n}\n.lds-roller div:nth-child(2):after {\n top: 68px;\n left: 56px;\n}\n.lds-roller div:nth-child(3) {\n animation-delay: -0.108s;\n}\n.lds-roller div:nth-child(3):after {\n top: 71px;\n left: 48px;\n}\n.lds-roller div:nth-child(4) {\n animation-delay: -0.144s;\n}\n.lds-roller div:nth-child(4):after {\n top: 72px;\n left: 40px;\n}\n.lds-roller div:nth-child(5) {\n animation-delay: -0.18s;\n}\n.lds-roller div:nth-child(5):after {\n top: 71px;\n left: 32px;\n}\n.lds-roller div:nth-child(6) {\n animation-delay: -0.216s;\n}\n.lds-roller div:nth-child(6):after {\n top: 68px;\n left: 24px;\n}\n.lds-roller div:nth-child(7) {\n animation-delay: -0.252s;\n}\n.lds-roller div:nth-child(7):after {\n top: 63px;\n left: 17px;\n}\n.lds-roller div:nth-child(8) {\n animation-delay: -0.288s;\n}\n.lds-roller div:nth-child(8):after {\n top: 56px;\n left: 12px;\n}\n@keyframes lds-roller {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n</style>\n","export const nodeNameTagNameMap = new Map([\n ['bullet_list', 'ul'],\n ['button', 'button'],\n ['citation', 'cite'],\n ['definition', 'dd'],\n ['definition_list', 'dl'],\n ['definition_list_item', 'dt'],\n ['div', 'div'],\n ['emphasis', 'em'],\n ['enumerated_list', 'ol'],\n ['glossary', 'div'],\n ['inline', 'span'],\n ['label', 'span'],\n ['list_item', 'li'],\n ['line', 'p'],\n ['paragraph', 'p'],\n ['rubric', 'h3'],\n ['strong', 'strong'],\n ['subscript', 'sub'],\n ['superscript', 'sup'],\n ['table', 'table'],\n ['tbody', 'tbody'],\n ['entry', 'td'],\n ['row', 'tr'],\n ['thead', 'thead'],\n ['term', 'dt'],\n ['title_reference', 'cite'],\n])\n\nexport const nodeNameTemplateNameMap = new Map([\n ['#text', 'Text'],\n ['block_quote', 'BlockQuote'],\n ['caption', 'FigureCaption'],\n ['caption_number', 'CaptionNumber'],\n ['download_reference', 'DownloadReference'],\n ['footnote_reference', 'FootnoteReference'],\n ['index', 'Skip'],\n ['line_block', 'LineBlock'],\n ['literal_block', 'LiteralBlock'],\n ['math_block', 'MathBlock'],\n ['number_reference', 'NumberReference'],\n])\n","import { computed, defineAsyncComponent } from 'vue'\n\nimport ErrorComponent from '../components/Error.vue'\nimport LoadingComponent from '../components/Loading.vue'\nimport { nodeNameTagNameMap, nodeNameTemplateNameMap } from '../js/nodemap'\n\nfunction defineChildComponent(name, node) {\n let properties = undefined\n if (node.nodeName === '#text') {\n if (!node.nodeValue.trim()) {\n return null\n }\n properties = {\n text: node.nodeValue,\n }\n } else if (node.nodeName === 'warning') {\n let parentNode = node.parentNode\n let depth = 0\n while (parentNode) {\n if (parentNode.nodeName === 'section') {\n depth += 1\n }\n parentNode = parentNode.parentNode\n }\n properties = {\n depth\n }\n } else if (node.nodeName === 'title') {\n let parentNode = node.parentNode\n let depth = 0\n let isTopic = false\n if (parentNode.nodeName === 'topic') {\n isTopic = true\n } else {\n while (parentNode) {\n // && parentNode.nodeName !== ('SphinxPage' should now be 'document' but maybe this is no longer requied).\n if (parentNode.nodeName === 'section') {\n depth += 1\n }\n parentNode = parentNode.parentNode\n }\n }\n properties = {\n depth,\n isTopic,\n }\n }\n const component = defineAsyncComponent({\n loader: () => {\n return import(`../components/templates/${name}.vue`)\n },\n // A component to use while the async component is loading\n loadingComponent: LoadingComponent,\n // A component to use if the load fails\n errorComponent: ErrorComponent,\n })\n\n return {\n component,\n name,\n node,\n properties,\n }\n}\n\nfunction defineColgroupComponent(node, colspecs) {\n const name = 'ColumnGroup'\n const component = defineAsyncComponent({\n loader: () => {\n return import(`../components/templates/${name}.vue`)\n },\n // A component to use while the async component is loading\n loadingComponent: LoadingComponent,\n // A component to use if the load fails\n errorComponent: ErrorComponent,\n })\n \n const properties = {\n colspecs\n }\n\n return {\n component,\n name,\n node,\n properties,\n }\n}\n\nfunction mapToComponentName(name) {\n let componentName =\n name.charAt(0).toUpperCase() + name.slice(1)\n if (nodeNameTemplateNameMap.has(name)) {\n componentName = nodeNameTemplateNameMap.get(name)\n } else if (nodeNameTagNameMap.has(name)) {\n componentName = 'StandardElement'\n }\nreturn componentName\n}\n\nfunction addTGroup(components, node, columns) {\n if (node === null) {\n return components\n }\n\n let colspecs = []\n for (const colspec of node.querySelectorAll('colspec')) {\n colspecs.push(colspec.getAttribute('colwidth'))\n }\n\n if (colspecs.length !== columns) {\n console.log('***** Something is not right. *****', colspecs.length, columns)\n }\n components.push(defineColgroupComponent(node, colspecs))\n\n return components\n}\n\nfunction addComponents(components, node) {\n if (node === null) {\n return components\n }\n\n let childTarget = null\n for (const child of node.childNodes) {\n const childName = child.nodeName\n if (childName === 'compact_paragraph') {\n // Skip over this wrapper and directly add its children to this component.\n components = addComponents(components, child)\n } else if (childName === 'tgroup') {\n // Skip over these wrappers and directly add their children to this component.\n const columnCount = Number(child.getAttribute('cols'))\n components = addTGroup(components, child, columnCount)\n components = addComponents(components, child)\n } else if (childName === 'colspec') {\n // Ignore this element completely, this element is dealt with by 'tgroup'.\n } else {\n if (childName === 'target') {\n childTarget = child.getAttribute('refid')\n } else {\n if (childName !== '#text' && childTarget) {\n child.setAttribute('id', childTarget)\n childTarget = ''\n }\n const componentName = mapToComponentName(childName)\n const item = defineChildComponent(componentName, child)\n if (item) {\n components.push(item)\n }\n }\n }\n }\n\n return components\n}\n\nexport function useChildren(element) {\n const children = computed(() => {\n return addComponents([], element.value)\n })\n\n return {\n children,\n }\n}\n\nexport function useClasses(element) {\n const classes = computed(() => {\n let classesString = element.value.getAttribute('classes')\n let classes = []\n if (classesString) {\n classes = classesString.split(' ')\n }\n return [element.value.nodeName.toLowerCase(), ...classes]\n })\n\n return {\n classes\n }\n}\n","<template>\n <div :id=\"id\">\n <component\n v-for=\"(c, index) in children\"\n :key=\"'document_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 { defineProps, toRefs } from 'vue'\n\nimport { useChildren } from '../../composables/computed'\n\nconst props = defineProps({\n element: {\n type: undefined,\n default: { empty: true },\n },\n id: {\n type: String,\n default: '',\n },\n})\n\nconst { element } = toRefs(props)\nconst { children } = useChildren(element)\n\n</script>\n"],"names":["_createElementBlock","_createElementVNode","_toDisplayString","__props","_cache","_openBlock","_hoisted_1","nodeNameTagNameMap","nodeNameTemplateNameMap","defineChildComponent","name","node","properties","parentNode","depth","isTopic","defineAsyncComponent","__variableDynamicImportRuntimeHelper","Document","LoadingComponent","ErrorComponent","defineColgroupComponent","colspecs","mapToComponentName","componentName","addTGroup","components","columns","colspec","addComponents","childTarget","child","childName","columnCount","item","useChildren","element","computed","useClasses","classesString","classes","props","toRefs","children","_Fragment","_renderList","_unref","c","index","_createBlock","_resolveDynamicComponent"],"mappings":";;;;;;;;;;;;;;;;;2BACEA,EAGM,OAAA,MAAA;AAAA,MAFJC,EAA8D,MAAA,MAA1D,eAA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,EAAE,SAAS,GAAA;AAAA,QADf,6BAA6BC;AAAA,QAE7B,MAAMD,EAAE;AAAA,QACR,eAAeA,EAAE;AAAA,QACjB,YAAYA,EAAE;AAAA;;;;;;;"}
1
+ {"version":3,"file":"Document-Ciwh11I6.mjs","sources":["../src/components/Error.vue","../src/components/Loading.vue","../src/js/nodemap.js","../src/composables/computed.js","../src/components/templates/Document.vue"],"sourcesContent":["<template>\n <div>\n <h3>Missing: '{{ componentName }}' from Sphinx XML output</h3>\n <span>It seems the component was not found.</span>\n </div>\n</template>\n\n<script setup>\nconst props = defineProps({\n node: {\n type: undefined,\n },\n componentName: {\n type: String,\n },\n})\n</script>\n","<template>\n <div class=\"loading-container\">\n <span>Loading page component</span>\n <span class=\"lds-roller\">\n <div></div>\n <div></div>\n <div></div>\n <div></div>\n <div></div>\n <div></div>\n <div></div>\n <div></div>\n </span>\n </div>\n</template>\n\n<script setup>\nconst props = defineProps({\n node: {\n type: undefined,\n },\n componentName: {\n type: String,\n },\n})\n</script>\n\n<style scoped>\n.loading-container {\n display: flex;\n align-items: center;\n}\n\n.lds-roller {\n transform: scale(0.5);\n display: inline-block;\n position: relative;\n width: 80px;\n height: 80px;\n}\n.lds-roller div {\n animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;\n transform-origin: 40px 40px;\n}\n.lds-roller div:after {\n content: ' ';\n display: block;\n position: absolute;\n width: 7px;\n height: 7px;\n border-radius: 50%;\n background: rgb(116, 116, 116);\n margin: -4px 0 0 -4px;\n}\n.lds-roller div:nth-child(1) {\n animation-delay: -0.036s;\n}\n.lds-roller div:nth-child(1):after {\n top: 63px;\n left: 63px;\n}\n.lds-roller div:nth-child(2) {\n animation-delay: -0.072s;\n}\n.lds-roller div:nth-child(2):after {\n top: 68px;\n left: 56px;\n}\n.lds-roller div:nth-child(3) {\n animation-delay: -0.108s;\n}\n.lds-roller div:nth-child(3):after {\n top: 71px;\n left: 48px;\n}\n.lds-roller div:nth-child(4) {\n animation-delay: -0.144s;\n}\n.lds-roller div:nth-child(4):after {\n top: 72px;\n left: 40px;\n}\n.lds-roller div:nth-child(5) {\n animation-delay: -0.18s;\n}\n.lds-roller div:nth-child(5):after {\n top: 71px;\n left: 32px;\n}\n.lds-roller div:nth-child(6) {\n animation-delay: -0.216s;\n}\n.lds-roller div:nth-child(6):after {\n top: 68px;\n left: 24px;\n}\n.lds-roller div:nth-child(7) {\n animation-delay: -0.252s;\n}\n.lds-roller div:nth-child(7):after {\n top: 63px;\n left: 17px;\n}\n.lds-roller div:nth-child(8) {\n animation-delay: -0.288s;\n}\n.lds-roller div:nth-child(8):after {\n top: 56px;\n left: 12px;\n}\n@keyframes lds-roller {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n</style>\n","export const nodeNameTagNameMap = new Map([\n ['bullet_list', 'ul'],\n ['button', 'button'],\n ['citation', 'cite'],\n ['definition', 'dd'],\n ['definition_list', 'dl'],\n ['definition_list_item', 'dt'],\n ['div', 'div'],\n ['emphasis', 'em'],\n ['enumerated_list', 'ol'],\n ['glossary', 'div'],\n ['inline', 'span'],\n ['label', 'span'],\n ['list_item', 'li'],\n ['line', 'p'],\n ['paragraph', 'p'],\n ['rubric', 'h3'],\n ['strong', 'strong'],\n ['subscript', 'sub'],\n ['superscript', 'sup'],\n ['table', 'table'],\n ['tbody', 'tbody'],\n ['entry', 'td'],\n ['row', 'tr'],\n ['thead', 'thead'],\n ['term', 'dt'],\n ['title_reference', 'cite'],\n])\n\nexport const nodeNameTemplateNameMap = new Map([\n ['#text', 'Text'],\n ['block_quote', 'BlockQuote'],\n ['caption', 'FigureCaption'],\n ['caption_number', 'CaptionNumber'],\n ['download_reference', 'DownloadReference'],\n ['footnote_reference', 'FootnoteReference'],\n ['index', 'Skip'],\n ['line_block', 'LineBlock'],\n ['literal_block', 'LiteralBlock'],\n ['math_block', 'MathBlock'],\n ['number_reference', 'NumberReference'],\n])\n","import { computed, defineAsyncComponent } from 'vue'\n\nimport ErrorComponent from '../components/Error.vue'\nimport LoadingComponent from '../components/Loading.vue'\nimport { nodeNameTagNameMap, nodeNameTemplateNameMap } from '../js/nodemap'\n\nfunction defineChildComponent(name, node) {\n let properties = undefined\n if (node.nodeName === '#text') {\n if (!node.nodeValue.trim()) {\n return null\n }\n properties = {\n text: node.nodeValue,\n }\n } else if (node.nodeName === 'warning') {\n let parentNode = node.parentNode\n let depth = 0\n while (parentNode) {\n if (parentNode.nodeName === 'section') {\n depth += 1\n }\n parentNode = parentNode.parentNode\n }\n properties = {\n depth\n }\n } else if (node.nodeName === 'title') {\n let parentNode = node.parentNode\n let depth = 0\n let isTopic = false\n if (parentNode.nodeName === 'topic') {\n isTopic = true\n } else {\n while (parentNode) {\n // && parentNode.nodeName !== ('SphinxPage' should now be 'document' but maybe this is no longer requied).\n if (parentNode.nodeName === 'section') {\n depth += 1\n }\n parentNode = parentNode.parentNode\n }\n }\n properties = {\n depth,\n isTopic,\n }\n }\n const component = defineAsyncComponent({\n loader: () => {\n return import(`../components/templates/${name}.vue`)\n },\n // A component to use while the async component is loading\n loadingComponent: LoadingComponent,\n // A component to use if the load fails\n errorComponent: ErrorComponent,\n })\n\n return {\n component,\n name,\n node,\n properties,\n }\n}\n\nfunction defineColgroupComponent(node, colspecs) {\n const name = 'ColumnGroup'\n const component = defineAsyncComponent({\n loader: () => {\n return import(`../components/templates/${name}.vue`)\n },\n // A component to use while the async component is loading\n loadingComponent: LoadingComponent,\n // A component to use if the load fails\n errorComponent: ErrorComponent,\n })\n \n const properties = {\n colspecs\n }\n\n return {\n component,\n name,\n node,\n properties,\n }\n}\n\nfunction mapToComponentName(name) {\n let componentName =\n name.charAt(0).toUpperCase() + name.slice(1)\n if (nodeNameTemplateNameMap.has(name)) {\n componentName = nodeNameTemplateNameMap.get(name)\n } else if (nodeNameTagNameMap.has(name)) {\n componentName = 'StandardElement'\n }\nreturn componentName\n}\n\nfunction addTGroup(components, node, columns) {\n if (node === null) {\n return components\n }\n\n let colspecs = []\n for (const colspec of node.querySelectorAll('colspec')) {\n colspecs.push(colspec.getAttribute('colwidth'))\n }\n\n if (colspecs.length !== columns) {\n console.log('***** Something is not right. *****', colspecs.length, columns)\n }\n components.push(defineColgroupComponent(node, colspecs))\n\n return components\n}\n\nfunction addComponents(components, node) {\n if (node === null) {\n return components\n }\n\n let childTarget = null\n for (const child of node.childNodes) {\n const childName = child.nodeName\n if (childName === 'compact_paragraph') {\n // Skip over this wrapper and directly add its children to this component.\n components = addComponents(components, child)\n } else if (childName === 'tgroup') {\n // Skip over these wrappers and directly add their children to this component.\n const columnCount = Number(child.getAttribute('cols'))\n components = addTGroup(components, child, columnCount)\n components = addComponents(components, child)\n } else if (childName === 'colspec') {\n // Ignore this element completely, this element is dealt with by 'tgroup'.\n } else {\n if (childName === 'target') {\n childTarget = child.getAttribute('refid')\n } else {\n if (childName !== '#text' && childTarget) {\n child.setAttribute('id', childTarget)\n childTarget = ''\n }\n const componentName = mapToComponentName(childName)\n const item = defineChildComponent(componentName, child)\n if (item) {\n components.push(item)\n }\n }\n }\n }\n\n return components\n}\n\nexport function useChildren(element) {\n const children = computed(() => {\n return addComponents([], element.value)\n })\n\n return {\n children,\n }\n}\n\nexport function useClasses(element) {\n const classes = computed(() => {\n let classesString = element.value.getAttribute('classes')\n let classes = []\n if (classesString) {\n classes = classesString.split(' ')\n }\n return [element.value.nodeName.toLowerCase(), ...classes]\n })\n\n return {\n classes\n }\n}\n","<template>\n <div :id=\"id\">\n <component\n v-for=\"(c, index) in children\"\n :key=\"'document_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 { defineProps, toRefs } from 'vue'\n\nimport { useChildren } from '../../composables/computed'\n\nconst props = defineProps({\n element: {\n type: undefined,\n default: { empty: true },\n },\n id: {\n type: String,\n default: '',\n },\n})\n\nconst { element } = toRefs(props)\nconst { children } = useChildren(element)\n\n</script>\n"],"names":["_createElementBlock","_createElementVNode","_toDisplayString","__props","_cache","_openBlock","_hoisted_1","nodeNameTagNameMap","nodeNameTemplateNameMap","defineChildComponent","name","node","properties","parentNode","depth","isTopic","defineAsyncComponent","__variableDynamicImportRuntimeHelper","Document","LoadingComponent","ErrorComponent","defineColgroupComponent","colspecs","mapToComponentName","componentName","addTGroup","components","columns","colspec","addComponents","childTarget","child","childName","columnCount","item","useChildren","element","computed","useClasses","classesString","classes","props","toRefs","children","_Fragment","_renderList","_unref","c","index","_createBlock","_resolveDynamicComponent"],"mappings":";;;;;;;;;;;;;;;;;2BACEA,EAGM,OAAA,MAAA;AAAA,MAFJC,EAA8D,MAAA,MAA1D,eAAUC,EAAGC,EAAA,aAAa,IAAG,4BAAwB,CAAA;AAAA,MACzDC,EAAA,CAAA,MAAAA,EAAA,CAAA,IAAAH,EAAkD,cAA5C,yCAAqC,EAAA;AAAA;;;;;;;;;;;;;;;;;;sBCF7CI,EAAA,GAAAL,EAYM,OAZNM,GAYM,CAAA,GAAAF,EAAA,CAAA,MAAAA,EAAA,CAAA,IAAA;AAAA,MAXJH,EAAmC,cAA7B,0BAAsB,EAAA;AAAA,MAC5BA,EASO,QAAA,EATD,OAAM,aAAY,GAAA;AAAA,QACtBA,EAAW,KAAA;AAAA,QACXA,EAAW,KAAA;AAAA,QACXA,EAAW,KAAA;AAAA,QACXA,EAAW,KAAA;AAAA,QACXA,EAAW,KAAA;AAAA,QACXA,EAAW,KAAA;AAAA,QACXA,EAAW,KAAA;AAAA,QACXA,EAAW,KAAA;AAAA;;;iECXJM,IAAqB,oBAAI,IAAI;AAAA,EACxC,CAAC,eAAe,IAAI;AAAA,EACpB,CAAC,UAAU,QAAQ;AAAA,EACnB,CAAC,YAAY,MAAM;AAAA,EACnB,CAAC,cAAc,IAAI;AAAA,EACnB,CAAC,mBAAmB,IAAI;AAAA,EACxB,CAAC,wBAAwB,IAAI;AAAA,EAC7B,CAAC,OAAO,KAAK;AAAA,EACb,CAAC,YAAY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ACd,aAAID,MACFC,IAAUD,EAAc,MAAM,GAAG,IAE5B,CAACH,EAAQ,MAAM,SAAS,YAAW,GAAI,GAAGI,CAAO;AAAA,IAC1D,CAAC;AAAA,EAIH;AACA;;;;;;;;;;;;;;ACjKA,UAAMC,IAAQtC,GAWR,EAAE,SAAAiC,EAAO,IAAKM,EAAOD,CAAK,GAC1B,EAAE,UAAAE,EAAQ,IAAKR,EAAYC,CAAO;2BA7BtCpC,EASM,OAAA,EATA,IAAIG,EAAA,MAAE;AAAA,OACVE,EAAA,EAAA,GAAAL,EAOE4C,GAAA,MAAAC,EANqBC,EAAAH,CAAA,GAAQ,CAArBI,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
1
  import { toRefs as p, computed as f, ref as m, createElementBlock as h, openBlock as g, normalizeClass as v, toDisplayString as _ } from "vue";
2
2
  import { useRoute as w } from "vue-router";
3
- import { u as R, d as S } from "./entry-CNV5B73A.mjs";
3
+ import { u as R, d as S } from "./entry-NtWSzZvs.mjs";
4
4
  const x = ["href", "download"], D = {
5
5
  __name: "DownloadReference",
6
6
  props: {
@@ -33,4 +33,4 @@ const x = ["href", "download"], D = {
33
33
  export {
34
34
  D as default
35
35
  };
36
- //# sourceMappingURL=DownloadReference-CtG3pZe0.mjs.map
36
+ //# sourceMappingURL=DownloadReference-BKyZDsoj.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"DownloadReference-CtG3pZe0.mjs","sources":["../src/components/templates/DownloadReference.vue"],"sourcesContent":["<template>\n <a :href=\"href\" :download=\"saveFilename\" :class=\"classes\">{{\n saveFilename\n }}</a>\n</template>\n\n<script setup>\nimport { computed, toRefs, ref } from 'vue'\nimport { useRoute } from 'vue-router'\nimport { useSphinxStore } from '@/stores/sphinx'\n\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})\n\nconst { node } = toRefs(props)\nconst route = useRoute()\nconst sphinxStore = useSphinxStore()\n\nconst href = computed(() => {\n let downloadHref = node.value.getAttribute('filename')\n if (\n downloadHref &&\n !downloadHref.startsWith('/') &&\n !downloadHref.startsWith('http')\n ) {\n const routeURL = determineRouteUrl(route)\n downloadHref = [sphinxStore.getDownloadURL(routeURL), downloadHref].join(\n '/',\n )\n }\n return downloadHref\n})\n\nconst targetParts = node.value.getAttribute('reftarget').split('/')\nconst downloadName = targetParts[targetParts.length - 1]\nconst classes = ['reference', 'internal', node.value.getAttribute('reftype')]\n\n// Need to use a refernce variable in the template bound attributes.\nconst saveFilename = ref('not-set')\nsaveFilename.value = downloadName\n</script>\n"],"names":["props","__props","node","toRefs","route","useRoute","sphinxStore","useSphinxStore","href","computed","downloadHref","routeURL","determineRouteUrl","targetParts","downloadName","classes","saveFilename","ref","_createElementBlock","_hoisted_1"],"mappings":";;;;;;;;;;;;;;;AAaA,UAAMA,IAAQC,GAUR,EAAE,MAAAC,EAAI,IAAKC,EAAOH,CAAK,GACvBI,IAAQC,EAAQ,GAChBC,IAAcC,EAAc,GAE5BC,IAAOC,EAAS,MAAM;AAC1B,UAAIC,IAAeR,EAAK,MAAM,aAAa,UAAU;AACrD,UACEQ,KACA,CAACA,EAAa,WAAW,GAAG,KAC5B,CAACA,EAAa,WAAW,MAAM,GAC/B;AACA,cAAMC,IAAWC,EAAkBR,CAAK;AACxC,QAAAM,IAAe,CAACJ,EAAY,eAAeK,CAAQ,GAAGD,CAAY,EAAE;AAAA,UAClE;AAAA,QACN;AAAA,MACE;AACA,aAAOA;AAAA,IACT,CAAC,GAEKG,IAAcX,EAAK,MAAM,aAAa,WAAW,EAAE,MAAM,GAAG,GAC5DY,IAAeD,EAAYA,EAAY,SAAS,CAAC,GACjDE,IAAU,CAAC,aAAa,YAAYb,EAAK,MAAM,aAAa,SAAS,CAAC,GAGtEc,IAAeC,EAAI,SAAS;AAClC,WAAAD,EAAa,QAAQF,mBA/CnBI,EAEM,KAAA;AAAA,MAFF,MAAMV,EAAA;AAAA,MAAO,UAAUQ,EAAA;AAAA,MAAe,SAAOD,CAAO;AAAA,SACtDC,EAAA,KAAY,GAAA,GAAAG,CAAA;AAAA;;"}
1
+ {"version":3,"file":"DownloadReference-BKyZDsoj.mjs","sources":["../src/components/templates/DownloadReference.vue"],"sourcesContent":["<template>\n <a :href=\"href\" :download=\"saveFilename\" :class=\"classes\">{{\n saveFilename\n }}</a>\n</template>\n\n<script setup>\nimport { computed, toRefs, ref } from 'vue'\nimport { useRoute } from 'vue-router'\nimport { useSphinxStore } from '@/stores/sphinx'\n\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})\n\nconst { node } = toRefs(props)\nconst route = useRoute()\nconst sphinxStore = useSphinxStore()\n\nconst href = computed(() => {\n let downloadHref = node.value.getAttribute('filename')\n if (\n downloadHref &&\n !downloadHref.startsWith('/') &&\n !downloadHref.startsWith('http')\n ) {\n const routeURL = determineRouteUrl(route)\n downloadHref = [sphinxStore.getDownloadURL(routeURL), downloadHref].join(\n '/',\n )\n }\n return downloadHref\n})\n\nconst targetParts = node.value.getAttribute('reftarget').split('/')\nconst downloadName = targetParts[targetParts.length - 1]\nconst classes = ['reference', 'internal', node.value.getAttribute('reftype')]\n\n// Need to use a refernce variable in the template bound attributes.\nconst saveFilename = ref('not-set')\nsaveFilename.value = downloadName\n</script>\n"],"names":["props","__props","node","toRefs","route","useRoute","sphinxStore","useSphinxStore","href","computed","downloadHref","routeURL","determineRouteUrl","targetParts","downloadName","classes","saveFilename","ref","_createElementBlock","_hoisted_1"],"mappings":";;;;;;;;;;;;;;;AAaA,UAAMA,IAAQC,GAUR,EAAE,MAAAC,EAAI,IAAKC,EAAOH,CAAK,GACvBI,IAAQC,EAAQ,GAChBC,IAAcC,EAAc,GAE5BC,IAAOC,EAAS,MAAM;AAC1B,UAAIC,IAAeR,EAAK,MAAM,aAAa,UAAU;AACrD,UACEQ,KACA,CAACA,EAAa,WAAW,GAAG,KAC5B,CAACA,EAAa,WAAW,MAAM,GAC/B;AACA,cAAMC,IAAWC,EAAkBR,CAAK;AACxC,QAAAM,IAAe,CAACJ,EAAY,eAAeK,CAAQ,GAAGD,CAAY,EAAE;AAAA,UAClE;AAAA,QACN;AAAA,MACE;AACA,aAAOA;AAAA,IACT,CAAC,GAEKG,IAAcX,EAAK,MAAM,aAAa,WAAW,EAAE,MAAM,GAAG,GAC5DY,IAAeD,EAAYA,EAAY,SAAS,CAAC,GACjDE,IAAU,CAAC,aAAa,YAAYb,EAAK,MAAM,aAAa,SAAS,CAAC,GAGtEc,IAAeC,EAAI,SAAS;AAClC,WAAAD,EAAa,QAAQF,mBA/CnBI,EAEM,KAAA;AAAA,MAFF,MAAMV,EAAA;AAAA,MAAO,UAAUQ,EAAA;AAAA,MAAe,SAAOD,CAAO;AAAA,SACtDC,EAAA,KAAY,GAAA,GAAAG,CAAA;AAAA;;"}
@@ -1,6 +1,6 @@
1
1
  import { toRefs as f, ref as v, computed as g, createElementBlock as a, openBlock as r, normalizeProps as _, guardReactiveProps as h, Fragment as y, renderList as b, unref as k, createBlock as C, resolveDynamicComponent as B } from "vue";
2
- import { u as N, a as j } from "./Document-PZAyvjWh.mjs";
3
- import { u as x } from "./methods-ClbyDlbW.mjs";
2
+ import { u as N, a as j } from "./Document-Ciwh11I6.mjs";
3
+ import { u as x } from "./methods-DhzaI6N4.mjs";
4
4
  const R = {
5
5
  __name: "Figure",
6
6
  props: {
@@ -35,4 +35,4 @@ const R = {
35
35
  export {
36
36
  R as default
37
37
  };
38
- //# sourceMappingURL=Figure-BV3wzLZX.mjs.map
38
+ //# sourceMappingURL=Figure-fjT2FOsJ.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Figure-BV3wzLZX.mjs","sources":["../src/components/templates/Figure.vue"],"sourcesContent":["<template>\n <figure :=\"attrs\">\n <component\n v-for=\"(c, index) in children\"\n :key=\"'figure_component_' + index\"\n :is=\"c.component\"\n :node=\"c.node\"\n :componentName=\"c.name\"\n :properties=\"c.properties\"\n />\n </figure>\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 combinerdClasses = computed(() => {\n let c = [...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\nattrs.value = dataObject(node.value, combinerdClasses.value).attrs\n</script>\n"],"names":["props","__props","dataObject","useMethods","node","toRefs","attrs","ref","classes","useClasses","children","useChildren","combinerdClasses","computed","c","attr","_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,IAAmBC,EAAS,MAAM;AACtC,UAAIC,IAAI,CAAC,GAAGN,EAAQ,KAAK;AACzB,iBAAWO,KAAQX,EAAK,MAAM;AAC5B,QAAIW,EAAK,SAAS,WAChBD,EAAE,KAAK,WAAWC,EAAK,KAAK;AAGhC,aAAOD;AAAA,IACT,CAAC;AAED,WAAAR,EAAM,QAAQJ,EAAWE,EAAK,OAAOQ,EAAiB,KAAK,EAAE,kBAhD3DI,EAAA,GAAAC,EASS,cATEX,EAAA,KAAK,CAAA,GAAA;AAAA,OACdU,EAAA,EAAA,GAAAC,EAOEC,GAAA,MAAAC,EANqBC,EAAAV,CAAA,GAAQ,CAArBI,GAAGO,YADbC,EAOEC,EAJKT,EAAE,SAAS,GAAA;AAAA,QADf,2BAA2BO;AAAA,QAE3B,MAAMP,EAAE;AAAA,QACR,eAAeA,EAAE;AAAA,QACjB,YAAYA,EAAE;AAAA;;;;"}
1
+ {"version":3,"file":"Figure-fjT2FOsJ.mjs","sources":["../src/components/templates/Figure.vue"],"sourcesContent":["<template>\n <figure :=\"attrs\">\n <component\n v-for=\"(c, index) in children\"\n :key=\"'figure_component_' + index\"\n :is=\"c.component\"\n :node=\"c.node\"\n :componentName=\"c.name\"\n :properties=\"c.properties\"\n />\n </figure>\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 combinerdClasses = computed(() => {\n let c = [...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\nattrs.value = dataObject(node.value, combinerdClasses.value).attrs\n</script>\n"],"names":["props","__props","dataObject","useMethods","node","toRefs","attrs","ref","classes","useClasses","children","useChildren","combinerdClasses","computed","c","attr","_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,IAAmBC,EAAS,MAAM;AACtC,UAAIC,IAAI,CAAC,GAAGN,EAAQ,KAAK;AACzB,iBAAWO,KAAQX,EAAK,MAAM;AAC5B,QAAIW,EAAK,SAAS,WAChBD,EAAE,KAAK,WAAWC,EAAK,KAAK;AAGhC,aAAOD;AAAA,IACT,CAAC;AAED,WAAAR,EAAM,QAAQJ,EAAWE,EAAK,OAAOQ,EAAiB,KAAK,EAAE,kBAhD3DI,EAAA,GAAAC,EASS,cATEX,EAAA,KAAK,CAAA,GAAA;AAAA,OACdU,EAAA,EAAA,GAAAC,EAOEC,GAAA,MAAAC,EANqBC,EAAAV,CAAA,GAAQ,CAArBI,GAAGO,YADbC,EAOEC,EAJKT,EAAE,SAAS,GAAA;AAAA,QADf,2BAA2BO;AAAA,QAE3B,MAAMP,EAAE;AAAA,QACR,eAAeA,EAAE;AAAA,QACjB,YAAYA,EAAE;AAAA;;;;"}
@@ -1,6 +1,6 @@
1
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";
2
+ import { u as N, a as x } from "./Document-Ciwh11I6.mjs";
3
+ import { u as F } from "./methods-DhzaI6N4.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-DPm7W0CJ.mjs.map
41
+ //# sourceMappingURL=FigureCaption-CyYfEcCd.mjs.map
@@ -1 +1 @@
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
+ {"version":3,"file":"FigureCaption-CyYfEcCd.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
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";
2
+ import { u as k } from "./methods-DhzaI6N4.mjs";
3
+ import { a as g } from "./Document-Ciwh11I6.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-DAEfbxUi.mjs.map
33
+ //# sourceMappingURL=Footnote-DVcKM62Z.mjs.map
@@ -1 +1 @@
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
+ {"version":3,"file":"Footnote-DVcKM62Z.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
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-ClbyDlbW.mjs";
4
- import { u as C } from "./basereference-7wajqzV8.mjs";
3
+ import { u as y } from "./methods-DhzaI6N4.mjs";
4
+ import { u as C } from "./basereference-B1sG1P00.mjs";
5
5
  const g = ["href"], S = {
6
6
  __name: "FootnoteReference",
7
7
  props: {
@@ -36,4 +36,4 @@ const g = ["href"], S = {
36
36
  export {
37
37
  S as default
38
38
  };
39
- //# sourceMappingURL=FootnoteReference-Bi6FG4qF.mjs.map
39
+ //# sourceMappingURL=FootnoteReference-CevmkftO.mjs.map
@@ -1 +1 @@
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;;;"}
1
+ {"version":3,"file":"FootnoteReference-CevmkftO.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;;;"}
@@ -1,8 +1,8 @@
1
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
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";
3
+ import { u as _, d as I } from "./entry-NtWSzZvs.mjs";
4
+ import { u as S } from "./methods-DhzaI6N4.mjs";
5
+ import { a as U } from "./Document-Ciwh11I6.mjs";
6
6
  const B = {
7
7
  __name: "Image",
8
8
  props: {
@@ -34,4 +34,4 @@ const B = {
34
34
  export {
35
35
  B as default
36
36
  };
37
- //# sourceMappingURL=Image-UjDGAe4v.mjs.map
37
+ //# sourceMappingURL=Image-BkvoN6Va.mjs.map
@@ -1 +1 @@
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
+ {"version":3,"file":"Image-BkvoN6Va.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
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";
2
+ import { a as y, u as g } from "./Document-Ciwh11I6.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-BL0KvT6x.mjs.map
35
+ //# sourceMappingURL=Legend-zR_qvYxu.mjs.map
@@ -1 +1 @@
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
+ {"version":3,"file":"Legend-zR_qvYxu.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
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";
2
+ import { a as h } from "./Document-Ciwh11I6.mjs";
3
+ import { u as B } from "./methods-DhzaI6N4.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-yNMN4PnM.mjs.map
33
+ //# sourceMappingURL=LineBlock-DRrGaTVf.mjs.map
@@ -1 +1 @@
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
+ {"version":3,"file":"LineBlock-DRrGaTVf.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
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";
2
+ import { u as h } from "./methods-DhzaI6N4.mjs";
3
+ import { a as k } from "./Document-Ciwh11I6.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-D8mP9JxV.mjs.map
34
+ //# sourceMappingURL=LineSingle-0djhboXu.mjs.map
@@ -1 +1 @@
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
+ {"version":3,"file":"LineSingle-0djhboXu.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;;;;"}