@sparkle-learning/core 0.0.55 → 0.0.57

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 (1097) hide show
  1. package/dist/sparkle-core/PrivateRoute-a12e7ee5.js +37 -0
  2. package/dist/sparkle-core/account.service-e711795d.js +63 -0
  3. package/dist/sparkle-core/active-router-af86c9b4.js +73 -0
  4. package/dist/sparkle-core/animation-676a644d.js +984 -0
  5. package/dist/sparkle-core/app-globals-9ffa9ec3.js +10 -0
  6. package/dist/sparkle-core/appdata.service-703dff70.js +69 -0
  7. package/dist/sparkle-core/assets/user.png +0 -0
  8. package/dist/sparkle-core/assets.service-6508aae6.js +71 -0
  9. package/dist/sparkle-core/assignment.service-e42e9368.js +17 -0
  10. package/dist/sparkle-core/button-active-d68c5eb7.js +67 -0
  11. package/dist/sparkle-core/compass-svg.entry.js +128 -0
  12. package/dist/sparkle-core/context-consumer.entry.js +25 -0
  13. package/dist/sparkle-core/course-select.entry.js +26 -0
  14. package/dist/sparkle-core/css-shim-04165e59.js +4 -0
  15. package/dist/sparkle-core/dom-26e7cb2c.js +73 -0
  16. package/dist/sparkle-core/dom-utils-8e73e88b.js +55 -0
  17. package/dist/sparkle-core/facilitator.service-00a88935.js +79 -0
  18. package/dist/sparkle-core/facilitator.store-01be0386.js +18 -0
  19. package/dist/sparkle-core/feed.service-d495f3e1.js +53 -0
  20. package/dist/sparkle-core/framework-delegate-d3fa493f.js +107 -0
  21. package/dist/sparkle-core/haptic-a9e94599.js +124 -0
  22. package/dist/sparkle-core/header-mobile-collapse.entry.js +86 -0
  23. package/dist/sparkle-core/helpers-f11f0674.js +406 -0
  24. package/dist/sparkle-core/icons-758d1417.js +41 -0
  25. package/dist/sparkle-core/index-05b398c2.js +34 -0
  26. package/dist/sparkle-core/index-0af0deac.js +312 -0
  27. package/dist/sparkle-core/index-0df264ee.js +4518 -0
  28. package/dist/sparkle-core/index-183cda39.js +223 -0
  29. package/dist/sparkle-core/index-18a69883.js +1336 -0
  30. package/dist/sparkle-core/index-1d7a6fa0.js +269 -0
  31. package/dist/sparkle-core/index-1dec9544.js +3064 -0
  32. package/dist/sparkle-core/index-81dab78f.js +85 -0
  33. package/dist/sparkle-core/index-9b5bcea1.js +22 -0
  34. package/dist/sparkle-core/index-bb469fe3.js +128 -0
  35. package/dist/sparkle-core/index-d2990a48.js +184 -0
  36. package/dist/sparkle-core/index-dd414b33.js +653 -0
  37. package/dist/sparkle-core/index-faeec85a.js +8 -0
  38. package/dist/sparkle-core/index.es-1f6eedc5.js +11066 -0
  39. package/dist/sparkle-core/index.esm.js +19 -1
  40. package/dist/sparkle-core/input-shims-0b2f5522.js +418 -0
  41. package/dist/sparkle-core/ion-accordion-group.entry.js +201 -0
  42. package/dist/sparkle-core/ion-accordion.entry.js +332 -0
  43. package/dist/sparkle-core/ion-action-sheet.entry.js +263 -0
  44. package/dist/sparkle-core/ion-alert.entry.js +448 -0
  45. package/dist/sparkle-core/ion-app.entry.js +75 -0
  46. package/dist/sparkle-core/ion-avatar.entry.js +21 -0
  47. package/dist/sparkle-core/ion-back-button.entry.js +90 -0
  48. package/dist/sparkle-core/ion-backdrop.entry.js +63 -0
  49. package/dist/sparkle-core/ion-badge.entry.js +25 -0
  50. package/dist/sparkle-core/ion-breadcrumb.entry.js +91 -0
  51. package/dist/sparkle-core/ion-breadcrumbs.entry.js +129 -0
  52. package/dist/sparkle-core/ion-button.entry.js +125 -0
  53. package/dist/sparkle-core/ion-buttons.entry.js +38 -0
  54. package/dist/sparkle-core/ion-card-content.entry.js +26 -0
  55. package/dist/sparkle-core/ion-card-header.entry.js +33 -0
  56. package/dist/sparkle-core/ion-card-subtitle.entry.js +26 -0
  57. package/dist/sparkle-core/ion-card-title.entry.js +26 -0
  58. package/dist/sparkle-core/ion-card.entry.js +64 -0
  59. package/dist/sparkle-core/ion-checkbox.entry.js +109 -0
  60. package/dist/sparkle-core/ion-chip.entry.js +36 -0
  61. package/dist/sparkle-core/ion-col.entry.js +121 -0
  62. package/dist/sparkle-core/ion-content.entry.js +319 -0
  63. package/dist/sparkle-core/ion-datetime-button.entry.js +308 -0
  64. package/dist/sparkle-core/ion-datetime.entry.js +1619 -0
  65. package/dist/sparkle-core/ion-fab-button.entry.js +104 -0
  66. package/dist/sparkle-core/ion-fab-list.entry.js +41 -0
  67. package/dist/sparkle-core/ion-fab.entry.js +72 -0
  68. package/dist/sparkle-core/ion-footer.entry.js +116 -0
  69. package/dist/sparkle-core/ion-grid.entry.js +24 -0
  70. package/dist/sparkle-core/ion-header.entry.js +341 -0
  71. package/dist/sparkle-core/ion-icon.entry.js +200 -0
  72. package/dist/sparkle-core/ion-img.entry.js +97 -0
  73. package/dist/sparkle-core/ion-infinite-scroll-content.entry.js +33 -0
  74. package/dist/sparkle-core/ion-infinite-scroll.entry.js +202 -0
  75. package/dist/sparkle-core/ion-input.entry.js +293 -0
  76. package/dist/sparkle-core/ion-item-divider.entry.js +36 -0
  77. package/dist/sparkle-core/ion-item-group.entry.js +27 -0
  78. package/dist/sparkle-core/ion-item-option.entry.js +56 -0
  79. package/dist/sparkle-core/ion-item-options.entry.js +43 -0
  80. package/dist/sparkle-core/ion-item-sliding.entry.js +394 -0
  81. package/dist/sparkle-core/ion-item.entry.js +267 -0
  82. package/dist/sparkle-core/ion-label.entry.js +77 -0
  83. package/dist/sparkle-core/ion-list-header.entry.js +27 -0
  84. package/dist/sparkle-core/ion-list.entry.js +48 -0
  85. package/dist/sparkle-core/ion-loading.entry.js +211 -0
  86. package/dist/sparkle-core/ion-menu-button.entry.js +72 -0
  87. package/dist/sparkle-core/ion-menu-toggle.entry.js +43 -0
  88. package/dist/sparkle-core/ion-menu.entry.js +575 -0
  89. package/dist/sparkle-core/ion-modal.entry.js +1706 -0
  90. package/dist/sparkle-core/ion-nav-link.entry.js +43 -0
  91. package/dist/sparkle-core/ion-nav.entry.js +872 -0
  92. package/dist/sparkle-core/ion-note.entry.js +25 -0
  93. package/dist/sparkle-core/ion-picker-column-internal.entry.js +363 -0
  94. package/dist/sparkle-core/ion-picker-column.entry.js +327 -0
  95. package/dist/sparkle-core/ion-picker-internal.entry.js +454 -0
  96. package/dist/sparkle-core/ion-picker.entry.js +217 -0
  97. package/dist/sparkle-core/ion-popover.entry.js +1362 -0
  98. package/dist/sparkle-core/ion-progress-bar.entry.js +70 -0
  99. package/dist/sparkle-core/ion-radio-group.entry.js +121 -0
  100. package/dist/sparkle-core/ion-radio.entry.js +111 -0
  101. package/dist/sparkle-core/ion-range.entry.js +511 -0
  102. package/dist/sparkle-core/ion-refresher-content.entry.js +31 -0
  103. package/dist/sparkle-core/ion-refresher.entry.js +798 -0
  104. package/dist/sparkle-core/ion-reorder-group.entry.js +277 -0
  105. package/dist/sparkle-core/ion-reorder.entry.js +34 -0
  106. package/dist/sparkle-core/ion-ripple-effect.entry.js +89 -0
  107. package/dist/sparkle-core/ion-route-redirect.entry.js +20 -0
  108. package/dist/sparkle-core/ion-route.entry.js +45 -0
  109. package/dist/sparkle-core/ion-router-link.entry.js +34 -0
  110. package/dist/sparkle-core/ion-router-outlet.entry.js +196 -0
  111. package/dist/sparkle-core/ion-router.entry.js +827 -0
  112. package/dist/sparkle-core/ion-row.entry.js +16 -0
  113. package/dist/sparkle-core/ion-searchbar.entry.js +366 -0
  114. package/dist/sparkle-core/ion-segment-button.entry.js +98 -0
  115. package/dist/sparkle-core/ion-segment.entry.js +415 -0
  116. package/dist/sparkle-core/ion-select-option.entry.js +23 -0
  117. package/dist/sparkle-core/ion-select-popover.entry.js +96 -0
  118. package/dist/sparkle-core/ion-select.entry.js +510 -0
  119. package/dist/sparkle-core/ion-skeleton-text.entry.js +29 -0
  120. package/dist/sparkle-core/ion-slide.entry.js +21 -0
  121. package/dist/sparkle-core/ion-slides.entry.js +387 -0
  122. package/dist/sparkle-core/ion-spinner.entry.js +60 -0
  123. package/dist/sparkle-core/ion-split-pane.entry.js +156 -0
  124. package/dist/sparkle-core/ion-tab-bar.entry.js +71 -0
  125. package/dist/sparkle-core/ion-tab-button.entry.js +99 -0
  126. package/dist/sparkle-core/ion-tab.entry.js +63 -0
  127. package/dist/sparkle-core/ion-tabs.entry.js +150 -0
  128. package/dist/sparkle-core/ion-text.entry.js +20 -0
  129. package/dist/sparkle-core/ion-textarea.entry.js +244 -0
  130. package/dist/sparkle-core/ion-thumbnail.entry.js +16 -0
  131. package/dist/sparkle-core/ion-title.entry.js +48 -0
  132. package/dist/sparkle-core/ion-toast.entry.js +268 -0
  133. package/dist/sparkle-core/ion-toggle.entry.js +173 -0
  134. package/dist/sparkle-core/ion-toolbar.entry.js +70 -0
  135. package/dist/sparkle-core/ion-virtual-scroll.entry.js +551 -0
  136. package/dist/sparkle-core/ionic-global-127576f6.js +226 -0
  137. package/dist/sparkle-core/ios.transition-02531dda.js +479 -0
  138. package/dist/sparkle-core/location-utils-fea12957.js +229 -0
  139. package/dist/sparkle-core/match-path-760e1797.js +343 -0
  140. package/dist/sparkle-core/md.transition-f8765467.js +55 -0
  141. package/dist/sparkle-core/media.service-2609406e.js +36 -0
  142. package/dist/sparkle-core/menu-toggle-util-6cc13cbd.js +12 -0
  143. package/dist/sparkle-core/overlays-fd3cfa13.js +493 -0
  144. package/dist/sparkle-core/parse-60474840.js +1196 -0
  145. package/dist/sparkle-core/purify-d9093094.js +1469 -0
  146. package/dist/sparkle-core/quiz.model-1cff62e4.js +5 -0
  147. package/dist/sparkle-core/shadow-css-1257b266.js +387 -0
  148. package/dist/sparkle-core/signalR.service-2b7645c1.js +2983 -0
  149. package/dist/sparkle-core/sparkle-animation-player.entry.js +513 -0
  150. package/dist/sparkle-core/sparkle-assignment.entry.js +114 -0
  151. package/dist/sparkle-core/sparkle-button.entry.js +24 -0
  152. package/dist/sparkle-core/sparkle-card.entry.js +61 -0
  153. package/dist/sparkle-core/sparkle-cards.entry.js +15 -0
  154. package/dist/sparkle-core/sparkle-character-intro.entry.js +22 -0
  155. package/dist/sparkle-core/sparkle-code.entry.js +39 -0
  156. package/dist/sparkle-core/sparkle-compass-post.entry.js +129 -0
  157. package/dist/sparkle-core/sparkle-compass.entry.js +122 -0
  158. package/dist/sparkle-core/sparkle-core.css +2660 -1
  159. package/dist/sparkle-core/sparkle-core.esm.js +130 -1
  160. package/dist/sparkle-core/sparkle-course-root.entry.js +155 -0
  161. package/dist/sparkle-core/sparkle-discussion-questions.entry.js +122 -0
  162. package/dist/sparkle-core/sparkle-discussion-results.entry.js +189 -0
  163. package/dist/sparkle-core/sparkle-discussion.entry.js +52 -0
  164. package/dist/sparkle-core/sparkle-dropdown.entry.js +57 -0
  165. package/dist/sparkle-core/sparkle-emoji.entry.js +77 -0
  166. package/dist/sparkle-core/sparkle-export-lessons.entry.js +10081 -0
  167. package/dist/sparkle-core/sparkle-facilitator-dashboard.entry.js +93 -0
  168. package/dist/sparkle-core/sparkle-facilitator-header.entry.js +60 -0
  169. package/dist/sparkle-core/sparkle-facilitator-notes-form.entry.js +160 -0
  170. package/dist/sparkle-core/sparkle-facilitator-notes.entry.js +65 -0
  171. package/dist/sparkle-core/sparkle-facilitator-page.entry.js +198 -0
  172. package/dist/sparkle-core/sparkle-feed-post.entry.js +131 -0
  173. package/dist/sparkle-core/sparkle-feedback.entry.js +106 -0
  174. package/dist/sparkle-core/sparkle-file-upload.entry.js +57 -0
  175. package/dist/sparkle-core/sparkle-forgot-password.entry.js +80 -0
  176. package/dist/sparkle-core/sparkle-goal-form.entry.js +182 -0
  177. package/dist/sparkle-core/sparkle-goal-item.entry.js +15 -0
  178. package/dist/sparkle-core/sparkle-goal-progress.entry.js +15 -0
  179. package/dist/sparkle-core/sparkle-goals.entry.js +47 -0
  180. package/dist/sparkle-core/sparkle-gww-comment-list.entry.js +22 -0
  181. package/dist/sparkle-core/sparkle-gww-graph.entry.js +15 -0
  182. package/dist/sparkle-core/sparkle-gww-item.entry.js +80 -0
  183. package/dist/sparkle-core/sparkle-gww.entry.js +44 -0
  184. package/dist/sparkle-core/sparkle-header.entry.js +97 -0
  185. package/dist/sparkle-core/sparkle-health.entry.js +70 -0
  186. package/dist/sparkle-core/sparkle-input.entry.js +52 -0
  187. package/dist/sparkle-core/sparkle-intro.entry.js +22 -0
  188. package/dist/sparkle-core/sparkle-login.entry.js +116 -0
  189. package/dist/sparkle-core/sparkle-lower-content-nav.entry.js +18 -0
  190. package/dist/sparkle-core/sparkle-menu-collapsible.entry.js +42 -0
  191. package/dist/sparkle-core/sparkle-menu-toggle.entry.js +24 -0
  192. package/dist/sparkle-core/sparkle-menu.entry.js +26 -0
  193. package/dist/sparkle-core/sparkle-modal-image.entry.js +33 -0
  194. package/dist/sparkle-core/sparkle-mood.entry.js +76 -0
  195. package/dist/sparkle-core/sparkle-nav.entry.js +113 -0
  196. package/dist/sparkle-core/sparkle-notfound-page.entry.js +25 -0
  197. package/dist/sparkle-core/sparkle-online-students.entry.js +55 -0
  198. package/dist/sparkle-core/sparkle-overlay.entry.js +90 -0
  199. package/dist/sparkle-core/sparkle-page-footer.entry.js +24 -0
  200. package/dist/sparkle-core/sparkle-page.entry.js +245 -0
  201. package/dist/sparkle-core/sparkle-pagination.entry.js +67 -0
  202. package/dist/sparkle-core/sparkle-poll.entry.js +15 -0
  203. package/dist/sparkle-core/sparkle-quiz-container.entry.js +43 -0
  204. package/dist/sparkle-core/sparkle-quiz-feedback.entry.js +18 -0
  205. package/dist/sparkle-core/sparkle-quiz-input.entry.js +16 -0
  206. package/dist/sparkle-core/sparkle-quiz-old.entry.js +116 -0
  207. package/dist/sparkle-core/sparkle-quiz-opinion.entry.js +41 -0
  208. package/dist/sparkle-core/sparkle-quiz-poll.entry.js +16 -0
  209. package/dist/sparkle-core/sparkle-quiz-select.entry.js +29 -0
  210. package/dist/sparkle-core/sparkle-quiz.entry.js +98 -0
  211. package/dist/sparkle-core/sparkle-reset-password.entry.js +96 -0
  212. package/dist/sparkle-core/sparkle-root.entry.js +79 -0
  213. package/dist/sparkle-core/sparkle-select.entry.js +57 -0
  214. package/dist/sparkle-core/sparkle-sidebar.entry.js +39 -0
  215. package/dist/sparkle-core/sparkle-signup.entry.js +144 -0
  216. package/dist/sparkle-core/sparkle-tab.entry.js +22 -0
  217. package/dist/sparkle-core/sparkle-table-of-contents.entry.js +67 -0
  218. package/dist/sparkle-core/sparkle-tabs.entry.js +62 -0
  219. package/dist/sparkle-core/sparkle-unauthorized.entry.js +17 -0
  220. package/dist/sparkle-core/sparkle-user-enrollment.entry.js +85 -0
  221. package/dist/sparkle-core/sparkle-user-profile.entry.js +129 -0
  222. package/dist/sparkle-core/sparkle-validation-error.entry.js +17 -0
  223. package/dist/sparkle-core/sparkle-video-player.entry.js +18 -0
  224. package/dist/sparkle-core/sparkle-youtube.entry.js +35 -0
  225. package/dist/sparkle-core/status-tap-52feb1b1.js +40 -0
  226. package/dist/sparkle-core/stencil-async-content.entry.js +28 -0
  227. package/dist/sparkle-core/stencil-route-link.entry.js +74 -0
  228. package/dist/sparkle-core/stencil-route-switch.entry.js +100 -0
  229. package/dist/sparkle-core/stencil-route-title.entry.js +28 -0
  230. package/dist/sparkle-core/stencil-route.entry.js +93 -0
  231. package/dist/sparkle-core/stencil-router-prompt.entry.js +55 -0
  232. package/dist/sparkle-core/stencil-router-redirect.entry.js +28 -0
  233. package/dist/sparkle-core/stencil-router.entry.js +636 -0
  234. package/dist/sparkle-core/store.service-0f7d998b.js +16 -0
  235. package/dist/sparkle-core/student.service-f0375229.js +59 -0
  236. package/dist/sparkle-core/swipe-back-9a614189.js +73 -0
  237. package/dist/sparkle-core/swiper.bundle-4274e115.js +6418 -0
  238. package/dist/sparkle-core/user.store-3d052406.js +19 -0
  239. package/dist/sparkle-core/util-ba470e54.js +14683 -0
  240. package/dist/sparkle-core/utils-cae23bce.js +114 -0
  241. package/dist/types/components/sparkle-video-player/sparkle-video-player.d.ts +7 -0
  242. package/dist/types/components.d.ts +21 -0
  243. package/package.json +1 -1
  244. package/dist/cjs/PrivateRoute-f97245ce.js +0 -217
  245. package/dist/cjs/active-router-f9e18bd8.js +0 -75
  246. package/dist/cjs/animation-ee586546.js +0 -986
  247. package/dist/cjs/app-globals-33c9f31b.js +0 -9
  248. package/dist/cjs/appdata.service-c8d71e05.js +0 -73
  249. package/dist/cjs/assets.service-bfa75092.js +0 -50
  250. package/dist/cjs/assignment.service-690fb59c.js +0 -19
  251. package/dist/cjs/auth.store-1e630a7d.js +0 -3392
  252. package/dist/cjs/compass-svg.cjs.entry.js +0 -132
  253. package/dist/cjs/context-consumer.cjs.entry.js +0 -29
  254. package/dist/cjs/course-select.cjs.entry.js +0 -30
  255. package/dist/cjs/cubic-bezier-53d26d05.js +0 -93
  256. package/dist/cjs/dir-5af5259a.js +0 -20
  257. package/dist/cjs/environment-config.service-c8ff1f3d.js +0 -28
  258. package/dist/cjs/facilitator.service-ff0e1659.js +0 -95
  259. package/dist/cjs/feed.service-8eca4de6.js +0 -57
  260. package/dist/cjs/focus-visible-b0b07ba6.js +0 -76
  261. package/dist/cjs/framework-delegate-59a98abd.js +0 -111
  262. package/dist/cjs/gesture-controller-0eb5579e.js +0 -196
  263. package/dist/cjs/haptic-780f33c4.js +0 -116
  264. package/dist/cjs/hardware-back-button-92d97ff8.js +0 -76
  265. package/dist/cjs/header-mobile-collapse_61.cjs.entry.js +0 -15124
  266. package/dist/cjs/helpers-c2496722.js +0 -425
  267. package/dist/cjs/httpService-d2e7bf8f.js +0 -687
  268. package/dist/cjs/icons-fda820af.js +0 -26
  269. package/dist/cjs/index-12082cba.js +0 -465
  270. package/dist/cjs/index-15ea05f5.js +0 -314
  271. package/dist/cjs/index-51e8292e.js +0 -1928
  272. package/dist/cjs/index-787d4498.js +0 -232
  273. package/dist/cjs/index-8b5629a6.js +0 -186
  274. package/dist/cjs/index-975586fd.js +0 -48
  275. package/dist/cjs/index-9c7b27e4.js +0 -140
  276. package/dist/cjs/index-af080b50.js +0 -139
  277. package/dist/cjs/index-e56e09b8.js +0 -38
  278. package/dist/cjs/index.cjs.js +0 -26
  279. package/dist/cjs/index.es-38cbcdbe.js +0 -10666
  280. package/dist/cjs/input-shims-eff63b88.js +0 -418
  281. package/dist/cjs/ion-accordion-group.cjs.entry.js +0 -205
  282. package/dist/cjs/ion-accordion.cjs.entry.js +0 -336
  283. package/dist/cjs/ion-action-sheet_7.cjs.entry.js +0 -2935
  284. package/dist/cjs/ion-app.cjs.entry.js +0 -79
  285. package/dist/cjs/ion-back-button.cjs.entry.js +0 -94
  286. package/dist/cjs/ion-backdrop.cjs.entry.js +0 -67
  287. package/dist/cjs/ion-badge.cjs.entry.js +0 -29
  288. package/dist/cjs/ion-breadcrumb.cjs.entry.js +0 -95
  289. package/dist/cjs/ion-breadcrumbs.cjs.entry.js +0 -133
  290. package/dist/cjs/ion-buttons_3.cjs.entry.js +0 -153
  291. package/dist/cjs/ion-card-header.cjs.entry.js +0 -37
  292. package/dist/cjs/ion-card-subtitle.cjs.entry.js +0 -30
  293. package/dist/cjs/ion-card-title.cjs.entry.js +0 -30
  294. package/dist/cjs/ion-chip.cjs.entry.js +0 -40
  295. package/dist/cjs/ion-content_2.cjs.entry.js +0 -659
  296. package/dist/cjs/ion-datetime-button.cjs.entry.js +0 -312
  297. package/dist/cjs/ion-datetime.cjs.entry.js +0 -1623
  298. package/dist/cjs/ion-fab-button.cjs.entry.js +0 -108
  299. package/dist/cjs/ion-fab-list.cjs.entry.js +0 -45
  300. package/dist/cjs/ion-fab.cjs.entry.js +0 -76
  301. package/dist/cjs/ion-footer.cjs.entry.js +0 -120
  302. package/dist/cjs/ion-img.cjs.entry.js +0 -101
  303. package/dist/cjs/ion-infinite-scroll-content.cjs.entry.js +0 -37
  304. package/dist/cjs/ion-infinite-scroll.cjs.entry.js +0 -206
  305. package/dist/cjs/ion-item-divider.cjs.entry.js +0 -40
  306. package/dist/cjs/ion-item-group.cjs.entry.js +0 -31
  307. package/dist/cjs/ion-item-option.cjs.entry.js +0 -60
  308. package/dist/cjs/ion-item-options.cjs.entry.js +0 -47
  309. package/dist/cjs/ion-item-sliding.cjs.entry.js +0 -398
  310. package/dist/cjs/ion-loading.cjs.entry.js +0 -215
  311. package/dist/cjs/ion-menu-button.cjs.entry.js +0 -76
  312. package/dist/cjs/ion-menu-toggle.cjs.entry.js +0 -47
  313. package/dist/cjs/ion-menu.cjs.entry.js +0 -575
  314. package/dist/cjs/ion-modal.cjs.entry.js +0 -1711
  315. package/dist/cjs/ion-nav-link.cjs.entry.js +0 -47
  316. package/dist/cjs/ion-nav.cjs.entry.js +0 -872
  317. package/dist/cjs/ion-picker-column-internal_2.cjs.entry.js +0 -808
  318. package/dist/cjs/ion-picker-column.cjs.entry.js +0 -331
  319. package/dist/cjs/ion-picker.cjs.entry.js +0 -221
  320. package/dist/cjs/ion-progress-bar.cjs.entry.js +0 -74
  321. package/dist/cjs/ion-refresher-content.cjs.entry.js +0 -35
  322. package/dist/cjs/ion-refresher.cjs.entry.js +0 -802
  323. package/dist/cjs/ion-reorder-group.cjs.entry.js +0 -281
  324. package/dist/cjs/ion-reorder.cjs.entry.js +0 -38
  325. package/dist/cjs/ion-route-redirect.cjs.entry.js +0 -24
  326. package/dist/cjs/ion-route.cjs.entry.js +0 -49
  327. package/dist/cjs/ion-router-link.cjs.entry.js +0 -38
  328. package/dist/cjs/ion-router-outlet.cjs.entry.js +0 -200
  329. package/dist/cjs/ion-router.cjs.entry.js +0 -831
  330. package/dist/cjs/ion-searchbar.cjs.entry.js +0 -370
  331. package/dist/cjs/ion-segment-button.cjs.entry.js +0 -102
  332. package/dist/cjs/ion-segment.cjs.entry.js +0 -417
  333. package/dist/cjs/ion-skeleton-text.cjs.entry.js +0 -33
  334. package/dist/cjs/ion-slide.cjs.entry.js +0 -25
  335. package/dist/cjs/ion-slides.cjs.entry.js +0 -391
  336. package/dist/cjs/ion-split-pane.cjs.entry.js +0 -154
  337. package/dist/cjs/ion-tab-bar.cjs.entry.js +0 -75
  338. package/dist/cjs/ion-tab-button.cjs.entry.js +0 -103
  339. package/dist/cjs/ion-tab.cjs.entry.js +0 -59
  340. package/dist/cjs/ion-tabs.cjs.entry.js +0 -154
  341. package/dist/cjs/ion-thumbnail.cjs.entry.js +0 -20
  342. package/dist/cjs/ion-toast.cjs.entry.js +0 -272
  343. package/dist/cjs/ion-toggle.cjs.entry.js +0 -177
  344. package/dist/cjs/ion-virtual-scroll.cjs.entry.js +0 -555
  345. package/dist/cjs/ionic-global-2cde9d3a.js +0 -231
  346. package/dist/cjs/ios.transition-da235483.js +0 -482
  347. package/dist/cjs/keyboard-91096619.js +0 -140
  348. package/dist/cjs/loader.cjs.js +0 -24
  349. package/dist/cjs/localstorage.service-6346a41d.js +0 -40
  350. package/dist/cjs/md.transition-be429e07.js +0 -57
  351. package/dist/cjs/media.service-8a1b9bc5.js +0 -40
  352. package/dist/cjs/menu-toggle-util-7a01448c.js +0 -14
  353. package/dist/cjs/overlays-32df265a.js +0 -507
  354. package/dist/cjs/parse-d0071120.js +0 -1237
  355. package/dist/cjs/purify-fb9c107e.js +0 -1468
  356. package/dist/cjs/signalR.service-bd6b42f9.js +0 -2985
  357. package/dist/cjs/sparkle-animation-player.cjs.entry.js +0 -515
  358. package/dist/cjs/sparkle-assignment.cjs.entry.js +0 -110
  359. package/dist/cjs/sparkle-character-intro.cjs.entry.js +0 -26
  360. package/dist/cjs/sparkle-code.cjs.entry.js +0 -43
  361. package/dist/cjs/sparkle-compass-post.cjs.entry.js +0 -133
  362. package/dist/cjs/sparkle-compass.cjs.entry.js +0 -126
  363. package/dist/cjs/sparkle-core.cjs.js +0 -22
  364. package/dist/cjs/sparkle-discussion-questions_2.cjs.entry.js +0 -281
  365. package/dist/cjs/sparkle-discussion.cjs.entry.js +0 -42
  366. package/dist/cjs/sparkle-emoji.cjs.entry.js +0 -80
  367. package/dist/cjs/sparkle-facilitator-notes-form.cjs.entry.js +0 -121
  368. package/dist/cjs/sparkle-feed-post.cjs.entry.js +0 -116
  369. package/dist/cjs/sparkle-feedback.cjs.entry.js +0 -101
  370. package/dist/cjs/sparkle-file-upload.cjs.entry.js +0 -53
  371. package/dist/cjs/sparkle-goal-form.cjs.entry.js +0 -179
  372. package/dist/cjs/sparkle-gww-comment-list.cjs.entry.js +0 -26
  373. package/dist/cjs/sparkle-gww-graph.cjs.entry.js +0 -19
  374. package/dist/cjs/sparkle-input.cjs.entry.js +0 -56
  375. package/dist/cjs/sparkle-intro.cjs.entry.js +0 -26
  376. package/dist/cjs/sparkle-lower-content-nav.cjs.entry.js +0 -22
  377. package/dist/cjs/sparkle-menu-collapsible.cjs.entry.js +0 -46
  378. package/dist/cjs/sparkle-modal-image.cjs.entry.js +0 -34
  379. package/dist/cjs/sparkle-notfound-page.cjs.entry.js +0 -25
  380. package/dist/cjs/sparkle-overlay.cjs.entry.js +0 -92
  381. package/dist/cjs/sparkle-poll.cjs.entry.js +0 -19
  382. package/dist/cjs/sparkle-quiz-container.cjs.entry.js +0 -47
  383. package/dist/cjs/sparkle-quiz-feedback_5.cjs.entry.js +0 -117
  384. package/dist/cjs/sparkle-quiz-old.cjs.entry.js +0 -120
  385. package/dist/cjs/sparkle-quiz.cjs.entry.js +0 -103
  386. package/dist/cjs/sparkle-select.cjs.entry.js +0 -61
  387. package/dist/cjs/sparkle-sidebar.cjs.entry.js +0 -43
  388. package/dist/cjs/sparkle-tab.cjs.entry.js +0 -26
  389. package/dist/cjs/sparkle-table-of-contents.cjs.entry.js +0 -71
  390. package/dist/cjs/sparkle-tabs.cjs.entry.js +0 -66
  391. package/dist/cjs/sparkle-youtube.cjs.entry.js +0 -39
  392. package/dist/cjs/spinner-configs-0ac05f2d.js +0 -147
  393. package/dist/cjs/status-tap-033befa2.js +0 -42
  394. package/dist/cjs/stencil-async-content.cjs.entry.js +0 -32
  395. package/dist/cjs/stencil-route-title.cjs.entry.js +0 -32
  396. package/dist/cjs/stencil-router-prompt.cjs.entry.js +0 -59
  397. package/dist/cjs/student.service-7e5385be.js +0 -78
  398. package/dist/cjs/swipe-back-4a826f9b.js +0 -76
  399. package/dist/cjs/swiper.bundle-8c897c07.js +0 -6420
  400. package/dist/cjs/theme-b0b295c1.js +0 -48
  401. package/dist/cjs/token.service-7a41953d.js +0 -97
  402. package/dist/cjs/util-47e320b2.js +0 -2462
  403. package/dist/collection/PrivateRoute.js +0 -27
  404. package/dist/collection/appconst.js +0 -13
  405. package/dist/collection/assets/img/forward.svg +0 -5
  406. package/dist/collection/assets/img/help/fitt-logo.svg +0 -1
  407. package/dist/collection/assets/img/home/big-white-wall.svg +0 -15
  408. package/dist/collection/assets/img/home/find-help.svg +0 -23
  409. package/dist/collection/assets/img/home/lessons.svg +0 -26
  410. package/dist/collection/assets/img/home/my-goals.svg +0 -19
  411. package/dist/collection/assets/img/home/my-health.svg +0 -17
  412. package/dist/collection/assets/img/home/my-mood.svg +0 -26
  413. package/dist/collection/assets/img/pause.svg +0 -5
  414. package/dist/collection/assets/img/play-symbol.svg +0 -8
  415. package/dist/collection/assets/img/play.svg +0 -4
  416. package/dist/collection/assets/img/rewind.svg +0 -5
  417. package/dist/collection/assets/lib/SignalRAspNetCoreHelper.js +0 -17
  418. package/dist/collection/assets/lib/sparkleUtility.js +0 -8
  419. package/dist/collection/assets/svg/profile.svg +0 -2
  420. package/dist/collection/collection-manifest.json +0 -218
  421. package/dist/collection/components/compass-svg/compass-svg.css +0 -15
  422. package/dist/collection/components/compass-svg/compass-svg.js +0 -156
  423. package/dist/collection/components/layout/facilitator/export-lessons/export-lessons.css +0 -7
  424. package/dist/collection/components/layout/facilitator/export-lessons/export-lessons.js +0 -110
  425. package/dist/collection/components/layout/facilitator/facilitator-dashboard/facilitator-dashboard.css +0 -3
  426. package/dist/collection/components/layout/facilitator/facilitator-dashboard/facilitator-dashboard.js +0 -214
  427. package/dist/collection/components/layout/facilitator/facilitator-header/facilitator-header-mobile-collapse/facilitator-header-mobile-collapse.js +0 -0
  428. package/dist/collection/components/layout/facilitator/facilitator-header/facilitator-header.css +0 -172
  429. package/dist/collection/components/layout/facilitator/facilitator-header/facilitator-header.js +0 -104
  430. package/dist/collection/components/layout/facilitator/facilitator-notes/facilitator-notes-form/facilitator-notes-form.css +0 -3
  431. package/dist/collection/components/layout/facilitator/facilitator-notes/facilitator-notes-form/facilitator-notes-form.js +0 -144
  432. package/dist/collection/components/layout/facilitator/facilitator-notes/facilitator-notes.css +0 -14
  433. package/dist/collection/components/layout/facilitator/facilitator-notes/facilitator-notes.js +0 -64
  434. package/dist/collection/components/layout/facilitator/facilitator-page.css +0 -196
  435. package/dist/collection/components/layout/facilitator/facilitator-page.js +0 -281
  436. package/dist/collection/components/layout/facilitator/online-students/online-students.css +0 -0
  437. package/dist/collection/components/layout/facilitator/online-students/online-students.js +0 -70
  438. package/dist/collection/components/layout/page/page.css +0 -183
  439. package/dist/collection/components/layout/page/page.js +0 -321
  440. package/dist/collection/components/layout/page/templates/default.js +0 -9
  441. package/dist/collection/components/layout/page/templates/error.js +0 -33
  442. package/dist/collection/components/layout/page/templates/index.js +0 -8
  443. package/dist/collection/components/layout/page/templates/pdf.js +0 -8
  444. package/dist/collection/components/layout/page/to-hypertext.js +0 -27
  445. package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goal-form/sparkle-goal-form.css +0 -3
  446. package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goal-form/sparkle-goal-form.js +0 -252
  447. package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goal-item/sparkle-goal-item.css +0 -12
  448. package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goal-item/sparkle-goal-item.js +0 -59
  449. package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goal-progress/sparkle-goal-progress.css +0 -33
  450. package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goal-progress/sparkle-goal-progress.js +0 -37
  451. package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goals.css +0 -8
  452. package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goals.js +0 -40
  453. package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww-comment-list/sparkle-gww-comment-list.css +0 -7
  454. package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww-comment-list/sparkle-gww-comment-list.js +0 -52
  455. package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww-graph/sparkle-gww-graph.css +0 -3
  456. package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww-graph/sparkle-gww-graph.js +0 -14
  457. package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww-item/sparkle-gww-item.css +0 -30
  458. package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww-item/sparkle-gww-item.js +0 -187
  459. package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww.css +0 -3
  460. package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww.js +0 -43
  461. package/dist/collection/components/mini-apps/sparkle-health/sparkle-health.css +0 -10
  462. package/dist/collection/components/mini-apps/sparkle-health/sparkle-health.js +0 -111
  463. package/dist/collection/components/mini-apps/sparkle-mood/sparkle-mood.css +0 -11
  464. package/dist/collection/components/mini-apps/sparkle-mood/sparkle-mood.js +0 -127
  465. package/dist/collection/components/modal-image/modal-image.css +0 -61
  466. package/dist/collection/components/modal-image/modal-image.js +0 -159
  467. package/dist/collection/components/sparkle-animation-player/assets/play-button-disabled-overlay.png +0 -0
  468. package/dist/collection/components/sparkle-animation-player/assets/play-button-overlay.png +0 -0
  469. package/dist/collection/components/sparkle-animation-player/caption-parser.js +0 -94
  470. package/dist/collection/components/sparkle-animation-player/sparkle-animation-player.css +0 -157
  471. package/dist/collection/components/sparkle-animation-player/sparkle-animation-player.js +0 -598
  472. package/dist/collection/components/sparkle-assignment/sparkle-assignment.css +0 -30
  473. package/dist/collection/components/sparkle-assignment/sparkle-assignment.js +0 -159
  474. package/dist/collection/components/sparkle-character-intro/assets/characters/character-img.jpg +0 -0
  475. package/dist/collection/components/sparkle-character-intro/assets/characters/jen.png +0 -0
  476. package/dist/collection/components/sparkle-character-intro/assets/characters/kimberly.png +0 -0
  477. package/dist/collection/components/sparkle-character-intro/assets/characters/valeria.png +0 -0
  478. package/dist/collection/components/sparkle-character-intro/assets/characters/yuna.png +0 -0
  479. package/dist/collection/components/sparkle-character-intro/assets/characters/zynab.png +0 -0
  480. package/dist/collection/components/sparkle-character-intro/sparkle-character-intro.css +0 -74
  481. package/dist/collection/components/sparkle-character-intro/sparkle-character-intro.js +0 -68
  482. package/dist/collection/components/sparkle-compass/sparkle-compass-post/sparkle-compass-post.css +0 -35
  483. package/dist/collection/components/sparkle-compass/sparkle-compass-post/sparkle-compass-post.js +0 -171
  484. package/dist/collection/components/sparkle-compass/sparkle-compass.css +0 -25
  485. package/dist/collection/components/sparkle-compass/sparkle-compass.js +0 -283
  486. package/dist/collection/components/sparkle-course-root/sparkle-course-root.css +0 -3
  487. package/dist/collection/components/sparkle-course-root/sparkle-course-root.js +0 -196
  488. package/dist/collection/components/sparkle-discussion/sparkle-discussion-questions/sparkle-discussion-questions.css +0 -157
  489. package/dist/collection/components/sparkle-discussion/sparkle-discussion-questions/sparkle-discussion-questions.js +0 -232
  490. package/dist/collection/components/sparkle-discussion/sparkle-discussion-results/sparkle-discussion-results.css +0 -158
  491. package/dist/collection/components/sparkle-discussion/sparkle-discussion-results/sparkle-discussion-results.js +0 -274
  492. package/dist/collection/components/sparkle-discussion/sparkle-discussion.css +0 -5
  493. package/dist/collection/components/sparkle-discussion/sparkle-discussion.js +0 -112
  494. package/dist/collection/components/sparkle-emoji/sparkle-emoji.css +0 -16
  495. package/dist/collection/components/sparkle-emoji/sparkle-emoji.js +0 -116
  496. package/dist/collection/components/sparkle-feed-post/sparkle-feed-post.css +0 -35
  497. package/dist/collection/components/sparkle-feed-post/sparkle-feed-post.js +0 -193
  498. package/dist/collection/components/sparkle-feedback/sparkle-feedback.css +0 -3
  499. package/dist/collection/components/sparkle-feedback/sparkle-feedback.js +0 -118
  500. package/dist/collection/components/sparkle-file-upload/sparkle-file-upload.css +0 -0
  501. package/dist/collection/components/sparkle-file-upload/sparkle-file-upload.js +0 -105
  502. package/dist/collection/components/sparkle-forgot-password/sparkle-forgot-password.css +0 -4
  503. package/dist/collection/components/sparkle-forgot-password/sparkle-forgot-password.js +0 -107
  504. package/dist/collection/components/sparkle-input/sparkle-input.css +0 -0
  505. package/dist/collection/components/sparkle-input/sparkle-input.js +0 -212
  506. package/dist/collection/components/sparkle-intro/sparkle-intro.css +0 -15
  507. package/dist/collection/components/sparkle-intro/sparkle-intro.js +0 -35
  508. package/dist/collection/components/sparkle-login/sparkle-login.css +0 -4
  509. package/dist/collection/components/sparkle-login/sparkle-login.js +0 -173
  510. package/dist/collection/components/sparkle-poll/sparkle-poll.css +0 -3
  511. package/dist/collection/components/sparkle-poll/sparkle-poll.js +0 -15
  512. package/dist/collection/components/sparkle-quiz/sparkle-quiz-feedback/sparkle-quiz-feedback.css +0 -3
  513. package/dist/collection/components/sparkle-quiz/sparkle-quiz-feedback/sparkle-quiz-feedback.js +0 -69
  514. package/dist/collection/components/sparkle-quiz/sparkle-quiz-input/sparkle-quiz-input.css +0 -3
  515. package/dist/collection/components/sparkle-quiz/sparkle-quiz-input/sparkle-quiz-input.js +0 -59
  516. package/dist/collection/components/sparkle-quiz/sparkle-quiz-old/sparkle-quiz-old.css +0 -48
  517. package/dist/collection/components/sparkle-quiz/sparkle-quiz-old/sparkle-quiz-old.js +0 -327
  518. package/dist/collection/components/sparkle-quiz/sparkle-quiz-opinion/sparkle-quiz-opinion.css +0 -18
  519. package/dist/collection/components/sparkle-quiz/sparkle-quiz-opinion/sparkle-quiz-opinion.js +0 -106
  520. package/dist/collection/components/sparkle-quiz/sparkle-quiz-poll/sparkle-quiz-poll.css +0 -3
  521. package/dist/collection/components/sparkle-quiz/sparkle-quiz-poll/sparkle-quiz-poll.js +0 -59
  522. package/dist/collection/components/sparkle-quiz/sparkle-quiz-select/sparkle-quiz-select.css +0 -3
  523. package/dist/collection/components/sparkle-quiz/sparkle-quiz-select/sparkle-quiz-select.js +0 -100
  524. package/dist/collection/components/sparkle-quiz/sparkle-quiz.css +0 -48
  525. package/dist/collection/components/sparkle-quiz/sparkle-quiz.js +0 -221
  526. package/dist/collection/components/sparkle-quiz-container/sparkle-quiz-container.css +0 -3
  527. package/dist/collection/components/sparkle-quiz-container/sparkle-quiz-container.js +0 -98
  528. package/dist/collection/components/sparkle-reset-password/sparkle-reset-password.css +0 -3
  529. package/dist/collection/components/sparkle-reset-password/sparkle-reset-password.js +0 -126
  530. package/dist/collection/components/sparkle-root/sparkle-root.css +0 -61
  531. package/dist/collection/components/sparkle-root/sparkle-root.js +0 -86
  532. package/dist/collection/components/sparkle-signup/sparkle-signup.css +0 -6
  533. package/dist/collection/components/sparkle-signup/sparkle-signup.js +0 -197
  534. package/dist/collection/components/sparkle-unauthorized/sparkle-unauthorized.css +0 -13
  535. package/dist/collection/components/sparkle-unauthorized/sparkle-unauthorized.js +0 -18
  536. package/dist/collection/components/sparkle-user-enrollment/sparkle-user-enrollment.css +0 -3
  537. package/dist/collection/components/sparkle-user-enrollment/sparkle-user-enrollment.js +0 -93
  538. package/dist/collection/components/sparkle-user-profile/sparkle-user-profile.css +0 -54
  539. package/dist/collection/components/sparkle-user-profile/sparkle-user-profile.js +0 -151
  540. package/dist/collection/components/sparkle-validation-error/sparkle-validation-error.css +0 -11
  541. package/dist/collection/components/sparkle-validation-error/sparkle-validation-error.js +0 -44
  542. package/dist/collection/components/sparkle-youtube/sparkle-youtube.css +0 -24
  543. package/dist/collection/components/sparkle-youtube/sparkle-youtube.js +0 -99
  544. package/dist/collection/global/app.js +0 -4
  545. package/dist/collection/helpers/utils.js +0 -3
  546. package/dist/collection/icons.js +0 -36
  547. package/dist/collection/index.js +0 -3
  548. package/dist/collection/l10n.js +0 -18
  549. package/dist/collection/models/api.model.js +0 -7
  550. package/dist/collection/models/assets.model.js +0 -1
  551. package/dist/collection/models/auth/auth.user.js +0 -1
  552. package/dist/collection/models/class.model.js +0 -5
  553. package/dist/collection/models/course.model.js +0 -10
  554. package/dist/collection/models/definitions.js +0 -1
  555. package/dist/collection/models/facilitator-dashboard.model.js +0 -5
  556. package/dist/collection/models/goal.model.js +0 -1
  557. package/dist/collection/models/index.js +0 -1
  558. package/dist/collection/models/markdown.model.js +0 -1
  559. package/dist/collection/models/page.model.js +0 -1
  560. package/dist/collection/models/quiz.model.js +0 -3
  561. package/dist/collection/models/user.model.js +0 -1
  562. package/dist/collection/pages/course/welcome-to-mind-body/introduction/animation/m4l1p1_part1.js +0 -2727
  563. package/dist/collection/pages/course/welcome-to-mind-body/introduction/animation/m4l1p1_part2.js +0 -2042
  564. package/dist/collection/services/account.service.js +0 -61
  565. package/dist/collection/services/appdata.service.js +0 -60
  566. package/dist/collection/services/assignment.service.js +0 -14
  567. package/dist/collection/services/auth/auth.service.js +0 -64
  568. package/dist/collection/services/core/assets.service.js +0 -45
  569. package/dist/collection/services/core/localstorage.service.js +0 -34
  570. package/dist/collection/services/environment/environment-config.js +0 -24
  571. package/dist/collection/services/environment/environment-config.service.js +0 -24
  572. package/dist/collection/services/facilitator.service.js +0 -76
  573. package/dist/collection/services/feed.service.js +0 -43
  574. package/dist/collection/services/httpService.js +0 -103
  575. package/dist/collection/services/index.js +0 -4
  576. package/dist/collection/services/media.service.js +0 -29
  577. package/dist/collection/services/signalR.service.js +0 -83
  578. package/dist/collection/services/store.service.js +0 -13
  579. package/dist/collection/services/student.service.js +0 -56
  580. package/dist/collection/services/token.service.js +0 -79
  581. package/dist/collection/stores/auth.store.js +0 -12
  582. package/dist/collection/stores/class.store.js +0 -5
  583. package/dist/collection/stores/error.store.js +0 -5
  584. package/dist/collection/stores/facilitator.store.js +0 -15
  585. package/dist/collection/stores/feed.store.js +0 -8
  586. package/dist/collection/stores/goal.store.js +0 -7
  587. package/dist/collection/stores/index.js +0 -1
  588. package/dist/collection/stores/media.store.js +0 -5
  589. package/dist/collection/stores/mood.store.js +0 -5
  590. package/dist/collection/stores/nav.store.js +0 -11
  591. package/dist/collection/stores/signalR.store.js +0 -6
  592. package/dist/collection/stores/theme.store.js +0 -9
  593. package/dist/collection/stores/toc.store.js +0 -5
  594. package/dist/collection/stores/user.store.js +0 -16
  595. package/dist/collection/util.js +0 -55
  596. package/dist/collection/utils.js +0 -92
  597. package/dist/esm/PrivateRoute-90ac95b8.js +0 -212
  598. package/dist/esm/active-router-fc9e4e06.js +0 -73
  599. package/dist/esm/animation-12377cb3.js +0 -984
  600. package/dist/esm/app-globals-3f0347b0.js +0 -7
  601. package/dist/esm/appdata.service-2e84e167.js +0 -70
  602. package/dist/esm/assets.service-def1d63c.js +0 -48
  603. package/dist/esm/assignment.service-8d31f141.js +0 -17
  604. package/dist/esm/auth.store-dba2c2da.js +0 -3381
  605. package/dist/esm/compass-svg.entry.js +0 -128
  606. package/dist/esm/context-consumer.entry.js +0 -25
  607. package/dist/esm/course-select.entry.js +0 -26
  608. package/dist/esm/dir-03012648.js +0 -18
  609. package/dist/esm/environment-config.service-b191f276.js +0 -26
  610. package/dist/esm/facilitator.service-18c47bdf.js +0 -92
  611. package/dist/esm/feed.service-b4f3cae4.js +0 -54
  612. package/dist/esm/framework-delegate-3e634a5c.js +0 -107
  613. package/dist/esm/gesture-controller-7be18351.js +0 -194
  614. package/dist/esm/haptic-522f76f2.js +0 -110
  615. package/dist/esm/header-mobile-collapse_61.entry.js +0 -15060
  616. package/dist/esm/helpers-bf0e23d6.js +0 -403
  617. package/dist/esm/httpService-7986aeed.js +0 -685
  618. package/dist/esm/icons-1c794c74.js +0 -18
  619. package/dist/esm/index-21661af2.js +0 -463
  620. package/dist/esm/index-2b84cad2.js +0 -223
  621. package/dist/esm/index-4044fde9.js +0 -25
  622. package/dist/esm/index-45fec1e7.js +0 -184
  623. package/dist/esm/index-5e8971ae.js +0 -128
  624. package/dist/esm/index-c04b9ed5.js +0 -1888
  625. package/dist/esm/index-cded2d87.js +0 -312
  626. package/dist/esm/index-dad75b83.js +0 -34
  627. package/dist/esm/index.es-e0c0f891.js +0 -10580
  628. package/dist/esm/index.js +0 -12
  629. package/dist/esm/input-shims-671d8d9f.js +0 -416
  630. package/dist/esm/ion-accordion-group.entry.js +0 -201
  631. package/dist/esm/ion-accordion.entry.js +0 -332
  632. package/dist/esm/ion-action-sheet_7.entry.js +0 -2925
  633. package/dist/esm/ion-app.entry.js +0 -75
  634. package/dist/esm/ion-back-button.entry.js +0 -90
  635. package/dist/esm/ion-backdrop.entry.js +0 -63
  636. package/dist/esm/ion-badge.entry.js +0 -25
  637. package/dist/esm/ion-breadcrumb.entry.js +0 -91
  638. package/dist/esm/ion-breadcrumbs.entry.js +0 -129
  639. package/dist/esm/ion-buttons_3.entry.js +0 -147
  640. package/dist/esm/ion-card-header.entry.js +0 -33
  641. package/dist/esm/ion-card-subtitle.entry.js +0 -26
  642. package/dist/esm/ion-card-title.entry.js +0 -26
  643. package/dist/esm/ion-chip.entry.js +0 -36
  644. package/dist/esm/ion-content_2.entry.js +0 -654
  645. package/dist/esm/ion-datetime-button.entry.js +0 -308
  646. package/dist/esm/ion-datetime.entry.js +0 -1619
  647. package/dist/esm/ion-fab-button.entry.js +0 -104
  648. package/dist/esm/ion-fab-list.entry.js +0 -41
  649. package/dist/esm/ion-fab.entry.js +0 -72
  650. package/dist/esm/ion-footer.entry.js +0 -116
  651. package/dist/esm/ion-img.entry.js +0 -97
  652. package/dist/esm/ion-infinite-scroll-content.entry.js +0 -33
  653. package/dist/esm/ion-infinite-scroll.entry.js +0 -202
  654. package/dist/esm/ion-item-divider.entry.js +0 -36
  655. package/dist/esm/ion-item-group.entry.js +0 -27
  656. package/dist/esm/ion-item-option.entry.js +0 -56
  657. package/dist/esm/ion-item-options.entry.js +0 -43
  658. package/dist/esm/ion-item-sliding.entry.js +0 -394
  659. package/dist/esm/ion-loading.entry.js +0 -211
  660. package/dist/esm/ion-menu-button.entry.js +0 -72
  661. package/dist/esm/ion-menu-toggle.entry.js +0 -43
  662. package/dist/esm/ion-menu.entry.js +0 -571
  663. package/dist/esm/ion-modal.entry.js +0 -1707
  664. package/dist/esm/ion-nav-link.entry.js +0 -43
  665. package/dist/esm/ion-nav.entry.js +0 -868
  666. package/dist/esm/ion-picker-column-internal_2.entry.js +0 -803
  667. package/dist/esm/ion-picker-column.entry.js +0 -327
  668. package/dist/esm/ion-picker.entry.js +0 -217
  669. package/dist/esm/ion-progress-bar.entry.js +0 -70
  670. package/dist/esm/ion-refresher-content.entry.js +0 -31
  671. package/dist/esm/ion-refresher.entry.js +0 -798
  672. package/dist/esm/ion-reorder-group.entry.js +0 -277
  673. package/dist/esm/ion-reorder.entry.js +0 -34
  674. package/dist/esm/ion-route-redirect.entry.js +0 -20
  675. package/dist/esm/ion-route.entry.js +0 -45
  676. package/dist/esm/ion-router-link.entry.js +0 -34
  677. package/dist/esm/ion-router-outlet.entry.js +0 -196
  678. package/dist/esm/ion-router.entry.js +0 -827
  679. package/dist/esm/ion-searchbar.entry.js +0 -366
  680. package/dist/esm/ion-segment-button.entry.js +0 -98
  681. package/dist/esm/ion-segment.entry.js +0 -413
  682. package/dist/esm/ion-skeleton-text.entry.js +0 -29
  683. package/dist/esm/ion-slide.entry.js +0 -21
  684. package/dist/esm/ion-slides.entry.js +0 -387
  685. package/dist/esm/ion-split-pane.entry.js +0 -150
  686. package/dist/esm/ion-tab-bar.entry.js +0 -71
  687. package/dist/esm/ion-tab-button.entry.js +0 -99
  688. package/dist/esm/ion-tab.entry.js +0 -55
  689. package/dist/esm/ion-tabs.entry.js +0 -150
  690. package/dist/esm/ion-thumbnail.entry.js +0 -16
  691. package/dist/esm/ion-toast.entry.js +0 -268
  692. package/dist/esm/ion-toggle.entry.js +0 -173
  693. package/dist/esm/ion-virtual-scroll.entry.js +0 -551
  694. package/dist/esm/ionic-global-4903e23e.js +0 -226
  695. package/dist/esm/ios.transition-131d64fe.js +0 -479
  696. package/dist/esm/loader.js +0 -20
  697. package/dist/esm/md.transition-f6126011.js +0 -55
  698. package/dist/esm/media.service-6e90bc41.js +0 -37
  699. package/dist/esm/menu-toggle-util-bace8ae6.js +0 -12
  700. package/dist/esm/overlays-4233a39d.js +0 -491
  701. package/dist/esm/parse-1ae3a9bb.js +0 -1196
  702. package/dist/esm/polyfills/core-js.js +0 -11
  703. package/dist/esm/polyfills/css-shim.js +0 -1
  704. package/dist/esm/polyfills/dom.js +0 -79
  705. package/dist/esm/polyfills/es5-html-element.js +0 -1
  706. package/dist/esm/polyfills/index.js +0 -34
  707. package/dist/esm/polyfills/system.js +0 -6
  708. package/dist/esm/purify-85bfcc69.js +0 -1466
  709. package/dist/esm/signalR.service-c33fba50.js +0 -2982
  710. package/dist/esm/sparkle-animation-player.entry.js +0 -511
  711. package/dist/esm/sparkle-assignment.entry.js +0 -106
  712. package/dist/esm/sparkle-character-intro.entry.js +0 -22
  713. package/dist/esm/sparkle-code.entry.js +0 -39
  714. package/dist/esm/sparkle-compass-post.entry.js +0 -129
  715. package/dist/esm/sparkle-compass.entry.js +0 -122
  716. package/dist/esm/sparkle-core.js +0 -20
  717. package/dist/esm/sparkle-discussion-questions_2.entry.js +0 -276
  718. package/dist/esm/sparkle-discussion.entry.js +0 -38
  719. package/dist/esm/sparkle-emoji.entry.js +0 -76
  720. package/dist/esm/sparkle-facilitator-notes-form.entry.js +0 -117
  721. package/dist/esm/sparkle-feed-post.entry.js +0 -112
  722. package/dist/esm/sparkle-feedback.entry.js +0 -97
  723. package/dist/esm/sparkle-file-upload.entry.js +0 -49
  724. package/dist/esm/sparkle-goal-form.entry.js +0 -175
  725. package/dist/esm/sparkle-gww-comment-list.entry.js +0 -22
  726. package/dist/esm/sparkle-gww-graph.entry.js +0 -15
  727. package/dist/esm/sparkle-input.entry.js +0 -52
  728. package/dist/esm/sparkle-intro.entry.js +0 -22
  729. package/dist/esm/sparkle-lower-content-nav.entry.js +0 -18
  730. package/dist/esm/sparkle-menu-collapsible.entry.js +0 -42
  731. package/dist/esm/sparkle-modal-image.entry.js +0 -30
  732. package/dist/esm/sparkle-notfound-page.entry.js +0 -21
  733. package/dist/esm/sparkle-overlay.entry.js +0 -88
  734. package/dist/esm/sparkle-poll.entry.js +0 -15
  735. package/dist/esm/sparkle-quiz-container.entry.js +0 -43
  736. package/dist/esm/sparkle-quiz-feedback_5.entry.js +0 -109
  737. package/dist/esm/sparkle-quiz-old.entry.js +0 -116
  738. package/dist/esm/sparkle-quiz.entry.js +0 -99
  739. package/dist/esm/sparkle-select.entry.js +0 -57
  740. package/dist/esm/sparkle-sidebar.entry.js +0 -39
  741. package/dist/esm/sparkle-tab.entry.js +0 -22
  742. package/dist/esm/sparkle-table-of-contents.entry.js +0 -67
  743. package/dist/esm/sparkle-tabs.entry.js +0 -62
  744. package/dist/esm/sparkle-youtube.entry.js +0 -35
  745. package/dist/esm/status-tap-dde52787.js +0 -40
  746. package/dist/esm/stencil-async-content.entry.js +0 -28
  747. package/dist/esm/stencil-route-title.entry.js +0 -28
  748. package/dist/esm/stencil-router-prompt.entry.js +0 -55
  749. package/dist/esm/student.service-08af124f.js +0 -75
  750. package/dist/esm/swipe-back-7847a0c1.js +0 -74
  751. package/dist/esm/swiper.bundle-b6a959de.js +0 -6418
  752. package/dist/esm/token.service-71a5d33f.js +0 -94
  753. package/dist/esm/util-57cc8006.js +0 -2451
  754. package/dist/index.cjs.js +0 -1
  755. package/dist/index.js +0 -1
  756. package/dist/loader/cdn.js +0 -3
  757. package/dist/loader/index.cjs.js +0 -3
  758. package/dist/loader/index.d.ts +0 -12
  759. package/dist/loader/index.es2017.js +0 -3
  760. package/dist/loader/index.js +0 -4
  761. package/dist/loader/package.json +0 -10
  762. package/dist/node_modules/@ionic/core/dist/collection/components/accordion/accordion.ios.css +0 -75
  763. package/dist/node_modules/@ionic/core/dist/collection/components/accordion/accordion.md.css +0 -72
  764. package/dist/node_modules/@ionic/core/dist/collection/components/accordion-group/accordion-group.ios.css +0 -25
  765. package/dist/node_modules/@ionic/core/dist/collection/components/accordion-group/accordion-group.md.css +0 -59
  766. package/dist/node_modules/@ionic/core/dist/collection/components/action-sheet/action-sheet.ios.css +0 -357
  767. package/dist/node_modules/@ionic/core/dist/collection/components/action-sheet/action-sheet.md.css +0 -290
  768. package/dist/node_modules/@ionic/core/dist/collection/components/alert/alert.ios.css +0 -494
  769. package/dist/node_modules/@ionic/core/dist/collection/components/alert/alert.md.css +0 -502
  770. package/dist/node_modules/@ionic/core/dist/collection/components/app/app.css +0 -17
  771. package/dist/node_modules/@ionic/core/dist/collection/components/avatar/avatar.ios.css +0 -22
  772. package/dist/node_modules/@ionic/core/dist/collection/components/avatar/avatar.md.css +0 -22
  773. package/dist/node_modules/@ionic/core/dist/collection/components/back-button/back-button.ios.css +0 -281
  774. package/dist/node_modules/@ionic/core/dist/collection/components/back-button/back-button.md.css +0 -309
  775. package/dist/node_modules/@ionic/core/dist/collection/components/backdrop/backdrop.ios.css +0 -26
  776. package/dist/node_modules/@ionic/core/dist/collection/components/backdrop/backdrop.md.css +0 -26
  777. package/dist/node_modules/@ionic/core/dist/collection/components/badge/badge.ios.css +0 -58
  778. package/dist/node_modules/@ionic/core/dist/collection/components/badge/badge.md.css +0 -62
  779. package/dist/node_modules/@ionic/core/dist/collection/components/breadcrumb/breadcrumb.ios.css +0 -234
  780. package/dist/node_modules/@ionic/core/dist/collection/components/breadcrumb/breadcrumb.md.css +0 -237
  781. package/dist/node_modules/@ionic/core/dist/collection/components/breadcrumbs/breadcrumbs.ios.css +0 -38
  782. package/dist/node_modules/@ionic/core/dist/collection/components/breadcrumbs/breadcrumbs.md.css +0 -37
  783. package/dist/node_modules/@ionic/core/dist/collection/components/button/button.ios.css +0 -439
  784. package/dist/node_modules/@ionic/core/dist/collection/components/button/button.md.css +0 -428
  785. package/dist/node_modules/@ionic/core/dist/collection/components/buttons/buttons.ios.css +0 -128
  786. package/dist/node_modules/@ionic/core/dist/collection/components/buttons/buttons.md.css +0 -151
  787. package/dist/node_modules/@ionic/core/dist/collection/components/card/card.ios.css +0 -101
  788. package/dist/node_modules/@ionic/core/dist/collection/components/card/card.md.css +0 -95
  789. package/dist/node_modules/@ionic/core/dist/collection/components/card-content/card-content.ios.css +0 -61
  790. package/dist/node_modules/@ionic/core/dist/collection/components/card-content/card-content.md.css +0 -63
  791. package/dist/node_modules/@ionic/core/dist/collection/components/card-header/card-header.ios.css +0 -37
  792. package/dist/node_modules/@ionic/core/dist/collection/components/card-header/card-header.md.css +0 -35
  793. package/dist/node_modules/@ionic/core/dist/collection/components/card-subtitle/card-subtitle.ios.css +0 -28
  794. package/dist/node_modules/@ionic/core/dist/collection/components/card-subtitle/card-subtitle.md.css +0 -26
  795. package/dist/node_modules/@ionic/core/dist/collection/components/card-title/card-title.ios.css +0 -27
  796. package/dist/node_modules/@ionic/core/dist/collection/components/card-title/card-title.md.css +0 -27
  797. package/dist/node_modules/@ionic/core/dist/collection/components/checkbox/checkbox.ios.css +0 -169
  798. package/dist/node_modules/@ionic/core/dist/collection/components/checkbox/checkbox.md.css +0 -172
  799. package/dist/node_modules/@ionic/core/dist/collection/components/chip/chip.ios.css +0 -200
  800. package/dist/node_modules/@ionic/core/dist/collection/components/chip/chip.md.css +0 -200
  801. package/dist/node_modules/@ionic/core/dist/collection/components/col/col.css +0 -108
  802. package/dist/node_modules/@ionic/core/dist/collection/components/content/content.css +0 -237
  803. package/dist/node_modules/@ionic/core/dist/collection/components/datetime/datetime.ios.css +0 -648
  804. package/dist/node_modules/@ionic/core/dist/collection/components/datetime/datetime.md.css +0 -637
  805. package/dist/node_modules/@ionic/core/dist/collection/components/datetime-button/datetime-button.css +0 -60
  806. package/dist/node_modules/@ionic/core/dist/collection/components/fab/fab.css +0 -61
  807. package/dist/node_modules/@ionic/core/dist/collection/components/fab-button/fab-button.ios.css +0 -338
  808. package/dist/node_modules/@ionic/core/dist/collection/components/fab-button/fab-button.md.css +0 -307
  809. package/dist/node_modules/@ionic/core/dist/collection/components/fab-list/fab-list.css +0 -116
  810. package/dist/node_modules/@ionic/core/dist/collection/components/footer/footer.ios.css +0 -37
  811. package/dist/node_modules/@ionic/core/dist/collection/components/footer/footer.md.css +0 -37
  812. package/dist/node_modules/@ionic/core/dist/collection/components/grid/grid.css +0 -151
  813. package/dist/node_modules/@ionic/core/dist/collection/components/header/header.ios.css +0 -108
  814. package/dist/node_modules/@ionic/core/dist/collection/components/header/header.md.css +0 -40
  815. package/dist/node_modules/@ionic/core/dist/collection/components/img/img.css +0 -12
  816. package/dist/node_modules/@ionic/core/dist/collection/components/infinite-scroll/infinite-scroll.css +0 -8
  817. package/dist/node_modules/@ionic/core/dist/collection/components/infinite-scroll-content/infinite-scroll-content.ios.css +0 -54
  818. package/dist/node_modules/@ionic/core/dist/collection/components/infinite-scroll-content/infinite-scroll-content.md.css +0 -54
  819. package/dist/node_modules/@ionic/core/dist/collection/components/input/input.ios.css +0 -185
  820. package/dist/node_modules/@ionic/core/dist/collection/components/input/input.md.css +0 -185
  821. package/dist/node_modules/@ionic/core/dist/collection/components/item/item.ios.css +0 -669
  822. package/dist/node_modules/@ionic/core/dist/collection/components/item/item.md.css +0 -928
  823. package/dist/node_modules/@ionic/core/dist/collection/components/item-divider/item-divider.ios.css +0 -204
  824. package/dist/node_modules/@ionic/core/dist/collection/components/item-divider/item-divider.md.css +0 -297
  825. package/dist/node_modules/@ionic/core/dist/collection/components/item-group/item-group.ios.css +0 -3
  826. package/dist/node_modules/@ionic/core/dist/collection/components/item-group/item-group.md.css +0 -3
  827. package/dist/node_modules/@ionic/core/dist/collection/components/item-option/item-option.ios.css +0 -186
  828. package/dist/node_modules/@ionic/core/dist/collection/components/item-option/item-option.md.css +0 -180
  829. package/dist/node_modules/@ionic/core/dist/collection/components/item-options/item-options.ios.css +0 -88
  830. package/dist/node_modules/@ionic/core/dist/collection/components/item-options/item-options.md.css +0 -85
  831. package/dist/node_modules/@ionic/core/dist/collection/components/item-sliding/item-sliding.css +0 -42
  832. package/dist/node_modules/@ionic/core/dist/collection/components/label/label.ios.css +0 -156
  833. package/dist/node_modules/@ionic/core/dist/collection/components/label/label.md.css +0 -250
  834. package/dist/node_modules/@ionic/core/dist/collection/components/list/list.ios.css +0 -91
  835. package/dist/node_modules/@ionic/core/dist/collection/components/list/list.md.css +0 -114
  836. package/dist/node_modules/@ionic/core/dist/collection/components/list-header/list-header.ios.css +0 -118
  837. package/dist/node_modules/@ionic/core/dist/collection/components/list-header/list-header.md.css +0 -94
  838. package/dist/node_modules/@ionic/core/dist/collection/components/loading/loading.ios.css +0 -109
  839. package/dist/node_modules/@ionic/core/dist/collection/components/loading/loading.md.css +0 -100
  840. package/dist/node_modules/@ionic/core/dist/collection/components/menu/menu.ios.css +0 -127
  841. package/dist/node_modules/@ionic/core/dist/collection/components/menu/menu.md.css +0 -123
  842. package/dist/node_modules/@ionic/core/dist/collection/components/menu-button/menu-button.ios.css +0 -175
  843. package/dist/node_modules/@ionic/core/dist/collection/components/menu-button/menu-button.md.css +0 -178
  844. package/dist/node_modules/@ionic/core/dist/collection/components/menu-toggle/menu-toggle.css +0 -3
  845. package/dist/node_modules/@ionic/core/dist/collection/components/modal/modal.ios.css +0 -250
  846. package/dist/node_modules/@ionic/core/dist/collection/components/modal/modal.md.css +0 -177
  847. package/dist/node_modules/@ionic/core/dist/collection/components/nav/nav.css +0 -10
  848. package/dist/node_modules/@ionic/core/dist/collection/components/note/note.ios.css +0 -16
  849. package/dist/node_modules/@ionic/core/dist/collection/components/note/note.md.css +0 -17
  850. package/dist/node_modules/@ionic/core/dist/collection/components/picker/picker.ios.css +0 -217
  851. package/dist/node_modules/@ionic/core/dist/collection/components/picker/picker.md.css +0 -204
  852. package/dist/node_modules/@ionic/core/dist/collection/components/picker-column/picker-column.ios.css +0 -122
  853. package/dist/node_modules/@ionic/core/dist/collection/components/picker-column/picker-column.md.css +0 -123
  854. package/dist/node_modules/@ionic/core/dist/collection/components/picker-column-internal/picker-column-internal.ios.css +0 -82
  855. package/dist/node_modules/@ionic/core/dist/collection/components/picker-column-internal/picker-column-internal.md.css +0 -85
  856. package/dist/node_modules/@ionic/core/dist/collection/components/picker-internal/picker-internal.ios.css +0 -126
  857. package/dist/node_modules/@ionic/core/dist/collection/components/picker-internal/picker-internal.md.css +0 -122
  858. package/dist/node_modules/@ionic/core/dist/collection/components/popover/popover.ios.css +0 -201
  859. package/dist/node_modules/@ionic/core/dist/collection/components/popover/popover.md.css +0 -132
  860. package/dist/node_modules/@ionic/core/dist/collection/components/progress-bar/progress-bar.ios.css +0 -206
  861. package/dist/node_modules/@ionic/core/dist/collection/components/progress-bar/progress-bar.md.css +0 -206
  862. package/dist/node_modules/@ionic/core/dist/collection/components/radio/radio.ios.css +0 -177
  863. package/dist/node_modules/@ionic/core/dist/collection/components/radio/radio.md.css +0 -178
  864. package/dist/node_modules/@ionic/core/dist/collection/components/range/range.ios.css +0 -275
  865. package/dist/node_modules/@ionic/core/dist/collection/components/range/range.md.css +0 -320
  866. package/dist/node_modules/@ionic/core/dist/collection/components/refresher/refresher.ios.css +0 -189
  867. package/dist/node_modules/@ionic/core/dist/collection/components/refresher/refresher.md.css +0 -210
  868. package/dist/node_modules/@ionic/core/dist/collection/components/reorder/reorder.ios.css +0 -15
  869. package/dist/node_modules/@ionic/core/dist/collection/components/reorder/reorder.md.css +0 -15
  870. package/dist/node_modules/@ionic/core/dist/collection/components/reorder-group/reorder-group.css +0 -33
  871. package/dist/node_modules/@ionic/core/dist/collection/components/ripple-effect/ripple-effect.css +0 -58
  872. package/dist/node_modules/@ionic/core/dist/collection/components/router-link/router-link.css +0 -29
  873. package/dist/node_modules/@ionic/core/dist/collection/components/router-outlet/route-outlet.css +0 -10
  874. package/dist/node_modules/@ionic/core/dist/collection/components/row/row.css +0 -4
  875. package/dist/node_modules/@ionic/core/dist/collection/components/searchbar/searchbar.ios.css +0 -348
  876. package/dist/node_modules/@ionic/core/dist/collection/components/searchbar/searchbar.md.css +0 -279
  877. package/dist/node_modules/@ionic/core/dist/collection/components/segment/segment.ios.css +0 -65
  878. package/dist/node_modules/@ionic/core/dist/collection/components/segment/segment.md.css +0 -36
  879. package/dist/node_modules/@ionic/core/dist/collection/components/segment-button/segment-button.ios.css +0 -446
  880. package/dist/node_modules/@ionic/core/dist/collection/components/segment-button/segment-button.md.css +0 -424
  881. package/dist/node_modules/@ionic/core/dist/collection/components/select/select.ios.css +0 -145
  882. package/dist/node_modules/@ionic/core/dist/collection/components/select/select.md.css +0 -177
  883. package/dist/node_modules/@ionic/core/dist/collection/components/select-option/select-option.css +0 -3
  884. package/dist/node_modules/@ionic/core/dist/collection/components/select-popover/select-popover.ios.css +0 -14
  885. package/dist/node_modules/@ionic/core/dist/collection/components/select-popover/select-popover.md.css +0 -37
  886. package/dist/node_modules/@ionic/core/dist/collection/components/skeleton-text/skeleton-text.css +0 -53
  887. package/dist/node_modules/@ionic/core/dist/collection/components/slide/slide.css +0 -31
  888. package/dist/node_modules/@ionic/core/dist/collection/components/slides/slides.ios.css +0 -764
  889. package/dist/node_modules/@ionic/core/dist/collection/components/slides/slides.md.css +0 -764
  890. package/dist/node_modules/@ionic/core/dist/collection/components/spinner/spinner.css +0 -167
  891. package/dist/node_modules/@ionic/core/dist/collection/components/split-pane/split-pane.ios.css +0 -108
  892. package/dist/node_modules/@ionic/core/dist/collection/components/split-pane/split-pane.md.css +0 -108
  893. package/dist/node_modules/@ionic/core/dist/collection/components/tab/tab.css +0 -4
  894. package/dist/node_modules/@ionic/core/dist/collection/components/tab-bar/tab-bar.ios.css +0 -97
  895. package/dist/node_modules/@ionic/core/dist/collection/components/tab-bar/tab-bar.md.css +0 -82
  896. package/dist/node_modules/@ionic/core/dist/collection/components/tab-button/tab-button.ios.css +0 -308
  897. package/dist/node_modules/@ionic/core/dist/collection/components/tab-button/tab-button.md.css +0 -331
  898. package/dist/node_modules/@ionic/core/dist/collection/components/tabs/tabs.css +0 -19
  899. package/dist/node_modules/@ionic/core/dist/collection/components/text/text.css +0 -3
  900. package/dist/node_modules/@ionic/core/dist/collection/components/textarea/textarea.ios.css +0 -175
  901. package/dist/node_modules/@ionic/core/dist/collection/components/textarea/textarea.md.css +0 -179
  902. package/dist/node_modules/@ionic/core/dist/collection/components/thumbnail/thumbnail.css +0 -21
  903. package/dist/node_modules/@ionic/core/dist/collection/components/title/title.ios.css +0 -122
  904. package/dist/node_modules/@ionic/core/dist/collection/components/title/title.md.css +0 -55
  905. package/dist/node_modules/@ionic/core/dist/collection/components/toast/toast.ios.css +0 -262
  906. package/dist/node_modules/@ionic/core/dist/collection/components/toast/toast.md.css +0 -295
  907. package/dist/node_modules/@ionic/core/dist/collection/components/toggle/toggle.ios.css +0 -286
  908. package/dist/node_modules/@ionic/core/dist/collection/components/toggle/toggle.md.css +0 -261
  909. package/dist/node_modules/@ionic/core/dist/collection/components/toolbar/toolbar.ios.css +0 -175
  910. package/dist/node_modules/@ionic/core/dist/collection/components/toolbar/toolbar.md.css +0 -168
  911. package/dist/node_modules/@ionic/core/dist/collection/components/virtual-scroll/virtual-scroll.css +0 -21
  912. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/button/button.css +0 -49
  913. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/cards/card/card.css +0 -208
  914. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/cards/cards.css +0 -31
  915. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/code/code.css +0 -245
  916. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/dropdown/dropdown.css +0 -115
  917. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/header/header-mobile-collapse/header-mobile-collapse.css +0 -255
  918. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/header/header.css +0 -232
  919. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/menu/collapsible/collapsible.css +0 -3
  920. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/menu/menu-toggle/menu-toggle.css +0 -25
  921. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/menu/menu.css +0 -71
  922. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/nav/nav.css +0 -194
  923. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/notfound-page/notfound-page.css +0 -4
  924. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/overlay/overlay.css +0 -67
  925. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/page-footer/page-footer.css +0 -25
  926. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/pagination/pagination.css +0 -93
  927. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/select/select.css +0 -52
  928. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/sidebar/sidebar.css +0 -98
  929. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/sparkle-lower-content-nav/sparkle-lower-content-nav.css +0 -8
  930. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/table-of-contents/table-of-contents.css +0 -37
  931. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/tabs/tabs.css +0 -64
  932. package/dist/node_modules/@stencil/router/dist/collection/components/route/route.css +0 -3
  933. package/dist/node_modules/ionicons/dist/collection/components/icon/icon.css +0 -101
  934. package/dist/sparkle-core/p-00d10dc9.js +0 -4
  935. package/dist/sparkle-core/p-0147266a.js +0 -1
  936. package/dist/sparkle-core/p-04c7b276.entry.js +0 -1
  937. package/dist/sparkle-core/p-05c032dd.js +0 -4
  938. package/dist/sparkle-core/p-06642405.entry.js +0 -1
  939. package/dist/sparkle-core/p-0664370b.entry.js +0 -1
  940. package/dist/sparkle-core/p-06c7d0f2.entry.js +0 -1
  941. package/dist/sparkle-core/p-076f0239.js +0 -4
  942. package/dist/sparkle-core/p-077c732b.js +0 -4
  943. package/dist/sparkle-core/p-08420531.entry.js +0 -1
  944. package/dist/sparkle-core/p-08cca80d.entry.js +0 -1
  945. package/dist/sparkle-core/p-0ad5c123.entry.js +0 -1
  946. package/dist/sparkle-core/p-0afa3a4d.entry.js +0 -1
  947. package/dist/sparkle-core/p-0c3f3ea6.entry.js +0 -1
  948. package/dist/sparkle-core/p-0e4de1d0.js +0 -4
  949. package/dist/sparkle-core/p-0e8e539f.entry.js +0 -1
  950. package/dist/sparkle-core/p-11356b03.entry.js +0 -1
  951. package/dist/sparkle-core/p-11a6c175.entry.js +0 -1
  952. package/dist/sparkle-core/p-12dd96d7.js +0 -4
  953. package/dist/sparkle-core/p-13ec39db.entry.js +0 -1
  954. package/dist/sparkle-core/p-1adc98f6.js +0 -1
  955. package/dist/sparkle-core/p-1b1ba156.entry.js +0 -1
  956. package/dist/sparkle-core/p-1e125ca5.entry.js +0 -1
  957. package/dist/sparkle-core/p-1e4782af.entry.js +0 -1
  958. package/dist/sparkle-core/p-2033cd86.js +0 -7
  959. package/dist/sparkle-core/p-214d1229.entry.js +0 -1
  960. package/dist/sparkle-core/p-23aca7ca.js +0 -4
  961. package/dist/sparkle-core/p-24cb9a33.entry.js +0 -1
  962. package/dist/sparkle-core/p-27fbabc3.entry.js +0 -1
  963. package/dist/sparkle-core/p-2ba70507.entry.js +0 -1
  964. package/dist/sparkle-core/p-2c1ca854.entry.js +0 -1
  965. package/dist/sparkle-core/p-2d9659e2.entry.js +0 -1
  966. package/dist/sparkle-core/p-2f569553.js +0 -1
  967. package/dist/sparkle-core/p-30b810d1.entry.js +0 -4
  968. package/dist/sparkle-core/p-32f4e565.entry.js +0 -1
  969. package/dist/sparkle-core/p-352677e6.entry.js +0 -1
  970. package/dist/sparkle-core/p-38b7cf68.entry.js +0 -1
  971. package/dist/sparkle-core/p-38c842d5.entry.js +0 -1
  972. package/dist/sparkle-core/p-3963e02b.entry.js +0 -1
  973. package/dist/sparkle-core/p-39712c56.entry.js +0 -4
  974. package/dist/sparkle-core/p-39a31e43.js +0 -1
  975. package/dist/sparkle-core/p-3daf2915.entry.js +0 -352
  976. package/dist/sparkle-core/p-3de0e00c.js +0 -4
  977. package/dist/sparkle-core/p-4053ecdb.entry.js +0 -1
  978. package/dist/sparkle-core/p-408176ba.js +0 -1
  979. package/dist/sparkle-core/p-42ed7d5f.entry.js +0 -1
  980. package/dist/sparkle-core/p-48f72e63.js +0 -4
  981. package/dist/sparkle-core/p-4b4a8703.js +0 -1
  982. package/dist/sparkle-core/p-4c6a7e52.js +0 -1
  983. package/dist/sparkle-core/p-4d1cfcbe.entry.js +0 -1
  984. package/dist/sparkle-core/p-4d4077ea.js +0 -4
  985. package/dist/sparkle-core/p-4fba3e4c.js +0 -1
  986. package/dist/sparkle-core/p-506221fe.js +0 -4
  987. package/dist/sparkle-core/p-5096739e.entry.js +0 -1
  988. package/dist/sparkle-core/p-5322c920.entry.js +0 -1
  989. package/dist/sparkle-core/p-5893bbe5.entry.js +0 -1
  990. package/dist/sparkle-core/p-594a6982.entry.js +0 -1
  991. package/dist/sparkle-core/p-5c435d5a.entry.js +0 -1
  992. package/dist/sparkle-core/p-5cad23f1.js +0 -3
  993. package/dist/sparkle-core/p-5d409601.js +0 -1
  994. package/dist/sparkle-core/p-601397df.entry.js +0 -1
  995. package/dist/sparkle-core/p-604a7987.js +0 -4
  996. package/dist/sparkle-core/p-616941c6.entry.js +0 -1
  997. package/dist/sparkle-core/p-6316d124.entry.js +0 -1
  998. package/dist/sparkle-core/p-63f71ada.entry.js +0 -1
  999. package/dist/sparkle-core/p-69487d90.entry.js +0 -1
  1000. package/dist/sparkle-core/p-6bde0192.entry.js +0 -7
  1001. package/dist/sparkle-core/p-6d2f4093.entry.js +0 -7
  1002. package/dist/sparkle-core/p-6ffd2420.entry.js +0 -1
  1003. package/dist/sparkle-core/p-72053ae0.entry.js +0 -1
  1004. package/dist/sparkle-core/p-73721c84.js +0 -4
  1005. package/dist/sparkle-core/p-74864276.entry.js +0 -1
  1006. package/dist/sparkle-core/p-7d8427eb.js +0 -4
  1007. package/dist/sparkle-core/p-7dae0f0e.js +0 -1
  1008. package/dist/sparkle-core/p-7dbfc316.js +0 -1
  1009. package/dist/sparkle-core/p-7e7ce516.js +0 -4
  1010. package/dist/sparkle-core/p-81714d94.entry.js +0 -1
  1011. package/dist/sparkle-core/p-8492a765.entry.js +0 -1
  1012. package/dist/sparkle-core/p-859563db.entry.js +0 -1
  1013. package/dist/sparkle-core/p-85d4cd5c.entry.js +0 -1
  1014. package/dist/sparkle-core/p-865f36a8.entry.js +0 -1
  1015. package/dist/sparkle-core/p-86ed13f0.js +0 -5
  1016. package/dist/sparkle-core/p-871106e0.js +0 -4
  1017. package/dist/sparkle-core/p-894ff7e6.entry.js +0 -1
  1018. package/dist/sparkle-core/p-8a41b502.entry.js +0 -1
  1019. package/dist/sparkle-core/p-8b56f734.js +0 -1
  1020. package/dist/sparkle-core/p-8c74cbb6.entry.js +0 -1
  1021. package/dist/sparkle-core/p-924b2917.js +0 -4
  1022. package/dist/sparkle-core/p-9289cdbc.entry.js +0 -1
  1023. package/dist/sparkle-core/p-957715c5.entry.js +0 -1
  1024. package/dist/sparkle-core/p-973fe404.entry.js +0 -22
  1025. package/dist/sparkle-core/p-975b99ee.entry.js +0 -1
  1026. package/dist/sparkle-core/p-98daeddb.entry.js +0 -1
  1027. package/dist/sparkle-core/p-99ee9919.js +0 -1
  1028. package/dist/sparkle-core/p-9abbd715.entry.js +0 -1
  1029. package/dist/sparkle-core/p-9d894ed4.js +0 -4
  1030. package/dist/sparkle-core/p-9e309b3e.entry.js +0 -1
  1031. package/dist/sparkle-core/p-9e7fee8f.entry.js +0 -1
  1032. package/dist/sparkle-core/p-9ebf0537.entry.js +0 -1
  1033. package/dist/sparkle-core/p-a208ab2d.js +0 -4
  1034. package/dist/sparkle-core/p-a2638250.entry.js +0 -1
  1035. package/dist/sparkle-core/p-a2ebcf0a.entry.js +0 -1
  1036. package/dist/sparkle-core/p-a98d7ebe.entry.js +0 -1
  1037. package/dist/sparkle-core/p-add30d46.js +0 -4
  1038. package/dist/sparkle-core/p-b0603d19.js +0 -16
  1039. package/dist/sparkle-core/p-b06e2bef.js +0 -1
  1040. package/dist/sparkle-core/p-b3f375fb.entry.js +0 -1
  1041. package/dist/sparkle-core/p-b5f3e1bf.entry.js +0 -1
  1042. package/dist/sparkle-core/p-b6fec622.entry.js +0 -1
  1043. package/dist/sparkle-core/p-b8d71ff4.js +0 -1
  1044. package/dist/sparkle-core/p-b96f3c84.entry.js +0 -7
  1045. package/dist/sparkle-core/p-bd80ff43.js +0 -4
  1046. package/dist/sparkle-core/p-bd90903e.js +0 -1
  1047. package/dist/sparkle-core/p-be64105c.entry.js +0 -1
  1048. package/dist/sparkle-core/p-c0533c23.entry.js +0 -1
  1049. package/dist/sparkle-core/p-c2990b24.entry.js +0 -1
  1050. package/dist/sparkle-core/p-c3cadfc6.entry.js +0 -1
  1051. package/dist/sparkle-core/p-c60b29bd.entry.js +0 -4
  1052. package/dist/sparkle-core/p-c64a34cd.entry.js +0 -1
  1053. package/dist/sparkle-core/p-c9f753a4.js +0 -1
  1054. package/dist/sparkle-core/p-cabe9139.js +0 -1
  1055. package/dist/sparkle-core/p-cabfbf22.entry.js +0 -1
  1056. package/dist/sparkle-core/p-cc518c36.entry.js +0 -1
  1057. package/dist/sparkle-core/p-cffd4817.entry.js +0 -1
  1058. package/dist/sparkle-core/p-d0adf726.entry.js +0 -1
  1059. package/dist/sparkle-core/p-d20e4fcf.entry.js +0 -1
  1060. package/dist/sparkle-core/p-d24e53ab.entry.js +0 -1
  1061. package/dist/sparkle-core/p-d288e6c1.entry.js +0 -1
  1062. package/dist/sparkle-core/p-d601810e.entry.js +0 -1
  1063. package/dist/sparkle-core/p-d68092b7.js +0 -4
  1064. package/dist/sparkle-core/p-da391f3f.js +0 -1
  1065. package/dist/sparkle-core/p-de4deb61.entry.js +0 -1
  1066. package/dist/sparkle-core/p-e0cad1bb.js +0 -1
  1067. package/dist/sparkle-core/p-e249aebf.entry.js +0 -1
  1068. package/dist/sparkle-core/p-e3e36ce9.entry.js +0 -1
  1069. package/dist/sparkle-core/p-e421d638.entry.js +0 -1
  1070. package/dist/sparkle-core/p-e686d8b5.entry.js +0 -4
  1071. package/dist/sparkle-core/p-e8988989.entry.js +0 -1
  1072. package/dist/sparkle-core/p-e9431eeb.js +0 -7
  1073. package/dist/sparkle-core/p-ea962e1b.entry.js +0 -1
  1074. package/dist/sparkle-core/p-eaa8bbee.js +0 -4
  1075. package/dist/sparkle-core/p-ebd4354b.entry.js +0 -1
  1076. package/dist/sparkle-core/p-ee1e0eb4.js +0 -2
  1077. package/dist/sparkle-core/p-ef4edc48.entry.js +0 -4
  1078. package/dist/sparkle-core/p-f196c124.entry.js +0 -7
  1079. package/dist/sparkle-core/p-f3cba72a.js +0 -4
  1080. package/dist/sparkle-core/p-f47fe1fe.entry.js +0 -1
  1081. package/dist/sparkle-core/p-f714f77a.entry.js +0 -1
  1082. package/dist/sparkle-core/p-f891c79a.entry.js +0 -1
  1083. package/dist/sparkle-core/p-fb0ca75e.entry.js +0 -5
  1084. package/dist/sparkle-core/p-fb757951.entry.js +0 -1
  1085. package/dist/sparkle-core/p-fd8d0738.entry.js +0 -4
  1086. package/dist/sparkle-core/p-fda95b6e.entry.js +0 -1
  1087. package/dist/sparkle-core/p-fe6dc976.entry.js +0 -1
  1088. package/dist/sparkle-core/p-ff080f82.entry.js +0 -10
  1089. package/dist/sparkle-core/p-ff7a8a71.js +0 -4
  1090. /package/dist/{esm → sparkle-core}/cubic-bezier-4c0db14f.js +0 -0
  1091. /package/dist/{esm → sparkle-core}/focus-visible-4e9a0764.js +0 -0
  1092. /package/dist/{esm → sparkle-core}/hardware-back-button-fa04d6e9.js +0 -0
  1093. /package/dist/{esm → sparkle-core}/index-be6112f8.js +0 -0
  1094. /package/dist/{esm → sparkle-core}/keyboard-7e8329b3.js +0 -0
  1095. /package/dist/{esm → sparkle-core}/localstorage.service-4bf408c8.js +0 -0
  1096. /package/dist/{esm → sparkle-core}/spinner-configs-a37e628a.js +0 -0
  1097. /package/dist/{esm → sparkle-core}/theme-7ef00c83.js +0 -0
@@ -1,1237 +0,0 @@
1
- 'use strict';
2
-
3
- const index = require('./index-e56e09b8.js');
4
-
5
- /*!
6
- * (C) Ionic http://ionicframework.com - MIT License
7
- */
8
- /**
9
- * Returns true if the selected day is equal to the reference day
10
- */
11
- const isSameDay = (baseParts, compareParts) => {
12
- return (baseParts.month === compareParts.month && baseParts.day === compareParts.day && baseParts.year === compareParts.year);
13
- };
14
- /**
15
- * Returns true is the selected day is before the reference day.
16
- */
17
- const isBefore = (baseParts, compareParts) => {
18
- return (baseParts.year < compareParts.year ||
19
- (baseParts.year === compareParts.year && baseParts.month < compareParts.month) ||
20
- (baseParts.year === compareParts.year &&
21
- baseParts.month === compareParts.month &&
22
- baseParts.day &&
23
- baseParts.day < compareParts.day));
24
- };
25
- /**
26
- * Returns true is the selected day is after the reference day.
27
- */
28
- const isAfter = (baseParts, compareParts) => {
29
- return (baseParts.year > compareParts.year ||
30
- (baseParts.year === compareParts.year && baseParts.month > compareParts.month) ||
31
- (baseParts.year === compareParts.year &&
32
- baseParts.month === compareParts.month &&
33
- baseParts.day &&
34
- baseParts.day > compareParts.day));
35
- };
36
- const warnIfValueOutOfBounds = (value, min, max) => {
37
- const valueArray = Array.isArray(value) ? value : [value];
38
- for (const val of valueArray) {
39
- if ((min && isBefore(val, min)) || (max && isAfter(val, max))) {
40
- index.printIonWarning('The value provided to ion-datetime is out of bounds.\n\n' +
41
- `Min: ${JSON.stringify(min)}\n` +
42
- `Max: ${JSON.stringify(max)}\n` +
43
- `Value: ${JSON.stringify(value)}`);
44
- break;
45
- }
46
- }
47
- };
48
-
49
- /*!
50
- * (C) Ionic http://ionicframework.com - MIT License
51
- */
52
- /**
53
- * Determines if given year is a
54
- * leap year. Returns `true` if year
55
- * is a leap year. Returns `false`
56
- * otherwise.
57
- */
58
- const isLeapYear = (year) => {
59
- return (year % 4 === 0 && year % 100 !== 0) || year % 400 === 0;
60
- };
61
- const is24Hour = (locale, hourCycle) => {
62
- /**
63
- * If developer has explicitly enabled h23 time
64
- * then return early and do not look at the system default.
65
- */
66
- if (hourCycle !== undefined) {
67
- return hourCycle === 'h23';
68
- }
69
- /**
70
- * If hourCycle was not specified, check the locale
71
- * that is set on the user's device. We first check the
72
- * Intl.DateTimeFormat hourCycle option as developers can encode this
73
- * option into the locale string. Example: `en-US-u-hc-h23`
74
- */
75
- const formatted = new Intl.DateTimeFormat(locale, { hour: 'numeric' });
76
- const options = formatted.resolvedOptions();
77
- if (options.hourCycle !== undefined) {
78
- return options.hourCycle === 'h23';
79
- }
80
- /**
81
- * If hourCycle is not specified (either through lack
82
- * of browser support or locale information) then fall
83
- * back to this slower hourCycle check.
84
- */
85
- const date = new Date('5/18/2021 00:00');
86
- const parts = formatted.formatToParts(date);
87
- const hour = parts.find((p) => p.type === 'hour');
88
- if (!hour) {
89
- throw new Error('Hour value not found from DateTimeFormat');
90
- }
91
- return hour.value === '00';
92
- };
93
- /**
94
- * Given a date object, returns the number
95
- * of days in that month.
96
- * Month value begin at 1, not 0.
97
- * i.e. January = month 1.
98
- */
99
- const getNumDaysInMonth = (month, year) => {
100
- return month === 4 || month === 6 || month === 9 || month === 11
101
- ? 30
102
- : month === 2
103
- ? isLeapYear(year)
104
- ? 29
105
- : 28
106
- : 31;
107
- };
108
- /**
109
- * Certain locales display month then year while
110
- * others display year then month.
111
- * We can use Intl.DateTimeFormat to determine
112
- * the ordering for each locale.
113
- * The formatOptions param can be used to customize
114
- * which pieces of a date to compare against the month
115
- * with. For example, some locales render dd/mm/yyyy
116
- * while others render mm/dd/yyyy. This function can be
117
- * used for variations of the same "month first" check.
118
- */
119
- const isMonthFirstLocale = (locale, formatOptions = {
120
- month: 'numeric',
121
- year: 'numeric',
122
- }) => {
123
- /**
124
- * By setting month and year we guarantee that only
125
- * month, year, and literal (slashes '/', for example)
126
- * values are included in the formatToParts results.
127
- *
128
- * The ordering of the parts will be determined by
129
- * the locale. So if the month is the first value,
130
- * then we know month should be shown first. If the
131
- * year is the first value, then we know year should be shown first.
132
- *
133
- * This ordering can be controlled by customizing the locale property.
134
- */
135
- const parts = new Intl.DateTimeFormat(locale, formatOptions).formatToParts(new Date());
136
- return parts[0].type === 'month';
137
- };
138
- /**
139
- * Determines if the given locale formats the day period (am/pm) to the
140
- * left or right of the hour.
141
- * @param locale The locale to check.
142
- * @returns `true` if the locale formats the day period to the left of the hour.
143
- */
144
- const isLocaleDayPeriodRTL = (locale) => {
145
- const parts = new Intl.DateTimeFormat(locale, { hour: 'numeric' }).formatToParts(new Date());
146
- return parts[0].type === 'dayPeriod';
147
- };
148
-
149
- /*!
150
- * (C) Ionic http://ionicframework.com - MIT License
151
- */
152
- const twoDigit = (val) => {
153
- return ('0' + (val !== undefined ? Math.abs(val) : '0')).slice(-2);
154
- };
155
- const fourDigit = (val) => {
156
- return ('000' + (val !== undefined ? Math.abs(val) : '0')).slice(-4);
157
- };
158
- function convertDataToISO(data) {
159
- if (Array.isArray(data)) {
160
- return data.map((parts) => convertDataToISO(parts));
161
- }
162
- // https://www.w3.org/TR/NOTE-datetime
163
- let rtn = '';
164
- if (data.year !== undefined) {
165
- // YYYY
166
- rtn = fourDigit(data.year);
167
- if (data.month !== undefined) {
168
- // YYYY-MM
169
- rtn += '-' + twoDigit(data.month);
170
- if (data.day !== undefined) {
171
- // YYYY-MM-DD
172
- rtn += '-' + twoDigit(data.day);
173
- if (data.hour !== undefined) {
174
- // YYYY-MM-DDTHH:mm:SS
175
- rtn += `T${twoDigit(data.hour)}:${twoDigit(data.minute)}:00`;
176
- if (data.tzOffset === undefined) {
177
- // YYYY-MM-DDTHH:mm:SSZ
178
- rtn += 'Z';
179
- }
180
- else {
181
- // YYYY-MM-DDTHH:mm:SS+/-HH:mm
182
- rtn +=
183
- (data.tzOffset > 0 ? '+' : '-') +
184
- twoDigit(Math.floor(Math.abs(data.tzOffset / 60))) +
185
- ':' +
186
- twoDigit(data.tzOffset % 60);
187
- }
188
- }
189
- }
190
- }
191
- }
192
- else if (data.hour !== undefined) {
193
- // HH:mm
194
- rtn = twoDigit(data.hour) + ':' + twoDigit(data.minute);
195
- }
196
- return rtn;
197
- }
198
- /**
199
- * Converts an 12 hour value to 24 hours.
200
- */
201
- const convert12HourTo24Hour = (hour, ampm) => {
202
- if (ampm === undefined) {
203
- return hour;
204
- }
205
- /**
206
- * If AM and 12am
207
- * then return 00:00.
208
- * Otherwise just return
209
- * the hour since it is
210
- * already in 24 hour format.
211
- */
212
- if (ampm === 'am') {
213
- if (hour === 12) {
214
- return 0;
215
- }
216
- return hour;
217
- }
218
- /**
219
- * If PM and 12pm
220
- * just return 12:00
221
- * since it is already
222
- * in 24 hour format.
223
- * Otherwise add 12 hours
224
- * to the time.
225
- */
226
- if (hour === 12) {
227
- return 12;
228
- }
229
- return hour + 12;
230
- };
231
- const getStartOfWeek = (refParts) => {
232
- const { dayOfWeek } = refParts;
233
- if (dayOfWeek === null || dayOfWeek === undefined) {
234
- throw new Error('No day of week provided');
235
- }
236
- return subtractDays(refParts, dayOfWeek);
237
- };
238
- const getEndOfWeek = (refParts) => {
239
- const { dayOfWeek } = refParts;
240
- if (dayOfWeek === null || dayOfWeek === undefined) {
241
- throw new Error('No day of week provided');
242
- }
243
- return addDays(refParts, 6 - dayOfWeek);
244
- };
245
- const getNextDay = (refParts) => {
246
- return addDays(refParts, 1);
247
- };
248
- const getPreviousDay = (refParts) => {
249
- return subtractDays(refParts, 1);
250
- };
251
- const getPreviousWeek = (refParts) => {
252
- return subtractDays(refParts, 7);
253
- };
254
- const getNextWeek = (refParts) => {
255
- return addDays(refParts, 7);
256
- };
257
- /**
258
- * Given datetime parts, subtract
259
- * numDays from the date.
260
- * Returns a new DatetimeParts object
261
- * Currently can only go backward at most 1 month.
262
- */
263
- const subtractDays = (refParts, numDays) => {
264
- const { month, day, year } = refParts;
265
- if (day === null) {
266
- throw new Error('No day provided');
267
- }
268
- const workingParts = {
269
- month,
270
- day,
271
- year,
272
- };
273
- workingParts.day = day - numDays;
274
- /**
275
- * If wrapping to previous month
276
- * update days and decrement month
277
- */
278
- if (workingParts.day < 1) {
279
- workingParts.month -= 1;
280
- }
281
- /**
282
- * If moving to previous year, reset
283
- * month to December and decrement year
284
- */
285
- if (workingParts.month < 1) {
286
- workingParts.month = 12;
287
- workingParts.year -= 1;
288
- }
289
- /**
290
- * Determine how many days are in the current
291
- * month
292
- */
293
- if (workingParts.day < 1) {
294
- const daysInMonth = getNumDaysInMonth(workingParts.month, workingParts.year);
295
- /**
296
- * Take num days in month and add the
297
- * number of underflow days. This number will
298
- * be negative.
299
- * Example: 1 week before Jan 2, 2021 is
300
- * December 26, 2021 so:
301
- * 2 - 7 = -5
302
- * 31 + (-5) = 26
303
- */
304
- workingParts.day = daysInMonth + workingParts.day;
305
- }
306
- return workingParts;
307
- };
308
- /**
309
- * Given datetime parts, add
310
- * numDays to the date.
311
- * Returns a new DatetimeParts object
312
- * Currently can only go forward at most 1 month.
313
- */
314
- const addDays = (refParts, numDays) => {
315
- const { month, day, year } = refParts;
316
- if (day === null) {
317
- throw new Error('No day provided');
318
- }
319
- const workingParts = {
320
- month,
321
- day,
322
- year,
323
- };
324
- const daysInMonth = getNumDaysInMonth(month, year);
325
- workingParts.day = day + numDays;
326
- /**
327
- * If wrapping to next month
328
- * update days and increment month
329
- */
330
- if (workingParts.day > daysInMonth) {
331
- workingParts.day -= daysInMonth;
332
- workingParts.month += 1;
333
- }
334
- /**
335
- * If moving to next year, reset
336
- * month to January and increment year
337
- */
338
- if (workingParts.month > 12) {
339
- workingParts.month = 1;
340
- workingParts.year += 1;
341
- }
342
- return workingParts;
343
- };
344
- /**
345
- * Given DatetimeParts, generate the previous month.
346
- */
347
- const getPreviousMonth = (refParts) => {
348
- /**
349
- * If current month is January, wrap backwards
350
- * to December of the previous year.
351
- */
352
- const month = refParts.month === 1 ? 12 : refParts.month - 1;
353
- const year = refParts.month === 1 ? refParts.year - 1 : refParts.year;
354
- const numDaysInMonth = getNumDaysInMonth(month, year);
355
- const day = numDaysInMonth < refParts.day ? numDaysInMonth : refParts.day;
356
- return { month, year, day };
357
- };
358
- /**
359
- * Given DatetimeParts, generate the next month.
360
- */
361
- const getNextMonth = (refParts) => {
362
- /**
363
- * If current month is December, wrap forwards
364
- * to January of the next year.
365
- */
366
- const month = refParts.month === 12 ? 1 : refParts.month + 1;
367
- const year = refParts.month === 12 ? refParts.year + 1 : refParts.year;
368
- const numDaysInMonth = getNumDaysInMonth(month, year);
369
- const day = numDaysInMonth < refParts.day ? numDaysInMonth : refParts.day;
370
- return { month, year, day };
371
- };
372
- const changeYear = (refParts, yearDelta) => {
373
- const month = refParts.month;
374
- const year = refParts.year + yearDelta;
375
- const numDaysInMonth = getNumDaysInMonth(month, year);
376
- const day = numDaysInMonth < refParts.day ? numDaysInMonth : refParts.day;
377
- return { month, year, day };
378
- };
379
- /**
380
- * Given DatetimeParts, generate the previous year.
381
- */
382
- const getPreviousYear = (refParts) => {
383
- return changeYear(refParts, -1);
384
- };
385
- /**
386
- * Given DatetimeParts, generate the next year.
387
- */
388
- const getNextYear = (refParts) => {
389
- return changeYear(refParts, 1);
390
- };
391
- /**
392
- * If PM, then internal value should
393
- * be converted to 24-hr time.
394
- * Does not apply when public
395
- * values are already 24-hr time.
396
- */
397
- const getInternalHourValue = (hour, use24Hour, ampm) => {
398
- if (use24Hour) {
399
- return hour;
400
- }
401
- return convert12HourTo24Hour(hour, ampm);
402
- };
403
- /**
404
- * Unless otherwise stated, all month values are
405
- * 1 indexed instead of the typical 0 index in JS Date.
406
- * Example:
407
- * January = Month 0 when using JS Date
408
- * January = Month 1 when using this datetime util
409
- */
410
- /**
411
- * Given the current datetime parts and a new AM/PM value
412
- * calculate what the hour should be in 24-hour time format.
413
- * Used when toggling the AM/PM segment since we store our hours
414
- * in 24-hour time format internally.
415
- */
416
- const calculateHourFromAMPM = (currentParts, newAMPM) => {
417
- const { ampm: currentAMPM, hour } = currentParts;
418
- let newHour = hour;
419
- /**
420
- * If going from AM --> PM, need to update the
421
- *
422
- */
423
- if (currentAMPM === 'am' && newAMPM === 'pm') {
424
- newHour = convert12HourTo24Hour(newHour, 'pm');
425
- /**
426
- * If going from PM --> AM
427
- */
428
- }
429
- else if (currentAMPM === 'pm' && newAMPM === 'am') {
430
- newHour = Math.abs(newHour - 12);
431
- }
432
- return newHour;
433
- };
434
-
435
- /*!
436
- * (C) Ionic http://ionicframework.com - MIT License
437
- */
438
- const getFormattedDayPeriod = (dayPeriod) => {
439
- if (dayPeriod === undefined) {
440
- return '';
441
- }
442
- return dayPeriod.toUpperCase();
443
- };
444
- const getLocalizedTime = (locale, refParts, use24Hour) => {
445
- if (refParts.hour === undefined || refParts.minute === undefined) {
446
- return 'Invalid Time';
447
- }
448
- return new Intl.DateTimeFormat(locale, {
449
- hour: 'numeric',
450
- minute: 'numeric',
451
- timeZone: 'UTC',
452
- hour12: !use24Hour,
453
- }).format(new Date(convertDataToISO(Object.assign(Object.assign({}, refParts), {
454
- // TODO: FW-1831 will remove the need to manually set the tzOffset to undefined
455
- tzOffset: undefined }))));
456
- };
457
- /**
458
- * Adds padding to a time value so
459
- * that it is always 2 digits.
460
- */
461
- const addTimePadding = (value) => {
462
- const valueToString = value.toString();
463
- if (valueToString.length > 1) {
464
- return valueToString;
465
- }
466
- return `0${valueToString}`;
467
- };
468
- /**
469
- * Formats the hour value so that it
470
- * is always 2 digits. Only applies
471
- * if using 12 hour format.
472
- */
473
- const getFormattedHour = (hour, use24Hour) => {
474
- if (!use24Hour) {
475
- return hour.toString();
476
- }
477
- return addTimePadding(hour);
478
- };
479
- /**
480
- * Generates an aria-label to be read by screen readers
481
- * given a local, a date, and whether or not that date is
482
- * today's date.
483
- */
484
- const generateDayAriaLabel = (locale, today, refParts) => {
485
- if (refParts.day === null) {
486
- return null;
487
- }
488
- /**
489
- * MM/DD/YYYY will return midnight in the user's timezone.
490
- */
491
- const date = new Date(`${refParts.month}/${refParts.day}/${refParts.year} GMT+0000`);
492
- const labelString = new Intl.DateTimeFormat(locale, {
493
- weekday: 'long',
494
- month: 'long',
495
- day: 'numeric',
496
- timeZone: 'UTC',
497
- }).format(date);
498
- /**
499
- * If date is today, prepend "Today" so screen readers indicate
500
- * that the date is today.
501
- */
502
- return today ? `Today, ${labelString}` : labelString;
503
- };
504
- /**
505
- * Gets the day of the week, month, and day
506
- * Used for the header in MD mode.
507
- */
508
- const getMonthAndDay = (locale, refParts) => {
509
- const date = new Date(`${refParts.month}/${refParts.day}/${refParts.year} GMT+0000`);
510
- return new Intl.DateTimeFormat(locale, { weekday: 'short', month: 'short', day: 'numeric', timeZone: 'UTC' }).format(date);
511
- };
512
- /**
513
- * Given a locale and a date object,
514
- * return a formatted string that includes
515
- * the month name and full year.
516
- * Example: May 2021
517
- */
518
- const getMonthAndYear = (locale, refParts) => {
519
- const date = new Date(`${refParts.month}/${refParts.day}/${refParts.year} GMT+0000`);
520
- return new Intl.DateTimeFormat(locale, { month: 'long', year: 'numeric', timeZone: 'UTC' }).format(date);
521
- };
522
- /**
523
- * Given a locale and a date object,
524
- * return a formatted string that includes
525
- * the short month, numeric day, and full year.
526
- * Example: Apr 22, 2021
527
- */
528
- const getMonthDayAndYear = (locale, refParts) => {
529
- return getLocalizedDateTime(locale, refParts, { month: 'short', day: 'numeric', year: 'numeric' });
530
- };
531
- /**
532
- * Wrapper function for Intl.DateTimeFormat.
533
- * Allows developers to apply an allowed format to DatetimeParts.
534
- * This function also has built in safeguards for older browser bugs
535
- * with Intl.DateTimeFormat.
536
- */
537
- const getLocalizedDateTime = (locale, refParts, options) => {
538
- const timeString = !!refParts.hour && !!refParts.minute ? ` ${refParts.hour}:${refParts.minute}` : '';
539
- const date = new Date(`${refParts.month}/${refParts.day}/${refParts.year}${timeString} GMT+0000`);
540
- return new Intl.DateTimeFormat(locale, Object.assign(Object.assign({}, options), { timeZone: 'UTC' })).format(date);
541
- };
542
- /**
543
- * Gets a localized version of "Today"
544
- * Falls back to "Today" in English for
545
- * browsers that do not support RelativeTimeFormat.
546
- */
547
- const getTodayLabel = (locale) => {
548
- if ('RelativeTimeFormat' in Intl) {
549
- const label = new Intl.RelativeTimeFormat(locale, { numeric: 'auto' }).format(0, 'day');
550
- return label.charAt(0).toUpperCase() + label.slice(1);
551
- }
552
- else {
553
- return 'Today';
554
- }
555
- };
556
- /**
557
- * When calling toISOString(), the browser
558
- * will convert the date to UTC time by either adding
559
- * or subtracting the time zone offset.
560
- * To work around this, we need to either add
561
- * or subtract the time zone offset to the Date
562
- * object prior to calling toISOString().
563
- * This allows us to get an ISO string
564
- * that is in the user's time zone.
565
- *
566
- * Example:
567
- * Time zone offset is 240
568
- * Meaning: The browser needs to add 240 minutes
569
- * to the Date object to get UTC time.
570
- * What Ionic does: We subtract 240 minutes
571
- * from the Date object. The browser then adds
572
- * 240 minutes in toISOString(). The result
573
- * is a time that is in the user's time zone
574
- * and not UTC.
575
- *
576
- * Note: Some timezones include minute adjustments
577
- * such as 30 or 45 minutes. This is why we use setMinutes
578
- * instead of setHours.
579
- * Example: India Standard Time
580
- * Timezone offset: -330 = -5.5 hours.
581
- *
582
- * List of timezones with 30 and 45 minute timezones:
583
- * https://www.timeanddate.com/time/time-zones-interesting.html
584
- */
585
- const removeDateTzOffset = (date) => {
586
- const tzOffset = date.getTimezoneOffset();
587
- date.setMinutes(date.getMinutes() - tzOffset);
588
- return date;
589
- };
590
- const DATE_AM = removeDateTzOffset(new Date('2022T01:00'));
591
- const DATE_PM = removeDateTzOffset(new Date('2022T13:00'));
592
- /**
593
- * Formats the locale's string representation of the day period (am/pm) for a given
594
- * ref parts day period.
595
- *
596
- * @param locale The locale to format the day period in.
597
- * @param value The date string, in ISO format.
598
- * @returns The localized day period (am/pm) representation of the given value.
599
- */
600
- const getLocalizedDayPeriod = (locale, dayPeriod) => {
601
- const date = dayPeriod === 'am' ? DATE_AM : DATE_PM;
602
- const localizedDayPeriod = new Intl.DateTimeFormat(locale, {
603
- hour: 'numeric',
604
- timeZone: 'UTC',
605
- })
606
- .formatToParts(date)
607
- .find((part) => part.type === 'dayPeriod');
608
- if (localizedDayPeriod) {
609
- return localizedDayPeriod.value;
610
- }
611
- return getFormattedDayPeriod(dayPeriod);
612
- };
613
- /**
614
- * Formats the datetime's value to a string, for use in the native input.
615
- *
616
- * @param value The value to format, either an ISO string or an array thereof.
617
- */
618
- const formatValue = (value) => {
619
- return Array.isArray(value) ? value.join(',') : value;
620
- };
621
-
622
- /*!
623
- * (C) Ionic http://ionicframework.com - MIT License
624
- */
625
- /**
626
- * Returns the current date as
627
- * an ISO string in the user's
628
- * time zone.
629
- */
630
- const getToday = () => {
631
- /**
632
- * ion-datetime intentionally does not
633
- * parse time zones/do automatic time zone
634
- * conversion when accepting user input.
635
- * However when we get today's date string,
636
- * we want it formatted relative to the user's
637
- * time zone.
638
- *
639
- * When calling toISOString(), the browser
640
- * will convert the date to UTC time by either adding
641
- * or subtracting the time zone offset.
642
- * To work around this, we need to either add
643
- * or subtract the time zone offset to the Date
644
- * object prior to calling toISOString().
645
- * This allows us to get an ISO string
646
- * that is in the user's time zone.
647
- */
648
- return removeDateTzOffset(new Date()).toISOString();
649
- };
650
- const minutes = [
651
- 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31,
652
- 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59,
653
- ];
654
- const hour12 = [12, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11];
655
- const hour23 = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23];
656
- /**
657
- * Given a locale and a mode,
658
- * return an array with formatted days
659
- * of the week. iOS should display days
660
- * such as "Mon" or "Tue".
661
- * MD should display days such as "M"
662
- * or "T".
663
- */
664
- const getDaysOfWeek = (locale, mode, firstDayOfWeek = 0) => {
665
- /**
666
- * Nov 1st, 2020 starts on a Sunday.
667
- * ion-datetime assumes weeks start on Sunday,
668
- * but is configurable via `firstDayOfWeek`.
669
- */
670
- const weekdayFormat = mode === 'ios' ? 'short' : 'narrow';
671
- const intl = new Intl.DateTimeFormat(locale, { weekday: weekdayFormat });
672
- const startDate = new Date('11/01/2020');
673
- const daysOfWeek = [];
674
- /**
675
- * For each day of the week,
676
- * get the day name.
677
- */
678
- for (let i = firstDayOfWeek; i < firstDayOfWeek + 7; i++) {
679
- const currentDate = new Date(startDate);
680
- currentDate.setDate(currentDate.getDate() + i);
681
- daysOfWeek.push(intl.format(currentDate));
682
- }
683
- return daysOfWeek;
684
- };
685
- /**
686
- * Returns an array containing all of the
687
- * days in a month for a given year. Values are
688
- * aligned with a week calendar starting on
689
- * the firstDayOfWeek value (Sunday by default)
690
- * using null values.
691
- */
692
- const getDaysOfMonth = (month, year, firstDayOfWeek) => {
693
- const numDays = getNumDaysInMonth(month, year);
694
- const firstOfMonth = new Date(`${month}/1/${year}`).getDay();
695
- /**
696
- * To get the first day of the month aligned on the correct
697
- * day of the week, we need to determine how many "filler" days
698
- * to generate. These filler days as empty/disabled buttons
699
- * that fill the space of the days of the week before the first
700
- * of the month.
701
- *
702
- * There are two cases here:
703
- *
704
- * 1. If firstOfMonth = 4, firstDayOfWeek = 0 then the offset
705
- * is (4 - (0 + 1)) = 3. Since the offset loop goes from 0 to 3 inclusive,
706
- * this will generate 4 filler days (0, 1, 2, 3), and then day of week 4 will have
707
- * the first day of the month.
708
- *
709
- * 2. If firstOfMonth = 2, firstDayOfWeek = 4 then the offset
710
- * is (6 - (4 - 2)) = 4. Since the offset loop goes from 0 to 4 inclusive,
711
- * this will generate 5 filler days (0, 1, 2, 3, 4), and then day of week 5 will have
712
- * the first day of the month.
713
- */
714
- const offset = firstOfMonth >= firstDayOfWeek ? firstOfMonth - (firstDayOfWeek + 1) : 6 - (firstDayOfWeek - firstOfMonth);
715
- let days = [];
716
- for (let i = 1; i <= numDays; i++) {
717
- days.push({ day: i, dayOfWeek: (offset + i) % 7 });
718
- }
719
- for (let i = 0; i <= offset; i++) {
720
- days = [{ day: null, dayOfWeek: null }, ...days];
721
- }
722
- return days;
723
- };
724
- /**
725
- * Given a local, reference datetime parts and option
726
- * max/min bound datetime parts, calculate the acceptable
727
- * hour and minute values according to the bounds and locale.
728
- */
729
- const generateTime = (refParts, hourCycle = 'h12', minParts, maxParts, hourValues, minuteValues) => {
730
- const use24Hour = hourCycle === 'h23';
731
- let processedHours = use24Hour ? hour23 : hour12;
732
- let processedMinutes = minutes;
733
- let isAMAllowed = true;
734
- let isPMAllowed = true;
735
- if (hourValues) {
736
- processedHours = processedHours.filter((hour) => hourValues.includes(hour));
737
- }
738
- if (minuteValues) {
739
- processedMinutes = processedMinutes.filter((minute) => minuteValues.includes(minute));
740
- }
741
- if (minParts) {
742
- /**
743
- * If ref day is the same as the
744
- * minimum allowed day, filter hour/minute
745
- * values according to min hour and minute.
746
- */
747
- if (isSameDay(refParts, minParts)) {
748
- /**
749
- * Users may not always set the hour/minute for
750
- * min value (i.e. 2021-06-02) so we should allow
751
- * all hours/minutes in that case.
752
- */
753
- if (minParts.hour !== undefined) {
754
- processedHours = processedHours.filter((hour) => {
755
- const convertedHour = refParts.ampm === 'pm' ? (hour + 12) % 24 : hour;
756
- return (use24Hour ? hour : convertedHour) >= minParts.hour;
757
- });
758
- isAMAllowed = minParts.hour < 13;
759
- }
760
- if (minParts.minute !== undefined) {
761
- /**
762
- * The minimum minute range should not be enforced when
763
- * the hour is greater than the min hour.
764
- *
765
- * For example with a minimum range of 09:30, users
766
- * should be able to select 10:00-10:29 and beyond.
767
- */
768
- let isPastMinHour = false;
769
- if (minParts.hour !== undefined && refParts.hour !== undefined) {
770
- if (refParts.hour > minParts.hour) {
771
- isPastMinHour = true;
772
- }
773
- }
774
- processedMinutes = processedMinutes.filter((minute) => {
775
- if (isPastMinHour) {
776
- return true;
777
- }
778
- return minute >= minParts.minute;
779
- });
780
- }
781
- /**
782
- * If ref day is before minimum
783
- * day do not render any hours/minute values
784
- */
785
- }
786
- else if (isBefore(refParts, minParts)) {
787
- processedHours = [];
788
- processedMinutes = [];
789
- isAMAllowed = isPMAllowed = false;
790
- }
791
- }
792
- if (maxParts) {
793
- /**
794
- * If ref day is the same as the
795
- * maximum allowed day, filter hour/minute
796
- * values according to max hour and minute.
797
- */
798
- if (isSameDay(refParts, maxParts)) {
799
- /**
800
- * Users may not always set the hour/minute for
801
- * max value (i.e. 2021-06-02) so we should allow
802
- * all hours/minutes in that case.
803
- */
804
- if (maxParts.hour !== undefined) {
805
- processedHours = processedHours.filter((hour) => {
806
- const convertedHour = refParts.ampm === 'pm' ? (hour + 12) % 24 : hour;
807
- return (use24Hour ? hour : convertedHour) <= maxParts.hour;
808
- });
809
- isPMAllowed = maxParts.hour >= 13;
810
- }
811
- if (maxParts.minute !== undefined && refParts.hour === maxParts.hour) {
812
- // The available minutes should only be filtered when the hour is the same as the max hour.
813
- // For example if the max hour is 10:30 and the current hour is 10:00,
814
- // users should be able to select 00-30 minutes.
815
- // If the current hour is 09:00, users should be able to select 00-60 minutes.
816
- processedMinutes = processedMinutes.filter((minute) => minute <= maxParts.minute);
817
- }
818
- /**
819
- * If ref day is after minimum
820
- * day do not render any hours/minute values
821
- */
822
- }
823
- else if (isAfter(refParts, maxParts)) {
824
- processedHours = [];
825
- processedMinutes = [];
826
- isAMAllowed = isPMAllowed = false;
827
- }
828
- }
829
- return {
830
- hours: processedHours,
831
- minutes: processedMinutes,
832
- am: isAMAllowed,
833
- pm: isPMAllowed,
834
- };
835
- };
836
- /**
837
- * Given DatetimeParts, generate the previous,
838
- * current, and and next months.
839
- */
840
- const generateMonths = (refParts) => {
841
- return [
842
- getPreviousMonth(refParts),
843
- { month: refParts.month, year: refParts.year, day: refParts.day },
844
- getNextMonth(refParts),
845
- ];
846
- };
847
- const getMonthColumnData = (locale, refParts, minParts, maxParts, monthValues, formatOptions = {
848
- month: 'long',
849
- }) => {
850
- const { year } = refParts;
851
- const months = [];
852
- if (monthValues !== undefined) {
853
- let processedMonths = monthValues;
854
- if ((maxParts === null || maxParts === void 0 ? void 0 : maxParts.month) !== undefined) {
855
- processedMonths = processedMonths.filter((month) => month <= maxParts.month);
856
- }
857
- if ((minParts === null || minParts === void 0 ? void 0 : minParts.month) !== undefined) {
858
- processedMonths = processedMonths.filter((month) => month >= minParts.month);
859
- }
860
- processedMonths.forEach((processedMonth) => {
861
- const date = new Date(`${processedMonth}/1/${year} GMT+0000`);
862
- const monthString = new Intl.DateTimeFormat(locale, Object.assign(Object.assign({}, formatOptions), { timeZone: 'UTC' })).format(date);
863
- months.push({ text: monthString, value: processedMonth });
864
- });
865
- }
866
- else {
867
- const maxMonth = maxParts && maxParts.year === year ? maxParts.month : 12;
868
- const minMonth = minParts && minParts.year === year ? minParts.month : 1;
869
- for (let i = minMonth; i <= maxMonth; i++) {
870
- /**
871
- *
872
- * There is a bug on iOS 14 where
873
- * Intl.DateTimeFormat takes into account
874
- * the local timezone offset when formatting dates.
875
- *
876
- * Forcing the timezone to 'UTC' fixes the issue. However,
877
- * we should keep this workaround as it is safer. In the event
878
- * this breaks in another browser, we will not be impacted
879
- * because all dates will be interpreted in UTC.
880
- *
881
- * Example:
882
- * new Intl.DateTimeFormat('en-US', { month: 'long' }).format(new Date('Sat Apr 01 2006 00:00:00 GMT-0400 (EDT)')) // "March"
883
- * new Intl.DateTimeFormat('en-US', { month: 'long', timeZone: 'UTC' }).format(new Date('Sat Apr 01 2006 00:00:00 GMT-0400 (EDT)')) // "April"
884
- *
885
- * In certain timezones, iOS 14 shows the wrong
886
- * date for .toUTCString(). To combat this, we
887
- * force all of the timezones to GMT+0000 (UTC).
888
- *
889
- * Example:
890
- * Time Zone: Central European Standard Time
891
- * new Date('1/1/1992').toUTCString() // "Tue, 31 Dec 1991 23:00:00 GMT"
892
- * new Date('1/1/1992 GMT+0000').toUTCString() // "Wed, 01 Jan 1992 00:00:00 GMT"
893
- */
894
- const date = new Date(`${i}/1/${year} GMT+0000`);
895
- const monthString = new Intl.DateTimeFormat(locale, Object.assign(Object.assign({}, formatOptions), { timeZone: 'UTC' })).format(date);
896
- months.push({ text: monthString, value: i });
897
- }
898
- }
899
- return months;
900
- };
901
- /**
902
- * Returns information regarding
903
- * selectable dates (i.e 1st, 2nd, 3rd, etc)
904
- * within a reference month.
905
- * @param locale The locale to format the date with
906
- * @param refParts The reference month/year to generate dates for
907
- * @param minParts The minimum bound on the date that can be returned
908
- * @param maxParts The maximum bound on the date that can be returned
909
- * @param dayValues The allowed date values
910
- * @returns Date data to be used in ion-picker-column-internal
911
- */
912
- const getDayColumnData = (locale, refParts, minParts, maxParts, dayValues, formatOptions = {
913
- day: 'numeric',
914
- }) => {
915
- const { month, year } = refParts;
916
- const days = [];
917
- /**
918
- * If we have max/min bounds that in the same
919
- * month/year as the refParts, we should
920
- * use the define day as the max/min day.
921
- * Otherwise, fallback to the max/min days in a month.
922
- */
923
- const numDaysInMonth = getNumDaysInMonth(month, year);
924
- const maxDay = (maxParts === null || maxParts === void 0 ? void 0 : maxParts.day) && maxParts.year === year && maxParts.month === month ? maxParts.day : numDaysInMonth;
925
- const minDay = (minParts === null || minParts === void 0 ? void 0 : minParts.day) && minParts.year === year && minParts.month === month ? minParts.day : 1;
926
- if (dayValues !== undefined) {
927
- let processedDays = dayValues;
928
- processedDays = processedDays.filter((day) => day >= minDay && day <= maxDay);
929
- processedDays.forEach((processedDay) => {
930
- const date = new Date(`${month}/${processedDay}/${year} GMT+0000`);
931
- const dayString = new Intl.DateTimeFormat(locale, Object.assign(Object.assign({}, formatOptions), { timeZone: 'UTC' })).format(date);
932
- days.push({ text: dayString, value: processedDay });
933
- });
934
- }
935
- else {
936
- for (let i = minDay; i <= maxDay; i++) {
937
- const date = new Date(`${month}/${i}/${year} GMT+0000`);
938
- const dayString = new Intl.DateTimeFormat(locale, Object.assign(Object.assign({}, formatOptions), { timeZone: 'UTC' })).format(date);
939
- days.push({ text: dayString, value: i });
940
- }
941
- }
942
- return days;
943
- };
944
- const getYearColumnData = (refParts, minParts, maxParts, yearValues) => {
945
- let processedYears = [];
946
- if (yearValues !== undefined) {
947
- processedYears = yearValues;
948
- if ((maxParts === null || maxParts === void 0 ? void 0 : maxParts.year) !== undefined) {
949
- processedYears = processedYears.filter((year) => year <= maxParts.year);
950
- }
951
- if ((minParts === null || minParts === void 0 ? void 0 : minParts.year) !== undefined) {
952
- processedYears = processedYears.filter((year) => year >= minParts.year);
953
- }
954
- }
955
- else {
956
- const { year } = refParts;
957
- const maxYear = (maxParts === null || maxParts === void 0 ? void 0 : maxParts.year) || year;
958
- const minYear = (minParts === null || minParts === void 0 ? void 0 : minParts.year) || year - 100;
959
- for (let i = maxYear; i >= minYear; i--) {
960
- processedYears.push(i);
961
- }
962
- }
963
- return processedYears.map((year) => ({
964
- text: `${year}`,
965
- value: year,
966
- }));
967
- };
968
- /**
969
- * Given a starting date and an upper bound,
970
- * this functions returns an array of all
971
- * month objects in that range.
972
- */
973
- const getAllMonthsInRange = (currentParts, maxParts) => {
974
- if (currentParts.month === maxParts.month && currentParts.year === maxParts.year) {
975
- return [currentParts];
976
- }
977
- return [currentParts, ...getAllMonthsInRange(getNextMonth(currentParts), maxParts)];
978
- };
979
- /**
980
- * Creates and returns picker items
981
- * that represent the days in a month.
982
- * Example: "Thu, Jun 2"
983
- */
984
- const getCombinedDateColumnData = (locale, refParts, todayParts, minParts, maxParts, dayValues, monthValues) => {
985
- let items = [];
986
- let parts = [];
987
- /**
988
- * Get all month objects from the min date
989
- * to the max date. Note: Do not use getMonthColumnData
990
- * as that function only generates dates within a
991
- * single year.
992
- */
993
- let months = getAllMonthsInRange(minParts, maxParts);
994
- /**
995
- * Filter out any disallowed month values.
996
- */
997
- if (monthValues) {
998
- months = months.filter(({ month }) => monthValues.includes(month));
999
- }
1000
- /**
1001
- * Get all of the days in the month.
1002
- * From there, generate an array where
1003
- * each item has the month, date, and day
1004
- * of work as the text.
1005
- */
1006
- months.forEach((monthObject) => {
1007
- const referenceMonth = { month: monthObject.month, day: null, year: refParts.year };
1008
- const monthDays = getDayColumnData(locale, referenceMonth, minParts, maxParts, dayValues, {
1009
- month: 'short',
1010
- day: 'numeric',
1011
- weekday: 'short',
1012
- });
1013
- const dateParts = [];
1014
- const dateColumnItems = [];
1015
- monthDays.forEach((dayObject) => {
1016
- const isToday = isSameDay(Object.assign(Object.assign({}, referenceMonth), { day: dayObject.value }), todayParts);
1017
- /**
1018
- * Today's date should read as "Today" (localized)
1019
- * not the actual date string
1020
- */
1021
- dateColumnItems.push({
1022
- text: isToday ? getTodayLabel(locale) : dayObject.text,
1023
- value: `${refParts.year}-${monthObject.month}-${dayObject.value}`,
1024
- });
1025
- /**
1026
- * When selecting a date in the wheel picker
1027
- * we need access to the raw datetime parts data.
1028
- * The picker column only accepts values of
1029
- * type string or number, so we need to return
1030
- * two sets of data: A data set to be passed
1031
- * to the picker column, and a data set to
1032
- * be used to reference the raw data when
1033
- * updating the picker column value.
1034
- */
1035
- dateParts.push({
1036
- month: monthObject.month,
1037
- year: refParts.year,
1038
- day: dayObject.value,
1039
- });
1040
- });
1041
- parts = [...parts, ...dateParts];
1042
- items = [...items, ...dateColumnItems];
1043
- });
1044
- return {
1045
- parts,
1046
- items,
1047
- };
1048
- };
1049
- const getTimeColumnsData = (locale, refParts, hourCycle, minParts, maxParts, allowedHourValues, allowedMinuteVaues) => {
1050
- const use24Hour = is24Hour(locale, hourCycle);
1051
- const { hours, minutes, am, pm } = generateTime(refParts, use24Hour ? 'h23' : 'h12', minParts, maxParts, allowedHourValues, allowedMinuteVaues);
1052
- const hoursItems = hours.map((hour) => {
1053
- return {
1054
- text: getFormattedHour(hour, use24Hour),
1055
- value: getInternalHourValue(hour, use24Hour, refParts.ampm),
1056
- };
1057
- });
1058
- const minutesItems = minutes.map((minute) => {
1059
- return {
1060
- text: addTimePadding(minute),
1061
- value: minute,
1062
- };
1063
- });
1064
- const dayPeriodItems = [];
1065
- if (am && !use24Hour) {
1066
- dayPeriodItems.push({
1067
- text: getLocalizedDayPeriod(locale, 'am'),
1068
- value: 'am',
1069
- });
1070
- }
1071
- if (pm && !use24Hour) {
1072
- dayPeriodItems.push({
1073
- text: getLocalizedDayPeriod(locale, 'pm'),
1074
- value: 'pm',
1075
- });
1076
- }
1077
- return {
1078
- minutesData: minutesItems,
1079
- hoursData: hoursItems,
1080
- dayPeriodData: dayPeriodItems,
1081
- };
1082
- };
1083
-
1084
- /*!
1085
- * (C) Ionic http://ionicframework.com - MIT License
1086
- */
1087
- const ISO_8601_REGEXP =
1088
- // eslint-disable-next-line no-useless-escape
1089
- /^(\d{4}|[+\-]\d{6})(?:-(\d{2})(?:-(\d{2}))?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{3}))?)?(?:(Z)|([+\-])(\d{2})(?::(\d{2}))?)?)?$/;
1090
- // eslint-disable-next-line no-useless-escape
1091
- const TIME_REGEXP = /^((\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{3}))?)?(?:(Z)|([+\-])(\d{2})(?::(\d{2}))?)?)?$/;
1092
- /**
1093
- * Use to convert a string of comma separated numbers or
1094
- * an array of numbers, and clean up any user input
1095
- */
1096
- const convertToArrayOfNumbers = (input) => {
1097
- if (input === undefined) {
1098
- return;
1099
- }
1100
- let processedInput = input;
1101
- if (typeof input === 'string') {
1102
- // convert the string to an array of strings
1103
- // auto remove any whitespace and [] characters
1104
- processedInput = input.replace(/\[|\]|\s/g, '').split(',');
1105
- }
1106
- let values;
1107
- if (Array.isArray(processedInput)) {
1108
- // ensure each value is an actual number in the returned array
1109
- values = processedInput.map((num) => parseInt(num, 10)).filter(isFinite);
1110
- }
1111
- else {
1112
- values = [processedInput];
1113
- }
1114
- return values;
1115
- };
1116
- /**
1117
- * Extracts date information
1118
- * from a .calendar-day element
1119
- * into DatetimeParts.
1120
- */
1121
- const getPartsFromCalendarDay = (el) => {
1122
- return {
1123
- month: parseInt(el.getAttribute('data-month'), 10),
1124
- day: parseInt(el.getAttribute('data-day'), 10),
1125
- year: parseInt(el.getAttribute('data-year'), 10),
1126
- dayOfWeek: parseInt(el.getAttribute('data-day-of-week'), 10),
1127
- };
1128
- };
1129
- function parseDate(val) {
1130
- if (Array.isArray(val)) {
1131
- return val.map((valStr) => parseDate(valStr));
1132
- }
1133
- // manually parse IS0 cuz Date.parse cannot be trusted
1134
- // ISO 8601 format: 1994-12-15T13:47:20Z
1135
- let parse = null;
1136
- if (val != null && val !== '') {
1137
- // try parsing for just time first, HH:MM
1138
- parse = TIME_REGEXP.exec(val);
1139
- if (parse) {
1140
- // adjust the array so it fits nicely with the datetime parse
1141
- parse.unshift(undefined, undefined);
1142
- parse[2] = parse[3] = undefined;
1143
- }
1144
- else {
1145
- // try parsing for full ISO datetime
1146
- parse = ISO_8601_REGEXP.exec(val);
1147
- }
1148
- }
1149
- if (parse === null) {
1150
- // wasn't able to parse the ISO datetime
1151
- return undefined;
1152
- }
1153
- // ensure all the parse values exist with at least 0
1154
- for (let i = 1; i < 8; i++) {
1155
- parse[i] = parse[i] !== undefined ? parseInt(parse[i], 10) : undefined;
1156
- }
1157
- let tzOffset = 0;
1158
- if (parse[9] && parse[10]) {
1159
- // hours
1160
- tzOffset = parseInt(parse[10], 10) * 60;
1161
- if (parse[11]) {
1162
- // minutes
1163
- tzOffset += parseInt(parse[11], 10);
1164
- }
1165
- if (parse[9] === '-') {
1166
- // + or -
1167
- tzOffset *= -1;
1168
- }
1169
- }
1170
- // can also get second and millisecond from parse[6] and parse[7] if needed
1171
- return {
1172
- year: parse[1],
1173
- month: parse[2],
1174
- day: parse[3],
1175
- hour: parse[4],
1176
- minute: parse[5],
1177
- tzOffset,
1178
- };
1179
- }
1180
- const clampDate = (dateParts, minParts, maxParts) => {
1181
- if (minParts && isBefore(dateParts, minParts)) {
1182
- return minParts;
1183
- }
1184
- else if (maxParts && isAfter(dateParts, maxParts)) {
1185
- return maxParts;
1186
- }
1187
- return dateParts;
1188
- };
1189
- /**
1190
- * Parses an hour and returns if the value is in the morning (am) or afternoon (pm).
1191
- * @param hour The hour to format, should be 0-23
1192
- * @returns `pm` if the hour is greater than or equal to 12, `am` if less than 12.
1193
- */
1194
- const parseAmPm = (hour) => {
1195
- return hour >= 12 ? 'pm' : 'am';
1196
- };
1197
-
1198
- exports.calculateHourFromAMPM = calculateHourFromAMPM;
1199
- exports.clampDate = clampDate;
1200
- exports.convertDataToISO = convertDataToISO;
1201
- exports.convertToArrayOfNumbers = convertToArrayOfNumbers;
1202
- exports.formatValue = formatValue;
1203
- exports.generateDayAriaLabel = generateDayAriaLabel;
1204
- exports.generateMonths = generateMonths;
1205
- exports.getCombinedDateColumnData = getCombinedDateColumnData;
1206
- exports.getDayColumnData = getDayColumnData;
1207
- exports.getDaysOfMonth = getDaysOfMonth;
1208
- exports.getDaysOfWeek = getDaysOfWeek;
1209
- exports.getEndOfWeek = getEndOfWeek;
1210
- exports.getLocalizedDateTime = getLocalizedDateTime;
1211
- exports.getLocalizedTime = getLocalizedTime;
1212
- exports.getMonthAndDay = getMonthAndDay;
1213
- exports.getMonthAndYear = getMonthAndYear;
1214
- exports.getMonthColumnData = getMonthColumnData;
1215
- exports.getMonthDayAndYear = getMonthDayAndYear;
1216
- exports.getNextDay = getNextDay;
1217
- exports.getNextMonth = getNextMonth;
1218
- exports.getNextWeek = getNextWeek;
1219
- exports.getNextYear = getNextYear;
1220
- exports.getPartsFromCalendarDay = getPartsFromCalendarDay;
1221
- exports.getPreviousDay = getPreviousDay;
1222
- exports.getPreviousMonth = getPreviousMonth;
1223
- exports.getPreviousWeek = getPreviousWeek;
1224
- exports.getPreviousYear = getPreviousYear;
1225
- exports.getStartOfWeek = getStartOfWeek;
1226
- exports.getTimeColumnsData = getTimeColumnsData;
1227
- exports.getToday = getToday;
1228
- exports.getYearColumnData = getYearColumnData;
1229
- exports.is24Hour = is24Hour;
1230
- exports.isAfter = isAfter;
1231
- exports.isBefore = isBefore;
1232
- exports.isLocaleDayPeriodRTL = isLocaleDayPeriodRTL;
1233
- exports.isMonthFirstLocale = isMonthFirstLocale;
1234
- exports.isSameDay = isSameDay;
1235
- exports.parseAmPm = parseAmPm;
1236
- exports.parseDate = parseDate;
1237
- exports.warnIfValueOutOfBounds = warnIfValueOutOfBounds;