ep-lib-ts 1.0.35 → 1.0.37

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 (305) hide show
  1. package/dist/App.vue.d.ts +2 -0
  2. package/dist/BgAudio-DezFnyKB.js +4 -0
  3. package/dist/DisplayBox-DYzeHzkr.js +4 -0
  4. package/dist/Ep360Image-BZpa7qLl.js +228 -0
  5. package/dist/Ep360Video-Wy_YWl7-.js +235 -0
  6. package/dist/EpAlert-DdtU5nno.js +4 -0
  7. package/dist/EpAudio-vt4JUOf2.js +4 -0
  8. package/dist/EpAvatar-DTfkDxUP.js +4 -0
  9. package/dist/{EpAvatar-Dmpg0PFj.js → EpAvatar.vue_vue_type_script_setup_true_lang-IeQ9W4tD.js} +11 -11
  10. package/dist/EpBadge-BSMtvAqC.js +4 -0
  11. package/dist/{EpBadge-DqmSNdbi.js → EpBadge-CWIq_C51.js} +2 -2
  12. package/dist/EpBarChart-BA3EqJ-Z.js +4 -0
  13. package/dist/EpBranchingScenario-5sbzBXZ0.js +151 -0
  14. package/dist/EpBtn-B1xGgn2Y.js +4 -0
  15. package/dist/EpCard-CEjoqwN4.js +4 -0
  16. package/dist/EpCheckbox-Da_2WoCs.js +4 -0
  17. package/dist/{EpCheckbox-BtJRFbS_.js → EpCheckbox.vue_vue_type_script_setup_true_lang-Dqi62vJ8.js} +7 -7
  18. package/dist/EpChip-d8r-FDqu.js +4 -0
  19. package/dist/EpCodeblock-Cu1MOvmi.js +4 -0
  20. package/dist/EpConclusion-Dk_FFixG.js +4 -0
  21. package/dist/EpContentSlider-dx8Hu4OS.js +4 -0
  22. package/dist/{EpDarkmode-BHYy2H_7.js → EpDarkmode-CuVlLi72.js} +5 -5
  23. package/dist/EpDescription-B00PjQg0.js +4 -0
  24. package/dist/EpDivider-CukqZw1a.js +4 -0
  25. package/dist/EpEdu-B5N7RG49.js +4 -0
  26. package/dist/EpFlex-DAtWa--7.js +4 -0
  27. package/dist/EpFunnelChart-jn5C9tAB.js +4 -0
  28. package/dist/EpHeader-Cwx5Qb6Q.js +4 -0
  29. package/dist/{EpHotsPot-DFz_Du9o.js → EpHotsPot-nT87sUMT.js} +6 -6
  30. package/dist/EpHover-Kp8XbqYO.js +4 -0
  31. package/dist/EpHover.vue_vue_type_script_setup_true_lang-BxiamS7-.js +36 -0
  32. package/dist/EpHoverCard-DRRYl4MK.js +84 -0
  33. package/dist/EpIcon-DitBbcuQ.js +4 -0
  34. package/dist/EpIframe-C5c1K8RE.js +4 -0
  35. package/dist/EpImg-YPH6mMcR.js +4 -0
  36. package/dist/EpInput-BKc_tU1_.js +1095 -0
  37. package/dist/EpInstructions-D8kw_rwC.js +4 -0
  38. package/dist/EpIntroduction-B2d2vChC.js +4 -0
  39. package/dist/EpLineChart-BjlCf9dW.js +4 -0
  40. package/dist/EpLink-CXIYlycG.js +4 -0
  41. package/dist/EpLinkVersion-Dn_Tid-r.js +4 -0
  42. package/dist/{EpList-CWrpD1mL.js → EpList-B2x9zHps.js} +3 -3
  43. package/dist/{EpListitem-DzQrc-k2.js → EpListitem-DXh4Kniu.js} +4 -4
  44. package/dist/EpLottieSvg-NNSQLDpl.js +1971 -0
  45. package/dist/EpModal-CaPOVdQK.js +4 -0
  46. package/dist/EpNothing-D3fg3Krb.js +10 -0
  47. package/dist/EpObjective-czDKm1c4.js +4 -0
  48. package/dist/EpPieChart-DuW7EBmx.js +4 -0
  49. package/dist/EpQuestion-BuIkR2Ae.js +4 -0
  50. package/dist/EpQuote-5FQFWcfv.js +4 -0
  51. package/dist/EpRadio-BnPZeKpP.js +4 -0
  52. package/dist/EpRadioSummative-AtVwjeQ-.js +4 -0
  53. package/dist/EpReading-s2TQVAZ_.js +4 -0
  54. package/dist/EpResource-Cxx1lwrs.js +4 -0
  55. package/dist/EpScope-CG9n9QnC.js +4 -0
  56. package/dist/EpSection-cDQVtX9A.js +4 -0
  57. package/dist/EpSectionCols-DsH_iEem.js +4 -0
  58. package/dist/{EpSelect-FIb6SyJU.js → EpSelect-kjH_wTXb.js} +3 -3
  59. package/dist/EpSkeleton-BQG8jrs6.js +4 -0
  60. package/dist/EpSoftware-DR1d7ezZ.js +4 -0
  61. package/dist/EpSpecificObjective-BS1QMNrt.js +4 -0
  62. package/dist/EpSpinner-O3kZ_dUO.js +4 -0
  63. package/dist/EpStackedList-CTU_KKMZ.js +81 -0
  64. package/dist/EpSummativeTable-iudwhrUL.js +4 -0
  65. package/dist/EpSvg-Bnj4H9sA.js +4 -0
  66. package/dist/{EpSwitch-hdXyzuR1.js → EpSwitch-DtQon_hm.js} +2 -2
  67. package/dist/EpTable-Byza5VY-.js +4 -0
  68. package/dist/EpTerm-BkpUPK_G.js +4 -0
  69. package/dist/EpText-J0qcEorF.js +4 -0
  70. package/dist/{EpTextarea-D8UCQuga.js → EpTextarea-VJ4pdPV_.js} +2 -2
  71. package/dist/EpTimeLine-Czscwhgg.js +4 -0
  72. package/dist/{EpToggle-BDp54LpY.js → EpToggle-BTkTNVEz.js} +2 -2
  73. package/dist/{EpTooltip-B4s0_PvZ.js → EpTooltip-J6UMMP3d.js} +2 -2
  74. package/dist/EpVideo-0w267ZqV.js +4 -0
  75. package/dist/EpVideoPanopto-CDy_LUMi.js +4 -0
  76. package/dist/EpWordDef-qWt87mhg.js +4 -0
  77. package/dist/components/basics/EpAvatar.vue.d.ts +4 -35
  78. package/dist/components/basics/EpBadge.vue.d.ts +3 -28
  79. package/dist/components/basics/EpBtn.vue.d.ts +13 -38
  80. package/dist/components/basics/EpCard.vue.d.ts +14 -46
  81. package/dist/components/basics/EpChip.vue.d.ts +12 -38
  82. package/dist/components/basics/EpDivider.vue.d.ts +3 -33
  83. package/dist/components/basics/EpFlex.vue.d.ts +8 -2
  84. package/dist/components/basics/EpHover.vue.d.ts +17 -37
  85. package/dist/components/basics/EpHoverCard.vue.d.ts +50 -0
  86. package/dist/components/basics/EpIcon.vue.d.ts +3 -26
  87. package/dist/components/basics/EpImg.vue.d.ts +2 -38
  88. package/dist/components/basics/EpSection.vue.d.ts +10 -31
  89. package/dist/components/basics/EpSectionCols.vue.d.ts +11 -39
  90. package/dist/components/basics/EpSpinner.vue.d.ts +2 -29
  91. package/dist/components/basics/EpStackedList.vue.d.ts +12 -0
  92. package/dist/components/basics/EpTable.vue.d.ts +1 -18
  93. package/dist/components/basics/EpText.vue.d.ts +2 -33
  94. package/dist/components/charts/EpBarChart.vue.d.ts +2 -28
  95. package/dist/components/charts/EpFunnelChart.vue.d.ts +3 -35
  96. package/dist/components/charts/EpLineChart.vue.d.ts +2 -28
  97. package/dist/components/charts/EpPieChart.vue.d.ts +3 -31
  98. package/dist/components/educationals/EpBranchingScenario.vue.d.ts +22 -0
  99. package/dist/components/educationals/EpCodeblock.vue.d.ts +5 -30
  100. package/dist/components/educationals/EpConclusion.vue.d.ts +10 -25
  101. package/dist/components/educationals/EpDescription.vue.d.ts +10 -25
  102. package/dist/components/educationals/EpEdu.vue.d.ts +13 -37
  103. package/dist/components/educationals/EpInstructions.vue.d.ts +2 -23
  104. package/dist/components/educationals/EpIntroduction.vue.d.ts +10 -25
  105. package/dist/components/educationals/EpObjective.vue.d.ts +10 -25
  106. package/dist/components/educationals/EpReading.vue.d.ts +3 -49
  107. package/dist/components/educationals/EpResource.vue.d.ts +2 -24
  108. package/dist/components/educationals/EpScope.vue.d.ts +1 -19
  109. package/dist/components/educationals/EpSpecificObjective.vue.d.ts +2 -25
  110. package/dist/components/forms/EpCheckbox.vue.d.ts +5 -36
  111. package/dist/components/forms/EpInput.vue.d.ts +7 -44
  112. package/dist/components/forms/EpRadio.vue.d.ts +5 -39
  113. package/dist/components/forms/EpRadioSummative.vue.d.ts +5 -39
  114. package/dist/components/forms/EpSelect.vue.d.ts +12 -13
  115. package/dist/components/forms/EpTextarea.vue.d.ts +7 -50
  116. package/dist/components/forms/EpToggle.vue.d.ts +7 -48
  117. package/dist/components/interactions/EpAccordeon.vue.d.ts +16 -34
  118. package/dist/components/interactions/EpContentSlider.vue.d.ts +2 -28
  119. package/dist/components/interactions/EpDarkmode.vue.d.ts +3 -3
  120. package/dist/components/interactions/EpModal.vue.d.ts +14 -39
  121. package/dist/components/interactions/EpQuestion.vue.d.ts +2 -38
  122. package/dist/components/interactions/EpSummativeTable.vue.d.ts +2 -24
  123. package/dist/components/interactions/EpTabs.vue.d.ts +1 -1
  124. package/dist/components/medias/EpAudio.vue.d.ts +4 -30
  125. package/dist/components/medias/EpCarousel.vue.d.ts +2 -32
  126. package/dist/components/medias/EpIframe.vue.d.ts +2 -28
  127. package/dist/components/medias/EpKatex.vue.d.ts +4 -24
  128. package/dist/components/medias/EpLink.vue.d.ts +2 -26
  129. package/dist/components/medias/EpLinkVersion.vue.d.ts +2 -29
  130. package/dist/components/medias/EpLottieSvg.vue.d.ts +164 -0
  131. package/dist/components/medias/EpSoftware.vue.d.ts +2 -36
  132. package/dist/components/medias/EpSvg.vue.d.ts +2 -24
  133. package/dist/components/medias/EpTerm.vue.d.ts +10 -41
  134. package/dist/components/medias/EpTimeLine.vue.d.ts +1 -19
  135. package/dist/components/medias/EpVideo.vue.d.ts +4 -28
  136. package/dist/components/medias/EpVideoPanopto.vue.d.ts +2 -28
  137. package/dist/components/medias/EpWordDef.vue.d.ts +2 -33
  138. package/dist/components/signages/EpAlert.vue.d.ts +12 -31
  139. package/dist/components/signages/EpHeader.vue.d.ts +19 -62
  140. package/dist/components/signages/EpNothing.vue.d.ts +1 -1
  141. package/dist/components/signages/EpQuote.vue.d.ts +10 -31
  142. package/dist/components/signages/EpSkeleton.vue.d.ts +3 -32
  143. package/dist/components/tools/BgAudio.vue.d.ts +4 -26
  144. package/dist/components/tools/DisplayBox.vue.d.ts +19 -9
  145. package/dist/components/tools/SvgFilter.vue.d.ts +1 -1
  146. package/dist/components/tools/TimelineItem.vue.d.ts +4 -28
  147. package/dist/ep-lib-ts.css +1 -0
  148. package/dist/ep-lib-ts.js +23 -23
  149. package/dist/ep-lib-ts.umd.cjs +5157 -109
  150. package/dist/{index-BGsaIGs9.js → index-1vY3QtSb.js} +5412 -4713
  151. package/dist/{index-CAb7BIas.js → index-BkHXngnv.js} +5447 -5206
  152. package/dist/index-IdtPmXeP.js +3483 -0
  153. package/dist/index.d.ts +0 -1
  154. package/dist/main.d.ts +0 -1
  155. package/dist/menu.vue.d.ts +2 -0
  156. package/dist/pages/Basics.vue.d.ts +2 -0
  157. package/dist/pages/CurrentDev.vue.d.ts +2 -0
  158. package/dist/pages/Educationals.vue.d.ts +2 -0
  159. package/dist/pages/Forms.vue.d.ts +2 -0
  160. package/dist/pages/Home.vue.d.ts +2 -0
  161. package/dist/pages/Interactions.vue.d.ts +2 -0
  162. package/dist/pages/Medias.vue.d.ts +2 -0
  163. package/dist/pages/NicDev.vue.d.ts +2 -0
  164. package/dist/pages/Signages.vue.d.ts +2 -0
  165. package/dist/pages/basics/EpBadgeView.vue.d.ts +2 -0
  166. package/dist/pages/basics/EpBtnView.vue.d.ts +2 -0
  167. package/dist/pages/basics/EpCardView.vue.d.ts +2 -0
  168. package/dist/pages/basics/EpChipView.vue.d.ts +2 -0
  169. package/dist/pages/basics/EpFlexView.vue.d.ts +2 -0
  170. package/dist/pages/basics/EpHoverCardView.vue.d.ts +2 -0
  171. package/dist/pages/basics/EpIconView.vue.d.ts +2 -0
  172. package/dist/pages/basics/EpImgView.vue.d.ts +2 -0
  173. package/dist/pages/basics/EpSectionColsView.vue.d.ts +2 -0
  174. package/dist/pages/basics/EpSectionView.vue.d.ts +2 -0
  175. package/dist/pages/basics/EpStackedListView.vue.d.ts +2 -0
  176. package/dist/pages/basics/EpTableView.vue.d.ts +2 -0
  177. package/dist/pages/basics/EpTextView.vue.d.ts +2 -0
  178. package/dist/pages/charts/EpBarChartView.vue.d.ts +2 -0
  179. package/dist/pages/charts/EpFunnelChartView.vue.d.ts +2 -0
  180. package/dist/pages/charts/EpLineChartView.vue.d.ts +2 -0
  181. package/dist/pages/charts/EpPieChartView.vue.d.ts +2 -0
  182. package/dist/pages/educationals/EpBranchingScenarioView.vue.d.ts +2 -0
  183. package/dist/pages/educationals/EpCodeBlockView.vue.d.ts +2 -0
  184. package/dist/pages/educationals/EpConclusionView.vue.d.ts +2 -0
  185. package/dist/pages/educationals/EpDescriptionView.vue.d.ts +2 -0
  186. package/dist/pages/educationals/EpEduView.vue.d.ts +2 -0
  187. package/dist/pages/educationals/EpInstructionsView.vue.d.ts +2 -0
  188. package/dist/pages/educationals/EpIntroductionView.vue.d.ts +2 -0
  189. package/dist/pages/educationals/EpObjectiveView.vue.d.ts +2 -0
  190. package/dist/pages/educationals/EpReadingView.vue.d.ts +2 -0
  191. package/dist/pages/educationals/EpResourceView.vue.d.ts +2 -0
  192. package/dist/pages/educationals/EpScopeView.vue.d.ts +2 -0
  193. package/dist/pages/educationals/EpSpecificObjectiveView.vue.d.ts +2 -0
  194. package/dist/pages/interactions/Ep360ImageView.vue.d.ts +2 -0
  195. package/dist/pages/interactions/Ep360VideoView.vue.d.ts +2 -0
  196. package/dist/pages/interactions/EpAccordeonView.vue.d.ts +2 -0
  197. package/dist/pages/interactions/EpContentSliderView.vue.d.ts +2 -0
  198. package/dist/pages/interactions/EpModalView.vue.d.ts +2 -0
  199. package/dist/pages/interactions/EpQuestionView.vue.d.ts +2 -0
  200. package/dist/pages/interactions/EpSummativeTableView.vue.d.ts +2 -0
  201. package/dist/pages/medias/EpAudioView.vue.d.ts +2 -0
  202. package/dist/pages/medias/EpCarouselView.vue.d.ts +2 -0
  203. package/dist/pages/medias/EpIframeView.vue.d.ts +2 -0
  204. package/dist/pages/medias/EpKatexView.vue.d.ts +2 -0
  205. package/dist/pages/medias/EpLinkVersionView.vue.d.ts +2 -0
  206. package/dist/pages/medias/EpLinkView.vue.d.ts +2 -0
  207. package/dist/pages/medias/EpLottieSvgView.vue.d.ts +2 -0
  208. package/dist/pages/medias/EpSoftwareView.vue.d.ts +2 -0
  209. package/dist/pages/medias/EpSvgView.vue.d.ts +2 -0
  210. package/dist/pages/medias/EpTermView.vue.d.ts +2 -0
  211. package/dist/pages/medias/EpTimeLineView.vue.d.ts +2 -0
  212. package/dist/pages/medias/EpVideoPanoptoView.vue.d.ts +2 -0
  213. package/dist/pages/medias/EpVideoView.vue.d.ts +2 -0
  214. package/dist/pages/medias/EpWordDefView.vue.d.ts +2 -0
  215. package/dist/pages/signages/EpAlertView.vue.d.ts +2 -0
  216. package/dist/pages/signages/EpHeaderView.vue.d.ts +2 -0
  217. package/dist/pages/signages/EpQuoteView.vue.d.ts +2 -0
  218. package/dist/pages/signages/EpSkeletonView.vue.d.ts +2 -0
  219. package/dist/prism-CvcYxWXz.js +1184 -0
  220. package/dist/testImg.jpg +0 -0
  221. package/dist/testMaria.jpg +0 -0
  222. package/dist/three.core-ChKHLxK7.js +48675 -0
  223. package/dist/types/Aframe.d.ts +1 -0
  224. package/dist/types/Answer.d.ts +0 -1
  225. package/dist/types/Hover.d.ts +3 -0
  226. package/dist/types/StackedList.d.ts +63 -0
  227. package/dist/types/Three.d.ts +1 -0
  228. package/dist/types/image360.d.ts +16 -0
  229. package/dist/types/video360.d.ts +16 -0
  230. package/package.json +33 -27
  231. package/src/components/basics/EpHover.vue +32 -28
  232. package/src/components/basics/EpHoverCard.vue +123 -0
  233. package/src/components/basics/EpImg.vue +1 -1
  234. package/src/components/basics/EpListitem.vue +41 -59
  235. package/src/components/basics/EpStackedList.vue +74 -0
  236. package/src/components/educationals/EpBranchingScenario.vue +239 -0
  237. package/src/components/educationals/EpCodeblock.vue +26 -0
  238. package/src/components/educationals/EpEdu.vue +4 -4
  239. package/src/components/forms/EpSelect.vue +0 -2
  240. package/src/components/interactions/Ep360Image.vue +344 -0
  241. package/src/components/interactions/Ep360Video.vue +339 -0
  242. package/src/components/medias/EpLottieSvg.vue +79 -0
  243. package/src/components/signages/EpHeader.vue +3 -3
  244. package/dist/BgAudio-DVtBy2Yu.js +0 -4
  245. package/dist/DisplayBox-Bqpv2Yax.js +0 -4
  246. package/dist/EpAlert-DIz92PWl.js +0 -4
  247. package/dist/EpAudio-BYAKVi4t.js +0 -4
  248. package/dist/EpBadge-BQPHoP0c.js +0 -4
  249. package/dist/EpBarChart-DPMjCUAi.js +0 -4
  250. package/dist/EpBtn-BsTDJzZl.js +0 -4
  251. package/dist/EpCard-BV7JGDmN.js +0 -4
  252. package/dist/EpChip-Bc5_CRfT.js +0 -4
  253. package/dist/EpCodeblock-Cgpe89w6.js +0 -4
  254. package/dist/EpConclusion--tFRXdSL.js +0 -4
  255. package/dist/EpContentSlider-zrdFRG7P.js +0 -4
  256. package/dist/EpDescription-BDF2F3QV.js +0 -4
  257. package/dist/EpDivider-CJi6nCyw.js +0 -4
  258. package/dist/EpEdu--ba22VQy.js +0 -4
  259. package/dist/EpFlex-CHPbSith.js +0 -4
  260. package/dist/EpFunnelChart-D0e_q2MH.js +0 -4
  261. package/dist/EpHeader-BxdfY-8D.js +0 -4
  262. package/dist/EpHover-yDkRFQtx.js +0 -31
  263. package/dist/EpIcon-CjqNxCUN.js +0 -4
  264. package/dist/EpIframe-DErlt49p.js +0 -4
  265. package/dist/EpImg-CXoXMzh1.js +0 -4
  266. package/dist/EpInput-SPJ_6aAL.js +0 -1168
  267. package/dist/EpInstructions-swRu_knl.js +0 -4
  268. package/dist/EpIntroduction-BpdeCXud.js +0 -4
  269. package/dist/EpLineChart-ClCluBEa.js +0 -4
  270. package/dist/EpLink-BH8JnesP.js +0 -4
  271. package/dist/EpLinkVersion-Ti3w_eOz.js +0 -4
  272. package/dist/EpModal-bOiLnl7i.js +0 -4
  273. package/dist/EpNothing-DoWzP81f.js +0 -10
  274. package/dist/EpObjective-ADofPvvb.js +0 -4
  275. package/dist/EpPieChart-Q9m_DFgU.js +0 -4
  276. package/dist/EpQuestion-CcpZ58fx.js +0 -4
  277. package/dist/EpQuote-2fZoyMCN.js +0 -4
  278. package/dist/EpRadio-DDVA6v0A.js +0 -4
  279. package/dist/EpRadioSummative-4JojYeC8.js +0 -4
  280. package/dist/EpReading-CXeFpu9Q.js +0 -4
  281. package/dist/EpResource-BWdIzn90.js +0 -4
  282. package/dist/EpScope-Cc_-80ir.js +0 -4
  283. package/dist/EpSection-BLO-FKWj.js +0 -4
  284. package/dist/EpSectionCols-2PD4vn2f.js +0 -4
  285. package/dist/EpSkeleton-DZVfIXYn.js +0 -4
  286. package/dist/EpSoftware-DssmIKzt.js +0 -4
  287. package/dist/EpSpecificObjective-DZVGLGX3.js +0 -4
  288. package/dist/EpSpinner-Bq6iLU0e.js +0 -4
  289. package/dist/EpSummativeTable-LbWYDdm0.js +0 -4
  290. package/dist/EpSvg-CArfUn2s.js +0 -4
  291. package/dist/EpTable-CgEzj10i.js +0 -4
  292. package/dist/EpTerm-CpUmtYPe.js +0 -4
  293. package/dist/EpText-CCnR2Vyt.js +0 -4
  294. package/dist/EpTimeLine-CJ5GCxvC.js +0 -4
  295. package/dist/EpVideo-BBmT0bWr.js +0 -4
  296. package/dist/EpVideoPanopto-CF_RKq9a.js +0 -4
  297. package/dist/EpWordDef-jdGql2Aw.js +0 -4
  298. package/dist/components/basics/EpList.vue.d.ts +0 -11
  299. package/dist/components/basics/EpListitem.vue.d.ts +0 -45
  300. package/dist/components/forms/EpSwitch.vue.d.ts +0 -58
  301. package/dist/components/interactions/EpHotsPot.vue.d.ts +0 -47
  302. package/dist/components/interactions/EpTooltip.vue.d.ts +0 -51
  303. package/dist/components/signages/EpBadge.vue.d.ts +0 -59
  304. package/dist/prism-DcL1Q084.js +0 -1182
  305. package/dist/style.css +0 -1
@@ -0,0 +1,151 @@
1
+ import { defineComponent as H, ref as f, computed as L, createElementBlock as n, openBlock as o, normalizeStyle as k, createElementVNode as r, createCommentVNode as g, toDisplayString as m, unref as v, normalizeClass as u, createVNode as j, Fragment as y, renderList as w } from "vue";
2
+ import { k as b, j as A, w as I, a as M } from "./index-BkHXngnv.js";
3
+ const q = { class: "font-bold text-3xl" }, E = ["innerHTML"], V = ["innerHTML"], z = ["src"], B = ["onClick"], N = {
4
+ key: 1,
5
+ class: "flex-grow flex"
6
+ }, F = ["innerHTML"], O = ["src"], P = ["onClick"], Q = { class: "flex-grow flex flex-col items-center" }, R = {
7
+ class: "flex flex-col relative w-full gap-4 px-5 py-5 items-start overflow-auto border-l-4 border-gray-700",
8
+ style: { "max-width": "600px", height: "300px" }
9
+ }, D = /* @__PURE__ */ H({
10
+ __name: "EpBranchingScenario",
11
+ props: {
12
+ scenarioTitle: {},
13
+ initialInstruction: { default: null },
14
+ bgColor: {},
15
+ decisionTree: {},
16
+ transitionAnimation: { default: "fade" }
17
+ },
18
+ setup(T) {
19
+ const d = T, a = f([]), c = f(0), i = f(null), p = f(!0), C = (e) => {
20
+ let s = d.decisionTree;
21
+ if (e.length > 0)
22
+ for (let t = 0; t < e.length; t++)
23
+ s = s.options[e[t]];
24
+ return s !== d.decisionTree ? s : null;
25
+ }, _ = () => {
26
+ h.value && (a.value.length === 0 && (p.value = !0), a.value.pop(), i.value = C(a.value), c.value = a.value.length);
27
+ }, h = L(() => c.value === 0 || i.value && i.value.options && i.value.options.length > 0), $ = () => {
28
+ c.value = 0, i.value = null, a.value = [], p.value = !0;
29
+ }, S = (e) => {
30
+ let s = [{ question: d.decisionTree.rootQuestion, choice: d.decisionTree.options[e[0]].name }], t = d.decisionTree.options[e[0]];
31
+ if (e.length > 1)
32
+ for (let l = 1; l < e.length; l++) {
33
+ let x = t.question;
34
+ t = t.options[e[l]], s.push({ question: x, choice: t.name });
35
+ }
36
+ return s;
37
+ };
38
+ return (e, s) => (o(), n("div", null, [
39
+ p.value ? (o(), n("div", {
40
+ key: 0,
41
+ class: "m-4 mx-auto w-2/3 bg-gray-200 dark:bg-slate-800 rounded-md flex flex-col items-center justify-around p-4 fade",
42
+ style: k({ minHeight: "500px", backgroundColor: e.bgColor })
43
+ }, [
44
+ r("h1", q, m(e.scenarioTitle), 1),
45
+ e.initialInstruction ? (o(), n("div", {
46
+ key: 0,
47
+ class: "text-center min-w-max m-3 flex flex-col items-center gap-3",
48
+ innerHTML: v(b)(e.initialInstruction)
49
+ }, null, 8, E)) : g("", !0),
50
+ r("button", {
51
+ class: "rounded bg-blue-500 text-white py-2 px-4 min-w-28 my-3",
52
+ onClick: s[0] || (s[0] = (t) => p.value = !1)
53
+ }, "Commencer")
54
+ ], 4)) : (o(), n("div", {
55
+ key: 1,
56
+ class: "m-4 mx-auto w-2/3 rounded-md flex flex-col p-4 bg-gray-200 dark:bg-slate-800",
57
+ style: k({ minHeight: "500px", backgroundColor: e.bgColor })
58
+ }, [
59
+ r("div", null, [
60
+ h.value ? (o(), n("button", {
61
+ key: 0,
62
+ class: u(`rounded bg-blue-500 text-white py-2 px-4 m-2 ${e.transitionAnimation}`),
63
+ onClick: _
64
+ }, [
65
+ j(A, {
66
+ "icon-path": v(I),
67
+ size: "25"
68
+ }, null, 8, ["icon-path"])
69
+ ], 2)) : g("", !0)
70
+ ]),
71
+ c.value === 0 ? (o(), n("div", {
72
+ key: 0,
73
+ class: u(`flex-grow flex flex-col items-center justify-around ${e.transitionAnimation}`)
74
+ }, [
75
+ r("div", {
76
+ class: "text-center min-w-max m-3 flex flex-col items-center gap-3",
77
+ innerHTML: v(b)(e.decisionTree.rootQuestion)
78
+ }, null, 8, V),
79
+ e.decisionTree.imgSrc ? (o(), n("img", {
80
+ key: 0,
81
+ src: e.decisionTree.imgSrc,
82
+ class: "rounded",
83
+ width: "200"
84
+ }, null, 8, z)) : g("", !0),
85
+ r("div", {
86
+ class: u(`w-full justify-items-center mx-4 grid ${e.decisionTree.options.length <= 2 ? "grid-cols-2" : "grid-cols-3"}`)
87
+ }, [
88
+ (o(!0), n(y, null, w(e.decisionTree.options, (t, l) => (o(), n("button", {
89
+ class: u(`rounded bg-blue-500 text-white py-2 px-4 min-w-28 max-w-40 my-3 ${l === e.decisionTree.options.length - 1 && l % 3 === 0 ? "col-span-3" : "col-span-1"}`),
90
+ key: l,
91
+ onClick: (x) => {
92
+ a.value.push(l), c.value++, i.value = t;
93
+ }
94
+ }, m(t.name), 11, B))), 128))
95
+ ], 2)
96
+ ], 2)) : (o(), n("div", N, [
97
+ h.value ? (o(), n("div", {
98
+ key: i.value.question,
99
+ class: u(`flex-grow flex flex-col items-center justify-around ${e.transitionAnimation}`)
100
+ }, [
101
+ r("div", {
102
+ class: "text-center min-w-max m-3 flex flex-col items-center gap-3",
103
+ innerHTML: v(b)(i.value.question)
104
+ }, null, 8, F),
105
+ i.value.imgSrc ? (o(), n("img", {
106
+ key: 0,
107
+ src: i.value.imgSrc,
108
+ class: "rounded",
109
+ width: "200"
110
+ }, null, 8, O)) : g("", !0),
111
+ r("div", {
112
+ class: u(`w-full justify-items-center mx-4 grid ${i.value.options.length <= 2 ? "grid-cols-2" : "grid-cols-3"}`)
113
+ }, [
114
+ (o(!0), n(y, null, w(i.value.options, (t, l) => (o(), n("button", {
115
+ class: u(`rounded bg-blue-500 text-white py-2 px-4 min-w-28 max-w-40 my-3 ${l === i.value.options.length - 1 && l % 3 === 0 ? "col-span-3" : "col-span-1"}`),
116
+ key: l,
117
+ onClick: (x) => {
118
+ a.value.push(l), c.value++, i.value = t;
119
+ }
120
+ }, m(t.name), 11, P))), 128))
121
+ ], 2)
122
+ ], 2)) : (o(), n("div", {
123
+ key: 1,
124
+ class: u(`flex-grow flex flex-col items-center ${e.transitionAnimation}`)
125
+ }, [
126
+ r("div", Q, [
127
+ s[1] || (s[1] = r("h1", { class: "my-2 font-bold text-3xl" }, "Vous avez terminé le scénario!", -1)),
128
+ s[2] || (s[2] = r("p", null, "Voici votre parcours", -1)),
129
+ r("div", R, [
130
+ (o(!0), n(y, null, w(S(a.value), (t, l) => (o(), n("div", {
131
+ key: l,
132
+ class: "path-item rounded bg-blue-500 text-white py-2 px-4 flex flex-col items-center"
133
+ }, [
134
+ r("u", null, m(t.question), 1),
135
+ r("p", null, m(t.choice), 1)
136
+ ]))), 128))
137
+ ])
138
+ ]),
139
+ r("button", {
140
+ class: "rounded bg-blue-500 text-white py-2 px-4 min-w-28 my-3 col-span-1",
141
+ onClick: $
142
+ }, "Recommencer")
143
+ ], 2))
144
+ ]))
145
+ ], 4))
146
+ ]));
147
+ }
148
+ }), K = /* @__PURE__ */ M(D, [["__scopeId", "data-v-07c75699"]]);
149
+ export {
150
+ K as default
151
+ };
@@ -0,0 +1,4 @@
1
+ import { d as f } from "./index-BkHXngnv.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { e } from "./index-BkHXngnv.js";
2
+ export {
3
+ e as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { _ as f } from "./EpCheckbox.vue_vue_type_script_setup_true_lang-Dqi62vJ8.js";
2
+ export {
3
+ f as default
4
+ };
@@ -1,4 +1,4 @@
1
- import { defineComponent as y, computed as b, toRefs as g, openBlock as x, createElementBlock as v, withDirectives as _, createElementVNode as d, unref as e, vModelCheckbox as h, toDisplayString as k } from "vue";
1
+ import { defineComponent as y, computed as b, toRefs as g, createElementBlock as x, openBlock as _, withDirectives as v, createElementVNode as d, unref as e, vModelCheckbox as h, toDisplayString as k } from "vue";
2
2
  const V = { class: "cursor-pointer flex items-center rounded-md py-3 px-3 text-xs font-semibold uppercase sm:flex-1 hover:bg-gray-200" }, B = ["id", "value", "disabled", "readonly"], C = { class: "ml-2" }, D = /* @__PURE__ */ y({
3
3
  __name: "EpCheckbox",
4
4
  props: {
@@ -18,11 +18,11 @@ const V = { class: "cursor-pointer flex items-center rounded-md py-3 px-3 text-x
18
18
  set(a) {
19
19
  n("update:modelValue", a);
20
20
  }
21
- }), { id: u, label: i, disabled: c, readonly: p, value: m } = g(o);
22
- return (a, l) => (x(), v("label", V, [
23
- _(d("input", {
21
+ }), { id: i, label: u, disabled: c, readonly: p, value: m } = g(o);
22
+ return (a, l) => (_(), x("label", V, [
23
+ v(d("input", {
24
24
  type: "checkbox",
25
- id: e(u),
25
+ id: e(i),
26
26
  "onUpdate:modelValue": l[0] || (l[0] = (f) => t.value = f),
27
27
  value: e(m),
28
28
  disabled: e(c),
@@ -32,10 +32,10 @@ const V = { class: "cursor-pointer flex items-center rounded-md py-3 px-3 text-x
32
32
  }, null, 8, B), [
33
33
  [h, t.value]
34
34
  ]),
35
- d("span", C, k(e(i)), 1)
35
+ d("span", C, k(e(u)), 1)
36
36
  ]));
37
37
  }
38
38
  });
39
39
  export {
40
- D as default
40
+ D as _
41
41
  };
@@ -0,0 +1,4 @@
1
+ import { f } from "./index-BkHXngnv.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { x as f } from "./index-BkHXngnv.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { y as f } from "./index-BkHXngnv.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { K as f } from "./index-BkHXngnv.js";
2
+ export {
3
+ f as default
4
+ };
@@ -1,5 +1,5 @@
1
- import { defineComponent as c, ref as u, onMounted as p, openBlock as r, createElementBlock as n, createStaticVNode as m, createElementVNode as a } from "vue";
2
- import { I as g } from "./index-CAb7BIas.js";
1
+ import { defineComponent as c, ref as u, onMounted as p, createElementBlock as r, openBlock as n, createStaticVNode as m, createElementVNode as a } from "vue";
2
+ import { L as g } from "./index-BkHXngnv.js";
3
3
  const k = {
4
4
  key: 0,
5
5
  title: "Switch to light mode"
@@ -18,13 +18,13 @@ const k = {
18
18
  };
19
19
  return p(() => {
20
20
  s(t.value);
21
- }), (e, o) => (r(), n("button", {
21
+ }), (e, o) => (n(), r("button", {
22
22
  onClick: h,
23
23
  class: "p-2 rounded-full transition-colors duration-300 hover:bg-gray-700 hover:scale-105"
24
24
  }, [
25
- t.value === "dark" ? (r(), n("span", k, o[0] || (o[0] = [
25
+ t.value === "dark" ? (n(), r("span", k, o[0] || (o[0] = [
26
26
  m('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-sun"><circle cx="12" cy="12" r="4"></circle><path d="M12 2v2"></path><path d="M12 20v2"></path><path d="m4.93 4.93 1.41 1.41"></path><path d="m17.66 17.66 1.41 1.41"></path><path d="M2 12h2"></path><path d="M20 12h2"></path><path d="m6.34 17.66-1.41 1.41"></path><path d="m19.07 4.93-1.41 1.41"></path></svg>', 1)
27
- ]))) : (r(), n("span", v, o[1] || (o[1] = [
27
+ ]))) : (n(), r("span", v, o[1] || (o[1] = [
28
28
  a("svg", {
29
29
  xmlns: "http://www.w3.org/2000/svg",
30
30
  width: "24",
@@ -0,0 +1,4 @@
1
+ import { z as f } from "./index-BkHXngnv.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { g as f } from "./index-BkHXngnv.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { A as f } from "./index-BkHXngnv.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { h as f } from "./index-BkHXngnv.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { s } from "./index-BkHXngnv.js";
2
+ export {
3
+ s as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { $ as f } from "./index-BkHXngnv.js";
2
+ export {
3
+ f as default
4
+ };
@@ -1,4 +1,4 @@
1
- import { defineComponent as x, toRefs as g, computed as b, ref as c, openBlock as n, createElementBlock as l, createElementVNode as o, toDisplayString as m, unref as u, Fragment as k, renderList as C, normalizeClass as P, normalizeStyle as $, createCommentVNode as w } from "vue";
1
+ import { defineComponent as x, toRefs as g, computed as b, ref as c, createElementBlock as n, openBlock as l, createElementVNode as o, toDisplayString as m, unref as u, createCommentVNode as k, Fragment as C, renderList as P, normalizeStyle as $, normalizeClass as w } from "vue";
2
2
  const z = { class: "text-xl font-bold" }, B = { class: "relative" }, L = ["src", "alt"], M = ["onClick"], E = {
3
3
  key: 0,
4
4
  class: "absolute inset-0 flex items-center justify-center bg-black bg-opacity-5 px-2"
@@ -24,20 +24,20 @@ const z = { class: "text-xl font-bold" }, B = { class: "relative" }, L = ["src",
24
24
  }, y = () => {
25
25
  a.value = !1, r.value = "";
26
26
  };
27
- return (e, t) => (n(), l("div", null, [
27
+ return (e, t) => (l(), n("div", null, [
28
28
  o("h2", z, m(u(d)), 1),
29
29
  o("div", B, [
30
30
  o("img", {
31
31
  src: u(h),
32
32
  alt: `l'image de ${u(d)}`
33
33
  }, null, 8, L),
34
- (n(!0), l(k, null, C(_.value, (s) => (n(), l("button", {
34
+ (l(!0), n(C, null, P(_.value, (s) => (l(), n("button", {
35
35
  key: s.id,
36
36
  onClick: (D) => v(s.title, s.content),
37
- class: P("absolute text-white px-4 py-2 shadow-md bg-primary"),
37
+ class: w("absolute text-white px-4 py-2 shadow-md bg-primary"),
38
38
  style: $(`${s.position}`)
39
39
  }, "+", 12, M))), 128)),
40
- a.value ? (n(), l("div", E, [
40
+ a.value ? (l(), n("div", E, [
41
41
  o("div", H, [
42
42
  o("h4", null, m(p.value), 1),
43
43
  o("div", {
@@ -49,7 +49,7 @@ const z = { class: "text-xl font-bold" }, B = { class: "relative" }, L = ["src",
49
49
  class: "mt-4 bg-primary text-white px-2 py-1 text-sm"
50
50
  }, m(e.labels.fermer), 1)
51
51
  ])
52
- ])) : w("", !0)
52
+ ])) : k("", !0)
53
53
  ])
54
54
  ]));
55
55
  }
@@ -0,0 +1,4 @@
1
+ import { _ as f } from "./EpHover.vue_vue_type_script_setup_true_lang-BxiamS7-.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,36 @@
1
+ import { defineComponent as i, computed as r, createElementBlock as u, openBlock as c, renderSlot as p, createElementVNode as d, unref as f, normalizeClass as m, normalizeStyle as x } from "vue";
2
+ import { k as h } from "./index-BkHXngnv.js";
3
+ const v = { class: "relative group overflow-hidden bg-cover bg-no-repeat" }, g = ["innerHTML"], _ = /* @__PURE__ */ i({
4
+ __name: "EpHover",
5
+ props: {
6
+ bgColor: { default: "beige" },
7
+ textColor: { default: "black" },
8
+ text: { default: "" },
9
+ animation: { default: "translateX" },
10
+ seeThrough: { type: Boolean },
11
+ textSize: {}
12
+ },
13
+ setup(a) {
14
+ const e = a, l = r(() => {
15
+ let t = "";
16
+ e.animation == "scale" ? t = "group-hover:scale-105" : e.animation == "translateY" ? t = "translate-y-96 group-hover:translate-y-0" : e.animation == "translateX" && (t = "translate-x-96 group-hover:translate-x-0");
17
+ let o = e.seeThrough ? "group-hover:opacity-90" : "group-hover:opacity-100", s = e.textSize ? `text-${e.textSize}` : "text-md";
18
+ return t + " " + o + " " + s;
19
+ }), n = r(() => ({
20
+ backgroundColor: e.bgColor,
21
+ color: e.textColor
22
+ }));
23
+ return (t, o) => (c(), u("div", v, [
24
+ p(t.$slots, "default"),
25
+ d("div", {
26
+ style: x(n.value),
27
+ class: m(`rounded-t-md absolute bottom-0 left-0 right-0 top-0 max-h-full w-full p-10 dark:text-white box-border whitespace-normal overflow-x-auto overflow-y-auto
28
+ flex flex-col opacity-0 transition duration-1000 ease-in-out ${l.value}`),
29
+ innerHTML: f(h)(t.text)
30
+ }, null, 14, g)
31
+ ]));
32
+ }
33
+ });
34
+ export {
35
+ _
36
+ };
@@ -0,0 +1,84 @@
1
+ import { defineComponent as w, computed as l, toRefs as $, createElementBlock as s, openBlock as a, normalizeClass as d, createBlock as B, createCommentVNode as n, createElementVNode as r, unref as t, withCtx as S, renderSlot as i, toDisplayString as x, createVNode as T } from "vue";
2
+ import { _ as z } from "./EpHover.vue_vue_type_script_setup_true_lang-BxiamS7-.js";
3
+ import { u as p, i as E, j as N } from "./index-BkHXngnv.js";
4
+ const V = ["src"], j = {
5
+ key: 0,
6
+ class: "mb-2 flex items-center justify-between dark:text-white"
7
+ }, A = { class: "text-2xl dark:text-white font-bold" }, W = { key: 0 }, D = { class: "dark:text-white" }, H = { class: "dark:text-white max-w-4xl" }, G = /* @__PURE__ */ w({
8
+ __name: "EpHoverCard",
9
+ props: {
10
+ title: { default: null },
11
+ subtitle: { default: null },
12
+ outlined: { type: Boolean, default: !1 },
13
+ flat: { type: Boolean, default: !1 },
14
+ icon: { default: null },
15
+ color: { default: null },
16
+ src: { default: null },
17
+ maxWidth: { default: "max-w-4xl" },
18
+ density: { default: "default" },
19
+ hoverContent: {},
20
+ hoverBg: { default: "" },
21
+ hoverAnimation: { default: "translateY" },
22
+ seeThrough: { type: Boolean },
23
+ textSize: {},
24
+ hoverColor: {}
25
+ },
26
+ setup(v) {
27
+ const e = v, b = l(() => e.flat ? "" : "shadow-lg"), k = l(() => e.outlined && e.color ? `border solid ${p("border", e.color)}` : e.outlined ? "border solid border-primary dark:border-primary" : "dark:border dark:solid dark:border-primary"), y = l(() => e.color && !e.outlined ? `${p("bg", e.color)}` : "bg-white text-black"), C = l(() => e.color && !e.outlined ? "text-white" : "text-gray-600"), _ = l(() => E[e.density]), g = l(() => `
28
+ ${b.value}
29
+ ${k.value}
30
+ ${y.value}
31
+ ${e.maxWidth}
32
+ rounded-md
33
+ dark:bg-dark
34
+ dark:text-white
35
+ my-4 `), { title: u, subtitle: c, icon: h, src: f, hoverContent: m } = $(e);
36
+ return (o, R) => (a(), s("div", {
37
+ class: d(`${g.value} mx-auto`)
38
+ }, [
39
+ t(f) && t(m) ? (a(), B(z, {
40
+ key: 0,
41
+ textColor: o.hoverColor,
42
+ textSize: o.textSize,
43
+ seeThrough: o.seeThrough,
44
+ bgColor: o.hoverBg,
45
+ animation: o.hoverAnimation,
46
+ text: t(m)
47
+ }, {
48
+ default: S(() => [
49
+ r("img", {
50
+ src: t(f),
51
+ class: "w-full rounded-t-md",
52
+ alt: "header card"
53
+ }, null, 8, V)
54
+ ]),
55
+ _: 1
56
+ }, 8, ["textColor", "textSize", "seeThrough", "bgColor", "animation", "text"])) : n("", !0),
57
+ r("div", {
58
+ class: d(_.value)
59
+ }, [
60
+ t(u) || t(c) ? (a(), s("div", j, [
61
+ r("div", null, [
62
+ r("h3", A, x(t(u)), 1),
63
+ r("h4", {
64
+ class: d(`text-xs dark:text-white ${C.value}`)
65
+ }, x(t(c)), 3)
66
+ ]),
67
+ t(h) ? (a(), s("div", W, [
68
+ T(N, { "icon-path": t(h) }, null, 8, ["icon-path"])
69
+ ])) : n("", !0)
70
+ ])) : n("", !0),
71
+ i(o.$slots, "card-header"),
72
+ r("div", D, [
73
+ i(o.$slots, "default")
74
+ ]),
75
+ r("div", H, [
76
+ i(o.$slots, "card-actions")
77
+ ])
78
+ ], 2)
79
+ ], 2));
80
+ }
81
+ });
82
+ export {
83
+ G as default
84
+ };
@@ -0,0 +1,4 @@
1
+ import { j as f } from "./index-BkHXngnv.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { Q as f } from "./index-BkHXngnv.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { l as f } from "./index-BkHXngnv.js";
2
+ export {
3
+ f as default
4
+ };