ep-lib-ts 0.1.30 → 0.1.33

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.
Files changed (155) hide show
  1. package/dist/BgAudio-03ab87a2.js +6 -0
  2. package/dist/DisplayBox-2a24a5ba.js +6 -0
  3. package/dist/EpAlert-174fcb58.js +6 -0
  4. package/dist/EpAudio-3273480f.js +6 -0
  5. package/dist/EpAvatar-b8e6cc02.js +50 -0
  6. package/dist/EpBadge-1001b3f1.js +6 -0
  7. package/dist/EpBadge-f5faab43.js +55 -0
  8. package/dist/EpBarChart-9f7bfb0a.js +6 -0
  9. package/dist/EpBtn-d2ee85de.js +6 -0
  10. package/dist/EpCard-eb83211e.js +6 -0
  11. package/dist/EpChip-916932cb.js +6 -0
  12. package/dist/EpContentSlider-0cf1508d.js +6 -0
  13. package/dist/EpDivider-e7cb7f8a.js +6 -0
  14. package/dist/EpEdu-5a7baed7.js +6 -0
  15. package/dist/EpFlex-5a98c073.js +6 -0
  16. package/dist/EpHeader-6434c484.js +6 -0
  17. package/dist/EpIcon-ee0a43f7.js +6 -0
  18. package/dist/EpIframe-22b07140.js +6 -0
  19. package/dist/EpImg-a6041dc8.js +6 -0
  20. package/dist/{EpInput-81ae2a5e.js → EpInput-84694089.js} +4 -3
  21. package/dist/EpLineChart-2575d63d.js +6 -0
  22. package/dist/EpLink-973bc022.js +6 -0
  23. package/dist/EpLinkVersion-24002433.js +6 -0
  24. package/dist/EpModal-c85f0d51.js +6 -0
  25. package/dist/EpNothing-97d18b42.js +11 -0
  26. package/dist/EpPieChart-0eb59e41.js +6 -0
  27. package/dist/EpQuestion-9a2344da.js +6 -0
  28. package/dist/EpQuote-aaa938d0.js +6 -0
  29. package/dist/EpRadio-57e34517.js +6 -0
  30. package/dist/EpReading-e17c098f.js +6 -0
  31. package/dist/EpResource-2adf0ce4.js +6 -0
  32. package/dist/EpScope-2eceb2e9.js +6 -0
  33. package/dist/EpSection-d658f245.js +6 -0
  34. package/dist/{EpSelect-0bc80667.js → EpSelect-c508997b.js} +4 -3
  35. package/dist/EpSkeleton-fccbc6be.js +6 -0
  36. package/dist/EpSoftware-32ca0529.js +6 -0
  37. package/dist/EpSpinner-d8682586.js +6 -0
  38. package/dist/EpSvg-7d74c2b2.js +6 -0
  39. package/dist/EpTable-e5bd6c19.js +6 -0
  40. package/dist/EpTerm-427f5b86.js +6 -0
  41. package/dist/EpText-f96b3863.js +6 -0
  42. package/dist/EpTimeLine-54cbf65e.js +6 -0
  43. package/dist/EpTooltip-05e1d8fe.js +99 -0
  44. package/dist/EpVideo-9a9ce1e1.js +6 -0
  45. package/dist/EpVideoPanopto-f42c01cc.js +6 -0
  46. package/dist/components/basics/EpAvatar.vue.d.ts +51 -0
  47. package/dist/components/basics/EpBadge.vue.d.ts +33 -34
  48. package/dist/components/basics/EpBtn.vue.d.ts +54 -94
  49. package/dist/components/basics/EpCard.vue.d.ts +51 -76
  50. package/dist/components/basics/EpChip.vue.d.ts +44 -59
  51. package/dist/components/basics/EpDivider.vue.d.ts +38 -44
  52. package/dist/components/basics/EpIcon.vue.d.ts +30 -33
  53. package/dist/components/basics/EpImg.vue.d.ts +40 -73
  54. package/dist/components/basics/EpSection.vue.d.ts +39 -73
  55. package/dist/components/basics/EpSpinner.vue.d.ts +34 -35
  56. package/dist/components/basics/EpTable.vue.d.ts +22 -22
  57. package/dist/components/basics/EpText.vue.d.ts +28 -31
  58. package/dist/components/charts/EpBarChart.vue.d.ts +35 -69
  59. package/dist/components/charts/EpLineChart.vue.d.ts +35 -69
  60. package/dist/components/charts/EpPieChart.vue.d.ts +37 -66
  61. package/dist/components/educationals/EpEdu.vue.d.ts +41 -66
  62. package/dist/components/educationals/EpReading.vue.d.ts +65 -140
  63. package/dist/components/educationals/EpResource.vue.d.ts +30 -32
  64. package/dist/components/educationals/EpScope.vue.d.ts +28 -19
  65. package/dist/components/forms/EpCheckbox.vue.d.ts +44 -60
  66. package/dist/components/forms/EpInput.vue.d.ts +51 -84
  67. package/dist/components/forms/EpRadio.vue.d.ts +46 -59
  68. package/dist/components/forms/EpSelect.vue.d.ts +47 -73
  69. package/dist/components/forms/EpSwitch.vue.d.ts +47 -68
  70. package/dist/components/forms/EpTextarea.vue.d.ts +50 -76
  71. package/dist/components/forms/EpToggle.vue.d.ts +47 -68
  72. package/dist/components/interactions/EpAccordeon.vue.d.ts +37 -42
  73. package/dist/components/interactions/EpContentSlider.vue.d.ts +20 -10
  74. package/dist/components/interactions/EpModal.vue.d.ts +47 -52
  75. package/dist/components/interactions/EpQuestion.vue.d.ts +45 -84
  76. package/dist/components/interactions/EpTooltip.vue.d.ts +48 -0
  77. package/dist/components/medias/EpAudio.vue.d.ts +41 -68
  78. package/dist/components/medias/EpCarousel.vue.d.ts +32 -35
  79. package/dist/components/medias/EpIframe.vue.d.ts +37 -54
  80. package/dist/components/medias/EpKatex.vue.d.ts +32 -49
  81. package/dist/components/medias/EpLink.vue.d.ts +41 -68
  82. package/dist/components/medias/EpLinkVersion.vue.d.ts +27 -27
  83. package/dist/components/medias/EpSoftware.vue.d.ts +47 -82
  84. package/dist/components/medias/EpSvg.vue.d.ts +31 -41
  85. package/dist/components/medias/EpTerm.vue.d.ts +41 -69
  86. package/dist/components/medias/EpTimeLine.vue.d.ts +22 -24
  87. package/dist/components/medias/EpVideo.vue.d.ts +38 -60
  88. package/dist/components/medias/EpVideoPanopto.vue.d.ts +38 -60
  89. package/dist/components/signages/EpAlert.vue.d.ts +36 -42
  90. package/dist/components/signages/EpBadge.vue.d.ts +56 -0
  91. package/dist/components/signages/EpHeader.vue.d.ts +53 -94
  92. package/dist/components/signages/EpQuote.vue.d.ts +31 -27
  93. package/dist/components/signages/EpSkeleton.vue.d.ts +40 -1
  94. package/dist/components/tools/BgAudio.vue.d.ts +26 -11
  95. package/dist/components/tools/TimelineItem.vue.d.ts +32 -33
  96. package/dist/ep-lib-ts.js +35 -33
  97. package/dist/ep-lib-ts.umd.cjs +31 -35
  98. package/dist/{index-78ac7d74.js → index-a7b2a6d7.js} +3544 -3532
  99. package/dist/index.d.ts +2 -1
  100. package/dist/style.css +1 -1
  101. package/dist/types/Avatar.d.ts +18 -0
  102. package/dist/types/Badge.d.ts +23 -0
  103. package/dist/types/Tooltip.d.ts +75 -0
  104. package/package.json +2 -2
  105. package/src/components/basics/EpAvatar.vue +72 -0
  106. package/src/components/basics/EpText.vue +1 -1
  107. package/src/components/educationals/EpEdu.vue +1 -0
  108. package/src/components/educationals/EpReading.vue +2 -2
  109. package/src/components/interactions/EpQuestion.vue +1 -1
  110. package/src/components/interactions/EpTooltip.vue +164 -0
  111. package/src/components/medias/EpCarousel.vue +21 -18
  112. package/src/components/signages/EpBadge.vue +82 -0
  113. package/src/components/signages/EpQuote.vue +53 -37
  114. package/src/components/signages/EpSkeleton.vue +36 -9
  115. package/src/components/tools/TimelineItem.vue +1 -1
  116. package/dist/BgAudio-820c0a39.js +0 -5
  117. package/dist/DisplayBox-05ba8755.js +0 -5
  118. package/dist/EpAlert-f32ad986.js +0 -5
  119. package/dist/EpAudio-80dbaf40.js +0 -5
  120. package/dist/EpBadge-cb67d4b1.js +0 -5
  121. package/dist/EpBarChart-710b4ff4.js +0 -5
  122. package/dist/EpBtn-5c939189.js +0 -5
  123. package/dist/EpCard-3c75fd57.js +0 -5
  124. package/dist/EpChip-75b64fd5.js +0 -5
  125. package/dist/EpContentSlider-5f4ed454.js +0 -5
  126. package/dist/EpDivider-05f71886.js +0 -5
  127. package/dist/EpEdu-b7e92524.js +0 -5
  128. package/dist/EpFlex-f7103829.js +0 -5
  129. package/dist/EpHeader-564a55a0.js +0 -5
  130. package/dist/EpIcon-5c184634.js +0 -5
  131. package/dist/EpIframe-e47cdf06.js +0 -5
  132. package/dist/EpImg-4ac885e3.js +0 -5
  133. package/dist/EpLineChart-468b3ed7.js +0 -5
  134. package/dist/EpLink-9f599e06.js +0 -5
  135. package/dist/EpLinkVersion-9a5026a6.js +0 -5
  136. package/dist/EpModal-8208c45a.js +0 -5
  137. package/dist/EpNothing-2c04e40e.js +0 -10
  138. package/dist/EpPieChart-0b7f0752.js +0 -5
  139. package/dist/EpQuestion-f5c0082f.js +0 -5
  140. package/dist/EpQuote-c51e2778.js +0 -5
  141. package/dist/EpRadio-edd52b6b.js +0 -5
  142. package/dist/EpReading-19d5e14b.js +0 -5
  143. package/dist/EpResource-d05a5a4a.js +0 -5
  144. package/dist/EpScope-e4c2d014.js +0 -5
  145. package/dist/EpSection-97392b3b.js +0 -5
  146. package/dist/EpSkeleton-9542d360.js +0 -10
  147. package/dist/EpSoftware-3c6dce6e.js +0 -5
  148. package/dist/EpSpinner-d47f52b4.js +0 -5
  149. package/dist/EpSvg-c08f08c7.js +0 -5
  150. package/dist/EpTable-15f79011.js +0 -5
  151. package/dist/EpTerm-892a5db3.js +0 -5
  152. package/dist/EpText-466d34a5.js +0 -5
  153. package/dist/EpTimeLine-7c0f2078.js +0 -5
  154. package/dist/EpVideo-ddedb1ac.js +0 -5
  155. package/dist/EpVideoPanopto-2d7bdf5f.js +0 -5
@@ -1,52 +1,68 @@
1
1
  <script setup lang="ts">
2
- import {toRefs, computed} from 'vue'
2
+ import { toRefs, computed } from "vue";
3
3
  import EpCard from "../basics/EpCard.vue";
4
4
  import EpDivider from "../basics/EpDivider.vue";
5
-
5
+ import EpIcon from '../basics/EpIcon.vue'
6
6
 
7
7
  interface Props {
8
- author?:string | null;
9
- img?:string | null;
10
- card?:boolean;
8
+ author?: string | null;
9
+ img?: string | null;
10
+ card?: boolean;
11
11
  }
12
12
 
13
13
  const props = withDefaults(defineProps<Props>(), {
14
- author:null,
15
- img:null,
16
- card:false
17
- })
14
+ author: null,
15
+ img: null,
16
+ card: false,
17
+ });
18
+
19
+ const colorText = computed(() => {
20
+ if (props.card) {
21
+ return `text-white`;
22
+ }
23
+ });
18
24
 
19
- const {author, img} = toRefs(props)
25
+ const styleTextAutor = computed(() => {
26
+ if (props.card) {
27
+ return `text-white`;
28
+ }
29
+ return `text-neutral-500`;
30
+ });
20
31
 
21
- const styleQuote = computed(()=> {
22
- if(props.card) {
23
- return `primary`
24
- }
25
- return ``
26
- })
32
+ const imageStyle = computed(() => {
33
+ if (props.card) {
34
+ return `rounded-lg`;
35
+ }
36
+ return `rounded-l-md`;
37
+ });
27
38
 
39
+ const { author, img, card } = toRefs(props);
28
40
  </script>
29
41
 
30
42
  <template>
31
- <EpCard density="compact" :color="styleQuote" outlined>
32
- <div
33
- class="flex flex-wrap rounded-md bg-white"
34
- >
35
- <img
36
- v-if="img"
37
- class="h-96 w-full rounded-t-md object-cover lg:h-auto lg:w-48 lg:rounded-none lg:rounded-l-md"
38
- :src="img"
39
- alt="Image of quote"
40
- />
41
- <div class="p-6 flex-1">
42
- <slot></slot>
43
- <template v-if="author">
44
- <EpDivider size="border"></EpDivider>
45
- <p class="text-xs italic text-neutral-500">
46
- {{ author }}
47
- </p>
48
- </template>
49
- </div>
50
- </div>
51
- </EpCard>
43
+ <div :class="card?'w-4/6 mx-auto':''">
44
+ <EpCard
45
+ :density="card?'default':'compact'"
46
+ :outlined="!card ? true : false"
47
+ :color="card ? 'primary':'bg-white'"
48
+ >
49
+ <div class="flex flex-wrap rounded-md">
50
+ <img
51
+ v-if="img"
52
+ :class="`h-96 w-full object-cover h-auto w-48 ${imageStyle}`"
53
+ :src="img"
54
+ alt="Image of quote"
55
+ />
56
+ <div :class="`p-6 flex-1 ${colorText}`">
57
+ <slot></slot>
58
+ <template v-if="author">
59
+ <EpDivider size="border"></EpDivider>
60
+ <p :class="`text-xs italic ${styleTextAutor}`">
61
+ {{ author }}
62
+ </p>
63
+ </template>
64
+ </div>
65
+ </div>
66
+ </EpCard>
67
+ </div>
52
68
  </template>
@@ -1,17 +1,44 @@
1
1
  <script setup lang="ts">
2
2
 
3
- //props
4
- //square
5
- //rounded
6
- //an animate
3
+ type Shape = "circle" | "rectangle";
7
4
 
8
- //https://mui.com/material-ui/react-skeleton/
9
- //https://ui.nuxt.com/layout/skeleton
10
5
 
6
+ interface Props {
7
+ type?:Shape;
8
+ height?:number;
9
+ width?:number;
10
+ animation?:string;
11
+ }
12
+
13
+ // define parameter
14
+ const props = withDefaults(defineProps<Props>(), {
15
+ type:'rectangle',
16
+ width:100,
17
+ height:10,
18
+ animation:"animate-pulse"
19
+ })
20
+
21
+ const width = props.width/4 +"rem"
22
+ const height = props.height/4+ "rem"
23
+ const animation = props.animation? props.animation :"animate-pulse"
11
24
 
12
25
  </script>
13
26
  <template>
14
- <div>
15
- skeleton
27
+ <div>
28
+ <div class="flex p-2" :class = "animation" >
29
+ <div v-if="props.type === 'circle'">
30
+ <span class="shape block bg-gray-200 rounded-full dark:bg-gray-700"></span>
31
+ </div>
32
+ <div v-else-if="props.type === 'rectangle'">
33
+ <span class="shape block bg-gray-200 dark:bg-gray-700 rounded-lg"></span>
34
+ </div>
35
+ </div>
16
36
  </div>
17
- </template>
37
+ </template>
38
+
39
+ <style >
40
+ .shape {
41
+ height: v-bind(height);
42
+ width: v-bind(width)
43
+ }
44
+ </style>
@@ -107,7 +107,7 @@ const { event } = toRefs(props)
107
107
  <span v-if="end_date?.hour.trim()" class="text-xs ml-1"> {{ end_date.hour }}</span>
108
108
 
109
109
  </div>
110
- <h1 :class="`text-2xl ${colorEvent.text}`">{{ event.text?.headline }}</h1>
110
+ <h2 :class="`text-2xl ${colorEvent.text}`">{{ event.text?.headline }}</h2>
111
111
  <!-- Content -->
112
112
  <div ref="collapsible" class="content">
113
113
  <div :class="`${src?'flex':''} py-4`">
@@ -1,5 +0,0 @@
1
- import { L as m } from "./index-78ac7d74.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { M as m } from "./index-78ac7d74.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { I as m } from "./index-78ac7d74.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { z as m } from "./index-78ac7d74.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { c as m } from "./index-78ac7d74.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { o as a } from "./index-78ac7d74.js";
2
- import "vue";
3
- export {
4
- a as default
5
- };
@@ -1,5 +0,0 @@
1
- import { d as m } from "./index-78ac7d74.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { e as m } from "./index-78ac7d74.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { f } from "./index-78ac7d74.js";
2
- import "vue";
3
- export {
4
- f as default
5
- };
@@ -1,5 +0,0 @@
1
- import { w as m } from "./index-78ac7d74.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { g as m } from "./index-78ac7d74.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { r as a } from "./index-78ac7d74.js";
2
- import "vue";
3
- export {
4
- a as default
5
- };
@@ -1,5 +0,0 @@
1
- import { h as m } from "./index-78ac7d74.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { J as m } from "./index-78ac7d74.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { i } from "./index-78ac7d74.js";
2
- import "vue";
3
- export {
4
- i as default
5
- };
@@ -1,5 +0,0 @@
1
- import { A as m } from "./index-78ac7d74.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { j as m } from "./index-78ac7d74.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { p as m } from "./index-78ac7d74.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { B as m } from "./index-78ac7d74.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { C as m } from "./index-78ac7d74.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { x as m } from "./index-78ac7d74.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,10 +0,0 @@
1
- import { openBlock as e, createElementBlock as o } from "vue";
2
- import { a as t } from "./index-78ac7d74.js";
3
- const n = {};
4
- function r(c, a) {
5
- return e(), o("div", null, " no data ");
6
- }
7
- const s = /* @__PURE__ */ t(n, [["render", r]]);
8
- export {
9
- s as default
10
- };
@@ -1,5 +0,0 @@
1
- import { q as m } from "./index-78ac7d74.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { y as m } from "./index-78ac7d74.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { K as m } from "./index-78ac7d74.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { v as m } from "./index-78ac7d74.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { b as m } from "./index-78ac7d74.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { s as m } from "./index-78ac7d74.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { t as a } from "./index-78ac7d74.js";
2
- import "vue";
3
- export {
4
- a as default
5
- };
@@ -1,5 +0,0 @@
1
- import { k as m } from "./index-78ac7d74.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,10 +0,0 @@
1
- import { defineComponent as e, openBlock as n, createElementBlock as t } from "vue";
2
- const p = /* @__PURE__ */ e({
3
- __name: "EpSkeleton",
4
- setup(o) {
5
- return (r, c) => (n(), t("div", null, " skeleton "));
6
- }
7
- });
8
- export {
9
- p as default
10
- };
@@ -1,5 +0,0 @@
1
- import { D as m } from "./index-78ac7d74.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { l as m } from "./index-78ac7d74.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { E as m } from "./index-78ac7d74.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { m as a } from "./index-78ac7d74.js";
2
- import "vue";
3
- export {
4
- a as default
5
- };
@@ -1,5 +0,0 @@
1
- import { _ as m } from "./index-78ac7d74.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { n as m } from "./index-78ac7d74.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { F as m } from "./index-78ac7d74.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { G as m } from "./index-78ac7d74.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { H as m } from "./index-78ac7d74.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };