ep-lib-ts 1.0.73 → 1.0.74
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.
|
@@ -27,10 +27,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
27
27
|
container.innerHTML = html;
|
|
28
28
|
const nodes = [];
|
|
29
29
|
container.childNodes.forEach((node) => {
|
|
30
|
-
var _a
|
|
30
|
+
var _a;
|
|
31
31
|
if (node.nodeType === 3) {
|
|
32
|
-
const text =
|
|
33
|
-
if (text) nodes.push(text);
|
|
32
|
+
const text = node.textContent;
|
|
33
|
+
if (text && text.replace(/\s/g, "").length > 0) nodes.push(text);
|
|
34
34
|
} else if (node.nodeType === 1) {
|
|
35
35
|
const el = node;
|
|
36
36
|
if (el.classList.contains("ep_glossary_item")) {
|
|
@@ -65,7 +65,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
65
65
|
word: render_word,
|
|
66
66
|
variations: stringVariations,
|
|
67
67
|
graminfo: term.graminfo,
|
|
68
|
-
src: (
|
|
68
|
+
src: (_a = term.img) != null ? _a : "",
|
|
69
69
|
domain: term.domain,
|
|
70
70
|
relations: stringRelations,
|
|
71
71
|
labelDefinition: props.labelDefinition,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EpText.vue.js","sources":["../../../src/components/basics/EpText.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { computed, toRefs, h, type VNode } from \"vue\";\nimport type { Glossary } from \"~/types/Glossary\"\nimport { isHtml } from \"~/composables/isHtml\";\nimport { useRenderText } from \"~/composables/useRenderText\";\nimport EpAccordeon from \"~/components/interactions/EpAccordeon.vue\";\nimport EpTerm from \"~/components/medias/EpTerm.vue\";\nimport type { EpTextProps } from \"~/types/basics/EpText\";\n\nconst props = withDefaults(defineProps<EpTextProps>(), {\n compact: false,\n labelDefinition: \"Définition\",\n labelDomain: \"Domaine\",\n labelVariations: \"Variations\",\n labelRelations: \"Relations\",\n labelClose: \"Fermer\",\n});\n\nconst { compact } = toRefs(props);\n\nconst renderTitle = computed(() => props.title || \"En savoir plus\");\n\nfunction parseHtmlToVNodes(html: string): (VNode | string)[] {\n const container = document.createElement(\"div\");\n container.innerHTML = html;\n\n const nodes: (VNode | string)[] = [];\n\n container.childNodes.forEach((node) => {\n if (node.nodeType === 3) {\n // Text node\n
|
|
1
|
+
{"version":3,"file":"EpText.vue.js","sources":["../../../src/components/basics/EpText.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { computed, toRefs, h, type VNode } from \"vue\";\nimport type { Glossary } from \"~/types/Glossary\"\nimport { isHtml } from \"~/composables/isHtml\";\nimport { useRenderText } from \"~/composables/useRenderText\";\nimport EpAccordeon from \"~/components/interactions/EpAccordeon.vue\";\nimport EpTerm from \"~/components/medias/EpTerm.vue\";\nimport type { EpTextProps } from \"~/types/basics/EpText\";\n\nconst props = withDefaults(defineProps<EpTextProps>(), {\n compact: false,\n labelDefinition: \"Définition\",\n labelDomain: \"Domaine\",\n labelVariations: \"Variations\",\n labelRelations: \"Relations\",\n labelClose: \"Fermer\",\n});\n\nconst { compact } = toRefs(props);\n\nconst renderTitle = computed(() => props.title || \"En savoir plus\");\n\nfunction parseHtmlToVNodes(html: string): (VNode | string)[] {\n const container = document.createElement(\"div\");\n container.innerHTML = html;\n\n const nodes: (VNode | string)[] = [];\n\n container.childNodes.forEach((node) => {\n if (node.nodeType === 3) {\n // Text node\n const text = node.textContent;\n \n if (text && text.replace(/\\s/g, '').length > 0) nodes.push(text);\n } else if (node.nodeType === 1) {\n const el = node as HTMLElement;\n\n if (el.classList.contains(\"ep_glossary_item\")) {\n const id = el.getAttribute(\"data-id\");\n const render_word = el.innerHTML;\n\n let _glossary: Glossary[] = [];\n if (props.glossary) {\n _glossary = props.glossary.map((item) => ({\n ...item,\n id: item.documentId ?? item.id\n }));\n }\n\n const term = _glossary.find((word) => word.id === id);\n\n if (term) {\n const foundedRelations = _glossary.filter((x) =>\n x.relation.some((r: string) => r === id)\n );\n const termsRelation = foundedRelations.map((x) => x.term);\n const stringRelations = termsRelation.join(', ')\n const stringVariations = term.variation.join(', ')\n\n nodes.push(\n h(\n \"div\",\n { style: \"display:inline\" },\n h(\n EpTerm,\n {\n term: term.term,\n word: render_word,\n variations: stringVariations,\n graminfo: term.graminfo,\n src: term.img ?? \"\",\n domain: term.domain,\n relations: stringRelations,\n labelDefinition: props.labelDefinition,\n labelDomain: props.labelDomain,\n labelVariations: props.labelVariations,\n labelRelations: props.labelRelations,\n labelClose: props.labelClose,\n },\n () => {\n const def = useRenderText(term.definition);\n if (!isHtml(def)) {\n return h(\"div\", { innerHTML: def });\n }\n return parseHtmlToVNodes(def);\n }\n )\n )\n );\n return;\n }\n }\n nodes.push(\n h(\n el.tagName.toLowerCase(),\n {},\n parseHtmlToVNodes(el.innerHTML) \n )\n );\n }\n });\n\n return nodes;\n}\n\nconst renderText = computed(() => {\n if (!props.content) return [h(\"div\")];\n if (!isHtml(props.content)) {\n return [h(\"div\", { innerHTML: useRenderText(props.content) })];\n }\n\n const formatted = useRenderText(props.content)\n\n return parseHtmlToVNodes(formatted);\n});\n</script>\n\n<template>\n <div class=\"px-2\">\n <EpAccordeon v-if=\"compact\" outlined :title=\"renderTitle\">\n <div>\n <component :is=\"node\" v-for=\"(node, i) in renderText\" :key=\"i\" />\n </div>\n </EpAccordeon>\n <div v-else>\n <component :is=\"node\" v-for=\"(node, i) in renderText\" :key=\"i\" />\n </div>\n </div>\n</template>\n"],"names":["_a","EpTerm","_openBlock","_createElementBlock","_unref","_createBlock","EpAccordeon","_createElementVNode","_Fragment","_renderList","_resolveDynamicComponent"],"mappings":";;;;;;;;;;;;;;;;;;;;;AASA,UAAM,QAAQ;AASd,UAAM,EAAE,QAAA,IAAY,OAAO,KAAK;AAEhC,UAAM,cAAc,SAAS,MAAM,MAAM,SAAS,gBAAgB;AAElE,aAAS,kBAAkB,MAAkC;AAC3D,YAAM,YAAY,SAAS,cAAc,KAAK;A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AA;;;;0CAGjEP,mBAEM,OAAA,YAAA;AAAA,WADJD,UAAA,IAAA,GAAAC,mBAAiEK,UAAA,MAAAC,WAAvB,WAAA,OAAU,CAAtB,MAAM,MAAC;AAArC,mBAAAP,UAAA,GAAAG,YAAiEK,wBAAjD,IAAI,GAAA,EAAmC,KAAK,GAAC;AAAA;;;;;;"}
|
package/dist/index.d.ts
CHANGED
|
@@ -52,11 +52,12 @@ import { default as EpVideoPanopto } from './components/medias/EpVideoPanopto.vu
|
|
|
52
52
|
import { default as EpWordDef } from './components/medias/EpWordDef.vue';
|
|
53
53
|
import { default as EpCardLink } from './components/medias/EpCardLink.vue';
|
|
54
54
|
import { default as EpHierarchy } from './components/medias/EpHierarchy.vue';
|
|
55
|
+
import { default as EpSensibleImage } from './components/medias/EpSensibleImage.vue';
|
|
55
56
|
import { default as EpAlert } from './components/signages/EpAlert.vue';
|
|
56
57
|
import { default as EpHeader } from './components/signages/EpHeader.vue';
|
|
57
58
|
import { default as EpQuote } from './components/signages/EpQuote.vue';
|
|
58
59
|
import { default as EpSkeleton } from './components/signages/EpSkeleton.vue';
|
|
59
|
-
export { EpText, EpImg, EpCard, EpBtn, EpChip, EpDivider, EpSection, EpSectionCols, EpSpinner, EpFlex, EpIcon, EpTable, EpStackedList, EpHoverCard, EpBarChart, EpLineChart, EpPieChart, EpFunnelChart, EpEdu, EpReading, EpResource, EpScope, EpObjective, EpSpecificObjective, EpIntroduction, EpInstructions, EpDescription, EpConclusion, EpCodeblock, EpBranchingScenario, EpDocument, EpAccordeon, EpContentSlider, EpModal, EpQuestion, EpTabs, EpSummativeTable, EpSvgShow, EpAudio, EpCarousel, EpIframe, EpKatex, EpLink, EpLinkVersion, EpSoftware, EpSvg, EpTerm, EpTimeLine, EpVideo, EpVideoPanopto, EpWordDef, EpCardLink, EpHierarchy, EpAlert, EpHeader, EpQuote, EpSkeleton, };
|
|
60
|
+
export { EpText, EpImg, EpCard, EpBtn, EpChip, EpDivider, EpSection, EpSectionCols, EpSpinner, EpFlex, EpIcon, EpTable, EpStackedList, EpHoverCard, EpBarChart, EpLineChart, EpPieChart, EpFunnelChart, EpEdu, EpReading, EpResource, EpScope, EpObjective, EpSpecificObjective, EpIntroduction, EpInstructions, EpDescription, EpConclusion, EpCodeblock, EpBranchingScenario, EpDocument, EpAccordeon, EpContentSlider, EpModal, EpQuestion, EpTabs, EpSummativeTable, EpSvgShow, EpAudio, EpCarousel, EpIframe, EpKatex, EpLink, EpLinkVersion, EpSoftware, EpSvg, EpTerm, EpTimeLine, EpVideo, EpVideoPanopto, EpWordDef, EpCardLink, EpHierarchy, EpAlert, EpHeader, EpQuote, EpSkeleton, EpSensibleImage };
|
|
60
61
|
declare const _default: {
|
|
61
62
|
install(app: App): void;
|
|
62
63
|
};
|
package/dist/index.js
CHANGED
|
@@ -53,6 +53,7 @@ import _sfc_main$4 from "./components/medias/EpVideoPanopto.vue.js";
|
|
|
53
53
|
import _sfc_main$3 from "./components/medias/EpWordDef.vue.js";
|
|
54
54
|
import _sfc_main$2 from "./components/medias/EpCardLink.vue.js";
|
|
55
55
|
import Comp$2 from "./components/medias/EpHierarchy.vue.js";
|
|
56
|
+
import EpSensibleImage from "./components/medias/EpSensibleImage.vue.js";
|
|
56
57
|
import Comp$1 from "./components/signages/EpAlert.vue.js";
|
|
57
58
|
import _sfc_main$1 from "./components/signages/EpHeader.vue.js";
|
|
58
59
|
import _sfc_main from "./components/signages/EpQuote.vue.js";
|
|
@@ -114,7 +115,8 @@ const componentsToInstall = {
|
|
|
114
115
|
EpAlert: Comp$1,
|
|
115
116
|
EpHeader: _sfc_main$1,
|
|
116
117
|
EpQuote: _sfc_main,
|
|
117
|
-
EpSkeleton: Comp
|
|
118
|
+
EpSkeleton: Comp,
|
|
119
|
+
EpSensibleImage
|
|
118
120
|
};
|
|
119
121
|
const index = {
|
|
120
122
|
install(app) {
|
|
@@ -165,6 +167,7 @@ export {
|
|
|
165
167
|
_sfc_main$r as EpScope,
|
|
166
168
|
_sfc_main$G as EpSection,
|
|
167
169
|
_sfc_main$F as EpSectionCols,
|
|
170
|
+
EpSensibleImage,
|
|
168
171
|
Comp as EpSkeleton,
|
|
169
172
|
_sfc_main$8 as EpSoftware,
|
|
170
173
|
_sfc_main$p as EpSpecificObjective,
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../src/index.ts"],"sourcesContent":["// src/index.ts\nimport type { App, Plugin, Component } from 'vue'\n\n// ——— your curated picks ———\nimport EpText from '~/components/basics/EpText.vue'\nimport EpImg from '~/components/basics/EpImg.vue'\nimport EpCard from '~/components/basics/EpCard.vue'\nimport EpBtn from '~/components/basics/EpBtn.vue'\nimport EpChip from '~/components/basics/EpChip.vue'\nimport EpDivider from '~/components/basics/EpDivider.vue'\nimport EpSection from '~/components/basics/EpSection.vue'\nimport EpSectionCols from '~/components/basics/EpSectionCols.vue'\nimport EpSpinner from '~/components/basics/EpSpinner.vue'\nimport EpFlex from '~/components/basics/EpFlex.vue'\nimport EpIcon from '~/components/basics/EpIcon.vue'\nimport EpTable from '~/components/basics/EpTable.vue'\nimport EpStackedList from '~/components/basics/EpStackedList.vue'\nimport EpHoverCard from '~/components/basics/EpHoverCard.vue'\n\nimport EpBarChart from '~/components/charts/EpBarChart.vue'\nimport EpLineChart from '~/components/charts/EpLineChart.vue'\nimport EpPieChart from '~/components/charts/EpPieChart.vue'\nimport EpFunnelChart from '~/components/charts/EpFunnelChart.vue'\n\nimport EpEdu from '~/components/educationals/EpEdu.vue'\nimport EpReading from '~/components/educationals/EpReading.vue'\nimport EpResource from '~/components/educationals/EpResource.vue'\nimport EpScope from '~/components/educationals/EpScope.vue'\nimport EpObjective from '~/components/educationals/EpObjective.vue'\nimport EpSpecificObjective from '~/components/educationals/EpSpecificObjective.vue'\nimport EpIntroduction from '~/components/educationals/EpIntroduction.vue'\nimport EpInstructions from '~/components/educationals/EpInstructions.vue'\nimport EpDescription from '~/components/educationals/EpDescription.vue'\nimport EpConclusion from '~/components/educationals/EpConclusion.vue'\nimport EpCodeblock from '~/components/educationals/EpCodeblock.vue'\nimport EpBranchingScenario from '~/components/educationals/EpBranchingScenario.vue'\nimport EpDocument from '~/components/educationals/EpDocument.vue'\n\nimport EpAccordeon from '~/components/interactions/EpAccordeon.vue'\nimport EpContentSlider from '~/components/interactions/EpContentSlider.vue'\nimport EpModal from '~/components/interactions/EpModal.vue'\nimport EpQuestion from '~/components/interactions/EpQuestion.vue'\nimport EpTabs from '~/components/interactions/EpTabs.vue'\nimport EpSummativeTable from '~/components/interactions/EpSummativeTable.vue'\nimport EpSvgShow from '~/components/interactions/EpSvgShow.vue'\n\nimport EpAudio from '~/components/medias/EpAudio.vue'\nimport EpCarousel from '~/components/medias/EpCarousel.vue'\nimport EpIframe from '~/components/medias/EpIframe.vue'\nimport EpKatex from '~/components/medias/EpKatex.vue'\nimport EpLink from '~/components/medias/EpLink.vue'\nimport EpLinkVersion from '~/components/medias/EpLinkVersion.vue'\nimport EpSoftware from '~/components/medias/EpSoftware.vue'\nimport EpSvg from '~/components/medias/EpSvg.vue'\nimport EpTerm from '~/components/medias/EpTerm.vue'\nimport EpTimeLine from '~/components/medias/EpTimeLine.vue'\nimport EpVideo from '~/components/medias/EpVideo.vue'\nimport EpVideoPanopto from '~/components/medias/EpVideoPanopto.vue'\nimport EpWordDef from '~/components/medias/EpWordDef.vue'\nimport EpCardLink from '~/components/medias/EpCardLink.vue'\nimport EpHierarchy from '~/components/medias/EpHierarchy.vue'\n\nimport EpAlert from '~/components/signages/EpAlert.vue'\nimport EpHeader from '~/components/signages/EpHeader.vue'\nimport EpQuote from '~/components/signages/EpQuote.vue'\nimport EpSkeleton from '~/components/signages/EpSkeleton.vue'\n\n// ——— named exports for convenience (doesn't break tree-shaking of per-entry imports) ———\nexport {\n EpText, EpImg, EpCard, EpBtn, EpChip, EpDivider, EpSection, EpSectionCols, EpSpinner, EpFlex, EpIcon,\n EpTable, EpStackedList, EpHoverCard,\n EpBarChart, EpLineChart, EpPieChart, EpFunnelChart,\n EpEdu, EpReading, EpResource, EpScope, EpObjective, EpSpecificObjective, EpIntroduction,\n EpInstructions, EpDescription, EpConclusion, EpCodeblock, EpBranchingScenario, EpDocument,\n EpAccordeon, EpContentSlider, EpModal, EpQuestion, EpTabs, EpSummativeTable, EpSvgShow,\n EpAudio, EpCarousel, EpIframe, EpKatex, EpLink, EpLinkVersion, EpSoftware, EpSvg, EpTerm, EpTimeLine,\n EpVideo, EpVideoPanopto, EpWordDef, EpCardLink, EpHierarchy,\n EpAlert, EpHeader, EpQuote, EpSkeleton
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../src/index.ts"],"sourcesContent":["// src/index.ts\nimport type { App, Plugin, Component } from 'vue'\n\n// ——— your curated picks ———\nimport EpText from '~/components/basics/EpText.vue'\nimport EpImg from '~/components/basics/EpImg.vue'\nimport EpCard from '~/components/basics/EpCard.vue'\nimport EpBtn from '~/components/basics/EpBtn.vue'\nimport EpChip from '~/components/basics/EpChip.vue'\nimport EpDivider from '~/components/basics/EpDivider.vue'\nimport EpSection from '~/components/basics/EpSection.vue'\nimport EpSectionCols from '~/components/basics/EpSectionCols.vue'\nimport EpSpinner from '~/components/basics/EpSpinner.vue'\nimport EpFlex from '~/components/basics/EpFlex.vue'\nimport EpIcon from '~/components/basics/EpIcon.vue'\nimport EpTable from '~/components/basics/EpTable.vue'\nimport EpStackedList from '~/components/basics/EpStackedList.vue'\nimport EpHoverCard from '~/components/basics/EpHoverCard.vue'\n\nimport EpBarChart from '~/components/charts/EpBarChart.vue'\nimport EpLineChart from '~/components/charts/EpLineChart.vue'\nimport EpPieChart from '~/components/charts/EpPieChart.vue'\nimport EpFunnelChart from '~/components/charts/EpFunnelChart.vue'\n\nimport EpEdu from '~/components/educationals/EpEdu.vue'\nimport EpReading from '~/components/educationals/EpReading.vue'\nimport EpResource from '~/components/educationals/EpResource.vue'\nimport EpScope from '~/components/educationals/EpScope.vue'\nimport EpObjective from '~/components/educationals/EpObjective.vue'\nimport EpSpecificObjective from '~/components/educationals/EpSpecificObjective.vue'\nimport EpIntroduction from '~/components/educationals/EpIntroduction.vue'\nimport EpInstructions from '~/components/educationals/EpInstructions.vue'\nimport EpDescription from '~/components/educationals/EpDescription.vue'\nimport EpConclusion from '~/components/educationals/EpConclusion.vue'\nimport EpCodeblock from '~/components/educationals/EpCodeblock.vue'\nimport EpBranchingScenario from '~/components/educationals/EpBranchingScenario.vue'\nimport EpDocument from '~/components/educationals/EpDocument.vue'\n\nimport EpAccordeon from '~/components/interactions/EpAccordeon.vue'\nimport EpContentSlider from '~/components/interactions/EpContentSlider.vue'\nimport EpModal from '~/components/interactions/EpModal.vue'\nimport EpQuestion from '~/components/interactions/EpQuestion.vue'\nimport EpTabs from '~/components/interactions/EpTabs.vue'\nimport EpSummativeTable from '~/components/interactions/EpSummativeTable.vue'\nimport EpSvgShow from '~/components/interactions/EpSvgShow.vue'\n\nimport EpAudio from '~/components/medias/EpAudio.vue'\nimport EpCarousel from '~/components/medias/EpCarousel.vue'\nimport EpIframe from '~/components/medias/EpIframe.vue'\nimport EpKatex from '~/components/medias/EpKatex.vue'\nimport EpLink from '~/components/medias/EpLink.vue'\nimport EpLinkVersion from '~/components/medias/EpLinkVersion.vue'\nimport EpSoftware from '~/components/medias/EpSoftware.vue'\nimport EpSvg from '~/components/medias/EpSvg.vue'\nimport EpTerm from '~/components/medias/EpTerm.vue'\nimport EpTimeLine from '~/components/medias/EpTimeLine.vue'\nimport EpVideo from '~/components/medias/EpVideo.vue'\nimport EpVideoPanopto from '~/components/medias/EpVideoPanopto.vue'\nimport EpWordDef from '~/components/medias/EpWordDef.vue'\nimport EpCardLink from '~/components/medias/EpCardLink.vue'\nimport EpHierarchy from '~/components/medias/EpHierarchy.vue'\nimport EpSensibleImage from './components/medias/EpSensibleImage.vue'\n\nimport EpAlert from '~/components/signages/EpAlert.vue'\nimport EpHeader from '~/components/signages/EpHeader.vue'\nimport EpQuote from '~/components/signages/EpQuote.vue'\nimport EpSkeleton from '~/components/signages/EpSkeleton.vue'\n\n// ——— named exports for convenience (doesn't break tree-shaking of per-entry imports) ———\nexport {\n EpText, EpImg, EpCard, EpBtn, EpChip, EpDivider, EpSection, EpSectionCols, EpSpinner, EpFlex, EpIcon,\n EpTable, EpStackedList, EpHoverCard,\n EpBarChart, EpLineChart, EpPieChart, EpFunnelChart,\n EpEdu, EpReading, EpResource, EpScope, EpObjective, EpSpecificObjective, EpIntroduction,\n EpInstructions, EpDescription, EpConclusion, EpCodeblock, EpBranchingScenario, EpDocument,\n EpAccordeon, EpContentSlider, EpModal, EpQuestion, EpTabs, EpSummativeTable, EpSvgShow,\n EpAudio, EpCarousel, EpIframe, EpKatex, EpLink, EpLinkVersion, EpSoftware, EpSvg, EpTerm, EpTimeLine,\n EpVideo, EpVideoPanopto, EpWordDef, EpCardLink, EpHierarchy,\n EpAlert, EpHeader, EpQuote, EpSkeleton, EpSensibleImage\n}\n\n// ——— default plugin registers ONLY what you picked above ———\nconst componentsToInstall = {\n EpText, EpImg, EpCard, EpBtn, EpChip, EpDivider, EpSection, EpSectionCols, EpSpinner, EpFlex, EpIcon,\n EpTable, EpStackedList, EpHoverCard,\n EpBarChart, EpLineChart, EpPieChart, EpFunnelChart,\n EpEdu, EpReading, EpResource, EpScope, EpObjective, EpSpecificObjective, EpIntroduction,\n EpInstructions, EpDescription, EpConclusion, EpCodeblock, EpBranchingScenario, EpDocument,\n EpAccordeon, EpContentSlider, EpModal, EpQuestion, EpTabs, EpSummativeTable, EpSvgShow,\n EpAudio, EpCarousel, EpIframe, EpKatex, EpLink, EpLinkVersion, EpSoftware, EpSvg, EpTerm, EpTimeLine,\n EpVideo, EpVideoPanopto, EpWordDef, EpCardLink, EpHierarchy,\n EpAlert, EpHeader, EpQuote, EpSkeleton, EpSensibleImage\n} as const satisfies Record<string, Component>\n\nexport default {\n install(app: App) {\n for (const [name, c] of Object.entries(componentsToInstall)) {\n app.component(name, c)\n }\n },\n} satisfies Plugin\n"],"names":["EpText","EpImg","EpCard","EpBtn","EpChip","EpDivider","EpSection","EpSectionCols","EpSpinner","EpFlex","EpIcon","EpTable","EpStackedList","EpHoverCard","EpBarChart","EpLineChart","EpPieChart","EpFunnelChart","EpEdu","EpReading","EpResource","EpScope","EpObjective","EpSpecificObjective","EpIntroduction","EpInstructions","EpDescription","EpConclusion","EpCodeblock","EpBranchingScenario","EpDocument","EpAccordeon","EpContentSlider","EpModal","EpQuestion","EpTabs","EpSummativeTable","EpSvgShow","EpAudio","EpCarousel","EpIframe","EpKatex","EpLink","EpLinkVersion","EpSoftware","EpSvg","EpTerm","EpTimeLine","EpVideo","EpVideoPanopto","EpWordDef","EpCardLink","EpHierarchy","EpAlert","EpHeader","EpQuote","EpSkeleton"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkFA,MAAM,sBAAsB;AAAA,EAAA,QAC1BA;AAAAA,EAAA,OAAQC;AAAAA,EAAA,QAAOC;AAAAA,EAAA,OAAQC;AAAAA,EAAA,QAAOC;AAAAA,EAAA,WAAQC;AAAAA,EAAA,WAAWC;AAAAA,EAAA,eAAWC;AAAAA,EAAA,WAAeC;AAAAA,EAAA,QAAWC;AAAAA,EAAA,QAAQC;AAAAA,EAAA,SAC9FC;AAAAA,EAAA,eAASC;AAAAA,EAAA,aAAeC;AAAAA,EAAA,YACxBC;AAAAA,EAAA,aAAYC;AAAAA,EAAA,YAAaC;AAAAA,EAAA,eAAYC;AAAAA,EAAA,OACrCC;AAAAA,EAAA,WAAOC;AAAAA,EAAA,YAAWC;AAAAA,EAAA,SAAYC;AAAAA,EAAA,aAASC;AAAAA,EAAA,qBAAaC;AAAAA,EAAA,gBAAqBC;AAAAA,EAAA,gBACzEC;AAAAA,EAAA,eAAgBC;AAAAA,EAAA,cAAeC;AAAAA,EAAA,aAAcC;AAAAA,EAAA,qBAAaC;AAAAA,EAAA,YAAqBC;AAAAA,EAAA,aAC/EC;AAAAA,EAAA,iBAAaC;AAAAA,EAAA,SAAiBC;AAAAA,EAAA,YAASC;AAAAA,EAAA,QAAYC;AAAAA,EAAA,kBAAQC;AAAAA,EAAA,WAAkBC;AAAAA,EAAA,SAC7EC;AAAAA,EAAA,YAASC;AAAAA,EAAA,UAAYC;AAAAA,EAAA,SAAUC;AAAAA,EAAA,QAASC;AAAAA,EAAA,eAAQC;AAAAA,EAAA,YAAeC;AAAAA,EAAA,OAAYC;AAAAA,EAAA,QAAOC;AAAAA,EAAA,YAAQC;AAAAA,EAAA,SAC1FC;AAAAA,EAAA,gBAASC;AAAAA,EAAA,WAAgBC;AAAAA,EAAA,YAAWC;AAAAA,EAAA,aAAYC;AAAAA,EAAA,SAChDC;AAAAA,EAAA,UAASC;AAAAA,EAAA,SAAUC;AAAAA,EAAA,YAASC;AAAAA,EAAY;AAC1C;AAEA,MAAA,QAAe;AAAA,EACb,QAAQ,KAAU;AAChB,eAAW,CAAC,MAAM,CAAC,KAAK,OAAO,QAAQ,mBAAmB,GAAG;AAC3D,UAAI,UAAU,MAAM,CAAC;AAAA,IACvB;AAAA,EACF;AACF;"}
|
package/dist/style.css
CHANGED
|
@@ -1,4 +1,40 @@
|
|
|
1
1
|
|
|
2
|
+
.ep-sensible-content[data-v-b3ee44a0] {
|
|
3
|
+
position: relative;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
.katex[data-v-a9b6227c] {
|
|
8
|
+
font-size: 1.6em;
|
|
9
|
+
}
|
|
10
|
+
/*$vite$:1*/
|
|
11
|
+
|
|
12
|
+
.eptimeline-list-enter-active[data-v-6ad2fc60],
|
|
13
|
+
.eptimeline-list-leave-active[data-v-6ad2fc60] {
|
|
14
|
+
transition: all 0.5s ease;
|
|
15
|
+
}
|
|
16
|
+
.eptimeline-list-enter-from[data-v-6ad2fc60],
|
|
17
|
+
.eptimeline-list-leave-to[data-v-6ad2fc60] {
|
|
18
|
+
opacity: 0;
|
|
19
|
+
transform: translateX(30px);
|
|
20
|
+
}
|
|
21
|
+
/*$vite$:1*/
|
|
22
|
+
|
|
23
|
+
.ep-tree-wrapper[data-v-819ce9ba] {
|
|
24
|
+
overflow: auto;
|
|
25
|
+
border: 1px solid #ddd;
|
|
26
|
+
}
|
|
27
|
+
.ep-tree-container[data-v-819ce9ba] {
|
|
28
|
+
width: 100%;
|
|
29
|
+
overflow-x: auto;
|
|
30
|
+
}
|
|
31
|
+
/*$vite$:1*/
|
|
32
|
+
|
|
33
|
+
pre {
|
|
34
|
+
white-space: break-spaces;
|
|
35
|
+
}
|
|
36
|
+
/*$vite$:1*/
|
|
37
|
+
|
|
2
38
|
@keyframes fade-352aec5b {
|
|
3
39
|
0% {
|
|
4
40
|
opacity: 0;
|
|
@@ -38,42 +74,11 @@
|
|
|
38
74
|
.slideY[data-v-352aec5b] {
|
|
39
75
|
animation: slideY-352aec5b 1s;
|
|
40
76
|
}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
pre {
|
|
44
|
-
white-space: break-spaces;
|
|
45
|
-
}
|
|
46
|
-
/*$vite$:1*/
|
|
47
|
-
|
|
48
|
-
.katex[data-v-a9b6227c] {
|
|
49
|
-
font-size: 1.6em;
|
|
50
|
-
}
|
|
51
|
-
/*$vite$:1*/
|
|
52
|
-
|
|
53
|
-
.shape[data-v-4a99873e] {
|
|
54
|
-
height: var(--e4ec2c0a);
|
|
55
|
-
width: var(--3f346a72);
|
|
56
|
-
}
|
|
57
|
-
/*$vite$:1*/
|
|
58
|
-
|
|
59
|
-
.eptimeline-list-enter-active[data-v-6ad2fc60],
|
|
60
|
-
.eptimeline-list-leave-active[data-v-6ad2fc60] {
|
|
61
|
-
transition: all 0.5s ease;
|
|
62
|
-
}
|
|
63
|
-
.eptimeline-list-enter-from[data-v-6ad2fc60],
|
|
64
|
-
.eptimeline-list-leave-to[data-v-6ad2fc60] {
|
|
65
|
-
opacity: 0;
|
|
66
|
-
transform: translateX(30px);
|
|
67
|
-
}
|
|
68
77
|
/*$vite$:1*/
|
|
69
78
|
|
|
70
|
-
.ep-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
}
|
|
74
|
-
.ep-tree-container[data-v-819ce9ba] {
|
|
75
|
-
width: 100%;
|
|
76
|
-
overflow-x: auto;
|
|
79
|
+
.ep-accordeon-content[data-v-9a4f2570] {
|
|
80
|
+
transition: max-height 0.2s ease-out;
|
|
81
|
+
overflow: hidden;
|
|
77
82
|
}
|
|
78
83
|
/*$vite$:1*/
|
|
79
84
|
|
|
@@ -116,9 +121,9 @@ pre {
|
|
|
116
121
|
}
|
|
117
122
|
/*$vite$:1*/
|
|
118
123
|
|
|
119
|
-
.
|
|
120
|
-
|
|
121
|
-
|
|
124
|
+
.shape[data-v-4a99873e] {
|
|
125
|
+
height: var(--e4ec2c0a);
|
|
126
|
+
width: var(--3f346a72);
|
|
122
127
|
}
|
|
123
128
|
/*$vite$:1*/
|
|
124
129
|
|
|
@@ -139,9 +144,4 @@ pre {
|
|
|
139
144
|
max-height: 0;
|
|
140
145
|
overflow: hidden;
|
|
141
146
|
}
|
|
142
|
-
/*$vite$:1*/
|
|
143
|
-
|
|
144
|
-
.ep-sensible-content[data-v-b3ee44a0] {
|
|
145
|
-
position: relative;
|
|
146
|
-
}
|
|
147
147
|
/*$vite$:1*/
|