@pod-os/elements 0.26.0 → 0.26.1-rc.37aef21.0

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 (448) hide show
  1. package/dist/cjs/elements.cjs.js +1 -1
  2. package/dist/cjs/ion-icon_31.cjs.entry.js +303 -459
  3. package/dist/cjs/ion-icon_31.cjs.entry.js.map +1 -1
  4. package/dist/cjs/ion-searchbar.cjs.entry.js +430 -0
  5. package/dist/cjs/ion-searchbar.cjs.entry.js.map +1 -0
  6. package/dist/cjs/loader.cjs.js +1 -1
  7. package/dist/collection/apps/pos-app-browser/pos-app-browser.css +8 -15
  8. package/dist/collection/apps/pos-app-browser/pos-app-browser.js +12 -3
  9. package/dist/collection/apps/pos-app-browser/pos-app-browser.js.map +1 -1
  10. package/dist/collection/collection-manifest.json +2 -1
  11. package/dist/collection/components/pos-make-findable/pos-make-findable.css +4 -1
  12. package/dist/collection/components/pos-navigation/__test/typeToSearch.js +12 -0
  13. package/dist/collection/components/pos-navigation/__test/typeToSearch.js.map +1 -0
  14. package/dist/collection/components/pos-navigation/bar/pos-navigation-bar.css +27 -0
  15. package/dist/collection/components/pos-navigation/bar/pos-navigation-bar.js +87 -0
  16. package/dist/collection/components/pos-navigation/bar/pos-navigation-bar.js.map +1 -0
  17. package/dist/collection/components/pos-navigation/pos-navigation.css +110 -0
  18. package/dist/collection/components/{pos-navigation-bar/pos-navigation-bar.js → pos-navigation/pos-navigation.js} +74 -18
  19. package/dist/collection/components/pos-navigation/pos-navigation.js.map +1 -0
  20. package/dist/collection/components/pos-new-thing-form/pos-new-thing-form.js +1 -1
  21. package/dist/collection/components/pos-rich-link/pos-rich-link.js +2 -2
  22. package/dist/collection/components/pos-router/pos-router.css +1 -1
  23. package/dist/collection/components/pos-router/pos-router.js +1 -1
  24. package/dist/collection/components/pos-select-term/pos-select-term.js +1 -1
  25. package/dist/components/Subject.js +700 -0
  26. package/dist/components/Subject.js.map +1 -0
  27. package/dist/components/ion-searchbar.js +475 -1
  28. package/dist/components/ion-searchbar.js.map +1 -1
  29. package/dist/components/pos-app-browser.js +49 -40
  30. package/dist/components/pos-app-browser.js.map +1 -1
  31. package/dist/components/pos-app2.js +1 -697
  32. package/dist/components/pos-app2.js.map +1 -1
  33. package/dist/components/pos-make-findable2.js +1 -1
  34. package/dist/components/pos-make-findable2.js.map +1 -1
  35. package/dist/components/pos-navigation-bar2.js +17 -111
  36. package/dist/components/pos-navigation-bar2.js.map +1 -1
  37. package/dist/components/pos-navigation.d.ts +11 -0
  38. package/dist/components/pos-navigation.js +8 -0
  39. package/dist/components/pos-navigation.js.map +1 -0
  40. package/dist/components/pos-navigation2.js +393 -0
  41. package/dist/components/pos-navigation2.js.map +1 -0
  42. package/dist/components/pos-new-thing-form2.js +1 -1
  43. package/dist/components/pos-rich-link2.js +2 -2
  44. package/dist/components/pos-router2.js +2 -2
  45. package/dist/components/pos-router2.js.map +1 -1
  46. package/dist/components/pos-select-term2.js +1 -1
  47. package/dist/elements/elements.esm.js +1 -1
  48. package/dist/elements/elements.esm.js.map +1 -1
  49. package/dist/elements/{p-a6c03ce8.js → p-01adc2b7.js} +2 -2
  50. package/dist/elements/{p-7190d53c.entry.js → p-09ff1516.entry.js} +2 -2
  51. package/dist/elements/{p-307d1531.js → p-0a6631d5.js} +2 -2
  52. package/dist/elements/{p-c698ab8e.entry.js → p-0b3d14ec.entry.js} +3 -3
  53. package/dist/elements/{p-d8818bb3.entry.js → p-0d4f129d.entry.js} +2 -2
  54. package/dist/elements/p-104fee38.entry.js +2 -0
  55. package/dist/elements/{p-6cc9961e.entry.js → p-11466af2.entry.js} +2 -2
  56. package/dist/elements/{p-3e6ffc13.entry.js → p-11845ff3.entry.js} +2 -2
  57. package/dist/elements/p-13b1d6fe.entry.js +2 -0
  58. package/dist/elements/{p-d358565a.entry.js.map → p-13b1d6fe.entry.js.map} +1 -1
  59. package/dist/elements/p-14bf4c7a.entry.js +2 -0
  60. package/dist/elements/{p-66a58eb0.entry.js.map → p-14bf4c7a.entry.js.map} +1 -1
  61. package/dist/elements/{p-a507d627.entry.js → p-151d1ec8.entry.js} +2 -2
  62. package/dist/elements/{p-89aef852.js → p-1930ffd5.js} +2 -2
  63. package/dist/elements/{p-aa7d93f1.entry.js → p-1a1222a3.entry.js} +2 -2
  64. package/dist/elements/{p-4dd65d40.entry.js → p-1e05efd7.entry.js} +2 -2
  65. package/dist/elements/{p-f50c3045.entry.js → p-1faf2d02.entry.js} +2 -2
  66. package/dist/elements/{p-a421bbe5.entry.js → p-21e90439.entry.js} +2 -2
  67. package/dist/elements/p-220cce23.entry.js +2 -0
  68. package/dist/{components/searchbar.js.map → elements/p-220cce23.entry.js.map} +1 -1
  69. package/dist/elements/{p-552a9992.entry.js → p-22c21319.entry.js} +2 -2
  70. package/dist/elements/{p-66973c59.entry.js → p-24d93ddd.entry.js} +2 -2
  71. package/dist/elements/p-2551eb06.entry.js +2 -0
  72. package/dist/elements/{p-bca341ba.entry.js.map → p-2551eb06.entry.js.map} +1 -1
  73. package/dist/elements/p-258f2385.entry.js +2 -0
  74. package/dist/elements/{p-72a9cbdc.entry.js → p-27bd8113.entry.js} +2 -2
  75. package/dist/elements/{p-c350af00.entry.js → p-2948d57b.entry.js} +2 -2
  76. package/dist/elements/{p-41bb9792.entry.js → p-2cdaf88b.entry.js} +2 -2
  77. package/dist/elements/{p-fa0be1d8.entry.js → p-2e08ee3a.entry.js} +2 -2
  78. package/dist/elements/{p-239442f9.entry.js → p-2e0c20e7.entry.js} +2 -2
  79. package/dist/elements/p-2ec92ff9.entry.js +2 -0
  80. package/dist/elements/p-2f3623f1.entry.js +2 -0
  81. package/dist/elements/{p-c01a4a79.entry.js.map → p-2f3623f1.entry.js.map} +1 -1
  82. package/dist/elements/{p-8e8881a8.entry.js → p-30834f34.entry.js} +2 -2
  83. package/dist/elements/p-30cd90ec.js +6 -0
  84. package/dist/elements/{p-ae984107.entry.js → p-3585f786.entry.js} +2 -2
  85. package/dist/elements/{p-d08312dd.entry.js → p-35f84573.entry.js} +2 -2
  86. package/dist/elements/p-3e130681.entry.js +2 -0
  87. package/dist/elements/{p-bdea20c4.entry.js.map → p-3e130681.entry.js.map} +1 -1
  88. package/dist/elements/{p-ffa8c481.entry.js → p-3f02cc92.entry.js} +2 -2
  89. package/dist/elements/{p-71ee259b.js → p-3f316fc4.js} +2 -2
  90. package/dist/elements/{p-bc675b21.entry.js → p-3f3b74e6.entry.js} +2 -2
  91. package/dist/elements/p-40a2d567.entry.js +2 -0
  92. package/dist/elements/{p-e78cf007.entry.js → p-4dc7c524.entry.js} +2 -2
  93. package/dist/elements/{p-c191e6df.js → p-4e8c31fa.js} +8 -8
  94. package/dist/elements/{p-a45b1964.entry.js → p-5051d2a6.entry.js} +2 -2
  95. package/dist/elements/{p-e0de7c6a.entry.js → p-5a061ddb.entry.js} +2 -2
  96. package/dist/elements/{p-061819d1.js → p-5a8e7149.js} +3 -3
  97. package/dist/elements/p-5bf4c45a.js +5 -0
  98. package/dist/elements/{p-b9dcf3b2.js → p-5e8a3893.js} +2 -2
  99. package/dist/elements/{p-300ec095.entry.js → p-602861f4.entry.js} +3 -3
  100. package/dist/elements/{p-4a370bdc.entry.js → p-627d5e73.entry.js} +2 -2
  101. package/dist/elements/{p-406df11a.entry.js → p-648dac6c.entry.js} +2 -2
  102. package/dist/elements/{p-07d2bd5a.entry.js → p-650db824.entry.js} +2 -2
  103. package/dist/elements/{p-cb550d04.entry.js → p-682dd0f9.entry.js} +2 -2
  104. package/dist/elements/{p-59ec8b76.entry.js → p-689a5c54.entry.js} +3 -3
  105. package/dist/elements/{p-d6394ee4.entry.js → p-6a701de0.entry.js} +2 -2
  106. package/dist/elements/p-6b134df2.entry.js +20 -0
  107. package/dist/elements/p-6b134df2.entry.js.map +1 -0
  108. package/dist/elements/{p-f4035b4a.entry.js → p-6ca9bad7.entry.js} +2 -2
  109. package/dist/elements/{p-25926b66.entry.js → p-6cae9207.entry.js} +2 -2
  110. package/dist/elements/{p-6119b57a.entry.js → p-6e5c902a.entry.js} +2 -2
  111. package/dist/elements/{p-0ddcbecd.entry.js → p-72ba182e.entry.js} +2 -2
  112. package/dist/elements/{p-1b2d32c1.entry.js → p-8619a806.entry.js} +2 -2
  113. package/dist/elements/{p-4383e1bb.entry.js → p-87af433a.entry.js} +2 -2
  114. package/dist/elements/{p-f96384f2.entry.js → p-87eb06bc.entry.js} +2 -2
  115. package/dist/elements/p-8a691722.entry.js +2 -0
  116. package/dist/elements/{p-95161a5d.entry.js.map → p-8a691722.entry.js.map} +1 -1
  117. package/dist/elements/{p-e8268c7a.entry.js → p-8c13ce70.entry.js} +2 -2
  118. package/dist/elements/{p-b64a85bf.entry.js → p-8f6d4374.entry.js} +2 -2
  119. package/dist/elements/{p-949b115f.js → p-91025a2c.js} +3 -3
  120. package/dist/elements/{p-71835d6f.entry.js → p-95036276.entry.js} +2 -2
  121. package/dist/elements/{p-42169e41.js → p-97889672.js} +2 -2
  122. package/dist/elements/p-97fa472f.entry.js +2 -0
  123. package/dist/elements/{p-a06d93c7.entry.js.map → p-97fa472f.entry.js.map} +1 -1
  124. package/dist/elements/{p-8b209e66.entry.js → p-9840f300.entry.js} +2 -2
  125. package/dist/elements/p-98b2844f.js +5 -0
  126. package/dist/elements/{p-fa19a3e9.entry.js → p-9d23baee.entry.js} +2 -2
  127. package/dist/elements/{p-7e8b8df1.entry.js → p-9d6c94d3.entry.js} +2 -2
  128. package/dist/elements/{p-41854c8f.entry.js → p-9d81c061.entry.js} +2 -2
  129. package/dist/elements/{p-dadb557e.entry.js → p-a19fb8fa.entry.js} +4 -4
  130. package/dist/elements/{p-9a4bf79e.entry.js → p-a7c9aa13.entry.js} +2 -2
  131. package/dist/elements/{p-0ee8b7a7.js → p-acfa402f.js} +2 -2
  132. package/dist/elements/{p-facc0ac5.entry.js → p-af03cfbe.entry.js} +2 -2
  133. package/dist/elements/{p-b8bd7745.entry.js → p-af2b9ecb.entry.js} +2 -2
  134. package/dist/elements/{p-cbf050d6.js → p-b110cb49.js} +2 -2
  135. package/dist/elements/{p-09d80405.entry.js → p-b1292dde.entry.js} +2 -2
  136. package/dist/elements/{p-4ccdbcbf.entry.js → p-b1de75a4.entry.js} +2 -2
  137. package/dist/elements/p-b2c94853.entry.js +2 -0
  138. package/dist/elements/{p-250d4bf1.entry.js.map → p-b2c94853.entry.js.map} +1 -1
  139. package/dist/elements/{p-a376351f.entry.js → p-b34203cd.entry.js} +2 -2
  140. package/dist/elements/{p-dc709055.entry.js → p-b954a40f.entry.js} +2 -2
  141. package/dist/elements/{p-1fc8e557.js → p-bde7428a.js} +2 -2
  142. package/dist/elements/{p-734e5a97.js → p-bf5335d4.js} +2 -2
  143. package/dist/elements/p-c1df6af7.js +8 -0
  144. package/dist/elements/{p-cbae963d.js → p-c30eb80f.js} +3 -3
  145. package/dist/elements/{p-4c078751.entry.js → p-c4332c66.entry.js} +2 -2
  146. package/dist/elements/{p-8e1c68eb.entry.js → p-c466d5bf.entry.js} +2 -2
  147. package/dist/elements/{p-36caf749.entry.js → p-c4894c44.entry.js} +2 -2
  148. package/dist/elements/{p-87c81685.entry.js → p-c4e1867e.entry.js} +2 -2
  149. package/dist/elements/{p-645632a8.entry.js → p-c7db2b55.entry.js} +5 -5
  150. package/dist/elements/p-cb3e5072.entry.js +2 -0
  151. package/dist/elements/{p-49fcec88.entry.js → p-d54d552d.entry.js} +6 -6
  152. package/dist/elements/{p-2a548485.entry.js → p-d7b597ed.entry.js} +2 -2
  153. package/dist/elements/p-da0c771e.js +5 -0
  154. package/dist/elements/{p-7183a9ca.entry.js → p-dbb94429.entry.js} +2 -2
  155. package/dist/elements/{p-c9604122.entry.js → p-de6d7967.entry.js} +2 -2
  156. package/dist/elements/p-e05f218c.entry.js +2 -0
  157. package/dist/elements/{p-2f0509be.entry.js.map → p-e05f218c.entry.js.map} +1 -1
  158. package/dist/elements/{p-b5f6b322.entry.js → p-e15ff70c.entry.js} +2 -2
  159. package/dist/elements/p-e43d654c.js +5 -0
  160. package/dist/elements/{p-01981011.entry.js → p-e7fbd427.entry.js} +2 -2
  161. package/dist/elements/{p-d61d280b.js → p-e912617c.js} +3 -3
  162. package/dist/elements/{p-da0d920d.js → p-ebe1c8ca.js} +2 -2
  163. package/dist/elements/{p-d872fe3e.entry.js → p-ec283f66.entry.js} +2 -2
  164. package/dist/elements/p-ec7a6c44.js +2 -0
  165. package/dist/elements/{p-f40b3ec6.entry.js → p-ed22dcc0.entry.js} +2 -2
  166. package/dist/elements/{p-05fff093.entry.js → p-eeaffc3b.entry.js} +2 -2
  167. package/dist/elements/p-f2c0c8a9.js +5 -0
  168. package/dist/elements/{p-c186950b.entry.js → p-f3bf8ff7.entry.js} +2 -2
  169. package/dist/elements/{p-5441ae35.entry.js → p-fb740291.entry.js} +2 -2
  170. package/dist/elements/{p-5bf40440.entry.js → p-fbff274c.entry.js} +2 -2
  171. package/dist/elements/{p-266d2934.entry.js → p-fd84af22.entry.js} +2 -2
  172. package/dist/elements/{p-a08f0446.entry.js → p-ff684bff.entry.js} +2 -2
  173. package/dist/esm/{BrokenFile-d387a173.js → BrokenFile-0b9882ef.js} +2 -2
  174. package/dist/esm/{BrokenFile-d387a173.js.map → BrokenFile-0b9882ef.js.map} +1 -1
  175. package/dist/esm/{animation-43b39c85.js → animation-756697b9.js} +2 -2
  176. package/dist/esm/{animation-43b39c85.js.map → animation-756697b9.js.map} +1 -1
  177. package/dist/esm/{app-globals-f420d326.js → app-globals-31ecda4c.js} +2 -2
  178. package/dist/esm/{app-globals-f420d326.js.map → app-globals-31ecda4c.js.map} +1 -1
  179. package/dist/esm/elements.js +5 -5
  180. package/dist/esm/{form-controller-3b50bf52.js → form-controller-8a54002c.js} +2 -2
  181. package/dist/esm/{form-controller-3b50bf52.js.map → form-controller-8a54002c.js.map} +1 -1
  182. package/dist/esm/{framework-delegate-c5179013.js → framework-delegate-65b5c396.js} +2 -2
  183. package/dist/esm/{framework-delegate-c5179013.js.map → framework-delegate-65b5c396.js.map} +1 -1
  184. package/dist/esm/{hardware-back-button-12e771ad.js → hardware-back-button-87b1549b.js} +3 -3
  185. package/dist/esm/{hardware-back-button-12e771ad.js.map → hardware-back-button-87b1549b.js.map} +1 -1
  186. package/dist/esm/{helpers-c51da066.js → helpers-bc137989.js} +2 -2
  187. package/dist/esm/{helpers-c51da066.js.map → helpers-bc137989.js.map} +1 -1
  188. package/dist/esm/{index-9725d917.js → index-46d8987d.js} +2 -2
  189. package/dist/esm/{index-9725d917.js.map → index-46d8987d.js.map} +1 -1
  190. package/dist/esm/{index-12e18dab.js → index-81865f43.js} +2 -2
  191. package/dist/esm/{index-12e18dab.js.map → index-81865f43.js.map} +1 -1
  192. package/dist/esm/{index-9edae53a.js → index-a51d17dd.js} +2 -2
  193. package/dist/esm/{index-9edae53a.js.map → index-a51d17dd.js.map} +1 -1
  194. package/dist/esm/{index-7462d21e.js → index-cbb71797.js} +5 -5
  195. package/dist/esm/{index-7462d21e.js.map → index-cbb71797.js.map} +1 -1
  196. package/dist/esm/{index-842e2941.js → index-e7f761c9.js} +2 -2
  197. package/dist/esm/{index-842e2941.js.map → index-e7f761c9.js.map} +1 -1
  198. package/dist/esm/{index-ccbcf170.js → index-fa9f8152.js} +5 -5
  199. package/dist/esm/{index-ccbcf170.js.map → index-fa9f8152.js.map} +1 -1
  200. package/dist/esm/{input-shims-0cb1bad1.js → input-shims-10923fa6.js} +3 -3
  201. package/dist/esm/{input-shims-0cb1bad1.js.map → input-shims-10923fa6.js.map} +1 -1
  202. package/dist/esm/{input.utils-0e2bf61a.js → input.utils-5fe0312f.js} +2 -2
  203. package/dist/esm/{input.utils-0e2bf61a.js.map → input.utils-5fe0312f.js.map} +1 -1
  204. package/dist/esm/ion-accordion-group.entry.js +2 -2
  205. package/dist/esm/ion-accordion.entry.js +4 -4
  206. package/dist/esm/ion-action-sheet_3.entry.js +7 -7
  207. package/dist/esm/ion-app.entry.js +7 -7
  208. package/dist/esm/ion-avatar.entry.js +2 -2
  209. package/dist/esm/ion-back-button.entry.js +4 -4
  210. package/dist/esm/ion-backdrop.entry.js +2 -2
  211. package/dist/esm/ion-badge_5.entry.js +2 -2
  212. package/dist/esm/ion-breadcrumb.entry.js +4 -4
  213. package/dist/esm/ion-breadcrumbs.entry.js +2 -2
  214. package/dist/esm/ion-button_4.entry.js +3 -3
  215. package/dist/esm/ion-card-content.entry.js +2 -2
  216. package/dist/esm/ion-card-header.entry.js +2 -2
  217. package/dist/esm/ion-card-subtitle.entry.js +2 -2
  218. package/dist/esm/ion-card-title.entry.js +2 -2
  219. package/dist/esm/ion-card.entry.js +3 -3
  220. package/dist/esm/ion-checkbox_7.entry.js +5 -5
  221. package/dist/esm/ion-chip.entry.js +2 -2
  222. package/dist/esm/ion-col.entry.js +2 -2
  223. package/dist/esm/ion-content.entry.js +3 -3
  224. package/dist/esm/ion-datetime-button.entry.js +3 -3
  225. package/dist/esm/ion-datetime.entry.js +4 -4
  226. package/dist/esm/ion-fab-button.entry.js +4 -4
  227. package/dist/esm/ion-fab-list.entry.js +2 -2
  228. package/dist/esm/ion-fab.entry.js +2 -2
  229. package/dist/esm/ion-footer.entry.js +4 -4
  230. package/dist/esm/ion-grid.entry.js +2 -2
  231. package/dist/esm/ion-header.entry.js +4 -4
  232. package/dist/esm/ion-icon_31.entry.js +293 -449
  233. package/dist/esm/ion-icon_31.entry.js.map +1 -1
  234. package/dist/esm/ion-img.entry.js +3 -3
  235. package/dist/esm/ion-infinite-scroll-content.entry.js +2 -2
  236. package/dist/esm/ion-infinite-scroll.entry.js +4 -4
  237. package/dist/esm/ion-input.entry.js +7 -7
  238. package/dist/esm/ion-item-divider.entry.js +2 -2
  239. package/dist/esm/ion-item-group.entry.js +2 -2
  240. package/dist/esm/ion-item-option.entry.js +2 -2
  241. package/dist/esm/ion-item-options.entry.js +3 -3
  242. package/dist/esm/ion-item-sliding.entry.js +4 -4
  243. package/dist/esm/ion-loading.entry.js +7 -7
  244. package/dist/esm/ion-menu-button.entry.js +8 -8
  245. package/dist/esm/ion-menu-toggle.entry.js +7 -7
  246. package/dist/esm/ion-menu.entry.js +8 -8
  247. package/dist/esm/ion-modal.entry.js +9 -9
  248. package/dist/esm/ion-nav-link.entry.js +1 -1
  249. package/dist/esm/ion-nav.entry.js +6 -6
  250. package/dist/esm/ion-note.entry.js +2 -2
  251. package/dist/esm/ion-picker-column.entry.js +3 -3
  252. package/dist/esm/ion-picker.entry.js +7 -7
  253. package/dist/esm/ion-popover.entry.js +8 -8
  254. package/dist/esm/ion-range.entry.js +5 -5
  255. package/dist/esm/ion-refresher-content.entry.js +6 -6
  256. package/dist/esm/ion-refresher.entry.js +6 -6
  257. package/dist/esm/ion-reorder-group.entry.js +4 -4
  258. package/dist/esm/ion-reorder.entry.js +3 -3
  259. package/dist/esm/ion-route-redirect.entry.js +1 -1
  260. package/dist/esm/ion-route.entry.js +1 -1
  261. package/dist/esm/ion-router-link.entry.js +2 -2
  262. package/dist/esm/ion-router-outlet.entry.js +6 -6
  263. package/dist/esm/ion-router.entry.js +2 -2
  264. package/dist/esm/ion-row.entry.js +2 -2
  265. package/dist/{components/searchbar.js → esm/ion-searchbar.entry.js} +17 -70
  266. package/dist/esm/ion-searchbar.entry.js.map +1 -0
  267. package/dist/esm/ion-segment-button.entry.js +3 -3
  268. package/dist/esm/ion-segment.entry.js +3 -3
  269. package/dist/esm/ion-select-option.entry.js +2 -2
  270. package/dist/esm/ion-select.entry.js +9 -9
  271. package/dist/esm/ion-spinner.entry.js +2 -2
  272. package/dist/esm/ion-split-pane.entry.js +2 -2
  273. package/dist/esm/ion-tab-bar.entry.js +2 -2
  274. package/dist/esm/ion-tab-button.entry.js +3 -3
  275. package/dist/esm/ion-tab.entry.js +3 -3
  276. package/dist/esm/ion-tabs.entry.js +1 -1
  277. package/dist/esm/ion-text.entry.js +2 -2
  278. package/dist/esm/ion-textarea.entry.js +6 -6
  279. package/dist/esm/ion-thumbnail.entry.js +2 -2
  280. package/dist/esm/ion-title.entry.js +2 -2
  281. package/dist/esm/ion-toggle.entry.js +5 -5
  282. package/dist/esm/ion-toolbar.entry.js +2 -2
  283. package/dist/esm/{ionic-global-07f989af.js → ionic-global-dc58df6a.js} +2 -2
  284. package/dist/esm/{ionic-global-07f989af.js.map → ionic-global-dc58df6a.js.map} +1 -1
  285. package/dist/esm/{ios.transition-02b5b74a.js → ios.transition-cd6a57b8.js} +5 -5
  286. package/dist/esm/{ios.transition-02b5b74a.js.map → ios.transition-cd6a57b8.js.map} +1 -1
  287. package/dist/esm/loader.js +5 -5
  288. package/dist/esm/{md.transition-0e6cf607.js → md.transition-a2999731.js} +5 -5
  289. package/dist/esm/{md.transition-0e6cf607.js.map → md.transition-a2999731.js.map} +1 -1
  290. package/dist/esm/{menu-toggle-util-6257f7b5.js → menu-toggle-util-5d79b187.js} +2 -2
  291. package/dist/esm/{menu-toggle-util-6257f7b5.js.map → menu-toggle-util-5d79b187.js.map} +1 -1
  292. package/dist/esm/{notch-controller-79926902.js → notch-controller-ce206c7f.js} +2 -2
  293. package/dist/esm/{notch-controller-79926902.js.map → notch-controller-ce206c7f.js.map} +1 -1
  294. package/dist/esm/{overlays-ef03d5bd.js → overlays-d7fc4ce2.js} +5 -5
  295. package/dist/esm/{overlays-ef03d5bd.js.map → overlays-d7fc4ce2.js.map} +1 -1
  296. package/dist/esm/pos-app-document-viewer.entry.js +1 -1
  297. package/dist/esm/pos-app-generic.entry.js +1 -1
  298. package/dist/esm/pos-app-image-viewer.entry.js +1 -1
  299. package/dist/esm/pos-app-ldp-container.entry.js +1 -1
  300. package/dist/esm/pos-app-rdf-document.entry.js +1 -1
  301. package/dist/esm/pos-container-contents.entry.js +1 -1
  302. package/dist/esm/pos-container-item.entry.js +1 -1
  303. package/dist/esm/pos-document.entry.js +2 -2
  304. package/dist/esm/pos-list.entry.js +1 -1
  305. package/dist/esm/pos-relations_2.entry.js +1 -1
  306. package/dist/esm/pos-subjects.entry.js +1 -1
  307. package/dist/esm/pos-value.entry.js +1 -1
  308. package/dist/esm/{refresher.utils-d191622d.js → refresher.utils-e60a7dd8.js} +4 -4
  309. package/dist/esm/{refresher.utils-d191622d.js.map → refresher.utils-e60a7dd8.js.map} +1 -1
  310. package/dist/esm/{status-tap-cdf580e7.js → status-tap-a4c12279.js} +4 -4
  311. package/dist/esm/{status-tap-cdf580e7.js.map → status-tap-a4c12279.js.map} +1 -1
  312. package/dist/esm/{swipe-back-698e6532.js → swipe-back-c940b28a.js} +2 -2
  313. package/dist/esm/{swipe-back-698e6532.js.map → swipe-back-c940b28a.js.map} +1 -1
  314. package/dist/types/apps/pos-app-browser/pos-app-browser.d.ts +2 -1
  315. package/dist/types/components/pos-navigation/__test/typeToSearch.d.ts +1 -0
  316. package/dist/types/components/pos-navigation/bar/pos-navigation-bar.d.ts +9 -0
  317. package/dist/types/components/pos-navigation/pos-navigation.d.ts +43 -0
  318. package/dist/types/components.d.ts +48 -7
  319. package/package.json +1 -1
  320. package/dist/collection/components/pos-navigation-bar/pos-navigation-bar.css +0 -51
  321. package/dist/collection/components/pos-navigation-bar/pos-navigation-bar.js.map +0 -1
  322. package/dist/elements/p-07773ed5.entry.js +0 -2
  323. package/dist/elements/p-250d4bf1.entry.js +0 -2
  324. package/dist/elements/p-2f0509be.entry.js +0 -2
  325. package/dist/elements/p-4c78c8c9.js +0 -5
  326. package/dist/elements/p-523432d1.js +0 -2
  327. package/dist/elements/p-627826b0.entry.js +0 -2
  328. package/dist/elements/p-66a58eb0.entry.js +0 -2
  329. package/dist/elements/p-7f53778f.entry.js +0 -2
  330. package/dist/elements/p-8f6d1cbe.entry.js +0 -2
  331. package/dist/elements/p-932de51e.js +0 -8
  332. package/dist/elements/p-95161a5d.entry.js +0 -2
  333. package/dist/elements/p-a06d93c7.entry.js +0 -2
  334. package/dist/elements/p-a13569cf.entry.js +0 -2
  335. package/dist/elements/p-a37a2712.js +0 -5
  336. package/dist/elements/p-b34f1af4.entry.js +0 -20
  337. package/dist/elements/p-b34f1af4.entry.js.map +0 -1
  338. package/dist/elements/p-bca341ba.entry.js +0 -2
  339. package/dist/elements/p-bdea20c4.entry.js +0 -2
  340. package/dist/elements/p-c01a4a79.entry.js +0 -2
  341. package/dist/elements/p-c452a2e9.js +0 -5
  342. package/dist/elements/p-d1e7b393.js +0 -5
  343. package/dist/elements/p-d358565a.entry.js +0 -2
  344. package/dist/elements/p-eba70ed1.js +0 -6
  345. package/dist/elements/p-f67bba50.js +0 -5
  346. package/dist/types/components/pos-navigation-bar/pos-navigation-bar.d.ts +0 -25
  347. /package/dist/elements/{p-a6c03ce8.js.map → p-01adc2b7.js.map} +0 -0
  348. /package/dist/elements/{p-7190d53c.entry.js.map → p-09ff1516.entry.js.map} +0 -0
  349. /package/dist/elements/{p-307d1531.js.map → p-0a6631d5.js.map} +0 -0
  350. /package/dist/elements/{p-c698ab8e.entry.js.map → p-0b3d14ec.entry.js.map} +0 -0
  351. /package/dist/elements/{p-d8818bb3.entry.js.map → p-0d4f129d.entry.js.map} +0 -0
  352. /package/dist/elements/{p-07773ed5.entry.js.map → p-104fee38.entry.js.map} +0 -0
  353. /package/dist/elements/{p-6cc9961e.entry.js.map → p-11466af2.entry.js.map} +0 -0
  354. /package/dist/elements/{p-3e6ffc13.entry.js.map → p-11845ff3.entry.js.map} +0 -0
  355. /package/dist/elements/{p-a507d627.entry.js.map → p-151d1ec8.entry.js.map} +0 -0
  356. /package/dist/elements/{p-89aef852.js.map → p-1930ffd5.js.map} +0 -0
  357. /package/dist/elements/{p-aa7d93f1.entry.js.map → p-1a1222a3.entry.js.map} +0 -0
  358. /package/dist/elements/{p-4dd65d40.entry.js.map → p-1e05efd7.entry.js.map} +0 -0
  359. /package/dist/elements/{p-f50c3045.entry.js.map → p-1faf2d02.entry.js.map} +0 -0
  360. /package/dist/elements/{p-a421bbe5.entry.js.map → p-21e90439.entry.js.map} +0 -0
  361. /package/dist/elements/{p-552a9992.entry.js.map → p-22c21319.entry.js.map} +0 -0
  362. /package/dist/elements/{p-66973c59.entry.js.map → p-24d93ddd.entry.js.map} +0 -0
  363. /package/dist/elements/{p-8f6d1cbe.entry.js.map → p-258f2385.entry.js.map} +0 -0
  364. /package/dist/elements/{p-72a9cbdc.entry.js.map → p-27bd8113.entry.js.map} +0 -0
  365. /package/dist/elements/{p-c350af00.entry.js.map → p-2948d57b.entry.js.map} +0 -0
  366. /package/dist/elements/{p-41bb9792.entry.js.map → p-2cdaf88b.entry.js.map} +0 -0
  367. /package/dist/elements/{p-fa0be1d8.entry.js.map → p-2e08ee3a.entry.js.map} +0 -0
  368. /package/dist/elements/{p-239442f9.entry.js.map → p-2e0c20e7.entry.js.map} +0 -0
  369. /package/dist/elements/{p-627826b0.entry.js.map → p-2ec92ff9.entry.js.map} +0 -0
  370. /package/dist/elements/{p-8e8881a8.entry.js.map → p-30834f34.entry.js.map} +0 -0
  371. /package/dist/elements/{p-eba70ed1.js.map → p-30cd90ec.js.map} +0 -0
  372. /package/dist/elements/{p-ae984107.entry.js.map → p-3585f786.entry.js.map} +0 -0
  373. /package/dist/elements/{p-d08312dd.entry.js.map → p-35f84573.entry.js.map} +0 -0
  374. /package/dist/elements/{p-ffa8c481.entry.js.map → p-3f02cc92.entry.js.map} +0 -0
  375. /package/dist/elements/{p-71ee259b.js.map → p-3f316fc4.js.map} +0 -0
  376. /package/dist/elements/{p-bc675b21.entry.js.map → p-3f3b74e6.entry.js.map} +0 -0
  377. /package/dist/elements/{p-7f53778f.entry.js.map → p-40a2d567.entry.js.map} +0 -0
  378. /package/dist/elements/{p-e78cf007.entry.js.map → p-4dc7c524.entry.js.map} +0 -0
  379. /package/dist/elements/{p-c191e6df.js.map → p-4e8c31fa.js.map} +0 -0
  380. /package/dist/elements/{p-a45b1964.entry.js.map → p-5051d2a6.entry.js.map} +0 -0
  381. /package/dist/elements/{p-e0de7c6a.entry.js.map → p-5a061ddb.entry.js.map} +0 -0
  382. /package/dist/elements/{p-061819d1.js.map → p-5a8e7149.js.map} +0 -0
  383. /package/dist/elements/{p-4c78c8c9.js.map → p-5bf4c45a.js.map} +0 -0
  384. /package/dist/elements/{p-b9dcf3b2.js.map → p-5e8a3893.js.map} +0 -0
  385. /package/dist/elements/{p-300ec095.entry.js.map → p-602861f4.entry.js.map} +0 -0
  386. /package/dist/elements/{p-4a370bdc.entry.js.map → p-627d5e73.entry.js.map} +0 -0
  387. /package/dist/elements/{p-406df11a.entry.js.map → p-648dac6c.entry.js.map} +0 -0
  388. /package/dist/elements/{p-07d2bd5a.entry.js.map → p-650db824.entry.js.map} +0 -0
  389. /package/dist/elements/{p-cb550d04.entry.js.map → p-682dd0f9.entry.js.map} +0 -0
  390. /package/dist/elements/{p-59ec8b76.entry.js.map → p-689a5c54.entry.js.map} +0 -0
  391. /package/dist/elements/{p-d6394ee4.entry.js.map → p-6a701de0.entry.js.map} +0 -0
  392. /package/dist/elements/{p-f4035b4a.entry.js.map → p-6ca9bad7.entry.js.map} +0 -0
  393. /package/dist/elements/{p-25926b66.entry.js.map → p-6cae9207.entry.js.map} +0 -0
  394. /package/dist/elements/{p-6119b57a.entry.js.map → p-6e5c902a.entry.js.map} +0 -0
  395. /package/dist/elements/{p-0ddcbecd.entry.js.map → p-72ba182e.entry.js.map} +0 -0
  396. /package/dist/elements/{p-1b2d32c1.entry.js.map → p-8619a806.entry.js.map} +0 -0
  397. /package/dist/elements/{p-4383e1bb.entry.js.map → p-87af433a.entry.js.map} +0 -0
  398. /package/dist/elements/{p-f96384f2.entry.js.map → p-87eb06bc.entry.js.map} +0 -0
  399. /package/dist/elements/{p-e8268c7a.entry.js.map → p-8c13ce70.entry.js.map} +0 -0
  400. /package/dist/elements/{p-b64a85bf.entry.js.map → p-8f6d4374.entry.js.map} +0 -0
  401. /package/dist/elements/{p-949b115f.js.map → p-91025a2c.js.map} +0 -0
  402. /package/dist/elements/{p-71835d6f.entry.js.map → p-95036276.entry.js.map} +0 -0
  403. /package/dist/elements/{p-42169e41.js.map → p-97889672.js.map} +0 -0
  404. /package/dist/elements/{p-8b209e66.entry.js.map → p-9840f300.entry.js.map} +0 -0
  405. /package/dist/elements/{p-a37a2712.js.map → p-98b2844f.js.map} +0 -0
  406. /package/dist/elements/{p-fa19a3e9.entry.js.map → p-9d23baee.entry.js.map} +0 -0
  407. /package/dist/elements/{p-7e8b8df1.entry.js.map → p-9d6c94d3.entry.js.map} +0 -0
  408. /package/dist/elements/{p-41854c8f.entry.js.map → p-9d81c061.entry.js.map} +0 -0
  409. /package/dist/elements/{p-dadb557e.entry.js.map → p-a19fb8fa.entry.js.map} +0 -0
  410. /package/dist/elements/{p-9a4bf79e.entry.js.map → p-a7c9aa13.entry.js.map} +0 -0
  411. /package/dist/elements/{p-0ee8b7a7.js.map → p-acfa402f.js.map} +0 -0
  412. /package/dist/elements/{p-facc0ac5.entry.js.map → p-af03cfbe.entry.js.map} +0 -0
  413. /package/dist/elements/{p-b8bd7745.entry.js.map → p-af2b9ecb.entry.js.map} +0 -0
  414. /package/dist/elements/{p-cbf050d6.js.map → p-b110cb49.js.map} +0 -0
  415. /package/dist/elements/{p-09d80405.entry.js.map → p-b1292dde.entry.js.map} +0 -0
  416. /package/dist/elements/{p-4ccdbcbf.entry.js.map → p-b1de75a4.entry.js.map} +0 -0
  417. /package/dist/elements/{p-a376351f.entry.js.map → p-b34203cd.entry.js.map} +0 -0
  418. /package/dist/elements/{p-dc709055.entry.js.map → p-b954a40f.entry.js.map} +0 -0
  419. /package/dist/elements/{p-1fc8e557.js.map → p-bde7428a.js.map} +0 -0
  420. /package/dist/elements/{p-734e5a97.js.map → p-bf5335d4.js.map} +0 -0
  421. /package/dist/elements/{p-932de51e.js.map → p-c1df6af7.js.map} +0 -0
  422. /package/dist/elements/{p-cbae963d.js.map → p-c30eb80f.js.map} +0 -0
  423. /package/dist/elements/{p-4c078751.entry.js.map → p-c4332c66.entry.js.map} +0 -0
  424. /package/dist/elements/{p-8e1c68eb.entry.js.map → p-c466d5bf.entry.js.map} +0 -0
  425. /package/dist/elements/{p-36caf749.entry.js.map → p-c4894c44.entry.js.map} +0 -0
  426. /package/dist/elements/{p-87c81685.entry.js.map → p-c4e1867e.entry.js.map} +0 -0
  427. /package/dist/elements/{p-645632a8.entry.js.map → p-c7db2b55.entry.js.map} +0 -0
  428. /package/dist/elements/{p-a13569cf.entry.js.map → p-cb3e5072.entry.js.map} +0 -0
  429. /package/dist/elements/{p-49fcec88.entry.js.map → p-d54d552d.entry.js.map} +0 -0
  430. /package/dist/elements/{p-2a548485.entry.js.map → p-d7b597ed.entry.js.map} +0 -0
  431. /package/dist/elements/{p-c452a2e9.js.map → p-da0c771e.js.map} +0 -0
  432. /package/dist/elements/{p-7183a9ca.entry.js.map → p-dbb94429.entry.js.map} +0 -0
  433. /package/dist/elements/{p-c9604122.entry.js.map → p-de6d7967.entry.js.map} +0 -0
  434. /package/dist/elements/{p-b5f6b322.entry.js.map → p-e15ff70c.entry.js.map} +0 -0
  435. /package/dist/elements/{p-f67bba50.js.map → p-e43d654c.js.map} +0 -0
  436. /package/dist/elements/{p-01981011.entry.js.map → p-e7fbd427.entry.js.map} +0 -0
  437. /package/dist/elements/{p-d61d280b.js.map → p-e912617c.js.map} +0 -0
  438. /package/dist/elements/{p-da0d920d.js.map → p-ebe1c8ca.js.map} +0 -0
  439. /package/dist/elements/{p-d872fe3e.entry.js.map → p-ec283f66.entry.js.map} +0 -0
  440. /package/dist/elements/{p-523432d1.js.map → p-ec7a6c44.js.map} +0 -0
  441. /package/dist/elements/{p-f40b3ec6.entry.js.map → p-ed22dcc0.entry.js.map} +0 -0
  442. /package/dist/elements/{p-05fff093.entry.js.map → p-eeaffc3b.entry.js.map} +0 -0
  443. /package/dist/elements/{p-d1e7b393.js.map → p-f2c0c8a9.js.map} +0 -0
  444. /package/dist/elements/{p-c186950b.entry.js.map → p-f3bf8ff7.entry.js.map} +0 -0
  445. /package/dist/elements/{p-5441ae35.entry.js.map → p-fb740291.entry.js.map} +0 -0
  446. /package/dist/elements/{p-5bf40440.entry.js.map → p-fbff274c.entry.js.map} +0 -0
  447. /package/dist/elements/{p-266d2934.entry.js.map → p-fd84af22.entry.js.map} +0 -0
  448. /package/dist/elements/{p-a08f0446.entry.js.map → p-ff684bff.entry.js.map} +0 -0
@@ -1,2 +1,2 @@
1
- import{r as t,i as o,h as e,H as i,e as n}from"./p-42169e41.js";import{i as a}from"./p-71ee259b.js";import{c as s,g as l}from"./p-da0d920d.js";const r=':host{--ripple-color:var(--color-selected);--background-focused-opacity:1;flex:1;flex-direction:column;align-items:center;justify-content:center;height:100%;outline:none;background:var(--background);color:var(--color)}.button-native{border-radius:inherit;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:flex;position:relative;flex-direction:inherit;align-items:inherit;justify-content:inherit;width:100%;height:100%;border:0;outline:none;background:transparent;text-decoration:none;cursor:pointer;overflow:hidden;box-sizing:border-box;-webkit-user-drag:none}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:flex;position:relative;flex-flow:inherit;align-items:inherit;justify-content:inherit;width:100%;height:100%;z-index:1}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){a:hover{color:var(--color-selected)}}:host(.tab-selected){color:var(--color-selected)}:host(.tab-hidden){display:none !important}:host(.tab-disabled){pointer-events:none;opacity:0.4}::slotted(ion-label),::slotted(ion-icon){display:block;align-self:center;max-width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;box-sizing:border-box}::slotted(ion-label){order:0}::slotted(ion-icon){order:-1;height:1em}:host(.tab-has-label-only) ::slotted(ion-label){white-space:normal}::slotted(ion-badge){box-sizing:border-box;position:absolute;z-index:1}:host(.tab-layout-icon-start){flex-direction:row}:host(.tab-layout-icon-end){flex-direction:row-reverse}:host(.tab-layout-icon-bottom){flex-direction:column-reverse}:host(.tab-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.tab-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color)}:host{--padding-top:0;--padding-end:2px;--padding-bottom:0;--padding-start:2px;max-width:240px;font-size:10px}::slotted(ion-badge){-webkit-padding-start:6px;padding-inline-start:6px;-webkit-padding-end:6px;padding-inline-end:6px;padding-top:1px;padding-bottom:1px;top:4px;height:auto;font-size:12px;line-height:16px}@supports (inset-inline-start: 0){::slotted(ion-badge){inset-inline-start:calc(50% + 6px)}}@supports not (inset-inline-start: 0){::slotted(ion-badge){left:calc(50% + 6px)}:host-context([dir=rtl]) ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 6px)}[dir=rtl] ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 6px)}@supports selector(:dir(rtl)){::slotted(ion-badge):dir(rtl){left:unset;right:unset;right:calc(50% + 6px)}}}::slotted(ion-icon){margin-top:2px;margin-bottom:2px;font-size:30px}::slotted(ion-icon::before){vertical-align:top}::slotted(ion-label){margin-top:0;margin-bottom:1px;min-height:11px;font-weight:500}:host(.tab-has-label-only) ::slotted(ion-label){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:12px;font-size:14px;line-height:1.1}:host(.tab-layout-icon-end) ::slotted(ion-label),:host(.tab-layout-icon-start) ::slotted(ion-label),:host(.tab-layout-icon-hide) ::slotted(ion-label){margin-top:2px;margin-bottom:2px;font-size:14px;line-height:1.1}:host(.tab-layout-icon-end) ::slotted(ion-icon),:host(.tab-layout-icon-start) ::slotted(ion-icon){min-width:24px;height:26px;margin-top:2px;margin-bottom:1px;font-size:24px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-bottom) ::slotted(ion-badge){inset-inline-start:calc(50% + 12px)}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-bottom) ::slotted(ion-badge){left:calc(50% + 12px)}:host-context([dir=rtl]):host(.tab-layout-icon-bottom) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-bottom ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 12px)}@supports selector(:dir(rtl)){:host(.tab-layout-icon-bottom:dir(rtl)) ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 12px)}}}:host(.tab-layout-icon-bottom) ::slotted(ion-icon){margin-top:0;margin-bottom:1px}:host(.tab-layout-icon-bottom) ::slotted(ion-label){margin-top:4px}:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){top:10px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){inset-inline-start:calc(50% + 35px)}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){left:calc(50% + 35px)}:host-context([dir=rtl]):host(.tab-layout-icon-start) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-start ::slotted(ion-badge),:host-context([dir=rtl]):host(.tab-layout-icon-end) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-end ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 35px)}@supports selector(:dir(rtl)){:host(.tab-layout-icon-start:dir(rtl)) ::slotted(ion-badge),:host(.tab-layout-icon-end:dir(rtl)) ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 35px)}}}:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){top:10px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){inset-inline-start:calc(50% + 30px)}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){left:calc(50% + 30px)}:host-context([dir=rtl]):host(.tab-layout-icon-hide) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-hide ::slotted(ion-badge),:host-context([dir=rtl]):host(.tab-has-label-only) ::slotted(ion-badge),:host-context([dir=rtl]).tab-has-label-only ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 30px)}@supports selector(:dir(rtl)){:host(.tab-layout-icon-hide:dir(rtl)) ::slotted(ion-badge),:host(.tab-has-label-only:dir(rtl)) ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 30px)}}}:host(.tab-layout-label-hide) ::slotted(ion-badge),:host(.tab-has-icon-only) ::slotted(ion-badge){top:10px}:host(.tab-layout-label-hide) ::slotted(ion-icon){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}';const d=r;const b=':host{--ripple-color:var(--color-selected);--background-focused-opacity:1;flex:1;flex-direction:column;align-items:center;justify-content:center;height:100%;outline:none;background:var(--background);color:var(--color)}.button-native{border-radius:inherit;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:flex;position:relative;flex-direction:inherit;align-items:inherit;justify-content:inherit;width:100%;height:100%;border:0;outline:none;background:transparent;text-decoration:none;cursor:pointer;overflow:hidden;box-sizing:border-box;-webkit-user-drag:none}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:flex;position:relative;flex-flow:inherit;align-items:inherit;justify-content:inherit;width:100%;height:100%;z-index:1}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){a:hover{color:var(--color-selected)}}:host(.tab-selected){color:var(--color-selected)}:host(.tab-hidden){display:none !important}:host(.tab-disabled){pointer-events:none;opacity:0.4}::slotted(ion-label),::slotted(ion-icon){display:block;align-self:center;max-width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;box-sizing:border-box}::slotted(ion-label){order:0}::slotted(ion-icon){order:-1;height:1em}:host(.tab-has-label-only) ::slotted(ion-label){white-space:normal}::slotted(ion-badge){box-sizing:border-box;position:absolute;z-index:1}:host(.tab-layout-icon-start){flex-direction:row}:host(.tab-layout-icon-end){flex-direction:row-reverse}:host(.tab-layout-icon-bottom){flex-direction:column-reverse}:host(.tab-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.tab-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color)}:host{--padding-top:0;--padding-end:12px;--padding-bottom:0;--padding-start:12px;max-width:168px;font-size:12px;font-weight:normal;letter-spacing:0.03em}::slotted(ion-label){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;text-transform:none}::slotted(ion-icon){margin-left:0;margin-right:0;margin-top:16px;margin-bottom:16px;transform-origin:center center;font-size:22px}:host-context([dir=rtl]) ::slotted(ion-icon){transform-origin:calc(100% - center) center}[dir=rtl] ::slotted(ion-icon){transform-origin:calc(100% - center) center}@supports selector(:dir(rtl)){::slotted(ion-icon):dir(rtl){transform-origin:calc(100% - center) center}}::slotted(ion-badge){border-radius:8px;-webkit-padding-start:2px;padding-inline-start:2px;-webkit-padding-end:2px;padding-inline-end:2px;padding-top:3px;padding-bottom:2px;top:8px;min-width:12px;font-size:8px;font-weight:normal}@supports (inset-inline-start: 0){::slotted(ion-badge){inset-inline-start:calc(50% + 6px)}}@supports not (inset-inline-start: 0){::slotted(ion-badge){left:calc(50% + 6px)}:host-context([dir=rtl]) ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 6px)}[dir=rtl] ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 6px)}@supports selector(:dir(rtl)){::slotted(ion-badge):dir(rtl){left:unset;right:unset;right:calc(50% + 6px)}}}::slotted(ion-badge:empty){display:block;min-width:8px;height:8px}:host(.tab-layout-icon-top) ::slotted(ion-icon){margin-top:6px;margin-bottom:2px}:host(.tab-layout-icon-top) ::slotted(ion-label){margin-top:0;margin-bottom:6px}:host(.tab-layout-icon-bottom) ::slotted(ion-badge){top:8px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-bottom) ::slotted(ion-badge){inset-inline-start:70%}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-bottom) ::slotted(ion-badge){left:70%}:host-context([dir=rtl]):host(.tab-layout-icon-bottom) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-bottom ::slotted(ion-badge){left:unset;right:unset;right:70%}@supports selector(:dir(rtl)){:host(.tab-layout-icon-bottom:dir(rtl)) ::slotted(ion-badge){left:unset;right:unset;right:70%}}}:host(.tab-layout-icon-bottom) ::slotted(ion-icon){margin-top:0;margin-bottom:6px}:host(.tab-layout-icon-bottom) ::slotted(ion-label){margin-top:6px;margin-bottom:0}:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){top:16px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){inset-inline-start:80%}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){left:80%}:host-context([dir=rtl]):host(.tab-layout-icon-start) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-start ::slotted(ion-badge),:host-context([dir=rtl]):host(.tab-layout-icon-end) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-end ::slotted(ion-badge){left:unset;right:unset;right:80%}@supports selector(:dir(rtl)){:host(.tab-layout-icon-start:dir(rtl)) ::slotted(ion-badge),:host(.tab-layout-icon-end:dir(rtl)) ::slotted(ion-badge){left:unset;right:unset;right:80%}}}:host(.tab-layout-icon-start) ::slotted(ion-icon){-webkit-margin-end:6px;margin-inline-end:6px}:host(.tab-layout-icon-end) ::slotted(ion-icon){-webkit-margin-start:6px;margin-inline-start:6px}:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){top:16px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){inset-inline-start:70%}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){left:70%}:host-context([dir=rtl]):host(.tab-layout-icon-hide) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-hide ::slotted(ion-badge),:host-context([dir=rtl]):host(.tab-has-label-only) ::slotted(ion-badge),:host-context([dir=rtl]).tab-has-label-only ::slotted(ion-badge){left:unset;right:unset;right:70%}@supports selector(:dir(rtl)){:host(.tab-layout-icon-hide:dir(rtl)) ::slotted(ion-badge),:host(.tab-has-label-only:dir(rtl)) ::slotted(ion-badge){left:unset;right:unset;right:70%}}}:host(.tab-layout-icon-hide) ::slotted(ion-label),:host(.tab-has-label-only) ::slotted(ion-label){margin-top:0;margin-bottom:0}:host(.tab-layout-label-hide) ::slotted(ion-badge),:host(.tab-has-icon-only) ::slotted(ion-badge){top:16px}:host(.tab-layout-label-hide) ::slotted(ion-icon),:host(.tab-has-icon-only) ::slotted(ion-icon){margin-top:0;margin-bottom:0;font-size:24px}';const h=b;const c=class{constructor(e){t(this,e);this.ionTabButtonClick=o(this,"ionTabButtonClick",7);this.inheritedAttributes={};this.onKeyUp=t=>{if(t.key==="Enter"||t.key===" "){this.selectTab(t)}};this.onClick=t=>{this.selectTab(t)};this.disabled=false;this.download=undefined;this.href=undefined;this.rel=undefined;this.layout=undefined;this.selected=false;this.tab=undefined;this.target=undefined}onTabBarChanged(t){const o=t.target;const e=this.el.parentElement;if(t.composedPath().includes(e)||(o===null||o===void 0?void 0:o.contains(this.el))){this.selected=this.tab===t.detail.tab}}componentWillLoad(){this.inheritedAttributes=Object.assign({},a(this.el,["aria-label"]));if(this.layout===undefined){this.layout=s.get("tabButtonLayout","icon-top")}}selectTab(t){if(this.tab!==undefined){if(!this.disabled){this.ionTabButtonClick.emit({tab:this.tab,href:this.href,selected:this.selected})}t.preventDefault()}}get hasLabel(){return!!this.el.querySelector("ion-label")}get hasIcon(){return!!this.el.querySelector("ion-icon")}render(){const{disabled:t,hasIcon:o,hasLabel:n,href:a,rel:s,target:r,layout:d,selected:b,tab:h,inheritedAttributes:c}=this;const p=l(this);const g={download:this.download,href:a,rel:s,target:r};return e(i,{key:"c7b6a72766b71f34800137dadcf29af657bebddf",onClick:this.onClick,onKeyup:this.onKeyUp,id:h!==undefined?`tab-button-${h}`:null,class:{[p]:true,"tab-selected":b,"tab-disabled":t,"tab-has-label":n,"tab-has-icon":o,"tab-has-label-only":n&&!o,"tab-has-icon-only":o&&!n,[`tab-layout-${d}`]:true,"ion-activatable":true,"ion-selectable":true,"ion-focusable":true}},e("a",Object.assign({key:"a1eca4a5cf0dfdb55099811d03f204f7b3807a2e"},g,{class:"button-native",part:"native",role:"tab","aria-selected":b?"true":null,"aria-disabled":t?"true":null,tabindex:t?"-1":undefined},c),e("span",{key:"888a6d8b95c2f0ca8f74f492729bd28f0d3273d5",class:"button-inner"},e("slot",{key:"83a234af52ffce9ff0f4cc497712c962115a5813"})),p==="md"&&e("ion-ripple-effect",{key:"771aff1b83233411e0cf706c3e94c78bca534794",type:"unbounded"})))}get el(){return n(this)}};c.style={ios:d,md:h};export{c as ion_tab_button};
2
- //# sourceMappingURL=p-f4035b4a.entry.js.map
1
+ import{r as t,i as o,h as e,H as i,e as n}from"./p-97889672.js";import{e as a}from"./p-3f316fc4.js";import{c as s,g as l}from"./p-ebe1c8ca.js";const r=':host{--ripple-color:var(--color-selected);--background-focused-opacity:1;flex:1;flex-direction:column;align-items:center;justify-content:center;height:100%;outline:none;background:var(--background);color:var(--color)}.button-native{border-radius:inherit;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:flex;position:relative;flex-direction:inherit;align-items:inherit;justify-content:inherit;width:100%;height:100%;border:0;outline:none;background:transparent;text-decoration:none;cursor:pointer;overflow:hidden;box-sizing:border-box;-webkit-user-drag:none}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:flex;position:relative;flex-flow:inherit;align-items:inherit;justify-content:inherit;width:100%;height:100%;z-index:1}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){a:hover{color:var(--color-selected)}}:host(.tab-selected){color:var(--color-selected)}:host(.tab-hidden){display:none !important}:host(.tab-disabled){pointer-events:none;opacity:0.4}::slotted(ion-label),::slotted(ion-icon){display:block;align-self:center;max-width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;box-sizing:border-box}::slotted(ion-label){order:0}::slotted(ion-icon){order:-1;height:1em}:host(.tab-has-label-only) ::slotted(ion-label){white-space:normal}::slotted(ion-badge){box-sizing:border-box;position:absolute;z-index:1}:host(.tab-layout-icon-start){flex-direction:row}:host(.tab-layout-icon-end){flex-direction:row-reverse}:host(.tab-layout-icon-bottom){flex-direction:column-reverse}:host(.tab-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.tab-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color)}:host{--padding-top:0;--padding-end:2px;--padding-bottom:0;--padding-start:2px;max-width:240px;font-size:10px}::slotted(ion-badge){-webkit-padding-start:6px;padding-inline-start:6px;-webkit-padding-end:6px;padding-inline-end:6px;padding-top:1px;padding-bottom:1px;top:4px;height:auto;font-size:12px;line-height:16px}@supports (inset-inline-start: 0){::slotted(ion-badge){inset-inline-start:calc(50% + 6px)}}@supports not (inset-inline-start: 0){::slotted(ion-badge){left:calc(50% + 6px)}:host-context([dir=rtl]) ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 6px)}[dir=rtl] ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 6px)}@supports selector(:dir(rtl)){::slotted(ion-badge):dir(rtl){left:unset;right:unset;right:calc(50% + 6px)}}}::slotted(ion-icon){margin-top:2px;margin-bottom:2px;font-size:30px}::slotted(ion-icon::before){vertical-align:top}::slotted(ion-label){margin-top:0;margin-bottom:1px;min-height:11px;font-weight:500}:host(.tab-has-label-only) ::slotted(ion-label){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:12px;font-size:14px;line-height:1.1}:host(.tab-layout-icon-end) ::slotted(ion-label),:host(.tab-layout-icon-start) ::slotted(ion-label),:host(.tab-layout-icon-hide) ::slotted(ion-label){margin-top:2px;margin-bottom:2px;font-size:14px;line-height:1.1}:host(.tab-layout-icon-end) ::slotted(ion-icon),:host(.tab-layout-icon-start) ::slotted(ion-icon){min-width:24px;height:26px;margin-top:2px;margin-bottom:1px;font-size:24px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-bottom) ::slotted(ion-badge){inset-inline-start:calc(50% + 12px)}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-bottom) ::slotted(ion-badge){left:calc(50% + 12px)}:host-context([dir=rtl]):host(.tab-layout-icon-bottom) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-bottom ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 12px)}@supports selector(:dir(rtl)){:host(.tab-layout-icon-bottom:dir(rtl)) ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 12px)}}}:host(.tab-layout-icon-bottom) ::slotted(ion-icon){margin-top:0;margin-bottom:1px}:host(.tab-layout-icon-bottom) ::slotted(ion-label){margin-top:4px}:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){top:10px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){inset-inline-start:calc(50% + 35px)}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){left:calc(50% + 35px)}:host-context([dir=rtl]):host(.tab-layout-icon-start) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-start ::slotted(ion-badge),:host-context([dir=rtl]):host(.tab-layout-icon-end) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-end ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 35px)}@supports selector(:dir(rtl)){:host(.tab-layout-icon-start:dir(rtl)) ::slotted(ion-badge),:host(.tab-layout-icon-end:dir(rtl)) ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 35px)}}}:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){top:10px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){inset-inline-start:calc(50% + 30px)}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){left:calc(50% + 30px)}:host-context([dir=rtl]):host(.tab-layout-icon-hide) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-hide ::slotted(ion-badge),:host-context([dir=rtl]):host(.tab-has-label-only) ::slotted(ion-badge),:host-context([dir=rtl]).tab-has-label-only ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 30px)}@supports selector(:dir(rtl)){:host(.tab-layout-icon-hide:dir(rtl)) ::slotted(ion-badge),:host(.tab-has-label-only:dir(rtl)) ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 30px)}}}:host(.tab-layout-label-hide) ::slotted(ion-badge),:host(.tab-has-icon-only) ::slotted(ion-badge){top:10px}:host(.tab-layout-label-hide) ::slotted(ion-icon){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}';const d=r;const b=':host{--ripple-color:var(--color-selected);--background-focused-opacity:1;flex:1;flex-direction:column;align-items:center;justify-content:center;height:100%;outline:none;background:var(--background);color:var(--color)}.button-native{border-radius:inherit;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:flex;position:relative;flex-direction:inherit;align-items:inherit;justify-content:inherit;width:100%;height:100%;border:0;outline:none;background:transparent;text-decoration:none;cursor:pointer;overflow:hidden;box-sizing:border-box;-webkit-user-drag:none}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:flex;position:relative;flex-flow:inherit;align-items:inherit;justify-content:inherit;width:100%;height:100%;z-index:1}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){a:hover{color:var(--color-selected)}}:host(.tab-selected){color:var(--color-selected)}:host(.tab-hidden){display:none !important}:host(.tab-disabled){pointer-events:none;opacity:0.4}::slotted(ion-label),::slotted(ion-icon){display:block;align-self:center;max-width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;box-sizing:border-box}::slotted(ion-label){order:0}::slotted(ion-icon){order:-1;height:1em}:host(.tab-has-label-only) ::slotted(ion-label){white-space:normal}::slotted(ion-badge){box-sizing:border-box;position:absolute;z-index:1}:host(.tab-layout-icon-start){flex-direction:row}:host(.tab-layout-icon-end){flex-direction:row-reverse}:host(.tab-layout-icon-bottom){flex-direction:column-reverse}:host(.tab-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.tab-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color)}:host{--padding-top:0;--padding-end:12px;--padding-bottom:0;--padding-start:12px;max-width:168px;font-size:12px;font-weight:normal;letter-spacing:0.03em}::slotted(ion-label){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;text-transform:none}::slotted(ion-icon){margin-left:0;margin-right:0;margin-top:16px;margin-bottom:16px;transform-origin:center center;font-size:22px}:host-context([dir=rtl]) ::slotted(ion-icon){transform-origin:calc(100% - center) center}[dir=rtl] ::slotted(ion-icon){transform-origin:calc(100% - center) center}@supports selector(:dir(rtl)){::slotted(ion-icon):dir(rtl){transform-origin:calc(100% - center) center}}::slotted(ion-badge){border-radius:8px;-webkit-padding-start:2px;padding-inline-start:2px;-webkit-padding-end:2px;padding-inline-end:2px;padding-top:3px;padding-bottom:2px;top:8px;min-width:12px;font-size:8px;font-weight:normal}@supports (inset-inline-start: 0){::slotted(ion-badge){inset-inline-start:calc(50% + 6px)}}@supports not (inset-inline-start: 0){::slotted(ion-badge){left:calc(50% + 6px)}:host-context([dir=rtl]) ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 6px)}[dir=rtl] ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 6px)}@supports selector(:dir(rtl)){::slotted(ion-badge):dir(rtl){left:unset;right:unset;right:calc(50% + 6px)}}}::slotted(ion-badge:empty){display:block;min-width:8px;height:8px}:host(.tab-layout-icon-top) ::slotted(ion-icon){margin-top:6px;margin-bottom:2px}:host(.tab-layout-icon-top) ::slotted(ion-label){margin-top:0;margin-bottom:6px}:host(.tab-layout-icon-bottom) ::slotted(ion-badge){top:8px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-bottom) ::slotted(ion-badge){inset-inline-start:70%}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-bottom) ::slotted(ion-badge){left:70%}:host-context([dir=rtl]):host(.tab-layout-icon-bottom) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-bottom ::slotted(ion-badge){left:unset;right:unset;right:70%}@supports selector(:dir(rtl)){:host(.tab-layout-icon-bottom:dir(rtl)) ::slotted(ion-badge){left:unset;right:unset;right:70%}}}:host(.tab-layout-icon-bottom) ::slotted(ion-icon){margin-top:0;margin-bottom:6px}:host(.tab-layout-icon-bottom) ::slotted(ion-label){margin-top:6px;margin-bottom:0}:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){top:16px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){inset-inline-start:80%}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){left:80%}:host-context([dir=rtl]):host(.tab-layout-icon-start) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-start ::slotted(ion-badge),:host-context([dir=rtl]):host(.tab-layout-icon-end) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-end ::slotted(ion-badge){left:unset;right:unset;right:80%}@supports selector(:dir(rtl)){:host(.tab-layout-icon-start:dir(rtl)) ::slotted(ion-badge),:host(.tab-layout-icon-end:dir(rtl)) ::slotted(ion-badge){left:unset;right:unset;right:80%}}}:host(.tab-layout-icon-start) ::slotted(ion-icon){-webkit-margin-end:6px;margin-inline-end:6px}:host(.tab-layout-icon-end) ::slotted(ion-icon){-webkit-margin-start:6px;margin-inline-start:6px}:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){top:16px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){inset-inline-start:70%}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){left:70%}:host-context([dir=rtl]):host(.tab-layout-icon-hide) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-hide ::slotted(ion-badge),:host-context([dir=rtl]):host(.tab-has-label-only) ::slotted(ion-badge),:host-context([dir=rtl]).tab-has-label-only ::slotted(ion-badge){left:unset;right:unset;right:70%}@supports selector(:dir(rtl)){:host(.tab-layout-icon-hide:dir(rtl)) ::slotted(ion-badge),:host(.tab-has-label-only:dir(rtl)) ::slotted(ion-badge){left:unset;right:unset;right:70%}}}:host(.tab-layout-icon-hide) ::slotted(ion-label),:host(.tab-has-label-only) ::slotted(ion-label){margin-top:0;margin-bottom:0}:host(.tab-layout-label-hide) ::slotted(ion-badge),:host(.tab-has-icon-only) ::slotted(ion-badge){top:16px}:host(.tab-layout-label-hide) ::slotted(ion-icon),:host(.tab-has-icon-only) ::slotted(ion-icon){margin-top:0;margin-bottom:0;font-size:24px}';const h=b;const c=class{constructor(e){t(this,e);this.ionTabButtonClick=o(this,"ionTabButtonClick",7);this.inheritedAttributes={};this.onKeyUp=t=>{if(t.key==="Enter"||t.key===" "){this.selectTab(t)}};this.onClick=t=>{this.selectTab(t)};this.disabled=false;this.download=undefined;this.href=undefined;this.rel=undefined;this.layout=undefined;this.selected=false;this.tab=undefined;this.target=undefined}onTabBarChanged(t){const o=t.target;const e=this.el.parentElement;if(t.composedPath().includes(e)||(o===null||o===void 0?void 0:o.contains(this.el))){this.selected=this.tab===t.detail.tab}}componentWillLoad(){this.inheritedAttributes=Object.assign({},a(this.el,["aria-label"]));if(this.layout===undefined){this.layout=s.get("tabButtonLayout","icon-top")}}selectTab(t){if(this.tab!==undefined){if(!this.disabled){this.ionTabButtonClick.emit({tab:this.tab,href:this.href,selected:this.selected})}t.preventDefault()}}get hasLabel(){return!!this.el.querySelector("ion-label")}get hasIcon(){return!!this.el.querySelector("ion-icon")}render(){const{disabled:t,hasIcon:o,hasLabel:n,href:a,rel:s,target:r,layout:d,selected:b,tab:h,inheritedAttributes:c}=this;const p=l(this);const g={download:this.download,href:a,rel:s,target:r};return e(i,{key:"c7b6a72766b71f34800137dadcf29af657bebddf",onClick:this.onClick,onKeyup:this.onKeyUp,id:h!==undefined?`tab-button-${h}`:null,class:{[p]:true,"tab-selected":b,"tab-disabled":t,"tab-has-label":n,"tab-has-icon":o,"tab-has-label-only":n&&!o,"tab-has-icon-only":o&&!n,[`tab-layout-${d}`]:true,"ion-activatable":true,"ion-selectable":true,"ion-focusable":true}},e("a",Object.assign({key:"a1eca4a5cf0dfdb55099811d03f204f7b3807a2e"},g,{class:"button-native",part:"native",role:"tab","aria-selected":b?"true":null,"aria-disabled":t?"true":null,tabindex:t?"-1":undefined},c),e("span",{key:"888a6d8b95c2f0ca8f74f492729bd28f0d3273d5",class:"button-inner"},e("slot",{key:"83a234af52ffce9ff0f4cc497712c962115a5813"})),p==="md"&&e("ion-ripple-effect",{key:"771aff1b83233411e0cf706c3e94c78bca534794",type:"unbounded"})))}get el(){return n(this)}};c.style={ios:d,md:h};export{c as ion_tab_button};
2
+ //# sourceMappingURL=p-6ca9bad7.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as o,i as t,h as i,H as n,e as r}from"./p-42169e41.js";import{p as e}from"./p-d6769f21.js";import{g as s}from"./p-da0d920d.js";const a=":host{display:block}:host(.accordion-group-expand-inset){-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:16px;margin-bottom:16px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanding),:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanded){border-bottom:none}";const d=a;const c=":host{display:block}:host(.accordion-group-expand-inset){-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:16px;margin-bottom:16px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanding),:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanded){margin-left:0;margin-right:0;margin-top:16px;margin-bottom:16px;border-radius:6px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-previous){border-bottom-right-radius:6px;border-bottom-left-radius:6px}:host-context([dir=rtl]):host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-previous),:host-context([dir=rtl]).accordion-group-expand-inset ::slotted(ion-accordion.accordion-previous){border-bottom-right-radius:6px;border-bottom-left-radius:6px}@supports selector(:dir(rtl)){:host(.accordion-group-expand-inset:dir(rtl)) ::slotted(ion-accordion.accordion-previous){border-bottom-right-radius:6px;border-bottom-left-radius:6px}}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-next){border-top-left-radius:6px;border-top-right-radius:6px}:host-context([dir=rtl]):host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-next),:host-context([dir=rtl]).accordion-group-expand-inset ::slotted(ion-accordion.accordion-next){border-top-left-radius:6px;border-top-right-radius:6px}@supports selector(:dir(rtl)){:host(.accordion-group-expand-inset:dir(rtl)) ::slotted(ion-accordion.accordion-next){border-top-left-radius:6px;border-top-right-radius:6px}}:host(.accordion-group-expand-inset) ::slotted(ion-accordion):first-of-type{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}";const p=c;const l=class{constructor(i){o(this,i);this.ionChange=t(this,"ionChange",7);this.ionValueChange=t(this,"ionValueChange",7);this.animated=true;this.multiple=undefined;this.value=undefined;this.disabled=false;this.readonly=false;this.expand="compact"}valueChanged(){const{value:o,multiple:t}=this;if(!t&&Array.isArray(o)){e(`ion-accordion-group was passed an array of values, but multiple="false". This is incorrect usage and may result in unexpected behaviors. To dismiss this warning, pass a string to the "value" property when multiple="false".\n\n Value Passed: [${o.map((o=>`'${o}'`)).join(", ")}]\n`,this.el)}this.ionValueChange.emit({value:this.value})}async disabledChanged(){const{disabled:o}=this;const t=await this.getAccordions();for(const i of t){i.disabled=o}}async readonlyChanged(){const{readonly:o}=this;const t=await this.getAccordions();for(const i of t){i.readonly=o}}async onKeydown(o){const t=document.activeElement;if(!t){return}const i=t.closest('ion-accordion [slot="header"]');if(!i){return}const n=t.tagName==="ION-ACCORDION"?t:t.closest("ion-accordion");if(!n){return}const r=n.closest("ion-accordion-group");if(r!==this.el){return}const e=await this.getAccordions();const s=e.findIndex((o=>o===n));if(s===-1){return}let a;if(o.key==="ArrowDown"){a=this.findNextAccordion(e,s)}else if(o.key==="ArrowUp"){a=this.findPreviousAccordion(e,s)}else if(o.key==="Home"){a=e[0]}else if(o.key==="End"){a=e[e.length-1]}if(a!==undefined&&a!==t){a.focus()}}async componentDidLoad(){if(this.disabled){this.disabledChanged()}if(this.readonly){this.readonlyChanged()}this.valueChanged()}setValue(o){const t=this.value=o;this.ionChange.emit({value:t})}async requestAccordionToggle(o,t){const{multiple:i,value:n,readonly:r,disabled:e}=this;if(r||e){return}if(t){if(i){const t=n!==null&&n!==void 0?n:[];const i=Array.isArray(t)?t:[t];const r=i.find((t=>t===o));if(r===undefined&&o!==undefined){this.setValue([...i,o])}}else{this.setValue(o)}}else{if(i){const t=n!==null&&n!==void 0?n:[];const i=Array.isArray(t)?t:[t];this.setValue(i.filter((t=>t!==o)))}else{this.setValue(undefined)}}}findNextAccordion(o,t){const i=o[t+1];if(i===undefined){return o[0]}return i}findPreviousAccordion(o,t){const i=o[t-1];if(i===undefined){return o[o.length-1]}return i}async getAccordions(){return Array.from(this.el.querySelectorAll(":scope > ion-accordion"))}render(){const{disabled:o,readonly:t,expand:r}=this;const e=s(this);return i(n,{key:"ac2e26ac91c95d08172bd2b51daa7a711c21db9e",class:{[e]:true,"accordion-group-disabled":o,"accordion-group-readonly":t,[`accordion-group-expand-${r}`]:true},role:"presentation"},i("slot",{key:"444adc2af5730897eba57095da046d6bdb5af70f"}))}get el(){return r(this)}static get watchers(){return{value:["valueChanged"],disabled:["disabledChanged"],readonly:["readonlyChanged"]}}};l.style={ios:d,md:p};export{l as ion_accordion_group};
2
- //# sourceMappingURL=p-25926b66.entry.js.map
1
+ import{r as o,i as t,h as i,H as n,e as r}from"./p-97889672.js";import{p as e}from"./p-d6769f21.js";import{g as s}from"./p-ebe1c8ca.js";const a=":host{display:block}:host(.accordion-group-expand-inset){-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:16px;margin-bottom:16px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanding),:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanded){border-bottom:none}";const d=a;const c=":host{display:block}:host(.accordion-group-expand-inset){-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:16px;margin-bottom:16px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanding),:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanded){margin-left:0;margin-right:0;margin-top:16px;margin-bottom:16px;border-radius:6px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-previous){border-bottom-right-radius:6px;border-bottom-left-radius:6px}:host-context([dir=rtl]):host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-previous),:host-context([dir=rtl]).accordion-group-expand-inset ::slotted(ion-accordion.accordion-previous){border-bottom-right-radius:6px;border-bottom-left-radius:6px}@supports selector(:dir(rtl)){:host(.accordion-group-expand-inset:dir(rtl)) ::slotted(ion-accordion.accordion-previous){border-bottom-right-radius:6px;border-bottom-left-radius:6px}}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-next){border-top-left-radius:6px;border-top-right-radius:6px}:host-context([dir=rtl]):host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-next),:host-context([dir=rtl]).accordion-group-expand-inset ::slotted(ion-accordion.accordion-next){border-top-left-radius:6px;border-top-right-radius:6px}@supports selector(:dir(rtl)){:host(.accordion-group-expand-inset:dir(rtl)) ::slotted(ion-accordion.accordion-next){border-top-left-radius:6px;border-top-right-radius:6px}}:host(.accordion-group-expand-inset) ::slotted(ion-accordion):first-of-type{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}";const p=c;const l=class{constructor(i){o(this,i);this.ionChange=t(this,"ionChange",7);this.ionValueChange=t(this,"ionValueChange",7);this.animated=true;this.multiple=undefined;this.value=undefined;this.disabled=false;this.readonly=false;this.expand="compact"}valueChanged(){const{value:o,multiple:t}=this;if(!t&&Array.isArray(o)){e(`ion-accordion-group was passed an array of values, but multiple="false". This is incorrect usage and may result in unexpected behaviors. To dismiss this warning, pass a string to the "value" property when multiple="false".\n\n Value Passed: [${o.map((o=>`'${o}'`)).join(", ")}]\n`,this.el)}this.ionValueChange.emit({value:this.value})}async disabledChanged(){const{disabled:o}=this;const t=await this.getAccordions();for(const i of t){i.disabled=o}}async readonlyChanged(){const{readonly:o}=this;const t=await this.getAccordions();for(const i of t){i.readonly=o}}async onKeydown(o){const t=document.activeElement;if(!t){return}const i=t.closest('ion-accordion [slot="header"]');if(!i){return}const n=t.tagName==="ION-ACCORDION"?t:t.closest("ion-accordion");if(!n){return}const r=n.closest("ion-accordion-group");if(r!==this.el){return}const e=await this.getAccordions();const s=e.findIndex((o=>o===n));if(s===-1){return}let a;if(o.key==="ArrowDown"){a=this.findNextAccordion(e,s)}else if(o.key==="ArrowUp"){a=this.findPreviousAccordion(e,s)}else if(o.key==="Home"){a=e[0]}else if(o.key==="End"){a=e[e.length-1]}if(a!==undefined&&a!==t){a.focus()}}async componentDidLoad(){if(this.disabled){this.disabledChanged()}if(this.readonly){this.readonlyChanged()}this.valueChanged()}setValue(o){const t=this.value=o;this.ionChange.emit({value:t})}async requestAccordionToggle(o,t){const{multiple:i,value:n,readonly:r,disabled:e}=this;if(r||e){return}if(t){if(i){const t=n!==null&&n!==void 0?n:[];const i=Array.isArray(t)?t:[t];const r=i.find((t=>t===o));if(r===undefined&&o!==undefined){this.setValue([...i,o])}}else{this.setValue(o)}}else{if(i){const t=n!==null&&n!==void 0?n:[];const i=Array.isArray(t)?t:[t];this.setValue(i.filter((t=>t!==o)))}else{this.setValue(undefined)}}}findNextAccordion(o,t){const i=o[t+1];if(i===undefined){return o[0]}return i}findPreviousAccordion(o,t){const i=o[t-1];if(i===undefined){return o[o.length-1]}return i}async getAccordions(){return Array.from(this.el.querySelectorAll(":scope > ion-accordion"))}render(){const{disabled:o,readonly:t,expand:r}=this;const e=s(this);return i(n,{key:"ac2e26ac91c95d08172bd2b51daa7a711c21db9e",class:{[e]:true,"accordion-group-disabled":o,"accordion-group-readonly":t,[`accordion-group-expand-${r}`]:true},role:"presentation"},i("slot",{key:"444adc2af5730897eba57095da046d6bdb5af70f"}))}get el(){return r(this)}static get watchers(){return{value:["valueChanged"],disabled:["disabledChanged"],readonly:["readonlyChanged"]}}};l.style={ios:d,md:p};export{l as ion_accordion_group};
2
+ //# sourceMappingURL=p-6cae9207.entry.js.map
@@ -1,4 +1,4 @@
1
- import{r as t,i as e,w as o,h as i,H as r,e as a}from"./p-42169e41.js";import{a as s,i as n,d,r as c,f as p,p as h}from"./p-949b115f.js";import{C as l,a as f,d as u}from"./p-eba70ed1.js";import{g as m,c as b,r as w,i as x,j as g}from"./p-71ee259b.js";import{c as v}from"./p-3a4d289f.js";import{p as k}from"./p-d6769f21.js";import{g as y}from"./p-21b22219.js";import{G as A,O as D,a as B,B as Y,p as j,s as E,b as M,d as S,e as C}from"./p-a6c03ce8.js";import{g as O}from"./p-669fab6c.js";import{d as P,w as $}from"./p-cbae963d.js";import{g as I,c as T}from"./p-da0d920d.js";import{KEYBOARD_DID_OPEN as z}from"./p-20f265c7.js";import{c as W}from"./p-cbf050d6.js";import{g as L}from"./p-bc04bd54.js";import{createGesture as R}from"./p-b943833e.js";import{w as N}from"./p-7efd6867.js";import"./p-1fc8e557.js";import"./p-67b68c5d.js";import"./p-98c00bd2.js";
1
+ import{r as t,i as e,w as o,h as i,H as r,e as a}from"./p-97889672.js";import{a as s,i as n,d,r as c,f as p,p as h}from"./p-91025a2c.js";import{C as l,a as f,d as u}from"./p-30cd90ec.js";import{g as m,c as b,r as w,e as x,h as g}from"./p-3f316fc4.js";import{c as v}from"./p-3a4d289f.js";import{p as k}from"./p-d6769f21.js";import{g as y}from"./p-21b22219.js";import{G as A,O as D,a as B,B as Y,p as j,s as E,b as M,d as S,e as C}from"./p-01adc2b7.js";import{g as O}from"./p-669fab6c.js";import{d as P,w as $}from"./p-c30eb80f.js";import{g as I,c as T}from"./p-ebe1c8ca.js";import{KEYBOARD_DID_OPEN as z}from"./p-20f265c7.js";import{c as W}from"./p-b110cb49.js";import{g as L}from"./p-bc04bd54.js";import{createGesture as R}from"./p-b943833e.js";import{w as N}from"./p-7efd6867.js";import"./p-bde7428a.js";import"./p-67b68c5d.js";import"./p-98c00bd2.js";
2
2
  /*!
3
3
  * (C) Ionic http://ionicframework.com - MIT License
4
4
  */var _;(function(t){t["Dark"]="DARK";t["Light"]="LIGHT";t["Default"]="DEFAULT"})(_||(_={}));const G={getEngine(){const t=y();if(t===null||t===void 0?void 0:t.isPluginAvailable("StatusBar")){return t.Plugins.StatusBar}return undefined},supportsDefaultStatusBarStyle(){const t=y();return!!(t===null||t===void 0?void 0:t.PluginHeaders)},setStyle(t){const e=this.getEngine();if(!e){return}e.setStyle(t)},getStyle:async function(){const t=this.getEngine();if(!t){return _.Default}const{style:e}=await t.getInfo();return e}};
@@ -29,4 +29,4 @@ import{r as t,i as e,w as o,h as i,H as r,e as a}from"./p-42169e41.js";import{a
29
29
  /*!
30
30
  * (C) Ionic http://ionicframework.com - MIT License
31
31
  */const dt=(t,e,o,i,r,a,d=[],c,p,h)=>{const l=[{offset:0,opacity:"var(--backdrop-opacity)"},{offset:1,opacity:.01}];const f=[{offset:0,opacity:"var(--backdrop-opacity)"},{offset:1-r,opacity:0},{offset:1,opacity:0}];const u={WRAPPER_KEYFRAMES:[{offset:0,transform:"translateY(0%)"},{offset:1,transform:"translateY(100%)"}],BACKDROP_KEYFRAMES:r!==0?f:l};const x=t.querySelector("ion-content");const g=o.clientHeight;let v=i;let k=0;let y=false;const A=.95;const D=a.childAnimations.find((t=>t.id==="wrapperAnimation"));const B=a.childAnimations.find((t=>t.id==="backdropAnimation"));const Y=d[d.length-1];const j=d[0];const E=()=>{t.style.setProperty("pointer-events","auto");e.style.setProperty("pointer-events","auto");t.classList.remove("ion-disable-focus-trap")};const M=()=>{t.style.setProperty("pointer-events","none");e.style.setProperty("pointer-events","none");t.classList.add("ion-disable-focus-trap")};if(D&&B){D.keyframes([...u.WRAPPER_KEYFRAMES]);B.keyframes([...u.BACKDROP_KEYFRAMES]);a.progressStart(true,1-v);const t=v>r;if(t){E()}else{M()}}if(x&&v!==Y){x.scrollY=false}const S=t=>{const e=s(t.event.target);v=c();if(v===1&&e){const t=n(e)?m(e).querySelector(".inner-scroll"):e;const o=!!e.querySelector("ion-refresher");return!o&&t.scrollTop===0}return true};const C=e=>{y=t.canDismiss!==undefined&&t.canDismiss!==true&&j===0;if(e.deltaY>0&&x){x.scrollY=false}w((()=>{t.focus()}));a.progressStart(true,1-v)};const O=t=>{if(t.deltaY>0&&x){x.scrollY=false}const e=1-v;const o=d.length>1?1-d[1]:undefined;const i=e+t.deltaY/g;const r=o!==undefined&&i>=o&&y;const s=r?A:.9999;const n=r&&o!==undefined?o+Z((i-o)/(s-o)):i;k=b(1e-4,n,s);a.progressStep(k)};const P=t=>{const e=t.velocityY;const o=(t.deltaY+e*350)/g;const i=v-o;const r=d.reduce(((t,e)=>Math.abs(e-i)<Math.abs(t-i)?e:t));$({breakpoint:r,breakpointOffset:k,canDismiss:y,animated:true})};const $=e=>{const{breakpoint:o,canDismiss:i,breakpointOffset:s,animated:n}=e;const c=i&&o===0;const l=c?v:o;const f=l!==0;v=0;if(D&&B){D.keyframes([{offset:0,transform:`translateY(${s*100}%)`},{offset:1,transform:`translateY(${(1-l)*100}%)`}]);B.keyframes([{offset:0,opacity:`calc(var(--backdrop-opacity) * ${K(1-s,r)})`},{offset:1,opacity:`calc(var(--backdrop-opacity) * ${K(l,r)})`}]);a.progressStep(0)}I.enable(false);if(c){H(t,a)}else if(!f){p()}if(x&&l===d[d.length-1]){x.scrollY=true}return new Promise((t=>{a.onFinish((()=>{if(f){if(D&&B){w((()=>{D.keyframes([...u.WRAPPER_KEYFRAMES]);B.keyframes([...u.BACKDROP_KEYFRAMES]);a.progressStart(true,1-l);v=l;h(v);const e=v>r;if(e){E()}else{M()}I.enable(true);t()}))}else{I.enable(true);t()}}else{t()}}),{oneTimeCallback:true}).progressEnd(1,0,n?500:0)}))};const I=R({el:o,gestureName:"modalSheet",gesturePriority:40,direction:"y",threshold:10,canStart:S,onStart:C,onMove:O,onEnd:P});return{gesture:I,moveSheetToBreakpoint:$}};const ct=':host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;left:0;right:0;top:0;bottom:0;display:flex;position:absolute;align-items:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px;--ion-safe-area-top:0px;--ion-safe-area-bottom:0px;--ion-safe-area-right:0px;--ion-safe-area-left:0px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{left:0px;right:0px;top:5px;border-radius:8px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;width:36px;height:5px;transform:translateZ(0);border:0;background:var(--ion-color-step-350, #c0c0be);cursor:pointer;z-index:11}.modal-handle::before{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;position:absolute;width:36px;height:5px;transform:translate(-50%, -50%);content:""}:host(.modal-sheet){--height:calc(100% - (var(--ion-safe-area-top) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.4)}:host(.modal-card),:host(.modal-sheet){--border-radius:10px}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:10px}}.modal-wrapper{transform:translate3d(0, 100%, 0)}@media screen and (max-width: 767px){@supports (width: max(0px, 1px)){:host(.modal-card){--height:calc(100% - max(30px, var(--ion-safe-area-top)) - 10px)}}@supports not (width: max(0px, 1px)){:host(.modal-card){--height:calc(100% - 40px)}}:host(.modal-card) .modal-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}:host-context([dir=rtl]):host(.modal-card) .modal-wrapper,:host-context([dir=rtl]).modal-card .modal-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}@supports selector(:dir(rtl)){:host(.modal-card:dir(rtl)) .modal-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}}:host(.modal-card){--backdrop-opacity:0;--width:100%;align-items:flex-end}:host(.modal-card) .modal-shadow{display:none}:host(.modal-card) ion-backdrop{pointer-events:none}}@media screen and (min-width: 768px){:host(.modal-card){--width:calc(100% - 120px);--height:calc(100% - (120px + var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));--max-width:720px;--max-height:1000px;--backdrop-opacity:0;--box-shadow:0px 0px 30px 10px rgba(0, 0, 0, 0.1);transition:all 0.5s ease-in-out}:host(.modal-card) .modal-wrapper{box-shadow:none}:host(.modal-card) .modal-shadow{box-shadow:var(--box-shadow)}}:host(.modal-sheet) .modal-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}:host-context([dir=rtl]):host(.modal-sheet) .modal-wrapper,:host-context([dir=rtl]).modal-sheet .modal-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}@supports selector(:dir(rtl)){:host(.modal-sheet:dir(rtl)) .modal-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}}';const pt=ct;const ht=':host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;left:0;right:0;top:0;bottom:0;display:flex;position:absolute;align-items:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px;--ion-safe-area-top:0px;--ion-safe-area-bottom:0px;--ion-safe-area-right:0px;--ion-safe-area-left:0px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{left:0px;right:0px;top:5px;border-radius:8px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;width:36px;height:5px;transform:translateZ(0);border:0;background:var(--ion-color-step-350, #c0c0be);cursor:pointer;z-index:11}.modal-handle::before{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;position:absolute;width:36px;height:5px;transform:translate(-50%, -50%);content:""}:host(.modal-sheet){--height:calc(100% - (var(--ion-safe-area-top) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:2px;--box-shadow:0 28px 48px rgba(0, 0, 0, 0.4)}}.modal-wrapper{transform:translate3d(0, 40px, 0);opacity:0.01}';const lt=ht;const ft=class{constructor(o){t(this,o);this.didPresent=e(this,"ionModalDidPresent",7);this.willPresent=e(this,"ionModalWillPresent",7);this.willDismiss=e(this,"ionModalWillDismiss",7);this.didDismiss=e(this,"ionModalDidDismiss",7);this.ionBreakpointDidChange=e(this,"ionBreakpointDidChange",7);this.didPresentShorthand=e(this,"didPresent",7);this.willPresentShorthand=e(this,"willPresent",7);this.willDismissShorthand=e(this,"willDismiss",7);this.didDismissShorthand=e(this,"didDismiss",7);this.ionMount=e(this,"ionMount",7);this.lockController=v();this.triggerController=B();this.coreDelegate=l();this.isSheetModal=false;this.inheritedAttributes={};this.inline=false;this.gestureAnimationDismissing=false;this.onHandleClick=()=>{const{sheetTransition:t,handleBehavior:e}=this;if(e!=="cycle"||t!==undefined){return}this.moveToNextBreakpoint()};this.onBackdropTap=()=>{const{sheetTransition:t}=this;if(t!==undefined){return}this.dismiss(undefined,Y)};this.onLifecycle=t=>{const e=this.usersElement;const o=ut[t.type];if(e&&o){const i=new CustomEvent(o,{bubbles:false,cancelable:false,detail:t.detail});e.dispatchEvent(i)}};this.presented=false;this.hasController=false;this.overlayIndex=undefined;this.delegate=undefined;this.keyboardClose=true;this.enterAnimation=undefined;this.leaveAnimation=undefined;this.breakpoints=undefined;this.initialBreakpoint=undefined;this.backdropBreakpoint=0;this.handle=undefined;this.handleBehavior="none";this.component=undefined;this.componentProps=undefined;this.cssClass=undefined;this.backdropDismiss=true;this.showBackdrop=true;this.animated=true;this.presentingElement=undefined;this.htmlAttributes=undefined;this.isOpen=false;this.trigger=undefined;this.keepContentsMounted=false;this.canDismiss=true}onIsOpenChange(t,e){if(t===true&&e===false){this.present()}else if(t===false&&e===true){this.dismiss()}}triggerChanged(){const{trigger:t,el:e,triggerController:o}=this;if(t){o.addClickListener(e,t)}}breakpointsChanged(t){if(t!==undefined){this.sortedBreakpoints=t.sort(((t,e)=>t-e))}}connectedCallback(){const{el:t}=this;j(t);this.triggerChanged()}disconnectedCallback(){this.triggerController.removeClickListener()}componentWillLoad(){const{breakpoints:t,initialBreakpoint:e,el:o,htmlAttributes:i}=this;const r=this.isSheetModal=t!==undefined&&e!==undefined;const a=["aria-label","role"];this.inheritedAttributes=x(o,a);if(i!==undefined){a.forEach((t=>{const e=i[t];if(e){this.inheritedAttributes=Object.assign(Object.assign({},this.inheritedAttributes),{[t]:i[t]});delete i[t]}}))}if(r){this.currentBreakpoint=this.initialBreakpoint}if(t!==undefined&&e!==undefined&&!t.includes(e)){k("Your breakpoints array must include the initialBreakpoint value.")}E(o)}componentDidLoad(){if(this.isOpen===true){w((()=>this.present()))}this.breakpointsChanged(this.breakpoints);this.triggerChanged()}getDelegate(t=false){if(this.workingDelegate&&!t){return{delegate:this.workingDelegate,inline:this.inline}}const e=this.el.parentNode;const o=this.inline=e!==null&&!this.hasController;const i=this.workingDelegate=o?this.delegate||this.coreDelegate:this.delegate;return{inline:o,delegate:i}}async checkCanDismiss(t,e){const{canDismiss:o}=this;if(typeof o==="function"){return o(t,e)}return o}async present(){const t=await this.lockController.lock();if(this.presented){t();return}const{presentingElement:e,el:i}=this;this.currentBreakpoint=this.initialBreakpoint;const{inline:r,delegate:a}=this.getDelegate(true);this.ionMount.emit();this.usersElement=await f(a,i,this.component,["ion-page"],this.componentProps,r);if(g(i)){await P(this.usersElement)}else if(!this.keepContentsMounted){await $()}o((()=>this.el.classList.add("show-modal")));const s=e!==undefined;if(s&&I(this)==="ios"){this.statusBarStyle=await G.getStyle();V()}await M(this,"modalEnter",et,at,{presentingEl:e,currentBreakpoint:this.initialBreakpoint,backdropBreakpoint:this.backdropBreakpoint});if(typeof window!=="undefined"){this.keyboardOpenCallback=()=>{if(this.gesture){this.gesture.enable(false);w((()=>{if(this.gesture){this.gesture.enable(true)}}))}};window.addEventListener(z,this.keyboardOpenCallback)}if(this.isSheetModal){this.initSheetGesture()}else if(s){this.initSwipeToClose()}t()}initSwipeToClose(){var t;if(I(this)!=="ios"){return}const{el:e}=this;const o=this.leaveAnimation||T.get("modalLeave",it);const i=this.animation=o(e,{presentingEl:this.presentingElement});const r=p(e);if(!r){h(e);return}const a=(t=this.statusBarStyle)!==null&&t!==void 0?t:_.Default;this.gesture=q(e,i,a,(()=>{this.gestureAnimationDismissing=true;F(this.statusBarStyle);this.animation.onFinish((async()=>{await this.dismiss(undefined,A);this.gestureAnimationDismissing=false}))}));this.gesture.enable(true)}initSheetGesture(){const{wrapperEl:t,initialBreakpoint:e,backdropBreakpoint:o}=this;if(!t||e===undefined){return}const i=this.enterAnimation||T.get("modalEnter",et);const r=this.animation=i(this.el,{presentingEl:this.presentingElement,currentBreakpoint:e,backdropBreakpoint:o});r.progressStart(true,1);const{gesture:a,moveSheetToBreakpoint:s}=dt(this.el,this.backdropEl,t,e,o,r,this.sortedBreakpoints,(()=>{var t;return(t=this.currentBreakpoint)!==null&&t!==void 0?t:0}),(()=>this.sheetOnDismiss()),(t=>{if(this.currentBreakpoint!==t){this.currentBreakpoint=t;this.ionBreakpointDidChange.emit({breakpoint:t})}}));this.gesture=a;this.moveSheetToBreakpoint=s;this.gesture.enable(true)}sheetOnDismiss(){this.gestureAnimationDismissing=true;this.animation.onFinish((async()=>{this.currentBreakpoint=0;this.ionBreakpointDidChange.emit({breakpoint:this.currentBreakpoint});await this.dismiss(undefined,A);this.gestureAnimationDismissing=false}))}async dismiss(t,e){var i;if(this.gestureAnimationDismissing&&e!==A){return false}const r=await this.lockController.lock();if(e!=="handler"&&!await this.checkCanDismiss(t,e)){r();return false}const{presentingElement:a}=this;const s=a!==undefined;if(s&&I(this)==="ios"){F(this.statusBarStyle)}if(typeof window!=="undefined"&&this.keyboardOpenCallback){window.removeEventListener(z,this.keyboardOpenCallback);this.keyboardOpenCallback=undefined}const n=await S(this,t,e,"modalLeave",it,nt,{presentingEl:a,currentBreakpoint:(i=this.currentBreakpoint)!==null&&i!==void 0?i:this.initialBreakpoint,backdropBreakpoint:this.backdropBreakpoint});if(n){const{delegate:t}=this.getDelegate();await u(t,this.usersElement);o((()=>this.el.classList.remove("show-modal")));if(this.animation){this.animation.destroy()}if(this.gesture){this.gesture.destroy()}}this.currentBreakpoint=undefined;this.animation=undefined;r();return n}onDidDismiss(){return C(this.el,"ionModalDidDismiss")}onWillDismiss(){return C(this.el,"ionModalWillDismiss")}async setCurrentBreakpoint(t){if(!this.isSheetModal){k("setCurrentBreakpoint is only supported on sheet modals.");return}if(!this.breakpoints.includes(t)){k(`Attempted to set invalid breakpoint value ${t}. Please double check that the breakpoint value is part of your defined breakpoints.`);return}const{currentBreakpoint:e,moveSheetToBreakpoint:o,canDismiss:i,breakpoints:r,animated:a}=this;if(e===t){return}if(o){this.sheetTransition=o({breakpoint:t,breakpointOffset:1-e,canDismiss:i!==undefined&&i!==true&&r[0]===0,animated:a});await this.sheetTransition;this.sheetTransition=undefined}}async getCurrentBreakpoint(){return this.currentBreakpoint}async moveToNextBreakpoint(){const{breakpoints:t,currentBreakpoint:e}=this;if(!t||e==null){return false}const o=t.filter((t=>t!==0));const i=o.indexOf(e);const r=(i+1)%o.length;const a=o[r];await this.setCurrentBreakpoint(a);return true}render(){const{handle:t,isSheetModal:e,presentingElement:o,htmlAttributes:a,handleBehavior:s,inheritedAttributes:n}=this;const d=t!==false&&e;const c=I(this);const p=o!==undefined&&c==="ios";const h=s==="cycle";return i(r,Object.assign({key:"e4ad28e6e794560d85252aebdca7f4752e4e7e99","no-router":true,tabindex:"-1"},a,{style:{zIndex:`${2e4+this.overlayIndex}`},class:Object.assign({[c]:true,["modal-default"]:!p&&!e,[`modal-card`]:p,[`modal-sheet`]:e,"overlay-hidden":true},O(this.cssClass)),onIonBackdropTap:this.onBackdropTap,onIonModalDidPresent:this.onLifecycle,onIonModalWillPresent:this.onLifecycle,onIonModalWillDismiss:this.onLifecycle,onIonModalDidDismiss:this.onLifecycle}),i("ion-backdrop",{key:"6efd67361a062d15488390f9f0d6c0841e541893",ref:t=>this.backdropEl=t,visible:this.showBackdrop,tappable:this.backdropDismiss,part:"backdrop"}),c==="ios"&&i("div",{key:"557b1c6b297df75acc80d1350b971e65ace6c343",class:"modal-shadow"}),i("div",Object.assign({key:"67f9b27b662303fbaadaee2ae89972caadfd9994",role:"dialog"},n,{"aria-modal":"true",class:"modal-wrapper ion-overlay-wrapper",part:"content",ref:t=>this.wrapperEl=t}),d&&i("button",{key:"8f1eecc451b52467a8c3cfe500335cf6254bbfbc",class:"modal-handle",tabIndex:!h?-1:0,"aria-label":"Activate to adjust the size of the dialog overlaying the screen",onClick:h?this.onHandleClick:undefined,part:"handle"}),i("slot",{key:"cdc923404f01a14b9071a434c68547da3b22c71e"})))}get el(){return a(this)}static get watchers(){return{isOpen:["onIsOpenChange"],trigger:["triggerChanged"]}}};const ut={ionModalDidPresent:"ionViewDidEnter",ionModalWillPresent:"ionViewWillEnter",ionModalWillDismiss:"ionViewWillLeave",ionModalDidDismiss:"ionViewDidLeave"};ft.style={ios:pt,md:lt};export{ft as ion_modal};
32
- //# sourceMappingURL=p-6119b57a.entry.js.map
32
+ //# sourceMappingURL=p-6e5c902a.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as o,h as t,H as i}from"./p-42169e41.js";import{c as r}from"./p-669fab6c.js";import{g as a}from"./p-da0d920d.js";const e=":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-text-color, #000);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:1.75rem;font-weight:700;line-height:1.2}";const n=e;const s=":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-850, #262626);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:1.25rem;font-weight:500;line-height:1.2}";const l=s;const c=class{constructor(t){o(this,t);this.color=undefined}render(){const o=a(this);return t(i,{key:"a9e4190346e7d0a8e6089ec1fe01bca0f5f7200d",role:"heading","aria-level":"2",class:r(this.color,{"ion-inherit-color":true,[o]:true})},t("slot",{key:"8d87636ad703545b6d2297629205a5a8616eb94e"}))}};c.style={ios:n,md:l};export{c as ion_card_title};
2
- //# sourceMappingURL=p-0ddcbecd.entry.js.map
1
+ import{r as o,h as t,H as i}from"./p-97889672.js";import{c as r}from"./p-669fab6c.js";import{g as a}from"./p-ebe1c8ca.js";const e=":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-text-color, #000);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:1.75rem;font-weight:700;line-height:1.2}";const n=e;const s=":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-850, #262626);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:1.25rem;font-weight:500;line-height:1.2}";const c=s;const l=class{constructor(t){o(this,t);this.color=undefined}render(){const o=a(this);return t(i,{key:"a9e4190346e7d0a8e6089ec1fe01bca0f5f7200d",role:"heading","aria-level":"2",class:r(this.color,{"ion-inherit-color":true,[o]:true})},t("slot",{key:"8d87636ad703545b6d2297629205a5a8616eb94e"}))}};l.style={ios:n,md:c};export{l as ion_card_title};
2
+ //# sourceMappingURL=p-72ba182e.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as i,h as t,H as r,e as o}from"./p-42169e41.js";import{i as n}from"./p-71ee259b.js";import{o as e,c as a}from"./p-669fab6c.js";import{g as s}from"./p-da0d920d.js";const d=":host{--ion-safe-area-left:0px;--ion-safe-area-right:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.card-disabled){cursor:default;opacity:0.3;pointer-events:none}.card-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;min-height:var(--min-height);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:inherit}.card-native::-moz-focus-inner{border:0}button,a{cursor:pointer;user-select:none;-webkit-user-drag:none}ion-ripple-effect{color:var(--ripple-color)}:host{--background:var(--ion-card-background, var(--ion-item-background, var(--ion-background-color, #fff)));--color:var(--ion-card-color, var(--ion-item-color, var(--ion-color-step-600, #666666)));-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:24px;margin-bottom:24px;border-radius:8px;transition:transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);font-size:0.875rem;box-shadow:0 4px 16px rgba(0, 0, 0, 0.12)}:host(.ion-activated){transform:scale3d(0.97, 0.97, 1)}";const c=d;const l=":host{--ion-safe-area-left:0px;--ion-safe-area-right:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.card-disabled){cursor:default;opacity:0.3;pointer-events:none}.card-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;min-height:var(--min-height);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:inherit}.card-native::-moz-focus-inner{border:0}button,a{cursor:pointer;user-select:none;-webkit-user-drag:none}ion-ripple-effect{color:var(--ripple-color)}:host{--background:var(--ion-card-background, var(--ion-item-background, var(--ion-background-color, #fff)));--color:var(--ion-card-color, var(--ion-item-color, var(--ion-color-step-550, #737373)));-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px;margin-top:10px;margin-bottom:10px;border-radius:4px;font-size:0.875rem;box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)}";const h=l;const p=class{constructor(t){i(this,t);this.inheritedAriaAttributes={};this.color=undefined;this.button=false;this.type="button";this.disabled=false;this.download=undefined;this.href=undefined;this.rel=undefined;this.routerDirection="forward";this.routerAnimation=undefined;this.target=undefined}componentWillLoad(){this.inheritedAriaAttributes=n(this.el,["aria-label"])}isClickable(){return this.href!==undefined||this.button}renderCard(i){const r=this.isClickable();if(!r){return[t("slot",null)]}const{href:o,routerAnimation:n,routerDirection:a,inheritedAriaAttributes:s}=this;const d=r?o===undefined?"button":"a":"div";const c=d==="button"?{type:this.type}:{download:this.download,href:this.href,rel:this.rel,target:this.target};return t(d,Object.assign({},c,s,{class:"card-native",part:"native",disabled:this.disabled,onClick:i=>e(o,i,a,n)}),t("slot",null),r&&i==="md"&&t("ion-ripple-effect",null))}render(){const i=s(this);return t(r,{key:"b92792294360fd974324b31ed2d3db00d3e2f8cd",class:a(this.color,{[i]:true,"card-disabled":this.disabled,"ion-activatable":this.isClickable()})},this.renderCard(i))}get el(){return o(this)}};p.style={ios:c,md:h};export{p as ion_card};
2
- //# sourceMappingURL=p-1b2d32c1.entry.js.map
1
+ import{r as i,h as t,H as r,e as o}from"./p-97889672.js";import{e as n}from"./p-3f316fc4.js";import{o as e,c as a}from"./p-669fab6c.js";import{g as s}from"./p-ebe1c8ca.js";const d=":host{--ion-safe-area-left:0px;--ion-safe-area-right:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.card-disabled){cursor:default;opacity:0.3;pointer-events:none}.card-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;min-height:var(--min-height);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:inherit}.card-native::-moz-focus-inner{border:0}button,a{cursor:pointer;user-select:none;-webkit-user-drag:none}ion-ripple-effect{color:var(--ripple-color)}:host{--background:var(--ion-card-background, var(--ion-item-background, var(--ion-background-color, #fff)));--color:var(--ion-card-color, var(--ion-item-color, var(--ion-color-step-600, #666666)));-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:24px;margin-bottom:24px;border-radius:8px;transition:transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);font-size:0.875rem;box-shadow:0 4px 16px rgba(0, 0, 0, 0.12)}:host(.ion-activated){transform:scale3d(0.97, 0.97, 1)}";const c=d;const l=":host{--ion-safe-area-left:0px;--ion-safe-area-right:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.card-disabled){cursor:default;opacity:0.3;pointer-events:none}.card-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;min-height:var(--min-height);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:inherit}.card-native::-moz-focus-inner{border:0}button,a{cursor:pointer;user-select:none;-webkit-user-drag:none}ion-ripple-effect{color:var(--ripple-color)}:host{--background:var(--ion-card-background, var(--ion-item-background, var(--ion-background-color, #fff)));--color:var(--ion-card-color, var(--ion-item-color, var(--ion-color-step-550, #737373)));-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px;margin-top:10px;margin-bottom:10px;border-radius:4px;font-size:0.875rem;box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)}";const h=l;const f=class{constructor(t){i(this,t);this.inheritedAriaAttributes={};this.color=undefined;this.button=false;this.type="button";this.disabled=false;this.download=undefined;this.href=undefined;this.rel=undefined;this.routerDirection="forward";this.routerAnimation=undefined;this.target=undefined}componentWillLoad(){this.inheritedAriaAttributes=n(this.el,["aria-label"])}isClickable(){return this.href!==undefined||this.button}renderCard(i){const r=this.isClickable();if(!r){return[t("slot",null)]}const{href:o,routerAnimation:n,routerDirection:a,inheritedAriaAttributes:s}=this;const d=r?o===undefined?"button":"a":"div";const c=d==="button"?{type:this.type}:{download:this.download,href:this.href,rel:this.rel,target:this.target};return t(d,Object.assign({},c,s,{class:"card-native",part:"native",disabled:this.disabled,onClick:i=>e(o,i,a,n)}),t("slot",null),r&&i==="md"&&t("ion-ripple-effect",null))}render(){const i=s(this);return t(r,{key:"b92792294360fd974324b31ed2d3db00d3e2f8cd",class:a(this.color,{[i]:true,"card-disabled":this.disabled,"ion-activatable":this.isClickable()})},this.renderCard(i))}get el(){return o(this)}};f.style={ios:c,md:h};export{f as ion_card};
2
+ //# sourceMappingURL=p-8619a806.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,i as e}from"./p-42169e41.js";const i=class{constructor(i){t(this,i);this.ionRouteRedirectChanged=e(this,"ionRouteRedirectChanged",7);this.from=undefined;this.to=undefined}propDidChange(){this.ionRouteRedirectChanged.emit()}connectedCallback(){this.ionRouteRedirectChanged.emit()}static get watchers(){return{from:["propDidChange"],to:["propDidChange"]}}};export{i as ion_route_redirect};
2
- //# sourceMappingURL=p-4383e1bb.entry.js.map
1
+ import{r as t,i as e}from"./p-97889672.js";const i=class{constructor(i){t(this,i);this.ionRouteRedirectChanged=e(this,"ionRouteRedirectChanged",7);this.from=undefined;this.to=undefined}propDidChange(){this.ionRouteRedirectChanged.emit()}connectedCallback(){this.ionRouteRedirectChanged.emit()}static get watchers(){return{from:["propDidChange"],to:["propDidChange"]}}};export{i as ion_route_redirect};
2
+ //# sourceMappingURL=p-87af433a.entry.js.map
@@ -1,4 +1,4 @@
1
- import{w as t,r as e,i,f as o,h as n,H as r,e as a,j as s}from"./p-42169e41.js";import{c,a as l,b as d}from"./p-c8020dbc.js";import{createGesture as p}from"./p-b943833e.js";import{r as h}from"./p-71ee259b.js";import{c as b}from"./p-3a4d289f.js";import{c as u,a as g,B as m,i as f,b as x,d as v,e as k,f as w,p as y,s as z}from"./p-a6c03ce8.js";import{g as j}from"./p-669fab6c.js";import{g as C,c as O}from"./p-da0d920d.js";import{c as D}from"./p-cbf050d6.js";import{E as A,s as I}from"./p-46b6ae86.js";import"./p-21b22219.js";import"./p-7efd6867.js";import"./p-98c00bd2.js";import"./p-1fc8e557.js";import"./p-eba70ed1.js";import"./p-d6769f21.js";
1
+ import{w as t,r as e,i,f as o,h as n,H as r,e as a,k as s}from"./p-97889672.js";import{c,a as l,b as d}from"./p-c8020dbc.js";import{createGesture as p}from"./p-b943833e.js";import{r as h}from"./p-3f316fc4.js";import{c as b}from"./p-3a4d289f.js";import{c as u,a as g,B as m,i as f,b as x,d as v,e as k,f as w,p as y,s as z}from"./p-01adc2b7.js";import{g as j}from"./p-669fab6c.js";import{g as C,c as O}from"./p-ebe1c8ca.js";import{c as D}from"./p-b110cb49.js";import{E as A,s as I}from"./p-46b6ae86.js";import"./p-21b22219.js";import"./p-7efd6867.js";import"./p-98c00bd2.js";import"./p-bde7428a.js";import"./p-30cd90ec.js";import"./p-d6769f21.js";
2
2
  /*!
3
3
  * (C) Ionic http://ionicframework.com - MIT License
4
4
  */const $=(e,i)=>{let o;let n;const r=(t,e,n)=>{if(typeof document==="undefined"){return}const r=document.elementFromPoint(t,e);if(!r||!i(r)){s();return}if(r!==o){s();a(r,n)}};const a=(e,i)=>{o=e;if(!n){n=o}const r=o;t((()=>r.classList.add("ion-activated")));i()};const s=(e=false)=>{if(!o){return}const i=o;t((()=>i.classList.remove("ion-activated")));if(e&&n!==o){o.click()}o=undefined};return p({el:e,gestureName:"buttonActiveDrag",threshold:0,onStart:t=>r(t.currentX,t.currentY,l),onMove:t=>r(t.currentX,t.currentY,d),onEnd:()=>{s(true);c();n=undefined}})};
@@ -26,4 +26,4 @@ import{w as t,r as e,i,f as o,h as n,H as r,e as a,j as s}from"./p-42169e41.js";
26
26
  /*!
27
27
  * (C) Ionic http://ionicframework.com - MIT License
28
28
  */const U=t=>{const e=D();const i=D();const o=D();i.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0);o.addElement(t.querySelector(".alert-wrapper")).fromTo("opacity",.99,0);return e.addElement(t).easing("ease-in-out").duration(150).addAnimation([i,o])};const V=".sc-ion-alert-ios-h{--min-width:250px;--width:auto;--min-height:auto;--height:auto;--max-height:90%;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:flex;position:absolute;align-items:center;justify-content:center;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;touch-action:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-alert-ios-h{display:none}.alert-top.sc-ion-alert-ios-h{padding-top:50px;align-items:flex-start}.alert-wrapper.sc-ion-alert-ios{display:flex;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);contain:content;opacity:0;z-index:10}.alert-title.sc-ion-alert-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}.alert-sub-title.sc-ion-alert-ios{margin-left:0;margin-right:0;margin-top:5px;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-weight:normal}.alert-message.sc-ion-alert-ios,.alert-input-group.sc-ion-alert-ios{box-sizing:border-box;-webkit-overflow-scrolling:touch;overflow-y:auto;overscroll-behavior-y:contain}.alert-checkbox-label.sc-ion-alert-ios,.alert-radio-label.sc-ion-alert-ios{overflow-wrap:anywhere}@media (any-pointer: coarse){.alert-checkbox-group.sc-ion-alert-ios::-webkit-scrollbar,.alert-radio-group.sc-ion-alert-ios::-webkit-scrollbar,.alert-message.sc-ion-alert-ios::-webkit-scrollbar{display:none}}.alert-input.sc-ion-alert-ios{padding-left:0;padding-right:0;padding-top:10px;padding-bottom:10px;width:100%;border:0;background:inherit;font:inherit;box-sizing:border-box}.alert-button-group.sc-ion-alert-ios{display:flex;flex-direction:row;width:100%}.alert-button-group-vertical.sc-ion-alert-ios{flex-direction:column;flex-wrap:nowrap}.alert-button.sc-ion-alert-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;border:0;font-size:0.875rem;line-height:1.25rem;z-index:0}.alert-button.ion-focused.sc-ion-alert-ios,.alert-tappable.ion-focused.sc-ion-alert-ios{background:var(--ion-color-step-100, #e6e6e6)}.alert-button-inner.sc-ion-alert-ios{display:flex;flex-flow:row nowrap;flex-shrink:0;align-items:center;justify-content:center;width:100%;height:100%;min-height:inherit}.alert-input-disabled.sc-ion-alert-ios,.alert-checkbox-button-disabled.sc-ion-alert-ios .alert-button-inner.sc-ion-alert-ios,.alert-radio-button-disabled.sc-ion-alert-ios .alert-button-inner.sc-ion-alert-ios{cursor:default;opacity:0.5;pointer-events:none}.alert-tappable.sc-ion-alert-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;display:flex;width:100%;border:0;background:transparent;font-size:inherit;line-height:initial;text-align:start;appearance:none;contain:content}.alert-button.sc-ion-alert-ios,.alert-checkbox.sc-ion-alert-ios,.alert-input.sc-ion-alert-ios,.alert-radio.sc-ion-alert-ios{outline:none}.alert-radio-icon.sc-ion-alert-ios,.alert-checkbox-icon.sc-ion-alert-ios,.alert-checkbox-inner.sc-ion-alert-ios{box-sizing:border-box}textarea.alert-input.sc-ion-alert-ios{min-height:37px;resize:none}.sc-ion-alert-ios-h{--background:var(--ion-overlay-background-color, var(--ion-color-step-100, #f9f9f9));--max-width:clamp(270px, 16.875rem, 324px);--backdrop-opacity:var(--ion-backdrop-opacity, 0.3);font-size:max(14px, 0.875rem)}.alert-wrapper.sc-ion-alert-ios{border-radius:13px;box-shadow:none;overflow:hidden}.alert-button.sc-ion-alert-ios .alert-button-inner.sc-ion-alert-ios{pointer-events:none}@supports (backdrop-filter: blur(0)){.alert-translucent.sc-ion-alert-ios-h .alert-wrapper.sc-ion-alert-ios{background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.9);backdrop-filter:saturate(180%) blur(20px)}}.alert-head.sc-ion-alert-ios{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:12px;padding-bottom:7px;text-align:center}.alert-title.sc-ion-alert-ios{margin-top:8px;color:var(--ion-text-color, #000);font-size:max(17px, 1.0625rem);font-weight:600}.alert-sub-title.sc-ion-alert-ios{color:var(--ion-color-step-600, #666666);font-size:max(14px, 0.875rem)}.alert-message.sc-ion-alert-ios,.alert-input-group.sc-ion-alert-ios{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0;padding-bottom:21px;color:var(--ion-text-color, #000);font-size:max(13px, 0.8125rem);text-align:center}.alert-message.sc-ion-alert-ios{max-height:240px}.alert-message.sc-ion-alert-ios:empty{padding-left:0;padding-right:0;padding-top:0;padding-bottom:12px}.alert-input.sc-ion-alert-ios{border-radius:4px;margin-top:10px;-webkit-padding-start:6px;padding-inline-start:6px;-webkit-padding-end:6px;padding-inline-end:6px;padding-top:6px;padding-bottom:6px;border:0.55px solid var(--ion-color-step-250, #bfbfbf);background-color:var(--ion-background-color, #fff);appearance:none}.alert-input.sc-ion-alert-ios::placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios::-ms-clear{display:none}.alert-input.sc-ion-alert-ios::-webkit-date-and-time-value{height:18px}.alert-radio-group.sc-ion-alert-ios,.alert-checkbox-group.sc-ion-alert-ios{overscroll-behavior:contain;max-height:240px;border-top:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2);overflow-y:auto;-webkit-overflow-scrolling:touch}.alert-tappable.sc-ion-alert-ios{min-height:44px}.alert-radio-label.sc-ion-alert-ios{-webkit-padding-start:13px;padding-inline-start:13px;-webkit-padding-end:13px;padding-inline-end:13px;padding-top:13px;padding-bottom:13px;flex:1;order:0;color:var(--ion-text-color, #000)}[aria-checked=true].sc-ion-alert-ios .alert-radio-label.sc-ion-alert-ios{color:var(--ion-color-primary, #3880ff)}.alert-radio-icon.sc-ion-alert-ios{position:relative;order:1;min-width:30px}[aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios{top:-7px;position:absolute;width:6px;height:12px;transform:rotate(45deg);border-width:2px;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--ion-color-primary, #3880ff)}@supports (inset-inline-start: 0){[aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios{inset-inline-start:7px}}@supports not (inset-inline-start: 0){[aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios{left:7px}[dir=rtl].sc-ion-alert-ios-h [aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios,[dir=rtl] .sc-ion-alert-ios-h [aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios{left:unset;right:unset;right:7px}[dir=rtl].sc-ion-alert-ios [aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios{left:unset;right:unset;right:7px}@supports selector(:dir(rtl)){[aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios:dir(rtl){left:unset;right:unset;right:7px}}}.alert-checkbox-label.sc-ion-alert-ios{-webkit-padding-start:13px;padding-inline-start:13px;-webkit-padding-end:13px;padding-inline-end:13px;padding-top:13px;padding-bottom:13px;flex:1;color:var(--ion-text-color, #000)}.alert-checkbox-icon.sc-ion-alert-ios{border-radius:50%;-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:6px;margin-inline-end:6px;margin-top:10px;margin-bottom:10px;position:relative;width:min(1.5rem, 66px);height:min(1.5rem, 66px);border-width:0.0625rem;border-style:solid;border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));background-color:var(--ion-item-background, var(--ion-background-color, #fff));contain:strict}[aria-checked=true].sc-ion-alert-ios .alert-checkbox-icon.sc-ion-alert-ios{border-color:var(--ion-color-primary, #3880ff);background-color:var(--ion-color-primary, #3880ff)}[aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios{top:calc(min(1.5rem, 66px) / 6);position:absolute;width:calc(min(1.5rem, 66px) / 6 + 1px);height:calc(min(1.5rem, 66px) * 0.5);transform:rotate(45deg);border-width:0.0625rem;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--ion-background-color, #fff)}@supports (inset-inline-start: 0){[aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios{inset-inline-start:calc(min(1.5rem, 66px) / 3 + 1px)}}@supports not (inset-inline-start: 0){[aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios{left:calc(min(1.5rem, 66px) / 3 + 1px)}[dir=rtl].sc-ion-alert-ios-h [aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios,[dir=rtl] .sc-ion-alert-ios-h [aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios{left:unset;right:unset;right:calc(min(1.5rem, 66px) / 3 + 1px)}[dir=rtl].sc-ion-alert-ios [aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios{left:unset;right:unset;right:calc(min(1.5rem, 66px) / 3 + 1px)}@supports selector(:dir(rtl)){[aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios:dir(rtl){left:unset;right:unset;right:calc(min(1.5rem, 66px) / 3 + 1px)}}}.alert-button-group.sc-ion-alert-ios{-webkit-margin-end:-0.55px;margin-inline-end:-0.55px;flex-wrap:wrap}.alert-button-group-vertical.sc-ion-alert-ios .alert-button.sc-ion-alert-ios{border-right:none}[dir=rtl].sc-ion-alert-ios-h .alert-button-group-vertical.sc-ion-alert-ios .alert-button.sc-ion-alert-ios:last-child,[dir=rtl] .sc-ion-alert-ios-h .alert-button-group-vertical.sc-ion-alert-ios .alert-button.sc-ion-alert-ios:last-child{border-right:none}[dir=rtl].sc-ion-alert-ios .alert-button-group-vertical.sc-ion-alert-ios .alert-button.sc-ion-alert-ios:last-child{border-right:none}@supports selector(:dir(rtl)){.alert-button-group-vertical.sc-ion-alert-ios .alert-button.sc-ion-alert-ios:last-child:dir(rtl){border-right:none}}.alert-button.sc-ion-alert-ios{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;border-radius:0;flex:1 1 auto;min-width:50%;height:max(44px, 2.75rem);border-top:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2);border-right:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2);background-color:transparent;color:var(--ion-color-primary, #3880ff);font-size:max(17px, 1.0625rem);overflow:hidden}[dir=rtl].sc-ion-alert-ios-h .alert-button.sc-ion-alert-ios:first-child,[dir=rtl] .sc-ion-alert-ios-h .alert-button.sc-ion-alert-ios:first-child{border-right:0}[dir=rtl].sc-ion-alert-ios .alert-button.sc-ion-alert-ios:first-child{border-right:0}@supports selector(:dir(rtl)){.alert-button.sc-ion-alert-ios:first-child:dir(rtl){border-right:0}}.alert-button.sc-ion-alert-ios:last-child{border-right:0;font-weight:bold}[dir=rtl].sc-ion-alert-ios-h .alert-button.sc-ion-alert-ios:last-child,[dir=rtl] .sc-ion-alert-ios-h .alert-button.sc-ion-alert-ios:last-child{border-right:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}[dir=rtl].sc-ion-alert-ios .alert-button.sc-ion-alert-ios:last-child{border-right:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}@supports selector(:dir(rtl)){.alert-button.sc-ion-alert-ios:last-child:dir(rtl){border-right:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}}.alert-button.ion-activated.sc-ion-alert-ios{background-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.1)}.alert-button-role-destructive.sc-ion-alert-ios,.alert-button-role-destructive.ion-activated.sc-ion-alert-ios,.alert-button-role-destructive.ion-focused.sc-ion-alert-ios{color:var(--ion-color-danger, #eb445a)}";const F=V;const N=".sc-ion-alert-md-h{--min-width:250px;--width:auto;--min-height:auto;--height:auto;--max-height:90%;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:flex;position:absolute;align-items:center;justify-content:center;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;touch-action:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-alert-md-h{display:none}.alert-top.sc-ion-alert-md-h{padding-top:50px;align-items:flex-start}.alert-wrapper.sc-ion-alert-md{display:flex;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);contain:content;opacity:0;z-index:10}.alert-title.sc-ion-alert-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}.alert-sub-title.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:5px;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-weight:normal}.alert-message.sc-ion-alert-md,.alert-input-group.sc-ion-alert-md{box-sizing:border-box;-webkit-overflow-scrolling:touch;overflow-y:auto;overscroll-behavior-y:contain}.alert-checkbox-label.sc-ion-alert-md,.alert-radio-label.sc-ion-alert-md{overflow-wrap:anywhere}@media (any-pointer: coarse){.alert-checkbox-group.sc-ion-alert-md::-webkit-scrollbar,.alert-radio-group.sc-ion-alert-md::-webkit-scrollbar,.alert-message.sc-ion-alert-md::-webkit-scrollbar{display:none}}.alert-input.sc-ion-alert-md{padding-left:0;padding-right:0;padding-top:10px;padding-bottom:10px;width:100%;border:0;background:inherit;font:inherit;box-sizing:border-box}.alert-button-group.sc-ion-alert-md{display:flex;flex-direction:row;width:100%}.alert-button-group-vertical.sc-ion-alert-md{flex-direction:column;flex-wrap:nowrap}.alert-button.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;border:0;font-size:0.875rem;line-height:1.25rem;z-index:0}.alert-button.ion-focused.sc-ion-alert-md,.alert-tappable.ion-focused.sc-ion-alert-md{background:var(--ion-color-step-100, #e6e6e6)}.alert-button-inner.sc-ion-alert-md{display:flex;flex-flow:row nowrap;flex-shrink:0;align-items:center;justify-content:center;width:100%;height:100%;min-height:inherit}.alert-input-disabled.sc-ion-alert-md,.alert-checkbox-button-disabled.sc-ion-alert-md .alert-button-inner.sc-ion-alert-md,.alert-radio-button-disabled.sc-ion-alert-md .alert-button-inner.sc-ion-alert-md{cursor:default;opacity:0.5;pointer-events:none}.alert-tappable.sc-ion-alert-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;display:flex;width:100%;border:0;background:transparent;font-size:inherit;line-height:initial;text-align:start;appearance:none;contain:content}.alert-button.sc-ion-alert-md,.alert-checkbox.sc-ion-alert-md,.alert-input.sc-ion-alert-md,.alert-radio.sc-ion-alert-md{outline:none}.alert-radio-icon.sc-ion-alert-md,.alert-checkbox-icon.sc-ion-alert-md,.alert-checkbox-inner.sc-ion-alert-md{box-sizing:border-box}textarea.alert-input.sc-ion-alert-md{min-height:37px;resize:none}.sc-ion-alert-md-h{--background:var(--ion-overlay-background-color, var(--ion-background-color, #fff));--max-width:280px;--backdrop-opacity:var(--ion-backdrop-opacity, 0.32);font-size:0.875rem}.alert-wrapper.sc-ion-alert-md{border-radius:4px;box-shadow:0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12)}.alert-head.sc-ion-alert-md{-webkit-padding-start:23px;padding-inline-start:23px;-webkit-padding-end:23px;padding-inline-end:23px;padding-top:20px;padding-bottom:15px;text-align:start}.alert-title.sc-ion-alert-md{color:var(--ion-text-color, #000);font-size:1.25rem;font-weight:500}.alert-sub-title.sc-ion-alert-md{color:var(--ion-text-color, #000);font-size:1rem}.alert-message.sc-ion-alert-md,.alert-input-group.sc-ion-alert-md{-webkit-padding-start:24px;padding-inline-start:24px;-webkit-padding-end:24px;padding-inline-end:24px;padding-top:20px;padding-bottom:20px;color:var(--ion-color-step-550, #737373)}.alert-message.sc-ion-alert-md{font-size:1rem}@media screen and (max-width: 767px){.alert-message.sc-ion-alert-md{max-height:266px}}.alert-message.sc-ion-alert-md:empty{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}.alert-head.sc-ion-alert-md+.alert-message.sc-ion-alert-md{padding-top:0}.alert-input.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:5px;margin-bottom:5px;border-bottom:1px solid var(--ion-color-step-150, #d9d9d9);color:var(--ion-text-color, #000)}.alert-input.sc-ion-alert-md::placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md::-ms-clear{display:none}.alert-input.sc-ion-alert-md:focus{margin-bottom:4px;border-bottom:2px solid var(--ion-color-primary, #3880ff)}.alert-radio-group.sc-ion-alert-md,.alert-checkbox-group.sc-ion-alert-md{position:relative;border-top:1px solid var(--ion-color-step-150, #d9d9d9);border-bottom:1px solid var(--ion-color-step-150, #d9d9d9);overflow:auto}@media screen and (max-width: 767px){.alert-radio-group.sc-ion-alert-md,.alert-checkbox-group.sc-ion-alert-md{max-height:266px}}.alert-tappable.sc-ion-alert-md{position:relative;min-height:48px}.alert-radio-label.sc-ion-alert-md{-webkit-padding-start:52px;padding-inline-start:52px;-webkit-padding-end:26px;padding-inline-end:26px;padding-top:13px;padding-bottom:13px;flex:1;color:var(--ion-color-step-850, #262626);font-size:1rem}.alert-radio-icon.sc-ion-alert-md{top:0;border-radius:50%;display:block;position:relative;width:20px;height:20px;border-width:2px;border-style:solid;border-color:var(--ion-color-step-550, #737373)}@supports (inset-inline-start: 0){.alert-radio-icon.sc-ion-alert-md{inset-inline-start:26px}}@supports not (inset-inline-start: 0){.alert-radio-icon.sc-ion-alert-md{left:26px}[dir=rtl].sc-ion-alert-md-h .alert-radio-icon.sc-ion-alert-md,[dir=rtl] .sc-ion-alert-md-h .alert-radio-icon.sc-ion-alert-md{left:unset;right:unset;right:26px}[dir=rtl].sc-ion-alert-md .alert-radio-icon.sc-ion-alert-md{left:unset;right:unset;right:26px}@supports selector(:dir(rtl)){.alert-radio-icon.sc-ion-alert-md:dir(rtl){left:unset;right:unset;right:26px}}}.alert-radio-inner.sc-ion-alert-md{top:3px;border-radius:50%;position:absolute;width:10px;height:10px;transform:scale3d(0, 0, 0);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--ion-color-primary, #3880ff)}@supports (inset-inline-start: 0){.alert-radio-inner.sc-ion-alert-md{inset-inline-start:3px}}@supports not (inset-inline-start: 0){.alert-radio-inner.sc-ion-alert-md{left:3px}[dir=rtl].sc-ion-alert-md-h .alert-radio-inner.sc-ion-alert-md,[dir=rtl] .sc-ion-alert-md-h .alert-radio-inner.sc-ion-alert-md{left:unset;right:unset;right:3px}[dir=rtl].sc-ion-alert-md .alert-radio-inner.sc-ion-alert-md{left:unset;right:unset;right:3px}@supports selector(:dir(rtl)){.alert-radio-inner.sc-ion-alert-md:dir(rtl){left:unset;right:unset;right:3px}}}[aria-checked=true].sc-ion-alert-md .alert-radio-label.sc-ion-alert-md{color:var(--ion-color-step-850, #262626)}[aria-checked=true].sc-ion-alert-md .alert-radio-icon.sc-ion-alert-md{border-color:var(--ion-color-primary, #3880ff)}[aria-checked=true].sc-ion-alert-md .alert-radio-inner.sc-ion-alert-md{transform:scale3d(1, 1, 1)}.alert-checkbox-label.sc-ion-alert-md{-webkit-padding-start:53px;padding-inline-start:53px;-webkit-padding-end:26px;padding-inline-end:26px;padding-top:13px;padding-bottom:13px;flex:1;width:calc(100% - 53px);color:var(--ion-color-step-850, #262626);font-size:1rem}.alert-checkbox-icon.sc-ion-alert-md{top:0;border-radius:2px;position:relative;width:16px;height:16px;border-width:2px;border-style:solid;border-color:var(--ion-color-step-550, #737373);contain:strict}@supports (inset-inline-start: 0){.alert-checkbox-icon.sc-ion-alert-md{inset-inline-start:26px}}@supports not (inset-inline-start: 0){.alert-checkbox-icon.sc-ion-alert-md{left:26px}[dir=rtl].sc-ion-alert-md-h .alert-checkbox-icon.sc-ion-alert-md,[dir=rtl] .sc-ion-alert-md-h .alert-checkbox-icon.sc-ion-alert-md{left:unset;right:unset;right:26px}[dir=rtl].sc-ion-alert-md .alert-checkbox-icon.sc-ion-alert-md{left:unset;right:unset;right:26px}@supports selector(:dir(rtl)){.alert-checkbox-icon.sc-ion-alert-md:dir(rtl){left:unset;right:unset;right:26px}}}[aria-checked=true].sc-ion-alert-md .alert-checkbox-icon.sc-ion-alert-md{border-color:var(--ion-color-primary, #3880ff);background-color:var(--ion-color-primary, #3880ff)}[aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md{top:0;position:absolute;width:6px;height:10px;transform:rotate(45deg);border-width:2px;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--ion-color-primary-contrast, #fff)}@supports (inset-inline-start: 0){[aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md{inset-inline-start:3px}}@supports not (inset-inline-start: 0){[aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md{left:3px}[dir=rtl].sc-ion-alert-md-h [aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md,[dir=rtl] .sc-ion-alert-md-h [aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md{left:unset;right:unset;right:3px}[dir=rtl].sc-ion-alert-md [aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md{left:unset;right:unset;right:3px}@supports selector(:dir(rtl)){[aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md:dir(rtl){left:unset;right:unset;right:3px}}}.alert-button-group.sc-ion-alert-md{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;box-sizing:border-box;flex-wrap:wrap-reverse;justify-content:flex-end}.alert-button.sc-ion-alert-md{border-radius:2px;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:0;margin-bottom:0;-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:10px;padding-bottom:10px;position:relative;background-color:transparent;color:var(--ion-color-primary, #3880ff);font-weight:500;text-align:end;text-transform:uppercase;overflow:hidden}.alert-button-inner.sc-ion-alert-md{justify-content:flex-end}@media screen and (min-width: 768px){.sc-ion-alert-md-h{--max-width:min(100vw - 96px, 560px);--max-height:min(100vh - 96px, 560px)}}";const q=N;const G=class{constructor(t){e(this,t);this.didPresent=i(this,"ionAlertDidPresent",7);this.willPresent=i(this,"ionAlertWillPresent",7);this.willDismiss=i(this,"ionAlertWillDismiss",7);this.didDismiss=i(this,"ionAlertDidDismiss",7);this.didPresentShorthand=i(this,"didPresent",7);this.willPresentShorthand=i(this,"willPresent",7);this.willDismissShorthand=i(this,"willDismiss",7);this.didDismissShorthand=i(this,"didDismiss",7);this.delegateController=u(this);this.lockController=b();this.triggerController=g();this.customHTMLEnabled=O.get("innerHTMLTemplatesEnabled",A);this.processedInputs=[];this.processedButtons=[];this.presented=false;this.onBackdropTap=()=>{this.dismiss(undefined,m)};this.dispatchCancelHandler=t=>{const e=t.detail.role;if(f(e)){const t=this.processedButtons.find((t=>t.role==="cancel"));this.callButtonHandler(t)}};this.overlayIndex=undefined;this.delegate=undefined;this.hasController=false;this.keyboardClose=true;this.enterAnimation=undefined;this.leaveAnimation=undefined;this.cssClass=undefined;this.header=undefined;this.subHeader=undefined;this.message=undefined;this.buttons=[];this.inputs=[];this.backdropDismiss=true;this.translucent=false;this.animated=true;this.htmlAttributes=undefined;this.isOpen=false;this.trigger=undefined}onIsOpenChange(t,e){if(t===true&&e===false){this.present()}else if(t===false&&e===true){this.dismiss()}}triggerChanged(){const{trigger:t,el:e,triggerController:i}=this;if(t){i.addClickListener(e,t)}}onKeydown(t){const e=new Set(this.processedInputs.map((t=>t.type)));if(e.has("checkbox")&&t.key==="Enter"){t.preventDefault();return}if(!e.has("radio")||t.target&&!this.el.contains(t.target)||t.target.classList.contains("alert-button")){return}const i=this.el.querySelectorAll(".alert-radio");const o=Array.from(i).filter((t=>!t.disabled));const n=o.findIndex((e=>e.id===t.target.id));let r;if(["ArrowDown","ArrowRight"].includes(t.key)){r=n===o.length-1?o[0]:o[n+1]}if(["ArrowUp","ArrowLeft"].includes(t.key)){r=n===0?o[o.length-1]:o[n-1]}if(r&&o.includes(r)){const t=this.processedInputs.find((t=>t.id===(r===null||r===void 0?void 0:r.id)));if(t){this.rbClick(t);r.focus()}}}buttonsChanged(){const t=this.buttons;this.processedButtons=t.map((t=>typeof t==="string"?{text:t,role:t.toLowerCase()==="cancel"?"cancel":undefined}:t))}inputsChanged(){const t=this.inputs;const e=t.find((t=>!t.disabled));const i=t.find((t=>t.checked&&!t.disabled));const o=i||e;const n=new Set(t.map((t=>t.type)));if(n.has("checkbox")&&n.has("radio")){console.warn(`Alert cannot mix input types: ${Array.from(n.values()).join("/")}. Please see alert docs for more info.`)}this.inputType=n.values().next().value;this.processedInputs=t.map(((t,e)=>{var i;return{type:t.type||"text",name:t.name||`${e}`,placeholder:t.placeholder||"",value:t.value,label:t.label,checked:!!t.checked,disabled:!!t.disabled,id:t.id||`alert-input-${this.overlayIndex}-${e}`,handler:t.handler,min:t.min,max:t.max,cssClass:(i=t.cssClass)!==null&&i!==void 0?i:"",attributes:t.attributes||{},tabindex:t.type==="radio"&&t!==o?-1:0}}))}connectedCallback(){y(this.el);this.triggerChanged()}componentWillLoad(){z(this.el);this.inputsChanged();this.buttonsChanged()}disconnectedCallback(){this.triggerController.removeClickListener();if(this.gesture){this.gesture.destroy();this.gesture=undefined}}componentDidLoad(){if(!this.gesture&&C(this)==="ios"&&this.wrapperEl){this.gesture=$(this.wrapperEl,(t=>t.classList.contains("alert-button")));this.gesture.enable(true)}if(this.isOpen===true){h((()=>this.present()))}this.triggerChanged()}async present(){const t=await this.lockController.lock();await this.delegateController.attachViewToDom();await x(this,"alertEnter",_,K);t()}async dismiss(t,e){const i=await this.lockController.lock();const o=await v(this,t,e,"alertLeave",R,U);if(o){this.delegateController.removeViewFromDom()}i();return o}onDidDismiss(){return k(this.el,"ionAlertDidDismiss")}onWillDismiss(){return k(this.el,"ionAlertWillDismiss")}rbClick(t){for(const e of this.processedInputs){e.checked=e===t;e.tabindex=e===t?0:-1}this.activeId=t.id;w(t.handler,t);s(this)}cbClick(t){t.checked=!t.checked;w(t.handler,t);s(this)}async buttonClick(t){const e=t.role;const i=this.getValues();if(f(e)){return this.dismiss({values:i},e)}const o=await this.callButtonHandler(t,i);if(o!==false){return this.dismiss(Object.assign({values:i},o),t.role)}return false}async callButtonHandler(t,e){if(t===null||t===void 0?void 0:t.handler){const i=await w(t.handler,e);if(i===false){return false}if(typeof i==="object"){return i}}return{}}getValues(){if(this.processedInputs.length===0){return undefined}if(this.inputType==="radio"){const t=this.processedInputs.find((t=>!!t.checked));return t?t.value:undefined}if(this.inputType==="checkbox"){return this.processedInputs.filter((t=>t.checked)).map((t=>t.value))}const t={};this.processedInputs.forEach((e=>{t[e.name]=e.value||""}));return t}renderAlertInputs(){switch(this.inputType){case"checkbox":return this.renderCheckbox();case"radio":return this.renderRadio();default:return this.renderInput()}}renderCheckbox(){const t=this.processedInputs;const e=C(this);if(t.length===0){return null}return n("div",{class:"alert-checkbox-group"},t.map((t=>n("button",{type:"button",onClick:()=>this.cbClick(t),"aria-checked":`${t.checked}`,id:t.id,disabled:t.disabled,tabIndex:t.tabindex,role:"checkbox",class:Object.assign(Object.assign({},j(t.cssClass)),{"alert-tappable":true,"alert-checkbox":true,"alert-checkbox-button":true,"ion-focusable":true,"alert-checkbox-button-disabled":t.disabled||false})},n("div",{class:"alert-button-inner"},n("div",{class:"alert-checkbox-icon"},n("div",{class:"alert-checkbox-inner"})),n("div",{class:"alert-checkbox-label"},t.label)),e==="md"&&n("ion-ripple-effect",null)))))}renderRadio(){const t=this.processedInputs;if(t.length===0){return null}return n("div",{class:"alert-radio-group",role:"radiogroup","aria-activedescendant":this.activeId},t.map((t=>n("button",{type:"button",onClick:()=>this.rbClick(t),"aria-checked":`${t.checked}`,disabled:t.disabled,id:t.id,tabIndex:t.tabindex,class:Object.assign(Object.assign({},j(t.cssClass)),{"alert-radio-button":true,"alert-tappable":true,"alert-radio":true,"ion-focusable":true,"alert-radio-button-disabled":t.disabled||false}),role:"radio"},n("div",{class:"alert-button-inner"},n("div",{class:"alert-radio-icon"},n("div",{class:"alert-radio-inner"})),n("div",{class:"alert-radio-label"},t.label))))))}renderInput(){const t=this.processedInputs;if(t.length===0){return null}return n("div",{class:"alert-input-group"},t.map((t=>{var e,i,o,r;if(t.type==="textarea"){return n("div",{class:"alert-input-wrapper"},n("textarea",Object.assign({placeholder:t.placeholder,value:t.value,id:t.id,tabIndex:t.tabindex},t.attributes,{disabled:(i=(e=t.attributes)===null||e===void 0?void 0:e.disabled)!==null&&i!==void 0?i:t.disabled,class:J(t),onInput:e=>{var i;t.value=e.target.value;if((i=t.attributes)===null||i===void 0?void 0:i.onInput){t.attributes.onInput(e)}}})))}else{return n("div",{class:"alert-input-wrapper"},n("input",Object.assign({placeholder:t.placeholder,type:t.type,min:t.min,max:t.max,value:t.value,id:t.id,tabIndex:t.tabindex},t.attributes,{disabled:(r=(o=t.attributes)===null||o===void 0?void 0:o.disabled)!==null&&r!==void 0?r:t.disabled,class:J(t),onInput:e=>{var i;t.value=e.target.value;if((i=t.attributes)===null||i===void 0?void 0:i.onInput){t.attributes.onInput(e)}}})))}})))}renderAlertButtons(){const t=this.processedButtons;const e=C(this);const i={"alert-button-group":true,"alert-button-group-vertical":t.length>2};return n("div",{class:i},t.map((t=>n("button",Object.assign({},t.htmlAttributes,{type:"button",id:t.id,class:Q(t),tabIndex:0,onClick:()=>this.buttonClick(t)}),n("span",{class:"alert-button-inner"},t.text),e==="md"&&n("ion-ripple-effect",null)))))}renderAlertMessage(t){const{customHTMLEnabled:e,message:i}=this;if(e){return n("div",{id:t,class:"alert-message",innerHTML:I(i)})}return n("div",{id:t,class:"alert-message"},i)}render(){const{overlayIndex:t,header:e,subHeader:i,message:o,htmlAttributes:a}=this;const s=C(this);const c=`alert-${t}-hdr`;const l=`alert-${t}-sub-hdr`;const d=`alert-${t}-msg`;const p=this.inputs.length>0||this.buttons.length>0?"alertdialog":"alert";const h=e?c:i?l:null;return n(r,Object.assign({key:"d623baf94bddc6b1932f128f6a605c6232b37fb5",role:p,"aria-modal":"true","aria-labelledby":h,"aria-describedby":o!==undefined?d:null,tabindex:"-1"},a,{style:{zIndex:`${2e4+t}`},class:Object.assign(Object.assign({},j(this.cssClass)),{[s]:true,"overlay-hidden":true,"alert-translucent":this.translucent}),onIonAlertWillDismiss:this.dispatchCancelHandler,onIonBackdropTap:this.onBackdropTap}),n("ion-backdrop",{key:"a594ba787a73a33ba10e7a32ca863bd610730cb6",tappable:this.backdropDismiss}),n("div",{key:"c95ef8332f46ce93fb8d3b7f0168ae5b939c52fd",tabindex:"0"}),n("div",{key:"1895ea338a8e446d01c6151552af658e1e1c841d",class:"alert-wrapper ion-overlay-wrapper",ref:t=>this.wrapperEl=t},n("div",{key:"5156393eb8a8f3e60e7d4bce20b0b85196141b0e",class:"alert-head"},e&&n("h2",{key:"72ba8253644adfeeb8472531234d3572af28b473",id:c,class:"alert-title"},e),i&&n("h2",{key:"eb8d2443170fbea182199bb3b3f5446c98f1c17e",id:l,class:"alert-sub-title"},i)),this.renderAlertMessage(d),this.renderAlertInputs(),this.renderAlertButtons()),n("div",{key:"13c6fac1a58574156951ae2dfdd24790c0812e11",tabindex:"0"}))}get el(){return a(this)}static get watchers(){return{isOpen:["onIsOpenChange"],trigger:["triggerChanged"],buttons:["buttonsChanged"],inputs:["inputsChanged"]}}};const J=t=>{var e,i,o;return Object.assign(Object.assign({"alert-input":true,"alert-input-disabled":((i=(e=t.attributes)===null||e===void 0?void 0:e.disabled)!==null&&i!==void 0?i:t.disabled)||false},j(t.cssClass)),j(t.attributes?(o=t.attributes.class)===null||o===void 0?void 0:o.toString():""))};const Q=t=>Object.assign({"alert-button":true,"ion-focusable":true,"ion-activatable":true,[`alert-button-role-${t.role}`]:t.role!==undefined},j(t.cssClass));G.style={ios:F,md:q};const X=".sc-ion-select-popover-ios-h ion-list.sc-ion-select-popover-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}ion-list-header.sc-ion-select-popover-ios,ion-label.sc-ion-select-popover-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.sc-ion-select-popover-ios-h{overflow-y:auto}";const Z=X;const tt=".sc-ion-select-popover-md-h ion-list.sc-ion-select-popover-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}ion-list-header.sc-ion-select-popover-md,ion-label.sc-ion-select-popover-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.sc-ion-select-popover-md-h{overflow-y:auto}ion-list.sc-ion-select-popover-md ion-radio.sc-ion-select-popover-md::part(container){opacity:0}ion-item.sc-ion-select-popover-md{--inner-border-width:0}.item-radio-checked.sc-ion-select-popover-md{--background:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.08);--background-focused:var(--ion-color-primary, #3880ff);--background-focused-opacity:0.2;--background-hover:var(--ion-color-primary, #3880ff);--background-hover-opacity:0.12}.item-checkbox-checked.sc-ion-select-popover-md{--background-activated:var(--ion-item-color, var(--ion-text-color, #000));--background-focused:var(--ion-item-color, var(--ion-text-color, #000));--background-hover:var(--ion-item-color, var(--ion-text-color, #000));--color:var(--ion-color-primary, #3880ff)}";const et=tt;const it=class{constructor(t){e(this,t);this.header=undefined;this.subHeader=undefined;this.message=undefined;this.multiple=undefined;this.options=[]}findOptionFromEvent(t){const{options:e}=this;return e.find((e=>e.value===t.target.value))}callOptionHandler(t){const e=this.findOptionFromEvent(t);const i=this.getValues(t);if(e===null||e===void 0?void 0:e.handler){w(e.handler,i)}}dismissParentPopover(){const t=this.el.closest("ion-popover");if(t){t.dismiss()}}setChecked(t){const{multiple:e}=this;const i=this.findOptionFromEvent(t);if(e&&i){i.checked=t.detail.checked}}getValues(t){const{multiple:e,options:i}=this;if(e){return i.filter((t=>t.checked)).map((t=>t.value))}const o=this.findOptionFromEvent(t);return o?o.value:undefined}renderOptions(t){const{multiple:e}=this;switch(e){case true:return this.renderCheckboxOptions(t);default:return this.renderRadioOptions(t)}}renderCheckboxOptions(t){return t.map((t=>n("ion-item",{class:Object.assign({"item-checkbox-checked":t.checked},j(t.cssClass))},n("ion-checkbox",{value:t.value,disabled:t.disabled,checked:t.checked,justify:"start",labelPlacement:"end",onIonChange:t=>{this.setChecked(t);this.callOptionHandler(t);s(this)}},t.text))))}renderRadioOptions(t){const e=t.filter((t=>t.checked)).map((t=>t.value))[0];return n("ion-radio-group",{value:e,onIonChange:t=>this.callOptionHandler(t)},t.map((t=>n("ion-item",{class:Object.assign({"item-radio-checked":t.value===e},j(t.cssClass))},n("ion-radio",{value:t.value,disabled:t.disabled,onClick:()=>this.dismissParentPopover(),onKeyUp:t=>{if(t.key===" "){this.dismissParentPopover()}}},t.text)))))}render(){const{header:t,message:e,options:i,subHeader:o}=this;const a=o!==undefined||e!==undefined;return n(r,{key:"ddf45e058c75aae175f8589e3539ff152a5b47ad",class:C(this)},n("ion-list",{key:"52dbf712bf6cbdcb9d2e6223b99c67ecc90977ff"},t!==undefined&&n("ion-list-header",{key:"692fc85c97591f09a2a9b0bccc8f71e97681cc09"},t),a&&n("ion-item",{key:"ecab23444eaadc3ed21e7053d50890db1012475f"},n("ion-label",{key:"639f08137d7066fd79316f63e850ddcc6a3b54a7",class:"ion-text-wrap"},o!==undefined&&n("h3",{key:"dc501101ac9d68b1d0ce80679b339a2b132d1ae9"},o),e!==undefined&&n("p",{key:"5ead8c1a2e90d29fe0f05e04a9fa65c7e9e62ca5"},e))),this.renderOptions(i)))}get el(){return a(this)}};it.style={ios:Z,md:et};export{T as ion_action_sheet,G as ion_alert,it as ion_select_popover};
29
- //# sourceMappingURL=p-f96384f2.entry.js.map
29
+ //# sourceMappingURL=p-87eb06bc.entry.js.map
@@ -0,0 +1,2 @@
1
+ import{r as t,h as o,H as n,e}from"./p-97889672.js";import{i}from"./p-3f316fc4.js";import{m as r}from"./p-5a8e7149.js";import{c as a,h as d}from"./p-669fab6c.js";import{m as s,l as c}from"./p-acfa402f.js";import{g as l,c as h}from"./p-ebe1c8ca.js";import{u as p}from"./p-bf5335d4.js";import"./p-7efd6867.js";import"./p-bde7428a.js";import"./p-d6769f21.js";import"./p-b110cb49.js";const b=':host{--background:transparent;--color-focused:currentColor;--border-radius:initial;--padding-top:0;--padding-bottom:0;color:var(--color);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;font-kerning:none}.button-native{border-radius:var(--border-radius);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;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;flex-flow:row nowrap;flex-shrink:0;align-items:center;justify-content:center;width:100%;height:100%;min-height:inherit;border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;overflow:hidden;user-select:none;z-index:0;appearance:none}.button-inner{display:flex;position:relative;flex-flow:row nowrap;flex-shrink:0;align-items:center;justify-content:center;width:100%;height:100%;min-height:inherit;z-index:1}ion-icon{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;pointer-events:none}:host(.menu-button-hidden){display:none}:host(.menu-button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@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, 0)}}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--background-focused:currentColor;--background-focused-opacity:.1;--border-radius:4px;--color:var(--ion-color-primary, #3880ff);--padding-start:5px;--padding-end:5px;min-height:32px;font-size:clamp(31px, 1.9375rem, 38.13px)}:host(.ion-activated){opacity:0.4}@media (any-hover: hover){:host(:hover){opacity:0.6}}';const u=b;const g=':host{--background:transparent;--color-focused:currentColor;--border-radius:initial;--padding-top:0;--padding-bottom:0;color:var(--color);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;font-kerning:none}.button-native{border-radius:var(--border-radius);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;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;flex-flow:row nowrap;flex-shrink:0;align-items:center;justify-content:center;width:100%;height:100%;min-height:inherit;border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;overflow:hidden;user-select:none;z-index:0;appearance:none}.button-inner{display:flex;position:relative;flex-flow:row nowrap;flex-shrink:0;align-items:center;justify-content:center;width:100%;height:100%;min-height:inherit;z-index:1}ion-icon{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;pointer-events:none}:host(.menu-button-hidden){display:none}:host(.menu-button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@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, 0)}}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--background-focused:currentColor;--background-focused-opacity:.12;--background-hover:currentColor;--background-hover-opacity:.04;--border-radius:50%;--color:initial;--padding-start:8px;--padding-end:8px;width:3rem;height:3rem;font-size:1.5rem}:host(.ion-color.ion-focused)::after{background:var(--ion-color-base)}@media (any-hover: hover){:host(.ion-color:hover) .button-native::after{background:var(--ion-color-base)}}';const f=g;const m=class{constructor(o){t(this,o);this.inheritedAttributes={};this.onClick=async()=>r.toggle(this.menu);this.visible=false;this.color=undefined;this.disabled=false;this.menu=undefined;this.autoHide=true;this.type="button"}componentWillLoad(){this.inheritedAttributes=i(this.el)}componentDidLoad(){this.visibilityChanged()}async visibilityChanged(){this.visible=await p(this.menu)}render(){const{color:t,disabled:e,inheritedAttributes:i}=this;const r=l(this);const p=h.get("menuIcon",r==="ios"?s:c);const b=this.autoHide&&!this.visible;const u={type:this.type};const g=i["aria-label"]||"menu";return o(n,{key:"7a4543dfcbf559f0d3a473683f8e0bd1d4c3542a",onClick:this.onClick,"aria-disabled":e?"true":null,"aria-hidden":b?"true":null,class:a(t,{[r]:true,button:true,"menu-button-hidden":b,"menu-button-disabled":e,"in-toolbar":d("ion-toolbar",this.el),"in-toolbar-color":d("ion-toolbar[color]",this.el),"ion-activatable":true,"ion-focusable":true})},o("button",Object.assign({key:"2b6944dc130fa765ac7559077254555583529ec3"},u,{disabled:e,class:"button-native",part:"native","aria-label":g}),o("span",{key:"b4d1006bec8c9e761c64ae3e2fb64848dfc30307",class:"button-inner"},o("slot",{key:"eaf1d57cd2e841c70095821576c52062dc76500b"},o("ion-icon",{key:"105ddb806aae2e6add6cb3989fd4a5cf5ee7d952",part:"icon",icon:p,mode:r,lazy:false,"aria-hidden":"true"}))),r==="md"&&o("ion-ripple-effect",{key:"8a312aab747de2bdd6adee74fb0bfcbbde12c191",type:"unbounded"})))}get el(){return e(this)}};m.style={ios:u,md:f};export{m as ion_menu_button};
2
+ //# sourceMappingURL=p-8a691722.entry.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["menuButtonIosCss","IonMenuButtonIosStyle0","menuButtonMdCss","IonMenuButtonMdStyle0","MenuButton","constructor","hostRef","this","inheritedAttributes","onClick","async","menuController","toggle","menu","visible","color","undefined","disabled","autoHide","type","componentWillLoad","inheritAriaAttributes","el","componentDidLoad","visibilityChanged","updateVisibility","render","mode","getIonMode","menuIcon","config","get","menuOutline","menuSharp","hidden","attrs","ariaLabel","h","Host","key","class","createColorClasses","button","hostContext","Object","assign","part","icon","lazy"],"sources":["../node_modules/@ionic/core/dist/collection/components/menu-button/menu-button.ios.css?tag=ion-menu-button&mode=ios&encapsulation=shadow","../node_modules/@ionic/core/dist/collection/components/menu-button/menu-button.md.css?tag=ion-menu-button&mode=md&encapsulation=shadow","../node_modules/@ionic/core/dist/collection/components/menu-button/menu-button.js"],"sourcesContent":["/**\n * Convert a font size to a dynamic font size.\n * Fonts that participate in Dynamic Type should use\n * dynamic font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param unit (optional) - The unit to convert to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a maximum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a minimum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * maximum and minimum font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * A heuristic that applies CSS to tablet\n * viewports.\n *\n * Usage:\n * @include tablet-viewport() {\n * :host {\n * background-color: green;\n * }\n * }\n */\n/**\n * A heuristic that applies CSS to mobile\n * viewports (i.e. phones, not tablets).\n *\n * Usage:\n * @include mobile-viewport() {\n * :host {\n * background-color: blue;\n * }\n * }\n */\n/**\n * Convert a font size to a dynamic font size.\n * Fonts that participate in Dynamic Type should use\n * dynamic font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param unit (optional) - The unit to convert to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a maximum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a minimum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * maximum and minimum font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * A heuristic that applies CSS to tablet\n * viewports.\n *\n * Usage:\n * @include tablet-viewport() {\n * :host {\n * background-color: green;\n * }\n * }\n */\n/**\n * A heuristic that applies CSS to mobile\n * viewports (i.e. phones, not tablets).\n *\n * Usage:\n * @include mobile-viewport() {\n * :host {\n * background-color: blue;\n * }\n * }\n */\n:host {\n /**\n * @prop --border-radius: Border radius of the menu button\n *\n * @prop --background: Background of the menu button\n * @prop --background-hover: Background of the menu button on hover\n * @prop --background-hover-opacity: Opacity of the background on hover\n * @prop --background-focused: Background of the menu button when focused with the tab key\n * @prop --background-focused-opacity: Opacity of the menu button background when focused with the tab key\n *\n * @prop --color: Color of the menu button\n * @prop --color-hover: Color of the menu button on hover\n * @prop --color-focused: Color of the menu button when focused with the tab key\n *\n * @prop --padding-top: Top padding of the button\n * @prop --padding-end: Right padding if direction is left-to-right, and left padding if direction is right-to-left of the button\n * @prop --padding-bottom: Bottom padding of the button\n * @prop --padding-start: Left padding if direction is left-to-right, and right padding if direction is right-to-left of the button\n */\n --background: transparent;\n --color-focused: currentColor;\n --border-radius: initial;\n --padding-top: 0;\n --padding-bottom: 0;\n color: var(--color);\n text-align: center;\n text-decoration: none;\n text-overflow: ellipsis;\n text-transform: none;\n white-space: nowrap;\n font-kerning: none;\n}\n\n.button-native {\n border-radius: var(--border-radius);\n font-family: inherit;\n font-size: inherit;\n font-style: inherit;\n font-weight: inherit;\n letter-spacing: inherit;\n text-decoration: inherit;\n text-indent: inherit;\n text-overflow: inherit;\n text-transform: inherit;\n text-align: inherit;\n white-space: inherit;\n color: inherit;\n margin-left: 0;\n margin-right: 0;\n margin-top: 0;\n margin-bottom: 0;\n -webkit-padding-start: var(--padding-start);\n padding-inline-start: var(--padding-start);\n -webkit-padding-end: var(--padding-end);\n padding-inline-end: var(--padding-end);\n padding-top: var(--padding-top);\n padding-bottom: var(--padding-bottom);\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n display: flex;\n position: relative;\n flex-flow: row nowrap;\n flex-shrink: 0;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n min-height: inherit;\n border: 0;\n outline: none;\n background: var(--background);\n line-height: 1;\n cursor: pointer;\n overflow: hidden;\n user-select: none;\n z-index: 0;\n appearance: none;\n}\n\n.button-inner {\n display: flex;\n position: relative;\n flex-flow: row nowrap;\n flex-shrink: 0;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n min-height: inherit;\n z-index: 1;\n}\n\nion-icon {\n margin-left: 0;\n margin-right: 0;\n margin-top: 0;\n margin-bottom: 0;\n padding-left: 0;\n padding-right: 0;\n padding-top: 0;\n padding-bottom: 0;\n pointer-events: none;\n}\n\n:host(.menu-button-hidden) {\n display: none;\n}\n\n:host(.menu-button-disabled) {\n cursor: default;\n opacity: 0.5;\n pointer-events: none;\n}\n\n:host(.ion-focused) .button-native {\n color: var(--color-focused);\n}\n:host(.ion-focused) .button-native::after {\n background: var(--background-focused);\n opacity: var(--background-focused-opacity);\n}\n\n.button-native::after {\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n position: absolute;\n content: \"\";\n opacity: 0;\n}\n\n@media (any-hover: hover) {\n :host(:hover) .button-native {\n color: var(--color-hover);\n }\n :host(:hover) .button-native::after {\n background: var(--background-hover);\n opacity: var(--background-hover-opacity, 0);\n }\n}\n:host(.ion-color) .button-native {\n color: var(--ion-color-base);\n}\n\n:host(.in-toolbar:not(.in-toolbar-color)) {\n color: var(--ion-toolbar-color, var(--color));\n}\n\n:host {\n --background-focused: currentColor;\n --background-focused-opacity: .1;\n --border-radius: 4px;\n --color: var(--ion-color-primary, #3880ff);\n --padding-start: 5px;\n --padding-end: 5px;\n min-height: 32px;\n font-size: clamp(31px, 1.9375rem, 38.13px);\n}\n\n:host(.ion-activated) {\n opacity: 0.4;\n}\n\n@media (any-hover: hover) {\n :host(:hover) {\n opacity: 0.6;\n }\n}","/**\n * Convert a font size to a dynamic font size.\n * Fonts that participate in Dynamic Type should use\n * dynamic font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param unit (optional) - The unit to convert to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a maximum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a minimum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * maximum and minimum font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * A heuristic that applies CSS to tablet\n * viewports.\n *\n * Usage:\n * @include tablet-viewport() {\n * :host {\n * background-color: green;\n * }\n * }\n */\n/**\n * A heuristic that applies CSS to mobile\n * viewports (i.e. phones, not tablets).\n *\n * Usage:\n * @include mobile-viewport() {\n * :host {\n * background-color: blue;\n * }\n * }\n */\n/**\n * Convert a font size to a dynamic font size.\n * Fonts that participate in Dynamic Type should use\n * dynamic font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param unit (optional) - The unit to convert to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a maximum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a minimum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * maximum and minimum font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * A heuristic that applies CSS to tablet\n * viewports.\n *\n * Usage:\n * @include tablet-viewport() {\n * :host {\n * background-color: green;\n * }\n * }\n */\n/**\n * A heuristic that applies CSS to mobile\n * viewports (i.e. phones, not tablets).\n *\n * Usage:\n * @include mobile-viewport() {\n * :host {\n * background-color: blue;\n * }\n * }\n */\n:host {\n /**\n * @prop --border-radius: Border radius of the menu button\n *\n * @prop --background: Background of the menu button\n * @prop --background-hover: Background of the menu button on hover\n * @prop --background-hover-opacity: Opacity of the background on hover\n * @prop --background-focused: Background of the menu button when focused with the tab key\n * @prop --background-focused-opacity: Opacity of the menu button background when focused with the tab key\n *\n * @prop --color: Color of the menu button\n * @prop --color-hover: Color of the menu button on hover\n * @prop --color-focused: Color of the menu button when focused with the tab key\n *\n * @prop --padding-top: Top padding of the button\n * @prop --padding-end: Right padding if direction is left-to-right, and left padding if direction is right-to-left of the button\n * @prop --padding-bottom: Bottom padding of the button\n * @prop --padding-start: Left padding if direction is left-to-right, and right padding if direction is right-to-left of the button\n */\n --background: transparent;\n --color-focused: currentColor;\n --border-radius: initial;\n --padding-top: 0;\n --padding-bottom: 0;\n color: var(--color);\n text-align: center;\n text-decoration: none;\n text-overflow: ellipsis;\n text-transform: none;\n white-space: nowrap;\n font-kerning: none;\n}\n\n.button-native {\n border-radius: var(--border-radius);\n font-family: inherit;\n font-size: inherit;\n font-style: inherit;\n font-weight: inherit;\n letter-spacing: inherit;\n text-decoration: inherit;\n text-indent: inherit;\n text-overflow: inherit;\n text-transform: inherit;\n text-align: inherit;\n white-space: inherit;\n color: inherit;\n margin-left: 0;\n margin-right: 0;\n margin-top: 0;\n margin-bottom: 0;\n -webkit-padding-start: var(--padding-start);\n padding-inline-start: var(--padding-start);\n -webkit-padding-end: var(--padding-end);\n padding-inline-end: var(--padding-end);\n padding-top: var(--padding-top);\n padding-bottom: var(--padding-bottom);\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n display: flex;\n position: relative;\n flex-flow: row nowrap;\n flex-shrink: 0;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n min-height: inherit;\n border: 0;\n outline: none;\n background: var(--background);\n line-height: 1;\n cursor: pointer;\n overflow: hidden;\n user-select: none;\n z-index: 0;\n appearance: none;\n}\n\n.button-inner {\n display: flex;\n position: relative;\n flex-flow: row nowrap;\n flex-shrink: 0;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n min-height: inherit;\n z-index: 1;\n}\n\nion-icon {\n margin-left: 0;\n margin-right: 0;\n margin-top: 0;\n margin-bottom: 0;\n padding-left: 0;\n padding-right: 0;\n padding-top: 0;\n padding-bottom: 0;\n pointer-events: none;\n}\n\n:host(.menu-button-hidden) {\n display: none;\n}\n\n:host(.menu-button-disabled) {\n cursor: default;\n opacity: 0.5;\n pointer-events: none;\n}\n\n:host(.ion-focused) .button-native {\n color: var(--color-focused);\n}\n:host(.ion-focused) .button-native::after {\n background: var(--background-focused);\n opacity: var(--background-focused-opacity);\n}\n\n.button-native::after {\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n position: absolute;\n content: \"\";\n opacity: 0;\n}\n\n@media (any-hover: hover) {\n :host(:hover) .button-native {\n color: var(--color-hover);\n }\n :host(:hover) .button-native::after {\n background: var(--background-hover);\n opacity: var(--background-hover-opacity, 0);\n }\n}\n:host(.ion-color) .button-native {\n color: var(--ion-color-base);\n}\n\n:host(.in-toolbar:not(.in-toolbar-color)) {\n color: var(--ion-toolbar-color, var(--color));\n}\n\n:host {\n --background-focused: currentColor;\n --background-focused-opacity: .12;\n --background-hover: currentColor;\n --background-hover-opacity: .04;\n --border-radius: 50%;\n --color: initial;\n --padding-start: 8px;\n --padding-end: 8px;\n width: 3rem;\n height: 3rem;\n font-size: 1.5rem;\n}\n\n:host(.ion-color.ion-focused)::after {\n background: var(--ion-color-base);\n}\n\n@media (any-hover: hover) {\n :host(.ion-color:hover) .button-native::after {\n background: var(--ion-color-base);\n }\n}","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { Host, h } from \"@stencil/core\";\nimport { inheritAriaAttributes } from \"../../utils/helpers\";\nimport { menuController } from \"../../utils/menu-controller/index\";\nimport { createColorClasses, hostContext } from \"../../utils/theme\";\nimport { menuOutline, menuSharp } from \"ionicons/icons\";\nimport { config } from \"../../global/config\";\nimport { getIonMode } from \"../../global/ionic-global\";\nimport { updateVisibility } from \"../menu-toggle/menu-toggle-util\";\n/**\n * @virtualProp {\"ios\" | \"md\"} mode - The mode determines which platform styles to use.\n *\n * @part native - The native HTML button element that wraps all child elements.\n * @part icon - The menu button icon (uses ion-icon).\n */\nexport class MenuButton {\n constructor() {\n this.inheritedAttributes = {};\n this.onClick = async () => {\n return menuController.toggle(this.menu);\n };\n this.visible = false;\n this.color = undefined;\n this.disabled = false;\n this.menu = undefined;\n this.autoHide = true;\n this.type = 'button';\n }\n componentWillLoad() {\n this.inheritedAttributes = inheritAriaAttributes(this.el);\n }\n componentDidLoad() {\n this.visibilityChanged();\n }\n async visibilityChanged() {\n this.visible = await updateVisibility(this.menu);\n }\n render() {\n const { color, disabled, inheritedAttributes } = this;\n const mode = getIonMode(this);\n const menuIcon = config.get('menuIcon', mode === 'ios' ? menuOutline : menuSharp);\n const hidden = this.autoHide && !this.visible;\n const attrs = {\n type: this.type,\n };\n const ariaLabel = inheritedAttributes['aria-label'] || 'menu';\n return (h(Host, { key: '7a4543dfcbf559f0d3a473683f8e0bd1d4c3542a', onClick: this.onClick, \"aria-disabled\": disabled ? 'true' : null, \"aria-hidden\": hidden ? 'true' : null, class: createColorClasses(color, {\n [mode]: true,\n button: true, // ion-buttons target .button\n 'menu-button-hidden': hidden,\n 'menu-button-disabled': disabled,\n 'in-toolbar': hostContext('ion-toolbar', this.el),\n 'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),\n 'ion-activatable': true,\n 'ion-focusable': true,\n }) }, h(\"button\", Object.assign({ key: '2b6944dc130fa765ac7559077254555583529ec3' }, attrs, { disabled: disabled, class: \"button-native\", part: \"native\", \"aria-label\": ariaLabel }), h(\"span\", { key: 'b4d1006bec8c9e761c64ae3e2fb64848dfc30307', class: \"button-inner\" }, h(\"slot\", { key: 'eaf1d57cd2e841c70095821576c52062dc76500b' }, h(\"ion-icon\", { key: '105ddb806aae2e6add6cb3989fd4a5cf5ee7d952', part: \"icon\", icon: menuIcon, mode: mode, lazy: false, \"aria-hidden\": \"true\" }))), mode === 'md' && h(\"ion-ripple-effect\", { key: '8a312aab747de2bdd6adee74fb0bfcbbde12c191', type: \"unbounded\" }))));\n }\n static get is() { return \"ion-menu-button\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"ios\": [\"menu-button.ios.scss\"],\n \"md\": [\"menu-button.md.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"ios\": [\"menu-button.ios.css\"],\n \"md\": [\"menu-button.md.css\"]\n };\n }\n static get properties() {\n return {\n \"color\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Color\",\n \"resolved\": \"\\\"danger\\\" | \\\"dark\\\" | \\\"light\\\" | \\\"medium\\\" | \\\"primary\\\" | \\\"secondary\\\" | \\\"success\\\" | \\\"tertiary\\\" | \\\"warning\\\" | string & Record<never, never> | undefined\",\n \"references\": {\n \"Color\": {\n \"location\": \"import\",\n \"path\": \"../../interface\",\n \"id\": \"src/interface.d.ts::Color\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The color to use from your application's color palette.\\nDefault options are: `\\\"primary\\\"`, `\\\"secondary\\\"`, `\\\"tertiary\\\"`, `\\\"success\\\"`, `\\\"warning\\\"`, `\\\"danger\\\"`, `\\\"light\\\"`, `\\\"medium\\\"`, and `\\\"dark\\\"`.\\nFor more information on colors, see [theming](/docs/theming/basics).\"\n },\n \"attribute\": \"color\",\n \"reflect\": true\n },\n \"disabled\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the user cannot interact with the menu button.\"\n },\n \"attribute\": \"disabled\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"menu\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Optional property that maps to a Menu's `menuId` prop. Can also be `start` or `end` for the menu side. This is used to find the correct menu to toggle\"\n },\n \"attribute\": \"menu\",\n \"reflect\": false\n },\n \"autoHide\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Automatically hides the menu button when the corresponding menu is not active\"\n },\n \"attribute\": \"auto-hide\",\n \"reflect\": false,\n \"defaultValue\": \"true\"\n },\n \"type\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"'submit' | 'reset' | 'button'\",\n \"resolved\": \"\\\"button\\\" | \\\"reset\\\" | \\\"submit\\\"\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The type of the button.\"\n },\n \"attribute\": \"type\",\n \"reflect\": false,\n \"defaultValue\": \"'button'\"\n }\n };\n }\n static get states() {\n return {\n \"visible\": {}\n };\n }\n static get elementRef() { return \"el\"; }\n static get listeners() {\n return [{\n \"name\": \"ionMenuChange\",\n \"method\": \"visibilityChanged\",\n \"target\": \"body\",\n \"capture\": false,\n \"passive\": false\n }, {\n \"name\": \"ionSplitPaneVisible\",\n \"method\": \"visibilityChanged\",\n \"target\": \"body\",\n \"capture\": false,\n \"passive\": false\n }];\n }\n}\n"],"mappings":"iYAAA,MAAMA,EAAmB,2gFACzB,MAAAC,EAAeD,ECDf,MAAME,EAAkB,wnFACxB,MAAAC,EAAeD,E,MCgBFE,EAAU,MACnB,WAAAC,CAAAC,G,UACIC,KAAKC,oBAAsB,GAC3BD,KAAKE,QAAUC,SACJC,EAAeC,OAAOL,KAAKM,MAEtCN,KAAKO,QAAU,MACfP,KAAKQ,MAAQC,UACbT,KAAKU,SAAW,MAChBV,KAAKM,KAAOG,UACZT,KAAKW,SAAW,KAChBX,KAAKY,KAAO,Q,CAEhB,iBAAAC,GACIb,KAAKC,oBAAsBa,EAAsBd,KAAKe,G,CAE1D,gBAAAC,GACIhB,KAAKiB,mB,CAET,uBAAMA,GACFjB,KAAKO,cAAgBW,EAAiBlB,KAAKM,K,CAE/C,MAAAa,GACI,MAAMX,MAAEA,EAAKE,SAAEA,EAAQT,oBAAEA,GAAwBD,KACjD,MAAMoB,EAAOC,EAAWrB,MACxB,MAAMsB,EAAWC,EAAOC,IAAI,WAAYJ,IAAS,MAAQK,EAAcC,GACvE,MAAMC,EAAS3B,KAAKW,WAAaX,KAAKO,QACtC,MAAMqB,EAAQ,CACVhB,KAAMZ,KAAKY,MAEf,MAAMiB,EAAY5B,EAAoB,eAAiB,OACvD,OAAQ6B,EAAEC,EAAM,CAAEC,IAAK,2CAA4C9B,QAASF,KAAKE,QAAS,gBAAiBQ,EAAW,OAAS,KAAM,cAAeiB,EAAS,OAAS,KAAMM,MAAOC,EAAmB1B,EAAO,CACrMY,CAACA,GAAO,KACRe,OAAQ,KACR,qBAAsBR,EACtB,uBAAwBjB,EACxB,aAAc0B,EAAY,cAAepC,KAAKe,IAC9C,mBAAoBqB,EAAY,qBAAsBpC,KAAKe,IAC3D,kBAAmB,KACnB,gBAAiB,QACfe,EAAE,SAAUO,OAAOC,OAAO,CAAEN,IAAK,4CAA8CJ,EAAO,CAAElB,SAAUA,EAAUuB,MAAO,gBAAiBM,KAAM,SAAU,aAAcV,IAAcC,EAAE,OAAQ,CAAEE,IAAK,2CAA4CC,MAAO,gBAAkBH,EAAE,OAAQ,CAAEE,IAAK,4CAA8CF,EAAE,WAAY,CAAEE,IAAK,2CAA4CO,KAAM,OAAQC,KAAMlB,EAAUF,KAAMA,EAAMqB,KAAM,MAAO,cAAe,WAAarB,IAAS,MAAQU,EAAE,oBAAqB,CAAEE,IAAK,2CAA4CpB,KAAM,e","ignoreList":[]}
1
+ {"version":3,"names":["menuButtonIosCss","IonMenuButtonIosStyle0","menuButtonMdCss","IonMenuButtonMdStyle0","MenuButton","constructor","hostRef","this","inheritedAttributes","onClick","async","menuController","toggle","menu","visible","color","undefined","disabled","autoHide","type","componentWillLoad","inheritAriaAttributes","el","componentDidLoad","visibilityChanged","updateVisibility","render","mode","getIonMode","menuIcon","config","get","menuOutline","menuSharp","hidden","attrs","ariaLabel","h","Host","key","class","createColorClasses","button","hostContext","Object","assign","part","icon","lazy"],"sources":["../node_modules/@ionic/core/dist/collection/components/menu-button/menu-button.ios.css?tag=ion-menu-button&mode=ios&encapsulation=shadow","../node_modules/@ionic/core/dist/collection/components/menu-button/menu-button.md.css?tag=ion-menu-button&mode=md&encapsulation=shadow","../node_modules/@ionic/core/dist/collection/components/menu-button/menu-button.js"],"sourcesContent":["/**\n * Convert a font size to a dynamic font size.\n * Fonts that participate in Dynamic Type should use\n * dynamic font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param unit (optional) - The unit to convert to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a maximum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a minimum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * maximum and minimum font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * A heuristic that applies CSS to tablet\n * viewports.\n *\n * Usage:\n * @include tablet-viewport() {\n * :host {\n * background-color: green;\n * }\n * }\n */\n/**\n * A heuristic that applies CSS to mobile\n * viewports (i.e. phones, not tablets).\n *\n * Usage:\n * @include mobile-viewport() {\n * :host {\n * background-color: blue;\n * }\n * }\n */\n/**\n * Convert a font size to a dynamic font size.\n * Fonts that participate in Dynamic Type should use\n * dynamic font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param unit (optional) - The unit to convert to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a maximum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a minimum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * maximum and minimum font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * A heuristic that applies CSS to tablet\n * viewports.\n *\n * Usage:\n * @include tablet-viewport() {\n * :host {\n * background-color: green;\n * }\n * }\n */\n/**\n * A heuristic that applies CSS to mobile\n * viewports (i.e. phones, not tablets).\n *\n * Usage:\n * @include mobile-viewport() {\n * :host {\n * background-color: blue;\n * }\n * }\n */\n:host {\n /**\n * @prop --border-radius: Border radius of the menu button\n *\n * @prop --background: Background of the menu button\n * @prop --background-hover: Background of the menu button on hover\n * @prop --background-hover-opacity: Opacity of the background on hover\n * @prop --background-focused: Background of the menu button when focused with the tab key\n * @prop --background-focused-opacity: Opacity of the menu button background when focused with the tab key\n *\n * @prop --color: Color of the menu button\n * @prop --color-hover: Color of the menu button on hover\n * @prop --color-focused: Color of the menu button when focused with the tab key\n *\n * @prop --padding-top: Top padding of the button\n * @prop --padding-end: Right padding if direction is left-to-right, and left padding if direction is right-to-left of the button\n * @prop --padding-bottom: Bottom padding of the button\n * @prop --padding-start: Left padding if direction is left-to-right, and right padding if direction is right-to-left of the button\n */\n --background: transparent;\n --color-focused: currentColor;\n --border-radius: initial;\n --padding-top: 0;\n --padding-bottom: 0;\n color: var(--color);\n text-align: center;\n text-decoration: none;\n text-overflow: ellipsis;\n text-transform: none;\n white-space: nowrap;\n font-kerning: none;\n}\n\n.button-native {\n border-radius: var(--border-radius);\n font-family: inherit;\n font-size: inherit;\n font-style: inherit;\n font-weight: inherit;\n letter-spacing: inherit;\n text-decoration: inherit;\n text-indent: inherit;\n text-overflow: inherit;\n text-transform: inherit;\n text-align: inherit;\n white-space: inherit;\n color: inherit;\n margin-left: 0;\n margin-right: 0;\n margin-top: 0;\n margin-bottom: 0;\n -webkit-padding-start: var(--padding-start);\n padding-inline-start: var(--padding-start);\n -webkit-padding-end: var(--padding-end);\n padding-inline-end: var(--padding-end);\n padding-top: var(--padding-top);\n padding-bottom: var(--padding-bottom);\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n display: flex;\n position: relative;\n flex-flow: row nowrap;\n flex-shrink: 0;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n min-height: inherit;\n border: 0;\n outline: none;\n background: var(--background);\n line-height: 1;\n cursor: pointer;\n overflow: hidden;\n user-select: none;\n z-index: 0;\n appearance: none;\n}\n\n.button-inner {\n display: flex;\n position: relative;\n flex-flow: row nowrap;\n flex-shrink: 0;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n min-height: inherit;\n z-index: 1;\n}\n\nion-icon {\n margin-left: 0;\n margin-right: 0;\n margin-top: 0;\n margin-bottom: 0;\n padding-left: 0;\n padding-right: 0;\n padding-top: 0;\n padding-bottom: 0;\n pointer-events: none;\n}\n\n:host(.menu-button-hidden) {\n display: none;\n}\n\n:host(.menu-button-disabled) {\n cursor: default;\n opacity: 0.5;\n pointer-events: none;\n}\n\n:host(.ion-focused) .button-native {\n color: var(--color-focused);\n}\n:host(.ion-focused) .button-native::after {\n background: var(--background-focused);\n opacity: var(--background-focused-opacity);\n}\n\n.button-native::after {\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n position: absolute;\n content: \"\";\n opacity: 0;\n}\n\n@media (any-hover: hover) {\n :host(:hover) .button-native {\n color: var(--color-hover);\n }\n :host(:hover) .button-native::after {\n background: var(--background-hover);\n opacity: var(--background-hover-opacity, 0);\n }\n}\n:host(.ion-color) .button-native {\n color: var(--ion-color-base);\n}\n\n:host(.in-toolbar:not(.in-toolbar-color)) {\n color: var(--ion-toolbar-color, var(--color));\n}\n\n:host {\n --background-focused: currentColor;\n --background-focused-opacity: .1;\n --border-radius: 4px;\n --color: var(--ion-color-primary, #3880ff);\n --padding-start: 5px;\n --padding-end: 5px;\n min-height: 32px;\n font-size: clamp(31px, 1.9375rem, 38.13px);\n}\n\n:host(.ion-activated) {\n opacity: 0.4;\n}\n\n@media (any-hover: hover) {\n :host(:hover) {\n opacity: 0.6;\n }\n}","/**\n * Convert a font size to a dynamic font size.\n * Fonts that participate in Dynamic Type should use\n * dynamic font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param unit (optional) - The unit to convert to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a maximum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a minimum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * maximum and minimum font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * A heuristic that applies CSS to tablet\n * viewports.\n *\n * Usage:\n * @include tablet-viewport() {\n * :host {\n * background-color: green;\n * }\n * }\n */\n/**\n * A heuristic that applies CSS to mobile\n * viewports (i.e. phones, not tablets).\n *\n * Usage:\n * @include mobile-viewport() {\n * :host {\n * background-color: blue;\n * }\n * }\n */\n/**\n * Convert a font size to a dynamic font size.\n * Fonts that participate in Dynamic Type should use\n * dynamic font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param unit (optional) - The unit to convert to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a maximum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a minimum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * maximum and minimum font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * A heuristic that applies CSS to tablet\n * viewports.\n *\n * Usage:\n * @include tablet-viewport() {\n * :host {\n * background-color: green;\n * }\n * }\n */\n/**\n * A heuristic that applies CSS to mobile\n * viewports (i.e. phones, not tablets).\n *\n * Usage:\n * @include mobile-viewport() {\n * :host {\n * background-color: blue;\n * }\n * }\n */\n:host {\n /**\n * @prop --border-radius: Border radius of the menu button\n *\n * @prop --background: Background of the menu button\n * @prop --background-hover: Background of the menu button on hover\n * @prop --background-hover-opacity: Opacity of the background on hover\n * @prop --background-focused: Background of the menu button when focused with the tab key\n * @prop --background-focused-opacity: Opacity of the menu button background when focused with the tab key\n *\n * @prop --color: Color of the menu button\n * @prop --color-hover: Color of the menu button on hover\n * @prop --color-focused: Color of the menu button when focused with the tab key\n *\n * @prop --padding-top: Top padding of the button\n * @prop --padding-end: Right padding if direction is left-to-right, and left padding if direction is right-to-left of the button\n * @prop --padding-bottom: Bottom padding of the button\n * @prop --padding-start: Left padding if direction is left-to-right, and right padding if direction is right-to-left of the button\n */\n --background: transparent;\n --color-focused: currentColor;\n --border-radius: initial;\n --padding-top: 0;\n --padding-bottom: 0;\n color: var(--color);\n text-align: center;\n text-decoration: none;\n text-overflow: ellipsis;\n text-transform: none;\n white-space: nowrap;\n font-kerning: none;\n}\n\n.button-native {\n border-radius: var(--border-radius);\n font-family: inherit;\n font-size: inherit;\n font-style: inherit;\n font-weight: inherit;\n letter-spacing: inherit;\n text-decoration: inherit;\n text-indent: inherit;\n text-overflow: inherit;\n text-transform: inherit;\n text-align: inherit;\n white-space: inherit;\n color: inherit;\n margin-left: 0;\n margin-right: 0;\n margin-top: 0;\n margin-bottom: 0;\n -webkit-padding-start: var(--padding-start);\n padding-inline-start: var(--padding-start);\n -webkit-padding-end: var(--padding-end);\n padding-inline-end: var(--padding-end);\n padding-top: var(--padding-top);\n padding-bottom: var(--padding-bottom);\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n display: flex;\n position: relative;\n flex-flow: row nowrap;\n flex-shrink: 0;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n min-height: inherit;\n border: 0;\n outline: none;\n background: var(--background);\n line-height: 1;\n cursor: pointer;\n overflow: hidden;\n user-select: none;\n z-index: 0;\n appearance: none;\n}\n\n.button-inner {\n display: flex;\n position: relative;\n flex-flow: row nowrap;\n flex-shrink: 0;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n min-height: inherit;\n z-index: 1;\n}\n\nion-icon {\n margin-left: 0;\n margin-right: 0;\n margin-top: 0;\n margin-bottom: 0;\n padding-left: 0;\n padding-right: 0;\n padding-top: 0;\n padding-bottom: 0;\n pointer-events: none;\n}\n\n:host(.menu-button-hidden) {\n display: none;\n}\n\n:host(.menu-button-disabled) {\n cursor: default;\n opacity: 0.5;\n pointer-events: none;\n}\n\n:host(.ion-focused) .button-native {\n color: var(--color-focused);\n}\n:host(.ion-focused) .button-native::after {\n background: var(--background-focused);\n opacity: var(--background-focused-opacity);\n}\n\n.button-native::after {\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n position: absolute;\n content: \"\";\n opacity: 0;\n}\n\n@media (any-hover: hover) {\n :host(:hover) .button-native {\n color: var(--color-hover);\n }\n :host(:hover) .button-native::after {\n background: var(--background-hover);\n opacity: var(--background-hover-opacity, 0);\n }\n}\n:host(.ion-color) .button-native {\n color: var(--ion-color-base);\n}\n\n:host(.in-toolbar:not(.in-toolbar-color)) {\n color: var(--ion-toolbar-color, var(--color));\n}\n\n:host {\n --background-focused: currentColor;\n --background-focused-opacity: .12;\n --background-hover: currentColor;\n --background-hover-opacity: .04;\n --border-radius: 50%;\n --color: initial;\n --padding-start: 8px;\n --padding-end: 8px;\n width: 3rem;\n height: 3rem;\n font-size: 1.5rem;\n}\n\n:host(.ion-color.ion-focused)::after {\n background: var(--ion-color-base);\n}\n\n@media (any-hover: hover) {\n :host(.ion-color:hover) .button-native::after {\n background: var(--ion-color-base);\n }\n}","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { Host, h } from \"@stencil/core\";\nimport { inheritAriaAttributes } from \"../../utils/helpers\";\nimport { menuController } from \"../../utils/menu-controller/index\";\nimport { createColorClasses, hostContext } from \"../../utils/theme\";\nimport { menuOutline, menuSharp } from \"ionicons/icons\";\nimport { config } from \"../../global/config\";\nimport { getIonMode } from \"../../global/ionic-global\";\nimport { updateVisibility } from \"../menu-toggle/menu-toggle-util\";\n/**\n * @virtualProp {\"ios\" | \"md\"} mode - The mode determines which platform styles to use.\n *\n * @part native - The native HTML button element that wraps all child elements.\n * @part icon - The menu button icon (uses ion-icon).\n */\nexport class MenuButton {\n constructor() {\n this.inheritedAttributes = {};\n this.onClick = async () => {\n return menuController.toggle(this.menu);\n };\n this.visible = false;\n this.color = undefined;\n this.disabled = false;\n this.menu = undefined;\n this.autoHide = true;\n this.type = 'button';\n }\n componentWillLoad() {\n this.inheritedAttributes = inheritAriaAttributes(this.el);\n }\n componentDidLoad() {\n this.visibilityChanged();\n }\n async visibilityChanged() {\n this.visible = await updateVisibility(this.menu);\n }\n render() {\n const { color, disabled, inheritedAttributes } = this;\n const mode = getIonMode(this);\n const menuIcon = config.get('menuIcon', mode === 'ios' ? menuOutline : menuSharp);\n const hidden = this.autoHide && !this.visible;\n const attrs = {\n type: this.type,\n };\n const ariaLabel = inheritedAttributes['aria-label'] || 'menu';\n return (h(Host, { key: '7a4543dfcbf559f0d3a473683f8e0bd1d4c3542a', onClick: this.onClick, \"aria-disabled\": disabled ? 'true' : null, \"aria-hidden\": hidden ? 'true' : null, class: createColorClasses(color, {\n [mode]: true,\n button: true, // ion-buttons target .button\n 'menu-button-hidden': hidden,\n 'menu-button-disabled': disabled,\n 'in-toolbar': hostContext('ion-toolbar', this.el),\n 'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),\n 'ion-activatable': true,\n 'ion-focusable': true,\n }) }, h(\"button\", Object.assign({ key: '2b6944dc130fa765ac7559077254555583529ec3' }, attrs, { disabled: disabled, class: \"button-native\", part: \"native\", \"aria-label\": ariaLabel }), h(\"span\", { key: 'b4d1006bec8c9e761c64ae3e2fb64848dfc30307', class: \"button-inner\" }, h(\"slot\", { key: 'eaf1d57cd2e841c70095821576c52062dc76500b' }, h(\"ion-icon\", { key: '105ddb806aae2e6add6cb3989fd4a5cf5ee7d952', part: \"icon\", icon: menuIcon, mode: mode, lazy: false, \"aria-hidden\": \"true\" }))), mode === 'md' && h(\"ion-ripple-effect\", { key: '8a312aab747de2bdd6adee74fb0bfcbbde12c191', type: \"unbounded\" }))));\n }\n static get is() { return \"ion-menu-button\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"ios\": [\"menu-button.ios.scss\"],\n \"md\": [\"menu-button.md.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"ios\": [\"menu-button.ios.css\"],\n \"md\": [\"menu-button.md.css\"]\n };\n }\n static get properties() {\n return {\n \"color\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Color\",\n \"resolved\": \"\\\"danger\\\" | \\\"dark\\\" | \\\"light\\\" | \\\"medium\\\" | \\\"primary\\\" | \\\"secondary\\\" | \\\"success\\\" | \\\"tertiary\\\" | \\\"warning\\\" | string & Record<never, never> | undefined\",\n \"references\": {\n \"Color\": {\n \"location\": \"import\",\n \"path\": \"../../interface\",\n \"id\": \"src/interface.d.ts::Color\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The color to use from your application's color palette.\\nDefault options are: `\\\"primary\\\"`, `\\\"secondary\\\"`, `\\\"tertiary\\\"`, `\\\"success\\\"`, `\\\"warning\\\"`, `\\\"danger\\\"`, `\\\"light\\\"`, `\\\"medium\\\"`, and `\\\"dark\\\"`.\\nFor more information on colors, see [theming](/docs/theming/basics).\"\n },\n \"attribute\": \"color\",\n \"reflect\": true\n },\n \"disabled\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the user cannot interact with the menu button.\"\n },\n \"attribute\": \"disabled\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"menu\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Optional property that maps to a Menu's `menuId` prop. Can also be `start` or `end` for the menu side. This is used to find the correct menu to toggle\"\n },\n \"attribute\": \"menu\",\n \"reflect\": false\n },\n \"autoHide\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Automatically hides the menu button when the corresponding menu is not active\"\n },\n \"attribute\": \"auto-hide\",\n \"reflect\": false,\n \"defaultValue\": \"true\"\n },\n \"type\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"'submit' | 'reset' | 'button'\",\n \"resolved\": \"\\\"button\\\" | \\\"reset\\\" | \\\"submit\\\"\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The type of the button.\"\n },\n \"attribute\": \"type\",\n \"reflect\": false,\n \"defaultValue\": \"'button'\"\n }\n };\n }\n static get states() {\n return {\n \"visible\": {}\n };\n }\n static get elementRef() { return \"el\"; }\n static get listeners() {\n return [{\n \"name\": \"ionMenuChange\",\n \"method\": \"visibilityChanged\",\n \"target\": \"body\",\n \"capture\": false,\n \"passive\": false\n }, {\n \"name\": \"ionSplitPaneVisible\",\n \"method\": \"visibilityChanged\",\n \"target\": \"body\",\n \"capture\": false,\n \"passive\": false\n }];\n }\n}\n"],"mappings":"4XAAA,MAAMA,EAAmB,2gFACzB,MAAAC,EAAeD,ECDf,MAAME,EAAkB,wnFACxB,MAAAC,EAAeD,E,MCgBFE,EAAU,MACnB,WAAAC,CAAAC,G,UACIC,KAAKC,oBAAsB,GAC3BD,KAAKE,QAAUC,SACJC,EAAeC,OAAOL,KAAKM,MAEtCN,KAAKO,QAAU,MACfP,KAAKQ,MAAQC,UACbT,KAAKU,SAAW,MAChBV,KAAKM,KAAOG,UACZT,KAAKW,SAAW,KAChBX,KAAKY,KAAO,Q,CAEhB,iBAAAC,GACIb,KAAKC,oBAAsBa,EAAsBd,KAAKe,G,CAE1D,gBAAAC,GACIhB,KAAKiB,mB,CAET,uBAAMA,GACFjB,KAAKO,cAAgBW,EAAiBlB,KAAKM,K,CAE/C,MAAAa,GACI,MAAMX,MAAEA,EAAKE,SAAEA,EAAQT,oBAAEA,GAAwBD,KACjD,MAAMoB,EAAOC,EAAWrB,MACxB,MAAMsB,EAAWC,EAAOC,IAAI,WAAYJ,IAAS,MAAQK,EAAcC,GACvE,MAAMC,EAAS3B,KAAKW,WAAaX,KAAKO,QACtC,MAAMqB,EAAQ,CACVhB,KAAMZ,KAAKY,MAEf,MAAMiB,EAAY5B,EAAoB,eAAiB,OACvD,OAAQ6B,EAAEC,EAAM,CAAEC,IAAK,2CAA4C9B,QAASF,KAAKE,QAAS,gBAAiBQ,EAAW,OAAS,KAAM,cAAeiB,EAAS,OAAS,KAAMM,MAAOC,EAAmB1B,EAAO,CACrMY,CAACA,GAAO,KACRe,OAAQ,KACR,qBAAsBR,EACtB,uBAAwBjB,EACxB,aAAc0B,EAAY,cAAepC,KAAKe,IAC9C,mBAAoBqB,EAAY,qBAAsBpC,KAAKe,IAC3D,kBAAmB,KACnB,gBAAiB,QACfe,EAAE,SAAUO,OAAOC,OAAO,CAAEN,IAAK,4CAA8CJ,EAAO,CAAElB,SAAUA,EAAUuB,MAAO,gBAAiBM,KAAM,SAAU,aAAcV,IAAcC,EAAE,OAAQ,CAAEE,IAAK,2CAA4CC,MAAO,gBAAkBH,EAAE,OAAQ,CAAEE,IAAK,4CAA8CF,EAAE,WAAY,CAAEE,IAAK,2CAA4CO,KAAM,OAAQC,KAAMlB,EAAUF,KAAMA,EAAMqB,KAAM,MAAO,cAAe,WAAarB,IAAS,MAAQU,EAAE,oBAAqB,CAAEE,IAAK,2CAA4CpB,KAAM,e","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- import{r as t,h as e,H as i,e as n}from"./p-42169e41.js";import{b as a,a as o}from"./p-71ee259b.js";import{a as s}from"./p-d6769f21.js";import{c as r}from"./p-669fab6c.js";import{g as d}from"./p-da0d920d.js";import{s as c,x as l,L as m,N as h,M as p}from"./p-ecdb52e8.js";const u=":host{display:flex;flex-wrap:wrap;align-items:center;justify-content:center}:host button{border-radius:8px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;margin-top:0px;margin-bottom:0px;position:relative;transition:150ms color ease-in-out;border:none;background:var(--ion-color-step-300, #edeef0);color:var(--ion-text-color, #000);font-family:inherit;font-size:1rem;cursor:pointer;overflow:hidden;appearance:none}:host(.time-active) #time-button,:host(.date-active) #date-button{color:var(--ion-color-base)}:host(.datetime-button-disabled){pointer-events:none}:host(.datetime-button-disabled) button{opacity:0.4}";const f=u;const b=":host{display:flex;flex-wrap:wrap;align-items:center;justify-content:center}:host button{border-radius:8px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;margin-top:0px;margin-bottom:0px;position:relative;transition:150ms color ease-in-out;border:none;background:var(--ion-color-step-300, #edeef0);color:var(--ion-text-color, #000);font-family:inherit;font-size:1rem;cursor:pointer;overflow:hidden;appearance:none}:host(.time-active) #time-button,:host(.date-active) #date-button{color:var(--ion-color-base)}:host(.datetime-button-disabled){pointer-events:none}:host(.datetime-button-disabled) button{opacity:0.4}";const v=b;const x=class{constructor(e){t(this,e);this.datetimeEl=null;this.overlayEl=null;this.getParsedDateValues=t=>{if(t===undefined||t===null){return[]}if(Array.isArray(t)){return t}return[t]};this.setDateTimeText=()=>{var t,e,i,n,a;const{datetimeEl:o,datetimePresentation:r}=this;if(!o){return}const{value:d,locale:u,formatOptions:f,hourCycle:b,preferWheel:v,multiple:x,titleSelectedDatesFormatter:y}=o;const g=this.getParsedDateValues(d);const k=c(g.length>0?g:[l()]);if(!k){return}const w=k[0];const j=m(u,b);this.dateText=this.timeText=undefined;switch(r){case"date-time":case"time-date":const o=h(u,w,(t=f===null||f===void 0?void 0:f.date)!==null&&t!==void 0?t:{month:"short",day:"numeric",year:"numeric"});const r=p(u,w,j,f===null||f===void 0?void 0:f.time);if(v){this.dateText=`${o} ${r}`}else{this.dateText=o;this.timeText=r}break;case"date":if(x&&g.length!==1){let t=`${g.length} days`;if(y!==undefined){try{t=y(g)}catch(t){s("Exception in provided `titleSelectedDatesFormatter`: ",t)}}this.dateText=t}else{this.dateText=h(u,w,(e=f===null||f===void 0?void 0:f.date)!==null&&e!==void 0?e:{month:"short",day:"numeric",year:"numeric"})}break;case"time":this.timeText=p(u,w,j,f===null||f===void 0?void 0:f.time);break;case"month-year":this.dateText=h(u,w,(i=f===null||f===void 0?void 0:f.date)!==null&&i!==void 0?i:{month:"long",year:"numeric"});break;case"month":this.dateText=h(u,w,(n=f===null||f===void 0?void 0:f.time)!==null&&n!==void 0?n:{month:"long"});break;case"year":this.dateText=h(u,w,(a=f===null||f===void 0?void 0:f.time)!==null&&a!==void 0?a:{year:"numeric"});break}};this.waitForDatetimeChanges=async()=>{const{datetimeEl:t}=this;if(!t){return Promise.resolve()}return new Promise((e=>{a(t,"ionRender",e,{once:true})}))};this.handleDateClick=async t=>{const{datetimeEl:e,datetimePresentation:i}=this;if(!e){return}let n=false;switch(i){case"date-time":case"time-date":const t=e.presentation!=="date";if(!e.preferWheel&&t){e.presentation="date";n=true}break}this.selectedButton="date";this.presentOverlay(t,n,this.dateTargetEl)};this.handleTimeClick=t=>{const{datetimeEl:e,datetimePresentation:i}=this;if(!e){return}let n=false;switch(i){case"date-time":case"time-date":const t=e.presentation!=="time";if(t){e.presentation="time";n=true}break}this.selectedButton="time";this.presentOverlay(t,n,this.timeTargetEl)};this.presentOverlay=async(t,e,i)=>{const{overlayEl:n}=this;if(!n){return}if(n.tagName==="ION-POPOVER"){if(e){await this.waitForDatetimeChanges()}n.present(Object.assign(Object.assign({},t),{detail:{ionShadowTarget:i}}))}else{n.present()}};this.datetimePresentation="date-time";this.dateText=undefined;this.timeText=undefined;this.datetimeActive=false;this.selectedButton=undefined;this.color="primary";this.disabled=false;this.datetime=undefined}async componentWillLoad(){const{datetime:t}=this;if(!t){s("An ID associated with an ion-datetime instance is required for ion-datetime-button to function properly.",this.el);return}const e=this.datetimeEl=document.getElementById(t);if(!e){s(`No ion-datetime instance found for ID '${t}'.`,this.el);return}if(e.tagName!=="ION-DATETIME"){s(`Expected an ion-datetime instance for ID '${t}' but received '${e.tagName.toLowerCase()}' instead.`,e);return}const i=new IntersectionObserver((t=>{const e=t[0];this.datetimeActive=e.isIntersecting}),{threshold:.01});i.observe(e);const n=this.overlayEl=e.closest("ion-modal, ion-popover");if(n){n.classList.add("ion-datetime-button-overlay")}o(e,(()=>{const t=this.datetimePresentation=e.presentation||"date-time";this.setDateTimeText();a(e,"ionValueChange",this.setDateTimeText);switch(t){case"date-time":case"date":case"month-year":case"month":case"year":this.selectedButton="date";break;case"time-date":case"time":this.selectedButton="time";break}}))}render(){const{color:t,dateText:n,timeText:a,selectedButton:o,datetimeActive:s,disabled:c}=this;const l=d(this);return e(i,{key:"ab6c21a4c185dee71c8f14cafad82e38831c68d0",class:r(t,{[l]:true,[`${o}-active`]:s,["datetime-button-disabled"]:c})},n&&e("button",{key:"cbda6f3386c3714567a04b5a97a96c71d59822c8",class:"ion-activatable",id:"date-button","aria-expanded":s?"true":"false",onClick:this.handleDateClick,disabled:c,part:"native",ref:t=>this.dateTargetEl=t},e("slot",{key:"a00ff431512827bfef8c02982ef37099b2f21508",name:"date-target"},n),l==="md"&&e("ion-ripple-effect",{key:"67935989628a2ed0492edb813fb0475bfd88abe7"})),a&&e("button",{key:"4207c94de5bece91b8388332e0192d1756403e62",class:"ion-activatable",id:"time-button","aria-expanded":s?"true":"false",onClick:this.handleTimeClick,disabled:c,part:"native",ref:t=>this.timeTargetEl=t},e("slot",{key:"9ffa7ef4417571933bd1757950ec805c49704759",name:"time-target"},a),l==="md"&&e("ion-ripple-effect",{key:"fbcad00cf828c9719074d1d06f4e13246b28903e"})))}get el(){return n(this)}};x.style={ios:f,md:v};export{x as ion_datetime_button};
2
- //# sourceMappingURL=p-e8268c7a.entry.js.map
1
+ import{r as t,h as e,H as i,e as n}from"./p-97889672.js";import{b as a,a as o}from"./p-3f316fc4.js";import{a as s}from"./p-d6769f21.js";import{c as r}from"./p-669fab6c.js";import{g as d}from"./p-ebe1c8ca.js";import{s as c,x as l,L as m,N as h,M as p}from"./p-ecdb52e8.js";const u=":host{display:flex;flex-wrap:wrap;align-items:center;justify-content:center}:host button{border-radius:8px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;margin-top:0px;margin-bottom:0px;position:relative;transition:150ms color ease-in-out;border:none;background:var(--ion-color-step-300, #edeef0);color:var(--ion-text-color, #000);font-family:inherit;font-size:1rem;cursor:pointer;overflow:hidden;appearance:none}:host(.time-active) #time-button,:host(.date-active) #date-button{color:var(--ion-color-base)}:host(.datetime-button-disabled){pointer-events:none}:host(.datetime-button-disabled) button{opacity:0.4}";const f=u;const b=":host{display:flex;flex-wrap:wrap;align-items:center;justify-content:center}:host button{border-radius:8px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;margin-top:0px;margin-bottom:0px;position:relative;transition:150ms color ease-in-out;border:none;background:var(--ion-color-step-300, #edeef0);color:var(--ion-text-color, #000);font-family:inherit;font-size:1rem;cursor:pointer;overflow:hidden;appearance:none}:host(.time-active) #time-button,:host(.date-active) #date-button{color:var(--ion-color-base)}:host(.datetime-button-disabled){pointer-events:none}:host(.datetime-button-disabled) button{opacity:0.4}";const v=b;const x=class{constructor(e){t(this,e);this.datetimeEl=null;this.overlayEl=null;this.getParsedDateValues=t=>{if(t===undefined||t===null){return[]}if(Array.isArray(t)){return t}return[t]};this.setDateTimeText=()=>{var t,e,i,n,a;const{datetimeEl:o,datetimePresentation:r}=this;if(!o){return}const{value:d,locale:u,formatOptions:f,hourCycle:b,preferWheel:v,multiple:x,titleSelectedDatesFormatter:y}=o;const g=this.getParsedDateValues(d);const k=c(g.length>0?g:[l()]);if(!k){return}const w=k[0];const j=m(u,b);this.dateText=this.timeText=undefined;switch(r){case"date-time":case"time-date":const o=h(u,w,(t=f===null||f===void 0?void 0:f.date)!==null&&t!==void 0?t:{month:"short",day:"numeric",year:"numeric"});const r=p(u,w,j,f===null||f===void 0?void 0:f.time);if(v){this.dateText=`${o} ${r}`}else{this.dateText=o;this.timeText=r}break;case"date":if(x&&g.length!==1){let t=`${g.length} days`;if(y!==undefined){try{t=y(g)}catch(t){s("Exception in provided `titleSelectedDatesFormatter`: ",t)}}this.dateText=t}else{this.dateText=h(u,w,(e=f===null||f===void 0?void 0:f.date)!==null&&e!==void 0?e:{month:"short",day:"numeric",year:"numeric"})}break;case"time":this.timeText=p(u,w,j,f===null||f===void 0?void 0:f.time);break;case"month-year":this.dateText=h(u,w,(i=f===null||f===void 0?void 0:f.date)!==null&&i!==void 0?i:{month:"long",year:"numeric"});break;case"month":this.dateText=h(u,w,(n=f===null||f===void 0?void 0:f.time)!==null&&n!==void 0?n:{month:"long"});break;case"year":this.dateText=h(u,w,(a=f===null||f===void 0?void 0:f.time)!==null&&a!==void 0?a:{year:"numeric"});break}};this.waitForDatetimeChanges=async()=>{const{datetimeEl:t}=this;if(!t){return Promise.resolve()}return new Promise((e=>{a(t,"ionRender",e,{once:true})}))};this.handleDateClick=async t=>{const{datetimeEl:e,datetimePresentation:i}=this;if(!e){return}let n=false;switch(i){case"date-time":case"time-date":const t=e.presentation!=="date";if(!e.preferWheel&&t){e.presentation="date";n=true}break}this.selectedButton="date";this.presentOverlay(t,n,this.dateTargetEl)};this.handleTimeClick=t=>{const{datetimeEl:e,datetimePresentation:i}=this;if(!e){return}let n=false;switch(i){case"date-time":case"time-date":const t=e.presentation!=="time";if(t){e.presentation="time";n=true}break}this.selectedButton="time";this.presentOverlay(t,n,this.timeTargetEl)};this.presentOverlay=async(t,e,i)=>{const{overlayEl:n}=this;if(!n){return}if(n.tagName==="ION-POPOVER"){if(e){await this.waitForDatetimeChanges()}n.present(Object.assign(Object.assign({},t),{detail:{ionShadowTarget:i}}))}else{n.present()}};this.datetimePresentation="date-time";this.dateText=undefined;this.timeText=undefined;this.datetimeActive=false;this.selectedButton=undefined;this.color="primary";this.disabled=false;this.datetime=undefined}async componentWillLoad(){const{datetime:t}=this;if(!t){s("An ID associated with an ion-datetime instance is required for ion-datetime-button to function properly.",this.el);return}const e=this.datetimeEl=document.getElementById(t);if(!e){s(`No ion-datetime instance found for ID '${t}'.`,this.el);return}if(e.tagName!=="ION-DATETIME"){s(`Expected an ion-datetime instance for ID '${t}' but received '${e.tagName.toLowerCase()}' instead.`,e);return}const i=new IntersectionObserver((t=>{const e=t[0];this.datetimeActive=e.isIntersecting}),{threshold:.01});i.observe(e);const n=this.overlayEl=e.closest("ion-modal, ion-popover");if(n){n.classList.add("ion-datetime-button-overlay")}o(e,(()=>{const t=this.datetimePresentation=e.presentation||"date-time";this.setDateTimeText();a(e,"ionValueChange",this.setDateTimeText);switch(t){case"date-time":case"date":case"month-year":case"month":case"year":this.selectedButton="date";break;case"time-date":case"time":this.selectedButton="time";break}}))}render(){const{color:t,dateText:n,timeText:a,selectedButton:o,datetimeActive:s,disabled:c}=this;const l=d(this);return e(i,{key:"ab6c21a4c185dee71c8f14cafad82e38831c68d0",class:r(t,{[l]:true,[`${o}-active`]:s,["datetime-button-disabled"]:c})},n&&e("button",{key:"cbda6f3386c3714567a04b5a97a96c71d59822c8",class:"ion-activatable",id:"date-button","aria-expanded":s?"true":"false",onClick:this.handleDateClick,disabled:c,part:"native",ref:t=>this.dateTargetEl=t},e("slot",{key:"a00ff431512827bfef8c02982ef37099b2f21508",name:"date-target"},n),l==="md"&&e("ion-ripple-effect",{key:"67935989628a2ed0492edb813fb0475bfd88abe7"})),a&&e("button",{key:"4207c94de5bece91b8388332e0192d1756403e62",class:"ion-activatable",id:"time-button","aria-expanded":s?"true":"false",onClick:this.handleTimeClick,disabled:c,part:"native",ref:t=>this.timeTargetEl=t},e("slot",{key:"9ffa7ef4417571933bd1757950ec805c49704759",name:"time-target"},a),l==="md"&&e("ion-ripple-effect",{key:"fbcad00cf828c9719074d1d06f4e13246b28903e"})))}get el(){return n(this)}};x.style={ios:f,md:v};export{x as ion_datetime_button};
2
+ //# sourceMappingURL=p-8c13ce70.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,i as s,h as e,e as i,H as r}from"./p-42169e41.js";import{a as o,g as n}from"./p-949b115f.js";import{r as h}from"./p-71ee259b.js";import{a as c,b as a,c as d}from"./p-c8020dbc.js";import{g as l}from"./p-da0d920d.js";import"./p-d6769f21.js";import"./p-21b22219.js";import"./p-7efd6867.js";const f=".reorder-list-active>*{display:block;transition:transform 300ms;will-change:transform}.reorder-enabled{user-select:none}.reorder-enabled ion-reorder{display:block;cursor:grab;pointer-events:all;touch-action:none}.reorder-selected,.reorder-selected ion-reorder{cursor:grabbing}.reorder-selected{position:relative;transition:none !important;box-shadow:0 0 10px rgba(0, 0, 0, 0.4);opacity:0.8;z-index:100}.reorder-visible ion-reorder .reorder-icon{transform:translate3d(0, 0, 0)}";const u=f;const p=class{constructor(e){t(this,e);this.ionItemReorder=s(this,"ionItemReorder",7);this.lastToIndex=-1;this.cachedHeights=[];this.scrollElTop=0;this.scrollElBottom=0;this.scrollElInitial=0;this.containerTop=0;this.containerBottom=0;this.state=0;this.disabled=true}disabledChanged(){if(this.gesture){this.gesture.enable(!this.disabled)}}async connectedCallback(){const t=o(this.el);if(t){this.scrollEl=await n(t)}this.gesture=(await import("./p-b943833e.js")).createGesture({el:this.el,gestureName:"reorder",gesturePriority:110,threshold:0,direction:"y",passive:false,canStart:t=>this.canStart(t),onStart:t=>this.onStart(t),onMove:t=>this.onMove(t),onEnd:()=>this.onEnd()});this.disabledChanged()}disconnectedCallback(){this.onEnd();if(this.gesture){this.gesture.destroy();this.gesture=undefined}}complete(t){return Promise.resolve(this.completeReorder(t))}canStart(t){if(this.selectedItemEl||this.state!==0){return false}const s=t.event.target;const e=s.closest("ion-reorder");if(!e){return false}const i=b(e,this.el);if(!i){return false}t.data=i;return true}onStart(t){t.event.preventDefault();const s=this.selectedItemEl=t.data;const e=this.cachedHeights;e.length=0;const i=this.el;const r=i.children;if(!r||r.length===0){return}let o=0;for(let t=0;t<r.length;t++){const s=r[t];o+=s.offsetHeight;e.push(o);s.$ionIndex=t}const n=i.getBoundingClientRect();this.containerTop=n.top;this.containerBottom=n.bottom;if(this.scrollEl){const t=this.scrollEl.getBoundingClientRect();this.scrollElInitial=this.scrollEl.scrollTop;this.scrollElTop=t.top+g;this.scrollElBottom=t.bottom-g}else{this.scrollElInitial=0;this.scrollElTop=0;this.scrollElBottom=0}this.lastToIndex=m(s);this.selectedItemHeight=s.offsetHeight;this.state=1;s.classList.add(v);c()}onMove(t){const s=this.selectedItemEl;if(!s){return}const e=this.autoscroll(t.currentY);const i=this.containerTop-e;const r=this.containerBottom-e;const o=Math.max(i,Math.min(t.currentY,r));const n=e+o-t.startY;const h=o-i;const c=this.itemIndexForTop(h);if(c!==this.lastToIndex){const t=m(s);this.lastToIndex=c;a();this.reorderMove(t,c)}s.style.transform=`translateY(${n}px)`}onEnd(){const t=this.selectedItemEl;this.state=2;if(!t){this.state=0;return}const s=this.lastToIndex;const e=m(t);if(s===e){this.completeReorder()}else{this.ionItemReorder.emit({from:e,to:s,complete:this.completeReorder.bind(this)})}d()}completeReorder(t){const s=this.selectedItemEl;if(s&&this.state===2){const e=this.el.children;const i=e.length;const r=this.lastToIndex;const o=m(s);h((()=>{if(r!==o&&(t===undefined||t===true)){const t=o<r?e[r+1]:e[r];this.el.insertBefore(s,t)}for(let t=0;t<i;t++){e[t].style["transform"]=""}}));if(Array.isArray(t)){t=x(t,o,r)}s.style.transition="";s.classList.remove(v);this.selectedItemEl=undefined;this.state=0}return t}itemIndexForTop(t){const s=this.cachedHeights;for(let e=0;e<s.length;e++){if(s[e]>t){return e}}return s.length-1}reorderMove(t,s){const e=this.selectedItemHeight;const i=this.el.children;for(let r=0;r<i.length;r++){const o=i[r].style;let n="";if(r>t&&r<=s){n=`translateY(${-e}px)`}else if(r<t&&r>=s){n=`translateY(${e}px)`}o["transform"]=n}}autoscroll(t){if(!this.scrollEl){return 0}let s=0;if(t<this.scrollElTop){s=-j}else if(t>this.scrollElBottom){s=j}if(s!==0){this.scrollEl.scrollBy(0,s)}return this.scrollEl.scrollTop-this.scrollElInitial}render(){const t=l(this);return e(r,{key:"68b5e5fa00a0531c74597964d84c82da8bc3252f",class:{[t]:true,"reorder-enabled":!this.disabled,"reorder-list-active":this.state!==0}})}get el(){return i(this)}static get watchers(){return{disabled:["disabledChanged"]}}};const m=t=>t["$ionIndex"];const b=(t,s)=>{let e;while(t){e=t.parentElement;if(e===s){return t}t=e}return undefined};const g=60;const j=10;const v="reorder-selected";const x=(t,s,e)=>{const i=t[s];t.splice(s,1);t.splice(e,0,i);return t.slice()};p.style=u;export{p as ion_reorder_group};
2
- //# sourceMappingURL=p-b64a85bf.entry.js.map
1
+ import{r as t,i as s,h as e,e as i,H as r}from"./p-97889672.js";import{a as o,g as n}from"./p-91025a2c.js";import{r as h}from"./p-3f316fc4.js";import{a as c,b as a,c as d}from"./p-c8020dbc.js";import{g as l}from"./p-ebe1c8ca.js";import"./p-d6769f21.js";import"./p-21b22219.js";import"./p-7efd6867.js";const f=".reorder-list-active>*{display:block;transition:transform 300ms;will-change:transform}.reorder-enabled{user-select:none}.reorder-enabled ion-reorder{display:block;cursor:grab;pointer-events:all;touch-action:none}.reorder-selected,.reorder-selected ion-reorder{cursor:grabbing}.reorder-selected{position:relative;transition:none !important;box-shadow:0 0 10px rgba(0, 0, 0, 0.4);opacity:0.8;z-index:100}.reorder-visible ion-reorder .reorder-icon{transform:translate3d(0, 0, 0)}";const u=f;const p=class{constructor(e){t(this,e);this.ionItemReorder=s(this,"ionItemReorder",7);this.lastToIndex=-1;this.cachedHeights=[];this.scrollElTop=0;this.scrollElBottom=0;this.scrollElInitial=0;this.containerTop=0;this.containerBottom=0;this.state=0;this.disabled=true}disabledChanged(){if(this.gesture){this.gesture.enable(!this.disabled)}}async connectedCallback(){const t=o(this.el);if(t){this.scrollEl=await n(t)}this.gesture=(await import("./p-b943833e.js")).createGesture({el:this.el,gestureName:"reorder",gesturePriority:110,threshold:0,direction:"y",passive:false,canStart:t=>this.canStart(t),onStart:t=>this.onStart(t),onMove:t=>this.onMove(t),onEnd:()=>this.onEnd()});this.disabledChanged()}disconnectedCallback(){this.onEnd();if(this.gesture){this.gesture.destroy();this.gesture=undefined}}complete(t){return Promise.resolve(this.completeReorder(t))}canStart(t){if(this.selectedItemEl||this.state!==0){return false}const s=t.event.target;const e=s.closest("ion-reorder");if(!e){return false}const i=b(e,this.el);if(!i){return false}t.data=i;return true}onStart(t){t.event.preventDefault();const s=this.selectedItemEl=t.data;const e=this.cachedHeights;e.length=0;const i=this.el;const r=i.children;if(!r||r.length===0){return}let o=0;for(let t=0;t<r.length;t++){const s=r[t];o+=s.offsetHeight;e.push(o);s.$ionIndex=t}const n=i.getBoundingClientRect();this.containerTop=n.top;this.containerBottom=n.bottom;if(this.scrollEl){const t=this.scrollEl.getBoundingClientRect();this.scrollElInitial=this.scrollEl.scrollTop;this.scrollElTop=t.top+g;this.scrollElBottom=t.bottom-g}else{this.scrollElInitial=0;this.scrollElTop=0;this.scrollElBottom=0}this.lastToIndex=m(s);this.selectedItemHeight=s.offsetHeight;this.state=1;s.classList.add(v);c()}onMove(t){const s=this.selectedItemEl;if(!s){return}const e=this.autoscroll(t.currentY);const i=this.containerTop-e;const r=this.containerBottom-e;const o=Math.max(i,Math.min(t.currentY,r));const n=e+o-t.startY;const h=o-i;const c=this.itemIndexForTop(h);if(c!==this.lastToIndex){const t=m(s);this.lastToIndex=c;a();this.reorderMove(t,c)}s.style.transform=`translateY(${n}px)`}onEnd(){const t=this.selectedItemEl;this.state=2;if(!t){this.state=0;return}const s=this.lastToIndex;const e=m(t);if(s===e){this.completeReorder()}else{this.ionItemReorder.emit({from:e,to:s,complete:this.completeReorder.bind(this)})}d()}completeReorder(t){const s=this.selectedItemEl;if(s&&this.state===2){const e=this.el.children;const i=e.length;const r=this.lastToIndex;const o=m(s);h((()=>{if(r!==o&&(t===undefined||t===true)){const t=o<r?e[r+1]:e[r];this.el.insertBefore(s,t)}for(let t=0;t<i;t++){e[t].style["transform"]=""}}));if(Array.isArray(t)){t=x(t,o,r)}s.style.transition="";s.classList.remove(v);this.selectedItemEl=undefined;this.state=0}return t}itemIndexForTop(t){const s=this.cachedHeights;for(let e=0;e<s.length;e++){if(s[e]>t){return e}}return s.length-1}reorderMove(t,s){const e=this.selectedItemHeight;const i=this.el.children;for(let r=0;r<i.length;r++){const o=i[r].style;let n="";if(r>t&&r<=s){n=`translateY(${-e}px)`}else if(r<t&&r>=s){n=`translateY(${e}px)`}o["transform"]=n}}autoscroll(t){if(!this.scrollEl){return 0}let s=0;if(t<this.scrollElTop){s=-j}else if(t>this.scrollElBottom){s=j}if(s!==0){this.scrollEl.scrollBy(0,s)}return this.scrollEl.scrollTop-this.scrollElInitial}render(){const t=l(this);return e(r,{key:"68b5e5fa00a0531c74597964d84c82da8bc3252f",class:{[t]:true,"reorder-enabled":!this.disabled,"reorder-list-active":this.state!==0}})}get el(){return i(this)}static get watchers(){return{disabled:["disabledChanged"]}}};const m=t=>t["$ionIndex"];const b=(t,s)=>{let e;while(t){e=t.parentElement;if(e===s){return t}t=e}return undefined};const g=60;const j=10;const v="reorder-selected";const x=(t,s,e)=>{const i=t[s];t.splice(s,1);t.splice(e,0,i);return t.slice()};p.style=u;export{p as ion_reorder_group};
2
+ //# sourceMappingURL=p-8f6d4374.entry.js.map
@@ -1,5 +1,5 @@
1
- import{a as o}from"./p-71ee259b.js";import{b as t}from"./p-d6769f21.js";
1
+ import{a as o}from"./p-3f316fc4.js";import{b as t}from"./p-d6769f21.js";
2
2
  /*!
3
3
  * (C) Ionic http://ionicframework.com - MIT License
4
- */const s="ION-CONTENT";const n="ion-content";const r=".ion-content-scroll-host";const e=`${n}, ${r}`;const a=o=>o.tagName===s;const c=async t=>{if(a(t)){await new Promise((s=>o(t,s)));return t.getScrollElement()}return t};const i=o=>{const t=o.querySelector(r);if(t){return t}return o.querySelector(e)};const f=o=>o.closest(e);const u=(o,t)=>{if(a(o)){const s=o;return s.scrollToTop(t)}return Promise.resolve(o.scrollTo({top:0,left:0,behavior:t>0?"smooth":"auto"}))};const l=(o,t,s,n)=>{if(a(o)){const r=o;return r.scrollByPoint(t,s,n)}return Promise.resolve(o.scrollBy({top:s,left:t,behavior:n>0?"smooth":"auto"}))};const m=o=>t(o,n);const p=o=>{if(a(o)){const t=o;const s=t.scrollY;t.scrollY=false;return s}else{o.style.setProperty("overflow","hidden");return true}};const h=(o,t)=>{if(a(o)){o.scrollY=t}else{o.style.removeProperty("overflow")}};export{r as I,f as a,n as b,l as c,p as d,i as f,c as g,a as i,m as p,h as r,u as s};
5
- //# sourceMappingURL=p-949b115f.js.map
4
+ */const s="ION-CONTENT";const n="ion-content";const r=".ion-content-scroll-host";const e=`${n}, ${r}`;const c=o=>o.tagName===s;const a=async t=>{if(c(t)){await new Promise((s=>o(t,s)));return t.getScrollElement()}return t};const i=o=>{const t=o.querySelector(r);if(t){return t}return o.querySelector(e)};const f=o=>o.closest(e);const u=(o,t)=>{if(c(o)){const s=o;return s.scrollToTop(t)}return Promise.resolve(o.scrollTo({top:0,left:0,behavior:t>0?"smooth":"auto"}))};const l=(o,t,s,n)=>{if(c(o)){const r=o;return r.scrollByPoint(t,s,n)}return Promise.resolve(o.scrollBy({top:s,left:t,behavior:n>0?"smooth":"auto"}))};const m=o=>t(o,n);const p=o=>{if(c(o)){const t=o;const s=t.scrollY;t.scrollY=false;return s}else{o.style.setProperty("overflow","hidden");return true}};const h=(o,t)=>{if(c(o)){o.scrollY=t}else{o.style.removeProperty("overflow")}};export{r as I,f as a,n as b,l as c,p as d,i as f,a as g,c as i,m as p,h as r,u as s};
5
+ //# sourceMappingURL=p-91025a2c.js.map