@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,11 +1,11 @@
1
- import { h, r as registerInstance, H as Host, i as getElement } from './index-9db08224.js';
2
- import { t as toastController } from './overlays-dfa730c8.js';
3
- import { F as FacilitatorService, f as facilitatorStore } from './facilitator.service-7babc526.js';
4
- import './ionic-global-293e882b.js';
1
+ import { h, r as registerInstance, H as Host, e as getElement } from './index-c04b9ed5.js';
2
+ import { t as toastController } from './overlays-3b4dca92.js';
3
+ import { F as FacilitatorService, f as facilitatorStore } from './facilitator.service-b0292f7f.js';
4
+ import './ionic-global-4903e23e.js';
5
5
  import './hardware-back-button-fa04d6e9.js';
6
- import './helpers-94a5855b.js';
7
- import './httpService-b2b7a1ad.js';
8
- import './auth.store-b812b34b.js';
6
+ import './helpers-bf0e23d6.js';
7
+ import './httpService-7b75b095.js';
8
+ import './auth.store-dba2c2da.js';
9
9
  import './environment-config.service-2b5d692b.js';
10
10
 
11
11
  const LoadingSpinner = () => (h("div", { class: "spinner-border", role: "status" }));
@@ -0,0 +1,116 @@
1
+ import { r as registerInstance, h, e as getElement } from './index-c04b9ed5.js';
2
+ import { E as EnvironmentConfigService } from './environment-config.service-2b5d692b.js';
3
+ import './auth.store-dba2c2da.js';
4
+
5
+ const sparkleFeedPostCss = ":host{display:block}.post-footer{display:flex;justify-content:space-between}.error{color:red}.success{color:green}.uploaded-image{display:block;max-height:140px;width:auto !important}";
6
+
7
+ const SparkleFeedPost = class {
8
+ constructor(hostRef) {
9
+ registerInstance(this, hostRef);
10
+ }
11
+ // @Prop({ connect: 'ion-toast-controller' })
12
+ // toastCtrl: HTMLIonToastControllerElement;
13
+ componentDidLoad() {
14
+ this.postText = this.textValue;
15
+ }
16
+ setText(text) {
17
+ this.postText = text;
18
+ }
19
+ // async postToFeed() {
20
+ // const sparkleConfig: EnvironmentSparkleConfig = EnvironmentConfigService.getInstance().get('sparkle');
21
+ // const tocData = await AssetsService.getInstance().loadJsonFile<ICourse>(sparkleConfig.tocPath);
22
+ // var model = {
23
+ // CourseId: tocData.id,
24
+ // MiniAppId: SparkleGlobal.MY_GOALS_APP_ID,
25
+ // PostText: MyGoalTemplate(this.name.value, this.goalUpdateText.value, this.progress),
26
+ // PostTextJSON: MyGoalTemplateJSON(this.name.value, this.goalUpdateText.value, this.progress),
27
+ // IsPublic: this.public,
28
+ // ExternalResourceUrl: "",
29
+ // }
30
+ // const result = await FeedService.getInstance().createPost(model);
31
+ // if (result.Succeeded) {
32
+ // //show success toast
33
+ // }
34
+ // }
35
+ isAuthenticated() {
36
+ try {
37
+ var sparkleConfig = EnvironmentConfigService.getInstance().get('sparkle');
38
+ if (!!sparkleConfig && !!sparkleConfig.auth && !!sparkleConfig.auth.getToken()) {
39
+ return true;
40
+ }
41
+ }
42
+ catch (_a) {
43
+ return false;
44
+ }
45
+ }
46
+ submitPost() {
47
+ this.errorMessage = '';
48
+ this.successMessage = '';
49
+ //let formData = new FormData(this.el.querySelector("form")) as any;
50
+ //var postText = this.el.getElementsByClassName("PostText")[0] as HTMLInputElement;
51
+ this.el.getElementsByClassName('PostExternalUrl')[0];
52
+ this.el.getElementsByClassName('IsPublic')[0];
53
+ // this.dataSvc.saveData(data, '/api/class/feed').subscribe(
54
+ // x => {
55
+ // this.successMessage = 'Posted Successfully.';
56
+ // // this.presentToast('Success');
57
+ // },
58
+ // error => {
59
+ // this.errorMessage = 'There is an error while posting.';
60
+ // // this.presentToast('There is an error');
61
+ // },
62
+ // );
63
+ //TODO can we return data from the dataSvc so we know if it's successful and can update the form? (Perhaps replace it with the post itself?)
64
+ // if (this.assignmentName) {
65
+ // data.AssignmentData = JSON.stringify({ text: data.PostText, url: data.ExternalResourceUrl });
66
+ // this.dataSvc.saveData(data, '/api/student/assignment-response').subscribe(
67
+ // x => {
68
+ // this.successMessage = 'Posted Successfully.';
69
+ // // this.presentToast('Success');
70
+ // },
71
+ // error => {
72
+ // this.errorMessage = 'There is an error while posting.';
73
+ // // this.presentToast('There is an error');
74
+ // },
75
+ // );
76
+ // }
77
+ }
78
+ uploadImage(evt) {
79
+ // this.uploadImageLoading = true;
80
+ // var files = evt.target.files;
81
+ // this.dataSvc.uploadImage(files, '/api/mediaitems/upload').subscribe(
82
+ // x => {
83
+ // this.uploadImageLoading = false;
84
+ // this.uploadedImage = x.length > 0 ? x[0].FullImageUrl : '';
85
+ // this.externalResourceUrl = x.length > 0 ? x[0].FullImageUrl : '';
86
+ // //this.successMessage = 'Posted Successfully.'
87
+ // // this.presentToast('Success');
88
+ // },
89
+ // error => {
90
+ // this.uploadImageLoading = false;
91
+ // this.errorMessage = 'There is an error while uploading an image.';
92
+ // },
93
+ // );
94
+ }
95
+ selectFile() {
96
+ var fileInput = document.getElementById('fileInput');
97
+ fileInput.click();
98
+ }
99
+ renderUserInfo() {
100
+ var tokenInfo = { Token: null, ProfileImageUrl: null };
101
+ if (tokenInfo != null && tokenInfo.Token) {
102
+ return (h("ion-avatar", { class: "header-avatar", slot: "end" }, h("img", { src: "/assets/img/avatar.png" })));
103
+ }
104
+ else {
105
+ return (h("ion-button", { slot: "end", href: "/login" }, "Login to Post"));
106
+ }
107
+ }
108
+ render() {
109
+ const userInfo = this.renderUserInfo();
110
+ return (h("ion-card", null, h("ion-item", { class: "header" }, h("ion-card-title", null, "Bulletin Board"), userInfo), h("ion-card-content", null, h("form", null, h("ion-list", null, h("ion-item", { lines: "none" }, h("ion-label", null, "Public"), h("ion-toggle", { class: "IsPublic", slot: "end", color: "primary", name: "IsPublic" })), h("ion-item", { class: "padding" }, h("ion-textarea", { class: "PostText", required: true, placeholder: "Post Text", name: "PostText", value: this.postText })), h("ion-item", { class: "padding" }, h("ion-input", { class: "PostExternalUrl", required: true, type: "text", placeholder: "URL", name: "ExternalResourceUrl", value: this.externalResourceUrl })), this.uploadedImage ? (h("ion-item", { class: "padding" }, h("img", { class: "uploaded-image", src: this.uploadedImage }))) : (''), h("ion-item", { lines: "none" }, h("input", { type: "file", id: "fileInput", onChange: evt => this.uploadImage(evt), style: { display: 'none' }, accept: "image/*" }), this.uploadImageLoading ? h("ion-spinner", { color: "primary" }) : '', h("ion-button", { slot: "start", onClick: evt => this.selectFile() }, h("ion-icon", { name: "add" }), "Upload Image")), h("ion-item", { class: "post-footer", lines: "none" }, h("div", null, h("div", { class: "error" }, this.errorMessage), h("div", { class: "success" }, this.successMessage)), h("ion-button", { slot: "end", size: "default", onClick: evt => this.submitPost(), disabled: !this.isAuthenticated() }, "Post")))))));
111
+ }
112
+ get el() { return getElement(this); }
113
+ };
114
+ SparkleFeedPost.style = sparkleFeedPostCss;
115
+
116
+ export { SparkleFeedPost as sparkle_feed_post };
@@ -1,13 +1,12 @@
1
- import { r as registerInstance, h, H as Host, i as getElement } from './index-9db08224.js';
2
- import { S as StudentService } from './student.service-0caed0f4.js';
3
- import { t as toastController } from './overlays-dfa730c8.js';
4
- import './httpService-b2b7a1ad.js';
5
- import './auth.store-b812b34b.js';
1
+ import { r as registerInstance, h, H as Host, e as getElement } from './index-c04b9ed5.js';
2
+ import { S as StudentService } from './student.service-0746418b.js';
3
+ import { t as toastController } from './overlays-3b4dca92.js';
4
+ import './httpService-7b75b095.js';
5
+ import './auth.store-dba2c2da.js';
6
6
  import './environment-config.service-2b5d692b.js';
7
- import './user.store-8477642a.js';
8
- import './ionic-global-293e882b.js';
7
+ import './ionic-global-4903e23e.js';
9
8
  import './hardware-back-button-fa04d6e9.js';
10
- import './helpers-94a5855b.js';
9
+ import './helpers-bf0e23d6.js';
11
10
 
12
11
  const sparkleFeedbackCss = ":host{display:block}";
13
12
 
@@ -1,14 +1,14 @@
1
- import { r as registerInstance, h, i as getElement } from './index-9db08224.js';
2
- import { S as SparkleGlobal, G as GetGoalAppData, M as MyGoalTemplate, a as MyGoalTemplateJSON } from './util-a831d09d.js';
1
+ import { r as registerInstance, h, e as getElement } from './index-c04b9ed5.js';
2
+ import { S as SparkleGlobal, G as GetGoalAppData, e as MyGoalTemplate, f as MyGoalTemplateJSON } from './util-6ef753e9.js';
3
3
  import { E as EnvironmentConfigService } from './environment-config.service-2b5d692b.js';
4
4
  import { A as AssetsService } from './assets.service-66e848b8.js';
5
- import { A as AppDataService, F as FeedService, g as goalStore, f as feedStore } from './feed.service-80fbe79d.js';
6
- import './httpService-b2b7a1ad.js';
7
- import './auth.store-b812b34b.js';
8
- import './overlays-dfa730c8.js';
9
- import './ionic-global-293e882b.js';
5
+ import { A as AppDataService, F as FeedService, g as goalStore, f as feedStore } from './feed.service-8fbe4ce3.js';
6
+ import './httpService-7b75b095.js';
7
+ import './auth.store-dba2c2da.js';
8
+ import './overlays-3b4dca92.js';
9
+ import './ionic-global-4903e23e.js';
10
10
  import './hardware-back-button-fa04d6e9.js';
11
- import './helpers-94a5855b.js';
11
+ import './helpers-bf0e23d6.js';
12
12
 
13
13
  const sparkleGoalFormCss = ":host{display:block}";
14
14
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, c as getAssetPath, H as Host, i as getElement } from './index-9db08224.js';
1
+ import { r as registerInstance, h, c as getAssetPath, H as Host, e as getElement } from './index-c04b9ed5.js';
2
2
 
3
3
  const sparkleGwwCommentListCss = ":host{display:block}.avatar{width:30px;height:30px}";
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, H as Host } from './index-9db08224.js';
1
+ import { r as registerInstance, h, H as Host } from './index-c04b9ed5.js';
2
2
 
3
3
  const sparkleGwwGraphCss = ":host{display:block}";
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, i as getElement } from './index-9db08224.js';
1
+ import { r as registerInstance, h, e as getElement } from './index-c04b9ed5.js';
2
2
 
3
3
  const sparkleIntroCss = ".people{display:flex}.character-intro{width:100%;padding:15px;border:1px red solid;border-radius:5px}.character-image{opacity:0.5}.character-image:hover{opacity:1}";
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-9db08224.js';
1
+ import { r as registerInstance, h } from './index-c04b9ed5.js';
2
2
 
3
3
  const sparkleLowerContentNavCss = "lower-content-nav{display:flex;justify-content:space-between}lower-content-nav>stencil-route-link{display:inline-block}";
4
4
 
@@ -1,5 +1,5 @@
1
- import { r as registerInstance, h, i as getElement, H as Host } from './index-9db08224.js';
2
- import { D as DownArrow } from './icons-16f1a80b.js';
1
+ import { r as registerInstance, h, e as getElement, H as Host } from './index-c04b9ed5.js';
2
+ import { D as DownArrow } from './icons-9b62a1ec.js';
3
3
 
4
4
  const collapsibleCss = "collapsible{}";
5
5
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, H as Host } from './index-9db08224.js';
1
+ import { r as registerInstance, h, H as Host } from './index-c04b9ed5.js';
2
2
 
3
3
  const modalImageCss = ":host{display:block}.overlay{opacity:0;visibility:hidden;position:fixed;width:100%;height:100%;top:0;left:0;background:rgba(0, 0, 0, 0.7);-webkit-transition:opacity 0.5s, visibility 0s 0.5s;transition:opacity 0.5s, visibility 0s 0.5s;display:flex;align-items:center;justify-content:center;z-index:100}.is-visible{opacity:1;visibility:visible;-webkit-transition:opacity 0.5s;transition:opacity 0.5s}.is-transparent{opacity:0}.modal-window{border-radius:25px;width:75%;height:75%;padding:50px;display:flex;align-items:center;justify-content:center}.modal-window__content{width:100%;height:100%;display:flex;justify-content:center;align-items:center;animation-name:zoom;animation-duration:0.6s}@keyframes zoom{from{transform:scale(0)}to{transform:scale(1)}}";
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-9db08224.js';
1
+ import { r as registerInstance, h } from './index-c04b9ed5.js';
2
2
 
3
3
  const notfoundPageCss = "notfound-page{text-align:center}";
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, e as createEvent, h, H as Host, i as getElement } from './index-9db08224.js';
1
+ import { r as registerInstance, i as createEvent, h, H as Host, e as getElement } from './index-c04b9ed5.js';
2
2
 
3
3
  const overlayCss = "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}";
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, H as Host } from './index-9db08224.js';
1
+ import { r as registerInstance, h, H as Host } from './index-c04b9ed5.js';
2
2
 
3
3
  const sparklePollCss = ":host{display:block}";
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, H as Host } from './index-9db08224.js';
1
+ import { r as registerInstance, h, H as Host } from './index-c04b9ed5.js';
2
2
 
3
3
  const sparkleQuizContainerCss = ":host{display:block}";
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, e as createEvent, h, H as Host, i as getElement } from './index-9db08224.js';
1
+ import { r as registerInstance, i as createEvent, h, H as Host, e as getElement } from './index-c04b9ed5.js';
2
2
 
3
3
  function GetSelectOptionId(questionId, index) {
4
4
  return "question-" + questionId + "-option-" + index;
@@ -0,0 +1,101 @@
1
+ import { r as registerInstance, i as createEvent, h, e as getElement } from './index-c04b9ed5.js';
2
+ import { A as AssetsService } from './assets.service-66e848b8.js';
3
+ import { E as EnvironmentConfigService } from './environment-config.service-2b5d692b.js';
4
+
5
+ const sparkleQuizV1Css = "sparkle-quiz-v1{display:block;font-family:var(--font-family);--sparkle-quiz-question-container-padding:10px 0px;--sparkle-quiz-question-container-margin:0px;--sparkle-quiz-question-text-padding:10px 0px;--sparkle-quiz-option-border:2px solid var(--line-rule-color);--sparkle-quiz-selected-option-border:2px solid var(--text-color--dark);--sparkle-quiz-option-border-radius:4px;--sparkle-quiz-option-padding:5px 10px;--sparkle-quiz-option-width:100%;--sparkle-quiz-error-bg-color:#fbaeae;--sparkle-quiz-success-bg-color:#fbaeae;padding:var(--sparkle-quiz-question-container-padding);margin:var(--sparkle-quiz-question-container-margin)}.question-text{padding:var(--sparkle-quiz-question-text-padding)}.option{padding:5px 0px}.number{padding:0px 14px;border:1px solid #ebebeb;border-radius:4px;margin-right:10px;font-size:14px;width:14px;display:inline-flex;justify-content:center}.feedback-container{padding:10px;border-radius:4px}.incorrect .feedback-container{background-color:var(--sparkle-quiz-error-bg-color, #fbaeae)}.correct .feedback-container{background-color:var(--sparkle-quiz-success-bg-color, #fbaeae)}";
6
+
7
+ const SparkleQuizV1 = class {
8
+ constructor(hostRef) {
9
+ registerInstance(this, hostRef);
10
+ this.quizAnswerChanged = createEvent(this, "quizAnswerChanged", 7);
11
+ }
12
+ async loadQuestion() {
13
+ if (this.quizData) {
14
+ this.question = this.quizData[+this.questionId];
15
+ }
16
+ }
17
+ async componentWillLoad() {
18
+ }
19
+ async componentDidLoad() {
20
+ const config = EnvironmentConfigService.getInstance().get('sparkle');
21
+ this.quizData = await AssetsService.getInstance().loadJsonFile(config.quizPath);
22
+ await this.loadQuestion();
23
+ this.quizAnswerChanged.emit({
24
+ question: null,
25
+ answer: "1"
26
+ });
27
+ }
28
+ quizInputChangeHandler(event) {
29
+ this.quizAnswerChanged.emit({
30
+ question: event.detail.question,
31
+ answer: event.detail.value
32
+ });
33
+ }
34
+ quizFeedbackChangeHandler(event) {
35
+ this.quizAnswerChanged.emit({
36
+ question: event.detail.question,
37
+ answer: event.detail.value
38
+ });
39
+ }
40
+ quizSelectChangeHandler(event) {
41
+ this.quizAnswerChanged.emit({
42
+ question: event.detail.question,
43
+ answer: event.detail.value
44
+ });
45
+ }
46
+ quizOpinionChangeHandler(event) {
47
+ this.quizAnswerChanged.emit({
48
+ question: event.detail.question,
49
+ answer: event.detail.value
50
+ });
51
+ }
52
+ getQuestionFeedback() {
53
+ if (this.question.questionType == "MULTIPLE-CHOICE") {
54
+ const feedbacks = this.question.options.filter(x => x.correct == true).map(x => x.feedback);
55
+ return feedbacks.length > 0 && feedbacks.map(feedback => h("small", null, feedback));
56
+ }
57
+ else if (this.question.questionType == "FEEDBACK" || this.question.questionType == "TEXT") {
58
+ return this.question.feedback && h("small", null, " ", this.question.feedback);
59
+ }
60
+ }
61
+ showAnswerStatus() {
62
+ return h("div", null, this.correct ? h("strong", null, "Good job!") : h("strong", null, "Incorrect answer, please try again."));
63
+ }
64
+ renderQuestion() {
65
+ if (this.question.questionType == "MULTIPLE-CHOICE") {
66
+ return h("sparkle-quiz-select", { question: this.question, allowMultiple: true });
67
+ }
68
+ else if (this.question.questionType == "FEEDBACK") {
69
+ return h("sparkle-quiz-feedback", { question: this.question });
70
+ }
71
+ else if (this.question.questionType == "TEXT") {
72
+ return h("sparkle-quiz-input", { question: this.question });
73
+ }
74
+ else if (this.question.questionType == "OPINION") {
75
+ return h("sparkle-quiz-opinion", { question: this.question });
76
+ }
77
+ else if (this.question.questionType == "POLL") {
78
+ return h("sparkle-quiz-poll", { question: this.question });
79
+ }
80
+ }
81
+ render() {
82
+ if (this.question) {
83
+ let classes = {
84
+ 'correct': this.submitted && this.correct,
85
+ 'incorrect': this.submitted && !this.correct
86
+ };
87
+ return h("div", { class: classes }, this.renderQuestion(), this.submitted && this.showInstantResult && h("div", { class: "feedback-container" }, [this.showAnswerStatus(),
88
+ this.getQuestionFeedback()]));
89
+ }
90
+ else {
91
+ return h("p", null, "No question found.");
92
+ }
93
+ }
94
+ get el() { return getElement(this); }
95
+ static get watchers() { return {
96
+ "questionId": ["loadQuestion"]
97
+ }; }
98
+ };
99
+ SparkleQuizV1.style = sparkleQuizV1Css;
100
+
101
+ export { SparkleQuizV1 as sparkle_quiz_v1 };
@@ -1,6 +1,4 @@
1
- import { r as registerInstance, e as createEvent, h, i as getElement } from './index-9db08224.js';
2
- import { A as AssetsService } from './assets.service-66e848b8.js';
3
- import { E as EnvironmentConfigService } from './environment-config.service-2b5d692b.js';
1
+ import { r as registerInstance, i as createEvent, h, e as getElement } from './index-c04b9ed5.js';
4
2
 
5
3
  const sparkleQuizCss = "sparkle-quiz{display:block;font-family:var(--font-family);--sparkle-quiz-question-container-padding:10px 0px;--sparkle-quiz-question-container-margin:0px;--sparkle-quiz-question-text-padding:10px 0px;--sparkle-quiz-option-border:2px solid var(--line-rule-color);--sparkle-quiz-selected-option-border:2px solid var(--text-color--dark);--sparkle-quiz-option-border-radius:4px;--sparkle-quiz-option-padding:5px 10px;--sparkle-quiz-option-width:100%;--sparkle-quiz-error-bg-color:#fbaeae;--sparkle-quiz-success-bg-color:#fbaeae;padding:var(--sparkle-quiz-question-container-padding);margin:var(--sparkle-quiz-question-container-margin)}.question-text{padding:var(--sparkle-quiz-question-text-padding)}.option{padding:5px 0px}.number{padding:0px 14px;border:1px solid #ebebeb;border-radius:4px;margin-right:10px;font-size:14px;width:14px;display:inline-flex;justify-content:center}.feedback-container{padding:10px;border-radius:4px}.incorrect .feedback-container{background-color:var(--sparkle-quiz-error-bg-color, #fbaeae)}.correct .feedback-container{background-color:var(--sparkle-quiz-success-bg-color, #fbaeae)}";
6
4
 
@@ -8,93 +6,109 @@ const SparkleQuiz = class {
8
6
  constructor(hostRef) {
9
7
  registerInstance(this, hostRef);
10
8
  this.quizAnswerChanged = createEvent(this, "quizAnswerChanged", 7);
9
+ this.type = 'TEXT';
10
+ this.scale = 'FIVE-POINTS';
11
+ this.options = [];
11
12
  }
12
- async loadQuestion() {
13
- if (this.quizData) {
14
- this.question = this.quizData[+this.questionId];
15
- }
16
- }
17
- async componentWillLoad() {
18
- }
13
+ // private pageInfo: any;
14
+ // @Watch('questionId')
15
+ // async loadQuestion() {
16
+ // if (this.quizData) {
17
+ // this.question = this.quizData[+this.questionId];
18
+ // }
19
+ // }
20
+ //@State() question: SparkleQuizQuestion;
21
+ //@State() quizData: { [key: string]: SparkleQuizQuestion };
22
+ async componentWillLoad() { }
19
23
  async componentDidLoad() {
20
- const config = EnvironmentConfigService.getInstance().get('sparkle');
21
- this.quizData = await AssetsService.getInstance().loadJsonFile(config.quizPath);
22
- await this.loadQuestion();
24
+ this.options = [];
25
+ if (this.el.querySelector("[slot='options']")) {
26
+ Array.from(this.el.querySelector("[slot='options']").querySelectorAll('option')).forEach(el => {
27
+ this.options = [...this.options, { option: el.innerText }];
28
+ });
29
+ }
23
30
  this.quizAnswerChanged.emit({
24
31
  question: null,
25
- answer: "1"
32
+ answer: '1',
26
33
  });
27
34
  }
28
35
  quizInputChangeHandler(event) {
29
36
  this.quizAnswerChanged.emit({
30
37
  question: event.detail.question,
31
- answer: event.detail.value
38
+ answer: event.detail.value,
32
39
  });
33
40
  }
34
41
  quizFeedbackChangeHandler(event) {
35
42
  this.quizAnswerChanged.emit({
36
43
  question: event.detail.question,
37
- answer: event.detail.value
44
+ answer: event.detail.value,
38
45
  });
39
46
  }
40
47
  quizSelectChangeHandler(event) {
41
48
  this.quizAnswerChanged.emit({
42
49
  question: event.detail.question,
43
- answer: event.detail.value
50
+ answer: event.detail.value,
44
51
  });
45
52
  }
46
53
  quizOpinionChangeHandler(event) {
47
54
  this.quizAnswerChanged.emit({
48
55
  question: event.detail.question,
49
- answer: event.detail.value
56
+ answer: event.detail.value,
50
57
  });
51
58
  }
52
59
  getQuestionFeedback() {
53
- if (this.question.questionType == "MULTIPLE-CHOICE") {
54
- const feedbacks = this.question.options.filter(x => x.correct == true).map(x => x.feedback);
55
- return feedbacks.length > 0 && feedbacks.map(feedback => h("small", null, feedback));
60
+ if (this.type == 'MULTIPLE-CHOICE') {
61
+ // const feedbacks = this.question.options.filter(x => x.correct == true).map(x => x.feedback);
62
+ // return feedbacks.length > 0 && feedbacks.map(feedback => <small>{feedback}</small>);
63
+ return h("small", null);
56
64
  }
57
- else if (this.question.questionType == "FEEDBACK" || this.question.questionType == "TEXT") {
58
- return this.question.feedback && h("small", null, " ", this.question.feedback);
65
+ else if (this.type == 'FEEDBACK' || this.type == 'TEXT') {
66
+ return this.feedback && h("small", null, " ", this.feedback);
59
67
  }
60
68
  }
61
69
  showAnswerStatus() {
62
70
  return h("div", null, this.correct ? h("strong", null, "Good job!") : h("strong", null, "Incorrect answer, please try again."));
63
71
  }
64
72
  renderQuestion() {
65
- if (this.question.questionType == "MULTIPLE-CHOICE") {
66
- return h("sparkle-quiz-select", { question: this.question, allowMultiple: true });
73
+ var question = {
74
+ questionId: this.questionId,
75
+ questionText: this.questionText,
76
+ questionType: this.type,
77
+ scale: this.scale,
78
+ showOptionNumber: this.showOptionNumber,
79
+ options: this.options,
80
+ //options: Array<SparkleQuizQuestionOption>;
81
+ feedback: this.feedback,
82
+ };
83
+ if (this.type == 'MULTIPLE-CHOICE') {
84
+ return h("sparkle-quiz-select", { question: question, allowMultiple: true });
67
85
  }
68
- else if (this.question.questionType == "FEEDBACK") {
69
- return h("sparkle-quiz-feedback", { question: this.question });
86
+ else if (this.type == 'FEEDBACK') {
87
+ return h("sparkle-quiz-feedback", { question: question });
70
88
  }
71
- else if (this.question.questionType == "TEXT") {
72
- return h("sparkle-quiz-input", { question: this.question });
89
+ else if (this.type == 'TEXT') {
90
+ return h("sparkle-quiz-input", { question: question });
73
91
  }
74
- else if (this.question.questionType == "OPINION") {
75
- return h("sparkle-quiz-opinion", { question: this.question });
92
+ else if (this.type == 'OPINION') {
93
+ return h("sparkle-quiz-opinion", { question: question });
76
94
  }
77
- else if (this.question.questionType == "POLL") {
78
- return h("sparkle-quiz-poll", { question: this.question });
95
+ else if (this.type == 'POLL') {
96
+ return h("sparkle-quiz-poll", { question: question });
79
97
  }
80
98
  }
81
99
  render() {
82
- if (this.question) {
100
+ if (this.questionText) {
83
101
  let classes = {
84
- 'correct': this.submitted && this.correct,
85
- 'incorrect': this.submitted && !this.correct
102
+ correct: this.submitted && this.correct,
103
+ incorrect: this.submitted && !this.correct,
86
104
  };
87
- return h("div", { class: classes }, this.renderQuestion(), this.submitted && this.showInstantResult && h("div", { class: "feedback-container" }, [this.showAnswerStatus(),
88
- this.getQuestionFeedback()]));
105
+ return (h("div", { class: classes, ref: el => (this.containerRef = el) }, h("div", null, h("slot", null)), this.renderQuestion(), this.submitted && this.showInstantResult && h("div", { class: "feedback-container" }, [this.showAnswerStatus(), this.getQuestionFeedback()])));
89
106
  }
90
107
  else {
91
108
  return h("p", null, "No question found.");
92
109
  }
93
110
  }
94
111
  get el() { return getElement(this); }
95
- static get watchers() { return {
96
- "questionId": ["loadQuestion"]
97
- }; }
98
112
  };
99
113
  SparkleQuiz.style = sparkleQuizCss;
100
114
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, e as createEvent, h, H as Host } from './index-9db08224.js';
1
+ import { r as registerInstance, i as createEvent, h, H as Host } from './index-c04b9ed5.js';
2
2
 
3
3
  const selectCss = ".Select{cursor:pointer;display:inline-block;font-weight:500}.Select .Dropdown-button{align-items:center;border:solid 1px #dee3ea;border-radius:6px;display:inline-flex;justify-content:space-between;min-width:100px;padding:0.5em 1em}.Select .Dropdown-panel{padding:0.5em 0}.Select .Dropdown-arrow{margin-left:0.5em}.Select-option{--bg-alpha:0;background-color:rgba(0, 0, 0, var(--bg-alpha));padding:0.5em 1.5em}.Select-option:focus{--bg-alpha:0.025;outline:none}.Select-option--selected{--bg-alpha:0.05}.Select-option--selected:focus{--bg-alpha:0.075}@media (hover: hover){.Select-option:hover{--bg-alpha:0.025}.Select-option--selected:hover{--bg-alpha:0.075}}";
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, i as getElement } from './index-9db08224.js';
1
+ import { r as registerInstance, h, e as getElement } from './index-c04b9ed5.js';
2
2
 
3
3
  const sidebarCss = "sparkle-sidebar{--sparkle-spacing-size-lg:1rem;--sparkle-transition-med:0.5s;--sparkle-color-dark-lighter:89, 109, 127;--sparkle-font-size-md:1.25rem;--sparkle-spacing-size-none:0;--sparkle-spacing-size-xxxs:0.0625rem;--sparkle-color-light-base:1197, 209, 218;--sparkle-font-size-lg:1.5rem;--sparkle-color-dark-base:55, 68, 79}.sparkle-sidebar{height:100%;max-width:90%;position:fixed;top:0;bottom:0;overflow-x:hidden;overflow-y:auto;background-color:#fff;padding:var(--sparkle-spacing-size-lg);-webkit-transition:all var(--sparkle-transition-med) ease-in-out;transition:all var(--sparkle-transition-med) ease-in-out}.sparkle-sidebar.left{border-right:var(--sparkle-spacing-size-xxxs) solid rgba(var(--sparkle-color-dark-lighter), 1)}.sparkle-sidebar.left.size-sm{width:16rem;left:-16rem}.sparkle-sidebar.left.size-md{width:22.5rem;left:-22.5rem}.sparkle-sidebar.left.size-lg{width:30rem;left:-30rem}.sparkle-sidebar.left.size-xl{width:45rem;left:-45rem}.sparkle-sidebar.left.show{visibility:visible;left:0}.sparkle-sidebar.right{border-right:var(--sparkle-spacing-size-xxxs) solid rgba(var(--sparkle-color-dark-lighter), 1)}.sparkle-sidebar.right.size-sm{width:16rem;right:-16rem}.sparkle-sidebar.right.size-md{width:22.5rem;right:-22.5rem}.sparkle-sidebar.right.size-lg{width:30rem;right:-30rem}.sparkle-sidebar.right.size-xl{width:45rem;right:-45rem}.sparkle-sidebar.right.show{visibility:visible;right:0}.sparkle-sidebar .drawer-header{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-line-pack:center;align-content:center;border-bottom:var(--sparkle-spacing-size-xxxs) solid rgba(var(--sparkle-color-light-base), 1);font-size:var(--sparkle-font-size-lg);color:rgba(var(--sparkle-color-dark-base), 1)}.sparkle-sidebar .drawer-header .drawer-title{line-height:1}.sparkle-sidebar .drawer-header .drawer-close .ks-button .button{padding:var(--sparkle-spacing-size-none)}.sparkle-sidebar .drawer-header .drawer-close .ks-button .button .button-text{display:-ms-inline-flexbox;display:inline-flex}.sparkle-sidebar .drawer-header .drawer-close .ks-button .button .icon{font-size:var(--sparkle-font-size-md)}.sparkle-sidebar .drawer-body{padding-top:var(--sparkle-spacing-size-lg);padding-bottom:var(--sparkle-spacing-size-lg)}";
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, H as Host } from './index-9db08224.js';
1
+ import { r as registerInstance, h, H as Host } from './index-c04b9ed5.js';
2
2
 
3
3
  const SparkleTab = class {
4
4
  constructor(hostRef) {
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-9db08224.js';
1
+ import { r as registerInstance, h } from './index-c04b9ed5.js';
2
2
 
3
3
  const tableOfContentsCss = "sparkle-table-of-contents{display:block;font-size:13px;margin-bottom:2rem}sparkle-table-of-contents .Nav-header{color:var(--text-color--lighter);font-size:0.75em;font-weight:800;letter-spacing:1px;text-transform:uppercase;padding-left:0}sparkle-table-of-contents ul{padding:0;list-style:none;line-height:1.23em}sparkle-table-of-contents .Nav-link{padding-left:0;margin-left:0}sparkle-table-of-contents a{color:inherit;display:inline-block;transition:.2s color, .3s transform ease-out}sparkle-table-of-contents .Nav-link.selected a{color:var(--accent-color);transform:translateX(2px)}";
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, i as getElement, H as Host } from './index-9db08224.js';
1
+ import { r as registerInstance, h, e as getElement, H as Host } from './index-c04b9ed5.js';
2
2
 
3
3
  const tabsCss = ".Tabs,.Tabs-tab{display:block}.Tabs-tab:not([selected]){display:none}.Tabs-header{border-bottom:solid 1px rgba(0, 32, 88, 0.1);white-space:nowrap}.Tabs-button{--bg-alpha:0;appearance:none;background-color:rgba(0, 0, 0, var(--bg-alpha));border:none;color:var(--text-color--light);cursor:pointer;font-family:inherit;font-size:10px;font-weight:600;letter-spacing:0.04em;padding:1rem;text-transform:uppercase;transform:translateY(1px)}.Tabs-button:first-child{border-top-left-radius:6px}.Tabs-button:last-child{border-top-right-radius:6px}.Tabs-button:focus{outline:none}.Tabs-button:focus{--bg-alpha:0.015}@media (hover: hover){.Tabs-button:hover{--bg-alpha:0.015}}.Tabs-button:active{--bg-alpha:0.03}.Tabs-button.is-selected{border-bottom:solid 1px currentColor;color:var(--accent-color)}.Tabs-tab sparkle-code pre{margin-top:0}";
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, i as getElement } from './index-9db08224.js';
1
+ import { r as registerInstance, h, e as getElement } from './index-c04b9ed5.js';
2
2
 
3
3
  const sparkleYoutubeCss = ":host(.loaded) div.youtube-container{opacity:var(--sparkle-youtube-opacity-loaded, 1)}div.youtube-container{opacity:var(--sparkle-youtube-opacity-not-loaded, 0);transition:var(--sparkle-youtube-transition, opacity 0.15s linear)}.embed-container{position:relative;padding-bottom:56.25%;height:0;overflow:hidden;max-width:100%}.embed-container iframe,.embed-container object,.embed-container embed{position:absolute;top:0;left:0;width:100%;height:100%}";
4
4
 
@@ -1,6 +1,6 @@
1
- import { j as readTask, w as writeTask } from './index-9db08224.js';
2
- import { a as findClosestIonContent, s as scrollToTop } from './index-c23a1826.js';
3
- import { c as componentOnReady } from './helpers-94a5855b.js';
1
+ import { j as readTask, w as writeTask } from './index-c04b9ed5.js';
2
+ import { f as findClosestIonContent, s as scrollToTop } from './index-5e8971ae.js';
3
+ import { c as componentOnReady } from './helpers-bf0e23d6.js';
4
4
  import './index-dad75b83.js';
5
5
 
6
6
  /*!
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-9db08224.js';
1
+ import { r as registerInstance, h } from './index-c04b9ed5.js';
2
2
 
3
3
  const AsyncContent = class {
4
4
  constructor(hostRef) {
@@ -1,5 +1,5 @@
1
- import { r as registerInstance, i as getElement } from './index-9db08224.js';
2
- import { A as ActiveRouter } from './active-router-9843e205.js';
1
+ import { r as registerInstance, e as getElement } from './index-c04b9ed5.js';
2
+ import { A as ActiveRouter } from './active-router-fc9e4e06.js';
3
3
 
4
4
  const RouteTitle = class {
5
5
  constructor(hostRef) {
@@ -1,5 +1,5 @@
1
- import { r as registerInstance, i as getElement } from './index-9db08224.js';
2
- import { A as ActiveRouter } from './active-router-9843e205.js';
1
+ import { r as registerInstance, e as getElement } from './index-c04b9ed5.js';
2
+ import { A as ActiveRouter } from './active-router-fc9e4e06.js';
3
3
 
4
4
  const StencilRouterPrompt = class {
5
5
  constructor(hostRef) {