@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,1711 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index$2 = require('./index-51e8292e.js');
6
- const ionicGlobal = require('./ionic-global-2cde9d3a.js');
7
- const index$1 = require('./index-9c7b27e4.js');
8
- const frameworkDelegate = require('./framework-delegate-59a98abd.js');
9
- const helpers = require('./helpers-c2496722.js');
10
- const keyboard = require('./keyboard-91096619.js');
11
- const index$3 = require('./index-e56e09b8.js');
12
- const overlays = require('./overlays-32df265a.js');
13
- const theme = require('./theme-b0b295c1.js');
14
- const index$4 = require('./index-787d4498.js');
15
- const animation = require('./animation-ee586546.js');
16
- const cubicBezier = require('./cubic-bezier-53d26d05.js');
17
- const index = require('./index-12082cba.js');
18
- require('./hardware-back-button-92d97ff8.js');
19
- require('./gesture-controller-0eb5579e.js');
20
-
21
- /*!
22
- * (C) Ionic http://ionicframework.com - MIT License
23
- */
24
- /**
25
- * When accessing the window, it is important
26
- * to account for SSR applications where the
27
- * window is not available. Code that accesses
28
- * window when it is not available will crash.
29
- * Even checking if `window === undefined` will cause
30
- * apps to crash in SSR.
31
- *
32
- * Use win below to access an SSR-safe version
33
- * of the window.
34
- *
35
- * Example 1:
36
- * Before:
37
- * if (window.innerWidth > 768) { ... }
38
- *
39
- * After:
40
- * import { win } from 'path/to/this/file';
41
- * if (win?.innerWidth > 768) { ... }
42
- *
43
- * Note: Code inside of this if-block will
44
- * not run in an SSR environment.
45
- */
46
- const win = typeof window !== 'undefined' ? window : undefined;
47
-
48
- /*!
49
- * (C) Ionic http://ionicframework.com - MIT License
50
- */
51
- var Style;
52
- (function (Style) {
53
- Style["Dark"] = "DARK";
54
- Style["Light"] = "LIGHT";
55
- Style["Default"] = "DEFAULT";
56
- })(Style || (Style = {}));
57
- const StatusBar = {
58
- getEngine() {
59
- var _a, _b, _c;
60
- return ((_b = (_a = win) === null || _a === void 0 ? void 0 : _a.Capacitor) === null || _b === void 0 ? void 0 : _b.isPluginAvailable('StatusBar')) && ((_c = win) === null || _c === void 0 ? void 0 : _c.Capacitor.Plugins.StatusBar);
61
- },
62
- supportsDefaultStatusBarStyle() {
63
- var _a, _b;
64
- /**
65
- * The 'DEFAULT' status bar style was added
66
- * to the @capacitor/status-bar plugin in Capacitor 3.
67
- * PluginHeaders is only supported in Capacitor 3+,
68
- * so we can use this to detect Capacitor 3.
69
- */
70
- return !!((_b = (_a = win) === null || _a === void 0 ? void 0 : _a.Capacitor) === null || _b === void 0 ? void 0 : _b.PluginHeaders);
71
- },
72
- setStyle(options) {
73
- const engine = this.getEngine();
74
- if (!engine) {
75
- return;
76
- }
77
- engine.setStyle(options);
78
- },
79
- };
80
-
81
- /*!
82
- * (C) Ionic http://ionicframework.com - MIT License
83
- */
84
- /**
85
- * Use y = mx + b to
86
- * figure out the backdrop value
87
- * at a particular x coordinate. This
88
- * is useful when the backdrop does
89
- * not begin to fade in until after
90
- * the 0 breakpoint.
91
- */
92
- const getBackdropValueForSheet = (x, backdropBreakpoint) => {
93
- /**
94
- * We will use these points:
95
- * (backdropBreakpoint, 0)
96
- * (maxBreakpoint, 1)
97
- * We know that at the beginning breakpoint,
98
- * the backdrop will be hidden. We also
99
- * know that at the maxBreakpoint, the backdrop
100
- * must be fully visible. maxBreakpoint should
101
- * always be 1 even if the maximum value
102
- * of the breakpoints array is not 1 since
103
- * the animation runs from a progress of 0
104
- * to a progress of 1.
105
- * m = (y2 - y1) / (x2 - x1)
106
- *
107
- * This is simplified from:
108
- * m = (1 - 0) / (maxBreakpoint - backdropBreakpoint)
109
- *
110
- * If the backdropBreakpoint is 1, we return 0 as the
111
- * backdrop is completely hidden.
112
- *
113
- */
114
- if (backdropBreakpoint === 1) {
115
- return 0;
116
- }
117
- const slope = 1 / (1 - backdropBreakpoint);
118
- /**
119
- * From here, compute b which is
120
- * the backdrop opacity if the offset
121
- * is 0. If the backdrop does not
122
- * begin to fade in until after the
123
- * 0 breakpoint, this b value will be
124
- * negative. This is fine as we never pass
125
- * b directly into the animation keyframes.
126
- * b = y - mx
127
- * Use a known point: (backdropBreakpoint, 0)
128
- * This is simplified from:
129
- * b = 0 - (backdropBreakpoint * slope)
130
- */
131
- const b = -(backdropBreakpoint * slope);
132
- /**
133
- * Finally, we can now determine the
134
- * backdrop offset given an arbitrary
135
- * gesture offset.
136
- */
137
- return x * slope + b;
138
- };
139
- /**
140
- * The tablet/desktop card modal activates
141
- * when the window width is >= 768.
142
- * At that point, the presenting element
143
- * is not transformed, so we do not need to
144
- * adjust the status bar color.
145
- *
146
- * Note: We check supportsDefaultStatusBarStyle so that
147
- * Capacitor <= 2 users do not get their status bar
148
- * stuck in an inconsistent state due to a lack of
149
- * support for Style.Default.
150
- */
151
- const setCardStatusBarDark = () => {
152
- if (!win || win.innerWidth >= 768 || !StatusBar.supportsDefaultStatusBarStyle()) {
153
- return;
154
- }
155
- StatusBar.setStyle({ style: Style.Dark });
156
- };
157
- const setCardStatusBarDefault = () => {
158
- if (!win || win.innerWidth >= 768 || !StatusBar.supportsDefaultStatusBarStyle()) {
159
- return;
160
- }
161
- StatusBar.setStyle({ style: Style.Default });
162
- };
163
-
164
- /*!
165
- * (C) Ionic http://ionicframework.com - MIT License
166
- */
167
- const handleCanDismiss = async (el, animation) => {
168
- /**
169
- * If canDismiss is not a function
170
- * then we can return early. If canDismiss is `true`,
171
- * then canDismissBlocksGesture is `false` as canDismiss
172
- * will never interrupt the gesture. As a result,
173
- * this code block is never reached. If canDismiss is `false`,
174
- * then we never dismiss.
175
- */
176
- if (typeof el.canDismiss !== 'function') {
177
- return;
178
- }
179
- /**
180
- * Run the canDismiss callback.
181
- * If the function returns `true`,
182
- * then we can proceed with dismiss.
183
- */
184
- const shouldDismiss = await el.canDismiss();
185
- if (!shouldDismiss) {
186
- return;
187
- }
188
- /**
189
- * If canDismiss resolved after the snap
190
- * back animation finished, we can
191
- * dismiss immediately.
192
- *
193
- * If canDismiss resolved before the snap
194
- * back animation finished, we need to
195
- * wait until the snap back animation is
196
- * done before dismissing.
197
- */
198
- if (animation.isRunning()) {
199
- animation.onFinish(() => {
200
- el.dismiss(undefined, 'handler');
201
- }, { oneTimeCallback: true });
202
- }
203
- else {
204
- el.dismiss(undefined, 'handler');
205
- }
206
- };
207
- /**
208
- * This function lets us simulate a realistic spring-like animation
209
- * when swiping down on the modal.
210
- * There are two forces that we need to use to compute the spring physics:
211
- *
212
- * 1. Stiffness, k: This is a measure of resistance applied a spring.
213
- * 2. Dampening, c: This value has the effect of reducing or preventing oscillation.
214
- *
215
- * Using these two values, we can calculate the Spring Force and the Dampening Force
216
- * to compute the total force applied to a spring.
217
- *
218
- * Spring Force: This force pulls a spring back into its equilibrium position.
219
- * Hooke's Law tells us that that spring force (FS) = kX.
220
- * k is the stiffness of a spring, and X is the displacement of the spring from its
221
- * equilibrium position. In this case, it is the amount by which the free end
222
- * of a spring was displaced (stretched/pushed) from its "relaxed" position.
223
- *
224
- * Dampening Force: This force slows down motion. Without it, a spring would oscillate forever.
225
- * The dampening force, FD, can be found via this formula: FD = -cv
226
- * where c the dampening value and v is velocity.
227
- *
228
- * Therefore, the resulting force that is exerted on the block is:
229
- * F = FS + FD = -kX - cv
230
- *
231
- * Newton's 2nd Law tells us that F = ma:
232
- * ma = -kX - cv.
233
- *
234
- * For Ionic's purposes, we can assume that m = 1:
235
- * a = -kX - cv
236
- *
237
- * Imagine a block attached to the end of a spring. At equilibrium
238
- * the block is at position x = 1.
239
- * Pressing on the block moves it to position x = 0;
240
- * So, to calculate the displacement, we need to take the
241
- * current position and subtract the previous position from it.
242
- * X = x - x0 = 0 - 1 = -1.
243
- *
244
- * For Ionic's purposes, we are only pushing on the spring modal
245
- * so we have a max position of 1.
246
- * As a result, we can expand displacement to this formula:
247
- * X = x - 1
248
- *
249
- * a = -k(x - 1) - cv
250
- *
251
- * We can represent the motion of something as a function of time: f(t) = x.
252
- * The derivative of position gives us the velocity: f'(t)
253
- * The derivative of the velocity gives us the acceleration: f''(t)
254
- *
255
- * We can substitute the formula above with these values:
256
- *
257
- * f"(t) = -k * (f(t) - 1) - c * f'(t)
258
- *
259
- * This is called a differential equation.
260
- *
261
- * We know that at t = 0, we are at x = 0 because the modal does not move: f(0) = 0
262
- * This means our velocity is also zero: f'(0) = 0.
263
- *
264
- * We can cheat a bit and plug the formula into Wolfram Alpha.
265
- * However, we need to pick stiffness and dampening values:
266
- * k = 0.57
267
- * c = 15
268
- *
269
- * I picked these as they are fairly close to native iOS's spring effect
270
- * with the modal.
271
- *
272
- * What we plug in is this: f(0) = 0; f'(0) = 0; f''(t) = -0.57(f(t) - 1) - 15f'(t)
273
- *
274
- * The result is a formula that lets us calculate the acceleration
275
- * for a given time t.
276
- * Note: This is the approximate form of the solution. Wolfram Alpha will
277
- * give you a complex differential equation too.
278
- */
279
- const calculateSpringStep = (t) => {
280
- return 0.00255275 * 2.71828 ** (-14.9619 * t) - 1.00255 * 2.71828 ** (-0.0380968 * t) + 1;
281
- };
282
-
283
- /*!
284
- * (C) Ionic http://ionicframework.com - MIT License
285
- */
286
- // Defaults for the card swipe animation
287
- const SwipeToCloseDefaults = {
288
- MIN_PRESENTING_SCALE: 0.93,
289
- };
290
- const createSwipeToCloseGesture = (el, animation, onDismiss) => {
291
- /**
292
- * The step value at which a card modal
293
- * is eligible for dismissing via gesture.
294
- */
295
- const DISMISS_THRESHOLD = 0.5;
296
- const height = el.offsetHeight;
297
- let isOpen = false;
298
- let canDismissBlocksGesture = false;
299
- let contentEl = null;
300
- let scrollEl = null;
301
- const canDismissMaxStep = 0.2;
302
- let initialScrollY = true;
303
- let lastStep = 0;
304
- const getScrollY = () => {
305
- if (contentEl && index$1.isIonContent(contentEl)) {
306
- return contentEl.scrollY;
307
- /**
308
- * Custom scroll containers are intended to be
309
- * used with virtual scrolling, so we assume
310
- * there is scrolling in this case.
311
- */
312
- }
313
- else {
314
- return true;
315
- }
316
- };
317
- const canStart = (detail) => {
318
- const target = detail.event.target;
319
- if (target === null || !target.closest) {
320
- return true;
321
- }
322
- /**
323
- * If we are swiping on the content,
324
- * swiping should only be possible if
325
- * the content is scrolled all the way
326
- * to the top so that we do not interfere
327
- * with scrolling.
328
- *
329
- * We cannot assume that the `ion-content`
330
- * target will remain consistent between
331
- * swipes. For example, when using
332
- * ion-nav within a card modal it is
333
- * possible to swipe, push a view, and then
334
- * swipe again. The target content will not
335
- * be the same between swipes.
336
- */
337
- contentEl = index$1.findClosestIonContent(target);
338
- if (contentEl) {
339
- /**
340
- * The card should never swipe to close
341
- * on the content with a refresher.
342
- * Note: We cannot solve this by making the
343
- * swipeToClose gesture have a higher priority
344
- * than the refresher gesture as the iOS native
345
- * refresh gesture uses a scroll listener in
346
- * addition to a gesture.
347
- *
348
- * Note: Do not use getScrollElement here
349
- * because we need this to be a synchronous
350
- * operation, and getScrollElement is
351
- * asynchronous.
352
- */
353
- if (index$1.isIonContent(contentEl)) {
354
- const root = helpers.getElementRoot(contentEl);
355
- scrollEl = root.querySelector('.inner-scroll');
356
- }
357
- else {
358
- scrollEl = contentEl;
359
- }
360
- const hasRefresherInContent = !!contentEl.querySelector('ion-refresher');
361
- return !hasRefresherInContent && scrollEl.scrollTop === 0;
362
- }
363
- /**
364
- * Card should be swipeable on all
365
- * parts of the modal except for the footer.
366
- */
367
- const footer = target.closest('ion-footer');
368
- if (footer === null) {
369
- return true;
370
- }
371
- return false;
372
- };
373
- const onStart = (detail) => {
374
- const { deltaY } = detail;
375
- /**
376
- * Get the initial scrollY value so
377
- * that we can correctly reset the scrollY
378
- * prop when the gesture ends.
379
- */
380
- initialScrollY = getScrollY();
381
- /**
382
- * If canDismiss is anything other than `true`
383
- * then users should be able to swipe down
384
- * until a threshold is hit. At that point,
385
- * the card modal should not proceed any further.
386
- * TODO (FW-937)
387
- * Remove undefined check
388
- */
389
- canDismissBlocksGesture = el.canDismiss !== undefined && el.canDismiss !== true;
390
- /**
391
- * If we are pulling down, then
392
- * it is possible we are pulling on the
393
- * content. We do not want scrolling to
394
- * happen at the same time as the gesture.
395
- */
396
- if (deltaY > 0 && contentEl) {
397
- index$1.disableContentScrollY(contentEl);
398
- }
399
- animation.progressStart(true, isOpen ? 1 : 0);
400
- };
401
- const onMove = (detail) => {
402
- const { deltaY } = detail;
403
- /**
404
- * If we are pulling down, then
405
- * it is possible we are pulling on the
406
- * content. We do not want scrolling to
407
- * happen at the same time as the gesture.
408
- */
409
- if (deltaY > 0 && contentEl) {
410
- index$1.disableContentScrollY(contentEl);
411
- }
412
- /**
413
- * If we are swiping on the content
414
- * then the swipe gesture should only
415
- * happen if we are pulling down.
416
- *
417
- * However, if we pull up and
418
- * then down such that the scroll position
419
- * returns to 0, we should be able to swipe
420
- * the card.
421
- */
422
- const step = detail.deltaY / height;
423
- /**
424
- * Check if user is swiping down and
425
- * if we have a canDismiss value that
426
- * should block the gesture from
427
- * proceeding,
428
- */
429
- const isAttempingDismissWithCanDismiss = step >= 0 && canDismissBlocksGesture;
430
- /**
431
- * If we are blocking the gesture from dismissing,
432
- * set the max step value so that the sheet cannot be
433
- * completely hidden.
434
- */
435
- const maxStep = isAttempingDismissWithCanDismiss ? canDismissMaxStep : 0.9999;
436
- /**
437
- * If we are blocking the gesture from
438
- * dismissing, calculate the spring modifier value
439
- * this will be added to the starting breakpoint
440
- * value to give the gesture a spring-like feeling.
441
- * Note that the starting breakpoint is always 0,
442
- * so we omit adding 0 to the result.
443
- */
444
- const processedStep = isAttempingDismissWithCanDismiss ? calculateSpringStep(step / maxStep) : step;
445
- const clampedStep = helpers.clamp(0.0001, processedStep, maxStep);
446
- animation.progressStep(clampedStep);
447
- /**
448
- * When swiping down half way, the status bar style
449
- * should be reset to its default value.
450
- *
451
- * We track lastStep so that we do not fire these
452
- * functions on every onMove, only when the user has
453
- * crossed a certain threshold.
454
- */
455
- if (clampedStep >= DISMISS_THRESHOLD && lastStep < DISMISS_THRESHOLD) {
456
- setCardStatusBarDefault();
457
- /**
458
- * However, if we swipe back up, then the
459
- * status bar style should be set to have light
460
- * text on a dark background.
461
- */
462
- }
463
- else if (clampedStep < DISMISS_THRESHOLD && lastStep >= DISMISS_THRESHOLD) {
464
- setCardStatusBarDark();
465
- }
466
- lastStep = clampedStep;
467
- };
468
- const onEnd = (detail) => {
469
- const velocity = detail.velocityY;
470
- const step = detail.deltaY / height;
471
- const isAttempingDismissWithCanDismiss = step >= 0 && canDismissBlocksGesture;
472
- const maxStep = isAttempingDismissWithCanDismiss ? canDismissMaxStep : 0.9999;
473
- const processedStep = isAttempingDismissWithCanDismiss ? calculateSpringStep(step / maxStep) : step;
474
- const clampedStep = helpers.clamp(0.0001, processedStep, maxStep);
475
- const threshold = (detail.deltaY + velocity * 1000) / height;
476
- /**
477
- * If canDismiss blocks
478
- * the swipe gesture, then the
479
- * animation can never complete until
480
- * canDismiss is checked.
481
- */
482
- const shouldComplete = !isAttempingDismissWithCanDismiss && threshold >= DISMISS_THRESHOLD;
483
- let newStepValue = shouldComplete ? -0.001 : 0.001;
484
- if (!shouldComplete) {
485
- animation.easing('cubic-bezier(1, 0, 0.68, 0.28)');
486
- newStepValue += cubicBezier.getTimeGivenProgression([0, 0], [1, 0], [0.68, 0.28], [1, 1], clampedStep)[0];
487
- }
488
- else {
489
- animation.easing('cubic-bezier(0.32, 0.72, 0, 1)');
490
- newStepValue += cubicBezier.getTimeGivenProgression([0, 0], [0.32, 0.72], [0, 1], [1, 1], clampedStep)[0];
491
- }
492
- const duration = shouldComplete
493
- ? computeDuration(step * height, velocity)
494
- : computeDuration((1 - clampedStep) * height, velocity);
495
- isOpen = shouldComplete;
496
- gesture.enable(false);
497
- if (contentEl) {
498
- index$1.resetContentScrollY(contentEl, initialScrollY);
499
- }
500
- animation
501
- .onFinish(() => {
502
- if (!shouldComplete) {
503
- gesture.enable(true);
504
- }
505
- })
506
- .progressEnd(shouldComplete ? 1 : 0, newStepValue, duration);
507
- /**
508
- * If the canDismiss value blocked the gesture
509
- * from proceeding, then we should ignore whatever
510
- * shouldComplete is. Whether or not the modal
511
- * animation should complete is now determined by
512
- * canDismiss.
513
- *
514
- * If the user swiped >25% of the way
515
- * to the max step, then we should
516
- * check canDismiss. 25% was chosen
517
- * to avoid accidental swipes.
518
- */
519
- if (isAttempingDismissWithCanDismiss && clampedStep > maxStep / 4) {
520
- handleCanDismiss(el, animation);
521
- }
522
- else if (shouldComplete) {
523
- onDismiss();
524
- }
525
- };
526
- const gesture = index.createGesture({
527
- el,
528
- gestureName: 'modalSwipeToClose',
529
- gesturePriority: 39,
530
- direction: 'y',
531
- threshold: 10,
532
- canStart,
533
- onStart,
534
- onMove,
535
- onEnd,
536
- });
537
- return gesture;
538
- };
539
- const computeDuration = (remaining, velocity) => {
540
- return helpers.clamp(400, remaining / Math.abs(velocity * 1.1), 500);
541
- };
542
-
543
- /*!
544
- * (C) Ionic http://ionicframework.com - MIT License
545
- */
546
- const createSheetEnterAnimation = (opts) => {
547
- const { currentBreakpoint, backdropBreakpoint } = opts;
548
- /**
549
- * If the backdropBreakpoint is undefined, then the backdrop
550
- * should always fade in. If the backdropBreakpoint came before the
551
- * current breakpoint, then the backdrop should be fading in.
552
- */
553
- const shouldShowBackdrop = backdropBreakpoint === undefined || backdropBreakpoint < currentBreakpoint;
554
- const initialBackdrop = shouldShowBackdrop ? `calc(var(--backdrop-opacity) * ${currentBreakpoint})` : '0';
555
- const backdropAnimation = animation.createAnimation('backdropAnimation').fromTo('opacity', 0, initialBackdrop);
556
- if (shouldShowBackdrop) {
557
- backdropAnimation
558
- .beforeStyles({
559
- 'pointer-events': 'none',
560
- })
561
- .afterClearStyles(['pointer-events']);
562
- }
563
- const wrapperAnimation = animation.createAnimation('wrapperAnimation').keyframes([
564
- { offset: 0, opacity: 1, transform: 'translateY(100%)' },
565
- { offset: 1, opacity: 1, transform: `translateY(${100 - currentBreakpoint * 100}%)` },
566
- ]);
567
- return { wrapperAnimation, backdropAnimation };
568
- };
569
- const createSheetLeaveAnimation = (opts) => {
570
- const { currentBreakpoint, backdropBreakpoint } = opts;
571
- /**
572
- * Backdrop does not always fade in from 0 to 1 if backdropBreakpoint
573
- * is defined, so we need to account for that offset by figuring out
574
- * what the current backdrop value should be.
575
- */
576
- const backdropValue = `calc(var(--backdrop-opacity) * ${getBackdropValueForSheet(currentBreakpoint, backdropBreakpoint)})`;
577
- const defaultBackdrop = [
578
- { offset: 0, opacity: backdropValue },
579
- { offset: 1, opacity: 0 },
580
- ];
581
- const customBackdrop = [
582
- { offset: 0, opacity: backdropValue },
583
- { offset: backdropBreakpoint, opacity: 0 },
584
- { offset: 1, opacity: 0 },
585
- ];
586
- const backdropAnimation = animation.createAnimation('backdropAnimation').keyframes(backdropBreakpoint !== 0 ? customBackdrop : defaultBackdrop);
587
- const wrapperAnimation = animation.createAnimation('wrapperAnimation').keyframes([
588
- { offset: 0, opacity: 1, transform: `translateY(${100 - currentBreakpoint * 100}%)` },
589
- { offset: 1, opacity: 1, transform: `translateY(100%)` },
590
- ]);
591
- return { wrapperAnimation, backdropAnimation };
592
- };
593
-
594
- /*!
595
- * (C) Ionic http://ionicframework.com - MIT License
596
- */
597
- const createEnterAnimation$1 = () => {
598
- const backdropAnimation = animation.createAnimation()
599
- .fromTo('opacity', 0.01, 'var(--backdrop-opacity)')
600
- .beforeStyles({
601
- 'pointer-events': 'none',
602
- })
603
- .afterClearStyles(['pointer-events']);
604
- const wrapperAnimation = animation.createAnimation().fromTo('transform', 'translateY(100vh)', 'translateY(0vh)');
605
- return { backdropAnimation, wrapperAnimation };
606
- };
607
- /**
608
- * iOS Modal Enter Animation for the Card presentation style
609
- */
610
- const iosEnterAnimation = (baseEl, opts) => {
611
- const { presentingEl, currentBreakpoint } = opts;
612
- const root = helpers.getElementRoot(baseEl);
613
- const { wrapperAnimation, backdropAnimation } = currentBreakpoint !== undefined ? createSheetEnterAnimation(opts) : createEnterAnimation$1();
614
- backdropAnimation.addElement(root.querySelector('ion-backdrop'));
615
- wrapperAnimation.addElement(root.querySelectorAll('.modal-wrapper, .modal-shadow')).beforeStyles({ opacity: 1 });
616
- const baseAnimation = animation.createAnimation('entering-base')
617
- .addElement(baseEl)
618
- .easing('cubic-bezier(0.32,0.72,0,1)')
619
- .duration(500)
620
- .addAnimation(wrapperAnimation);
621
- if (presentingEl) {
622
- const isMobile = window.innerWidth < 768;
623
- const hasCardModal = presentingEl.tagName === 'ION-MODAL' && presentingEl.presentingElement !== undefined;
624
- const presentingElRoot = helpers.getElementRoot(presentingEl);
625
- const presentingAnimation = animation.createAnimation().beforeStyles({
626
- transform: 'translateY(0)',
627
- 'transform-origin': 'top center',
628
- overflow: 'hidden',
629
- });
630
- const bodyEl = document.body;
631
- if (isMobile) {
632
- /**
633
- * Fallback for browsers that does not support `max()` (ex: Firefox)
634
- * No need to worry about statusbar padding since engines like Gecko
635
- * are not used as the engine for standalone Cordova/Capacitor apps
636
- */
637
- const transformOffset = !CSS.supports('width', 'max(0px, 1px)') ? '30px' : 'max(30px, var(--ion-safe-area-top))';
638
- const modalTransform = hasCardModal ? '-10px' : transformOffset;
639
- const toPresentingScale = SwipeToCloseDefaults.MIN_PRESENTING_SCALE;
640
- const finalTransform = `translateY(${modalTransform}) scale(${toPresentingScale})`;
641
- presentingAnimation
642
- .afterStyles({
643
- transform: finalTransform,
644
- })
645
- .beforeAddWrite(() => bodyEl.style.setProperty('background-color', 'black'))
646
- .addElement(presentingEl)
647
- .keyframes([
648
- { offset: 0, filter: 'contrast(1)', transform: 'translateY(0px) scale(1)', borderRadius: '0px' },
649
- { offset: 1, filter: 'contrast(0.85)', transform: finalTransform, borderRadius: '10px 10px 0 0' },
650
- ]);
651
- baseAnimation.addAnimation(presentingAnimation);
652
- }
653
- else {
654
- baseAnimation.addAnimation(backdropAnimation);
655
- if (!hasCardModal) {
656
- wrapperAnimation.fromTo('opacity', '0', '1');
657
- }
658
- else {
659
- const toPresentingScale = hasCardModal ? SwipeToCloseDefaults.MIN_PRESENTING_SCALE : 1;
660
- const finalTransform = `translateY(-10px) scale(${toPresentingScale})`;
661
- presentingAnimation
662
- .afterStyles({
663
- transform: finalTransform,
664
- })
665
- .addElement(presentingElRoot.querySelector('.modal-wrapper'))
666
- .keyframes([
667
- { offset: 0, filter: 'contrast(1)', transform: 'translateY(0) scale(1)' },
668
- { offset: 1, filter: 'contrast(0.85)', transform: finalTransform },
669
- ]);
670
- const shadowAnimation = animation.createAnimation()
671
- .afterStyles({
672
- transform: finalTransform,
673
- })
674
- .addElement(presentingElRoot.querySelector('.modal-shadow'))
675
- .keyframes([
676
- { offset: 0, opacity: '1', transform: 'translateY(0) scale(1)' },
677
- { offset: 1, opacity: '0', transform: finalTransform },
678
- ]);
679
- baseAnimation.addAnimation([presentingAnimation, shadowAnimation]);
680
- }
681
- }
682
- }
683
- else {
684
- baseAnimation.addAnimation(backdropAnimation);
685
- }
686
- return baseAnimation;
687
- };
688
-
689
- /*!
690
- * (C) Ionic http://ionicframework.com - MIT License
691
- */
692
- const createLeaveAnimation$1 = () => {
693
- const backdropAnimation = animation.createAnimation().fromTo('opacity', 'var(--backdrop-opacity)', 0);
694
- const wrapperAnimation = animation.createAnimation().fromTo('transform', 'translateY(0vh)', 'translateY(100vh)');
695
- return { backdropAnimation, wrapperAnimation };
696
- };
697
- /**
698
- * iOS Modal Leave Animation
699
- */
700
- const iosLeaveAnimation = (baseEl, opts, duration = 500) => {
701
- const { presentingEl, currentBreakpoint } = opts;
702
- const root = helpers.getElementRoot(baseEl);
703
- const { wrapperAnimation, backdropAnimation } = currentBreakpoint !== undefined ? createSheetLeaveAnimation(opts) : createLeaveAnimation$1();
704
- backdropAnimation.addElement(root.querySelector('ion-backdrop'));
705
- wrapperAnimation.addElement(root.querySelectorAll('.modal-wrapper, .modal-shadow')).beforeStyles({ opacity: 1 });
706
- const baseAnimation = animation.createAnimation('leaving-base')
707
- .addElement(baseEl)
708
- .easing('cubic-bezier(0.32,0.72,0,1)')
709
- .duration(duration)
710
- .addAnimation(wrapperAnimation);
711
- if (presentingEl) {
712
- const isMobile = window.innerWidth < 768;
713
- const hasCardModal = presentingEl.tagName === 'ION-MODAL' && presentingEl.presentingElement !== undefined;
714
- const presentingElRoot = helpers.getElementRoot(presentingEl);
715
- const presentingAnimation = animation.createAnimation()
716
- .beforeClearStyles(['transform'])
717
- .afterClearStyles(['transform'])
718
- .onFinish((currentStep) => {
719
- // only reset background color if this is the last card-style modal
720
- if (currentStep !== 1) {
721
- return;
722
- }
723
- presentingEl.style.setProperty('overflow', '');
724
- const numModals = Array.from(bodyEl.querySelectorAll('ion-modal')).filter((m) => m.presentingElement !== undefined).length;
725
- if (numModals <= 1) {
726
- bodyEl.style.setProperty('background-color', '');
727
- }
728
- });
729
- const bodyEl = document.body;
730
- if (isMobile) {
731
- const transformOffset = !CSS.supports('width', 'max(0px, 1px)') ? '30px' : 'max(30px, var(--ion-safe-area-top))';
732
- const modalTransform = hasCardModal ? '-10px' : transformOffset;
733
- const toPresentingScale = SwipeToCloseDefaults.MIN_PRESENTING_SCALE;
734
- const finalTransform = `translateY(${modalTransform}) scale(${toPresentingScale})`;
735
- presentingAnimation.addElement(presentingEl).keyframes([
736
- { offset: 0, filter: 'contrast(0.85)', transform: finalTransform, borderRadius: '10px 10px 0 0' },
737
- { offset: 1, filter: 'contrast(1)', transform: 'translateY(0px) scale(1)', borderRadius: '0px' },
738
- ]);
739
- baseAnimation.addAnimation(presentingAnimation);
740
- }
741
- else {
742
- baseAnimation.addAnimation(backdropAnimation);
743
- if (!hasCardModal) {
744
- wrapperAnimation.fromTo('opacity', '1', '0');
745
- }
746
- else {
747
- const toPresentingScale = hasCardModal ? SwipeToCloseDefaults.MIN_PRESENTING_SCALE : 1;
748
- const finalTransform = `translateY(-10px) scale(${toPresentingScale})`;
749
- presentingAnimation
750
- .addElement(presentingElRoot.querySelector('.modal-wrapper'))
751
- .afterStyles({
752
- transform: 'translate3d(0, 0, 0)',
753
- })
754
- .keyframes([
755
- { offset: 0, filter: 'contrast(0.85)', transform: finalTransform },
756
- { offset: 1, filter: 'contrast(1)', transform: 'translateY(0) scale(1)' },
757
- ]);
758
- const shadowAnimation = animation.createAnimation()
759
- .addElement(presentingElRoot.querySelector('.modal-shadow'))
760
- .afterStyles({
761
- transform: 'translateY(0) scale(1)',
762
- })
763
- .keyframes([
764
- { offset: 0, opacity: '0', transform: finalTransform },
765
- { offset: 1, opacity: '1', transform: 'translateY(0) scale(1)' },
766
- ]);
767
- baseAnimation.addAnimation([presentingAnimation, shadowAnimation]);
768
- }
769
- }
770
- }
771
- else {
772
- baseAnimation.addAnimation(backdropAnimation);
773
- }
774
- return baseAnimation;
775
- };
776
-
777
- /*!
778
- * (C) Ionic http://ionicframework.com - MIT License
779
- */
780
- const createEnterAnimation = () => {
781
- const backdropAnimation = animation.createAnimation()
782
- .fromTo('opacity', 0.01, 'var(--backdrop-opacity)')
783
- .beforeStyles({
784
- 'pointer-events': 'none',
785
- })
786
- .afterClearStyles(['pointer-events']);
787
- const wrapperAnimation = animation.createAnimation().keyframes([
788
- { offset: 0, opacity: 0.01, transform: 'translateY(40px)' },
789
- { offset: 1, opacity: 1, transform: `translateY(0px)` },
790
- ]);
791
- return { backdropAnimation, wrapperAnimation };
792
- };
793
- /**
794
- * Md Modal Enter Animation
795
- */
796
- const mdEnterAnimation = (baseEl, opts) => {
797
- const { currentBreakpoint } = opts;
798
- const root = helpers.getElementRoot(baseEl);
799
- const { wrapperAnimation, backdropAnimation } = currentBreakpoint !== undefined ? createSheetEnterAnimation(opts) : createEnterAnimation();
800
- backdropAnimation.addElement(root.querySelector('ion-backdrop'));
801
- wrapperAnimation.addElement(root.querySelector('.modal-wrapper'));
802
- return animation.createAnimation()
803
- .addElement(baseEl)
804
- .easing('cubic-bezier(0.36,0.66,0.04,1)')
805
- .duration(280)
806
- .addAnimation([backdropAnimation, wrapperAnimation]);
807
- };
808
-
809
- /*!
810
- * (C) Ionic http://ionicframework.com - MIT License
811
- */
812
- const createLeaveAnimation = () => {
813
- const backdropAnimation = animation.createAnimation().fromTo('opacity', 'var(--backdrop-opacity)', 0);
814
- const wrapperAnimation = animation.createAnimation().keyframes([
815
- { offset: 0, opacity: 0.99, transform: `translateY(0px)` },
816
- { offset: 1, opacity: 0, transform: 'translateY(40px)' },
817
- ]);
818
- return { backdropAnimation, wrapperAnimation };
819
- };
820
- /**
821
- * Md Modal Leave Animation
822
- */
823
- const mdLeaveAnimation = (baseEl, opts) => {
824
- const { currentBreakpoint } = opts;
825
- const root = helpers.getElementRoot(baseEl);
826
- const { wrapperAnimation, backdropAnimation } = currentBreakpoint !== undefined ? createSheetLeaveAnimation(opts) : createLeaveAnimation();
827
- backdropAnimation.addElement(root.querySelector('ion-backdrop'));
828
- wrapperAnimation.addElement(root.querySelector('.modal-wrapper'));
829
- return animation.createAnimation()
830
- .easing('cubic-bezier(0.47,0,0.745,0.715)')
831
- .duration(200)
832
- .addAnimation([backdropAnimation, wrapperAnimation]);
833
- };
834
-
835
- /*!
836
- * (C) Ionic http://ionicframework.com - MIT License
837
- */
838
- const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpoint, backdropBreakpoint, animation, breakpoints = [], getCurrentBreakpoint, onDismiss, onBreakpointChange) => {
839
- // Defaults for the sheet swipe animation
840
- const defaultBackdrop = [
841
- { offset: 0, opacity: 'var(--backdrop-opacity)' },
842
- { offset: 1, opacity: 0.01 },
843
- ];
844
- const customBackdrop = [
845
- { offset: 0, opacity: 'var(--backdrop-opacity)' },
846
- { offset: 1 - backdropBreakpoint, opacity: 0 },
847
- { offset: 1, opacity: 0 },
848
- ];
849
- const SheetDefaults = {
850
- WRAPPER_KEYFRAMES: [
851
- { offset: 0, transform: 'translateY(0%)' },
852
- { offset: 1, transform: 'translateY(100%)' },
853
- ],
854
- BACKDROP_KEYFRAMES: backdropBreakpoint !== 0 ? customBackdrop : defaultBackdrop,
855
- };
856
- const contentEl = baseEl.querySelector('ion-content');
857
- const height = wrapperEl.clientHeight;
858
- let currentBreakpoint = initialBreakpoint;
859
- let offset = 0;
860
- let canDismissBlocksGesture = false;
861
- const canDismissMaxStep = 0.95;
862
- const wrapperAnimation = animation.childAnimations.find((ani) => ani.id === 'wrapperAnimation');
863
- const backdropAnimation = animation.childAnimations.find((ani) => ani.id === 'backdropAnimation');
864
- const maxBreakpoint = breakpoints[breakpoints.length - 1];
865
- const minBreakpoint = breakpoints[0];
866
- const enableBackdrop = () => {
867
- baseEl.style.setProperty('pointer-events', 'auto');
868
- backdropEl.style.setProperty('pointer-events', 'auto');
869
- /**
870
- * When the backdrop is enabled, elements such
871
- * as inputs should not be focusable outside
872
- * the sheet.
873
- */
874
- baseEl.classList.remove('ion-disable-focus-trap');
875
- };
876
- const disableBackdrop = () => {
877
- baseEl.style.setProperty('pointer-events', 'none');
878
- backdropEl.style.setProperty('pointer-events', 'none');
879
- /**
880
- * When the backdrop is enabled, elements such
881
- * as inputs should not be focusable outside
882
- * the sheet.
883
- * Adding this class disables focus trapping
884
- * for the sheet temporarily.
885
- */
886
- baseEl.classList.add('ion-disable-focus-trap');
887
- };
888
- /**
889
- * After the entering animation completes,
890
- * we need to set the animation to go from
891
- * offset 0 to offset 1 so that users can
892
- * swipe in any direction. We then set the
893
- * animation offset to the current breakpoint
894
- * so there is no flickering.
895
- */
896
- if (wrapperAnimation && backdropAnimation) {
897
- wrapperAnimation.keyframes([...SheetDefaults.WRAPPER_KEYFRAMES]);
898
- backdropAnimation.keyframes([...SheetDefaults.BACKDROP_KEYFRAMES]);
899
- animation.progressStart(true, 1 - currentBreakpoint);
900
- /**
901
- * If backdrop is not enabled, then content
902
- * behind modal should be clickable. To do this, we need
903
- * to remove pointer-events from ion-modal as a whole.
904
- * ion-backdrop and .modal-wrapper always have pointer-events: auto
905
- * applied, so the modal content can still be interacted with.
906
- */
907
- const shouldEnableBackdrop = currentBreakpoint > backdropBreakpoint;
908
- if (shouldEnableBackdrop) {
909
- enableBackdrop();
910
- }
911
- else {
912
- disableBackdrop();
913
- }
914
- }
915
- if (contentEl && currentBreakpoint !== maxBreakpoint) {
916
- contentEl.scrollY = false;
917
- }
918
- const canStart = (detail) => {
919
- /**
920
- * If the sheet is fully expanded and
921
- * the user is swiping on the content,
922
- * the gesture should not start to
923
- * allow for scrolling on the content.
924
- */
925
- const content = detail.event.target.closest('ion-content');
926
- currentBreakpoint = getCurrentBreakpoint();
927
- if (currentBreakpoint === 1 && content) {
928
- return false;
929
- }
930
- return true;
931
- };
932
- const onStart = () => {
933
- /**
934
- * If canDismiss is anything other than `true`
935
- * then users should be able to swipe down
936
- * until a threshold is hit. At that point,
937
- * the card modal should not proceed any further.
938
- *
939
- * canDismiss is never fired via gesture if there is
940
- * no 0 breakpoint. However, it can be fired if the user
941
- * presses Esc or the hardware back button.
942
- * TODO (FW-937)
943
- * Remove undefined check
944
- */
945
- canDismissBlocksGesture = baseEl.canDismiss !== undefined && baseEl.canDismiss !== true && minBreakpoint === 0;
946
- /**
947
- * If swiping on the content
948
- * we should disable scrolling otherwise
949
- * the sheet will expand and the content will scroll.
950
- */
951
- if (contentEl) {
952
- contentEl.scrollY = false;
953
- }
954
- helpers.raf(() => {
955
- /**
956
- * Dismisses the open keyboard when the sheet drag gesture is started.
957
- * Sets the focus onto the modal element.
958
- */
959
- baseEl.focus();
960
- });
961
- animation.progressStart(true, 1 - currentBreakpoint);
962
- };
963
- const onMove = (detail) => {
964
- /**
965
- * Given the change in gesture position on the Y axis,
966
- * compute where the offset of the animation should be
967
- * relative to where the user dragged.
968
- */
969
- const initialStep = 1 - currentBreakpoint;
970
- const secondToLastBreakpoint = breakpoints.length > 1 ? 1 - breakpoints[1] : undefined;
971
- const step = initialStep + detail.deltaY / height;
972
- const isAttemptingDismissWithCanDismiss = secondToLastBreakpoint !== undefined && step >= secondToLastBreakpoint && canDismissBlocksGesture;
973
- /**
974
- * If we are blocking the gesture from dismissing,
975
- * set the max step value so that the sheet cannot be
976
- * completely hidden.
977
- */
978
- const maxStep = isAttemptingDismissWithCanDismiss ? canDismissMaxStep : 0.9999;
979
- /**
980
- * If we are blocking the gesture from
981
- * dismissing, calculate the spring modifier value
982
- * this will be added to the starting breakpoint
983
- * value to give the gesture a spring-like feeling.
984
- * Note that when isAttemptingDismissWithCanDismiss is true,
985
- * the modifier is always added to the breakpoint that
986
- * appears right after the 0 breakpoint.
987
- *
988
- * Note that this modifier is essentially the progression
989
- * between secondToLastBreakpoint and maxStep which is
990
- * why we subtract secondToLastBreakpoint. This lets us get
991
- * the result as a value from 0 to 1.
992
- */
993
- const processedStep = isAttemptingDismissWithCanDismiss && secondToLastBreakpoint !== undefined
994
- ? secondToLastBreakpoint +
995
- calculateSpringStep((step - secondToLastBreakpoint) / (maxStep - secondToLastBreakpoint))
996
- : step;
997
- offset = helpers.clamp(0.0001, processedStep, maxStep);
998
- animation.progressStep(offset);
999
- };
1000
- const onEnd = (detail) => {
1001
- /**
1002
- * When the gesture releases, we need to determine
1003
- * the closest breakpoint to snap to.
1004
- */
1005
- const velocity = detail.velocityY;
1006
- const threshold = (detail.deltaY + velocity * 100) / height;
1007
- const diff = currentBreakpoint - threshold;
1008
- const closest = breakpoints.reduce((a, b) => {
1009
- return Math.abs(b - diff) < Math.abs(a - diff) ? b : a;
1010
- });
1011
- moveSheetToBreakpoint({
1012
- breakpoint: closest,
1013
- breakpointOffset: offset,
1014
- canDismiss: canDismissBlocksGesture,
1015
- });
1016
- };
1017
- const moveSheetToBreakpoint = (options) => {
1018
- const { breakpoint, canDismiss, breakpointOffset } = options;
1019
- /**
1020
- * canDismiss should only prevent snapping
1021
- * when users are trying to dismiss. If canDismiss
1022
- * is present but the user is trying to swipe upwards,
1023
- * we should allow that to happen,
1024
- */
1025
- const shouldPreventDismiss = canDismiss && breakpoint === 0;
1026
- const snapToBreakpoint = shouldPreventDismiss ? currentBreakpoint : breakpoint;
1027
- const shouldRemainOpen = snapToBreakpoint !== 0;
1028
- currentBreakpoint = 0;
1029
- /**
1030
- * Update the animation so that it plays from
1031
- * the last offset to the closest snap point.
1032
- */
1033
- if (wrapperAnimation && backdropAnimation) {
1034
- wrapperAnimation.keyframes([
1035
- { offset: 0, transform: `translateY(${breakpointOffset * 100}%)` },
1036
- { offset: 1, transform: `translateY(${(1 - snapToBreakpoint) * 100}%)` },
1037
- ]);
1038
- backdropAnimation.keyframes([
1039
- {
1040
- offset: 0,
1041
- opacity: `calc(var(--backdrop-opacity) * ${getBackdropValueForSheet(1 - breakpointOffset, backdropBreakpoint)})`,
1042
- },
1043
- {
1044
- offset: 1,
1045
- opacity: `calc(var(--backdrop-opacity) * ${getBackdropValueForSheet(snapToBreakpoint, backdropBreakpoint)})`,
1046
- },
1047
- ]);
1048
- animation.progressStep(0);
1049
- }
1050
- /**
1051
- * Gesture should remain disabled until the
1052
- * snapping animation completes.
1053
- */
1054
- gesture.enable(false);
1055
- if (shouldPreventDismiss) {
1056
- handleCanDismiss(baseEl, animation);
1057
- }
1058
- else if (!shouldRemainOpen) {
1059
- onDismiss();
1060
- }
1061
- return new Promise((resolve) => {
1062
- animation
1063
- .onFinish(() => {
1064
- if (shouldRemainOpen) {
1065
- /**
1066
- * Once the snapping animation completes,
1067
- * we need to reset the animation to go
1068
- * from 0 to 1 so users can swipe in any direction.
1069
- * We then set the animation offset to the current
1070
- * breakpoint so that it starts at the snapped position.
1071
- */
1072
- if (wrapperAnimation && backdropAnimation) {
1073
- helpers.raf(() => {
1074
- wrapperAnimation.keyframes([...SheetDefaults.WRAPPER_KEYFRAMES]);
1075
- backdropAnimation.keyframes([...SheetDefaults.BACKDROP_KEYFRAMES]);
1076
- animation.progressStart(true, 1 - snapToBreakpoint);
1077
- currentBreakpoint = snapToBreakpoint;
1078
- onBreakpointChange(currentBreakpoint);
1079
- /**
1080
- * If the sheet is fully expanded, we can safely
1081
- * enable scrolling again.
1082
- */
1083
- if (contentEl && currentBreakpoint === breakpoints[breakpoints.length - 1]) {
1084
- contentEl.scrollY = true;
1085
- }
1086
- /**
1087
- * Backdrop should become enabled
1088
- * after the backdropBreakpoint value
1089
- */
1090
- const shouldEnableBackdrop = currentBreakpoint > backdropBreakpoint;
1091
- if (shouldEnableBackdrop) {
1092
- enableBackdrop();
1093
- }
1094
- else {
1095
- disableBackdrop();
1096
- }
1097
- gesture.enable(true);
1098
- resolve();
1099
- });
1100
- }
1101
- else {
1102
- gesture.enable(true);
1103
- resolve();
1104
- }
1105
- }
1106
- else {
1107
- resolve();
1108
- }
1109
- /**
1110
- * This must be a one time callback
1111
- * otherwise a new callback will
1112
- * be added every time onEnd runs.
1113
- */
1114
- }, { oneTimeCallback: true })
1115
- .progressEnd(1, 0, 500);
1116
- });
1117
- };
1118
- const gesture = index.createGesture({
1119
- el: wrapperEl,
1120
- gestureName: 'modalSheet',
1121
- gesturePriority: 40,
1122
- direction: 'y',
1123
- threshold: 10,
1124
- canStart,
1125
- onStart,
1126
- onMove,
1127
- onEnd,
1128
- });
1129
- return {
1130
- gesture,
1131
- moveSheetToBreakpoint,
1132
- };
1133
- };
1134
-
1135
- const modalIosCss = ":host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;left:0;right:0;top:0;bottom:0;display:flex;position:absolute;align-items:center;justify-content:center;outline:none;contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px;--ion-safe-area-top:0px;--ion-safe-area-bottom:0px;--ion-safe-area-right:0px;--ion-safe-area-left:0px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{left:0px;right:0px;top:5px;border-radius:8px;margin-left:auto;margin-right:auto;position:absolute;width:36px;height:5px;transform:translateZ(0);border:0;background:var(--ion-color-step-350, #c0c0be);cursor:pointer;z-index:11}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.modal-handle{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}.modal-handle::before{padding-left:4px;padding-right:4px;padding-top:4px;padding-bottom:4px;position:absolute;width:36px;height:5px;transform:translate(-50%, -50%);content:\"\"}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.modal-handle::before{padding-left:unset;padding-right:unset;-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px}}:host(.modal-sheet){--height:calc(100% - (var(--ion-safe-area-top) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.4)}:host(.modal-card),:host(.modal-sheet){--border-radius:10px}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:10px}}.modal-wrapper{transform:translate3d(0, 100%, 0)}@media screen and (max-width: 767px){@supports (width: 1px){:host(.modal-card){--height:calc(100% - max(30px, var(--ion-safe-area-top)) - 10px)}}@supports not (width: 1px){:host(.modal-card){--height:calc(100% - 40px)}}:host(.modal-card) .modal-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}:host-context([dir=rtl]):host(.modal-card) .modal-wrapper,:host-context([dir=rtl]).modal-card .modal-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}:host(.modal-card){--backdrop-opacity:0;--width:100%;align-items:flex-end}:host(.modal-card) .modal-shadow{display:none}:host(.modal-card) ion-backdrop{pointer-events:none}}@media screen and (min-width: 768px){:host(.modal-card){--width:calc(100% - 120px);--height:calc(100% - (120px + var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));--max-width:720px;--max-height:1000px;--backdrop-opacity:0;--box-shadow:0px 0px 30px 10px rgba(0, 0, 0, 0.1);transition:all 0.5s ease-in-out}:host(.modal-card) .modal-wrapper{box-shadow:none}:host(.modal-card) .modal-shadow{box-shadow:var(--box-shadow)}}:host(.modal-sheet) .modal-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}:host-context([dir=rtl]):host(.modal-sheet) .modal-wrapper,:host-context([dir=rtl]).modal-sheet .modal-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}";
1136
-
1137
- const modalMdCss = ":host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;left:0;right:0;top:0;bottom:0;display:flex;position:absolute;align-items:center;justify-content:center;outline:none;contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px;--ion-safe-area-top:0px;--ion-safe-area-bottom:0px;--ion-safe-area-right:0px;--ion-safe-area-left:0px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{left:0px;right:0px;top:5px;border-radius:8px;margin-left:auto;margin-right:auto;position:absolute;width:36px;height:5px;transform:translateZ(0);border:0;background:var(--ion-color-step-350, #c0c0be);cursor:pointer;z-index:11}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.modal-handle{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}.modal-handle::before{padding-left:4px;padding-right:4px;padding-top:4px;padding-bottom:4px;position:absolute;width:36px;height:5px;transform:translate(-50%, -50%);content:\"\"}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.modal-handle::before{padding-left:unset;padding-right:unset;-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px}}:host(.modal-sheet){--height:calc(100% - (var(--ion-safe-area-top) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:2px;--box-shadow:0 28px 48px rgba(0, 0, 0, 0.4)}}.modal-wrapper{transform:translate3d(0, 40px, 0);opacity:0.01}";
1138
-
1139
- const Modal = class {
1140
- constructor(hostRef) {
1141
- index$2.registerInstance(this, hostRef);
1142
- this.didPresent = index$2.createEvent(this, "ionModalDidPresent", 7);
1143
- this.willPresent = index$2.createEvent(this, "ionModalWillPresent", 7);
1144
- this.willDismiss = index$2.createEvent(this, "ionModalWillDismiss", 7);
1145
- this.didDismiss = index$2.createEvent(this, "ionModalDidDismiss", 7);
1146
- this.ionBreakpointDidChange = index$2.createEvent(this, "ionBreakpointDidChange", 7);
1147
- this.didPresentShorthand = index$2.createEvent(this, "didPresent", 7);
1148
- this.willPresentShorthand = index$2.createEvent(this, "willPresent", 7);
1149
- this.willDismissShorthand = index$2.createEvent(this, "willDismiss", 7);
1150
- this.didDismissShorthand = index$2.createEvent(this, "didDismiss", 7);
1151
- this.modalIndex = modalIds++;
1152
- this.coreDelegate = frameworkDelegate.CoreDelegate();
1153
- this.isSheetModal = false;
1154
- this.inline = false;
1155
- // Whether or not modal is being dismissed via gesture
1156
- this.gestureAnimationDismissing = false;
1157
- this.presented = false;
1158
- /** @internal */
1159
- this.hasController = false;
1160
- /**
1161
- * If `true`, the keyboard will be automatically dismissed when the overlay is presented.
1162
- */
1163
- this.keyboardClose = true;
1164
- /**
1165
- * A decimal value between 0 and 1 that indicates the
1166
- * point after which the backdrop will begin to fade in
1167
- * when using a sheet modal. Prior to this point, the
1168
- * backdrop will be hidden and the content underneath
1169
- * the sheet can be interacted with. This value is exclusive
1170
- * meaning the backdrop will become active after the value
1171
- * specified.
1172
- */
1173
- this.backdropBreakpoint = 0;
1174
- /**
1175
- * The interaction behavior for the sheet modal when the handle is pressed.
1176
- *
1177
- * Defaults to `"none"`, which means the modal will not change size or position when the handle is pressed.
1178
- * Set to `"cycle"` to let the modal cycle between available breakpoints when pressed.
1179
- *
1180
- * Handle behavior is unavailable when the `handle` property is set to `false` or
1181
- * when the `breakpoints` property is not set (using a fullscreen or card modal).
1182
- */
1183
- this.handleBehavior = 'none';
1184
- /**
1185
- * If `true`, the modal will be dismissed when the backdrop is clicked.
1186
- */
1187
- this.backdropDismiss = true;
1188
- /**
1189
- * If `true`, a backdrop will be displayed behind the modal.
1190
- * This property controls whether or not the backdrop
1191
- * darkens the screen when the modal is presented.
1192
- * It does not control whether or not the backdrop
1193
- * is active or present in the DOM.
1194
- */
1195
- this.showBackdrop = true;
1196
- /**
1197
- * If `true`, the modal will animate.
1198
- */
1199
- this.animated = true;
1200
- /**
1201
- * If `true`, the modal can be swiped to dismiss. Only applies in iOS mode.
1202
- * @deprecated - To prevent modals from dismissing, use canDismiss instead.
1203
- */
1204
- this.swipeToClose = false;
1205
- /**
1206
- * If `true`, the modal will open. If `false`, the modal will close.
1207
- * Use this if you need finer grained control over presentation, otherwise
1208
- * just use the modalController or the `trigger` property.
1209
- * Note: `isOpen` will not automatically be set back to `false` when
1210
- * the modal dismisses. You will need to do that in your code.
1211
- */
1212
- this.isOpen = false;
1213
- /**
1214
- * If `true`, the component passed into `ion-modal` will
1215
- * automatically be mounted when the modal is created. The
1216
- * component will remain mounted even when the modal is dismissed.
1217
- * However, the component will be destroyed when the modal is
1218
- * destroyed. This property is not reactive and should only be
1219
- * used when initially creating a modal.
1220
- *
1221
- * Note: This feature only applies to inline modals in JavaScript
1222
- * frameworks such as Angular, React, and Vue.
1223
- */
1224
- this.keepContentsMounted = false;
1225
- this.configureTriggerInteraction = () => {
1226
- const { trigger, el, destroyTriggerInteraction } = this;
1227
- if (destroyTriggerInteraction) {
1228
- destroyTriggerInteraction();
1229
- }
1230
- const triggerEl = trigger !== undefined ? document.getElementById(trigger) : null;
1231
- if (!triggerEl) {
1232
- return;
1233
- }
1234
- const configureTriggerInteraction = (trigEl, modalEl) => {
1235
- const openModal = () => {
1236
- modalEl.present();
1237
- };
1238
- trigEl.addEventListener('click', openModal);
1239
- return () => {
1240
- trigEl.removeEventListener('click', openModal);
1241
- };
1242
- };
1243
- this.destroyTriggerInteraction = configureTriggerInteraction(triggerEl, el);
1244
- };
1245
- this.onHandleClick = () => {
1246
- const { sheetTransition, handleBehavior } = this;
1247
- if (handleBehavior !== 'cycle' || sheetTransition !== undefined) {
1248
- /**
1249
- * The sheet modal should not advance to the next breakpoint
1250
- * if the handle behavior is not `cycle` or if the handle
1251
- * is clicked while the sheet is moving to a breakpoint.
1252
- */
1253
- return;
1254
- }
1255
- this.moveToNextBreakpoint();
1256
- };
1257
- this.onBackdropTap = () => {
1258
- const { sheetTransition } = this;
1259
- if (sheetTransition !== undefined) {
1260
- /**
1261
- * When the handle is double clicked at the largest breakpoint,
1262
- * it will start to move to the first breakpoint. While transitioning,
1263
- * the backdrop will often receive the second click. We prevent the
1264
- * backdrop from dismissing the modal while moving between breakpoints.
1265
- */
1266
- return;
1267
- }
1268
- this.dismiss(undefined, overlays.BACKDROP);
1269
- };
1270
- this.onLifecycle = (modalEvent) => {
1271
- const el = this.usersElement;
1272
- const name = LIFECYCLE_MAP[modalEvent.type];
1273
- if (el && name) {
1274
- const ev = new CustomEvent(name, {
1275
- bubbles: false,
1276
- cancelable: false,
1277
- detail: modalEvent.detail,
1278
- });
1279
- el.dispatchEvent(ev);
1280
- }
1281
- };
1282
- }
1283
- onIsOpenChange(newValue, oldValue) {
1284
- if (newValue === true && oldValue === false) {
1285
- this.present();
1286
- }
1287
- else if (newValue === false && oldValue === true) {
1288
- this.dismiss();
1289
- }
1290
- }
1291
- onTriggerChange() {
1292
- this.configureTriggerInteraction();
1293
- }
1294
- async swipeToCloseChanged(enable) {
1295
- if (this.gesture) {
1296
- this.gesture.enable(enable);
1297
- }
1298
- else if (enable) {
1299
- await this.initSwipeToClose();
1300
- }
1301
- }
1302
- breakpointsChanged(breakpoints) {
1303
- if (breakpoints !== undefined) {
1304
- this.sortedBreakpoints = breakpoints.sort((a, b) => a - b);
1305
- }
1306
- }
1307
- connectedCallback() {
1308
- overlays.prepareOverlay(this.el);
1309
- }
1310
- componentWillLoad() {
1311
- const { breakpoints, initialBreakpoint, swipeToClose } = this;
1312
- /**
1313
- * If user has custom ID set then we should
1314
- * not assign the default incrementing ID.
1315
- */
1316
- this.modalId = this.el.hasAttribute('id') ? this.el.getAttribute('id') : `ion-modal-${this.modalIndex}`;
1317
- const isSheetModal = (this.isSheetModal = breakpoints !== undefined && initialBreakpoint !== undefined);
1318
- if (isSheetModal) {
1319
- this.currentBreakpoint = this.initialBreakpoint;
1320
- }
1321
- if (breakpoints !== undefined && initialBreakpoint !== undefined && !breakpoints.includes(initialBreakpoint)) {
1322
- index$3.printIonWarning('Your breakpoints array must include the initialBreakpoint value.');
1323
- }
1324
- if (swipeToClose) {
1325
- index$3.printIonWarning('swipeToClose has been deprecated in favor of canDismiss.\n\nIf you want a card modal to be swipeable, set canDismiss to `true`. In the next major release of Ionic, swipeToClose will be removed, and all card modals will be swipeable by default.');
1326
- }
1327
- }
1328
- componentDidLoad() {
1329
- /**
1330
- * If modal was rendered with isOpen="true"
1331
- * then we should open modal immediately.
1332
- */
1333
- if (this.isOpen === true) {
1334
- helpers.raf(() => this.present());
1335
- }
1336
- this.breakpointsChanged(this.breakpoints);
1337
- this.configureTriggerInteraction();
1338
- }
1339
- /**
1340
- * Determines whether or not an overlay
1341
- * is being used inline or via a controller/JS
1342
- * and returns the correct delegate.
1343
- * By default, subsequent calls to getDelegate
1344
- * will use a cached version of the delegate.
1345
- * This is useful for calling dismiss after
1346
- * present so that the correct delegate is given.
1347
- */
1348
- getDelegate(force = false) {
1349
- if (this.workingDelegate && !force) {
1350
- return {
1351
- delegate: this.workingDelegate,
1352
- inline: this.inline,
1353
- };
1354
- }
1355
- /**
1356
- * If using overlay inline
1357
- * we potentially need to use the coreDelegate
1358
- * so that this works in vanilla JS apps.
1359
- * If a developer has presented this component
1360
- * via a controller, then we can assume
1361
- * the component is already in the
1362
- * correct place.
1363
- */
1364
- const parentEl = this.el.parentNode;
1365
- const inline = (this.inline = parentEl !== null && !this.hasController);
1366
- const delegate = (this.workingDelegate = inline ? this.delegate || this.coreDelegate : this.delegate);
1367
- return { inline, delegate };
1368
- }
1369
- /**
1370
- * Determines whether or not the
1371
- * modal is allowed to dismiss based
1372
- * on the state of the canDismiss prop.
1373
- */
1374
- async checkCanDismiss() {
1375
- const { canDismiss } = this;
1376
- /**
1377
- * TODO (FW-937) - Remove the following check in
1378
- * the next major release of Ionic.
1379
- */
1380
- if (canDismiss === undefined) {
1381
- return true;
1382
- }
1383
- if (typeof canDismiss === 'function') {
1384
- return canDismiss();
1385
- }
1386
- return canDismiss;
1387
- }
1388
- /**
1389
- * Present the modal overlay after it has been created.
1390
- */
1391
- async present() {
1392
- if (this.presented) {
1393
- return;
1394
- }
1395
- /**
1396
- * When using an inline modal
1397
- * and dismissing a modal it is possible to
1398
- * quickly present the modal while it is
1399
- * dismissing. We need to await any current
1400
- * transition to allow the dismiss to finish
1401
- * before presenting again.
1402
- */
1403
- if (this.currentTransition !== undefined) {
1404
- await this.currentTransition;
1405
- }
1406
- /**
1407
- * If the modal is presented multiple times (inline modals), we
1408
- * need to reset the current breakpoint to the initial breakpoint.
1409
- */
1410
- this.currentBreakpoint = this.initialBreakpoint;
1411
- const data = Object.assign(Object.assign({}, this.componentProps), { modal: this.el });
1412
- const { inline, delegate } = this.getDelegate(true);
1413
- this.usersElement = await frameworkDelegate.attachComponent(delegate, this.el, this.component, ['ion-page'], data, inline);
1414
- await index$4.deepReady(this.usersElement);
1415
- index$2.writeTask(() => this.el.classList.add('show-modal'));
1416
- this.currentTransition = overlays.present(this, 'modalEnter', iosEnterAnimation, mdEnterAnimation, {
1417
- presentingEl: this.presentingElement,
1418
- currentBreakpoint: this.initialBreakpoint,
1419
- backdropBreakpoint: this.backdropBreakpoint,
1420
- });
1421
- /**
1422
- * TODO (FW-937) - In the next major release of Ionic, all card modals
1423
- * will be swipeable by default. canDismiss will be used to determine if the
1424
- * modal can be dismissed. This check should change to check the presence of
1425
- * presentingElement instead.
1426
- *
1427
- * If we did not do this check, then not using swipeToClose would mean you could
1428
- * not run canDismiss on swipe as there would be no swipe gesture created.
1429
- */
1430
- const hasCardModal = this.swipeToClose || (this.canDismiss !== undefined && this.presentingElement !== undefined);
1431
- /**
1432
- * We need to change the status bar at the
1433
- * start of the animation so that it completes
1434
- * by the time the card animation is done.
1435
- */
1436
- if (hasCardModal && ionicGlobal.getIonMode(this) === 'ios') {
1437
- setCardStatusBarDark();
1438
- }
1439
- await this.currentTransition;
1440
- if (this.isSheetModal) {
1441
- this.initSheetGesture();
1442
- }
1443
- else if (hasCardModal) {
1444
- await this.initSwipeToClose();
1445
- }
1446
- /* tslint:disable-next-line */
1447
- if (typeof window !== 'undefined') {
1448
- this.keyboardOpenCallback = () => {
1449
- if (this.gesture) {
1450
- /**
1451
- * When the native keyboard is opened and the webview
1452
- * is resized, the gesture implementation will become unresponsive
1453
- * and enter a free-scroll mode.
1454
- *
1455
- * When the keyboard is opened, we disable the gesture for
1456
- * a single frame and re-enable once the contents have repositioned
1457
- * from the keyboard placement.
1458
- */
1459
- this.gesture.enable(false);
1460
- helpers.raf(() => {
1461
- if (this.gesture) {
1462
- this.gesture.enable(true);
1463
- }
1464
- });
1465
- }
1466
- };
1467
- window.addEventListener(keyboard.KEYBOARD_DID_OPEN, this.keyboardOpenCallback);
1468
- }
1469
- this.currentTransition = undefined;
1470
- }
1471
- initSwipeToClose() {
1472
- if (ionicGlobal.getIonMode(this) !== 'ios') {
1473
- return;
1474
- }
1475
- const { el } = this;
1476
- // All of the elements needed for the swipe gesture
1477
- // should be in the DOM and referenced by now, except
1478
- // for the presenting el
1479
- const animationBuilder = this.leaveAnimation || ionicGlobal.config.get('modalLeave', iosLeaveAnimation);
1480
- const ani = (this.animation = animationBuilder(el, { presentingEl: this.presentingElement }));
1481
- const contentEl = index$1.findIonContent(el);
1482
- if (!contentEl) {
1483
- index$1.printIonContentErrorMsg(el);
1484
- return;
1485
- }
1486
- this.gesture = createSwipeToCloseGesture(el, ani, () => {
1487
- /**
1488
- * While the gesture animation is finishing
1489
- * it is possible for a user to tap the backdrop.
1490
- * This would result in the dismiss animation
1491
- * being played again. Typically this is avoided
1492
- * by setting `presented = false` on the overlay
1493
- * component; however, we cannot do that here as
1494
- * that would prevent the element from being
1495
- * removed from the DOM.
1496
- */
1497
- this.gestureAnimationDismissing = true;
1498
- this.animation.onFinish(async () => {
1499
- await this.dismiss(undefined, 'gesture');
1500
- this.gestureAnimationDismissing = false;
1501
- });
1502
- });
1503
- this.gesture.enable(true);
1504
- }
1505
- initSheetGesture() {
1506
- const { wrapperEl, initialBreakpoint, backdropBreakpoint } = this;
1507
- if (!wrapperEl || initialBreakpoint === undefined) {
1508
- return;
1509
- }
1510
- const animationBuilder = this.enterAnimation || ionicGlobal.config.get('modalEnter', iosEnterAnimation);
1511
- const ani = (this.animation = animationBuilder(this.el, {
1512
- presentingEl: this.presentingElement,
1513
- currentBreakpoint: initialBreakpoint,
1514
- backdropBreakpoint,
1515
- }));
1516
- ani.progressStart(true, 1);
1517
- const { gesture, moveSheetToBreakpoint } = createSheetGesture(this.el, this.backdropEl, wrapperEl, initialBreakpoint, backdropBreakpoint, ani, this.sortedBreakpoints, () => { var _a; return (_a = this.currentBreakpoint) !== null && _a !== void 0 ? _a : 0; }, () => this.sheetOnDismiss(), (breakpoint) => {
1518
- if (this.currentBreakpoint !== breakpoint) {
1519
- this.currentBreakpoint = breakpoint;
1520
- this.ionBreakpointDidChange.emit({ breakpoint });
1521
- }
1522
- });
1523
- this.gesture = gesture;
1524
- this.moveSheetToBreakpoint = moveSheetToBreakpoint;
1525
- this.gesture.enable(true);
1526
- }
1527
- sheetOnDismiss() {
1528
- /**
1529
- * While the gesture animation is finishing
1530
- * it is possible for a user to tap the backdrop.
1531
- * This would result in the dismiss animation
1532
- * being played again. Typically this is avoided
1533
- * by setting `presented = false` on the overlay
1534
- * component; however, we cannot do that here as
1535
- * that would prevent the element from being
1536
- * removed from the DOM.
1537
- */
1538
- this.gestureAnimationDismissing = true;
1539
- this.animation.onFinish(async () => {
1540
- this.currentBreakpoint = 0;
1541
- this.ionBreakpointDidChange.emit({ breakpoint: this.currentBreakpoint });
1542
- await this.dismiss(undefined, 'gesture');
1543
- this.gestureAnimationDismissing = false;
1544
- });
1545
- }
1546
- /**
1547
- * Dismiss the modal overlay after it has been presented.
1548
- *
1549
- * @param data Any data to emit in the dismiss events.
1550
- * @param role The role of the element that is dismissing the modal. For example, 'cancel' or 'backdrop'.
1551
- */
1552
- async dismiss(data, role) {
1553
- if (this.gestureAnimationDismissing && role !== 'gesture') {
1554
- return false;
1555
- }
1556
- /**
1557
- * If a canDismiss handler is responsible
1558
- * for calling the dismiss method, we should
1559
- * not run the canDismiss check again.
1560
- */
1561
- if (role !== 'handler' && !(await this.checkCanDismiss())) {
1562
- return false;
1563
- }
1564
- /**
1565
- * We need to start the status bar change
1566
- * before the animation so that the change
1567
- * finishes when the dismiss animation does.
1568
- * TODO (FW-937)
1569
- */
1570
- const hasCardModal = this.swipeToClose || (this.canDismiss !== undefined && this.presentingElement !== undefined);
1571
- if (hasCardModal && ionicGlobal.getIonMode(this) === 'ios') {
1572
- setCardStatusBarDefault();
1573
- }
1574
- /* tslint:disable-next-line */
1575
- if (typeof window !== 'undefined' && this.keyboardOpenCallback) {
1576
- window.removeEventListener(keyboard.KEYBOARD_DID_OPEN, this.keyboardOpenCallback);
1577
- }
1578
- /**
1579
- * When using an inline modal
1580
- * and presenting a modal it is possible to
1581
- * quickly dismiss the modal while it is
1582
- * presenting. We need to await any current
1583
- * transition to allow the present to finish
1584
- * before dismissing again.
1585
- */
1586
- if (this.currentTransition !== undefined) {
1587
- await this.currentTransition;
1588
- }
1589
- const enteringAnimation = overlays.activeAnimations.get(this) || [];
1590
- this.currentTransition = overlays.dismiss(this, data, role, 'modalLeave', iosLeaveAnimation, mdLeaveAnimation, {
1591
- presentingEl: this.presentingElement,
1592
- currentBreakpoint: this.currentBreakpoint || this.initialBreakpoint,
1593
- backdropBreakpoint: this.backdropBreakpoint,
1594
- });
1595
- const dismissed = await this.currentTransition;
1596
- if (dismissed) {
1597
- const { delegate } = this.getDelegate();
1598
- await frameworkDelegate.detachComponent(delegate, this.usersElement);
1599
- index$2.writeTask(() => this.el.classList.remove('show-modal'));
1600
- if (this.animation) {
1601
- this.animation.destroy();
1602
- }
1603
- if (this.gesture) {
1604
- this.gesture.destroy();
1605
- }
1606
- enteringAnimation.forEach((ani) => ani.destroy());
1607
- }
1608
- this.currentBreakpoint = undefined;
1609
- this.currentTransition = undefined;
1610
- this.animation = undefined;
1611
- return dismissed;
1612
- }
1613
- /**
1614
- * Returns a promise that resolves when the modal did dismiss.
1615
- */
1616
- onDidDismiss() {
1617
- return overlays.eventMethod(this.el, 'ionModalDidDismiss');
1618
- }
1619
- /**
1620
- * Returns a promise that resolves when the modal will dismiss.
1621
- */
1622
- onWillDismiss() {
1623
- return overlays.eventMethod(this.el, 'ionModalWillDismiss');
1624
- }
1625
- /**
1626
- * Move a sheet style modal to a specific breakpoint. The breakpoint value must
1627
- * be a value defined in your `breakpoints` array.
1628
- */
1629
- async setCurrentBreakpoint(breakpoint) {
1630
- if (!this.isSheetModal) {
1631
- index$3.printIonWarning('setCurrentBreakpoint is only supported on sheet modals.');
1632
- return;
1633
- }
1634
- if (!this.breakpoints.includes(breakpoint)) {
1635
- index$3.printIonWarning(`Attempted to set invalid breakpoint value ${breakpoint}. Please double check that the breakpoint value is part of your defined breakpoints.`);
1636
- return;
1637
- }
1638
- const { currentBreakpoint, moveSheetToBreakpoint, canDismiss, breakpoints } = this;
1639
- if (currentBreakpoint === breakpoint) {
1640
- return;
1641
- }
1642
- if (moveSheetToBreakpoint) {
1643
- this.sheetTransition = moveSheetToBreakpoint({
1644
- breakpoint,
1645
- breakpointOffset: 1 - currentBreakpoint,
1646
- canDismiss: canDismiss !== undefined && canDismiss !== true && breakpoints[0] === 0,
1647
- });
1648
- await this.sheetTransition;
1649
- this.sheetTransition = undefined;
1650
- }
1651
- }
1652
- /**
1653
- * Returns the current breakpoint of a sheet style modal
1654
- */
1655
- async getCurrentBreakpoint() {
1656
- return this.currentBreakpoint;
1657
- }
1658
- async moveToNextBreakpoint() {
1659
- const { breakpoints, currentBreakpoint } = this;
1660
- if (!breakpoints || currentBreakpoint == null) {
1661
- /**
1662
- * If the modal does not have breakpoints and/or the current
1663
- * breakpoint is not set, we can't move to the next breakpoint.
1664
- */
1665
- return false;
1666
- }
1667
- const allowedBreakpoints = breakpoints.filter((b) => b !== 0);
1668
- const currentBreakpointIndex = allowedBreakpoints.indexOf(currentBreakpoint);
1669
- const nextBreakpointIndex = (currentBreakpointIndex + 1) % allowedBreakpoints.length;
1670
- const nextBreakpoint = allowedBreakpoints[nextBreakpointIndex];
1671
- /**
1672
- * Sets the current breakpoint to the next available breakpoint.
1673
- * If the current breakpoint is the last breakpoint, we set the current
1674
- * breakpoint to the first non-zero breakpoint to avoid dismissing the sheet.
1675
- */
1676
- await this.setCurrentBreakpoint(nextBreakpoint);
1677
- return true;
1678
- }
1679
- render() {
1680
- const { handle, isSheetModal, presentingElement, htmlAttributes, handleBehavior } = this;
1681
- const showHandle = handle !== false && isSheetModal;
1682
- const mode = ionicGlobal.getIonMode(this);
1683
- const { modalId } = this;
1684
- const isCardModal = presentingElement !== undefined && mode === 'ios';
1685
- const isHandleCycle = handleBehavior === 'cycle';
1686
- return (index$2.h(index$2.Host, Object.assign({ "no-router": true, "aria-modal": "true", tabindex: "-1" }, htmlAttributes, { style: {
1687
- zIndex: `${20000 + this.overlayIndex}`,
1688
- }, class: Object.assign({ [mode]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, 'overlay-hidden': true }, theme.getClassMap(this.cssClass)), id: modalId, onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle }), index$2.h("ion-backdrop", { ref: (el) => (this.backdropEl = el), visible: this.showBackdrop, tappable: this.backdropDismiss, part: "backdrop" }), mode === 'ios' && index$2.h("div", { class: "modal-shadow" }), index$2.h("div", { role: "dialog", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }, showHandle && (index$2.h("button", { class: "modal-handle",
1689
- // Prevents the handle from receiving keyboard focus when it does not cycle
1690
- tabIndex: !isHandleCycle ? -1 : 0, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: isHandleCycle ? this.onHandleClick : undefined, part: "handle" })), index$2.h("slot", null))));
1691
- }
1692
- get el() { return index$2.getElement(this); }
1693
- static get watchers() { return {
1694
- "isOpen": ["onIsOpenChange"],
1695
- "trigger": ["onTriggerChange"],
1696
- "swipeToClose": ["swipeToCloseChanged"]
1697
- }; }
1698
- };
1699
- const LIFECYCLE_MAP = {
1700
- ionModalDidPresent: 'ionViewDidEnter',
1701
- ionModalWillPresent: 'ionViewWillEnter',
1702
- ionModalWillDismiss: 'ionViewWillLeave',
1703
- ionModalDidDismiss: 'ionViewDidLeave',
1704
- };
1705
- let modalIds = 0;
1706
- Modal.style = {
1707
- ios: modalIosCss,
1708
- md: modalMdCss
1709
- };
1710
-
1711
- exports.ion_modal = Modal;