@venite/components 0.16.53 → 0.17.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 (1860) hide show
  1. package/dist/cjs/{index-01fdec29.js → index-0473093a.js} +16 -346
  2. package/dist/cjs/{ion-segment_17.cjs.entry.js → ldf-bible-reading_14.cjs.entry.js} +2 -532
  3. package/dist/cjs/ldf-day-name_5.cjs.entry.js +2 -6
  4. package/dist/cjs/ldf-editable-add-block-menu.cjs.entry.js +1 -1
  5. package/dist/cjs/ldf-editable-antiphon-field.cjs.entry.js +214 -0
  6. package/dist/cjs/ldf-editable-boolean_2.cjs.entry.js +2 -5
  7. package/dist/cjs/ldf-editable-condition-piece.cjs.entry.js +1 -1
  8. package/dist/cjs/ldf-editable-condition.cjs.entry.js +1 -1
  9. package/dist/cjs/ldf-editable-filter-documents.cjs.entry.js +2 -2
  10. package/dist/cjs/ldf-editable-lookup_2.cjs.entry.js +1 -1
  11. package/dist/cjs/ldf-editable-metadata.cjs.entry.js +1 -1
  12. package/dist/cjs/ldf-editable-preference-option.cjs.entry.js +1 -1
  13. package/dist/cjs/ldf-editable-preference.cjs.entry.js +1 -1
  14. package/dist/cjs/ldf-editable-preferences.cjs.entry.js +2 -5
  15. package/dist/cjs/ldf-editable-string-list.cjs.entry.js +1 -1
  16. package/dist/cjs/{ion-input_2.cjs.entry.js → ldf-editable-text.cjs.entry.js} +1 -294
  17. package/dist/cjs/ldf-editor-cursors.cjs.entry.js +1 -1
  18. package/dist/cjs/ldf-editor.cjs.entry.js +1 -1
  19. package/dist/cjs/ldf-prayers-and-thanksgivings.cjs.entry.js +147 -0
  20. package/dist/cjs/ldf.cjs.js +2 -5
  21. package/dist/cjs/loader.cjs.js +2 -5
  22. package/dist/cjs/overlays-01dcebce.js +42 -0
  23. package/dist/collection/collection-manifest.json +1 -107
  24. package/dist/collection/components/bible-reading/bible-reading.js +1 -1
  25. package/dist/collection/components/editable-add-block/editable-add-block.js +0 -1
  26. package/dist/collection/components/editable-antiphon-field/editable-antiphon-field.js +1 -1
  27. package/dist/collection/components/editable-delete/editable-delete.js +1 -1
  28. package/dist/collection/components/editable-filter-documents/editable-filter-documents.js +1 -1
  29. package/dist/collection/components/editable-metadata-buttons/editable-metadata-buttons.js +1 -1
  30. package/dist/collection/components/editable-preferences/editable-preferences.js +1 -1
  31. package/dist/collection/components/image/image.js +1 -1
  32. package/dist/collection/components/prayers-and-thanksgivings/prayers-and-thanksgivings.js +2 -2
  33. package/dist/collection/components/psalm/psalm.js +1 -1
  34. package/dist/collection/components/text/dist/text.js +5 -4
  35. package/dist/collection/components/text/text.js +1 -2
  36. package/dist/collection/utils/overlays.js +34 -0
  37. package/dist/esm/{index-034add74.js → index-3ae6e8fa.js} +17 -339
  38. package/dist/esm/{ion-segment_17.entry.js → ldf-bible-reading_14.entry.js} +3 -530
  39. package/dist/esm/ldf-day-name_5.entry.js +2 -6
  40. package/dist/esm/ldf-editable-add-block-menu.entry.js +1 -1
  41. package/dist/esm/ldf-editable-antiphon-field.entry.js +210 -0
  42. package/dist/esm/ldf-editable-boolean_2.entry.js +2 -5
  43. package/dist/esm/ldf-editable-condition-piece.entry.js +1 -1
  44. package/dist/esm/ldf-editable-condition.entry.js +1 -1
  45. package/dist/esm/ldf-editable-filter-documents.entry.js +2 -2
  46. package/dist/esm/ldf-editable-lookup_2.entry.js +1 -1
  47. package/dist/esm/ldf-editable-metadata.entry.js +1 -1
  48. package/dist/esm/ldf-editable-preference-option.entry.js +1 -1
  49. package/dist/esm/ldf-editable-preference.entry.js +1 -1
  50. package/dist/esm/ldf-editable-preferences.entry.js +2 -5
  51. package/dist/esm/ldf-editable-string-list.entry.js +1 -1
  52. package/dist/esm/{ion-input_2.entry.js → ldf-editable-text.entry.js} +2 -294
  53. package/dist/esm/ldf-editor-cursors.entry.js +1 -1
  54. package/dist/esm/ldf-editor.entry.js +1 -1
  55. package/dist/esm/ldf-prayers-and-thanksgivings.entry.js +143 -0
  56. package/dist/esm/ldf.js +2 -5
  57. package/dist/esm/loader.js +2 -5
  58. package/dist/esm/overlays-142b4755.js +36 -0
  59. package/dist/ldf/ldf.esm.js +1 -1
  60. package/dist/ldf/p-063bc9d7.entry.js +1 -0
  61. package/dist/ldf/{p-a4b11e91.entry.js → p-15792d0c.entry.js} +1 -1
  62. package/dist/ldf/{p-e8a53a5e.entry.js → p-1b69e1bc.entry.js} +1 -1
  63. package/dist/ldf/p-1da5f090.entry.js +1 -0
  64. package/dist/ldf/p-326fefd6.entry.js +1 -0
  65. package/dist/ldf/{p-744e6e51.entry.js → p-6849e4e5.entry.js} +1 -1
  66. package/dist/ldf/{p-e1f58e08.entry.js → p-68a1889c.entry.js} +1 -1
  67. package/dist/ldf/{p-4bdbb2e9.entry.js → p-6c1e6318.entry.js} +1 -1
  68. package/dist/ldf/p-6f7b2462.entry.js +1 -0
  69. package/dist/ldf/{p-ea6696fa.entry.js → p-792a67b9.entry.js} +1 -1
  70. package/dist/ldf/{p-64a75143.entry.js → p-9d948ac9.entry.js} +1 -1
  71. package/dist/ldf/{p-2a52fcd7.entry.js → p-a752e9b6.entry.js} +1 -1
  72. package/dist/ldf/p-b0654366.entry.js +1 -0
  73. package/dist/ldf/p-b28bf2e4.entry.js +1 -0
  74. package/dist/ldf/p-b43f4c39.entry.js +1 -0
  75. package/dist/ldf/p-d15b0d6d.js +2 -0
  76. package/dist/ldf/{p-a745950c.entry.js → p-f969bb07.entry.js} +1 -1
  77. package/dist/ldf/{p-1e912545.entry.js → p-fb168191.entry.js} +1 -1
  78. package/dist/ldf/p-fcc39afa.js +1 -0
  79. package/dist/ldf/{p-823625bb.entry.js → p-fe8033c2.entry.js} +1 -1
  80. package/dist/types/components/editable-add-block/editable-add-block.d.ts +0 -1
  81. package/dist/types/components/editable-metadata-buttons/editable-metadata-buttons.d.ts +1 -1
  82. package/dist/types/components/editable-string-list/editable-string-list.d.ts +1 -1
  83. package/dist/types/components/editable-text/editable-text.d.ts +1 -1
  84. package/dist/types/components/editable-text/handle-input.d.ts +1 -1
  85. package/dist/types/utils/overlays.d.ts +16 -0
  86. package/package.json +6 -3
  87. package/dist/cjs/animation-ee586546.js +0 -986
  88. package/dist/cjs/app-globals-5906b2f0.js +0 -7
  89. package/dist/cjs/cubic-bezier-53d26d05.js +0 -93
  90. package/dist/cjs/dir-5af5259a.js +0 -20
  91. package/dist/cjs/focus-visible-b0b07ba6.js +0 -76
  92. package/dist/cjs/framework-delegate-59a98abd.js +0 -111
  93. package/dist/cjs/gesture-controller-0eb5579e.js +0 -196
  94. package/dist/cjs/haptic-780f33c4.js +0 -116
  95. package/dist/cjs/hardware-back-button-92d97ff8.js +0 -76
  96. package/dist/cjs/helpers-c2496722.js +0 -425
  97. package/dist/cjs/index-12082cba.js +0 -465
  98. package/dist/cjs/index-25a76ef5.js +0 -30
  99. package/dist/cjs/index-59bd9a39.js +0 -232
  100. package/dist/cjs/index-8b5629a6.js +0 -186
  101. package/dist/cjs/index-9c7b27e4.js +0 -140
  102. package/dist/cjs/index-af080b50.js +0 -139
  103. package/dist/cjs/index-b6879fbc.js +0 -48
  104. package/dist/cjs/index-e56e09b8.js +0 -38
  105. package/dist/cjs/index-f8a7d3a6.js +0 -314
  106. package/dist/cjs/input-shims-f9d0c582.js +0 -428
  107. package/dist/cjs/ion-accordion-group.cjs.entry.js +0 -205
  108. package/dist/cjs/ion-accordion.cjs.entry.js +0 -336
  109. package/dist/cjs/ion-action-sheet_10.cjs.entry.js +0 -3053
  110. package/dist/cjs/ion-app.cjs.entry.js +0 -79
  111. package/dist/cjs/ion-avatar.cjs.entry.js +0 -25
  112. package/dist/cjs/ion-back-button.cjs.entry.js +0 -94
  113. package/dist/cjs/ion-backdrop.cjs.entry.js +0 -67
  114. package/dist/cjs/ion-badge.cjs.entry.js +0 -29
  115. package/dist/cjs/ion-breadcrumb.cjs.entry.js +0 -101
  116. package/dist/cjs/ion-breadcrumbs.cjs.entry.js +0 -133
  117. package/dist/cjs/ion-button_14.cjs.entry.js +0 -2231
  118. package/dist/cjs/ion-card-content_6.cjs.entry.js +0 -415
  119. package/dist/cjs/ion-card-subtitle.cjs.entry.js +0 -30
  120. package/dist/cjs/ion-card_2.cjs.entry.js +0 -97
  121. package/dist/cjs/ion-chip.cjs.entry.js +0 -40
  122. package/dist/cjs/ion-datetime-button.cjs.entry.js +0 -312
  123. package/dist/cjs/ion-datetime_4.cjs.entry.js +0 -2584
  124. package/dist/cjs/ion-fab-button.cjs.entry.js +0 -108
  125. package/dist/cjs/ion-fab-list.cjs.entry.js +0 -45
  126. package/dist/cjs/ion-fab.cjs.entry.js +0 -76
  127. package/dist/cjs/ion-footer.cjs.entry.js +0 -173
  128. package/dist/cjs/ion-img.cjs.entry.js +0 -101
  129. package/dist/cjs/ion-infinite-scroll-content.cjs.entry.js +0 -37
  130. package/dist/cjs/ion-infinite-scroll.cjs.entry.js +0 -206
  131. package/dist/cjs/ion-item-divider.cjs.entry.js +0 -40
  132. package/dist/cjs/ion-item-group.cjs.entry.js +0 -31
  133. package/dist/cjs/ion-item-option.cjs.entry.js +0 -60
  134. package/dist/cjs/ion-item-options.cjs.entry.js +0 -47
  135. package/dist/cjs/ion-item-sliding.cjs.entry.js +0 -398
  136. package/dist/cjs/ion-loading.cjs.entry.js +0 -215
  137. package/dist/cjs/ion-menu-button.cjs.entry.js +0 -76
  138. package/dist/cjs/ion-menu-toggle.cjs.entry.js +0 -47
  139. package/dist/cjs/ion-menu.cjs.entry.js +0 -575
  140. package/dist/cjs/ion-modal.cjs.entry.js +0 -1687
  141. package/dist/cjs/ion-nav-link.cjs.entry.js +0 -47
  142. package/dist/cjs/ion-nav.cjs.entry.js +0 -872
  143. package/dist/cjs/ion-picker-column.cjs.entry.js +0 -331
  144. package/dist/cjs/ion-picker.cjs.entry.js +0 -221
  145. package/dist/cjs/ion-progress-bar.cjs.entry.js +0 -74
  146. package/dist/cjs/ion-range.cjs.entry.js +0 -515
  147. package/dist/cjs/ion-refresher-content.cjs.entry.js +0 -35
  148. package/dist/cjs/ion-refresher.cjs.entry.js +0 -803
  149. package/dist/cjs/ion-reorder-group.cjs.entry.js +0 -281
  150. package/dist/cjs/ion-reorder.cjs.entry.js +0 -38
  151. package/dist/cjs/ion-route-redirect.cjs.entry.js +0 -24
  152. package/dist/cjs/ion-route.cjs.entry.js +0 -49
  153. package/dist/cjs/ion-router-link.cjs.entry.js +0 -38
  154. package/dist/cjs/ion-router-outlet.cjs.entry.js +0 -200
  155. package/dist/cjs/ion-router.cjs.entry.js +0 -831
  156. package/dist/cjs/ion-slide.cjs.entry.js +0 -25
  157. package/dist/cjs/ion-slides.cjs.entry.js +0 -391
  158. package/dist/cjs/ion-spinner.cjs.entry.js +0 -64
  159. package/dist/cjs/ion-split-pane.cjs.entry.js +0 -154
  160. package/dist/cjs/ion-tab-bar.cjs.entry.js +0 -67
  161. package/dist/cjs/ion-tab-button.cjs.entry.js +0 -103
  162. package/dist/cjs/ion-tab.cjs.entry.js +0 -59
  163. package/dist/cjs/ion-tabs.cjs.entry.js +0 -154
  164. package/dist/cjs/ion-text.cjs.entry.js +0 -24
  165. package/dist/cjs/ion-textarea.cjs.entry.js +0 -248
  166. package/dist/cjs/ion-thumbnail.cjs.entry.js +0 -20
  167. package/dist/cjs/ion-toast.cjs.entry.js +0 -272
  168. package/dist/cjs/ion-virtual-scroll.cjs.entry.js +0 -555
  169. package/dist/cjs/ionic-global-bd0aab94.js +0 -230
  170. package/dist/cjs/ios.transition-f008fdcc.js +0 -482
  171. package/dist/cjs/keyboard-91096619.js +0 -140
  172. package/dist/cjs/md.transition-19d9d9b2.js +0 -57
  173. package/dist/cjs/menu-toggle-util-b6fb068f.js +0 -14
  174. package/dist/cjs/overlays-240c867b.js +0 -509
  175. package/dist/cjs/parse-c36185aa.js +0 -1303
  176. package/dist/cjs/spinner-configs-0ac05f2d.js +0 -147
  177. package/dist/cjs/status-tap-edb6375f.js +0 -42
  178. package/dist/cjs/swipe-back-4a826f9b.js +0 -76
  179. package/dist/cjs/swiper.bundle-8c897c07.js +0 -6420
  180. package/dist/cjs/theme-b0b295c1.js +0 -48
  181. package/dist/esm/animation-fa1c28fc.js +0 -984
  182. package/dist/esm/app-globals-07fa76a3.js +0 -5
  183. package/dist/esm/cubic-bezier-4c0db14f.js +0 -91
  184. package/dist/esm/dir-03012648.js +0 -18
  185. package/dist/esm/focus-visible-4e9a0764.js +0 -74
  186. package/dist/esm/framework-delegate-d512b396.js +0 -107
  187. package/dist/esm/gesture-controller-7be18351.js +0 -194
  188. package/dist/esm/haptic-522f76f2.js +0 -110
  189. package/dist/esm/hardware-back-button-fa04d6e9.js +0 -71
  190. package/dist/esm/helpers-af86adf0.js +0 -403
  191. package/dist/esm/index-09acb2ac.js +0 -128
  192. package/dist/esm/index-21661af2.js +0 -463
  193. package/dist/esm/index-5aa6aa3e.js +0 -28
  194. package/dist/esm/index-7a608887.js +0 -312
  195. package/dist/esm/index-ac6e5d74.js +0 -34
  196. package/dist/esm/index-be6112f8.js +0 -137
  197. package/dist/esm/index-ef8020d2.js +0 -184
  198. package/dist/esm/index-f258b2dd.js +0 -25
  199. package/dist/esm/index-faad3da4.js +0 -223
  200. package/dist/esm/input-shims-5f3fd3d0.js +0 -426
  201. package/dist/esm/ion-accordion-group.entry.js +0 -201
  202. package/dist/esm/ion-accordion.entry.js +0 -332
  203. package/dist/esm/ion-action-sheet_10.entry.js +0 -3040
  204. package/dist/esm/ion-app.entry.js +0 -75
  205. package/dist/esm/ion-avatar.entry.js +0 -21
  206. package/dist/esm/ion-back-button.entry.js +0 -90
  207. package/dist/esm/ion-backdrop.entry.js +0 -63
  208. package/dist/esm/ion-badge.entry.js +0 -25
  209. package/dist/esm/ion-breadcrumb.entry.js +0 -97
  210. package/dist/esm/ion-breadcrumbs.entry.js +0 -129
  211. package/dist/esm/ion-button_14.entry.js +0 -2214
  212. package/dist/esm/ion-card-content_6.entry.js +0 -406
  213. package/dist/esm/ion-card-subtitle.entry.js +0 -26
  214. package/dist/esm/ion-card_2.entry.js +0 -92
  215. package/dist/esm/ion-chip.entry.js +0 -36
  216. package/dist/esm/ion-datetime-button.entry.js +0 -308
  217. package/dist/esm/ion-datetime_4.entry.js +0 -2577
  218. package/dist/esm/ion-fab-button.entry.js +0 -104
  219. package/dist/esm/ion-fab-list.entry.js +0 -41
  220. package/dist/esm/ion-fab.entry.js +0 -72
  221. package/dist/esm/ion-footer.entry.js +0 -169
  222. package/dist/esm/ion-img.entry.js +0 -97
  223. package/dist/esm/ion-infinite-scroll-content.entry.js +0 -33
  224. package/dist/esm/ion-infinite-scroll.entry.js +0 -202
  225. package/dist/esm/ion-item-divider.entry.js +0 -36
  226. package/dist/esm/ion-item-group.entry.js +0 -27
  227. package/dist/esm/ion-item-option.entry.js +0 -56
  228. package/dist/esm/ion-item-options.entry.js +0 -43
  229. package/dist/esm/ion-item-sliding.entry.js +0 -394
  230. package/dist/esm/ion-loading.entry.js +0 -211
  231. package/dist/esm/ion-menu-button.entry.js +0 -72
  232. package/dist/esm/ion-menu-toggle.entry.js +0 -43
  233. package/dist/esm/ion-menu.entry.js +0 -571
  234. package/dist/esm/ion-modal.entry.js +0 -1683
  235. package/dist/esm/ion-nav-link.entry.js +0 -43
  236. package/dist/esm/ion-nav.entry.js +0 -868
  237. package/dist/esm/ion-picker-column.entry.js +0 -327
  238. package/dist/esm/ion-picker.entry.js +0 -217
  239. package/dist/esm/ion-progress-bar.entry.js +0 -70
  240. package/dist/esm/ion-range.entry.js +0 -511
  241. package/dist/esm/ion-refresher-content.entry.js +0 -31
  242. package/dist/esm/ion-refresher.entry.js +0 -799
  243. package/dist/esm/ion-reorder-group.entry.js +0 -277
  244. package/dist/esm/ion-reorder.entry.js +0 -34
  245. package/dist/esm/ion-route-redirect.entry.js +0 -20
  246. package/dist/esm/ion-route.entry.js +0 -45
  247. package/dist/esm/ion-router-link.entry.js +0 -34
  248. package/dist/esm/ion-router-outlet.entry.js +0 -196
  249. package/dist/esm/ion-router.entry.js +0 -827
  250. package/dist/esm/ion-slide.entry.js +0 -21
  251. package/dist/esm/ion-slides.entry.js +0 -387
  252. package/dist/esm/ion-spinner.entry.js +0 -60
  253. package/dist/esm/ion-split-pane.entry.js +0 -150
  254. package/dist/esm/ion-tab-bar.entry.js +0 -63
  255. package/dist/esm/ion-tab-button.entry.js +0 -99
  256. package/dist/esm/ion-tab.entry.js +0 -55
  257. package/dist/esm/ion-tabs.entry.js +0 -150
  258. package/dist/esm/ion-text.entry.js +0 -20
  259. package/dist/esm/ion-textarea.entry.js +0 -244
  260. package/dist/esm/ion-thumbnail.entry.js +0 -16
  261. package/dist/esm/ion-toast.entry.js +0 -268
  262. package/dist/esm/ion-virtual-scroll.entry.js +0 -551
  263. package/dist/esm/ionic-global-24253941.js +0 -225
  264. package/dist/esm/ios.transition-971db583.js +0 -479
  265. package/dist/esm/keyboard-7e8329b3.js +0 -128
  266. package/dist/esm/md.transition-e0dd51e0.js +0 -55
  267. package/dist/esm/menu-toggle-util-22353199.js +0 -12
  268. package/dist/esm/overlays-59377e10.js +0 -492
  269. package/dist/esm/parse-9ce69067.js +0 -1260
  270. package/dist/esm/spinner-configs-a37e628a.js +0 -145
  271. package/dist/esm/status-tap-39682200.js +0 -40
  272. package/dist/esm/swipe-back-cac0fc31.js +0 -74
  273. package/dist/esm/swiper.bundle-b6a959de.js +0 -6418
  274. package/dist/esm/theme-7ef00c83.js +0 -43
  275. package/dist/ldf/p-011c0279.js +0 -4
  276. package/dist/ldf/p-01454f1d.entry.js +0 -1
  277. package/dist/ldf/p-05c32d13.entry.js +0 -1
  278. package/dist/ldf/p-076f0239.js +0 -4
  279. package/dist/ldf/p-0bd969ec.entry.js +0 -1
  280. package/dist/ldf/p-0d66aa76.entry.js +0 -1
  281. package/dist/ldf/p-0e4de1d0.js +0 -4
  282. package/dist/ldf/p-0f1ea192.js +0 -4
  283. package/dist/ldf/p-12ee702d.entry.js +0 -7
  284. package/dist/ldf/p-14744625.js +0 -4
  285. package/dist/ldf/p-16c0303d.entry.js +0 -1
  286. package/dist/ldf/p-23ba057c.entry.js +0 -4
  287. package/dist/ldf/p-252f09bb.entry.js +0 -7
  288. package/dist/ldf/p-27bcb5ae.entry.js +0 -1
  289. package/dist/ldf/p-2aae7b1d.js +0 -5
  290. package/dist/ldf/p-35c5e6ed.js +0 -4
  291. package/dist/ldf/p-371e3c25.js +0 -1
  292. package/dist/ldf/p-39b04d83.entry.js +0 -1
  293. package/dist/ldf/p-3bd0921b.entry.js +0 -1
  294. package/dist/ldf/p-41a3d41c.entry.js +0 -1
  295. package/dist/ldf/p-421481d2.js +0 -1
  296. package/dist/ldf/p-463c08f0.entry.js +0 -1
  297. package/dist/ldf/p-477b1f19.entry.js +0 -7
  298. package/dist/ldf/p-4a2d5333.entry.js +0 -1
  299. package/dist/ldf/p-4aeedb04.js +0 -4
  300. package/dist/ldf/p-4c623761.entry.js +0 -4
  301. package/dist/ldf/p-4d4077ea.js +0 -4
  302. package/dist/ldf/p-4d92cd8f.entry.js +0 -1
  303. package/dist/ldf/p-506221fe.js +0 -4
  304. package/dist/ldf/p-5547df4c.entry.js +0 -5
  305. package/dist/ldf/p-554d477d.js +0 -4
  306. package/dist/ldf/p-5aeeffc1.entry.js +0 -1
  307. package/dist/ldf/p-5cd022a2.entry.js +0 -1
  308. package/dist/ldf/p-604a7987.js +0 -4
  309. package/dist/ldf/p-63030685.entry.js +0 -1
  310. package/dist/ldf/p-6444fbf7.entry.js +0 -4
  311. package/dist/ldf/p-683be896.entry.js +0 -1
  312. package/dist/ldf/p-6a61c406.entry.js +0 -1
  313. package/dist/ldf/p-6bde308b.entry.js +0 -1
  314. package/dist/ldf/p-7029115d.js +0 -4
  315. package/dist/ldf/p-787f82be.entry.js +0 -1
  316. package/dist/ldf/p-7b1975f8.entry.js +0 -7
  317. package/dist/ldf/p-7d8427eb.js +0 -4
  318. package/dist/ldf/p-7dbfc316.js +0 -1
  319. package/dist/ldf/p-7e55016b.entry.js +0 -1
  320. package/dist/ldf/p-7e7ce516.js +0 -4
  321. package/dist/ldf/p-814a5a13.js +0 -2
  322. package/dist/ldf/p-81b0dc47.entry.js +0 -1
  323. package/dist/ldf/p-81e57a8c.entry.js +0 -1
  324. package/dist/ldf/p-8311f0dc.entry.js +0 -4
  325. package/dist/ldf/p-851881fb.entry.js +0 -1
  326. package/dist/ldf/p-8582914d.entry.js +0 -1
  327. package/dist/ldf/p-8d4a57f4.entry.js +0 -1
  328. package/dist/ldf/p-924b2917.js +0 -4
  329. package/dist/ldf/p-924f3f49.js +0 -4
  330. package/dist/ldf/p-95c875aa.entry.js +0 -1
  331. package/dist/ldf/p-963ace47.entry.js +0 -1
  332. package/dist/ldf/p-98bed85f.entry.js +0 -1
  333. package/dist/ldf/p-98f56fbf.entry.js +0 -21
  334. package/dist/ldf/p-9a866be1.js +0 -4
  335. package/dist/ldf/p-a15235e5.entry.js +0 -1
  336. package/dist/ldf/p-a2af4e4a.entry.js +0 -1
  337. package/dist/ldf/p-a4c2fe67.entry.js +0 -1
  338. package/dist/ldf/p-a7f912f0.js +0 -4
  339. package/dist/ldf/p-ad00fdd0.entry.js +0 -1
  340. package/dist/ldf/p-ad0bf896.entry.js +0 -1
  341. package/dist/ldf/p-add30d46.js +0 -4
  342. package/dist/ldf/p-b12461c6.entry.js +0 -1
  343. package/dist/ldf/p-b64c1b13.entry.js +0 -1
  344. package/dist/ldf/p-b78117ea.js +0 -4
  345. package/dist/ldf/p-b791c821.entry.js +0 -1
  346. package/dist/ldf/p-b7c33573.js +0 -4
  347. package/dist/ldf/p-bcb0ac1a.entry.js +0 -1
  348. package/dist/ldf/p-bf0050d8.entry.js +0 -1
  349. package/dist/ldf/p-c0777dea.js +0 -4
  350. package/dist/ldf/p-c30ef23d.entry.js +0 -1
  351. package/dist/ldf/p-c394b5c0.entry.js +0 -1
  352. package/dist/ldf/p-c5583a99.entry.js +0 -1
  353. package/dist/ldf/p-c6d911c3.entry.js +0 -1
  354. package/dist/ldf/p-c9263178.entry.js +0 -1
  355. package/dist/ldf/p-ce2e4949.entry.js +0 -1
  356. package/dist/ldf/p-d0088940.js +0 -4
  357. package/dist/ldf/p-d0606e37.entry.js +0 -7
  358. package/dist/ldf/p-d06a35ea.js +0 -7
  359. package/dist/ldf/p-d15ff324.entry.js +0 -5
  360. package/dist/ldf/p-d289236b.entry.js +0 -1
  361. package/dist/ldf/p-df5eb5f6.entry.js +0 -1
  362. package/dist/ldf/p-e2f62b3b.entry.js +0 -1
  363. package/dist/ldf/p-e6ca76b2.entry.js +0 -1
  364. package/dist/ldf/p-e9431eeb.js +0 -7
  365. package/dist/ldf/p-e9aa89e8.entry.js +0 -4
  366. package/dist/ldf/p-ee42b36f.entry.js +0 -1
  367. package/dist/ldf/p-ef9aa667.entry.js +0 -1
  368. package/dist/ldf/p-f18e0f91.entry.js +0 -7
  369. package/dist/ldf/p-f3cba72a.js +0 -4
  370. package/dist/ldf/p-f503561a.entry.js +0 -1
  371. package/dist/ldf/p-f67dae27.entry.js +0 -1
  372. package/dist/ldf/p-f6e844e9.entry.js +0 -1
  373. package/dist/ldf/p-fed23985.js +0 -4
  374. package/dist/ldf/p-ff287d5e.js +0 -4
  375. package/dist/ldf/svg/accessibility-outline.svg +0 -1
  376. package/dist/ldf/svg/accessibility-sharp.svg +0 -1
  377. package/dist/ldf/svg/accessibility.svg +0 -1
  378. package/dist/ldf/svg/add-circle-outline.svg +0 -1
  379. package/dist/ldf/svg/add-circle-sharp.svg +0 -1
  380. package/dist/ldf/svg/add-circle.svg +0 -1
  381. package/dist/ldf/svg/add-outline.svg +0 -1
  382. package/dist/ldf/svg/add-sharp.svg +0 -1
  383. package/dist/ldf/svg/add.svg +0 -1
  384. package/dist/ldf/svg/airplane-outline.svg +0 -1
  385. package/dist/ldf/svg/airplane-sharp.svg +0 -1
  386. package/dist/ldf/svg/airplane.svg +0 -1
  387. package/dist/ldf/svg/alarm-outline.svg +0 -1
  388. package/dist/ldf/svg/alarm-sharp.svg +0 -1
  389. package/dist/ldf/svg/alarm.svg +0 -1
  390. package/dist/ldf/svg/albums-outline.svg +0 -1
  391. package/dist/ldf/svg/albums-sharp.svg +0 -1
  392. package/dist/ldf/svg/albums.svg +0 -1
  393. package/dist/ldf/svg/alert-circle-outline.svg +0 -1
  394. package/dist/ldf/svg/alert-circle-sharp.svg +0 -1
  395. package/dist/ldf/svg/alert-circle.svg +0 -1
  396. package/dist/ldf/svg/alert-outline.svg +0 -1
  397. package/dist/ldf/svg/alert-sharp.svg +0 -1
  398. package/dist/ldf/svg/alert.svg +0 -1
  399. package/dist/ldf/svg/american-football-outline.svg +0 -1
  400. package/dist/ldf/svg/american-football-sharp.svg +0 -1
  401. package/dist/ldf/svg/american-football.svg +0 -1
  402. package/dist/ldf/svg/analytics-outline.svg +0 -1
  403. package/dist/ldf/svg/analytics-sharp.svg +0 -1
  404. package/dist/ldf/svg/analytics.svg +0 -1
  405. package/dist/ldf/svg/aperture-outline.svg +0 -1
  406. package/dist/ldf/svg/aperture-sharp.svg +0 -1
  407. package/dist/ldf/svg/aperture.svg +0 -1
  408. package/dist/ldf/svg/apps-outline.svg +0 -1
  409. package/dist/ldf/svg/apps-sharp.svg +0 -1
  410. package/dist/ldf/svg/apps.svg +0 -1
  411. package/dist/ldf/svg/archive-outline.svg +0 -1
  412. package/dist/ldf/svg/archive-sharp.svg +0 -1
  413. package/dist/ldf/svg/archive.svg +0 -1
  414. package/dist/ldf/svg/arrow-back-circle-outline.svg +0 -1
  415. package/dist/ldf/svg/arrow-back-circle-sharp.svg +0 -1
  416. package/dist/ldf/svg/arrow-back-circle.svg +0 -1
  417. package/dist/ldf/svg/arrow-back-outline.svg +0 -1
  418. package/dist/ldf/svg/arrow-back-sharp.svg +0 -1
  419. package/dist/ldf/svg/arrow-back.svg +0 -1
  420. package/dist/ldf/svg/arrow-down-circle-outline.svg +0 -1
  421. package/dist/ldf/svg/arrow-down-circle-sharp.svg +0 -1
  422. package/dist/ldf/svg/arrow-down-circle.svg +0 -1
  423. package/dist/ldf/svg/arrow-down-outline.svg +0 -1
  424. package/dist/ldf/svg/arrow-down-sharp.svg +0 -1
  425. package/dist/ldf/svg/arrow-down.svg +0 -1
  426. package/dist/ldf/svg/arrow-forward-circle-outline.svg +0 -1
  427. package/dist/ldf/svg/arrow-forward-circle-sharp.svg +0 -1
  428. package/dist/ldf/svg/arrow-forward-circle.svg +0 -1
  429. package/dist/ldf/svg/arrow-forward-outline.svg +0 -1
  430. package/dist/ldf/svg/arrow-forward-sharp.svg +0 -1
  431. package/dist/ldf/svg/arrow-forward.svg +0 -1
  432. package/dist/ldf/svg/arrow-redo-circle-outline.svg +0 -1
  433. package/dist/ldf/svg/arrow-redo-circle-sharp.svg +0 -1
  434. package/dist/ldf/svg/arrow-redo-circle.svg +0 -1
  435. package/dist/ldf/svg/arrow-redo-outline.svg +0 -1
  436. package/dist/ldf/svg/arrow-redo-sharp.svg +0 -1
  437. package/dist/ldf/svg/arrow-redo.svg +0 -1
  438. package/dist/ldf/svg/arrow-undo-circle-outline.svg +0 -1
  439. package/dist/ldf/svg/arrow-undo-circle-sharp.svg +0 -1
  440. package/dist/ldf/svg/arrow-undo-circle.svg +0 -1
  441. package/dist/ldf/svg/arrow-undo-outline.svg +0 -1
  442. package/dist/ldf/svg/arrow-undo-sharp.svg +0 -1
  443. package/dist/ldf/svg/arrow-undo.svg +0 -1
  444. package/dist/ldf/svg/arrow-up-circle-outline.svg +0 -1
  445. package/dist/ldf/svg/arrow-up-circle-sharp.svg +0 -1
  446. package/dist/ldf/svg/arrow-up-circle.svg +0 -1
  447. package/dist/ldf/svg/arrow-up-outline.svg +0 -1
  448. package/dist/ldf/svg/arrow-up-sharp.svg +0 -1
  449. package/dist/ldf/svg/arrow-up.svg +0 -1
  450. package/dist/ldf/svg/at-circle-outline.svg +0 -1
  451. package/dist/ldf/svg/at-circle-sharp.svg +0 -1
  452. package/dist/ldf/svg/at-circle.svg +0 -1
  453. package/dist/ldf/svg/at-outline.svg +0 -1
  454. package/dist/ldf/svg/at-sharp.svg +0 -1
  455. package/dist/ldf/svg/at.svg +0 -1
  456. package/dist/ldf/svg/attach-outline.svg +0 -1
  457. package/dist/ldf/svg/attach-sharp.svg +0 -1
  458. package/dist/ldf/svg/attach.svg +0 -1
  459. package/dist/ldf/svg/backspace-outline.svg +0 -1
  460. package/dist/ldf/svg/backspace-sharp.svg +0 -1
  461. package/dist/ldf/svg/backspace.svg +0 -1
  462. package/dist/ldf/svg/bag-add-outline.svg +0 -1
  463. package/dist/ldf/svg/bag-add-sharp.svg +0 -1
  464. package/dist/ldf/svg/bag-add.svg +0 -1
  465. package/dist/ldf/svg/bag-check-outline.svg +0 -1
  466. package/dist/ldf/svg/bag-check-sharp.svg +0 -1
  467. package/dist/ldf/svg/bag-check.svg +0 -1
  468. package/dist/ldf/svg/bag-handle-outline.svg +0 -1
  469. package/dist/ldf/svg/bag-handle-sharp.svg +0 -1
  470. package/dist/ldf/svg/bag-handle.svg +0 -1
  471. package/dist/ldf/svg/bag-outline.svg +0 -1
  472. package/dist/ldf/svg/bag-remove-outline.svg +0 -1
  473. package/dist/ldf/svg/bag-remove-sharp.svg +0 -1
  474. package/dist/ldf/svg/bag-remove.svg +0 -1
  475. package/dist/ldf/svg/bag-sharp.svg +0 -1
  476. package/dist/ldf/svg/bag.svg +0 -1
  477. package/dist/ldf/svg/balloon-outline.svg +0 -1
  478. package/dist/ldf/svg/balloon-sharp.svg +0 -1
  479. package/dist/ldf/svg/balloon.svg +0 -1
  480. package/dist/ldf/svg/ban-outline.svg +0 -1
  481. package/dist/ldf/svg/ban-sharp.svg +0 -1
  482. package/dist/ldf/svg/ban.svg +0 -1
  483. package/dist/ldf/svg/bandage-outline.svg +0 -1
  484. package/dist/ldf/svg/bandage-sharp.svg +0 -1
  485. package/dist/ldf/svg/bandage.svg +0 -1
  486. package/dist/ldf/svg/bar-chart-outline.svg +0 -1
  487. package/dist/ldf/svg/bar-chart-sharp.svg +0 -1
  488. package/dist/ldf/svg/bar-chart.svg +0 -1
  489. package/dist/ldf/svg/barbell-outline.svg +0 -1
  490. package/dist/ldf/svg/barbell-sharp.svg +0 -1
  491. package/dist/ldf/svg/barbell.svg +0 -1
  492. package/dist/ldf/svg/barcode-outline.svg +0 -1
  493. package/dist/ldf/svg/barcode-sharp.svg +0 -1
  494. package/dist/ldf/svg/barcode.svg +0 -1
  495. package/dist/ldf/svg/baseball-outline.svg +0 -1
  496. package/dist/ldf/svg/baseball-sharp.svg +0 -1
  497. package/dist/ldf/svg/baseball.svg +0 -1
  498. package/dist/ldf/svg/basket-outline.svg +0 -1
  499. package/dist/ldf/svg/basket-sharp.svg +0 -1
  500. package/dist/ldf/svg/basket.svg +0 -1
  501. package/dist/ldf/svg/basketball-outline.svg +0 -1
  502. package/dist/ldf/svg/basketball-sharp.svg +0 -1
  503. package/dist/ldf/svg/basketball.svg +0 -1
  504. package/dist/ldf/svg/battery-charging-outline.svg +0 -1
  505. package/dist/ldf/svg/battery-charging-sharp.svg +0 -1
  506. package/dist/ldf/svg/battery-charging.svg +0 -1
  507. package/dist/ldf/svg/battery-dead-outline.svg +0 -1
  508. package/dist/ldf/svg/battery-dead-sharp.svg +0 -1
  509. package/dist/ldf/svg/battery-dead.svg +0 -1
  510. package/dist/ldf/svg/battery-full-outline.svg +0 -1
  511. package/dist/ldf/svg/battery-full-sharp.svg +0 -1
  512. package/dist/ldf/svg/battery-full.svg +0 -1
  513. package/dist/ldf/svg/battery-half-outline.svg +0 -1
  514. package/dist/ldf/svg/battery-half-sharp.svg +0 -1
  515. package/dist/ldf/svg/battery-half.svg +0 -1
  516. package/dist/ldf/svg/beaker-outline.svg +0 -1
  517. package/dist/ldf/svg/beaker-sharp.svg +0 -1
  518. package/dist/ldf/svg/beaker.svg +0 -1
  519. package/dist/ldf/svg/bed-outline.svg +0 -1
  520. package/dist/ldf/svg/bed-sharp.svg +0 -1
  521. package/dist/ldf/svg/bed.svg +0 -1
  522. package/dist/ldf/svg/beer-outline.svg +0 -1
  523. package/dist/ldf/svg/beer-sharp.svg +0 -1
  524. package/dist/ldf/svg/beer.svg +0 -1
  525. package/dist/ldf/svg/bicycle-outline.svg +0 -1
  526. package/dist/ldf/svg/bicycle-sharp.svg +0 -1
  527. package/dist/ldf/svg/bicycle.svg +0 -1
  528. package/dist/ldf/svg/bluetooth-outline.svg +0 -1
  529. package/dist/ldf/svg/bluetooth-sharp.svg +0 -1
  530. package/dist/ldf/svg/bluetooth.svg +0 -1
  531. package/dist/ldf/svg/boat-outline.svg +0 -1
  532. package/dist/ldf/svg/boat-sharp.svg +0 -1
  533. package/dist/ldf/svg/boat.svg +0 -1
  534. package/dist/ldf/svg/body-outline.svg +0 -1
  535. package/dist/ldf/svg/body-sharp.svg +0 -1
  536. package/dist/ldf/svg/body.svg +0 -1
  537. package/dist/ldf/svg/bonfire-outline.svg +0 -1
  538. package/dist/ldf/svg/bonfire-sharp.svg +0 -1
  539. package/dist/ldf/svg/bonfire.svg +0 -1
  540. package/dist/ldf/svg/book-outline.svg +0 -1
  541. package/dist/ldf/svg/book-sharp.svg +0 -1
  542. package/dist/ldf/svg/book.svg +0 -1
  543. package/dist/ldf/svg/bookmark-outline.svg +0 -1
  544. package/dist/ldf/svg/bookmark-sharp.svg +0 -1
  545. package/dist/ldf/svg/bookmark.svg +0 -1
  546. package/dist/ldf/svg/bookmarks-outline.svg +0 -1
  547. package/dist/ldf/svg/bookmarks-sharp.svg +0 -1
  548. package/dist/ldf/svg/bookmarks.svg +0 -1
  549. package/dist/ldf/svg/bowling-ball-outline.svg +0 -1
  550. package/dist/ldf/svg/bowling-ball-sharp.svg +0 -1
  551. package/dist/ldf/svg/bowling-ball.svg +0 -1
  552. package/dist/ldf/svg/briefcase-outline.svg +0 -1
  553. package/dist/ldf/svg/briefcase-sharp.svg +0 -1
  554. package/dist/ldf/svg/briefcase.svg +0 -1
  555. package/dist/ldf/svg/browsers-outline.svg +0 -1
  556. package/dist/ldf/svg/browsers-sharp.svg +0 -1
  557. package/dist/ldf/svg/browsers.svg +0 -1
  558. package/dist/ldf/svg/brush-outline.svg +0 -1
  559. package/dist/ldf/svg/brush-sharp.svg +0 -1
  560. package/dist/ldf/svg/brush.svg +0 -1
  561. package/dist/ldf/svg/bug-outline.svg +0 -1
  562. package/dist/ldf/svg/bug-sharp.svg +0 -1
  563. package/dist/ldf/svg/bug.svg +0 -1
  564. package/dist/ldf/svg/build-outline.svg +0 -1
  565. package/dist/ldf/svg/build-sharp.svg +0 -1
  566. package/dist/ldf/svg/build.svg +0 -1
  567. package/dist/ldf/svg/bulb-outline.svg +0 -1
  568. package/dist/ldf/svg/bulb-sharp.svg +0 -1
  569. package/dist/ldf/svg/bulb.svg +0 -1
  570. package/dist/ldf/svg/bus-outline.svg +0 -1
  571. package/dist/ldf/svg/bus-sharp.svg +0 -1
  572. package/dist/ldf/svg/bus.svg +0 -1
  573. package/dist/ldf/svg/business-outline.svg +0 -1
  574. package/dist/ldf/svg/business-sharp.svg +0 -1
  575. package/dist/ldf/svg/business.svg +0 -1
  576. package/dist/ldf/svg/cafe-outline.svg +0 -1
  577. package/dist/ldf/svg/cafe-sharp.svg +0 -1
  578. package/dist/ldf/svg/cafe.svg +0 -1
  579. package/dist/ldf/svg/calculator-outline.svg +0 -1
  580. package/dist/ldf/svg/calculator-sharp.svg +0 -1
  581. package/dist/ldf/svg/calculator.svg +0 -1
  582. package/dist/ldf/svg/calendar-clear-outline.svg +0 -1
  583. package/dist/ldf/svg/calendar-clear-sharp.svg +0 -1
  584. package/dist/ldf/svg/calendar-clear.svg +0 -1
  585. package/dist/ldf/svg/calendar-number-outline.svg +0 -1
  586. package/dist/ldf/svg/calendar-number-sharp.svg +0 -1
  587. package/dist/ldf/svg/calendar-number.svg +0 -1
  588. package/dist/ldf/svg/calendar-outline.svg +0 -1
  589. package/dist/ldf/svg/calendar-sharp.svg +0 -1
  590. package/dist/ldf/svg/calendar.svg +0 -1
  591. package/dist/ldf/svg/call-outline.svg +0 -1
  592. package/dist/ldf/svg/call-sharp.svg +0 -1
  593. package/dist/ldf/svg/call.svg +0 -1
  594. package/dist/ldf/svg/camera-outline.svg +0 -1
  595. package/dist/ldf/svg/camera-reverse-outline.svg +0 -1
  596. package/dist/ldf/svg/camera-reverse-sharp.svg +0 -1
  597. package/dist/ldf/svg/camera-reverse.svg +0 -1
  598. package/dist/ldf/svg/camera-sharp.svg +0 -1
  599. package/dist/ldf/svg/camera.svg +0 -1
  600. package/dist/ldf/svg/car-outline.svg +0 -1
  601. package/dist/ldf/svg/car-sharp.svg +0 -1
  602. package/dist/ldf/svg/car-sport-outline.svg +0 -1
  603. package/dist/ldf/svg/car-sport-sharp.svg +0 -1
  604. package/dist/ldf/svg/car-sport.svg +0 -1
  605. package/dist/ldf/svg/car.svg +0 -1
  606. package/dist/ldf/svg/card-outline.svg +0 -1
  607. package/dist/ldf/svg/card-sharp.svg +0 -1
  608. package/dist/ldf/svg/card.svg +0 -1
  609. package/dist/ldf/svg/caret-back-circle-outline.svg +0 -1
  610. package/dist/ldf/svg/caret-back-circle-sharp.svg +0 -1
  611. package/dist/ldf/svg/caret-back-circle.svg +0 -1
  612. package/dist/ldf/svg/caret-back-outline.svg +0 -1
  613. package/dist/ldf/svg/caret-back-sharp.svg +0 -1
  614. package/dist/ldf/svg/caret-back.svg +0 -1
  615. package/dist/ldf/svg/caret-down-circle-outline.svg +0 -1
  616. package/dist/ldf/svg/caret-down-circle-sharp.svg +0 -1
  617. package/dist/ldf/svg/caret-down-circle.svg +0 -1
  618. package/dist/ldf/svg/caret-down-outline.svg +0 -1
  619. package/dist/ldf/svg/caret-down-sharp.svg +0 -1
  620. package/dist/ldf/svg/caret-down.svg +0 -1
  621. package/dist/ldf/svg/caret-forward-circle-outline.svg +0 -1
  622. package/dist/ldf/svg/caret-forward-circle-sharp.svg +0 -1
  623. package/dist/ldf/svg/caret-forward-circle.svg +0 -1
  624. package/dist/ldf/svg/caret-forward-outline.svg +0 -1
  625. package/dist/ldf/svg/caret-forward-sharp.svg +0 -1
  626. package/dist/ldf/svg/caret-forward.svg +0 -1
  627. package/dist/ldf/svg/caret-up-circle-outline.svg +0 -1
  628. package/dist/ldf/svg/caret-up-circle-sharp.svg +0 -1
  629. package/dist/ldf/svg/caret-up-circle.svg +0 -1
  630. package/dist/ldf/svg/caret-up-outline.svg +0 -1
  631. package/dist/ldf/svg/caret-up-sharp.svg +0 -1
  632. package/dist/ldf/svg/caret-up.svg +0 -1
  633. package/dist/ldf/svg/cart-outline.svg +0 -1
  634. package/dist/ldf/svg/cart-sharp.svg +0 -1
  635. package/dist/ldf/svg/cart.svg +0 -1
  636. package/dist/ldf/svg/cash-outline.svg +0 -1
  637. package/dist/ldf/svg/cash-sharp.svg +0 -1
  638. package/dist/ldf/svg/cash.svg +0 -1
  639. package/dist/ldf/svg/cellular-outline.svg +0 -1
  640. package/dist/ldf/svg/cellular-sharp.svg +0 -1
  641. package/dist/ldf/svg/cellular.svg +0 -1
  642. package/dist/ldf/svg/chatbox-ellipses-outline.svg +0 -1
  643. package/dist/ldf/svg/chatbox-ellipses-sharp.svg +0 -1
  644. package/dist/ldf/svg/chatbox-ellipses.svg +0 -1
  645. package/dist/ldf/svg/chatbox-outline.svg +0 -1
  646. package/dist/ldf/svg/chatbox-sharp.svg +0 -1
  647. package/dist/ldf/svg/chatbox.svg +0 -1
  648. package/dist/ldf/svg/chatbubble-ellipses-outline.svg +0 -1
  649. package/dist/ldf/svg/chatbubble-ellipses-sharp.svg +0 -1
  650. package/dist/ldf/svg/chatbubble-ellipses.svg +0 -1
  651. package/dist/ldf/svg/chatbubble-outline.svg +0 -1
  652. package/dist/ldf/svg/chatbubble-sharp.svg +0 -1
  653. package/dist/ldf/svg/chatbubble.svg +0 -1
  654. package/dist/ldf/svg/chatbubbles-outline.svg +0 -1
  655. package/dist/ldf/svg/chatbubbles-sharp.svg +0 -1
  656. package/dist/ldf/svg/chatbubbles.svg +0 -1
  657. package/dist/ldf/svg/checkbox-outline.svg +0 -1
  658. package/dist/ldf/svg/checkbox-sharp.svg +0 -1
  659. package/dist/ldf/svg/checkbox.svg +0 -1
  660. package/dist/ldf/svg/checkmark-circle-outline.svg +0 -1
  661. package/dist/ldf/svg/checkmark-circle-sharp.svg +0 -1
  662. package/dist/ldf/svg/checkmark-circle.svg +0 -1
  663. package/dist/ldf/svg/checkmark-done-circle-outline.svg +0 -1
  664. package/dist/ldf/svg/checkmark-done-circle-sharp.svg +0 -1
  665. package/dist/ldf/svg/checkmark-done-circle.svg +0 -1
  666. package/dist/ldf/svg/checkmark-done-outline.svg +0 -1
  667. package/dist/ldf/svg/checkmark-done-sharp.svg +0 -1
  668. package/dist/ldf/svg/checkmark-done.svg +0 -1
  669. package/dist/ldf/svg/checkmark-outline.svg +0 -1
  670. package/dist/ldf/svg/checkmark-sharp.svg +0 -1
  671. package/dist/ldf/svg/checkmark.svg +0 -1
  672. package/dist/ldf/svg/chevron-back-circle-outline.svg +0 -1
  673. package/dist/ldf/svg/chevron-back-circle-sharp.svg +0 -1
  674. package/dist/ldf/svg/chevron-back-circle.svg +0 -1
  675. package/dist/ldf/svg/chevron-back-outline.svg +0 -1
  676. package/dist/ldf/svg/chevron-back-sharp.svg +0 -1
  677. package/dist/ldf/svg/chevron-back.svg +0 -1
  678. package/dist/ldf/svg/chevron-down-circle-outline.svg +0 -1
  679. package/dist/ldf/svg/chevron-down-circle-sharp.svg +0 -1
  680. package/dist/ldf/svg/chevron-down-circle.svg +0 -1
  681. package/dist/ldf/svg/chevron-down-outline.svg +0 -1
  682. package/dist/ldf/svg/chevron-down-sharp.svg +0 -1
  683. package/dist/ldf/svg/chevron-down.svg +0 -1
  684. package/dist/ldf/svg/chevron-forward-circle-outline.svg +0 -1
  685. package/dist/ldf/svg/chevron-forward-circle-sharp.svg +0 -1
  686. package/dist/ldf/svg/chevron-forward-circle.svg +0 -1
  687. package/dist/ldf/svg/chevron-forward-outline.svg +0 -1
  688. package/dist/ldf/svg/chevron-forward-sharp.svg +0 -1
  689. package/dist/ldf/svg/chevron-forward.svg +0 -1
  690. package/dist/ldf/svg/chevron-up-circle-outline.svg +0 -1
  691. package/dist/ldf/svg/chevron-up-circle-sharp.svg +0 -1
  692. package/dist/ldf/svg/chevron-up-circle.svg +0 -1
  693. package/dist/ldf/svg/chevron-up-outline.svg +0 -1
  694. package/dist/ldf/svg/chevron-up-sharp.svg +0 -1
  695. package/dist/ldf/svg/chevron-up.svg +0 -1
  696. package/dist/ldf/svg/clipboard-outline.svg +0 -1
  697. package/dist/ldf/svg/clipboard-sharp.svg +0 -1
  698. package/dist/ldf/svg/clipboard.svg +0 -1
  699. package/dist/ldf/svg/close-circle-outline.svg +0 -1
  700. package/dist/ldf/svg/close-circle-sharp.svg +0 -1
  701. package/dist/ldf/svg/close-circle.svg +0 -1
  702. package/dist/ldf/svg/close-outline.svg +0 -1
  703. package/dist/ldf/svg/close-sharp.svg +0 -1
  704. package/dist/ldf/svg/close.svg +0 -1
  705. package/dist/ldf/svg/cloud-circle-outline.svg +0 -1
  706. package/dist/ldf/svg/cloud-circle-sharp.svg +0 -1
  707. package/dist/ldf/svg/cloud-circle.svg +0 -1
  708. package/dist/ldf/svg/cloud-done-outline.svg +0 -1
  709. package/dist/ldf/svg/cloud-done-sharp.svg +0 -1
  710. package/dist/ldf/svg/cloud-done.svg +0 -1
  711. package/dist/ldf/svg/cloud-download-outline.svg +0 -1
  712. package/dist/ldf/svg/cloud-download-sharp.svg +0 -1
  713. package/dist/ldf/svg/cloud-download.svg +0 -1
  714. package/dist/ldf/svg/cloud-offline-outline.svg +0 -1
  715. package/dist/ldf/svg/cloud-offline-sharp.svg +0 -1
  716. package/dist/ldf/svg/cloud-offline.svg +0 -1
  717. package/dist/ldf/svg/cloud-outline.svg +0 -1
  718. package/dist/ldf/svg/cloud-sharp.svg +0 -1
  719. package/dist/ldf/svg/cloud-upload-outline.svg +0 -1
  720. package/dist/ldf/svg/cloud-upload-sharp.svg +0 -1
  721. package/dist/ldf/svg/cloud-upload.svg +0 -1
  722. package/dist/ldf/svg/cloud.svg +0 -1
  723. package/dist/ldf/svg/cloudy-night-outline.svg +0 -1
  724. package/dist/ldf/svg/cloudy-night-sharp.svg +0 -1
  725. package/dist/ldf/svg/cloudy-night.svg +0 -1
  726. package/dist/ldf/svg/cloudy-outline.svg +0 -1
  727. package/dist/ldf/svg/cloudy-sharp.svg +0 -1
  728. package/dist/ldf/svg/cloudy.svg +0 -1
  729. package/dist/ldf/svg/code-download-outline.svg +0 -1
  730. package/dist/ldf/svg/code-download-sharp.svg +0 -1
  731. package/dist/ldf/svg/code-download.svg +0 -1
  732. package/dist/ldf/svg/code-outline.svg +0 -1
  733. package/dist/ldf/svg/code-sharp.svg +0 -1
  734. package/dist/ldf/svg/code-slash-outline.svg +0 -1
  735. package/dist/ldf/svg/code-slash-sharp.svg +0 -1
  736. package/dist/ldf/svg/code-slash.svg +0 -1
  737. package/dist/ldf/svg/code-working-outline.svg +0 -1
  738. package/dist/ldf/svg/code-working-sharp.svg +0 -1
  739. package/dist/ldf/svg/code-working.svg +0 -1
  740. package/dist/ldf/svg/code.svg +0 -1
  741. package/dist/ldf/svg/cog-outline.svg +0 -1
  742. package/dist/ldf/svg/cog-sharp.svg +0 -1
  743. package/dist/ldf/svg/cog.svg +0 -1
  744. package/dist/ldf/svg/color-fill-outline.svg +0 -1
  745. package/dist/ldf/svg/color-fill-sharp.svg +0 -1
  746. package/dist/ldf/svg/color-fill.svg +0 -1
  747. package/dist/ldf/svg/color-filter-outline.svg +0 -1
  748. package/dist/ldf/svg/color-filter-sharp.svg +0 -1
  749. package/dist/ldf/svg/color-filter.svg +0 -1
  750. package/dist/ldf/svg/color-palette-outline.svg +0 -1
  751. package/dist/ldf/svg/color-palette-sharp.svg +0 -1
  752. package/dist/ldf/svg/color-palette.svg +0 -1
  753. package/dist/ldf/svg/color-wand-outline.svg +0 -1
  754. package/dist/ldf/svg/color-wand-sharp.svg +0 -1
  755. package/dist/ldf/svg/color-wand.svg +0 -1
  756. package/dist/ldf/svg/compass-outline.svg +0 -1
  757. package/dist/ldf/svg/compass-sharp.svg +0 -1
  758. package/dist/ldf/svg/compass.svg +0 -1
  759. package/dist/ldf/svg/construct-outline.svg +0 -1
  760. package/dist/ldf/svg/construct-sharp.svg +0 -1
  761. package/dist/ldf/svg/construct.svg +0 -1
  762. package/dist/ldf/svg/contract-outline.svg +0 -1
  763. package/dist/ldf/svg/contract-sharp.svg +0 -1
  764. package/dist/ldf/svg/contract.svg +0 -1
  765. package/dist/ldf/svg/contrast-outline.svg +0 -1
  766. package/dist/ldf/svg/contrast-sharp.svg +0 -1
  767. package/dist/ldf/svg/contrast.svg +0 -1
  768. package/dist/ldf/svg/copy-outline.svg +0 -1
  769. package/dist/ldf/svg/copy-sharp.svg +0 -1
  770. package/dist/ldf/svg/copy.svg +0 -1
  771. package/dist/ldf/svg/create-outline.svg +0 -1
  772. package/dist/ldf/svg/create-sharp.svg +0 -1
  773. package/dist/ldf/svg/create.svg +0 -1
  774. package/dist/ldf/svg/crop-outline.svg +0 -1
  775. package/dist/ldf/svg/crop-sharp.svg +0 -1
  776. package/dist/ldf/svg/crop.svg +0 -1
  777. package/dist/ldf/svg/cube-outline.svg +0 -1
  778. package/dist/ldf/svg/cube-sharp.svg +0 -1
  779. package/dist/ldf/svg/cube.svg +0 -1
  780. package/dist/ldf/svg/cut-outline.svg +0 -1
  781. package/dist/ldf/svg/cut-sharp.svg +0 -1
  782. package/dist/ldf/svg/cut.svg +0 -1
  783. package/dist/ldf/svg/desktop-outline.svg +0 -1
  784. package/dist/ldf/svg/desktop-sharp.svg +0 -1
  785. package/dist/ldf/svg/desktop.svg +0 -1
  786. package/dist/ldf/svg/diamond-outline.svg +0 -1
  787. package/dist/ldf/svg/diamond-sharp.svg +0 -1
  788. package/dist/ldf/svg/diamond.svg +0 -1
  789. package/dist/ldf/svg/dice-outline.svg +0 -1
  790. package/dist/ldf/svg/dice-sharp.svg +0 -1
  791. package/dist/ldf/svg/dice.svg +0 -1
  792. package/dist/ldf/svg/disc-outline.svg +0 -1
  793. package/dist/ldf/svg/disc-sharp.svg +0 -1
  794. package/dist/ldf/svg/disc.svg +0 -1
  795. package/dist/ldf/svg/document-attach-outline.svg +0 -1
  796. package/dist/ldf/svg/document-attach-sharp.svg +0 -1
  797. package/dist/ldf/svg/document-attach.svg +0 -1
  798. package/dist/ldf/svg/document-lock-outline.svg +0 -1
  799. package/dist/ldf/svg/document-lock-sharp.svg +0 -1
  800. package/dist/ldf/svg/document-lock.svg +0 -1
  801. package/dist/ldf/svg/document-outline.svg +0 -1
  802. package/dist/ldf/svg/document-sharp.svg +0 -1
  803. package/dist/ldf/svg/document-text-outline.svg +0 -1
  804. package/dist/ldf/svg/document-text-sharp.svg +0 -1
  805. package/dist/ldf/svg/document-text.svg +0 -1
  806. package/dist/ldf/svg/document.svg +0 -1
  807. package/dist/ldf/svg/documents-outline.svg +0 -1
  808. package/dist/ldf/svg/documents-sharp.svg +0 -1
  809. package/dist/ldf/svg/documents.svg +0 -1
  810. package/dist/ldf/svg/download-outline.svg +0 -1
  811. package/dist/ldf/svg/download-sharp.svg +0 -1
  812. package/dist/ldf/svg/download.svg +0 -1
  813. package/dist/ldf/svg/duplicate-outline.svg +0 -1
  814. package/dist/ldf/svg/duplicate-sharp.svg +0 -1
  815. package/dist/ldf/svg/duplicate.svg +0 -1
  816. package/dist/ldf/svg/ear-outline.svg +0 -1
  817. package/dist/ldf/svg/ear-sharp.svg +0 -1
  818. package/dist/ldf/svg/ear.svg +0 -1
  819. package/dist/ldf/svg/earth-outline.svg +0 -1
  820. package/dist/ldf/svg/earth-sharp.svg +0 -1
  821. package/dist/ldf/svg/earth.svg +0 -1
  822. package/dist/ldf/svg/easel-outline.svg +0 -1
  823. package/dist/ldf/svg/easel-sharp.svg +0 -1
  824. package/dist/ldf/svg/easel.svg +0 -1
  825. package/dist/ldf/svg/egg-outline.svg +0 -1
  826. package/dist/ldf/svg/egg-sharp.svg +0 -1
  827. package/dist/ldf/svg/egg.svg +0 -1
  828. package/dist/ldf/svg/ellipse-outline.svg +0 -1
  829. package/dist/ldf/svg/ellipse-sharp.svg +0 -1
  830. package/dist/ldf/svg/ellipse.svg +0 -1
  831. package/dist/ldf/svg/ellipsis-horizontal-circle-outline.svg +0 -1
  832. package/dist/ldf/svg/ellipsis-horizontal-circle-sharp.svg +0 -1
  833. package/dist/ldf/svg/ellipsis-horizontal-circle.svg +0 -1
  834. package/dist/ldf/svg/ellipsis-horizontal-outline.svg +0 -1
  835. package/dist/ldf/svg/ellipsis-horizontal-sharp.svg +0 -1
  836. package/dist/ldf/svg/ellipsis-horizontal.svg +0 -1
  837. package/dist/ldf/svg/ellipsis-vertical-circle-outline.svg +0 -1
  838. package/dist/ldf/svg/ellipsis-vertical-circle-sharp.svg +0 -1
  839. package/dist/ldf/svg/ellipsis-vertical-circle.svg +0 -1
  840. package/dist/ldf/svg/ellipsis-vertical-outline.svg +0 -1
  841. package/dist/ldf/svg/ellipsis-vertical-sharp.svg +0 -1
  842. package/dist/ldf/svg/ellipsis-vertical.svg +0 -1
  843. package/dist/ldf/svg/enter-outline.svg +0 -1
  844. package/dist/ldf/svg/enter-sharp.svg +0 -1
  845. package/dist/ldf/svg/enter.svg +0 -1
  846. package/dist/ldf/svg/exit-outline.svg +0 -1
  847. package/dist/ldf/svg/exit-sharp.svg +0 -1
  848. package/dist/ldf/svg/exit.svg +0 -1
  849. package/dist/ldf/svg/expand-outline.svg +0 -1
  850. package/dist/ldf/svg/expand-sharp.svg +0 -1
  851. package/dist/ldf/svg/expand.svg +0 -1
  852. package/dist/ldf/svg/extension-puzzle-outline.svg +0 -1
  853. package/dist/ldf/svg/extension-puzzle-sharp.svg +0 -1
  854. package/dist/ldf/svg/extension-puzzle.svg +0 -1
  855. package/dist/ldf/svg/eye-off-outline.svg +0 -1
  856. package/dist/ldf/svg/eye-off-sharp.svg +0 -1
  857. package/dist/ldf/svg/eye-off.svg +0 -1
  858. package/dist/ldf/svg/eye-outline.svg +0 -1
  859. package/dist/ldf/svg/eye-sharp.svg +0 -1
  860. package/dist/ldf/svg/eye.svg +0 -1
  861. package/dist/ldf/svg/eyedrop-outline.svg +0 -1
  862. package/dist/ldf/svg/eyedrop-sharp.svg +0 -1
  863. package/dist/ldf/svg/eyedrop.svg +0 -1
  864. package/dist/ldf/svg/fast-food-outline.svg +0 -1
  865. package/dist/ldf/svg/fast-food-sharp.svg +0 -1
  866. package/dist/ldf/svg/fast-food.svg +0 -1
  867. package/dist/ldf/svg/female-outline.svg +0 -1
  868. package/dist/ldf/svg/female-sharp.svg +0 -1
  869. package/dist/ldf/svg/female.svg +0 -1
  870. package/dist/ldf/svg/file-tray-full-outline.svg +0 -1
  871. package/dist/ldf/svg/file-tray-full-sharp.svg +0 -1
  872. package/dist/ldf/svg/file-tray-full.svg +0 -1
  873. package/dist/ldf/svg/file-tray-outline.svg +0 -1
  874. package/dist/ldf/svg/file-tray-sharp.svg +0 -1
  875. package/dist/ldf/svg/file-tray-stacked-outline.svg +0 -1
  876. package/dist/ldf/svg/file-tray-stacked-sharp.svg +0 -1
  877. package/dist/ldf/svg/file-tray-stacked.svg +0 -1
  878. package/dist/ldf/svg/file-tray.svg +0 -1
  879. package/dist/ldf/svg/film-outline.svg +0 -1
  880. package/dist/ldf/svg/film-sharp.svg +0 -1
  881. package/dist/ldf/svg/film.svg +0 -1
  882. package/dist/ldf/svg/filter-circle-outline.svg +0 -1
  883. package/dist/ldf/svg/filter-circle-sharp.svg +0 -1
  884. package/dist/ldf/svg/filter-circle.svg +0 -1
  885. package/dist/ldf/svg/filter-outline.svg +0 -1
  886. package/dist/ldf/svg/filter-sharp.svg +0 -1
  887. package/dist/ldf/svg/filter.svg +0 -1
  888. package/dist/ldf/svg/finger-print-outline.svg +0 -1
  889. package/dist/ldf/svg/finger-print-sharp.svg +0 -1
  890. package/dist/ldf/svg/finger-print.svg +0 -1
  891. package/dist/ldf/svg/fish-outline.svg +0 -1
  892. package/dist/ldf/svg/fish-sharp.svg +0 -1
  893. package/dist/ldf/svg/fish.svg +0 -1
  894. package/dist/ldf/svg/fitness-outline.svg +0 -1
  895. package/dist/ldf/svg/fitness-sharp.svg +0 -1
  896. package/dist/ldf/svg/fitness.svg +0 -1
  897. package/dist/ldf/svg/flag-outline.svg +0 -1
  898. package/dist/ldf/svg/flag-sharp.svg +0 -1
  899. package/dist/ldf/svg/flag.svg +0 -1
  900. package/dist/ldf/svg/flame-outline.svg +0 -1
  901. package/dist/ldf/svg/flame-sharp.svg +0 -1
  902. package/dist/ldf/svg/flame.svg +0 -1
  903. package/dist/ldf/svg/flash-off-outline.svg +0 -1
  904. package/dist/ldf/svg/flash-off-sharp.svg +0 -1
  905. package/dist/ldf/svg/flash-off.svg +0 -1
  906. package/dist/ldf/svg/flash-outline.svg +0 -1
  907. package/dist/ldf/svg/flash-sharp.svg +0 -1
  908. package/dist/ldf/svg/flash.svg +0 -1
  909. package/dist/ldf/svg/flashlight-outline.svg +0 -1
  910. package/dist/ldf/svg/flashlight-sharp.svg +0 -1
  911. package/dist/ldf/svg/flashlight.svg +0 -1
  912. package/dist/ldf/svg/flask-outline.svg +0 -1
  913. package/dist/ldf/svg/flask-sharp.svg +0 -1
  914. package/dist/ldf/svg/flask.svg +0 -1
  915. package/dist/ldf/svg/flower-outline.svg +0 -1
  916. package/dist/ldf/svg/flower-sharp.svg +0 -1
  917. package/dist/ldf/svg/flower.svg +0 -1
  918. package/dist/ldf/svg/folder-open-outline.svg +0 -1
  919. package/dist/ldf/svg/folder-open-sharp.svg +0 -1
  920. package/dist/ldf/svg/folder-open.svg +0 -1
  921. package/dist/ldf/svg/folder-outline.svg +0 -1
  922. package/dist/ldf/svg/folder-sharp.svg +0 -1
  923. package/dist/ldf/svg/folder.svg +0 -1
  924. package/dist/ldf/svg/football-outline.svg +0 -1
  925. package/dist/ldf/svg/football-sharp.svg +0 -1
  926. package/dist/ldf/svg/football.svg +0 -1
  927. package/dist/ldf/svg/footsteps-outline.svg +0 -1
  928. package/dist/ldf/svg/footsteps-sharp.svg +0 -1
  929. package/dist/ldf/svg/footsteps.svg +0 -1
  930. package/dist/ldf/svg/funnel-outline.svg +0 -1
  931. package/dist/ldf/svg/funnel-sharp.svg +0 -1
  932. package/dist/ldf/svg/funnel.svg +0 -1
  933. package/dist/ldf/svg/game-controller-outline.svg +0 -1
  934. package/dist/ldf/svg/game-controller-sharp.svg +0 -1
  935. package/dist/ldf/svg/game-controller.svg +0 -1
  936. package/dist/ldf/svg/gift-outline.svg +0 -1
  937. package/dist/ldf/svg/gift-sharp.svg +0 -1
  938. package/dist/ldf/svg/gift.svg +0 -1
  939. package/dist/ldf/svg/git-branch-outline.svg +0 -1
  940. package/dist/ldf/svg/git-branch-sharp.svg +0 -1
  941. package/dist/ldf/svg/git-branch.svg +0 -1
  942. package/dist/ldf/svg/git-commit-outline.svg +0 -1
  943. package/dist/ldf/svg/git-commit-sharp.svg +0 -1
  944. package/dist/ldf/svg/git-commit.svg +0 -1
  945. package/dist/ldf/svg/git-compare-outline.svg +0 -1
  946. package/dist/ldf/svg/git-compare-sharp.svg +0 -1
  947. package/dist/ldf/svg/git-compare.svg +0 -1
  948. package/dist/ldf/svg/git-merge-outline.svg +0 -1
  949. package/dist/ldf/svg/git-merge-sharp.svg +0 -1
  950. package/dist/ldf/svg/git-merge.svg +0 -1
  951. package/dist/ldf/svg/git-network-outline.svg +0 -1
  952. package/dist/ldf/svg/git-network-sharp.svg +0 -1
  953. package/dist/ldf/svg/git-network.svg +0 -1
  954. package/dist/ldf/svg/git-pull-request-outline.svg +0 -1
  955. package/dist/ldf/svg/git-pull-request-sharp.svg +0 -1
  956. package/dist/ldf/svg/git-pull-request.svg +0 -1
  957. package/dist/ldf/svg/glasses-outline.svg +0 -1
  958. package/dist/ldf/svg/glasses-sharp.svg +0 -1
  959. package/dist/ldf/svg/glasses.svg +0 -1
  960. package/dist/ldf/svg/globe-outline.svg +0 -1
  961. package/dist/ldf/svg/globe-sharp.svg +0 -1
  962. package/dist/ldf/svg/globe.svg +0 -1
  963. package/dist/ldf/svg/golf-outline.svg +0 -1
  964. package/dist/ldf/svg/golf-sharp.svg +0 -1
  965. package/dist/ldf/svg/golf.svg +0 -1
  966. package/dist/ldf/svg/grid-outline.svg +0 -1
  967. package/dist/ldf/svg/grid-sharp.svg +0 -1
  968. package/dist/ldf/svg/grid.svg +0 -1
  969. package/dist/ldf/svg/hammer-outline.svg +0 -1
  970. package/dist/ldf/svg/hammer-sharp.svg +0 -1
  971. package/dist/ldf/svg/hammer.svg +0 -1
  972. package/dist/ldf/svg/hand-left-outline.svg +0 -1
  973. package/dist/ldf/svg/hand-left-sharp.svg +0 -1
  974. package/dist/ldf/svg/hand-left.svg +0 -1
  975. package/dist/ldf/svg/hand-right-outline.svg +0 -1
  976. package/dist/ldf/svg/hand-right-sharp.svg +0 -1
  977. package/dist/ldf/svg/hand-right.svg +0 -1
  978. package/dist/ldf/svg/happy-outline.svg +0 -1
  979. package/dist/ldf/svg/happy-sharp.svg +0 -1
  980. package/dist/ldf/svg/happy.svg +0 -1
  981. package/dist/ldf/svg/hardware-chip-outline.svg +0 -1
  982. package/dist/ldf/svg/hardware-chip-sharp.svg +0 -1
  983. package/dist/ldf/svg/hardware-chip.svg +0 -1
  984. package/dist/ldf/svg/headset-outline.svg +0 -1
  985. package/dist/ldf/svg/headset-sharp.svg +0 -1
  986. package/dist/ldf/svg/headset.svg +0 -1
  987. package/dist/ldf/svg/heart-circle-outline.svg +0 -1
  988. package/dist/ldf/svg/heart-circle-sharp.svg +0 -1
  989. package/dist/ldf/svg/heart-circle.svg +0 -1
  990. package/dist/ldf/svg/heart-dislike-circle-outline.svg +0 -1
  991. package/dist/ldf/svg/heart-dislike-circle-sharp.svg +0 -1
  992. package/dist/ldf/svg/heart-dislike-circle.svg +0 -1
  993. package/dist/ldf/svg/heart-dislike-outline.svg +0 -1
  994. package/dist/ldf/svg/heart-dislike-sharp.svg +0 -1
  995. package/dist/ldf/svg/heart-dislike.svg +0 -1
  996. package/dist/ldf/svg/heart-half-outline.svg +0 -1
  997. package/dist/ldf/svg/heart-half-sharp.svg +0 -1
  998. package/dist/ldf/svg/heart-half.svg +0 -1
  999. package/dist/ldf/svg/heart-outline.svg +0 -1
  1000. package/dist/ldf/svg/heart-sharp.svg +0 -1
  1001. package/dist/ldf/svg/heart.svg +0 -1
  1002. package/dist/ldf/svg/help-buoy-outline.svg +0 -1
  1003. package/dist/ldf/svg/help-buoy-sharp.svg +0 -1
  1004. package/dist/ldf/svg/help-buoy.svg +0 -1
  1005. package/dist/ldf/svg/help-circle-outline.svg +0 -1
  1006. package/dist/ldf/svg/help-circle-sharp.svg +0 -1
  1007. package/dist/ldf/svg/help-circle.svg +0 -1
  1008. package/dist/ldf/svg/help-outline.svg +0 -1
  1009. package/dist/ldf/svg/help-sharp.svg +0 -1
  1010. package/dist/ldf/svg/help.svg +0 -1
  1011. package/dist/ldf/svg/home-outline.svg +0 -1
  1012. package/dist/ldf/svg/home-sharp.svg +0 -1
  1013. package/dist/ldf/svg/home.svg +0 -1
  1014. package/dist/ldf/svg/hourglass-outline.svg +0 -1
  1015. package/dist/ldf/svg/hourglass-sharp.svg +0 -1
  1016. package/dist/ldf/svg/hourglass.svg +0 -1
  1017. package/dist/ldf/svg/ice-cream-outline.svg +0 -1
  1018. package/dist/ldf/svg/ice-cream-sharp.svg +0 -1
  1019. package/dist/ldf/svg/ice-cream.svg +0 -1
  1020. package/dist/ldf/svg/id-card-outline.svg +0 -1
  1021. package/dist/ldf/svg/id-card-sharp.svg +0 -1
  1022. package/dist/ldf/svg/id-card.svg +0 -1
  1023. package/dist/ldf/svg/image-outline.svg +0 -1
  1024. package/dist/ldf/svg/image-sharp.svg +0 -1
  1025. package/dist/ldf/svg/image.svg +0 -1
  1026. package/dist/ldf/svg/images-outline.svg +0 -1
  1027. package/dist/ldf/svg/images-sharp.svg +0 -1
  1028. package/dist/ldf/svg/images.svg +0 -1
  1029. package/dist/ldf/svg/infinite-outline.svg +0 -1
  1030. package/dist/ldf/svg/infinite-sharp.svg +0 -1
  1031. package/dist/ldf/svg/infinite.svg +0 -1
  1032. package/dist/ldf/svg/information-circle-outline.svg +0 -1
  1033. package/dist/ldf/svg/information-circle-sharp.svg +0 -1
  1034. package/dist/ldf/svg/information-circle.svg +0 -1
  1035. package/dist/ldf/svg/information-outline.svg +0 -1
  1036. package/dist/ldf/svg/information-sharp.svg +0 -1
  1037. package/dist/ldf/svg/information.svg +0 -1
  1038. package/dist/ldf/svg/invert-mode-outline.svg +0 -1
  1039. package/dist/ldf/svg/invert-mode-sharp.svg +0 -1
  1040. package/dist/ldf/svg/invert-mode.svg +0 -1
  1041. package/dist/ldf/svg/journal-outline.svg +0 -1
  1042. package/dist/ldf/svg/journal-sharp.svg +0 -1
  1043. package/dist/ldf/svg/journal.svg +0 -1
  1044. package/dist/ldf/svg/key-outline.svg +0 -1
  1045. package/dist/ldf/svg/key-sharp.svg +0 -1
  1046. package/dist/ldf/svg/key.svg +0 -1
  1047. package/dist/ldf/svg/keypad-outline.svg +0 -1
  1048. package/dist/ldf/svg/keypad-sharp.svg +0 -1
  1049. package/dist/ldf/svg/keypad.svg +0 -1
  1050. package/dist/ldf/svg/language-outline.svg +0 -1
  1051. package/dist/ldf/svg/language-sharp.svg +0 -1
  1052. package/dist/ldf/svg/language.svg +0 -1
  1053. package/dist/ldf/svg/laptop-outline.svg +0 -1
  1054. package/dist/ldf/svg/laptop-sharp.svg +0 -1
  1055. package/dist/ldf/svg/laptop.svg +0 -1
  1056. package/dist/ldf/svg/layers-outline.svg +0 -1
  1057. package/dist/ldf/svg/layers-sharp.svg +0 -1
  1058. package/dist/ldf/svg/layers.svg +0 -1
  1059. package/dist/ldf/svg/leaf-outline.svg +0 -1
  1060. package/dist/ldf/svg/leaf-sharp.svg +0 -1
  1061. package/dist/ldf/svg/leaf.svg +0 -1
  1062. package/dist/ldf/svg/library-outline.svg +0 -1
  1063. package/dist/ldf/svg/library-sharp.svg +0 -1
  1064. package/dist/ldf/svg/library.svg +0 -1
  1065. package/dist/ldf/svg/link-outline.svg +0 -1
  1066. package/dist/ldf/svg/link-sharp.svg +0 -1
  1067. package/dist/ldf/svg/link.svg +0 -1
  1068. package/dist/ldf/svg/list-circle-outline.svg +0 -1
  1069. package/dist/ldf/svg/list-circle-sharp.svg +0 -1
  1070. package/dist/ldf/svg/list-circle.svg +0 -1
  1071. package/dist/ldf/svg/list-outline.svg +0 -1
  1072. package/dist/ldf/svg/list-sharp.svg +0 -1
  1073. package/dist/ldf/svg/list.svg +0 -1
  1074. package/dist/ldf/svg/locate-outline.svg +0 -1
  1075. package/dist/ldf/svg/locate-sharp.svg +0 -1
  1076. package/dist/ldf/svg/locate.svg +0 -1
  1077. package/dist/ldf/svg/location-outline.svg +0 -1
  1078. package/dist/ldf/svg/location-sharp.svg +0 -1
  1079. package/dist/ldf/svg/location.svg +0 -1
  1080. package/dist/ldf/svg/lock-closed-outline.svg +0 -1
  1081. package/dist/ldf/svg/lock-closed-sharp.svg +0 -1
  1082. package/dist/ldf/svg/lock-closed.svg +0 -1
  1083. package/dist/ldf/svg/lock-open-outline.svg +0 -1
  1084. package/dist/ldf/svg/lock-open-sharp.svg +0 -1
  1085. package/dist/ldf/svg/lock-open.svg +0 -1
  1086. package/dist/ldf/svg/log-in-outline.svg +0 -1
  1087. package/dist/ldf/svg/log-in-sharp.svg +0 -1
  1088. package/dist/ldf/svg/log-in.svg +0 -1
  1089. package/dist/ldf/svg/log-out-outline.svg +0 -1
  1090. package/dist/ldf/svg/log-out-sharp.svg +0 -1
  1091. package/dist/ldf/svg/log-out.svg +0 -1
  1092. package/dist/ldf/svg/logo-alipay.svg +0 -1
  1093. package/dist/ldf/svg/logo-amazon.svg +0 -1
  1094. package/dist/ldf/svg/logo-amplify.svg +0 -1
  1095. package/dist/ldf/svg/logo-android.svg +0 -1
  1096. package/dist/ldf/svg/logo-angular.svg +0 -1
  1097. package/dist/ldf/svg/logo-apple-appstore.svg +0 -1
  1098. package/dist/ldf/svg/logo-apple-ar.svg +0 -1
  1099. package/dist/ldf/svg/logo-apple.svg +0 -1
  1100. package/dist/ldf/svg/logo-behance.svg +0 -1
  1101. package/dist/ldf/svg/logo-bitbucket.svg +0 -1
  1102. package/dist/ldf/svg/logo-bitcoin.svg +0 -1
  1103. package/dist/ldf/svg/logo-buffer.svg +0 -1
  1104. package/dist/ldf/svg/logo-capacitor.svg +0 -1
  1105. package/dist/ldf/svg/logo-chrome.svg +0 -1
  1106. package/dist/ldf/svg/logo-closed-captioning.svg +0 -1
  1107. package/dist/ldf/svg/logo-codepen.svg +0 -1
  1108. package/dist/ldf/svg/logo-css3.svg +0 -1
  1109. package/dist/ldf/svg/logo-designernews.svg +0 -1
  1110. package/dist/ldf/svg/logo-deviantart.svg +0 -1
  1111. package/dist/ldf/svg/logo-discord.svg +0 -1
  1112. package/dist/ldf/svg/logo-docker.svg +0 -1
  1113. package/dist/ldf/svg/logo-dribbble.svg +0 -1
  1114. package/dist/ldf/svg/logo-dropbox.svg +0 -1
  1115. package/dist/ldf/svg/logo-edge.svg +0 -1
  1116. package/dist/ldf/svg/logo-electron.svg +0 -1
  1117. package/dist/ldf/svg/logo-euro.svg +0 -1
  1118. package/dist/ldf/svg/logo-facebook.svg +0 -1
  1119. package/dist/ldf/svg/logo-figma.svg +0 -1
  1120. package/dist/ldf/svg/logo-firebase.svg +0 -1
  1121. package/dist/ldf/svg/logo-firefox.svg +0 -1
  1122. package/dist/ldf/svg/logo-flickr.svg +0 -1
  1123. package/dist/ldf/svg/logo-foursquare.svg +0 -1
  1124. package/dist/ldf/svg/logo-github.svg +0 -1
  1125. package/dist/ldf/svg/logo-gitlab.svg +0 -1
  1126. package/dist/ldf/svg/logo-google-playstore.svg +0 -1
  1127. package/dist/ldf/svg/logo-google.svg +0 -1
  1128. package/dist/ldf/svg/logo-hackernews.svg +0 -1
  1129. package/dist/ldf/svg/logo-html5.svg +0 -1
  1130. package/dist/ldf/svg/logo-instagram.svg +0 -1
  1131. package/dist/ldf/svg/logo-ionic.svg +0 -1
  1132. package/dist/ldf/svg/logo-ionitron.svg +0 -1
  1133. package/dist/ldf/svg/logo-javascript.svg +0 -1
  1134. package/dist/ldf/svg/logo-laravel.svg +0 -1
  1135. package/dist/ldf/svg/logo-linkedin.svg +0 -1
  1136. package/dist/ldf/svg/logo-markdown.svg +0 -1
  1137. package/dist/ldf/svg/logo-mastodon.svg +0 -1
  1138. package/dist/ldf/svg/logo-medium.svg +0 -1
  1139. package/dist/ldf/svg/logo-microsoft.svg +0 -1
  1140. package/dist/ldf/svg/logo-no-smoking.svg +0 -1
  1141. package/dist/ldf/svg/logo-nodejs.svg +0 -1
  1142. package/dist/ldf/svg/logo-npm.svg +0 -1
  1143. package/dist/ldf/svg/logo-octocat.svg +0 -1
  1144. package/dist/ldf/svg/logo-paypal.svg +0 -1
  1145. package/dist/ldf/svg/logo-pinterest.svg +0 -1
  1146. package/dist/ldf/svg/logo-playstation.svg +0 -1
  1147. package/dist/ldf/svg/logo-pwa.svg +0 -1
  1148. package/dist/ldf/svg/logo-python.svg +0 -1
  1149. package/dist/ldf/svg/logo-react.svg +0 -1
  1150. package/dist/ldf/svg/logo-reddit.svg +0 -1
  1151. package/dist/ldf/svg/logo-rss.svg +0 -1
  1152. package/dist/ldf/svg/logo-sass.svg +0 -1
  1153. package/dist/ldf/svg/logo-skype.svg +0 -1
  1154. package/dist/ldf/svg/logo-slack.svg +0 -1
  1155. package/dist/ldf/svg/logo-snapchat.svg +0 -1
  1156. package/dist/ldf/svg/logo-soundcloud.svg +0 -1
  1157. package/dist/ldf/svg/logo-stackoverflow.svg +0 -1
  1158. package/dist/ldf/svg/logo-steam.svg +0 -1
  1159. package/dist/ldf/svg/logo-stencil.svg +0 -1
  1160. package/dist/ldf/svg/logo-tableau.svg +0 -1
  1161. package/dist/ldf/svg/logo-tiktok.svg +0 -1
  1162. package/dist/ldf/svg/logo-tumblr.svg +0 -1
  1163. package/dist/ldf/svg/logo-tux.svg +0 -1
  1164. package/dist/ldf/svg/logo-twitch.svg +0 -1
  1165. package/dist/ldf/svg/logo-twitter.svg +0 -1
  1166. package/dist/ldf/svg/logo-usd.svg +0 -1
  1167. package/dist/ldf/svg/logo-venmo.svg +0 -1
  1168. package/dist/ldf/svg/logo-vercel.svg +0 -1
  1169. package/dist/ldf/svg/logo-vimeo.svg +0 -1
  1170. package/dist/ldf/svg/logo-vk.svg +0 -1
  1171. package/dist/ldf/svg/logo-vue.svg +0 -1
  1172. package/dist/ldf/svg/logo-web-component.svg +0 -1
  1173. package/dist/ldf/svg/logo-wechat.svg +0 -1
  1174. package/dist/ldf/svg/logo-whatsapp.svg +0 -1
  1175. package/dist/ldf/svg/logo-windows.svg +0 -1
  1176. package/dist/ldf/svg/logo-wordpress.svg +0 -1
  1177. package/dist/ldf/svg/logo-xbox.svg +0 -1
  1178. package/dist/ldf/svg/logo-xing.svg +0 -1
  1179. package/dist/ldf/svg/logo-yahoo.svg +0 -1
  1180. package/dist/ldf/svg/logo-yen.svg +0 -1
  1181. package/dist/ldf/svg/logo-youtube.svg +0 -1
  1182. package/dist/ldf/svg/magnet-outline.svg +0 -1
  1183. package/dist/ldf/svg/magnet-sharp.svg +0 -1
  1184. package/dist/ldf/svg/magnet.svg +0 -1
  1185. package/dist/ldf/svg/mail-open-outline.svg +0 -1
  1186. package/dist/ldf/svg/mail-open-sharp.svg +0 -1
  1187. package/dist/ldf/svg/mail-open.svg +0 -1
  1188. package/dist/ldf/svg/mail-outline.svg +0 -1
  1189. package/dist/ldf/svg/mail-sharp.svg +0 -1
  1190. package/dist/ldf/svg/mail-unread-outline.svg +0 -1
  1191. package/dist/ldf/svg/mail-unread-sharp.svg +0 -1
  1192. package/dist/ldf/svg/mail-unread.svg +0 -1
  1193. package/dist/ldf/svg/mail.svg +0 -1
  1194. package/dist/ldf/svg/male-female-outline.svg +0 -1
  1195. package/dist/ldf/svg/male-female-sharp.svg +0 -1
  1196. package/dist/ldf/svg/male-female.svg +0 -1
  1197. package/dist/ldf/svg/male-outline.svg +0 -1
  1198. package/dist/ldf/svg/male-sharp.svg +0 -1
  1199. package/dist/ldf/svg/male.svg +0 -1
  1200. package/dist/ldf/svg/man-outline.svg +0 -1
  1201. package/dist/ldf/svg/man-sharp.svg +0 -1
  1202. package/dist/ldf/svg/man.svg +0 -1
  1203. package/dist/ldf/svg/map-outline.svg +0 -1
  1204. package/dist/ldf/svg/map-sharp.svg +0 -1
  1205. package/dist/ldf/svg/map.svg +0 -1
  1206. package/dist/ldf/svg/medal-outline.svg +0 -1
  1207. package/dist/ldf/svg/medal-sharp.svg +0 -1
  1208. package/dist/ldf/svg/medal.svg +0 -1
  1209. package/dist/ldf/svg/medical-outline.svg +0 -1
  1210. package/dist/ldf/svg/medical-sharp.svg +0 -1
  1211. package/dist/ldf/svg/medical.svg +0 -1
  1212. package/dist/ldf/svg/medkit-outline.svg +0 -1
  1213. package/dist/ldf/svg/medkit-sharp.svg +0 -1
  1214. package/dist/ldf/svg/medkit.svg +0 -1
  1215. package/dist/ldf/svg/megaphone-outline.svg +0 -1
  1216. package/dist/ldf/svg/megaphone-sharp.svg +0 -1
  1217. package/dist/ldf/svg/megaphone.svg +0 -1
  1218. package/dist/ldf/svg/menu-outline.svg +0 -1
  1219. package/dist/ldf/svg/menu-sharp.svg +0 -1
  1220. package/dist/ldf/svg/menu.svg +0 -1
  1221. package/dist/ldf/svg/mic-circle-outline.svg +0 -1
  1222. package/dist/ldf/svg/mic-circle-sharp.svg +0 -1
  1223. package/dist/ldf/svg/mic-circle.svg +0 -1
  1224. package/dist/ldf/svg/mic-off-circle-outline.svg +0 -1
  1225. package/dist/ldf/svg/mic-off-circle-sharp.svg +0 -1
  1226. package/dist/ldf/svg/mic-off-circle.svg +0 -1
  1227. package/dist/ldf/svg/mic-off-outline.svg +0 -1
  1228. package/dist/ldf/svg/mic-off-sharp.svg +0 -1
  1229. package/dist/ldf/svg/mic-off.svg +0 -1
  1230. package/dist/ldf/svg/mic-outline.svg +0 -1
  1231. package/dist/ldf/svg/mic-sharp.svg +0 -1
  1232. package/dist/ldf/svg/mic.svg +0 -1
  1233. package/dist/ldf/svg/moon-outline.svg +0 -1
  1234. package/dist/ldf/svg/moon-sharp.svg +0 -1
  1235. package/dist/ldf/svg/moon.svg +0 -1
  1236. package/dist/ldf/svg/move-outline.svg +0 -1
  1237. package/dist/ldf/svg/move-sharp.svg +0 -1
  1238. package/dist/ldf/svg/move.svg +0 -1
  1239. package/dist/ldf/svg/musical-note-outline.svg +0 -1
  1240. package/dist/ldf/svg/musical-note-sharp.svg +0 -1
  1241. package/dist/ldf/svg/musical-note.svg +0 -1
  1242. package/dist/ldf/svg/musical-notes-outline.svg +0 -1
  1243. package/dist/ldf/svg/musical-notes-sharp.svg +0 -1
  1244. package/dist/ldf/svg/musical-notes.svg +0 -1
  1245. package/dist/ldf/svg/navigate-circle-outline.svg +0 -1
  1246. package/dist/ldf/svg/navigate-circle-sharp.svg +0 -1
  1247. package/dist/ldf/svg/navigate-circle.svg +0 -1
  1248. package/dist/ldf/svg/navigate-outline.svg +0 -1
  1249. package/dist/ldf/svg/navigate-sharp.svg +0 -1
  1250. package/dist/ldf/svg/navigate.svg +0 -1
  1251. package/dist/ldf/svg/newspaper-outline.svg +0 -1
  1252. package/dist/ldf/svg/newspaper-sharp.svg +0 -1
  1253. package/dist/ldf/svg/newspaper.svg +0 -1
  1254. package/dist/ldf/svg/notifications-circle-outline.svg +0 -1
  1255. package/dist/ldf/svg/notifications-circle-sharp.svg +0 -1
  1256. package/dist/ldf/svg/notifications-circle.svg +0 -1
  1257. package/dist/ldf/svg/notifications-off-circle-outline.svg +0 -1
  1258. package/dist/ldf/svg/notifications-off-circle-sharp.svg +0 -1
  1259. package/dist/ldf/svg/notifications-off-circle.svg +0 -1
  1260. package/dist/ldf/svg/notifications-off-outline.svg +0 -1
  1261. package/dist/ldf/svg/notifications-off-sharp.svg +0 -1
  1262. package/dist/ldf/svg/notifications-off.svg +0 -1
  1263. package/dist/ldf/svg/notifications-outline.svg +0 -1
  1264. package/dist/ldf/svg/notifications-sharp.svg +0 -1
  1265. package/dist/ldf/svg/notifications.svg +0 -1
  1266. package/dist/ldf/svg/nuclear-outline.svg +0 -1
  1267. package/dist/ldf/svg/nuclear-sharp.svg +0 -1
  1268. package/dist/ldf/svg/nuclear.svg +0 -1
  1269. package/dist/ldf/svg/nutrition-outline.svg +0 -1
  1270. package/dist/ldf/svg/nutrition-sharp.svg +0 -1
  1271. package/dist/ldf/svg/nutrition.svg +0 -1
  1272. package/dist/ldf/svg/open-outline.svg +0 -1
  1273. package/dist/ldf/svg/open-sharp.svg +0 -1
  1274. package/dist/ldf/svg/open.svg +0 -1
  1275. package/dist/ldf/svg/options-outline.svg +0 -1
  1276. package/dist/ldf/svg/options-sharp.svg +0 -1
  1277. package/dist/ldf/svg/options.svg +0 -1
  1278. package/dist/ldf/svg/paper-plane-outline.svg +0 -1
  1279. package/dist/ldf/svg/paper-plane-sharp.svg +0 -1
  1280. package/dist/ldf/svg/paper-plane.svg +0 -1
  1281. package/dist/ldf/svg/partly-sunny-outline.svg +0 -1
  1282. package/dist/ldf/svg/partly-sunny-sharp.svg +0 -1
  1283. package/dist/ldf/svg/partly-sunny.svg +0 -1
  1284. package/dist/ldf/svg/pause-circle-outline.svg +0 -1
  1285. package/dist/ldf/svg/pause-circle-sharp.svg +0 -1
  1286. package/dist/ldf/svg/pause-circle.svg +0 -1
  1287. package/dist/ldf/svg/pause-outline.svg +0 -1
  1288. package/dist/ldf/svg/pause-sharp.svg +0 -1
  1289. package/dist/ldf/svg/pause.svg +0 -1
  1290. package/dist/ldf/svg/paw-outline.svg +0 -1
  1291. package/dist/ldf/svg/paw-sharp.svg +0 -1
  1292. package/dist/ldf/svg/paw.svg +0 -1
  1293. package/dist/ldf/svg/pencil-outline.svg +0 -1
  1294. package/dist/ldf/svg/pencil-sharp.svg +0 -1
  1295. package/dist/ldf/svg/pencil.svg +0 -1
  1296. package/dist/ldf/svg/people-circle-outline.svg +0 -1
  1297. package/dist/ldf/svg/people-circle-sharp.svg +0 -1
  1298. package/dist/ldf/svg/people-circle.svg +0 -1
  1299. package/dist/ldf/svg/people-outline.svg +0 -1
  1300. package/dist/ldf/svg/people-sharp.svg +0 -1
  1301. package/dist/ldf/svg/people.svg +0 -1
  1302. package/dist/ldf/svg/person-add-outline.svg +0 -1
  1303. package/dist/ldf/svg/person-add-sharp.svg +0 -1
  1304. package/dist/ldf/svg/person-add.svg +0 -1
  1305. package/dist/ldf/svg/person-circle-outline.svg +0 -1
  1306. package/dist/ldf/svg/person-circle-sharp.svg +0 -1
  1307. package/dist/ldf/svg/person-circle.svg +0 -1
  1308. package/dist/ldf/svg/person-outline.svg +0 -1
  1309. package/dist/ldf/svg/person-remove-outline.svg +0 -1
  1310. package/dist/ldf/svg/person-remove-sharp.svg +0 -1
  1311. package/dist/ldf/svg/person-remove.svg +0 -1
  1312. package/dist/ldf/svg/person-sharp.svg +0 -1
  1313. package/dist/ldf/svg/person.svg +0 -1
  1314. package/dist/ldf/svg/phone-landscape-outline.svg +0 -1
  1315. package/dist/ldf/svg/phone-landscape-sharp.svg +0 -1
  1316. package/dist/ldf/svg/phone-landscape.svg +0 -1
  1317. package/dist/ldf/svg/phone-portrait-outline.svg +0 -1
  1318. package/dist/ldf/svg/phone-portrait-sharp.svg +0 -1
  1319. package/dist/ldf/svg/phone-portrait.svg +0 -1
  1320. package/dist/ldf/svg/pie-chart-outline.svg +0 -1
  1321. package/dist/ldf/svg/pie-chart-sharp.svg +0 -1
  1322. package/dist/ldf/svg/pie-chart.svg +0 -1
  1323. package/dist/ldf/svg/pin-outline.svg +0 -1
  1324. package/dist/ldf/svg/pin-sharp.svg +0 -1
  1325. package/dist/ldf/svg/pin.svg +0 -1
  1326. package/dist/ldf/svg/pint-outline.svg +0 -1
  1327. package/dist/ldf/svg/pint-sharp.svg +0 -1
  1328. package/dist/ldf/svg/pint.svg +0 -1
  1329. package/dist/ldf/svg/pizza-outline.svg +0 -1
  1330. package/dist/ldf/svg/pizza-sharp.svg +0 -1
  1331. package/dist/ldf/svg/pizza.svg +0 -1
  1332. package/dist/ldf/svg/planet-outline.svg +0 -1
  1333. package/dist/ldf/svg/planet-sharp.svg +0 -1
  1334. package/dist/ldf/svg/planet.svg +0 -1
  1335. package/dist/ldf/svg/play-back-circle-outline.svg +0 -1
  1336. package/dist/ldf/svg/play-back-circle-sharp.svg +0 -1
  1337. package/dist/ldf/svg/play-back-circle.svg +0 -1
  1338. package/dist/ldf/svg/play-back-outline.svg +0 -1
  1339. package/dist/ldf/svg/play-back-sharp.svg +0 -1
  1340. package/dist/ldf/svg/play-back.svg +0 -1
  1341. package/dist/ldf/svg/play-circle-outline.svg +0 -1
  1342. package/dist/ldf/svg/play-circle-sharp.svg +0 -1
  1343. package/dist/ldf/svg/play-circle.svg +0 -1
  1344. package/dist/ldf/svg/play-forward-circle-outline.svg +0 -1
  1345. package/dist/ldf/svg/play-forward-circle-sharp.svg +0 -1
  1346. package/dist/ldf/svg/play-forward-circle.svg +0 -1
  1347. package/dist/ldf/svg/play-forward-outline.svg +0 -1
  1348. package/dist/ldf/svg/play-forward-sharp.svg +0 -1
  1349. package/dist/ldf/svg/play-forward.svg +0 -1
  1350. package/dist/ldf/svg/play-outline.svg +0 -1
  1351. package/dist/ldf/svg/play-sharp.svg +0 -1
  1352. package/dist/ldf/svg/play-skip-back-circle-outline.svg +0 -1
  1353. package/dist/ldf/svg/play-skip-back-circle-sharp.svg +0 -1
  1354. package/dist/ldf/svg/play-skip-back-circle.svg +0 -1
  1355. package/dist/ldf/svg/play-skip-back-outline.svg +0 -1
  1356. package/dist/ldf/svg/play-skip-back-sharp.svg +0 -1
  1357. package/dist/ldf/svg/play-skip-back.svg +0 -1
  1358. package/dist/ldf/svg/play-skip-forward-circle-outline.svg +0 -1
  1359. package/dist/ldf/svg/play-skip-forward-circle-sharp.svg +0 -1
  1360. package/dist/ldf/svg/play-skip-forward-circle.svg +0 -1
  1361. package/dist/ldf/svg/play-skip-forward-outline.svg +0 -1
  1362. package/dist/ldf/svg/play-skip-forward-sharp.svg +0 -1
  1363. package/dist/ldf/svg/play-skip-forward.svg +0 -1
  1364. package/dist/ldf/svg/play.svg +0 -1
  1365. package/dist/ldf/svg/podium-outline.svg +0 -1
  1366. package/dist/ldf/svg/podium-sharp.svg +0 -1
  1367. package/dist/ldf/svg/podium.svg +0 -1
  1368. package/dist/ldf/svg/power-outline.svg +0 -1
  1369. package/dist/ldf/svg/power-sharp.svg +0 -1
  1370. package/dist/ldf/svg/power.svg +0 -1
  1371. package/dist/ldf/svg/pricetag-outline.svg +0 -1
  1372. package/dist/ldf/svg/pricetag-sharp.svg +0 -1
  1373. package/dist/ldf/svg/pricetag.svg +0 -1
  1374. package/dist/ldf/svg/pricetags-outline.svg +0 -1
  1375. package/dist/ldf/svg/pricetags-sharp.svg +0 -1
  1376. package/dist/ldf/svg/pricetags.svg +0 -1
  1377. package/dist/ldf/svg/print-outline.svg +0 -1
  1378. package/dist/ldf/svg/print-sharp.svg +0 -1
  1379. package/dist/ldf/svg/print.svg +0 -1
  1380. package/dist/ldf/svg/prism-outline.svg +0 -1
  1381. package/dist/ldf/svg/prism-sharp.svg +0 -1
  1382. package/dist/ldf/svg/prism.svg +0 -1
  1383. package/dist/ldf/svg/pulse-outline.svg +0 -1
  1384. package/dist/ldf/svg/pulse-sharp.svg +0 -1
  1385. package/dist/ldf/svg/pulse.svg +0 -1
  1386. package/dist/ldf/svg/push-outline.svg +0 -1
  1387. package/dist/ldf/svg/push-sharp.svg +0 -1
  1388. package/dist/ldf/svg/push.svg +0 -1
  1389. package/dist/ldf/svg/qr-code-outline.svg +0 -1
  1390. package/dist/ldf/svg/qr-code-sharp.svg +0 -1
  1391. package/dist/ldf/svg/qr-code.svg +0 -1
  1392. package/dist/ldf/svg/radio-button-off-outline.svg +0 -1
  1393. package/dist/ldf/svg/radio-button-off-sharp.svg +0 -1
  1394. package/dist/ldf/svg/radio-button-off.svg +0 -1
  1395. package/dist/ldf/svg/radio-button-on-outline.svg +0 -1
  1396. package/dist/ldf/svg/radio-button-on-sharp.svg +0 -1
  1397. package/dist/ldf/svg/radio-button-on.svg +0 -1
  1398. package/dist/ldf/svg/radio-outline.svg +0 -1
  1399. package/dist/ldf/svg/radio-sharp.svg +0 -1
  1400. package/dist/ldf/svg/radio.svg +0 -1
  1401. package/dist/ldf/svg/rainy-outline.svg +0 -1
  1402. package/dist/ldf/svg/rainy-sharp.svg +0 -1
  1403. package/dist/ldf/svg/rainy.svg +0 -1
  1404. package/dist/ldf/svg/reader-outline.svg +0 -1
  1405. package/dist/ldf/svg/reader-sharp.svg +0 -1
  1406. package/dist/ldf/svg/reader.svg +0 -1
  1407. package/dist/ldf/svg/receipt-outline.svg +0 -1
  1408. package/dist/ldf/svg/receipt-sharp.svg +0 -1
  1409. package/dist/ldf/svg/receipt.svg +0 -1
  1410. package/dist/ldf/svg/recording-outline.svg +0 -1
  1411. package/dist/ldf/svg/recording-sharp.svg +0 -1
  1412. package/dist/ldf/svg/recording.svg +0 -1
  1413. package/dist/ldf/svg/refresh-circle-outline.svg +0 -1
  1414. package/dist/ldf/svg/refresh-circle-sharp.svg +0 -1
  1415. package/dist/ldf/svg/refresh-circle.svg +0 -1
  1416. package/dist/ldf/svg/refresh-outline.svg +0 -1
  1417. package/dist/ldf/svg/refresh-sharp.svg +0 -1
  1418. package/dist/ldf/svg/refresh.svg +0 -1
  1419. package/dist/ldf/svg/reload-circle-outline.svg +0 -1
  1420. package/dist/ldf/svg/reload-circle-sharp.svg +0 -1
  1421. package/dist/ldf/svg/reload-circle.svg +0 -1
  1422. package/dist/ldf/svg/reload-outline.svg +0 -1
  1423. package/dist/ldf/svg/reload-sharp.svg +0 -1
  1424. package/dist/ldf/svg/reload.svg +0 -1
  1425. package/dist/ldf/svg/remove-circle-outline.svg +0 -1
  1426. package/dist/ldf/svg/remove-circle-sharp.svg +0 -1
  1427. package/dist/ldf/svg/remove-circle.svg +0 -1
  1428. package/dist/ldf/svg/remove-outline.svg +0 -1
  1429. package/dist/ldf/svg/remove-sharp.svg +0 -1
  1430. package/dist/ldf/svg/remove.svg +0 -1
  1431. package/dist/ldf/svg/reorder-four-outline.svg +0 -1
  1432. package/dist/ldf/svg/reorder-four-sharp.svg +0 -1
  1433. package/dist/ldf/svg/reorder-four.svg +0 -1
  1434. package/dist/ldf/svg/reorder-three-outline.svg +0 -1
  1435. package/dist/ldf/svg/reorder-three-sharp.svg +0 -1
  1436. package/dist/ldf/svg/reorder-three.svg +0 -1
  1437. package/dist/ldf/svg/reorder-two-outline.svg +0 -1
  1438. package/dist/ldf/svg/reorder-two-sharp.svg +0 -1
  1439. package/dist/ldf/svg/reorder-two.svg +0 -1
  1440. package/dist/ldf/svg/repeat-outline.svg +0 -1
  1441. package/dist/ldf/svg/repeat-sharp.svg +0 -1
  1442. package/dist/ldf/svg/repeat.svg +0 -1
  1443. package/dist/ldf/svg/resize-outline.svg +0 -1
  1444. package/dist/ldf/svg/resize-sharp.svg +0 -1
  1445. package/dist/ldf/svg/resize.svg +0 -1
  1446. package/dist/ldf/svg/restaurant-outline.svg +0 -1
  1447. package/dist/ldf/svg/restaurant-sharp.svg +0 -1
  1448. package/dist/ldf/svg/restaurant.svg +0 -1
  1449. package/dist/ldf/svg/return-down-back-outline.svg +0 -1
  1450. package/dist/ldf/svg/return-down-back-sharp.svg +0 -1
  1451. package/dist/ldf/svg/return-down-back.svg +0 -1
  1452. package/dist/ldf/svg/return-down-forward-outline.svg +0 -1
  1453. package/dist/ldf/svg/return-down-forward-sharp.svg +0 -1
  1454. package/dist/ldf/svg/return-down-forward.svg +0 -1
  1455. package/dist/ldf/svg/return-up-back-outline.svg +0 -1
  1456. package/dist/ldf/svg/return-up-back-sharp.svg +0 -1
  1457. package/dist/ldf/svg/return-up-back.svg +0 -1
  1458. package/dist/ldf/svg/return-up-forward-outline.svg +0 -1
  1459. package/dist/ldf/svg/return-up-forward-sharp.svg +0 -1
  1460. package/dist/ldf/svg/return-up-forward.svg +0 -1
  1461. package/dist/ldf/svg/ribbon-outline.svg +0 -1
  1462. package/dist/ldf/svg/ribbon-sharp.svg +0 -1
  1463. package/dist/ldf/svg/ribbon.svg +0 -1
  1464. package/dist/ldf/svg/rocket-outline.svg +0 -1
  1465. package/dist/ldf/svg/rocket-sharp.svg +0 -1
  1466. package/dist/ldf/svg/rocket.svg +0 -1
  1467. package/dist/ldf/svg/rose-outline.svg +0 -1
  1468. package/dist/ldf/svg/rose-sharp.svg +0 -1
  1469. package/dist/ldf/svg/rose.svg +0 -1
  1470. package/dist/ldf/svg/sad-outline.svg +0 -1
  1471. package/dist/ldf/svg/sad-sharp.svg +0 -1
  1472. package/dist/ldf/svg/sad.svg +0 -1
  1473. package/dist/ldf/svg/save-outline.svg +0 -1
  1474. package/dist/ldf/svg/save-sharp.svg +0 -1
  1475. package/dist/ldf/svg/save.svg +0 -1
  1476. package/dist/ldf/svg/scale-outline.svg +0 -1
  1477. package/dist/ldf/svg/scale-sharp.svg +0 -1
  1478. package/dist/ldf/svg/scale.svg +0 -1
  1479. package/dist/ldf/svg/scan-circle-outline.svg +0 -1
  1480. package/dist/ldf/svg/scan-circle-sharp.svg +0 -1
  1481. package/dist/ldf/svg/scan-circle.svg +0 -1
  1482. package/dist/ldf/svg/scan-outline.svg +0 -1
  1483. package/dist/ldf/svg/scan-sharp.svg +0 -1
  1484. package/dist/ldf/svg/scan.svg +0 -1
  1485. package/dist/ldf/svg/school-outline.svg +0 -1
  1486. package/dist/ldf/svg/school-sharp.svg +0 -1
  1487. package/dist/ldf/svg/school.svg +0 -1
  1488. package/dist/ldf/svg/search-circle-outline.svg +0 -1
  1489. package/dist/ldf/svg/search-circle-sharp.svg +0 -1
  1490. package/dist/ldf/svg/search-circle.svg +0 -1
  1491. package/dist/ldf/svg/search-outline.svg +0 -1
  1492. package/dist/ldf/svg/search-sharp.svg +0 -1
  1493. package/dist/ldf/svg/search.svg +0 -1
  1494. package/dist/ldf/svg/send-outline.svg +0 -1
  1495. package/dist/ldf/svg/send-sharp.svg +0 -1
  1496. package/dist/ldf/svg/send.svg +0 -1
  1497. package/dist/ldf/svg/server-outline.svg +0 -1
  1498. package/dist/ldf/svg/server-sharp.svg +0 -1
  1499. package/dist/ldf/svg/server.svg +0 -1
  1500. package/dist/ldf/svg/settings-outline.svg +0 -1
  1501. package/dist/ldf/svg/settings-sharp.svg +0 -1
  1502. package/dist/ldf/svg/settings.svg +0 -1
  1503. package/dist/ldf/svg/shapes-outline.svg +0 -1
  1504. package/dist/ldf/svg/shapes-sharp.svg +0 -1
  1505. package/dist/ldf/svg/shapes.svg +0 -1
  1506. package/dist/ldf/svg/share-outline.svg +0 -1
  1507. package/dist/ldf/svg/share-sharp.svg +0 -1
  1508. package/dist/ldf/svg/share-social-outline.svg +0 -1
  1509. package/dist/ldf/svg/share-social-sharp.svg +0 -1
  1510. package/dist/ldf/svg/share-social.svg +0 -1
  1511. package/dist/ldf/svg/share.svg +0 -1
  1512. package/dist/ldf/svg/shield-checkmark-outline.svg +0 -1
  1513. package/dist/ldf/svg/shield-checkmark-sharp.svg +0 -1
  1514. package/dist/ldf/svg/shield-checkmark.svg +0 -1
  1515. package/dist/ldf/svg/shield-half-outline.svg +0 -1
  1516. package/dist/ldf/svg/shield-half-sharp.svg +0 -1
  1517. package/dist/ldf/svg/shield-half.svg +0 -1
  1518. package/dist/ldf/svg/shield-outline.svg +0 -1
  1519. package/dist/ldf/svg/shield-sharp.svg +0 -1
  1520. package/dist/ldf/svg/shield.svg +0 -1
  1521. package/dist/ldf/svg/shirt-outline.svg +0 -1
  1522. package/dist/ldf/svg/shirt-sharp.svg +0 -1
  1523. package/dist/ldf/svg/shirt.svg +0 -1
  1524. package/dist/ldf/svg/shuffle-outline.svg +0 -1
  1525. package/dist/ldf/svg/shuffle-sharp.svg +0 -1
  1526. package/dist/ldf/svg/shuffle.svg +0 -1
  1527. package/dist/ldf/svg/skull-outline.svg +0 -1
  1528. package/dist/ldf/svg/skull-sharp.svg +0 -1
  1529. package/dist/ldf/svg/skull.svg +0 -1
  1530. package/dist/ldf/svg/snow-outline.svg +0 -1
  1531. package/dist/ldf/svg/snow-sharp.svg +0 -1
  1532. package/dist/ldf/svg/snow.svg +0 -1
  1533. package/dist/ldf/svg/sparkles-outline.svg +0 -1
  1534. package/dist/ldf/svg/sparkles-sharp.svg +0 -1
  1535. package/dist/ldf/svg/sparkles.svg +0 -1
  1536. package/dist/ldf/svg/speedometer-outline.svg +0 -1
  1537. package/dist/ldf/svg/speedometer-sharp.svg +0 -1
  1538. package/dist/ldf/svg/speedometer.svg +0 -1
  1539. package/dist/ldf/svg/square-outline.svg +0 -1
  1540. package/dist/ldf/svg/square-sharp.svg +0 -1
  1541. package/dist/ldf/svg/square.svg +0 -1
  1542. package/dist/ldf/svg/star-half-outline.svg +0 -1
  1543. package/dist/ldf/svg/star-half-sharp.svg +0 -1
  1544. package/dist/ldf/svg/star-half.svg +0 -1
  1545. package/dist/ldf/svg/star-outline.svg +0 -1
  1546. package/dist/ldf/svg/star-sharp.svg +0 -1
  1547. package/dist/ldf/svg/star.svg +0 -1
  1548. package/dist/ldf/svg/stats-chart-outline.svg +0 -1
  1549. package/dist/ldf/svg/stats-chart-sharp.svg +0 -1
  1550. package/dist/ldf/svg/stats-chart.svg +0 -1
  1551. package/dist/ldf/svg/stop-circle-outline.svg +0 -1
  1552. package/dist/ldf/svg/stop-circle-sharp.svg +0 -1
  1553. package/dist/ldf/svg/stop-circle.svg +0 -1
  1554. package/dist/ldf/svg/stop-outline.svg +0 -1
  1555. package/dist/ldf/svg/stop-sharp.svg +0 -1
  1556. package/dist/ldf/svg/stop.svg +0 -1
  1557. package/dist/ldf/svg/stopwatch-outline.svg +0 -1
  1558. package/dist/ldf/svg/stopwatch-sharp.svg +0 -1
  1559. package/dist/ldf/svg/stopwatch.svg +0 -1
  1560. package/dist/ldf/svg/storefront-outline.svg +0 -1
  1561. package/dist/ldf/svg/storefront-sharp.svg +0 -1
  1562. package/dist/ldf/svg/storefront.svg +0 -1
  1563. package/dist/ldf/svg/subway-outline.svg +0 -1
  1564. package/dist/ldf/svg/subway-sharp.svg +0 -1
  1565. package/dist/ldf/svg/subway.svg +0 -1
  1566. package/dist/ldf/svg/sunny-outline.svg +0 -1
  1567. package/dist/ldf/svg/sunny-sharp.svg +0 -1
  1568. package/dist/ldf/svg/sunny.svg +0 -1
  1569. package/dist/ldf/svg/swap-horizontal-outline.svg +0 -1
  1570. package/dist/ldf/svg/swap-horizontal-sharp.svg +0 -1
  1571. package/dist/ldf/svg/swap-horizontal.svg +0 -1
  1572. package/dist/ldf/svg/swap-vertical-outline.svg +0 -1
  1573. package/dist/ldf/svg/swap-vertical-sharp.svg +0 -1
  1574. package/dist/ldf/svg/swap-vertical.svg +0 -1
  1575. package/dist/ldf/svg/sync-circle-outline.svg +0 -1
  1576. package/dist/ldf/svg/sync-circle-sharp.svg +0 -1
  1577. package/dist/ldf/svg/sync-circle.svg +0 -1
  1578. package/dist/ldf/svg/sync-outline.svg +0 -1
  1579. package/dist/ldf/svg/sync-sharp.svg +0 -1
  1580. package/dist/ldf/svg/sync.svg +0 -1
  1581. package/dist/ldf/svg/tablet-landscape-outline.svg +0 -1
  1582. package/dist/ldf/svg/tablet-landscape-sharp.svg +0 -1
  1583. package/dist/ldf/svg/tablet-landscape.svg +0 -1
  1584. package/dist/ldf/svg/tablet-portrait-outline.svg +0 -1
  1585. package/dist/ldf/svg/tablet-portrait-sharp.svg +0 -1
  1586. package/dist/ldf/svg/tablet-portrait.svg +0 -1
  1587. package/dist/ldf/svg/telescope-outline.svg +0 -1
  1588. package/dist/ldf/svg/telescope-sharp.svg +0 -1
  1589. package/dist/ldf/svg/telescope.svg +0 -1
  1590. package/dist/ldf/svg/tennisball-outline.svg +0 -1
  1591. package/dist/ldf/svg/tennisball-sharp.svg +0 -1
  1592. package/dist/ldf/svg/tennisball.svg +0 -1
  1593. package/dist/ldf/svg/terminal-outline.svg +0 -1
  1594. package/dist/ldf/svg/terminal-sharp.svg +0 -1
  1595. package/dist/ldf/svg/terminal.svg +0 -1
  1596. package/dist/ldf/svg/text-outline.svg +0 -1
  1597. package/dist/ldf/svg/text-sharp.svg +0 -1
  1598. package/dist/ldf/svg/text.svg +0 -1
  1599. package/dist/ldf/svg/thermometer-outline.svg +0 -1
  1600. package/dist/ldf/svg/thermometer-sharp.svg +0 -1
  1601. package/dist/ldf/svg/thermometer.svg +0 -1
  1602. package/dist/ldf/svg/thumbs-down-outline.svg +0 -1
  1603. package/dist/ldf/svg/thumbs-down-sharp.svg +0 -1
  1604. package/dist/ldf/svg/thumbs-down.svg +0 -1
  1605. package/dist/ldf/svg/thumbs-up-outline.svg +0 -1
  1606. package/dist/ldf/svg/thumbs-up-sharp.svg +0 -1
  1607. package/dist/ldf/svg/thumbs-up.svg +0 -1
  1608. package/dist/ldf/svg/thunderstorm-outline.svg +0 -1
  1609. package/dist/ldf/svg/thunderstorm-sharp.svg +0 -1
  1610. package/dist/ldf/svg/thunderstorm.svg +0 -1
  1611. package/dist/ldf/svg/ticket-outline.svg +0 -1
  1612. package/dist/ldf/svg/ticket-sharp.svg +0 -1
  1613. package/dist/ldf/svg/ticket.svg +0 -1
  1614. package/dist/ldf/svg/time-outline.svg +0 -1
  1615. package/dist/ldf/svg/time-sharp.svg +0 -1
  1616. package/dist/ldf/svg/time.svg +0 -1
  1617. package/dist/ldf/svg/timer-outline.svg +0 -1
  1618. package/dist/ldf/svg/timer-sharp.svg +0 -1
  1619. package/dist/ldf/svg/timer.svg +0 -1
  1620. package/dist/ldf/svg/today-outline.svg +0 -1
  1621. package/dist/ldf/svg/today-sharp.svg +0 -1
  1622. package/dist/ldf/svg/today.svg +0 -1
  1623. package/dist/ldf/svg/toggle-outline.svg +0 -1
  1624. package/dist/ldf/svg/toggle-sharp.svg +0 -1
  1625. package/dist/ldf/svg/toggle.svg +0 -1
  1626. package/dist/ldf/svg/trail-sign-outline.svg +0 -1
  1627. package/dist/ldf/svg/trail-sign-sharp.svg +0 -1
  1628. package/dist/ldf/svg/trail-sign.svg +0 -1
  1629. package/dist/ldf/svg/train-outline.svg +0 -1
  1630. package/dist/ldf/svg/train-sharp.svg +0 -1
  1631. package/dist/ldf/svg/train.svg +0 -1
  1632. package/dist/ldf/svg/transgender-outline.svg +0 -1
  1633. package/dist/ldf/svg/transgender-sharp.svg +0 -1
  1634. package/dist/ldf/svg/transgender.svg +0 -1
  1635. package/dist/ldf/svg/trash-bin-outline.svg +0 -1
  1636. package/dist/ldf/svg/trash-bin-sharp.svg +0 -1
  1637. package/dist/ldf/svg/trash-bin.svg +0 -1
  1638. package/dist/ldf/svg/trash-outline.svg +0 -1
  1639. package/dist/ldf/svg/trash-sharp.svg +0 -1
  1640. package/dist/ldf/svg/trash.svg +0 -1
  1641. package/dist/ldf/svg/trending-down-outline.svg +0 -1
  1642. package/dist/ldf/svg/trending-down-sharp.svg +0 -1
  1643. package/dist/ldf/svg/trending-down.svg +0 -1
  1644. package/dist/ldf/svg/trending-up-outline.svg +0 -1
  1645. package/dist/ldf/svg/trending-up-sharp.svg +0 -1
  1646. package/dist/ldf/svg/trending-up.svg +0 -1
  1647. package/dist/ldf/svg/triangle-outline.svg +0 -1
  1648. package/dist/ldf/svg/triangle-sharp.svg +0 -1
  1649. package/dist/ldf/svg/triangle.svg +0 -1
  1650. package/dist/ldf/svg/trophy-outline.svg +0 -1
  1651. package/dist/ldf/svg/trophy-sharp.svg +0 -1
  1652. package/dist/ldf/svg/trophy.svg +0 -1
  1653. package/dist/ldf/svg/tv-outline.svg +0 -1
  1654. package/dist/ldf/svg/tv-sharp.svg +0 -1
  1655. package/dist/ldf/svg/tv.svg +0 -1
  1656. package/dist/ldf/svg/umbrella-outline.svg +0 -1
  1657. package/dist/ldf/svg/umbrella-sharp.svg +0 -1
  1658. package/dist/ldf/svg/umbrella.svg +0 -1
  1659. package/dist/ldf/svg/unlink-outline.svg +0 -1
  1660. package/dist/ldf/svg/unlink-sharp.svg +0 -1
  1661. package/dist/ldf/svg/unlink.svg +0 -1
  1662. package/dist/ldf/svg/videocam-off-outline.svg +0 -1
  1663. package/dist/ldf/svg/videocam-off-sharp.svg +0 -1
  1664. package/dist/ldf/svg/videocam-off.svg +0 -1
  1665. package/dist/ldf/svg/videocam-outline.svg +0 -1
  1666. package/dist/ldf/svg/videocam-sharp.svg +0 -1
  1667. package/dist/ldf/svg/videocam.svg +0 -1
  1668. package/dist/ldf/svg/volume-high-outline.svg +0 -1
  1669. package/dist/ldf/svg/volume-high-sharp.svg +0 -1
  1670. package/dist/ldf/svg/volume-high.svg +0 -1
  1671. package/dist/ldf/svg/volume-low-outline.svg +0 -1
  1672. package/dist/ldf/svg/volume-low-sharp.svg +0 -1
  1673. package/dist/ldf/svg/volume-low.svg +0 -1
  1674. package/dist/ldf/svg/volume-medium-outline.svg +0 -1
  1675. package/dist/ldf/svg/volume-medium-sharp.svg +0 -1
  1676. package/dist/ldf/svg/volume-medium.svg +0 -1
  1677. package/dist/ldf/svg/volume-mute-outline.svg +0 -1
  1678. package/dist/ldf/svg/volume-mute-sharp.svg +0 -1
  1679. package/dist/ldf/svg/volume-mute.svg +0 -1
  1680. package/dist/ldf/svg/volume-off-outline.svg +0 -1
  1681. package/dist/ldf/svg/volume-off-sharp.svg +0 -1
  1682. package/dist/ldf/svg/volume-off.svg +0 -1
  1683. package/dist/ldf/svg/walk-outline.svg +0 -1
  1684. package/dist/ldf/svg/walk-sharp.svg +0 -1
  1685. package/dist/ldf/svg/walk.svg +0 -1
  1686. package/dist/ldf/svg/wallet-outline.svg +0 -1
  1687. package/dist/ldf/svg/wallet-sharp.svg +0 -1
  1688. package/dist/ldf/svg/wallet.svg +0 -1
  1689. package/dist/ldf/svg/warning-outline.svg +0 -1
  1690. package/dist/ldf/svg/warning-sharp.svg +0 -1
  1691. package/dist/ldf/svg/warning.svg +0 -1
  1692. package/dist/ldf/svg/watch-outline.svg +0 -1
  1693. package/dist/ldf/svg/watch-sharp.svg +0 -1
  1694. package/dist/ldf/svg/watch.svg +0 -1
  1695. package/dist/ldf/svg/water-outline.svg +0 -1
  1696. package/dist/ldf/svg/water-sharp.svg +0 -1
  1697. package/dist/ldf/svg/water.svg +0 -1
  1698. package/dist/ldf/svg/wifi-outline.svg +0 -1
  1699. package/dist/ldf/svg/wifi-sharp.svg +0 -1
  1700. package/dist/ldf/svg/wifi.svg +0 -1
  1701. package/dist/ldf/svg/wine-outline.svg +0 -1
  1702. package/dist/ldf/svg/wine-sharp.svg +0 -1
  1703. package/dist/ldf/svg/wine.svg +0 -1
  1704. package/dist/ldf/svg/woman-outline.svg +0 -1
  1705. package/dist/ldf/svg/woman-sharp.svg +0 -1
  1706. package/dist/ldf/svg/woman.svg +0 -1
  1707. package/dist/ldf/swiper/swiper-interface.d.ts +0 -1
  1708. package/dist/ldf/swiper/swiper.bundle.js +0 -6418
  1709. package/dist/ldf/swiper/swiper.js +0 -4
  1710. package/dist/node_modules/@ionic/core/dist/collection/components/accordion/accordion.ios.css +0 -75
  1711. package/dist/node_modules/@ionic/core/dist/collection/components/accordion/accordion.md.css +0 -72
  1712. package/dist/node_modules/@ionic/core/dist/collection/components/accordion-group/accordion-group.ios.css +0 -25
  1713. package/dist/node_modules/@ionic/core/dist/collection/components/accordion-group/accordion-group.md.css +0 -59
  1714. package/dist/node_modules/@ionic/core/dist/collection/components/action-sheet/action-sheet.ios.css +0 -357
  1715. package/dist/node_modules/@ionic/core/dist/collection/components/action-sheet/action-sheet.md.css +0 -290
  1716. package/dist/node_modules/@ionic/core/dist/collection/components/alert/alert.ios.css +0 -494
  1717. package/dist/node_modules/@ionic/core/dist/collection/components/alert/alert.md.css +0 -502
  1718. package/dist/node_modules/@ionic/core/dist/collection/components/app/app.css +0 -17
  1719. package/dist/node_modules/@ionic/core/dist/collection/components/avatar/avatar.ios.css +0 -22
  1720. package/dist/node_modules/@ionic/core/dist/collection/components/avatar/avatar.md.css +0 -22
  1721. package/dist/node_modules/@ionic/core/dist/collection/components/back-button/back-button.ios.css +0 -281
  1722. package/dist/node_modules/@ionic/core/dist/collection/components/back-button/back-button.md.css +0 -309
  1723. package/dist/node_modules/@ionic/core/dist/collection/components/backdrop/backdrop.ios.css +0 -26
  1724. package/dist/node_modules/@ionic/core/dist/collection/components/backdrop/backdrop.md.css +0 -26
  1725. package/dist/node_modules/@ionic/core/dist/collection/components/badge/badge.ios.css +0 -58
  1726. package/dist/node_modules/@ionic/core/dist/collection/components/badge/badge.md.css +0 -62
  1727. package/dist/node_modules/@ionic/core/dist/collection/components/breadcrumb/breadcrumb.ios.css +0 -234
  1728. package/dist/node_modules/@ionic/core/dist/collection/components/breadcrumb/breadcrumb.md.css +0 -237
  1729. package/dist/node_modules/@ionic/core/dist/collection/components/breadcrumbs/breadcrumbs.ios.css +0 -38
  1730. package/dist/node_modules/@ionic/core/dist/collection/components/breadcrumbs/breadcrumbs.md.css +0 -37
  1731. package/dist/node_modules/@ionic/core/dist/collection/components/button/button.ios.css +0 -439
  1732. package/dist/node_modules/@ionic/core/dist/collection/components/button/button.md.css +0 -428
  1733. package/dist/node_modules/@ionic/core/dist/collection/components/buttons/buttons.ios.css +0 -128
  1734. package/dist/node_modules/@ionic/core/dist/collection/components/buttons/buttons.md.css +0 -151
  1735. package/dist/node_modules/@ionic/core/dist/collection/components/card/card.ios.css +0 -101
  1736. package/dist/node_modules/@ionic/core/dist/collection/components/card/card.md.css +0 -95
  1737. package/dist/node_modules/@ionic/core/dist/collection/components/card-content/card-content.ios.css +0 -61
  1738. package/dist/node_modules/@ionic/core/dist/collection/components/card-content/card-content.md.css +0 -63
  1739. package/dist/node_modules/@ionic/core/dist/collection/components/card-header/card-header.ios.css +0 -37
  1740. package/dist/node_modules/@ionic/core/dist/collection/components/card-header/card-header.md.css +0 -35
  1741. package/dist/node_modules/@ionic/core/dist/collection/components/card-subtitle/card-subtitle.ios.css +0 -28
  1742. package/dist/node_modules/@ionic/core/dist/collection/components/card-subtitle/card-subtitle.md.css +0 -26
  1743. package/dist/node_modules/@ionic/core/dist/collection/components/card-title/card-title.ios.css +0 -27
  1744. package/dist/node_modules/@ionic/core/dist/collection/components/card-title/card-title.md.css +0 -27
  1745. package/dist/node_modules/@ionic/core/dist/collection/components/checkbox/checkbox.ios.css +0 -169
  1746. package/dist/node_modules/@ionic/core/dist/collection/components/checkbox/checkbox.md.css +0 -172
  1747. package/dist/node_modules/@ionic/core/dist/collection/components/chip/chip.ios.css +0 -200
  1748. package/dist/node_modules/@ionic/core/dist/collection/components/chip/chip.md.css +0 -200
  1749. package/dist/node_modules/@ionic/core/dist/collection/components/col/col.css +0 -108
  1750. package/dist/node_modules/@ionic/core/dist/collection/components/content/content.css +0 -237
  1751. package/dist/node_modules/@ionic/core/dist/collection/components/datetime/datetime.ios.css +0 -648
  1752. package/dist/node_modules/@ionic/core/dist/collection/components/datetime/datetime.md.css +0 -637
  1753. package/dist/node_modules/@ionic/core/dist/collection/components/datetime-button/datetime-button.css +0 -60
  1754. package/dist/node_modules/@ionic/core/dist/collection/components/fab/fab.css +0 -61
  1755. package/dist/node_modules/@ionic/core/dist/collection/components/fab-button/fab-button.ios.css +0 -338
  1756. package/dist/node_modules/@ionic/core/dist/collection/components/fab-button/fab-button.md.css +0 -307
  1757. package/dist/node_modules/@ionic/core/dist/collection/components/fab-list/fab-list.css +0 -116
  1758. package/dist/node_modules/@ionic/core/dist/collection/components/footer/footer.ios.css +0 -37
  1759. package/dist/node_modules/@ionic/core/dist/collection/components/footer/footer.md.css +0 -37
  1760. package/dist/node_modules/@ionic/core/dist/collection/components/grid/grid.css +0 -151
  1761. package/dist/node_modules/@ionic/core/dist/collection/components/header/header.ios.css +0 -108
  1762. package/dist/node_modules/@ionic/core/dist/collection/components/header/header.md.css +0 -40
  1763. package/dist/node_modules/@ionic/core/dist/collection/components/img/img.css +0 -12
  1764. package/dist/node_modules/@ionic/core/dist/collection/components/infinite-scroll/infinite-scroll.css +0 -8
  1765. package/dist/node_modules/@ionic/core/dist/collection/components/infinite-scroll-content/infinite-scroll-content.ios.css +0 -54
  1766. package/dist/node_modules/@ionic/core/dist/collection/components/infinite-scroll-content/infinite-scroll-content.md.css +0 -54
  1767. package/dist/node_modules/@ionic/core/dist/collection/components/input/input.ios.css +0 -192
  1768. package/dist/node_modules/@ionic/core/dist/collection/components/input/input.md.css +0 -192
  1769. package/dist/node_modules/@ionic/core/dist/collection/components/item/item.ios.css +0 -665
  1770. package/dist/node_modules/@ionic/core/dist/collection/components/item/item.md.css +0 -924
  1771. package/dist/node_modules/@ionic/core/dist/collection/components/item-divider/item-divider.ios.css +0 -204
  1772. package/dist/node_modules/@ionic/core/dist/collection/components/item-divider/item-divider.md.css +0 -297
  1773. package/dist/node_modules/@ionic/core/dist/collection/components/item-group/item-group.ios.css +0 -3
  1774. package/dist/node_modules/@ionic/core/dist/collection/components/item-group/item-group.md.css +0 -3
  1775. package/dist/node_modules/@ionic/core/dist/collection/components/item-option/item-option.ios.css +0 -186
  1776. package/dist/node_modules/@ionic/core/dist/collection/components/item-option/item-option.md.css +0 -180
  1777. package/dist/node_modules/@ionic/core/dist/collection/components/item-options/item-options.ios.css +0 -88
  1778. package/dist/node_modules/@ionic/core/dist/collection/components/item-options/item-options.md.css +0 -85
  1779. package/dist/node_modules/@ionic/core/dist/collection/components/item-sliding/item-sliding.css +0 -42
  1780. package/dist/node_modules/@ionic/core/dist/collection/components/label/label.ios.css +0 -156
  1781. package/dist/node_modules/@ionic/core/dist/collection/components/label/label.md.css +0 -250
  1782. package/dist/node_modules/@ionic/core/dist/collection/components/list/list.ios.css +0 -91
  1783. package/dist/node_modules/@ionic/core/dist/collection/components/list/list.md.css +0 -114
  1784. package/dist/node_modules/@ionic/core/dist/collection/components/list-header/list-header.ios.css +0 -118
  1785. package/dist/node_modules/@ionic/core/dist/collection/components/list-header/list-header.md.css +0 -94
  1786. package/dist/node_modules/@ionic/core/dist/collection/components/loading/loading.ios.css +0 -109
  1787. package/dist/node_modules/@ionic/core/dist/collection/components/loading/loading.md.css +0 -100
  1788. package/dist/node_modules/@ionic/core/dist/collection/components/menu/menu.ios.css +0 -127
  1789. package/dist/node_modules/@ionic/core/dist/collection/components/menu/menu.md.css +0 -123
  1790. package/dist/node_modules/@ionic/core/dist/collection/components/menu-button/menu-button.ios.css +0 -175
  1791. package/dist/node_modules/@ionic/core/dist/collection/components/menu-button/menu-button.md.css +0 -178
  1792. package/dist/node_modules/@ionic/core/dist/collection/components/menu-toggle/menu-toggle.css +0 -3
  1793. package/dist/node_modules/@ionic/core/dist/collection/components/modal/modal.ios.css +0 -250
  1794. package/dist/node_modules/@ionic/core/dist/collection/components/modal/modal.md.css +0 -177
  1795. package/dist/node_modules/@ionic/core/dist/collection/components/nav/nav.css +0 -10
  1796. package/dist/node_modules/@ionic/core/dist/collection/components/note/note.ios.css +0 -16
  1797. package/dist/node_modules/@ionic/core/dist/collection/components/note/note.md.css +0 -17
  1798. package/dist/node_modules/@ionic/core/dist/collection/components/picker/picker.ios.css +0 -217
  1799. package/dist/node_modules/@ionic/core/dist/collection/components/picker/picker.md.css +0 -204
  1800. package/dist/node_modules/@ionic/core/dist/collection/components/picker-column/picker-column.ios.css +0 -122
  1801. package/dist/node_modules/@ionic/core/dist/collection/components/picker-column/picker-column.md.css +0 -123
  1802. package/dist/node_modules/@ionic/core/dist/collection/components/picker-column-internal/picker-column-internal.ios.css +0 -82
  1803. package/dist/node_modules/@ionic/core/dist/collection/components/picker-column-internal/picker-column-internal.md.css +0 -85
  1804. package/dist/node_modules/@ionic/core/dist/collection/components/picker-internal/picker-internal.ios.css +0 -127
  1805. package/dist/node_modules/@ionic/core/dist/collection/components/picker-internal/picker-internal.md.css +0 -123
  1806. package/dist/node_modules/@ionic/core/dist/collection/components/popover/popover.ios.css +0 -201
  1807. package/dist/node_modules/@ionic/core/dist/collection/components/popover/popover.md.css +0 -132
  1808. package/dist/node_modules/@ionic/core/dist/collection/components/progress-bar/progress-bar.ios.css +0 -206
  1809. package/dist/node_modules/@ionic/core/dist/collection/components/progress-bar/progress-bar.md.css +0 -206
  1810. package/dist/node_modules/@ionic/core/dist/collection/components/radio/radio.ios.css +0 -177
  1811. package/dist/node_modules/@ionic/core/dist/collection/components/radio/radio.md.css +0 -178
  1812. package/dist/node_modules/@ionic/core/dist/collection/components/range/range.ios.css +0 -275
  1813. package/dist/node_modules/@ionic/core/dist/collection/components/range/range.md.css +0 -320
  1814. package/dist/node_modules/@ionic/core/dist/collection/components/refresher/refresher.ios.css +0 -189
  1815. package/dist/node_modules/@ionic/core/dist/collection/components/refresher/refresher.md.css +0 -210
  1816. package/dist/node_modules/@ionic/core/dist/collection/components/reorder/reorder.ios.css +0 -15
  1817. package/dist/node_modules/@ionic/core/dist/collection/components/reorder/reorder.md.css +0 -15
  1818. package/dist/node_modules/@ionic/core/dist/collection/components/reorder-group/reorder-group.css +0 -33
  1819. package/dist/node_modules/@ionic/core/dist/collection/components/ripple-effect/ripple-effect.css +0 -58
  1820. package/dist/node_modules/@ionic/core/dist/collection/components/router-link/router-link.css +0 -29
  1821. package/dist/node_modules/@ionic/core/dist/collection/components/router-outlet/route-outlet.css +0 -10
  1822. package/dist/node_modules/@ionic/core/dist/collection/components/row/row.css +0 -4
  1823. package/dist/node_modules/@ionic/core/dist/collection/components/searchbar/searchbar.ios.css +0 -359
  1824. package/dist/node_modules/@ionic/core/dist/collection/components/searchbar/searchbar.md.css +0 -290
  1825. package/dist/node_modules/@ionic/core/dist/collection/components/segment/segment.ios.css +0 -65
  1826. package/dist/node_modules/@ionic/core/dist/collection/components/segment/segment.md.css +0 -36
  1827. package/dist/node_modules/@ionic/core/dist/collection/components/segment-button/segment-button.ios.css +0 -446
  1828. package/dist/node_modules/@ionic/core/dist/collection/components/segment-button/segment-button.md.css +0 -424
  1829. package/dist/node_modules/@ionic/core/dist/collection/components/select/select.ios.css +0 -145
  1830. package/dist/node_modules/@ionic/core/dist/collection/components/select/select.md.css +0 -177
  1831. package/dist/node_modules/@ionic/core/dist/collection/components/select-option/select-option.css +0 -3
  1832. package/dist/node_modules/@ionic/core/dist/collection/components/select-popover/select-popover.ios.css +0 -14
  1833. package/dist/node_modules/@ionic/core/dist/collection/components/select-popover/select-popover.md.css +0 -37
  1834. package/dist/node_modules/@ionic/core/dist/collection/components/skeleton-text/skeleton-text.css +0 -53
  1835. package/dist/node_modules/@ionic/core/dist/collection/components/slide/slide.css +0 -31
  1836. package/dist/node_modules/@ionic/core/dist/collection/components/slides/slides.ios.css +0 -764
  1837. package/dist/node_modules/@ionic/core/dist/collection/components/slides/slides.md.css +0 -764
  1838. package/dist/node_modules/@ionic/core/dist/collection/components/spinner/spinner.css +0 -167
  1839. package/dist/node_modules/@ionic/core/dist/collection/components/split-pane/split-pane.ios.css +0 -108
  1840. package/dist/node_modules/@ionic/core/dist/collection/components/split-pane/split-pane.md.css +0 -108
  1841. package/dist/node_modules/@ionic/core/dist/collection/components/tab/tab.css +0 -4
  1842. package/dist/node_modules/@ionic/core/dist/collection/components/tab-bar/tab-bar.ios.css +0 -97
  1843. package/dist/node_modules/@ionic/core/dist/collection/components/tab-bar/tab-bar.md.css +0 -82
  1844. package/dist/node_modules/@ionic/core/dist/collection/components/tab-button/tab-button.ios.css +0 -308
  1845. package/dist/node_modules/@ionic/core/dist/collection/components/tab-button/tab-button.md.css +0 -331
  1846. package/dist/node_modules/@ionic/core/dist/collection/components/tabs/tabs.css +0 -19
  1847. package/dist/node_modules/@ionic/core/dist/collection/components/text/text.css +0 -3
  1848. package/dist/node_modules/@ionic/core/dist/collection/components/textarea/textarea.ios.css +0 -175
  1849. package/dist/node_modules/@ionic/core/dist/collection/components/textarea/textarea.md.css +0 -179
  1850. package/dist/node_modules/@ionic/core/dist/collection/components/thumbnail/thumbnail.css +0 -21
  1851. package/dist/node_modules/@ionic/core/dist/collection/components/title/title.ios.css +0 -122
  1852. package/dist/node_modules/@ionic/core/dist/collection/components/title/title.md.css +0 -55
  1853. package/dist/node_modules/@ionic/core/dist/collection/components/toast/toast.ios.css +0 -262
  1854. package/dist/node_modules/@ionic/core/dist/collection/components/toast/toast.md.css +0 -295
  1855. package/dist/node_modules/@ionic/core/dist/collection/components/toggle/toggle.ios.css +0 -286
  1856. package/dist/node_modules/@ionic/core/dist/collection/components/toggle/toggle.md.css +0 -261
  1857. package/dist/node_modules/@ionic/core/dist/collection/components/toolbar/toolbar.ios.css +0 -175
  1858. package/dist/node_modules/@ionic/core/dist/collection/components/toolbar/toolbar.md.css +0 -168
  1859. package/dist/node_modules/@ionic/core/dist/collection/components/virtual-scroll/virtual-scroll.css +0 -21
  1860. package/dist/node_modules/ionicons/dist/collection/components/icon/icon.css +0 -101
@@ -1,3053 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index$1 = require('./index-01fdec29.js');
6
- const ionicGlobal = require('./ionic-global-bd0aab94.js');
7
- const haptic = require('./haptic-780f33c4.js');
8
- const index = require('./index-12082cba.js');
9
- const overlays = require('./overlays-240c867b.js');
10
- const theme = require('./theme-b0b295c1.js');
11
- const animation = require('./animation-ee586546.js');
12
- const index$2 = require('./index-af080b50.js');
13
- const helpers = require('./helpers-c2496722.js');
14
- const frameworkDelegate = require('./framework-delegate-59a98abd.js');
15
- const index$3 = require('./index-59bd9a39.js');
16
- require('./gesture-controller-0eb5579e.js');
17
- require('./hardware-back-button-92d97ff8.js');
18
-
19
- /*!
20
- * (C) Ionic http://ionicframework.com - MIT License
21
- */
22
- const createButtonActiveGesture = (el, isButton) => {
23
- let currentTouchedButton;
24
- let initialTouchedButton;
25
- const activateButtonAtPoint = (x, y, hapticFeedbackFn) => {
26
- if (typeof document === 'undefined') {
27
- return;
28
- }
29
- const target = document.elementFromPoint(x, y);
30
- if (!target || !isButton(target)) {
31
- clearActiveButton();
32
- return;
33
- }
34
- if (target !== currentTouchedButton) {
35
- clearActiveButton();
36
- setActiveButton(target, hapticFeedbackFn);
37
- }
38
- };
39
- const setActiveButton = (button, hapticFeedbackFn) => {
40
- currentTouchedButton = button;
41
- if (!initialTouchedButton) {
42
- initialTouchedButton = currentTouchedButton;
43
- }
44
- const buttonToModify = currentTouchedButton;
45
- index$1.writeTask(() => buttonToModify.classList.add('ion-activated'));
46
- hapticFeedbackFn();
47
- };
48
- const clearActiveButton = (dispatchClick = false) => {
49
- if (!currentTouchedButton) {
50
- return;
51
- }
52
- const buttonToModify = currentTouchedButton;
53
- index$1.writeTask(() => buttonToModify.classList.remove('ion-activated'));
54
- /**
55
- * Clicking on one button, but releasing on another button
56
- * does not dispatch a click event in browsers, so we
57
- * need to do it manually here. Some browsers will
58
- * dispatch a click if clicking on one button, dragging over
59
- * another button, and releasing on the original button. In that
60
- * case, we need to make sure we do not cause a double click there.
61
- */
62
- if (dispatchClick && initialTouchedButton !== currentTouchedButton) {
63
- currentTouchedButton.click();
64
- }
65
- currentTouchedButton = undefined;
66
- };
67
- return index.createGesture({
68
- el,
69
- gestureName: 'buttonActiveDrag',
70
- threshold: 0,
71
- onStart: (ev) => activateButtonAtPoint(ev.currentX, ev.currentY, haptic.hapticSelectionStart),
72
- onMove: (ev) => activateButtonAtPoint(ev.currentX, ev.currentY, haptic.hapticSelectionChanged),
73
- onEnd: () => {
74
- clearActiveButton(true);
75
- haptic.hapticSelectionEnd();
76
- initialTouchedButton = undefined;
77
- },
78
- });
79
- };
80
-
81
- /*!
82
- * (C) Ionic http://ionicframework.com - MIT License
83
- */
84
- /**
85
- * iOS Action Sheet Enter Animation
86
- */
87
- const iosEnterAnimation$2 = (baseEl) => {
88
- const baseAnimation = animation.createAnimation();
89
- const backdropAnimation = animation.createAnimation();
90
- const wrapperAnimation = animation.createAnimation();
91
- backdropAnimation
92
- .addElement(baseEl.querySelector('ion-backdrop'))
93
- .fromTo('opacity', 0.01, 'var(--backdrop-opacity)')
94
- .beforeStyles({
95
- 'pointer-events': 'none',
96
- })
97
- .afterClearStyles(['pointer-events']);
98
- wrapperAnimation
99
- .addElement(baseEl.querySelector('.action-sheet-wrapper'))
100
- .fromTo('transform', 'translateY(100%)', 'translateY(0%)');
101
- return baseAnimation
102
- .addElement(baseEl)
103
- .easing('cubic-bezier(.36,.66,.04,1)')
104
- .duration(400)
105
- .addAnimation([backdropAnimation, wrapperAnimation]);
106
- };
107
-
108
- /*!
109
- * (C) Ionic http://ionicframework.com - MIT License
110
- */
111
- /**
112
- * iOS Action Sheet Leave Animation
113
- */
114
- const iosLeaveAnimation$2 = (baseEl) => {
115
- const baseAnimation = animation.createAnimation();
116
- const backdropAnimation = animation.createAnimation();
117
- const wrapperAnimation = animation.createAnimation();
118
- backdropAnimation.addElement(baseEl.querySelector('ion-backdrop')).fromTo('opacity', 'var(--backdrop-opacity)', 0);
119
- wrapperAnimation
120
- .addElement(baseEl.querySelector('.action-sheet-wrapper'))
121
- .fromTo('transform', 'translateY(0%)', 'translateY(100%)');
122
- return baseAnimation
123
- .addElement(baseEl)
124
- .easing('cubic-bezier(.36,.66,.04,1)')
125
- .duration(450)
126
- .addAnimation([backdropAnimation, wrapperAnimation]);
127
- };
128
-
129
- /*!
130
- * (C) Ionic http://ionicframework.com - MIT License
131
- */
132
- /**
133
- * MD Action Sheet Enter Animation
134
- */
135
- const mdEnterAnimation$2 = (baseEl) => {
136
- const baseAnimation = animation.createAnimation();
137
- const backdropAnimation = animation.createAnimation();
138
- const wrapperAnimation = animation.createAnimation();
139
- backdropAnimation
140
- .addElement(baseEl.querySelector('ion-backdrop'))
141
- .fromTo('opacity', 0.01, 'var(--backdrop-opacity)')
142
- .beforeStyles({
143
- 'pointer-events': 'none',
144
- })
145
- .afterClearStyles(['pointer-events']);
146
- wrapperAnimation
147
- .addElement(baseEl.querySelector('.action-sheet-wrapper'))
148
- .fromTo('transform', 'translateY(100%)', 'translateY(0%)');
149
- return baseAnimation
150
- .addElement(baseEl)
151
- .easing('cubic-bezier(.36,.66,.04,1)')
152
- .duration(400)
153
- .addAnimation([backdropAnimation, wrapperAnimation]);
154
- };
155
-
156
- /*!
157
- * (C) Ionic http://ionicframework.com - MIT License
158
- */
159
- /**
160
- * MD Action Sheet Leave Animation
161
- */
162
- const mdLeaveAnimation$2 = (baseEl) => {
163
- const baseAnimation = animation.createAnimation();
164
- const backdropAnimation = animation.createAnimation();
165
- const wrapperAnimation = animation.createAnimation();
166
- backdropAnimation.addElement(baseEl.querySelector('ion-backdrop')).fromTo('opacity', 'var(--backdrop-opacity)', 0);
167
- wrapperAnimation
168
- .addElement(baseEl.querySelector('.action-sheet-wrapper'))
169
- .fromTo('transform', 'translateY(0%)', 'translateY(100%)');
170
- return baseAnimation
171
- .addElement(baseEl)
172
- .easing('cubic-bezier(.36,.66,.04,1)')
173
- .duration(450)
174
- .addAnimation([backdropAnimation, wrapperAnimation]);
175
- };
176
-
177
- const actionSheetIosCss = ".sc-ion-action-sheet-ios-h{--color:initial;--button-color-activated:var(--button-color);--button-color-focused:var(--button-color);--button-color-hover:var(--button-color);--button-color-selected:var(--button-color);--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--height:100%;--max-height:calc(100% - (var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:block;position:fixed;outline:none;font-family:var(--ion-font-family, inherit);touch-action:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-action-sheet-ios-h{display:none}.action-sheet-wrapper.sc-ion-action-sheet-ios{left:0;right:0;bottom:0;transform:translate3d(0, 100%, 0);display:block;position:absolute;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);z-index:10;pointer-events:none}.action-sheet-button.sc-ion-action-sheet-ios{display:block;position:relative;width:100%;border:0;outline:none;background:var(--button-background);color:var(--button-color);font-family:inherit;overflow:hidden}.action-sheet-button-inner.sc-ion-action-sheet-ios{display:flex;position:relative;flex-flow:row nowrap;flex-shrink:0;align-items:center;justify-content:center;pointer-events:none;width:100%;height:100%;z-index:1}.action-sheet-container.sc-ion-action-sheet-ios{display:flex;flex-flow:column;justify-content:flex-end;height:100%;max-height:100%}.action-sheet-group.sc-ion-action-sheet-ios{flex-shrink:2;overscroll-behavior-y:contain;overflow-y:auto;-webkit-overflow-scrolling:touch;pointer-events:all;background:var(--background)}.action-sheet-group.sc-ion-action-sheet-ios::-webkit-scrollbar{display:none}.action-sheet-group-cancel.sc-ion-action-sheet-ios{flex-shrink:0;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-ios::after{left:0;right:0;top:0;bottom:0;position:absolute;content:\"\";opacity:0}.action-sheet-selected.sc-ion-action-sheet-ios{color:var(--button-color-selected)}.action-sheet-selected.sc-ion-action-sheet-ios::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-button.ion-activated.sc-ion-action-sheet-ios{color:var(--button-color-activated)}.action-sheet-button.ion-activated.sc-ion-action-sheet-ios::after{background:var(--button-background-activated);opacity:var(--button-background-activated-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-ios{color:var(--button-color-focused)}.action-sheet-button.ion-focused.sc-ion-action-sheet-ios::after{background:var(--button-background-focused);opacity:var(--button-background-focused-opacity)}@media (any-hover: hover){.action-sheet-button.sc-ion-action-sheet-ios:hover{color:var(--button-color-hover)}.action-sheet-button.sc-ion-action-sheet-ios:hover::after{background:var(--button-background-hover);opacity:var(--button-background-hover-opacity)}}.sc-ion-action-sheet-ios-h{--background:var(--ion-overlay-background-color, var(--ion-color-step-100, #f9f9f9));--backdrop-opacity:var(--ion-backdrop-opacity, 0.4);--button-background:linear-gradient(0deg, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08), rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08) 50%, transparent 50%) bottom/100% 1px no-repeat transparent;--button-background-activated:var(--ion-text-color, #000);--button-background-activated-opacity:.08;--button-background-hover:currentColor;--button-background-hover-opacity:.04;--button-background-focused:currentColor;--button-background-focused-opacity:.12;--button-background-selected:var(--ion-color-step-150, var(--ion-background-color, #fff));--button-background-selected-opacity:1;--button-color:var(--ion-color-primary, #3880ff);--color:var(--ion-color-step-400, #999999);text-align:center}.action-sheet-wrapper.sc-ion-action-sheet-ios{margin-left:auto;margin-right:auto;margin-top:var(--ion-safe-area-top, 0);margin-bottom:var(--ion-safe-area-bottom, 0)}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.action-sheet-wrapper.sc-ion-action-sheet-ios{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}.action-sheet-container.sc-ion-action-sheet-ios{padding-left:8px;padding-right:8px;padding-top:0;padding-bottom:0}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.action-sheet-container.sc-ion-action-sheet-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px}}.action-sheet-group.sc-ion-action-sheet-ios{border-radius:13px;margin-bottom:8px}.action-sheet-group.sc-ion-action-sheet-ios:first-child{margin-top:10px}.action-sheet-group.sc-ion-action-sheet-ios:last-child{margin-bottom:10px}@supports (backdrop-filter: blur(0)){.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-group.sc-ion-action-sheet-ios{background-color:transparent;backdrop-filter:saturate(280%) blur(20px)}.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-title.sc-ion-action-sheet-ios,.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-button.sc-ion-action-sheet-ios{background-color:transparent;background-image:linear-gradient(0deg, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8), rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 100%), linear-gradient(0deg, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4), rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4) 50%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 50%);background-repeat:no-repeat;background-position:top, bottom;background-size:100% calc(100% - 1px), 100% 1px;backdrop-filter:saturate(120%)}.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-button.ion-activated.sc-ion-action-sheet-ios{background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.7);background-image:none}.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-cancel.sc-ion-action-sheet-ios{background:var(--button-background-selected)}}.action-sheet-title.sc-ion-action-sheet-ios{background:linear-gradient(0deg, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08), rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08) 50%, transparent 50%) bottom/100% 1px no-repeat transparent}.action-sheet-title.sc-ion-action-sheet-ios{padding-left:10px;padding-right:10px;padding-top:14px;padding-bottom:13px;color:var(--color, var(--ion-color-step-400, #999999));font-size:13px;font-weight:400;text-align:center}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.action-sheet-title.sc-ion-action-sheet-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px}}.action-sheet-title.action-sheet-has-sub-title.sc-ion-action-sheet-ios{font-weight:600}.action-sheet-sub-title.sc-ion-action-sheet-ios{padding-left:0;padding-right:0;padding-top:6px;padding-bottom:0;font-size:13px;font-weight:400}.action-sheet-button.sc-ion-action-sheet-ios{padding-left:18px;padding-right:18px;padding-top:18px;padding-bottom:18px;height:56px;font-size:20px;contain:strict}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.action-sheet-button.sc-ion-action-sheet-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:18px;padding-inline-start:18px;-webkit-padding-end:18px;padding-inline-end:18px}}.action-sheet-button.sc-ion-action-sheet-ios .action-sheet-icon.sc-ion-action-sheet-ios{margin-right:0.3em;font-size:28px;pointer-events:none}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.action-sheet-button.sc-ion-action-sheet-ios .action-sheet-icon.sc-ion-action-sheet-ios{margin-right:unset;-webkit-margin-end:0.3em;margin-inline-end:0.3em}}.action-sheet-button.sc-ion-action-sheet-ios:last-child{background-image:none}.action-sheet-selected.sc-ion-action-sheet-ios{font-weight:bold}.action-sheet-cancel.sc-ion-action-sheet-ios{font-weight:600}.action-sheet-cancel.sc-ion-action-sheet-ios::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-destructive.sc-ion-action-sheet-ios,.action-sheet-destructive.ion-activated.sc-ion-action-sheet-ios,.action-sheet-destructive.ion-focused.sc-ion-action-sheet-ios{color:var(--ion-color-danger, #eb445a)}@media (any-hover: hover){.action-sheet-destructive.sc-ion-action-sheet-ios:hover{color:var(--ion-color-danger, #eb445a)}}";
178
-
179
- const actionSheetMdCss = ".sc-ion-action-sheet-md-h{--color:initial;--button-color-activated:var(--button-color);--button-color-focused:var(--button-color);--button-color-hover:var(--button-color);--button-color-selected:var(--button-color);--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--height:100%;--max-height:calc(100% - (var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:block;position:fixed;outline:none;font-family:var(--ion-font-family, inherit);touch-action:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-action-sheet-md-h{display:none}.action-sheet-wrapper.sc-ion-action-sheet-md{left:0;right:0;bottom:0;transform:translate3d(0, 100%, 0);display:block;position:absolute;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);z-index:10;pointer-events:none}.action-sheet-button.sc-ion-action-sheet-md{display:block;position:relative;width:100%;border:0;outline:none;background:var(--button-background);color:var(--button-color);font-family:inherit;overflow:hidden}.action-sheet-button-inner.sc-ion-action-sheet-md{display:flex;position:relative;flex-flow:row nowrap;flex-shrink:0;align-items:center;justify-content:center;pointer-events:none;width:100%;height:100%;z-index:1}.action-sheet-container.sc-ion-action-sheet-md{display:flex;flex-flow:column;justify-content:flex-end;height:100%;max-height:100%}.action-sheet-group.sc-ion-action-sheet-md{flex-shrink:2;overscroll-behavior-y:contain;overflow-y:auto;-webkit-overflow-scrolling:touch;pointer-events:all;background:var(--background)}.action-sheet-group.sc-ion-action-sheet-md::-webkit-scrollbar{display:none}.action-sheet-group-cancel.sc-ion-action-sheet-md{flex-shrink:0;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-md::after{left:0;right:0;top:0;bottom:0;position:absolute;content:\"\";opacity:0}.action-sheet-selected.sc-ion-action-sheet-md{color:var(--button-color-selected)}.action-sheet-selected.sc-ion-action-sheet-md::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-button.ion-activated.sc-ion-action-sheet-md{color:var(--button-color-activated)}.action-sheet-button.ion-activated.sc-ion-action-sheet-md::after{background:var(--button-background-activated);opacity:var(--button-background-activated-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-md{color:var(--button-color-focused)}.action-sheet-button.ion-focused.sc-ion-action-sheet-md::after{background:var(--button-background-focused);opacity:var(--button-background-focused-opacity)}@media (any-hover: hover){.action-sheet-button.sc-ion-action-sheet-md:hover{color:var(--button-color-hover)}.action-sheet-button.sc-ion-action-sheet-md:hover::after{background:var(--button-background-hover);opacity:var(--button-background-hover-opacity)}}.sc-ion-action-sheet-md-h{--background:var(--ion-overlay-background-color, var(--ion-background-color, #fff));--backdrop-opacity:var(--ion-backdrop-opacity, 0.32);--button-background:transparent;--button-background-selected:currentColor;--button-background-selected-opacity:0;--button-background-activated:transparent;--button-background-activated-opacity:0;--button-background-hover:currentColor;--button-background-hover-opacity:.04;--button-background-focused:currentColor;--button-background-focused-opacity:.12;--button-color:var(--ion-color-step-850, #262626);--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54)}.action-sheet-wrapper.sc-ion-action-sheet-md{margin-left:auto;margin-right:auto;margin-top:var(--ion-safe-area-top, 0);margin-bottom:0}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.action-sheet-wrapper.sc-ion-action-sheet-md{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}.action-sheet-title.sc-ion-action-sheet-md{padding-left:16px;padding-right:16px;padding-top:20px;padding-bottom:17px;min-height:60px;color:var(--color, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54));font-size:16px;text-align:start}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.action-sheet-title.sc-ion-action-sheet-md{padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}.action-sheet-sub-title.sc-ion-action-sheet-md{padding-left:0;padding-right:0;padding-top:16px;padding-bottom:0;font-size:14px}.action-sheet-group.sc-ion-action-sheet-md:first-child{padding-top:0}.action-sheet-group.sc-ion-action-sheet-md:last-child{padding-bottom:var(--ion-safe-area-bottom)}.action-sheet-button.sc-ion-action-sheet-md{padding-left:16px;padding-right:16px;padding-top:0;padding-bottom:0;position:relative;height:52px;font-size:16px;text-align:start;contain:strict;overflow:hidden}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.action-sheet-button.sc-ion-action-sheet-md{padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}.action-sheet-icon.sc-ion-action-sheet-md{padding-bottom:4px;margin-left:0;margin-right:32px;margin-top:0;margin-bottom:0;color:var(--color);font-size:24px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.action-sheet-icon.sc-ion-action-sheet-md{margin-left:unset;margin-right:unset;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:32px;margin-inline-end:32px}}.action-sheet-button-inner.sc-ion-action-sheet-md{justify-content:flex-start}.action-sheet-selected.sc-ion-action-sheet-md{font-weight:bold}";
180
-
181
- const ActionSheet = class {
182
- constructor(hostRef) {
183
- index$1.registerInstance(this, hostRef);
184
- this.didPresent = index$1.createEvent(this, "ionActionSheetDidPresent", 7);
185
- this.willPresent = index$1.createEvent(this, "ionActionSheetWillPresent", 7);
186
- this.willDismiss = index$1.createEvent(this, "ionActionSheetWillDismiss", 7);
187
- this.didDismiss = index$1.createEvent(this, "ionActionSheetDidDismiss", 7);
188
- this.presented = false;
189
- /**
190
- * If `true`, the keyboard will be automatically dismissed when the overlay is presented.
191
- */
192
- this.keyboardClose = true;
193
- /**
194
- * An array of buttons for the action sheet.
195
- */
196
- this.buttons = [];
197
- /**
198
- * If `true`, the action sheet will be dismissed when the backdrop is clicked.
199
- */
200
- this.backdropDismiss = true;
201
- /**
202
- * If `true`, the action sheet will be translucent.
203
- * Only applies when the mode is `"ios"` and the device supports
204
- * [`backdrop-filter`](https://developer.mozilla.org/en-US/docs/Web/CSS/backdrop-filter#Browser_compatibility).
205
- */
206
- this.translucent = false;
207
- /**
208
- * If `true`, the action sheet will animate.
209
- */
210
- this.animated = true;
211
- this.onBackdropTap = () => {
212
- this.dismiss(undefined, overlays.BACKDROP);
213
- };
214
- this.dispatchCancelHandler = (ev) => {
215
- const role = ev.detail.role;
216
- if (overlays.isCancel(role)) {
217
- const cancelButton = this.getButtons().find((b) => b.role === 'cancel');
218
- this.callButtonHandler(cancelButton);
219
- }
220
- };
221
- }
222
- /**
223
- * Present the action sheet overlay after it has been created.
224
- */
225
- present() {
226
- return overlays.present(this, 'actionSheetEnter', iosEnterAnimation$2, mdEnterAnimation$2);
227
- }
228
- connectedCallback() {
229
- overlays.prepareOverlay(this.el);
230
- }
231
- /**
232
- * Dismiss the action sheet overlay after it has been presented.
233
- *
234
- * @param data Any data to emit in the dismiss events.
235
- * @param role The role of the element that is dismissing the action sheet.
236
- * This can be useful in a button handler for determining which button was
237
- * clicked to dismiss the action sheet.
238
- * Some examples include: ``"cancel"`, `"destructive"`, "selected"`, and `"backdrop"`.
239
- */
240
- dismiss(data, role) {
241
- return overlays.dismiss(this, data, role, 'actionSheetLeave', iosLeaveAnimation$2, mdLeaveAnimation$2);
242
- }
243
- /**
244
- * Returns a promise that resolves when the action sheet did dismiss.
245
- */
246
- onDidDismiss() {
247
- return overlays.eventMethod(this.el, 'ionActionSheetDidDismiss');
248
- }
249
- /**
250
- * Returns a promise that resolves when the action sheet will dismiss.
251
- *
252
- */
253
- onWillDismiss() {
254
- return overlays.eventMethod(this.el, 'ionActionSheetWillDismiss');
255
- }
256
- async buttonClick(button) {
257
- const role = button.role;
258
- if (overlays.isCancel(role)) {
259
- return this.dismiss(button.data, role);
260
- }
261
- const shouldDismiss = await this.callButtonHandler(button);
262
- if (shouldDismiss) {
263
- return this.dismiss(button.data, button.role);
264
- }
265
- return Promise.resolve();
266
- }
267
- async callButtonHandler(button) {
268
- if (button) {
269
- // a handler has been provided, execute it
270
- // pass the handler the values from the inputs
271
- const rtn = await overlays.safeCall(button.handler);
272
- if (rtn === false) {
273
- // if the return value of the handler is false then do not dismiss
274
- return false;
275
- }
276
- }
277
- return true;
278
- }
279
- getButtons() {
280
- return this.buttons.map((b) => {
281
- return typeof b === 'string' ? { text: b } : b;
282
- });
283
- }
284
- disconnectedCallback() {
285
- if (this.gesture) {
286
- this.gesture.destroy();
287
- this.gesture = undefined;
288
- }
289
- }
290
- componentDidLoad() {
291
- /**
292
- * Do not create gesture if:
293
- * 1. A gesture already exists
294
- * 2. App is running in MD mode
295
- * 3. A wrapper ref does not exist
296
- */
297
- const { groupEl, wrapperEl } = this;
298
- if (this.gesture || ionicGlobal.getIonMode(this) === 'md' || !wrapperEl || !groupEl) {
299
- return;
300
- }
301
- index$1.readTask(() => {
302
- const isScrollable = groupEl.scrollHeight > groupEl.clientHeight;
303
- if (!isScrollable) {
304
- this.gesture = createButtonActiveGesture(wrapperEl, (refEl) => refEl.classList.contains('action-sheet-button'));
305
- this.gesture.enable(true);
306
- }
307
- });
308
- }
309
- render() {
310
- const { header, htmlAttributes, overlayIndex } = this;
311
- const mode = ionicGlobal.getIonMode(this);
312
- const allButtons = this.getButtons();
313
- const cancelButton = allButtons.find((b) => b.role === 'cancel');
314
- const buttons = allButtons.filter((b) => b.role !== 'cancel');
315
- const headerID = `action-sheet-${overlayIndex}-header`;
316
- return (index$1.h(index$1.Host, Object.assign({ role: "dialog", "aria-modal": "true", "aria-labelledby": header !== undefined ? headerID : null, tabindex: "-1" }, htmlAttributes, { style: {
317
- zIndex: `${20000 + this.overlayIndex}`,
318
- }, class: Object.assign(Object.assign({ [mode]: true }, theme.getClassMap(this.cssClass)), { 'overlay-hidden': true, 'action-sheet-translucent': this.translucent }), onIonActionSheetWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }), index$1.h("ion-backdrop", { tappable: this.backdropDismiss }), index$1.h("div", { tabindex: "0" }), index$1.h("div", { class: "action-sheet-wrapper ion-overlay-wrapper", ref: (el) => (this.wrapperEl = el) }, index$1.h("div", { class: "action-sheet-container" }, index$1.h("div", { class: "action-sheet-group", ref: (el) => (this.groupEl = el) }, header !== undefined && (index$1.h("div", { id: headerID, class: {
319
- 'action-sheet-title': true,
320
- 'action-sheet-has-sub-title': this.subHeader !== undefined,
321
- } }, header, this.subHeader && index$1.h("div", { class: "action-sheet-sub-title" }, this.subHeader))), buttons.map((b) => (index$1.h("button", { type: "button", id: b.id, class: buttonClass$1(b), onClick: () => this.buttonClick(b) }, index$1.h("span", { class: "action-sheet-button-inner" }, b.icon && index$1.h("ion-icon", { icon: b.icon, lazy: false, class: "action-sheet-icon" }), b.text), mode === 'md' && index$1.h("ion-ripple-effect", null))))), cancelButton && (index$1.h("div", { class: "action-sheet-group action-sheet-group-cancel" }, index$1.h("button", { type: "button", class: buttonClass$1(cancelButton), onClick: () => this.buttonClick(cancelButton) }, index$1.h("span", { class: "action-sheet-button-inner" }, cancelButton.icon && index$1.h("ion-icon", { icon: cancelButton.icon, lazy: false, class: "action-sheet-icon" }), cancelButton.text), mode === 'md' && index$1.h("ion-ripple-effect", null)))))), index$1.h("div", { tabindex: "0" })));
322
- }
323
- get el() { return index$1.getElement(this); }
324
- };
325
- const buttonClass$1 = (button) => {
326
- return Object.assign({ 'action-sheet-button': true, 'ion-activatable': true, 'ion-focusable': true, [`action-sheet-${button.role}`]: button.role !== undefined }, theme.getClassMap(button.cssClass));
327
- };
328
- ActionSheet.style = {
329
- ios: actionSheetIosCss,
330
- md: actionSheetMdCss
331
- };
332
-
333
- /*!
334
- * (C) Ionic http://ionicframework.com - MIT License
335
- */
336
- /**
337
- * iOS Alert Enter Animation
338
- */
339
- const iosEnterAnimation$1 = (baseEl) => {
340
- const baseAnimation = animation.createAnimation();
341
- const backdropAnimation = animation.createAnimation();
342
- const wrapperAnimation = animation.createAnimation();
343
- backdropAnimation
344
- .addElement(baseEl.querySelector('ion-backdrop'))
345
- .fromTo('opacity', 0.01, 'var(--backdrop-opacity)')
346
- .beforeStyles({
347
- 'pointer-events': 'none',
348
- })
349
- .afterClearStyles(['pointer-events']);
350
- wrapperAnimation.addElement(baseEl.querySelector('.alert-wrapper')).keyframes([
351
- { offset: 0, opacity: '0.01', transform: 'scale(1.1)' },
352
- { offset: 1, opacity: '1', transform: 'scale(1)' },
353
- ]);
354
- return baseAnimation
355
- .addElement(baseEl)
356
- .easing('ease-in-out')
357
- .duration(200)
358
- .addAnimation([backdropAnimation, wrapperAnimation]);
359
- };
360
-
361
- /*!
362
- * (C) Ionic http://ionicframework.com - MIT License
363
- */
364
- /**
365
- * iOS Alert Leave Animation
366
- */
367
- const iosLeaveAnimation$1 = (baseEl) => {
368
- const baseAnimation = animation.createAnimation();
369
- const backdropAnimation = animation.createAnimation();
370
- const wrapperAnimation = animation.createAnimation();
371
- backdropAnimation.addElement(baseEl.querySelector('ion-backdrop')).fromTo('opacity', 'var(--backdrop-opacity)', 0);
372
- wrapperAnimation.addElement(baseEl.querySelector('.alert-wrapper')).keyframes([
373
- { offset: 0, opacity: 0.99, transform: 'scale(1)' },
374
- { offset: 1, opacity: 0, transform: 'scale(0.9)' },
375
- ]);
376
- return baseAnimation
377
- .addElement(baseEl)
378
- .easing('ease-in-out')
379
- .duration(200)
380
- .addAnimation([backdropAnimation, wrapperAnimation]);
381
- };
382
-
383
- /*!
384
- * (C) Ionic http://ionicframework.com - MIT License
385
- */
386
- /**
387
- * Md Alert Enter Animation
388
- */
389
- const mdEnterAnimation$1 = (baseEl) => {
390
- const baseAnimation = animation.createAnimation();
391
- const backdropAnimation = animation.createAnimation();
392
- const wrapperAnimation = animation.createAnimation();
393
- backdropAnimation
394
- .addElement(baseEl.querySelector('ion-backdrop'))
395
- .fromTo('opacity', 0.01, 'var(--backdrop-opacity)')
396
- .beforeStyles({
397
- 'pointer-events': 'none',
398
- })
399
- .afterClearStyles(['pointer-events']);
400
- wrapperAnimation.addElement(baseEl.querySelector('.alert-wrapper')).keyframes([
401
- { offset: 0, opacity: '0.01', transform: 'scale(0.9)' },
402
- { offset: 1, opacity: '1', transform: 'scale(1)' },
403
- ]);
404
- return baseAnimation
405
- .addElement(baseEl)
406
- .easing('ease-in-out')
407
- .duration(150)
408
- .addAnimation([backdropAnimation, wrapperAnimation]);
409
- };
410
-
411
- /*!
412
- * (C) Ionic http://ionicframework.com - MIT License
413
- */
414
- /**
415
- * Md Alert Leave Animation
416
- */
417
- const mdLeaveAnimation$1 = (baseEl) => {
418
- const baseAnimation = animation.createAnimation();
419
- const backdropAnimation = animation.createAnimation();
420
- const wrapperAnimation = animation.createAnimation();
421
- backdropAnimation.addElement(baseEl.querySelector('ion-backdrop')).fromTo('opacity', 'var(--backdrop-opacity)', 0);
422
- wrapperAnimation.addElement(baseEl.querySelector('.alert-wrapper')).fromTo('opacity', 0.99, 0);
423
- return baseAnimation
424
- .addElement(baseEl)
425
- .easing('ease-in-out')
426
- .duration(150)
427
- .addAnimation([backdropAnimation, wrapperAnimation]);
428
- };
429
-
430
- const alertIosCss = ".sc-ion-alert-ios-h{--min-width:250px;--width:auto;--min-height:auto;--height:auto;--max-height:90%;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:flex;position:absolute;align-items:center;justify-content:center;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;touch-action:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-alert-ios-h{display:none}.alert-top.sc-ion-alert-ios-h{padding-top:50px;align-items:flex-start}.alert-wrapper.sc-ion-alert-ios{display:flex;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);contain:content;opacity:0;z-index:10}.alert-title.sc-ion-alert-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}.alert-sub-title.sc-ion-alert-ios{margin-left:0;margin-right:0;margin-top:5px;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-weight:normal}.alert-message.sc-ion-alert-ios{box-sizing:border-box;-webkit-overflow-scrolling:touch;overflow-y:auto;overscroll-behavior-y:contain}.alert-checkbox-group.sc-ion-alert-ios::-webkit-scrollbar,.alert-radio-group.sc-ion-alert-ios::-webkit-scrollbar,.alert-message.sc-ion-alert-ios::-webkit-scrollbar{display:none}.alert-input.sc-ion-alert-ios{padding-left:0;padding-right:0;padding-top:10px;padding-bottom:10px;width:100%;border:0;background:inherit;font:inherit;box-sizing:border-box}.alert-button-group.sc-ion-alert-ios{display:flex;flex-direction:row;width:100%}.alert-button-group-vertical.sc-ion-alert-ios{flex-direction:column;flex-wrap:nowrap}.alert-button.sc-ion-alert-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;border:0;font-size:14px;line-height:20px;z-index:0}.alert-button.ion-focused.sc-ion-alert-ios,.alert-tappable.ion-focused.sc-ion-alert-ios{background:var(--ion-color-step-100, #e6e6e6)}.alert-button-inner.sc-ion-alert-ios{display:flex;flex-flow:row nowrap;flex-shrink:0;align-items:center;justify-content:center;width:100%;height:100%}.alert-input-disabled.sc-ion-alert-ios,.alert-checkbox-button-disabled.sc-ion-alert-ios .alert-button-inner.sc-ion-alert-ios,.alert-radio-button-disabled.sc-ion-alert-ios .alert-button-inner.sc-ion-alert-ios{cursor:default;opacity:0.5;pointer-events:none}.alert-tappable.sc-ion-alert-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:flex;width:100%;border:0;background:transparent;font-size:inherit;line-height:initial;text-align:start;appearance:none;contain:strict}.alert-button.sc-ion-alert-ios,.alert-checkbox.sc-ion-alert-ios,.alert-input.sc-ion-alert-ios,.alert-radio.sc-ion-alert-ios{outline:none}.alert-radio-icon.sc-ion-alert-ios,.alert-checkbox-icon.sc-ion-alert-ios,.alert-checkbox-inner.sc-ion-alert-ios{box-sizing:border-box}textarea.alert-input.sc-ion-alert-ios{min-height:37px;resize:none}.sc-ion-alert-ios-h{--background:var(--ion-overlay-background-color, var(--ion-color-step-100, #f9f9f9));--max-width:270px;--backdrop-opacity:var(--ion-backdrop-opacity, 0.3);font-size:14px}.alert-wrapper.sc-ion-alert-ios{border-radius:13px;box-shadow:none;overflow:hidden}.alert-button.sc-ion-alert-ios .alert-button-inner.sc-ion-alert-ios{pointer-events:none}@supports (backdrop-filter: blur(0)){.alert-translucent.sc-ion-alert-ios-h .alert-wrapper.sc-ion-alert-ios{background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.9);backdrop-filter:saturate(180%) blur(20px)}}.alert-head.sc-ion-alert-ios{padding-left:16px;padding-right:16px;padding-top:12px;padding-bottom:7px;text-align:center}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.alert-head.sc-ion-alert-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}.alert-title.sc-ion-alert-ios{margin-top:8px;color:var(--ion-text-color, #000);font-size:17px;font-weight:600}.alert-sub-title.sc-ion-alert-ios{color:var(--ion-color-step-600, #666666);font-size:14px}.alert-message.sc-ion-alert-ios,.alert-input-group.sc-ion-alert-ios{padding-left:16px;padding-right:16px;padding-top:0;padding-bottom:21px;color:var(--ion-text-color, #000);font-size:13px;text-align:center}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.alert-message.sc-ion-alert-ios,.alert-input-group.sc-ion-alert-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}.alert-message.sc-ion-alert-ios{max-height:240px}.alert-message.sc-ion-alert-ios:empty{padding-left:0;padding-right:0;padding-top:0;padding-bottom:12px}.alert-input.sc-ion-alert-ios{border-radius:4px;margin-top:10px;padding-left:6px;padding-right:6px;padding-top:6px;padding-bottom:6px;border:0.55px solid var(--ion-color-step-250, #bfbfbf);background-color:var(--ion-background-color, #fff);appearance:none}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.alert-input.sc-ion-alert-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:6px;padding-inline-start:6px;-webkit-padding-end:6px;padding-inline-end:6px}}.alert-input.sc-ion-alert-ios::placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios::-ms-clear{display:none}.alert-radio-group.sc-ion-alert-ios,.alert-checkbox-group.sc-ion-alert-ios{overscroll-behavior:contain;max-height:240px;border-top:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2);overflow-y:auto;-webkit-overflow-scrolling:touch}.alert-tappable.sc-ion-alert-ios{height:44px}.alert-radio-label.sc-ion-alert-ios{padding-left:13px;padding-right:13px;padding-top:13px;padding-bottom:13px;flex:1;order:0;color:var(--ion-text-color, #000);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.alert-radio-label.sc-ion-alert-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:13px;padding-inline-start:13px;-webkit-padding-end:13px;padding-inline-end:13px}}[aria-checked=true].sc-ion-alert-ios .alert-radio-label.sc-ion-alert-ios{color:var(--ion-color-primary, #3880ff)}.alert-radio-icon.sc-ion-alert-ios{position:relative;order:1;min-width:30px}[aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios{left:7px;top:-7px;position:absolute;width:6px;height:12px;transform:rotate(45deg);border-width:2px;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--ion-color-primary, #3880ff)}[dir=rtl].sc-ion-alert-ios [aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios,[dir=rtl].sc-ion-alert-ios-h [aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios,[dir=rtl] .sc-ion-alert-ios-h [aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios{left:unset;right:unset;right:7px}.alert-checkbox-label.sc-ion-alert-ios{padding-left:13px;padding-right:13px;padding-top:13px;padding-bottom:13px;flex:1;color:var(--ion-text-color, #000);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.alert-checkbox-label.sc-ion-alert-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:13px;padding-inline-start:13px;-webkit-padding-end:13px;padding-inline-end:13px}}.alert-checkbox-icon.sc-ion-alert-ios{border-radius:50%;margin-left:16px;margin-right:6px;margin-top:10px;margin-bottom:10px;position:relative;width:24px;height:24px;border-width:1px;border-style:solid;border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));background-color:var(--ion-item-background, var(--ion-background-color, #fff));contain:strict}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.alert-checkbox-icon.sc-ion-alert-ios{margin-left:unset;margin-right:unset;-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:6px;margin-inline-end:6px}}[aria-checked=true].sc-ion-alert-ios .alert-checkbox-icon.sc-ion-alert-ios{border-color:var(--ion-color-primary, #3880ff);background-color:var(--ion-color-primary, #3880ff)}[aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios{left:9px;top:4px;position:absolute;width:5px;height:12px;transform:rotate(45deg);border-width:1px;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--ion-background-color, #fff)}[dir=rtl].sc-ion-alert-ios [aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios,[dir=rtl].sc-ion-alert-ios-h [aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios,[dir=rtl] .sc-ion-alert-ios-h [aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios{left:unset;right:unset;right:9px}.alert-button-group.sc-ion-alert-ios{margin-right:-0.55px;flex-wrap:wrap}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.alert-button-group.sc-ion-alert-ios{margin-right:unset;-webkit-margin-end:-0.55px;margin-inline-end:-0.55px}}.alert-button.sc-ion-alert-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;border-radius:0;flex:1 1 auto;min-width:50%;height:44px;border-top:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2);border-right:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2);background-color:transparent;color:var(--ion-color-primary, #3880ff);font-size:17px;overflow:hidden}[dir=rtl].sc-ion-alert-ios .alert-button.sc-ion-alert-ios:first-child,[dir=rtl].sc-ion-alert-ios-h .alert-button.sc-ion-alert-ios:first-child,[dir=rtl] .sc-ion-alert-ios-h .alert-button.sc-ion-alert-ios:first-child{border-right:0}.alert-button.sc-ion-alert-ios:last-child{border-right:0;font-weight:bold}[dir=rtl].sc-ion-alert-ios .alert-button.sc-ion-alert-ios:last-child,[dir=rtl].sc-ion-alert-ios-h .alert-button.sc-ion-alert-ios:last-child,[dir=rtl] .sc-ion-alert-ios-h .alert-button.sc-ion-alert-ios:last-child{border-right:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}.alert-button.ion-activated.sc-ion-alert-ios{background-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.1)}.alert-button-role-destructive.sc-ion-alert-ios,.alert-button-role-destructive.ion-activated.sc-ion-alert-ios,.alert-button-role-destructive.ion-focused.sc-ion-alert-ios{color:var(--ion-color-danger, #eb445a)}";
431
-
432
- const alertMdCss = ".sc-ion-alert-md-h{--min-width:250px;--width:auto;--min-height:auto;--height:auto;--max-height:90%;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:flex;position:absolute;align-items:center;justify-content:center;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;touch-action:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-alert-md-h{display:none}.alert-top.sc-ion-alert-md-h{padding-top:50px;align-items:flex-start}.alert-wrapper.sc-ion-alert-md{display:flex;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);contain:content;opacity:0;z-index:10}.alert-title.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}.alert-sub-title.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:5px;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-weight:normal}.alert-message.sc-ion-alert-md{box-sizing:border-box;-webkit-overflow-scrolling:touch;overflow-y:auto;overscroll-behavior-y:contain}.alert-checkbox-group.sc-ion-alert-md::-webkit-scrollbar,.alert-radio-group.sc-ion-alert-md::-webkit-scrollbar,.alert-message.sc-ion-alert-md::-webkit-scrollbar{display:none}.alert-input.sc-ion-alert-md{padding-left:0;padding-right:0;padding-top:10px;padding-bottom:10px;width:100%;border:0;background:inherit;font:inherit;box-sizing:border-box}.alert-button-group.sc-ion-alert-md{display:flex;flex-direction:row;width:100%}.alert-button-group-vertical.sc-ion-alert-md{flex-direction:column;flex-wrap:nowrap}.alert-button.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;border:0;font-size:14px;line-height:20px;z-index:0}.alert-button.ion-focused.sc-ion-alert-md,.alert-tappable.ion-focused.sc-ion-alert-md{background:var(--ion-color-step-100, #e6e6e6)}.alert-button-inner.sc-ion-alert-md{display:flex;flex-flow:row nowrap;flex-shrink:0;align-items:center;justify-content:center;width:100%;height:100%}.alert-input-disabled.sc-ion-alert-md,.alert-checkbox-button-disabled.sc-ion-alert-md .alert-button-inner.sc-ion-alert-md,.alert-radio-button-disabled.sc-ion-alert-md .alert-button-inner.sc-ion-alert-md{cursor:default;opacity:0.5;pointer-events:none}.alert-tappable.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:flex;width:100%;border:0;background:transparent;font-size:inherit;line-height:initial;text-align:start;appearance:none;contain:strict}.alert-button.sc-ion-alert-md,.alert-checkbox.sc-ion-alert-md,.alert-input.sc-ion-alert-md,.alert-radio.sc-ion-alert-md{outline:none}.alert-radio-icon.sc-ion-alert-md,.alert-checkbox-icon.sc-ion-alert-md,.alert-checkbox-inner.sc-ion-alert-md{box-sizing:border-box}textarea.alert-input.sc-ion-alert-md{min-height:37px;resize:none}.sc-ion-alert-md-h{--background:var(--ion-overlay-background-color, var(--ion-background-color, #fff));--max-width:280px;--backdrop-opacity:var(--ion-backdrop-opacity, 0.32);font-size:14px}.alert-wrapper.sc-ion-alert-md{border-radius:4px;box-shadow:0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12)}.alert-head.sc-ion-alert-md{padding-left:23px;padding-right:23px;padding-top:20px;padding-bottom:15px;text-align:start}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.alert-head.sc-ion-alert-md{padding-left:unset;padding-right:unset;-webkit-padding-start:23px;padding-inline-start:23px;-webkit-padding-end:23px;padding-inline-end:23px}}.alert-title.sc-ion-alert-md{color:var(--ion-text-color, #000);font-size:20px;font-weight:500}.alert-sub-title.sc-ion-alert-md{color:var(--ion-text-color, #000);font-size:16px}.alert-message.sc-ion-alert-md,.alert-input-group.sc-ion-alert-md{padding-left:24px;padding-right:24px;padding-top:20px;padding-bottom:20px;color:var(--ion-color-step-550, #737373)}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.alert-message.sc-ion-alert-md,.alert-input-group.sc-ion-alert-md{padding-left:unset;padding-right:unset;-webkit-padding-start:24px;padding-inline-start:24px;-webkit-padding-end:24px;padding-inline-end:24px}}.alert-message.sc-ion-alert-md{max-height:266px;font-size:16px}.alert-message.sc-ion-alert-md:empty{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}.alert-head.sc-ion-alert-md+.alert-message.sc-ion-alert-md{padding-top:0}.alert-input.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:5px;margin-bottom:5px;border-bottom:1px solid var(--ion-color-step-150, #d9d9d9);color:var(--ion-text-color, #000)}.alert-input.sc-ion-alert-md::placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md::-ms-clear{display:none}.alert-input.sc-ion-alert-md:focus{margin-bottom:4px;border-bottom:2px solid var(--ion-color-primary, #3880ff)}.alert-radio-group.sc-ion-alert-md,.alert-checkbox-group.sc-ion-alert-md{position:relative;max-height:266px;border-top:1px solid var(--ion-color-step-150, #d9d9d9);border-bottom:1px solid var(--ion-color-step-150, #d9d9d9);overflow:auto}.alert-tappable.sc-ion-alert-md{position:relative;height:48px;overflow:hidden}.alert-radio-label.sc-ion-alert-md{padding-left:52px;padding-right:26px;padding-top:13px;padding-bottom:13px;flex:1;color:var(--ion-color-step-850, #262626);font-size:16px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.alert-radio-label.sc-ion-alert-md{padding-left:unset;padding-right:unset;-webkit-padding-start:52px;padding-inline-start:52px;-webkit-padding-end:26px;padding-inline-end:26px}}.alert-radio-icon.sc-ion-alert-md{left:26px;top:0;border-radius:50%;display:block;position:relative;width:20px;height:20px;border-width:2px;border-style:solid;border-color:var(--ion-color-step-550, #737373)}[dir=rtl].sc-ion-alert-md .alert-radio-icon.sc-ion-alert-md,[dir=rtl].sc-ion-alert-md-h .alert-radio-icon.sc-ion-alert-md,[dir=rtl] .sc-ion-alert-md-h .alert-radio-icon.sc-ion-alert-md{left:unset;right:unset;right:26px}.alert-radio-inner.sc-ion-alert-md{left:3px;top:3px;border-radius:50%;position:absolute;width:10px;height:10px;transform:scale3d(0, 0, 0);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--ion-color-primary, #3880ff)}[dir=rtl].sc-ion-alert-md .alert-radio-inner.sc-ion-alert-md,[dir=rtl].sc-ion-alert-md-h .alert-radio-inner.sc-ion-alert-md,[dir=rtl] .sc-ion-alert-md-h .alert-radio-inner.sc-ion-alert-md{left:unset;right:unset;right:3px}[aria-checked=true].sc-ion-alert-md .alert-radio-label.sc-ion-alert-md{color:var(--ion-color-step-850, #262626)}[aria-checked=true].sc-ion-alert-md .alert-radio-icon.sc-ion-alert-md{border-color:var(--ion-color-primary, #3880ff)}[aria-checked=true].sc-ion-alert-md .alert-radio-inner.sc-ion-alert-md{transform:scale3d(1, 1, 1)}.alert-checkbox-label.sc-ion-alert-md{padding-left:53px;padding-right:26px;padding-top:13px;padding-bottom:13px;flex:1;color:var(--ion-color-step-850, #262626);font-size:16px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.alert-checkbox-label.sc-ion-alert-md{padding-left:unset;padding-right:unset;-webkit-padding-start:53px;padding-inline-start:53px;-webkit-padding-end:26px;padding-inline-end:26px}}.alert-checkbox-icon.sc-ion-alert-md{left:26px;top:0;border-radius:2px;position:relative;width:16px;height:16px;border-width:2px;border-style:solid;border-color:var(--ion-color-step-550, #737373);contain:strict}[dir=rtl].sc-ion-alert-md .alert-checkbox-icon.sc-ion-alert-md,[dir=rtl].sc-ion-alert-md-h .alert-checkbox-icon.sc-ion-alert-md,[dir=rtl] .sc-ion-alert-md-h .alert-checkbox-icon.sc-ion-alert-md{left:unset;right:unset;right:26px}[aria-checked=true].sc-ion-alert-md .alert-checkbox-icon.sc-ion-alert-md{border-color:var(--ion-color-primary, #3880ff);background-color:var(--ion-color-primary, #3880ff)}[aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md{left:3px;top:0;position:absolute;width:6px;height:10px;transform:rotate(45deg);border-width:2px;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--ion-color-primary-contrast, #fff)}[dir=rtl].sc-ion-alert-md [aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md,[dir=rtl].sc-ion-alert-md-h [aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md,[dir=rtl] .sc-ion-alert-md-h [aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md{left:unset;right:unset;right:3px}.alert-button-group.sc-ion-alert-md{padding-left:8px;padding-right:8px;padding-top:8px;padding-bottom:8px;box-sizing:border-box;flex-wrap:wrap-reverse;justify-content:flex-end}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.alert-button-group.sc-ion-alert-md{padding-left:unset;padding-right:unset;-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px}}.alert-button.sc-ion-alert-md{border-radius:2px;margin-left:0;margin-right:8px;margin-top:0;margin-bottom:0;padding-left:10px;padding-right:10px;padding-top:10px;padding-bottom:10px;position:relative;background-color:transparent;color:var(--ion-color-primary, #3880ff);font-weight:500;text-align:end;text-transform:uppercase;overflow:hidden}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.alert-button.sc-ion-alert-md{margin-left:unset;margin-right:unset;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px}}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.alert-button.sc-ion-alert-md{padding-left:unset;padding-right:unset;-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px}}.alert-button-inner.sc-ion-alert-md{justify-content:flex-end}";
433
-
434
- const Alert = class {
435
- constructor(hostRef) {
436
- index$1.registerInstance(this, hostRef);
437
- this.didPresent = index$1.createEvent(this, "ionAlertDidPresent", 7);
438
- this.willPresent = index$1.createEvent(this, "ionAlertWillPresent", 7);
439
- this.willDismiss = index$1.createEvent(this, "ionAlertWillDismiss", 7);
440
- this.didDismiss = index$1.createEvent(this, "ionAlertDidDismiss", 7);
441
- this.processedInputs = [];
442
- this.processedButtons = [];
443
- this.presented = false;
444
- /**
445
- * If `true`, the keyboard will be automatically dismissed when the overlay is presented.
446
- */
447
- this.keyboardClose = true;
448
- /**
449
- * Array of buttons to be added to the alert.
450
- */
451
- this.buttons = [];
452
- /**
453
- * Array of input to show in the alert.
454
- */
455
- this.inputs = [];
456
- /**
457
- * If `true`, the alert will be dismissed when the backdrop is clicked.
458
- */
459
- this.backdropDismiss = true;
460
- /**
461
- * If `true`, the alert will be translucent.
462
- * Only applies when the mode is `"ios"` and the device supports
463
- * [`backdrop-filter`](https://developer.mozilla.org/en-US/docs/Web/CSS/backdrop-filter#Browser_compatibility).
464
- */
465
- this.translucent = false;
466
- /**
467
- * If `true`, the alert will animate.
468
- */
469
- this.animated = true;
470
- this.onBackdropTap = () => {
471
- this.dismiss(undefined, overlays.BACKDROP);
472
- };
473
- this.dispatchCancelHandler = (ev) => {
474
- const role = ev.detail.role;
475
- if (overlays.isCancel(role)) {
476
- const cancelButton = this.processedButtons.find((b) => b.role === 'cancel');
477
- this.callButtonHandler(cancelButton);
478
- }
479
- };
480
- }
481
- onKeydown(ev) {
482
- const inputTypes = new Set(this.processedInputs.map((i) => i.type));
483
- // The only inputs we want to navigate between using arrow keys are the radios
484
- // ignore the keydown event if it is not on a radio button
485
- if (!inputTypes.has('radio') ||
486
- (ev.target && !this.el.contains(ev.target)) ||
487
- ev.target.classList.contains('alert-button')) {
488
- return;
489
- }
490
- // Get all radios inside of the radio group and then
491
- // filter out disabled radios since we need to skip those
492
- const query = this.el.querySelectorAll('.alert-radio');
493
- const radios = Array.from(query).filter((radio) => !radio.disabled);
494
- // The focused radio is the one that shares the same id as
495
- // the event target
496
- const index = radios.findIndex((radio) => radio.id === ev.target.id);
497
- // We need to know what the next radio element should
498
- // be in order to change the focus
499
- let nextEl;
500
- // If hitting arrow down or arrow right, move to the next radio
501
- // If we're on the last radio, move to the first radio
502
- if (['ArrowDown', 'ArrowRight'].includes(ev.code)) {
503
- nextEl = index === radios.length - 1 ? radios[0] : radios[index + 1];
504
- }
505
- // If hitting arrow up or arrow left, move to the previous radio
506
- // If we're on the first radio, move to the last radio
507
- if (['ArrowUp', 'ArrowLeft'].includes(ev.code)) {
508
- nextEl = index === 0 ? radios[radios.length - 1] : radios[index - 1];
509
- }
510
- if (nextEl && radios.includes(nextEl)) {
511
- const nextProcessed = this.processedInputs.find((input) => input.id === (nextEl === null || nextEl === void 0 ? void 0 : nextEl.id));
512
- if (nextProcessed) {
513
- this.rbClick(nextProcessed);
514
- nextEl.focus();
515
- }
516
- }
517
- }
518
- buttonsChanged() {
519
- const buttons = this.buttons;
520
- this.processedButtons = buttons.map((btn) => {
521
- return typeof btn === 'string' ? { text: btn, role: btn.toLowerCase() === 'cancel' ? 'cancel' : undefined } : btn;
522
- });
523
- }
524
- inputsChanged() {
525
- const inputs = this.inputs;
526
- // Get the first input that is not disabled and the checked one
527
- // If an enabled checked input exists, set it to be the focusable input
528
- // otherwise we default to focus the first input
529
- // This will only be used when the input is type radio
530
- const first = inputs.find((input) => !input.disabled);
531
- const checked = inputs.find((input) => input.checked && !input.disabled);
532
- const focusable = checked || first;
533
- // An alert can be created with several different inputs. Radios,
534
- // checkboxes and inputs are all accepted, but they cannot be mixed.
535
- const inputTypes = new Set(inputs.map((i) => i.type));
536
- if (inputTypes.has('checkbox') && inputTypes.has('radio')) {
537
- console.warn(`Alert cannot mix input types: ${Array.from(inputTypes.values()).join('/')}. Please see alert docs for more info.`);
538
- }
539
- this.inputType = inputTypes.values().next().value;
540
- this.processedInputs = inputs.map((i, index) => ({
541
- type: i.type || 'text',
542
- name: i.name || `${index}`,
543
- placeholder: i.placeholder || '',
544
- value: i.value,
545
- label: i.label,
546
- checked: !!i.checked,
547
- disabled: !!i.disabled,
548
- id: i.id || `alert-input-${this.overlayIndex}-${index}`,
549
- handler: i.handler,
550
- min: i.min,
551
- max: i.max,
552
- cssClass: i.cssClass || '',
553
- attributes: i.attributes || {},
554
- tabindex: i.type === 'radio' && i !== focusable ? -1 : 0,
555
- }));
556
- }
557
- connectedCallback() {
558
- overlays.prepareOverlay(this.el);
559
- }
560
- componentWillLoad() {
561
- this.inputsChanged();
562
- this.buttonsChanged();
563
- }
564
- disconnectedCallback() {
565
- if (this.gesture) {
566
- this.gesture.destroy();
567
- this.gesture = undefined;
568
- }
569
- }
570
- componentDidLoad() {
571
- /**
572
- * Do not create gesture if:
573
- * 1. A gesture already exists
574
- * 2. App is running in MD mode
575
- * 3. A wrapper ref does not exist
576
- */
577
- if (this.gesture || ionicGlobal.getIonMode(this) === 'md' || !this.wrapperEl) {
578
- return;
579
- }
580
- this.gesture = createButtonActiveGesture(this.wrapperEl, (refEl) => refEl.classList.contains('alert-button'));
581
- this.gesture.enable(true);
582
- }
583
- /**
584
- * Present the alert overlay after it has been created.
585
- */
586
- present() {
587
- return overlays.present(this, 'alertEnter', iosEnterAnimation$1, mdEnterAnimation$1);
588
- }
589
- /**
590
- * Dismiss the alert overlay after it has been presented.
591
- *
592
- * @param data Any data to emit in the dismiss events.
593
- * @param role The role of the element that is dismissing the alert.
594
- * This can be useful in a button handler for determining which button was
595
- * clicked to dismiss the alert.
596
- * Some examples include: ``"cancel"`, `"destructive"`, "selected"`, and `"backdrop"`.
597
- */
598
- dismiss(data, role) {
599
- return overlays.dismiss(this, data, role, 'alertLeave', iosLeaveAnimation$1, mdLeaveAnimation$1);
600
- }
601
- /**
602
- * Returns a promise that resolves when the alert did dismiss.
603
- */
604
- onDidDismiss() {
605
- return overlays.eventMethod(this.el, 'ionAlertDidDismiss');
606
- }
607
- /**
608
- * Returns a promise that resolves when the alert will dismiss.
609
- */
610
- onWillDismiss() {
611
- return overlays.eventMethod(this.el, 'ionAlertWillDismiss');
612
- }
613
- rbClick(selectedInput) {
614
- for (const input of this.processedInputs) {
615
- input.checked = input === selectedInput;
616
- input.tabindex = input === selectedInput ? 0 : -1;
617
- }
618
- this.activeId = selectedInput.id;
619
- overlays.safeCall(selectedInput.handler, selectedInput);
620
- index$1.forceUpdate(this);
621
- }
622
- cbClick(selectedInput) {
623
- selectedInput.checked = !selectedInput.checked;
624
- overlays.safeCall(selectedInput.handler, selectedInput);
625
- index$1.forceUpdate(this);
626
- }
627
- buttonClick(button) {
628
- const role = button.role;
629
- const values = this.getValues();
630
- if (overlays.isCancel(role)) {
631
- return this.dismiss({ values }, role);
632
- }
633
- const returnData = this.callButtonHandler(button, values);
634
- if (returnData !== false) {
635
- return this.dismiss(Object.assign({ values }, returnData), button.role);
636
- }
637
- return Promise.resolve(false);
638
- }
639
- callButtonHandler(button, data) {
640
- if (button === null || button === void 0 ? void 0 : button.handler) {
641
- // a handler has been provided, execute it
642
- // pass the handler the values from the inputs
643
- const returnData = overlays.safeCall(button.handler, data);
644
- if (returnData === false) {
645
- // if the return value of the handler is false then do not dismiss
646
- return false;
647
- }
648
- if (typeof returnData === 'object') {
649
- return returnData;
650
- }
651
- }
652
- return {};
653
- }
654
- getValues() {
655
- if (this.processedInputs.length === 0) {
656
- // this is an alert without any options/inputs at all
657
- return undefined;
658
- }
659
- if (this.inputType === 'radio') {
660
- // this is an alert with radio buttons (single value select)
661
- // return the one value which is checked, otherwise undefined
662
- const checkedInput = this.processedInputs.find((i) => !!i.checked);
663
- return checkedInput ? checkedInput.value : undefined;
664
- }
665
- if (this.inputType === 'checkbox') {
666
- // this is an alert with checkboxes (multiple value select)
667
- // return an array of all the checked values
668
- return this.processedInputs.filter((i) => i.checked).map((i) => i.value);
669
- }
670
- // this is an alert with text inputs
671
- // return an object of all the values with the input name as the key
672
- const values = {};
673
- this.processedInputs.forEach((i) => {
674
- values[i.name] = i.value || '';
675
- });
676
- return values;
677
- }
678
- renderAlertInputs() {
679
- switch (this.inputType) {
680
- case 'checkbox':
681
- return this.renderCheckbox();
682
- case 'radio':
683
- return this.renderRadio();
684
- default:
685
- return this.renderInput();
686
- }
687
- }
688
- renderCheckbox() {
689
- const inputs = this.processedInputs;
690
- const mode = ionicGlobal.getIonMode(this);
691
- if (inputs.length === 0) {
692
- return null;
693
- }
694
- return (index$1.h("div", { class: "alert-checkbox-group" }, inputs.map((i) => (index$1.h("button", { type: "button", onClick: () => this.cbClick(i), "aria-checked": `${i.checked}`, id: i.id, disabled: i.disabled, tabIndex: i.tabindex, role: "checkbox", class: Object.assign(Object.assign({}, theme.getClassMap(i.cssClass)), { 'alert-tappable': true, 'alert-checkbox': true, 'alert-checkbox-button': true, 'ion-focusable': true, 'alert-checkbox-button-disabled': i.disabled || false }) }, index$1.h("div", { class: "alert-button-inner" }, index$1.h("div", { class: "alert-checkbox-icon" }, index$1.h("div", { class: "alert-checkbox-inner" })), index$1.h("div", { class: "alert-checkbox-label" }, i.label)), mode === 'md' && index$1.h("ion-ripple-effect", null))))));
695
- }
696
- renderRadio() {
697
- const inputs = this.processedInputs;
698
- if (inputs.length === 0) {
699
- return null;
700
- }
701
- return (index$1.h("div", { class: "alert-radio-group", role: "radiogroup", "aria-activedescendant": this.activeId }, inputs.map((i) => (index$1.h("button", { type: "button", onClick: () => this.rbClick(i), "aria-checked": `${i.checked}`, disabled: i.disabled, id: i.id, tabIndex: i.tabindex, class: Object.assign(Object.assign({}, theme.getClassMap(i.cssClass)), { 'alert-radio-button': true, 'alert-tappable': true, 'alert-radio': true, 'ion-focusable': true, 'alert-radio-button-disabled': i.disabled || false }), role: "radio" }, index$1.h("div", { class: "alert-button-inner" }, index$1.h("div", { class: "alert-radio-icon" }, index$1.h("div", { class: "alert-radio-inner" })), index$1.h("div", { class: "alert-radio-label" }, i.label)))))));
702
- }
703
- renderInput() {
704
- const inputs = this.processedInputs;
705
- if (inputs.length === 0) {
706
- return null;
707
- }
708
- return (index$1.h("div", { class: "alert-input-group" }, inputs.map((i) => {
709
- var _a, _b, _c, _d;
710
- if (i.type === 'textarea') {
711
- return (index$1.h("div", { class: "alert-input-wrapper" }, index$1.h("textarea", Object.assign({ placeholder: i.placeholder, value: i.value, id: i.id, tabIndex: i.tabindex }, i.attributes, { disabled: (_b = (_a = i.attributes) === null || _a === void 0 ? void 0 : _a.disabled) !== null && _b !== void 0 ? _b : i.disabled, class: inputClass(i), onInput: (e) => {
712
- var _a;
713
- i.value = e.target.value;
714
- if ((_a = i.attributes) === null || _a === void 0 ? void 0 : _a.onInput) {
715
- i.attributes.onInput(e);
716
- }
717
- } }))));
718
- }
719
- else {
720
- return (index$1.h("div", { class: "alert-input-wrapper" }, index$1.h("input", Object.assign({ placeholder: i.placeholder, type: i.type, min: i.min, max: i.max, value: i.value, id: i.id, tabIndex: i.tabindex }, i.attributes, { disabled: (_d = (_c = i.attributes) === null || _c === void 0 ? void 0 : _c.disabled) !== null && _d !== void 0 ? _d : i.disabled, class: inputClass(i), onInput: (e) => {
721
- var _a;
722
- i.value = e.target.value;
723
- if ((_a = i.attributes) === null || _a === void 0 ? void 0 : _a.onInput) {
724
- i.attributes.onInput(e);
725
- }
726
- } }))));
727
- }
728
- })));
729
- }
730
- renderAlertButtons() {
731
- const buttons = this.processedButtons;
732
- const mode = ionicGlobal.getIonMode(this);
733
- const alertButtonGroupClass = {
734
- 'alert-button-group': true,
735
- 'alert-button-group-vertical': buttons.length > 2,
736
- };
737
- return (index$1.h("div", { class: alertButtonGroupClass }, buttons.map((button) => (index$1.h("button", { type: "button", id: button.id, class: buttonClass(button), tabIndex: 0, onClick: () => this.buttonClick(button) }, index$1.h("span", { class: "alert-button-inner" }, button.text), mode === 'md' && index$1.h("ion-ripple-effect", null))))));
738
- }
739
- render() {
740
- const { overlayIndex, header, subHeader, message, htmlAttributes } = this;
741
- const mode = ionicGlobal.getIonMode(this);
742
- const hdrId = `alert-${overlayIndex}-hdr`;
743
- const subHdrId = `alert-${overlayIndex}-sub-hdr`;
744
- const msgId = `alert-${overlayIndex}-msg`;
745
- const role = this.inputs.length > 0 || this.buttons.length > 0 ? 'alertdialog' : 'alert';
746
- /**
747
- * If the header is defined, use that. Otherwise, fall back to the subHeader.
748
- * If neither is defined, don't set aria-labelledby.
749
- */
750
- const ariaLabelledBy = header ? hdrId : subHeader ? subHdrId : null;
751
- return (index$1.h(index$1.Host, Object.assign({ role: role, "aria-modal": "true", "aria-labelledby": ariaLabelledBy, "aria-describedby": message ? msgId : null, tabindex: "-1" }, htmlAttributes, { style: {
752
- zIndex: `${20000 + overlayIndex}`,
753
- }, class: Object.assign(Object.assign({}, theme.getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'alert-translucent': this.translucent }), onIonAlertWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }), index$1.h("ion-backdrop", { tappable: this.backdropDismiss }), index$1.h("div", { tabindex: "0" }), index$1.h("div", { class: "alert-wrapper ion-overlay-wrapper", ref: (el) => (this.wrapperEl = el) }, index$1.h("div", { class: "alert-head" }, header && (index$1.h("h2", { id: hdrId, class: "alert-title" }, header)), subHeader && (index$1.h("h2", { id: subHdrId, class: "alert-sub-title" }, subHeader))), index$1.h("div", { id: msgId, class: "alert-message", innerHTML: index$2.sanitizeDOMString(message) }), this.renderAlertInputs(), this.renderAlertButtons()), index$1.h("div", { tabindex: "0" })));
754
- }
755
- get el() { return index$1.getElement(this); }
756
- static get watchers() { return {
757
- "buttons": ["buttonsChanged"],
758
- "inputs": ["inputsChanged"]
759
- }; }
760
- };
761
- const inputClass = (input) => {
762
- var _a, _b, _c;
763
- return Object.assign(Object.assign({ 'alert-input': true, 'alert-input-disabled': ((_b = (_a = input.attributes) === null || _a === void 0 ? void 0 : _a.disabled) !== null && _b !== void 0 ? _b : input.disabled) || false }, theme.getClassMap(input.cssClass)), theme.getClassMap(input.attributes ? (_c = input.attributes.class) === null || _c === void 0 ? void 0 : _c.toString() : ''));
764
- };
765
- const buttonClass = (button) => {
766
- return Object.assign({ 'alert-button': true, 'ion-focusable': true, 'ion-activatable': true, [`alert-button-role-${button.role}`]: button.role !== undefined }, theme.getClassMap(button.cssClass));
767
- };
768
- Alert.style = {
769
- ios: alertIosCss,
770
- md: alertMdCss
771
- };
772
-
773
- const checkboxIosCss = ":host{--background-checked:var(--ion-color-primary, #3880ff);--border-color-checked:var(--ion-color-primary, #3880ff);--checkmark-color:var(--ion-color-primary-contrast, #fff);--checkmark-width:1;--transition:none;display:inline-block;position:relative;user-select:none;z-index:2}:host(.ion-color){--background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}label{left:0;top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;appearance:none;outline:none;display:flex;align-items:center;opacity:0}[dir=rtl] label,:host-context([dir=rtl]) label{left:unset;right:unset;right:0}label::-moz-focus-inner{border:0}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.checkbox-icon{border-radius:var(--border-radius);display:block;position:relative;width:100%;height:100%;transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);box-sizing:border-box}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}:host(.checkbox-checked) .checkbox-icon,:host(.checkbox-indeterminate) .checkbox-icon{border-color:var(--border-color-checked);background:var(--background-checked)}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{opacity:1}:host(.checkbox-disabled){pointer-events:none}:host{--border-radius:50%;--border-width:1px;--border-style:solid;--border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.23);--background:var(--ion-item-background, var(--ion-background-color, #fff));--size:26px;width:var(--size);height:var(--size)}:host(.checkbox-disabled){opacity:0.3}:host(.in-item){margin-left:0;margin-right:8px;margin-top:10px;margin-bottom:9px;display:block;position:static}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host(.in-item){margin-left:unset;margin-right:unset;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px}}:host(.in-item[slot=start]){margin-left:2px;margin-right:20px;margin-top:8px;margin-bottom:8px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host(.in-item[slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:20px;margin-inline-end:20px}}";
774
-
775
- const checkboxMdCss = ":host{--background-checked:var(--ion-color-primary, #3880ff);--border-color-checked:var(--ion-color-primary, #3880ff);--checkmark-color:var(--ion-color-primary-contrast, #fff);--checkmark-width:1;--transition:none;display:inline-block;position:relative;user-select:none;z-index:2}:host(.ion-color){--background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}label{left:0;top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;appearance:none;outline:none;display:flex;align-items:center;opacity:0}[dir=rtl] label,:host-context([dir=rtl]) label{left:unset;right:unset;right:0}label::-moz-focus-inner{border:0}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.checkbox-icon{border-radius:var(--border-radius);display:block;position:relative;width:100%;height:100%;transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);box-sizing:border-box}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}:host(.checkbox-checked) .checkbox-icon,:host(.checkbox-indeterminate) .checkbox-icon{border-color:var(--border-color-checked);background:var(--background-checked)}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{opacity:1}:host(.checkbox-disabled){pointer-events:none}:host{--border-radius:calc(var(--size) * .125);--border-width:2px;--border-style:solid;--border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.51);--checkmark-width:3;--background:var(--ion-item-background, var(--ion-background-color, #fff));--transition:background 180ms cubic-bezier(0.4, 0, 0.2, 1);--size:18px;width:var(--size);height:var(--size)}.checkbox-icon path{stroke-dasharray:30;stroke-dashoffset:30}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{stroke-dashoffset:0;transition:stroke-dashoffset 90ms linear 90ms}:host(.checkbox-disabled){opacity:0.3}:host(.in-item){margin-left:0;margin-right:0;margin-top:18px;margin-bottom:18px;display:block;position:static}:host(.in-item[slot=start]){margin-left:4px;margin-right:36px;margin-top:18px;margin-bottom:18px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host(.in-item[slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:36px;margin-inline-end:36px}}";
776
-
777
- const Checkbox = class {
778
- constructor(hostRef) {
779
- index$1.registerInstance(this, hostRef);
780
- this.ionChange = index$1.createEvent(this, "ionChange", 7);
781
- this.ionFocus = index$1.createEvent(this, "ionFocus", 7);
782
- this.ionBlur = index$1.createEvent(this, "ionBlur", 7);
783
- this.ionStyle = index$1.createEvent(this, "ionStyle", 7);
784
- this.inputId = `ion-cb-${checkboxIds++}`;
785
- /**
786
- * The name of the control, which is submitted with the form data.
787
- */
788
- this.name = this.inputId;
789
- /**
790
- * If `true`, the checkbox is selected.
791
- */
792
- this.checked = false;
793
- /**
794
- * If `true`, the checkbox will visually appear as indeterminate.
795
- */
796
- this.indeterminate = false;
797
- /**
798
- * If `true`, the user cannot interact with the checkbox.
799
- */
800
- this.disabled = false;
801
- /**
802
- * The value of the checkbox does not mean if it's checked or not, use the `checked`
803
- * property for that.
804
- *
805
- * The value of a checkbox is analogous to the value of an `<input type="checkbox">`,
806
- * it's only used when the checkbox participates in a native `<form>`.
807
- */
808
- this.value = 'on';
809
- this.onClick = (ev) => {
810
- ev.preventDefault();
811
- this.setFocus();
812
- this.checked = !this.checked;
813
- this.indeterminate = false;
814
- };
815
- this.onFocus = () => {
816
- this.ionFocus.emit();
817
- };
818
- this.onBlur = () => {
819
- this.ionBlur.emit();
820
- };
821
- }
822
- componentWillLoad() {
823
- this.emitStyle();
824
- }
825
- checkedChanged(isChecked) {
826
- this.ionChange.emit({
827
- checked: isChecked,
828
- value: this.value,
829
- });
830
- this.emitStyle();
831
- }
832
- disabledChanged() {
833
- this.emitStyle();
834
- }
835
- emitStyle() {
836
- this.ionStyle.emit({
837
- 'checkbox-checked': this.checked,
838
- 'interactive-disabled': this.disabled,
839
- });
840
- }
841
- setFocus() {
842
- if (this.focusEl) {
843
- this.focusEl.focus();
844
- }
845
- }
846
- render() {
847
- const { color, checked, disabled, el, indeterminate, inputId, name, value } = this;
848
- const mode = ionicGlobal.getIonMode(this);
849
- const { label, labelId, labelText } = helpers.getAriaLabel(el, inputId);
850
- helpers.renderHiddenInput(true, el, name, checked ? value : '', disabled);
851
- let path = indeterminate ? (index$1.h("path", { d: "M6 12L18 12", part: "mark" })) : (index$1.h("path", { d: "M5.9,12.5l3.8,3.8l8.8-8.8", part: "mark" }));
852
- if (mode === 'md') {
853
- path = indeterminate ? (index$1.h("path", { d: "M2 12H22", part: "mark" })) : (index$1.h("path", { d: "M1.73,12.91 8.1,19.28 22.79,4.59", part: "mark" }));
854
- }
855
- return (index$1.h(index$1.Host, { onClick: this.onClick, "aria-labelledby": label ? labelId : null, "aria-checked": `${checked}`, "aria-hidden": disabled ? 'true' : null, role: "checkbox", class: theme.createColorClasses(color, {
856
- [mode]: true,
857
- 'in-item': theme.hostContext('ion-item', el),
858
- 'checkbox-checked': checked,
859
- 'checkbox-disabled': disabled,
860
- 'checkbox-indeterminate': indeterminate,
861
- interactive: true,
862
- }) }, index$1.h("svg", { class: "checkbox-icon", viewBox: "0 0 24 24", part: "container" }, path), index$1.h("label", { htmlFor: inputId }, labelText), index$1.h("input", { type: "checkbox", "aria-checked": `${checked}`, disabled: disabled, id: inputId, onFocus: () => this.onFocus(), onBlur: () => this.onBlur(), ref: (focusEl) => (this.focusEl = focusEl) })));
863
- }
864
- get el() { return index$1.getElement(this); }
865
- static get watchers() { return {
866
- "checked": ["checkedChanged"],
867
- "disabled": ["disabledChanged"]
868
- }; }
869
- };
870
- let checkboxIds = 0;
871
- Checkbox.style = {
872
- ios: checkboxIosCss,
873
- md: checkboxMdCss
874
- };
875
-
876
- const listHeaderIosCss = ":host{--border-style:solid;--border-width:0;--inner-border-width:0;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:flex;align-items:center;justify-content:space-between;width:100%;min-height:40px;border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);color:var(--color);overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}.list-header-inner{display:flex;position:relative;flex:1;flex-direction:inherit;align-items:inherit;align-self:stretch;min-height:inherit;border-width:var(--inner-border-width);border-style:var(--border-style);border-color:var(--border-color);overflow:inherit;box-sizing:border-box}::slotted(ion-label){flex:1 1 auto}:host(.list-header-lines-inset),:host(.list-header-lines-none){--border-width:0}:host(.list-header-lines-full),:host(.list-header-lines-none){--inner-border-width:0}:host{--background:transparent;--color:var(--ion-color-step-850, #262626);--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));padding-left:calc(var(--ion-safe-area-left, 0px) + 20px);position:relative;align-items:flex-end;font-size:22px;font-weight:700;letter-spacing:0}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host{padding-left:unset;-webkit-padding-start:calc(var(--ion-safe-area-left, 0px) + 20px);padding-inline-start:calc(var(--ion-safe-area-left, 0px) + 20px)}}::slotted(ion-button),::slotted(ion-label){margin-top:29px;margin-bottom:6px}::slotted(ion-button){margin-left:3px;margin-right:3px;height:1.4em}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){::slotted(ion-button){margin-left:unset;margin-right:unset;-webkit-margin-start:3px;margin-inline-start:3px;-webkit-margin-end:3px;margin-inline-end:3px}}:host(.list-header-lines-full){--border-width:0 0 0.55px 0}:host(.list-header-lines-inset){--inner-border-width:0 0 0.55px 0}";
877
-
878
- const listHeaderMdCss = ":host{--border-style:solid;--border-width:0;--inner-border-width:0;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:flex;align-items:center;justify-content:space-between;width:100%;min-height:40px;border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);color:var(--color);overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}.list-header-inner{display:flex;position:relative;flex:1;flex-direction:inherit;align-items:inherit;align-self:stretch;min-height:inherit;border-width:var(--inner-border-width);border-style:var(--border-style);border-color:var(--border-color);overflow:inherit;box-sizing:border-box}::slotted(ion-label){flex:1 1 auto}:host(.list-header-lines-inset),:host(.list-header-lines-none){--border-width:0}:host(.list-header-lines-full),:host(.list-header-lines-none){--inner-border-width:0}:host{--background:transparent;--color:var(--ion-text-color, #000);--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));padding-left:calc(var(--ion-safe-area-left, 0) + 16px);min-height:45px;font-size:14px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host{padding-left:unset;-webkit-padding-start:calc(var(--ion-safe-area-left, 0) + 16px);padding-inline-start:calc(var(--ion-safe-area-left, 0) + 16px)}}:host(.list-header-lines-full){--border-width:0 0 1px 0}:host(.list-header-lines-inset){--inner-border-width:0 0 1px 0}";
879
-
880
- const ListHeader = class {
881
- constructor(hostRef) {
882
- index$1.registerInstance(this, hostRef);
883
- }
884
- render() {
885
- const { lines } = this;
886
- const mode = ionicGlobal.getIonMode(this);
887
- return (index$1.h(index$1.Host, { class: theme.createColorClasses(this.color, {
888
- [mode]: true,
889
- [`list-header-lines-${lines}`]: lines !== undefined,
890
- }) }, index$1.h("div", { class: "list-header-inner" }, index$1.h("slot", null))));
891
- }
892
- };
893
- ListHeader.style = {
894
- ios: listHeaderIosCss,
895
- md: listHeaderMdCss
896
- };
897
-
898
- /*!
899
- * (C) Ionic http://ionicframework.com - MIT License
900
- */
901
- /**
902
- * Returns the dimensions of the popover
903
- * arrow on `ios` mode. If arrow is disabled
904
- * returns (0, 0).
905
- */
906
- const getArrowDimensions = (arrowEl) => {
907
- if (!arrowEl) {
908
- return { arrowWidth: 0, arrowHeight: 0 };
909
- }
910
- const { width, height } = arrowEl.getBoundingClientRect();
911
- return { arrowWidth: width, arrowHeight: height };
912
- };
913
- /**
914
- * Returns the recommended dimensions of the popover
915
- * that takes into account whether or not the width
916
- * should match the trigger width.
917
- */
918
- const getPopoverDimensions = (size, contentEl, triggerEl) => {
919
- const contentDimentions = contentEl.getBoundingClientRect();
920
- const contentHeight = contentDimentions.height;
921
- let contentWidth = contentDimentions.width;
922
- if (size === 'cover' && triggerEl) {
923
- const triggerDimensions = triggerEl.getBoundingClientRect();
924
- contentWidth = triggerDimensions.width;
925
- }
926
- return {
927
- contentWidth,
928
- contentHeight,
929
- };
930
- };
931
- const configureDismissInteraction = (triggerEl, triggerAction, popoverEl, parentPopoverEl) => {
932
- let dismissCallbacks = [];
933
- const root = helpers.getElementRoot(parentPopoverEl);
934
- const parentContentEl = root.querySelector('.popover-content');
935
- switch (triggerAction) {
936
- case 'hover':
937
- dismissCallbacks = [
938
- {
939
- /**
940
- * Do not use mouseover here
941
- * as this will causes the event to
942
- * be dispatched on each underlying
943
- * element rather than on the popover
944
- * content as a whole.
945
- */
946
- eventName: 'mouseenter',
947
- callback: (ev) => {
948
- /**
949
- * Do not dismiss the popover is we
950
- * are hovering over its trigger.
951
- * This would be easier if we used mouseover
952
- * but this would cause the event to be dispatched
953
- * more often than we would like, potentially
954
- * causing performance issues.
955
- */
956
- const element = document.elementFromPoint(ev.clientX, ev.clientY);
957
- if (element === triggerEl) {
958
- return;
959
- }
960
- popoverEl.dismiss(undefined, undefined, false);
961
- },
962
- },
963
- ];
964
- break;
965
- case 'context-menu':
966
- case 'click':
967
- default:
968
- dismissCallbacks = [
969
- {
970
- eventName: 'click',
971
- callback: (ev) => {
972
- /**
973
- * Do not dismiss the popover is we
974
- * are hovering over its trigger.
975
- */
976
- const target = ev.target;
977
- const closestTrigger = target.closest('[data-ion-popover-trigger]');
978
- if (closestTrigger === triggerEl) {
979
- /**
980
- * stopPropagation here so if the
981
- * popover has dismissOnSelect="true"
982
- * the popover does not dismiss since
983
- * we just clicked a trigger element.
984
- */
985
- ev.stopPropagation();
986
- return;
987
- }
988
- popoverEl.dismiss(undefined, undefined, false);
989
- },
990
- },
991
- ];
992
- break;
993
- }
994
- dismissCallbacks.forEach(({ eventName, callback }) => parentContentEl.addEventListener(eventName, callback));
995
- return () => {
996
- dismissCallbacks.forEach(({ eventName, callback }) => parentContentEl.removeEventListener(eventName, callback));
997
- };
998
- };
999
- /**
1000
- * Configures the triggerEl to respond
1001
- * to user interaction based upon the triggerAction
1002
- * prop that devs have defined.
1003
- */
1004
- const configureTriggerInteraction = (triggerEl, triggerAction, popoverEl) => {
1005
- let triggerCallbacks = [];
1006
- /**
1007
- * Based upon the kind of trigger interaction
1008
- * the user wants, we setup the correct event
1009
- * listeners.
1010
- */
1011
- switch (triggerAction) {
1012
- case 'hover':
1013
- let hoverTimeout;
1014
- triggerCallbacks = [
1015
- {
1016
- eventName: 'mouseenter',
1017
- callback: async (ev) => {
1018
- ev.stopPropagation();
1019
- if (hoverTimeout) {
1020
- clearTimeout(hoverTimeout);
1021
- }
1022
- /**
1023
- * Hovering over a trigger should not
1024
- * immediately open the next popover.
1025
- */
1026
- hoverTimeout = setTimeout(() => {
1027
- helpers.raf(() => {
1028
- popoverEl.presentFromTrigger(ev);
1029
- hoverTimeout = undefined;
1030
- });
1031
- }, 100);
1032
- },
1033
- },
1034
- {
1035
- eventName: 'mouseleave',
1036
- callback: (ev) => {
1037
- if (hoverTimeout) {
1038
- clearTimeout(hoverTimeout);
1039
- }
1040
- /**
1041
- * If mouse is over another popover
1042
- * that is not this popover then we should
1043
- * close this popover.
1044
- */
1045
- const target = ev.relatedTarget;
1046
- if (!target) {
1047
- return;
1048
- }
1049
- if (target.closest('ion-popover') !== popoverEl) {
1050
- popoverEl.dismiss(undefined, undefined, false);
1051
- }
1052
- },
1053
- },
1054
- {
1055
- /**
1056
- * stopPropagation here prevents the popover
1057
- * from dismissing when dismiss-on-select="true".
1058
- */
1059
- eventName: 'click',
1060
- callback: (ev) => ev.stopPropagation(),
1061
- },
1062
- {
1063
- eventName: 'ionPopoverActivateTrigger',
1064
- callback: (ev) => popoverEl.presentFromTrigger(ev, true),
1065
- },
1066
- ];
1067
- break;
1068
- case 'context-menu':
1069
- triggerCallbacks = [
1070
- {
1071
- eventName: 'contextmenu',
1072
- callback: (ev) => {
1073
- /**
1074
- * Prevents the platform context
1075
- * menu from appearing.
1076
- */
1077
- ev.preventDefault();
1078
- popoverEl.presentFromTrigger(ev);
1079
- },
1080
- },
1081
- {
1082
- eventName: 'click',
1083
- callback: (ev) => ev.stopPropagation(),
1084
- },
1085
- {
1086
- eventName: 'ionPopoverActivateTrigger',
1087
- callback: (ev) => popoverEl.presentFromTrigger(ev, true),
1088
- },
1089
- ];
1090
- break;
1091
- case 'click':
1092
- default:
1093
- triggerCallbacks = [
1094
- {
1095
- /**
1096
- * Do not do a stopPropagation() here
1097
- * because if you had two click triggers
1098
- * then clicking the first trigger and then
1099
- * clicking the second trigger would not cause
1100
- * the first popover to dismiss.
1101
- */
1102
- eventName: 'click',
1103
- callback: (ev) => popoverEl.presentFromTrigger(ev),
1104
- },
1105
- {
1106
- eventName: 'ionPopoverActivateTrigger',
1107
- callback: (ev) => popoverEl.presentFromTrigger(ev, true),
1108
- },
1109
- ];
1110
- break;
1111
- }
1112
- triggerCallbacks.forEach(({ eventName, callback }) => triggerEl.addEventListener(eventName, callback));
1113
- triggerEl.setAttribute('data-ion-popover-trigger', 'true');
1114
- return () => {
1115
- triggerCallbacks.forEach(({ eventName, callback }) => triggerEl.removeEventListener(eventName, callback));
1116
- triggerEl.removeAttribute('data-ion-popover-trigger');
1117
- };
1118
- };
1119
- /**
1120
- * Returns the index of an ion-item in an array of ion-items.
1121
- */
1122
- const getIndexOfItem = (items, item) => {
1123
- if (!item || item.tagName !== 'ION-ITEM') {
1124
- return -1;
1125
- }
1126
- return items.findIndex((el) => el === item);
1127
- };
1128
- /**
1129
- * Given an array of elements and a currently focused ion-item
1130
- * returns the next ion-item relative to the focused one or
1131
- * undefined.
1132
- */
1133
- const getNextItem = (items, currentItem) => {
1134
- const currentItemIndex = getIndexOfItem(items, currentItem);
1135
- return items[currentItemIndex + 1];
1136
- };
1137
- /**
1138
- * Given an array of elements and a currently focused ion-item
1139
- * returns the previous ion-item relative to the focused one or
1140
- * undefined.
1141
- */
1142
- const getPrevItem = (items, currentItem) => {
1143
- const currentItemIndex = getIndexOfItem(items, currentItem);
1144
- return items[currentItemIndex - 1];
1145
- };
1146
- /** Focus the internal button of the ion-item */
1147
- const focusItem = (item) => {
1148
- const root = helpers.getElementRoot(item);
1149
- const button = root.querySelector('button');
1150
- if (button) {
1151
- helpers.raf(() => button.focus());
1152
- }
1153
- };
1154
- /**
1155
- * Returns `true` if `el` has been designated
1156
- * as a trigger element for an ion-popover.
1157
- */
1158
- const isTriggerElement = (el) => el.hasAttribute('data-ion-popover-trigger');
1159
- const configureKeyboardInteraction = (popoverEl) => {
1160
- const callback = async (ev) => {
1161
- var _a;
1162
- const activeElement = document.activeElement;
1163
- let items = [];
1164
- const targetTagName = (_a = ev.target) === null || _a === void 0 ? void 0 : _a.tagName;
1165
- /**
1166
- * Only handle custom keyboard interactions for the host popover element
1167
- * and children ion-item elements.
1168
- */
1169
- if (targetTagName !== 'ION-POPOVER' && targetTagName !== 'ION-ITEM') {
1170
- return;
1171
- }
1172
- /**
1173
- * Complex selectors with :not() are :not supported
1174
- * in older versions of Chromium so we need to do a
1175
- * try/catch here so errors are not thrown.
1176
- */
1177
- try {
1178
- /**
1179
- * Select all ion-items that are not children of child popovers.
1180
- * i.e. only select ion-item elements that are part of this popover
1181
- */
1182
- items = Array.from(popoverEl.querySelectorAll('ion-item:not(ion-popover ion-popover *):not([disabled])'));
1183
- /* eslint-disable-next-line */
1184
- }
1185
- catch (_b) { }
1186
- switch (ev.key) {
1187
- /**
1188
- * If we are in a child popover
1189
- * then pressing the left arrow key
1190
- * should close this popover and move
1191
- * focus to the popover that presented
1192
- * this one.
1193
- */
1194
- case 'ArrowLeft':
1195
- const parentPopover = await popoverEl.getParentPopover();
1196
- if (parentPopover) {
1197
- popoverEl.dismiss(undefined, undefined, false);
1198
- }
1199
- break;
1200
- /**
1201
- * ArrowDown should move focus to the next focusable ion-item.
1202
- */
1203
- case 'ArrowDown':
1204
- // Disable movement/scroll with keyboard
1205
- ev.preventDefault();
1206
- const nextItem = getNextItem(items, activeElement);
1207
- if (nextItem !== undefined) {
1208
- focusItem(nextItem);
1209
- }
1210
- break;
1211
- /**
1212
- * ArrowUp should move focus to the previous focusable ion-item.
1213
- */
1214
- case 'ArrowUp':
1215
- // Disable movement/scroll with keyboard
1216
- ev.preventDefault();
1217
- const prevItem = getPrevItem(items, activeElement);
1218
- if (prevItem !== undefined) {
1219
- focusItem(prevItem);
1220
- }
1221
- break;
1222
- /**
1223
- * Home should move focus to the first focusable ion-item.
1224
- */
1225
- case 'Home':
1226
- ev.preventDefault();
1227
- const firstItem = items[0];
1228
- if (firstItem !== undefined) {
1229
- focusItem(firstItem);
1230
- }
1231
- break;
1232
- /**
1233
- * End should move focus to the last focusable ion-item.
1234
- */
1235
- case 'End':
1236
- ev.preventDefault();
1237
- const lastItem = items[items.length - 1];
1238
- if (lastItem !== undefined) {
1239
- focusItem(lastItem);
1240
- }
1241
- break;
1242
- /**
1243
- * ArrowRight, Spacebar, or Enter should activate
1244
- * the currently focused trigger item to open a
1245
- * popover if the element is a trigger item.
1246
- */
1247
- case 'ArrowRight':
1248
- case ' ':
1249
- case 'Enter':
1250
- if (activeElement && isTriggerElement(activeElement)) {
1251
- const rightEvent = new CustomEvent('ionPopoverActivateTrigger');
1252
- activeElement.dispatchEvent(rightEvent);
1253
- }
1254
- break;
1255
- }
1256
- };
1257
- popoverEl.addEventListener('keydown', callback);
1258
- return () => popoverEl.removeEventListener('keydown', callback);
1259
- };
1260
- /**
1261
- * Positions a popover by taking into account
1262
- * the reference point, preferred side, alignment
1263
- * and viewport dimensions.
1264
- */
1265
- const getPopoverPosition = (isRTL, contentWidth, contentHeight, arrowWidth, arrowHeight, reference, side, align, defaultPosition, triggerEl, event) => {
1266
- var _a;
1267
- let referenceCoordinates = {
1268
- top: 0,
1269
- left: 0,
1270
- width: 0,
1271
- height: 0,
1272
- };
1273
- /**
1274
- * Calculate position relative to the
1275
- * x-y coordinates in the event that
1276
- * was passed in
1277
- */
1278
- switch (reference) {
1279
- case 'event':
1280
- if (!event) {
1281
- return defaultPosition;
1282
- }
1283
- const mouseEv = event;
1284
- referenceCoordinates = {
1285
- top: mouseEv.clientY,
1286
- left: mouseEv.clientX,
1287
- width: 1,
1288
- height: 1,
1289
- };
1290
- break;
1291
- /**
1292
- * Calculate position relative to the bounding
1293
- * box on either the trigger element
1294
- * specified via the `trigger` prop or
1295
- * the target specified on the event
1296
- * that was passed in.
1297
- */
1298
- case 'trigger':
1299
- default:
1300
- const customEv = event;
1301
- /**
1302
- * ionShadowTarget is used when we need to align the
1303
- * popover with an element inside of the shadow root
1304
- * of an Ionic component. Ex: Presenting a popover
1305
- * by clicking on the collapsed indicator inside
1306
- * of `ion-breadcrumb` and centering it relative
1307
- * to the indicator rather than `ion-breadcrumb`
1308
- * as a whole.
1309
- */
1310
- const actualTriggerEl = (triggerEl ||
1311
- ((_a = customEv === null || customEv === void 0 ? void 0 : customEv.detail) === null || _a === void 0 ? void 0 : _a.ionShadowTarget) ||
1312
- (customEv === null || customEv === void 0 ? void 0 : customEv.target));
1313
- if (!actualTriggerEl) {
1314
- return defaultPosition;
1315
- }
1316
- const triggerBoundingBox = actualTriggerEl.getBoundingClientRect();
1317
- referenceCoordinates = {
1318
- top: triggerBoundingBox.top,
1319
- left: triggerBoundingBox.left,
1320
- width: triggerBoundingBox.width,
1321
- height: triggerBoundingBox.height,
1322
- };
1323
- break;
1324
- }
1325
- /**
1326
- * Get top/left offset that would allow
1327
- * popover to be positioned on the
1328
- * preferred side of the reference.
1329
- */
1330
- const coordinates = calculatePopoverSide(side, referenceCoordinates, contentWidth, contentHeight, arrowWidth, arrowHeight, isRTL);
1331
- /**
1332
- * Get the top/left adjustments that
1333
- * would allow the popover content
1334
- * to have the correct alignment.
1335
- */
1336
- const alignedCoordinates = calculatePopoverAlign(align, side, referenceCoordinates, contentWidth, contentHeight);
1337
- const top = coordinates.top + alignedCoordinates.top;
1338
- const left = coordinates.left + alignedCoordinates.left;
1339
- const { arrowTop, arrowLeft } = calculateArrowPosition(side, arrowWidth, arrowHeight, top, left, contentWidth, contentHeight, isRTL);
1340
- const { originX, originY } = calculatePopoverOrigin(side, align, isRTL);
1341
- return { top, left, referenceCoordinates, arrowTop, arrowLeft, originX, originY };
1342
- };
1343
- /**
1344
- * Determines the transform-origin
1345
- * of the popover animation so that it
1346
- * is in line with what the side and alignment
1347
- * prop values are. Currently only used
1348
- * with the MD animation.
1349
- */
1350
- const calculatePopoverOrigin = (side, align, isRTL) => {
1351
- switch (side) {
1352
- case 'top':
1353
- return { originX: getOriginXAlignment(align), originY: 'bottom' };
1354
- case 'bottom':
1355
- return { originX: getOriginXAlignment(align), originY: 'top' };
1356
- case 'left':
1357
- return { originX: 'right', originY: getOriginYAlignment(align) };
1358
- case 'right':
1359
- return { originX: 'left', originY: getOriginYAlignment(align) };
1360
- case 'start':
1361
- return { originX: isRTL ? 'left' : 'right', originY: getOriginYAlignment(align) };
1362
- case 'end':
1363
- return { originX: isRTL ? 'right' : 'left', originY: getOriginYAlignment(align) };
1364
- }
1365
- };
1366
- const getOriginXAlignment = (align) => {
1367
- switch (align) {
1368
- case 'start':
1369
- return 'left';
1370
- case 'center':
1371
- return 'center';
1372
- case 'end':
1373
- return 'right';
1374
- }
1375
- };
1376
- const getOriginYAlignment = (align) => {
1377
- switch (align) {
1378
- case 'start':
1379
- return 'top';
1380
- case 'center':
1381
- return 'center';
1382
- case 'end':
1383
- return 'bottom';
1384
- }
1385
- };
1386
- /**
1387
- * Calculates where the arrow positioning
1388
- * should be relative to the popover content.
1389
- */
1390
- const calculateArrowPosition = (side, arrowWidth, arrowHeight, top, left, contentWidth, contentHeight, isRTL) => {
1391
- /**
1392
- * Note: When side is left, right, start, or end, the arrow is
1393
- * been rotated using a `transform`, so to move the arrow up or down
1394
- * by its dimension, you need to use `arrowWidth`.
1395
- */
1396
- const leftPosition = {
1397
- arrowTop: top + contentHeight / 2 - arrowWidth / 2,
1398
- arrowLeft: left + contentWidth - arrowWidth / 2,
1399
- };
1400
- /**
1401
- * Move the arrow to the left by arrowWidth and then
1402
- * again by half of its width because we have rotated
1403
- * the arrow using a transform.
1404
- */
1405
- const rightPosition = { arrowTop: top + contentHeight / 2 - arrowWidth / 2, arrowLeft: left - arrowWidth * 1.5 };
1406
- switch (side) {
1407
- case 'top':
1408
- return { arrowTop: top + contentHeight, arrowLeft: left + contentWidth / 2 - arrowWidth / 2 };
1409
- case 'bottom':
1410
- return { arrowTop: top - arrowHeight, arrowLeft: left + contentWidth / 2 - arrowWidth / 2 };
1411
- case 'left':
1412
- return leftPosition;
1413
- case 'right':
1414
- return rightPosition;
1415
- case 'start':
1416
- return isRTL ? rightPosition : leftPosition;
1417
- case 'end':
1418
- return isRTL ? leftPosition : rightPosition;
1419
- default:
1420
- return { arrowTop: 0, arrowLeft: 0 };
1421
- }
1422
- };
1423
- /**
1424
- * Calculates the required top/left
1425
- * values needed to position the popover
1426
- * content on the side specified in the
1427
- * `side` prop.
1428
- */
1429
- const calculatePopoverSide = (side, triggerBoundingBox, contentWidth, contentHeight, arrowWidth, arrowHeight, isRTL) => {
1430
- const sideLeft = {
1431
- top: triggerBoundingBox.top,
1432
- left: triggerBoundingBox.left - contentWidth - arrowWidth,
1433
- };
1434
- const sideRight = {
1435
- top: triggerBoundingBox.top,
1436
- left: triggerBoundingBox.left + triggerBoundingBox.width + arrowWidth,
1437
- };
1438
- switch (side) {
1439
- case 'top':
1440
- return {
1441
- top: triggerBoundingBox.top - contentHeight - arrowHeight,
1442
- left: triggerBoundingBox.left,
1443
- };
1444
- case 'right':
1445
- return sideRight;
1446
- case 'bottom':
1447
- return {
1448
- top: triggerBoundingBox.top + triggerBoundingBox.height + arrowHeight,
1449
- left: triggerBoundingBox.left,
1450
- };
1451
- case 'left':
1452
- return sideLeft;
1453
- case 'start':
1454
- return isRTL ? sideRight : sideLeft;
1455
- case 'end':
1456
- return isRTL ? sideLeft : sideRight;
1457
- }
1458
- };
1459
- /**
1460
- * Calculates the required top/left
1461
- * offset values needed to provide the
1462
- * correct alignment regardless while taking
1463
- * into account the side the popover is on.
1464
- */
1465
- const calculatePopoverAlign = (align, side, triggerBoundingBox, contentWidth, contentHeight) => {
1466
- switch (align) {
1467
- case 'center':
1468
- return calculatePopoverCenterAlign(side, triggerBoundingBox, contentWidth, contentHeight);
1469
- case 'end':
1470
- return calculatePopoverEndAlign(side, triggerBoundingBox, contentWidth, contentHeight);
1471
- case 'start':
1472
- default:
1473
- return { top: 0, left: 0 };
1474
- }
1475
- };
1476
- /**
1477
- * Calculate the end alignment for
1478
- * the popover. If side is on the x-axis
1479
- * then the align values refer to the top
1480
- * and bottom margins of the content.
1481
- * If side is on the y-axis then the
1482
- * align values refer to the left and right
1483
- * margins of the content.
1484
- */
1485
- const calculatePopoverEndAlign = (side, triggerBoundingBox, contentWidth, contentHeight) => {
1486
- switch (side) {
1487
- case 'start':
1488
- case 'end':
1489
- case 'left':
1490
- case 'right':
1491
- return {
1492
- top: -(contentHeight - triggerBoundingBox.height),
1493
- left: 0,
1494
- };
1495
- case 'top':
1496
- case 'bottom':
1497
- default:
1498
- return {
1499
- top: 0,
1500
- left: -(contentWidth - triggerBoundingBox.width),
1501
- };
1502
- }
1503
- };
1504
- /**
1505
- * Calculate the center alignment for
1506
- * the popover. If side is on the x-axis
1507
- * then the align values refer to the top
1508
- * and bottom margins of the content.
1509
- * If side is on the y-axis then the
1510
- * align values refer to the left and right
1511
- * margins of the content.
1512
- */
1513
- const calculatePopoverCenterAlign = (side, triggerBoundingBox, contentWidth, contentHeight) => {
1514
- switch (side) {
1515
- case 'start':
1516
- case 'end':
1517
- case 'left':
1518
- case 'right':
1519
- return {
1520
- top: -(contentHeight / 2 - triggerBoundingBox.height / 2),
1521
- left: 0,
1522
- };
1523
- case 'top':
1524
- case 'bottom':
1525
- default:
1526
- return {
1527
- top: 0,
1528
- left: -(contentWidth / 2 - triggerBoundingBox.width / 2),
1529
- };
1530
- }
1531
- };
1532
- /**
1533
- * Adjusts popover positioning coordinates
1534
- * such that popover does not appear offscreen
1535
- * or overlapping safe area bounds.
1536
- */
1537
- const calculateWindowAdjustment = (side, coordTop, coordLeft, bodyPadding, bodyWidth, bodyHeight, contentWidth, contentHeight, safeAreaMargin, contentOriginX, contentOriginY, triggerCoordinates, coordArrowTop = 0, coordArrowLeft = 0, arrowHeight = 0) => {
1538
- let arrowTop = coordArrowTop;
1539
- const arrowLeft = coordArrowLeft;
1540
- let left = coordLeft;
1541
- let top = coordTop;
1542
- let bottom;
1543
- let originX = contentOriginX;
1544
- let originY = contentOriginY;
1545
- let checkSafeAreaLeft = false;
1546
- let checkSafeAreaRight = false;
1547
- const triggerTop = triggerCoordinates
1548
- ? triggerCoordinates.top + triggerCoordinates.height
1549
- : bodyHeight / 2 - contentHeight / 2;
1550
- const triggerHeight = triggerCoordinates ? triggerCoordinates.height : 0;
1551
- let addPopoverBottomClass = false;
1552
- /**
1553
- * Adjust popover so it does not
1554
- * go off the left of the screen.
1555
- */
1556
- if (left < bodyPadding + safeAreaMargin) {
1557
- left = bodyPadding;
1558
- checkSafeAreaLeft = true;
1559
- originX = 'left';
1560
- /**
1561
- * Adjust popover so it does not
1562
- * go off the right of the screen.
1563
- */
1564
- }
1565
- else if (contentWidth + bodyPadding + left + safeAreaMargin > bodyWidth) {
1566
- checkSafeAreaRight = true;
1567
- left = bodyWidth - contentWidth - bodyPadding;
1568
- originX = 'right';
1569
- }
1570
- /**
1571
- * Adjust popover so it does not
1572
- * go off the top of the screen.
1573
- * If popover is on the left or the right of
1574
- * the trigger, then we should not adjust top
1575
- * margins.
1576
- */
1577
- if (triggerTop + triggerHeight + contentHeight > bodyHeight && (side === 'top' || side === 'bottom')) {
1578
- if (triggerTop - contentHeight > 0) {
1579
- /**
1580
- * While we strive to align the popover with the trigger
1581
- * on smaller screens this is not always possible. As a result,
1582
- * we adjust the popover up so that it does not hang
1583
- * off the bottom of the screen. However, we do not want to move
1584
- * the popover up so much that it goes off the top of the screen.
1585
- *
1586
- * We chose 12 here so that the popover position looks a bit nicer as
1587
- * it is not right up against the edge of the screen.
1588
- */
1589
- top = Math.max(12, triggerTop - contentHeight - triggerHeight - (arrowHeight - 1));
1590
- arrowTop = top + contentHeight;
1591
- originY = 'bottom';
1592
- addPopoverBottomClass = true;
1593
- /**
1594
- * If not enough room for popover to appear
1595
- * above trigger, then cut it off.
1596
- */
1597
- }
1598
- else {
1599
- bottom = bodyPadding;
1600
- }
1601
- }
1602
- return {
1603
- top,
1604
- left,
1605
- bottom,
1606
- originX,
1607
- originY,
1608
- checkSafeAreaLeft,
1609
- checkSafeAreaRight,
1610
- arrowTop,
1611
- arrowLeft,
1612
- addPopoverBottomClass,
1613
- };
1614
- };
1615
- const shouldShowArrow = (side, didAdjustBounds = false, ev, trigger) => {
1616
- /**
1617
- * If no event provided and
1618
- * we do not have a trigger,
1619
- * then this popover was likely
1620
- * presented via the popoverController
1621
- * or users called `present` manually.
1622
- * In this case, the arrow should not be
1623
- * shown as we do not have a reference.
1624
- */
1625
- if (!ev && !trigger) {
1626
- return false;
1627
- }
1628
- /**
1629
- * If popover is on the left or the right
1630
- * of a trigger, but we needed to adjust the
1631
- * popover due to screen bounds, then we should
1632
- * hide the arrow as it will never be pointing
1633
- * at the trigger.
1634
- */
1635
- if (side !== 'top' && side !== 'bottom' && didAdjustBounds) {
1636
- return false;
1637
- }
1638
- return true;
1639
- };
1640
-
1641
- /*!
1642
- * (C) Ionic http://ionicframework.com - MIT License
1643
- */
1644
- const POPOVER_IOS_BODY_PADDING = 5;
1645
- /**
1646
- * iOS Popover Enter Animation
1647
- */
1648
- const iosEnterAnimation = (baseEl, opts) => {
1649
- var _a;
1650
- const { event: ev, size, trigger, reference, side, align } = opts;
1651
- const doc = baseEl.ownerDocument;
1652
- const isRTL = doc.dir === 'rtl';
1653
- const bodyWidth = doc.defaultView.innerWidth;
1654
- const bodyHeight = doc.defaultView.innerHeight;
1655
- const root = helpers.getElementRoot(baseEl);
1656
- const contentEl = root.querySelector('.popover-content');
1657
- const arrowEl = root.querySelector('.popover-arrow');
1658
- const referenceSizeEl = trigger || ((_a = ev === null || ev === void 0 ? void 0 : ev.detail) === null || _a === void 0 ? void 0 : _a.ionShadowTarget) || (ev === null || ev === void 0 ? void 0 : ev.target);
1659
- const { contentWidth, contentHeight } = getPopoverDimensions(size, contentEl, referenceSizeEl);
1660
- const { arrowWidth, arrowHeight } = getArrowDimensions(arrowEl);
1661
- const defaultPosition = {
1662
- top: bodyHeight / 2 - contentHeight / 2,
1663
- left: bodyWidth / 2 - contentWidth / 2,
1664
- originX: isRTL ? 'right' : 'left',
1665
- originY: 'top',
1666
- };
1667
- const results = getPopoverPosition(isRTL, contentWidth, contentHeight, arrowWidth, arrowHeight, reference, side, align, defaultPosition, trigger, ev);
1668
- const padding = size === 'cover' ? 0 : POPOVER_IOS_BODY_PADDING;
1669
- const margin = size === 'cover' ? 0 : 25;
1670
- const { originX, originY, top, left, bottom, checkSafeAreaLeft, checkSafeAreaRight, arrowTop, arrowLeft, addPopoverBottomClass, } = calculateWindowAdjustment(side, results.top, results.left, padding, bodyWidth, bodyHeight, contentWidth, contentHeight, margin, results.originX, results.originY, results.referenceCoordinates, results.arrowTop, results.arrowLeft, arrowHeight);
1671
- const baseAnimation = animation.createAnimation();
1672
- const backdropAnimation = animation.createAnimation();
1673
- const wrapperAnimation = animation.createAnimation();
1674
- backdropAnimation
1675
- .addElement(root.querySelector('ion-backdrop'))
1676
- .fromTo('opacity', 0.01, 'var(--backdrop-opacity)')
1677
- .beforeStyles({
1678
- 'pointer-events': 'none',
1679
- })
1680
- .afterClearStyles(['pointer-events']);
1681
- wrapperAnimation.addElement(root.querySelector('.popover-wrapper')).fromTo('opacity', 0.01, 1);
1682
- return baseAnimation
1683
- .easing('ease')
1684
- .duration(100)
1685
- .beforeAddWrite(() => {
1686
- if (size === 'cover') {
1687
- baseEl.style.setProperty('--width', `${contentWidth}px`);
1688
- }
1689
- if (addPopoverBottomClass) {
1690
- baseEl.classList.add('popover-bottom');
1691
- }
1692
- if (bottom !== undefined) {
1693
- contentEl.style.setProperty('bottom', `${bottom}px`);
1694
- }
1695
- const safeAreaLeft = ' + var(--ion-safe-area-left, 0)';
1696
- const safeAreaRight = ' - var(--ion-safe-area-right, 0)';
1697
- let leftValue = `${left}px`;
1698
- if (checkSafeAreaLeft) {
1699
- leftValue = `${left}px${safeAreaLeft}`;
1700
- }
1701
- if (checkSafeAreaRight) {
1702
- leftValue = `${left}px${safeAreaRight}`;
1703
- }
1704
- contentEl.style.setProperty('top', `calc(${top}px + var(--offset-y, 0))`);
1705
- contentEl.style.setProperty('left', `calc(${leftValue} + var(--offset-x, 0))`);
1706
- contentEl.style.setProperty('transform-origin', `${originY} ${originX}`);
1707
- if (arrowEl !== null) {
1708
- const didAdjustBounds = results.top !== top || results.left !== left;
1709
- const showArrow = shouldShowArrow(side, didAdjustBounds, ev, trigger);
1710
- if (showArrow) {
1711
- arrowEl.style.setProperty('top', `calc(${arrowTop}px + var(--offset-y, 0))`);
1712
- arrowEl.style.setProperty('left', `calc(${arrowLeft}px + var(--offset-x, 0))`);
1713
- }
1714
- else {
1715
- arrowEl.style.setProperty('display', 'none');
1716
- }
1717
- }
1718
- })
1719
- .addAnimation([backdropAnimation, wrapperAnimation]);
1720
- };
1721
-
1722
- /*!
1723
- * (C) Ionic http://ionicframework.com - MIT License
1724
- */
1725
- /**
1726
- * iOS Popover Leave Animation
1727
- */
1728
- const iosLeaveAnimation = (baseEl) => {
1729
- const root = helpers.getElementRoot(baseEl);
1730
- const contentEl = root.querySelector('.popover-content');
1731
- const arrowEl = root.querySelector('.popover-arrow');
1732
- const baseAnimation = animation.createAnimation();
1733
- const backdropAnimation = animation.createAnimation();
1734
- const wrapperAnimation = animation.createAnimation();
1735
- backdropAnimation.addElement(root.querySelector('ion-backdrop')).fromTo('opacity', 'var(--backdrop-opacity)', 0);
1736
- wrapperAnimation.addElement(root.querySelector('.popover-wrapper')).fromTo('opacity', 0.99, 0);
1737
- return baseAnimation
1738
- .easing('ease')
1739
- .afterAddWrite(() => {
1740
- baseEl.style.removeProperty('--width');
1741
- baseEl.classList.remove('popover-bottom');
1742
- contentEl.style.removeProperty('top');
1743
- contentEl.style.removeProperty('left');
1744
- contentEl.style.removeProperty('bottom');
1745
- contentEl.style.removeProperty('transform-origin');
1746
- if (arrowEl) {
1747
- arrowEl.style.removeProperty('top');
1748
- arrowEl.style.removeProperty('left');
1749
- arrowEl.style.removeProperty('display');
1750
- }
1751
- })
1752
- .duration(300)
1753
- .addAnimation([backdropAnimation, wrapperAnimation]);
1754
- };
1755
-
1756
- /*!
1757
- * (C) Ionic http://ionicframework.com - MIT License
1758
- */
1759
- const POPOVER_MD_BODY_PADDING = 12;
1760
- /**
1761
- * Md Popover Enter Animation
1762
- */
1763
- const mdEnterAnimation = (baseEl, opts) => {
1764
- var _a;
1765
- const { event: ev, size, trigger, reference, side, align } = opts;
1766
- const doc = baseEl.ownerDocument;
1767
- const isRTL = doc.dir === 'rtl';
1768
- const bodyWidth = doc.defaultView.innerWidth;
1769
- const bodyHeight = doc.defaultView.innerHeight;
1770
- const root = helpers.getElementRoot(baseEl);
1771
- const contentEl = root.querySelector('.popover-content');
1772
- const referenceSizeEl = trigger || ((_a = ev === null || ev === void 0 ? void 0 : ev.detail) === null || _a === void 0 ? void 0 : _a.ionShadowTarget) || (ev === null || ev === void 0 ? void 0 : ev.target);
1773
- const { contentWidth, contentHeight } = getPopoverDimensions(size, contentEl, referenceSizeEl);
1774
- const defaultPosition = {
1775
- top: bodyHeight / 2 - contentHeight / 2,
1776
- left: bodyWidth / 2 - contentWidth / 2,
1777
- originX: isRTL ? 'right' : 'left',
1778
- originY: 'top',
1779
- };
1780
- const results = getPopoverPosition(isRTL, contentWidth, contentHeight, 0, 0, reference, side, align, defaultPosition, trigger, ev);
1781
- const padding = size === 'cover' ? 0 : POPOVER_MD_BODY_PADDING;
1782
- const { originX, originY, top, left, bottom } = calculateWindowAdjustment(side, results.top, results.left, padding, bodyWidth, bodyHeight, contentWidth, contentHeight, 0, results.originX, results.originY, results.referenceCoordinates);
1783
- const baseAnimation = animation.createAnimation();
1784
- const backdropAnimation = animation.createAnimation();
1785
- const wrapperAnimation = animation.createAnimation();
1786
- const contentAnimation = animation.createAnimation();
1787
- const viewportAnimation = animation.createAnimation();
1788
- backdropAnimation
1789
- .addElement(root.querySelector('ion-backdrop'))
1790
- .fromTo('opacity', 0.01, 'var(--backdrop-opacity)')
1791
- .beforeStyles({
1792
- 'pointer-events': 'none',
1793
- })
1794
- .afterClearStyles(['pointer-events']);
1795
- wrapperAnimation.addElement(root.querySelector('.popover-wrapper')).duration(150).fromTo('opacity', 0.01, 1);
1796
- contentAnimation
1797
- .addElement(contentEl)
1798
- .beforeStyles({
1799
- top: `calc(${top}px + var(--offset-y, 0px))`,
1800
- left: `calc(${left}px + var(--offset-x, 0px))`,
1801
- 'transform-origin': `${originY} ${originX}`,
1802
- })
1803
- .beforeAddWrite(() => {
1804
- if (bottom !== undefined) {
1805
- contentEl.style.setProperty('bottom', `${bottom}px`);
1806
- }
1807
- })
1808
- .fromTo('transform', 'scale(0.8)', 'scale(1)');
1809
- viewportAnimation.addElement(root.querySelector('.popover-viewport')).fromTo('opacity', 0.01, 1);
1810
- return baseAnimation
1811
- .easing('cubic-bezier(0.36,0.66,0.04,1)')
1812
- .duration(300)
1813
- .beforeAddWrite(() => {
1814
- if (size === 'cover') {
1815
- baseEl.style.setProperty('--width', `${contentWidth}px`);
1816
- }
1817
- if (originY === 'bottom') {
1818
- baseEl.classList.add('popover-bottom');
1819
- }
1820
- })
1821
- .addAnimation([backdropAnimation, wrapperAnimation, contentAnimation, viewportAnimation]);
1822
- };
1823
-
1824
- /*!
1825
- * (C) Ionic http://ionicframework.com - MIT License
1826
- */
1827
- /**
1828
- * Md Popover Leave Animation
1829
- */
1830
- const mdLeaveAnimation = (baseEl) => {
1831
- const root = helpers.getElementRoot(baseEl);
1832
- const contentEl = root.querySelector('.popover-content');
1833
- const baseAnimation = animation.createAnimation();
1834
- const backdropAnimation = animation.createAnimation();
1835
- const wrapperAnimation = animation.createAnimation();
1836
- backdropAnimation.addElement(root.querySelector('ion-backdrop')).fromTo('opacity', 'var(--backdrop-opacity)', 0);
1837
- wrapperAnimation.addElement(root.querySelector('.popover-wrapper')).fromTo('opacity', 0.99, 0);
1838
- return baseAnimation
1839
- .easing('ease')
1840
- .afterAddWrite(() => {
1841
- baseEl.style.removeProperty('--width');
1842
- baseEl.classList.remove('popover-bottom');
1843
- contentEl.style.removeProperty('top');
1844
- contentEl.style.removeProperty('left');
1845
- contentEl.style.removeProperty('bottom');
1846
- contentEl.style.removeProperty('transform-origin');
1847
- })
1848
- .duration(150)
1849
- .addAnimation([backdropAnimation, wrapperAnimation]);
1850
- };
1851
-
1852
- const popoverIosCss = ":host{--background:var(--ion-background-color, #fff);--min-width:0;--min-height:0;--max-width:auto;--height:auto;--offset-x:0px;--offset-y:0px;left:0;right:0;top:0;bottom:0;display:flex;position:fixed;align-items:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);z-index:1001}:host(.popover-nested){pointer-events:none}:host(.popover-nested) .popover-wrapper{pointer-events:auto}:host(.overlay-hidden){display:none}.popover-wrapper{opacity:0;z-index:10}.popover-content{display:flex;position:absolute;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);box-shadow:var(--box-shadow);overflow:auto;z-index:10}.popover-viewport{--ion-safe-area-top:0px;--ion-safe-area-right:0px;--ion-safe-area-bottom:0px;--ion-safe-area-left:0px;display:flex;flex-direction:column;overflow:hidden}:host(.popover-nested.popover-side-left){--offset-x:5px}:host(.popover-nested.popover-side-right){--offset-x:-5px}:host(.popover-nested.popover-side-start){--offset-x:5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-start),:host-context([dir=rtl]).popover-nested.popover-side-start{--offset-x:-5px}:host(.popover-nested.popover-side-end){--offset-x:-5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-end),:host-context([dir=rtl]).popover-nested.popover-side-end{--offset-x:5px}:host{--width:200px;--max-height:90%;--box-shadow:none;--backdrop-opacity:var(--ion-backdrop-opacity, 0.08)}:host(.popover-desktop){--box-shadow:0px 4px 16px 0px rgba(0, 0, 0, 0.12)}.popover-content{border-radius:10px}:host(.popover-desktop) .popover-content{border:0.5px solid var(--ion-color-step-100, #e6e6e6)}.popover-arrow{display:block;position:absolute;width:20px;height:10px;overflow:hidden}.popover-arrow::after{left:3px;top:3px;border-radius:3px;position:absolute;width:14px;height:14px;transform:rotate(45deg);background:var(--background);content:\"\";z-index:10}[dir=rtl] .popover-arrow::after,:host-context([dir=rtl]) .popover-arrow::after{left:unset;right:unset;right:3px}:host(.popover-bottom) .popover-arrow{top:auto;bottom:-10px}:host(.popover-bottom) .popover-arrow::after{top:-6px}:host(.popover-side-left) .popover-arrow{transform:rotate(90deg)}:host(.popover-side-right) .popover-arrow{transform:rotate(-90deg)}:host(.popover-side-top) .popover-arrow{transform:rotate(180deg)}:host(.popover-side-start) .popover-arrow{transform:rotate(90deg)}:host-context([dir=rtl]):host(.popover-side-start) .popover-arrow,:host-context([dir=rtl]).popover-side-start .popover-arrow{transform:rotate(-90deg)}:host(.popover-side-end) .popover-arrow{transform:rotate(-90deg)}:host-context([dir=rtl]):host(.popover-side-end) .popover-arrow,:host-context([dir=rtl]).popover-side-end .popover-arrow{transform:rotate(90deg)}@supports (backdrop-filter: blur(0)){:host(.popover-translucent) .popover-content,:host(.popover-translucent) .popover-arrow::after{background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);backdrop-filter:saturate(180%) blur(20px)}}";
1853
-
1854
- const popoverMdCss = ":host{--background:var(--ion-background-color, #fff);--min-width:0;--min-height:0;--max-width:auto;--height:auto;--offset-x:0px;--offset-y:0px;left:0;right:0;top:0;bottom:0;display:flex;position:fixed;align-items:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);z-index:1001}:host(.popover-nested){pointer-events:none}:host(.popover-nested) .popover-wrapper{pointer-events:auto}:host(.overlay-hidden){display:none}.popover-wrapper{opacity:0;z-index:10}.popover-content{display:flex;position:absolute;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);box-shadow:var(--box-shadow);overflow:auto;z-index:10}.popover-viewport{--ion-safe-area-top:0px;--ion-safe-area-right:0px;--ion-safe-area-bottom:0px;--ion-safe-area-left:0px;display:flex;flex-direction:column;overflow:hidden}:host(.popover-nested.popover-side-left){--offset-x:5px}:host(.popover-nested.popover-side-right){--offset-x:-5px}:host(.popover-nested.popover-side-start){--offset-x:5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-start),:host-context([dir=rtl]).popover-nested.popover-side-start{--offset-x:-5px}:host(.popover-nested.popover-side-end){--offset-x:-5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-end),:host-context([dir=rtl]).popover-nested.popover-side-end{--offset-x:5px}:host{--width:250px;--max-height:90%;--box-shadow:0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}.popover-content{border-radius:4px;transform-origin:left top}[dir=rtl] .popover-content,:host-context([dir=rtl]) .popover-content{transform-origin:right top}.popover-viewport{transition-delay:100ms}";
1855
-
1856
- const Popover = class {
1857
- constructor(hostRef) {
1858
- index$1.registerInstance(this, hostRef);
1859
- this.didPresent = index$1.createEvent(this, "ionPopoverDidPresent", 7);
1860
- this.willPresent = index$1.createEvent(this, "ionPopoverWillPresent", 7);
1861
- this.willDismiss = index$1.createEvent(this, "ionPopoverWillDismiss", 7);
1862
- this.didDismiss = index$1.createEvent(this, "ionPopoverDidDismiss", 7);
1863
- this.didPresentShorthand = index$1.createEvent(this, "didPresent", 7);
1864
- this.willPresentShorthand = index$1.createEvent(this, "willPresent", 7);
1865
- this.willDismissShorthand = index$1.createEvent(this, "willDismiss", 7);
1866
- this.didDismissShorthand = index$1.createEvent(this, "didDismiss", 7);
1867
- this.parentPopover = null;
1868
- this.popoverIndex = popoverIds++;
1869
- this.coreDelegate = frameworkDelegate.CoreDelegate();
1870
- this.inline = false;
1871
- this.focusDescendantOnPresent = false;
1872
- this.presented = false;
1873
- /** @internal */
1874
- this.hasController = false;
1875
- /**
1876
- * If `true`, the keyboard will be automatically dismissed when the overlay is presented.
1877
- */
1878
- this.keyboardClose = true;
1879
- /**
1880
- * If `true`, the popover will be dismissed when the backdrop is clicked.
1881
- */
1882
- this.backdropDismiss = true;
1883
- /**
1884
- * If `true`, a backdrop will be displayed behind the popover.
1885
- * This property controls whether or not the backdrop
1886
- * darkens the screen when the popover is presented.
1887
- * It does not control whether or not the backdrop
1888
- * is active or present in the DOM.
1889
- */
1890
- this.showBackdrop = true;
1891
- /**
1892
- * If `true`, the popover will be translucent.
1893
- * Only applies when the mode is `"ios"` and the device supports
1894
- * [`backdrop-filter`](https://developer.mozilla.org/en-US/docs/Web/CSS/backdrop-filter#Browser_compatibility).
1895
- */
1896
- this.translucent = false;
1897
- /**
1898
- * If `true`, the popover will animate.
1899
- */
1900
- this.animated = true;
1901
- /**
1902
- * Describes what kind of interaction with the trigger that
1903
- * should cause the popover to open. Does not apply when the `trigger`
1904
- * property is `undefined`.
1905
- * If `'click'`, the popover will be presented when the trigger is left clicked.
1906
- * If `'hover'`, the popover will be presented when a pointer hovers over the trigger.
1907
- * If `'context-menu'`, the popover will be presented when the trigger is right
1908
- * clicked on desktop and long pressed on mobile. This will also prevent your
1909
- * device's normal context menu from appearing.
1910
- */
1911
- this.triggerAction = 'click';
1912
- /**
1913
- * Describes how to calculate the popover width.
1914
- * If `'cover'`, the popover width will match the width of the trigger.
1915
- * If `'auto'`, the popover width will be determined by the content in
1916
- * the popover.
1917
- */
1918
- this.size = 'auto';
1919
- /**
1920
- * If `true`, the popover will be automatically
1921
- * dismissed when the content has been clicked.
1922
- */
1923
- this.dismissOnSelect = false;
1924
- /**
1925
- * Describes what to position the popover relative to.
1926
- * If `'trigger'`, the popover will be positioned relative
1927
- * to the trigger button. If passing in an event, this is
1928
- * determined via event.target.
1929
- * If `'event'`, the popover will be positioned relative
1930
- * to the x/y coordinates of the trigger action. If passing
1931
- * in an event, this is determined via event.clientX and event.clientY.
1932
- */
1933
- this.reference = 'trigger';
1934
- /**
1935
- * Describes which side of the `reference` point to position
1936
- * the popover on. The `'start'` and `'end'` values are RTL-aware,
1937
- * and the `'left'` and `'right'` values are not.
1938
- */
1939
- this.side = 'bottom';
1940
- /**
1941
- * If `true`, the popover will display an arrow that points at the
1942
- * `reference` when running in `ios` mode. Does not apply in `md` mode.
1943
- */
1944
- this.arrow = true;
1945
- /**
1946
- * If `true`, the popover will open. If `false`, the popover will close.
1947
- * Use this if you need finer grained control over presentation, otherwise
1948
- * just use the popoverController or the `trigger` property.
1949
- * Note: `isOpen` will not automatically be set back to `false` when
1950
- * the popover dismisses. You will need to do that in your code.
1951
- */
1952
- this.isOpen = false;
1953
- /**
1954
- * @internal
1955
- *
1956
- * If `true` the popover will not register its own keyboard event handlers.
1957
- * This allows the contents of the popover to handle their own keyboard interactions.
1958
- *
1959
- * If `false`, the popover will register its own keyboard event handlers for
1960
- * navigating `ion-list` items within a popover (up/down/home/end/etc.).
1961
- * This will also cancel browser keyboard event bindings to prevent scroll
1962
- * behavior in a popover using a list of items.
1963
- */
1964
- this.keyboardEvents = false;
1965
- /**
1966
- * If `true`, the component passed into `ion-popover` will
1967
- * automatically be mounted when the popover is created. The
1968
- * component will remain mounted even when the popover is dismissed.
1969
- * However, the component will be destroyed when the popover is
1970
- * destroyed. This property is not reactive and should only be
1971
- * used when initially creating a popover.
1972
- *
1973
- * Note: This feature only applies to inline popovers in JavaScript
1974
- * frameworks such as Angular, React, and Vue.
1975
- */
1976
- this.keepContentsMounted = false;
1977
- this.onBackdropTap = () => {
1978
- this.dismiss(undefined, overlays.BACKDROP);
1979
- };
1980
- this.onLifecycle = (modalEvent) => {
1981
- const el = this.usersElement;
1982
- const name = LIFECYCLE_MAP[modalEvent.type];
1983
- if (el && name) {
1984
- const event = new CustomEvent(name, {
1985
- bubbles: false,
1986
- cancelable: false,
1987
- detail: modalEvent.detail,
1988
- });
1989
- el.dispatchEvent(event);
1990
- }
1991
- };
1992
- this.configureTriggerInteraction = () => {
1993
- const { trigger, triggerAction, el, destroyTriggerInteraction } = this;
1994
- if (destroyTriggerInteraction) {
1995
- destroyTriggerInteraction();
1996
- }
1997
- const triggerEl = (this.triggerEl = trigger !== undefined ? document.getElementById(trigger) : null);
1998
- if (!triggerEl) {
1999
- return;
2000
- }
2001
- this.destroyTriggerInteraction = configureTriggerInteraction(triggerEl, triggerAction, el);
2002
- };
2003
- this.configureKeyboardInteraction = () => {
2004
- const { destroyKeyboardInteraction, el } = this;
2005
- if (destroyKeyboardInteraction) {
2006
- destroyKeyboardInteraction();
2007
- }
2008
- this.destroyKeyboardInteraction = configureKeyboardInteraction(el);
2009
- };
2010
- this.configureDismissInteraction = () => {
2011
- const { destroyDismissInteraction, parentPopover, triggerAction, triggerEl, el } = this;
2012
- if (!parentPopover || !triggerEl) {
2013
- return;
2014
- }
2015
- if (destroyDismissInteraction) {
2016
- destroyDismissInteraction();
2017
- }
2018
- this.destroyDismissInteraction = configureDismissInteraction(triggerEl, triggerAction, el, parentPopover);
2019
- };
2020
- }
2021
- onTriggerChange() {
2022
- this.configureTriggerInteraction();
2023
- }
2024
- onIsOpenChange(newValue, oldValue) {
2025
- if (newValue === true && oldValue === false) {
2026
- this.present();
2027
- }
2028
- else if (newValue === false && oldValue === true) {
2029
- this.dismiss();
2030
- }
2031
- }
2032
- connectedCallback() {
2033
- overlays.prepareOverlay(this.el);
2034
- }
2035
- componentWillLoad() {
2036
- /**
2037
- * If user has custom ID set then we should
2038
- * not assign the default incrementing ID.
2039
- */
2040
- this.popoverId = this.el.hasAttribute('id') ? this.el.getAttribute('id') : `ion-popover-${this.popoverIndex}`;
2041
- this.parentPopover = this.el.closest(`ion-popover:not(#${this.popoverId})`);
2042
- if (this.alignment === undefined) {
2043
- this.alignment = ionicGlobal.getIonMode(this) === 'ios' ? 'center' : 'start';
2044
- }
2045
- }
2046
- componentDidLoad() {
2047
- const { parentPopover, isOpen } = this;
2048
- /**
2049
- * If popover was rendered with isOpen="true"
2050
- * then we should open popover immediately.
2051
- */
2052
- if (isOpen === true) {
2053
- helpers.raf(() => this.present());
2054
- }
2055
- if (parentPopover) {
2056
- helpers.addEventListener(parentPopover, 'ionPopoverWillDismiss', () => {
2057
- this.dismiss(undefined, undefined, false);
2058
- });
2059
- }
2060
- this.configureTriggerInteraction();
2061
- }
2062
- /**
2063
- * When opening a popover from a trigger, we should not be
2064
- * modifying the `event` prop from inside the component.
2065
- * Additionally, when pressing the "Right" arrow key, we need
2066
- * to shift focus to the first descendant in the newly presented
2067
- * popover.
2068
- *
2069
- * @internal
2070
- */
2071
- async presentFromTrigger(event, focusDescendant = false) {
2072
- this.focusDescendantOnPresent = focusDescendant;
2073
- await this.present(event);
2074
- this.focusDescendantOnPresent = false;
2075
- }
2076
- /**
2077
- * Determines whether or not an overlay
2078
- * is being used inline or via a controller/JS
2079
- * and returns the correct delegate.
2080
- * By default, subsequent calls to getDelegate
2081
- * will use a cached version of the delegate.
2082
- * This is useful for calling dismiss after
2083
- * present so that the correct delegate is given.
2084
- */
2085
- getDelegate(force = false) {
2086
- if (this.workingDelegate && !force) {
2087
- return {
2088
- delegate: this.workingDelegate,
2089
- inline: this.inline,
2090
- };
2091
- }
2092
- /**
2093
- * If using overlay inline
2094
- * we potentially need to use the coreDelegate
2095
- * so that this works in vanilla JS apps.
2096
- * If a developer has presented this component
2097
- * via a controller, then we can assume
2098
- * the component is already in the
2099
- * correct place.
2100
- */
2101
- const parentEl = this.el.parentNode;
2102
- const inline = (this.inline = parentEl !== null && !this.hasController);
2103
- const delegate = (this.workingDelegate = inline ? this.delegate || this.coreDelegate : this.delegate);
2104
- return { inline, delegate };
2105
- }
2106
- /**
2107
- * Present the popover overlay after it has been created.
2108
- * Developers can pass a mouse, touch, or pointer event
2109
- * to position the popover relative to where that event
2110
- * was dispatched.
2111
- */
2112
- async present(event) {
2113
- if (this.presented) {
2114
- return;
2115
- }
2116
- /**
2117
- * When using an inline popover
2118
- * and dismissing a popover it is possible to
2119
- * quickly present the popover while it is
2120
- * dismissing. We need to await any current
2121
- * transition to allow the dismiss to finish
2122
- * before presenting again.
2123
- */
2124
- if (this.currentTransition !== undefined) {
2125
- await this.currentTransition;
2126
- }
2127
- const data = Object.assign(Object.assign({}, this.componentProps), { popover: this.el });
2128
- const { inline, delegate } = this.getDelegate(true);
2129
- this.usersElement = await frameworkDelegate.attachComponent(delegate, this.el, this.component, ['popover-viewport'], data, inline);
2130
- await index$3.deepReady(this.usersElement);
2131
- if (!this.keyboardEvents) {
2132
- this.configureKeyboardInteraction();
2133
- }
2134
- this.configureDismissInteraction();
2135
- this.currentTransition = overlays.present(this, 'popoverEnter', iosEnterAnimation, mdEnterAnimation, {
2136
- event: event || this.event,
2137
- size: this.size,
2138
- trigger: this.triggerEl,
2139
- reference: this.reference,
2140
- side: this.side,
2141
- align: this.alignment,
2142
- });
2143
- await this.currentTransition;
2144
- this.currentTransition = undefined;
2145
- /**
2146
- * If popover is nested and was
2147
- * presented using the "Right" arrow key,
2148
- * we need to move focus to the first
2149
- * descendant inside of the popover.
2150
- */
2151
- if (this.focusDescendantOnPresent) {
2152
- overlays.focusFirstDescendant(this.el, this.el);
2153
- }
2154
- }
2155
- /**
2156
- * Dismiss the popover overlay after it has been presented.
2157
- *
2158
- * @param data Any data to emit in the dismiss events.
2159
- * @param role The role of the element that is dismissing the popover. For example, 'cancel' or 'backdrop'.
2160
- * @param dismissParentPopover If `true`, dismissing this popover will also dismiss
2161
- * a parent popover if this popover is nested. Defaults to `true`.
2162
- */
2163
- async dismiss(data, role, dismissParentPopover = true) {
2164
- /**
2165
- * When using an inline popover
2166
- * and presenting a popover it is possible to
2167
- * quickly dismiss the popover while it is
2168
- * presenting. We need to await any current
2169
- * transition to allow the present to finish
2170
- * before dismissing again.
2171
- */
2172
- if (this.currentTransition !== undefined) {
2173
- await this.currentTransition;
2174
- }
2175
- const { destroyKeyboardInteraction, destroyDismissInteraction } = this;
2176
- if (dismissParentPopover && this.parentPopover) {
2177
- this.parentPopover.dismiss(data, role, dismissParentPopover);
2178
- }
2179
- this.currentTransition = overlays.dismiss(this, data, role, 'popoverLeave', iosLeaveAnimation, mdLeaveAnimation, this.event);
2180
- const shouldDismiss = await this.currentTransition;
2181
- if (shouldDismiss) {
2182
- if (destroyKeyboardInteraction) {
2183
- destroyKeyboardInteraction();
2184
- this.destroyKeyboardInteraction = undefined;
2185
- }
2186
- if (destroyDismissInteraction) {
2187
- destroyDismissInteraction();
2188
- this.destroyDismissInteraction = undefined;
2189
- }
2190
- /**
2191
- * If using popover inline
2192
- * we potentially need to use the coreDelegate
2193
- * so that this works in vanilla JS apps
2194
- */
2195
- const { delegate } = this.getDelegate();
2196
- await frameworkDelegate.detachComponent(delegate, this.usersElement);
2197
- }
2198
- this.currentTransition = undefined;
2199
- return shouldDismiss;
2200
- }
2201
- /**
2202
- * @internal
2203
- */
2204
- async getParentPopover() {
2205
- return this.parentPopover;
2206
- }
2207
- /**
2208
- * Returns a promise that resolves when the popover did dismiss.
2209
- */
2210
- onDidDismiss() {
2211
- return overlays.eventMethod(this.el, 'ionPopoverDidDismiss');
2212
- }
2213
- /**
2214
- * Returns a promise that resolves when the popover will dismiss.
2215
- */
2216
- onWillDismiss() {
2217
- return overlays.eventMethod(this.el, 'ionPopoverWillDismiss');
2218
- }
2219
- render() {
2220
- const mode = ionicGlobal.getIonMode(this);
2221
- const { onLifecycle, popoverId, parentPopover, dismissOnSelect, side, arrow, htmlAttributes } = this;
2222
- const desktop = ionicGlobal.isPlatform('desktop');
2223
- const enableArrow = arrow && !parentPopover;
2224
- return (index$1.h(index$1.Host, Object.assign({ "aria-modal": "true", "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
2225
- zIndex: `${20000 + this.overlayIndex}`,
2226
- }, id: popoverId, class: Object.assign(Object.assign({}, theme.getClassMap(this.cssClass)), { [mode]: true, 'popover-translucent': this.translucent, 'overlay-hidden': true, 'popover-desktop': desktop, [`popover-side-${side}`]: true, 'popover-nested': !!parentPopover }), onIonPopoverDidPresent: onLifecycle, onIonPopoverWillPresent: onLifecycle, onIonPopoverWillDismiss: onLifecycle, onIonPopoverDidDismiss: onLifecycle, onIonBackdropTap: this.onBackdropTap }), !parentPopover && index$1.h("ion-backdrop", { tappable: this.backdropDismiss, visible: this.showBackdrop, part: "backdrop" }), index$1.h("div", { class: "popover-wrapper ion-overlay-wrapper", onClick: dismissOnSelect ? () => this.dismiss() : undefined }, enableArrow && index$1.h("div", { class: "popover-arrow", part: "arrow" }), index$1.h("div", { class: "popover-content", part: "content" }, index$1.h("slot", null)))));
2227
- }
2228
- get el() { return index$1.getElement(this); }
2229
- static get watchers() { return {
2230
- "trigger": ["onTriggerChange"],
2231
- "triggerAction": ["onTriggerChange"],
2232
- "isOpen": ["onIsOpenChange"]
2233
- }; }
2234
- };
2235
- const LIFECYCLE_MAP = {
2236
- ionPopoverDidPresent: 'ionViewDidEnter',
2237
- ionPopoverWillPresent: 'ionViewWillEnter',
2238
- ionPopoverWillDismiss: 'ionViewWillLeave',
2239
- ionPopoverDidDismiss: 'ionViewDidLeave',
2240
- };
2241
- let popoverIds = 0;
2242
- Popover.style = {
2243
- ios: popoverIosCss,
2244
- md: popoverMdCss
2245
- };
2246
-
2247
- const radioIosCss = ":host{--inner-border-radius:50%;display:inline-block;position:relative;box-sizing:border-box;user-select:none;z-index:2}:host(.radio-disabled){pointer-events:none}.radio-icon{display:flex;align-items:center;justify-content:center;width:100%;height:100%;contain:layout size style}.radio-icon,.radio-inner{box-sizing:border-box}label{left:0;top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;appearance:none;outline:none;display:flex;align-items:center;opacity:0}[dir=rtl] label,:host-context([dir=rtl]) label{left:unset;right:unset;right:0}label::-moz-focus-inner{border:0}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}:host(:focus){outline:none}:host{--color-checked:var(--ion-color-primary, #3880ff);width:15px;height:24px}:host(.ion-color.radio-checked) .radio-inner{border-color:var(--ion-color-base)}.item-radio.item-ios ion-label{margin-left:0}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.item-radio.item-ios ion-label{margin-left:unset;-webkit-margin-start:0;margin-inline-start:0}}.radio-inner{width:33%;height:50%}:host(.radio-checked) .radio-inner{transform:rotate(45deg);border-width:2px;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--color-checked)}:host(.radio-disabled){opacity:0.3}:host(.ion-focused) .radio-icon::after{border-radius:var(--inner-border-radius);left:-9px;top:-8px;display:block;position:absolute;width:36px;height:36px;background:var(--ion-color-primary-tint, #4c8dff);content:\"\";opacity:0.2}:host-context([dir=rtl]):host(.ion-focused) .radio-icon::after,:host-context([dir=rtl]).ion-focused .radio-icon::after{left:unset;right:unset;right:-9px}:host(.in-item){margin-left:10px;margin-right:11px;margin-top:8px;margin-bottom:8px;display:block;position:static}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host(.in-item){margin-left:unset;margin-right:unset;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:11px;margin-inline-end:11px}}:host(.in-item[slot=start]){margin-left:3px;margin-right:21px;margin-top:8px;margin-bottom:8px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host(.in-item[slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:3px;margin-inline-start:3px;-webkit-margin-end:21px;margin-inline-end:21px}}";
2248
-
2249
- const radioMdCss = ":host{--inner-border-radius:50%;display:inline-block;position:relative;box-sizing:border-box;user-select:none;z-index:2}:host(.radio-disabled){pointer-events:none}.radio-icon{display:flex;align-items:center;justify-content:center;width:100%;height:100%;contain:layout size style}.radio-icon,.radio-inner{box-sizing:border-box}label{left:0;top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;appearance:none;outline:none;display:flex;align-items:center;opacity:0}[dir=rtl] label,:host-context([dir=rtl]) label{left:unset;right:unset;right:0}label::-moz-focus-inner{border:0}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}:host(:focus){outline:none}:host{--color:var(--ion-color-step-400, #999999);--color-checked:var(--ion-color-primary, #3880ff);--border-width:2px;--border-style:solid;--border-radius:50%;width:20px;height:20px}:host(.ion-color) .radio-inner{background:var(--ion-color-base)}:host(.ion-color.radio-checked) .radio-icon{border-color:var(--ion-color-base)}.radio-icon{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;border-radius:var(--border-radius);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--color)}.radio-inner{border-radius:var(--inner-border-radius);width:calc(50% + var(--border-width));height:calc(50% + var(--border-width));transform:scale3d(0, 0, 0);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1);background:var(--color-checked)}:host(.radio-checked) .radio-icon{border-color:var(--color-checked)}:host(.radio-checked) .radio-inner{transform:scale3d(1, 1, 1)}:host(.radio-disabled){opacity:0.3}:host(.ion-focused) .radio-icon::after{border-radius:var(--inner-border-radius);left:-12px;top:-12px;display:block;position:absolute;width:36px;height:36px;background:var(--ion-color-primary-tint, #4c8dff);content:\"\";opacity:0.2}:host-context([dir=rtl]):host(.ion-focused) .radio-icon::after,:host-context([dir=rtl]).ion-focused .radio-icon::after{left:unset;right:unset;right:-12px}:host(.in-item){margin-left:0;margin-right:0;margin-top:9px;margin-bottom:9px;display:block;position:static}:host(.in-item[slot=start]){margin-left:4px;margin-right:36px;margin-top:11px;margin-bottom:10px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host(.in-item[slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:36px;margin-inline-end:36px}}";
2250
-
2251
- const Radio = class {
2252
- constructor(hostRef) {
2253
- index$1.registerInstance(this, hostRef);
2254
- this.ionStyle = index$1.createEvent(this, "ionStyle", 7);
2255
- this.ionFocus = index$1.createEvent(this, "ionFocus", 7);
2256
- this.ionBlur = index$1.createEvent(this, "ionBlur", 7);
2257
- this.inputId = `ion-rb-${radioButtonIds++}`;
2258
- this.radioGroup = null;
2259
- /**
2260
- * If `true`, the radio is selected.
2261
- */
2262
- this.checked = false;
2263
- /**
2264
- * The tabindex of the radio button.
2265
- * @internal
2266
- */
2267
- this.buttonTabindex = -1;
2268
- /**
2269
- * The name of the control, which is submitted with the form data.
2270
- */
2271
- this.name = this.inputId;
2272
- /**
2273
- * If `true`, the user cannot interact with the radio.
2274
- */
2275
- this.disabled = false;
2276
- this.updateState = () => {
2277
- if (this.radioGroup) {
2278
- this.checked = this.radioGroup.value === this.value;
2279
- }
2280
- };
2281
- this.onClick = () => {
2282
- this.checked = this.nativeInput.checked;
2283
- };
2284
- this.onFocus = () => {
2285
- this.ionFocus.emit();
2286
- };
2287
- this.onBlur = () => {
2288
- this.ionBlur.emit();
2289
- };
2290
- }
2291
- /** @internal */
2292
- async setFocus(ev) {
2293
- ev.stopPropagation();
2294
- ev.preventDefault();
2295
- this.el.focus();
2296
- }
2297
- /** @internal */
2298
- async setButtonTabindex(value) {
2299
- this.buttonTabindex = value;
2300
- }
2301
- connectedCallback() {
2302
- if (this.value === undefined) {
2303
- this.value = this.inputId;
2304
- }
2305
- const radioGroup = (this.radioGroup = this.el.closest('ion-radio-group'));
2306
- if (radioGroup) {
2307
- this.updateState();
2308
- helpers.addEventListener(radioGroup, 'ionChange', this.updateState);
2309
- }
2310
- }
2311
- disconnectedCallback() {
2312
- const radioGroup = this.radioGroup;
2313
- if (radioGroup) {
2314
- helpers.removeEventListener(radioGroup, 'ionChange', this.updateState);
2315
- this.radioGroup = null;
2316
- }
2317
- }
2318
- componentWillLoad() {
2319
- this.emitStyle();
2320
- }
2321
- emitStyle() {
2322
- this.ionStyle.emit({
2323
- 'radio-checked': this.checked,
2324
- 'interactive-disabled': this.disabled,
2325
- });
2326
- }
2327
- render() {
2328
- const { inputId, disabled, checked, color, el, buttonTabindex } = this;
2329
- const mode = ionicGlobal.getIonMode(this);
2330
- const { label, labelId, labelText } = helpers.getAriaLabel(el, inputId);
2331
- return (index$1.h(index$1.Host, { "aria-checked": `${checked}`, "aria-hidden": disabled ? 'true' : null, "aria-labelledby": label ? labelId : null, role: "radio", tabindex: buttonTabindex, onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, class: theme.createColorClasses(color, {
2332
- [mode]: true,
2333
- 'in-item': theme.hostContext('ion-item', el),
2334
- interactive: true,
2335
- 'radio-checked': checked,
2336
- 'radio-disabled': disabled,
2337
- }) }, index$1.h("div", { class: "radio-icon", part: "container" }, index$1.h("div", { class: "radio-inner", part: "mark" }), index$1.h("div", { class: "radio-ripple" })), index$1.h("label", { htmlFor: inputId }, labelText), index$1.h("input", { type: "radio", checked: checked, disabled: disabled, tabindex: "-1", id: inputId, ref: (nativeEl) => (this.nativeInput = nativeEl) })));
2338
- }
2339
- get el() { return index$1.getElement(this); }
2340
- static get watchers() { return {
2341
- "color": ["emitStyle"],
2342
- "checked": ["emitStyle"],
2343
- "disabled": ["emitStyle"]
2344
- }; }
2345
- };
2346
- let radioButtonIds = 0;
2347
- Radio.style = {
2348
- ios: radioIosCss,
2349
- md: radioMdCss
2350
- };
2351
-
2352
- const RadioGroup = class {
2353
- constructor(hostRef) {
2354
- index$1.registerInstance(this, hostRef);
2355
- this.ionChange = index$1.createEvent(this, "ionChange", 7);
2356
- this.inputId = `ion-rg-${radioGroupIds++}`;
2357
- this.labelId = `${this.inputId}-lbl`;
2358
- /**
2359
- * If `true`, the radios can be deselected.
2360
- */
2361
- this.allowEmptySelection = false;
2362
- /**
2363
- * The name of the control, which is submitted with the form data.
2364
- */
2365
- this.name = this.inputId;
2366
- this.setRadioTabindex = (value) => {
2367
- const radios = this.getRadios();
2368
- // Get the first radio that is not disabled and the checked one
2369
- const first = radios.find((radio) => !radio.disabled);
2370
- const checked = radios.find((radio) => radio.value === value && !radio.disabled);
2371
- if (!first && !checked) {
2372
- return;
2373
- }
2374
- // If an enabled checked radio exists, set it to be the focusable radio
2375
- // otherwise we default to focus the first radio
2376
- const focusable = checked || first;
2377
- for (const radio of radios) {
2378
- const tabindex = radio === focusable ? 0 : -1;
2379
- radio.setButtonTabindex(tabindex);
2380
- }
2381
- };
2382
- this.onClick = (ev) => {
2383
- ev.preventDefault();
2384
- const selectedRadio = ev.target && ev.target.closest('ion-radio');
2385
- if (selectedRadio) {
2386
- const currentValue = this.value;
2387
- const newValue = selectedRadio.value;
2388
- if (newValue !== currentValue) {
2389
- this.value = newValue;
2390
- }
2391
- else if (this.allowEmptySelection) {
2392
- this.value = undefined;
2393
- }
2394
- }
2395
- };
2396
- }
2397
- valueChanged(value) {
2398
- this.setRadioTabindex(value);
2399
- this.ionChange.emit({ value });
2400
- }
2401
- componentDidLoad() {
2402
- this.setRadioTabindex(this.value);
2403
- }
2404
- async connectedCallback() {
2405
- // Get the list header if it exists and set the id
2406
- // this is used to set aria-labelledby
2407
- const header = this.el.querySelector('ion-list-header') || this.el.querySelector('ion-item-divider');
2408
- if (header) {
2409
- const label = (this.label = header.querySelector('ion-label'));
2410
- if (label) {
2411
- this.labelId = label.id = this.name + '-lbl';
2412
- }
2413
- }
2414
- }
2415
- getRadios() {
2416
- return Array.from(this.el.querySelectorAll('ion-radio'));
2417
- }
2418
- onKeydown(ev) {
2419
- const inSelectPopover = !!this.el.closest('ion-select-popover');
2420
- if (ev.target && !this.el.contains(ev.target)) {
2421
- return;
2422
- }
2423
- // Get all radios inside of the radio group and then
2424
- // filter out disabled radios since we need to skip those
2425
- const radios = this.getRadios().filter((radio) => !radio.disabled);
2426
- // Only move the radio if the current focus is in the radio group
2427
- if (ev.target && radios.includes(ev.target)) {
2428
- const index = radios.findIndex((radio) => radio === ev.target);
2429
- const current = radios[index];
2430
- let next;
2431
- // If hitting arrow down or arrow right, move to the next radio
2432
- // If we're on the last radio, move to the first radio
2433
- if (['ArrowDown', 'ArrowRight'].includes(ev.code)) {
2434
- next = index === radios.length - 1 ? radios[0] : radios[index + 1];
2435
- }
2436
- // If hitting arrow up or arrow left, move to the previous radio
2437
- // If we're on the first radio, move to the last radio
2438
- if (['ArrowUp', 'ArrowLeft'].includes(ev.code)) {
2439
- next = index === 0 ? radios[radios.length - 1] : radios[index - 1];
2440
- }
2441
- if (next && radios.includes(next)) {
2442
- next.setFocus(ev);
2443
- if (!inSelectPopover) {
2444
- this.value = next.value;
2445
- }
2446
- }
2447
- // Update the radio group value when a user presses the
2448
- // space bar on top of a selected radio
2449
- if (['Space'].includes(ev.code)) {
2450
- this.value = this.allowEmptySelection && this.value !== undefined ? undefined : current.value;
2451
- // Prevent browsers from jumping
2452
- // to the bottom of the screen
2453
- ev.preventDefault();
2454
- }
2455
- }
2456
- }
2457
- render() {
2458
- const { label, labelId } = this;
2459
- const mode = ionicGlobal.getIonMode(this);
2460
- return index$1.h(index$1.Host, { role: "radiogroup", "aria-labelledby": label ? labelId : null, onClick: this.onClick, class: mode });
2461
- }
2462
- get el() { return index$1.getElement(this); }
2463
- static get watchers() { return {
2464
- "value": ["valueChanged"]
2465
- }; }
2466
- };
2467
- let radioGroupIds = 0;
2468
-
2469
- /*!
2470
- * (C) Ionic http://ionicframework.com - MIT License
2471
- */
2472
- const watchForOptions = (containerEl, tagName, onChange) => {
2473
- if (typeof MutationObserver === 'undefined') {
2474
- return;
2475
- }
2476
- const mutation = new MutationObserver((mutationList) => {
2477
- onChange(getSelectedOption(mutationList, tagName));
2478
- });
2479
- mutation.observe(containerEl, {
2480
- childList: true,
2481
- subtree: true,
2482
- });
2483
- return mutation;
2484
- };
2485
- const getSelectedOption = (mutationList, tagName) => {
2486
- let newOption;
2487
- mutationList.forEach((mut) => {
2488
- // eslint-disable-next-line @typescript-eslint/prefer-for-of
2489
- for (let i = 0; i < mut.addedNodes.length; i++) {
2490
- newOption = findCheckedOption(mut.addedNodes[i], tagName) || newOption;
2491
- }
2492
- });
2493
- return newOption;
2494
- };
2495
- const findCheckedOption = (el, tagName) => {
2496
- if (el.nodeType !== 1) {
2497
- return undefined;
2498
- }
2499
- const options = el.tagName === tagName.toUpperCase() ? [el] : Array.from(el.querySelectorAll(tagName));
2500
- return options.find((o) => o.value === el.value);
2501
- };
2502
-
2503
- const selectIosCss = ":host{--placeholder-color:currentColor;--placeholder-opacity:0.33;padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:flex;position:relative;align-items:center;font-family:var(--ion-font-family, inherit);overflow:hidden;z-index:2}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}:host(.in-item){position:static;max-width:45%}:host(.select-disabled){opacity:0.4;pointer-events:none}:host(.ion-focused) button{border:2px solid #5e9ed6}.select-placeholder{color:var(--placeholder-color);opacity:var(--placeholder-opacity)}label{left:0;top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;appearance:none;outline:none;display:flex;align-items:center;opacity:0}[dir=rtl] label,:host-context([dir=rtl]) label{left:unset;right:unset;right:0}label::-moz-focus-inner{border:0}button{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.select-icon{position:relative}.select-text{flex:1;min-width:16px;font-size:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.select-icon-inner{left:5px;top:50%;margin-top:-2px;position:absolute;width:0;height:0;border-top:5px solid;border-right:5px solid transparent;border-left:5px solid transparent;color:currentColor;pointer-events:none}[dir=rtl] .select-icon-inner,:host-context([dir=rtl]) .select-icon-inner{left:unset;right:unset;right:5px}:host{--padding-top:10px;--padding-end:10px;--padding-bottom:10px;--padding-start:20px}.select-icon{width:12px;height:18px;opacity:0.33}";
2504
-
2505
- const selectMdCss = ":host{--placeholder-color:currentColor;--placeholder-opacity:0.33;padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:flex;position:relative;align-items:center;font-family:var(--ion-font-family, inherit);overflow:hidden;z-index:2}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}:host(.in-item){position:static;max-width:45%}:host(.select-disabled){opacity:0.4;pointer-events:none}:host(.ion-focused) button{border:2px solid #5e9ed6}.select-placeholder{color:var(--placeholder-color);opacity:var(--placeholder-opacity)}label{left:0;top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;appearance:none;outline:none;display:flex;align-items:center;opacity:0}[dir=rtl] label,:host-context([dir=rtl]) label{left:unset;right:unset;right:0}label::-moz-focus-inner{border:0}button{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.select-icon{position:relative}.select-text{flex:1;min-width:16px;font-size:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.select-icon-inner{left:5px;top:50%;margin-top:-2px;position:absolute;width:0;height:0;border-top:5px solid;border-right:5px solid transparent;border-left:5px solid transparent;color:currentColor;pointer-events:none}[dir=rtl] .select-icon-inner,:host-context([dir=rtl]) .select-icon-inner{left:unset;right:unset;right:5px}:host{--padding-top:10px;--padding-end:0;--padding-bottom:10px;--padding-start:16px}.select-icon{width:19px;height:19px;transition:transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);opacity:0.55}:host-context(.item-label-stacked) .select-icon,:host-context(.item-label-floating:not(.item-fill-outline)) .select-icon,:host-context(.item-label-floating.item-fill-outline){transform:translate3d(0, -9px, 0)}:host-context(.item-has-focus) .select-icon{transform:rotate(180deg)}:host-context(.item-has-focus.item-label-stacked) .select-icon,:host-context(.item-has-focus.item-label-floating:not(.item-fill-outline)) .select-icon{transform:translate3d(0, -9px, 0) rotate(180deg)}:host-context(ion-item.ion-focused) .select-icon,:host-context(.item-has-focus) .select-icon{color:var(--highlight-color-focused);opacity:1}";
2506
-
2507
- const Select = class {
2508
- constructor(hostRef) {
2509
- index$1.registerInstance(this, hostRef);
2510
- this.ionChange = index$1.createEvent(this, "ionChange", 7);
2511
- this.ionCancel = index$1.createEvent(this, "ionCancel", 7);
2512
- this.ionDismiss = index$1.createEvent(this, "ionDismiss", 7);
2513
- this.ionFocus = index$1.createEvent(this, "ionFocus", 7);
2514
- this.ionBlur = index$1.createEvent(this, "ionBlur", 7);
2515
- this.ionStyle = index$1.createEvent(this, "ionStyle", 7);
2516
- this.inputId = `ion-sel-${selectIds++}`;
2517
- this.didInit = false;
2518
- this.isExpanded = false;
2519
- /**
2520
- * If `true`, the user cannot interact with the select.
2521
- */
2522
- this.disabled = false;
2523
- /**
2524
- * The text to display on the cancel button.
2525
- */
2526
- this.cancelText = 'Cancel';
2527
- /**
2528
- * The text to display on the ok button.
2529
- */
2530
- this.okText = 'OK';
2531
- /**
2532
- * The name of the control, which is submitted with the form data.
2533
- */
2534
- this.name = this.inputId;
2535
- /**
2536
- * If `true`, the select can accept multiple values.
2537
- */
2538
- this.multiple = false;
2539
- /**
2540
- * The interface the select should use: `action-sheet`, `popover` or `alert`.
2541
- */
2542
- this.interface = 'alert';
2543
- /**
2544
- * Any additional options that the `alert`, `action-sheet` or `popover` interface
2545
- * can take. See the [ion-alert docs](./alert), the
2546
- * [ion-action-sheet docs](./action-sheet) and the
2547
- * [ion-popover docs](./popover) for the
2548
- * create options for each interface.
2549
- *
2550
- * Note: `interfaceOptions` will not override `inputs` or `buttons` with the `alert` interface.
2551
- */
2552
- this.interfaceOptions = {};
2553
- this.onClick = (ev) => {
2554
- this.setFocus();
2555
- this.open(ev);
2556
- };
2557
- this.onFocus = () => {
2558
- this.ionFocus.emit();
2559
- };
2560
- this.onBlur = () => {
2561
- this.ionBlur.emit();
2562
- };
2563
- }
2564
- styleChanged() {
2565
- this.emitStyle();
2566
- }
2567
- valueChanged() {
2568
- this.emitStyle();
2569
- // TODO: FW-1160 - Remove the `didInit` property when ionChange behavior is changed in v7.
2570
- if (this.didInit) {
2571
- this.ionChange.emit({
2572
- value: this.value,
2573
- });
2574
- }
2575
- }
2576
- async connectedCallback() {
2577
- this.updateOverlayOptions();
2578
- this.emitStyle();
2579
- this.mutationO = watchForOptions(this.el, 'ion-select-option', async () => {
2580
- this.updateOverlayOptions();
2581
- });
2582
- }
2583
- disconnectedCallback() {
2584
- if (this.mutationO) {
2585
- this.mutationO.disconnect();
2586
- this.mutationO = undefined;
2587
- }
2588
- }
2589
- componentDidLoad() {
2590
- this.didInit = true;
2591
- }
2592
- /**
2593
- * Open the select overlay. The overlay is either an alert, action sheet, or popover,
2594
- * depending on the `interface` property on the `ion-select`.
2595
- *
2596
- * @param event The user interface event that called the open.
2597
- */
2598
- async open(event) {
2599
- if (this.disabled || this.isExpanded) {
2600
- return undefined;
2601
- }
2602
- this.isExpanded = true;
2603
- const overlay = (this.overlay = await this.createOverlay(event));
2604
- overlay.onDidDismiss().then(() => {
2605
- this.overlay = undefined;
2606
- this.isExpanded = false;
2607
- this.ionDismiss.emit();
2608
- this.setFocus();
2609
- });
2610
- await overlay.present();
2611
- // focus selected option for popovers
2612
- if (this.interface === 'popover') {
2613
- let indexOfSelected = this.childOpts.map((o) => o.value).indexOf(this.value);
2614
- indexOfSelected = indexOfSelected > -1 ? indexOfSelected : 0; // default to first option if nothing selected
2615
- const selectedEl = overlay.querySelector(`.select-interface-option:nth-child(${indexOfSelected + 1})`);
2616
- if (selectedEl) {
2617
- helpers.focusElement(selectedEl);
2618
- }
2619
- }
2620
- return overlay;
2621
- }
2622
- createOverlay(ev) {
2623
- let selectInterface = this.interface;
2624
- if (selectInterface === 'action-sheet' && this.multiple) {
2625
- console.warn(`Select interface cannot be "${selectInterface}" with a multi-value select. Using the "alert" interface instead.`);
2626
- selectInterface = 'alert';
2627
- }
2628
- if (selectInterface === 'popover' && !ev) {
2629
- console.warn(`Select interface cannot be a "${selectInterface}" without passing an event. Using the "alert" interface instead.`);
2630
- selectInterface = 'alert';
2631
- }
2632
- if (selectInterface === 'action-sheet') {
2633
- return this.openActionSheet();
2634
- }
2635
- if (selectInterface === 'popover') {
2636
- return this.openPopover(ev);
2637
- }
2638
- return this.openAlert();
2639
- }
2640
- updateOverlayOptions() {
2641
- const overlay = this.overlay;
2642
- if (!overlay) {
2643
- return;
2644
- }
2645
- const childOpts = this.childOpts;
2646
- const value = this.value;
2647
- switch (this.interface) {
2648
- case 'action-sheet':
2649
- overlay.buttons = this.createActionSheetButtons(childOpts, value);
2650
- break;
2651
- case 'popover':
2652
- const popover = overlay.querySelector('ion-select-popover');
2653
- if (popover) {
2654
- popover.options = this.createPopoverOptions(childOpts, value);
2655
- }
2656
- break;
2657
- case 'alert':
2658
- const inputType = this.multiple ? 'checkbox' : 'radio';
2659
- overlay.inputs = this.createAlertInputs(childOpts, inputType, value);
2660
- break;
2661
- }
2662
- }
2663
- createActionSheetButtons(data, selectValue) {
2664
- const actionSheetButtons = data.map((option) => {
2665
- const value = getOptionValue(option);
2666
- // Remove hydrated before copying over classes
2667
- const copyClasses = Array.from(option.classList)
2668
- .filter((cls) => cls !== 'hydrated')
2669
- .join(' ');
2670
- const optClass = `${OPTION_CLASS} ${copyClasses}`;
2671
- return {
2672
- role: isOptionSelected(selectValue, value, this.compareWith) ? 'selected' : '',
2673
- text: option.textContent,
2674
- cssClass: optClass,
2675
- handler: () => {
2676
- this.value = value;
2677
- },
2678
- };
2679
- });
2680
- // Add "cancel" button
2681
- actionSheetButtons.push({
2682
- text: this.cancelText,
2683
- role: 'cancel',
2684
- handler: () => {
2685
- this.ionCancel.emit();
2686
- },
2687
- });
2688
- return actionSheetButtons;
2689
- }
2690
- createAlertInputs(data, inputType, selectValue) {
2691
- const alertInputs = data.map((option) => {
2692
- const value = getOptionValue(option);
2693
- // Remove hydrated before copying over classes
2694
- const copyClasses = Array.from(option.classList)
2695
- .filter((cls) => cls !== 'hydrated')
2696
- .join(' ');
2697
- const optClass = `${OPTION_CLASS} ${copyClasses}`;
2698
- return {
2699
- type: inputType,
2700
- cssClass: optClass,
2701
- label: option.textContent || '',
2702
- value,
2703
- checked: isOptionSelected(selectValue, value, this.compareWith),
2704
- disabled: option.disabled,
2705
- };
2706
- });
2707
- return alertInputs;
2708
- }
2709
- createPopoverOptions(data, selectValue) {
2710
- const popoverOptions = data.map((option) => {
2711
- const value = getOptionValue(option);
2712
- // Remove hydrated before copying over classes
2713
- const copyClasses = Array.from(option.classList)
2714
- .filter((cls) => cls !== 'hydrated')
2715
- .join(' ');
2716
- const optClass = `${OPTION_CLASS} ${copyClasses}`;
2717
- return {
2718
- text: option.textContent || '',
2719
- cssClass: optClass,
2720
- value,
2721
- checked: isOptionSelected(selectValue, value, this.compareWith),
2722
- disabled: option.disabled,
2723
- handler: (selected) => {
2724
- this.value = selected;
2725
- if (!this.multiple) {
2726
- this.close();
2727
- }
2728
- },
2729
- };
2730
- });
2731
- return popoverOptions;
2732
- }
2733
- async openPopover(ev) {
2734
- const interfaceOptions = this.interfaceOptions;
2735
- const mode = ionicGlobal.getIonMode(this);
2736
- const showBackdrop = mode === 'md' ? false : true;
2737
- const multiple = this.multiple;
2738
- const value = this.value;
2739
- let event = ev;
2740
- let size = 'auto';
2741
- const item = this.el.closest('ion-item');
2742
- // If the select is inside of an item containing a floating
2743
- // or stacked label then the popover should take up the
2744
- // full width of the item when it presents
2745
- if (item && (item.classList.contains('item-label-floating') || item.classList.contains('item-label-stacked'))) {
2746
- event = Object.assign(Object.assign({}, ev), { detail: {
2747
- ionShadowTarget: item,
2748
- } });
2749
- size = 'cover';
2750
- }
2751
- const popoverOpts = Object.assign(Object.assign({ mode,
2752
- event, alignment: 'center', size,
2753
- showBackdrop }, interfaceOptions), { component: 'ion-select-popover', cssClass: ['select-popover', interfaceOptions.cssClass], componentProps: {
2754
- header: interfaceOptions.header,
2755
- subHeader: interfaceOptions.subHeader,
2756
- message: interfaceOptions.message,
2757
- multiple,
2758
- value,
2759
- options: this.createPopoverOptions(this.childOpts, value),
2760
- } });
2761
- return overlays.popoverController.create(popoverOpts);
2762
- }
2763
- async openActionSheet() {
2764
- const mode = ionicGlobal.getIonMode(this);
2765
- const interfaceOptions = this.interfaceOptions;
2766
- const actionSheetOpts = Object.assign(Object.assign({ mode }, interfaceOptions), { buttons: this.createActionSheetButtons(this.childOpts, this.value), cssClass: ['select-action-sheet', interfaceOptions.cssClass] });
2767
- return overlays.actionSheetController.create(actionSheetOpts);
2768
- }
2769
- async openAlert() {
2770
- const label = this.getLabel();
2771
- const labelText = label ? label.textContent : null;
2772
- const interfaceOptions = this.interfaceOptions;
2773
- const inputType = this.multiple ? 'checkbox' : 'radio';
2774
- const mode = ionicGlobal.getIonMode(this);
2775
- const alertOpts = Object.assign(Object.assign({ mode }, interfaceOptions), { header: interfaceOptions.header ? interfaceOptions.header : labelText, inputs: this.createAlertInputs(this.childOpts, inputType, this.value), buttons: [
2776
- {
2777
- text: this.cancelText,
2778
- role: 'cancel',
2779
- handler: () => {
2780
- this.ionCancel.emit();
2781
- },
2782
- },
2783
- {
2784
- text: this.okText,
2785
- handler: (selectedValues) => {
2786
- this.value = selectedValues;
2787
- },
2788
- },
2789
- ], cssClass: [
2790
- 'select-alert',
2791
- interfaceOptions.cssClass,
2792
- this.multiple ? 'multiple-select-alert' : 'single-select-alert',
2793
- ] });
2794
- return overlays.alertController.create(alertOpts);
2795
- }
2796
- /**
2797
- * Close the select interface.
2798
- */
2799
- close() {
2800
- // TODO check !this.overlay || !this.isFocus()
2801
- if (!this.overlay) {
2802
- return Promise.resolve(false);
2803
- }
2804
- return this.overlay.dismiss();
2805
- }
2806
- getLabel() {
2807
- return helpers.findItemLabel(this.el);
2808
- }
2809
- hasValue() {
2810
- return this.getText() !== '';
2811
- }
2812
- get childOpts() {
2813
- return Array.from(this.el.querySelectorAll('ion-select-option'));
2814
- }
2815
- getText() {
2816
- const selectedText = this.selectedText;
2817
- if (selectedText != null && selectedText !== '') {
2818
- return selectedText;
2819
- }
2820
- return generateText(this.childOpts, this.value, this.compareWith);
2821
- }
2822
- setFocus() {
2823
- if (this.focusEl) {
2824
- this.focusEl.focus();
2825
- }
2826
- }
2827
- emitStyle() {
2828
- this.ionStyle.emit({
2829
- interactive: true,
2830
- 'interactive-disabled': this.disabled,
2831
- select: true,
2832
- 'select-disabled': this.disabled,
2833
- 'has-placeholder': this.placeholder !== undefined,
2834
- 'has-value': this.hasValue(),
2835
- 'has-focus': this.isExpanded,
2836
- });
2837
- }
2838
- render() {
2839
- const { disabled, el, inputId, isExpanded, name, placeholder, value } = this;
2840
- const mode = ionicGlobal.getIonMode(this);
2841
- const { labelText, labelId } = helpers.getAriaLabel(el, inputId);
2842
- helpers.renderHiddenInput(true, el, name, parseValue(value), disabled);
2843
- const displayValue = this.getText();
2844
- let addPlaceholderClass = false;
2845
- let selectText = displayValue;
2846
- if (selectText === '' && placeholder !== undefined) {
2847
- selectText = placeholder;
2848
- addPlaceholderClass = true;
2849
- }
2850
- const selectTextClasses = {
2851
- 'select-text': true,
2852
- 'select-placeholder': addPlaceholderClass,
2853
- };
2854
- const textPart = addPlaceholderClass ? 'placeholder' : 'text';
2855
- // If there is a label then we need to concatenate it with the
2856
- // current value (or placeholder) and a comma so it separates
2857
- // nicely when the screen reader announces it, otherwise just
2858
- // announce the value / placeholder
2859
- const displayLabel = labelText !== undefined ? (selectText !== '' ? `${selectText}, ${labelText}` : labelText) : selectText;
2860
- return (index$1.h(index$1.Host, { onClick: this.onClick, role: "button", "aria-haspopup": "listbox", "aria-disabled": disabled ? 'true' : null, "aria-label": displayLabel, class: {
2861
- [mode]: true,
2862
- 'in-item': theme.hostContext('ion-item', el),
2863
- 'select-disabled': disabled,
2864
- 'select-expanded': isExpanded,
2865
- } }, index$1.h("div", { "aria-hidden": "true", class: selectTextClasses, part: textPart }, selectText), index$1.h("div", { class: "select-icon", role: "presentation", part: "icon" }, index$1.h("div", { class: "select-icon-inner" })), index$1.h("label", { id: labelId }, displayLabel), index$1.h("button", { type: "button", disabled: disabled, id: inputId, "aria-labelledby": labelId, "aria-haspopup": "listbox", "aria-expanded": `${isExpanded}`, onFocus: this.onFocus, onBlur: this.onBlur, ref: (focusEl) => (this.focusEl = focusEl) })));
2866
- }
2867
- get el() { return index$1.getElement(this); }
2868
- static get watchers() { return {
2869
- "disabled": ["styleChanged"],
2870
- "placeholder": ["styleChanged"],
2871
- "isExpanded": ["styleChanged"],
2872
- "value": ["valueChanged"]
2873
- }; }
2874
- };
2875
- const isOptionSelected = (currentValue, compareValue, compareWith) => {
2876
- if (currentValue === undefined) {
2877
- return false;
2878
- }
2879
- if (Array.isArray(currentValue)) {
2880
- return currentValue.some((val) => compareOptions(val, compareValue, compareWith));
2881
- }
2882
- else {
2883
- return compareOptions(currentValue, compareValue, compareWith);
2884
- }
2885
- };
2886
- const getOptionValue = (el) => {
2887
- const value = el.value;
2888
- return value === undefined ? el.textContent || '' : value;
2889
- };
2890
- const parseValue = (value) => {
2891
- if (value == null) {
2892
- return undefined;
2893
- }
2894
- if (Array.isArray(value)) {
2895
- return value.join(',');
2896
- }
2897
- return value.toString();
2898
- };
2899
- const compareOptions = (currentValue, compareValue, compareWith) => {
2900
- if (typeof compareWith === 'function') {
2901
- return compareWith(currentValue, compareValue);
2902
- }
2903
- else if (typeof compareWith === 'string') {
2904
- return currentValue[compareWith] === compareValue[compareWith];
2905
- }
2906
- else {
2907
- return Array.isArray(compareValue) ? compareValue.includes(currentValue) : currentValue === compareValue;
2908
- }
2909
- };
2910
- const generateText = (opts, value, compareWith) => {
2911
- if (value === undefined) {
2912
- return '';
2913
- }
2914
- if (Array.isArray(value)) {
2915
- return value
2916
- .map((v) => textForValue(opts, v, compareWith))
2917
- .filter((opt) => opt !== null)
2918
- .join(', ');
2919
- }
2920
- else {
2921
- return textForValue(opts, value, compareWith) || '';
2922
- }
2923
- };
2924
- const textForValue = (opts, value, compareWith) => {
2925
- const selectOpt = opts.find((opt) => {
2926
- return compareOptions(value, getOptionValue(opt), compareWith);
2927
- });
2928
- return selectOpt ? selectOpt.textContent : null;
2929
- };
2930
- let selectIds = 0;
2931
- const OPTION_CLASS = 'select-interface-option';
2932
- Select.style = {
2933
- ios: selectIosCss,
2934
- md: selectMdCss
2935
- };
2936
-
2937
- const selectOptionCss = ":host{display:none}";
2938
-
2939
- const SelectOption = class {
2940
- constructor(hostRef) {
2941
- index$1.registerInstance(this, hostRef);
2942
- this.inputId = `ion-selopt-${selectOptionIds++}`;
2943
- /**
2944
- * If `true`, the user cannot interact with the select option. This property does not apply when `interface="action-sheet"` as `ion-action-sheet` does not allow for disabled buttons.
2945
- */
2946
- this.disabled = false;
2947
- }
2948
- render() {
2949
- return index$1.h(index$1.Host, { role: "option", id: this.inputId, class: ionicGlobal.getIonMode(this) });
2950
- }
2951
- get el() { return index$1.getElement(this); }
2952
- };
2953
- let selectOptionIds = 0;
2954
- SelectOption.style = selectOptionCss;
2955
-
2956
- const selectPopoverIosCss = ".sc-ion-select-popover-ios-h ion-list.sc-ion-select-popover-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}ion-list-header.sc-ion-select-popover-ios,ion-label.sc-ion-select-popover-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}";
2957
-
2958
- const selectPopoverMdCss = ".sc-ion-select-popover-md-h ion-list.sc-ion-select-popover-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}ion-list-header.sc-ion-select-popover-md,ion-label.sc-ion-select-popover-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}ion-list.sc-ion-select-popover-md ion-radio.sc-ion-select-popover-md{opacity:0}ion-item.sc-ion-select-popover-md{--inner-border-width:0}.item-radio-checked.sc-ion-select-popover-md{--background:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.08);--background-focused:var(--ion-color-primary, #3880ff);--background-focused-opacity:0.2;--background-hover:var(--ion-color-primary, #3880ff);--background-hover-opacity:0.12}.item-checkbox-checked.sc-ion-select-popover-md{--background-activated:var(--ion-item-color, var(--ion-text-color, #000));--background-focused:var(--ion-item-color, var(--ion-text-color, #000));--background-hover:var(--ion-item-color, var(--ion-text-color, #000));--color:var(--ion-color-primary, #3880ff)}";
2959
-
2960
- const SelectPopover = class {
2961
- constructor(hostRef) {
2962
- index$1.registerInstance(this, hostRef);
2963
- /**
2964
- * An array of options for the popover
2965
- */
2966
- this.options = [];
2967
- }
2968
- onSelect(ev) {
2969
- this.setChecked(ev);
2970
- this.callOptionHandler(ev);
2971
- }
2972
- findOptionFromEvent(ev) {
2973
- const { options } = this;
2974
- return options.find((o) => o.value === ev.target.value);
2975
- }
2976
- /**
2977
- * When an option is selected we need to get the value(s)
2978
- * of the selected option(s) and return it in the option
2979
- * handler
2980
- */
2981
- callOptionHandler(ev) {
2982
- const option = this.findOptionFromEvent(ev);
2983
- const values = this.getValues(ev);
2984
- if (option === null || option === void 0 ? void 0 : option.handler) {
2985
- overlays.safeCall(option.handler, values);
2986
- }
2987
- }
2988
- /**
2989
- * This is required when selecting a radio that is already
2990
- * selected because it will not trigger the ionChange event
2991
- * but we still want to close the popover
2992
- */
2993
- rbClick(ev) {
2994
- this.callOptionHandler(ev);
2995
- }
2996
- setChecked(ev) {
2997
- const { multiple } = this;
2998
- const option = this.findOptionFromEvent(ev);
2999
- // this is a popover with checkboxes (multiple value select)
3000
- // we need to set the checked value for this option
3001
- if (multiple && option) {
3002
- option.checked = ev.detail.checked;
3003
- }
3004
- }
3005
- getValues(ev) {
3006
- const { multiple, options } = this;
3007
- if (multiple) {
3008
- // this is a popover with checkboxes (multiple value select)
3009
- // return an array of all the checked values
3010
- return options.filter((o) => o.checked).map((o) => o.value);
3011
- }
3012
- // this is a popover with radio buttons (single value select)
3013
- // return the value that was clicked, otherwise undefined
3014
- const option = this.findOptionFromEvent(ev);
3015
- return option ? option.value : undefined;
3016
- }
3017
- renderOptions(options) {
3018
- const { multiple } = this;
3019
- switch (multiple) {
3020
- case true:
3021
- return this.renderCheckboxOptions(options);
3022
- default:
3023
- return this.renderRadioOptions(options);
3024
- }
3025
- }
3026
- renderCheckboxOptions(options) {
3027
- return options.map((option) => (index$1.h("ion-item", { class: theme.getClassMap(option.cssClass) }, index$1.h("ion-checkbox", { slot: "start", value: option.value, disabled: option.disabled, checked: option.checked }), index$1.h("ion-label", null, option.text))));
3028
- }
3029
- renderRadioOptions(options) {
3030
- const checked = options.filter((o) => o.checked).map((o) => o.value)[0];
3031
- return (index$1.h("ion-radio-group", { value: checked }, options.map((option) => (index$1.h("ion-item", { class: theme.getClassMap(option.cssClass) }, index$1.h("ion-label", null, option.text), index$1.h("ion-radio", { value: option.value, disabled: option.disabled, onClick: (ev) => this.rbClick(ev) }))))));
3032
- }
3033
- render() {
3034
- const { header, message, options, subHeader } = this;
3035
- const hasSubHeaderOrMessage = subHeader !== undefined || message !== undefined;
3036
- return (index$1.h(index$1.Host, { class: ionicGlobal.getIonMode(this) }, index$1.h("ion-list", null, header !== undefined && index$1.h("ion-list-header", null, header), hasSubHeaderOrMessage && (index$1.h("ion-item", null, index$1.h("ion-label", { class: "ion-text-wrap" }, subHeader !== undefined && index$1.h("h3", null, subHeader), message !== undefined && index$1.h("p", null, message)))), this.renderOptions(options))));
3037
- }
3038
- };
3039
- SelectPopover.style = {
3040
- ios: selectPopoverIosCss,
3041
- md: selectPopoverMdCss
3042
- };
3043
-
3044
- exports.ion_action_sheet = ActionSheet;
3045
- exports.ion_alert = Alert;
3046
- exports.ion_checkbox = Checkbox;
3047
- exports.ion_list_header = ListHeader;
3048
- exports.ion_popover = Popover;
3049
- exports.ion_radio = Radio;
3050
- exports.ion_radio_group = RadioGroup;
3051
- exports.ion_select = Select;
3052
- exports.ion_select_option = SelectOption;
3053
- exports.ion_select_popover = SelectPopover;