@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,2577 +0,0 @@
1
- import { r as registerInstance, c as createEvent, w as writeTask, h, H as Host, d as getElement } from './index-034add74.js';
2
- import { g as chevronBack, c as chevronForward, f as chevronDown, p as caretUpSharp, q as caretDownSharp, t as checkmarkOutline, u as removeOutline, v as ellipseOutline } from './index-f258b2dd.js';
3
- import { g as getIonMode } from './ionic-global-24253941.js';
4
- import { startFocusVisible } from './focus-visible-4e9a0764.js';
5
- import { r as raf, n as renderHiddenInput, g as getElementRoot, m as getAriaLabel } from './helpers-af86adf0.js';
6
- import { b as printIonWarning, p as printIonError } from './index-ac6e5d74.js';
7
- import { i as isRTL } from './dir-03012648.js';
8
- import { c as createColorClasses, h as hostContext } from './theme-7ef00c83.js';
9
- import { e as generateDayAriaLabel, f as isBefore, h as isAfter, j as isSameDay, k as getPreviousMonth, l as getNextMonth, p as parseDate, g as getToday, m as getPartsFromCalendarDay, n as getEndOfWeek, o as getStartOfWeek, q as getPreviousDay, r as getNextDay, s as getPreviousWeek, t as getNextWeek, u as parseMinParts, v as parseMaxParts, w as warnIfValueOutOfBounds, x as convertToArrayOfNumbers, y as convertDataToISO, z as getCombinedDateColumnData, A as getMonthColumnData, B as getDayColumnData, C as getYearColumnData, D as isMonthFirstLocale, E as getTimeColumnsData, F as isLocaleDayPeriodRTL, G as getDaysOfWeek, b as getMonthAndYear, H as getDaysOfMonth, I as generateMonths, i as is24Hour, c as getLocalizedTime, J as getMonthAndDay, K as formatValue, L as getNextYear, M as getPreviousYear, N as clampDate, O as parseAmPm, P as calculateHourFromAMPM } from './parse-9ce69067.js';
10
- import { a as hapticSelectionStart, b as hapticSelectionChanged, c as hapticSelectionEnd, d as hapticSelection } from './haptic-522f76f2.js';
11
-
12
- /*!
13
- * (C) Ionic http://ionicframework.com - MIT License
14
- */
15
- const isYearDisabled = (refYear, minParts, maxParts) => {
16
- if (minParts && minParts.year > refYear) {
17
- return true;
18
- }
19
- if (maxParts && maxParts.year < refYear) {
20
- return true;
21
- }
22
- return false;
23
- };
24
- /**
25
- * Returns true if a given day should
26
- * not be interactive according to its value,
27
- * or the max/min dates.
28
- */
29
- const isDayDisabled = (refParts, minParts, maxParts, dayValues) => {
30
- /**
31
- * If this is a filler date (i.e. padding)
32
- * then the date is disabled.
33
- */
34
- if (refParts.day === null) {
35
- return true;
36
- }
37
- /**
38
- * If user passed in a list of acceptable day values
39
- * check to make sure that the date we are looking
40
- * at is in this array.
41
- */
42
- if (dayValues !== undefined && !dayValues.includes(refParts.day)) {
43
- return true;
44
- }
45
- /**
46
- * Given a min date, perform the following
47
- * checks. If any of them are true, then the
48
- * day should be disabled:
49
- * 1. Is the current year < the min allowed year?
50
- * 2. Is the current year === min allowed year,
51
- * but the current month < the min allowed month?
52
- * 3. Is the current year === min allowed year, the
53
- * current month === min allow month, but the current
54
- * day < the min allowed day?
55
- */
56
- if (minParts && isBefore(refParts, minParts)) {
57
- return true;
58
- }
59
- /**
60
- * Given a max date, perform the following
61
- * checks. If any of them are true, then the
62
- * day should be disabled:
63
- * 1. Is the current year > the max allowed year?
64
- * 2. Is the current year === max allowed year,
65
- * but the current month > the max allowed month?
66
- * 3. Is the current year === max allowed year, the
67
- * current month === max allow month, but the current
68
- * day > the max allowed day?
69
- */
70
- if (maxParts && isAfter(refParts, maxParts)) {
71
- return true;
72
- }
73
- /**
74
- * If none of these checks
75
- * passed then the date should
76
- * be interactive.
77
- */
78
- return false;
79
- };
80
- /**
81
- * Given a locale, a date, the selected date(s), and today's date,
82
- * generate the state for a given calendar day button.
83
- */
84
- const getCalendarDayState = (locale, refParts, activeParts, todayParts, minParts, maxParts, dayValues) => {
85
- /**
86
- * activeParts signals what day(s) are currently selected in the datetime.
87
- * If multiple="true", this will be an array, but the logic in this util
88
- * is the same whether we have one selected day or many because we're only
89
- * calculating the state for one button. So, we treat a single activeParts value
90
- * the same as an array of length one.
91
- */
92
- const activePartsArray = Array.isArray(activeParts) ? activeParts : [activeParts];
93
- /**
94
- * The day button is active if it is selected, or in other words, if refParts
95
- * matches at least one selected date.
96
- */
97
- const isActive = activePartsArray.find((parts) => isSameDay(refParts, parts)) !== undefined;
98
- const isToday = isSameDay(refParts, todayParts);
99
- const disabled = isDayDisabled(refParts, minParts, maxParts, dayValues);
100
- /**
101
- * Note that we always return one object regardless of whether activeParts
102
- * was an array, since we pare down to one value for isActive.
103
- */
104
- return {
105
- disabled,
106
- isActive,
107
- isToday,
108
- ariaSelected: isActive ? 'true' : null,
109
- ariaLabel: generateDayAriaLabel(locale, isToday, refParts),
110
- };
111
- };
112
- /**
113
- * Returns `true` if the month is disabled given the
114
- * current date value and min/max date constraints.
115
- */
116
- const isMonthDisabled = (refParts, { minParts, maxParts, }) => {
117
- // If the year is disabled then the month is disabled.
118
- if (isYearDisabled(refParts.year, minParts, maxParts)) {
119
- return true;
120
- }
121
- // If the date value is before the min date, then the month is disabled.
122
- // If the date value is after the max date, then the month is disabled.
123
- if ((minParts && isBefore(refParts, minParts)) || (maxParts && isAfter(refParts, maxParts))) {
124
- return true;
125
- }
126
- return false;
127
- };
128
- /**
129
- * Given a working date, an optional minimum date range,
130
- * and an optional maximum date range; determine if the
131
- * previous navigation button is disabled.
132
- */
133
- const isPrevMonthDisabled = (refParts, minParts, maxParts) => {
134
- const prevMonth = Object.assign(Object.assign({}, getPreviousMonth(refParts)), { day: null });
135
- return isMonthDisabled(prevMonth, {
136
- minParts,
137
- maxParts,
138
- });
139
- };
140
- /**
141
- * Given a working date and a maximum date range,
142
- * determine if the next navigation button is disabled.
143
- */
144
- const isNextMonthDisabled = (refParts, maxParts) => {
145
- const nextMonth = Object.assign(Object.assign({}, getNextMonth(refParts)), { day: null });
146
- return isMonthDisabled(nextMonth, {
147
- maxParts,
148
- });
149
- };
150
-
151
- const datetimeIosCss = ":host{display:flex;flex-flow:column;background:var(--background);overflow:hidden}ion-picker-column-internal{min-width:26px}:host(.datetime-size-fixed){width:auto;height:auto}:host(.datetime-size-fixed:not(.datetime-prefer-wheel)){max-width:350px}:host(.datetime-size-fixed.datetime-prefer-wheel){min-width:350px;max-width:max-content}:host(.datetime-size-cover){width:100%}:host .calendar-body,:host .datetime-year{opacity:0}:host(:not(.datetime-ready)) .datetime-year{position:absolute;pointer-events:none}:host(.datetime-ready) .calendar-body{opacity:1}:host(.datetime-ready) .datetime-year{display:none;opacity:1}:host .wheel-order-year-first .day-column{order:3;text-align:end}:host .wheel-order-year-first .month-column{order:2;text-align:end}:host .wheel-order-year-first .year-column{order:1;text-align:start}:host .datetime-calendar,:host .datetime-year{display:flex;flex:1 1 auto;flex-flow:column}:host(.show-month-and-year) .datetime-year{display:flex}@supports (background: -webkit-named-image(apple-pay-logo-black)) and (not (aspect-ratio: 1/1)){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{left:-99999px;position:absolute;visibility:hidden;pointer-events:none}:host-context([dir=rtl]):host(.show-month-and-year) .calendar-next-prev,:host-context([dir=rtl]).show-month-and-year .calendar-next-prev,:host-context([dir=rtl]):host(.show-month-and-year) .calendar-days-of-week,:host-context([dir=rtl]).show-month-and-year .calendar-days-of-week,:host-context([dir=rtl]):host(.show-month-and-year) .calendar-body,:host-context([dir=rtl]).show-month-and-year .calendar-body,:host-context([dir=rtl]):host(.show-month-and-year) .datetime-time,:host-context([dir=rtl]).show-month-and-year .datetime-time{left:unset;right:unset;right:-99999px}}@supports (not (background: -webkit-named-image(apple-pay-logo-black))) or ((background: -webkit-named-image(apple-pay-logo-black)) and (aspect-ratio: 1/1)){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{display:none}}:host(.month-year-picker-open) .datetime-footer{display:none}:host(.datetime-readonly),:host(.datetime-disabled){pointer-events:none}:host(.datetime-disabled){opacity:0.4}:host .datetime-header .datetime-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host .datetime-action-buttons.has-clear-button{width:100%}:host .datetime-action-buttons ion-buttons{display:flex;justify-content:space-between}:host .calendar-action-buttons{display:flex;justify-content:space-between}:host .calendar-action-buttons ion-item,:host .calendar-action-buttons ion-button{--background:translucent}:host .calendar-action-buttons ion-item ion-label{display:flex;align-items:center}:host .calendar-action-buttons ion-item ion-icon{padding-left:4px;padding-right:0;padding-top:0;padding-bottom:0}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host .calendar-action-buttons ion-item ion-icon{padding-left:unset;padding-right:unset;-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:0;padding-inline-end:0}}:host .calendar-days-of-week{display:grid;grid-template-columns:repeat(7, 1fr);text-align:center}:host .calendar-body{display:flex;flex-grow:1;scroll-snap-type:x mandatory;overflow-x:scroll;overflow-y:hidden;scrollbar-width:none;outline:none}:host .calendar-body .calendar-month{scroll-snap-align:start;scroll-snap-stop:always;flex-shrink:0;width:100%}:host .calendar-body .calendar-month-disabled{scroll-snap-align:none}:host .calendar-body::-webkit-scrollbar{display:none}:host .calendar-body .calendar-month-grid{display:grid;grid-template-columns:repeat(7, 1fr);height:100%}:host .calendar-day{padding-left:0px;padding-right:0px;padding-top:0px;padding-bottom:0px;margin-left:0px;margin-right:0px;margin-top:0px;margin-bottom:0px;display:flex;position:relative;align-items:center;justify-content:center;border:none;outline:none;background:none;color:currentColor;cursor:pointer;appearance:none;z-index:0}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host .calendar-day{padding-left:unset;padding-right:unset;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px}}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host .calendar-day{margin-left:unset;margin-right:unset;-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px}}:host .calendar-day[disabled]{pointer-events:none;opacity:0.4}:host .calendar-day:after{border-radius:32px;padding-left:4px;padding-right:4px;padding-top:4px;padding-bottom:4px;position:absolute;top:50%;left:50%;width:32px;height:32px;transform:translate(-50%, -50%);content:\" \";z-index:-1}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host .calendar-day:after{padding-left:unset;padding-right:unset;-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px}}:host .datetime-time{display:flex;justify-content:space-between}:host(.datetime-presentation-time) .datetime-time{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host ion-popover{--height:200px}:host .time-header{display:flex;align-items:center}:host .time-body{border-radius:8px;padding-left:12px;padding-right:12px;padding-top:6px;padding-bottom:6px;display:flex;border:none;background:var(--ion-color-step-300, #edeef0);color:var(--ion-text-color, #000);font-family:inherit;font-size:inherit;cursor:pointer;appearance:none}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host .time-body{padding-left:unset;padding-right:unset;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px}}:host .time-body-active{color:var(--ion-color-base)}:host(.in-item){position:static}:host(.show-month-and-year) .calendar-action-buttons ion-item{--color:var(--ion-color-base)}:host{--background:var(--ion-color-light, #ffffff);--background-rgb:var(--ion-color-light-rgb);--title-color:var(--ion-color-step-600, #666666)}:host(.datetime-presentation-date-time:not(.datetime-prefer-wheel)),:host(.datetime-presentation-time-date:not(.datetime-prefer-wheel)),:host(.datetime-presentation-date:not(.datetime-prefer-wheel)){min-height:350px}:host .datetime-header{padding-left:16px;padding-right:16px;padding-top:16px;padding-bottom:16px;border-bottom:0.55px solid var(--ion-color-step-200, #cccccc)}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host .datetime-header{padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}:host .datetime-header .datetime-title{color:var(--title-color);font-size:14px}:host .calendar-action-buttons ion-item{--padding-start:16px;--background-hover:transparent;--background-activated:transparent;font-size:16px;font-weight:600}:host .calendar-action-buttons ion-item ion-icon,:host .calendar-action-buttons ion-buttons ion-button{color:var(--ion-color-base)}:host .calendar-action-buttons ion-buttons{padding-left:0;padding-right:0;padding-top:8px;padding-bottom:0}:host .calendar-action-buttons ion-buttons ion-button{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}:host .calendar-days-of-week{padding-left:8px;padding-right:8px;padding-top:0;padding-bottom:0;color:var(--ion-color-step-300, #b3b3b3);font-size:12px;font-weight:600;line-height:24px;text-transform:uppercase}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host .calendar-days-of-week{padding-left:unset;padding-right:unset;-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px}}:host .calendar-body .calendar-month .calendar-month-grid{padding-left:8px;padding-right:8px;padding-top:8px;padding-bottom:8px;height:calc(100% - 16px)}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host .calendar-body .calendar-month .calendar-month-grid{padding-left:unset;padding-right:unset;-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px}}:host .calendar-day{font-size:20px}:host .calendar-day:after{opacity:0.2}:host .calendar-day:focus:after{background:var(--ion-color-base)}:host .calendar-day.calendar-day-today{color:var(--ion-color-base)}:host .calendar-day.calendar-day-active{color:var(--ion-color-base);font-weight:600}:host .calendar-day.calendar-day-active:after{background:var(--ion-color-base)}:host .calendar-day.calendar-day-today.calendar-day-active{color:var(--ion-color-contrast)}:host .calendar-day.calendar-day-today.calendar-day-active:after{background:var(--ion-color-base);opacity:1}:host .datetime-time{padding-left:16px;padding-right:16px;padding-top:8px;padding-bottom:16px;font-size:16px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host .datetime-time{padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}:host .datetime-time .time-header{font-weight:600}:host .datetime-buttons{padding-left:8px;padding-right:8px;padding-top:8px;padding-bottom:8px;border-top:0.55px solid var(--ion-color-step-200, #cccccc)}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host .datetime-buttons{padding-left:unset;padding-right:unset;-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px}}:host .datetime-buttons ::slotted(ion-buttons),:host .datetime-buttons ion-buttons{display:flex;align-items:center;justify-content:space-between}:host .datetime-action-buttons{width:100%}";
152
-
153
- const datetimeMdCss = ":host{display:flex;flex-flow:column;background:var(--background);overflow:hidden}ion-picker-column-internal{min-width:26px}:host(.datetime-size-fixed){width:auto;height:auto}:host(.datetime-size-fixed:not(.datetime-prefer-wheel)){max-width:350px}:host(.datetime-size-fixed.datetime-prefer-wheel){min-width:350px;max-width:max-content}:host(.datetime-size-cover){width:100%}:host .calendar-body,:host .datetime-year{opacity:0}:host(:not(.datetime-ready)) .datetime-year{position:absolute;pointer-events:none}:host(.datetime-ready) .calendar-body{opacity:1}:host(.datetime-ready) .datetime-year{display:none;opacity:1}:host .wheel-order-year-first .day-column{order:3;text-align:end}:host .wheel-order-year-first .month-column{order:2;text-align:end}:host .wheel-order-year-first .year-column{order:1;text-align:start}:host .datetime-calendar,:host .datetime-year{display:flex;flex:1 1 auto;flex-flow:column}:host(.show-month-and-year) .datetime-year{display:flex}@supports (background: -webkit-named-image(apple-pay-logo-black)) and (not (aspect-ratio: 1/1)){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{left:-99999px;position:absolute;visibility:hidden;pointer-events:none}:host-context([dir=rtl]):host(.show-month-and-year) .calendar-next-prev,:host-context([dir=rtl]).show-month-and-year .calendar-next-prev,:host-context([dir=rtl]):host(.show-month-and-year) .calendar-days-of-week,:host-context([dir=rtl]).show-month-and-year .calendar-days-of-week,:host-context([dir=rtl]):host(.show-month-and-year) .calendar-body,:host-context([dir=rtl]).show-month-and-year .calendar-body,:host-context([dir=rtl]):host(.show-month-and-year) .datetime-time,:host-context([dir=rtl]).show-month-and-year .datetime-time{left:unset;right:unset;right:-99999px}}@supports (not (background: -webkit-named-image(apple-pay-logo-black))) or ((background: -webkit-named-image(apple-pay-logo-black)) and (aspect-ratio: 1/1)){:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{display:none}}:host(.month-year-picker-open) .datetime-footer{display:none}:host(.datetime-readonly),:host(.datetime-disabled){pointer-events:none}:host(.datetime-disabled){opacity:0.4}:host .datetime-header .datetime-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host .datetime-action-buttons.has-clear-button{width:100%}:host .datetime-action-buttons ion-buttons{display:flex;justify-content:space-between}:host .calendar-action-buttons{display:flex;justify-content:space-between}:host .calendar-action-buttons ion-item,:host .calendar-action-buttons ion-button{--background:translucent}:host .calendar-action-buttons ion-item ion-label{display:flex;align-items:center}:host .calendar-action-buttons ion-item ion-icon{padding-left:4px;padding-right:0;padding-top:0;padding-bottom:0}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host .calendar-action-buttons ion-item ion-icon{padding-left:unset;padding-right:unset;-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:0;padding-inline-end:0}}:host .calendar-days-of-week{display:grid;grid-template-columns:repeat(7, 1fr);text-align:center}:host .calendar-body{display:flex;flex-grow:1;scroll-snap-type:x mandatory;overflow-x:scroll;overflow-y:hidden;scrollbar-width:none;outline:none}:host .calendar-body .calendar-month{scroll-snap-align:start;scroll-snap-stop:always;flex-shrink:0;width:100%}:host .calendar-body .calendar-month-disabled{scroll-snap-align:none}:host .calendar-body::-webkit-scrollbar{display:none}:host .calendar-body .calendar-month-grid{display:grid;grid-template-columns:repeat(7, 1fr);height:100%}:host .calendar-day{padding-left:0px;padding-right:0px;padding-top:0px;padding-bottom:0px;margin-left:0px;margin-right:0px;margin-top:0px;margin-bottom:0px;display:flex;position:relative;align-items:center;justify-content:center;border:none;outline:none;background:none;color:currentColor;cursor:pointer;appearance:none;z-index:0}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host .calendar-day{padding-left:unset;padding-right:unset;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px}}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host .calendar-day{margin-left:unset;margin-right:unset;-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px}}:host .calendar-day[disabled]{pointer-events:none;opacity:0.4}:host .calendar-day:after{border-radius:32px;padding-left:4px;padding-right:4px;padding-top:4px;padding-bottom:4px;position:absolute;top:50%;left:50%;width:32px;height:32px;transform:translate(-50%, -50%);content:\" \";z-index:-1}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host .calendar-day:after{padding-left:unset;padding-right:unset;-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px}}:host .datetime-time{display:flex;justify-content:space-between}:host(.datetime-presentation-time) .datetime-time{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host ion-popover{--height:200px}:host .time-header{display:flex;align-items:center}:host .time-body{border-radius:8px;padding-left:12px;padding-right:12px;padding-top:6px;padding-bottom:6px;display:flex;border:none;background:var(--ion-color-step-300, #edeef0);color:var(--ion-text-color, #000);font-family:inherit;font-size:inherit;cursor:pointer;appearance:none}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host .time-body{padding-left:unset;padding-right:unset;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px}}:host .time-body-active{color:var(--ion-color-base)}:host(.in-item){position:static}:host(.show-month-and-year) .calendar-action-buttons ion-item{--color:var(--ion-color-base)}:host{--background:var(--ion-color-step-100, #ffffff);--title-color:var(--ion-color-contrast)}:host .datetime-header{padding-left:20px;padding-right:20px;padding-top:20px;padding-bottom:20px;background:var(--ion-color-base);color:var(--title-color)}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host .datetime-header{padding-left:unset;padding-right:unset;-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px}}:host .datetime-header .datetime-title{font-size:12px;text-transform:uppercase}:host .datetime-header .datetime-selected-date{margin-top:30px;font-size:34px}:host .datetime-calendar .calendar-action-buttons ion-item{--padding-start:20px}:host .calendar-action-buttons ion-item,:host .calendar-action-buttons ion-button{color:var(--ion-color-step-650, #595959)}:host .calendar-days-of-week{padding-left:10px;padding-right:10px;padding-top:0px;padding-bottom:0px;color:var(--ion-color-step-500, gray);font-size:14px;line-height:36px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host .calendar-days-of-week{padding-left:unset;padding-right:unset;-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px}}:host .calendar-body .calendar-month .calendar-month-grid{padding-left:10px;padding-right:10px;padding-top:3px;padding-bottom:0px;grid-template-rows:repeat(6, 1fr)}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host .calendar-body .calendar-month .calendar-month-grid{padding-left:unset;padding-right:unset;-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px}}:host .calendar-day{padding-left:0px;padding-right:0;padding-top:13px;padding-bottom:13px;font-size:14px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host .calendar-day{padding-left:unset;padding-right:unset;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0;padding-inline-end:0}}:host .calendar-day:focus:after{background:rgba(var(--ion-color-base-rgb), 0.2);box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2)}:host .calendar-day.calendar-day-today{color:var(--ion-color-base)}:host .calendar-day.calendar-day-today:after{border:1px solid var(--ion-color-base)}:host .calendar-day.calendar-day-active{color:var(--ion-color-contrast)}:host .calendar-day.calendar-day-active:after{border:1px solid var(--ion-color-base);background:var(--ion-color-base)}:host .datetime-time{padding-left:16px;padding-right:16px;padding-top:8px;padding-bottom:8px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host .datetime-time{padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}:host .time-header{color:var(--ion-color-step-650, #595959)}:host(.datetime-presentation-month) .datetime-year,:host(.datetime-presentation-year) .datetime-year,:host(.datetime-presentation-month-year) .datetime-year{margin-top:20px;margin-bottom:20px}:host .datetime-buttons{padding-left:10px;padding-right:10px;padding-top:10px;padding-bottom:10px;display:flex;align-items:center;justify-content:flex-end}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host .datetime-buttons{padding-left:unset;padding-right:unset;-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px}}:host .datetime-view-buttons ion-button{color:var(--ion-color-step-800, #333333)}";
154
-
155
- const Datetime = class {
156
- constructor(hostRef) {
157
- registerInstance(this, hostRef);
158
- this.ionCancel = createEvent(this, "ionCancel", 7);
159
- this.ionChange = createEvent(this, "ionChange", 7);
160
- this.ionFocus = createEvent(this, "ionFocus", 7);
161
- this.ionBlur = createEvent(this, "ionBlur", 7);
162
- this.ionStyle = createEvent(this, "ionStyle", 7);
163
- this.ionRender = createEvent(this, "ionRender", 7);
164
- this.inputId = `ion-dt-${datetimeIds++}`;
165
- /**
166
- * Whether to highlight the active day with a solid circle (as opposed
167
- * to the outline circle around today). If you don't specify an initial
168
- * value for the datetime, it doesn't automatically init to a default to
169
- * avoid unwanted change events firing. If the solid circle were still
170
- * shown then, it would look like a date had already been selected, which
171
- * is misleading UX.
172
- */
173
- this.highlightActiveParts = false;
174
- this.todayParts = parseDate(getToday());
175
- this.prevPresentation = null;
176
- this.showMonthAndYear = false;
177
- this.activeParts = {
178
- month: 5,
179
- day: 28,
180
- year: 2021,
181
- hour: 13,
182
- minute: 52,
183
- ampm: 'pm',
184
- };
185
- this.workingParts = {
186
- month: 5,
187
- day: 28,
188
- year: 2021,
189
- hour: 13,
190
- minute: 52,
191
- ampm: 'pm',
192
- };
193
- this.isPresented = false;
194
- this.isTimePopoverOpen = false;
195
- /**
196
- * The color to use from your application's color palette.
197
- * Default options are: `"primary"`, `"secondary"`, `"tertiary"`, `"success"`, `"warning"`, `"danger"`, `"light"`, `"medium"`, and `"dark"`.
198
- * For more information on colors, see [theming](/docs/theming/basics).
199
- */
200
- this.color = 'primary';
201
- /**
202
- * The name of the control, which is submitted with the form data.
203
- */
204
- this.name = this.inputId;
205
- /**
206
- * If `true`, the user cannot interact with the datetime.
207
- */
208
- this.disabled = false;
209
- /**
210
- * If `true`, the datetime appears normal but is not interactive.
211
- */
212
- this.readonly = false;
213
- /**
214
- * Which values you want to select. `'date'` will show
215
- * a calendar picker to select the month, day, and year. `'time'`
216
- * will show a time picker to select the hour, minute, and (optionally)
217
- * AM/PM. `'date-time'` will show the date picker first and time picker second.
218
- * `'time-date'` will show the time picker first and date picker second.
219
- */
220
- this.presentation = 'date-time';
221
- /**
222
- * The text to display on the picker's cancel button.
223
- */
224
- this.cancelText = 'Cancel';
225
- /**
226
- * The text to display on the picker's "Done" button.
227
- */
228
- this.doneText = 'Done';
229
- /**
230
- * The text to display on the picker's "Clear" button.
231
- */
232
- this.clearText = 'Clear';
233
- /**
234
- * The locale to use for `ion-datetime`. This
235
- * impacts month and day name formatting.
236
- * The `'default'` value refers to the default
237
- * locale set by your device.
238
- */
239
- this.locale = 'default';
240
- /**
241
- * The first day of the week to use for `ion-datetime`. The
242
- * default value is `0` and represents Sunday.
243
- */
244
- this.firstDayOfWeek = 0;
245
- /**
246
- * If `true`, multiple dates can be selected at once. Only
247
- * applies to `presentation="date"` and `preferWheel="false"`.
248
- */
249
- this.multiple = false;
250
- /**
251
- * If `true`, a header will be shown above the calendar
252
- * picker. On `ios` mode this will include the
253
- * slotted title, and on `md` mode this will include
254
- * the slotted title and the selected date.
255
- */
256
- this.showDefaultTitle = false;
257
- /**
258
- * If `true`, the default "Cancel" and "OK" buttons
259
- * will be rendered at the bottom of the `ion-datetime`
260
- * component. Developers can also use the `button` slot
261
- * if they want to customize these buttons. If custom
262
- * buttons are set in the `button` slot then the
263
- * default buttons will not be rendered.
264
- */
265
- this.showDefaultButtons = false;
266
- /**
267
- * If `true`, a "Clear" button will be rendered alongside
268
- * the default "Cancel" and "OK" buttons at the bottom of the `ion-datetime`
269
- * component. Developers can also use the `button` slot
270
- * if they want to customize these buttons. If custom
271
- * buttons are set in the `button` slot then the
272
- * default buttons will not be rendered.
273
- */
274
- this.showClearButton = false;
275
- /**
276
- * If `true`, the default "Time" label will be rendered
277
- * for the time selector of the `ion-datetime` component.
278
- * Developers can also use the `time-label` slot
279
- * if they want to customize this label. If a custom
280
- * label is set in the `time-label` slot then the
281
- * default label will not be rendered.
282
- */
283
- this.showDefaultTimeLabel = true;
284
- /**
285
- * If `cover`, the `ion-datetime` will expand to cover the full width of its container.
286
- * If `fixed`, the `ion-datetime` will have a fixed width.
287
- */
288
- this.size = 'fixed';
289
- /**
290
- * If `true`, a wheel picker will be rendered instead of a calendar grid
291
- * where possible. If `false`, a calendar grid will be rendered instead of
292
- * a wheel picker where possible.
293
- *
294
- * A wheel picker can be rendered instead of a grid when `presentation` is
295
- * one of the following values: `'date'`, `'date-time'`, or `'time-date'`.
296
- *
297
- * A wheel picker will always be rendered regardless of
298
- * the `preferWheel` value when `presentation` is one of the following values:
299
- * `'time'`, `'month'`, `'month-year'`, or `'year'`.
300
- */
301
- this.preferWheel = false;
302
- this.closeParentOverlay = () => {
303
- const popoverOrModal = this.el.closest('ion-modal, ion-popover');
304
- if (popoverOrModal) {
305
- popoverOrModal.dismiss();
306
- }
307
- };
308
- this.setWorkingParts = (parts) => {
309
- this.workingParts = Object.assign({}, parts);
310
- };
311
- this.setActiveParts = (parts, removeDate = false) => {
312
- const { multiple, activePartsClone, highlightActiveParts } = this;
313
- if (multiple) {
314
- /**
315
- * We read from activePartsClone here because valueChanged() only updates that,
316
- * so it's the more reliable source of truth. If we read from activeParts, then
317
- * if you click July 1, manually set the value to July 2, and then click July 3,
318
- * the new value would be [July 1, July 3], ignoring the value set.
319
- *
320
- * We can then pass the new value to activeParts (rather than activePartsClone)
321
- * since the clone will be updated automatically by activePartsChanged().
322
- */
323
- const activePartsArray = Array.isArray(activePartsClone) ? activePartsClone : [activePartsClone];
324
- if (removeDate) {
325
- this.activeParts = activePartsArray.filter((p) => !isSameDay(p, parts));
326
- }
327
- else if (highlightActiveParts) {
328
- this.activeParts = [...activePartsArray, parts];
329
- }
330
- else {
331
- /**
332
- * If highlightActiveParts is false, that means we just have a
333
- * default value of today in activeParts; we need to replace that
334
- * rather than adding to it since it's just a placeholder.
335
- */
336
- this.activeParts = [parts];
337
- }
338
- }
339
- else {
340
- this.activeParts = Object.assign({}, parts);
341
- }
342
- /**
343
- * Now that the user has interacted somehow to select something, we can
344
- * show the solid highlight. This needs to be done after checking it above,
345
- * but before the confirm call below.
346
- *
347
- * Note that for datetimes with confirm/cancel buttons, the value
348
- * isn't updated until you call confirm(). We need to bring the
349
- * solid circle back on day click for UX reasons, rather than only
350
- * show the circle if `value` is truthy.
351
- */
352
- this.highlightActiveParts = true;
353
- const hasSlottedButtons = this.el.querySelector('[slot="buttons"]') !== null;
354
- if (hasSlottedButtons || this.showDefaultButtons) {
355
- return;
356
- }
357
- this.confirm();
358
- };
359
- this.initializeKeyboardListeners = () => {
360
- const calendarBodyRef = this.calendarBodyRef;
361
- if (!calendarBodyRef) {
362
- return;
363
- }
364
- const root = this.el.shadowRoot;
365
- /**
366
- * Get a reference to the month
367
- * element we are currently viewing.
368
- */
369
- const currentMonth = calendarBodyRef.querySelector('.calendar-month:nth-of-type(2)');
370
- /**
371
- * When focusing the calendar body, we want to pass focus
372
- * to the working day, but other days should
373
- * only be accessible using the arrow keys. Pressing
374
- * Tab should jump between bodies of selectable content.
375
- */
376
- const checkCalendarBodyFocus = (ev) => {
377
- var _a;
378
- const record = ev[0];
379
- /**
380
- * If calendar body was already focused
381
- * when this fired or if the calendar body
382
- * if not currently focused, we should not re-focus
383
- * the inner day.
384
- */
385
- if (((_a = record.oldValue) === null || _a === void 0 ? void 0 : _a.includes('ion-focused')) || !calendarBodyRef.classList.contains('ion-focused')) {
386
- return;
387
- }
388
- this.focusWorkingDay(currentMonth);
389
- };
390
- const mo = new MutationObserver(checkCalendarBodyFocus);
391
- mo.observe(calendarBodyRef, { attributeFilter: ['class'], attributeOldValue: true });
392
- this.destroyKeyboardMO = () => {
393
- mo === null || mo === void 0 ? void 0 : mo.disconnect();
394
- };
395
- /**
396
- * We must use keydown not keyup as we want
397
- * to prevent scrolling when using the arrow keys.
398
- */
399
- calendarBodyRef.addEventListener('keydown', (ev) => {
400
- const activeElement = root.activeElement;
401
- if (!activeElement || !activeElement.classList.contains('calendar-day')) {
402
- return;
403
- }
404
- const parts = getPartsFromCalendarDay(activeElement);
405
- let partsToFocus;
406
- switch (ev.key) {
407
- case 'ArrowDown':
408
- ev.preventDefault();
409
- partsToFocus = getNextWeek(parts);
410
- break;
411
- case 'ArrowUp':
412
- ev.preventDefault();
413
- partsToFocus = getPreviousWeek(parts);
414
- break;
415
- case 'ArrowRight':
416
- ev.preventDefault();
417
- partsToFocus = getNextDay(parts);
418
- break;
419
- case 'ArrowLeft':
420
- ev.preventDefault();
421
- partsToFocus = getPreviousDay(parts);
422
- break;
423
- case 'Home':
424
- ev.preventDefault();
425
- partsToFocus = getStartOfWeek(parts);
426
- break;
427
- case 'End':
428
- ev.preventDefault();
429
- partsToFocus = getEndOfWeek(parts);
430
- break;
431
- case 'PageUp':
432
- ev.preventDefault();
433
- partsToFocus = ev.shiftKey ? getPreviousYear(parts) : getPreviousMonth(parts);
434
- break;
435
- case 'PageDown':
436
- ev.preventDefault();
437
- partsToFocus = ev.shiftKey ? getNextYear(parts) : getNextMonth(parts);
438
- break;
439
- /**
440
- * Do not preventDefault here
441
- * as we do not want to override other
442
- * browser defaults such as pressing Enter/Space
443
- * to select a day.
444
- */
445
- default:
446
- return;
447
- }
448
- /**
449
- * If the day we want to move focus to is
450
- * disabled, do not do anything.
451
- */
452
- if (isDayDisabled(partsToFocus, this.minParts, this.maxParts)) {
453
- return;
454
- }
455
- this.setWorkingParts(Object.assign(Object.assign({}, this.workingParts), partsToFocus));
456
- /**
457
- * Give view a chance to re-render
458
- * then move focus to the new working day
459
- */
460
- requestAnimationFrame(() => this.focusWorkingDay(currentMonth));
461
- });
462
- };
463
- this.focusWorkingDay = (currentMonth) => {
464
- /**
465
- * Get the number of padding days so
466
- * we know how much to offset our next selector by
467
- * to grab the correct calenday-day element.
468
- */
469
- const padding = currentMonth.querySelectorAll('.calendar-day-padding');
470
- const { day } = this.workingParts;
471
- if (day === null) {
472
- return;
473
- }
474
- /**
475
- * Get the calendar day element
476
- * and focus it.
477
- */
478
- const dayEl = currentMonth.querySelector(`.calendar-day:nth-of-type(${padding.length + day})`);
479
- if (dayEl) {
480
- dayEl.focus();
481
- }
482
- };
483
- this.processMinParts = () => {
484
- const { min, todayParts } = this;
485
- if (min === undefined) {
486
- this.minParts = undefined;
487
- return;
488
- }
489
- this.minParts = parseMinParts(min, todayParts);
490
- };
491
- this.processMaxParts = () => {
492
- const { max, todayParts } = this;
493
- if (max === undefined) {
494
- this.maxParts = undefined;
495
- return;
496
- }
497
- this.maxParts = parseMaxParts(max, todayParts);
498
- };
499
- this.initializeCalendarListener = () => {
500
- const calendarBodyRef = this.calendarBodyRef;
501
- if (!calendarBodyRef) {
502
- return;
503
- }
504
- /**
505
- * For performance reasons, we only render 3
506
- * months at a time: The current month, the previous
507
- * month, and the next month. We have a scroll listener
508
- * on the calendar body to append/prepend new months.
509
- *
510
- * We can do this because Stencil is smart enough to not
511
- * re-create the .calendar-month containers, but rather
512
- * update the content within those containers.
513
- *
514
- * As an added bonus, WebKit has some troubles with
515
- * scroll-snap-stop: always, so not rendering all of
516
- * the months in a row allows us to mostly sidestep
517
- * that issue.
518
- */
519
- const months = calendarBodyRef.querySelectorAll('.calendar-month');
520
- const startMonth = months[0];
521
- const workingMonth = months[1];
522
- const endMonth = months[2];
523
- const mode = getIonMode(this);
524
- const needsiOSRubberBandFix = mode === 'ios' && typeof navigator !== 'undefined' && navigator.maxTouchPoints > 1;
525
- /**
526
- * Before setting up the scroll listener,
527
- * scroll the middle month into view.
528
- * scrollIntoView() will scroll entire page
529
- * if element is not in viewport. Use scrollLeft instead.
530
- */
531
- writeTask(() => {
532
- calendarBodyRef.scrollLeft = startMonth.clientWidth * (isRTL(this.el) ? -1 : 1);
533
- const getChangedMonth = (parts) => {
534
- const box = calendarBodyRef.getBoundingClientRect();
535
- const root = this.el.shadowRoot;
536
- /**
537
- * Get the element that is in the center of the calendar body.
538
- * This will be an element inside of the active month.
539
- */
540
- const elementAtCenter = root.elementFromPoint(box.x + box.width / 2, box.y + box.height / 2);
541
- /**
542
- * If there is no element then the
543
- * component may be re-rendering on a slow device.
544
- */
545
- if (!elementAtCenter)
546
- return;
547
- const month = elementAtCenter.closest('.calendar-month');
548
- if (!month)
549
- return;
550
- /**
551
- * The edge of the month must be lined up with
552
- * the edge of the calendar body in order for
553
- * the component to update. Otherwise, it
554
- * may be the case that the user has paused their
555
- * swipe or the browser has not finished snapping yet.
556
- * Rather than check if the x values are equal,
557
- * we give it a tolerance of 2px to account for
558
- * sub pixel rendering.
559
- */
560
- const monthBox = month.getBoundingClientRect();
561
- if (Math.abs(monthBox.x - box.x) > 2)
562
- return;
563
- /**
564
- * From here, we can determine if the start
565
- * month or the end month was scrolled into view.
566
- * If no month was changed, then we can return from
567
- * the scroll callback early.
568
- */
569
- if (month === startMonth) {
570
- return getPreviousMonth(parts);
571
- }
572
- else if (month === endMonth) {
573
- return getNextMonth(parts);
574
- }
575
- else {
576
- return;
577
- }
578
- };
579
- const updateActiveMonth = () => {
580
- if (needsiOSRubberBandFix) {
581
- calendarBodyRef.style.removeProperty('pointer-events');
582
- appliediOSRubberBandFix = false;
583
- }
584
- /**
585
- * If the month did not change
586
- * then we can return early.
587
- */
588
- const newDate = getChangedMonth(this.workingParts);
589
- if (!newDate)
590
- return;
591
- const { month, day, year } = newDate;
592
- if (isMonthDisabled({ month, year, day: null }, {
593
- minParts: Object.assign(Object.assign({}, this.minParts), { day: null }),
594
- maxParts: Object.assign(Object.assign({}, this.maxParts), { day: null }),
595
- })) {
596
- return;
597
- }
598
- /**
599
- * Prevent scrolling for other browsers
600
- * to give the DOM time to update and the container
601
- * time to properly snap.
602
- */
603
- calendarBodyRef.style.setProperty('overflow', 'hidden');
604
- /**
605
- * Use a writeTask here to ensure
606
- * that the state is updated and the
607
- * correct month is scrolled into view
608
- * in the same frame. This is not
609
- * typically a problem on newer devices
610
- * but older/slower device may have a flicker
611
- * if we did not do this.
612
- */
613
- writeTask(() => {
614
- this.setWorkingParts(Object.assign(Object.assign({}, this.workingParts), { month, day: day, year }));
615
- calendarBodyRef.scrollLeft = workingMonth.clientWidth * (isRTL(this.el) ? -1 : 1);
616
- calendarBodyRef.style.removeProperty('overflow');
617
- });
618
- };
619
- /**
620
- * When the container finishes scrolling we
621
- * need to update the DOM with the selected month.
622
- */
623
- let scrollTimeout;
624
- /**
625
- * We do not want to attempt to set pointer-events
626
- * multiple times within a single swipe gesture as
627
- * that adds unnecessary work to the main thread.
628
- */
629
- let appliediOSRubberBandFix = false;
630
- const scrollCallback = () => {
631
- if (scrollTimeout) {
632
- clearTimeout(scrollTimeout);
633
- }
634
- /**
635
- * On iOS it is possible to quickly rubber band
636
- * the scroll area before the scroll timeout has fired.
637
- * This results in users reaching the end of the scrollable
638
- * container before the DOM has updated.
639
- * By setting `pointer-events: none` we can ensure that
640
- * subsequent swipes do not happen while the container
641
- * is snapping.
642
- */
643
- if (!appliediOSRubberBandFix && needsiOSRubberBandFix) {
644
- calendarBodyRef.style.setProperty('pointer-events', 'none');
645
- appliediOSRubberBandFix = true;
646
- }
647
- // Wait ~3 frames
648
- scrollTimeout = setTimeout(updateActiveMonth, 50);
649
- };
650
- calendarBodyRef.addEventListener('scroll', scrollCallback);
651
- this.destroyCalendarListener = () => {
652
- calendarBodyRef.removeEventListener('scroll', scrollCallback);
653
- };
654
- });
655
- };
656
- /**
657
- * Clean up all listeners except for the overlay
658
- * listener. This is so that we can re-create the listeners
659
- * if the datetime has been hidden/presented by a modal or popover.
660
- */
661
- this.destroyInteractionListeners = () => {
662
- const { destroyCalendarListener, destroyKeyboardMO } = this;
663
- if (destroyCalendarListener !== undefined) {
664
- destroyCalendarListener();
665
- }
666
- if (destroyKeyboardMO !== undefined) {
667
- destroyKeyboardMO();
668
- }
669
- };
670
- this.processValue = (value) => {
671
- const hasValue = !!value;
672
- this.highlightActiveParts = hasValue;
673
- let valueToProcess = parseDate(value || getToday());
674
- const { minParts, maxParts, multiple } = this;
675
- if (!multiple && Array.isArray(value)) {
676
- this.value = value[0];
677
- valueToProcess = valueToProcess[0];
678
- }
679
- /**
680
- * Datetime should only warn of out of bounds values
681
- * if set by the user. If the `value` is undefined,
682
- * we will default to today's date which may be out
683
- * of bounds. In this case, the warning makes it look
684
- * like the developer did something wrong which is
685
- * not true.
686
- */
687
- if (hasValue) {
688
- warnIfValueOutOfBounds(valueToProcess, minParts, maxParts);
689
- }
690
- /**
691
- * If there are multiple values, pick an arbitrary one to clamp to. This way,
692
- * if the values are across months, we always show at least one of them. Note
693
- * that the values don't necessarily have to be in order.
694
- */
695
- const singleValue = Array.isArray(valueToProcess) ? valueToProcess[0] : valueToProcess;
696
- const { month, day, year, hour, minute, tzOffset } = clampDate(singleValue, minParts, maxParts);
697
- const ampm = parseAmPm(hour);
698
- this.setWorkingParts({
699
- month,
700
- day,
701
- year,
702
- hour,
703
- minute,
704
- tzOffset,
705
- ampm,
706
- });
707
- if (Array.isArray(valueToProcess)) {
708
- this.activeParts = [...valueToProcess];
709
- }
710
- else {
711
- this.activeParts = {
712
- month,
713
- day,
714
- year,
715
- hour,
716
- minute,
717
- tzOffset,
718
- ampm,
719
- };
720
- }
721
- };
722
- this.onFocus = () => {
723
- this.ionFocus.emit();
724
- };
725
- this.onBlur = () => {
726
- this.ionBlur.emit();
727
- };
728
- this.hasValue = () => {
729
- return this.value != null && this.value !== '';
730
- };
731
- this.nextMonth = () => {
732
- const calendarBodyRef = this.calendarBodyRef;
733
- if (!calendarBodyRef) {
734
- return;
735
- }
736
- const nextMonth = calendarBodyRef.querySelector('.calendar-month:last-of-type');
737
- if (!nextMonth) {
738
- return;
739
- }
740
- const left = nextMonth.offsetWidth * 2;
741
- calendarBodyRef.scrollTo({
742
- top: 0,
743
- left: left * (isRTL(this.el) ? -1 : 1),
744
- behavior: 'smooth',
745
- });
746
- };
747
- this.prevMonth = () => {
748
- const calendarBodyRef = this.calendarBodyRef;
749
- if (!calendarBodyRef) {
750
- return;
751
- }
752
- const prevMonth = calendarBodyRef.querySelector('.calendar-month:first-of-type');
753
- if (!prevMonth) {
754
- return;
755
- }
756
- calendarBodyRef.scrollTo({
757
- top: 0,
758
- left: 0,
759
- behavior: 'smooth',
760
- });
761
- };
762
- this.toggleMonthAndYearView = () => {
763
- this.showMonthAndYear = !this.showMonthAndYear;
764
- };
765
- }
766
- disabledChanged() {
767
- this.emitStyle();
768
- }
769
- minChanged() {
770
- this.processMinParts();
771
- }
772
- maxChanged() {
773
- this.processMaxParts();
774
- }
775
- yearValuesChanged() {
776
- this.parsedYearValues = convertToArrayOfNumbers(this.yearValues);
777
- }
778
- monthValuesChanged() {
779
- this.parsedMonthValues = convertToArrayOfNumbers(this.monthValues);
780
- }
781
- dayValuesChanged() {
782
- this.parsedDayValues = convertToArrayOfNumbers(this.dayValues);
783
- }
784
- hourValuesChanged() {
785
- this.parsedHourValues = convertToArrayOfNumbers(this.hourValues);
786
- }
787
- minuteValuesChanged() {
788
- this.parsedMinuteValues = convertToArrayOfNumbers(this.minuteValues);
789
- }
790
- activePartsChanged() {
791
- this.activePartsClone = this.activeParts;
792
- }
793
- /**
794
- * Update the datetime value when the value changes
795
- */
796
- valueChanged() {
797
- const { value, minParts, maxParts, workingParts, multiple } = this;
798
- if (this.hasValue()) {
799
- if (!multiple && Array.isArray(value)) {
800
- this.value = value[0];
801
- return; // setting this.value will trigger re-run of this function
802
- }
803
- /**
804
- * Clones the value of the `activeParts` to the private clone, to update
805
- * the date display on the current render cycle without causing another render.
806
- *
807
- * This allows us to update the current value's date/time display without
808
- * refocusing or shifting the user's display (leaves the user in place).
809
- */
810
- const valueDateParts = parseDate(value);
811
- if (valueDateParts) {
812
- warnIfValueOutOfBounds(valueDateParts, minParts, maxParts);
813
- if (Array.isArray(valueDateParts)) {
814
- this.activePartsClone = [...valueDateParts];
815
- }
816
- else {
817
- const { month, day, year, hour, minute } = valueDateParts;
818
- const ampm = hour != null ? (hour >= 12 ? 'pm' : 'am') : undefined;
819
- this.activePartsClone = Object.assign(Object.assign({}, this.activeParts), { month,
820
- day,
821
- year,
822
- hour,
823
- minute,
824
- ampm });
825
- /**
826
- * The working parts am/pm value must be updated when the value changes, to
827
- * ensure the time picker hour column values are generated correctly.
828
- *
829
- * Note that we don't need to do this if valueDateParts is an array, since
830
- * multiple="true" does not apply to time pickers.
831
- */
832
- this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { ampm }));
833
- }
834
- }
835
- else {
836
- printIonWarning(`Unable to parse date string: ${value}. Please provide a valid ISO 8601 datetime string.`);
837
- }
838
- }
839
- this.emitStyle();
840
- this.ionChange.emit({ value });
841
- }
842
- /**
843
- * Confirms the selected datetime value, updates the
844
- * `value` property, and optionally closes the popover
845
- * or modal that the datetime was presented in.
846
- */
847
- async confirm(closeOverlay = false) {
848
- const { highlightActiveParts, isCalendarPicker, activeParts } = this;
849
- /**
850
- * We only update the value if the presentation is not a calendar picker,
851
- * or if `highlightActiveParts` is true; indicating that the user
852
- * has selected a date from the calendar picker.
853
- *
854
- * Otherwise "today" would accidentally be set as the value.
855
- */
856
- if (highlightActiveParts || !isCalendarPicker) {
857
- const activePartsIsArray = Array.isArray(activeParts);
858
- if (activePartsIsArray && activeParts.length === 0) {
859
- this.value = undefined;
860
- }
861
- else {
862
- /**
863
- * Prevent convertDataToISO from doing any
864
- * kind of transformation based on timezone
865
- * This cancels out any change it attempts to make
866
- *
867
- * Important: Take the timezone offset based on
868
- * the date that is currently selected, otherwise
869
- * there can be 1 hr difference when dealing w/ DST
870
- */
871
- if (activePartsIsArray) {
872
- const dates = convertDataToISO(activeParts).map((str) => new Date(str));
873
- for (let i = 0; i < dates.length; i++) {
874
- activeParts[i].tzOffset = dates[i].getTimezoneOffset() * -1;
875
- }
876
- }
877
- else {
878
- const date = new Date(convertDataToISO(activeParts));
879
- activeParts.tzOffset = date.getTimezoneOffset() * -1;
880
- }
881
- this.value = convertDataToISO(activeParts);
882
- }
883
- }
884
- if (closeOverlay) {
885
- this.closeParentOverlay();
886
- }
887
- }
888
- /**
889
- * Resets the internal state of the datetime but does not update the value.
890
- * Passing a valid ISO-8601 string will reset the state of the component to the provided date.
891
- * If no value is provided, the internal state will be reset to the clamped value of the min, max and today.
892
- */
893
- async reset(startDate) {
894
- this.processValue(startDate);
895
- }
896
- /**
897
- * Emits the ionCancel event and
898
- * optionally closes the popover
899
- * or modal that the datetime was
900
- * presented in.
901
- */
902
- async cancel(closeOverlay = false) {
903
- this.ionCancel.emit();
904
- if (closeOverlay) {
905
- this.closeParentOverlay();
906
- }
907
- }
908
- get isCalendarPicker() {
909
- const { presentation } = this;
910
- return presentation === 'date' || presentation === 'date-time' || presentation === 'time-date';
911
- }
912
- connectedCallback() {
913
- this.clearFocusVisible = startFocusVisible(this.el).destroy;
914
- }
915
- disconnectedCallback() {
916
- if (this.clearFocusVisible) {
917
- this.clearFocusVisible();
918
- this.clearFocusVisible = undefined;
919
- }
920
- }
921
- initializeListeners() {
922
- this.initializeCalendarListener();
923
- this.initializeKeyboardListeners();
924
- }
925
- componentDidLoad() {
926
- /**
927
- * If a scrollable element is hidden using `display: none`,
928
- * it will not have a scroll height meaning we cannot scroll elements
929
- * into view. As a result, we will need to wait for the datetime to become
930
- * visible if used inside of a modal or a popover otherwise the scrollable
931
- * areas will not have the correct values snapped into place.
932
- */
933
- const visibleCallback = (entries) => {
934
- const ev = entries[0];
935
- if (!ev.isIntersecting) {
936
- return;
937
- }
938
- this.initializeListeners();
939
- /**
940
- * TODO: Datetime needs a frame to ensure that it
941
- * can properly scroll contents into view. As a result
942
- * we hide the scrollable content until after that frame
943
- * so users do not see the content quickly shifting. The downside
944
- * is that the content will pop into view a frame after. Maybe there
945
- * is a better way to handle this?
946
- */
947
- writeTask(() => {
948
- this.el.classList.add('datetime-ready');
949
- });
950
- };
951
- const visibleIO = new IntersectionObserver(visibleCallback, { threshold: 0.01 });
952
- /**
953
- * Use raf to avoid a race condition between the component loading and
954
- * its display animation starting (such as when shown in a modal). This
955
- * could cause the datetime to start at a visibility of 0, erroneously
956
- * triggering the `hiddenIO` observer below.
957
- */
958
- raf(() => visibleIO === null || visibleIO === void 0 ? void 0 : visibleIO.observe(this.el));
959
- /**
960
- * We need to clean up listeners when the datetime is hidden
961
- * in a popover/modal so that we can properly scroll containers
962
- * back into view if they are re-presented. When the datetime is hidden
963
- * the scroll areas have scroll widths/heights of 0px, so any snapping
964
- * we did originally has been lost.
965
- */
966
- const hiddenCallback = (entries) => {
967
- const ev = entries[0];
968
- if (ev.isIntersecting) {
969
- return;
970
- }
971
- this.destroyInteractionListeners();
972
- /**
973
- * When datetime is hidden, we need to make sure that
974
- * the month/year picker is closed. Otherwise,
975
- * it will be open when the datetime re-appears
976
- * and the scroll area of the calendar grid will be 0.
977
- * As a result, the wrong month will be shown.
978
- */
979
- this.showMonthAndYear = false;
980
- writeTask(() => {
981
- this.el.classList.remove('datetime-ready');
982
- });
983
- };
984
- const hiddenIO = new IntersectionObserver(hiddenCallback, { threshold: 0 });
985
- raf(() => hiddenIO === null || hiddenIO === void 0 ? void 0 : hiddenIO.observe(this.el));
986
- /**
987
- * Datetime uses Ionic components that emit
988
- * ionFocus and ionBlur. These events are
989
- * composed meaning they will cross
990
- * the shadow dom boundary. We need to
991
- * stop propagation on these events otherwise
992
- * developers will see 2 ionFocus or 2 ionBlur
993
- * events at a time.
994
- */
995
- const root = getElementRoot(this.el);
996
- root.addEventListener('ionFocus', (ev) => ev.stopPropagation());
997
- root.addEventListener('ionBlur', (ev) => ev.stopPropagation());
998
- }
999
- /**
1000
- * When the presentation is changed, all calendar content is recreated,
1001
- * so we need to re-init behavior with the new elements.
1002
- */
1003
- componentDidRender() {
1004
- const { presentation, prevPresentation } = this;
1005
- if (prevPresentation === null) {
1006
- this.prevPresentation = presentation;
1007
- return;
1008
- }
1009
- if (presentation === prevPresentation) {
1010
- return;
1011
- }
1012
- this.prevPresentation = presentation;
1013
- this.destroyInteractionListeners();
1014
- this.initializeListeners();
1015
- /**
1016
- * The month/year picker from the date interface
1017
- * should be closed as it is not available in non-date
1018
- * interfaces.
1019
- */
1020
- this.showMonthAndYear = false;
1021
- raf(() => {
1022
- this.ionRender.emit();
1023
- });
1024
- }
1025
- componentWillLoad() {
1026
- const { el, multiple, presentation, preferWheel } = this;
1027
- if (multiple) {
1028
- if (presentation !== 'date') {
1029
- printIonWarning('Multiple date selection is only supported for presentation="date".', el);
1030
- }
1031
- if (preferWheel) {
1032
- printIonWarning('Multiple date selection is not supported with preferWheel="true".', el);
1033
- }
1034
- }
1035
- this.processMinParts();
1036
- this.processMaxParts();
1037
- this.processValue(this.value);
1038
- this.parsedHourValues = convertToArrayOfNumbers(this.hourValues);
1039
- this.parsedMinuteValues = convertToArrayOfNumbers(this.minuteValues);
1040
- this.parsedMonthValues = convertToArrayOfNumbers(this.monthValues);
1041
- this.parsedYearValues = convertToArrayOfNumbers(this.yearValues);
1042
- this.parsedDayValues = convertToArrayOfNumbers(this.dayValues);
1043
- this.emitStyle();
1044
- }
1045
- emitStyle() {
1046
- this.ionStyle.emit({
1047
- interactive: true,
1048
- datetime: true,
1049
- 'interactive-disabled': this.disabled,
1050
- });
1051
- }
1052
- /**
1053
- * Universal render methods
1054
- * These are pieces of datetime that
1055
- * are rendered independently of presentation.
1056
- */
1057
- renderFooter() {
1058
- const { showDefaultButtons, showClearButton } = this;
1059
- const hasSlottedButtons = this.el.querySelector('[slot="buttons"]') !== null;
1060
- if (!hasSlottedButtons && !showDefaultButtons && !showClearButton) {
1061
- return;
1062
- }
1063
- const clearButtonClick = () => {
1064
- this.reset();
1065
- this.value = undefined;
1066
- };
1067
- /**
1068
- * By default we render two buttons:
1069
- * Cancel - Dismisses the datetime and
1070
- * does not update the `value` prop.
1071
- * OK - Dismisses the datetime and
1072
- * updates the `value` prop.
1073
- */
1074
- return (h("div", { class: "datetime-footer" }, h("div", { class: "datetime-buttons" }, h("div", { class: {
1075
- ['datetime-action-buttons']: true,
1076
- ['has-clear-button']: this.showClearButton,
1077
- } }, h("slot", { name: "buttons" }, h("ion-buttons", null, showDefaultButtons && (h("ion-button", { id: "cancel-button", color: this.color, onClick: () => this.cancel(true) }, this.cancelText)), h("div", null, showClearButton && (h("ion-button", { id: "clear-button", color: this.color, onClick: () => clearButtonClick() }, this.clearText)), showDefaultButtons && (h("ion-button", { id: "confirm-button", color: this.color, onClick: () => this.confirm(true) }, this.doneText)))))))));
1078
- }
1079
- /**
1080
- * Wheel picker render methods
1081
- */
1082
- renderWheelPicker(forcePresentation = this.presentation) {
1083
- /**
1084
- * If presentation="time-date" we switch the
1085
- * order of the render array here instead of
1086
- * manually reordering each date/time picker
1087
- * column with CSS. This allows for additional
1088
- * flexibility if we need to render subsets
1089
- * of the date/time data or do additional ordering
1090
- * within the child render functions.
1091
- */
1092
- const renderArray = forcePresentation === 'time-date'
1093
- ? [this.renderTimePickerColumns(forcePresentation), this.renderDatePickerColumns(forcePresentation)]
1094
- : [this.renderDatePickerColumns(forcePresentation), this.renderTimePickerColumns(forcePresentation)];
1095
- return h("ion-picker-internal", null, renderArray);
1096
- }
1097
- renderDatePickerColumns(forcePresentation) {
1098
- return forcePresentation === 'date-time' || forcePresentation === 'time-date'
1099
- ? this.renderCombinedDatePickerColumn()
1100
- : this.renderIndividualDatePickerColumns(forcePresentation);
1101
- }
1102
- renderCombinedDatePickerColumn() {
1103
- const { activeParts, workingParts, locale, minParts, maxParts, todayParts, isDateEnabled } = this;
1104
- /**
1105
- * By default, generate a range of 3 months:
1106
- * Previous month, current month, and next month
1107
- */
1108
- const monthsToRender = generateMonths(workingParts);
1109
- /**
1110
- * generateMonths returns the day data as well,
1111
- * but we do not want the day value to act as a max/min
1112
- * on the data we are going to generate.
1113
- */
1114
- for (let i = 0; i <= monthsToRender.length - 1; i++) {
1115
- monthsToRender[i].day = null;
1116
- }
1117
- /**
1118
- * If developers have provided their own
1119
- * min/max values, use that instead. Otherwise,
1120
- * fallback to the default range of 3 months.
1121
- */
1122
- const min = minParts || monthsToRender[0];
1123
- const max = maxParts || monthsToRender[monthsToRender.length - 1];
1124
- const result = getCombinedDateColumnData(locale, workingParts, todayParts, min, max, this.parsedDayValues, this.parsedMonthValues);
1125
- let items = result.items;
1126
- const parts = result.parts;
1127
- if (isDateEnabled) {
1128
- items = items.map((itemObject, index) => {
1129
- const referenceParts = parts[index];
1130
- let disabled;
1131
- try {
1132
- /**
1133
- * The `isDateEnabled` implementation is try-catch wrapped
1134
- * to prevent exceptions in the user's function from
1135
- * interrupting the calendar rendering.
1136
- */
1137
- disabled = !isDateEnabled(convertDataToISO(referenceParts));
1138
- }
1139
- catch (e) {
1140
- printIonError('Exception thrown from provided `isDateEnabled` function. Please check your function and try again.', e);
1141
- }
1142
- return Object.assign(Object.assign({}, itemObject), { disabled });
1143
- });
1144
- }
1145
- /**
1146
- * If we have selected a day already, then default the column
1147
- * to that value. Otherwise, default it to today.
1148
- */
1149
- const todayString = workingParts.day
1150
- ? `${workingParts.year}-${workingParts.month}-${workingParts.day}`
1151
- : `${todayParts.year}-${todayParts.month}-${todayParts.day}`;
1152
- return (h("ion-picker-column-internal", { class: "date-column", color: this.color, items: items, value: todayString, onIonChange: (ev) => {
1153
- // TODO(FW-1823) Remove this when iOS 14 support is dropped.
1154
- // Due to a Safari 14 issue we need to destroy
1155
- // the scroll listener before we update state
1156
- // and trigger a re-render.
1157
- if (this.destroyCalendarListener) {
1158
- this.destroyCalendarListener();
1159
- }
1160
- const { value } = ev.detail;
1161
- const findPart = parts.find(({ month, day, year }) => value === `${year}-${month}-${day}`);
1162
- this.setWorkingParts(Object.assign(Object.assign({}, workingParts), findPart));
1163
- if (!Array.isArray(activeParts)) {
1164
- this.setActiveParts(Object.assign(Object.assign({}, activeParts), findPart));
1165
- }
1166
- // We can re-attach the scroll listener after
1167
- // the working parts have been updated.
1168
- this.initializeCalendarListener();
1169
- ev.stopPropagation();
1170
- } }));
1171
- }
1172
- renderIndividualDatePickerColumns(forcePresentation) {
1173
- const { workingParts, isDateEnabled } = this;
1174
- const shouldRenderMonths = forcePresentation !== 'year' && forcePresentation !== 'time';
1175
- const months = shouldRenderMonths
1176
- ? getMonthColumnData(this.locale, workingParts, this.minParts, this.maxParts, this.parsedMonthValues)
1177
- : [];
1178
- const shouldRenderDays = forcePresentation === 'date';
1179
- let days = shouldRenderDays
1180
- ? getDayColumnData(this.locale, workingParts, this.minParts, this.maxParts, this.parsedDayValues)
1181
- : [];
1182
- if (isDateEnabled) {
1183
- days = days.map((dayObject) => {
1184
- const { value } = dayObject;
1185
- const valueNum = typeof value === 'string' ? parseInt(value) : value;
1186
- const referenceParts = {
1187
- month: workingParts.month,
1188
- day: valueNum,
1189
- year: workingParts.year,
1190
- };
1191
- let disabled;
1192
- try {
1193
- /**
1194
- * The `isDateEnabled` implementation is try-catch wrapped
1195
- * to prevent exceptions in the user's function from
1196
- * interrupting the calendar rendering.
1197
- */
1198
- disabled = !isDateEnabled(convertDataToISO(referenceParts));
1199
- }
1200
- catch (e) {
1201
- printIonError('Exception thrown from provided `isDateEnabled` function. Please check your function and try again.', e);
1202
- }
1203
- return Object.assign(Object.assign({}, dayObject), { disabled });
1204
- });
1205
- }
1206
- const shouldRenderYears = forcePresentation !== 'month' && forcePresentation !== 'time';
1207
- const years = shouldRenderYears
1208
- ? getYearColumnData(this.todayParts, this.minParts, this.maxParts, this.parsedYearValues)
1209
- : [];
1210
- /**
1211
- * Certain locales show the day before the month.
1212
- */
1213
- const showMonthFirst = isMonthFirstLocale(this.locale, { month: 'numeric', day: 'numeric' });
1214
- let renderArray = [];
1215
- if (showMonthFirst) {
1216
- renderArray = [
1217
- this.renderMonthPickerColumn(months),
1218
- this.renderDayPickerColumn(days),
1219
- this.renderYearPickerColumn(years),
1220
- ];
1221
- }
1222
- else {
1223
- renderArray = [
1224
- this.renderDayPickerColumn(days),
1225
- this.renderMonthPickerColumn(months),
1226
- this.renderYearPickerColumn(years),
1227
- ];
1228
- }
1229
- return renderArray;
1230
- }
1231
- renderDayPickerColumn(days) {
1232
- var _a;
1233
- if (days.length === 0) {
1234
- return [];
1235
- }
1236
- const { activeParts, workingParts } = this;
1237
- return (h("ion-picker-column-internal", { class: "day-column", color: this.color, items: days, value: (_a = (workingParts.day || this.todayParts.day)) !== null && _a !== void 0 ? _a : undefined, onIonChange: (ev) => {
1238
- // TODO(FW-1823) Remove this when iOS 14 support is dropped.
1239
- // Due to a Safari 14 issue we need to destroy
1240
- // the scroll listener before we update state
1241
- // and trigger a re-render.
1242
- if (this.destroyCalendarListener) {
1243
- this.destroyCalendarListener();
1244
- }
1245
- this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { day: ev.detail.value }));
1246
- if (!Array.isArray(activeParts)) {
1247
- this.setActiveParts(Object.assign(Object.assign({}, activeParts), { day: ev.detail.value }));
1248
- }
1249
- // We can re-attach the scroll listener after
1250
- // the working parts have been updated.
1251
- this.initializeCalendarListener();
1252
- ev.stopPropagation();
1253
- } }));
1254
- }
1255
- renderMonthPickerColumn(months) {
1256
- if (months.length === 0) {
1257
- return [];
1258
- }
1259
- const { activeParts, workingParts } = this;
1260
- return (h("ion-picker-column-internal", { class: "month-column", color: this.color, items: months, value: workingParts.month, onIonChange: (ev) => {
1261
- // TODO(FW-1823) Remove this when iOS 14 support is dropped.
1262
- // Due to a Safari 14 issue we need to destroy
1263
- // the scroll listener before we update state
1264
- // and trigger a re-render.
1265
- if (this.destroyCalendarListener) {
1266
- this.destroyCalendarListener();
1267
- }
1268
- this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { month: ev.detail.value }));
1269
- if (!Array.isArray(activeParts)) {
1270
- this.setActiveParts(Object.assign(Object.assign({}, activeParts), { month: ev.detail.value }));
1271
- }
1272
- // We can re-attach the scroll listener after
1273
- // the working parts have been updated.
1274
- this.initializeCalendarListener();
1275
- ev.stopPropagation();
1276
- } }));
1277
- }
1278
- renderYearPickerColumn(years) {
1279
- if (years.length === 0) {
1280
- return [];
1281
- }
1282
- const { activeParts, workingParts } = this;
1283
- return (h("ion-picker-column-internal", { class: "year-column", color: this.color, items: years, value: workingParts.year, onIonChange: (ev) => {
1284
- // TODO(FW-1823) Remove this when iOS 14 support is dropped.
1285
- // Due to a Safari 14 issue we need to destroy
1286
- // the scroll listener before we update state
1287
- // and trigger a re-render.
1288
- if (this.destroyCalendarListener) {
1289
- this.destroyCalendarListener();
1290
- }
1291
- this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { year: ev.detail.value }));
1292
- if (!Array.isArray(activeParts)) {
1293
- this.setActiveParts(Object.assign(Object.assign({}, activeParts), { year: ev.detail.value }));
1294
- }
1295
- // We can re-attach the scroll listener after
1296
- // the working parts have been updated.
1297
- this.initializeCalendarListener();
1298
- ev.stopPropagation();
1299
- } }));
1300
- }
1301
- renderTimePickerColumns(forcePresentation) {
1302
- if (['date', 'month', 'month-year', 'year'].includes(forcePresentation)) {
1303
- return [];
1304
- }
1305
- const { hoursData, minutesData, dayPeriodData } = getTimeColumnsData(this.locale, this.workingParts, this.hourCycle, this.value ? this.minParts : undefined, this.value ? this.maxParts : undefined, this.parsedHourValues, this.parsedMinuteValues);
1306
- return [
1307
- this.renderHourPickerColumn(hoursData),
1308
- this.renderMinutePickerColumn(minutesData),
1309
- this.renderDayPeriodPickerColumn(dayPeriodData),
1310
- ];
1311
- }
1312
- renderHourPickerColumn(hoursData) {
1313
- const { workingParts, activePartsClone } = this;
1314
- if (hoursData.length === 0)
1315
- return [];
1316
- return (h("ion-picker-column-internal", { color: this.color, value: activePartsClone.hour, items: hoursData, numericInput: true, onIonChange: (ev) => {
1317
- this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { hour: ev.detail.value }));
1318
- if (!Array.isArray(activePartsClone)) {
1319
- this.setActiveParts(Object.assign(Object.assign({}, activePartsClone), { hour: ev.detail.value }));
1320
- }
1321
- ev.stopPropagation();
1322
- } }));
1323
- }
1324
- renderMinutePickerColumn(minutesData) {
1325
- const { workingParts, activePartsClone } = this;
1326
- if (minutesData.length === 0)
1327
- return [];
1328
- return (h("ion-picker-column-internal", { color: this.color, value: activePartsClone.minute, items: minutesData, numericInput: true, onIonChange: (ev) => {
1329
- this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { minute: ev.detail.value }));
1330
- if (!Array.isArray(activePartsClone)) {
1331
- this.setActiveParts(Object.assign(Object.assign({}, activePartsClone), { minute: ev.detail.value }));
1332
- }
1333
- ev.stopPropagation();
1334
- } }));
1335
- }
1336
- renderDayPeriodPickerColumn(dayPeriodData) {
1337
- const { workingParts, activePartsClone } = this;
1338
- if (dayPeriodData.length === 0) {
1339
- return [];
1340
- }
1341
- const isDayPeriodRTL = isLocaleDayPeriodRTL(this.locale);
1342
- return (h("ion-picker-column-internal", { style: isDayPeriodRTL ? { order: '-1' } : {}, color: this.color, value: activePartsClone.ampm, items: dayPeriodData, onIonChange: (ev) => {
1343
- const hour = calculateHourFromAMPM(workingParts, ev.detail.value);
1344
- this.setWorkingParts(Object.assign(Object.assign({}, workingParts), { ampm: ev.detail.value, hour }));
1345
- if (!Array.isArray(activePartsClone)) {
1346
- this.setActiveParts(Object.assign(Object.assign({}, activePartsClone), { ampm: ev.detail.value, hour }));
1347
- }
1348
- ev.stopPropagation();
1349
- } }));
1350
- }
1351
- renderWheelView(forcePresentation) {
1352
- const { locale } = this;
1353
- const showMonthFirst = isMonthFirstLocale(locale);
1354
- const columnOrder = showMonthFirst ? 'month-first' : 'year-first';
1355
- return (h("div", { class: {
1356
- [`wheel-order-${columnOrder}`]: true,
1357
- } }, this.renderWheelPicker(forcePresentation)));
1358
- }
1359
- /**
1360
- * Grid Render Methods
1361
- */
1362
- renderCalendarHeader(mode) {
1363
- const expandedIcon = mode === 'ios' ? chevronDown : caretUpSharp;
1364
- const collapsedIcon = mode === 'ios' ? chevronForward : caretDownSharp;
1365
- const prevMonthDisabled = isPrevMonthDisabled(this.workingParts, this.minParts, this.maxParts);
1366
- const nextMonthDisabled = isNextMonthDisabled(this.workingParts, this.maxParts);
1367
- return (h("div", { class: "calendar-header" }, h("div", { class: "calendar-action-buttons" }, h("div", { class: "calendar-month-year" }, h("ion-item", { button: true, detail: false, lines: "none", onClick: () => this.toggleMonthAndYearView() }, h("ion-label", null, getMonthAndYear(this.locale, this.workingParts), ' ', h("ion-icon", { icon: this.showMonthAndYear ? expandedIcon : collapsedIcon, lazy: false })))), h("div", { class: "calendar-next-prev" }, h("ion-buttons", null, h("ion-button", { "aria-label": "previous month", disabled: prevMonthDisabled, onClick: () => this.prevMonth() }, h("ion-icon", { "aria-hidden": "true", slot: "icon-only", icon: chevronBack, lazy: false, flipRtl: true })), h("ion-button", { "aria-label": "next month", disabled: nextMonthDisabled, onClick: () => this.nextMonth() }, h("ion-icon", { "aria-hidden": "true", slot: "icon-only", icon: chevronForward, lazy: false, flipRtl: true }))))), h("div", { class: "calendar-days-of-week" }, getDaysOfWeek(this.locale, mode, this.firstDayOfWeek % 7).map((d) => {
1368
- return h("div", { class: "day-of-week" }, d);
1369
- }))));
1370
- }
1371
- renderMonth(month, year) {
1372
- const { highlightActiveParts } = this;
1373
- const yearAllowed = this.parsedYearValues === undefined || this.parsedYearValues.includes(year);
1374
- const monthAllowed = this.parsedMonthValues === undefined || this.parsedMonthValues.includes(month);
1375
- const isCalMonthDisabled = !yearAllowed || !monthAllowed;
1376
- const swipeDisabled = isMonthDisabled({
1377
- month,
1378
- year,
1379
- day: null,
1380
- }, {
1381
- // The day is not used when checking if a month is disabled.
1382
- // Users should be able to access the min or max month, even if the
1383
- // min/max date is out of bounds (e.g. min is set to Feb 15, Feb should not be disabled).
1384
- minParts: Object.assign(Object.assign({}, this.minParts), { day: null }),
1385
- maxParts: Object.assign(Object.assign({}, this.maxParts), { day: null }),
1386
- });
1387
- // The working month should never have swipe disabled.
1388
- // Otherwise the CSS scroll snap will not work and the user
1389
- // can free-scroll the calendar.
1390
- const isWorkingMonth = this.workingParts.month === month && this.workingParts.year === year;
1391
- return (h("div", { class: {
1392
- 'calendar-month': true,
1393
- // Prevents scroll snap swipe gestures for months outside of the min/max bounds
1394
- 'calendar-month-disabled': !isWorkingMonth && swipeDisabled,
1395
- } }, h("div", { class: "calendar-month-grid" }, getDaysOfMonth(month, year, this.firstDayOfWeek % 7).map((dateObject, index) => {
1396
- const { day, dayOfWeek } = dateObject;
1397
- const { isDateEnabled, multiple } = this;
1398
- const referenceParts = { month, day, year };
1399
- const { isActive, isToday, ariaLabel, ariaSelected, disabled } = getCalendarDayState(this.locale, referenceParts, this.activePartsClone, this.todayParts, this.minParts, this.maxParts, this.parsedDayValues);
1400
- let isCalDayDisabled = isCalMonthDisabled || disabled;
1401
- if (!isCalDayDisabled && isDateEnabled !== undefined) {
1402
- try {
1403
- /**
1404
- * The `isDateEnabled` implementation is try-catch wrapped
1405
- * to prevent exceptions in the user's function from
1406
- * interrupting the calendar rendering.
1407
- */
1408
- isCalDayDisabled = !isDateEnabled(convertDataToISO(referenceParts));
1409
- }
1410
- catch (e) {
1411
- printIonError('Exception thrown from provided `isDateEnabled` function. Please check your function and try again.', e);
1412
- }
1413
- }
1414
- return (h("button", { tabindex: "-1", "data-day": day, "data-month": month, "data-year": year, "data-index": index, "data-day-of-week": dayOfWeek, disabled: isCalDayDisabled, class: {
1415
- 'calendar-day-padding': day === null,
1416
- 'calendar-day': true,
1417
- 'calendar-day-active': isActive && highlightActiveParts,
1418
- 'calendar-day-today': isToday,
1419
- }, "aria-selected": ariaSelected, "aria-label": ariaLabel, onClick: () => {
1420
- if (day === null) {
1421
- return;
1422
- }
1423
- this.setWorkingParts(Object.assign(Object.assign({}, this.workingParts), { month,
1424
- day,
1425
- year }));
1426
- // multiple only needs date info, so we can wipe out other fields like time
1427
- if (multiple) {
1428
- this.setActiveParts({
1429
- month,
1430
- day,
1431
- year,
1432
- }, isActive && highlightActiveParts);
1433
- }
1434
- else {
1435
- this.setActiveParts(Object.assign(Object.assign({}, this.activeParts), { month,
1436
- day,
1437
- year }));
1438
- }
1439
- } }, day));
1440
- }))));
1441
- }
1442
- renderCalendarBody() {
1443
- return (h("div", { class: "calendar-body ion-focusable", ref: (el) => (this.calendarBodyRef = el), tabindex: "0" }, generateMonths(this.workingParts).map(({ month, year }) => {
1444
- return this.renderMonth(month, year);
1445
- })));
1446
- }
1447
- renderCalendar(mode) {
1448
- return (h("div", { class: "datetime-calendar", key: "datetime-calendar" }, this.renderCalendarHeader(mode), this.renderCalendarBody()));
1449
- }
1450
- renderTimeLabel() {
1451
- const hasSlottedTimeLabel = this.el.querySelector('[slot="time-label"]') !== null;
1452
- if (!hasSlottedTimeLabel && !this.showDefaultTimeLabel) {
1453
- return;
1454
- }
1455
- return h("slot", { name: "time-label" }, "Time");
1456
- }
1457
- renderTimeOverlay() {
1458
- const use24Hour = is24Hour(this.locale, this.hourCycle);
1459
- return [
1460
- h("div", { class: "time-header" }, this.renderTimeLabel()),
1461
- h("button", { class: {
1462
- 'time-body': true,
1463
- 'time-body-active': this.isTimePopoverOpen,
1464
- }, "aria-expanded": "false", "aria-haspopup": "true", onClick: async (ev) => {
1465
- const { popoverRef } = this;
1466
- if (popoverRef) {
1467
- this.isTimePopoverOpen = true;
1468
- popoverRef.present(new CustomEvent('ionShadowTarget', {
1469
- detail: {
1470
- ionShadowTarget: ev.target,
1471
- },
1472
- }));
1473
- await popoverRef.onWillDismiss();
1474
- this.isTimePopoverOpen = false;
1475
- }
1476
- } }, getLocalizedTime(this.locale, this.activePartsClone, use24Hour)),
1477
- h("ion-popover", { alignment: "center", translucent: true, overlayIndex: 1, arrow: false, onWillPresent: (ev) => {
1478
- /**
1479
- * Intersection Observers do not consistently fire between Blink and Webkit
1480
- * when toggling the visibility of the popover and trying to scroll the picker
1481
- * column to the correct time value.
1482
- *
1483
- * This will correctly scroll the element position to the correct time value,
1484
- * before the popover is fully presented.
1485
- */
1486
- const cols = ev.target.querySelectorAll('ion-picker-column-internal');
1487
- // TODO (FW-615): Potentially remove this when intersection observers are fixed in picker column
1488
- cols.forEach((col) => col.scrollActiveItemIntoView());
1489
- }, style: {
1490
- '--offset-y': '-10px',
1491
- '--min-width': 'fit-content',
1492
- },
1493
- // Allow native browser keyboard events to support up/down/home/end key
1494
- // navigation within the time picker.
1495
- keyboardEvents: true, ref: (el) => (this.popoverRef = el) }, this.renderWheelPicker('time')),
1496
- ];
1497
- }
1498
- renderCalendarViewHeader(mode) {
1499
- const hasSlottedTitle = this.el.querySelector('[slot="title"]') !== null;
1500
- if (!hasSlottedTitle && !this.showDefaultTitle) {
1501
- return;
1502
- }
1503
- return (h("div", { class: "datetime-header" }, h("div", { class: "datetime-title" }, h("slot", { name: "title" }, "Select Date")), mode === 'md' && !this.multiple && (h("div", { class: "datetime-selected-date" }, getMonthAndDay(this.locale, this.activeParts)))));
1504
- }
1505
- /**
1506
- * Render time picker inside of datetime.
1507
- * Do not pass color prop to segment on
1508
- * iOS mode. MD segment has been customized and
1509
- * should take on the color prop, but iOS
1510
- * should just be the default segment.
1511
- */
1512
- renderTime() {
1513
- const { presentation } = this;
1514
- const timeOnlyPresentation = presentation === 'time';
1515
- return (h("div", { class: "datetime-time" }, timeOnlyPresentation ? this.renderWheelPicker() : this.renderTimeOverlay()));
1516
- }
1517
- /**
1518
- * Renders the month/year picker that is
1519
- * displayed on the calendar grid.
1520
- * The .datetime-year class has additional
1521
- * styles that let us show/hide the
1522
- * picker when the user clicks on the
1523
- * toggle in the calendar header.
1524
- */
1525
- renderCalendarViewMonthYearPicker() {
1526
- return h("div", { class: "datetime-year" }, this.renderWheelView('month-year'));
1527
- }
1528
- /**
1529
- * Render entry point
1530
- * All presentation types are rendered from here.
1531
- */
1532
- renderDatetime(mode) {
1533
- const { presentation, preferWheel } = this;
1534
- /**
1535
- * Certain presentation types have separate grid and wheel displays.
1536
- * If preferWheel is true then we should show a wheel picker instead.
1537
- */
1538
- const hasWheelVariant = presentation === 'date' || presentation === 'date-time' || presentation === 'time-date';
1539
- if (preferWheel && hasWheelVariant) {
1540
- return [this.renderWheelView(), this.renderFooter()];
1541
- }
1542
- switch (presentation) {
1543
- case 'date-time':
1544
- return [
1545
- this.renderCalendarViewHeader(mode),
1546
- this.renderCalendar(mode),
1547
- this.renderCalendarViewMonthYearPicker(),
1548
- this.renderTime(),
1549
- this.renderFooter(),
1550
- ];
1551
- case 'time-date':
1552
- return [
1553
- this.renderCalendarViewHeader(mode),
1554
- this.renderTime(),
1555
- this.renderCalendar(mode),
1556
- this.renderCalendarViewMonthYearPicker(),
1557
- this.renderFooter(),
1558
- ];
1559
- case 'time':
1560
- return [this.renderTime(), this.renderFooter()];
1561
- case 'month':
1562
- case 'month-year':
1563
- case 'year':
1564
- return [this.renderWheelView(), this.renderFooter()];
1565
- default:
1566
- return [
1567
- this.renderCalendarViewHeader(mode),
1568
- this.renderCalendar(mode),
1569
- this.renderCalendarViewMonthYearPicker(),
1570
- this.renderFooter(),
1571
- ];
1572
- }
1573
- }
1574
- render() {
1575
- const { name, value, disabled, el, color, isPresented, readonly, showMonthAndYear, preferWheel, presentation, size, } = this;
1576
- const mode = getIonMode(this);
1577
- const isMonthAndYearPresentation = presentation === 'year' || presentation === 'month' || presentation === 'month-year';
1578
- const shouldShowMonthAndYear = showMonthAndYear || isMonthAndYearPresentation;
1579
- const monthYearPickerOpen = showMonthAndYear && !isMonthAndYearPresentation;
1580
- const hasDatePresentation = presentation === 'date' || presentation === 'date-time' || presentation === 'time-date';
1581
- const hasWheelVariant = hasDatePresentation && preferWheel;
1582
- const hasGrid = hasDatePresentation && !preferWheel;
1583
- renderHiddenInput(true, el, name, formatValue(value), disabled);
1584
- return (h(Host, { "aria-disabled": disabled ? 'true' : null, onFocus: this.onFocus, onBlur: this.onBlur, class: Object.assign({}, createColorClasses(color, {
1585
- [mode]: true,
1586
- ['datetime-presented']: isPresented,
1587
- ['datetime-readonly']: readonly,
1588
- ['datetime-disabled']: disabled,
1589
- 'show-month-and-year': shouldShowMonthAndYear,
1590
- 'month-year-picker-open': monthYearPickerOpen,
1591
- [`datetime-presentation-${presentation}`]: true,
1592
- [`datetime-size-${size}`]: true,
1593
- [`datetime-prefer-wheel`]: hasWheelVariant,
1594
- [`datetime-grid`]: hasGrid,
1595
- })) }, this.renderDatetime(mode)));
1596
- }
1597
- get el() { return getElement(this); }
1598
- static get watchers() { return {
1599
- "disabled": ["disabledChanged"],
1600
- "min": ["minChanged"],
1601
- "max": ["maxChanged"],
1602
- "yearValues": ["yearValuesChanged"],
1603
- "monthValues": ["monthValuesChanged"],
1604
- "dayValues": ["dayValuesChanged"],
1605
- "hourValues": ["hourValuesChanged"],
1606
- "minuteValues": ["minuteValuesChanged"],
1607
- "activeParts": ["activePartsChanged"],
1608
- "value": ["valueChanged"]
1609
- }; }
1610
- };
1611
- let datetimeIds = 0;
1612
- Datetime.style = {
1613
- ios: datetimeIosCss,
1614
- md: datetimeMdCss
1615
- };
1616
-
1617
- const pickerColumnInternalIosCss = ":host{padding-left:16px;padding-right:16px;padding-top:0px;padding-bottom:0px;height:200px;outline:none;font-size:22px;scroll-snap-type:y mandatory;overflow-x:hidden;overflow-y:scroll;scrollbar-width:none;text-align:center}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}:host::-webkit-scrollbar{display:none}:host .picker-item{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;height:34px;border:0px;outline:none;background:transparent;color:inherit;font-size:inherit;line-height:34px;text-align:inherit;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;overflow:hidden;scroll-snap-align:center}:host .picker-item-empty,:host .picker-item.picker-item-disabled{scroll-snap-align:none;cursor:default}:host .picker-item.picker-item-disabled{opacity:0.4}:host(.picker-column-active) .picker-item.picker-item-active{color:var(--ion-color-base)}@media (any-hover: hover){:host(:focus){outline:none;background:rgba(var(--ion-color-base-rgb), 0.2)}}";
1618
-
1619
- const pickerColumnInternalMdCss = ":host{padding-left:16px;padding-right:16px;padding-top:0px;padding-bottom:0px;height:200px;outline:none;font-size:22px;scroll-snap-type:y mandatory;overflow-x:hidden;overflow-y:scroll;scrollbar-width:none;text-align:center}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}:host::-webkit-scrollbar{display:none}:host .picker-item{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;height:34px;border:0px;outline:none;background:transparent;color:inherit;font-size:inherit;line-height:34px;text-align:inherit;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;overflow:hidden;scroll-snap-align:center}:host .picker-item-empty,:host .picker-item.picker-item-disabled{scroll-snap-align:none;cursor:default}:host .picker-item.picker-item-disabled{opacity:0.4}:host(.picker-column-active) .picker-item.picker-item-active{color:var(--ion-color-base)}@media (any-hover: hover){:host(:focus){outline:none;background:rgba(var(--ion-color-base-rgb), 0.2)}}:host .picker-item-active{color:var(--ion-color-base)}";
1620
-
1621
- const PickerColumnInternal = class {
1622
- constructor(hostRef) {
1623
- registerInstance(this, hostRef);
1624
- this.ionChange = createEvent(this, "ionChange", 7);
1625
- this.isScrolling = false;
1626
- this.isColumnVisible = false;
1627
- this.isActive = false;
1628
- /**
1629
- * A list of options to be displayed in the picker
1630
- */
1631
- this.items = [];
1632
- /**
1633
- * The color to use from your application's color palette.
1634
- * Default options are: `"primary"`, `"secondary"`, `"tertiary"`, `"success"`, `"warning"`, `"danger"`, `"light"`, `"medium"`, and `"dark"`.
1635
- * For more information on colors, see [theming](/docs/theming/basics).
1636
- */
1637
- this.color = 'primary';
1638
- /**
1639
- * If `true`, tapping the picker will
1640
- * reveal a number input keyboard that lets
1641
- * the user type in values for each picker
1642
- * column. This is useful when working
1643
- * with time pickers.
1644
- *
1645
- * @internal
1646
- */
1647
- this.numericInput = false;
1648
- this.centerPickerItemInView = (target, smooth = true) => {
1649
- const { el, isColumnVisible } = this;
1650
- if (isColumnVisible) {
1651
- // (Vertical offset from parent) - (three empty picker rows) + (half the height of the target to ensure the scroll triggers)
1652
- const top = target.offsetTop - 3 * target.clientHeight + target.clientHeight / 2;
1653
- if (el.scrollTop !== top) {
1654
- el.scroll({
1655
- top,
1656
- left: 0,
1657
- behavior: smooth ? 'smooth' : undefined,
1658
- });
1659
- }
1660
- }
1661
- };
1662
- /**
1663
- * When ionInputModeChange is emitted, each column
1664
- * needs to check if it is the one being made available
1665
- * for text entry.
1666
- */
1667
- this.inputModeChange = (ev) => {
1668
- if (!this.numericInput) {
1669
- return;
1670
- }
1671
- const { useInputMode, inputModeColumn } = ev.detail;
1672
- /**
1673
- * If inputModeColumn is undefined then this means
1674
- * all numericInput columns are being selected.
1675
- */
1676
- const isColumnActive = inputModeColumn === undefined || inputModeColumn === this.el;
1677
- if (!useInputMode || !isColumnActive) {
1678
- this.setInputModeActive(false);
1679
- return;
1680
- }
1681
- this.setInputModeActive(true);
1682
- };
1683
- /**
1684
- * Setting isActive will cause a re-render.
1685
- * As a result, we do not want to cause the
1686
- * re-render mid scroll as this will cause
1687
- * the picker column to jump back to
1688
- * whatever value was selected at the
1689
- * start of the scroll interaction.
1690
- */
1691
- this.setInputModeActive = (state) => {
1692
- if (this.isScrolling) {
1693
- this.scrollEndCallback = () => {
1694
- this.isActive = state;
1695
- };
1696
- return;
1697
- }
1698
- this.isActive = state;
1699
- };
1700
- /**
1701
- * When the column scrolls, the component
1702
- * needs to determine which item is centered
1703
- * in the view and will emit an ionChange with
1704
- * the item object.
1705
- */
1706
- this.initializeScrollListener = () => {
1707
- const { el } = this;
1708
- let timeout;
1709
- let activeEl = this.activeItem;
1710
- const scrollCallback = () => {
1711
- raf(() => {
1712
- if (timeout) {
1713
- clearTimeout(timeout);
1714
- timeout = undefined;
1715
- }
1716
- if (!this.isScrolling) {
1717
- hapticSelectionStart();
1718
- this.isScrolling = true;
1719
- }
1720
- /**
1721
- * Select item in the center of the column
1722
- * which is the month/year that we want to select
1723
- */
1724
- const bbox = el.getBoundingClientRect();
1725
- const centerX = bbox.x + bbox.width / 2;
1726
- const centerY = bbox.y + bbox.height / 2;
1727
- const activeElement = el.shadowRoot.elementFromPoint(centerX, centerY);
1728
- if (activeEl !== null) {
1729
- activeEl.classList.remove(PICKER_COL_ACTIVE);
1730
- }
1731
- if (activeElement.disabled) {
1732
- return;
1733
- }
1734
- /**
1735
- * If we are selecting a new value,
1736
- * we need to run haptics again.
1737
- */
1738
- if (activeElement !== activeEl) {
1739
- hapticSelectionChanged();
1740
- }
1741
- activeEl = activeElement;
1742
- activeElement.classList.add(PICKER_COL_ACTIVE);
1743
- timeout = setTimeout(() => {
1744
- this.isScrolling = false;
1745
- hapticSelectionEnd();
1746
- /**
1747
- * Certain tasks (such as those that
1748
- * cause re-renders) should only be done
1749
- * once scrolling has finished, otherwise
1750
- * flickering may occur.
1751
- */
1752
- const { scrollEndCallback } = this;
1753
- if (scrollEndCallback) {
1754
- scrollEndCallback();
1755
- this.scrollEndCallback = undefined;
1756
- }
1757
- const dataIndex = activeElement.getAttribute('data-index');
1758
- /**
1759
- * If no value it is
1760
- * possible we hit one of the
1761
- * empty padding columns.
1762
- */
1763
- if (dataIndex === null) {
1764
- return;
1765
- }
1766
- const index = parseInt(dataIndex, 10);
1767
- const selectedItem = this.items[index];
1768
- if (selectedItem.value !== this.value) {
1769
- this.setValue(selectedItem.value);
1770
- }
1771
- }, 250);
1772
- });
1773
- };
1774
- /**
1775
- * Wrap this in an raf so that the scroll callback
1776
- * does not fire when component is initially shown.
1777
- */
1778
- raf(() => {
1779
- el.addEventListener('scroll', scrollCallback);
1780
- this.destroyScrollListener = () => {
1781
- el.removeEventListener('scroll', scrollCallback);
1782
- };
1783
- });
1784
- };
1785
- }
1786
- itemsChange(currentItems, previousItems) {
1787
- const { value } = this;
1788
- /**
1789
- * When the items change, it is possible for the item
1790
- * that was selected to no longer exist. In that case, we need
1791
- * to automatically select the nearest item. If we do not,
1792
- * then the scroll position will be reset to zero and it will
1793
- * look like the first item was automatically selected.
1794
- *
1795
- * If we cannot find a closest item then we do nothing, and
1796
- * the browser will reset the scroll position to 0.
1797
- */
1798
- const findCurrentItem = currentItems.find((item) => item.value === value);
1799
- if (!findCurrentItem) {
1800
- /**
1801
- * The default behavior is to assume
1802
- * that the new set of data is similar to the old
1803
- * set of data, just with some items filtered out.
1804
- * We walk backwards through the data to find the
1805
- * closest enabled picker item and select it.
1806
- *
1807
- * Developers can also swap the items out for an entirely
1808
- * new set of data. In that case, the value we select
1809
- * here likely will not make much sense. For this use case,
1810
- * developers should update the `value` prop themselves
1811
- * when swapping out the data.
1812
- */
1813
- const findPreviousItemIndex = previousItems.findIndex((item) => item.value === value);
1814
- if (findPreviousItemIndex === -1) {
1815
- return;
1816
- }
1817
- /**
1818
- * Step through the current items backwards
1819
- * until we find a neighbor we can select.
1820
- * We start at the last known location of the
1821
- * current selected item in order to
1822
- * account for data that has been added. This
1823
- * search prioritizes stability in that it
1824
- * tries to keep the scroll position as close
1825
- * to where it was before the update.
1826
- * Before Items: ['a', 'b', 'c'], Selected Value: 'b'
1827
- * After Items: ['a', 'dog', 'c']
1828
- * Even though 'dog' is a different item than 'b',
1829
- * it is the closest item we can select while
1830
- * preserving the scroll position.
1831
- */
1832
- let nearestItem;
1833
- for (let i = findPreviousItemIndex; i >= 0; i--) {
1834
- const item = currentItems[i];
1835
- if (item !== undefined && item.disabled !== true) {
1836
- nearestItem = item;
1837
- break;
1838
- }
1839
- }
1840
- if (nearestItem) {
1841
- this.setValue(nearestItem.value);
1842
- return;
1843
- }
1844
- }
1845
- }
1846
- valueChange() {
1847
- if (this.isColumnVisible) {
1848
- /**
1849
- * Only scroll the active item into view when the picker column
1850
- * is actively visible to the user.
1851
- */
1852
- this.scrollActiveItemIntoView();
1853
- }
1854
- }
1855
- /**
1856
- * Only setup scroll listeners
1857
- * when the picker is visible, otherwise
1858
- * the container will have a scroll
1859
- * height of 0px.
1860
- */
1861
- componentWillLoad() {
1862
- const visibleCallback = (entries) => {
1863
- var _a;
1864
- const ev = entries[0];
1865
- if (ev.isIntersecting) {
1866
- this.isColumnVisible = true;
1867
- /**
1868
- * Because this initial call to scrollActiveItemIntoView has to fire before
1869
- * the scroll listener is set up, we need to manage the active class manually.
1870
- */
1871
- const oldActive = getElementRoot(this.el).querySelector(`.${PICKER_COL_ACTIVE}`);
1872
- oldActive === null || oldActive === void 0 ? void 0 : oldActive.classList.remove(PICKER_COL_ACTIVE);
1873
- this.scrollActiveItemIntoView();
1874
- (_a = this.activeItem) === null || _a === void 0 ? void 0 : _a.classList.add(PICKER_COL_ACTIVE);
1875
- this.initializeScrollListener();
1876
- }
1877
- else {
1878
- this.isColumnVisible = false;
1879
- if (this.destroyScrollListener) {
1880
- this.destroyScrollListener();
1881
- this.destroyScrollListener = undefined;
1882
- }
1883
- }
1884
- };
1885
- new IntersectionObserver(visibleCallback, { threshold: 0.001 }).observe(this.el);
1886
- const parentEl = this.el.closest('ion-picker-internal');
1887
- if (parentEl !== null) {
1888
- parentEl.addEventListener('ionInputModeChange', (ev) => this.inputModeChange(ev));
1889
- }
1890
- }
1891
- componentDidRender() {
1892
- var _a;
1893
- const { activeItem, items, isColumnVisible, value } = this;
1894
- if (isColumnVisible) {
1895
- if (activeItem) {
1896
- this.scrollActiveItemIntoView();
1897
- }
1898
- else if (((_a = items[0]) === null || _a === void 0 ? void 0 : _a.value) !== value) {
1899
- /**
1900
- * If the picker column does not have an active item and the current value
1901
- * does not match the first item in the picker column, that means
1902
- * the value is out of bounds. In this case, we assign the value to the
1903
- * first item to match the scroll position of the column.
1904
- *
1905
- */
1906
- this.setValue(items[0].value);
1907
- }
1908
- }
1909
- }
1910
- /** @internal */
1911
- async scrollActiveItemIntoView() {
1912
- const activeEl = this.activeItem;
1913
- if (activeEl) {
1914
- this.centerPickerItemInView(activeEl, false);
1915
- }
1916
- }
1917
- /**
1918
- * Sets the value prop and fires the ionChange event.
1919
- * This is used when we need to fire ionChange from
1920
- * user-generated events that cannot be caught with normal
1921
- * input/change event listeners.
1922
- * @internal
1923
- */
1924
- async setValue(value) {
1925
- const { items } = this;
1926
- this.value = value;
1927
- const findItem = items.find((item) => item.value === value && item.disabled !== true);
1928
- if (findItem) {
1929
- this.ionChange.emit(findItem);
1930
- }
1931
- }
1932
- get activeItem() {
1933
- return getElementRoot(this.el).querySelector(`.picker-item[data-value="${this.value}"]:not([disabled])`);
1934
- }
1935
- render() {
1936
- const { items, color, isActive, numericInput } = this;
1937
- const mode = getIonMode(this);
1938
- return (h(Host, { tabindex: 0, class: createColorClasses(color, {
1939
- [mode]: true,
1940
- ['picker-column-active']: isActive,
1941
- ['picker-column-numeric-input']: numericInput,
1942
- }) }, h("div", { class: "picker-item picker-item-empty" }, "\u00A0"), h("div", { class: "picker-item picker-item-empty" }, "\u00A0"), h("div", { class: "picker-item picker-item-empty" }, "\u00A0"), items.map((item, index) => {
1943
- return (h("button", { tabindex: "-1", class: {
1944
- 'picker-item': true,
1945
- 'picker-item-disabled': item.disabled || false,
1946
- }, "data-value": item.value, "data-index": index, onClick: (ev) => {
1947
- this.centerPickerItemInView(ev.target);
1948
- }, disabled: item.disabled }, item.text));
1949
- }), h("div", { class: "picker-item picker-item-empty" }, "\u00A0"), h("div", { class: "picker-item picker-item-empty" }, "\u00A0"), h("div", { class: "picker-item picker-item-empty" }, "\u00A0")));
1950
- }
1951
- get el() { return getElement(this); }
1952
- static get watchers() { return {
1953
- "items": ["itemsChange"],
1954
- "value": ["valueChange"]
1955
- }; }
1956
- };
1957
- const PICKER_COL_ACTIVE = 'picker-item-active';
1958
- PickerColumnInternal.style = {
1959
- ios: pickerColumnInternalIosCss,
1960
- md: pickerColumnInternalMdCss
1961
- };
1962
-
1963
- const pickerInternalIosCss = ":host{display:flex;position:relative;align-items:center;justify-content:center;width:100%;height:200px;direction:ltr;z-index:0}:host .picker-before,:host .picker-after{position:absolute;width:100%;transform:translateZ(0);z-index:1;pointer-events:none}:host .picker-before{left:0;top:0;height:83px}:host-context([dir=rtl]){left:unset;right:unset;right:0}:host .picker-after{left:0;top:116px;height:84px}:host-context([dir=rtl]){left:unset;right:unset;right:0}:host .picker-highlight{border-radius:8px;left:0;right:0;top:50%;bottom:0;margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:0;position:absolute;width:calc(100% - 16px);height:34px;transform:translateY(-50%);z-index:-1}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host .picker-highlight{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}:host 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 ::slotted(ion-picker-column-internal:first-of-type){text-align:start}:host ::slotted(ion-picker-column-internal:last-of-type){text-align:end}:host ::slotted(ion-picker-column-internal:only-child){text-align:center}:host .picker-before{background:linear-gradient(to bottom, var(--background, var(--ion-background-color, #fff)) 20%, rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8) 100%)}:host .picker-after{background:linear-gradient(to top, var(--background, var(--ion-background-color, #fff)) 20%, rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8) 100%)}:host .picker-highlight{background:var(--ion-color-step-150, #eeeeef)}";
1964
-
1965
- const pickerInternalMdCss = ":host{display:flex;position:relative;align-items:center;justify-content:center;width:100%;height:200px;direction:ltr;z-index:0}:host .picker-before,:host .picker-after{position:absolute;width:100%;transform:translateZ(0);z-index:1;pointer-events:none}:host .picker-before{left:0;top:0;height:83px}:host-context([dir=rtl]){left:unset;right:unset;right:0}:host .picker-after{left:0;top:116px;height:84px}:host-context([dir=rtl]){left:unset;right:unset;right:0}:host .picker-highlight{border-radius:8px;left:0;right:0;top:50%;bottom:0;margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:0;position:absolute;width:calc(100% - 16px);height:34px;transform:translateY(-50%);z-index:-1}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host .picker-highlight{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}:host 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 ::slotted(ion-picker-column-internal:first-of-type){text-align:start}:host ::slotted(ion-picker-column-internal:last-of-type){text-align:end}:host ::slotted(ion-picker-column-internal:only-child){text-align:center}:host .picker-before{background:linear-gradient(to bottom, var(--background, var(--ion-background-color, #fff)) 20%, rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0) 90%)}:host .picker-after{background:linear-gradient(to top, var(--background, var(--ion-background-color, #fff)) 30%, rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0) 90%)}";
1966
-
1967
- const PickerInternal = class {
1968
- constructor(hostRef) {
1969
- registerInstance(this, hostRef);
1970
- this.ionInputModeChange = createEvent(this, "ionInputModeChange", 7);
1971
- this.useInputMode = false;
1972
- this.isInHighlightBounds = (ev) => {
1973
- const { highlightEl } = this;
1974
- if (!highlightEl) {
1975
- return false;
1976
- }
1977
- const bbox = highlightEl.getBoundingClientRect();
1978
- /**
1979
- * Check to see if the user clicked
1980
- * outside the bounds of the highlight.
1981
- */
1982
- const outsideX = ev.clientX < bbox.left || ev.clientX > bbox.right;
1983
- const outsideY = ev.clientY < bbox.top || ev.clientY > bbox.bottom;
1984
- if (outsideX || outsideY) {
1985
- return false;
1986
- }
1987
- return true;
1988
- };
1989
- /**
1990
- * If we are no longer focused
1991
- * on a picker column, then we should
1992
- * exit input mode. An exception is made
1993
- * for the input in the picker since having
1994
- * that focused means we are still in input mode.
1995
- */
1996
- this.onFocusOut = (ev) => {
1997
- const { relatedTarget } = ev;
1998
- if (!relatedTarget || (relatedTarget.tagName !== 'ION-PICKER-COLUMN-INTERNAL' && relatedTarget !== this.inputEl)) {
1999
- this.exitInputMode();
2000
- }
2001
- };
2002
- /**
2003
- * When picker columns receive focus
2004
- * the parent picker needs to determine
2005
- * whether to enter/exit input mode.
2006
- */
2007
- this.onFocusIn = (ev) => {
2008
- const { target } = ev;
2009
- /**
2010
- * Due to browser differences in how/when focus
2011
- * is dispatched on certain elements, we need to
2012
- * make sure that this function only ever runs when
2013
- * focusing a picker column.
2014
- */
2015
- if (target.tagName !== 'ION-PICKER-COLUMN-INTERNAL') {
2016
- return;
2017
- }
2018
- /**
2019
- * If we have actionOnClick
2020
- * then this means the user focused
2021
- * a picker column via mouse or
2022
- * touch (i.e. a PointerEvent). As a result,
2023
- * we should not enter/exit input mode
2024
- * until the click event has fired, which happens
2025
- * after the `focusin` event.
2026
- *
2027
- * Otherwise, the user likely focused
2028
- * the column using their keyboard and
2029
- * we should enter/exit input mode automatically.
2030
- */
2031
- if (!this.actionOnClick) {
2032
- const columnEl = target;
2033
- const allowInput = columnEl.numericInput;
2034
- if (allowInput) {
2035
- this.enterInputMode(columnEl, false);
2036
- }
2037
- else {
2038
- this.exitInputMode();
2039
- }
2040
- }
2041
- };
2042
- /**
2043
- * On click we need to run an actionOnClick
2044
- * function that has been set in onPointerDown
2045
- * so that we enter/exit input mode correctly.
2046
- */
2047
- this.onClick = () => {
2048
- const { actionOnClick } = this;
2049
- if (actionOnClick) {
2050
- actionOnClick();
2051
- this.actionOnClick = undefined;
2052
- }
2053
- };
2054
- /**
2055
- * Clicking a column also focuses the column on
2056
- * certain browsers, so we use onPointerDown
2057
- * to tell the onFocusIn function that users
2058
- * are trying to click the column rather than
2059
- * focus the column using the keyboard. When the
2060
- * user completes the click, the onClick function
2061
- * runs and runs the actionOnClick callback.
2062
- */
2063
- this.onPointerDown = (ev) => {
2064
- const { useInputMode, inputModeColumn, el } = this;
2065
- if (this.isInHighlightBounds(ev)) {
2066
- /**
2067
- * If we were already in
2068
- * input mode, then we should determine
2069
- * if we tapped a particular column and
2070
- * should switch to input mode for
2071
- * that specific column.
2072
- */
2073
- if (useInputMode) {
2074
- /**
2075
- * If we tapped a picker column
2076
- * then we should either switch to input
2077
- * mode for that column or all columns.
2078
- * Otherwise we should exit input mode
2079
- * since we just tapped the highlight and
2080
- * not a column.
2081
- */
2082
- if (ev.target.tagName === 'ION-PICKER-COLUMN-INTERNAL') {
2083
- /**
2084
- * If user taps 2 different columns
2085
- * then we should just switch to input mode
2086
- * for the new column rather than switching to
2087
- * input mode for all columns.
2088
- */
2089
- if (inputModeColumn && inputModeColumn === ev.target) {
2090
- this.actionOnClick = () => {
2091
- this.enterInputMode();
2092
- };
2093
- }
2094
- else {
2095
- this.actionOnClick = () => {
2096
- this.enterInputMode(ev.target);
2097
- };
2098
- }
2099
- }
2100
- else {
2101
- this.actionOnClick = () => {
2102
- this.exitInputMode();
2103
- };
2104
- }
2105
- /**
2106
- * If we were not already in
2107
- * input mode, then we should
2108
- * enter input mode for all columns.
2109
- */
2110
- }
2111
- else {
2112
- /**
2113
- * If there is only 1 numeric input column
2114
- * then we should skip multi column input.
2115
- */
2116
- const columns = el.querySelectorAll('ion-picker-column-internal.picker-column-numeric-input');
2117
- const columnEl = columns.length === 1 ? ev.target : undefined;
2118
- this.actionOnClick = () => {
2119
- this.enterInputMode(columnEl);
2120
- };
2121
- }
2122
- return;
2123
- }
2124
- this.actionOnClick = () => {
2125
- this.exitInputMode();
2126
- };
2127
- };
2128
- /**
2129
- * Enters input mode to allow
2130
- * for text entry of numeric values.
2131
- * If on mobile, we focus a hidden input
2132
- * field so that the on screen keyboard
2133
- * is brought up. When tabbing using a
2134
- * keyboard, picker columns receive an outline
2135
- * to indicate they are focused. As a result,
2136
- * we should not focus the hidden input as it
2137
- * would cause the outline to go away, preventing
2138
- * users from having any visual indication of which
2139
- * column is focused.
2140
- */
2141
- this.enterInputMode = (columnEl, focusInput = true) => {
2142
- const { inputEl, el } = this;
2143
- if (!inputEl) {
2144
- return;
2145
- }
2146
- /**
2147
- * Only active input mode if there is at
2148
- * least one column that accepts numeric input.
2149
- */
2150
- const hasInputColumn = el.querySelector('ion-picker-column-internal.picker-column-numeric-input');
2151
- if (!hasInputColumn) {
2152
- return;
2153
- }
2154
- /**
2155
- * If columnEl is undefined then
2156
- * it is assumed that all numeric pickers
2157
- * are eligible for text entry.
2158
- * (i.e. hour and minute columns)
2159
- */
2160
- this.useInputMode = true;
2161
- this.inputModeColumn = columnEl;
2162
- /**
2163
- * Users with a keyboard and mouse can
2164
- * activate input mode where the input is
2165
- * focused as well as when it is not focused,
2166
- * so we need to make sure we clean up any
2167
- * old listeners.
2168
- */
2169
- if (focusInput) {
2170
- if (this.destroyKeypressListener) {
2171
- this.destroyKeypressListener();
2172
- this.destroyKeypressListener = undefined;
2173
- }
2174
- inputEl.focus();
2175
- }
2176
- else {
2177
- el.addEventListener('keypress', this.onKeyPress);
2178
- this.destroyKeypressListener = () => {
2179
- el.removeEventListener('keypress', this.onKeyPress);
2180
- };
2181
- }
2182
- this.emitInputModeChange();
2183
- };
2184
- this.exitInputMode = () => {
2185
- const { inputEl, useInputMode } = this;
2186
- if (!useInputMode || !inputEl) {
2187
- return;
2188
- }
2189
- this.useInputMode = false;
2190
- this.inputModeColumn = undefined;
2191
- inputEl.blur();
2192
- inputEl.value = '';
2193
- if (this.destroyKeypressListener) {
2194
- this.destroyKeypressListener();
2195
- this.destroyKeypressListener = undefined;
2196
- }
2197
- this.emitInputModeChange();
2198
- };
2199
- this.onKeyPress = (ev) => {
2200
- const { inputEl } = this;
2201
- if (!inputEl) {
2202
- return;
2203
- }
2204
- const parsedValue = parseInt(ev.key, 10);
2205
- /**
2206
- * Only numbers should be allowed
2207
- */
2208
- if (!Number.isNaN(parsedValue)) {
2209
- inputEl.value += ev.key;
2210
- this.onInputChange();
2211
- }
2212
- };
2213
- this.selectSingleColumn = () => {
2214
- const { inputEl, inputModeColumn, singleColumnSearchTimeout } = this;
2215
- if (!inputEl || !inputModeColumn) {
2216
- return;
2217
- }
2218
- const values = inputModeColumn.items.filter((item) => item.disabled !== true);
2219
- /**
2220
- * If users pause for a bit, the search
2221
- * value should be reset similar to how a
2222
- * <select> behaves. So typing "34", waiting,
2223
- * then typing "5" should select "05".
2224
- */
2225
- if (singleColumnSearchTimeout) {
2226
- clearTimeout(singleColumnSearchTimeout);
2227
- }
2228
- this.singleColumnSearchTimeout = setTimeout(() => {
2229
- inputEl.value = '';
2230
- this.singleColumnSearchTimeout = undefined;
2231
- }, 1000);
2232
- /**
2233
- * For values that are longer than 2 digits long
2234
- * we should shift the value over 1 character
2235
- * to the left. So typing "456" would result in "56".
2236
- * TODO: If we want to support more than just
2237
- * time entry, we should update this value to be
2238
- * the max length of all of the picker items.
2239
- */
2240
- if (inputEl.value.length >= 3) {
2241
- const startIndex = inputEl.value.length - 2;
2242
- const newString = inputEl.value.substring(startIndex);
2243
- inputEl.value = newString;
2244
- this.selectSingleColumn();
2245
- return;
2246
- }
2247
- /**
2248
- * Checking the value of the input gets priority
2249
- * first. For example, if the value of the input
2250
- * is "1" and we entered "2", then the complete value
2251
- * is "12" and we should select hour 12.
2252
- *
2253
- * Regex removes any leading zeros from values like "02".
2254
- */
2255
- const findItemFromCompleteValue = values.find(({ text }) => text.replace(/^0+/, '') === inputEl.value);
2256
- if (findItemFromCompleteValue) {
2257
- inputModeColumn.setValue(findItemFromCompleteValue.value);
2258
- return;
2259
- }
2260
- /**
2261
- * If we typed "56" to get minute 56, then typed "7",
2262
- * we should select "07" as "567" is not a valid minute.
2263
- */
2264
- if (inputEl.value.length === 2) {
2265
- const changedCharacter = inputEl.value.substring(inputEl.value.length - 1);
2266
- inputEl.value = changedCharacter;
2267
- this.selectSingleColumn();
2268
- }
2269
- };
2270
- /**
2271
- * Searches a list of column items for a particular
2272
- * value. This is currently used for numeric values.
2273
- * The zeroBehavior can be set to account for leading
2274
- * or trailing zeros when looking at the item text.
2275
- */
2276
- this.searchColumn = (colEl, value, zeroBehavior = 'start') => {
2277
- const behavior = zeroBehavior === 'start' ? /^0+/ : /0$/;
2278
- const item = colEl.items.find(({ text, disabled }) => disabled !== true && text.replace(behavior, '') === value);
2279
- if (item) {
2280
- colEl.setValue(item.value);
2281
- }
2282
- };
2283
- this.selectMultiColumn = () => {
2284
- const { inputEl, el } = this;
2285
- if (!inputEl) {
2286
- return;
2287
- }
2288
- const numericPickers = Array.from(el.querySelectorAll('ion-picker-column-internal')).filter((col) => col.numericInput);
2289
- const firstColumn = numericPickers[0];
2290
- const lastColumn = numericPickers[1];
2291
- let value = inputEl.value;
2292
- let minuteValue;
2293
- switch (value.length) {
2294
- case 1:
2295
- this.searchColumn(firstColumn, value);
2296
- break;
2297
- case 2:
2298
- /**
2299
- * If the first character is `0` or `1` it is
2300
- * possible that users are trying to type `09`
2301
- * or `11` into the hour field, so we should look
2302
- * at that first.
2303
- */
2304
- const firstCharacter = inputEl.value.substring(0, 1);
2305
- value = firstCharacter === '0' || firstCharacter === '1' ? inputEl.value : firstCharacter;
2306
- this.searchColumn(firstColumn, value);
2307
- /**
2308
- * If only checked the first value,
2309
- * we can check the second value
2310
- * for a match in the minutes column
2311
- */
2312
- if (value.length === 1) {
2313
- minuteValue = inputEl.value.substring(inputEl.value.length - 1);
2314
- this.searchColumn(lastColumn, minuteValue, 'end');
2315
- }
2316
- break;
2317
- case 3:
2318
- /**
2319
- * If the first character is `0` or `1` it is
2320
- * possible that users are trying to type `09`
2321
- * or `11` into the hour field, so we should look
2322
- * at that first.
2323
- */
2324
- const firstCharacterAgain = inputEl.value.substring(0, 1);
2325
- value =
2326
- firstCharacterAgain === '0' || firstCharacterAgain === '1'
2327
- ? inputEl.value.substring(0, 2)
2328
- : firstCharacterAgain;
2329
- this.searchColumn(firstColumn, value);
2330
- /**
2331
- * If only checked the first value,
2332
- * we can check the second value
2333
- * for a match in the minutes column
2334
- */
2335
- minuteValue = value.length === 1 ? inputEl.value.substring(1) : inputEl.value.substring(2);
2336
- this.searchColumn(lastColumn, minuteValue, 'end');
2337
- break;
2338
- case 4:
2339
- /**
2340
- * If the first character is `0` or `1` it is
2341
- * possible that users are trying to type `09`
2342
- * or `11` into the hour field, so we should look
2343
- * at that first.
2344
- */
2345
- const firstCharacterAgainAgain = inputEl.value.substring(0, 1);
2346
- value =
2347
- firstCharacterAgainAgain === '0' || firstCharacterAgainAgain === '1'
2348
- ? inputEl.value.substring(0, 2)
2349
- : firstCharacterAgainAgain;
2350
- this.searchColumn(firstColumn, value);
2351
- /**
2352
- * If only checked the first value,
2353
- * we can check the second value
2354
- * for a match in the minutes column
2355
- */
2356
- const minuteValueAgain = value.length === 1
2357
- ? inputEl.value.substring(1, inputEl.value.length)
2358
- : inputEl.value.substring(2, inputEl.value.length);
2359
- this.searchColumn(lastColumn, minuteValueAgain, 'end');
2360
- break;
2361
- default:
2362
- const startIndex = inputEl.value.length - 4;
2363
- const newString = inputEl.value.substring(startIndex);
2364
- inputEl.value = newString;
2365
- this.selectMultiColumn();
2366
- break;
2367
- }
2368
- };
2369
- /**
2370
- * Searches the value of the active column
2371
- * to determine which value users are trying
2372
- * to select
2373
- */
2374
- this.onInputChange = () => {
2375
- const { useInputMode, inputEl, inputModeColumn } = this;
2376
- if (!useInputMode || !inputEl) {
2377
- return;
2378
- }
2379
- if (inputModeColumn) {
2380
- this.selectSingleColumn();
2381
- }
2382
- else {
2383
- this.selectMultiColumn();
2384
- }
2385
- };
2386
- /**
2387
- * Emit ionInputModeChange. Picker columns
2388
- * listen for this event to determine whether
2389
- * or not their column is "active" for text input.
2390
- */
2391
- this.emitInputModeChange = () => {
2392
- const { useInputMode, inputModeColumn } = this;
2393
- this.ionInputModeChange.emit({
2394
- useInputMode,
2395
- inputModeColumn,
2396
- });
2397
- };
2398
- }
2399
- componentWillLoad() {
2400
- getElementRoot(this.el).addEventListener('focusin', this.onFocusIn);
2401
- getElementRoot(this.el).addEventListener('focusout', this.onFocusOut);
2402
- }
2403
- render() {
2404
- return (h(Host, { onPointerDown: (ev) => this.onPointerDown(ev), onClick: () => this.onClick() }, h("input", { "aria-hidden": "true", tabindex: -1, inputmode: "numeric", type: "number", ref: (el) => (this.inputEl = el), onInput: () => this.onInputChange(), onBlur: () => this.exitInputMode() }), h("div", { class: "picker-before" }), h("div", { class: "picker-after" }), h("div", { class: "picker-highlight", ref: (el) => (this.highlightEl = el) }), h("slot", null)));
2405
- }
2406
- get el() { return getElement(this); }
2407
- };
2408
- PickerInternal.style = {
2409
- ios: pickerInternalIosCss,
2410
- md: pickerInternalMdCss
2411
- };
2412
-
2413
- const toggleIosCss = ":host{box-sizing:content-box !important;display:inline-block;position:relative;outline:none;contain:content;cursor:pointer;touch-action:none;user-select:none;z-index:2}:host(.ion-focused) input{border:2px solid #5e9ed6}:host(.toggle-disabled){pointer-events:none}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;pointer-events:none}[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}.toggle-icon-wrapper{display:flex;position:relative;align-items:center;width:100%;height:100%;transition:var(--handle-transition);will-change:transform}.toggle-icon{border-radius:var(--border-radius);display:block;position:relative;width:100%;height:100%;background:var(--background);pointer-events:none;overflow:inherit}:host(.toggle-checked) .toggle-icon{background:var(--background-checked)}.toggle-inner{left:var(--handle-spacing);border-radius:var(--handle-border-radius);position:absolute;width:var(--handle-width);height:var(--handle-height);max-height:var(--handle-max-height);transition:var(--handle-transition);background:var(--handle-background);box-shadow:var(--handle-box-shadow);contain:strict}[dir=rtl] .toggle-inner,:host-context([dir=rtl]) .toggle-inner{left:unset;right:unset;right:var(--handle-spacing)}:host(.toggle-checked) .toggle-icon-wrapper{transform:translate3d(calc(100% - var(--handle-width)), 0, 0)}:host-context([dir=rtl]):host(.toggle-checked) .toggle-icon-wrapper,:host-context([dir=rtl]).toggle-checked .toggle-icon-wrapper{transform:translate3d(calc(-100% + var(--handle-width)), 0, 0)}:host(.toggle-checked) .toggle-inner{transform:translate3d(calc(var(--handle-spacing) * -2), 0, 0);background:var(--handle-background-checked)}:host-context([dir=rtl]):host(.toggle-checked) .toggle-inner,:host-context([dir=rtl]).toggle-checked .toggle-inner{transform:translate3d(calc(var(--handle-spacing) * 2), 0, 0)}:host{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.088);--background-checked:var(--ion-color-primary, #3880ff);--border-radius:16px;--handle-background:#ffffff;--handle-background-checked:#ffffff;--handle-border-radius:25.5px;--handle-box-shadow:0 3px 12px rgba(0, 0, 0, 0.16), 0 3px 1px rgba(0, 0, 0, 0.1);--handle-height:calc(32px - (2px * 2));--handle-max-height:calc(100% - var(--handle-spacing) * 2);--handle-width:calc(32px - (2px * 2));--handle-spacing:2px;--handle-transition:transform 300ms, width 120ms ease-in-out 80ms, left 110ms ease-in-out 80ms, right 110ms ease-in-out 80ms;width:51px;height:32px;contain:strict;overflow:hidden}:host(.ion-color.toggle-checked) .toggle-icon{background:var(--ion-color-base)}:host(.toggle-activated) .toggle-switch-icon{opacity:0}.toggle-icon{transform:translate3d(0, 0, 0);transition:background-color 300ms}.toggle-inner{will-change:transform}.toggle-switch-icon{position:absolute;top:50%;width:11px;height:11px;transform:translateY(-50%);transition:opacity 300ms, color 300ms}.toggle-switch-icon{right:6px;position:absolute;color:var(--ion-color-dark)}[dir=rtl] .toggle-switch-icon,:host-context([dir=rtl]) .toggle-switch-icon{right:initial;left:6px;}:host(.toggle-checked) .toggle-switch-icon.toggle-switch-icon-checked{color:var(--ion-color-contrast, #fff)}:host(.toggle-checked) .toggle-switch-icon:not(.toggle-switch-icon-checked){opacity:0}.toggle-switch-icon-checked{right:initial;left:4px;position:absolute;width:15px;height:15px;transform:translateY(-50%) rotate(90deg)}[dir=rtl] .toggle-switch-icon-checked,:host-context([dir=rtl]) .toggle-switch-icon-checked{right:4px}:host(.toggle-activated) .toggle-icon::before,:host(.toggle-checked) .toggle-icon::before{transform:scale3d(0, 0, 0)}:host(.toggle-activated.toggle-checked) .toggle-inner::before{transform:scale3d(0, 0, 0)}:host(.toggle-activated) .toggle-inner{width:calc(var(--handle-width) + 6px)}:host(.toggle-activated.toggle-checked) .toggle-icon-wrapper{transform:translate3d(calc(100% - var(--handle-width) - 6px), 0, 0)}:host-context([dir=rtl]):host(.toggle-activated.toggle-checked) .toggle-icon-wrapper,:host-context([dir=rtl]).toggle-activated.toggle-checked .toggle-icon-wrapper{transform:translate3d(calc(-100% + var(--handle-width) + 6px), 0, 0)}:host(.toggle-disabled){opacity:0.3}:host(.in-item[slot]){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:20px;padding-right:10px;padding-top:6px;padding-bottom:5px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host(.in-item[slot]){padding-left:unset;padding-right:unset;-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:10px;padding-inline-end:10px}}:host(.in-item[slot=start]){padding-left:0;padding-right:16px;padding-top:6px;padding-bottom:5px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host(.in-item[slot=start]){padding-left:unset;padding-right:unset;-webkit-padding-start:0;padding-inline-start:0;-webkit-padding-end:16px;padding-inline-end:16px}}";
2414
-
2415
- const toggleMdCss = ":host{box-sizing:content-box !important;display:inline-block;position:relative;outline:none;contain:content;cursor:pointer;touch-action:none;user-select:none;z-index:2}:host(.ion-focused) input{border:2px solid #5e9ed6}:host(.toggle-disabled){pointer-events:none}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;pointer-events:none}[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}.toggle-icon-wrapper{display:flex;position:relative;align-items:center;width:100%;height:100%;transition:var(--handle-transition);will-change:transform}.toggle-icon{border-radius:var(--border-radius);display:block;position:relative;width:100%;height:100%;background:var(--background);pointer-events:none;overflow:inherit}:host(.toggle-checked) .toggle-icon{background:var(--background-checked)}.toggle-inner{left:var(--handle-spacing);border-radius:var(--handle-border-radius);position:absolute;width:var(--handle-width);height:var(--handle-height);max-height:var(--handle-max-height);transition:var(--handle-transition);background:var(--handle-background);box-shadow:var(--handle-box-shadow);contain:strict}[dir=rtl] .toggle-inner,:host-context([dir=rtl]) .toggle-inner{left:unset;right:unset;right:var(--handle-spacing)}:host(.toggle-checked) .toggle-icon-wrapper{transform:translate3d(calc(100% - var(--handle-width)), 0, 0)}:host-context([dir=rtl]):host(.toggle-checked) .toggle-icon-wrapper,:host-context([dir=rtl]).toggle-checked .toggle-icon-wrapper{transform:translate3d(calc(-100% + var(--handle-width)), 0, 0)}:host(.toggle-checked) .toggle-inner{transform:translate3d(calc(var(--handle-spacing) * -2), 0, 0);background:var(--handle-background-checked)}:host-context([dir=rtl]):host(.toggle-checked) .toggle-inner,:host-context([dir=rtl]).toggle-checked .toggle-inner{transform:translate3d(calc(var(--handle-spacing) * 2), 0, 0)}:host{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.39);--background-checked:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.5);--border-radius:14px;--handle-background:#ffffff;--handle-background-checked:var(--ion-color-primary, #3880ff);--handle-border-radius:50%;--handle-box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);--handle-width:20px;--handle-height:20px;--handle-max-height:calc(100% + 6px);--handle-spacing:0;--handle-transition:transform 160ms cubic-bezier(0.4, 0, 0.2, 1), background-color 160ms cubic-bezier(0.4, 0, 0.2, 1);padding-left:12px;padding-right:12px;padding-top:12px;padding-bottom:12px;width:36px;height:14px;contain:strict}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px}}:host(.ion-color.toggle-checked) .toggle-icon{background:rgba(var(--ion-color-base-rgb), 0.5)}:host(.ion-color.toggle-checked) .toggle-inner{background:var(--ion-color-base)}:host(.toggle-checked) .toggle-inner{color:var(--ion-color-contrast, #fff)}.toggle-icon{transition:background-color 160ms}.toggle-inner{will-change:background-color, transform;display:flex;align-items:center;justify-content:center;color:#000}.toggle-inner .toggle-switch-icon{padding-left:1px;padding-right:1px;padding-top:1px;padding-bottom:1px;width:100%;height:100%}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.toggle-inner .toggle-switch-icon{padding-left:unset;padding-right:unset;-webkit-padding-start:1px;padding-inline-start:1px;-webkit-padding-end:1px;padding-inline-end:1px}}:host(.toggle-disabled){opacity:0.3}:host(.in-item[slot]){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:16px;padding-right:0;padding-top:12px;padding-bottom:12px;cursor:pointer}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host(.in-item[slot]){padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:0;padding-inline-end:0}}:host(.in-item[slot=start]){padding-left:2px;padding-right:18px;padding-top:12px;padding-bottom:12px}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){:host(.in-item[slot=start]){padding-left:unset;padding-right:unset;-webkit-padding-start:2px;padding-inline-start:2px;-webkit-padding-end:18px;padding-inline-end:18px}}";
2416
-
2417
- const Toggle = class {
2418
- constructor(hostRef) {
2419
- registerInstance(this, hostRef);
2420
- this.ionChange = createEvent(this, "ionChange", 7);
2421
- this.ionFocus = createEvent(this, "ionFocus", 7);
2422
- this.ionBlur = createEvent(this, "ionBlur", 7);
2423
- this.ionStyle = createEvent(this, "ionStyle", 7);
2424
- this.inputId = `ion-tg-${toggleIds++}`;
2425
- this.lastDrag = 0;
2426
- this.activated = false;
2427
- /**
2428
- * The name of the control, which is submitted with the form data.
2429
- */
2430
- this.name = this.inputId;
2431
- /**
2432
- * If `true`, the toggle is selected.
2433
- */
2434
- this.checked = false;
2435
- /**
2436
- * If `true`, the user cannot interact with the toggle.
2437
- */
2438
- this.disabled = false;
2439
- /**
2440
- * The value of the toggle does not mean if it's checked or not, use the `checked`
2441
- * property for that.
2442
- *
2443
- * The value of a toggle is analogous to the value of a `<input type="checkbox">`,
2444
- * it's only used when the toggle participates in a native `<form>`.
2445
- */
2446
- this.value = 'on';
2447
- /**
2448
- * Enables the on/off accessibility switch labels within the toggle.
2449
- */
2450
- this.enableOnOffLabels = undefined;
2451
- this.onClick = (ev) => {
2452
- ev.preventDefault();
2453
- if (this.lastDrag + 300 < Date.now()) {
2454
- this.checked = !this.checked;
2455
- }
2456
- };
2457
- this.onFocus = () => {
2458
- this.ionFocus.emit();
2459
- };
2460
- this.onBlur = () => {
2461
- this.ionBlur.emit();
2462
- };
2463
- this.getSwitchLabelIcon = (mode, checked) => {
2464
- if (mode === 'md') {
2465
- return checked ? checkmarkOutline : removeOutline;
2466
- }
2467
- return checked ? removeOutline : ellipseOutline;
2468
- };
2469
- }
2470
- checkedChanged(isChecked) {
2471
- this.ionChange.emit({
2472
- checked: isChecked,
2473
- value: this.value,
2474
- });
2475
- }
2476
- disabledChanged() {
2477
- this.emitStyle();
2478
- if (this.gesture) {
2479
- this.gesture.enable(!this.disabled);
2480
- }
2481
- }
2482
- async connectedCallback() {
2483
- this.gesture = (await import('./index-21661af2.js')).createGesture({
2484
- el: this.el,
2485
- gestureName: 'toggle',
2486
- gesturePriority: 100,
2487
- threshold: 5,
2488
- passive: false,
2489
- onStart: () => this.onStart(),
2490
- onMove: (ev) => this.onMove(ev),
2491
- onEnd: (ev) => this.onEnd(ev),
2492
- });
2493
- this.disabledChanged();
2494
- }
2495
- disconnectedCallback() {
2496
- if (this.gesture) {
2497
- this.gesture.destroy();
2498
- this.gesture = undefined;
2499
- }
2500
- }
2501
- componentWillLoad() {
2502
- this.emitStyle();
2503
- }
2504
- emitStyle() {
2505
- this.ionStyle.emit({
2506
- 'interactive-disabled': this.disabled,
2507
- });
2508
- }
2509
- onStart() {
2510
- this.activated = true;
2511
- // touch-action does not work in iOS
2512
- this.setFocus();
2513
- }
2514
- onMove(detail) {
2515
- if (shouldToggle(isRTL(this.el), this.checked, detail.deltaX, -10)) {
2516
- this.checked = !this.checked;
2517
- hapticSelection();
2518
- }
2519
- }
2520
- onEnd(ev) {
2521
- this.activated = false;
2522
- this.lastDrag = Date.now();
2523
- ev.event.preventDefault();
2524
- ev.event.stopImmediatePropagation();
2525
- }
2526
- getValue() {
2527
- return this.value || '';
2528
- }
2529
- setFocus() {
2530
- if (this.focusEl) {
2531
- this.focusEl.focus();
2532
- }
2533
- }
2534
- renderOnOffSwitchLabels(mode, checked) {
2535
- const icon = this.getSwitchLabelIcon(mode, checked);
2536
- return (h("ion-icon", { class: {
2537
- 'toggle-switch-icon': true,
2538
- 'toggle-switch-icon-checked': checked,
2539
- }, icon: icon }));
2540
- }
2541
- render() {
2542
- const { activated, color, checked, disabled, el, inputId, name, enableOnOffLabels } = this;
2543
- const mode = getIonMode(this);
2544
- const { label, labelId, labelText } = getAriaLabel(el, inputId);
2545
- const value = this.getValue();
2546
- renderHiddenInput(true, el, name, checked ? value : '', disabled);
2547
- return (h(Host, { onClick: this.onClick, "aria-labelledby": label ? labelId : null, "aria-checked": `${checked}`, "aria-hidden": disabled ? 'true' : null, role: "switch", class: createColorClasses(color, {
2548
- [mode]: true,
2549
- 'in-item': hostContext('ion-item', el),
2550
- 'toggle-activated': activated,
2551
- 'toggle-checked': checked,
2552
- 'toggle-disabled': disabled,
2553
- interactive: true,
2554
- }) }, h("div", { class: "toggle-icon", part: "track" }, enableOnOffLabels &&
2555
- mode === 'ios' && [this.renderOnOffSwitchLabels(mode, true), this.renderOnOffSwitchLabels(mode, false)], h("div", { class: "toggle-icon-wrapper" }, h("div", { class: "toggle-inner", part: "handle" }, enableOnOffLabels && mode === 'md' && this.renderOnOffSwitchLabels(mode, checked)))), h("label", { htmlFor: inputId }, labelText), h("input", { type: "checkbox", role: "switch", "aria-checked": `${checked}`, disabled: disabled, id: inputId, onFocus: () => this.onFocus(), onBlur: () => this.onBlur(), ref: (focusEl) => (this.focusEl = focusEl) })));
2556
- }
2557
- get el() { return getElement(this); }
2558
- static get watchers() { return {
2559
- "checked": ["checkedChanged"],
2560
- "disabled": ["disabledChanged"]
2561
- }; }
2562
- };
2563
- const shouldToggle = (rtl, checked, deltaX, margin) => {
2564
- if (checked) {
2565
- return (!rtl && margin > deltaX) || (rtl && -margin < deltaX);
2566
- }
2567
- else {
2568
- return (!rtl && -margin < deltaX) || (rtl && margin > deltaX);
2569
- }
2570
- };
2571
- let toggleIds = 0;
2572
- Toggle.style = {
2573
- ios: toggleIosCss,
2574
- md: toggleMdCss
2575
- };
2576
-
2577
- export { Datetime as ion_datetime, PickerColumnInternal as ion_picker_column_internal, PickerInternal as ion_picker_internal, Toggle as ion_toggle };