@pod-os/elements 0.25.2 → 0.25.3-rc.3de9abd.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 (636) hide show
  1. package/dist/cjs/elements.cjs.js +1 -1
  2. package/dist/cjs/ion-badge_5.cjs.entry.js +187 -0
  3. package/dist/cjs/ion-badge_5.cjs.entry.js.map +1 -0
  4. package/dist/cjs/ion-card-content.cjs.entry.js +34 -0
  5. package/dist/cjs/ion-card-content.cjs.entry.js.map +1 -0
  6. package/dist/cjs/ion-card-header.cjs.entry.js +37 -0
  7. package/dist/cjs/ion-card-header.cjs.entry.js.map +1 -0
  8. package/dist/cjs/ion-card-title.cjs.entry.js +35 -0
  9. package/dist/cjs/ion-card-title.cjs.entry.js.map +1 -0
  10. package/dist/cjs/ion-card.cjs.entry.js +71 -0
  11. package/dist/cjs/ion-card.cjs.entry.js.map +1 -0
  12. package/dist/cjs/{ion-checkbox_6.cjs.entry.js → ion-checkbox_7.cjs.entry.js} +274 -1
  13. package/dist/cjs/ion-checkbox_7.cjs.entry.js.map +1 -0
  14. package/dist/cjs/ion-col.cjs.entry.js +152 -0
  15. package/dist/cjs/ion-col.cjs.entry.js.map +1 -0
  16. package/dist/cjs/ion-grid.cjs.entry.js +28 -0
  17. package/dist/cjs/ion-grid.cjs.entry.js.map +1 -0
  18. package/dist/cjs/{ion-card_34.cjs.entry.js → ion-icon_31.cjs.entry.js} +35 -143
  19. package/dist/cjs/ion-icon_31.cjs.entry.js.map +1 -0
  20. package/dist/cjs/{ion-input_2.cjs.entry.js → ion-input.cjs.entry.js} +1 -21
  21. package/dist/cjs/ion-input.cjs.entry.js.map +1 -0
  22. package/dist/cjs/ion-note.cjs.entry.js +34 -0
  23. package/dist/cjs/ion-note.cjs.entry.js.map +1 -0
  24. package/dist/cjs/ion-row.cjs.entry.js +23 -0
  25. package/dist/cjs/ion-row.cjs.entry.js.map +1 -0
  26. package/dist/cjs/loader.cjs.js +1 -1
  27. package/dist/cjs/pos-app-document-viewer.cjs.entry.js +8 -1
  28. package/dist/cjs/pos-app-document-viewer.cjs.entry.js.map +1 -1
  29. package/dist/cjs/pos-app-generic.cjs.entry.js +1 -1
  30. package/dist/cjs/pos-app-generic.cjs.entry.js.map +1 -1
  31. package/dist/cjs/pos-app-image-viewer.cjs.entry.js +11 -2
  32. package/dist/cjs/pos-app-image-viewer.cjs.entry.js.map +1 -1
  33. package/dist/cjs/pos-app-ldp-container.cjs.entry.js +8 -1
  34. package/dist/cjs/pos-app-ldp-container.cjs.entry.js.map +1 -1
  35. package/dist/cjs/pos-app-rdf-document.cjs.entry.js +8 -1
  36. package/dist/cjs/pos-app-rdf-document.cjs.entry.js.map +1 -1
  37. package/dist/cjs/pos-container-contents.cjs.entry.js.map +1 -1
  38. package/dist/cjs/pos-container-item.cjs.entry.js +5 -1
  39. package/dist/cjs/pos-container-item.cjs.entry.js.map +1 -1
  40. package/dist/cjs/pos-document.cjs.entry.js +1 -1
  41. package/dist/cjs/pos-document.cjs.entry.js.map +1 -1
  42. package/dist/cjs/pos-relations_2.cjs.entry.js +2 -2
  43. package/dist/cjs/pos-relations_2.cjs.entry.js.map +1 -1
  44. package/dist/cjs/pos-subjects.cjs.entry.js +1 -1
  45. package/dist/cjs/pos-subjects.cjs.entry.js.map +1 -1
  46. package/dist/collection/apps/pos-app-browser/pos-app-browser.css +5 -4
  47. package/dist/collection/apps/pos-app-dashboard/pos-app-dashboard.css +0 -2
  48. package/dist/collection/apps/pos-app-dashboard/pos-example-resources/pos-example-resources.css +2 -2
  49. package/dist/collection/apps/pos-app-dashboard/pos-getting-started/pos-getting-started.css +2 -3
  50. package/dist/collection/apps/pos-app-document-viewer/pos-app-document-viewer.js +12 -2
  51. package/dist/collection/apps/pos-app-document-viewer/pos-app-document-viewer.js.map +1 -1
  52. package/dist/collection/apps/pos-app-generic/pos-app-generic.css +2 -1
  53. package/dist/collection/apps/pos-app-image-viewer/pos-app-image-viewer.css +3 -0
  54. package/dist/collection/apps/pos-app-image-viewer/pos-app-image-viewer.js +12 -3
  55. package/dist/collection/apps/pos-app-image-viewer/pos-app-image-viewer.js.map +1 -1
  56. package/dist/collection/apps/pos-app-ldp-container/pos-app-ldp-container.js +13 -2
  57. package/dist/collection/apps/pos-app-ldp-container/pos-app-ldp-container.js.map +1 -1
  58. package/dist/collection/apps/pos-app-rdf-document/pos-app-rdf-document.js +13 -2
  59. package/dist/collection/apps/pos-app-rdf-document/pos-app-rdf-document.js.map +1 -1
  60. package/dist/collection/apps/pos-app-settings/pos-app-settings.css +0 -2
  61. package/dist/collection/apps/pos-app-settings/pos-app-settings.js +1 -1
  62. package/dist/collection/apps/pos-app-settings/pos-setting-offline-cache/pos-setting-offline-cache.css +4 -2
  63. package/dist/collection/apps/pos-app-settings/pos-setting-offline-cache/pos-setting-offline-cache.js +1 -1
  64. package/dist/collection/apps/styles/article-card.css +19 -0
  65. package/dist/collection/apps/styles/default-app-layout.css +28 -0
  66. package/dist/collection/components/pos-add-literal-value/pos-add-literal-value.css +15 -0
  67. package/dist/collection/components/pos-add-literal-value/pos-add-literal-value.js +2 -2
  68. package/dist/collection/components/pos-add-literal-value/pos-add-literal-value.js.map +1 -1
  69. package/dist/collection/components/pos-add-new-thing/pos-add-new-thing.css +3 -3
  70. package/dist/collection/components/pos-add-new-thing/pos-add-new-thing.js +1 -1
  71. package/dist/collection/components/pos-app/pos-app.js +1 -1
  72. package/dist/collection/components/pos-container-contents/pos-container-contents.css +1 -1
  73. package/dist/collection/components/pos-container-contents/pos-container-contents.js.map +1 -1
  74. package/dist/collection/components/pos-container-contents/pos-container-item.css +16 -0
  75. package/dist/collection/components/pos-container-contents/pos-container-item.js +11 -1
  76. package/dist/collection/components/pos-container-contents/pos-container-item.js.map +1 -1
  77. package/dist/collection/components/pos-dialog/pos-dialog.css +35 -3
  78. package/dist/collection/components/pos-dialog/pos-dialog.js +1 -1
  79. package/dist/collection/components/pos-document/pos-document.css +5 -8
  80. package/dist/collection/components/pos-error-toast/pos-error-toast.js +1 -1
  81. package/dist/collection/components/pos-literals/pos-literals.css +1 -1
  82. package/dist/collection/components/pos-literals/pos-literals.js +1 -1
  83. package/dist/collection/components/pos-login/pos-login.js +1 -1
  84. package/dist/collection/components/pos-login-form/pos-login-form.css +6 -3
  85. package/dist/collection/components/pos-login-form/pos-login-form.js +1 -1
  86. package/dist/collection/components/pos-make-findable/pos-make-findable.css +6 -5
  87. package/dist/collection/components/pos-navigation-bar/pos-navigation-bar.css +7 -10
  88. package/dist/collection/components/pos-navigation-bar/pos-navigation-bar.js +1 -1
  89. package/dist/collection/components/pos-new-thing-form/pos-new-thing-form.css +11 -6
  90. package/dist/collection/components/pos-new-thing-form/pos-new-thing-form.js +1 -1
  91. package/dist/collection/components/pos-relations/pos-relations.css +1 -1
  92. package/dist/collection/components/pos-resource/pos-resource.css +11 -0
  93. package/dist/collection/components/pos-resource/pos-resource.js +12 -2
  94. package/dist/collection/components/pos-resource/pos-resource.js.map +1 -1
  95. package/dist/collection/components/pos-reverse-relations/pos-reverse-relations.css +1 -1
  96. package/dist/collection/components/pos-rich-link/pos-rich-link.css +4 -4
  97. package/dist/collection/components/pos-rich-link/pos-rich-link.js +2 -2
  98. package/dist/collection/components/pos-router/pos-router.js +1 -1
  99. package/dist/collection/components/pos-select-term/pos-select-term.css +2 -0
  100. package/dist/collection/components/pos-select-term/pos-select-term.js +1 -1
  101. package/dist/collection/components/pos-subjects/pos-subjects.css +1 -1
  102. package/dist/components/ion-card-content.js +40 -1
  103. package/dist/components/ion-card-content.js.map +1 -1
  104. package/dist/components/ion-card-header.js +47 -1
  105. package/dist/components/ion-card-header.js.map +1 -1
  106. package/dist/components/ion-card-title.js +44 -1
  107. package/dist/components/ion-card-title.js.map +1 -1
  108. package/dist/components/ion-card.js +95 -1
  109. package/dist/components/ion-card.js.map +1 -1
  110. package/dist/components/ion-col.js +184 -1
  111. package/dist/components/ion-col.js.map +1 -1
  112. package/dist/components/ion-grid.js +37 -1
  113. package/dist/components/ion-grid.js.map +1 -1
  114. package/dist/components/ion-input.js +566 -1
  115. package/dist/components/ion-input.js.map +1 -1
  116. package/dist/components/ion-row.js +30 -1
  117. package/dist/components/ion-row.js.map +1 -1
  118. package/dist/components/pos-add-literal-value2.js +5 -11
  119. package/dist/components/pos-add-literal-value2.js.map +1 -1
  120. package/dist/components/pos-add-new-thing2.js +2 -2
  121. package/dist/components/pos-add-new-thing2.js.map +1 -1
  122. package/dist/components/pos-app-browser.js +2 -20
  123. package/dist/components/pos-app-browser.js.map +1 -1
  124. package/dist/components/pos-app-dashboard2.js +3 -27
  125. package/dist/components/pos-app-dashboard2.js.map +1 -1
  126. package/dist/components/pos-app-document-viewer.js +13 -54
  127. package/dist/components/pos-app-document-viewer.js.map +1 -1
  128. package/dist/components/pos-app-generic.js +7 -37
  129. package/dist/components/pos-app-generic.js.map +1 -1
  130. package/dist/components/pos-app-image-viewer.js +16 -55
  131. package/dist/components/pos-app-image-viewer.js.map +1 -1
  132. package/dist/components/pos-app-ldp-container.js +17 -75
  133. package/dist/components/pos-app-ldp-container.js.map +1 -1
  134. package/dist/components/pos-app-rdf-document.js +17 -63
  135. package/dist/components/pos-app-rdf-document.js.map +1 -1
  136. package/dist/components/pos-app-settings2.js +2 -2
  137. package/dist/components/pos-app-settings2.js.map +1 -1
  138. package/dist/components/pos-app2.js +1 -1
  139. package/dist/components/pos-container-contents2.js +4 -40
  140. package/dist/components/pos-container-contents2.js.map +1 -1
  141. package/dist/components/pos-container-item2.js +7 -21
  142. package/dist/components/pos-container-item2.js.map +1 -1
  143. package/dist/components/pos-dialog2.js +2 -2
  144. package/dist/components/pos-dialog2.js.map +1 -1
  145. package/dist/components/pos-document2.js +1 -1
  146. package/dist/components/pos-document2.js.map +1 -1
  147. package/dist/components/pos-error-toast2.js +1 -1
  148. package/dist/components/pos-example-resources2.js +3 -27
  149. package/dist/components/pos-example-resources2.js.map +1 -1
  150. package/dist/components/pos-getting-started2.js +1 -1
  151. package/dist/components/pos-getting-started2.js.map +1 -1
  152. package/dist/components/pos-internal-router2.js +2 -26
  153. package/dist/components/pos-internal-router2.js.map +1 -1
  154. package/dist/components/pos-literals2.js +4 -10
  155. package/dist/components/pos-literals2.js.map +1 -1
  156. package/dist/components/pos-login-form2.js +2 -2
  157. package/dist/components/pos-login-form2.js.map +1 -1
  158. package/dist/components/pos-login2.js +5 -29
  159. package/dist/components/pos-login2.js.map +1 -1
  160. package/dist/components/pos-make-findable2.js +3 -27
  161. package/dist/components/pos-make-findable2.js.map +1 -1
  162. package/dist/components/pos-navigation-bar2.js +6 -30
  163. package/dist/components/pos-navigation-bar2.js.map +1 -1
  164. package/dist/components/pos-new-thing-form2.js +2 -2
  165. package/dist/components/pos-new-thing-form2.js.map +1 -1
  166. package/dist/components/pos-relations2.js +5 -29
  167. package/dist/components/pos-relations2.js.map +1 -1
  168. package/dist/components/pos-resource2.js +8 -28
  169. package/dist/components/pos-resource2.js.map +1 -1
  170. package/dist/components/pos-reverse-relations2.js +5 -29
  171. package/dist/components/pos-reverse-relations2.js.map +1 -1
  172. package/dist/components/pos-rich-link2.js +5 -29
  173. package/dist/components/pos-rich-link2.js.map +1 -1
  174. package/dist/components/pos-router2.js +1 -1
  175. package/dist/components/pos-select-term2.js +2 -2
  176. package/dist/components/pos-select-term2.js.map +1 -1
  177. package/dist/components/pos-setting-offline-cache2.js +2 -2
  178. package/dist/components/pos-setting-offline-cache2.js.map +1 -1
  179. package/dist/components/pos-subjects2.js +3 -27
  180. package/dist/components/pos-subjects2.js.map +1 -1
  181. package/dist/elements/elements.css +21 -1
  182. package/dist/elements/elements.esm.js +1 -1
  183. package/dist/elements/elements.esm.js.map +1 -1
  184. package/dist/elements/p-0017dc14.entry.js +2 -0
  185. package/dist/elements/p-0017dc14.entry.js.map +1 -0
  186. package/dist/elements/p-01981011.entry.js +2 -0
  187. package/dist/elements/{p-62a60344.entry.js.map → p-01981011.entry.js.map} +1 -1
  188. package/dist/elements/p-05fff093.entry.js +2 -0
  189. package/dist/elements/{p-2e13f1ea.entry.js.map → p-05fff093.entry.js.map} +1 -1
  190. package/dist/elements/{p-4cb77968.js → p-061819d1.js} +6 -6
  191. package/dist/elements/p-07773ed5.entry.js +2 -0
  192. package/dist/elements/p-07773ed5.entry.js.map +1 -0
  193. package/dist/elements/p-07d2bd5a.entry.js +2 -0
  194. package/dist/elements/p-07d2bd5a.entry.js.map +1 -0
  195. package/dist/elements/{p-68fa0553.entry.js → p-09d80405.entry.js} +2 -2
  196. package/dist/elements/{p-fb766a59.entry.js → p-0b4204e3.entry.js} +2 -2
  197. package/dist/elements/p-0b4204e3.entry.js.map +1 -0
  198. package/dist/elements/p-0ddcbecd.entry.js +2 -0
  199. package/dist/elements/p-0ddcbecd.entry.js.map +1 -0
  200. package/dist/elements/p-0f7379bc.entry.js +2 -0
  201. package/dist/elements/p-0f7379bc.entry.js.map +1 -0
  202. package/dist/elements/p-1b2d32c1.entry.js +2 -0
  203. package/dist/elements/p-1b2d32c1.entry.js.map +1 -0
  204. package/dist/elements/{p-f1a6f6f2.js → p-1fc8e557.js} +2 -2
  205. package/dist/elements/{p-196197ab.entry.js → p-239442f9.entry.js} +2 -2
  206. package/dist/elements/{p-2d5448aa.entry.js → p-250d4bf1.entry.js} +2 -2
  207. package/dist/elements/{p-a3726198.entry.js → p-25926b66.entry.js} +2 -2
  208. package/dist/elements/{p-da0cfe0c.entry.js → p-266d2934.entry.js} +2 -2
  209. package/dist/elements/{p-13d85a0a.entry.js → p-2a548485.entry.js} +2 -2
  210. package/dist/elements/{p-d016e7e0.entry.js → p-2f0509be.entry.js} +2 -2
  211. package/dist/elements/{p-ec0d5d03.entry.js → p-300ec095.entry.js} +3 -3
  212. package/dist/elements/{p-34d3ff03.js → p-307d1531.js} +3 -3
  213. package/dist/elements/p-3e6ffc13.entry.js +5 -0
  214. package/dist/elements/p-3e6ffc13.entry.js.map +1 -0
  215. package/dist/elements/p-406df11a.entry.js +2 -0
  216. package/dist/elements/p-406df11a.entry.js.map +1 -0
  217. package/dist/elements/{p-b725d322.entry.js → p-41854c8f.entry.js} +2 -2
  218. package/dist/elements/{p-609cf34b.entry.js → p-41bb9792.entry.js} +2 -2
  219. package/dist/elements/{p-ad32e711.js → p-42169e41.js} +2 -2
  220. package/dist/elements/{p-b58ed3d9.entry.js → p-4383e1bb.entry.js} +2 -2
  221. package/dist/elements/{p-df24c396.entry.js → p-49fcec88.entry.js} +2 -2
  222. package/dist/elements/{p-1b971594.entry.js → p-4a370bdc.entry.js} +2 -2
  223. package/dist/elements/p-4c078751.entry.js +2 -0
  224. package/dist/elements/p-4c078751.entry.js.map +1 -0
  225. package/dist/elements/p-4c78c8c9.js +5 -0
  226. package/dist/elements/p-4ccdbcbf.entry.js +2 -0
  227. package/dist/elements/p-4ccdbcbf.entry.js.map +1 -0
  228. package/dist/elements/{p-a8afe4ef.entry.js → p-4dd65d40.entry.js} +2 -2
  229. package/dist/elements/p-523432d1.js +2 -0
  230. package/dist/elements/p-5441ae35.entry.js +2 -0
  231. package/dist/elements/{p-8b22dca0.entry.js.map → p-5441ae35.entry.js.map} +1 -1
  232. package/dist/elements/{p-8a61526b.entry.js → p-552a9992.entry.js} +2 -2
  233. package/dist/elements/{p-66812011.entry.js → p-59ec8b76.entry.js} +2 -2
  234. package/dist/elements/{p-0cf27008.entry.js → p-5bf40440.entry.js} +2 -2
  235. package/dist/elements/{p-714cb336.entry.js → p-6119b57a.entry.js} +2 -2
  236. package/dist/elements/{p-d3e26e17.entry.js → p-627826b0.entry.js} +2 -2
  237. package/dist/elements/{p-3e1b5fc4.entry.js → p-645632a8.entry.js} +4 -4
  238. package/dist/elements/{p-aca8e982.entry.js → p-66973c59.entry.js} +2 -2
  239. package/dist/elements/{p-097747f2.entry.js → p-66a58eb0.entry.js} +2 -2
  240. package/dist/elements/{p-3bf6d7b8.entry.js → p-6cc9961e.entry.js} +2 -2
  241. package/dist/elements/p-71835d6f.entry.js +2 -0
  242. package/dist/elements/{p-970fce25.entry.js.map → p-71835d6f.entry.js.map} +1 -1
  243. package/dist/elements/p-7183a9ca.entry.js +2 -0
  244. package/dist/elements/p-7183a9ca.entry.js.map +1 -0
  245. package/dist/elements/p-7190d53c.entry.js +2 -0
  246. package/dist/elements/p-7190d53c.entry.js.map +1 -0
  247. package/dist/elements/{p-25270f1a.js → p-71ee259b.js} +2 -2
  248. package/dist/elements/{p-6189fb02.entry.js → p-72a9cbdc.entry.js} +2 -2
  249. package/dist/elements/{p-3ab4f8b6.js → p-734e5a97.js} +2 -2
  250. package/dist/elements/p-7e8b8df1.entry.js +2 -0
  251. package/dist/elements/p-7e8b8df1.entry.js.map +1 -0
  252. package/dist/elements/p-7f53778f.entry.js +2 -0
  253. package/dist/elements/{p-ec9d0fd2.entry.js → p-87c81685.entry.js} +2 -2
  254. package/dist/elements/{p-163e3e87.js → p-89aef852.js} +2 -2
  255. package/dist/elements/p-89c7559b.entry.js +20 -0
  256. package/dist/elements/p-89c7559b.entry.js.map +1 -0
  257. package/dist/elements/{p-a9478dc1.entry.js → p-8b209e66.entry.js} +2 -2
  258. package/dist/elements/p-8e8881a8.entry.js +2 -0
  259. package/dist/elements/p-8e8881a8.entry.js.map +1 -0
  260. package/dist/elements/{p-9a3d973e.entry.js → p-8f6d1cbe.entry.js} +2 -2
  261. package/dist/elements/p-932de51e.js +8 -0
  262. package/dist/elements/{p-20e2e8c1.js → p-949b115f.js} +2 -2
  263. package/dist/elements/p-95161a5d.entry.js +2 -0
  264. package/dist/elements/{p-1df0edde.entry.js.map → p-95161a5d.entry.js.map} +1 -1
  265. package/dist/elements/p-9a4bf79e.entry.js +2 -0
  266. package/dist/elements/p-9a4bf79e.entry.js.map +1 -0
  267. package/dist/elements/p-a06d93c7.entry.js +2 -0
  268. package/dist/elements/{p-1651e9a7.entry.js.map → p-a06d93c7.entry.js.map} +1 -1
  269. package/dist/elements/p-a08f0446.entry.js +2 -0
  270. package/dist/elements/p-a08f0446.entry.js.map +1 -0
  271. package/dist/elements/p-a13569cf.entry.js +2 -0
  272. package/dist/elements/{p-76351ab7.entry.js → p-a376351f.entry.js} +2 -2
  273. package/dist/elements/p-a37a2712.js +5 -0
  274. package/dist/elements/p-a421bbe5.entry.js +2 -0
  275. package/dist/elements/{p-abed69a9.entry.js.map → p-a421bbe5.entry.js.map} +1 -1
  276. package/dist/elements/p-a45b1964.entry.js +2 -0
  277. package/dist/elements/p-a45b1964.entry.js.map +1 -0
  278. package/dist/elements/p-a507d627.entry.js +2 -0
  279. package/dist/elements/p-a507d627.entry.js.map +1 -0
  280. package/dist/elements/{p-f7490d6e.js → p-a6c03ce8.js} +2 -2
  281. package/dist/elements/p-ae984107.entry.js +2 -0
  282. package/dist/elements/p-ae984107.entry.js.map +1 -0
  283. package/dist/elements/{p-a9df5a3a.entry.js → p-b5f6b322.entry.js} +2 -2
  284. package/dist/elements/{p-00c6a8f5.entry.js → p-b64a85bf.entry.js} +2 -2
  285. package/dist/elements/{p-fa63a2cc.entry.js → p-b8bd7745.entry.js} +2 -2
  286. package/dist/elements/{p-dc0cae0c.js → p-b9dcf3b2.js} +2 -2
  287. package/dist/elements/{p-bf16fe9d.entry.js → p-bc675b21.entry.js} +2 -2
  288. package/dist/elements/p-bca341ba.entry.js +2 -0
  289. package/dist/elements/p-bdea20c4.entry.js +2 -0
  290. package/dist/elements/{p-d0c67d7c.entry.js.map → p-bdea20c4.entry.js.map} +1 -1
  291. package/dist/elements/p-c01a4a79.entry.js +2 -0
  292. package/dist/elements/{p-c0ad1e98.entry.js.map → p-c01a4a79.entry.js.map} +1 -1
  293. package/dist/elements/{p-6183b212.entry.js → p-c186950b.entry.js} +2 -2
  294. package/dist/elements/{p-bb3054a3.js → p-c191e6df.js} +8 -8
  295. package/dist/elements/{p-b90da7d9.entry.js → p-c350af00.entry.js} +2 -2
  296. package/dist/elements/p-c452a2e9.js +5 -0
  297. package/dist/elements/{p-b250dee1.entry.js → p-c698ab8e.entry.js} +3 -3
  298. package/dist/elements/{p-33b22cc6.entry.js → p-c9604122.entry.js} +2 -2
  299. package/dist/elements/p-cb550d04.entry.js +2 -0
  300. package/dist/elements/{p-c21dcd46.entry.js.map → p-cb550d04.entry.js.map} +1 -1
  301. package/dist/elements/{p-b25dd1f1.js → p-cbae963d.js} +3 -3
  302. package/dist/elements/{p-592177e8.js → p-cbf050d6.js} +2 -2
  303. package/dist/elements/p-d08312dd.entry.js +2 -0
  304. package/dist/elements/{p-c6c9f7e0.entry.js.map → p-d08312dd.entry.js.map} +1 -1
  305. package/dist/elements/{p-4d6e48bf.js → p-d1e7b393.js} +2 -2
  306. package/dist/elements/{p-34f376f2.entry.js → p-d358565a.entry.js} +2 -2
  307. package/dist/elements/{p-dcd16290.js → p-d61d280b.js} +3 -3
  308. package/dist/elements/{p-04c9fe91.entry.js → p-d6394ee4.entry.js} +3 -3
  309. package/dist/elements/{p-0cdbd05c.entry.js → p-d8818bb3.entry.js} +2 -2
  310. package/dist/elements/{p-17cb620a.js → p-da0d920d.js} +2 -2
  311. package/dist/elements/{p-b9e14ed6.entry.js → p-dadb557e.entry.js} +4 -4
  312. package/dist/elements/{p-2bb537fb.entry.js → p-dc709055.entry.js} +2 -2
  313. package/dist/elements/{p-0ffd76fc.entry.js → p-e0de7c6a.entry.js} +2 -2
  314. package/dist/elements/{p-bcd11997.entry.js → p-e78cf007.entry.js} +2 -2
  315. package/dist/elements/{p-dcd0a40c.entry.js → p-e8268c7a.entry.js} +2 -2
  316. package/dist/elements/p-eba70ed1.js +6 -0
  317. package/dist/elements/{p-1c44ef41.entry.js → p-f4035b4a.entry.js} +2 -2
  318. package/dist/elements/{p-de2c14be.entry.js → p-f40b3ec6.entry.js} +2 -2
  319. package/dist/elements/{p-e04e65b9.entry.js → p-f50c3045.entry.js} +2 -2
  320. package/dist/elements/p-f67bba50.js +5 -0
  321. package/dist/elements/{p-2d13e141.entry.js → p-f96384f2.entry.js} +2 -2
  322. package/dist/elements/p-fa0be1d8.entry.js +2 -0
  323. package/dist/elements/p-fa0be1d8.entry.js.map +1 -0
  324. package/dist/elements/{p-925bb96a.entry.js → p-fa19a3e9.entry.js} +2 -2
  325. package/dist/elements/p-facc0ac5.entry.js +2 -0
  326. package/dist/elements/{p-5d1eb685.entry.js.map → p-facc0ac5.entry.js.map} +1 -1
  327. package/dist/elements/{p-ab68c761.entry.js → p-ffa8c481.entry.js} +2 -2
  328. package/dist/esm/{BrokenFile-f46cbf25.js → BrokenFile-d387a173.js} +2 -2
  329. package/dist/esm/{BrokenFile-f46cbf25.js.map → BrokenFile-d387a173.js.map} +1 -1
  330. package/dist/esm/{animation-8c622dae.js → animation-43b39c85.js} +2 -2
  331. package/dist/esm/{animation-8c622dae.js.map → animation-43b39c85.js.map} +1 -1
  332. package/dist/esm/{app-globals-04af85f0.js → app-globals-f420d326.js} +2 -2
  333. package/dist/esm/{app-globals-04af85f0.js.map → app-globals-f420d326.js.map} +1 -1
  334. package/dist/esm/elements.js +5 -5
  335. package/dist/esm/{form-controller-1f70ed52.js → form-controller-3b50bf52.js} +2 -2
  336. package/dist/esm/{form-controller-1f70ed52.js.map → form-controller-3b50bf52.js.map} +1 -1
  337. package/dist/esm/{framework-delegate-b5751311.js → framework-delegate-c5179013.js} +2 -2
  338. package/dist/esm/{framework-delegate-b5751311.js.map → framework-delegate-c5179013.js.map} +1 -1
  339. package/dist/esm/{hardware-back-button-41efa076.js → hardware-back-button-12e771ad.js} +3 -3
  340. package/dist/esm/{hardware-back-button-41efa076.js.map → hardware-back-button-12e771ad.js.map} +1 -1
  341. package/dist/esm/{helpers-a93a8cd2.js → helpers-c51da066.js} +2 -2
  342. package/dist/esm/{helpers-a93a8cd2.js.map → helpers-c51da066.js.map} +1 -1
  343. package/dist/esm/{index-432e7c6f.js → index-12e18dab.js} +2 -2
  344. package/dist/esm/{index-432e7c6f.js.map → index-12e18dab.js.map} +1 -1
  345. package/dist/esm/{index-2ac08fda.js → index-7462d21e.js} +5 -5
  346. package/dist/esm/{index-2ac08fda.js.map → index-7462d21e.js.map} +1 -1
  347. package/dist/esm/{index-f69a875d.js → index-842e2941.js} +2 -2
  348. package/dist/esm/{index-f69a875d.js.map → index-842e2941.js.map} +1 -1
  349. package/dist/esm/{index-4fdc2561.js → index-9725d917.js} +2 -2
  350. package/dist/esm/{index-4fdc2561.js.map → index-9725d917.js.map} +1 -1
  351. package/dist/esm/{index-d511bcdc.js → index-ccbcf170.js} +5 -5
  352. package/dist/esm/{index-d511bcdc.js.map → index-ccbcf170.js.map} +1 -1
  353. package/dist/esm/{input-shims-212ee02f.js → input-shims-0cb1bad1.js} +3 -3
  354. package/dist/esm/{input-shims-212ee02f.js.map → input-shims-0cb1bad1.js.map} +1 -1
  355. package/dist/esm/{input.utils-d2c917c3.js → input.utils-0e2bf61a.js} +2 -2
  356. package/dist/esm/{input.utils-d2c917c3.js.map → input.utils-0e2bf61a.js.map} +1 -1
  357. package/dist/esm/ion-accordion-group.entry.js +2 -2
  358. package/dist/esm/ion-accordion.entry.js +3 -3
  359. package/dist/esm/ion-action-sheet_3.entry.js +7 -7
  360. package/dist/esm/ion-app.entry.js +7 -7
  361. package/dist/esm/ion-avatar.entry.js +2 -2
  362. package/dist/esm/ion-back-button.entry.js +3 -3
  363. package/dist/esm/ion-backdrop.entry.js +2 -2
  364. package/dist/esm/ion-badge_5.entry.js +179 -0
  365. package/dist/esm/ion-badge_5.entry.js.map +1 -0
  366. package/dist/esm/ion-breadcrumb.entry.js +3 -3
  367. package/dist/esm/ion-breadcrumbs.entry.js +2 -2
  368. package/dist/esm/ion-button_4.entry.js +3 -3
  369. package/dist/{components/card-content.js → esm/ion-card-content.entry.js} +12 -26
  370. package/dist/esm/ion-card-content.entry.js.map +1 -0
  371. package/dist/{components/card-header.js → esm/ion-card-header.entry.js} +13 -31
  372. package/dist/esm/ion-card-header.entry.js.map +1 -0
  373. package/dist/esm/ion-card-subtitle.entry.js +2 -2
  374. package/dist/{components/card-title.js → esm/ion-card-title.entry.js} +13 -30
  375. package/dist/esm/ion-card-title.entry.js.map +1 -0
  376. package/dist/{components/card.js → esm/ion-card.entry.js} +15 -47
  377. package/dist/esm/ion-card.entry.js.map +1 -0
  378. package/dist/esm/{ion-checkbox_6.entry.js → ion-checkbox_7.entry.js} +280 -8
  379. package/dist/esm/ion-checkbox_7.entry.js.map +1 -0
  380. package/dist/esm/ion-chip.entry.js +2 -2
  381. package/dist/{components/col.js → esm/ion-col.entry.js} +9 -49
  382. package/dist/esm/ion-col.entry.js.map +1 -0
  383. package/dist/esm/ion-content.entry.js +3 -3
  384. package/dist/esm/ion-datetime-button.entry.js +3 -3
  385. package/dist/esm/ion-datetime.entry.js +3 -3
  386. package/dist/esm/ion-fab-button.entry.js +3 -3
  387. package/dist/esm/ion-fab-list.entry.js +2 -2
  388. package/dist/esm/ion-fab.entry.js +2 -2
  389. package/dist/esm/ion-footer.entry.js +4 -4
  390. package/dist/{components/grid.js → esm/ion-grid.entry.js} +9 -26
  391. package/dist/esm/ion-grid.entry.js.map +1 -0
  392. package/dist/esm/ion-header.entry.js +4 -4
  393. package/dist/esm/{ion-card_34.entry.js → ion-icon_31.entry.js} +45 -150
  394. package/dist/esm/ion-icon_31.entry.js.map +1 -0
  395. package/dist/esm/ion-img.entry.js +3 -3
  396. package/dist/esm/ion-infinite-scroll-content.entry.js +2 -2
  397. package/dist/esm/ion-infinite-scroll.entry.js +4 -4
  398. package/dist/esm/{ion-input_2.entry.js → ion-input.entry.js} +8 -27
  399. package/dist/esm/ion-input.entry.js.map +1 -0
  400. package/dist/esm/ion-item-divider.entry.js +2 -2
  401. package/dist/esm/ion-item-group.entry.js +2 -2
  402. package/dist/esm/ion-item-option.entry.js +2 -2
  403. package/dist/esm/ion-item-options.entry.js +3 -3
  404. package/dist/esm/ion-item-sliding.entry.js +4 -4
  405. package/dist/esm/ion-loading.entry.js +7 -7
  406. package/dist/esm/ion-menu-button.entry.js +7 -7
  407. package/dist/esm/ion-menu-toggle.entry.js +7 -7
  408. package/dist/esm/ion-menu.entry.js +8 -8
  409. package/dist/esm/ion-modal.entry.js +9 -9
  410. package/dist/esm/ion-nav-link.entry.js +1 -1
  411. package/dist/esm/ion-nav.entry.js +6 -6
  412. package/dist/esm/ion-note.entry.js +30 -0
  413. package/dist/esm/ion-note.entry.js.map +1 -0
  414. package/dist/esm/ion-picker-column.entry.js +3 -3
  415. package/dist/esm/ion-picker.entry.js +7 -7
  416. package/dist/esm/ion-popover.entry.js +8 -8
  417. package/dist/esm/ion-range.entry.js +5 -5
  418. package/dist/esm/ion-refresher-content.entry.js +5 -5
  419. package/dist/esm/ion-refresher.entry.js +6 -6
  420. package/dist/esm/ion-reorder-group.entry.js +4 -4
  421. package/dist/esm/ion-reorder.entry.js +2 -2
  422. package/dist/esm/ion-route-redirect.entry.js +1 -1
  423. package/dist/esm/ion-route.entry.js +1 -1
  424. package/dist/esm/ion-router-link.entry.js +2 -2
  425. package/dist/esm/ion-router-outlet.entry.js +6 -6
  426. package/dist/esm/ion-router.entry.js +2 -2
  427. package/dist/esm/ion-row.entry.js +19 -0
  428. package/dist/esm/ion-row.entry.js.map +1 -0
  429. package/dist/esm/ion-segment-button.entry.js +3 -3
  430. package/dist/esm/ion-segment.entry.js +3 -3
  431. package/dist/esm/ion-select-option.entry.js +2 -2
  432. package/dist/esm/ion-select.entry.js +8 -8
  433. package/dist/esm/ion-spinner.entry.js +2 -2
  434. package/dist/esm/ion-split-pane.entry.js +2 -2
  435. package/dist/esm/ion-tab-bar.entry.js +2 -2
  436. package/dist/esm/ion-tab-button.entry.js +3 -3
  437. package/dist/esm/ion-tab.entry.js +3 -3
  438. package/dist/esm/ion-tabs.entry.js +1 -1
  439. package/dist/esm/ion-text.entry.js +2 -2
  440. package/dist/esm/ion-textarea.entry.js +6 -6
  441. package/dist/esm/ion-thumbnail.entry.js +2 -2
  442. package/dist/esm/ion-title.entry.js +2 -2
  443. package/dist/esm/ion-toggle.entry.js +4 -4
  444. package/dist/esm/ion-toolbar.entry.js +2 -2
  445. package/dist/esm/{ionic-global-df0a32a5.js → ionic-global-07f989af.js} +2 -2
  446. package/dist/esm/{ionic-global-df0a32a5.js.map → ionic-global-07f989af.js.map} +1 -1
  447. package/dist/esm/{ios.transition-82aca0a1.js → ios.transition-02b5b74a.js} +5 -5
  448. package/dist/esm/{ios.transition-82aca0a1.js.map → ios.transition-02b5b74a.js.map} +1 -1
  449. package/dist/esm/loader.js +5 -5
  450. package/dist/esm/{md.transition-8ab6c7b8.js → md.transition-0e6cf607.js} +5 -5
  451. package/dist/esm/{md.transition-8ab6c7b8.js.map → md.transition-0e6cf607.js.map} +1 -1
  452. package/dist/esm/{menu-toggle-util-1b366cd3.js → menu-toggle-util-6257f7b5.js} +2 -2
  453. package/dist/esm/{menu-toggle-util-1b366cd3.js.map → menu-toggle-util-6257f7b5.js.map} +1 -1
  454. package/dist/esm/{notch-controller-ae856621.js → notch-controller-79926902.js} +2 -2
  455. package/dist/esm/{notch-controller-ae856621.js.map → notch-controller-79926902.js.map} +1 -1
  456. package/dist/esm/{overlays-75a54062.js → overlays-ef03d5bd.js} +5 -5
  457. package/dist/esm/{overlays-75a54062.js.map → overlays-ef03d5bd.js.map} +1 -1
  458. package/dist/esm/pos-app-document-viewer.entry.js +9 -2
  459. package/dist/esm/pos-app-document-viewer.entry.js.map +1 -1
  460. package/dist/esm/pos-app-generic.entry.js +2 -2
  461. package/dist/esm/pos-app-generic.entry.js.map +1 -1
  462. package/dist/esm/pos-app-image-viewer.entry.js +12 -3
  463. package/dist/esm/pos-app-image-viewer.entry.js.map +1 -1
  464. package/dist/esm/pos-app-ldp-container.entry.js +9 -2
  465. package/dist/esm/pos-app-ldp-container.entry.js.map +1 -1
  466. package/dist/esm/pos-app-rdf-document.entry.js +9 -2
  467. package/dist/esm/pos-app-rdf-document.entry.js.map +1 -1
  468. package/dist/esm/pos-container-contents.entry.js +1 -1
  469. package/dist/esm/pos-container-contents.entry.js.map +1 -1
  470. package/dist/esm/pos-container-item.entry.js +6 -2
  471. package/dist/esm/pos-container-item.entry.js.map +1 -1
  472. package/dist/esm/pos-document.entry.js +3 -3
  473. package/dist/esm/pos-document.entry.js.map +1 -1
  474. package/dist/esm/pos-relations_2.entry.js +3 -3
  475. package/dist/esm/pos-relations_2.entry.js.map +1 -1
  476. package/dist/esm/pos-subjects.entry.js +2 -2
  477. package/dist/esm/pos-subjects.entry.js.map +1 -1
  478. package/dist/esm/pos-value.entry.js +1 -1
  479. package/dist/esm/{refresher.utils-b1770bf3.js → refresher.utils-d191622d.js} +4 -4
  480. package/dist/esm/{refresher.utils-b1770bf3.js.map → refresher.utils-d191622d.js.map} +1 -1
  481. package/dist/esm/{status-tap-e14d7459.js → status-tap-cdf580e7.js} +4 -4
  482. package/dist/esm/{status-tap-e14d7459.js.map → status-tap-cdf580e7.js.map} +1 -1
  483. package/dist/esm/{swipe-back-5993fe10.js → swipe-back-698e6532.js} +2 -2
  484. package/dist/esm/{swipe-back-5993fe10.js.map → swipe-back-698e6532.js.map} +1 -1
  485. package/package.json +1 -1
  486. package/dist/cjs/ion-badge_8.cjs.entry.js +0 -368
  487. package/dist/cjs/ion-badge_8.cjs.entry.js.map +0 -1
  488. package/dist/cjs/ion-card_34.cjs.entry.js.map +0 -1
  489. package/dist/cjs/ion-checkbox_6.cjs.entry.js.map +0 -1
  490. package/dist/cjs/ion-input_2.cjs.entry.js.map +0 -1
  491. package/dist/cjs/ion-item_2.cjs.entry.js +0 -309
  492. package/dist/cjs/ion-item_2.cjs.entry.js.map +0 -1
  493. package/dist/components/card-content.js.map +0 -1
  494. package/dist/components/card-header.js.map +0 -1
  495. package/dist/components/card-title.js.map +0 -1
  496. package/dist/components/card.js.map +0 -1
  497. package/dist/components/col.js.map +0 -1
  498. package/dist/components/grid.js.map +0 -1
  499. package/dist/components/input.js +0 -570
  500. package/dist/components/input.js.map +0 -1
  501. package/dist/components/row.js +0 -34
  502. package/dist/components/row.js.map +0 -1
  503. package/dist/elements/p-012323aa.entry.js +0 -2
  504. package/dist/elements/p-012323aa.entry.js.map +0 -1
  505. package/dist/elements/p-06d453ad.entry.js +0 -2
  506. package/dist/elements/p-06d453ad.entry.js.map +0 -1
  507. package/dist/elements/p-07df0400.entry.js +0 -2
  508. package/dist/elements/p-07df0400.entry.js.map +0 -1
  509. package/dist/elements/p-1651e9a7.entry.js +0 -2
  510. package/dist/elements/p-1df0edde.entry.js +0 -2
  511. package/dist/elements/p-2e13f1ea.entry.js +0 -2
  512. package/dist/elements/p-305e6eb1.entry.js +0 -2
  513. package/dist/elements/p-305e6eb1.entry.js.map +0 -1
  514. package/dist/elements/p-39c3380c.entry.js +0 -2
  515. package/dist/elements/p-39c3380c.entry.js.map +0 -1
  516. package/dist/elements/p-4a049a02.entry.js +0 -2
  517. package/dist/elements/p-59feb185.js +0 -5
  518. package/dist/elements/p-5d1eb685.entry.js +0 -2
  519. package/dist/elements/p-62a60344.entry.js +0 -2
  520. package/dist/elements/p-780ee959.entry.js +0 -2
  521. package/dist/elements/p-7a563988.js +0 -5
  522. package/dist/elements/p-8206b1f1.js +0 -6
  523. package/dist/elements/p-8b22dca0.entry.js +0 -2
  524. package/dist/elements/p-968b8bef.entry.js +0 -2
  525. package/dist/elements/p-968b8bef.entry.js.map +0 -1
  526. package/dist/elements/p-970fce25.entry.js +0 -2
  527. package/dist/elements/p-a3af481c.js +0 -5
  528. package/dist/elements/p-a4b77d8f.entry.js +0 -2
  529. package/dist/elements/p-a4b77d8f.entry.js.map +0 -1
  530. package/dist/elements/p-abed69a9.entry.js +0 -2
  531. package/dist/elements/p-bed596af.entry.js +0 -2
  532. package/dist/elements/p-bed596af.entry.js.map +0 -1
  533. package/dist/elements/p-bfaa6328.entry.js +0 -2
  534. package/dist/elements/p-bfaa6328.entry.js.map +0 -1
  535. package/dist/elements/p-c0ad1e98.entry.js +0 -2
  536. package/dist/elements/p-c21dcd46.entry.js +0 -2
  537. package/dist/elements/p-c2690129.js +0 -5
  538. package/dist/elements/p-c6c9f7e0.entry.js +0 -2
  539. package/dist/elements/p-ca453b3d.js +0 -8
  540. package/dist/elements/p-d0c67d7c.entry.js +0 -2
  541. package/dist/elements/p-d0fad707.entry.js +0 -2
  542. package/dist/elements/p-d0fad707.entry.js.map +0 -1
  543. package/dist/elements/p-d80f77af.entry.js +0 -2
  544. package/dist/elements/p-defde894.entry.js +0 -2
  545. package/dist/elements/p-defde894.entry.js.map +0 -1
  546. package/dist/elements/p-e11f2e70.entry.js +0 -20
  547. package/dist/elements/p-e11f2e70.entry.js.map +0 -1
  548. package/dist/elements/p-e41c7c26.entry.js +0 -5
  549. package/dist/elements/p-e41c7c26.entry.js.map +0 -1
  550. package/dist/elements/p-f02106b8.entry.js +0 -2
  551. package/dist/elements/p-f02106b8.entry.js.map +0 -1
  552. package/dist/elements/p-f0d9cf91.js +0 -2
  553. package/dist/elements/p-fb766a59.entry.js.map +0 -1
  554. package/dist/esm/ion-badge_8.entry.js +0 -357
  555. package/dist/esm/ion-badge_8.entry.js.map +0 -1
  556. package/dist/esm/ion-card_34.entry.js.map +0 -1
  557. package/dist/esm/ion-checkbox_6.entry.js.map +0 -1
  558. package/dist/esm/ion-input_2.entry.js.map +0 -1
  559. package/dist/esm/ion-item_2.entry.js +0 -304
  560. package/dist/esm/ion-item_2.entry.js.map +0 -1
  561. /package/dist/elements/{p-4cb77968.js.map → p-061819d1.js.map} +0 -0
  562. /package/dist/elements/{p-68fa0553.entry.js.map → p-09d80405.entry.js.map} +0 -0
  563. /package/dist/elements/{p-f1a6f6f2.js.map → p-1fc8e557.js.map} +0 -0
  564. /package/dist/elements/{p-196197ab.entry.js.map → p-239442f9.entry.js.map} +0 -0
  565. /package/dist/elements/{p-2d5448aa.entry.js.map → p-250d4bf1.entry.js.map} +0 -0
  566. /package/dist/elements/{p-a3726198.entry.js.map → p-25926b66.entry.js.map} +0 -0
  567. /package/dist/elements/{p-da0cfe0c.entry.js.map → p-266d2934.entry.js.map} +0 -0
  568. /package/dist/elements/{p-13d85a0a.entry.js.map → p-2a548485.entry.js.map} +0 -0
  569. /package/dist/elements/{p-d016e7e0.entry.js.map → p-2f0509be.entry.js.map} +0 -0
  570. /package/dist/elements/{p-ec0d5d03.entry.js.map → p-300ec095.entry.js.map} +0 -0
  571. /package/dist/elements/{p-34d3ff03.js.map → p-307d1531.js.map} +0 -0
  572. /package/dist/elements/{p-b725d322.entry.js.map → p-41854c8f.entry.js.map} +0 -0
  573. /package/dist/elements/{p-609cf34b.entry.js.map → p-41bb9792.entry.js.map} +0 -0
  574. /package/dist/elements/{p-ad32e711.js.map → p-42169e41.js.map} +0 -0
  575. /package/dist/elements/{p-b58ed3d9.entry.js.map → p-4383e1bb.entry.js.map} +0 -0
  576. /package/dist/elements/{p-df24c396.entry.js.map → p-49fcec88.entry.js.map} +0 -0
  577. /package/dist/elements/{p-1b971594.entry.js.map → p-4a370bdc.entry.js.map} +0 -0
  578. /package/dist/elements/{p-c2690129.js.map → p-4c78c8c9.js.map} +0 -0
  579. /package/dist/elements/{p-a8afe4ef.entry.js.map → p-4dd65d40.entry.js.map} +0 -0
  580. /package/dist/elements/{p-f0d9cf91.js.map → p-523432d1.js.map} +0 -0
  581. /package/dist/elements/{p-8a61526b.entry.js.map → p-552a9992.entry.js.map} +0 -0
  582. /package/dist/elements/{p-66812011.entry.js.map → p-59ec8b76.entry.js.map} +0 -0
  583. /package/dist/elements/{p-0cf27008.entry.js.map → p-5bf40440.entry.js.map} +0 -0
  584. /package/dist/elements/{p-714cb336.entry.js.map → p-6119b57a.entry.js.map} +0 -0
  585. /package/dist/elements/{p-d3e26e17.entry.js.map → p-627826b0.entry.js.map} +0 -0
  586. /package/dist/elements/{p-3e1b5fc4.entry.js.map → p-645632a8.entry.js.map} +0 -0
  587. /package/dist/elements/{p-aca8e982.entry.js.map → p-66973c59.entry.js.map} +0 -0
  588. /package/dist/elements/{p-097747f2.entry.js.map → p-66a58eb0.entry.js.map} +0 -0
  589. /package/dist/elements/{p-3bf6d7b8.entry.js.map → p-6cc9961e.entry.js.map} +0 -0
  590. /package/dist/elements/{p-25270f1a.js.map → p-71ee259b.js.map} +0 -0
  591. /package/dist/elements/{p-6189fb02.entry.js.map → p-72a9cbdc.entry.js.map} +0 -0
  592. /package/dist/elements/{p-3ab4f8b6.js.map → p-734e5a97.js.map} +0 -0
  593. /package/dist/elements/{p-780ee959.entry.js.map → p-7f53778f.entry.js.map} +0 -0
  594. /package/dist/elements/{p-ec9d0fd2.entry.js.map → p-87c81685.entry.js.map} +0 -0
  595. /package/dist/elements/{p-163e3e87.js.map → p-89aef852.js.map} +0 -0
  596. /package/dist/elements/{p-a9478dc1.entry.js.map → p-8b209e66.entry.js.map} +0 -0
  597. /package/dist/elements/{p-9a3d973e.entry.js.map → p-8f6d1cbe.entry.js.map} +0 -0
  598. /package/dist/elements/{p-ca453b3d.js.map → p-932de51e.js.map} +0 -0
  599. /package/dist/elements/{p-20e2e8c1.js.map → p-949b115f.js.map} +0 -0
  600. /package/dist/elements/{p-d80f77af.entry.js.map → p-a13569cf.entry.js.map} +0 -0
  601. /package/dist/elements/{p-76351ab7.entry.js.map → p-a376351f.entry.js.map} +0 -0
  602. /package/dist/elements/{p-a3af481c.js.map → p-a37a2712.js.map} +0 -0
  603. /package/dist/elements/{p-f7490d6e.js.map → p-a6c03ce8.js.map} +0 -0
  604. /package/dist/elements/{p-a9df5a3a.entry.js.map → p-b5f6b322.entry.js.map} +0 -0
  605. /package/dist/elements/{p-00c6a8f5.entry.js.map → p-b64a85bf.entry.js.map} +0 -0
  606. /package/dist/elements/{p-fa63a2cc.entry.js.map → p-b8bd7745.entry.js.map} +0 -0
  607. /package/dist/elements/{p-dc0cae0c.js.map → p-b9dcf3b2.js.map} +0 -0
  608. /package/dist/elements/{p-bf16fe9d.entry.js.map → p-bc675b21.entry.js.map} +0 -0
  609. /package/dist/elements/{p-4a049a02.entry.js.map → p-bca341ba.entry.js.map} +0 -0
  610. /package/dist/elements/{p-6183b212.entry.js.map → p-c186950b.entry.js.map} +0 -0
  611. /package/dist/elements/{p-bb3054a3.js.map → p-c191e6df.js.map} +0 -0
  612. /package/dist/elements/{p-b90da7d9.entry.js.map → p-c350af00.entry.js.map} +0 -0
  613. /package/dist/elements/{p-7a563988.js.map → p-c452a2e9.js.map} +0 -0
  614. /package/dist/elements/{p-b250dee1.entry.js.map → p-c698ab8e.entry.js.map} +0 -0
  615. /package/dist/elements/{p-33b22cc6.entry.js.map → p-c9604122.entry.js.map} +0 -0
  616. /package/dist/elements/{p-b25dd1f1.js.map → p-cbae963d.js.map} +0 -0
  617. /package/dist/elements/{p-592177e8.js.map → p-cbf050d6.js.map} +0 -0
  618. /package/dist/elements/{p-4d6e48bf.js.map → p-d1e7b393.js.map} +0 -0
  619. /package/dist/elements/{p-34f376f2.entry.js.map → p-d358565a.entry.js.map} +0 -0
  620. /package/dist/elements/{p-dcd16290.js.map → p-d61d280b.js.map} +0 -0
  621. /package/dist/elements/{p-04c9fe91.entry.js.map → p-d6394ee4.entry.js.map} +0 -0
  622. /package/dist/elements/{p-0cdbd05c.entry.js.map → p-d8818bb3.entry.js.map} +0 -0
  623. /package/dist/elements/{p-17cb620a.js.map → p-da0d920d.js.map} +0 -0
  624. /package/dist/elements/{p-b9e14ed6.entry.js.map → p-dadb557e.entry.js.map} +0 -0
  625. /package/dist/elements/{p-2bb537fb.entry.js.map → p-dc709055.entry.js.map} +0 -0
  626. /package/dist/elements/{p-0ffd76fc.entry.js.map → p-e0de7c6a.entry.js.map} +0 -0
  627. /package/dist/elements/{p-bcd11997.entry.js.map → p-e78cf007.entry.js.map} +0 -0
  628. /package/dist/elements/{p-dcd0a40c.entry.js.map → p-e8268c7a.entry.js.map} +0 -0
  629. /package/dist/elements/{p-8206b1f1.js.map → p-eba70ed1.js.map} +0 -0
  630. /package/dist/elements/{p-1c44ef41.entry.js.map → p-f4035b4a.entry.js.map} +0 -0
  631. /package/dist/elements/{p-de2c14be.entry.js.map → p-f40b3ec6.entry.js.map} +0 -0
  632. /package/dist/elements/{p-e04e65b9.entry.js.map → p-f50c3045.entry.js.map} +0 -0
  633. /package/dist/elements/{p-59feb185.js.map → p-f67bba50.js.map} +0 -0
  634. /package/dist/elements/{p-2d13e141.entry.js.map → p-f96384f2.entry.js.map} +0 -0
  635. /package/dist/elements/{p-925bb96a.entry.js.map → p-fa19a3e9.entry.js.map} +0 -0
  636. /package/dist/elements/{p-ab68c761.entry.js.map → p-ffa8c481.entry.js.map} +0 -0
@@ -1 +1 @@
1
- {"version":3,"names":["segmentIosCss","IonSegmentIosStyle0","segmentMdCss","IonSegmentMdStyle0","Segment","constructor","hostRef","this","onClick","ev","current","target","previous","checked","tagName","value","emitValueChange","scrollable","swipeGesture","checkButton","setCheckedClasses","getSegmentButton","selector","_a","_b","buttons","getButtons","filter","button","disabled","currIndex","findIndex","document","activeElement","length","activated","color","undefined","selectOnFocus","colorChanged","oldValue","emitStyle","swipeGestureChanged","gestureChanged","valueChanged","ionSelect","emit","scrollActiveButtonIntoView","disabledChanged","gesture","enable","connectedCallback","componentWillLoad","componentDidLoad","raf","import","createGesture","el","gestureName","gesturePriority","threshold","passive","onStart","onMove","onEnd","detail","valueBeforeGesture","activate","setNextIndex","setActivated","event","stopImmediatePropagation","ionChange","Array","from","querySelectorAll","find","forEach","classList","add","remove","clicked","getIndicator","root","shadowRoot","querySelector","previousIndicator","currentIndicator","previousClientRect","getBoundingClientRect","currentClientRect","widthDelta","width","xPosition","left","transform","writeTask","style","setProperty","index","next","smoothScroll","activeButton","scrollContainerBox","activeButtonBox","activeButtonLeft","x","centeredX","scrollBy","top","behavior","isEnd","rtl","isRTL","nextIndex","rect","currentX","previousY","height","getRootNode","nextEl","elementFromPoint","decreaseIndex","increaseIndex","newIndex","ionStyle","segment","onKeyDown","keyDownSelectsButton","key","preventDefault","setFocus","render","mode","getIonMode","h","Host","role","class","createColorClasses","hostContext"],"sources":["../node_modules/@ionic/core/dist/collection/components/segment/segment.ios.css?tag=ion-segment&mode=ios&encapsulation=shadow","../node_modules/@ionic/core/dist/collection/components/segment/segment.md.css?tag=ion-segment&mode=md&encapsulation=shadow","../node_modules/@ionic/core/dist/collection/components/segment/segment.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 segment button\n */\n --ripple-color: currentColor;\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n display: grid;\n grid-auto-columns: 1fr;\n position: relative;\n align-items: stretch;\n justify-content: center;\n width: 100%;\n background: var(--background);\n font-family: var(--ion-font-family, inherit);\n text-align: center;\n contain: paint;\n user-select: none;\n}\n\n:host(.segment-scrollable) {\n justify-content: start;\n width: auto;\n overflow-x: auto;\n grid-auto-columns: minmax(min-content, 1fr);\n}\n\n:host(.segment-scrollable::-webkit-scrollbar) {\n display: none;\n}\n\n/**\n * Convert a font size to a dynamic font size.\n * Fonts that participate in Dynamic Type should use\n * dynamic font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param unit (optional) - The unit to convert to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a maximum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a minimum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * maximum and minimum font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * A heuristic that applies CSS to tablet\n * viewports.\n *\n * Usage:\n * @include tablet-viewport() {\n * :host {\n * background-color: green;\n * }\n * }\n */\n/**\n * A heuristic that applies CSS to mobile\n * viewports (i.e. phones, not tablets).\n *\n * Usage:\n * @include mobile-viewport() {\n * :host {\n * background-color: blue;\n * }\n * }\n */\n/**\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 --background: rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.065);\n border-radius: 8px;\n overflow: hidden;\n z-index: 0;\n}\n\n:host(.ion-color) {\n background: rgba(var(--ion-color-base-rgb), 0.065);\n}\n\n:host(.in-toolbar) {\n -webkit-margin-start: auto;\n margin-inline-start: auto;\n -webkit-margin-end: auto;\n margin-inline-end: auto;\n margin-top: 0;\n margin-bottom: 0;\n width: auto;\n}\n\n:host(.in-toolbar:not(.ion-color)) {\n background: var(--ion-toolbar-segment-background, var(--background));\n}\n\n:host(.in-toolbar-color:not(.ion-color)) {\n background: rgba(var(--ion-color-contrast-rgb), 0.11);\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 segment button\n */\n --ripple-color: currentColor;\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n display: grid;\n grid-auto-columns: 1fr;\n position: relative;\n align-items: stretch;\n justify-content: center;\n width: 100%;\n background: var(--background);\n font-family: var(--ion-font-family, inherit);\n text-align: center;\n contain: paint;\n user-select: none;\n}\n\n:host(.segment-scrollable) {\n justify-content: start;\n width: auto;\n overflow-x: auto;\n grid-auto-columns: minmax(min-content, 1fr);\n}\n\n:host(.segment-scrollable::-webkit-scrollbar) {\n display: none;\n}\n\n/**\n * Convert a font size to a dynamic font size.\n * Fonts that participate in Dynamic Type should use\n * dynamic font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param unit (optional) - The unit to convert to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a maximum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a minimum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * maximum and minimum font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * A heuristic that applies CSS to tablet\n * viewports.\n *\n * Usage:\n * @include tablet-viewport() {\n * :host {\n * background-color: green;\n * }\n * }\n */\n/**\n * A heuristic that applies CSS to mobile\n * viewports (i.e. phones, not tablets).\n *\n * Usage:\n * @include mobile-viewport() {\n * :host {\n * background-color: blue;\n * }\n * }\n */\n/**\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 --background: transparent;\n grid-auto-columns: minmax(auto, 360px);\n}\n\n:host(.in-toolbar) {\n /**\n * Segment should inherit the\n * height of the toolbar.\n * Note: --min-height is initially\n * set on ion-toolbar, not ion-segment\n */\n min-height: var(--min-height);\n}\n\n:host(.segment-scrollable) ::slotted(ion-segment-button) {\n min-width: auto;\n}","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { Host, h, writeTask } from \"@stencil/core\";\nimport { raf } from \"../../utils/helpers\";\nimport { isRTL } from \"../../utils/rtl/index\";\nimport { createColorClasses, hostContext } from \"../../utils/theme\";\nimport { getIonMode } from \"../../global/ionic-global\";\n/**\n * @virtualProp {\"ios\" | \"md\"} mode - The mode determines which platform styles to use.\n */\nexport class Segment {\n constructor() {\n this.onClick = (ev) => {\n const current = ev.target;\n const previous = this.checked;\n // If the current element is a segment then that means\n // the user tried to swipe to a segment button and\n // click a segment button at the same time so we should\n // not update the checked segment button\n if (current.tagName === 'ION-SEGMENT') {\n return;\n }\n this.value = current.value;\n if (current !== previous) {\n this.emitValueChange();\n }\n if (this.scrollable || !this.swipeGesture) {\n if (previous) {\n this.checkButton(previous, current);\n }\n else {\n this.setCheckedClasses();\n }\n }\n };\n this.getSegmentButton = (selector) => {\n var _a, _b;\n const buttons = this.getButtons().filter((button) => !button.disabled);\n const currIndex = buttons.findIndex((button) => button === document.activeElement);\n switch (selector) {\n case 'first':\n return buttons[0];\n case 'last':\n return buttons[buttons.length - 1];\n case 'next':\n return (_a = buttons[currIndex + 1]) !== null && _a !== void 0 ? _a : buttons[0];\n case 'previous':\n return (_b = buttons[currIndex - 1]) !== null && _b !== void 0 ? _b : buttons[buttons.length - 1];\n default:\n return null;\n }\n };\n this.activated = false;\n this.color = undefined;\n this.disabled = false;\n this.scrollable = false;\n this.swipeGesture = true;\n this.value = undefined;\n this.selectOnFocus = false;\n }\n colorChanged(value, oldValue) {\n /**\n * If color is set after not having\n * previously been set (or vice versa),\n * we need to emit style so the segment-buttons\n * can apply their color classes properly.\n */\n if ((oldValue === undefined && value !== undefined) || (oldValue !== undefined && value === undefined)) {\n this.emitStyle();\n }\n }\n swipeGestureChanged() {\n this.gestureChanged();\n }\n valueChanged(value) {\n /**\n * `ionSelect` is emitted every time the value changes (internal or external changes).\n * Used by `ion-segment-button` to determine if the button should be checked.\n */\n this.ionSelect.emit({ value });\n this.scrollActiveButtonIntoView();\n }\n disabledChanged() {\n this.gestureChanged();\n const buttons = this.getButtons();\n for (const button of buttons) {\n button.disabled = this.disabled;\n }\n }\n gestureChanged() {\n if (this.gesture) {\n this.gesture.enable(!this.scrollable && !this.disabled && this.swipeGesture);\n }\n }\n connectedCallback() {\n this.emitStyle();\n }\n componentWillLoad() {\n this.emitStyle();\n }\n async componentDidLoad() {\n this.setCheckedClasses();\n /**\n * If the value changes before watchers\n * are setup, then the ionSelect watch callback\n * will not fire. As a result, we manually\n * fire this event when Select is loaded.\n */\n this.ionSelect.emit({ value: this.value });\n /**\n * We need to wait for the buttons to all be rendered\n * before we can scroll.\n */\n raf(() => {\n /**\n * When the segment loads for the first\n * time we just want to snap the active button into\n * place instead of scroll. Smooth scrolling should only\n * happen when the user interacts with the segment.\n */\n this.scrollActiveButtonIntoView(false);\n });\n this.gesture = (await import('../../utils/gesture')).createGesture({\n el: this.el,\n gestureName: 'segment',\n gesturePriority: 100,\n threshold: 0,\n passive: false,\n onStart: (ev) => this.onStart(ev),\n onMove: (ev) => this.onMove(ev),\n onEnd: (ev) => this.onEnd(ev),\n });\n this.gestureChanged();\n if (this.disabled) {\n this.disabledChanged();\n }\n }\n onStart(detail) {\n this.valueBeforeGesture = this.value;\n this.activate(detail);\n }\n onMove(detail) {\n this.setNextIndex(detail);\n }\n onEnd(detail) {\n this.setActivated(false);\n this.setNextIndex(detail, true);\n detail.event.stopImmediatePropagation();\n const value = this.value;\n if (value !== undefined) {\n if (this.valueBeforeGesture !== value) {\n this.emitValueChange();\n }\n }\n this.valueBeforeGesture = undefined;\n }\n /**\n * Emits an `ionChange` event.\n *\n * This API should be called for user committed changes.\n * This API should not be used for external value changes.\n */\n emitValueChange() {\n const { value } = this;\n this.ionChange.emit({ value });\n }\n getButtons() {\n return Array.from(this.el.querySelectorAll('ion-segment-button'));\n }\n get checked() {\n return this.getButtons().find((button) => button.value === this.value);\n }\n /*\n * Activate both the segment and the buttons\n * due to a bug with ::slotted in Safari\n */\n setActivated(activated) {\n const buttons = this.getButtons();\n buttons.forEach((button) => {\n if (activated) {\n button.classList.add('segment-button-activated');\n }\n else {\n button.classList.remove('segment-button-activated');\n }\n });\n this.activated = activated;\n }\n activate(detail) {\n const clicked = detail.event.target;\n const buttons = this.getButtons();\n const checked = buttons.find((button) => button.value === this.value);\n // Make sure we are only checking for activation on a segment button\n // since disabled buttons will get the click on the segment\n if (clicked.tagName !== 'ION-SEGMENT-BUTTON') {\n return;\n }\n // If there are no checked buttons, set the current button to checked\n if (!checked) {\n this.value = clicked.value;\n this.setCheckedClasses();\n }\n // If the gesture began on the clicked button with the indicator\n // then we should activate the indicator\n if (this.value === clicked.value) {\n this.setActivated(true);\n }\n }\n getIndicator(button) {\n const root = button.shadowRoot || button;\n return root.querySelector('.segment-button-indicator');\n }\n checkButton(previous, current) {\n const previousIndicator = this.getIndicator(previous);\n const currentIndicator = this.getIndicator(current);\n if (previousIndicator === null || currentIndicator === null) {\n return;\n }\n const previousClientRect = previousIndicator.getBoundingClientRect();\n const currentClientRect = currentIndicator.getBoundingClientRect();\n const widthDelta = previousClientRect.width / currentClientRect.width;\n const xPosition = previousClientRect.left - currentClientRect.left;\n // Scale the indicator width to match the previous indicator width\n // and translate it on top of the previous indicator\n const transform = `translate3d(${xPosition}px, 0, 0) scaleX(${widthDelta})`;\n writeTask(() => {\n // Remove the transition before positioning on top of the previous indicator\n currentIndicator.classList.remove('segment-button-indicator-animated');\n currentIndicator.style.setProperty('transform', transform);\n // Force a repaint to ensure the transform happens\n currentIndicator.getBoundingClientRect();\n // Add the transition to move the indicator into place\n currentIndicator.classList.add('segment-button-indicator-animated');\n // Remove the transform to slide the indicator back to the button clicked\n currentIndicator.style.setProperty('transform', '');\n });\n this.value = current.value;\n this.setCheckedClasses();\n }\n setCheckedClasses() {\n const buttons = this.getButtons();\n const index = buttons.findIndex((button) => button.value === this.value);\n const next = index + 1;\n for (const button of buttons) {\n button.classList.remove('segment-button-after-checked');\n }\n if (next < buttons.length) {\n buttons[next].classList.add('segment-button-after-checked');\n }\n }\n scrollActiveButtonIntoView(smoothScroll = true) {\n const { scrollable, value, el } = this;\n if (scrollable) {\n const buttons = this.getButtons();\n const activeButton = buttons.find((button) => button.value === value);\n if (activeButton !== undefined) {\n const scrollContainerBox = el.getBoundingClientRect();\n const activeButtonBox = activeButton.getBoundingClientRect();\n /**\n * Subtract the active button x position from the scroll\n * container x position. This will give us the x position\n * of the active button within the scroll container.\n */\n const activeButtonLeft = activeButtonBox.x - scrollContainerBox.x;\n /**\n * If we just used activeButtonLeft, then the active button\n * would be aligned with the left edge of the scroll container.\n * Instead, we want the segment button to be centered. As a result,\n * we subtract half of the scroll container width. This will position\n * the left edge of the active button at the midpoint of the scroll container.\n * We then add half of the active button width. This will position the active\n * button such that the midpoint of the active button is at the midpoint of the\n * scroll container.\n */\n const centeredX = activeButtonLeft - scrollContainerBox.width / 2 + activeButtonBox.width / 2;\n /**\n * We intentionally use scrollBy here instead of scrollIntoView\n * to avoid a WebKit bug where accelerated animations break\n * when using scrollIntoView. Using scrollIntoView will cause the\n * segment container to jump during the transition and then snap into place.\n * This is because scrollIntoView can potentially cause parent element\n * containers to also scroll. scrollBy does not have this same behavior, so\n * we use this API instead.\n *\n * Note that if there is not enough scrolling space to center the element\n * within the scroll container, the browser will attempt\n * to center by as much as it can.\n */\n el.scrollBy({\n top: 0,\n left: centeredX,\n behavior: smoothScroll ? 'smooth' : 'instant',\n });\n }\n }\n }\n setNextIndex(detail, isEnd = false) {\n const rtl = isRTL(this.el);\n const activated = this.activated;\n const buttons = this.getButtons();\n const index = buttons.findIndex((button) => button.value === this.value);\n const previous = buttons[index];\n let current;\n let nextIndex;\n if (index === -1) {\n return;\n }\n // Get the element that the touch event started on in case\n // it was the checked button, then we will move the indicator\n const rect = previous.getBoundingClientRect();\n const left = rect.left;\n const width = rect.width;\n // Get the element that the gesture is on top of based on the currentX of the\n // gesture event and the Y coordinate of the starting element, since the gesture\n // can move up and down off of the segment\n const currentX = detail.currentX;\n const previousY = rect.top + rect.height / 2;\n /**\n * Segment can be used inside the shadow dom\n * so doing document.elementFromPoint would never\n * return a segment button in that instance.\n * We use getRootNode to which will return the parent\n * shadow root if used inside a shadow component and\n * returns document otherwise.\n */\n const root = this.el.getRootNode();\n const nextEl = root.elementFromPoint(currentX, previousY);\n const decreaseIndex = rtl ? currentX > left + width : currentX < left;\n const increaseIndex = rtl ? currentX < left : currentX > left + width;\n // If the indicator is currently activated then we have started the gesture\n // on top of the checked button so we need to slide the indicator\n // by checking the button next to it as we move\n if (activated && !isEnd) {\n // Decrease index, move left in LTR & right in RTL\n if (decreaseIndex) {\n const newIndex = index - 1;\n if (newIndex >= 0) {\n nextIndex = newIndex;\n }\n // Increase index, moves right in LTR & left in RTL\n }\n else if (increaseIndex) {\n if (activated && !isEnd) {\n const newIndex = index + 1;\n if (newIndex < buttons.length) {\n nextIndex = newIndex;\n }\n }\n }\n if (nextIndex !== undefined && !buttons[nextIndex].disabled) {\n current = buttons[nextIndex];\n }\n }\n // If the indicator is not activated then we will just set the indicator\n // to the element where the gesture ended\n if (!activated && isEnd) {\n current = nextEl;\n }\n if (current != null) {\n /**\n * If current element is ion-segment then that means\n * user tried to select a disabled ion-segment-button,\n * and we should not update the ripple.\n */\n if (current.tagName === 'ION-SEGMENT') {\n return false;\n }\n if (previous !== current) {\n this.checkButton(previous, current);\n }\n }\n return true;\n }\n emitStyle() {\n this.ionStyle.emit({\n segment: true,\n });\n }\n onKeyDown(ev) {\n const rtl = isRTL(this.el);\n let keyDownSelectsButton = this.selectOnFocus;\n let current;\n switch (ev.key) {\n case 'ArrowRight':\n ev.preventDefault();\n current = rtl ? this.getSegmentButton('previous') : this.getSegmentButton('next');\n break;\n case 'ArrowLeft':\n ev.preventDefault();\n current = rtl ? this.getSegmentButton('next') : this.getSegmentButton('previous');\n break;\n case 'Home':\n ev.preventDefault();\n current = this.getSegmentButton('first');\n break;\n case 'End':\n ev.preventDefault();\n current = this.getSegmentButton('last');\n break;\n case ' ':\n case 'Enter':\n ev.preventDefault();\n current = document.activeElement;\n keyDownSelectsButton = true;\n default:\n break;\n }\n if (!current) {\n return;\n }\n if (keyDownSelectsButton) {\n const previous = this.checked;\n this.checkButton(previous || current, current);\n if (current !== previous) {\n this.emitValueChange();\n }\n }\n current.setFocus();\n }\n render() {\n const mode = getIonMode(this);\n return (h(Host, { key: '01c94f9fcc51fb5a7612588c87155a130b7c8a9d', role: \"tablist\", onClick: this.onClick, class: createColorClasses(this.color, {\n [mode]: true,\n 'in-toolbar': hostContext('ion-toolbar', this.el),\n 'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),\n 'segment-activated': this.activated,\n 'segment-disabled': this.disabled,\n 'segment-scrollable': this.scrollable,\n }) }, h(\"slot\", { key: 'b0afdfcb7506a765df42d1d6eb4e1d81bf8fd92a' })));\n }\n static get is() { return \"ion-segment\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"ios\": [\"segment.ios.scss\"],\n \"md\": [\"segment.md.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"ios\": [\"segment.ios.css\"],\n \"md\": [\"segment.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 segment.\"\n },\n \"attribute\": \"disabled\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"scrollable\": {\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 segment buttons will overflow and the user can swipe to see them.\\nIn addition, this will disable the gesture to drag the indicator between the buttons\\nin order to swipe to see hidden buttons.\"\n },\n \"attribute\": \"scrollable\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"swipeGesture\": {\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`, users will be able to swipe between segment buttons to activate them.\"\n },\n \"attribute\": \"swipe-gesture\",\n \"reflect\": false,\n \"defaultValue\": \"true\"\n },\n \"value\": {\n \"type\": \"any\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"SegmentValue\",\n \"resolved\": \"number | string | undefined\",\n \"references\": {\n \"SegmentValue\": {\n \"location\": \"import\",\n \"path\": \"./segment-interface\",\n \"id\": \"src/components/segment/segment-interface.ts::SegmentValue\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"the value of the segment.\"\n },\n \"attribute\": \"value\",\n \"reflect\": false\n },\n \"selectOnFocus\": {\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`, navigating to an `ion-segment-button` with the keyboard will focus and select the element.\\nIf `false`, keyboard navigation will only focus the `ion-segment-button` element.\"\n },\n \"attribute\": \"select-on-focus\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n }\n };\n }\n static get states() {\n return {\n \"activated\": {}\n };\n }\n static get events() {\n return [{\n \"method\": \"ionChange\",\n \"name\": \"ionChange\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Emitted when the value property has changed and any\\ndragging pointer has been released from `ion-segment`.\"\n },\n \"complexType\": {\n \"original\": \"SegmentChangeEventDetail\",\n \"resolved\": \"SegmentChangeEventDetail\",\n \"references\": {\n \"SegmentChangeEventDetail\": {\n \"location\": \"import\",\n \"path\": \"./segment-interface\",\n \"id\": \"src/components/segment/segment-interface.ts::SegmentChangeEventDetail\"\n }\n }\n }\n }, {\n \"method\": \"ionSelect\",\n \"name\": \"ionSelect\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"Emitted when the value of the segment changes from user committed actions\\nor from externally assigning a value.\"\n },\n \"complexType\": {\n \"original\": \"SegmentChangeEventDetail\",\n \"resolved\": \"SegmentChangeEventDetail\",\n \"references\": {\n \"SegmentChangeEventDetail\": {\n \"location\": \"import\",\n \"path\": \"./segment-interface\",\n \"id\": \"src/components/segment/segment-interface.ts::SegmentChangeEventDetail\"\n }\n }\n }\n }, {\n \"method\": \"ionStyle\",\n \"name\": \"ionStyle\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"Emitted when the styles change.\"\n },\n \"complexType\": {\n \"original\": \"StyleEventDetail\",\n \"resolved\": \"StyleEventDetail\",\n \"references\": {\n \"StyleEventDetail\": {\n \"location\": \"import\",\n \"path\": \"../../interface\",\n \"id\": \"src/interface.d.ts::StyleEventDetail\"\n }\n }\n }\n }];\n }\n static get elementRef() { return \"el\"; }\n static get watchers() {\n return [{\n \"propName\": \"color\",\n \"methodName\": \"colorChanged\"\n }, {\n \"propName\": \"swipeGesture\",\n \"methodName\": \"swipeGestureChanged\"\n }, {\n \"propName\": \"value\",\n \"methodName\": \"valueChanged\"\n }, {\n \"propName\": \"disabled\",\n \"methodName\": \"disabledChanged\"\n }];\n }\n static get listeners() {\n return [{\n \"name\": \"keydown\",\n \"method\": \"onKeyDown\",\n \"target\": undefined,\n \"capture\": false,\n \"passive\": false\n }];\n }\n}\n"],"mappings":"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","ignoreList":[]}
1
+ {"version":3,"names":["segmentIosCss","IonSegmentIosStyle0","segmentMdCss","IonSegmentMdStyle0","Segment","constructor","hostRef","this","onClick","ev","current","target","previous","checked","tagName","value","emitValueChange","scrollable","swipeGesture","checkButton","setCheckedClasses","getSegmentButton","selector","_a","_b","buttons","getButtons","filter","button","disabled","currIndex","findIndex","document","activeElement","length","activated","color","undefined","selectOnFocus","colorChanged","oldValue","emitStyle","swipeGestureChanged","gestureChanged","valueChanged","ionSelect","emit","scrollActiveButtonIntoView","disabledChanged","gesture","enable","connectedCallback","componentWillLoad","componentDidLoad","raf","import","createGesture","el","gestureName","gesturePriority","threshold","passive","onStart","onMove","onEnd","detail","valueBeforeGesture","activate","setNextIndex","setActivated","event","stopImmediatePropagation","ionChange","Array","from","querySelectorAll","find","forEach","classList","add","remove","clicked","getIndicator","root","shadowRoot","querySelector","previousIndicator","currentIndicator","previousClientRect","getBoundingClientRect","currentClientRect","widthDelta","width","xPosition","left","transform","writeTask","style","setProperty","index","next","smoothScroll","activeButton","scrollContainerBox","activeButtonBox","activeButtonLeft","x","centeredX","scrollBy","top","behavior","isEnd","rtl","isRTL","nextIndex","rect","currentX","previousY","height","getRootNode","nextEl","elementFromPoint","decreaseIndex","increaseIndex","newIndex","ionStyle","segment","onKeyDown","keyDownSelectsButton","key","preventDefault","setFocus","render","mode","getIonMode","h","Host","role","class","createColorClasses","hostContext"],"sources":["../node_modules/@ionic/core/dist/collection/components/segment/segment.ios.css?tag=ion-segment&mode=ios&encapsulation=shadow","../node_modules/@ionic/core/dist/collection/components/segment/segment.md.css?tag=ion-segment&mode=md&encapsulation=shadow","../node_modules/@ionic/core/dist/collection/components/segment/segment.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 segment button\n */\n --ripple-color: currentColor;\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n display: grid;\n grid-auto-columns: 1fr;\n position: relative;\n align-items: stretch;\n justify-content: center;\n width: 100%;\n background: var(--background);\n font-family: var(--ion-font-family, inherit);\n text-align: center;\n contain: paint;\n user-select: none;\n}\n\n:host(.segment-scrollable) {\n justify-content: start;\n width: auto;\n overflow-x: auto;\n grid-auto-columns: minmax(min-content, 1fr);\n}\n\n:host(.segment-scrollable::-webkit-scrollbar) {\n display: none;\n}\n\n/**\n * Convert a font size to a dynamic font size.\n * Fonts that participate in Dynamic Type should use\n * dynamic font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param unit (optional) - The unit to convert to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a maximum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a minimum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * maximum and minimum font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * A heuristic that applies CSS to tablet\n * viewports.\n *\n * Usage:\n * @include tablet-viewport() {\n * :host {\n * background-color: green;\n * }\n * }\n */\n/**\n * A heuristic that applies CSS to mobile\n * viewports (i.e. phones, not tablets).\n *\n * Usage:\n * @include mobile-viewport() {\n * :host {\n * background-color: blue;\n * }\n * }\n */\n/**\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 --background: rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.065);\n border-radius: 8px;\n overflow: hidden;\n z-index: 0;\n}\n\n:host(.ion-color) {\n background: rgba(var(--ion-color-base-rgb), 0.065);\n}\n\n:host(.in-toolbar) {\n -webkit-margin-start: auto;\n margin-inline-start: auto;\n -webkit-margin-end: auto;\n margin-inline-end: auto;\n margin-top: 0;\n margin-bottom: 0;\n width: auto;\n}\n\n:host(.in-toolbar:not(.ion-color)) {\n background: var(--ion-toolbar-segment-background, var(--background));\n}\n\n:host(.in-toolbar-color:not(.ion-color)) {\n background: rgba(var(--ion-color-contrast-rgb), 0.11);\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 segment button\n */\n --ripple-color: currentColor;\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n display: grid;\n grid-auto-columns: 1fr;\n position: relative;\n align-items: stretch;\n justify-content: center;\n width: 100%;\n background: var(--background);\n font-family: var(--ion-font-family, inherit);\n text-align: center;\n contain: paint;\n user-select: none;\n}\n\n:host(.segment-scrollable) {\n justify-content: start;\n width: auto;\n overflow-x: auto;\n grid-auto-columns: minmax(min-content, 1fr);\n}\n\n:host(.segment-scrollable::-webkit-scrollbar) {\n display: none;\n}\n\n/**\n * Convert a font size to a dynamic font size.\n * Fonts that participate in Dynamic Type should use\n * dynamic font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param unit (optional) - The unit to convert to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a maximum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * a minimum font size.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * Convert a font size to a dynamic font size but impose\n * maximum and minimum font sizes.\n * @param size - The initial font size including the unit (i.e. px or pt)\n * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).\n * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).\n * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to\n * convert to a unit other than $baselineUnit.\n */\n/**\n * A heuristic that applies CSS to tablet\n * viewports.\n *\n * Usage:\n * @include tablet-viewport() {\n * :host {\n * background-color: green;\n * }\n * }\n */\n/**\n * A heuristic that applies CSS to mobile\n * viewports (i.e. phones, not tablets).\n *\n * Usage:\n * @include mobile-viewport() {\n * :host {\n * background-color: blue;\n * }\n * }\n */\n/**\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 --background: transparent;\n grid-auto-columns: minmax(auto, 360px);\n}\n\n:host(.in-toolbar) {\n /**\n * Segment should inherit the\n * height of the toolbar.\n * Note: --min-height is initially\n * set on ion-toolbar, not ion-segment\n */\n min-height: var(--min-height);\n}\n\n:host(.segment-scrollable) ::slotted(ion-segment-button) {\n min-width: auto;\n}","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { Host, h, writeTask } from \"@stencil/core\";\nimport { raf } from \"../../utils/helpers\";\nimport { isRTL } from \"../../utils/rtl/index\";\nimport { createColorClasses, hostContext } from \"../../utils/theme\";\nimport { getIonMode } from \"../../global/ionic-global\";\n/**\n * @virtualProp {\"ios\" | \"md\"} mode - The mode determines which platform styles to use.\n */\nexport class Segment {\n constructor() {\n this.onClick = (ev) => {\n const current = ev.target;\n const previous = this.checked;\n // If the current element is a segment then that means\n // the user tried to swipe to a segment button and\n // click a segment button at the same time so we should\n // not update the checked segment button\n if (current.tagName === 'ION-SEGMENT') {\n return;\n }\n this.value = current.value;\n if (current !== previous) {\n this.emitValueChange();\n }\n if (this.scrollable || !this.swipeGesture) {\n if (previous) {\n this.checkButton(previous, current);\n }\n else {\n this.setCheckedClasses();\n }\n }\n };\n this.getSegmentButton = (selector) => {\n var _a, _b;\n const buttons = this.getButtons().filter((button) => !button.disabled);\n const currIndex = buttons.findIndex((button) => button === document.activeElement);\n switch (selector) {\n case 'first':\n return buttons[0];\n case 'last':\n return buttons[buttons.length - 1];\n case 'next':\n return (_a = buttons[currIndex + 1]) !== null && _a !== void 0 ? _a : buttons[0];\n case 'previous':\n return (_b = buttons[currIndex - 1]) !== null && _b !== void 0 ? _b : buttons[buttons.length - 1];\n default:\n return null;\n }\n };\n this.activated = false;\n this.color = undefined;\n this.disabled = false;\n this.scrollable = false;\n this.swipeGesture = true;\n this.value = undefined;\n this.selectOnFocus = false;\n }\n colorChanged(value, oldValue) {\n /**\n * If color is set after not having\n * previously been set (or vice versa),\n * we need to emit style so the segment-buttons\n * can apply their color classes properly.\n */\n if ((oldValue === undefined && value !== undefined) || (oldValue !== undefined && value === undefined)) {\n this.emitStyle();\n }\n }\n swipeGestureChanged() {\n this.gestureChanged();\n }\n valueChanged(value) {\n /**\n * `ionSelect` is emitted every time the value changes (internal or external changes).\n * Used by `ion-segment-button` to determine if the button should be checked.\n */\n this.ionSelect.emit({ value });\n this.scrollActiveButtonIntoView();\n }\n disabledChanged() {\n this.gestureChanged();\n const buttons = this.getButtons();\n for (const button of buttons) {\n button.disabled = this.disabled;\n }\n }\n gestureChanged() {\n if (this.gesture) {\n this.gesture.enable(!this.scrollable && !this.disabled && this.swipeGesture);\n }\n }\n connectedCallback() {\n this.emitStyle();\n }\n componentWillLoad() {\n this.emitStyle();\n }\n async componentDidLoad() {\n this.setCheckedClasses();\n /**\n * If the value changes before watchers\n * are setup, then the ionSelect watch callback\n * will not fire. As a result, we manually\n * fire this event when Select is loaded.\n */\n this.ionSelect.emit({ value: this.value });\n /**\n * We need to wait for the buttons to all be rendered\n * before we can scroll.\n */\n raf(() => {\n /**\n * When the segment loads for the first\n * time we just want to snap the active button into\n * place instead of scroll. Smooth scrolling should only\n * happen when the user interacts with the segment.\n */\n this.scrollActiveButtonIntoView(false);\n });\n this.gesture = (await import('../../utils/gesture')).createGesture({\n el: this.el,\n gestureName: 'segment',\n gesturePriority: 100,\n threshold: 0,\n passive: false,\n onStart: (ev) => this.onStart(ev),\n onMove: (ev) => this.onMove(ev),\n onEnd: (ev) => this.onEnd(ev),\n });\n this.gestureChanged();\n if (this.disabled) {\n this.disabledChanged();\n }\n }\n onStart(detail) {\n this.valueBeforeGesture = this.value;\n this.activate(detail);\n }\n onMove(detail) {\n this.setNextIndex(detail);\n }\n onEnd(detail) {\n this.setActivated(false);\n this.setNextIndex(detail, true);\n detail.event.stopImmediatePropagation();\n const value = this.value;\n if (value !== undefined) {\n if (this.valueBeforeGesture !== value) {\n this.emitValueChange();\n }\n }\n this.valueBeforeGesture = undefined;\n }\n /**\n * Emits an `ionChange` event.\n *\n * This API should be called for user committed changes.\n * This API should not be used for external value changes.\n */\n emitValueChange() {\n const { value } = this;\n this.ionChange.emit({ value });\n }\n getButtons() {\n return Array.from(this.el.querySelectorAll('ion-segment-button'));\n }\n get checked() {\n return this.getButtons().find((button) => button.value === this.value);\n }\n /*\n * Activate both the segment and the buttons\n * due to a bug with ::slotted in Safari\n */\n setActivated(activated) {\n const buttons = this.getButtons();\n buttons.forEach((button) => {\n if (activated) {\n button.classList.add('segment-button-activated');\n }\n else {\n button.classList.remove('segment-button-activated');\n }\n });\n this.activated = activated;\n }\n activate(detail) {\n const clicked = detail.event.target;\n const buttons = this.getButtons();\n const checked = buttons.find((button) => button.value === this.value);\n // Make sure we are only checking for activation on a segment button\n // since disabled buttons will get the click on the segment\n if (clicked.tagName !== 'ION-SEGMENT-BUTTON') {\n return;\n }\n // If there are no checked buttons, set the current button to checked\n if (!checked) {\n this.value = clicked.value;\n this.setCheckedClasses();\n }\n // If the gesture began on the clicked button with the indicator\n // then we should activate the indicator\n if (this.value === clicked.value) {\n this.setActivated(true);\n }\n }\n getIndicator(button) {\n const root = button.shadowRoot || button;\n return root.querySelector('.segment-button-indicator');\n }\n checkButton(previous, current) {\n const previousIndicator = this.getIndicator(previous);\n const currentIndicator = this.getIndicator(current);\n if (previousIndicator === null || currentIndicator === null) {\n return;\n }\n const previousClientRect = previousIndicator.getBoundingClientRect();\n const currentClientRect = currentIndicator.getBoundingClientRect();\n const widthDelta = previousClientRect.width / currentClientRect.width;\n const xPosition = previousClientRect.left - currentClientRect.left;\n // Scale the indicator width to match the previous indicator width\n // and translate it on top of the previous indicator\n const transform = `translate3d(${xPosition}px, 0, 0) scaleX(${widthDelta})`;\n writeTask(() => {\n // Remove the transition before positioning on top of the previous indicator\n currentIndicator.classList.remove('segment-button-indicator-animated');\n currentIndicator.style.setProperty('transform', transform);\n // Force a repaint to ensure the transform happens\n currentIndicator.getBoundingClientRect();\n // Add the transition to move the indicator into place\n currentIndicator.classList.add('segment-button-indicator-animated');\n // Remove the transform to slide the indicator back to the button clicked\n currentIndicator.style.setProperty('transform', '');\n });\n this.value = current.value;\n this.setCheckedClasses();\n }\n setCheckedClasses() {\n const buttons = this.getButtons();\n const index = buttons.findIndex((button) => button.value === this.value);\n const next = index + 1;\n for (const button of buttons) {\n button.classList.remove('segment-button-after-checked');\n }\n if (next < buttons.length) {\n buttons[next].classList.add('segment-button-after-checked');\n }\n }\n scrollActiveButtonIntoView(smoothScroll = true) {\n const { scrollable, value, el } = this;\n if (scrollable) {\n const buttons = this.getButtons();\n const activeButton = buttons.find((button) => button.value === value);\n if (activeButton !== undefined) {\n const scrollContainerBox = el.getBoundingClientRect();\n const activeButtonBox = activeButton.getBoundingClientRect();\n /**\n * Subtract the active button x position from the scroll\n * container x position. This will give us the x position\n * of the active button within the scroll container.\n */\n const activeButtonLeft = activeButtonBox.x - scrollContainerBox.x;\n /**\n * If we just used activeButtonLeft, then the active button\n * would be aligned with the left edge of the scroll container.\n * Instead, we want the segment button to be centered. As a result,\n * we subtract half of the scroll container width. This will position\n * the left edge of the active button at the midpoint of the scroll container.\n * We then add half of the active button width. This will position the active\n * button such that the midpoint of the active button is at the midpoint of the\n * scroll container.\n */\n const centeredX = activeButtonLeft - scrollContainerBox.width / 2 + activeButtonBox.width / 2;\n /**\n * We intentionally use scrollBy here instead of scrollIntoView\n * to avoid a WebKit bug where accelerated animations break\n * when using scrollIntoView. Using scrollIntoView will cause the\n * segment container to jump during the transition and then snap into place.\n * This is because scrollIntoView can potentially cause parent element\n * containers to also scroll. scrollBy does not have this same behavior, so\n * we use this API instead.\n *\n * Note that if there is not enough scrolling space to center the element\n * within the scroll container, the browser will attempt\n * to center by as much as it can.\n */\n el.scrollBy({\n top: 0,\n left: centeredX,\n behavior: smoothScroll ? 'smooth' : 'instant',\n });\n }\n }\n }\n setNextIndex(detail, isEnd = false) {\n const rtl = isRTL(this.el);\n const activated = this.activated;\n const buttons = this.getButtons();\n const index = buttons.findIndex((button) => button.value === this.value);\n const previous = buttons[index];\n let current;\n let nextIndex;\n if (index === -1) {\n return;\n }\n // Get the element that the touch event started on in case\n // it was the checked button, then we will move the indicator\n const rect = previous.getBoundingClientRect();\n const left = rect.left;\n const width = rect.width;\n // Get the element that the gesture is on top of based on the currentX of the\n // gesture event and the Y coordinate of the starting element, since the gesture\n // can move up and down off of the segment\n const currentX = detail.currentX;\n const previousY = rect.top + rect.height / 2;\n /**\n * Segment can be used inside the shadow dom\n * so doing document.elementFromPoint would never\n * return a segment button in that instance.\n * We use getRootNode to which will return the parent\n * shadow root if used inside a shadow component and\n * returns document otherwise.\n */\n const root = this.el.getRootNode();\n const nextEl = root.elementFromPoint(currentX, previousY);\n const decreaseIndex = rtl ? currentX > left + width : currentX < left;\n const increaseIndex = rtl ? currentX < left : currentX > left + width;\n // If the indicator is currently activated then we have started the gesture\n // on top of the checked button so we need to slide the indicator\n // by checking the button next to it as we move\n if (activated && !isEnd) {\n // Decrease index, move left in LTR & right in RTL\n if (decreaseIndex) {\n const newIndex = index - 1;\n if (newIndex >= 0) {\n nextIndex = newIndex;\n }\n // Increase index, moves right in LTR & left in RTL\n }\n else if (increaseIndex) {\n if (activated && !isEnd) {\n const newIndex = index + 1;\n if (newIndex < buttons.length) {\n nextIndex = newIndex;\n }\n }\n }\n if (nextIndex !== undefined && !buttons[nextIndex].disabled) {\n current = buttons[nextIndex];\n }\n }\n // If the indicator is not activated then we will just set the indicator\n // to the element where the gesture ended\n if (!activated && isEnd) {\n current = nextEl;\n }\n if (current != null) {\n /**\n * If current element is ion-segment then that means\n * user tried to select a disabled ion-segment-button,\n * and we should not update the ripple.\n */\n if (current.tagName === 'ION-SEGMENT') {\n return false;\n }\n if (previous !== current) {\n this.checkButton(previous, current);\n }\n }\n return true;\n }\n emitStyle() {\n this.ionStyle.emit({\n segment: true,\n });\n }\n onKeyDown(ev) {\n const rtl = isRTL(this.el);\n let keyDownSelectsButton = this.selectOnFocus;\n let current;\n switch (ev.key) {\n case 'ArrowRight':\n ev.preventDefault();\n current = rtl ? this.getSegmentButton('previous') : this.getSegmentButton('next');\n break;\n case 'ArrowLeft':\n ev.preventDefault();\n current = rtl ? this.getSegmentButton('next') : this.getSegmentButton('previous');\n break;\n case 'Home':\n ev.preventDefault();\n current = this.getSegmentButton('first');\n break;\n case 'End':\n ev.preventDefault();\n current = this.getSegmentButton('last');\n break;\n case ' ':\n case 'Enter':\n ev.preventDefault();\n current = document.activeElement;\n keyDownSelectsButton = true;\n default:\n break;\n }\n if (!current) {\n return;\n }\n if (keyDownSelectsButton) {\n const previous = this.checked;\n this.checkButton(previous || current, current);\n if (current !== previous) {\n this.emitValueChange();\n }\n }\n current.setFocus();\n }\n render() {\n const mode = getIonMode(this);\n return (h(Host, { key: '01c94f9fcc51fb5a7612588c87155a130b7c8a9d', role: \"tablist\", onClick: this.onClick, class: createColorClasses(this.color, {\n [mode]: true,\n 'in-toolbar': hostContext('ion-toolbar', this.el),\n 'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),\n 'segment-activated': this.activated,\n 'segment-disabled': this.disabled,\n 'segment-scrollable': this.scrollable,\n }) }, h(\"slot\", { key: 'b0afdfcb7506a765df42d1d6eb4e1d81bf8fd92a' })));\n }\n static get is() { return \"ion-segment\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"ios\": [\"segment.ios.scss\"],\n \"md\": [\"segment.md.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"ios\": [\"segment.ios.css\"],\n \"md\": [\"segment.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 segment.\"\n },\n \"attribute\": \"disabled\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"scrollable\": {\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 segment buttons will overflow and the user can swipe to see them.\\nIn addition, this will disable the gesture to drag the indicator between the buttons\\nin order to swipe to see hidden buttons.\"\n },\n \"attribute\": \"scrollable\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"swipeGesture\": {\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`, users will be able to swipe between segment buttons to activate them.\"\n },\n \"attribute\": \"swipe-gesture\",\n \"reflect\": false,\n \"defaultValue\": \"true\"\n },\n \"value\": {\n \"type\": \"any\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"SegmentValue\",\n \"resolved\": \"number | string | undefined\",\n \"references\": {\n \"SegmentValue\": {\n \"location\": \"import\",\n \"path\": \"./segment-interface\",\n \"id\": \"src/components/segment/segment-interface.ts::SegmentValue\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"the value of the segment.\"\n },\n \"attribute\": \"value\",\n \"reflect\": false\n },\n \"selectOnFocus\": {\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`, navigating to an `ion-segment-button` with the keyboard will focus and select the element.\\nIf `false`, keyboard navigation will only focus the `ion-segment-button` element.\"\n },\n \"attribute\": \"select-on-focus\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n }\n };\n }\n static get states() {\n return {\n \"activated\": {}\n };\n }\n static get events() {\n return [{\n \"method\": \"ionChange\",\n \"name\": \"ionChange\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Emitted when the value property has changed and any\\ndragging pointer has been released from `ion-segment`.\"\n },\n \"complexType\": {\n \"original\": \"SegmentChangeEventDetail\",\n \"resolved\": \"SegmentChangeEventDetail\",\n \"references\": {\n \"SegmentChangeEventDetail\": {\n \"location\": \"import\",\n \"path\": \"./segment-interface\",\n \"id\": \"src/components/segment/segment-interface.ts::SegmentChangeEventDetail\"\n }\n }\n }\n }, {\n \"method\": \"ionSelect\",\n \"name\": \"ionSelect\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"Emitted when the value of the segment changes from user committed actions\\nor from externally assigning a value.\"\n },\n \"complexType\": {\n \"original\": \"SegmentChangeEventDetail\",\n \"resolved\": \"SegmentChangeEventDetail\",\n \"references\": {\n \"SegmentChangeEventDetail\": {\n \"location\": \"import\",\n \"path\": \"./segment-interface\",\n \"id\": \"src/components/segment/segment-interface.ts::SegmentChangeEventDetail\"\n }\n }\n }\n }, {\n \"method\": \"ionStyle\",\n \"name\": \"ionStyle\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"Emitted when the styles change.\"\n },\n \"complexType\": {\n \"original\": \"StyleEventDetail\",\n \"resolved\": \"StyleEventDetail\",\n \"references\": {\n \"StyleEventDetail\": {\n \"location\": \"import\",\n \"path\": \"../../interface\",\n \"id\": \"src/interface.d.ts::StyleEventDetail\"\n }\n }\n }\n }];\n }\n static get elementRef() { return \"el\"; }\n static get watchers() {\n return [{\n \"propName\": \"color\",\n \"methodName\": \"colorChanged\"\n }, {\n \"propName\": \"swipeGesture\",\n \"methodName\": \"swipeGestureChanged\"\n }, {\n \"propName\": \"value\",\n \"methodName\": \"valueChanged\"\n }, {\n \"propName\": \"disabled\",\n \"methodName\": \"disabledChanged\"\n }];\n }\n static get listeners() {\n return [{\n \"name\": \"keydown\",\n \"method\": \"onKeyDown\",\n \"target\": undefined,\n \"capture\": false,\n \"passive\": false\n }];\n }\n}\n"],"mappings":"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","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as s,i as n,h as e,H as i}from"./p-42169e41.js";import{s as o}from"./p-f6671856.js";const r="pos-image{--max-width:100%}";const a=r;const l=":host{--gap-size:var(--size-4);display:flex;flex-direction:column;gap:var(--gap-size);margin:var(--gap-size)}section{display:flex;flex-direction:column;gap:var(--gap-size)}@media (min-width: 640px){:host{flex-direction:row;flex-wrap:wrap;section:first-of-type {\n flex: 1}section:not(:first-of-type){flex:0 0 30%}}";const t=l;const p="article {\n padding: var(--size-2);\n display: flex;\n flex-direction: column;\n gap: var(--size-2);\n outline: var(--pos-border-solid);\n border-radius: var(--radius-sm);\n box-shadow: var(--shadow-md);\n background-color: var(--pos-card-background);\n\n header {\n display: flex;\n flex-direction: column;\n gap: var(--size-2);\n h1 {\n margin: 0;\n }\n }\n}\n";const c=p;const d=class{constructor(e){s(this,e);this.subscribeResource=n(this,"pod-os:resource",7);this.receiveResource=s=>{this.resource=s}}componentWillLoad(){o(this)}render(){if(!this.resource){return null}return e(i,null,e("section",null,e("pos-image",{src:this.resource.uri})),e("section",null,e("article",null,e("header",null,e("h1",null,e("pos-label",null)),e("pos-type-badges",null)),e("pos-literals",null))))}};d.style=a+(t+c);export{d as pos_app_image_viewer};
2
+ //# sourceMappingURL=p-a45b1964.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["posAppImageViewerCss","PosAppImageViewerStyle0","defaultAppLayoutCss","PosAppImageViewerStyle1","articleCardCss","PosAppImageViewerStyle2","PosAppImageViewer","constructor","hostRef","this","receiveResource","resource","componentWillLoad","subscribeResource","render","h","Host","src","uri"],"sources":["src/apps/pos-app-image-viewer/pos-app-image-viewer.css?tag=pos-app-image-viewer&encapsulation=shadow","src/apps/styles/default-app-layout.css?tag=pos-app-image-viewer&encapsulation=shadow","src/apps/styles/article-card.css?tag=pos-app-image-viewer&encapsulation=shadow","src/apps/pos-app-image-viewer/pos-app-image-viewer.tsx"],"sourcesContent":["pos-image {\n --max-width: 100%;\n}\n",":host {\n --gap-size: var(--size-4);\n display: flex;\n flex-direction: column;\n gap: var(--gap-size);\n margin: var(--gap-size);\n}\n\nsection {\n display: flex;\n flex-direction: column;\n gap: var(--gap-size);\n}\n\n@media (min-width: 640px) {\n :host {\n flex-direction: row;\n flex-wrap: wrap;\n\n section:first-of-type {\n flex: 1;\n }\n\n section:not(:first-of-type) {\n flex: 0 0 30%;\n }\n }\n}\n","article {\n padding: var(--size-2);\n display: flex;\n flex-direction: column;\n gap: var(--size-2);\n outline: var(--pos-border-solid);\n border-radius: var(--radius-sm);\n box-shadow: var(--shadow-md);\n background-color: var(--pos-card-background);\n\n header {\n display: flex;\n flex-direction: column;\n gap: var(--size-2);\n h1 {\n margin: 0;\n }\n }\n}\n","import { Thing } from '@pod-os/core';\nimport { Component, Event, EventEmitter, h, Host, State } from '@stencil/core';\nimport { ResourceAware, subscribeResource } from '../../components/events/ResourceAware';\n\n@Component({\n tag: 'pos-app-image-viewer',\n shadow: true,\n styleUrls: ['pos-app-image-viewer.css', '../styles/default-app-layout.css', '../styles/article-card.css'],\n})\nexport class PosAppImageViewer implements ResourceAware {\n @State() resource: Thing;\n\n @Event({ eventName: 'pod-os:resource' }) subscribeResource: EventEmitter;\n\n componentWillLoad() {\n subscribeResource(this);\n }\n\n receiveResource = (resource: Thing) => {\n this.resource = resource;\n };\n\n render() {\n if (!this.resource) {\n return null;\n }\n\n return (\n <Host>\n <section>\n <pos-image src={this.resource.uri} />\n </section>\n <section>\n <article>\n <header>\n <h1>\n <pos-label />\n </h1>\n <pos-type-badges />\n </header>\n <pos-literals />\n </article>\n </section>\n </Host>\n );\n }\n}\n"],"mappings":"6FAAA,MAAMA,EAAuB,8BAC7B,MAAAC,EAAeD,ECDf,MAAME,EAAsB,kUAC5B,MAAAC,EAAeD,ECDf,MAAME,EAAiB,2YACvB,MAAAC,EAAeD,E,MCQFE,EAAiB,MAL9B,WAAAC,CAAAC,G,6DAcEC,KAAAC,gBAAmBC,IACjBF,KAAKE,SAAWA,CAAQ,C,CAL1B,iBAAAC,GACEC,EAAkBJ,K,CAOpB,MAAAK,GACE,IAAKL,KAAKE,SAAU,CAClB,OAAO,I,CAGT,OACEI,EAACC,EAAI,KACHD,EAAA,eACEA,EAAA,aAAWE,IAAKR,KAAKE,SAASO,OAEhCH,EAAA,eACEA,EAAA,eACEA,EAAA,cACEA,EAAA,UACEA,EAAA,mBAEFA,EAAA,yBAEFA,EAAA,uB","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as n,i as o,h as r}from"./p-42169e41.js";import{s as a}from"./p-f6671856.js";const l=":host {\n --background-base-color: color-mix(in srgb, var(--pos-background-color), var(--color-grey-800) 10%);\n --background-color-even: hsl(from var(--background-base-color) h s calc(l + 7));\n --background-color-odd: hsl(from var(--background-base-color) h s calc(l + 10));\n --border-color: var(--background-base-color);\n}\n\ndd {\n padding: 0;\n margin: 0;\n}\n\ndl {\n display: flex;\n flex-direction: column;\n gap: var(--size-1);\n padding: 0;\n margin: 0;\n}\n\ndt {\n margin-bottom: var(--size-1);\n}\n\n.predicate-values:nth-child(odd) {\n background-color: var(--background-color-odd);\n}\n\n.predicate-values:nth-child(even) {\n background-color: var(--background-color-even);\n}\n\n.predicate-values {\n display: flex;\n flex-direction: column;\n border: var(--size-px) solid var(--border-color);\n padding: var(--size-2);\n gap: var(--size-1);\n\n .values {\n display: flex;\n flex-direction: column;\n gap: var(--size-3);\n }\n}\n\npos-rich-link {\n --background-color: inherit;\n}\n";const s=l;const c=class{constructor(r){n(this,r);this.subscribeResource=o(this,"pod-os:resource",7);this.data=[];this.receiveResource=n=>{this.data=n.relations()}}componentWillLoad(){a(this)}render(){const n=this.data.map((n=>r("div",{class:"predicate-values"},r("dt",null,r("pos-predicate",{uri:n.predicate,label:n.label})),r("div",{class:"values"},n.uris.map((n=>r("dd",null,r("pos-rich-link",{uri:n}))))))));return this.data.length>0?r("dl",null,n):null}};c.style=s;const e=":host {\n --background-base-color: color-mix(in srgb, var(--pos-background-color), var(--color-grey-800) 10%);\n --background-color-even: hsl(from var(--background-base-color) h s calc(l + 7));\n --background-color-odd: hsl(from var(--background-base-color) h s calc(l + 10));\n --border-color: var(--background-base-color);\n}\n\ndd {\n padding: 0;\n margin: 0;\n}\n\ndl {\n display: flex;\n flex-direction: column;\n gap: var(--size-1);\n padding: 0;\n margin: 0;\n}\n\ndt {\n margin-bottom: var(--size-1);\n}\n\n.predicate-values:nth-child(odd) {\n background-color: var(--background-color-odd);\n}\n\n.predicate-values:nth-child(even) {\n background-color: var(--background-color-even);\n}\n\n.predicate-values {\n display: flex;\n flex-direction: column;\n border: var(--size-px) solid var(--border-color);\n padding: var(--size-2);\n gap: var(--size-1);\n .values {\n display: flex;\n flex-direction: column;\n gap: var(--size-3);\n }\n}\n\npos-rich-link {\n --background-color: inherit;\n}\n";const d=e;const i=class{constructor(r){n(this,r);this.subscribeResource=o(this,"pod-os:resource",7);this.data=[];this.receiveResource=n=>{this.data=n.reverseRelations()}}componentWillLoad(){a(this)}render(){const n=this.data.map((n=>r("div",{class:"predicate-values"},r("dt",null,r("pos-predicate",{uri:n.predicate,label:`is ${n.label} of`})),r("div",{class:"values"},n.uris.map((n=>r("dd",null,r("pos-rich-link",{uri:n}))))))));return this.data.length>0?r("dl",null,n):null}};i.style=d;export{c as pos_relations,i as pos_reverse_relations};
2
+ //# sourceMappingURL=p-a507d627.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["posRelationsCss","PosRelationsStyle0","PosRelations","constructor","hostRef","this","data","receiveResource","resource","relations","componentWillLoad","subscribeResource","render","items","map","it","h","class","uri","predicate","label","uris","length","posReverseRelationsCss","PosReverseRelationsStyle0","PosReverseRelations","reverseRelations"],"sources":["src/components/pos-relations/pos-relations.css?tag=pos-relations&encapsulation=shadow","src/components/pos-relations/pos-relations.tsx","src/components/pos-reverse-relations/pos-reverse-relations.css?tag=pos-reverse-relations&encapsulation=shadow","src/components/pos-reverse-relations/pos-reverse-relations.tsx"],"sourcesContent":[":host {\n --background-base-color: color-mix(in srgb, var(--pos-background-color), var(--color-grey-800) 10%);\n --background-color-even: hsl(from var(--background-base-color) h s calc(l + 7));\n --background-color-odd: hsl(from var(--background-base-color) h s calc(l + 10));\n --border-color: var(--background-base-color);\n}\n\ndd {\n padding: 0;\n margin: 0;\n}\n\ndl {\n display: flex;\n flex-direction: column;\n gap: var(--size-1);\n padding: 0;\n margin: 0;\n}\n\ndt {\n margin-bottom: var(--size-1);\n}\n\n.predicate-values:nth-child(odd) {\n background-color: var(--background-color-odd);\n}\n\n.predicate-values:nth-child(even) {\n background-color: var(--background-color-even);\n}\n\n.predicate-values {\n display: flex;\n flex-direction: column;\n border: var(--size-px) solid var(--border-color);\n padding: var(--size-2);\n gap: var(--size-1);\n\n .values {\n display: flex;\n flex-direction: column;\n gap: var(--size-3);\n }\n}\n\npos-rich-link {\n --background-color: inherit;\n}\n","import { Relation, Thing } from '@pod-os/core';\nimport { Component, Event, EventEmitter, h, State } from '@stencil/core';\nimport { ResourceAware, subscribeResource } from '../events/ResourceAware';\n\n@Component({\n tag: 'pos-relations',\n shadow: true,\n styleUrl: 'pos-relations.css',\n})\nexport class PosRelations implements ResourceAware {\n @State() data: Relation[] = [];\n\n @Event({ eventName: 'pod-os:resource' })\n subscribeResource: EventEmitter;\n\n componentWillLoad() {\n subscribeResource(this);\n }\n\n receiveResource = (resource: Thing) => {\n this.data = resource.relations();\n };\n\n render() {\n const items = this.data.map(it => (\n <div class=\"predicate-values\">\n <dt>\n <pos-predicate uri={it.predicate} label={it.label} />\n </dt>\n <div class=\"values\">\n {it.uris.map(uri => (\n <dd>\n <pos-rich-link uri={uri} />\n </dd>\n ))}\n </div>\n </div>\n ));\n return this.data.length > 0 ? <dl>{items}</dl> : null;\n }\n}\n",":host {\n --background-base-color: color-mix(in srgb, var(--pos-background-color), var(--color-grey-800) 10%);\n --background-color-even: hsl(from var(--background-base-color) h s calc(l + 7));\n --background-color-odd: hsl(from var(--background-base-color) h s calc(l + 10));\n --border-color: var(--background-base-color);\n}\n\ndd {\n padding: 0;\n margin: 0;\n}\n\ndl {\n display: flex;\n flex-direction: column;\n gap: var(--size-1);\n padding: 0;\n margin: 0;\n}\n\ndt {\n margin-bottom: var(--size-1);\n}\n\n.predicate-values:nth-child(odd) {\n background-color: var(--background-color-odd);\n}\n\n.predicate-values:nth-child(even) {\n background-color: var(--background-color-even);\n}\n\n.predicate-values {\n display: flex;\n flex-direction: column;\n border: var(--size-px) solid var(--border-color);\n padding: var(--size-2);\n gap: var(--size-1);\n .values {\n display: flex;\n flex-direction: column;\n gap: var(--size-3);\n }\n}\n\npos-rich-link {\n --background-color: inherit;\n}\n","import { Relation, Thing } from '@pod-os/core';\nimport { Component, h, Event, EventEmitter, State } from '@stencil/core';\nimport { ResourceAware, subscribeResource } from '../events/ResourceAware';\n\n@Component({\n tag: 'pos-reverse-relations',\n shadow: true,\n styleUrl: 'pos-reverse-relations.css',\n})\nexport class PosReverseRelations implements ResourceAware {\n @State() data: Relation[] = [];\n\n @Event({ eventName: 'pod-os:resource' }) subscribeResource: EventEmitter;\n\n componentWillLoad() {\n subscribeResource(this);\n }\n\n receiveResource = (resource: Thing) => {\n this.data = resource.reverseRelations();\n };\n\n render() {\n const items = this.data.map(it => (\n <div class=\"predicate-values\">\n <dt>\n <pos-predicate uri={it.predicate} label={`is ${it.label} of`} />\n </dt>\n <div class=\"values\">\n {it.uris.map(uri => (\n <dd>\n <pos-rich-link uri={uri} />\n </dd>\n ))}\n </div>\n </div>\n ));\n return this.data.length > 0 ? <dl>{items}</dl> : null;\n }\n}\n"],"mappings":"sFAAA,MAAMA,EAAkB,0gCACxB,MAAAC,EAAeD,E,MCQFE,EAAY,MALzB,WAAAC,CAAAC,G,6DAMWC,KAAAC,KAAmB,GAS5BD,KAAAE,gBAAmBC,IACjBH,KAAKC,KAAOE,EAASC,WAAW,C,CALlC,iBAAAC,GACEC,EAAkBN,K,CAOpB,MAAAO,GACE,MAAMC,EAAQR,KAAKC,KAAKQ,KAAIC,GAC1BC,EAAA,OAAKC,MAAM,oBACTD,EAAA,UACEA,EAAA,iBAAeE,IAAKH,EAAGI,UAAWC,MAAOL,EAAGK,SAE9CJ,EAAA,OAAKC,MAAM,UACRF,EAAGM,KAAKP,KAAII,GACXF,EAAA,UACEA,EAAA,iBAAeE,IAAKA,WAM9B,OAAOb,KAAKC,KAAKgB,OAAS,EAAIN,EAAA,UAAKH,GAAc,I,aCtCrD,MAAMU,EAAyB,wgCAC/B,MAAAC,EAAeD,E,MCQFE,EAAmB,MALhC,WAAAtB,CAAAC,G,6DAMWC,KAAAC,KAAmB,GAQ5BD,KAAAE,gBAAmBC,IACjBH,KAAKC,KAAOE,EAASkB,kBAAkB,C,CALzC,iBAAAhB,GACEC,EAAkBN,K,CAOpB,MAAAO,GACE,MAAMC,EAAQR,KAAKC,KAAKQ,KAAIC,GAC1BC,EAAA,OAAKC,MAAM,oBACTD,EAAA,UACEA,EAAA,iBAAeE,IAAKH,EAAGI,UAAWC,MAAO,MAAML,EAAGK,cAEpDJ,EAAA,OAAKC,MAAM,UACRF,EAAGM,KAAKP,KAAII,GACXF,EAAA,UACEA,EAAA,iBAAeE,IAAKA,WAM9B,OAAOb,KAAKC,KAAKgB,OAAS,EAAIN,EAAA,UAAKH,GAAc,I","ignoreList":[]}
@@ -1,5 +1,5 @@
1
- import{d as n}from"./p-7efd6867.js";import{OVERLAY_BACK_BUTTON_PRIORITY as e,shouldUseCloseWatcher as t}from"./p-f1a6f6f2.js";import{g as o,c as i}from"./p-17cb620a.js";import{C as s}from"./p-8206b1f1.js";import{a as r,f as d,b as a,e as c,g as l}from"./p-25270f1a.js";import{p as u}from"./p-d6769f21.js";
1
+ import{d as n}from"./p-7efd6867.js";import{OVERLAY_BACK_BUTTON_PRIORITY as e,shouldUseCloseWatcher as t}from"./p-1fc8e557.js";import{g as o,c as i}from"./p-da0d920d.js";import{C as s}from"./p-eba70ed1.js";import{a as r,f as d,b as a,e as c,g as l}from"./p-71ee259b.js";import{p as u}from"./p-d6769f21.js";
2
2
  /*!
3
3
  * (C) Ionic http://ionicframework.com - MIT License
4
4
  */let f=0;let p=0;const m=new WeakMap;const v=n=>({create(e){return k(n,e)},dismiss(e,t,o){return N(document,e,t,n,o)},async getTop(){return B(document,n)}});const h=v("ion-alert");const b=v("ion-action-sheet");const w=v("ion-popover");const y=v("ion-toast");const g=n=>{if(typeof document!=="undefined"){D(document)}const e=f++;n.overlayIndex=e};const O=n=>{if(!n.hasAttribute("id")){n.id=`ion-overlay-${++p}`}return n.id};const k=(n,e)=>{if(typeof window!=="undefined"&&typeof window.customElements!=="undefined"){return window.customElements.whenDefined(n).then((()=>{const t=document.createElement(n);t.classList.add("overlay-hidden");Object.assign(t,Object.assign(Object.assign({},e),{hasController:true}));V(document).appendChild(t);return new Promise((n=>r(t,n)))}))}return Promise.resolve()};const T='[tabindex]:not([tabindex^="-"]):not([hidden]):not([disabled]), input:not([type=hidden]):not([tabindex^="-"]):not([hidden]):not([disabled]), textarea:not([tabindex^="-"]):not([hidden]):not([disabled]), button:not([tabindex^="-"]):not([hidden]):not([disabled]), select:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable[disabled="false"]:not([tabindex^="-"]):not([hidden])';const x=n=>n.classList.contains("overlay-hidden");const j=(n,e)=>{const t=n.querySelector(T);C(t,e)};const A=(n,e)=>{const t=Array.from(n.querySelectorAll(T));const o=t.length>0?t[t.length-1]:null;C(o,e)};const C=(n,e)=>{let t=n;const o=n===null||n===void 0?void 0:n.shadowRoot;if(o){t=o.querySelector(T)||n}if(t){d(t)}else{e.focus()}};const I=(n,e)=>{const t=B(e,"ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover");const o=n.target;if(!t||!o){return}if(t.classList.contains("ion-disable-focus-trap")){return}const i=()=>{if(t===o){t.lastFocus=undefined}else if(o.tagName==="ION-TOAST"){C(t.lastFocus,t)}else{const n=l(t);if(!n.contains(o)){return}const i=n.querySelector(".ion-overlay-wrapper");if(!i){return}if(i.contains(o)||o===n.querySelector("ion-backdrop")){t.lastFocus=o}else{const n=t.lastFocus;j(i,t);if(n===e.activeElement){A(i,t)}t.lastFocus=e.activeElement}}};const s=()=>{if(t.contains(o)){t.lastFocus=o}else if(o.tagName==="ION-TOAST"){C(t.lastFocus,t)}else{const n=t.lastFocus;j(t,t);if(n===e.activeElement){A(t,t)}t.lastFocus=e.activeElement}};if(t.shadowRoot){s()}else{i()}};const D=n=>{if(f===0){f=1;n.addEventListener("focus",(e=>{I(e,n)}),true);n.addEventListener("ionBackButton",(t=>{const o=B(n);if(o===null||o===void 0?void 0:o.backdropDismiss){t.detail.register(e,(()=>{o.dismiss(undefined,H)}))}}));if(!t()){n.addEventListener("keydown",(e=>{if(e.key==="Escape"){const e=B(n);if(e===null||e===void 0?void 0:e.backdropDismiss){e.dismiss(undefined,H)}}}))}}};const N=(n,e,t,o,i)=>{const s=B(n,o,i);if(!s){return Promise.reject("overlay does not exist")}return s.dismiss(e,t)};const S=(n,e)=>{if(e===undefined){e="ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover,ion-toast"}return Array.from(n.querySelectorAll(e)).filter((n=>n.overlayIndex>0))};const P=(n,e)=>S(n,e).filter((n=>!x(n)));const B=(n,e,t)=>{const o=P(n,e);return t===undefined?o[o.length-1]:o.find((n=>n.id===t))};const M=(n=false)=>{const e=V(document);const t=e.querySelector("ion-router-outlet, ion-nav, #ion-view-container-root");if(!t){return}if(n){t.setAttribute("aria-hidden","true")}else{t.removeAttribute("aria-hidden")}};const E=async(n,e,t,s,r)=>{var d,a;if(n.presented){return}M(true);U(n.el);n.presented=true;n.willPresent.emit();(d=n.willPresentShorthand)===null||d===void 0?void 0:d.emit();const c=o(n);const l=n.enterAnimation?n.enterAnimation:i.get(e,c==="ios"?t:s);const u=await $(n,l,n.el,r);if(u){n.didPresent.emit();(a=n.didPresentShorthand)===null||a===void 0?void 0:a.emit()}if(n.el.tagName!=="ION-TOAST"){G(n.el)}if(n.keyboardClose&&(document.activeElement===null||!n.el.contains(document.activeElement))){n.el.focus()}n.el.removeAttribute("aria-hidden")};const G=async n=>{let e=document.activeElement;if(!e){return}const t=e===null||e===void 0?void 0:e.shadowRoot;if(t){e=t.querySelector(T)||e}await n.onDidDismiss();if(document.activeElement===null||document.activeElement===document.body){e.focus()}};const L=async(e,t,s,r,d,a,c)=>{var l,u;if(!e.presented){return false}if(n!==undefined&&P(n).length===1){M(false)}e.presented=false;try{e.el.style.setProperty("pointer-events","none");e.willDismiss.emit({data:t,role:s});(l=e.willDismissShorthand)===null||l===void 0?void 0:l.emit({data:t,role:s});const n=o(e);const f=e.leaveAnimation?e.leaveAnimation:i.get(r,n==="ios"?d:a);if(s!==J){await $(e,f,e.el,c)}e.didDismiss.emit({data:t,role:s});(u=e.didDismissShorthand)===null||u===void 0?void 0:u.emit({data:t,role:s});const p=m.get(e)||[];p.forEach((n=>n.destroy()));m.delete(e);e.el.classList.add("overlay-hidden");e.el.style.removeProperty("pointer-events");if(e.el.lastFocus!==undefined){e.el.lastFocus=undefined}}catch(n){console.error(n)}e.el.remove();X();return true};const V=n=>n.querySelector("ion-app")||n.body;const $=async(n,e,t,o)=>{t.classList.remove("overlay-hidden");const s=n.el;const r=e(s,o);if(!n.animated||!i.getBoolean("animated",true)){r.duration(0)}if(n.keyboardClose){r.beforeAddWrite((()=>{const n=t.ownerDocument.activeElement;if(n===null||n===void 0?void 0:n.matches("input,ion-input, ion-textarea")){n.blur()}}))}const d=m.get(n)||[];m.set(n,[...d,r]);await r.play();return true};const z=(n,e)=>{let t;const o=new Promise((n=>t=n));F(n,e,(n=>{t(n.detail)}));return o};const F=(n,e,t)=>{const o=i=>{c(n,e,o);t(i)};a(n,e,o)};const W=n=>n==="cancel"||n===H;const _=n=>n();const q=(n,e)=>{if(typeof n==="function"){const t=i.get("_zoneGate",_);return t((()=>{try{return n(e)}catch(n){throw n}}))}return undefined};const H="backdrop";const J="gesture";const K=39;const Q=n=>{let e=false;let t;const o=s();const i=(i=false)=>{if(t&&!i){return{delegate:t,inline:e}}const{el:s,hasController:r,delegate:d}=n;const a=s.parentNode;e=a!==null&&!r;t=e?d||o:d;return{inline:e,delegate:t}};const r=async e=>{const{delegate:t}=i(true);if(t){return await t.attachViewToDom(n.el,e)}const{hasController:o}=n;if(o&&e!==undefined){throw new Error("framework delegate is missing")}return null};const d=()=>{const{delegate:e}=i();if(e&&n.el!==undefined){e.removeViewFromDom(n.el.parentElement,n.el)}};return{attachViewToDom:r,removeViewFromDom:d}};const R=()=>{let n;const e=()=>{if(n){n();n=undefined}};const t=(t,o)=>{e();const i=o!==undefined?document.getElementById(o):null;if(!i){u(`A trigger element with the ID "${o}" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on an overlay component.`,t);return}const s=(n,e)=>{const t=()=>{e.present()};n.addEventListener("click",t);return()=>{n.removeEventListener("click",t)}};n=s(i,t)};return{addClickListener:t,removeClickListener:e}};const U=e=>{var t;if(n===undefined)return;const o=P(n);for(let n=o.length-1;n>=0;n--){const i=o[n];const s=(t=o[n+1])!==null&&t!==void 0?t:e;if(s.hasAttribute("aria-hidden")||s.tagName!=="ION-TOAST"){i.setAttribute("aria-hidden","true")}}};const X=()=>{if(n===undefined)return;const e=P(n);for(let n=e.length-1;n>=0;n--){const t=e[n];t.removeAttribute("aria-hidden");if(t.tagName!=="ION-TOAST"){break}}};export{H as B,J as G,K as O,R as a,E as b,Q as c,L as d,z as e,q as f,B as g,w as h,W as i,b as j,h as k,j as l,g as p,O as s,y as t};
5
- //# sourceMappingURL=p-f7490d6e.js.map
5
+ //# sourceMappingURL=p-a6c03ce8.js.map
@@ -0,0 +1,2 @@
1
+ import{r as t,h as n,H as i}from"./p-42169e41.js";import{g as o}from"./p-da0d920d.js";const r="ion-card-content{display:block;position:relative}.card-content-ios{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:20px;padding-bottom:20px;font-size:1rem;line-height:1.4}.card-content-ios h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:1.5rem;font-weight:normal}.card-content-ios h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:1rem;font-weight:normal}.card-content-ios h3,.card-content-ios h4,.card-content-ios h5,.card-content-ios h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:0.875rem;font-weight:normal}.card-content-ios p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:0.875rem}ion-card-header+.card-content-ios{padding-top:0}";const a=r;const e="ion-card-content{display:block;position:relative}.card-content-md{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:13px;padding-bottom:13px;font-size:0.875rem;line-height:1.5}.card-content-md h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:1.5rem;font-weight:normal}.card-content-md h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:1rem;font-weight:normal}.card-content-md h3,.card-content-md h4,.card-content-md h5,.card-content-md h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:0.875rem;font-weight:normal}.card-content-md p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:0.875rem;font-weight:normal;line-height:1.5}ion-card-header+.card-content-md{padding-top:0}";const d=e;const m=class{constructor(n){t(this,n)}render(){const t=o(this);return n(i,{key:"dd95806f042fcd124b18126679f671be6e32a021",class:{[t]:true,[`card-content-${t}`]:true}})}};m.style={ios:a,md:d};export{m as ion_card_content};
2
+ //# sourceMappingURL=p-ae984107.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["cardContentIosCss","IonCardContentIosStyle0","cardContentMdCss","IonCardContentMdStyle0","CardContent","render","mode","getIonMode","this","h","Host","key","class"],"sources":["../node_modules/@ionic/core/dist/collection/components/card-content/card-content.ios.css?tag=ion-card-content&mode=ios","../node_modules/@ionic/core/dist/collection/components/card-content/card-content.md.css?tag=ion-card-content&mode=md","../node_modules/@ionic/core/dist/collection/components/card-content/card-content.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-card-content {\n display: block;\n position: relative;\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.card-content-ios {\n -webkit-padding-start: 20px;\n padding-inline-start: 20px;\n -webkit-padding-end: 20px;\n padding-inline-end: 20px;\n padding-top: 20px;\n padding-bottom: 20px;\n font-size: 1rem;\n line-height: 1.4;\n}\n.card-content-ios h1 {\n margin-left: 0;\n margin-right: 0;\n margin-top: 0;\n margin-bottom: 2px;\n font-size: 1.5rem;\n font-weight: normal;\n}\n.card-content-ios h2 {\n margin-left: 0;\n margin-right: 0;\n margin-top: 2px;\n margin-bottom: 2px;\n font-size: 1rem;\n font-weight: normal;\n}\n.card-content-ios h3,\n.card-content-ios h4,\n.card-content-ios h5,\n.card-content-ios h6 {\n margin-left: 0;\n margin-right: 0;\n margin-top: 2px;\n margin-bottom: 2px;\n font-size: 0.875rem;\n font-weight: normal;\n}\n.card-content-ios p {\n margin-left: 0;\n margin-right: 0;\n margin-top: 0;\n margin-bottom: 2px;\n font-size: 0.875rem;\n}\n\nion-card-header + .card-content-ios {\n padding-top: 0;\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-card-content {\n display: block;\n position: relative;\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.card-content-md {\n -webkit-padding-start: 16px;\n padding-inline-start: 16px;\n -webkit-padding-end: 16px;\n padding-inline-end: 16px;\n padding-top: 13px;\n padding-bottom: 13px;\n font-size: 0.875rem;\n line-height: 1.5;\n}\n.card-content-md h1 {\n margin-left: 0;\n margin-right: 0;\n margin-top: 0;\n margin-bottom: 2px;\n font-size: 1.5rem;\n font-weight: normal;\n}\n.card-content-md h2 {\n margin-left: 0;\n margin-right: 0;\n margin-top: 2px;\n margin-bottom: 2px;\n font-size: 1rem;\n font-weight: normal;\n}\n.card-content-md h3,\n.card-content-md h4,\n.card-content-md h5,\n.card-content-md h6 {\n margin-left: 0;\n margin-right: 0;\n margin-top: 2px;\n margin-bottom: 2px;\n font-size: 0.875rem;\n font-weight: normal;\n}\n.card-content-md p {\n margin-left: 0;\n margin-right: 0;\n margin-top: 0;\n margin-bottom: 2px;\n font-size: 0.875rem;\n font-weight: normal;\n line-height: 1.5;\n}\n\nion-card-header + .card-content-md {\n padding-top: 0;\n}","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { Host, h } from \"@stencil/core\";\nimport { getIonMode } from \"../../global/ionic-global\";\n/**\n * @virtualProp {\"ios\" | \"md\"} mode - The mode determines which platform styles to use.\n */\nexport class CardContent {\n render() {\n const mode = getIonMode(this);\n return (h(Host, { key: 'dd95806f042fcd124b18126679f671be6e32a021', class: {\n [mode]: true,\n // Used internally for styling\n [`card-content-${mode}`]: true,\n } }));\n }\n static get is() { return \"ion-card-content\"; }\n static get originalStyleUrls() {\n return {\n \"ios\": [\"card-content.ios.scss\"],\n \"md\": [\"card-content.md.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"ios\": [\"card-content.ios.css\"],\n \"md\": [\"card-content.md.css\"]\n };\n }\n}\n"],"mappings":"sFAAA,MAAMA,EAAoB,qyBAC1B,MAAAC,EAAeD,ECDf,MAAME,EAAmB,m0BACzB,MAAAC,EAAeD,E,MCOFE,EAAW,M,yBACpB,MAAAC,GACI,MAAMC,EAAOC,EAAWC,MACxB,OAAQC,EAAEC,EAAM,CAAEC,IAAK,2CAA4CC,MAAO,CAClEN,CAACA,GAAO,KAER,CAAC,gBAAgBA,KAAS,O","ignoreList":[]}
@@ -1,5 +1,5 @@
1
- import{f as e,w as o,r as n,h as t,H as s,d as i}from"./p-ad32e711.js";import{g as a,f as r,p as c}from"./p-20e2e8c1.js";import{c as l,h as d}from"./p-25270f1a.js";import{h}from"./p-669fab6c.js";import{g as p}from"./p-17cb620a.js";import"./p-d6769f21.js";
1
+ import{f as e,w as o,r as n,h as t,H as s,e as i}from"./p-42169e41.js";import{g as a,f as r,p as c}from"./p-949b115f.js";import{c as l,h as d}from"./p-71ee259b.js";import{h}from"./p-669fab6c.js";import{g as p}from"./p-da0d920d.js";import"./p-d6769f21.js";
2
2
  /*!
3
3
  * (C) Ionic http://ionicframework.com - MIT License
4
4
  */const b="all 0.2s ease-in-out";const f=e=>{const o=document.querySelector(`${e}.ion-cloned-element`);if(o!==null){return o}const n=document.createElement(e);n.classList.add("ion-cloned-element");n.style.setProperty("display","none");document.body.appendChild(n);return n};const u=e=>{if(!e){return}const o=e.querySelectorAll("ion-toolbar");return{el:e,toolbars:Array.from(o).map((e=>{const o=e.querySelector("ion-title");return{el:e,background:e.shadowRoot.querySelector(".toolbar-background"),ionTitleEl:o,innerTitleEl:o?o.shadowRoot.querySelector(".toolbar-title"):null,ionButtonsEl:Array.from(e.querySelectorAll("ion-buttons"))}}))}};const y=(n,t,s)=>{e((()=>{const e=n.scrollTop;const i=l(1,1+-e/500,1.1);const a=s.querySelector("ion-refresher.refresher-native");if(a===null){o((()=>{v(t.toolbars,i)}))}}))};const m=(e,o)=>{if(e.collapse==="fade"){return}if(o===undefined){e.style.removeProperty("--opacity-scale")}else{e.style.setProperty("--opacity-scale",o.toString())}};const g=(e,o,n)=>{if(!e[0].isIntersecting){return}const t=e[0].intersectionRatio>.9||n<=0?0:(1-e[0].intersectionRatio)*100/75;m(o.el,t===1?undefined:t)};const x=(e,n,t,s)=>{o((()=>{const o=s.scrollTop;g(e,n,o);const i=e[0];const a=i.intersectionRect;const r=a.width*a.height;const c=i.rootBounds.width*i.rootBounds.height;const l=r===0&&c===0;const d=Math.abs(a.left-i.boundingClientRect.left);const h=Math.abs(a.right-i.boundingClientRect.right);const p=r>0&&(d>=5||h>=5);if(l||p){return}if(i.isIntersecting){k(n,false);k(t)}else{const e=a.x===0&&a.y===0||a.width!==0&&a.height!==0;if(e&&o>0){k(n);k(t,false);m(n.el)}}}))};const k=(e,o=true)=>{const n=e.el;if(o){n.classList.remove("header-collapse-condense-inactive");n.removeAttribute("aria-hidden")}else{n.classList.add("header-collapse-condense-inactive");n.setAttribute("aria-hidden","true")}};const v=(e=[],o=1,n=false)=>{e.forEach((e=>{const t=e.ionTitleEl;const s=e.innerTitleEl;if(!t||t.size!=="large"){return}s.style.transition=n?b:"";s.style.transform=`scale3d(${o}, ${o}, 1)`}))};const w=(n,t,s)=>{e((()=>{const e=n.scrollTop;const i=t.clientHeight;const a=s?s.clientHeight:0;if(s!==null&&e<a){t.style.setProperty("--opacity-scale","0");n.style.setProperty("clip-path",`inset(${i}px 0px 0px 0px)`);return}const r=e-a;const c=10;const d=l(0,r/c,1);o((()=>{n.style.removeProperty("clip-path");t.style.setProperty("--opacity-scale",d.toString())}))}))};const j="ion-header{display:block;position:relative;order:-1;width:100%;z-index:10}ion-header ion-toolbar:first-of-type{padding-top:var(--ion-safe-area-top, 0)}.header-ios ion-toolbar:last-of-type{--border-width:0 0 0.55px}@supports (backdrop-filter: blur(0)){.header-background{left:0;right:0;top:0;bottom:0;position:absolute;backdrop-filter:saturate(180%) blur(20px)}.header-translucent-ios ion-toolbar{--opacity:.8}.header-collapse-condense-inactive .header-background{backdrop-filter:blur(20px)}}.header-ios.ion-no-border ion-toolbar:last-of-type{--border-width:0}.header-collapse-fade ion-toolbar{--opacity-scale:inherit}.header-collapse-condense{z-index:9}.header-collapse-condense ion-toolbar{position:sticky;top:0}.header-collapse-condense ion-toolbar:first-of-type{padding-top:0px;z-index:1}.header-collapse-condense ion-toolbar{--background:var(--ion-background-color, #fff);z-index:0}.header-collapse-condense ion-toolbar:last-of-type{--border-width:0px}.header-collapse-condense ion-toolbar ion-searchbar{padding-top:0px;padding-bottom:13px}.header-collapse-main{--opacity-scale:1}.header-collapse-main ion-toolbar{--opacity-scale:inherit}.header-collapse-main ion-toolbar.in-toolbar ion-title,.header-collapse-main ion-toolbar.in-toolbar ion-buttons{transition:all 0.2s ease-in-out}.header-collapse-condense-inactive:not(.header-collapse-condense) ion-toolbar.in-toolbar ion-title,.header-collapse-condense-inactive:not(.header-collapse-condense) ion-toolbar.in-toolbar ion-buttons.buttons-collapse{opacity:0;pointer-events:none}.header-collapse-condense-inactive.header-collapse-condense ion-toolbar.in-toolbar ion-title,.header-collapse-condense-inactive.header-collapse-condense ion-toolbar.in-toolbar ion-buttons.buttons-collapse{visibility:hidden}ion-header.header-ios:not(.header-collapse-main):has(~ion-content ion-header.header-ios[collapse=condense],~ion-content ion-header.header-ios.header-collapse-condense){opacity:0}";const $=j;const z="ion-header{display:block;position:relative;order:-1;width:100%;z-index:10}ion-header ion-toolbar:first-of-type{padding-top:var(--ion-safe-area-top, 0)}.header-md{box-shadow:0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12)}.header-collapse-condense{display:none}.header-md.ion-no-border{box-shadow:none}";const A=z;const C=class{constructor(e){n(this,e);this.inheritedAttributes={};this.setupFadeHeader=async(e,o)=>{const n=this.scrollEl=await a(e);this.contentScrollCallback=()=>{w(this.scrollEl,this.el,o)};n.addEventListener("scroll",this.contentScrollCallback);w(this.scrollEl,this.el,o)};this.collapse=undefined;this.translucent=false}componentWillLoad(){this.inheritedAttributes=d(this.el)}componentDidLoad(){this.checkCollapsibleHeader()}componentDidUpdate(){this.checkCollapsibleHeader()}disconnectedCallback(){this.destroyCollapsibleHeader()}async checkCollapsibleHeader(){const e=p(this);if(e!=="ios"){return}const{collapse:n}=this;const t=n==="condense";const s=n==="fade";this.destroyCollapsibleHeader();if(t){const e=this.el.closest("ion-app,ion-page,.ion-page,page-inner");const n=e?r(e):null;o((()=>{const e=f("ion-title");e.size="large";f("ion-back-button")}));await this.setupCondenseHeader(n,e)}else if(s){const e=this.el.closest("ion-app,ion-page,.ion-page,page-inner");const o=e?r(e):null;if(!o){c(this.el);return}const n=o.querySelector('ion-header[collapse="condense"]');await this.setupFadeHeader(o,n)}}destroyCollapsibleHeader(){if(this.intersectionObserver){this.intersectionObserver.disconnect();this.intersectionObserver=undefined}if(this.scrollEl&&this.contentScrollCallback){this.scrollEl.removeEventListener("scroll",this.contentScrollCallback);this.contentScrollCallback=undefined}if(this.collapsibleMainHeader){this.collapsibleMainHeader.classList.remove("header-collapse-main");this.collapsibleMainHeader=undefined}}async setupCondenseHeader(e,n){if(!e||!n){c(this.el);return}if(typeof IntersectionObserver==="undefined"){return}this.scrollEl=await a(e);const t=n.querySelectorAll("ion-header");this.collapsibleMainHeader=Array.from(t).find((e=>e.collapse!=="condense"));if(!this.collapsibleMainHeader){return}const s=u(this.collapsibleMainHeader);const i=u(this.el);if(!s||!i){return}k(s,false);m(s.el,0);const r=e=>{x(e,s,i,this.scrollEl)};this.intersectionObserver=new IntersectionObserver(r,{root:e,threshold:[.25,.3,.4,.5,.6,.7,.8,.9,1]});this.intersectionObserver.observe(i.toolbars[i.toolbars.length-1].el);this.contentScrollCallback=()=>{y(this.scrollEl,i,e)};this.scrollEl.addEventListener("scroll",this.contentScrollCallback);o((()=>{if(this.collapsibleMainHeader!==undefined){this.collapsibleMainHeader.classList.add("header-collapse-main")}}))}render(){const{translucent:e,inheritedAttributes:o}=this;const n=p(this);const i=this.collapse||"none";const a=h("ion-menu",this.el)?"none":"banner";return t(s,Object.assign({key:"9fa0af97b605f9fe98b13361bc3d1289745c549f",role:a,class:{[n]:true,[`header-${n}`]:true,[`header-translucent`]:this.translucent,[`header-collapse-${i}`]:true,[`header-translucent-${n}`]:this.translucent}},o),n==="ios"&&e&&t("div",{key:"1a780d2625302f2465718e304bdd3794c89c9845",class:"header-background"}),t("slot",{key:"b2b8557b44be40c590bfcc362ac4350f9f8b889e"}))}get el(){return i(this)}};C.style={ios:$,md:A};export{C as ion_header};
5
- //# sourceMappingURL=p-a9df5a3a.entry.js.map
5
+ //# sourceMappingURL=p-b5f6b322.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,i as s,h as e,d as i,H as r}from"./p-ad32e711.js";import{a as o,g as n}from"./p-20e2e8c1.js";import{r as h}from"./p-25270f1a.js";import{a as c,b as a,c as d}from"./p-c8020dbc.js";import{g as l}from"./p-17cb620a.js";import"./p-d6769f21.js";import"./p-21b22219.js";import"./p-7efd6867.js";const f=".reorder-list-active>*{display:block;transition:transform 300ms;will-change:transform}.reorder-enabled{user-select:none}.reorder-enabled ion-reorder{display:block;cursor:grab;pointer-events:all;touch-action:none}.reorder-selected,.reorder-selected ion-reorder{cursor:grabbing}.reorder-selected{position:relative;transition:none !important;box-shadow:0 0 10px rgba(0, 0, 0, 0.4);opacity:0.8;z-index:100}.reorder-visible ion-reorder .reorder-icon{transform:translate3d(0, 0, 0)}";const u=f;const p=class{constructor(e){t(this,e);this.ionItemReorder=s(this,"ionItemReorder",7);this.lastToIndex=-1;this.cachedHeights=[];this.scrollElTop=0;this.scrollElBottom=0;this.scrollElInitial=0;this.containerTop=0;this.containerBottom=0;this.state=0;this.disabled=true}disabledChanged(){if(this.gesture){this.gesture.enable(!this.disabled)}}async connectedCallback(){const t=o(this.el);if(t){this.scrollEl=await n(t)}this.gesture=(await import("./p-b943833e.js")).createGesture({el:this.el,gestureName:"reorder",gesturePriority:110,threshold:0,direction:"y",passive:false,canStart:t=>this.canStart(t),onStart:t=>this.onStart(t),onMove:t=>this.onMove(t),onEnd:()=>this.onEnd()});this.disabledChanged()}disconnectedCallback(){this.onEnd();if(this.gesture){this.gesture.destroy();this.gesture=undefined}}complete(t){return Promise.resolve(this.completeReorder(t))}canStart(t){if(this.selectedItemEl||this.state!==0){return false}const s=t.event.target;const e=s.closest("ion-reorder");if(!e){return false}const i=b(e,this.el);if(!i){return false}t.data=i;return true}onStart(t){t.event.preventDefault();const s=this.selectedItemEl=t.data;const e=this.cachedHeights;e.length=0;const i=this.el;const r=i.children;if(!r||r.length===0){return}let o=0;for(let t=0;t<r.length;t++){const s=r[t];o+=s.offsetHeight;e.push(o);s.$ionIndex=t}const n=i.getBoundingClientRect();this.containerTop=n.top;this.containerBottom=n.bottom;if(this.scrollEl){const t=this.scrollEl.getBoundingClientRect();this.scrollElInitial=this.scrollEl.scrollTop;this.scrollElTop=t.top+g;this.scrollElBottom=t.bottom-g}else{this.scrollElInitial=0;this.scrollElTop=0;this.scrollElBottom=0}this.lastToIndex=m(s);this.selectedItemHeight=s.offsetHeight;this.state=1;s.classList.add(v);c()}onMove(t){const s=this.selectedItemEl;if(!s){return}const e=this.autoscroll(t.currentY);const i=this.containerTop-e;const r=this.containerBottom-e;const o=Math.max(i,Math.min(t.currentY,r));const n=e+o-t.startY;const h=o-i;const c=this.itemIndexForTop(h);if(c!==this.lastToIndex){const t=m(s);this.lastToIndex=c;a();this.reorderMove(t,c)}s.style.transform=`translateY(${n}px)`}onEnd(){const t=this.selectedItemEl;this.state=2;if(!t){this.state=0;return}const s=this.lastToIndex;const e=m(t);if(s===e){this.completeReorder()}else{this.ionItemReorder.emit({from:e,to:s,complete:this.completeReorder.bind(this)})}d()}completeReorder(t){const s=this.selectedItemEl;if(s&&this.state===2){const e=this.el.children;const i=e.length;const r=this.lastToIndex;const o=m(s);h((()=>{if(r!==o&&(t===undefined||t===true)){const t=o<r?e[r+1]:e[r];this.el.insertBefore(s,t)}for(let t=0;t<i;t++){e[t].style["transform"]=""}}));if(Array.isArray(t)){t=x(t,o,r)}s.style.transition="";s.classList.remove(v);this.selectedItemEl=undefined;this.state=0}return t}itemIndexForTop(t){const s=this.cachedHeights;for(let e=0;e<s.length;e++){if(s[e]>t){return e}}return s.length-1}reorderMove(t,s){const e=this.selectedItemHeight;const i=this.el.children;for(let r=0;r<i.length;r++){const o=i[r].style;let n="";if(r>t&&r<=s){n=`translateY(${-e}px)`}else if(r<t&&r>=s){n=`translateY(${e}px)`}o["transform"]=n}}autoscroll(t){if(!this.scrollEl){return 0}let s=0;if(t<this.scrollElTop){s=-j}else if(t>this.scrollElBottom){s=j}if(s!==0){this.scrollEl.scrollBy(0,s)}return this.scrollEl.scrollTop-this.scrollElInitial}render(){const t=l(this);return e(r,{key:"68b5e5fa00a0531c74597964d84c82da8bc3252f",class:{[t]:true,"reorder-enabled":!this.disabled,"reorder-list-active":this.state!==0}})}get el(){return i(this)}static get watchers(){return{disabled:["disabledChanged"]}}};const m=t=>t["$ionIndex"];const b=(t,s)=>{let e;while(t){e=t.parentElement;if(e===s){return t}t=e}return undefined};const g=60;const j=10;const v="reorder-selected";const x=(t,s,e)=>{const i=t[s];t.splice(s,1);t.splice(e,0,i);return t.slice()};p.style=u;export{p as ion_reorder_group};
2
- //# sourceMappingURL=p-00c6a8f5.entry.js.map
1
+ import{r as t,i as s,h as e,e as i,H as r}from"./p-42169e41.js";import{a as o,g as n}from"./p-949b115f.js";import{r as h}from"./p-71ee259b.js";import{a as c,b as a,c as d}from"./p-c8020dbc.js";import{g as l}from"./p-da0d920d.js";import"./p-d6769f21.js";import"./p-21b22219.js";import"./p-7efd6867.js";const f=".reorder-list-active>*{display:block;transition:transform 300ms;will-change:transform}.reorder-enabled{user-select:none}.reorder-enabled ion-reorder{display:block;cursor:grab;pointer-events:all;touch-action:none}.reorder-selected,.reorder-selected ion-reorder{cursor:grabbing}.reorder-selected{position:relative;transition:none !important;box-shadow:0 0 10px rgba(0, 0, 0, 0.4);opacity:0.8;z-index:100}.reorder-visible ion-reorder .reorder-icon{transform:translate3d(0, 0, 0)}";const u=f;const p=class{constructor(e){t(this,e);this.ionItemReorder=s(this,"ionItemReorder",7);this.lastToIndex=-1;this.cachedHeights=[];this.scrollElTop=0;this.scrollElBottom=0;this.scrollElInitial=0;this.containerTop=0;this.containerBottom=0;this.state=0;this.disabled=true}disabledChanged(){if(this.gesture){this.gesture.enable(!this.disabled)}}async connectedCallback(){const t=o(this.el);if(t){this.scrollEl=await n(t)}this.gesture=(await import("./p-b943833e.js")).createGesture({el:this.el,gestureName:"reorder",gesturePriority:110,threshold:0,direction:"y",passive:false,canStart:t=>this.canStart(t),onStart:t=>this.onStart(t),onMove:t=>this.onMove(t),onEnd:()=>this.onEnd()});this.disabledChanged()}disconnectedCallback(){this.onEnd();if(this.gesture){this.gesture.destroy();this.gesture=undefined}}complete(t){return Promise.resolve(this.completeReorder(t))}canStart(t){if(this.selectedItemEl||this.state!==0){return false}const s=t.event.target;const e=s.closest("ion-reorder");if(!e){return false}const i=b(e,this.el);if(!i){return false}t.data=i;return true}onStart(t){t.event.preventDefault();const s=this.selectedItemEl=t.data;const e=this.cachedHeights;e.length=0;const i=this.el;const r=i.children;if(!r||r.length===0){return}let o=0;for(let t=0;t<r.length;t++){const s=r[t];o+=s.offsetHeight;e.push(o);s.$ionIndex=t}const n=i.getBoundingClientRect();this.containerTop=n.top;this.containerBottom=n.bottom;if(this.scrollEl){const t=this.scrollEl.getBoundingClientRect();this.scrollElInitial=this.scrollEl.scrollTop;this.scrollElTop=t.top+g;this.scrollElBottom=t.bottom-g}else{this.scrollElInitial=0;this.scrollElTop=0;this.scrollElBottom=0}this.lastToIndex=m(s);this.selectedItemHeight=s.offsetHeight;this.state=1;s.classList.add(v);c()}onMove(t){const s=this.selectedItemEl;if(!s){return}const e=this.autoscroll(t.currentY);const i=this.containerTop-e;const r=this.containerBottom-e;const o=Math.max(i,Math.min(t.currentY,r));const n=e+o-t.startY;const h=o-i;const c=this.itemIndexForTop(h);if(c!==this.lastToIndex){const t=m(s);this.lastToIndex=c;a();this.reorderMove(t,c)}s.style.transform=`translateY(${n}px)`}onEnd(){const t=this.selectedItemEl;this.state=2;if(!t){this.state=0;return}const s=this.lastToIndex;const e=m(t);if(s===e){this.completeReorder()}else{this.ionItemReorder.emit({from:e,to:s,complete:this.completeReorder.bind(this)})}d()}completeReorder(t){const s=this.selectedItemEl;if(s&&this.state===2){const e=this.el.children;const i=e.length;const r=this.lastToIndex;const o=m(s);h((()=>{if(r!==o&&(t===undefined||t===true)){const t=o<r?e[r+1]:e[r];this.el.insertBefore(s,t)}for(let t=0;t<i;t++){e[t].style["transform"]=""}}));if(Array.isArray(t)){t=x(t,o,r)}s.style.transition="";s.classList.remove(v);this.selectedItemEl=undefined;this.state=0}return t}itemIndexForTop(t){const s=this.cachedHeights;for(let e=0;e<s.length;e++){if(s[e]>t){return e}}return s.length-1}reorderMove(t,s){const e=this.selectedItemHeight;const i=this.el.children;for(let r=0;r<i.length;r++){const o=i[r].style;let n="";if(r>t&&r<=s){n=`translateY(${-e}px)`}else if(r<t&&r>=s){n=`translateY(${e}px)`}o["transform"]=n}}autoscroll(t){if(!this.scrollEl){return 0}let s=0;if(t<this.scrollElTop){s=-j}else if(t>this.scrollElBottom){s=j}if(s!==0){this.scrollEl.scrollBy(0,s)}return this.scrollEl.scrollTop-this.scrollElInitial}render(){const t=l(this);return e(r,{key:"68b5e5fa00a0531c74597964d84c82da8bc3252f",class:{[t]:true,"reorder-enabled":!this.disabled,"reorder-list-active":this.state!==0}})}get el(){return i(this)}static get watchers(){return{disabled:["disabledChanged"]}}};const m=t=>t["$ionIndex"];const b=(t,s)=>{let e;while(t){e=t.parentElement;if(e===s){return t}t=e}return undefined};const g=60;const j=10;const v="reorder-selected";const x=(t,s,e)=>{const i=t[s];t.splice(s,1);t.splice(e,0,i);return t.slice()};p.style=u;export{p as ion_reorder_group};
2
+ //# sourceMappingURL=p-b64a85bf.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as o,j as t,h as r,H as a,d as n}from"./p-ad32e711.js";import{c as e,h as i}from"./p-669fab6c.js";import{g as d}from"./p-17cb620a.js";const s=":host{--border-width:0;--border-style:solid;--opacity:1;--opacity-scale:1;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;width:100%;padding-right:var(--ion-safe-area-right);padding-left:var(--ion-safe-area-left);color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;z-index:10;box-sizing:border-box}:host(.ion-color){color:var(--ion-color-contrast)}:host(.ion-color) .toolbar-background{background:var(--ion-color-base)}.toolbar-container{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:flex;position:relative;flex-direction:row;align-items:center;justify-content:space-between;width:100%;min-height:var(--min-height);contain:content;overflow:hidden;z-index:10;box-sizing:border-box}.toolbar-background{left:0;right:0;top:0;bottom:0;position:absolute;transform:translateZ(0);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;opacity:calc(var(--opacity) * var(--opacity-scale));z-index:-1;pointer-events:none}::slotted(ion-progress-bar){left:0;right:0;bottom:0;position:absolute}:host{--background:var(--ion-toolbar-background, var(--ion-color-step-50, #f7f7f7));--color:var(--ion-toolbar-color, var(--ion-text-color, #000));--border-color:var(--ion-toolbar-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.2))));--padding-top:3px;--padding-bottom:3px;--padding-start:4px;--padding-end:4px;--min-height:44px}.toolbar-content{flex:1;order:4;min-width:0}:host(.toolbar-segment) .toolbar-content{display:inline-flex}:host(.toolbar-searchbar) .toolbar-container{padding-top:0;padding-bottom:0}:host(.toolbar-searchbar) ::slotted(*){align-self:start}:host(.toolbar-searchbar) ::slotted(ion-chip){margin-top:3px}::slotted(ion-buttons){min-height:38px}::slotted([slot=start]){order:2}::slotted([slot=secondary]){order:3}::slotted([slot=primary]){order:5;text-align:end}::slotted([slot=end]){order:6;text-align:end}:host(.toolbar-title-large) .toolbar-container{flex-wrap:wrap;align-items:flex-start}:host(.toolbar-title-large) .toolbar-content ion-title{flex:1;order:8;min-width:100%}";const l=s;const c=":host{--border-width:0;--border-style:solid;--opacity:1;--opacity-scale:1;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;width:100%;padding-right:var(--ion-safe-area-right);padding-left:var(--ion-safe-area-left);color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;z-index:10;box-sizing:border-box}:host(.ion-color){color:var(--ion-color-contrast)}:host(.ion-color) .toolbar-background{background:var(--ion-color-base)}.toolbar-container{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:flex;position:relative;flex-direction:row;align-items:center;justify-content:space-between;width:100%;min-height:var(--min-height);contain:content;overflow:hidden;z-index:10;box-sizing:border-box}.toolbar-background{left:0;right:0;top:0;bottom:0;position:absolute;transform:translateZ(0);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;opacity:calc(var(--opacity) * var(--opacity-scale));z-index:-1;pointer-events:none}::slotted(ion-progress-bar){left:0;right:0;bottom:0;position:absolute}:host{--background:var(--ion-toolbar-background, var(--ion-background-color, #fff));--color:var(--ion-toolbar-color, var(--ion-text-color, #424242));--border-color:var(--ion-toolbar-border-color, var(--ion-border-color, var(--ion-color-step-150, #c1c4cd)));--padding-top:0;--padding-bottom:0;--padding-start:0;--padding-end:0;--min-height:56px}.toolbar-content{flex:1;order:3;min-width:0;max-width:100%}::slotted(.buttons-first-slot){-webkit-margin-start:4px;margin-inline-start:4px}::slotted(.buttons-last-slot){-webkit-margin-end:4px;margin-inline-end:4px}::slotted([slot=start]){order:2}::slotted([slot=secondary]){order:4}::slotted([slot=primary]){order:5;text-align:end}::slotted([slot=end]){order:6;text-align:end}";const b=c;const p=class{constructor(t){o(this,t);this.childrenStyles=new Map;this.color=undefined}componentWillLoad(){const o=Array.from(this.el.querySelectorAll("ion-buttons"));const t=o.find((o=>o.slot==="start"));if(t){t.classList.add("buttons-first-slot")}const r=o.reverse();const a=r.find((o=>o.slot==="end"))||r.find((o=>o.slot==="primary"))||r.find((o=>o.slot==="secondary"));if(a){a.classList.add("buttons-last-slot")}}childrenStyle(o){o.stopPropagation();const r=o.target.tagName;const a=o.detail;const n={};const e=this.childrenStyles.get(r)||{};let i=false;Object.keys(a).forEach((o=>{const t=`toolbar-${o}`;const r=a[o];if(r!==e[t]){i=true}if(r){n[t]=true}}));if(i){this.childrenStyles.set(r,n);t(this)}}render(){const o=d(this);const t={};this.childrenStyles.forEach((o=>{Object.assign(t,o)}));return r(a,{key:"8907ed75fbb2b1dced55c481bba6363f1dca815b",class:Object.assign(Object.assign({},t),e(this.color,{[o]:true,"in-toolbar":i("ion-toolbar",this.el)}))},r("div",{key:"6bfa09b08d6517f0d680f53b739854cecd631bc9",class:"toolbar-background"}),r("div",{key:"1531bd6dd9e0a5843309bba854b744c453037ad0",class:"toolbar-container"},r("slot",{key:"881b41697d386eae651b019128573f0fa432cd33",name:"start"}),r("slot",{key:"64a284e6eae5311ac3125dfadb4bb32bdba9d089",name:"secondary"}),r("div",{key:"c1f47503563b38084b27d7ba54f17ec478482b94",class:"toolbar-content"},r("slot",{key:"9a85acfba72252705619ae32acae9c14f81aa57d"})),r("slot",{key:"89e08bd761dc6940dbebc5d06f5f080af204aa72",name:"primary"}),r("slot",{key:"a1cb7d95627f8a3d24dd4b9c11718fc164f53674",name:"end"})))}get el(){return n(this)}};p.style={ios:l,md:b};export{p as ion_toolbar};
2
- //# sourceMappingURL=p-fa63a2cc.entry.js.map
1
+ import{r as o,j as t,h as r,H as a,e as n}from"./p-42169e41.js";import{c as e,h as i}from"./p-669fab6c.js";import{g as d}from"./p-da0d920d.js";const s=":host{--border-width:0;--border-style:solid;--opacity:1;--opacity-scale:1;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;width:100%;padding-right:var(--ion-safe-area-right);padding-left:var(--ion-safe-area-left);color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;z-index:10;box-sizing:border-box}:host(.ion-color){color:var(--ion-color-contrast)}:host(.ion-color) .toolbar-background{background:var(--ion-color-base)}.toolbar-container{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:flex;position:relative;flex-direction:row;align-items:center;justify-content:space-between;width:100%;min-height:var(--min-height);contain:content;overflow:hidden;z-index:10;box-sizing:border-box}.toolbar-background{left:0;right:0;top:0;bottom:0;position:absolute;transform:translateZ(0);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;opacity:calc(var(--opacity) * var(--opacity-scale));z-index:-1;pointer-events:none}::slotted(ion-progress-bar){left:0;right:0;bottom:0;position:absolute}:host{--background:var(--ion-toolbar-background, var(--ion-color-step-50, #f7f7f7));--color:var(--ion-toolbar-color, var(--ion-text-color, #000));--border-color:var(--ion-toolbar-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.2))));--padding-top:3px;--padding-bottom:3px;--padding-start:4px;--padding-end:4px;--min-height:44px}.toolbar-content{flex:1;order:4;min-width:0}:host(.toolbar-segment) .toolbar-content{display:inline-flex}:host(.toolbar-searchbar) .toolbar-container{padding-top:0;padding-bottom:0}:host(.toolbar-searchbar) ::slotted(*){align-self:start}:host(.toolbar-searchbar) ::slotted(ion-chip){margin-top:3px}::slotted(ion-buttons){min-height:38px}::slotted([slot=start]){order:2}::slotted([slot=secondary]){order:3}::slotted([slot=primary]){order:5;text-align:end}::slotted([slot=end]){order:6;text-align:end}:host(.toolbar-title-large) .toolbar-container{flex-wrap:wrap;align-items:flex-start}:host(.toolbar-title-large) .toolbar-content ion-title{flex:1;order:8;min-width:100%}";const l=s;const c=":host{--border-width:0;--border-style:solid;--opacity:1;--opacity-scale:1;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;width:100%;padding-right:var(--ion-safe-area-right);padding-left:var(--ion-safe-area-left);color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;z-index:10;box-sizing:border-box}:host(.ion-color){color:var(--ion-color-contrast)}:host(.ion-color) .toolbar-background{background:var(--ion-color-base)}.toolbar-container{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:flex;position:relative;flex-direction:row;align-items:center;justify-content:space-between;width:100%;min-height:var(--min-height);contain:content;overflow:hidden;z-index:10;box-sizing:border-box}.toolbar-background{left:0;right:0;top:0;bottom:0;position:absolute;transform:translateZ(0);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;opacity:calc(var(--opacity) * var(--opacity-scale));z-index:-1;pointer-events:none}::slotted(ion-progress-bar){left:0;right:0;bottom:0;position:absolute}:host{--background:var(--ion-toolbar-background, var(--ion-background-color, #fff));--color:var(--ion-toolbar-color, var(--ion-text-color, #424242));--border-color:var(--ion-toolbar-border-color, var(--ion-border-color, var(--ion-color-step-150, #c1c4cd)));--padding-top:0;--padding-bottom:0;--padding-start:0;--padding-end:0;--min-height:56px}.toolbar-content{flex:1;order:3;min-width:0;max-width:100%}::slotted(.buttons-first-slot){-webkit-margin-start:4px;margin-inline-start:4px}::slotted(.buttons-last-slot){-webkit-margin-end:4px;margin-inline-end:4px}::slotted([slot=start]){order:2}::slotted([slot=secondary]){order:4}::slotted([slot=primary]){order:5;text-align:end}::slotted([slot=end]){order:6;text-align:end}";const b=c;const p=class{constructor(t){o(this,t);this.childrenStyles=new Map;this.color=undefined}componentWillLoad(){const o=Array.from(this.el.querySelectorAll("ion-buttons"));const t=o.find((o=>o.slot==="start"));if(t){t.classList.add("buttons-first-slot")}const r=o.reverse();const a=r.find((o=>o.slot==="end"))||r.find((o=>o.slot==="primary"))||r.find((o=>o.slot==="secondary"));if(a){a.classList.add("buttons-last-slot")}}childrenStyle(o){o.stopPropagation();const r=o.target.tagName;const a=o.detail;const n={};const e=this.childrenStyles.get(r)||{};let i=false;Object.keys(a).forEach((o=>{const t=`toolbar-${o}`;const r=a[o];if(r!==e[t]){i=true}if(r){n[t]=true}}));if(i){this.childrenStyles.set(r,n);t(this)}}render(){const o=d(this);const t={};this.childrenStyles.forEach((o=>{Object.assign(t,o)}));return r(a,{key:"8907ed75fbb2b1dced55c481bba6363f1dca815b",class:Object.assign(Object.assign({},t),e(this.color,{[o]:true,"in-toolbar":i("ion-toolbar",this.el)}))},r("div",{key:"6bfa09b08d6517f0d680f53b739854cecd631bc9",class:"toolbar-background"}),r("div",{key:"1531bd6dd9e0a5843309bba854b744c453037ad0",class:"toolbar-container"},r("slot",{key:"881b41697d386eae651b019128573f0fa432cd33",name:"start"}),r("slot",{key:"64a284e6eae5311ac3125dfadb4bb32bdba9d089",name:"secondary"}),r("div",{key:"c1f47503563b38084b27d7ba54f17ec478482b94",class:"toolbar-content"},r("slot",{key:"9a85acfba72252705619ae32acae9c14f81aa57d"})),r("slot",{key:"89e08bd761dc6940dbebc5d06f5f080af204aa72",name:"primary"}),r("slot",{key:"a1cb7d95627f8a3d24dd4b9c11718fc164f53674",name:"end"})))}get el(){return n(this)}};p.style={ios:l,md:b};export{p as ion_toolbar};
2
+ //# sourceMappingURL=p-b8bd7745.entry.js.map
@@ -1,2 +1,2 @@
1
- import{k as e,j as t,h as n}from"./p-ad32e711.js";const s=(e,t,n)=>{const s=e.get(t);if(!s){e.set(t,[n])}else if(!s.includes(n)){s.push(n)}};const o=(e,t)=>{let n;return(...s)=>{if(n){clearTimeout(n)}n=setTimeout((()=>{n=0;e(...s)}),t)}};const r=e=>!("isConnected"in e)||e.isConnected;const c=o((e=>{for(let t of e.keys()){e.set(t,e.get(t).filter(r))}}),2e3);const i=()=>{if(typeof e!=="function"){return{}}const n=new Map;return{dispose:()=>n.clear(),get:t=>{const o=e();if(o){s(n,t,o)}},set:e=>{const s=n.get(e);if(s){n.set(e,s.filter(t))}c(n)},reset:()=>{n.forEach((e=>e.forEach(t)));c(n)}}};const u=e=>typeof e==="function"?e():e;const f=(e,t=((e,t)=>e!==t))=>{const n=u(e);let s=new Map(Object.entries(n??{}));const o={dispose:[],get:[],set:[],reset:[]};const r=()=>{s=new Map(Object.entries(u(e)??{}));o.reset.forEach((e=>e()))};const c=()=>{o.dispose.forEach((e=>e()));r()};const i=e=>{o.get.forEach((t=>t(e)));return s.get(e)};const f=(e,n)=>{const r=s.get(e);if(t(n,r,e)){s.set(e,n);o.set.forEach((t=>t(e,n,r)))}};const a=typeof Proxy==="undefined"?{}:new Proxy(n,{get(e,t){return i(t)},ownKeys(e){return Array.from(s.keys())},getOwnPropertyDescriptor(){return{enumerable:true,configurable:true}},has(e,t){return s.has(t)},set(e,t,n){f(t,n);return true}});const d=(e,t)=>{o[e].push(t);return()=>{l(o[e],t)}};const p=(t,n)=>{const s=d("set",((e,s)=>{if(e===t){n(s)}}));const o=d("reset",(()=>n(u(e)[t])));return()=>{s();o()}};const g=(...e)=>{const t=e.reduce(((e,t)=>{if(t.set){e.push(d("set",t.set))}if(t.get){e.push(d("get",t.get))}if(t.reset){e.push(d("reset",t.reset))}if(t.dispose){e.push(d("dispose",t.dispose))}return e}),[]);return()=>t.forEach((e=>e()))};const w=e=>{const t=s.get(e);o.set.forEach((n=>n(e,t,t)))};return{state:a,get:i,set:f,on:d,onChange:p,use:g,dispose:c,reset:r,forceUpdate:w}};const l=(e,t)=>{const n=e.indexOf(t);if(n>=0){e[n]=e[e.length-1];e.length--}};const a=(e,t)=>{const n=f(e,t);n.use(i());return n};const d=a({isLoggedIn:false,webId:"",profile:null});const p=({file:e})=>{const t=g(e.status);return n("div",null,n("a",{class:"error",href:e.url},n("div",null,n("ion-icon",{name:t})),n("div",{class:"code"},e.status.code),n("div",{class:"text"},e.status.text)))};function g(e){switch(e.code){case 401:case 403:return"lock-closed-outline";case 404:return"help-circle-outline";default:return"alert-circle-outline"}}export{p as B,a as c,d as s};
2
- //# sourceMappingURL=p-dc0cae0c.js.map
1
+ import{k as e,j as t,h as n}from"./p-42169e41.js";const s=(e,t,n)=>{const s=e.get(t);if(!s){e.set(t,[n])}else if(!s.includes(n)){s.push(n)}};const o=(e,t)=>{let n;return(...s)=>{if(n){clearTimeout(n)}n=setTimeout((()=>{n=0;e(...s)}),t)}};const r=e=>!("isConnected"in e)||e.isConnected;const c=o((e=>{for(let t of e.keys()){e.set(t,e.get(t).filter(r))}}),2e3);const i=()=>{if(typeof e!=="function"){return{}}const n=new Map;return{dispose:()=>n.clear(),get:t=>{const o=e();if(o){s(n,t,o)}},set:e=>{const s=n.get(e);if(s){n.set(e,s.filter(t))}c(n)},reset:()=>{n.forEach((e=>e.forEach(t)));c(n)}}};const u=e=>typeof e==="function"?e():e;const f=(e,t=((e,t)=>e!==t))=>{const n=u(e);let s=new Map(Object.entries(n??{}));const o={dispose:[],get:[],set:[],reset:[]};const r=()=>{s=new Map(Object.entries(u(e)??{}));o.reset.forEach((e=>e()))};const c=()=>{o.dispose.forEach((e=>e()));r()};const i=e=>{o.get.forEach((t=>t(e)));return s.get(e)};const f=(e,n)=>{const r=s.get(e);if(t(n,r,e)){s.set(e,n);o.set.forEach((t=>t(e,n,r)))}};const a=typeof Proxy==="undefined"?{}:new Proxy(n,{get(e,t){return i(t)},ownKeys(e){return Array.from(s.keys())},getOwnPropertyDescriptor(){return{enumerable:true,configurable:true}},has(e,t){return s.has(t)},set(e,t,n){f(t,n);return true}});const p=(e,t)=>{o[e].push(t);return()=>{l(o[e],t)}};const d=(t,n)=>{const s=p("set",((e,s)=>{if(e===t){n(s)}}));const o=p("reset",(()=>n(u(e)[t])));return()=>{s();o()}};const g=(...e)=>{const t=e.reduce(((e,t)=>{if(t.set){e.push(p("set",t.set))}if(t.get){e.push(p("get",t.get))}if(t.reset){e.push(p("reset",t.reset))}if(t.dispose){e.push(p("dispose",t.dispose))}return e}),[]);return()=>t.forEach((e=>e()))};const w=e=>{const t=s.get(e);o.set.forEach((n=>n(e,t,t)))};return{state:a,get:i,set:f,on:p,onChange:d,use:g,dispose:c,reset:r,forceUpdate:w}};const l=(e,t)=>{const n=e.indexOf(t);if(n>=0){e[n]=e[e.length-1];e.length--}};const a=(e,t)=>{const n=f(e,t);n.use(i());return n};const p=a({isLoggedIn:false,webId:"",profile:null});const d=({file:e})=>{const t=g(e.status);return n("div",null,n("a",{class:"error",href:e.url},n("div",null,n("ion-icon",{name:t})),n("div",{class:"code"},e.status.code),n("div",{class:"text"},e.status.text)))};function g(e){switch(e.code){case 401:case 403:return"lock-closed-outline";case 404:return"help-circle-outline";default:return"alert-circle-outline"}}export{d as B,a as c,p as s};
2
+ //# sourceMappingURL=p-b9dcf3b2.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,h as i,H as n,d as r}from"./p-ad32e711.js";import{c as a}from"./p-669fab6c.js";import{g as e}from"./p-17cb620a.js";const o=":host{--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--inner-padding-top:0px;--inner-padding-end:0px;--inner-padding-bottom:0px;--inner-padding-start:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);padding-right:var(--padding-end);padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));display:flex;align-items:center;justify-content:space-between;width:100%;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);overflow:hidden;z-index:100;box-sizing:border-box}:host-context([dir=rtl]){padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}@supports selector(:dir(rtl)){:host(:dir(rtl)){padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.item-divider-sticky){position:sticky;top:0}.item-divider-inner{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--inner-padding-top);padding-bottom:var(--inner-padding-bottom);padding-right:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-left:var(--inner-padding-start);display:flex;flex:1;flex-direction:inherit;align-items:inherit;align-self:stretch;min-height:inherit;border:0;overflow:hidden}:host-context([dir=rtl]) .item-divider-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}[dir=rtl] .item-divider-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}@supports selector(:dir(rtl)){.item-divider-inner:dir(rtl){padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}}.item-divider-wrapper{display:flex;flex:1;flex-direction:inherit;align-items:inherit;align-self:stretch;text-overflow:ellipsis;overflow:hidden}:host{--background:var(--ion-color-step-100, #e6e6e6);--color:var(--ion-color-step-850, #262626);--padding-start:16px;--inner-padding-end:8px;border-radius:0;position:relative;min-height:28px;font-size:1.0625rem;font-weight:600}:host([slot=start]){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:2px;margin-bottom:2px}::slotted(ion-icon[slot=start]),::slotted(ion-icon[slot=end]){margin-top:7px;margin-bottom:7px}::slotted(h1){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px}::slotted(h2){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px}::slotted(h3),::slotted(h4),::slotted(h5),::slotted(h6){margin-left:0;margin-right:0;margin-top:0;margin-bottom:3px}::slotted(p){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.4);font-size:0.875rem;line-height:normal;text-overflow:inherit;overflow:inherit}::slotted(h2:last-child) ::slotted(h3:last-child),::slotted(h4:last-child),::slotted(h5:last-child),::slotted(h6:last-child),::slotted(p:last-child){margin-bottom:0}";const d=o;const g=":host{--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--inner-padding-top:0px;--inner-padding-end:0px;--inner-padding-bottom:0px;--inner-padding-start:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);padding-right:var(--padding-end);padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));display:flex;align-items:center;justify-content:space-between;width:100%;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);overflow:hidden;z-index:100;box-sizing:border-box}:host-context([dir=rtl]){padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}@supports selector(:dir(rtl)){:host(:dir(rtl)){padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.item-divider-sticky){position:sticky;top:0}.item-divider-inner{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--inner-padding-top);padding-bottom:var(--inner-padding-bottom);padding-right:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-left:var(--inner-padding-start);display:flex;flex:1;flex-direction:inherit;align-items:inherit;align-self:stretch;min-height:inherit;border:0;overflow:hidden}:host-context([dir=rtl]) .item-divider-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}[dir=rtl] .item-divider-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}@supports selector(:dir(rtl)){.item-divider-inner:dir(rtl){padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}}.item-divider-wrapper{display:flex;flex:1;flex-direction:inherit;align-items:inherit;align-self:stretch;text-overflow:ellipsis;overflow:hidden}:host{--background:var(--ion-background-color, #fff);--color:var(--ion-color-step-400, #999999);--padding-start:16px;--inner-padding-end:16px;min-height:30px;border-bottom:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));font-size:0.875rem}::slotted([slot=start]){-webkit-margin-end:32px;margin-inline-end:32px}::slotted([slot=end]){-webkit-margin-start:32px;margin-inline-start:32px}::slotted(ion-label){margin-left:0;margin-right:0;margin-top:13px;margin-bottom:10px}::slotted(ion-icon){color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54);font-size:1.7142857143em}:host(.ion-color) ::slotted(ion-icon){color:var(--ion-color-contrast)}::slotted(ion-icon[slot]){margin-top:12px;margin-bottom:12px}::slotted(ion-icon[slot=start]){-webkit-margin-end:32px;margin-inline-end:32px}::slotted(ion-icon[slot=end]){-webkit-margin-start:16px;margin-inline-start:16px}::slotted(ion-note){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;align-self:flex-start;font-size:0.6875rem}::slotted(ion-note[slot]){padding-left:0;padding-right:0;padding-top:18px;padding-bottom:10px}::slotted(ion-note[slot=start]){-webkit-padding-end:16px;padding-inline-end:16px}::slotted(ion-note[slot=end]){-webkit-padding-start:16px;padding-inline-start:16px}::slotted(ion-avatar){width:40px;height:40px}::slotted(ion-thumbnail){--size:56px}::slotted(ion-avatar),::slotted(ion-thumbnail){margin-top:8px;margin-bottom:8px}::slotted(ion-avatar[slot=start]),::slotted(ion-thumbnail[slot=start]){-webkit-margin-end:16px;margin-inline-end:16px}::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){-webkit-margin-start:16px;margin-inline-start:16px}::slotted(h1){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px}::slotted(h2){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px}::slotted(h3,h4,h5,h6){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px}::slotted(p){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;color:var(--ion-color-step-600, #666666);font-size:0.875rem;line-height:normal;text-overflow:inherit;overflow:inherit}";const l=g;const p=class{constructor(i){t(this,i);this.color=undefined;this.sticky=false}render(){const t=e(this);return i(n,{key:"5727179159ef2a8879f55435265003e0ec72df3f",class:a(this.color,{[t]:true,"item-divider-sticky":this.sticky,item:true})},i("slot",{key:"bb7df137e60ca3fa9a50c612e30fbb3ee4c818ad",name:"start"}),i("div",{key:"6a25a01271957cfdd8e8dfb6ef76e1eb710380f2",class:"item-divider-inner"},i("div",{key:"554ba681b0f346ed0af03232f8b2e6ca399877d9",class:"item-divider-wrapper"},i("slot",{key:"f98e20a01f09d0a2e19b7351eb1b4028881a07ab"})),i("slot",{key:"755643b5b8d3463af41b3d0805871073a34386a3",name:"end"})))}get el(){return r(this)}};p.style={ios:d,md:l};export{p as ion_item_divider};
2
- //# sourceMappingURL=p-bf16fe9d.entry.js.map
1
+ import{r as t,h as i,H as n,e as r}from"./p-42169e41.js";import{c as a}from"./p-669fab6c.js";import{g as e}from"./p-da0d920d.js";const o=":host{--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--inner-padding-top:0px;--inner-padding-end:0px;--inner-padding-bottom:0px;--inner-padding-start:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);padding-right:var(--padding-end);padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));display:flex;align-items:center;justify-content:space-between;width:100%;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);overflow:hidden;z-index:100;box-sizing:border-box}:host-context([dir=rtl]){padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}@supports selector(:dir(rtl)){:host(:dir(rtl)){padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.item-divider-sticky){position:sticky;top:0}.item-divider-inner{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--inner-padding-top);padding-bottom:var(--inner-padding-bottom);padding-right:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-left:var(--inner-padding-start);display:flex;flex:1;flex-direction:inherit;align-items:inherit;align-self:stretch;min-height:inherit;border:0;overflow:hidden}:host-context([dir=rtl]) .item-divider-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}[dir=rtl] .item-divider-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}@supports selector(:dir(rtl)){.item-divider-inner:dir(rtl){padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}}.item-divider-wrapper{display:flex;flex:1;flex-direction:inherit;align-items:inherit;align-self:stretch;text-overflow:ellipsis;overflow:hidden}:host{--background:var(--ion-color-step-100, #e6e6e6);--color:var(--ion-color-step-850, #262626);--padding-start:16px;--inner-padding-end:8px;border-radius:0;position:relative;min-height:28px;font-size:1.0625rem;font-weight:600}:host([slot=start]){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:2px;margin-bottom:2px}::slotted(ion-icon[slot=start]),::slotted(ion-icon[slot=end]){margin-top:7px;margin-bottom:7px}::slotted(h1){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px}::slotted(h2){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px}::slotted(h3),::slotted(h4),::slotted(h5),::slotted(h6){margin-left:0;margin-right:0;margin-top:0;margin-bottom:3px}::slotted(p){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.4);font-size:0.875rem;line-height:normal;text-overflow:inherit;overflow:inherit}::slotted(h2:last-child) ::slotted(h3:last-child),::slotted(h4:last-child),::slotted(h5:last-child),::slotted(h6:last-child),::slotted(p:last-child){margin-bottom:0}";const d=o;const g=":host{--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--inner-padding-top:0px;--inner-padding-end:0px;--inner-padding-bottom:0px;--inner-padding-start:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);padding-right:var(--padding-end);padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));display:flex;align-items:center;justify-content:space-between;width:100%;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);overflow:hidden;z-index:100;box-sizing:border-box}:host-context([dir=rtl]){padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}@supports selector(:dir(rtl)){:host(:dir(rtl)){padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.item-divider-sticky){position:sticky;top:0}.item-divider-inner{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--inner-padding-top);padding-bottom:var(--inner-padding-bottom);padding-right:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-left:var(--inner-padding-start);display:flex;flex:1;flex-direction:inherit;align-items:inherit;align-self:stretch;min-height:inherit;border:0;overflow:hidden}:host-context([dir=rtl]) .item-divider-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}[dir=rtl] .item-divider-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}@supports selector(:dir(rtl)){.item-divider-inner:dir(rtl){padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}}.item-divider-wrapper{display:flex;flex:1;flex-direction:inherit;align-items:inherit;align-self:stretch;text-overflow:ellipsis;overflow:hidden}:host{--background:var(--ion-background-color, #fff);--color:var(--ion-color-step-400, #999999);--padding-start:16px;--inner-padding-end:16px;min-height:30px;border-bottom:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));font-size:0.875rem}::slotted([slot=start]){-webkit-margin-end:32px;margin-inline-end:32px}::slotted([slot=end]){-webkit-margin-start:32px;margin-inline-start:32px}::slotted(ion-label){margin-left:0;margin-right:0;margin-top:13px;margin-bottom:10px}::slotted(ion-icon){color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54);font-size:1.7142857143em}:host(.ion-color) ::slotted(ion-icon){color:var(--ion-color-contrast)}::slotted(ion-icon[slot]){margin-top:12px;margin-bottom:12px}::slotted(ion-icon[slot=start]){-webkit-margin-end:32px;margin-inline-end:32px}::slotted(ion-icon[slot=end]){-webkit-margin-start:16px;margin-inline-start:16px}::slotted(ion-note){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;align-self:flex-start;font-size:0.6875rem}::slotted(ion-note[slot]){padding-left:0;padding-right:0;padding-top:18px;padding-bottom:10px}::slotted(ion-note[slot=start]){-webkit-padding-end:16px;padding-inline-end:16px}::slotted(ion-note[slot=end]){-webkit-padding-start:16px;padding-inline-start:16px}::slotted(ion-avatar){width:40px;height:40px}::slotted(ion-thumbnail){--size:56px}::slotted(ion-avatar),::slotted(ion-thumbnail){margin-top:8px;margin-bottom:8px}::slotted(ion-avatar[slot=start]),::slotted(ion-thumbnail[slot=start]){-webkit-margin-end:16px;margin-inline-end:16px}::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){-webkit-margin-start:16px;margin-inline-start:16px}::slotted(h1){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px}::slotted(h2){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px}::slotted(h3,h4,h5,h6){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px}::slotted(p){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;color:var(--ion-color-step-600, #666666);font-size:0.875rem;line-height:normal;text-overflow:inherit;overflow:inherit}";const l=g;const p=class{constructor(i){t(this,i);this.color=undefined;this.sticky=false}render(){const t=e(this);return i(n,{key:"5727179159ef2a8879f55435265003e0ec72df3f",class:a(this.color,{[t]:true,"item-divider-sticky":this.sticky,item:true})},i("slot",{key:"bb7df137e60ca3fa9a50c612e30fbb3ee4c818ad",name:"start"}),i("div",{key:"6a25a01271957cfdd8e8dfb6ef76e1eb710380f2",class:"item-divider-inner"},i("div",{key:"554ba681b0f346ed0af03232f8b2e6ca399877d9",class:"item-divider-wrapper"},i("slot",{key:"f98e20a01f09d0a2e19b7351eb1b4028881a07ab"})),i("slot",{key:"755643b5b8d3463af41b3d0805871073a34386a3",name:"end"})))}get el(){return r(this)}};p.style={ios:d,md:l};export{p as ion_item_divider};
2
+ //# sourceMappingURL=p-bc675b21.entry.js.map
@@ -0,0 +1,2 @@
1
+ import{r as o,h as s,H as t}from"./p-42169e41.js";import{c as r}from"./p-669fab6c.js";import{g as c}from"./p-da0d920d.js";const a=":host(.ion-color){color:var(--ion-color-base)}";const d=a;const e=class{constructor(s){o(this,s);this.color=undefined}render(){const o=c(this);return s(t,{key:"4330b56cbc4e15953d9b3162fb40af728a8195dd",class:r(this.color,{[o]:true})},s("slot",{key:"ec674a71d8fbb04d537fd79d617d9db4a607c340"}))}};e.style=d;export{e as ion_text};
2
+ //# sourceMappingURL=p-bca341ba.entry.js.map
@@ -0,0 +1,2 @@
1
+ import{r as s,i as t,w as i,f as e,h,e as n,H as o}from"./p-42169e41.js";import{a,p as r,g as l}from"./p-949b115f.js";import{g as c}from"./p-da0d920d.js";import"./p-71ee259b.js";import"./p-d6769f21.js";const f="ion-infinite-scroll{display:none;width:100%}.infinite-scroll-enabled{display:block}";const d=f;const p=class{constructor(i){s(this,i);this.ionInfinite=t(this,"ionInfinite",7);this.thrPx=0;this.thrPc=0;this.didFire=false;this.isBusy=false;this.onScroll=()=>{const s=this.scrollEl;if(!s||!this.canStart()){return 1}const t=this.el.offsetHeight;if(t===0){return 2}const i=s.scrollTop;const e=s.scrollHeight;const h=s.offsetHeight;const n=this.thrPc!==0?h*this.thrPc:this.thrPx;const o=this.position==="bottom"?e-t-i-n-h:i-t-n;if(o<0){if(!this.didFire){this.isLoading=true;this.didFire=true;this.ionInfinite.emit();return 3}}return 4};this.isLoading=false;this.threshold="15%";this.disabled=false;this.position="bottom"}thresholdChanged(){const s=this.threshold;if(s.lastIndexOf("%")>-1){this.thrPx=0;this.thrPc=parseFloat(s)/100}else{this.thrPx=parseFloat(s);this.thrPc=0}}disabledChanged(){const s=this.disabled;if(s){this.isLoading=false;this.isBusy=false}this.enableScrollEvents(!s)}async connectedCallback(){const s=a(this.el);if(!s){r(this.el);return}this.scrollEl=await l(s);this.thresholdChanged();this.disabledChanged();if(this.position==="top"){i((()=>{if(this.scrollEl){this.scrollEl.scrollTop=this.scrollEl.scrollHeight-this.scrollEl.clientHeight}}))}}disconnectedCallback(){this.enableScrollEvents(false);this.scrollEl=undefined}async complete(){const s=this.scrollEl;if(!this.isLoading||!s){return}this.isLoading=false;if(this.position==="top"){this.isBusy=true;const t=s.scrollHeight-s.scrollTop;requestAnimationFrame((()=>{e((()=>{const e=s.scrollHeight;const h=e-t;requestAnimationFrame((()=>{i((()=>{s.scrollTop=h;this.isBusy=false;this.didFire=false}))}))}))}))}else{this.didFire=false}}canStart(){return!this.disabled&&!this.isBusy&&!!this.scrollEl&&!this.isLoading}enableScrollEvents(s){if(this.scrollEl){if(s){this.scrollEl.addEventListener("scroll",this.onScroll)}else{this.scrollEl.removeEventListener("scroll",this.onScroll)}}}render(){const s=c(this);const t=this.disabled;return h(o,{key:"c2248d06232dd7771dd155693ec75f9258dc969e",class:{[s]:true,"infinite-scroll-loading":this.isLoading,"infinite-scroll-enabled":!t}})}get el(){return n(this)}static get watchers(){return{threshold:["thresholdChanged"],disabled:["disabledChanged"]}}};p.style=d;export{p as ion_infinite_scroll};
2
+ //# sourceMappingURL=p-bdea20c4.entry.js.map