@sparkle-learning/core 0.0.35 → 0.0.36

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 (407) hide show
  1. package/dist/cjs/{auth.service-4b584cd7.js → PrivateRoute-074c584e.js} +30 -0
  2. package/dist/cjs/{sparkle-export-lessons_6.cjs.entry.js → header-mobile-collapse_61.cjs.entry.js} +11600 -2714
  3. package/dist/cjs/index.cjs.js +5 -6
  4. package/dist/cjs/ion-card-title.cjs.entry.js +30 -0
  5. package/dist/cjs/ion-textarea.cjs.entry.js +248 -0
  6. package/dist/cjs/ion-toggle.cjs.entry.js +177 -0
  7. package/dist/cjs/loader.cjs.js +1 -1
  8. package/dist/cjs/sparkle-core.cjs.js +1 -1
  9. package/dist/cjs/sparkle-feed-post.cjs.entry.js +120 -0
  10. package/dist/cjs/sparkle-feedback.cjs.entry.js +1 -2
  11. package/dist/cjs/sparkle-quiz-v1.cjs.entry.js +105 -0
  12. package/dist/cjs/sparkle-quiz.cjs.entry.js +54 -40
  13. package/dist/cjs/student.service-2e58f237.js +78 -0
  14. package/dist/collection/collection-manifest.json +2 -1
  15. package/dist/collection/components/sparkle-quiz/{sparkle-quiz.css → sparkle-quiz/sparkle-quiz.css} +0 -0
  16. package/dist/collection/components/sparkle-quiz/sparkle-quiz/sparkle-quiz.js +326 -0
  17. package/dist/collection/components/sparkle-quiz/sparkle-quiz-v1.css +48 -0
  18. package/dist/collection/components/sparkle-quiz/{sparkle-quiz.js → sparkle-quiz-v1.js} +4 -4
  19. package/dist/esm/{auth.service-79389d86.js → PrivateRoute-c5441f35.js} +33 -4
  20. package/dist/esm/{active-router-9843e205.js → active-router-fc9e4e06.js} +1 -1
  21. package/dist/esm/{animation-d98d3e81.js → animation-12377cb3.js} +1 -1
  22. package/dist/esm/{app-globals-08edc964.js → app-globals-3f0347b0.js} +1 -1
  23. package/dist/esm/{auth.store-b812b34b.js → auth.store-dba2c2da.js} +2 -2
  24. package/dist/esm/compass-svg.entry.js +1 -1
  25. package/dist/esm/context-consumer.entry.js +1 -1
  26. package/dist/esm/course-select.entry.js +1 -1
  27. package/dist/esm/{facilitator.service-7babc526.js → facilitator.service-b0292f7f.js} +2 -2
  28. package/dist/esm/{feed.service-80fbe79d.js → feed.service-8fbe4ce3.js} +3 -3
  29. package/dist/esm/{framework-delegate-9b329182.js → framework-delegate-3e634a5c.js} +1 -1
  30. package/dist/esm/{haptic-3a76a65c.js → haptic-522f76f2.js} +1 -1
  31. package/dist/esm/{sparkle-export-lessons_6.entry.js → header-mobile-collapse_61.entry.js} +11501 -2670
  32. package/dist/esm/{helpers-94a5855b.js → helpers-bf0e23d6.js} +1 -1
  33. package/dist/esm/{httpService-b2b7a1ad.js → httpService-7b75b095.js} +2 -2
  34. package/dist/esm/{icons-16f1a80b.js → icons-9b62a1ec.js} +2 -2
  35. package/dist/esm/{index-478745be.js → index-2b84cad2.js} +4 -4
  36. package/dist/esm/{index-4ec6b9c2.js → index-4044fde9.js} +1 -1
  37. package/dist/esm/{index-230a26c9.js → index-45fec1e7.js} +1 -1
  38. package/dist/esm/{index-c23a1826.js → index-5e8971ae.js} +2 -2
  39. package/dist/esm/{index-9db08224.js → index-c04b9ed5.js} +1 -1
  40. package/dist/esm/{index-95307148.js → index-cded2d87.js} +3 -3
  41. package/dist/esm/{index.es-1c3b1ef3.js → index.es-e0c0f891.js} +2 -2
  42. package/dist/esm/index.js +7 -8
  43. package/dist/esm/{input-shims-ce5c01df.js → input-shims-671d8d9f.js} +2 -2
  44. package/dist/esm/ion-accordion-group.entry.js +2 -2
  45. package/dist/esm/ion-accordion.entry.js +4 -4
  46. package/dist/esm/ion-action-sheet_4.entry.js +8 -8
  47. package/dist/esm/ion-app.entry.js +5 -5
  48. package/dist/esm/ion-back-button.entry.js +4 -4
  49. package/dist/esm/ion-backdrop.entry.js +2 -2
  50. package/dist/esm/ion-badge.entry.js +2 -2
  51. package/dist/esm/ion-breadcrumb.entry.js +4 -4
  52. package/dist/esm/ion-breadcrumbs.entry.js +2 -2
  53. package/dist/esm/ion-buttons_3.entry.js +2 -2
  54. package/dist/esm/ion-card-header.entry.js +2 -2
  55. package/dist/esm/ion-card-subtitle.entry.js +2 -2
  56. package/dist/esm/ion-card-title.entry.js +26 -0
  57. package/dist/esm/ion-chip.entry.js +2 -2
  58. package/dist/esm/ion-content_2.entry.js +4 -4
  59. package/dist/esm/ion-datetime-button.entry.js +3 -3
  60. package/dist/esm/ion-datetime.entry.js +4 -4
  61. package/dist/esm/ion-fab-button.entry.js +4 -4
  62. package/dist/esm/ion-fab-list.entry.js +2 -2
  63. package/dist/esm/ion-fab.entry.js +2 -2
  64. package/dist/esm/ion-footer.entry.js +4 -4
  65. package/dist/esm/ion-img.entry.js +3 -3
  66. package/dist/esm/ion-infinite-scroll-content.entry.js +2 -2
  67. package/dist/esm/ion-infinite-scroll.entry.js +4 -4
  68. package/dist/esm/ion-item-divider.entry.js +2 -2
  69. package/dist/esm/ion-item-group.entry.js +2 -2
  70. package/dist/esm/ion-item-option.entry.js +2 -2
  71. package/dist/esm/ion-item-options.entry.js +3 -3
  72. package/dist/esm/ion-item-sliding.entry.js +4 -4
  73. package/dist/esm/ion-loading.entry.js +5 -5
  74. package/dist/esm/ion-menu-button.entry.js +7 -7
  75. package/dist/esm/ion-menu-toggle.entry.js +6 -6
  76. package/dist/esm/ion-menu.entry.js +6 -6
  77. package/dist/esm/ion-modal.entry.js +8 -8
  78. package/dist/esm/ion-nav-link.entry.js +1 -1
  79. package/dist/esm/ion-nav.entry.js +6 -6
  80. package/dist/esm/ion-picker-column-internal_2.entry.js +4 -4
  81. package/dist/esm/ion-picker-column.entry.js +4 -4
  82. package/dist/esm/ion-picker.entry.js +5 -5
  83. package/dist/esm/ion-progress-bar.entry.js +3 -3
  84. package/dist/esm/ion-refresher-content.entry.js +3 -3
  85. package/dist/esm/ion-refresher.entry.js +6 -6
  86. package/dist/esm/ion-reorder-group.entry.js +5 -5
  87. package/dist/esm/ion-reorder.entry.js +3 -3
  88. package/dist/esm/ion-route-redirect.entry.js +1 -1
  89. package/dist/esm/ion-route.entry.js +1 -1
  90. package/dist/esm/ion-router-link.entry.js +2 -2
  91. package/dist/esm/ion-router-outlet.entry.js +6 -6
  92. package/dist/esm/ion-router.entry.js +2 -2
  93. package/dist/esm/ion-searchbar.entry.js +4 -4
  94. package/dist/esm/ion-segment-button.entry.js +3 -3
  95. package/dist/esm/ion-segment.entry.js +3 -3
  96. package/dist/esm/ion-select_2.entry.js +4 -4
  97. package/dist/esm/ion-skeleton-text.entry.js +2 -2
  98. package/dist/esm/ion-slide.entry.js +2 -2
  99. package/dist/esm/ion-slides.entry.js +3 -3
  100. package/dist/esm/ion-split-pane.entry.js +2 -2
  101. package/dist/esm/ion-tab-bar.entry.js +2 -2
  102. package/dist/esm/ion-tab-button.entry.js +2 -2
  103. package/dist/esm/ion-tab.entry.js +3 -3
  104. package/dist/esm/ion-tabs.entry.js +1 -1
  105. package/dist/esm/ion-textarea.entry.js +244 -0
  106. package/dist/esm/ion-thumbnail.entry.js +2 -2
  107. package/dist/esm/ion-toast.entry.js +5 -5
  108. package/dist/esm/ion-toggle.entry.js +173 -0
  109. package/dist/esm/ion-virtual-scroll.entry.js +2 -2
  110. package/dist/esm/{ionic-global-293e882b.js → ionic-global-4903e23e.js} +1 -1
  111. package/dist/esm/{ios.transition-7cd34deb.js → ios.transition-131d64fe.js} +4 -4
  112. package/dist/esm/loader.js +4 -4
  113. package/dist/esm/{md.transition-2589a5b1.js → md.transition-f6126011.js} +4 -4
  114. package/dist/esm/{menu-toggle-util-f92ba2f0.js → menu-toggle-util-bace8ae6.js} +1 -1
  115. package/dist/esm/{overlays-dfa730c8.js → overlays-3b4dca92.js} +3 -3
  116. package/dist/esm/{purify-79af871f.js → purify-85bfcc69.js} +1 -1
  117. package/dist/esm/sparkle-animation-player.entry.js +2 -2
  118. package/dist/esm/sparkle-character-intro.entry.js +1 -1
  119. package/dist/esm/sparkle-code.entry.js +2 -2
  120. package/dist/esm/sparkle-compass-post.entry.js +1 -1
  121. package/dist/esm/sparkle-compass.entry.js +1 -1
  122. package/dist/esm/sparkle-core.js +4 -4
  123. package/dist/esm/sparkle-emoji.entry.js +1 -1
  124. package/dist/esm/sparkle-facilitator-notes-form.entry.js +7 -7
  125. package/dist/esm/sparkle-feed-post.entry.js +116 -0
  126. package/dist/esm/sparkle-feedback.entry.js +7 -8
  127. package/dist/esm/sparkle-goal-form.entry.js +8 -8
  128. package/dist/esm/sparkle-gww-comment-list.entry.js +1 -1
  129. package/dist/esm/sparkle-gww-graph.entry.js +1 -1
  130. package/dist/esm/sparkle-intro.entry.js +1 -1
  131. package/dist/esm/sparkle-lower-content-nav.entry.js +1 -1
  132. package/dist/esm/sparkle-menu-collapsible.entry.js +2 -2
  133. package/dist/esm/sparkle-modal-image.entry.js +1 -1
  134. package/dist/esm/sparkle-notfound-page.entry.js +1 -1
  135. package/dist/esm/sparkle-overlay.entry.js +1 -1
  136. package/dist/esm/sparkle-poll.entry.js +1 -1
  137. package/dist/esm/sparkle-quiz-container.entry.js +1 -1
  138. package/dist/esm/sparkle-quiz-feedback_5.entry.js +1 -1
  139. package/dist/esm/sparkle-quiz-v1.entry.js +101 -0
  140. package/dist/esm/sparkle-quiz.entry.js +55 -41
  141. package/dist/esm/sparkle-select.entry.js +1 -1
  142. package/dist/esm/sparkle-sidebar.entry.js +1 -1
  143. package/dist/esm/sparkle-tab.entry.js +1 -1
  144. package/dist/esm/sparkle-table-of-contents.entry.js +1 -1
  145. package/dist/esm/sparkle-tabs.entry.js +1 -1
  146. package/dist/esm/sparkle-youtube.entry.js +1 -1
  147. package/dist/esm/{status-tap-79b6199d.js → status-tap-dde52787.js} +3 -3
  148. package/dist/esm/stencil-async-content.entry.js +1 -1
  149. package/dist/esm/stencil-route-title.entry.js +2 -2
  150. package/dist/esm/stencil-router-prompt.entry.js +2 -2
  151. package/dist/esm/{student.service-0caed0f4.js → student.service-0746418b.js} +19 -3
  152. package/dist/esm/{swipe-back-ad7a0361.js → swipe-back-7847a0c1.js} +1 -1
  153. package/dist/esm/{util-a831d09d.js → util-6ef753e9.js} +1 -1
  154. package/dist/sparkle-core/index.esm.js +1 -1
  155. package/dist/sparkle-core/p-00d10dc9.js +4 -0
  156. package/dist/sparkle-core/p-0147266a.js +1 -0
  157. package/dist/sparkle-core/{p-9ef14088.entry.js → p-04c7b276.entry.js} +1 -1
  158. package/dist/sparkle-core/{p-fde96f7c.js → p-05c032dd.js} +1 -1
  159. package/dist/sparkle-core/{p-4af496a8.entry.js → p-06642405.entry.js} +1 -1
  160. package/dist/sparkle-core/p-0664370b.entry.js +1 -0
  161. package/dist/sparkle-core/{p-0b92326d.entry.js → p-06c7d0f2.entry.js} +1 -1
  162. package/dist/sparkle-core/p-077c732b.js +4 -0
  163. package/dist/sparkle-core/{p-3c752205.entry.js → p-0ad5c123.entry.js} +1 -1
  164. package/dist/sparkle-core/p-0afa3a4d.entry.js +1 -0
  165. package/dist/sparkle-core/{p-e6d39f6e.entry.js → p-0c3f3ea6.entry.js} +1 -1
  166. package/dist/sparkle-core/{p-8cbe019a.entry.js → p-0f1c5899.entry.js} +1 -1
  167. package/dist/sparkle-core/{p-767c9db8.entry.js → p-0fa3fd63.entry.js} +1 -1
  168. package/dist/sparkle-core/p-11356b03.entry.js +1 -0
  169. package/dist/sparkle-core/{p-506f3c5f.js → p-12dd96d7.js} +2 -2
  170. package/dist/sparkle-core/p-162bff1a.entry.js +1 -0
  171. package/dist/sparkle-core/p-1b1ba156.entry.js +1 -0
  172. package/dist/sparkle-core/{p-966817ec.js → p-1d4c7c11.js} +1 -1
  173. package/dist/sparkle-core/p-1e125ca5.entry.js +1 -0
  174. package/dist/sparkle-core/{p-b00d0a47.entry.js → p-1e4782af.entry.js} +1 -1
  175. package/dist/sparkle-core/p-1e4f65ee.entry.js +1 -0
  176. package/dist/sparkle-core/{p-1394cbb8.js → p-2033cd86.js} +2 -2
  177. package/dist/sparkle-core/{p-3ef53ebf.entry.js → p-214d1229.entry.js} +1 -1
  178. package/dist/sparkle-core/p-23aca7ca.js +4 -0
  179. package/dist/sparkle-core/p-24cb9a33.entry.js +1 -0
  180. package/dist/sparkle-core/{p-bae8cd7d.entry.js → p-27fbabc3.entry.js} +1 -1
  181. package/dist/sparkle-core/{p-d220a642.entry.js → p-2ba70507.entry.js} +1 -1
  182. package/dist/sparkle-core/{p-4c9e010d.entry.js → p-2c1ca854.entry.js} +1 -1
  183. package/dist/sparkle-core/p-2d9659e2.entry.js +1 -0
  184. package/dist/sparkle-core/{p-23d713e2.js → p-2f569553.js} +1 -1
  185. package/dist/sparkle-core/{p-c9f474d0.js → p-2ff67662.js} +2 -2
  186. package/dist/sparkle-core/{p-136b93d5.entry.js → p-30b810d1.entry.js} +1 -1
  187. package/dist/sparkle-core/p-32f4e565.entry.js +1 -0
  188. package/dist/sparkle-core/{p-7b21bd70.entry.js → p-352677e6.entry.js} +1 -1
  189. package/dist/sparkle-core/p-370609ba.entry.js +1 -0
  190. package/dist/sparkle-core/{p-bd2c8e30.entry.js → p-377b04c2.entry.js} +2 -2
  191. package/dist/sparkle-core/{p-fea20ec2.entry.js → p-38b7cf68.entry.js} +1 -1
  192. package/dist/sparkle-core/{p-c5eb4404.entry.js → p-3963e02b.entry.js} +1 -1
  193. package/dist/sparkle-core/{p-9b4979b5.entry.js → p-39712c56.entry.js} +1 -1
  194. package/dist/sparkle-core/p-3a965828.entry.js +1 -0
  195. package/dist/sparkle-core/{p-3810777d.js → p-3de0e00c.js} +1 -1
  196. package/dist/sparkle-core/p-4053ecdb.entry.js +1 -0
  197. package/dist/sparkle-core/p-462bffba.js +1 -0
  198. package/dist/sparkle-core/{p-308517b3.js → p-48f72e63.js} +2 -2
  199. package/dist/sparkle-core/{p-a05871e6.js → p-4c6a7e52.js} +1 -1
  200. package/dist/sparkle-core/{p-d6637b48.entry.js → p-5096739e.entry.js} +1 -1
  201. package/dist/sparkle-core/p-5322c920.entry.js +1 -0
  202. package/dist/sparkle-core/{p-34d93a39.entry.js → p-54dd894f.entry.js} +1 -1
  203. package/dist/sparkle-core/{p-085eb951.entry.js → p-564e64fc.entry.js} +1 -1
  204. package/dist/sparkle-core/{p-d0d0e5e5.entry.js → p-5893bbe5.entry.js} +1 -1
  205. package/dist/sparkle-core/{p-351b82a8.entry.js → p-58e4bbe5.entry.js} +1 -1
  206. package/dist/sparkle-core/p-590266d6.entry.js +1 -0
  207. package/dist/sparkle-core/{p-b8ba8164.entry.js → p-594a6982.entry.js} +1 -1
  208. package/dist/sparkle-core/{p-34ebfc8a.entry.js → p-5c435d5a.entry.js} +1 -1
  209. package/dist/sparkle-core/{p-a19b42f0.js → p-5cad23f1.js} +1 -1
  210. package/dist/sparkle-core/p-5efc6566.js +1 -0
  211. package/dist/sparkle-core/{p-7b3d1457.js → p-600cf6a3.js} +1 -1
  212. package/dist/sparkle-core/{p-16b7974e.entry.js → p-601397df.entry.js} +1 -1
  213. package/dist/sparkle-core/{p-dff8325e.js → p-604a7987.js} +1 -1
  214. package/dist/sparkle-core/{p-58f74119.entry.js → p-616941c6.entry.js} +1 -1
  215. package/dist/sparkle-core/{p-fe214d79.entry.js → p-6316d124.entry.js} +1 -1
  216. package/dist/sparkle-core/p-63f71ada.entry.js +1 -0
  217. package/dist/sparkle-core/p-641bfc92.entry.js +1 -0
  218. package/dist/sparkle-core/{p-ea4a9f0d.entry.js → p-69487d90.entry.js} +1 -1
  219. package/dist/sparkle-core/{p-9a383065.entry.js → p-6faa194c.entry.js} +2 -2
  220. package/dist/sparkle-core/{p-df5efe0d.entry.js → p-6ffd2420.entry.js} +1 -1
  221. package/dist/sparkle-core/{p-c48352cf.js → p-73721c84.js} +1 -1
  222. package/dist/sparkle-core/p-74864276.entry.js +1 -0
  223. package/dist/sparkle-core/p-80d6b0e6.entry.js +1 -0
  224. package/dist/sparkle-core/p-81714d94.entry.js +1 -0
  225. package/dist/sparkle-core/p-8492a765.entry.js +1 -0
  226. package/dist/sparkle-core/p-859563db.entry.js +1 -0
  227. package/dist/sparkle-core/p-865f36a8.entry.js +1 -0
  228. package/dist/sparkle-core/{p-280e938d.js → p-86ed13f0.js} +1 -1
  229. package/dist/sparkle-core/{p-01743e3e.js → p-871106e0.js} +1 -1
  230. package/dist/sparkle-core/p-894ff7e6.entry.js +1 -0
  231. package/dist/sparkle-core/p-8a41b502.entry.js +1 -0
  232. package/dist/sparkle-core/p-8c74cbb6.entry.js +1 -0
  233. package/dist/sparkle-core/{p-5979f253.entry.js → p-9289cdbc.entry.js} +1 -1
  234. package/dist/sparkle-core/{p-4bd4dab2.js → p-935e7cfc.js} +1 -1
  235. package/dist/sparkle-core/{p-6ae9c743.entry.js → p-975b99ee.entry.js} +1 -1
  236. package/dist/sparkle-core/p-99ee9919.js +1 -0
  237. package/dist/sparkle-core/{p-0127a61a.entry.js → p-9abbd715.entry.js} +1 -1
  238. package/dist/sparkle-core/{p-4338e1e3.js → p-9d894ed4.js} +1 -1
  239. package/dist/sparkle-core/{p-3fd92216.entry.js → p-9e309b3e.entry.js} +1 -1
  240. package/dist/sparkle-core/p-9e7fee8f.entry.js +1 -0
  241. package/dist/sparkle-core/{p-d6a3a639.entry.js → p-9ebf0537.entry.js} +1 -1
  242. package/dist/sparkle-core/p-a102341e.entry.js +1 -0
  243. package/dist/sparkle-core/{p-06af1bc8.entry.js → p-a2638250.entry.js} +1 -1
  244. package/dist/sparkle-core/{p-e1743d82.entry.js → p-a2ebcf0a.entry.js} +1 -1
  245. package/dist/sparkle-core/{p-ba775d8e.entry.js → p-a98d7ebe.entry.js} +1 -1
  246. package/dist/sparkle-core/p-af3cc111.entry.js +1 -0
  247. package/dist/sparkle-core/{p-1c2aee9c.js → p-b0603d19.js} +1 -1
  248. package/dist/sparkle-core/p-b3f375fb.entry.js +1 -0
  249. package/dist/sparkle-core/p-b5f3e1bf.entry.js +1 -0
  250. package/dist/sparkle-core/{p-3d2c0e24.entry.js → p-b96f3c84.entry.js} +2 -2
  251. package/dist/sparkle-core/{p-ed3dfd89.js → p-bd80ff43.js} +2 -2
  252. package/dist/sparkle-core/p-be64105c.entry.js +1 -0
  253. package/dist/sparkle-core/{p-defeaa5c.entry.js → p-c0533c23.entry.js} +1 -1
  254. package/dist/sparkle-core/p-c2990b24.entry.js +1 -0
  255. package/dist/sparkle-core/p-c3cadfc6.entry.js +1 -0
  256. package/dist/sparkle-core/{p-5a3de051.entry.js → p-c60b29bd.entry.js} +2 -2
  257. package/dist/sparkle-core/p-cabfbf22.entry.js +1 -0
  258. package/dist/sparkle-core/p-cc518c36.entry.js +1 -0
  259. package/dist/sparkle-core/{p-0c603495.entry.js → p-ce4b22f7.entry.js} +1 -1
  260. package/dist/sparkle-core/p-cffd4817.entry.js +1 -0
  261. package/dist/sparkle-core/{p-9cd95e7e.entry.js → p-d0adf726.entry.js} +1 -1
  262. package/dist/sparkle-core/p-d20e4fcf.entry.js +1 -0
  263. package/dist/sparkle-core/p-d24e53ab.entry.js +1 -0
  264. package/dist/sparkle-core/p-d288e6c1.entry.js +1 -0
  265. package/dist/sparkle-core/{p-785f1879.entry.js → p-d601810e.entry.js} +1 -1
  266. package/dist/sparkle-core/{p-27075abe.js → p-d68092b7.js} +1 -1
  267. package/dist/sparkle-core/p-de4deb61.entry.js +1 -0
  268. package/dist/sparkle-core/{p-d5b8302f.entry.js → p-e249aebf.entry.js} +1 -1
  269. package/dist/sparkle-core/p-e3e36ce9.entry.js +1 -0
  270. package/dist/sparkle-core/{p-fdb9a613.entry.js → p-e421d638.entry.js} +1 -1
  271. package/dist/sparkle-core/{p-c8ad5a5b.entry.js → p-e686d8b5.entry.js} +2 -2
  272. package/dist/sparkle-core/{p-8d630960.js → p-e8073714.js} +1 -1
  273. package/dist/sparkle-core/p-e863bf1d.entry.js +1 -0
  274. package/dist/sparkle-core/{p-efe37368.entry.js → p-e8988989.entry.js} +1 -1
  275. package/dist/sparkle-core/{p-6a337ad1.entry.js → p-ea962e1b.entry.js} +1 -1
  276. package/dist/sparkle-core/p-eaf76d1d.entry.js +352 -0
  277. package/dist/sparkle-core/p-ebd4354b.entry.js +1 -0
  278. package/dist/sparkle-core/{p-6a5ace01.js → p-ee1e0eb4.js} +1 -1
  279. package/dist/sparkle-core/{p-1701723e.entry.js → p-ef4edc48.entry.js} +1 -1
  280. package/dist/sparkle-core/{p-a6c1a55a.entry.js → p-fb0ca75e.entry.js} +1 -1
  281. package/dist/sparkle-core/{p-0798d46a.entry.js → p-fb757951.entry.js} +1 -1
  282. package/dist/sparkle-core/{p-ea7d7a3b.js → p-fbccd30c.js} +1 -1
  283. package/dist/sparkle-core/p-fd8d0738.entry.js +4 -0
  284. package/dist/sparkle-core/{p-63d8a5b7.entry.js → p-fda95b6e.entry.js} +1 -1
  285. package/dist/sparkle-core/{p-3eb56165.entry.js → p-fe6dc976.entry.js} +1 -1
  286. package/dist/sparkle-core/{p-f63a13d8.entry.js → p-ff0e0d4e.entry.js} +1 -1
  287. package/dist/sparkle-core/sparkle-core.esm.js +1 -1
  288. package/dist/types/components/sparkle-quiz/sparkle-quiz/sparkle-quiz.d.ts +42 -0
  289. package/dist/types/components/sparkle-quiz/sparkle-quiz-v1.d.ts +41 -0
  290. package/dist/types/components/sparkle-quiz/sparkle-quiz.d.ts +36 -36
  291. package/dist/types/components.d.ts +37 -1
  292. package/package.json +1 -1
  293. package/dist/cjs/PrivateRoute-4abc9d29.js +0 -35
  294. package/dist/cjs/dom-utils-b8befdd5.js +0 -63
  295. package/dist/cjs/header-mobile-collapse_2.cjs.entry.js +0 -112
  296. package/dist/cjs/index-70e63f5b.js +0 -3071
  297. package/dist/cjs/injectHistory-7206bbb9.js +0 -9
  298. package/dist/cjs/ion-avatar_16.cjs.entry.js +0 -1907
  299. package/dist/cjs/ion-checkbox_4.cjs.entry.js +0 -360
  300. package/dist/cjs/ion-col_3.cjs.entry.js +0 -159
  301. package/dist/cjs/ion-range.cjs.entry.js +0 -515
  302. package/dist/cjs/ion-text.cjs.entry.js +0 -24
  303. package/dist/cjs/match-path-84c9f7ca.js +0 -511
  304. package/dist/cjs/sparkle-card_3.cjs.entry.js +0 -91
  305. package/dist/cjs/sparkle-course-root.cjs.entry.js +0 -146
  306. package/dist/cjs/sparkle-dropdown.cjs.entry.js +0 -61
  307. package/dist/cjs/sparkle-facilitator-header_19.cjs.entry.js +0 -2130
  308. package/dist/cjs/sparkle-goal-progress.cjs.entry.js +0 -19
  309. package/dist/cjs/sparkle-gww-item.cjs.entry.js +0 -74
  310. package/dist/cjs/sparkle-menu-toggle_3.cjs.entry.js +0 -236
  311. package/dist/cjs/sparkle-validation-error.cjs.entry.js +0 -21
  312. package/dist/cjs/stencil-route-link.cjs.entry.js +0 -77
  313. package/dist/cjs/stencil-router-redirect.cjs.entry.js +0 -32
  314. package/dist/cjs/student.service-d48f1c99.js +0 -61
  315. package/dist/cjs/user.store-8a049c4e.js +0 -21
  316. package/dist/esm/PrivateRoute-530ef873.js +0 -33
  317. package/dist/esm/dom-utils-8e73e88b.js +0 -55
  318. package/dist/esm/header-mobile-collapse_2.entry.js +0 -107
  319. package/dist/esm/index-ab1c6a9f.js +0 -3067
  320. package/dist/esm/injectHistory-4bfff188.js +0 -7
  321. package/dist/esm/ion-avatar_16.entry.js +0 -1888
  322. package/dist/esm/ion-checkbox_4.entry.js +0 -353
  323. package/dist/esm/ion-col_3.entry.js +0 -153
  324. package/dist/esm/ion-range.entry.js +0 -511
  325. package/dist/esm/ion-text.entry.js +0 -20
  326. package/dist/esm/match-path-36fdf5c7.js +0 -499
  327. package/dist/esm/sparkle-card_3.entry.js +0 -85
  328. package/dist/esm/sparkle-course-root.entry.js +0 -142
  329. package/dist/esm/sparkle-dropdown.entry.js +0 -57
  330. package/dist/esm/sparkle-facilitator-header_19.entry.js +0 -2108
  331. package/dist/esm/sparkle-goal-progress.entry.js +0 -15
  332. package/dist/esm/sparkle-gww-item.entry.js +0 -70
  333. package/dist/esm/sparkle-menu-toggle_3.entry.js +0 -230
  334. package/dist/esm/sparkle-validation-error.entry.js +0 -17
  335. package/dist/esm/stencil-route-link.entry.js +0 -73
  336. package/dist/esm/stencil-router-redirect.entry.js +0 -28
  337. package/dist/esm/user.store-8477642a.js +0 -19
  338. package/dist/sparkle-core/p-0d7cceaa.entry.js +0 -1
  339. package/dist/sparkle-core/p-0d813026.entry.js +0 -1
  340. package/dist/sparkle-core/p-11ed6b7f.entry.js +0 -1
  341. package/dist/sparkle-core/p-122427b7.entry.js +0 -1
  342. package/dist/sparkle-core/p-12c4f45c.entry.js +0 -1
  343. package/dist/sparkle-core/p-14340143.entry.js +0 -4
  344. package/dist/sparkle-core/p-14a06a91.entry.js +0 -1
  345. package/dist/sparkle-core/p-16c81890.entry.js +0 -1
  346. package/dist/sparkle-core/p-1728ead7.js +0 -1
  347. package/dist/sparkle-core/p-17aef6f9.js +0 -1
  348. package/dist/sparkle-core/p-180857a2.entry.js +0 -1
  349. package/dist/sparkle-core/p-1acc7870.entry.js +0 -1
  350. package/dist/sparkle-core/p-1cd4c3cc.entry.js +0 -1
  351. package/dist/sparkle-core/p-21d9833d.js +0 -1
  352. package/dist/sparkle-core/p-25c13612.entry.js +0 -1
  353. package/dist/sparkle-core/p-2699868a.entry.js +0 -1
  354. package/dist/sparkle-core/p-2bd4c60e.js +0 -1
  355. package/dist/sparkle-core/p-2c89a6c2.entry.js +0 -1
  356. package/dist/sparkle-core/p-3227afcb.entry.js +0 -1
  357. package/dist/sparkle-core/p-363a2d6d.js +0 -4
  358. package/dist/sparkle-core/p-36c48760.entry.js +0 -1
  359. package/dist/sparkle-core/p-384911d7.entry.js +0 -1
  360. package/dist/sparkle-core/p-3b618eda.entry.js +0 -1
  361. package/dist/sparkle-core/p-442eadcf.entry.js +0 -1
  362. package/dist/sparkle-core/p-4d0dfbc9.js +0 -1
  363. package/dist/sparkle-core/p-4e0502b8.entry.js +0 -4
  364. package/dist/sparkle-core/p-524a6174.entry.js +0 -1
  365. package/dist/sparkle-core/p-53aac9d7.entry.js +0 -1
  366. package/dist/sparkle-core/p-56700a40.entry.js +0 -1
  367. package/dist/sparkle-core/p-5722be24.entry.js +0 -1
  368. package/dist/sparkle-core/p-58389020.entry.js +0 -348
  369. package/dist/sparkle-core/p-5a850731.entry.js +0 -1
  370. package/dist/sparkle-core/p-5dcf33fb.entry.js +0 -1
  371. package/dist/sparkle-core/p-5e8fa1ac.entry.js +0 -1
  372. package/dist/sparkle-core/p-5ef50959.js +0 -1
  373. package/dist/sparkle-core/p-615b8f64.entry.js +0 -1
  374. package/dist/sparkle-core/p-76206f80.entry.js +0 -1
  375. package/dist/sparkle-core/p-76a6e202.entry.js +0 -1
  376. package/dist/sparkle-core/p-788735b9.entry.js +0 -1
  377. package/dist/sparkle-core/p-8e42e634.entry.js +0 -1
  378. package/dist/sparkle-core/p-8e56f9ee.entry.js +0 -1
  379. package/dist/sparkle-core/p-8ed0cefb.entry.js +0 -1
  380. package/dist/sparkle-core/p-9484e34b.entry.js +0 -1
  381. package/dist/sparkle-core/p-969e98e5.entry.js +0 -1
  382. package/dist/sparkle-core/p-98f3925b.js +0 -4
  383. package/dist/sparkle-core/p-99231c00.js +0 -4
  384. package/dist/sparkle-core/p-9dc42d70.entry.js +0 -1
  385. package/dist/sparkle-core/p-9eea81f2.js +0 -1
  386. package/dist/sparkle-core/p-a111c567.entry.js +0 -1
  387. package/dist/sparkle-core/p-a2f7c751.entry.js +0 -1
  388. package/dist/sparkle-core/p-a458b415.entry.js +0 -1
  389. package/dist/sparkle-core/p-ab3a8f5e.entry.js +0 -1
  390. package/dist/sparkle-core/p-ac0e4d8c.entry.js +0 -1
  391. package/dist/sparkle-core/p-b2827978.entry.js +0 -1
  392. package/dist/sparkle-core/p-bb3e3482.entry.js +0 -1
  393. package/dist/sparkle-core/p-bb575dba.entry.js +0 -1
  394. package/dist/sparkle-core/p-ca0edc9b.entry.js +0 -1
  395. package/dist/sparkle-core/p-cb04b18a.entry.js +0 -1
  396. package/dist/sparkle-core/p-d38a2511.entry.js +0 -1
  397. package/dist/sparkle-core/p-d5ba8e80.entry.js +0 -1
  398. package/dist/sparkle-core/p-d6788642.entry.js +0 -1
  399. package/dist/sparkle-core/p-d86f8633.entry.js +0 -1
  400. package/dist/sparkle-core/p-df5cfa7f.entry.js +0 -1
  401. package/dist/sparkle-core/p-e09de7ac.js +0 -1
  402. package/dist/sparkle-core/p-e28a106d.entry.js +0 -1
  403. package/dist/sparkle-core/p-e566c0b3.entry.js +0 -1
  404. package/dist/sparkle-core/p-f187d129.entry.js +0 -1
  405. package/dist/sparkle-core/p-f5e7bfa5.js +0 -1
  406. package/dist/sparkle-core/p-fe3a7bca.js +0 -1
  407. package/dist/sparkle-core/p-ff26d891.entry.js +0 -1
@@ -1,15 +0,0 @@
1
- import { r as registerInstance, h, H as Host } from './index-9db08224.js';
2
-
3
- const sparkleGoalProgressCss = ":host{display:block}.progress-container{padding:4px;display:flex;align-items:center}.progress-container>.progress{padding-left:6px}#progress-bar{background:#ccc;border-radius:12px;height:10px;width:100%;padding:0px;margin:0 auto}#progress-bar:after{content:'';display:block;background:var(--ion-color-primary);width:var(--p);height:100%;border-radius:9px}.percentage{padding-left:10px}";
4
-
5
- const SparkleGoalProgress = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- }
9
- render() {
10
- return (h(Host, null, h("div", { class: "progress-container" }, h("div", { id: "progress-bar", style: { "--p": this.percentage + "%" } }), h("strong", { class: "percentage" }, this.percentage, "%"))));
11
- }
12
- };
13
- SparkleGoalProgress.style = sparkleGoalProgressCss;
14
-
15
- export { SparkleGoalProgress as sparkle_goal_progress };
@@ -1,70 +0,0 @@
1
- import { r as registerInstance, h, c as getAssetPath, H as Host } from './index-9db08224.js';
2
- import { m as modalController } from './overlays-dfa730c8.js';
3
- import { S as SparkleGlobal, f as date } from './util-a831d09d.js';
4
- import './ionic-global-293e882b.js';
5
- import './hardware-back-button-fa04d6e9.js';
6
- import './helpers-94a5855b.js';
7
-
8
- var PostVisibility;
9
- (function (PostVisibility) {
10
- PostVisibility[PostVisibility["Private"] = 0] = "Private";
11
- PostVisibility[PostVisibility["Public"] = 1] = "Public";
12
- })(PostVisibility || (PostVisibility = {}));
13
-
14
- const sparkleGwwItemCss = ":host{display:block}.Card{background-color:var(--background);border-radius:4px;box-shadow:rgb(2 8 20 / 10%) 0px 0.175em 0.5em, rgb(2 8 20 / 8%) 0px 0.085em 0.175em;color:var(--text-color--light);display:flex;flex-direction:column;font-size:inherit;font-weight:normal;justify-content:flex-start;line-height:1.6;transition:box-shadow 150ms ease 0s, transform 150ms ease 0s, -webkit-box-shadow 150ms ease 0s, -webkit-transform 150ms ease 0s;width:100%;overflow:hidden;margin-bottom:20px;height:auto !important}.footer ion-item ion-avatar{width:30px;height:30px}.comment-overview{padding:0px 16px;text-align:right;cursor:pointer}";
15
-
16
- const SparkleGwwItem = class {
17
- constructor(hostRef) {
18
- registerInstance(this, hostRef);
19
- }
20
- async presentModal(comments) {
21
- const modal = await modalController.create({
22
- component: "sparkle-gww-comment-list",
23
- componentProps: { comments: comments }
24
- });
25
- await modal.present();
26
- }
27
- clearCommentField() {
28
- this.comment = "";
29
- }
30
- renderMyMoodTemplate(data) {
31
- return (h("div", null, h("b", null, "Mood:"), " ", data.Mood, h("br", null), h("b", null, "Level:"), " ", data.Level, h("br", null), h("img", { src: data.MoodImage }), "`"));
32
- }
33
- renderMyHealthTemplate(data) {
34
- return (h("div", null, h("b", null, "Heart rate:"), " ", data.HeartRate, " bpm "));
35
- }
36
- renderMyGoalTemplate(data) {
37
- return (h("div", null, h("b", null, "Goal: "), " ", data.GoalTitle, " ", h("br", null), h("b", null, "Update Text: "), " ", data.GoalText, " ", h("br", null), h("sparkle-goal-progress", { percentage: data.GoalProgress })));
38
- }
39
- renderTemplate() {
40
- if (this.post.PostTextJSON) {
41
- var parseData = JSON.parse(this.post.PostTextJSON);
42
- if (this.post.MiniAppId == SparkleGlobal.MY_GOALS_APP_ID) {
43
- return this.renderMyGoalTemplate(parseData);
44
- }
45
- else if (this.post.MiniAppId == SparkleGlobal.MY_HEALTH_APP_ID) {
46
- return this.renderMyHealthTemplate(parseData);
47
- }
48
- else if (this.post.MiniAppId == SparkleGlobal.MY_MOOD_APP_ID) {
49
- return this.renderMyMoodTemplate(parseData);
50
- }
51
- }
52
- else {
53
- return ([
54
- h("div", { innerHTML: this.post.PostText }),
55
- this.post.ExternalResourceUrl && h("div", null, h("img", { src: this.post.ExternalResourceUrl, class: "external-src-image" }))
56
- ]);
57
- }
58
- }
59
- render() {
60
- return (h(Host, { class: {
61
- 'Card': true,
62
- } }, h("ion-item", { class: "header-item" }, h("ion-avatar", { class: "header-avatar", slot: "start" }, h("img", { src: this.post.ProfileImageUrl ? this.post.ProfileImageUrl : getAssetPath("/assets/img/user.png") })), h("div", null, h("strong", { class: "requester-name", "text-capitalize": true }, this.post.Name), h("div", null, h("small", null, " ", date(this.post.CreatedOn)))), h("div", { slot: "end" }, h("ion-icon", { color: "primary", name: this.post.PostVisibility == PostVisibility.Public ? "globe-outline" : "eye-outline" }))), h("div", { class: "ion-padding" }, this.renderTemplate()), h("div", { class: "footer" }, this.post.Comments.length > 0 &&
63
- h("div", { class: "comment-overview", slot: "end" }, " ", h("small", { onClick: () => this.post.Comments.length > 0 && this.presentModal(this.post.Comments) }, "Comments (", this.post.Comments.length, ")")), this.post.Comments.map((item) => {
64
- h("ion-item", { class: "comment-box", onClick: () => this.presentModal(this.post.Comments) }, h("ion-avatar", { class: "footer-avatar", slot: "start" }, h("img", { src: item.ProfileImageUrl ? item.ProfileImageUrl : "/assets/img/user.png" })), h("small", null, h("b", null, item.Name), " ", item.Comment), h("ion-icon", { slot: "end", name: "git-merge", color: "primary" }));
65
- }), h("hr", null), h("ion-item", { class: "comment-footer" }, h("ion-avatar", { class: "footer-avatar", slot: "start" }, h("img", { src: getAssetPath("/assets/img/user.png") })), h("ion-input", { value: this.comment, onIonChange: (e) => this.comment = e.target.value, type: "text", placeholder: "Write a comment" }), h("ion-button", { onClick: () => this.onPostComment({ Comment: this.comment, PostId: this.post.Id }), slot: "end", size: "small", disabled: !this.comment || this.loading }, this.loading ? h("ion-spinner", { name: "dots" }) : "POST COMMENT")))));
66
- }
67
- };
68
- SparkleGwwItem.style = sparkleGwwItemCss;
69
-
70
- export { SparkleGwwItem as sparkle_gww_item };
@@ -1,230 +0,0 @@
1
- import { r as registerInstance, h, H as Host, i as getElement, k as getContext } from './index-9db08224.js';
2
- import { M as Menu } from './icons-16f1a80b.js';
3
- import { A as ActiveRouter } from './active-router-9843e205.js';
4
- import { m as matchPath } from './match-path-36fdf5c7.js';
5
-
6
- const menuToggleCss = "sparkle-menu-toggle{background-color:rgba(0, 0, 0, var(--bg-alpha, 0));border-radius:50%;color:var(--text-color--light);cursor:pointer;height:40px;padding:8px;width:40px}@media (hover: hover){sparkle-menu-toggle:focus,sparkle-menu-toggle:hover{--bg-alpha:0.03;outline:none}sparkle-menu-toggle:active{--bg-alpha:0.06}}sparkle-menu-toggle svg{fill:currentColor}";
7
-
8
- const SparkleMenuToggle = class {
9
- constructor(hostRef) {
10
- registerInstance(this, hostRef);
11
- }
12
- hostData() {
13
- return {
14
- 'role': 'button',
15
- 'tabindex': '0',
16
- 'aria-label': 'Toggle Menu',
17
- };
18
- }
19
- __stencil_render() {
20
- return h(Menu, null);
21
- }
22
- render() { return h(Host, this.hostData(), this.__stencil_render()); }
23
- };
24
- SparkleMenuToggle.style = menuToggleCss;
25
-
26
- const navCss = "sparkle-nav{display:block;flex:0 0 auto;z-index:1}sparkle-nav .wrapper{position:relative}sparkle-nav .section-label{margin-bottom:0;font-size:14px;font-weight:600}sparkle-nav .module-list li,sparkle-nav .module-list ul li{list-style-type:none;margin:0;padding:0}sparkle-nav .module-list{margin-top:0;padding:0}sparkle-nav .module-list .section-label:first-of-type{margin-top:0}sparkle-nav .module-list li{font-size:14px;padding:10px 10px 0px 14px}sparkle-nav .module-list>li{margin-top:10px}sparkle-nav .module-list a{font-weight:400;color:#6c6c8b;text-decoration:none;white-space:nowrap;border:0}sparkle-nav .module-list a:not(.link-active){transition:color 0.2s}sparkle-nav .module-list a:hover{border:0}sparkle-nav .module-list .link-active{font-weight:bold;color:var(--ion-color-sparkle)}sparkle-nav .module-list .link-active a{color:var(--ion-color-sparkle)}sparkle-nav .module-list a:hover:not(.link-active){color:var(--ion-color-sparkle)}sparkle-nav .module-list ul li{padding-left:12px;transition:80ms height;display:block;overflow:hidden;text-overflow:ellipsis}sparkle-nav .module-list ul.collapsed li{height:0}sparkle-nav ul.session-list{margin:0;padding:10px 0px 0px 0px}sparkle-nav ul.session-list li a{display:flex;flex-direction:column;padding:15px 24px;position:relative}sparkle-nav ul.session-list li a:before{content:'';width:10px;height:10px;border-radius:50%;background:#dfe1e3;display:block;position:absolute;left:1px;top:50%;margin-top:-5px;z-index:5}sparkle-nav ul.session-list li a:after{content:'';background:#dfe1e3;height:100%;position:absolute;width:2px;display:block;left:5px;top:0}sparkle-nav ul.session-list li a.is-active{color:var(--ion-color-sparkle)}sparkle-nav ul.session-list li a.is-active:before{width:14px;height:14px;left:23px;margin-top:-7px;background:var(--ion-color-sparkle);box-shadow:0 0 4px var(--ion-color-sparkle)}sparkle-nav ul.session-list li a.is-active:after{background:#dfe1e3}sparkle-nav ul.session-list li stencil-route-link.is-completed a{}sparkle-nav ul.session-list li stencil-route-link.is-completed a:before{background:var(--ion-color-sparkle)}sparkle-nav ul.session-list li stencil-route-link.is-completed a:after{background:var(--ion-color-sparkle)}sparkle-nav ul.session-list li a p{color:#fff;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:.2s ease-in-out color}sparkle-nav ul.session-list li a span{display:block;line-height:12px}sparkle-nav ul li span.coming-soon{font-size:0.7rem;display:block;background:0 0;color:#f6c95b;line-height:14px;border-radius:4px;padding:1px 4px 0;box-shadow:none;border:1px solid #f6c95b;width:85px;text-align:center}sparkle-nav ul.session-list li a:hover p{color:var(--ion-color-sparkle)}sparkle-nav ul.session-list li:first-child a:after{height:50%;top:50%}sparkle-nav ul.session-list li:last-child a:after{height:50%;bottom:50%}";
27
-
28
- const SparkleNav = class {
29
- constructor(hostRef) {
30
- registerInstance(this, hostRef);
31
- //TODO: get this config somewhere from the config initialization
32
- this.config = {
33
- showRomanNumber: false,
34
- showModuleIndex: true,
35
- showSessionIndex: true,
36
- };
37
- this.toggleParent = (parentItem) => {
38
- return (e) => {
39
- e.preventDefault();
40
- this.selectedParent = parentItem;
41
- };
42
- };
43
- }
44
- componentDidLoad() { }
45
- //TODO: not working
46
- pageDidLoadHandler($event) {
47
- if ($event) {
48
- //let pageInfo = $event.detail.pageInfo;
49
- let splittedParts = window.location.pathname.split('/').filter(x => !!x && x != 'course');
50
- this.moduleURLName = splittedParts[0];
51
- this.sessionURLName = splittedParts[1];
52
- if (this.toc) {
53
- let courseModule = this.toc.courseModules.find(x => x.urlName == this.moduleURLName);
54
- this.selectedParent = courseModule;
55
- }
56
- }
57
- }
58
- toggleLeftSidebar() { }
59
- romanize(num) {
60
- if (isNaN(num))
61
- return NaN;
62
- var digits = String(+num).split(''), key = [
63
- '',
64
- 'C',
65
- 'CC',
66
- 'CCC',
67
- 'CD',
68
- 'D',
69
- 'DC',
70
- 'DCC',
71
- 'DCCC',
72
- 'CM',
73
- '',
74
- 'X',
75
- 'XX',
76
- 'XXX',
77
- 'XL',
78
- 'L',
79
- 'LX',
80
- 'LXX',
81
- 'LXXX',
82
- 'XC',
83
- '',
84
- 'I',
85
- 'II',
86
- 'III',
87
- 'IV',
88
- 'V',
89
- 'VI',
90
- 'VII',
91
- 'VIII',
92
- 'IX',
93
- ], roman = '', i = 3;
94
- while (i--)
95
- roman = (key[+digits.pop() + i * 10] || '') + roman;
96
- return Array(+digits.join('') + 1).join('M') + roman;
97
- }
98
- getModuleIndex(index, preventNumbering) {
99
- return this.config.showModuleIndex && !preventNumbering ? (this.config.showRomanNumber ? this.romanize(index) : index) + '. ' : '';
100
- }
101
- getSessionIndex(index, preventNumbering) {
102
- return this.config.showSessionIndex && !preventNumbering ? (this.config.showRomanNumber ? this.romanize(index) : index) + '. ' : '';
103
- }
104
- hostData() {
105
- return {
106
- role: 'navigation',
107
- };
108
- }
109
- __stencil_render() {
110
- let moduleIndex = 0;
111
- let sessionIndex = 0;
112
- return (h("ul", { class: "module-list" }, this.toc &&
113
- this.toc.courseModules.map(module => {
114
- sessionIndex = 0;
115
- if (!module.preventNumbering) {
116
- moduleIndex++;
117
- }
118
- return (module.sessions.length > 0 && (h("li", null, h("a", { class: { 'link-active': module.urlName == this.moduleURLName }, href: module.sessions[0].urlName || '#', onClick: this.toggleParent(module) }, h("span", { class: "section-label" }, this.getModuleIndex(moduleIndex, module.preventNumbering), module.name, module.comingSoon && h("span", { class: "coming-soon" }, " Coming soon"))), h("ul", { class: { 'collapsed': this.selectedParent ? module !== this.selectedParent : moduleIndex !== 0, 'session-list': true } }, module.sessions.map(session => {
119
- if (!session.preventNumbering) {
120
- sessionIndex++;
121
- }
122
- return (h("li", { class: {
123
- 'active': module.urlName == this.moduleURLName && session.urlName == this.sessionURLName,
124
- } }, h("stencil-route-link", { class: {
125
- 'is-completed': true,
126
- 'link-active': module.urlName == this.moduleURLName && session.urlName == this.sessionURLName,
127
- }, url: 'course/' + module.urlName + '/' + session.urlName + '/' + session.pages[0].urlName, onClick: () => this.toggleLeftSidebar() }, this.getSessionIndex(sessionIndex, session.preventNumbering), session.name, session.comingSoon && h("span", { class: "coming-soon" }, " Coming soon"))));
128
- })))));
129
- })));
130
- }
131
- get el() { return getElement(this); }
132
- render() { return h(Host, this.hostData(), this.__stencil_render()); }
133
- };
134
- SparkleNav.style = navCss;
135
-
136
- const getUniqueId = () => {
137
- return ((Math.random() * 10e16).toString().match(/.{4}/g) || []).join('-');
138
- };
139
- const getMatch = (pathname, url, exact) => {
140
- return matchPath(pathname, {
141
- path: url,
142
- exact: exact,
143
- strict: true
144
- });
145
- };
146
- const isHTMLStencilRouteElement = (elm) => {
147
- return elm.tagName === 'STENCIL-ROUTE';
148
- };
149
- const RouteSwitch = class {
150
- constructor(hostRef) {
151
- registerInstance(this, hostRef);
152
- this.group = getUniqueId();
153
- this.subscribers = [];
154
- this.queue = getContext(this, "queue");
155
- }
156
- componentWillLoad() {
157
- if (this.location != null) {
158
- this.regenerateSubscribers(this.location);
159
- }
160
- }
161
- async regenerateSubscribers(newLocation) {
162
- if (newLocation == null) {
163
- return;
164
- }
165
- let newActiveIndex = -1;
166
- this.subscribers = Array.prototype.slice.call(this.el.children)
167
- .filter(isHTMLStencilRouteElement)
168
- .map((childElement, index) => {
169
- const match = getMatch(newLocation.pathname, childElement.url, childElement.exact);
170
- if (match && newActiveIndex === -1) {
171
- newActiveIndex = index;
172
- }
173
- return {
174
- el: childElement,
175
- match: match
176
- };
177
- });
178
- if (newActiveIndex === -1) {
179
- return;
180
- }
181
- // Check if this actually changes which child is active
182
- // then just pass the new match down if the active route isn't changing.
183
- if (this.activeIndex === newActiveIndex) {
184
- this.subscribers[newActiveIndex].el.match = this.subscribers[newActiveIndex].match;
185
- return;
186
- }
187
- this.activeIndex = newActiveIndex;
188
- // Set all props on the new active route then wait until it says that it
189
- // is completed
190
- const activeChild = this.subscribers[this.activeIndex];
191
- if (this.scrollTopOffset) {
192
- activeChild.el.scrollTopOffset = this.scrollTopOffset;
193
- }
194
- activeChild.el.group = this.group;
195
- activeChild.el.match = activeChild.match;
196
- activeChild.el.componentUpdated = (routeViewUpdatedOptions) => {
197
- // After the new active route has completed then update visibility of routes
198
- this.queue.write(() => {
199
- this.subscribers.forEach((child, index) => {
200
- child.el.componentUpdated = undefined;
201
- if (index === this.activeIndex) {
202
- return child.el.style.display = '';
203
- }
204
- if (this.scrollTopOffset) {
205
- child.el.scrollTopOffset = this.scrollTopOffset;
206
- }
207
- child.el.group = this.group;
208
- child.el.match = null;
209
- child.el.style.display = 'none';
210
- });
211
- });
212
- if (this.routeViewsUpdated) {
213
- this.routeViewsUpdated(Object.assign({ scrollTopOffset: this.scrollTopOffset }, routeViewUpdatedOptions));
214
- }
215
- };
216
- }
217
- render() {
218
- return (h("slot", null));
219
- }
220
- get el() { return getElement(this); }
221
- static get watchers() { return {
222
- "location": ["regenerateSubscribers"]
223
- }; }
224
- };
225
- ActiveRouter.injectProps(RouteSwitch, [
226
- 'location',
227
- 'routeViewsUpdated'
228
- ]);
229
-
230
- export { SparkleMenuToggle as sparkle_menu_toggle, SparkleNav as sparkle_nav, RouteSwitch as stencil_route_switch };
@@ -1,17 +0,0 @@
1
- import { r as registerInstance, h, H as Host } from './index-9db08224.js';
2
-
3
- const sparkleValidationErrorCss = ":host{display:block}sparkle-validation-error ul{padding:10px 0px}sparkle-validation-error .alert-danger{margin-top:10px;font-size:12px}";
4
-
5
- const SparkleValidationError = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- this.errors = [];
9
- }
10
- render() {
11
- return (h(Host, null, this.errors.length > 0 &&
12
- h("div", { class: "alert alert-danger", role: "alert" }, h("ul", null, this.errors.map(error => h("li", null, h("b", null, error.Field, ": "), error.Message))))));
13
- }
14
- };
15
- SparkleValidationError.style = sparkleValidationErrorCss;
16
-
17
- export { SparkleValidationError as sparkle_validation_error };
@@ -1,73 +0,0 @@
1
- import { r as registerInstance, h, i as getElement } from './index-9db08224.js';
2
- import { m as matchPath } from './match-path-36fdf5c7.js';
3
- import { d as isModifiedEvent } from './dom-utils-8e73e88b.js';
4
- import { A as ActiveRouter } from './active-router-9843e205.js';
5
-
6
- const getUrl = (url, root) => {
7
- // Don't allow double slashes
8
- if (url.charAt(0) == '/' && root.charAt(root.length - 1) == '/') {
9
- return root.slice(0, root.length - 1) + url;
10
- }
11
- return root + url;
12
- };
13
- const RouteLink = class {
14
- constructor(hostRef) {
15
- registerInstance(this, hostRef);
16
- this.unsubscribe = () => { return; };
17
- this.activeClass = 'link-active';
18
- this.exact = false;
19
- this.strict = true;
20
- /**
21
- * Custom tag to use instead of an anchor
22
- */
23
- this.custom = 'a';
24
- this.match = null;
25
- }
26
- componentWillLoad() {
27
- this.computeMatch();
28
- }
29
- // Identify if the current route is a match.
30
- computeMatch() {
31
- if (this.location) {
32
- this.match = matchPath(this.location.pathname, {
33
- path: this.urlMatch || this.url,
34
- exact: this.exact,
35
- strict: this.strict
36
- });
37
- }
38
- }
39
- handleClick(e) {
40
- if (isModifiedEvent(e) || !this.history || !this.url || !this.root) {
41
- return;
42
- }
43
- e.preventDefault();
44
- return this.history.push(getUrl(this.url, this.root));
45
- }
46
- // Get the URL for this route link without the root from the router
47
- render() {
48
- let anchorAttributes = {
49
- class: {
50
- [this.activeClass]: this.match !== null,
51
- },
52
- onClick: this.handleClick.bind(this)
53
- };
54
- if (this.anchorClass) {
55
- anchorAttributes.class[this.anchorClass] = true;
56
- }
57
- if (this.custom === 'a') {
58
- anchorAttributes = Object.assign({}, anchorAttributes, { href: this.url, title: this.anchorTitle, role: this.anchorRole, tabindex: this.anchorTabIndex, 'aria-haspopup': this.ariaHaspopup, id: this.anchorId, 'aria-posinset': this.ariaPosinset, 'aria-setsize': this.ariaSetsize, 'aria-label': this.ariaLabel });
59
- }
60
- return (h(this.custom, Object.assign({}, anchorAttributes), h("slot", null)));
61
- }
62
- get el() { return getElement(this); }
63
- static get watchers() { return {
64
- "location": ["computeMatch"]
65
- }; }
66
- };
67
- ActiveRouter.injectProps(RouteLink, [
68
- 'history',
69
- 'location',
70
- 'root'
71
- ]);
72
-
73
- export { RouteLink as stencil_route_link };
@@ -1,28 +0,0 @@
1
- import { r as registerInstance, i as getElement } from './index-9db08224.js';
2
- import { A as ActiveRouter } from './active-router-9843e205.js';
3
-
4
- // Get the URL for this route link without the root from the router
5
- const getUrl = (url, root) => {
6
- // Don't allow double slashes
7
- if (url.charAt(0) == '/' && root.charAt(root.length - 1) == '/') {
8
- return root.slice(0, root.length - 1) + url;
9
- }
10
- return root + url;
11
- };
12
- const Redirect = class {
13
- constructor(hostRef) {
14
- registerInstance(this, hostRef);
15
- }
16
- componentWillLoad() {
17
- if (this.history && this.root && this.url) {
18
- return this.history.replace(getUrl(this.url, this.root));
19
- }
20
- }
21
- get el() { return getElement(this); }
22
- };
23
- ActiveRouter.injectProps(Redirect, [
24
- 'history',
25
- 'root'
26
- ]);
27
-
28
- export { Redirect as stencil_router_redirect };
@@ -1,19 +0,0 @@
1
- import { c as createStore } from './auth.store-b812b34b.js';
2
-
3
- const { state, onChange, reset } = createStore({
4
- user: {
5
- FirstName: '',
6
- LastName: '',
7
- ProfileText: '',
8
- ProfileImage: '',
9
- IsVerified: false,
10
- Roles: [],
11
- FacilitatorClassList: []
12
- },
13
- loaded: false,
14
- updateLoading: false,
15
- enrollmentList: [],
16
- });
17
- const userStore = { state, onChange, reset };
18
-
19
- export { userStore as u };
@@ -1 +0,0 @@
1
- import{r as s,h as t,H as i}from"./p-6a5ace01.js";import{g as o}from"./p-01743e3e.js";import{m as e}from"./p-1394cbb8.js";import{u as a}from"./p-280e938d.js";import"./p-add30d46.js";import"./p-27075abe.js";import"./p-308517b3.js";const n=class{constructor(t){s(this,t),this.visible=!1,this.autoHide=!0,this.onClick=()=>e.toggle(this.menu)}connectedCallback(){this.visibilityChanged()}async visibilityChanged(){this.visible=await a(this.menu)}render(){const s=o(this),e=this.autoHide&&!this.visible;return t(i,{onClick:this.onClick,"aria-hidden":e?"true":null,class:{[s]:!0,"menu-toggle-hidden":e}},t("slot",null))}};n.style=":host(.menu-toggle-hidden){display:none}";export{n as ion_menu_toggle}
@@ -1 +0,0 @@
1
- import{r as t,h as a,H as o,i as r}from"./p-6a5ace01.js";import{g as e}from"./p-01743e3e.js";const i=class{constructor(a){t(this,a),this.edge=!1,this.activated=!1}activatedChanged(){const t=this.activated,a=this.getFab();a&&(a.activated=t),Array.from(this.el.querySelectorAll("ion-fab-list")).forEach((a=>{a.activated=t}))}componentDidLoad(){this.activated&&this.activatedChanged()}async close(){this.activated=!1}getFab(){return this.el.querySelector("ion-fab-button")}async toggle(){this.el.querySelector("ion-fab-list")&&(this.activated=!this.activated)}render(){const{horizontal:t,vertical:r,edge:i}=this,s=e(this);return a(o,{class:{[s]:!0,[`fab-horizontal-${t}`]:void 0!==t,[`fab-vertical-${r}`]:void 0!==r,"fab-edge":i}},a("slot",null))}get el(){return r(this)}static get watchers(){return{activated:["activatedChanged"]}}};i.style=":host{position:absolute;z-index:999}:host(.fab-horizontal-center){left:50%;margin-left:-28px}:host-context([dir=rtl]):host(.fab-horizontal-center),:host-context([dir=rtl]).fab-horizontal-center{left:unset;right:unset;right:50%}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host(.fab-horizontal-center){margin-left:unset;-webkit-margin-start:-28px;margin-inline-start:-28px}}:host(.fab-horizontal-start){left:calc(10px + var(--ion-safe-area-left, 0px))}:host-context([dir=rtl]):host(.fab-horizontal-start),:host-context([dir=rtl]).fab-horizontal-start{left:unset;right:unset;right:calc(10px + var(--ion-safe-area-left, 0px))}:host(.fab-horizontal-end){right:calc(10px + var(--ion-safe-area-right, 0px))}:host-context([dir=rtl]):host(.fab-horizontal-end),:host-context([dir=rtl]).fab-horizontal-end{left:unset;right:unset;left:calc(10px + var(--ion-safe-area-right, 0px))}:host(.fab-vertical-top){top:10px}:host(.fab-vertical-top.fab-edge){top:-28px}:host(.fab-vertical-bottom){bottom:10px}:host(.fab-vertical-bottom.fab-edge){bottom:-28px}:host(.fab-vertical-center){margin-top:-28px;top:50%}";export{i as ion_fab}
@@ -1 +0,0 @@
1
- import{r,h as s,H as a}from"./p-6a5ace01.js";const e=class{constructor(s){r(this,s)}render(){return s(a,null,s("div",{class:"progress-container"},s("div",{id:"progress-bar",style:{"--p":this.percentage+"%"}}),s("strong",{class:"percentage"},this.percentage,"%")))}};e.style=":host{display:block}.progress-container{padding:4px;display:flex;align-items:center}.progress-container>.progress{padding-left:6px}#progress-bar{background:#ccc;border-radius:12px;height:10px;width:100%;padding:0px;margin:0 auto}#progress-bar:after{content:'';display:block;background:var(--ion-color-primary);width:var(--p);height:100%;border-radius:9px}.percentage{padding-left:10px}";export{e as sparkle_goal_progress}
@@ -1 +0,0 @@
1
- import{r as t,h as o,H as n,i}from"./p-6a5ace01.js";import{m as e,k as r}from"./p-a05871e6.js";import{g as a,c as d}from"./p-01743e3e.js";import{i as s}from"./p-27075abe.js";import{m as c}from"./p-1394cbb8.js";import{c as l,h as p}from"./p-0e4de1d0.js";import{u as h}from"./p-280e938d.js";import"./p-add30d46.js";import"./p-308517b3.js";const g=class{constructor(o){t(this,o),this.inheritedAttributes={},this.visible=!1,this.disabled=!1,this.autoHide=!0,this.type="button",this.onClick=async()=>c.toggle(this.menu)}componentWillLoad(){this.inheritedAttributes=s(this.el)}componentDidLoad(){this.visibilityChanged()}async visibilityChanged(){this.visible=await h(this.menu)}render(){const{color:t,disabled:i,inheritedAttributes:s}=this,c=a(this),h=d.get("menuIcon","ios"===c?e:r),g=this.autoHide&&!this.visible,u={type:this.type},b=s["aria-label"]||"menu";return o(n,{onClick:this.onClick,"aria-disabled":i?"true":null,"aria-hidden":g?"true":null,class:l(t,{[c]:!0,button:!0,"menu-button-hidden":g,"menu-button-disabled":i,"in-toolbar":p("ion-toolbar",this.el),"in-toolbar-color":p("ion-toolbar[color]",this.el),"ion-activatable":!0,"ion-focusable":!0})},o("button",Object.assign({},u,{disabled:i,class:"button-native",part:"native","aria-label":b}),o("span",{class:"button-inner"},o("slot",null,o("ion-icon",{part:"icon",icon:h,mode:c,lazy:!1,"aria-hidden":"true"}))),"md"===c&&o("ion-ripple-effect",{type:"unbounded"})))}get el(){return i(this)}};g.style={ios:':host{--background:transparent;--color-focused:currentColor;--border-radius:initial;--padding-top:0;--padding-bottom:0;color:var(--color);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;font-kerning:none}.button-native{border-radius:var(--border-radius);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;flex-flow:row nowrap;flex-shrink:0;align-items:center;justify-content:center;width:100%;height:100%;border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;overflow:hidden;user-select:none;z-index:0;appearance:none}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.button-native{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.button-inner{display:flex;position:relative;flex-flow:row nowrap;flex-shrink:0;align-items:center;justify-content:center;width:100%;height:100%;z-index:1}ion-icon{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;pointer-events:none}:host(.menu-button-hidden){display:none}:host(.menu-button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity, 0)}}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--background-focused:currentColor;--background-focused-opacity:.1;--border-radius:4px;--color:var(--ion-color-primary, #3880ff);--padding-start:5px;--padding-end:5px;height:32px;font-size:31px}:host(.ion-activated){opacity:0.4}@media (any-hover: hover){:host(:hover){opacity:0.6}}',md:':host{--background:transparent;--color-focused:currentColor;--border-radius:initial;--padding-top:0;--padding-bottom:0;color:var(--color);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;font-kerning:none}.button-native{border-radius:var(--border-radius);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;flex-flow:row nowrap;flex-shrink:0;align-items:center;justify-content:center;width:100%;height:100%;border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;overflow:hidden;user-select:none;z-index:0;appearance:none}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.button-native{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.button-inner{display:flex;position:relative;flex-flow:row nowrap;flex-shrink:0;align-items:center;justify-content:center;width:100%;height:100%;z-index:1}ion-icon{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;pointer-events:none}:host(.menu-button-hidden){display:none}:host(.menu-button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity, 0)}}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--background-focused:currentColor;--background-focused-opacity:.12;--background-hover:currentColor;--background-hover-opacity:.04;--border-radius:50%;--color:initial;--padding-start:8px;--padding-end:8px;width:48px;height:48px;font-size:24px}:host(.ion-color.ion-focused)::after{background:var(--ion-color-base)}@media (any-hover: hover){:host(.ion-color:hover) .button-native::after{background:var(--ion-color-base)}}'};export{g as ion_menu_button}
@@ -1 +0,0 @@
1
- import{r as t,e as a,h as s,H as i,i as e}from"./p-6a5ace01.js";const r=class{constructor(s){t(this,s),this.shown=a(this,"shown",7),this.hidden=a(this,"hidden",7),this.theme="dark",this.preventClose=!1,this.focusIndex=0,this.isShowing=!1}async show(){this.$focusedElBeforeOpen=document.activeElement,this.$focusedElBeforeOpen&&this.$focusedElBeforeOpen.setAttribute("aria-expanded","true"),this.isShowing=!0,this.$focusableEls.length>0?setTimeout((()=>this.$focusableEls[0].focus()),100):setTimeout((()=>this.$content.focus()),100),this.shown.emit()}async hide(){this.isShowing=!1,this.focusIndex=0,this.$focusedElBeforeOpen&&(this.$focusedElBeforeOpen.setAttribute("aria-expanded","false"),this.$focusedElBeforeOpen.focus()),this.hidden.emit()}handleKeyDown(t){switch(t.keyCode){case 9:this.handleTab(t);break;case 27:this.handleEsc()}}handleEsc(){this.preventClose||this.hide()}handleTab(t){t.preventDefault(),t.shiftKey?this.handleBackwardTab():this.handleForwardTab()}handleBackwardTab(){this.focusIndex=0===this.focusIndex?this.$focusableEls.length-1:--this.focusIndex,this.$focusableEls[this.focusIndex].focus()}handleForwardTab(){this.focusIndex=this.$focusableEls.length-1===this.focusIndex?0:++this.focusIndex,this.$focusableEls[this.focusIndex].focus()}handleScrimClick(){this.preventClose||this.hide()}componentDidLoad(){this.$focusableEls=Array.from(this.$el.querySelectorAll('a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [tabindex="0"]'))}render(){return s(i,{class:{"sparkle-overlay":!0,[this.theme]:!0,absolute:this.absolute,opened:this.isShowing}},s("div",{class:"scrim",onClick:()=>this.handleScrimClick()}),s("div",{class:"content",role:"dialog","aria-labelledby":this.titleId,tabindex:"-1",ref:t=>this.$content=t},s("slot",null)))}get $el(){return e(this)}};r.style="sparkle-overlay{--sparkle-z-index-xl:500;--sparkle-transition-fast:0.3s;--sparkle-color-light-base:197, 209, 218;--sparkle-shadow-xl:0 20px 40px rgba(0, 0, 0, 0.2)}.sparkle-overlay{-ms-flex-align:center;align-items:center;display:flex;visibility:hidden;-ms-flex-pack:center;justify-content:center;position:fixed;top:0;left:0;right:0;bottom:0;pointer-events:auto;-ms-touch-action:none;touch-action:none;opacity:0;z-index:var(--sparkle-z-index-xl)}.sparkle-overlay,.sparkle-overlay.opened{-webkit-transition:all var(--sparkle-transition-fast) ease-in-out;transition:all var(--sparkle-transition-fast) ease-in-out}.sparkle-overlay.opened{visibility:visible;opacity:1}.sparkle-overlay.opened .content{-webkit-transition:all var(--sparkle-transition-fast) ease-in-out;transition:all var(--sparkle-transition-fast) ease-in-out}.sparkle-overlay.light{background-color:rgba(var(--sparkle-color-light-base), 0.6)}.sparkle-overlay.dark{background-color:rgba(var(--sparkle-color-dark-base), 0.6)}.sparkle-overlay.absolute{position:absolute}.sparkle-overlay .scrim{border-radius:inherit;height:100%;position:absolute;top:0;bottom:0;left:0;right:0;-webkit-transition:inherit;transition:inherit;width:100%;will-change:opacity}.sparkle-overlay .content{position:relative;outline:none;-webkit-box-shadow:var(--sparkle-shadow-xl);box-shadow:var(--sparkle-shadow-xl);-webkit-transition:all var(--sparkle-transition-fast) ease-in-out;transition:all var(--sparkle-transition-fast) ease-in-out}";export{r as sparkle_overlay}
@@ -1,4 +0,0 @@
1
- import{r as i,h as r,i as s,H as t}from"./p-6a5ace01.js";
2
- /*!
3
- * (C) Ionic http://ionicframework.com - MIT License
4
- */const n=class{constructor(r){i(this,r),this.routerDirection="forward",this.onClick=()=>((i,r,s,t,n)=>{const e=this.el.closest("ion-nav");if(e)if("forward"===r){if(void 0!==s)return e.push(s,t,{skipIfBusy:!0,animationBuilder:n})}else if("root"===r){if(void 0!==s)return e.setRoot(s,t,{skipIfBusy:!0,animationBuilder:n})}else if("back"===r)return e.pop({skipIfBusy:!0,animationBuilder:n});return Promise.resolve(!1)})(0,this.routerDirection,this.component,this.componentProps,this.routerAnimation)}render(){return r(t,{onClick:this.onClick})}get el(){return s(this)}};export{n as ion_nav_link}