@sparkle-learning/core 0.0.33 → 0.0.36

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 (631) hide show
  1. package/dist/cjs/{auth.service-f878f6ab.js → PrivateRoute-074c584e.js} +34 -3
  2. package/dist/cjs/{active-router-eedb3bfe.js → active-router-f9e18bd8.js} +1 -1
  3. package/dist/cjs/{animation-6132e37f.js → animation-ee586546.js} +83 -78
  4. package/dist/cjs/{app-globals-9869bf67.js → app-globals-33c9f31b.js} +1 -1
  5. package/dist/cjs/{auth.store-ff3fda09.js → auth.store-1e630a7d.js} +48 -725
  6. package/dist/cjs/compass-svg.cjs.entry.js +1 -1
  7. package/dist/cjs/context-consumer.cjs.entry.js +1 -1
  8. package/dist/cjs/course-select.cjs.entry.js +1 -1
  9. package/dist/cjs/{cubic-bezier-293f4663.js → cubic-bezier-53d26d05.js} +10 -11
  10. package/dist/cjs/{facilitator.service-faac5c0c.js → facilitator.service-9e990274.js} +8 -7
  11. package/dist/cjs/{feed.service-66405969.js → feed.service-b4f09441.js} +8 -7
  12. package/dist/cjs/{focus-visible-ad3828a7.js → focus-visible-b0b07ba6.js} +19 -6
  13. package/dist/cjs/{framework-delegate-2470a246.js → framework-delegate-59a98abd.js} +11 -13
  14. package/dist/cjs/{gesture-controller-07c31f70.js → gesture-controller-0eb5579e.js} +1 -1
  15. package/dist/cjs/{haptic-91e86eb7.js → haptic-780f33c4.js} +3 -2
  16. package/dist/cjs/{hardware-back-button-f7b5d99e.js → hardware-back-button-92d97ff8.js} +8 -8
  17. package/dist/cjs/{sparkle-export-lessons_6.cjs.entry.js → header-mobile-collapse_61.cjs.entry.js} +11608 -2721
  18. package/dist/cjs/{helpers-7e28976c.js → helpers-c2496722.js} +81 -14
  19. package/dist/cjs/httpService-7211d93b.js +685 -0
  20. package/dist/cjs/{icons-80d477f6.js → icons-c61db785.js} +1 -1
  21. package/dist/cjs/{index-43642662.js → index-12082cba.js} +21 -18
  22. package/dist/cjs/{index-459a5fa9.js → index-15ea05f5.js} +19 -28
  23. package/dist/cjs/{index-bae2a754.js → index-51e8292e.js} +18 -11
  24. package/dist/cjs/{index-b12edb26.js → index-787d4498.js} +17 -25
  25. package/dist/cjs/{tap-click-1caf1780.js → index-8b5629a6.js} +30 -20
  26. package/dist/cjs/{index-8540d72e.js → index-975586fd.js} +7 -1
  27. package/dist/cjs/index-9c7b27e4.js +140 -0
  28. package/dist/cjs/{index-185f9c5a.js → index-af080b50.js} +9 -8
  29. package/dist/cjs/index-e56e09b8.js +38 -0
  30. package/dist/cjs/index.cjs.js +12 -12
  31. package/dist/cjs/{index.es-ef3efdfb.js → index.es-38cbcdbe.js} +2 -7
  32. package/dist/cjs/{input-shims-6c442c9f.js → input-shims-eff63b88.js} +21 -24
  33. package/dist/cjs/ion-accordion-group.cjs.entry.js +17 -9
  34. package/dist/cjs/ion-accordion.cjs.entry.js +19 -23
  35. package/dist/cjs/ion-action-sheet_4.cjs.entry.js +216 -212
  36. package/dist/cjs/ion-app.cjs.entry.js +8 -8
  37. package/dist/cjs/ion-back-button.cjs.entry.js +11 -11
  38. package/dist/cjs/ion-backdrop.cjs.entry.js +4 -4
  39. package/dist/cjs/ion-badge.cjs.entry.js +3 -3
  40. package/dist/cjs/ion-breadcrumb.cjs.entry.js +13 -21
  41. package/dist/cjs/ion-breadcrumbs.cjs.entry.js +12 -14
  42. package/dist/cjs/ion-buttons_3.cjs.entry.js +13 -13
  43. package/dist/cjs/ion-card-header.cjs.entry.js +4 -4
  44. package/dist/cjs/ion-card-subtitle.cjs.entry.js +4 -4
  45. package/dist/cjs/ion-card-title.cjs.entry.js +4 -4
  46. package/dist/cjs/ion-chip.cjs.entry.js +3 -3
  47. package/dist/cjs/ion-content_2.cjs.entry.js +59 -52
  48. package/dist/cjs/ion-datetime-button.cjs.entry.js +312 -0
  49. package/dist/cjs/ion-datetime.cjs.entry.js +752 -1245
  50. package/dist/cjs/ion-fab-button.cjs.entry.js +25 -9
  51. package/dist/cjs/ion-fab-list.cjs.entry.js +4 -4
  52. package/dist/cjs/ion-fab.cjs.entry.js +15 -13
  53. package/dist/cjs/ion-footer.cjs.entry.js +16 -14
  54. package/dist/cjs/ion-img.cjs.entry.js +4 -4
  55. package/dist/cjs/ion-infinite-scroll-content.cjs.entry.js +5 -5
  56. package/dist/cjs/ion-infinite-scroll.cjs.entry.js +13 -15
  57. package/dist/cjs/ion-item-divider.cjs.entry.js +4 -4
  58. package/dist/cjs/ion-item-group.cjs.entry.js +3 -3
  59. package/dist/cjs/ion-item-option.cjs.entry.js +8 -8
  60. package/dist/cjs/ion-item-options.cjs.entry.js +5 -5
  61. package/dist/cjs/ion-item-sliding.cjs.entry.js +41 -46
  62. package/dist/cjs/ion-loading.cjs.entry.js +23 -35
  63. package/dist/cjs/ion-menu-button.cjs.entry.js +13 -13
  64. package/dist/cjs/ion-menu-toggle.cjs.entry.js +7 -7
  65. package/dist/cjs/ion-menu.cjs.entry.js +47 -40
  66. package/dist/cjs/ion-modal.cjs.entry.js +935 -282
  67. package/dist/cjs/ion-nav-link.cjs.entry.js +2 -2
  68. package/dist/cjs/ion-nav.cjs.entry.js +45 -35
  69. package/dist/cjs/ion-picker-column-internal_2.cjs.entry.js +151 -43
  70. package/dist/cjs/ion-picker-column.cjs.entry.js +23 -25
  71. package/dist/cjs/ion-picker.cjs.entry.js +15 -17
  72. package/dist/cjs/ion-progress-bar.cjs.entry.js +6 -8
  73. package/dist/cjs/ion-refresher-content.cjs.entry.js +6 -12
  74. package/dist/cjs/ion-refresher.cjs.entry.js +68 -50
  75. package/dist/cjs/ion-reorder-group.cjs.entry.js +15 -16
  76. package/dist/cjs/ion-reorder.cjs.entry.js +3 -3
  77. package/dist/cjs/ion-route-redirect.cjs.entry.js +1 -1
  78. package/dist/cjs/ion-route.cjs.entry.js +1 -1
  79. package/dist/cjs/ion-router-link.cjs.entry.js +5 -5
  80. package/dist/cjs/ion-router-outlet.cjs.entry.js +22 -20
  81. package/dist/cjs/ion-router.cjs.entry.js +32 -31
  82. package/dist/cjs/ion-searchbar.cjs.entry.js +14 -16
  83. package/dist/cjs/ion-segment-button.cjs.entry.js +8 -8
  84. package/dist/cjs/ion-segment.cjs.entry.js +24 -26
  85. package/dist/cjs/ion-select_2.cjs.entry.js +59 -56
  86. package/dist/cjs/ion-skeleton-text.cjs.entry.js +4 -4
  87. package/dist/cjs/ion-slide.cjs.entry.js +3 -3
  88. package/dist/cjs/ion-slides.cjs.entry.js +23 -23
  89. package/dist/cjs/ion-split-pane.cjs.entry.js +10 -11
  90. package/dist/cjs/ion-tab-bar.cjs.entry.js +5 -5
  91. package/dist/cjs/ion-tab-button.cjs.entry.js +6 -6
  92. package/dist/cjs/ion-tab.cjs.entry.js +4 -4
  93. package/dist/cjs/ion-tabs.cjs.entry.js +4 -5
  94. package/dist/cjs/ion-textarea.cjs.entry.js +29 -28
  95. package/dist/cjs/ion-thumbnail.cjs.entry.js +2 -2
  96. package/dist/cjs/ion-toast.cjs.entry.js +23 -43
  97. package/dist/cjs/ion-toggle.cjs.entry.js +36 -19
  98. package/dist/cjs/ion-virtual-scroll.cjs.entry.js +29 -28
  99. package/dist/cjs/{ionic-global-878073d1.js → ionic-global-2cde9d3a.js} +27 -31
  100. package/dist/cjs/{ios.transition-c3bfb096.js → ios.transition-da235483.js} +71 -51
  101. package/dist/cjs/{keyboard-dfd76ac3.js → keyboard-91096619.js} +3 -3
  102. package/dist/cjs/loader.cjs.js +5 -5
  103. package/dist/cjs/{md.transition-7eb9a1a7.js → md.transition-be429e07.js} +9 -16
  104. package/dist/cjs/{menu-toggle-util-cb549c2c.js → menu-toggle-util-7a01448c.js} +2 -2
  105. package/dist/cjs/{overlays-0a748609.js → overlays-32df265a.js} +29 -29
  106. package/dist/cjs/parse-d0071120.js +1237 -0
  107. package/dist/cjs/{purify-d0ad2883.js → purify-fb9c107e.js} +1 -1
  108. package/dist/cjs/sparkle-animation-player.cjs.entry.js +1 -1
  109. package/dist/cjs/sparkle-character-intro.cjs.entry.js +1 -1
  110. package/dist/cjs/sparkle-code.cjs.entry.js +2 -2
  111. package/dist/cjs/sparkle-compass-post.cjs.entry.js +1 -1
  112. package/dist/cjs/sparkle-compass.cjs.entry.js +1 -1
  113. package/dist/cjs/sparkle-core.cjs.js +5 -5
  114. package/dist/cjs/sparkle-emoji.cjs.entry.js +1 -1
  115. package/dist/cjs/sparkle-facilitator-notes-form.cjs.entry.js +8 -7
  116. package/dist/cjs/sparkle-feed-post.cjs.entry.js +104 -3
  117. package/dist/cjs/sparkle-feedback.cjs.entry.js +8 -8
  118. package/dist/cjs/sparkle-goal-form.cjs.entry.js +8 -7
  119. package/dist/cjs/sparkle-gww-comment-list.cjs.entry.js +1 -1
  120. package/dist/cjs/sparkle-gww-graph.cjs.entry.js +1 -1
  121. package/dist/cjs/sparkle-intro.cjs.entry.js +2 -2
  122. package/dist/cjs/sparkle-lower-content-nav.cjs.entry.js +1 -1
  123. package/dist/cjs/sparkle-menu-collapsible.cjs.entry.js +2 -2
  124. package/dist/cjs/sparkle-modal-image.cjs.entry.js +1 -1
  125. package/dist/cjs/sparkle-notfound-page.cjs.entry.js +1 -1
  126. package/dist/cjs/sparkle-overlay.cjs.entry.js +1 -1
  127. package/dist/cjs/sparkle-poll.cjs.entry.js +1 -1
  128. package/dist/cjs/sparkle-quiz-container.cjs.entry.js +1 -1
  129. package/dist/cjs/sparkle-quiz-feedback_5.cjs.entry.js +1 -1
  130. package/dist/cjs/sparkle-quiz-v1.cjs.entry.js +105 -0
  131. package/dist/cjs/sparkle-quiz.cjs.entry.js +55 -41
  132. package/dist/cjs/sparkle-select.cjs.entry.js +1 -1
  133. package/dist/cjs/sparkle-sidebar.cjs.entry.js +1 -1
  134. package/dist/cjs/sparkle-tab.cjs.entry.js +1 -1
  135. package/dist/cjs/sparkle-table-of-contents.cjs.entry.js +1 -1
  136. package/dist/cjs/sparkle-tabs.cjs.entry.js +1 -1
  137. package/dist/cjs/sparkle-youtube.cjs.entry.js +1 -1
  138. package/dist/cjs/{spinner-configs-6f6b7ef0.js → spinner-configs-0ac05f2d.js} +43 -43
  139. package/dist/cjs/{status-tap-8697433c.js → status-tap-033befa2.js} +7 -5
  140. package/dist/cjs/stencil-async-content.cjs.entry.js +1 -1
  141. package/dist/cjs/stencil-route-title.cjs.entry.js +2 -2
  142. package/dist/cjs/stencil-router-prompt.cjs.entry.js +2 -2
  143. package/dist/cjs/student.service-2e58f237.js +78 -0
  144. package/dist/cjs/{swipe-back-7e08b5e0.js → swipe-back-4a826f9b.js} +5 -5
  145. package/dist/cjs/{theme-4252ac15.js → theme-b0b295c1.js} +6 -5
  146. package/dist/collection/collection-manifest.json +4 -2
  147. package/dist/collection/components/sparkle-feed-post/sparkle-feed-post.css +16 -0
  148. package/dist/collection/components/sparkle-feed-post/sparkle-feed-post.js +197 -3
  149. package/dist/collection/components/sparkle-intro/sparkle-intro.css +0 -1
  150. package/dist/collection/components/sparkle-quiz/{sparkle-quiz.css → sparkle-quiz/sparkle-quiz.css} +0 -0
  151. package/dist/collection/components/sparkle-quiz/sparkle-quiz/sparkle-quiz.js +326 -0
  152. package/dist/collection/components/sparkle-quiz/sparkle-quiz-v1.css +48 -0
  153. package/dist/collection/components/sparkle-quiz/{sparkle-quiz.js → sparkle-quiz-v1.js} +4 -4
  154. package/dist/esm/{auth.service-7ab0ac58.js → PrivateRoute-c5441f35.js} +33 -3
  155. package/dist/esm/{active-router-909088d6.js → active-router-fc9e4e06.js} +1 -1
  156. package/dist/esm/{animation-7b083379.js → animation-12377cb3.js} +83 -78
  157. package/dist/esm/{app-globals-5c736ae5.js → app-globals-3f0347b0.js} +1 -1
  158. package/dist/esm/{auth.store-98fad96d.js → auth.store-dba2c2da.js} +45 -725
  159. package/dist/esm/compass-svg.entry.js +1 -1
  160. package/dist/esm/context-consumer.entry.js +1 -1
  161. package/dist/esm/course-select.entry.js +1 -1
  162. package/dist/esm/{cubic-bezier-a7ad9c8e.js → cubic-bezier-4c0db14f.js} +10 -11
  163. package/dist/esm/{facilitator.service-1524bf89.js → facilitator.service-b0292f7f.js} +2 -1
  164. package/dist/esm/{feed.service-4900fc62.js → feed.service-8fbe4ce3.js} +3 -2
  165. package/dist/esm/{focus-visible-40cda868.js → focus-visible-4e9a0764.js} +19 -6
  166. package/dist/esm/{framework-delegate-518bd233.js → framework-delegate-3e634a5c.js} +11 -13
  167. package/dist/esm/{gesture-controller-686622ba.js → gesture-controller-7be18351.js} +1 -1
  168. package/dist/esm/{haptic-99c9e346.js → haptic-522f76f2.js} +3 -2
  169. package/dist/esm/{hardware-back-button-b6ccf74a.js → hardware-back-button-fa04d6e9.js} +8 -8
  170. package/dist/esm/{sparkle-export-lessons_6.entry.js → header-mobile-collapse_61.entry.js} +11502 -2670
  171. package/dist/esm/{helpers-9d0930de.js → helpers-bf0e23d6.js} +81 -15
  172. package/dist/esm/httpService-7b75b095.js +683 -0
  173. package/dist/esm/{icons-05b6ce86.js → icons-9b62a1ec.js} +2 -2
  174. package/dist/esm/{index-a12c14bd.js → index-21661af2.js} +22 -19
  175. package/dist/esm/{index-8de9446b.js → index-2b84cad2.js} +17 -25
  176. package/dist/esm/{index-ea26196a.js → index-4044fde9.js} +5 -2
  177. package/dist/esm/{tap-click-cca25060.js → index-45fec1e7.js} +30 -20
  178. package/dist/esm/index-5e8971ae.js +128 -0
  179. package/dist/esm/{index-435af8e6.js → index-be6112f8.js} +9 -8
  180. package/dist/esm/{index-5568e3fa.js → index-c04b9ed5.js} +18 -11
  181. package/dist/esm/{index-fa5e93c5.js → index-cded2d87.js} +19 -28
  182. package/dist/esm/index-dad75b83.js +34 -0
  183. package/dist/esm/{index.es-89cff481.js → index.es-e0c0f891.js} +2 -7
  184. package/dist/esm/index.js +8 -8
  185. package/dist/esm/{input-shims-7f04e044.js → input-shims-671d8d9f.js} +21 -24
  186. package/dist/esm/ion-accordion-group.entry.js +17 -9
  187. package/dist/esm/ion-accordion.entry.js +19 -23
  188. package/dist/esm/ion-action-sheet_4.entry.js +216 -212
  189. package/dist/esm/ion-app.entry.js +8 -8
  190. package/dist/esm/ion-back-button.entry.js +11 -11
  191. package/dist/esm/ion-backdrop.entry.js +4 -4
  192. package/dist/esm/ion-badge.entry.js +3 -3
  193. package/dist/esm/ion-breadcrumb.entry.js +13 -21
  194. package/dist/esm/ion-breadcrumbs.entry.js +12 -14
  195. package/dist/esm/ion-buttons_3.entry.js +13 -13
  196. package/dist/esm/ion-card-header.entry.js +4 -4
  197. package/dist/esm/ion-card-subtitle.entry.js +4 -4
  198. package/dist/esm/ion-card-title.entry.js +4 -4
  199. package/dist/esm/ion-chip.entry.js +3 -3
  200. package/dist/esm/ion-content_2.entry.js +59 -52
  201. package/dist/esm/ion-datetime-button.entry.js +308 -0
  202. package/dist/esm/ion-datetime.entry.js +723 -1216
  203. package/dist/esm/ion-fab-button.entry.js +25 -9
  204. package/dist/esm/ion-fab-list.entry.js +4 -4
  205. package/dist/esm/ion-fab.entry.js +15 -13
  206. package/dist/esm/ion-footer.entry.js +16 -14
  207. package/dist/esm/ion-img.entry.js +4 -4
  208. package/dist/esm/ion-infinite-scroll-content.entry.js +5 -5
  209. package/dist/esm/ion-infinite-scroll.entry.js +13 -15
  210. package/dist/esm/ion-item-divider.entry.js +4 -4
  211. package/dist/esm/ion-item-group.entry.js +3 -3
  212. package/dist/esm/ion-item-option.entry.js +8 -8
  213. package/dist/esm/ion-item-options.entry.js +5 -5
  214. package/dist/esm/ion-item-sliding.entry.js +41 -46
  215. package/dist/esm/ion-loading.entry.js +23 -35
  216. package/dist/esm/ion-menu-button.entry.js +13 -13
  217. package/dist/esm/ion-menu-toggle.entry.js +7 -7
  218. package/dist/esm/ion-menu.entry.js +47 -40
  219. package/dist/esm/ion-modal.entry.js +921 -268
  220. package/dist/esm/ion-nav-link.entry.js +2 -2
  221. package/dist/esm/ion-nav.entry.js +45 -35
  222. package/dist/esm/ion-picker-column-internal_2.entry.js +151 -43
  223. package/dist/esm/ion-picker-column.entry.js +23 -25
  224. package/dist/esm/ion-picker.entry.js +15 -17
  225. package/dist/esm/ion-progress-bar.entry.js +6 -8
  226. package/dist/esm/ion-refresher-content.entry.js +6 -12
  227. package/dist/esm/ion-refresher.entry.js +68 -50
  228. package/dist/esm/ion-reorder-group.entry.js +15 -16
  229. package/dist/esm/ion-reorder.entry.js +3 -3
  230. package/dist/esm/ion-route-redirect.entry.js +1 -1
  231. package/dist/esm/ion-route.entry.js +1 -1
  232. package/dist/esm/ion-router-link.entry.js +5 -5
  233. package/dist/esm/ion-router-outlet.entry.js +22 -20
  234. package/dist/esm/ion-router.entry.js +32 -31
  235. package/dist/esm/ion-searchbar.entry.js +14 -16
  236. package/dist/esm/ion-segment-button.entry.js +8 -8
  237. package/dist/esm/ion-segment.entry.js +24 -26
  238. package/dist/esm/ion-select_2.entry.js +59 -56
  239. package/dist/esm/ion-skeleton-text.entry.js +4 -4
  240. package/dist/esm/ion-slide.entry.js +3 -3
  241. package/dist/esm/ion-slides.entry.js +23 -23
  242. package/dist/esm/ion-split-pane.entry.js +10 -11
  243. package/dist/esm/ion-tab-bar.entry.js +5 -5
  244. package/dist/esm/ion-tab-button.entry.js +6 -6
  245. package/dist/esm/ion-tab.entry.js +4 -4
  246. package/dist/esm/ion-tabs.entry.js +4 -5
  247. package/dist/esm/ion-textarea.entry.js +29 -28
  248. package/dist/esm/ion-thumbnail.entry.js +2 -2
  249. package/dist/esm/ion-toast.entry.js +23 -43
  250. package/dist/esm/ion-toggle.entry.js +36 -19
  251. package/dist/esm/ion-virtual-scroll.entry.js +29 -28
  252. package/dist/esm/{ionic-global-0939c477.js → ionic-global-4903e23e.js} +27 -31
  253. package/dist/esm/{ios.transition-db4f4ca6.js → ios.transition-131d64fe.js} +71 -51
  254. package/dist/esm/{keyboard-2503e874.js → keyboard-7e8329b3.js} +3 -3
  255. package/dist/esm/loader.js +5 -5
  256. package/dist/esm/{md.transition-8294b503.js → md.transition-f6126011.js} +9 -16
  257. package/dist/esm/{menu-toggle-util-06adade3.js → menu-toggle-util-bace8ae6.js} +2 -2
  258. package/dist/esm/{overlays-5c777f10.js → overlays-3b4dca92.js} +30 -30
  259. package/dist/esm/parse-1ae3a9bb.js +1196 -0
  260. package/dist/esm/polyfills/css-shim.js +1 -1
  261. package/dist/esm/{purify-eb68cf1d.js → purify-85bfcc69.js} +1 -1
  262. package/dist/esm/sparkle-animation-player.entry.js +2 -2
  263. package/dist/esm/sparkle-character-intro.entry.js +1 -1
  264. package/dist/esm/sparkle-code.entry.js +2 -2
  265. package/dist/esm/sparkle-compass-post.entry.js +1 -1
  266. package/dist/esm/sparkle-compass.entry.js +1 -1
  267. package/dist/esm/sparkle-core.js +5 -5
  268. package/dist/esm/sparkle-emoji.entry.js +1 -1
  269. package/dist/esm/sparkle-facilitator-notes-form.entry.js +8 -7
  270. package/dist/esm/sparkle-feed-post.entry.js +104 -3
  271. package/dist/esm/sparkle-feedback.entry.js +8 -8
  272. package/dist/esm/sparkle-goal-form.entry.js +9 -8
  273. package/dist/esm/sparkle-gww-comment-list.entry.js +1 -1
  274. package/dist/esm/sparkle-gww-graph.entry.js +1 -1
  275. package/dist/esm/sparkle-intro.entry.js +2 -2
  276. package/dist/esm/sparkle-lower-content-nav.entry.js +1 -1
  277. package/dist/esm/sparkle-menu-collapsible.entry.js +2 -2
  278. package/dist/esm/sparkle-modal-image.entry.js +1 -1
  279. package/dist/esm/sparkle-notfound-page.entry.js +1 -1
  280. package/dist/esm/sparkle-overlay.entry.js +1 -1
  281. package/dist/esm/sparkle-poll.entry.js +1 -1
  282. package/dist/esm/sparkle-quiz-container.entry.js +1 -1
  283. package/dist/esm/sparkle-quiz-feedback_5.entry.js +1 -1
  284. package/dist/esm/sparkle-quiz-v1.entry.js +101 -0
  285. package/dist/esm/sparkle-quiz.entry.js +55 -41
  286. package/dist/esm/sparkle-select.entry.js +1 -1
  287. package/dist/esm/sparkle-sidebar.entry.js +1 -1
  288. package/dist/esm/sparkle-tab.entry.js +1 -1
  289. package/dist/esm/sparkle-table-of-contents.entry.js +1 -1
  290. package/dist/esm/sparkle-tabs.entry.js +1 -1
  291. package/dist/esm/sparkle-youtube.entry.js +1 -1
  292. package/dist/esm/{spinner-configs-f609a655.js → spinner-configs-a37e628a.js} +43 -43
  293. package/dist/esm/{status-tap-e8c0c752.js → status-tap-dde52787.js} +7 -5
  294. package/dist/esm/stencil-async-content.entry.js +1 -1
  295. package/dist/esm/stencil-route-title.entry.js +2 -2
  296. package/dist/esm/stencil-router-prompt.entry.js +2 -2
  297. package/dist/esm/{student.service-c2f44f3a.js → student.service-0746418b.js} +19 -3
  298. package/dist/esm/{swipe-back-9a3b2cdd.js → swipe-back-7847a0c1.js} +5 -5
  299. package/dist/esm/{theme-c336c9d9.js → theme-7ef00c83.js} +6 -5
  300. package/dist/esm/{util-a831d09d.js → util-6ef753e9.js} +1 -1
  301. package/dist/node_modules/@ionic/core/dist/collection/components/content/content.css +8 -1
  302. package/dist/node_modules/@ionic/core/dist/collection/components/datetime/datetime.ios.css +46 -22
  303. package/dist/node_modules/@ionic/core/dist/collection/components/datetime/datetime.md.css +43 -19
  304. package/dist/node_modules/@ionic/core/dist/collection/components/datetime-button/datetime-button.css +60 -0
  305. package/dist/node_modules/@ionic/core/dist/collection/components/item/item.ios.css +2 -1
  306. package/dist/node_modules/@ionic/core/dist/collection/components/item/item.md.css +2 -2
  307. package/dist/node_modules/@ionic/core/dist/collection/components/item-option/item-option.ios.css +6 -6
  308. package/dist/node_modules/@ionic/core/dist/collection/components/item-option/item-option.md.css +6 -6
  309. package/dist/node_modules/@ionic/core/dist/collection/components/label/label.ios.css +3 -3
  310. package/dist/node_modules/@ionic/core/dist/collection/components/loading/loading.ios.css +1 -6
  311. package/dist/node_modules/@ionic/core/dist/collection/components/loading/loading.md.css +1 -6
  312. package/dist/node_modules/@ionic/core/dist/collection/components/menu/menu.ios.css +1 -5
  313. package/dist/node_modules/@ionic/core/dist/collection/components/menu/menu.md.css +1 -5
  314. package/dist/node_modules/@ionic/core/dist/collection/components/modal/modal.ios.css +31 -3
  315. package/dist/node_modules/@ionic/core/dist/collection/components/modal/modal.md.css +29 -1
  316. package/dist/node_modules/@ionic/core/dist/collection/components/picker-column-internal/picker-column-internal.ios.css +24 -1
  317. package/dist/node_modules/@ionic/core/dist/collection/components/picker-column-internal/picker-column-internal.md.css +24 -1
  318. package/dist/node_modules/@ionic/core/dist/collection/components/picker-internal/picker-internal.ios.css +4 -0
  319. package/dist/node_modules/@ionic/core/dist/collection/components/picker-internal/picker-internal.md.css +4 -0
  320. package/dist/node_modules/@ionic/core/dist/collection/components/range/range.ios.css +2 -2
  321. package/dist/node_modules/@ionic/core/dist/collection/components/range/range.md.css +2 -2
  322. package/dist/node_modules/@ionic/core/dist/collection/components/spinner/spinner.css +8 -8
  323. package/dist/node_modules/@ionic/core/dist/collection/components/textarea/textarea.ios.css +34 -17
  324. package/dist/node_modules/@ionic/core/dist/collection/components/textarea/textarea.md.css +34 -17
  325. package/dist/node_modules/@ionic/core/dist/collection/components/toggle/toggle.ios.css +50 -1
  326. package/dist/node_modules/@ionic/core/dist/collection/components/toggle/toggle.md.css +27 -0
  327. package/dist/sparkle-core/index.esm.js +1 -1
  328. package/dist/sparkle-core/p-00d10dc9.js +4 -0
  329. package/dist/sparkle-core/p-0147266a.js +1 -0
  330. package/dist/sparkle-core/{p-797c23ed.entry.js → p-04c7b276.entry.js} +1 -1
  331. package/dist/sparkle-core/p-05c032dd.js +4 -0
  332. package/dist/sparkle-core/{p-5f45d206.entry.js → p-06642405.entry.js} +1 -1
  333. package/dist/sparkle-core/p-0664370b.entry.js +1 -0
  334. package/dist/sparkle-core/{p-39e5a90f.entry.js → p-06c7d0f2.entry.js} +1 -1
  335. package/dist/sparkle-core/{p-703ca87c.js → p-076f0239.js} +0 -0
  336. package/dist/sparkle-core/p-077c732b.js +4 -0
  337. package/dist/sparkle-core/p-0ad5c123.entry.js +1 -0
  338. package/dist/sparkle-core/{p-beb401e3.entry.js → p-0afa3a4d.entry.js} +1 -1
  339. package/dist/sparkle-core/{p-52f1d1ca.entry.js → p-0c3f3ea6.entry.js} +1 -1
  340. package/dist/sparkle-core/{p-69e7783d.js → p-0e4de1d0.js} +0 -0
  341. package/dist/sparkle-core/{p-337f92b0.entry.js → p-0f1c5899.entry.js} +5 -5
  342. package/dist/sparkle-core/{p-5e4ec238.entry.js → p-0fa3fd63.entry.js} +1 -1
  343. package/dist/sparkle-core/p-11356b03.entry.js +1 -0
  344. package/dist/sparkle-core/p-12dd96d7.js +4 -0
  345. package/dist/sparkle-core/{p-21db4e8e.entry.js → p-162bff1a.entry.js} +1 -1
  346. package/dist/sparkle-core/p-1b1ba156.entry.js +1 -0
  347. package/dist/sparkle-core/p-1d4c7c11.js +1 -0
  348. package/dist/sparkle-core/{p-11234d0f.entry.js → p-1e125ca5.entry.js} +1 -1
  349. package/dist/sparkle-core/{p-5b40aae5.entry.js → p-1e4782af.entry.js} +1 -1
  350. package/dist/sparkle-core/{p-4550e10f.entry.js → p-1e4f65ee.entry.js} +1 -1
  351. package/dist/sparkle-core/{p-f6bafe1d.js → p-2033cd86.js} +2 -2
  352. package/dist/sparkle-core/{p-ed0e9d29.entry.js → p-214d1229.entry.js} +1 -1
  353. package/dist/sparkle-core/p-23aca7ca.js +4 -0
  354. package/dist/sparkle-core/{p-85429b12.entry.js → p-24cb9a33.entry.js} +1 -1
  355. package/dist/sparkle-core/{p-37c00e39.entry.js → p-27fbabc3.entry.js} +1 -1
  356. package/dist/sparkle-core/{p-7d61177b.entry.js → p-2ba70507.entry.js} +1 -1
  357. package/dist/sparkle-core/{p-c8ae9e47.entry.js → p-2c1ca854.entry.js} +1 -1
  358. package/dist/sparkle-core/{p-23a9f7d1.entry.js → p-2d9659e2.entry.js} +1 -1
  359. package/dist/sparkle-core/p-2f569553.js +1 -0
  360. package/dist/sparkle-core/p-2ff67662.js +4 -0
  361. package/dist/sparkle-core/p-30b810d1.entry.js +4 -0
  362. package/dist/sparkle-core/p-32f4e565.entry.js +1 -0
  363. package/dist/sparkle-core/{p-057f6a23.entry.js → p-352677e6.entry.js} +1 -1
  364. package/dist/sparkle-core/{p-b49ca0ea.entry.js → p-370609ba.entry.js} +1 -1
  365. package/dist/sparkle-core/p-377b04c2.entry.js +10 -0
  366. package/dist/sparkle-core/{p-aa9ebc39.entry.js → p-38b7cf68.entry.js} +1 -1
  367. package/dist/sparkle-core/{p-667accac.entry.js → p-3963e02b.entry.js} +1 -1
  368. package/dist/sparkle-core/p-39712c56.entry.js +4 -0
  369. package/dist/sparkle-core/p-3a965828.entry.js +1 -0
  370. package/dist/sparkle-core/p-3de0e00c.js +4 -0
  371. package/dist/sparkle-core/{p-04583c51.entry.js → p-4053ecdb.entry.js} +1 -1
  372. package/dist/sparkle-core/p-462bffba.js +1 -0
  373. package/dist/sparkle-core/p-48f72e63.js +4 -0
  374. package/dist/sparkle-core/p-4c6a7e52.js +1 -0
  375. package/dist/sparkle-core/{p-8c6b6038.js → p-4d4077ea.js} +0 -0
  376. package/dist/sparkle-core/{p-3a202a38.entry.js → p-5096739e.entry.js} +1 -1
  377. package/dist/sparkle-core/p-5322c920.entry.js +1 -0
  378. package/dist/sparkle-core/{p-c748f64e.entry.js → p-54dd894f.entry.js} +1 -1
  379. package/dist/sparkle-core/p-564e64fc.entry.js +4 -0
  380. package/dist/sparkle-core/{p-b3909012.entry.js → p-5893bbe5.entry.js} +1 -1
  381. package/dist/sparkle-core/p-58e4bbe5.entry.js +1 -0
  382. package/dist/sparkle-core/p-590266d6.entry.js +1 -0
  383. package/dist/sparkle-core/p-594a6982.entry.js +1 -0
  384. package/dist/sparkle-core/{p-aef8aa31.entry.js → p-5c435d5a.entry.js} +1 -1
  385. package/dist/sparkle-core/{p-a7832a51.js → p-5cad23f1.js} +1 -1
  386. package/dist/sparkle-core/p-5efc6566.js +1 -0
  387. package/dist/sparkle-core/p-600cf6a3.js +1 -0
  388. package/dist/sparkle-core/{p-a9ee3f6d.entry.js → p-601397df.entry.js} +1 -1
  389. package/dist/sparkle-core/p-604a7987.js +4 -0
  390. package/dist/sparkle-core/{p-11cf398a.entry.js → p-616941c6.entry.js} +1 -1
  391. package/dist/sparkle-core/{p-aa87c7f0.entry.js → p-6316d124.entry.js} +1 -1
  392. package/dist/sparkle-core/p-63f71ada.entry.js +1 -0
  393. package/dist/sparkle-core/p-641bfc92.entry.js +1 -0
  394. package/dist/sparkle-core/p-69487d90.entry.js +1 -0
  395. package/dist/sparkle-core/{p-5a98d42e.entry.js → p-6faa194c.entry.js} +2 -2
  396. package/dist/sparkle-core/p-6ffd2420.entry.js +1 -0
  397. package/dist/sparkle-core/p-73721c84.js +4 -0
  398. package/dist/sparkle-core/p-74864276.entry.js +1 -0
  399. package/dist/sparkle-core/p-7d8427eb.js +4 -0
  400. package/dist/sparkle-core/{p-5264da79.js → p-7e7ce516.js} +0 -0
  401. package/dist/sparkle-core/{p-43a7391b.entry.js → p-80d6b0e6.entry.js} +1 -1
  402. package/dist/sparkle-core/{p-c5b9bdd6.entry.js → p-81714d94.entry.js} +1 -1
  403. package/dist/sparkle-core/p-8492a765.entry.js +1 -0
  404. package/dist/sparkle-core/p-859563db.entry.js +1 -0
  405. package/dist/sparkle-core/{p-4dc3ef96.entry.js → p-865f36a8.entry.js} +1 -1
  406. package/dist/sparkle-core/{p-52d4715a.js → p-86ed13f0.js} +1 -1
  407. package/dist/sparkle-core/p-871106e0.js +4 -0
  408. package/dist/sparkle-core/p-894ff7e6.entry.js +1 -0
  409. package/dist/sparkle-core/{p-7493ee15.entry.js → p-8a41b502.entry.js} +1 -1
  410. package/dist/sparkle-core/p-8c74cbb6.entry.js +1 -0
  411. package/dist/sparkle-core/{p-d4c07aca.js → p-924b2917.js} +0 -0
  412. package/dist/sparkle-core/p-9289cdbc.entry.js +1 -0
  413. package/dist/sparkle-core/{p-4bd4dab2.js → p-935e7cfc.js} +1 -1
  414. package/dist/sparkle-core/{p-d7baf31e.entry.js → p-975b99ee.entry.js} +1 -1
  415. package/dist/sparkle-core/p-99ee9919.js +1 -0
  416. package/dist/sparkle-core/p-9abbd715.entry.js +1 -0
  417. package/dist/sparkle-core/{p-ff4d6858.js → p-9d894ed4.js} +2 -2
  418. package/dist/sparkle-core/{p-fbd7eeca.entry.js → p-9e309b3e.entry.js} +1 -1
  419. package/dist/sparkle-core/{p-996361f9.entry.js → p-9e7fee8f.entry.js} +1 -1
  420. package/dist/sparkle-core/p-9ebf0537.entry.js +1 -0
  421. package/dist/sparkle-core/p-a102341e.entry.js +1 -0
  422. package/dist/sparkle-core/p-a208ab2d.js +4 -0
  423. package/dist/sparkle-core/p-a2638250.entry.js +1 -0
  424. package/dist/sparkle-core/{p-016a7aaf.entry.js → p-a2ebcf0a.entry.js} +1 -1
  425. package/dist/sparkle-core/{p-6823e6c1.entry.js → p-a98d7ebe.entry.js} +1 -1
  426. package/dist/sparkle-core/p-add30d46.js +4 -0
  427. package/dist/sparkle-core/p-af3cc111.entry.js +1 -0
  428. package/dist/sparkle-core/{p-0ad99881.js → p-b0603d19.js} +1 -1
  429. package/dist/sparkle-core/p-b3f375fb.entry.js +1 -0
  430. package/dist/sparkle-core/p-b5f3e1bf.entry.js +1 -0
  431. package/dist/sparkle-core/{p-90466494.entry.js → p-b96f3c84.entry.js} +2 -2
  432. package/dist/sparkle-core/p-bd80ff43.js +4 -0
  433. package/dist/sparkle-core/p-be64105c.entry.js +1 -0
  434. package/dist/sparkle-core/{p-08923b40.entry.js → p-c0533c23.entry.js} +1 -1
  435. package/dist/sparkle-core/p-c2990b24.entry.js +1 -0
  436. package/dist/sparkle-core/{p-c3d3d5c4.entry.js → p-c3cadfc6.entry.js} +1 -1
  437. package/dist/sparkle-core/p-c60b29bd.entry.js +4 -0
  438. package/dist/sparkle-core/p-cabfbf22.entry.js +1 -0
  439. package/dist/sparkle-core/p-cc518c36.entry.js +1 -0
  440. package/dist/sparkle-core/{p-b21d0d9f.entry.js → p-ce4b22f7.entry.js} +2 -2
  441. package/dist/sparkle-core/p-cffd4817.entry.js +1 -0
  442. package/dist/sparkle-core/{p-c69b0a7a.entry.js → p-d0adf726.entry.js} +1 -1
  443. package/dist/sparkle-core/{p-03ec54a8.entry.js → p-d20e4fcf.entry.js} +1 -1
  444. package/dist/sparkle-core/p-d24e53ab.entry.js +1 -0
  445. package/dist/sparkle-core/p-d288e6c1.entry.js +1 -0
  446. package/dist/sparkle-core/{p-ee0d7f19.entry.js → p-d601810e.entry.js} +1 -1
  447. package/dist/sparkle-core/p-d68092b7.js +4 -0
  448. package/dist/sparkle-core/p-de4deb61.entry.js +1 -0
  449. package/dist/sparkle-core/{p-b07a2cf2.entry.js → p-e249aebf.entry.js} +1 -1
  450. package/dist/sparkle-core/p-e3e36ce9.entry.js +1 -0
  451. package/dist/sparkle-core/{p-1726da2f.entry.js → p-e421d638.entry.js} +1 -1
  452. package/dist/sparkle-core/p-e686d8b5.entry.js +4 -0
  453. package/dist/sparkle-core/{p-401feeb0.js → p-e8073714.js} +1 -1
  454. package/dist/sparkle-core/p-e863bf1d.entry.js +1 -0
  455. package/dist/sparkle-core/{p-3defe550.entry.js → p-e8988989.entry.js} +1 -1
  456. package/dist/sparkle-core/p-e9431eeb.js +7 -0
  457. package/dist/sparkle-core/p-ea962e1b.entry.js +1 -0
  458. package/dist/sparkle-core/p-eaa8bbee.js +4 -0
  459. package/dist/sparkle-core/p-eaf76d1d.entry.js +352 -0
  460. package/dist/sparkle-core/p-ebd4354b.entry.js +1 -0
  461. package/dist/sparkle-core/p-ee1e0eb4.js +2 -0
  462. package/dist/sparkle-core/{p-d00f550b.entry.js → p-ef4edc48.entry.js} +1 -1
  463. package/dist/sparkle-core/{p-a9ccb0df.js → p-f3cba72a.js} +0 -0
  464. package/dist/sparkle-core/p-fb0ca75e.entry.js +5 -0
  465. package/dist/sparkle-core/p-fb757951.entry.js +1 -0
  466. package/dist/sparkle-core/p-fbccd30c.js +1 -0
  467. package/dist/sparkle-core/p-fd8d0738.entry.js +4 -0
  468. package/dist/sparkle-core/{p-90389886.entry.js → p-fda95b6e.entry.js} +1 -1
  469. package/dist/sparkle-core/{p-350adbaa.entry.js → p-fe6dc976.entry.js} +1 -1
  470. package/dist/sparkle-core/{p-ecd39170.entry.js → p-ff0e0d4e.entry.js} +1 -1
  471. package/dist/sparkle-core/sparkle-core.css +1 -1
  472. package/dist/sparkle-core/sparkle-core.esm.js +1 -1
  473. package/dist/types/components/sparkle-feed-post/sparkle-feed-post.d.ts +16 -0
  474. package/dist/types/components/sparkle-quiz/sparkle-quiz/sparkle-quiz.d.ts +42 -0
  475. package/dist/types/components/sparkle-quiz/sparkle-quiz-v1.d.ts +41 -0
  476. package/dist/types/components/sparkle-quiz/sparkle-quiz.d.ts +36 -36
  477. package/dist/types/components.d.ts +96 -11
  478. package/package.json +3 -3
  479. package/dist/cjs/PrivateRoute-482697a6.js +0 -35
  480. package/dist/cjs/dom-utils-b8befdd5.js +0 -63
  481. package/dist/cjs/header-mobile-collapse_2.cjs.entry.js +0 -112
  482. package/dist/cjs/index-07e8aa51.js +0 -3071
  483. package/dist/cjs/injectHistory-77d41284.js +0 -9
  484. package/dist/cjs/ion-avatar.cjs.entry.js +0 -25
  485. package/dist/cjs/ion-button_3.cjs.entry.js +0 -383
  486. package/dist/cjs/ion-card_2.cjs.entry.js +0 -93
  487. package/dist/cjs/ion-checkbox_4.cjs.entry.js +0 -370
  488. package/dist/cjs/ion-col_3.cjs.entry.js +0 -155
  489. package/dist/cjs/ion-icon_2.cjs.entry.js +0 -397
  490. package/dist/cjs/ion-input_2.cjs.entry.js +0 -316
  491. package/dist/cjs/ion-label_2.cjs.entry.js +0 -126
  492. package/dist/cjs/ion-range.cjs.entry.js +0 -445
  493. package/dist/cjs/ion-spinner.cjs.entry.js +0 -64
  494. package/dist/cjs/match-path-84c9f7ca.js +0 -511
  495. package/dist/cjs/sparkle-card_3.cjs.entry.js +0 -91
  496. package/dist/cjs/sparkle-course-root.cjs.entry.js +0 -145
  497. package/dist/cjs/sparkle-dropdown.cjs.entry.js +0 -61
  498. package/dist/cjs/sparkle-facilitator-header_19.cjs.entry.js +0 -2129
  499. package/dist/cjs/sparkle-goal-progress.cjs.entry.js +0 -19
  500. package/dist/cjs/sparkle-gww-item.cjs.entry.js +0 -74
  501. package/dist/cjs/sparkle-menu-toggle_3.cjs.entry.js +0 -236
  502. package/dist/cjs/sparkle-validation-error.cjs.entry.js +0 -21
  503. package/dist/cjs/stencil-route-link.cjs.entry.js +0 -77
  504. package/dist/cjs/stencil-router-redirect.cjs.entry.js +0 -32
  505. package/dist/cjs/student.service-7af424fe.js +0 -61
  506. package/dist/cjs/user.store-3d29139d.js +0 -21
  507. package/dist/esm/PrivateRoute-f59ba6b5.js +0 -33
  508. package/dist/esm/dom-utils-8e73e88b.js +0 -55
  509. package/dist/esm/header-mobile-collapse_2.entry.js +0 -107
  510. package/dist/esm/index-c92f99d4.js +0 -3067
  511. package/dist/esm/injectHistory-52d0c7eb.js +0 -7
  512. package/dist/esm/ion-avatar.entry.js +0 -21
  513. package/dist/esm/ion-button_3.entry.js +0 -377
  514. package/dist/esm/ion-card_2.entry.js +0 -88
  515. package/dist/esm/ion-checkbox_4.entry.js +0 -363
  516. package/dist/esm/ion-col_3.entry.js +0 -149
  517. package/dist/esm/ion-icon_2.entry.js +0 -392
  518. package/dist/esm/ion-input_2.entry.js +0 -311
  519. package/dist/esm/ion-label_2.entry.js +0 -121
  520. package/dist/esm/ion-range.entry.js +0 -441
  521. package/dist/esm/ion-spinner.entry.js +0 -60
  522. package/dist/esm/match-path-36fdf5c7.js +0 -499
  523. package/dist/esm/sparkle-card_3.entry.js +0 -85
  524. package/dist/esm/sparkle-course-root.entry.js +0 -141
  525. package/dist/esm/sparkle-dropdown.entry.js +0 -57
  526. package/dist/esm/sparkle-facilitator-header_19.entry.js +0 -2107
  527. package/dist/esm/sparkle-goal-progress.entry.js +0 -15
  528. package/dist/esm/sparkle-gww-item.entry.js +0 -70
  529. package/dist/esm/sparkle-menu-toggle_3.entry.js +0 -230
  530. package/dist/esm/sparkle-validation-error.entry.js +0 -17
  531. package/dist/esm/stencil-route-link.entry.js +0 -73
  532. package/dist/esm/stencil-router-redirect.entry.js +0 -28
  533. package/dist/esm/user.store-e6ff7558.js +0 -19
  534. package/dist/sparkle-core/p-021fde3c.entry.js +0 -1
  535. package/dist/sparkle-core/p-034306e2.js +0 -1
  536. package/dist/sparkle-core/p-034aa29f.entry.js +0 -5
  537. package/dist/sparkle-core/p-052caa63.js +0 -1
  538. package/dist/sparkle-core/p-0580419b.entry.js +0 -1
  539. package/dist/sparkle-core/p-063cd168.js +0 -4
  540. package/dist/sparkle-core/p-06c0cce3.entry.js +0 -1
  541. package/dist/sparkle-core/p-081968cc.entry.js +0 -1
  542. package/dist/sparkle-core/p-0934f5dd.entry.js +0 -1
  543. package/dist/sparkle-core/p-1133fcbd.js +0 -4
  544. package/dist/sparkle-core/p-1551190a.entry.js +0 -1
  545. package/dist/sparkle-core/p-1728ead7.js +0 -1
  546. package/dist/sparkle-core/p-1e8c22e0.entry.js +0 -1
  547. package/dist/sparkle-core/p-21bf4ca0.entry.js +0 -1
  548. package/dist/sparkle-core/p-232cc3bc.js +0 -1
  549. package/dist/sparkle-core/p-28950db0.entry.js +0 -1
  550. package/dist/sparkle-core/p-2af82cc1.entry.js +0 -1
  551. package/dist/sparkle-core/p-2bd4c60e.js +0 -1
  552. package/dist/sparkle-core/p-2f437793.entry.js +0 -348
  553. package/dist/sparkle-core/p-330ccc7c.entry.js +0 -1
  554. package/dist/sparkle-core/p-35a7bd6c.entry.js +0 -1
  555. package/dist/sparkle-core/p-35c5c110.entry.js +0 -1
  556. package/dist/sparkle-core/p-3ff617d5.js +0 -1
  557. package/dist/sparkle-core/p-4028676b.js +0 -4
  558. package/dist/sparkle-core/p-41124baa.js +0 -4
  559. package/dist/sparkle-core/p-41af3793.entry.js +0 -1
  560. package/dist/sparkle-core/p-44c23f72.js +0 -1
  561. package/dist/sparkle-core/p-45e6db62.entry.js +0 -1
  562. package/dist/sparkle-core/p-48f9b960.entry.js +0 -1
  563. package/dist/sparkle-core/p-4a72626a.js +0 -1
  564. package/dist/sparkle-core/p-4ba57978.entry.js +0 -4
  565. package/dist/sparkle-core/p-4ef4b8bd.entry.js +0 -5
  566. package/dist/sparkle-core/p-4f144efa.js +0 -4
  567. package/dist/sparkle-core/p-58e98f89.entry.js +0 -1
  568. package/dist/sparkle-core/p-59f7bf6e.entry.js +0 -1
  569. package/dist/sparkle-core/p-5ec7fd67.entry.js +0 -1
  570. package/dist/sparkle-core/p-618f6f82.entry.js +0 -1
  571. package/dist/sparkle-core/p-62a6c96f.entry.js +0 -1
  572. package/dist/sparkle-core/p-65ca1fb2.entry.js +0 -1
  573. package/dist/sparkle-core/p-663fafa9.entry.js +0 -1
  574. package/dist/sparkle-core/p-67f71099.entry.js +0 -4
  575. package/dist/sparkle-core/p-680663a2.entry.js +0 -1
  576. package/dist/sparkle-core/p-6a16b9ef.entry.js +0 -4
  577. package/dist/sparkle-core/p-6b6a8f0a.entry.js +0 -1
  578. package/dist/sparkle-core/p-6c5b5ea2.entry.js +0 -1
  579. package/dist/sparkle-core/p-6ebf52fb.entry.js +0 -1
  580. package/dist/sparkle-core/p-6f45db93.js +0 -1
  581. package/dist/sparkle-core/p-6fd4985d.js +0 -4
  582. package/dist/sparkle-core/p-7052c43a.entry.js +0 -1
  583. package/dist/sparkle-core/p-70b2452c.js +0 -4
  584. package/dist/sparkle-core/p-74106ca8.entry.js +0 -1
  585. package/dist/sparkle-core/p-75572037.js +0 -1
  586. package/dist/sparkle-core/p-7568dcab.entry.js +0 -1
  587. package/dist/sparkle-core/p-768bcc9e.entry.js +0 -1
  588. package/dist/sparkle-core/p-7703bae9.entry.js +0 -1
  589. package/dist/sparkle-core/p-77c23496.entry.js +0 -1
  590. package/dist/sparkle-core/p-79606a41.entry.js +0 -1
  591. package/dist/sparkle-core/p-7976e88c.entry.js +0 -1
  592. package/dist/sparkle-core/p-7c1f59ec.js +0 -1
  593. package/dist/sparkle-core/p-7de0a22b.entry.js +0 -1
  594. package/dist/sparkle-core/p-848fe770.entry.js +0 -1
  595. package/dist/sparkle-core/p-86d099f1.js +0 -4
  596. package/dist/sparkle-core/p-87549bb7.js +0 -4
  597. package/dist/sparkle-core/p-8c470e28.entry.js +0 -1
  598. package/dist/sparkle-core/p-954c89c2.entry.js +0 -1
  599. package/dist/sparkle-core/p-95d01c4c.js +0 -4
  600. package/dist/sparkle-core/p-987c64eb.js +0 -1
  601. package/dist/sparkle-core/p-9babd345.js +0 -1
  602. package/dist/sparkle-core/p-a89dea80.entry.js +0 -1
  603. package/dist/sparkle-core/p-b17dd6df.js +0 -4
  604. package/dist/sparkle-core/p-b3e6427d.js +0 -7
  605. package/dist/sparkle-core/p-b7dafaae.entry.js +0 -1
  606. package/dist/sparkle-core/p-bd062288.entry.js +0 -1
  607. package/dist/sparkle-core/p-bef34cfe.entry.js +0 -1
  608. package/dist/sparkle-core/p-c1c59771.js +0 -1
  609. package/dist/sparkle-core/p-c4104929.entry.js +0 -1
  610. package/dist/sparkle-core/p-c48bbc7c.entry.js +0 -4
  611. package/dist/sparkle-core/p-c753207f.entry.js +0 -1
  612. package/dist/sparkle-core/p-c8ed0575.js +0 -1
  613. package/dist/sparkle-core/p-c96b24bd.entry.js +0 -4
  614. package/dist/sparkle-core/p-ce13171b.entry.js +0 -1
  615. package/dist/sparkle-core/p-d394eed1.entry.js +0 -1
  616. package/dist/sparkle-core/p-d48e95c1.entry.js +0 -1
  617. package/dist/sparkle-core/p-d4b1a14a.entry.js +0 -1
  618. package/dist/sparkle-core/p-d56efeac.entry.js +0 -4
  619. package/dist/sparkle-core/p-d59a5984.entry.js +0 -1
  620. package/dist/sparkle-core/p-d8aff730.entry.js +0 -1
  621. package/dist/sparkle-core/p-da8921d0.entry.js +0 -1
  622. package/dist/sparkle-core/p-e08059b6.js +0 -4
  623. package/dist/sparkle-core/p-e3fdd0a8.entry.js +0 -1
  624. package/dist/sparkle-core/p-ec4d22e3.entry.js +0 -1
  625. package/dist/sparkle-core/p-ed3eed72.entry.js +0 -1
  626. package/dist/sparkle-core/p-ee0717e1.entry.js +0 -4
  627. package/dist/sparkle-core/p-ef2dace6.js +0 -4
  628. package/dist/sparkle-core/p-f1106984.entry.js +0 -1
  629. package/dist/sparkle-core/p-f61ca75c.entry.js +0 -1
  630. package/dist/sparkle-core/p-f9b73032.entry.js +0 -1
  631. package/dist/sparkle-core/p-fef04ab5.js +0 -4
@@ -1,7 +0,0 @@
1
- import { A as ActiveRouter } from './active-router-909088d6.js';
2
-
3
- function injectHistory(Component) {
4
- ActiveRouter.injectProps(Component, ['history', 'location']);
5
- }
6
-
7
- export { injectHistory as i };
@@ -1,21 +0,0 @@
1
- import { r as registerInstance, h, H as Host } from './index-5568e3fa.js';
2
- import { g as getIonMode } from './ionic-global-0939c477.js';
3
-
4
- const avatarIosCss = ":host{border-radius:var(--border-radius);display:block}::slotted(ion-img),::slotted(img){border-radius:var(--border-radius);width:100%;height:100%;object-fit:cover;overflow:hidden}:host{--border-radius:50%;width:48px;height:48px}";
5
-
6
- const avatarMdCss = ":host{border-radius:var(--border-radius);display:block}::slotted(ion-img),::slotted(img){border-radius:var(--border-radius);width:100%;height:100%;object-fit:cover;overflow:hidden}:host{--border-radius:50%;width:64px;height:64px}";
7
-
8
- const Avatar = class {
9
- constructor(hostRef) {
10
- registerInstance(this, hostRef);
11
- }
12
- render() {
13
- return (h(Host, { class: getIonMode(this) }, h("slot", null)));
14
- }
15
- };
16
- Avatar.style = {
17
- ios: avatarIosCss,
18
- md: avatarMdCss
19
- };
20
-
21
- export { Avatar as ion_avatar };
@@ -1,377 +0,0 @@
1
- import { r as registerInstance, i as createEvent, h, H as Host, e as getElement, f as forceUpdate } from './index-5568e3fa.js';
2
- import { g as getIonMode } from './ionic-global-0939c477.js';
3
- import { o as hasShadowDom, i as inheritAttributes, b as raf } from './helpers-9d0930de.js';
4
- import { o as openURL, c as createColorClasses, h as hostContext } from './theme-c336c9d9.js';
5
- import { d as chevronForward } from './index-ea26196a.js';
6
-
7
- const buttonIosCss = ":host{--overflow:hidden;--ripple-color:currentColor;--border-width:initial;--border-color:initial;--border-style:initial;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--box-shadow:none;display:inline-block;width:auto;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;text-overflow:ellipsis;white-space:nowrap;user-select:none;vertical-align:top;vertical-align:-webkit-baseline-middle;font-kerning:none}:host(.button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.button-solid){--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff)}:host(.button-outline){--border-color:var(--ion-color-primary, #3880ff);--background:transparent;--color:var(--ion-color-primary, #3880ff)}:host(.button-clear){--border-width:0;--background:transparent;--color:var(--ion-color-primary, #3880ff)}:host(.button-block){display:block}:host(.button-block) .button-native{margin-left:0;margin-right:0;display:block;width:100%;clear:both;contain:content}:host(.button-block) .button-native::after{clear:both}:host(.button-full){display:block}:host(.button-full) .button-native{margin-left:0;margin-right:0;display:block;width:100%;contain:content}:host(.button-full:not(.button-round)) .button-native{border-radius:0;border-right-width:0;border-left-width:0}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);line-height:1;box-shadow:var(--box-shadow);contain:layout style;cursor:pointer;opacity:var(--opacity);overflow:var(--overflow);z-index:0;box-sizing:border-box;appearance:none}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.button-native{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.button-native::-moz-focus-inner{border:0}.button-inner{display:flex;position:relative;flex-flow:row nowrap;flex-shrink:0;align-items:center;justify-content:center;width:100%;height:100%;z-index:1}::slotted(ion-icon){font-size:1.4em;pointer-events:none}::slotted(ion-icon[slot=start]){margin-left:-0.3em;margin-right:0.3em;margin-top:0;margin-bottom:0}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:-0.3em;margin-inline-start:-0.3em;-webkit-margin-end:0.3em;margin-inline-end:0.3em}}::slotted(ion-icon[slot=end]){margin-left:0.3em;margin-right:-0.2em;margin-top:0;margin-bottom:0}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=end]){margin-left:unset;margin-right:unset;-webkit-margin-start:0.3em;margin-inline-start:0.3em;-webkit-margin-end:-0.2em;margin-inline-end:-0.2em}}::slotted(ion-icon[slot=icon-only]){font-size:1.8em}ion-ripple-effect{color:var(--ripple-color)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:\"\";opacity:0}:host(.ion-activated){color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){:host(:hover){color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.button-solid.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.button-outline.ion-color) .button-native{border-color:var(--ion-color-base);background:transparent;color:var(--ion-color-base)}:host(.button-clear.ion-color) .button-native{background:transparent;color:var(--ion-color-base)}:host(.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{color:var(--ion-toolbar-color, var(--color))}:host(.button-outline.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{border-color:var(--ion-toolbar-color, var(--color, var(--border-color)))}:host(.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-color, var(--background));color:var(--ion-toolbar-background, var(--color))}:host{--border-radius:10px;--padding-top:0;--padding-bottom:0;--padding-start:1em;--padding-end:1em;--transition:background-color, opacity 100ms linear;margin-left:2px;margin-right:2px;margin-top:4px;margin-bottom:4px;height:2.8em;font-size:16px;font-weight:500;letter-spacing:-0.03em}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host{margin-left:unset;margin-right:unset;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px}}:host(.button-solid){--background-activated:var(--ion-color-primary-shade, #3171e0);--background-focused:var(--ion-color-primary-shade, #3171e0);--background-hover:var(--ion-color-primary-tint, #4c8dff);--background-activated-opacity:1;--background-focused-opacity:1;--background-hover-opacity:1}:host(.button-outline){--border-radius:10px;--border-width:1px;--border-style:solid;--background-activated:var(--ion-color-primary, #3880ff);--background-focused:var(--ion-color-primary, #3880ff);--background-hover:transparent;--background-focused-opacity:.1;--color-activated:var(--ion-color-primary-contrast, #fff)}:host(.button-clear){--background-activated:transparent;--background-focused:var(--ion-color-primary, #3880ff);--background-hover:transparent;--background-focused-opacity:.1;font-size:17px;font-weight:normal;letter-spacing:0}:host(.button-large){--border-radius:12px;--padding-top:0;--padding-start:1em;--padding-end:1em;--padding-bottom:0;height:2.8em;font-size:20px}:host(.button-small){--border-radius:6px;--padding-top:0;--padding-start:0.9em;--padding-end:0.9em;--padding-bottom:0;height:2.1em;font-size:13px}:host(.button-round){--border-radius:64px;--padding-top:0;--padding-start:26px;--padding-end:26px;--padding-bottom:0}:host(.button-strong){font-weight:600}:host(.button-clear.ion-activated){opacity:0.4}:host(.button-outline.ion-activated.ion-color) .button-native{color:var(--ion-color-contrast)}:host(.button-outline.ion-activated.ion-color) .button-native::after{background:var(--ion-color-base)}:host(.button-solid.ion-color.ion-activated) .button-native::after{background:var(--ion-color-shade)}:host(.button-outline.ion-focused.ion-color) .button-native,:host(.button-clear.ion-focused.ion-color) .button-native{color:var(--ion-color-base)}:host(.button-outline.ion-focused.ion-color) .button-native::after,:host(.button-clear.ion-focused.ion-color) .button-native::after{background:var(--ion-color-base)}:host(.button-solid.ion-color.ion-focused) .button-native::after{background:var(--ion-color-shade)}@media (any-hover: hover){:host(.button-clear:hover),:host(.button-outline:hover){opacity:0.6}:host(.button-clear.ion-color:hover) .button-native,:host(.button-outline.ion-color:hover) .button-native{color:var(--ion-color-base)}:host(.button-clear.ion-color:hover) .button-native::after,:host(.button-outline.ion-color:hover) .button-native::after{background:transparent}:host(.button-solid.ion-color:hover) .button-native::after{background:var(--ion-color-tint)}:host(:hover.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native::after{background:#fff;opacity:0.1}}";
8
-
9
- const buttonMdCss = ":host{--overflow:hidden;--ripple-color:currentColor;--border-width:initial;--border-color:initial;--border-style:initial;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--box-shadow:none;display:inline-block;width:auto;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;text-overflow:ellipsis;white-space:nowrap;user-select:none;vertical-align:top;vertical-align:-webkit-baseline-middle;font-kerning:none}:host(.button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.button-solid){--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff)}:host(.button-outline){--border-color:var(--ion-color-primary, #3880ff);--background:transparent;--color:var(--ion-color-primary, #3880ff)}:host(.button-clear){--border-width:0;--background:transparent;--color:var(--ion-color-primary, #3880ff)}:host(.button-block){display:block}:host(.button-block) .button-native{margin-left:0;margin-right:0;display:block;width:100%;clear:both;contain:content}:host(.button-block) .button-native::after{clear:both}:host(.button-full){display:block}:host(.button-full) .button-native{margin-left:0;margin-right:0;display:block;width:100%;contain:content}:host(.button-full:not(.button-round)) .button-native{border-radius:0;border-right-width:0;border-left-width:0}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);line-height:1;box-shadow:var(--box-shadow);contain:layout style;cursor:pointer;opacity:var(--opacity);overflow:var(--overflow);z-index:0;box-sizing:border-box;appearance:none}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.button-native{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.button-native::-moz-focus-inner{border:0}.button-inner{display:flex;position:relative;flex-flow:row nowrap;flex-shrink:0;align-items:center;justify-content:center;width:100%;height:100%;z-index:1}::slotted(ion-icon){font-size:1.4em;pointer-events:none}::slotted(ion-icon[slot=start]){margin-left:-0.3em;margin-right:0.3em;margin-top:0;margin-bottom:0}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:-0.3em;margin-inline-start:-0.3em;-webkit-margin-end:0.3em;margin-inline-end:0.3em}}::slotted(ion-icon[slot=end]){margin-left:0.3em;margin-right:-0.2em;margin-top:0;margin-bottom:0}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=end]){margin-left:unset;margin-right:unset;-webkit-margin-start:0.3em;margin-inline-start:0.3em;-webkit-margin-end:-0.2em;margin-inline-end:-0.2em}}::slotted(ion-icon[slot=icon-only]){font-size:1.8em}ion-ripple-effect{color:var(--ripple-color)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:\"\";opacity:0}:host(.ion-activated){color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){:host(:hover){color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.button-solid.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.button-outline.ion-color) .button-native{border-color:var(--ion-color-base);background:transparent;color:var(--ion-color-base)}:host(.button-clear.ion-color) .button-native{background:transparent;color:var(--ion-color-base)}:host(.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{color:var(--ion-toolbar-color, var(--color))}:host(.button-outline.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{border-color:var(--ion-toolbar-color, var(--color, var(--border-color)))}:host(.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-color, var(--background));color:var(--ion-toolbar-background, var(--color))}:host{--border-radius:4px;--padding-top:0;--padding-bottom:0;--padding-start:1.1em;--padding-end:1.1em;--transition:box-shadow 280ms cubic-bezier(.4, 0, .2, 1),\n background-color 15ms linear,\n color 15ms linear;margin-left:2px;margin-right:2px;margin-top:4px;margin-bottom:4px;height:36px;font-size:14px;font-weight:500;letter-spacing:0.06em;text-transform:uppercase}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host{margin-left:unset;margin-right:unset;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px}}:host(.button-solid){--background-activated:transparent;--background-hover:var(--ion-color-primary-contrast, #fff);--background-focused:var(--ion-color-primary-contrast, #fff);--background-activated-opacity:0;--background-focused-opacity:.24;--background-hover-opacity:.08;--box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)}:host(.button-solid.ion-activated){--box-shadow:0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12)}:host(.button-outline){--border-width:2px;--border-style:solid;--box-shadow:none;--background-activated:transparent;--background-focused:var(--ion-color-primary, #3880ff);--background-hover:var(--ion-color-primary, #3880ff);--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04}:host(.button-outline.ion-activated.ion-color) .button-native{background:transparent}:host(.button-clear){--background-activated:transparent;--background-focused:var(--ion-color-primary, #3880ff);--background-hover:var(--ion-color-primary, #3880ff);--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04}:host(.button-round){--border-radius:64px;--padding-top:0;--padding-start:26px;--padding-end:26px;--padding-bottom:0}:host(.button-large){--padding-top:0;--padding-start:1em;--padding-end:1em;--padding-bottom:0;height:2.8em;font-size:20px}:host(.button-small){--padding-top:0;--padding-start:0.9em;--padding-end:0.9em;--padding-bottom:0;height:2.1em;font-size:13px}:host(.button-strong){font-weight:bold}::slotted(ion-icon[slot=icon-only]){padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host(.button-solid.ion-color.ion-focused) .button-native::after{background:var(--ion-color-contrast)}:host(.button-clear.ion-color.ion-focused) .button-native::after,:host(.button-outline.ion-color.ion-focused) .button-native::after{background:var(--ion-color-base)}@media (any-hover: hover){:host(.button-solid.ion-color:hover) .button-native::after{background:var(--ion-color-contrast)}:host(.button-clear.ion-color:hover) .button-native::after,:host(.button-outline.ion-color:hover) .button-native::after{background:var(--ion-color-base)}}";
10
-
11
- const Button = class {
12
- constructor(hostRef) {
13
- registerInstance(this, hostRef);
14
- this.ionFocus = createEvent(this, "ionFocus", 7);
15
- this.ionBlur = createEvent(this, "ionBlur", 7);
16
- this.inItem = false;
17
- this.inListHeader = false;
18
- this.inToolbar = false;
19
- this.inheritedAttributes = {};
20
- /**
21
- * The type of button.
22
- */
23
- this.buttonType = 'button';
24
- /**
25
- * If `true`, the user cannot interact with the button.
26
- */
27
- this.disabled = false;
28
- /**
29
- * When using a router, it specifies the transition direction when navigating to
30
- * another page using `href`.
31
- */
32
- this.routerDirection = 'forward';
33
- /**
34
- * If `true`, activates a button with a heavier font weight.
35
- */
36
- this.strong = false;
37
- /**
38
- * The type of the button.
39
- */
40
- this.type = 'button';
41
- this.handleClick = (ev) => {
42
- if (this.type === 'button') {
43
- openURL(this.href, ev, this.routerDirection, this.routerAnimation);
44
- }
45
- else if (hasShadowDom(this.el)) {
46
- // this button wants to specifically submit a form
47
- // climb up the dom to see if we're in a <form>
48
- // and if so, then use JS to submit it
49
- const form = this.el.closest('form');
50
- if (form) {
51
- ev.preventDefault();
52
- const fakeButton = document.createElement('button');
53
- fakeButton.type = this.type;
54
- fakeButton.style.display = 'none';
55
- form.appendChild(fakeButton);
56
- fakeButton.click();
57
- fakeButton.remove();
58
- }
59
- }
60
- };
61
- this.onFocus = () => {
62
- this.ionFocus.emit();
63
- };
64
- this.onBlur = () => {
65
- this.ionBlur.emit();
66
- };
67
- }
68
- componentWillLoad() {
69
- this.inToolbar = !!this.el.closest('ion-buttons');
70
- this.inListHeader = !!this.el.closest('ion-list-header');
71
- this.inItem = !!this.el.closest('ion-item') || !!this.el.closest('ion-item-divider');
72
- this.inheritedAttributes = inheritAttributes(this.el, ['aria-label']);
73
- }
74
- get hasIconOnly() {
75
- return !!this.el.querySelector('[slot="icon-only"]');
76
- }
77
- get rippleType() {
78
- const hasClearFill = this.fill === undefined || this.fill === 'clear';
79
- // If the button is in a toolbar, has a clear fill (which is the default)
80
- // and only has an icon we use the unbounded "circular" ripple effect
81
- if (hasClearFill && this.hasIconOnly && this.inToolbar) {
82
- return 'unbounded';
83
- }
84
- return 'bounded';
85
- }
86
- render() {
87
- const mode = getIonMode(this);
88
- const { buttonType, type, disabled, rel, target, size, href, color, expand, hasIconOnly, shape, strong, inheritedAttributes } = this;
89
- const finalSize = size === undefined && this.inItem ? 'small' : size;
90
- const TagType = href === undefined ? 'button' : 'a';
91
- const attrs = (TagType === 'button')
92
- ? { type }
93
- : {
94
- download: this.download,
95
- href,
96
- rel,
97
- target
98
- };
99
- let fill = this.fill;
100
- if (fill === undefined) {
101
- fill = this.inToolbar || this.inListHeader ? 'clear' : 'solid';
102
- }
103
- return (h(Host, { onClick: this.handleClick, "aria-disabled": disabled ? 'true' : null, class: createColorClasses(color, {
104
- [mode]: true,
105
- [buttonType]: true,
106
- [`${buttonType}-${expand}`]: expand !== undefined,
107
- [`${buttonType}-${finalSize}`]: finalSize !== undefined,
108
- [`${buttonType}-${shape}`]: shape !== undefined,
109
- [`${buttonType}-${fill}`]: true,
110
- [`${buttonType}-strong`]: strong,
111
- 'in-toolbar': hostContext('ion-toolbar', this.el),
112
- 'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
113
- 'button-has-icon-only': hasIconOnly,
114
- 'button-disabled': disabled,
115
- 'ion-activatable': true,
116
- 'ion-focusable': true,
117
- }) }, h(TagType, Object.assign({}, attrs, { class: "button-native", part: "native", disabled: disabled, onFocus: this.onFocus, onBlur: this.onBlur }, inheritedAttributes), h("span", { class: "button-inner" }, h("slot", { name: "icon-only" }), h("slot", { name: "start" }), h("slot", null), h("slot", { name: "end" })), mode === 'md' && h("ion-ripple-effect", { type: this.rippleType }))));
118
- }
119
- get el() { return getElement(this); }
120
- };
121
- Button.style = {
122
- ios: buttonIosCss,
123
- md: buttonMdCss
124
- };
125
-
126
- const itemIosCss = ":host{--border-radius:0px;--border-width:0px;--border-style:solid;--padding-top:0px;--padding-bottom:0px;--padding-end:0px;--padding-start:0px;--inner-border-width:0px;--inner-padding-top:0px;--inner-padding-bottom:0px;--inner-padding-start:0px;--inner-padding-end:0px;--inner-box-shadow:none;--show-full-highlight:0;--show-inset-highlight:0;--detail-icon-color:initial;--detail-icon-font-size:20px;--detail-icon-opacity:0.25;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--ripple-color:currentColor;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;align-items:center;justify-content:space-between;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:initial;text-decoration:none;overflow:hidden;box-sizing:border-box}:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-native,:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-inner{border-color:var(--ion-color-shade)}:host(.ion-activated) .item-native{color:var(--color-activated)}:host(.ion-activated) .item-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.ion-color.ion-activated) .item-native{color:var(--ion-color-contrast)}:host(.ion-focused) .item-native{color:var(--color-focused)}:host(.ion-focused) .item-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(.ion-color.ion-focused) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-focused) .item-native::after{background:var(--ion-color-contrast)}@media (any-hover: hover){:host(.ion-activatable:not(.ion-focused):hover) .item-native{color:var(--color-hover)}:host(.ion-activatable:not(.ion-focused):hover) .item-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}:host(.ion-color.ion-activatable:not(.ion-focused):hover) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-activatable:not(.ion-focused):hover) .item-native::after{background:var(--ion-color-contrast)}}:host(.item-interactive-disabled:not(.item-multiple-inputs)){cursor:default;pointer-events:none}:host(.item-disabled){cursor:default;opacity:0.3;pointer-events:none}.item-native{border-radius:var(--border-radius);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:flex;position:relative;align-items:inherit;justify-content:inherit;width:100%;min-height:var(--min-height);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);overflow:inherit;box-sizing:border-box;z-index:1}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.item-native{padding-left:unset;padding-right:unset;-webkit-padding-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-inline-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.item-native::-moz-focus-inner{border:0}.item-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:\"\";opacity:0;transition:var(--transition);z-index:-1}button,a{cursor:pointer;user-select:none;-webkit-user-drag:none}.item-inner{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:var(--inner-padding-start);padding-right:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-top:var(--inner-padding-top);padding-bottom:var(--inner-padding-bottom);display:flex;position:relative;flex:1;flex-direction:inherit;align-items:inherit;align-self:stretch;min-height:inherit;border-width:var(--inner-border-width);border-style:var(--border-style);border-color:var(--border-color);box-shadow:var(--inner-box-shadow);overflow:inherit;box-sizing:border-box}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.item-inner{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--inner-padding-start);padding-inline-start:var(--inner-padding-start);-webkit-padding-end:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-inline-end:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end))}}.item-bottom{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-right:var(--inner-padding-end);padding-top:0;padding-bottom:0;display:flex;justify-content:space-between}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.item-bottom{padding-left:unset;padding-right:unset;-webkit-padding-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-inline-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));-webkit-padding-end:var(--inner-padding-end);padding-inline-end:var(--inner-padding-end)}}.item-detail-icon{color:var(--detail-icon-color);font-size:var(--detail-icon-font-size);opacity:var(--detail-icon-opacity)}::slotted(ion-icon){font-size:1.6em}::slotted(ion-button){--margin-top:0;--margin-bottom:0;--margin-start:0;--margin-end:0;z-index:1}::slotted(ion-label:not([slot=end])){flex:1}:host(.item-input){align-items:center}.input-wrapper{display:flex;flex:1;flex-direction:inherit;align-items:inherit;align-self:stretch;text-overflow:ellipsis;overflow:inherit;box-sizing:border-box}:host(.item-label-stacked),:host(.item-label-floating){align-items:start}:host(.item-label-stacked) .input-wrapper,:host(.item-label-floating) .input-wrapper{flex:1;flex-direction:column}.item-highlight,.item-inner-highlight{left:0;right:0;top:0;bottom:0;border-radius:inherit;position:absolute;width:100%;height:100%;transform:scaleX(0);transition:transform 200ms, border-bottom-width 200ms;z-index:2;box-sizing:border-box;pointer-events:none}:host(.item-interactive.item-has-focus) .item-native{caret-color:var(--highlight-background)}:host(.item-interactive.ion-focused),:host(.item-interactive.item-has-focus),:host(.item-interactive.ion-touched.ion-invalid){--full-highlight-height:calc(var(--highlight-height) * var(--show-full-highlight));--inset-highlight-height:calc(var(--highlight-height) * var(--show-inset-highlight))}:host(.item-interactive.ion-focused),:host(.item-interactive.item-has-focus){--highlight-background:var(--highlight-color-focused)}:host(.item-interactive.ion-valid){--highlight-background:var(--highlight-color-valid)}:host(.item-interactive.ion-invalid){--highlight-background:var(--highlight-color-invalid)}:host(.item-interactive.ion-invalid) ::slotted([slot=helper]){display:none}::slotted([slot=error]){display:none;color:var(--highlight-color-invalid)}:host(.item-interactive.ion-invalid) ::slotted([slot=error]){display:block}:host(:not(.item-label)) ::slotted(ion-select){--padding-start:0;max-width:none}:host(.item-label-stacked) ::slotted(ion-select),:host(.item-label-floating) ::slotted(ion-select){--padding-top:8px;--padding-bottom:8px;--padding-start:0;align-self:stretch;width:100%;max-width:100%}:host(:not(.item-label)) ::slotted(ion-datetime){--padding-start:0}:host(.item-label-stacked) ::slotted(ion-datetime),:host(.item-label-floating) ::slotted(ion-datetime){--padding-start:0;width:100%}:host(.item-multiple-inputs) ::slotted(ion-checkbox),:host(.item-multiple-inputs) ::slotted(ion-datetime),:host(.item-multiple-inputs) ::slotted(ion-radio),:host(.item-multiple-inputs) ::slotted(ion-select){position:relative}:host(.item-textarea){align-items:stretch}::slotted(ion-reorder[slot]){margin-top:0;margin-bottom:0}ion-ripple-effect{color:var(--ripple-color)}:host(.item-fill-solid) ::slotted([slot=start]),:host(.item-fill-solid) ::slotted([slot=end]),:host(.item-fill-outline) ::slotted([slot=start]),:host(.item-fill-outline) ::slotted([slot=end]){align-self:center}::slotted([slot=helper]),::slotted([slot=error]),.item-counter{padding-top:5px;font-size:12px;z-index:1}.item-counter{margin-left:auto;padding-inline-start:16px;white-space:nowrap}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.item-counter{margin-left:unset;-webkit-margin-start:auto;margin-inline-start:auto}}@media (prefers-reduced-motion: reduce){.item-highlight,.item-inner-highlight{transition:none}}:host{--min-height:44px;--transition:background-color 200ms linear, opacity 200ms linear;--padding-start:20px;--inner-padding-end:10px;--inner-border-width:0px 0px 0.55px 0px;--background:var(--ion-item-background, var(--ion-background-color, #fff));--background-activated:#000;--background-focused:#000;--background-hover:currentColor;--background-activated-opacity:.12;--background-focused-opacity:.15;--background-hover-opacity:.04;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));--color:var(--ion-item-color, var(--ion-text-color, #000));--highlight-height:0px;--highlight-color-focused:var(--ion-color-primary, #3880ff);--highlight-color-valid:var(--ion-color-success, #2dd36f);--highlight-color-invalid:var(--ion-color-danger, #eb445a);--bottom-padding-start:0px;font-size:17px}:host(.ion-activated){--transition:none}:host(.ion-color.ion-focused) .item-native::after{background:#000;opacity:0.15}:host(.ion-color.ion-activated) .item-native::after{background:#000;opacity:0.12}:host(.item-interactive){--show-full-highlight:0;--show-inset-highlight:1}:host(.item-lines-full){--border-width:0px 0px 0.55px 0px;--show-full-highlight:1;--show-inset-highlight:0}:host(.item-lines-inset){--inner-border-width:0px 0px 0.55px 0px;--show-full-highlight:0;--show-inset-highlight:1}:host(.item-lines-inset),:host(.item-lines-none){--border-width:0px;--show-full-highlight:0}:host(.item-lines-full),:host(.item-lines-none){--inner-border-width:0px;--show-inset-highlight:0}.item-highlight,.item-inner-highlight{transition:none}:host(.item-has-focus) .item-inner-highlight,:host(.item-has-focus) .item-highlight{border-top:none;border-right:none;border-left:none}::slotted([slot=start]){margin-left:0;margin-right:20px;margin-top:2px;margin-bottom:2px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted([slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:20px;margin-inline-end:20px}}::slotted([slot=end]){margin-left:10px;margin-right:10px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted([slot=end]){margin-left:unset;margin-right:unset;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px}}::slotted(ion-icon[slot=start]),::slotted(ion-icon[slot=end]){margin-top:7px;margin-bottom:7px}::slotted(ion-toggle[slot=start]),::slotted(ion-toggle[slot=end]){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}:host(.item-label-stacked) ::slotted([slot=end]),:host(.item-label-floating) ::slotted([slot=end]){margin-top:7px;margin-bottom:7px}::slotted(.button-small){--padding-top:0px;--padding-bottom:0px;--padding-start:.5em;--padding-end:.5em;height:24px;font-size:13px}::slotted(ion-avatar){width:36px;height:36px}::slotted(ion-thumbnail){width:56px;height:56px}::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){margin-left:10px;margin-right:10px;margin-top:10px;margin-bottom:10px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){margin-left:unset;margin-right:unset;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px}}:host(.item-radio) ::slotted(ion-label),:host(.item-toggle) ::slotted(ion-label){margin-left:0px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host(.item-radio) ::slotted(ion-label),:host(.item-toggle) ::slotted(ion-label){margin-left:unset;-webkit-margin-start:0px;margin-inline-start:0px}}::slotted(ion-label){margin-left:0;margin-right:8px;margin-top:10px;margin-bottom:10px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted(ion-label){margin-left:unset;margin-right:unset;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px}}:host(.item-label-floating),:host(.item-label-stacked){--min-height:68px}:host(.item-label-stacked) ::slotted(ion-select),:host(.item-label-floating) ::slotted(ion-select){--padding-top:8px;--padding-bottom:8px;--padding-start:0px}:host(.item-label-fixed) ::slotted(ion-select),:host(.item-label-fixed) ::slotted(ion-datetime){--padding-start:0}";
127
-
128
- const itemMdCss = ":host{--border-radius:0px;--border-width:0px;--border-style:solid;--padding-top:0px;--padding-bottom:0px;--padding-end:0px;--padding-start:0px;--inner-border-width:0px;--inner-padding-top:0px;--inner-padding-bottom:0px;--inner-padding-start:0px;--inner-padding-end:0px;--inner-box-shadow:none;--show-full-highlight:0;--show-inset-highlight:0;--detail-icon-color:initial;--detail-icon-font-size:20px;--detail-icon-opacity:0.25;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--ripple-color:currentColor;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;align-items:center;justify-content:space-between;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:initial;text-decoration:none;overflow:hidden;box-sizing:border-box}:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-native,:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-inner{border-color:var(--ion-color-shade)}:host(.ion-activated) .item-native{color:var(--color-activated)}:host(.ion-activated) .item-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.ion-color.ion-activated) .item-native{color:var(--ion-color-contrast)}:host(.ion-focused) .item-native{color:var(--color-focused)}:host(.ion-focused) .item-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(.ion-color.ion-focused) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-focused) .item-native::after{background:var(--ion-color-contrast)}@media (any-hover: hover){:host(.ion-activatable:not(.ion-focused):hover) .item-native{color:var(--color-hover)}:host(.ion-activatable:not(.ion-focused):hover) .item-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}:host(.ion-color.ion-activatable:not(.ion-focused):hover) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-activatable:not(.ion-focused):hover) .item-native::after{background:var(--ion-color-contrast)}}:host(.item-interactive-disabled:not(.item-multiple-inputs)){cursor:default;pointer-events:none}:host(.item-disabled){cursor:default;opacity:0.3;pointer-events:none}.item-native{border-radius:var(--border-radius);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:flex;position:relative;align-items:inherit;justify-content:inherit;width:100%;min-height:var(--min-height);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);overflow:inherit;box-sizing:border-box;z-index:1}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.item-native{padding-left:unset;padding-right:unset;-webkit-padding-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-inline-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.item-native::-moz-focus-inner{border:0}.item-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:\"\";opacity:0;transition:var(--transition);z-index:-1}button,a{cursor:pointer;user-select:none;-webkit-user-drag:none}.item-inner{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:var(--inner-padding-start);padding-right:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-top:var(--inner-padding-top);padding-bottom:var(--inner-padding-bottom);display:flex;position:relative;flex:1;flex-direction:inherit;align-items:inherit;align-self:stretch;min-height:inherit;border-width:var(--inner-border-width);border-style:var(--border-style);border-color:var(--border-color);box-shadow:var(--inner-box-shadow);overflow:inherit;box-sizing:border-box}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.item-inner{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--inner-padding-start);padding-inline-start:var(--inner-padding-start);-webkit-padding-end:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-inline-end:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end))}}.item-bottom{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-right:var(--inner-padding-end);padding-top:0;padding-bottom:0;display:flex;justify-content:space-between}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.item-bottom{padding-left:unset;padding-right:unset;-webkit-padding-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-inline-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));-webkit-padding-end:var(--inner-padding-end);padding-inline-end:var(--inner-padding-end)}}.item-detail-icon{color:var(--detail-icon-color);font-size:var(--detail-icon-font-size);opacity:var(--detail-icon-opacity)}::slotted(ion-icon){font-size:1.6em}::slotted(ion-button){--margin-top:0;--margin-bottom:0;--margin-start:0;--margin-end:0;z-index:1}::slotted(ion-label:not([slot=end])){flex:1}:host(.item-input){align-items:center}.input-wrapper{display:flex;flex:1;flex-direction:inherit;align-items:inherit;align-self:stretch;text-overflow:ellipsis;overflow:inherit;box-sizing:border-box}:host(.item-label-stacked),:host(.item-label-floating){align-items:start}:host(.item-label-stacked) .input-wrapper,:host(.item-label-floating) .input-wrapper{flex:1;flex-direction:column}.item-highlight,.item-inner-highlight{left:0;right:0;top:0;bottom:0;border-radius:inherit;position:absolute;width:100%;height:100%;transform:scaleX(0);transition:transform 200ms, border-bottom-width 200ms;z-index:2;box-sizing:border-box;pointer-events:none}:host(.item-interactive.item-has-focus) .item-native{caret-color:var(--highlight-background)}:host(.item-interactive.ion-focused),:host(.item-interactive.item-has-focus),:host(.item-interactive.ion-touched.ion-invalid){--full-highlight-height:calc(var(--highlight-height) * var(--show-full-highlight));--inset-highlight-height:calc(var(--highlight-height) * var(--show-inset-highlight))}:host(.item-interactive.ion-focused),:host(.item-interactive.item-has-focus){--highlight-background:var(--highlight-color-focused)}:host(.item-interactive.ion-valid){--highlight-background:var(--highlight-color-valid)}:host(.item-interactive.ion-invalid){--highlight-background:var(--highlight-color-invalid)}:host(.item-interactive.ion-invalid) ::slotted([slot=helper]){display:none}::slotted([slot=error]){display:none;color:var(--highlight-color-invalid)}:host(.item-interactive.ion-invalid) ::slotted([slot=error]){display:block}:host(:not(.item-label)) ::slotted(ion-select){--padding-start:0;max-width:none}:host(.item-label-stacked) ::slotted(ion-select),:host(.item-label-floating) ::slotted(ion-select){--padding-top:8px;--padding-bottom:8px;--padding-start:0;align-self:stretch;width:100%;max-width:100%}:host(:not(.item-label)) ::slotted(ion-datetime){--padding-start:0}:host(.item-label-stacked) ::slotted(ion-datetime),:host(.item-label-floating) ::slotted(ion-datetime){--padding-start:0;width:100%}:host(.item-multiple-inputs) ::slotted(ion-checkbox),:host(.item-multiple-inputs) ::slotted(ion-datetime),:host(.item-multiple-inputs) ::slotted(ion-radio),:host(.item-multiple-inputs) ::slotted(ion-select){position:relative}:host(.item-textarea){align-items:stretch}::slotted(ion-reorder[slot]){margin-top:0;margin-bottom:0}ion-ripple-effect{color:var(--ripple-color)}:host(.item-fill-solid) ::slotted([slot=start]),:host(.item-fill-solid) ::slotted([slot=end]),:host(.item-fill-outline) ::slotted([slot=start]),:host(.item-fill-outline) ::slotted([slot=end]){align-self:center}::slotted([slot=helper]),::slotted([slot=error]),.item-counter{padding-top:5px;font-size:12px;z-index:1}.item-counter{margin-left:auto;padding-inline-start:16px;white-space:nowrap}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.item-counter{margin-left:unset;-webkit-margin-start:auto;margin-inline-start:auto}}@media (prefers-reduced-motion: reduce){.item-highlight,.item-inner-highlight{transition:none}}:host{--min-height:48px;--background:var(--ion-item-background, var(--ion-background-color, #fff));--background-activated:transparent;--background-focused:currentColor;--background-hover:currentColor;--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));--color:var(--ion-item-color, var(--ion-text-color, #000));--transition:opacity 15ms linear, background-color 15ms linear;--padding-start:16px;--inner-padding-end:16px;--inner-border-width:0 0 1px 0;--highlight-height:1px;--highlight-color-focused:var(--ion-color-primary, #3880ff);--highlight-color-valid:var(--ion-color-success, #2dd36f);--highlight-color-invalid:var(--ion-color-danger, #eb445a);font-size:16px;font-weight:normal;text-transform:none}:host(.item-fill-outline){--highlight-height:2px}:host(.item-fill-none.item-interactive.ion-focus) .item-highlight,:host(.item-fill-none.item-interactive.item-has-focus) .item-highlight,:host(.item-fill-none.item-interactive.ion-touched.ion-invalid) .item-highlight{transform:scaleX(1);border-width:0 0 var(--full-highlight-height) 0;border-style:var(--border-style);border-color:var(--highlight-background)}:host(.item-fill-none.item-interactive.ion-focus) .item-native,:host(.item-fill-none.item-interactive.item-has-focus) .item-native,:host(.item-fill-none.item-interactive.ion-touched.ion-invalid) .item-native{border-bottom-color:var(--highlight-background)}:host(.item-fill-outline.item-interactive.ion-focus) .item-highlight,:host(.item-fill-outline.item-interactive.item-has-focus) .item-highlight{transform:scaleX(1)}:host(.item-fill-outline.item-interactive.ion-focus) .item-highlight,:host(.item-fill-outline.item-interactive.item-has-focus) .item-highlight,:host(.item-fill-outline.item-interactive.ion-touched.ion-invalid) .item-highlight{border-width:var(--full-highlight-height);border-style:var(--border-style);border-color:var(--highlight-background)}:host(.item-fill-outline.item-interactive.ion-touched.ion-invalid) .item-native{border-color:var(--highlight-background)}:host(.item-fill-solid.item-interactive.ion-focus) .item-highlight,:host(.item-fill-solid.item-interactive.item-has-focus) .item-highlight,:host(.item-fill-solid.item-interactive.ion-touched.ion-invalid) .item-highlight{transform:scaleX(1);border-width:0 0 var(--full-highlight-height) 0;border-style:var(--border-style);border-color:var(--highlight-background)}:host(.item-fill-solid.item-interactive.ion-focus) .item-native,:host(.item-fill-solid.item-interactive.item-has-focus) .item-native,:host(.item-fill-solid.item-interactive.ion-touched.ion-invalid) .item-native{border-bottom-color:var(--highlight-background)}:host(.ion-color.ion-activated) .item-native::after{background:transparent}:host(.item-has-focus) .item-native{caret-color:var(--highlight-color-focused)}:host(.item-interactive){--border-width:0 0 1px 0;--inner-border-width:0;--show-full-highlight:1;--show-inset-highlight:0}:host(.item-lines-full){--border-width:0 0 1px 0;--show-full-highlight:1;--show-inset-highlight:0}:host(.item-lines-inset){--inner-border-width:0 0 1px 0;--show-full-highlight:0;--show-inset-highlight:1}:host(.item-lines-inset),:host(.item-lines-none){--border-width:0;--show-full-highlight:0}:host(.item-lines-full),:host(.item-lines-none){--inner-border-width:0;--show-inset-highlight:0}:host(.item-fill-outline) .item-highlight{--position-offset:calc(-1 * var(--border-width));left:var(--position-offset);top:var(--position-offset);width:calc(100% + 2 * var(--border-width));height:calc(100% + 2 * var(--border-width));transition:none}:host-context([dir=rtl]):host(.item-fill-outline) .item-highlight,:host-context([dir=rtl]).item-fill-outline .item-highlight{left:unset;right:unset;right:var(--position-offset)}:host(.item-fill-outline.ion-focused) .item-native,:host(.item-fill-outline.item-has-focus) .item-native{border-color:transparent}:host(.item-multi-line) ::slotted([slot=start]),:host(.item-multi-line) ::slotted([slot=end]){margin-top:16px;margin-bottom:16px;align-self:flex-start}::slotted([slot=start]){margin-right:32px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted([slot=start]){margin-right:unset;-webkit-margin-end:32px;margin-inline-end:32px}}::slotted([slot=end]){margin-left:32px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted([slot=end]){margin-left:unset;-webkit-margin-start:32px;margin-inline-start:32px}}:host(.item-fill-solid) ::slotted([slot=start]),:host(.item-fill-solid) ::slotted([slot=end]),:host(.item-fill-outline) ::slotted([slot=start]),:host(.item-fill-outline) ::slotted([slot=end]){align-self:center}::slotted(ion-icon){color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54);font-size:24px}:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) ::slotted(ion-icon){color:var(--ion-color-contrast)}::slotted(ion-icon[slot]){margin-top:12px;margin-bottom:12px}::slotted(ion-icon[slot=start]){margin-right:32px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=start]){margin-right:unset;-webkit-margin-end:32px;margin-inline-end:32px}}::slotted(ion-icon[slot=end]){margin-left:16px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=end]){margin-left:unset;-webkit-margin-start:16px;margin-inline-start:16px}}:host(.item-fill-solid) ::slotted(ion-icon[slot=start]),:host(.item-fill-outline) ::slotted(ion-icon[slot=start]){margin-right:8px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host(.item-fill-solid) ::slotted(ion-icon[slot=start]),:host(.item-fill-outline) ::slotted(ion-icon[slot=start]){margin-right:unset;-webkit-margin-end:8px;margin-inline-end:8px}}::slotted(ion-toggle[slot=start]),::slotted(ion-toggle[slot=end]){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}::slotted(ion-note){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;align-self:flex-start;font-size:11px}::slotted(ion-note[slot]:not([slot=helper]):not([slot=error])){padding-left:0;padding-right:0;padding-top:18px;padding-bottom:10px}::slotted(ion-note[slot=start]){padding-right:16px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted(ion-note[slot=start]){padding-right:unset;-webkit-padding-end:16px;padding-inline-end:16px}}::slotted(ion-note[slot=end]){padding-left:16px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted(ion-note[slot=end]){padding-left:unset;-webkit-padding-start:16px;padding-inline-start:16px}}::slotted(ion-avatar){width:40px;height:40px}::slotted(ion-thumbnail){width:56px;height:56px}::slotted(ion-avatar),::slotted(ion-thumbnail){margin-top:8px;margin-bottom:8px}::slotted(ion-avatar[slot=start]),::slotted(ion-thumbnail[slot=start]){margin-right:16px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted(ion-avatar[slot=start]),::slotted(ion-thumbnail[slot=start]){margin-right:unset;-webkit-margin-end:16px;margin-inline-end:16px}}::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){margin-left:16px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){margin-left:unset;-webkit-margin-start:16px;margin-inline-start:16px}}::slotted(ion-label){margin-left:0;margin-right:0;margin-top:10px;margin-bottom:10px}:host(.item-label-stacked) ::slotted([slot=end]),:host(.item-label-floating) ::slotted([slot=end]){margin-top:7px;margin-bottom:7px}:host(.item-label-fixed) ::slotted(ion-select),:host(.item-label-fixed) ::slotted(ion-datetime){--padding-start:8px}:host(.item-toggle) ::slotted(ion-label),:host(.item-radio) ::slotted(ion-label){margin-left:0}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host(.item-toggle) ::slotted(ion-label),:host(.item-radio) ::slotted(ion-label){margin-left:unset;-webkit-margin-start:0;margin-inline-start:0}}::slotted(.button-small){--padding-top:0;--padding-bottom:0;--padding-start:.6em;--padding-end:.6em;height:25px;font-size:12px}:host(.item-label-floating),:host(.item-label-stacked){--min-height:55px}:host(.item-label-stacked) ::slotted(ion-select),:host(.item-label-floating) ::slotted(ion-select){--padding-top:8px;--padding-bottom:8px;--padding-start:0}:host(.ion-focused:not(.ion-color)) ::slotted(.label-stacked),:host(.ion-focused:not(.ion-color)) ::slotted(.label-floating),:host(.item-has-focus:not(.ion-color)) ::slotted(.label-stacked),:host(.item-has-focus:not(.ion-color)) ::slotted(.label-floating){color:var(--ion-color-primary, #3880ff)}:host(.ion-color){--highlight-color-focused:var(--ion-color-contrast)}:host(.item-label-color){--highlight-color-focused:var(--ion-color-base)}:host(.item-fill-solid.ion-color),:host(.item-fill-outline.ion-color){--highlight-color-focused:var(--ion-color-base)}:host(.item-fill-solid){--background:var(--ion-color-step-50, #f2f2f2);--background-hover:var(--ion-color-step-100, #e6e6e6);--background-focused:var(--ion-color-step-150, #d9d9d9);--border-width:0 0 1px 0;--inner-border-width:0;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}:host-context([dir=rtl]):host(.item-fill-solid),:host-context([dir=rtl]).item-fill-solid{border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}:host(.item-fill-solid) .item-native{--border-color:var(--ion-color-step-500, gray)}:host(.item-fill-solid.ion-focused) .item-native,:host(.item-fill-solid.item-has-focus) .item-native{--background:var(--background-focused)}:host(.item-fill-solid.item-shape-round){border-top-left-radius:16px;border-top-right-radius:16px;border-bottom-right-radius:0;border-bottom-left-radius:0}:host-context([dir=rtl]):host(.item-fill-solid.item-shape-round),:host-context([dir=rtl]).item-fill-solid.item-shape-round{border-top-left-radius:16px;border-top-right-radius:16px;border-bottom-right-radius:0;border-bottom-left-radius:0}@media (any-hover: hover){:host(.item-fill-solid:hover) .item-native{--background:var(--background-hover);--border-color:var(--ion-color-step-750, #404040)}}:host(.item-fill-outline){--ripple-color:transparent;--background-focused:transparent;--background-hover:transparent;--border-color:var(--ion-color-step-500, gray);--border-width:1px;border:none;overflow:visible}:host(.item-fill-outline) .item-native{--native-padding-left:16px;border-radius:4px}:host(.item-fill-outline.item-shape-round) .item-native{--inner-padding-start:16px;border-radius:28px}:host(.item-fill-outline.item-shape-round) .item-bottom{padding-left:32px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host(.item-fill-outline.item-shape-round) .item-bottom{padding-left:unset;-webkit-padding-start:32px;padding-inline-start:32px}}:host(.item-fill-outline.item-label-floating.ion-focused) .item-native ::slotted(ion-input:not(:first-child)),:host(.item-fill-outline.item-label-floating.ion-focused) .item-native ::slotted(ion-textarea:not(:first-child)),:host(.item-fill-outline.item-label-floating.item-has-focus) .item-native ::slotted(ion-input:not(:first-child)),:host(.item-fill-outline.item-label-floating.item-has-focus) .item-native ::slotted(ion-textarea:not(:first-child)),:host(.item-fill-outline.item-label-floating.item-has-value) .item-native ::slotted(ion-input:not(:first-child)),:host(.item-fill-outline.item-label-floating.item-has-value) .item-native ::slotted(ion-textarea:not(:first-child)){transform:translateY(-14px)}@media (any-hover: hover){:host(.item-fill-outline:hover) .item-native{--border-color:var(--ion-color-step-750, #404040)}}.item-counter{color:rgba(0, 0, 0, 0.6);letter-spacing:0.0333333333em}";
129
-
130
- const Item = class {
131
- constructor(hostRef) {
132
- registerInstance(this, hostRef);
133
- this.labelColorStyles = {};
134
- this.itemStyles = new Map();
135
- this.multipleInputs = false;
136
- this.focusable = true;
137
- /**
138
- * If `true`, a button tag will be rendered and the item will be tappable.
139
- */
140
- this.button = false;
141
- /**
142
- * The icon to use when `detail` is set to `true`.
143
- */
144
- this.detailIcon = chevronForward;
145
- /**
146
- * If `true`, the user cannot interact with the item.
147
- */
148
- this.disabled = false;
149
- /**
150
- * If `true`, a character counter will display the ratio of characters used and the total character limit. Only applies when the `maxlength` property is set on the inner `ion-input` or `ion-textarea`.
151
- */
152
- this.counter = false;
153
- /**
154
- * When using a router, it specifies the transition direction when navigating to
155
- * another page using `href`.
156
- */
157
- this.routerDirection = 'forward';
158
- /**
159
- * The type of the button. Only used when an `onclick` or `button` property is present.
160
- */
161
- this.type = 'button';
162
- }
163
- handleIonChange(ev) {
164
- if (this.counter && ev.target === this.getFirstInput()) {
165
- this.updateCounterOutput(ev.target);
166
- }
167
- }
168
- labelColorChanged(ev) {
169
- const { color } = this;
170
- // There will be a conflict with item color if
171
- // we apply the label color to item, so we ignore
172
- // the label color if the user sets a color on item
173
- if (color === undefined) {
174
- this.labelColorStyles = ev.detail;
175
- }
176
- }
177
- itemStyle(ev) {
178
- ev.stopPropagation();
179
- const tagName = ev.target.tagName;
180
- const updatedStyles = ev.detail;
181
- const newStyles = {};
182
- const childStyles = this.itemStyles.get(tagName) || {};
183
- let hasStyleChange = false;
184
- Object.keys(updatedStyles).forEach(key => {
185
- if (updatedStyles[key]) {
186
- const itemKey = `item-${key}`;
187
- if (!childStyles[itemKey]) {
188
- hasStyleChange = true;
189
- }
190
- newStyles[itemKey] = true;
191
- }
192
- });
193
- if (!hasStyleChange && Object.keys(newStyles).length !== Object.keys(childStyles).length) {
194
- hasStyleChange = true;
195
- }
196
- if (hasStyleChange) {
197
- this.itemStyles.set(tagName, newStyles);
198
- forceUpdate(this);
199
- }
200
- }
201
- connectedCallback() {
202
- if (this.counter) {
203
- this.updateCounterOutput(this.getFirstInput());
204
- }
205
- this.hasStartEl();
206
- }
207
- componentDidUpdate() {
208
- // Do not use @Listen here to avoid making all items
209
- // appear as clickable to screen readers
210
- // https://github.com/ionic-team/ionic-framework/issues/22011
211
- const input = this.getFirstInput();
212
- if (input && !this.clickListener) {
213
- this.clickListener = (ev) => this.delegateFocus(ev, input);
214
- this.el.addEventListener('click', this.clickListener);
215
- }
216
- }
217
- disconnectedCallback() {
218
- const input = this.getFirstInput();
219
- if (input && this.clickListener) {
220
- this.el.removeEventListener('click', this.clickListener);
221
- this.clickListener = undefined;
222
- }
223
- }
224
- componentDidLoad() {
225
- raf(() => {
226
- this.setMultipleInputs();
227
- this.focusable = this.isFocusable();
228
- });
229
- }
230
- // If the item contains multiple clickable elements and/or inputs, then the item
231
- // should not have a clickable input cover over the entire item to prevent
232
- // interfering with their individual click events
233
- setMultipleInputs() {
234
- // The following elements have a clickable cover that is relative to the entire item
235
- const covers = this.el.querySelectorAll('ion-checkbox, ion-datetime, ion-select, ion-radio');
236
- // The following elements can accept focus alongside the previous elements
237
- // therefore if these elements are also a child of item, we don't want the
238
- // input cover on top of those interfering with their clicks
239
- const inputs = this.el.querySelectorAll('ion-input, ion-range, ion-searchbar, ion-segment, ion-textarea, ion-toggle');
240
- // The following elements should also stay clickable when an input with cover is present
241
- const clickables = this.el.querySelectorAll('ion-anchor, ion-button, a, button');
242
- // Check for multiple inputs to change the position of the input cover to relative
243
- // for all of the covered inputs above
244
- this.multipleInputs = covers.length + inputs.length > 1
245
- || covers.length + clickables.length > 1
246
- || covers.length > 0 && this.isClickable();
247
- }
248
- // If the item contains an input including a checkbox, datetime, select, or radio
249
- // then the item will have a clickable input cover that covers the item
250
- // that should get the hover, focused and activated states UNLESS it has multiple
251
- // inputs, then those need to individually get each click
252
- hasCover() {
253
- const inputs = this.el.querySelectorAll('ion-checkbox, ion-datetime, ion-select, ion-radio');
254
- return inputs.length === 1 && !this.multipleInputs;
255
- }
256
- // If the item has an href or button property it will render a native
257
- // anchor or button that is clickable
258
- isClickable() {
259
- return (this.href !== undefined || this.button);
260
- }
261
- canActivate() {
262
- return (this.isClickable() || this.hasCover());
263
- }
264
- isFocusable() {
265
- const focusableChild = this.el.querySelector('.ion-focusable');
266
- return (this.canActivate() || focusableChild !== null);
267
- }
268
- getFirstInput() {
269
- const inputs = this.el.querySelectorAll('ion-input, ion-textarea');
270
- return inputs[0];
271
- }
272
- // This is needed for WebKit due to a delegatesFocus bug where
273
- // clicking on the left padding of an item is not focusing the input
274
- // but is opening the keyboard. It will no longer be needed with
275
- // iOS 14.
276
- delegateFocus(ev, input) {
277
- const clickedItem = ev.target.tagName === 'ION-ITEM';
278
- let firstActive = false;
279
- // If the first input is the same as the active element we need
280
- // to focus the first input again, but if the active element
281
- // is another input inside of the item we shouldn't switch focus
282
- if (document.activeElement) {
283
- firstActive = input.querySelector('input, textarea') === document.activeElement;
284
- }
285
- // Only focus the first input if we clicked on an ion-item
286
- // and the first input exists
287
- if (clickedItem && (firstActive || !this.multipleInputs)) {
288
- input.fireFocusEvents = false;
289
- input.setBlur();
290
- input.setFocus();
291
- raf(() => {
292
- input.fireFocusEvents = true;
293
- });
294
- }
295
- }
296
- updateCounterOutput(inputEl) {
297
- var _a, _b;
298
- if (this.counter && !this.multipleInputs && (inputEl === null || inputEl === void 0 ? void 0 : inputEl.maxlength) !== undefined) {
299
- const length = (_b = (_a = inputEl === null || inputEl === void 0 ? void 0 : inputEl.value) === null || _a === void 0 ? void 0 : _a.toString().length) !== null && _b !== void 0 ? _b : '0';
300
- this.counterString = `${length} / ${inputEl.maxlength}`;
301
- }
302
- }
303
- hasStartEl() {
304
- const startEl = this.el.querySelector('[slot="start"]');
305
- if (startEl !== null) {
306
- this.el.classList.add('item-has-start-slot');
307
- }
308
- }
309
- render() {
310
- const { counterString, detail, detailIcon, download, fill, labelColorStyles, lines, disabled, href, rel, shape, target, routerAnimation, routerDirection } = this;
311
- const childStyles = {};
312
- const mode = getIonMode(this);
313
- const clickable = this.isClickable();
314
- const canActivate = this.canActivate();
315
- const TagType = clickable ? (href === undefined ? 'button' : 'a') : 'div';
316
- const attrs = (TagType === 'button')
317
- ? { type: this.type }
318
- : {
319
- download,
320
- href,
321
- rel,
322
- target
323
- };
324
- // Only set onClick if the item is clickable to prevent screen
325
- // readers from reading all items as clickable
326
- const clickFn = clickable ? {
327
- onClick: (ev) => { openURL(href, ev, routerDirection, routerAnimation); }
328
- } : {};
329
- const showDetail = detail !== undefined ? detail : mode === 'ios' && clickable;
330
- this.itemStyles.forEach(value => {
331
- Object.assign(childStyles, value);
332
- });
333
- const ariaDisabled = (disabled || childStyles['item-interactive-disabled']) ? 'true' : null;
334
- const fillValue = fill || 'none';
335
- return (h(Host, { "aria-disabled": ariaDisabled, class: Object.assign(Object.assign(Object.assign({}, childStyles), labelColorStyles), createColorClasses(this.color, {
336
- 'item': true,
337
- [mode]: true,
338
- [`item-lines-${lines}`]: lines !== undefined,
339
- [`item-fill-${fillValue}`]: true,
340
- [`item-shape-${shape}`]: shape !== undefined,
341
- 'item-disabled': disabled,
342
- 'in-list': hostContext('ion-list', this.el),
343
- 'item-multiple-inputs': this.multipleInputs,
344
- 'ion-activatable': canActivate,
345
- 'ion-focusable': this.focusable,
346
- 'item-rtl': document.dir === 'rtl'
347
- })) }, h(TagType, Object.assign({}, attrs, { class: "item-native", part: "native", disabled: disabled }, clickFn), h("slot", { name: "start" }), h("div", { class: "item-inner" }, h("div", { class: "input-wrapper" }, h("slot", null)), h("slot", { name: "end" }), showDetail && h("ion-icon", { icon: detailIcon, lazy: false, class: "item-detail-icon", part: "detail-icon", "aria-hidden": "true", "flip-rtl": detailIcon === chevronForward }), h("div", { class: "item-inner-highlight" })), canActivate && mode === 'md' && h("ion-ripple-effect", null), h("div", { class: "item-highlight" })), h("div", { class: "item-bottom" }, h("slot", { name: "error" }), h("slot", { name: "helper" }), counterString && h("ion-note", { class: "item-counter" }, counterString))));
348
- }
349
- static get delegatesFocus() { return true; }
350
- get el() { return getElement(this); }
351
- };
352
- Item.style = {
353
- ios: itemIosCss,
354
- md: itemMdCss
355
- };
356
-
357
- const noteIosCss = ":host{color:var(--color);font-family:var(--ion-font-family, inherit);box-sizing:border-box}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-350, #a6a6a6)}";
358
-
359
- const noteMdCss = ":host{color:var(--color);font-family:var(--ion-font-family, inherit);box-sizing:border-box}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-600, #666666);font-size:14px}";
360
-
361
- const Note = class {
362
- constructor(hostRef) {
363
- registerInstance(this, hostRef);
364
- }
365
- render() {
366
- const mode = getIonMode(this);
367
- return (h(Host, { class: createColorClasses(this.color, {
368
- [mode]: true,
369
- }) }, h("slot", null)));
370
- }
371
- };
372
- Note.style = {
373
- ios: noteIosCss,
374
- md: noteMdCss
375
- };
376
-
377
- export { Button as ion_button, Item as ion_item, Note as ion_note };
@@ -1,88 +0,0 @@
1
- import { r as registerInstance, h, H as Host } from './index-5568e3fa.js';
2
- import { g as getIonMode } from './ionic-global-0939c477.js';
3
- import { o as openURL, c as createColorClasses } from './theme-c336c9d9.js';
4
-
5
- const cardIosCss = ":host{--ion-safe-area-left:0px;--ion-safe-area-right:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.card-disabled){cursor:default;opacity:0.3;pointer-events:none}.card-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;min-height:var(--min-height);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:inherit}.card-native::-moz-focus-inner{border:0}button,a{cursor:pointer;user-select:none;-webkit-user-drag:none}ion-ripple-effect{color:var(--ripple-color)}:host{--background:var(--ion-card-background, var(--ion-item-background, var(--ion-background-color, #fff)));--color:var(--ion-card-color, var(--ion-item-color, var(--ion-color-step-600, #666666)));margin-left:16px;margin-right:16px;margin-top:24px;margin-bottom:24px;border-radius:8px;transform:translateZ(0);transition:transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);font-size:14px;box-shadow:0 4px 16px rgba(0, 0, 0, 0.12)}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host{margin-left:unset;margin-right:unset;-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px}}:host(.ion-activated){transform:scale3d(0.97, 0.97, 1)}";
6
-
7
- const cardMdCss = ":host{--ion-safe-area-left:0px;--ion-safe-area-right:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.card-disabled){cursor:default;opacity:0.3;pointer-events:none}.card-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;min-height:var(--min-height);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:inherit}.card-native::-moz-focus-inner{border:0}button,a{cursor:pointer;user-select:none;-webkit-user-drag:none}ion-ripple-effect{color:var(--ripple-color)}:host{--background:var(--ion-card-background, var(--ion-item-background, var(--ion-background-color, #fff)));--color:var(--ion-card-color, var(--ion-item-color, var(--ion-color-step-550, #737373)));margin-left:10px;margin-right:10px;margin-top:10px;margin-bottom:10px;border-radius:4px;font-size:14px;box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host{margin-left:unset;margin-right:unset;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px}}";
8
-
9
- const Card = class {
10
- constructor(hostRef) {
11
- registerInstance(this, hostRef);
12
- /**
13
- * If `true`, a button tag will be rendered and the card will be tappable.
14
- */
15
- this.button = false;
16
- /**
17
- * The type of the button. Only used when an `onclick` or `button` property is present.
18
- */
19
- this.type = 'button';
20
- /**
21
- * If `true`, the user cannot interact with the card.
22
- */
23
- this.disabled = false;
24
- /**
25
- * When using a router, it specifies the transition direction when navigating to
26
- * another page using `href`.
27
- */
28
- this.routerDirection = 'forward';
29
- }
30
- isClickable() {
31
- return (this.href !== undefined || this.button);
32
- }
33
- renderCard(mode) {
34
- const clickable = this.isClickable();
35
- if (!clickable) {
36
- return [
37
- h("slot", null)
38
- ];
39
- }
40
- const { href, routerAnimation, routerDirection } = this;
41
- const TagType = clickable ? (href === undefined ? 'button' : 'a') : 'div';
42
- const attrs = (TagType === 'button')
43
- ? { type: this.type }
44
- : {
45
- download: this.download,
46
- href: this.href,
47
- rel: this.rel,
48
- target: this.target
49
- };
50
- return (h(TagType, Object.assign({}, attrs, { class: "card-native", part: "native", disabled: this.disabled, onClick: (ev) => openURL(href, ev, routerDirection, routerAnimation) }), h("slot", null), clickable && mode === 'md' && h("ion-ripple-effect", null)));
51
- }
52
- render() {
53
- const mode = getIonMode(this);
54
- return (h(Host, { class: createColorClasses(this.color, {
55
- [mode]: true,
56
- 'card-disabled': this.disabled,
57
- 'ion-activatable': this.isClickable()
58
- }) }, this.renderCard(mode)));
59
- }
60
- };
61
- Card.style = {
62
- ios: cardIosCss,
63
- md: cardMdCss
64
- };
65
-
66
- const cardContentIosCss = "ion-card-content{display:block;position:relative}.card-content-ios{padding-left:20px;padding-right:20px;padding-top:20px;padding-bottom:20px;font-size:16px;line-height:1.4}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.card-content-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px}}.card-content-ios h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:24px;font-weight:normal}.card-content-ios h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:16px;font-weight:normal}.card-content-ios h3,.card-content-ios h4,.card-content-ios h5,.card-content-ios h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:14px;font-weight:normal}.card-content-ios p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:14px}ion-card-header+.card-content-ios{padding-top:0}";
67
-
68
- const cardContentMdCss = "ion-card-content{display:block;position:relative}.card-content-md{padding-left:16px;padding-right:16px;padding-top:13px;padding-bottom:13px;font-size:14px;line-height:1.5}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.card-content-md{padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}.card-content-md h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:24px;font-weight:normal}.card-content-md h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:16px;font-weight:normal}.card-content-md h3,.card-content-md h4,.card-content-md h5,.card-content-md h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:14px;font-weight:normal}.card-content-md p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:14px;font-weight:normal;line-height:1.5}ion-card-header+.card-content-md{padding-top:0}";
69
-
70
- const CardContent = class {
71
- constructor(hostRef) {
72
- registerInstance(this, hostRef);
73
- }
74
- render() {
75
- const mode = getIonMode(this);
76
- return (h(Host, { class: {
77
- [mode]: true,
78
- // Used internally for styling
79
- [`card-content-${mode}`]: true
80
- } }));
81
- }
82
- };
83
- CardContent.style = {
84
- ios: cardContentIosCss,
85
- md: cardContentMdCss
86
- };
87
-
88
- export { Card as ion_card, CardContent as ion_card_content };