@sparkle-learning/core 0.0.34 → 0.0.35

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 (629) hide show
  1. package/dist/cjs/{PrivateRoute-482697a6.js → PrivateRoute-4abc9d29.js} +2 -2
  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.service-f878f6ab.js → auth.service-4b584cd7.js} +4 -3
  6. package/dist/cjs/{auth.store-ff3fda09.js → auth.store-1e630a7d.js} +48 -725
  7. package/dist/cjs/compass-svg.cjs.entry.js +1 -1
  8. package/dist/cjs/context-consumer.cjs.entry.js +1 -1
  9. package/dist/cjs/course-select.cjs.entry.js +1 -1
  10. package/dist/cjs/{cubic-bezier-293f4663.js → cubic-bezier-53d26d05.js} +10 -11
  11. package/dist/cjs/{facilitator.service-faac5c0c.js → facilitator.service-9e990274.js} +8 -7
  12. package/dist/cjs/{feed.service-66405969.js → feed.service-b4f09441.js} +8 -7
  13. package/dist/cjs/{focus-visible-ad3828a7.js → focus-visible-b0b07ba6.js} +19 -6
  14. package/dist/cjs/{framework-delegate-2470a246.js → framework-delegate-59a98abd.js} +11 -13
  15. package/dist/cjs/{gesture-controller-07c31f70.js → gesture-controller-0eb5579e.js} +1 -1
  16. package/dist/cjs/{haptic-91e86eb7.js → haptic-780f33c4.js} +3 -2
  17. package/dist/cjs/{hardware-back-button-f7b5d99e.js → hardware-back-button-92d97ff8.js} +8 -8
  18. package/dist/cjs/header-mobile-collapse_2.cjs.entry.js +2 -2
  19. package/dist/cjs/{helpers-7e28976c.js → helpers-c2496722.js} +81 -14
  20. package/dist/cjs/httpService-7211d93b.js +685 -0
  21. package/dist/cjs/{icons-80d477f6.js → icons-c61db785.js} +1 -1
  22. package/dist/cjs/{index-43642662.js → index-12082cba.js} +21 -18
  23. package/dist/cjs/{index-459a5fa9.js → index-15ea05f5.js} +19 -28
  24. package/dist/cjs/{index-bae2a754.js → index-51e8292e.js} +18 -11
  25. package/dist/cjs/{index-07e8aa51.js → index-70e63f5b.js} +2 -2
  26. package/dist/cjs/{index-b12edb26.js → index-787d4498.js} +17 -25
  27. package/dist/cjs/{tap-click-1caf1780.js → index-8b5629a6.js} +30 -20
  28. package/dist/cjs/{index-8540d72e.js → index-975586fd.js} +7 -1
  29. package/dist/cjs/index-9c7b27e4.js +140 -0
  30. package/dist/cjs/{index-185f9c5a.js → index-af080b50.js} +9 -8
  31. package/dist/cjs/index-e56e09b8.js +38 -0
  32. package/dist/cjs/index.cjs.js +9 -8
  33. package/dist/cjs/{index.es-ef3efdfb.js → index.es-38cbcdbe.js} +2 -7
  34. package/dist/cjs/{injectHistory-77d41284.js → injectHistory-7206bbb9.js} +1 -1
  35. package/dist/cjs/{input-shims-6c442c9f.js → input-shims-eff63b88.js} +21 -24
  36. package/dist/cjs/ion-accordion-group.cjs.entry.js +17 -9
  37. package/dist/cjs/ion-accordion.cjs.entry.js +19 -23
  38. package/dist/cjs/ion-action-sheet_4.cjs.entry.js +216 -212
  39. package/dist/cjs/ion-app.cjs.entry.js +8 -8
  40. package/dist/cjs/ion-avatar_16.cjs.entry.js +1907 -0
  41. package/dist/cjs/ion-back-button.cjs.entry.js +11 -11
  42. package/dist/cjs/ion-backdrop.cjs.entry.js +4 -4
  43. package/dist/cjs/ion-badge.cjs.entry.js +3 -3
  44. package/dist/cjs/ion-breadcrumb.cjs.entry.js +13 -21
  45. package/dist/cjs/ion-breadcrumbs.cjs.entry.js +12 -14
  46. package/dist/cjs/ion-buttons_3.cjs.entry.js +13 -13
  47. package/dist/cjs/ion-card-header.cjs.entry.js +4 -4
  48. package/dist/cjs/ion-card-subtitle.cjs.entry.js +4 -4
  49. package/dist/cjs/ion-checkbox_4.cjs.entry.js +22 -32
  50. package/dist/cjs/ion-chip.cjs.entry.js +3 -3
  51. package/dist/cjs/ion-col_3.cjs.entry.js +29 -25
  52. package/dist/cjs/ion-content_2.cjs.entry.js +59 -52
  53. package/dist/cjs/ion-datetime-button.cjs.entry.js +312 -0
  54. package/dist/cjs/ion-datetime.cjs.entry.js +752 -1245
  55. package/dist/cjs/ion-fab-button.cjs.entry.js +25 -9
  56. package/dist/cjs/ion-fab-list.cjs.entry.js +4 -4
  57. package/dist/cjs/ion-fab.cjs.entry.js +15 -13
  58. package/dist/cjs/ion-footer.cjs.entry.js +16 -14
  59. package/dist/cjs/ion-img.cjs.entry.js +4 -4
  60. package/dist/cjs/ion-infinite-scroll-content.cjs.entry.js +5 -5
  61. package/dist/cjs/ion-infinite-scroll.cjs.entry.js +13 -15
  62. package/dist/cjs/ion-item-divider.cjs.entry.js +4 -4
  63. package/dist/cjs/ion-item-group.cjs.entry.js +3 -3
  64. package/dist/cjs/ion-item-option.cjs.entry.js +8 -8
  65. package/dist/cjs/ion-item-options.cjs.entry.js +5 -5
  66. package/dist/cjs/ion-item-sliding.cjs.entry.js +41 -46
  67. package/dist/cjs/ion-loading.cjs.entry.js +23 -35
  68. package/dist/cjs/ion-menu-button.cjs.entry.js +13 -13
  69. package/dist/cjs/ion-menu-toggle.cjs.entry.js +7 -7
  70. package/dist/cjs/ion-menu.cjs.entry.js +47 -40
  71. package/dist/cjs/ion-modal.cjs.entry.js +935 -282
  72. package/dist/cjs/ion-nav-link.cjs.entry.js +2 -2
  73. package/dist/cjs/ion-nav.cjs.entry.js +45 -35
  74. package/dist/cjs/ion-picker-column-internal_2.cjs.entry.js +151 -43
  75. package/dist/cjs/ion-picker-column.cjs.entry.js +23 -25
  76. package/dist/cjs/ion-picker.cjs.entry.js +15 -17
  77. package/dist/cjs/ion-progress-bar.cjs.entry.js +6 -8
  78. package/dist/cjs/ion-range.cjs.entry.js +117 -47
  79. package/dist/cjs/ion-refresher-content.cjs.entry.js +6 -12
  80. package/dist/cjs/ion-refresher.cjs.entry.js +68 -50
  81. package/dist/cjs/ion-reorder-group.cjs.entry.js +15 -16
  82. package/dist/cjs/ion-reorder.cjs.entry.js +3 -3
  83. package/dist/cjs/ion-route-redirect.cjs.entry.js +1 -1
  84. package/dist/cjs/ion-route.cjs.entry.js +1 -1
  85. package/dist/cjs/ion-router-link.cjs.entry.js +5 -5
  86. package/dist/cjs/ion-router-outlet.cjs.entry.js +22 -20
  87. package/dist/cjs/ion-router.cjs.entry.js +32 -31
  88. package/dist/cjs/ion-searchbar.cjs.entry.js +14 -16
  89. package/dist/cjs/ion-segment-button.cjs.entry.js +8 -8
  90. package/dist/cjs/ion-segment.cjs.entry.js +24 -26
  91. package/dist/cjs/ion-select_2.cjs.entry.js +59 -56
  92. package/dist/cjs/ion-skeleton-text.cjs.entry.js +4 -4
  93. package/dist/cjs/ion-slide.cjs.entry.js +3 -3
  94. package/dist/cjs/ion-slides.cjs.entry.js +23 -23
  95. package/dist/cjs/ion-split-pane.cjs.entry.js +10 -11
  96. package/dist/cjs/ion-tab-bar.cjs.entry.js +5 -5
  97. package/dist/cjs/ion-tab-button.cjs.entry.js +6 -6
  98. package/dist/cjs/ion-tab.cjs.entry.js +4 -4
  99. package/dist/cjs/ion-tabs.cjs.entry.js +4 -5
  100. package/dist/cjs/ion-text.cjs.entry.js +24 -0
  101. package/dist/cjs/ion-thumbnail.cjs.entry.js +2 -2
  102. package/dist/cjs/ion-toast.cjs.entry.js +23 -43
  103. package/dist/cjs/ion-virtual-scroll.cjs.entry.js +29 -28
  104. package/dist/cjs/{ionic-global-878073d1.js → ionic-global-2cde9d3a.js} +27 -31
  105. package/dist/cjs/{ios.transition-c3bfb096.js → ios.transition-da235483.js} +71 -51
  106. package/dist/cjs/{keyboard-dfd76ac3.js → keyboard-91096619.js} +3 -3
  107. package/dist/cjs/loader.cjs.js +5 -5
  108. package/dist/cjs/{md.transition-7eb9a1a7.js → md.transition-be429e07.js} +9 -16
  109. package/dist/cjs/{menu-toggle-util-cb549c2c.js → menu-toggle-util-7a01448c.js} +2 -2
  110. package/dist/cjs/{overlays-0a748609.js → overlays-32df265a.js} +29 -29
  111. package/dist/cjs/parse-d0071120.js +1237 -0
  112. package/dist/cjs/{purify-d0ad2883.js → purify-fb9c107e.js} +1 -1
  113. package/dist/cjs/sparkle-animation-player.cjs.entry.js +1 -1
  114. package/dist/cjs/sparkle-card_3.cjs.entry.js +2 -2
  115. package/dist/cjs/sparkle-character-intro.cjs.entry.js +1 -1
  116. package/dist/cjs/sparkle-code.cjs.entry.js +2 -2
  117. package/dist/cjs/sparkle-compass-post.cjs.entry.js +1 -1
  118. package/dist/cjs/sparkle-compass.cjs.entry.js +1 -1
  119. package/dist/cjs/sparkle-core.cjs.js +5 -5
  120. package/dist/cjs/sparkle-course-root.cjs.entry.js +12 -11
  121. package/dist/cjs/sparkle-dropdown.cjs.entry.js +2 -2
  122. package/dist/cjs/sparkle-emoji.cjs.entry.js +1 -1
  123. package/dist/cjs/sparkle-export-lessons_6.cjs.entry.js +12 -11
  124. package/dist/cjs/sparkle-facilitator-header_19.cjs.entry.js +23 -22
  125. package/dist/cjs/sparkle-facilitator-notes-form.cjs.entry.js +8 -7
  126. package/dist/cjs/sparkle-feedback.cjs.entry.js +9 -8
  127. package/dist/cjs/sparkle-goal-form.cjs.entry.js +8 -7
  128. package/dist/cjs/sparkle-goal-progress.cjs.entry.js +1 -1
  129. package/dist/cjs/sparkle-gww-comment-list.cjs.entry.js +1 -1
  130. package/dist/cjs/sparkle-gww-graph.cjs.entry.js +1 -1
  131. package/dist/cjs/sparkle-gww-item.cjs.entry.js +5 -5
  132. package/dist/cjs/sparkle-intro.cjs.entry.js +1 -1
  133. package/dist/cjs/sparkle-lower-content-nav.cjs.entry.js +1 -1
  134. package/dist/cjs/sparkle-menu-collapsible.cjs.entry.js +2 -2
  135. package/dist/cjs/sparkle-menu-toggle_3.cjs.entry.js +3 -3
  136. package/dist/cjs/sparkle-modal-image.cjs.entry.js +1 -1
  137. package/dist/cjs/sparkle-notfound-page.cjs.entry.js +1 -1
  138. package/dist/cjs/sparkle-overlay.cjs.entry.js +1 -1
  139. package/dist/cjs/sparkle-poll.cjs.entry.js +1 -1
  140. package/dist/cjs/sparkle-quiz-container.cjs.entry.js +1 -1
  141. package/dist/cjs/sparkle-quiz-feedback_5.cjs.entry.js +1 -1
  142. package/dist/cjs/sparkle-quiz.cjs.entry.js +1 -1
  143. package/dist/cjs/sparkle-select.cjs.entry.js +1 -1
  144. package/dist/cjs/sparkle-sidebar.cjs.entry.js +1 -1
  145. package/dist/cjs/sparkle-tab.cjs.entry.js +1 -1
  146. package/dist/cjs/sparkle-table-of-contents.cjs.entry.js +1 -1
  147. package/dist/cjs/sparkle-tabs.cjs.entry.js +1 -1
  148. package/dist/cjs/sparkle-validation-error.cjs.entry.js +1 -1
  149. package/dist/cjs/sparkle-youtube.cjs.entry.js +1 -1
  150. package/dist/cjs/{spinner-configs-6f6b7ef0.js → spinner-configs-0ac05f2d.js} +43 -43
  151. package/dist/cjs/{status-tap-8697433c.js → status-tap-033befa2.js} +7 -5
  152. package/dist/cjs/stencil-async-content.cjs.entry.js +1 -1
  153. package/dist/cjs/stencil-route-link.cjs.entry.js +2 -2
  154. package/dist/cjs/stencil-route-title.cjs.entry.js +2 -2
  155. package/dist/cjs/stencil-router-prompt.cjs.entry.js +2 -2
  156. package/dist/cjs/stencil-router-redirect.cjs.entry.js +2 -2
  157. package/dist/cjs/{student.service-7af424fe.js → student.service-d48f1c99.js} +7 -7
  158. package/dist/cjs/{swipe-back-7e08b5e0.js → swipe-back-4a826f9b.js} +5 -5
  159. package/dist/cjs/{theme-4252ac15.js → theme-b0b295c1.js} +6 -5
  160. package/dist/cjs/{user.store-3d29139d.js → user.store-8a049c4e.js} +1 -1
  161. package/dist/collection/collection-manifest.json +2 -1
  162. package/dist/collection/components/sparkle-feed-post/sparkle-feed-post.css +16 -0
  163. package/dist/collection/components/sparkle-feed-post/sparkle-feed-post.js +197 -3
  164. package/dist/esm/{PrivateRoute-f59ba6b5.js → PrivateRoute-530ef873.js} +2 -2
  165. package/dist/esm/{active-router-909088d6.js → active-router-9843e205.js} +1 -1
  166. package/dist/esm/{animation-7b083379.js → animation-d98d3e81.js} +83 -78
  167. package/dist/esm/{app-globals-5c736ae5.js → app-globals-08edc964.js} +1 -1
  168. package/dist/esm/{auth.service-7ab0ac58.js → auth.service-79389d86.js} +3 -2
  169. package/dist/esm/{auth.store-98fad96d.js → auth.store-b812b34b.js} +45 -725
  170. package/dist/esm/compass-svg.entry.js +1 -1
  171. package/dist/esm/context-consumer.entry.js +1 -1
  172. package/dist/esm/course-select.entry.js +1 -1
  173. package/dist/esm/{cubic-bezier-a7ad9c8e.js → cubic-bezier-4c0db14f.js} +10 -11
  174. package/dist/esm/{facilitator.service-1524bf89.js → facilitator.service-7babc526.js} +2 -1
  175. package/dist/esm/{feed.service-4900fc62.js → feed.service-80fbe79d.js} +2 -1
  176. package/dist/esm/{focus-visible-40cda868.js → focus-visible-4e9a0764.js} +19 -6
  177. package/dist/esm/{framework-delegate-518bd233.js → framework-delegate-9b329182.js} +11 -13
  178. package/dist/esm/{gesture-controller-686622ba.js → gesture-controller-7be18351.js} +1 -1
  179. package/dist/esm/{haptic-99c9e346.js → haptic-3a76a65c.js} +4 -3
  180. package/dist/esm/{hardware-back-button-b6ccf74a.js → hardware-back-button-fa04d6e9.js} +8 -8
  181. package/dist/esm/header-mobile-collapse_2.entry.js +2 -2
  182. package/dist/esm/{helpers-9d0930de.js → helpers-94a5855b.js} +81 -15
  183. package/dist/esm/httpService-b2b7a1ad.js +683 -0
  184. package/dist/esm/{icons-05b6ce86.js → icons-16f1a80b.js} +1 -1
  185. package/dist/esm/{index-a12c14bd.js → index-21661af2.js} +22 -19
  186. package/dist/esm/{tap-click-cca25060.js → index-230a26c9.js} +30 -20
  187. package/dist/esm/{index-8de9446b.js → index-478745be.js} +17 -25
  188. package/dist/esm/{index-ea26196a.js → index-4ec6b9c2.js} +5 -2
  189. package/dist/esm/{index-fa5e93c5.js → index-95307148.js} +19 -28
  190. package/dist/esm/{index-5568e3fa.js → index-9db08224.js} +19 -12
  191. package/dist/esm/{index-c92f99d4.js → index-ab1c6a9f.js} +2 -2
  192. package/dist/esm/{index-435af8e6.js → index-be6112f8.js} +9 -8
  193. package/dist/esm/index-c23a1826.js +128 -0
  194. package/dist/esm/index-dad75b83.js +34 -0
  195. package/dist/esm/{index.es-89cff481.js → index.es-1c3b1ef3.js} +2 -7
  196. package/dist/esm/index.js +9 -8
  197. package/dist/esm/{injectHistory-52d0c7eb.js → injectHistory-4bfff188.js} +1 -1
  198. package/dist/esm/{input-shims-7f04e044.js → input-shims-ce5c01df.js} +21 -24
  199. package/dist/esm/ion-accordion-group.entry.js +17 -9
  200. package/dist/esm/ion-accordion.entry.js +19 -23
  201. package/dist/esm/ion-action-sheet_4.entry.js +216 -212
  202. package/dist/esm/ion-app.entry.js +8 -8
  203. package/dist/esm/ion-avatar_16.entry.js +1888 -0
  204. package/dist/esm/ion-back-button.entry.js +11 -11
  205. package/dist/esm/ion-backdrop.entry.js +4 -4
  206. package/dist/esm/ion-badge.entry.js +3 -3
  207. package/dist/esm/ion-breadcrumb.entry.js +13 -21
  208. package/dist/esm/ion-breadcrumbs.entry.js +12 -14
  209. package/dist/esm/ion-buttons_3.entry.js +13 -13
  210. package/dist/esm/ion-card-header.entry.js +4 -4
  211. package/dist/esm/ion-card-subtitle.entry.js +4 -4
  212. package/dist/esm/ion-checkbox_4.entry.js +22 -32
  213. package/dist/esm/ion-chip.entry.js +3 -3
  214. package/dist/esm/ion-col_3.entry.js +29 -25
  215. package/dist/esm/ion-content_2.entry.js +59 -52
  216. package/dist/esm/ion-datetime-button.entry.js +308 -0
  217. package/dist/esm/ion-datetime.entry.js +723 -1216
  218. package/dist/esm/ion-fab-button.entry.js +25 -9
  219. package/dist/esm/ion-fab-list.entry.js +4 -4
  220. package/dist/esm/ion-fab.entry.js +15 -13
  221. package/dist/esm/ion-footer.entry.js +16 -14
  222. package/dist/esm/ion-img.entry.js +4 -4
  223. package/dist/esm/ion-infinite-scroll-content.entry.js +5 -5
  224. package/dist/esm/ion-infinite-scroll.entry.js +13 -15
  225. package/dist/esm/ion-item-divider.entry.js +4 -4
  226. package/dist/esm/ion-item-group.entry.js +3 -3
  227. package/dist/esm/ion-item-option.entry.js +8 -8
  228. package/dist/esm/ion-item-options.entry.js +5 -5
  229. package/dist/esm/ion-item-sliding.entry.js +41 -46
  230. package/dist/esm/ion-loading.entry.js +23 -35
  231. package/dist/esm/ion-menu-button.entry.js +13 -13
  232. package/dist/esm/ion-menu-toggle.entry.js +7 -7
  233. package/dist/esm/ion-menu.entry.js +47 -40
  234. package/dist/esm/ion-modal.entry.js +921 -268
  235. package/dist/esm/ion-nav-link.entry.js +2 -2
  236. package/dist/esm/ion-nav.entry.js +45 -35
  237. package/dist/esm/ion-picker-column-internal_2.entry.js +151 -43
  238. package/dist/esm/ion-picker-column.entry.js +23 -25
  239. package/dist/esm/ion-picker.entry.js +15 -17
  240. package/dist/esm/ion-progress-bar.entry.js +6 -8
  241. package/dist/esm/ion-range.entry.js +117 -47
  242. package/dist/esm/ion-refresher-content.entry.js +6 -12
  243. package/dist/esm/ion-refresher.entry.js +68 -50
  244. package/dist/esm/ion-reorder-group.entry.js +15 -16
  245. package/dist/esm/ion-reorder.entry.js +3 -3
  246. package/dist/esm/ion-route-redirect.entry.js +1 -1
  247. package/dist/esm/ion-route.entry.js +1 -1
  248. package/dist/esm/ion-router-link.entry.js +5 -5
  249. package/dist/esm/ion-router-outlet.entry.js +22 -20
  250. package/dist/esm/ion-router.entry.js +32 -31
  251. package/dist/esm/ion-searchbar.entry.js +14 -16
  252. package/dist/esm/ion-segment-button.entry.js +8 -8
  253. package/dist/esm/ion-segment.entry.js +24 -26
  254. package/dist/esm/ion-select_2.entry.js +59 -56
  255. package/dist/esm/ion-skeleton-text.entry.js +4 -4
  256. package/dist/esm/ion-slide.entry.js +3 -3
  257. package/dist/esm/ion-slides.entry.js +23 -23
  258. package/dist/esm/ion-split-pane.entry.js +10 -11
  259. package/dist/esm/ion-tab-bar.entry.js +5 -5
  260. package/dist/esm/ion-tab-button.entry.js +6 -6
  261. package/dist/esm/ion-tab.entry.js +4 -4
  262. package/dist/esm/ion-tabs.entry.js +4 -5
  263. package/dist/esm/ion-text.entry.js +20 -0
  264. package/dist/esm/ion-thumbnail.entry.js +2 -2
  265. package/dist/esm/ion-toast.entry.js +23 -43
  266. package/dist/esm/ion-virtual-scroll.entry.js +29 -28
  267. package/dist/esm/{ionic-global-0939c477.js → ionic-global-293e882b.js} +27 -31
  268. package/dist/esm/{ios.transition-db4f4ca6.js → ios.transition-7cd34deb.js} +71 -51
  269. package/dist/esm/{keyboard-2503e874.js → keyboard-7e8329b3.js} +3 -3
  270. package/dist/esm/loader.js +5 -5
  271. package/dist/esm/{md.transition-8294b503.js → md.transition-2589a5b1.js} +9 -16
  272. package/dist/esm/{menu-toggle-util-06adade3.js → menu-toggle-util-f92ba2f0.js} +2 -2
  273. package/dist/esm/{overlays-5c777f10.js → overlays-dfa730c8.js} +29 -29
  274. package/dist/esm/parse-1ae3a9bb.js +1196 -0
  275. package/dist/esm/polyfills/css-shim.js +1 -1
  276. package/dist/esm/{purify-eb68cf1d.js → purify-79af871f.js} +1 -1
  277. package/dist/esm/sparkle-animation-player.entry.js +1 -1
  278. package/dist/esm/sparkle-card_3.entry.js +2 -2
  279. package/dist/esm/sparkle-character-intro.entry.js +1 -1
  280. package/dist/esm/sparkle-code.entry.js +2 -2
  281. package/dist/esm/sparkle-compass-post.entry.js +1 -1
  282. package/dist/esm/sparkle-compass.entry.js +1 -1
  283. package/dist/esm/sparkle-core.js +5 -5
  284. package/dist/esm/sparkle-course-root.entry.js +12 -11
  285. package/dist/esm/sparkle-dropdown.entry.js +2 -2
  286. package/dist/esm/sparkle-emoji.entry.js +1 -1
  287. package/dist/esm/sparkle-export-lessons_6.entry.js +12 -11
  288. package/dist/esm/sparkle-facilitator-header_19.entry.js +17 -16
  289. package/dist/esm/sparkle-facilitator-notes-form.entry.js +8 -7
  290. package/dist/esm/sparkle-feedback.entry.js +9 -8
  291. package/dist/esm/sparkle-goal-form.entry.js +8 -7
  292. package/dist/esm/sparkle-goal-progress.entry.js +1 -1
  293. package/dist/esm/sparkle-gww-comment-list.entry.js +1 -1
  294. package/dist/esm/sparkle-gww-graph.entry.js +1 -1
  295. package/dist/esm/sparkle-gww-item.entry.js +5 -5
  296. package/dist/esm/sparkle-intro.entry.js +1 -1
  297. package/dist/esm/sparkle-lower-content-nav.entry.js +1 -1
  298. package/dist/esm/sparkle-menu-collapsible.entry.js +2 -2
  299. package/dist/esm/sparkle-menu-toggle_3.entry.js +3 -3
  300. package/dist/esm/sparkle-modal-image.entry.js +1 -1
  301. package/dist/esm/sparkle-notfound-page.entry.js +1 -1
  302. package/dist/esm/sparkle-overlay.entry.js +1 -1
  303. package/dist/esm/sparkle-poll.entry.js +1 -1
  304. package/dist/esm/sparkle-quiz-container.entry.js +1 -1
  305. package/dist/esm/sparkle-quiz-feedback_5.entry.js +1 -1
  306. package/dist/esm/sparkle-quiz.entry.js +1 -1
  307. package/dist/esm/sparkle-select.entry.js +1 -1
  308. package/dist/esm/sparkle-sidebar.entry.js +1 -1
  309. package/dist/esm/sparkle-tab.entry.js +1 -1
  310. package/dist/esm/sparkle-table-of-contents.entry.js +1 -1
  311. package/dist/esm/sparkle-tabs.entry.js +1 -1
  312. package/dist/esm/sparkle-validation-error.entry.js +1 -1
  313. package/dist/esm/sparkle-youtube.entry.js +1 -1
  314. package/dist/esm/{spinner-configs-f609a655.js → spinner-configs-a37e628a.js} +43 -43
  315. package/dist/esm/{status-tap-e8c0c752.js → status-tap-79b6199d.js} +7 -5
  316. package/dist/esm/stencil-async-content.entry.js +1 -1
  317. package/dist/esm/stencil-route-link.entry.js +2 -2
  318. package/dist/esm/stencil-route-title.entry.js +2 -2
  319. package/dist/esm/stencil-router-prompt.entry.js +2 -2
  320. package/dist/esm/stencil-router-redirect.entry.js +2 -2
  321. package/dist/esm/{student.service-c2f44f3a.js → student.service-0caed0f4.js} +2 -2
  322. package/dist/esm/{swipe-back-9a3b2cdd.js → swipe-back-ad7a0361.js} +5 -5
  323. package/dist/esm/{theme-c336c9d9.js → theme-7ef00c83.js} +6 -5
  324. package/dist/esm/{user.store-e6ff7558.js → user.store-8477642a.js} +1 -1
  325. package/dist/node_modules/@ionic/core/dist/collection/components/content/content.css +8 -1
  326. package/dist/node_modules/@ionic/core/dist/collection/components/datetime/datetime.ios.css +46 -22
  327. package/dist/node_modules/@ionic/core/dist/collection/components/datetime/datetime.md.css +43 -19
  328. package/dist/node_modules/@ionic/core/dist/collection/components/datetime-button/datetime-button.css +60 -0
  329. package/dist/node_modules/@ionic/core/dist/collection/components/item/item.ios.css +2 -1
  330. package/dist/node_modules/@ionic/core/dist/collection/components/item/item.md.css +2 -2
  331. package/dist/node_modules/@ionic/core/dist/collection/components/item-option/item-option.ios.css +6 -6
  332. package/dist/node_modules/@ionic/core/dist/collection/components/item-option/item-option.md.css +6 -6
  333. package/dist/node_modules/@ionic/core/dist/collection/components/label/label.ios.css +3 -3
  334. package/dist/node_modules/@ionic/core/dist/collection/components/loading/loading.ios.css +1 -6
  335. package/dist/node_modules/@ionic/core/dist/collection/components/loading/loading.md.css +1 -6
  336. package/dist/node_modules/@ionic/core/dist/collection/components/menu/menu.ios.css +1 -5
  337. package/dist/node_modules/@ionic/core/dist/collection/components/menu/menu.md.css +1 -5
  338. package/dist/node_modules/@ionic/core/dist/collection/components/modal/modal.ios.css +31 -3
  339. package/dist/node_modules/@ionic/core/dist/collection/components/modal/modal.md.css +29 -1
  340. package/dist/node_modules/@ionic/core/dist/collection/components/picker-column-internal/picker-column-internal.ios.css +24 -1
  341. package/dist/node_modules/@ionic/core/dist/collection/components/picker-column-internal/picker-column-internal.md.css +24 -1
  342. package/dist/node_modules/@ionic/core/dist/collection/components/picker-internal/picker-internal.ios.css +4 -0
  343. package/dist/node_modules/@ionic/core/dist/collection/components/picker-internal/picker-internal.md.css +4 -0
  344. package/dist/node_modules/@ionic/core/dist/collection/components/range/range.ios.css +2 -2
  345. package/dist/node_modules/@ionic/core/dist/collection/components/range/range.md.css +2 -2
  346. package/dist/node_modules/@ionic/core/dist/collection/components/spinner/spinner.css +8 -8
  347. package/dist/node_modules/@ionic/core/dist/collection/components/textarea/textarea.ios.css +34 -17
  348. package/dist/node_modules/@ionic/core/dist/collection/components/textarea/textarea.md.css +34 -17
  349. package/dist/node_modules/@ionic/core/dist/collection/components/toggle/toggle.ios.css +50 -1
  350. package/dist/node_modules/@ionic/core/dist/collection/components/toggle/toggle.md.css +27 -0
  351. package/dist/sparkle-core/index.esm.js +1 -1
  352. package/dist/sparkle-core/p-0127a61a.entry.js +1 -0
  353. package/dist/sparkle-core/p-01743e3e.js +4 -0
  354. package/dist/sparkle-core/p-06af1bc8.entry.js +1 -0
  355. package/dist/sparkle-core/{p-703ca87c.js → p-076f0239.js} +0 -0
  356. package/dist/sparkle-core/p-0798d46a.entry.js +1 -0
  357. package/dist/sparkle-core/p-085eb951.entry.js +4 -0
  358. package/dist/sparkle-core/{p-39e5a90f.entry.js → p-0b92326d.entry.js} +1 -1
  359. package/dist/sparkle-core/{p-b21d0d9f.entry.js → p-0c603495.entry.js} +2 -2
  360. package/dist/sparkle-core/p-0d7cceaa.entry.js +1 -0
  361. package/dist/sparkle-core/p-0d813026.entry.js +1 -0
  362. package/dist/sparkle-core/{p-69e7783d.js → p-0e4de1d0.js} +0 -0
  363. package/dist/sparkle-core/{p-6c5b5ea2.entry.js → p-11ed6b7f.entry.js} +1 -1
  364. package/dist/sparkle-core/p-122427b7.entry.js +1 -0
  365. package/dist/sparkle-core/p-12c4f45c.entry.js +1 -0
  366. package/dist/sparkle-core/p-136b93d5.entry.js +4 -0
  367. package/dist/sparkle-core/{p-f6bafe1d.js → p-1394cbb8.js} +2 -2
  368. package/dist/sparkle-core/{p-c48bbc7c.entry.js → p-14340143.entry.js} +1 -1
  369. package/dist/sparkle-core/p-14a06a91.entry.js +1 -0
  370. package/dist/sparkle-core/{p-a9ee3f6d.entry.js → p-16b7974e.entry.js} +1 -1
  371. package/dist/sparkle-core/p-16c81890.entry.js +1 -0
  372. package/dist/sparkle-core/{p-d00f550b.entry.js → p-1701723e.entry.js} +1 -1
  373. package/dist/sparkle-core/{p-232cc3bc.js → p-17aef6f9.js} +1 -1
  374. package/dist/sparkle-core/p-180857a2.entry.js +1 -0
  375. package/dist/sparkle-core/p-1acc7870.entry.js +1 -0
  376. package/dist/sparkle-core/{p-0ad99881.js → p-1c2aee9c.js} +1 -1
  377. package/dist/sparkle-core/p-1cd4c3cc.entry.js +1 -0
  378. package/dist/sparkle-core/p-21d9833d.js +1 -0
  379. package/dist/sparkle-core/p-23d713e2.js +1 -0
  380. package/dist/sparkle-core/p-25c13612.entry.js +1 -0
  381. package/dist/sparkle-core/p-2699868a.entry.js +1 -0
  382. package/dist/sparkle-core/p-27075abe.js +4 -0
  383. package/dist/sparkle-core/{p-52d4715a.js → p-280e938d.js} +1 -1
  384. package/dist/sparkle-core/p-2c89a6c2.entry.js +1 -0
  385. package/dist/sparkle-core/p-308517b3.js +4 -0
  386. package/dist/sparkle-core/p-3227afcb.entry.js +1 -0
  387. package/dist/sparkle-core/{p-c748f64e.entry.js → p-34d93a39.entry.js} +1 -1
  388. package/dist/sparkle-core/{p-e1aee41e.entry.js → p-34ebfc8a.entry.js} +1 -1
  389. package/dist/sparkle-core/p-351b82a8.entry.js +1 -0
  390. package/dist/sparkle-core/p-363a2d6d.js +4 -0
  391. package/dist/sparkle-core/p-36c48760.entry.js +1 -0
  392. package/dist/sparkle-core/p-3810777d.js +4 -0
  393. package/dist/sparkle-core/p-384911d7.entry.js +1 -0
  394. package/dist/sparkle-core/p-3b618eda.entry.js +1 -0
  395. package/dist/sparkle-core/p-3c752205.entry.js +1 -0
  396. package/dist/sparkle-core/{p-90466494.entry.js → p-3d2c0e24.entry.js} +2 -2
  397. package/dist/sparkle-core/{p-350adbaa.entry.js → p-3eb56165.entry.js} +1 -1
  398. package/dist/sparkle-core/{p-ed0e9d29.entry.js → p-3ef53ebf.entry.js} +1 -1
  399. package/dist/sparkle-core/{p-fbd7eeca.entry.js → p-3fd92216.entry.js} +1 -1
  400. package/dist/sparkle-core/{p-ff4d6858.js → p-4338e1e3.js} +2 -2
  401. package/dist/sparkle-core/{p-2af82cc1.entry.js → p-442eadcf.entry.js} +1 -1
  402. package/dist/sparkle-core/{p-5f45d206.entry.js → p-4af496a8.entry.js} +1 -1
  403. package/dist/sparkle-core/{p-c8ae9e47.entry.js → p-4c9e010d.entry.js} +1 -1
  404. package/dist/sparkle-core/p-4d0dfbc9.js +1 -0
  405. package/dist/sparkle-core/{p-8c6b6038.js → p-4d4077ea.js} +0 -0
  406. package/dist/sparkle-core/{p-67f71099.entry.js → p-4e0502b8.entry.js} +1 -1
  407. package/dist/sparkle-core/p-506f3c5f.js +4 -0
  408. package/dist/sparkle-core/p-524a6174.entry.js +1 -0
  409. package/dist/sparkle-core/p-53aac9d7.entry.js +1 -0
  410. package/dist/sparkle-core/{p-0580419b.entry.js → p-56700a40.entry.js} +1 -1
  411. package/dist/sparkle-core/p-5722be24.entry.js +1 -0
  412. package/dist/sparkle-core/{p-2f437793.entry.js → p-58389020.entry.js} +14 -14
  413. package/dist/sparkle-core/{p-11cf398a.entry.js → p-58f74119.entry.js} +1 -1
  414. package/dist/sparkle-core/p-5979f253.entry.js +1 -0
  415. package/dist/sparkle-core/p-5a3de051.entry.js +4 -0
  416. package/dist/sparkle-core/p-5a850731.entry.js +1 -0
  417. package/dist/sparkle-core/p-5dcf33fb.entry.js +1 -0
  418. package/dist/sparkle-core/p-5e8fa1ac.entry.js +1 -0
  419. package/dist/sparkle-core/p-5ef50959.js +1 -0
  420. package/dist/sparkle-core/p-615b8f64.entry.js +1 -0
  421. package/dist/sparkle-core/{p-90389886.entry.js → p-63d8a5b7.entry.js} +1 -1
  422. package/dist/sparkle-core/p-6a337ad1.entry.js +1 -0
  423. package/dist/sparkle-core/p-6a5ace01.js +2 -0
  424. package/dist/sparkle-core/{p-d7baf31e.entry.js → p-6ae9c743.entry.js} +1 -1
  425. package/dist/sparkle-core/p-76206f80.entry.js +1 -0
  426. package/dist/sparkle-core/{p-5e4ec238.entry.js → p-767c9db8.entry.js} +1 -1
  427. package/dist/sparkle-core/p-76a6e202.entry.js +1 -0
  428. package/dist/sparkle-core/{p-ee0d7f19.entry.js → p-785f1879.entry.js} +1 -1
  429. package/dist/sparkle-core/p-788735b9.entry.js +1 -0
  430. package/dist/sparkle-core/{p-057f6a23.entry.js → p-7b21bd70.entry.js} +1 -1
  431. package/dist/sparkle-core/p-7b3d1457.js +1 -0
  432. package/dist/sparkle-core/p-7d8427eb.js +4 -0
  433. package/dist/sparkle-core/{p-5264da79.js → p-7e7ce516.js} +0 -0
  434. package/dist/sparkle-core/{p-337f92b0.entry.js → p-8cbe019a.entry.js} +5 -5
  435. package/dist/sparkle-core/{p-401feeb0.js → p-8d630960.js} +1 -1
  436. package/dist/sparkle-core/{p-7052c43a.entry.js → p-8e42e634.entry.js} +1 -1
  437. package/dist/sparkle-core/p-8e56f9ee.entry.js +1 -0
  438. package/dist/sparkle-core/p-8ed0cefb.entry.js +1 -0
  439. package/dist/sparkle-core/{p-d4c07aca.js → p-924b2917.js} +0 -0
  440. package/dist/sparkle-core/{p-77c23496.entry.js → p-9484e34b.entry.js} +1 -1
  441. package/dist/sparkle-core/p-966817ec.js +1 -0
  442. package/dist/sparkle-core/p-969e98e5.entry.js +1 -0
  443. package/dist/sparkle-core/p-98f3925b.js +4 -0
  444. package/dist/sparkle-core/{p-e08059b6.js → p-99231c00.js} +2 -2
  445. package/dist/sparkle-core/p-9a383065.entry.js +7 -0
  446. package/dist/sparkle-core/p-9b4979b5.entry.js +4 -0
  447. package/dist/sparkle-core/{p-c69b0a7a.entry.js → p-9cd95e7e.entry.js} +1 -1
  448. package/dist/sparkle-core/{p-c4104929.entry.js → p-9dc42d70.entry.js} +1 -1
  449. package/dist/sparkle-core/{p-c8ed0575.js → p-9eea81f2.js} +1 -1
  450. package/dist/sparkle-core/{p-797c23ed.entry.js → p-9ef14088.entry.js} +1 -1
  451. package/dist/sparkle-core/p-a05871e6.js +1 -0
  452. package/dist/sparkle-core/{p-d394eed1.entry.js → p-a111c567.entry.js} +1 -1
  453. package/dist/sparkle-core/{p-a7832a51.js → p-a19b42f0.js} +1 -1
  454. package/dist/sparkle-core/p-a208ab2d.js +4 -0
  455. package/dist/sparkle-core/p-a2f7c751.entry.js +1 -0
  456. package/dist/sparkle-core/p-a458b415.entry.js +1 -0
  457. package/dist/sparkle-core/p-a6c1a55a.entry.js +5 -0
  458. package/dist/sparkle-core/p-ab3a8f5e.entry.js +1 -0
  459. package/dist/sparkle-core/p-ac0e4d8c.entry.js +1 -0
  460. package/dist/sparkle-core/p-add30d46.js +4 -0
  461. package/dist/sparkle-core/{p-5b40aae5.entry.js → p-b00d0a47.entry.js} +1 -1
  462. package/dist/sparkle-core/p-b2827978.entry.js +1 -0
  463. package/dist/sparkle-core/p-b8ba8164.entry.js +1 -0
  464. package/dist/sparkle-core/{p-6823e6c1.entry.js → p-ba775d8e.entry.js} +1 -1
  465. package/dist/sparkle-core/{p-37c00e39.entry.js → p-bae8cd7d.entry.js} +1 -1
  466. package/dist/sparkle-core/p-bb3e3482.entry.js +1 -0
  467. package/dist/sparkle-core/{p-330ccc7c.entry.js → p-bb575dba.entry.js} +1 -1
  468. package/dist/sparkle-core/p-bd2c8e30.entry.js +10 -0
  469. package/dist/sparkle-core/p-c48352cf.js +4 -0
  470. package/dist/sparkle-core/{p-667accac.entry.js → p-c5eb4404.entry.js} +1 -1
  471. package/dist/sparkle-core/p-c8ad5a5b.entry.js +4 -0
  472. package/dist/sparkle-core/p-c9f474d0.js +4 -0
  473. package/dist/sparkle-core/p-ca0edc9b.entry.js +1 -0
  474. package/dist/sparkle-core/{p-680663a2.entry.js → p-cb04b18a.entry.js} +1 -1
  475. package/dist/sparkle-core/{p-b3909012.entry.js → p-d0d0e5e5.entry.js} +1 -1
  476. package/dist/sparkle-core/{p-7d61177b.entry.js → p-d220a642.entry.js} +1 -1
  477. package/dist/sparkle-core/p-d38a2511.entry.js +1 -0
  478. package/dist/sparkle-core/{p-b07a2cf2.entry.js → p-d5b8302f.entry.js} +1 -1
  479. package/dist/sparkle-core/p-d5ba8e80.entry.js +1 -0
  480. package/dist/sparkle-core/{p-3a202a38.entry.js → p-d6637b48.entry.js} +1 -1
  481. package/dist/sparkle-core/p-d6788642.entry.js +1 -0
  482. package/dist/sparkle-core/p-d6a3a639.entry.js +1 -0
  483. package/dist/sparkle-core/p-d86f8633.entry.js +1 -0
  484. package/dist/sparkle-core/{p-08923b40.entry.js → p-defeaa5c.entry.js} +1 -1
  485. package/dist/sparkle-core/p-df5cfa7f.entry.js +1 -0
  486. package/dist/sparkle-core/p-df5efe0d.entry.js +1 -0
  487. package/dist/sparkle-core/p-dff8325e.js +4 -0
  488. package/dist/sparkle-core/{p-034306e2.js → p-e09de7ac.js} +1 -1
  489. package/dist/sparkle-core/{p-016a7aaf.entry.js → p-e1743d82.entry.js} +1 -1
  490. package/dist/sparkle-core/p-e28a106d.entry.js +1 -0
  491. package/dist/sparkle-core/p-e566c0b3.entry.js +1 -0
  492. package/dist/sparkle-core/{p-52f1d1ca.entry.js → p-e6d39f6e.entry.js} +1 -1
  493. package/dist/sparkle-core/p-e9431eeb.js +7 -0
  494. package/dist/sparkle-core/p-ea4a9f0d.entry.js +1 -0
  495. package/dist/sparkle-core/p-ea7d7a3b.js +1 -0
  496. package/dist/sparkle-core/p-eaa8bbee.js +4 -0
  497. package/dist/sparkle-core/p-ed3dfd89.js +4 -0
  498. package/dist/sparkle-core/{p-3defe550.entry.js → p-efe37368.entry.js} +1 -1
  499. package/dist/sparkle-core/{p-bef34cfe.entry.js → p-f187d129.entry.js} +1 -1
  500. package/dist/sparkle-core/{p-a9ccb0df.js → p-f3cba72a.js} +0 -0
  501. package/dist/sparkle-core/{p-052caa63.js → p-f5e7bfa5.js} +1 -1
  502. package/dist/sparkle-core/{p-ecd39170.entry.js → p-f63a13d8.entry.js} +1 -1
  503. package/dist/sparkle-core/{p-1726da2f.entry.js → p-fdb9a613.entry.js} +1 -1
  504. package/dist/sparkle-core/p-fde96f7c.js +4 -0
  505. package/dist/sparkle-core/{p-aa87c7f0.entry.js → p-fe214d79.entry.js} +1 -1
  506. package/dist/sparkle-core/p-fe3a7bca.js +1 -0
  507. package/dist/sparkle-core/{p-aa9ebc39.entry.js → p-fea20ec2.entry.js} +1 -1
  508. package/dist/sparkle-core/p-ff26d891.entry.js +1 -0
  509. package/dist/sparkle-core/sparkle-core.css +1 -1
  510. package/dist/sparkle-core/sparkle-core.esm.js +1 -1
  511. package/dist/types/components/sparkle-feed-post/sparkle-feed-post.d.ts +16 -0
  512. package/dist/types/components.d.ts +60 -11
  513. package/package.json +3 -3
  514. package/dist/cjs/ion-avatar.cjs.entry.js +0 -25
  515. package/dist/cjs/ion-button_3.cjs.entry.js +0 -383
  516. package/dist/cjs/ion-card-title.cjs.entry.js +0 -30
  517. package/dist/cjs/ion-card_2.cjs.entry.js +0 -93
  518. package/dist/cjs/ion-icon_2.cjs.entry.js +0 -397
  519. package/dist/cjs/ion-input_2.cjs.entry.js +0 -316
  520. package/dist/cjs/ion-label_2.cjs.entry.js +0 -126
  521. package/dist/cjs/ion-spinner.cjs.entry.js +0 -64
  522. package/dist/cjs/ion-textarea.cjs.entry.js +0 -247
  523. package/dist/cjs/ion-toggle.cjs.entry.js +0 -160
  524. package/dist/cjs/sparkle-feed-post.cjs.entry.js +0 -19
  525. package/dist/esm/ion-avatar.entry.js +0 -21
  526. package/dist/esm/ion-button_3.entry.js +0 -377
  527. package/dist/esm/ion-card-title.entry.js +0 -26
  528. package/dist/esm/ion-card_2.entry.js +0 -88
  529. package/dist/esm/ion-icon_2.entry.js +0 -392
  530. package/dist/esm/ion-input_2.entry.js +0 -311
  531. package/dist/esm/ion-label_2.entry.js +0 -121
  532. package/dist/esm/ion-spinner.entry.js +0 -60
  533. package/dist/esm/ion-textarea.entry.js +0 -243
  534. package/dist/esm/ion-toggle.entry.js +0 -156
  535. package/dist/esm/sparkle-feed-post.entry.js +0 -15
  536. package/dist/sparkle-core/p-021fde3c.entry.js +0 -1
  537. package/dist/sparkle-core/p-034aa29f.entry.js +0 -5
  538. package/dist/sparkle-core/p-03ec54a8.entry.js +0 -1
  539. package/dist/sparkle-core/p-04583c51.entry.js +0 -1
  540. package/dist/sparkle-core/p-063cd168.js +0 -4
  541. package/dist/sparkle-core/p-06c0cce3.entry.js +0 -1
  542. package/dist/sparkle-core/p-081968cc.entry.js +0 -1
  543. package/dist/sparkle-core/p-0934f5dd.entry.js +0 -1
  544. package/dist/sparkle-core/p-11234d0f.entry.js +0 -1
  545. package/dist/sparkle-core/p-1133fcbd.js +0 -4
  546. package/dist/sparkle-core/p-1551190a.entry.js +0 -1
  547. package/dist/sparkle-core/p-1e8c22e0.entry.js +0 -1
  548. package/dist/sparkle-core/p-21bf4ca0.entry.js +0 -1
  549. package/dist/sparkle-core/p-21db4e8e.entry.js +0 -1
  550. package/dist/sparkle-core/p-23a9f7d1.entry.js +0 -1
  551. package/dist/sparkle-core/p-28950db0.entry.js +0 -1
  552. package/dist/sparkle-core/p-35a7bd6c.entry.js +0 -1
  553. package/dist/sparkle-core/p-35c5c110.entry.js +0 -1
  554. package/dist/sparkle-core/p-3ff617d5.js +0 -1
  555. package/dist/sparkle-core/p-4028676b.js +0 -4
  556. package/dist/sparkle-core/p-41124baa.js +0 -4
  557. package/dist/sparkle-core/p-41af3793.entry.js +0 -1
  558. package/dist/sparkle-core/p-43a7391b.entry.js +0 -1
  559. package/dist/sparkle-core/p-44c23f72.js +0 -1
  560. package/dist/sparkle-core/p-4550e10f.entry.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-4dc3ef96.entry.js +0 -1
  566. package/dist/sparkle-core/p-4ef4b8bd.entry.js +0 -5
  567. package/dist/sparkle-core/p-4f144efa.js +0 -4
  568. package/dist/sparkle-core/p-58e98f89.entry.js +0 -1
  569. package/dist/sparkle-core/p-59f7bf6e.entry.js +0 -1
  570. package/dist/sparkle-core/p-5a98d42e.entry.js +0 -7
  571. package/dist/sparkle-core/p-5ec7fd67.entry.js +0 -1
  572. package/dist/sparkle-core/p-618f6f82.entry.js +0 -1
  573. package/dist/sparkle-core/p-62a6c96f.entry.js +0 -1
  574. package/dist/sparkle-core/p-65ca1fb2.entry.js +0 -1
  575. package/dist/sparkle-core/p-663fafa9.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-6ebf52fb.entry.js +0 -1
  579. package/dist/sparkle-core/p-6f45db93.js +0 -1
  580. package/dist/sparkle-core/p-6fd4985d.js +0 -4
  581. package/dist/sparkle-core/p-70b2452c.js +0 -4
  582. package/dist/sparkle-core/p-74106ca8.entry.js +0 -1
  583. package/dist/sparkle-core/p-7493ee15.entry.js +0 -1
  584. package/dist/sparkle-core/p-75572037.js +0 -1
  585. package/dist/sparkle-core/p-7568dcab.entry.js +0 -1
  586. package/dist/sparkle-core/p-768bcc9e.entry.js +0 -1
  587. package/dist/sparkle-core/p-7703bae9.entry.js +0 -1
  588. package/dist/sparkle-core/p-79606a41.entry.js +0 -1
  589. package/dist/sparkle-core/p-7976e88c.entry.js +0 -1
  590. package/dist/sparkle-core/p-7c1f59ec.js +0 -1
  591. package/dist/sparkle-core/p-7de0a22b.entry.js +0 -1
  592. package/dist/sparkle-core/p-848fe770.entry.js +0 -1
  593. package/dist/sparkle-core/p-85429b12.entry.js +0 -1
  594. package/dist/sparkle-core/p-86d099f1.js +0 -4
  595. package/dist/sparkle-core/p-87549bb7.js +0 -4
  596. package/dist/sparkle-core/p-8c470e28.entry.js +0 -1
  597. package/dist/sparkle-core/p-954c89c2.entry.js +0 -1
  598. package/dist/sparkle-core/p-95d01c4c.js +0 -4
  599. package/dist/sparkle-core/p-987c64eb.js +0 -1
  600. package/dist/sparkle-core/p-996361f9.entry.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-b49ca0ea.entry.js +0 -1
  606. package/dist/sparkle-core/p-b7dafaae.entry.js +0 -1
  607. package/dist/sparkle-core/p-bd062288.entry.js +0 -1
  608. package/dist/sparkle-core/p-beb401e3.entry.js +0 -1
  609. package/dist/sparkle-core/p-c1c59771.js +0 -1
  610. package/dist/sparkle-core/p-c3d3d5c4.entry.js +0 -1
  611. package/dist/sparkle-core/p-c5b9bdd6.entry.js +0 -1
  612. package/dist/sparkle-core/p-c753207f.entry.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-d48e95c1.entry.js +0 -1
  616. package/dist/sparkle-core/p-d4b1a14a.entry.js +0 -1
  617. package/dist/sparkle-core/p-d56efeac.entry.js +0 -4
  618. package/dist/sparkle-core/p-d59a5984.entry.js +0 -1
  619. package/dist/sparkle-core/p-d8aff730.entry.js +0 -1
  620. package/dist/sparkle-core/p-da8921d0.entry.js +0 -1
  621. package/dist/sparkle-core/p-e3fdd0a8.entry.js +0 -1
  622. package/dist/sparkle-core/p-ec4d22e3.entry.js +0 -1
  623. package/dist/sparkle-core/p-ed3eed72.entry.js +0 -1
  624. package/dist/sparkle-core/p-ee0717e1.entry.js +0 -4
  625. package/dist/sparkle-core/p-ef2dace6.js +0 -4
  626. package/dist/sparkle-core/p-f1106984.entry.js +0 -1
  627. package/dist/sparkle-core/p-f61ca75c.entry.js +0 -1
  628. package/dist/sparkle-core/p-f9b73032.entry.js +0 -1
  629. package/dist/sparkle-core/p-fef04ab5.js +0 -4
@@ -1,316 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-bae2a754.js');
6
- const ionicGlobal = require('./ionic-global-878073d1.js');
7
- const helpers = require('./helpers-7e28976c.js');
8
- const theme = require('./theme-4252ac15.js');
9
-
10
- const inputIosCss = ".sc-ion-input-ios-h{--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:.5;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--background:transparent;--color:initial;display:flex;position:relative;flex:1;align-items:center;width:100%;padding:0 !important;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);z-index:2}ion-item.sc-ion-input-ios-h:not(.item-label),ion-item:not(.item-label) .sc-ion-input-ios-h{--padding-start:0}.ion-color.sc-ion-input-ios-h{color:var(--ion-color-base)}.native-input.sc-ion-input-ios{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:inline-block;flex:1;width:100%;max-width:100%;max-height:100%;border:0;outline:none;background:transparent;box-sizing:border-box;appearance:none}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.native-input.sc-ion-input-ios{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)}}.native-input.sc-ion-input-ios::placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-ios:-webkit-autofill{background-color:transparent}.native-input.sc-ion-input-ios:invalid{box-shadow:none}.native-input.sc-ion-input-ios::-ms-clear{display:none}.native-input[disabled].sc-ion-input-ios{opacity:0.4}.cloned-input.sc-ion-input-ios{left:0;top:0;position:absolute;pointer-events:none}[dir=rtl].sc-ion-input-ios .cloned-input.sc-ion-input-ios,[dir=rtl].sc-ion-input-ios-h .cloned-input.sc-ion-input-ios,[dir=rtl] .sc-ion-input-ios-h .cloned-input.sc-ion-input-ios{left:unset;right:unset;right:0}.input-clear-icon.sc-ion-input-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;background-position:center;border:0;outline:none;background-color:transparent;background-repeat:no-repeat;visibility:hidden;appearance:none}.input-clear-icon.sc-ion-input-ios:focus{opacity:0.5}.has-value.sc-ion-input-ios-h .input-clear-icon.sc-ion-input-ios{visibility:visible}.has-focus.sc-ion-input-ios-h{pointer-events:none}.has-focus.sc-ion-input-ios-h input.sc-ion-input-ios,.has-focus.sc-ion-input-ios-h a.sc-ion-input-ios,.has-focus.sc-ion-input-ios-h button.sc-ion-input-ios{pointer-events:auto}.item-label-floating.item-has-placeholder.sc-ion-input-ios-h:not(.item-has-value),.item-label-floating.item-has-placeholder:not(.item-has-value) .sc-ion-input-ios-h{opacity:0}.item-label-floating.item-has-placeholder.sc-ion-input-ios-h:not(.item-has-value).item-has-focus,.item-label-floating.item-has-placeholder:not(.item-has-value).item-has-focus .sc-ion-input-ios-h{transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);opacity:1}.sc-ion-input-ios-h{--padding-top:10px;--padding-end:10px;--padding-bottom:10px;--padding-start:0;font-size:inherit}.item-label-stacked.sc-ion-input-ios-h,.item-label-stacked .sc-ion-input-ios-h,.item-label-floating.sc-ion-input-ios-h,.item-label-floating .sc-ion-input-ios-h{--padding-top:8px;--padding-bottom:8px;--padding-start:0px}.input-clear-icon.sc-ion-input-ios{background-image:url(\"data:image/svg+xml;charset=utf-8,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20512%20512'><path%20fill='var(--ion-color-step-600,%20%23666666)'%20d='M403.1,108.9c-81.2-81.2-212.9-81.2-294.2,0s-81.2,212.9,0,294.2c81.2,81.2,212.9,81.2,294.2,0S484.3,190.1,403.1,108.9z%20M352,340.2L340.2,352l-84.4-84.2l-84,83.8L160,339.8l84-83.8l-84-83.8l11.8-11.8l84,83.8l84.4-84.2l11.8,11.8L267.6,256L352,340.2z'/></svg>\");width:30px;height:30px;background-size:18px}";
11
-
12
- const inputMdCss = ".sc-ion-input-md-h{--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:.5;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--background:transparent;--color:initial;display:flex;position:relative;flex:1;align-items:center;width:100%;padding:0 !important;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);z-index:2}ion-item.sc-ion-input-md-h:not(.item-label),ion-item:not(.item-label) .sc-ion-input-md-h{--padding-start:0}.ion-color.sc-ion-input-md-h{color:var(--ion-color-base)}.native-input.sc-ion-input-md{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:inline-block;flex:1;width:100%;max-width:100%;max-height:100%;border:0;outline:none;background:transparent;box-sizing:border-box;appearance:none}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.native-input.sc-ion-input-md{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)}}.native-input.sc-ion-input-md::placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-md:-webkit-autofill{background-color:transparent}.native-input.sc-ion-input-md:invalid{box-shadow:none}.native-input.sc-ion-input-md::-ms-clear{display:none}.native-input[disabled].sc-ion-input-md{opacity:0.4}.cloned-input.sc-ion-input-md{left:0;top:0;position:absolute;pointer-events:none}[dir=rtl].sc-ion-input-md .cloned-input.sc-ion-input-md,[dir=rtl].sc-ion-input-md-h .cloned-input.sc-ion-input-md,[dir=rtl] .sc-ion-input-md-h .cloned-input.sc-ion-input-md{left:unset;right:unset;right:0}.input-clear-icon.sc-ion-input-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;background-position:center;border:0;outline:none;background-color:transparent;background-repeat:no-repeat;visibility:hidden;appearance:none}.input-clear-icon.sc-ion-input-md:focus{opacity:0.5}.has-value.sc-ion-input-md-h .input-clear-icon.sc-ion-input-md{visibility:visible}.has-focus.sc-ion-input-md-h{pointer-events:none}.has-focus.sc-ion-input-md-h input.sc-ion-input-md,.has-focus.sc-ion-input-md-h a.sc-ion-input-md,.has-focus.sc-ion-input-md-h button.sc-ion-input-md{pointer-events:auto}.item-label-floating.item-has-placeholder.sc-ion-input-md-h:not(.item-has-value),.item-label-floating.item-has-placeholder:not(.item-has-value) .sc-ion-input-md-h{opacity:0}.item-label-floating.item-has-placeholder.sc-ion-input-md-h:not(.item-has-value).item-has-focus,.item-label-floating.item-has-placeholder:not(.item-has-value).item-has-focus .sc-ion-input-md-h{transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);opacity:1}.sc-ion-input-md-h{--padding-top:10px;--padding-end:0;--padding-bottom:10px;--padding-start:8px;font-size:inherit}.item-label-stacked.sc-ion-input-md-h,.item-label-stacked .sc-ion-input-md-h,.item-label-floating.sc-ion-input-md-h,.item-label-floating .sc-ion-input-md-h{--padding-top:8px;--padding-bottom:8px;--padding-start:0}.input-clear-icon.sc-ion-input-md{background-image:url(\"data:image/svg+xml;charset=utf-8,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20512%20512'><polygon%20fill='var(--ion-color-step-600,%20%23666666)'%20points='405,136.798%20375.202,107%20256,226.202%20136.798,107%20107,136.798%20226.202,256%20107,375.202%20136.798,405%20256,285.798%20375.202,405%20405,375.202%20285.798,256'/></svg>\");width:30px;height:30px;background-size:22px}";
13
-
14
- const Input = class {
15
- constructor(hostRef) {
16
- index.registerInstance(this, hostRef);
17
- this.ionInput = index.createEvent(this, "ionInput", 7);
18
- this.ionChange = index.createEvent(this, "ionChange", 7);
19
- this.ionBlur = index.createEvent(this, "ionBlur", 7);
20
- this.ionFocus = index.createEvent(this, "ionFocus", 7);
21
- this.ionStyle = index.createEvent(this, "ionStyle", 7);
22
- this.inputId = `ion-input-${inputIds++}`;
23
- this.didBlurAfterEdit = false;
24
- this.inheritedAttributes = {};
25
- this.isComposing = false;
26
- /**
27
- * This is required for a WebKit bug which requires us to
28
- * blur and focus an input to properly focus the input in
29
- * an item with delegatesFocus. It will no longer be needed
30
- * with iOS 14.
31
- *
32
- * @internal
33
- */
34
- this.fireFocusEvents = true;
35
- this.hasFocus = false;
36
- /**
37
- * Indicates whether and how the text value should be automatically capitalized as it is entered/edited by the user.
38
- * Available options: `"off"`, `"none"`, `"on"`, `"sentences"`, `"words"`, `"characters"`.
39
- */
40
- this.autocapitalize = 'off';
41
- /**
42
- * Indicates whether the value of the control can be automatically completed by the browser.
43
- */
44
- this.autocomplete = 'off';
45
- /**
46
- * Whether auto correction should be enabled when the user is entering/editing the text value.
47
- */
48
- this.autocorrect = 'off';
49
- /**
50
- * This Boolean attribute lets you specify that a form control should have input focus when the page loads.
51
- */
52
- this.autofocus = false;
53
- /**
54
- * If `true`, a clear icon will appear in the input when there is a value. Clicking it clears the input.
55
- */
56
- this.clearInput = false;
57
- /**
58
- * Set the amount of time, in milliseconds, to wait to trigger the `ionChange` event after each keystroke. This also impacts form bindings such as `ngModel` or `v-model`.
59
- */
60
- this.debounce = 0;
61
- /**
62
- * If `true`, the user cannot interact with the input.
63
- */
64
- this.disabled = false;
65
- /**
66
- * The name of the control, which is submitted with the form data.
67
- */
68
- this.name = this.inputId;
69
- /**
70
- * If `true`, the user cannot modify the value.
71
- */
72
- this.readonly = false;
73
- /**
74
- * If `true`, the user must fill in a value before submitting a form.
75
- */
76
- this.required = false;
77
- /**
78
- * If `true`, the element will have its spelling and grammar checked.
79
- */
80
- this.spellcheck = false;
81
- /**
82
- * The type of control to display. The default type is text.
83
- */
84
- this.type = 'text';
85
- /**
86
- * The value of the input.
87
- */
88
- this.value = '';
89
- this.onInput = (ev) => {
90
- const input = ev.target;
91
- if (input) {
92
- this.value = input.value || '';
93
- }
94
- this.ionInput.emit(ev);
95
- };
96
- this.onBlur = (ev) => {
97
- this.hasFocus = false;
98
- this.focusChanged();
99
- this.emitStyle();
100
- if (this.fireFocusEvents) {
101
- this.ionBlur.emit(ev);
102
- }
103
- };
104
- this.onFocus = (ev) => {
105
- this.hasFocus = true;
106
- this.focusChanged();
107
- this.emitStyle();
108
- if (this.fireFocusEvents) {
109
- this.ionFocus.emit(ev);
110
- }
111
- };
112
- this.onKeydown = (ev) => {
113
- if (this.shouldClearOnEdit()) {
114
- // Did the input value change after it was blurred and edited?
115
- // Do not clear if user is hitting Enter to submit form
116
- if (this.didBlurAfterEdit && this.hasValue() && ev.key !== 'Enter') {
117
- // Clear the input
118
- this.clearTextInput();
119
- }
120
- // Reset the flag
121
- this.didBlurAfterEdit = false;
122
- }
123
- };
124
- this.onCompositionStart = () => {
125
- this.isComposing = true;
126
- };
127
- this.onCompositionEnd = () => {
128
- this.isComposing = false;
129
- };
130
- this.clearTextOnEnter = (ev) => {
131
- if (ev.key === 'Enter') {
132
- this.clearTextInput(ev);
133
- }
134
- };
135
- this.clearTextInput = (ev) => {
136
- if (this.clearInput && !this.readonly && !this.disabled && ev) {
137
- ev.preventDefault();
138
- ev.stopPropagation();
139
- // Attempt to focus input again after pressing clear button
140
- this.setFocus();
141
- }
142
- this.value = '';
143
- /**
144
- * This is needed for clearOnEdit
145
- * Otherwise the value will not be cleared
146
- * if user is inside the input
147
- */
148
- if (this.nativeInput) {
149
- this.nativeInput.value = '';
150
- }
151
- };
152
- }
153
- debounceChanged() {
154
- this.ionChange = helpers.debounceEvent(this.ionChange, this.debounce);
155
- }
156
- disabledChanged() {
157
- this.emitStyle();
158
- }
159
- /**
160
- * Update the item classes when the placeholder changes
161
- */
162
- placeholderChanged() {
163
- this.emitStyle();
164
- }
165
- /**
166
- * Update the native input element when the value changes
167
- */
168
- valueChanged() {
169
- const nativeInput = this.nativeInput;
170
- const value = this.getValue();
171
- if (nativeInput && nativeInput.value !== value && !this.isComposing) {
172
- /**
173
- * Assigning the native input's value on attribute
174
- * value change, allows `ionInput` implementations
175
- * to override the control's value.
176
- *
177
- * Used for patterns such as input trimming (removing whitespace),
178
- * or input masking.
179
- */
180
- nativeInput.value = value;
181
- }
182
- this.emitStyle();
183
- this.ionChange.emit({ value: this.value == null ? this.value : this.value.toString() });
184
- }
185
- componentWillLoad() {
186
- this.inheritedAttributes = helpers.inheritAttributes(this.el, ['aria-label', 'tabindex', 'title']);
187
- }
188
- connectedCallback() {
189
- this.emitStyle();
190
- this.debounceChanged();
191
- {
192
- document.dispatchEvent(new CustomEvent('ionInputDidLoad', {
193
- detail: this.el
194
- }));
195
- }
196
- }
197
- componentDidLoad() {
198
- const nativeInput = this.nativeInput;
199
- if (nativeInput) {
200
- // TODO: FW-729 Update to JSX bindings when Stencil resolves bug with:
201
- // https://github.com/ionic-team/stencil/issues/3235
202
- nativeInput.addEventListener('compositionstart', this.onCompositionStart);
203
- nativeInput.addEventListener('compositionend', this.onCompositionEnd);
204
- }
205
- }
206
- disconnectedCallback() {
207
- {
208
- document.dispatchEvent(new CustomEvent('ionInputDidUnload', {
209
- detail: this.el
210
- }));
211
- }
212
- const nativeInput = this.nativeInput;
213
- if (nativeInput) {
214
- nativeInput.removeEventListener('compositionstart', this.onCompositionStart);
215
- nativeInput.removeEventListener('compositionEnd', this.onCompositionEnd);
216
- }
217
- }
218
- /**
219
- * Sets focus on the native `input` in `ion-input`. Use this method instead of the global
220
- * `input.focus()`.
221
- */
222
- async setFocus() {
223
- if (this.nativeInput) {
224
- this.nativeInput.focus();
225
- }
226
- }
227
- /**
228
- * Sets blur on the native `input` in `ion-input`. Use this method instead of the global
229
- * `input.blur()`.
230
- * @internal
231
- */
232
- async setBlur() {
233
- if (this.nativeInput) {
234
- this.nativeInput.blur();
235
- }
236
- }
237
- /**
238
- * Returns the native `<input>` element used under the hood.
239
- */
240
- getInputElement() {
241
- return Promise.resolve(this.nativeInput);
242
- }
243
- shouldClearOnEdit() {
244
- const { type, clearOnEdit } = this;
245
- return (clearOnEdit === undefined)
246
- ? type === 'password'
247
- : clearOnEdit;
248
- }
249
- getValue() {
250
- return typeof this.value === 'number' ? this.value.toString() :
251
- (this.value || '').toString();
252
- }
253
- emitStyle() {
254
- this.ionStyle.emit({
255
- 'interactive': true,
256
- 'input': true,
257
- 'has-placeholder': this.placeholder !== undefined,
258
- 'has-value': this.hasValue(),
259
- 'has-focus': this.hasFocus,
260
- 'interactive-disabled': this.disabled,
261
- });
262
- }
263
- focusChanged() {
264
- // If clearOnEdit is enabled and the input blurred but has a value, set a flag
265
- if (!this.hasFocus && this.shouldClearOnEdit() && this.hasValue()) {
266
- this.didBlurAfterEdit = true;
267
- }
268
- }
269
- hasValue() {
270
- return this.getValue().length > 0;
271
- }
272
- render() {
273
- const mode = ionicGlobal.getIonMode(this);
274
- const value = this.getValue();
275
- const labelId = this.inputId + '-lbl';
276
- const label = helpers.findItemLabel(this.el);
277
- if (label) {
278
- label.id = labelId;
279
- }
280
- return (index.h(index.Host, { "aria-disabled": this.disabled ? 'true' : null, class: theme.createColorClasses(this.color, {
281
- [mode]: true,
282
- 'has-value': this.hasValue(),
283
- 'has-focus': this.hasFocus
284
- }) }, index.h("input", Object.assign({ class: "native-input", ref: input => this.nativeInput = input, "aria-labelledby": label ? labelId : null, disabled: this.disabled, accept: this.accept, autoCapitalize: this.autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, min: this.min, max: this.max, minLength: this.minlength, maxLength: this.maxlength, multiple: this.multiple, name: this.name, pattern: this.pattern, placeholder: this.placeholder || '', readOnly: this.readonly, required: this.required, spellcheck: this.spellcheck, step: this.step, size: this.size, type: this.type, value: value, onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.onKeydown }, this.inheritedAttributes)), (this.clearInput && !this.readonly && !this.disabled) && index.h("button", { "aria-label": "reset", type: "button", class: "input-clear-icon", onTouchStart: this.clearTextInput, onMouseDown: this.clearTextInput, onKeyDown: this.clearTextOnEnter })));
285
- }
286
- get el() { return index.getElement(this); }
287
- static get watchers() { return {
288
- "debounce": ["debounceChanged"],
289
- "disabled": ["disabledChanged"],
290
- "placeholder": ["placeholderChanged"],
291
- "value": ["valueChanged"]
292
- }; }
293
- };
294
- let inputIds = 0;
295
- Input.style = {
296
- ios: inputIosCss,
297
- md: inputMdCss
298
- };
299
-
300
- const textCss = ":host(.ion-color){color:var(--ion-color-base)}";
301
-
302
- const Text = class {
303
- constructor(hostRef) {
304
- index.registerInstance(this, hostRef);
305
- }
306
- render() {
307
- const mode = ionicGlobal.getIonMode(this);
308
- return (index.h(index.Host, { class: theme.createColorClasses(this.color, {
309
- [mode]: true,
310
- }) }, index.h("slot", null)));
311
- }
312
- };
313
- Text.style = textCss;
314
-
315
- exports.ion_input = Input;
316
- exports.ion_text = Text;
@@ -1,126 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-bae2a754.js');
6
- const ionicGlobal = require('./ionic-global-878073d1.js');
7
- const theme = require('./theme-4252ac15.js');
8
-
9
- const labelIosCss = ".item.sc-ion-label-ios-h,.item .sc-ion-label-ios-h{--color:initial;display:block;color:var(--color);font-family:var(--ion-font-family, inherit);font-size:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;box-sizing:border-box}.ion-color.sc-ion-label-ios-h{color:var(--ion-color-base)}.ion-text-wrap.sc-ion-label-ios-h,[text-wrap].sc-ion-label-ios-h{white-space:normal}.item-interactive-disabled.sc-ion-label-ios-h:not(.item-multiple-inputs),.item-interactive-disabled:not(.item-multiple-inputs) .sc-ion-label-ios-h{cursor:default;opacity:0.3;pointer-events:none}.item-input.sc-ion-label-ios-h,.item-input .sc-ion-label-ios-h{flex:initial;max-width:200px;pointer-events:none}.item-textarea.sc-ion-label-ios-h,.item-textarea .sc-ion-label-ios-h{align-self:baseline}.label-fixed.sc-ion-label-ios-h{flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.label-stacked.sc-ion-label-ios-h,.label-floating.sc-ion-label-ios-h{margin-bottom:0;align-self:stretch;width:auto;max-width:100%}.label-no-animate.label-floating.sc-ion-label-ios-h{transition:none}.sc-ion-label-ios-s h1,.sc-ion-label-ios-s h2,.sc-ion-label-ios-s h3,.sc-ion-label-ios-s h4,.sc-ion-label-ios-s h5,.sc-ion-label-ios-s h6{text-overflow:inherit;overflow:inherit}.ion-text-wrap.sc-ion-label-ios-h,[text-wrap].sc-ion-label-ios-h{font-size:14px;line-height:1.5}.label-stacked.sc-ion-label-ios-h{margin-bottom:4px;font-size:14px}.label-floating.sc-ion-label-ios-h{margin-bottom:0;transform:translate3d(0, 29px, 0);transform-origin:left top;transition:transform 150ms ease-in-out}[dir=rtl].sc-ion-label-ios-h -no-combinator.label-floating.sc-ion-label-ios-h,[dir=rtl] .sc-ion-label-ios-h -no-combinator.label-floating.sc-ion-label-ios-h,[dir=rtl].label-floating.sc-ion-label-ios-h,[dir=rtl] .label-floating.sc-ion-label-ios-h{transform-origin:right top}.item-textarea.label-floating.sc-ion-label-ios-h,.item-textarea .label-floating.sc-ion-label-ios-h{transform:translate3d(0, 28px, 0)}.item-has-focus.label-floating.sc-ion-label-ios-h,.item-has-focus .label-floating.sc-ion-label-ios-h,.item-has-placeholder.sc-ion-label-ios-h:not(.item-input).label-floating,.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-ios-h,.item-has-value.label-floating.sc-ion-label-ios-h,.item-has-value .label-floating.sc-ion-label-ios-h{transform:translate3d(0, 0, 0) scale(0.82)}.sc-ion-label-ios-s h1{margin-left:0;margin-right:0;margin-top:3px;margin-bottom:2px;font-size:22px;font-weight:normal}.sc-ion-label-ios-s h2{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:17px;font-weight:normal}.sc-ion-label-ios-s h3,.sc-ion-label-ios-s h4,.sc-ion-label-ios-s h5,.sc-ion-label-ios-s h6{margin-left:0;margin-right:0;margin-top:0;margin-bottom:3px;font-size:14px;font-weight:normal;line-height:normal}.sc-ion-label-ios-s p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:14px;line-height:normal;text-overflow:inherit;overflow:inherit}.sc-ion-label-ios-s>p{color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.4)}.sc-ion-label-ios-h.in-item-color.sc-ion-label-ios-s>p{color:inherit}.sc-ion-label-ios-s h2:last-child,.sc-ion-label-ios-s h3:last-child,.sc-ion-label-ios-s h4:last-child,.sc-ion-label-ios-s h5:last-child,.sc-ion-label-ios-s h6:last-child,.sc-ion-label-ios-s p:last-child{margin-bottom:0}";
10
-
11
- const labelMdCss = ".item.sc-ion-label-md-h,.item .sc-ion-label-md-h{--color:initial;display:block;color:var(--color);font-family:var(--ion-font-family, inherit);font-size:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;box-sizing:border-box}.ion-color.sc-ion-label-md-h{color:var(--ion-color-base)}.ion-text-wrap.sc-ion-label-md-h,[text-wrap].sc-ion-label-md-h{white-space:normal}.item-interactive-disabled.sc-ion-label-md-h:not(.item-multiple-inputs),.item-interactive-disabled:not(.item-multiple-inputs) .sc-ion-label-md-h{cursor:default;opacity:0.3;pointer-events:none}.item-input.sc-ion-label-md-h,.item-input .sc-ion-label-md-h{flex:initial;max-width:200px;pointer-events:none}.item-textarea.sc-ion-label-md-h,.item-textarea .sc-ion-label-md-h{align-self:baseline}.label-fixed.sc-ion-label-md-h{flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.label-stacked.sc-ion-label-md-h,.label-floating.sc-ion-label-md-h{margin-bottom:0;align-self:stretch;width:auto;max-width:100%}.label-no-animate.label-floating.sc-ion-label-md-h{transition:none}.sc-ion-label-md-s h1,.sc-ion-label-md-s h2,.sc-ion-label-md-s h3,.sc-ion-label-md-s h4,.sc-ion-label-md-s h5,.sc-ion-label-md-s h6{text-overflow:inherit;overflow:inherit}.ion-text-wrap.sc-ion-label-md-h,[text-wrap].sc-ion-label-md-h{line-height:1.5}.label-stacked.sc-ion-label-md-h,.label-floating.sc-ion-label-md-h{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;transform-origin:top left}.label-stacked.label-rtl.sc-ion-label-md-h,.label-floating.label-rtl.sc-ion-label-md-h{transform-origin:top right}.label-stacked.sc-ion-label-md-h{transform:translateY(50%) scale(0.75);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.label-floating.sc-ion-label-md-h{transform:translateY(96%);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1)}.ion-focused.label-floating.sc-ion-label-md-h,.ion-focused .label-floating.sc-ion-label-md-h,.item-has-focus.label-floating.sc-ion-label-md-h,.item-has-focus .label-floating.sc-ion-label-md-h,.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating,.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h,.item-has-value.label-floating.sc-ion-label-md-h,.item-has-value .label-floating.sc-ion-label-md-h{transform:translateY(50%) scale(0.75)}.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h{transform:translateY(-6px) scale(0.75);position:relative;max-width:min-content;background-color:var(--ion-item-background, var(--ion-background-color, #fff));overflow:visible;z-index:3}.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h::before,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h::before,.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h::after,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating::before,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating::after,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h::after{position:absolute;width:4px;height:100%;background-color:var(--ion-item-background, var(--ion-background-color, #fff));content:\"\"}.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h::before,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating::before,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h::before{left:calc(-1 * 4px)}.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h::after,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating::after,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h::after{right:calc(-1 * 4px)}.item-fill-outline.ion-focused.item-has-start-slot.label-floating.sc-ion-label-md-h,.item-fill-outline.ion-focused.item-has-start-slot .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-focus.item-has-start-slot.label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-focus.item-has-start-slot .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).item-has-start-slot.label-floating,.item-fill-outline.item-has-placeholder:not(.item-input).item-has-start-slot .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-value.item-has-start-slot.label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-value.item-has-start-slot .label-floating.sc-ion-label-md-h{transform:translateX(-32px) translateY(-6px) scale(0.75)}.item-fill-outline.ion-focused.item-has-start-slot.label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.ion-focused.item-has-start-slot .label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-focus.item-has-start-slot.label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-focus.item-has-start-slot .label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).item-has-start-slot.label-floating.label-rtl,.item-fill-outline.item-has-placeholder:not(.item-input).item-has-start-slot .label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-value.item-has-start-slot.label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-value.item-has-start-slot .label-floating.label-rtl.sc-ion-label-md-h{transform:translateX(calc(-1 * -32px)) translateY(-6px) scale(0.75)}.ion-focused.label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused .label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused.label-floating.sc-ion-label-md-h:not(.ion-color),.ion-focused .label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus.label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--ion-color-primary, #3880ff)}.ion-focused.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.ion-focused.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--ion-color-contrast)}.item-fill-solid.ion-focused.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.ion-focused.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.ion-focused.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.ion-focused.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.ion-focused.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.ion-focused.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.ion-focused.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.ion-focused.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.item-has-focus.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.item-has-focus.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.item-has-focus.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.item-has-focus.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.item-has-focus.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.item-has-focus.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.item-has-focus.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.item-has-focus.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--ion-color-base)}.ion-invalid.ion-touched.label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-invalid.ion-touched .label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-invalid.ion-touched.label-floating.sc-ion-label-md-h:not(.ion-color),.ion-invalid.ion-touched .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--highlight-color-invalid)}.sc-ion-label-md-s h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:24px;font-weight:normal}.sc-ion-label-md-s h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:16px;font-weight:normal}.sc-ion-label-md-s h3,.sc-ion-label-md-s h4,.sc-ion-label-md-s h5,.sc-ion-label-md-s h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:14px;font-weight:normal;line-height:normal}.sc-ion-label-md-s p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:14px;line-height:20px;text-overflow:inherit;overflow:inherit}.sc-ion-label-md-s>p{color:var(--ion-color-step-600, #666666)}.sc-ion-label-md-h.in-item-color.sc-ion-label-md-s>p{color:inherit}";
12
-
13
- const Label = class {
14
- constructor(hostRef) {
15
- index.registerInstance(this, hostRef);
16
- this.ionColor = index.createEvent(this, "ionColor", 7);
17
- this.ionStyle = index.createEvent(this, "ionStyle", 7);
18
- this.inRange = false;
19
- this.noAnimate = false;
20
- }
21
- componentWillLoad() {
22
- this.inRange = !!this.el.closest('ion-range');
23
- this.noAnimate = (this.position === 'floating');
24
- this.emitStyle();
25
- this.emitColor();
26
- }
27
- componentDidLoad() {
28
- if (this.noAnimate) {
29
- setTimeout(() => {
30
- this.noAnimate = false;
31
- }, 1000);
32
- }
33
- }
34
- colorChanged() {
35
- this.emitColor();
36
- }
37
- positionChanged() {
38
- this.emitStyle();
39
- }
40
- emitColor() {
41
- const { color } = this;
42
- this.ionColor.emit({
43
- 'item-label-color': color !== undefined,
44
- [`ion-color-${color}`]: color !== undefined
45
- });
46
- }
47
- emitStyle() {
48
- const { inRange, position } = this;
49
- // If the label is inside of a range we don't want
50
- // to override the classes added by the label that
51
- // is a direct child of the item
52
- if (!inRange) {
53
- this.ionStyle.emit({
54
- 'label': true,
55
- [`label-${position}`]: position !== undefined
56
- });
57
- }
58
- }
59
- render() {
60
- const position = this.position;
61
- const mode = ionicGlobal.getIonMode(this);
62
- return (index.h(index.Host, { class: theme.createColorClasses(this.color, {
63
- [mode]: true,
64
- 'in-item-color': theme.hostContext('ion-item.ion-color', this.el),
65
- [`label-${position}`]: position !== undefined,
66
- [`label-no-animate`]: (this.noAnimate),
67
- 'label-rtl': document.dir === 'rtl'
68
- }) }));
69
- }
70
- get el() { return index.getElement(this); }
71
- static get watchers() { return {
72
- "color": ["colorChanged"],
73
- "position": ["positionChanged"]
74
- }; }
75
- };
76
- Label.style = {
77
- ios: labelIosCss,
78
- md: labelMdCss
79
- };
80
-
81
- const listIosCss = "ion-list{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:block;contain:content;list-style-type:none}ion-list.list-inset{transform:translateZ(0);overflow:hidden}.list-ios{background:var(--ion-item-background, var(--ion-background-color, #fff))}.list-ios.list-inset{margin-left:16px;margin-right:16px;margin-top:16px;margin-bottom:16px;border-radius:10px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.list-ios.list-inset{margin-left:unset;margin-right:unset;-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px}}.list-ios.list-inset ion-item{--border-width:0 0 1px 0;--inner-border-width:0}.list-ios.list-inset ion-item:last-child{--border-width:0;--inner-border-width:0}.list-ios.list-inset+ion-list.list-inset{margin-top:0}.list-ios-lines-none .item{--border-width:0;--inner-border-width:0}.list-ios-lines-full .item,.list-ios .item-lines-full{--border-width:0 0 0.55px 0}.list-ios-lines-full .item{--inner-border-width:0}.list-ios-lines-inset .item,.list-ios .item-lines-inset{--inner-border-width:0 0 0.55px 0}.list-ios .item-lines-inset{--border-width:0}.list-ios .item-lines-full{--inner-border-width:0}.list-ios .item-lines-none{--border-width:0;--inner-border-width:0}ion-card .list-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}";
82
-
83
- const listMdCss = "ion-list{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:block;contain:content;list-style-type:none}ion-list.list-inset{transform:translateZ(0);overflow:hidden}.list-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:8px;padding-bottom:8px;background:var(--ion-item-background, var(--ion-background-color, #fff))}.list-md>.input:last-child::after{left:0}[dir=rtl] .list-md>.input:last-child::after,:host-context([dir=rtl]) .list-md>.input:last-child::after{left:unset;right:unset;right:0}.list-md.list-inset{margin-left:16px;margin-right:16px;margin-top:16px;margin-bottom:16px;border-radius:2px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.list-md.list-inset{margin-left:unset;margin-right:unset;-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px}}.list-md.list-inset ion-item:first-child{--border-radius:2px 2px 0 0;--border-width:0 0 1px 0}.list-md.list-inset ion-item:last-child{--border-radius:0 0 2px, 2px;--border-width:0}.list-md.list-inset .item-interactive{--padding-start:0;--padding-end:0}.list-md.list-inset+ion-list.list-inset{margin-top:0}.list-md-lines-none .item{--border-width:0;--inner-border-width:0}.list-md-lines-full .item,.list-md .item-lines-full{--border-width:0 0 1px 0}.list-md-lines-full .item{--inner-border-width:0}.list-md-lines-inset .item,.list-md .item-lines-inset{--inner-border-width:0 0 1px 0}.list-md .item-lines-inset{--border-width:0}.list-md .item-lines-full{--inner-border-width:0}.list-md .item-lines-none{--border-width:0;--inner-border-width:0}ion-card .list-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}";
84
-
85
- const List = class {
86
- constructor(hostRef) {
87
- index.registerInstance(this, hostRef);
88
- /**
89
- * If `true`, the list will have margin around it and rounded corners.
90
- */
91
- this.inset = false;
92
- }
93
- /**
94
- * If `ion-item-sliding` are used inside the list, this method closes
95
- * any open sliding item.
96
- *
97
- * Returns `true` if an actual `ion-item-sliding` is closed.
98
- */
99
- async closeSlidingItems() {
100
- const item = this.el.querySelector('ion-item-sliding');
101
- if (item && item.closeOpened) {
102
- return item.closeOpened();
103
- }
104
- return false;
105
- }
106
- render() {
107
- const mode = ionicGlobal.getIonMode(this);
108
- const { lines, inset } = this;
109
- return (index.h(index.Host, { class: {
110
- [mode]: true,
111
- // Used internally for styling
112
- [`list-${mode}`]: true,
113
- 'list-inset': inset,
114
- [`list-lines-${lines}`]: lines !== undefined,
115
- [`list-${mode}-lines-${lines}`]: lines !== undefined
116
- } }));
117
- }
118
- get el() { return index.getElement(this); }
119
- };
120
- List.style = {
121
- ios: listIosCss,
122
- md: listMdCss
123
- };
124
-
125
- exports.ion_label = Label;
126
- exports.ion_list = List;
@@ -1,64 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-bae2a754.js');
6
- const ionicGlobal = require('./ionic-global-878073d1.js');
7
- const theme = require('./theme-4252ac15.js');
8
- const spinnerConfigs = require('./spinner-configs-6f6b7ef0.js');
9
-
10
- const spinnerCss = ":host{display:inline-block;position:relative;width:28px;height:28px;color:var(--color);user-select:none}:host(.ion-color){color:var(--ion-color-base)}svg{left:0;top:0;transform-origin:center;position:absolute;width:100%;height:100%;transform:translateZ(0)}[dir=rtl] svg,:host-context([dir=rtl]) svg{left:unset;right:unset;right:0}[dir=rtl] svg,:host-context([dir=rtl]) svg{transform-origin:calc(100% - center)}:host(.spinner-lines) line,:host(.spinner-lines-small) line{stroke-width:7px}:host(.spinner-lines-sharp) line,:host(.spinner-lines-sharp-small) line{stroke-width:4px}:host(.spinner-lines) line,:host(.spinner-lines-small) line,:host(.spinner-lines-sharp) line,:host(.spinner-lines-sharp-small) line{stroke-linecap:round;stroke:currentColor}:host(.spinner-lines) svg,:host(.spinner-lines-small) svg,:host(.spinner-lines-sharp) svg,:host(.spinner-lines-sharp-small) svg{animation:spinner-fade-out 1s linear infinite}:host(.spinner-bubbles) svg{animation:spinner-scale-out 1s linear infinite;fill:currentColor}:host(.spinner-circles) svg{animation:spinner-fade-out 1s linear infinite;fill:currentColor}:host(.spinner-crescent) circle{fill:transparent;stroke-width:4px;stroke-dasharray:128px;stroke-dashoffset:82px;stroke:currentColor}:host(.spinner-crescent) svg{animation:spinner-rotate 1s linear infinite}:host(.spinner-dots) circle{stroke-width:0;fill:currentColor}:host(.spinner-dots) svg{animation:spinner-dots 1s linear infinite}:host(.spinner-circular) svg{animation:spinner-circular linear infinite}:host(.spinner-circular) circle{animation:spinner-circular-inner ease-in-out infinite;stroke:currentColor;stroke-dasharray:80px, 200px;stroke-dashoffset:0px;stroke-width:5.6;fill:none}:host(.spinner-paused),:host(.spinner-paused) svg,:host(.spinner-paused) circle{animation-play-state:paused}@keyframes spinner-fade-out{0%{opacity:1}100%{opacity:0}}@keyframes spinner-scale-out{0%{transform:scale(1, 1)}100%{transform:scale(0, 0)}}@keyframes spinner-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes spinner-dots{0%{transform:scale(1, 1);opacity:0.9}50%{transform:scale(0.4, 0.4);opacity:0.3}100%{transform:scale(1, 1);opacity:0.9}}@keyframes spinner-circular{100%{transform:rotate(360deg)}}@keyframes spinner-circular-inner{0%{stroke-dasharray:1px, 200px;stroke-dashoffset:0px}50%{stroke-dasharray:100px, 200px;stroke-dashoffset:-15px}100%{stroke-dasharray:100px, 200px;stroke-dashoffset:-125px}}";
11
-
12
- const Spinner = class {
13
- constructor(hostRef) {
14
- index.registerInstance(this, hostRef);
15
- /**
16
- * If `true`, the spinner's animation will be paused.
17
- */
18
- this.paused = false;
19
- }
20
- getName() {
21
- const spinnerName = this.name || ionicGlobal.config.get('spinner');
22
- const mode = ionicGlobal.getIonMode(this);
23
- if (spinnerName) {
24
- return spinnerName;
25
- }
26
- return (mode === 'ios') ? 'lines' : 'circular';
27
- }
28
- render() {
29
- const self = this;
30
- const mode = ionicGlobal.getIonMode(self);
31
- const spinnerName = self.getName();
32
- const spinner = spinnerConfigs.SPINNERS[spinnerName] || spinnerConfigs.SPINNERS['lines'];
33
- const duration = (typeof self.duration === 'number' && self.duration > 10 ? self.duration : spinner.dur);
34
- const svgs = [];
35
- if (spinner.circles !== undefined) {
36
- for (let i = 0; i < spinner.circles; i++) {
37
- svgs.push(buildCircle(spinner, duration, i, spinner.circles));
38
- }
39
- }
40
- else if (spinner.lines !== undefined) {
41
- for (let i = 0; i < spinner.lines; i++) {
42
- svgs.push(buildLine(spinner, duration, i, spinner.lines));
43
- }
44
- }
45
- return (index.h(index.Host, { class: theme.createColorClasses(self.color, {
46
- [mode]: true,
47
- [`spinner-${spinnerName}`]: true,
48
- 'spinner-paused': self.paused || ionicGlobal.config.getBoolean('_testing')
49
- }), role: "progressbar", style: spinner.elmDuration ? { animationDuration: duration + 'ms' } : {} }, svgs));
50
- }
51
- };
52
- const buildCircle = (spinner, duration, index$1, total) => {
53
- const data = spinner.fn(duration, index$1, total);
54
- data.style['animation-duration'] = duration + 'ms';
55
- return (index.h("svg", { viewBox: data.viewBox || '0 0 64 64', style: data.style }, index.h("circle", { transform: data.transform || 'translate(32,32)', cx: data.cx, cy: data.cy, r: data.r, style: spinner.elmDuration ? { animationDuration: duration + 'ms' } : {} })));
56
- };
57
- const buildLine = (spinner, duration, index$1, total) => {
58
- const data = spinner.fn(duration, index$1, total);
59
- data.style['animation-duration'] = duration + 'ms';
60
- return (index.h("svg", { viewBox: data.viewBox || '0 0 64 64', style: data.style }, index.h("line", { transform: "translate(32,32)", y1: data.y1, y2: data.y2 })));
61
- };
62
- Spinner.style = spinnerCss;
63
-
64
- exports.ion_spinner = Spinner;