@sparkle-learning/core 0.0.16 → 0.0.20

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 (554) hide show
  1. package/dist/cjs/{PrivateRoute-946ab42c.js → PrivateRoute-cee9b061.js} +44 -45
  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-fc80a947.js → icons-a0fef92b.js} +2 -8
  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-6a9d5ef8.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-9804ff8d.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/PrivateRoute.js +1 -1
  124. package/dist/collection/{lib → assets/lib}/SignalRAspNetCoreHelper.js +2 -2
  125. package/dist/collection/{lib → assets/lib}/sparkleUtility.js +1 -1
  126. package/dist/collection/assets/svg/profile.svg +2 -0
  127. package/dist/collection/collection-manifest.json +8 -0
  128. package/dist/collection/components/compass-svg/compass-svg.css +15 -0
  129. package/dist/collection/components/compass-svg/compass-svg.js +156 -0
  130. package/dist/collection/components/layout/facilitator/export-lessons/export-lessons.css +7 -0
  131. package/dist/collection/components/layout/facilitator/export-lessons/export-lessons.js +110 -0
  132. package/dist/collection/components/layout/facilitator/facilitator-dashboard/facilitator-dashboard.css +3 -0
  133. package/dist/collection/components/layout/facilitator/facilitator-dashboard/facilitator-dashboard.js +214 -0
  134. package/dist/collection/components/layout/facilitator/facilitator-header/facilitator-header.js +22 -11
  135. package/dist/collection/components/layout/facilitator/facilitator-notes/facilitator-notes-form/facilitator-notes-form.css +3 -0
  136. package/dist/collection/components/layout/facilitator/facilitator-notes/facilitator-notes-form/facilitator-notes-form.js +144 -0
  137. package/dist/collection/components/layout/facilitator/facilitator-notes/facilitator-notes.css +14 -0
  138. package/dist/collection/components/layout/facilitator/facilitator-notes/facilitator-notes.js +64 -0
  139. package/dist/collection/components/layout/facilitator/facilitator-page.css +13 -3
  140. package/dist/collection/components/layout/facilitator/facilitator-page.js +147 -24
  141. package/dist/collection/components/layout/facilitator/online-students/online-students.js +59 -2
  142. package/dist/collection/components/layout/page/page.js +93 -4
  143. package/dist/collection/components/layout/page/templates/index.js +2 -0
  144. package/dist/collection/components/layout/page/templates/pdf.js +8 -0
  145. package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goal-form/sparkle-goal-form.css +3 -3
  146. package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goal-form/sparkle-goal-form.js +98 -64
  147. package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goal-item/sparkle-goal-item.css +12 -29
  148. package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goal-item/sparkle-goal-item.js +23 -6
  149. package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goal-progress/sparkle-goal-progress.css +33 -0
  150. package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goal-progress/sparkle-goal-progress.js +37 -0
  151. package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goals.css +8 -8
  152. package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goals.js +15 -60
  153. package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww-comment-list/sparkle-gww-comment-list.css +7 -7
  154. package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww-comment-list/sparkle-gww-comment-list.js +5 -3
  155. package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww-graph/sparkle-gww-graph.css +3 -3
  156. package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww-item/sparkle-gww-item.css +30 -29
  157. package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww-item/sparkle-gww-item.js +113 -13
  158. package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww.css +3 -3
  159. package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww.js +30 -64
  160. package/dist/collection/components/mini-apps/sparkle-health/sparkle-health.css +10 -3
  161. package/dist/collection/components/mini-apps/sparkle-health/sparkle-health.js +51 -11
  162. package/dist/collection/components/mini-apps/sparkle-mood/sparkle-mood.css +11 -11
  163. package/dist/collection/components/mini-apps/sparkle-mood/sparkle-mood.js +38 -8
  164. package/dist/collection/components/sparkle-course-root/sparkle-course-root.css +3 -3
  165. package/dist/collection/components/sparkle-course-root/sparkle-course-root.js +30 -27
  166. package/dist/collection/components/sparkle-emoji/sparkle-emoji.css +16 -16
  167. package/dist/collection/components/sparkle-feed-post/sparkle-feed-post.css +3 -3
  168. package/dist/collection/components/sparkle-feedback/sparkle-feedback.css +3 -3
  169. package/dist/collection/components/sparkle-feedback/sparkle-feedback.js +14 -1
  170. package/dist/collection/components/sparkle-forgot-password/sparkle-forgot-password.js +40 -6
  171. package/dist/collection/components/sparkle-login/sparkle-login.js +5 -3
  172. package/dist/collection/components/sparkle-poll/sparkle-poll.css +3 -3
  173. package/dist/collection/components/sparkle-quiz/sparkle-quiz-feedback/sparkle-quiz-feedback.css +3 -3
  174. package/dist/collection/components/sparkle-quiz/sparkle-quiz-input/sparkle-quiz-input.css +3 -3
  175. package/dist/collection/components/sparkle-quiz/sparkle-quiz-poll/sparkle-quiz-poll.css +3 -3
  176. package/dist/collection/components/sparkle-quiz/sparkle-quiz-select/sparkle-quiz-select.css +3 -3
  177. package/dist/collection/components/sparkle-quiz-container/sparkle-quiz-container.css +3 -3
  178. package/dist/collection/components/sparkle-reset-password/sparkle-reset-password.css +3 -0
  179. package/dist/collection/components/sparkle-reset-password/sparkle-reset-password.js +126 -0
  180. package/dist/collection/components/sparkle-root/sparkle-root.css +16 -0
  181. package/dist/collection/components/sparkle-root/sparkle-root.js +24 -1
  182. package/dist/collection/components/sparkle-signup/sparkle-signup.js +18 -14
  183. package/dist/collection/components/sparkle-unauthorized/sparkle-unauthorized.css +13 -13
  184. package/dist/collection/components/sparkle-user-enrollment/sparkle-user-enrollment.css +3 -3
  185. package/dist/collection/components/sparkle-user-profile/sparkle-user-profile.css +54 -3
  186. package/dist/collection/components/sparkle-user-profile/sparkle-user-profile.js +35 -8
  187. package/dist/collection/components/sparkle-validation-error/sparkle-validation-error.css +11 -0
  188. package/dist/collection/components/sparkle-validation-error/sparkle-validation-error.js +44 -0
  189. package/dist/collection/icons.js +1 -0
  190. package/dist/collection/models/class.model.js +5 -1
  191. package/dist/collection/models/facilitator-dashboard.model.js +5 -0
  192. package/dist/collection/services/account.service.js +42 -4
  193. package/dist/collection/services/appdata.service.js +60 -0
  194. package/dist/collection/services/auth/auth.service.js +34 -25
  195. package/dist/collection/services/environment/environment-config.js +6 -2
  196. package/dist/collection/services/facilitator.service.js +76 -0
  197. package/dist/collection/services/feed.service.js +43 -0
  198. package/dist/collection/services/httpService.js +16 -3
  199. package/dist/collection/services/media.service.js +29 -0
  200. package/dist/collection/services/signalR.service.js +85 -0
  201. package/dist/collection/services/student.service.js +8 -7
  202. package/dist/collection/stores/auth.store.js +2 -1
  203. package/dist/collection/stores/facilitator.store.js +11 -2
  204. package/dist/collection/stores/feed.store.js +3 -1
  205. package/dist/collection/stores/goal.store.js +2 -0
  206. package/dist/collection/stores/media.store.js +5 -0
  207. package/dist/collection/stores/signalR.store.js +6 -0
  208. package/dist/collection/stores/user.store.js +3 -1
  209. package/dist/collection/util.js +23 -1
  210. package/dist/collection/utils.js +0 -1
  211. package/dist/esm/{PrivateRoute-b34b53e0.js → PrivateRoute-9f0973bb.js} +42 -42
  212. package/dist/esm/{active-router-866d742c.js → active-router-b3ae32c7.js} +1 -1
  213. package/dist/esm/{app-globals-a5620b62.js → app-globals-6451faf3.js} +1 -1
  214. package/dist/esm/{assets.service-da511a45.js → assets.service-66e848b8.js} +2 -26
  215. package/dist/esm/{httpService-ed44926c.js → auth.store-dd944bc2.js} +31 -6
  216. package/dist/esm/{button-active-fe7ddd19.js → button-active-97535443.js} +1 -1
  217. package/dist/esm/compass-svg.entry.js +128 -0
  218. package/dist/esm/context-consumer.entry.js +1 -1
  219. package/dist/esm/course-select.entry.js +1 -1
  220. package/dist/esm/environment-config.service-2b5d692b.js +27 -0
  221. package/dist/esm/facilitator.service-cddb2feb.js +91 -0
  222. package/dist/esm/feed.service-0fda1e36.js +5787 -0
  223. package/dist/esm/header-mobile-collapse_60.entry.js +19 -0
  224. package/dist/esm/{icons-375b5504.js → icons-33e5804c.js} +3 -7
  225. package/dist/esm/{index-181d9e06.js → index-55fc9f5e.js} +2 -1
  226. package/dist/esm/{index-db21c1c7.js → index-a94619f9.js} +3 -3
  227. package/dist/esm/{index-c6bfe5ca.js → index-dc09784f.js} +1 -1
  228. package/dist/esm/index.es-8ad3b6a1.js +13748 -0
  229. package/dist/esm/index.js +7 -6
  230. package/dist/esm/ion-action-sheet.entry.js +4 -4
  231. package/dist/esm/ion-alert.entry.js +4 -4
  232. package/dist/esm/ion-app.entry.js +3 -3
  233. package/dist/esm/ion-back-button.entry.js +85 -0
  234. package/dist/esm/ion-backdrop.entry.js +2 -2
  235. package/dist/esm/ion-badge.entry.js +2 -2
  236. package/dist/esm/{ion-back-button_4.entry.js → ion-buttons_3.entry.js} +4 -84
  237. package/dist/esm/ion-card-header.entry.js +2 -2
  238. package/dist/esm/ion-card-subtitle.entry.js +2 -2
  239. package/dist/esm/ion-card-title.entry.js +2 -2
  240. package/dist/esm/ion-chip.entry.js +2 -2
  241. package/dist/esm/{ion-content.entry.js → ion-content_2.entry.js} +259 -3
  242. package/dist/esm/ion-datetime.entry.js +3 -3
  243. package/dist/esm/ion-fab-button.entry.js +2 -2
  244. package/dist/esm/ion-fab-list.entry.js +2 -2
  245. package/dist/esm/ion-fab.entry.js +2 -2
  246. package/dist/esm/ion-footer.entry.js +2 -2
  247. package/dist/esm/ion-img.entry.js +2 -2
  248. package/dist/esm/ion-infinite-scroll-content.entry.js +2 -2
  249. package/dist/esm/ion-infinite-scroll.entry.js +2 -2
  250. package/dist/esm/ion-item-divider.entry.js +2 -2
  251. package/dist/esm/ion-item-group.entry.js +2 -2
  252. package/dist/esm/ion-item-option.entry.js +2 -2
  253. package/dist/esm/ion-item-options.entry.js +2 -2
  254. package/dist/esm/ion-item-sliding.entry.js +2 -2
  255. package/dist/esm/ion-loading.entry.js +3 -3
  256. package/dist/esm/ion-menu-button.entry.js +4 -4
  257. package/dist/esm/ion-menu-toggle.entry.js +4 -4
  258. package/dist/esm/ion-menu.entry.js +3 -3
  259. package/dist/esm/ion-modal.entry.js +4 -4
  260. package/dist/esm/ion-nav-link.entry.js +1 -1
  261. package/dist/esm/ion-nav.entry.js +3 -3
  262. package/dist/esm/ion-note.entry.js +2 -2
  263. package/dist/esm/ion-picker-column.entry.js +2 -2
  264. package/dist/esm/ion-picker.entry.js +3 -3
  265. package/dist/esm/ion-popover.entry.js +4 -4
  266. package/dist/esm/ion-progress-bar.entry.js +2 -2
  267. package/dist/esm/ion-refresher-content.entry.js +2 -2
  268. package/dist/esm/ion-refresher.entry.js +2 -2
  269. package/dist/esm/ion-reorder-group.entry.js +2 -2
  270. package/dist/esm/ion-reorder.entry.js +2 -2
  271. package/dist/esm/ion-route-redirect.entry.js +1 -1
  272. package/dist/esm/ion-route.entry.js +1 -1
  273. package/dist/esm/ion-router-link.entry.js +2 -2
  274. package/dist/esm/ion-router-outlet.entry.js +3 -3
  275. package/dist/esm/ion-router.entry.js +1 -1
  276. package/dist/esm/ion-searchbar.entry.js +2 -2
  277. package/dist/esm/ion-segment-button.entry.js +2 -2
  278. package/dist/esm/ion-segment.entry.js +2 -2
  279. package/dist/esm/ion-select-popover.entry.js +3 -3
  280. package/dist/esm/ion-select_2.entry.js +3 -3
  281. package/dist/esm/ion-skeleton-text.entry.js +2 -2
  282. package/dist/esm/ion-slide.entry.js +2 -2
  283. package/dist/esm/ion-slides.entry.js +2 -2
  284. package/dist/esm/ion-split-pane.entry.js +2 -2
  285. package/dist/esm/ion-tab-bar.entry.js +2 -2
  286. package/dist/esm/ion-tab-button.entry.js +2 -2
  287. package/dist/esm/ion-tab.entry.js +1 -1
  288. package/dist/esm/ion-tabs.entry.js +1 -1
  289. package/dist/esm/ion-textarea.entry.js +2 -2
  290. package/dist/esm/ion-thumbnail.entry.js +2 -2
  291. package/dist/esm/ion-toast.entry.js +3 -3
  292. package/dist/esm/ion-toggle.entry.js +2 -2
  293. package/dist/esm/ion-virtual-scroll.entry.js +1 -1
  294. package/dist/esm/{ionic-global-2d79c2f2.js → ionic-global-1f9287cc.js} +1 -1
  295. package/dist/esm/{ios.transition-e24a66ff.js → ios.transition-d01abefd.js} +2 -2
  296. package/dist/esm/loader.js +4 -4
  297. package/dist/esm/{md.transition-a4f96d01.js → md.transition-245ffa55.js} +2 -2
  298. package/dist/esm/{menu-toggle-util-f9838cfb.js → menu-toggle-util-fe83fcf5.js} +1 -1
  299. package/dist/esm/{overlays-0222dd55.js → overlays-8363621c.js} +2 -2
  300. package/dist/esm/purify-76634fc8.js +1353 -0
  301. package/dist/esm/sparkle-animation-player.entry.js +1 -1
  302. package/dist/esm/sparkle-code.entry.js +2 -2
  303. package/dist/esm/sparkle-compass-post.entry.js +1 -1
  304. package/dist/esm/sparkle-compass.entry.js +1 -1
  305. package/dist/esm/sparkle-core.js +4 -4
  306. package/dist/esm/sparkle-emoji.entry.js +1 -1
  307. package/dist/esm/sparkle-facilitator-notes-form.entry.js +114 -0
  308. package/dist/esm/sparkle-feed-post.entry.js +1 -1
  309. package/dist/esm/sparkle-feedback.entry.js +19 -6
  310. package/dist/esm/sparkle-goal-form.entry.js +73 -32
  311. package/dist/esm/sparkle-gww-comment-list.entry.js +2 -2
  312. package/dist/esm/sparkle-gww-graph.entry.js +1 -1
  313. package/dist/esm/sparkle-lower-content-nav.entry.js +1 -1
  314. package/dist/esm/sparkle-menu-collapsible.entry.js +2 -2
  315. package/dist/esm/sparkle-modal-image.entry.js +1 -1
  316. package/dist/esm/sparkle-notfound-page.entry.js +1 -1
  317. package/dist/esm/sparkle-overlay.entry.js +88 -0
  318. package/dist/esm/sparkle-poll.entry.js +1 -1
  319. package/dist/esm/sparkle-quiz-container.entry.js +1 -1
  320. package/dist/esm/sparkle-quiz-feedback_5.entry.js +1 -1
  321. package/dist/esm/sparkle-quiz.entry.js +3 -2
  322. package/dist/esm/sparkle-select.entry.js +1 -1
  323. package/dist/esm/sparkle-sidebar.entry.js +39 -0
  324. package/dist/esm/sparkle-tab.entry.js +1 -1
  325. package/dist/esm/sparkle-table-of-contents.entry.js +1 -1
  326. package/dist/esm/sparkle-tabs.entry.js +1 -1
  327. package/dist/esm/sparkle-youtube.entry.js +1 -1
  328. package/dist/esm/{status-tap-dac23492.js → status-tap-9221cd79.js} +1 -1
  329. package/dist/esm/stencil-async-content.entry.js +1 -1
  330. package/dist/esm/stencil-route-title.entry.js +2 -2
  331. package/dist/esm/stencil-router-prompt.entry.js +2 -2
  332. package/dist/esm/{student.service-7c806a49.js → student.service-c36c5a75.js} +12 -9
  333. package/dist/sparkle-core/index.esm.js +1 -1
  334. package/dist/sparkle-core/{p-f4e2b82a.entry.js → p-016bf847.entry.js} +1 -1
  335. package/dist/sparkle-core/p-019d9d02.entry.js +1 -0
  336. package/dist/sparkle-core/p-03eb2164.js +1 -0
  337. package/dist/sparkle-core/{p-5cee001e.entry.js → p-03fd27d0.entry.js} +1 -1
  338. package/dist/sparkle-core/p-07018d29.js +1 -0
  339. package/dist/sparkle-core/p-083d57a6.entry.js +1 -0
  340. package/dist/sparkle-core/p-090f2624.js +1 -0
  341. package/dist/sparkle-core/{p-bc4e8c2a.entry.js → p-09d43bee.entry.js} +1 -1
  342. package/dist/sparkle-core/{p-b785a9ac.entry.js → p-0bd3e81f.entry.js} +1 -1
  343. package/dist/sparkle-core/{p-91889ff0.js → p-0e1c7c8c.js} +1 -1
  344. package/dist/sparkle-core/{p-1224fabd.entry.js → p-0efbc0b3.entry.js} +1 -1
  345. package/dist/sparkle-core/{p-7a898bda.entry.js → p-13b0cdfc.entry.js} +1 -1
  346. package/dist/sparkle-core/{p-586cb4d7.entry.js → p-13c9bf3a.entry.js} +1 -1
  347. package/dist/sparkle-core/{p-863b83d6.entry.js → p-151afa9e.entry.js} +1 -1
  348. package/dist/sparkle-core/{p-00adbab7.entry.js → p-15d68269.entry.js} +1 -1
  349. package/dist/sparkle-core/p-17507402.entry.js +1 -0
  350. package/dist/sparkle-core/{p-8bb44df7.entry.js → p-1bf8bed6.entry.js} +1 -1
  351. package/dist/sparkle-core/p-1ca4bf1d.entry.js +1 -0
  352. package/dist/sparkle-core/{p-5ca31915.entry.js → p-1e866c41.entry.js} +1 -1
  353. package/dist/sparkle-core/p-22926eed.entry.js +1 -0
  354. package/dist/sparkle-core/{p-517bb889.entry.js → p-2474bf60.entry.js} +1 -1
  355. package/dist/sparkle-core/{p-ffe93176.entry.js → p-25bbf9b4.entry.js} +1 -1
  356. package/dist/sparkle-core/p-2a45b732.js +1 -0
  357. package/dist/sparkle-core/{p-4572c448.entry.js → p-2abf4d37.entry.js} +1 -1
  358. package/dist/sparkle-core/{p-0c162ac4.entry.js → p-2c5edb9f.entry.js} +1 -1
  359. package/dist/sparkle-core/p-30b641a4.entry.js +1 -0
  360. package/dist/sparkle-core/{p-c05eb884.entry.js → p-359422b6.entry.js} +1 -1
  361. package/dist/sparkle-core/{p-62141bd4.entry.js → p-37bfb548.entry.js} +1 -1
  362. package/dist/sparkle-core/{p-80e128b9.entry.js → p-3a29a75b.entry.js} +1 -1
  363. package/dist/sparkle-core/{p-e5e40803.entry.js → p-3bb55510.entry.js} +1 -1
  364. package/dist/sparkle-core/p-3be0a218.js +1 -0
  365. package/dist/sparkle-core/{p-e5845154.entry.js → p-3cd28c60.entry.js} +1 -1
  366. package/dist/sparkle-core/{p-6f571ea1.entry.js → p-3f5d7a08.entry.js} +1 -1
  367. package/dist/sparkle-core/p-40db85ac.entry.js +1 -0
  368. package/dist/sparkle-core/{p-114fcfc1.entry.js → p-447163be.entry.js} +1 -1
  369. package/dist/sparkle-core/{p-bbb3b417.entry.js → p-49265a8e.entry.js} +1 -1
  370. package/dist/sparkle-core/{p-76c4e33b.entry.js → p-4950f841.entry.js} +1 -1
  371. package/dist/sparkle-core/{p-1cd371a7.entry.js → p-4d8cb365.entry.js} +1 -1
  372. package/dist/sparkle-core/p-4e28ca37.entry.js +1 -0
  373. package/dist/sparkle-core/{p-f985d69e.entry.js → p-5073899e.entry.js} +1 -1
  374. package/dist/sparkle-core/p-52355989.entry.js +1 -0
  375. package/dist/sparkle-core/{p-1898fe4c.entry.js → p-581ca370.entry.js} +1 -1
  376. package/dist/sparkle-core/{p-48d24341.entry.js → p-5b366c20.entry.js} +1 -1
  377. package/dist/sparkle-core/{p-ff092368.entry.js → p-5dce20b9.entry.js} +1 -1
  378. package/dist/sparkle-core/{p-c1a4ba92.entry.js → p-6006beec.entry.js} +1 -1
  379. package/dist/sparkle-core/{p-d4339e9c.entry.js → p-600d04fc.entry.js} +1 -1
  380. package/dist/sparkle-core/{p-257fd781.entry.js → p-60828739.entry.js} +1 -1
  381. package/dist/sparkle-core/{p-e48343fe.entry.js → p-6112b180.entry.js} +1 -1
  382. package/dist/sparkle-core/p-660fccf6.js +1 -0
  383. package/dist/sparkle-core/{p-0b04e1c4.entry.js → p-66e3bd1c.entry.js} +1 -1
  384. package/dist/sparkle-core/{p-9523cc6c.entry.js → p-66eb6b7a.entry.js} +1 -1
  385. package/dist/sparkle-core/p-67ddec3f.entry.js +1 -0
  386. package/dist/sparkle-core/p-68cb7d41.entry.js +1 -0
  387. package/dist/sparkle-core/{p-e7d32b53.entry.js → p-68f3c93d.entry.js} +1 -1
  388. package/dist/sparkle-core/p-69cd49de.js +1 -0
  389. package/dist/sparkle-core/{p-fb3ea85e.js → p-6d506f4e.js} +1 -1
  390. package/dist/sparkle-core/{p-7c39c5c0.entry.js → p-6edbdde5.entry.js} +1 -1
  391. package/dist/sparkle-core/p-6f0ecbe3.js +1 -0
  392. package/dist/sparkle-core/{p-7b7ebe04.entry.js → p-73a646fb.entry.js} +1 -1
  393. package/dist/sparkle-core/{p-0e1cdb86.js → p-765b8593.js} +1 -1
  394. package/dist/sparkle-core/{p-22836c22.js → p-770128c8.js} +1 -1
  395. package/dist/sparkle-core/{p-05bcee18.entry.js → p-7b37d523.entry.js} +1 -1
  396. package/dist/sparkle-core/{p-1d62b3ff.entry.js → p-7d83d006.entry.js} +1 -1
  397. package/dist/sparkle-core/p-7f3d5344.js +1 -0
  398. package/dist/sparkle-core/{p-99d08952.entry.js → p-81651f26.entry.js} +1 -1
  399. package/dist/sparkle-core/{p-d046110e.entry.js → p-85d31769.entry.js} +1 -1
  400. package/dist/sparkle-core/{p-42443d61.entry.js → p-86148067.entry.js} +1 -1
  401. package/dist/sparkle-core/{p-88ea26d4.entry.js → p-8b5bc1d6.entry.js} +1 -1
  402. package/dist/sparkle-core/{p-e0603c01.entry.js → p-8c3ee44c.entry.js} +1 -1
  403. package/dist/sparkle-core/{p-fce285b3.entry.js → p-9007a06b.entry.js} +1 -1
  404. package/dist/sparkle-core/{p-89aca87d.entry.js → p-90482861.entry.js} +1 -1
  405. package/dist/sparkle-core/{p-8dddaae1.entry.js → p-92d42c10.entry.js} +1 -1
  406. package/dist/sparkle-core/p-9a443f51.js +1 -0
  407. package/dist/sparkle-core/{p-aae8e3b8.entry.js → p-9ca56f5d.entry.js} +1 -1
  408. package/dist/sparkle-core/{p-c5cc6d79.entry.js → p-a061537e.entry.js} +1 -1
  409. package/dist/sparkle-core/{p-b0bb946d.entry.js → p-a250e2ae.entry.js} +1 -1
  410. package/dist/sparkle-core/{p-dc903858.entry.js → p-abe2676a.entry.js} +1 -1
  411. package/dist/sparkle-core/{p-64592d28.entry.js → p-ac5e5308.entry.js} +1 -1
  412. package/dist/sparkle-core/{p-6df23697.entry.js → p-afbaad64.entry.js} +1 -1
  413. package/dist/sparkle-core/p-b080c1e3.entry.js +1 -0
  414. package/dist/sparkle-core/p-b226f54d.js +1 -0
  415. package/dist/sparkle-core/p-b2d4840f.js +3 -0
  416. package/dist/sparkle-core/{p-9835f777.entry.js → p-bac45a26.entry.js} +1 -1
  417. package/dist/sparkle-core/p-bbe5977b.entry.js +1 -0
  418. package/dist/sparkle-core/p-bc568dcb.js +1 -0
  419. package/dist/sparkle-core/{p-60d25a7f.entry.js → p-bccd9036.entry.js} +1 -1
  420. package/dist/sparkle-core/{p-58a6d8ab.entry.js → p-c163c16d.entry.js} +1 -1
  421. package/dist/sparkle-core/{p-8626ebe6.entry.js → p-c3166584.entry.js} +1 -1
  422. package/dist/sparkle-core/{p-589d4664.entry.js → p-c34269ae.entry.js} +1 -1
  423. package/dist/sparkle-core/{p-3c3194fd.js → p-c466ee32.js} +1 -1
  424. package/dist/sparkle-core/p-c6710592.entry.js +1 -0
  425. package/dist/sparkle-core/{p-71f184d9.entry.js → p-c7022391.entry.js} +1 -1
  426. package/dist/sparkle-core/{p-1cd3c5d0.entry.js → p-c70b9765.entry.js} +1 -1
  427. package/dist/sparkle-core/{p-2e286dc5.entry.js → p-c82b05e0.entry.js} +1 -1
  428. package/dist/sparkle-core/{p-ebe7e674.entry.js → p-cf2332bb.entry.js} +1 -1
  429. package/dist/sparkle-core/{p-07d16606.entry.js → p-d069b834.entry.js} +1 -1
  430. package/dist/sparkle-core/{p-92fa1d62.js → p-d4ad796c.js} +1 -1
  431. package/dist/sparkle-core/{p-d9669c41.entry.js → p-d4d9aa4a.entry.js} +1 -1
  432. package/dist/sparkle-core/{p-f87fecb0.entry.js → p-d5023db0.entry.js} +1 -1
  433. package/dist/sparkle-core/p-d6152660.entry.js +1 -0
  434. package/dist/sparkle-core/{p-7e8645c2.js → p-d63406d8.js} +1 -1
  435. package/dist/sparkle-core/{p-3a75bd70.entry.js → p-dba672d5.entry.js} +1 -1
  436. package/dist/sparkle-core/{p-2fa5a8dd.entry.js → p-dd73d01a.entry.js} +1 -1
  437. package/dist/sparkle-core/p-de33872d.entry.js +1 -0
  438. package/dist/sparkle-core/p-dee2128a.entry.js +1 -0
  439. package/dist/sparkle-core/{p-7f4ae7be.entry.js → p-df07e132.entry.js} +1 -1
  440. package/dist/sparkle-core/p-e5d5aaa5.js +1 -0
  441. package/dist/sparkle-core/{p-0f83c1c3.entry.js → p-e72c6d87.entry.js} +1 -1
  442. package/dist/sparkle-core/{p-1a6ca540.entry.js → p-e818b11d.entry.js} +1 -1
  443. package/dist/sparkle-core/{p-e7d9176a.entry.js → p-e8df6ea6.entry.js} +1 -1
  444. package/dist/sparkle-core/{p-b9f544da.entry.js → p-e975924a.entry.js} +1 -1
  445. package/dist/sparkle-core/p-eb56aa20.entry.js +1 -0
  446. package/dist/sparkle-core/p-ec2e029e.js +483 -0
  447. package/dist/sparkle-core/{p-9a192334.js → p-ef2a2172.js} +1 -1
  448. package/dist/sparkle-core/p-f1a4ab33.entry.js +1 -0
  449. package/dist/sparkle-core/{p-cac9f43c.entry.js → p-f43ac631.entry.js} +1 -1
  450. package/dist/sparkle-core/{p-826aea5e.entry.js → p-f72a6e6d.entry.js} +1 -1
  451. package/dist/sparkle-core/{p-c557858e.entry.js → p-f9143c5d.entry.js} +1 -1
  452. package/dist/sparkle-core/{p-540238c1.entry.js → p-fd62283e.entry.js} +1 -1
  453. package/dist/sparkle-core/{p-6620c98e.entry.js → p-fef71e0e.entry.js} +1 -1
  454. package/dist/sparkle-core/sparkle-core.css +1 -1
  455. package/dist/sparkle-core/sparkle-core.esm.js +1 -1
  456. package/dist/types/{lib → assets/lib}/SignalRAspNetCoreHelper.d.ts +0 -0
  457. package/dist/types/{lib → assets/lib}/sparkleUtility.d.ts +0 -0
  458. package/dist/types/components/compass-svg/compass-svg.d.ts +34 -0
  459. package/dist/types/components/layout/facilitator/export-lessons/export-lessons.d.ts +16 -0
  460. package/dist/types/components/layout/facilitator/facilitator-dashboard/facilitator-dashboard.d.ts +22 -0
  461. package/dist/types/components/layout/facilitator/facilitator-header/facilitator-header.d.ts +1 -0
  462. package/dist/types/components/layout/facilitator/facilitator-notes/facilitator-notes-form/facilitator-notes-form.d.ts +24 -0
  463. package/dist/types/components/layout/facilitator/facilitator-notes/facilitator-notes.d.ts +9 -0
  464. package/dist/types/components/layout/facilitator/facilitator-page.d.ts +19 -2
  465. package/dist/types/components/layout/facilitator/online-students/online-students.d.ts +6 -0
  466. package/dist/types/components/layout/page/page.d.ts +8 -0
  467. package/dist/types/components/layout/page/templates/index.d.ts +1 -0
  468. package/dist/types/components/layout/page/templates/pdf.d.ts +2 -0
  469. package/dist/types/components/mini-apps/sparkle-goals/sparkle-goal-form/sparkle-goal-form.d.ts +6 -5
  470. package/dist/types/components/mini-apps/sparkle-goals/sparkle-goal-item/sparkle-goal-item.d.ts +1 -0
  471. package/dist/types/components/mini-apps/sparkle-goals/sparkle-goal-progress/sparkle-goal-progress.d.ts +4 -0
  472. package/dist/types/components/mini-apps/sparkle-goals/sparkle-goals.d.ts +3 -3
  473. package/dist/types/components/mini-apps/sparkle-gww/sparkle-gww-item/sparkle-gww-item.d.ts +9 -2
  474. package/dist/types/components/mini-apps/sparkle-gww/sparkle-gww.d.ts +4 -2
  475. package/dist/types/components/mini-apps/sparkle-health/sparkle-health.d.ts +4 -1
  476. package/dist/types/components/mini-apps/sparkle-mood/sparkle-mood.d.ts +3 -0
  477. package/dist/types/components/sparkle-course-root/sparkle-course-root.d.ts +6 -4
  478. package/dist/types/components/sparkle-forgot-password/sparkle-forgot-password.d.ts +3 -0
  479. package/dist/types/components/sparkle-reset-password/sparkle-reset-password.d.ts +22 -0
  480. package/dist/types/components/sparkle-root/sparkle-root.d.ts +4 -0
  481. package/dist/types/components/sparkle-signup/sparkle-signup.d.ts +1 -1
  482. package/dist/types/components/sparkle-user-profile/sparkle-user-profile.d.ts +4 -0
  483. package/dist/types/components/sparkle-validation-error/sparkle-validation-error.d.ts +7 -0
  484. package/dist/types/components.d.ts +143 -6
  485. package/dist/types/models/api.model.d.ts +8 -0
  486. package/dist/types/models/class.model.d.ts +59 -6
  487. package/dist/types/models/facilitator-dashboard.model.d.ts +61 -0
  488. package/dist/types/models/goal.model.d.ts +3 -2
  489. package/dist/types/services/account.service.d.ts +11 -2
  490. package/dist/types/services/appdata.service.d.ts +13 -0
  491. package/dist/types/services/facilitator.service.d.ts +22 -0
  492. package/dist/types/services/feed.service.d.ts +10 -0
  493. package/dist/types/services/httpService.d.ts +1 -0
  494. package/dist/types/services/media.service.d.ts +8 -0
  495. package/dist/types/services/signalR.service.d.ts +10 -0
  496. package/dist/types/services/student.service.d.ts +1 -1
  497. package/dist/types/stores/auth.store.d.ts +1 -0
  498. package/dist/types/stores/facilitator.store.d.ts +11 -2
  499. package/dist/types/stores/feed.store.d.ts +3 -1
  500. package/dist/types/stores/goal.store.d.ts +4 -1
  501. package/dist/types/stores/media.store.d.ts +8 -0
  502. package/dist/types/stores/signalR.store.d.ts +10 -0
  503. package/dist/types/stores/user.store.d.ts +3 -1
  504. package/dist/types/util.d.ts +11 -0
  505. package/package.json +7 -3
  506. package/dist/cjs/header-mobile-collapse_51.cjs.entry.js +0 -5285
  507. package/dist/cjs/ion-card-content.cjs.entry.js +0 -30
  508. package/dist/cjs/ion-card.cjs.entry.js +0 -70
  509. package/dist/cjs/ion-header.cjs.entry.js +0 -264
  510. package/dist/cjs/ion-spinner.cjs.entry.js +0 -64
  511. package/dist/cjs/sparkle-page-footer.cjs.entry.js +0 -27
  512. package/dist/cjs/sparkle-pagination.cjs.entry.js +0 -31
  513. package/dist/cjs/util-dd1e6ff1.js +0 -23
  514. package/dist/collection/lib/sparkle.js +0 -524
  515. package/dist/collection/lib/sparkle.signalr-client.js +0 -135
  516. package/dist/collection/pages/course/welcome-to-mind-body/introduction/animation/m4l1p1.js +0 -2884
  517. package/dist/esm/header-mobile-collapse_51.entry.js +0 -5231
  518. package/dist/esm/ion-card-content.entry.js +0 -26
  519. package/dist/esm/ion-card.entry.js +0 -66
  520. package/dist/esm/ion-header.entry.js +0 -260
  521. package/dist/esm/ion-spinner.entry.js +0 -60
  522. package/dist/esm/sparkle-page-footer.entry.js +0 -23
  523. package/dist/esm/sparkle-pagination.entry.js +0 -27
  524. package/dist/esm/util-0e88110d.js +0 -17
  525. package/dist/sparkle-core/p-0f511fed.entry.js +0 -1
  526. package/dist/sparkle-core/p-1227bbd6.entry.js +0 -1
  527. package/dist/sparkle-core/p-2d6fbde3.js +0 -1
  528. package/dist/sparkle-core/p-33b46e43.entry.js +0 -1
  529. package/dist/sparkle-core/p-3f769f4e.entry.js +0 -1
  530. package/dist/sparkle-core/p-51ffa746.entry.js +0 -1
  531. package/dist/sparkle-core/p-5336d922.js +0 -1
  532. package/dist/sparkle-core/p-58ede27f.js +0 -1
  533. package/dist/sparkle-core/p-5c51baac.js +0 -1
  534. package/dist/sparkle-core/p-5e8dc338.entry.js +0 -1
  535. package/dist/sparkle-core/p-6bf9263e.js +0 -1
  536. package/dist/sparkle-core/p-7d1b4002.entry.js +0 -1
  537. package/dist/sparkle-core/p-7d7a0a87.entry.js +0 -1
  538. package/dist/sparkle-core/p-7e8a6354.js +0 -1
  539. package/dist/sparkle-core/p-87e97bdd.entry.js +0 -1
  540. package/dist/sparkle-core/p-880c438c.entry.js +0 -1
  541. package/dist/sparkle-core/p-8fdccc4a.entry.js +0 -1
  542. package/dist/sparkle-core/p-9563bf6c.js +0 -1
  543. package/dist/sparkle-core/p-971b29c9.entry.js +0 -1
  544. package/dist/sparkle-core/p-972d5bd1.entry.js +0 -1
  545. package/dist/sparkle-core/p-a7754cd1.entry.js +0 -1
  546. package/dist/sparkle-core/p-b3dfac3e.js +0 -1
  547. package/dist/sparkle-core/p-c20861ac.entry.js +0 -1
  548. package/dist/sparkle-core/p-c396afb2.entry.js +0 -1
  549. package/dist/sparkle-core/p-c5de0b12.js +0 -1
  550. package/dist/sparkle-core/p-d3ea02b3.js +0 -1
  551. package/dist/sparkle-core/p-df5c60a1.entry.js +0 -1
  552. package/dist/sparkle-core/p-eeb7a650.entry.js +0 -1
  553. package/dist/sparkle-core/p-f0604500.entry.js +0 -1
  554. package/dist/sparkle-core/p-f2de03c5.entry.js +0 -1
@@ -1,30 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-56cc404a.js');
6
- const ionicGlobal = require('./ionic-global-57e21b7b.js');
7
-
8
- const cardContentIosCss = "ion-card-content{display:block;position:relative}.card-content-ios{padding-left:20px;padding-right:20px;padding-top:20px;padding-bottom:20px;font-size:16px;line-height:1.4}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.card-content-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px}}.card-content-ios h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:24px;font-weight:normal}.card-content-ios h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:16px;font-weight:normal}.card-content-ios h3,.card-content-ios h4,.card-content-ios h5,.card-content-ios h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:14px;font-weight:normal}.card-content-ios p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:14px}ion-card-header+.card-content-ios{padding-top:0}";
9
-
10
- const cardContentMdCss = "ion-card-content{display:block;position:relative}.card-content-md{padding-left:16px;padding-right:16px;padding-top:13px;padding-bottom:13px;font-size:14px;line-height:1.5}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.card-content-md{padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}.card-content-md h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:24px;font-weight:normal}.card-content-md h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:16px;font-weight:normal}.card-content-md h3,.card-content-md h4,.card-content-md h5,.card-content-md h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:14px;font-weight:normal}.card-content-md p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:14px;font-weight:normal;line-height:1.5}ion-card-header+.card-content-md{padding-top:0}";
11
-
12
- const CardContent = class {
13
- constructor(hostRef) {
14
- index.registerInstance(this, hostRef);
15
- }
16
- render() {
17
- const mode = ionicGlobal.getIonMode(this);
18
- return (index.h(index.Host, { class: {
19
- [mode]: true,
20
- // Used internally for styling
21
- [`card-content-${mode}`]: true
22
- } }));
23
- }
24
- };
25
- CardContent.style = {
26
- ios: cardContentIosCss,
27
- md: cardContentMdCss
28
- };
29
-
30
- exports.ion_card_content = CardContent;
@@ -1,70 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-56cc404a.js');
6
- const ionicGlobal = require('./ionic-global-57e21b7b.js');
7
- const theme = require('./theme-98ccfc24.js');
8
-
9
- const cardIosCss = ":host{--ion-safe-area-left:0px;--ion-safe-area-right:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.card-disabled){cursor:default;opacity:0.3;pointer-events:none}.card-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;min-height:var(--min-height);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:inherit}.card-native::-moz-focus-inner{border:0}button,a{cursor:pointer;user-select:none;-webkit-user-drag:none}ion-ripple-effect{color:var(--ripple-color)}:host{--background:var(--ion-card-background, var(--ion-item-background, var(--ion-background-color, #fff)));--color:var(--ion-card-color, var(--ion-item-color, var(--ion-color-step-600, #666666)));margin-left:16px;margin-right:16px;margin-top:24px;margin-bottom:24px;border-radius:8px;transform:translateZ(0);transition:transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);font-size:14px;box-shadow:0 4px 16px rgba(0, 0, 0, 0.12)}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host{margin-left:unset;margin-right:unset;-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px}}:host(.ion-activated){transform:scale3d(0.97, 0.97, 1)}";
10
-
11
- const cardMdCss = ":host{--ion-safe-area-left:0px;--ion-safe-area-right:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.card-disabled){cursor:default;opacity:0.3;pointer-events:none}.card-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;min-height:var(--min-height);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:inherit}.card-native::-moz-focus-inner{border:0}button,a{cursor:pointer;user-select:none;-webkit-user-drag:none}ion-ripple-effect{color:var(--ripple-color)}:host{--background:var(--ion-card-background, var(--ion-item-background, var(--ion-background-color, #fff)));--color:var(--ion-card-color, var(--ion-item-color, var(--ion-color-step-550, #737373)));margin-left:10px;margin-right:10px;margin-top:10px;margin-bottom:10px;border-radius:4px;font-size:14px;box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host{margin-left:unset;margin-right:unset;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px}}";
12
-
13
- const Card = class {
14
- constructor(hostRef) {
15
- index.registerInstance(this, hostRef);
16
- /**
17
- * If `true`, a button tag will be rendered and the card will be tappable.
18
- */
19
- this.button = false;
20
- /**
21
- * The type of the button. Only used when an `onclick` or `button` property is present.
22
- */
23
- this.type = 'button';
24
- /**
25
- * If `true`, the user cannot interact with the card.
26
- */
27
- this.disabled = false;
28
- /**
29
- * When using a router, it specifies the transition direction when navigating to
30
- * another page using `href`.
31
- */
32
- this.routerDirection = 'forward';
33
- }
34
- isClickable() {
35
- return (this.href !== undefined || this.button);
36
- }
37
- renderCard(mode) {
38
- const clickable = this.isClickable();
39
- if (!clickable) {
40
- return [
41
- index.h("slot", null)
42
- ];
43
- }
44
- const { href, routerAnimation, routerDirection } = this;
45
- const TagType = clickable ? (href === undefined ? 'button' : 'a') : 'div';
46
- const attrs = (TagType === 'button')
47
- ? { type: this.type }
48
- : {
49
- download: this.download,
50
- href: this.href,
51
- rel: this.rel,
52
- target: this.target
53
- };
54
- return (index.h(TagType, Object.assign({}, attrs, { class: "card-native", part: "native", disabled: this.disabled, onClick: (ev) => theme.openURL(href, ev, routerDirection, routerAnimation) }), index.h("slot", null), clickable && mode === 'md' && index.h("ion-ripple-effect", null)));
55
- }
56
- render() {
57
- const mode = ionicGlobal.getIonMode(this);
58
- return (index.h(index.Host, { class: theme.createColorClasses(this.color, {
59
- [mode]: true,
60
- 'card-disabled': this.disabled,
61
- 'ion-activatable': this.isClickable()
62
- }) }, this.renderCard(mode)));
63
- }
64
- };
65
- Card.style = {
66
- ios: cardIosCss,
67
- md: cardMdCss
68
- };
69
-
70
- exports.ion_card = Card;
@@ -1,264 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-56cc404a.js');
6
- const ionicGlobal = require('./ionic-global-57e21b7b.js');
7
- const helpers = require('./helpers-26770c32.js');
8
-
9
- const TRANSITION = 'all 0.2s ease-in-out';
10
- const cloneElement = (tagName) => {
11
- const getCachedEl = document.querySelector(`${tagName}.ion-cloned-element`);
12
- if (getCachedEl !== null) {
13
- return getCachedEl;
14
- }
15
- const clonedEl = document.createElement(tagName);
16
- clonedEl.classList.add('ion-cloned-element');
17
- clonedEl.style.setProperty('display', 'none');
18
- document.body.appendChild(clonedEl);
19
- return clonedEl;
20
- };
21
- const createHeaderIndex = (headerEl) => {
22
- if (!headerEl) {
23
- return;
24
- }
25
- const toolbars = headerEl.querySelectorAll('ion-toolbar');
26
- return {
27
- el: headerEl,
28
- toolbars: Array.from(toolbars).map((toolbar) => {
29
- const ionTitleEl = toolbar.querySelector('ion-title');
30
- return {
31
- el: toolbar,
32
- background: toolbar.shadowRoot.querySelector('.toolbar-background'),
33
- ionTitleEl,
34
- innerTitleEl: (ionTitleEl) ? ionTitleEl.shadowRoot.querySelector('.toolbar-title') : null,
35
- ionButtonsEl: Array.from(toolbar.querySelectorAll('ion-buttons')) || []
36
- };
37
- }) || []
38
- };
39
- };
40
- const handleContentScroll = (scrollEl, scrollHeaderIndex, contentEl) => {
41
- index.readTask(() => {
42
- const scrollTop = scrollEl.scrollTop;
43
- const scale = helpers.clamp(1, 1 + (-scrollTop / 500), 1.1);
44
- // Native refresher should not cause titles to scale
45
- const nativeRefresher = contentEl.querySelector('ion-refresher.refresher-native');
46
- if (nativeRefresher === null) {
47
- index.writeTask(() => {
48
- scaleLargeTitles(scrollHeaderIndex.toolbars, scale);
49
- });
50
- }
51
- });
52
- };
53
- const setToolbarBackgroundOpacity = (toolbar, opacity) => {
54
- if (opacity === undefined) {
55
- toolbar.background.style.removeProperty('--opacity');
56
- }
57
- else {
58
- toolbar.background.style.setProperty('--opacity', opacity.toString());
59
- }
60
- };
61
- const handleToolbarBorderIntersection = (ev, mainHeaderIndex) => {
62
- if (!ev[0].isIntersecting) {
63
- return;
64
- }
65
- /**
66
- * There is a bug in Safari where overflow scrolling on a non-body element
67
- * does not always reset the scrollTop position to 0 when letting go. It will
68
- * set to 1 once the rubber band effect has ended. This causes the background to
69
- * appear slightly on certain app setups.
70
- */
71
- const scale = (ev[0].intersectionRatio > 0.9) ? 0 : ((1 - ev[0].intersectionRatio) * 100) / 75;
72
- mainHeaderIndex.toolbars.forEach(toolbar => {
73
- setToolbarBackgroundOpacity(toolbar, (scale === 1) ? undefined : scale);
74
- });
75
- };
76
- /**
77
- * If toolbars are intersecting, hide the scrollable toolbar content
78
- * and show the primary toolbar content. If the toolbars are not intersecting,
79
- * hide the primary toolbar content and show the scrollable toolbar content
80
- */
81
- const handleToolbarIntersection = (ev, mainHeaderIndex, scrollHeaderIndex) => {
82
- index.writeTask(() => {
83
- handleToolbarBorderIntersection(ev, mainHeaderIndex);
84
- const event = ev[0];
85
- const intersection = event.intersectionRect;
86
- const intersectionArea = intersection.width * intersection.height;
87
- const rootArea = event.rootBounds.width * event.rootBounds.height;
88
- const isPageHidden = intersectionArea === 0 && rootArea === 0;
89
- const leftDiff = Math.abs(intersection.left - event.boundingClientRect.left);
90
- const rightDiff = Math.abs(intersection.right - event.boundingClientRect.right);
91
- const isPageTransitioning = intersectionArea > 0 && (leftDiff >= 5 || rightDiff >= 5);
92
- if (isPageHidden || isPageTransitioning) {
93
- return;
94
- }
95
- if (event.isIntersecting) {
96
- setHeaderActive(mainHeaderIndex, false);
97
- setHeaderActive(scrollHeaderIndex);
98
- }
99
- else {
100
- /**
101
- * There is a bug with IntersectionObserver on Safari
102
- * where `event.isIntersecting === false` when cancelling
103
- * a swipe to go back gesture. Checking the intersection
104
- * x, y, width, and height provides a workaround. This bug
105
- * does not happen when using Safari + Web Animations,
106
- * only Safari + CSS Animations.
107
- */
108
- const hasValidIntersection = (intersection.x === 0 && intersection.y === 0) || (intersection.width !== 0 && intersection.height !== 0);
109
- if (hasValidIntersection) {
110
- setHeaderActive(mainHeaderIndex);
111
- setHeaderActive(scrollHeaderIndex, false);
112
- setToolbarBackgroundOpacity(mainHeaderIndex.toolbars[0]);
113
- }
114
- }
115
- });
116
- };
117
- const setHeaderActive = (headerIndex, active = true) => {
118
- if (active) {
119
- headerIndex.el.classList.remove('header-collapse-condense-inactive');
120
- }
121
- else {
122
- headerIndex.el.classList.add('header-collapse-condense-inactive');
123
- }
124
- };
125
- const scaleLargeTitles = (toolbars = [], scale = 1, transition = false) => {
126
- toolbars.forEach(toolbar => {
127
- const ionTitle = toolbar.ionTitleEl;
128
- const titleDiv = toolbar.innerTitleEl;
129
- if (!ionTitle || ionTitle.size !== 'large') {
130
- return;
131
- }
132
- titleDiv.style.transition = (transition) ? TRANSITION : '';
133
- titleDiv.style.transform = `scale3d(${scale}, ${scale}, 1)`;
134
- });
135
- };
136
-
137
- const headerIosCss = "ion-header{display:block;position:relative;order:-1;width:100%;z-index:10}ion-header ion-toolbar:first-of-type{padding-top:var(--ion-safe-area-top, 0)}.header-ios ion-toolbar:last-of-type{--border-width:0 0 0.55px}@supports (backdrop-filter: blur(0)){.header-background{left:0;right:0;top:0;bottom:0;position:absolute;backdrop-filter:saturate(180%) blur(20px)}.header-translucent-ios ion-toolbar{--opacity:.8}.header-collapse-condense-inactive .header-background{backdrop-filter:blur(20px)}}.header-ios.ion-no-border ion-toolbar:last-of-type{--border-width:0}.header-collapse-condense{z-index:9}.header-collapse-condense ion-toolbar{position:sticky;top:0}.header-collapse-condense ion-toolbar:first-of-type{padding-top:7px;z-index:1}.header-collapse-condense ion-toolbar{--background:var(--ion-background-color, #fff);z-index:0}.header-collapse-condense ion-toolbar ion-searchbar{height:48px;padding-top:0px;padding-bottom:13px}.header-collapse-main ion-toolbar.in-toolbar ion-title,.header-collapse-main ion-toolbar.in-toolbar ion-buttons{transition:all 0.2s ease-in-out}.header-collapse-condense-inactive:not(.header-collapse-condense) ion-toolbar.in-toolbar ion-title,.header-collapse-condense-inactive:not(.header-collapse-condense) ion-toolbar.in-toolbar ion-buttons.buttons-collapse{opacity:0;pointer-events:none}.header-collapse-condense-inactive.header-collapse-condense ion-toolbar.in-toolbar ion-title,.header-collapse-condense-inactive.header-collapse-condense ion-toolbar.in-toolbar ion-buttons.buttons-collapse{visibility:hidden}";
138
-
139
- const headerMdCss = "ion-header{display:block;position:relative;order:-1;width:100%;z-index:10}ion-header ion-toolbar:first-of-type{padding-top:var(--ion-safe-area-top, 0)}.header-md::after{left:0;bottom:-5px;background-position:left 0 top -2px;position:absolute;width:100%;height:5px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAHBAMAAADzDtBxAAAAD1BMVEUAAAAAAAAAAAAAAAAAAABPDueNAAAABXRSTlMUCS0gBIh/TXEAAAAaSURBVAjXYxCEAgY4UIICBmMogMsgFLtAAQCNSwXZKOdPxgAAAABJRU5ErkJggg==);background-repeat:repeat-x;content:\"\"}[dir=rtl] .header-md::after,:host-context([dir=rtl]) .header-md::after{left:unset;right:unset;right:0}[dir=rtl] .header-md::after,:host-context([dir=rtl]) .header-md::after{background-position:right 0 top -2px}.header-collapse-condense{display:none}.header-md.ion-no-border::after{display:none}";
140
-
141
- const Header = class {
142
- constructor(hostRef) {
143
- index.registerInstance(this, hostRef);
144
- this.collapsibleHeaderInitialized = false;
145
- /**
146
- * If `true`, the header will be translucent.
147
- * Only applies when the mode is `"ios"` and the device supports
148
- * [`backdrop-filter`](https://developer.mozilla.org/en-US/docs/Web/CSS/backdrop-filter#Browser_compatibility).
149
- *
150
- * Note: In order to scroll content behind the header, the `fullscreen`
151
- * attribute needs to be set on the content.
152
- */
153
- this.translucent = false;
154
- }
155
- async componentDidLoad() {
156
- await this.checkCollapsibleHeader();
157
- }
158
- async componentDidUpdate() {
159
- await this.checkCollapsibleHeader();
160
- }
161
- disconnectedCallback() {
162
- this.destroyCollapsibleHeader();
163
- }
164
- async checkCollapsibleHeader() {
165
- // Determine if the header can collapse
166
- const hasCollapse = this.collapse === 'condense';
167
- const canCollapse = (hasCollapse && ionicGlobal.getIonMode(this) === 'ios') ? hasCollapse : false;
168
- if (!canCollapse && this.collapsibleHeaderInitialized) {
169
- this.destroyCollapsibleHeader();
170
- }
171
- else if (canCollapse && !this.collapsibleHeaderInitialized) {
172
- const pageEl = this.el.closest('ion-app,ion-page,.ion-page,page-inner');
173
- const contentEl = (pageEl) ? pageEl.querySelector('ion-content') : null;
174
- // Cloned elements are always needed in iOS transition
175
- index.writeTask(() => {
176
- const title = cloneElement('ion-title');
177
- title.size = 'large';
178
- cloneElement('ion-back-button');
179
- });
180
- await this.setupCollapsibleHeader(contentEl, pageEl);
181
- }
182
- }
183
- destroyCollapsibleHeader() {
184
- if (this.intersectionObserver) {
185
- this.intersectionObserver.disconnect();
186
- this.intersectionObserver = undefined;
187
- }
188
- if (this.scrollEl && this.contentScrollCallback) {
189
- this.scrollEl.removeEventListener('scroll', this.contentScrollCallback);
190
- this.contentScrollCallback = undefined;
191
- }
192
- if (this.collapsibleMainHeader) {
193
- this.collapsibleMainHeader.classList.remove('header-collapse-main');
194
- this.collapsibleMainHeader = undefined;
195
- }
196
- }
197
- async setupCollapsibleHeader(contentEl, pageEl) {
198
- if (!contentEl || !pageEl) {
199
- console.error('ion-header requires a content to collapse, make sure there is an ion-content.');
200
- return;
201
- }
202
- if (typeof IntersectionObserver === 'undefined') {
203
- return;
204
- }
205
- this.scrollEl = await contentEl.getScrollElement();
206
- const headers = pageEl.querySelectorAll('ion-header');
207
- this.collapsibleMainHeader = Array.from(headers).find((header) => header.collapse !== 'condense');
208
- if (!this.collapsibleMainHeader) {
209
- return;
210
- }
211
- const mainHeaderIndex = createHeaderIndex(this.collapsibleMainHeader);
212
- const scrollHeaderIndex = createHeaderIndex(this.el);
213
- if (!mainHeaderIndex || !scrollHeaderIndex) {
214
- return;
215
- }
216
- setHeaderActive(mainHeaderIndex, false);
217
- mainHeaderIndex.toolbars.forEach(toolbar => {
218
- setToolbarBackgroundOpacity(toolbar, 0);
219
- });
220
- /**
221
- * Handle interaction between toolbar collapse and
222
- * showing/hiding content in the primary ion-header
223
- * as well as progressively showing/hiding the main header
224
- * border as the top-most toolbar collapses or expands.
225
- */
226
- const toolbarIntersection = (ev) => { handleToolbarIntersection(ev, mainHeaderIndex, scrollHeaderIndex); };
227
- this.intersectionObserver = new IntersectionObserver(toolbarIntersection, { root: contentEl, threshold: [0.25, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1] });
228
- this.intersectionObserver.observe(scrollHeaderIndex.toolbars[scrollHeaderIndex.toolbars.length - 1].el);
229
- /**
230
- * Handle scaling of large iOS titles and
231
- * showing/hiding border on last toolbar
232
- * in primary header
233
- */
234
- this.contentScrollCallback = () => { handleContentScroll(this.scrollEl, scrollHeaderIndex, contentEl); };
235
- this.scrollEl.addEventListener('scroll', this.contentScrollCallback);
236
- index.writeTask(() => {
237
- if (this.collapsibleMainHeader !== undefined) {
238
- this.collapsibleMainHeader.classList.add('header-collapse-main');
239
- }
240
- });
241
- this.collapsibleHeaderInitialized = true;
242
- }
243
- render() {
244
- const { translucent } = this;
245
- const mode = ionicGlobal.getIonMode(this);
246
- const collapse = this.collapse || 'none';
247
- return (index.h(index.Host, { role: "banner", class: {
248
- [mode]: true,
249
- // Used internally for styling
250
- [`header-${mode}`]: true,
251
- [`header-translucent`]: this.translucent,
252
- [`header-collapse-${collapse}`]: true,
253
- [`header-translucent-${mode}`]: this.translucent,
254
- } }, mode === 'ios' && translucent &&
255
- index.h("div", { class: "header-background" }), index.h("slot", null)));
256
- }
257
- get el() { return index.getElement(this); }
258
- };
259
- Header.style = {
260
- ios: headerIosCss,
261
- md: headerMdCss
262
- };
263
-
264
- exports.ion_header = Header;
@@ -1,64 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-56cc404a.js');
6
- const ionicGlobal = require('./ionic-global-57e21b7b.js');
7
- const theme = require('./theme-98ccfc24.js');
8
- const spinnerConfigs = require('./spinner-configs-559523fd.js');
9
-
10
- const spinnerCss = ":host{display:inline-block;position:relative;width:28px;height:28px;color:var(--color);user-select:none}:host(.ion-color){color:var(--ion-color-base)}svg{left:0;top:0;transform-origin:center;position:absolute;width:100%;height:100%;transform:translateZ(0)}[dir=rtl] svg,:host-context([dir=rtl]) svg{left:unset;right:unset;right:0}[dir=rtl] svg,:host-context([dir=rtl]) svg{transform-origin:calc(100% - center)}:host(.spinner-lines) line,:host(.spinner-lines-small) line{stroke-width:4px;stroke-linecap:round;stroke:currentColor}:host(.spinner-lines) svg,:host(.spinner-lines-small) svg{animation:spinner-fade-out 1s linear infinite}:host(.spinner-bubbles) svg{animation:spinner-scale-out 1s linear infinite;fill:currentColor}:host(.spinner-circles) svg{animation:spinner-fade-out 1s linear infinite;fill:currentColor}:host(.spinner-crescent) circle{fill:transparent;stroke-width:4px;stroke-dasharray:128px;stroke-dashoffset:82px;stroke:currentColor}:host(.spinner-crescent) svg{animation:spinner-rotate 1s linear infinite}:host(.spinner-dots) circle{stroke-width:0;fill:currentColor}:host(.spinner-dots) svg{animation:spinner-dots 1s linear infinite}:host(.spinner-circular){animation:spinner-circular linear infinite}:host(.spinner-circular) circle{animation:spinner-circular-inner ease-in-out infinite;stroke:currentColor;stroke-dasharray:80px, 200px;stroke-dashoffset:0px;stroke-width:5.6;fill:none}:host(.spinner-paused),:host(.spinner-paused) svg,:host(.spinner-paused) circle{animation-play-state:paused}@keyframes spinner-fade-out{0%{opacity:1}100%{opacity:0}}@keyframes spinner-scale-out{0%{transform:scale(1, 1)}100%{transform:scale(0, 0)}}@keyframes spinner-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes spinner-dots{0%{transform:scale(1, 1);opacity:0.9}50%{transform:scale(0.4, 0.4);opacity:0.3}100%{transform:scale(1, 1);opacity:0.9}}@keyframes spinner-circular{100%{transform:rotate(360deg)}}@keyframes spinner-circular-inner{0%{stroke-dasharray:1px, 200px;stroke-dashoffset:0px}50%{stroke-dasharray:100px, 200px;stroke-dashoffset:-15px}100%{stroke-dasharray:100px, 200px;stroke-dashoffset:-125px}}";
11
-
12
- const Spinner = class {
13
- constructor(hostRef) {
14
- index.registerInstance(this, hostRef);
15
- /**
16
- * If `true`, the spinner's animation will be paused.
17
- */
18
- this.paused = false;
19
- }
20
- getName() {
21
- const spinnerName = this.name || ionicGlobal.config.get('spinner');
22
- const mode = ionicGlobal.getIonMode(this);
23
- if (spinnerName) {
24
- return spinnerName;
25
- }
26
- return (mode === 'ios') ? 'lines' : 'circular';
27
- }
28
- render() {
29
- const self = this;
30
- const mode = ionicGlobal.getIonMode(self);
31
- const spinnerName = self.getName();
32
- const spinner = spinnerConfigs.SPINNERS[spinnerName] || spinnerConfigs.SPINNERS['lines'];
33
- const duration = (typeof self.duration === 'number' && self.duration > 10 ? self.duration : spinner.dur);
34
- const svgs = [];
35
- if (spinner.circles !== undefined) {
36
- for (let i = 0; i < spinner.circles; i++) {
37
- svgs.push(buildCircle(spinner, duration, i, spinner.circles));
38
- }
39
- }
40
- else if (spinner.lines !== undefined) {
41
- for (let i = 0; i < spinner.lines; i++) {
42
- svgs.push(buildLine(spinner, duration, i, spinner.lines));
43
- }
44
- }
45
- return (index.h(index.Host, { class: theme.createColorClasses(self.color, {
46
- [mode]: true,
47
- [`spinner-${spinnerName}`]: true,
48
- 'spinner-paused': !!self.paused || ionicGlobal.config.getBoolean('_testing')
49
- }), role: "progressbar", style: spinner.elmDuration ? { animationDuration: duration + 'ms' } : {} }, svgs));
50
- }
51
- };
52
- const buildCircle = (spinner, duration, index$1, total) => {
53
- const data = spinner.fn(duration, index$1, total);
54
- data.style['animation-duration'] = duration + 'ms';
55
- return (index.h("svg", { viewBox: data.viewBox || '0 0 64 64', style: data.style }, index.h("circle", { transform: data.transform || 'translate(32,32)', cx: data.cx, cy: data.cy, r: data.r, style: spinner.elmDuration ? { animationDuration: duration + 'ms' } : {} })));
56
- };
57
- const buildLine = (spinner, duration, index$1, total) => {
58
- const data = spinner.fn(duration, index$1, total);
59
- data.style['animation-duration'] = duration + 'ms';
60
- return (index.h("svg", { viewBox: data.viewBox || '0 0 64 64', style: data.style }, index.h("line", { transform: "translate(32,32)", y1: data.y1, y2: data.y2 })));
61
- };
62
- Spinner.style = spinnerCss;
63
-
64
- exports.ion_spinner = Spinner;
@@ -1,27 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-56cc404a.js');
6
-
7
- const pageFooterCss = "sparkle-page-footer{margin-top:6rem}sparkle-page-footer .last-updated{color:var(--text-color--light);font-weight:normal;margin-left:auto;text-decoration:underline}sparkle-page-footer .page-footer__row{align-items:center;display:flex;font-size:12px;margin-top:2rem}";
8
-
9
- const SparklePageFooter = class {
10
- constructor(hostRef) {
11
- index.registerInstance(this, hostRef);
12
- }
13
- hostData() {
14
- return {
15
- role: 'contentinfo',
16
- };
17
- }
18
- __stencil_render() {
19
- const { page } = this;
20
- const pagination = (page.previousText && page.previousUrl) || (page.nextText && page.nextUrl) ? index.h("sparkle-pagination", { page: page }) : '';
21
- return pagination;
22
- }
23
- render() { return index.h(index.Host, this.hostData(), this.__stencil_render()); }
24
- };
25
- SparklePageFooter.style = pageFooterCss;
26
-
27
- exports.sparkle_page_footer = SparklePageFooter;
@@ -1,31 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-56cc404a.js');
6
- const icons = require('./icons-fc80a947.js');
7
-
8
- const paginationCss = "sparkle-pagination{border-color:var(--line-rule-color);border-style:solid;border-width:0 0 1px;display:flex;flex-wrap:wrap-reverse;padding:var(--page-padding, 2rem 0rem) 0}sparkle-pagination .next,sparkle-pagination .previous{max-width:100%;overflow:hidden}sparkle-pagination .next{margin-left:auto}sparkle-pagination a{border-radius:4px;display:flex;align-items:flex-start;flex-direction:column;padding:1em 1.5em;color:rgb(var(--accent-color-rgb))}sparkle-pagination .previous a{padding-left:0}sparkle-pagination .next a{padding-right:0;align-items:flex-end}@media (max-width: 700px){sparkle-pagination .previous a{padding-right:.5rem}sparkle-pagination .next a{padding-left:.5rem}}@media (hover: hover){sparkle-pagination a:hover,sparkle-pagination a:active{filter:brightness(0.8)}}sparkle-pagination .pagination__title{color:var(--text-color--lighter);font-size:12px;display:block}sparkle-pagination .pagination__text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;color:var(--ion-color-sparkle)}sparkle-pagination span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}sparkle-pagination svg{fill:currentColor;flex:none;height:1em;margin-bottom:-0.125em;width:1em}sparkle-pagination .next svg{margin-left:0.5em}sparkle-pagination .previous svg{margin-right:0.5em}";
9
-
10
- const SparklePagination = class {
11
- constructor(hostRef) {
12
- index.registerInstance(this, hostRef);
13
- this.page = { title: null, path: null, body: null, pageInfo: null };
14
- }
15
- render() {
16
- const { previousText, previousUrl, nextText, nextUrl } = this.page;
17
- const shouldShowPrevious = previousText && previousUrl;
18
- const shouldShowNext = nextText && nextUrl;
19
- const links = [];
20
- if (shouldShowPrevious) {
21
- links.push(index.h("stencil-route-link", { url: previousUrl, key: "previous", class: "previous", anchorTitle: previousText }, index.h("div", { class: "pagination__title" }, "Previous"), index.h("div", { class: "pagination__text" }, index.h(icons.BackArrow, null), index.h("span", null, previousText))));
22
- }
23
- if (shouldShowNext) {
24
- links.push(index.h("stencil-route-link", { url: nextUrl, key: "next", class: "next", anchorTitle: nextText }, index.h("div", { class: "pagination__title" }, "Next"), index.h("div", { class: "pagination__text" }, index.h("span", null, nextText), index.h(icons.ForwardArrow, null))));
25
- }
26
- return links;
27
- }
28
- };
29
- SparklePagination.style = paginationCss;
30
-
31
- exports.sparkle_pagination = SparklePagination;
@@ -1,23 +0,0 @@
1
- 'use strict';
2
-
3
- const sample = (array) => array[Math.floor(Math.random() * array.length)];
4
- function MyMoodTemplate(feeling, intensity, location) {
5
- return `Mood : ${feeling} and Level: ${intensity} <gi-mood-image src="${location}"></gi-mood-image>`;
6
- }
7
- function MyHealthTemplate(heartRate) {
8
- return `Heart rate ${heartRate} bpm`;
9
- }
10
- function MyGoalTemplate(goalName, text, progress) {
11
- return `Goal update: ${goalName} ${text} Progress: ${progress}`;
12
- }
13
- class SparkleGlobal {
14
- }
15
- SparkleGlobal.MY_GOALS_APP_ID = 1;
16
- SparkleGlobal.MY_HEALTH_APP_ID = 2;
17
- SparkleGlobal.MY_MOOD_APP_ID = 3;
18
-
19
- exports.MyGoalTemplate = MyGoalTemplate;
20
- exports.MyHealthTemplate = MyHealthTemplate;
21
- exports.MyMoodTemplate = MyMoodTemplate;
22
- exports.SparkleGlobal = SparkleGlobal;
23
- exports.sample = sample;