ep-lib-ts 0.1.5 → 0.1.7
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/components/charts/EpBarChart.vue.d.ts +82 -0
- package/dist/components/charts/EpLineChart.vue.d.ts +82 -0
- package/dist/components/charts/EpPieChart.vue.d.ts +2 -0
- package/dist/components/educationals/EpResource.vue.d.ts +2 -0
- package/dist/components/medias/EpLinkVersion.vue.d.ts +2 -0
- package/dist/ep-lib-ts.js +4813 -4652
- package/dist/ep-lib-ts.umd.cjs +31 -31
- package/dist/index.d.ts +6 -1
- package/package.json +1 -1
- package/src/components/charts/EpBarChart.vue +2 -2
- package/src/components/charts/EpLineChart.vue +1 -2
- package/src/components/educationals/EpEdu.vue +4 -4
- package/src/components/educationals/EpResource.vue +8 -0
- package/src/components/medias/EpLinkVersion.vue +8 -0
package/dist/index.d.ts
CHANGED
|
@@ -10,8 +10,12 @@ import EpSpinner from './components/basics/EpSpinner.vue';
|
|
|
10
10
|
import EpFlex from './components/basics/EpFlex.vue';
|
|
11
11
|
import EpIcon from './components/basics/EpIcon.vue';
|
|
12
12
|
import EpTable from './components/basics/EpTable.vue';
|
|
13
|
+
import EpBarChart from './components/charts/EpBarChart.vue';
|
|
14
|
+
import EpLineChart from './components/charts/EpLineChart.vue';
|
|
15
|
+
import EpPieChart from './components/charts/EpPieChart.vue';
|
|
13
16
|
import EpEdu from './components/educationals/EpEdu.vue';
|
|
14
17
|
import EpReading from './components/educationals/EpReading.vue';
|
|
18
|
+
import EpResource from './components/educationals/EpResource.vue';
|
|
15
19
|
import EpScope from './components/educationals/EpScope.vue';
|
|
16
20
|
import EpAccordeon from './components/interactions/EpAccordeon.vue';
|
|
17
21
|
import EpContentSlider from './components/interactions/EpContentSlider.vue';
|
|
@@ -23,6 +27,7 @@ import EpCarousel from './components/medias/EpCarousel.vue';
|
|
|
23
27
|
import EpIframe from './components/medias/EpIframe.vue';
|
|
24
28
|
import EpKatex from './components/medias/EpKatex.vue';
|
|
25
29
|
import EpLink from './components/medias/EpLink.vue';
|
|
30
|
+
import EpLinkVersion from './components/medias/EpLinkVersion.vue';
|
|
26
31
|
import EpSoftware from './components/medias/EpSoftware.vue';
|
|
27
32
|
import EpSvg from './components/medias/EpSvg.vue';
|
|
28
33
|
import EpTerm from './components/medias/EpTerm.vue';
|
|
@@ -32,4 +37,4 @@ import EpVideoPanopto from './components/medias/EpVideoPanopto.vue';
|
|
|
32
37
|
import EpAlert from './components/signages/EpAlert.vue';
|
|
33
38
|
import EpHeader from './components/signages/EpHeader.vue';
|
|
34
39
|
import EpQuote from './components/signages/EpQuote.vue';
|
|
35
|
-
export { EpBadge, EpBtn, EpCard, EpChip, EpDivider, EpFlex, EpIcon, EpImg, EpSection, EpSpinner, EpTable, EpText, EpEdu, EpReading, EpScope, EpAccordeon, EpContentSlider, EpModal, EpQuestion, EpTabs, EpAudio, EpCarousel, EpIframe, EpKatex, EpLink, EpSoftware, EpSvg, EpTerm, EpTimeLine, EpVideo, EpVideoPanopto, EpAlert, EpHeader, EpQuote, };
|
|
40
|
+
export { EpBadge, EpBtn, EpCard, EpChip, EpDivider, EpFlex, EpIcon, EpImg, EpSection, EpSpinner, EpTable, EpBarChart, EpLineChart, EpPieChart, EpText, EpEdu, EpReading, EpResource, EpScope, EpAccordeon, EpContentSlider, EpModal, EpQuestion, EpTabs, EpAudio, EpCarousel, EpIframe, EpKatex, EpLink, EpLinkVersion, EpSoftware, EpSvg, EpTerm, EpTimeLine, EpVideo, EpVideoPanopto, EpAlert, EpHeader, EpQuote, };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
+
|
|
2
3
|
import { computed, toRefs } from "vue";
|
|
3
|
-
import VueApexCharts from "vue3-apexcharts";
|
|
4
4
|
import EpEdu from "../educationals/EpEdu.vue";
|
|
5
5
|
import { mdiChartBar } from "@mdi/js";
|
|
6
6
|
import { MediaVariants } from "../../types/Medias";
|
|
@@ -67,7 +67,7 @@ const { center, series, source } = toRefs(props)
|
|
|
67
67
|
</template>
|
|
68
68
|
<template #content>
|
|
69
69
|
<div :class="`p-4 ${center ? 'flex justify-center' : ''}`" v-if="globalOptions && series">
|
|
70
|
-
<
|
|
70
|
+
<apexchart width="500" type="bar" :options="globalOptions" :series="series"></apexchart>
|
|
71
71
|
</div>
|
|
72
72
|
<div v-else>
|
|
73
73
|
<p>Data no disponible</p>
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import { computed, toRefs } from "vue";
|
|
3
|
-
import VueApexCharts from "vue3-apexcharts";
|
|
4
3
|
import EpEdu from "../educationals/EpEdu.vue";
|
|
5
4
|
import { mdiChartLine } from "@mdi/js";
|
|
6
5
|
import { MediaVariants } from "../../types/Medias";
|
|
@@ -77,7 +76,7 @@ const { center, series, source } = toRefs(props)
|
|
|
77
76
|
</template>
|
|
78
77
|
<template #content>
|
|
79
78
|
<div :class="`p-4 ${center ? 'flex justify-center' : ''}`" v-if="globalOptions && series">
|
|
80
|
-
<
|
|
79
|
+
<apexchart width="500" type="line" :options="globalOptions" :series="series"></apexchart>
|
|
81
80
|
</div>
|
|
82
81
|
<div v-else>
|
|
83
82
|
<p>Data no disponible</p>
|
|
@@ -56,9 +56,9 @@ const bottomBarStyle = computed(() => {
|
|
|
56
56
|
|
|
57
57
|
const containerStyle = computed(()=>{
|
|
58
58
|
if(hasActions.value || hasIntentions.value || props.title){
|
|
59
|
-
return `rounded-lg overflow-hidden ${props.flat?'':'shadow-md'} flex flex-col justify-between
|
|
59
|
+
return `rounded-lg overflow-hidden ${props.flat?'':'shadow-md'} flex flex-col justify-between`
|
|
60
60
|
}
|
|
61
|
-
return `flex flex-col justify-between
|
|
61
|
+
return `flex flex-col justify-between`
|
|
62
62
|
})
|
|
63
63
|
|
|
64
64
|
// type, taxonomyLevel, courseCode, courseTitle, title, subtitle, height, src, color, synchrone
|
|
@@ -74,7 +74,7 @@ const { title, hideIcon } = toRefs(props);
|
|
|
74
74
|
<EpScope v-if="mandateLevel" :title="mandateLevel"></EpScope>
|
|
75
75
|
</div>
|
|
76
76
|
<div class="px-5">
|
|
77
|
-
<div class="py-2
|
|
77
|
+
<div class="py-2" v-if="hasIntentions">
|
|
78
78
|
<!-- <EpIcon :size="24" :icon-path="mdiInformationOutline"></EpIcon> -->
|
|
79
79
|
<h4 class="font-semibold mb-2 text-sm uppercase tracking-wide text-gray-500">
|
|
80
80
|
[Intentions]
|
|
@@ -82,7 +82,7 @@ const { title, hideIcon } = toRefs(props);
|
|
|
82
82
|
<slot name="intentions"></slot>
|
|
83
83
|
<EpDivider/>
|
|
84
84
|
</div>
|
|
85
|
-
<div class="
|
|
85
|
+
<div class="py-2">
|
|
86
86
|
<slot name="content"></slot>
|
|
87
87
|
</div>
|
|
88
88
|
</div>
|