@getmicdrop/venue-calendar 4.3.135 → 4.3.138

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 (266) hide show
  1. package/dist/AddOnCard-DEAC26HA.js +348 -0
  2. package/dist/AppError-t1LnBwj_.js +30 -0
  3. package/dist/{ArrowLeftIcon-CezkuCvg.js → ArrowLeftIcon-P8BRVhVl.js} +2 -3
  4. package/dist/Badge-CmYqIClC.js +51 -0
  5. package/dist/{BlockPlaceholder-BBrehfrB.js → BlockPlaceholder-BKfoE795.js} +30 -23
  6. package/dist/BottomSheet-D27k0B05.js +154 -0
  7. package/dist/Button-B1cBhdtC.js +234 -0
  8. package/dist/Button-B_gbGd63.js +149 -0
  9. package/dist/Calendar-9xskvKUf.js +395 -0
  10. package/dist/CalendarFoundryView-DbxZNmY7.js +16356 -0
  11. package/dist/{CalendarIcon-Y6_CP1BO.js → CalendarIcon-MAVEqtql.js} +2 -3
  12. package/dist/{CloseOutline-qpVa62mu.js → CalendarOutline-CApIWx8i.js} +2 -3
  13. package/dist/CartView-DMINN6bY.js +2200 -0
  14. package/dist/{ChartBlock-SYOAO1s_.js → ChartBlock-DcsCXfX8.js} +85 -112
  15. package/dist/{CheckIcon-BFlrM9LP.js → CheckIcon-BH9EAoee.js} +2 -3
  16. package/dist/{Checkbox-BtJwg_CF.js → Checkbox-sObkYRdj.js} +2 -3
  17. package/dist/Checkout-H9RGBU9D.js +1071 -0
  18. package/dist/Checkout-VnochAZE.js +1967 -0
  19. package/dist/{CheckoutTimer-CfGllYB_.js → CheckoutTimer-mjcYR3XU.js} +9 -11
  20. package/dist/{ChevronDownIcon-CmTx77Iz.js → ChevronDownIcon-Bkts84qA.js} +2 -3
  21. package/dist/{ChevronDownOutline-D7YDiKBF.js → ChevronDownOutline-kFgRY2cg.js} +1 -2
  22. package/dist/{ChevronRightOutline-CiG8UHni.js → ChevronRightOutline-D-5Qw6-Y.js} +2 -4
  23. package/dist/CloseIcon-DRlYvIPc.js +24 -0
  24. package/dist/{CollectionView-CKVGypsb.js → CollectionView-C0vDg5oJ.js} +48 -58
  25. package/dist/CropImage-BWYeQXXA.js +547 -0
  26. package/dist/DatePicker-v-4ijT8N.js +650 -0
  27. package/dist/{EmptyState-CMFePII9.js → EmptyState-BhK78ogy.js} +10 -12
  28. package/dist/{Event-C2BfY4hq.js → Event-vlu8IAxh.js} +1241 -1220
  29. package/dist/{EventCard-uMW7-Yc7.js → EventCard-puoh3xag.js} +15 -15
  30. package/dist/EventPage-DycxjX5Z.js +1301 -0
  31. package/dist/{ExclamationCircleOutline-D3XbhOwM.js → ExclamationCircleOutline-CPelT1Bu.js} +1 -2
  32. package/dist/FilterChipGroup-DUGvOaRI.js +103 -0
  33. package/dist/Grid-DRRXcWRE.js +41 -0
  34. package/dist/{Heading-vOVPxhJF.js → Heading-WcF3Rh3o.js} +4 -6
  35. package/dist/Image-dhbgrhG-.js +89 -0
  36. package/dist/ImageUploader-CKrf5amy.js +1050 -0
  37. package/dist/{Input-C0BCVQQ5.js → Input-BQk4itex.js} +124 -140
  38. package/dist/LiveRegion-Ds0mjIVj.js +17 -0
  39. package/dist/{LocationIcon-Ct8LQDag.js → LocationIcon-BNPEzWv2.js} +3 -5
  40. package/dist/{Modal-rt9KVfYa.js → Modal-DOpDiAwN.js} +3 -4
  41. package/dist/ModalFooter-gFaDKsfj.js +299 -0
  42. package/dist/ModalTitle-CS5AGwrU.js +26 -0
  43. package/dist/{PasswordInput-DpeH_g-Z.js → PasswordInput-C65GqxdF.js} +11 -13
  44. package/dist/{PhoneInput-5l-M5ykF.js → PhoneInput-Dj1I3bEn.js} +80 -89
  45. package/dist/{RecommendationsRail-DL03xY8R.js → RecommendationsRail-DC5qX1ei.js} +145 -159
  46. package/dist/RequiredIndicator-CRZ_coyR.js +16 -0
  47. package/dist/{ScarcityBadge-BB4ZD_8N.js → ScarcityBadge-BAaV2CIY.js} +37 -41
  48. package/dist/Search-BE64QcmK.js +82 -0
  49. package/dist/SearchIcon-BzOhoKm8.js +24 -0
  50. package/dist/{SeriesPage-lhbMdwIi.js → SeriesPage-Cx89s2B6.js} +6 -7
  51. package/dist/SheetHandle-CCfYCPbY.js +66 -0
  52. package/dist/Skeleton-B6qB_udJ.js +31 -0
  53. package/dist/SkeletonLoader-DfW0N9R3.js +121 -0
  54. package/dist/{Spinner-DNaDFSCe.js → Spinner-Bj4dr9kO.js} +7 -7
  55. package/dist/Stack-Ck1wrJ0l.js +34 -0
  56. package/dist/Success-D3CrUeka.js +1022 -0
  57. package/dist/{TagIcon-MVcV8ylU.js → TagIcon-Dp7n6eKU.js} +2 -3
  58. package/dist/{Textarea-Cymhixzd.js → Textarea-BDcuBI13.js} +11 -11
  59. package/dist/TimePicker-HYzPI_Dc.js +215 -0
  60. package/dist/ValidationError-BxKB_SVA.js +48 -0
  61. package/dist/ViewTicketsEmbed-DzUCgtA3.js +641 -0
  62. package/dist/{WarningCircleIcon-ch-94kEe.js → WarningCircleIcon-jC3nXehu.js} +4 -7
  63. package/dist/{WarningTriIcon-DFjb-boV.js → WarningTriIcon-BMa-jcUr.js} +2 -3
  64. package/dist/{__SKIP_NAVIGATION__-AOx8SI54.js → __SKIP_NAVIGATION__-Znm_vYcG.js} +1 -2
  65. package/dist/{__SKIP_PATHS__-C0ixDSSm.js → __SKIP_PATHS__-Bzzrca_a.js} +1 -2
  66. package/dist/address-field-BwGHcMKY.js +295 -0
  67. package/dist/{href-q4ZIwqKC.js → allowlist-Bt1BHhNd.js} +244 -315
  68. package/dist/api/api.cjs +1 -1
  69. package/dist/api/api.mjs +214 -227
  70. package/dist/api/cta.d.ts +4 -0
  71. package/dist/api/events.d.ts +13 -0
  72. package/dist/api/types.d.ts +2 -0
  73. package/dist/api-CRHFSJDI.js +502 -0
  74. package/dist/avatar-picker-field-CSF5okeM.js +115 -0
  75. package/dist/{browser-DxdP6IWt.js → browser-DEUBVMmV.js} +9 -9
  76. package/dist/bundle-mjs-COnlheJX.js +1776 -0
  77. package/dist/{buyerEmail-BfCq-gDt.js → buyerEmail-CvPpEiON.js} +2 -3
  78. package/dist/calendar-Cdu8fCIt.js +111 -0
  79. package/dist/checkout-libs/4.3.138/phone.js +6 -0
  80. package/dist/checkout-libs/4.3.138/qrcode.js +8 -0
  81. package/dist/{checkoutState-wrwq9TD7.js → checkoutState-BDNjJRMG.js} +7 -10
  82. package/dist/classNames-CPSQ9uy4.js +25 -0
  83. package/dist/clickOutside-D448uRpo.js +22 -0
  84. package/dist/{client-SmFkruvn.js → client-BIN_q-of.js} +4 -7
  85. package/dist/colors-CdP193E5.js +106 -0
  86. package/dist/colors-D67OMr_8.js +22 -0
  87. package/dist/{Text-CqjLjIF8.js → constants-DrFV2oht.js} +19 -14
  88. package/dist/controlAria-Do9QK0WI.js +13 -0
  89. package/dist/{copyToClipboard-Cy_-50GG.js → copyToClipboard-CjNjDZeW.js} +3 -5
  90. package/dist/createErrorGate.svelte-DUXI6Yor.js +82 -0
  91. package/dist/cta-qbcIt5Gh.js +116 -0
  92. package/dist/date-field-3tgOYbzF.js +88 -0
  93. package/dist/date-range-field-D0Aq9me9.js +163 -0
  94. package/dist/datetime-BlEsN_-8.js +176 -0
  95. package/dist/{de-lc43hoya.js → de-CUrE_4a4.js} +2 -3
  96. package/dist/{de-DyiE1KNg.js → de-vKpbo9Zl.js} +2 -2
  97. package/dist/defaultLabels-CybwJCNn.js +563 -0
  98. package/dist/defaults-B5wyre5O.js +148 -0
  99. package/dist/deprecation-BCjqE5lW.js +4 -0
  100. package/dist/{dist-bwbfGPKR.js → dist-Dptst9ym.js} +2 -4
  101. package/dist/{es-DhoitI_1.js → es-8qe0Mo-8.js} +2 -2
  102. package/dist/{es-B0uSu40a.js → es-B2-z2Kft.js} +2 -3
  103. package/dist/{event-9wBbeiK2.js → event-CEg17hts.js} +3 -4
  104. package/dist/event-transform-DqFigNQg.js +250 -0
  105. package/dist/{eventStatusStream-JWP2AXnQ.js → eventStatusStream-DK5fWCTB.js} +4 -7
  106. package/dist/field-rules-CKFFB16Q.js +416 -0
  107. package/dist/file-field-2mPz4Da-.js +210 -0
  108. package/dist/{filepond-plugin-file-validate-size-DNnItZ84.js → filepond-plugin-file-validate-size-CuNOjGbP.js} +20 -27
  109. package/dist/{filepond-plugin-file-validate-type-CUMTkI8X.js → filepond-plugin-file-validate-type-CVtQwdIK.js} +25 -27
  110. package/dist/{filepond-plugin-image-exif-orientation-GEwHZTBU.js → filepond-plugin-image-exif-orientation-CMPs7yGQ.js} +21 -23
  111. package/dist/{filepond-plugin-image-preview-DKfgAnVa.js → filepond-plugin-image-preview-DKsOZAGe.js} +12 -27
  112. package/dist/{floatingPosition-XIv5DYuP.js → floatingPosition-BCUPmGCN.js} +8 -13
  113. package/dist/format-CypC4vWs.js +1587 -0
  114. package/dist/formatters-CzKNRUwz.js +113 -0
  115. package/dist/foundryRuntime-DKyfdkUY.js +13 -0
  116. package/dist/{fr-DB--_n56.js → fr-BmpShjUG.js} +2 -2
  117. package/dist/{fr-CzTFVHUe.js → fr-CiePVIlj.js} +2 -3
  118. package/dist/{gate-password-cache-oOcDm9Ki.js → gate-password-cache-zIbewXQ2.js} +1 -2
  119. package/dist/heic-to-BoLfsr3l.js +70 -0
  120. package/dist/hexToHsl-D-BPy03y.js +24 -0
  121. package/dist/href-DpbLXQ4c.js +18 -0
  122. package/dist/{i18n-DUMRUvVc.js → i18n-B_TWnExv.js} +148 -150
  123. package/dist/i18n-CSaUFnlD.js +26 -0
  124. package/dist/iconWeight-BRXEDAh2.js +12 -0
  125. package/dist/{id-BGqV9_gI.js → id-Ttw95_7t.js} +2 -3
  126. package/dist/{id-CMQRjMxp.js → id-_6GFAYBn.js} +2 -2
  127. package/dist/image-field-B8x0WQ2j.js +139 -0
  128. package/dist/{imageUrl-xyMedKrE.js → imageUrl-iAS2Xo17.js} +1 -2
  129. package/dist/instant-BkZCSGDm.js +162 -0
  130. package/dist/{it-B_BQgPWl.js → it-CBbXcFY1.js} +2 -3
  131. package/dist/{it-hBxsIHz2.js → it-Dc-H_PdY.js} +2 -2
  132. package/dist/{ja-BGWo7WDj.js → ja-B2Tag7J3.js} +2 -3
  133. package/dist/{ja-D1vfwJgB.js → ja-Cobhk-xH.js} +2 -2
  134. package/dist/keyboard-Dk2PfrEz.js +28 -0
  135. package/dist/{ko-FKSzdHrm.js → ko-CcTn4lAi.js} +2 -3
  136. package/dist/{ko-CRTegEJ4.js → ko-CyTlg6vA.js} +2 -2
  137. package/dist/labels-CjSrA6gx.js +9 -0
  138. package/dist/{constants-D4yEpZuQ.js → labels-D8LN8lY7.js} +4 -4
  139. package/dist/{lazyOnce-CCfEO1xG.js → lazyOnce-jG8k1apa.js} +1 -2
  140. package/dist/loaders.static-Bw9asjrm.js +3 -0
  141. package/dist/locales/{4.3.135 → 4.3.138}/flow/de.js +1 -1
  142. package/dist/locales/{4.3.135 → 4.3.138}/flow/es.js +1 -1
  143. package/dist/locales/{4.3.135 → 4.3.138}/flow/fr.js +1 -1
  144. package/dist/locales/{4.3.135 → 4.3.138}/flow/id.js +1 -1
  145. package/dist/locales/{4.3.135 → 4.3.138}/flow/it.js +1 -1
  146. package/dist/locales/{4.3.135 → 4.3.138}/flow/ja.js +1 -1
  147. package/dist/locales/{4.3.135 → 4.3.138}/flow/ko.js +1 -1
  148. package/dist/locales/{4.3.135 → 4.3.138}/flow/nl.js +1 -1
  149. package/dist/locales/{4.3.135 → 4.3.138}/flow/pl.js +1 -1
  150. package/dist/locales/{4.3.135 → 4.3.138}/flow/pt-br.js +1 -1
  151. package/dist/locales/{4.3.135 → 4.3.138}/flow/tr.js +1 -1
  152. package/dist/locales/{4.3.135 → 4.3.138}/flow/zh.js +1 -1
  153. package/dist/locales/{4.3.135 → 4.3.138}/main/de.js +1 -1
  154. package/dist/locales/{4.3.135 → 4.3.138}/main/es.js +1 -1
  155. package/dist/locales/{4.3.135 → 4.3.138}/main/fr.js +1 -1
  156. package/dist/locales/{4.3.135 → 4.3.138}/main/id.js +1 -1
  157. package/dist/locales/{4.3.135 → 4.3.138}/main/it.js +1 -1
  158. package/dist/locales/{4.3.135 → 4.3.138}/main/ja.js +1 -1
  159. package/dist/locales/{4.3.135 → 4.3.138}/main/ko.js +1 -1
  160. package/dist/locales/{4.3.135 → 4.3.138}/main/nl.js +1 -1
  161. package/dist/locales/{4.3.135 → 4.3.138}/main/pl.js +1 -1
  162. package/dist/locales/{4.3.135 → 4.3.138}/main/pt-br.js +1 -1
  163. package/dist/locales/{4.3.135 → 4.3.138}/main/tr.js +1 -1
  164. package/dist/locales/{4.3.135 → 4.3.138}/main/zh.js +1 -1
  165. package/dist/logger-DM8WW61-.js +89 -0
  166. package/dist/look-island.svelte-B7UH_QVv.js +1270 -0
  167. package/dist/look-names-JI6GE-Zj.js +175 -0
  168. package/dist/looks/4.3.138/looks.js +248 -0
  169. package/dist/media-field-HieD0ye0.js +65 -0
  170. package/dist/modalManager.svelte-BvyrTI6p.js +51 -0
  171. package/dist/multiselect-field-CJ4lUJyS.js +61 -0
  172. package/dist/{navigation-Cochv2HZ.js → navigation-DpqP-ahJ.js} +28 -32
  173. package/dist/{nl-DhUZIqb8.js → nl-BObQMscG.js} +2 -2
  174. package/dist/{nl-Dhr_CNfS.js → nl-DeIqgjIs.js} +2 -3
  175. package/dist/{normalizers-CqGXhPZo.js → normalizers-WYh8Nr3V.js} +3 -5
  176. package/dist/number-field-D5GkkGLB.js +126 -0
  177. package/dist/numeric-filter-field-CRWZFu_P.js +131 -0
  178. package/dist/password-field-DdOHXEOo.js +157 -0
  179. package/dist/phone-CVYVhLn8.js +5 -0
  180. package/dist/phone-field-BaYmp56f.js +129 -0
  181. package/dist/phoneShape-VqbamHOn.js +20 -0
  182. package/dist/{phoneUtils-CL8tIxoM.js → phoneUtils-BhOvrS4S.js} +133 -193
  183. package/dist/{pixels-D_on_5fc.js → pixels-BXXzmoCb.js} +12 -18
  184. package/dist/{pl-vklyp95-.js → pl-Bm2FcD5y.js} +2 -3
  185. package/dist/{pl-D4bvrh0U.js → pl-_Sbz4Ou-.js} +2 -2
  186. package/dist/portal-BSuo4flQ.js +64 -0
  187. package/dist/portalContainment-DSZUw-No.js +78 -0
  188. package/dist/{pt-br-C8yaXBBu.js → pt-br-CpmhafxS.js} +2 -2
  189. package/dist/{pt-br-BcKTBYBf.js → pt-br-XS1Lsa6z.js} +2 -3
  190. package/dist/qrcode-By7ce_6K.js +5 -0
  191. package/dist/repeating-field-B4OhsaGB.js +488 -0
  192. package/dist/richtext-field-KmUytgBW.js +212 -0
  193. package/dist/{rolldown-runtime-DtPi1Y-2.js → rolldown-runtime-CYdcPHCu.js} +2 -3
  194. package/dist/searchable-select-field-DettZRav.js +138 -0
  195. package/dist/select-field-Wc4gAtou.js +72 -0
  196. package/dist/seo/seo.cjs +1 -1
  197. package/dist/seo/seo.mjs +24 -42
  198. package/dist/seo/types.d.ts +4 -1
  199. package/dist/serverTotals-COsx7Mc5.js +950 -0
  200. package/dist/{showcase-state-options-B5GUg7wk.js → showcase-state-options-CHGUaZtl.js} +5 -5
  201. package/dist/sizing-Chy28j6-.js +61 -0
  202. package/dist/{sortable.esm--ZtTTTPp.js → sortable.esm-Wq6bSSEz.js} +29 -49
  203. package/dist/spacing-Y1dLegqt.js +48 -0
  204. package/dist/{src-DZgagYE3.js → src-BpVpi-n3.js} +256 -398
  205. package/dist/time-field-CnxZcziR.js +53 -0
  206. package/dist/to-event-card-props-C9v9dspT.js +245 -0
  207. package/dist/{tr-C73ecvz8.js → tr-CN8DGCc-.js} +2 -2
  208. package/dist/{tr-B4gKhpQA.js → tr-zKAbMfgi.js} +2 -3
  209. package/dist/transitions-DST-mWoo.js +201 -0
  210. package/dist/tree-picker-field-aqux58EQ.js +344 -0
  211. package/dist/types/index.d.ts +2 -1
  212. package/dist/typography-CKwYSv07.js +57 -0
  213. package/dist/{utils-CNwfP0zV.js → utils-AIszIHUb.js} +8 -11
  214. package/dist/variants-B46fK2iV.js +63 -0
  215. package/dist/{venue-BBoZBuhu.js → venue-DLkL7xdj.js} +1 -2
  216. package/dist/venue-calendar.css +1 -1
  217. package/dist/venue-calendar.es.js +1697 -1827
  218. package/dist/venue-calendar.iife.js +24 -55
  219. package/dist/venue-calendar.umd.js +68 -76
  220. package/dist/{widget-key-context-DxoB6BR0.js → widget-key-context-BrWW0fyM.js} +28 -43
  221. package/dist/{zh-DWi3x7FQ.js → zh-BaZ_hYJV.js} +2 -2
  222. package/dist/{zh-CxcIisjW.js → zh-DHfgJplH.js} +2 -3
  223. package/package.json +16 -16
  224. package/src/lib/theme.js +222 -222
  225. package/dist/AddOnCard-_OX1BqWV.js +0 -340
  226. package/dist/Button-B58iYo_t.js +0 -1951
  227. package/dist/Button-VUB2WJ88.js +0 -178
  228. package/dist/Calendar-BV1XCdju.js +0 -466
  229. package/dist/CalendarFoundryView-CbAqIB4K.js +0 -21608
  230. package/dist/CartView-DtgNCACZ.js +0 -2299
  231. package/dist/Checkout-BnI2UqNd.js +0 -1082
  232. package/dist/Checkout-DpyT_TuS.js +0 -1872
  233. package/dist/CloseIcon--8LjBB63.js +0 -35
  234. package/dist/CropImage-D1M-bKxG.js +0 -548
  235. package/dist/EventPage-Bd3VBdhn.js +0 -1345
  236. package/dist/Grid-kuP6V0GW.js +0 -89
  237. package/dist/ModalFooter-Cru7v0io.js +0 -394
  238. package/dist/ModalHeader-CpgkuttK.js +0 -18
  239. package/dist/Success-LFYYWMod.js +0 -985
  240. package/dist/ViewTicketsEmbed-ClMXL5iX.js +0 -651
  241. package/dist/action-test-id-7RXdHucW.js +0 -145
  242. package/dist/adapter-BPpmiFWD.js +0 -164
  243. package/dist/api-C02BQT4E.js +0 -489
  244. package/dist/controlAria-CGb-KeRn.js +0 -30
  245. package/dist/createErrorGate.svelte-Qp6j3EME.js +0 -114
  246. package/dist/cta-BpblR0dm.js +0 -116
  247. package/dist/datetime-C_dBn97N.js +0 -410
  248. package/dist/defaultLabels-tC8zM7_V.js +0 -2558
  249. package/dist/defaults-Bv4F-cYY.js +0 -98
  250. package/dist/event-transform-Cp_h6-Ot.js +0 -353
  251. package/dist/i18n-s5MzdFwq.js +0 -28
  252. package/dist/imageOptimizer-Gew5vPWh.js +0 -224
  253. package/dist/keyboard-DhCcdIyh.js +0 -55
  254. package/dist/look-island.svelte-C27bvwqP.js +0 -1305
  255. package/dist/looks/4.3.135/looks.js +0 -242
  256. package/dist/modalManager.svelte-Cz_6x1Qd.js +0 -37
  257. package/dist/portal-D-oaEWsY.js +0 -43
  258. package/dist/portalContainment-CeAVqIb-.js +0 -281
  259. package/dist/serverTotals-2i39gy_x.js +0 -712
  260. package/dist/sizing-B7ixYndz.js +0 -216
  261. package/dist/to-event-card-props-q8vFqxkX.js +0 -205
  262. /package/dist/looks/{4.3.135 → 4.3.138}/micdrop-wordmark-BYMG6vLR.svg +0 -0
  263. /package/dist/looks/{4.3.135 → 4.3.138}/microphone-Ccv4r-kd.webp +0 -0
  264. /package/dist/looks/{4.3.135 → 4.3.138}/superuser-CZF6a5gO.webp +0 -0
  265. /package/dist/looks/{4.3.135 → 4.3.138}/treasury-DUE7lZzT.webp +0 -0
  266. /package/dist/looks/{4.3.135 → 4.3.138}/user-image-yuS4errP.svg +0 -0
@@ -0,0 +1,299 @@
1
+ import { n as e } from "./classNames-CPSQ9uy4.js";
2
+ import { t } from "./deprecation-BCjqE5lW.js";
3
+ import { i as n, t as r } from "./Button-B1cBhdtC.js";
4
+ import { c as i, l as a, n as o, t as s, u as c } from "./transitions-DST-mWoo.js";
5
+ import { n as l } from "./keyboard-Dk2PfrEz.js";
6
+ import { n as u, r as d, t as f } from "./SheetHandle-CCfYCPbY.js";
7
+ import { a as p, c as m, o as h, s as g, t as _ } from "./portalContainment-DSZUw-No.js";
8
+ import { t as v } from "./portal-BSuo4flQ.js";
9
+ import "svelte/internal/disclose-version";
10
+ import * as y from "svelte/internal/client";
11
+ import { SvelteMap as b } from "svelte/reactivity";
12
+ import { createContext as x, getContext as S, setContext as C } from "svelte";
13
+ // node_modules/@getmicdrop/svelte-components/dist/primitives/Modal/context.js
14
+ var w = Symbol("modal-panel-visibility"), T = (e) => {
15
+ C(w, e);
16
+ }, E = () => S(w), [D, O] = x(), k = /* @__PURE__ */ new Map();
17
+ function A(e) {
18
+ if (typeof document > "u" || !e) return () => {};
19
+ let t = e.parentElement ?? document.body, n = [];
20
+ for (let r of Array.from(t.children)) {
21
+ if (r === e || !(r instanceof HTMLElement)) continue;
22
+ let t = k.get(r);
23
+ t || (t = {
24
+ count: 0,
25
+ prevInert: r.inert,
26
+ prevAriaHidden: r.getAttribute("aria-hidden")
27
+ }, k.set(r, t), r.inert = !0, r.setAttribute("aria-hidden", "true")), t.count++, n.push(r);
28
+ }
29
+ let r = !1;
30
+ return () => {
31
+ if (!r) {
32
+ r = !0;
33
+ for (let e of n) {
34
+ let t = k.get(e);
35
+ t && (t.count--, !(t.count > 0) && (k.delete(e), e.inert = t.prevInert, t.prevAriaHidden === null ? e.removeAttribute("aria-hidden") : e.setAttribute("aria-hidden", t.prevAriaHidden)));
36
+ }
37
+ n.length = 0;
38
+ }
39
+ };
40
+ }
41
+ // node_modules/@getmicdrop/svelte-components/dist/primitives/Modal/ModalRoot.svelte
42
+ var ee = y.from_html("<div class=\"absolute inset-0 z-sticky flex items-center justify-center p-4\"><div class=\"absolute inset-0 bg-overlay-bg/60 backdrop-blur-sm\"></div> <div role=\"alertdialog\" aria-modal=\"true\" tabindex=\"-1\" class=\"relative bg-card rounded-lg w-full max-w-sm shadow-2xl p-6 flex flex-col gap-4\"><div class=\"flex flex-col gap-1\"><h2 class=\"type-subheading tone-primary\"> </h2> <p class=\"type-body tone-secondary\"> </p></div> <div class=\"flex flex-col md:flex-row md:justify-end gap-3\"><!> <!></div></div></div>"), te = y.from_html("<div aria-modal=\"true\" data-escape-layer=\"\"><div class=\"contents\"><!></div> <!></div>");
43
+ function j(i, a) {
44
+ let o = y.props_id();
45
+ y.push(a, !0);
46
+ let s = y.prop(a, "open", 15, !1), c = y.prop(a, "size", 3, "md"), f = y.prop(a, "persistent", 3, !1), x = y.prop(a, "haptic", 3, !0), S = y.prop(a, "role", 3, "dialog"), C = y.prop(a, "dirty", 3, !1), w = y.prop(a, "variant", 3, "sheet");
47
+ a.onclose && t("Modal prop 'onclose' is deprecated. Use 'oncancel' instead.");
48
+ let T = y.derived(() => a.oncancel ?? a.onclose), E = 0, D = 0, k = () => `${o}-title-${E++}`, j = () => `${o}-description-${D++}`, M = new b(), N = new b(), P = (e) => {
49
+ M.set(e.id, e.visibility);
50
+ }, F = (e) => {
51
+ M.delete(e);
52
+ }, I = (e) => {
53
+ N.set(e.id, e.visibility);
54
+ }, L = (e) => {
55
+ N.delete(e);
56
+ }, R = y.state(y.proxy(typeof window < "u" && window.matchMedia ? window.matchMedia("(min-width: 768px)").matches : !0));
57
+ y.user_effect(() => {
58
+ if (typeof window > "u" || !window.matchMedia) return;
59
+ let e = window.matchMedia("(min-width: 768px)"), t = () => {
60
+ y.set(R, e.matches, !0);
61
+ };
62
+ return t(), e.addEventListener("change", t), () => e.removeEventListener("change", t);
63
+ });
64
+ function z(e) {
65
+ for (let [t, n] of e) if (n === "always" || n === "desktop" && y.get(R) || n === "mobile" && !y.get(R)) return t;
66
+ let t = e.keys().next();
67
+ return t.done ? void 0 : t.value;
68
+ }
69
+ let B = y.derived(() => a["aria-labelledby"] ?? z(M)), V = y.derived(() => z(N)), H = y.state(null), U = y.state(null), W = y.state(!1), G = y.state(!1), K, q = y.derived(() => ({
70
+ title: a.discardLabels?.title ?? "Discard changes?",
71
+ description: a.discardLabels?.description ?? "You have unsaved changes. Are you sure you want to close?",
72
+ confirm: a.discardLabels?.confirm ?? "Discard",
73
+ cancel: a.discardLabels?.cancel ?? "Keep editing"
74
+ })), J = y.state(null);
75
+ y.user_effect(() => {
76
+ s() && !y.get(W) && typeof document < "u" && y.set(J, document.activeElement, !0);
77
+ });
78
+ let Y = () => {
79
+ y.set(G, !1), y.get(T)?.(), s(!1);
80
+ };
81
+ function X(e = Y) {
82
+ C() ? (K = e, y.set(G, !0)) : e();
83
+ }
84
+ let Z = () => X(), ne = () => {
85
+ let e = K ?? Y;
86
+ K = void 0, y.set(G, !1), e();
87
+ };
88
+ O({
89
+ get open() {
90
+ return s();
91
+ },
92
+ get size() {
93
+ return c();
94
+ },
95
+ get persistent() {
96
+ return f();
97
+ },
98
+ get variant() {
99
+ return w();
100
+ },
101
+ get role() {
102
+ return S();
103
+ },
104
+ nextTitleId: k,
105
+ nextDescriptionId: j,
106
+ registerTitle: P,
107
+ unregisterTitle: F,
108
+ registerDescription: I,
109
+ unregisterDescription: L,
110
+ resetModal: Y
111
+ });
112
+ let re = _();
113
+ g({
114
+ get target() {
115
+ return y.get(H);
116
+ },
117
+ get modalHost() {
118
+ return re?.modalHost;
119
+ },
120
+ layer: "modalContent"
121
+ }), y.user_effect(() => {
122
+ if (s() && y.get(H)) return h(y.get(H));
123
+ }), y.user_effect(() => {
124
+ s() && !y.get(W) && x() && n("light"), y.set(W, s(), !0), s() || (y.set(G, !1), K = void 0);
125
+ });
126
+ function ie(e) {
127
+ s() && l(e, y.get(H)) && (y.get(G) ? (e.preventDefault(), y.set(G, !1), K = void 0) : (e.preventDefault(), !f() && Z()));
128
+ }
129
+ y.user_effect(() => {
130
+ if (s()) return u();
131
+ });
132
+ let Q = y.state(void 0);
133
+ y.user_effect(() => {
134
+ let e = y.get(H);
135
+ if (!e) return;
136
+ let t = () => {
137
+ y.set(Q, e.parentElement ?? void 0, !0);
138
+ };
139
+ return t(), p(t);
140
+ }), y.user_effect(() => {
141
+ if (s() && y.get(H) && y.get(Q)) return A(y.get(H));
142
+ }), y.user_effect(() => {
143
+ if (y.get(G) && y.get(U)) return y.get(U).inert = !0, y.get(U).setAttribute("aria-hidden", "true"), () => {
144
+ y.get(U) && (y.get(U).inert = !1, y.get(U).removeAttribute("aria-hidden"));
145
+ };
146
+ });
147
+ var ae = { guardedClose: X }, $ = y.comment();
148
+ y.event("keydown", y.window, ie);
149
+ var oe = y.first_child($), se = (t) => {
150
+ var n = te();
151
+ let i;
152
+ var c = y.child(n), l = y.child(c);
153
+ y.snippet(l, () => a.children ?? y.noop), y.reset(c), y.bind_this(c, (e) => y.set(U, e), () => y.get(U));
154
+ var u = y.sibling(c, 2), p = (e) => {
155
+ var t = ee(), n = y.sibling(y.child(t), 2), i = y.child(n), a = y.child(i), s = y.only_child(a, !0), c = y.sibling(a, 2), l = y.only_child(c, !0);
156
+ y.reset(i);
157
+ var u = y.sibling(i, 2), f = y.child(u);
158
+ r(f, {
159
+ variant: "alternative",
160
+ size: "md",
161
+ onclick: () => {
162
+ y.set(G, !1), K = void 0;
163
+ },
164
+ children: (e, t) => {
165
+ y.next();
166
+ var n = y.text();
167
+ y.template_effect(() => y.set_text(n, y.get(q).cancel)), y.append(e, n);
168
+ },
169
+ $$slots: { default: !0 }
170
+ });
171
+ var p = y.sibling(f, 2);
172
+ r(p, {
173
+ variant: "red",
174
+ size: "md",
175
+ onclick: ne,
176
+ children: (e, t) => {
177
+ y.next();
178
+ var n = y.text();
179
+ y.template_effect(() => y.set_text(n, y.get(q).confirm)), y.append(e, n);
180
+ },
181
+ $$slots: { default: !0 }
182
+ }), y.reset(u), y.reset(n), y.action(n, (e, t) => d?.(e, t), () => ({ enabled: y.get(G) })), y.reset(t), y.template_effect(() => {
183
+ y.set_attribute(n, "aria-labelledby", `${o}-discard-title`), y.set_attribute(n, "aria-describedby", `${o}-discard-desc`), y.set_attribute(a, "id", `${o}-discard-title`), y.set_text(s, y.get(q).title), y.set_attribute(c, "id", `${o}-discard-desc`), y.set_text(l, y.get(q).description);
184
+ }), y.delegated("mousedown", t, (e) => e.stopPropagation()), y.delegated("mouseup", t, (e) => e.stopPropagation()), y.delegated("click", n, (e) => e.stopPropagation()), y.append(e, t);
185
+ };
186
+ y.if(u, (e) => {
187
+ y.get(G) && e(p);
188
+ }), y.reset(n), y.bind_this(n, (e) => y.set(H, e), () => y.get(H)), y.action(n, (e) => v?.(e)), y.action(n, (e, t) => d?.(e, t), () => ({
189
+ enabled: s() && !y.get(G),
190
+ returnFocusTo: y.get(J)
191
+ })), y.template_effect((e) => {
192
+ y.set_class(n, 1, e), y.set_attribute(n, "role", S()), y.set_attribute(n, "aria-labelledby", y.get(B)), y.set_attribute(n, "aria-describedby", y.get(V)), y.set_attribute(n, "data-testid", a["data-testid"]), i = y.set_style(n, "", i, { "z-index": m.modal });
193
+ }, [() => y.clsx(e("fixed inset-0 flex justify-center touch-none overscroll-none", w() === "dialog" ? "items-center p-4" : "items-end md:items-center md:p-4", a.class))]), y.delegated("mousedown", n, (e) => {
194
+ e.target === e.currentTarget && !f() && S() !== "alertdialog" && (e.currentTarget.dataset.clickStartedOnBackdrop = "true");
195
+ }), y.delegated("mouseup", n, (e) => {
196
+ let t = e.currentTarget;
197
+ e.target === e.currentTarget && t.dataset.clickStartedOnBackdrop === "true" && !f() && S() !== "alertdialog" && Z(), delete t.dataset.clickStartedOnBackdrop;
198
+ }), y.append(t, n);
199
+ };
200
+ return y.if(oe, (e) => {
201
+ s() && e(se);
202
+ }), y.append(i, $), y.pop(ae);
203
+ }
204
+ y.delegate([
205
+ "mousedown",
206
+ "mouseup",
207
+ "click"
208
+ ]);
209
+ // node_modules/@getmicdrop/svelte-components/dist/primitives/Modal/ModalOverlay.svelte
210
+ var M = y.from_html("<div><!></div>");
211
+ function N(t, n) {
212
+ y.push(n, !0), D();
213
+ var r = M(), a = y.child(r), o = (e) => {
214
+ var t = y.comment(), r = y.first_child(t);
215
+ y.snippet(r, () => n.children), y.append(e, t);
216
+ };
217
+ y.if(a, (e) => {
218
+ n.children && e(o);
219
+ }), y.reset(r), y.template_effect((e) => y.set_class(r, 1, e), [() => y.clsx(e("absolute inset-0 bg-overlay-bg/60 backdrop-blur-sm pointer-events-none", n.class))]), y.transition(3, r, () => i, () => ({ duration: s.normal })), y.append(t, r), y.pop();
220
+ }
221
+ // node_modules/@getmicdrop/svelte-components/dist/primitives/Modal/ModalPanelScope.svelte
222
+ function P(e, t) {
223
+ y.push(t, !0), T(t.visibility);
224
+ var n = y.comment(), r = y.first_child(n);
225
+ y.snippet(r, () => t.children ?? y.noop), y.append(e, n), y.pop();
226
+ }
227
+ // node_modules/@getmicdrop/svelte-components/dist/primitives/Modal/ModalPanel.svelte
228
+ var F = y.from_html("<div><!></div>"), I = y.from_html("<div><!> <!></div>");
229
+ function L(t, n) {
230
+ y.push(n, !0);
231
+ let r = D(), i = {
232
+ sm: "max-w-sm",
233
+ md: "max-w-md",
234
+ lg: "max-w-xl",
235
+ xl: "max-w-2xl"
236
+ }, l = {
237
+ sm: "md:max-w-sm",
238
+ md: "md:max-w-md",
239
+ lg: "md:max-w-xl",
240
+ xl: "md:max-w-2xl"
241
+ }, u = y.derived(() => i[r.size] || i.md), d = y.derived(() => l[r.size] || l.md);
242
+ function p(e) {
243
+ return !(typeof window < "u" && window.matchMedia) || window.matchMedia("(min-width: 768px)").matches ? a(e) : c(e, {
244
+ y: 300,
245
+ duration: s.normal,
246
+ easing: o.out
247
+ });
248
+ }
249
+ var m = y.comment(), h = y.first_child(m), g = (t) => {
250
+ var r = F();
251
+ P(y.child(r), {
252
+ visibility: "always",
253
+ children: (e, t) => {
254
+ var r = y.comment(), i = y.first_child(r);
255
+ y.snippet(i, () => n.children ?? y.noop), y.append(e, r);
256
+ },
257
+ $$slots: { default: !0 }
258
+ }), y.reset(r), y.template_effect((e) => y.set_class(r, 1, e), [() => y.clsx(e("relative bg-card rounded-lg w-full max-h-[calc(100vh-4rem)] overflow-hidden shadow-2xl flex flex-col", y.get(u), n.class))]), y.delegated("click", r, (e) => e.stopPropagation()), y.transition(3, r, () => a), y.append(t, r);
259
+ }, _ = (t) => {
260
+ var r = I(), i = y.child(r);
261
+ f(i, { class: "md:hidden" }), P(y.sibling(i, 2), {
262
+ visibility: "always",
263
+ children: (e, t) => {
264
+ var r = y.comment(), i = y.first_child(r);
265
+ y.snippet(i, () => n.children ?? y.noop), y.append(e, r);
266
+ },
267
+ $$slots: { default: !0 }
268
+ }), y.reset(r), y.template_effect((e) => y.set_class(r, 1, e), [() => y.clsx(e("relative bg-card w-full overflow-hidden flex flex-col touch-pan-y overscroll-contain", "rounded-t-3xl md:rounded-lg", "max-h-[90vh] max-h-[90dvh] md:max-h-[calc(100vh-4rem)]", "shadow-2xl", y.get(d), n.class))]), y.delegated("click", r, (e) => e.stopPropagation()), y.transition(3, r, () => p), y.append(t, r);
269
+ };
270
+ y.if(h, (e) => {
271
+ r.variant === "dialog" ? e(g) : e(_, -1);
272
+ }), y.append(t, m), y.pop();
273
+ }
274
+ y.delegate(["click"]);
275
+ // node_modules/@getmicdrop/svelte-components/dist/primitives/Modal/ModalBody.svelte
276
+ var R = y.from_html("<div><!></div>");
277
+ function z(t, n) {
278
+ y.push(n, !0), D();
279
+ var r = R(), i = y.child(r), a = (e) => {
280
+ var t = y.comment(), r = y.first_child(t);
281
+ y.snippet(r, () => n.children), y.append(e, t);
282
+ };
283
+ y.if(i, (e) => {
284
+ n.children && e(a);
285
+ }), y.reset(r), y.template_effect((e) => y.set_class(r, 1, e), [() => y.clsx(e("flex-1 min-h-0 overflow-y-auto px-6 py-3", n.class))]), y.append(t, r), y.pop();
286
+ }
287
+ // node_modules/@getmicdrop/svelte-components/dist/primitives/Modal/ModalFooter.svelte
288
+ var B = y.from_html("<div><!></div>");
289
+ function V(t, n) {
290
+ y.push(n, !0), D();
291
+ var r = B(), i = y.child(r), a = (e) => {
292
+ var t = y.comment(), r = y.first_child(t);
293
+ y.snippet(r, () => n.children), y.append(e, t);
294
+ };
295
+ y.if(i, (e) => {
296
+ n.children && e(a);
297
+ }), y.reset(r), y.template_effect((e) => y.set_class(r, 1, e), [() => y.clsx(e("shrink-0 w-full flex flex-col md:flex-row md:justify-end gap-3 px-6 pt-3 pb-6 empty:hidden", n.class))]), y.append(t, r), y.pop();
298
+ }
299
+ export { j as a, N as i, z as n, D as o, L as r, E as s, V as t };
@@ -0,0 +1,26 @@
1
+ import { n as e } from "./classNames-CPSQ9uy4.js";
2
+ import { o as t, s as n } from "./ModalFooter-gFaDKsfj.js";
3
+ import "svelte/internal/disclose-version";
4
+ import * as r from "svelte/internal/client";
5
+ // node_modules/@getmicdrop/svelte-components/dist/primitives/Modal/ModalTitle.svelte
6
+ var i = r.from_html("<h2><!></h2>");
7
+ function a(a, o) {
8
+ r.push(o, !0);
9
+ let s = t(), c = s.nextTitleId(), l = n() ?? "always";
10
+ r.user_effect(() => (s.registerTitle({
11
+ id: c,
12
+ visibility: l
13
+ }), () => {
14
+ s.unregisterTitle(c);
15
+ }));
16
+ var u = i(), d = r.child(u), f = (e) => {
17
+ var t = r.comment(), n = r.first_child(t);
18
+ r.snippet(n, () => o.children), r.append(e, t);
19
+ };
20
+ r.if(d, (e) => {
21
+ o.children && e(f);
22
+ }), r.reset(u), r.template_effect((e) => {
23
+ r.set_attribute(u, "id", c), r.set_class(u, 1, e);
24
+ }, [() => r.clsx(e(o.class))]), r.append(a, u), r.pop();
25
+ }
26
+ export { a as t };
@@ -1,11 +1,11 @@
1
- import { v as e } from "./sizing-B7ixYndz.js";
2
- import { t } from "./Input-C0BCVQQ5.js";
3
- import { l as n, u as r, y as i } from "./portalContainment-CeAVqIb-.js";
4
- import { t as a } from "./lazyOnce-CCfEO1xG.js";
1
+ import { t as e } from "./labels-CjSrA6gx.js";
2
+ import { t } from "./Input-BQk4itex.js";
3
+ import { d as n, n as r, t as i } from "./transitions-DST-mWoo.js";
4
+ import { t as a } from "./lazyOnce-jG8k1apa.js";
5
5
  import "svelte/internal/disclose-version";
6
6
  import * as o from "svelte/internal/client";
7
7
  import { untrack as s } from "svelte";
8
- //#region node_modules/@getmicdrop/svelte-components/dist/recipes/inputs/PasswordStrengthIndicator/PasswordStrengthIndicator.svelte
8
+ // node_modules/@getmicdrop/svelte-components/dist/recipes/inputs/PasswordStrengthIndicator/PasswordStrengthIndicator.svelte
9
9
  var c = o.from_html("<div></div>"), l = o.from_html("<div class=\"pt-2 space-y-2\"><div class=\"flex gap-1.5\"></div> <!></div>");
10
10
  function u(t, u) {
11
11
  o.push(u, !0);
@@ -14,7 +14,7 @@ function u(t, u) {
14
14
  weak: "Weak",
15
15
  good: "Good",
16
16
  strong: "Strong"
17
- }, f = o.prop(u, "password", 3, ""), p = o.prop(u, "strengthText", 15, ""), m = o.prop(u, "score", 31, () => -1), h = o.prop(u, "textColor", 15, ""), g = o.prop(u, "labels", 19, () => ({})), _ = o.derived(() => e(d, g())), v = o.state(""), y, b = o.state(null), x = a(() => import("./dist-bwbfGPKR.js"));
17
+ }, f = o.prop(u, "password", 3, ""), p = o.prop(u, "strengthText", 15, ""), m = o.prop(u, "score", 31, () => -1), h = o.prop(u, "textColor", 15, ""), g = o.prop(u, "labels", 19, () => ({})), _ = o.derived(() => e(d, g())), v = o.state(""), y, b = o.state(null), x = a(() => import("./dist-Dptst9ym.js"));
18
18
  function S() {
19
19
  x().then((e) => {
20
20
  o.set(b, e.passwordStrength, !0);
@@ -79,8 +79,8 @@ function u(t, u) {
79
79
  o.template_effect(() => o.set_class(n, 1, `h-1 flex-1 rounded-full transition-colors duration-normal ${(t < o.get(k) ? o.get(O) : "bg-bg-tertiary") ?? ""}`)), o.append(e, n);
80
80
  }), o.reset(a);
81
81
  var s = o.sibling(a, 2);
82
- o.snippet(s, () => u.children ?? o.noop), o.reset(t), o.transition(3, t, () => i, () => ({
83
- duration: n.elaborate,
82
+ o.snippet(s, () => u.children ?? o.noop), o.reset(t), o.transition(3, t, () => n, () => ({
83
+ duration: i.elaborate,
84
84
  easing: r.out
85
85
  })), o.append(e, t);
86
86
  };
@@ -88,8 +88,7 @@ function u(t, u) {
88
88
  o.get(v).length > 0 && e(M);
89
89
  }), o.append(t, A), o.pop();
90
90
  }
91
- //#endregion
92
- //#region node_modules/@getmicdrop/svelte-components/dist/recipes/inputs/PasswordInput.svelte
91
+ // node_modules/@getmicdrop/svelte-components/dist/recipes/inputs/PasswordInput.svelte
93
92
  var d = o.from_html("<p> </p>"), f = o.from_html("<div><!> <!></div>");
94
93
  function p(n, r) {
95
94
  o.push(r, !0);
@@ -185,8 +184,8 @@ function p(n, r) {
185
184
  o.set(M, e, !0);
186
185
  },
187
186
  children: (e, t) => {
188
- var n = d(), r = o.child(n);
189
- o.reset(n), o.template_effect(() => {
187
+ var n = d(), r = o.only_child(n);
188
+ o.template_effect(() => {
190
189
  o.set_class(n, 1, `type-caption ${o.get(M) ?? ""}`), o.set_text(r, `${o.get(O).passwordStrength ?? ""} ${o.get(j) ?? ""}`);
191
190
  }), o.append(e, n);
192
191
  },
@@ -197,5 +196,4 @@ function p(n, r) {
197
196
  y() && a() && e(I);
198
197
  }), o.reset(N), o.template_effect(() => o.set_class(N, 1, o.clsx(E()))), o.append(n, N), o.pop();
199
198
  }
200
- //#endregion
201
199
  export { p as t };