@sparkle-learning/core 0.0.31 → 0.0.34

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 (278) hide show
  1. package/dist/cjs/PrivateRoute-482697a6.js +35 -0
  2. package/dist/cjs/{PrivateRoute-043bb7d3.js → auth.service-f878f6ab.js} +0 -30
  3. package/dist/cjs/dom-utils-b8befdd5.js +63 -0
  4. package/dist/cjs/header-mobile-collapse_2.cjs.entry.js +112 -0
  5. package/dist/cjs/{icons-b8a2231a.js → icons-80d477f6.js} +0 -0
  6. package/dist/cjs/index-07e8aa51.js +3071 -0
  7. package/dist/cjs/index.cjs.js +6 -5
  8. package/dist/cjs/injectHistory-77d41284.js +9 -0
  9. package/dist/cjs/ion-avatar.cjs.entry.js +25 -0
  10. package/dist/cjs/ion-button_3.cjs.entry.js +383 -0
  11. package/dist/cjs/ion-card_2.cjs.entry.js +93 -0
  12. package/dist/cjs/ion-checkbox_4.cjs.entry.js +370 -0
  13. package/dist/cjs/ion-col_3.cjs.entry.js +155 -0
  14. package/dist/cjs/ion-icon_2.cjs.entry.js +397 -0
  15. package/dist/cjs/ion-input_2.cjs.entry.js +316 -0
  16. package/dist/cjs/ion-label_2.cjs.entry.js +126 -0
  17. package/dist/cjs/ion-range.cjs.entry.js +445 -0
  18. package/dist/cjs/ion-spinner.cjs.entry.js +64 -0
  19. package/dist/cjs/loader.cjs.js +1 -1
  20. package/dist/cjs/match-path-84c9f7ca.js +511 -0
  21. package/dist/cjs/sparkle-card_3.cjs.entry.js +91 -0
  22. package/dist/cjs/sparkle-code.cjs.entry.js +1 -1
  23. package/dist/cjs/sparkle-core.cjs.js +1 -1
  24. package/dist/cjs/sparkle-course-root.cjs.entry.js +145 -0
  25. package/dist/cjs/sparkle-dropdown.cjs.entry.js +61 -0
  26. package/dist/cjs/{header-mobile-collapse_61.cjs.entry.js → sparkle-export-lessons_6.cjs.entry.js} +8863 -17664
  27. package/dist/cjs/sparkle-facilitator-header_19.cjs.entry.js +2129 -0
  28. package/dist/cjs/sparkle-feedback.cjs.entry.js +2 -1
  29. package/dist/cjs/sparkle-goal-progress.cjs.entry.js +19 -0
  30. package/dist/cjs/sparkle-gww-item.cjs.entry.js +74 -0
  31. package/dist/cjs/sparkle-intro.cjs.entry.js +26 -0
  32. package/dist/cjs/sparkle-menu-collapsible.cjs.entry.js +1 -1
  33. package/dist/cjs/sparkle-menu-toggle_3.cjs.entry.js +236 -0
  34. package/dist/cjs/sparkle-validation-error.cjs.entry.js +21 -0
  35. package/dist/cjs/stencil-route-link.cjs.entry.js +77 -0
  36. package/dist/cjs/stencil-router-redirect.cjs.entry.js +32 -0
  37. package/dist/cjs/student.service-7af424fe.js +61 -0
  38. package/dist/cjs/user.store-3d29139d.js +21 -0
  39. package/dist/collection/collection-manifest.json +1 -0
  40. package/dist/collection/components/layout/page/page.js +0 -2
  41. package/dist/collection/components/sparkle-intro/sparkle-intro.css +15 -0
  42. package/dist/collection/components/sparkle-intro/sparkle-intro.js +35 -0
  43. package/dist/collection/models/course.model.js +6 -0
  44. package/dist/esm/PrivateRoute-f59ba6b5.js +33 -0
  45. package/dist/esm/{animation-b306f6c2.js → animation-7b083379.js} +1 -1
  46. package/dist/esm/{PrivateRoute-b9937c45.js → auth.service-7ab0ac58.js} +3 -32
  47. package/dist/esm/{auth.store-3ed2389e.js → auth.store-98fad96d.js} +2 -2
  48. package/dist/esm/dom-utils-8e73e88b.js +55 -0
  49. package/dist/esm/{facilitator.service-ec0a9739.js → facilitator.service-1524bf89.js} +1 -1
  50. package/dist/esm/{feed.service-33b83cb7.js → feed.service-4900fc62.js} +2 -2
  51. package/dist/esm/{framework-delegate-3bc58c27.js → framework-delegate-518bd233.js} +1 -1
  52. package/dist/esm/header-mobile-collapse_2.entry.js +107 -0
  53. package/dist/esm/{helpers-39367fe1.js → helpers-9d0930de.js} +1 -1
  54. package/dist/esm/{icons-5debfbaf.js → icons-05b6ce86.js} +1 -1
  55. package/dist/esm/{index-c26d8655.js → index-8de9446b.js} +3 -3
  56. package/dist/esm/index-c92f99d4.js +3067 -0
  57. package/dist/esm/{index-dc61f152.js → index-ea26196a.js} +1 -1
  58. package/dist/esm/{index-9594837e.js → index-fa5e93c5.js} +2 -2
  59. package/dist/esm/{index.es-97dd8174.js → index.es-89cff481.js} +3 -3
  60. package/dist/esm/index.js +5 -4
  61. package/dist/esm/injectHistory-52d0c7eb.js +7 -0
  62. package/dist/esm/{input-shims-cc98ea92.js → input-shims-7f04e044.js} +1 -1
  63. package/dist/esm/ion-accordion.entry.js +2 -2
  64. package/dist/esm/ion-action-sheet_4.entry.js +5 -5
  65. package/dist/esm/ion-app.entry.js +3 -3
  66. package/dist/esm/ion-avatar.entry.js +21 -0
  67. package/dist/esm/ion-back-button.entry.js +2 -2
  68. package/dist/esm/ion-breadcrumb.entry.js +2 -2
  69. package/dist/esm/ion-button_3.entry.js +377 -0
  70. package/dist/esm/ion-card_2.entry.js +88 -0
  71. package/dist/esm/ion-checkbox_4.entry.js +363 -0
  72. package/dist/esm/ion-col_3.entry.js +149 -0
  73. package/dist/esm/ion-content_2.entry.js +1 -1
  74. package/dist/esm/ion-datetime.entry.js +2 -2
  75. package/dist/esm/ion-fab-button.entry.js +1 -1
  76. package/dist/esm/ion-footer.entry.js +1 -1
  77. package/dist/esm/ion-icon_2.entry.js +392 -0
  78. package/dist/esm/ion-img.entry.js +1 -1
  79. package/dist/esm/ion-infinite-scroll.entry.js +1 -1
  80. package/dist/esm/ion-input_2.entry.js +311 -0
  81. package/dist/esm/ion-item-options.entry.js +1 -1
  82. package/dist/esm/ion-item-sliding.entry.js +1 -1
  83. package/dist/esm/ion-label_2.entry.js +121 -0
  84. package/dist/esm/ion-loading.entry.js +3 -3
  85. package/dist/esm/ion-menu-button.entry.js +5 -5
  86. package/dist/esm/ion-menu-toggle.entry.js +4 -4
  87. package/dist/esm/ion-menu.entry.js +4 -4
  88. package/dist/esm/ion-modal.entry.js +5 -5
  89. package/dist/esm/ion-nav.entry.js +4 -4
  90. package/dist/esm/ion-picker-column-internal_2.entry.js +1 -1
  91. package/dist/esm/ion-picker-column.entry.js +1 -1
  92. package/dist/esm/ion-picker.entry.js +3 -3
  93. package/dist/esm/ion-progress-bar.entry.js +1 -1
  94. package/dist/esm/ion-range.entry.js +441 -0
  95. package/dist/esm/ion-refresher-content.entry.js +1 -1
  96. package/dist/esm/ion-refresher.entry.js +2 -2
  97. package/dist/esm/ion-reorder-group.entry.js +1 -1
  98. package/dist/esm/ion-reorder.entry.js +1 -1
  99. package/dist/esm/ion-router-outlet.entry.js +4 -4
  100. package/dist/esm/ion-router.entry.js +1 -1
  101. package/dist/esm/ion-searchbar.entry.js +2 -2
  102. package/dist/esm/ion-segment-button.entry.js +1 -1
  103. package/dist/esm/ion-segment.entry.js +1 -1
  104. package/dist/esm/ion-select_2.entry.js +2 -2
  105. package/dist/esm/ion-slides.entry.js +1 -1
  106. package/dist/esm/ion-spinner.entry.js +60 -0
  107. package/dist/esm/ion-tab.entry.js +2 -2
  108. package/dist/esm/ion-textarea.entry.js +1 -1
  109. package/dist/esm/ion-toast.entry.js +3 -3
  110. package/dist/esm/ion-toggle.entry.js +1 -1
  111. package/dist/esm/ion-virtual-scroll.entry.js +1 -1
  112. package/dist/esm/{ios.transition-b4ca8a33.js → ios.transition-db4f4ca6.js} +3 -3
  113. package/dist/esm/loader.js +1 -1
  114. package/dist/esm/match-path-36fdf5c7.js +499 -0
  115. package/dist/esm/{md.transition-ca5e0322.js → md.transition-8294b503.js} +3 -3
  116. package/dist/esm/{menu-toggle-util-7fa22c2f.js → menu-toggle-util-06adade3.js} +1 -1
  117. package/dist/esm/{overlays-34cfa9e0.js → overlays-5c777f10.js} +2 -2
  118. package/dist/esm/{purify-ffce2b4c.js → purify-eb68cf1d.js} +1 -1
  119. package/dist/esm/sparkle-animation-player.entry.js +1 -1
  120. package/dist/esm/sparkle-card_3.entry.js +85 -0
  121. package/dist/esm/sparkle-code.entry.js +1 -1
  122. package/dist/esm/sparkle-core.js +1 -1
  123. package/dist/esm/sparkle-course-root.entry.js +141 -0
  124. package/dist/esm/sparkle-dropdown.entry.js +57 -0
  125. package/dist/esm/{header-mobile-collapse_61.entry.js → sparkle-export-lessons_6.entry.js} +8858 -17604
  126. package/dist/esm/sparkle-facilitator-header_19.entry.js +2107 -0
  127. package/dist/esm/sparkle-facilitator-notes-form.entry.js +4 -4
  128. package/dist/esm/sparkle-feedback.entry.js +5 -4
  129. package/dist/esm/sparkle-goal-form.entry.js +5 -5
  130. package/dist/esm/sparkle-goal-progress.entry.js +15 -0
  131. package/dist/esm/sparkle-gww-item.entry.js +70 -0
  132. package/dist/esm/sparkle-intro.entry.js +22 -0
  133. package/dist/esm/sparkle-menu-collapsible.entry.js +1 -1
  134. package/dist/esm/sparkle-menu-toggle_3.entry.js +230 -0
  135. package/dist/esm/sparkle-validation-error.entry.js +17 -0
  136. package/dist/esm/{status-tap-6351a0cb.js → status-tap-e8c0c752.js} +1 -1
  137. package/dist/esm/stencil-route-link.entry.js +73 -0
  138. package/dist/esm/stencil-router-redirect.entry.js +28 -0
  139. package/dist/esm/{student.service-29b688ba.js → student.service-c2f44f3a.js} +3 -18
  140. package/dist/esm/{swipe-back-34251834.js → swipe-back-9a3b2cdd.js} +1 -1
  141. package/dist/esm/{tap-click-13f1fb0d.js → tap-click-cca25060.js} +1 -1
  142. package/dist/esm/user.store-e6ff7558.js +19 -0
  143. package/dist/esm/{util-6ef753e9.js → util-a831d09d.js} +1 -1
  144. package/dist/sparkle-core/index.esm.js +1 -1
  145. package/dist/sparkle-core/p-021fde3c.entry.js +1 -0
  146. package/dist/sparkle-core/p-034306e2.js +1 -0
  147. package/dist/sparkle-core/{p-6c90bde6.entry.js → p-034aa29f.entry.js} +1 -1
  148. package/dist/sparkle-core/p-06c0cce3.entry.js +1 -0
  149. package/dist/sparkle-core/{p-9cfdeb18.entry.js → p-08923b40.entry.js} +1 -1
  150. package/dist/sparkle-core/{p-513794b0.js → p-0ad99881.js} +1 -1
  151. package/dist/sparkle-core/{p-95004267.entry.js → p-11234d0f.entry.js} +1 -1
  152. package/dist/sparkle-core/{p-9a17f2ad.js → p-1133fcbd.js} +2 -2
  153. package/dist/sparkle-core/{p-faa912d7.entry.js → p-1551190a.entry.js} +1 -1
  154. package/dist/sparkle-core/p-1728ead7.js +1 -0
  155. package/dist/sparkle-core/{p-ae1f145d.entry.js → p-1e8c22e0.entry.js} +1 -1
  156. package/dist/sparkle-core/p-232cc3bc.js +1 -0
  157. package/dist/sparkle-core/{p-289a35ed.entry.js → p-28950db0.entry.js} +1 -1
  158. package/dist/sparkle-core/p-2af82cc1.entry.js +1 -0
  159. package/dist/sparkle-core/p-2bd4c60e.js +1 -0
  160. package/dist/sparkle-core/p-2f437793.entry.js +348 -0
  161. package/dist/sparkle-core/p-330ccc7c.entry.js +1 -0
  162. package/dist/sparkle-core/{p-838fa86d.entry.js → p-337f92b0.entry.js} +1 -1
  163. package/dist/sparkle-core/{p-857f3696.entry.js → p-35c5c110.entry.js} +1 -1
  164. package/dist/sparkle-core/p-3ff617d5.js +1 -0
  165. package/dist/sparkle-core/{p-7c38a70b.js → p-401feeb0.js} +1 -1
  166. package/dist/sparkle-core/{p-5a3d0e6b.js → p-4028676b.js} +1 -1
  167. package/dist/sparkle-core/{p-1cef8572.js → p-41124baa.js} +1 -1
  168. package/dist/sparkle-core/{p-0187adef.entry.js → p-41af3793.entry.js} +1 -1
  169. package/dist/sparkle-core/p-43a7391b.entry.js +1 -0
  170. package/dist/sparkle-core/{p-855ca600.js → p-44c23f72.js} +1 -1
  171. package/dist/sparkle-core/{p-c1376096.entry.js → p-4550e10f.entry.js} +1 -1
  172. package/dist/sparkle-core/{p-660e0742.js → p-4a72626a.js} +1 -1
  173. package/dist/sparkle-core/{p-e1cba44b.entry.js → p-4ba57978.entry.js} +1 -1
  174. package/dist/sparkle-core/{p-935e7cfc.js → p-4bd4dab2.js} +1 -1
  175. package/dist/sparkle-core/{p-d5b05ece.entry.js → p-4ef4b8bd.entry.js} +1 -1
  176. package/dist/sparkle-core/{p-55ae49e1.js → p-4f144efa.js} +1 -1
  177. package/dist/sparkle-core/{p-713590fc.js → p-52d4715a.js} +1 -1
  178. package/dist/sparkle-core/{p-bca0e465.entry.js → p-52f1d1ca.entry.js} +1 -1
  179. package/dist/sparkle-core/{p-7e61973d.entry.js → p-5a98d42e.entry.js} +1 -1
  180. package/dist/sparkle-core/{p-82e98d07.entry.js → p-5e4ec238.entry.js} +1 -1
  181. package/dist/sparkle-core/{p-0146afa0.entry.js → p-5ec7fd67.entry.js} +1 -1
  182. package/dist/sparkle-core/p-618f6f82.entry.js +1 -0
  183. package/dist/sparkle-core/p-65ca1fb2.entry.js +1 -0
  184. package/dist/sparkle-core/{p-a080e768.entry.js → p-663fafa9.entry.js} +1 -1
  185. package/dist/sparkle-core/p-67f71099.entry.js +4 -0
  186. package/dist/sparkle-core/{p-6e88764b.entry.js → p-6a16b9ef.entry.js} +2 -2
  187. package/dist/sparkle-core/p-6b6a8f0a.entry.js +1 -0
  188. package/dist/sparkle-core/p-6c5b5ea2.entry.js +1 -0
  189. package/dist/sparkle-core/{p-941eaa3a.entry.js → p-6ebf52fb.entry.js} +1 -1
  190. package/dist/sparkle-core/p-6f45db93.js +1 -0
  191. package/dist/sparkle-core/p-74106ca8.entry.js +1 -0
  192. package/dist/sparkle-core/{p-6fbe3ca3.entry.js → p-7568dcab.entry.js} +1 -1
  193. package/dist/sparkle-core/p-7703bae9.entry.js +1 -0
  194. package/dist/sparkle-core/p-77c23496.entry.js +1 -0
  195. package/dist/sparkle-core/p-79606a41.entry.js +1 -0
  196. package/dist/sparkle-core/p-7976e88c.entry.js +1 -0
  197. package/dist/sparkle-core/p-7c1f59ec.js +1 -0
  198. package/dist/sparkle-core/p-7de0a22b.entry.js +1 -0
  199. package/dist/sparkle-core/p-848fe770.entry.js +1 -0
  200. package/dist/sparkle-core/{p-cbbeed67.entry.js → p-85429b12.entry.js} +1 -1
  201. package/dist/sparkle-core/{p-64e72f8f.js → p-86d099f1.js} +2 -2
  202. package/dist/sparkle-core/{p-389500fd.js → p-87549bb7.js} +2 -2
  203. package/dist/sparkle-core/{p-1b78dea1.entry.js → p-8c470e28.entry.js} +1 -1
  204. package/dist/sparkle-core/{p-50aac721.entry.js → p-90466494.entry.js} +1 -1
  205. package/dist/sparkle-core/p-954c89c2.entry.js +1 -0
  206. package/dist/sparkle-core/{p-f4001fdf.js → p-95d01c4c.js} +1 -1
  207. package/dist/sparkle-core/{p-6ee40949.js → p-987c64eb.js} +1 -1
  208. package/dist/sparkle-core/{p-1af044f7.js → p-a7832a51.js} +1 -1
  209. package/dist/sparkle-core/p-a89dea80.entry.js +1 -0
  210. package/dist/sparkle-core/{p-6c6145cd.js → p-b17dd6df.js} +2 -2
  211. package/dist/sparkle-core/{p-5ff6416d.entry.js → p-b21d0d9f.entry.js} +1 -1
  212. package/dist/sparkle-core/p-b7dafaae.entry.js +1 -0
  213. package/dist/sparkle-core/{p-c3986a52.entry.js → p-bd062288.entry.js} +1 -1
  214. package/dist/sparkle-core/{p-c1279cc9.entry.js → p-beb401e3.entry.js} +1 -1
  215. package/dist/sparkle-core/p-bef34cfe.entry.js +1 -0
  216. package/dist/sparkle-core/{p-6bf07a28.js → p-c1c59771.js} +1 -1
  217. package/dist/sparkle-core/p-c4104929.entry.js +1 -0
  218. package/dist/sparkle-core/{p-173d5461.entry.js → p-c748f64e.entry.js} +1 -1
  219. package/dist/sparkle-core/{p-d4a435f8.entry.js → p-c753207f.entry.js} +1 -1
  220. package/dist/sparkle-core/{p-18e62133.entry.js → p-c8ae9e47.entry.js} +1 -1
  221. package/dist/sparkle-core/p-c8ed0575.js +1 -0
  222. package/dist/sparkle-core/{p-8fe2e51f.entry.js → p-c96b24bd.entry.js} +2 -2
  223. package/dist/sparkle-core/p-ce13171b.entry.js +1 -0
  224. package/dist/sparkle-core/{p-5c9aa1f9.entry.js → p-d00f550b.entry.js} +1 -1
  225. package/dist/sparkle-core/p-d394eed1.entry.js +1 -0
  226. package/dist/sparkle-core/p-d48e95c1.entry.js +1 -0
  227. package/dist/sparkle-core/p-d4b1a14a.entry.js +1 -0
  228. package/dist/sparkle-core/{p-b81e20fe.entry.js → p-d56efeac.entry.js} +1 -1
  229. package/dist/sparkle-core/{p-932bfb69.entry.js → p-d59a5984.entry.js} +1 -1
  230. package/dist/sparkle-core/p-d8aff730.entry.js +1 -0
  231. package/dist/sparkle-core/{p-5d2e54ee.entry.js → p-da8921d0.entry.js} +1 -1
  232. package/dist/sparkle-core/{p-a1cab0f3.js → p-e08059b6.js} +2 -2
  233. package/dist/sparkle-core/p-e1aee41e.entry.js +1 -0
  234. package/dist/sparkle-core/{p-5598650a.entry.js → p-ec4d22e3.entry.js} +1 -1
  235. package/dist/sparkle-core/{p-eb70a23c.entry.js → p-ed3eed72.entry.js} +1 -1
  236. package/dist/sparkle-core/{p-a7cc0052.entry.js → p-ee0717e1.entry.js} +1 -1
  237. package/dist/sparkle-core/p-ef2dace6.js +4 -0
  238. package/dist/sparkle-core/{p-2ee6a5f9.entry.js → p-f1106984.entry.js} +1 -1
  239. package/dist/sparkle-core/p-f61ca75c.entry.js +1 -0
  240. package/dist/sparkle-core/{p-e225581a.js → p-f6bafe1d.js} +1 -1
  241. package/dist/sparkle-core/{p-1df05176.js → p-ff4d6858.js} +1 -1
  242. package/dist/sparkle-core/sparkle-core.esm.js +1 -1
  243. package/dist/types/components/sparkle-intro/sparkle-intro.d.ts +7 -0
  244. package/dist/types/components.d.ts +13 -0
  245. package/dist/types/models/course.model.d.ts +1 -8
  246. package/package.json +2 -2
  247. package/dist/cjs/student.service-744c3155.js +0 -77
  248. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/button/button.css +0 -49
  249. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/cards/card/card.css +0 -208
  250. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/cards/cards.css +0 -31
  251. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/code/code.css +0 -245
  252. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/dropdown/dropdown.css +0 -115
  253. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/header/header-mobile-collapse/header-mobile-collapse.css +0 -255
  254. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/header/header.css +0 -232
  255. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/menu/collapsible/collapsible.css +0 -3
  256. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/menu/menu-toggle/menu-toggle.css +0 -25
  257. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/menu/menu.css +0 -71
  258. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/nav/nav.css +0 -194
  259. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/notfound-page/notfound-page.css +0 -4
  260. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/overlay/overlay.css +0 -67
  261. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/page-footer/page-footer.css +0 -18
  262. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/pagination/pagination.css +0 -89
  263. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/select/select.css +0 -52
  264. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/sidebar/sidebar.css +0 -98
  265. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/sparkle-lower-content-nav/sparkle-lower-content-nav.css +0 -8
  266. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/table-of-contents/table-of-contents.css +0 -37
  267. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/tabs/tabs.css +0 -64
  268. package/dist/sparkle-core/p-03189863.js +0 -1
  269. package/dist/sparkle-core/p-1339830f.entry.js +0 -1
  270. package/dist/sparkle-core/p-145e40f5.entry.js +0 -1
  271. package/dist/sparkle-core/p-547b70c6.entry.js +0 -1
  272. package/dist/sparkle-core/p-6bbabb80.entry.js +0 -1
  273. package/dist/sparkle-core/p-950effe7.entry.js +0 -1
  274. package/dist/sparkle-core/p-d8d3524a.js +0 -1
  275. package/dist/sparkle-core/p-df0070c5.entry.js +0 -352
  276. package/dist/sparkle-core/p-e0fced48.entry.js +0 -1
  277. package/dist/sparkle-core/p-e72d4450.js +0 -4
  278. package/dist/sparkle-core/p-fc933591.entry.js +0 -1
@@ -1,194 +0,0 @@
1
- sparkle-nav {
2
- display: block;
3
- flex: 0 0 auto;
4
- z-index: 1;
5
- }
6
-
7
- sparkle-nav .wrapper {
8
- position: relative;
9
- }
10
-
11
- sparkle-nav .section-label {
12
- margin-bottom: 0;
13
- font-size: 14px;
14
- font-weight: 600;
15
- }
16
-
17
- sparkle-nav .module-list li,
18
- sparkle-nav .module-list ul li {
19
- list-style-type: none;
20
- margin: 0;
21
- padding: 0;
22
- }
23
-
24
- sparkle-nav .module-list {
25
- margin-top: 0;
26
- padding: 0;
27
- }
28
-
29
- sparkle-nav .module-list .section-label:first-of-type {
30
- margin-top: 0;
31
- }
32
-
33
- sparkle-nav .module-list li {
34
- font-size: 14px;
35
- padding: 10px 10px 0px 14px;
36
- }
37
-
38
- sparkle-nav .module-list > li {
39
- margin-top: 10px;
40
- }
41
-
42
- sparkle-nav .module-list a {
43
- font-weight: 400;
44
- color: #6c6c8b;
45
- text-decoration: none;
46
- white-space: nowrap;
47
- border: 0;
48
- }
49
-
50
- sparkle-nav .module-list a:not(.link-active) {
51
- transition: color 0.2s;
52
- }
53
-
54
- sparkle-nav .module-list a:hover {
55
- border: 0;
56
- }
57
-
58
- sparkle-nav .module-list .link-active {
59
- font-weight: bold;
60
- color: var(--ion-color-sparkle);
61
- }
62
-
63
- sparkle-nav .module-list .link-active a{
64
- color: var(--ion-color-sparkle);
65
- }
66
-
67
- sparkle-nav .module-list a:hover:not(.link-active) {
68
- color: var(--ion-color-sparkle);
69
- }
70
-
71
- sparkle-nav .module-list ul li {
72
- padding-left: 12px;
73
- transition: 80ms height;
74
- display: block;
75
- overflow: hidden;
76
- text-overflow: ellipsis;
77
- }
78
-
79
- sparkle-nav .module-list ul.collapsed li {
80
- height: 0;
81
- }
82
-
83
- sparkle-nav ul.session-list {
84
- margin: 0;
85
- padding: 10px 0px 0px 0px;
86
- }
87
-
88
- sparkle-nav ul.session-list li a {
89
- display: flex;
90
- flex-direction: column;
91
- padding: 15px 24px;
92
- position: relative;
93
- }
94
-
95
- sparkle-nav ul.session-list li a:before {
96
- content: '';
97
- width: 10px;
98
- height: 10px;
99
- border-radius: 50%;
100
- background: #dfe1e3;
101
- display: block;
102
- position: absolute;
103
- left: 1px;
104
- top: 50%;
105
- margin-top: -5px;
106
- z-index: 5
107
- }
108
-
109
-
110
- sparkle-nav ul.session-list li a:after {
111
- content: '';
112
- background: #dfe1e3;
113
- height: 100%;
114
- position: absolute;
115
- width: 2px;
116
- display: block;
117
- left: 5px;
118
- top: 0
119
- }
120
-
121
- sparkle-nav ul.session-list li a.is-active {
122
- color: var(--ion-color-sparkle);
123
- }
124
-
125
- sparkle-nav ul.session-list li a.is-active:before {
126
- width: 14px;
127
- height: 14px;
128
- left: 23px;
129
- margin-top: -7px;
130
- background: var(--ion-color-sparkle);
131
- box-shadow: 0 0 4px var(--ion-color-sparkle);
132
- }
133
-
134
-
135
- sparkle-nav ul.session-list li a.is-active:after {
136
- background: #dfe1e3
137
- }
138
-
139
- sparkle-nav ul.session-list li stencil-route-link.is-completed a {
140
- /* color: var(--ion-color-sparkle); */
141
- }
142
-
143
- sparkle-nav ul.session-list li stencil-route-link.is-completed a:before {
144
- background: var(--ion-color-sparkle);
145
- }
146
-
147
- sparkle-nav ul.session-list li stencil-route-link.is-completed a:after {
148
- background: var(--ion-color-sparkle);
149
- }
150
-
151
- sparkle-nav ul.session-list li a p {
152
- color: #fff;
153
- flex: 1;
154
- white-space: nowrap;
155
- overflow: hidden;
156
- text-overflow: ellipsis;
157
- transition: .2s ease-in-out color
158
- }
159
-
160
- sparkle-nav ul.session-list li a span {
161
- display: block;
162
- line-height: 12px;
163
- }
164
-
165
- sparkle-nav ul li span.coming-soon {
166
- font-size: 0.7rem;
167
- display: block;
168
- background: 0 0;
169
- color: #f6c95b;
170
- line-height: 14px;
171
- border-radius: 4px;
172
- padding: 1px 4px 0;
173
- box-shadow: none;
174
- border: 1px solid #f6c95b;
175
- width: 85px;
176
- text-align: center;
177
- }
178
-
179
-
180
- sparkle-nav ul.session-list li a:hover p {
181
- color: var(--ion-color-sparkle);
182
- }
183
-
184
-
185
-
186
- sparkle-nav ul.session-list li:first-child a:after {
187
- height: 50%;
188
- top: 50%
189
- }
190
-
191
- sparkle-nav ul.session-list li:last-child a:after {
192
- height: 50%;
193
- bottom: 50%
194
- }
@@ -1,67 +0,0 @@
1
- sparkle-overlay {
2
- --sparkle-z-index-xl: 500;
3
- --sparkle-transition-fast: 0.3s;
4
- --sparkle-color-light-base: 197, 209, 218;
5
- --sparkle-shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
6
- }
7
- .sparkle-overlay {
8
- -ms-flex-align: center;
9
- align-items: center;
10
- display: flex;
11
- visibility: hidden;
12
- -ms-flex-pack: center;
13
- justify-content: center;
14
- position: fixed;
15
- top: 0;
16
- left: 0;
17
- right: 0;
18
- bottom: 0;
19
- pointer-events: auto;
20
- -ms-touch-action: none;
21
- touch-action: none;
22
- opacity: 0;
23
- z-index: var(--sparkle-z-index-xl);
24
- }
25
- .sparkle-overlay,
26
- .sparkle-overlay.opened {
27
- -webkit-transition: all var(--sparkle-transition-fast) ease-in-out;
28
- transition: all var(--sparkle-transition-fast) ease-in-out;
29
- }
30
- .sparkle-overlay.opened {
31
- visibility: visible;
32
- opacity: 1;
33
- }
34
- .sparkle-overlay.opened .content {
35
- -webkit-transition: all var(--sparkle-transition-fast) ease-in-out;
36
- transition: all var(--sparkle-transition-fast) ease-in-out;
37
- }
38
- .sparkle-overlay.light {
39
- background-color: rgba(var(--sparkle-color-light-base), 0.6);
40
- }
41
- .sparkle-overlay.dark {
42
- background-color: rgba(var(--sparkle-color-dark-base), 0.6);
43
- }
44
- .sparkle-overlay.absolute {
45
- position: absolute;
46
- }
47
- .sparkle-overlay .scrim {
48
- border-radius: inherit;
49
- height: 100%;
50
- position: absolute;
51
- top: 0;
52
- bottom: 0;
53
- left: 0;
54
- right: 0;
55
- -webkit-transition: inherit;
56
- transition: inherit;
57
- width: 100%;
58
- will-change: opacity;
59
- }
60
- .sparkle-overlay .content {
61
- position: relative;
62
- outline: none;
63
- -webkit-box-shadow: var(--sparkle-shadow-xl);
64
- box-shadow: var(--sparkle-shadow-xl);
65
- -webkit-transition: all var(--sparkle-transition-fast) ease-in-out;
66
- transition: all var(--sparkle-transition-fast) ease-in-out;
67
- }
@@ -1,18 +0,0 @@
1
- sparkle-page-footer {
2
- margin-top: 6rem;
3
- }
4
-
5
-
6
- sparkle-page-footer .last-updated {
7
- color: var(--text-color--light);
8
- font-weight: normal;
9
- margin-left: auto;
10
- text-decoration: underline;
11
- }
12
-
13
- sparkle-page-footer .page-footer__row {
14
- align-items: center;
15
- display: flex;
16
- font-size: 12px;
17
- margin-top: 2rem;
18
- }
@@ -1,89 +0,0 @@
1
- sparkle-pagination {
2
- border-color: var(--line-rule-color);
3
- border-style: solid;
4
- border-width: 0 0 1px;
5
- display: flex;
6
- flex-wrap: wrap-reverse;
7
- padding: var(--page-padding, 2rem 0rem) 0;
8
- }
9
-
10
- sparkle-pagination .next,
11
- sparkle-pagination .previous {
12
- max-width: 100%;
13
- overflow: hidden;
14
- }
15
-
16
- sparkle-pagination .next {
17
- margin-left: auto;
18
- }
19
-
20
- sparkle-pagination a {
21
- border-radius: 4px;
22
- display: flex;
23
- align-items: flex-start;
24
- flex-direction: column;
25
- padding: 1em 1.5em;
26
- color: rgb(var(--accent-color-rgb));
27
- }
28
-
29
- sparkle-pagination .previous a {
30
- padding-left: 0;
31
- }
32
-
33
- sparkle-pagination .next a {
34
- padding-right: 0;
35
- align-items: flex-end;
36
- }
37
-
38
- @media (max-width: 700px) {
39
- sparkle-pagination .previous a {
40
- padding-right: .5rem;
41
- }
42
-
43
- sparkle-pagination .next a {
44
- padding-left: .5rem;
45
- }
46
- }
47
-
48
- @media (hover: hover) {
49
- sparkle-pagination a:hover,
50
- sparkle-pagination a:active {
51
- filter: brightness(0.8);
52
- }
53
- }
54
-
55
- sparkle-pagination .pagination__title {
56
- color: var(--text-color--lighter);
57
- font-size: 12px;
58
- display: block;
59
- }
60
-
61
- sparkle-pagination .pagination__text {
62
- white-space: nowrap;
63
- overflow: hidden;
64
- text-overflow: ellipsis;
65
- display: block;
66
- color:var(--ion-color-sparkle)
67
- }
68
-
69
- sparkle-pagination span {
70
- overflow: hidden;
71
- text-overflow: ellipsis;
72
- white-space: nowrap;
73
- }
74
-
75
- sparkle-pagination svg {
76
- fill: currentColor;
77
- flex: none;
78
- height: 1em;
79
- margin-bottom: -0.125em;
80
- width: 1em;
81
- }
82
-
83
- sparkle-pagination .next svg {
84
- margin-left: 0.5em;
85
- }
86
-
87
- sparkle-pagination .previous svg {
88
- margin-right: 0.5em;
89
- }
@@ -1,52 +0,0 @@
1
- .Select {
2
- cursor: pointer;
3
- display: inline-block;
4
- font-weight: 500;
5
- }
6
-
7
- .Select .Dropdown-button {
8
- align-items: center;
9
- border: solid 1px #dee3ea;
10
- border-radius: 6px;
11
- display: inline-flex;
12
- justify-content: space-between;
13
- min-width: 100px;
14
- padding: 0.5em 1em;
15
- }
16
-
17
- .Select .Dropdown-panel {
18
- padding: 0.5em 0;
19
- }
20
-
21
- .Select .Dropdown-arrow {
22
- margin-left: 0.5em;
23
- }
24
-
25
- .Select-option {
26
- --bg-alpha: 0;
27
- background-color: rgba(0, 0, 0, var(--bg-alpha));
28
- padding: 0.5em 1.5em;
29
- }
30
-
31
- .Select-option:focus {
32
- --bg-alpha: 0.025;
33
- outline: none;
34
- }
35
-
36
- .Select-option--selected {
37
- --bg-alpha: 0.05;
38
- }
39
-
40
- .Select-option--selected:focus {
41
- --bg-alpha: 0.075;
42
- }
43
-
44
- @media (hover: hover) {
45
- .Select-option:hover {
46
- --bg-alpha: 0.025;
47
- }
48
-
49
- .Select-option--selected:hover {
50
- --bg-alpha: 0.075;
51
- }
52
- }
@@ -1,98 +0,0 @@
1
- sparkle-sidebar {
2
- --sparkle-spacing-size-lg: 1rem;
3
- --sparkle-transition-med: 0.5s;
4
- --sparkle-color-dark-lighter: 89, 109, 127;
5
- --sparkle-font-size-md: 1.25rem;
6
- --sparkle-spacing-size-none: 0;
7
- --sparkle-spacing-size-xxxs: 0.0625rem;
8
- --sparkle-color-light-base: 1197, 209, 218;
9
- --sparkle-font-size-lg: 1.5rem;
10
- --sparkle-color-dark-base: 55, 68, 79;
11
- }
12
- .sparkle-sidebar {
13
- height: 100%;
14
- max-width: 90%;
15
- position: fixed;
16
- top: 0;
17
- bottom: 0;
18
- overflow-x: hidden;
19
- overflow-y: auto;
20
- background-color: #fff;
21
- padding: var(--sparkle-spacing-size-lg);
22
- -webkit-transition: all var(--sparkle-transition-med) ease-in-out;
23
- transition: all var(--sparkle-transition-med) ease-in-out;
24
- }
25
- .sparkle-sidebar.left {
26
- border-right: var(--sparkle-spacing-size-xxxs) solid rgba(var(--sparkle-color-dark-lighter), 1);
27
- }
28
- .sparkle-sidebar.left.size-sm {
29
- width: 16rem;
30
- left: -16rem;
31
- }
32
- .sparkle-sidebar.left.size-md {
33
- width: 22.5rem;
34
- left: -22.5rem;
35
- }
36
- .sparkle-sidebar.left.size-lg {
37
- width: 30rem;
38
- left: -30rem;
39
- }
40
- .sparkle-sidebar.left.size-xl {
41
- width: 45rem;
42
- left: -45rem;
43
- }
44
- .sparkle-sidebar.left.show {
45
- visibility: visible;
46
- left: 0;
47
- }
48
- .sparkle-sidebar.right {
49
- border-right: var(--sparkle-spacing-size-xxxs) solid rgba(var(--sparkle-color-dark-lighter), 1);
50
- }
51
- .sparkle-sidebar.right.size-sm {
52
- width: 16rem;
53
- right: -16rem;
54
- }
55
- .sparkle-sidebar.right.size-md {
56
- width: 22.5rem;
57
- right: -22.5rem;
58
- }
59
- .sparkle-sidebar.right.size-lg {
60
- width: 30rem;
61
- right: -30rem;
62
- }
63
- .sparkle-sidebar.right.size-xl {
64
- width: 45rem;
65
- right: -45rem;
66
- }
67
- .sparkle-sidebar.right.show {
68
- visibility: visible;
69
- right: 0;
70
- }
71
- .sparkle-sidebar .drawer-header {
72
- display: -ms-flexbox;
73
- display: flex;
74
- -ms-flex-pack: justify;
75
- justify-content: space-between;
76
- -ms-flex-line-pack: center;
77
- align-content: center;
78
- border-bottom: var(--sparkle-spacing-size-xxxs) solid rgba(var(--sparkle-color-light-base), 1);
79
- font-size: var(--sparkle-font-size-lg);
80
- color: rgba(var(--sparkle-color-dark-base), 1);
81
- }
82
- .sparkle-sidebar .drawer-header .drawer-title {
83
- line-height: 1;
84
- }
85
- .sparkle-sidebar .drawer-header .drawer-close .ks-button .button {
86
- padding: var(--sparkle-spacing-size-none);
87
- }
88
- .sparkle-sidebar .drawer-header .drawer-close .ks-button .button .button-text {
89
- display: -ms-inline-flexbox;
90
- display: inline-flex;
91
- }
92
- .sparkle-sidebar .drawer-header .drawer-close .ks-button .button .icon {
93
- font-size: var(--sparkle-font-size-md);
94
- }
95
- .sparkle-sidebar .drawer-body {
96
- padding-top: var(--sparkle-spacing-size-lg);
97
- padding-bottom: var(--sparkle-spacing-size-lg);
98
- }
@@ -1,8 +0,0 @@
1
- lower-content-nav {
2
- display: flex;
3
- justify-content: space-between;
4
- }
5
-
6
- lower-content-nav > stencil-route-link {
7
- display: inline-block;
8
- }
@@ -1,37 +0,0 @@
1
- sparkle-table-of-contents {
2
- display: block;
3
- font-size: 13px;
4
- margin-bottom: 2rem;
5
- }
6
-
7
- sparkle-table-of-contents .Nav-header {
8
- color: var(--text-color--lighter);
9
- font-size: 0.75em;
10
- font-weight: 800;
11
- letter-spacing: 1px;
12
- text-transform: uppercase;
13
- padding-left: 0;
14
- }
15
-
16
- sparkle-table-of-contents ul {
17
- padding: 0;
18
- list-style: none;
19
- line-height: 1.23em;
20
- }
21
-
22
- sparkle-table-of-contents .Nav-link {
23
- padding-left: 0;
24
- margin-left: 0;
25
- }
26
-
27
- sparkle-table-of-contents a {
28
- color: inherit;
29
- display: inline-block;
30
- transition: .2s color, .3s transform ease-out;
31
- }
32
-
33
- sparkle-table-of-contents .Nav-link.selected a {
34
- color: var(--accent-color);
35
- transform: translateX(2px);
36
- }
37
-
@@ -1,64 +0,0 @@
1
- .Tabs,
2
- .Tabs-tab {
3
- display: block;
4
- }
5
-
6
- .Tabs-tab:not([selected]) {
7
- display: none;
8
- }
9
-
10
- .Tabs-header {
11
- border-bottom: solid 1px rgba(0, 32, 88, 0.1);
12
- white-space: nowrap;
13
- }
14
-
15
- .Tabs-button {
16
- --bg-alpha: 0;
17
- appearance: none;
18
- background-color: rgba(0, 0, 0, var(--bg-alpha));
19
- border: none;
20
- color: var(--text-color--light);
21
- cursor: pointer;
22
- font-family: inherit;
23
- font-size: 10px;
24
- font-weight: 600;
25
- letter-spacing: 0.04em;
26
- padding: 1rem;
27
- text-transform: uppercase;
28
- transform: translateY(1px);
29
- }
30
-
31
- .Tabs-button:first-child {
32
- border-top-left-radius: 6px;
33
- }
34
-
35
- .Tabs-button:last-child {
36
- border-top-right-radius: 6px;
37
- }
38
-
39
- .Tabs-button:focus {
40
- outline: none;
41
- }
42
-
43
- .Tabs-button:focus {
44
- --bg-alpha: 0.015;
45
- }
46
-
47
- @media (hover: hover) {
48
- .Tabs-button:hover {
49
- --bg-alpha: 0.015;
50
- }
51
- }
52
-
53
- .Tabs-button:active {
54
- --bg-alpha: 0.03;
55
- }
56
-
57
- .Tabs-button.is-selected {
58
- border-bottom: solid 1px currentColor;
59
- color: var(--accent-color);
60
- }
61
-
62
- .Tabs-tab sparkle-code pre {
63
- margin-top: 0;
64
- }
@@ -1 +0,0 @@
1
- import{c as t,h as e}from"./p-9babd345.js";import{s as r,r as n,g as a}from"./p-5d409601.js";import{A as o,H as s}from"./p-6bf07a28.js";const i=new class{constructor(){this.sample=t=>t[Math.floor(Math.random()*t.length)],this.keyBy=(t,e,r)=>t.reduce(((t,n)=>(t[e(n)]=r?r(n):n,t)),{}),this.debounce=(t,e)=>{let r=null;return(...n)=>{clearTimeout(r),r=setTimeout(t,e,...n)}}}loadScript(t){var e=document.createElement("script");e.type="text/javascript",e.src=t,document.body.appendChild(e)}loadScriptAsync(t){return new Promise((function(e,r){const n=document.createElement("script");let a=!1;n.type="text/javascript",n.src=t,n.async=!0,n.onerror=function(t){r(t)},n.onload=n.onreadystatechange=function(){a||this.readyState&&"complete"!=this.readyState||(a=!0,e(!0))};const o=document.getElementsByTagName("script")[0];o.parentElement.insertBefore(n,o)}))}extend(...t){let e,r,n,a,o,s,i,c=t[0]||{},l=1,u=t.length,p=!1;for("boolean"==typeof c&&(p=c,c=t[l]||{},l++),"object"!=typeof c&&"function"!=typeof c&&(c={}),l===u&&(c=this,l--);l<u;l++)if(null!==(e=t[l]))for(r in e)n=c[r],o=e[r],c!==o&&(a=Array.isArray(n)?"array":typeof n,p&&o&&((s=Array.isArray(o))||"object"==typeof o)?(s?(s=!1,i=n&&"array"===a?n:[]):i=n&&"object"===a?n:{},c[r]=this.extend(p,i,o)):void 0!==o&&(c[r]=o));return c}setLocalization(){if(!sparkle.utils.getCookieValue("Sparkle.Localization.CultureName")){let t=navigator.language;sparkle.utils.setCookieValue("Sparkle.Localization.CultureName",t,new Date((new Date).getTime()+15768e7),sparkle.appPath)}}};async function c(t){if(!window)return;const e=window,r=e.Sparkle;if(!r||!r.config||"Object"===r.config.constructor.name)return e.Sparkle=e.Sparkle||{},e.Sparkle.config=Object.assign(Object.assign({},e.Sparkle.config),t),e.Sparkle.config;console.error("Sparkle config was already initialized")}async function l(e){await i.loadScriptAsync(t("../assets/lib/sparkle.js")),await c(e)}const u="enc_auth_token";class p{constructor(){}static getInstance(){return p.instance||(p.instance=new p),p.instance}async authenticate(t){const e={"Content-Type":"application/json"};let n;o.state.loading=!0;try{if(n=await s.http.post("api/Account/Authenticate",t,{headers:e}),n){const e=n.Data,a={Id:e.Id,UserName:e.UserName,Email:e.Email,Roles:e.Roles,IsVerified:e.IsVerified,JWToken:e.JWToken,IssuedOn:e.IssuedOn,ExpiresOn:e.ExpiresOn,RefreshToken:e.RefreshToken,PhotoUrl:"",IsFacilitator:e.Roles.indexOf("Facilitator")>0},s=t.RememberClient?new Date(a.ExpiresOn):void 0;return sparkle.auth.setToken(a.JWToken,s),sparkle.utils.setCookieValue(u,a.JWToken,s,sparkle.appPath),await r("CurrentUser",a),o.state.authUser=Object.assign({},a),o.state.loading=!1,a}}catch(t){return o.state.loading=!1,t}}async signOut(){await n("CurrentUser"),sessionStorage.clear(),sparkle.auth.clearToken(),o.state.authUser=null,o.state.isAuthenticated=!1}async getLocalAuthUser(){return a("CurrentUser")}}const f=t=>{var{component:r,permission:n,render:a}=t,s=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(t);a<n.length;a++)e.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(t,n[a])&&(r[n[a]]=t[n[a]])}return r}(t,["component","permission","render"]);const i=r;return e("stencil-route",Object.assign({},s,{routeRender:t=>o.state.isAuthenticated?n&&!sparkle.auth.isGranted(n)?e("stencil-router-redirect",{url:"/unauthorized"}):i?e(i,Object.assign({},t,t.componentProps)):a(t):e("stencil-router-redirect",{url:"/login"})}))};export{p as A,f as P,l as i,c as s}
@@ -1 +0,0 @@
1
- import{r as t,h as n,H as i,e as o}from"./p-9babd345.js";import{d as r,n as a}from"./p-6ee40949.js";import{c as e,g as d}from"./p-fef04ab5.js";import{i as s}from"./p-55ae49e1.js";import{o as g,c,h as p}from"./p-69e7783d.js";const l=class{constructor(n){t(this,n),this.inheritedAttributes={},this.disabled=!1,this.type="button",this.onClick=async t=>{const n=this.el.closest("ion-nav");return t.preventDefault(),n&&await n.canGoBack()?n.pop({animationBuilder:this.routerAnimation,skipIfBusy:!0}):g(this.defaultHref,t,"back",this.routerAnimation)}}componentWillLoad(){this.inheritedAttributes=s(this.el,["aria-label"]),void 0===this.defaultHref&&(this.defaultHref=e.get("backButtonDefaultHref"))}get backButtonIcon(){const t=this.icon;return null!=t?t:"ios"===d(this)?e.get("backButtonIcon",r):e.get("backButtonIcon",a)}get backButtonText(){const t="ios"===d(this)?"Back":null;return null!=this.text?this.text:e.get("backButtonText",t)}get hasIconOnly(){return this.backButtonIcon&&!this.backButtonText}get rippleType(){return this.hasIconOnly?"unbounded":"bounded"}render(){const{color:t,defaultHref:o,disabled:r,type:a,hasIconOnly:e,backButtonIcon:s,backButtonText:g,icon:l,inheritedAttributes:h}=this,b=void 0!==o,m=d(this),v=h["aria-label"]||g||"back";return n(i,{onClick:this.onClick,class:c(t,{[m]:!0,button:!0,"back-button-disabled":r,"back-button-has-icon-only":e,"in-toolbar":p("ion-toolbar",this.el),"in-toolbar-color":p("ion-toolbar[color]",this.el),"ion-activatable":!0,"ion-focusable":!0,"show-back-button":b})},n("button",{type:a,disabled:r,class:"button-native",part:"native","aria-label":v},n("span",{class:"button-inner"},s&&n("ion-icon",{part:"icon",icon:s,"aria-hidden":"true",lazy:!1,"flip-rtl":void 0===l}),g&&n("span",{part:"text","aria-hidden":"true",class:"button-text"},g)),"md"===m&&n("ion-ripple-effect",{type:this.rippleType})))}get el(){return o(this)}};l.style={ios:':host{--background:transparent;--color-focused:currentColor;--color-hover:currentColor;--icon-margin-top:0;--icon-margin-bottom:0;--icon-padding-top:0;--icon-padding-end:0;--icon-padding-bottom:0;--icon-padding-start:0;--margin-top:0;--margin-end:0;--margin-bottom:0;--margin-start:0;--min-width:auto;--min-height:auto;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--opacity:1;--ripple-color:currentColor;--transition:background-color, opacity 100ms linear;display:none;min-width:var(--min-width);min-height:var(--min-height);color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;user-select:none;font-kerning:none}ion-ripple-effect{color:var(--ripple-color)}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.show-back-button){display:block}:host(.back-button-disabled){cursor:default;opacity:0.5;pointer-events:none}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:var(--margin-start);margin-right:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);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;display:block;position:relative;width:100%;height:100%;min-height:inherit;transition:var(--transition);border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;opacity:var(--opacity);overflow:hidden;user-select:none;z-index:0;appearance:none}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.button-native{margin-left:unset;margin-right:unset;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end)}}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.button-native{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.button-inner{display:flex;position:relative;flex-flow:row nowrap;flex-shrink:0;align-items:center;justify-content:center;width:100%;height:100%;z-index:1}ion-icon{padding-left:var(--icon-padding-start);padding-right:var(--icon-padding-end);padding-top:var(--icon-padding-top);padding-bottom:var(--icon-padding-bottom);margin-left:var(--icon-margin-start);margin-right:var(--icon-margin-end);margin-top:var(--icon-margin-top);margin-bottom:var(--icon-margin-bottom);display:inherit;font-size:var(--icon-font-size);font-weight:var(--icon-font-weight);pointer-events:none}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){ion-icon{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--icon-padding-start);padding-inline-start:var(--icon-padding-start);-webkit-padding-end:var(--icon-padding-end);padding-inline-end:var(--icon-padding-end)}}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){ion-icon{margin-left:unset;margin-right:unset;-webkit-margin-start:var(--icon-margin-start);margin-inline-start:var(--icon-margin-start);-webkit-margin-end:var(--icon-margin-end);margin-inline-end:var(--icon-margin-end)}}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-color.ion-focused) .button-native{color:var(--ion-color-base)}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-base)}}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--background-hover:transparent;--background-hover-opacity:1;--background-focused:currentColor;--background-focused-opacity:.1;--border-radius:4px;--color:var(--ion-color-primary, #3880ff);--icon-margin-end:-5px;--icon-margin-start:-4px;--icon-font-size:1.85em;--min-height:32px;font-size:17px}.button-native{transform:translateZ(0);overflow:visible;z-index:99}:host(.ion-activated) .button-native{opacity:0.4}@media (any-hover: hover){:host(:hover){opacity:0.6}}:host(.ion-color.ion-focused) .button-native::after{background:var(--ion-color-base)}',md:':host{--background:transparent;--color-focused:currentColor;--color-hover:currentColor;--icon-margin-top:0;--icon-margin-bottom:0;--icon-padding-top:0;--icon-padding-end:0;--icon-padding-bottom:0;--icon-padding-start:0;--margin-top:0;--margin-end:0;--margin-bottom:0;--margin-start:0;--min-width:auto;--min-height:auto;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--opacity:1;--ripple-color:currentColor;--transition:background-color, opacity 100ms linear;display:none;min-width:var(--min-width);min-height:var(--min-height);color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;user-select:none;font-kerning:none}ion-ripple-effect{color:var(--ripple-color)}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.show-back-button){display:block}:host(.back-button-disabled){cursor:default;opacity:0.5;pointer-events:none}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:var(--margin-start);margin-right:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);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;display:block;position:relative;width:100%;height:100%;min-height:inherit;transition:var(--transition);border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;opacity:var(--opacity);overflow:hidden;user-select:none;z-index:0;appearance:none}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.button-native{margin-left:unset;margin-right:unset;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end)}}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.button-native{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.button-inner{display:flex;position:relative;flex-flow:row nowrap;flex-shrink:0;align-items:center;justify-content:center;width:100%;height:100%;z-index:1}ion-icon{padding-left:var(--icon-padding-start);padding-right:var(--icon-padding-end);padding-top:var(--icon-padding-top);padding-bottom:var(--icon-padding-bottom);margin-left:var(--icon-margin-start);margin-right:var(--icon-margin-end);margin-top:var(--icon-margin-top);margin-bottom:var(--icon-margin-bottom);display:inherit;font-size:var(--icon-font-size);font-weight:var(--icon-font-weight);pointer-events:none}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){ion-icon{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--icon-padding-start);padding-inline-start:var(--icon-padding-start);-webkit-padding-end:var(--icon-padding-end);padding-inline-end:var(--icon-padding-end)}}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){ion-icon{margin-left:unset;margin-right:unset;-webkit-margin-start:var(--icon-margin-start);margin-inline-start:var(--icon-margin-start);-webkit-margin-end:var(--icon-margin-end);margin-inline-end:var(--icon-margin-end)}}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-color.ion-focused) .button-native{color:var(--ion-color-base)}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-base)}}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--border-radius:4px;--background-focused:currentColor;--background-focused-opacity:.12;--background-hover:currentColor;--background-hover-opacity:0.04;--color:currentColor;--icon-margin-end:0;--icon-margin-start:0;--icon-font-size:24px;--icon-font-weight:normal;--min-height:32px;--min-width:44px;--padding-start:12px;--padding-end:12px;font-size:14px;font-weight:500;text-transform:uppercase}:host(.back-button-has-icon-only){--border-radius:50%;min-width:48px;height:48px}.button-native{box-shadow:none}.button-text{padding-left:4px;padding-right:4px;padding-top:0;padding-bottom:0}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.button-text{padding-left:unset;padding-right:unset;-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px}}ion-icon{line-height:0.67;text-align:start}@media (any-hover: hover){:host(.ion-color:hover) .button-native::after{background:var(--ion-color-base)}}:host(.ion-color.ion-focused) .button-native::after{background:var(--ion-color-base)}'};export{l as ion_back_button}
@@ -1 +0,0 @@
1
- import{r as o,h as r,H as s,e}from"./p-9babd345.js";import{r as i,l as n}from"./p-6ee40949.js";import{g as t}from"./p-fef04ab5.js";const c=class{constructor(r){o(this,r)}onClick(o){const r=this.el.closest("ion-reorder-group");o.preventDefault(),r&&r.disabled||o.stopImmediatePropagation()}render(){const o=t(this);return r(s,{class:o},r("slot",null,r("ion-icon",{icon:"ios"===o?i:n,lazy:!1,class:"reorder-icon",part:"icon"})))}get el(){return e(this)}};c.style={ios:":host([slot]){display:none;line-height:0;z-index:100}.reorder-icon{display:block;font-size:22px}.reorder-icon{font-size:34px;opacity:0.4}",md:":host([slot]){display:none;line-height:0;z-index:100}.reorder-icon{display:block;font-size:22px}.reorder-icon{font-size:31px;opacity:0.3}"};export{c as ion_reorder}
@@ -1 +0,0 @@
1
- import{r as i,h as t,H as e,e as o}from"./p-9babd345.js";import{S as l}from"./p-d8d3524a.js";import{t as s}from"./p-6c6145cd.js";import"./p-6bf07a28.js";import"./p-b226f54d.js";import"./p-fef04ab5.js";import"./p-6fd4985d.js";import"./p-55ae49e1.js";const n=class{constructor(t){i(this,t),this.formControls={type:{isValid:!0,value:1,validate:i=>!!i},note:{isValid:!1,value:"",validate:i=>!!i}},this.submitted=!0}async onSubmit(i){i.preventDefault(),this.submitted=!0;let t=!0;for(let i in this.formControls){let e=this.formControls[i];e.validate(e.value),e.isValid||(t=!1)}if(t){let i=await l.getInstance().submitFeedback({Note:this.formControls.note.value,Type:this.formControls.type.value});console.log(i),i.Succeeded?((await s.create({message:"Feedback submitted successfully",duration:3e3})).present(),this.dismiss()):(await s.create({message:i.Message,duration:3e3})).present()}}dismiss(i){this.el.closest("ion-modal").dismiss({dismissed:!0})}changeFormValue(i,t){this.formControls=Object.assign(Object.assign({},this.formControls),{[i]:Object.assign(Object.assign({},this.formControls[i]),{value:t,isValid:this.formControls[i].validate(t)})})}render(){return t(e,null,t("ion-header",{translucent:!0},t("ion-toolbar",null,t("ion-title",null,"Feedback"),t("ion-buttons",{slot:"end"},t("ion-button",{onClick:()=>this.dismiss()},"Close")))),t("ion-content",{class:"ion-padding"},t("form",{onSubmit:i=>this.onSubmit(i),novalidate:!0},t("ion-list",null,t("ion-radio-group",{value:this.formControls.type.value,onChange:i=>this.changeFormValue("type",+i.target.value)},t("ion-list-header",null,t("ion-label",null,"Feedback Type")),t("ion-item",null,t("ion-label",null,"Comments"),t("ion-radio",{value:1})),t("ion-item",null,t("ion-label",null,"Suggestions"),t("ion-radio",{value:2})),t("ion-item",null,t("ion-label",null,"Questions"),t("ion-radio",{value:3}))),t("ion-item",null,t("ion-label",{position:"floating"},"Notes"),t("ion-textarea",{value:this.formControls.note.value,onChange:i=>this.changeFormValue("note",i.target.value)})),t("br",null),t("ion-button",{color:"primary",type:"submit"},"Submit")))))}get el(){return o(this)}};n.style=":host{display:block}";export{n as sparkle_feedback}
@@ -1 +0,0 @@
1
- import{r as s,h as t,H as i}from"./p-9babd345.js";import{g as o}from"./p-fef04ab5.js";import{m as e}from"./p-e225581a.js";import{u as a}from"./p-713590fc.js";import"./p-6fd4985d.js";import"./p-55ae49e1.js";import"./p-389500fd.js";const n=class{constructor(t){s(this,t),this.visible=!1,this.autoHide=!0,this.onClick=()=>e.toggle(this.menu)}connectedCallback(){this.visibilityChanged()}async visibilityChanged(){this.visible=await a(this.menu)}render(){const s=o(this),e=this.autoHide&&!this.visible;return t(i,{onClick:this.onClick,"aria-hidden":e?"true":null,class:{[s]:!0,"menu-toggle-hidden":e}},t("slot",null))}};n.style=":host(.menu-toggle-hidden){display:none}";export{n as ion_menu_toggle}