@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 +1 @@
1
- {"version":3,"names":["itemOptionsIosCss","IonItemOptionsIosStyle0","itemOptionsMdCss","IonItemOptionsMdStyle0","ItemOptions","constructor","hostRef","this","side","fireSwipeEvent","ionSwipe","emit","render","mode","getIonMode","isEnd","isEndSide","h","Host","key","class"],"sources":["../node_modules/@ionic/core/dist/collection/components/item-options/item-options.ios.css?tag=ion-item-options&mode=ios","../node_modules/@ionic/core/dist/collection/components/item-options/item-options.md.css?tag=ion-item-options&mode=md","../node_modules/@ionic/core/dist/collection/components/item-options/item-options.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 */\nion-item-options {\n /* stylelint-disable property-disallowed-list */\n top: 0;\n right: 0;\n /* stylelint-enable property-disallowed-list */\n justify-content: flex-end;\n display: none;\n position: absolute;\n height: 100%;\n user-select: none;\n z-index: 1;\n}\n:host-context([dir=rtl]) ion-item-options {\n justify-content: flex-start;\n}\n:host-context([dir=rtl]) ion-item-options:not(.item-options-end) {\n /* stylelint-disable property-disallowed-list */\n right: auto;\n left: 0;\n /* stylelint-enable property-disallowed-list */\n justify-content: flex-end;\n}\n\n[dir=rtl] ion-item-options {\n justify-content: flex-start;\n}\n[dir=rtl] ion-item-options:not(.item-options-end) {\n /* stylelint-disable property-disallowed-list */\n right: auto;\n left: 0;\n /* stylelint-enable property-disallowed-list */\n justify-content: flex-end;\n}\n\n@supports selector(:dir(rtl)) {\n ion-item-options:dir(rtl) {\n justify-content: flex-start;\n }\n ion-item-options:dir(rtl):not(.item-options-end) {\n /* stylelint-disable property-disallowed-list */\n right: auto;\n left: 0;\n /* stylelint-enable property-disallowed-list */\n justify-content: flex-end;\n }\n}\n\n.item-options-start {\n /* stylelint-disable property-disallowed-list */\n right: auto;\n left: 0;\n /* stylelint-enable property-disallowed-list */\n justify-content: flex-start;\n}\n:host-context([dir=rtl]) .item-options-start {\n justify-content: flex-end;\n}\n\n[dir=rtl] .item-options-start {\n justify-content: flex-end;\n}\n\n@supports selector(:dir(rtl)) {\n .item-options-start:dir(rtl) {\n justify-content: flex-end;\n }\n}\n\n/* stylelint-disable property-disallowed-list */\n[dir=ltr] .item-options-start ion-item-option:first-child,\n[dir=rtl] .item-options-start ion-item-option:last-child {\n padding-left: var(--ion-safe-area-left);\n}\n\n[dir=ltr] .item-options-end ion-item-option:last-child,\n[dir=rtl] .item-options-end ion-item-option:first-child {\n padding-right: var(--ion-safe-area-right);\n}\n\n/* stylelint-enable property-disallowed-list */\n:host-context([dir=rtl]) .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end) {\n width: 100%;\n visibility: visible;\n}\n\n[dir=rtl] .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end) {\n width: 100%;\n visibility: visible;\n}\n\n@supports selector(:dir(rtl)) {\n .item-sliding-active-slide:dir(rtl).item-sliding-active-options-start ion-item-options:not(.item-options-end) {\n width: 100%;\n visibility: visible;\n }\n}\n.item-sliding-active-slide ion-item-options {\n display: flex;\n visibility: hidden;\n}\n.item-sliding-active-slide.item-sliding-active-options-start .item-options-start, .item-sliding-active-slide.item-sliding-active-options-end ion-item-options:not(.item-options-start) {\n width: 100%;\n visibility: visible;\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/**\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.item-options-ios {\n border-bottom-width: 0;\n border-bottom-style: solid;\n border-bottom-color: var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));\n}\n.item-options-ios.item-options-end {\n border-bottom-width: 0.55px;\n}\n\n.list-ios-lines-none .item-options-ios {\n border-bottom-width: 0;\n}\n\n.list-ios-lines-full .item-options-ios,\n.list-ios-lines-inset .item-options-ios.item-options-end {\n border-bottom-width: 0.55px;\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 */\nion-item-options {\n /* stylelint-disable property-disallowed-list */\n top: 0;\n right: 0;\n /* stylelint-enable property-disallowed-list */\n justify-content: flex-end;\n display: none;\n position: absolute;\n height: 100%;\n user-select: none;\n z-index: 1;\n}\n:host-context([dir=rtl]) ion-item-options {\n justify-content: flex-start;\n}\n:host-context([dir=rtl]) ion-item-options:not(.item-options-end) {\n /* stylelint-disable property-disallowed-list */\n right: auto;\n left: 0;\n /* stylelint-enable property-disallowed-list */\n justify-content: flex-end;\n}\n\n[dir=rtl] ion-item-options {\n justify-content: flex-start;\n}\n[dir=rtl] ion-item-options:not(.item-options-end) {\n /* stylelint-disable property-disallowed-list */\n right: auto;\n left: 0;\n /* stylelint-enable property-disallowed-list */\n justify-content: flex-end;\n}\n\n@supports selector(:dir(rtl)) {\n ion-item-options:dir(rtl) {\n justify-content: flex-start;\n }\n ion-item-options:dir(rtl):not(.item-options-end) {\n /* stylelint-disable property-disallowed-list */\n right: auto;\n left: 0;\n /* stylelint-enable property-disallowed-list */\n justify-content: flex-end;\n }\n}\n\n.item-options-start {\n /* stylelint-disable property-disallowed-list */\n right: auto;\n left: 0;\n /* stylelint-enable property-disallowed-list */\n justify-content: flex-start;\n}\n:host-context([dir=rtl]) .item-options-start {\n justify-content: flex-end;\n}\n\n[dir=rtl] .item-options-start {\n justify-content: flex-end;\n}\n\n@supports selector(:dir(rtl)) {\n .item-options-start:dir(rtl) {\n justify-content: flex-end;\n }\n}\n\n/* stylelint-disable property-disallowed-list */\n[dir=ltr] .item-options-start ion-item-option:first-child,\n[dir=rtl] .item-options-start ion-item-option:last-child {\n padding-left: var(--ion-safe-area-left);\n}\n\n[dir=ltr] .item-options-end ion-item-option:last-child,\n[dir=rtl] .item-options-end ion-item-option:first-child {\n padding-right: var(--ion-safe-area-right);\n}\n\n/* stylelint-enable property-disallowed-list */\n:host-context([dir=rtl]) .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end) {\n width: 100%;\n visibility: visible;\n}\n\n[dir=rtl] .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end) {\n width: 100%;\n visibility: visible;\n}\n\n@supports selector(:dir(rtl)) {\n .item-sliding-active-slide:dir(rtl).item-sliding-active-options-start ion-item-options:not(.item-options-end) {\n width: 100%;\n visibility: visible;\n }\n}\n.item-sliding-active-slide ion-item-options {\n display: flex;\n visibility: hidden;\n}\n.item-sliding-active-slide.item-sliding-active-options-start .item-options-start, .item-sliding-active-slide.item-sliding-active-options-end ion-item-options:not(.item-options-start) {\n width: 100%;\n visibility: visible;\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/**\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.item-options-md {\n border-bottom-width: 0;\n border-bottom-style: solid;\n border-bottom-color: var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));\n}\n\n.list-md-lines-none .item-options-md {\n border-bottom-width: 0;\n}\n\n.list-md-lines-full .item-options-md,\n.list-md-lines-inset .item-options-md.item-options-end {\n border-bottom-width: 1px;\n}","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { Host, h } from \"@stencil/core\";\nimport { isEndSide } from \"../../utils/helpers\";\nimport { getIonMode } from \"../../global/ionic-global\";\nexport class ItemOptions {\n constructor() {\n this.side = 'end';\n }\n /** @internal */\n async fireSwipeEvent() {\n this.ionSwipe.emit({\n side: this.side,\n });\n }\n render() {\n const mode = getIonMode(this);\n const isEnd = isEndSide(this.side);\n return (h(Host, { key: '3dca0415ec2942ac8e87a057e26bcb290a892f65', class: {\n [mode]: true,\n // Used internally for styling\n [`item-options-${mode}`]: true,\n /**\n * Note: The \"start\" and \"end\" terms refer to the\n * direction ion-item-option instances within ion-item-options flow.\n * They do not refer to how ion-item-options flows within ion-item-sliding.\n * As a result, \"item-options-start\" means the ion-item-options container\n * always appears on the left, and \"item-options-end\" means the ion-item-options\n * container always appears on the right.\n */\n 'item-options-start': !isEnd,\n 'item-options-end': isEnd,\n } }));\n }\n static get is() { return \"ion-item-options\"; }\n static get originalStyleUrls() {\n return {\n \"ios\": [\"item-options.ios.scss\"],\n \"md\": [\"item-options.md.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"ios\": [\"item-options.ios.css\"],\n \"md\": [\"item-options.md.css\"]\n };\n }\n static get properties() {\n return {\n \"side\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Side\",\n \"resolved\": \"\\\"end\\\" | \\\"start\\\"\",\n \"references\": {\n \"Side\": {\n \"location\": \"import\",\n \"path\": \"../menu/menu-interface\",\n \"id\": \"src/components/menu/menu-interface.ts::Side\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The side the option button should be on. Possible values: `\\\"start\\\"` and `\\\"end\\\"`. If you have multiple `ion-item-options`, a side must be provided for each.\"\n },\n \"attribute\": \"side\",\n \"reflect\": false,\n \"defaultValue\": \"'end'\"\n }\n };\n }\n static get events() {\n return [{\n \"method\": \"ionSwipe\",\n \"name\": \"ionSwipe\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Emitted when the item has been fully swiped.\"\n },\n \"complexType\": {\n \"original\": \"any\",\n \"resolved\": \"any\",\n \"references\": {}\n }\n }];\n }\n static get methods() {\n return {\n \"fireSwipeEvent\": {\n \"complexType\": {\n \"signature\": \"() => Promise<void>\",\n \"parameters\": [],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\",\n \"id\": \"global::Promise\"\n }\n },\n \"return\": \"Promise<void>\"\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}\n"],"mappings":"8HAAA,MAAMA,EAAoB,m1EAC1B,MAAAC,EAAeD,ECDf,MAAME,EAAmB,uxEACzB,MAAAC,EAAeD,E,MCKFE,EAAW,MACpB,WAAAC,CAAAC,G,6CACIC,KAAKC,KAAO,K,CAGhB,oBAAMC,GACFF,KAAKG,SAASC,KAAK,CACfH,KAAMD,KAAKC,M,CAGnB,MAAAI,GACI,MAAMC,EAAOC,EAAWP,MACxB,MAAMQ,EAAQC,EAAUT,KAAKC,MAC7B,OAAQS,EAAEC,EAAM,CAAEC,IAAK,2CAA4CC,MAAO,CAClEP,CAACA,GAAO,KAER,CAAC,gBAAgBA,KAAS,KAS1B,sBAAuBE,EACvB,mBAAoBA,I","ignoreList":[]}
1
+ {"version":3,"names":["itemOptionsIosCss","IonItemOptionsIosStyle0","itemOptionsMdCss","IonItemOptionsMdStyle0","ItemOptions","constructor","hostRef","this","side","fireSwipeEvent","ionSwipe","emit","render","mode","getIonMode","isEnd","isEndSide","h","Host","key","class"],"sources":["../node_modules/@ionic/core/dist/collection/components/item-options/item-options.ios.css?tag=ion-item-options&mode=ios","../node_modules/@ionic/core/dist/collection/components/item-options/item-options.md.css?tag=ion-item-options&mode=md","../node_modules/@ionic/core/dist/collection/components/item-options/item-options.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 */\nion-item-options {\n /* stylelint-disable property-disallowed-list */\n top: 0;\n right: 0;\n /* stylelint-enable property-disallowed-list */\n justify-content: flex-end;\n display: none;\n position: absolute;\n height: 100%;\n user-select: none;\n z-index: 1;\n}\n:host-context([dir=rtl]) ion-item-options {\n justify-content: flex-start;\n}\n:host-context([dir=rtl]) ion-item-options:not(.item-options-end) {\n /* stylelint-disable property-disallowed-list */\n right: auto;\n left: 0;\n /* stylelint-enable property-disallowed-list */\n justify-content: flex-end;\n}\n\n[dir=rtl] ion-item-options {\n justify-content: flex-start;\n}\n[dir=rtl] ion-item-options:not(.item-options-end) {\n /* stylelint-disable property-disallowed-list */\n right: auto;\n left: 0;\n /* stylelint-enable property-disallowed-list */\n justify-content: flex-end;\n}\n\n@supports selector(:dir(rtl)) {\n ion-item-options:dir(rtl) {\n justify-content: flex-start;\n }\n ion-item-options:dir(rtl):not(.item-options-end) {\n /* stylelint-disable property-disallowed-list */\n right: auto;\n left: 0;\n /* stylelint-enable property-disallowed-list */\n justify-content: flex-end;\n }\n}\n\n.item-options-start {\n /* stylelint-disable property-disallowed-list */\n right: auto;\n left: 0;\n /* stylelint-enable property-disallowed-list */\n justify-content: flex-start;\n}\n:host-context([dir=rtl]) .item-options-start {\n justify-content: flex-end;\n}\n\n[dir=rtl] .item-options-start {\n justify-content: flex-end;\n}\n\n@supports selector(:dir(rtl)) {\n .item-options-start:dir(rtl) {\n justify-content: flex-end;\n }\n}\n\n/* stylelint-disable property-disallowed-list */\n[dir=ltr] .item-options-start ion-item-option:first-child,\n[dir=rtl] .item-options-start ion-item-option:last-child {\n padding-left: var(--ion-safe-area-left);\n}\n\n[dir=ltr] .item-options-end ion-item-option:last-child,\n[dir=rtl] .item-options-end ion-item-option:first-child {\n padding-right: var(--ion-safe-area-right);\n}\n\n/* stylelint-enable property-disallowed-list */\n:host-context([dir=rtl]) .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end) {\n width: 100%;\n visibility: visible;\n}\n\n[dir=rtl] .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end) {\n width: 100%;\n visibility: visible;\n}\n\n@supports selector(:dir(rtl)) {\n .item-sliding-active-slide:dir(rtl).item-sliding-active-options-start ion-item-options:not(.item-options-end) {\n width: 100%;\n visibility: visible;\n }\n}\n.item-sliding-active-slide ion-item-options {\n display: flex;\n visibility: hidden;\n}\n.item-sliding-active-slide.item-sliding-active-options-start .item-options-start, .item-sliding-active-slide.item-sliding-active-options-end ion-item-options:not(.item-options-start) {\n width: 100%;\n visibility: visible;\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/**\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.item-options-ios {\n border-bottom-width: 0;\n border-bottom-style: solid;\n border-bottom-color: var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));\n}\n.item-options-ios.item-options-end {\n border-bottom-width: 0.55px;\n}\n\n.list-ios-lines-none .item-options-ios {\n border-bottom-width: 0;\n}\n\n.list-ios-lines-full .item-options-ios,\n.list-ios-lines-inset .item-options-ios.item-options-end {\n border-bottom-width: 0.55px;\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 */\nion-item-options {\n /* stylelint-disable property-disallowed-list */\n top: 0;\n right: 0;\n /* stylelint-enable property-disallowed-list */\n justify-content: flex-end;\n display: none;\n position: absolute;\n height: 100%;\n user-select: none;\n z-index: 1;\n}\n:host-context([dir=rtl]) ion-item-options {\n justify-content: flex-start;\n}\n:host-context([dir=rtl]) ion-item-options:not(.item-options-end) {\n /* stylelint-disable property-disallowed-list */\n right: auto;\n left: 0;\n /* stylelint-enable property-disallowed-list */\n justify-content: flex-end;\n}\n\n[dir=rtl] ion-item-options {\n justify-content: flex-start;\n}\n[dir=rtl] ion-item-options:not(.item-options-end) {\n /* stylelint-disable property-disallowed-list */\n right: auto;\n left: 0;\n /* stylelint-enable property-disallowed-list */\n justify-content: flex-end;\n}\n\n@supports selector(:dir(rtl)) {\n ion-item-options:dir(rtl) {\n justify-content: flex-start;\n }\n ion-item-options:dir(rtl):not(.item-options-end) {\n /* stylelint-disable property-disallowed-list */\n right: auto;\n left: 0;\n /* stylelint-enable property-disallowed-list */\n justify-content: flex-end;\n }\n}\n\n.item-options-start {\n /* stylelint-disable property-disallowed-list */\n right: auto;\n left: 0;\n /* stylelint-enable property-disallowed-list */\n justify-content: flex-start;\n}\n:host-context([dir=rtl]) .item-options-start {\n justify-content: flex-end;\n}\n\n[dir=rtl] .item-options-start {\n justify-content: flex-end;\n}\n\n@supports selector(:dir(rtl)) {\n .item-options-start:dir(rtl) {\n justify-content: flex-end;\n }\n}\n\n/* stylelint-disable property-disallowed-list */\n[dir=ltr] .item-options-start ion-item-option:first-child,\n[dir=rtl] .item-options-start ion-item-option:last-child {\n padding-left: var(--ion-safe-area-left);\n}\n\n[dir=ltr] .item-options-end ion-item-option:last-child,\n[dir=rtl] .item-options-end ion-item-option:first-child {\n padding-right: var(--ion-safe-area-right);\n}\n\n/* stylelint-enable property-disallowed-list */\n:host-context([dir=rtl]) .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end) {\n width: 100%;\n visibility: visible;\n}\n\n[dir=rtl] .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end) {\n width: 100%;\n visibility: visible;\n}\n\n@supports selector(:dir(rtl)) {\n .item-sliding-active-slide:dir(rtl).item-sliding-active-options-start ion-item-options:not(.item-options-end) {\n width: 100%;\n visibility: visible;\n }\n}\n.item-sliding-active-slide ion-item-options {\n display: flex;\n visibility: hidden;\n}\n.item-sliding-active-slide.item-sliding-active-options-start .item-options-start, .item-sliding-active-slide.item-sliding-active-options-end ion-item-options:not(.item-options-start) {\n width: 100%;\n visibility: visible;\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/**\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.item-options-md {\n border-bottom-width: 0;\n border-bottom-style: solid;\n border-bottom-color: var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));\n}\n\n.list-md-lines-none .item-options-md {\n border-bottom-width: 0;\n}\n\n.list-md-lines-full .item-options-md,\n.list-md-lines-inset .item-options-md.item-options-end {\n border-bottom-width: 1px;\n}","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { Host, h } from \"@stencil/core\";\nimport { isEndSide } from \"../../utils/helpers\";\nimport { getIonMode } from \"../../global/ionic-global\";\nexport class ItemOptions {\n constructor() {\n this.side = 'end';\n }\n /** @internal */\n async fireSwipeEvent() {\n this.ionSwipe.emit({\n side: this.side,\n });\n }\n render() {\n const mode = getIonMode(this);\n const isEnd = isEndSide(this.side);\n return (h(Host, { key: '3dca0415ec2942ac8e87a057e26bcb290a892f65', class: {\n [mode]: true,\n // Used internally for styling\n [`item-options-${mode}`]: true,\n /**\n * Note: The \"start\" and \"end\" terms refer to the\n * direction ion-item-option instances within ion-item-options flow.\n * They do not refer to how ion-item-options flows within ion-item-sliding.\n * As a result, \"item-options-start\" means the ion-item-options container\n * always appears on the left, and \"item-options-end\" means the ion-item-options\n * container always appears on the right.\n */\n 'item-options-start': !isEnd,\n 'item-options-end': isEnd,\n } }));\n }\n static get is() { return \"ion-item-options\"; }\n static get originalStyleUrls() {\n return {\n \"ios\": [\"item-options.ios.scss\"],\n \"md\": [\"item-options.md.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"ios\": [\"item-options.ios.css\"],\n \"md\": [\"item-options.md.css\"]\n };\n }\n static get properties() {\n return {\n \"side\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Side\",\n \"resolved\": \"\\\"end\\\" | \\\"start\\\"\",\n \"references\": {\n \"Side\": {\n \"location\": \"import\",\n \"path\": \"../menu/menu-interface\",\n \"id\": \"src/components/menu/menu-interface.ts::Side\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The side the option button should be on. Possible values: `\\\"start\\\"` and `\\\"end\\\"`. If you have multiple `ion-item-options`, a side must be provided for each.\"\n },\n \"attribute\": \"side\",\n \"reflect\": false,\n \"defaultValue\": \"'end'\"\n }\n };\n }\n static get events() {\n return [{\n \"method\": \"ionSwipe\",\n \"name\": \"ionSwipe\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Emitted when the item has been fully swiped.\"\n },\n \"complexType\": {\n \"original\": \"any\",\n \"resolved\": \"any\",\n \"references\": {}\n }\n }];\n }\n static get methods() {\n return {\n \"fireSwipeEvent\": {\n \"complexType\": {\n \"signature\": \"() => Promise<void>\",\n \"parameters\": [],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\",\n \"id\": \"global::Promise\"\n }\n },\n \"return\": \"Promise<void>\"\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}\n"],"mappings":"mIAAA,MAAMA,EAAoB,m1EAC1B,MAAAC,EAAeD,ECDf,MAAME,EAAmB,uxEACzB,MAAAC,EAAeD,E,MCKFE,EAAW,MACpB,WAAAC,CAAAC,G,6CACIC,KAAKC,KAAO,K,CAGhB,oBAAMC,GACFF,KAAKG,SAASC,KAAK,CACfH,KAAMD,KAAKC,M,CAGnB,MAAAI,GACI,MAAMC,EAAOC,EAAWP,MACxB,MAAMQ,EAAQC,EAAUT,KAAKC,MAC7B,OAAQS,EAAEC,EAAM,CAAEC,IAAK,2CAA4CC,MAAO,CAClEP,CAACA,GAAO,KAER,CAAC,gBAAgBA,KAAS,KAS1B,sBAAuBE,EACvB,mBAAoBA,I","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as t,h as n,H as i,d as e}from"./p-ad32e711.js";import{c as o}from"./p-669fab6c.js";import{g as r}from"./p-17cb620a.js";const a=":host{--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff);background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}.button-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;-webkit-padding-start:0.7em;padding-inline-start:0.7em;-webkit-padding-end:0.7em;padding-inline-end:0.7em;padding-top:0;padding-bottom:0;display:inline-block;position:relative;width:100%;height:100%;border:0;outline:none;background:transparent;cursor:pointer;appearance:none;box-sizing:border-box}.button-inner{display:flex;flex-flow:column nowrap;flex-shrink:0;align-items:center;justify-content:center;width:100%;height:100%}.horizontal-wrapper{display:flex;flex-flow:row nowrap;flex-shrink:0;align-items:center;justify-content:center;width:100%}::slotted(*){flex-shrink:0}::slotted([slot=start]){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:5px;margin-inline-end:5px;margin-top:0;margin-bottom:0}::slotted([slot=end]){-webkit-margin-start:5px;margin-inline-start:5px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}::slotted([slot=icon-only]){padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px;margin-top:0;margin-bottom:0;min-width:0.9em;font-size:1.8em}:host(.item-option-expandable){flex-shrink:0;transition-duration:0;transition-property:none;transition-timing-function:cubic-bezier(0.65, 0.05, 0.36, 1)}:host(.item-option-disabled){pointer-events:none}:host(.item-option-disabled) .button-native{cursor:default;opacity:0.5;pointer-events:none}:host{font-size:clamp(16px, 1rem, 35.2px)}:host(.ion-activated){background:var(--ion-color-primary-shade, #3171e0)}:host(.ion-color.ion-activated){background:var(--ion-color-shade)}";const s=a;const d=":host{--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff);background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}.button-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;-webkit-padding-start:0.7em;padding-inline-start:0.7em;-webkit-padding-end:0.7em;padding-inline-end:0.7em;padding-top:0;padding-bottom:0;display:inline-block;position:relative;width:100%;height:100%;border:0;outline:none;background:transparent;cursor:pointer;appearance:none;box-sizing:border-box}.button-inner{display:flex;flex-flow:column nowrap;flex-shrink:0;align-items:center;justify-content:center;width:100%;height:100%}.horizontal-wrapper{display:flex;flex-flow:row nowrap;flex-shrink:0;align-items:center;justify-content:center;width:100%}::slotted(*){flex-shrink:0}::slotted([slot=start]){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:5px;margin-inline-end:5px;margin-top:0;margin-bottom:0}::slotted([slot=end]){-webkit-margin-start:5px;margin-inline-start:5px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}::slotted([slot=icon-only]){padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px;margin-top:0;margin-bottom:0;min-width:0.9em;font-size:1.8em}:host(.item-option-expandable){flex-shrink:0;transition-duration:0;transition-property:none;transition-timing-function:cubic-bezier(0.65, 0.05, 0.36, 1)}:host(.item-option-disabled){pointer-events:none}:host(.item-option-disabled) .button-native{cursor:default;opacity:0.5;pointer-events:none}:host{font-size:0.875rem;font-weight:500;text-transform:uppercase}";const l=d;const c=class{constructor(n){t(this,n);this.onClick=t=>{const n=t.target.closest("ion-item-option");if(n){t.preventDefault()}};this.color=undefined;this.disabled=false;this.download=undefined;this.expandable=false;this.href=undefined;this.rel=undefined;this.target=undefined;this.type="button"}render(){const{disabled:t,expandable:e,href:a}=this;const s=a===undefined?"button":"a";const d=r(this);const l=s==="button"?{type:this.type}:{download:this.download,href:this.href,target:this.target};return n(i,{key:"763c3a7571b143d1068d85103ccab403bc48abae",onClick:this.onClick,class:o(this.color,{[d]:true,"item-option-disabled":t,"item-option-expandable":e,"ion-activatable":true})},n(s,Object.assign({key:"cb199c2ccd38abaad3460f184af3093bf08546cc"},l,{class:"button-native",part:"native",disabled:t}),n("span",{key:"f3ce9f1d343890c6f55f2609127f1e5113a2eedf",class:"button-inner"},n("slot",{key:"cd9434883c0bdb4129fb6f49970d49710653a09a",name:"top"}),n("div",{key:"764529c5f4b3d82105ce55885e8f121a91e8bc4a",class:"horizontal-wrapper"},n("slot",{key:"5bbd7b9ed9f35c8bf422c3134a1a097e174ad6df",name:"start"}),n("slot",{key:"1e70a781cdf4ffcefb1dea70abe43655d7857c4b",name:"icon-only"}),n("slot",{key:"c3205e9b1577a56786c10a8b5b420010b5fe53fc"}),n("slot",{key:"6bae6c98cd8d8526a203af47ca8e83753e1e1cb6",name:"end"})),n("slot",{key:"466cc32cdf9cbbdbb58e4b29144215cf2984c0d6",name:"bottom"})),d==="md"&&n("ion-ripple-effect",{key:"b5c54b801008b307ca8f718a41101be3e8d1d938"})))}get el(){return e(this)}};c.style={ios:s,md:l};export{c as ion_item_option};
2
+ //# sourceMappingURL=p-2e13f1ea.entry.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["itemOptionIosCss","IonItemOptionIosStyle0","itemOptionMdCss","IonItemOptionMdStyle0","ItemOption","constructor","hostRef","this","onClick","ev","el","target","closest","preventDefault","color","undefined","disabled","download","expandable","href","rel","type","render","TagType","mode","getIonMode","attrs","h","Host","key","class","createColorClasses","Object","assign","part","name"],"sources":["../node_modules/@ionic/core/dist/collection/components/item-option/item-option.ios.css?tag=ion-item-option&mode=ios&encapsulation=shadow","../node_modules/@ionic/core/dist/collection/components/item-option/item-option.md.css?tag=ion-item-option&mode=md&encapsulation=shadow","../node_modules/@ionic/core/dist/collection/components/item-option/item-option.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 /**\n * @prop --background: Background of the item option\n * @prop --color: Color of the item option\n */\n --background: var(--ion-color-primary, #3880ff);\n --color: var(--ion-color-primary-contrast, #fff);\n background: var(--background);\n color: var(--color);\n font-family: var(--ion-font-family, inherit);\n}\n\n:host(.ion-color) {\n background: var(--ion-color-base);\n color: var(--ion-color-contrast);\n}\n\n.button-native {\n font-family: inherit;\n font-size: inherit;\n font-style: inherit;\n font-weight: inherit;\n letter-spacing: inherit;\n text-decoration: inherit;\n text-indent: inherit;\n text-overflow: inherit;\n text-transform: inherit;\n text-align: inherit;\n white-space: inherit;\n color: inherit;\n -webkit-padding-start: 0.7em;\n padding-inline-start: 0.7em;\n -webkit-padding-end: 0.7em;\n padding-inline-end: 0.7em;\n padding-top: 0;\n padding-bottom: 0;\n display: inline-block;\n position: relative;\n width: 100%;\n height: 100%;\n border: 0;\n outline: none;\n background: transparent;\n cursor: pointer;\n appearance: none;\n box-sizing: border-box;\n}\n\n.button-inner {\n display: flex;\n flex-flow: column nowrap;\n flex-shrink: 0;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n}\n\n.horizontal-wrapper {\n display: flex;\n flex-flow: row nowrap;\n flex-shrink: 0;\n align-items: center;\n justify-content: center;\n width: 100%;\n}\n\n::slotted(*) {\n flex-shrink: 0;\n}\n\n::slotted([slot=start]) {\n -webkit-margin-start: 0;\n margin-inline-start: 0;\n -webkit-margin-end: 5px;\n margin-inline-end: 5px;\n margin-top: 0;\n margin-bottom: 0;\n}\n\n::slotted([slot=end]) {\n -webkit-margin-start: 5px;\n margin-inline-start: 5px;\n -webkit-margin-end: 0;\n margin-inline-end: 0;\n margin-top: 0;\n margin-bottom: 0;\n}\n\n::slotted([slot=icon-only]) {\n padding-left: 0;\n padding-right: 0;\n padding-top: 0;\n padding-bottom: 0;\n -webkit-margin-start: 10px;\n margin-inline-start: 10px;\n -webkit-margin-end: 10px;\n margin-inline-end: 10px;\n margin-top: 0;\n margin-bottom: 0;\n min-width: 0.9em;\n font-size: 1.8em;\n}\n\n:host(.item-option-expandable) {\n flex-shrink: 0;\n transition-duration: 0;\n transition-property: none;\n transition-timing-function: cubic-bezier(0.65, 0.05, 0.36, 1);\n}\n\n:host(.item-option-disabled) {\n pointer-events: none;\n}\n\n:host(.item-option-disabled) .button-native {\n cursor: default;\n opacity: 0.5;\n pointer-events: 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 font-size: clamp(16px, 1rem, 35.2px);\n}\n\n:host(.ion-activated) {\n background: var(--ion-color-primary-shade, #3171e0);\n}\n\n:host(.ion-color.ion-activated) {\n background: var(--ion-color-shade);\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 item option\n * @prop --color: Color of the item option\n */\n --background: var(--ion-color-primary, #3880ff);\n --color: var(--ion-color-primary-contrast, #fff);\n background: var(--background);\n color: var(--color);\n font-family: var(--ion-font-family, inherit);\n}\n\n:host(.ion-color) {\n background: var(--ion-color-base);\n color: var(--ion-color-contrast);\n}\n\n.button-native {\n font-family: inherit;\n font-size: inherit;\n font-style: inherit;\n font-weight: inherit;\n letter-spacing: inherit;\n text-decoration: inherit;\n text-indent: inherit;\n text-overflow: inherit;\n text-transform: inherit;\n text-align: inherit;\n white-space: inherit;\n color: inherit;\n -webkit-padding-start: 0.7em;\n padding-inline-start: 0.7em;\n -webkit-padding-end: 0.7em;\n padding-inline-end: 0.7em;\n padding-top: 0;\n padding-bottom: 0;\n display: inline-block;\n position: relative;\n width: 100%;\n height: 100%;\n border: 0;\n outline: none;\n background: transparent;\n cursor: pointer;\n appearance: none;\n box-sizing: border-box;\n}\n\n.button-inner {\n display: flex;\n flex-flow: column nowrap;\n flex-shrink: 0;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n}\n\n.horizontal-wrapper {\n display: flex;\n flex-flow: row nowrap;\n flex-shrink: 0;\n align-items: center;\n justify-content: center;\n width: 100%;\n}\n\n::slotted(*) {\n flex-shrink: 0;\n}\n\n::slotted([slot=start]) {\n -webkit-margin-start: 0;\n margin-inline-start: 0;\n -webkit-margin-end: 5px;\n margin-inline-end: 5px;\n margin-top: 0;\n margin-bottom: 0;\n}\n\n::slotted([slot=end]) {\n -webkit-margin-start: 5px;\n margin-inline-start: 5px;\n -webkit-margin-end: 0;\n margin-inline-end: 0;\n margin-top: 0;\n margin-bottom: 0;\n}\n\n::slotted([slot=icon-only]) {\n padding-left: 0;\n padding-right: 0;\n padding-top: 0;\n padding-bottom: 0;\n -webkit-margin-start: 10px;\n margin-inline-start: 10px;\n -webkit-margin-end: 10px;\n margin-inline-end: 10px;\n margin-top: 0;\n margin-bottom: 0;\n min-width: 0.9em;\n font-size: 1.8em;\n}\n\n:host(.item-option-expandable) {\n flex-shrink: 0;\n transition-duration: 0;\n transition-property: none;\n transition-timing-function: cubic-bezier(0.65, 0.05, 0.36, 1);\n}\n\n:host(.item-option-disabled) {\n pointer-events: none;\n}\n\n:host(.item-option-disabled) .button-native {\n cursor: default;\n opacity: 0.5;\n pointer-events: 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 font-size: 0.875rem;\n font-weight: 500;\n text-transform: uppercase;\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 *\n * @slot - Content is placed between the named slots if provided without a slot.\n * @slot start - Content is placed to the left of the option text in LTR, and to the right in RTL.\n * @slot top - Content is placed above the option text.\n * @slot icon-only - Should be used on an icon in an option that has no text.\n * @slot bottom - Content is placed below the option text.\n * @slot end - Content is placed to the right of the option text in LTR, and to the left in RTL.\n *\n * @part native - The native HTML button or anchor element that wraps all child elements.\n */\nexport class ItemOption {\n constructor() {\n this.onClick = (ev) => {\n const el = ev.target.closest('ion-item-option');\n if (el) {\n ev.preventDefault();\n }\n };\n this.color = undefined;\n this.disabled = false;\n this.download = undefined;\n this.expandable = false;\n this.href = undefined;\n this.rel = undefined;\n this.target = undefined;\n this.type = 'button';\n }\n render() {\n const { disabled, expandable, href } = this;\n const TagType = href === undefined ? 'button' : 'a';\n const mode = getIonMode(this);\n const attrs = TagType === 'button'\n ? { type: this.type }\n : {\n download: this.download,\n href: this.href,\n target: this.target,\n };\n return (h(Host, { key: '763c3a7571b143d1068d85103ccab403bc48abae', onClick: this.onClick, class: createColorClasses(this.color, {\n [mode]: true,\n 'item-option-disabled': disabled,\n 'item-option-expandable': expandable,\n 'ion-activatable': true,\n }) }, h(TagType, Object.assign({ key: 'cb199c2ccd38abaad3460f184af3093bf08546cc' }, attrs, { class: \"button-native\", part: \"native\", disabled: disabled }), h(\"span\", { key: 'f3ce9f1d343890c6f55f2609127f1e5113a2eedf', class: \"button-inner\" }, h(\"slot\", { key: 'cd9434883c0bdb4129fb6f49970d49710653a09a', name: \"top\" }), h(\"div\", { key: '764529c5f4b3d82105ce55885e8f121a91e8bc4a', class: \"horizontal-wrapper\" }, h(\"slot\", { key: '5bbd7b9ed9f35c8bf422c3134a1a097e174ad6df', name: \"start\" }), h(\"slot\", { key: '1e70a781cdf4ffcefb1dea70abe43655d7857c4b', name: \"icon-only\" }), h(\"slot\", { key: 'c3205e9b1577a56786c10a8b5b420010b5fe53fc' }), h(\"slot\", { key: '6bae6c98cd8d8526a203af47ca8e83753e1e1cb6', name: \"end\" })), h(\"slot\", { key: '466cc32cdf9cbbdbb58e4b29144215cf2984c0d6', name: \"bottom\" })), mode === 'md' && h(\"ion-ripple-effect\", { key: 'b5c54b801008b307ca8f718a41101be3e8d1d938' }))));\n }\n static get is() { return \"ion-item-option\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"ios\": [\"item-option.ios.scss\"],\n \"md\": [\"item-option.md.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"ios\": [\"item-option.ios.css\"],\n \"md\": [\"item-option.md.css\"]\n };\n }\n static get properties() {\n return {\n \"color\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Color\",\n \"resolved\": \"\\\"danger\\\" | \\\"dark\\\" | \\\"light\\\" | \\\"medium\\\" | \\\"primary\\\" | \\\"secondary\\\" | \\\"success\\\" | \\\"tertiary\\\" | \\\"warning\\\" | string & Record<never, never> | undefined\",\n \"references\": {\n \"Color\": {\n \"location\": \"import\",\n \"path\": \"../../interface\",\n \"id\": \"src/interface.d.ts::Color\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The color to use from your application's color palette.\\nDefault options are: `\\\"primary\\\"`, `\\\"secondary\\\"`, `\\\"tertiary\\\"`, `\\\"success\\\"`, `\\\"warning\\\"`, `\\\"danger\\\"`, `\\\"light\\\"`, `\\\"medium\\\"`, and `\\\"dark\\\"`.\\nFor more information on colors, see [theming](/docs/theming/basics).\"\n },\n \"attribute\": \"color\",\n \"reflect\": true\n },\n \"disabled\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the user cannot interact with the item option.\"\n },\n \"attribute\": \"disabled\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"download\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string | undefined\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"This attribute instructs browsers to download a URL instead of navigating to\\nit, so the user will be prompted to save it as a local file. If the attribute\\nhas a value, it is used as the pre-filled file name in the Save prompt\\n(the user can still change the file name if they want).\"\n },\n \"attribute\": \"download\",\n \"reflect\": false\n },\n \"expandable\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the option will expand to take up the available width and cover any other options.\"\n },\n \"attribute\": \"expandable\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"href\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string | undefined\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Contains a URL or a URL fragment that the hyperlink points to.\\nIf this property is set, an anchor tag will be rendered.\"\n },\n \"attribute\": \"href\",\n \"reflect\": false\n },\n \"rel\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string | undefined\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the relationship of the target object to the link object.\\nThe value is a space-separated list of [link types](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types).\"\n },\n \"attribute\": \"rel\",\n \"reflect\": false\n },\n \"target\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string | undefined\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies where to display the linked URL.\\nOnly applies when an `href` is provided.\\nSpecial keywords: `\\\"_blank\\\"`, `\\\"_self\\\"`, `\\\"_parent\\\"`, `\\\"_top\\\"`.\"\n },\n \"attribute\": \"target\",\n \"reflect\": false\n },\n \"type\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"'submit' | 'reset' | 'button'\",\n \"resolved\": \"\\\"button\\\" | \\\"reset\\\" | \\\"submit\\\"\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The type of the button.\"\n },\n \"attribute\": \"type\",\n \"reflect\": false,\n \"defaultValue\": \"'button'\"\n }\n };\n }\n static get elementRef() { return \"el\"; }\n}\n"],"mappings":"4HAAA,MAAMA,EAAmB,skEACzB,MAAAC,EAAeD,ECDf,MAAME,EAAkB,m9DACxB,MAAAC,EAAeD,E,MCiBFE,EAAU,MACnB,WAAAC,CAAAC,G,UACIC,KAAKC,QAAWC,IACZ,MAAMC,EAAKD,EAAGE,OAAOC,QAAQ,mBAC7B,GAAIF,EAAI,CACJD,EAAGI,gB,GAGXN,KAAKO,MAAQC,UACbR,KAAKS,SAAW,MAChBT,KAAKU,SAAWF,UAChBR,KAAKW,WAAa,MAClBX,KAAKY,KAAOJ,UACZR,KAAKa,IAAML,UACXR,KAAKI,OAASI,UACdR,KAAKc,KAAO,Q,CAEhB,MAAAC,GACI,MAAMN,SAAEA,EAAQE,WAAEA,EAAUC,KAAEA,GAASZ,KACvC,MAAMgB,EAAUJ,IAASJ,UAAY,SAAW,IAChD,MAAMS,EAAOC,EAAWlB,MACxB,MAAMmB,EAAQH,IAAY,SACpB,CAAEF,KAAMd,KAAKc,MACb,CACEJ,SAAUV,KAAKU,SACfE,KAAMZ,KAAKY,KACXR,OAAQJ,KAAKI,QAErB,OAAQgB,EAAEC,EAAM,CAAEC,IAAK,2CAA4CrB,QAASD,KAAKC,QAASsB,MAAOC,EAAmBxB,KAAKO,MAAO,CACxHU,CAACA,GAAO,KACR,uBAAwBR,EACxB,yBAA0BE,EAC1B,kBAAmB,QACjBS,EAAEJ,EAASS,OAAOC,OAAO,CAAEJ,IAAK,4CAA8CH,EAAO,CAAEI,MAAO,gBAAiBI,KAAM,SAAUlB,SAAUA,IAAaW,EAAE,OAAQ,CAAEE,IAAK,2CAA4CC,MAAO,gBAAkBH,EAAE,OAAQ,CAAEE,IAAK,2CAA4CM,KAAM,QAAUR,EAAE,MAAO,CAAEE,IAAK,2CAA4CC,MAAO,sBAAwBH,EAAE,OAAQ,CAAEE,IAAK,2CAA4CM,KAAM,UAAYR,EAAE,OAAQ,CAAEE,IAAK,2CAA4CM,KAAM,cAAgBR,EAAE,OAAQ,CAAEE,IAAK,6CAA+CF,EAAE,OAAQ,CAAEE,IAAK,2CAA4CM,KAAM,SAAWR,EAAE,OAAQ,CAAEE,IAAK,2CAA4CM,KAAM,YAAcX,IAAS,MAAQG,EAAE,oBAAqB,CAAEE,IAAK,8C","ignoreList":[]}
1
+ {"version":3,"names":["itemOptionIosCss","IonItemOptionIosStyle0","itemOptionMdCss","IonItemOptionMdStyle0","ItemOption","constructor","hostRef","this","onClick","ev","el","target","closest","preventDefault","color","undefined","disabled","download","expandable","href","rel","type","render","TagType","mode","getIonMode","attrs","h","Host","key","class","createColorClasses","Object","assign","part","name"],"sources":["../node_modules/@ionic/core/dist/collection/components/item-option/item-option.ios.css?tag=ion-item-option&mode=ios&encapsulation=shadow","../node_modules/@ionic/core/dist/collection/components/item-option/item-option.md.css?tag=ion-item-option&mode=md&encapsulation=shadow","../node_modules/@ionic/core/dist/collection/components/item-option/item-option.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 /**\n * @prop --background: Background of the item option\n * @prop --color: Color of the item option\n */\n --background: var(--ion-color-primary, #3880ff);\n --color: var(--ion-color-primary-contrast, #fff);\n background: var(--background);\n color: var(--color);\n font-family: var(--ion-font-family, inherit);\n}\n\n:host(.ion-color) {\n background: var(--ion-color-base);\n color: var(--ion-color-contrast);\n}\n\n.button-native {\n font-family: inherit;\n font-size: inherit;\n font-style: inherit;\n font-weight: inherit;\n letter-spacing: inherit;\n text-decoration: inherit;\n text-indent: inherit;\n text-overflow: inherit;\n text-transform: inherit;\n text-align: inherit;\n white-space: inherit;\n color: inherit;\n -webkit-padding-start: 0.7em;\n padding-inline-start: 0.7em;\n -webkit-padding-end: 0.7em;\n padding-inline-end: 0.7em;\n padding-top: 0;\n padding-bottom: 0;\n display: inline-block;\n position: relative;\n width: 100%;\n height: 100%;\n border: 0;\n outline: none;\n background: transparent;\n cursor: pointer;\n appearance: none;\n box-sizing: border-box;\n}\n\n.button-inner {\n display: flex;\n flex-flow: column nowrap;\n flex-shrink: 0;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n}\n\n.horizontal-wrapper {\n display: flex;\n flex-flow: row nowrap;\n flex-shrink: 0;\n align-items: center;\n justify-content: center;\n width: 100%;\n}\n\n::slotted(*) {\n flex-shrink: 0;\n}\n\n::slotted([slot=start]) {\n -webkit-margin-start: 0;\n margin-inline-start: 0;\n -webkit-margin-end: 5px;\n margin-inline-end: 5px;\n margin-top: 0;\n margin-bottom: 0;\n}\n\n::slotted([slot=end]) {\n -webkit-margin-start: 5px;\n margin-inline-start: 5px;\n -webkit-margin-end: 0;\n margin-inline-end: 0;\n margin-top: 0;\n margin-bottom: 0;\n}\n\n::slotted([slot=icon-only]) {\n padding-left: 0;\n padding-right: 0;\n padding-top: 0;\n padding-bottom: 0;\n -webkit-margin-start: 10px;\n margin-inline-start: 10px;\n -webkit-margin-end: 10px;\n margin-inline-end: 10px;\n margin-top: 0;\n margin-bottom: 0;\n min-width: 0.9em;\n font-size: 1.8em;\n}\n\n:host(.item-option-expandable) {\n flex-shrink: 0;\n transition-duration: 0;\n transition-property: none;\n transition-timing-function: cubic-bezier(0.65, 0.05, 0.36, 1);\n}\n\n:host(.item-option-disabled) {\n pointer-events: none;\n}\n\n:host(.item-option-disabled) .button-native {\n cursor: default;\n opacity: 0.5;\n pointer-events: 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 font-size: clamp(16px, 1rem, 35.2px);\n}\n\n:host(.ion-activated) {\n background: var(--ion-color-primary-shade, #3171e0);\n}\n\n:host(.ion-color.ion-activated) {\n background: var(--ion-color-shade);\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 item option\n * @prop --color: Color of the item option\n */\n --background: var(--ion-color-primary, #3880ff);\n --color: var(--ion-color-primary-contrast, #fff);\n background: var(--background);\n color: var(--color);\n font-family: var(--ion-font-family, inherit);\n}\n\n:host(.ion-color) {\n background: var(--ion-color-base);\n color: var(--ion-color-contrast);\n}\n\n.button-native {\n font-family: inherit;\n font-size: inherit;\n font-style: inherit;\n font-weight: inherit;\n letter-spacing: inherit;\n text-decoration: inherit;\n text-indent: inherit;\n text-overflow: inherit;\n text-transform: inherit;\n text-align: inherit;\n white-space: inherit;\n color: inherit;\n -webkit-padding-start: 0.7em;\n padding-inline-start: 0.7em;\n -webkit-padding-end: 0.7em;\n padding-inline-end: 0.7em;\n padding-top: 0;\n padding-bottom: 0;\n display: inline-block;\n position: relative;\n width: 100%;\n height: 100%;\n border: 0;\n outline: none;\n background: transparent;\n cursor: pointer;\n appearance: none;\n box-sizing: border-box;\n}\n\n.button-inner {\n display: flex;\n flex-flow: column nowrap;\n flex-shrink: 0;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n}\n\n.horizontal-wrapper {\n display: flex;\n flex-flow: row nowrap;\n flex-shrink: 0;\n align-items: center;\n justify-content: center;\n width: 100%;\n}\n\n::slotted(*) {\n flex-shrink: 0;\n}\n\n::slotted([slot=start]) {\n -webkit-margin-start: 0;\n margin-inline-start: 0;\n -webkit-margin-end: 5px;\n margin-inline-end: 5px;\n margin-top: 0;\n margin-bottom: 0;\n}\n\n::slotted([slot=end]) {\n -webkit-margin-start: 5px;\n margin-inline-start: 5px;\n -webkit-margin-end: 0;\n margin-inline-end: 0;\n margin-top: 0;\n margin-bottom: 0;\n}\n\n::slotted([slot=icon-only]) {\n padding-left: 0;\n padding-right: 0;\n padding-top: 0;\n padding-bottom: 0;\n -webkit-margin-start: 10px;\n margin-inline-start: 10px;\n -webkit-margin-end: 10px;\n margin-inline-end: 10px;\n margin-top: 0;\n margin-bottom: 0;\n min-width: 0.9em;\n font-size: 1.8em;\n}\n\n:host(.item-option-expandable) {\n flex-shrink: 0;\n transition-duration: 0;\n transition-property: none;\n transition-timing-function: cubic-bezier(0.65, 0.05, 0.36, 1);\n}\n\n:host(.item-option-disabled) {\n pointer-events: none;\n}\n\n:host(.item-option-disabled) .button-native {\n cursor: default;\n opacity: 0.5;\n pointer-events: 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 font-size: 0.875rem;\n font-weight: 500;\n text-transform: uppercase;\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 *\n * @slot - Content is placed between the named slots if provided without a slot.\n * @slot start - Content is placed to the left of the option text in LTR, and to the right in RTL.\n * @slot top - Content is placed above the option text.\n * @slot icon-only - Should be used on an icon in an option that has no text.\n * @slot bottom - Content is placed below the option text.\n * @slot end - Content is placed to the right of the option text in LTR, and to the left in RTL.\n *\n * @part native - The native HTML button or anchor element that wraps all child elements.\n */\nexport class ItemOption {\n constructor() {\n this.onClick = (ev) => {\n const el = ev.target.closest('ion-item-option');\n if (el) {\n ev.preventDefault();\n }\n };\n this.color = undefined;\n this.disabled = false;\n this.download = undefined;\n this.expandable = false;\n this.href = undefined;\n this.rel = undefined;\n this.target = undefined;\n this.type = 'button';\n }\n render() {\n const { disabled, expandable, href } = this;\n const TagType = href === undefined ? 'button' : 'a';\n const mode = getIonMode(this);\n const attrs = TagType === 'button'\n ? { type: this.type }\n : {\n download: this.download,\n href: this.href,\n target: this.target,\n };\n return (h(Host, { key: '763c3a7571b143d1068d85103ccab403bc48abae', onClick: this.onClick, class: createColorClasses(this.color, {\n [mode]: true,\n 'item-option-disabled': disabled,\n 'item-option-expandable': expandable,\n 'ion-activatable': true,\n }) }, h(TagType, Object.assign({ key: 'cb199c2ccd38abaad3460f184af3093bf08546cc' }, attrs, { class: \"button-native\", part: \"native\", disabled: disabled }), h(\"span\", { key: 'f3ce9f1d343890c6f55f2609127f1e5113a2eedf', class: \"button-inner\" }, h(\"slot\", { key: 'cd9434883c0bdb4129fb6f49970d49710653a09a', name: \"top\" }), h(\"div\", { key: '764529c5f4b3d82105ce55885e8f121a91e8bc4a', class: \"horizontal-wrapper\" }, h(\"slot\", { key: '5bbd7b9ed9f35c8bf422c3134a1a097e174ad6df', name: \"start\" }), h(\"slot\", { key: '1e70a781cdf4ffcefb1dea70abe43655d7857c4b', name: \"icon-only\" }), h(\"slot\", { key: 'c3205e9b1577a56786c10a8b5b420010b5fe53fc' }), h(\"slot\", { key: '6bae6c98cd8d8526a203af47ca8e83753e1e1cb6', name: \"end\" })), h(\"slot\", { key: '466cc32cdf9cbbdbb58e4b29144215cf2984c0d6', name: \"bottom\" })), mode === 'md' && h(\"ion-ripple-effect\", { key: 'b5c54b801008b307ca8f718a41101be3e8d1d938' }))));\n }\n static get is() { return \"ion-item-option\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"ios\": [\"item-option.ios.scss\"],\n \"md\": [\"item-option.md.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"ios\": [\"item-option.ios.css\"],\n \"md\": [\"item-option.md.css\"]\n };\n }\n static get properties() {\n return {\n \"color\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Color\",\n \"resolved\": \"\\\"danger\\\" | \\\"dark\\\" | \\\"light\\\" | \\\"medium\\\" | \\\"primary\\\" | \\\"secondary\\\" | \\\"success\\\" | \\\"tertiary\\\" | \\\"warning\\\" | string & Record<never, never> | undefined\",\n \"references\": {\n \"Color\": {\n \"location\": \"import\",\n \"path\": \"../../interface\",\n \"id\": \"src/interface.d.ts::Color\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The color to use from your application's color palette.\\nDefault options are: `\\\"primary\\\"`, `\\\"secondary\\\"`, `\\\"tertiary\\\"`, `\\\"success\\\"`, `\\\"warning\\\"`, `\\\"danger\\\"`, `\\\"light\\\"`, `\\\"medium\\\"`, and `\\\"dark\\\"`.\\nFor more information on colors, see [theming](/docs/theming/basics).\"\n },\n \"attribute\": \"color\",\n \"reflect\": true\n },\n \"disabled\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the user cannot interact with the item option.\"\n },\n \"attribute\": \"disabled\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"download\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string | undefined\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"This attribute instructs browsers to download a URL instead of navigating to\\nit, so the user will be prompted to save it as a local file. If the attribute\\nhas a value, it is used as the pre-filled file name in the Save prompt\\n(the user can still change the file name if they want).\"\n },\n \"attribute\": \"download\",\n \"reflect\": false\n },\n \"expandable\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"If `true`, the option will expand to take up the available width and cover any other options.\"\n },\n \"attribute\": \"expandable\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"href\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string | undefined\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Contains a URL or a URL fragment that the hyperlink points to.\\nIf this property is set, an anchor tag will be rendered.\"\n },\n \"attribute\": \"href\",\n \"reflect\": false\n },\n \"rel\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string | undefined\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the relationship of the target object to the link object.\\nThe value is a space-separated list of [link types](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types).\"\n },\n \"attribute\": \"rel\",\n \"reflect\": false\n },\n \"target\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string | undefined\",\n \"resolved\": \"string | undefined\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies where to display the linked URL.\\nOnly applies when an `href` is provided.\\nSpecial keywords: `\\\"_blank\\\"`, `\\\"_self\\\"`, `\\\"_parent\\\"`, `\\\"_top\\\"`.\"\n },\n \"attribute\": \"target\",\n \"reflect\": false\n },\n \"type\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"'submit' | 'reset' | 'button'\",\n \"resolved\": \"\\\"button\\\" | \\\"reset\\\" | \\\"submit\\\"\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The type of the button.\"\n },\n \"attribute\": \"type\",\n \"reflect\": false,\n \"defaultValue\": \"'button'\"\n }\n };\n }\n static get elementRef() { return \"el\"; }\n}\n"],"mappings":"iIAAA,MAAMA,EAAmB,skEACzB,MAAAC,EAAeD,ECDf,MAAME,EAAkB,m9DACxB,MAAAC,EAAeD,E,MCiBFE,EAAU,MACnB,WAAAC,CAAAC,G,UACIC,KAAKC,QAAWC,IACZ,MAAMC,EAAKD,EAAGE,OAAOC,QAAQ,mBAC7B,GAAIF,EAAI,CACJD,EAAGI,gB,GAGXN,KAAKO,MAAQC,UACbR,KAAKS,SAAW,MAChBT,KAAKU,SAAWF,UAChBR,KAAKW,WAAa,MAClBX,KAAKY,KAAOJ,UACZR,KAAKa,IAAML,UACXR,KAAKI,OAASI,UACdR,KAAKc,KAAO,Q,CAEhB,MAAAC,GACI,MAAMN,SAAEA,EAAQE,WAAEA,EAAUC,KAAEA,GAASZ,KACvC,MAAMgB,EAAUJ,IAASJ,UAAY,SAAW,IAChD,MAAMS,EAAOC,EAAWlB,MACxB,MAAMmB,EAAQH,IAAY,SACpB,CAAEF,KAAMd,KAAKc,MACb,CACEJ,SAAUV,KAAKU,SACfE,KAAMZ,KAAKY,KACXR,OAAQJ,KAAKI,QAErB,OAAQgB,EAAEC,EAAM,CAAEC,IAAK,2CAA4CrB,QAASD,KAAKC,QAASsB,MAAOC,EAAmBxB,KAAKO,MAAO,CACxHU,CAACA,GAAO,KACR,uBAAwBR,EACxB,yBAA0BE,EAC1B,kBAAmB,QACjBS,EAAEJ,EAASS,OAAOC,OAAO,CAAEJ,IAAK,4CAA8CH,EAAO,CAAEI,MAAO,gBAAiBI,KAAM,SAAUlB,SAAUA,IAAaW,EAAE,OAAQ,CAAEE,IAAK,2CAA4CC,MAAO,gBAAkBH,EAAE,OAAQ,CAAEE,IAAK,2CAA4CM,KAAM,QAAUR,EAAE,MAAO,CAAEE,IAAK,2CAA4CC,MAAO,sBAAwBH,EAAE,OAAQ,CAAEE,IAAK,2CAA4CM,KAAM,UAAYR,EAAE,OAAQ,CAAEE,IAAK,2CAA4CM,KAAM,cAAgBR,EAAE,OAAQ,CAAEE,IAAK,6CAA+CF,EAAE,OAAQ,CAAEE,IAAK,2CAA4CM,KAAM,SAAWR,EAAE,OAAQ,CAAEE,IAAK,2CAA4CM,KAAM,YAAcX,IAAS,MAAQG,EAAE,oBAAqB,CAAEE,IAAK,8C","ignoreList":[]}
@@ -1,8 +1,8 @@
1
- import{r as i,i as t,h as r,H as e,e as o}from"./p-42169e41.js";import{r as n}from"./p-71ee259b.js";import{c as s}from"./p-3a4d289f.js";import{c,a,B as d,i as h,p,s as l,b as g,d as b,e as k,f as u}from"./p-a6c03ce8.js";import{g as m}from"./p-669fab6c.js";import{g as f}from"./p-da0d920d.js";import{c as v}from"./p-cbf050d6.js";import"./p-7efd6867.js";import"./p-1fc8e557.js";import"./p-eba70ed1.js";import"./p-d6769f21.js";
1
+ import{r as i,i as t,h as r,H as e,d as o}from"./p-ad32e711.js";import{r as n}from"./p-71ee259b.js";import{c as s}from"./p-3a4d289f.js";import{c,a,B as d,i as h,p,s as l,b as g,d as b,e as k,f as u}from"./p-d164af48.js";import{g as m}from"./p-669fab6c.js";import{g as f}from"./p-17cb620a.js";import{c as v}from"./p-cbf050d6.js";import"./p-7efd6867.js";import"./p-f1a6f6f2.js";import"./p-eba70ed1.js";import"./p-d6769f21.js";
2
2
  /*!
3
3
  * (C) Ionic http://ionicframework.com - MIT License
4
4
  */const w=i=>{const t=v();const r=v();const e=v();r.addElement(i.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]);e.addElement(i.querySelector(".picker-wrapper")).fromTo("transform","translateY(100%)","translateY(0%)");return t.addElement(i).easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation([r,e])};
5
5
  /*!
6
6
  * (C) Ionic http://ionicframework.com - MIT License
7
7
  */const x=i=>{const t=v();const r=v();const e=v();r.addElement(i.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",.01);e.addElement(i.querySelector(".picker-wrapper")).fromTo("transform","translateY(0%)","translateY(100%)");return t.addElement(i).easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation([r,e])};const y=".sc-ion-picker-ios-h{--border-radius:0;--border-style:solid;--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--max-height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;user-select:none;z-index:1001}@supports (inset-inline-start: 0){.sc-ion-picker-ios-h{inset-inline-start:0}}@supports not (inset-inline-start: 0){.sc-ion-picker-ios-h{left:0}[dir=rtl].sc-ion-picker-ios-h,[dir=rtl] .sc-ion-picker-ios-h{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.sc-ion-picker-ios-h:dir(rtl){left:unset;right:unset;right:0}}}.overlay-hidden.sc-ion-picker-ios-h{display:none}.picker-wrapper.sc-ion-picker-ios{border-radius:var(--border-radius);left:0;right:0;bottom:0;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;transform:translate3d(0, 100%, 0);display:flex;position:absolute;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;overflow:hidden;z-index:10}.picker-toolbar.sc-ion-picker-ios{width:100%;background:transparent;contain:strict;z-index:1}.picker-button.sc-ion-picker-ios{border:0;font-family:inherit}.picker-button.sc-ion-picker-ios:active,.picker-button.sc-ion-picker-ios:focus{outline:none}.picker-columns.sc-ion-picker-ios{display:flex;position:relative;justify-content:center;margin-bottom:var(--ion-safe-area-bottom, 0);contain:strict;overflow:hidden}.picker-above-highlight.sc-ion-picker-ios,.picker-below-highlight.sc-ion-picker-ios{display:none;pointer-events:none}.sc-ion-picker-ios-h{--background:var(--ion-background-color, #fff);--border-width:1px 0 0;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));--height:260px;--backdrop-opacity:var(--ion-backdrop-opacity, 0.26);color:var(--ion-item-color, var(--ion-text-color, #000))}.picker-toolbar.sc-ion-picker-ios{display:flex;height:44px;border-bottom:0.55px solid var(--border-color)}.picker-toolbar-button.sc-ion-picker-ios{flex:1;text-align:end}.picker-toolbar-button.sc-ion-picker-ios:last-child .picker-button.sc-ion-picker-ios{font-weight:600}.picker-toolbar-button.sc-ion-picker-ios:first-child{font-weight:normal;text-align:start}.picker-button.sc-ion-picker-ios,.picker-button.ion-activated.sc-ion-picker-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:1em;padding-inline-start:1em;-webkit-padding-end:1em;padding-inline-end:1em;padding-top:0;padding-bottom:0;height:44px;background:transparent;color:var(--ion-color-primary, #3880ff);font-size:16px}.picker-columns.sc-ion-picker-ios{height:215px;perspective:1000px}.picker-above-highlight.sc-ion-picker-ios{top:0;transform:translate3d(0, 0, 90px);display:block;position:absolute;width:100%;height:81px;border-bottom:1px solid var(--border-color);background:linear-gradient(to bottom, var(--background, var(--ion-background-color, #fff)) 20%, rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8) 100%);z-index:10}@supports (inset-inline-start: 0){.picker-above-highlight.sc-ion-picker-ios{inset-inline-start:0}}@supports not (inset-inline-start: 0){.picker-above-highlight.sc-ion-picker-ios{left:0}[dir=rtl].sc-ion-picker-ios-h .picker-above-highlight.sc-ion-picker-ios,[dir=rtl] .sc-ion-picker-ios-h .picker-above-highlight.sc-ion-picker-ios{left:unset;right:unset;right:0}[dir=rtl].sc-ion-picker-ios .picker-above-highlight.sc-ion-picker-ios{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.picker-above-highlight.sc-ion-picker-ios:dir(rtl){left:unset;right:unset;right:0}}}.picker-below-highlight.sc-ion-picker-ios{top:115px;transform:translate3d(0, 0, 90px);display:block;position:absolute;width:100%;height:119px;border-top:1px solid var(--border-color);background:linear-gradient(to top, var(--background, var(--ion-background-color, #fff)) 30%, rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8) 100%);z-index:11}@supports (inset-inline-start: 0){.picker-below-highlight.sc-ion-picker-ios{inset-inline-start:0}}@supports not (inset-inline-start: 0){.picker-below-highlight.sc-ion-picker-ios{left:0}[dir=rtl].sc-ion-picker-ios-h .picker-below-highlight.sc-ion-picker-ios,[dir=rtl] .sc-ion-picker-ios-h .picker-below-highlight.sc-ion-picker-ios{left:unset;right:unset;right:0}[dir=rtl].sc-ion-picker-ios .picker-below-highlight.sc-ion-picker-ios{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.picker-below-highlight.sc-ion-picker-ios:dir(rtl){left:unset;right:unset;right:0}}}";const j=y;const z=".sc-ion-picker-md-h{--border-radius:0;--border-style:solid;--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--max-height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;user-select:none;z-index:1001}@supports (inset-inline-start: 0){.sc-ion-picker-md-h{inset-inline-start:0}}@supports not (inset-inline-start: 0){.sc-ion-picker-md-h{left:0}[dir=rtl].sc-ion-picker-md-h,[dir=rtl] .sc-ion-picker-md-h{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.sc-ion-picker-md-h:dir(rtl){left:unset;right:unset;right:0}}}.overlay-hidden.sc-ion-picker-md-h{display:none}.picker-wrapper.sc-ion-picker-md{border-radius:var(--border-radius);left:0;right:0;bottom:0;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;transform:translate3d(0, 100%, 0);display:flex;position:absolute;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;overflow:hidden;z-index:10}.picker-toolbar.sc-ion-picker-md{width:100%;background:transparent;contain:strict;z-index:1}.picker-button.sc-ion-picker-md{border:0;font-family:inherit}.picker-button.sc-ion-picker-md:active,.picker-button.sc-ion-picker-md:focus{outline:none}.picker-columns.sc-ion-picker-md{display:flex;position:relative;justify-content:center;margin-bottom:var(--ion-safe-area-bottom, 0);contain:strict;overflow:hidden}.picker-above-highlight.sc-ion-picker-md,.picker-below-highlight.sc-ion-picker-md{display:none;pointer-events:none}.sc-ion-picker-md-h{--background:var(--ion-background-color, #fff);--border-width:0.55px 0 0;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));--height:260px;--backdrop-opacity:var(--ion-backdrop-opacity, 0.26);color:var(--ion-item-color, var(--ion-text-color, #000))}.picker-toolbar.sc-ion-picker-md{display:flex;justify-content:flex-end;height:44px}.picker-button.sc-ion-picker-md,.picker-button.ion-activated.sc-ion-picker-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:1.1em;padding-inline-start:1.1em;-webkit-padding-end:1.1em;padding-inline-end:1.1em;padding-top:0;padding-bottom:0;height:44px;background:transparent;color:var(--ion-color-primary, #3880ff);font-size:14px;font-weight:500;text-transform:uppercase;box-shadow:none}.picker-columns.sc-ion-picker-md{height:216px;perspective:1800px}.picker-above-highlight.sc-ion-picker-md{top:0;transform:translate3d(0, 0, 90px);position:absolute;width:100%;height:81px;border-bottom:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));background:linear-gradient(to bottom, var(--ion-background-color, #fff) 20%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 100%);z-index:10}@supports (inset-inline-start: 0){.picker-above-highlight.sc-ion-picker-md{inset-inline-start:0}}@supports not (inset-inline-start: 0){.picker-above-highlight.sc-ion-picker-md{left:0}[dir=rtl].sc-ion-picker-md-h .picker-above-highlight.sc-ion-picker-md,[dir=rtl] .sc-ion-picker-md-h .picker-above-highlight.sc-ion-picker-md{left:unset;right:unset;right:0}[dir=rtl].sc-ion-picker-md .picker-above-highlight.sc-ion-picker-md{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.picker-above-highlight.sc-ion-picker-md:dir(rtl){left:unset;right:unset;right:0}}}.picker-below-highlight.sc-ion-picker-md{top:115px;transform:translate3d(0, 0, 90px);position:absolute;width:100%;height:119px;border-top:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));background:linear-gradient(to top, var(--ion-background-color, #fff) 30%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 100%);z-index:11}@supports (inset-inline-start: 0){.picker-below-highlight.sc-ion-picker-md{inset-inline-start:0}}@supports not (inset-inline-start: 0){.picker-below-highlight.sc-ion-picker-md{left:0}[dir=rtl].sc-ion-picker-md-h .picker-below-highlight.sc-ion-picker-md,[dir=rtl] .sc-ion-picker-md-h .picker-below-highlight.sc-ion-picker-md{left:unset;right:unset;right:0}[dir=rtl].sc-ion-picker-md .picker-below-highlight.sc-ion-picker-md{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.picker-below-highlight.sc-ion-picker-md:dir(rtl){left:unset;right:unset;right:0}}}";const D=z;const P=class{constructor(r){i(this,r);this.didPresent=t(this,"ionPickerDidPresent",7);this.willPresent=t(this,"ionPickerWillPresent",7);this.willDismiss=t(this,"ionPickerWillDismiss",7);this.didDismiss=t(this,"ionPickerDidDismiss",7);this.didPresentShorthand=t(this,"didPresent",7);this.willPresentShorthand=t(this,"willPresent",7);this.willDismissShorthand=t(this,"willDismiss",7);this.didDismissShorthand=t(this,"didDismiss",7);this.delegateController=c(this);this.lockController=s();this.triggerController=a();this.onBackdropTap=()=>{this.dismiss(undefined,d)};this.dispatchCancelHandler=i=>{const t=i.detail.role;if(h(t)){const i=this.buttons.find((i=>i.role==="cancel"));this.callButtonHandler(i)}};this.presented=false;this.overlayIndex=undefined;this.delegate=undefined;this.hasController=false;this.keyboardClose=true;this.enterAnimation=undefined;this.leaveAnimation=undefined;this.buttons=[];this.columns=[];this.cssClass=undefined;this.duration=0;this.showBackdrop=true;this.backdropDismiss=true;this.animated=true;this.htmlAttributes=undefined;this.isOpen=false;this.trigger=undefined}onIsOpenChange(i,t){if(i===true&&t===false){this.present()}else if(i===false&&t===true){this.dismiss()}}triggerChanged(){const{trigger:i,el:t,triggerController:r}=this;if(i){r.addClickListener(t,i)}}connectedCallback(){p(this.el);this.triggerChanged()}disconnectedCallback(){this.triggerController.removeClickListener()}componentWillLoad(){l(this.el)}componentDidLoad(){if(this.isOpen===true){n((()=>this.present()))}this.triggerChanged()}async present(){const i=await this.lockController.lock();await this.delegateController.attachViewToDom();await g(this,"pickerEnter",w,w,undefined);if(this.duration>0){this.durationTimeout=setTimeout((()=>this.dismiss()),this.duration)}i()}async dismiss(i,t){const r=await this.lockController.lock();if(this.durationTimeout){clearTimeout(this.durationTimeout)}const e=await b(this,i,t,"pickerLeave",x,x);if(e){this.delegateController.removeViewFromDom()}r();return e}onDidDismiss(){return k(this.el,"ionPickerDidDismiss")}onWillDismiss(){return k(this.el,"ionPickerWillDismiss")}getColumn(i){return Promise.resolve(this.columns.find((t=>t.name===i)))}async buttonClick(i){const t=i.role;if(h(t)){return this.dismiss(undefined,t)}const r=await this.callButtonHandler(i);if(r){return this.dismiss(this.getSelected(),i.role)}return Promise.resolve()}async callButtonHandler(i){if(i){const t=await u(i.handler,this.getSelected());if(t===false){return false}}return true}getSelected(){const i={};this.columns.forEach(((t,r)=>{const e=t.selectedIndex!==undefined?t.options[t.selectedIndex]:undefined;i[t.name]={text:e?e.text:undefined,value:e?e.value:undefined,columnIndex:r}}));return i}render(){const{htmlAttributes:i}=this;const t=f(this);return r(e,Object.assign({key:"eb5f91ea74fb11daa6942f779ef461742cad9ecb","aria-modal":"true",tabindex:"-1"},i,{style:{zIndex:`${2e4+this.overlayIndex}`},class:Object.assign({[t]:true,[`picker-${t}`]:true,"overlay-hidden":true},m(this.cssClass)),onIonBackdropTap:this.onBackdropTap,onIonPickerWillDismiss:this.dispatchCancelHandler}),r("ion-backdrop",{key:"7ea872d939e62f14129fff15334b2822ad2360c9",visible:this.showBackdrop,tappable:this.backdropDismiss}),r("div",{key:"2d77c225091eacab0207e28c96b966122afafef0",tabindex:"0"}),r("div",{key:"630d21e0c60ad97b71462cdc540858bb6ced0b8f",class:"picker-wrapper ion-overlay-wrapper",role:"dialog"},r("div",{key:"fa8553ec8d2ce8bf93e16e02334b6475cb51b5d4",class:"picker-toolbar"},this.buttons.map((i=>r("div",{class:C(i)},r("button",{type:"button",onClick:()=>this.buttonClick(i),class:I(i)},i.text))))),r("div",{key:"177d1bcbd0ce38f16d9c936295a917fb981d02d7",class:"picker-columns"},r("div",{key:"be99b6e0279c210ef91a88ccc81acc7d37917a53",class:"picker-above-highlight"}),this.presented&&this.columns.map((i=>r("ion-picker-column",{col:i}))),r("div",{key:"b36b21e8133b59e873e1d3447a1279f1b971c854",class:"picker-below-highlight"}))),r("div",{key:"17cea6dd24dbb0a08073ca4a84bfe027eb24833d",tabindex:"0"}))}get el(){return o(this)}static get watchers(){return{isOpen:["onIsOpenChange"],trigger:["triggerChanged"]}}};const C=i=>({[`picker-toolbar-${i.role}`]:i.role!==undefined,"picker-toolbar-button":true});const I=i=>Object.assign({"picker-button":true,"ion-activatable":true},m(i.cssClass));P.style={ios:j,md:D};export{P as ion_picker};
8
- //# sourceMappingURL=p-59ec8b76.entry.js.map
8
+ //# sourceMappingURL=p-2e2753e7.entry.js.map
@@ -1,17 +1,17 @@
1
- import{d as t}from"./p-7efd6867.js";import{MENU_BACK_BUTTON_PRIORITY as n}from"./p-1fc8e557.js";import{p as e}from"./p-d6769f21.js";import{a as s}from"./p-71ee259b.js";import{g as r}from"./p-da0d920d.js";import{c as o}from"./p-cbf050d6.js";
1
+ import{d as t}from"./p-7efd6867.js";import{MENU_BACK_BUTTON_PRIORITY as n}from"./p-f1a6f6f2.js";import{p as e}from"./p-d6769f21.js";import{a as s}from"./p-71ee259b.js";import{g as r}from"./p-17cb620a.js";import{c as o}from"./p-cbf050d6.js";
2
2
  /*!
3
3
  * (C) Ionic http://ionicframework.com - MIT License
4
4
  */const a=t=>o().duration(t?400:300);
5
5
  /*!
6
6
  * (C) Ionic http://ionicframework.com - MIT License
7
- */const i=t=>{let n;let e;const s=t.width+8;const i=o();const c=o();if(t.isEndSide){n=s+"px";e="0px"}else{n=-s+"px";e="0px"}i.addElement(t.menuInnerEl).fromTo("transform",`translateX(${n})`,`translateX(${e})`);const u=r(t);const f=u==="ios";const l=f?.2:.25;c.addElement(t.backdropEl).fromTo("opacity",.01,l);return a(f).addAnimation([i,c])};
7
+ */const i=t=>{let n;let e;const s=t.width+8;const i=o();const c=o();if(t.isEndSide){n=s+"px";e="0px"}else{n=-s+"px";e="0px"}i.addElement(t.menuInnerEl).fromTo("transform",`translateX(${n})`,`translateX(${e})`);const f=r(t);const u=f==="ios";const l=u?.2:.25;c.addElement(t.backdropEl).fromTo("opacity",.01,l);return a(u).addAnimation([i,c])};
8
8
  /*!
9
9
  * (C) Ionic http://ionicframework.com - MIT License
10
- */const c=t=>{let n;let e;const s=r(t);const i=t.width;if(t.isEndSide){n=-i+"px";e=i+"px"}else{n=i+"px";e=-i+"px"}const c=o().addElement(t.menuInnerEl).fromTo("transform",`translateX(${e})`,"translateX(0px)");const u=o().addElement(t.contentEl).fromTo("transform","translateX(0px)",`translateX(${n})`);const f=o().addElement(t.backdropEl).fromTo("opacity",.01,.32);return a(s==="ios").addAnimation([c,u,f])};
10
+ */const c=t=>{let n;let e;const s=r(t);const i=t.width;if(t.isEndSide){n=-i+"px";e=i+"px"}else{n=i+"px";e=-i+"px"}const c=o().addElement(t.menuInnerEl).fromTo("transform",`translateX(${e})`,"translateX(0px)");const f=o().addElement(t.contentEl).fromTo("transform","translateX(0px)",`translateX(${n})`);const u=o().addElement(t.backdropEl).fromTo("opacity",.01,.32);return a(s==="ios").addAnimation([c,f,u])};
11
11
  /*!
12
12
  * (C) Ionic http://ionicframework.com - MIT License
13
- */const u=t=>{const n=r(t);const e=t.width*(t.isEndSide?-1:1)+"px";const s=o().addElement(t.contentEl).fromTo("transform","translateX(0px)",`translateX(${e})`);return a(n==="ios").addAnimation(s)};
13
+ */const f=t=>{const n=r(t);const e=t.width*(t.isEndSide?-1:1)+"px";const s=o().addElement(t.contentEl).fromTo("transform","translateX(0px)",`translateX(${e})`);return a(n==="ios").addAnimation(s)};
14
14
  /*!
15
15
  * (C) Ionic http://ionicframework.com - MIT License
16
- */const f=()=>{const r=new Map;const o=[];const a=async t=>{const n=await y(t,true);if(n){return n.open()}return false};const f=async t=>{const n=await(t!==undefined?y(t,true):h());if(n!==undefined){return n.close()}return false};const l=async t=>{const n=await y(t,true);if(n){return n.toggle()}return false};const d=async(t,n)=>{const e=await y(n);if(e){e.disabled=!t}return e};const p=async(t,n)=>{const e=await y(n);if(e){e.swipeGesture=t}return e};const m=async t=>{if(t!=null){const n=await y(t);return n!==undefined&&n.isOpen()}else{const t=await h();return t!==undefined}};const w=async t=>{const n=await y(t);if(n){return!n.disabled}return false};const y=async(t,n=false)=>{await q();if(t==="start"||t==="end"){const s=o.filter((n=>n.side===t&&!n.disabled));if(s.length>=1){if(s.length>1&&n){e(`menuController queried for a menu on the "${t}" side, but ${s.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`,s.map((t=>t.el)))}return s[0].el}const r=o.filter((n=>n.side===t));if(r.length>=1){if(r.length>1&&n){e(`menuController queried for a menu on the "${t}" side, but ${r.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`,r.map((t=>t.el)))}return r[0].el}}else if(t!=null){return O((n=>n.menuId===t))}const s=O((t=>!t.disabled));if(s){return s}return o.length>0?o[0].el:undefined};const h=async()=>{await q();return _()};const x=async()=>{await q();return A()};const g=async()=>{await q();return I()};const b=(t,n)=>{r.set(t,n)};const $=t=>{if(o.indexOf(t)<0){o.push(t)}};const X=t=>{const n=o.indexOf(t);if(n>-1){o.splice(n,1)}};const j=async(t,n,e)=>{if(I()){return false}if(n){const n=await h();if(n&&t.el!==n){await n.setOpen(false,false)}}return t._setOpen(n,e)};const v=(t,n)=>{const e=r.get(t);if(!e){throw new Error("animation not registered")}const s=e(n);return s};const _=()=>O((t=>t._isOpen));const A=()=>o.map((t=>t.el));const I=()=>o.some((t=>t.isAnimating));const O=t=>{const n=o.find(t);if(n!==undefined){return n.el}return undefined};const q=()=>Promise.all(Array.from(document.querySelectorAll("ion-menu")).map((t=>new Promise((n=>s(t,n))))));b("reveal",u);b("push",c);b("overlay",i);t===null||t===void 0?void 0:t.addEventListener("ionBackButton",(t=>{const e=_();if(e){t.detail.register(n,(()=>e.close()))}}));return{registerAnimation:b,get:y,getMenus:x,getOpen:h,isEnabled:w,swipeGesture:p,isAnimating:g,isOpen:m,enable:d,toggle:l,close:f,open:a,_getOpenSync:_,_createAnimation:v,_register:$,_unregister:X,_setOpen:j}};const l=f();export{l as m};
17
- //# sourceMappingURL=p-061819d1.js.map
16
+ */const u=()=>{const r=new Map;const o=[];const a=async t=>{const n=await y(t,true);if(n){return n.open()}return false};const u=async t=>{const n=await(t!==undefined?y(t,true):h());if(n!==undefined){return n.close()}return false};const l=async t=>{const n=await y(t,true);if(n){return n.toggle()}return false};const p=async(t,n)=>{const e=await y(n);if(e){e.disabled=!t}return e};const d=async(t,n)=>{const e=await y(n);if(e){e.swipeGesture=t}return e};const m=async t=>{if(t!=null){const n=await y(t);return n!==undefined&&n.isOpen()}else{const t=await h();return t!==undefined}};const w=async t=>{const n=await y(t);if(n){return!n.disabled}return false};const y=async(t,n=false)=>{await q();if(t==="start"||t==="end"){const s=o.filter((n=>n.side===t&&!n.disabled));if(s.length>=1){if(s.length>1&&n){e(`menuController queried for a menu on the "${t}" side, but ${s.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`,s.map((t=>t.el)))}return s[0].el}const r=o.filter((n=>n.side===t));if(r.length>=1){if(r.length>1&&n){e(`menuController queried for a menu on the "${t}" side, but ${r.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`,r.map((t=>t.el)))}return r[0].el}}else if(t!=null){return O((n=>n.menuId===t))}const s=O((t=>!t.disabled));if(s){return s}return o.length>0?o[0].el:undefined};const h=async()=>{await q();return _()};const x=async()=>{await q();return A()};const g=async()=>{await q();return I()};const b=(t,n)=>{r.set(t,n)};const $=t=>{if(o.indexOf(t)<0){o.push(t)}};const X=t=>{const n=o.indexOf(t);if(n>-1){o.splice(n,1)}};const j=async(t,n,e)=>{if(I()){return false}if(n){const n=await h();if(n&&t.el!==n){await n.setOpen(false,false)}}return t._setOpen(n,e)};const v=(t,n)=>{const e=r.get(t);if(!e){throw new Error("animation not registered")}const s=e(n);return s};const _=()=>O((t=>t._isOpen));const A=()=>o.map((t=>t.el));const I=()=>o.some((t=>t.isAnimating));const O=t=>{const n=o.find(t);if(n!==undefined){return n.el}return undefined};const q=()=>Promise.all(Array.from(document.querySelectorAll("ion-menu")).map((t=>new Promise((n=>s(t,n))))));b("reveal",f);b("push",c);b("overlay",i);t===null||t===void 0?void 0:t.addEventListener("ionBackButton",(t=>{const e=_();if(e){t.detail.register(n,(()=>e.close()))}}));return{registerAnimation:b,get:y,getMenus:x,getOpen:h,isEnabled:w,swipeGesture:d,isAnimating:g,isOpen:m,enable:p,toggle:l,close:u,open:a,_getOpenSync:_,_createAnimation:v,_register:$,_unregister:X,_setOpen:j}};const l=u();export{l as m};
17
+ //# sourceMappingURL=p-3856e0a0.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,i,h as e,H as s,e as r}from"./p-42169e41.js";import{c as n}from"./p-71ee259b.js";import{b as o,c as p,a}from"./p-c8020dbc.js";import{g as h}from"./p-669fab6c.js";import{g as c}from"./p-da0d920d.js";import"./p-21b22219.js";import"./p-7efd6867.js";const l=".picker-col{display:flex;position:relative;flex:1;justify-content:center;height:100%;box-sizing:content-box;contain:content}.picker-opts{position:relative;flex:1;max-width:100%}.picker-opt{top:0;display:block;position:absolute;width:100%;border:0;text-align:center;text-overflow:ellipsis;white-space:nowrap;contain:strict;overflow:hidden;will-change:transform}@supports (inset-inline-start: 0){.picker-opt{inset-inline-start:0}}@supports not (inset-inline-start: 0){.picker-opt{left:0}:host-context([dir=rtl]) .picker-opt{left:unset;right:unset;right:0}[dir=rtl] .picker-opt{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.picker-opt:dir(rtl){left:unset;right:unset;right:0}}}.picker-opt.picker-opt-disabled{pointer-events:none}.picker-opt-disabled{opacity:0}.picker-opts-left{justify-content:flex-start}.picker-opts-right{justify-content:flex-end}.picker-opt:active,.picker-opt:focus{outline:none}.picker-prefix{position:relative;flex:1;text-align:end;white-space:nowrap}.picker-suffix{position:relative;flex:1;text-align:start;white-space:nowrap}.picker-col{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:0;padding-bottom:0;transform-style:preserve-3d}.picker-prefix,.picker-suffix,.picker-opts{top:77px;transform-style:preserve-3d;color:inherit;font-size:20px;line-height:42px;pointer-events:none}.picker-opt{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;transform-origin:center center;height:46px;transform-style:preserve-3d;transition-timing-function:ease-out;background:transparent;color:inherit;font-size:20px;line-height:42px;backface-visibility:hidden;pointer-events:auto}:host-context([dir=rtl]) .picker-opt{transform-origin:calc(100% - center) center}[dir=rtl] .picker-opt{transform-origin:calc(100% - center) center}@supports selector(:dir(rtl)){.picker-opt:dir(rtl){transform-origin:calc(100% - center) center}}";const d=l;const f=".picker-col{display:flex;position:relative;flex:1;justify-content:center;height:100%;box-sizing:content-box;contain:content}.picker-opts{position:relative;flex:1;max-width:100%}.picker-opt{top:0;display:block;position:absolute;width:100%;border:0;text-align:center;text-overflow:ellipsis;white-space:nowrap;contain:strict;overflow:hidden;will-change:transform}@supports (inset-inline-start: 0){.picker-opt{inset-inline-start:0}}@supports not (inset-inline-start: 0){.picker-opt{left:0}:host-context([dir=rtl]) .picker-opt{left:unset;right:unset;right:0}[dir=rtl] .picker-opt{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.picker-opt:dir(rtl){left:unset;right:unset;right:0}}}.picker-opt.picker-opt-disabled{pointer-events:none}.picker-opt-disabled{opacity:0}.picker-opts-left{justify-content:flex-start}.picker-opts-right{justify-content:flex-end}.picker-opt:active,.picker-opt:focus{outline:none}.picker-prefix{position:relative;flex:1;text-align:end;white-space:nowrap}.picker-suffix{position:relative;flex:1;text-align:start;white-space:nowrap}.picker-col{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:0;padding-bottom:0;transform-style:preserve-3d}.picker-prefix,.picker-suffix,.picker-opts{top:77px;transform-style:preserve-3d;color:inherit;font-size:22px;line-height:42px;pointer-events:none}.picker-opt{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;height:43px;transition-timing-function:ease-out;background:transparent;color:inherit;font-size:22px;line-height:42px;backface-visibility:hidden;pointer-events:auto}.picker-prefix,.picker-suffix,.picker-opt.picker-opt-selected{color:var(--ion-color-primary, #3880ff)}";const g=f;const u=class{constructor(e){t(this,e);this.ionPickerColChange=i(this,"ionPickerColChange",7);this.optHeight=0;this.rotateFactor=0;this.scaleFactor=1;this.velocity=0;this.y=0;this.noAnimate=true;this.colDidChange=false;this.col=undefined}colChanged(){this.colDidChange=true}async connectedCallback(){let t=0;let i=.81;const e=c(this);if(e==="ios"){t=-.46;i=1}this.rotateFactor=t;this.scaleFactor=i;this.gesture=(await import("./p-b943833e.js")).createGesture({el:this.el,gestureName:"picker-swipe",gesturePriority:100,threshold:0,passive:false,onStart:t=>this.onStart(t),onMove:t=>this.onMove(t),onEnd:t=>this.onEnd(t)});this.gesture.enable();this.tmrId=setTimeout((()=>{this.noAnimate=false;this.refresh(true)}),250)}componentDidLoad(){this.onDomChange()}componentDidUpdate(){if(this.colDidChange){this.onDomChange(true,false);this.colDidChange=false}}disconnectedCallback(){if(this.rafId!==undefined)cancelAnimationFrame(this.rafId);if(this.tmrId)clearTimeout(this.tmrId);if(this.gesture){this.gesture.destroy();this.gesture=undefined}}emitColChange(){this.ionPickerColChange.emit(this.col)}setSelected(t,i){const e=t>-1?-(t*this.optHeight):0;this.velocity=0;if(this.rafId!==undefined)cancelAnimationFrame(this.rafId);this.update(e,i,true);this.emitColChange()}update(t,i,e){if(!this.optsEl){return}let s=0;let r=0;const{col:n,rotateFactor:p}=this;const a=n.selectedIndex;const h=n.selectedIndex=this.indexForY(-t);const c=i===0?"":i+"ms";const l=`scale(${this.scaleFactor})`;const d=this.optsEl.children;for(let e=0;e<d.length;e++){const o=d[e];const a=n.options[e];const f=e*this.optHeight+t;let g="";if(p!==0){const t=f*p;if(Math.abs(t)<=90){s=0;r=90;g=`rotateX(${t}deg) `}else{s=-9999}}else{r=0;s=f}const u=h===e;g+=`translate3d(0px,${s}px,${r}px) `;if(this.scaleFactor!==1&&!u){g+=l}if(this.noAnimate){a.duration=0;o.style.transitionDuration=""}else if(i!==a.duration){a.duration=i;o.style.transitionDuration=c}if(g!==a.transform){a.transform=g}o.style.transform=g;a.selected=u;if(u){o.classList.add(k)}else{o.classList.remove(k)}}this.col.prevSelected=a;if(e){this.y=t}if(this.lastIndex!==h){o();this.lastIndex=h}}decelerate(){if(this.velocity!==0){this.velocity*=x;this.velocity=this.velocity>0?Math.max(this.velocity,1):Math.min(this.velocity,-1);let t=this.y+this.velocity;if(t>this.minY){t=this.minY;this.velocity=0}else if(t<this.maxY){t=this.maxY;this.velocity=0}this.update(t,0,true);const i=Math.round(t)%this.optHeight!==0||Math.abs(this.velocity)>1;if(i){this.rafId=requestAnimationFrame((()=>this.decelerate()))}else{this.velocity=0;this.emitColChange();p()}}else if(this.y%this.optHeight!==0){const t=Math.abs(this.y%this.optHeight);this.velocity=t>this.optHeight/2?1:-1;this.decelerate()}}indexForY(t){return Math.min(Math.max(Math.abs(Math.round(t/this.optHeight)),0),this.col.options.length-1)}onStart(t){if(t.event.cancelable){t.event.preventDefault()}t.event.stopPropagation();a();if(this.rafId!==undefined)cancelAnimationFrame(this.rafId);const i=this.col.options;let e=i.length-1;let s=0;for(let t=0;t<i.length;t++){if(!i[t].disabled){e=Math.min(e,t);s=Math.max(s,t)}}this.minY=-(e*this.optHeight);this.maxY=-(s*this.optHeight)}onMove(t){if(t.event.cancelable){t.event.preventDefault()}t.event.stopPropagation();let i=this.y+t.deltaY;if(i>this.minY){i=Math.pow(i,.8);this.bounceFrom=i}else if(i<this.maxY){i+=Math.pow(this.maxY-i,.9);this.bounceFrom=i}else{this.bounceFrom=0}this.update(i,0,false)}onEnd(t){if(this.bounceFrom>0){this.update(this.minY,100,true);this.emitColChange();return}else if(this.bounceFrom<0){this.update(this.maxY,100,true);this.emitColChange();return}this.velocity=n(-m,t.velocityY*23,m);if(this.velocity===0&&t.deltaY===0){const i=t.event.target.closest(".picker-opt");if(i===null||i===void 0?void 0:i.hasAttribute("opt-index")){this.setSelected(parseInt(i.getAttribute("opt-index"),10),b)}}else{this.y+=t.deltaY;if(Math.abs(t.velocityY)<.05){const i=t.deltaY>0;const e=Math.abs(this.y)%this.optHeight/this.optHeight;if(i&&e>.5){this.velocity=Math.abs(this.velocity)*-1}else if(!i&&e<=.5){this.velocity=Math.abs(this.velocity)}}this.decelerate()}}refresh(t,i){var e;let s=this.col.options.length-1;let r=0;const o=this.col.options;for(let t=0;t<o.length;t++){if(!o[t].disabled){s=Math.min(s,t);r=Math.max(r,t)}}if(this.velocity!==0){return}const p=n(s,(e=this.col.selectedIndex)!==null&&e!==void 0?e:0,r);if(this.col.prevSelected!==p||t){const t=p*this.optHeight*-1;const e=i?b:0;this.velocity=0;this.update(t,e,true)}}onDomChange(t,i){const e=this.optsEl;if(e){this.optHeight=e.firstElementChild?e.firstElementChild.clientHeight:0}this.refresh(t,i)}render(){const t=this.col;const i=c(this);return e(s,{key:"49bb4c67a67c7318d4c305df78ceabae36355112",class:Object.assign({[i]:true,"picker-col":true,"picker-opts-left":this.col.align==="left","picker-opts-right":this.col.align==="right"},h(t.cssClass)),style:{"max-width":this.col.columnWidth}},t.prefix&&e("div",{key:"7e65761d24473e4ba0ce2d4fc707a5c5e8127903",class:"picker-prefix",style:{width:t.prefixWidth}},t.prefix),e("div",{key:"65c3aea609401e8ae4ea6d363a1b9436796c0a86",class:"picker-opts",style:{maxWidth:t.optionsWidth},ref:t=>this.optsEl=t},t.options.map(((t,i)=>e("button",{"aria-label":t.ariaLabel,class:{"picker-opt":true,"picker-opt-disabled":!!t.disabled},"opt-index":i},t.text)))),t.suffix&&e("div",{key:"c2e5a324ba95dd8832d3eb81b139e1f674d74a35",class:"picker-suffix",style:{width:t.suffixWidth}},t.suffix))}get el(){return r(this)}static get watchers(){return{col:["colChanged"]}}};const k="picker-opt-selected";const x=.97;const m=90;const b=150;u.style={ios:d,md:g};export{u as ion_picker_column};
2
- //# sourceMappingURL=p-f50c3045.entry.js.map
1
+ import{r as t,i,h as e,H as s,d as r}from"./p-ad32e711.js";import{c as n}from"./p-71ee259b.js";import{b as o,c as p,a}from"./p-c8020dbc.js";import{g as h}from"./p-669fab6c.js";import{g as c}from"./p-17cb620a.js";import"./p-21b22219.js";import"./p-7efd6867.js";const l=".picker-col{display:flex;position:relative;flex:1;justify-content:center;height:100%;box-sizing:content-box;contain:content}.picker-opts{position:relative;flex:1;max-width:100%}.picker-opt{top:0;display:block;position:absolute;width:100%;border:0;text-align:center;text-overflow:ellipsis;white-space:nowrap;contain:strict;overflow:hidden;will-change:transform}@supports (inset-inline-start: 0){.picker-opt{inset-inline-start:0}}@supports not (inset-inline-start: 0){.picker-opt{left:0}:host-context([dir=rtl]) .picker-opt{left:unset;right:unset;right:0}[dir=rtl] .picker-opt{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.picker-opt:dir(rtl){left:unset;right:unset;right:0}}}.picker-opt.picker-opt-disabled{pointer-events:none}.picker-opt-disabled{opacity:0}.picker-opts-left{justify-content:flex-start}.picker-opts-right{justify-content:flex-end}.picker-opt:active,.picker-opt:focus{outline:none}.picker-prefix{position:relative;flex:1;text-align:end;white-space:nowrap}.picker-suffix{position:relative;flex:1;text-align:start;white-space:nowrap}.picker-col{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:0;padding-bottom:0;transform-style:preserve-3d}.picker-prefix,.picker-suffix,.picker-opts{top:77px;transform-style:preserve-3d;color:inherit;font-size:20px;line-height:42px;pointer-events:none}.picker-opt{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;transform-origin:center center;height:46px;transform-style:preserve-3d;transition-timing-function:ease-out;background:transparent;color:inherit;font-size:20px;line-height:42px;backface-visibility:hidden;pointer-events:auto}:host-context([dir=rtl]) .picker-opt{transform-origin:calc(100% - center) center}[dir=rtl] .picker-opt{transform-origin:calc(100% - center) center}@supports selector(:dir(rtl)){.picker-opt:dir(rtl){transform-origin:calc(100% - center) center}}";const d=l;const f=".picker-col{display:flex;position:relative;flex:1;justify-content:center;height:100%;box-sizing:content-box;contain:content}.picker-opts{position:relative;flex:1;max-width:100%}.picker-opt{top:0;display:block;position:absolute;width:100%;border:0;text-align:center;text-overflow:ellipsis;white-space:nowrap;contain:strict;overflow:hidden;will-change:transform}@supports (inset-inline-start: 0){.picker-opt{inset-inline-start:0}}@supports not (inset-inline-start: 0){.picker-opt{left:0}:host-context([dir=rtl]) .picker-opt{left:unset;right:unset;right:0}[dir=rtl] .picker-opt{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.picker-opt:dir(rtl){left:unset;right:unset;right:0}}}.picker-opt.picker-opt-disabled{pointer-events:none}.picker-opt-disabled{opacity:0}.picker-opts-left{justify-content:flex-start}.picker-opts-right{justify-content:flex-end}.picker-opt:active,.picker-opt:focus{outline:none}.picker-prefix{position:relative;flex:1;text-align:end;white-space:nowrap}.picker-suffix{position:relative;flex:1;text-align:start;white-space:nowrap}.picker-col{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:0;padding-bottom:0;transform-style:preserve-3d}.picker-prefix,.picker-suffix,.picker-opts{top:77px;transform-style:preserve-3d;color:inherit;font-size:22px;line-height:42px;pointer-events:none}.picker-opt{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;height:43px;transition-timing-function:ease-out;background:transparent;color:inherit;font-size:22px;line-height:42px;backface-visibility:hidden;pointer-events:auto}.picker-prefix,.picker-suffix,.picker-opt.picker-opt-selected{color:var(--ion-color-primary, #3880ff)}";const g=f;const u=class{constructor(e){t(this,e);this.ionPickerColChange=i(this,"ionPickerColChange",7);this.optHeight=0;this.rotateFactor=0;this.scaleFactor=1;this.velocity=0;this.y=0;this.noAnimate=true;this.colDidChange=false;this.col=undefined}colChanged(){this.colDidChange=true}async connectedCallback(){let t=0;let i=.81;const e=c(this);if(e==="ios"){t=-.46;i=1}this.rotateFactor=t;this.scaleFactor=i;this.gesture=(await import("./p-b943833e.js")).createGesture({el:this.el,gestureName:"picker-swipe",gesturePriority:100,threshold:0,passive:false,onStart:t=>this.onStart(t),onMove:t=>this.onMove(t),onEnd:t=>this.onEnd(t)});this.gesture.enable();this.tmrId=setTimeout((()=>{this.noAnimate=false;this.refresh(true)}),250)}componentDidLoad(){this.onDomChange()}componentDidUpdate(){if(this.colDidChange){this.onDomChange(true,false);this.colDidChange=false}}disconnectedCallback(){if(this.rafId!==undefined)cancelAnimationFrame(this.rafId);if(this.tmrId)clearTimeout(this.tmrId);if(this.gesture){this.gesture.destroy();this.gesture=undefined}}emitColChange(){this.ionPickerColChange.emit(this.col)}setSelected(t,i){const e=t>-1?-(t*this.optHeight):0;this.velocity=0;if(this.rafId!==undefined)cancelAnimationFrame(this.rafId);this.update(e,i,true);this.emitColChange()}update(t,i,e){if(!this.optsEl){return}let s=0;let r=0;const{col:n,rotateFactor:p}=this;const a=n.selectedIndex;const h=n.selectedIndex=this.indexForY(-t);const c=i===0?"":i+"ms";const l=`scale(${this.scaleFactor})`;const d=this.optsEl.children;for(let e=0;e<d.length;e++){const o=d[e];const a=n.options[e];const f=e*this.optHeight+t;let g="";if(p!==0){const t=f*p;if(Math.abs(t)<=90){s=0;r=90;g=`rotateX(${t}deg) `}else{s=-9999}}else{r=0;s=f}const u=h===e;g+=`translate3d(0px,${s}px,${r}px) `;if(this.scaleFactor!==1&&!u){g+=l}if(this.noAnimate){a.duration=0;o.style.transitionDuration=""}else if(i!==a.duration){a.duration=i;o.style.transitionDuration=c}if(g!==a.transform){a.transform=g}o.style.transform=g;a.selected=u;if(u){o.classList.add(k)}else{o.classList.remove(k)}}this.col.prevSelected=a;if(e){this.y=t}if(this.lastIndex!==h){o();this.lastIndex=h}}decelerate(){if(this.velocity!==0){this.velocity*=x;this.velocity=this.velocity>0?Math.max(this.velocity,1):Math.min(this.velocity,-1);let t=this.y+this.velocity;if(t>this.minY){t=this.minY;this.velocity=0}else if(t<this.maxY){t=this.maxY;this.velocity=0}this.update(t,0,true);const i=Math.round(t)%this.optHeight!==0||Math.abs(this.velocity)>1;if(i){this.rafId=requestAnimationFrame((()=>this.decelerate()))}else{this.velocity=0;this.emitColChange();p()}}else if(this.y%this.optHeight!==0){const t=Math.abs(this.y%this.optHeight);this.velocity=t>this.optHeight/2?1:-1;this.decelerate()}}indexForY(t){return Math.min(Math.max(Math.abs(Math.round(t/this.optHeight)),0),this.col.options.length-1)}onStart(t){if(t.event.cancelable){t.event.preventDefault()}t.event.stopPropagation();a();if(this.rafId!==undefined)cancelAnimationFrame(this.rafId);const i=this.col.options;let e=i.length-1;let s=0;for(let t=0;t<i.length;t++){if(!i[t].disabled){e=Math.min(e,t);s=Math.max(s,t)}}this.minY=-(e*this.optHeight);this.maxY=-(s*this.optHeight)}onMove(t){if(t.event.cancelable){t.event.preventDefault()}t.event.stopPropagation();let i=this.y+t.deltaY;if(i>this.minY){i=Math.pow(i,.8);this.bounceFrom=i}else if(i<this.maxY){i+=Math.pow(this.maxY-i,.9);this.bounceFrom=i}else{this.bounceFrom=0}this.update(i,0,false)}onEnd(t){if(this.bounceFrom>0){this.update(this.minY,100,true);this.emitColChange();return}else if(this.bounceFrom<0){this.update(this.maxY,100,true);this.emitColChange();return}this.velocity=n(-m,t.velocityY*23,m);if(this.velocity===0&&t.deltaY===0){const i=t.event.target.closest(".picker-opt");if(i===null||i===void 0?void 0:i.hasAttribute("opt-index")){this.setSelected(parseInt(i.getAttribute("opt-index"),10),b)}}else{this.y+=t.deltaY;if(Math.abs(t.velocityY)<.05){const i=t.deltaY>0;const e=Math.abs(this.y)%this.optHeight/this.optHeight;if(i&&e>.5){this.velocity=Math.abs(this.velocity)*-1}else if(!i&&e<=.5){this.velocity=Math.abs(this.velocity)}}this.decelerate()}}refresh(t,i){var e;let s=this.col.options.length-1;let r=0;const o=this.col.options;for(let t=0;t<o.length;t++){if(!o[t].disabled){s=Math.min(s,t);r=Math.max(r,t)}}if(this.velocity!==0){return}const p=n(s,(e=this.col.selectedIndex)!==null&&e!==void 0?e:0,r);if(this.col.prevSelected!==p||t){const t=p*this.optHeight*-1;const e=i?b:0;this.velocity=0;this.update(t,e,true)}}onDomChange(t,i){const e=this.optsEl;if(e){this.optHeight=e.firstElementChild?e.firstElementChild.clientHeight:0}this.refresh(t,i)}render(){const t=this.col;const i=c(this);return e(s,{key:"49bb4c67a67c7318d4c305df78ceabae36355112",class:Object.assign({[i]:true,"picker-col":true,"picker-opts-left":this.col.align==="left","picker-opts-right":this.col.align==="right"},h(t.cssClass)),style:{"max-width":this.col.columnWidth}},t.prefix&&e("div",{key:"7e65761d24473e4ba0ce2d4fc707a5c5e8127903",class:"picker-prefix",style:{width:t.prefixWidth}},t.prefix),e("div",{key:"65c3aea609401e8ae4ea6d363a1b9436796c0a86",class:"picker-opts",style:{maxWidth:t.optionsWidth},ref:t=>this.optsEl=t},t.options.map(((t,i)=>e("button",{"aria-label":t.ariaLabel,class:{"picker-opt":true,"picker-opt-disabled":!!t.disabled},"opt-index":i},t.text)))),t.suffix&&e("div",{key:"c2e5a324ba95dd8832d3eb81b139e1f674d74a35",class:"picker-suffix",style:{width:t.suffixWidth}},t.suffix))}get el(){return r(this)}static get watchers(){return{col:["colChanged"]}}};const k="picker-opt-selected";const x=.97;const m=90;const b=150;u.style={ios:d,md:g};export{u as ion_picker_column};
2
+ //# sourceMappingURL=p-3bc60b5c.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as e,i,h as t,H as s,e as n}from"./p-42169e41.js";import{g as o}from"./p-da0d920d.js";const d=":host{--side-width:100%;left:0;right:0;top:0;bottom:0;display:flex;position:absolute;flex-direction:row;flex-wrap:nowrap;contain:strict}::slotted(ion-menu.menu-pane-visible){flex:0 1 auto;width:var(--side-width);min-width:var(--side-min-width);max-width:var(--side-max-width)}:host(.split-pane-visible) ::slotted(.split-pane-side),:host(.split-pane-visible) ::slotted(.split-pane-main){left:0;right:0;top:0;bottom:0;position:relative;box-shadow:none;z-index:0}:host(.split-pane-visible) ::slotted(.split-pane-main){flex:1;overflow:hidden}:host(.split-pane-visible) ::slotted(.split-pane-side:not(ion-menu)),:host(.split-pane-visible) ::slotted(ion-menu.split-pane-side.menu-enabled){display:flex;flex-shrink:0}::slotted(.split-pane-side:not(ion-menu)){display:none}:host(.split-pane-visible) ::slotted(.split-pane-side){order:-1}:host(.split-pane-visible) ::slotted(.split-pane-side[side=end]){order:1}:host{--border:0.55px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));--side-min-width:270px;--side-max-width:28%}:host(.split-pane-visible) ::slotted(.split-pane-side){-webkit-border-start:0;border-inline-start:0;-webkit-border-end:var(--border);border-inline-end:var(--border);border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}:host(.split-pane-visible) ::slotted(.split-pane-side[side=end]){-webkit-border-start:var(--border);border-inline-start:var(--border);-webkit-border-end:0;border-inline-end:0;border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}";const r=d;const a=":host{--side-width:100%;left:0;right:0;top:0;bottom:0;display:flex;position:absolute;flex-direction:row;flex-wrap:nowrap;contain:strict}::slotted(ion-menu.menu-pane-visible){flex:0 1 auto;width:var(--side-width);min-width:var(--side-min-width);max-width:var(--side-max-width)}:host(.split-pane-visible) ::slotted(.split-pane-side),:host(.split-pane-visible) ::slotted(.split-pane-main){left:0;right:0;top:0;bottom:0;position:relative;box-shadow:none;z-index:0}:host(.split-pane-visible) ::slotted(.split-pane-main){flex:1;overflow:hidden}:host(.split-pane-visible) ::slotted(.split-pane-side:not(ion-menu)),:host(.split-pane-visible) ::slotted(ion-menu.split-pane-side.menu-enabled){display:flex;flex-shrink:0}::slotted(.split-pane-side:not(ion-menu)){display:none}:host(.split-pane-visible) ::slotted(.split-pane-side){order:-1}:host(.split-pane-visible) ::slotted(.split-pane-side[side=end]){order:1}:host{--border:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));--side-min-width:270px;--side-max-width:28%}:host(.split-pane-visible) ::slotted(.split-pane-side){-webkit-border-start:0;border-inline-start:0;-webkit-border-end:var(--border);border-inline-end:var(--border);border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}:host(.split-pane-visible) ::slotted(.split-pane-side[side=end]){-webkit-border-start:var(--border);border-inline-start:var(--border);-webkit-border-end:0;border-inline-end:0;border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}";const l=a;const p="split-pane-main";const h="split-pane-side";const b={xs:"(min-width: 0px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",never:""};const m=class{constructor(t){e(this,t);this.ionSplitPaneVisible=i(this,"ionSplitPaneVisible",7);this.visible=false;this.contentId=undefined;this.disabled=false;this.when=b["lg"]}visibleChanged(e){const i={visible:e,isPane:this.isPane.bind(this)};this.ionSplitPaneVisible.emit(i)}async connectedCallback(){if(typeof customElements!=="undefined"&&customElements!=null){await customElements.whenDefined("ion-split-pane")}this.styleChildren();this.updateState()}disconnectedCallback(){if(this.rmL){this.rmL();this.rmL=undefined}}updateState(){if(this.rmL){this.rmL();this.rmL=undefined}if(this.disabled){this.visible=false;return}const e=this.when;if(typeof e==="boolean"){this.visible=e;return}const i=b[e]||e;if(i.length===0){this.visible=false;return}const t=e=>{this.visible=e.matches};const s=window.matchMedia(i);s.addListener(t);this.rmL=()=>s.removeListener(t);this.visible=s.matches}isPane(e){if(!this.visible){return false}return e.parentElement===this.el&&e.classList.contains(h)}styleChildren(){const e=this.contentId;const i=this.el.children;const t=this.el.childElementCount;let s=false;for(let n=0;n<t;n++){const t=i[n];const o=e!==undefined&&t.id===e;if(o){if(s){console.warn("split pane cannot have more than one main node");return}s=true}c(t,o)}if(!s){console.warn("split pane does not have a specified main node")}}render(){const e=o(this);return t(s,{key:"57ee198506248916e74d8d082ad547a471e6cc73",class:{[e]:true,[`split-pane-${e}`]:true,"split-pane-visible":this.visible}},t("slot",{key:"2cd89fa50cfe8a7a6bdda981bb89d5a24a8eec88"}))}get el(){return n(this)}static get watchers(){return{visible:["visibleChanged"],disabled:["updateState"],when:["updateState"]}}};const c=(e,i)=>{let t;let s;if(i){t=p;s=h}else{t=h;s=p}const n=e.classList;n.add(t);n.remove(s)};m.style={ios:r,md:l};export{m as ion_split_pane};
2
- //# sourceMappingURL=p-6cc9961e.entry.js.map
1
+ import{r as e,i,h as t,H as s,d as n}from"./p-ad32e711.js";import{g as o}from"./p-17cb620a.js";const d=":host{--side-width:100%;left:0;right:0;top:0;bottom:0;display:flex;position:absolute;flex-direction:row;flex-wrap:nowrap;contain:strict}::slotted(ion-menu.menu-pane-visible){flex:0 1 auto;width:var(--side-width);min-width:var(--side-min-width);max-width:var(--side-max-width)}:host(.split-pane-visible) ::slotted(.split-pane-side),:host(.split-pane-visible) ::slotted(.split-pane-main){left:0;right:0;top:0;bottom:0;position:relative;box-shadow:none;z-index:0}:host(.split-pane-visible) ::slotted(.split-pane-main){flex:1;overflow:hidden}:host(.split-pane-visible) ::slotted(.split-pane-side:not(ion-menu)),:host(.split-pane-visible) ::slotted(ion-menu.split-pane-side.menu-enabled){display:flex;flex-shrink:0}::slotted(.split-pane-side:not(ion-menu)){display:none}:host(.split-pane-visible) ::slotted(.split-pane-side){order:-1}:host(.split-pane-visible) ::slotted(.split-pane-side[side=end]){order:1}:host{--border:0.55px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));--side-min-width:270px;--side-max-width:28%}:host(.split-pane-visible) ::slotted(.split-pane-side){-webkit-border-start:0;border-inline-start:0;-webkit-border-end:var(--border);border-inline-end:var(--border);border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}:host(.split-pane-visible) ::slotted(.split-pane-side[side=end]){-webkit-border-start:var(--border);border-inline-start:var(--border);-webkit-border-end:0;border-inline-end:0;border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}";const r=d;const a=":host{--side-width:100%;left:0;right:0;top:0;bottom:0;display:flex;position:absolute;flex-direction:row;flex-wrap:nowrap;contain:strict}::slotted(ion-menu.menu-pane-visible){flex:0 1 auto;width:var(--side-width);min-width:var(--side-min-width);max-width:var(--side-max-width)}:host(.split-pane-visible) ::slotted(.split-pane-side),:host(.split-pane-visible) ::slotted(.split-pane-main){left:0;right:0;top:0;bottom:0;position:relative;box-shadow:none;z-index:0}:host(.split-pane-visible) ::slotted(.split-pane-main){flex:1;overflow:hidden}:host(.split-pane-visible) ::slotted(.split-pane-side:not(ion-menu)),:host(.split-pane-visible) ::slotted(ion-menu.split-pane-side.menu-enabled){display:flex;flex-shrink:0}::slotted(.split-pane-side:not(ion-menu)){display:none}:host(.split-pane-visible) ::slotted(.split-pane-side){order:-1}:host(.split-pane-visible) ::slotted(.split-pane-side[side=end]){order:1}:host{--border:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));--side-min-width:270px;--side-max-width:28%}:host(.split-pane-visible) ::slotted(.split-pane-side){-webkit-border-start:0;border-inline-start:0;-webkit-border-end:var(--border);border-inline-end:var(--border);border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}:host(.split-pane-visible) ::slotted(.split-pane-side[side=end]){-webkit-border-start:var(--border);border-inline-start:var(--border);-webkit-border-end:0;border-inline-end:0;border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}";const l=a;const p="split-pane-main";const h="split-pane-side";const b={xs:"(min-width: 0px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",never:""};const m=class{constructor(t){e(this,t);this.ionSplitPaneVisible=i(this,"ionSplitPaneVisible",7);this.visible=false;this.contentId=undefined;this.disabled=false;this.when=b["lg"]}visibleChanged(e){const i={visible:e,isPane:this.isPane.bind(this)};this.ionSplitPaneVisible.emit(i)}async connectedCallback(){if(typeof customElements!=="undefined"&&customElements!=null){await customElements.whenDefined("ion-split-pane")}this.styleChildren();this.updateState()}disconnectedCallback(){if(this.rmL){this.rmL();this.rmL=undefined}}updateState(){if(this.rmL){this.rmL();this.rmL=undefined}if(this.disabled){this.visible=false;return}const e=this.when;if(typeof e==="boolean"){this.visible=e;return}const i=b[e]||e;if(i.length===0){this.visible=false;return}const t=e=>{this.visible=e.matches};const s=window.matchMedia(i);s.addListener(t);this.rmL=()=>s.removeListener(t);this.visible=s.matches}isPane(e){if(!this.visible){return false}return e.parentElement===this.el&&e.classList.contains(h)}styleChildren(){const e=this.contentId;const i=this.el.children;const t=this.el.childElementCount;let s=false;for(let n=0;n<t;n++){const t=i[n];const o=e!==undefined&&t.id===e;if(o){if(s){console.warn("split pane cannot have more than one main node");return}s=true}c(t,o)}if(!s){console.warn("split pane does not have a specified main node")}}render(){const e=o(this);return t(s,{key:"57ee198506248916e74d8d082ad547a471e6cc73",class:{[e]:true,[`split-pane-${e}`]:true,"split-pane-visible":this.visible}},t("slot",{key:"2cd89fa50cfe8a7a6bdda981bb89d5a24a8eec88"}))}get el(){return n(this)}static get watchers(){return{visible:["visibleChanged"],disabled:["updateState"],when:["updateState"]}}};const c=(e,i)=>{let t;let s;if(i){t=p;s=h}else{t=h;s=p}const n=e.classList;n.add(t);n.remove(s)};m.style={ios:r,md:l};export{m as ion_split_pane};
2
+ //# sourceMappingURL=p-3bf6d7b8.entry.js.map