ep-lib-ts 0.1.6 → 0.1.8

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ep-lib-ts",
3
3
  "private": false,
4
- "version": "0.1.6",
4
+ "version": "0.1.8",
5
5
  "files": [
6
6
  "dist",
7
7
  "src/components/"
@@ -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
- <VueApexCharts width="500" type="bar" :options="globalOptions" :series="series"></VueApexCharts>
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
- <VueApexCharts width="500" type="line" :options="globalOptions" :series="series"></VueApexCharts>
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>
@@ -12,7 +12,6 @@ interface Props {
12
12
  title?: string | null;
13
13
  outlined?:boolean;
14
14
  noIcon?:boolean;
15
- icon?:string | null
16
15
  compact?:boolean
17
16
  }
18
17
 
@@ -21,7 +20,6 @@ const props = withDefaults(defineProps<Props>(), {
21
20
  title: null,
22
21
  outlined:false,
23
22
  noIcon:false,
24
- icon:null
25
23
  });
26
24
 
27
25
  const isOutlined = computed(()=>{
@@ -40,9 +38,6 @@ const icon = computed(()=>{
40
38
  if(props.noIcon){
41
39
  return null
42
40
  }
43
- if(props.icon){
44
- return props.icon
45
- }
46
41
  return icon
47
42
  })
48
43