@pod-os/elements 0.25.3-rc.ba1a8fa.0 → 0.25.3-rc.def4131.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 (505) hide show
  1. package/dist/cjs/elements.cjs.js +1 -1
  2. package/dist/cjs/ion-badge_2.cjs.entry.js +92 -0
  3. package/dist/cjs/ion-badge_2.cjs.entry.js.map +1 -0
  4. package/dist/cjs/ion-card-title_6.cjs.entry.js +287 -0
  5. package/dist/cjs/ion-card-title_6.cjs.entry.js.map +1 -0
  6. package/dist/cjs/{ion-icon_31.cjs.entry.js → ion-card_34.cjs.entry.js} +129 -21
  7. package/dist/cjs/ion-card_34.cjs.entry.js.map +1 -0
  8. package/dist/cjs/loader.cjs.js +1 -1
  9. package/dist/cjs/pos-app-document-viewer.cjs.entry.js +1 -8
  10. package/dist/cjs/pos-app-document-viewer.cjs.entry.js.map +1 -1
  11. package/dist/cjs/pos-app-image-viewer.cjs.entry.js +2 -11
  12. package/dist/cjs/pos-app-image-viewer.cjs.entry.js.map +1 -1
  13. package/dist/cjs/pos-app-ldp-container.cjs.entry.js +1 -8
  14. package/dist/cjs/pos-app-ldp-container.cjs.entry.js.map +1 -1
  15. package/dist/cjs/pos-app-rdf-document.cjs.entry.js +4 -7
  16. package/dist/cjs/pos-app-rdf-document.cjs.entry.js.map +1 -1
  17. package/dist/cjs/pos-predicate.cjs.entry.js +28 -0
  18. package/dist/cjs/pos-predicate.cjs.entry.js.map +1 -0
  19. package/dist/collection/apps/pos-app-document-viewer/pos-app-document-viewer.js +2 -12
  20. package/dist/collection/apps/pos-app-document-viewer/pos-app-document-viewer.js.map +1 -1
  21. package/dist/collection/apps/pos-app-image-viewer/pos-app-image-viewer.js +3 -12
  22. package/dist/collection/apps/pos-app-image-viewer/pos-app-image-viewer.js.map +1 -1
  23. package/dist/collection/apps/pos-app-ldp-container/pos-app-ldp-container.js +2 -13
  24. package/dist/collection/apps/pos-app-ldp-container/pos-app-ldp-container.js.map +1 -1
  25. package/dist/collection/apps/pos-app-rdf-document/pos-app-rdf-document.css +39 -0
  26. package/dist/collection/apps/pos-app-rdf-document/pos-app-rdf-document.js +3 -3
  27. package/dist/collection/apps/pos-app-rdf-document/pos-app-rdf-document.js.map +1 -1
  28. package/dist/collection/apps/pos-app-settings/pos-app-settings.js +1 -1
  29. package/dist/collection/apps/pos-app-settings/pos-setting-offline-cache/pos-setting-offline-cache.js +1 -1
  30. package/dist/collection/components/pos-add-new-thing/pos-add-new-thing.js +1 -1
  31. package/dist/collection/components/pos-app/pos-app.js +1 -1
  32. package/dist/collection/components/pos-dialog/pos-dialog.js +1 -1
  33. package/dist/collection/components/pos-error-toast/pos-error-toast.js +1 -1
  34. package/dist/collection/components/pos-literals/pos-literals.js +1 -1
  35. package/dist/collection/components/pos-login/pos-login.js +1 -1
  36. package/dist/collection/components/pos-login-form/pos-login-form.js +1 -1
  37. package/dist/collection/components/pos-navigation-bar/pos-navigation-bar.js +1 -1
  38. package/dist/collection/components/pos-new-thing-form/pos-new-thing-form.js +1 -1
  39. package/dist/collection/components/pos-resource/pos-resource.js +2 -12
  40. package/dist/collection/components/pos-resource/pos-resource.js.map +1 -1
  41. package/dist/collection/components/pos-rich-link/pos-rich-link.js +2 -2
  42. package/dist/collection/components/pos-router/pos-router.js +1 -1
  43. package/dist/collection/components/pos-select-term/pos-select-term.js +1 -1
  44. package/dist/{esm/ion-card-content.entry.js → components/card-content.js} +26 -12
  45. package/dist/components/card-content.js.map +1 -0
  46. package/dist/{esm/ion-card-header.entry.js → components/card-header.js} +31 -13
  47. package/dist/components/card-header.js.map +1 -0
  48. package/dist/{esm/ion-card-title.entry.js → components/card-title.js} +30 -13
  49. package/dist/components/card-title.js.map +1 -0
  50. package/dist/{esm/ion-card.entry.js → components/card.js} +47 -15
  51. package/dist/components/card.js.map +1 -0
  52. package/dist/{esm/ion-col.entry.js → components/col.js} +49 -9
  53. package/dist/components/col.js.map +1 -0
  54. package/dist/{esm/ion-grid.entry.js → components/grid.js} +26 -9
  55. package/dist/components/grid.js.map +1 -0
  56. package/dist/components/ion-card-content.js +1 -40
  57. package/dist/components/ion-card-content.js.map +1 -1
  58. package/dist/components/ion-card-header.js +1 -47
  59. package/dist/components/ion-card-header.js.map +1 -1
  60. package/dist/components/ion-card-title.js +1 -44
  61. package/dist/components/ion-card-title.js.map +1 -1
  62. package/dist/components/ion-card.js +1 -95
  63. package/dist/components/ion-card.js.map +1 -1
  64. package/dist/components/ion-col.js +1 -184
  65. package/dist/components/ion-col.js.map +1 -1
  66. package/dist/components/ion-grid.js +1 -37
  67. package/dist/components/ion-grid.js.map +1 -1
  68. package/dist/components/ion-row.js +1 -30
  69. package/dist/components/ion-row.js.map +1 -1
  70. package/dist/components/pos-add-new-thing2.js +1 -1
  71. package/dist/components/pos-app-browser.js +19 -1
  72. package/dist/components/pos-app-browser.js.map +1 -1
  73. package/dist/components/pos-app-dashboard2.js +26 -2
  74. package/dist/components/pos-app-dashboard2.js.map +1 -1
  75. package/dist/components/pos-app-document-viewer.js +48 -13
  76. package/dist/components/pos-app-document-viewer.js.map +1 -1
  77. package/dist/components/pos-app-generic.js +30 -6
  78. package/dist/components/pos-app-generic.js.map +1 -1
  79. package/dist/components/pos-app-image-viewer.js +49 -16
  80. package/dist/components/pos-app-image-viewer.js.map +1 -1
  81. package/dist/components/pos-app-ldp-container.js +57 -17
  82. package/dist/components/pos-app-ldp-container.js.map +1 -1
  83. package/dist/components/pos-app-rdf-document.js +34 -13
  84. package/dist/components/pos-app-rdf-document.js.map +1 -1
  85. package/dist/components/pos-app-settings2.js +1 -1
  86. package/dist/components/pos-app2.js +1 -1
  87. package/dist/components/pos-container-contents2.js +28 -4
  88. package/dist/components/pos-container-contents2.js.map +1 -1
  89. package/dist/components/pos-dialog2.js +1 -1
  90. package/dist/components/pos-error-toast2.js +1 -1
  91. package/dist/components/pos-example-resources2.js +26 -2
  92. package/dist/components/pos-example-resources2.js.map +1 -1
  93. package/dist/components/pos-internal-router2.js +26 -2
  94. package/dist/components/pos-internal-router2.js.map +1 -1
  95. package/dist/components/pos-literals2.js +1 -1
  96. package/dist/components/pos-login-form2.js +1 -1
  97. package/dist/components/pos-login2.js +29 -5
  98. package/dist/components/pos-login2.js.map +1 -1
  99. package/dist/components/pos-make-findable2.js +26 -2
  100. package/dist/components/pos-make-findable2.js.map +1 -1
  101. package/dist/components/pos-navigation-bar2.js +29 -5
  102. package/dist/components/pos-navigation-bar2.js.map +1 -1
  103. package/dist/components/pos-new-thing-form2.js +1 -1
  104. package/dist/components/pos-relations2.js +28 -4
  105. package/dist/components/pos-relations2.js.map +1 -1
  106. package/dist/components/pos-resource2.js +28 -8
  107. package/dist/components/pos-resource2.js.map +1 -1
  108. package/dist/components/pos-reverse-relations2.js +28 -4
  109. package/dist/components/pos-reverse-relations2.js.map +1 -1
  110. package/dist/components/pos-rich-link2.js +28 -4
  111. package/dist/components/pos-rich-link2.js.map +1 -1
  112. package/dist/components/pos-router2.js +1 -1
  113. package/dist/components/pos-select-term2.js +1 -1
  114. package/dist/components/pos-setting-offline-cache2.js +1 -1
  115. package/dist/components/pos-subjects2.js +26 -2
  116. package/dist/components/pos-subjects2.js.map +1 -1
  117. package/dist/components/row.js +34 -0
  118. package/dist/components/row.js.map +1 -0
  119. package/dist/elements/elements.css +2 -2
  120. package/dist/elements/elements.esm.js +1 -1
  121. package/dist/elements/elements.esm.js.map +1 -1
  122. package/dist/elements/{p-6119b57a.entry.js → p-00c0e726.entry.js} +2 -2
  123. package/dist/elements/p-012323aa.entry.js +2 -0
  124. package/dist/elements/p-012323aa.entry.js.map +1 -0
  125. package/dist/elements/{p-307d1531.js → p-09c0b7ec.js} +2 -2
  126. package/dist/elements/{p-a421bbe5.entry.js → p-0c94ec29.entry.js} +2 -2
  127. package/dist/elements/{p-d8818bb3.entry.js → p-0cdbd05c.entry.js} +2 -2
  128. package/dist/elements/p-10bbe079.entry.js +2 -0
  129. package/dist/elements/p-10bbe079.entry.js.map +1 -0
  130. package/dist/elements/{p-e0de7c6a.entry.js → p-133e29f8.entry.js} +2 -2
  131. package/dist/elements/{p-2a548485.entry.js → p-13d85a0a.entry.js} +2 -2
  132. package/dist/elements/{p-da0d920d.js → p-17cb620a.js} +2 -2
  133. package/dist/elements/{p-66a58eb0.entry.js → p-18e5369d.entry.js} +2 -2
  134. package/dist/elements/{p-239442f9.entry.js → p-196197ab.entry.js} +2 -2
  135. package/dist/elements/{p-cbae963d.js → p-19e2dbee.js} +3 -3
  136. package/dist/elements/{p-4a370bdc.entry.js → p-1b971594.entry.js} +2 -2
  137. package/dist/elements/{p-b5f6b322.entry.js → p-1d8d3167.entry.js} +2 -2
  138. package/dist/elements/{p-d61d280b.js → p-24118aa1.js} +2 -2
  139. package/dist/elements/{p-406df11a.entry.js → p-248a0d89.entry.js} +2 -2
  140. package/dist/elements/p-2543ef78.entry.js +20 -0
  141. package/dist/elements/p-2543ef78.entry.js.map +1 -0
  142. package/dist/elements/{p-41854c8f.entry.js → p-25b5a86a.entry.js} +2 -2
  143. package/dist/elements/{p-f96384f2.entry.js → p-27a5048e.entry.js} +2 -2
  144. package/dist/elements/{p-dc709055.entry.js → p-2bb537fb.entry.js} +2 -2
  145. package/dist/elements/{p-250d4bf1.entry.js → p-2cce9f72.entry.js} +2 -2
  146. package/dist/elements/p-2d89b617.entry.js +2 -0
  147. package/dist/elements/{p-71835d6f.entry.js.map → p-2d89b617.entry.js.map} +1 -1
  148. package/dist/elements/p-2e13f1ea.entry.js +2 -0
  149. package/dist/elements/{p-05fff093.entry.js.map → p-2e13f1ea.entry.js.map} +1 -1
  150. package/dist/elements/{p-59ec8b76.entry.js → p-2e2753e7.entry.js} +2 -2
  151. package/dist/elements/{p-061819d1.js → p-3856e0a0.js} +6 -6
  152. package/dist/elements/{p-f50c3045.entry.js → p-3bc60b5c.entry.js} +2 -2
  153. package/dist/elements/{p-6cc9961e.entry.js → p-3bf6d7b8.entry.js} +2 -2
  154. package/dist/elements/{p-87c81685.entry.js → p-428e79f5.entry.js} +2 -2
  155. package/dist/elements/{p-07d2bd5a.entry.js → p-43d3f9dd.entry.js} +2 -2
  156. package/dist/elements/p-489909a3.entry.js +2 -0
  157. package/dist/elements/{p-01981011.entry.js.map → p-489909a3.entry.js.map} +1 -1
  158. package/dist/elements/p-4a049a02.entry.js +2 -0
  159. package/dist/elements/p-57740997.entry.js +2 -0
  160. package/dist/elements/{p-300ec095.entry.js → p-58ad0789.entry.js} +3 -3
  161. package/dist/elements/p-5d1eb685.entry.js +2 -0
  162. package/dist/elements/{p-facc0ac5.entry.js.map → p-5d1eb685.entry.js.map} +1 -1
  163. package/dist/elements/{p-41bb9792.entry.js → p-609cf34b.entry.js} +2 -2
  164. package/dist/elements/{p-c698ab8e.entry.js → p-616c23ad.entry.js} +2 -2
  165. package/dist/elements/{p-c186950b.entry.js → p-6183b212.entry.js} +2 -2
  166. package/dist/elements/p-686bf509.entry.js +2 -0
  167. package/dist/elements/{p-5441ae35.entry.js.map → p-686bf509.entry.js.map} +1 -1
  168. package/dist/elements/{p-09d80405.entry.js → p-68fa0553.entry.js} +2 -2
  169. package/dist/elements/{p-f4035b4a.entry.js → p-6bc1057e.entry.js} +2 -2
  170. package/dist/elements/{p-e8268c7a.entry.js → p-7105c21a.entry.js} +2 -2
  171. package/dist/elements/{p-c9604122.entry.js → p-73331353.entry.js} +2 -2
  172. package/dist/elements/{p-49fcec88.entry.js → p-77f496ea.entry.js} +2 -2
  173. package/dist/elements/p-780ee959.entry.js +2 -0
  174. package/dist/elements/{p-7190d53c.entry.js → p-7bef9b1b.entry.js} +2 -2
  175. package/dist/elements/{p-b64a85bf.entry.js → p-849fec0f.entry.js} +2 -2
  176. package/dist/elements/{p-552a9992.entry.js → p-8a61526b.entry.js} +2 -2
  177. package/dist/elements/{p-4dd65d40.entry.js → p-8c1eba2d.entry.js} +2 -2
  178. package/dist/elements/{p-2f0509be.entry.js → p-8e747572.entry.js} +2 -2
  179. package/dist/elements/{p-4c078751.entry.js → p-91fccb8b.entry.js} +2 -2
  180. package/dist/elements/p-93dc5bee.entry.js +2 -0
  181. package/dist/elements/{p-95161a5d.entry.js.map → p-93dc5bee.entry.js.map} +1 -1
  182. package/dist/elements/p-968b8bef.entry.js +2 -0
  183. package/dist/elements/p-968b8bef.entry.js.map +1 -0
  184. package/dist/elements/{p-0017dc14.entry.js → p-983da5af.entry.js} +2 -2
  185. package/dist/elements/{p-8f6d1cbe.entry.js → p-9a3d973e.entry.js} +2 -2
  186. package/dist/elements/p-a03499f7.js +5 -0
  187. package/dist/elements/{p-25926b66.entry.js → p-a3726198.entry.js} +2 -2
  188. package/dist/elements/p-a41edaa5.entry.js +2 -0
  189. package/dist/elements/{p-bdea20c4.entry.js.map → p-a41edaa5.entry.js.map} +1 -1
  190. package/dist/elements/{p-8b209e66.entry.js → p-a9478dc1.entry.js} +2 -2
  191. package/dist/elements/{p-66973c59.entry.js → p-aca8e982.entry.js} +2 -2
  192. package/dist/elements/{p-d358565a.entry.js → p-acf6cab4.entry.js} +2 -2
  193. package/dist/elements/{p-42169e41.js → p-ad32e711.js} +2 -2
  194. package/dist/elements/{p-a376351f.entry.js → p-ad55e9ab.entry.js} +2 -2
  195. package/dist/elements/p-b3117c79.entry.js +2 -0
  196. package/dist/elements/p-b3117c79.entry.js.map +1 -0
  197. package/dist/elements/{p-4383e1bb.entry.js → p-b58ed3d9.entry.js} +2 -2
  198. package/dist/elements/{p-5bf40440.entry.js → p-b8363813.entry.js} +2 -2
  199. package/dist/elements/{p-c350af00.entry.js → p-b90da7d9.entry.js} +2 -2
  200. package/dist/elements/{p-bc675b21.entry.js → p-bf16fe9d.entry.js} +2 -2
  201. package/dist/elements/p-c0ad1e98.entry.js +2 -0
  202. package/dist/elements/{p-c01a4a79.entry.js.map → p-c0ad1e98.entry.js.map} +1 -1
  203. package/dist/elements/{p-266d2934.entry.js → p-c13052f5.entry.js} +2 -2
  204. package/dist/elements/{p-dadb557e.entry.js → p-c19ba914.entry.js} +2 -2
  205. package/dist/elements/p-c21dcd46.entry.js +2 -0
  206. package/dist/elements/{p-cb550d04.entry.js.map → p-c21dcd46.entry.js.map} +1 -1
  207. package/dist/elements/{p-e78cf007.entry.js → p-c34f0243.entry.js} +2 -2
  208. package/dist/elements/p-c6c9f7e0.entry.js +2 -0
  209. package/dist/elements/{p-d08312dd.entry.js.map → p-c6c9f7e0.entry.js.map} +1 -1
  210. package/dist/elements/p-c992243d.entry.js +2 -0
  211. package/dist/elements/{p-a06d93c7.entry.js.map → p-c992243d.entry.js.map} +1 -1
  212. package/dist/elements/{p-734e5a97.js → p-cdb96cf2.js} +2 -2
  213. package/dist/elements/{p-a08f0446.entry.js → p-d03f5902.entry.js} +2 -2
  214. package/dist/elements/p-d0fad707.entry.js +2 -0
  215. package/dist/elements/p-d0fad707.entry.js.map +1 -0
  216. package/dist/elements/{p-a6c03ce8.js → p-d164af48.js} +2 -2
  217. package/dist/elements/{p-627826b0.entry.js → p-d3e26e17.entry.js} +2 -2
  218. package/dist/elements/{p-72a9cbdc.entry.js → p-d7c83052.entry.js} +2 -2
  219. package/dist/elements/{p-b9dcf3b2.js → p-dc0cae0c.js} +2 -2
  220. package/dist/elements/{p-f67bba50.js → p-dd97c7d1.js} +3 -3
  221. package/dist/elements/{p-f40b3ec6.entry.js → p-de2c14be.entry.js} +2 -2
  222. package/dist/elements/p-e5ce5615.entry.js +5 -0
  223. package/dist/elements/p-e5ce5615.entry.js.map +1 -0
  224. package/dist/elements/{p-a507d627.entry.js → p-e7a69dd3.entry.js} +2 -2
  225. package/dist/elements/{p-ffa8c481.entry.js → p-ef4ffce6.entry.js} +2 -2
  226. package/dist/elements/{p-d6394ee4.entry.js → p-ef87f5dd.entry.js} +3 -3
  227. package/dist/elements/p-f0d9cf91.js +2 -0
  228. package/dist/elements/{p-1fc8e557.js → p-f1a6f6f2.js} +2 -2
  229. package/dist/elements/p-f74b9191.entry.js +2 -0
  230. package/dist/elements/{p-fa0be1d8.entry.js.map → p-f74b9191.entry.js.map} +1 -1
  231. package/dist/elements/{p-645632a8.entry.js → p-f9b993ab.entry.js} +2 -2
  232. package/dist/elements/{p-b8bd7745.entry.js → p-fa63a2cc.entry.js} +2 -2
  233. package/dist/elements/{p-0b4204e3.entry.js → p-fb766a59.entry.js} +2 -2
  234. package/dist/elements/{p-fa19a3e9.entry.js → p-fd4ecbf1.entry.js} +2 -2
  235. package/dist/elements/p-fe4821db.entry.js +2 -0
  236. package/dist/elements/p-fe4821db.entry.js.map +1 -0
  237. package/dist/esm/{BrokenFile-d387a173.js → BrokenFile-f46cbf25.js} +2 -2
  238. package/dist/esm/{BrokenFile-d387a173.js.map → BrokenFile-f46cbf25.js.map} +1 -1
  239. package/dist/esm/{app-globals-f420d326.js → app-globals-04af85f0.js} +2 -2
  240. package/dist/esm/{app-globals-f420d326.js.map → app-globals-04af85f0.js.map} +1 -1
  241. package/dist/esm/elements.js +5 -5
  242. package/dist/esm/{hardware-back-button-12e771ad.js → hardware-back-button-41efa076.js} +3 -3
  243. package/dist/esm/{hardware-back-button-12e771ad.js.map → hardware-back-button-41efa076.js.map} +1 -1
  244. package/dist/esm/{index-9725d917.js → index-4fdc2561.js} +2 -2
  245. package/dist/esm/{index-9725d917.js.map → index-4fdc2561.js.map} +1 -1
  246. package/dist/esm/{index-7462d21e.js → index-a753fbce.js} +4 -4
  247. package/dist/esm/{index-7462d21e.js.map → index-a753fbce.js.map} +1 -1
  248. package/dist/esm/{index-ccbcf170.js → index-e268d85c.js} +3 -3
  249. package/dist/esm/{index-ccbcf170.js.map → index-e268d85c.js.map} +1 -1
  250. package/dist/esm/ion-accordion-group.entry.js +2 -2
  251. package/dist/esm/ion-accordion.entry.js +2 -2
  252. package/dist/esm/ion-action-sheet_3.entry.js +4 -4
  253. package/dist/esm/ion-app.entry.js +5 -5
  254. package/dist/esm/ion-avatar.entry.js +2 -2
  255. package/dist/esm/ion-back-button.entry.js +2 -2
  256. package/dist/esm/ion-backdrop.entry.js +2 -2
  257. package/dist/esm/ion-badge_2.entry.js +87 -0
  258. package/dist/esm/ion-badge_2.entry.js.map +1 -0
  259. package/dist/esm/ion-breadcrumb.entry.js +2 -2
  260. package/dist/esm/ion-breadcrumbs.entry.js +2 -2
  261. package/dist/esm/ion-button_4.entry.js +2 -2
  262. package/dist/esm/ion-card-subtitle.entry.js +2 -2
  263. package/dist/esm/ion-card-title_6.entry.js +278 -0
  264. package/dist/esm/ion-card-title_6.entry.js.map +1 -0
  265. package/dist/esm/{ion-icon_31.entry.js → ion-card_34.entry.js} +134 -29
  266. package/dist/esm/ion-card_34.entry.js.map +1 -0
  267. package/dist/esm/ion-checkbox_7.entry.js +2 -2
  268. package/dist/esm/ion-chip.entry.js +2 -2
  269. package/dist/esm/ion-content.entry.js +2 -2
  270. package/dist/esm/ion-datetime-button.entry.js +2 -2
  271. package/dist/esm/ion-datetime.entry.js +2 -2
  272. package/dist/esm/ion-fab-button.entry.js +2 -2
  273. package/dist/esm/ion-fab-list.entry.js +2 -2
  274. package/dist/esm/ion-fab.entry.js +2 -2
  275. package/dist/esm/ion-footer.entry.js +2 -2
  276. package/dist/esm/ion-header.entry.js +2 -2
  277. package/dist/esm/ion-img.entry.js +2 -2
  278. package/dist/esm/ion-infinite-scroll-content.entry.js +2 -2
  279. package/dist/esm/ion-infinite-scroll.entry.js +2 -2
  280. package/dist/esm/ion-input.entry.js +2 -2
  281. package/dist/esm/ion-item-divider.entry.js +2 -2
  282. package/dist/esm/ion-item-group.entry.js +2 -2
  283. package/dist/esm/ion-item-option.entry.js +2 -2
  284. package/dist/esm/ion-item-options.entry.js +2 -2
  285. package/dist/esm/ion-item-sliding.entry.js +2 -2
  286. package/dist/esm/ion-loading.entry.js +4 -4
  287. package/dist/esm/ion-menu-button.entry.js +5 -5
  288. package/dist/esm/ion-menu-toggle.entry.js +5 -5
  289. package/dist/esm/ion-menu.entry.js +5 -5
  290. package/dist/esm/ion-modal.entry.js +5 -5
  291. package/dist/esm/ion-nav-link.entry.js +1 -1
  292. package/dist/esm/ion-nav.entry.js +3 -3
  293. package/dist/esm/ion-note.entry.js +2 -2
  294. package/dist/esm/ion-picker-column.entry.js +2 -2
  295. package/dist/esm/ion-picker.entry.js +4 -4
  296. package/dist/esm/ion-popover.entry.js +5 -5
  297. package/dist/esm/ion-range.entry.js +2 -2
  298. package/dist/esm/ion-refresher-content.entry.js +3 -3
  299. package/dist/esm/ion-refresher.entry.js +3 -3
  300. package/dist/esm/ion-reorder-group.entry.js +2 -2
  301. package/dist/esm/ion-reorder.entry.js +2 -2
  302. package/dist/esm/ion-route-redirect.entry.js +1 -1
  303. package/dist/esm/ion-route.entry.js +1 -1
  304. package/dist/esm/ion-router-link.entry.js +2 -2
  305. package/dist/esm/ion-router-outlet.entry.js +3 -3
  306. package/dist/esm/ion-router.entry.js +1 -1
  307. package/dist/esm/ion-segment-button.entry.js +2 -2
  308. package/dist/esm/ion-segment.entry.js +2 -2
  309. package/dist/esm/ion-select-option.entry.js +2 -2
  310. package/dist/esm/ion-select.entry.js +4 -4
  311. package/dist/esm/ion-spinner.entry.js +2 -2
  312. package/dist/esm/ion-split-pane.entry.js +2 -2
  313. package/dist/esm/ion-tab-bar.entry.js +2 -2
  314. package/dist/esm/ion-tab-button.entry.js +2 -2
  315. package/dist/esm/ion-tab.entry.js +1 -1
  316. package/dist/esm/ion-tabs.entry.js +1 -1
  317. package/dist/esm/ion-text.entry.js +2 -2
  318. package/dist/esm/ion-textarea.entry.js +2 -2
  319. package/dist/esm/ion-thumbnail.entry.js +2 -2
  320. package/dist/esm/ion-title.entry.js +2 -2
  321. package/dist/esm/ion-toggle.entry.js +2 -2
  322. package/dist/esm/ion-toolbar.entry.js +2 -2
  323. package/dist/esm/{ionic-global-07f989af.js → ionic-global-df0a32a5.js} +2 -2
  324. package/dist/esm/{ionic-global-07f989af.js.map → ionic-global-df0a32a5.js.map} +1 -1
  325. package/dist/esm/{ios.transition-02b5b74a.js → ios.transition-42a569f1.js} +3 -3
  326. package/dist/esm/{ios.transition-02b5b74a.js.map → ios.transition-42a569f1.js.map} +1 -1
  327. package/dist/esm/loader.js +5 -5
  328. package/dist/esm/{md.transition-0e6cf607.js → md.transition-646de6a5.js} +3 -3
  329. package/dist/esm/{md.transition-0e6cf607.js.map → md.transition-646de6a5.js.map} +1 -1
  330. package/dist/esm/{menu-toggle-util-6257f7b5.js → menu-toggle-util-8d0172e3.js} +2 -2
  331. package/dist/esm/{menu-toggle-util-6257f7b5.js.map → menu-toggle-util-8d0172e3.js.map} +1 -1
  332. package/dist/esm/{overlays-ef03d5bd.js → overlays-4b3bb757.js} +3 -3
  333. package/dist/esm/{overlays-ef03d5bd.js.map → overlays-4b3bb757.js.map} +1 -1
  334. package/dist/esm/pos-app-document-viewer.entry.js +2 -9
  335. package/dist/esm/pos-app-document-viewer.entry.js.map +1 -1
  336. package/dist/esm/pos-app-generic.entry.js +1 -1
  337. package/dist/esm/pos-app-image-viewer.entry.js +3 -12
  338. package/dist/esm/pos-app-image-viewer.entry.js.map +1 -1
  339. package/dist/esm/pos-app-ldp-container.entry.js +2 -9
  340. package/dist/esm/pos-app-ldp-container.entry.js.map +1 -1
  341. package/dist/esm/pos-app-rdf-document.entry.js +5 -8
  342. package/dist/esm/pos-app-rdf-document.entry.js.map +1 -1
  343. package/dist/esm/pos-container-contents.entry.js +1 -1
  344. package/dist/esm/pos-container-item.entry.js +1 -1
  345. package/dist/esm/pos-document.entry.js +2 -2
  346. package/dist/esm/pos-predicate.entry.js +24 -0
  347. package/dist/esm/pos-predicate.entry.js.map +1 -0
  348. package/dist/esm/pos-relations_2.entry.js +1 -1
  349. package/dist/esm/pos-subjects.entry.js +1 -1
  350. package/dist/esm/pos-value.entry.js +1 -1
  351. package/dist/esm/{refresher.utils-d191622d.js → refresher.utils-0e6b5f97.js} +2 -2
  352. package/dist/esm/{refresher.utils-d191622d.js.map → refresher.utils-0e6b5f97.js.map} +1 -1
  353. package/dist/esm/{status-tap-cdf580e7.js → status-tap-e90a7a0d.js} +2 -2
  354. package/dist/esm/{status-tap-cdf580e7.js.map → status-tap-e90a7a0d.js.map} +1 -1
  355. package/package.json +1 -1
  356. package/dist/cjs/ion-badge_5.cjs.entry.js +0 -187
  357. package/dist/cjs/ion-badge_5.cjs.entry.js.map +0 -1
  358. package/dist/cjs/ion-card-content.cjs.entry.js +0 -34
  359. package/dist/cjs/ion-card-content.cjs.entry.js.map +0 -1
  360. package/dist/cjs/ion-card-header.cjs.entry.js +0 -37
  361. package/dist/cjs/ion-card-header.cjs.entry.js.map +0 -1
  362. package/dist/cjs/ion-card-title.cjs.entry.js +0 -35
  363. package/dist/cjs/ion-card-title.cjs.entry.js.map +0 -1
  364. package/dist/cjs/ion-card.cjs.entry.js +0 -71
  365. package/dist/cjs/ion-card.cjs.entry.js.map +0 -1
  366. package/dist/cjs/ion-col.cjs.entry.js +0 -152
  367. package/dist/cjs/ion-col.cjs.entry.js.map +0 -1
  368. package/dist/cjs/ion-grid.cjs.entry.js +0 -28
  369. package/dist/cjs/ion-grid.cjs.entry.js.map +0 -1
  370. package/dist/cjs/ion-icon_31.cjs.entry.js.map +0 -1
  371. package/dist/cjs/ion-row.cjs.entry.js +0 -23
  372. package/dist/cjs/ion-row.cjs.entry.js.map +0 -1
  373. package/dist/collection/apps/pos-app-image-viewer/pos-app-image-viewer.css +0 -3
  374. package/dist/collection/apps/styles/article-card.css +0 -19
  375. package/dist/collection/apps/styles/default-app-layout.css +0 -28
  376. package/dist/collection/components/pos-resource/pos-resource.css +0 -11
  377. package/dist/elements/p-01981011.entry.js +0 -2
  378. package/dist/elements/p-05fff093.entry.js +0 -2
  379. package/dist/elements/p-07773ed5.entry.js +0 -2
  380. package/dist/elements/p-07773ed5.entry.js.map +0 -1
  381. package/dist/elements/p-0ddcbecd.entry.js +0 -2
  382. package/dist/elements/p-0ddcbecd.entry.js.map +0 -1
  383. package/dist/elements/p-0f7379bc.entry.js +0 -2
  384. package/dist/elements/p-0f7379bc.entry.js.map +0 -1
  385. package/dist/elements/p-1b2d32c1.entry.js +0 -2
  386. package/dist/elements/p-1b2d32c1.entry.js.map +0 -1
  387. package/dist/elements/p-3e6ffc13.entry.js +0 -5
  388. package/dist/elements/p-3e6ffc13.entry.js.map +0 -1
  389. package/dist/elements/p-4ccdbcbf.entry.js +0 -2
  390. package/dist/elements/p-4ccdbcbf.entry.js.map +0 -1
  391. package/dist/elements/p-523432d1.js +0 -2
  392. package/dist/elements/p-5441ae35.entry.js +0 -2
  393. package/dist/elements/p-71835d6f.entry.js +0 -2
  394. package/dist/elements/p-7183a9ca.entry.js +0 -2
  395. package/dist/elements/p-7183a9ca.entry.js.map +0 -1
  396. package/dist/elements/p-7e8b8df1.entry.js +0 -2
  397. package/dist/elements/p-7e8b8df1.entry.js.map +0 -1
  398. package/dist/elements/p-7f53778f.entry.js +0 -2
  399. package/dist/elements/p-8e8881a8.entry.js +0 -2
  400. package/dist/elements/p-8e8881a8.entry.js.map +0 -1
  401. package/dist/elements/p-95161a5d.entry.js +0 -2
  402. package/dist/elements/p-952a9fd6.entry.js +0 -20
  403. package/dist/elements/p-952a9fd6.entry.js.map +0 -1
  404. package/dist/elements/p-9a4bf79e.entry.js +0 -2
  405. package/dist/elements/p-9a4bf79e.entry.js.map +0 -1
  406. package/dist/elements/p-a06d93c7.entry.js +0 -2
  407. package/dist/elements/p-a13569cf.entry.js +0 -2
  408. package/dist/elements/p-a37a2712.js +0 -5
  409. package/dist/elements/p-a45b1964.entry.js +0 -2
  410. package/dist/elements/p-a45b1964.entry.js.map +0 -1
  411. package/dist/elements/p-ae984107.entry.js +0 -2
  412. package/dist/elements/p-ae984107.entry.js.map +0 -1
  413. package/dist/elements/p-bca341ba.entry.js +0 -2
  414. package/dist/elements/p-bdea20c4.entry.js +0 -2
  415. package/dist/elements/p-c01a4a79.entry.js +0 -2
  416. package/dist/elements/p-cb550d04.entry.js +0 -2
  417. package/dist/elements/p-d08312dd.entry.js +0 -2
  418. package/dist/elements/p-fa0be1d8.entry.js +0 -2
  419. package/dist/elements/p-facc0ac5.entry.js +0 -2
  420. package/dist/esm/ion-badge_5.entry.js +0 -179
  421. package/dist/esm/ion-badge_5.entry.js.map +0 -1
  422. package/dist/esm/ion-card-content.entry.js.map +0 -1
  423. package/dist/esm/ion-card-header.entry.js.map +0 -1
  424. package/dist/esm/ion-card-title.entry.js.map +0 -1
  425. package/dist/esm/ion-card.entry.js.map +0 -1
  426. package/dist/esm/ion-col.entry.js.map +0 -1
  427. package/dist/esm/ion-grid.entry.js.map +0 -1
  428. package/dist/esm/ion-icon_31.entry.js.map +0 -1
  429. package/dist/esm/ion-row.entry.js +0 -19
  430. package/dist/esm/ion-row.entry.js.map +0 -1
  431. /package/dist/elements/{p-6119b57a.entry.js.map → p-00c0e726.entry.js.map} +0 -0
  432. /package/dist/elements/{p-307d1531.js.map → p-09c0b7ec.js.map} +0 -0
  433. /package/dist/elements/{p-a421bbe5.entry.js.map → p-0c94ec29.entry.js.map} +0 -0
  434. /package/dist/elements/{p-d8818bb3.entry.js.map → p-0cdbd05c.entry.js.map} +0 -0
  435. /package/dist/elements/{p-e0de7c6a.entry.js.map → p-133e29f8.entry.js.map} +0 -0
  436. /package/dist/elements/{p-2a548485.entry.js.map → p-13d85a0a.entry.js.map} +0 -0
  437. /package/dist/elements/{p-da0d920d.js.map → p-17cb620a.js.map} +0 -0
  438. /package/dist/elements/{p-66a58eb0.entry.js.map → p-18e5369d.entry.js.map} +0 -0
  439. /package/dist/elements/{p-239442f9.entry.js.map → p-196197ab.entry.js.map} +0 -0
  440. /package/dist/elements/{p-cbae963d.js.map → p-19e2dbee.js.map} +0 -0
  441. /package/dist/elements/{p-4a370bdc.entry.js.map → p-1b971594.entry.js.map} +0 -0
  442. /package/dist/elements/{p-b5f6b322.entry.js.map → p-1d8d3167.entry.js.map} +0 -0
  443. /package/dist/elements/{p-d61d280b.js.map → p-24118aa1.js.map} +0 -0
  444. /package/dist/elements/{p-406df11a.entry.js.map → p-248a0d89.entry.js.map} +0 -0
  445. /package/dist/elements/{p-41854c8f.entry.js.map → p-25b5a86a.entry.js.map} +0 -0
  446. /package/dist/elements/{p-f96384f2.entry.js.map → p-27a5048e.entry.js.map} +0 -0
  447. /package/dist/elements/{p-dc709055.entry.js.map → p-2bb537fb.entry.js.map} +0 -0
  448. /package/dist/elements/{p-250d4bf1.entry.js.map → p-2cce9f72.entry.js.map} +0 -0
  449. /package/dist/elements/{p-59ec8b76.entry.js.map → p-2e2753e7.entry.js.map} +0 -0
  450. /package/dist/elements/{p-061819d1.js.map → p-3856e0a0.js.map} +0 -0
  451. /package/dist/elements/{p-f50c3045.entry.js.map → p-3bc60b5c.entry.js.map} +0 -0
  452. /package/dist/elements/{p-6cc9961e.entry.js.map → p-3bf6d7b8.entry.js.map} +0 -0
  453. /package/dist/elements/{p-87c81685.entry.js.map → p-428e79f5.entry.js.map} +0 -0
  454. /package/dist/elements/{p-07d2bd5a.entry.js.map → p-43d3f9dd.entry.js.map} +0 -0
  455. /package/dist/elements/{p-bca341ba.entry.js.map → p-4a049a02.entry.js.map} +0 -0
  456. /package/dist/elements/{p-a13569cf.entry.js.map → p-57740997.entry.js.map} +0 -0
  457. /package/dist/elements/{p-300ec095.entry.js.map → p-58ad0789.entry.js.map} +0 -0
  458. /package/dist/elements/{p-41bb9792.entry.js.map → p-609cf34b.entry.js.map} +0 -0
  459. /package/dist/elements/{p-c698ab8e.entry.js.map → p-616c23ad.entry.js.map} +0 -0
  460. /package/dist/elements/{p-c186950b.entry.js.map → p-6183b212.entry.js.map} +0 -0
  461. /package/dist/elements/{p-09d80405.entry.js.map → p-68fa0553.entry.js.map} +0 -0
  462. /package/dist/elements/{p-f4035b4a.entry.js.map → p-6bc1057e.entry.js.map} +0 -0
  463. /package/dist/elements/{p-e8268c7a.entry.js.map → p-7105c21a.entry.js.map} +0 -0
  464. /package/dist/elements/{p-c9604122.entry.js.map → p-73331353.entry.js.map} +0 -0
  465. /package/dist/elements/{p-49fcec88.entry.js.map → p-77f496ea.entry.js.map} +0 -0
  466. /package/dist/elements/{p-7f53778f.entry.js.map → p-780ee959.entry.js.map} +0 -0
  467. /package/dist/elements/{p-7190d53c.entry.js.map → p-7bef9b1b.entry.js.map} +0 -0
  468. /package/dist/elements/{p-b64a85bf.entry.js.map → p-849fec0f.entry.js.map} +0 -0
  469. /package/dist/elements/{p-552a9992.entry.js.map → p-8a61526b.entry.js.map} +0 -0
  470. /package/dist/elements/{p-4dd65d40.entry.js.map → p-8c1eba2d.entry.js.map} +0 -0
  471. /package/dist/elements/{p-2f0509be.entry.js.map → p-8e747572.entry.js.map} +0 -0
  472. /package/dist/elements/{p-4c078751.entry.js.map → p-91fccb8b.entry.js.map} +0 -0
  473. /package/dist/elements/{p-0017dc14.entry.js.map → p-983da5af.entry.js.map} +0 -0
  474. /package/dist/elements/{p-8f6d1cbe.entry.js.map → p-9a3d973e.entry.js.map} +0 -0
  475. /package/dist/elements/{p-a37a2712.js.map → p-a03499f7.js.map} +0 -0
  476. /package/dist/elements/{p-25926b66.entry.js.map → p-a3726198.entry.js.map} +0 -0
  477. /package/dist/elements/{p-8b209e66.entry.js.map → p-a9478dc1.entry.js.map} +0 -0
  478. /package/dist/elements/{p-66973c59.entry.js.map → p-aca8e982.entry.js.map} +0 -0
  479. /package/dist/elements/{p-d358565a.entry.js.map → p-acf6cab4.entry.js.map} +0 -0
  480. /package/dist/elements/{p-42169e41.js.map → p-ad32e711.js.map} +0 -0
  481. /package/dist/elements/{p-a376351f.entry.js.map → p-ad55e9ab.entry.js.map} +0 -0
  482. /package/dist/elements/{p-4383e1bb.entry.js.map → p-b58ed3d9.entry.js.map} +0 -0
  483. /package/dist/elements/{p-5bf40440.entry.js.map → p-b8363813.entry.js.map} +0 -0
  484. /package/dist/elements/{p-c350af00.entry.js.map → p-b90da7d9.entry.js.map} +0 -0
  485. /package/dist/elements/{p-bc675b21.entry.js.map → p-bf16fe9d.entry.js.map} +0 -0
  486. /package/dist/elements/{p-266d2934.entry.js.map → p-c13052f5.entry.js.map} +0 -0
  487. /package/dist/elements/{p-dadb557e.entry.js.map → p-c19ba914.entry.js.map} +0 -0
  488. /package/dist/elements/{p-e78cf007.entry.js.map → p-c34f0243.entry.js.map} +0 -0
  489. /package/dist/elements/{p-734e5a97.js.map → p-cdb96cf2.js.map} +0 -0
  490. /package/dist/elements/{p-a08f0446.entry.js.map → p-d03f5902.entry.js.map} +0 -0
  491. /package/dist/elements/{p-a6c03ce8.js.map → p-d164af48.js.map} +0 -0
  492. /package/dist/elements/{p-627826b0.entry.js.map → p-d3e26e17.entry.js.map} +0 -0
  493. /package/dist/elements/{p-72a9cbdc.entry.js.map → p-d7c83052.entry.js.map} +0 -0
  494. /package/dist/elements/{p-b9dcf3b2.js.map → p-dc0cae0c.js.map} +0 -0
  495. /package/dist/elements/{p-f67bba50.js.map → p-dd97c7d1.js.map} +0 -0
  496. /package/dist/elements/{p-f40b3ec6.entry.js.map → p-de2c14be.entry.js.map} +0 -0
  497. /package/dist/elements/{p-a507d627.entry.js.map → p-e7a69dd3.entry.js.map} +0 -0
  498. /package/dist/elements/{p-ffa8c481.entry.js.map → p-ef4ffce6.entry.js.map} +0 -0
  499. /package/dist/elements/{p-d6394ee4.entry.js.map → p-ef87f5dd.entry.js.map} +0 -0
  500. /package/dist/elements/{p-523432d1.js.map → p-f0d9cf91.js.map} +0 -0
  501. /package/dist/elements/{p-1fc8e557.js.map → p-f1a6f6f2.js.map} +0 -0
  502. /package/dist/elements/{p-645632a8.entry.js.map → p-f9b993ab.entry.js.map} +0 -0
  503. /package/dist/elements/{p-b8bd7745.entry.js.map → p-fa63a2cc.entry.js.map} +0 -0
  504. /package/dist/elements/{p-0b4204e3.entry.js.map → p-fb766a59.entry.js.map} +0 -0
  505. /package/dist/elements/{p-fa19a3e9.entry.js.map → p-fd4ecbf1.entry.js.map} +0 -0
@@ -1,2 +1,2 @@
1
- import{r as t,h as n,H as o,e as i}from"./p-42169e41.js";import{h as a}from"./p-71ee259b.js";import{o as r,c as e,h as d}from"./p-669fab6c.js";import{f as c,a as s}from"./p-0ee8b7a7.js";import{c as p,g as l}from"./p-da0d920d.js";const g=':host{--background:transparent;--color-focused:currentColor;--color-hover:currentColor;--icon-margin-top:0;--icon-margin-bottom:0;--icon-padding-top:0;--icon-padding-end:0;--icon-padding-bottom:0;--icon-padding-start:0;--margin-top:0;--margin-end:0;--margin-bottom:0;--margin-start:0;--min-width:auto;--min-height:auto;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--opacity:1;--ripple-color:currentColor;--transition:background-color, opacity 100ms linear;display:none;min-width:var(--min-width);min-height:var(--min-height);color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;user-select:none;font-kerning:none}ion-ripple-effect{color:var(--ripple-color)}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.show-back-button){display:block}:host(.back-button-disabled){cursor:default;opacity:0.5;pointer-events:none}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-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:block;position:relative;width:100%;height:100%;min-height:inherit;transition:var(--transition);border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;opacity:var(--opacity);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%;z-index:1}ion-icon{-webkit-padding-start:var(--icon-padding-start);padding-inline-start:var(--icon-padding-start);-webkit-padding-end:var(--icon-padding-end);padding-inline-end:var(--icon-padding-end);padding-top:var(--icon-padding-top);padding-bottom:var(--icon-padding-bottom);-webkit-margin-start:var(--icon-margin-start);margin-inline-start:var(--icon-margin-start);-webkit-margin-end:var(--icon-margin-end);margin-inline-end:var(--icon-margin-end);margin-top:var(--icon-margin-top);margin-bottom:var(--icon-margin-bottom);display:inherit;font-size:var(--icon-font-size);font-weight:var(--icon-font-weight);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)}}:host(.ion-color.ion-focused) .button-native{color:var(--ion-color-base)}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-base)}}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--background-hover:transparent;--background-hover-opacity:1;--background-focused:currentColor;--background-focused-opacity:.1;--border-radius:4px;--color:var(--ion-color-primary, #3880ff);--icon-margin-end:1px;--icon-margin-start:-4px;--icon-font-size:1.6em;--min-height:32px;font-size:clamp(17px, 1.0625rem, 21.998px)}.button-native{transform:translateZ(0);overflow:visible;z-index:99}:host(.ion-activated) .button-native{opacity:0.4}@media (any-hover: hover){:host(:hover){opacity:0.6}}';const h=g;const b=':host{--background:transparent;--color-focused:currentColor;--color-hover:currentColor;--icon-margin-top:0;--icon-margin-bottom:0;--icon-padding-top:0;--icon-padding-end:0;--icon-padding-bottom:0;--icon-padding-start:0;--margin-top:0;--margin-end:0;--margin-bottom:0;--margin-start:0;--min-width:auto;--min-height:auto;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--opacity:1;--ripple-color:currentColor;--transition:background-color, opacity 100ms linear;display:none;min-width:var(--min-width);min-height:var(--min-height);color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;user-select:none;font-kerning:none}ion-ripple-effect{color:var(--ripple-color)}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.show-back-button){display:block}:host(.back-button-disabled){cursor:default;opacity:0.5;pointer-events:none}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-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:block;position:relative;width:100%;height:100%;min-height:inherit;transition:var(--transition);border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;opacity:var(--opacity);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%;z-index:1}ion-icon{-webkit-padding-start:var(--icon-padding-start);padding-inline-start:var(--icon-padding-start);-webkit-padding-end:var(--icon-padding-end);padding-inline-end:var(--icon-padding-end);padding-top:var(--icon-padding-top);padding-bottom:var(--icon-padding-bottom);-webkit-margin-start:var(--icon-margin-start);margin-inline-start:var(--icon-margin-start);-webkit-margin-end:var(--icon-margin-end);margin-inline-end:var(--icon-margin-end);margin-top:var(--icon-margin-top);margin-bottom:var(--icon-margin-bottom);display:inherit;font-size:var(--icon-font-size);font-weight:var(--icon-font-weight);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)}}:host(.ion-color.ion-focused) .button-native{color:var(--ion-color-base)}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-base)}}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--border-radius:4px;--background-focused:currentColor;--background-focused-opacity:.12;--background-hover:currentColor;--background-hover-opacity:0.04;--color:currentColor;--icon-margin-end:0;--icon-margin-start:0;--icon-font-size:1.5rem;--icon-font-weight:normal;--min-height:32px;--min-width:44px;--padding-start:12px;--padding-end:12px;font-size:0.875rem;font-weight:500;text-transform:uppercase}:host(.back-button-has-icon-only){--border-radius:50%;min-width:48px;min-height:48px;aspect-ratio:1/1}.button-native{box-shadow:none}.button-text{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:0;padding-bottom:0}ion-icon{line-height:0.67;text-align:start}@media (any-hover: hover){:host(.ion-color:hover) .button-native::after{background:var(--ion-color-base)}}:host(.ion-color.ion-focused) .button-native::after{background:var(--ion-color-base)}';const u=b;const v=class{constructor(n){t(this,n);this.inheritedAttributes={};this.onClick=async t=>{const n=this.el.closest("ion-nav");t.preventDefault();if(n&&await n.canGoBack()){return n.pop({animationBuilder:this.routerAnimation,skipIfBusy:true})}return r(this.defaultHref,t,"back",this.routerAnimation)};this.color=undefined;this.defaultHref=undefined;this.disabled=false;this.icon=undefined;this.text=undefined;this.type="button";this.routerAnimation=undefined}componentWillLoad(){this.inheritedAttributes=a(this.el);if(this.defaultHref===undefined){this.defaultHref=p.get("backButtonDefaultHref")}}get backButtonIcon(){const t=this.icon;if(t!=null){return t}if(l(this)==="ios"){return p.get("backButtonIcon",c)}return p.get("backButtonIcon",s)}get backButtonText(){const t=l(this)==="ios"?"Back":null;return this.text!=null?this.text:p.get("backButtonText",t)}get hasIconOnly(){return this.backButtonIcon&&!this.backButtonText}get rippleType(){if(this.hasIconOnly){return"unbounded"}return"bounded"}render(){const{color:t,defaultHref:i,disabled:a,type:r,hasIconOnly:c,backButtonIcon:s,backButtonText:p,icon:g,inheritedAttributes:h}=this;const b=i!==undefined;const u=l(this);const v=h["aria-label"]||p||"back";return n(o,{key:"9e837be314ee8ea487ba2771d36668ef58442faa",onClick:this.onClick,class:e(t,{[u]:true,button:true,"back-button-disabled":a,"back-button-has-icon-only":c,"in-toolbar":d("ion-toolbar",this.el),"in-toolbar-color":d("ion-toolbar[color]",this.el),"ion-activatable":true,"ion-focusable":true,"show-back-button":b})},n("button",{key:"c4531348bd80cf6163931c5fb432526aa8127043",type:r,disabled:a,class:"button-native",part:"native","aria-label":v},n("span",{key:"aab8c6d5f0a84aed9f4e4a2532a239b28c7d5589",class:"button-inner"},s&&n("ion-icon",{key:"121eae10947b46a3d109709b79f4126b1c40ade4",part:"icon",icon:s,"aria-hidden":"true",lazy:false,"flip-rtl":g===undefined}),p&&n("span",{key:"11c28875cc52b99470525d18c1f88f27c390a75a",part:"text","aria-hidden":"true",class:"button-text"},p)),u==="md"&&n("ion-ripple-effect",{key:"804bf8a06cd033c99d61ec2665c842b3b25945fa",type:this.rippleType})))}get el(){return i(this)}};v.style={ios:h,md:u};export{v as ion_back_button};
2
- //# sourceMappingURL=p-a376351f.entry.js.map
1
+ import{r as t,h as n,H as o,d as i}from"./p-ad32e711.js";import{h as a}from"./p-71ee259b.js";import{o as r,c as e,h as d}from"./p-669fab6c.js";import{f as c,a as s}from"./p-0ee8b7a7.js";import{c as p,g as l}from"./p-17cb620a.js";const g=':host{--background:transparent;--color-focused:currentColor;--color-hover:currentColor;--icon-margin-top:0;--icon-margin-bottom:0;--icon-padding-top:0;--icon-padding-end:0;--icon-padding-bottom:0;--icon-padding-start:0;--margin-top:0;--margin-end:0;--margin-bottom:0;--margin-start:0;--min-width:auto;--min-height:auto;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--opacity:1;--ripple-color:currentColor;--transition:background-color, opacity 100ms linear;display:none;min-width:var(--min-width);min-height:var(--min-height);color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;user-select:none;font-kerning:none}ion-ripple-effect{color:var(--ripple-color)}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.show-back-button){display:block}:host(.back-button-disabled){cursor:default;opacity:0.5;pointer-events:none}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-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:block;position:relative;width:100%;height:100%;min-height:inherit;transition:var(--transition);border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;opacity:var(--opacity);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%;z-index:1}ion-icon{-webkit-padding-start:var(--icon-padding-start);padding-inline-start:var(--icon-padding-start);-webkit-padding-end:var(--icon-padding-end);padding-inline-end:var(--icon-padding-end);padding-top:var(--icon-padding-top);padding-bottom:var(--icon-padding-bottom);-webkit-margin-start:var(--icon-margin-start);margin-inline-start:var(--icon-margin-start);-webkit-margin-end:var(--icon-margin-end);margin-inline-end:var(--icon-margin-end);margin-top:var(--icon-margin-top);margin-bottom:var(--icon-margin-bottom);display:inherit;font-size:var(--icon-font-size);font-weight:var(--icon-font-weight);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)}}:host(.ion-color.ion-focused) .button-native{color:var(--ion-color-base)}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-base)}}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--background-hover:transparent;--background-hover-opacity:1;--background-focused:currentColor;--background-focused-opacity:.1;--border-radius:4px;--color:var(--ion-color-primary, #3880ff);--icon-margin-end:1px;--icon-margin-start:-4px;--icon-font-size:1.6em;--min-height:32px;font-size:clamp(17px, 1.0625rem, 21.998px)}.button-native{transform:translateZ(0);overflow:visible;z-index:99}:host(.ion-activated) .button-native{opacity:0.4}@media (any-hover: hover){:host(:hover){opacity:0.6}}';const h=g;const b=':host{--background:transparent;--color-focused:currentColor;--color-hover:currentColor;--icon-margin-top:0;--icon-margin-bottom:0;--icon-padding-top:0;--icon-padding-end:0;--icon-padding-bottom:0;--icon-padding-start:0;--margin-top:0;--margin-end:0;--margin-bottom:0;--margin-start:0;--min-width:auto;--min-height:auto;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--opacity:1;--ripple-color:currentColor;--transition:background-color, opacity 100ms linear;display:none;min-width:var(--min-width);min-height:var(--min-height);color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;user-select:none;font-kerning:none}ion-ripple-effect{color:var(--ripple-color)}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.show-back-button){display:block}:host(.back-button-disabled){cursor:default;opacity:0.5;pointer-events:none}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-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:block;position:relative;width:100%;height:100%;min-height:inherit;transition:var(--transition);border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;opacity:var(--opacity);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%;z-index:1}ion-icon{-webkit-padding-start:var(--icon-padding-start);padding-inline-start:var(--icon-padding-start);-webkit-padding-end:var(--icon-padding-end);padding-inline-end:var(--icon-padding-end);padding-top:var(--icon-padding-top);padding-bottom:var(--icon-padding-bottom);-webkit-margin-start:var(--icon-margin-start);margin-inline-start:var(--icon-margin-start);-webkit-margin-end:var(--icon-margin-end);margin-inline-end:var(--icon-margin-end);margin-top:var(--icon-margin-top);margin-bottom:var(--icon-margin-bottom);display:inherit;font-size:var(--icon-font-size);font-weight:var(--icon-font-weight);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)}}:host(.ion-color.ion-focused) .button-native{color:var(--ion-color-base)}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-base)}}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--border-radius:4px;--background-focused:currentColor;--background-focused-opacity:.12;--background-hover:currentColor;--background-hover-opacity:0.04;--color:currentColor;--icon-margin-end:0;--icon-margin-start:0;--icon-font-size:1.5rem;--icon-font-weight:normal;--min-height:32px;--min-width:44px;--padding-start:12px;--padding-end:12px;font-size:0.875rem;font-weight:500;text-transform:uppercase}:host(.back-button-has-icon-only){--border-radius:50%;min-width:48px;min-height:48px;aspect-ratio:1/1}.button-native{box-shadow:none}.button-text{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:0;padding-bottom:0}ion-icon{line-height:0.67;text-align:start}@media (any-hover: hover){:host(.ion-color:hover) .button-native::after{background:var(--ion-color-base)}}:host(.ion-color.ion-focused) .button-native::after{background:var(--ion-color-base)}';const u=b;const v=class{constructor(n){t(this,n);this.inheritedAttributes={};this.onClick=async t=>{const n=this.el.closest("ion-nav");t.preventDefault();if(n&&await n.canGoBack()){return n.pop({animationBuilder:this.routerAnimation,skipIfBusy:true})}return r(this.defaultHref,t,"back",this.routerAnimation)};this.color=undefined;this.defaultHref=undefined;this.disabled=false;this.icon=undefined;this.text=undefined;this.type="button";this.routerAnimation=undefined}componentWillLoad(){this.inheritedAttributes=a(this.el);if(this.defaultHref===undefined){this.defaultHref=p.get("backButtonDefaultHref")}}get backButtonIcon(){const t=this.icon;if(t!=null){return t}if(l(this)==="ios"){return p.get("backButtonIcon",c)}return p.get("backButtonIcon",s)}get backButtonText(){const t=l(this)==="ios"?"Back":null;return this.text!=null?this.text:p.get("backButtonText",t)}get hasIconOnly(){return this.backButtonIcon&&!this.backButtonText}get rippleType(){if(this.hasIconOnly){return"unbounded"}return"bounded"}render(){const{color:t,defaultHref:i,disabled:a,type:r,hasIconOnly:c,backButtonIcon:s,backButtonText:p,icon:g,inheritedAttributes:h}=this;const b=i!==undefined;const u=l(this);const v=h["aria-label"]||p||"back";return n(o,{key:"9e837be314ee8ea487ba2771d36668ef58442faa",onClick:this.onClick,class:e(t,{[u]:true,button:true,"back-button-disabled":a,"back-button-has-icon-only":c,"in-toolbar":d("ion-toolbar",this.el),"in-toolbar-color":d("ion-toolbar[color]",this.el),"ion-activatable":true,"ion-focusable":true,"show-back-button":b})},n("button",{key:"c4531348bd80cf6163931c5fb432526aa8127043",type:r,disabled:a,class:"button-native",part:"native","aria-label":v},n("span",{key:"aab8c6d5f0a84aed9f4e4a2532a239b28c7d5589",class:"button-inner"},s&&n("ion-icon",{key:"121eae10947b46a3d109709b79f4126b1c40ade4",part:"icon",icon:s,"aria-hidden":"true",lazy:false,"flip-rtl":g===undefined}),p&&n("span",{key:"11c28875cc52b99470525d18c1f88f27c390a75a",part:"text","aria-hidden":"true",class:"button-text"},p)),u==="md"&&n("ion-ripple-effect",{key:"804bf8a06cd033c99d61ec2665c842b3b25945fa",type:this.rippleType})))}get el(){return i(this)}};v.style={ios:h,md:u};export{v as ion_back_button};
2
+ //# sourceMappingURL=p-ad55e9ab.entry.js.map
@@ -0,0 +1,2 @@
1
+ import{r as o,h as t,H as i,i as a}from"./p-ad32e711.js";import{c as n}from"./p-669fab6c.js";import{g as r}from"./p-17cb620a.js";import{l as s}from"./p-6e865527.js";import{s as d}from"./p-182f722d.js";import{s as e}from"./p-f6671856.js";const p=":host{--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff);--padding-top:3px;--padding-end:8px;--padding-bottom:3px;--padding-start:8px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-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);display:inline-block;min-width:10px;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);font-size:0.8125rem;font-weight:bold;line-height:1;text-align:center;white-space:nowrap;contain:content;vertical-align:baseline}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(:empty){display:none}:host{border-radius:10px;font-size:max(13px, 0.8125rem)}";const c=p;const l=":host{--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff);--padding-top:3px;--padding-end:8px;--padding-bottom:3px;--padding-start:8px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-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);display:inline-block;min-width:10px;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);font-size:0.8125rem;font-weight:bold;line-height:1;text-align:center;white-space:nowrap;contain:content;vertical-align:baseline}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(:empty){display:none}:host{--padding-top:3px;--padding-end:4px;--padding-bottom:4px;--padding-start:4px;border-radius:4px}";const g=l;const h=class{constructor(t){o(this,t);this.color=undefined}render(){const o=r(this);return t(i,{key:"22d41ceefb76f40dfbf739fd71483f1272a45858",class:n(this.color,{[o]:true})},t("slot",{key:"e7e65463bac5903971a8f9f6be55515f42b81a83"}))}};h.style={ios:c,md:g};const m=":host{display:flex;align-items:center;gap:0.2rem}input{padding:var(--size-2);background-color:transparent;color:var(--pos-normal-text-color);border:none}input:focus{outline:2px solid var(--pos-primary-color);background-color:var(--pos-input-background-color);transition:outline 0.1s,\n background-color 0.1s}";const f=m;const b=class{constructor(t){o(this,t);this.subscribePodOs=a(this,"pod-os:init",7);this.subscribeResource=a(this,"pod-os:resource",7);this.addedLiteralValue=a(this,"pod-os:added-literal-value",7);this.error=a(this,"pod-os:error",7);this.receiveResource=o=>{this.resource=o};this.receivePodOs=async o=>{this.os=o}}setName(){}componentWillLoad(){e(this);d(this)}async save(){try{await this.os.addPropertyValue(this.resource,this.selectedTermUri,this.currentValue);const o={predicate:this.selectedTermUri,label:s(this.selectedTermUri),values:[this.currentValue]};this.addedLiteralValue.emit(o);this.currentValue=""}catch(o){this.error.emit(o)}}onTermSelected(o){this.selectedTermUri=o.detail.uri;this.valueInput.focus()}render(){var o;if(!((o=this.resource)===null||o===void 0?void 0:o.editable)){return}return t(i,null,t("ion-icon",{name:"add-circle-outline"}),t("pos-select-term",{placeholder:"Add literal","onPod-os:term-selected":o=>this.onTermSelected(o)}),t("input",{ref:o=>this.valueInput=o,value:this.currentValue,placeholder:"",onInput:o=>this.currentValue=o.target.value,onChange:()=>this.save()}))}static get watchers(){return{os:["setName"]}}};b.style=f;export{h as ion_badge,b as pos_add_literal_value};
2
+ //# sourceMappingURL=p-b3117c79.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["badgeIosCss","IonBadgeIosStyle0","badgeMdCss","IonBadgeMdStyle0","Badge","constructor","hostRef","this","color","undefined","render","mode","getIonMode","h","Host","key","class","createColorClasses","posAddLiteralValueCss","PosAddLiteralValueStyle0","PosAddLiteralValue","receiveResource","resource","receivePodOs","async","os","setName","componentWillLoad","subscribeResource","subscribePodOs","save","addPropertyValue","selectedTermUri","currentValue","literal","predicate","label","labelFromUri","values","addedLiteralValue","emit","err","error","onTermSelected","event","detail","uri","valueInput","focus","_a","editable","name","placeholder","ev","ref","el","value","onInput","target","onChange"],"sources":["../node_modules/@ionic/core/dist/collection/components/badge/badge.ios.css?tag=ion-badge&mode=ios&encapsulation=shadow","../node_modules/@ionic/core/dist/collection/components/badge/badge.md.css?tag=ion-badge&mode=md&encapsulation=shadow","../node_modules/@ionic/core/dist/collection/components/badge/badge.js","src/components/pos-add-literal-value/pos-add-literal-value.css?tag=pos-add-literal-value&encapsulation=shadow","src/components/pos-add-literal-value/pos-add-literal-value.tsx"],"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:host {\n /**\n * @prop --background: Background of the badge\n * @prop --color: Text color of the badge\n *\n * @prop --padding-top: Top padding of the badge\n * @prop --padding-end: Right padding if direction is left-to-right, and left padding if direction is right-to-left of the badge\n * @prop --padding-bottom: Bottom padding of the badge\n * @prop --padding-start: Left padding if direction is left-to-right, and right padding if direction is right-to-left of the badge\n */\n --background: var(--ion-color-primary, #3880ff);\n --color: var(--ion-color-primary-contrast, #fff);\n --padding-top: 3px;\n --padding-end: 8px;\n --padding-bottom: 3px;\n --padding-start: 8px;\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\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 display: inline-block;\n min-width: 10px;\n background: var(--background);\n color: var(--color);\n font-family: var(--ion-font-family, inherit);\n font-size: 0.8125rem;\n font-weight: bold;\n line-height: 1;\n text-align: center;\n white-space: nowrap;\n contain: content;\n vertical-align: baseline;\n}\n\n:host(.ion-color) {\n background: var(--ion-color-base);\n color: var(--ion-color-contrast);\n}\n\n:host(:empty) {\n display: none;\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 border-radius: 10px;\n /**\n * \"-apple-system-body\" on iOS never goes smaller than\n * 14px according to https://developer.apple.com/design/human-interface-guidelines/typography#Specifications.\n * However, we still keep the max() usage here for consistency\n * with other components and in case \"-apple-system-body\" does\n * go smaller than 14px in the future.\n */\n font-size: max(13px, 0.8125rem);\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 --background: Background of the badge\n * @prop --color: Text color of the badge\n *\n * @prop --padding-top: Top padding of the badge\n * @prop --padding-end: Right padding if direction is left-to-right, and left padding if direction is right-to-left of the badge\n * @prop --padding-bottom: Bottom padding of the badge\n * @prop --padding-start: Left padding if direction is left-to-right, and right padding if direction is right-to-left of the badge\n */\n --background: var(--ion-color-primary, #3880ff);\n --color: var(--ion-color-primary-contrast, #fff);\n --padding-top: 3px;\n --padding-end: 8px;\n --padding-bottom: 3px;\n --padding-start: 8px;\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\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 display: inline-block;\n min-width: 10px;\n background: var(--background);\n color: var(--color);\n font-family: var(--ion-font-family, inherit);\n font-size: 0.8125rem;\n font-weight: bold;\n line-height: 1;\n text-align: center;\n white-space: nowrap;\n contain: content;\n vertical-align: baseline;\n}\n\n:host(.ion-color) {\n background: var(--ion-color-base);\n color: var(--ion-color-contrast);\n}\n\n:host(:empty) {\n display: none;\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 --padding-top: 3px;\n --padding-end: 4px;\n --padding-bottom: 4px;\n --padding-start: 4px;\n border-radius: 4px;\n}","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { Host, h } from \"@stencil/core\";\nimport { createColorClasses } from \"../../utils/theme\";\nimport { getIonMode } from \"../../global/ionic-global\";\n/**\n * @virtualProp {\"ios\" | \"md\"} mode - The mode determines which platform styles to use.\n */\nexport class Badge {\n constructor() {\n this.color = undefined;\n }\n render() {\n const mode = getIonMode(this);\n return (h(Host, { key: '22d41ceefb76f40dfbf739fd71483f1272a45858', class: createColorClasses(this.color, {\n [mode]: true,\n }) }, h(\"slot\", { key: 'e7e65463bac5903971a8f9f6be55515f42b81a83' })));\n }\n static get is() { return \"ion-badge\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"ios\": [\"badge.ios.scss\"],\n \"md\": [\"badge.md.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"ios\": [\"badge.ios.css\"],\n \"md\": [\"badge.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 };\n }\n}\n",":host {\n display: flex;\n align-items: center;\n gap: 0.2rem;\n}\n\ninput {\n padding: var(--size-2);\n background-color: transparent;\n color: var(--pos-normal-text-color);\n border: none;\n}\n\ninput:focus {\n outline: 2px solid var(--pos-primary-color);\n background-color: var(--pos-input-background-color);\n transition:\n outline 0.1s,\n background-color 0.1s;\n}\n","import { Literal, PodOS, Thing, labelFromUri } from '@pod-os/core';\nimport { Component, Host, h, State, Event, Watch, EventEmitter } from '@stencil/core';\nimport { PodOsAware, PodOsEventEmitter, subscribePodOs } from '../events/PodOsAware';\nimport { ResourceAware, ResourceEventEmitter, subscribeResource } from '../events/ResourceAware';\n\n@Component({\n tag: 'pos-add-literal-value',\n styleUrl: 'pos-add-literal-value.css',\n shadow: true,\n})\nexport class PosAddLiteralValue implements ResourceAware, PodOsAware {\n @State() os: PodOS;\n @State() resource: Thing;\n\n @State() currentValue: string;\n @State() selectedTermUri: string;\n\n @Event({ eventName: 'pod-os:init' }) subscribePodOs: PodOsEventEmitter;\n\n @Event({ eventName: 'pod-os:resource' }) subscribeResource: ResourceEventEmitter;\n\n /**\n * The entered literal value has been added to the resource and successfully stored to the Pod.\n */\n @Event({ eventName: 'pod-os:added-literal-value' }) addedLiteralValue: EventEmitter;\n\n /**\n * Something went wrong while adding the literal value.\n */\n @Event({ eventName: 'pod-os:error' }) error: EventEmitter;\n\n @Watch('os')\n setName() {}\n\n private valueInput: HTMLInputElement;\n\n componentWillLoad() {\n subscribeResource(this);\n subscribePodOs(this);\n }\n\n receiveResource = (resource: Thing) => {\n this.resource = resource;\n };\n\n receivePodOs = async (os: PodOS) => {\n this.os = os;\n };\n\n async save() {\n try {\n await this.os.addPropertyValue(this.resource, this.selectedTermUri, this.currentValue);\n const literal: Literal = {\n predicate: this.selectedTermUri,\n label: labelFromUri(this.selectedTermUri),\n values: [this.currentValue],\n };\n this.addedLiteralValue.emit(literal);\n this.currentValue = '';\n } catch (err) {\n this.error.emit(err);\n }\n }\n\n onTermSelected(event) {\n this.selectedTermUri = event.detail.uri;\n this.valueInput.focus();\n }\n\n render() {\n if (!this.resource?.editable) {\n return;\n }\n return (\n <Host>\n <ion-icon name=\"add-circle-outline\"></ion-icon>\n <pos-select-term placeholder=\"Add literal\" onPod-os:term-selected={ev => this.onTermSelected(ev)} />\n <input\n ref={el => (this.valueInput = el)}\n value={this.currentValue}\n placeholder=\"\"\n onInput={ev => (this.currentValue = (ev.target as HTMLInputElement).value)}\n onChange={() => this.save()}\n ></input>\n </Host>\n );\n }\n}\n"],"mappings":"6OAAA,MAAMA,EAAc,s4BACpB,MAAAC,EAAeD,ECDf,MAAME,EAAa,m7BACnB,MAAAC,EAAeD,E,MCQFE,EAAK,MACd,WAAAC,CAAAC,G,UACIC,KAAKC,MAAQC,S,CAEjB,MAAAC,GACI,MAAMC,EAAOC,EAAWL,MACxB,OAAQM,EAAEC,EAAM,CAAEC,IAAK,2CAA4CC,MAAOC,EAAmBV,KAAKC,MAAO,CACjGG,CAACA,GAAO,QACNE,EAAE,OAAQ,CAAEE,IAAK,6C,wBCjBnC,MAAMG,EAAwB,0TAC9B,MAAAC,EAAeD,E,MCSFE,EAAkB,MAL/B,WAAAf,CAAAC,G,2MAoCEC,KAAAc,gBAAmBC,IACjBf,KAAKe,SAAWA,CAAQ,EAG1Bf,KAAAgB,aAAeC,MAAOC,IACpBlB,KAAKkB,GAAKA,CAAE,C,CAdd,OAAAC,GAAO,CAIP,iBAAAC,GACEC,EAAkBrB,MAClBsB,EAAetB,K,CAWjB,UAAMuB,GACJ,UACQvB,KAAKkB,GAAGM,iBAAiBxB,KAAKe,SAAUf,KAAKyB,gBAAiBzB,KAAK0B,cACzE,MAAMC,EAAmB,CACvBC,UAAW5B,KAAKyB,gBAChBI,MAAOC,EAAa9B,KAAKyB,iBACzBM,OAAQ,CAAC/B,KAAK0B,eAEhB1B,KAAKgC,kBAAkBC,KAAKN,GAC5B3B,KAAK0B,aAAe,E,CACpB,MAAOQ,GACPlC,KAAKmC,MAAMF,KAAKC,E,EAIpB,cAAAE,CAAeC,GACbrC,KAAKyB,gBAAkBY,EAAMC,OAAOC,IACpCvC,KAAKwC,WAAWC,O,CAGlB,MAAAtC,G,MACE,MAAKuC,EAAA1C,KAAKe,YAAQ,MAAA2B,SAAA,SAAAA,EAAEC,UAAU,CAC5B,M,CAEF,OACErC,EAACC,EAAI,KACHD,EAAA,YAAUsC,KAAK,uBACftC,EAAA,mBAAiBuC,YAAY,cAAa,yBAAyBC,GAAM9C,KAAKoC,eAAeU,KAC7FxC,EAAA,SACEyC,IAAKC,GAAOhD,KAAKwC,WAAaQ,EAC9BC,MAAOjD,KAAK0B,aACZmB,YAAY,GACZK,QAASJ,GAAO9C,KAAK0B,aAAgBoB,EAAGK,OAA4BF,MACpEG,SAAU,IAAMpD,KAAKuB,S","ignoreList":[]}
@@ -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-ad32e711.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-b58ed3d9.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,h as e,H as a,e as i}from"./p-42169e41.js";import{a as s}from"./p-eba70ed1.js";import"./p-71ee259b.js";const n=":host(.tab-hidden){display:none !important}";const r=n;const o=class{constructor(e){t(this,e);this.loaded=false;this.active=false;this.delegate=undefined;this.tab=undefined;this.component=undefined}async componentWillLoad(){if(this.active){await this.setActive()}}async setActive(){await this.prepareLazyLoaded();this.active=true}changeActive(t){if(t){this.prepareLazyLoaded()}}prepareLazyLoaded(){if(!this.loaded&&this.component!=null){this.loaded=true;try{return s(this.delegate,this.el,this.component,["ion-page"])}catch(t){console.error(t)}}return Promise.resolve(undefined)}render(){const{tab:t,active:i,component:s}=this;return e(a,{key:"4fe50fa809503794be2ef91383e49b72cad6fa82",role:"tabpanel","aria-hidden":!i?"true":null,"aria-labelledby":`tab-button-${t}`,class:{"ion-page":s===undefined,"tab-hidden":!i}},e("slot",{key:"937777a826936d6b399329a926a704008339803e"}))}get el(){return i(this)}static get watchers(){return{active:["changeActive"]}}};o.style=r;export{o as ion_tab};
2
- //# sourceMappingURL=p-5bf40440.entry.js.map
1
+ import{r as t,h as e,H as a,d as i}from"./p-ad32e711.js";import{a as s}from"./p-eba70ed1.js";import"./p-71ee259b.js";const n=":host(.tab-hidden){display:none !important}";const r=n;const o=class{constructor(e){t(this,e);this.loaded=false;this.active=false;this.delegate=undefined;this.tab=undefined;this.component=undefined}async componentWillLoad(){if(this.active){await this.setActive()}}async setActive(){await this.prepareLazyLoaded();this.active=true}changeActive(t){if(t){this.prepareLazyLoaded()}}prepareLazyLoaded(){if(!this.loaded&&this.component!=null){this.loaded=true;try{return s(this.delegate,this.el,this.component,["ion-page"])}catch(t){console.error(t)}}return Promise.resolve(undefined)}render(){const{tab:t,active:i,component:s}=this;return e(a,{key:"4fe50fa809503794be2ef91383e49b72cad6fa82",role:"tabpanel","aria-hidden":!i?"true":null,"aria-labelledby":`tab-button-${t}`,class:{"ion-page":s===undefined,"tab-hidden":!i}},e("slot",{key:"937777a826936d6b399329a926a704008339803e"}))}get el(){return i(this)}static get watchers(){return{active:["changeActive"]}}};o.style=r;export{o as ion_tab};
2
+ //# sourceMappingURL=p-b8363813.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,h as e,H as i}from"./p-42169e41.js";import{o as r,c as o}from"./p-669fab6c.js";import{g as n}from"./p-da0d920d.js";const s=":host{--background:transparent;--color:var(--ion-color-primary, #3880ff);background:var(--background);color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}a{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}";const a=s;const c=class{constructor(e){t(this,e);this.onClick=t=>{r(this.href,t,this.routerDirection,this.routerAnimation)};this.color=undefined;this.href=undefined;this.rel=undefined;this.routerDirection="forward";this.routerAnimation=undefined;this.target=undefined}render(){const t=n(this);const r={href:this.href,rel:this.rel,target:this.target};return e(i,{key:"e69892f4c6a6baf040a20c429afdec0e4db2dc0e",onClick:this.onClick,class:o(this.color,{[t]:true,"ion-activatable":true})},e("a",Object.assign({key:"648cb22526f2933abe0865c86da6f30eac3ccb87"},r),e("slot",{key:"d6bc2e28b7c5cc228caedffebe653bde35934b67"})))}};c.style=a;export{c as ion_router_link};
2
- //# sourceMappingURL=p-c350af00.entry.js.map
1
+ import{r as t,h as e,H as i}from"./p-ad32e711.js";import{o as r,c as o}from"./p-669fab6c.js";import{g as n}from"./p-17cb620a.js";const s=":host{--background:transparent;--color:var(--ion-color-primary, #3880ff);background:var(--background);color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}a{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}";const a=s;const c=class{constructor(e){t(this,e);this.onClick=t=>{r(this.href,t,this.routerDirection,this.routerAnimation)};this.color=undefined;this.href=undefined;this.rel=undefined;this.routerDirection="forward";this.routerAnimation=undefined;this.target=undefined}render(){const t=n(this);const r={href:this.href,rel:this.rel,target:this.target};return e(i,{key:"e69892f4c6a6baf040a20c429afdec0e4db2dc0e",onClick:this.onClick,class:o(this.color,{[t]:true,"ion-activatable":true})},e("a",Object.assign({key:"648cb22526f2933abe0865c86da6f30eac3ccb87"},r),e("slot",{key:"d6bc2e28b7c5cc228caedffebe653bde35934b67"})))}};c.style=a;export{c as ion_router_link};
2
+ //# sourceMappingURL=p-b90da7d9.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,h as i,H as n,e as r}from"./p-42169e41.js";import{c as a}from"./p-669fab6c.js";import{g as e}from"./p-da0d920d.js";const o=":host{--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--inner-padding-top:0px;--inner-padding-end:0px;--inner-padding-bottom:0px;--inner-padding-start:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);padding-right:var(--padding-end);padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));display:flex;align-items:center;justify-content:space-between;width:100%;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);overflow:hidden;z-index:100;box-sizing:border-box}:host-context([dir=rtl]){padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}@supports selector(:dir(rtl)){:host(:dir(rtl)){padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.item-divider-sticky){position:sticky;top:0}.item-divider-inner{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--inner-padding-top);padding-bottom:var(--inner-padding-bottom);padding-right:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-left:var(--inner-padding-start);display:flex;flex:1;flex-direction:inherit;align-items:inherit;align-self:stretch;min-height:inherit;border:0;overflow:hidden}:host-context([dir=rtl]) .item-divider-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}[dir=rtl] .item-divider-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}@supports selector(:dir(rtl)){.item-divider-inner:dir(rtl){padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}}.item-divider-wrapper{display:flex;flex:1;flex-direction:inherit;align-items:inherit;align-self:stretch;text-overflow:ellipsis;overflow:hidden}:host{--background:var(--ion-color-step-100, #e6e6e6);--color:var(--ion-color-step-850, #262626);--padding-start:16px;--inner-padding-end:8px;border-radius:0;position:relative;min-height:28px;font-size:1.0625rem;font-weight:600}:host([slot=start]){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:2px;margin-bottom:2px}::slotted(ion-icon[slot=start]),::slotted(ion-icon[slot=end]){margin-top:7px;margin-bottom:7px}::slotted(h1){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px}::slotted(h2){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px}::slotted(h3),::slotted(h4),::slotted(h5),::slotted(h6){margin-left:0;margin-right:0;margin-top:0;margin-bottom:3px}::slotted(p){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.4);font-size:0.875rem;line-height:normal;text-overflow:inherit;overflow:inherit}::slotted(h2:last-child) ::slotted(h3:last-child),::slotted(h4:last-child),::slotted(h5:last-child),::slotted(h6:last-child),::slotted(p:last-child){margin-bottom:0}";const d=o;const g=":host{--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--inner-padding-top:0px;--inner-padding-end:0px;--inner-padding-bottom:0px;--inner-padding-start:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);padding-right:var(--padding-end);padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));display:flex;align-items:center;justify-content:space-between;width:100%;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);overflow:hidden;z-index:100;box-sizing:border-box}:host-context([dir=rtl]){padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}@supports selector(:dir(rtl)){:host(:dir(rtl)){padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.item-divider-sticky){position:sticky;top:0}.item-divider-inner{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--inner-padding-top);padding-bottom:var(--inner-padding-bottom);padding-right:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-left:var(--inner-padding-start);display:flex;flex:1;flex-direction:inherit;align-items:inherit;align-self:stretch;min-height:inherit;border:0;overflow:hidden}:host-context([dir=rtl]) .item-divider-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}[dir=rtl] .item-divider-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}@supports selector(:dir(rtl)){.item-divider-inner:dir(rtl){padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}}.item-divider-wrapper{display:flex;flex:1;flex-direction:inherit;align-items:inherit;align-self:stretch;text-overflow:ellipsis;overflow:hidden}:host{--background:var(--ion-background-color, #fff);--color:var(--ion-color-step-400, #999999);--padding-start:16px;--inner-padding-end:16px;min-height:30px;border-bottom:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));font-size:0.875rem}::slotted([slot=start]){-webkit-margin-end:32px;margin-inline-end:32px}::slotted([slot=end]){-webkit-margin-start:32px;margin-inline-start:32px}::slotted(ion-label){margin-left:0;margin-right:0;margin-top:13px;margin-bottom:10px}::slotted(ion-icon){color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54);font-size:1.7142857143em}:host(.ion-color) ::slotted(ion-icon){color:var(--ion-color-contrast)}::slotted(ion-icon[slot]){margin-top:12px;margin-bottom:12px}::slotted(ion-icon[slot=start]){-webkit-margin-end:32px;margin-inline-end:32px}::slotted(ion-icon[slot=end]){-webkit-margin-start:16px;margin-inline-start:16px}::slotted(ion-note){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;align-self:flex-start;font-size:0.6875rem}::slotted(ion-note[slot]){padding-left:0;padding-right:0;padding-top:18px;padding-bottom:10px}::slotted(ion-note[slot=start]){-webkit-padding-end:16px;padding-inline-end:16px}::slotted(ion-note[slot=end]){-webkit-padding-start:16px;padding-inline-start:16px}::slotted(ion-avatar){width:40px;height:40px}::slotted(ion-thumbnail){--size:56px}::slotted(ion-avatar),::slotted(ion-thumbnail){margin-top:8px;margin-bottom:8px}::slotted(ion-avatar[slot=start]),::slotted(ion-thumbnail[slot=start]){-webkit-margin-end:16px;margin-inline-end:16px}::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){-webkit-margin-start:16px;margin-inline-start:16px}::slotted(h1){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px}::slotted(h2){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px}::slotted(h3,h4,h5,h6){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px}::slotted(p){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;color:var(--ion-color-step-600, #666666);font-size:0.875rem;line-height:normal;text-overflow:inherit;overflow:inherit}";const l=g;const p=class{constructor(i){t(this,i);this.color=undefined;this.sticky=false}render(){const t=e(this);return i(n,{key:"5727179159ef2a8879f55435265003e0ec72df3f",class:a(this.color,{[t]:true,"item-divider-sticky":this.sticky,item:true})},i("slot",{key:"bb7df137e60ca3fa9a50c612e30fbb3ee4c818ad",name:"start"}),i("div",{key:"6a25a01271957cfdd8e8dfb6ef76e1eb710380f2",class:"item-divider-inner"},i("div",{key:"554ba681b0f346ed0af03232f8b2e6ca399877d9",class:"item-divider-wrapper"},i("slot",{key:"f98e20a01f09d0a2e19b7351eb1b4028881a07ab"})),i("slot",{key:"755643b5b8d3463af41b3d0805871073a34386a3",name:"end"})))}get el(){return r(this)}};p.style={ios:d,md:l};export{p as ion_item_divider};
2
- //# sourceMappingURL=p-bc675b21.entry.js.map
1
+ import{r as t,h as i,H as n,d as r}from"./p-ad32e711.js";import{c as a}from"./p-669fab6c.js";import{g as e}from"./p-17cb620a.js";const o=":host{--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--inner-padding-top:0px;--inner-padding-end:0px;--inner-padding-bottom:0px;--inner-padding-start:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);padding-right:var(--padding-end);padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));display:flex;align-items:center;justify-content:space-between;width:100%;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);overflow:hidden;z-index:100;box-sizing:border-box}:host-context([dir=rtl]){padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}@supports selector(:dir(rtl)){:host(:dir(rtl)){padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.item-divider-sticky){position:sticky;top:0}.item-divider-inner{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--inner-padding-top);padding-bottom:var(--inner-padding-bottom);padding-right:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-left:var(--inner-padding-start);display:flex;flex:1;flex-direction:inherit;align-items:inherit;align-self:stretch;min-height:inherit;border:0;overflow:hidden}:host-context([dir=rtl]) .item-divider-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}[dir=rtl] .item-divider-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}@supports selector(:dir(rtl)){.item-divider-inner:dir(rtl){padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}}.item-divider-wrapper{display:flex;flex:1;flex-direction:inherit;align-items:inherit;align-self:stretch;text-overflow:ellipsis;overflow:hidden}:host{--background:var(--ion-color-step-100, #e6e6e6);--color:var(--ion-color-step-850, #262626);--padding-start:16px;--inner-padding-end:8px;border-radius:0;position:relative;min-height:28px;font-size:1.0625rem;font-weight:600}:host([slot=start]){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:2px;margin-bottom:2px}::slotted(ion-icon[slot=start]),::slotted(ion-icon[slot=end]){margin-top:7px;margin-bottom:7px}::slotted(h1){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px}::slotted(h2){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px}::slotted(h3),::slotted(h4),::slotted(h5),::slotted(h6){margin-left:0;margin-right:0;margin-top:0;margin-bottom:3px}::slotted(p){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.4);font-size:0.875rem;line-height:normal;text-overflow:inherit;overflow:inherit}::slotted(h2:last-child) ::slotted(h3:last-child),::slotted(h4:last-child),::slotted(h5:last-child),::slotted(h6:last-child),::slotted(p:last-child){margin-bottom:0}";const d=o;const g=":host{--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--inner-padding-top:0px;--inner-padding-end:0px;--inner-padding-bottom:0px;--inner-padding-start:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);padding-right:var(--padding-end);padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));display:flex;align-items:center;justify-content:space-between;width:100%;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);overflow:hidden;z-index:100;box-sizing:border-box}:host-context([dir=rtl]){padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}@supports selector(:dir(rtl)){:host(:dir(rtl)){padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.item-divider-sticky){position:sticky;top:0}.item-divider-inner{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--inner-padding-top);padding-bottom:var(--inner-padding-bottom);padding-right:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-left:var(--inner-padding-start);display:flex;flex:1;flex-direction:inherit;align-items:inherit;align-self:stretch;min-height:inherit;border:0;overflow:hidden}:host-context([dir=rtl]) .item-divider-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}[dir=rtl] .item-divider-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}@supports selector(:dir(rtl)){.item-divider-inner:dir(rtl){padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}}.item-divider-wrapper{display:flex;flex:1;flex-direction:inherit;align-items:inherit;align-self:stretch;text-overflow:ellipsis;overflow:hidden}:host{--background:var(--ion-background-color, #fff);--color:var(--ion-color-step-400, #999999);--padding-start:16px;--inner-padding-end:16px;min-height:30px;border-bottom:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));font-size:0.875rem}::slotted([slot=start]){-webkit-margin-end:32px;margin-inline-end:32px}::slotted([slot=end]){-webkit-margin-start:32px;margin-inline-start:32px}::slotted(ion-label){margin-left:0;margin-right:0;margin-top:13px;margin-bottom:10px}::slotted(ion-icon){color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54);font-size:1.7142857143em}:host(.ion-color) ::slotted(ion-icon){color:var(--ion-color-contrast)}::slotted(ion-icon[slot]){margin-top:12px;margin-bottom:12px}::slotted(ion-icon[slot=start]){-webkit-margin-end:32px;margin-inline-end:32px}::slotted(ion-icon[slot=end]){-webkit-margin-start:16px;margin-inline-start:16px}::slotted(ion-note){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;align-self:flex-start;font-size:0.6875rem}::slotted(ion-note[slot]){padding-left:0;padding-right:0;padding-top:18px;padding-bottom:10px}::slotted(ion-note[slot=start]){-webkit-padding-end:16px;padding-inline-end:16px}::slotted(ion-note[slot=end]){-webkit-padding-start:16px;padding-inline-start:16px}::slotted(ion-avatar){width:40px;height:40px}::slotted(ion-thumbnail){--size:56px}::slotted(ion-avatar),::slotted(ion-thumbnail){margin-top:8px;margin-bottom:8px}::slotted(ion-avatar[slot=start]),::slotted(ion-thumbnail[slot=start]){-webkit-margin-end:16px;margin-inline-end:16px}::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){-webkit-margin-start:16px;margin-inline-start:16px}::slotted(h1){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px}::slotted(h2){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px}::slotted(h3,h4,h5,h6){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px}::slotted(p){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;color:var(--ion-color-step-600, #666666);font-size:0.875rem;line-height:normal;text-overflow:inherit;overflow:inherit}";const l=g;const p=class{constructor(i){t(this,i);this.color=undefined;this.sticky=false}render(){const t=e(this);return i(n,{key:"5727179159ef2a8879f55435265003e0ec72df3f",class:a(this.color,{[t]:true,"item-divider-sticky":this.sticky,item:true})},i("slot",{key:"bb7df137e60ca3fa9a50c612e30fbb3ee4c818ad",name:"start"}),i("div",{key:"6a25a01271957cfdd8e8dfb6ef76e1eb710380f2",class:"item-divider-inner"},i("div",{key:"554ba681b0f346ed0af03232f8b2e6ca399877d9",class:"item-divider-wrapper"},i("slot",{key:"f98e20a01f09d0a2e19b7351eb1b4028881a07ab"})),i("slot",{key:"755643b5b8d3463af41b3d0805871073a34386a3",name:"end"})))}get el(){return r(this)}};p.style={ios:d,md:l};export{p as ion_item_divider};
2
+ //# sourceMappingURL=p-bf16fe9d.entry.js.map
@@ -0,0 +1,2 @@
1
+ import{r as t,i,h as e,H as s,d as n}from"./p-ad32e711.js";const o=":host{left:0;right:0;top:0;bottom:0;display:flex;position:absolute;flex-direction:column;width:100%;height:100%;contain:layout size style;z-index:0}.tabs-inner{position:relative;flex:1;contain:layout size style}";const a=o;const r=class{constructor(e){t(this,e);this.ionNavWillLoad=i(this,"ionNavWillLoad",7);this.ionTabsWillChange=i(this,"ionTabsWillChange",3);this.ionTabsDidChange=i(this,"ionTabsDidChange",3);this.transitioning=false;this.onTabClicked=t=>{const{href:i,tab:e}=t.detail;if(this.useRouter&&i!==undefined){const t=document.querySelector("ion-router");if(t){t.push(i)}}else{this.select(e)}};this.selectedTab=undefined;this.useRouter=false}async componentWillLoad(){if(!this.useRouter){this.useRouter=!!document.querySelector("ion-router")&&!this.el.closest("[no-router]")}if(!this.useRouter){const t=this.tabs;if(t.length>0){await this.select(t[0])}}this.ionNavWillLoad.emit()}componentWillRender(){const t=this.el.querySelector("ion-tab-bar");if(t){const i=this.selectedTab?this.selectedTab.tab:undefined;t.selectedTab=i}}async select(t){const i=h(this.tabs,t);if(!this.shouldSwitch(i)){return false}await this.setActive(i);await this.notifyRouter();this.tabSwitch();return true}async getTab(t){return h(this.tabs,t)}getSelected(){return Promise.resolve(this.selectedTab?this.selectedTab.tab:undefined)}async setRouteId(t){const i=h(this.tabs,t);if(!this.shouldSwitch(i)){return{changed:false,element:this.selectedTab}}await this.setActive(i);return{changed:true,element:this.selectedTab,markVisible:()=>this.tabSwitch()}}async getRouteId(){var t;const i=(t=this.selectedTab)===null||t===void 0?void 0:t.tab;return i!==undefined?{id:i,element:this.selectedTab}:undefined}setActive(t){if(this.transitioning){return Promise.reject("transitioning already happening")}this.transitioning=true;this.leavingTab=this.selectedTab;this.selectedTab=t;this.ionTabsWillChange.emit({tab:t.tab});t.active=true;return Promise.resolve()}tabSwitch(){const t=this.selectedTab;const i=this.leavingTab;this.leavingTab=undefined;this.transitioning=false;if(!t){return}if(i!==t){if(i){i.active=false}this.ionTabsDidChange.emit({tab:t.tab})}}notifyRouter(){if(this.useRouter){const t=document.querySelector("ion-router");if(t){return t.navChanged("forward")}}return Promise.resolve(false)}shouldSwitch(t){const i=this.selectedTab;return t!==undefined&&t!==i&&!this.transitioning}get tabs(){return Array.from(this.el.querySelectorAll("ion-tab"))}render(){return e(s,{key:"5102fdd8ae80408811312631f0739c356d913840",onIonTabButtonClick:this.onTabClicked},e("slot",{key:"55f781cd010dcebf9675f2a0b4eab9f4271b780e",name:"top"}),e("div",{key:"2da0ee7b8c82e4bfa42f8bc5873e23e50a88c405",class:"tabs-inner"},e("slot",{key:"6335a62a10398c008c91f87f15b4a940a95e175d"})),e("slot",{key:"9b6f08a21c703cc7fdebd48eb746d0fde6a8454d",name:"bottom"}))}get el(){return n(this)}};const h=(t,i)=>{const e=typeof i==="string"?t.find((t=>t.tab===i)):i;if(!e){console.error(`tab with id: "${e}" does not exist`)}return e};r.style=a;export{r as ion_tabs};
2
+ //# sourceMappingURL=p-c0ad1e98.entry.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["tabsCss","IonTabsStyle0","Tabs","constructor","hostRef","this","transitioning","onTabClicked","ev","href","tab","detail","useRouter","undefined","router","document","querySelector","push","select","selectedTab","componentWillLoad","el","closest","tabs","length","ionNavWillLoad","emit","componentWillRender","tabBar","getTab","shouldSwitch","setActive","notifyRouter","tabSwitch","getSelected","Promise","resolve","setRouteId","id","changed","element","markVisible","getRouteId","_a","tabId","reject","leavingTab","ionTabsWillChange","active","ionTabsDidChange","navChanged","Array","from","querySelectorAll","render","h","Host","key","onIonTabButtonClick","name","class","tabEl","find","t","console","error"],"sources":["../node_modules/@ionic/core/dist/collection/components/tabs/tabs.css?tag=ion-tabs&encapsulation=shadow","../node_modules/@ionic/core/dist/collection/components/tabs/tabs.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:host {\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n display: flex;\n position: absolute;\n flex-direction: column;\n width: 100%;\n height: 100%;\n contain: layout size style;\n z-index: 0;\n}\n\n.tabs-inner {\n position: relative;\n flex: 1;\n contain: layout size style;\n}","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { Host, h } from \"@stencil/core\";\n/**\n * @slot - Content is placed between the named slots if provided without a slot.\n * @slot top - Content is placed at the top of the screen.\n * @slot bottom - Content is placed at the bottom of the screen.\n */\nexport class Tabs {\n constructor() {\n this.transitioning = false;\n this.onTabClicked = (ev) => {\n const { href, tab } = ev.detail;\n if (this.useRouter && href !== undefined) {\n const router = document.querySelector('ion-router');\n if (router) {\n router.push(href);\n }\n }\n else {\n this.select(tab);\n }\n };\n this.selectedTab = undefined;\n this.useRouter = false;\n }\n async componentWillLoad() {\n if (!this.useRouter) {\n this.useRouter = !!document.querySelector('ion-router') && !this.el.closest('[no-router]');\n }\n if (!this.useRouter) {\n const tabs = this.tabs;\n if (tabs.length > 0) {\n await this.select(tabs[0]);\n }\n }\n this.ionNavWillLoad.emit();\n }\n componentWillRender() {\n const tabBar = this.el.querySelector('ion-tab-bar');\n if (tabBar) {\n const tab = this.selectedTab ? this.selectedTab.tab : undefined;\n tabBar.selectedTab = tab;\n }\n }\n /**\n * Select a tab by the value of its `tab` property or an element reference. This method is only available for vanilla JavaScript projects. The Angular, React, and Vue implementations of tabs are coupled to each framework's router.\n *\n * @param tab The tab instance to select. If passed a string, it should be the value of the tab's `tab` property.\n */\n async select(tab) {\n const selectedTab = getTab(this.tabs, tab);\n if (!this.shouldSwitch(selectedTab)) {\n return false;\n }\n await this.setActive(selectedTab);\n await this.notifyRouter();\n this.tabSwitch();\n return true;\n }\n /**\n * Get a specific tab by the value of its `tab` property or an element reference. This method is only available for vanilla JavaScript projects. The Angular, React, and Vue implementations of tabs are coupled to each framework's router.\n *\n * @param tab The tab instance to select. If passed a string, it should be the value of the tab's `tab` property.\n */\n async getTab(tab) {\n return getTab(this.tabs, tab);\n }\n /**\n * Get the currently selected tab. This method is only available for vanilla JavaScript projects. The Angular, React, and Vue implementations of tabs are coupled to each framework's router.\n */\n getSelected() {\n return Promise.resolve(this.selectedTab ? this.selectedTab.tab : undefined);\n }\n /** @internal */\n async setRouteId(id) {\n const selectedTab = getTab(this.tabs, id);\n if (!this.shouldSwitch(selectedTab)) {\n return { changed: false, element: this.selectedTab };\n }\n await this.setActive(selectedTab);\n return {\n changed: true,\n element: this.selectedTab,\n markVisible: () => this.tabSwitch(),\n };\n }\n /** @internal */\n async getRouteId() {\n var _a;\n const tabId = (_a = this.selectedTab) === null || _a === void 0 ? void 0 : _a.tab;\n return tabId !== undefined ? { id: tabId, element: this.selectedTab } : undefined;\n }\n setActive(selectedTab) {\n if (this.transitioning) {\n return Promise.reject('transitioning already happening');\n }\n this.transitioning = true;\n this.leavingTab = this.selectedTab;\n this.selectedTab = selectedTab;\n this.ionTabsWillChange.emit({ tab: selectedTab.tab });\n selectedTab.active = true;\n return Promise.resolve();\n }\n tabSwitch() {\n const selectedTab = this.selectedTab;\n const leavingTab = this.leavingTab;\n this.leavingTab = undefined;\n this.transitioning = false;\n if (!selectedTab) {\n return;\n }\n if (leavingTab !== selectedTab) {\n if (leavingTab) {\n leavingTab.active = false;\n }\n this.ionTabsDidChange.emit({ tab: selectedTab.tab });\n }\n }\n notifyRouter() {\n if (this.useRouter) {\n const router = document.querySelector('ion-router');\n if (router) {\n return router.navChanged('forward');\n }\n }\n return Promise.resolve(false);\n }\n shouldSwitch(selectedTab) {\n const leavingTab = this.selectedTab;\n return selectedTab !== undefined && selectedTab !== leavingTab && !this.transitioning;\n }\n get tabs() {\n return Array.from(this.el.querySelectorAll('ion-tab'));\n }\n render() {\n return (h(Host, { key: '5102fdd8ae80408811312631f0739c356d913840', onIonTabButtonClick: this.onTabClicked }, h(\"slot\", { key: '55f781cd010dcebf9675f2a0b4eab9f4271b780e', name: \"top\" }), h(\"div\", { key: '2da0ee7b8c82e4bfa42f8bc5873e23e50a88c405', class: \"tabs-inner\" }, h(\"slot\", { key: '6335a62a10398c008c91f87f15b4a940a95e175d' })), h(\"slot\", { key: '9b6f08a21c703cc7fdebd48eb746d0fde6a8454d', name: \"bottom\" })));\n }\n static get is() { return \"ion-tabs\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"tabs.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"tabs.css\"]\n };\n }\n static get properties() {\n return {\n \"useRouter\": {\n \"type\": \"boolean\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"\"\n },\n \"attribute\": \"use-router\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n }\n };\n }\n static get states() {\n return {\n \"selectedTab\": {}\n };\n }\n static get events() {\n return [{\n \"method\": \"ionNavWillLoad\",\n \"name\": \"ionNavWillLoad\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"Emitted when the navigation will load a component.\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }, {\n \"method\": \"ionTabsWillChange\",\n \"name\": \"ionTabsWillChange\",\n \"bubbles\": false,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Emitted when the navigation is about to transition to a new component.\"\n },\n \"complexType\": {\n \"original\": \"{ tab: string }\",\n \"resolved\": \"{ tab: string; }\",\n \"references\": {}\n }\n }, {\n \"method\": \"ionTabsDidChange\",\n \"name\": \"ionTabsDidChange\",\n \"bubbles\": false,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Emitted when the navigation has finished transitioning to a new component.\"\n },\n \"complexType\": {\n \"original\": \"{ tab: string }\",\n \"resolved\": \"{ tab: string; }\",\n \"references\": {}\n }\n }];\n }\n static get methods() {\n return {\n \"select\": {\n \"complexType\": {\n \"signature\": \"(tab: string | HTMLIonTabElement) => Promise<boolean>\",\n \"parameters\": [{\n \"name\": \"tab\",\n \"type\": \"string | HTMLIonTabElement\",\n \"docs\": \"The tab instance to select. If passed a string, it should be the value of the tab's `tab` property.\"\n }],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\",\n \"id\": \"global::Promise\"\n },\n \"HTMLIonTabElement\": {\n \"location\": \"global\",\n \"id\": \"global::HTMLIonTabElement\"\n }\n },\n \"return\": \"Promise<boolean>\"\n },\n \"docs\": {\n \"text\": \"Select a tab by the value of its `tab` property or an element reference. This method is only available for vanilla JavaScript projects. The Angular, React, and Vue implementations of tabs are coupled to each framework's router.\",\n \"tags\": [{\n \"name\": \"param\",\n \"text\": \"tab The tab instance to select. If passed a string, it should be the value of the tab's `tab` property.\"\n }]\n }\n },\n \"getTab\": {\n \"complexType\": {\n \"signature\": \"(tab: string | HTMLIonTabElement) => Promise<HTMLIonTabElement | undefined>\",\n \"parameters\": [{\n \"name\": \"tab\",\n \"type\": \"string | HTMLIonTabElement\",\n \"docs\": \"The tab instance to select. If passed a string, it should be the value of the tab's `tab` property.\"\n }],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\",\n \"id\": \"global::Promise\"\n },\n \"HTMLIonTabElement\": {\n \"location\": \"global\",\n \"id\": \"global::HTMLIonTabElement\"\n }\n },\n \"return\": \"Promise<HTMLIonTabElement | undefined>\"\n },\n \"docs\": {\n \"text\": \"Get a specific tab by the value of its `tab` property or an element reference. This method is only available for vanilla JavaScript projects. The Angular, React, and Vue implementations of tabs are coupled to each framework's router.\",\n \"tags\": [{\n \"name\": \"param\",\n \"text\": \"tab The tab instance to select. If passed a string, it should be the value of the tab's `tab` property.\"\n }]\n }\n },\n \"getSelected\": {\n \"complexType\": {\n \"signature\": \"() => Promise<string | undefined>\",\n \"parameters\": [],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\",\n \"id\": \"global::Promise\"\n }\n },\n \"return\": \"Promise<string | undefined>\"\n },\n \"docs\": {\n \"text\": \"Get the currently selected tab. This method is only available for vanilla JavaScript projects. The Angular, React, and Vue implementations of tabs are coupled to each framework's router.\",\n \"tags\": []\n }\n },\n \"setRouteId\": {\n \"complexType\": {\n \"signature\": \"(id: string) => Promise<RouteWrite>\",\n \"parameters\": [{\n \"name\": \"id\",\n \"type\": \"string\",\n \"docs\": \"\"\n }],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\",\n \"id\": \"global::Promise\"\n },\n \"RouteWrite\": {\n \"location\": \"import\",\n \"path\": \"../router/utils/interface\",\n \"id\": \"src/components/router/utils/interface.ts::RouteWrite\"\n }\n },\n \"return\": \"Promise<RouteWrite>\"\n },\n \"docs\": {\n \"text\": \"\",\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }]\n }\n },\n \"getRouteId\": {\n \"complexType\": {\n \"signature\": \"() => Promise<RouteID | undefined>\",\n \"parameters\": [],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\",\n \"id\": \"global::Promise\"\n },\n \"RouteID\": {\n \"location\": \"import\",\n \"path\": \"../router/utils/interface\",\n \"id\": \"src/components/router/utils/interface.ts::RouteID\"\n }\n },\n \"return\": \"Promise<RouteID | undefined>\"\n },\n \"docs\": {\n \"text\": \"\",\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }]\n }\n }\n };\n }\n static get elementRef() { return \"el\"; }\n}\nconst getTab = (tabs, tab) => {\n const tabEl = typeof tab === 'string' ? tabs.find((t) => t.tab === tab) : tab;\n if (!tabEl) {\n console.error(`tab with id: \"${tabEl}\" does not exist`);\n }\n return tabEl;\n};\n"],"mappings":"gEAAA,MAAMA,EAAU,sNAChB,MAAAC,EAAeD,E,MCQFE,EAAI,MACb,WAAAC,CAAAC,G,iKACIC,KAAKC,cAAgB,MACrBD,KAAKE,aAAgBC,IACjB,MAAMC,KAAEA,EAAIC,IAAEA,GAAQF,EAAGG,OACzB,GAAIN,KAAKO,WAAaH,IAASI,UAAW,CACtC,MAAMC,EAASC,SAASC,cAAc,cACtC,GAAIF,EAAQ,CACRA,EAAOG,KAAKR,E,MAGf,CACDJ,KAAKa,OAAOR,E,GAGpBL,KAAKc,YAAcN,UACnBR,KAAKO,UAAY,K,CAErB,uBAAMQ,GACF,IAAKf,KAAKO,UAAW,CACjBP,KAAKO,YAAcG,SAASC,cAAc,gBAAkBX,KAAKgB,GAAGC,QAAQ,c,CAEhF,IAAKjB,KAAKO,UAAW,CACjB,MAAMW,EAAOlB,KAAKkB,KAClB,GAAIA,EAAKC,OAAS,EAAG,OACXnB,KAAKa,OAAOK,EAAK,G,EAG/BlB,KAAKoB,eAAeC,M,CAExB,mBAAAC,GACI,MAAMC,EAASvB,KAAKgB,GAAGL,cAAc,eACrC,GAAIY,EAAQ,CACR,MAAMlB,EAAML,KAAKc,YAAcd,KAAKc,YAAYT,IAAMG,UACtDe,EAAOT,YAAcT,C,EAQ7B,YAAMQ,CAAOR,GACT,MAAMS,EAAcU,EAAOxB,KAAKkB,KAAMb,GACtC,IAAKL,KAAKyB,aAAaX,GAAc,CACjC,OAAO,K,OAELd,KAAK0B,UAAUZ,SACfd,KAAK2B,eACX3B,KAAK4B,YACL,OAAO,I,CAOX,YAAMJ,CAAOnB,GACT,OAAOmB,EAAOxB,KAAKkB,KAAMb,E,CAK7B,WAAAwB,GACI,OAAOC,QAAQC,QAAQ/B,KAAKc,YAAcd,KAAKc,YAAYT,IAAMG,U,CAGrE,gBAAMwB,CAAWC,GACb,MAAMnB,EAAcU,EAAOxB,KAAKkB,KAAMe,GACtC,IAAKjC,KAAKyB,aAAaX,GAAc,CACjC,MAAO,CAAEoB,QAAS,MAAOC,QAASnC,KAAKc,Y,OAErCd,KAAK0B,UAAUZ,GACrB,MAAO,CACHoB,QAAS,KACTC,QAASnC,KAAKc,YACdsB,YAAa,IAAMpC,KAAK4B,Y,CAIhC,gBAAMS,GACF,IAAIC,EACJ,MAAMC,GAASD,EAAKtC,KAAKc,eAAiB,MAAQwB,SAAY,OAAS,EAAIA,EAAGjC,IAC9E,OAAOkC,IAAU/B,UAAY,CAAEyB,GAAIM,EAAOJ,QAASnC,KAAKc,aAAgBN,S,CAE5E,SAAAkB,CAAUZ,GACN,GAAId,KAAKC,cAAe,CACpB,OAAO6B,QAAQU,OAAO,kC,CAE1BxC,KAAKC,cAAgB,KACrBD,KAAKyC,WAAazC,KAAKc,YACvBd,KAAKc,YAAcA,EACnBd,KAAK0C,kBAAkBrB,KAAK,CAAEhB,IAAKS,EAAYT,MAC/CS,EAAY6B,OAAS,KACrB,OAAOb,QAAQC,S,CAEnB,SAAAH,GACI,MAAMd,EAAcd,KAAKc,YACzB,MAAM2B,EAAazC,KAAKyC,WACxBzC,KAAKyC,WAAajC,UAClBR,KAAKC,cAAgB,MACrB,IAAKa,EAAa,CACd,M,CAEJ,GAAI2B,IAAe3B,EAAa,CAC5B,GAAI2B,EAAY,CACZA,EAAWE,OAAS,K,CAExB3C,KAAK4C,iBAAiBvB,KAAK,CAAEhB,IAAKS,EAAYT,K,EAGtD,YAAAsB,GACI,GAAI3B,KAAKO,UAAW,CAChB,MAAME,EAASC,SAASC,cAAc,cACtC,GAAIF,EAAQ,CACR,OAAOA,EAAOoC,WAAW,U,EAGjC,OAAOf,QAAQC,QAAQ,M,CAE3B,YAAAN,CAAaX,GACT,MAAM2B,EAAazC,KAAKc,YACxB,OAAOA,IAAgBN,WAAaM,IAAgB2B,IAAezC,KAAKC,a,CAE5E,QAAIiB,GACA,OAAO4B,MAAMC,KAAK/C,KAAKgB,GAAGgC,iBAAiB,W,CAE/C,MAAAC,GACI,OAAQC,EAAEC,EAAM,CAAEC,IAAK,2CAA4CC,oBAAqBrD,KAAKE,cAAgBgD,EAAE,OAAQ,CAAEE,IAAK,2CAA4CE,KAAM,QAAUJ,EAAE,MAAO,CAAEE,IAAK,2CAA4CG,MAAO,cAAgBL,EAAE,OAAQ,CAAEE,IAAK,8CAAgDF,EAAE,OAAQ,CAAEE,IAAK,2CAA4CE,KAAM,W,2BAoOzZ,MAAM9B,EAAS,CAACN,EAAMb,KAClB,MAAMmD,SAAenD,IAAQ,SAAWa,EAAKuC,MAAMC,GAAMA,EAAErD,MAAQA,IAAOA,EAC1E,IAAKmD,EAAO,CACRG,QAAQC,MAAM,iBAAiBJ,oB,CAEnC,OAAOA,CAAK,E","ignoreList":[]}
1
+ {"version":3,"names":["tabsCss","IonTabsStyle0","Tabs","constructor","hostRef","this","transitioning","onTabClicked","ev","href","tab","detail","useRouter","undefined","router","document","querySelector","push","select","selectedTab","componentWillLoad","el","closest","tabs","length","ionNavWillLoad","emit","componentWillRender","tabBar","getTab","shouldSwitch","setActive","notifyRouter","tabSwitch","getSelected","Promise","resolve","setRouteId","id","changed","element","markVisible","getRouteId","_a","tabId","reject","leavingTab","ionTabsWillChange","active","ionTabsDidChange","navChanged","Array","from","querySelectorAll","render","h","Host","key","onIonTabButtonClick","name","class","tabEl","find","t","console","error"],"sources":["../node_modules/@ionic/core/dist/collection/components/tabs/tabs.css?tag=ion-tabs&encapsulation=shadow","../node_modules/@ionic/core/dist/collection/components/tabs/tabs.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:host {\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n display: flex;\n position: absolute;\n flex-direction: column;\n width: 100%;\n height: 100%;\n contain: layout size style;\n z-index: 0;\n}\n\n.tabs-inner {\n position: relative;\n flex: 1;\n contain: layout size style;\n}","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { Host, h } from \"@stencil/core\";\n/**\n * @slot - Content is placed between the named slots if provided without a slot.\n * @slot top - Content is placed at the top of the screen.\n * @slot bottom - Content is placed at the bottom of the screen.\n */\nexport class Tabs {\n constructor() {\n this.transitioning = false;\n this.onTabClicked = (ev) => {\n const { href, tab } = ev.detail;\n if (this.useRouter && href !== undefined) {\n const router = document.querySelector('ion-router');\n if (router) {\n router.push(href);\n }\n }\n else {\n this.select(tab);\n }\n };\n this.selectedTab = undefined;\n this.useRouter = false;\n }\n async componentWillLoad() {\n if (!this.useRouter) {\n this.useRouter = !!document.querySelector('ion-router') && !this.el.closest('[no-router]');\n }\n if (!this.useRouter) {\n const tabs = this.tabs;\n if (tabs.length > 0) {\n await this.select(tabs[0]);\n }\n }\n this.ionNavWillLoad.emit();\n }\n componentWillRender() {\n const tabBar = this.el.querySelector('ion-tab-bar');\n if (tabBar) {\n const tab = this.selectedTab ? this.selectedTab.tab : undefined;\n tabBar.selectedTab = tab;\n }\n }\n /**\n * Select a tab by the value of its `tab` property or an element reference. This method is only available for vanilla JavaScript projects. The Angular, React, and Vue implementations of tabs are coupled to each framework's router.\n *\n * @param tab The tab instance to select. If passed a string, it should be the value of the tab's `tab` property.\n */\n async select(tab) {\n const selectedTab = getTab(this.tabs, tab);\n if (!this.shouldSwitch(selectedTab)) {\n return false;\n }\n await this.setActive(selectedTab);\n await this.notifyRouter();\n this.tabSwitch();\n return true;\n }\n /**\n * Get a specific tab by the value of its `tab` property or an element reference. This method is only available for vanilla JavaScript projects. The Angular, React, and Vue implementations of tabs are coupled to each framework's router.\n *\n * @param tab The tab instance to select. If passed a string, it should be the value of the tab's `tab` property.\n */\n async getTab(tab) {\n return getTab(this.tabs, tab);\n }\n /**\n * Get the currently selected tab. This method is only available for vanilla JavaScript projects. The Angular, React, and Vue implementations of tabs are coupled to each framework's router.\n */\n getSelected() {\n return Promise.resolve(this.selectedTab ? this.selectedTab.tab : undefined);\n }\n /** @internal */\n async setRouteId(id) {\n const selectedTab = getTab(this.tabs, id);\n if (!this.shouldSwitch(selectedTab)) {\n return { changed: false, element: this.selectedTab };\n }\n await this.setActive(selectedTab);\n return {\n changed: true,\n element: this.selectedTab,\n markVisible: () => this.tabSwitch(),\n };\n }\n /** @internal */\n async getRouteId() {\n var _a;\n const tabId = (_a = this.selectedTab) === null || _a === void 0 ? void 0 : _a.tab;\n return tabId !== undefined ? { id: tabId, element: this.selectedTab } : undefined;\n }\n setActive(selectedTab) {\n if (this.transitioning) {\n return Promise.reject('transitioning already happening');\n }\n this.transitioning = true;\n this.leavingTab = this.selectedTab;\n this.selectedTab = selectedTab;\n this.ionTabsWillChange.emit({ tab: selectedTab.tab });\n selectedTab.active = true;\n return Promise.resolve();\n }\n tabSwitch() {\n const selectedTab = this.selectedTab;\n const leavingTab = this.leavingTab;\n this.leavingTab = undefined;\n this.transitioning = false;\n if (!selectedTab) {\n return;\n }\n if (leavingTab !== selectedTab) {\n if (leavingTab) {\n leavingTab.active = false;\n }\n this.ionTabsDidChange.emit({ tab: selectedTab.tab });\n }\n }\n notifyRouter() {\n if (this.useRouter) {\n const router = document.querySelector('ion-router');\n if (router) {\n return router.navChanged('forward');\n }\n }\n return Promise.resolve(false);\n }\n shouldSwitch(selectedTab) {\n const leavingTab = this.selectedTab;\n return selectedTab !== undefined && selectedTab !== leavingTab && !this.transitioning;\n }\n get tabs() {\n return Array.from(this.el.querySelectorAll('ion-tab'));\n }\n render() {\n return (h(Host, { key: '5102fdd8ae80408811312631f0739c356d913840', onIonTabButtonClick: this.onTabClicked }, h(\"slot\", { key: '55f781cd010dcebf9675f2a0b4eab9f4271b780e', name: \"top\" }), h(\"div\", { key: '2da0ee7b8c82e4bfa42f8bc5873e23e50a88c405', class: \"tabs-inner\" }, h(\"slot\", { key: '6335a62a10398c008c91f87f15b4a940a95e175d' })), h(\"slot\", { key: '9b6f08a21c703cc7fdebd48eb746d0fde6a8454d', name: \"bottom\" })));\n }\n static get is() { return \"ion-tabs\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"tabs.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"tabs.css\"]\n };\n }\n static get properties() {\n return {\n \"useRouter\": {\n \"type\": \"boolean\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"\"\n },\n \"attribute\": \"use-router\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n }\n };\n }\n static get states() {\n return {\n \"selectedTab\": {}\n };\n }\n static get events() {\n return [{\n \"method\": \"ionNavWillLoad\",\n \"name\": \"ionNavWillLoad\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"Emitted when the navigation will load a component.\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }, {\n \"method\": \"ionTabsWillChange\",\n \"name\": \"ionTabsWillChange\",\n \"bubbles\": false,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Emitted when the navigation is about to transition to a new component.\"\n },\n \"complexType\": {\n \"original\": \"{ tab: string }\",\n \"resolved\": \"{ tab: string; }\",\n \"references\": {}\n }\n }, {\n \"method\": \"ionTabsDidChange\",\n \"name\": \"ionTabsDidChange\",\n \"bubbles\": false,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Emitted when the navigation has finished transitioning to a new component.\"\n },\n \"complexType\": {\n \"original\": \"{ tab: string }\",\n \"resolved\": \"{ tab: string; }\",\n \"references\": {}\n }\n }];\n }\n static get methods() {\n return {\n \"select\": {\n \"complexType\": {\n \"signature\": \"(tab: string | HTMLIonTabElement) => Promise<boolean>\",\n \"parameters\": [{\n \"name\": \"tab\",\n \"type\": \"string | HTMLIonTabElement\",\n \"docs\": \"The tab instance to select. If passed a string, it should be the value of the tab's `tab` property.\"\n }],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\",\n \"id\": \"global::Promise\"\n },\n \"HTMLIonTabElement\": {\n \"location\": \"global\",\n \"id\": \"global::HTMLIonTabElement\"\n }\n },\n \"return\": \"Promise<boolean>\"\n },\n \"docs\": {\n \"text\": \"Select a tab by the value of its `tab` property or an element reference. This method is only available for vanilla JavaScript projects. The Angular, React, and Vue implementations of tabs are coupled to each framework's router.\",\n \"tags\": [{\n \"name\": \"param\",\n \"text\": \"tab The tab instance to select. If passed a string, it should be the value of the tab's `tab` property.\"\n }]\n }\n },\n \"getTab\": {\n \"complexType\": {\n \"signature\": \"(tab: string | HTMLIonTabElement) => Promise<HTMLIonTabElement | undefined>\",\n \"parameters\": [{\n \"name\": \"tab\",\n \"type\": \"string | HTMLIonTabElement\",\n \"docs\": \"The tab instance to select. If passed a string, it should be the value of the tab's `tab` property.\"\n }],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\",\n \"id\": \"global::Promise\"\n },\n \"HTMLIonTabElement\": {\n \"location\": \"global\",\n \"id\": \"global::HTMLIonTabElement\"\n }\n },\n \"return\": \"Promise<HTMLIonTabElement | undefined>\"\n },\n \"docs\": {\n \"text\": \"Get a specific tab by the value of its `tab` property or an element reference. This method is only available for vanilla JavaScript projects. The Angular, React, and Vue implementations of tabs are coupled to each framework's router.\",\n \"tags\": [{\n \"name\": \"param\",\n \"text\": \"tab The tab instance to select. If passed a string, it should be the value of the tab's `tab` property.\"\n }]\n }\n },\n \"getSelected\": {\n \"complexType\": {\n \"signature\": \"() => Promise<string | undefined>\",\n \"parameters\": [],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\",\n \"id\": \"global::Promise\"\n }\n },\n \"return\": \"Promise<string | undefined>\"\n },\n \"docs\": {\n \"text\": \"Get the currently selected tab. This method is only available for vanilla JavaScript projects. The Angular, React, and Vue implementations of tabs are coupled to each framework's router.\",\n \"tags\": []\n }\n },\n \"setRouteId\": {\n \"complexType\": {\n \"signature\": \"(id: string) => Promise<RouteWrite>\",\n \"parameters\": [{\n \"name\": \"id\",\n \"type\": \"string\",\n \"docs\": \"\"\n }],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\",\n \"id\": \"global::Promise\"\n },\n \"RouteWrite\": {\n \"location\": \"import\",\n \"path\": \"../router/utils/interface\",\n \"id\": \"src/components/router/utils/interface.ts::RouteWrite\"\n }\n },\n \"return\": \"Promise<RouteWrite>\"\n },\n \"docs\": {\n \"text\": \"\",\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }]\n }\n },\n \"getRouteId\": {\n \"complexType\": {\n \"signature\": \"() => Promise<RouteID | undefined>\",\n \"parameters\": [],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\",\n \"id\": \"global::Promise\"\n },\n \"RouteID\": {\n \"location\": \"import\",\n \"path\": \"../router/utils/interface\",\n \"id\": \"src/components/router/utils/interface.ts::RouteID\"\n }\n },\n \"return\": \"Promise<RouteID | undefined>\"\n },\n \"docs\": {\n \"text\": \"\",\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }]\n }\n }\n };\n }\n static get elementRef() { return \"el\"; }\n}\nconst getTab = (tabs, tab) => {\n const tabEl = typeof tab === 'string' ? tabs.find((t) => t.tab === tab) : tab;\n if (!tabEl) {\n console.error(`tab with id: \"${tabEl}\" does not exist`);\n }\n return tabEl;\n};\n"],"mappings":"2DAAA,MAAMA,EAAU,sNAChB,MAAAC,EAAeD,E,MCQFE,EAAI,MACb,WAAAC,CAAAC,G,iKACIC,KAAKC,cAAgB,MACrBD,KAAKE,aAAgBC,IACjB,MAAMC,KAAEA,EAAIC,IAAEA,GAAQF,EAAGG,OACzB,GAAIN,KAAKO,WAAaH,IAASI,UAAW,CACtC,MAAMC,EAASC,SAASC,cAAc,cACtC,GAAIF,EAAQ,CACRA,EAAOG,KAAKR,E,MAGf,CACDJ,KAAKa,OAAOR,E,GAGpBL,KAAKc,YAAcN,UACnBR,KAAKO,UAAY,K,CAErB,uBAAMQ,GACF,IAAKf,KAAKO,UAAW,CACjBP,KAAKO,YAAcG,SAASC,cAAc,gBAAkBX,KAAKgB,GAAGC,QAAQ,c,CAEhF,IAAKjB,KAAKO,UAAW,CACjB,MAAMW,EAAOlB,KAAKkB,KAClB,GAAIA,EAAKC,OAAS,EAAG,OACXnB,KAAKa,OAAOK,EAAK,G,EAG/BlB,KAAKoB,eAAeC,M,CAExB,mBAAAC,GACI,MAAMC,EAASvB,KAAKgB,GAAGL,cAAc,eACrC,GAAIY,EAAQ,CACR,MAAMlB,EAAML,KAAKc,YAAcd,KAAKc,YAAYT,IAAMG,UACtDe,EAAOT,YAAcT,C,EAQ7B,YAAMQ,CAAOR,GACT,MAAMS,EAAcU,EAAOxB,KAAKkB,KAAMb,GACtC,IAAKL,KAAKyB,aAAaX,GAAc,CACjC,OAAO,K,OAELd,KAAK0B,UAAUZ,SACfd,KAAK2B,eACX3B,KAAK4B,YACL,OAAO,I,CAOX,YAAMJ,CAAOnB,GACT,OAAOmB,EAAOxB,KAAKkB,KAAMb,E,CAK7B,WAAAwB,GACI,OAAOC,QAAQC,QAAQ/B,KAAKc,YAAcd,KAAKc,YAAYT,IAAMG,U,CAGrE,gBAAMwB,CAAWC,GACb,MAAMnB,EAAcU,EAAOxB,KAAKkB,KAAMe,GACtC,IAAKjC,KAAKyB,aAAaX,GAAc,CACjC,MAAO,CAAEoB,QAAS,MAAOC,QAASnC,KAAKc,Y,OAErCd,KAAK0B,UAAUZ,GACrB,MAAO,CACHoB,QAAS,KACTC,QAASnC,KAAKc,YACdsB,YAAa,IAAMpC,KAAK4B,Y,CAIhC,gBAAMS,GACF,IAAIC,EACJ,MAAMC,GAASD,EAAKtC,KAAKc,eAAiB,MAAQwB,SAAY,OAAS,EAAIA,EAAGjC,IAC9E,OAAOkC,IAAU/B,UAAY,CAAEyB,GAAIM,EAAOJ,QAASnC,KAAKc,aAAgBN,S,CAE5E,SAAAkB,CAAUZ,GACN,GAAId,KAAKC,cAAe,CACpB,OAAO6B,QAAQU,OAAO,kC,CAE1BxC,KAAKC,cAAgB,KACrBD,KAAKyC,WAAazC,KAAKc,YACvBd,KAAKc,YAAcA,EACnBd,KAAK0C,kBAAkBrB,KAAK,CAAEhB,IAAKS,EAAYT,MAC/CS,EAAY6B,OAAS,KACrB,OAAOb,QAAQC,S,CAEnB,SAAAH,GACI,MAAMd,EAAcd,KAAKc,YACzB,MAAM2B,EAAazC,KAAKyC,WACxBzC,KAAKyC,WAAajC,UAClBR,KAAKC,cAAgB,MACrB,IAAKa,EAAa,CACd,M,CAEJ,GAAI2B,IAAe3B,EAAa,CAC5B,GAAI2B,EAAY,CACZA,EAAWE,OAAS,K,CAExB3C,KAAK4C,iBAAiBvB,KAAK,CAAEhB,IAAKS,EAAYT,K,EAGtD,YAAAsB,GACI,GAAI3B,KAAKO,UAAW,CAChB,MAAME,EAASC,SAASC,cAAc,cACtC,GAAIF,EAAQ,CACR,OAAOA,EAAOoC,WAAW,U,EAGjC,OAAOf,QAAQC,QAAQ,M,CAE3B,YAAAN,CAAaX,GACT,MAAM2B,EAAazC,KAAKc,YACxB,OAAOA,IAAgBN,WAAaM,IAAgB2B,IAAezC,KAAKC,a,CAE5E,QAAIiB,GACA,OAAO4B,MAAMC,KAAK/C,KAAKgB,GAAGgC,iBAAiB,W,CAE/C,MAAAC,GACI,OAAQC,EAAEC,EAAM,CAAEC,IAAK,2CAA4CC,oBAAqBrD,KAAKE,cAAgBgD,EAAE,OAAQ,CAAEE,IAAK,2CAA4CE,KAAM,QAAUJ,EAAE,MAAO,CAAEE,IAAK,2CAA4CG,MAAO,cAAgBL,EAAE,OAAQ,CAAEE,IAAK,8CAAgDF,EAAE,OAAQ,CAAEE,IAAK,2CAA4CE,KAAM,W,2BAoOzZ,MAAM9B,EAAS,CAACN,EAAMb,KAClB,MAAMmD,SAAenD,IAAQ,SAAWa,EAAKuC,MAAMC,GAAMA,EAAErD,MAAQA,IAAOA,EAC1E,IAAKmD,EAAO,CACRG,QAAQC,MAAM,iBAAiBJ,oB,CAEnC,OAAOA,CAAK,E","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- import{r as t,i as e,h as i,H as n,e as s}from"./p-42169e41.js";import{g as o}from"./p-bc04bd54.js";import{G as r}from"./p-98c00bd2.js";import{shouldUseCloseWatcher as a}from"./p-1fc8e557.js";import{m as h,h as u,n as d,c as l}from"./p-71ee259b.js";import{m}from"./p-061819d1.js";import{g as c}from"./p-a6c03ce8.js";import{c as f,g as p}from"./p-da0d920d.js";import"./p-7efd6867.js";import"./p-d6769f21.js";import"./p-cbf050d6.js";import"./p-eba70ed1.js";const b=":host{--width:304px;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--background:var(--ion-background-color, #fff);left:0;right:0;top:0;bottom:0;display:none;position:absolute;contain:strict}:host(.show-menu){display:block}.menu-inner{transform:translateX(-9999px);display:flex;position:absolute;flex-direction:column;justify-content:space-between;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:strict}:host(.menu-side-start) .menu-inner{--ion-safe-area-right:0px;top:0;bottom:0}@supports (inset-inline-start: 0){:host(.menu-side-start) .menu-inner{inset-inline-start:0;inset-inline-end:auto}}@supports not (inset-inline-start: 0){:host(.menu-side-start) .menu-inner{left:0;right:auto}:host-context([dir=rtl]):host(.menu-side-start) .menu-inner,:host-context([dir=rtl]).menu-side-start .menu-inner{left:unset;right:unset;left:auto;right:0}@supports selector(:dir(rtl)){:host(.menu-side-start:dir(rtl)) .menu-inner{left:unset;right:unset;left:auto;right:0}}}:host-context([dir=rtl]):host(.menu-side-start) .menu-inner,:host-context([dir=rtl]).menu-side-start .menu-inner{--ion-safe-area-right:unset;--ion-safe-area-left:0px}@supports selector(:dir(rtl)){:host(.menu-side-start:dir(rtl)) .menu-inner{--ion-safe-area-right:unset;--ion-safe-area-left:0px}}:host(.menu-side-end) .menu-inner{--ion-safe-area-left:0px;top:0;bottom:0}@supports (inset-inline-start: 0){:host(.menu-side-end) .menu-inner{inset-inline-start:auto;inset-inline-end:0}}@supports not (inset-inline-start: 0){:host(.menu-side-end) .menu-inner{left:auto;right:0}:host-context([dir=rtl]):host(.menu-side-end) .menu-inner,:host-context([dir=rtl]).menu-side-end .menu-inner{left:unset;right:unset;left:0;right:auto}@supports selector(:dir(rtl)){:host(.menu-side-end:dir(rtl)) .menu-inner{left:unset;right:unset;left:0;right:auto}}}:host-context([dir=rtl]):host(.menu-side-end) .menu-inner,:host-context([dir=rtl]).menu-side-end .menu-inner{--ion-safe-area-left:unset;--ion-safe-area-right:0px}@supports selector(:dir(rtl)){:host(.menu-side-end:dir(rtl)) .menu-inner{--ion-safe-area-left:unset;--ion-safe-area-right:0px}}ion-backdrop{display:none;opacity:0.01;z-index:-1}@media (max-width: 340px){.menu-inner{--width:264px}}:host(.menu-type-reveal){z-index:0}:host(.menu-type-reveal.show-menu) .menu-inner{transform:translate3d(0, 0, 0)}:host(.menu-type-overlay){z-index:1000}:host(.menu-type-overlay) .show-backdrop{display:block;cursor:pointer}:host(.menu-pane-visible){width:var(--width);min-width:var(--min-width);max-width:var(--max-width)}:host(.menu-pane-visible) .menu-inner{left:0;right:0;width:auto;transform:none;box-shadow:none}:host(.menu-pane-visible) ion-backdrop{display:hidden !important}:host(.menu-type-push){z-index:1000}:host(.menu-type-push) .show-backdrop{display:block}";const g=b;const x=":host{--width:304px;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--background:var(--ion-background-color, #fff);left:0;right:0;top:0;bottom:0;display:none;position:absolute;contain:strict}:host(.show-menu){display:block}.menu-inner{transform:translateX(-9999px);display:flex;position:absolute;flex-direction:column;justify-content:space-between;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:strict}:host(.menu-side-start) .menu-inner{--ion-safe-area-right:0px;top:0;bottom:0}@supports (inset-inline-start: 0){:host(.menu-side-start) .menu-inner{inset-inline-start:0;inset-inline-end:auto}}@supports not (inset-inline-start: 0){:host(.menu-side-start) .menu-inner{left:0;right:auto}:host-context([dir=rtl]):host(.menu-side-start) .menu-inner,:host-context([dir=rtl]).menu-side-start .menu-inner{left:unset;right:unset;left:auto;right:0}@supports selector(:dir(rtl)){:host(.menu-side-start:dir(rtl)) .menu-inner{left:unset;right:unset;left:auto;right:0}}}:host-context([dir=rtl]):host(.menu-side-start) .menu-inner,:host-context([dir=rtl]).menu-side-start .menu-inner{--ion-safe-area-right:unset;--ion-safe-area-left:0px}@supports selector(:dir(rtl)){:host(.menu-side-start:dir(rtl)) .menu-inner{--ion-safe-area-right:unset;--ion-safe-area-left:0px}}:host(.menu-side-end) .menu-inner{--ion-safe-area-left:0px;top:0;bottom:0}@supports (inset-inline-start: 0){:host(.menu-side-end) .menu-inner{inset-inline-start:auto;inset-inline-end:0}}@supports not (inset-inline-start: 0){:host(.menu-side-end) .menu-inner{left:auto;right:0}:host-context([dir=rtl]):host(.menu-side-end) .menu-inner,:host-context([dir=rtl]).menu-side-end .menu-inner{left:unset;right:unset;left:0;right:auto}@supports selector(:dir(rtl)){:host(.menu-side-end:dir(rtl)) .menu-inner{left:unset;right:unset;left:0;right:auto}}}:host-context([dir=rtl]):host(.menu-side-end) .menu-inner,:host-context([dir=rtl]).menu-side-end .menu-inner{--ion-safe-area-left:unset;--ion-safe-area-right:0px}@supports selector(:dir(rtl)){:host(.menu-side-end:dir(rtl)) .menu-inner{--ion-safe-area-left:unset;--ion-safe-area-right:0px}}ion-backdrop{display:none;opacity:0.01;z-index:-1}@media (max-width: 340px){.menu-inner{--width:264px}}:host(.menu-type-reveal){z-index:0}:host(.menu-type-reveal.show-menu) .menu-inner{transform:translate3d(0, 0, 0)}:host(.menu-type-overlay){z-index:1000}:host(.menu-type-overlay) .show-backdrop{display:block;cursor:pointer}:host(.menu-pane-visible){width:var(--width);min-width:var(--min-width);max-width:var(--max-width)}:host(.menu-pane-visible) .menu-inner{left:0;right:0;width:auto;transform:none;box-shadow:none}:host(.menu-pane-visible) ion-backdrop{display:hidden !important}:host(.menu-type-overlay) .menu-inner{box-shadow:4px 0px 16px rgba(0, 0, 0, 0.18)}";const w=x;const y="cubic-bezier(0.32,0.72,0,1)";const v="cubic-bezier(0.0,0.0,0.2,1)";const k="cubic-bezier(1, 0, 0.68, 0.28)";const C="cubic-bezier(0.4, 0, 0.6, 1)";const j='[tabindex]:not([tabindex^="-"]), input:not([type=hidden]):not([tabindex^="-"]), textarea:not([tabindex^="-"]), button:not([tabindex^="-"]), select:not([tabindex^="-"]), .ion-focusable:not([tabindex^="-"])';const z=class{constructor(i){t(this,i);this.ionWillOpen=e(this,"ionWillOpen",7);this.ionWillClose=e(this,"ionWillClose",7);this.ionDidOpen=e(this,"ionDidOpen",7);this.ionDidClose=e(this,"ionDidClose",7);this.ionMenuChange=e(this,"ionMenuChange",7);this.lastOnEnd=0;this.blocker=r.createBlocker({disableScroll:true});this.didLoad=false;this.operationCancelled=false;this.isAnimating=false;this._isOpen=false;this.inheritedAttributes={};this.handleFocus=t=>{const e=c(document);if(e&&!e.contains(this.el)){return}this.trapKeyboardFocus(t,document)};this.isPaneVisible=false;this.isEndSide=false;this.contentId=undefined;this.menuId=undefined;this.type=undefined;this.disabled=false;this.side="start";this.swipeGesture=true;this.maxEdgeStart=50}typeChanged(t,e){const i=this.contentEl;if(i){if(e!==undefined){i.classList.remove(`menu-content-${e}`)}i.classList.add(`menu-content-${t}`);i.removeAttribute("style")}if(this.menuInnerEl){this.menuInnerEl.removeAttribute("style")}this.animation=undefined}disabledChanged(){this.updateState();this.ionMenuChange.emit({disabled:this.disabled,open:this._isOpen})}sideChanged(){this.isEndSide=h(this.side);this.animation=undefined}swipeGestureChanged(){this.updateState()}async connectedCallback(){if(typeof customElements!=="undefined"&&customElements!=null){await customElements.whenDefined("ion-menu")}if(this.type===undefined){this.type=f.get("menuType","overlay")}const t=this.contentId!==undefined?document.getElementById(this.contentId):null;if(t===null){console.error('Menu: must have a "content" element to listen for drag events on.');return}if(this.el.contains(t)){console.error(`Menu: "contentId" should refer to the main view's ion-content, not the ion-content inside of the ion-menu.`)}this.contentEl=t;t.classList.add("menu-content");this.typeChanged(this.type,undefined);this.sideChanged();m._register(this);this.menuChanged();this.gesture=(await import("./p-b943833e.js")).createGesture({el:document,gestureName:"menu-swipe",gesturePriority:30,threshold:10,blurOnStart:true,canStart:t=>this.canStart(t),onWillStart:()=>this.onWillStart(),onStart:()=>this.onStart(),onMove:t=>this.onMove(t),onEnd:t=>this.onEnd(t)});this.updateState()}componentWillLoad(){this.inheritedAttributes=u(this.el)}async componentDidLoad(){this.didLoad=true;this.menuChanged();this.updateState()}menuChanged(){if(this.didLoad){this.ionMenuChange.emit({disabled:this.disabled,open:this._isOpen})}}async disconnectedCallback(){await this.close(false);this.blocker.destroy();m._unregister(this);if(this.animation){this.animation.destroy()}if(this.gesture){this.gesture.destroy();this.gesture=undefined}this.animation=undefined;this.contentEl=undefined}onSplitPaneChanged(t){const{target:e}=t;const i=this.el.closest("ion-split-pane");if(e!==i){return}this.isPaneVisible=t.detail.isPane(this.el);this.updateState()}onBackdropClick(t){if(this._isOpen&&this.lastOnEnd<t.timeStamp-100){const e=t.composedPath?!t.composedPath().includes(this.menuInnerEl):false;if(e){t.preventDefault();t.stopPropagation();this.close()}}}onKeydown(t){if(t.key==="Escape"){this.close()}}isOpen(){return Promise.resolve(this._isOpen)}isActive(){return Promise.resolve(this._isActive())}open(t=true){return this.setOpen(true,t)}close(t=true){return this.setOpen(false,t)}toggle(t=true){return this.setOpen(!this._isOpen,t)}setOpen(t,e=true){return m._setOpen(this,t,e)}focusFirstDescendant(){const{el:t}=this;const e=t.querySelector(j);if(e){e.focus()}else{t.focus()}}focusLastDescendant(){const{el:t}=this;const e=Array.from(t.querySelectorAll(j));const i=e.length>0?e[e.length-1]:null;if(i){i.focus()}else{t.focus()}}trapKeyboardFocus(t,e){const i=t.target;if(!i){return}if(this.el.contains(i)){this.lastFocus=i}else{this.focusFirstDescendant();if(this.lastFocus===e.activeElement){this.focusLastDescendant()}}}async _setOpen(t,e=true){if(!this._isActive()||this.isAnimating||t===this._isOpen){return false}this.beforeAnimation(t);await this.loadAnimation();await this.startAnimation(t,e);if(this.operationCancelled){this.operationCancelled=false;return false}this.afterAnimation(t);return true}async loadAnimation(){const t=this.menuInnerEl.offsetWidth;const e=h(this.side);if(t===this.width&&this.animation!==undefined&&e===this.isEndSide){return}this.width=t;this.isEndSide=e;if(this.animation){this.animation.destroy();this.animation=undefined}const i=this.animation=await m._createAnimation(this.type,this);if(!f.getBoolean("animated",true)){i.duration(0)}i.fill("both")}async startAnimation(t,e){const i=!t;const n=p(this);const s=n==="ios"?y:v;const o=n==="ios"?k:C;const r=this.animation.direction(i?"reverse":"normal").easing(i?o:s);if(e){await r.play()}else{r.play({sync:true})}if(r.getDirection()==="reverse"){r.direction("normal")}}_isActive(){return!this.disabled&&!this.isPaneVisible}canSwipe(){return this.swipeGesture&&!this.isAnimating&&this._isActive()}canStart(t){const e=!!document.querySelector("ion-modal.show-modal");if(e||!this.canSwipe()){return false}if(this._isOpen){return true}else if(m._getOpenSync()){return false}return S(window,t.currentX,this.isEndSide,this.maxEdgeStart)}onWillStart(){this.beforeAnimation(!this._isOpen);return this.loadAnimation()}onStart(){if(!this.isAnimating||!this.animation){d(false,"isAnimating has to be true");return}this.animation.progressStart(true,this._isOpen?1:0)}onMove(t){if(!this.isAnimating||!this.animation){d(false,"isAnimating has to be true");return}const e=A(t.deltaX,this._isOpen,this.isEndSide);const i=e/this.width;this.animation.progressStep(this._isOpen?1-i:i)}onEnd(t){if(!this.isAnimating||!this.animation){d(false,"isAnimating has to be true");return}const e=this._isOpen;const i=this.isEndSide;const n=A(t.deltaX,e,i);const s=this.width;const r=n/s;const a=t.velocityX;const h=s/2;const u=a>=0&&(a>.2||t.deltaX>h);const m=a<=0&&(a<-.2||t.deltaX<-h);const c=e?i?u:m:i?m:u;let f=!e&&c;if(e&&!c){f=true}this.lastOnEnd=t.currentTime;let p=c?.001:-.001;const b=r<0?.01:r;p+=o([0,0],[.4,0],[.6,1],[1,1],l(0,b,.9999))[0]||0;const g=this._isOpen?!c:c;this.animation.easing("cubic-bezier(0.4, 0.0, 0.6, 1)").onFinish((()=>this.afterAnimation(f)),{oneTimeCallback:true}).progressEnd(g?1:0,this._isOpen?1-p:p,300)}beforeAnimation(t){d(!this.isAnimating,"_before() should not be called while animating");this.el.classList.add(D);this.el.setAttribute("tabindex","0");if(this.backdropEl){this.backdropEl.classList.add(E)}if(this.contentEl){this.contentEl.classList.add(M);this.contentEl.setAttribute("aria-hidden","true")}this.blocker.block();this.isAnimating=true;if(t){this.ionWillOpen.emit()}else{this.ionWillClose.emit()}}afterAnimation(t){var e;this._isOpen=t;this.isAnimating=false;if(!this._isOpen){this.blocker.unblock()}if(t){this.ionDidOpen.emit();const t=(e=document.activeElement)===null||e===void 0?void 0:e.closest("ion-menu");if(t!==this.el){this.el.focus()}document.addEventListener("focus",this.handleFocus,true)}else{this.el.classList.remove(D);this.el.removeAttribute("tabindex");if(this.contentEl){this.contentEl.classList.remove(M);this.contentEl.removeAttribute("aria-hidden")}if(this.backdropEl){this.backdropEl.classList.remove(E)}if(this.animation){this.animation.stop()}this.ionDidClose.emit();document.removeEventListener("focus",this.handleFocus,true)}}updateState(){const t=this._isActive();if(this.gesture){this.gesture.enable(t&&this.swipeGesture)}if(!t){if(this.isAnimating){this.operationCancelled=true}this.afterAnimation(false)}}render(){const{type:t,disabled:e,isPaneVisible:s,inheritedAttributes:o,side:r}=this;const h=p(this);return i(n,{key:"7443f67fbe5122052025bab862136044fc942401",onKeyDown:a()?null:this.onKeydown,role:"navigation","aria-label":o["aria-label"]||"menu",class:{[h]:true,[`menu-type-${t}`]:true,"menu-enabled":!e,[`menu-side-${r}`]:true,"menu-pane-visible":s}},i("div",{key:"45c7d37ace20f663a4bea89cb38bbc798f88dfbd",class:"menu-inner",part:"container",ref:t=>this.menuInnerEl=t},i("slot",{key:"975437a5d4029cc200b6dbc2d47a16b4318c00aa"})),i("ion-backdrop",{key:"acc8a1f5dc1b1e2a34757bf797e794017f545bdc",ref:t=>this.backdropEl=t,class:"menu-backdrop",tappable:false,stopPropagation:false,part:"backdrop"}))}get el(){return s(this)}static get watchers(){return{type:["typeChanged"],disabled:["disabledChanged"],side:["sideChanged"],swipeGesture:["swipeGestureChanged"]}}};const A=(t,e,i)=>Math.max(0,e!==i?-t:t);const S=(t,e,i,n)=>{if(i){return e>=t.innerWidth-n}else{return e<=n}};const D="show-menu";const E="show-backdrop";const M="menu-content-open";z.style={ios:g,md:w};export{z as ion_menu};
2
- //# sourceMappingURL=p-266d2934.entry.js.map
1
+ import{r as t,i as e,h as i,H as n,d as s}from"./p-ad32e711.js";import{g as o}from"./p-bc04bd54.js";import{G as r}from"./p-98c00bd2.js";import{shouldUseCloseWatcher as a}from"./p-f1a6f6f2.js";import{m as h,h as u,n as d,c as l}from"./p-71ee259b.js";import{m}from"./p-3856e0a0.js";import{g as c}from"./p-d164af48.js";import{c as f,g as p}from"./p-17cb620a.js";import"./p-7efd6867.js";import"./p-d6769f21.js";import"./p-cbf050d6.js";import"./p-eba70ed1.js";const b=":host{--width:304px;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--background:var(--ion-background-color, #fff);left:0;right:0;top:0;bottom:0;display:none;position:absolute;contain:strict}:host(.show-menu){display:block}.menu-inner{transform:translateX(-9999px);display:flex;position:absolute;flex-direction:column;justify-content:space-between;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:strict}:host(.menu-side-start) .menu-inner{--ion-safe-area-right:0px;top:0;bottom:0}@supports (inset-inline-start: 0){:host(.menu-side-start) .menu-inner{inset-inline-start:0;inset-inline-end:auto}}@supports not (inset-inline-start: 0){:host(.menu-side-start) .menu-inner{left:0;right:auto}:host-context([dir=rtl]):host(.menu-side-start) .menu-inner,:host-context([dir=rtl]).menu-side-start .menu-inner{left:unset;right:unset;left:auto;right:0}@supports selector(:dir(rtl)){:host(.menu-side-start:dir(rtl)) .menu-inner{left:unset;right:unset;left:auto;right:0}}}:host-context([dir=rtl]):host(.menu-side-start) .menu-inner,:host-context([dir=rtl]).menu-side-start .menu-inner{--ion-safe-area-right:unset;--ion-safe-area-left:0px}@supports selector(:dir(rtl)){:host(.menu-side-start:dir(rtl)) .menu-inner{--ion-safe-area-right:unset;--ion-safe-area-left:0px}}:host(.menu-side-end) .menu-inner{--ion-safe-area-left:0px;top:0;bottom:0}@supports (inset-inline-start: 0){:host(.menu-side-end) .menu-inner{inset-inline-start:auto;inset-inline-end:0}}@supports not (inset-inline-start: 0){:host(.menu-side-end) .menu-inner{left:auto;right:0}:host-context([dir=rtl]):host(.menu-side-end) .menu-inner,:host-context([dir=rtl]).menu-side-end .menu-inner{left:unset;right:unset;left:0;right:auto}@supports selector(:dir(rtl)){:host(.menu-side-end:dir(rtl)) .menu-inner{left:unset;right:unset;left:0;right:auto}}}:host-context([dir=rtl]):host(.menu-side-end) .menu-inner,:host-context([dir=rtl]).menu-side-end .menu-inner{--ion-safe-area-left:unset;--ion-safe-area-right:0px}@supports selector(:dir(rtl)){:host(.menu-side-end:dir(rtl)) .menu-inner{--ion-safe-area-left:unset;--ion-safe-area-right:0px}}ion-backdrop{display:none;opacity:0.01;z-index:-1}@media (max-width: 340px){.menu-inner{--width:264px}}:host(.menu-type-reveal){z-index:0}:host(.menu-type-reveal.show-menu) .menu-inner{transform:translate3d(0, 0, 0)}:host(.menu-type-overlay){z-index:1000}:host(.menu-type-overlay) .show-backdrop{display:block;cursor:pointer}:host(.menu-pane-visible){width:var(--width);min-width:var(--min-width);max-width:var(--max-width)}:host(.menu-pane-visible) .menu-inner{left:0;right:0;width:auto;transform:none;box-shadow:none}:host(.menu-pane-visible) ion-backdrop{display:hidden !important}:host(.menu-type-push){z-index:1000}:host(.menu-type-push) .show-backdrop{display:block}";const g=b;const x=":host{--width:304px;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--background:var(--ion-background-color, #fff);left:0;right:0;top:0;bottom:0;display:none;position:absolute;contain:strict}:host(.show-menu){display:block}.menu-inner{transform:translateX(-9999px);display:flex;position:absolute;flex-direction:column;justify-content:space-between;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:strict}:host(.menu-side-start) .menu-inner{--ion-safe-area-right:0px;top:0;bottom:0}@supports (inset-inline-start: 0){:host(.menu-side-start) .menu-inner{inset-inline-start:0;inset-inline-end:auto}}@supports not (inset-inline-start: 0){:host(.menu-side-start) .menu-inner{left:0;right:auto}:host-context([dir=rtl]):host(.menu-side-start) .menu-inner,:host-context([dir=rtl]).menu-side-start .menu-inner{left:unset;right:unset;left:auto;right:0}@supports selector(:dir(rtl)){:host(.menu-side-start:dir(rtl)) .menu-inner{left:unset;right:unset;left:auto;right:0}}}:host-context([dir=rtl]):host(.menu-side-start) .menu-inner,:host-context([dir=rtl]).menu-side-start .menu-inner{--ion-safe-area-right:unset;--ion-safe-area-left:0px}@supports selector(:dir(rtl)){:host(.menu-side-start:dir(rtl)) .menu-inner{--ion-safe-area-right:unset;--ion-safe-area-left:0px}}:host(.menu-side-end) .menu-inner{--ion-safe-area-left:0px;top:0;bottom:0}@supports (inset-inline-start: 0){:host(.menu-side-end) .menu-inner{inset-inline-start:auto;inset-inline-end:0}}@supports not (inset-inline-start: 0){:host(.menu-side-end) .menu-inner{left:auto;right:0}:host-context([dir=rtl]):host(.menu-side-end) .menu-inner,:host-context([dir=rtl]).menu-side-end .menu-inner{left:unset;right:unset;left:0;right:auto}@supports selector(:dir(rtl)){:host(.menu-side-end:dir(rtl)) .menu-inner{left:unset;right:unset;left:0;right:auto}}}:host-context([dir=rtl]):host(.menu-side-end) .menu-inner,:host-context([dir=rtl]).menu-side-end .menu-inner{--ion-safe-area-left:unset;--ion-safe-area-right:0px}@supports selector(:dir(rtl)){:host(.menu-side-end:dir(rtl)) .menu-inner{--ion-safe-area-left:unset;--ion-safe-area-right:0px}}ion-backdrop{display:none;opacity:0.01;z-index:-1}@media (max-width: 340px){.menu-inner{--width:264px}}:host(.menu-type-reveal){z-index:0}:host(.menu-type-reveal.show-menu) .menu-inner{transform:translate3d(0, 0, 0)}:host(.menu-type-overlay){z-index:1000}:host(.menu-type-overlay) .show-backdrop{display:block;cursor:pointer}:host(.menu-pane-visible){width:var(--width);min-width:var(--min-width);max-width:var(--max-width)}:host(.menu-pane-visible) .menu-inner{left:0;right:0;width:auto;transform:none;box-shadow:none}:host(.menu-pane-visible) ion-backdrop{display:hidden !important}:host(.menu-type-overlay) .menu-inner{box-shadow:4px 0px 16px rgba(0, 0, 0, 0.18)}";const w=x;const y="cubic-bezier(0.32,0.72,0,1)";const v="cubic-bezier(0.0,0.0,0.2,1)";const k="cubic-bezier(1, 0, 0.68, 0.28)";const C="cubic-bezier(0.4, 0, 0.6, 1)";const j='[tabindex]:not([tabindex^="-"]), input:not([type=hidden]):not([tabindex^="-"]), textarea:not([tabindex^="-"]), button:not([tabindex^="-"]), select:not([tabindex^="-"]), .ion-focusable:not([tabindex^="-"])';const z=class{constructor(i){t(this,i);this.ionWillOpen=e(this,"ionWillOpen",7);this.ionWillClose=e(this,"ionWillClose",7);this.ionDidOpen=e(this,"ionDidOpen",7);this.ionDidClose=e(this,"ionDidClose",7);this.ionMenuChange=e(this,"ionMenuChange",7);this.lastOnEnd=0;this.blocker=r.createBlocker({disableScroll:true});this.didLoad=false;this.operationCancelled=false;this.isAnimating=false;this._isOpen=false;this.inheritedAttributes={};this.handleFocus=t=>{const e=c(document);if(e&&!e.contains(this.el)){return}this.trapKeyboardFocus(t,document)};this.isPaneVisible=false;this.isEndSide=false;this.contentId=undefined;this.menuId=undefined;this.type=undefined;this.disabled=false;this.side="start";this.swipeGesture=true;this.maxEdgeStart=50}typeChanged(t,e){const i=this.contentEl;if(i){if(e!==undefined){i.classList.remove(`menu-content-${e}`)}i.classList.add(`menu-content-${t}`);i.removeAttribute("style")}if(this.menuInnerEl){this.menuInnerEl.removeAttribute("style")}this.animation=undefined}disabledChanged(){this.updateState();this.ionMenuChange.emit({disabled:this.disabled,open:this._isOpen})}sideChanged(){this.isEndSide=h(this.side);this.animation=undefined}swipeGestureChanged(){this.updateState()}async connectedCallback(){if(typeof customElements!=="undefined"&&customElements!=null){await customElements.whenDefined("ion-menu")}if(this.type===undefined){this.type=f.get("menuType","overlay")}const t=this.contentId!==undefined?document.getElementById(this.contentId):null;if(t===null){console.error('Menu: must have a "content" element to listen for drag events on.');return}if(this.el.contains(t)){console.error(`Menu: "contentId" should refer to the main view's ion-content, not the ion-content inside of the ion-menu.`)}this.contentEl=t;t.classList.add("menu-content");this.typeChanged(this.type,undefined);this.sideChanged();m._register(this);this.menuChanged();this.gesture=(await import("./p-b943833e.js")).createGesture({el:document,gestureName:"menu-swipe",gesturePriority:30,threshold:10,blurOnStart:true,canStart:t=>this.canStart(t),onWillStart:()=>this.onWillStart(),onStart:()=>this.onStart(),onMove:t=>this.onMove(t),onEnd:t=>this.onEnd(t)});this.updateState()}componentWillLoad(){this.inheritedAttributes=u(this.el)}async componentDidLoad(){this.didLoad=true;this.menuChanged();this.updateState()}menuChanged(){if(this.didLoad){this.ionMenuChange.emit({disabled:this.disabled,open:this._isOpen})}}async disconnectedCallback(){await this.close(false);this.blocker.destroy();m._unregister(this);if(this.animation){this.animation.destroy()}if(this.gesture){this.gesture.destroy();this.gesture=undefined}this.animation=undefined;this.contentEl=undefined}onSplitPaneChanged(t){const{target:e}=t;const i=this.el.closest("ion-split-pane");if(e!==i){return}this.isPaneVisible=t.detail.isPane(this.el);this.updateState()}onBackdropClick(t){if(this._isOpen&&this.lastOnEnd<t.timeStamp-100){const e=t.composedPath?!t.composedPath().includes(this.menuInnerEl):false;if(e){t.preventDefault();t.stopPropagation();this.close()}}}onKeydown(t){if(t.key==="Escape"){this.close()}}isOpen(){return Promise.resolve(this._isOpen)}isActive(){return Promise.resolve(this._isActive())}open(t=true){return this.setOpen(true,t)}close(t=true){return this.setOpen(false,t)}toggle(t=true){return this.setOpen(!this._isOpen,t)}setOpen(t,e=true){return m._setOpen(this,t,e)}focusFirstDescendant(){const{el:t}=this;const e=t.querySelector(j);if(e){e.focus()}else{t.focus()}}focusLastDescendant(){const{el:t}=this;const e=Array.from(t.querySelectorAll(j));const i=e.length>0?e[e.length-1]:null;if(i){i.focus()}else{t.focus()}}trapKeyboardFocus(t,e){const i=t.target;if(!i){return}if(this.el.contains(i)){this.lastFocus=i}else{this.focusFirstDescendant();if(this.lastFocus===e.activeElement){this.focusLastDescendant()}}}async _setOpen(t,e=true){if(!this._isActive()||this.isAnimating||t===this._isOpen){return false}this.beforeAnimation(t);await this.loadAnimation();await this.startAnimation(t,e);if(this.operationCancelled){this.operationCancelled=false;return false}this.afterAnimation(t);return true}async loadAnimation(){const t=this.menuInnerEl.offsetWidth;const e=h(this.side);if(t===this.width&&this.animation!==undefined&&e===this.isEndSide){return}this.width=t;this.isEndSide=e;if(this.animation){this.animation.destroy();this.animation=undefined}const i=this.animation=await m._createAnimation(this.type,this);if(!f.getBoolean("animated",true)){i.duration(0)}i.fill("both")}async startAnimation(t,e){const i=!t;const n=p(this);const s=n==="ios"?y:v;const o=n==="ios"?k:C;const r=this.animation.direction(i?"reverse":"normal").easing(i?o:s);if(e){await r.play()}else{r.play({sync:true})}if(r.getDirection()==="reverse"){r.direction("normal")}}_isActive(){return!this.disabled&&!this.isPaneVisible}canSwipe(){return this.swipeGesture&&!this.isAnimating&&this._isActive()}canStart(t){const e=!!document.querySelector("ion-modal.show-modal");if(e||!this.canSwipe()){return false}if(this._isOpen){return true}else if(m._getOpenSync()){return false}return S(window,t.currentX,this.isEndSide,this.maxEdgeStart)}onWillStart(){this.beforeAnimation(!this._isOpen);return this.loadAnimation()}onStart(){if(!this.isAnimating||!this.animation){d(false,"isAnimating has to be true");return}this.animation.progressStart(true,this._isOpen?1:0)}onMove(t){if(!this.isAnimating||!this.animation){d(false,"isAnimating has to be true");return}const e=A(t.deltaX,this._isOpen,this.isEndSide);const i=e/this.width;this.animation.progressStep(this._isOpen?1-i:i)}onEnd(t){if(!this.isAnimating||!this.animation){d(false,"isAnimating has to be true");return}const e=this._isOpen;const i=this.isEndSide;const n=A(t.deltaX,e,i);const s=this.width;const r=n/s;const a=t.velocityX;const h=s/2;const u=a>=0&&(a>.2||t.deltaX>h);const m=a<=0&&(a<-.2||t.deltaX<-h);const c=e?i?u:m:i?m:u;let f=!e&&c;if(e&&!c){f=true}this.lastOnEnd=t.currentTime;let p=c?.001:-.001;const b=r<0?.01:r;p+=o([0,0],[.4,0],[.6,1],[1,1],l(0,b,.9999))[0]||0;const g=this._isOpen?!c:c;this.animation.easing("cubic-bezier(0.4, 0.0, 0.6, 1)").onFinish((()=>this.afterAnimation(f)),{oneTimeCallback:true}).progressEnd(g?1:0,this._isOpen?1-p:p,300)}beforeAnimation(t){d(!this.isAnimating,"_before() should not be called while animating");this.el.classList.add(D);this.el.setAttribute("tabindex","0");if(this.backdropEl){this.backdropEl.classList.add(E)}if(this.contentEl){this.contentEl.classList.add(M);this.contentEl.setAttribute("aria-hidden","true")}this.blocker.block();this.isAnimating=true;if(t){this.ionWillOpen.emit()}else{this.ionWillClose.emit()}}afterAnimation(t){var e;this._isOpen=t;this.isAnimating=false;if(!this._isOpen){this.blocker.unblock()}if(t){this.ionDidOpen.emit();const t=(e=document.activeElement)===null||e===void 0?void 0:e.closest("ion-menu");if(t!==this.el){this.el.focus()}document.addEventListener("focus",this.handleFocus,true)}else{this.el.classList.remove(D);this.el.removeAttribute("tabindex");if(this.contentEl){this.contentEl.classList.remove(M);this.contentEl.removeAttribute("aria-hidden")}if(this.backdropEl){this.backdropEl.classList.remove(E)}if(this.animation){this.animation.stop()}this.ionDidClose.emit();document.removeEventListener("focus",this.handleFocus,true)}}updateState(){const t=this._isActive();if(this.gesture){this.gesture.enable(t&&this.swipeGesture)}if(!t){if(this.isAnimating){this.operationCancelled=true}this.afterAnimation(false)}}render(){const{type:t,disabled:e,isPaneVisible:s,inheritedAttributes:o,side:r}=this;const h=p(this);return i(n,{key:"7443f67fbe5122052025bab862136044fc942401",onKeyDown:a()?null:this.onKeydown,role:"navigation","aria-label":o["aria-label"]||"menu",class:{[h]:true,[`menu-type-${t}`]:true,"menu-enabled":!e,[`menu-side-${r}`]:true,"menu-pane-visible":s}},i("div",{key:"45c7d37ace20f663a4bea89cb38bbc798f88dfbd",class:"menu-inner",part:"container",ref:t=>this.menuInnerEl=t},i("slot",{key:"975437a5d4029cc200b6dbc2d47a16b4318c00aa"})),i("ion-backdrop",{key:"acc8a1f5dc1b1e2a34757bf797e794017f545bdc",ref:t=>this.backdropEl=t,class:"menu-backdrop",tappable:false,stopPropagation:false,part:"backdrop"}))}get el(){return s(this)}static get watchers(){return{type:["typeChanged"],disabled:["disabledChanged"],side:["sideChanged"],swipeGesture:["swipeGestureChanged"]}}};const A=(t,e,i)=>Math.max(0,e!==i?-t:t);const S=(t,e,i,n)=>{if(i){return e>=t.innerWidth-n}else{return e<=n}};const D="show-menu";const E="show-backdrop";const M="menu-content-open";z.style={ios:g,md:w};export{z as ion_menu};
2
+ //# sourceMappingURL=p-c13052f5.entry.js.map
@@ -1,8 +1,8 @@
1
- import{r as t,i as e,w as n,h as i,H as a,e as o}from"./p-42169e41.js";import{startFocusVisible as s}from"./p-6cdaf5e6.js";import{r,k as d,g as l}from"./p-71ee259b.js";import{a as h,p as c}from"./p-d6769f21.js";import{i as p}from"./p-4d0cb38d.js";import{c as m}from"./p-669fab6c.js";import{f as u,i as f,e as y,j as b,k as g}from"./p-0ee8b7a7.js";import{g as x}from"./p-da0d920d.js";import{g as w,a as v,i as k,b as j,c as O,d as C,e as P,v as D,f as z,h as V,j as $,k as T,l as A,m as I,n as E,o as S,p as R,q as W,r as M,s as F,w as L,t as B,u as H,x as q,y as Y,z as G,A as N,B as K,C as U,D as Z,E as J,F as Q,G as _,H as X,I as tt,J as et,K as nt,L as it,M as at,N as ot,O as st,P as rt,Q as dt,R as lt}from"./p-ecdb52e8.js";
1
+ import{r as t,i as e,w as n,h as i,H as a,d as o}from"./p-ad32e711.js";import{startFocusVisible as s}from"./p-6cdaf5e6.js";import{r,k as d,g as l}from"./p-71ee259b.js";import{a as h,p as c}from"./p-d6769f21.js";import{i as p}from"./p-4d0cb38d.js";import{c as m}from"./p-669fab6c.js";import{f as u,i as f,e as y,j as b,k as g}from"./p-0ee8b7a7.js";import{g as x}from"./p-17cb620a.js";import{g as w,a as v,i as k,b as j,c as O,d as C,e as P,v as D,f as z,h as V,j as $,k as T,l as A,m as I,n as E,o as S,p as R,q as W,r as M,s as F,w as L,t as B,u as H,x as q,y as Y,z as G,A as N,B as K,C as U,D as Z,E as J,F as Q,G as _,H as X,I as tt,J as et,K as nt,L as it,M as at,N as ot,O as st,P as rt,Q as dt,R as lt}from"./p-ecdb52e8.js";
2
2
  /*!
3
3
  * (C) Ionic http://ionicframework.com - MIT License
4
4
  */const ht=(t,e,n)=>{if(e&&e.year>t){return true}if(n&&n.year<t){return true}return false};const ct=(t,e,n,i)=>{if(t.day===null){return true}if(i!==undefined&&!i.includes(t.day)){return true}if(e&&k(t,e)){return true}if(n&&j(t,n)){return true}return false};const pt=(t,e,n,i,a,o,s)=>{const r=Array.isArray(n)?n:[n];const d=r.find((t=>O(e,t)))!==undefined;const l=O(e,i);const h=ct(e,a,o,s);return{disabled:h,isActive:d,isToday:l,ariaSelected:d?"true":null,ariaLabel:w(t,l,e),text:e.day!=null?v(t,e):null}};const mt=(t,{minParts:e,maxParts:n})=>{if(ht(t.year,e,n)){return true}if(e&&k(t,e)||n&&j(t,n)){return true}return false};const ut=(t,e,n)=>{const i=Object.assign(Object.assign({},C(t)),{day:null});return mt(i,{minParts:e,maxParts:n})};const ft=(t,e)=>{const n=Object.assign(Object.assign({},P(t)),{day:null});return mt(n,{maxParts:e})};const yt=(t,e,n)=>{if(Array.isArray(t)){const n=e.split("T")[0];const i=t.find((t=>t.date===n));if(i){return{textColor:i.textColor,backgroundColor:i.backgroundColor}}}else{try{return t(e)}catch(t){h("Exception thrown from provided `highlightedDates` callback. Please check your function and try again.",n,t)}}return undefined};
5
5
  /*!
6
6
  * (C) Ionic http://ionicframework.com - MIT License
7
7
  */const bt=(t,e)=>{var n,i,a,o;if(((n=e===null||e===void 0?void 0:e.date)===null||n===void 0?void 0:n.timeZone)||((i=e===null||e===void 0?void 0:e.date)===null||i===void 0?void 0:i.timeZoneName)||((a=e===null||e===void 0?void 0:e.time)===null||a===void 0?void 0:a.timeZone)||((o=e===null||e===void 0?void 0:e.time)===null||o===void 0?void 0:o.timeZoneName)){c('Datetime: "timeZone" and "timeZoneName" are not supported in "formatOptions".',t)}};const gt=(t,e,n)=>{if(!n)return;switch(e){case"date":case"month-year":case"month":case"year":if(n.date===undefined){c(`Datetime: The '${e}' presentation requires a date object in formatOptions.`,t)}break;case"time":if(n.time===undefined){c(`Datetime: The 'time' presentation requires a time object in formatOptions.`,t)}break;case"date-time":case"time-date":if(n.date===undefined&&n.time===undefined){c(`Datetime: The '${e}' presentation requires either a date or time object (or both) in formatOptions.`,t)}break}};const xt=":host{display:flex;flex-flow:column;background:var(--background);overflow:hidden}ion-picker-column-internal{min-width:26px}:host(.datetime-size-fixed){width:auto;height:auto}:host(.datetime-size-fixed:not(.datetime-prefer-wheel)){max-width:350px}:host(.datetime-size-fixed.datetime-prefer-wheel){min-width:350px;max-width:max-content}:host(.datetime-size-cover){width:100%}:host .calendar-body,:host .datetime-year{opacity:0}:host(:not(.datetime-ready)) .datetime-year{position:absolute;pointer-events:none}:host(.datetime-ready) .calendar-body{opacity:1}:host(.datetime-ready) .datetime-year{display:none;opacity:1}:host .wheel-order-year-first .day-column{order:3;text-align:end}:host .wheel-order-year-first .month-column{order:2;text-align:end}:host .wheel-order-year-first .year-column{order:1;text-align:start}:host .datetime-calendar,:host .datetime-year{display:flex;flex:1 1 auto;flex-flow:column}:host(.show-month-and-year) .datetime-year{display:flex}@supports (background: -webkit-named-image(apple-pay-logo-black)) and (not (aspect-ratio: 1/1)){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{position:absolute;visibility:hidden;pointer-events:none}@supports (inset-inline-start: 0){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{inset-inline-start:-99999px}}@supports not (inset-inline-start: 0){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{left:-99999px}:host-context([dir=rtl]):host(.show-month-and-year) .calendar-next-prev,:host-context([dir=rtl]).show-month-and-year .calendar-next-prev,:host-context([dir=rtl]):host(.show-month-and-year) .calendar-days-of-week,:host-context([dir=rtl]).show-month-and-year .calendar-days-of-week,:host-context([dir=rtl]):host(.show-month-and-year) .calendar-body,:host-context([dir=rtl]).show-month-and-year .calendar-body,:host-context([dir=rtl]):host(.show-month-and-year) .datetime-time,:host-context([dir=rtl]).show-month-and-year .datetime-time{left:unset;right:unset;right:-99999px}@supports selector(:dir(rtl)){:host(.show-month-and-year:dir(rtl)) .calendar-next-prev,:host(.show-month-and-year:dir(rtl)) .calendar-days-of-week,:host(.show-month-and-year:dir(rtl)) .calendar-body,:host(.show-month-and-year:dir(rtl)) .datetime-time{left:unset;right:unset;right:-99999px}}}}@supports (not (background: -webkit-named-image(apple-pay-logo-black))) or ((background: -webkit-named-image(apple-pay-logo-black)) and (aspect-ratio: 1/1)){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{display:none}}:host(.month-year-picker-open) .datetime-footer{display:none}:host(.datetime-disabled){pointer-events:none}:host(.datetime-disabled) .calendar-days-of-week,:host(.datetime-disabled) .datetime-time{opacity:0.4}:host(.datetime-readonly){pointer-events:none;}:host(.datetime-readonly) .calendar-action-buttons,:host(.datetime-readonly) .calendar-body,:host(.datetime-readonly) .datetime-year{pointer-events:initial}:host(.datetime-readonly) .calendar-day[disabled]:not(.calendar-day-constrained),:host(.datetime-readonly) .datetime-action-buttons ion-button[disabled]{opacity:1}:host .datetime-header .datetime-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host .datetime-action-buttons.has-clear-button{width:100%}:host .datetime-action-buttons ion-buttons{display:flex;justify-content:space-between}.datetime-action-buttons .datetime-action-buttons-container{display:flex}:host .calendar-action-buttons{display:flex;justify-content:space-between}:host .calendar-action-buttons ion-item,:host .calendar-action-buttons ion-button{--background:translucent}:host .calendar-action-buttons ion-item ion-label{display:flex;align-items:center;width:auto}:host .calendar-action-buttons ion-item ion-icon{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:0;padding-inline-end:0;padding-top:0;padding-bottom:0}:host .calendar-days-of-week{display:grid;grid-template-columns:repeat(7, 1fr);text-align:center}.calendar-days-of-week .day-of-week{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0}:host .calendar-body{display:flex;flex-grow:1;scroll-snap-type:x mandatory;overflow-x:scroll;overflow-y:hidden;scrollbar-width:none;outline:none}:host .calendar-body .calendar-month{display:flex;flex-flow:column;scroll-snap-align:start;scroll-snap-stop:always;flex-shrink:0;width:100%}:host .calendar-body .calendar-month-disabled{scroll-snap-align:none}:host .calendar-body::-webkit-scrollbar{display:none}:host .calendar-body .calendar-month-grid{display:grid;grid-template-columns:repeat(7, 1fr)}:host .calendar-day-wrapper{display:flex;align-items:center;justify-content:center;min-width:0;min-height:0;overflow:visible}.calendar-day{border-radius:50%;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:0px;padding-bottom:0px;-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:0px;margin-bottom:0px;display:flex;position:relative;align-items:center;justify-content:center;border:none;outline:none;background:none;color:currentColor;font-family:var(--ion-font-family, inherit);cursor:pointer;appearance:none;z-index:0}:host .calendar-day[disabled]{pointer-events:none;opacity:0.4}.calendar-day:focus{background:rgba(var(--ion-color-base-rgb), 0.2);box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2)}:host .datetime-time{display:flex;justify-content:space-between}:host(.datetime-presentation-time) .datetime-time{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host ion-popover{--height:200px}:host .time-header{display:flex;align-items:center}:host .time-body{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;display:flex;border:none;background:var(--ion-color-step-300, #edeef0);color:var(--ion-text-color, #000);font-family:inherit;font-size:inherit;cursor:pointer;appearance:none}:host .time-body-active{color:var(--ion-color-base)}:host(.in-item){position:static}:host(.show-month-and-year) .calendar-action-buttons ion-item{--color:var(--ion-color-base)}:host{--background:var(--ion-color-light, #ffffff);--background-rgb:var(--ion-color-light-rgb);--title-color:var(--ion-color-step-600, #666666)}:host(.datetime-presentation-date-time:not(.datetime-prefer-wheel)),:host(.datetime-presentation-time-date:not(.datetime-prefer-wheel)),:host(.datetime-presentation-date:not(.datetime-prefer-wheel)){min-height:350px}:host .datetime-header{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:16px;padding-bottom:16px;border-bottom:0.55px solid var(--ion-color-step-200, #cccccc);font-size:min(0.875rem, 22.4px)}:host .datetime-header .datetime-title{color:var(--title-color)}:host .datetime-header .datetime-selected-date{margin-top:10px}:host .calendar-action-buttons ion-item{--padding-start:16px;--background-hover:transparent;--background-activated:transparent;font-size:min(1rem, 25.6px);font-weight:600}:host .calendar-action-buttons ion-item ion-icon,:host .calendar-action-buttons ion-buttons ion-button{color:var(--ion-color-base)}:host .calendar-action-buttons ion-buttons{padding-left:0;padding-right:0;padding-top:8px;padding-bottom:0}:host .calendar-action-buttons ion-buttons ion-button{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}:host .calendar-days-of-week{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:0;padding-bottom:0;color:var(--ion-color-step-300, #b3b3b3);font-size:min(0.75rem, 19.2px);font-weight:600;line-height:24px;text-transform:uppercase}@supports (border-radius: mod(1px, 1px)){.calendar-days-of-week .day-of-week{width:clamp(20px, calc(mod(min(1rem, 24px), 24px) * 10), 100%);height:24px;overflow:hidden}.calendar-day{border-radius:max(8px, mod(min(1rem, 24px), 24px) * 10)}}@supports ((border-radius: mod(1px, 1px)) and (background: -webkit-named-image(apple-pay-logo-black)) and (not (contain-intrinsic-size: none))) or (not (border-radius: mod(1px, 1px))){.calendar-days-of-week .day-of-week{width:auto;height:auto;overflow:initial}.calendar-day{border-radius:32px}}:host .calendar-body .calendar-month .calendar-month-grid{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;align-items:center;height:calc(100% - 16px)}:host .calendar-day-wrapper{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;height:0;min-height:1rem}:host .calendar-day{width:40px;min-width:40px;height:40px;font-size:min(1.25rem, 32px)}.calendar-day.calendar-day-active{background:rgba(var(--ion-color-base-rgb), 0.2)}:host .calendar-day.calendar-day-today{color:var(--ion-color-base)}:host .calendar-day.calendar-day-active{color:var(--ion-color-base);font-weight:600}:host .calendar-day.calendar-day-today.calendar-day-active{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host .datetime-time{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:8px;padding-bottom:16px;font-size:min(1rem, 25.6px)}:host .datetime-time .time-header{font-weight:600}:host .datetime-buttons{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;border-top:0.55px solid var(--ion-color-step-200, #cccccc)}:host .datetime-buttons ::slotted(ion-buttons),:host .datetime-buttons ion-buttons{display:flex;align-items:center;justify-content:space-between}:host .datetime-action-buttons{width:100%}";const wt=xt;const vt=":host{display:flex;flex-flow:column;background:var(--background);overflow:hidden}ion-picker-column-internal{min-width:26px}:host(.datetime-size-fixed){width:auto;height:auto}:host(.datetime-size-fixed:not(.datetime-prefer-wheel)){max-width:350px}:host(.datetime-size-fixed.datetime-prefer-wheel){min-width:350px;max-width:max-content}:host(.datetime-size-cover){width:100%}:host .calendar-body,:host .datetime-year{opacity:0}:host(:not(.datetime-ready)) .datetime-year{position:absolute;pointer-events:none}:host(.datetime-ready) .calendar-body{opacity:1}:host(.datetime-ready) .datetime-year{display:none;opacity:1}:host .wheel-order-year-first .day-column{order:3;text-align:end}:host .wheel-order-year-first .month-column{order:2;text-align:end}:host .wheel-order-year-first .year-column{order:1;text-align:start}:host .datetime-calendar,:host .datetime-year{display:flex;flex:1 1 auto;flex-flow:column}:host(.show-month-and-year) .datetime-year{display:flex}@supports (background: -webkit-named-image(apple-pay-logo-black)) and (not (aspect-ratio: 1/1)){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{position:absolute;visibility:hidden;pointer-events:none}@supports (inset-inline-start: 0){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{inset-inline-start:-99999px}}@supports not (inset-inline-start: 0){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{left:-99999px}:host-context([dir=rtl]):host(.show-month-and-year) .calendar-next-prev,:host-context([dir=rtl]).show-month-and-year .calendar-next-prev,:host-context([dir=rtl]):host(.show-month-and-year) .calendar-days-of-week,:host-context([dir=rtl]).show-month-and-year .calendar-days-of-week,:host-context([dir=rtl]):host(.show-month-and-year) .calendar-body,:host-context([dir=rtl]).show-month-and-year .calendar-body,:host-context([dir=rtl]):host(.show-month-and-year) .datetime-time,:host-context([dir=rtl]).show-month-and-year .datetime-time{left:unset;right:unset;right:-99999px}@supports selector(:dir(rtl)){:host(.show-month-and-year:dir(rtl)) .calendar-next-prev,:host(.show-month-and-year:dir(rtl)) .calendar-days-of-week,:host(.show-month-and-year:dir(rtl)) .calendar-body,:host(.show-month-and-year:dir(rtl)) .datetime-time{left:unset;right:unset;right:-99999px}}}}@supports (not (background: -webkit-named-image(apple-pay-logo-black))) or ((background: -webkit-named-image(apple-pay-logo-black)) and (aspect-ratio: 1/1)){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{display:none}}:host(.month-year-picker-open) .datetime-footer{display:none}:host(.datetime-disabled){pointer-events:none}:host(.datetime-disabled) .calendar-days-of-week,:host(.datetime-disabled) .datetime-time{opacity:0.4}:host(.datetime-readonly){pointer-events:none;}:host(.datetime-readonly) .calendar-action-buttons,:host(.datetime-readonly) .calendar-body,:host(.datetime-readonly) .datetime-year{pointer-events:initial}:host(.datetime-readonly) .calendar-day[disabled]:not(.calendar-day-constrained),:host(.datetime-readonly) .datetime-action-buttons ion-button[disabled]{opacity:1}:host .datetime-header .datetime-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host .datetime-action-buttons.has-clear-button{width:100%}:host .datetime-action-buttons ion-buttons{display:flex;justify-content:space-between}.datetime-action-buttons .datetime-action-buttons-container{display:flex}:host .calendar-action-buttons{display:flex;justify-content:space-between}:host .calendar-action-buttons ion-item,:host .calendar-action-buttons ion-button{--background:translucent}:host .calendar-action-buttons ion-item ion-label{display:flex;align-items:center;width:auto}:host .calendar-action-buttons ion-item ion-icon{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:0;padding-inline-end:0;padding-top:0;padding-bottom:0}:host .calendar-days-of-week{display:grid;grid-template-columns:repeat(7, 1fr);text-align:center}.calendar-days-of-week .day-of-week{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0}:host .calendar-body{display:flex;flex-grow:1;scroll-snap-type:x mandatory;overflow-x:scroll;overflow-y:hidden;scrollbar-width:none;outline:none}:host .calendar-body .calendar-month{display:flex;flex-flow:column;scroll-snap-align:start;scroll-snap-stop:always;flex-shrink:0;width:100%}:host .calendar-body .calendar-month-disabled{scroll-snap-align:none}:host .calendar-body::-webkit-scrollbar{display:none}:host .calendar-body .calendar-month-grid{display:grid;grid-template-columns:repeat(7, 1fr)}:host .calendar-day-wrapper{display:flex;align-items:center;justify-content:center;min-width:0;min-height:0;overflow:visible}.calendar-day{border-radius:50%;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:0px;padding-bottom:0px;-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:0px;margin-bottom:0px;display:flex;position:relative;align-items:center;justify-content:center;border:none;outline:none;background:none;color:currentColor;font-family:var(--ion-font-family, inherit);cursor:pointer;appearance:none;z-index:0}:host .calendar-day[disabled]{pointer-events:none;opacity:0.4}.calendar-day:focus{background:rgba(var(--ion-color-base-rgb), 0.2);box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2)}:host .datetime-time{display:flex;justify-content:space-between}:host(.datetime-presentation-time) .datetime-time{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host ion-popover{--height:200px}:host .time-header{display:flex;align-items:center}:host .time-body{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;display:flex;border:none;background:var(--ion-color-step-300, #edeef0);color:var(--ion-text-color, #000);font-family:inherit;font-size:inherit;cursor:pointer;appearance:none}:host .time-body-active{color:var(--ion-color-base)}:host(.in-item){position:static}:host(.show-month-and-year) .calendar-action-buttons ion-item{--color:var(--ion-color-base)}:host{--background:var(--ion-color-step-100, #ffffff);--title-color:var(--ion-color-contrast)}:host .datetime-header{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:20px;padding-bottom:20px;background:var(--ion-color-base);color:var(--title-color)}:host .datetime-header .datetime-title{font-size:0.75rem;text-transform:uppercase}:host .datetime-header .datetime-selected-date{margin-top:30px;font-size:2.125rem}:host .datetime-calendar .calendar-action-buttons ion-item{--padding-start:20px}:host .calendar-action-buttons ion-item,:host .calendar-action-buttons ion-button{--color:var(--ion-color-step-650, #595959)}:host .calendar-days-of-week{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:0px;padding-bottom:0px;color:var(--ion-color-step-500, gray);font-size:0.875rem;line-height:36px}:host .calendar-body .calendar-month .calendar-month-grid{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:4px;padding-bottom:4px;grid-template-rows:repeat(6, 1fr)}:host .calendar-day{width:42px;min-width:42px;height:42px;font-size:0.875rem}:host .calendar-day.calendar-day-today{border:1px solid var(--ion-color-base);color:var(--ion-color-base)}:host .calendar-day.calendar-day-active{color:var(--ion-color-contrast)}.calendar-day.calendar-day-active{border:1px solid var(--ion-color-base);background:var(--ion-color-base)}:host .datetime-time{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:8px;padding-bottom:8px}:host .time-header{color:var(--ion-color-step-650, #595959)}:host(.datetime-presentation-month) .datetime-year,:host(.datetime-presentation-year) .datetime-year,:host(.datetime-presentation-month-year) .datetime-year{margin-top:20px;margin-bottom:20px}:host .datetime-buttons{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:10px;padding-bottom:10px;display:flex;align-items:center;justify-content:flex-end}";const kt=vt;const jt=class{constructor(i){t(this,i);this.ionCancel=e(this,"ionCancel",7);this.ionChange=e(this,"ionChange",7);this.ionValueChange=e(this,"ionValueChange",7);this.ionFocus=e(this,"ionFocus",7);this.ionBlur=e(this,"ionBlur",7);this.ionStyle=e(this,"ionStyle",7);this.ionRender=e(this,"ionRender",7);this.inputId=`ion-dt-${Ot++}`;this.prevPresentation=null;this.warnIfIncorrectValueUsage=()=>{const{multiple:t,value:e}=this;if(!t&&Array.isArray(e)){c(`ion-datetime 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: [${e.map((t=>`'${t}'`)).join(", ")}]\n`,this.el)}};this.setValue=t=>{this.value=t;this.ionChange.emit({value:t})};this.getActivePartsWithFallback=()=>{var t;const{defaultParts:e}=this;return(t=this.getActivePart())!==null&&t!==void 0?t:e};this.getActivePart=()=>{const{activeParts:t}=this;return Array.isArray(t)?t[0]:t};this.closeParentOverlay=()=>{const t=this.el.closest("ion-modal, ion-popover");if(t){t.dismiss()}};this.setWorkingParts=t=>{this.workingParts=Object.assign({},t)};this.setActiveParts=(t,e=false)=>{if(this.readonly){return}const{multiple:n,minParts:i,maxParts:a,activeParts:o}=this;const s=D(t,i,a);this.setWorkingParts(s);if(n){const t=Array.isArray(o)?o:[o];if(e){this.activeParts=t.filter((t=>!O(t,s)))}else{this.activeParts=[...t,s]}}else{this.activeParts=Object.assign({},s)}const r=this.el.querySelector('[slot="buttons"]')!==null;if(r||this.showDefaultButtons){return}this.confirm()};this.initializeKeyboardListeners=()=>{const t=this.calendarBodyRef;if(!t){return}const e=this.el.shadowRoot;const n=t.querySelector(".calendar-month:nth-of-type(2)");const i=e=>{var i;const a=e[0];if(((i=a.oldValue)===null||i===void 0?void 0:i.includes("ion-focused"))||!t.classList.contains("ion-focused")){return}this.focusWorkingDay(n)};const a=new MutationObserver(i);a.observe(t,{attributeFilter:["class"],attributeOldValue:true});this.destroyKeyboardMO=()=>{a===null||a===void 0?void 0:a.disconnect()};t.addEventListener("keydown",(t=>{const i=e.activeElement;if(!i||!i.classList.contains("calendar-day")){return}const a=z(i);let o;switch(t.key){case"ArrowDown":t.preventDefault();o=R(a);break;case"ArrowUp":t.preventDefault();o=S(a);break;case"ArrowRight":t.preventDefault();o=E(a);break;case"ArrowLeft":t.preventDefault();o=I(a);break;case"Home":t.preventDefault();o=A(a);break;case"End":t.preventDefault();o=T(a);break;case"PageUp":t.preventDefault();o=t.shiftKey?$(a):C(a);break;case"PageDown":t.preventDefault();o=t.shiftKey?V(a):P(a);break;default:return}if(ct(o,this.minParts,this.maxParts)){return}this.setWorkingParts(Object.assign(Object.assign({},this.workingParts),o));requestAnimationFrame((()=>this.focusWorkingDay(n)))}))};this.focusWorkingDay=t=>{const e=t.querySelectorAll(".calendar-day-padding");const{day:n}=this.workingParts;if(n===null){return}const i=t.querySelector(`.calendar-day-wrapper:nth-of-type(${e.length+n}) .calendar-day`);if(i){i.focus()}};this.processMinParts=()=>{const{min:t,defaultParts:e}=this;if(t===undefined){this.minParts=undefined;return}this.minParts=W(t,e)};this.processMaxParts=()=>{const{max:t,defaultParts:e}=this;if(t===undefined){this.maxParts=undefined;return}this.maxParts=M(t,e)};this.initializeCalendarListener=()=>{const t=this.calendarBodyRef;if(!t){return}const e=t.querySelectorAll(".calendar-month");const i=e[0];const a=e[1];const o=e[2];const s=x(this);const r=s==="ios"&&typeof navigator!=="undefined"&&navigator.maxTouchPoints>1;n((()=>{t.scrollLeft=i.clientWidth*(p(this.el)?-1:1);const e=e=>{const n=t.getBoundingClientRect();const a=t.scrollLeft<=2?i:o;const s=a.getBoundingClientRect();if(Math.abs(s.x-n.x)>2)return;const{forceRenderDate:r}=this;if(r!==undefined){return{month:r.month,year:r.year,day:r.day}}if(a===i){return C(e)}else if(a===o){return P(e)}else{return}};const s=()=>{if(r){t.style.removeProperty("pointer-events");l=false}const i=e(this.workingParts);if(!i)return;const{month:o,day:s,year:d}=i;if(mt({month:o,year:d,day:null},{minParts:Object.assign(Object.assign({},this.minParts),{day:null}),maxParts:Object.assign(Object.assign({},this.maxParts),{day:null})})){return}t.style.setProperty("overflow","hidden");n((()=>{this.setWorkingParts(Object.assign(Object.assign({},this.workingParts),{month:o,day:s,year:d}));t.scrollLeft=a.clientWidth*(p(this.el)?-1:1);t.style.removeProperty("overflow");if(this.resolveForceDateScrolling){this.resolveForceDateScrolling()}}))};let d;let l=false;const h=()=>{if(d){clearTimeout(d)}if(!l&&r){t.style.setProperty("pointer-events","none");l=true}d=setTimeout(s,50)};t.addEventListener("scroll",h);this.destroyCalendarListener=()=>{t.removeEventListener("scroll",h)}}))};this.destroyInteractionListeners=()=>{const{destroyCalendarListener:t,destroyKeyboardMO:e}=this;if(t!==undefined){t()}if(e!==undefined){e()}};this.processValue=t=>{const e=t!==null&&t!==undefined&&(!Array.isArray(t)||t.length>0);const n=e?F(t):this.defaultParts;const{minParts:i,maxParts:a,workingParts:o,el:s}=this;this.warnIfIncorrectValueUsage();if(!n){return}if(e){L(n,i,a)}const r=Array.isArray(n)?n[0]:n;const d=rt(r,i,a);const{month:l,day:h,year:c,hour:p,minute:m}=d;const u=dt(p);if(e){if(Array.isArray(n)){this.activeParts=[...n]}else{this.activeParts={month:l,day:h,year:c,hour:p,minute:m,ampm:u}}}else{this.activeParts=[]}const f=l!==undefined&&l!==o.month||c!==undefined&&c!==o.year;const y=s.classList.contains("datetime-ready");const{isGridStyle:b,showMonthAndYear:g}=this;let x=true;if(Array.isArray(n)){const t=n[0].month;for(const e of n){if(e.month!==t){x=false;break}}}if(x){if(b&&f&&y&&!g){this.animateToDate(d)}else{this.setWorkingParts({month:l,day:h,year:c,hour:p,minute:m,ampm:u})}}};this.animateToDate=async t=>{const{workingParts:e}=this;this.forceRenderDate=t;const n=new Promise((t=>{this.resolveForceDateScrolling=t}));const i=k(t,e);i?this.prevMonth():this.nextMonth();await n;this.resolveForceDateScrolling=undefined;this.forceRenderDate=undefined};this.onFocus=()=>{this.ionFocus.emit()};this.onBlur=()=>{this.ionBlur.emit()};this.hasValue=()=>this.value!=null;this.nextMonth=()=>{const t=this.calendarBodyRef;if(!t){return}const e=t.querySelector(".calendar-month:last-of-type");if(!e){return}const n=e.offsetWidth*2;t.scrollTo({top:0,left:n*(p(this.el)?-1:1),behavior:"smooth"})};this.prevMonth=()=>{const t=this.calendarBodyRef;if(!t){return}const e=t.querySelector(".calendar-month:first-of-type");if(!e){return}t.scrollTo({top:0,left:0,behavior:"smooth"})};this.toggleMonthAndYearView=()=>{this.showMonthAndYear=!this.showMonthAndYear};this.showMonthAndYear=false;this.activeParts=[];this.workingParts={month:5,day:28,year:2021,hour:13,minute:52,ampm:"pm"};this.isTimePopoverOpen=false;this.forceRenderDate=undefined;this.color="primary";this.name=this.inputId;this.disabled=false;this.formatOptions=undefined;this.readonly=false;this.isDateEnabled=undefined;this.min=undefined;this.max=undefined;this.presentation="date-time";this.cancelText="Cancel";this.doneText="Done";this.clearText="Clear";this.yearValues=undefined;this.monthValues=undefined;this.dayValues=undefined;this.hourValues=undefined;this.minuteValues=undefined;this.locale="default";this.firstDayOfWeek=0;this.titleSelectedDatesFormatter=undefined;this.multiple=false;this.highlightedDates=undefined;this.value=undefined;this.showDefaultTitle=false;this.showDefaultButtons=false;this.showClearButton=false;this.showDefaultTimeLabel=true;this.hourCycle=undefined;this.size="fixed";this.preferWheel=false}formatOptionsChanged(){const{el:t,formatOptions:e,presentation:n}=this;gt(t,n,e);bt(t,e)}disabledChanged(){this.emitStyle()}minChanged(){this.processMinParts()}maxChanged(){this.processMaxParts()}presentationChanged(){const{el:t,formatOptions:e,presentation:n}=this;gt(t,n,e)}get isGridStyle(){const{presentation:t,preferWheel:e}=this;const n=t==="date"||t==="date-time"||t==="time-date";return n&&!e}yearValuesChanged(){this.parsedYearValues=B(this.yearValues)}monthValuesChanged(){this.parsedMonthValues=B(this.monthValues)}dayValuesChanged(){this.parsedDayValues=B(this.dayValues)}hourValuesChanged(){this.parsedHourValues=B(this.hourValues)}minuteValuesChanged(){this.parsedMinuteValues=B(this.minuteValues)}async valueChanged(){const{value:t}=this;if(this.hasValue()){this.processValue(t)}this.emitStyle();this.ionValueChange.emit({value:t})}async confirm(t=false){const{isCalendarPicker:e,activeParts:n,preferWheel:i,workingParts:a}=this;if(n!==undefined||!e){const t=Array.isArray(n);if(t&&n.length===0){if(i){this.setValue(H(a))}else{this.setValue(undefined)}}else{this.setValue(H(n))}}if(t){this.closeParentOverlay()}}async reset(t){this.processValue(t)}async cancel(t=false){this.ionCancel.emit();if(t){this.closeParentOverlay()}}get isCalendarPicker(){const{presentation:t}=this;return t==="date"||t==="date-time"||t==="time-date"}connectedCallback(){this.clearFocusVisible=s(this.el).destroy}disconnectedCallback(){if(this.clearFocusVisible){this.clearFocusVisible();this.clearFocusVisible=undefined}}initializeListeners(){this.initializeCalendarListener();this.initializeKeyboardListeners()}componentDidLoad(){const{el:t,intersectionTrackerRef:e}=this;const i=t=>{const e=t[0];if(!e.isIntersecting){return}this.initializeListeners();n((()=>{this.el.classList.add("datetime-ready")}))};const a=new IntersectionObserver(i,{threshold:.01,root:t});r((()=>a===null||a===void 0?void 0:a.observe(e)));const o=t=>{const e=t[0];if(e.isIntersecting){return}this.destroyInteractionListeners();this.showMonthAndYear=false;n((()=>{this.el.classList.remove("datetime-ready")}))};const s=new IntersectionObserver(o,{threshold:0,root:t});r((()=>s===null||s===void 0?void 0:s.observe(e)));const d=l(this.el);d.addEventListener("ionFocus",(t=>t.stopPropagation()));d.addEventListener("ionBlur",(t=>t.stopPropagation()))}componentDidRender(){const{presentation:t,prevPresentation:e,calendarBodyRef:n,minParts:i,preferWheel:a,forceRenderDate:o}=this;const s=!a&&["date-time","time-date","date"].includes(t);if(i!==undefined&&s&&n){const t=n.querySelector(".calendar-month:nth-of-type(1)");if(t&&o===undefined){n.scrollLeft=t.clientWidth*(p(this.el)?-1:1)}}if(e===null){this.prevPresentation=t;return}if(t===e){return}this.prevPresentation=t;this.destroyInteractionListeners();this.initializeListeners();this.showMonthAndYear=false;r((()=>{this.ionRender.emit()}))}componentWillLoad(){const{el:t,formatOptions:e,highlightedDates:n,multiple:i,presentation:a,preferWheel:o}=this;if(i){if(a!=="date"){c('Multiple date selection is only supported for presentation="date".',t)}if(o){c('Multiple date selection is not supported with preferWheel="true".',t)}}if(n!==undefined){if(a!=="date"&&a!=="date-time"&&a!=="time-date"){c("The highlightedDates property is only supported with the date, date-time, and time-date presentations.",t)}if(o){c('The highlightedDates property is not supported with preferWheel="true".',t)}}if(e){gt(t,a,e);bt(t,e)}const s=this.parsedHourValues=B(this.hourValues);const r=this.parsedMinuteValues=B(this.minuteValues);const d=this.parsedMonthValues=B(this.monthValues);const l=this.parsedYearValues=B(this.yearValues);const h=this.parsedDayValues=B(this.dayValues);const p=this.todayParts=F(q());this.processMinParts();this.processMaxParts();this.defaultParts=Y({refParts:p,monthValues:d,dayValues:h,yearValues:l,hourValues:s,minuteValues:r,minParts:this.minParts,maxParts:this.maxParts});this.processValue(this.value);this.emitStyle()}emitStyle(){this.ionStyle.emit({interactive:true,datetime:true,"interactive-disabled":this.disabled})}renderFooter(){const{disabled:t,readonly:e,showDefaultButtons:n,showClearButton:a}=this;const o=t||e;const s=this.el.querySelector('[slot="buttons"]')!==null;if(!s&&!n&&!a){return}const r=()=>{this.reset();this.setValue(undefined)};return i("div",{class:"datetime-footer"},i("div",{class:"datetime-buttons"},i("div",{class:{["datetime-action-buttons"]:true,["has-clear-button"]:this.showClearButton}},i("slot",{name:"buttons"},i("ion-buttons",null,n&&i("ion-button",{id:"cancel-button",color:this.color,onClick:()=>this.cancel(true),disabled:o},this.cancelText),i("div",{class:"datetime-action-buttons-container"},a&&i("ion-button",{id:"clear-button",color:this.color,onClick:()=>r(),disabled:o},this.clearText),n&&i("ion-button",{id:"confirm-button",color:this.color,onClick:()=>this.confirm(true),disabled:o},this.doneText)))))))}renderWheelPicker(t=this.presentation){const e=t==="time-date"?[this.renderTimePickerColumns(t),this.renderDatePickerColumns(t)]:[this.renderDatePickerColumns(t),this.renderTimePickerColumns(t)];return i("ion-picker-internal",null,e)}renderDatePickerColumns(t){return t==="date-time"||t==="time-date"?this.renderCombinedDatePickerColumn():this.renderIndividualDatePickerColumns(t)}renderCombinedDatePickerColumn(){const{defaultParts:t,disabled:e,workingParts:n,locale:a,minParts:o,maxParts:s,todayParts:r,isDateEnabled:d}=this;const l=this.getActivePartsWithFallback();const c=G(n);const p=c[c.length-1];c[0].day=1;p.day=N(p.month,p.year);const m=o!==undefined&&j(o,c[0])?o:c[0];const u=s!==undefined&&k(s,p)?s:p;const f=K(a,r,m,u,this.parsedDayValues,this.parsedMonthValues);let y=f.items;const b=f.parts;if(d){y=y.map(((t,e)=>{const n=b[e];let i;try{i=!d(H(n))}catch(t){h("Exception thrown from provided `isDateEnabled` function. Please check your function and try again.",t)}return Object.assign(Object.assign({},t),{disabled:i})}))}const g=n.day!==null?`${n.year}-${n.month}-${n.day}`:`${t.year}-${t.month}-${t.day}`;return i("ion-picker-column-internal",{class:"date-column",color:this.color,disabled:e,items:y,value:g,onIonChange:t=>{if(this.destroyCalendarListener){this.destroyCalendarListener()}const{value:e}=t.detail;const i=b.find((({month:t,day:n,year:i})=>e===`${i}-${t}-${n}`));this.setWorkingParts(Object.assign(Object.assign({},n),i));this.setActiveParts(Object.assign(Object.assign({},l),i));this.initializeCalendarListener();t.stopPropagation()}})}renderIndividualDatePickerColumns(t){const{workingParts:e,isDateEnabled:n}=this;const i=t!=="year"&&t!=="time";const a=i?U(this.locale,e,this.minParts,this.maxParts,this.parsedMonthValues):[];const o=t==="date";let s=o?Z(this.locale,e,this.minParts,this.maxParts,this.parsedDayValues):[];if(n){s=s.map((t=>{const{value:i}=t;const a=typeof i==="string"?parseInt(i):i;const o={month:e.month,day:a,year:e.year};let s;try{s=!n(H(o))}catch(t){h("Exception thrown from provided `isDateEnabled` function. Please check your function and try again.",t)}return Object.assign(Object.assign({},t),{disabled:s})}))}const r=t!=="month"&&t!=="time";const d=r?J(this.locale,this.defaultParts,this.minParts,this.maxParts,this.parsedYearValues):[];const l=Q(this.locale,{month:"numeric",day:"numeric"});let c=[];if(l){c=[this.renderMonthPickerColumn(a),this.renderDayPickerColumn(s),this.renderYearPickerColumn(d)]}else{c=[this.renderDayPickerColumn(s),this.renderMonthPickerColumn(a),this.renderYearPickerColumn(d)]}return c}renderDayPickerColumn(t){var e;if(t.length===0){return[]}const{disabled:n,workingParts:a}=this;const o=this.getActivePartsWithFallback();return i("ion-picker-column-internal",{class:"day-column",color:this.color,disabled:n,items:t,value:(e=a.day!==null?a.day:this.defaultParts.day)!==null&&e!==void 0?e:undefined,onIonChange:t=>{if(this.destroyCalendarListener){this.destroyCalendarListener()}this.setWorkingParts(Object.assign(Object.assign({},a),{day:t.detail.value}));this.setActiveParts(Object.assign(Object.assign({},o),{day:t.detail.value}));this.initializeCalendarListener();t.stopPropagation()}})}renderMonthPickerColumn(t){if(t.length===0){return[]}const{disabled:e,workingParts:n}=this;const a=this.getActivePartsWithFallback();return i("ion-picker-column-internal",{class:"month-column",color:this.color,disabled:e,items:t,value:n.month,onIonChange:t=>{if(this.destroyCalendarListener){this.destroyCalendarListener()}this.setWorkingParts(Object.assign(Object.assign({},n),{month:t.detail.value}));this.setActiveParts(Object.assign(Object.assign({},a),{month:t.detail.value}));this.initializeCalendarListener();t.stopPropagation()}})}renderYearPickerColumn(t){if(t.length===0){return[]}const{disabled:e,workingParts:n}=this;const a=this.getActivePartsWithFallback();return i("ion-picker-column-internal",{class:"year-column",color:this.color,disabled:e,items:t,value:n.year,onIonChange:t=>{if(this.destroyCalendarListener){this.destroyCalendarListener()}this.setWorkingParts(Object.assign(Object.assign({},n),{year:t.detail.value}));this.setActiveParts(Object.assign(Object.assign({},a),{year:t.detail.value}));this.initializeCalendarListener();t.stopPropagation()}})}renderTimePickerColumns(t){if(["date","month","month-year","year"].includes(t)){return[]}const e=this.getActivePart();const n=e!==undefined;const{hoursData:i,minutesData:a,dayPeriodData:o}=_(this.locale,this.workingParts,this.hourCycle,n?this.minParts:undefined,n?this.maxParts:undefined,this.parsedHourValues,this.parsedMinuteValues);return[this.renderHourPickerColumn(i),this.renderMinutePickerColumn(a),this.renderDayPeriodPickerColumn(o)]}renderHourPickerColumn(t){const{disabled:e,workingParts:n}=this;if(t.length===0)return[];const a=this.getActivePartsWithFallback();return i("ion-picker-column-internal",{color:this.color,disabled:e,value:a.hour,items:t,numericInput:true,onIonChange:t=>{this.setWorkingParts(Object.assign(Object.assign({},n),{hour:t.detail.value}));this.setActiveParts(Object.assign(Object.assign({},a),{hour:t.detail.value}));t.stopPropagation()}})}renderMinutePickerColumn(t){const{disabled:e,workingParts:n}=this;if(t.length===0)return[];const a=this.getActivePartsWithFallback();return i("ion-picker-column-internal",{color:this.color,disabled:e,value:a.minute,items:t,numericInput:true,onIonChange:t=>{this.setWorkingParts(Object.assign(Object.assign({},n),{minute:t.detail.value}));this.setActiveParts(Object.assign(Object.assign({},a),{minute:t.detail.value}));t.stopPropagation()}})}renderDayPeriodPickerColumn(t){const{disabled:e,workingParts:n}=this;if(t.length===0){return[]}const a=this.getActivePartsWithFallback();const o=X(this.locale);return i("ion-picker-column-internal",{style:o?{order:"-1"}:{},color:this.color,disabled:e,value:a.ampm,items:t,onIonChange:t=>{const e=lt(n,t.detail.value);this.setWorkingParts(Object.assign(Object.assign({},n),{ampm:t.detail.value,hour:e}));this.setActiveParts(Object.assign(Object.assign({},a),{ampm:t.detail.value,hour:e}));t.stopPropagation()}})}renderWheelView(t){const{locale:e}=this;const n=Q(e);const a=n?"month-first":"year-first";return i("div",{class:{[`wheel-order-${a}`]:true}},this.renderWheelPicker(t))}renderCalendarHeader(t){const{disabled:e}=this;const n=t==="ios"?y:b;const a=t==="ios"?f:g;const o=e||ut(this.workingParts,this.minParts,this.maxParts);const s=e||ft(this.workingParts,this.maxParts);const r=this.el.getAttribute("dir")||undefined;return i("div",{class:"calendar-header"},i("div",{class:"calendar-action-buttons"},i("div",{class:"calendar-month-year"},i("ion-item",{part:"month-year-button",ref:t=>this.monthYearToggleItemRef=t,button:true,"aria-label":"Show year picker",detail:false,lines:"none",disabled:e,onClick:()=>{var t;this.toggleMonthAndYearView();const{monthYearToggleItemRef:e}=this;if(e){const n=(t=e.shadowRoot)===null||t===void 0?void 0:t.querySelector(".item-native");if(n){const t=this.showMonthAndYear?"Hide year picker":"Show year picker";n.setAttribute("aria-label",t)}}}},i("ion-label",null,et(this.locale,this.workingParts),i("ion-icon",{"aria-hidden":"true",icon:this.showMonthAndYear?n:a,lazy:false,flipRtl:true})))),i("div",{class:"calendar-next-prev"},i("ion-buttons",null,i("ion-button",{"aria-label":"Previous month",disabled:o,onClick:()=>this.prevMonth()},i("ion-icon",{dir:r,"aria-hidden":"true",slot:"icon-only",icon:u,lazy:false,flipRtl:true})),i("ion-button",{"aria-label":"Next month",disabled:s,onClick:()=>this.nextMonth()},i("ion-icon",{dir:r,"aria-hidden":"true",slot:"icon-only",icon:f,lazy:false,flipRtl:true}))))),i("div",{class:"calendar-days-of-week","aria-hidden":"true"},tt(this.locale,t,this.firstDayOfWeek%7).map((t=>i("div",{class:"day-of-week"},t)))))}renderMonth(t,e){const{disabled:n,readonly:a}=this;const o=this.parsedYearValues===undefined||this.parsedYearValues.includes(e);const s=this.parsedMonthValues===undefined||this.parsedMonthValues.includes(t);const r=!o||!s;const d=n||a;const l=n||mt({month:t,year:e,day:null},{minParts:Object.assign(Object.assign({},this.minParts),{day:null}),maxParts:Object.assign(Object.assign({},this.maxParts),{day:null})});const c=this.workingParts.month===t&&this.workingParts.year===e;const p=this.getActivePartsWithFallback();return i("div",{"aria-hidden":!c?"true":null,class:{"calendar-month":true,"calendar-month-disabled":!c&&l}},i("div",{class:"calendar-month-grid"},nt(t,e,this.firstDayOfWeek%7).map(((n,a)=>{const{day:o,dayOfWeek:s}=n;const{el:l,highlightedDates:c,isDateEnabled:m,multiple:u}=this;const f={month:t,day:o,year:e};const y=o===null;const{isActive:b,isToday:g,ariaLabel:x,ariaSelected:w,disabled:v,text:k}=pt(this.locale,f,this.activeParts,this.todayParts,this.minParts,this.maxParts,this.parsedDayValues);const j=H(f);let O=r||v;if(!O&&m!==undefined){try{O=!m(j)}catch(t){h("Exception thrown from provided `isDateEnabled` function. Please check your function and try again.",l,t)}}const C=O&&d;const P=O||d;let D=undefined;if(c!==undefined&&!b&&o!==null){D=yt(c,j,l)}let z=undefined;if(!y){z=`calendar-day${b?" active":""}${g?" today":""}${O?" disabled":""}`}return i("div",{class:"calendar-day-wrapper"},i("button",{ref:t=>{if(t){t.style.setProperty("color",`${D?D.textColor:""}`,"important");t.style.setProperty("background-color",`${D?D.backgroundColor:""}`,"important")}},tabindex:"-1","data-day":o,"data-month":t,"data-year":e,"data-index":a,"data-day-of-week":s,disabled:P,class:{"calendar-day-padding":y,"calendar-day":true,"calendar-day-active":b,"calendar-day-constrained":C,"calendar-day-today":g},part:z,"aria-hidden":y?"true":null,"aria-selected":w,"aria-label":x,onClick:()=>{if(y){return}this.setWorkingParts(Object.assign(Object.assign({},this.workingParts),{month:t,day:o,year:e}));if(u){this.setActiveParts({month:t,day:o,year:e},b)}else{this.setActiveParts(Object.assign(Object.assign({},p),{month:t,day:o,year:e}))}}},k))}))))}renderCalendarBody(){return i("div",{class:"calendar-body ion-focusable",ref:t=>this.calendarBodyRef=t,tabindex:"0"},G(this.workingParts,this.forceRenderDate).map((({month:t,year:e})=>this.renderMonth(t,e))))}renderCalendar(t){return i("div",{class:"datetime-calendar",key:"datetime-calendar"},this.renderCalendarHeader(t),this.renderCalendarBody())}renderTimeLabel(){const t=this.el.querySelector('[slot="time-label"]')!==null;if(!t&&!this.showDefaultTimeLabel){return}return i("slot",{name:"time-label"},"Time")}renderTimeOverlay(){const{disabled:t,hourCycle:e,isTimePopoverOpen:n,locale:a,formatOptions:o}=this;const s=it(a,e);const r=this.getActivePartsWithFallback();return[i("div",{class:"time-header"},this.renderTimeLabel()),i("button",{class:{"time-body":true,"time-body-active":n},part:`time-button${n?" active":""}`,"aria-expanded":"false","aria-haspopup":"true",disabled:t,onClick:async t=>{const{popoverRef:e}=this;if(e){this.isTimePopoverOpen=true;e.present(new CustomEvent("ionShadowTarget",{detail:{ionShadowTarget:t.target}}));await e.onWillDismiss();this.isTimePopoverOpen=false}}},at(a,r,s,o===null||o===void 0?void 0:o.time)),i("ion-popover",{alignment:"center",translucent:true,overlayIndex:1,arrow:false,onWillPresent:t=>{const e=t.target.querySelectorAll("ion-picker-column-internal");e.forEach((t=>t.scrollActiveItemIntoView()))},style:{"--offset-y":"-10px","--min-width":"fit-content"},keyboardEvents:true,ref:t=>this.popoverRef=t},this.renderWheelPicker("time"))]}getHeaderSelectedDateText(){var t;const{activeParts:e,formatOptions:n,multiple:i,titleSelectedDatesFormatter:a}=this;const o=Array.isArray(e);let s;if(i&&o&&e.length!==1){s=`${e.length} days`;if(a!==undefined){try{s=a(H(e))}catch(t){h("Exception in provided `titleSelectedDatesFormatter`: ",t)}}}else{s=ot(this.locale,this.getActivePartsWithFallback(),(t=n===null||n===void 0?void 0:n.date)!==null&&t!==void 0?t:{weekday:"short",month:"short",day:"numeric"})}return s}renderHeader(t=true){const e=this.el.querySelector('[slot="title"]')!==null;if(!e&&!this.showDefaultTitle){return}return i("div",{class:"datetime-header"},i("div",{class:"datetime-title"},i("slot",{name:"title"},"Select Date")),t&&i("div",{class:"datetime-selected-date"},this.getHeaderSelectedDateText()))}renderTime(){const{presentation:t}=this;const e=t==="time";return i("div",{class:"datetime-time"},e?this.renderWheelPicker():this.renderTimeOverlay())}renderCalendarViewMonthYearPicker(){return i("div",{class:"datetime-year"},this.renderWheelView("month-year"))}renderDatetime(t){const{presentation:e,preferWheel:n}=this;const i=e==="date"||e==="date-time"||e==="time-date";if(n&&i){return[this.renderHeader(false),this.renderWheelView(),this.renderFooter()]}switch(e){case"date-time":return[this.renderHeader(),this.renderCalendar(t),this.renderCalendarViewMonthYearPicker(),this.renderTime(),this.renderFooter()];case"time-date":return[this.renderHeader(),this.renderTime(),this.renderCalendar(t),this.renderCalendarViewMonthYearPicker(),this.renderFooter()];case"time":return[this.renderHeader(false),this.renderTime(),this.renderFooter()];case"month":case"month-year":case"year":return[this.renderHeader(false),this.renderWheelView(),this.renderFooter()];default:return[this.renderHeader(),this.renderCalendar(t),this.renderCalendarViewMonthYearPicker(),this.renderFooter()]}}render(){const{name:t,value:e,disabled:n,el:o,color:s,readonly:r,showMonthAndYear:l,preferWheel:h,presentation:c,size:p,isGridStyle:u}=this;const f=x(this);const y=c==="year"||c==="month"||c==="month-year";const b=l||y;const g=l&&!y;const w=c==="date"||c==="date-time"||c==="time-date";const v=w&&h;d(true,o,t,st(e),n);return i(a,{key:"8490192beb6c5c6064ed8f2a7be2d51846f84f36","aria-disabled":n?"true":null,onFocus:this.onFocus,onBlur:this.onBlur,class:Object.assign({},m(s,{[f]:true,["datetime-readonly"]:r,["datetime-disabled"]:n,"show-month-and-year":b,"month-year-picker-open":g,[`datetime-presentation-${c}`]:true,[`datetime-size-${p}`]:true,[`datetime-prefer-wheel`]:v,[`datetime-grid`]:u}))},i("div",{key:"a2959c07ed871f9004a2f11ab1385a5a7b5737fd",class:"intersection-tracker",ref:t=>this.intersectionTrackerRef=t}),this.renderDatetime(f))}get el(){return o(this)}static get watchers(){return{formatOptions:["formatOptionsChanged"],disabled:["disabledChanged"],min:["minChanged"],max:["maxChanged"],presentation:["presentationChanged"],yearValues:["yearValuesChanged"],monthValues:["monthValuesChanged"],dayValues:["dayValuesChanged"],hourValues:["hourValuesChanged"],minuteValues:["minuteValuesChanged"],value:["valueChanged"]}}};let Ot=0;jt.style={ios:wt,md:kt};export{jt as ion_datetime};
8
- //# sourceMappingURL=p-dadb557e.entry.js.map
8
+ //# sourceMappingURL=p-c19ba914.entry.js.map
@@ -0,0 +1,2 @@
1
+ import{r as t,h as i,H as s,d as e}from"./p-ad32e711.js";import{g as n}from"./p-17cb620a.js";const a=":host{margin-left:0;margin-right:0;margin-top:calc(100% + 10px);margin-bottom:calc(100% + 10px);display:none;position:absolute;top:0;flex-direction:column;align-items:center;min-width:56px;min-height:56px}:host(.fab-list-active){display:flex}::slotted(.fab-button-in-list){margin-left:0;margin-right:0;margin-top:8px;margin-bottom:8px;width:40px;height:40px;transform:scale(0);opacity:0;visibility:hidden}:host(.fab-list-side-top) ::slotted(.fab-button-in-list),:host(.fab-list-side-bottom) ::slotted(.fab-button-in-list){margin-left:0;margin-right:0;margin-top:5px;margin-bottom:5px}:host(.fab-list-side-start) ::slotted(.fab-button-in-list),:host(.fab-list-side-end) ::slotted(.fab-button-in-list){-webkit-margin-start:5px;margin-inline-start:5px;-webkit-margin-end:5px;margin-inline-end:5px;margin-top:0;margin-bottom:0}::slotted(.fab-button-in-list.fab-button-show){transform:scale(1);opacity:1;visibility:visible}:host(.fab-list-side-top){top:auto;bottom:0;flex-direction:column-reverse}:host(.fab-list-side-start){-webkit-margin-start:calc(100% + 10px);margin-inline-start:calc(100% + 10px);-webkit-margin-end:calc(100% + 10px);margin-inline-end:calc(100% + 10px);margin-top:0;margin-bottom:0;flex-direction:row-reverse}@supports (inset-inline-start: 0){:host(.fab-list-side-start){inset-inline-end:0}}@supports not (inset-inline-start: 0){:host(.fab-list-side-start){right:0}:host-context([dir=rtl]):host(.fab-list-side-start),:host-context([dir=rtl]).fab-list-side-start{left:unset;right:unset;left:0}@supports selector(:dir(rtl)){:host(.fab-list-side-start:dir(rtl)){left:unset;right:unset;left:0}}}:host(.fab-list-side-end){-webkit-margin-start:calc(100% + 10px);margin-inline-start:calc(100% + 10px);-webkit-margin-end:calc(100% + 10px);margin-inline-end:calc(100% + 10px);margin-top:0;margin-bottom:0;flex-direction:row}@supports (inset-inline-start: 0){:host(.fab-list-side-end){inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.fab-list-side-end){left:0}:host-context([dir=rtl]):host(.fab-list-side-end),:host-context([dir=rtl]).fab-list-side-end{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.fab-list-side-end:dir(rtl)){left:unset;right:unset;right:0}}}";const r=a;const o=class{constructor(i){t(this,i);this.activated=false;this.side="bottom"}activatedChanged(t){const i=Array.from(this.el.querySelectorAll("ion-fab-button"));const s=t?30:0;i.forEach(((i,e)=>{setTimeout((()=>i.show=t),e*s)}))}render(){const t=n(this);return i(s,{key:"3de1b0db4eb0230d4d2954e4265ddeb3c930b4dc",class:{[t]:true,"fab-list-active":this.activated,[`fab-list-side-${this.side}`]:true}},i("slot",{key:"970aac2239ad9ea2b6b6c3c3ea45a18c45b37df2"}))}get el(){return e(this)}static get watchers(){return{activated:["activatedChanged"]}}};o.style=r;export{o as ion_fab_list};
2
+ //# sourceMappingURL=p-c21dcd46.entry.js.map