@unchainedshop/admin-ui 4.8.25 → 4.8.26

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 (537) hide show
  1. package/out/403/index.html +2 -2
  2. package/out/404/index.html +2 -2
  3. package/out/404.html +2 -2
  4. package/out/423/index.html +2 -2
  5. package/out/500/index.html +2 -2
  6. package/out/_next/static/{s9JIgzylJK2SpeEcB-ZI9 → _TiowajLX6Z3MYsLPNgxd}/_buildManifest.js +62 -62
  7. package/out/_next/static/chunks/{24-r3ko_zk9tx.js → 0-b63f3cwlt9h.js} +2 -2
  8. package/out/_next/static/chunks/{3_oq57mmti33y.js → 0-uh133eqcz6n.js} +1 -1
  9. package/out/_next/static/chunks/{0__v8hox2f99w.js → 0172idn4wi-am.js} +3 -3
  10. package/out/_next/static/chunks/{1snnkviatd2ds.js → 018n9pot9f5uf.js} +3 -3
  11. package/out/_next/static/chunks/{41mslgyvxwsej.js → 036jcj4okqca4.js} +1 -1
  12. package/out/_next/static/chunks/{33ndyf-aam_my.js → 03_e40kzqm4nj.js} +2 -2
  13. package/out/_next/static/chunks/{2yg0gngo1ojjy.js → 05dtc5uryjkmn.js} +2 -2
  14. package/out/_next/static/chunks/{3laksuh0hh5mn.js → 0989pcuje2j55.js} +1 -1
  15. package/out/_next/static/chunks/{3t-bgqidpfg2p.js → 0_ngi84ak813x.js} +1 -1
  16. package/out/_next/static/chunks/{0oikfwsuec7ab.js → 0ac5zzn3zeki5.js} +7 -7
  17. package/out/_next/static/chunks/{02az0am12ruz7.js → 0c1eqd9oamcur.js} +2 -2
  18. package/out/_next/static/chunks/{0uh50ckof6hx6.js → 0c2th4nk1xlfd.js} +2 -2
  19. package/out/_next/static/chunks/{1xp6bya-kpwfn.js → 0cotrfgh1n2cx.js} +1 -1
  20. package/out/_next/static/chunks/{2vhrwf77u-txi.js → 0dtahnosgvou_.js} +3 -3
  21. package/out/_next/static/chunks/{3dstnf59_lxjk.js → 0dvf7ltl55td_.js} +2 -2
  22. package/out/_next/static/chunks/{0rhsm8uteluq4.js → 0k433cermb_mg.js} +11 -11
  23. package/out/_next/static/chunks/0kkky_8vhaeaz.js +227 -0
  24. package/out/_next/static/chunks/{2jz9857mvxw1f.js → 0l3hp2c6_v3vu.js} +2 -2
  25. package/out/_next/static/chunks/{2zclrb781ijot.js → 0o16fnqhx30be.js} +2 -2
  26. package/out/_next/static/chunks/{2516fxi011eb1.js → 0pecsk3c09b19.js} +2 -2
  27. package/out/_next/static/chunks/{2k53q5l-08fs3.js → 0pj6j2o4ya0xs.js} +4 -4
  28. package/out/_next/static/chunks/{079edy40hhkgj.js → 0w2zoz_fn_wha.js} +4 -4
  29. package/out/_next/static/chunks/{3ahj8n2x-j99f.js → 0yhj5b33a-dp1.js} +4 -4
  30. package/out/_next/static/chunks/1-uz_5-063kh9.js +188 -0
  31. package/out/_next/static/chunks/{2jdelz2l311he.js → 10os1s66nimmi.js} +1 -1
  32. package/out/_next/static/chunks/119eyvb0tl4d7.js +5 -0
  33. package/out/_next/static/chunks/{3gls52bjnoo8q.js → 12ukdi5bzlbeo.js} +5 -5
  34. package/out/_next/static/chunks/{2rjnybq036zly.js → 13qk8ukzu1snm.js} +1 -1
  35. package/out/_next/static/chunks/{3_12z4kmwbyi-.js → 17wc5344qnib1.js} +3 -3
  36. package/out/_next/static/chunks/{37kg802txlx94.js → 18e-92lfg29wn.js} +9 -9
  37. package/out/_next/static/chunks/{277akhd6xt9p_.js → 1bhsgjj7bbftc.js} +2 -2
  38. package/out/_next/static/chunks/{42fk1xz9mr0ln.js → 1bp_0jnta8nj1.js} +2 -2
  39. package/out/_next/static/chunks/{3v80f5bymfjvd.js → 1cgxgd2cf8u3j.js} +1 -1
  40. package/out/_next/static/chunks/{0z3r-u3woyf5f.js → 1d951b6ed8oqn.js} +10 -10
  41. package/out/_next/static/chunks/{2qz0jmtz3yn40.js → 1epelh6347c59.js} +4 -4
  42. package/out/_next/static/chunks/{05j07j2bqc6wn.js → 1f5-j4f3irx0j.js} +1 -1
  43. package/out/_next/static/chunks/{32u64w60mh-qb.js → 1f536itbgwelp.js} +2 -2
  44. package/out/_next/static/chunks/{3uhtf9i__bqje.js → 1g57y7cq7tjcb.js} +3 -3
  45. package/out/_next/static/chunks/{26ie8u_ab24o8.js → 1gksg35fivk0-.js} +6 -6
  46. package/out/_next/static/chunks/{278a5_xfwj8t8.js → 1gv6j3dx9s71x.js} +3 -3
  47. package/out/_next/static/chunks/{238_wkbkqe4ru.js → 1hpx7xjq9a5bq.js} +2 -2
  48. package/out/_next/static/chunks/{2_bwqw4n9gs7w.js → 1hwup6qqzqzh8.js} +8 -8
  49. package/out/_next/static/chunks/{1jvgta6cg9f63.js → 1k703f4i1hgfy.js} +2 -2
  50. package/out/_next/static/chunks/{0qz4fmzwbpwoh.js → 1mo_wvf-1w8h-.js} +3 -3
  51. package/out/_next/static/chunks/{1_b14nl6-4wtw.js → 1o41sjh1nhwir.js} +10 -10
  52. package/out/_next/static/chunks/{2ckezjg_6i9cn.js → 1r0jyqmys60fw.js} +2 -2
  53. package/out/_next/static/chunks/1shkyosfbiwr4.js +1 -0
  54. package/out/_next/static/chunks/{35995k_05rugk.js → 1sivy8bkkmwxl.js} +1 -1
  55. package/out/_next/static/chunks/1t20r1ofch5r3.js +95 -0
  56. package/out/_next/static/chunks/{3ggt1tip88nkp.js → 1w_4l5gk0n27a.js} +2 -2
  57. package/out/_next/static/chunks/{3g0xmbqgxpj7o.js → 1weq9keqxiqpy.js} +1 -1
  58. package/out/_next/static/chunks/{3pu2ctsxqn-fl.js → 1zzpf1xbmchcj.js} +1 -1
  59. package/out/_next/static/chunks/{1wcwzekzzjwlq.js → 2-ciniqgtu96t.js} +3 -3
  60. package/out/_next/static/chunks/{16eus7dy50oyb.js → 20wamkfz03l6l.js} +2 -2
  61. package/out/_next/static/chunks/{2soyg4wxppe6n.js → 21c515liq8_sf.js} +2 -2
  62. package/out/_next/static/chunks/{0ij8zl3c4lqsk.js → 21lf0tu71e9e5.js} +4 -4
  63. package/out/_next/static/chunks/{3b1om2xaljjvh.js → 27tp9qrxhs6uf.js} +2 -2
  64. package/out/_next/static/chunks/{003ookoyh79au.js → 28z1z7in8-kbg.js} +1 -1
  65. package/out/_next/static/chunks/{3j7lb46_vxpd6.js → 2_0bsdj7k4kue.js} +2 -2
  66. package/out/_next/static/chunks/{1h4ckn5mxvi_8.js → 2b_lhf_533k0a.js} +3 -3
  67. package/out/_next/static/chunks/{1wez602sl5xny.js → 2cnc1jkfc85_x.js} +2 -2
  68. package/out/_next/static/chunks/{3_t_mtrxdgcpx.js → 2cwzp5h99c8es.js} +2 -2
  69. package/out/_next/static/chunks/{2wzimhcqk94rf.js → 2ecq8dhsm2eu1.js} +9 -9
  70. package/out/_next/static/chunks/{0x1q_xhnh-ahz.js → 2eo4m196-t6ed.js} +2 -2
  71. package/out/_next/static/chunks/{0id72_o51c3wx.js → 2f8qzo__ksyu7.js} +2 -2
  72. package/out/_next/static/chunks/{127vzg0pzx801.js → 2g0f0awj5p2qc.js} +2 -2
  73. package/out/_next/static/chunks/2i5uj5i4z-xu8.js +188 -0
  74. package/out/_next/static/chunks/2j6cph79-th54.js +7 -0
  75. package/out/_next/static/chunks/{0frvaf7psqfd-.js → 2o7wjpjbr5vau.js} +2 -2
  76. package/out/_next/static/chunks/{0feoncudhgyln.js → 2ocwu5vbc5r34.js} +1 -1
  77. package/out/_next/static/chunks/{43sqln4o-0sbu.js → 2p6deqdf8dlo0.js} +12 -12
  78. package/out/_next/static/chunks/{2ify0_8_eg6i8.js → 2rw-r9fvx6t4y.js} +2 -2
  79. package/out/_next/static/chunks/{3rskgltgatai7.js → 2skxi0oqka3ef.js} +4 -4
  80. package/out/_next/static/chunks/{0v97keszuu2ye.js → 2v0koj5wv-png.js} +2 -2
  81. package/out/_next/static/chunks/{36wixjyjpx2kp.js → 2vhqw66fy605y.js} +3 -3
  82. package/out/_next/static/chunks/{2lgzijzm81h5i.js → 2vy8ae-zwwle1.js} +3 -3
  83. package/out/_next/static/chunks/{3kniyx4tjrwz2.js → 2y9z7y6i5cawj.js} +3 -3
  84. package/out/_next/static/chunks/{2blfxtx5ec8hc.js → 2z5b35yv3i6aq.js} +2 -2
  85. package/out/_next/static/chunks/{0je6_km9r9fy3.js → 3-av_88np5f5_.js} +2 -2
  86. package/out/_next/static/chunks/{2pg_bikt9gdq9.js → 3-h5nu9jontfy.js} +2 -2
  87. package/out/_next/static/chunks/{2t8p0kniibzz0.js → 3-hdz4_6asex-.js} +2 -2
  88. package/out/_next/static/chunks/{2tn-d1ba-rexw.js → 30zp6-w17u9rt.js} +2 -2
  89. package/out/_next/static/chunks/{03lxylxrb--nr.js → 31_pg1fxqgdfx.js} +5 -5
  90. package/out/_next/static/chunks/{15qb_nbftdngf.js → 31j6x_qgtn-7j.js} +2 -2
  91. package/out/_next/static/chunks/{1530qvlw3k6-r.js → 363ng2l8o_bee.js} +1 -1
  92. package/out/_next/static/chunks/378867ti5yucc.js +3 -0
  93. package/out/_next/static/chunks/{3zscwdzfvog6_.js → 37phwvegpccj0.js} +3 -3
  94. package/out/_next/static/chunks/{1b350uot8ezcc.js → 37rq4vcfobv9x.js} +2 -2
  95. package/out/_next/static/chunks/{095k8hpxw-xbn.js → 3dbskin37ha12.js} +2 -2
  96. package/out/_next/static/chunks/{3h7u-1nejqqtb.js → 3opuxnw_w3yb5.js} +1 -1
  97. package/out/_next/static/chunks/{3oa7poag0otjv.js → 3s18b668qqa87.js} +3 -3
  98. package/out/_next/static/chunks/{41zg0kqiqrk1p.js → 3u3tcrl7wxrzi.js} +2 -2
  99. package/out/_next/static/chunks/{40xs4068rcf2a.js → 3wm88ukxj8u46.js} +2 -2
  100. package/out/_next/static/chunks/{17oybfz0_w57_.js → 404_8bnljpu18.js} +3 -3
  101. package/out/_next/static/chunks/{1ape9gu816w4y.js → 40bl8g3_13c59.js} +2 -2
  102. package/out/_next/static/chunks/{2gkktfamtwne7.js → 40v94fy15qxej.js} +2 -2
  103. package/out/_next/static/chunks/{1rjt4878-6jpq.js → 4188i5qe83m24.js} +9 -9
  104. package/out/_next/static/chunks/{39yikkubmtgqz.js → 458tg2eg5h8j5.js} +1 -1
  105. package/out/_next/static/chunks/{turbopack-3kacigl3rdfnv.js → turbopack-06hufy_7yovzw.js} +1 -1
  106. package/out/_next/static/chunks/{turbopack-36iwsu47bxp33.js → turbopack-08u3rgl_09tb7.js} +1 -1
  107. package/out/_next/static/chunks/{turbopack-3krde2-jab_v8.js → turbopack-0bljt1tp0zt4q.js} +1 -1
  108. package/out/_next/static/chunks/{turbopack-3r3t_benyr3e0.js → turbopack-0bp88aylp19tu.js} +1 -1
  109. package/out/_next/static/chunks/{turbopack-3ooud-27zb68g.js → turbopack-0cbhwv4g0ak0q.js} +1 -1
  110. package/out/_next/static/chunks/{turbopack-1w4scyf6vpol5.js → turbopack-0cu-maxx6s175.js} +1 -1
  111. package/out/_next/static/chunks/{turbopack-44xximgh8gm_p.js → turbopack-0hpk8f7-2xoz3.js} +1 -1
  112. package/out/_next/static/chunks/{turbopack-2b1khd4qbo4g_.js → turbopack-0i_uv1p6_dyo-.js} +1 -1
  113. package/out/_next/static/chunks/{turbopack-3qzwty6gp2rp6.js → turbopack-0j92hsdmi8k6p.js} +1 -1
  114. package/out/_next/static/chunks/{turbopack-3aomwkxdb1xcd.js → turbopack-0jijm5fs2d3pa.js} +1 -1
  115. package/out/_next/static/chunks/{turbopack-2zkucstqs-uas.js → turbopack-0la8grv9f6bxn.js} +1 -1
  116. package/out/_next/static/chunks/{turbopack-1nyeff6x3-pse.js → turbopack-0nlhzx_9rg6_p.js} +1 -1
  117. package/out/_next/static/chunks/{turbopack-1_gglg3dpcrb9.js → turbopack-0rt_vkqrb6ykb.js} +1 -1
  118. package/out/_next/static/chunks/{turbopack-2qna1gaz_m8yg.js → turbopack-0ywznohf-p_-1.js} +1 -1
  119. package/out/_next/static/chunks/{turbopack-1sbxamm6uhuz5.js → turbopack-10l1gows-lyo9.js} +1 -1
  120. package/out/_next/static/chunks/{turbopack-0zgk48rvr1ido.js → turbopack-13nb0axu41yph.js} +1 -1
  121. package/out/_next/static/chunks/{turbopack-43nacpl_z8zcq.js → turbopack-148_1qw3wae7d.js} +1 -1
  122. package/out/_next/static/chunks/{turbopack-3it6l3zzhdo9p.js → turbopack-14qzcqdgveoel.js} +1 -1
  123. package/out/_next/static/chunks/{turbopack-0f19levb05q7i.js → turbopack-14zydki2yqyd3.js} +1 -1
  124. package/out/_next/static/chunks/{turbopack-0_rgd_u2af3ru.js → turbopack-15x3cqzaaew93.js} +1 -1
  125. package/out/_next/static/chunks/{turbopack-1us_6ukt1jk6-.js → turbopack-1bnaj5x8w5m6z.js} +1 -1
  126. package/out/_next/static/chunks/{turbopack-0u-4g74a2wwm5.js → turbopack-1ddkj8w1l0b4_.js} +1 -1
  127. package/out/_next/static/chunks/{turbopack-2sq3dp63iy9sc.js → turbopack-1gbk68s3o1ulv.js} +1 -1
  128. package/out/_next/static/chunks/{turbopack-3_5cgc46h8vnh.js → turbopack-1k2h3st-nygbo.js} +1 -1
  129. package/out/_next/static/chunks/{turbopack-2gd0kzz1h3hib.js → turbopack-1r4g2xna7gckz.js} +1 -1
  130. package/out/_next/static/chunks/{turbopack-24dn7pallse3c.js → turbopack-1w2r6t0rjz8pp.js} +1 -1
  131. package/out/_next/static/chunks/{turbopack-0hqshmcyjb59f.js → turbopack-1w3-o4vpw_tgq.js} +1 -1
  132. package/out/_next/static/chunks/{turbopack-37s27yvm7wqhz.js → turbopack-22r1qh8g6munp.js} +1 -1
  133. package/out/_next/static/chunks/{turbopack-21wpv-2yjj_2k.js → turbopack-252a5rlyrq9fk.js} +1 -1
  134. package/out/_next/static/chunks/{turbopack-1hmv9sdzrieda.js → turbopack-25bgi6hb6qg8w.js} +1 -1
  135. package/out/_next/static/chunks/{turbopack-17yo0nf9vriak.js → turbopack-25hv3ltvy0wos.js} +1 -1
  136. package/out/_next/static/chunks/{turbopack-3q_fl6svn9p5v.js → turbopack-26z9lzkojt-cx.js} +1 -1
  137. package/out/_next/static/chunks/{turbopack-2xi5gbt97onhy.js → turbopack-272y7gt3ncsq7.js} +1 -1
  138. package/out/_next/static/chunks/{turbopack-0ck9bx9i_235a.js → turbopack-2b14t7jx5tgn7.js} +1 -1
  139. package/out/_next/static/chunks/{turbopack-411xj3ahxrm7x.js → turbopack-2cvqtdfi5z-33.js} +1 -1
  140. package/out/_next/static/chunks/{turbopack-211nr22unb6cu.js → turbopack-2h3q2k9k2riyq.js} +1 -1
  141. package/out/_next/static/chunks/{turbopack-3hwp80k71dv65.js → turbopack-2ihmy6dk991x4.js} +1 -1
  142. package/out/_next/static/chunks/{turbopack-2oib8sz_w6hep.js → turbopack-2jpit5njafpgz.js} +1 -1
  143. package/out/_next/static/chunks/{turbopack-1tt8er6zdq9n9.js → turbopack-2xm-84om1nxe3.js} +1 -1
  144. package/out/_next/static/chunks/{turbopack-34ki5zh3v60qq.js → turbopack-3-84r4h6w7ztq.js} +1 -1
  145. package/out/_next/static/chunks/{turbopack-31mn29md8ofl3.js → turbopack-3-kzs1xrhesa8.js} +1 -1
  146. package/out/_next/static/chunks/{turbopack-392y78oof71z2.js → turbopack-328hjoqts5fe-.js} +1 -1
  147. package/out/_next/static/chunks/{turbopack-028t8_6fqod-c.js → turbopack-34cd6px36-_ae.js} +1 -1
  148. package/out/_next/static/chunks/{turbopack-086jsmtsvtaec.js → turbopack-34gjko7_04blz.js} +1 -1
  149. package/out/_next/static/chunks/{turbopack-3_-rg9lmp4h0e.js → turbopack-34rebh56g2zjd.js} +1 -1
  150. package/out/_next/static/chunks/{turbopack-2jz68yzgjx-xl.js → turbopack-3591lq9bl5zm-.js} +1 -1
  151. package/out/_next/static/chunks/{turbopack-2uzg6ysxx6cf5.js → turbopack-3aujkr72l5znq.js} +1 -1
  152. package/out/_next/static/chunks/{turbopack-1pld3p02m7h8c.js → turbopack-3cnuj1vf45306.js} +1 -1
  153. package/out/_next/static/chunks/{turbopack-33hnf_-ch94yh.js → turbopack-3ma-qc75tctdd.js} +1 -1
  154. package/out/_next/static/chunks/{turbopack-2y9g0j3n6bhv8.js → turbopack-3mxiudedhdbib.js} +1 -1
  155. package/out/_next/static/chunks/{turbopack-3xna14y4x6294.js → turbopack-3n_3uj335tm0n.js} +1 -1
  156. package/out/_next/static/chunks/{turbopack-2e4vvf8-6h7il.js → turbopack-3np05fneli2gv.js} +1 -1
  157. package/out/_next/static/chunks/{turbopack-3vj5mrb50cv96.js → turbopack-3opb94dwpz7bg.js} +1 -1
  158. package/out/_next/static/chunks/{turbopack-3en5il6z7-a36.js → turbopack-3ouyppea8jp6k.js} +1 -1
  159. package/out/_next/static/chunks/{turbopack-1xt9y6imo4y47.js → turbopack-3qmjh91o7wte5.js} +1 -1
  160. package/out/_next/static/chunks/{turbopack-2tvzuc7lcku4v.js → turbopack-3seov_dvv8im-.js} +1 -1
  161. package/out/_next/static/chunks/{turbopack-0ougsw-ryfqrq.js → turbopack-3uov6gvwwuxmx.js} +1 -1
  162. package/out/_next/static/chunks/{turbopack-3p5qeedyziucp.js → turbopack-3x5pttfv2qlpw.js} +1 -1
  163. package/out/_next/static/chunks/{turbopack-3vozqs8tej365.js → turbopack-3xem4akmi9at9.js} +1 -1
  164. package/out/_next/static/chunks/{turbopack-2u4m169_39_qy.js → turbopack-3z9v3oefxw81i.js} +1 -1
  165. package/out/_next/static/chunks/{turbopack-2gq3nwbp7cjh5.js → turbopack-3zxsk_hikkrwx.js} +1 -1
  166. package/out/_next/static/chunks/{turbopack-0bro3_e58rpi5.js → turbopack-42akqkt4irsps.js} +1 -1
  167. package/out/_next/static/chunks/{turbopack-1hmil1x9p77h_.js → turbopack-44bpgib3rn1s2.js} +1 -1
  168. package/out/_offline/index.html +2 -2
  169. package/out/account/forgot-password/index.html +2 -2
  170. package/out/account/index.html +2 -2
  171. package/out/assortments/AssortmentDetailPage/index.html +2 -2
  172. package/out/assortments/index.html +2 -2
  173. package/out/assortments/new/index.html +2 -2
  174. package/out/copilot/index.html +2 -2
  175. package/out/country/CountryDetailPage/index.html +2 -2
  176. package/out/country/index.html +2 -2
  177. package/out/country/new/index.html +2 -2
  178. package/out/currency/CurrencyDetailPage/index.html +2 -2
  179. package/out/currency/index.html +2 -2
  180. package/out/currency/new/index.html +2 -2
  181. package/out/delivery-provider/DeliveryProviderDetailPage/index.html +2 -2
  182. package/out/delivery-provider/index.html +2 -2
  183. package/out/delivery-provider/new/index.html +2 -2
  184. package/out/enrollments/EnrollmentDetailPage/index.html +2 -2
  185. package/out/enrollments/index.html +2 -2
  186. package/out/events/EventDetailPage/index.html +2 -2
  187. package/out/events/index.html +2 -2
  188. package/out/exports/index.html +2 -2
  189. package/out/external/index.html +2 -2
  190. package/out/filters/FilterDetailPage/index.html +2 -2
  191. package/out/filters/index.html +2 -2
  192. package/out/filters/new/index.html +2 -2
  193. package/out/index.html +2 -2
  194. package/out/install/index.html +2 -2
  195. package/out/language/LanguageDetailPage/index.html +2 -2
  196. package/out/language/index.html +2 -2
  197. package/out/language/new/index.html +2 -2
  198. package/out/log-in/index.html +2 -2
  199. package/out/orders/OrderDetailPage/index.html +2 -2
  200. package/out/orders/index.html +2 -2
  201. package/out/payment-provider/PaymentProviderDetailPage/index.html +2 -2
  202. package/out/payment-provider/index.html +2 -2
  203. package/out/payment-provider/new/index.html +2 -2
  204. package/out/products/ProductDetailPage/index.html +2 -2
  205. package/out/products/index.html +2 -2
  206. package/out/products/new/index.html +2 -2
  207. package/out/quotations/QuotationDetailPage/index.html +2 -2
  208. package/out/quotations/index.html +2 -2
  209. package/out/reset-password/index.html +2 -2
  210. package/out/sign-up/index.html +2 -2
  211. package/out/styleguide/index.html +2 -2
  212. package/out/tokens/TokenDetailPage/index.html +2 -2
  213. package/out/tokens/index.html +2 -2
  214. package/out/users/UserDetailPage/index.html +2 -2
  215. package/out/users/index.html +2 -2
  216. package/out/users/new/index.html +2 -2
  217. package/out/verify-email/index.html +2 -2
  218. package/out/warehousing-provider/WarehousingProviderDetailPage/index.html +2 -2
  219. package/out/warehousing-provider/index.html +2 -2
  220. package/out/warehousing-provider/new/index.html +2 -2
  221. package/out/works/WorkDetailPage/index.html +2 -2
  222. package/out/works/WorkQueueListView/index.html +2 -2
  223. package/out/works/index.html +2 -2
  224. package/out/works/management/index.html +2 -2
  225. package/package.json +1 -1
  226. package/dist/chunk-45H2WVIC.js +0 -51
  227. package/dist/chunk-4VNS5WPM.js +0 -37
  228. package/dist/chunk-54DKBWXV.js +0 -33
  229. package/dist/chunk-6TXD4TA7.js +0 -1196
  230. package/dist/chunk-BGCKJQGS.js +0 -58
  231. package/dist/chunk-BYXBJQAS.js +0 -1
  232. package/dist/chunk-EJDZRZSZ.js +0 -59
  233. package/dist/chunk-ELPURWDC.js +0 -75
  234. package/dist/chunk-IAQPLRXZ.js +0 -16
  235. package/dist/chunk-ILYPJE4N.js +0 -57
  236. package/dist/chunk-IXBMHOB5.js +0 -13
  237. package/dist/chunk-KH5MK6ZW.js +0 -18
  238. package/dist/chunk-NT7RB7AK.js +0 -70
  239. package/dist/chunk-OKGJ6HDE.js +0 -26
  240. package/dist/chunk-Q6S3LBUF.js +0 -180
  241. package/dist/chunk-QNLGYFV7.js +0 -22
  242. package/dist/chunk-RAQV2GYF.js +0 -70
  243. package/dist/chunk-RHUFQVKL.js +0 -514
  244. package/dist/chunk-RVG6IOFC.js +0 -11
  245. package/dist/chunk-SRAAKMWY.js +0 -39
  246. package/dist/chunk-UFYR5WZT.js +0 -165
  247. package/dist/chunk-UXG7EYHC.js +0 -614
  248. package/dist/chunk-VDKQGOMV.js +0 -840
  249. package/dist/chunk-XHOCXPD5.js +0 -9
  250. package/dist/chunk-XJBPMIC4.js +0 -284
  251. package/dist/chunk-YO6PT7KD.js +0 -13
  252. package/dist/chunk-YSKZE2KN.js +0 -652
  253. package/dist/components/ui/Accordion/Accordion.d.ts +0 -11
  254. package/dist/components/ui/Accordion/Accordion.d.ts.map +0 -1
  255. package/dist/components/ui/Accordion/AccordionHeader.d.ts +0 -6
  256. package/dist/components/ui/Accordion/AccordionHeader.d.ts.map +0 -1
  257. package/dist/components/ui/Accordion/AccordionItem.d.ts +0 -11
  258. package/dist/components/ui/Accordion/AccordionItem.d.ts.map +0 -1
  259. package/dist/components/ui/ActiveInActive.d.ts +0 -10
  260. package/dist/components/ui/ActiveInActive.d.ts.map +0 -1
  261. package/dist/components/ui/AnimatedCounter.d.ts +0 -7
  262. package/dist/components/ui/AnimatedCounter.d.ts.map +0 -1
  263. package/dist/components/ui/Badge.d.ts +0 -10
  264. package/dist/components/ui/Badge.d.ts.map +0 -1
  265. package/dist/components/ui/BreadCrumbs.d.ts +0 -7
  266. package/dist/components/ui/BreadCrumbs.d.ts.map +0 -1
  267. package/dist/components/ui/Button.d.ts +0 -36
  268. package/dist/components/ui/Button.d.ts.map +0 -1
  269. package/dist/components/ui/CopyableText.d.ts +0 -5
  270. package/dist/components/ui/CopyableText.d.ts.map +0 -1
  271. package/dist/components/ui/DateInput.d.ts +0 -15
  272. package/dist/components/ui/DateInput.d.ts.map +0 -1
  273. package/dist/components/ui/DateRangeFilterInput.d.ts +0 -4
  274. package/dist/components/ui/DateRangeFilterInput.d.ts.map +0 -1
  275. package/dist/components/ui/DetailHeader.d.ts +0 -6
  276. package/dist/components/ui/DetailHeader.d.ts.map +0 -1
  277. package/dist/components/ui/DraggableIcon.d.ts +0 -3
  278. package/dist/components/ui/DraggableIcon.d.ts.map +0 -1
  279. package/dist/components/ui/ErrorBoundary.d.ts +0 -18
  280. package/dist/components/ui/ErrorBoundary.d.ts.map +0 -1
  281. package/dist/components/ui/ErrorFallback.d.ts +0 -6
  282. package/dist/components/ui/ErrorFallback.d.ts.map +0 -1
  283. package/dist/components/ui/HelpText.d.ts +0 -11
  284. package/dist/components/ui/HelpText.d.ts.map +0 -1
  285. package/dist/components/ui/ImageWithFallback.d.ts +0 -7
  286. package/dist/components/ui/ImageWithFallback.d.ts.map +0 -1
  287. package/dist/components/ui/InfoTextBanner.d.ts +0 -6
  288. package/dist/components/ui/InfoTextBanner.d.ts.map +0 -1
  289. package/dist/components/ui/JSONView.d.ts +0 -6
  290. package/dist/components/ui/JSONView.d.ts.map +0 -1
  291. package/dist/components/ui/ListHeader.d.ts +0 -6
  292. package/dist/components/ui/ListHeader.d.ts.map +0 -1
  293. package/dist/components/ui/Loading.d.ts +0 -3
  294. package/dist/components/ui/Loading.d.ts.map +0 -1
  295. package/dist/components/ui/NoData.d.ts +0 -7
  296. package/dist/components/ui/NoData.d.ts.map +0 -1
  297. package/dist/components/ui/NoImage.d.ts +0 -7
  298. package/dist/components/ui/NoImage.d.ts.map +0 -1
  299. package/dist/components/ui/NoImageSvg.d.ts +0 -8
  300. package/dist/components/ui/NoImageSvg.d.ts.map +0 -1
  301. package/dist/components/ui/PageHeader.d.ts +0 -11
  302. package/dist/components/ui/PageHeader.d.ts.map +0 -1
  303. package/dist/components/ui/Pagination.d.ts +0 -8
  304. package/dist/components/ui/Pagination.d.ts.map +0 -1
  305. package/dist/components/ui/Portal/Portal.d.ts +0 -16
  306. package/dist/components/ui/Portal/Portal.d.ts.map +0 -1
  307. package/dist/components/ui/Portal/Portal.types.d.ts +0 -16
  308. package/dist/components/ui/Portal/Portal.types.d.ts.map +0 -1
  309. package/dist/components/ui/SaveAndCancelButtons.d.ts +0 -10
  310. package/dist/components/ui/SaveAndCancelButtons.d.ts.map +0 -1
  311. package/dist/components/ui/SearchField.d.ts +0 -7
  312. package/dist/components/ui/SearchField.d.ts.map +0 -1
  313. package/dist/components/ui/Tab.d.ts +0 -18
  314. package/dist/components/ui/Tab.d.ts.map +0 -1
  315. package/dist/components/ui/Tag/TagInput.d.ts +0 -14
  316. package/dist/components/ui/Tag/TagInput.d.ts.map +0 -1
  317. package/dist/components/ui/Tag/TagList.d.ts +0 -8
  318. package/dist/components/ui/Tag/TagList.d.ts.map +0 -1
  319. package/dist/components/ui/Tag/TagListForm.d.ts +0 -8
  320. package/dist/components/ui/Tag/TagListForm.d.ts.map +0 -1
  321. package/dist/components/ui/Toggle.d.ts +0 -11
  322. package/dist/components/ui/Toggle.d.ts.map +0 -1
  323. package/dist/components/ui/ToolTip.d.ts +0 -7
  324. package/dist/components/ui/ToolTip.d.ts.map +0 -1
  325. package/dist/components/ui/card.d.ts +0 -9
  326. package/dist/components/ui/card.d.ts.map +0 -1
  327. package/dist/components/ui/chart.d.ts +0 -42
  328. package/dist/components/ui/chart.d.ts.map +0 -1
  329. package/dist/components/ui/form/CheckboxField.d.ts +0 -4
  330. package/dist/components/ui/form/CheckboxField.d.ts.map +0 -1
  331. package/dist/components/ui/form/ChoicesField.d.ts +0 -12
  332. package/dist/components/ui/form/ChoicesField.d.ts.map +0 -1
  333. package/dist/components/ui/form/Combobox.d.ts +0 -20
  334. package/dist/components/ui/form/Combobox.d.ts.map +0 -1
  335. package/dist/components/ui/form/DatePickerField.d.ts +0 -4
  336. package/dist/components/ui/form/DatePickerField.d.ts.map +0 -1
  337. package/dist/components/ui/form/EmailField.d.ts +0 -7
  338. package/dist/components/ui/form/EmailField.d.ts.map +0 -1
  339. package/dist/components/ui/form/FieldWithHelp.d.ts +0 -10
  340. package/dist/components/ui/form/FieldWithHelp.d.ts.map +0 -1
  341. package/dist/components/ui/form/FieldWrapper.d.ts +0 -8
  342. package/dist/components/ui/form/FieldWrapper.d.ts.map +0 -1
  343. package/dist/components/ui/form/FormErrors.d.ts +0 -6
  344. package/dist/components/ui/form/FormErrors.d.ts.map +0 -1
  345. package/dist/components/ui/form/JSONAreaField.d.ts +0 -7
  346. package/dist/components/ui/form/JSONAreaField.d.ts.map +0 -1
  347. package/dist/components/ui/form/MarkdownTextAreaField.d.ts +0 -8
  348. package/dist/components/ui/form/MarkdownTextAreaField.d.ts.map +0 -1
  349. package/dist/components/ui/form/PasswordField.d.ts +0 -3
  350. package/dist/components/ui/form/PasswordField.d.ts.map +0 -1
  351. package/dist/components/ui/form/SelectField.d.ts +0 -11
  352. package/dist/components/ui/form/SelectField.d.ts.map +0 -1
  353. package/dist/components/ui/form/SubmitButton.d.ts +0 -9
  354. package/dist/components/ui/form/SubmitButton.d.ts.map +0 -1
  355. package/dist/components/ui/form/TagInputField.d.ts +0 -6
  356. package/dist/components/ui/form/TagInputField.d.ts.map +0 -1
  357. package/dist/components/ui/form/TextAreaField.d.ts +0 -8
  358. package/dist/components/ui/form/TextAreaField.d.ts.map +0 -1
  359. package/dist/components/ui/form/TextField.d.ts +0 -10
  360. package/dist/components/ui/form/TextField.d.ts.map +0 -1
  361. package/dist/components/ui/form/index.d.ts +0 -17
  362. package/dist/components/ui/form/index.d.ts.map +0 -1
  363. package/dist/components/ui/icons.d.ts +0 -4
  364. package/dist/components/ui/icons.d.ts.map +0 -1
  365. package/dist/components/ui/index.d.ts +0 -41
  366. package/dist/components/ui/index.d.ts.map +0 -1
  367. package/dist/form.js +0 -30102
  368. package/dist/gql/types.d.ts +0 -17209
  369. package/dist/gql/types.d.ts.map +0 -1
  370. package/dist/hooks.js +0 -41
  371. package/dist/lib/utils.d.ts +0 -3
  372. package/dist/lib/utils.d.ts.map +0 -1
  373. package/dist/modal.js +0 -114
  374. package/dist/modules/UnchainedContext/UnchainedContext.d.ts +0 -8
  375. package/dist/modules/UnchainedContext/UnchainedContext.d.ts.map +0 -1
  376. package/dist/modules/UnchainedContext/useUnchainedContext.d.ts +0 -7
  377. package/dist/modules/UnchainedContext/useUnchainedContext.d.ts.map +0 -1
  378. package/dist/modules/accounts/fragment/MD5MetaDataFragment.d.ts +0 -3
  379. package/dist/modules/accounts/fragment/MD5MetaDataFragment.d.ts.map +0 -1
  380. package/dist/modules/accounts/fragment/UserFragment.d.ts +0 -3
  381. package/dist/modules/accounts/fragment/UserFragment.d.ts.map +0 -1
  382. package/dist/modules/accounts/hooks/useCurrentUser.d.ts +0 -10
  383. package/dist/modules/accounts/hooks/useCurrentUser.d.ts.map +0 -1
  384. package/dist/modules/accounts/hooks/useUsersCount.d.ts +0 -8
  385. package/dist/modules/accounts/hooks/useUsersCount.d.ts.map +0 -1
  386. package/dist/modules/accounts.js +0 -1013
  387. package/dist/modules/assortment/hooks/useAssortmentsCount.d.ts +0 -8
  388. package/dist/modules/assortment/hooks/useAssortmentsCount.d.ts.map +0 -1
  389. package/dist/modules/assortment.js +0 -1121
  390. package/dist/modules/common/components/AppContext.d.ts +0 -18
  391. package/dist/modules/common/components/AppContext.d.ts.map +0 -1
  392. package/dist/modules/common/components/FormWrapper.d.ts +0 -8
  393. package/dist/modules/common/components/FormWrapper.d.ts.map +0 -1
  394. package/dist/modules/common/components/ThemeWrapper.d.ts +0 -10
  395. package/dist/modules/common/components/ThemeWrapper.d.ts.map +0 -1
  396. package/dist/modules/common/data/iso-codes.d.ts +0 -4
  397. package/dist/modules/common/data/iso-codes.d.ts.map +0 -1
  398. package/dist/modules/common/data/miscellaneous.d.ts +0 -51
  399. package/dist/modules/common/data/miscellaneous.d.ts.map +0 -1
  400. package/dist/modules/common/fragments/AddressFragment.d.ts +0 -3
  401. package/dist/modules/common/fragments/AddressFragment.d.ts.map +0 -1
  402. package/dist/modules/common/hooks/useApp.d.ts +0 -11
  403. package/dist/modules/common/hooks/useApp.d.ts.map +0 -1
  404. package/dist/modules/common/hooks/useCSVExport.d.ts +0 -10
  405. package/dist/modules/common/hooks/useCSVExport.d.ts.map +0 -1
  406. package/dist/modules/common/hooks/useCSVImport.d.ts +0 -18
  407. package/dist/modules/common/hooks/useCSVImport.d.ts.map +0 -1
  408. package/dist/modules/common/hooks/useChatEndpointChecker.d.ts +0 -5
  409. package/dist/modules/common/hooks/useChatEndpointChecker.d.ts.map +0 -1
  410. package/dist/modules/common/hooks/useConfirmMediaUpload.d.ts +0 -10
  411. package/dist/modules/common/hooks/useConfirmMediaUpload.d.ts.map +0 -1
  412. package/dist/modules/common/hooks/useDashboardMetrics.d.ts +0 -23
  413. package/dist/modules/common/hooks/useDashboardMetrics.d.ts.map +0 -1
  414. package/dist/modules/common/hooks/useLocalStorage.d.ts +0 -3
  415. package/dist/modules/common/hooks/useLocalStorage.d.ts.map +0 -1
  416. package/dist/modules/common/hooks/useOrderAnalytics.d.ts +0 -25
  417. package/dist/modules/common/hooks/useOrderAnalytics.d.ts.map +0 -1
  418. package/dist/modules/common/hooks/useOrderItemsAnalytics.d.ts +0 -16
  419. package/dist/modules/common/hooks/useOrderItemsAnalytics.d.ts.map +0 -1
  420. package/dist/modules/common/hooks/useOutsideClick.d.ts +0 -3
  421. package/dist/modules/common/hooks/useOutsideClick.d.ts.map +0 -1
  422. package/dist/modules/common/hooks/usePortal.d.ts +0 -20
  423. package/dist/modules/common/hooks/usePortal.d.ts.map +0 -1
  424. package/dist/modules/common/hooks/useShopConfiguration.d.ts +0 -8
  425. package/dist/modules/common/hooks/useShopConfiguration.d.ts.map +0 -1
  426. package/dist/modules/common/hooks/useShopInfo.d.ts +0 -41
  427. package/dist/modules/common/hooks/useShopInfo.d.ts.map +0 -1
  428. package/dist/modules/common/hooks/useStatusTypes.d.ts +0 -10
  429. package/dist/modules/common/hooks/useStatusTypes.d.ts.map +0 -1
  430. package/dist/modules/common/hooks/useSystemRoles.d.ts +0 -7
  431. package/dist/modules/common/hooks/useSystemRoles.d.ts.map +0 -1
  432. package/dist/modules/common/hooks/useTheme.d.ts +0 -7
  433. package/dist/modules/common/hooks/useTheme.d.ts.map +0 -1
  434. package/dist/modules/common/utils/deBounce.d.ts +0 -3
  435. package/dist/modules/common/utils/deBounce.d.ts.map +0 -1
  436. package/dist/modules/common/utils/defaultNextImageLoader.d.ts +0 -7
  437. package/dist/modules/common/utils/defaultNextImageLoader.d.ts.map +0 -1
  438. package/dist/modules/common/utils/formatUsername.d.ts +0 -3
  439. package/dist/modules/common/utils/formatUsername.d.ts.map +0 -1
  440. package/dist/modules/common/utils/getSetupStepsConfigurationsMeta.d.ts +0 -30
  441. package/dist/modules/common/utils/getSetupStepsConfigurationsMeta.d.ts.map +0 -1
  442. package/dist/modules/common/utils/normalizeFilterKeys.d.ts +0 -4
  443. package/dist/modules/common/utils/normalizeFilterKeys.d.ts.map +0 -1
  444. package/dist/modules/common/utils/useFormatDateTime.d.ts +0 -7
  445. package/dist/modules/common/utils/useFormatDateTime.d.ts.map +0 -1
  446. package/dist/modules/common/utils/utils.d.ts +0 -21
  447. package/dist/modules/common/utils/utils.d.ts.map +0 -1
  448. package/dist/modules/country/fragments/CountryFragment.d.ts +0 -3
  449. package/dist/modules/country/fragments/CountryFragment.d.ts.map +0 -1
  450. package/dist/modules/country/hooks/useCountries.d.ts +0 -22
  451. package/dist/modules/country/hooks/useCountries.d.ts.map +0 -1
  452. package/dist/modules/country.js +0 -108
  453. package/dist/modules/currency.js +0 -119
  454. package/dist/modules/delivery-provider.js +0 -269
  455. package/dist/modules/enrollment.js +0 -353
  456. package/dist/modules/event.js +0 -123
  457. package/dist/modules/filter.js +0 -448
  458. package/dist/modules/forms/components/Form.d.ts +0 -8
  459. package/dist/modules/forms/components/Form.d.ts.map +0 -1
  460. package/dist/modules/forms/hooks/useField.d.ts +0 -35
  461. package/dist/modules/forms/hooks/useField.d.ts.map +0 -1
  462. package/dist/modules/forms/hooks/useForm.d.ts +0 -44
  463. package/dist/modules/forms/hooks/useForm.d.ts.map +0 -1
  464. package/dist/modules/forms/hooks/useFormContext.d.ts +0 -3
  465. package/dist/modules/forms/hooks/useFormContext.d.ts.map +0 -1
  466. package/dist/modules/forms/lib/FormContext.d.ts +0 -13
  467. package/dist/modules/forms/lib/FormContext.d.ts.map +0 -1
  468. package/dist/modules/forms/lib/clean.d.ts +0 -3
  469. package/dist/modules/forms/lib/clean.d.ts.map +0 -1
  470. package/dist/modules/forms/lib/validators.d.ts +0 -20
  471. package/dist/modules/forms/lib/validators.d.ts.map +0 -1
  472. package/dist/modules/language/fragments/LanguageFragment.d.ts +0 -3
  473. package/dist/modules/language/fragments/LanguageFragment.d.ts.map +0 -1
  474. package/dist/modules/language/hooks/useLanguages.d.ts +0 -19
  475. package/dist/modules/language/hooks/useLanguages.d.ts.map +0 -1
  476. package/dist/modules/language.js +0 -106
  477. package/dist/modules/modal/components/AlertMessage.d.ts +0 -9
  478. package/dist/modules/modal/components/AlertMessage.d.ts.map +0 -1
  479. package/dist/modules/modal/components/DangerMessage.d.ts +0 -12
  480. package/dist/modules/modal/components/DangerMessage.d.ts.map +0 -1
  481. package/dist/modules/modal/components/ImportResultMessage.d.ts +0 -14
  482. package/dist/modules/modal/components/ImportResultMessage.d.ts.map +0 -1
  483. package/dist/modules/modal/components/Modal.d.ts +0 -10
  484. package/dist/modules/modal/components/Modal.d.ts.map +0 -1
  485. package/dist/modules/modal/components/ModalWrapper.d.ts +0 -6
  486. package/dist/modules/modal/components/ModalWrapper.d.ts.map +0 -1
  487. package/dist/modules/modal/hooks/useModal.d.ts +0 -7
  488. package/dist/modules/modal/hooks/useModal.d.ts.map +0 -1
  489. package/dist/modules/modal/utils/ModalContext.d.ts +0 -9
  490. package/dist/modules/modal/utils/ModalContext.d.ts.map +0 -1
  491. package/dist/modules/order/fragments/OrderDetailFragment.d.ts +0 -3
  492. package/dist/modules/order/fragments/OrderDetailFragment.d.ts.map +0 -1
  493. package/dist/modules/order/fragments/OrderFragment.d.ts +0 -3
  494. package/dist/modules/order/fragments/OrderFragment.d.ts.map +0 -1
  495. package/dist/modules/order/hooks/useOrders.d.ts +0 -46
  496. package/dist/modules/order/hooks/useOrders.d.ts.map +0 -1
  497. package/dist/modules/order.js +0 -563
  498. package/dist/modules/payment-providers.js +0 -206
  499. package/dist/modules/product/hooks/useProductsCount.d.ts +0 -8
  500. package/dist/modules/product/hooks/useProductsCount.d.ts.map +0 -1
  501. package/dist/modules/product-review.js +0 -251
  502. package/dist/modules/product.js +0 -1929
  503. package/dist/modules/quotation.js +0 -297
  504. package/dist/modules/token.js +0 -143
  505. package/dist/modules/warehousing-providers.js +0 -206
  506. package/dist/modules/work/fragments/WorkFragment.d.ts +0 -3
  507. package/dist/modules/work/fragments/WorkFragment.d.ts.map +0 -1
  508. package/dist/modules/work/hooks/useAddWork.d.ts +0 -6
  509. package/dist/modules/work/hooks/useAddWork.d.ts.map +0 -1
  510. package/dist/modules/work/hooks/useWork.d.ts +0 -32
  511. package/dist/modules/work/hooks/useWork.d.ts.map +0 -1
  512. package/dist/modules/work.js +0 -308
  513. package/dist/plugins.js +0 -8
  514. package/dist/providers.js +0 -6
  515. package/dist/sdk/hooks.d.ts +0 -9
  516. package/dist/sdk/hooks.d.ts.map +0 -1
  517. package/dist/sdk/modal.d.ts +0 -7
  518. package/dist/sdk/modal.d.ts.map +0 -1
  519. package/dist/sdk/plugins.d.ts +0 -67
  520. package/dist/sdk/plugins.d.ts.map +0 -1
  521. package/dist/sdk/providers.d.ts +0 -5
  522. package/dist/sdk/providers.d.ts.map +0 -1
  523. package/dist/sdk/theme.d.ts +0 -26
  524. package/dist/sdk/theme.d.ts.map +0 -1
  525. package/dist/theme.js +0 -34
  526. package/dist/ui.js +0 -21540
  527. package/out/_next/static/chunks/0-kffmdf1lcxk.js +0 -1
  528. package/out/_next/static/chunks/0axbsyx70ajmu.js +0 -5
  529. package/out/_next/static/chunks/0dlg390tt3o1_.js +0 -107
  530. package/out/_next/static/chunks/0ki8gfs3dlslv.js +0 -3
  531. package/out/_next/static/chunks/140i5f2n-78cg.js +0 -7
  532. package/out/_next/static/chunks/1qx9z7kl93y0b.js +0 -188
  533. package/out/_next/static/chunks/25mevljp4o01b.js +0 -188
  534. package/out/_next/static/chunks/2qhvt2n_whgz1.js +0 -227
  535. package/out/manifest.json +0 -48
  536. /package/out/_next/static/{s9JIgzylJK2SpeEcB-ZI9 → _TiowajLX6Z3MYsLPNgxd}/_clientMiddlewareManifest.js +0 -0
  537. /package/out/_next/static/{s9JIgzylJK2SpeEcB-ZI9 → _TiowajLX6Z3MYsLPNgxd}/_ssgManifest.js +0 -0
@@ -1,514 +0,0 @@
1
- import { Y, A, r, u3, i3, y, u2, o2, l3, oe, y2, x, n, S, k2, f2, p2, H, n2, K, s4, l4 as l4$1, le, B, M, n3, u, v, T2, I, p, f, s2, C, N, m, x2, t2, c, l, t3, E2, o4, m3, d, w2 as w2$1, c2, t, A2, s3, i, b, s, n5 } from './chunk-6TXD4TA7.js';
2
- import { ModalContext_default } from './chunk-RVG6IOFC.js';
3
- import l4, { createContext, useRef, useReducer, createRef, useCallback, useMemo, useState, Fragment, useEffect, useContext } from 'react';
4
- import { useIntl } from 'react-intl';
5
- import { jsx, jsxs, Fragment as Fragment$1 } from 'react/jsx-runtime';
6
-
7
- var e = createContext(() => {
8
- });
9
- function C2({ value: t4, children: o4 }) {
10
- return l4.createElement(e.Provider, { value: t4 }, o4);
11
- }
12
-
13
- // ../node_modules/@headlessui/react/dist/hooks/use-escape.js
14
- function a(o4$1, r4 = typeof document != "undefined" ? document.defaultView : null, t4) {
15
- let n6 = I(o4$1, "escape");
16
- E2(r4, "keydown", (e2) => {
17
- n6 && (e2.defaultPrevented || e2.key === o4.Escape && t4(e2));
18
- });
19
- }
20
- function f3() {
21
- var t4;
22
- let [e2] = useState(() => typeof window != "undefined" && typeof window.matchMedia == "function" ? window.matchMedia("(pointer: coarse)") : null), [o4, c4] = useState((t4 = e2 == null ? void 0 : e2.matches) != null ? t4 : false);
23
- return n(() => {
24
- if (!e2) return;
25
- function n6(r4) {
26
- c4(r4.matches);
27
- }
28
- return e2.addEventListener("change", n6), () => e2.removeEventListener("change", n6);
29
- }, [e2]), o4;
30
- }
31
- function S2({ defaultContainers: l5 = [], portals: n6, mainTreeNode: o4 } = {}) {
32
- let c4 = o2(() => {
33
- var r4, u5;
34
- let i5 = l(o4), t4 = [];
35
- for (let e2 of l5) e2 !== null && (t3(e2) ? t4.push(e2) : "current" in e2 && t3(e2.current) && t4.push(e2.current));
36
- if (n6 != null && n6.current) for (let e2 of n6.current) t4.push(e2);
37
- for (let e2 of (r4 = i5 == null ? void 0 : i5.querySelectorAll("html > *, body > *")) != null ? r4 : []) e2 !== document.body && e2 !== document.head && t3(e2) && e2.id !== "headlessui-portal-root" && (o4 && (e2.contains(o4) || e2.contains((u5 = o4 == null ? void 0 : o4.getRootNode()) == null ? void 0 : u5.host)) || t4.some((E2) => e2.contains(E2)) || t4.push(e2));
38
- return t4;
39
- });
40
- return { resolveContainers: c4, contains: o2((i5) => c4().some((t4) => t4.contains(i5))) };
41
- }
42
- var d2 = createContext(null);
43
- function j({ children: l5, node: n6 }) {
44
- let [o4, c4] = useState(null), i5 = x3(n6 != null ? n6 : o4);
45
- return l4.createElement(d2.Provider, { value: i5 }, l5, i5 === null && l4.createElement(f, { features: s2.Hidden, ref: (t4) => {
46
- var r4, u5;
47
- if (t4) {
48
- for (let e2 of (u5 = (r4 = l(t4)) == null ? void 0 : r4.querySelectorAll("html > *, body > *")) != null ? u5 : []) if (e2 !== document.body && e2 !== document.head && t3(e2) && e2 != null && e2.contains(t4)) {
49
- c4(e2);
50
- break;
51
- }
52
- }
53
- } }));
54
- }
55
- function x3(l5 = null) {
56
- var n6;
57
- return (n6 = useContext(d2)) != null ? n6 : l5;
58
- }
59
- function f4() {
60
- let e2 = useRef(false);
61
- return n(() => (e2.current = true, () => {
62
- e2.current = false;
63
- }), []), e2;
64
- }
65
- var a2 = ((r4) => (r4[r4.Forwards = 0] = "Forwards", r4[r4.Backwards = 1] = "Backwards", r4))(a2 || {});
66
- function u4() {
67
- let e2 = useRef(0);
68
- return s3(true, "keydown", (r4) => {
69
- r4.key === "Tab" && (e2.current = r4.shiftKey ? 1 : 0);
70
- }, true), e2;
71
- }
72
-
73
- // ../node_modules/@headlessui/react/dist/components/focus-trap/focus-trap.js
74
- function x4(o4) {
75
- if (!o4) return /* @__PURE__ */ new Set();
76
- if (typeof o4 == "function") return new Set(o4());
77
- let t4 = /* @__PURE__ */ new Set();
78
- for (let e2 of o4.current) t3(e2.current) && t4.add(e2.current);
79
- return t4;
80
- }
81
- var $ = "div";
82
- var G = ((n6) => (n6[n6.None = 0] = "None", n6[n6.InitialFocus = 1] = "InitialFocus", n6[n6.TabLock = 2] = "TabLock", n6[n6.FocusLock = 4] = "FocusLock", n6[n6.RestoreFocus = 8] = "RestoreFocus", n6[n6.AutoFocus = 16] = "AutoFocus", n6))(G || {});
83
- function w2(o4, t4) {
84
- let e2 = useRef(null), r4 = y(e2, t4), { initialFocus: u5, initialFocusFallback: a3, containers: n6, features: s6 = 15, ...f5 } = o4;
85
- l3() || (s6 = 0);
86
- let l5 = u2(e2.current);
87
- re(s6, { ownerDocument: l5 });
88
- let T2$1 = ne(s6, { ownerDocument: l5, container: e2, initialFocus: u5, initialFocusFallback: a3 });
89
- oe2(s6, { ownerDocument: l5, container: e2, containers: n6, previousActiveElement: T2$1 });
90
- let g = u4(), A3 = o2((c4) => {
91
- if (!n3(e2.current)) return;
92
- let E2 = e2.current;
93
- ((V2) => V2())(() => {
94
- u(g.current, { [a2.Forwards]: () => {
95
- v(E2, T2.First, { skipElements: [c4.relatedTarget, a3] });
96
- }, [a2.Backwards]: () => {
97
- v(E2, T2.Last, { skipElements: [c4.relatedTarget, a3] });
98
- } });
99
- });
100
- }), v2 = I(!!(s6 & 2), "focus-trap#tab-lock"), N2 = p(), b4 = useRef(false), k3 = { ref: r4, onKeyDown(c4) {
101
- c4.key == "Tab" && (b4.current = true, N2.requestAnimationFrame(() => {
102
- b4.current = false;
103
- }));
104
- }, onBlur(c4) {
105
- if (!(s6 & 4)) return;
106
- let E2 = x4(n6);
107
- n3(e2.current) && E2.add(e2.current);
108
- let L = c4.relatedTarget;
109
- i(L) && L.dataset.headlessuiFocusGuard !== "true" && (I2(E2, L) || (b4.current ? v(e2.current, u(g.current, { [a2.Forwards]: () => T2.Next, [a2.Backwards]: () => T2.Previous }) | T2.WrapAround, { relativeTo: c4.target }) : i(c4.target) && w2$1(c4.target)));
110
- } }, B2 = K();
111
- return l4.createElement(l4.Fragment, null, v2 && l4.createElement(f, { as: "button", type: "button", "data-headlessui-focus-guard": true, onFocus: A3, features: s2.Focusable }), B2({ ourProps: k3, theirProps: f5, defaultTag: $, name: "FocusTrap" }), v2 && l4.createElement(f, { as: "button", type: "button", "data-headlessui-focus-guard": true, onFocus: A3, features: s2.Focusable }));
112
- }
113
- var ee = Y(w2);
114
- var ge = Object.assign(ee, { features: G });
115
- function te(o4 = true) {
116
- let t4 = useRef(n5.slice());
117
- return m3(([e2], [r4]) => {
118
- r4 === true && e2 === false && t(() => {
119
- t4.current.splice(0);
120
- }), r4 === false && e2 === true && (t4.current = n5.slice());
121
- }, [o4, n5, t4]), o2(() => {
122
- var e2;
123
- return (e2 = t4.current.find((r4) => r4 != null && r4.isConnected)) != null ? e2 : null;
124
- });
125
- }
126
- function re(o4, { ownerDocument: t4 }) {
127
- let e2 = !!(o4 & 8), r4 = te(e2);
128
- m3(() => {
129
- e2 || d(t4 == null ? void 0 : t4.body) && w2$1(r4());
130
- }, [e2]), c2(() => {
131
- e2 && w2$1(r4());
132
- });
133
- }
134
- function ne(o4, { ownerDocument: t4, container: e2, initialFocus: r4, initialFocusFallback: u5 }) {
135
- let a3 = useRef(null), n6 = I(!!(o4 & 1), "focus-trap#initial-focus"), s6 = f4();
136
- return m3(() => {
137
- if (o4 === 0) return;
138
- if (!n6) {
139
- u5 != null && u5.current && w2$1(u5.current);
140
- return;
141
- }
142
- let f5 = e2.current;
143
- f5 && t(() => {
144
- if (!s6.current) return;
145
- let l5 = t4 == null ? void 0 : t4.activeElement;
146
- if (r4 != null && r4.current) {
147
- if ((r4 == null ? void 0 : r4.current) === l5) {
148
- a3.current = l5;
149
- return;
150
- }
151
- } else if (f5.contains(l5)) {
152
- a3.current = l5;
153
- return;
154
- }
155
- if (r4 != null && r4.current) w2$1(r4.current);
156
- else {
157
- if (o4 & 16) {
158
- if (v(f5, T2.First | T2.AutoFocus) !== A2.Error) return;
159
- } else if (v(f5, T2.First) !== A2.Error) return;
160
- if (u5 != null && u5.current && (w2$1(u5.current), (t4 == null ? void 0 : t4.activeElement) === u5.current)) return;
161
- console.warn("There are no focusable elements inside the <FocusTrap />");
162
- }
163
- a3.current = t4 == null ? void 0 : t4.activeElement;
164
- });
165
- }, [u5, n6, o4]), a3;
166
- }
167
- function oe2(o4, { ownerDocument: t4, container: e2, containers: r4, previousActiveElement: u5 }) {
168
- let a3 = f4(), n6 = !!(o4 & 4);
169
- E2(t4 == null ? void 0 : t4.defaultView, "focus", (s6) => {
170
- if (!n6 || !a3.current) return;
171
- let f5 = x4(r4);
172
- n3(e2.current) && f5.add(e2.current);
173
- let l5 = u5.current;
174
- if (!l5) return;
175
- let T2 = s6.target;
176
- n3(T2) ? I2(f5, T2) ? (u5.current = T2, w2$1(T2)) : (s6.preventDefault(), s6.stopPropagation(), w2$1(l5)) : w2$1(u5.current);
177
- }, true);
178
- }
179
- function I2(o4, t4) {
180
- for (let e2 of o4) if (e2.contains(t4)) return true;
181
- return false;
182
- }
183
- function ue(e2) {
184
- var t4;
185
- return !!(e2.enter || e2.enterFrom || e2.enterTo || e2.leave || e2.leaveFrom || e2.leaveTo) || !b((t4 = e2.as) != null ? t4 : de) || l4.Children.count(e2.children) === 1;
186
- }
187
- var V = createContext(null);
188
- V.displayName = "TransitionContext";
189
- var De = ((n6) => (n6.Visible = "visible", n6.Hidden = "hidden", n6))(De || {});
190
- function He() {
191
- let e2 = useContext(V);
192
- if (e2 === null) throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");
193
- return e2;
194
- }
195
- function Ae() {
196
- let e2 = useContext(w3);
197
- if (e2 === null) throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");
198
- return e2;
199
- }
200
- var w3 = createContext(null);
201
- w3.displayName = "NestingContext";
202
- function M3(e2) {
203
- return "children" in e2 ? M3(e2.children) : e2.current.filter(({ el: t4 }) => t4.current !== null).filter(({ state: t4 }) => t4 === "visible").length > 0;
204
- }
205
- function Te(e2, t4) {
206
- let n6 = s(e2), l5 = useRef([]), S3 = f4(), R = p(), d3 = o2((o4, i5 = C.Hidden) => {
207
- let a3 = l5.current.findIndex(({ el: s6 }) => s6 === o4);
208
- a3 !== -1 && (u(i5, { [C.Unmount]() {
209
- l5.current.splice(a3, 1);
210
- }, [C.Hidden]() {
211
- l5.current[a3].state = "hidden";
212
- } }), R.microTask(() => {
213
- var s6;
214
- !M3(l5) && S3.current && ((s6 = n6.current) == null || s6.call(n6));
215
- }));
216
- }), y3 = o2((o4) => {
217
- let i5 = l5.current.find(({ el: a3 }) => a3 === o4);
218
- return i5 ? i5.state !== "visible" && (i5.state = "visible") : l5.current.push({ el: o4, state: "visible" }), () => d3(o4, C.Unmount);
219
- }), C3 = useRef([]), p4 = useRef(Promise.resolve()), h2 = useRef({ enter: [], leave: [] }), g = o2((o4, i5, a3) => {
220
- C3.current.splice(0), t4 && (t4.chains.current[i5] = t4.chains.current[i5].filter(([s6]) => s6 !== o4)), t4 == null || t4.chains.current[i5].push([o4, new Promise((s6) => {
221
- C3.current.push(s6);
222
- })]), t4 == null || t4.chains.current[i5].push([o4, new Promise((s6) => {
223
- Promise.all(h2.current[i5].map(([r4, f5]) => f5)).then(() => s6());
224
- })]), i5 === "enter" ? p4.current = p4.current.then(() => t4 == null ? void 0 : t4.wait.current).then(() => a3(i5)) : a3(i5);
225
- }), v2 = o2((o4, i5, a3) => {
226
- Promise.all(h2.current[i5].splice(0).map(([s6, r4]) => r4)).then(() => {
227
- var s6;
228
- (s6 = C3.current.shift()) == null || s6();
229
- }).then(() => a3(i5));
230
- });
231
- return useMemo(() => ({ children: l5, register: y3, unregister: d3, onStart: g, onStop: v2, wait: p4, chains: h2 }), [y3, d3, l5, g, v2, h2, p4]);
232
- }
233
- var de = Fragment;
234
- var fe = A.RenderStrategy;
235
- function Fe(e2, t4) {
236
- var ee2, te2;
237
- let { transition: n6 = true, beforeEnter: l5, afterEnter: S3, beforeLeave: R, afterLeave: d3, enter: y3, enterFrom: C3, enterTo: p4, entered: h2, leave: g, leaveFrom: v2, leaveTo: o4, ...i5 } = e2, [a3, s6] = useState(null), r4 = useRef(null), f5 = ue(e2), U = y(...f5 ? [r4, t4, s6] : t4 === null ? [] : [t4]), H2 = (ee2 = i5.unmount) == null || ee2 ? C.Unmount : C.Hidden, { show: u5, appear: z2, initial: K2 } = He(), [m3, j3] = useState(u5 ? "visible" : "hidden"), Q = Ae(), { register: A3, unregister: F2 } = Q;
238
- n(() => A3(r4), [A3, r4]), n(() => {
239
- if (H2 === C.Hidden && r4.current) {
240
- if (u5 && m3 !== "visible") {
241
- j3("visible");
242
- return;
243
- }
244
- return u(m3, { ["hidden"]: () => F2(r4), ["visible"]: () => A3(r4) });
245
- }
246
- }, [m3, r4, A3, F2, u5, H2]);
247
- let G2 = l3();
248
- n(() => {
249
- if (f5 && G2 && m3 === "visible" && r4.current === null) throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?");
250
- }, [r4, m3, G2, f5]);
251
- let ce = K2 && !z2, Y2 = z2 && u5 && K2, B2 = useRef(false), I3 = Te(() => {
252
- B2.current || (j3("hidden"), F2(r4));
253
- }, Q), Z = o2((W) => {
254
- B2.current = true;
255
- let L = W ? "enter" : "leave";
256
- I3.onStart(r4, L, (_) => {
257
- _ === "enter" ? l5 == null || l5() : _ === "leave" && (R == null || R());
258
- });
259
- }), $3 = o2((W) => {
260
- let L = W ? "enter" : "leave";
261
- B2.current = false, I3.onStop(r4, L, (_) => {
262
- _ === "enter" ? S3 == null || S3() : _ === "leave" && (d3 == null || d3());
263
- }), L === "leave" && !M3(I3) && (j3("hidden"), F2(r4));
264
- });
265
- useEffect(() => {
266
- f5 && n6 || (Z(u5), $3(u5));
267
- }, [u5, f5, n6]);
268
- let pe2 = /* @__PURE__ */ (() => !(!n6 || !f5 || !G2 || ce))(), [, T2] = N(pe2, a3, u5, { start: Z, end: $3 }), Ce = m({ ref: U, className: ((te2 = t2(i5.className, Y2 && y3, Y2 && C3, T2.enter && y3, T2.enter && T2.closed && C3, T2.enter && !T2.closed && p4, T2.leave && g, T2.leave && !T2.closed && v2, T2.leave && T2.closed && o4, !T2.transition && u5 && h2)) == null ? void 0 : te2.trim()) || void 0, ...x2(T2) }), N2 = 0;
269
- m3 === "visible" && (N2 |= i3.Open), m3 === "hidden" && (N2 |= i3.Closed), u5 && m3 === "hidden" && (N2 |= i3.Opening), !u5 && m3 === "visible" && (N2 |= i3.Closing);
270
- let he = K();
271
- return l4.createElement(w3.Provider, { value: I3 }, l4.createElement(c, { value: N2 }, he({ ourProps: Ce, theirProps: i5, defaultTag: de, features: fe, visible: m3 === "visible", name: "Transition.Child" })));
272
- }
273
- function Ie(e2, t4) {
274
- let { show: n6, appear: l5 = false, unmount: S3 = true, ...R } = e2, d3 = useRef(null), y3 = ue(e2), C3 = y(...y3 ? [d3, t4] : t4 === null ? [] : [t4]);
275
- l3();
276
- let p4 = u3();
277
- if (n6 === void 0 && p4 !== null && (n6 = (p4 & i3.Open) === i3.Open), n6 === void 0) throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");
278
- let [h2, g] = useState(n6 ? "visible" : "hidden"), v2 = Te(() => {
279
- n6 || g("hidden");
280
- }), [o4, i5] = useState(true), a3 = useRef([n6]);
281
- n(() => {
282
- o4 !== false && a3.current[a3.current.length - 1] !== n6 && (a3.current.push(n6), i5(false));
283
- }, [a3, n6]);
284
- let s6 = useMemo(() => ({ show: n6, appear: l5, initial: o4 }), [n6, l5, o4]);
285
- n(() => {
286
- n6 ? g("visible") : !M3(v2) && d3.current !== null && g("hidden");
287
- }, [n6, v2]);
288
- let r4 = { unmount: S3 }, f5 = o2(() => {
289
- var u5;
290
- o4 && i5(false), (u5 = e2.beforeEnter) == null || u5.call(e2);
291
- }), U = o2(() => {
292
- var u5;
293
- o4 && i5(false), (u5 = e2.beforeLeave) == null || u5.call(e2);
294
- }), H2 = K();
295
- return l4.createElement(w3.Provider, { value: v2 }, l4.createElement(V.Provider, { value: s6 }, H2({ ourProps: { ...r4, as: Fragment, children: l4.createElement(me, { ref: C3, ...r4, ...R, beforeEnter: f5, beforeLeave: U }) }, theirProps: {}, defaultTag: Fragment, features: fe, visible: h2 === "visible", name: "Transition" })));
296
- }
297
- function Le(e2, t4) {
298
- let n6 = useContext(V) !== null, l5 = u3() !== null;
299
- return l4.createElement(l4.Fragment, null, !n6 && l5 ? l4.createElement(X, { ref: t4, ...e2 }) : l4.createElement(me, { ref: t4, ...e2 }));
300
- }
301
- var X = Y(Ie);
302
- var me = Y(Fe);
303
- var Oe = Y(Le);
304
- var Ke = Object.assign(X, { Child: Oe, Root: X });
305
-
306
- // ../node_modules/@headlessui/react/dist/components/dialog/dialog.js
307
- var we = ((o4) => (o4[o4.Open = 0] = "Open", o4[o4.Closed = 1] = "Closed", o4))(we || {});
308
- var Be = ((t4) => (t4[t4.SetTitleId = 0] = "SetTitleId", t4))(Be || {});
309
- var Ue = { [0](e2, t4) {
310
- return e2.titleId === t4.id ? e2 : { ...e2, titleId: t4.id };
311
- } };
312
- var w4 = createContext(null);
313
- w4.displayName = "DialogContext";
314
- function O2(e2) {
315
- let t4 = useContext(w4);
316
- if (t4 === null) {
317
- let o4 = new Error(`<${e2} /> is missing a parent <Dialog /> component.`);
318
- throw Error.captureStackTrace && Error.captureStackTrace(o4, O2), o4;
319
- }
320
- return t4;
321
- }
322
- function He2(e2, t4) {
323
- return u(t4.type, Ue, e2, t4);
324
- }
325
- var z = Y(function(t4, o4) {
326
- let a3 = r(), { id: n6 = `headlessui-dialog-${a3}`, open: i5, onClose: p4, initialFocus: d3, role: s6 = "dialog", autoFocus: f5 = true, __demoMode: u5 = false, unmount: y3 = false, ...S3 } = t4, R = useRef(false);
327
- s6 = (function() {
328
- return s6 === "dialog" || s6 === "alertdialog" ? s6 : (R.current || (R.current = true, console.warn(`Invalid role [${s6}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)), "dialog");
329
- })();
330
- let g = u3();
331
- i5 === void 0 && g !== null && (i5 = (g & i3.Open) === i3.Open);
332
- let T2 = useRef(null), I3 = y(T2, o4), F2 = u2(T2.current), c4 = i5 ? 0 : 1, [b4, Q] = useReducer(He2, { titleId: null, descriptionId: null, panelRef: createRef() }), m3 = o2(() => p4(false)), B2 = o2((r4) => Q({ type: 0, id: r4 })), D = l3() ? c4 === 0 : false, [Z, ee2] = oe(), te2 = { get current() {
333
- var r4;
334
- return (r4 = b4.panelRef.current) != null ? r4 : T2.current;
335
- } }, v2 = x3(), { resolveContainers: M4 } = S2({ mainTreeNode: v2, portals: Z, defaultContainers: [te2] }), U = g !== null ? (g & i3.Closing) === i3.Closing : false;
336
- y2(u5 || U ? false : D, { allowed: o2(() => {
337
- var r4, W;
338
- return [(W = (r4 = T2.current) == null ? void 0 : r4.closest("[data-headlessui-portal]")) != null ? W : null];
339
- }), disallowed: o2(() => {
340
- var r4;
341
- return [(r4 = v2 == null ? void 0 : v2.closest("body > *:not(#headlessui-portal-root)")) != null ? r4 : null];
342
- }) });
343
- let P = x.get(null);
344
- n(() => {
345
- if (D) return P.actions.push(n6), () => P.actions.pop(n6);
346
- }, [P, n6, D]);
347
- let H2 = S(P, useCallback((r4) => P.selectors.isTop(r4, n6), [P, n6]));
348
- k2(H2, M4, (r4) => {
349
- r4.preventDefault(), m3();
350
- }), a(H2, F2 == null ? void 0 : F2.defaultView, (r4) => {
351
- r4.preventDefault(), r4.stopPropagation(), document.activeElement && "blur" in document.activeElement && typeof document.activeElement.blur == "function" && document.activeElement.blur(), m3();
352
- }), f2(u5 || U ? false : D, F2, M4), p2(D, T2, m3);
353
- let [oe3, ne3] = H(), re2 = useMemo(() => [{ dialogState: c4, close: m3, setTitleId: B2, unmount: y3 }, b4], [c4, m3, B2, y3, b4]), N2 = n2({ open: c4 === 0 }), le2 = { ref: I3, id: n6, role: s6, tabIndex: -1, "aria-modal": u5 ? void 0 : c4 === 0 ? true : void 0, "aria-labelledby": b4.titleId, "aria-describedby": oe3, unmount: y3 }, ae = !f3(), E2 = G.None;
354
- D && !u5 && (E2 |= G.RestoreFocus, E2 |= G.TabLock, f5 && (E2 |= G.AutoFocus), ae && (E2 |= G.InitialFocus));
355
- let ie2 = K();
356
- return l4.createElement(s4, null, l4.createElement(l4$1, { force: true }, l4.createElement(le, null, l4.createElement(w4.Provider, { value: re2 }, l4.createElement(B, { target: T2 }, l4.createElement(l4$1, { force: false }, l4.createElement(ne3, { slot: N2 }, l4.createElement(ee2, null, l4.createElement(ge, { initialFocus: d3, initialFocusFallback: T2, containers: M4, features: E2 }, l4.createElement(C2, { value: m3 }, ie2({ ourProps: le2, theirProps: S3, slot: N2, defaultTag: Ne, features: We, visible: c4 === 0, name: "Dialog" })))))))))));
357
- });
358
- var Ne = "div";
359
- var We = A.RenderStrategy | A.Static;
360
- function $e(e2, t4) {
361
- let { transition: o4 = false, open: a3, ...n6 } = e2, i5 = u3(), p4 = e2.hasOwnProperty("open") || i5 !== null, d3 = e2.hasOwnProperty("onClose");
362
- if (!p4 && !d3) throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");
363
- if (!p4) throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");
364
- if (!d3) throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");
365
- if (!i5 && typeof e2.open != "boolean") throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${e2.open}`);
366
- if (typeof e2.onClose != "function") throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${e2.onClose}`);
367
- return (a3 !== void 0 || o4) && !n6.static ? l4.createElement(j, null, l4.createElement(Ke, { show: a3, transition: o4, unmount: n6.unmount }, l4.createElement(z, { ref: t4, ...n6 }))) : l4.createElement(j, null, l4.createElement(z, { ref: t4, open: a3, ...n6 }));
368
- }
369
- var je = "div";
370
- function Ye(e2, t4) {
371
- let o4 = r(), { id: a3 = `headlessui-dialog-panel-${o4}`, transition: n6 = false, ...i5 } = e2, [{ dialogState: p4, unmount: d3 }, s6] = O2("Dialog.Panel"), f5 = y(t4, s6.panelRef), u5 = n2({ open: p4 === 0 }), y3 = o2((I3) => {
372
- I3.stopPropagation();
373
- }), S3 = { ref: f5, id: a3, onClick: y3 }, R = n6 ? Oe : Fragment, g = n6 ? { unmount: d3 } : {}, T2 = K();
374
- return l4.createElement(R, { ...g }, T2({ ourProps: S3, theirProps: i5, slot: u5, defaultTag: je, name: "Dialog.Panel" }));
375
- }
376
- var Je = "div";
377
- function Ke2(e2, t4) {
378
- let { transition: o4 = false, ...a3 } = e2, [{ dialogState: n6, unmount: i5 }] = O2("Dialog.Backdrop"), p4 = n2({ open: n6 === 0 }), d3 = { ref: t4, "aria-hidden": true }, s6 = o4 ? Oe : Fragment, f5 = o4 ? { unmount: i5 } : {}, u5 = K();
379
- return l4.createElement(s6, { ...f5 }, u5({ ourProps: d3, theirProps: a3, slot: p4, defaultTag: Je, name: "Dialog.Backdrop" }));
380
- }
381
- var Xe = "h2";
382
- function Ve(e2, t4) {
383
- let o4 = r(), { id: a3 = `headlessui-dialog-title-${o4}`, ...n6 } = e2, [{ dialogState: i5, setTitleId: p4 }] = O2("Dialog.Title"), d3 = y(t4);
384
- useEffect(() => (p4(a3), () => p4(null)), [a3, p4]);
385
- let s6 = n2({ open: i5 === 0 }), f5 = { ref: d3, id: a3 };
386
- return K()({ ourProps: f5, theirProps: n6, slot: s6, defaultTag: Xe, name: "Dialog.Title" });
387
- }
388
- var qe = Y($e);
389
- var ze = Y(Ye);
390
- Y(Ke2);
391
- var Qe = Y(Ve);
392
- var ht = Object.assign(qe, { Panel: ze, Title: Qe, Description: M });
393
- var Modal = ({
394
- onClose: close,
395
- children,
396
- visible = false,
397
- closeOnOutsideClick = false
398
- }) => {
399
- const intl = useIntl();
400
- const handleClose = () => {
401
- if (closeOnOutsideClick && close) {
402
- close();
403
- }
404
- };
405
- return /* @__PURE__ */ jsx(Ke, { show: visible, children: /* @__PURE__ */ jsxs(ht, { onClose: handleClose, className: "relative z-50", children: [
406
- /* @__PURE__ */ jsx(
407
- Oe,
408
- {
409
- enter: "ease-out duration-200",
410
- enterFrom: "opacity-0",
411
- enterTo: "opacity-100",
412
- leave: "ease-in duration-150",
413
- leaveFrom: "opacity-100",
414
- leaveTo: "opacity-0",
415
- children: /* @__PURE__ */ jsx(
416
- "div",
417
- {
418
- className: "fixed inset-0 bg-slate-950/60 backdrop-blur-sm",
419
- "aria-hidden": "true"
420
- }
421
- )
422
- }
423
- ),
424
- /* @__PURE__ */ jsx("div", { className: "fixed inset-0 overflow-y-auto", children: /* @__PURE__ */ jsx("div", { className: "flex min-h-full items-center justify-center p-4", children: /* @__PURE__ */ jsx(
425
- Oe,
426
- {
427
- enter: "ease-out duration-200",
428
- enterFrom: "opacity-0 scale-95 translate-y-4",
429
- enterTo: "opacity-100 scale-100 translate-y-0",
430
- leave: "ease-in duration-150",
431
- leaveFrom: "opacity-100 scale-100 translate-y-0",
432
- leaveTo: "opacity-0 scale-95 translate-y-4",
433
- children: /* @__PURE__ */ jsxs(ze, { className: "relative w-full max-w-lg transform overflow-hidden rounded-lg bg-surface px-4 pt-5 pb-4 text-left shadow-2xl sm:p-6", children: [
434
- /* @__PURE__ */ jsx("div", { className: "absolute top-0 right-0 pt-4 pr-4 sm:block", children: /* @__PURE__ */ jsxs(
435
- "button",
436
- {
437
- id: "modal_close",
438
- type: "button",
439
- onClick: close,
440
- className: "rounded-md bg-surface-input text-text-muted hover:text-text-secondary focus:outline-hidden focus:ring-2 focus:ring-focus-ring focus:ring-offset-2",
441
- children: [
442
- /* @__PURE__ */ jsx("span", { className: "sr-only", children: intl.formatMessage({
443
- id: "close",
444
- defaultMessage: "Close"
445
- }) }),
446
- /* @__PURE__ */ jsx(
447
- "svg",
448
- {
449
- className: "h-6 w-6",
450
- xmlns: "http://www.w3.org/2000/svg",
451
- fill: "none",
452
- viewBox: "0 0 24 24",
453
- stroke: "currentColor",
454
- "aria-hidden": "true",
455
- children: /* @__PURE__ */ jsx(
456
- "path",
457
- {
458
- strokeLinecap: "round",
459
- strokeLinejoin: "round",
460
- strokeWidth: "2",
461
- d: "M6 18L18 6M6 6l12 12"
462
- }
463
- )
464
- }
465
- )
466
- ]
467
- }
468
- ) }),
469
- children && l4.isValidElement(children) ? l4.cloneElement(children, {
470
- close
471
- }) : children
472
- ] })
473
- }
474
- ) }) })
475
- ] }) });
476
- };
477
- var Modal_default = Modal;
478
- var ModalWrapper = ({ children }) => {
479
- const [modalChildren, setChildren] = useState(null);
480
- const [closeOnOutsideClick, setCloseOnOutsideClick] = useState(false);
481
- const hideModal = () => setChildren(null);
482
- const [onClose, setOnClose] = useState(() => hideModal);
483
- const ctx = useMemo(() => {
484
- const setModal = (newModalChildren, { closeOnOutsideClick: newCloseOnOutsideClick = false } = {}) => {
485
- return new Promise((resolve) => {
486
- if (!newModalChildren) {
487
- resolve(true);
488
- }
489
- setCloseOnOutsideClick(newCloseOnOutsideClick);
490
- setChildren(() => newModalChildren);
491
- setOnClose(() => () => {
492
- hideModal();
493
- resolve(true);
494
- });
495
- });
496
- };
497
- return { setModal };
498
- }, []);
499
- return /* @__PURE__ */ jsxs(Fragment$1, { children: [
500
- /* @__PURE__ */ jsx(
501
- Modal_default,
502
- {
503
- visible: !!modalChildren,
504
- onClose,
505
- closeOnOutsideClick,
506
- children: modalChildren
507
- }
508
- ),
509
- /* @__PURE__ */ jsx(ModalContext_default.Provider, { value: ctx, children })
510
- ] });
511
- };
512
- var ModalWrapper_default = ModalWrapper;
513
-
514
- export { ModalWrapper_default, Modal_default };
@@ -1,11 +0,0 @@
1
- import React from 'react';
2
-
3
- // src/modules/modal/utils/ModalContext.ts
4
- var ModalContext = React.createContext({
5
- setModal: () => {
6
- throw new Error("No ModalContext/ModalWrapper ancestor found.");
7
- }
8
- });
9
- var ModalContext_default = ModalContext;
10
-
11
- export { ModalContext_default };
@@ -1,39 +0,0 @@
1
- import { useLocalStorage_default } from './chunk-54DKBWXV.js';
2
- import { createContext, useEffect, useMemo } from 'react';
3
- import { jsx } from 'react/jsx-runtime';
4
-
5
- var ThemeContext = createContext(
6
- void 0
7
- );
8
- var getInitialTheme = () => {
9
- if (typeof window === "undefined") return "light";
10
- try {
11
- const stored = window.localStorage.getItem("theme");
12
- if (stored) {
13
- const parsed = JSON.parse(stored);
14
- if (parsed === "dark" || parsed === "light") return parsed;
15
- }
16
- } catch {
17
- const raw = window.localStorage.getItem("theme");
18
- if (raw === "dark" || raw === '"dark"') return "dark";
19
- if (raw === "light" || raw === '"light"') return "light";
20
- }
21
- if (window.matchMedia("(prefers-color-scheme: dark)").matches) return "dark";
22
- return "light";
23
- };
24
- var ThemeWrapper = ({ children }) => {
25
- const [theme, setTheme] = useLocalStorage_default("theme", getInitialTheme());
26
- useEffect(() => {
27
- const html = document.documentElement;
28
- if (theme === "dark") {
29
- html.classList.add("dark");
30
- } else {
31
- html.classList.remove("dark");
32
- }
33
- }, [theme]);
34
- const value = useMemo(() => [theme, setTheme], [theme]);
35
- return /* @__PURE__ */ jsx(ThemeContext.Provider, { value, children });
36
- };
37
- var ThemeWrapper_default = ThemeWrapper;
38
-
39
- export { ThemeContext, ThemeWrapper_default };