@unchainedshop/admin-ui 4.8.29 → 5.0.0-alpha.10

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 (728) hide show
  1. package/README.md +136 -16
  2. package/dist/chunk-3L6EZQ6P.js +135 -0
  3. package/dist/chunk-5WPFHQZN.js +388 -0
  4. package/dist/chunk-AE5LOZGH.js +3350 -0
  5. package/dist/{chunk-JAVEZY3Q.js → chunk-AOR2B5N5.js} +14 -5
  6. package/dist/chunk-DTJ2DTKS.js +314 -0
  7. package/dist/{chunk-2RTX42IE.js → chunk-E7BVYJ3R.js} +2 -2
  8. package/dist/{chunk-XHOCXPD5.js → chunk-F6LBNV3H.js} +1 -1
  9. package/dist/chunk-FDHXLNZQ.js +44 -0
  10. package/dist/{chunk-MSPWYMDY.js → chunk-H6G4UTZ5.js} +83 -48
  11. package/dist/{chunk-XJBPMIC4.js → chunk-HERLM47Z.js} +81 -56
  12. package/dist/chunk-HTPSKUXQ.js +22476 -0
  13. package/dist/{chunk-7PPOGX7R.js → chunk-I64TXIE7.js} +48 -11
  14. package/dist/{chunk-QNLGYFV7.js → chunk-IYKPRAWC.js} +4 -0
  15. package/dist/chunk-J23QSWDL.js +8 -0
  16. package/dist/{chunk-SRAAKMWY.js → chunk-JED6SHHG.js} +4 -2
  17. package/dist/chunk-KRIRF7F6.js +76 -0
  18. package/dist/chunk-OTXM2UCD.js +19 -0
  19. package/dist/chunk-QHR23GVH.js +1099 -0
  20. package/dist/chunk-VBO377AY.js +14 -0
  21. package/dist/{chunk-4VNS5WPM.js → chunk-WPLOTFGW.js} +7 -8
  22. package/dist/components/ui/form/ChoicesField.d.ts.map +1 -1
  23. package/dist/components/ui/form/index.d.ts +1 -0
  24. package/dist/components/ui/form/index.d.ts.map +1 -1
  25. package/dist/components/ui/index.d.ts +5 -0
  26. package/dist/components/ui/index.d.ts.map +1 -1
  27. package/dist/form.js +1792 -27496
  28. package/dist/gql/operation-types.d.ts +20 -0
  29. package/dist/gql/operation-types.d.ts.map +1 -1
  30. package/dist/gql/schema-types.d.ts +1 -0
  31. package/dist/gql/schema-types.d.ts.map +1 -1
  32. package/dist/hooks.js +13 -6
  33. package/dist/modal.js +11 -78
  34. package/dist/modules/Auth/AuthContext.d.ts +9 -0
  35. package/dist/modules/Auth/AuthContext.d.ts.map +1 -0
  36. package/dist/modules/Auth/useAuth.d.ts +6 -0
  37. package/dist/modules/Auth/useAuth.d.ts.map +1 -0
  38. package/dist/modules/accounts.js +1 -1
  39. package/dist/modules/assortment.js +3 -3
  40. package/dist/modules/common/components/AppContext.d.ts.map +1 -1
  41. package/dist/modules/common/components/FormWrapper.d.ts.map +1 -1
  42. package/dist/modules/common/components/LocaleWrapper.d.ts +7 -0
  43. package/dist/modules/common/components/LocaleWrapper.d.ts.map +1 -0
  44. package/dist/modules/common/components/MediaAvatar.d.ts +6 -0
  45. package/dist/modules/common/components/MediaAvatar.d.ts.map +1 -0
  46. package/dist/modules/common/components/SelectOptions.d.ts +17 -0
  47. package/dist/modules/common/components/SelectOptions.d.ts.map +1 -0
  48. package/dist/modules/common/components/Table.d.ts +25 -0
  49. package/dist/modules/common/components/Table.d.ts.map +1 -0
  50. package/dist/modules/common/components/TableCell.d.ts +12 -0
  51. package/dist/modules/common/components/TableCell.d.ts.map +1 -0
  52. package/dist/modules/common/components/TableRow.d.ts +10 -0
  53. package/dist/modules/common/components/TableRow.d.ts.map +1 -0
  54. package/dist/modules/common/components/ThemeWrapper.d.ts.map +1 -1
  55. package/dist/modules/common/utils/sharedContext.d.ts +9 -0
  56. package/dist/modules/common/utils/sharedContext.d.ts.map +1 -0
  57. package/dist/modules/country.js +1 -1
  58. package/dist/modules/currency.js +1 -1
  59. package/dist/modules/delivery-provider.js +1 -1
  60. package/dist/modules/enrollment.js +1 -1
  61. package/dist/modules/event.js +1 -1
  62. package/dist/modules/filter.js +1 -1
  63. package/dist/modules/forms/lib/FormContext.d.ts.map +1 -1
  64. package/dist/modules/language.js +1 -1
  65. package/dist/modules/modal/hooks/useModal.d.ts.map +1 -1
  66. package/dist/modules/modal/utils/ModalContext.d.ts.map +1 -1
  67. package/dist/modules/order.js +1 -1
  68. package/dist/modules/payment-providers.js +1 -1
  69. package/dist/modules/product-review.js +3 -3
  70. package/dist/modules/product.js +4748 -7
  71. package/dist/modules/quotation.js +1 -1
  72. package/dist/modules/token.js +2 -2
  73. package/dist/modules/warehousing-providers.js +1 -1
  74. package/dist/modules/work.js +6 -10
  75. package/dist/plugins.js +1 -1
  76. package/dist/providers.js +8 -5
  77. package/dist/sdk/hooks.d.ts +3 -0
  78. package/dist/sdk/hooks.d.ts.map +1 -1
  79. package/dist/shims/admin-ui-plugins.js +1 -1
  80. package/dist/shims/apollo-client-react.js +1 -1
  81. package/dist/shims/apollo-client.js +1 -1
  82. package/dist/shims/next-head.js +1 -1
  83. package/dist/shims/next-image.js +1 -1
  84. package/dist/shims/next-link.js +1 -1
  85. package/dist/shims/next-router.js +1 -1
  86. package/dist/shims/react-dom-client.js +1 -1
  87. package/dist/shims/react-dom.js +1 -1
  88. package/dist/shims/react-hook-form.js +1 -1
  89. package/dist/shims/react-intl.js +1 -1
  90. package/dist/shims/react-jsx-runtime.js +1 -1
  91. package/dist/shims/react-toastify.js +1 -1
  92. package/dist/shims/react.js +1 -1
  93. package/dist/theme.js +1 -1
  94. package/dist/ui.js +3397 -3055
  95. package/out/403/index.html +2 -2
  96. package/out/404/index.html +2 -2
  97. package/out/404.html +2 -2
  98. package/out/423/index.html +2 -2
  99. package/out/500/index.html +2 -2
  100. package/out/_next/static/chunks/0-2b37ubdpy0o.js +7 -0
  101. package/out/_next/static/chunks/012cafv-4m7rj.js +807 -0
  102. package/out/_next/static/chunks/02dnhll1bce87.js +46 -0
  103. package/out/_next/static/chunks/02ptvddfjlsxb.js +1 -0
  104. package/out/_next/static/chunks/03ebenjfvoj8n.js +1 -0
  105. package/out/_next/static/chunks/03r347235l6c4.js +7 -0
  106. package/out/_next/static/chunks/05au-xyt__0f2.js +3 -0
  107. package/out/_next/static/chunks/05nn5xr3ufcsh.js +1 -0
  108. package/out/_next/static/chunks/05o_q7jg8wucs.js +44 -0
  109. package/out/_next/static/chunks/05scroolqe8fu.js +234 -0
  110. package/out/_next/static/chunks/072qxdqjtqvn9.js +11 -0
  111. package/out/_next/static/chunks/0752goe9_9g2s.js +110 -0
  112. package/out/_next/static/chunks/07e-sk6v9u-qh.js +807 -0
  113. package/out/_next/static/chunks/07evy5u8ldd1y.js +50 -0
  114. package/out/_next/static/chunks/083ylavob4a8d.js +3 -0
  115. package/out/_next/static/chunks/08jrw03_vxllg.js +54 -0
  116. package/out/_next/static/chunks/08pag0k09j2b3.js +807 -0
  117. package/out/_next/static/chunks/09n6h-_l73rez.js +13 -0
  118. package/out/_next/static/chunks/0_b5faks_mrvi.js +14 -0
  119. package/out/_next/static/chunks/0a_bg-ub3r2eo.js +60 -0
  120. package/out/_next/static/chunks/0aqxsjssb0dh9.js +21 -0
  121. package/out/_next/static/chunks/0aw4jxe6zcc0c.js +32 -0
  122. package/out/_next/static/chunks/0b0hrx3sbbs70.js +807 -0
  123. package/out/_next/static/chunks/0bg4_y1qh5y5h.js +47 -0
  124. package/out/_next/static/chunks/0bgz44wi1lidl.js +13 -0
  125. package/out/_next/static/chunks/0dcpvidzyamvk.js +100 -0
  126. package/out/_next/static/chunks/{19y4w6_d_qiou.js → 0dnh0kr83_tj0.js} +1 -1
  127. package/out/_next/static/chunks/0dxp17sbyy_dr.js +22 -0
  128. package/out/_next/static/chunks/0dxu94yin5gdn.js +35 -0
  129. package/out/_next/static/chunks/0e2c-jlh2q_eq.js +74 -0
  130. package/out/_next/static/chunks/0el7gr-83bm5j.js +3 -0
  131. package/out/_next/static/chunks/0f_ofo__wyqsp.js +22 -0
  132. package/out/_next/static/chunks/0gx9t6j5kx_ho.js +9 -0
  133. package/out/_next/static/chunks/0i9ymn9xxs0nx.js +18 -0
  134. package/out/_next/static/chunks/0iy11ws57hzzr.js +99 -0
  135. package/out/_next/static/chunks/0j8_uikfyrn1f.js +1 -0
  136. package/out/_next/static/chunks/0jeddko6bac8h.js +1 -0
  137. package/out/_next/static/chunks/0jzx7vxh13cpi.js +15 -0
  138. package/out/_next/static/chunks/0kody3217__os.js +16 -0
  139. package/out/_next/static/chunks/0kwo-m1-mo-s-.js +31 -0
  140. package/out/_next/static/chunks/0lp_pnq1t06sl.js +104 -0
  141. package/out/_next/static/chunks/0mez27zlo26ni.js +103 -0
  142. package/out/_next/static/chunks/0nj8vn3509oe-.js +9 -0
  143. package/out/_next/static/chunks/0np9pcbt6dmxe.js +25 -0
  144. package/out/_next/static/chunks/0o7k5vanq57ch.js +807 -0
  145. package/out/_next/static/chunks/0rqjr_lmrk4pz.js +5 -0
  146. package/out/_next/static/chunks/0swe0fkt4vyzn.js +136 -0
  147. package/out/_next/static/chunks/0u4st428hgv1v.js +27 -0
  148. package/out/_next/static/chunks/0u7--d8_-qyne.js +83 -0
  149. package/out/_next/static/chunks/0ubzi2s1spm4e.js +342 -0
  150. package/out/_next/static/chunks/0uecw_5mn0zvr.js +110 -0
  151. package/out/_next/static/chunks/0uxwblyj0htyb.js +1 -0
  152. package/out/_next/static/chunks/0uyhr7vs9ltp0.js +141 -0
  153. package/out/_next/static/chunks/0vr19nswhvt2-.js +14 -0
  154. package/out/_next/static/chunks/0vyvc19p87f_r.js +234 -0
  155. package/out/_next/static/chunks/0wznlnzc2xsbz.js +16 -0
  156. package/out/_next/static/chunks/0ycu-q8fcc8ta.js +1 -0
  157. package/out/_next/static/chunks/0ytserk6fuf71.js +175 -0
  158. package/out/_next/static/chunks/0zoum0jzrtu0s.js +145 -0
  159. package/out/_next/static/chunks/1-6s62fsl_z_7.js +126 -0
  160. package/out/_next/static/chunks/10b6et0qn-pa0.js +59 -0
  161. package/out/_next/static/chunks/13m7st62a61df.js +25 -0
  162. package/out/_next/static/chunks/13u_a5l2xngm4.js +1 -0
  163. package/out/_next/static/chunks/15vz50rks0o2-.js +238 -0
  164. package/out/_next/static/chunks/1647yxi4ymq0z.js +14 -0
  165. package/out/_next/static/chunks/16hd7xvkocqxs.js +807 -0
  166. package/out/_next/static/chunks/16t18hhd4ax36.js +2 -0
  167. package/out/_next/static/chunks/17wle25pg9jkp.js +11 -0
  168. package/out/_next/static/chunks/18juy_eauk94g.js +58 -0
  169. package/out/_next/static/chunks/19eflki8bmivb.js +81 -0
  170. package/out/_next/static/chunks/19eu5d-wm2hfr.js +23 -0
  171. package/out/_next/static/chunks/19izcjxrrapb3.js +9 -0
  172. package/out/_next/static/chunks/1_jbj-c1d2606.js +21 -0
  173. package/out/_next/static/chunks/1_pwqdjxb6oou.js +226 -0
  174. package/out/_next/static/chunks/1bftmuhck_-7b.js +1 -0
  175. package/out/_next/static/chunks/1bww_2og01jxh.js +807 -0
  176. package/out/_next/static/chunks/1c0cemuv_tf6i.js +16 -0
  177. package/out/_next/static/chunks/1c4a2qxtb3r4_.js +16 -0
  178. package/out/_next/static/chunks/1cjd95y23a9qx.js +1 -0
  179. package/out/_next/static/chunks/1cy-2yb5j5_9b.js +157 -0
  180. package/out/_next/static/chunks/1dkv555kaccbl.js +13 -0
  181. package/out/_next/static/chunks/1dt9_bzfioi8a.js +24 -0
  182. package/out/_next/static/chunks/1fd7ewfb7bi_g.js +234 -0
  183. package/out/_next/static/chunks/1gncrqljnmqjn.js +43 -0
  184. package/out/_next/static/chunks/1iewktf-9h_n8.js +15 -0
  185. package/out/_next/static/chunks/1l7p7exnzd0c2.js +12 -0
  186. package/out/_next/static/chunks/1nqu3ymv6lgev.js +3 -0
  187. package/out/_next/static/chunks/1o_8g-kpuqi9h.js +1 -0
  188. package/out/_next/static/chunks/1oent0-9-0rgb.js +20 -0
  189. package/out/_next/static/chunks/1og09fg689_nc.js +180 -0
  190. package/out/_next/static/chunks/1pj279k5ntty3.js +13 -0
  191. package/out/_next/static/chunks/1q_sewe1wbxsk.js +54 -0
  192. package/out/_next/static/chunks/1qvs4gd4rbhb2.js +15 -0
  193. package/out/_next/static/chunks/1rtv3c_klo0jk.js +1 -0
  194. package/out/_next/static/chunks/1sdqr2_r6o46f.js +16 -0
  195. package/out/_next/static/chunks/1vti949e9wuhz.js +15 -0
  196. package/out/_next/static/chunks/1x-yucftdml28.js +1 -0
  197. package/out/_next/static/chunks/1ylgjha1c0ua_.js +124 -0
  198. package/out/_next/static/chunks/1yp98n-n4gxwy.js +15 -0
  199. package/out/_next/static/chunks/1zcm_9oew7412.js +14 -0
  200. package/out/_next/static/chunks/2-e0d1qpp7rk9.js +14 -0
  201. package/out/_next/static/chunks/20ubrczdsehfm.js +879 -0
  202. package/out/_next/static/chunks/23m--gc-gjenm.js +3 -0
  203. package/out/_next/static/chunks/24-pobk4qjjvp.js +3 -0
  204. package/out/_next/static/chunks/24jptulqn322i.js +15 -0
  205. package/out/_next/static/chunks/24jyi7e2pq4gy.js +15 -0
  206. package/out/_next/static/chunks/26eux546aoag5.js +58 -0
  207. package/out/_next/static/chunks/270ua9t85a7ev.js +5 -0
  208. package/out/_next/static/chunks/28r_j2kquxrjn.js +807 -0
  209. package/out/_next/static/chunks/2_ccruvok3u8j.js +16 -0
  210. package/out/_next/static/chunks/2_ojfjgg8do9t.js +1 -0
  211. package/out/_next/static/chunks/2aj5aq_c0b4r_.js +13 -0
  212. package/out/_next/static/chunks/2ba3n9zx9e9q9.js +807 -0
  213. package/out/_next/static/chunks/2d-hxb31pgpn7.js +13 -0
  214. package/out/_next/static/chunks/2df2cqwidgpan.js +15 -0
  215. package/out/_next/static/chunks/2djnsowjy3p8y.js +1 -0
  216. package/out/_next/static/chunks/2dyj8q92_k5el.js +708 -0
  217. package/out/_next/static/chunks/2e0k9dt1emjfm.js +1 -0
  218. package/out/_next/static/chunks/2e3gba1n-yyuj.js +15 -0
  219. package/out/_next/static/chunks/2e_p1vqr0g_-_.js +7 -0
  220. package/out/_next/static/chunks/2e_te6sbs_5uw.js +1 -0
  221. package/out/_next/static/chunks/2f16josk9b_cl.js +8 -0
  222. package/out/_next/static/chunks/2fo2ki1egxbah.js +39 -0
  223. package/out/_next/static/chunks/2g8gzs8wpsofk.js +2 -0
  224. package/out/_next/static/chunks/2gh355-kh19zx.js +13 -0
  225. package/out/_next/static/chunks/2gr4t5xe0atdr.js +15 -0
  226. package/out/_next/static/chunks/2ib6fee-nqe-z.js +23 -0
  227. package/out/_next/static/chunks/2kjux30i3gg-c.js +5 -0
  228. package/out/_next/static/chunks/2ll_mqee86g8c.js +1 -0
  229. package/out/_next/static/chunks/2lx_iig9xewfj.js +52 -0
  230. package/out/_next/static/chunks/2lylr4-3tu1_t.js +15 -0
  231. package/out/_next/static/chunks/2n1v8ph2nt43w.js +17 -0
  232. package/out/_next/static/chunks/2o9hdz0gk1-s7.js +165 -0
  233. package/out/_next/static/chunks/2oadogfqpak51.js +1 -0
  234. package/out/_next/static/chunks/2oogwntgnu9rf.js +17 -0
  235. package/out/_next/static/chunks/2p4e3kh8sa8iq.js +13 -0
  236. package/out/_next/static/chunks/2q-mpau-4gsvd.js +1 -0
  237. package/out/_next/static/chunks/2rddaar-ns45d.js +116 -0
  238. package/out/_next/static/chunks/2s3qhuh87mu_w.js +126 -0
  239. package/out/_next/static/chunks/2s6u8274_jzk2.js +105 -0
  240. package/out/_next/static/chunks/2skfzjx2g9hkk.js +134 -0
  241. package/out/_next/static/chunks/2u6jwsqz0uhes.js +24 -0
  242. package/out/_next/static/chunks/2v4k4vpb2id7m.js +44 -0
  243. package/out/_next/static/chunks/2xctb084h1lyg.js +329 -0
  244. package/out/_next/static/chunks/2xgpwzpd6-tdb.js +234 -0
  245. package/out/_next/static/chunks/3-soz24u9483h.js +15 -0
  246. package/out/_next/static/chunks/30_ns6urg1dkn.js +41 -0
  247. package/out/_next/static/chunks/30nxkqu5mcga3.js +1 -0
  248. package/out/_next/static/chunks/{0gurfn3nhm859.js → 313i1x81q2xj1.js} +1 -1
  249. package/out/_next/static/chunks/31qwglme02a_r.js +807 -0
  250. package/out/_next/static/chunks/31sk60zzj3bc5.js +17 -0
  251. package/out/_next/static/chunks/325a7n__tfxy_.js +61 -0
  252. package/out/_next/static/chunks/33emlry70k-lv.js +2 -0
  253. package/out/_next/static/chunks/33v8la4hkia7j.js +1 -0
  254. package/out/_next/static/chunks/34ar-34flu6bu.js +43 -0
  255. package/out/_next/static/chunks/34z48lfdm9u0l.js +9 -0
  256. package/out/_next/static/chunks/351jscvbk_wb9.js +13 -0
  257. package/out/_next/static/chunks/357odtev0t245.js +59 -0
  258. package/out/_next/static/chunks/360g4b1clnt45.js +142 -0
  259. package/out/_next/static/chunks/360uyru28azf6.js +20 -0
  260. package/out/_next/static/chunks/366apf6d0xh2u.js +30 -0
  261. package/out/_next/static/chunks/36_zbuqpk5cpj.js +14 -0
  262. package/out/_next/static/chunks/36aqs7u7s-lb1.js +119 -0
  263. package/out/_next/static/chunks/36beon3q8orx2.js +1 -0
  264. package/out/_next/static/chunks/37703j9_zf5_h.js +13 -0
  265. package/out/_next/static/chunks/37rwzuocwsv_k.js +16 -0
  266. package/out/_next/static/chunks/37w6b3h04uc4c.js +19 -0
  267. package/out/_next/static/chunks/38ffn8gazqz8_.js +3 -0
  268. package/out/_next/static/chunks/38xse6_r51yqp.js +234 -0
  269. package/out/_next/static/chunks/39s8xbnm9f08v.js +14 -0
  270. package/out/_next/static/chunks/39x-p8r_sl0ng.js +15 -0
  271. package/out/_next/static/chunks/39zisxvmik0t_.js +34 -0
  272. package/out/_next/static/chunks/3_97tge0xvvon.js +11 -0
  273. package/out/_next/static/chunks/3aw-ri7876ngd.js +39 -0
  274. package/out/_next/static/chunks/3bv7gi3o6-41h.js +11 -0
  275. package/out/_next/static/chunks/3cdfuacs4_0d-.js +1 -0
  276. package/out/_next/static/chunks/3cxpx38ycu7u2.js +9 -0
  277. package/out/_next/static/chunks/3d1ofcqmlbg-5.js +52 -0
  278. package/out/_next/static/chunks/3e3i3qqkv_my7.js +15 -0
  279. package/out/_next/static/chunks/3ex71q3pp_ekc.js +247 -0
  280. package/out/_next/static/chunks/3g1lpkudwo8kg.js +1 -0
  281. package/out/_next/static/chunks/3h68t22714to5.js +3 -0
  282. package/out/_next/static/chunks/3jpzhwqgdnobq.js +103 -0
  283. package/out/_next/static/chunks/3jxuqt_2-j_uc.js +18 -0
  284. package/out/_next/static/chunks/3kqqv33l7ssn0.js +16 -0
  285. package/out/_next/static/chunks/3l-9xxd1i1sya.js +1 -0
  286. package/out/_next/static/chunks/3mancxzz8c7hl.js +51 -0
  287. package/out/_next/static/chunks/3mq2s9rfy78je.js +27 -0
  288. package/out/_next/static/chunks/3om1fkw-lrmng.js +1 -0
  289. package/out/_next/static/chunks/3oynij37wfjb2.js +119 -0
  290. package/out/_next/static/chunks/3pbyo5kkko3wh.js +1 -0
  291. package/out/_next/static/chunks/3pjja1obml896.js +15 -0
  292. package/out/_next/static/chunks/3qaiz-jwi7q2x.js +1 -0
  293. package/out/_next/static/chunks/3rh3nigvg06yu.js +337 -0
  294. package/out/_next/static/chunks/3rppjab6j3_k9.js +1 -0
  295. package/out/_next/static/chunks/3t_3vlnk1ntkb.js +95 -0
  296. package/out/_next/static/chunks/3tpo2ho54vtth.js +807 -0
  297. package/out/_next/static/chunks/3tqspv0ggt8j0.js +17 -0
  298. package/out/_next/static/chunks/3um54w4ca27n_.js +17 -0
  299. package/out/_next/static/chunks/3vet2a9q9rf2c.js +61 -0
  300. package/out/_next/static/chunks/3vjgbl76cgrmt.js +1 -0
  301. package/out/_next/static/chunks/3vz3gqmojh7sx.js +4 -0
  302. package/out/_next/static/chunks/3w2e5xa061qou.js +9 -0
  303. package/out/_next/static/chunks/3w9xrlkiztuwi.js +23 -0
  304. package/out/_next/static/chunks/3x4xfy_av3o0d.js +1 -0
  305. package/out/_next/static/chunks/3x9k13s5fam4j.js +22 -0
  306. package/out/_next/static/chunks/{3a7wm2331v13r.js → 3xmtbqm0gddn8.js} +3 -3
  307. package/out/_next/static/chunks/3z5uyt9mc9_fd.js +2 -0
  308. package/out/_next/static/chunks/3zlwp96x3hoy9.js +16 -0
  309. package/out/_next/static/chunks/3zr_sumh1g7il.js +22 -0
  310. package/out/_next/static/chunks/40jl8yfmy6tp6.js +234 -0
  311. package/out/_next/static/chunks/40xhwnc_48o73.js +297 -0
  312. package/out/_next/static/chunks/41-iysd7qkyg1.js +16 -0
  313. package/out/_next/static/chunks/4105a9rejv_p4.js +1 -0
  314. package/out/_next/static/chunks/41e2wlkp9_pvk.js +28 -0
  315. package/out/_next/static/chunks/41g7mv3yuhz6k.js +68 -0
  316. package/out/_next/static/chunks/43jyzccx6x0lw.js +1 -0
  317. package/out/_next/static/chunks/43vuxh3wdo567.js +10 -0
  318. package/out/_next/static/chunks/44daaafswok67.css +1 -0
  319. package/out/_next/static/chunks/452fv7r-tie6t.js +1 -0
  320. package/out/_next/static/chunks/{164wr2-2gfnlb.js → 457j51b69odrw.js} +1 -1
  321. package/out/_next/static/chunks/{turbopack-3pgmc-lv74ewz.js → turbopack-02vysfmmbped5.js} +1 -1
  322. package/out/_next/static/chunks/{turbopack-1o1rar8ouv6h9.js → turbopack-03fj2scz_09ul.js} +1 -1
  323. package/out/_next/static/chunks/turbopack-07wtduwtfqsl_.js +1 -0
  324. package/out/_next/static/chunks/turbopack-0_zihh5ueb_wj.js +1 -0
  325. package/out/_next/static/chunks/{turbopack-2yekm5ij2g-aw.js → turbopack-0b8-ww_z1vgvn.js} +1 -1
  326. package/out/_next/static/chunks/{turbopack-431y1sh-m_0mp.js → turbopack-0beql_u-wc_3e.js} +1 -1
  327. package/out/_next/static/chunks/{turbopack-3_mmmbs60vr14.js → turbopack-0dxdn-gyy3_qj.js} +1 -1
  328. package/out/_next/static/chunks/turbopack-0hqw81t-42tbj.js +1 -0
  329. package/out/_next/static/chunks/turbopack-0jsdrr-oq87lm.js +1 -0
  330. package/out/_next/static/chunks/turbopack-0jxa33q3ikjqg.js +1 -0
  331. package/out/_next/static/chunks/turbopack-0k9zths9zte_8.js +1 -0
  332. package/out/_next/static/chunks/turbopack-0pa42wgwsv141.js +1 -0
  333. package/out/_next/static/chunks/{turbopack-19vr9o5829d-f.js → turbopack-0te09_mp07k1x.js} +1 -1
  334. package/out/_next/static/chunks/turbopack-0xsxl45thi-35.js +1 -0
  335. package/out/_next/static/chunks/{turbopack-2fuk9oepxr5n0.js → turbopack-10-8q-q2zomxa.js} +1 -1
  336. package/out/_next/static/chunks/turbopack-142w-8owzbg7_.js +1 -0
  337. package/out/_next/static/chunks/{turbopack-23u97wxsuqiqb.js → turbopack-18tezl3vagvil.js} +1 -1
  338. package/out/_next/static/chunks/turbopack-1_1a-_v7vml72.js +1 -0
  339. package/out/_next/static/chunks/{turbopack-1zn9gl4fpayoc.js → turbopack-1_k-7s9lmntml.js} +1 -1
  340. package/out/_next/static/chunks/turbopack-1a47di2tss4e-.js +1 -0
  341. package/out/_next/static/chunks/turbopack-1c60gn7g-uduw.js +1 -0
  342. package/out/_next/static/chunks/turbopack-1e1yk3pkaodr5.js +1 -0
  343. package/out/_next/static/chunks/{turbopack-3v4nxmdavly34.js → turbopack-1jtk1c9w2axlk.js} +1 -1
  344. package/out/_next/static/chunks/turbopack-1k2ukl9u-7ovo.js +1 -0
  345. package/out/_next/static/chunks/{turbopack-39nctu3yv9iv4.js → turbopack-1lkz81ntcp1zv.js} +1 -1
  346. package/out/_next/static/chunks/{turbopack-2dk8ur1fvwxzj.js → turbopack-1pkw_r5dvv20d.js} +1 -1
  347. package/out/_next/static/chunks/turbopack-1pu2s2k3szn0s.js +1 -0
  348. package/out/_next/static/chunks/turbopack-1rxz_6lqtls5b.js +1 -0
  349. package/out/_next/static/chunks/turbopack-1uf07pugrv1fy.js +1 -0
  350. package/out/_next/static/chunks/turbopack-1uobzdn2r7ebw.js +1 -0
  351. package/out/_next/static/chunks/{turbopack-1od_4a7nj02l4.js → turbopack-1wv610ktbtzka.js} +1 -1
  352. package/out/_next/static/chunks/{turbopack-3w26eu86co02z.js → turbopack-1wz4te1fj20zp.js} +1 -1
  353. package/out/_next/static/chunks/{turbopack-0s4b5r_1d8yqv.js → turbopack-1zi2ss8eiiyfx.js} +1 -1
  354. package/out/_next/static/chunks/turbopack-207p7bsc5wea7.js +1 -0
  355. package/out/_next/static/chunks/{turbopack-2ga09m38zacev.js → turbopack-21zngkzhonfcm.js} +1 -1
  356. package/out/_next/static/chunks/turbopack-23y20ll8n-nwk.js +1 -0
  357. package/out/_next/static/chunks/{turbopack-19e_bi5k2rqyy.js → turbopack-26wtylwa4_s95.js} +1 -1
  358. package/out/_next/static/chunks/turbopack-27l7xplqpifq6.js +1 -0
  359. package/out/_next/static/chunks/turbopack-285oyoobdo21x.js +1 -0
  360. package/out/_next/static/chunks/turbopack-28b0zyhf3uqaq.js +1 -0
  361. package/out/_next/static/chunks/{turbopack-0ga3wfg-oyyst.js → turbopack-28m_9eg3draop.js} +1 -1
  362. package/out/_next/static/chunks/{turbopack-23nr2ioaqw90j.js → turbopack-29h9fgcal-fng.js} +1 -1
  363. package/out/_next/static/chunks/turbopack-2a84kh6nmf_78.js +1 -0
  364. package/out/_next/static/chunks/turbopack-2b73dx1bsdg5f.js +1 -0
  365. package/out/_next/static/chunks/{turbopack-2u_328z53ed9p.js → turbopack-2bslf96g-y1vv.js} +1 -1
  366. package/out/_next/static/chunks/turbopack-2d-2wg8-_f9-v.js +1 -0
  367. package/out/_next/static/chunks/{turbopack-30qkgccwlkv7n.js → turbopack-2ez-mfb63qve0.js} +1 -1
  368. package/out/_next/static/chunks/{turbopack-0m3lvbvrn923g.js → turbopack-2g7u83j1wlswz.js} +1 -1
  369. package/out/_next/static/chunks/{turbopack-3uj40sz7i7jg0.js → turbopack-2m4gns1_64-7_.js} +1 -1
  370. package/out/_next/static/chunks/{turbopack-0anbjm4c1j4u4.js → turbopack-2n4ba44aafc4x.js} +1 -1
  371. package/out/_next/static/chunks/turbopack-2t3zb47_j-ahd.js +1 -0
  372. package/out/_next/static/chunks/{turbopack-2rz_y4ejrvafp.js → turbopack-2tf6rdek5zvm6.js} +1 -1
  373. package/out/_next/static/chunks/{turbopack-0a3j0ezn8okfg.js → turbopack-2vb0p2htqo4nd.js} +1 -1
  374. package/out/_next/static/chunks/{turbopack-0sihqflu4qpvw.js → turbopack-30-bi-9_7jd01.js} +1 -1
  375. package/out/_next/static/chunks/turbopack-32pjcar5xpn1o.js +1 -0
  376. package/out/_next/static/chunks/{turbopack-3cv3hgsoo_z1k.js → turbopack-3a3skasosq9-4.js} +1 -1
  377. package/out/_next/static/chunks/{turbopack-0w2rzh4i3j2og.js → turbopack-3d2rk8-5wcgrs.js} +1 -1
  378. package/out/_next/static/chunks/{turbopack-4166pmk5_y_4x.js → turbopack-3i91g2le3tkne.js} +1 -1
  379. package/out/_next/static/chunks/turbopack-3j4bdo8-ldea5.js +1 -0
  380. package/out/_next/static/chunks/{turbopack-2qbfd_-7v5dbo.js → turbopack-3m47jybfw85nc.js} +1 -1
  381. package/out/_next/static/chunks/{turbopack-24ylsu2au7hg1.js → turbopack-3yfksvslbm14s.js} +1 -1
  382. package/out/_next/static/chunks/{turbopack-21vayl2_q4r5u.js → turbopack-414roft8p92hp.js} +1 -1
  383. package/out/_next/static/chunks/{turbopack-1r_0o22d_puxo.js → turbopack-424slv1lqxh_5.js} +1 -1
  384. package/out/_next/static/chunks/turbopack-444yt6auyioxn.js +1 -0
  385. package/out/_next/static/{4-xf4wPkZc5rcBq3jUTDg → z5KrmhOz2mLscINN5EbUf}/_buildManifest.js +66 -62
  386. package/out/_offline/index.html +2 -2
  387. package/out/account/forgot-password/index.html +2 -2
  388. package/out/account/index.html +2 -2
  389. package/out/assortments/AssortmentDetailPage/index.html +2 -2
  390. package/out/assortments/index.html +2 -2
  391. package/out/assortments/new/index.html +2 -2
  392. package/out/copilot/index.html +2 -2
  393. package/out/country/CountryDetailPage/index.html +2 -2
  394. package/out/country/index.html +2 -2
  395. package/out/country/new/index.html +2 -2
  396. package/out/currency/CurrencyDetailPage/index.html +2 -2
  397. package/out/currency/index.html +2 -2
  398. package/out/currency/new/index.html +2 -2
  399. package/out/delivery-provider/DeliveryProviderDetailPage/index.html +2 -2
  400. package/out/delivery-provider/index.html +2 -2
  401. package/out/delivery-provider/new/index.html +2 -2
  402. package/out/enrollments/EnrollmentDetailPage/index.html +2 -2
  403. package/out/enrollments/index.html +2 -2
  404. package/out/events/EventDetailPage/index.html +2 -2
  405. package/out/events/index.html +2 -2
  406. package/out/exports/index.html +2 -2
  407. package/out/ext/[[...slug]]/index.html +11 -0
  408. package/out/external/index.html +2 -2
  409. package/out/filters/FilterDetailPage/index.html +2 -2
  410. package/out/filters/index.html +2 -2
  411. package/out/filters/new/index.html +2 -2
  412. package/out/index.html +2 -2
  413. package/out/install/index.html +2 -2
  414. package/out/language/LanguageDetailPage/index.html +2 -2
  415. package/out/language/index.html +2 -2
  416. package/out/language/new/index.html +2 -2
  417. package/out/log-in/index.html +2 -2
  418. package/out/orders/OrderDetailPage/index.html +2 -2
  419. package/out/orders/index.html +2 -2
  420. package/out/payment-provider/PaymentProviderDetailPage/index.html +2 -2
  421. package/out/payment-provider/index.html +2 -2
  422. package/out/payment-provider/new/index.html +2 -2
  423. package/out/products/ProductDetailPage/index.html +2 -2
  424. package/out/products/index.html +2 -2
  425. package/out/products/new/index.html +2 -2
  426. package/out/quotations/QuotationDetailPage/index.html +2 -2
  427. package/out/quotations/index.html +2 -2
  428. package/out/reset-password/index.html +2 -2
  429. package/out/sign-up/index.html +2 -2
  430. package/out/styleguide/index.html +2 -2
  431. package/out/tokens/TokenDetailPage/index.html +2 -2
  432. package/out/tokens/index.html +2 -2
  433. package/out/users/UserDetailPage/index.html +2 -2
  434. package/out/users/index.html +2 -2
  435. package/out/users/new/index.html +2 -2
  436. package/out/verify-email/index.html +2 -2
  437. package/out/warehousing-provider/WarehousingProviderDetailPage/index.html +2 -2
  438. package/out/warehousing-provider/index.html +2 -2
  439. package/out/warehousing-provider/new/index.html +2 -2
  440. package/out/works/WorkDetailPage/index.html +2 -2
  441. package/out/works/WorkQueueListView/index.html +2 -2
  442. package/out/works/index.html +2 -2
  443. package/out/works/management/index.html +2 -2
  444. package/package.json +130 -26
  445. package/src/modules/accounts/index.ts +34 -0
  446. package/src/modules/assortment/index.ts +29 -0
  447. package/src/modules/copilot/index.ts +4 -0
  448. package/src/modules/country/index.ts +5 -0
  449. package/src/modules/currency/index.ts +5 -0
  450. package/src/modules/delivery-provider/index.ts +7 -0
  451. package/src/modules/enrollment/index.ts +6 -0
  452. package/src/modules/event/index.ts +3 -0
  453. package/src/modules/filter/index.ts +13 -0
  454. package/src/modules/language/index.ts +5 -0
  455. package/src/modules/order/index.ts +8 -0
  456. package/src/modules/payment-providers/index.ts +7 -0
  457. package/src/modules/product/index.ts +49 -0
  458. package/src/modules/product-review/index.ts +6 -0
  459. package/src/modules/quotation/index.ts +6 -0
  460. package/src/modules/token/index.ts +3 -0
  461. package/src/modules/warehousing-providers/index.ts +7 -0
  462. package/src/modules/work/index.ts +7 -0
  463. package/src/sdk/README.md +226 -0
  464. package/src/sdk/form-entry.test.mjs +11 -0
  465. package/src/sdk/hooks.ts +15 -0
  466. package/src/sdk/modal.ts +6 -0
  467. package/src/sdk/plugin-build.mjs +97 -0
  468. package/src/sdk/plugin-build.test.mjs +46 -0
  469. package/src/sdk/plugin-runtime.cjs +66 -0
  470. package/src/sdk/plugin-runtime.d.mts +11 -0
  471. package/src/sdk/plugin-runtime.mjs +27 -0
  472. package/src/sdk/plugin-runtime.test.mjs +32 -0
  473. package/src/sdk/plugins.mjs +17 -0
  474. package/src/sdk/plugins.ts +105 -0
  475. package/src/sdk/providers.ts +4 -0
  476. package/src/sdk/shared-context.test.mjs +40 -0
  477. package/src/sdk/shims/admin-ui-plugins.ts +3 -0
  478. package/src/sdk/shims/apollo-client-react.ts +3 -0
  479. package/src/sdk/shims/apollo-client.ts +3 -0
  480. package/src/sdk/shims/host.ts +61 -0
  481. package/src/sdk/shims/next-head.ts +3 -0
  482. package/src/sdk/shims/next-image.ts +3 -0
  483. package/src/sdk/shims/next-link.ts +3 -0
  484. package/src/sdk/shims/next-router.ts +3 -0
  485. package/src/sdk/shims/react-dom-client.ts +3 -0
  486. package/src/sdk/shims/react-dom.ts +3 -0
  487. package/src/sdk/shims/react-hook-form.ts +3 -0
  488. package/src/sdk/shims/react-intl.ts +3 -0
  489. package/src/sdk/shims/react-jsx-runtime.ts +3 -0
  490. package/src/sdk/shims/react-toastify.ts +3 -0
  491. package/src/sdk/shims/react.ts +3 -0
  492. package/src/sdk/tailwind-preset.mjs +94 -0
  493. package/src/sdk/theme.ts +61 -0
  494. package/src/styles/globals.css +291 -0
  495. package/dist/chunk-F2TCVEQX.js +0 -514
  496. package/dist/chunk-KCN7DDPH.js +0 -1116
  497. package/dist/chunk-RORNAN2J.js +0 -12
  498. package/dist/chunk-RVG6IOFC.js +0 -11
  499. package/dist/chunk-YZGQJJCD.js +0 -37
  500. package/out/_next/static/chunks/0-mytn4v5bu5h.js +0 -12
  501. package/out/_next/static/chunks/0-uh133eqcz6n.js +0 -60
  502. package/out/_next/static/chunks/0060t3kg_i0lf.js +0 -10
  503. package/out/_next/static/chunks/0186bg0b60cid.js +0 -13
  504. package/out/_next/static/chunks/018n9pot9f5uf.js +0 -90
  505. package/out/_next/static/chunks/01h4ept18s-ns.js +0 -807
  506. package/out/_next/static/chunks/02cdoh48sex9m.js +0 -1
  507. package/out/_next/static/chunks/03-z1yl608b56.js +0 -807
  508. package/out/_next/static/chunks/030bzkeke0edz.js +0 -7
  509. package/out/_next/static/chunks/037vsiy28s6dg.js +0 -41
  510. package/out/_next/static/chunks/049clkw76lm67.js +0 -16
  511. package/out/_next/static/chunks/04bb4k67x398t.js +0 -1
  512. package/out/_next/static/chunks/057evs7qr5y-t.js +0 -17
  513. package/out/_next/static/chunks/05qpw6q8uiz3l.js +0 -15
  514. package/out/_next/static/chunks/062myzj-2ehu-.js +0 -52
  515. package/out/_next/static/chunks/06l-rqlf4bp81.js +0 -108
  516. package/out/_next/static/chunks/06tejx8u1_0kg.js +0 -1
  517. package/out/_next/static/chunks/07nffhr51vke6.js +0 -59
  518. package/out/_next/static/chunks/08tyybz20igty.js +0 -15
  519. package/out/_next/static/chunks/0989pcuje2j55.js +0 -66
  520. package/out/_next/static/chunks/0_02skyivjqh6.js +0 -14
  521. package/out/_next/static/chunks/0_ngi84ak813x.js +0 -288
  522. package/out/_next/static/chunks/0bc02hascgv7z.js +0 -1
  523. package/out/_next/static/chunks/0c9ruqj2wf3n6.js +0 -905
  524. package/out/_next/static/chunks/0cblqqpscyy7w.js +0 -12
  525. package/out/_next/static/chunks/0cotrfgh1n2cx.js +0 -346
  526. package/out/_next/static/chunks/0d6_opzy2p6ik.js +0 -807
  527. package/out/_next/static/chunks/0e2e0srgvkzk9.js +0 -144
  528. package/out/_next/static/chunks/0g6hr3dmen536.js +0 -7
  529. package/out/_next/static/chunks/0ht2wu-61vq9v.js +0 -807
  530. package/out/_next/static/chunks/0ibp5q64hnd88.js +0 -18
  531. package/out/_next/static/chunks/0ichlp5c67dko.js +0 -12
  532. package/out/_next/static/chunks/0iui_zfuxfa45.js +0 -12
  533. package/out/_next/static/chunks/0k6z6zl_zxqp7.js +0 -13
  534. package/out/_next/static/chunks/0kkky_8vhaeaz.js +0 -227
  535. package/out/_next/static/chunks/0lutmpv07icdg.js +0 -8
  536. package/out/_next/static/chunks/0mzh9-epgepi1.js +0 -119
  537. package/out/_next/static/chunks/0n0uzfbkfb7e5.js +0 -12
  538. package/out/_next/static/chunks/0nhczsa2mm354.js +0 -16
  539. package/out/_next/static/chunks/0pecsk3c09b19.js +0 -3
  540. package/out/_next/static/chunks/0prynyrvhm7ef.js +0 -2
  541. package/out/_next/static/chunks/0q-14a7j6afh3.js +0 -1
  542. package/out/_next/static/chunks/0razrbxeai797.js +0 -807
  543. package/out/_next/static/chunks/0ryqvctymlr3k.js +0 -12
  544. package/out/_next/static/chunks/0se09klbk8drd.js +0 -68
  545. package/out/_next/static/chunks/0sh5256hzmj3b.js +0 -14
  546. package/out/_next/static/chunks/0srpqs12m-bwy.js +0 -13
  547. package/out/_next/static/chunks/0ukyxgmnqos6o.js +0 -1
  548. package/out/_next/static/chunks/0uv4d5f9o8wu1.js +0 -10
  549. package/out/_next/static/chunks/0vls1lbu_rh78.js +0 -342
  550. package/out/_next/static/chunks/0vx_1vxljh4tn.js +0 -13
  551. package/out/_next/static/chunks/0vxe9bw7ffqy2.js +0 -15
  552. package/out/_next/static/chunks/0w0zigi7aws2m.js +0 -1
  553. package/out/_next/static/chunks/0w2zoz_fn_wha.js +0 -137
  554. package/out/_next/static/chunks/0xuevvy5i5d12.js +0 -138
  555. package/out/_next/static/chunks/0xxvsq70e4xn0.js +0 -1
  556. package/out/_next/static/chunks/0yxc1yy1eq4u3.js +0 -149
  557. package/out/_next/static/chunks/1-uz_5-063kh9.js +0 -188
  558. package/out/_next/static/chunks/10h7lznd10mmp.js +0 -384
  559. package/out/_next/static/chunks/10os1s66nimmi.js +0 -110
  560. package/out/_next/static/chunks/12_5-baf13q49.js +0 -195
  561. package/out/_next/static/chunks/12qzh85d5on4y.js +0 -44
  562. package/out/_next/static/chunks/12ukdi5bzlbeo.js +0 -596
  563. package/out/_next/static/chunks/1398hevtpl_69.js +0 -1
  564. package/out/_next/static/chunks/13qk8ukzu1snm.js +0 -288
  565. package/out/_next/static/chunks/16ey81skn09dz.js +0 -1
  566. package/out/_next/static/chunks/18kae_yjyhjwf.js +0 -16
  567. package/out/_next/static/chunks/1_quktgfhf40v.js +0 -31
  568. package/out/_next/static/chunks/1aegvtb5jv57q.js +0 -12
  569. package/out/_next/static/chunks/1cgxgd2cf8u3j.js +0 -157
  570. package/out/_next/static/chunks/1cp4-dvxowp4c.js +0 -24
  571. package/out/_next/static/chunks/1d951b6ed8oqn.js +0 -110
  572. package/out/_next/static/chunks/1d_puhcn8lg6q.js +0 -51
  573. package/out/_next/static/chunks/1drrou5kp4qdz.js +0 -1
  574. package/out/_next/static/chunks/1e4_28-3u5o85.js +0 -30
  575. package/out/_next/static/chunks/1f3mflnvp8_7-.js +0 -31
  576. package/out/_next/static/chunks/1f5-j4f3irx0j.js +0 -147
  577. package/out/_next/static/chunks/1fzbon-ih4_3j.js +0 -1
  578. package/out/_next/static/chunks/1g57y7cq7tjcb.js +0 -9
  579. package/out/_next/static/chunks/1g8f6jrb9cp9v.js +0 -13
  580. package/out/_next/static/chunks/1gksg35fivk0-.js +0 -224
  581. package/out/_next/static/chunks/1gy9ae4fpd6jm.js +0 -17
  582. package/out/_next/static/chunks/1hq9yt63076pk.js +0 -16
  583. package/out/_next/static/chunks/1ikm9qcx--k3u.js +0 -807
  584. package/out/_next/static/chunks/1izpxynqp99t4.js +0 -193
  585. package/out/_next/static/chunks/1j2ko85jp-5wy.js +0 -807
  586. package/out/_next/static/chunks/1k-cn_5ey1u62.js +0 -15
  587. package/out/_next/static/chunks/1k0mvn915uz76.js +0 -14
  588. package/out/_next/static/chunks/1l4snbkce_jb6.js +0 -15
  589. package/out/_next/static/chunks/1lbsdlf5h6ojc.js +0 -16
  590. package/out/_next/static/chunks/1mwvnv71bl7mc.js +0 -1
  591. package/out/_next/static/chunks/1n7i2rp59o9o8.js +0 -384
  592. package/out/_next/static/chunks/1pklei2ds10d2.js +0 -66
  593. package/out/_next/static/chunks/1pxor-3_vf3du.js +0 -31
  594. package/out/_next/static/chunks/1qp68765j1aiv.js +0 -61
  595. package/out/_next/static/chunks/1r-cvj3mpr-7x.js +0 -87
  596. package/out/_next/static/chunks/1sivy8bkkmwxl.js +0 -5
  597. package/out/_next/static/chunks/1vk6h4qps69vq.js +0 -12
  598. package/out/_next/static/chunks/1vx8_u7-f7q8u.js +0 -28
  599. package/out/_next/static/chunks/1weq9keqxiqpy.js +0 -73
  600. package/out/_next/static/chunks/1wvicoevgxhkk.js +0 -14
  601. package/out/_next/static/chunks/1ziicn0eb_yji.js +0 -16
  602. package/out/_next/static/chunks/1zza9faw4t3b_.js +0 -46
  603. package/out/_next/static/chunks/1zzpf1xbmchcj.js +0 -132
  604. package/out/_next/static/chunks/2-4ng9fxftmld.js +0 -1
  605. package/out/_next/static/chunks/201rx84kyo8ag.js +0 -1
  606. package/out/_next/static/chunks/20rtv8f0brb0n.js +0 -43
  607. package/out/_next/static/chunks/21a19t2pe0fpg.js +0 -81
  608. package/out/_next/static/chunks/21o2yfegozc0m.js +0 -16
  609. package/out/_next/static/chunks/22w2ovaffle-i.js +0 -21
  610. package/out/_next/static/chunks/234pfdqctlnyt.js +0 -100
  611. package/out/_next/static/chunks/25d8wr34sbm__.js +0 -15
  612. package/out/_next/static/chunks/275o3ly3svw4p.js +0 -1
  613. package/out/_next/static/chunks/28z1z7in8-kbg.js +0 -26
  614. package/out/_next/static/chunks/29w1exzy704_7.js +0 -8
  615. package/out/_next/static/chunks/2bb7696udjx6k.js +0 -44
  616. package/out/_next/static/chunks/2bm5aw8hqlgf2.js +0 -50
  617. package/out/_next/static/chunks/2c4vy8ofex0ti.js +0 -14
  618. package/out/_next/static/chunks/2c7gw8ronvu-c.js +0 -807
  619. package/out/_next/static/chunks/2cbr3ybo4xsrv.js +0 -43
  620. package/out/_next/static/chunks/2eh6ku1a1zbs4.js +0 -135
  621. package/out/_next/static/chunks/2fed4-6c0ghqp.js +0 -99
  622. package/out/_next/static/chunks/2g39exixp92yf.js +0 -13
  623. package/out/_next/static/chunks/2gil5igdermzh.js +0 -36
  624. package/out/_next/static/chunks/2hm0mbq0vtqmw.js +0 -5
  625. package/out/_next/static/chunks/2hvt_8j6jkd_n.js +0 -14
  626. package/out/_next/static/chunks/2i5uj5i4z-xu8.js +0 -188
  627. package/out/_next/static/chunks/2ismth22knujm.js +0 -1
  628. package/out/_next/static/chunks/2iuznbar_ttrh.js +0 -18
  629. package/out/_next/static/chunks/2j6cph79-th54.js +0 -7
  630. package/out/_next/static/chunks/2jln1kjysf99p.js +0 -1
  631. package/out/_next/static/chunks/2jtk4-i4e9lug.js +0 -1
  632. package/out/_next/static/chunks/2k020ab3luqev.js +0 -1
  633. package/out/_next/static/chunks/2kbieaechn8m8.js +0 -1
  634. package/out/_next/static/chunks/2lwxs_ly4bz1o.js +0 -12
  635. package/out/_next/static/chunks/2mr2k4sb6i021.js +0 -32
  636. package/out/_next/static/chunks/2na27-e8gs0-f.js +0 -171
  637. package/out/_next/static/chunks/2nn3_f04lnr0b.js +0 -807
  638. package/out/_next/static/chunks/2ocwu5vbc5r34.js +0 -73
  639. package/out/_next/static/chunks/2qprgjhjl8d4c.js +0 -807
  640. package/out/_next/static/chunks/2rtyphk0o1hbr.js +0 -5
  641. package/out/_next/static/chunks/2skxi0oqka3ef.js +0 -26
  642. package/out/_next/static/chunks/2sukt9l-1md8_.js +0 -25
  643. package/out/_next/static/chunks/2t3t6gm5vlg_0.js +0 -58
  644. package/out/_next/static/chunks/2vt52_i-6cdbh.js +0 -10
  645. package/out/_next/static/chunks/2w5y5xf0nriwx.js +0 -1
  646. package/out/_next/static/chunks/2we4fnghpvprw.js +0 -190
  647. package/out/_next/static/chunks/30g-s0ioynhjx.js +0 -224
  648. package/out/_next/static/chunks/31y7dx6ytab7h.js +0 -3
  649. package/out/_next/static/chunks/363ng2l8o_bee.js +0 -101
  650. package/out/_next/static/chunks/36jick0alh9oa.js +0 -50
  651. package/out/_next/static/chunks/36pa0vs0telmp.js +0 -1
  652. package/out/_next/static/chunks/36yth4lm03_j8.js +0 -1
  653. package/out/_next/static/chunks/37phwvegpccj0.js +0 -217
  654. package/out/_next/static/chunks/38b7m-s26ciug.js +0 -137
  655. package/out/_next/static/chunks/38ipj45w-tqay.js +0 -21
  656. package/out/_next/static/chunks/38pz7fmyf6ay0.js +0 -1
  657. package/out/_next/static/chunks/39634va9fx9s2.js +0 -13
  658. package/out/_next/static/chunks/3a0hqx7ohm5lh.js +0 -23
  659. package/out/_next/static/chunks/3dr_oa5hx41is.js +0 -14
  660. package/out/_next/static/chunks/3e7w6ko5psik7.js +0 -17
  661. package/out/_next/static/chunks/3ebh4y7h6y1vq.js +0 -58
  662. package/out/_next/static/chunks/3eow7lw1727kt.js +0 -13
  663. package/out/_next/static/chunks/3f1gb4_hyhtho.js +0 -20
  664. package/out/_next/static/chunks/3g4qj6_qh97q_.js +0 -12
  665. package/out/_next/static/chunks/3gfjdynb9mg8h.js +0 -23
  666. package/out/_next/static/chunks/3gx4smk7pb27x.js +0 -119
  667. package/out/_next/static/chunks/3jcf4ei6zgnca.js +0 -17
  668. package/out/_next/static/chunks/3kisw9hre44e5.js +0 -807
  669. package/out/_next/static/chunks/3mnt471ayfsvh.js +0 -22
  670. package/out/_next/static/chunks/3ondw3-zthjz5.js +0 -15
  671. package/out/_next/static/chunks/3opuxnw_w3yb5.js +0 -101
  672. package/out/_next/static/chunks/3oxv1fo564rrf.js +0 -142
  673. package/out/_next/static/chunks/3ra_41-fw410n.js +0 -14
  674. package/out/_next/static/chunks/3s22ovhmk-4h7.js +0 -1
  675. package/out/_next/static/chunks/3sktz8258so64.js +0 -2
  676. package/out/_next/static/chunks/3tq-bb0j1_lpu.js +0 -14
  677. package/out/_next/static/chunks/3v1dxn4rp-o3v.js +0 -315
  678. package/out/_next/static/chunks/3w_wwl_hd91od.js +0 -1
  679. package/out/_next/static/chunks/3ww_p-agyd9u-.js +0 -14
  680. package/out/_next/static/chunks/3wzzh45yillzb.js +0 -1
  681. package/out/_next/static/chunks/3xfj8_2nd5d_1.js +0 -1
  682. package/out/_next/static/chunks/3xhmfg-981n_5.js +0 -61
  683. package/out/_next/static/chunks/3yz34q3ulli7q.js +0 -12
  684. package/out/_next/static/chunks/3z_c5kpm-e1ty.js +0 -15
  685. package/out/_next/static/chunks/3zqfchpzqxd92.css +0 -1
  686. package/out/_next/static/chunks/3zs002htik_8l.js +0 -21
  687. package/out/_next/static/chunks/4079hjuumfmm2.js +0 -31
  688. package/out/_next/static/chunks/40922jbr_e5ug.js +0 -51
  689. package/out/_next/static/chunks/40zy6mxa-be0m.js +0 -1
  690. package/out/_next/static/chunks/41fbmiggueudh.js +0 -13
  691. package/out/_next/static/chunks/43e0fp97w800k.js +0 -13
  692. package/out/_next/static/chunks/43gv4x1sfyb5l.js +0 -9
  693. package/out/_next/static/chunks/44nj9c766dqvc.js +0 -807
  694. package/out/_next/static/chunks/44r51e87s4z_d.js +0 -8
  695. package/out/_next/static/chunks/458tg2eg5h8j5.js +0 -324
  696. package/out/_next/static/chunks/45cd4ypk94sw2.js +0 -807
  697. package/out/_next/static/chunks/turbopack-01866gjdddrxa.js +0 -1
  698. package/out/_next/static/chunks/turbopack-08ttg7vxsdnsj.js +0 -1
  699. package/out/_next/static/chunks/turbopack-0pmjdjcdx7cqp.js +0 -1
  700. package/out/_next/static/chunks/turbopack-0tc31uax4buqq.js +0 -1
  701. package/out/_next/static/chunks/turbopack-10ldzl5n31zl-.js +0 -1
  702. package/out/_next/static/chunks/turbopack-19i6-4a5o4fil.js +0 -1
  703. package/out/_next/static/chunks/turbopack-19yw5qwon7l57.js +0 -1
  704. package/out/_next/static/chunks/turbopack-1cx5i7_gdoz5k.js +0 -1
  705. package/out/_next/static/chunks/turbopack-1d-c7awe26kf5.js +0 -1
  706. package/out/_next/static/chunks/turbopack-1l1aen9tojmq4.js +0 -1
  707. package/out/_next/static/chunks/turbopack-1rmdtpi005n_6.js +0 -1
  708. package/out/_next/static/chunks/turbopack-1wx5785osz26z.js +0 -1
  709. package/out/_next/static/chunks/turbopack-28_dvdmt6lvhn.js +0 -1
  710. package/out/_next/static/chunks/turbopack-2bo7hmw4eirxu.js +0 -1
  711. package/out/_next/static/chunks/turbopack-2e_wy0ffi64id.js +0 -1
  712. package/out/_next/static/chunks/turbopack-2g2viapamsvwe.js +0 -1
  713. package/out/_next/static/chunks/turbopack-2pxtve7lryqre.js +0 -1
  714. package/out/_next/static/chunks/turbopack-2u0ls0liblo_9.js +0 -1
  715. package/out/_next/static/chunks/turbopack-2xfom16ggx1i3.js +0 -1
  716. package/out/_next/static/chunks/turbopack-2ycfwit0p-fkf.js +0 -1
  717. package/out/_next/static/chunks/turbopack-3-w-v8og1lok2.js +0 -1
  718. package/out/_next/static/chunks/turbopack-36bl9-rerhcfg.js +0 -1
  719. package/out/_next/static/chunks/turbopack-37a6lyjyz7fts.js +0 -1
  720. package/out/_next/static/chunks/turbopack-37lb9ujef-ujm.js +0 -1
  721. package/out/_next/static/chunks/turbopack-3_o3qz69ih0uu.js +0 -1
  722. package/out/_next/static/chunks/turbopack-3cv39r7v3s2gr.js +0 -1
  723. package/out/_next/static/chunks/turbopack-3vfm6fp92up6y.js +0 -1
  724. package/out/_next/static/chunks/turbopack-3vyi51cuxeowy.js +0 -1
  725. package/out/_next/static/chunks/turbopack-3zc0h1216mtm2.js +0 -1
  726. package/out/admin-ui-permissions.js +0 -129
  727. /package/out/_next/static/{4-xf4wPkZc5rcBq3jUTDg → z5KrmhOz2mLscINN5EbUf}/_clientMiddlewareManifest.js +0 -0
  728. /package/out/_next/static/{4-xf4wPkZc5rcBq3jUTDg → z5KrmhOz2mLscINN5EbUf}/_ssgManifest.js +0 -0
@@ -0,0 +1,388 @@
1
+ import { Ke, Oe, f as f$1 } from './chunk-3L6EZQ6P.js';
2
+ import { E, m, n as n$1 } from './chunk-FDHXLNZQ.js';
3
+ import { Y, r, u3, i3, y, u2, o2, l3, oe, y2, x, n, S, k3, f2, p2, H, n2, K, s4, l4 as l4$1, le, B, A, M, n3, u, v, T2, I, p, f, s2, l, t3, o4, d, w2 as w2$1, c2, t, A2, s3, i } from './chunk-QHR23GVH.js';
4
+ import { ModalContext_default } from './chunk-VBO377AY.js';
5
+ import l4, { createContext, useRef, useReducer, createRef, useCallback, useMemo, useContext, useState, Fragment, useEffect } from 'react';
6
+ import { useIntl } from 'react-intl';
7
+ import { jsx, jsxs, Fragment as Fragment$1 } from 'react/jsx-runtime';
8
+
9
+ var e = createContext(() => {
10
+ });
11
+ function C({ value: t3, children: o4 }) {
12
+ return l4.createElement(e.Provider, { value: t3 }, o4);
13
+ }
14
+
15
+ // ../node_modules/@headlessui/react/dist/hooks/use-escape.js
16
+ function a(o4$1, r3 = typeof document != "undefined" ? document.defaultView : null, t3) {
17
+ let n6 = I(o4$1, "escape");
18
+ E(r3, "keydown", (e2) => {
19
+ n6 && (e2.defaultPrevented || e2.key === o4.Escape && t3(e2));
20
+ });
21
+ }
22
+ function f4() {
23
+ var t3;
24
+ let [e2] = useState(() => typeof window != "undefined" && typeof window.matchMedia == "function" ? window.matchMedia("(pointer: coarse)") : null), [o4, c2] = useState((t3 = e2 == null ? void 0 : e2.matches) != null ? t3 : false);
25
+ return n(() => {
26
+ if (!e2) return;
27
+ function n6(r3) {
28
+ c2(r3.matches);
29
+ }
30
+ return e2.addEventListener("change", n6), () => e2.removeEventListener("change", n6);
31
+ }, [e2]), o4;
32
+ }
33
+ function S2({ defaultContainers: l5 = [], portals: n6, mainTreeNode: o4 } = {}) {
34
+ let c2 = o2(() => {
35
+ var r3, u5;
36
+ let i5 = l(o4), t3$1 = [];
37
+ for (let e2 of l5) e2 !== null && (t3(e2) ? t3$1.push(e2) : "current" in e2 && t3(e2.current) && t3$1.push(e2.current));
38
+ if (n6 != null && n6.current) for (let e2 of n6.current) t3$1.push(e2);
39
+ for (let e2 of (r3 = i5 == null ? void 0 : i5.querySelectorAll("html > *, body > *")) != null ? r3 : []) 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)) || t3$1.some((E2) => e2.contains(E2)) || t3$1.push(e2));
40
+ return t3$1;
41
+ });
42
+ return { resolveContainers: c2, contains: o2((i5) => c2().some((t3) => t3.contains(i5))) };
43
+ }
44
+ var d2 = createContext(null);
45
+ function j({ children: l5, node: n6 }) {
46
+ let [o4, c2] = useState(null), i5 = x2(n6 != null ? n6 : o4);
47
+ return l4.createElement(d2.Provider, { value: i5 }, l5, i5 === null && l4.createElement(f, { features: s2.Hidden, ref: (t3$1) => {
48
+ var r3, u5;
49
+ if (t3$1) {
50
+ for (let e2 of (u5 = (r3 = l(t3$1)) == null ? void 0 : r3.querySelectorAll("html > *, body > *")) != null ? u5 : []) if (e2 !== document.body && e2 !== document.head && t3(e2) && e2 != null && e2.contains(t3$1)) {
51
+ c2(e2);
52
+ break;
53
+ }
54
+ }
55
+ } }));
56
+ }
57
+ function x2(l5 = null) {
58
+ var n6;
59
+ return (n6 = useContext(d2)) != null ? n6 : l5;
60
+ }
61
+ var a2 = ((r3) => (r3[r3.Forwards = 0] = "Forwards", r3[r3.Backwards = 1] = "Backwards", r3))(a2 || {});
62
+ function u4() {
63
+ let e2 = useRef(0);
64
+ return s3(true, "keydown", (r3) => {
65
+ r3.key === "Tab" && (e2.current = r3.shiftKey ? 1 : 0);
66
+ }, true), e2;
67
+ }
68
+
69
+ // ../node_modules/@headlessui/react/dist/components/focus-trap/focus-trap.js
70
+ function x3(o4) {
71
+ if (!o4) return /* @__PURE__ */ new Set();
72
+ if (typeof o4 == "function") return new Set(o4());
73
+ let t3$1 = /* @__PURE__ */ new Set();
74
+ for (let e2 of o4.current) t3(e2.current) && t3$1.add(e2.current);
75
+ return t3$1;
76
+ }
77
+ var $ = "div";
78
+ 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 || {});
79
+ function w2(o4, t3) {
80
+ let e2 = useRef(null), r3 = y(e2, t3), { initialFocus: u5, initialFocusFallback: a3, containers: n6, features: s5 = 15, ...f5 } = o4;
81
+ l3() || (s5 = 0);
82
+ let l5 = u2(e2.current);
83
+ re(s5, { ownerDocument: l5 });
84
+ let T2$1 = ne(s5, { ownerDocument: l5, container: e2, initialFocus: u5, initialFocusFallback: a3 });
85
+ oe2(s5, { ownerDocument: l5, container: e2, containers: n6, previousActiveElement: T2$1 });
86
+ let g = u4(), A3 = o2((c2) => {
87
+ if (!n3(e2.current)) return;
88
+ let E2 = e2.current;
89
+ ((V) => V())(() => {
90
+ u(g.current, { [a2.Forwards]: () => {
91
+ v(E2, T2.First, { skipElements: [c2.relatedTarget, a3] });
92
+ }, [a2.Backwards]: () => {
93
+ v(E2, T2.Last, { skipElements: [c2.relatedTarget, a3] });
94
+ } });
95
+ });
96
+ }), v2 = I(!!(s5 & 2), "focus-trap#tab-lock"), N = p(), b2 = useRef(false), k2 = { ref: r3, onKeyDown(c2) {
97
+ c2.key == "Tab" && (b2.current = true, N.requestAnimationFrame(() => {
98
+ b2.current = false;
99
+ }));
100
+ }, onBlur(c2) {
101
+ if (!(s5 & 4)) return;
102
+ let E2 = x3(n6);
103
+ n3(e2.current) && E2.add(e2.current);
104
+ let L = c2.relatedTarget;
105
+ i(L) && L.dataset.headlessuiFocusGuard !== "true" && (I2(E2, L) || (b2.current ? v(e2.current, u(g.current, { [a2.Forwards]: () => T2.Next, [a2.Backwards]: () => T2.Previous }) | T2.WrapAround, { relativeTo: c2.target }) : i(c2.target) && w2$1(c2.target)));
106
+ } }, B2 = K();
107
+ 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: k2, theirProps: f5, defaultTag: $, name: "FocusTrap" }), v2 && l4.createElement(f, { as: "button", type: "button", "data-headlessui-focus-guard": true, onFocus: A3, features: s2.Focusable }));
108
+ }
109
+ var ee = Y(w2);
110
+ var ge = Object.assign(ee, { features: G });
111
+ function te(o4 = true) {
112
+ let t3 = useRef(n$1.slice());
113
+ return m(([e2], [r3]) => {
114
+ r3 === true && e2 === false && t(() => {
115
+ t3.current.splice(0);
116
+ }), r3 === false && e2 === true && (t3.current = n$1.slice());
117
+ }, [o4, n$1, t3]), o2(() => {
118
+ var e2;
119
+ return (e2 = t3.current.find((r3) => r3 != null && r3.isConnected)) != null ? e2 : null;
120
+ });
121
+ }
122
+ function re(o4, { ownerDocument: t3 }) {
123
+ let e2 = !!(o4 & 8), r3 = te(e2);
124
+ m(() => {
125
+ e2 || d(t3 == null ? void 0 : t3.body) && w2$1(r3());
126
+ }, [e2]), c2(() => {
127
+ e2 && w2$1(r3());
128
+ });
129
+ }
130
+ function ne(o4, { ownerDocument: t3, container: e2, initialFocus: r3, initialFocusFallback: u5 }) {
131
+ let a3 = useRef(null), n6 = I(!!(o4 & 1), "focus-trap#initial-focus"), s5 = f$1();
132
+ return m(() => {
133
+ if (o4 === 0) return;
134
+ if (!n6) {
135
+ u5 != null && u5.current && w2$1(u5.current);
136
+ return;
137
+ }
138
+ let f5 = e2.current;
139
+ f5 && t(() => {
140
+ if (!s5.current) return;
141
+ let l5 = t3 == null ? void 0 : t3.activeElement;
142
+ if (r3 != null && r3.current) {
143
+ if ((r3 == null ? void 0 : r3.current) === l5) {
144
+ a3.current = l5;
145
+ return;
146
+ }
147
+ } else if (f5.contains(l5)) {
148
+ a3.current = l5;
149
+ return;
150
+ }
151
+ if (r3 != null && r3.current) w2$1(r3.current);
152
+ else {
153
+ if (o4 & 16) {
154
+ if (v(f5, T2.First | T2.AutoFocus) !== A2.Error) return;
155
+ } else if (v(f5, T2.First) !== A2.Error) return;
156
+ if (u5 != null && u5.current && (w2$1(u5.current), (t3 == null ? void 0 : t3.activeElement) === u5.current)) return;
157
+ console.warn("There are no focusable elements inside the <FocusTrap />");
158
+ }
159
+ a3.current = t3 == null ? void 0 : t3.activeElement;
160
+ });
161
+ }, [u5, n6, o4]), a3;
162
+ }
163
+ function oe2(o4, { ownerDocument: t3, container: e2, containers: r3, previousActiveElement: u5 }) {
164
+ let a3 = f$1(), n6 = !!(o4 & 4);
165
+ E(t3 == null ? void 0 : t3.defaultView, "focus", (s5) => {
166
+ if (!n6 || !a3.current) return;
167
+ let f5 = x3(r3);
168
+ n3(e2.current) && f5.add(e2.current);
169
+ let l5 = u5.current;
170
+ if (!l5) return;
171
+ let T2 = s5.target;
172
+ n3(T2) ? I2(f5, T2) ? (u5.current = T2, w2$1(T2)) : (s5.preventDefault(), s5.stopPropagation(), w2$1(l5)) : w2$1(u5.current);
173
+ }, true);
174
+ }
175
+ function I2(o4, t3) {
176
+ for (let e2 of o4) if (e2.contains(t3)) return true;
177
+ return false;
178
+ }
179
+
180
+ // ../node_modules/@headlessui/react/dist/components/dialog/dialog.js
181
+ var we = ((o4) => (o4[o4.Open = 0] = "Open", o4[o4.Closed = 1] = "Closed", o4))(we || {});
182
+ var Be = ((t3) => (t3[t3.SetTitleId = 0] = "SetTitleId", t3))(Be || {});
183
+ var Ue = { [0](e2, t3) {
184
+ return e2.titleId === t3.id ? e2 : { ...e2, titleId: t3.id };
185
+ } };
186
+ var w3 = createContext(null);
187
+ w3.displayName = "DialogContext";
188
+ function O(e2) {
189
+ let t3 = useContext(w3);
190
+ if (t3 === null) {
191
+ let o4 = new Error(`<${e2} /> is missing a parent <Dialog /> component.`);
192
+ throw Error.captureStackTrace && Error.captureStackTrace(o4, O), o4;
193
+ }
194
+ return t3;
195
+ }
196
+ function He(e2, t3) {
197
+ return u(t3.type, Ue, e2, t3);
198
+ }
199
+ var z = Y(function(t3, o4) {
200
+ let a3 = r(), { id: n6 = `headlessui-dialog-${a3}`, open: i5, onClose: p4, initialFocus: d3, role: s5 = "dialog", autoFocus: f5 = true, __demoMode: u5 = false, unmount: y3 = false, ...S3 } = t3, R = useRef(false);
201
+ s5 = (function() {
202
+ return s5 === "dialog" || s5 === "alertdialog" ? s5 : (R.current || (R.current = true, console.warn(`Invalid role [${s5}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)), "dialog");
203
+ })();
204
+ let g = u3();
205
+ i5 === void 0 && g !== null && (i5 = (g & i3.Open) === i3.Open);
206
+ let T2 = useRef(null), I3 = y(T2, o4), F2 = u2(T2.current), c2 = i5 ? 0 : 1, [b2, Q] = useReducer(He, { titleId: null, descriptionId: null, panelRef: createRef() }), m2 = o2(() => p4(false)), B2 = o2((r3) => Q({ type: 0, id: r3 })), D = l3() ? c2 === 0 : false, [Z, ee2] = oe(), te2 = { get current() {
207
+ var r3;
208
+ return (r3 = b2.panelRef.current) != null ? r3 : T2.current;
209
+ } }, v2 = x2(), { resolveContainers: M3 } = S2({ mainTreeNode: v2, portals: Z, defaultContainers: [te2] }), U = g !== null ? (g & i3.Closing) === i3.Closing : false;
210
+ y2(u5 || U ? false : D, { allowed: o2(() => {
211
+ var r3, W;
212
+ return [(W = (r3 = T2.current) == null ? void 0 : r3.closest("[data-headlessui-portal]")) != null ? W : null];
213
+ }), disallowed: o2(() => {
214
+ var r3;
215
+ return [(r3 = v2 == null ? void 0 : v2.closest("body > *:not(#headlessui-portal-root)")) != null ? r3 : null];
216
+ }) });
217
+ let P = x.get(null);
218
+ n(() => {
219
+ if (D) return P.actions.push(n6), () => P.actions.pop(n6);
220
+ }, [P, n6, D]);
221
+ let H2 = S(P, useCallback((r3) => P.selectors.isTop(r3, n6), [P, n6]));
222
+ k3(H2, M3, (r3) => {
223
+ r3.preventDefault(), m2();
224
+ }), a(H2, F2 == null ? void 0 : F2.defaultView, (r3) => {
225
+ r3.preventDefault(), r3.stopPropagation(), document.activeElement && "blur" in document.activeElement && typeof document.activeElement.blur == "function" && document.activeElement.blur(), m2();
226
+ }), f2(u5 || U ? false : D, F2, M3), p2(D, T2, m2);
227
+ let [oe3, ne2] = H(), re2 = useMemo(() => [{ dialogState: c2, close: m2, setTitleId: B2, unmount: y3 }, b2], [c2, m2, B2, y3, b2]), N = n2({ open: c2 === 0 }), le2 = { ref: I3, id: n6, role: s5, tabIndex: -1, "aria-modal": u5 ? void 0 : c2 === 0 ? true : void 0, "aria-labelledby": b2.titleId, "aria-describedby": oe3, unmount: y3 }, ae = !f4(), E2 = G.None;
228
+ D && !u5 && (E2 |= G.RestoreFocus, E2 |= G.TabLock, f5 && (E2 |= G.AutoFocus), ae && (E2 |= G.InitialFocus));
229
+ let ie = K();
230
+ return l4.createElement(s4, null, l4.createElement(l4$1, { force: true }, l4.createElement(le, null, l4.createElement(w3.Provider, { value: re2 }, l4.createElement(B, { target: T2 }, l4.createElement(l4$1, { force: false }, l4.createElement(ne2, { slot: N }, l4.createElement(ee2, null, l4.createElement(ge, { initialFocus: d3, initialFocusFallback: T2, containers: M3, features: E2 }, l4.createElement(C, { value: m2 }, ie({ ourProps: le2, theirProps: S3, slot: N, defaultTag: Ne, features: We, visible: c2 === 0, name: "Dialog" })))))))))));
231
+ });
232
+ var Ne = "div";
233
+ var We = A.RenderStrategy | A.Static;
234
+ function $e(e2, t3) {
235
+ let { transition: o4 = false, open: a3, ...n6 } = e2, i5 = u3(), p4 = e2.hasOwnProperty("open") || i5 !== null, d3 = e2.hasOwnProperty("onClose");
236
+ if (!p4 && !d3) throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");
237
+ if (!p4) throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");
238
+ if (!d3) throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");
239
+ 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}`);
240
+ 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}`);
241
+ 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: t3, ...n6 }))) : l4.createElement(j, null, l4.createElement(z, { ref: t3, open: a3, ...n6 }));
242
+ }
243
+ var je = "div";
244
+ function Ye(e2, t3) {
245
+ let o4 = r(), { id: a3 = `headlessui-dialog-panel-${o4}`, transition: n6 = false, ...i5 } = e2, [{ dialogState: p4, unmount: d3 }, s5] = O("Dialog.Panel"), f5 = y(t3, s5.panelRef), u5 = n2({ open: p4 === 0 }), y3 = o2((I3) => {
246
+ I3.stopPropagation();
247
+ }), S3 = { ref: f5, id: a3, onClick: y3 }, R = n6 ? Oe : Fragment, g = n6 ? { unmount: d3 } : {}, T2 = K();
248
+ return l4.createElement(R, { ...g }, T2({ ourProps: S3, theirProps: i5, slot: u5, defaultTag: je, name: "Dialog.Panel" }));
249
+ }
250
+ var Je = "div";
251
+ function Ke2(e2, t3) {
252
+ let { transition: o4 = false, ...a3 } = e2, [{ dialogState: n6, unmount: i5 }] = O("Dialog.Backdrop"), p4 = n2({ open: n6 === 0 }), d3 = { ref: t3, "aria-hidden": true }, s5 = o4 ? Oe : Fragment, f5 = o4 ? { unmount: i5 } : {}, u5 = K();
253
+ return l4.createElement(s5, { ...f5 }, u5({ ourProps: d3, theirProps: a3, slot: p4, defaultTag: Je, name: "Dialog.Backdrop" }));
254
+ }
255
+ var Xe = "h2";
256
+ function Ve(e2, t3) {
257
+ let o4 = r(), { id: a3 = `headlessui-dialog-title-${o4}`, ...n6 } = e2, [{ dialogState: i5, setTitleId: p4 }] = O("Dialog.Title"), d3 = y(t3);
258
+ useEffect(() => (p4(a3), () => p4(null)), [a3, p4]);
259
+ let s5 = n2({ open: i5 === 0 }), f5 = { ref: d3, id: a3 };
260
+ return K()({ ourProps: f5, theirProps: n6, slot: s5, defaultTag: Xe, name: "Dialog.Title" });
261
+ }
262
+ var qe = Y($e);
263
+ var ze = Y(Ye);
264
+ Y(Ke2);
265
+ var Qe = Y(Ve);
266
+ var ht = Object.assign(qe, { Panel: ze, Title: Qe, Description: M });
267
+ var Modal = ({
268
+ onClose: close,
269
+ children,
270
+ visible = false,
271
+ closeOnOutsideClick = false
272
+ }) => {
273
+ const intl = useIntl();
274
+ const handleClose = () => {
275
+ if (closeOnOutsideClick && close) {
276
+ close();
277
+ }
278
+ };
279
+ return /* @__PURE__ */ jsx(Ke, { show: visible, children: /* @__PURE__ */ jsxs(ht, { onClose: handleClose, className: "relative z-50", children: [
280
+ /* @__PURE__ */ jsx(
281
+ Oe,
282
+ {
283
+ enter: "ease-out duration-200",
284
+ enterFrom: "opacity-0",
285
+ enterTo: "opacity-100",
286
+ leave: "ease-in duration-150",
287
+ leaveFrom: "opacity-100",
288
+ leaveTo: "opacity-0",
289
+ children: /* @__PURE__ */ jsx(
290
+ "div",
291
+ {
292
+ className: "fixed inset-0 bg-slate-950/60 backdrop-blur-sm",
293
+ "aria-hidden": "true"
294
+ }
295
+ )
296
+ }
297
+ ),
298
+ /* @__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(
299
+ Oe,
300
+ {
301
+ enter: "ease-out duration-200",
302
+ enterFrom: "opacity-0 scale-95 translate-y-4",
303
+ enterTo: "opacity-100 scale-100 translate-y-0",
304
+ leave: "ease-in duration-150",
305
+ leaveFrom: "opacity-100 scale-100 translate-y-0",
306
+ leaveTo: "opacity-0 scale-95 translate-y-4",
307
+ 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: [
308
+ /* @__PURE__ */ jsx("div", { className: "absolute top-0 right-0 pt-4 pr-4 sm:block", children: /* @__PURE__ */ jsxs(
309
+ "button",
310
+ {
311
+ id: "modal_close",
312
+ type: "button",
313
+ onClick: close,
314
+ 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",
315
+ children: [
316
+ /* @__PURE__ */ jsx("span", { className: "sr-only", children: intl.formatMessage({
317
+ id: "close",
318
+ defaultMessage: "Close"
319
+ }) }),
320
+ /* @__PURE__ */ jsx(
321
+ "svg",
322
+ {
323
+ className: "h-6 w-6",
324
+ xmlns: "http://www.w3.org/2000/svg",
325
+ fill: "none",
326
+ viewBox: "0 0 24 24",
327
+ stroke: "currentColor",
328
+ "aria-hidden": "true",
329
+ children: /* @__PURE__ */ jsx(
330
+ "path",
331
+ {
332
+ strokeLinecap: "round",
333
+ strokeLinejoin: "round",
334
+ strokeWidth: "2",
335
+ d: "M6 18L18 6M6 6l12 12"
336
+ }
337
+ )
338
+ }
339
+ )
340
+ ]
341
+ }
342
+ ) }),
343
+ children && l4.isValidElement(children) ? l4.cloneElement(children, {
344
+ close
345
+ }) : children
346
+ ] })
347
+ }
348
+ ) }) })
349
+ ] }) });
350
+ };
351
+ var Modal_default = Modal;
352
+ var ModalWrapper = ({ children }) => {
353
+ const [modalChildren, setChildren] = useState(null);
354
+ const [closeOnOutsideClick, setCloseOnOutsideClick] = useState(false);
355
+ const hideModal = () => setChildren(null);
356
+ const [onClose, setOnClose] = useState(() => hideModal);
357
+ const ctx = useMemo(() => {
358
+ const setModal = (newModalChildren, { closeOnOutsideClick: newCloseOnOutsideClick = false } = {}) => {
359
+ return new Promise((resolve) => {
360
+ if (!newModalChildren) {
361
+ resolve(true);
362
+ }
363
+ setCloseOnOutsideClick(newCloseOnOutsideClick);
364
+ setChildren(() => newModalChildren);
365
+ setOnClose(() => () => {
366
+ hideModal();
367
+ resolve(true);
368
+ });
369
+ });
370
+ };
371
+ return { setModal };
372
+ }, []);
373
+ return /* @__PURE__ */ jsxs(Fragment$1, { children: [
374
+ /* @__PURE__ */ jsx(
375
+ Modal_default,
376
+ {
377
+ visible: !!modalChildren,
378
+ onClose,
379
+ closeOnOutsideClick,
380
+ children: modalChildren
381
+ }
382
+ ),
383
+ /* @__PURE__ */ jsx(ModalContext_default.Provider, { value: ctx, children })
384
+ ] });
385
+ };
386
+ var ModalWrapper_default = ModalWrapper;
387
+
388
+ export { ModalWrapper_default, Modal_default };