@sparkle-learning/core 0.0.36 → 0.0.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (248) hide show
  1. package/dist/cjs/PrivateRoute-4abc9d29.js +35 -0
  2. package/dist/cjs/{PrivateRoute-074c584e.js → auth.service-4b584cd7.js} +0 -30
  3. package/dist/cjs/dom-utils-b8befdd5.js +63 -0
  4. package/dist/cjs/header-mobile-collapse.cjs.entry.js +90 -0
  5. package/dist/cjs/index-70e63f5b.js +3071 -0
  6. package/dist/cjs/index.cjs.js +6 -5
  7. package/dist/cjs/injectHistory-7206bbb9.js +9 -0
  8. package/dist/cjs/ion-avatar.cjs.entry.js +25 -0
  9. package/dist/cjs/ion-button.cjs.entry.js +129 -0
  10. package/dist/cjs/ion-card_2.cjs.entry.js +91 -0
  11. package/dist/cjs/ion-checkbox_4.cjs.entry.js +360 -0
  12. package/dist/cjs/ion-col_3.cjs.entry.js +159 -0
  13. package/dist/cjs/ion-icon_13.cjs.entry.js +1505 -0
  14. package/dist/cjs/ion-input_2.cjs.entry.js +313 -0
  15. package/dist/cjs/ion-label_2.cjs.entry.js +126 -0
  16. package/dist/cjs/ion-spinner.cjs.entry.js +64 -0
  17. package/dist/cjs/loader.cjs.js +1 -1
  18. package/dist/cjs/match-path-84c9f7ca.js +511 -0
  19. package/dist/cjs/sparkle-card_3.cjs.entry.js +91 -0
  20. package/dist/cjs/sparkle-core.cjs.js +1 -1
  21. package/dist/cjs/sparkle-course-root.cjs.entry.js +146 -0
  22. package/dist/cjs/sparkle-dropdown.cjs.entry.js +61 -0
  23. package/dist/cjs/{header-mobile-collapse_61.cjs.entry.js → sparkle-export-lessons_6.cjs.entry.js} +8864 -17750
  24. package/dist/cjs/sparkle-facilitator-header_19.cjs.entry.js +2130 -0
  25. package/dist/cjs/sparkle-feed-post.cjs.entry.js +1 -1
  26. package/dist/cjs/sparkle-feedback.cjs.entry.js +2 -1
  27. package/dist/cjs/sparkle-goal-progress.cjs.entry.js +19 -0
  28. package/dist/cjs/sparkle-gww-item.cjs.entry.js +74 -0
  29. package/dist/cjs/sparkle-menu-toggle_3.cjs.entry.js +236 -0
  30. package/dist/cjs/sparkle-validation-error.cjs.entry.js +21 -0
  31. package/dist/cjs/stencil-router-redirect.cjs.entry.js +32 -0
  32. package/dist/cjs/student.service-d48f1c99.js +61 -0
  33. package/dist/cjs/user.store-8a049c4e.js +21 -0
  34. package/dist/collection/components/sparkle-feed-post/sparkle-feed-post.js +30 -28
  35. package/dist/collection/components/sparkle-quiz/sparkle-quiz/sparkle-quiz.js +2 -1
  36. package/dist/esm/PrivateRoute-7b526801.js +33 -0
  37. package/dist/esm/{animation-12377cb3.js → animation-e0716b39.js} +1 -1
  38. package/dist/esm/{PrivateRoute-c5441f35.js → auth.service-9fb86455.js} +4 -33
  39. package/dist/esm/{auth.store-dba2c2da.js → auth.store-633e8414.js} +1 -1
  40. package/dist/esm/dom-utils-109a7d75.js +55 -0
  41. package/dist/esm/{facilitator.service-b0292f7f.js → facilitator.service-8fd435bf.js} +2 -2
  42. package/dist/esm/{feed.service-8fbe4ce3.js → feed.service-ace049e5.js} +3 -3
  43. package/dist/esm/{framework-delegate-3e634a5c.js → framework-delegate-e4f8013b.js} +1 -1
  44. package/dist/esm/header-mobile-collapse.entry.js +86 -0
  45. package/dist/esm/{helpers-bf0e23d6.js → helpers-03073fe4.js} +1 -1
  46. package/dist/esm/{httpService-7b75b095.js → httpService-61864992.js} +2 -2
  47. package/dist/esm/{icons-9b62a1ec.js → icons-90b957ab.js} +1 -1
  48. package/dist/esm/{index-5e8971ae.js → index-37004831.js} +1 -1
  49. package/dist/esm/{index-45fec1e7.js → index-a2d2941d.js} +1 -1
  50. package/dist/esm/{index-2b84cad2.js → index-b4b4e503.js} +3 -3
  51. package/dist/esm/{index-cded2d87.js → index-dedabca0.js} +2 -2
  52. package/dist/esm/index-f9b9ba5d.js +3067 -0
  53. package/dist/esm/{index.es-e0c0f891.js → index.es-283fbd2e.js} +1 -1
  54. package/dist/esm/index.js +6 -5
  55. package/dist/esm/injectHistory-968f626d.js +7 -0
  56. package/dist/esm/{input-shims-671d8d9f.js → input-shims-cc3720a0.js} +2 -2
  57. package/dist/esm/ion-accordion.entry.js +1 -1
  58. package/dist/esm/ion-action-sheet_4.entry.js +5 -5
  59. package/dist/esm/ion-app.entry.js +3 -3
  60. package/dist/esm/ion-avatar.entry.js +21 -0
  61. package/dist/esm/ion-back-button.entry.js +1 -1
  62. package/dist/esm/ion-breadcrumb.entry.js +1 -1
  63. package/dist/esm/ion-button.entry.js +125 -0
  64. package/dist/esm/ion-card_2.entry.js +86 -0
  65. package/dist/esm/ion-checkbox_4.entry.js +353 -0
  66. package/dist/esm/ion-col_3.entry.js +153 -0
  67. package/dist/esm/ion-content_2.entry.js +2 -2
  68. package/dist/esm/ion-datetime-button.entry.js +1 -1
  69. package/dist/esm/ion-datetime.entry.js +1 -1
  70. package/dist/esm/ion-fab-button.entry.js +1 -1
  71. package/dist/esm/ion-footer.entry.js +2 -2
  72. package/dist/esm/ion-icon_13.entry.js +1489 -0
  73. package/dist/esm/ion-img.entry.js +1 -1
  74. package/dist/esm/ion-infinite-scroll.entry.js +2 -2
  75. package/dist/esm/ion-input_2.entry.js +308 -0
  76. package/dist/esm/ion-item-options.entry.js +1 -1
  77. package/dist/esm/ion-item-sliding.entry.js +2 -2
  78. package/dist/esm/ion-label_2.entry.js +121 -0
  79. package/dist/esm/ion-loading.entry.js +3 -3
  80. package/dist/esm/ion-menu-button.entry.js +4 -4
  81. package/dist/esm/ion-menu-toggle.entry.js +4 -4
  82. package/dist/esm/ion-menu.entry.js +4 -4
  83. package/dist/esm/ion-modal.entry.js +6 -6
  84. package/dist/esm/ion-nav.entry.js +4 -4
  85. package/dist/esm/ion-picker-column-internal_2.entry.js +1 -1
  86. package/dist/esm/ion-picker-column.entry.js +1 -1
  87. package/dist/esm/ion-picker.entry.js +3 -3
  88. package/dist/esm/ion-progress-bar.entry.js +1 -1
  89. package/dist/esm/ion-refresher.entry.js +3 -3
  90. package/dist/esm/ion-reorder-group.entry.js +2 -2
  91. package/dist/esm/ion-router-outlet.entry.js +4 -4
  92. package/dist/esm/ion-router.entry.js +1 -1
  93. package/dist/esm/ion-searchbar.entry.js +1 -1
  94. package/dist/esm/ion-segment-button.entry.js +1 -1
  95. package/dist/esm/ion-segment.entry.js +1 -1
  96. package/dist/esm/ion-select_2.entry.js +2 -2
  97. package/dist/esm/ion-slides.entry.js +1 -1
  98. package/dist/esm/ion-spinner.entry.js +60 -0
  99. package/dist/esm/ion-tab.entry.js +2 -2
  100. package/dist/esm/ion-textarea.entry.js +1 -1
  101. package/dist/esm/ion-toast.entry.js +3 -3
  102. package/dist/esm/ion-toggle.entry.js +1 -1
  103. package/dist/esm/ion-virtual-scroll.entry.js +1 -1
  104. package/dist/esm/{ios.transition-131d64fe.js → ios.transition-3a6179bb.js} +3 -3
  105. package/dist/esm/loader.js +1 -1
  106. package/dist/esm/match-path-36fdf5c7.js +499 -0
  107. package/dist/esm/{md.transition-f6126011.js → md.transition-cff16bf3.js} +3 -3
  108. package/dist/esm/{menu-toggle-util-bace8ae6.js → menu-toggle-util-59241733.js} +1 -1
  109. package/dist/esm/{overlays-3b4dca92.js → overlays-bdd9344a.js} +2 -2
  110. package/dist/esm/{purify-85bfcc69.js → purify-7085b248.js} +1 -1
  111. package/dist/esm/sparkle-animation-player.entry.js +1 -1
  112. package/dist/esm/sparkle-card_3.entry.js +85 -0
  113. package/dist/esm/sparkle-code.entry.js +1 -1
  114. package/dist/esm/sparkle-core.js +1 -1
  115. package/dist/esm/sparkle-course-root.entry.js +142 -0
  116. package/dist/esm/sparkle-dropdown.entry.js +57 -0
  117. package/dist/esm/{header-mobile-collapse_61.entry.js → sparkle-export-lessons_6.entry.js} +8859 -17690
  118. package/dist/esm/sparkle-facilitator-header_19.entry.js +2108 -0
  119. package/dist/esm/sparkle-facilitator-notes-form.entry.js +5 -5
  120. package/dist/esm/sparkle-feed-post.entry.js +3 -3
  121. package/dist/esm/sparkle-feedback.entry.js +6 -5
  122. package/dist/esm/sparkle-goal-form.entry.js +6 -6
  123. package/dist/esm/sparkle-goal-progress.entry.js +15 -0
  124. package/dist/esm/sparkle-gww-item.entry.js +70 -0
  125. package/dist/esm/sparkle-menu-collapsible.entry.js +1 -1
  126. package/dist/esm/sparkle-menu-toggle_3.entry.js +230 -0
  127. package/dist/esm/sparkle-validation-error.entry.js +17 -0
  128. package/dist/esm/{status-tap-dde52787.js → status-tap-463d0f87.js} +2 -2
  129. package/dist/esm/stencil-router-redirect.entry.js +28 -0
  130. package/dist/esm/{student.service-0746418b.js → student.service-e6eb1f99.js} +3 -19
  131. package/dist/esm/{swipe-back-7847a0c1.js → swipe-back-f8765ac9.js} +1 -1
  132. package/dist/esm/user.store-b8645067.js +19 -0
  133. package/dist/esm/{util-6ef753e9.js → util-a831d09d.js} +1 -1
  134. package/dist/sparkle-core/index.esm.js +1 -1
  135. package/dist/sparkle-core/{p-2c1ca854.entry.js → p-014b5707.entry.js} +1 -1
  136. package/dist/sparkle-core/p-03585916.js +1 -0
  137. package/dist/sparkle-core/p-08d97c59.entry.js +1 -0
  138. package/dist/sparkle-core/{p-cabfbf22.entry.js → p-0bb0cf41.entry.js} +1 -1
  139. package/dist/sparkle-core/{p-30b810d1.entry.js → p-0c0f8acd.entry.js} +1 -1
  140. package/dist/sparkle-core/{p-de4deb61.entry.js → p-0ea2518d.entry.js} +1 -1
  141. package/dist/sparkle-core/p-1019ebc3.js +1 -0
  142. package/dist/sparkle-core/p-1728ead7.js +1 -0
  143. package/dist/sparkle-core/{p-d68092b7.js → p-17eb4633.js} +1 -1
  144. package/dist/sparkle-core/{p-e686d8b5.entry.js → p-1f0b3ff9.entry.js} +1 -1
  145. package/dist/sparkle-core/{p-a102341e.entry.js → p-25e556cc.entry.js} +1 -1
  146. package/dist/sparkle-core/{p-0c3f3ea6.entry.js → p-285ab4ed.entry.js} +1 -1
  147. package/dist/sparkle-core/{p-c60b29bd.entry.js → p-2d4a5ddf.entry.js} +2 -2
  148. package/dist/sparkle-core/{p-641bfc92.entry.js → p-2e035338.entry.js} +1 -1
  149. package/dist/sparkle-core/{p-2ff67662.js → p-2e2b813c.js} +2 -2
  150. package/dist/sparkle-core/{p-6ffd2420.entry.js → p-2f10208d.entry.js} +1 -1
  151. package/dist/sparkle-core/{p-b5f3e1bf.entry.js → p-2fba9a3a.entry.js} +1 -1
  152. package/dist/sparkle-core/{p-b3f375fb.entry.js → p-317037de.entry.js} +1 -1
  153. package/dist/sparkle-core/p-32762a44.entry.js +1 -0
  154. package/dist/sparkle-core/{p-2f569553.js → p-340754ed.js} +1 -1
  155. package/dist/sparkle-core/p-3bc68dd0.js +1 -0
  156. package/dist/sparkle-core/p-3c133235.entry.js +1 -0
  157. package/dist/sparkle-core/{p-48f72e63.js → p-3f85e1ca.js} +2 -2
  158. package/dist/sparkle-core/{p-2033cd86.js → p-405f7c58.js} +2 -2
  159. package/dist/sparkle-core/{p-9ebf0537.entry.js → p-4320dac0.entry.js} +1 -1
  160. package/dist/sparkle-core/{p-e863bf1d.entry.js → p-44f813b7.entry.js} +1 -1
  161. package/dist/sparkle-core/p-46869031.entry.js +1 -0
  162. package/dist/sparkle-core/p-4a5f2b2b.js +1 -0
  163. package/dist/sparkle-core/{p-894ff7e6.entry.js → p-4ae75caa.entry.js} +1 -1
  164. package/dist/sparkle-core/{p-935e7cfc.js → p-4bd4dab2.js} +1 -1
  165. package/dist/sparkle-core/{p-00d10dc9.js → p-539bf742.js} +2 -2
  166. package/dist/sparkle-core/p-53bcbd1d.js +1 -0
  167. package/dist/sparkle-core/p-54ada5e3.entry.js +1 -0
  168. package/dist/sparkle-core/{p-9289cdbc.entry.js → p-5519d283.entry.js} +1 -1
  169. package/dist/sparkle-core/p-554da5b8.entry.js +1 -0
  170. package/dist/sparkle-core/{p-e8073714.js → p-56a2e8a2.js} +1 -1
  171. package/dist/sparkle-core/p-5da2d95a.entry.js +1 -0
  172. package/dist/sparkle-core/{p-b0603d19.js → p-5fc26938.js} +1 -1
  173. package/dist/sparkle-core/{p-ebd4354b.entry.js → p-63f69cdc.entry.js} +1 -1
  174. package/dist/sparkle-core/{p-11356b03.entry.js → p-64e814b9.entry.js} +1 -1
  175. package/dist/sparkle-core/{p-ce4b22f7.entry.js → p-66a85393.entry.js} +1 -1
  176. package/dist/sparkle-core/p-6b05a1d3.entry.js +1 -0
  177. package/dist/sparkle-core/p-6ea246fe.js +4 -0
  178. package/dist/sparkle-core/p-6ed0236e.entry.js +1 -0
  179. package/dist/sparkle-core/{p-54dd894f.entry.js → p-6f0545b3.entry.js} +1 -1
  180. package/dist/sparkle-core/{p-0f1c5899.entry.js → p-727e1c28.entry.js} +1 -1
  181. package/dist/sparkle-core/p-7f25366a.entry.js +1 -0
  182. package/dist/sparkle-core/{p-b96f3c84.entry.js → p-82ad4e7c.entry.js} +2 -2
  183. package/dist/sparkle-core/p-91accfc1.js +1 -0
  184. package/dist/sparkle-core/{p-af3cc111.entry.js → p-93e74f1b.entry.js} +1 -1
  185. package/dist/sparkle-core/{p-86ed13f0.js → p-a019ad0c.js} +1 -1
  186. package/dist/sparkle-core/p-a5c5da9a.entry.js +1 -0
  187. package/dist/sparkle-core/{p-1d4c7c11.js → p-a85598ad.js} +1 -1
  188. package/dist/sparkle-core/p-a8a77bec.entry.js +1 -0
  189. package/dist/sparkle-core/{p-bd80ff43.js → p-ad102371.js} +1 -1
  190. package/dist/sparkle-core/{p-377b04c2.entry.js → p-b236d258.entry.js} +1 -1
  191. package/dist/sparkle-core/{p-9abbd715.entry.js → p-b4b01fa2.entry.js} +1 -1
  192. package/dist/sparkle-core/{p-6faa194c.entry.js → p-b4bc8b02.entry.js} +1 -1
  193. package/dist/sparkle-core/{p-0fa3fd63.entry.js → p-b5ec8fb0.entry.js} +1 -1
  194. package/dist/sparkle-core/{p-fb757951.entry.js → p-b83444c7.entry.js} +1 -1
  195. package/dist/sparkle-core/{p-05c032dd.js → p-b9933822.js} +1 -1
  196. package/dist/sparkle-core/{p-0afa3a4d.entry.js → p-b9b1d4da.entry.js} +1 -1
  197. package/dist/sparkle-core/{p-3de0e00c.js → p-be28346b.js} +1 -1
  198. package/dist/sparkle-core/{p-0ad5c123.entry.js → p-c278db5f.entry.js} +1 -1
  199. package/dist/sparkle-core/{p-fb0ca75e.entry.js → p-c2bbaf55.entry.js} +1 -1
  200. package/dist/sparkle-core/p-c4af184b.entry.js +1 -0
  201. package/dist/sparkle-core/p-c71cbbf7.entry.js +1 -0
  202. package/dist/sparkle-core/p-c8c73fa7.js +4 -0
  203. package/dist/sparkle-core/{p-1e125ca5.entry.js → p-c8fe45df.entry.js} +1 -1
  204. package/dist/sparkle-core/{p-600cf6a3.js → p-c9cd4ff1.js} +1 -1
  205. package/dist/sparkle-core/{p-5cad23f1.js → p-ca4c8a10.js} +1 -1
  206. package/dist/sparkle-core/{p-1e4f65ee.entry.js → p-cab3da3c.entry.js} +1 -1
  207. package/dist/sparkle-core/p-cd832fbf.entry.js +1 -0
  208. package/dist/sparkle-core/{p-564e64fc.entry.js → p-ce94efdb.entry.js} +1 -1
  209. package/dist/sparkle-core/p-d0ac5f17.js +1 -0
  210. package/dist/sparkle-core/p-d1fcbfc2.js +4 -0
  211. package/dist/sparkle-core/p-d432d3ac.entry.js +1 -0
  212. package/dist/sparkle-core/{p-fbccd30c.js → p-d81a0680.js} +1 -1
  213. package/dist/sparkle-core/p-d969f7d0.entry.js +348 -0
  214. package/dist/sparkle-core/{p-0664370b.entry.js → p-dabc80c4.entry.js} +1 -1
  215. package/dist/sparkle-core/{p-58e4bbe5.entry.js → p-db8387eb.entry.js} +1 -1
  216. package/dist/sparkle-core/p-dca90a55.entry.js +4 -0
  217. package/dist/sparkle-core/p-dd2e7f84.js +4 -0
  218. package/dist/sparkle-core/p-e0429a19.entry.js +1 -0
  219. package/dist/sparkle-core/{p-24cb9a33.entry.js → p-e65c72cc.entry.js} +1 -1
  220. package/dist/sparkle-core/p-e7066c64.entry.js +1 -0
  221. package/dist/sparkle-core/{p-9d894ed4.js → p-e7568d4b.js} +1 -1
  222. package/dist/sparkle-core/p-eb40a191.entry.js +1 -0
  223. package/dist/sparkle-core/p-ecdea569.entry.js +1 -0
  224. package/dist/sparkle-core/{p-74864276.entry.js → p-ed9f48c4.entry.js} +1 -1
  225. package/dist/sparkle-core/p-ef6c2352.entry.js +1 -0
  226. package/dist/sparkle-core/{p-be64105c.entry.js → p-f0cf4a8f.entry.js} +1 -1
  227. package/dist/sparkle-core/{p-c0533c23.entry.js → p-f4b0b6a4.entry.js} +1 -1
  228. package/dist/sparkle-core/{p-ef4edc48.entry.js → p-fc965b88.entry.js} +1 -1
  229. package/dist/sparkle-core/{p-39712c56.entry.js → p-fde382f0.entry.js} +1 -1
  230. package/dist/sparkle-core/sparkle-core.esm.js +1 -1
  231. package/package.json +2 -2
  232. package/dist/cjs/sparkle-quiz-feedback_5.cjs.entry.js +0 -117
  233. package/dist/cjs/sparkle-quiz.cjs.entry.js +0 -119
  234. package/dist/cjs/student.service-2e58f237.js +0 -78
  235. package/dist/esm/sparkle-quiz-feedback_5.entry.js +0 -109
  236. package/dist/esm/sparkle-quiz.entry.js +0 -115
  237. package/dist/sparkle-core/p-077c732b.js +0 -4
  238. package/dist/sparkle-core/p-12dd96d7.js +0 -4
  239. package/dist/sparkle-core/p-23aca7ca.js +0 -4
  240. package/dist/sparkle-core/p-3a965828.entry.js +0 -1
  241. package/dist/sparkle-core/p-462bffba.js +0 -1
  242. package/dist/sparkle-core/p-590266d6.entry.js +0 -1
  243. package/dist/sparkle-core/p-5efc6566.js +0 -1
  244. package/dist/sparkle-core/p-73721c84.js +0 -4
  245. package/dist/sparkle-core/p-80d6b0e6.entry.js +0 -1
  246. package/dist/sparkle-core/p-8492a765.entry.js +0 -1
  247. package/dist/sparkle-core/p-c3cadfc6.entry.js +0 -1
  248. package/dist/sparkle-core/p-eaf76d1d.entry.js +0 -352
@@ -0,0 +1,353 @@
1
+ import { r as registerInstance, i as createEvent, h, H as Host, e as getElement } from './index-c04b9ed5.js';
2
+ import { g as getIonMode } from './ionic-global-4903e23e.js';
3
+ import { h as getAriaLabel, j as renderHiddenInput, a as addEventListener, r as removeEventListener } from './helpers-03073fe4.js';
4
+ import { c as createColorClasses, h as hostContext } from './theme-7ef00c83.js';
5
+
6
+ const checkboxIosCss = ":host{--background-checked:var(--ion-color-primary, #3880ff);--border-color-checked:var(--ion-color-primary, #3880ff);--checkmark-color:var(--ion-color-primary-contrast, #fff);--checkmark-width:1;--transition:none;display:inline-block;position:relative;user-select:none;z-index:2}:host(.ion-color){--background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}label{left:0;top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;appearance:none;outline:none;display:flex;align-items:center;opacity:0}[dir=rtl] label,:host-context([dir=rtl]) label{left:unset;right:unset;right:0}label::-moz-focus-inner{border:0}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.checkbox-icon{border-radius:var(--border-radius);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);background:var(--background);box-sizing:border-box}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}:host(.checkbox-checked) .checkbox-icon,:host(.checkbox-indeterminate) .checkbox-icon{border-color:var(--border-color-checked);background:var(--background-checked)}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{opacity:1}:host(.checkbox-disabled){pointer-events:none}:host{--border-radius:50%;--border-width:1px;--border-style:solid;--border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.23);--background:var(--ion-item-background, var(--ion-background-color, #fff));--size:26px;width:var(--size);height:var(--size)}:host(.checkbox-disabled){opacity:0.3}:host(.in-item){margin-left:0;margin-right:8px;margin-top:10px;margin-bottom:9px;display:block;position:static}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host(.in-item){margin-left:unset;margin-right:unset;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px}}:host(.in-item[slot=start]){margin-left:2px;margin-right:20px;margin-top:8px;margin-bottom:8px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host(.in-item[slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:20px;margin-inline-end:20px}}";
7
+
8
+ const checkboxMdCss = ":host{--background-checked:var(--ion-color-primary, #3880ff);--border-color-checked:var(--ion-color-primary, #3880ff);--checkmark-color:var(--ion-color-primary-contrast, #fff);--checkmark-width:1;--transition:none;display:inline-block;position:relative;user-select:none;z-index:2}:host(.ion-color){--background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}label{left:0;top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;appearance:none;outline:none;display:flex;align-items:center;opacity:0}[dir=rtl] label,:host-context([dir=rtl]) label{left:unset;right:unset;right:0}label::-moz-focus-inner{border:0}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.checkbox-icon{border-radius:var(--border-radius);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);background:var(--background);box-sizing:border-box}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}:host(.checkbox-checked) .checkbox-icon,:host(.checkbox-indeterminate) .checkbox-icon{border-color:var(--border-color-checked);background:var(--background-checked)}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{opacity:1}:host(.checkbox-disabled){pointer-events:none}:host{--border-radius:calc(var(--size) * .125);--border-width:2px;--border-style:solid;--border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.51);--checkmark-width:3;--background:var(--ion-item-background, var(--ion-background-color, #fff));--transition:background 180ms cubic-bezier(0.4, 0, 0.2, 1);--size:18px;width:var(--size);height:var(--size)}.checkbox-icon path{stroke-dasharray:30;stroke-dashoffset:30}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{stroke-dashoffset:0;transition:stroke-dashoffset 90ms linear 90ms}:host(.checkbox-disabled){opacity:0.3}:host(.in-item){margin-left:0;margin-right:0;margin-top:18px;margin-bottom:18px;display:block;position:static}:host(.in-item[slot=start]){margin-left:4px;margin-right:36px;margin-top:18px;margin-bottom:18px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host(.in-item[slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:36px;margin-inline-end:36px}}";
9
+
10
+ const Checkbox = class {
11
+ constructor(hostRef) {
12
+ registerInstance(this, hostRef);
13
+ this.ionChange = createEvent(this, "ionChange", 7);
14
+ this.ionFocus = createEvent(this, "ionFocus", 7);
15
+ this.ionBlur = createEvent(this, "ionBlur", 7);
16
+ this.ionStyle = createEvent(this, "ionStyle", 7);
17
+ this.inputId = `ion-cb-${checkboxIds++}`;
18
+ /**
19
+ * The name of the control, which is submitted with the form data.
20
+ */
21
+ this.name = this.inputId;
22
+ /**
23
+ * If `true`, the checkbox is selected.
24
+ */
25
+ this.checked = false;
26
+ /**
27
+ * If `true`, the checkbox will visually appear as indeterminate.
28
+ */
29
+ this.indeterminate = false;
30
+ /**
31
+ * If `true`, the user cannot interact with the checkbox.
32
+ */
33
+ this.disabled = false;
34
+ /**
35
+ * The value of the checkbox does not mean if it's checked or not, use the `checked`
36
+ * property for that.
37
+ *
38
+ * The value of a checkbox is analogous to the value of an `<input type="checkbox">`,
39
+ * it's only used when the checkbox participates in a native `<form>`.
40
+ */
41
+ this.value = 'on';
42
+ this.onClick = (ev) => {
43
+ ev.preventDefault();
44
+ this.setFocus();
45
+ this.checked = !this.checked;
46
+ this.indeterminate = false;
47
+ };
48
+ this.onFocus = () => {
49
+ this.ionFocus.emit();
50
+ };
51
+ this.onBlur = () => {
52
+ this.ionBlur.emit();
53
+ };
54
+ }
55
+ componentWillLoad() {
56
+ this.emitStyle();
57
+ }
58
+ checkedChanged(isChecked) {
59
+ this.ionChange.emit({
60
+ checked: isChecked,
61
+ value: this.value,
62
+ });
63
+ this.emitStyle();
64
+ }
65
+ disabledChanged() {
66
+ this.emitStyle();
67
+ }
68
+ emitStyle() {
69
+ this.ionStyle.emit({
70
+ 'checkbox-checked': this.checked,
71
+ 'interactive-disabled': this.disabled,
72
+ });
73
+ }
74
+ setFocus() {
75
+ if (this.focusEl) {
76
+ this.focusEl.focus();
77
+ }
78
+ }
79
+ render() {
80
+ const { color, checked, disabled, el, indeterminate, inputId, name, value } = this;
81
+ const mode = getIonMode(this);
82
+ const { label, labelId, labelText } = getAriaLabel(el, inputId);
83
+ renderHiddenInput(true, el, name, checked ? value : '', disabled);
84
+ let path = indeterminate ? (h("path", { d: "M6 12L18 12", part: "mark" })) : (h("path", { d: "M5.9,12.5l3.8,3.8l8.8-8.8", part: "mark" }));
85
+ if (mode === 'md') {
86
+ path = indeterminate ? (h("path", { d: "M2 12H22", part: "mark" })) : (h("path", { d: "M1.73,12.91 8.1,19.28 22.79,4.59", part: "mark" }));
87
+ }
88
+ return (h(Host, { onClick: this.onClick, "aria-labelledby": label ? labelId : null, "aria-checked": `${checked}`, "aria-hidden": disabled ? 'true' : null, role: "checkbox", class: createColorClasses(color, {
89
+ [mode]: true,
90
+ 'in-item': hostContext('ion-item', el),
91
+ 'checkbox-checked': checked,
92
+ 'checkbox-disabled': disabled,
93
+ 'checkbox-indeterminate': indeterminate,
94
+ interactive: true,
95
+ }) }, h("svg", { class: "checkbox-icon", viewBox: "0 0 24 24", part: "container" }, path), h("label", { htmlFor: inputId }, labelText), h("input", { type: "checkbox", "aria-checked": `${checked}`, disabled: disabled, id: inputId, onFocus: () => this.onFocus(), onBlur: () => this.onBlur(), ref: (focusEl) => (this.focusEl = focusEl) })));
96
+ }
97
+ get el() { return getElement(this); }
98
+ static get watchers() { return {
99
+ "checked": ["checkedChanged"],
100
+ "disabled": ["disabledChanged"]
101
+ }; }
102
+ };
103
+ let checkboxIds = 0;
104
+ Checkbox.style = {
105
+ ios: checkboxIosCss,
106
+ md: checkboxMdCss
107
+ };
108
+
109
+ const listHeaderIosCss = ":host{--border-style:solid;--border-width:0;--inner-border-width:0;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:flex;align-items:center;justify-content:space-between;width:100%;min-height:40px;border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);color:var(--color);overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}.list-header-inner{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);overflow:inherit;box-sizing:border-box}::slotted(ion-label){flex:1 1 auto}:host(.list-header-lines-inset),:host(.list-header-lines-none){--border-width:0}:host(.list-header-lines-full),:host(.list-header-lines-none){--inner-border-width:0}:host{--background:transparent;--color:var(--ion-color-step-850, #262626);--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));padding-left:calc(var(--ion-safe-area-left, 0px) + 20px);position:relative;align-items:flex-end;font-size:22px;font-weight:700;letter-spacing:0}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host{padding-left:unset;-webkit-padding-start:calc(var(--ion-safe-area-left, 0px) + 20px);padding-inline-start:calc(var(--ion-safe-area-left, 0px) + 20px)}}::slotted(ion-button),::slotted(ion-label){margin-top:29px;margin-bottom:6px}::slotted(ion-button){margin-left:3px;margin-right:3px;height:1.4em}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted(ion-button){margin-left:unset;margin-right:unset;-webkit-margin-start:3px;margin-inline-start:3px;-webkit-margin-end:3px;margin-inline-end:3px}}:host(.list-header-lines-full){--border-width:0 0 0.55px 0}:host(.list-header-lines-inset){--inner-border-width:0 0 0.55px 0}";
110
+
111
+ const listHeaderMdCss = ":host{--border-style:solid;--border-width:0;--inner-border-width:0;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:flex;align-items:center;justify-content:space-between;width:100%;min-height:40px;border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);color:var(--color);overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}.list-header-inner{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);overflow:inherit;box-sizing:border-box}::slotted(ion-label){flex:1 1 auto}:host(.list-header-lines-inset),:host(.list-header-lines-none){--border-width:0}:host(.list-header-lines-full),:host(.list-header-lines-none){--inner-border-width:0}:host{--background:transparent;--color:var(--ion-text-color, #000);--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));padding-left:calc(var(--ion-safe-area-left, 0) + 16px);min-height:45px;font-size:14px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host{padding-left:unset;-webkit-padding-start:calc(var(--ion-safe-area-left, 0) + 16px);padding-inline-start:calc(var(--ion-safe-area-left, 0) + 16px)}}:host(.list-header-lines-full){--border-width:0 0 1px 0}:host(.list-header-lines-inset){--inner-border-width:0 0 1px 0}";
112
+
113
+ const ListHeader = class {
114
+ constructor(hostRef) {
115
+ registerInstance(this, hostRef);
116
+ }
117
+ render() {
118
+ const { lines } = this;
119
+ const mode = getIonMode(this);
120
+ return (h(Host, { class: createColorClasses(this.color, {
121
+ [mode]: true,
122
+ [`list-header-lines-${lines}`]: lines !== undefined,
123
+ }) }, h("div", { class: "list-header-inner" }, h("slot", null))));
124
+ }
125
+ };
126
+ ListHeader.style = {
127
+ ios: listHeaderIosCss,
128
+ md: listHeaderMdCss
129
+ };
130
+
131
+ const radioIosCss = ":host{--inner-border-radius:50%;display:inline-block;position:relative;box-sizing:border-box;user-select:none;z-index:2}:host(.radio-disabled){pointer-events:none}.radio-icon{display:flex;align-items:center;justify-content:center;width:100%;height:100%;contain:layout size style}.radio-icon,.radio-inner{box-sizing:border-box}label{left:0;top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;appearance:none;outline:none;display:flex;align-items:center;opacity:0}[dir=rtl] label,:host-context([dir=rtl]) label{left:unset;right:unset;right:0}label::-moz-focus-inner{border:0}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}:host(:focus){outline:none}:host{--color-checked:var(--ion-color-primary, #3880ff);width:15px;height:24px}:host(.ion-color.radio-checked) .radio-inner{border-color:var(--ion-color-base)}.item-radio.item-ios ion-label{margin-left:0}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.item-radio.item-ios ion-label{margin-left:unset;-webkit-margin-start:0;margin-inline-start:0}}.radio-inner{width:33%;height:50%}:host(.radio-checked) .radio-inner{transform:rotate(45deg);border-width:2px;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--color-checked)}:host(.radio-disabled){opacity:0.3}:host(.ion-focused) .radio-icon::after{border-radius:var(--inner-border-radius);left:-9px;top:-8px;display:block;position:absolute;width:36px;height:36px;background:var(--ion-color-primary-tint, #4c8dff);content:\"\";opacity:0.2}:host-context([dir=rtl]):host(.ion-focused) .radio-icon::after,:host-context([dir=rtl]).ion-focused .radio-icon::after{left:unset;right:unset;right:-9px}:host(.in-item){margin-left:10px;margin-right:11px;margin-top:8px;margin-bottom:8px;display:block;position:static}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host(.in-item){margin-left:unset;margin-right:unset;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:11px;margin-inline-end:11px}}:host(.in-item[slot=start]){margin-left:3px;margin-right:21px;margin-top:8px;margin-bottom:8px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host(.in-item[slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:3px;margin-inline-start:3px;-webkit-margin-end:21px;margin-inline-end:21px}}";
132
+
133
+ const radioMdCss = ":host{--inner-border-radius:50%;display:inline-block;position:relative;box-sizing:border-box;user-select:none;z-index:2}:host(.radio-disabled){pointer-events:none}.radio-icon{display:flex;align-items:center;justify-content:center;width:100%;height:100%;contain:layout size style}.radio-icon,.radio-inner{box-sizing:border-box}label{left:0;top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;appearance:none;outline:none;display:flex;align-items:center;opacity:0}[dir=rtl] label,:host-context([dir=rtl]) label{left:unset;right:unset;right:0}label::-moz-focus-inner{border:0}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}:host(:focus){outline:none}:host{--color:var(--ion-color-step-400, #999999);--color-checked:var(--ion-color-primary, #3880ff);--border-width:2px;--border-style:solid;--border-radius:50%;width:20px;height:20px}:host(.ion-color) .radio-inner{background:var(--ion-color-base)}:host(.ion-color.radio-checked) .radio-icon{border-color:var(--ion-color-base)}.radio-icon{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;border-radius:var(--border-radius);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--color)}.radio-inner{border-radius:var(--inner-border-radius);width:calc(50% + var(--border-width));height:calc(50% + var(--border-width));transform:scale3d(0, 0, 0);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1);background:var(--color-checked)}:host(.radio-checked) .radio-icon{border-color:var(--color-checked)}:host(.radio-checked) .radio-inner{transform:scale3d(1, 1, 1)}:host(.radio-disabled){opacity:0.3}:host(.ion-focused) .radio-icon::after{border-radius:var(--inner-border-radius);left:-12px;top:-12px;display:block;position:absolute;width:36px;height:36px;background:var(--ion-color-primary-tint, #4c8dff);content:\"\";opacity:0.2}:host-context([dir=rtl]):host(.ion-focused) .radio-icon::after,:host-context([dir=rtl]).ion-focused .radio-icon::after{left:unset;right:unset;right:-12px}:host(.in-item){margin-left:0;margin-right:0;margin-top:9px;margin-bottom:9px;display:block;position:static}:host(.in-item[slot=start]){margin-left:4px;margin-right:36px;margin-top:11px;margin-bottom:10px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host(.in-item[slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:36px;margin-inline-end:36px}}";
134
+
135
+ const Radio = class {
136
+ constructor(hostRef) {
137
+ registerInstance(this, hostRef);
138
+ this.ionStyle = createEvent(this, "ionStyle", 7);
139
+ this.ionFocus = createEvent(this, "ionFocus", 7);
140
+ this.ionBlur = createEvent(this, "ionBlur", 7);
141
+ this.inputId = `ion-rb-${radioButtonIds++}`;
142
+ this.radioGroup = null;
143
+ /**
144
+ * If `true`, the radio is selected.
145
+ */
146
+ this.checked = false;
147
+ /**
148
+ * The tabindex of the radio button.
149
+ * @internal
150
+ */
151
+ this.buttonTabindex = -1;
152
+ /**
153
+ * The name of the control, which is submitted with the form data.
154
+ */
155
+ this.name = this.inputId;
156
+ /**
157
+ * If `true`, the user cannot interact with the radio.
158
+ */
159
+ this.disabled = false;
160
+ this.updateState = () => {
161
+ if (this.radioGroup) {
162
+ this.checked = this.radioGroup.value === this.value;
163
+ }
164
+ };
165
+ this.onClick = () => {
166
+ this.checked = this.nativeInput.checked;
167
+ };
168
+ this.onFocus = () => {
169
+ this.ionFocus.emit();
170
+ };
171
+ this.onBlur = () => {
172
+ this.ionBlur.emit();
173
+ };
174
+ }
175
+ /** @internal */
176
+ async setFocus(ev) {
177
+ ev.stopPropagation();
178
+ ev.preventDefault();
179
+ this.el.focus();
180
+ }
181
+ /** @internal */
182
+ async setButtonTabindex(value) {
183
+ this.buttonTabindex = value;
184
+ }
185
+ connectedCallback() {
186
+ if (this.value === undefined) {
187
+ this.value = this.inputId;
188
+ }
189
+ const radioGroup = (this.radioGroup = this.el.closest('ion-radio-group'));
190
+ if (radioGroup) {
191
+ this.updateState();
192
+ addEventListener(radioGroup, 'ionChange', this.updateState);
193
+ }
194
+ }
195
+ disconnectedCallback() {
196
+ const radioGroup = this.radioGroup;
197
+ if (radioGroup) {
198
+ removeEventListener(radioGroup, 'ionChange', this.updateState);
199
+ this.radioGroup = null;
200
+ }
201
+ }
202
+ componentWillLoad() {
203
+ this.emitStyle();
204
+ }
205
+ emitStyle() {
206
+ this.ionStyle.emit({
207
+ 'radio-checked': this.checked,
208
+ 'interactive-disabled': this.disabled,
209
+ });
210
+ }
211
+ render() {
212
+ const { inputId, disabled, checked, color, el, buttonTabindex } = this;
213
+ const mode = getIonMode(this);
214
+ const { label, labelId, labelText } = getAriaLabel(el, inputId);
215
+ return (h(Host, { "aria-checked": `${checked}`, "aria-hidden": disabled ? 'true' : null, "aria-labelledby": label ? labelId : null, role: "radio", tabindex: buttonTabindex, onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, class: createColorClasses(color, {
216
+ [mode]: true,
217
+ 'in-item': hostContext('ion-item', el),
218
+ interactive: true,
219
+ 'radio-checked': checked,
220
+ 'radio-disabled': disabled,
221
+ }) }, h("div", { class: "radio-icon", part: "container" }, h("div", { class: "radio-inner", part: "mark" }), h("div", { class: "radio-ripple" })), h("label", { htmlFor: inputId }, labelText), h("input", { type: "radio", checked: checked, disabled: disabled, tabindex: "-1", id: inputId, ref: (nativeEl) => (this.nativeInput = nativeEl) })));
222
+ }
223
+ get el() { return getElement(this); }
224
+ static get watchers() { return {
225
+ "color": ["emitStyle"],
226
+ "checked": ["emitStyle"],
227
+ "disabled": ["emitStyle"]
228
+ }; }
229
+ };
230
+ let radioButtonIds = 0;
231
+ Radio.style = {
232
+ ios: radioIosCss,
233
+ md: radioMdCss
234
+ };
235
+
236
+ const RadioGroup = class {
237
+ constructor(hostRef) {
238
+ registerInstance(this, hostRef);
239
+ this.ionChange = createEvent(this, "ionChange", 7);
240
+ this.inputId = `ion-rg-${radioGroupIds++}`;
241
+ this.labelId = `${this.inputId}-lbl`;
242
+ /**
243
+ * If `true`, the radios can be deselected.
244
+ */
245
+ this.allowEmptySelection = false;
246
+ /**
247
+ * The name of the control, which is submitted with the form data.
248
+ */
249
+ this.name = this.inputId;
250
+ this.setRadioTabindex = (value) => {
251
+ const radios = this.getRadios();
252
+ // Get the first radio that is not disabled and the checked one
253
+ const first = radios.find((radio) => !radio.disabled);
254
+ const checked = radios.find((radio) => radio.value === value && !radio.disabled);
255
+ if (!first && !checked) {
256
+ return;
257
+ }
258
+ // If an enabled checked radio exists, set it to be the focusable radio
259
+ // otherwise we default to focus the first radio
260
+ const focusable = checked || first;
261
+ for (const radio of radios) {
262
+ const tabindex = radio === focusable ? 0 : -1;
263
+ radio.setButtonTabindex(tabindex);
264
+ }
265
+ };
266
+ this.onClick = (ev) => {
267
+ ev.preventDefault();
268
+ const selectedRadio = ev.target && ev.target.closest('ion-radio');
269
+ if (selectedRadio) {
270
+ const currentValue = this.value;
271
+ const newValue = selectedRadio.value;
272
+ if (newValue !== currentValue) {
273
+ this.value = newValue;
274
+ }
275
+ else if (this.allowEmptySelection) {
276
+ this.value = undefined;
277
+ }
278
+ }
279
+ };
280
+ }
281
+ valueChanged(value) {
282
+ this.setRadioTabindex(value);
283
+ this.ionChange.emit({ value });
284
+ }
285
+ componentDidLoad() {
286
+ this.setRadioTabindex(this.value);
287
+ }
288
+ async connectedCallback() {
289
+ // Get the list header if it exists and set the id
290
+ // this is used to set aria-labelledby
291
+ const header = this.el.querySelector('ion-list-header') || this.el.querySelector('ion-item-divider');
292
+ if (header) {
293
+ const label = (this.label = header.querySelector('ion-label'));
294
+ if (label) {
295
+ this.labelId = label.id = this.name + '-lbl';
296
+ }
297
+ }
298
+ }
299
+ getRadios() {
300
+ return Array.from(this.el.querySelectorAll('ion-radio'));
301
+ }
302
+ onKeydown(ev) {
303
+ const inSelectPopover = !!this.el.closest('ion-select-popover');
304
+ if (ev.target && !this.el.contains(ev.target)) {
305
+ return;
306
+ }
307
+ // Get all radios inside of the radio group and then
308
+ // filter out disabled radios since we need to skip those
309
+ const radios = this.getRadios().filter((radio) => !radio.disabled);
310
+ // Only move the radio if the current focus is in the radio group
311
+ if (ev.target && radios.includes(ev.target)) {
312
+ const index = radios.findIndex((radio) => radio === ev.target);
313
+ const current = radios[index];
314
+ let next;
315
+ // If hitting arrow down or arrow right, move to the next radio
316
+ // If we're on the last radio, move to the first radio
317
+ if (['ArrowDown', 'ArrowRight'].includes(ev.code)) {
318
+ next = index === radios.length - 1 ? radios[0] : radios[index + 1];
319
+ }
320
+ // If hitting arrow up or arrow left, move to the previous radio
321
+ // If we're on the first radio, move to the last radio
322
+ if (['ArrowUp', 'ArrowLeft'].includes(ev.code)) {
323
+ next = index === 0 ? radios[radios.length - 1] : radios[index - 1];
324
+ }
325
+ if (next && radios.includes(next)) {
326
+ next.setFocus(ev);
327
+ if (!inSelectPopover) {
328
+ this.value = next.value;
329
+ }
330
+ }
331
+ // Update the radio group value when a user presses the
332
+ // space bar on top of a selected radio
333
+ if (['Space'].includes(ev.code)) {
334
+ this.value = this.allowEmptySelection && this.value !== undefined ? undefined : current.value;
335
+ // Prevent browsers from jumping
336
+ // to the bottom of the screen
337
+ ev.preventDefault();
338
+ }
339
+ }
340
+ }
341
+ render() {
342
+ const { label, labelId } = this;
343
+ const mode = getIonMode(this);
344
+ return h(Host, { role: "radiogroup", "aria-labelledby": label ? labelId : null, onClick: this.onClick, class: mode });
345
+ }
346
+ get el() { return getElement(this); }
347
+ static get watchers() { return {
348
+ "value": ["valueChanged"]
349
+ }; }
350
+ };
351
+ let radioGroupIds = 0;
352
+
353
+ export { Checkbox as ion_checkbox, ListHeader as ion_list_header, Radio as ion_radio, RadioGroup as ion_radio_group };
@@ -0,0 +1,153 @@
1
+ import { r as registerInstance, f as forceUpdate, h, H as Host } from './index-c04b9ed5.js';
2
+ import { g as getIonMode } from './ionic-global-4903e23e.js';
3
+
4
+ /*!
5
+ * (C) Ionic http://ionicframework.com - MIT License
6
+ */
7
+ const SIZE_TO_MEDIA = {
8
+ xs: '(min-width: 0px)',
9
+ sm: '(min-width: 576px)',
10
+ md: '(min-width: 768px)',
11
+ lg: '(min-width: 992px)',
12
+ xl: '(min-width: 1200px)',
13
+ };
14
+ // Check if the window matches the media query
15
+ // at the breakpoint passed
16
+ // e.g. matchBreakpoint('sm') => true if screen width exceeds 576px
17
+ const matchBreakpoint = (breakpoint) => {
18
+ if (breakpoint === undefined || breakpoint === '') {
19
+ return true;
20
+ }
21
+ if (window.matchMedia) {
22
+ const mediaQuery = SIZE_TO_MEDIA[breakpoint];
23
+ return window.matchMedia(mediaQuery).matches;
24
+ }
25
+ return false;
26
+ };
27
+
28
+ const colCss = ":host{padding-left:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));padding-right:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;box-sizing:border-box;position:relative;flex-basis:0;flex-grow:1;width:100%;max-width:100%;min-height:1px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px))}}@media (min-width: 576px){:host{padding-left:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));padding-right:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px))}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px))}}}@media (min-width: 768px){:host{padding-left:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));padding-right:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px))}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px))}}}@media (min-width: 992px){:host{padding-left:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));padding-right:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px))}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px))}}}@media (min-width: 1200px){:host{padding-left:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));padding-right:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px))}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px))}}}";
29
+
30
+ const win = typeof window !== 'undefined' ? window : undefined;
31
+ // eslint-disable-next-line @typescript-eslint/prefer-optional-chain
32
+ const SUPPORTS_VARS = win && !!(win.CSS && win.CSS.supports && win.CSS.supports('--a: 0'));
33
+ const BREAKPOINTS = ['', 'xs', 'sm', 'md', 'lg', 'xl'];
34
+ const Col = class {
35
+ constructor(hostRef) {
36
+ registerInstance(this, hostRef);
37
+ }
38
+ onResize() {
39
+ forceUpdate(this);
40
+ }
41
+ // Loop through all of the breakpoints to see if the media query
42
+ // matches and grab the column value from the relevant prop if so
43
+ getColumns(property) {
44
+ let matched;
45
+ for (const breakpoint of BREAKPOINTS) {
46
+ const matches = matchBreakpoint(breakpoint);
47
+ // Grab the value of the property, if it exists and our
48
+ // media query matches we return the value
49
+ const columns = this[property + breakpoint.charAt(0).toUpperCase() + breakpoint.slice(1)];
50
+ if (matches && columns !== undefined) {
51
+ matched = columns;
52
+ }
53
+ }
54
+ // Return the last matched columns since the breakpoints
55
+ // increase in size and we want to return the largest match
56
+ return matched;
57
+ }
58
+ calculateSize() {
59
+ const columns = this.getColumns('size');
60
+ // If size wasn't set for any breakpoint
61
+ // or if the user set the size without a value
62
+ // it means we need to stick with the default and return
63
+ // e.g. <ion-col size-md>
64
+ if (!columns || columns === '') {
65
+ return;
66
+ }
67
+ // If the size is set to auto then don't calculate a size
68
+ const colSize = columns === 'auto'
69
+ ? 'auto'
70
+ : // If CSS supports variables we should use the grid columns var
71
+ SUPPORTS_VARS
72
+ ? `calc(calc(${columns} / var(--ion-grid-columns, 12)) * 100%)`
73
+ : // Convert the columns to a percentage by dividing by the total number
74
+ // of columns (12) and then multiplying by 100
75
+ (columns / 12) * 100 + '%';
76
+ return {
77
+ flex: `0 0 ${colSize}`,
78
+ width: `${colSize}`,
79
+ 'max-width': `${colSize}`,
80
+ };
81
+ }
82
+ // Called by push, pull, and offset since they use the same calculations
83
+ calculatePosition(property, modifier) {
84
+ const columns = this.getColumns(property);
85
+ if (!columns) {
86
+ return;
87
+ }
88
+ // If the number of columns passed are greater than 0 and less than
89
+ // 12 we can position the column, else default to auto
90
+ const amount = SUPPORTS_VARS
91
+ ? // If CSS supports variables we should use the grid columns var
92
+ `calc(calc(${columns} / var(--ion-grid-columns, 12)) * 100%)`
93
+ : // Convert the columns to a percentage by dividing by the total number
94
+ // of columns (12) and then multiplying by 100
95
+ columns > 0 && columns < 12
96
+ ? (columns / 12) * 100 + '%'
97
+ : 'auto';
98
+ return {
99
+ [modifier]: amount,
100
+ };
101
+ }
102
+ calculateOffset(isRTL) {
103
+ return this.calculatePosition('offset', isRTL ? 'margin-right' : 'margin-left');
104
+ }
105
+ calculatePull(isRTL) {
106
+ return this.calculatePosition('pull', isRTL ? 'left' : 'right');
107
+ }
108
+ calculatePush(isRTL) {
109
+ return this.calculatePosition('push', isRTL ? 'right' : 'left');
110
+ }
111
+ render() {
112
+ const isRTL = document.dir === 'rtl';
113
+ const mode = getIonMode(this);
114
+ return (h(Host, { class: {
115
+ [mode]: true,
116
+ }, style: Object.assign(Object.assign(Object.assign(Object.assign({}, this.calculateOffset(isRTL)), this.calculatePull(isRTL)), this.calculatePush(isRTL)), this.calculateSize()) }, h("slot", null)));
117
+ }
118
+ };
119
+ Col.style = colCss;
120
+
121
+ const gridCss = ":host{padding-left:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));padding-right:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));padding-top:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));padding-bottom:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));margin-left:auto;margin-right:auto;display:block;flex:1}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));padding-inline-start:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));-webkit-padding-end:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));padding-inline-end:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px))}}@media (min-width: 576px){:host{padding-left:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px));padding-right:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px));padding-top:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px));padding-bottom:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px))}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px));padding-inline-start:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px));-webkit-padding-end:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px));padding-inline-end:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px))}}}@media (min-width: 768px){:host{padding-left:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px));padding-right:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px));padding-top:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px));padding-bottom:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px))}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px));padding-inline-start:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px));-webkit-padding-end:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px));padding-inline-end:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px))}}}@media (min-width: 992px){:host{padding-left:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px));padding-right:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px));padding-top:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px));padding-bottom:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px))}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px));padding-inline-start:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px));-webkit-padding-end:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px));padding-inline-end:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px))}}}@media (min-width: 1200px){:host{padding-left:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px));padding-right:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px));padding-top:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px));padding-bottom:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px))}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px));padding-inline-start:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px));-webkit-padding-end:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px));padding-inline-end:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px))}}}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}:host(.grid-fixed){width:var(--ion-grid-width-xs, var(--ion-grid-width, 100%));max-width:100%}@media (min-width: 576px){:host(.grid-fixed){width:var(--ion-grid-width-sm, var(--ion-grid-width, 540px))}}@media (min-width: 768px){:host(.grid-fixed){width:var(--ion-grid-width-md, var(--ion-grid-width, 720px))}}@media (min-width: 992px){:host(.grid-fixed){width:var(--ion-grid-width-lg, var(--ion-grid-width, 960px))}}@media (min-width: 1200px){:host(.grid-fixed){width:var(--ion-grid-width-xl, var(--ion-grid-width, 1140px))}}:host(.ion-no-padding){--ion-grid-column-padding:0;--ion-grid-column-padding-xs:0;--ion-grid-column-padding-sm:0;--ion-grid-column-padding-md:0;--ion-grid-column-padding-lg:0;--ion-grid-column-padding-xl:0}";
122
+
123
+ const Grid = class {
124
+ constructor(hostRef) {
125
+ registerInstance(this, hostRef);
126
+ /**
127
+ * If `true`, the grid will have a fixed width based on the screen size.
128
+ */
129
+ this.fixed = false;
130
+ }
131
+ render() {
132
+ const mode = getIonMode(this);
133
+ return (h(Host, { class: {
134
+ [mode]: true,
135
+ 'grid-fixed': this.fixed,
136
+ } }, h("slot", null)));
137
+ }
138
+ };
139
+ Grid.style = gridCss;
140
+
141
+ const rowCss = ":host{display:flex;flex-wrap:wrap}";
142
+
143
+ const Row = class {
144
+ constructor(hostRef) {
145
+ registerInstance(this, hostRef);
146
+ }
147
+ render() {
148
+ return (h(Host, { class: getIonMode(this) }, h("slot", null)));
149
+ }
150
+ };
151
+ Row.style = rowCss;
152
+
153
+ export { Col as ion_col, Grid as ion_grid, Row as ion_row };
@@ -1,9 +1,9 @@
1
1
  import { r as registerInstance, i as createEvent, j as readTask, f as forceUpdate, h, H as Host, e as getElement, w as writeTask } from './index-c04b9ed5.js';
2
2
  import { g as getIonMode, a as isPlatform } from './ionic-global-4903e23e.js';
3
- import { c as componentOnReady, m as clamp, i as inheritAriaAttributes } from './helpers-bf0e23d6.js';
3
+ import { c as componentOnReady, d as clamp, i as inheritAriaAttributes } from './helpers-03073fe4.js';
4
4
  import { i as isRTL } from './dir-03012648.js';
5
5
  import { c as createColorClasses, h as hostContext } from './theme-7ef00c83.js';
6
- import { g as getScrollElement, a as findIonContent, p as printIonContentErrorMsg } from './index-5e8971ae.js';
6
+ import { g as getScrollElement, a as findIonContent, p as printIonContentErrorMsg } from './index-37004831.js';
7
7
  import './index-dad75b83.js';
8
8
 
9
9
  const contentCss = ":host{--background:var(--ion-background-color, #fff);--color:var(--ion-text-color, #000);--padding-top:0px;--padding-bottom:0px;--padding-start:0px;--padding-end:0px;--keyboard-offset:0px;--offset-top:0px;--offset-bottom:0px;--overflow:auto;display:block;position:relative;flex:1;width:100%;height:100%;margin:0 !important;padding:0 !important;font-family:var(--ion-font-family, inherit);contain:size style}:host(.ion-color) .inner-scroll{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.outer-content){--background:var(--ion-color-step-50, #f2f2f2)}#background-content{left:0px;right:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);position:absolute;background:var(--background)}.inner-scroll{left:0px;right:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:calc(var(--padding-top) + var(--offset-top));padding-bottom:calc(var(--padding-bottom) + var(--keyboard-offset) + var(--offset-bottom));position:absolute;color:var(--color);box-sizing:border-box;overflow:hidden;touch-action:pan-x pan-y pinch-zoom}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.inner-scroll{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)}}.scroll-y,.scroll-x{-webkit-overflow-scrolling:touch;z-index:0;will-change:scroll-position}.scroll-y{overflow-y:var(--overflow);overscroll-behavior-y:contain}.scroll-x{overflow-x:var(--overflow);overscroll-behavior-x:contain}.overscroll::before,.overscroll::after{position:absolute;width:1px;height:1px;content:\"\"}.overscroll::before{bottom:-1px}.overscroll::after{top:-1px}:host(.content-sizing){display:flex;flex-direction:column;min-height:0;contain:none}:host(.content-sizing) .inner-scroll{position:relative;top:0;bottom:0;margin-top:calc(var(--offset-top) * -1);margin-bottom:calc(var(--offset-bottom) * -1)}.transition-effect{display:none;position:absolute;width:100%;height:100vh;opacity:0;pointer-events:none}:host(.content-ltr) .transition-effect{left:-100%;}:host(.content-rtl) .transition-effect{right:-100%;}.transition-cover{position:absolute;right:0;width:100%;height:100%;background:black;opacity:0.1}.transition-shadow{display:block;position:absolute;width:10px;height:100%;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAgCAYAAAAIXrg4AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQ1IDc5LjE2MzQ5OSwgMjAxOC8wOC8xMy0xNjo0MDoyMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTkgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MTE3MDgzRkQ5QTkyMTFFOUEwNzQ5MkJFREE1NUY2MjQiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MTE3MDgzRkU5QTkyMTFFOUEwNzQ5MkJFREE1NUY2MjQiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDoxMTcwODNGQjlBOTIxMUU5QTA3NDkyQkVEQTU1RjYyNCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDoxMTcwODNGQzlBOTIxMUU5QTA3NDkyQkVEQTU1RjYyNCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PmePEuQAAABNSURBVHjaYvz//z8DIxAwMDAwATGMhmFmPDQuOSZks0AMmoJBaQHjkPfB0Lfg/2gQjVow+HPy/yHvg9GiYjQfjMbBqAWjFgy/4hogwADYqwdzxy5BuwAAAABJRU5ErkJggg==);background-repeat:repeat-y;background-size:10px 16px}:host(.content-ltr) .transition-shadow{right:0;}:host(.content-rtl) .transition-shadow{left:0;transform:scaleX(-1)}::slotted([slot=fixed]){position:absolute;transform:translateZ(0)}";
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h, H as Host, e as getElement } from './index-c04b9ed5.js';
2
2
  import { g as getIonMode } from './ionic-global-4903e23e.js';
3
- import { a as addEventListener, c as componentOnReady } from './helpers-bf0e23d6.js';
3
+ import { a as addEventListener, c as componentOnReady } from './helpers-03073fe4.js';
4
4
  import { a as printIonWarning, p as printIonError } from './index-dad75b83.js';
5
5
  import { c as createColorClasses } from './theme-7ef00c83.js';
6
6
  import { p as parseDate, e as getToday, D as is24Hour, M as getLocalizedDateTime, A as getMonthAndYear, E as getLocalizedTime, N as getMonthDayAndYear } from './parse-1ae3a9bb.js';
@@ -2,7 +2,7 @@ import { r as registerInstance, i as createEvent, w as writeTask, h, H as Host,
2
2
  import { d as chevronBack, c as chevronForward, a as chevronDown, f as caretUpSharp, g as caretDownSharp } from './index-4044fde9.js';
3
3
  import { g as getIonMode } from './ionic-global-4903e23e.js';
4
4
  import { startFocusVisible } from './focus-visible-4e9a0764.js';
5
- import { l as raf, d as renderHiddenInput, g as getElementRoot } from './helpers-bf0e23d6.js';
5
+ import { b as raf, j as renderHiddenInput, g as getElementRoot } from './helpers-03073fe4.js';
6
6
  import { a as printIonWarning, p as printIonError } from './index-dad75b83.js';
7
7
  import { i as isRTL } from './dir-03012648.js';
8
8
  import { c as createColorClasses } from './theme-7ef00c83.js';
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, i as createEvent, h, H as Host, e as getElement } from './index-c04b9ed5.js';
2
2
  import { h as close } from './index-4044fde9.js';
3
3
  import { g as getIonMode } from './ionic-global-4903e23e.js';
4
- import { i as inheritAriaAttributes } from './helpers-bf0e23d6.js';
4
+ import { i as inheritAriaAttributes } from './helpers-03073fe4.js';
5
5
  import { h as hostContext, o as openURL, c as createColorClasses } from './theme-7ef00c83.js';
6
6
 
7
7
  const fabButtonIosCss = ":host{--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--background-hover:var(--ion-color-primary-contrast, #fff);--background-hover-opacity:.08;--transition:background-color, opacity 100ms linear;--ripple-color:currentColor;--border-radius:50%;--border-width:0;--border-style:none;--border-color:initial;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:56px;height:56px;font-size:14px;text-align:center;text-overflow:ellipsis;text-transform:none;white-space:nowrap;font-kerning:none}.button-native{border-radius:var(--border-radius);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%;transform:var(--transform);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);background-clip:padding-box;color:var(--color);box-shadow:var(--box-shadow);contain:strict;cursor:pointer;overflow:hidden;z-index:0;appearance:none;box-sizing:border-box}@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)}}::slotted(ion-icon){line-height:1}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:\"\";opacity:0}.button-inner{left:0;right:0;top:0;display:flex;position:absolute;flex-flow:row nowrap;flex-shrink:0;align-items:center;justify-content:center;height:100%;transition:all ease-in-out 300ms;transition-property:transform, opacity;z-index:1}:host(.fab-button-disabled){cursor:default;opacity:0.5;pointer-events:none}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(.ion-activated) .button-native{color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}::slotted(ion-icon){line-height:1}:host(.fab-button-small){margin-left:8px;margin-right:8px;margin-top:8px;margin-bottom:8px;width:40px;height:40px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host(.fab-button-small){margin-left:unset;margin-right:unset;-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:8px;margin-inline-end:8px}}.close-icon{margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:0;left:0;right:0;top:0;position:absolute;height:100%;transform:scale(0.4) rotateZ(-45deg);transition:all ease-in-out 300ms;transition-property:transform, opacity;font-size:var(--close-icon-font-size);opacity:0;z-index:1}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.close-icon{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}:host(.fab-button-close-active) .close-icon{transform:scale(1) rotateZ(0deg);opacity:1}:host(.fab-button-close-active) .button-inner{transform:scale(0.4) rotateZ(45deg);opacity:0}ion-ripple-effect{color:var(--ripple-color)}@supports (backdrop-filter: blur(0)){:host(.fab-button-translucent) .button-native{backdrop-filter:var(--backdrop-filter)}}:host(.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{--background:var(--ion-color-primary, #3880ff);--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;--color:var(--ion-color-primary-contrast, #fff);--box-shadow:0 4px 16px rgba(0, 0, 0, 0.12);--transition:0.2s transform cubic-bezier(0.25, 1.11, 0.78, 1.59);--close-icon-font-size:28px}:host(.ion-activated){--box-shadow:0 4px 16px rgba(0, 0, 0, 0.12);--transform:scale(1.1);--transition:0.2s transform ease-out}::slotted(ion-icon){font-size:28px}:host(.fab-button-in-list){--background:var(--ion-color-light, #f4f5f8);--background-activated:var(--ion-color-light-shade, #d7d8da);--background-focused:var(--background-activated);--background-hover:var(--ion-color-light-tint, #f5f6f9);--color:var(--ion-color-light-contrast, #000);--color-activated:var(--ion-color-light-contrast, #000);--color-focused:var(--color-activated);--transition:transform 200ms ease 10ms, opacity 200ms ease 10ms}:host(.fab-button-in-list) ::slotted(ion-icon){font-size:18px}:host(.ion-color.ion-focused) .button-native::after{background:var(--ion-color-shade)}:host(.ion-color.ion-focused) .button-native,:host(.ion-color.ion-activated) .button-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-focused) .button-native::after,:host(.ion-color.ion-activated) .button-native::after{background:var(--ion-color-shade)}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-contrast)}:host(.ion-color:hover) .button-native::after{background:var(--ion-color-tint)}}@supports (backdrop-filter: blur(0)){:host(.fab-button-translucent){--background:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.9);--background-hover:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.8);--background-focused:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.82);--backdrop-filter:saturate(180%) blur(20px)}:host(.fab-button-translucent-in-list){--background:rgba(var(--ion-color-light-rgb, 244, 245, 248), 0.9);--background-hover:rgba(var(--ion-color-light-rgb, 244, 245, 248), 0.8);--background-focused:rgba(var(--ion-color-light-rgb, 244, 245, 248), 0.82)}}@supports (backdrop-filter: blur(0)){@media (any-hover: hover){:host(.fab-button-translucent.ion-color:hover) .button-native{background:rgba(var(--ion-color-base-rgb), 0.8)}}:host(.ion-color.fab-button-translucent) .button-native{background:rgba(var(--ion-color-base-rgb), 0.9)}:host(.ion-color.ion-focused.fab-button-translucent) .button-native,:host(.ion-color.ion-activated.fab-button-translucent) .button-native{background:var(--ion-color-base)}}";
@@ -1,7 +1,7 @@
1
1
  import { j as readTask, w as writeTask, r as registerInstance, h, H as Host, e as getElement } from './index-c04b9ed5.js';
2
2
  import { g as getIonMode } from './ionic-global-4903e23e.js';
3
- import { a as findIonContent, p as printIonContentErrorMsg, g as getScrollElement } from './index-5e8971ae.js';
4
- import { m as clamp } from './helpers-bf0e23d6.js';
3
+ import { a as findIonContent, p as printIonContentErrorMsg, g as getScrollElement } from './index-37004831.js';
4
+ import { d as clamp } from './helpers-03073fe4.js';
5
5
  import './index-dad75b83.js';
6
6
 
7
7
  /*!