ep-lib-ts 1.0.35 → 1.0.36
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/BgAudio-BpeNw9L4.js +4 -0
- package/dist/DisplayBox-aSVYrDHI.js +4 -0
- package/dist/EpAlert-x0STjaqD.js +4 -0
- package/dist/EpAudio-D7LIG4mf.js +4 -0
- package/dist/EpBadge-Du6v1vQL.js +4 -0
- package/dist/EpBarChart-BoINXvhV.js +4 -0
- package/dist/EpBtn-DE6qTHlW.js +4 -0
- package/dist/EpCard-CNcn4RbZ.js +4 -0
- package/dist/{EpCheckbox-BtJRFbS_.js → EpCheckbox-_Nt9Bvq3.js} +10 -10
- package/dist/EpChip-DHgdqDEX.js +4 -0
- package/dist/EpCodeblock-CR2LGKR-.js +4 -0
- package/dist/EpConclusion-B9DhTuTc.js +4 -0
- package/dist/EpContentSlider-BdS_KctY.js +4 -0
- package/dist/{EpDarkmode-BHYy2H_7.js → EpDarkmode-fMMNJbJs.js} +1 -1
- package/dist/EpDescription-D1TbwNrX.js +4 -0
- package/dist/EpDivider-DjTTwzGb.js +4 -0
- package/dist/EpEdu-CuI1_N9M.js +4 -0
- package/dist/EpFlex-Dx5C4Gc8.js +4 -0
- package/dist/EpFunnelChart-C6_M1nag.js +4 -0
- package/dist/EpHeader-B5jyGMDA.js +4 -0
- package/dist/{EpHover-yDkRFQtx.js → EpHover-3fnZrdD6.js} +1 -1
- package/dist/EpIcon-DDm9gGfm.js +4 -0
- package/dist/EpIframe-BNz3cawg.js +4 -0
- package/dist/EpImg-CxjLfziE.js +4 -0
- package/dist/EpInput-HmLHpLYh.js +1168 -0
- package/dist/EpInstructions-C0reDzIV.js +4 -0
- package/dist/EpIntroduction-C92mD-hu.js +4 -0
- package/dist/EpLineChart-Cm4W9z14.js +4 -0
- package/dist/EpLink-CGVS8yjO.js +4 -0
- package/dist/EpLinkVersion-CsGN9YS9.js +4 -0
- package/dist/{EpList-CWrpD1mL.js → EpList-B6Q3fXGj.js} +1 -1
- package/dist/EpModal-DuIZeI6V.js +4 -0
- package/dist/{EpNothing-DoWzP81f.js → EpNothing-BDqIuSB9.js} +1 -1
- package/dist/EpObjective-R1tWBwTe.js +4 -0
- package/dist/EpPieChart-CoTBcaaf.js +4 -0
- package/dist/EpQuestion-DmEcATq1.js +4 -0
- package/dist/EpQuote-BPCJBVbM.js +4 -0
- package/dist/EpRadio-TsUBsVoj.js +4 -0
- package/dist/EpRadioSummative-Cl9dVMJD.js +4 -0
- package/dist/EpReading-vOjzuYW7.js +4 -0
- package/dist/EpResource-Dbq_41hb.js +4 -0
- package/dist/EpScope-DIc4HvYy.js +4 -0
- package/dist/EpSection-Cb18CHq0.js +4 -0
- package/dist/EpSectionCols-B1P8ujg-.js +4 -0
- package/dist/EpSkeleton-vw7gDYoi.js +4 -0
- package/dist/EpSoftware-BAKbJhZg.js +4 -0
- package/dist/EpSpecificObjective-B5L6-OCN.js +4 -0
- package/dist/EpSpinner-rQzI6_Pe.js +4 -0
- package/dist/EpSummativeTable-Djg4DVSn.js +4 -0
- package/dist/EpSvg-DggY9PtW.js +4 -0
- package/dist/EpTable-CvhrvBOq.js +4 -0
- package/dist/EpTerm-C6HSHM0J.js +4 -0
- package/dist/EpText-CftDXaM-.js +4 -0
- package/dist/EpTimeLine-D7ks1LH_.js +4 -0
- package/dist/EpVideo-3MO0ao4H.js +4 -0
- package/dist/EpVideoPanopto-C-hIsXtV.js +4 -0
- package/dist/EpWordDef-BkwqmvfJ.js +4 -0
- package/dist/components/educationals/EpCodeblock.vue.d.ts +5 -0
- package/dist/ep-lib-ts.js +1 -1
- package/dist/ep-lib-ts.umd.cjs +32 -32
- package/dist/{index-CAb7BIas.js → index-7_RFK7FL.js} +2917 -2899
- package/dist/{index-BGsaIGs9.js → index-D4ekzRdY.js} +1 -1
- package/dist/{prism-DcL1Q084.js → prism-CZvJL8HS.js} +1 -1
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/src/components/educationals/EpCodeblock.vue +26 -0
- package/src/components/forms/EpSelect.vue +0 -2
- package/src/components/signages/EpHeader.vue +3 -3
- package/dist/BgAudio-DVtBy2Yu.js +0 -4
- package/dist/DisplayBox-Bqpv2Yax.js +0 -4
- package/dist/EpAlert-DIz92PWl.js +0 -4
- package/dist/EpAudio-BYAKVi4t.js +0 -4
- package/dist/EpBadge-BQPHoP0c.js +0 -4
- package/dist/EpBarChart-DPMjCUAi.js +0 -4
- package/dist/EpBtn-BsTDJzZl.js +0 -4
- package/dist/EpCard-BV7JGDmN.js +0 -4
- package/dist/EpChip-Bc5_CRfT.js +0 -4
- package/dist/EpCodeblock-Cgpe89w6.js +0 -4
- package/dist/EpConclusion--tFRXdSL.js +0 -4
- package/dist/EpContentSlider-zrdFRG7P.js +0 -4
- package/dist/EpDescription-BDF2F3QV.js +0 -4
- package/dist/EpDivider-CJi6nCyw.js +0 -4
- package/dist/EpEdu--ba22VQy.js +0 -4
- package/dist/EpFlex-CHPbSith.js +0 -4
- package/dist/EpFunnelChart-D0e_q2MH.js +0 -4
- package/dist/EpHeader-BxdfY-8D.js +0 -4
- package/dist/EpIcon-CjqNxCUN.js +0 -4
- package/dist/EpIframe-DErlt49p.js +0 -4
- package/dist/EpImg-CXoXMzh1.js +0 -4
- package/dist/EpInput-SPJ_6aAL.js +0 -1168
- package/dist/EpInstructions-swRu_knl.js +0 -4
- package/dist/EpIntroduction-BpdeCXud.js +0 -4
- package/dist/EpLineChart-ClCluBEa.js +0 -4
- package/dist/EpLink-BH8JnesP.js +0 -4
- package/dist/EpLinkVersion-Ti3w_eOz.js +0 -4
- package/dist/EpModal-bOiLnl7i.js +0 -4
- package/dist/EpObjective-ADofPvvb.js +0 -4
- package/dist/EpPieChart-Q9m_DFgU.js +0 -4
- package/dist/EpQuestion-CcpZ58fx.js +0 -4
- package/dist/EpQuote-2fZoyMCN.js +0 -4
- package/dist/EpRadio-DDVA6v0A.js +0 -4
- package/dist/EpRadioSummative-4JojYeC8.js +0 -4
- package/dist/EpReading-CXeFpu9Q.js +0 -4
- package/dist/EpResource-BWdIzn90.js +0 -4
- package/dist/EpScope-Cc_-80ir.js +0 -4
- package/dist/EpSection-BLO-FKWj.js +0 -4
- package/dist/EpSectionCols-2PD4vn2f.js +0 -4
- package/dist/EpSkeleton-DZVfIXYn.js +0 -4
- package/dist/EpSoftware-DssmIKzt.js +0 -4
- package/dist/EpSpecificObjective-DZVGLGX3.js +0 -4
- package/dist/EpSpinner-Bq6iLU0e.js +0 -4
- package/dist/EpSummativeTable-LbWYDdm0.js +0 -4
- package/dist/EpSvg-CArfUn2s.js +0 -4
- package/dist/EpTable-CgEzj10i.js +0 -4
- package/dist/EpTerm-CpUmtYPe.js +0 -4
- package/dist/EpText-CCnR2Vyt.js +0 -4
- package/dist/EpTimeLine-CJ5GCxvC.js +0 -4
- package/dist/EpVideo-BBmT0bWr.js +0 -4
- package/dist/EpVideoPanopto-CF_RKq9a.js +0 -4
- package/dist/EpWordDef-jdGql2Aw.js +0 -4
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.content[data-v-3a321611]{max-height:0;overflow:hidden}.modal-mask{position:fixed;z-index:9998;top:0;left:0;width:100%;height:100%;background-color:#00000080;display:flex;transition:opacity .3s ease}.modal-container{margin:auto;max-height:95%;transition:all .3s ease;z-index:9999}.modal-header h3{margin-top:0;color:#42b983}.modal-body{margin:20px 0}.modal-default-button{float:right}.modal-enter-from,.modal-leave-to{opacity:0}.modal-enter-from .modal-container,.modal-leave-to .modal-container{transform:scale(1.1)}.custom_index{z-index:9999;position:absolute;right:12rem}.shape{height:var(--57a4c52c);width:var(--32b5e5ba)}.v-enter-active[data-v-a9b3f460],.v-leave-active[data-v-a9b3f460]{transition:opacity .5s ease}.v-enter-from[data-v-a9b3f460],.v-leave-to[data-v-a9b3f460]{opacity:0}.katex[data-v-a5d595cd]{font-size:1.6em}.content[data-v-713dbd30]{max-height:0;overflow:hidden}.list-enter-active,.list-leave-active{transition:all .5s ease}.list-enter-from,.list-leave-to{opacity:0;transform:translate(30px)}.arrow-light-top:before{content:" ";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:rgba(0,0,0,.2) transparent transparent transparent}.arrow-dark-top:before{content:" ";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:black transparent transparent transparent}.arrow-light-bottom:before{content:"";position:absolute;display:inline-block;left:50%;bottom:100%;border-right:7px solid transparent;border-bottom:7px solid #eee;border-left:7px solid transparent;border-bottom-color:#0003}.arrow-dark-bottom:before{content:"";position:absolute;display:inline-block;left:50%;bottom:100%;border-right:7px solid transparent;border-bottom:7px solid black;border-left:7px solid transparent;border-bottom-color:black transparent transparent transparent}.arrow-light-left:before{position:absolute;display:inline-block;left:100%;top:50%;content:"";margin-right:0;border-top:5px solid transparent;border-left:5px solid #eee;border-bottom:5px solid transparent;border-left-color:#0003}.arrow-dark-left:before{position:absolute;display:inline-block;left:100%;top:50%;content:"";margin-right:0;border-top:5px solid transparent;border-left:5px solid black;border-bottom:5px solid transparent;border-left-color:black transparent transparent transparent}.arrow-light-right:before{position:absolute;display:inline-block;right:100%;top:50%;content:"";margin-right:0;border-top:5px solid transparent;border-right:5px solid #eee;border-bottom:5px solid transparent;border-right-color:#0003}.arrow-dark-right:before{position:absolute;display:inline-block;right:100%;top:50%;content:"";margin-right:0;border-top:5px solid transparent;border-right:5px solid black;border-bottom:5px solid transparent;border-right-color:black transparent transparent transparent}
|
|
1
|
+
.content[data-v-3a321611]{max-height:0;overflow:hidden}.modal-mask{position:fixed;z-index:9998;top:0;left:0;width:100%;height:100%;background-color:#00000080;display:flex;transition:opacity .3s ease}.modal-container{margin:auto;max-height:95%;transition:all .3s ease;z-index:9999}.modal-header h3{margin-top:0;color:#42b983}.modal-body{margin:20px 0}.modal-default-button{float:right}.modal-enter-from,.modal-leave-to{opacity:0}.modal-enter-from .modal-container,.modal-leave-to .modal-container{transform:scale(1.1)}.custom_index{z-index:9999;position:absolute;right:12rem}pre{white-space:break-spaces}.shape{height:var(--57a4c52c);width:var(--32b5e5ba)}.v-enter-active[data-v-a9b3f460],.v-leave-active[data-v-a9b3f460]{transition:opacity .5s ease}.v-enter-from[data-v-a9b3f460],.v-leave-to[data-v-a9b3f460]{opacity:0}.katex[data-v-a5d595cd]{font-size:1.6em}.content[data-v-713dbd30]{max-height:0;overflow:hidden}.list-enter-active,.list-leave-active{transition:all .5s ease}.list-enter-from,.list-leave-to{opacity:0;transform:translate(30px)}.arrow-light-top:before{content:" ";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:rgba(0,0,0,.2) transparent transparent transparent}.arrow-dark-top:before{content:" ";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:black transparent transparent transparent}.arrow-light-bottom:before{content:"";position:absolute;display:inline-block;left:50%;bottom:100%;border-right:7px solid transparent;border-bottom:7px solid #eee;border-left:7px solid transparent;border-bottom-color:#0003}.arrow-dark-bottom:before{content:"";position:absolute;display:inline-block;left:50%;bottom:100%;border-right:7px solid transparent;border-bottom:7px solid black;border-left:7px solid transparent;border-bottom-color:black transparent transparent transparent}.arrow-light-left:before{position:absolute;display:inline-block;left:100%;top:50%;content:"";margin-right:0;border-top:5px solid transparent;border-left:5px solid #eee;border-bottom:5px solid transparent;border-left-color:#0003}.arrow-dark-left:before{position:absolute;display:inline-block;left:100%;top:50%;content:"";margin-right:0;border-top:5px solid transparent;border-left:5px solid black;border-bottom:5px solid transparent;border-left-color:black transparent transparent transparent}.arrow-light-right:before{position:absolute;display:inline-block;right:100%;top:50%;content:"";margin-right:0;border-top:5px solid transparent;border-right:5px solid #eee;border-bottom:5px solid transparent;border-right-color:#0003}.arrow-dark-right:before{position:absolute;display:inline-block;right:100%;top:50%;content:"";margin-right:0;border-top:5px solid transparent;border-right:5px solid black;border-bottom:5px solid transparent;border-right-color:black transparent transparent transparent}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ep-lib-ts",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.36",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
7
7
|
"src/components/"
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"typescript": "^5.6.2",
|
|
52
52
|
"vite": "^5.4.5",
|
|
53
53
|
"vite-plugin-dts": "^3.9.0",
|
|
54
|
-
"vue-tsc": "^2.
|
|
54
|
+
"vue-tsc": "^2.2.0"
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|
|
57
57
|
"vue": "^3.2.45"
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import VCodeBlock from '@wdns/vue-code-block';
|
|
3
3
|
import {defaultOption} from "../../types/Codeblock";
|
|
4
|
+
import EpAccordeon from "../interactions/EpAccordeon.vue";
|
|
4
5
|
import type Theme from "../../types/Codeblock";
|
|
5
6
|
import { computed} from "vue";
|
|
6
7
|
import { ref } from "vue";
|
|
@@ -12,14 +13,23 @@
|
|
|
12
13
|
label?:string;
|
|
13
14
|
lang?:Langue;
|
|
14
15
|
theme?:Theme;
|
|
16
|
+
title?: string | null;
|
|
17
|
+
compact?: boolean;
|
|
15
18
|
}
|
|
16
19
|
const props = withDefaults(defineProps<Props>(), {
|
|
17
20
|
code:"",
|
|
18
21
|
label:"",
|
|
19
22
|
lang:"javascript",
|
|
20
23
|
theme: defaultOption,
|
|
24
|
+
compact: false,
|
|
21
25
|
})
|
|
22
26
|
|
|
27
|
+
const renderTitle = computed(() => {
|
|
28
|
+
if (!props.title) {
|
|
29
|
+
return "En savoir plus"
|
|
30
|
+
}
|
|
31
|
+
return props.title;
|
|
32
|
+
});
|
|
23
33
|
|
|
24
34
|
const code = computed(()=>{
|
|
25
35
|
return ref(props.code);
|
|
@@ -43,6 +53,22 @@ const theme = computed(()=>{
|
|
|
43
53
|
:label=label
|
|
44
54
|
:lang=lang
|
|
45
55
|
:theme=theme
|
|
56
|
+
v-if="!compact"
|
|
46
57
|
/>
|
|
58
|
+
|
|
59
|
+
<EpAccordeon outlined :title="renderTitle" v-else>
|
|
60
|
+
<VCodeBlock
|
|
61
|
+
:code=code
|
|
62
|
+
highlightjs
|
|
63
|
+
:label=label
|
|
64
|
+
:lang=lang
|
|
65
|
+
:theme=theme
|
|
66
|
+
/>
|
|
67
|
+
</EpAccordeon>
|
|
47
68
|
|
|
48
69
|
</template>
|
|
70
|
+
<style>
|
|
71
|
+
pre {
|
|
72
|
+
white-space: break-spaces;
|
|
73
|
+
}
|
|
74
|
+
</style>
|
|
@@ -125,15 +125,15 @@ const { title, headerImgColor, big } = toRefs(props);
|
|
|
125
125
|
v-if="title || subtitle"
|
|
126
126
|
:class="`${
|
|
127
127
|
textBg
|
|
128
|
-
? 'backdrop-blur-md backdrop-brightness-50 backdrop-opacity-75 rounded'
|
|
128
|
+
? 'inline-block backdrop-blur-md backdrop-brightness-50 backdrop-opacity-75 rounded'
|
|
129
129
|
: ''
|
|
130
130
|
} p-4 md:items-center`"
|
|
131
131
|
>
|
|
132
132
|
<div class="text-center md:text-left">
|
|
133
|
-
<h1 v-if="title" class="text-
|
|
133
|
+
<h1 v-if="title" class="text-3xl font-medium text-white sm:text-3xl">
|
|
134
134
|
{{ title }}
|
|
135
135
|
</h1>
|
|
136
|
-
<h2 v-if="subtitle" class="max-w-xl mt-4 text-
|
|
136
|
+
<h2 v-if="subtitle" class="max-w-xl mt-4 text-2xl text-white contrast-50">
|
|
137
137
|
{{ subtitle }}
|
|
138
138
|
</h2>
|
|
139
139
|
</div>
|
package/dist/BgAudio-DVtBy2Yu.js
DELETED
package/dist/EpAlert-DIz92PWl.js
DELETED
package/dist/EpAudio-BYAKVi4t.js
DELETED
package/dist/EpBadge-BQPHoP0c.js
DELETED
package/dist/EpBtn-BsTDJzZl.js
DELETED
package/dist/EpCard-BV7JGDmN.js
DELETED
package/dist/EpChip-Bc5_CRfT.js
DELETED
package/dist/EpEdu--ba22VQy.js
DELETED
package/dist/EpFlex-CHPbSith.js
DELETED
package/dist/EpIcon-CjqNxCUN.js
DELETED
package/dist/EpImg-CXoXMzh1.js
DELETED