vue3-sphinx-xml 0.4.1 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (104) hide show
  1. package/dist/Admonition-mKTxm7FA.mjs +36 -0
  2. package/dist/{Admonition-4dbe3f53.mjs.map → Admonition-mKTxm7FA.mjs.map} +1 -1
  3. package/dist/BlockQuote-CHndoK9X.mjs +34 -0
  4. package/dist/{BlockQuote-0b464fcb.mjs.map → BlockQuote-CHndoK9X.mjs.map} +1 -1
  5. package/dist/CaptionNumber-sPHsgDmY.mjs +36 -0
  6. package/dist/{CaptionNumber-02430764.mjs.map → CaptionNumber-sPHsgDmY.mjs.map} +1 -1
  7. package/dist/{ColumnGroup-baa1b99b.mjs → ColumnGroup-3gX9uzXr.mjs} +1 -1
  8. package/dist/{ColumnGroup-baa1b99b.mjs.map → ColumnGroup-3gX9uzXr.mjs.map} +1 -1
  9. package/dist/{Comment-f2157760.mjs → Comment-BazBmRUy.mjs} +1 -1
  10. package/dist/{Comment-f2157760.mjs.map → Comment-BazBmRUy.mjs.map} +1 -1
  11. package/dist/Compound-CuyWvjJc.mjs +30 -0
  12. package/dist/{Compound-ae2a8a98.mjs.map → Compound-CuyWvjJc.mjs.map} +1 -1
  13. package/dist/Container-BI_-sUj5.mjs +50 -0
  14. package/dist/{Container-19a7431d.mjs.map → Container-BI_-sUj5.mjs.map} +1 -1
  15. package/dist/{DirectElementMap-4c6f8e80.mjs → DirectElementMap-BxB8uEd3.mjs} +1 -1
  16. package/dist/DirectElementMap-BxB8uEd3.mjs.map +1 -0
  17. package/dist/DownloadReference-Coj1rk-Q.mjs +36 -0
  18. package/dist/{DownloadReference-1df41bf0.mjs.map → DownloadReference-Coj1rk-Q.mjs.map} +1 -1
  19. package/dist/Figure-cm9jrp4J.mjs +38 -0
  20. package/dist/{Figure-12e7efef.mjs.map → Figure-cm9jrp4J.mjs.map} +1 -1
  21. package/dist/{FigureCaption-7b351f25.mjs → FigureCaption-CEewNKB3.mjs} +12 -17
  22. package/dist/{FigureCaption-7b351f25.mjs.map → FigureCaption-CEewNKB3.mjs.map} +1 -1
  23. package/dist/Footnote-CsDVGKIf.mjs +33 -0
  24. package/dist/{Footnote-e4b02243.mjs.map → Footnote-CsDVGKIf.mjs.map} +1 -1
  25. package/dist/{FootnoteReference-b5b67601.mjs → FootnoteReference-mjr_CUNC.mjs} +10 -15
  26. package/dist/{FootnoteReference-b5b67601.mjs.map → FootnoteReference-mjr_CUNC.mjs.map} +1 -1
  27. package/dist/Image-DS2T9dhX.mjs +36 -0
  28. package/dist/{Image-15e1e5bd.mjs.map → Image-DS2T9dhX.mjs.map} +1 -1
  29. package/dist/Legend-Buf610bh.mjs +35 -0
  30. package/dist/{Legend-878a7ec8.mjs.map → Legend-Buf610bh.mjs.map} +1 -1
  31. package/dist/{LineBlock-8eec127a.mjs → LineBlock-CC9E637d.mjs} +9 -14
  32. package/dist/{LineBlock-8eec127a.mjs.map → LineBlock-CC9E637d.mjs.map} +1 -1
  33. package/dist/LineSingle-Dlzi5iIV.mjs +34 -0
  34. package/dist/{LineSingle-6a9fabdf.mjs.map → LineSingle-Dlzi5iIV.mjs.map} +1 -1
  35. package/dist/{Literal-edb2ce6f.mjs → Literal-DYTpCjPv.mjs} +13 -18
  36. package/dist/{Literal-edb2ce6f.mjs.map → Literal-DYTpCjPv.mjs.map} +1 -1
  37. package/dist/LiteralBlock-DKVDMrJf.mjs +37 -0
  38. package/dist/{LiteralBlock-a2af758b.mjs.map → LiteralBlock-DKVDMrJf.mjs.map} +1 -1
  39. package/dist/{Math-7ccdef36.mjs → Math-DMrgdPIM.mjs} +1 -1
  40. package/dist/Math-DMrgdPIM.mjs.map +1 -0
  41. package/dist/{MathBlock-f8b3d549.mjs → MathBlock-DdqKjCSS.mjs} +5 -5
  42. package/dist/{MathBlock-f8b3d549.mjs.map → MathBlock-DdqKjCSS.mjs.map} +1 -1
  43. package/dist/Note-BlaELec8.mjs +34 -0
  44. package/dist/{Note-4413dcab.mjs.map → Note-BlaELec8.mjs.map} +1 -1
  45. package/dist/{NumberReference-2143cb23.mjs → NumberReference-bjITftY4.mjs} +13 -18
  46. package/dist/{NumberReference-2143cb23.mjs.map → NumberReference-bjITftY4.mjs.map} +1 -1
  47. package/dist/Problematic-CVEE4P8F.mjs +36 -0
  48. package/dist/{Problematic-3d793374.mjs.map → Problematic-CVEE4P8F.mjs.map} +1 -1
  49. package/dist/{Raw-dcdd7f96.mjs → Raw-DuZmU9hd.mjs} +1 -1
  50. package/dist/{Raw-dcdd7f96.mjs.map → Raw-DuZmU9hd.mjs.map} +1 -1
  51. package/dist/{Reference-80a8b234.mjs → Reference-Orh-jOnR.mjs} +14 -18
  52. package/dist/{Reference-80a8b234.mjs.map → Reference-Orh-jOnR.mjs.map} +1 -1
  53. package/dist/Section-CdTfeVfc.mjs +37 -0
  54. package/dist/{Section-9ba27ca3.mjs.map → Section-CdTfeVfc.mjs.map} +1 -1
  55. package/dist/{Skip-4a46064f.mjs → Skip-CRGkjuMM.mjs} +1 -1
  56. package/dist/Skip-CRGkjuMM.mjs.map +1 -0
  57. package/dist/{StandardElement-64bcb6c4.mjs → StandardElement-CBBrXX4Q.mjs} +15 -20
  58. package/dist/{StandardElement-64bcb6c4.mjs.map → StandardElement-CBBrXX4Q.mjs.map} +1 -1
  59. package/dist/{Text-0d6b5332.mjs → Text-CT8nEMkp.mjs} +1 -1
  60. package/dist/Text-CT8nEMkp.mjs.map +1 -0
  61. package/dist/Title-3Cns5zt2.mjs +44 -0
  62. package/dist/{Title-4ea6531d.mjs.map → Title-3Cns5zt2.mjs.map} +1 -1
  63. package/dist/TodoNode-BR2gUVop.mjs +38 -0
  64. package/dist/{TodoNode-9696576f.mjs.map → TodoNode-BR2gUVop.mjs.map} +1 -1
  65. package/dist/Topic-CGDYI81Y.mjs +36 -0
  66. package/dist/{Topic-5c1f63eb.mjs.map → Topic-CGDYI81Y.mjs.map} +1 -1
  67. package/dist/{Transition-3485737d.mjs → Transition-CWMp4Zlv.mjs} +1 -1
  68. package/dist/{Transition-3485737d.mjs.map → Transition-CWMp4Zlv.mjs.map} +1 -1
  69. package/dist/Warning-Cl6MS7S9.mjs +42 -0
  70. package/dist/{Warning-5cbf4ef9.mjs.map → Warning-Cl6MS7S9.mjs.map} +1 -1
  71. package/dist/{basereference-dc2b6871.mjs → basereference-CBz3BfwU.mjs} +3 -3
  72. package/dist/{basereference-dc2b6871.mjs.map → basereference-CBz3BfwU.mjs.map} +1 -1
  73. package/dist/{entry-185f60c1.mjs → entry-BmRN0Y-U.mjs} +2153 -2150
  74. package/dist/entry-BmRN0Y-U.mjs.map +1 -0
  75. package/dist/{methods-f5038371.mjs → methods-DeDVNJrB.mjs} +2 -2
  76. package/dist/{methods-f5038371.mjs.map → methods-DeDVNJrB.mjs.map} +1 -1
  77. package/dist/style.css +1 -1
  78. package/dist/vue3-sphinx-xml.mjs +3 -7
  79. package/dist/vue3-sphinx-xml.mjs.map +1 -1
  80. package/package.json +15 -16
  81. package/dist/Admonition-4dbe3f53.mjs +0 -41
  82. package/dist/BlockQuote-0b464fcb.mjs +0 -39
  83. package/dist/CaptionNumber-02430764.mjs +0 -41
  84. package/dist/Compound-ae2a8a98.mjs +0 -35
  85. package/dist/Container-19a7431d.mjs +0 -55
  86. package/dist/DirectElementMap-4c6f8e80.mjs.map +0 -1
  87. package/dist/DownloadReference-1df41bf0.mjs +0 -40
  88. package/dist/Figure-12e7efef.mjs +0 -43
  89. package/dist/Footnote-e4b02243.mjs +0 -38
  90. package/dist/Image-15e1e5bd.mjs +0 -40
  91. package/dist/Legend-878a7ec8.mjs +0 -41
  92. package/dist/LineSingle-6a9fabdf.mjs +0 -40
  93. package/dist/LiteralBlock-a2af758b.mjs +0 -42
  94. package/dist/Math-7ccdef36.mjs.map +0 -1
  95. package/dist/Note-4413dcab.mjs +0 -39
  96. package/dist/Problematic-3d793374.mjs +0 -42
  97. package/dist/Section-9ba27ca3.mjs +0 -42
  98. package/dist/Skip-4a46064f.mjs.map +0 -1
  99. package/dist/Text-0d6b5332.mjs.map +0 -1
  100. package/dist/Title-4ea6531d.mjs +0 -49
  101. package/dist/TodoNode-9696576f.mjs +0 -44
  102. package/dist/Topic-5c1f63eb.mjs +0 -41
  103. package/dist/Warning-5cbf4ef9.mjs +0 -47
  104. package/dist/entry-185f60c1.mjs.map +0 -1
@@ -0,0 +1,36 @@
1
+ import { toRefs as v, ref as h, computed as y, openBlock as o, createElementBlock as r, 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-DeDVNJrB.mjs";
3
+ import { u as B, a as N } from "./entry-BmRN0Y-U.mjs";
4
+ const O = ["id"], L = {
5
+ __name: "Admonition",
6
+ props: {
7
+ node: {
8
+ type: void 0,
9
+ default: null
10
+ },
11
+ componentName: {
12
+ type: String
13
+ },
14
+ properties: {
15
+ type: Object
16
+ }
17
+ },
18
+ setup(c) {
19
+ const p = c, { node: e } = v(p), n = h({}), { dataObject: i, extractId: l } = x(), { classes: m } = B(e), { id: u } = l(e.value), { children: d } = N(e), f = y(() => ["admonition", ...m.value]), s = i(e.value, f.value);
20
+ return n.value = {
21
+ ...s.attrs,
22
+ class: s.class.join(" ")
23
+ }, (A, D) => (o(), r("div", k({ id: a(u) }, n.value), [
24
+ (o(!0), r(C, null, b(a(d), (t, _) => (o(), g(j(t.component), {
25
+ key: "admonition_component_" + _,
26
+ node: t.node,
27
+ componentName: t.name,
28
+ properties: t.properties
29
+ }, null, 8, ["node", "componentName", "properties"]))), 128))
30
+ ], 16, O));
31
+ }
32
+ };
33
+ export {
34
+ L as default
35
+ };
36
+ //# sourceMappingURL=Admonition-mKTxm7FA.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Admonition-4dbe3f53.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":["node","toRefs","props","attrs","ref","dataObject","extractId","useMethods","classes","useClasses","id","children","useChildren","combinedClasses","computed","result"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;iBAgCM,EAAE,MAAAA,EAAI,IAAKC,EAAOC,CAAK,GACvBC,IAAQC,EAAI,EAAE,GAEd,EAAE,YAAAC,GAAY,WAAAC,EAAW,IAAGC,EAAY,GACxC,EAAE,SAAAC,EAAO,IAAKC,EAAWT,CAAI,GAE7B,EAAE,IAAAU,EAAI,IAAGJ,EAAUN,EAAK,KAAK,GAE7B,EAAE,UAAAW,EAAQ,IAAKC,EAAYZ,CAAI,GAE/Ba,IAAkBC,EAAS,MACxB,CAAC,cAAc,GAAGN,EAAQ,KAAK,CACvC,GAEKO,IAASV,EAAWL,EAAK,OAAOa,EAAgB,KAAK;AAE3D,WAAAV,EAAM,QAAQ;AAAA,MACZ,GAAGY,EAAO;AAAA,MACV,OAAOA,EAAO,MAAM,KAAK,GAAG;AAAA,IAC9B;;;;;;;;;;"}
1
+ {"version":3,"file":"Admonition-mKTxm7FA.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"],"mappings":";;;;;;;;;;;;;;;;;;AAmBA,UAAMA,IAAQC,GAaR,EAAE,MAAAC,EAAI,IAAKC,EAAOH,CAAK,GACvBI,IAAQC,EAAI,CAAE,CAAA,GAEd,EAAE,YAAAC,GAAY,WAAAC,EAAS,IAAKC,EAAU,GACtC,EAAE,SAAAC,EAAO,IAAKC,EAAWR,CAAI,GAE7B,EAAE,IAAAS,EAAI,IAAGJ,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;;;;;;;;;;"}
@@ -0,0 +1,34 @@
1
+ import { toRefs as m, openBlock as o, createElementBlock as n, 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 "./entry-BmRN0Y-U.mjs";
3
+ const b = {
4
+ __name: "BlockQuote",
5
+ props: {
6
+ node: {
7
+ type: void 0,
8
+ default: null
9
+ },
10
+ componentName: {
11
+ type: String
12
+ },
13
+ properties: {
14
+ type: Object
15
+ }
16
+ },
17
+ setup(t) {
18
+ const r = t, { node: p } = m(r), { children: l } = _(p);
19
+ return (k, y) => (o(), n("blockquote", null, [
20
+ s("div", null, [
21
+ (o(!0), n(u, null, a(d(l), (e, c) => (o(), i(f(e.component), {
22
+ key: "blockquote_component_" + c,
23
+ node: e.node,
24
+ componentName: e.name,
25
+ properties: e.properties
26
+ }, null, 8, ["node", "componentName", "properties"]))), 128))
27
+ ])
28
+ ]));
29
+ }
30
+ };
31
+ export {
32
+ b as default
33
+ };
34
+ //# sourceMappingURL=BlockQuote-CHndoK9X.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"BlockQuote-0b464fcb.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":["node","toRefs","props","children","useChildren"],"mappings":";;;;;;;;;;;;;;;;;;;;;;iBAiCM,EAAE,MAAAA,EAAI,IAAKC,EAAOC,CAAK,GAEvB,EAAE,UAAAC,EAAQ,IAAKC,EAAYJ,CAAI;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"BlockQuote-CHndoK9X.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"],"mappings":";;;;;;;;;;;;;;;;;AAoBA,UAAMA,IAAQC,GAaR,EAAE,MAAAC,EAAI,IAAKC,EAAOH,CAAK,GAEvB,EAAE,UAAAI,EAAQ,IAAKC,EAAYH,CAAI;;;;;;;;;;;;;"}
@@ -0,0 +1,36 @@
1
+ import { toRefs as d, ref as f, computed as _, openBlock as n, createElementBlock as s, 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 "./entry-BmRN0Y-U.mjs";
3
+ import { u as B } from "./methods-DeDVNJrB.mjs";
4
+ const D = {
5
+ __name: "CaptionNumber",
6
+ props: {
7
+ node: {
8
+ type: void 0,
9
+ default: null
10
+ },
11
+ componentName: {
12
+ type: String
13
+ },
14
+ properties: {
15
+ type: Object
16
+ }
17
+ },
18
+ setup(a) {
19
+ const p = a, { dataObject: c } = B(), { node: t } = d(p), o = f({}), { classes: u } = g(t), { children: l } = j(t), m = _(() => ["caption-number", ...u.value]), r = c(t.value, m.value);
20
+ return o.value = {
21
+ ...r.attrs,
22
+ class: r.class.join(" ")
23
+ }, (x, O) => (n(), s("span", v(b(o.value)), [
24
+ (n(!0), s(y, null, C(h(l), (e, i) => (n(), k(N(e.component), {
25
+ key: "caption_number_" + i,
26
+ node: e.node,
27
+ componentName: e.name,
28
+ properties: e.properties
29
+ }, null, 8, ["node", "componentName", "properties"]))), 128))
30
+ ], 16));
31
+ }
32
+ };
33
+ export {
34
+ D as default
35
+ };
36
+ //# sourceMappingURL=CaptionNumber-sPHsgDmY.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"CaptionNumber-02430764.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":["dataObject","useMethods","node","toRefs","props","attrs","ref","classes","useClasses","children","useChildren","combinedClasses","computed","result"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;iBAgCM,EAAE,YAAAA,EAAY,IAAGC,EAAY,GAC7B,EAAE,MAAAC,EAAI,IAAKC,EAAOC,CAAK,GACvBC,IAAQC,EAAI,EAAE,GACd,EAAE,SAAAC,EAAO,IAAKC,EAAWN,CAAI,GAE7B,EAAE,UAAAO,EAAQ,IAAKC,EAAYR,CAAI,GAE/BS,IAAkBC,EAAS,MACxB,CAAC,kBAAkB,GAAGL,EAAQ,KAAK,CAC3C,GAEKM,IAASb,EAAWE,EAAK,OAAOS,EAAgB,KAAK;AAC3D,WAAAN,EAAM,QAAQ;AAAA,MACV,GAAGQ,EAAO;AAAA,MACV,OAAOA,EAAO,MAAM,KAAK,GAAG;AAAA,IAC7B;;;;;;;;;;"}
1
+ {"version":3,"file":"CaptionNumber-sPHsgDmY.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"],"mappings":";;;;;;;;;;;;;;;;;;AAmBA,UAAMA,IAAQC,GAaR,EAAE,YAAAC,EAAY,IAAGC,EAAU,GAC3B,EAAE,MAAAC,EAAI,IAAKC,EAAOL,CAAK,GACvBM,IAAQC,EAAI,CAAE,CAAA,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;;;;;;;;;;"}
@@ -34,4 +34,4 @@ const _ = {
34
34
  export {
35
35
  _ as default
36
36
  };
37
- //# sourceMappingURL=ColumnGroup-baa1b99b.mjs.map
37
+ //# sourceMappingURL=ColumnGroup-3gX9uzXr.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ColumnGroup-baa1b99b.mjs","sources":["../src/components/templates/ColumnGroup.vue"],"sourcesContent":["<template>\n <colgroup>\n <col\n v-for=\"(v, index) in columnWidths\"\n :key=\"'col_' + index\"\n :style=\"'width: ' + v + '%'\"\n />\n </colgroup>\n</template>\n\n<script setup>\nimport { computed, toRefs } from 'vue'\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 { properties } = toRefs(props)\n\nconst columnWidths = computed(() => {\n let sum = 0\n let widths = []\n for (const value of properties.value.colspecs) {\n sum += Number(value)\n widths.push(Number(value))\n }\n let percentWidths = []\n for (const value of widths) {\n percentWidths.push((value / sum) * 100)\n }\n\n return percentWidths\n})\n</script>\n"],"names":["properties","toRefs","props","columnWidths","computed","sum","widths","value","percentWidths"],"mappings":";;;;;;;;;;;;;;;;iBA0BM,EAAE,YAAAA,EAAU,IAAKC,EAAOC,CAAK,GAE7BC,IAAeC,EAAS,MAAM;AAClC,UAAIC,IAAM,GACNC,IAAS,CAAE;AACf,iBAAWC,KAASP,EAAW,MAAM;AACnC,QAAAK,KAAO,OAAOE,CAAK,GACnBD,EAAO,KAAK,OAAOC,CAAK,CAAC;AAE3B,UAAIC,IAAgB,CAAE;AACtB,iBAAWD,KAASD;AAClB,QAAAE,EAAc,KAAMD,IAAQF,IAAO,GAAG;AAGxC,aAAOG;AAAA,IACT,CAAC;;;;;;;;;"}
1
+ {"version":3,"file":"ColumnGroup-3gX9uzXr.mjs","sources":["../src/components/templates/ColumnGroup.vue"],"sourcesContent":["<template>\n <colgroup>\n <col\n v-for=\"(v, index) in columnWidths\"\n :key=\"'col_' + index\"\n :style=\"'width: ' + v + '%'\"\n />\n </colgroup>\n</template>\n\n<script setup>\nimport { computed, toRefs } from 'vue'\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 { properties } = toRefs(props)\n\nconst columnWidths = computed(() => {\n let sum = 0\n let widths = []\n for (const value of properties.value.colspecs) {\n sum += Number(value)\n widths.push(Number(value))\n }\n let percentWidths = []\n for (const value of widths) {\n percentWidths.push((value / sum) * 100)\n }\n\n return percentWidths\n})\n</script>\n"],"names":["props","__props","properties","toRefs","columnWidths","computed","sum","widths","value","percentWidths"],"mappings":";;;;;;;;;;;;;;;;AAaA,UAAMA,IAAQC,GAaR,EAAE,YAAAC,EAAU,IAAKC,EAAOH,CAAK,GAE7BI,IAAeC,EAAS,MAAM;AAClC,UAAIC,IAAM,GACNC,IAAS,CAAA;AACb,iBAAWC,KAASN,EAAW,MAAM;AACnC,QAAAI,KAAO,OAAOE,CAAK,GACnBD,EAAO,KAAK,OAAOC,CAAK,CAAC;AAE3B,UAAIC,IAAgB,CAAA;AACpB,iBAAWD,KAASD;AAClB,QAAAE,EAAc,KAAMD,IAAQF,IAAO,GAAG;AAGxC,aAAOG;AAAA,IACT,CAAC;;;;;;;;;"}
@@ -28,4 +28,4 @@ const l = {
28
28
  export {
29
29
  f as default
30
30
  };
31
- //# sourceMappingURL=Comment-f2157760.mjs.map
31
+ //# sourceMappingURL=Comment-BazBmRUy.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Comment-f2157760.mjs","sources":["../src/components/CommentNode.vue","../src/components/templates/Comment.vue"],"sourcesContent":["<script>\n import { createCommentVNode } from 'vue'\n export default {\n props: ['content'],\n setup(props) {\n return () => createCommentVNode(props.content || '')\n }\n }\n</script>","<template>\n <comment-node :content=\"text\" />\n</template>\n\n<script setup>\nimport { toRefs, ref } from 'vue'\nimport CommentNode from '../CommentNode.vue'\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 text = ref('')\n\nfor (const n of node.value.childNodes) {\n text.value += n.nodeValue\n}\n</script>\n"],"names":["_sfc_main","props","createCommentVNode","node","toRefs","text","ref"],"mappings":";AAEE,MAAKA,IAAU;AAAA,EACb,OAAO,CAAC,SAAS;AAAA,EACjB,MAAMC,GAAO;AACX,WAAO,MAAMC,EAAmBD,EAAM,WAAW,EAAE;AAAA,EACrD;AACF;;;;;;;;;;;;;;;iBCcI,EAAE,MAAAE,EAAI,IAAKC,EAAOH,CAAK,GACvBI,IAAOC,EAAI,EAAE;AAEnB,eAAW,KAAKH,EAAK,MAAM;AACzB,MAAAE,EAAK,SAAS,EAAE;;;;"}
1
+ {"version":3,"file":"Comment-BazBmRUy.mjs","sources":["../src/components/CommentNode.vue","../src/components/templates/Comment.vue"],"sourcesContent":["<script>\n import { createCommentVNode } from 'vue'\n export default {\n props: ['content'],\n setup(props) {\n return () => createCommentVNode(props.content || '')\n }\n }\n</script>","<template>\n <comment-node :content=\"text\" />\n</template>\n\n<script setup>\nimport { toRefs, ref } from 'vue'\nimport CommentNode from '../CommentNode.vue'\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 text = ref('')\n\nfor (const n of node.value.childNodes) {\n text.value += n.nodeValue\n}\n</script>\n"],"names":["_sfc_main","props","createCommentVNode","__props","node","toRefs","text","ref"],"mappings":";AAEE,MAAKA,IAAU;AAAA,EACb,OAAO,CAAC,SAAS;AAAA,EACjB,MAAMC,GAAO;AACX,WAAO,MAAMC,EAAmBD,EAAM,WAAW,EAAE;AAAA,EACrD;AACF;;;;;;;;;;;;;;;ACCF,UAAMA,IAAQE,GAaR,EAAE,MAAAC,EAAI,IAAKC,EAAOJ,CAAK,GACvBK,IAAOC,EAAI,EAAE;AAEnB,eAAW,KAAKH,EAAK,MAAM;AACzB,MAAAE,EAAK,SAAS,EAAE;;;;"}
@@ -0,0 +1,30 @@
1
+ import { toRefs as c, openBlock as n, createElementBlock as s, Fragment as a, renderList as l, unref as u, createBlock as d, resolveDynamicComponent as i } from "vue";
2
+ import { a as f } from "./entry-BmRN0Y-U.mjs";
3
+ const B = {
4
+ __name: "Compound",
5
+ props: {
6
+ node: {
7
+ type: void 0,
8
+ default: null
9
+ },
10
+ componentName: {
11
+ type: String
12
+ },
13
+ properties: {
14
+ type: Object
15
+ }
16
+ },
17
+ setup(o) {
18
+ const t = o, { node: r } = c(t), { children: p } = f(r);
19
+ return (_, y) => (n(!0), s(a, null, l(u(p), (e, m) => (n(), d(i(e.component), {
20
+ key: "compound_component_" + m,
21
+ node: e.node,
22
+ componentName: e.name,
23
+ properties: e.properties
24
+ }, null, 8, ["node", "componentName", "properties"]))), 128));
25
+ }
26
+ };
27
+ export {
28
+ B as default
29
+ };
30
+ //# sourceMappingURL=Compound-CuyWvjJc.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Compound-ae2a8a98.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":["node","toRefs","props","children","useChildren"],"mappings":";;;;;;;;;;;;;;;;;;;;;;iBA6BM,EAAE,MAAAA,EAAI,IAAKC,EAAOC,CAAK,GAEvB,EAAE,UAAAC,EAAQ,IAAKC,EAAYJ,CAAI;;;;;;;;;"}
1
+ {"version":3,"file":"Compound-CuyWvjJc.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"],"mappings":";;;;;;;;;;;;;;;;;AAgBA,UAAMA,IAAQC,GAaR,EAAE,MAAAC,EAAI,IAAKC,EAAOH,CAAK,GAEvB,EAAE,UAAAI,EAAQ,IAAKC,EAAYH,CAAI;;;;;;;;;"}
@@ -0,0 +1,50 @@
1
+ import { toRefs as _, ref as a, onMounted as b, openBlock as s, createElementBlock as u, 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 "./entry-BmRN0Y-U.mjs";
3
+ import { u as A } from "./methods-DeDVNJrB.mjs";
4
+ const I = {
5
+ __name: "Container",
6
+ props: {
7
+ node: {
8
+ type: void 0,
9
+ default: null
10
+ },
11
+ componentName: {
12
+ type: String
13
+ },
14
+ properties: {
15
+ type: Object
16
+ }
17
+ },
18
+ setup(p) {
19
+ const d = p, { node: l } = _(d), { children: m } = B(l), { classes: t } = H(l), { toggleActiveClass: f } = A(), n = a([]), r = a(!1), c = a(null);
20
+ n.value = [...t.value];
21
+ function v() {
22
+ f(n.value);
23
+ let i = n.value.indexOf("active") === -1 ? "none" : "block", e = c.value.nextElementSibling;
24
+ for (; e !== null; )
25
+ e.style.display = i, e = e.nextElementSibling;
26
+ }
27
+ return b(() => {
28
+ if (t.value.includes("header") || t.value.includes("header-left")) {
29
+ n.value.push("inactive");
30
+ const o = l.value.parentElement;
31
+ o && o.getAttribute("classes").includes("toggle") && (r.value = !0, n.value.push("toggle-header"));
32
+ }
33
+ t.value.includes("tab2name") && console.log("***** IN USE tab2name found ??? *****");
34
+ }), (o, i) => (s(), u("div", h({ class: n.value }, { [y(r.value && "click")]: v }, {
35
+ ref_key: "containerElement",
36
+ ref: c
37
+ }), [
38
+ (s(!0), u(k, null, x(C(m), (e, g) => (s(), E(S(e.component), {
39
+ key: "container_component_" + g,
40
+ node: e.node,
41
+ componentName: e.name,
42
+ properties: e.properties
43
+ }, null, 8, ["node", "componentName", "properties"]))), 128))
44
+ ], 16));
45
+ }
46
+ }, j = /* @__PURE__ */ N(I, [["__scopeId", "data-v-6c083687"]]);
47
+ export {
48
+ j as default
49
+ };
50
+ //# sourceMappingURL=Container-BI_-sUj5.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Container-19a7431d.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":["node","toRefs","props","children","useChildren","classes","useClasses","toggleActiveClass","useMethods","combinedClasses","ref","isToggleHeader","containerElement","toggleHeaderClicked","blockType","elementSibling","onMounted","parent"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;iBAoCM,EAAE,MAAAA,EAAI,IAAKC,EAAOC,CAAK,GAEvB,EAAE,UAAAC,EAAQ,IAAKC,EAAYJ,CAAI,GAC/B,EAAE,SAAAK,EAAO,IAAKC,EAAWN,CAAI,GAC7B,EAAE,mBAAAO,EAAmB,IAAGC,EAAY,GAEpCC,IAAkBC,EAAI,EAAE,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,IAASjB,EAAK,MAAM;AAC1B,QAAIiB,KACEA,EAAO,aAAa,SAAS,EAAE,SAAS,QAAQ,MAClDN,EAAe,QAAQ,IACvBF,EAAgB,MAAM,KAAK,eAAe;AAAA,MAG/C;AAED,MAAIJ,EAAQ,MAAM,SAAS,UAAU,KACnC,QAAQ,IAAI,uCAAuC;AAAA,IAEvD,CAAC;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"Container-BI_-sUj5.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"],"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,EAAmB,IAAGC,EAAU,GAElCC,IAAkBC,EAAI,CAAE,CAAA,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,MAGlD;AAEE,MAAIJ,EAAQ,MAAM,SAAS,UAAU,KACnC,QAAQ,IAAI,uCAAuC;AAAA,IAEvD,CAAC;;;;;;;;;;;;;"}
@@ -18,4 +18,4 @@ const _ = {
18
18
  export {
19
19
  _ as default
20
20
  };
21
- //# sourceMappingURL=DirectElementMap-4c6f8e80.mjs.map
21
+ //# sourceMappingURL=DirectElementMap-BxB8uEd3.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DirectElementMap-BxB8uEd3.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,36 @@
1
+ import { toRefs as p, computed as f, ref as m, openBlock as h, createElementBlock as g, normalizeClass as v, toDisplayString as _ } from "vue";
2
+ import { useRoute as w } from "vue-router";
3
+ import { b as R, d as S } from "./entry-BmRN0Y-U.mjs";
4
+ const b = ["href", "download"], D = {
5
+ __name: "DownloadReference",
6
+ props: {
7
+ node: {
8
+ type: void 0,
9
+ default: null
10
+ },
11
+ componentName: {
12
+ type: String
13
+ }
14
+ },
15
+ setup(s) {
16
+ const a = s, { node: t } = p(a), l = w(), c = R(), u = f(() => {
17
+ let e = t.value.getAttribute("filename");
18
+ if (e && !e.startsWith("/") && !e.startsWith("http")) {
19
+ const r = S(l);
20
+ e = [c.getDownloadURL(r), e].join(
21
+ "/"
22
+ );
23
+ }
24
+ return e;
25
+ }), n = t.value.getAttribute("reftarget").split("/"), i = n[n.length - 1], d = ["reference", "internal", t.value.getAttribute("reftype")], o = m("not-set");
26
+ return o.value = i, (e, r) => (h(), g("a", {
27
+ href: u.value,
28
+ download: o.value,
29
+ class: v(d)
30
+ }, _(o.value), 9, b));
31
+ }
32
+ };
33
+ export {
34
+ D as default
35
+ };
36
+ //# sourceMappingURL=DownloadReference-Coj1rk-Q.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"DownloadReference-1df41bf0.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":["node","toRefs","props","route","useRoute","sphinxStore","useSphinxStore","href","computed","downloadHref","routeURL","determineRouteUrl","targetParts","downloadName","classes","saveFilename","ref"],"mappings":";;;;;;;;;;;;;;;;;;;iBAuBM,EAAE,MAAAA,EAAI,IAAKC,EAAOC,CAAK,GACvBC,IAAQC,EAAU,GAClBC,IAAcC,EAAgB,GAE9BC,IAAOC,EAAS,MAAM;AAC1B,UAAIC,IAAeT,EAAK,MAAM,aAAa,UAAU;AACrD,UACES,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,QACD;AAAA,MACF;AACD,aAAOA;AAAA,IACT,CAAC,GAEKG,IAAcZ,EAAK,MAAM,aAAa,WAAW,EAAE,MAAM,GAAG,GAC5Da,IAAeD,EAAYA,EAAY,SAAS,CAAC,GACjDE,IAAU,CAAC,aAAa,YAAYd,EAAK,MAAM,aAAa,SAAS,CAAC,GAGtEe,IAAeC,EAAI,SAAS;AAClC,WAAAD,EAAa,QAAQF;;;;;;;"}
1
+ {"version":3,"file":"DownloadReference-Coj1rk-Q.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"],"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,MACA;AACE,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;;;;;;;"}
@@ -0,0 +1,38 @@
1
+ import { toRefs as f, ref as v, computed as g, openBlock as r, createElementBlock as a, 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 "./entry-BmRN0Y-U.mjs";
3
+ import { u as x } from "./methods-DeDVNJrB.mjs";
4
+ const R = {
5
+ __name: "Figure",
6
+ props: {
7
+ node: {
8
+ type: void 0,
9
+ default: null
10
+ },
11
+ componentName: {
12
+ type: String
13
+ },
14
+ properties: {
15
+ type: Object
16
+ }
17
+ },
18
+ setup(u) {
19
+ const p = u, { dataObject: c } = x(), { node: e } = f(p), s = v({}), { classes: l } = N(e), { children: m } = j(e), i = g(() => {
20
+ let o = [...l.value];
21
+ for (const n of e.value.attributes)
22
+ n.name === "align" && o.push("align-" + n.value);
23
+ return o;
24
+ });
25
+ return s.value = c(e.value, i.value).attrs, (o, n) => (r(), a("figure", _(h(s.value)), [
26
+ (r(!0), a(y, null, b(k(m), (t, d) => (r(), C(B(t.component), {
27
+ key: "figure_component_" + d,
28
+ node: t.node,
29
+ componentName: t.name,
30
+ properties: t.properties
31
+ }, null, 8, ["node", "componentName", "properties"]))), 128))
32
+ ], 16));
33
+ }
34
+ };
35
+ export {
36
+ R as default
37
+ };
38
+ //# sourceMappingURL=Figure-cm9jrp4J.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Figure-12e7efef.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":["dataObject","useMethods","node","toRefs","props","attrs","ref","classes","useClasses","children","useChildren","combinerdClasses","computed","c","attr"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;iBAgCM,EAAE,YAAAA,EAAY,IAAGC,EAAY,GAC7B,EAAE,MAAAC,EAAI,IAAKC,EAAOC,CAAK,GACvBC,IAAQC,EAAI,EAAE,GACd,EAAE,SAAAC,EAAO,IAAKC,EAAWN,CAAI,GAE7B,EAAE,UAAAO,EAAQ,IAAKC,EAAYR,CAAI,GAE/BS,IAAmBC,EAAS,MAAM;AACtC,UAAIC,IAAI,CAAC,GAAGN,EAAQ,KAAK;AACzB,iBAAWO,KAAQZ,EAAK,MAAM;AAC5B,QAAIY,EAAK,SAAS,WAChBD,EAAE,KAAK,WAAWC,EAAK,KAAK;AAGhC,aAAOD;AAAA,IACT,CAAC;AAED,WAAAR,EAAM,QAAQL,EAAWE,EAAK,OAAOS,EAAiB,KAAK,EAAE;;;;;;;;;;"}
1
+ {"version":3,"file":"Figure-cm9jrp4J.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"],"mappings":";;;;;;;;;;;;;;;;;;AAmBA,UAAMA,IAAQC,GAaR,EAAE,YAAAC,EAAY,IAAGC,EAAU,GAC3B,EAAE,MAAAC,EAAI,IAAKC,EAAOL,CAAK,GACvBM,IAAQC,EAAI,CAAE,CAAA,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;;;;;;;;;;"}
@@ -1,12 +1,7 @@
1
1
  import { toRefs as v, ref as g, computed as _, openBlock as r, createElementBlock as p, 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 "./entry-185f60c1.mjs";
3
- import { u as F } from "./methods-f5038371.mjs";
4
- import "@hsorby/vue3-katex";
5
- import "katex/dist/katex.min.css";
6
- import "vue-router";
7
- import "axios";
8
- import "path-to-regexp";
9
- const S = {
2
+ import { u as N, a as x } from "./entry-BmRN0Y-U.mjs";
3
+ import { u as F } from "./methods-DeDVNJrB.mjs";
4
+ const z = {
10
5
  __name: "FigureCaption",
11
6
  props: {
12
7
  node: {
@@ -21,16 +16,16 @@ const S = {
21
16
  }
22
17
  },
23
18
  setup(c) {
24
- const i = c, { dataObject: u } = F(), { node: e } = v(i), s = g({}), { classes: l } = N(e), { children: m } = x(e), d = _(() => {
25
- let o = ["figure-caption", ...l.value];
26
- for (const n of e.value.attributes)
27
- n.name === "align" && o.push("align-" + n.value);
28
- return o;
29
- }), a = u(e.value, d.value);
19
+ const u = c, { dataObject: l } = F(), { node: e } = v(u), s = g({}), { classes: i } = N(e), { children: m } = x(e), d = _(() => {
20
+ let n = ["figure-caption", ...i.value];
21
+ for (const o of e.value.attributes)
22
+ o.name === "align" && n.push("align-" + o.value);
23
+ return n;
24
+ }), a = l(e.value, d.value);
30
25
  return s.value = {
31
26
  ...a.attrs,
32
27
  class: a.class.join(" ")
33
- }, (o, n) => (r(), p("span", h(y(s.value)), [
28
+ }, (n, o) => (r(), p("span", h(y(s.value)), [
34
29
  (r(!0), p(C, null, b(k(m), (t, f) => (r(), j(B(t.component), {
35
30
  key: "figure_caption_" + f,
36
31
  node: t.node,
@@ -41,6 +36,6 @@ const S = {
41
36
  }
42
37
  };
43
38
  export {
44
- S as default
39
+ z as default
45
40
  };
46
- //# sourceMappingURL=FigureCaption-7b351f25.mjs.map
41
+ //# sourceMappingURL=FigureCaption-CEewNKB3.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"FigureCaption-7b351f25.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":["dataObject","useMethods","node","toRefs","props","attrs","ref","classes","useClasses","children","useChildren","combinedClasses","computed","c","attr","result"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;iBAgCM,EAAE,YAAAA,EAAY,IAAGC,EAAY,GAC7B,EAAE,MAAAC,EAAI,IAAKC,EAAOC,CAAK,GACvBC,IAAQC,EAAI,EAAE,GACd,EAAE,SAAAC,EAAO,IAAKC,EAAWN,CAAI,GAE7B,EAAE,UAAAO,EAAQ,IAAKC,EAAYR,CAAI,GAE/BS,IAAkBC,EAAS,MAAM;AACrC,UAAIC,IAAI,CAAC,kBAAkB,GAAGN,EAAQ,KAAK;AAC3C,iBAAWO,KAAQZ,EAAK,MAAM;AAC5B,QAAIY,EAAK,SAAS,WAChBD,EAAE,KAAK,WAAWC,EAAK,KAAK;AAGhC,aAAOD;AAAA,IACT,CAAC,GAEKE,IAASf,EAAWE,EAAK,OAAOS,EAAgB,KAAK;AAC3D,WAAAN,EAAM,QAAQ;AAAA,MACV,GAAGU,EAAO;AAAA,MACV,OAAOA,EAAO,MAAM,KAAK,GAAG;AAAA,IAC7B;;;;;;;;;;"}
1
+ {"version":3,"file":"FigureCaption-CEewNKB3.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"],"mappings":";;;;;;;;;;;;;;;;;;AAmBA,UAAMA,IAAQC,GAaR,EAAE,YAAAC,EAAY,IAAGC,EAAU,GAC3B,EAAE,MAAAC,EAAI,IAAKC,EAAOL,CAAK,GACvBM,IAAQC,EAAI,CAAE,CAAA,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;;;;;;;;;;"}
@@ -0,0 +1,33 @@
1
+ import { toRefs as l, ref as u, openBlock as o, createElementBlock as r, 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-DeDVNJrB.mjs";
3
+ import { a as g } from "./entry-BmRN0Y-U.mjs";
4
+ const C = {
5
+ __name: "Footnote",
6
+ props: {
7
+ node: {
8
+ type: void 0,
9
+ default: null
10
+ },
11
+ componentName: {
12
+ type: String
13
+ },
14
+ properties: {
15
+ type: Object
16
+ }
17
+ },
18
+ setup(p) {
19
+ const a = p, { node: t } = l(a), { children: s } = g(t), { dataObject: c } = k(), n = u({});
20
+ return n.value = c(t.value, ["footnote"]).attrs, (B, N) => (o(), r("div", i(d(n.value)), [
21
+ (o(!0), r(f, null, _(v(s), (e, m) => (o(), y(h(e.component), {
22
+ key: "footnote_component_" + m,
23
+ node: e.node,
24
+ componentName: e.name,
25
+ properties: e.properties
26
+ }, null, 8, ["node", "componentName", "properties"]))), 128))
27
+ ], 16));
28
+ }
29
+ };
30
+ export {
31
+ C as default
32
+ };
33
+ //# sourceMappingURL=Footnote-CsDVGKIf.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Footnote-e4b02243.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":["node","toRefs","props","children","useChildren","dataObject","useMethods","attrs","ref"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;iBAgCM,EAAE,MAAAA,EAAI,IAAKC,EAAOC,CAAK,GACvB,EAAE,UAAAC,EAAQ,IAAKC,EAAYJ,CAAI,GAC/B,EAAE,YAAAK,EAAY,IAAGC,EAAY,GAC7BC,IAAQC,EAAI,EAAE;AAEpB,WAAAD,EAAM,QAAQF,EAAWL,EAAK,OAAO,CAAC,UAAU,CAAC,EAAE;;;;;;;;;;"}
1
+ {"version":3,"file":"Footnote-CsDVGKIf.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"],"mappings":";;;;;;;;;;;;;;;;;;AAmBA,UAAMA,IAAQC,GAaR,EAAE,MAAAC,EAAI,IAAKC,EAAOH,CAAK,GACvB,EAAE,UAAAI,EAAQ,IAAKC,EAAYH,CAAI,GAC/B,EAAE,YAAAI,EAAY,IAAGC,EAAU,GAC3BC,IAAQC,EAAI,CAAE,CAAA;AAEpB,WAAAD,EAAM,QAAQF,EAAWJ,EAAK,OAAO,CAAC,UAAU,CAAC,EAAE;;;;;;;;;;"}
@@ -1,13 +1,8 @@
1
- import { ref as m, toRefs as f, onMounted as l, resolveComponent as _, unref as t, openBlock as n, createBlock as d, withCtx as h, createTextVNode as k, toDisplayString as r, createElementBlock as x } from "vue";
1
+ import { ref as i, toRefs as l, onMounted as m, resolveComponent as _, unref as t, openBlock as n, createBlock as d, withCtx as h, createTextVNode as k, toDisplayString as r, createElementBlock as x } from "vue";
2
2
  import { useRoute as R } from "vue-router";
3
- import { u as y } from "./methods-f5038371.mjs";
4
- import { u as C } from "./basereference-dc2b6871.mjs";
5
- import "./entry-185f60c1.mjs";
6
- import "@hsorby/vue3-katex";
7
- import "katex/dist/katex.min.css";
8
- import "axios";
9
- import "path-to-regexp";
10
- const g = ["href"], I = {
3
+ import { u as y } from "./methods-DeDVNJrB.mjs";
4
+ import { u as C } from "./basereference-CBz3BfwU.mjs";
5
+ const g = ["href"], S = {
11
6
  __name: "FootnoteReference",
12
7
  props: {
13
8
  node: {
@@ -19,10 +14,10 @@ const g = ["href"], I = {
19
14
  }
20
15
  },
21
16
  setup(s) {
22
- const c = s, o = m({ path: "", hash: "" }), { node: e } = f(c), a = R(), { isInternalReference: p } = y(), { onReferenceCreated: u } = C(e.value, a, o);
23
- return l(u), (B, v) => {
24
- const i = _("router-link");
25
- return t(p)(t(e)) ? (n(), d(i, {
17
+ const c = s, o = i({ path: "", hash: "" }), { node: e } = l(c), a = R(), { isInternalReference: u } = y(), { onReferenceCreated: f } = C(e.value, a, o);
18
+ return m(f), (B, v) => {
19
+ const p = _("router-link");
20
+ return t(u)(t(e)) ? (n(), d(p, {
26
21
  key: 0,
27
22
  to: o.value
28
23
  }, {
@@ -39,6 +34,6 @@ const g = ["href"], I = {
39
34
  }
40
35
  };
41
36
  export {
42
- I as default
37
+ S as default
43
38
  };
44
- //# sourceMappingURL=FootnoteReference-b5b67601.mjs.map
39
+ //# sourceMappingURL=FootnoteReference-mjr_CUNC.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"FootnoteReference-b5b67601.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":["routeDescription","ref","node","toRefs","props","route","useRoute","isInternalReference","useMethods","onReferenceCreated","useBaseReference","onMounted"],"mappings":";;;;;;;;;;;;;;;;;;;;;iBA0BMA,IAAmBC,EAAI,EAAC,MAAM,IAAI,MAAM,GAAE,CAAC,GAC3C,EAAE,MAAAC,EAAI,IAAKC,EAAOC,CAAK,GACvBC,IAAQC,EAAU,GAElB,EAAE,qBAAAC,EAAqB,IAAGC,EAAY,GACtC,EAAE,oBAAAC,EAAoB,IAAGC,EAAiBR,EAAK,OAAOG,GAAOL,CAAgB;AAEnF,WAAAW,EAAUF,CAAkB;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"FootnoteReference-mjr_CUNC.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"],"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,EAAqB,IAAGC,EAAU,GACpC,EAAE,oBAAAC,EAAoB,IAAGC,EAAiBP,EAAK,OAAOE,GAAOJ,CAAgB;AAEnF,WAAAU,EAAUF,CAAkB;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,36 @@
1
+ import { toRefs as m, ref as d, computed as f, openBlock as g, createElementBlock as h, normalizeProps as v, guardReactiveProps as R } from "vue";
2
+ import { useRoute as x } from "vue-router";
3
+ import { a as _, b as I, d as b } from "./entry-BmRN0Y-U.mjs";
4
+ import { u as S } from "./methods-DeDVNJrB.mjs";
5
+ const k = {
6
+ __name: "Image",
7
+ props: {
8
+ node: {
9
+ type: void 0,
10
+ default: null
11
+ },
12
+ componentName: {
13
+ type: String
14
+ },
15
+ properties: {
16
+ type: Object
17
+ }
18
+ },
19
+ setup(a) {
20
+ const n = a, { node: o } = m(n);
21
+ _(o);
22
+ const { dataObject: u } = S(), c = x(), i = I(), t = d({}), s = f(() => {
23
+ let e = o.value.getAttribute("uri");
24
+ if (e && !e.startsWith("/") && !e.startsWith("http")) {
25
+ const r = b(c), l = e.lastIndexOf("/"), p = e.slice(l);
26
+ e = [i.getImagesURL(r), p].join("/");
27
+ }
28
+ return e;
29
+ });
30
+ return t.value = u(o.value).attrs, t.value ? t.value.src = s : t.value = { src: s }, (e, r) => (g(), h("img", v(R(t.value)), null, 16));
31
+ }
32
+ };
33
+ export {
34
+ k as default
35
+ };
36
+ //# sourceMappingURL=Image-DS2T9dhX.mjs.map