ep-lib-ts 0.1.25 → 0.1.26

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 (85) hide show
  1. package/dist/BgAudio-9c7c57a7.js +5 -0
  2. package/dist/DisplayBox-c282fff4.js +5 -0
  3. package/dist/EpAlert-a64aea08.js +5 -0
  4. package/dist/EpAudio-32aaf084.js +5 -0
  5. package/dist/EpBadge-8380fcc2.js +5 -0
  6. package/dist/EpBarChart-3f81608e.js +5 -0
  7. package/dist/EpBtn-0c842202.js +5 -0
  8. package/dist/EpCard-700fe5e3.js +5 -0
  9. package/dist/{EpDivider-24b9fdae.js → EpChip-d95c000b.js} +1 -1
  10. package/dist/EpContentSlider-d8752e6e.js +5 -0
  11. package/dist/EpDivider-a32e0177.js +5 -0
  12. package/dist/EpEdu-9d26836d.js +5 -0
  13. package/dist/EpFlex-59716f0c.js +5 -0
  14. package/dist/EpHeader-f168320a.js +5 -0
  15. package/dist/{EpImg-c144d3d2.js → EpIcon-f4b4bc40.js} +1 -1
  16. package/dist/EpIframe-27a236f3.js +5 -0
  17. package/dist/EpImg-00828689.js +5 -0
  18. package/dist/{EpInput-e4461512.js → EpInput-52bd7c29.js} +36 -36
  19. package/dist/EpLineChart-67012b1e.js +5 -0
  20. package/dist/EpLink-fc45197a.js +5 -0
  21. package/dist/EpLinkVersion-13183ab8.js +5 -0
  22. package/dist/EpModal-5bff1fb8.js +5 -0
  23. package/dist/{EpNothing-49d6aaf9.js → EpNothing-ee1a3764.js} +2 -2
  24. package/dist/EpPieChart-5e1350b8.js +5 -0
  25. package/dist/EpQuestion-ca5ebab1.js +5 -0
  26. package/dist/EpQuote-51d82a92.js +5 -0
  27. package/dist/EpRadio-34d4b2f1.js +5 -0
  28. package/dist/EpReading-15024973.js +5 -0
  29. package/dist/EpResource-d4402841.js +5 -0
  30. package/dist/EpScope-e03422df.js +5 -0
  31. package/dist/EpSection-07e69719.js +5 -0
  32. package/dist/{EpSelect-16c1dc3e.js → EpSelect-3bb3ebfb.js} +4 -4
  33. package/dist/EpSoftware-bf127112.js +5 -0
  34. package/dist/EpSpinner-6675a594.js +5 -0
  35. package/dist/EpSvg-26494cb6.js +5 -0
  36. package/dist/EpTable-4a80c53e.js +5 -0
  37. package/dist/EpTerm-681f1cec.js +5 -0
  38. package/dist/EpText-7636f01e.js +5 -0
  39. package/dist/EpTimeLine-3c329159.js +5 -0
  40. package/dist/EpVideo-0f779d99.js +5 -0
  41. package/dist/EpVideoPanopto-ee435c19.js +5 -0
  42. package/dist/components/medias/EpCarousel.vue.d.ts +6 -6
  43. package/dist/components/medias/EpTerm.vue.d.ts +9 -9
  44. package/dist/ep-lib-ts.js +5 -5
  45. package/dist/ep-lib-ts.umd.cjs +29 -29
  46. package/dist/{index-6098179c.js → index-58100a64.js} +3769 -3764
  47. package/package.json +2 -2
  48. package/src/components/basics/EpText.vue +12 -12
  49. package/src/components/signages/EpHeader.vue +5 -5
  50. package/dist/BgAudio-19fc3ef0.js +0 -5
  51. package/dist/DisplayBox-fa19ab72.js +0 -5
  52. package/dist/EpAlert-ab232357.js +0 -5
  53. package/dist/EpAudio-00157c16.js +0 -5
  54. package/dist/EpBadge-cb10612f.js +0 -5
  55. package/dist/EpBarChart-83419240.js +0 -5
  56. package/dist/EpBtn-af008ece.js +0 -5
  57. package/dist/EpCard-c3b9b7f3.js +0 -5
  58. package/dist/EpChip-fe638461.js +0 -5
  59. package/dist/EpContentSlider-3f980aaa.js +0 -5
  60. package/dist/EpEdu-bfa65400.js +0 -5
  61. package/dist/EpFlex-7055e504.js +0 -5
  62. package/dist/EpHeader-ccce56a6.js +0 -5
  63. package/dist/EpIcon-c07e65b8.js +0 -5
  64. package/dist/EpIframe-8b386b2d.js +0 -5
  65. package/dist/EpLineChart-171befe5.js +0 -5
  66. package/dist/EpLink-198d821f.js +0 -5
  67. package/dist/EpLinkVersion-f04da9ef.js +0 -5
  68. package/dist/EpModal-a0b66d0c.js +0 -5
  69. package/dist/EpPieChart-582e11c2.js +0 -5
  70. package/dist/EpQuestion-4bde8b02.js +0 -5
  71. package/dist/EpQuote-45484b6a.js +0 -5
  72. package/dist/EpRadio-ae91a584.js +0 -5
  73. package/dist/EpReading-63a6b4a7.js +0 -5
  74. package/dist/EpResource-4103b249.js +0 -5
  75. package/dist/EpScope-737d27a9.js +0 -5
  76. package/dist/EpSection-7d78ae7e.js +0 -5
  77. package/dist/EpSoftware-41e74d15.js +0 -5
  78. package/dist/EpSpinner-a06a4c1e.js +0 -5
  79. package/dist/EpSvg-b79609dc.js +0 -5
  80. package/dist/EpTable-f7a4501f.js +0 -5
  81. package/dist/EpTerm-51f8798c.js +0 -5
  82. package/dist/EpText-3c37dea4.js +0 -5
  83. package/dist/EpTimeLine-fb50cf15.js +0 -5
  84. package/dist/EpVideo-7c248b82.js +0 -5
  85. package/dist/EpVideoPanopto-43a49f5c.js +0 -5
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ep-lib-ts",
3
3
  "private": false,
4
- "version": "0.1.25",
4
+ "version": "0.1.26",
5
5
  "files": [
6
6
  "dist",
7
7
  "src/components/"
@@ -50,7 +50,7 @@
50
50
  "typescript": "^5.2.0-dev.20230801",
51
51
  "vite": "^4.1.0",
52
52
  "vite-plugin-dts": "^3.5.2",
53
- "vue-tsc": "^1.8.8"
53
+ "vue-tsc": "^1.8.10"
54
54
  },
55
55
  "peerDependencies": {
56
56
  "vue": "^3.2.45"
@@ -1,5 +1,5 @@
1
1
  <script setup lang="ts">
2
- import { computed, toRefs, h, } from "vue";
2
+ import { computed, toRefs, h, defineAsyncComponent} from "vue";
3
3
  import { isHtml } from "../../composables/isHtml";
4
4
  import { useMarkdown } from "../../composables/useMarkdown";
5
5
  import EpAccordeon from "../interactions/EpAccordeon.vue";
@@ -81,16 +81,16 @@ const renderText = computed(() => {
81
81
  return div.innerHTML;
82
82
  });
83
83
 
84
- // const render = () => {
85
- // const r = {
86
- // components: {
87
- // epterm: defineAsyncComponent(()=>import('../medias/EpTerm.vue')),
88
- // },
89
- // template: `<div>${renderText.value}</div>`,
90
- // };
84
+ const myRenderComponent = () => {
85
+ const r = {
86
+ components: {
87
+ epterm: defineAsyncComponent(()=>import('../medias/EpTerm.vue')),
88
+ },
89
+ template: `<div>${renderText.value}</div>`,
90
+ };
91
91
 
92
- // return h(r);
93
- // };
92
+ return h(r);
93
+ };
94
94
 
95
95
 
96
96
 
@@ -99,9 +99,9 @@ const { compact } = toRefs(props);
99
99
 
100
100
  <template>
101
101
  <div>
102
- <div v-if="!compact" v-html="renderText"></div>
102
+ <myRenderComponent v-if="!compact"></myRenderComponent>
103
103
  <EpAccordeon outlined :title="renderTitle" v-else>
104
- <div v-html="renderText"></div>
104
+ <myRenderComponent></myRenderComponent>
105
105
  </EpAccordeon>
106
106
  </div>
107
107
  </template>
@@ -46,12 +46,12 @@ const styles = computed(() => {
46
46
  return `
47
47
  flex
48
48
  flex-col
49
- items-start
50
49
  overflow-hidden
51
50
  w-full
52
51
  absolute
53
52
  ${props.big ? "min-h-screen" : "h-96"}
54
- bg-cover`;
53
+ bg-cover
54
+ bg-center`;
55
55
  });
56
56
 
57
57
  const bgImg = computed(() => {
@@ -77,13 +77,13 @@ const { title, headerImgColor, big } = toRefs(props);
77
77
  <section :class="`${big?'h-screen ':''}items-center overflow-hidden relative `" ref="el">
78
78
  <div :class="styles" :style="`background-image:url('${bgImg}'); filter:url(#${headerImgColor});`"></div>
79
79
 
80
- <div :class="`relative ${big?'mb-36':''}`">
80
+ <div :class="`relative ${big?'mb-36':''} h-full items-end`">
81
81
  <div class="flex md:justify-end justify-center pt-5">
82
82
  <EpChip v-if="synchrone" :prependIcon="mdiCast">Synchrone</EpChip>
83
83
  <EpChip v-if="duration" :prependIcon="mdiTimerOutline"> {{ duration }}</EpChip>
84
84
  <EpChip v-if="assessment" :prependIcon="mdiChairSchool">Formatif</EpChip>
85
85
  </div>
86
- <div class="md:px-64 flex w-full py-24 grow flex items-end">
86
+ <div class="md:px-64 flex w-full py-24 grow flex h-full items-center">
87
87
  <div class="container flex flex-col px-8 max-w-7xl md:flex-row lg:px-16">
88
88
  <div v-if="title || subtitle"
89
89
  class="p-4 md:items-center backdrop-blur-md backdrop-brightness-50 backdrop-opacity-75 rounded"
@@ -101,7 +101,7 @@ const { title, headerImgColor, big } = toRefs(props);
101
101
  </div>
102
102
  </div>
103
103
 
104
- <div v-if="props.big" class="animate-bounce">
104
+ <div v-if="props.big" class="animate-bounce absolute bottom-10 left-1/2">
105
105
  <div class="mx-auto w-12 bg-white rounded-full p-2" @click="clickScroll">
106
106
  <EpIcon :iconPath="mdiChevronDown" size="32"></EpIcon>
107
107
  </div>
@@ -1,5 +0,0 @@
1
- import { L as m } from "./index-6098179c.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { M as m } from "./index-6098179c.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { I as m } from "./index-6098179c.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { y as m } from "./index-6098179c.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { b as m } from "./index-6098179c.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { n as m } from "./index-6098179c.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { c as m } from "./index-6098179c.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { d as m } from "./index-6098179c.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { e as m } from "./index-6098179c.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { v as m } from "./index-6098179c.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { q as m } from "./index-6098179c.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { g as m } from "./index-6098179c.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { J as m } from "./index-6098179c.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { h as m } from "./index-6098179c.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { z as m } from "./index-6098179c.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { o as a } from "./index-6098179c.js";
2
- import "vue";
3
- export {
4
- a as default
5
- };
@@ -1,5 +0,0 @@
1
- import { A as m } from "./index-6098179c.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { B as m } from "./index-6098179c.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { w as m } from "./index-6098179c.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { p as m } from "./index-6098179c.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { x as m } from "./index-6098179c.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { K as m } from "./index-6098179c.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { u as m } from "./index-6098179c.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { a as m } from "./index-6098179c.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { r as a } from "./index-6098179c.js";
2
- import "vue";
3
- export {
4
- a as default
5
- };
@@ -1,5 +0,0 @@
1
- import { s as m } from "./index-6098179c.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { j as m } from "./index-6098179c.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { C as m } from "./index-6098179c.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { k as m } from "./index-6098179c.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { D as m } from "./index-6098179c.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { l as m } from "./index-6098179c.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { E as m } from "./index-6098179c.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { m as a } from "./index-6098179c.js";
2
- import "vue";
3
- export {
4
- a as default
5
- };
@@ -1,5 +0,0 @@
1
- import { F as m } from "./index-6098179c.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { G as m } from "./index-6098179c.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { H as m } from "./index-6098179c.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };