@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.
- package/README.md +136 -16
- package/dist/chunk-3L6EZQ6P.js +135 -0
- package/dist/chunk-5WPFHQZN.js +388 -0
- package/dist/chunk-AE5LOZGH.js +3350 -0
- package/dist/{chunk-JAVEZY3Q.js → chunk-AOR2B5N5.js} +14 -5
- package/dist/chunk-DTJ2DTKS.js +314 -0
- package/dist/{chunk-2RTX42IE.js → chunk-E7BVYJ3R.js} +2 -2
- package/dist/{chunk-XHOCXPD5.js → chunk-F6LBNV3H.js} +1 -1
- package/dist/chunk-FDHXLNZQ.js +44 -0
- package/dist/{chunk-MSPWYMDY.js → chunk-H6G4UTZ5.js} +83 -48
- package/dist/{chunk-XJBPMIC4.js → chunk-HERLM47Z.js} +81 -56
- package/dist/chunk-HTPSKUXQ.js +22476 -0
- package/dist/{chunk-7PPOGX7R.js → chunk-I64TXIE7.js} +48 -11
- package/dist/{chunk-QNLGYFV7.js → chunk-IYKPRAWC.js} +4 -0
- package/dist/chunk-J23QSWDL.js +8 -0
- package/dist/{chunk-SRAAKMWY.js → chunk-JED6SHHG.js} +4 -2
- package/dist/chunk-KRIRF7F6.js +76 -0
- package/dist/chunk-OTXM2UCD.js +19 -0
- package/dist/chunk-QHR23GVH.js +1099 -0
- package/dist/chunk-VBO377AY.js +14 -0
- package/dist/{chunk-4VNS5WPM.js → chunk-WPLOTFGW.js} +7 -8
- package/dist/components/ui/form/ChoicesField.d.ts.map +1 -1
- package/dist/components/ui/form/index.d.ts +1 -0
- package/dist/components/ui/form/index.d.ts.map +1 -1
- package/dist/components/ui/index.d.ts +5 -0
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/form.js +1792 -27496
- package/dist/gql/operation-types.d.ts +20 -0
- package/dist/gql/operation-types.d.ts.map +1 -1
- package/dist/gql/schema-types.d.ts +1 -0
- package/dist/gql/schema-types.d.ts.map +1 -1
- package/dist/hooks.js +13 -6
- package/dist/modal.js +11 -78
- package/dist/modules/Auth/AuthContext.d.ts +9 -0
- package/dist/modules/Auth/AuthContext.d.ts.map +1 -0
- package/dist/modules/Auth/useAuth.d.ts +6 -0
- package/dist/modules/Auth/useAuth.d.ts.map +1 -0
- package/dist/modules/accounts.js +1 -1
- package/dist/modules/assortment.js +3 -3
- package/dist/modules/common/components/AppContext.d.ts.map +1 -1
- package/dist/modules/common/components/FormWrapper.d.ts.map +1 -1
- package/dist/modules/common/components/LocaleWrapper.d.ts +7 -0
- package/dist/modules/common/components/LocaleWrapper.d.ts.map +1 -0
- package/dist/modules/common/components/MediaAvatar.d.ts +6 -0
- package/dist/modules/common/components/MediaAvatar.d.ts.map +1 -0
- package/dist/modules/common/components/SelectOptions.d.ts +17 -0
- package/dist/modules/common/components/SelectOptions.d.ts.map +1 -0
- package/dist/modules/common/components/Table.d.ts +25 -0
- package/dist/modules/common/components/Table.d.ts.map +1 -0
- package/dist/modules/common/components/TableCell.d.ts +12 -0
- package/dist/modules/common/components/TableCell.d.ts.map +1 -0
- package/dist/modules/common/components/TableRow.d.ts +10 -0
- package/dist/modules/common/components/TableRow.d.ts.map +1 -0
- package/dist/modules/common/components/ThemeWrapper.d.ts.map +1 -1
- package/dist/modules/common/utils/sharedContext.d.ts +9 -0
- package/dist/modules/common/utils/sharedContext.d.ts.map +1 -0
- package/dist/modules/country.js +1 -1
- package/dist/modules/currency.js +1 -1
- package/dist/modules/delivery-provider.js +1 -1
- package/dist/modules/enrollment.js +1 -1
- package/dist/modules/event.js +1 -1
- package/dist/modules/filter.js +1 -1
- package/dist/modules/forms/lib/FormContext.d.ts.map +1 -1
- package/dist/modules/language.js +1 -1
- package/dist/modules/modal/hooks/useModal.d.ts.map +1 -1
- package/dist/modules/modal/utils/ModalContext.d.ts.map +1 -1
- package/dist/modules/order.js +1 -1
- package/dist/modules/payment-providers.js +1 -1
- package/dist/modules/product-review.js +3 -3
- package/dist/modules/product.js +4748 -7
- package/dist/modules/quotation.js +1 -1
- package/dist/modules/token.js +2 -2
- package/dist/modules/warehousing-providers.js +1 -1
- package/dist/modules/work.js +6 -10
- package/dist/plugins.js +1 -1
- package/dist/providers.js +8 -5
- package/dist/sdk/hooks.d.ts +3 -0
- package/dist/sdk/hooks.d.ts.map +1 -1
- package/dist/shims/admin-ui-plugins.js +1 -1
- package/dist/shims/apollo-client-react.js +1 -1
- package/dist/shims/apollo-client.js +1 -1
- package/dist/shims/next-head.js +1 -1
- package/dist/shims/next-image.js +1 -1
- package/dist/shims/next-link.js +1 -1
- package/dist/shims/next-router.js +1 -1
- package/dist/shims/react-dom-client.js +1 -1
- package/dist/shims/react-dom.js +1 -1
- package/dist/shims/react-hook-form.js +1 -1
- package/dist/shims/react-intl.js +1 -1
- package/dist/shims/react-jsx-runtime.js +1 -1
- package/dist/shims/react-toastify.js +1 -1
- package/dist/shims/react.js +1 -1
- package/dist/theme.js +1 -1
- package/dist/ui.js +3397 -3055
- package/out/403/index.html +2 -2
- package/out/404/index.html +2 -2
- package/out/404.html +2 -2
- package/out/423/index.html +2 -2
- package/out/500/index.html +2 -2
- package/out/_next/static/chunks/0-2b37ubdpy0o.js +7 -0
- package/out/_next/static/chunks/012cafv-4m7rj.js +807 -0
- package/out/_next/static/chunks/02dnhll1bce87.js +46 -0
- package/out/_next/static/chunks/02ptvddfjlsxb.js +1 -0
- package/out/_next/static/chunks/03ebenjfvoj8n.js +1 -0
- package/out/_next/static/chunks/03r347235l6c4.js +7 -0
- package/out/_next/static/chunks/05au-xyt__0f2.js +3 -0
- package/out/_next/static/chunks/05nn5xr3ufcsh.js +1 -0
- package/out/_next/static/chunks/05o_q7jg8wucs.js +44 -0
- package/out/_next/static/chunks/05scroolqe8fu.js +234 -0
- package/out/_next/static/chunks/072qxdqjtqvn9.js +11 -0
- package/out/_next/static/chunks/0752goe9_9g2s.js +110 -0
- package/out/_next/static/chunks/07e-sk6v9u-qh.js +807 -0
- package/out/_next/static/chunks/07evy5u8ldd1y.js +50 -0
- package/out/_next/static/chunks/083ylavob4a8d.js +3 -0
- package/out/_next/static/chunks/08jrw03_vxllg.js +54 -0
- package/out/_next/static/chunks/08pag0k09j2b3.js +807 -0
- package/out/_next/static/chunks/09n6h-_l73rez.js +13 -0
- package/out/_next/static/chunks/0_b5faks_mrvi.js +14 -0
- package/out/_next/static/chunks/0a_bg-ub3r2eo.js +60 -0
- package/out/_next/static/chunks/0aqxsjssb0dh9.js +21 -0
- package/out/_next/static/chunks/0aw4jxe6zcc0c.js +32 -0
- package/out/_next/static/chunks/0b0hrx3sbbs70.js +807 -0
- package/out/_next/static/chunks/0bg4_y1qh5y5h.js +47 -0
- package/out/_next/static/chunks/0bgz44wi1lidl.js +13 -0
- package/out/_next/static/chunks/0dcpvidzyamvk.js +100 -0
- package/out/_next/static/chunks/{19y4w6_d_qiou.js → 0dnh0kr83_tj0.js} +1 -1
- package/out/_next/static/chunks/0dxp17sbyy_dr.js +22 -0
- package/out/_next/static/chunks/0dxu94yin5gdn.js +35 -0
- package/out/_next/static/chunks/0e2c-jlh2q_eq.js +74 -0
- package/out/_next/static/chunks/0el7gr-83bm5j.js +3 -0
- package/out/_next/static/chunks/0f_ofo__wyqsp.js +22 -0
- package/out/_next/static/chunks/0gx9t6j5kx_ho.js +9 -0
- package/out/_next/static/chunks/0i9ymn9xxs0nx.js +18 -0
- package/out/_next/static/chunks/0iy11ws57hzzr.js +99 -0
- package/out/_next/static/chunks/0j8_uikfyrn1f.js +1 -0
- package/out/_next/static/chunks/0jeddko6bac8h.js +1 -0
- package/out/_next/static/chunks/0jzx7vxh13cpi.js +15 -0
- package/out/_next/static/chunks/0kody3217__os.js +16 -0
- package/out/_next/static/chunks/0kwo-m1-mo-s-.js +31 -0
- package/out/_next/static/chunks/0lp_pnq1t06sl.js +104 -0
- package/out/_next/static/chunks/0mez27zlo26ni.js +103 -0
- package/out/_next/static/chunks/0nj8vn3509oe-.js +9 -0
- package/out/_next/static/chunks/0np9pcbt6dmxe.js +25 -0
- package/out/_next/static/chunks/0o7k5vanq57ch.js +807 -0
- package/out/_next/static/chunks/0rqjr_lmrk4pz.js +5 -0
- package/out/_next/static/chunks/0swe0fkt4vyzn.js +136 -0
- package/out/_next/static/chunks/0u4st428hgv1v.js +27 -0
- package/out/_next/static/chunks/0u7--d8_-qyne.js +83 -0
- package/out/_next/static/chunks/0ubzi2s1spm4e.js +342 -0
- package/out/_next/static/chunks/0uecw_5mn0zvr.js +110 -0
- package/out/_next/static/chunks/0uxwblyj0htyb.js +1 -0
- package/out/_next/static/chunks/0uyhr7vs9ltp0.js +141 -0
- package/out/_next/static/chunks/0vr19nswhvt2-.js +14 -0
- package/out/_next/static/chunks/0vyvc19p87f_r.js +234 -0
- package/out/_next/static/chunks/0wznlnzc2xsbz.js +16 -0
- package/out/_next/static/chunks/0ycu-q8fcc8ta.js +1 -0
- package/out/_next/static/chunks/0ytserk6fuf71.js +175 -0
- package/out/_next/static/chunks/0zoum0jzrtu0s.js +145 -0
- package/out/_next/static/chunks/1-6s62fsl_z_7.js +126 -0
- package/out/_next/static/chunks/10b6et0qn-pa0.js +59 -0
- package/out/_next/static/chunks/13m7st62a61df.js +25 -0
- package/out/_next/static/chunks/13u_a5l2xngm4.js +1 -0
- package/out/_next/static/chunks/15vz50rks0o2-.js +238 -0
- package/out/_next/static/chunks/1647yxi4ymq0z.js +14 -0
- package/out/_next/static/chunks/16hd7xvkocqxs.js +807 -0
- package/out/_next/static/chunks/16t18hhd4ax36.js +2 -0
- package/out/_next/static/chunks/17wle25pg9jkp.js +11 -0
- package/out/_next/static/chunks/18juy_eauk94g.js +58 -0
- package/out/_next/static/chunks/19eflki8bmivb.js +81 -0
- package/out/_next/static/chunks/19eu5d-wm2hfr.js +23 -0
- package/out/_next/static/chunks/19izcjxrrapb3.js +9 -0
- package/out/_next/static/chunks/1_jbj-c1d2606.js +21 -0
- package/out/_next/static/chunks/1_pwqdjxb6oou.js +226 -0
- package/out/_next/static/chunks/1bftmuhck_-7b.js +1 -0
- package/out/_next/static/chunks/1bww_2og01jxh.js +807 -0
- package/out/_next/static/chunks/1c0cemuv_tf6i.js +16 -0
- package/out/_next/static/chunks/1c4a2qxtb3r4_.js +16 -0
- package/out/_next/static/chunks/1cjd95y23a9qx.js +1 -0
- package/out/_next/static/chunks/1cy-2yb5j5_9b.js +157 -0
- package/out/_next/static/chunks/1dkv555kaccbl.js +13 -0
- package/out/_next/static/chunks/1dt9_bzfioi8a.js +24 -0
- package/out/_next/static/chunks/1fd7ewfb7bi_g.js +234 -0
- package/out/_next/static/chunks/1gncrqljnmqjn.js +43 -0
- package/out/_next/static/chunks/1iewktf-9h_n8.js +15 -0
- package/out/_next/static/chunks/1l7p7exnzd0c2.js +12 -0
- package/out/_next/static/chunks/1nqu3ymv6lgev.js +3 -0
- package/out/_next/static/chunks/1o_8g-kpuqi9h.js +1 -0
- package/out/_next/static/chunks/1oent0-9-0rgb.js +20 -0
- package/out/_next/static/chunks/1og09fg689_nc.js +180 -0
- package/out/_next/static/chunks/1pj279k5ntty3.js +13 -0
- package/out/_next/static/chunks/1q_sewe1wbxsk.js +54 -0
- package/out/_next/static/chunks/1qvs4gd4rbhb2.js +15 -0
- package/out/_next/static/chunks/1rtv3c_klo0jk.js +1 -0
- package/out/_next/static/chunks/1sdqr2_r6o46f.js +16 -0
- package/out/_next/static/chunks/1vti949e9wuhz.js +15 -0
- package/out/_next/static/chunks/1x-yucftdml28.js +1 -0
- package/out/_next/static/chunks/1ylgjha1c0ua_.js +124 -0
- package/out/_next/static/chunks/1yp98n-n4gxwy.js +15 -0
- package/out/_next/static/chunks/1zcm_9oew7412.js +14 -0
- package/out/_next/static/chunks/2-e0d1qpp7rk9.js +14 -0
- package/out/_next/static/chunks/20ubrczdsehfm.js +879 -0
- package/out/_next/static/chunks/23m--gc-gjenm.js +3 -0
- package/out/_next/static/chunks/24-pobk4qjjvp.js +3 -0
- package/out/_next/static/chunks/24jptulqn322i.js +15 -0
- package/out/_next/static/chunks/24jyi7e2pq4gy.js +15 -0
- package/out/_next/static/chunks/26eux546aoag5.js +58 -0
- package/out/_next/static/chunks/270ua9t85a7ev.js +5 -0
- package/out/_next/static/chunks/28r_j2kquxrjn.js +807 -0
- package/out/_next/static/chunks/2_ccruvok3u8j.js +16 -0
- package/out/_next/static/chunks/2_ojfjgg8do9t.js +1 -0
- package/out/_next/static/chunks/2aj5aq_c0b4r_.js +13 -0
- package/out/_next/static/chunks/2ba3n9zx9e9q9.js +807 -0
- package/out/_next/static/chunks/2d-hxb31pgpn7.js +13 -0
- package/out/_next/static/chunks/2df2cqwidgpan.js +15 -0
- package/out/_next/static/chunks/2djnsowjy3p8y.js +1 -0
- package/out/_next/static/chunks/2dyj8q92_k5el.js +708 -0
- package/out/_next/static/chunks/2e0k9dt1emjfm.js +1 -0
- package/out/_next/static/chunks/2e3gba1n-yyuj.js +15 -0
- package/out/_next/static/chunks/2e_p1vqr0g_-_.js +7 -0
- package/out/_next/static/chunks/2e_te6sbs_5uw.js +1 -0
- package/out/_next/static/chunks/2f16josk9b_cl.js +8 -0
- package/out/_next/static/chunks/2fo2ki1egxbah.js +39 -0
- package/out/_next/static/chunks/2g8gzs8wpsofk.js +2 -0
- package/out/_next/static/chunks/2gh355-kh19zx.js +13 -0
- package/out/_next/static/chunks/2gr4t5xe0atdr.js +15 -0
- package/out/_next/static/chunks/2ib6fee-nqe-z.js +23 -0
- package/out/_next/static/chunks/2kjux30i3gg-c.js +5 -0
- package/out/_next/static/chunks/2ll_mqee86g8c.js +1 -0
- package/out/_next/static/chunks/2lx_iig9xewfj.js +52 -0
- package/out/_next/static/chunks/2lylr4-3tu1_t.js +15 -0
- package/out/_next/static/chunks/2n1v8ph2nt43w.js +17 -0
- package/out/_next/static/chunks/2o9hdz0gk1-s7.js +165 -0
- package/out/_next/static/chunks/2oadogfqpak51.js +1 -0
- package/out/_next/static/chunks/2oogwntgnu9rf.js +17 -0
- package/out/_next/static/chunks/2p4e3kh8sa8iq.js +13 -0
- package/out/_next/static/chunks/2q-mpau-4gsvd.js +1 -0
- package/out/_next/static/chunks/2rddaar-ns45d.js +116 -0
- package/out/_next/static/chunks/2s3qhuh87mu_w.js +126 -0
- package/out/_next/static/chunks/2s6u8274_jzk2.js +105 -0
- package/out/_next/static/chunks/2skfzjx2g9hkk.js +134 -0
- package/out/_next/static/chunks/2u6jwsqz0uhes.js +24 -0
- package/out/_next/static/chunks/2v4k4vpb2id7m.js +44 -0
- package/out/_next/static/chunks/2xctb084h1lyg.js +329 -0
- package/out/_next/static/chunks/2xgpwzpd6-tdb.js +234 -0
- package/out/_next/static/chunks/3-soz24u9483h.js +15 -0
- package/out/_next/static/chunks/30_ns6urg1dkn.js +41 -0
- package/out/_next/static/chunks/30nxkqu5mcga3.js +1 -0
- package/out/_next/static/chunks/{0gurfn3nhm859.js → 313i1x81q2xj1.js} +1 -1
- package/out/_next/static/chunks/31qwglme02a_r.js +807 -0
- package/out/_next/static/chunks/31sk60zzj3bc5.js +17 -0
- package/out/_next/static/chunks/325a7n__tfxy_.js +61 -0
- package/out/_next/static/chunks/33emlry70k-lv.js +2 -0
- package/out/_next/static/chunks/33v8la4hkia7j.js +1 -0
- package/out/_next/static/chunks/34ar-34flu6bu.js +43 -0
- package/out/_next/static/chunks/34z48lfdm9u0l.js +9 -0
- package/out/_next/static/chunks/351jscvbk_wb9.js +13 -0
- package/out/_next/static/chunks/357odtev0t245.js +59 -0
- package/out/_next/static/chunks/360g4b1clnt45.js +142 -0
- package/out/_next/static/chunks/360uyru28azf6.js +20 -0
- package/out/_next/static/chunks/366apf6d0xh2u.js +30 -0
- package/out/_next/static/chunks/36_zbuqpk5cpj.js +14 -0
- package/out/_next/static/chunks/36aqs7u7s-lb1.js +119 -0
- package/out/_next/static/chunks/36beon3q8orx2.js +1 -0
- package/out/_next/static/chunks/37703j9_zf5_h.js +13 -0
- package/out/_next/static/chunks/37rwzuocwsv_k.js +16 -0
- package/out/_next/static/chunks/37w6b3h04uc4c.js +19 -0
- package/out/_next/static/chunks/38ffn8gazqz8_.js +3 -0
- package/out/_next/static/chunks/38xse6_r51yqp.js +234 -0
- package/out/_next/static/chunks/39s8xbnm9f08v.js +14 -0
- package/out/_next/static/chunks/39x-p8r_sl0ng.js +15 -0
- package/out/_next/static/chunks/39zisxvmik0t_.js +34 -0
- package/out/_next/static/chunks/3_97tge0xvvon.js +11 -0
- package/out/_next/static/chunks/3aw-ri7876ngd.js +39 -0
- package/out/_next/static/chunks/3bv7gi3o6-41h.js +11 -0
- package/out/_next/static/chunks/3cdfuacs4_0d-.js +1 -0
- package/out/_next/static/chunks/3cxpx38ycu7u2.js +9 -0
- package/out/_next/static/chunks/3d1ofcqmlbg-5.js +52 -0
- package/out/_next/static/chunks/3e3i3qqkv_my7.js +15 -0
- package/out/_next/static/chunks/3ex71q3pp_ekc.js +247 -0
- package/out/_next/static/chunks/3g1lpkudwo8kg.js +1 -0
- package/out/_next/static/chunks/3h68t22714to5.js +3 -0
- package/out/_next/static/chunks/3jpzhwqgdnobq.js +103 -0
- package/out/_next/static/chunks/3jxuqt_2-j_uc.js +18 -0
- package/out/_next/static/chunks/3kqqv33l7ssn0.js +16 -0
- package/out/_next/static/chunks/3l-9xxd1i1sya.js +1 -0
- package/out/_next/static/chunks/3mancxzz8c7hl.js +51 -0
- package/out/_next/static/chunks/3mq2s9rfy78je.js +27 -0
- package/out/_next/static/chunks/3om1fkw-lrmng.js +1 -0
- package/out/_next/static/chunks/3oynij37wfjb2.js +119 -0
- package/out/_next/static/chunks/3pbyo5kkko3wh.js +1 -0
- package/out/_next/static/chunks/3pjja1obml896.js +15 -0
- package/out/_next/static/chunks/3qaiz-jwi7q2x.js +1 -0
- package/out/_next/static/chunks/3rh3nigvg06yu.js +337 -0
- package/out/_next/static/chunks/3rppjab6j3_k9.js +1 -0
- package/out/_next/static/chunks/3t_3vlnk1ntkb.js +95 -0
- package/out/_next/static/chunks/3tpo2ho54vtth.js +807 -0
- package/out/_next/static/chunks/3tqspv0ggt8j0.js +17 -0
- package/out/_next/static/chunks/3um54w4ca27n_.js +17 -0
- package/out/_next/static/chunks/3vet2a9q9rf2c.js +61 -0
- package/out/_next/static/chunks/3vjgbl76cgrmt.js +1 -0
- package/out/_next/static/chunks/3vz3gqmojh7sx.js +4 -0
- package/out/_next/static/chunks/3w2e5xa061qou.js +9 -0
- package/out/_next/static/chunks/3w9xrlkiztuwi.js +23 -0
- package/out/_next/static/chunks/3x4xfy_av3o0d.js +1 -0
- package/out/_next/static/chunks/3x9k13s5fam4j.js +22 -0
- package/out/_next/static/chunks/{3a7wm2331v13r.js → 3xmtbqm0gddn8.js} +3 -3
- package/out/_next/static/chunks/3z5uyt9mc9_fd.js +2 -0
- package/out/_next/static/chunks/3zlwp96x3hoy9.js +16 -0
- package/out/_next/static/chunks/3zr_sumh1g7il.js +22 -0
- package/out/_next/static/chunks/40jl8yfmy6tp6.js +234 -0
- package/out/_next/static/chunks/40xhwnc_48o73.js +297 -0
- package/out/_next/static/chunks/41-iysd7qkyg1.js +16 -0
- package/out/_next/static/chunks/4105a9rejv_p4.js +1 -0
- package/out/_next/static/chunks/41e2wlkp9_pvk.js +28 -0
- package/out/_next/static/chunks/41g7mv3yuhz6k.js +68 -0
- package/out/_next/static/chunks/43jyzccx6x0lw.js +1 -0
- package/out/_next/static/chunks/43vuxh3wdo567.js +10 -0
- package/out/_next/static/chunks/44daaafswok67.css +1 -0
- package/out/_next/static/chunks/452fv7r-tie6t.js +1 -0
- package/out/_next/static/chunks/{164wr2-2gfnlb.js → 457j51b69odrw.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3pgmc-lv74ewz.js → turbopack-02vysfmmbped5.js} +1 -1
- package/out/_next/static/chunks/{turbopack-1o1rar8ouv6h9.js → turbopack-03fj2scz_09ul.js} +1 -1
- package/out/_next/static/chunks/turbopack-07wtduwtfqsl_.js +1 -0
- package/out/_next/static/chunks/turbopack-0_zihh5ueb_wj.js +1 -0
- package/out/_next/static/chunks/{turbopack-2yekm5ij2g-aw.js → turbopack-0b8-ww_z1vgvn.js} +1 -1
- package/out/_next/static/chunks/{turbopack-431y1sh-m_0mp.js → turbopack-0beql_u-wc_3e.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3_mmmbs60vr14.js → turbopack-0dxdn-gyy3_qj.js} +1 -1
- package/out/_next/static/chunks/turbopack-0hqw81t-42tbj.js +1 -0
- package/out/_next/static/chunks/turbopack-0jsdrr-oq87lm.js +1 -0
- package/out/_next/static/chunks/turbopack-0jxa33q3ikjqg.js +1 -0
- package/out/_next/static/chunks/turbopack-0k9zths9zte_8.js +1 -0
- package/out/_next/static/chunks/turbopack-0pa42wgwsv141.js +1 -0
- package/out/_next/static/chunks/{turbopack-19vr9o5829d-f.js → turbopack-0te09_mp07k1x.js} +1 -1
- package/out/_next/static/chunks/turbopack-0xsxl45thi-35.js +1 -0
- package/out/_next/static/chunks/{turbopack-2fuk9oepxr5n0.js → turbopack-10-8q-q2zomxa.js} +1 -1
- package/out/_next/static/chunks/turbopack-142w-8owzbg7_.js +1 -0
- package/out/_next/static/chunks/{turbopack-23u97wxsuqiqb.js → turbopack-18tezl3vagvil.js} +1 -1
- package/out/_next/static/chunks/turbopack-1_1a-_v7vml72.js +1 -0
- package/out/_next/static/chunks/{turbopack-1zn9gl4fpayoc.js → turbopack-1_k-7s9lmntml.js} +1 -1
- package/out/_next/static/chunks/turbopack-1a47di2tss4e-.js +1 -0
- package/out/_next/static/chunks/turbopack-1c60gn7g-uduw.js +1 -0
- package/out/_next/static/chunks/turbopack-1e1yk3pkaodr5.js +1 -0
- package/out/_next/static/chunks/{turbopack-3v4nxmdavly34.js → turbopack-1jtk1c9w2axlk.js} +1 -1
- package/out/_next/static/chunks/turbopack-1k2ukl9u-7ovo.js +1 -0
- package/out/_next/static/chunks/{turbopack-39nctu3yv9iv4.js → turbopack-1lkz81ntcp1zv.js} +1 -1
- package/out/_next/static/chunks/{turbopack-2dk8ur1fvwxzj.js → turbopack-1pkw_r5dvv20d.js} +1 -1
- package/out/_next/static/chunks/turbopack-1pu2s2k3szn0s.js +1 -0
- package/out/_next/static/chunks/turbopack-1rxz_6lqtls5b.js +1 -0
- package/out/_next/static/chunks/turbopack-1uf07pugrv1fy.js +1 -0
- package/out/_next/static/chunks/turbopack-1uobzdn2r7ebw.js +1 -0
- package/out/_next/static/chunks/{turbopack-1od_4a7nj02l4.js → turbopack-1wv610ktbtzka.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3w26eu86co02z.js → turbopack-1wz4te1fj20zp.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0s4b5r_1d8yqv.js → turbopack-1zi2ss8eiiyfx.js} +1 -1
- package/out/_next/static/chunks/turbopack-207p7bsc5wea7.js +1 -0
- package/out/_next/static/chunks/{turbopack-2ga09m38zacev.js → turbopack-21zngkzhonfcm.js} +1 -1
- package/out/_next/static/chunks/turbopack-23y20ll8n-nwk.js +1 -0
- package/out/_next/static/chunks/{turbopack-19e_bi5k2rqyy.js → turbopack-26wtylwa4_s95.js} +1 -1
- package/out/_next/static/chunks/turbopack-27l7xplqpifq6.js +1 -0
- package/out/_next/static/chunks/turbopack-285oyoobdo21x.js +1 -0
- package/out/_next/static/chunks/turbopack-28b0zyhf3uqaq.js +1 -0
- package/out/_next/static/chunks/{turbopack-0ga3wfg-oyyst.js → turbopack-28m_9eg3draop.js} +1 -1
- package/out/_next/static/chunks/{turbopack-23nr2ioaqw90j.js → turbopack-29h9fgcal-fng.js} +1 -1
- package/out/_next/static/chunks/turbopack-2a84kh6nmf_78.js +1 -0
- package/out/_next/static/chunks/turbopack-2b73dx1bsdg5f.js +1 -0
- package/out/_next/static/chunks/{turbopack-2u_328z53ed9p.js → turbopack-2bslf96g-y1vv.js} +1 -1
- package/out/_next/static/chunks/turbopack-2d-2wg8-_f9-v.js +1 -0
- package/out/_next/static/chunks/{turbopack-30qkgccwlkv7n.js → turbopack-2ez-mfb63qve0.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0m3lvbvrn923g.js → turbopack-2g7u83j1wlswz.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3uj40sz7i7jg0.js → turbopack-2m4gns1_64-7_.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0anbjm4c1j4u4.js → turbopack-2n4ba44aafc4x.js} +1 -1
- package/out/_next/static/chunks/turbopack-2t3zb47_j-ahd.js +1 -0
- package/out/_next/static/chunks/{turbopack-2rz_y4ejrvafp.js → turbopack-2tf6rdek5zvm6.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0a3j0ezn8okfg.js → turbopack-2vb0p2htqo4nd.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0sihqflu4qpvw.js → turbopack-30-bi-9_7jd01.js} +1 -1
- package/out/_next/static/chunks/turbopack-32pjcar5xpn1o.js +1 -0
- package/out/_next/static/chunks/{turbopack-3cv3hgsoo_z1k.js → turbopack-3a3skasosq9-4.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0w2rzh4i3j2og.js → turbopack-3d2rk8-5wcgrs.js} +1 -1
- package/out/_next/static/chunks/{turbopack-4166pmk5_y_4x.js → turbopack-3i91g2le3tkne.js} +1 -1
- package/out/_next/static/chunks/turbopack-3j4bdo8-ldea5.js +1 -0
- package/out/_next/static/chunks/{turbopack-2qbfd_-7v5dbo.js → turbopack-3m47jybfw85nc.js} +1 -1
- package/out/_next/static/chunks/{turbopack-24ylsu2au7hg1.js → turbopack-3yfksvslbm14s.js} +1 -1
- package/out/_next/static/chunks/{turbopack-21vayl2_q4r5u.js → turbopack-414roft8p92hp.js} +1 -1
- package/out/_next/static/chunks/{turbopack-1r_0o22d_puxo.js → turbopack-424slv1lqxh_5.js} +1 -1
- package/out/_next/static/chunks/turbopack-444yt6auyioxn.js +1 -0
- package/out/_next/static/{4-xf4wPkZc5rcBq3jUTDg → z5KrmhOz2mLscINN5EbUf}/_buildManifest.js +66 -62
- package/out/_offline/index.html +2 -2
- package/out/account/forgot-password/index.html +2 -2
- package/out/account/index.html +2 -2
- package/out/assortments/AssortmentDetailPage/index.html +2 -2
- package/out/assortments/index.html +2 -2
- package/out/assortments/new/index.html +2 -2
- package/out/copilot/index.html +2 -2
- package/out/country/CountryDetailPage/index.html +2 -2
- package/out/country/index.html +2 -2
- package/out/country/new/index.html +2 -2
- package/out/currency/CurrencyDetailPage/index.html +2 -2
- package/out/currency/index.html +2 -2
- package/out/currency/new/index.html +2 -2
- package/out/delivery-provider/DeliveryProviderDetailPage/index.html +2 -2
- package/out/delivery-provider/index.html +2 -2
- package/out/delivery-provider/new/index.html +2 -2
- package/out/enrollments/EnrollmentDetailPage/index.html +2 -2
- package/out/enrollments/index.html +2 -2
- package/out/events/EventDetailPage/index.html +2 -2
- package/out/events/index.html +2 -2
- package/out/exports/index.html +2 -2
- package/out/ext/[[...slug]]/index.html +11 -0
- package/out/external/index.html +2 -2
- package/out/filters/FilterDetailPage/index.html +2 -2
- package/out/filters/index.html +2 -2
- package/out/filters/new/index.html +2 -2
- package/out/index.html +2 -2
- package/out/install/index.html +2 -2
- package/out/language/LanguageDetailPage/index.html +2 -2
- package/out/language/index.html +2 -2
- package/out/language/new/index.html +2 -2
- package/out/log-in/index.html +2 -2
- package/out/orders/OrderDetailPage/index.html +2 -2
- package/out/orders/index.html +2 -2
- package/out/payment-provider/PaymentProviderDetailPage/index.html +2 -2
- package/out/payment-provider/index.html +2 -2
- package/out/payment-provider/new/index.html +2 -2
- package/out/products/ProductDetailPage/index.html +2 -2
- package/out/products/index.html +2 -2
- package/out/products/new/index.html +2 -2
- package/out/quotations/QuotationDetailPage/index.html +2 -2
- package/out/quotations/index.html +2 -2
- package/out/reset-password/index.html +2 -2
- package/out/sign-up/index.html +2 -2
- package/out/styleguide/index.html +2 -2
- package/out/tokens/TokenDetailPage/index.html +2 -2
- package/out/tokens/index.html +2 -2
- package/out/users/UserDetailPage/index.html +2 -2
- package/out/users/index.html +2 -2
- package/out/users/new/index.html +2 -2
- package/out/verify-email/index.html +2 -2
- package/out/warehousing-provider/WarehousingProviderDetailPage/index.html +2 -2
- package/out/warehousing-provider/index.html +2 -2
- package/out/warehousing-provider/new/index.html +2 -2
- package/out/works/WorkDetailPage/index.html +2 -2
- package/out/works/WorkQueueListView/index.html +2 -2
- package/out/works/index.html +2 -2
- package/out/works/management/index.html +2 -2
- package/package.json +130 -26
- package/src/modules/accounts/index.ts +34 -0
- package/src/modules/assortment/index.ts +29 -0
- package/src/modules/copilot/index.ts +4 -0
- package/src/modules/country/index.ts +5 -0
- package/src/modules/currency/index.ts +5 -0
- package/src/modules/delivery-provider/index.ts +7 -0
- package/src/modules/enrollment/index.ts +6 -0
- package/src/modules/event/index.ts +3 -0
- package/src/modules/filter/index.ts +13 -0
- package/src/modules/language/index.ts +5 -0
- package/src/modules/order/index.ts +8 -0
- package/src/modules/payment-providers/index.ts +7 -0
- package/src/modules/product/index.ts +49 -0
- package/src/modules/product-review/index.ts +6 -0
- package/src/modules/quotation/index.ts +6 -0
- package/src/modules/token/index.ts +3 -0
- package/src/modules/warehousing-providers/index.ts +7 -0
- package/src/modules/work/index.ts +7 -0
- package/src/sdk/README.md +226 -0
- package/src/sdk/form-entry.test.mjs +11 -0
- package/src/sdk/hooks.ts +15 -0
- package/src/sdk/modal.ts +6 -0
- package/src/sdk/plugin-build.mjs +97 -0
- package/src/sdk/plugin-build.test.mjs +46 -0
- package/src/sdk/plugin-runtime.cjs +66 -0
- package/src/sdk/plugin-runtime.d.mts +11 -0
- package/src/sdk/plugin-runtime.mjs +27 -0
- package/src/sdk/plugin-runtime.test.mjs +32 -0
- package/src/sdk/plugins.mjs +17 -0
- package/src/sdk/plugins.ts +105 -0
- package/src/sdk/providers.ts +4 -0
- package/src/sdk/shared-context.test.mjs +40 -0
- package/src/sdk/shims/admin-ui-plugins.ts +3 -0
- package/src/sdk/shims/apollo-client-react.ts +3 -0
- package/src/sdk/shims/apollo-client.ts +3 -0
- package/src/sdk/shims/host.ts +61 -0
- package/src/sdk/shims/next-head.ts +3 -0
- package/src/sdk/shims/next-image.ts +3 -0
- package/src/sdk/shims/next-link.ts +3 -0
- package/src/sdk/shims/next-router.ts +3 -0
- package/src/sdk/shims/react-dom-client.ts +3 -0
- package/src/sdk/shims/react-dom.ts +3 -0
- package/src/sdk/shims/react-hook-form.ts +3 -0
- package/src/sdk/shims/react-intl.ts +3 -0
- package/src/sdk/shims/react-jsx-runtime.ts +3 -0
- package/src/sdk/shims/react-toastify.ts +3 -0
- package/src/sdk/shims/react.ts +3 -0
- package/src/sdk/tailwind-preset.mjs +94 -0
- package/src/sdk/theme.ts +61 -0
- package/src/styles/globals.css +291 -0
- package/dist/chunk-F2TCVEQX.js +0 -514
- package/dist/chunk-KCN7DDPH.js +0 -1116
- package/dist/chunk-RORNAN2J.js +0 -12
- package/dist/chunk-RVG6IOFC.js +0 -11
- package/dist/chunk-YZGQJJCD.js +0 -37
- package/out/_next/static/chunks/0-mytn4v5bu5h.js +0 -12
- package/out/_next/static/chunks/0-uh133eqcz6n.js +0 -60
- package/out/_next/static/chunks/0060t3kg_i0lf.js +0 -10
- package/out/_next/static/chunks/0186bg0b60cid.js +0 -13
- package/out/_next/static/chunks/018n9pot9f5uf.js +0 -90
- package/out/_next/static/chunks/01h4ept18s-ns.js +0 -807
- package/out/_next/static/chunks/02cdoh48sex9m.js +0 -1
- package/out/_next/static/chunks/03-z1yl608b56.js +0 -807
- package/out/_next/static/chunks/030bzkeke0edz.js +0 -7
- package/out/_next/static/chunks/037vsiy28s6dg.js +0 -41
- package/out/_next/static/chunks/049clkw76lm67.js +0 -16
- package/out/_next/static/chunks/04bb4k67x398t.js +0 -1
- package/out/_next/static/chunks/057evs7qr5y-t.js +0 -17
- package/out/_next/static/chunks/05qpw6q8uiz3l.js +0 -15
- package/out/_next/static/chunks/062myzj-2ehu-.js +0 -52
- package/out/_next/static/chunks/06l-rqlf4bp81.js +0 -108
- package/out/_next/static/chunks/06tejx8u1_0kg.js +0 -1
- package/out/_next/static/chunks/07nffhr51vke6.js +0 -59
- package/out/_next/static/chunks/08tyybz20igty.js +0 -15
- package/out/_next/static/chunks/0989pcuje2j55.js +0 -66
- package/out/_next/static/chunks/0_02skyivjqh6.js +0 -14
- package/out/_next/static/chunks/0_ngi84ak813x.js +0 -288
- package/out/_next/static/chunks/0bc02hascgv7z.js +0 -1
- package/out/_next/static/chunks/0c9ruqj2wf3n6.js +0 -905
- package/out/_next/static/chunks/0cblqqpscyy7w.js +0 -12
- package/out/_next/static/chunks/0cotrfgh1n2cx.js +0 -346
- package/out/_next/static/chunks/0d6_opzy2p6ik.js +0 -807
- package/out/_next/static/chunks/0e2e0srgvkzk9.js +0 -144
- package/out/_next/static/chunks/0g6hr3dmen536.js +0 -7
- package/out/_next/static/chunks/0ht2wu-61vq9v.js +0 -807
- package/out/_next/static/chunks/0ibp5q64hnd88.js +0 -18
- package/out/_next/static/chunks/0ichlp5c67dko.js +0 -12
- package/out/_next/static/chunks/0iui_zfuxfa45.js +0 -12
- package/out/_next/static/chunks/0k6z6zl_zxqp7.js +0 -13
- package/out/_next/static/chunks/0kkky_8vhaeaz.js +0 -227
- package/out/_next/static/chunks/0lutmpv07icdg.js +0 -8
- package/out/_next/static/chunks/0mzh9-epgepi1.js +0 -119
- package/out/_next/static/chunks/0n0uzfbkfb7e5.js +0 -12
- package/out/_next/static/chunks/0nhczsa2mm354.js +0 -16
- package/out/_next/static/chunks/0pecsk3c09b19.js +0 -3
- package/out/_next/static/chunks/0prynyrvhm7ef.js +0 -2
- package/out/_next/static/chunks/0q-14a7j6afh3.js +0 -1
- package/out/_next/static/chunks/0razrbxeai797.js +0 -807
- package/out/_next/static/chunks/0ryqvctymlr3k.js +0 -12
- package/out/_next/static/chunks/0se09klbk8drd.js +0 -68
- package/out/_next/static/chunks/0sh5256hzmj3b.js +0 -14
- package/out/_next/static/chunks/0srpqs12m-bwy.js +0 -13
- package/out/_next/static/chunks/0ukyxgmnqos6o.js +0 -1
- package/out/_next/static/chunks/0uv4d5f9o8wu1.js +0 -10
- package/out/_next/static/chunks/0vls1lbu_rh78.js +0 -342
- package/out/_next/static/chunks/0vx_1vxljh4tn.js +0 -13
- package/out/_next/static/chunks/0vxe9bw7ffqy2.js +0 -15
- package/out/_next/static/chunks/0w0zigi7aws2m.js +0 -1
- package/out/_next/static/chunks/0w2zoz_fn_wha.js +0 -137
- package/out/_next/static/chunks/0xuevvy5i5d12.js +0 -138
- package/out/_next/static/chunks/0xxvsq70e4xn0.js +0 -1
- package/out/_next/static/chunks/0yxc1yy1eq4u3.js +0 -149
- package/out/_next/static/chunks/1-uz_5-063kh9.js +0 -188
- package/out/_next/static/chunks/10h7lznd10mmp.js +0 -384
- package/out/_next/static/chunks/10os1s66nimmi.js +0 -110
- package/out/_next/static/chunks/12_5-baf13q49.js +0 -195
- package/out/_next/static/chunks/12qzh85d5on4y.js +0 -44
- package/out/_next/static/chunks/12ukdi5bzlbeo.js +0 -596
- package/out/_next/static/chunks/1398hevtpl_69.js +0 -1
- package/out/_next/static/chunks/13qk8ukzu1snm.js +0 -288
- package/out/_next/static/chunks/16ey81skn09dz.js +0 -1
- package/out/_next/static/chunks/18kae_yjyhjwf.js +0 -16
- package/out/_next/static/chunks/1_quktgfhf40v.js +0 -31
- package/out/_next/static/chunks/1aegvtb5jv57q.js +0 -12
- package/out/_next/static/chunks/1cgxgd2cf8u3j.js +0 -157
- package/out/_next/static/chunks/1cp4-dvxowp4c.js +0 -24
- package/out/_next/static/chunks/1d951b6ed8oqn.js +0 -110
- package/out/_next/static/chunks/1d_puhcn8lg6q.js +0 -51
- package/out/_next/static/chunks/1drrou5kp4qdz.js +0 -1
- package/out/_next/static/chunks/1e4_28-3u5o85.js +0 -30
- package/out/_next/static/chunks/1f3mflnvp8_7-.js +0 -31
- package/out/_next/static/chunks/1f5-j4f3irx0j.js +0 -147
- package/out/_next/static/chunks/1fzbon-ih4_3j.js +0 -1
- package/out/_next/static/chunks/1g57y7cq7tjcb.js +0 -9
- package/out/_next/static/chunks/1g8f6jrb9cp9v.js +0 -13
- package/out/_next/static/chunks/1gksg35fivk0-.js +0 -224
- package/out/_next/static/chunks/1gy9ae4fpd6jm.js +0 -17
- package/out/_next/static/chunks/1hq9yt63076pk.js +0 -16
- package/out/_next/static/chunks/1ikm9qcx--k3u.js +0 -807
- package/out/_next/static/chunks/1izpxynqp99t4.js +0 -193
- package/out/_next/static/chunks/1j2ko85jp-5wy.js +0 -807
- package/out/_next/static/chunks/1k-cn_5ey1u62.js +0 -15
- package/out/_next/static/chunks/1k0mvn915uz76.js +0 -14
- package/out/_next/static/chunks/1l4snbkce_jb6.js +0 -15
- package/out/_next/static/chunks/1lbsdlf5h6ojc.js +0 -16
- package/out/_next/static/chunks/1mwvnv71bl7mc.js +0 -1
- package/out/_next/static/chunks/1n7i2rp59o9o8.js +0 -384
- package/out/_next/static/chunks/1pklei2ds10d2.js +0 -66
- package/out/_next/static/chunks/1pxor-3_vf3du.js +0 -31
- package/out/_next/static/chunks/1qp68765j1aiv.js +0 -61
- package/out/_next/static/chunks/1r-cvj3mpr-7x.js +0 -87
- package/out/_next/static/chunks/1sivy8bkkmwxl.js +0 -5
- package/out/_next/static/chunks/1vk6h4qps69vq.js +0 -12
- package/out/_next/static/chunks/1vx8_u7-f7q8u.js +0 -28
- package/out/_next/static/chunks/1weq9keqxiqpy.js +0 -73
- package/out/_next/static/chunks/1wvicoevgxhkk.js +0 -14
- package/out/_next/static/chunks/1ziicn0eb_yji.js +0 -16
- package/out/_next/static/chunks/1zza9faw4t3b_.js +0 -46
- package/out/_next/static/chunks/1zzpf1xbmchcj.js +0 -132
- package/out/_next/static/chunks/2-4ng9fxftmld.js +0 -1
- package/out/_next/static/chunks/201rx84kyo8ag.js +0 -1
- package/out/_next/static/chunks/20rtv8f0brb0n.js +0 -43
- package/out/_next/static/chunks/21a19t2pe0fpg.js +0 -81
- package/out/_next/static/chunks/21o2yfegozc0m.js +0 -16
- package/out/_next/static/chunks/22w2ovaffle-i.js +0 -21
- package/out/_next/static/chunks/234pfdqctlnyt.js +0 -100
- package/out/_next/static/chunks/25d8wr34sbm__.js +0 -15
- package/out/_next/static/chunks/275o3ly3svw4p.js +0 -1
- package/out/_next/static/chunks/28z1z7in8-kbg.js +0 -26
- package/out/_next/static/chunks/29w1exzy704_7.js +0 -8
- package/out/_next/static/chunks/2bb7696udjx6k.js +0 -44
- package/out/_next/static/chunks/2bm5aw8hqlgf2.js +0 -50
- package/out/_next/static/chunks/2c4vy8ofex0ti.js +0 -14
- package/out/_next/static/chunks/2c7gw8ronvu-c.js +0 -807
- package/out/_next/static/chunks/2cbr3ybo4xsrv.js +0 -43
- package/out/_next/static/chunks/2eh6ku1a1zbs4.js +0 -135
- package/out/_next/static/chunks/2fed4-6c0ghqp.js +0 -99
- package/out/_next/static/chunks/2g39exixp92yf.js +0 -13
- package/out/_next/static/chunks/2gil5igdermzh.js +0 -36
- package/out/_next/static/chunks/2hm0mbq0vtqmw.js +0 -5
- package/out/_next/static/chunks/2hvt_8j6jkd_n.js +0 -14
- package/out/_next/static/chunks/2i5uj5i4z-xu8.js +0 -188
- package/out/_next/static/chunks/2ismth22knujm.js +0 -1
- package/out/_next/static/chunks/2iuznbar_ttrh.js +0 -18
- package/out/_next/static/chunks/2j6cph79-th54.js +0 -7
- package/out/_next/static/chunks/2jln1kjysf99p.js +0 -1
- package/out/_next/static/chunks/2jtk4-i4e9lug.js +0 -1
- package/out/_next/static/chunks/2k020ab3luqev.js +0 -1
- package/out/_next/static/chunks/2kbieaechn8m8.js +0 -1
- package/out/_next/static/chunks/2lwxs_ly4bz1o.js +0 -12
- package/out/_next/static/chunks/2mr2k4sb6i021.js +0 -32
- package/out/_next/static/chunks/2na27-e8gs0-f.js +0 -171
- package/out/_next/static/chunks/2nn3_f04lnr0b.js +0 -807
- package/out/_next/static/chunks/2ocwu5vbc5r34.js +0 -73
- package/out/_next/static/chunks/2qprgjhjl8d4c.js +0 -807
- package/out/_next/static/chunks/2rtyphk0o1hbr.js +0 -5
- package/out/_next/static/chunks/2skxi0oqka3ef.js +0 -26
- package/out/_next/static/chunks/2sukt9l-1md8_.js +0 -25
- package/out/_next/static/chunks/2t3t6gm5vlg_0.js +0 -58
- package/out/_next/static/chunks/2vt52_i-6cdbh.js +0 -10
- package/out/_next/static/chunks/2w5y5xf0nriwx.js +0 -1
- package/out/_next/static/chunks/2we4fnghpvprw.js +0 -190
- package/out/_next/static/chunks/30g-s0ioynhjx.js +0 -224
- package/out/_next/static/chunks/31y7dx6ytab7h.js +0 -3
- package/out/_next/static/chunks/363ng2l8o_bee.js +0 -101
- package/out/_next/static/chunks/36jick0alh9oa.js +0 -50
- package/out/_next/static/chunks/36pa0vs0telmp.js +0 -1
- package/out/_next/static/chunks/36yth4lm03_j8.js +0 -1
- package/out/_next/static/chunks/37phwvegpccj0.js +0 -217
- package/out/_next/static/chunks/38b7m-s26ciug.js +0 -137
- package/out/_next/static/chunks/38ipj45w-tqay.js +0 -21
- package/out/_next/static/chunks/38pz7fmyf6ay0.js +0 -1
- package/out/_next/static/chunks/39634va9fx9s2.js +0 -13
- package/out/_next/static/chunks/3a0hqx7ohm5lh.js +0 -23
- package/out/_next/static/chunks/3dr_oa5hx41is.js +0 -14
- package/out/_next/static/chunks/3e7w6ko5psik7.js +0 -17
- package/out/_next/static/chunks/3ebh4y7h6y1vq.js +0 -58
- package/out/_next/static/chunks/3eow7lw1727kt.js +0 -13
- package/out/_next/static/chunks/3f1gb4_hyhtho.js +0 -20
- package/out/_next/static/chunks/3g4qj6_qh97q_.js +0 -12
- package/out/_next/static/chunks/3gfjdynb9mg8h.js +0 -23
- package/out/_next/static/chunks/3gx4smk7pb27x.js +0 -119
- package/out/_next/static/chunks/3jcf4ei6zgnca.js +0 -17
- package/out/_next/static/chunks/3kisw9hre44e5.js +0 -807
- package/out/_next/static/chunks/3mnt471ayfsvh.js +0 -22
- package/out/_next/static/chunks/3ondw3-zthjz5.js +0 -15
- package/out/_next/static/chunks/3opuxnw_w3yb5.js +0 -101
- package/out/_next/static/chunks/3oxv1fo564rrf.js +0 -142
- package/out/_next/static/chunks/3ra_41-fw410n.js +0 -14
- package/out/_next/static/chunks/3s22ovhmk-4h7.js +0 -1
- package/out/_next/static/chunks/3sktz8258so64.js +0 -2
- package/out/_next/static/chunks/3tq-bb0j1_lpu.js +0 -14
- package/out/_next/static/chunks/3v1dxn4rp-o3v.js +0 -315
- package/out/_next/static/chunks/3w_wwl_hd91od.js +0 -1
- package/out/_next/static/chunks/3ww_p-agyd9u-.js +0 -14
- package/out/_next/static/chunks/3wzzh45yillzb.js +0 -1
- package/out/_next/static/chunks/3xfj8_2nd5d_1.js +0 -1
- package/out/_next/static/chunks/3xhmfg-981n_5.js +0 -61
- package/out/_next/static/chunks/3yz34q3ulli7q.js +0 -12
- package/out/_next/static/chunks/3z_c5kpm-e1ty.js +0 -15
- package/out/_next/static/chunks/3zqfchpzqxd92.css +0 -1
- package/out/_next/static/chunks/3zs002htik_8l.js +0 -21
- package/out/_next/static/chunks/4079hjuumfmm2.js +0 -31
- package/out/_next/static/chunks/40922jbr_e5ug.js +0 -51
- package/out/_next/static/chunks/40zy6mxa-be0m.js +0 -1
- package/out/_next/static/chunks/41fbmiggueudh.js +0 -13
- package/out/_next/static/chunks/43e0fp97w800k.js +0 -13
- package/out/_next/static/chunks/43gv4x1sfyb5l.js +0 -9
- package/out/_next/static/chunks/44nj9c766dqvc.js +0 -807
- package/out/_next/static/chunks/44r51e87s4z_d.js +0 -8
- package/out/_next/static/chunks/458tg2eg5h8j5.js +0 -324
- package/out/_next/static/chunks/45cd4ypk94sw2.js +0 -807
- package/out/_next/static/chunks/turbopack-01866gjdddrxa.js +0 -1
- package/out/_next/static/chunks/turbopack-08ttg7vxsdnsj.js +0 -1
- package/out/_next/static/chunks/turbopack-0pmjdjcdx7cqp.js +0 -1
- package/out/_next/static/chunks/turbopack-0tc31uax4buqq.js +0 -1
- package/out/_next/static/chunks/turbopack-10ldzl5n31zl-.js +0 -1
- package/out/_next/static/chunks/turbopack-19i6-4a5o4fil.js +0 -1
- package/out/_next/static/chunks/turbopack-19yw5qwon7l57.js +0 -1
- package/out/_next/static/chunks/turbopack-1cx5i7_gdoz5k.js +0 -1
- package/out/_next/static/chunks/turbopack-1d-c7awe26kf5.js +0 -1
- package/out/_next/static/chunks/turbopack-1l1aen9tojmq4.js +0 -1
- package/out/_next/static/chunks/turbopack-1rmdtpi005n_6.js +0 -1
- package/out/_next/static/chunks/turbopack-1wx5785osz26z.js +0 -1
- package/out/_next/static/chunks/turbopack-28_dvdmt6lvhn.js +0 -1
- package/out/_next/static/chunks/turbopack-2bo7hmw4eirxu.js +0 -1
- package/out/_next/static/chunks/turbopack-2e_wy0ffi64id.js +0 -1
- package/out/_next/static/chunks/turbopack-2g2viapamsvwe.js +0 -1
- package/out/_next/static/chunks/turbopack-2pxtve7lryqre.js +0 -1
- package/out/_next/static/chunks/turbopack-2u0ls0liblo_9.js +0 -1
- package/out/_next/static/chunks/turbopack-2xfom16ggx1i3.js +0 -1
- package/out/_next/static/chunks/turbopack-2ycfwit0p-fkf.js +0 -1
- package/out/_next/static/chunks/turbopack-3-w-v8og1lok2.js +0 -1
- package/out/_next/static/chunks/turbopack-36bl9-rerhcfg.js +0 -1
- package/out/_next/static/chunks/turbopack-37a6lyjyz7fts.js +0 -1
- package/out/_next/static/chunks/turbopack-37lb9ujef-ujm.js +0 -1
- package/out/_next/static/chunks/turbopack-3_o3qz69ih0uu.js +0 -1
- package/out/_next/static/chunks/turbopack-3cv39r7v3s2gr.js +0 -1
- package/out/_next/static/chunks/turbopack-3vfm6fp92up6y.js +0 -1
- package/out/_next/static/chunks/turbopack-3vyi51cuxeowy.js +0 -1
- package/out/_next/static/chunks/turbopack-3zc0h1216mtm2.js +0 -1
- package/out/admin-ui-permissions.js +0 -129
- /package/out/_next/static/{4-xf4wPkZc5rcBq3jUTDg → z5KrmhOz2mLscINN5EbUf}/_clientMiddlewareManifest.js +0 -0
- /package/out/_next/static/{4-xf4wPkZc5rcBq3jUTDg → z5KrmhOz2mLscINN5EbUf}/_ssgManifest.js +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { sharedContext } from './chunk-J23QSWDL.js';
|
|
2
|
+
import { createContext, useContext } from 'react';
|
|
3
|
+
import 'react-intl';
|
|
1
4
|
import { gql } from '@apollo/client';
|
|
2
5
|
import { useQuery } from '@apollo/client/react';
|
|
3
|
-
import { createContext } from 'react';
|
|
4
|
-
import 'react-intl';
|
|
5
6
|
import 'react/jsx-runtime';
|
|
6
7
|
|
|
7
|
-
// src/modules/common/hooks/useShopInfo.ts
|
|
8
8
|
var ShopInfoQuery = gql`
|
|
9
9
|
query ShopInfo {
|
|
10
10
|
shopInfo {
|
|
@@ -59,7 +59,16 @@ var useShopInfo = () => {
|
|
|
59
59
|
};
|
|
60
60
|
};
|
|
61
61
|
var useShopInfo_default = useShopInfo;
|
|
62
|
-
var AppContext = createContext(void 0);
|
|
62
|
+
var AppContext = sharedContext("AppContext", createContext(void 0));
|
|
63
63
|
var AppContext_default = AppContext;
|
|
64
64
|
|
|
65
|
-
|
|
65
|
+
// src/modules/common/hooks/useApp.ts
|
|
66
|
+
var useApp = () => {
|
|
67
|
+
const context = useContext(AppContext_default);
|
|
68
|
+
if (!context)
|
|
69
|
+
throw new Error("useLocale must be used within a LocaleProvider");
|
|
70
|
+
return context;
|
|
71
|
+
};
|
|
72
|
+
var useApp_default = useApp;
|
|
73
|
+
|
|
74
|
+
export { AppContext_default, useApp_default, useShopInfo_default };
|
|
@@ -0,0 +1,314 @@
|
|
|
1
|
+
import { clsx_default, SubmitButton_default } from './chunk-H6G4UTZ5.js';
|
|
2
|
+
import { NoSymbolIcon_default } from './chunk-HERLM47Z.js';
|
|
3
|
+
import { sharedContext } from './chunk-J23QSWDL.js';
|
|
4
|
+
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
5
|
+
import { FormattedMessage, useIntl } from 'react-intl';
|
|
6
|
+
import Image from 'next/image';
|
|
7
|
+
import { createContext, useState } from 'react';
|
|
8
|
+
|
|
9
|
+
var Button = ({
|
|
10
|
+
text,
|
|
11
|
+
children,
|
|
12
|
+
onClick,
|
|
13
|
+
className = "",
|
|
14
|
+
disabled = false,
|
|
15
|
+
id = "",
|
|
16
|
+
variant = "primary",
|
|
17
|
+
size = "md",
|
|
18
|
+
type = "button",
|
|
19
|
+
loading = false,
|
|
20
|
+
icon,
|
|
21
|
+
iconRight,
|
|
22
|
+
fullWidth = false,
|
|
23
|
+
rounded = "md",
|
|
24
|
+
ariaLabel,
|
|
25
|
+
...props
|
|
26
|
+
}) => {
|
|
27
|
+
const baseClasses = "inline-flex items-center justify-center font-medium shadow-xs focus:outline-hidden focus:ring-2 focus:ring-offset-2 transition-colors duration-200 disabled:cursor-not-allowed disabled:opacity-50";
|
|
28
|
+
const sizeClasses = {
|
|
29
|
+
xs: "px-2.5 py-1.5 text-xs h-6",
|
|
30
|
+
sm: "px-3 py-2 text-sm h-8",
|
|
31
|
+
md: "px-4 py-2 text-sm h-9",
|
|
32
|
+
lg: "px-6 py-3 text-base h-11"
|
|
33
|
+
};
|
|
34
|
+
const roundedClasses = {
|
|
35
|
+
none: "rounded-none",
|
|
36
|
+
sm: "rounded-sm",
|
|
37
|
+
md: "rounded-md",
|
|
38
|
+
lg: "rounded-lg",
|
|
39
|
+
full: "rounded-full"
|
|
40
|
+
};
|
|
41
|
+
const variantClasses = {
|
|
42
|
+
primary: "border border-accent bg-accent text-text-on-accent hover:bg-accent-hover focus:ring-focus-ring",
|
|
43
|
+
secondary: "border border-border-default bg-surface text-text-secondary hover:bg-surface-raised focus:ring-focus-ring",
|
|
44
|
+
tertiary: "border border-border-subtle bg-surface text-text-secondary hover:bg-surface-raised focus:ring-focus-ring",
|
|
45
|
+
quaternary: "bg-transparent text-text-secondary hover:bg-surface-raised focus:ring-focus-ring",
|
|
46
|
+
danger: "border border-danger bg-surface text-danger hover:bg-rose-50 dark:hover:bg-rose-900/10 focus:ring-rose-500",
|
|
47
|
+
ghost: "bg-transparent border border-transparent text-text-secondary hover:text-text-primary hover:bg-surface-raised focus:ring-focus-ring",
|
|
48
|
+
success: "border border-emerald-500 dark:border-emerald-400 bg-emerald-50 dark:bg-emerald-900/20 text-emerald-600 dark:text-emerald-400 hover:bg-emerald-100 dark:hover:bg-emerald-900/30 focus:ring-emerald-500",
|
|
49
|
+
neutral: "border border-border-default bg-surface-raised text-text-secondary hover:bg-surface-raised focus:ring-focus-ring",
|
|
50
|
+
input: "border border-border-default bg-surface text-text-primary hover:border-slate-400 dark:hover:border-slate-500 focus:ring-focus-ring focus:border-slate-500"
|
|
51
|
+
};
|
|
52
|
+
const content = children || text;
|
|
53
|
+
const hasIcon = icon || iconRight;
|
|
54
|
+
const spacingClass = hasIcon && content ? "gap-2" : "";
|
|
55
|
+
return /* @__PURE__ */ jsx(
|
|
56
|
+
"button",
|
|
57
|
+
{
|
|
58
|
+
id,
|
|
59
|
+
type,
|
|
60
|
+
disabled: disabled || loading,
|
|
61
|
+
onClick,
|
|
62
|
+
"aria-label": ariaLabel,
|
|
63
|
+
className: clsx_default(
|
|
64
|
+
baseClasses,
|
|
65
|
+
sizeClasses[size],
|
|
66
|
+
roundedClasses[rounded],
|
|
67
|
+
variantClasses[variant],
|
|
68
|
+
spacingClass,
|
|
69
|
+
{
|
|
70
|
+
"w-full": fullWidth
|
|
71
|
+
},
|
|
72
|
+
className
|
|
73
|
+
),
|
|
74
|
+
...props,
|
|
75
|
+
children: loading ? /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
76
|
+
/* @__PURE__ */ jsx("div", { className: "w-4 h-4 border-2 border-current border-t-transparent rounded-full animate-spin" }),
|
|
77
|
+
content
|
|
78
|
+
] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
79
|
+
icon,
|
|
80
|
+
content,
|
|
81
|
+
iconRight
|
|
82
|
+
] })
|
|
83
|
+
}
|
|
84
|
+
);
|
|
85
|
+
};
|
|
86
|
+
var Button_default = Button;
|
|
87
|
+
var NoData = ({ message, className = "", Icon = null }) => {
|
|
88
|
+
return /* @__PURE__ */ jsx(
|
|
89
|
+
"div",
|
|
90
|
+
{
|
|
91
|
+
className: clsx_default(
|
|
92
|
+
"rounded-md flex w-full flex-col items-center justify-center min-h-[176px] py-8 border-1 border-dashed border-border-default text-slate-500 dark:text-slate-600",
|
|
93
|
+
className
|
|
94
|
+
),
|
|
95
|
+
children: /* @__PURE__ */ jsxs("div", { className: "grid items-center justify-center", children: [
|
|
96
|
+
/* @__PURE__ */ jsx("div", { className: "flex items-center justify-center text-slate-400 dark:text-slate-600", children: Icon || /* @__PURE__ */ jsx(NoSymbolIcon_default, { className: "h-6 w-6" }) }),
|
|
97
|
+
/* @__PURE__ */ jsx(
|
|
98
|
+
FormattedMessage,
|
|
99
|
+
{
|
|
100
|
+
id: "no_data_message",
|
|
101
|
+
defaultMessage: "<p>No <span> {message} available</span> </p>",
|
|
102
|
+
values: {
|
|
103
|
+
p: (chunks) => /* @__PURE__ */ jsx("p", { className: "mt-2 m-auto flex items-center justify-center", children: chunks }),
|
|
104
|
+
span: (chunks) => /* @__PURE__ */ jsxs("span", { className: "capitalize ml-1", children: [
|
|
105
|
+
" ",
|
|
106
|
+
chunks,
|
|
107
|
+
" "
|
|
108
|
+
] }),
|
|
109
|
+
message
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
)
|
|
113
|
+
] })
|
|
114
|
+
}
|
|
115
|
+
);
|
|
116
|
+
};
|
|
117
|
+
var NoData_default = NoData;
|
|
118
|
+
var NoImageSvg = ({
|
|
119
|
+
className = "w-full h-full",
|
|
120
|
+
width = 200,
|
|
121
|
+
height = 200
|
|
122
|
+
}) => {
|
|
123
|
+
return /* @__PURE__ */ jsxs(
|
|
124
|
+
"svg",
|
|
125
|
+
{
|
|
126
|
+
width,
|
|
127
|
+
height,
|
|
128
|
+
viewBox: "0 0 200 200",
|
|
129
|
+
fill: "none",
|
|
130
|
+
className,
|
|
131
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
132
|
+
children: [
|
|
133
|
+
/* @__PURE__ */ jsx(
|
|
134
|
+
"rect",
|
|
135
|
+
{
|
|
136
|
+
x: "10",
|
|
137
|
+
y: "10",
|
|
138
|
+
width: "180",
|
|
139
|
+
height: "180",
|
|
140
|
+
rx: "8",
|
|
141
|
+
stroke: "currentColor",
|
|
142
|
+
strokeWidth: "3",
|
|
143
|
+
strokeDasharray: "8 4",
|
|
144
|
+
fill: "transparent",
|
|
145
|
+
className: "text-slate-800 dark:text-slate-400"
|
|
146
|
+
}
|
|
147
|
+
),
|
|
148
|
+
/* @__PURE__ */ jsx(
|
|
149
|
+
"rect",
|
|
150
|
+
{
|
|
151
|
+
x: "40",
|
|
152
|
+
y: "40",
|
|
153
|
+
width: "120",
|
|
154
|
+
height: "80",
|
|
155
|
+
rx: "4",
|
|
156
|
+
stroke: "currentColor",
|
|
157
|
+
strokeWidth: "3",
|
|
158
|
+
fill: "transparent"
|
|
159
|
+
}
|
|
160
|
+
),
|
|
161
|
+
/* @__PURE__ */ jsx(
|
|
162
|
+
"path",
|
|
163
|
+
{
|
|
164
|
+
d: "M50 100 L70 80 L90 95 L110 75 L130 90 L150 70",
|
|
165
|
+
stroke: "currentColor",
|
|
166
|
+
strokeWidth: "3",
|
|
167
|
+
fill: "none",
|
|
168
|
+
strokeLinecap: "round",
|
|
169
|
+
strokeLinejoin: "round"
|
|
170
|
+
}
|
|
171
|
+
),
|
|
172
|
+
/* @__PURE__ */ jsx(
|
|
173
|
+
"circle",
|
|
174
|
+
{
|
|
175
|
+
cx: "130",
|
|
176
|
+
cy: "55",
|
|
177
|
+
r: "8",
|
|
178
|
+
stroke: "currentColor",
|
|
179
|
+
strokeWidth: "3",
|
|
180
|
+
fill: "transparent"
|
|
181
|
+
}
|
|
182
|
+
),
|
|
183
|
+
/* @__PURE__ */ jsx(
|
|
184
|
+
"text",
|
|
185
|
+
{
|
|
186
|
+
x: "100",
|
|
187
|
+
y: "145",
|
|
188
|
+
textAnchor: "middle",
|
|
189
|
+
className: "text-text-secondary text-sm font-semibold",
|
|
190
|
+
fill: "currentColor",
|
|
191
|
+
children: "No Image"
|
|
192
|
+
}
|
|
193
|
+
)
|
|
194
|
+
]
|
|
195
|
+
}
|
|
196
|
+
);
|
|
197
|
+
};
|
|
198
|
+
var NoImageSvg_default = NoImageSvg;
|
|
199
|
+
|
|
200
|
+
// src/modules/common/utils/defaultNextImageLoader.ts
|
|
201
|
+
var defaultNextImageLoader = ({ src, width, quality = 75 }) => {
|
|
202
|
+
if (src) return `${src}?w=${width}&q=${quality}`;
|
|
203
|
+
return "/no-image.jpg";
|
|
204
|
+
};
|
|
205
|
+
var defaultNextImageLoader_default = defaultNextImageLoader;
|
|
206
|
+
var ImageWithFallback = ({ fallbackSrc = "", src, ...props }) => {
|
|
207
|
+
const [imageSrc, setImageSrc] = useState(src);
|
|
208
|
+
const [hasError, setHasError] = useState(false);
|
|
209
|
+
const { formatMessage } = useIntl();
|
|
210
|
+
if (hasError || !imageSrc) {
|
|
211
|
+
return /* @__PURE__ */ jsx(
|
|
212
|
+
"div",
|
|
213
|
+
{
|
|
214
|
+
className: props.className || "w-full h-full flex items-center justify-center bg-surface",
|
|
215
|
+
children: /* @__PURE__ */ jsx(
|
|
216
|
+
NoImageSvg_default,
|
|
217
|
+
{
|
|
218
|
+
width: props.width || 200,
|
|
219
|
+
height: props.height || 200,
|
|
220
|
+
className: "max-w-full max-h-full"
|
|
221
|
+
}
|
|
222
|
+
)
|
|
223
|
+
}
|
|
224
|
+
);
|
|
225
|
+
}
|
|
226
|
+
return /* @__PURE__ */ jsx(
|
|
227
|
+
Image,
|
|
228
|
+
{
|
|
229
|
+
src: imageSrc,
|
|
230
|
+
loader: defaultNextImageLoader_default,
|
|
231
|
+
alt: formatMessage({
|
|
232
|
+
id: "image-not-found",
|
|
233
|
+
defaultMessage: "Image not found"
|
|
234
|
+
}),
|
|
235
|
+
...props,
|
|
236
|
+
onError: () => {
|
|
237
|
+
if (fallbackSrc && imageSrc !== fallbackSrc) {
|
|
238
|
+
setImageSrc(fallbackSrc);
|
|
239
|
+
} else {
|
|
240
|
+
setHasError(true);
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
);
|
|
245
|
+
};
|
|
246
|
+
var ImageWithFallback_default = ImageWithFallback;
|
|
247
|
+
var FormWrapperContext = sharedContext("FormWrapperContext", createContext(false));
|
|
248
|
+
var FormWrapper = ({ children, className = "" }) => {
|
|
249
|
+
return /* @__PURE__ */ jsx(FormWrapperContext.Provider, { value: true, children: /* @__PURE__ */ jsx("div", { className: "sm:max-w-full", children: /* @__PURE__ */ jsx("div", { className: clsx_default("bg-surface rounded-md shadow-sm overflow-hidden", className), children }) }) });
|
|
250
|
+
};
|
|
251
|
+
var FormWrapper_default = FormWrapper;
|
|
252
|
+
var SaveAndCancelButtons = ({
|
|
253
|
+
cancelText = null,
|
|
254
|
+
showCancel = true,
|
|
255
|
+
submitText = null,
|
|
256
|
+
showSubmit = true,
|
|
257
|
+
onCancel,
|
|
258
|
+
className = ""
|
|
259
|
+
}) => {
|
|
260
|
+
const { formatMessage } = useIntl();
|
|
261
|
+
return /* @__PURE__ */ jsxs(
|
|
262
|
+
"span",
|
|
263
|
+
{
|
|
264
|
+
className: clsx_default(
|
|
265
|
+
"flex shrink-0 items-center space-x-4 py-5 pl-1",
|
|
266
|
+
className
|
|
267
|
+
),
|
|
268
|
+
children: [
|
|
269
|
+
showCancel ? /* @__PURE__ */ jsx(
|
|
270
|
+
"button",
|
|
271
|
+
{
|
|
272
|
+
onClick: onCancel,
|
|
273
|
+
"data-id": "cancel_update",
|
|
274
|
+
type: "button",
|
|
275
|
+
className: clsx_default(
|
|
276
|
+
"focus:ring-focus-ring",
|
|
277
|
+
"inline-flex items-center rounded-md border border-border-default bg-surface px-4 py-2 text-sm font-medium text-text-secondary shadow-xs hover:bg-surface-raised focus:outline-hidden focus:ring-2 focus:ring-focus-ring focus:ring-offset-2"
|
|
278
|
+
),
|
|
279
|
+
children: cancelText || formatMessage({
|
|
280
|
+
id: "cancel",
|
|
281
|
+
defaultMessage: "Cancel"
|
|
282
|
+
})
|
|
283
|
+
}
|
|
284
|
+
) : null,
|
|
285
|
+
showSubmit ? /* @__PURE__ */ jsx(
|
|
286
|
+
SubmitButton_default,
|
|
287
|
+
{
|
|
288
|
+
label: submitText || formatMessage({
|
|
289
|
+
id: "save",
|
|
290
|
+
defaultMessage: "Save"
|
|
291
|
+
})
|
|
292
|
+
}
|
|
293
|
+
) : null
|
|
294
|
+
]
|
|
295
|
+
}
|
|
296
|
+
);
|
|
297
|
+
};
|
|
298
|
+
var SaveAndCancelButtons_default = SaveAndCancelButtons;
|
|
299
|
+
var DraggableIcon = () => {
|
|
300
|
+
return /* @__PURE__ */ jsx(
|
|
301
|
+
"svg",
|
|
302
|
+
{
|
|
303
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
304
|
+
className: "h-5 w-4 text-slate-900 group-hover:text-slate-800 dark:text-slate-500 dark:group-hover:text-slate-400",
|
|
305
|
+
viewBox: "0 0 20 20",
|
|
306
|
+
fill: "currentColor",
|
|
307
|
+
"aria-hidden": "true",
|
|
308
|
+
children: /* @__PURE__ */ jsx("path", { d: "M8.5 17c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm7-10c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm-7 3c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm7 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 7c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-7-14c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z" })
|
|
309
|
+
}
|
|
310
|
+
);
|
|
311
|
+
};
|
|
312
|
+
var DraggableIcon_default = DraggableIcon;
|
|
313
|
+
|
|
314
|
+
export { Button_default, DraggableIcon_default, FormWrapperContext, FormWrapper_default, ImageWithFallback_default, NoData_default, NoImageSvg_default, SaveAndCancelButtons_default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { toDate, isValid, millisecondsInWeek, constructFrom, startOfDay, millisecondsInDay } from './chunk-
|
|
2
|
-
import { useShopInfo_default, AppContext_default } from './chunk-
|
|
1
|
+
import { toDate, isValid, millisecondsInWeek, constructFrom, startOfDay, millisecondsInDay } from './chunk-I64TXIE7.js';
|
|
2
|
+
import { useShopInfo_default, AppContext_default } from './chunk-AOR2B5N5.js';
|
|
3
3
|
import { useContext } from 'react';
|
|
4
4
|
import { useIntl } from 'react-intl';
|
|
5
5
|
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { o2, i, E2 as E2$1, s } from './chunk-QHR23GVH.js';
|
|
2
|
+
import { useRef, useEffect } from 'react';
|
|
3
|
+
|
|
4
|
+
function m(u, t2) {
|
|
5
|
+
let e = useRef([]), r = o2(u);
|
|
6
|
+
useEffect(() => {
|
|
7
|
+
let o2 = [...e.current];
|
|
8
|
+
for (let [a, l] of t2.entries()) if (e.current[a] !== l) {
|
|
9
|
+
let n2 = r(t2, o2);
|
|
10
|
+
return e.current = t2, n2;
|
|
11
|
+
}
|
|
12
|
+
}, [r, ...t2]);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
// ../node_modules/@headlessui/react/dist/utils/document-ready.js
|
|
16
|
+
function t(n2) {
|
|
17
|
+
function e() {
|
|
18
|
+
document.readyState !== "loading" && (n2(), document.removeEventListener("DOMContentLoaded", e));
|
|
19
|
+
}
|
|
20
|
+
typeof window != "undefined" && typeof document != "undefined" && (document.addEventListener("DOMContentLoaded", e), e());
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
// ../node_modules/@headlessui/react/dist/utils/active-element-history.js
|
|
24
|
+
var n = [];
|
|
25
|
+
t(() => {
|
|
26
|
+
function e(t2) {
|
|
27
|
+
if (!i(t2.target) || t2.target === document.body || n[0] === t2.target) return;
|
|
28
|
+
let r = t2.target;
|
|
29
|
+
r = r.closest(E2$1), n.unshift(r != null ? r : t2.target), n = n.filter((o2) => o2 != null && o2.isConnected), n.splice(10);
|
|
30
|
+
}
|
|
31
|
+
window.addEventListener("click", e, { capture: true }), window.addEventListener("mousedown", e, { capture: true }), window.addEventListener("focus", e, { capture: true }), document.body.addEventListener("click", e, { capture: true }), document.body.addEventListener("mousedown", e, { capture: true }), document.body.addEventListener("focus", e, { capture: true });
|
|
32
|
+
});
|
|
33
|
+
function E2(n2, e, a, t2) {
|
|
34
|
+
let i2 = s(a);
|
|
35
|
+
useEffect(() => {
|
|
36
|
+
n2 = n2 != null ? n2 : window;
|
|
37
|
+
function r(o2) {
|
|
38
|
+
i2.current(o2);
|
|
39
|
+
}
|
|
40
|
+
return n2.addEventListener(e, r, t2), () => n2.removeEventListener(e, r, t2);
|
|
41
|
+
}, [n2, e, t2]);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export { E2 as E, m, n };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { textColor, bgColor, borderColor } from './chunk-VDKQGOMV.js';
|
|
2
|
-
import { useField_default, validateRequiredTag, useFormContext_default } from './chunk-
|
|
3
|
-
import { QuestionMarkCircleIcon_default } from './chunk-
|
|
2
|
+
import { FormContext_default, useField_default, validateRequiredTag, useFormContext_default } from './chunk-I64TXIE7.js';
|
|
3
|
+
import { QuestionMarkCircleIcon_default } from './chunk-HERLM47Z.js';
|
|
4
4
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
5
5
|
import { useRouter } from 'next/router';
|
|
6
|
-
import * as
|
|
7
|
-
import
|
|
6
|
+
import * as React6 from 'react';
|
|
7
|
+
import React6__default, { useState, useRef, useEffect, useCallback, useMemo } from 'react';
|
|
8
8
|
import { useIntl } from 'react-intl';
|
|
9
|
-
import { useFormContext } from 'react-hook-form';
|
|
9
|
+
import { FormProvider, useFormContext } from 'react-hook-form';
|
|
10
10
|
|
|
11
11
|
// ../node_modules/clsx/dist/clsx.mjs
|
|
12
12
|
function r(e) {
|
|
@@ -219,35 +219,10 @@ var Tab = ({
|
|
|
219
219
|
},
|
|
220
220
|
option.id
|
|
221
221
|
)) }) }) }),
|
|
222
|
-
/* @__PURE__ */ jsx("div", { className: "mt-5", children:
|
|
222
|
+
/* @__PURE__ */ jsx("div", { className: "mt-5", children: React6__default.cloneElement(children, { selectedView: currentTab }) })
|
|
223
223
|
] });
|
|
224
224
|
};
|
|
225
225
|
var Tab_default = Tab;
|
|
226
|
-
var JSONView = ({
|
|
227
|
-
value,
|
|
228
|
-
className,
|
|
229
|
-
onChange = () => {
|
|
230
|
-
},
|
|
231
|
-
rows: defaultRows = 7,
|
|
232
|
-
...props
|
|
233
|
-
}) => {
|
|
234
|
-
const lineCount = value ? value.split("\n").length : 1;
|
|
235
|
-
const rows = Math.max(lineCount, defaultRows);
|
|
236
|
-
return /* @__PURE__ */ jsx(
|
|
237
|
-
"textarea",
|
|
238
|
-
{
|
|
239
|
-
className: clsx_default(
|
|
240
|
-
"text-black dark:bg-slate-900 dark:text-slate-200 border-transparent border-t border-t-border-subtle resize-y",
|
|
241
|
-
className
|
|
242
|
-
),
|
|
243
|
-
value,
|
|
244
|
-
onChange,
|
|
245
|
-
rows,
|
|
246
|
-
...props
|
|
247
|
-
}
|
|
248
|
-
);
|
|
249
|
-
};
|
|
250
|
-
var JSONView_default = JSONView;
|
|
251
226
|
var normalizeTagValue = (tags) => {
|
|
252
227
|
if (tags) {
|
|
253
228
|
if (Array.isArray(tags)) return tags;
|
|
@@ -430,6 +405,20 @@ var TagInput = ({
|
|
|
430
405
|
] });
|
|
431
406
|
};
|
|
432
407
|
var TagInput_default = TagInput;
|
|
408
|
+
var Form = ({ form, children, className = "", ...props }) => {
|
|
409
|
+
return /* @__PURE__ */ jsx(FormContext_default.Provider, { value: form, children: /* @__PURE__ */ jsx(FormProvider, { ...form.rhf, children: /* @__PURE__ */ jsx(
|
|
410
|
+
"form",
|
|
411
|
+
{
|
|
412
|
+
onReset: () => form.api.handleReset(),
|
|
413
|
+
onSubmit: form.api.handleSubmit,
|
|
414
|
+
method: "POST",
|
|
415
|
+
className,
|
|
416
|
+
...props,
|
|
417
|
+
children
|
|
418
|
+
}
|
|
419
|
+
) }) });
|
|
420
|
+
};
|
|
421
|
+
var Form_default = Form;
|
|
433
422
|
var FieldWrapper = ({
|
|
434
423
|
children,
|
|
435
424
|
className,
|
|
@@ -574,7 +563,7 @@ function CheckIcon({
|
|
|
574
563
|
titleId,
|
|
575
564
|
...props
|
|
576
565
|
}, svgRef) {
|
|
577
|
-
return /* @__PURE__ */
|
|
566
|
+
return /* @__PURE__ */ React6.createElement("svg", Object.assign({
|
|
578
567
|
xmlns: "http://www.w3.org/2000/svg",
|
|
579
568
|
viewBox: "0 0 20 20",
|
|
580
569
|
fill: "currentColor",
|
|
@@ -582,22 +571,22 @@ function CheckIcon({
|
|
|
582
571
|
"data-slot": "icon",
|
|
583
572
|
ref: svgRef,
|
|
584
573
|
"aria-labelledby": titleId
|
|
585
|
-
}, props), title ? /* @__PURE__ */
|
|
574
|
+
}, props), title ? /* @__PURE__ */ React6.createElement("title", {
|
|
586
575
|
id: titleId
|
|
587
|
-
}, title) : null, /* @__PURE__ */
|
|
576
|
+
}, title) : null, /* @__PURE__ */ React6.createElement("path", {
|
|
588
577
|
fillRule: "evenodd",
|
|
589
578
|
d: "M16.704 4.153a.75.75 0 0 1 .143 1.052l-8 10.5a.75.75 0 0 1-1.127.075l-4.5-4.5a.75.75 0 0 1 1.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 0 1 1.05-.143Z",
|
|
590
579
|
clipRule: "evenodd"
|
|
591
580
|
}));
|
|
592
581
|
}
|
|
593
|
-
var ForwardRef = /* @__PURE__ */
|
|
582
|
+
var ForwardRef = /* @__PURE__ */ React6.forwardRef(CheckIcon);
|
|
594
583
|
var CheckIcon_default = ForwardRef;
|
|
595
584
|
function ChevronDownIcon({
|
|
596
585
|
title,
|
|
597
586
|
titleId,
|
|
598
587
|
...props
|
|
599
588
|
}, svgRef) {
|
|
600
|
-
return /* @__PURE__ */
|
|
589
|
+
return /* @__PURE__ */ React6.createElement("svg", Object.assign({
|
|
601
590
|
xmlns: "http://www.w3.org/2000/svg",
|
|
602
591
|
viewBox: "0 0 20 20",
|
|
603
592
|
fill: "currentColor",
|
|
@@ -605,22 +594,22 @@ function ChevronDownIcon({
|
|
|
605
594
|
"data-slot": "icon",
|
|
606
595
|
ref: svgRef,
|
|
607
596
|
"aria-labelledby": titleId
|
|
608
|
-
}, props), title ? /* @__PURE__ */
|
|
597
|
+
}, props), title ? /* @__PURE__ */ React6.createElement("title", {
|
|
609
598
|
id: titleId
|
|
610
|
-
}, title) : null, /* @__PURE__ */
|
|
599
|
+
}, title) : null, /* @__PURE__ */ React6.createElement("path", {
|
|
611
600
|
fillRule: "evenodd",
|
|
612
601
|
d: "M5.22 8.22a.75.75 0 0 1 1.06 0L10 11.94l3.72-3.72a.75.75 0 1 1 1.06 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L5.22 9.28a.75.75 0 0 1 0-1.06Z",
|
|
613
602
|
clipRule: "evenodd"
|
|
614
603
|
}));
|
|
615
604
|
}
|
|
616
|
-
var ForwardRef2 = /* @__PURE__ */
|
|
605
|
+
var ForwardRef2 = /* @__PURE__ */ React6.forwardRef(ChevronDownIcon);
|
|
617
606
|
var ChevronDownIcon_default = ForwardRef2;
|
|
618
607
|
function ChevronUpDownIcon({
|
|
619
608
|
title,
|
|
620
609
|
titleId,
|
|
621
610
|
...props
|
|
622
611
|
}, svgRef) {
|
|
623
|
-
return /* @__PURE__ */
|
|
612
|
+
return /* @__PURE__ */ React6.createElement("svg", Object.assign({
|
|
624
613
|
xmlns: "http://www.w3.org/2000/svg",
|
|
625
614
|
viewBox: "0 0 20 20",
|
|
626
615
|
fill: "currentColor",
|
|
@@ -628,22 +617,22 @@ function ChevronUpDownIcon({
|
|
|
628
617
|
"data-slot": "icon",
|
|
629
618
|
ref: svgRef,
|
|
630
619
|
"aria-labelledby": titleId
|
|
631
|
-
}, props), title ? /* @__PURE__ */
|
|
620
|
+
}, props), title ? /* @__PURE__ */ React6.createElement("title", {
|
|
632
621
|
id: titleId
|
|
633
|
-
}, title) : null, /* @__PURE__ */
|
|
622
|
+
}, title) : null, /* @__PURE__ */ React6.createElement("path", {
|
|
634
623
|
fillRule: "evenodd",
|
|
635
624
|
d: "M10.53 3.47a.75.75 0 0 0-1.06 0L6.22 6.72a.75.75 0 0 0 1.06 1.06L10 5.06l2.72 2.72a.75.75 0 1 0 1.06-1.06l-3.25-3.25Zm-4.31 9.81 3.25 3.25a.75.75 0 0 0 1.06 0l3.25-3.25a.75.75 0 1 0-1.06-1.06L10 14.94l-2.72-2.72a.75.75 0 0 0-1.06 1.06Z",
|
|
636
625
|
clipRule: "evenodd"
|
|
637
626
|
}));
|
|
638
627
|
}
|
|
639
|
-
var ForwardRef3 = /* @__PURE__ */
|
|
628
|
+
var ForwardRef3 = /* @__PURE__ */ React6.forwardRef(ChevronUpDownIcon);
|
|
640
629
|
var ChevronUpDownIcon_default = ForwardRef3;
|
|
641
630
|
function ChevronUpIcon({
|
|
642
631
|
title,
|
|
643
632
|
titleId,
|
|
644
633
|
...props
|
|
645
634
|
}, svgRef) {
|
|
646
|
-
return /* @__PURE__ */
|
|
635
|
+
return /* @__PURE__ */ React6.createElement("svg", Object.assign({
|
|
647
636
|
xmlns: "http://www.w3.org/2000/svg",
|
|
648
637
|
viewBox: "0 0 20 20",
|
|
649
638
|
fill: "currentColor",
|
|
@@ -651,15 +640,61 @@ function ChevronUpIcon({
|
|
|
651
640
|
"data-slot": "icon",
|
|
652
641
|
ref: svgRef,
|
|
653
642
|
"aria-labelledby": titleId
|
|
654
|
-
}, props), title ? /* @__PURE__ */
|
|
643
|
+
}, props), title ? /* @__PURE__ */ React6.createElement("title", {
|
|
655
644
|
id: titleId
|
|
656
|
-
}, title) : null, /* @__PURE__ */
|
|
645
|
+
}, title) : null, /* @__PURE__ */ React6.createElement("path", {
|
|
657
646
|
fillRule: "evenodd",
|
|
658
647
|
d: "M9.47 6.47a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 1 1-1.06 1.06L10 8.06l-3.72 3.72a.75.75 0 0 1-1.06-1.06l4.25-4.25Z",
|
|
659
648
|
clipRule: "evenodd"
|
|
660
649
|
}));
|
|
661
650
|
}
|
|
662
|
-
var ForwardRef4 = /* @__PURE__ */
|
|
651
|
+
var ForwardRef4 = /* @__PURE__ */ React6.forwardRef(ChevronUpIcon);
|
|
663
652
|
var ChevronUpIcon_default = ForwardRef4;
|
|
653
|
+
function PencilSquareIcon({
|
|
654
|
+
title,
|
|
655
|
+
titleId,
|
|
656
|
+
...props
|
|
657
|
+
}, svgRef) {
|
|
658
|
+
return /* @__PURE__ */ React6.createElement("svg", Object.assign({
|
|
659
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
660
|
+
viewBox: "0 0 20 20",
|
|
661
|
+
fill: "currentColor",
|
|
662
|
+
"aria-hidden": "true",
|
|
663
|
+
"data-slot": "icon",
|
|
664
|
+
ref: svgRef,
|
|
665
|
+
"aria-labelledby": titleId
|
|
666
|
+
}, props), title ? /* @__PURE__ */ React6.createElement("title", {
|
|
667
|
+
id: titleId
|
|
668
|
+
}, title) : null, /* @__PURE__ */ React6.createElement("path", {
|
|
669
|
+
d: "m5.433 13.917 1.262-3.155A4 4 0 0 1 7.58 9.42l6.92-6.918a2.121 2.121 0 0 1 3 3l-6.92 6.918c-.383.383-.84.685-1.343.886l-3.154 1.262a.5.5 0 0 1-.65-.65Z"
|
|
670
|
+
}), /* @__PURE__ */ React6.createElement("path", {
|
|
671
|
+
d: "M3.5 5.75c0-.69.56-1.25 1.25-1.25H10A.75.75 0 0 0 10 3H4.75A2.75 2.75 0 0 0 2 5.75v9.5A2.75 2.75 0 0 0 4.75 18h9.5A2.75 2.75 0 0 0 17 15.25V10a.75.75 0 0 0-1.5 0v5.25c0 .69-.56 1.25-1.25 1.25h-9.5c-.69 0-1.25-.56-1.25-1.25v-9.5Z"
|
|
672
|
+
}));
|
|
673
|
+
}
|
|
674
|
+
var ForwardRef5 = /* @__PURE__ */ React6.forwardRef(PencilSquareIcon);
|
|
675
|
+
var PencilSquareIcon_default = ForwardRef5;
|
|
676
|
+
function TrashIcon({
|
|
677
|
+
title,
|
|
678
|
+
titleId,
|
|
679
|
+
...props
|
|
680
|
+
}, svgRef) {
|
|
681
|
+
return /* @__PURE__ */ React6.createElement("svg", Object.assign({
|
|
682
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
683
|
+
viewBox: "0 0 20 20",
|
|
684
|
+
fill: "currentColor",
|
|
685
|
+
"aria-hidden": "true",
|
|
686
|
+
"data-slot": "icon",
|
|
687
|
+
ref: svgRef,
|
|
688
|
+
"aria-labelledby": titleId
|
|
689
|
+
}, props), title ? /* @__PURE__ */ React6.createElement("title", {
|
|
690
|
+
id: titleId
|
|
691
|
+
}, title) : null, /* @__PURE__ */ React6.createElement("path", {
|
|
692
|
+
fillRule: "evenodd",
|
|
693
|
+
d: "M8.75 1A2.75 2.75 0 0 0 6 3.75v.443c-.795.077-1.584.176-2.365.298a.75.75 0 1 0 .23 1.482l.149-.022.841 10.518A2.75 2.75 0 0 0 7.596 19h4.807a2.75 2.75 0 0 0 2.742-2.53l.841-10.52.149.023a.75.75 0 0 0 .23-1.482A41.03 41.03 0 0 0 14 4.193V3.75A2.75 2.75 0 0 0 11.25 1h-2.5ZM10 4c.84 0 1.673.025 2.5.075V3.75c0-.69-.56-1.25-1.25-1.25h-2.5c-.69 0-1.25.56-1.25 1.25v.325C8.327 4.025 9.16 4 10 4ZM8.58 7.72a.75.75 0 0 0-1.5.06l.3 7.5a.75.75 0 1 0 1.5-.06l-.3-7.5Zm4.34.06a.75.75 0 1 0-1.5-.06l-.3 7.5a.75.75 0 1 0 1.5.06l.3-7.5Z",
|
|
694
|
+
clipRule: "evenodd"
|
|
695
|
+
}));
|
|
696
|
+
}
|
|
697
|
+
var ForwardRef6 = /* @__PURE__ */ React6.forwardRef(TrashIcon);
|
|
698
|
+
var TrashIcon_default = ForwardRef6;
|
|
664
699
|
|
|
665
|
-
export { Badge_default, CheckIcon_default, ChevronDownIcon_default, ChevronUpDownIcon_default, ChevronUpIcon_default, FieldWrapper_default, HelpText_default,
|
|
700
|
+
export { Badge_default, CheckIcon_default, ChevronDownIcon_default, ChevronUpDownIcon_default, ChevronUpIcon_default, FieldWrapper_default, Form_default, HelpText_default, PencilSquareIcon_default, SubmitButton_default, Tab_default, TagInputField_default, TagInput_default, TrashIcon_default, clsx, clsx_default };
|