@sparkle-learning/core 0.0.19 → 0.0.23

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 (566) hide show
  1. package/dist/cjs/{PrivateRoute-20e27028.js → PrivateRoute-cee9b061.js} +43 -43
  2. package/dist/cjs/{active-router-dca7573e.js → active-router-3bd7b540.js} +1 -1
  3. package/dist/cjs/{app-globals-bea78913.js → app-globals-98121d6d.js} +1 -1
  4. package/dist/cjs/{assets.service-5098e79c.js → assets.service-0c759d51.js} +2 -27
  5. package/dist/cjs/{httpService-6377985c.js → auth.store-aba3d22f.js} +31 -5
  6. package/dist/cjs/{button-active-1edcd24e.js → button-active-9456fb4d.js} +1 -1
  7. package/dist/cjs/compass-svg.cjs.entry.js +132 -0
  8. package/dist/cjs/context-consumer.cjs.entry.js +1 -1
  9. package/dist/cjs/course-select.cjs.entry.js +1 -1
  10. package/dist/cjs/environment-config.service-0e02b049.js +29 -0
  11. package/dist/cjs/facilitator.service-e1e2f719.js +94 -0
  12. package/dist/cjs/feed.service-518d18fd.js +5802 -0
  13. package/dist/cjs/header-mobile-collapse_60.cjs.entry.js +86 -0
  14. package/dist/cjs/{icons-fda1e4fc.js → icons-a0fef92b.js} +2 -6
  15. package/dist/cjs/{index-123ceda0.js → index-58b3ee93.js} +3 -3
  16. package/dist/cjs/{index-786a6369.js → index-7bcd36a0.js} +1 -1
  17. package/dist/cjs/{index-56cc404a.js → index-fbf4d3bf.js} +2 -0
  18. package/dist/cjs/index.cjs.js +9 -8
  19. package/dist/cjs/index.es-c12b0714.js +13834 -0
  20. package/dist/cjs/ion-action-sheet.cjs.entry.js +4 -4
  21. package/dist/cjs/ion-alert.cjs.entry.js +4 -4
  22. package/dist/cjs/ion-app.cjs.entry.js +3 -3
  23. package/dist/cjs/ion-back-button.cjs.entry.js +89 -0
  24. package/dist/cjs/ion-backdrop.cjs.entry.js +2 -2
  25. package/dist/cjs/ion-badge.cjs.entry.js +2 -2
  26. package/dist/cjs/{ion-back-button_4.cjs.entry.js → ion-buttons_3.cjs.entry.js} +2 -83
  27. package/dist/cjs/ion-card-header.cjs.entry.js +2 -2
  28. package/dist/cjs/ion-card-subtitle.cjs.entry.js +2 -2
  29. package/dist/cjs/ion-card-title.cjs.entry.js +2 -2
  30. package/dist/cjs/ion-chip.cjs.entry.js +2 -2
  31. package/dist/cjs/{ion-content.cjs.entry.js → ion-content_2.cjs.entry.js} +259 -2
  32. package/dist/cjs/ion-datetime.cjs.entry.js +3 -3
  33. package/dist/cjs/ion-fab-button.cjs.entry.js +2 -2
  34. package/dist/cjs/ion-fab-list.cjs.entry.js +2 -2
  35. package/dist/cjs/ion-fab.cjs.entry.js +2 -2
  36. package/dist/cjs/ion-footer.cjs.entry.js +2 -2
  37. package/dist/cjs/ion-img.cjs.entry.js +2 -2
  38. package/dist/cjs/ion-infinite-scroll-content.cjs.entry.js +2 -2
  39. package/dist/cjs/ion-infinite-scroll.cjs.entry.js +2 -2
  40. package/dist/cjs/ion-item-divider.cjs.entry.js +2 -2
  41. package/dist/cjs/ion-item-group.cjs.entry.js +2 -2
  42. package/dist/cjs/ion-item-option.cjs.entry.js +2 -2
  43. package/dist/cjs/ion-item-options.cjs.entry.js +2 -2
  44. package/dist/cjs/ion-item-sliding.cjs.entry.js +2 -2
  45. package/dist/cjs/ion-loading.cjs.entry.js +3 -3
  46. package/dist/cjs/ion-menu-button.cjs.entry.js +4 -4
  47. package/dist/cjs/ion-menu-toggle.cjs.entry.js +4 -4
  48. package/dist/cjs/ion-menu.cjs.entry.js +3 -3
  49. package/dist/cjs/ion-modal.cjs.entry.js +4 -4
  50. package/dist/cjs/ion-nav-link.cjs.entry.js +1 -1
  51. package/dist/cjs/ion-nav.cjs.entry.js +3 -3
  52. package/dist/cjs/ion-note.cjs.entry.js +2 -2
  53. package/dist/cjs/ion-picker-column.cjs.entry.js +2 -2
  54. package/dist/cjs/ion-picker.cjs.entry.js +3 -3
  55. package/dist/cjs/ion-popover.cjs.entry.js +4 -4
  56. package/dist/cjs/ion-progress-bar.cjs.entry.js +2 -2
  57. package/dist/cjs/ion-refresher-content.cjs.entry.js +2 -2
  58. package/dist/cjs/ion-refresher.cjs.entry.js +2 -2
  59. package/dist/cjs/ion-reorder-group.cjs.entry.js +2 -2
  60. package/dist/cjs/ion-reorder.cjs.entry.js +2 -2
  61. package/dist/cjs/ion-route-redirect.cjs.entry.js +1 -1
  62. package/dist/cjs/ion-route.cjs.entry.js +1 -1
  63. package/dist/cjs/ion-router-link.cjs.entry.js +2 -2
  64. package/dist/cjs/ion-router-outlet.cjs.entry.js +3 -3
  65. package/dist/cjs/ion-router.cjs.entry.js +1 -1
  66. package/dist/cjs/ion-searchbar.cjs.entry.js +2 -2
  67. package/dist/cjs/ion-segment-button.cjs.entry.js +2 -2
  68. package/dist/cjs/ion-segment.cjs.entry.js +2 -2
  69. package/dist/cjs/ion-select-popover.cjs.entry.js +3 -3
  70. package/dist/cjs/ion-select_2.cjs.entry.js +3 -3
  71. package/dist/cjs/ion-skeleton-text.cjs.entry.js +2 -2
  72. package/dist/cjs/ion-slide.cjs.entry.js +2 -2
  73. package/dist/cjs/ion-slides.cjs.entry.js +2 -2
  74. package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
  75. package/dist/cjs/ion-tab-bar.cjs.entry.js +2 -2
  76. package/dist/cjs/ion-tab-button.cjs.entry.js +2 -2
  77. package/dist/cjs/ion-tab.cjs.entry.js +1 -1
  78. package/dist/cjs/ion-tabs.cjs.entry.js +1 -1
  79. package/dist/cjs/ion-textarea.cjs.entry.js +2 -2
  80. package/dist/cjs/ion-thumbnail.cjs.entry.js +2 -2
  81. package/dist/cjs/ion-toast.cjs.entry.js +3 -3
  82. package/dist/cjs/ion-toggle.cjs.entry.js +2 -2
  83. package/dist/cjs/ion-virtual-scroll.cjs.entry.js +1 -1
  84. package/dist/cjs/{ionic-global-57e21b7b.js → ionic-global-4930d319.js} +1 -1
  85. package/dist/cjs/{ios.transition-b6898b4e.js → ios.transition-6e1fd3d6.js} +2 -2
  86. package/dist/cjs/loader.cjs.js +4 -4
  87. package/dist/cjs/{md.transition-dcccb17e.js → md.transition-3652ad78.js} +2 -2
  88. package/dist/cjs/{menu-toggle-util-36785376.js → menu-toggle-util-a8fb4c56.js} +1 -1
  89. package/dist/cjs/{overlays-09ece60d.js → overlays-08a817ea.js} +1 -1
  90. package/dist/cjs/purify-e34cd5cf.js +1355 -0
  91. package/dist/cjs/sparkle-animation-player.cjs.entry.js +1 -1
  92. package/dist/cjs/sparkle-code.cjs.entry.js +2 -2
  93. package/dist/cjs/sparkle-compass-post.cjs.entry.js +1 -1
  94. package/dist/cjs/sparkle-compass.cjs.entry.js +1 -1
  95. package/dist/cjs/sparkle-core.cjs.js +4 -4
  96. package/dist/cjs/sparkle-emoji.cjs.entry.js +1 -1
  97. package/dist/cjs/sparkle-facilitator-notes-form.cjs.entry.js +118 -0
  98. package/dist/cjs/sparkle-feed-post.cjs.entry.js +1 -1
  99. package/dist/cjs/sparkle-feedback.cjs.entry.js +19 -6
  100. package/dist/cjs/sparkle-goal-form.cjs.entry.js +75 -34
  101. package/dist/cjs/sparkle-gww-comment-list.cjs.entry.js +2 -2
  102. package/dist/cjs/sparkle-gww-graph.cjs.entry.js +1 -1
  103. package/dist/cjs/sparkle-lower-content-nav.cjs.entry.js +1 -1
  104. package/dist/cjs/sparkle-menu-collapsible.cjs.entry.js +2 -2
  105. package/dist/cjs/sparkle-modal-image.cjs.entry.js +1 -1
  106. package/dist/cjs/sparkle-notfound-page.cjs.entry.js +1 -1
  107. package/dist/cjs/sparkle-overlay.cjs.entry.js +92 -0
  108. package/dist/cjs/sparkle-poll.cjs.entry.js +1 -1
  109. package/dist/cjs/sparkle-quiz-container.cjs.entry.js +1 -1
  110. package/dist/cjs/sparkle-quiz-feedback_5.cjs.entry.js +1 -1
  111. package/dist/cjs/sparkle-quiz.cjs.entry.js +4 -3
  112. package/dist/cjs/sparkle-select.cjs.entry.js +1 -1
  113. package/dist/cjs/sparkle-sidebar.cjs.entry.js +43 -0
  114. package/dist/cjs/sparkle-tab.cjs.entry.js +1 -1
  115. package/dist/cjs/sparkle-table-of-contents.cjs.entry.js +1 -1
  116. package/dist/cjs/sparkle-tabs.cjs.entry.js +1 -1
  117. package/dist/cjs/sparkle-youtube.cjs.entry.js +1 -1
  118. package/dist/cjs/{status-tap-18630b4c.js → status-tap-466a7c6a.js} +1 -1
  119. package/dist/cjs/stencil-async-content.cjs.entry.js +1 -1
  120. package/dist/cjs/stencil-route-title.cjs.entry.js +2 -2
  121. package/dist/cjs/stencil-router-prompt.cjs.entry.js +2 -2
  122. package/dist/cjs/{student.service-93a3c3e1.js → student.service-41c7c78d.js} +17 -14
  123. package/dist/collection/assets/svg/profile.svg +2 -0
  124. package/dist/collection/collection-manifest.json +8 -0
  125. package/dist/collection/components/compass-svg/compass-svg.css +15 -0
  126. package/dist/collection/components/compass-svg/compass-svg.js +156 -0
  127. package/dist/collection/components/layout/facilitator/export-lessons/export-lessons.css +7 -0
  128. package/dist/collection/components/layout/facilitator/export-lessons/export-lessons.js +110 -0
  129. package/dist/collection/components/layout/facilitator/facilitator-dashboard/facilitator-dashboard.css +3 -0
  130. package/dist/collection/components/layout/facilitator/facilitator-dashboard/facilitator-dashboard.js +214 -0
  131. package/dist/collection/components/layout/facilitator/facilitator-header/facilitator-header.js +2 -8
  132. package/dist/collection/components/layout/facilitator/facilitator-notes/facilitator-notes-form/facilitator-notes-form.css +3 -0
  133. package/dist/collection/components/layout/facilitator/facilitator-notes/facilitator-notes-form/facilitator-notes-form.js +144 -0
  134. package/dist/collection/components/layout/facilitator/facilitator-notes/facilitator-notes.css +14 -0
  135. package/dist/collection/components/layout/facilitator/facilitator-notes/facilitator-notes.js +64 -0
  136. package/dist/collection/components/layout/facilitator/facilitator-page.css +13 -3
  137. package/dist/collection/components/layout/facilitator/facilitator-page.js +147 -24
  138. package/dist/collection/components/layout/facilitator/online-students/online-students.js +59 -2
  139. package/dist/collection/components/layout/page/page.js +93 -4
  140. package/dist/collection/components/layout/page/templates/index.js +2 -0
  141. package/dist/collection/components/layout/page/templates/pdf.js +8 -0
  142. package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goal-form/sparkle-goal-form.css +3 -3
  143. package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goal-form/sparkle-goal-form.js +98 -64
  144. package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goal-item/sparkle-goal-item.css +12 -29
  145. package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goal-item/sparkle-goal-item.js +23 -6
  146. package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goal-progress/sparkle-goal-progress.css +33 -0
  147. package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goal-progress/sparkle-goal-progress.js +37 -0
  148. package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goals.css +8 -8
  149. package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goals.js +15 -60
  150. package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww-comment-list/sparkle-gww-comment-list.css +7 -7
  151. package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww-comment-list/sparkle-gww-comment-list.js +3 -1
  152. package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww-graph/sparkle-gww-graph.css +3 -3
  153. package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww-item/sparkle-gww-item.css +30 -29
  154. package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww-item/sparkle-gww-item.js +111 -11
  155. package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww.css +3 -3
  156. package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww.js +30 -64
  157. package/dist/collection/components/mini-apps/sparkle-health/sparkle-health.css +10 -3
  158. package/dist/collection/components/mini-apps/sparkle-health/sparkle-health.js +51 -11
  159. package/dist/collection/components/mini-apps/sparkle-mood/sparkle-mood.css +11 -11
  160. package/dist/collection/components/mini-apps/sparkle-mood/sparkle-mood.js +38 -8
  161. package/dist/collection/components/sparkle-course-root/sparkle-course-root.css +3 -3
  162. package/dist/collection/components/sparkle-course-root/sparkle-course-root.js +24 -25
  163. package/dist/collection/components/sparkle-emoji/sparkle-emoji.css +16 -16
  164. package/dist/collection/components/sparkle-feed-post/sparkle-feed-post.css +3 -3
  165. package/dist/collection/components/sparkle-feedback/sparkle-feedback.css +3 -3
  166. package/dist/collection/components/sparkle-feedback/sparkle-feedback.js +14 -1
  167. package/dist/collection/components/sparkle-forgot-password/sparkle-forgot-password.js +39 -5
  168. package/dist/collection/components/sparkle-login/sparkle-login.js +3 -1
  169. package/dist/collection/components/sparkle-poll/sparkle-poll.css +3 -3
  170. package/dist/collection/components/sparkle-quiz/sparkle-quiz-feedback/sparkle-quiz-feedback.css +3 -3
  171. package/dist/collection/components/sparkle-quiz/sparkle-quiz-input/sparkle-quiz-input.css +3 -3
  172. package/dist/collection/components/sparkle-quiz/sparkle-quiz-poll/sparkle-quiz-poll.css +3 -3
  173. package/dist/collection/components/sparkle-quiz/sparkle-quiz-select/sparkle-quiz-select.css +3 -3
  174. package/dist/collection/components/sparkle-quiz-container/sparkle-quiz-container.css +3 -3
  175. package/dist/collection/components/sparkle-reset-password/sparkle-reset-password.css +3 -0
  176. package/dist/collection/components/sparkle-reset-password/sparkle-reset-password.js +126 -0
  177. package/dist/collection/components/sparkle-root/sparkle-root.css +19 -0
  178. package/dist/collection/components/sparkle-root/sparkle-root.js +24 -1
  179. package/dist/collection/components/sparkle-signup/sparkle-signup.js +16 -12
  180. package/dist/collection/components/sparkle-unauthorized/sparkle-unauthorized.css +13 -13
  181. package/dist/collection/components/sparkle-user-enrollment/sparkle-user-enrollment.css +3 -3
  182. package/dist/collection/components/sparkle-user-profile/sparkle-user-profile.css +54 -3
  183. package/dist/collection/components/sparkle-user-profile/sparkle-user-profile.js +35 -8
  184. package/dist/collection/components/sparkle-validation-error/sparkle-validation-error.css +11 -0
  185. package/dist/collection/components/sparkle-validation-error/sparkle-validation-error.js +44 -0
  186. package/dist/collection/icons.js +1 -0
  187. package/dist/collection/models/class.model.js +5 -1
  188. package/dist/collection/models/facilitator-dashboard.model.js +5 -0
  189. package/dist/collection/services/account.service.js +42 -4
  190. package/dist/collection/services/appdata.service.js +60 -0
  191. package/dist/collection/services/auth/auth.service.js +34 -25
  192. package/dist/collection/services/environment/environment-config.js +4 -1
  193. package/dist/collection/services/facilitator.service.js +76 -0
  194. package/dist/collection/services/feed.service.js +43 -0
  195. package/dist/collection/services/httpService.js +16 -3
  196. package/dist/collection/services/media.service.js +29 -0
  197. package/dist/collection/services/signalR.service.js +85 -0
  198. package/dist/collection/services/student.service.js +8 -7
  199. package/dist/collection/stores/auth.store.js +2 -1
  200. package/dist/collection/stores/facilitator.store.js +11 -2
  201. package/dist/collection/stores/feed.store.js +3 -1
  202. package/dist/collection/stores/goal.store.js +2 -0
  203. package/dist/collection/stores/media.store.js +5 -0
  204. package/dist/collection/stores/signalR.store.js +6 -0
  205. package/dist/collection/stores/user.store.js +3 -1
  206. package/dist/collection/util.js +23 -1
  207. package/dist/esm/{PrivateRoute-c10669e7.js → PrivateRoute-9f0973bb.js} +41 -40
  208. package/dist/esm/{active-router-044bf79e.js → active-router-b3ae32c7.js} +1 -1
  209. package/dist/esm/{app-globals-d592451f.js → app-globals-6451faf3.js} +1 -1
  210. package/dist/esm/{assets.service-da511a45.js → assets.service-66e848b8.js} +2 -26
  211. package/dist/esm/{httpService-010551aa.js → auth.store-dd944bc2.js} +31 -6
  212. package/dist/esm/{button-active-32a41594.js → button-active-97535443.js} +1 -1
  213. package/dist/esm/compass-svg.entry.js +128 -0
  214. package/dist/esm/context-consumer.entry.js +1 -1
  215. package/dist/esm/course-select.entry.js +1 -1
  216. package/dist/esm/environment-config.service-2b5d692b.js +27 -0
  217. package/dist/esm/facilitator.service-cddb2feb.js +91 -0
  218. package/dist/esm/feed.service-0fda1e36.js +5787 -0
  219. package/dist/esm/header-mobile-collapse_60.entry.js +19 -0
  220. package/dist/esm/{icons-212531e8.js → icons-33e5804c.js} +3 -6
  221. package/dist/esm/{index-24b18689.js → index-55fc9f5e.js} +2 -1
  222. package/dist/esm/{index-243ec2f9.js → index-a94619f9.js} +3 -3
  223. package/dist/esm/{index-c539b2bc.js → index-dc09784f.js} +1 -1
  224. package/dist/esm/index.es-34d81aa0.js +13748 -0
  225. package/dist/esm/index.js +7 -6
  226. package/dist/esm/ion-action-sheet.entry.js +4 -4
  227. package/dist/esm/ion-alert.entry.js +4 -4
  228. package/dist/esm/ion-app.entry.js +3 -3
  229. package/dist/esm/ion-back-button.entry.js +85 -0
  230. package/dist/esm/ion-backdrop.entry.js +2 -2
  231. package/dist/esm/ion-badge.entry.js +2 -2
  232. package/dist/esm/{ion-back-button_4.entry.js → ion-buttons_3.entry.js} +4 -84
  233. package/dist/esm/ion-card-header.entry.js +2 -2
  234. package/dist/esm/ion-card-subtitle.entry.js +2 -2
  235. package/dist/esm/ion-card-title.entry.js +2 -2
  236. package/dist/esm/ion-chip.entry.js +2 -2
  237. package/dist/esm/{ion-content.entry.js → ion-content_2.entry.js} +259 -3
  238. package/dist/esm/ion-datetime.entry.js +3 -3
  239. package/dist/esm/ion-fab-button.entry.js +2 -2
  240. package/dist/esm/ion-fab-list.entry.js +2 -2
  241. package/dist/esm/ion-fab.entry.js +2 -2
  242. package/dist/esm/ion-footer.entry.js +2 -2
  243. package/dist/esm/ion-img.entry.js +2 -2
  244. package/dist/esm/ion-infinite-scroll-content.entry.js +2 -2
  245. package/dist/esm/ion-infinite-scroll.entry.js +2 -2
  246. package/dist/esm/ion-item-divider.entry.js +2 -2
  247. package/dist/esm/ion-item-group.entry.js +2 -2
  248. package/dist/esm/ion-item-option.entry.js +2 -2
  249. package/dist/esm/ion-item-options.entry.js +2 -2
  250. package/dist/esm/ion-item-sliding.entry.js +2 -2
  251. package/dist/esm/ion-loading.entry.js +3 -3
  252. package/dist/esm/ion-menu-button.entry.js +4 -4
  253. package/dist/esm/ion-menu-toggle.entry.js +4 -4
  254. package/dist/esm/ion-menu.entry.js +3 -3
  255. package/dist/esm/ion-modal.entry.js +4 -4
  256. package/dist/esm/ion-nav-link.entry.js +1 -1
  257. package/dist/esm/ion-nav.entry.js +3 -3
  258. package/dist/esm/ion-note.entry.js +2 -2
  259. package/dist/esm/ion-picker-column.entry.js +2 -2
  260. package/dist/esm/ion-picker.entry.js +3 -3
  261. package/dist/esm/ion-popover.entry.js +4 -4
  262. package/dist/esm/ion-progress-bar.entry.js +2 -2
  263. package/dist/esm/ion-refresher-content.entry.js +2 -2
  264. package/dist/esm/ion-refresher.entry.js +2 -2
  265. package/dist/esm/ion-reorder-group.entry.js +2 -2
  266. package/dist/esm/ion-reorder.entry.js +2 -2
  267. package/dist/esm/ion-route-redirect.entry.js +1 -1
  268. package/dist/esm/ion-route.entry.js +1 -1
  269. package/dist/esm/ion-router-link.entry.js +2 -2
  270. package/dist/esm/ion-router-outlet.entry.js +3 -3
  271. package/dist/esm/ion-router.entry.js +1 -1
  272. package/dist/esm/ion-searchbar.entry.js +2 -2
  273. package/dist/esm/ion-segment-button.entry.js +2 -2
  274. package/dist/esm/ion-segment.entry.js +2 -2
  275. package/dist/esm/ion-select-popover.entry.js +3 -3
  276. package/dist/esm/ion-select_2.entry.js +3 -3
  277. package/dist/esm/ion-skeleton-text.entry.js +2 -2
  278. package/dist/esm/ion-slide.entry.js +2 -2
  279. package/dist/esm/ion-slides.entry.js +2 -2
  280. package/dist/esm/ion-split-pane.entry.js +2 -2
  281. package/dist/esm/ion-tab-bar.entry.js +2 -2
  282. package/dist/esm/ion-tab-button.entry.js +2 -2
  283. package/dist/esm/ion-tab.entry.js +1 -1
  284. package/dist/esm/ion-tabs.entry.js +1 -1
  285. package/dist/esm/ion-textarea.entry.js +2 -2
  286. package/dist/esm/ion-thumbnail.entry.js +2 -2
  287. package/dist/esm/ion-toast.entry.js +3 -3
  288. package/dist/esm/ion-toggle.entry.js +2 -2
  289. package/dist/esm/ion-virtual-scroll.entry.js +1 -1
  290. package/dist/esm/{ionic-global-fddd88d0.js → ionic-global-1f9287cc.js} +1 -1
  291. package/dist/esm/{ios.transition-1ffb59e3.js → ios.transition-d01abefd.js} +2 -2
  292. package/dist/esm/loader.js +4 -4
  293. package/dist/esm/{md.transition-18b7b80d.js → md.transition-245ffa55.js} +2 -2
  294. package/dist/esm/{menu-toggle-util-729c91ad.js → menu-toggle-util-fe83fcf5.js} +1 -1
  295. package/dist/esm/{overlays-8606ae17.js → overlays-8363621c.js} +2 -2
  296. package/dist/esm/purify-76414f98.js +1353 -0
  297. package/dist/esm/sparkle-animation-player.entry.js +1 -1
  298. package/dist/esm/sparkle-code.entry.js +2 -2
  299. package/dist/esm/sparkle-compass-post.entry.js +1 -1
  300. package/dist/esm/sparkle-compass.entry.js +1 -1
  301. package/dist/esm/sparkle-core.js +4 -4
  302. package/dist/esm/sparkle-emoji.entry.js +1 -1
  303. package/dist/esm/sparkle-facilitator-notes-form.entry.js +114 -0
  304. package/dist/esm/sparkle-feed-post.entry.js +1 -1
  305. package/dist/esm/sparkle-feedback.entry.js +19 -6
  306. package/dist/esm/sparkle-goal-form.entry.js +73 -32
  307. package/dist/esm/sparkle-gww-comment-list.entry.js +2 -2
  308. package/dist/esm/sparkle-gww-graph.entry.js +1 -1
  309. package/dist/esm/sparkle-lower-content-nav.entry.js +1 -1
  310. package/dist/esm/sparkle-menu-collapsible.entry.js +2 -2
  311. package/dist/esm/sparkle-modal-image.entry.js +1 -1
  312. package/dist/esm/sparkle-notfound-page.entry.js +1 -1
  313. package/dist/esm/sparkle-overlay.entry.js +88 -0
  314. package/dist/esm/sparkle-poll.entry.js +1 -1
  315. package/dist/esm/sparkle-quiz-container.entry.js +1 -1
  316. package/dist/esm/sparkle-quiz-feedback_5.entry.js +1 -1
  317. package/dist/esm/sparkle-quiz.entry.js +3 -2
  318. package/dist/esm/sparkle-select.entry.js +1 -1
  319. package/dist/esm/sparkle-sidebar.entry.js +39 -0
  320. package/dist/esm/sparkle-tab.entry.js +1 -1
  321. package/dist/esm/sparkle-table-of-contents.entry.js +1 -1
  322. package/dist/esm/sparkle-tabs.entry.js +1 -1
  323. package/dist/esm/sparkle-youtube.entry.js +1 -1
  324. package/dist/esm/{status-tap-83804717.js → status-tap-9221cd79.js} +1 -1
  325. package/dist/esm/stencil-async-content.entry.js +1 -1
  326. package/dist/esm/stencil-route-title.entry.js +2 -2
  327. package/dist/esm/stencil-router-prompt.entry.js +2 -2
  328. package/dist/esm/{student.service-a99d0248.js → student.service-c36c5a75.js} +12 -9
  329. package/dist/sparkle-core/index.esm.js +1 -1
  330. package/dist/sparkle-core/{p-7dbe06d4.entry.js → p-016bf847.entry.js} +1 -1
  331. package/dist/sparkle-core/{p-5f6e7530.entry.js → p-019d9d02.entry.js} +1 -1
  332. package/dist/sparkle-core/{p-10bcf9e6.js → p-03eb2164.js} +1 -1
  333. package/dist/sparkle-core/{p-c94a7e74.entry.js → p-03fd27d0.entry.js} +1 -1
  334. package/dist/sparkle-core/p-07018d29.js +1 -0
  335. package/dist/sparkle-core/p-083d57a6.entry.js +1 -0
  336. package/dist/sparkle-core/p-090f2624.js +1 -0
  337. package/dist/sparkle-core/{p-db5369a3.entry.js → p-09d43bee.entry.js} +1 -1
  338. package/dist/sparkle-core/{p-010fc9dd.entry.js → p-0bd3e81f.entry.js} +1 -1
  339. package/dist/sparkle-core/{p-9c3e864e.js → p-0e1c7c8c.js} +1 -1
  340. package/dist/sparkle-core/{p-b0f4601a.entry.js → p-0efbc0b3.entry.js} +1 -1
  341. package/dist/sparkle-core/{p-cf4068ca.entry.js → p-13b0cdfc.entry.js} +1 -1
  342. package/dist/sparkle-core/{p-b8da1d60.entry.js → p-13c9bf3a.entry.js} +1 -1
  343. package/dist/sparkle-core/{p-5ef558e2.entry.js → p-151afa9e.entry.js} +1 -1
  344. package/dist/sparkle-core/{p-a3115b74.entry.js → p-15d68269.entry.js} +1 -1
  345. package/dist/sparkle-core/p-1af89970.entry.js +1 -0
  346. package/dist/sparkle-core/{p-f7fe74de.entry.js → p-1bf8bed6.entry.js} +1 -1
  347. package/dist/sparkle-core/p-1ca4bf1d.entry.js +1 -0
  348. package/dist/sparkle-core/{p-a0be4cda.entry.js → p-1e866c41.entry.js} +1 -1
  349. package/dist/sparkle-core/p-22926eed.entry.js +1 -0
  350. package/dist/sparkle-core/{p-d9f138ff.entry.js → p-2474bf60.entry.js} +1 -1
  351. package/dist/sparkle-core/{p-c92e20cf.entry.js → p-25bbf9b4.entry.js} +1 -1
  352. package/dist/sparkle-core/p-2a45b732.js +1 -0
  353. package/dist/sparkle-core/{p-ec5f3b00.entry.js → p-2abf4d37.entry.js} +1 -1
  354. package/dist/sparkle-core/{p-380dc0b7.entry.js → p-2c5edb9f.entry.js} +1 -1
  355. package/dist/sparkle-core/p-30b641a4.entry.js +1 -0
  356. package/dist/sparkle-core/p-315af535.js +3 -0
  357. package/dist/sparkle-core/{p-e1d9420b.entry.js → p-359422b6.entry.js} +1 -1
  358. package/dist/sparkle-core/{p-dec1556a.entry.js → p-37bfb548.entry.js} +1 -1
  359. package/dist/sparkle-core/{p-c0f92ba3.entry.js → p-3a29a75b.entry.js} +1 -1
  360. package/dist/sparkle-core/{p-0de00e5e.entry.js → p-3bb55510.entry.js} +1 -1
  361. package/dist/sparkle-core/p-3be0a218.js +1 -0
  362. package/dist/sparkle-core/{p-edde077c.entry.js → p-3cd28c60.entry.js} +1 -1
  363. package/dist/sparkle-core/{p-f3b47828.entry.js → p-3f5d7a08.entry.js} +1 -1
  364. package/dist/sparkle-core/p-40db85ac.entry.js +1 -0
  365. package/dist/sparkle-core/{p-4c3378e6.entry.js → p-447163be.entry.js} +1 -1
  366. package/dist/sparkle-core/{p-3fa3bad0.entry.js → p-49265a8e.entry.js} +1 -1
  367. package/dist/sparkle-core/{p-105a015d.entry.js → p-4950f841.entry.js} +1 -1
  368. package/dist/sparkle-core/p-4d8cb365.entry.js +1 -0
  369. package/dist/sparkle-core/{p-6025bf4c.entry.js → p-4e28ca37.entry.js} +1 -1
  370. package/dist/sparkle-core/{p-0f5def84.entry.js → p-5073899e.entry.js} +1 -1
  371. package/dist/sparkle-core/p-52355989.entry.js +1 -0
  372. package/dist/sparkle-core/{p-a2d7538f.entry.js → p-581ca370.entry.js} +1 -1
  373. package/dist/sparkle-core/{p-0b9b51ad.entry.js → p-5b366c20.entry.js} +1 -1
  374. package/dist/sparkle-core/{p-2f7aca1a.entry.js → p-5dce20b9.entry.js} +1 -1
  375. package/dist/sparkle-core/{p-76b1778e.entry.js → p-6006beec.entry.js} +1 -1
  376. package/dist/sparkle-core/{p-4e1f43b3.entry.js → p-600d04fc.entry.js} +1 -1
  377. package/dist/sparkle-core/{p-be4c1900.entry.js → p-60828739.entry.js} +1 -1
  378. package/dist/sparkle-core/{p-dedb1e25.entry.js → p-6112b180.entry.js} +1 -1
  379. package/dist/sparkle-core/{p-1865fef1.entry.js → p-66e3bd1c.entry.js} +1 -1
  380. package/dist/sparkle-core/{p-90e2a1a4.entry.js → p-66eb6b7a.entry.js} +1 -1
  381. package/dist/sparkle-core/p-67ddec3f.entry.js +1 -0
  382. package/dist/sparkle-core/p-68cb7d41.entry.js +1 -0
  383. package/dist/sparkle-core/{p-31bfcaa8.entry.js → p-68f3c93d.entry.js} +1 -1
  384. package/dist/sparkle-core/p-69cd49de.js +1 -0
  385. package/dist/sparkle-core/{p-be2f0921.js → p-6d506f4e.js} +1 -1
  386. package/dist/sparkle-core/{p-a32fd85b.entry.js → p-6edbdde5.entry.js} +1 -1
  387. package/dist/sparkle-core/p-6f0ecbe3.js +1 -0
  388. package/dist/sparkle-core/{p-b3563859.entry.js → p-73a646fb.entry.js} +1 -1
  389. package/dist/sparkle-core/{p-c9ada4d9.js → p-765b8593.js} +1 -1
  390. package/dist/sparkle-core/{p-fa952096.js → p-770128c8.js} +1 -1
  391. package/dist/sparkle-core/{p-355ace68.entry.js → p-7b37d523.entry.js} +1 -1
  392. package/dist/sparkle-core/{p-950a716b.entry.js → p-7d83d006.entry.js} +1 -1
  393. package/dist/sparkle-core/p-7f3d5344.js +1 -0
  394. package/dist/sparkle-core/{p-6ac166bf.entry.js → p-81651f26.entry.js} +1 -1
  395. package/dist/sparkle-core/{p-163a6f39.entry.js → p-85d31769.entry.js} +1 -1
  396. package/dist/sparkle-core/{p-ce4abe36.entry.js → p-86148067.entry.js} +1 -1
  397. package/dist/sparkle-core/{p-c590df76.entry.js → p-8b5bc1d6.entry.js} +1 -1
  398. package/dist/sparkle-core/{p-d80f9e60.entry.js → p-8c3ee44c.entry.js} +1 -1
  399. package/dist/sparkle-core/{p-5479a3af.entry.js → p-9007a06b.entry.js} +1 -1
  400. package/dist/sparkle-core/{p-7776c809.entry.js → p-90482861.entry.js} +1 -1
  401. package/dist/sparkle-core/{p-0962db66.entry.js → p-92d42c10.entry.js} +1 -1
  402. package/dist/sparkle-core/p-9a443f51.js +1 -0
  403. package/dist/sparkle-core/{p-76613f4e.entry.js → p-9ca56f5d.entry.js} +1 -1
  404. package/dist/sparkle-core/{p-5d0fe13c.entry.js → p-a061537e.entry.js} +1 -1
  405. package/dist/sparkle-core/{p-f3d79061.entry.js → p-a250e2ae.entry.js} +1 -1
  406. package/dist/sparkle-core/{p-a78910ca.entry.js → p-abe2676a.entry.js} +1 -1
  407. package/dist/sparkle-core/{p-dac72f8f.entry.js → p-ac5e5308.entry.js} +1 -1
  408. package/dist/sparkle-core/{p-52c98e23.entry.js → p-afbaad64.entry.js} +1 -1
  409. package/dist/sparkle-core/p-b080c1e3.entry.js +1 -0
  410. package/dist/sparkle-core/p-b226f54d.js +1 -0
  411. package/dist/sparkle-core/p-ba79a250.js +1 -0
  412. package/dist/sparkle-core/{p-7cf984f4.entry.js → p-bac45a26.entry.js} +1 -1
  413. package/dist/sparkle-core/p-bbe5977b.entry.js +1 -0
  414. package/dist/sparkle-core/p-bc568dcb.js +1 -0
  415. package/dist/sparkle-core/p-bccd9036.entry.js +1 -0
  416. package/dist/sparkle-core/{p-47c18479.entry.js → p-c163c16d.entry.js} +1 -1
  417. package/dist/sparkle-core/{p-a1227663.entry.js → p-c3166584.entry.js} +1 -1
  418. package/dist/sparkle-core/{p-1f06b38f.entry.js → p-c34269ae.entry.js} +1 -1
  419. package/dist/sparkle-core/{p-1cbcfe63.js → p-c466ee32.js} +1 -1
  420. package/dist/sparkle-core/{p-13cf6a32.entry.js → p-c6710592.entry.js} +1 -1
  421. package/dist/sparkle-core/{p-1f20b217.entry.js → p-c7022391.entry.js} +1 -1
  422. package/dist/sparkle-core/{p-2734a99d.entry.js → p-c70b9765.entry.js} +1 -1
  423. package/dist/sparkle-core/{p-50e824ef.entry.js → p-c82b05e0.entry.js} +1 -1
  424. package/dist/sparkle-core/{p-3d200504.entry.js → p-cf2332bb.entry.js} +1 -1
  425. package/dist/sparkle-core/{p-268eb6c0.entry.js → p-d069b834.entry.js} +1 -1
  426. package/dist/sparkle-core/{p-fec7a97a.js → p-d4ad796c.js} +1 -1
  427. package/dist/sparkle-core/{p-fa192cf5.entry.js → p-d4d9aa4a.entry.js} +1 -1
  428. package/dist/sparkle-core/p-d5023db0.entry.js +1 -0
  429. package/dist/sparkle-core/p-d6152660.entry.js +1 -0
  430. package/dist/sparkle-core/{p-3d23a42a.js → p-d63406d8.js} +1 -1
  431. package/dist/sparkle-core/{p-63915a84.entry.js → p-dba672d5.entry.js} +1 -1
  432. package/dist/sparkle-core/{p-20be4996.entry.js → p-dd73d01a.entry.js} +1 -1
  433. package/dist/sparkle-core/p-de33872d.entry.js +1 -0
  434. package/dist/sparkle-core/p-dee2128a.entry.js +1 -0
  435. package/dist/sparkle-core/{p-2b5cc8a6.entry.js → p-df07e132.entry.js} +1 -1
  436. package/dist/sparkle-core/p-e5d5aaa5.js +1 -0
  437. package/dist/sparkle-core/{p-511b5347.entry.js → p-e72c6d87.entry.js} +1 -1
  438. package/dist/sparkle-core/{p-bcf3d05a.entry.js → p-e818b11d.entry.js} +1 -1
  439. package/dist/sparkle-core/{p-7dd253f8.entry.js → p-e8df6ea6.entry.js} +1 -1
  440. package/dist/sparkle-core/{p-4c7d0f6b.entry.js → p-e975924a.entry.js} +1 -1
  441. package/dist/sparkle-core/{p-46757cdc.entry.js → p-eb56aa20.entry.js} +1 -1
  442. package/dist/sparkle-core/{p-97e03cb4.js → p-ef2a2172.js} +1 -1
  443. package/dist/sparkle-core/p-f1a4ab33.entry.js +1 -0
  444. package/dist/sparkle-core/p-f43ac631.entry.js +1 -0
  445. package/dist/sparkle-core/{p-495e321e.entry.js → p-f72a6e6d.entry.js} +1 -1
  446. package/dist/sparkle-core/{p-14a861e1.entry.js → p-f9143c5d.entry.js} +1 -1
  447. package/dist/sparkle-core/p-fc739e6b.js +483 -0
  448. package/dist/sparkle-core/{p-8d1ec1bb.entry.js → p-fd62283e.entry.js} +1 -1
  449. package/dist/sparkle-core/{p-396c0198.entry.js → p-fef71e0e.entry.js} +1 -1
  450. package/dist/sparkle-core/sparkle-core.css +1 -1
  451. package/dist/sparkle-core/sparkle-core.esm.js +1 -1
  452. package/dist/types/components/compass-svg/compass-svg.d.ts +34 -0
  453. package/dist/types/components/layout/facilitator/export-lessons/export-lessons.d.ts +16 -0
  454. package/dist/types/components/layout/facilitator/facilitator-dashboard/facilitator-dashboard.d.ts +22 -0
  455. package/dist/types/components/layout/facilitator/facilitator-notes/facilitator-notes-form/facilitator-notes-form.d.ts +24 -0
  456. package/dist/types/components/layout/facilitator/facilitator-notes/facilitator-notes.d.ts +9 -0
  457. package/dist/types/components/layout/facilitator/facilitator-page.d.ts +19 -2
  458. package/dist/types/components/layout/facilitator/online-students/online-students.d.ts +6 -0
  459. package/dist/types/components/layout/page/page.d.ts +8 -0
  460. package/dist/types/components/layout/page/templates/index.d.ts +1 -0
  461. package/dist/types/components/layout/page/templates/pdf.d.ts +2 -0
  462. package/dist/types/components/mini-apps/sparkle-goals/sparkle-goal-form/sparkle-goal-form.d.ts +6 -5
  463. package/dist/types/components/mini-apps/sparkle-goals/sparkle-goal-item/sparkle-goal-item.d.ts +1 -0
  464. package/dist/types/components/mini-apps/sparkle-goals/sparkle-goal-progress/sparkle-goal-progress.d.ts +4 -0
  465. package/dist/types/components/mini-apps/sparkle-goals/sparkle-goals.d.ts +3 -3
  466. package/dist/types/components/mini-apps/sparkle-gww/sparkle-gww-item/sparkle-gww-item.d.ts +9 -2
  467. package/dist/types/components/mini-apps/sparkle-gww/sparkle-gww.d.ts +4 -2
  468. package/dist/types/components/mini-apps/sparkle-health/sparkle-health.d.ts +4 -1
  469. package/dist/types/components/mini-apps/sparkle-mood/sparkle-mood.d.ts +3 -0
  470. package/dist/types/components/sparkle-course-root/sparkle-course-root.d.ts +3 -3
  471. package/dist/types/components/sparkle-forgot-password/sparkle-forgot-password.d.ts +3 -0
  472. package/dist/types/components/sparkle-reset-password/sparkle-reset-password.d.ts +22 -0
  473. package/dist/types/components/sparkle-root/sparkle-root.d.ts +4 -0
  474. package/dist/types/components/sparkle-signup/sparkle-signup.d.ts +1 -1
  475. package/dist/types/components/sparkle-user-profile/sparkle-user-profile.d.ts +4 -0
  476. package/dist/types/components/sparkle-validation-error/sparkle-validation-error.d.ts +7 -0
  477. package/dist/types/components.d.ts +141 -6
  478. package/dist/types/models/api.model.d.ts +8 -0
  479. package/dist/types/models/class.model.d.ts +59 -6
  480. package/dist/types/models/facilitator-dashboard.model.d.ts +61 -0
  481. package/dist/types/models/goal.model.d.ts +3 -2
  482. package/dist/types/services/account.service.d.ts +11 -2
  483. package/dist/types/services/appdata.service.d.ts +13 -0
  484. package/dist/types/services/facilitator.service.d.ts +22 -0
  485. package/dist/types/services/feed.service.d.ts +10 -0
  486. package/dist/types/services/httpService.d.ts +1 -0
  487. package/dist/types/services/media.service.d.ts +8 -0
  488. package/dist/types/services/signalR.service.d.ts +10 -0
  489. package/dist/types/services/student.service.d.ts +1 -1
  490. package/dist/types/stores/auth.store.d.ts +1 -0
  491. package/dist/types/stores/facilitator.store.d.ts +11 -2
  492. package/dist/types/stores/feed.store.d.ts +3 -1
  493. package/dist/types/stores/goal.store.d.ts +4 -1
  494. package/dist/types/stores/media.store.d.ts +8 -0
  495. package/dist/types/stores/signalR.store.d.ts +10 -0
  496. package/dist/types/stores/user.store.d.ts +3 -1
  497. package/dist/types/util.d.ts +11 -0
  498. package/package.json +5 -1
  499. package/dist/cjs/header-mobile-collapse_51.cjs.entry.js +0 -5245
  500. package/dist/cjs/ion-card-content.cjs.entry.js +0 -30
  501. package/dist/cjs/ion-card.cjs.entry.js +0 -70
  502. package/dist/cjs/ion-header.cjs.entry.js +0 -264
  503. package/dist/cjs/ion-spinner.cjs.entry.js +0 -64
  504. package/dist/cjs/sparkle-page-footer.cjs.entry.js +0 -27
  505. package/dist/cjs/sparkle-pagination.cjs.entry.js +0 -31
  506. package/dist/cjs/util-dd1e6ff1.js +0 -23
  507. package/dist/collection/assets/lib/sparkle.js +0 -524
  508. package/dist/collection/assets/lib/sparkle.signalr-client.js +0 -135
  509. package/dist/collection/pages/course/welcome-to-mind-body/introduction/animation/m4l1p1.js +0 -2884
  510. package/dist/esm/header-mobile-collapse_51.entry.js +0 -5191
  511. package/dist/esm/ion-card-content.entry.js +0 -26
  512. package/dist/esm/ion-card.entry.js +0 -66
  513. package/dist/esm/ion-header.entry.js +0 -260
  514. package/dist/esm/ion-spinner.entry.js +0 -60
  515. package/dist/esm/sparkle-page-footer.entry.js +0 -23
  516. package/dist/esm/sparkle-pagination.entry.js +0 -27
  517. package/dist/esm/util-0e88110d.js +0 -17
  518. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/button/button.css +0 -49
  519. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/cards/card/card.css +0 -208
  520. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/cards/cards.css +0 -31
  521. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/code/code.css +0 -245
  522. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/dropdown/dropdown.css +0 -111
  523. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/header/header-mobile-collapse/header-mobile-collapse.css +0 -255
  524. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/header/header.css +0 -232
  525. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/menu/collapsible/collapsible.css +0 -3
  526. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/menu/menu-toggle/menu-toggle.css +0 -25
  527. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/menu/menu.css +0 -71
  528. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/nav/nav.css +0 -194
  529. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/notfound-page/notfound-page.css +0 -4
  530. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/overlay/overlay.css +0 -67
  531. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/page-footer/page-footer.css +0 -18
  532. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/pagination/pagination.css +0 -89
  533. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/select/select.css +0 -52
  534. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/sidebar/sidebar.css +0 -98
  535. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/sparkle-lower-content-nav/sparkle-lower-content-nav.css +0 -8
  536. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/table-of-contents/table-of-contents.css +0 -37
  537. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/tabs/tabs.css +0 -64
  538. package/dist/sparkle-core/p-05928d94.js +0 -1
  539. package/dist/sparkle-core/p-0986aad3.entry.js +0 -1
  540. package/dist/sparkle-core/p-0df2b695.entry.js +0 -1
  541. package/dist/sparkle-core/p-12e5f5bf.entry.js +0 -1
  542. package/dist/sparkle-core/p-14a9aad3.js +0 -1
  543. package/dist/sparkle-core/p-1b5d4ef9.js +0 -1
  544. package/dist/sparkle-core/p-1bd160a6.entry.js +0 -1
  545. package/dist/sparkle-core/p-1e4381e5.entry.js +0 -1
  546. package/dist/sparkle-core/p-1f0bcf05.entry.js +0 -1
  547. package/dist/sparkle-core/p-22ae16f5.entry.js +0 -1
  548. package/dist/sparkle-core/p-44a2c21c.js +0 -1
  549. package/dist/sparkle-core/p-57076f68.entry.js +0 -1
  550. package/dist/sparkle-core/p-58ede27f.js +0 -1
  551. package/dist/sparkle-core/p-5c36d43b.entry.js +0 -1
  552. package/dist/sparkle-core/p-5c4eb08a.entry.js +0 -1
  553. package/dist/sparkle-core/p-5dd83ae8.entry.js +0 -1
  554. package/dist/sparkle-core/p-68c1261b.js +0 -1
  555. package/dist/sparkle-core/p-70a02fac.entry.js +0 -1
  556. package/dist/sparkle-core/p-8a3f8ce0.entry.js +0 -1
  557. package/dist/sparkle-core/p-9563bf6c.js +0 -1
  558. package/dist/sparkle-core/p-a220da33.entry.js +0 -1
  559. package/dist/sparkle-core/p-ad765e98.entry.js +0 -1
  560. package/dist/sparkle-core/p-b735f189.js +0 -1
  561. package/dist/sparkle-core/p-c4bbaebc.entry.js +0 -1
  562. package/dist/sparkle-core/p-cb119ac9.entry.js +0 -1
  563. package/dist/sparkle-core/p-cee6f4ba.entry.js +0 -1
  564. package/dist/sparkle-core/p-e72084e9.entry.js +0 -1
  565. package/dist/sparkle-core/p-f3a69821.entry.js +0 -1
  566. package/dist/sparkle-core/p-fbbfa021.js +0 -1
@@ -2,6 +2,7 @@ import axios from 'axios';
2
2
  import qs from 'qs';
3
3
  import { toastController } from '@ionic/core';
4
4
  import { TocStore } from '../stores/toc.store';
5
+ import { EnvironmentConfigService } from '.';
5
6
  export class HttpService {
6
7
  constructor() { }
7
8
  static getInstance() {
@@ -11,8 +12,9 @@ export class HttpService {
11
12
  return HttpService.instance;
12
13
  }
13
14
  static init() {
15
+ var sparkleConfig = EnvironmentConfigService.getInstance().get('sparkle');
14
16
  this.http = axios.create({
15
- baseURL: sparkle.config.apiUrl,
17
+ baseURL: sparkleConfig.apiUrl,
16
18
  headers: {
17
19
  'Content-Type': 'application/json'
18
20
  },
@@ -24,11 +26,12 @@ export class HttpService {
24
26
  },
25
27
  });
26
28
  this.http.interceptors.request.use(function (config) {
27
- if (!!sparkle && !!sparkle.auth.getToken()) {
29
+ if (!!sparkleConfig && !!sparkleConfig.auth && !!sparkleConfig.auth.getToken()) {
28
30
  config.headers.common['Authorization'] = 'Bearer ' + sparkle.auth.getToken();
29
31
  }
30
32
  // //config.headers.common['.AspNetCore.Culture'] = sparkle.utils.getCookieValue('Sparkle.Localization.CultureName');
31
- config.headers.common['Sparkle.CourseId'] = sparkle.config.courseId;
33
+ config.headers.common['Sparkle.CourseId'] = sparkleConfig.courseId;
34
+ console.log(TocStore.state.pageInfo);
32
35
  if (TocStore.state.pageInfo) {
33
36
  config.headers.common['Sparkle.CourseModuleId'] = TocStore.state.pageInfo.courseModuleId;
34
37
  config.headers.common['Sparkle.SessionId'] = TocStore.state.pageInfo.sessionId;
@@ -58,6 +61,16 @@ export class HttpService {
58
61
  toast.present();
59
62
  return Promise.reject(error);
60
63
  }
64
+ else if (error.response && error.response.data && error.response.status == 400) {
65
+ // The request was made and the server responded with a status code
66
+ // that falls out of the range of 2xx
67
+ const toast = await toastController.create({
68
+ message: error.response.data.Message,
69
+ duration: 3000
70
+ });
71
+ toast.present();
72
+ return Promise.reject(error.response.data);
73
+ }
61
74
  else if (error.response && error.response.data && error.response.data.Message) {
62
75
  // The request was made and the server responded with a status code
63
76
  // that falls out of the range of 2xx
@@ -0,0 +1,29 @@
1
+ import { HttpService } from './httpService';
2
+ import mediaStore from '../stores/media.store';
3
+ export class MediaService {
4
+ constructor() { }
5
+ static getInstance() {
6
+ if (!MediaService.instance) {
7
+ MediaService.instance = new MediaService();
8
+ }
9
+ return MediaService.instance;
10
+ }
11
+ async uploadImage(files) {
12
+ let formData = new FormData();
13
+ for (let i = 0; i < files.length; i++) {
14
+ formData.append("uploads[]", files[i], files[i].name);
15
+ }
16
+ mediaStore.state.mediaUploading = true;
17
+ let result;
18
+ try {
19
+ result = await HttpService.http.post(`api/v1/MediaItems/Upload`, formData);
20
+ if (result) {
21
+ mediaStore.state.mediaUploading = false;
22
+ }
23
+ }
24
+ catch (e) {
25
+ mediaStore.state.mediaUploading = false;
26
+ }
27
+ return result;
28
+ }
29
+ }
@@ -0,0 +1,85 @@
1
+ import * as signalR from '@microsoft/signalr';
2
+ import { EnvironmentConfigService } from '.';
3
+ import signalRStore from '../stores/signalR.store';
4
+ export class SignalRService {
5
+ constructor() {
6
+ console.log("Starting signalR");
7
+ //TODO: update courseClassId
8
+ var defaultCourseClassId = 1;
9
+ var sparkleConfig = EnvironmentConfigService.getInstance().get('sparkle');
10
+ this.connection = new signalR.HubConnectionBuilder()
11
+ .withUrl(`${sparkleConfig.apiUrl}hubs/sparkle?url=${window.location.href}${defaultCourseClassId > 0 ? "&courseClassId=" + defaultCourseClassId : ""}`, {
12
+ accessTokenFactory: () => this.getToken(),
13
+ skipNegotiation: true,
14
+ transport: signalR.HttpTransportType.WebSockets
15
+ })
16
+ .configureLogging(signalR.LogLevel.Debug)
17
+ //.withAutomaticReconnect()
18
+ .withAutomaticReconnect({
19
+ nextRetryDelayInMilliseconds: retryContext => {
20
+ if (retryContext.elapsedMilliseconds < 60000) {
21
+ // If we've been reconnecting for less than 60 seconds so far,
22
+ // wait between 0 and 10 seconds before the next reconnect attempt.
23
+ return Math.random() * 10000;
24
+ }
25
+ else {
26
+ // If we've been reconnecting for more than 60 seconds so far, stop reconnecting.
27
+ return null;
28
+ }
29
+ }
30
+ })
31
+ .build();
32
+ this.connection.on("SendMessage", (user, data) => {
33
+ let payload = JSON.parse(data);
34
+ console.log("Server said ", user, payload);
35
+ });
36
+ this.connection.onclose(error => {
37
+ });
38
+ this.connection.onreconnecting(error => {
39
+ console.assert(this.connection.state === signalR.HubConnectionState.Reconnecting);
40
+ });
41
+ this.connection.onreconnected(connectionId => {
42
+ console.assert(this.connection.state === signalR.HubConnectionState.Connected);
43
+ });
44
+ }
45
+ static getInstance() {
46
+ if (!SignalRService.instance) {
47
+ SignalRService.instance = new SignalRService();
48
+ }
49
+ return SignalRService.instance;
50
+ }
51
+ async start() {
52
+ console.log("start");
53
+ try {
54
+ signalRStore.state.connecting = true;
55
+ signalRStore.state.connected = !signalRStore.state.connecting;
56
+ await this.connection.start();
57
+ console.log(this.connection);
58
+ signalRStore.state.connecting = false;
59
+ signalRStore.state.connected = !signalRStore.state.connecting;
60
+ console.assert(this.connection.state === signalR.HubConnectionState.Connected);
61
+ console.log("SignalR Connected.");
62
+ }
63
+ catch (err) {
64
+ console.assert(this.connection.state === signalR.HubConnectionState.Disconnected);
65
+ console.log(err);
66
+ }
67
+ }
68
+ ;
69
+ async callSignalR(hub, data) {
70
+ console.log('signalR invoke', hub, this.connection.connectionState);
71
+ if (!this.getToken()) {
72
+ console.log("Cannot connect to signalR. Not logged in");
73
+ return;
74
+ }
75
+ this.connection.invoke(hub, JSON.stringify(data));
76
+ console.log('After signalR invoke', hub, this.connection.connectionState);
77
+ }
78
+ getToken() {
79
+ var sparkleConfig = EnvironmentConfigService.getInstance().get('sparkle');
80
+ if (!!sparkleConfig && !!sparkleConfig.auth && !!sparkleConfig.auth.getToken()) {
81
+ return sparkle.auth.getToken();
82
+ }
83
+ return null;
84
+ }
85
+ }
@@ -35,17 +35,18 @@ export class StudentService {
35
35
  userStore.state.user.ProfileImage = result.Data.ProfileImage;
36
36
  userStore.state.user.IsVerified = result.Data.IsVerified;
37
37
  userStore.state.user.Roles = result.Data.Roles;
38
+ userStore.state.user.FacilitatorClassList = result.Data.FacilitatorClassList;
38
39
  }
39
40
  return result;
40
41
  }
41
42
  async updateProfile(updateProfileInput) {
42
- let result = await HttpService.http.post('api/Account/UpdateProfile', updateProfileInput);
43
- // if (result) {
44
- // userStore.state.user.FirstName = result.Data.FirstName;
45
- // userStore.state.user.LastName = result.Data.LastName;
46
- // userStore.state.user.ProfileText = result.Data.ProfileText;
47
- // userStore.state.user.ProfileImage = result.Data.ProfileImage;
48
- // }
43
+ userStore.state.updateLoading = true;
44
+ let result = await HttpService.http.post('api/Account/update-profile', updateProfileInput);
45
+ console.log('after fetch', result);
46
+ if (result) {
47
+ userStore.state.updateLoading = false;
48
+ userStore.state.user = Object.assign(Object.assign({}, userStore.state.user), { FirstName: result.Data.FirstName, LastName: result.Data.LastName, ProfileText: result.Data.ProfileText, ProfileImage: result.Data.ProfileImage });
49
+ }
49
50
  return result;
50
51
  }
51
52
  async submitFeedback(feedbackInput) {
@@ -2,7 +2,8 @@ import { createStore } from '@stencil/store';
2
2
  const { state, onChange, reset } = createStore({
3
3
  authUser: null,
4
4
  bearer: 'Bearer ',
5
- isAuthenticated: false
5
+ isAuthenticated: false,
6
+ loading: false
6
7
  });
7
8
  onChange('authUser', (authUser) => {
8
9
  state.bearer = `Bearer ${authUser ? authUser.JWToken : ''}`;
@@ -1,6 +1,15 @@
1
1
  import { createStore } from '@stencil/store';
2
+ ;
2
3
  const { state, onChange } = createStore({
3
- notes: [],
4
- allNotes: []
4
+ pageNotes: [],
5
+ allPageNotes: [],
6
+ onlineStudents: [],
7
+ dashboardData: null,
8
+ isConnected: false,
9
+ loading: false,
10
+ dashboardDataLoading: false,
11
+ notesLoading: false,
12
+ classes: [],
13
+ classesLoading: false,
5
14
  });
6
15
  export default { state, onChange };
@@ -1,6 +1,8 @@
1
1
  import { createStore } from '@stencil/store';
2
2
  const { state, reset } = createStore({
3
3
  posts: [],
4
- lastPageReached: false
4
+ postsLoading: false,
5
+ createPostLoading: false,
6
+ postIdLoading: null
5
7
  });
6
8
  export default { state, reset };
@@ -1,5 +1,7 @@
1
1
  import { createStore } from '@stencil/store';
2
2
  const { state, onChange } = createStore({
3
3
  goals: [],
4
+ goalsLoading: false,
5
+ goalLoading: false
4
6
  });
5
7
  export default { state, onChange };
@@ -0,0 +1,5 @@
1
+ import { createStore } from '@stencil/store';
2
+ const { state, reset } = createStore({
3
+ mediaUploading: false,
4
+ });
5
+ export default { state, reset };
@@ -0,0 +1,6 @@
1
+ import { createStore } from '@stencil/store';
2
+ const { state, onChange, reset } = createStore({
3
+ connecting: false,
4
+ connected: false
5
+ });
6
+ export default { state, onChange, reset };
@@ -6,9 +6,11 @@ const { state, onChange, reset } = createStore({
6
6
  ProfileText: '',
7
7
  ProfileImage: '',
8
8
  IsVerified: false,
9
- Roles: []
9
+ Roles: [],
10
+ FacilitatorClassList: []
10
11
  },
11
12
  loaded: false,
13
+ updateLoading: false,
12
14
  enrollmentList: [],
13
15
  });
14
16
  export default { state, onChange, reset };
@@ -1,3 +1,4 @@
1
+ import { format } from 'date-fns';
1
2
  export function slugify(text) {
2
3
  return text.toLowerCase().replace(/[^\w]+/g, '-');
3
4
  }
@@ -13,17 +14,38 @@ export const debounce = (fn, wait) => {
13
14
  scheduled = setTimeout(fn, wait, ...args);
14
15
  };
15
16
  };
17
+ export function GetGoalAppData(title, description, category, percentage, goalText) {
18
+ return {
19
+ Name: title,
20
+ Description: description,
21
+ Category: category,
22
+ Percentage: percentage,
23
+ GoalText: goalText
24
+ };
25
+ }
16
26
  export function MyMoodTemplate(feeling, intensity, location) {
17
- return `Mood : ${feeling} and Level: ${intensity} <gi-mood-image src="${location}"></gi-mood-image>`;
27
+ return `Mood : ${feeling} and Level: ${intensity} <img src="${location}" />`;
28
+ }
29
+ export function MyMoodTemplateJSON(feeling, intensity, location) {
30
+ return JSON.stringify({ Mood: feeling, Level: intensity, MoodImage: location });
18
31
  }
19
32
  export function MyHealthTemplate(heartRate) {
20
33
  return `Heart rate ${heartRate} bpm`;
21
34
  }
35
+ export function MyHealthTemplateJSON(heartRate) {
36
+ return JSON.stringify({ HearthRate: heartRate });
37
+ }
22
38
  export function MyGoalTemplate(goalName, text, progress) {
23
39
  return `Goal update: ${goalName} ${text} Progress: ${progress}`;
24
40
  }
41
+ export function MyGoalTemplateJSON(goalName, goalUpdateText, progress) {
42
+ return JSON.stringify({ GoalTitle: goalName, GoalText: goalUpdateText, GoalProgress: progress });
43
+ }
25
44
  export class SparkleGlobal {
26
45
  }
27
46
  SparkleGlobal.MY_GOALS_APP_ID = 1;
28
47
  SparkleGlobal.MY_HEALTH_APP_ID = 2;
29
48
  SparkleGlobal.MY_MOOD_APP_ID = 3;
49
+ export function date(date) {
50
+ return format(new Date(date), 'DD MMM YYYY');
51
+ }
@@ -1,5 +1,5 @@
1
- import { a as getAssetPath, h } from './index-24b18689.js';
2
- import { c as createStore, H as HttpService } from './httpService-010551aa.js';
1
+ import { a as getAssetPath, h } from './index-55fc9f5e.js';
2
+ import { A as AuthStore, H as HttpService } from './auth.store-dd944bc2.js';
3
3
 
4
4
  //import * as abpTypings from '../lib/abp';
5
5
  class Utils {
@@ -94,6 +94,7 @@ class Utils {
94
94
  }
95
95
  const Util = new Utils();
96
96
 
97
+ //declare var sparkle: any;
97
98
  async function setupConfig(config) {
98
99
  if (!window) {
99
100
  return;
@@ -106,7 +107,9 @@ async function setupConfig(config) {
106
107
  }
107
108
  win.Sparkle = win.Sparkle || {};
108
109
  win.Sparkle.config = Object.assign(Object.assign({}, win.Sparkle.config), config);
109
- sparkle.config = Object.assign({}, config.sparkle);
110
+ // sparkle.config = {
111
+ // ...config.sparkle
112
+ // };
110
113
  return win.Sparkle.config;
111
114
  }
112
115
  async function initSetupConfig(config) {
@@ -162,17 +165,6 @@ const AppConsts = {
162
165
  }
163
166
  };
164
167
 
165
- const { state, onChange, reset } = createStore({
166
- authUser: null,
167
- bearer: 'Bearer ',
168
- isAuthenticated: false
169
- });
170
- onChange('authUser', (authUser) => {
171
- state.bearer = `Bearer ${authUser ? authUser.JWToken : ''}`;
172
- state.isAuthenticated = authUser && !!authUser.Id;
173
- });
174
- const AuthStore = { state, onChange, reset };
175
-
176
168
  class AuthService {
177
169
  constructor() { }
178
170
  static getInstance() {
@@ -185,31 +177,40 @@ class AuthService {
185
177
  const headers = {
186
178
  'Content-Type': 'application/json',
187
179
  };
188
- let result = await HttpService.http.post('api/Account/Authenticate', authenticationInput, {
189
- headers: headers
190
- });
191
- if (result) {
192
- const authData = result.Data;
193
- const authUser = {
194
- Id: authData.Id,
195
- UserName: authData.UserName,
196
- Email: authData.Email,
197
- Roles: authData.Roles,
198
- IsVerified: authData.IsVerified,
199
- JWToken: authData.JWToken,
200
- IssuedOn: authData.IssuedOn,
201
- ExpiresOn: authData.ExpiresOn,
202
- RefreshToken: authData.RefreshToken,
203
- PhotoUrl: "",
204
- IsFacilitator: authData.Roles.indexOf("Facilitator") > 0
205
- };
206
- const expireDate = authenticationInput.RememberClient ? new Date(authUser.ExpiresOn) : undefined;
207
- sparkle.auth.setToken(authUser.JWToken, expireDate);
208
- //TODO: change authUser.JWToken to encrypted
209
- sparkle.utils.setCookieValue(AppConsts.authorization.encrptedAuthTokenName, authUser.JWToken, expireDate, sparkle.appPath);
210
- await set(AppConsts.AUTH_USER_LOCALSTORAGE, authUser);
211
- AuthStore.state.authUser = Object.assign({}, authUser);
212
- return authUser;
180
+ AuthStore.state.loading = true;
181
+ let result;
182
+ try {
183
+ result = await HttpService.http.post('api/Account/Authenticate', authenticationInput, {
184
+ headers: headers
185
+ });
186
+ if (result) {
187
+ const authData = result.Data;
188
+ const authUser = {
189
+ Id: authData.Id,
190
+ UserName: authData.UserName,
191
+ Email: authData.Email,
192
+ Roles: authData.Roles,
193
+ IsVerified: authData.IsVerified,
194
+ JWToken: authData.JWToken,
195
+ IssuedOn: authData.IssuedOn,
196
+ ExpiresOn: authData.ExpiresOn,
197
+ RefreshToken: authData.RefreshToken,
198
+ PhotoUrl: "",
199
+ IsFacilitator: authData.Roles.indexOf("Facilitator") > 0
200
+ };
201
+ const expireDate = authenticationInput.RememberClient ? new Date(authUser.ExpiresOn) : undefined;
202
+ sparkle.auth.setToken(authUser.JWToken, expireDate);
203
+ //TODO: change authUser.JWToken to encrypted
204
+ sparkle.utils.setCookieValue(AppConsts.authorization.encrptedAuthTokenName, authUser.JWToken, expireDate, sparkle.appPath);
205
+ await set(AppConsts.AUTH_USER_LOCALSTORAGE, authUser);
206
+ AuthStore.state.authUser = Object.assign({}, authUser);
207
+ AuthStore.state.loading = false;
208
+ return authUser;
209
+ }
210
+ }
211
+ catch (e) {
212
+ AuthStore.state.loading = false;
213
+ return e;
213
214
  }
214
215
  }
215
216
  async signOut() {
@@ -253,4 +254,4 @@ const Route = (_a) => {
253
254
  };
254
255
  const PrivateRoute = Route;
255
256
 
256
- export { AuthService as A, PrivateRoute as P, AuthStore as a, initSetupConfig as i, setupConfig as s };
257
+ export { AuthService as A, PrivateRoute as P, initSetupConfig as i, setupConfig as s };
@@ -1,4 +1,4 @@
1
- import { h } from './index-24b18689.js';
1
+ import { h } from './index-55fc9f5e.js';
2
2
 
3
3
  const createProviderConsumer = (defaultState, consumerRender) => {
4
4
  let listeners = new Map();
@@ -1,4 +1,4 @@
1
- import { i as ionicCoreGlobalScript } from './ionic-global-fddd88d0.js';
1
+ import { i as ionicCoreGlobalScript } from './ionic-global-1f9287cc.js';
2
2
 
3
3
  const globalScripts = () => {
4
4
  ionicCoreGlobalScript();
@@ -1,28 +1,4 @@
1
- class EnvironmentConfigService {
2
- constructor() {
3
- // Private constructor, singleton
4
- this.init();
5
- }
6
- static getInstance() {
7
- if (!EnvironmentConfigService.instance) {
8
- EnvironmentConfigService.instance = new EnvironmentConfigService();
9
- }
10
- return EnvironmentConfigService.instance;
11
- }
12
- init() {
13
- if (!window) {
14
- return;
15
- }
16
- const win = window;
17
- const Sparkle = win.Sparkle;
18
- console.log('getting info');
19
- this.m = new Map(Object.entries(Sparkle.config));
20
- }
21
- get(key, fallback) {
22
- const value = this.m.get(key);
23
- return value !== undefined ? value : fallback;
24
- }
25
- }
1
+ import { E as EnvironmentConfigService } from './environment-config.service-2b5d692b.js';
26
2
 
27
3
  class AssetsService {
28
4
  constructor() {
@@ -69,4 +45,4 @@ class AssetsService {
69
45
  }
70
46
  }
71
47
 
72
- export { AssetsService as A, EnvironmentConfigService as E };
48
+ export { AssetsService as A };
@@ -1,5 +1,6 @@
1
- import { c as getRenderingRef, f as forceUpdate } from './index-24b18689.js';
2
- import { t as toastController } from './overlays-8606ae17.js';
1
+ import { c as getRenderingRef, f as forceUpdate } from './index-55fc9f5e.js';
2
+ import { E as EnvironmentConfigService } from './environment-config.service-2b5d692b.js';
3
+ import { t as toastController } from './overlays-8363621c.js';
3
4
 
4
5
  var bind = function bind(fn, thisArg) {
5
6
  return function wrap() {
@@ -2448,8 +2449,9 @@ class HttpService {
2448
2449
  return HttpService.instance;
2449
2450
  }
2450
2451
  static init() {
2452
+ var sparkleConfig = EnvironmentConfigService.getInstance().get('sparkle');
2451
2453
  this.http = axios$1.create({
2452
- baseURL: sparkle.config.apiUrl,
2454
+ baseURL: sparkleConfig.apiUrl,
2453
2455
  headers: {
2454
2456
  'Content-Type': 'application/json'
2455
2457
  },
@@ -2461,11 +2463,12 @@ class HttpService {
2461
2463
  },
2462
2464
  });
2463
2465
  this.http.interceptors.request.use(function (config) {
2464
- if (!!sparkle && !!sparkle.auth.getToken()) {
2466
+ if (!!sparkleConfig && !!sparkleConfig.auth && !!sparkleConfig.auth.getToken()) {
2465
2467
  config.headers.common['Authorization'] = 'Bearer ' + sparkle.auth.getToken();
2466
2468
  }
2467
2469
  // //config.headers.common['.AspNetCore.Culture'] = sparkle.utils.getCookieValue('Sparkle.Localization.CultureName');
2468
- config.headers.common['Sparkle.CourseId'] = sparkle.config.courseId;
2470
+ config.headers.common['Sparkle.CourseId'] = sparkleConfig.courseId;
2471
+ console.log(TocStore.state.pageInfo);
2469
2472
  if (TocStore.state.pageInfo) {
2470
2473
  config.headers.common['Sparkle.CourseModuleId'] = TocStore.state.pageInfo.courseModuleId;
2471
2474
  config.headers.common['Sparkle.SessionId'] = TocStore.state.pageInfo.sessionId;
@@ -2495,6 +2498,16 @@ class HttpService {
2495
2498
  toast.present();
2496
2499
  return Promise.reject(error);
2497
2500
  }
2501
+ else if (error.response && error.response.data && error.response.status == 400) {
2502
+ // The request was made and the server responded with a status code
2503
+ // that falls out of the range of 2xx
2504
+ const toast = await toastController.create({
2505
+ message: error.response.data.Message,
2506
+ duration: 3000
2507
+ });
2508
+ toast.present();
2509
+ return Promise.reject(error.response.data);
2510
+ }
2498
2511
  else if (error.response && error.response.data && error.response.data.Message) {
2499
2512
  // The request was made and the server responded with a status code
2500
2513
  // that falls out of the range of 2xx
@@ -2524,4 +2537,16 @@ class HttpService {
2524
2537
  }
2525
2538
  }
2526
2539
 
2527
- export { HttpService as H, TocStore as T, createStore as c };
2540
+ const { state: state$1, onChange: onChange$1, reset: reset$1 } = createStore({
2541
+ authUser: null,
2542
+ bearer: 'Bearer ',
2543
+ isAuthenticated: false,
2544
+ loading: false
2545
+ });
2546
+ onChange$1('authUser', (authUser) => {
2547
+ state$1.bearer = `Bearer ${authUser ? authUser.JWToken : ''}`;
2548
+ state$1.isAuthenticated = authUser && !!authUser.Id;
2549
+ });
2550
+ const AuthStore = { state: state$1, onChange: onChange$1, reset: reset$1 };
2551
+
2552
+ export { AuthStore as A, HttpService as H, TocStore as T, createStore as c };
@@ -1,4 +1,4 @@
1
- import { w as writeTask } from './index-24b18689.js';
1
+ import { w as writeTask } from './index-55fc9f5e.js';
2
2
  import { createGesture } from './index-b2ad0f1a.js';
3
3
  import { h as hapticSelectionEnd, a as hapticSelectionStart, b as hapticSelectionChanged } from './haptic-67928174.js';
4
4