vue3-sphinx-xml 0.6.0 → 0.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Admonition-CMl3cvE2.mjs +35 -0
- package/dist/Admonition-CMl3cvE2.mjs.map +1 -0
- package/dist/BlockQuote-BKx_62o5.mjs +31 -0
- package/dist/BlockQuote-BKx_62o5.mjs.map +1 -0
- package/dist/CaptionNumber-nNxMeKHq.mjs +35 -0
- package/dist/CaptionNumber-nNxMeKHq.mjs.map +1 -0
- package/dist/ColumnGroup-2vQ_pHZh.mjs +30 -0
- package/dist/ColumnGroup-2vQ_pHZh.mjs.map +1 -0
- package/dist/Comment-Ddfhp8tE.mjs +27 -0
- package/dist/Comment-Ddfhp8tE.mjs.map +1 -0
- package/dist/Compound-CkQCXGEt.mjs +31 -0
- package/dist/Compound-CkQCXGEt.mjs.map +1 -0
- package/dist/Container-atFAqvD8.mjs +47 -0
- package/dist/Container-atFAqvD8.mjs.map +1 -0
- package/dist/DirectElementMap-e91U7c-P.mjs +24 -0
- package/dist/DirectElementMap-e91U7c-P.mjs.map +1 -0
- package/dist/Document-D1U8scRh.mjs +33 -0
- package/dist/Document-D1U8scRh.mjs.map +1 -0
- package/dist/DownloadReference-C74uZBZQ.mjs +38 -0
- package/dist/DownloadReference-C74uZBZQ.mjs.map +1 -0
- package/dist/Figure-Ue2uoU0l.mjs +36 -0
- package/dist/Figure-Ue2uoU0l.mjs.map +1 -0
- package/dist/FigureCaption-BVSbJhF7.mjs +39 -0
- package/dist/FigureCaption-BVSbJhF7.mjs.map +1 -0
- package/dist/Footnote-wv5ClOwM.mjs +32 -0
- package/dist/Footnote-wv5ClOwM.mjs.map +1 -0
- package/dist/FootnoteReference-mnfh7KUg.mjs +39 -0
- package/dist/FootnoteReference-mnfh7KUg.mjs.map +1 -0
- package/dist/Image-BydrCE0c.mjs +33 -0
- package/dist/Image-BydrCE0c.mjs.map +1 -0
- package/dist/Legend-B9ZFxCXI.mjs +32 -0
- package/dist/Legend-B9ZFxCXI.mjs.map +1 -0
- package/dist/LineBlock-Bhl4CyLL.mjs +32 -0
- package/dist/LineBlock-Bhl4CyLL.mjs.map +1 -0
- package/dist/LineSingle-BL_nqRem.mjs +33 -0
- package/dist/LineSingle-BL_nqRem.mjs.map +1 -0
- package/dist/Literal-Di_CHJ29.mjs +35 -0
- package/dist/Literal-Di_CHJ29.mjs.map +1 -0
- package/dist/LiteralBlock-Bdicro3D.mjs +28 -0
- package/dist/LiteralBlock-Bdicro3D.mjs.map +1 -0
- package/dist/Math-B4qW3-mK.mjs +23 -0
- package/dist/Math-B4qW3-mK.mjs.map +1 -0
- package/dist/MathBlock-Bio5KFuK.mjs +46 -0
- package/dist/MathBlock-Bio5KFuK.mjs.map +1 -0
- package/dist/Note-BOdO-lVA.mjs +32 -0
- package/dist/Note-BOdO-lVA.mjs.map +1 -0
- package/dist/NumberReference-DbTzyFe1.mjs +47 -0
- package/dist/NumberReference-DbTzyFe1.mjs.map +1 -0
- package/dist/Problematic-BFPD4WML.mjs +31 -0
- package/dist/Problematic-BFPD4WML.mjs.map +1 -0
- package/dist/Raw-XpSGAGRS.mjs +11 -0
- package/dist/Raw-XpSGAGRS.mjs.map +1 -0
- package/dist/Reference-D8OfH1nX.mjs +51 -0
- package/dist/Reference-D8OfH1nX.mjs.map +1 -0
- package/dist/Section-dwBTFhT5.mjs +35 -0
- package/dist/Section-dwBTFhT5.mjs.map +1 -0
- package/dist/Skip-B3vfiW0s.mjs +18 -0
- package/dist/Skip-B3vfiW0s.mjs.map +1 -0
- package/dist/StandardElement-B3pz75MC.mjs +56 -0
- package/dist/StandardElement-B3pz75MC.mjs.map +1 -0
- package/dist/Text-h1FT9xAk.mjs +23 -0
- package/dist/Text-h1FT9xAk.mjs.map +1 -0
- package/dist/Title-DuLS-7An.mjs +43 -0
- package/dist/Title-DuLS-7An.mjs.map +1 -0
- package/dist/TodoNode-BD7LH2n4.mjs +36 -0
- package/dist/TodoNode-BD7LH2n4.mjs.map +1 -0
- package/dist/Topic-Bpn12S2P.mjs +35 -0
- package/dist/Topic-Bpn12S2P.mjs.map +1 -0
- package/dist/Transition-B03RGr-W.mjs +12 -0
- package/dist/Transition-B03RGr-W.mjs.map +1 -0
- package/dist/Warning-yrqj66sd.mjs +38 -0
- package/dist/Warning-yrqj66sd.mjs.map +1 -0
- package/dist/basereference-qnWrRZL-.mjs +31 -0
- package/dist/basereference-qnWrRZL-.mjs.map +1 -0
- package/dist/computed-CtquEsn0.mjs +237 -0
- package/dist/computed-CtquEsn0.mjs.map +1 -0
- package/dist/methods-D1vA1pFT.mjs +77 -0
- package/dist/methods-D1vA1pFT.mjs.map +1 -0
- package/dist/sphinx-BkN2WZRJ.mjs +1851 -0
- package/dist/sphinx-BkN2WZRJ.mjs.map +1 -0
- package/dist/utilities-RjHWUaCa.mjs +18 -0
- package/dist/utilities-RjHWUaCa.mjs.map +1 -0
- package/dist/vue3-sphinx-xml.css +2 -1
- package/dist/vue3-sphinx-xml.js +10 -7
- package/dist/vue3-sphinx-xml.js.map +1 -1
- package/dist/vue3-sphinx-xml.mjs +130 -8
- package/dist/vue3-sphinx-xml.mjs.map +1 -1
- package/package.json +11 -11
- package/dist/Admonition-gd-uJLmV.mjs +0 -36
- package/dist/Admonition-gd-uJLmV.mjs.map +0 -1
- package/dist/BlockQuote-Cx9XdFGZ.mjs +0 -34
- package/dist/BlockQuote-Cx9XdFGZ.mjs.map +0 -1
- package/dist/CaptionNumber-B3c0JP0T.mjs +0 -36
- package/dist/CaptionNumber-B3c0JP0T.mjs.map +0 -1
- package/dist/ColumnGroup-DYs1xB1a.mjs +0 -37
- package/dist/ColumnGroup-DYs1xB1a.mjs.map +0 -1
- package/dist/Comment-DpyTzHo4.mjs +0 -31
- package/dist/Comment-DpyTzHo4.mjs.map +0 -1
- package/dist/Compound-ByH1w0P6.mjs +0 -30
- package/dist/Compound-ByH1w0P6.mjs.map +0 -1
- package/dist/Container-CmVmxWIt.mjs +0 -50
- package/dist/Container-CmVmxWIt.mjs.map +0 -1
- package/dist/DirectElementMap-B-wTPjj0.mjs +0 -21
- package/dist/DirectElementMap-B-wTPjj0.mjs.map +0 -1
- package/dist/Document-PZAyvjWh.mjs +0 -230
- package/dist/Document-PZAyvjWh.mjs.map +0 -1
- package/dist/DownloadReference-CtG3pZe0.mjs +0 -36
- package/dist/DownloadReference-CtG3pZe0.mjs.map +0 -1
- package/dist/Figure-BV3wzLZX.mjs +0 -38
- package/dist/Figure-BV3wzLZX.mjs.map +0 -1
- package/dist/FigureCaption-DPm7W0CJ.mjs +0 -41
- package/dist/FigureCaption-DPm7W0CJ.mjs.map +0 -1
- package/dist/Footnote-DAEfbxUi.mjs +0 -33
- package/dist/Footnote-DAEfbxUi.mjs.map +0 -1
- package/dist/FootnoteReference-Bi6FG4qF.mjs +0 -39
- package/dist/FootnoteReference-Bi6FG4qF.mjs.map +0 -1
- package/dist/Image-UjDGAe4v.mjs +0 -37
- package/dist/Image-UjDGAe4v.mjs.map +0 -1
- package/dist/Legend-BL0KvT6x.mjs +0 -35
- package/dist/Legend-BL0KvT6x.mjs.map +0 -1
- package/dist/LineBlock-yNMN4PnM.mjs +0 -33
- package/dist/LineBlock-yNMN4PnM.mjs.map +0 -1
- package/dist/LineSingle-D8mP9JxV.mjs +0 -34
- package/dist/LineSingle-D8mP9JxV.mjs.map +0 -1
- package/dist/Literal-B3RMToDf.mjs +0 -42
- package/dist/Literal-B3RMToDf.mjs.map +0 -1
- package/dist/LiteralBlock-DSNLfJRQ.mjs +0 -37
- package/dist/LiteralBlock-DSNLfJRQ.mjs.map +0 -1
- package/dist/Math-Cq4PVbWU.mjs +0 -28
- package/dist/Math-Cq4PVbWU.mjs.map +0 -1
- package/dist/MathBlock-BQlgpnCi.mjs +0 -59
- package/dist/MathBlock-BQlgpnCi.mjs.map +0 -1
- package/dist/Note-DTXT2vL1.mjs +0 -34
- package/dist/Note-DTXT2vL1.mjs.map +0 -1
- package/dist/NumberReference-eWL-p05o.mjs +0 -48
- package/dist/NumberReference-eWL-p05o.mjs.map +0 -1
- package/dist/Problematic-DdYGUPom.mjs +0 -36
- package/dist/Problematic-DdYGUPom.mjs.map +0 -1
- package/dist/Raw-DuZmU9hd.mjs +0 -10
- package/dist/Raw-DuZmU9hd.mjs.map +0 -1
- package/dist/Reference-NuJMaVmj.mjs +0 -53
- package/dist/Reference-NuJMaVmj.mjs.map +0 -1
- package/dist/Section-CsKQgVcF.mjs +0 -37
- package/dist/Section-CsKQgVcF.mjs.map +0 -1
- package/dist/Skip-CRGkjuMM.mjs +0 -19
- package/dist/Skip-CRGkjuMM.mjs.map +0 -1
- package/dist/StandardElement-Cf1EpLze.mjs +0 -57
- package/dist/StandardElement-Cf1EpLze.mjs.map +0 -1
- package/dist/Text-CT8nEMkp.mjs +0 -24
- package/dist/Text-CT8nEMkp.mjs.map +0 -1
- package/dist/Title-DoIeD6eK.mjs +0 -44
- package/dist/Title-DoIeD6eK.mjs.map +0 -1
- package/dist/TodoNode-C6L-iGX4.mjs +0 -38
- package/dist/TodoNode-C6L-iGX4.mjs.map +0 -1
- package/dist/Topic-BrgzQGpm.mjs +0 -36
- package/dist/Topic-BrgzQGpm.mjs.map +0 -1
- package/dist/Transition-CWMp4Zlv.mjs +0 -15
- package/dist/Transition-CWMp4Zlv.mjs.map +0 -1
- package/dist/Warning-dcxt8LRd.mjs +0 -42
- package/dist/Warning-dcxt8LRd.mjs.map +0 -1
- package/dist/basereference-7wajqzV8.mjs +0 -42
- package/dist/basereference-7wajqzV8.mjs.map +0 -1
- package/dist/entry-CNV5B73A.mjs +0 -1990
- package/dist/entry-CNV5B73A.mjs.map +0 -1
- package/dist/methods-ClbyDlbW.mjs +0 -69
- package/dist/methods-ClbyDlbW.mjs.map +0 -1
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { toRefs as m, ref as i, createElementBlock as r, openBlock as o, normalizeProps as u, guardReactiveProps as d, Fragment as f, renderList as _, unref as g, createBlock as v, resolveDynamicComponent as y } from "vue";
|
|
2
|
-
import { u as h } from "./methods-ClbyDlbW.mjs";
|
|
3
|
-
import { a as k } from "./Document-PZAyvjWh.mjs";
|
|
4
|
-
const x = {
|
|
5
|
-
__name: "LineSingle",
|
|
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
|
-
console.log("***** IN USE *****");
|
|
20
|
-
const s = p, { node: n } = m(s), { children: a } = k(n), { dataObject: l } = h(), t = i({});
|
|
21
|
-
return t.value = l(n.value, ["line_single"]).attrs, (N, B) => (o(), r("div", u(d(t.value)), [
|
|
22
|
-
(o(!0), r(f, null, _(g(a), (e, c) => (o(), v(y(e.component), {
|
|
23
|
-
key: "footnote_component_" + c,
|
|
24
|
-
node: e.node,
|
|
25
|
-
componentName: e.name,
|
|
26
|
-
properties: e.properties
|
|
27
|
-
}, null, 8, ["node", "componentName", "properties"]))), 128))
|
|
28
|
-
], 16));
|
|
29
|
-
}
|
|
30
|
-
};
|
|
31
|
-
export {
|
|
32
|
-
x as default
|
|
33
|
-
};
|
|
34
|
-
//# sourceMappingURL=LineSingle-D8mP9JxV.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
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,42 +0,0 @@
|
|
|
1
|
-
import { toRefs as d, ref as f, createElementBlock as c, openBlock as o, normalizeClass as _, createElementVNode as y, Fragment as h, renderList as v, unref as g, createBlock as k, resolveDynamicComponent as E } from "vue";
|
|
2
|
-
import { u as N } from "./methods-ClbyDlbW.mjs";
|
|
3
|
-
import { a as B } from "./Document-PZAyvjWh.mjs";
|
|
4
|
-
const C = { class: "pre" }, O = {
|
|
5
|
-
__name: "Literal",
|
|
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(l) {
|
|
19
|
-
const p = l, { node: r } = d(p), { dataObject: i } = N(), { children: m } = B(r), s = f(["literal", "notranslate"]), e = i(r.value);
|
|
20
|
-
return ((n) => {
|
|
21
|
-
for (const a in n)
|
|
22
|
-
if (n[a].language !== "")
|
|
23
|
-
return !1;
|
|
24
|
-
return !0;
|
|
25
|
-
})(e) || e.attrs && e.attrs.role && s.value.push(e.attrs.role), (n, a) => (o(), c("code", {
|
|
26
|
-
class: _(s.value)
|
|
27
|
-
}, [
|
|
28
|
-
y("span", C, [
|
|
29
|
-
(o(!0), c(h, null, v(g(m), (t, u) => (o(), k(E(t.component), {
|
|
30
|
-
key: "code_component_" + u,
|
|
31
|
-
node: t.node,
|
|
32
|
-
componentName: t.name,
|
|
33
|
-
properties: t.properties
|
|
34
|
-
}, null, 8, ["node", "componentName", "properties"]))), 128))
|
|
35
|
-
])
|
|
36
|
-
], 2));
|
|
37
|
-
}
|
|
38
|
-
};
|
|
39
|
-
export {
|
|
40
|
-
O as default
|
|
41
|
-
};
|
|
42
|
-
//# sourceMappingURL=Literal-B3RMToDf.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Literal-B3RMToDf.mjs","sources":["../src/components/templates/Literal.vue"],"sourcesContent":["<template>\n <code :class=\"classes\">\n <span class=\"pre\">\n <component\n v-for=\"(c, index) in children\"\n :key=\"'code_component_' + index\"\n :is=\"c.component\"\n :node=\"c.node\"\n :componentName=\"c.name\"\n :properties=\"c.properties\"\n />\n </span>\n </code>\n</template>\n\n<script setup>\nimport { toRefs, ref } from 'vue'\n\nimport { useMethods } from '../../composables/methods'\nimport { useChildren } from '../../composables/computed'\n\nconst props = defineProps({\n node: {\n type: undefined,\n default: null,\n },\n componentName: {\n type: String,\n },\n properties: {\n type: Object,\n },\n})\n\nconst { node } = toRefs(props)\n\nconst { dataObject } = useMethods()\n\nconst { children } = useChildren(node)\n\nconst classes = ref(['literal', 'notranslate'])\n\nconst v = dataObject(node.value)\nconst isEmpty = (d) => {\n for (const i in d) {\n if (d[i].language === '') {\n continue\n }\n return false\n }\n\n return true\n}\n\nif (!isEmpty(v)) {\n if (v.attrs && v.attrs.role) {\n classes.value.push(v.attrs.role)\n }\n}\n</script>\n"],"names":["props","__props","node","toRefs","dataObject","useMethods","children","useChildren","classes","ref","v","d","i","_createElementBlock","_createElementVNode","_hoisted_1","_openBlock","_Fragment","_renderList","_unref","c","index","_createBlock","_resolveDynamicComponent"],"mappings":";;;;;;;;;;;;;;;;;;AAqBA,UAAMA,IAAQC,GAaR,EAAE,MAAAC,EAAI,IAAKC,EAAOH,CAAK,GAEvB,EAAE,YAAAI,EAAU,IAAKC,EAAU,GAE3B,EAAE,UAAAC,EAAQ,IAAKC,EAAYL,CAAI,GAE/BM,IAAUC,EAAI,CAAC,WAAW,aAAa,CAAC,GAExCC,IAAIN,EAAWF,EAAK,KAAK;AAY/B,YAXgB,CAACS,MAAM;AACrB,iBAAWC,KAAKD;AACd,YAAIA,EAAEC,CAAC,EAAE,aAAa;AAGtB,iBAAO;AAGT,aAAO;AAAA,IACT,GAEaF,CAAC,KACRA,EAAE,SAASA,EAAE,MAAM,QACrBF,EAAQ,MAAM,KAAKE,EAAE,MAAM,IAAI,mBAvDjCG,EAWO,QAAA;AAAA,MAXA,SAAOL,EAAA,KAAO;AAAA;MACnBM,EASO,QATPC,GASO;AAAA,SARLC,EAAA,EAAA,GAAAH,EAOEI,GAAA,MAAAC,EANqBC,EAAAb,CAAA,GAAQ,CAArBc,GAAGC,YADbC,EAOEC,EAJKH,EAAE,SAAS,GAAA;AAAA,UADf,yBAAyBC;AAAA,UAEzB,MAAMD,EAAE;AAAA,UACR,eAAeA,EAAE;AAAA,UACjB,YAAYA,EAAE;AAAA;;;;;"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { toRefs as c, computed as o, resolveDirective as i, withDirectives as u, createElementBlock as p, openBlock as d, createElementVNode as g, normalizeClass as m, toDisplayString as f } from "vue";
|
|
2
|
-
import { a as h } from "./entry-CNV5B73A.mjs";
|
|
3
|
-
const y = {
|
|
4
|
-
__name: "LiteralBlock",
|
|
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(n) {
|
|
18
|
-
const r = n, { node: t } = c(r), l = o(() => {
|
|
19
|
-
let e = t.value.getAttribute("language");
|
|
20
|
-
return e === "console" || e === "default" ? e = "bash" : e === "text" && (e = "plaintext"), e;
|
|
21
|
-
}), a = o(() => h(t.value.innerHTML));
|
|
22
|
-
return (e, v) => {
|
|
23
|
-
const s = i("highlightjs");
|
|
24
|
-
return u((d(), p("pre", null, [
|
|
25
|
-
g("code", {
|
|
26
|
-
class: m(l.value)
|
|
27
|
-
}, f(a.value), 3)
|
|
28
|
-
])), [
|
|
29
|
-
[s]
|
|
30
|
-
]);
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
};
|
|
34
|
-
export {
|
|
35
|
-
y as default
|
|
36
|
-
};
|
|
37
|
-
//# sourceMappingURL=LiteralBlock-DSNLfJRQ.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LiteralBlock-DSNLfJRQ.mjs","sources":["../src/components/templates/LiteralBlock.vue"],"sourcesContent":["<template>\n <pre v-highlightjs><code :class=\"sourceLanguage\">{{ sourceCode }}</code></pre>\n</template>\n\n<script setup>\nimport { computed, toRefs } from 'vue'\n\nimport { decodeHTML } from '../../js/utilities'\n\nconst props = defineProps({\n node: {\n type: undefined,\n default: null,\n },\n componentName: {\n type: String,\n },\n properties: {\n type: Object,\n },\n})\n\nconst { node } = toRefs(props)\n\nconst sourceLanguage = computed(() => {\n let language = node.value.getAttribute('language')\n if (language === 'console' || language === 'default') {\n language = 'bash'\n } else if (language === 'text') {\n language = 'plaintext'\n }\n return language\n})\n\nconst sourceCode = computed(() => {\n return decodeHTML(node.value.innerHTML)\n})\n</script>\n"],"names":["props","__props","node","toRefs","sourceLanguage","computed","language","sourceCode","decodeHTML","_createElementBlock","_createElementVNode"],"mappings":";;;;;;;;;;;;;;;;;AASA,UAAMA,IAAQC,GAaR,EAAE,MAAAC,EAAI,IAAKC,EAAOH,CAAK,GAEvBI,IAAiBC,EAAS,MAAM;AACpC,UAAIC,IAAWJ,EAAK,MAAM,aAAa,UAAU;AACjD,aAAII,MAAa,aAAaA,MAAa,YACzCA,IAAW,SACFA,MAAa,WACtBA,IAAW,cAENA;AAAA,IACT,CAAC,GAEKC,IAAaF,EAAS,MACnBG,EAAWN,EAAK,MAAM,SAAS,CACvC;;;qBAnCCO,EAA8E,OAAA,MAAA;AAAA,QAA3DC,EAAqD,QAAA;AAAA,UAA9C,SAAON,EAAA,KAAc;AAAA,aAAKG,EAAA,KAAU,GAAA,CAAA;AAAA;;;;;;"}
|
package/dist/Math-Cq4PVbWU.mjs
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { resolveComponent as n, createBlock as o, openBlock as p } from "vue";
|
|
2
|
-
const a = {
|
|
3
|
-
__name: "Math",
|
|
4
|
-
props: {
|
|
5
|
-
node: {
|
|
6
|
-
type: void 0,
|
|
7
|
-
default: null
|
|
8
|
-
},
|
|
9
|
-
componentName: {
|
|
10
|
-
type: String
|
|
11
|
-
},
|
|
12
|
-
properties: {
|
|
13
|
-
type: Object
|
|
14
|
-
}
|
|
15
|
-
},
|
|
16
|
-
setup(e) {
|
|
17
|
-
return (r, c) => {
|
|
18
|
-
const t = n("katex-element");
|
|
19
|
-
return p(), o(t, {
|
|
20
|
-
expression: e.node.textContent
|
|
21
|
-
}, null, 8, ["expression"]);
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
export {
|
|
26
|
-
a as default
|
|
27
|
-
};
|
|
28
|
-
//# sourceMappingURL=Math-Cq4PVbWU.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Math-Cq4PVbWU.mjs","sources":["../src/components/templates/Math.vue"],"sourcesContent":["<template>\n <katex-element :expression=\"node.textContent\"></katex-element>\n</template>\n\n<script setup>\n\nconst props = defineProps({\n node: {\n type: undefined,\n default: null,\n },\n componentName: {\n type: String,\n },\n properties: {\n type: Object,\n }\n})\n</script>\n"],"names":["_createBlock","_component_katex_element","__props"],"mappings":";;;;;;;;;;;;;;;;;;kBACEA,EAA8DC,GAAA;AAAA,QAA9C,YAAYC,EAAA,KAAK;AAAA;;;;"}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { toRefs as _, computed as v, resolveComponent as x, createElementBlock as a, openBlock as i, Fragment as b, renderList as h, createVNode as k } from "vue";
|
|
2
|
-
const y = { class: "katex-block" }, E = {
|
|
3
|
-
__name: "MathBlock",
|
|
4
|
-
props: {
|
|
5
|
-
node: {
|
|
6
|
-
type: void 0,
|
|
7
|
-
default: null
|
|
8
|
-
},
|
|
9
|
-
componentName: {
|
|
10
|
-
type: String
|
|
11
|
-
},
|
|
12
|
-
properties: {
|
|
13
|
-
type: Object
|
|
14
|
-
}
|
|
15
|
-
},
|
|
16
|
-
setup(s) {
|
|
17
|
-
const l = ["\\begin{equation}", "\\end{equation}"], c = /* @__PURE__ */ new Map([
|
|
18
|
-
["\\begin{align}", "\\begin{aligned}"],
|
|
19
|
-
["\\begin{eqnarray}", "\\begin{aligned}"],
|
|
20
|
-
["\\end{align}", "\\end{aligned}"],
|
|
21
|
-
["\\end{eqnarray}", "\\end{aligned}"]
|
|
22
|
-
]), d = s, { node: p } = _(d), u = v(() => {
|
|
23
|
-
let n = [];
|
|
24
|
-
const r = p.value.innerHTML.split(/\r?\n\r?\n/);
|
|
25
|
-
for (const t of r)
|
|
26
|
-
if (t) {
|
|
27
|
-
let e = t.replaceAll("&", "&");
|
|
28
|
-
for (const o of l)
|
|
29
|
-
e = e.replaceAll(o, "");
|
|
30
|
-
for (let [o, g] of c)
|
|
31
|
-
e = e.replaceAll(o, g);
|
|
32
|
-
m(e) && !f(e) && (e = `\\begin{array}{cc}${e}\\end{array}`), n.push(e);
|
|
33
|
-
}
|
|
34
|
-
return n;
|
|
35
|
-
});
|
|
36
|
-
function m(n) {
|
|
37
|
-
const r = n.search("&"), t = n.search("\\\\");
|
|
38
|
-
return r !== -1 && t !== -1;
|
|
39
|
-
}
|
|
40
|
-
function f(n) {
|
|
41
|
-
const r = n.search("begin{aligned}"), t = n.search("end{aligned}");
|
|
42
|
-
return r !== -1 && t !== -1;
|
|
43
|
-
}
|
|
44
|
-
return (n, r) => {
|
|
45
|
-
const t = x("katex-element");
|
|
46
|
-
return i(), a("div", y, [
|
|
47
|
-
(i(!0), a(b, null, h(u.value, (e, o) => (i(), a("div", {
|
|
48
|
-
key: "math_" + o
|
|
49
|
-
}, [
|
|
50
|
-
k(t, { expression: e }, null, 8, ["expression"])
|
|
51
|
-
]))), 128))
|
|
52
|
-
]);
|
|
53
|
-
};
|
|
54
|
-
}
|
|
55
|
-
};
|
|
56
|
-
export {
|
|
57
|
-
E as default
|
|
58
|
-
};
|
|
59
|
-
//# sourceMappingURL=MathBlock-BQlgpnCi.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MathBlock-BQlgpnCi.mjs","sources":["../src/components/templates/MathBlock.vue"],"sourcesContent":["<template>\n <div class=\"katex-block\">\n <div v-for=\"(formula, index) in formulas\" :key=\"'math_' + index\">\n <katex-element :expression=\"formula\"></katex-element>\n </div>\n </div>\n</template>\n\n<script setup>\nimport { computed, toRefs } from 'vue'\n// Unsupported delimiters/formatting.\nconst removeList = ['\\\\begin{equation}', '\\\\end{equation}']\n\nconst renameMap = new Map([\n ['\\\\begin{align}', '\\\\begin{aligned}'],\n ['\\\\begin{eqnarray}', '\\\\begin{aligned}'],\n ['\\\\end{align}', '\\\\end{aligned}'],\n ['\\\\end{eqnarray}', '\\\\end{aligned}'],\n])\n\nconst props = defineProps({\n node: {\n type: undefined,\n default: null,\n },\n componentName: {\n type: String,\n },\n properties: {\n type: Object,\n },\n})\n\nconst { node } = toRefs(props)\n\nconst formulas = computed(() => {\n let formulas = []\n const multiEquations = node.value.innerHTML.split(/\\r?\\n\\r?\\n/)\n for (const equation of multiEquations) {\n if (equation) {\n let stripped = equation.replaceAll('&', '&')\n for (const item of removeList) {\n stripped = stripped.replaceAll(item, '')\n }\n for (let [key, value] of renameMap) {\n stripped = stripped.replaceAll(key, value)\n }\n if (requiresSplitEnvironment(stripped) && !hasEnvironment(stripped)) {\n // Create an environment that looks like a split environment\n stripped = `\\\\begin{array}{cc}${stripped}\\\\end{array}`\n }\n formulas.push(stripped)\n }\n }\n return formulas\n})\n\nfunction requiresSplitEnvironment(formula) {\n const ampersandIndex = formula.search('&')\n const newLineIndex = formula.search('\\\\\\\\')\n if (ampersandIndex !== -1 && newLineIndex !== -1) {\n return true\n }\n return false\n}\n\nfunction hasEnvironment(formula) {\n // For some reason search doesn't return 0 if looking for \\ at the start of a string.\n // So we don't look for it.\n const beginEnvironmentIndex = formula.search('begin{aligned}')\n const endEnvironmentIndex = formula.search('end{aligned}')\n if (beginEnvironmentIndex !== -1 && endEnvironmentIndex !== -1) {\n return true\n }\n return false\n}\n</script>\n"],"names":["removeList","renameMap","props","__props","node","toRefs","formulas","computed","multiEquations","equation","stripped","item","key","value","requiresSplitEnvironment","hasEnvironment","formula","ampersandIndex","newLineIndex","beginEnvironmentIndex","endEnvironmentIndex","_openBlock","_createElementBlock","_hoisted_1","_Fragment","_renderList","index","_createVNode","_component_katex_element"],"mappings":";;;;;;;;;;;;;;;;AAWA,UAAMA,IAAa,CAAC,qBAAqB,iBAAiB,GAEpDC,IAAY,oBAAI,IAAI;AAAA,MACxB,CAAC,kBAAkB,kBAAkB;AAAA,MACrC,CAAC,qBAAqB,kBAAkB;AAAA,MACxC,CAAC,gBAAgB,gBAAgB;AAAA,MACjC,CAAC,mBAAmB,gBAAgB;AAAA,IACtC,CAAC,GAEKC,IAAQC,GAaR,EAAE,MAAAC,EAAI,IAAKC,EAAOH,CAAK,GAEvBI,IAAWC,EAAS,MAAM;AAC9B,UAAID,IAAW,CAAA;AACf,YAAME,IAAiBJ,EAAK,MAAM,UAAU,MAAM,YAAY;AAC9D,iBAAWK,KAAYD;AACrB,YAAIC,GAAU;AACZ,cAAIC,IAAWD,EAAS,WAAW,SAAS,GAAG;AAC/C,qBAAWE,KAAQX;AACjB,YAAAU,IAAWA,EAAS,WAAWC,GAAM,EAAE;AAEzC,mBAAS,CAACC,GAAKC,CAAK,KAAKZ;AACvB,YAAAS,IAAWA,EAAS,WAAWE,GAAKC,CAAK;AAE3C,UAAIC,EAAyBJ,CAAQ,KAAK,CAACK,EAAeL,CAAQ,MAEhEA,IAAW,qBAAqBA,CAAQ,iBAE1CJ,EAAS,KAAKI,CAAQ;AAAA,QACxB;AAEF,aAAOJ;AAAA,IACT,CAAC;AAED,aAASQ,EAAyBE,GAAS;AACzC,YAAMC,IAAiBD,EAAQ,OAAO,GAAG,GACnCE,IAAeF,EAAQ,OAAO,MAAM;AAC1C,aAAIC,MAAmB,MAAMC,MAAiB;AAAA,IAIhD;AAEA,aAASH,EAAeC,GAAS;AAG/B,YAAMG,IAAwBH,EAAQ,OAAO,gBAAgB,GACvDI,IAAsBJ,EAAQ,OAAO,cAAc;AACzD,aAAIG,MAA0B,MAAMC,MAAwB;AAAA,IAI9D;;;AA1EE,aAAAC,EAAA,GAAAC,EAIM,OAJNC,GAIM;AAAA,SAHJF,EAAA,EAAA,GAAAC,EAEME,GAAA,MAAAC,EAF0BnB,EAAA,OAAQ,CAA3BU,GAASU,YAAtBJ,EAEM,OAAA;AAAA,UAFqC,eAAeI;AAAA;UACxDC,EAAqDC,GAAA,EAArC,YAAYZ,EAAO,GAAA,MAAA,GAAA,CAAA,YAAA,CAAA;AAAA;;;;;"}
|
package/dist/Note-DTXT2vL1.mjs
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { toRefs as c, ref as d, createElementBlock as p, openBlock as t, normalizeProps as u, guardReactiveProps as f, createElementVNode as v, Fragment as N, renderList as _, unref as y, createBlock as k, resolveDynamicComponent as g } from "vue";
|
|
2
|
-
import { u as B } from "./methods-ClbyDlbW.mjs";
|
|
3
|
-
import { a as b } from "./Document-PZAyvjWh.mjs";
|
|
4
|
-
const E = {
|
|
5
|
-
__name: "Note",
|
|
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 s = a, { node: o } = c(s), { dataObject: m } = B(), n = d({}), { children: i } = b(o);
|
|
20
|
-
return n.value = m(o.value, ["admonition", "note"]).attrs, (h, r) => (t(), p("div", u(f(n.value)), [
|
|
21
|
-
r[0] || (r[0] = v("p", { class: "admonition-title" }, "Note", -1)),
|
|
22
|
-
(t(!0), p(N, null, _(y(i), (e, l) => (t(), k(g(e.component), {
|
|
23
|
-
key: "note_component_" + l,
|
|
24
|
-
node: e.node,
|
|
25
|
-
componentName: e.name,
|
|
26
|
-
properties: e.properties
|
|
27
|
-
}, null, 8, ["node", "componentName", "properties"]))), 128))
|
|
28
|
-
], 16));
|
|
29
|
-
}
|
|
30
|
-
};
|
|
31
|
-
export {
|
|
32
|
-
E as default
|
|
33
|
-
};
|
|
34
|
-
//# sourceMappingURL=Note-DTXT2vL1.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Note-DTXT2vL1.mjs","sources":["../src/components/templates/Note.vue"],"sourcesContent":["<template>\n <div :=\"attrs\">\n <p class=\"admonition-title\">Note</p>\n <component\n v-for=\"(c, index) in children\"\n :key=\"'note_component_' + index\"\n :is=\"c.component\"\n :node=\"c.node\"\n :componentName=\"c.name\"\n :properties=\"c.properties\"\n />\n </div>\n</template>\n\n<script setup>\nimport { toRefs, ref } from 'vue'\n\nimport { useMethods } from '../../composables/methods'\nimport { useChildren } from '../../composables/computed'\n\nconst props = defineProps({\n node: {\n type: undefined,\n default: null,\n },\n componentName: {\n type: String,\n },\n properties: {\n type: Object,\n },\n})\n\nconst { node } = toRefs(props)\nconst { dataObject } = useMethods()\nconst attrs = ref({})\n\nconst { children } = useChildren(node)\n\nattrs.value = dataObject(node.value, ['admonition', 'note']).attrs\n</script>\n"],"names":["props","__props","node","toRefs","dataObject","useMethods","attrs","ref","children","useChildren","_openBlock","_createElementBlock","_cache","_createElementVNode","_Fragment","_renderList","_unref","c","index","_createBlock","_resolveDynamicComponent"],"mappings":";;;;;;;;;;;;;;;;;;AAoBA,UAAMA,IAAQC,GAaR,EAAE,MAAAC,EAAI,IAAKC,EAAOH,CAAK,GACvB,EAAE,YAAAI,EAAU,IAAKC,EAAU,GAC3BC,IAAQC,EAAI,CAAA,CAAE,GAEd,EAAE,UAAAC,EAAQ,IAAKC,EAAYP,CAAI;AAErC,WAAAI,EAAM,QAAQF,EAAWF,EAAK,OAAO,CAAC,cAAc,MAAM,CAAC,EAAE,kBAtC3DQ,EAAA,GAAAC,EAUM,WAVEL,EAAA,KAAK,CAAA,GAAA;AAAA,MACXM,EAAA,CAAA,MAAAA,EAAA,CAAA,IAAAC,EAAoC,KAAA,EAAjC,OAAM,mBAAkB,GAAC,QAAI,EAAA;AAAA,OAChCH,EAAA,EAAA,GAAAC,EAOEG,GAAA,MAAAC,EANqBC,EAAAR,CAAA,GAAQ,CAArBS,GAAGC,YADbC,EAOEC,EAJKH,EAAE,SAAS,GAAA;AAAA,QADf,yBAAyBC;AAAA,QAEzB,MAAMD,EAAE;AAAA,QACR,eAAeA,EAAE;AAAA,QACjB,YAAYA,EAAE;AAAA;;;;"}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { ref as d, toRefs as _, onMounted as h, computed as v, resolveComponent as k, createBlock as g, createElementBlock as b, unref as o, openBlock as a, withCtx as R, createTextVNode as y, toDisplayString as c } from "vue";
|
|
2
|
-
import { useRoute as C } from "vue-router";
|
|
3
|
-
import { u as x } from "./methods-ClbyDlbW.mjs";
|
|
4
|
-
import { u as A } from "./basereference-7wajqzV8.mjs";
|
|
5
|
-
const B = ["href"], L = {
|
|
6
|
-
__name: "NumberReference",
|
|
7
|
-
props: {
|
|
8
|
-
node: {
|
|
9
|
-
type: void 0,
|
|
10
|
-
default: null
|
|
11
|
-
},
|
|
12
|
-
componentName: {
|
|
13
|
-
type: String
|
|
14
|
-
}
|
|
15
|
-
},
|
|
16
|
-
setup(s) {
|
|
17
|
-
const l = s, n = d({ path: "", hash: "" }), { node: e } = _(l), i = C(), { isInternalReference: f } = x(), { onReferenceCreated: p } = A(e.value, i, n);
|
|
18
|
-
h(p);
|
|
19
|
-
const u = v(() => {
|
|
20
|
-
if (e.value.childElementCount)
|
|
21
|
-
return e.value.children[0].innerHTML;
|
|
22
|
-
let t = e.value.getAttribute("refid");
|
|
23
|
-
t || (t = e.value.getAttribute("refuri"));
|
|
24
|
-
const r = t.replace("-", " ");
|
|
25
|
-
return "Fig. " + r.charAt(0).toUpperCase() + r.slice(1);
|
|
26
|
-
});
|
|
27
|
-
return (t, r) => {
|
|
28
|
-
const m = k("router-link");
|
|
29
|
-
return o(f)(o(e)) ? (a(), g(m, {
|
|
30
|
-
key: 0,
|
|
31
|
-
to: n.value
|
|
32
|
-
}, {
|
|
33
|
-
default: R(() => [
|
|
34
|
-
y(c(u.value), 1)
|
|
35
|
-
]),
|
|
36
|
-
_: 1
|
|
37
|
-
}, 8, ["to"])) : (a(), b("a", {
|
|
38
|
-
key: 1,
|
|
39
|
-
href: o(e).getAttribute("refuri"),
|
|
40
|
-
target: "_blank"
|
|
41
|
-
}, c(u.value), 9, B));
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
};
|
|
45
|
-
export {
|
|
46
|
-
L as default
|
|
47
|
-
};
|
|
48
|
-
//# sourceMappingURL=NumberReference-eWL-p05o.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NumberReference-eWL-p05o.mjs","sources":["../src/components/templates/NumberReference.vue"],"sourcesContent":["<template>\n <router-link v-if=\"isInternalReference(node)\" :to=\"routeDescription\">\n {{ title }}\n </router-link>\n <a v-else :href=\"node.getAttribute('refuri')\" target=\"_blank\">\n {{ title }}\n </a>\n</template>\n\n<script setup>\nimport { computed, onMounted, toRefs, ref } from 'vue'\nimport { useRoute } from 'vue-router'\n\nimport { useMethods } from '../../composables/methods'\nimport { useBaseReference } from '../../composables/basereference'\n\nconst props = defineProps({\n node: {\n type: undefined,\n default: null,\n },\n componentName: {\n type: String,\n },\n})\n\nconst routeDescription = ref({path: '', hash: ''})\nconst { node } = toRefs(props)\nconst route = useRoute()\n\nconst { isInternalReference } = useMethods()\nconst { onReferenceCreated } = useBaseReference(node.value, route, routeDescription)\n\nonMounted(onReferenceCreated)\n\nconst title = computed(() => {\n if (node.value.childElementCount) {\n // A number reference has a single child element that\n // contains the label for the referenced element.\n // This is what we are assuming: <inline classes=\"std std-numref\">Fig. 3</inline>\n return node.value.children[0].innerHTML\n }\n\n let refLabel = node.value.getAttribute('refid')\n if (!refLabel) {\n refLabel = node.value.getAttribute('refuri')\n }\n const t = refLabel.replace('-', ' ')\n return 'Fig. ' + t.charAt(0).toUpperCase() + t.slice(1)\n})\n</script>\n"],"names":["props","__props","routeDescription","ref","node","toRefs","route","useRoute","isInternalReference","useMethods","onReferenceCreated","useBaseReference","onMounted","title","computed","refLabel","t","_unref","_createBlock","_component_router_link","_createElementBlock","_hoisted_1"],"mappings":";;;;;;;;;;;;;;;;AAgBA,UAAMA,IAAQC,GAURC,IAAmBC,EAAI,EAAC,MAAM,IAAI,MAAM,GAAE,CAAC,GAC3C,EAAE,MAAAC,EAAI,IAAKC,EAAOL,CAAK,GACvBM,IAAQC,EAAQ,GAEhB,EAAE,qBAAAC,EAAmB,IAAKC,EAAU,GACpC,EAAE,oBAAAC,EAAkB,IAAKC,EAAiBP,EAAK,OAAOE,GAAOJ,CAAgB;AAEnF,IAAAU,EAAUF,CAAkB;AAE5B,UAAMG,IAAQC,EAAS,MAAM;AAC3B,UAAIV,EAAK,MAAM;AAIb,eAAOA,EAAK,MAAM,SAAS,CAAC,EAAE;AAGhC,UAAIW,IAAWX,EAAK,MAAM,aAAa,OAAO;AAC9C,MAAKW,MACHA,IAAWX,EAAK,MAAM,aAAa,QAAQ;AAE7C,YAAMY,IAAID,EAAS,QAAQ,KAAK,GAAG;AACnC,aAAO,UAAUC,EAAE,OAAO,CAAC,EAAE,YAAW,IAAKA,EAAE,MAAM,CAAC;AAAA,IACxD,CAAC;;;AAhDoB,aAAAC,EAAAT,CAAA,EAAoBS,EAAAb,CAAA,CAAI,UAA3Cc,EAEcC,GAAA;AAAA;QAFiC,IAAIjB,EAAA;AAAA;mBACjD,MAAW;AAAA,cAARW,EAAA,KAAK,GAAA,CAAA;AAAA;;6BAEVO,EAEI,KAAA;AAAA;QAFO,MAAMH,EAAAb,CAAA,EAAK,aAAY,QAAA;AAAA,QAAY,QAAO;AAAA,WAChDS,EAAA,KAAK,GAAA,GAAAQ,CAAA;AAAA;;;"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { toRefs as i, ref as p, resolveComponent as l, createBlock as u, openBlock as d, withCtx as m, createElementVNode as _, unref as e, toDisplayString as f } from "vue";
|
|
2
|
-
import { u as h } from "./methods-ClbyDlbW.mjs";
|
|
3
|
-
const x = ["id"], g = {
|
|
4
|
-
__name: "Problematic",
|
|
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 n = o, { node: t } = i(n), r = p({ hash: "#" + t.value.getAttribute("refid") }), { extractId: s } = h(), { id: c } = s(t.value);
|
|
19
|
-
return (b, k) => {
|
|
20
|
-
const a = l("router-link");
|
|
21
|
-
return d(), u(a, { to: r.value }, {
|
|
22
|
-
default: m(() => [
|
|
23
|
-
_("span", {
|
|
24
|
-
class: "problematic",
|
|
25
|
-
id: e(c)
|
|
26
|
-
}, f(e(t).textContent), 9, x)
|
|
27
|
-
]),
|
|
28
|
-
_: 1
|
|
29
|
-
}, 8, ["to"]);
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
};
|
|
33
|
-
export {
|
|
34
|
-
g as default
|
|
35
|
-
};
|
|
36
|
-
//# sourceMappingURL=Problematic-DdYGUPom.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Problematic-DdYGUPom.mjs","sources":["../src/components/templates/Problematic.vue"],"sourcesContent":["<template>\n <router-link :to=\"routeDescription\">\n <span class=\"problematic\" :id=\"id\">{{\n node.textContent\n }}</span></router-link\n >\n</template>\n\n<script setup>\nimport { toRefs, ref } from 'vue'\n\nimport { useMethods } from '../../composables/methods'\n\nconst props = defineProps({\n node: {\n type: undefined,\n default: null,\n },\n componentName: {\n type: String,\n },\n properties: {\n type: Object,\n }\n})\n\nconst { node } = toRefs(props)\nconst routeDescription = ref({hash: '#' + node.value.getAttribute('refid')})\n\nconst { extractId } = useMethods()\nconst { id } = extractId(node.value)\n\n</script>\n"],"names":["props","__props","node","toRefs","routeDescription","ref","extractId","useMethods","id","_createBlock","_component_router_link","_createElementVNode","_unref","_toDisplayString","_hoisted_1"],"mappings":";;;;;;;;;;;;;;;;;AAaA,UAAMA,IAAQC,GAaR,EAAE,MAAAC,EAAI,IAAKC,EAAOH,CAAK,GACvBI,IAAmBC,EAAI,EAAC,MAAM,MAAMH,EAAK,MAAM,aAAa,OAAO,EAAC,CAAC,GAErE,EAAE,WAAAI,EAAS,IAAKC,EAAU,GAC1B,EAAE,IAAAC,EAAE,IAAKF,EAAUJ,EAAK,KAAK;;;kBA7BjCO,EAICC,GAAA,EAJa,IAAIN,EAAA,SAAgB;AAAA,mBAChC,MAES;AAAA,UAFTO,EAES,QAAA;AAAA,YAFH,OAAM;AAAA,YAAe,IAAIC,EAAAJ,CAAA;AAAA,UAC7B,GAAAK,EAAAD,EAAAV,CAAA,EAAK,WAAW,GAAA,GAAAY,CAAA;AAAA;;;;;;"}
|
package/dist/Raw-DuZmU9hd.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Raw-DuZmU9hd.mjs","sources":["../src/components/templates/Raw.vue"],"sourcesContent":["<template></template>\n\n<script setup>\nconsole.log('**** Intentionally ignoring this element.')\n</script>\n"],"names":[],"mappings":";;;AAGA,mBAAQ,IAAI,2CAA2C;;;"}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { ref as _, toRefs as h, onMounted as k, resolveComponent as y, createBlock as s, createElementBlock as a, unref as t, openBlock as n, withCtx as C, createTextVNode as R, toDisplayString as g, Fragment as x, renderList as v, resolveDynamicComponent as B } from "vue";
|
|
2
|
-
import { useRoute as N } from "vue-router";
|
|
3
|
-
import { a as b } from "./Document-PZAyvjWh.mjs";
|
|
4
|
-
import { u as D } from "./methods-ClbyDlbW.mjs";
|
|
5
|
-
import { u as M } from "./basereference-7wajqzV8.mjs";
|
|
6
|
-
const S = ["href"], V = {
|
|
7
|
-
__name: "Reference",
|
|
8
|
-
props: {
|
|
9
|
-
node: {
|
|
10
|
-
type: void 0,
|
|
11
|
-
default: null
|
|
12
|
-
},
|
|
13
|
-
componentName: {
|
|
14
|
-
type: String
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
setup(p) {
|
|
18
|
-
const u = p, r = _({ path: "", hash: "" }), { node: e } = h(u), c = N(), { isInternalReference: i } = D(), { onReferenceCreated: m } = M(
|
|
19
|
-
e.value,
|
|
20
|
-
c,
|
|
21
|
-
r
|
|
22
|
-
);
|
|
23
|
-
k(m);
|
|
24
|
-
const { children: l } = b(e);
|
|
25
|
-
return (w, A) => {
|
|
26
|
-
const f = y("router-link");
|
|
27
|
-
return t(i)(t(e)) ? (n(), s(f, {
|
|
28
|
-
key: 0,
|
|
29
|
-
to: r.value
|
|
30
|
-
}, {
|
|
31
|
-
default: C(() => [
|
|
32
|
-
R(g(t(e).textContent), 1)
|
|
33
|
-
]),
|
|
34
|
-
_: 1
|
|
35
|
-
}, 8, ["to"])) : (n(), a("a", {
|
|
36
|
-
key: 1,
|
|
37
|
-
href: t(e).getAttribute("refuri"),
|
|
38
|
-
target: "_blank"
|
|
39
|
-
}, [
|
|
40
|
-
(n(!0), a(x, null, v(t(l), (o, d) => (n(), s(B(o.component), {
|
|
41
|
-
key: "sub_link_" + d,
|
|
42
|
-
node: o.node,
|
|
43
|
-
componentName: o.name,
|
|
44
|
-
properties: o.properties
|
|
45
|
-
}, null, 8, ["node", "componentName", "properties"]))), 128))
|
|
46
|
-
], 8, S));
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
};
|
|
50
|
-
export {
|
|
51
|
-
V as default
|
|
52
|
-
};
|
|
53
|
-
//# sourceMappingURL=Reference-NuJMaVmj.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Reference-NuJMaVmj.mjs","sources":["../src/components/templates/Reference.vue"],"sourcesContent":["<template>\n <router-link v-if=\"isInternalReference(node)\" :to=\"routeDescription\">\n {{ node.textContent }}\n </router-link>\n <a v-else :href=\"node.getAttribute('refuri')\" target=\"_blank\">\n <component\n v-for=\"(c, index) in children\"\n :key=\"'sub_link_' + index\"\n :is=\"c.component\"\n :node=\"c.node\"\n :componentName=\"c.name\"\n :properties=\"c.properties\"\n />\n </a>\n</template>\n\n<script setup>\nimport { onMounted, toRefs, ref } from 'vue'\nimport { useRoute } from 'vue-router'\n\nimport { useChildren } from '../../composables/computed'\nimport { useMethods } from '../../composables/methods'\nimport { useBaseReference } from '../../composables/basereference'\n\nconst props = defineProps({\n node: {\n type: undefined,\n default: null,\n },\n componentName: {\n type: String,\n },\n})\n\nconst routeDescription = ref({ path: '', hash: '' })\nconst { node } = toRefs(props)\nconst route = useRoute()\n\nconst { isInternalReference } = useMethods()\nconst { onReferenceCreated } = useBaseReference(\n node.value,\n route,\n routeDescription,\n)\n\nonMounted(onReferenceCreated)\nconst { children } = useChildren(node)\n</script>\n"],"names":["props","__props","routeDescription","ref","node","toRefs","route","useRoute","isInternalReference","useMethods","onReferenceCreated","useBaseReference","onMounted","children","useChildren","_unref","_createBlock","_component_router_link","_createTextVNode","_toDisplayString","_createElementBlock","_openBlock","_Fragment","_renderList","c","index","_resolveDynamicComponent"],"mappings":";;;;;;;;;;;;;;;;;AAwBA,UAAMA,IAAQC,GAURC,IAAmBC,EAAI,EAAE,MAAM,IAAI,MAAM,GAAE,CAAE,GAC7C,EAAE,MAAAC,EAAI,IAAKC,EAAOL,CAAK,GACvBM,IAAQC,EAAQ,GAEhB,EAAE,qBAAAC,EAAmB,IAAKC,EAAU,GACpC,EAAE,oBAAAC,EAAkB,IAAKC;AAAA,MAC7BP,EAAK;AAAA,MACLE;AAAA,MACAJ;AAAA,IACF;AAEA,IAAAU,EAAUF,CAAkB;AAC5B,UAAM,EAAE,UAAAG,EAAQ,IAAKC,EAAYV,CAAI;;;AA7ChB,aAAAW,EAAAP,CAAA,EAAoBO,EAAAX,CAAA,CAAI,UAA3CY,EAEcC,GAAA;AAAA;QAFiC,IAAIf,EAAA;AAAA;mBACjD,MAAsB;AAAA,UAAnBgB,EAAAC,EAAAJ,EAAAX,CAAA,EAAK,WAAW,GAAA,CAAA;AAAA;;6BAErBgB,EASI,KAAA;AAAA;QATO,MAAML,EAAAX,CAAA,EAAK,aAAY,QAAA;AAAA,QAAY,QAAO;AAAA;SACnDiB,EAAA,EAAA,GAAAD,EAOEE,GAAA,MAAAC,EANqBR,EAAAF,CAAA,GAAQ,CAArBW,GAAGC,YADbT,EAOEU,EAJKF,EAAE,SAAS,GAAA;AAAA,UADf,mBAAmBC;AAAA,UAEnB,MAAMD,EAAE;AAAA,UACR,eAAeA,EAAE;AAAA,UACjB,YAAYA,EAAE;AAAA;;;;;"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { toRefs as f, createElementBlock as t, openBlock as n, unref as s, Fragment as c, renderList as a, createBlock as h, resolveDynamicComponent as y } from "vue";
|
|
2
|
-
import { u as k } from "./methods-ClbyDlbW.mjs";
|
|
3
|
-
import { a as x } from "./Document-PZAyvjWh.mjs";
|
|
4
|
-
const v = ["id"], B = ["id"], b = {
|
|
5
|
-
__name: "Section",
|
|
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(i) {
|
|
19
|
-
const d = i, { node: o } = f(d), { extractId: l, separateIds: m } = k(), { id: p } = l(o.value), { extraIds: u } = m(o.value, p), { children: _ } = x(o);
|
|
20
|
-
return (I, N) => (n(), t("section", { id: s(p) }, [
|
|
21
|
-
(n(!0), t(c, null, a(s(u), (e, r) => (n(), t("span", {
|
|
22
|
-
key: "id_span_" + r,
|
|
23
|
-
id: e
|
|
24
|
-
}, null, 8, B))), 128)),
|
|
25
|
-
(n(!0), t(c, null, a(s(_), (e, r) => (n(), h(y(e.component), {
|
|
26
|
-
key: "section_component_" + r,
|
|
27
|
-
node: e.node,
|
|
28
|
-
componentName: e.name,
|
|
29
|
-
properties: e.properties
|
|
30
|
-
}, null, 8, ["node", "componentName", "properties"]))), 128))
|
|
31
|
-
], 8, v));
|
|
32
|
-
}
|
|
33
|
-
};
|
|
34
|
-
export {
|
|
35
|
-
b as default
|
|
36
|
-
};
|
|
37
|
-
//# sourceMappingURL=Section-CsKQgVcF.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Section-CsKQgVcF.mjs","sources":["../src/components/templates/Section.vue"],"sourcesContent":["<template>\n <section :id=\"id\">\n <span v-for=\"(s, index) in extraIds\" :key=\"'id_span_' + index\" :id=\"s\" />\n <component\n v-for=\"(c, index) in children\"\n :key=\"'section_component_' + index\"\n :is=\"c.component\"\n :node=\"c.node\"\n :componentName=\"c.name\"\n :properties=\"c.properties\"\n />\n </section>\n</template>\n\n<script setup>\nimport { toRefs } from 'vue'\n\nimport { useMethods } from '../../composables/methods'\nimport { useChildren } from '../../composables/computed'\n\nconst props = defineProps({\n node: {\n type: undefined,\n default: null,\n },\n componentName: {\n type: String,\n },\n properties: {\n type: Object,\n }\n})\n\nconst { node } = toRefs(props)\n\nconst { extractId, separateIds } = useMethods()\nconst { id } = extractId(node.value)\nconst { extraIds } = separateIds(node.value, id)\n\nconst { children } = useChildren(node)\n</script>\n"],"names":["props","__props","node","toRefs","extractId","separateIds","useMethods","id","extraIds","children","useChildren","_createElementBlock","_unref","_openBlock","_Fragment","_renderList","s","index","c","_createBlock","_resolveDynamicComponent"],"mappings":";;;;;;;;;;;;;;;;;;AAoBA,UAAMA,IAAQC,GAaR,EAAE,MAAAC,EAAI,IAAKC,EAAOH,CAAK,GAEvB,EAAE,WAAAI,GAAW,aAAAC,EAAW,IAAKC,EAAU,GACvC,EAAE,IAAAC,EAAE,IAAKH,EAAUF,EAAK,KAAK,GAC7B,EAAE,UAAAM,EAAQ,IAAKH,EAAYH,EAAK,OAAOK,CAAE,GAEzC,EAAE,UAAAE,EAAQ,IAAKC,EAAYR,CAAI;2BAtCnCS,EAUU,WAAA,EAVA,IAAIC,EAAAL,CAAA,KAAE;AAAA,OACdM,EAAA,EAAA,GAAAF,EAAyEG,GAAA,MAAAC,EAA9CH,EAAAJ,CAAA,GAAQ,CAArBQ,GAAGC,YAAjBN,EAAyE,QAAA;AAAA,QAAnC,kBAAkBM;AAAA,QAAQ,IAAID;AAAA;OACpEH,EAAA,EAAA,GAAAF,EAOEG,GAAA,MAAAC,EANqBH,EAAAH,CAAA,GAAQ,CAArBS,GAAGD,YADbE,EAOEC,EAJKF,EAAE,SAAS,GAAA;AAAA,QADf,4BAA4BD;AAAA,QAE5B,MAAMC,EAAE;AAAA,QACR,eAAeA,EAAE;AAAA,QACjB,YAAYA,EAAE;AAAA;;;;"}
|
package/dist/Skip-CRGkjuMM.mjs
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
const p = {
|
|
2
|
-
__name: "Skip",
|
|
3
|
-
props: {
|
|
4
|
-
node: {
|
|
5
|
-
type: void 0,
|
|
6
|
-
default: null
|
|
7
|
-
},
|
|
8
|
-
componentName: {
|
|
9
|
-
type: String
|
|
10
|
-
}
|
|
11
|
-
},
|
|
12
|
-
setup(e) {
|
|
13
|
-
return (n, t) => null;
|
|
14
|
-
}
|
|
15
|
-
};
|
|
16
|
-
export {
|
|
17
|
-
p as default
|
|
18
|
-
};
|
|
19
|
-
//# sourceMappingURL=Skip-CRGkjuMM.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Skip-CRGkjuMM.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;"}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { toRefs as A, ref as l, createBlock as d, openBlock as c, resolveDynamicComponent as m, unref as p, mergeProps as E, toHandlerKey as k, withCtx as N, createElementBlock as B, Fragment as x, renderList as C } from "vue";
|
|
2
|
-
import { a as j, n as D } from "./Document-PZAyvjWh.mjs";
|
|
3
|
-
import { u as I } from "./methods-ClbyDlbW.mjs";
|
|
4
|
-
const S = {
|
|
5
|
-
__name: "StandardElement",
|
|
6
|
-
props: {
|
|
7
|
-
node: {
|
|
8
|
-
type: void 0,
|
|
9
|
-
default: null
|
|
10
|
-
},
|
|
11
|
-
componentName: {
|
|
12
|
-
type: String
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
setup(f) {
|
|
16
|
-
const v = f, { node: n } = A(v), { children: b } = j(n), { dataObject: g } = I(), o = l({}), u = l(!1), a = l(null), h = D.get(n.value.nodeName), r = g(n.value, n.value.getAttribute("classes")), _ = r.class ? r.class.join(" ") : void 0;
|
|
17
|
-
o.value = {
|
|
18
|
-
...r.attrs,
|
|
19
|
-
class: _
|
|
20
|
-
}, o.value.prefix === "" && delete o.value.prefix, n.value.nodeName === "button" && (u.value = !0);
|
|
21
|
-
function y() {
|
|
22
|
-
if (a.value.getAttribute("aria-selected") === "false") {
|
|
23
|
-
const i = a.value.parentElement;
|
|
24
|
-
let s = [];
|
|
25
|
-
for (const e of i.children) {
|
|
26
|
-
const t = document.getElementById(e.id);
|
|
27
|
-
t.setAttribute(
|
|
28
|
-
"aria-selected",
|
|
29
|
-
t.getAttribute("aria-selected") === "true" ? "false" : "true"
|
|
30
|
-
), s.push({ id: e.getAttribute("aria-controls") });
|
|
31
|
-
}
|
|
32
|
-
for (const e of s) {
|
|
33
|
-
const t = document.getElementById(e.id);
|
|
34
|
-
t.hasAttribute("hidden") ? t.removeAttribute("hidden") : t.setAttribute("hidden", "");
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
return (i, s) => (c(), d(m(p(h)), E(o.value, { [k(u.value && "click")]: y }, {
|
|
39
|
-
ref_key: "componentElement",
|
|
40
|
-
ref: a
|
|
41
|
-
}), {
|
|
42
|
-
default: N(() => [
|
|
43
|
-
(c(!0), B(x, null, C(p(b), (e, t) => (c(), d(m(e.component), {
|
|
44
|
-
key: "standard_element_component_" + t,
|
|
45
|
-
node: e.node,
|
|
46
|
-
componentName: e.name,
|
|
47
|
-
properties: e.properties
|
|
48
|
-
}, null, 8, ["node", "componentName", "properties"]))), 128))
|
|
49
|
-
]),
|
|
50
|
-
_: 1
|
|
51
|
-
}, 16));
|
|
52
|
-
}
|
|
53
|
-
};
|
|
54
|
-
export {
|
|
55
|
-
S as default
|
|
56
|
-
};
|
|
57
|
-
//# sourceMappingURL=StandardElement-Cf1EpLze.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StandardElement-Cf1EpLze.mjs","sources":["../src/components/templates/StandardElement.vue"],"sourcesContent":["<template>\n <component\n :is=\"tag\"\n :=\"attrs\"\n @[isButton&&`click`]=\"buttonClicked\"\n ref=\"componentElement\"\n >\n <component\n v-for=\"(c, index) in children\"\n :key=\"'standard_element_component_' + index\"\n :is=\"c.component\"\n :node=\"c.node\"\n :componentName=\"c.name\"\n :properties=\"c.properties\"\n />\n </component>\n</template>\n\n<script setup>\nimport { defineProps, toRefs, ref } from 'vue'\n\nimport { nodeNameTagNameMap } from '../../js/nodemap'\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})\n\nconst { node } = toRefs(props)\nconst { children } = useChildren(node)\nconst { dataObject } = useMethods()\nconst attrs = ref({})\nconst isButton = ref(false)\nconst componentElement = ref(null)\n\nconst transferAttributes = new Set(['div', 'button'])\nconst tag = nodeNameTagNameMap.get(node.value.nodeName)\n\nconst tmpDataObject = dataObject(node.value, node.value.getAttribute('classes'))\nconst classList = tmpDataObject.class\n ? tmpDataObject.class.join(' ')\n : undefined\nattrs.value = {\n ...tmpDataObject.attrs,\n class: classList,\n}\n\n// An empty prefix attribute causes problems for <ol> elements.\nif (attrs.value.prefix === '') {\n delete attrs.value.prefix\n}\n\nif (node.value.nodeName === 'button') {\n isButton.value = true\n}\n\nfunction buttonClicked() {\n if (componentElement.value.getAttribute('aria-selected') === 'false') {\n const parentElement = componentElement.value.parentElement\n let panels = []\n for (const child of parentElement.children) {\n const el = document.getElementById(child.id)\n el.setAttribute(\n 'aria-selected',\n el.getAttribute('aria-selected') === 'true' ? 'false' : 'true',\n )\n panels.push({ id: child.getAttribute('aria-controls') })\n }\n for (const panel of panels) {\n const el = document.getElementById(panel.id)\n if (el.hasAttribute('hidden')) {\n el.removeAttribute('hidden')\n } else {\n el.setAttribute('hidden', '')\n }\n }\n }\n}\n</script>\n"],"names":["props","__props","node","toRefs","children","useChildren","dataObject","useMethods","attrs","ref","isButton","componentElement","tag","nodeNameTagNameMap","tmpDataObject","classList","buttonClicked","parentElement","panels","child","el","panel","_createBlock","_resolveDynamicComponent","_unref","_mergeProps","_toHandlerKey","_openBlock","_createElementBlock","_Fragment","_renderList","c","index"],"mappings":";;;;;;;;;;;;;;;AAyBA,UAAMA,IAAQC,GAUR,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,GACdC,IAAWD,EAAI,EAAK,GACpBE,IAAmBF,EAAI,IAAI,GAG3BG,IAAMC,EAAmB,IAAIX,EAAK,MAAM,QAAQ,GAEhDY,IAAgBR,EAAWJ,EAAK,OAAOA,EAAK,MAAM,aAAa,SAAS,CAAC,GACzEa,IAAYD,EAAc,QAC5BA,EAAc,MAAM,KAAK,GAAG,IAC5B;AACJ,IAAAN,EAAM,QAAQ;AAAA,MACZ,GAAGM,EAAc;AAAA,MACjB,OAAOC;AAAA,IACT,GAGIP,EAAM,MAAM,WAAW,MACzB,OAAOA,EAAM,MAAM,QAGjBN,EAAK,MAAM,aAAa,aAC1BQ,EAAS,QAAQ;AAGnB,aAASM,IAAgB;AACvB,UAAIL,EAAiB,MAAM,aAAa,eAAe,MAAM,SAAS;AACpE,cAAMM,IAAgBN,EAAiB,MAAM;AAC7C,YAAIO,IAAS,CAAA;AACb,mBAAWC,KAASF,EAAc,UAAU;AAC1C,gBAAMG,IAAK,SAAS,eAAeD,EAAM,EAAE;AAC3C,UAAAC,EAAG;AAAA,YACD;AAAA,YACAA,EAAG,aAAa,eAAe,MAAM,SAAS,UAAU;AAAA,UAChE,GACMF,EAAO,KAAK,EAAE,IAAIC,EAAM,aAAa,eAAe,EAAC,CAAE;AAAA,QACzD;AACA,mBAAWE,KAASH,GAAQ;AAC1B,gBAAME,IAAK,SAAS,eAAeC,EAAM,EAAE;AAC3C,UAAID,EAAG,aAAa,QAAQ,IAC1BA,EAAG,gBAAgB,QAAQ,IAE3BA,EAAG,aAAa,UAAU,EAAE;AAAA,QAEhC;AAAA,MACF;AAAA,IACF;2BAnFEE,EAcYC,EAbLC,IAAG,GADVC,EAEKjB,EAYO,OAZF,EAAA,CAAAkB,EACPhB,EAAA,SAAQ,OAAA,CAAA,GAAaM,KAAa;AAAA,eAC/B;AAAA,MAAJ,KAAIL;AAAA;iBAGF,MAA8B;AAAA,SADhCgB,EAAA,EAAA,GAAAC,EAOEC,GAAA,MAAAC,EANqBN,EAAApB,CAAA,GAAQ,CAArB2B,GAAGC,YADbV,EAOEC,EAJKQ,EAAE,SAAS,GAAA;AAAA,UADf,qCAAqCC;AAAA,UAErC,MAAMD,EAAE;AAAA,UACR,eAAeA,EAAE;AAAA,UACjB,YAAYA,EAAE;AAAA;;;;;;"}
|
package/dist/Text-CT8nEMkp.mjs
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { toDisplayString as t } from "vue";
|
|
2
|
-
const o = {
|
|
3
|
-
__name: "Text",
|
|
4
|
-
props: {
|
|
5
|
-
node: {
|
|
6
|
-
type: void 0,
|
|
7
|
-
default: null
|
|
8
|
-
},
|
|
9
|
-
componentName: {
|
|
10
|
-
type: String
|
|
11
|
-
},
|
|
12
|
-
properties: {
|
|
13
|
-
type: Object,
|
|
14
|
-
required: !0
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
setup(e) {
|
|
18
|
-
return (r, p) => t(e.properties.text);
|
|
19
|
-
}
|
|
20
|
-
};
|
|
21
|
-
export {
|
|
22
|
-
o as default
|
|
23
|
-
};
|
|
24
|
-
//# sourceMappingURL=Text-CT8nEMkp.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Text-CT8nEMkp.mjs","sources":["../src/components/templates/Text.vue"],"sourcesContent":["<template>\n {{ properties.text }}\n</template>\n\n<script setup>\nconst props = defineProps({\n node: {\n type: undefined,\n default: null,\n },\n componentName: {\n type: String,\n },\n properties: {\n type: Object,\n required: true,\n },\n})\n</script>\n"],"names":["_toDisplayString","__props"],"mappings":";;;;;;;;;;;;;;;;;qBACKA,EAAAC,EAAA,WAAW,IAAI;AAAA;;"}
|