@sparkle-learning/core 0.0.36 → 0.0.39

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 (248) hide show
  1. package/dist/cjs/PrivateRoute-4abc9d29.js +35 -0
  2. package/dist/cjs/{PrivateRoute-074c584e.js → auth.service-4b584cd7.js} +0 -30
  3. package/dist/cjs/dom-utils-b8befdd5.js +63 -0
  4. package/dist/cjs/header-mobile-collapse.cjs.entry.js +90 -0
  5. package/dist/cjs/index-70e63f5b.js +3071 -0
  6. package/dist/cjs/index.cjs.js +6 -5
  7. package/dist/cjs/injectHistory-7206bbb9.js +9 -0
  8. package/dist/cjs/ion-avatar.cjs.entry.js +25 -0
  9. package/dist/cjs/ion-button.cjs.entry.js +129 -0
  10. package/dist/cjs/ion-card_2.cjs.entry.js +91 -0
  11. package/dist/cjs/ion-checkbox_4.cjs.entry.js +360 -0
  12. package/dist/cjs/ion-col_3.cjs.entry.js +159 -0
  13. package/dist/cjs/ion-icon_13.cjs.entry.js +1505 -0
  14. package/dist/cjs/ion-input_2.cjs.entry.js +313 -0
  15. package/dist/cjs/ion-label_2.cjs.entry.js +126 -0
  16. package/dist/cjs/ion-spinner.cjs.entry.js +64 -0
  17. package/dist/cjs/loader.cjs.js +1 -1
  18. package/dist/cjs/match-path-84c9f7ca.js +511 -0
  19. package/dist/cjs/sparkle-card_3.cjs.entry.js +91 -0
  20. package/dist/cjs/sparkle-core.cjs.js +1 -1
  21. package/dist/cjs/sparkle-course-root.cjs.entry.js +146 -0
  22. package/dist/cjs/sparkle-dropdown.cjs.entry.js +61 -0
  23. package/dist/cjs/{header-mobile-collapse_61.cjs.entry.js → sparkle-export-lessons_6.cjs.entry.js} +8864 -17750
  24. package/dist/cjs/sparkle-facilitator-header_19.cjs.entry.js +2130 -0
  25. package/dist/cjs/sparkle-feed-post.cjs.entry.js +1 -1
  26. package/dist/cjs/sparkle-feedback.cjs.entry.js +2 -1
  27. package/dist/cjs/sparkle-goal-progress.cjs.entry.js +19 -0
  28. package/dist/cjs/sparkle-gww-item.cjs.entry.js +74 -0
  29. package/dist/cjs/sparkle-menu-toggle_3.cjs.entry.js +236 -0
  30. package/dist/cjs/sparkle-validation-error.cjs.entry.js +21 -0
  31. package/dist/cjs/stencil-router-redirect.cjs.entry.js +32 -0
  32. package/dist/cjs/student.service-d48f1c99.js +61 -0
  33. package/dist/cjs/user.store-8a049c4e.js +21 -0
  34. package/dist/collection/components/sparkle-feed-post/sparkle-feed-post.js +30 -28
  35. package/dist/collection/components/sparkle-quiz/sparkle-quiz/sparkle-quiz.js +2 -1
  36. package/dist/esm/PrivateRoute-7b526801.js +33 -0
  37. package/dist/esm/{animation-12377cb3.js → animation-e0716b39.js} +1 -1
  38. package/dist/esm/{PrivateRoute-c5441f35.js → auth.service-9fb86455.js} +4 -33
  39. package/dist/esm/{auth.store-dba2c2da.js → auth.store-633e8414.js} +1 -1
  40. package/dist/esm/dom-utils-109a7d75.js +55 -0
  41. package/dist/esm/{facilitator.service-b0292f7f.js → facilitator.service-8fd435bf.js} +2 -2
  42. package/dist/esm/{feed.service-8fbe4ce3.js → feed.service-ace049e5.js} +3 -3
  43. package/dist/esm/{framework-delegate-3e634a5c.js → framework-delegate-e4f8013b.js} +1 -1
  44. package/dist/esm/header-mobile-collapse.entry.js +86 -0
  45. package/dist/esm/{helpers-bf0e23d6.js → helpers-03073fe4.js} +1 -1
  46. package/dist/esm/{httpService-7b75b095.js → httpService-61864992.js} +2 -2
  47. package/dist/esm/{icons-9b62a1ec.js → icons-90b957ab.js} +1 -1
  48. package/dist/esm/{index-5e8971ae.js → index-37004831.js} +1 -1
  49. package/dist/esm/{index-45fec1e7.js → index-a2d2941d.js} +1 -1
  50. package/dist/esm/{index-2b84cad2.js → index-b4b4e503.js} +3 -3
  51. package/dist/esm/{index-cded2d87.js → index-dedabca0.js} +2 -2
  52. package/dist/esm/index-f9b9ba5d.js +3067 -0
  53. package/dist/esm/{index.es-e0c0f891.js → index.es-283fbd2e.js} +1 -1
  54. package/dist/esm/index.js +6 -5
  55. package/dist/esm/injectHistory-968f626d.js +7 -0
  56. package/dist/esm/{input-shims-671d8d9f.js → input-shims-cc3720a0.js} +2 -2
  57. package/dist/esm/ion-accordion.entry.js +1 -1
  58. package/dist/esm/ion-action-sheet_4.entry.js +5 -5
  59. package/dist/esm/ion-app.entry.js +3 -3
  60. package/dist/esm/ion-avatar.entry.js +21 -0
  61. package/dist/esm/ion-back-button.entry.js +1 -1
  62. package/dist/esm/ion-breadcrumb.entry.js +1 -1
  63. package/dist/esm/ion-button.entry.js +125 -0
  64. package/dist/esm/ion-card_2.entry.js +86 -0
  65. package/dist/esm/ion-checkbox_4.entry.js +353 -0
  66. package/dist/esm/ion-col_3.entry.js +153 -0
  67. package/dist/esm/ion-content_2.entry.js +2 -2
  68. package/dist/esm/ion-datetime-button.entry.js +1 -1
  69. package/dist/esm/ion-datetime.entry.js +1 -1
  70. package/dist/esm/ion-fab-button.entry.js +1 -1
  71. package/dist/esm/ion-footer.entry.js +2 -2
  72. package/dist/esm/ion-icon_13.entry.js +1489 -0
  73. package/dist/esm/ion-img.entry.js +1 -1
  74. package/dist/esm/ion-infinite-scroll.entry.js +2 -2
  75. package/dist/esm/ion-input_2.entry.js +308 -0
  76. package/dist/esm/ion-item-options.entry.js +1 -1
  77. package/dist/esm/ion-item-sliding.entry.js +2 -2
  78. package/dist/esm/ion-label_2.entry.js +121 -0
  79. package/dist/esm/ion-loading.entry.js +3 -3
  80. package/dist/esm/ion-menu-button.entry.js +4 -4
  81. package/dist/esm/ion-menu-toggle.entry.js +4 -4
  82. package/dist/esm/ion-menu.entry.js +4 -4
  83. package/dist/esm/ion-modal.entry.js +6 -6
  84. package/dist/esm/ion-nav.entry.js +4 -4
  85. package/dist/esm/ion-picker-column-internal_2.entry.js +1 -1
  86. package/dist/esm/ion-picker-column.entry.js +1 -1
  87. package/dist/esm/ion-picker.entry.js +3 -3
  88. package/dist/esm/ion-progress-bar.entry.js +1 -1
  89. package/dist/esm/ion-refresher.entry.js +3 -3
  90. package/dist/esm/ion-reorder-group.entry.js +2 -2
  91. package/dist/esm/ion-router-outlet.entry.js +4 -4
  92. package/dist/esm/ion-router.entry.js +1 -1
  93. package/dist/esm/ion-searchbar.entry.js +1 -1
  94. package/dist/esm/ion-segment-button.entry.js +1 -1
  95. package/dist/esm/ion-segment.entry.js +1 -1
  96. package/dist/esm/ion-select_2.entry.js +2 -2
  97. package/dist/esm/ion-slides.entry.js +1 -1
  98. package/dist/esm/ion-spinner.entry.js +60 -0
  99. package/dist/esm/ion-tab.entry.js +2 -2
  100. package/dist/esm/ion-textarea.entry.js +1 -1
  101. package/dist/esm/ion-toast.entry.js +3 -3
  102. package/dist/esm/ion-toggle.entry.js +1 -1
  103. package/dist/esm/ion-virtual-scroll.entry.js +1 -1
  104. package/dist/esm/{ios.transition-131d64fe.js → ios.transition-3a6179bb.js} +3 -3
  105. package/dist/esm/loader.js +1 -1
  106. package/dist/esm/match-path-36fdf5c7.js +499 -0
  107. package/dist/esm/{md.transition-f6126011.js → md.transition-cff16bf3.js} +3 -3
  108. package/dist/esm/{menu-toggle-util-bace8ae6.js → menu-toggle-util-59241733.js} +1 -1
  109. package/dist/esm/{overlays-3b4dca92.js → overlays-bdd9344a.js} +2 -2
  110. package/dist/esm/{purify-85bfcc69.js → purify-7085b248.js} +1 -1
  111. package/dist/esm/sparkle-animation-player.entry.js +1 -1
  112. package/dist/esm/sparkle-card_3.entry.js +85 -0
  113. package/dist/esm/sparkle-code.entry.js +1 -1
  114. package/dist/esm/sparkle-core.js +1 -1
  115. package/dist/esm/sparkle-course-root.entry.js +142 -0
  116. package/dist/esm/sparkle-dropdown.entry.js +57 -0
  117. package/dist/esm/{header-mobile-collapse_61.entry.js → sparkle-export-lessons_6.entry.js} +8859 -17690
  118. package/dist/esm/sparkle-facilitator-header_19.entry.js +2108 -0
  119. package/dist/esm/sparkle-facilitator-notes-form.entry.js +5 -5
  120. package/dist/esm/sparkle-feed-post.entry.js +3 -3
  121. package/dist/esm/sparkle-feedback.entry.js +6 -5
  122. package/dist/esm/sparkle-goal-form.entry.js +6 -6
  123. package/dist/esm/sparkle-goal-progress.entry.js +15 -0
  124. package/dist/esm/sparkle-gww-item.entry.js +70 -0
  125. package/dist/esm/sparkle-menu-collapsible.entry.js +1 -1
  126. package/dist/esm/sparkle-menu-toggle_3.entry.js +230 -0
  127. package/dist/esm/sparkle-validation-error.entry.js +17 -0
  128. package/dist/esm/{status-tap-dde52787.js → status-tap-463d0f87.js} +2 -2
  129. package/dist/esm/stencil-router-redirect.entry.js +28 -0
  130. package/dist/esm/{student.service-0746418b.js → student.service-e6eb1f99.js} +3 -19
  131. package/dist/esm/{swipe-back-7847a0c1.js → swipe-back-f8765ac9.js} +1 -1
  132. package/dist/esm/user.store-b8645067.js +19 -0
  133. package/dist/esm/{util-6ef753e9.js → util-a831d09d.js} +1 -1
  134. package/dist/sparkle-core/index.esm.js +1 -1
  135. package/dist/sparkle-core/{p-2c1ca854.entry.js → p-014b5707.entry.js} +1 -1
  136. package/dist/sparkle-core/p-03585916.js +1 -0
  137. package/dist/sparkle-core/p-08d97c59.entry.js +1 -0
  138. package/dist/sparkle-core/{p-cabfbf22.entry.js → p-0bb0cf41.entry.js} +1 -1
  139. package/dist/sparkle-core/{p-30b810d1.entry.js → p-0c0f8acd.entry.js} +1 -1
  140. package/dist/sparkle-core/{p-de4deb61.entry.js → p-0ea2518d.entry.js} +1 -1
  141. package/dist/sparkle-core/p-1019ebc3.js +1 -0
  142. package/dist/sparkle-core/p-1728ead7.js +1 -0
  143. package/dist/sparkle-core/{p-d68092b7.js → p-17eb4633.js} +1 -1
  144. package/dist/sparkle-core/{p-e686d8b5.entry.js → p-1f0b3ff9.entry.js} +1 -1
  145. package/dist/sparkle-core/{p-a102341e.entry.js → p-25e556cc.entry.js} +1 -1
  146. package/dist/sparkle-core/{p-0c3f3ea6.entry.js → p-285ab4ed.entry.js} +1 -1
  147. package/dist/sparkle-core/{p-c60b29bd.entry.js → p-2d4a5ddf.entry.js} +2 -2
  148. package/dist/sparkle-core/{p-641bfc92.entry.js → p-2e035338.entry.js} +1 -1
  149. package/dist/sparkle-core/{p-2ff67662.js → p-2e2b813c.js} +2 -2
  150. package/dist/sparkle-core/{p-6ffd2420.entry.js → p-2f10208d.entry.js} +1 -1
  151. package/dist/sparkle-core/{p-b5f3e1bf.entry.js → p-2fba9a3a.entry.js} +1 -1
  152. package/dist/sparkle-core/{p-b3f375fb.entry.js → p-317037de.entry.js} +1 -1
  153. package/dist/sparkle-core/p-32762a44.entry.js +1 -0
  154. package/dist/sparkle-core/{p-2f569553.js → p-340754ed.js} +1 -1
  155. package/dist/sparkle-core/p-3bc68dd0.js +1 -0
  156. package/dist/sparkle-core/p-3c133235.entry.js +1 -0
  157. package/dist/sparkle-core/{p-48f72e63.js → p-3f85e1ca.js} +2 -2
  158. package/dist/sparkle-core/{p-2033cd86.js → p-405f7c58.js} +2 -2
  159. package/dist/sparkle-core/{p-9ebf0537.entry.js → p-4320dac0.entry.js} +1 -1
  160. package/dist/sparkle-core/{p-e863bf1d.entry.js → p-44f813b7.entry.js} +1 -1
  161. package/dist/sparkle-core/p-46869031.entry.js +1 -0
  162. package/dist/sparkle-core/p-4a5f2b2b.js +1 -0
  163. package/dist/sparkle-core/{p-894ff7e6.entry.js → p-4ae75caa.entry.js} +1 -1
  164. package/dist/sparkle-core/{p-935e7cfc.js → p-4bd4dab2.js} +1 -1
  165. package/dist/sparkle-core/{p-00d10dc9.js → p-539bf742.js} +2 -2
  166. package/dist/sparkle-core/p-53bcbd1d.js +1 -0
  167. package/dist/sparkle-core/p-54ada5e3.entry.js +1 -0
  168. package/dist/sparkle-core/{p-9289cdbc.entry.js → p-5519d283.entry.js} +1 -1
  169. package/dist/sparkle-core/p-554da5b8.entry.js +1 -0
  170. package/dist/sparkle-core/{p-e8073714.js → p-56a2e8a2.js} +1 -1
  171. package/dist/sparkle-core/p-5da2d95a.entry.js +1 -0
  172. package/dist/sparkle-core/{p-b0603d19.js → p-5fc26938.js} +1 -1
  173. package/dist/sparkle-core/{p-ebd4354b.entry.js → p-63f69cdc.entry.js} +1 -1
  174. package/dist/sparkle-core/{p-11356b03.entry.js → p-64e814b9.entry.js} +1 -1
  175. package/dist/sparkle-core/{p-ce4b22f7.entry.js → p-66a85393.entry.js} +1 -1
  176. package/dist/sparkle-core/p-6b05a1d3.entry.js +1 -0
  177. package/dist/sparkle-core/p-6ea246fe.js +4 -0
  178. package/dist/sparkle-core/p-6ed0236e.entry.js +1 -0
  179. package/dist/sparkle-core/{p-54dd894f.entry.js → p-6f0545b3.entry.js} +1 -1
  180. package/dist/sparkle-core/{p-0f1c5899.entry.js → p-727e1c28.entry.js} +1 -1
  181. package/dist/sparkle-core/p-7f25366a.entry.js +1 -0
  182. package/dist/sparkle-core/{p-b96f3c84.entry.js → p-82ad4e7c.entry.js} +2 -2
  183. package/dist/sparkle-core/p-91accfc1.js +1 -0
  184. package/dist/sparkle-core/{p-af3cc111.entry.js → p-93e74f1b.entry.js} +1 -1
  185. package/dist/sparkle-core/{p-86ed13f0.js → p-a019ad0c.js} +1 -1
  186. package/dist/sparkle-core/p-a5c5da9a.entry.js +1 -0
  187. package/dist/sparkle-core/{p-1d4c7c11.js → p-a85598ad.js} +1 -1
  188. package/dist/sparkle-core/p-a8a77bec.entry.js +1 -0
  189. package/dist/sparkle-core/{p-bd80ff43.js → p-ad102371.js} +1 -1
  190. package/dist/sparkle-core/{p-377b04c2.entry.js → p-b236d258.entry.js} +1 -1
  191. package/dist/sparkle-core/{p-9abbd715.entry.js → p-b4b01fa2.entry.js} +1 -1
  192. package/dist/sparkle-core/{p-6faa194c.entry.js → p-b4bc8b02.entry.js} +1 -1
  193. package/dist/sparkle-core/{p-0fa3fd63.entry.js → p-b5ec8fb0.entry.js} +1 -1
  194. package/dist/sparkle-core/{p-fb757951.entry.js → p-b83444c7.entry.js} +1 -1
  195. package/dist/sparkle-core/{p-05c032dd.js → p-b9933822.js} +1 -1
  196. package/dist/sparkle-core/{p-0afa3a4d.entry.js → p-b9b1d4da.entry.js} +1 -1
  197. package/dist/sparkle-core/{p-3de0e00c.js → p-be28346b.js} +1 -1
  198. package/dist/sparkle-core/{p-0ad5c123.entry.js → p-c278db5f.entry.js} +1 -1
  199. package/dist/sparkle-core/{p-fb0ca75e.entry.js → p-c2bbaf55.entry.js} +1 -1
  200. package/dist/sparkle-core/p-c4af184b.entry.js +1 -0
  201. package/dist/sparkle-core/p-c71cbbf7.entry.js +1 -0
  202. package/dist/sparkle-core/p-c8c73fa7.js +4 -0
  203. package/dist/sparkle-core/{p-1e125ca5.entry.js → p-c8fe45df.entry.js} +1 -1
  204. package/dist/sparkle-core/{p-600cf6a3.js → p-c9cd4ff1.js} +1 -1
  205. package/dist/sparkle-core/{p-5cad23f1.js → p-ca4c8a10.js} +1 -1
  206. package/dist/sparkle-core/{p-1e4f65ee.entry.js → p-cab3da3c.entry.js} +1 -1
  207. package/dist/sparkle-core/p-cd832fbf.entry.js +1 -0
  208. package/dist/sparkle-core/{p-564e64fc.entry.js → p-ce94efdb.entry.js} +1 -1
  209. package/dist/sparkle-core/p-d0ac5f17.js +1 -0
  210. package/dist/sparkle-core/p-d1fcbfc2.js +4 -0
  211. package/dist/sparkle-core/p-d432d3ac.entry.js +1 -0
  212. package/dist/sparkle-core/{p-fbccd30c.js → p-d81a0680.js} +1 -1
  213. package/dist/sparkle-core/p-d969f7d0.entry.js +348 -0
  214. package/dist/sparkle-core/{p-0664370b.entry.js → p-dabc80c4.entry.js} +1 -1
  215. package/dist/sparkle-core/{p-58e4bbe5.entry.js → p-db8387eb.entry.js} +1 -1
  216. package/dist/sparkle-core/p-dca90a55.entry.js +4 -0
  217. package/dist/sparkle-core/p-dd2e7f84.js +4 -0
  218. package/dist/sparkle-core/p-e0429a19.entry.js +1 -0
  219. package/dist/sparkle-core/{p-24cb9a33.entry.js → p-e65c72cc.entry.js} +1 -1
  220. package/dist/sparkle-core/p-e7066c64.entry.js +1 -0
  221. package/dist/sparkle-core/{p-9d894ed4.js → p-e7568d4b.js} +1 -1
  222. package/dist/sparkle-core/p-eb40a191.entry.js +1 -0
  223. package/dist/sparkle-core/p-ecdea569.entry.js +1 -0
  224. package/dist/sparkle-core/{p-74864276.entry.js → p-ed9f48c4.entry.js} +1 -1
  225. package/dist/sparkle-core/p-ef6c2352.entry.js +1 -0
  226. package/dist/sparkle-core/{p-be64105c.entry.js → p-f0cf4a8f.entry.js} +1 -1
  227. package/dist/sparkle-core/{p-c0533c23.entry.js → p-f4b0b6a4.entry.js} +1 -1
  228. package/dist/sparkle-core/{p-ef4edc48.entry.js → p-fc965b88.entry.js} +1 -1
  229. package/dist/sparkle-core/{p-39712c56.entry.js → p-fde382f0.entry.js} +1 -1
  230. package/dist/sparkle-core/sparkle-core.esm.js +1 -1
  231. package/package.json +2 -2
  232. package/dist/cjs/sparkle-quiz-feedback_5.cjs.entry.js +0 -117
  233. package/dist/cjs/sparkle-quiz.cjs.entry.js +0 -119
  234. package/dist/cjs/student.service-2e58f237.js +0 -78
  235. package/dist/esm/sparkle-quiz-feedback_5.entry.js +0 -109
  236. package/dist/esm/sparkle-quiz.entry.js +0 -115
  237. package/dist/sparkle-core/p-077c732b.js +0 -4
  238. package/dist/sparkle-core/p-12dd96d7.js +0 -4
  239. package/dist/sparkle-core/p-23aca7ca.js +0 -4
  240. package/dist/sparkle-core/p-3a965828.entry.js +0 -1
  241. package/dist/sparkle-core/p-462bffba.js +0 -1
  242. package/dist/sparkle-core/p-590266d6.entry.js +0 -1
  243. package/dist/sparkle-core/p-5efc6566.js +0 -1
  244. package/dist/sparkle-core/p-73721c84.js +0 -4
  245. package/dist/sparkle-core/p-80d6b0e6.entry.js +0 -1
  246. package/dist/sparkle-core/p-8492a765.entry.js +0 -1
  247. package/dist/sparkle-core/p-c3cadfc6.entry.js +0 -1
  248. package/dist/sparkle-core/p-eaf76d1d.entry.js +0 -352
@@ -1,7 +1,7 @@
1
- import { c as getAssetPath, h } from './index-c04b9ed5.js';
1
+ import { c as getAssetPath } from './index-c04b9ed5.js';
2
2
  import { s as set, r as remove, g as get } from './localstorage.service-4bf408c8.js';
3
- import { H as HttpService } from './httpService-7b75b095.js';
4
- import { A as AuthStore } from './auth.store-dba2c2da.js';
3
+ import { H as HttpService } from './httpService-61864992.js';
4
+ import { A as AuthStore } from './auth.store-633e8414.js';
5
5
 
6
6
  //import * as abpTypings from '../lib/abp';
7
7
  class Utils {
@@ -192,33 +192,4 @@ class AuthService {
192
192
  }
193
193
  }
194
194
 
195
- function isGranted(permissionName) {
196
- return sparkle.auth.isGranted(permissionName);
197
- }
198
-
199
- var __rest = (undefined && undefined.__rest) || function (s, e) {
200
- var t = {};
201
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
202
- t[p] = s[p];
203
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
204
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
205
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
206
- t[p[i]] = s[p[i]];
207
- }
208
- return t;
209
- };
210
- const Route = (_a) => {
211
- var { component, permission, render } = _a, props = __rest(_a, ["component", "permission", "render"]);
212
- const Component = component;
213
- return (h("stencil-route", Object.assign({}, props, { routeRender: (props) => {
214
- if (!AuthStore.state.isAuthenticated)
215
- return (h("stencil-router-redirect", { url: "/login" }));
216
- if (permission && !isGranted(permission)) {
217
- return (h("stencil-router-redirect", { url: "/unauthorized" }));
218
- }
219
- return Component ? h(Component, Object.assign({}, props, props.componentProps)) : render(props);
220
- } })));
221
- };
222
- const PrivateRoute = Route;
223
-
224
- export { AuthService as A, PrivateRoute as P, initSetupConfig as i, setupConfig as s };
195
+ export { AuthService as A, initSetupConfig as i, setupConfig as s };
@@ -3378,4 +3378,4 @@ onChange('authUser', (authUser) => {
3378
3378
  });
3379
3379
  const AuthStore = { state, onChange, reset };
3380
3380
 
3381
- export { AuthStore as A, TocStore as T, axios_1 as a, commonjsGlobal as b, createCommonjsModule as c, createStore as d, formats as f, getDefaultExportFromCjs as g, sideChannel as s, utils as u };
3381
+ export { AuthStore as A, TocStore as T, axios_1 as a, createCommonjsModule as b, createStore as c, commonjsGlobal as d, formats as f, getDefaultExportFromCjs as g, sideChannel as s, utils as u };
@@ -0,0 +1,55 @@
1
+ const getConfirmation = (win, message, callback) => (callback(win.confirm(message)));
2
+ const isModifiedEvent = (ev) => (ev.metaKey || ev.altKey || ev.ctrlKey || ev.shiftKey);
3
+ /**
4
+ * Returns true if the HTML5 history API is supported. Taken from Modernizr.
5
+ *
6
+ * https://github.com/Modernizr/Modernizr/blob/master/LICENSE
7
+ * https://github.com/Modernizr/Modernizr/blob/master/feature-detects/history.js
8
+ * changed to avoid false negatives for Windows Phones: https://github.com/reactjs/react-router/issues/586
9
+ */
10
+ const supportsHistory = (win) => {
11
+ const ua = win.navigator.userAgent;
12
+ if ((ua.indexOf('Android 2.') !== -1 || ua.indexOf('Android 4.0') !== -1) &&
13
+ ua.indexOf('Mobile Safari') !== -1 &&
14
+ ua.indexOf('Chrome') === -1 &&
15
+ ua.indexOf('Windows Phone') === -1) {
16
+ return false;
17
+ }
18
+ return win.history && 'pushState' in win.history;
19
+ };
20
+ /**
21
+ * Returns true if browser fires popstate on hash change.
22
+ * IE10 and IE11 do not.
23
+ */
24
+ const supportsPopStateOnHashChange = (nav) => (nav.userAgent.indexOf('Trident') === -1);
25
+ /**
26
+ * Returns false if using go(n) with hash history causes a full page reload.
27
+ */
28
+ const supportsGoWithoutReloadUsingHash = (nav) => (nav.userAgent.indexOf('Firefox') === -1);
29
+ const isExtraneousPopstateEvent = (nav, event) => (event.state === undefined &&
30
+ nav.userAgent.indexOf('CriOS') === -1);
31
+ const storageAvailable = (win, type) => {
32
+ const storage = win[type];
33
+ const x = '__storage_test__';
34
+ try {
35
+ storage.setItem(x, x);
36
+ storage.removeItem(x);
37
+ return true;
38
+ }
39
+ catch (e) {
40
+ return e instanceof DOMException && (
41
+ // everything except Firefox
42
+ e.code === 22 ||
43
+ // Firefox
44
+ e.code === 1014 ||
45
+ // test name field too, because code might not be present
46
+ // everything except Firefox
47
+ e.name === 'QuotaExceededError' ||
48
+ // Firefox
49
+ e.name === 'NS_ERROR_DOM_QUOTA_REACHED') &&
50
+ // acknowledge QuotaExceededError only if there's something already stored
51
+ storage.length !== 0;
52
+ }
53
+ };
54
+
55
+ export { supportsHistory as a, supportsPopStateOnHashChange as b, isExtraneousPopstateEvent as c, supportsGoWithoutReloadUsingHash as d, getConfirmation as g, isModifiedEvent as i, storageAvailable as s };
@@ -1,5 +1,5 @@
1
- import { H as HttpService } from './httpService-7b75b095.js';
2
- import { d as createStore } from './auth.store-dba2c2da.js';
1
+ import { H as HttpService } from './httpService-61864992.js';
2
+ import { c as createStore } from './auth.store-633e8414.js';
3
3
 
4
4
  const { state, onChange } = createStore({
5
5
  pageNotes: [],
@@ -1,6 +1,6 @@
1
- import { H as HttpService } from './httpService-7b75b095.js';
2
- import { d as createStore } from './auth.store-dba2c2da.js';
3
- import { S as SparkleGlobal } from './util-6ef753e9.js';
1
+ import { H as HttpService } from './httpService-61864992.js';
2
+ import { c as createStore } from './auth.store-633e8414.js';
3
+ import { S as SparkleGlobal } from './util-a831d09d.js';
4
4
 
5
5
  const { state: state$1, onChange } = createStore({
6
6
  goals: [],
@@ -1,4 +1,4 @@
1
- import { c as componentOnReady } from './helpers-bf0e23d6.js';
1
+ import { c as componentOnReady } from './helpers-03073fe4.js';
2
2
 
3
3
  /*!
4
4
  * (C) Ionic http://ionicframework.com - MIT License
@@ -0,0 +1,86 @@
1
+ import { r as registerInstance, h, e as getElement } from './index-c04b9ed5.js';
2
+ import { a as MoreDots } from './icons-90b957ab.js';
3
+
4
+ const headerMobileCollapseCss = "header-mobile-collapse,header-mobile-collapse .header-mobile-collapse__content{flex:1;display:flex;justify-content:flex-end;align-items:center}header-mobile-collapse .ionic-sub-header__mobile-toggle{display:none;padding-top:14px;pointer-events:none;padding-left:8px}header-mobile-collapse .ionic-sub-header__mobile-toggle svg{height:20px;width:20px}header-mobile-collapse .UtilNav{margin-left:auto}header-mobile-collapse>ionic-search{padding-right:8px;padding-top:4px;display:none}header-mobile-collapse .label-sm-only .Dropdown-button-label,header-mobile-collapse .sm-only{display:none}@media (max-width: 800px){header-mobile-collapse .ionic-sub-header__mobile-toggle{display:block;cursor:pointer;padding-top:14px;pointer-events:all;transition:0.2s transform ease 0.1s;transform-origin:66% 50%}header-mobile-collapse .header-mobile-collapse__backdrop{position:fixed;top:100%;height:100vh;left:0;right:0;background:rgba(0, 0, 0, 0.1);cursor:pointer;opacity:0;pointer-events:none;transition:0.4s opacity}header-mobile-collapse.ionic-sub-header--mobile-active .header-mobile-collapse__backdrop{opacity:1;pointer-events:all}header-mobile-collapse>ionic-search{display:block}header-mobile-collapse .header-mobile-collapse__content{display:flex;flex-direction:column;align-items:stretch;position:fixed;width:100vw;left:0;background:white;box-shadow:0px 1px 3px rgba(2, 8, 20, 0.06), 0px 1px 2px rgba(2, 8, 20, 0.04);top:56px;padding:16px 16px 8px;max-height:calc(100vh - 64px);overflow:auto;pointer-events:none;opacity:0;transform:translateY(-10px);transition:transform 0.2s cubic-bezier(0.36, 0.66, 0.04, 1), opacity 0.2s linear}header-mobile-collapse.ionic-sub-header--mobile-active .header-mobile-collapse__content{opacity:1;pointer-events:all;transform:translateY(0);transition:transform 0.25s cubic-bezier(0.17, 0.67, 0.52, 1), opacity 0.1s linear}header-mobile-collapse .sparkle-dropdown,header-mobile-collapse .SectionNav .Dropdown{align-self:stretch}header-mobile-collapse .Dropdown .Dropdown-button,header-mobile-collapse .UtilNav .sm-only{width:100%;display:flex;justify-content:space-between;color:#5b708b;font-size:20px;line-height:24px;letter-spacing:-0.03em;padding:13px 0 14px}header-mobile-collapse .Dropdown--left .Dropdown-button{padding-left:16px;padding-right:14px;margin-bottom:10px;padding-top:10px;height:44px;box-shadow:0px 1px 2px rgba(2, 8, 20, 0.04)}header-mobile-collapse .Dropdown .Dropdown-button .Dropdown-arrow{height:26px;width:20px;margin-right:-4px}header-mobile-collapse .SectionNav .Dropdown,header-mobile-collapse .SectionNav-tabs>*{margin-right:0}header-mobile-collapse .Dropdown:focus{outline:none}header-mobile-collapse .SectionNav-tabs stencil-route-link{height:45px}header-mobile-collapse .Dropdown--right .Dropdown-button{text-align:left}header-mobile-collapse .SectionNav stencil-route,header-mobile-collapse .SectionNav-tabs,header-mobile-collapse .UtilNav{display:flex;flex-direction:column;margin-left:0;align-items:stretch}header-mobile-collapse .UtilNav>*{margin-left:0;border-bottom:1px solid #e6e6e8}header-mobile-collapse .UtilNav>:last-child{border-bottom:none}header-mobile-collapse .Dropdown-panel{position:static;border-bottom:1px solid var(--text-color--lighter)}header-mobile-collapse .SectionNav-tabs a{font-size:20px;line-height:24px;letter-spacing:-0.02em;color:#5b708b;padding-left:16px;padding-right:14px;font-weight:400}header-mobile-collapse .UtilNav a{padding:0}header-mobile-collapse .SectionNav-tabs .link-active{background:rgba(var(--ion-color-primary-rgb), 0.12);color:var(--ion-color-primary);display:flex;justify-content:space-between;width:100%;border-radius:8px}header-mobile-collapse .SectionNav-tabs .link-active::after{content:'\\2713';position:static;background:none;width:auto;font-size:16px}header-mobile-collapse .SectionNav-tabs{position:relative;padding-bottom:8px;margin-bottom:18px;margin-top:5px}header-mobile-collapse .SectionNav-tabs::after{position:absolute;bottom:0;left:-16px;width:100vw;border-bottom:1px solid #e6e6e8;content:''}header-mobile-collapse .header-mobile-collapse__content ionic-search{display:none}header-mobile-collapse .UtilNav::before{content:'More';font-size:20px;line-height:24px;letter-spacing:0.01em;color:#000;padding:6px 2px 8px}header-mobile-collapse .label-sm-only .Dropdown-button-label,header-mobile-collapse .sm-only{display:block}header-mobile-collapse .label-sm-only .Dropdown-icon,header-mobile-collapse .lg-only{display:none}header-mobile-collapse .label-sm-only .Dropdown-icon+.Dropdown-arrow{fill:#5b708b}header-mobile-collapse .UtilNav .sm-only .Dropdown-arrow{height:26px;width:20px;margin-right:-4px;fill:#b2becd}header-mobile-collapse .Dropdown-panel a{padding:8px;font-size:16px}header-mobile-collapse .Dropdown.is-open .Dropdown-panel{position:static}}";
5
+
6
+ const HeaderMobileCollapse = class {
7
+ constructor(hostRef) {
8
+ registerInstance(this, hostRef);
9
+ this.darkMode = true;
10
+ this.mobileDropdownActive = false;
11
+ this.stuck = false;
12
+ this.queued = false;
13
+ }
14
+ deactivate() {
15
+ setTimeout(() => {
16
+ this.el.classList.remove('ionic-sub-header--mobile-active');
17
+ }, 200); // give the page a chance to load in the background so it's pretty
18
+ }
19
+ getTriggerEl() {
20
+ // return (<div class="ionic-sub-header__trigger"></div>)
21
+ const trigger = document.createElement('div');
22
+ trigger.id = 'ionic-sub-header__trigger';
23
+ return trigger;
24
+ }
25
+ componentDidLoad() {
26
+ // tslint:disable-next-line
27
+ if (!this.el.before) {
28
+ return;
29
+ }
30
+ this.el.before(this.getTriggerEl());
31
+ this.init();
32
+ requestAnimationFrame(() => {
33
+ this.el.classList.add('ionic-sub-header--initialized');
34
+ });
35
+ }
36
+ init() {
37
+ this.observer = new IntersectionObserver(entries => {
38
+ if (this.queued) {
39
+ return;
40
+ }
41
+ // no intersection with screen
42
+ if (!this.stuck && entries[0].intersectionRatio === 0) {
43
+ this.queued = true;
44
+ requestAnimationFrame(() => {
45
+ this.el.classList.add('ionic-sub-header--stuck');
46
+ this.stuck = true;
47
+ this.queued = false;
48
+ });
49
+ // fully intersects with screen
50
+ }
51
+ else if (this.stuck && entries[0].intersectionRatio === 1) {
52
+ this.queued = true;
53
+ requestAnimationFrame(() => {
54
+ this.el.classList.remove('ionic-sub-header--stuck');
55
+ this.stuck = false;
56
+ this.queued = false;
57
+ });
58
+ }
59
+ }, { threshold: [0, 1] });
60
+ const headerEl = document.getElementById('ionic-sub-header__trigger');
61
+ if (this.el && headerEl) {
62
+ this.observer.observe(headerEl);
63
+ setTimeout(() => {
64
+ this.el.classList.add('ionic-sub-header--initialized');
65
+ const navBar = document.querySelector('.navbar-default');
66
+ if (navBar) {
67
+ navBar.classList.add('navbar--not-fixed');
68
+ }
69
+ }, 405);
70
+ }
71
+ }
72
+ handleMobileToggleClick() {
73
+ this.el.classList.toggle('ionic-sub-header--mobile-active');
74
+ }
75
+ render() {
76
+ return ([
77
+ h("div", { class: "header-mobile-collapse__backdrop", onClick: () => this.deactivate() }),
78
+ h("a", { class: "ionic-sub-header__mobile-toggle", onClick: () => this.handleMobileToggleClick() }, h(MoreDots, null)),
79
+ h("div", { class: "header-mobile-collapse__content" }, h("slot", null))
80
+ ]);
81
+ }
82
+ get el() { return getElement(this); }
83
+ };
84
+ HeaderMobileCollapse.style = headerMobileCollapseCss;
85
+
86
+ export { HeaderMobileCollapse as header_mobile_collapse };
@@ -400,4 +400,4 @@ const shallowEqualStringMap = (map1, map2) => {
400
400
  return true;
401
401
  };
402
402
 
403
- export { addEventListener as a, getAriaLabel as b, componentOnReady as c, renderHiddenInput as d, debounceEvent as e, focusElement as f, getElementRoot as g, hasShadowDom as h, inheritAriaAttributes as i, inheritAttributes as j, findItemLabel as k, raf as l, clamp as m, isEndSide as n, assert as o, debounce as p, pointerCoord as q, removeEventListener as r, shallowEqualStringMap as s, transitionEndAsync as t, now as u };
403
+ export { addEventListener as a, raf as b, componentOnReady as c, clamp as d, debounceEvent as e, focusElement as f, getElementRoot as g, getAriaLabel as h, inheritAriaAttributes as i, renderHiddenInput as j, inheritAttributes as k, isEndSide as l, assert as m, debounce as n, findItemLabel as o, pointerCoord as p, hasShadowDom as q, removeEventListener as r, shallowEqualStringMap as s, transitionEndAsync as t, now as u };
@@ -1,5 +1,5 @@
1
- import { a as axios_1, u as utils, f as formats, s as sideChannel, T as TocStore } from './auth.store-dba2c2da.js';
2
- import { t as toastController } from './overlays-3b4dca92.js';
1
+ import { a as axios_1, u as utils, f as formats, s as sideChannel, T as TocStore } from './auth.store-633e8414.js';
2
+ import { t as toastController } from './overlays-bdd9344a.js';
3
3
  import { E as EnvironmentConfigService } from './environment-config.service-2b5d692b.js';
4
4
 
5
5
  var axios = axios_1;
@@ -15,4 +15,4 @@ const MoreDots = (props) => (h("svg", Object.assign({ viewBox: "0 0 4 16" }, pro
15
15
  const CheckmarkSoft = (props) => (h("svg", Object.assign({ viewBox: "0 0 512 512" }, props),
16
16
  h("path", { d: "M362.6 192.9L345 174.8c-.7-.8-1.8-1.2-2.8-1.2-1.1 0-2.1.4-2.8 1.2l-122 122.9-44.4-44.4c-.8-.8-1.8-1.2-2.8-1.2-1 0-2 .4-2.8 1.2l-17.8 17.8c-1.6 1.6-1.6 4.1 0 5.7l56 56c3.6 3.6 8 5.7 11.7 5.7 5.3 0 9.9-3.9 11.6-5.5h.1l133.7-134.4c1.4-1.7 1.4-4.2-.1-5.7z" })));
17
17
 
18
- export { BackArrow as B, CheckmarkSoft as C, DownArrow as D, ForwardArrow as F, MoreDots as M, Outbound as O, Menu as a };
18
+ export { BackArrow as B, CheckmarkSoft as C, DownArrow as D, ForwardArrow as F, Menu as M, Outbound as O, MoreDots as a };
@@ -1,4 +1,4 @@
1
- import { c as componentOnReady } from './helpers-bf0e23d6.js';
1
+ import { c as componentOnReady } from './helpers-03073fe4.js';
2
2
  import { b as printRequiredElementError } from './index-dad75b83.js';
3
3
 
4
4
  /*!
@@ -1,4 +1,4 @@
1
- import { u as now, q as pointerCoord } from './helpers-bf0e23d6.js';
1
+ import { u as now, p as pointerCoord } from './helpers-03073fe4.js';
2
2
 
3
3
  /*!
4
4
  * (C) Ionic http://ionicframework.com - MIT License
@@ -1,5 +1,5 @@
1
1
  import { w as writeTask, B as Build } from './index-c04b9ed5.js';
2
- import { c as componentOnReady, l as raf } from './helpers-bf0e23d6.js';
2
+ import { c as componentOnReady, b as raf } from './helpers-03073fe4.js';
3
3
 
4
4
  /*!
5
5
  * (C) Ionic http://ionicframework.com - MIT License
@@ -13,8 +13,8 @@ const LIFECYCLE_WILL_UNLOAD = 'ionViewWillUnload';
13
13
  /*!
14
14
  * (C) Ionic http://ionicframework.com - MIT License
15
15
  */
16
- const iosTransitionAnimation = () => import('./ios.transition-131d64fe.js');
17
- const mdTransitionAnimation = () => import('./md.transition-f6126011.js');
16
+ const iosTransitionAnimation = () => import('./ios.transition-3a6179bb.js');
17
+ const mdTransitionAnimation = () => import('./md.transition-cff16bf3.js');
18
18
  const transition = (opts) => {
19
19
  return new Promise((resolve, reject) => {
20
20
  writeTask(() => {
@@ -1,7 +1,7 @@
1
1
  import { MENU_BACK_BUTTON_PRIORITY } from './hardware-back-button-fa04d6e9.js';
2
- import { c as componentOnReady } from './helpers-bf0e23d6.js';
2
+ import { c as componentOnReady } from './helpers-03073fe4.js';
3
3
  import { g as getIonMode } from './ionic-global-4903e23e.js';
4
- import { c as createAnimation } from './animation-12377cb3.js';
4
+ import { c as createAnimation } from './animation-e0716b39.js';
5
5
 
6
6
  /*!
7
7
  * (C) Ionic http://ionicframework.com - MIT License