ep-lib-ts 0.1.19 → 0.1.20

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 (86) hide show
  1. package/dist/BgAudio-d9308f99.js +5 -0
  2. package/dist/DisplayBox-f17b28bc.js +5 -0
  3. package/dist/EpAlert-c5ccf377.js +5 -0
  4. package/dist/EpAudio-ee4175aa.js +5 -0
  5. package/dist/EpBadge-6fc0f5fc.js +5 -0
  6. package/dist/EpBarChart-d1bdc878.js +5 -0
  7. package/dist/EpBtn-010839a7.js +5 -0
  8. package/dist/EpCard-d67b77b2.js +5 -0
  9. package/dist/{EpDivider-451f49c7.js → EpChip-fd468489.js} +1 -1
  10. package/dist/EpContentSlider-b1f27a7d.js +5 -0
  11. package/dist/EpDivider-ea7f1d1a.js +5 -0
  12. package/dist/EpEdu-74aed121.js +5 -0
  13. package/dist/EpFlex-232d7513.js +5 -0
  14. package/dist/EpHeader-1f6cca20.js +5 -0
  15. package/dist/{EpImg-58fe0075.js → EpIcon-9dd2b039.js} +1 -1
  16. package/dist/EpIframe-a4082deb.js +5 -0
  17. package/dist/EpImg-7f4c35bd.js +5 -0
  18. package/dist/{EpInput-40066436.js → EpInput-556ab6fe.js} +36 -36
  19. package/dist/EpLineChart-822ceecf.js +5 -0
  20. package/dist/EpLink-c2a1a872.js +5 -0
  21. package/dist/EpLinkVersion-2bac33d5.js +5 -0
  22. package/dist/EpModal-1b4d1ff9.js +5 -0
  23. package/dist/{EpNothing-60a0495b.js → EpNothing-77b5a694.js} +2 -2
  24. package/dist/EpPieChart-ad8576ca.js +5 -0
  25. package/dist/EpQuestion-94aa29de.js +5 -0
  26. package/dist/EpQuote-adfe2a2b.js +5 -0
  27. package/dist/EpRadio-53f60b1a.js +5 -0
  28. package/dist/EpReading-747f0ce9.js +5 -0
  29. package/dist/EpResource-c6662e5a.js +5 -0
  30. package/dist/EpScope-494ffdec.js +5 -0
  31. package/dist/EpSection-bdad41e4.js +5 -0
  32. package/dist/{EpSelect-5eaaa06f.js → EpSelect-1ffc465c.js} +4 -4
  33. package/dist/EpSoftware-2730a943.js +5 -0
  34. package/dist/EpSpinner-da2475b0.js +5 -0
  35. package/dist/EpSvg-a2ebcc93.js +5 -0
  36. package/dist/EpTable-0555285d.js +5 -0
  37. package/dist/EpTerm-87ed74e7.js +5 -0
  38. package/dist/EpText-7c29711c.js +5 -0
  39. package/dist/EpTimeLine-c85d470a.js +5 -0
  40. package/dist/EpVideo-fe865980.js +5 -0
  41. package/dist/EpVideoPanopto-f31cdb1e.js +5 -0
  42. package/dist/TextBloc-d81840e6.js +13 -0
  43. package/dist/components/tools/TextBloc.vue.d.ts +9 -0
  44. package/dist/ep-lib-ts.js +5 -5
  45. package/dist/ep-lib-ts.umd.cjs +31 -31
  46. package/dist/{index-6479cc61.js → index-5bd6e63c.js} +1621 -1620
  47. package/dist/style.css +1 -1
  48. package/package.json +1 -1
  49. package/src/components/basics/EpText.vue +22 -3
  50. package/src/components/tools/TextBloc.vue +10 -0
  51. package/dist/BgAudio-e76b06bd.js +0 -5
  52. package/dist/DisplayBox-94d20004.js +0 -5
  53. package/dist/EpAlert-e5761fbe.js +0 -5
  54. package/dist/EpAudio-7fb55e21.js +0 -5
  55. package/dist/EpBadge-6e1e374b.js +0 -5
  56. package/dist/EpBarChart-940436ae.js +0 -5
  57. package/dist/EpBtn-d87b4bf9.js +0 -5
  58. package/dist/EpCard-2f0c3cf2.js +0 -5
  59. package/dist/EpChip-a1d7e511.js +0 -5
  60. package/dist/EpContentSlider-ea342e98.js +0 -5
  61. package/dist/EpEdu-150e12cd.js +0 -5
  62. package/dist/EpFlex-560db674.js +0 -5
  63. package/dist/EpHeader-532d0627.js +0 -5
  64. package/dist/EpIcon-47a3f19c.js +0 -5
  65. package/dist/EpIframe-8f71f906.js +0 -5
  66. package/dist/EpLineChart-0e5b5b2c.js +0 -5
  67. package/dist/EpLink-2d03f1e3.js +0 -5
  68. package/dist/EpLinkVersion-3bd4d934.js +0 -5
  69. package/dist/EpModal-b7d1789b.js +0 -5
  70. package/dist/EpPieChart-c8a803ad.js +0 -5
  71. package/dist/EpQuestion-1357ab62.js +0 -5
  72. package/dist/EpQuote-a7694dad.js +0 -5
  73. package/dist/EpRadio-c42aa3f5.js +0 -5
  74. package/dist/EpReading-cb2281dc.js +0 -5
  75. package/dist/EpResource-ed07a0f9.js +0 -5
  76. package/dist/EpScope-7a2308ab.js +0 -5
  77. package/dist/EpSection-6fbace66.js +0 -5
  78. package/dist/EpSoftware-03bf7edb.js +0 -5
  79. package/dist/EpSpinner-bbf4e53b.js +0 -5
  80. package/dist/EpSvg-fb389a78.js +0 -5
  81. package/dist/EpTable-90199b35.js +0 -5
  82. package/dist/EpTerm-7fc07a5f.js +0 -5
  83. package/dist/EpText-f5b15542.js +0 -5
  84. package/dist/EpTimeLine-64f3bcd6.js +0 -5
  85. package/dist/EpVideo-9c55fc1d.js +0 -5
  86. package/dist/EpVideoPanopto-2f5be5a0.js +0 -5
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- .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)}.content[data-v-ab122c9c]{max-height:0;overflow:hidden}.custom_index{z-index:9999;position:absolute;right:12rem}.h-custom{height:30rem}.p-custom p{margin-bottom:1em}.v-enter-active[data-v-049ea2df],.v-leave-active[data-v-049ea2df]{transition:opacity .5s ease}.v-enter-from[data-v-049ea2df],.v-leave-to[data-v-049ea2df]{opacity:0}.katex[data-v-24ff8b28]{font-size:1.3em}.content[data-v-523dedc7]{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)}
1
+ .content[data-v-ab122c9c]{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}.h-custom{height:30rem}.p-custom p{margin-bottom:1em}.v-enter-active[data-v-049ea2df],.v-leave-active[data-v-049ea2df]{transition:opacity .5s ease}.v-enter-from[data-v-049ea2df],.v-leave-to[data-v-049ea2df]{opacity:0}.katex[data-v-24ff8b28]{font-size:1.3em}.content[data-v-523dedc7]{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)}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ep-lib-ts",
3
3
  "private": false,
4
- "version": "0.1.19",
4
+ "version": "0.1.20",
5
5
  "files": [
6
6
  "dist",
7
7
  "src/components/"
@@ -1,10 +1,11 @@
1
1
  <script setup lang="ts">
2
- import { computed, defineComponent, toRefs } from 'vue';
2
+ import { computed, defineComponent, defineAsyncComponent, toRefs,ref, h, createApp, defineCustomElement } from 'vue';
3
3
  import { isHtml } from '../../composables/isHtml';
4
4
  import {useMarkdown} from '../../composables/useMarkdown'
5
- import EpTerm from '../medias/EpTerm.vue'
6
5
  import EpAccordeon from '../interactions/EpAccordeon.vue';
7
6
 
7
+
8
+
8
9
  interface Props {
9
10
  glossary?:any[];
10
11
  content:string;
@@ -82,21 +83,39 @@ const renderText = computed(()=>{
82
83
  })
83
84
 
84
85
 
86
+ const EpTerm = defineAsyncComponent(()=>import('../medias/EpTerm.vue'))
87
+
85
88
  const customRenderStringComponents = defineComponent({
86
89
  components:{
87
90
  'epterm':EpTerm
88
91
  },
89
92
  template:`<div>${renderText.value}</div>`
90
93
  })
94
+ // const customRenderStringComponents = defineComponent({
95
+ // components:{
96
+ // 'epterm':EpTerm
97
+ // },
98
+ // template:`<div>${renderText.value}</div>`
99
+ // })
100
+
101
+ // const TextApp = createApp({
102
+ // setup(){
103
+ // return () => h(TextBlock, `<template>${renderText.value}</template>`)
104
+ // }
105
+ // })
106
+
107
+
108
+
91
109
 
92
110
  const {compact} = toRefs(props)
93
111
 
94
112
  </script>
95
113
 
96
114
  <template>
115
+
97
116
  <component v-if="!compact" :is="customRenderStringComponents"></component>
98
117
  <EpAccordeon outlined :title="renderTitle" v-else>
99
118
  <component :is="customRenderStringComponents"></component>
100
- </EpAccordeon>
119
+ </EpAccordeon>
101
120
  <!-- <component v-else :is="renderText"></component> -->
102
121
  </template>
@@ -0,0 +1,10 @@
1
+ <script setup lang="ts">
2
+ import EpTerm from "../medias/EpTerm.vue";
3
+ </script>
4
+
5
+ <template>
6
+ <div>
7
+ block
8
+ <slot> </slot>
9
+ </div>
10
+ </template>
@@ -1,5 +0,0 @@
1
- import { L as m } from "./index-6479cc61.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { M as m } from "./index-6479cc61.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { I as m } from "./index-6479cc61.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { y as m } from "./index-6479cc61.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { b as m } from "./index-6479cc61.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { n as m } from "./index-6479cc61.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { c as m } from "./index-6479cc61.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { d as m } from "./index-6479cc61.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { e as m } from "./index-6479cc61.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { v as m } from "./index-6479cc61.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { q as m } from "./index-6479cc61.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { g as m } from "./index-6479cc61.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { J as m } from "./index-6479cc61.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { h as m } from "./index-6479cc61.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { z as m } from "./index-6479cc61.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { o as a } from "./index-6479cc61.js";
2
- import "vue";
3
- export {
4
- a as default
5
- };
@@ -1,5 +0,0 @@
1
- import { A as m } from "./index-6479cc61.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { B as m } from "./index-6479cc61.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { w as m } from "./index-6479cc61.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { p as m } from "./index-6479cc61.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { x as m } from "./index-6479cc61.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { K as m } from "./index-6479cc61.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { u as m } from "./index-6479cc61.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { a as m } from "./index-6479cc61.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { r as a } from "./index-6479cc61.js";
2
- import "vue";
3
- export {
4
- a as default
5
- };
@@ -1,5 +0,0 @@
1
- import { s as m } from "./index-6479cc61.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { j as m } from "./index-6479cc61.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { C as m } from "./index-6479cc61.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { k as m } from "./index-6479cc61.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { D as m } from "./index-6479cc61.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { l as m } from "./index-6479cc61.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { E as m } from "./index-6479cc61.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { m as a } from "./index-6479cc61.js";
2
- import "vue";
3
- export {
4
- a as default
5
- };
@@ -1,5 +0,0 @@
1
- import { F as m } from "./index-6479cc61.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { G as m } from "./index-6479cc61.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };
@@ -1,5 +0,0 @@
1
- import { H as m } from "./index-6479cc61.js";
2
- import "vue";
3
- export {
4
- m as default
5
- };