ep-lib-ts 1.0.55 → 1.0.57

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 (649) hide show
  1. package/dist/{types/Answer.d.ts → Answer.d.ts} +0 -1
  2. package/dist/{types/Hierarchy.d.ts → Hierarchy.d.ts} +1 -1
  3. package/dist/_virtual/_plugin-vue_export-helper.js +9 -0
  4. package/dist/_virtual/dynamic-import-helper.js +9 -0
  5. package/dist/basics/EpAvatar.d.ts +21 -0
  6. package/dist/basics/EpAvatar.js +4 -0
  7. package/dist/basics/EpBadge.d.ts +6 -0
  8. package/dist/basics/EpBadge.js +4 -0
  9. package/dist/basics/EpBtn.d.ts +14 -0
  10. package/dist/basics/EpBtn.js +4 -0
  11. package/dist/basics/EpCard.d.ts +14 -0
  12. package/dist/basics/EpCard.js +4 -0
  13. package/dist/basics/EpChip.d.ts +10 -0
  14. package/dist/basics/EpChip.js +4 -0
  15. package/dist/basics/EpDivider.d.ts +8 -0
  16. package/dist/basics/EpDivider.js +4 -0
  17. package/dist/basics/EpFlex.d.ts +7 -0
  18. package/dist/basics/EpFlex.js +4 -0
  19. package/dist/basics/EpHover.d.ts +9 -0
  20. package/dist/basics/EpHover.js +4 -0
  21. package/dist/basics/EpHoverCard.d.ts +19 -0
  22. package/dist/basics/EpHoverCard.js +4 -0
  23. package/dist/basics/EpIcon.d.ts +6 -0
  24. package/dist/basics/EpIcon.js +4 -0
  25. package/dist/basics/EpImg.d.ts +17 -0
  26. package/dist/basics/EpImg.js +4 -0
  27. package/dist/basics/EpImgCarousel.d.ts +20 -0
  28. package/dist/basics/EpImgCarousel.js +4 -0
  29. package/dist/basics/EpList.d.ts +3 -0
  30. package/dist/basics/EpList.js +4 -0
  31. package/dist/basics/EpListItem.d.ts +7 -0
  32. package/dist/basics/EpListItem.js +4 -0
  33. package/dist/basics/EpSection.d.ts +13 -0
  34. package/dist/basics/EpSection.js +4 -0
  35. package/dist/basics/EpSectionCols.d.ts +17 -0
  36. package/dist/basics/EpSectionCols.js +4 -0
  37. package/dist/basics/EpSpinner.d.ts +6 -0
  38. package/dist/basics/EpSpinner.js +4 -0
  39. package/dist/basics/EpStackedList.d.ts +10 -0
  40. package/dist/basics/EpStackedList.js +4 -0
  41. package/dist/basics/EpTable.d.ts +5 -0
  42. package/dist/basics/EpTable.js +4 -0
  43. package/dist/basics/EpText.d.ts +11 -0
  44. package/dist/basics/EpText.js +4 -0
  45. package/dist/charts/EpBarChart.d.ts +30 -0
  46. package/dist/charts/EpBarChart.js +4 -0
  47. package/dist/charts/EpFunnelChart.d.ts +31 -0
  48. package/dist/charts/EpFunnelChart.js +4 -0
  49. package/dist/charts/EpLineChart.d.ts +28 -0
  50. package/dist/charts/EpLineChart.js +4 -0
  51. package/dist/charts/EpPieChart.d.ts +32 -0
  52. package/dist/charts/EpPieChart.js +4 -0
  53. package/dist/components/basics/EpAvatar.vue.js +32 -0
  54. package/dist/components/basics/EpAvatar.vue2.js +4 -0
  55. package/dist/components/basics/EpBadge.vue.js +22 -0
  56. package/dist/components/basics/EpBadge.vue2.js +4 -0
  57. package/dist/components/basics/EpBtn.vue.js +79 -0
  58. package/dist/components/basics/EpBtn.vue2.js +4 -0
  59. package/dist/components/basics/EpCard.vue.js +80 -0
  60. package/dist/components/basics/EpCard.vue2.js +4 -0
  61. package/dist/components/basics/EpChip.vue.js +49 -0
  62. package/dist/components/basics/EpChip.vue2.js +4 -0
  63. package/dist/components/basics/EpDivider.vue.js +21 -0
  64. package/dist/components/basics/EpDivider.vue2.js +4 -0
  65. package/dist/components/basics/EpFlex.vue.js +12 -0
  66. package/dist/components/basics/EpFlex.vue2.js +4 -0
  67. package/dist/components/basics/EpHover.vue.js +36 -0
  68. package/dist/components/basics/EpHover.vue2.js +4 -0
  69. package/dist/components/basics/EpHoverCard.vue.js +86 -0
  70. package/dist/components/basics/EpHoverCard.vue2.js +4 -0
  71. package/dist/components/basics/EpIcon.vue.js +26 -0
  72. package/dist/components/basics/EpIcon.vue2.js +4 -0
  73. package/dist/components/basics/EpImg.vue.js +184 -0
  74. package/dist/components/basics/EpImg.vue2.js +4 -0
  75. package/dist/components/basics/EpImgCarousel.vue.js +124 -0
  76. package/dist/components/basics/EpImgCarousel.vue2.js +4 -0
  77. package/dist/components/basics/EpList.vue.js +12 -0
  78. package/dist/components/basics/EpListItem.vue.js +35 -0
  79. package/dist/components/basics/EpListItem.vue2.js +4 -0
  80. package/dist/components/basics/EpSection.vue.js +74 -0
  81. package/dist/components/basics/EpSection.vue2.js +4 -0
  82. package/dist/components/basics/EpSectionCols.vue.js +94 -0
  83. package/dist/components/basics/EpSectionCols.vue2.js +4 -0
  84. package/dist/components/basics/EpSpinner.vue.js +122 -0
  85. package/dist/components/basics/EpSpinner.vue2.js +4 -0
  86. package/dist/components/basics/EpStackedList.vue.js +70 -0
  87. package/dist/components/basics/EpStackedList.vue2.js +4 -0
  88. package/dist/components/basics/EpTable.vue.js +49 -0
  89. package/dist/components/basics/EpTable.vue2.js +4 -0
  90. package/dist/components/basics/EpText.vue.js +83 -0
  91. package/dist/components/basics/EpText.vue2.js +4 -0
  92. package/dist/components/charts/EpBarChart.vue.js +78 -0
  93. package/dist/components/charts/EpBarChart.vue2.js +4 -0
  94. package/dist/components/charts/EpFunnelChart.vue.js +112 -0
  95. package/dist/components/charts/EpFunnelChart.vue2.js +4 -0
  96. package/dist/components/charts/EpLineChart.vue.js +91 -0
  97. package/dist/components/charts/EpLineChart.vue2.js +4 -0
  98. package/dist/components/charts/EpPieChart.vue.js +75 -0
  99. package/dist/components/charts/EpPieChart.vue2.js +4 -0
  100. package/dist/components/educationals/EpBranchingScenario.vue.js +7 -0
  101. package/dist/components/educationals/EpBranchingScenario.vue2.js +236 -0
  102. package/dist/components/educationals/EpCodeblock.vue.js +44 -0
  103. package/dist/components/educationals/EpCodeblock.vue3.js +5 -0
  104. package/dist/components/educationals/EpConclusion.vue.js +40 -0
  105. package/dist/components/educationals/EpConclusion.vue2.js +4 -0
  106. package/dist/components/educationals/EpDescription.vue.js +40 -0
  107. package/dist/components/educationals/EpDescription.vue2.js +4 -0
  108. package/dist/components/educationals/EpDocument.vue.js +99 -0
  109. package/dist/components/educationals/EpDocument.vue2.js +4 -0
  110. package/dist/components/educationals/EpEdu.vue.js +81 -0
  111. package/dist/components/educationals/EpEdu.vue2.js +4 -0
  112. package/dist/components/educationals/EpInstructions.vue.js +49 -0
  113. package/dist/components/educationals/EpInstructions.vue2.js +4 -0
  114. package/dist/components/educationals/EpIntroduction.vue.js +39 -0
  115. package/dist/components/educationals/EpIntroduction.vue2.js +4 -0
  116. package/dist/components/educationals/EpObjective.vue.js +39 -0
  117. package/dist/components/educationals/EpObjective.vue2.js +4 -0
  118. package/dist/components/educationals/EpReading.vue.js +307 -0
  119. package/dist/components/educationals/EpReading.vue2.js +4 -0
  120. package/dist/components/educationals/EpResource.vue.js +33 -0
  121. package/dist/components/educationals/EpResource.vue2.js +4 -0
  122. package/dist/components/educationals/EpScope.vue.js +25 -0
  123. package/dist/components/educationals/EpScope.vue2.js +4 -0
  124. package/dist/components/educationals/EpSpecificObjective.vue.js +37 -0
  125. package/dist/components/educationals/EpSpecificObjective.vue2.js +4 -0
  126. package/dist/components/forms/EpCheckbox.vue2.js +4 -0
  127. package/dist/components/forms/EpInput.vue.js +62 -0
  128. package/dist/components/forms/EpInput.vue2.js +4 -0
  129. package/dist/components/forms/EpRadio.vue.js +41 -0
  130. package/dist/components/forms/EpRadio.vue2.js +4 -0
  131. package/dist/components/forms/EpRadioSummative.vue.js +37 -0
  132. package/dist/components/forms/EpRadioSummative.vue2.js +4 -0
  133. package/dist/components/forms/EpSelect.vue2.js +4 -0
  134. package/dist/components/forms/EpSwitch.vue.js +48 -0
  135. package/dist/components/forms/EpSwitch.vue2.js +4 -0
  136. package/dist/{EpTextarea-VJ4pdPV_.js → components/forms/EpTextarea.vue.js} +6 -15
  137. package/dist/components/forms/EpTextarea.vue2.js +4 -0
  138. package/dist/{EpToggle-BTkTNVEz.js → components/forms/EpToggle.vue.js} +7 -16
  139. package/dist/components/forms/EpToggle.vue2.js +4 -0
  140. package/dist/{Ep360Image-T9Z_eSbf.js → components/interactions/Ep360Image.vue.js} +1 -1
  141. package/dist/components/interactions/Ep360Image.vue2.js +4 -0
  142. package/dist/{Ep360Video-CkVrfj8k.js → components/interactions/Ep360Video.vue.js} +1 -1
  143. package/dist/components/interactions/Ep360Video.vue2.js +4 -0
  144. package/dist/components/interactions/EpAccordeon.vue.js +7 -0
  145. package/dist/components/interactions/EpAccordeon.vue2.js +75 -0
  146. package/dist/components/interactions/EpContentSlider.vue.js +184 -0
  147. package/dist/components/interactions/EpContentSlider.vue2.js +4 -0
  148. package/dist/{EpDarkmode-Kj9ZCege.js → components/interactions/EpDarkMode.vue.js} +5 -5
  149. package/dist/components/interactions/EpDarkMode.vue2.js +4 -0
  150. package/dist/components/interactions/EpDraggable.vue.js +144 -0
  151. package/dist/components/interactions/EpDraggable.vue2.js +4 -0
  152. package/dist/{EpHotsPot-nT87sUMT.js → components/interactions/EpHotsPot.vue.js} +1 -1
  153. package/dist/components/interactions/EpHotsPot.vue2.js +4 -0
  154. package/dist/components/interactions/EpModal.vue.js +55 -0
  155. package/dist/components/interactions/EpModal.vue3.js +5 -0
  156. package/dist/components/interactions/EpQuestion.vue.js +175 -0
  157. package/dist/components/interactions/EpQuestion.vue2.js +4 -0
  158. package/dist/components/interactions/EpSummativeTable.vue.js +49 -0
  159. package/dist/components/interactions/EpSummativeTable.vue2.js +4 -0
  160. package/dist/components/interactions/EpSvgShow.vue.js +69 -0
  161. package/dist/components/interactions/EpSvgShow.vue2.js +4 -0
  162. package/dist/components/interactions/EpTabs.vue.js +12 -0
  163. package/dist/components/interactions/EpTooltip.vue.js +24 -0
  164. package/dist/components/interactions/EpTooltip.vue3.js +5 -0
  165. package/dist/components/medias/EpAudio.vue.js +76 -0
  166. package/dist/components/medias/EpAudio.vue2.js +4 -0
  167. package/dist/components/medias/EpCardLink.vue.js +65 -0
  168. package/dist/components/medias/EpCardLink.vue2.js +4 -0
  169. package/dist/components/medias/EpCarousel.vue.js +7 -0
  170. package/dist/components/medias/EpCarousel.vue2.js +162 -0
  171. package/dist/components/medias/EpHierarchy.vue.js +7 -0
  172. package/dist/components/medias/EpHierarchy.vue2.js +172 -0
  173. package/dist/components/medias/EpIframe.vue.js +53 -0
  174. package/dist/components/medias/EpIframe.vue2.js +4 -0
  175. package/dist/components/medias/EpKatex.vue.js +7 -0
  176. package/dist/components/medias/EpKatex.vue2.js +58 -0
  177. package/dist/components/medias/EpLink.vue.js +73 -0
  178. package/dist/components/medias/EpLink.vue2.js +4 -0
  179. package/dist/components/medias/EpLinkVersion.vue.js +34 -0
  180. package/dist/components/medias/EpLinkVersion.vue2.js +4 -0
  181. package/dist/components/medias/EpLottieSvg.vue.js +47 -0
  182. package/dist/components/medias/EpLottieSvg.vue2.js +4 -0
  183. package/dist/components/medias/EpSensibleImage.vue.js +7 -0
  184. package/dist/components/medias/EpSensibleImage.vue2.js +71 -0
  185. package/dist/components/medias/EpSoftware.vue.js +113 -0
  186. package/dist/components/medias/EpSoftware.vue2.js +4 -0
  187. package/dist/components/medias/EpSvg.vue.js +56 -0
  188. package/dist/components/medias/EpSvg.vue2.js +4 -0
  189. package/dist/components/medias/EpTerm.vue.js +144 -0
  190. package/dist/components/medias/EpTerm.vue2.js +4 -0
  191. package/dist/components/medias/EpTimeLine.vue.js +64 -0
  192. package/dist/components/medias/EpTimeLine.vue3.js +5 -0
  193. package/dist/components/medias/EpVideo.vue.js +83 -0
  194. package/dist/components/medias/EpVideo.vue2.js +4 -0
  195. package/dist/components/medias/EpVideoPanopto.vue.js +56 -0
  196. package/dist/components/medias/EpVideoPanopto.vue2.js +4 -0
  197. package/dist/components/medias/EpWordDef.vue.js +100 -0
  198. package/dist/components/medias/EpWordDef.vue2.js +4 -0
  199. package/dist/components/signages/EpAlert.vue.js +7 -0
  200. package/dist/components/signages/EpAlert.vue2.js +68 -0
  201. package/dist/components/signages/EpBadge.vue.js +32 -0
  202. package/dist/components/signages/EpBadge.vue2.js +4 -0
  203. package/dist/components/signages/EpHeader.vue.js +205 -0
  204. package/dist/components/signages/EpHeader.vue2.js +4 -0
  205. package/dist/components/signages/EpNothing.vue.js +10 -0
  206. package/dist/components/signages/EpQuote.vue.js +76 -0
  207. package/dist/components/signages/EpQuote.vue2.js +4 -0
  208. package/dist/components/signages/EpSkeleton.vue.js +34 -0
  209. package/dist/components/signages/EpSkeleton.vue3.js +5 -0
  210. package/dist/components/tools/BgAudio.vue.js +59 -0
  211. package/dist/components/tools/BgAudio.vue2.js +4 -0
  212. package/dist/components/tools/Details.vue.js +4 -0
  213. package/dist/components/tools/Details.vue2.js +55 -0
  214. package/dist/components/tools/DisplayBox.vue.js +5 -0
  215. package/dist/components/tools/DisplayBox.vue2.js +36 -0
  216. package/dist/components/tools/SvgFilter.vue.js +54 -0
  217. package/dist/components/tools/TextMedia.vue.js +4 -0
  218. package/dist/components/tools/TextMedia.vue2.js +41 -0
  219. package/dist/components/tools/TimelineItem.vue.js +7 -0
  220. package/dist/components/tools/TimelineItem.vue2.js +112 -0
  221. package/dist/components/tools/TwoColsMedia.vue.js +4 -0
  222. package/dist/components/tools/TwoColsMedia.vue2.js +50 -0
  223. package/dist/composables/isHtml.js +6 -0
  224. package/dist/composables/useColors.js +133 -0
  225. package/dist/composables/useComponent.js +40 -0
  226. package/dist/composables/useCreateUid.js +7 -0
  227. package/dist/composables/useIcons.js +32 -0
  228. package/dist/composables/useMarkdown.js +12 -0
  229. package/dist/composables/useRenderText.js +8 -0
  230. package/dist/educationals/EpBranchingScenario.d.ts +21 -0
  231. package/dist/educationals/EpBranchingScenario.js +4 -0
  232. package/dist/educationals/EpCodeblock.d.ts +12 -0
  233. package/dist/educationals/EpCodeblock.js +5 -0
  234. package/dist/educationals/EpConclusion.d.ts +5 -0
  235. package/dist/educationals/EpConclusion.js +4 -0
  236. package/dist/educationals/EpDescription.d.ts +5 -0
  237. package/dist/educationals/EpDescription.js +4 -0
  238. package/dist/educationals/EpDocument.d.ts +10 -0
  239. package/dist/educationals/EpDocument.js +4 -0
  240. package/dist/educationals/EpEdu.d.ts +13 -0
  241. package/dist/educationals/EpEdu.js +4 -0
  242. package/dist/educationals/EpInstructions.d.ts +13 -0
  243. package/dist/educationals/EpInstructions.js +4 -0
  244. package/dist/educationals/EpIntroduction.d.ts +5 -0
  245. package/dist/educationals/EpIntroduction.js +4 -0
  246. package/dist/educationals/EpObjective.d.ts +5 -0
  247. package/dist/educationals/EpObjective.js +4 -0
  248. package/dist/educationals/EpReading.d.ts +26 -0
  249. package/dist/educationals/EpReading.js +4 -0
  250. package/dist/educationals/EpResource.d.ts +8 -0
  251. package/dist/educationals/EpResource.js +4 -0
  252. package/dist/educationals/EpScope.d.ts +4 -0
  253. package/dist/educationals/EpScope.js +4 -0
  254. package/dist/educationals/EpSpecificObjective.d.ts +7 -0
  255. package/dist/educationals/EpSpecificObjective.js +4 -0
  256. package/dist/ep-lib-ts.css +1 -0
  257. package/dist/forms/EpCheckbox.d.ts +8 -0
  258. package/dist/forms/EpCheckbox.js +4 -0
  259. package/dist/forms/EpInput.d.ts +21 -0
  260. package/dist/forms/EpInput.js +4 -0
  261. package/dist/forms/EpRadio.d.ts +10 -0
  262. package/dist/forms/EpRadio.js +4 -0
  263. package/dist/forms/EpRadioSummative.d.ts +10 -0
  264. package/dist/forms/EpRadioSummative.js +4 -0
  265. package/dist/forms/EpSelect.d.ts +7 -0
  266. package/dist/forms/EpSelect.js +4 -0
  267. package/dist/forms/EpSwitch.d.ts +10 -0
  268. package/dist/forms/EpSwitch.js +4 -0
  269. package/dist/forms/EpTextarea.d.ts +23 -0
  270. package/dist/forms/EpTextarea.js +4 -0
  271. package/dist/forms/EpToggle.d.ts +13 -0
  272. package/dist/forms/EpToggle.js +4 -0
  273. package/dist/interactions/Ep360Image.d.ts +4 -0
  274. package/dist/interactions/Ep360Image.js +4 -0
  275. package/dist/interactions/Ep360Video.d.ts +3 -0
  276. package/dist/interactions/Ep360Video.js +4 -0
  277. package/dist/interactions/EpAccordeon.d.ts +9 -0
  278. package/dist/interactions/EpAccordeon.js +4 -0
  279. package/dist/interactions/EpContentSlider.d.ts +7 -0
  280. package/dist/interactions/EpContentSlider.js +4 -0
  281. package/dist/interactions/EpDarkMode.d.ts +1 -0
  282. package/dist/interactions/EpDarkMode.js +4 -0
  283. package/dist/interactions/EpDraggable.d.ts +6 -0
  284. package/dist/interactions/EpDraggable.js +4 -0
  285. package/dist/interactions/EpHotsPot.d.ts +17 -0
  286. package/dist/interactions/EpHotsPot.js +4 -0
  287. package/dist/interactions/EpModal.d.ts +10 -0
  288. package/dist/interactions/EpModal.js +5 -0
  289. package/dist/interactions/EpQuestion.d.ts +19 -0
  290. package/dist/interactions/EpQuestion.js +4 -0
  291. package/dist/interactions/EpSummativeTable.d.ts +6 -0
  292. package/dist/interactions/EpSummativeTable.js +4 -0
  293. package/dist/interactions/EpSvgShow.d.ts +5 -0
  294. package/dist/interactions/EpSvgShow.js +4 -0
  295. package/dist/interactions/EpTabs.d.ts +1 -0
  296. package/dist/interactions/EpTabs.js +4 -0
  297. package/dist/interactions/EpTooltip.d.ts +24 -0
  298. package/dist/interactions/EpTooltip.js +5 -0
  299. package/dist/medias/EpAudio.d.ts +13 -0
  300. package/dist/medias/EpAudio.js +4 -0
  301. package/dist/medias/EpCardLink.d.ts +19 -0
  302. package/dist/medias/EpCardLink.js +4 -0
  303. package/dist/medias/EpCarousel.d.ts +13 -0
  304. package/dist/medias/EpCarousel.js +4 -0
  305. package/dist/medias/EpHierarchy.d.ts +10 -0
  306. package/dist/medias/EpHierarchy.js +4 -0
  307. package/dist/medias/EpIframe.d.ts +13 -0
  308. package/dist/medias/EpIframe.js +4 -0
  309. package/dist/medias/EpKatex.d.ts +10 -0
  310. package/dist/medias/EpKatex.js +4 -0
  311. package/dist/medias/EpLink.d.ts +13 -0
  312. package/dist/medias/EpLink.js +4 -0
  313. package/dist/medias/EpLinkVersion.d.ts +18 -0
  314. package/dist/medias/EpLinkVersion.js +4 -0
  315. package/dist/medias/EpLottieSvg.d.ts +12 -0
  316. package/dist/medias/EpLottieSvg.js +4 -0
  317. package/dist/medias/EpSensibleImage.d.ts +11 -0
  318. package/dist/medias/EpSoftware.d.ts +16 -0
  319. package/dist/medias/EpSoftware.js +4 -0
  320. package/dist/medias/EpSvg.d.ts +12 -0
  321. package/dist/medias/EpSvg.js +4 -0
  322. package/dist/medias/EpTerm.d.ts +15 -0
  323. package/dist/medias/EpTerm.js +4 -0
  324. package/dist/medias/EpTimeLine.d.ts +13 -0
  325. package/dist/medias/EpTimeLine.js +5 -0
  326. package/dist/medias/EpVideo.d.ts +13 -0
  327. package/dist/medias/EpVideo.js +4 -0
  328. package/dist/medias/EpVideoPanopto.d.ts +13 -0
  329. package/dist/medias/EpVideoPanopto.js +4 -0
  330. package/dist/medias/EpWordDef.d.ts +25 -0
  331. package/dist/medias/EpWordDef.js +4 -0
  332. package/dist/signages/EpAlert.d.ts +16 -0
  333. package/dist/signages/EpAlert.js +4 -0
  334. package/dist/signages/EpBadge.d.ts +22 -0
  335. package/dist/signages/EpBadge.js +4 -0
  336. package/dist/signages/EpHeader.d.ts +28 -0
  337. package/dist/signages/EpHeader.js +4 -0
  338. package/dist/signages/EpNothing.d.ts +1 -0
  339. package/dist/signages/EpNothing.js +4 -0
  340. package/dist/signages/EpQuote.d.ts +6 -0
  341. package/dist/signages/EpQuote.js +4 -0
  342. package/dist/signages/EpSkeleton.d.ts +9 -0
  343. package/dist/signages/EpSkeleton.js +5 -0
  344. package/dist/types/Accordeon.js +51 -0
  345. package/dist/types/Alert.js +75 -0
  346. package/dist/types/Avatar.js +20 -0
  347. package/dist/{EpBadge-CWIq_C51.js → types/Badge.js} +3 -33
  348. package/dist/types/Btn.js +50 -0
  349. package/dist/types/Card.js +8 -0
  350. package/dist/types/Chip.js +42 -0
  351. package/dist/types/Codeblock.js +79 -0
  352. package/dist/types/Cols.js +10 -0
  353. package/dist/types/Image.js +23 -0
  354. package/dist/types/Medias.js +14 -0
  355. package/dist/types/Radio.js +13 -0
  356. package/dist/types/StackedList.js +9 -0
  357. package/dist/types/Switch.js +13 -0
  358. package/dist/types/TimeLine.js +22 -0
  359. package/dist/{EpTooltip-J6UMMP3d.js → types/Tooltip.js} +3 -25
  360. package/package.json +82 -60
  361. package/.vscode/extensions.json +0 -3
  362. package/dist/BgAudio-CjD8rE6L.js +0 -4
  363. package/dist/Details-DodNJLmk.js +0 -4
  364. package/dist/DisplayBox-a9QABBg0.js +0 -4
  365. package/dist/EpAlert-DL2pQmkm.js +0 -4
  366. package/dist/EpAudio-B1eoAvQp.js +0 -4
  367. package/dist/EpAvatar-DUWW5trW.js +0 -4
  368. package/dist/EpBadge-BZZQvAVs.js +0 -4
  369. package/dist/EpBarChart-Bv4LoxxX.js +0 -4
  370. package/dist/EpBtn-BfLGlVXl.js +0 -4
  371. package/dist/EpCard-Crpcs4JY.js +0 -4
  372. package/dist/EpCardLink-MoItEiyt.js +0 -4
  373. package/dist/EpChip-BceMyKjr.js +0 -4
  374. package/dist/EpCodeblock-D87dvIve.js +0 -4
  375. package/dist/EpConclusion-CqJsk0kW.js +0 -4
  376. package/dist/EpContentSlider-W35bm8vM.js +0 -4
  377. package/dist/EpDescription-CkrMusXA.js +0 -4
  378. package/dist/EpDivider-PDLfxtHT.js +0 -4
  379. package/dist/EpDocument-BDU1ahk8.js +0 -4
  380. package/dist/EpDraggable-Co8uBigH.js +0 -1676
  381. package/dist/EpEdu-CHRkMMgm.js +0 -4
  382. package/dist/EpFlex-DARmMuRJ.js +0 -4
  383. package/dist/EpFunnelChart-z5FrSEHw.js +0 -4
  384. package/dist/EpHeader-DVN3apTI.js +0 -4
  385. package/dist/EpHover-heeBGubv.js +0 -4
  386. package/dist/EpHoverCard-2rYupP8M.js +0 -4
  387. package/dist/EpIcon-D1hHhkw2.js +0 -4
  388. package/dist/EpIframe-BebJ46m_.js +0 -4
  389. package/dist/EpImg-DLtDRMKo.js +0 -4
  390. package/dist/EpImgCarousel-Sdulf0vy.js +0 -4
  391. package/dist/EpInput-BAl9kb_b.js +0 -1095
  392. package/dist/EpInstructions-C4jVOwjT.js +0 -4
  393. package/dist/EpIntroduction-DlDvwvqJ.js +0 -4
  394. package/dist/EpLineChart-CtzLjbJ7.js +0 -4
  395. package/dist/EpLink-42Jwja2Y.js +0 -4
  396. package/dist/EpLinkVersion-DIvWaYUN.js +0 -4
  397. package/dist/EpList-B9M5lt1v.js +0 -12
  398. package/dist/EpListitem-DXh4Kniu.js +0 -37
  399. package/dist/EpLottieSvg-NNSQLDpl.js +0 -1971
  400. package/dist/EpModal-BsON1lr3.js +0 -4
  401. package/dist/EpNothing-YipAP3oo.js +0 -10
  402. package/dist/EpObjective-BbUe8GFm.js +0 -4
  403. package/dist/EpPieChart-MLoj6BR_.js +0 -4
  404. package/dist/EpQuestion-BtF1Qgmj.js +0 -4
  405. package/dist/EpQuote-Cibs-LKa.js +0 -4
  406. package/dist/EpRadio-BWLLcGbB.js +0 -4
  407. package/dist/EpRadioSummative-DxivBGqM.js +0 -4
  408. package/dist/EpReading-D_Hpr3ao.js +0 -4
  409. package/dist/EpResource-BE_aXHAi.js +0 -4
  410. package/dist/EpScope-DiXtqmae.js +0 -4
  411. package/dist/EpSection-B3W0ffnN.js +0 -4
  412. package/dist/EpSectionCols-DbM-vHrS.js +0 -4
  413. package/dist/EpSkeleton-CFNm58SZ.js +0 -4
  414. package/dist/EpSoftware-Bob71yqB.js +0 -4
  415. package/dist/EpSpecificObjective-C7tWNHHd.js +0 -4
  416. package/dist/EpSpinner-Do8Jowd9.js +0 -4
  417. package/dist/EpStackedList-sgilE4yA.js +0 -4
  418. package/dist/EpSummativeTable-BJi8VUtB.js +0 -4
  419. package/dist/EpSvg-DqQt1rvC.js +0 -4
  420. package/dist/EpSvgShow-DtDVgeJl.js +0 -4
  421. package/dist/EpSwitch-DtQon_hm.js +0 -64
  422. package/dist/EpTable-DXuHhHqq.js +0 -4
  423. package/dist/EpTerm-jaZtSD0w.js +0 -4
  424. package/dist/EpText-CwvgGSLh.js +0 -4
  425. package/dist/EpTimeLine-CCCyOGBT.js +0 -4
  426. package/dist/EpVideo-EeWrLoqr.js +0 -4
  427. package/dist/EpVideoPanopto-2xqsTrPY.js +0 -4
  428. package/dist/EpWordDef-bqKugyLs.js +0 -4
  429. package/dist/TextMedia-BCE1F2fb.js +0 -4
  430. package/dist/components/basics/EpAvatar.vue.d.ts +0 -51
  431. package/dist/components/basics/EpBadge.vue.d.ts +0 -37
  432. package/dist/components/basics/EpBtn.vue.d.ts +0 -64
  433. package/dist/components/basics/EpCard.vue.d.ts +0 -78
  434. package/dist/components/basics/EpChip.vue.d.ts +0 -60
  435. package/dist/components/basics/EpDivider.vue.d.ts +0 -46
  436. package/dist/components/basics/EpFlex.vue.d.ts +0 -11
  437. package/dist/components/basics/EpHover.vue.d.ts +0 -53
  438. package/dist/components/basics/EpHoverCard.vue.d.ts +0 -86
  439. package/dist/components/basics/EpIcon.vue.d.ts +0 -34
  440. package/dist/components/basics/EpImg.vue.d.ts +0 -64
  441. package/dist/components/basics/EpImgCarousel.vue.d.ts +0 -77
  442. package/dist/components/basics/EpList.vue.d.ts +0 -11
  443. package/dist/components/basics/EpListitem.vue.d.ts +0 -45
  444. package/dist/components/basics/EpSection.vue.d.ts +0 -55
  445. package/dist/components/basics/EpSectionCols.vue.d.ts +0 -69
  446. package/dist/components/basics/EpSpinner.vue.d.ts +0 -40
  447. package/dist/components/basics/EpStackedList.vue.d.ts +0 -58
  448. package/dist/components/basics/EpTable.vue.d.ts +0 -24
  449. package/dist/components/basics/EpText.vue.d.ts +0 -51
  450. package/dist/components/charts/EpBarChart.vue.d.ts +0 -57
  451. package/dist/components/charts/EpFunnelChart.vue.d.ts +0 -61
  452. package/dist/components/charts/EpLineChart.vue.d.ts +0 -57
  453. package/dist/components/charts/EpPieChart.vue.d.ts +0 -62
  454. package/dist/components/educationals/EpBranchingScenario.vue.d.ts +0 -74
  455. package/dist/components/educationals/EpCodeblock.vue.d.ts +0 -48
  456. package/dist/components/educationals/EpConclusion.vue.d.ts +0 -39
  457. package/dist/components/educationals/EpDescription.vue.d.ts +0 -39
  458. package/dist/components/educationals/EpDocument.vue.d.ts +0 -44
  459. package/dist/components/educationals/EpEdu.vue.d.ts +0 -62
  460. package/dist/components/educationals/EpInstructions.vue.d.ts +0 -37
  461. package/dist/components/educationals/EpIntroduction.vue.d.ts +0 -39
  462. package/dist/components/educationals/EpObjective.vue.d.ts +0 -39
  463. package/dist/components/educationals/EpReading.vue.d.ts +0 -87
  464. package/dist/components/educationals/EpResource.vue.d.ts +0 -34
  465. package/dist/components/educationals/EpScope.vue.d.ts +0 -24
  466. package/dist/components/educationals/EpSpecificObjective.vue.d.ts +0 -35
  467. package/dist/components/forms/EpCheckbox.vue.d.ts +0 -52
  468. package/dist/components/forms/EpInput.vue.d.ts +0 -65
  469. package/dist/components/forms/EpRadio.vue.d.ts +0 -57
  470. package/dist/components/forms/EpRadioSummative.vue.d.ts +0 -57
  471. package/dist/components/forms/EpSelect.vue.d.ts +0 -28
  472. package/dist/components/forms/EpSwitch.vue.d.ts +0 -58
  473. package/dist/components/forms/EpTextarea.vue.d.ts +0 -76
  474. package/dist/components/forms/EpToggle.vue.d.ts +0 -72
  475. package/dist/components/interactions/Ep360Image.vue.d.ts +0 -2
  476. package/dist/components/interactions/Ep360Video.vue.d.ts +0 -2
  477. package/dist/components/interactions/EpAccordeon.vue.d.ts +0 -53
  478. package/dist/components/interactions/EpContentSlider.vue.d.ts +0 -39
  479. package/dist/components/interactions/EpDarkmode.vue.d.ts +0 -7
  480. package/dist/components/interactions/EpDraggable.vue.d.ts +0 -26
  481. package/dist/components/interactions/EpHotsPot.vue.d.ts +0 -47
  482. package/dist/components/interactions/EpModal.vue.d.ts +0 -67
  483. package/dist/components/interactions/EpQuestion.vue.d.ts +0 -65
  484. package/dist/components/interactions/EpSummativeTable.vue.d.ts +0 -32
  485. package/dist/components/interactions/EpSvgShow.vue.d.ts +0 -33
  486. package/dist/components/interactions/EpTabs.vue.d.ts +0 -2
  487. package/dist/components/interactions/EpTooltip.vue.d.ts +0 -51
  488. package/dist/components/medias/EpAudio.vue.d.ts +0 -48
  489. package/dist/components/medias/EpCardLink.vue.d.ts +0 -65
  490. package/dist/components/medias/EpCarousel.vue.d.ts +0 -57
  491. package/dist/components/medias/EpHierarchy.vue.d.ts +0 -51
  492. package/dist/components/medias/EpIframe.vue.d.ts +0 -45
  493. package/dist/components/medias/EpKatex.vue.d.ts +0 -36
  494. package/dist/components/medias/EpLink.vue.d.ts +0 -42
  495. package/dist/components/medias/EpLinkVersion.vue.d.ts +0 -50
  496. package/dist/components/medias/EpLottieSvg.vue.d.ts +0 -58
  497. package/dist/components/medias/EpSoftware.vue.d.ts +0 -59
  498. package/dist/components/medias/EpSvg.vue.d.ts +0 -38
  499. package/dist/components/medias/EpTerm.vue.d.ts +0 -72
  500. package/dist/components/medias/EpTimeLine.vue.d.ts +0 -32
  501. package/dist/components/medias/EpVideo.vue.d.ts +0 -45
  502. package/dist/components/medias/EpVideoPanopto.vue.d.ts +0 -45
  503. package/dist/components/medias/EpWordDef.vue.d.ts +0 -63
  504. package/dist/components/signages/EpAlert.vue.d.ts +0 -55
  505. package/dist/components/signages/EpBadge.vue.d.ts +0 -59
  506. package/dist/components/signages/EpHeader.vue.d.ts +0 -112
  507. package/dist/components/signages/EpNothing.vue.d.ts +0 -2
  508. package/dist/components/signages/EpQuote.vue.d.ts +0 -49
  509. package/dist/components/signages/EpSkeleton.vue.d.ts +0 -45
  510. package/dist/components/tools/BgAudio.vue.d.ts +0 -29
  511. package/dist/components/tools/Details.vue.d.ts +0 -36
  512. package/dist/components/tools/DisplayBox.vue.d.ts +0 -19
  513. package/dist/components/tools/SvgFilter.vue.d.ts +0 -2
  514. package/dist/components/tools/TextMedia.vue.d.ts +0 -27
  515. package/dist/components/tools/TimelineItem.vue.d.ts +0 -38
  516. package/dist/composables/isHtml.d.ts +0 -1
  517. package/dist/composables/useColors.d.ts +0 -1
  518. package/dist/composables/useComponent.d.ts +0 -6
  519. package/dist/composables/useCreateUid.d.ts +0 -2
  520. package/dist/composables/useIcons.d.ts +0 -26
  521. package/dist/composables/useMarkdown.d.ts +0 -1
  522. package/dist/composables/useRenderText.d.ts +0 -1
  523. package/dist/ep-lib-ts.js +0 -61
  524. package/dist/ep-lib-ts.umd.cjs +0 -465
  525. package/dist/index-Bhy3n4DI.js +0 -49358
  526. package/dist/index-CO05CQPt.js +0 -3430
  527. package/dist/index-Cllz2Ia3.js +0 -24640
  528. package/dist/index.d.ts +0 -60
  529. package/dist/main.d.ts +0 -1
  530. package/dist/prism-CFRbvIsk.js +0 -1182
  531. package/dist/router.d.ts +0 -2
  532. package/dist/style.css +0 -1
  533. package/src/components/basics/EpAvatar.vue +0 -72
  534. package/src/components/basics/EpBadge.vue +0 -78
  535. package/src/components/basics/EpBtn.vue +0 -88
  536. package/src/components/basics/EpCard.vue +0 -125
  537. package/src/components/basics/EpChip.vue +0 -80
  538. package/src/components/basics/EpDivider.vue +0 -40
  539. package/src/components/basics/EpFlex.vue +0 -43
  540. package/src/components/basics/EpHover.vue +0 -61
  541. package/src/components/basics/EpHoverCard.vue +0 -125
  542. package/src/components/basics/EpIcon.vue +0 -25
  543. package/src/components/basics/EpImg.vue +0 -162
  544. package/src/components/basics/EpImgCarousel.vue +0 -145
  545. package/src/components/basics/EpList.vue +0 -10
  546. package/src/components/basics/EpListitem.vue +0 -52
  547. package/src/components/basics/EpSection.vue +0 -74
  548. package/src/components/basics/EpSectionCols.vue +0 -100
  549. package/src/components/basics/EpSpinner.vue +0 -57
  550. package/src/components/basics/EpStackedList.vue +0 -79
  551. package/src/components/basics/EpTable.vue +0 -33
  552. package/src/components/basics/EpText.vue +0 -148
  553. package/src/components/charts/EpBarChart.vue +0 -94
  554. package/src/components/charts/EpFunnelChart.vue +0 -135
  555. package/src/components/charts/EpLineChart.vue +0 -106
  556. package/src/components/charts/EpPieChart.vue +0 -102
  557. package/src/components/educationals/EpBranchingScenario.vue +0 -307
  558. package/src/components/educationals/EpCodeblock.vue +0 -74
  559. package/src/components/educationals/EpConclusion.vue +0 -38
  560. package/src/components/educationals/EpDescription.vue +0 -38
  561. package/src/components/educationals/EpDocument.vue +0 -92
  562. package/src/components/educationals/EpEdu.vue +0 -126
  563. package/src/components/educationals/EpInstructions.vue +0 -49
  564. package/src/components/educationals/EpIntroduction.vue +0 -38
  565. package/src/components/educationals/EpObjective.vue +0 -41
  566. package/src/components/educationals/EpReading.vue +0 -255
  567. package/src/components/educationals/EpResource.vue +0 -85
  568. package/src/components/educationals/EpScope.vue +0 -29
  569. package/src/components/educationals/EpSpecificObjective.vue +0 -37
  570. package/src/components/forms/EpCheckbox.vue +0 -47
  571. package/src/components/forms/EpInput.vue +0 -178
  572. package/src/components/forms/EpRadio.vue +0 -72
  573. package/src/components/forms/EpRadioSummative.vue +0 -53
  574. package/src/components/forms/EpSelect.vue +0 -30
  575. package/src/components/forms/EpSwitch.vue +0 -73
  576. package/src/components/forms/EpTextarea.vue +0 -87
  577. package/src/components/forms/EpToggle.vue +0 -96
  578. package/src/components/interactions/Ep360Image.vue +0 -338
  579. package/src/components/interactions/Ep360Video.vue +0 -356
  580. package/src/components/interactions/EpAccordeon.vue +0 -91
  581. package/src/components/interactions/EpContentSlider.vue +0 -177
  582. package/src/components/interactions/EpDarkmode.vue +0 -44
  583. package/src/components/interactions/EpDraggable.vue +0 -192
  584. package/src/components/interactions/EpHotsPot.vue +0 -86
  585. package/src/components/interactions/EpModal.vue +0 -119
  586. package/src/components/interactions/EpQuestion.vue +0 -188
  587. package/src/components/interactions/EpSummativeTable.vue +0 -59
  588. package/src/components/interactions/EpSvgShow.vue +0 -108
  589. package/src/components/interactions/EpTabs.vue +0 -10
  590. package/src/components/interactions/EpTooltip.vue +0 -164
  591. package/src/components/medias/EpAudio.vue +0 -97
  592. package/src/components/medias/EpCardLink.vue +0 -82
  593. package/src/components/medias/EpCarousel.vue +0 -190
  594. package/src/components/medias/EpHierarchy.vue +0 -368
  595. package/src/components/medias/EpIframe.vue +0 -73
  596. package/src/components/medias/EpKatex.vue +0 -76
  597. package/src/components/medias/EpLink.vue +0 -78
  598. package/src/components/medias/EpLinkVersion.vue +0 -48
  599. package/src/components/medias/EpLottieSvg.vue +0 -79
  600. package/src/components/medias/EpSoftware.vue +0 -92
  601. package/src/components/medias/EpSvg.vue +0 -66
  602. package/src/components/medias/EpTerm.vue +0 -174
  603. package/src/components/medias/EpTimeLine.vue +0 -109
  604. package/src/components/medias/EpVideo.vue +0 -130
  605. package/src/components/medias/EpVideoPanopto.vue +0 -71
  606. package/src/components/medias/EpWordDef.vue +0 -142
  607. package/src/components/signages/EpAlert.vue +0 -98
  608. package/src/components/signages/EpBadge.vue +0 -82
  609. package/src/components/signages/EpHeader.vue +0 -215
  610. package/src/components/signages/EpNothing.vue +0 -5
  611. package/src/components/signages/EpQuote.vue +0 -72
  612. package/src/components/signages/EpSkeleton.vue +0 -48
  613. package/src/components/tools/BgAudio.vue +0 -51
  614. package/src/components/tools/Details.vue +0 -47
  615. package/src/components/tools/DisplayBox.vue +0 -44
  616. package/src/components/tools/SvgFilter.vue +0 -220
  617. package/src/components/tools/TextMedia.vue +0 -44
  618. package/src/components/tools/TimelineItem.vue +0 -141
  619. /package/dist/{types/Accordeon.d.ts → Accordeon.d.ts} +0 -0
  620. /package/dist/{types/Aframe.d.ts → Aframe.d.ts} +0 -0
  621. /package/dist/{types/Alert.d.ts → Alert.d.ts} +0 -0
  622. /package/dist/{types/Avatar.d.ts → Avatar.d.ts} +0 -0
  623. /package/dist/{types/Badge.d.ts → Badge.d.ts} +0 -0
  624. /package/dist/{types/Border.d.ts → Border.d.ts} +0 -0
  625. /package/dist/{types/Btn.d.ts → Btn.d.ts} +0 -0
  626. /package/dist/{types/Card.d.ts → Card.d.ts} +0 -0
  627. /package/dist/{types/Chip.d.ts → Chip.d.ts} +0 -0
  628. /package/dist/{types/Codeblock.d.ts → Codeblock.d.ts} +0 -0
  629. /package/dist/{types/Cols.d.ts → Cols.d.ts} +0 -0
  630. /package/dist/{types/Component.d.ts → Component.d.ts} +0 -0
  631. /package/dist/{types/Draggable.d.ts → Draggable.d.ts} +0 -0
  632. /package/dist/{types/GlossaryEntry.d.ts → GlossaryEntry.d.ts} +0 -0
  633. /package/dist/{types/Hover.d.ts → Hover.d.ts} +0 -0
  634. /package/dist/{types/Image.d.ts → Image.d.ts} +0 -0
  635. /package/dist/{types/MandateLevel.d.ts → MandateLevel.d.ts} +0 -0
  636. /package/dist/{types/MediaCarousel.d.ts → MediaCarousel.d.ts} +0 -0
  637. /package/dist/{types/Medias.d.ts → Medias.d.ts} +0 -0
  638. /package/dist/{types/Radio.d.ts → Radio.d.ts} +0 -0
  639. /package/dist/{types/Slides.d.ts → Slides.d.ts} +0 -0
  640. /package/dist/{types/StackedList.d.ts → StackedList.d.ts} +0 -0
  641. /package/dist/{types/SummativeTable.d.ts → SummativeTable.d.ts} +0 -0
  642. /package/dist/{types/Switch.d.ts → Switch.d.ts} +0 -0
  643. /package/dist/{types/Three.d.ts → Three.d.ts} +0 -0
  644. /package/dist/{types/TimeLine.d.ts → TimeLine.d.ts} +0 -0
  645. /package/dist/{types/Tooltip.d.ts → Tooltip.d.ts} +0 -0
  646. /package/dist/{EpCheckbox-D-AiG1k1.js → components/forms/EpCheckbox.vue.js} +0 -0
  647. /package/dist/{EpSelect-C10jbOyP.js → components/forms/EpSelect.vue.js} +0 -0
  648. /package/dist/{types/image360.d.ts → image360.d.ts} +0 -0
  649. /package/dist/{types/video360.d.ts → video360.d.ts} +0 -0
@@ -1,71 +0,0 @@
1
- <script setup lang="ts">
2
- import { computed, toRefs} from 'vue'
3
- //types with capital letter, object styles in lowercase
4
- import { MediaVariants } from "../../types/Medias";
5
- import { MandateLevel } from '../../types/MandateLevel';
6
- import { isHtml } from '../../composables/isHtml';
7
- import {useMarkdown} from '../../composables/useMarkdown'
8
- import { mdiVideo } from "@mdi/js";
9
- //import { useMediaControls } from '@vueuse/core'
10
- import EpEdu from '../educationals/EpEdu.vue'
11
-
12
- interface Props{
13
- src:string;
14
- title?:string;
15
- intentions?:string;
16
- credits?:string;
17
- mandateLevel?:MandateLevel | null;
18
- labelIntentions?:string;
19
- type?:MediaVariants;
20
- hideIcon?:boolean;
21
- big?:boolean;
22
- }
23
-
24
- const props = withDefaults(defineProps<Props>(),{
25
- labelIntentions:"Intentions d'écoute",
26
- type:'neutral',
27
- hideIcon:false,
28
- })
29
-
30
-
31
-
32
- const renderText = computed(()=>{
33
- if(!props.intentions){
34
- return null
35
- }
36
- if(!isHtml(props.intentions)){
37
- return useMarkdown(props.intentions)
38
- }
39
- return props.intentions
40
- })
41
-
42
- //controls
43
- //const controls = useMediaControls(video, {src:props.src})
44
-
45
- const sizeVideo = computed(()=> {
46
- if(props.big){
47
- return "650"
48
- }
49
- return "360"
50
- })
51
-
52
- const {src, title, hideIcon, type} = toRefs(props)
53
-
54
- </script>
55
-
56
- <template>
57
-
58
- <EpEdu :title="title" :type="type" :hideIcon="hideIcon" :icon="mdiVideo" :mandateLevel="mandateLevel" :labelIntentions="labelIntentions">
59
- <template #intentions v-if="renderText">
60
- <div v-html="renderText" ></div>
61
- </template>
62
- <template #content>
63
- <div :class="!big?'max-w-screen-sm mx-auto':''">
64
- <iframe :src="src" width="100%" :height="sizeVideo" frameborder="0" allowfullscreen></iframe>
65
- </div>
66
- </template>
67
- <!-- <template #actions>
68
- <EpBtn :color="type=='base'?'text-gray-700':'text-white'" :type="type">[Repair btn style... to change]</EpBtn>
69
- </template> -->
70
- </EpEdu>
71
- </template>
@@ -1,142 +0,0 @@
1
- <script setup lang="ts">
2
- import { computed, ref } from 'vue';
3
- import EpImg from '../basics/EpImg.vue';
4
- import { useCreateUid } from '../../composables/useCreateUid';
5
- import { useRenderText } from '../../composables/useRenderText';
6
- import { useRouter } from "vue-router";
7
-
8
-
9
- interface Relation {
10
- termId: string;
11
- term: string;
12
- }
13
-
14
-
15
- interface Props {
16
- uid?:string;
17
- term:string;
18
- description:string;
19
- content:{
20
- gramInfo?: string | null
21
- domain?: string | null
22
- definition?: string
23
- image?: string
24
- }
25
- relation:Relation[];
26
- variation:string[];
27
- cols?:number|string;
28
- labelInformation?: string;
29
- labelDomain?:string;
30
- labelVariations?: string;
31
- labelRelations?: string;
32
- labelNoDefinition?:string;
33
- }
34
-
35
-
36
- const props = withDefaults(defineProps<Props>(), {
37
- labelInformation:"Information grammaticale",
38
- labelDomain:"Domaine",
39
- labelRelations:"Relations" ,
40
- labelNoDefinition:"La definition n'est pas disponible",
41
- labelVariations:"Variation(s)",
42
- cols:"10"
43
- });
44
-
45
- const sizeGramIngo = computed(() => {
46
- if (props.content) {
47
- return props.content.domain || props.variation.length > 0 ? 'w-1/3' : 'w-full'
48
- }
49
- return ''
50
- })
51
-
52
- const sizeDomain = computed(() => {
53
- if (props.variation) {
54
- return props.variation.length > 0 ? 'w-1/4' : 'w-3/4'
55
- }
56
- return ''
57
- })
58
-
59
- const sizeVariations = computed(() => {
60
- if (props.content) {
61
- return props.content.domain ? 'w-2/4' : 'w-3/4'
62
- }
63
- return ''
64
- })
65
-
66
- /*
67
- const findRelations = (relations: string[]): { id: number | string, term: string }[] => {
68
- let _relations = props.glossary.filter((term) => {
69
- return relations.some((x) => {
70
- return term.id === x;
71
- });
72
- });
73
- return _relations.map((x) => ({id:x.id, term:x.term}));
74
- };*/
75
-
76
- const router = useRouter()
77
- const goto = (term:string) =>{
78
- if(router.hasRoute('glossary')){
79
- router.push({ path: "/glossary", query:{word:term} });
80
- }
81
- //console.log(router.hasRoute('signages'))
82
- //
83
- }
84
-
85
- const id = ref(props.uid || useCreateUid());
86
-
87
- </script>
88
-
89
- <template>
90
- <div class="dark:bg-dark" :id="id">
91
- <div v-if="term && description">
92
- <div class="h-min border border-base rounded-lg divide-y">
93
- <h2 class="text-xl font-semibold p-2">{{ term }}</h2>
94
- <div class="flex justify-between">
95
- <div :class="sizeGramIngo">
96
- <p class="text-sm font-medium bg-base-light dark:text-dark p-2">
97
- {{labelInformation}}
98
- </p>
99
- <div class="px-2 py-1" v-if="content.gramInfo">{{ content.gramInfo }}</div>
100
- </div>
101
- <div :class="sizeDomain" v-if="content.domain">
102
- <p class="text-sm font-medium bg-base-light dark:text-dark p-2">{{labelDomain}}</p>
103
- <div class="px-2 py-1">{{ content.domain }}</div>
104
- </div>
105
- <div :class="sizeVariations" v-if="variation.length > 0">
106
- <p class="text-sm font-medium bg-base-light dark:text-dark p-2">{{labelVariations}}</p>
107
- <div class="px-2 py-1">
108
- <span v-for="(_variation, i) in variation" :key="`v-${i}`">{{ _variation }}{{
109
- variation.length > i + 1 ? ", " :
110
- "." }}</span>
111
- </div>
112
- </div>
113
- </div>
114
- <template v-if="!content.image">
115
- <div class="px-2 py-6" v-html="useRenderText(description)"></div>
116
- </template>
117
- <template v-else>
118
- <div class="flex flex-row justify-between">
119
- <div class="px-2 py-6" v-html="useRenderText(description)"></div>
120
- <div class="flex w-1/2 justify-center p-2">
121
- <EpImg :src="content.image" :cols="cols"/>
122
- </div>
123
- </div>
124
- </template>
125
-
126
- <div>
127
- <div v-if="relation.length > 0">
128
- <p class="text-sm font-medium bg-base-light dark:text-dark p-2"> {{labelRelations}}</p>
129
- <div class="p-2">
130
- <template v-for="(_relation, i) in relation" :key="`relation-${i}`">
131
- <button class="p-1 border rounded mr-1" @click="goto(_relation.termId)">
132
- {{ _relation.term }}
133
- </button>
134
- </template>
135
- </div>
136
- </div>
137
- </div>
138
- </div>
139
- </div>
140
- <div v-else> {{labelNoDefinition}}</div>
141
- </div>
142
- </template>
@@ -1,98 +0,0 @@
1
- <script setup lang="ts">
2
- import { toRefs, computed } from "vue";
3
- import EpDivider from "../basics/EpDivider.vue";
4
- import EpIcon from "../basics/EpIcon.vue";
5
- import EpAccordeon from "../interactions/EpAccordeon.vue";
6
- ///types with Capital letters... object with styles same name in lowercase
7
- import { type TypeAlert, typeAlert, typeDivider } from "../../types/Alert";
8
- import {useIcons} from '../../composables/useIcons'
9
-
10
-
11
- /*NOTE IMPORTANT
12
- sur l'éditeur la valeur outlined a été inversée (old v-switch the vuetify)
13
- donc outlined:true is fonce
14
- outlined:false is outlined style
15
- */
16
-
17
- interface OldType {
18
- icon: string;
19
- name: string;
20
- type: TypeAlert;
21
- color: string;
22
- }
23
-
24
- interface Props {
25
- type?:TypeAlert|OldType;
26
- title?: string | null;
27
- outlined?:boolean;
28
- noIcon?:boolean;
29
- compact?:boolean
30
- }
31
-
32
- const props = withDefaults(defineProps<Props>(), {
33
- type:'base',
34
- title: null,
35
- noIcon:false,
36
- });
37
-
38
- /* sur l'éditeur de parcours la composante a été fait à l'inverse malhereusement (old v-switch the vuetify)*/
39
- /* donc outlined:true is fonce et oulined:false is the real onlined*/
40
- const outlinedCompact = computed(()=> {
41
- return !props.outlined
42
- })
43
-
44
-
45
- const isOutlined = computed(()=>{
46
- if(!props.outlined){
47
- return 'outlined'
48
- }
49
- return 'default'
50
- })
51
-
52
- // to change after change bd strapi v4
53
- const finalType = computed(()=>{
54
- if(typeof props.type === 'object'){
55
- return props.type.type
56
- }
57
- return props.type
58
- })
59
-
60
- const styles = computed(()=>{
61
- return `${typeAlert[finalType.value]?.[isOutlined.value]}`
62
- })
63
-
64
- const styleHr = computed(()=> {
65
- return `${typeDivider[finalType.value]?.[isOutlined.value]}`
66
- })
67
-
68
- const icon = computed(()=>{
69
- let icon = useIcons[finalType.value].icon
70
- if(props.noIcon){
71
- return null
72
- }
73
- return icon
74
- })
75
-
76
- const { title, compact, outlined } = toRefs(props);
77
-
78
- </script>
79
-
80
- <template>
81
- <div :class="`flex p-4 rounded shadow-md m-2 ${styles}`" v-if="!compact">
82
-
83
- <div v-if="icon" class="flex items-center justify-center w-1/12">
84
- <EpIcon :size="40" :icon-path="icon"></EpIcon>
85
- </div>
86
- <div :class="`${icon?'w-11/12':'w-full'} flex items-center`">
87
- <div class="container">
88
- <h3 v-if="title" class="text-left text-2xl font-bold">{{ title }}</h3>
89
- <hr v-if="title" :class="`w-full my-3 border ${styleHr}`">
90
- <slot>
91
- </slot>
92
- </div>
93
- </div>
94
- </div>
95
- <EpAccordeon :type="finalType" :outlined="outlinedCompact" :icon="icon" :title="title" v-else>
96
- <slot></slot>
97
- </EpAccordeon>
98
- </template>
@@ -1,82 +0,0 @@
1
-
2
- <script setup lang="ts">
3
-
4
- import { computed } from "vue";
5
- import { type TypeBadge, typeBadge } from "../../types/Badge"; //"../../types/Badge";
6
-
7
- type Mode = "default"|"dot";
8
- type Color = "primary"|"secondary"|"accent"|"error"|"warning"|"success"|"info"|"question"|"tip";
9
- type Visibility = "true"|"false"
10
-
11
-
12
- interface Props {
13
- content:number;
14
- mode?:Mode;
15
- placement?:TypeBadge
16
- visibility:Visibility
17
- color:Color
18
- maxValue:number
19
- }
20
-
21
- // define parameter and default valule
22
- const props = withDefaults(defineProps<Props>(), {
23
- mode:'default',
24
- placement:'top_right',
25
- visibility:'true',
26
- color:"primary",
27
- maxValue : 0
28
-
29
- })
30
-
31
- // const { badgestyle } = toRefs(props)
32
-
33
-
34
- const finalType = computed(()=>{
35
- return props.placement
36
- })
37
-
38
- const finalContent = computed(()=>{
39
- if (props.mode =="dot" ){
40
- return ""
41
- }
42
- else if (props.visibility == 'false'){
43
- return ""
44
- }
45
- else if (props.content !=0) {
46
- if (props.content > props.maxValue && props.maxValue !=0){
47
- return props.maxValue +"+"
48
- }
49
- else{
50
- return props.content
51
- }
52
-
53
- }
54
-
55
- })
56
-
57
-
58
- const badgeStyle = computed(()=>{
59
- if (props.visibility == "true") {
60
- return props.mode
61
- } else{
62
- return 'hide'
63
- }
64
- })
65
-
66
-
67
- const bgcolor = computed(()=>{
68
- return "bg-"+ props.color
69
- })
70
-
71
- const finalStyles = computed(()=>{
72
- return `${typeBadge[finalType.value]?.[badgeStyle.value]}`
73
- })
74
-
75
-
76
- </script>
77
- <template>
78
- <div class="group relative w-max ">
79
- <slot></slot>
80
- <div :class="`${finalStyles} ${bgcolor}`">{{ finalContent }}</div>
81
- </div>
82
- </template>
@@ -1,215 +0,0 @@
1
- <script setup lang="ts">
2
- import { toRefs, computed } from "vue";
3
-
4
- import { mdiCast } from "@mdi/js";
5
- import { mdiTimerOutline } from "@mdi/js";
6
- import { mdiChairSchool } from "@mdi/js";
7
- import { mdiChevronDown } from "@mdi/js";
8
- import SvgFilter from "../tools/SvgFilter.vue";
9
- import EpIcon from "../basics/EpIcon.vue";
10
- import EpChip from "../basics/EpChip.vue";
11
-
12
- type Arrangement = "imgBg" | "simple" | "sideBy";
13
- type Valign = "items-center" | "items-start" | "items-end"
14
- type Haling = "justify-end" | "justify-center" | "justify-start"
15
-
16
- interface Props {
17
- title: string | null;
18
- subtitle?: string | null;
19
- icon?: string | null;
20
- courseCode?: string | null;
21
- courseTitle?: string | null;
22
- big?: boolean | null;
23
- src?: string | null;
24
- synchrone?: boolean;
25
- hideImg?: boolean;
26
- duration?: string | null;
27
- assessment?: string | null;
28
- headerImgColor?: string | null;
29
- labels?: {
30
- synchrone?: string;
31
- formatif?: string;
32
- };
33
- textBg?: boolean;
34
- type?: Arrangement;
35
- titlePosition?: string;
36
- vAlign?:Valign;
37
- hAlign?:Haling
38
- }
39
-
40
- // type, taxonomyLevel, courseCode, courseTitle, title, subtitle, height, src, color, synchrone
41
-
42
- const props = withDefaults(defineProps<Props>(), {
43
- title: null,
44
- icon: null,
45
- src: null,
46
- big: false,
47
- synchrone: false,
48
- hideImg: false,
49
- duration: null,
50
- assessment: null,
51
- labels: () => {
52
- return {
53
- synchrone: "Synchrone",
54
- formatif: "Formatif",
55
- };
56
- },
57
- textBg: true,
58
- type: "imgBg",
59
- titlePosition: "center",
60
- vAlign:"items-center",
61
- hAlign:"justify-center"
62
- });
63
-
64
-
65
-
66
- const bgTextFit = "w-8/12"; // ''
67
-
68
-
69
- const styles = computed(() => {
70
- return `
71
- flex
72
- flex-col
73
- overflow-hidden
74
- w-full
75
- absolute
76
- ${props.big ? "min-h-screen" : "h-96"}
77
- bg-cover
78
- bg-center`;
79
- });
80
-
81
- const bgImg = computed(() => {
82
- if (props.src) {
83
- return props.src;
84
- }
85
- return `https://live.staticflickr.com/1757/42677241511_a350206ac2_b.jpg`;
86
- });
87
-
88
- const emit = defineEmits<{
89
- (e: "clicked"): void;
90
- }>();
91
-
92
- const clickScroll = (): void => {
93
- emit("clicked");
94
- };
95
-
96
- const { title, headerImgColor, big } = toRefs(props);
97
- </script>
98
-
99
- <template>
100
- <header
101
- v-if="type === 'imgBg'"
102
- :class="`${big ? 'h-screen ' : 'h-96'} items-center overflow-hidden relative `"
103
- ref="el"
104
- >
105
- <div
106
- :class="styles"
107
- :style="`background-image:url('${bgImg}'); filter:url(#${headerImgColor});`"
108
- ></div>
109
-
110
- <div :class="`relative ${big ? 'mb-36' : ''} h-full items-end`">
111
- <div class="flex md:justify-end justify-center pt-5">
112
- <EpChip v-if="synchrone" :prependIcon="mdiCast" size="small">{{
113
- labels.synchrone
114
- }}</EpChip>
115
- <EpChip v-if="duration" :prependIcon="mdiTimerOutline" size="small">
116
- {{ duration }}</EpChip
117
- >
118
- <EpChip v-if="assessment" :prependIcon="mdiChairSchool" size="small">{{
119
- labels.formatif
120
- }}</EpChip>
121
- </div>
122
- <div :class="`${vAlign} ${hAlign} flex w-full grow h-96 `">
123
- <div :class="`${bgTextFit}`">
124
- <div
125
- v-if="title || subtitle"
126
- :class="`${
127
- textBg
128
- ? 'inline-block backdrop-blur-md backdrop-brightness-50 backdrop-opacity-75 rounded'
129
- : ''
130
- } p-4 md:items-center`"
131
- >
132
- <div class="text-center md:text-left">
133
- <h1 v-if="title" class="text-3xl font-medium text-white sm:text-3xl">
134
- {{ title }}
135
- </h1>
136
- <h2 v-if="subtitle" class="max-w-xl mt-4 text-2xl text-white contrast-50">
137
- {{ subtitle }}
138
- </h2>
139
- </div>
140
- </div>
141
- </div>
142
- </div>
143
- </div>
144
-
145
- <div v-if="props.big" class="animate-bounce absolute bottom-10 left-1/2">
146
- <div
147
- class="mx-auto w-12 bg-white dark:text-black rounded-full p-2"
148
- @click="clickScroll"
149
- >
150
- <EpIcon :iconPath="mdiChevronDown" size="32"></EpIcon>
151
- </div>
152
- </div>
153
- <SvgFilter></SvgFilter>
154
- </header>
155
-
156
- <header v-else-if="type === 'simple'">
157
- <div
158
- class="text-center md:text-left mt-16 mb-32"
159
- >
160
- <h1
161
- v-if="title"
162
- class="text-4xl font-bold tracking-tight text-gray-900 dark:text-gray-100"
163
- >
164
- {{ title }}
165
- </h1>
166
- <h2 v-if="subtitle" class="w-1/2 mt-4 text-gray-500 dark:text-gray-300">
167
- {{ subtitle }}
168
- </h2>
169
- </div>
170
- </header>
171
-
172
- <header v-else="type === 'sideBy'">
173
- <div class="flex flex-col-reverse lg:flex-row items-stretch">
174
- <div class="basis-1/2 bg-gray-100 dark:bg-base-dark lg:min-h-48 p-4">
175
-
176
- <div class="flex justify-start pt-0 mb-4">
177
- <EpChip v-if="synchrone" :prependIcon="mdiCast" size="small">{{
178
- labels.synchrone
179
- }}</EpChip>
180
- <EpChip v-if="duration" :prependIcon="mdiTimerOutline" size="small">
181
- {{ duration }}</EpChip
182
- >
183
- <EpChip v-if="assessment" :prependIcon="mdiChairSchool" size="small">{{
184
- labels.formatif
185
- }}</EpChip>
186
- </div>
187
- <div :class="`${vAlign} flex h-full pb-8 max-w-3xl`">
188
- <div>
189
- <h1
190
- v-if="title"
191
- class="text-4xl sm:text-5xl xl:text-6xl font-bold tracking-tight text-gray-900 dark:text-white"
192
- >
193
- {{ title }}
194
- </h1>
195
- <p v-if="subtitle" class="mt-4 text-xl text-gray-600 dark:text-white">
196
- {{ subtitle }}
197
- </p>
198
- <div class="mt-4">
199
- <slot></slot>
200
- </div>
201
- </div>
202
- </div>
203
- </div>
204
-
205
- <div class="basis-1/2">
206
- <img
207
- :src="bgImg"
208
- alt=""
209
- class="h-32 lg:h-full size-full object-cover"
210
- :style="`filter:url(#${headerImgColor});`"
211
- />
212
- </div>
213
- </div>
214
- </header>
215
- </template>
@@ -1,5 +0,0 @@
1
- <template>
2
- <div>
3
- no data
4
- </div>
5
- </template>
@@ -1,72 +0,0 @@
1
- <script setup lang="ts">
2
- import { toRefs, computed } from "vue";
3
- import EpCard from "../basics/EpCard.vue";
4
- import EpDivider from "../basics/EpDivider.vue";
5
- import EpIcon from '../basics/EpIcon.vue'
6
- import { mdiFormatQuoteOpen } from "@mdi/js";
7
-
8
- interface Props {
9
- author?: string | null;
10
- img?: string | null;
11
- card?: boolean;
12
- hideIcon?:boolean;
13
- }
14
-
15
- const props = withDefaults(defineProps<Props>(), {
16
- author: null,
17
- img: null,
18
- card: false,
19
- hideIcon:false
20
- });
21
-
22
- const colorText = computed(() => {
23
- if (props.card) {
24
- return `text-white`;
25
- }
26
- });
27
-
28
- const styleTextAutor = computed(() => {
29
- if (props.card) {
30
- return `text-white`;
31
- }
32
- return `text-black dark:text-white`;
33
- });
34
-
35
- const imageStyle = computed(() => {
36
- if (props.card) {
37
- return `md:rounded-lg`;
38
- }
39
- return `md:rounded-l-md`;
40
- });
41
-
42
- const { author, img, card, hideIcon } = toRefs(props);
43
-
44
-
45
- </script>
46
-
47
- <template>
48
- <div :class="card ? 'w-4/6 mx-auto' : ''">
49
- <EpCard :density="card ? 'default' : 'compact'" :outlined="!card ? true : false" :color="card ? 'primary' : 'bg-white'">
50
- <div :class="`md:flex md:flex-wrap rounded-md`">
51
- <div class="w-1/5 mr-6" v-if="img">
52
- <img :class="`${imageStyle} md:w-full md:h-full md:object-cover md:rounded-l-md`" :src="img"
53
- alt="Image of quote" />
54
- </div>
55
- <div class="flex items-center justify-center px-7" v-else-if="!hideIcon">
56
- <div :class="card ? 'text-white':'text-base dark:text-white'">
57
- <EpIcon :size="60" :icon-path="mdiFormatQuoteOpen"></EpIcon>
58
- </div>
59
- </div>
60
- <div :class="`py-6 flex-1 ${colorText} ${hideIcon?'px-6':'pr-2'}`">
61
- <slot></slot>
62
- <template v-if="author">
63
- <EpDivider size="border" :color="card ? 'white':'base'"></EpDivider>
64
- <p :class="`italic ${styleTextAutor}`">
65
- {{ author }}
66
- </p>
67
- </template>
68
- </div>
69
- </div>
70
- </EpCard>
71
- </div>
72
- </template>