@unchainedshop/admin-ui 4.8.29 → 4.8.31
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/dist/chunk-3L6EZQ6P.js +135 -0
- package/dist/chunk-5WPFHQZN.js +388 -0
- package/dist/chunk-BMDNY67T.js +22547 -0
- package/dist/{chunk-JAVEZY3Q.js → chunk-BOMSMJF2.js} +17 -5
- package/dist/{chunk-2RTX42IE.js → chunk-E77YIMGR.js} +2 -2
- package/dist/{chunk-XHOCXPD5.js → chunk-F6LBNV3H.js} +1 -1
- package/dist/chunk-FDHXLNZQ.js +44 -0
- package/dist/{chunk-XJBPMIC4.js → chunk-HERLM47Z.js} +81 -56
- package/dist/{chunk-MSPWYMDY.js → chunk-HJKRGBDG.js} +87 -58
- package/dist/{chunk-7PPOGX7R.js → chunk-I64TXIE7.js} +48 -11
- package/dist/chunk-ICJH36K4.js +326 -0
- package/dist/chunk-IWKDBADX.js +73 -0
- package/dist/{chunk-QNLGYFV7.js → chunk-IYKPRAWC.js} +4 -0
- package/dist/chunk-J23QSWDL.js +8 -0
- package/dist/chunk-KRIRF7F6.js +76 -0
- package/dist/chunk-OTXM2UCD.js +19 -0
- package/dist/chunk-PJLYVMUM.js +3308 -0
- package/dist/{chunk-SRAAKMWY.js → chunk-PUI5BIKO.js} +4 -2
- package/dist/chunk-QHR23GVH.js +1099 -0
- package/dist/chunk-VBO377AY.js +14 -0
- package/dist/chunk-VYEXPG3M.js +107 -0
- package/dist/{chunk-4VNS5WPM.js → chunk-WPLOTFGW.js} +7 -8
- package/dist/{chunk-VDKQGOMV.js → chunk-ZUOVKRKC.js} +118 -1
- package/dist/components/ui/Badge.d.ts.map +1 -1
- package/dist/components/ui/BreadCrumbs.d.ts.map +1 -1
- package/dist/components/ui/Loading.d.ts +8 -1
- package/dist/components/ui/Loading.d.ts.map +1 -1
- package/dist/components/ui/Pagination.d.ts.map +1 -1
- package/dist/components/ui/form/ChoicesField.d.ts.map +1 -1
- package/dist/components/ui/form/Combobox.d.ts.map +1 -1
- package/dist/components/ui/form/TextField.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 +6 -0
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/form.js +1808 -27501
- package/dist/gql/operation-types.d.ts +201 -5
- package/dist/gql/operation-types.d.ts.map +1 -1
- package/dist/gql/schema-types.d.ts +63 -7
- 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 +183 -3
- package/dist/modules/assortment.js +83 -4
- 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/data/miscellaneous.d.ts +1 -0
- package/dist/modules/common/data/miscellaneous.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 +66 -9
- package/dist/modules/event.js +1 -1
- package/dist/modules/filter.js +52 -3
- 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 +2 -2
- package/dist/modules/payment-providers.js +1 -1
- package/dist/modules/product-review.js +4 -4
- package/dist/modules/product.js +5000 -11
- package/dist/modules/quotation.js +8 -1
- package/dist/modules/token.js +3 -3
- package/dist/modules/warehousing-providers.js +1 -1
- package/dist/modules/work.js +23 -111
- 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 +3533 -3127
- package/out/403/index.html +3 -2
- package/out/404/index.html +3 -2
- package/out/404.html +3 -2
- package/out/423/index.html +3 -2
- package/out/500/index.html +3 -2
- package/out/_next/static/4ESrB8YpR2n44PFePtbgX/_buildManifest.js +258 -0
- package/out/_next/static/chunks/0-_s79k4_7ei_.js +5 -0
- package/out/_next/static/chunks/00aks9rqke2x0.js +7 -0
- package/out/_next/static/chunks/00az81dk4vdda.js +54 -0
- package/out/_next/static/chunks/01e4gd649r2tq.js +7 -0
- package/out/_next/static/chunks/01j2wi94k90x0.js +5 -0
- package/out/_next/static/chunks/043i-g05cyvrd.js +1 -0
- package/out/_next/static/chunks/04kyktzbxprj0.js +61 -0
- package/out/_next/static/chunks/05p330iybjojg.js +44 -0
- package/out/_next/static/chunks/05qk8ozexvlxp.js +5 -0
- package/out/_next/static/chunks/0696190awbl-j.js +100 -0
- package/out/_next/static/chunks/06i50j458a7g5.js +12 -0
- package/out/_next/static/chunks/07o9g5hqfpvjc.js +12 -0
- package/out/_next/static/chunks/08o61gwabp3h1.js +33 -0
- package/out/_next/static/chunks/09avk6mqdin_1.js +116 -0
- package/out/_next/static/chunks/0_bvgo8ev4gs7.js +7 -0
- package/out/_next/static/chunks/0amj69l-d5-85.js +1 -0
- package/out/_next/static/chunks/0b05sca2hdcys.js +30 -0
- package/out/_next/static/chunks/0c3kwkqr9evm4.js +5 -0
- package/out/_next/static/chunks/0c4jv8pwvpxei.js +1 -0
- package/out/_next/static/chunks/0c7ljn9lo_0oh.js +5 -0
- package/out/_next/static/chunks/0dqw1oya___hr.js +1 -0
- package/out/_next/static/chunks/0ewr86ctcw7fx.js +1 -0
- package/out/_next/static/chunks/0jham55cr3rhy.js +81 -0
- package/out/_next/static/chunks/0lr7o7tyjmrmf.js +8 -0
- package/out/_next/static/chunks/0mx8opz23nwlb.js +5 -0
- package/out/_next/static/chunks/0n3ixknyc6_ma.js +1 -0
- package/out/_next/static/chunks/0o0e82-3pc7ur.js +78 -0
- package/out/_next/static/chunks/0ohk7l49gjm62.js +5 -0
- package/out/_next/static/chunks/0p31l6a9hynnt.js +6 -0
- package/out/_next/static/chunks/0p7said9rdor1.js +1 -0
- package/out/_next/static/chunks/0q2e8h8498pvo.js +4 -0
- package/out/_next/static/chunks/0qa-zbgmv-k3p.js +9 -0
- package/out/_next/static/chunks/0qj3xdz043z8l.js +12 -0
- package/out/_next/static/chunks/0skst735jufgh.js +71 -0
- package/out/_next/static/chunks/0t28q5fb2jp-6.js +8 -0
- package/out/_next/static/chunks/0tmamaq8exyij.js +1 -0
- package/out/_next/static/chunks/0uls4bq8a7gyh.js +18 -0
- package/out/_next/static/chunks/0ydy3ky15gx62.js +1 -0
- package/out/_next/static/chunks/0zh311lu9jf2x.js +5 -0
- package/out/_next/static/chunks/0zpyyygbqx3pf.js +152 -0
- package/out/_next/static/chunks/0zzoylv2rl1xu.js +3 -0
- package/out/_next/static/chunks/1---h4b693b81.js +1 -0
- package/out/_next/static/chunks/10m_etq9t2pkv.js +7 -0
- package/out/_next/static/chunks/11ehf3t7qzbua.js +4 -0
- package/out/_next/static/chunks/120k989vjsno4.js +1 -0
- package/out/_next/static/chunks/12yd8t4k6c0t1.js +1 -0
- package/out/_next/static/chunks/153ec1_-yt3jb.js +344 -0
- package/out/_next/static/chunks/16le3cqxj12u6.js +5 -0
- package/out/_next/static/chunks/16zxfacsu_jbq.js +1 -0
- package/out/_next/static/chunks/17fibl49qtd6c.js +8 -0
- package/out/_next/static/chunks/18xyj4i_i5lyn.js +6 -0
- package/out/_next/static/chunks/1_3e6x79fcyv3.js +5 -0
- package/out/_next/static/chunks/1_55km6vm5mc0.js +596 -0
- package/out/_next/static/chunks/1aej6iqnlr74p.js +1 -0
- package/out/_next/static/chunks/1asbed4hne69c.js +7 -0
- package/out/_next/static/chunks/1c60nzy_x4kez.js +277 -0
- package/out/_next/static/chunks/1c77vl6xdqfd4.js +15 -0
- package/out/_next/static/chunks/1da89agg-nacc.js +224 -0
- package/out/_next/static/chunks/1f7-0l47bx76m.js +13 -0
- package/out/_next/static/chunks/1fbsyczyh9hwh.js +1 -0
- package/out/_next/static/chunks/1g96s7-fwvokd.js +2 -0
- package/out/_next/static/chunks/1gqd9vrno0rq4.js +315 -0
- package/out/_next/static/chunks/1hih2cxmgqcd3.js +10 -0
- package/out/_next/static/chunks/1hviha1jcz_og.js +4 -0
- package/out/_next/static/chunks/1il9vuoxtb2_n.js +43 -0
- package/out/_next/static/chunks/1jaatdt0mlypl.js +16 -0
- package/out/_next/static/chunks/1l4g6_of_bbr8.js +5 -0
- package/out/_next/static/chunks/1lezxecnoaxnn.js +32 -0
- package/out/_next/static/chunks/1m27au_nmk8_k.js +71 -0
- package/out/_next/static/chunks/1m4fwgl1mj4d-.js +46 -0
- package/out/_next/static/chunks/1m85ne6w_6tei.js +1 -0
- package/out/_next/static/chunks/1ma82ip9shpkc.js +24 -0
- package/out/_next/static/chunks/1nbh1zkzirnuw.js +1 -0
- package/out/_next/static/chunks/1nohf8_cc6gmw.js +9 -0
- package/out/_next/static/chunks/1os6pvhjeb16o.js +1 -0
- package/out/_next/static/chunks/1qi5yjvzxspwv.js +15 -0
- package/out/_next/static/chunks/1rsexg6dg82f0.js +7 -0
- package/out/_next/static/chunks/1s9v5dndopkuz.js +12 -0
- package/out/_next/static/chunks/1sh2ogc7tcbu-.js +1 -0
- package/out/_next/static/chunks/1sksqjru86hlm.js +1 -0
- package/out/_next/static/chunks/1tkvi0wb-x3v8.js +16 -0
- package/out/_next/static/chunks/1u79pcgqjgjpq.js +1 -0
- package/out/_next/static/chunks/1uqiaqtv_0v2x.js +5 -0
- package/out/_next/static/chunks/1x8o-luxdxxk7.js +1 -0
- package/out/_next/static/chunks/1yjb7gogaf8po.js +31 -0
- package/out/_next/static/chunks/1zyhzessv0wtg.js +1 -0
- package/out/_next/static/chunks/2-4610weysas_.js +1 -0
- package/out/_next/static/chunks/2-kvt9e7irukm.js +1 -0
- package/out/_next/static/chunks/2-pl31kdikt3k.js +5 -0
- package/out/_next/static/chunks/20c4_1i5r3kkz.js +1 -0
- package/out/_next/static/chunks/20f2gs8iua6fk.js +1 -0
- package/out/_next/static/chunks/20zdaln201w8j.js +277 -0
- package/out/_next/static/chunks/21l46nbaop06z.js +39 -0
- package/out/_next/static/chunks/22-o32hlte36e.js +130 -0
- package/out/_next/static/chunks/231j2_p-ha14w.js +7 -0
- package/out/_next/static/chunks/23s2f7_-ol94s.js +8 -0
- package/out/_next/static/chunks/26_mx-ritu68j.js +24 -0
- package/out/_next/static/chunks/26ckmxeluyknq.js +1 -0
- package/out/_next/static/chunks/26r0y7ldf3iqs.js +6 -0
- package/out/_next/static/chunks/27fzoozwycagi.js +6 -0
- package/out/_next/static/chunks/27jmq7a-vh0b4.js +7 -0
- package/out/_next/static/chunks/283567a82x9qi.js +149 -0
- package/out/_next/static/chunks/29he8uukp5s4u.js +31 -0
- package/out/_next/static/chunks/2adglo0sf0jcg.js +905 -0
- package/out/_next/static/chunks/{2kzyda4a6mqut.js → 2ajr0rk0_yax6.js} +1 -1
- package/out/_next/static/chunks/2b4ewxxz6f462.js +7 -0
- package/out/_next/static/chunks/{3zqfchpzqxd92.css → 2bh2dv7j9m8c8.css} +1 -1
- package/out/_next/static/chunks/2bi8v13lm76lr.js +95 -0
- package/out/_next/static/chunks/2burvpf9877y_.js +44 -0
- package/out/_next/static/chunks/2cj703xtrf5i6.js +46 -0
- package/out/_next/static/chunks/2cj8g3fxmitaa.js +1 -0
- package/out/_next/static/chunks/2ec7xatyld40t.js +7 -0
- package/out/_next/static/chunks/2ho4591ngh3y2.js +61 -0
- package/out/_next/static/chunks/2hoi6cb1lromr.js +4 -0
- package/out/_next/static/chunks/2i5k6tlwd58hp.js +1 -0
- package/out/_next/static/chunks/2iy0jr00qhq-q.js +5 -0
- package/out/_next/static/chunks/2jonbba27xy3u.js +14 -0
- package/out/_next/static/chunks/2l8gepfm4kyjp.js +1 -0
- package/out/_next/static/chunks/2m0rrts8gwqwp.js +1 -0
- package/out/_next/static/chunks/2m_u12ggzosat.js +5 -0
- package/out/_next/static/chunks/2mdns56l5antm.js +5 -0
- package/out/_next/static/chunks/2mrbytgs3uetd.js +4 -0
- package/out/_next/static/chunks/2p9gwjxeui1zd.js +71 -0
- package/out/_next/static/chunks/2pfhy9qy_cijn.js +5 -0
- package/out/_next/static/chunks/2q5k4rozyr2wt.js +4 -0
- package/out/_next/static/chunks/2qx8nnki_qv5v.js +171 -0
- package/out/_next/static/chunks/2r_rj84l3cy7r.js +119 -0
- package/out/_next/static/chunks/2rb1-3t3-sv5s.js +8 -0
- package/out/_next/static/chunks/2rmgaa88-4bpb.js +227 -0
- package/out/_next/static/chunks/2swxmzb-xk_bo.js +108 -0
- package/out/_next/static/chunks/2t0biwx5e_4w_.js +1 -0
- package/out/_next/static/chunks/2ts3v72jkbcdr.js +7 -0
- package/out/_next/static/chunks/2vfexvltv2avy.js +5 -0
- package/out/_next/static/chunks/2vveotzevnkfp.js +1 -0
- package/out/_next/static/chunks/2wkg65dtx56je.js +155 -0
- package/out/_next/static/chunks/2xixk0t9e9mnw.js +1 -0
- package/out/_next/static/chunks/2xz7hnr9ikqzq.js +7 -0
- package/out/_next/static/chunks/2y1lq1efnvcdt.js +23 -0
- package/out/_next/static/chunks/2ziasg8l_c9n7.js +5 -0
- package/out/_next/static/chunks/3-ve59izq9j-p.js +1 -0
- package/out/_next/static/chunks/3-wsablhqgzoa.js +1 -0
- package/out/_next/static/chunks/30ppb2wc-m4ph.js +1 -0
- package/out/_next/static/chunks/336k08jwyc5i-.js +1 -0
- package/out/_next/static/chunks/33d061qpkafqm.js +39 -0
- package/out/_next/static/chunks/33fyy6d5mo55_.js +8 -0
- package/out/_next/static/chunks/33kh18frqc3b1.js +5 -0
- package/out/_next/static/chunks/33v05ol-ire9s.js +10 -0
- package/out/_next/static/chunks/33yzdcbu7w60l.js +13 -0
- package/out/_next/static/chunks/348l8p7-vo4l5.js +63 -0
- package/out/_next/static/chunks/35hu5vin0swdf.js +41 -0
- package/out/_next/static/chunks/37a6yquh875rn.js +39 -0
- package/out/_next/static/chunks/3_2i9du5-ffrp.js +59 -0
- package/out/_next/static/chunks/3_84h3z_tewmg.js +145 -0
- package/out/_next/static/chunks/3bo7uiy-wh63m.js +108 -0
- package/out/_next/static/chunks/3c-an5ft_3emc.js +1 -0
- package/out/_next/static/chunks/3d_222ci0_30_.js +41 -0
- package/out/_next/static/chunks/3dldch03dfaed.js +1 -0
- package/out/_next/static/chunks/3eedy49gsvv_t.js +1 -0
- package/out/_next/static/chunks/3fayuejnrsd90.js +15 -0
- package/out/_next/static/chunks/3fqonijzsxy8u.js +28 -0
- package/out/_next/static/chunks/3g1ale0hytu9q.js +12 -0
- package/out/_next/static/chunks/3jxeyjg2g7w94.js +1 -0
- package/out/_next/static/chunks/3k3gvr7-e3g_s.js +5 -0
- package/out/_next/static/chunks/3kwoyyxi_-q7m.js +1 -0
- package/out/_next/static/chunks/3le1bywe19_u9.js +1 -0
- package/out/_next/static/chunks/3lku4-9kpf-mj.js +267 -0
- package/out/_next/static/chunks/3lz5h1tw50wr_.js +54 -0
- package/out/_next/static/chunks/3oq-khgfpo0nx.js +39 -0
- package/out/_next/static/chunks/3ps25ocfalcap.js +43 -0
- package/out/_next/static/chunks/3q3m075m4bxz1.js +2 -0
- package/out/_next/static/chunks/3qzrrjb48t2w3.js +119 -0
- package/out/_next/static/chunks/3r0i-7zjuz9i1.js +6 -0
- package/out/_next/static/chunks/3rgn5xwtr51ul.js +7 -0
- package/out/_next/static/chunks/3ridg_u19b6ih.js +8 -0
- package/out/_next/static/chunks/3skzk-w2ytvku.js +5 -0
- package/out/_next/static/chunks/3srw10h0hcztd.js +68 -0
- package/out/_next/static/chunks/3tgrftdet8sna.js +15 -0
- package/out/_next/static/chunks/3uax_eq1kjjta.js +1 -0
- package/out/_next/static/chunks/3uj94afpsi6cs.js +1 -0
- package/out/_next/static/chunks/3vgurvjr6hkyv.js +4 -0
- package/out/_next/static/chunks/3viepyovs19ub.js +23 -0
- package/out/_next/static/chunks/3vnzp3n_wd3j_.js +1 -0
- package/out/_next/static/chunks/3w8h5lxnd0z4z.js +1 -0
- package/out/_next/static/chunks/3wh4xa9dnw-55.js +194 -0
- package/out/_next/static/chunks/3wlvio5id54ow.js +5 -0
- package/out/_next/static/chunks/3wzvscqui-9ml.js +23 -0
- package/out/_next/static/chunks/3y8h3g1tqukrv.js +36 -0
- package/out/_next/static/chunks/3zcilnj6p9-t5.js +1 -0
- package/out/_next/static/chunks/3zmmdm68s05-t.js +217 -0
- package/out/_next/static/chunks/40l5d7o95aw37.js +4 -0
- package/out/_next/static/chunks/417kn9hki8k81.js +33 -0
- package/out/_next/static/chunks/42mofxcd0l7qi.js +1 -0
- package/out/_next/static/chunks/439tz_ubj8h-g.js +342 -0
- package/out/_next/static/chunks/43hfssep7ry-z.js +5 -0
- package/out/_next/static/chunks/45bcpjurhxb-j.js +1 -0
- package/out/_next/static/chunks/turbopack-2c3mg3r-05n1w.js +1 -0
- package/out/_offline/index.html +3 -2
- package/out/account/forgot-password/index.html +3 -2
- package/out/account/index.html +3 -2
- package/out/assortments/AssortmentDetailPage/index.html +3 -2
- package/out/assortments/index.html +3 -2
- package/out/assortments/new/index.html +3 -2
- package/out/copilot/index.html +3 -2
- package/out/country/CountryDetailPage/index.html +3 -2
- package/out/country/index.html +3 -2
- package/out/country/new/index.html +3 -2
- package/out/currency/CurrencyDetailPage/index.html +3 -2
- package/out/currency/index.html +3 -2
- package/out/currency/new/index.html +3 -2
- package/out/delivery-provider/DeliveryProviderDetailPage/index.html +3 -2
- package/out/delivery-provider/index.html +3 -2
- package/out/delivery-provider/new/index.html +3 -2
- package/out/enrollments/EnrollmentDetailPage/index.html +3 -2
- package/out/enrollments/index.html +3 -2
- package/out/events/EventDetailPage/index.html +3 -2
- package/out/events/index.html +3 -2
- package/out/exports/index.html +3 -2
- package/out/external/index.html +3 -2
- package/out/filters/FilterDetailPage/index.html +3 -2
- package/out/filters/index.html +3 -2
- package/out/filters/new/index.html +3 -2
- package/out/index.html +3 -2
- package/out/install/index.html +3 -2
- package/out/language/LanguageDetailPage/index.html +3 -2
- package/out/language/index.html +3 -2
- package/out/language/new/index.html +3 -2
- package/out/log-in/index.html +3 -2
- package/out/orders/OrderDetailPage/index.html +3 -2
- package/out/orders/index.html +3 -2
- package/out/payment-provider/PaymentProviderDetailPage/index.html +3 -2
- package/out/payment-provider/index.html +3 -2
- package/out/payment-provider/new/index.html +3 -2
- package/out/products/ProductDetailPage/index.html +3 -2
- package/out/products/index.html +3 -2
- package/out/products/new/index.html +3 -2
- package/out/quotations/QuotationDetailPage/index.html +3 -2
- package/out/quotations/index.html +3 -2
- package/out/reset-password/index.html +3 -2
- package/out/sign-up/index.html +3 -2
- package/out/styleguide/index.html +3 -2
- package/out/tokens/TokenDetailPage/index.html +3 -2
- package/out/tokens/index.html +3 -2
- package/out/users/UserDetailPage/index.html +3 -2
- package/out/users/index.html +3 -2
- package/out/users/new/index.html +3 -2
- package/out/verify-email/index.html +3 -2
- package/out/warehousing-provider/WarehousingProviderDetailPage/index.html +3 -2
- package/out/warehousing-provider/index.html +3 -2
- package/out/warehousing-provider/new/index.html +3 -2
- package/out/works/WorkDetailPage/index.html +3 -2
- package/out/works/WorkQueueListView/index.html +3 -2
- package/out/works/index.html +3 -2
- package/out/works/management/index.html +3 -2
- package/package.json +8 -8
- 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/4-xf4wPkZc5rcBq3jUTDg/_buildManifest.js +0 -258
- 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/0gurfn3nhm859.js +0 -1
- package/out/_next/static/chunks/0h0r_q6xa9qr_.js +0 -1
- 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/0m6jydfuy_4o3.js +0 -1
- 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/0r5wwinf72z4g.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/0uw9cbq0ivaz0.js +0 -1
- 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/164wr2-2gfnlb.js +0 -1
- package/out/_next/static/chunks/16ey81skn09dz.js +0 -1
- package/out/_next/static/chunks/18kae_yjyhjwf.js +0 -16
- package/out/_next/static/chunks/19y4w6_d_qiou.js +0 -1
- package/out/_next/static/chunks/1_quktgfhf40v.js +0 -31
- package/out/_next/static/chunks/1ae-9ft5cgojf.js +0 -1
- 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/1gt65pz91hyuz.js +0 -1
- 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/1xbofs3ibkjvj.js +0 -1
- 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/252jebodi67kg.js +0 -1
- 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/2ljoq6sr-g2da.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/3a7wm2331v13r.js +0 -3
- 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/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-0a3j0ezn8okfg.js +0 -1
- package/out/_next/static/chunks/turbopack-0anbjm4c1j4u4.js +0 -1
- package/out/_next/static/chunks/turbopack-0ga3wfg-oyyst.js +0 -1
- package/out/_next/static/chunks/turbopack-0m3lvbvrn923g.js +0 -1
- package/out/_next/static/chunks/turbopack-0pmjdjcdx7cqp.js +0 -1
- package/out/_next/static/chunks/turbopack-0s4b5r_1d8yqv.js +0 -1
- package/out/_next/static/chunks/turbopack-0sihqflu4qpvw.js +0 -1
- package/out/_next/static/chunks/turbopack-0tc31uax4buqq.js +0 -1
- package/out/_next/static/chunks/turbopack-0w2rzh4i3j2og.js +0 -1
- package/out/_next/static/chunks/turbopack-10ldzl5n31zl-.js +0 -1
- package/out/_next/static/chunks/turbopack-19e_bi5k2rqyy.js +0 -1
- package/out/_next/static/chunks/turbopack-19i6-4a5o4fil.js +0 -1
- package/out/_next/static/chunks/turbopack-19vr9o5829d-f.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-1o1rar8ouv6h9.js +0 -1
- package/out/_next/static/chunks/turbopack-1od_4a7nj02l4.js +0 -1
- package/out/_next/static/chunks/turbopack-1r_0o22d_puxo.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-1zn9gl4fpayoc.js +0 -1
- package/out/_next/static/chunks/turbopack-21vayl2_q4r5u.js +0 -1
- package/out/_next/static/chunks/turbopack-23nr2ioaqw90j.js +0 -1
- package/out/_next/static/chunks/turbopack-23u97wxsuqiqb.js +0 -1
- package/out/_next/static/chunks/turbopack-24ylsu2au7hg1.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-2dk8ur1fvwxzj.js +0 -1
- package/out/_next/static/chunks/turbopack-2e_wy0ffi64id.js +0 -1
- package/out/_next/static/chunks/turbopack-2fuk9oepxr5n0.js +0 -1
- package/out/_next/static/chunks/turbopack-2g2viapamsvwe.js +0 -1
- package/out/_next/static/chunks/turbopack-2ga09m38zacev.js +0 -1
- package/out/_next/static/chunks/turbopack-2pxtve7lryqre.js +0 -1
- package/out/_next/static/chunks/turbopack-2qbfd_-7v5dbo.js +0 -1
- package/out/_next/static/chunks/turbopack-2rz_y4ejrvafp.js +0 -1
- package/out/_next/static/chunks/turbopack-2u0ls0liblo_9.js +0 -1
- package/out/_next/static/chunks/turbopack-2u_328z53ed9p.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-2yekm5ij2g-aw.js +0 -1
- package/out/_next/static/chunks/turbopack-3-w-v8og1lok2.js +0 -1
- package/out/_next/static/chunks/turbopack-30qkgccwlkv7n.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-39nctu3yv9iv4.js +0 -1
- package/out/_next/static/chunks/turbopack-3_mmmbs60vr14.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-3cv3hgsoo_z1k.js +0 -1
- package/out/_next/static/chunks/turbopack-3pgmc-lv74ewz.js +0 -1
- package/out/_next/static/chunks/turbopack-3uj40sz7i7jg0.js +0 -1
- package/out/_next/static/chunks/turbopack-3v4nxmdavly34.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-3w26eu86co02z.js +0 -1
- package/out/_next/static/chunks/turbopack-3zc0h1216mtm2.js +0 -1
- package/out/_next/static/chunks/turbopack-4166pmk5_y_4x.js +0 -1
- package/out/_next/static/chunks/turbopack-431y1sh-m_0mp.js +0 -1
- /package/out/_next/static/{4-xf4wPkZc5rcBq3jUTDg → 4ESrB8YpR2n44PFePtbgX}/_clientMiddlewareManifest.js +0 -0
- /package/out/_next/static/{4-xf4wPkZc5rcBq3jUTDg → 4ESrB8YpR2n44PFePtbgX}/_ssgManifest.js +0 -0
package/dist/chunk-RORNAN2J.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { AppContext_default } from './chunk-JAVEZY3Q.js';
|
|
2
|
-
import { useContext } from 'react';
|
|
3
|
-
|
|
4
|
-
var useApp = () => {
|
|
5
|
-
const context = useContext(AppContext_default);
|
|
6
|
-
if (!context)
|
|
7
|
-
throw new Error("useLocale must be used within a LocaleProvider");
|
|
8
|
-
return context;
|
|
9
|
-
};
|
|
10
|
-
var useApp_default = useApp;
|
|
11
|
-
|
|
12
|
-
export { useApp_default };
|
package/dist/chunk-RVG6IOFC.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
|
|
3
|
-
// src/modules/modal/utils/ModalContext.ts
|
|
4
|
-
var ModalContext = React.createContext({
|
|
5
|
-
setModal: () => {
|
|
6
|
-
throw new Error("No ModalContext/ModalWrapper ancestor found.");
|
|
7
|
-
}
|
|
8
|
-
});
|
|
9
|
-
var ModalContext_default = ModalContext;
|
|
10
|
-
|
|
11
|
-
export { ModalContext_default };
|
package/dist/chunk-YZGQJJCD.js
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
// ../node_modules/date-fns/constants.js
|
|
2
|
-
var millisecondsInWeek = 6048e5;
|
|
3
|
-
var millisecondsInDay = 864e5;
|
|
4
|
-
var constructFromSymbol = /* @__PURE__ */ Symbol.for("constructDateFrom");
|
|
5
|
-
|
|
6
|
-
// ../node_modules/date-fns/constructFrom.js
|
|
7
|
-
function constructFrom(date, value) {
|
|
8
|
-
if (typeof date === "function") return date(value);
|
|
9
|
-
if (date && typeof date === "object" && constructFromSymbol in date)
|
|
10
|
-
return date[constructFromSymbol](value);
|
|
11
|
-
if (date instanceof Date) return new date.constructor(value);
|
|
12
|
-
return new Date(value);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
// ../node_modules/date-fns/toDate.js
|
|
16
|
-
function toDate(argument, context) {
|
|
17
|
-
return constructFrom(context || argument, argument);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
// ../node_modules/date-fns/startOfDay.js
|
|
21
|
-
function startOfDay(date, options) {
|
|
22
|
-
const _date = toDate(date, options?.in);
|
|
23
|
-
_date.setHours(0, 0, 0, 0);
|
|
24
|
-
return _date;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
// ../node_modules/date-fns/isDate.js
|
|
28
|
-
function isDate(value) {
|
|
29
|
-
return value instanceof Date || typeof value === "object" && Object.prototype.toString.call(value) === "[object Date]";
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
// ../node_modules/date-fns/isValid.js
|
|
33
|
-
function isValid(date) {
|
|
34
|
-
return !(!isDate(date) && typeof date !== "number" || isNaN(+toDate(date)));
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
export { constructFrom, isValid, millisecondsInDay, millisecondsInWeek, startOfDay, toDate };
|
|
@@ -1,258 +0,0 @@
|
|
|
1
|
-
self.__BUILD_MANIFEST = {
|
|
2
|
-
"/": [
|
|
3
|
-
"static/chunks/1wvicoevgxhkk.js"
|
|
4
|
-
],
|
|
5
|
-
"/403": [
|
|
6
|
-
"static/chunks/0uv4d5f9o8wu1.js"
|
|
7
|
-
],
|
|
8
|
-
"/404": [
|
|
9
|
-
"static/chunks/29w1exzy704_7.js"
|
|
10
|
-
],
|
|
11
|
-
"/423": [
|
|
12
|
-
"static/chunks/2vt52_i-6cdbh.js"
|
|
13
|
-
],
|
|
14
|
-
"/500": [
|
|
15
|
-
"static/chunks/43gv4x1sfyb5l.js"
|
|
16
|
-
],
|
|
17
|
-
"/_error": [
|
|
18
|
-
"static/chunks/0g6hr3dmen536.js"
|
|
19
|
-
],
|
|
20
|
-
"/_offline": [
|
|
21
|
-
"static/chunks/0lutmpv07icdg.js"
|
|
22
|
-
],
|
|
23
|
-
"/account": [
|
|
24
|
-
"static/chunks/22w2ovaffle-i.js"
|
|
25
|
-
],
|
|
26
|
-
"/account/forgot-password": [
|
|
27
|
-
"static/chunks/0iui_zfuxfa45.js"
|
|
28
|
-
],
|
|
29
|
-
"/assortments": [
|
|
30
|
-
"static/chunks/2sukt9l-1md8_.js"
|
|
31
|
-
],
|
|
32
|
-
"/assortments/AssortmentDetailPage": [
|
|
33
|
-
"static/chunks/3mnt471ayfsvh.js"
|
|
34
|
-
],
|
|
35
|
-
"/assortments/new": [
|
|
36
|
-
"static/chunks/0vxe9bw7ffqy2.js"
|
|
37
|
-
],
|
|
38
|
-
"/copilot": [
|
|
39
|
-
"static/chunks/3e7w6ko5psik7.js"
|
|
40
|
-
],
|
|
41
|
-
"/country": [
|
|
42
|
-
"static/chunks/049clkw76lm67.js"
|
|
43
|
-
],
|
|
44
|
-
"/country/CountryDetailPage": [
|
|
45
|
-
"static/chunks/0srpqs12m-bwy.js"
|
|
46
|
-
],
|
|
47
|
-
"/country/new": [
|
|
48
|
-
"static/chunks/0vx_1vxljh4tn.js"
|
|
49
|
-
],
|
|
50
|
-
"/currency": [
|
|
51
|
-
"static/chunks/18kae_yjyhjwf.js"
|
|
52
|
-
],
|
|
53
|
-
"/currency/CurrencyDetailPage": [
|
|
54
|
-
"static/chunks/0186bg0b60cid.js"
|
|
55
|
-
],
|
|
56
|
-
"/currency/new": [
|
|
57
|
-
"static/chunks/1vk6h4qps69vq.js"
|
|
58
|
-
],
|
|
59
|
-
"/delivery-provider": [
|
|
60
|
-
"static/chunks/1k-cn_5ey1u62.js"
|
|
61
|
-
],
|
|
62
|
-
"/delivery-provider/DeliveryProviderDetailPage": [
|
|
63
|
-
"static/chunks/3dr_oa5hx41is.js"
|
|
64
|
-
],
|
|
65
|
-
"/delivery-provider/new": [
|
|
66
|
-
"static/chunks/1g8f6jrb9cp9v.js"
|
|
67
|
-
],
|
|
68
|
-
"/enrollments": [
|
|
69
|
-
"static/chunks/21o2yfegozc0m.js"
|
|
70
|
-
],
|
|
71
|
-
"/enrollments/EnrollmentDetailPage": [
|
|
72
|
-
"static/chunks/0sh5256hzmj3b.js"
|
|
73
|
-
],
|
|
74
|
-
"/events": [
|
|
75
|
-
"static/chunks/2hvt_8j6jkd_n.js"
|
|
76
|
-
],
|
|
77
|
-
"/events/EventDetailPage": [
|
|
78
|
-
"static/chunks/2lwxs_ly4bz1o.js"
|
|
79
|
-
],
|
|
80
|
-
"/exports": [
|
|
81
|
-
"static/chunks/0cblqqpscyy7w.js"
|
|
82
|
-
],
|
|
83
|
-
"/external": [
|
|
84
|
-
"static/chunks/44r51e87s4z_d.js"
|
|
85
|
-
],
|
|
86
|
-
"/filters": [
|
|
87
|
-
"static/chunks/3zs002htik_8l.js"
|
|
88
|
-
],
|
|
89
|
-
"/filters/FilterDetailPage": [
|
|
90
|
-
"static/chunks/2iuznbar_ttrh.js"
|
|
91
|
-
],
|
|
92
|
-
"/filters/new": [
|
|
93
|
-
"static/chunks/2g39exixp92yf.js"
|
|
94
|
-
],
|
|
95
|
-
"/install": [
|
|
96
|
-
"static/chunks/0ichlp5c67dko.js"
|
|
97
|
-
],
|
|
98
|
-
"/language": [
|
|
99
|
-
"static/chunks/0nhczsa2mm354.js"
|
|
100
|
-
],
|
|
101
|
-
"/language/LanguageDetailPage": [
|
|
102
|
-
"static/chunks/43e0fp97w800k.js"
|
|
103
|
-
],
|
|
104
|
-
"/language/new": [
|
|
105
|
-
"static/chunks/3yz34q3ulli7q.js"
|
|
106
|
-
],
|
|
107
|
-
"/log-in": [
|
|
108
|
-
"static/chunks/0-mytn4v5bu5h.js"
|
|
109
|
-
],
|
|
110
|
-
"/orders": [
|
|
111
|
-
"static/chunks/1gy9ae4fpd6jm.js"
|
|
112
|
-
],
|
|
113
|
-
"/orders/OrderDetailPage": [
|
|
114
|
-
"static/chunks/3tq-bb0j1_lpu.js"
|
|
115
|
-
],
|
|
116
|
-
"/payment-provider": [
|
|
117
|
-
"static/chunks/25d8wr34sbm__.js"
|
|
118
|
-
],
|
|
119
|
-
"/payment-provider/PaymentProviderDetailPage": [
|
|
120
|
-
"static/chunks/2c4vy8ofex0ti.js"
|
|
121
|
-
],
|
|
122
|
-
"/payment-provider/new": [
|
|
123
|
-
"static/chunks/0k6z6zl_zxqp7.js"
|
|
124
|
-
],
|
|
125
|
-
"/products": [
|
|
126
|
-
"static/chunks/1cp4-dvxowp4c.js"
|
|
127
|
-
],
|
|
128
|
-
"/products/ProductDetailPage": [
|
|
129
|
-
"static/chunks/3a0hqx7ohm5lh.js"
|
|
130
|
-
],
|
|
131
|
-
"/products/new": [
|
|
132
|
-
"static/chunks/1l4snbkce_jb6.js"
|
|
133
|
-
],
|
|
134
|
-
"/quotations": [
|
|
135
|
-
"static/chunks/3jcf4ei6zgnca.js"
|
|
136
|
-
],
|
|
137
|
-
"/quotations/QuotationDetailPage": [
|
|
138
|
-
"static/chunks/08tyybz20igty.js"
|
|
139
|
-
],
|
|
140
|
-
"/reset-password": [
|
|
141
|
-
"static/chunks/3eow7lw1727kt.js"
|
|
142
|
-
],
|
|
143
|
-
"/sign-up": [
|
|
144
|
-
"static/chunks/0ryqvctymlr3k.js"
|
|
145
|
-
],
|
|
146
|
-
"/styleguide": [
|
|
147
|
-
"static/chunks/3g4qj6_qh97q_.js"
|
|
148
|
-
],
|
|
149
|
-
"/tokens": [
|
|
150
|
-
"static/chunks/1hq9yt63076pk.js"
|
|
151
|
-
],
|
|
152
|
-
"/tokens/TokenDetailPage": [
|
|
153
|
-
"static/chunks/0_02skyivjqh6.js"
|
|
154
|
-
],
|
|
155
|
-
"/users": [
|
|
156
|
-
"static/chunks/38ipj45w-tqay.js"
|
|
157
|
-
],
|
|
158
|
-
"/users/UserDetailPage": [
|
|
159
|
-
"static/chunks/3f1gb4_hyhtho.js"
|
|
160
|
-
],
|
|
161
|
-
"/users/new": [
|
|
162
|
-
"static/chunks/1aegvtb5jv57q.js"
|
|
163
|
-
],
|
|
164
|
-
"/verify-email": [
|
|
165
|
-
"static/chunks/0060t3kg_i0lf.js"
|
|
166
|
-
],
|
|
167
|
-
"/warehousing-provider": [
|
|
168
|
-
"static/chunks/3ondw3-zthjz5.js"
|
|
169
|
-
],
|
|
170
|
-
"/warehousing-provider/WarehousingProviderDetailPage": [
|
|
171
|
-
"static/chunks/3ra_41-fw410n.js"
|
|
172
|
-
],
|
|
173
|
-
"/warehousing-provider/new": [
|
|
174
|
-
"static/chunks/39634va9fx9s2.js"
|
|
175
|
-
],
|
|
176
|
-
"/works": [
|
|
177
|
-
"static/chunks/057evs7qr5y-t.js"
|
|
178
|
-
],
|
|
179
|
-
"/works/WorkDetailPage": [
|
|
180
|
-
"static/chunks/1k0mvn915uz76.js"
|
|
181
|
-
],
|
|
182
|
-
"/works/WorkQueueListView": [
|
|
183
|
-
"static/chunks/3ww_p-agyd9u-.js"
|
|
184
|
-
],
|
|
185
|
-
"/works/management": [
|
|
186
|
-
"static/chunks/41fbmiggueudh.js"
|
|
187
|
-
],
|
|
188
|
-
"__rewrites": {
|
|
189
|
-
"afterFiles": [],
|
|
190
|
-
"beforeFiles": [],
|
|
191
|
-
"fallback": []
|
|
192
|
-
},
|
|
193
|
-
"sortedPages": [
|
|
194
|
-
"/",
|
|
195
|
-
"/403",
|
|
196
|
-
"/404",
|
|
197
|
-
"/423",
|
|
198
|
-
"/500",
|
|
199
|
-
"/_app",
|
|
200
|
-
"/_error",
|
|
201
|
-
"/_offline",
|
|
202
|
-
"/account",
|
|
203
|
-
"/account/forgot-password",
|
|
204
|
-
"/assortments",
|
|
205
|
-
"/assortments/AssortmentDetailPage",
|
|
206
|
-
"/assortments/new",
|
|
207
|
-
"/copilot",
|
|
208
|
-
"/country",
|
|
209
|
-
"/country/CountryDetailPage",
|
|
210
|
-
"/country/new",
|
|
211
|
-
"/currency",
|
|
212
|
-
"/currency/CurrencyDetailPage",
|
|
213
|
-
"/currency/new",
|
|
214
|
-
"/delivery-provider",
|
|
215
|
-
"/delivery-provider/DeliveryProviderDetailPage",
|
|
216
|
-
"/delivery-provider/new",
|
|
217
|
-
"/enrollments",
|
|
218
|
-
"/enrollments/EnrollmentDetailPage",
|
|
219
|
-
"/events",
|
|
220
|
-
"/events/EventDetailPage",
|
|
221
|
-
"/exports",
|
|
222
|
-
"/external",
|
|
223
|
-
"/filters",
|
|
224
|
-
"/filters/FilterDetailPage",
|
|
225
|
-
"/filters/new",
|
|
226
|
-
"/install",
|
|
227
|
-
"/language",
|
|
228
|
-
"/language/LanguageDetailPage",
|
|
229
|
-
"/language/new",
|
|
230
|
-
"/log-in",
|
|
231
|
-
"/orders",
|
|
232
|
-
"/orders/OrderDetailPage",
|
|
233
|
-
"/payment-provider",
|
|
234
|
-
"/payment-provider/PaymentProviderDetailPage",
|
|
235
|
-
"/payment-provider/new",
|
|
236
|
-
"/products",
|
|
237
|
-
"/products/ProductDetailPage",
|
|
238
|
-
"/products/new",
|
|
239
|
-
"/quotations",
|
|
240
|
-
"/quotations/QuotationDetailPage",
|
|
241
|
-
"/reset-password",
|
|
242
|
-
"/sign-up",
|
|
243
|
-
"/styleguide",
|
|
244
|
-
"/tokens",
|
|
245
|
-
"/tokens/TokenDetailPage",
|
|
246
|
-
"/users",
|
|
247
|
-
"/users/UserDetailPage",
|
|
248
|
-
"/users/new",
|
|
249
|
-
"/verify-email",
|
|
250
|
-
"/warehousing-provider",
|
|
251
|
-
"/warehousing-provider/WarehousingProviderDetailPage",
|
|
252
|
-
"/warehousing-provider/new",
|
|
253
|
-
"/works",
|
|
254
|
-
"/works/WorkDetailPage",
|
|
255
|
-
"/works/WorkQueueListView",
|
|
256
|
-
"/works/management"
|
|
257
|
-
]
|
|
258
|
-
};self.__BUILD_MANIFEST_CB && self.__BUILD_MANIFEST_CB()
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
__turbopack_load_page_chunks__("/log-in", [
|
|
2
|
-
"static/chunks/1e4_28-3u5o85.js",
|
|
3
|
-
"static/chunks/45cd4ypk94sw2.js",
|
|
4
|
-
"static/chunks/3sktz8258so64.js",
|
|
5
|
-
"static/chunks/38pz7fmyf6ay0.js",
|
|
6
|
-
"static/chunks/06tejx8u1_0kg.js",
|
|
7
|
-
"static/chunks/1vx8_u7-f7q8u.js",
|
|
8
|
-
"static/chunks/252jebodi67kg.js",
|
|
9
|
-
"static/chunks/2-4ng9fxftmld.js",
|
|
10
|
-
"static/chunks/2hm0mbq0vtqmw.js",
|
|
11
|
-
"static/chunks/turbopack-28_dvdmt6lvhn.js"
|
|
12
|
-
])
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,36792,(e,t,s)=>{let r="/users/UserDetailPage";(window.__NEXT_P=window.__NEXT_P||[]).push([r,()=>e.r(2385)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([r])})},60513,75284,e=>{"use strict";var t=e.i(91788),s=e.i(28401),r=e.i(69322),a=e.i(30086),l=e.i(66773),i=e.i(98926),d=e.i(63104),u=e.i(3828);e.s(["useCSVExport",0,()=>{let[e,o]=(0,t.useState)(!1),n=(0,i.useApolloClient)(),c=(0,u.useRouter)(),{addWork:f}=(0,a.default)(),{formatMessage:k}=(0,r.useIntl)(),p=(0,t.useCallback)(async e=>{let{data:t}=await n.query({query:(0,d.GetWorkQuery)(),variables:{workId:e},fetchPolicy:"network-only"});return t?.work??null},[n]);return{isExporting:e,exportCSV:(0,t.useCallback)(async({type:e,pollInterval:t=2e3,...r})=>{o(!0);try{let s=await f({type:l.IWorkType.BulkExport,input:{type:e,...r}}),a=s?.data?.addWork?._id;if(!a)throw Error("Failed to create export work");await new Promise((e,s)=>{let r=setInterval(async()=>{try{let t=await p(a);if(!t)throw Error("Work not found");(t.status===l.IWorkStatus.Success||t.status===l.IWorkStatus.Failed)&&(clearInterval(r),t.status===l.IWorkStatus.Success&&t.success?(c.push(`/exports?workId=${t._id}`),e(t)):s(t.error||Error("Export failed")))}catch(e){clearInterval(r),s(e)}},t)})}catch(e){return console.error("Export failed:",e),s.toast.error(k({id:"export_failed",defaultMessage:"Export failed. Please try again."})),null}finally{o(!1)}},[f,p,c,k])}}],60513);var o=e.i(91398),n=e.i(69211),c=e.i(64127),f=e.i(98949),k=e.i(99160);e.s(["default",0,function({options:e,onSubmit:s,loading:a=!1,successMessage:l=""}){let{formatMessage:i}=(0,r.useIntl)(),d=(0,t.useMemo)(()=>e.reduce((e,t)=>(e[t.key]=t.defaultChecked??!0,e),{}),[e]),u=async e=>(await s(e),{success:!0}),p=(0,f.default)({successMessage:l||i({id:"export_completed",defaultMessage:"Data exported successfully"}),submit:u,enableReinitialize:!0,initialValues:d});return(0,o.jsx)(n.default,{form:p,children:p.formik.isSubmitting?(0,o.jsxs)("div",{className:"flex items-center gap-3 p-4 mb-4 rounded-lg animate-pulse",children:[(0,o.jsx)("div",{className:"w-5 h-5 border-2 border-blue-600 border-t-transparent rounded-full animate-spin"}),(0,o.jsx)("span",{className:"text-sm font-medium text-blue-700 dark:text-blue-300",children:i({id:"exporting_message",defaultMessage:"Generating your export files. This may take a moment..."})})]}):(0,o.jsxs)("fieldset",{disabled:a,style:{border:"none",padding:0},children:[(0,o.jsxs)("h3",{children:[" ",i({id:"export_options",defaultMessage:"Export options"})]}),e.map(e=>(0,o.jsx)(c.default,{name:e.key,label:e.label,hideLabel:!0,className:"mr-2 h-4 w-4 justify-between rounded-sm border-slate-300 dark:border-slate-600 bg-white text-slate-950 focus:ring-slate-800 lg:items-center",type:"checkbox"},e.key)),(0,o.jsx)(k.default,{label:i({id:"submit",defaultMessage:"Submit"}),disabled:a})]})})}],75284)},64127,e=>{"use strict";var t=e.i(91398),s=e.i(72043),r=e.i(60741);e.s(["default",0,e=>{let{disabled:a,labelClassName:l,containerClassName:i,inputClassName:d,...u}=e,o=(0,r.default)({...e,type:"checkbox"});return(0,t.jsxs)("div",{className:(0,s.default)("",{"text-rose-600":!!o.error,checkbox:!0,disabled:o.disabled,required:o.required},i),children:[(0,t.jsx)("input",{checked:!!o.value,disabled:a,id:o.name,name:o.name,onChange:o.onChange,onBlur:o.onBlur,type:"checkbox",className:(0,s.default)("h-4 w-4 rounded-xs border-slate-300 dark:border-slate-600 bg-white dark:!bg-slate-800 text-indigo-600 dark:text-slate-200 focus:ring-slate-800",d,e.className),...u}),(0,t.jsx)("label",{htmlFor:o.name,className:(0,s.default)("text-sm text-slate-900 dark:text-slate-200",l,{"text-danger":!!o.error}),children:o.label})]})}])},94672,e=>{"use strict";var t=e.i(59080);let s=t.gql`
|
|
2
|
-
fragment WorkFragment on Work {
|
|
3
|
-
_id
|
|
4
|
-
type
|
|
5
|
-
scheduled
|
|
6
|
-
status
|
|
7
|
-
started
|
|
8
|
-
success
|
|
9
|
-
finished
|
|
10
|
-
created
|
|
11
|
-
deleted
|
|
12
|
-
retries
|
|
13
|
-
original {
|
|
14
|
-
_id
|
|
15
|
-
retries
|
|
16
|
-
}
|
|
17
|
-
input
|
|
18
|
-
result
|
|
19
|
-
}
|
|
20
|
-
`;e.s(["default",0,s])},30086,e=>{"use strict";var t=e.i(59080),s=e.i(76204);let r=t.gql`
|
|
21
|
-
mutation AddWork(
|
|
22
|
-
$type: WorkType!
|
|
23
|
-
$priority: Int! = 0
|
|
24
|
-
$input: JSON
|
|
25
|
-
$originalWorkId: ID
|
|
26
|
-
$scheduled: Timestamp
|
|
27
|
-
$retries: Int! = 20
|
|
28
|
-
) {
|
|
29
|
-
addWork(
|
|
30
|
-
type: $type
|
|
31
|
-
priority: $priority
|
|
32
|
-
input: $input
|
|
33
|
-
originalWorkId: $originalWorkId
|
|
34
|
-
scheduled: $scheduled
|
|
35
|
-
retries: $retries
|
|
36
|
-
) {
|
|
37
|
-
_id
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
`;e.s(["default",0,()=>{let[e]=(0,s.useMutation)(r);return{addWork:async({type:t,priority:s,input:r,originalWorkId:a,scheduled:l=null,retries:i})=>e({variables:{type:t,priority:s,input:r,originalWorkId:a,scheduled:l,retries:i},refetchQueries:["WorkQueue"]})}}])},63104,e=>{"use strict";var t=e.i(59080),s=e.i(32171),r=e.i(70693),a=e.i(94672);let l=(e="")=>t.gql`
|
|
41
|
-
query Work($workId: ID!) {
|
|
42
|
-
work(workId: $workId) {
|
|
43
|
-
...WorkFragment
|
|
44
|
-
${e}
|
|
45
|
-
error
|
|
46
|
-
priority
|
|
47
|
-
worker
|
|
48
|
-
timeout
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
${a.default}
|
|
52
|
-
`;e.s(["GetWorkQuery",0,l,"default",0,({workId:e=null,...t})=>{let{customProperties:a}=(0,r.default)(),{data:i,loading:d,error:u,previousData:o}=(0,s.useQuery)(l(a?.Work),{skip:!e,variables:{workId:e},...t});return{work:i?.work||o?.work,loading:d,error:u}}])},2385,e=>{"use strict";var t=e.i(91398),s=e.i(3828),r=e.i(66773),a=e.i(69322),l=e.i(59080),i=e.i(32171),d=e.i(70693),u=e.i(73298);let o=({userId:e=null}={})=>{let{customProperties:t,hydrateFragment:s}=(0,d.default)(),{data:r,loading:a,error:o}=(0,i.useQuery)(((e="")=>l.gql`
|
|
53
|
-
query User($userId: ID) {
|
|
54
|
-
user(userId: $userId) {
|
|
55
|
-
${e}
|
|
56
|
-
...UserFragment
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
${u.default}
|
|
60
|
-
`)(t?.User),{skip:!e,variables:{userId:e}}),n=r?.user,c=s(t?.User,n);return{user:n,loading:a,error:o,extendedData:c}};var n=e.i(61494),c=e.i(17644),f=e.i(62274),k=e.i(23745),p=e.i(91788),x=e.i(6607),m=e.i(15971),h=e.i(28401),g=e.i(58971),b=e.i(93380),y=e.i(81013),w=e.i(60513),_=e.i(75284);let v=({userId:e})=>{let{setModal:s}=(0,x.default)(),{user:r,loading:l}=o({userId:e}),{exportUser:i,isExporting:d}=(()=>{let{exportCSV:e,isExporting:t}=(0,w.useCSVExport)();return{exportUser:(0,p.useCallback)(async t=>{await e({type:"User",...t})},[e]),isExporting:t}})(),{formatMessage:u}=(0,a.useIntl)(),n=[{key:"exportBookmarks",label:u({id:"bookmarks",defaultMessage:"Bookmarks"}),defaultChecked:!0},{key:"exportOrders",label:u({id:"orders",defaultMessage:"Orders"}),defaultChecked:!0},{key:"exportReviews",label:u({id:"reviews",defaultMessage:"Reviews"}),defaultChecked:!0},{key:"exportQuotations",label:u({id:"quotations",defaultMessage:"Quotations"}),defaultChecked:!0},{key:"exportEnrollments",label:u({id:"enrollments",defaultMessage:"Enrollments"}),defaultChecked:!0}],c=(0,p.useCallback)(async t=>{await i({userId:e,...t}),s(null)},[e,i,s]);return l?null:(0,t.jsx)(y.default,{onClick:()=>{s((0,t.jsx)(_.default,{options:n,onSubmit:c,loading:d}))},disabled:d||!r,variant:"secondary",text:u(d?{id:"exporting",defaultMessage:"Exporting..."}:{id:"export",defaultMessage:"Export"})})};var I=e.i(72419);e.s(["default",0,({userId:e})=>{let{formatMessage:l}=(0,a.useIntl)(),{setModal:i}=(0,x.default)(),{deleteUser:d}=(0,k.default)(),{user:u,extendedData:y}=o({userId:e}),w=(0,s.useRouter)(),{hasRole:_}=(0,g.default)(),j=(0,p.useCallback)(async()=>{await i((0,t.jsx)(m.default,{onCancelClick:async()=>i(""),message:l({id:"delete_user_account_confirmation",defaultMessage:"This action might cause inconsistencies with other data that relates to it "}),onOkClick:async()=>{i("");try{await d(u._id),h.toast.success(l({id:"user_deleted",defaultMessage:"User deleted successfully"})),w.push("/users")}catch(e){h.toast.error((0,I.default)(e,l))}},okText:l({id:"delete_user_account",defaultMessage:"Delete user"})}))},[u]);return(0,t.jsxs)("div",{className:" max-w-6xl",children:[(0,t.jsx)(n.default,{currentPageTitle:u?`${u?.name}`:""}),(0,t.jsx)(c.default,{headerText:(0,b.default)(u)||l({id:"users_setting_list_header",defaultMessage:"User settings"}),onDelete:!u?.deleted&&_(r.IRoleAction.RemoveUser)?j:null,title:l({id:"user_detail_title",defaultMessage:"User {id}"},{id:u?.username}),children:(0,t.jsx)(v,{userId:e})}),(0,t.jsx)(f.default,{user:u,extendedData:y})]})}],2385)},28805,e=>{e.v(t=>Promise.all(["static/chunks/0h0r_q6xa9qr_.js"].map(t=>e.l(t))).then(()=>t(79466)))},48761,e=>{e.v(t=>Promise.all(["static/chunks/1ae-9ft5cgojf.js"].map(t=>e.l(t))).then(()=>t(93594)))}]);
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
__turbopack_load_page_chunks__("/verify-email", [
|
|
2
|
-
"static/chunks/275o3ly3svw4p.js",
|
|
3
|
-
"static/chunks/252jebodi67kg.js",
|
|
4
|
-
"static/chunks/3oxv1fo564rrf.js",
|
|
5
|
-
"static/chunks/06tejx8u1_0kg.js",
|
|
6
|
-
"static/chunks/1vx8_u7-f7q8u.js",
|
|
7
|
-
"static/chunks/2hm0mbq0vtqmw.js",
|
|
8
|
-
"static/chunks/3sktz8258so64.js",
|
|
9
|
-
"static/chunks/turbopack-19yw5qwon7l57.js"
|
|
10
|
-
])
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
__turbopack_load_page_chunks__("/currency/CurrencyDetailPage", [
|
|
2
|
-
"static/chunks/1pxor-3_vf3du.js",
|
|
3
|
-
"static/chunks/36yth4lm03_j8.js",
|
|
4
|
-
"static/chunks/3sktz8258so64.js",
|
|
5
|
-
"static/chunks/0d6_opzy2p6ik.js",
|
|
6
|
-
"static/chunks/38pz7fmyf6ay0.js",
|
|
7
|
-
"static/chunks/06tejx8u1_0kg.js",
|
|
8
|
-
"static/chunks/2-4ng9fxftmld.js",
|
|
9
|
-
"static/chunks/1vx8_u7-f7q8u.js",
|
|
10
|
-
"static/chunks/252jebodi67kg.js",
|
|
11
|
-
"static/chunks/2hm0mbq0vtqmw.js",
|
|
12
|
-
"static/chunks/turbopack-3vyi51cuxeowy.js"
|
|
13
|
-
])
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,70693,12970,e=>{"use strict";var t=e.i(91788);let s=t.default.createContext({customProperties:{},hydrateFragment:(e,t)=>null});e.s(["default",0,s],12970),e.s(["default",0,()=>(0,t.useContext)(s)],70693)},74954,e=>{"use strict";var t=e.i(91398),s=e.i(91788);e.s(["default",0,({value:e,duration:l=300})=>{let[a,r]=(0,s.useState)(0);return(0,s.useEffect)(()=>{let t,s;if(0===e)return void r(0);let a=i=>{t||(t=i);let d=Math.min((i-t)/l,1);r(Math.round((1-Math.pow(1-d,3))*e)),d<1&&(s=requestAnimationFrame(a))};return s=requestAnimationFrame(a),()=>{s&&cancelAnimationFrame(s)}},[e,l]),(0,t.jsx)("span",{children:a})}])},42427,e=>{"use strict";var t=e.i(91398),s=e.i(72043);e.s(["default",0,({id:e,label:l,value:a,onChange:r,placeholder:i,min:d,max:n,className:u,containerClassName:o})=>(0,t.jsxs)("div",{className:(0,s.default)("flex flex-col gap-1",o),children:[l&&(0,t.jsx)("label",{htmlFor:e,className:"text-sm font-medium text-slate-700 dark:text-slate-300",children:l}),(0,t.jsx)("input",{type:"date",id:e,value:a||"",onChange:e=>{r(e.target.value||null)},placeholder:i,min:d,max:n,className:(0,s.default)("w-full rounded-md border-1 border-slate-300 dark:border-slate-700 bg-white dark:bg-slate-900 px-3 py-2 text-sm shadow-xs text-slate-900 dark:text-slate-200 focus:outline-hidden focus:ring-2 focus:ring-slate-800 dark:[color-scheme:dark]",u)})]})])},78704,e=>{"use strict";var t=e.i(91398),s=e.i(91788),l=e.i(12197);e.s(["default",0,({loading:e,hasMore:a,onLoadMore:r,children:i,threshold:d=200})=>{let n=(0,s.useRef)(null),u=(0,s.useCallback)(t=>{let[s]=t;s.isIntersecting&&a&&!e&&r()},[a,e,r]);return(0,s.useEffect)(()=>{let e=n.current;if(!e)return;let t=new IntersectionObserver(u,{rootMargin:`${d}px`});return t.observe(e),()=>{t.disconnect()}},[u,d]),(0,t.jsxs)(t.Fragment,{children:[i,(0,t.jsx)("div",{ref:n,className:"h-4"}),e&&(0,t.jsx)("div",{className:"flex justify-center py-4",children:(0,t.jsx)(l.default,{})})]})}])},94724,e=>{"use strict";var t=e.i(91398),s=e.i(69322);e.s(["default",0,({children:e=null,totalRecords:l=null})=>{let{formatMessage:a}=(0,s.useIntl)();return(0,t.jsxs)("div",{className:"mt-5",children:[null!==l?(0,t.jsx)("div",{className:"text-md text-slate-950 dark:text-slate-100 mb-3",children:a({id:"total_records",defaultMessage:"{total} records found"},{total:l??0})}):null,e&&(0,t.jsx)("div",{className:"flex items-center mt-10",children:(0,t.jsx)("h3",{className:"text-xs leading-6 text-slate-500 dark:text-slate-200",children:e})})]})}])},12197,e=>{"use strict";var t=e.i(91398),s=e.i(69322);e.s(["default",0,()=>{let{formatMessage:e}=(0,s.useIntl)();return(0,t.jsx)("div",{className:"my-5 flex h-full w-full items-center justify-center bg-slate-50 dark:bg-slate-950 py-5",children:(0,t.jsxs)("div",{className:"flex items-center justify-center space-x-1 text-sm text-slate-700 dark:text-slate-200",children:[(0,t.jsx)("svg",{fill:"none",className:"h-6 w-6 animate-spin",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{clipRule:"evenodd",d:"M15.165 8.53a.5.5 0 01-.404.58A7 7 0 1023 16a.5.5 0 011 0 8 8 0 11-9.416-7.874.5.5 0 01.58.404z",fill:"currentColor",fillRule:"evenodd"})}),(0,t.jsx)("div",{children:e({id:"loading",defaultMessage:"Loading ..."})})]})})}])},75229,88737,e=>{"use strict";var t=e.i(91398);e.s(["default",0,({name:e="",showName:s=!0,className:l=""}={})=>(0,t.jsx)("div",{className:`flex-col ${l}`,children:e&&s&&(0,t.jsx)("p",{className:"text-sm font-medium text-slate-700 group-hover:text-slate-900",children:e})})],75229);var s=e.i(91788);let l=s.forwardRef(function({title:e,titleId:t,...l},a){return s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},l),e?s.createElement("title",{id:t},e):null,s.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 3h1.386c.51 0 .955.343 1.087.835l.383 1.437M7.5 14.25a3 3 0 0 0-3 3h15.75m-12.75-3h11.218c1.121-2.3 2.1-4.684 2.924-7.138a60.114 60.114 0 0 0-16.536-1.84M7.5 14.25 5.106 5.272M6 20.25a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Zm12.75 0a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"}))});e.s(["ShoppingCartIcon",0,l],88737)},26178,e=>{"use strict";var t=e.i(91398),s=e.i(91788);let l=s.forwardRef(function({title:e,titleId:t,...l},a){return s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},l),e?s.createElement("title",{id:t},e):null,s.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M18.364 18.364A9 9 0 0 0 5.636 5.636m12.728 12.728A9 9 0 0 1 5.636 5.636m12.728 12.728L5.636 5.636"}))});var a=e.i(72043),r=e.i(69322);e.s(["default",0,({message:e,className:s="",Icon:i=null})=>(0,t.jsx)("div",{className:(0,a.default)("rounded-md flex w-full flex-col items-center justify-center min-h-[176px] py-8 border-1 border-dashed border-slate-300 dark:border-slate-700 text-slate-500 dark:text-slate-600",s),children:(0,t.jsxs)("div",{className:"grid items-center justify-center",children:[(0,t.jsx)("div",{className:"flex items-center justify-center text-slate-400 dark:text-slate-600",children:i||(0,t.jsx)(l,{className:"h-6 w-6"})}),(0,t.jsx)(r.FormattedMessage,{id:"no_data_message",defaultMessage:"<p>No <span> {message} available</span> </p>",values:{p:e=>(0,t.jsx)("p",{className:"mt-2 m-auto flex items-center justify-center",children:e}),span:e=>(0,t.jsxs)("span",{className:"capitalize ml-1",children:[" ",e," "]}),message:e}})]})})],26178)},16371,e=>{"use strict";var t=e.i(91788),s=e.i(30943);e.s(["default",0,({children:e,container:l=null,className:a=""})=>{let r=(0,t.useRef)(null),[i,d]=(0,t.useState)(!1);return((0,t.useEffect)(()=>{let e=document.createElement("div");a&&(e.className=a),r.current=e;let t=l||document.body;return t.appendChild(e),d(!0),()=>{r.current&&t.contains(r.current)&&t.removeChild(r.current)}},[l,a]),i&&r.current)?(0,s.createPortal)(e,r.current):null}])},20495,e=>{"use strict";var t=e.i(91398),s=e.i(69322),l=e.i(2765);e.s(["default",0,({inputText:e=null,onInputChange:a,defaultValue:r})=>{let{formatMessage:i}=(0,s.useIntl)(),d=(0,l.default)(200)(a);return(0,t.jsxs)("div",{className:"w-full",children:[(0,t.jsx)("label",{htmlFor:"search",className:"sr-only",children:e||i({id:"search",defaultMessage:"Search"})}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("div",{className:"pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3",children:(0,t.jsx)("svg",{className:"h-5 w-5 text-slate-400 dark:text-slate-200",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z",clipRule:"evenodd"})})}),(0,t.jsx)("input",{onChange:e=>d(e.target.value),id:"search",defaultValue:r,name:"search",className:"block w-full rounded-md border-1 border-slate-300 dark:border-slate-700 text-slate-900 dark:bg-slate-900 dark:text-slate-200 py-3 pl-10 px-4 shadow-xs placeholder:text-slate-400 dark:placeholder:text-slate-400 focus:ring-2 focus:ring-slate-800 focus:outline-hidden sm:text-sm",placeholder:i({id:"search",defaultMessage:"Search"}),type:"search"})]})]})}])},51128,e=>{"use strict";var t=e.i(91398),s=e.i(69322),l=e.i(3828),a=e.i(20495),r=e.i(68835),i=e.i(65153),d=e.i(83147),n=e.i(73319);e.s(["default",0,({children:e,onSearchChange:u,defaultSearchValue:o,showTagFilter:c=!1,availableTagOptions:f=[]})=>{let{formatMessage:m}=(0,s.useIntl)(),{query:x,push:h}=(0,l.useRouter)(),g=e=>{if((0,n.isTruthy)(e))h({query:(0,d.normalizeQuery)(x,e?.join(","),"tags")});else{let{tags:e,...t}=x;h({query:(0,d.normalizeQuery)(t)})}};return(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"my-3 flex flex-col gap-3",children:(0,t.jsxs)("div",{className:"flex flex-col sm:flex-row sm:items-start gap-3",children:[(0,t.jsx)("div",{className:"flex-shrink-0",children:(0,t.jsx)(a.default,{onInputChange:u,defaultValue:o})}),c&&(0,t.jsxs)("div",{className:"flex flex-col gap-2 flex-1 sm:border-l sm:border-slate-300 sm:dark:border-slate-700 sm:pl-3",children:[(0,t.jsx)("div",{className:"max-w-xs",children:(0,t.jsx)(r.default,{buttonText:m({id:"apply",defaultMessage:"Apply"}),placeholder:m({id:"enter_tag",defaultMessage:"Enter tag..."}),tagList:x?.tags?.split(","),onChange:g,selectOptions:f,showTagsInline:!1})}),x?.tags?.split(",").filter(Boolean).length>0&&(0,t.jsx)("div",{className:"flex flex-wrap gap-2",children:x?.tags?.split(",").filter(Boolean).map(e=>(0,t.jsx)(i.default,{text:e,color:"slate",onClick:()=>{let t=x?.tags?.split(",").filter(t=>t!==e);g(t.length>0?t:null)}},e))})]})]})}),e]})}])},8918,e=>{"use strict";var t=e.i(91398),s=e.i(91788),l=e.i(72043),a=e.i(69322),r=e.i(88566),i=e.i(25575),d=e.i(3828),n=e.i(83147);let u=({onSort:e,sortDirection:s})=>s?"ASC"===s?(0,t.jsx)(i.ChevronUpIcon,{className:"ml-2 w-5 h-5 text-slate-700",onClick:e}):(0,t.jsx)(r.ChevronDownIcon,{className:"ml-2 w-5 h-5 text-slate-700",onClick:e}):(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"ml-2 w-6 h-6",onClick:e,children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 15L12 18.75 15.75 15m-7.5-6L12 5.25 15.75 9"})});var o=e.i(26178);let c=e=>{let t=[],l=[],a=[];return s.default.Children.forEach(e.children,e=>{e?.props?.header?t.push(e):e?.props?.footer?a.push(e):l.push(e)}),{header:t,footer:a,body:l}},f=({className:e="",...r})=>{let[i,d]=(0,s.useState)(c(r)),{formatMessage:n}=(0,a.useIntl)(),u={...i,header:s.default.Children.map(i.header,e=>s.default.cloneElement(e))};return(0,s.useEffect)(()=>{d(c(r))},[r.children]),u.header.length||u.body.length?(0,t.jsxs)("table",{className:(0,l.default)("overflow-hidden my-3 flex w-full flex-row flex-nowrap divide-y divide-slate-200 dark:divide-slate-600 shadow-sm sm:rounded-lg sm:bg-white dark:bg-slate-950",e),...r,children:[(0,t.jsx)("thead",{className:"hidden sm:table-header-group bg-slate-100 dark:bg-slate-700 text-sm text-slate-700 dark:text-slate-200",children:u.header}),u.body.length?(0,t.jsx)("tbody",{className:"space-y-4 sm:space-y-0 flex-1 sm:divide-y divide-slate-200 dark:divide-slate-700 sm:bg-white dark:sm:bg-slate-800 sm:flex-none",children:u.body}):null,u.footer.length?(0,t.jsx)("tfoot",{children:u.footer}):null]}):(0,t.jsx)(o.default,{message:n({id:"data",defaultMessage:"Data"})})};f.Row=({className:e="",children:a=[],header:r=!1,enablesort:i=!1,...d})=>{let n=s.default.Children.map(a,e=>s.default?.cloneElement(e||(0,t.jsx)("span",{}),{header:r,enablesort:i}));return(0,t.jsx)("tr",{className:(0,l.default)("grid grid-cols-1 auto-rows-fr border border-slate-100 dark:border-slate-700 sm:border-0 rounded-md sm:mb-0 sm:table-row sm:rounded-none bg-white dark:bg-slate-800 sm:bg-inherit dark:sm:bg-inherit",e),...d,children:n})},f.Cell=({className:e="",header:s=!1,enablesort:a=!1,children:r,sortKey:i=null,defaultSortDirection:o=null,...c})=>{let f=(0,d.useRouter)(),m=(0,n.getSortKeys)(f.query?.sort),x=s?"th":"td";return(0,t.jsx)(x,{className:(0,l.default)(s?"px-4 py-3 text-left text-slate-500 dark:text-slate-200":"whitespace-nowrap px-4 py-3 text-slate-500 dark:text-slate-200 border-b dark:border-slate-300 last:border-b-0 sm:border-b-0 text-left flex items-center sm:table-cell",e),...c,children:(0,t.jsxs)("div",{className:"flex items-center",children:[r,"th"===x&&a&&i&&(0,t.jsx)(u,{onSort:e=>{var t;let s;e.preventDefault(),((t=m[i])?"ASC"===t?"DESC":null:"ASC")||!m[i]?s={...m,[i]:"ASC"===m[i]?"DESC":"ASC"}:(delete m[i],s=m);let l=Object.entries(s).map(([e,t])=>[e,t].join("_")).join(","),{sort:a,...r}=f.query,d=Object.keys(r).map(e=>[e,r[e]].join("=")).join("&"),u=0===Object.keys(r).length?`${f.basePath}?sort=${l}`:`${f.basePath}?${d}&sort=${l}`;l?f.push(u):f.push({query:(0,n.normalizeQuery)(r)})},sortDirection:Object.keys(m).length?m[i]:o})]})})},e.s(["default",0,f],8918)},3095,e=>{"use strict";var t=e.i(91398),s=e.i(91788),l=e.i(69322),a=e.i(86712),r=e.i(76842),i=e.i(24557),d=e.i(16371);e.s(["default",0,({onEdit:e,onDelete:n,editLabel:u,deleteLabel:o,showEdit:c=!0,showDelete:f=!0})=>{let{formatMessage:m}=(0,l.useIntl)(),[x,h]=(0,s.useState)(!1),[g,p]=(0,s.useState)({top:0,left:0}),v=(0,s.useRef)(null),w=(0,s.useRef)(null);(0,s.useEffect)(()=>{let e=e=>{v.current&&!v.current.contains(e.target)&&h(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[]);let b=(e,t)=>{e.stopPropagation(),e.preventDefault(),t&&t(),h(!1)};return 0===[c&&e,f&&n].filter(Boolean).length?null:(0,t.jsxs)("div",{className:"flex justify-end w-full",children:[(0,t.jsx)("button",{ref:w,type:"button",onClick:e=>{e.stopPropagation(),e.preventDefault(),x||(()=>{if(!w.current)return;let e=w.current.getBoundingClientRect(),t=e.bottom+4,s=e.right-192;s<8&&(s=8),t+80>window.innerHeight-8&&(t=e.top-80-4),p({top:t,left:s})})(),h(!x)},className:"flex items-center justify-center w-8 h-8 rounded-md hover:bg-slate-100 dark:hover:bg-slate-700 transition-colors","aria-label":m({id:"table_actions_menu",defaultMessage:"Actions menu"}),children:(0,t.jsx)(a.EllipsisHorizontalIcon,{className:"w-5 h-5 text-slate-500 dark:text-slate-400"})}),x&&(0,t.jsx)(d.default,{children:(0,t.jsx)("div",{ref:v,className:"fixed w-48 bg-white dark:bg-slate-800 rounded-md shadow-xl border border-slate-200 dark:border-slate-700 z-[9999]",style:{top:g.top,left:g.left},children:(0,t.jsxs)("div",{className:"py-1",children:[c&&e&&(0,t.jsxs)("button",{type:"button",onClick:t=>b(t,e),className:"flex items-center w-full px-4 py-2 text-sm text-slate-700 dark:text-slate-200 hover:bg-slate-100 dark:hover:bg-slate-700 transition-colors",children:[(0,t.jsx)(r.PencilIcon,{className:"mr-3 h-5 w-5"}),u||m({id:"edit",defaultMessage:"Edit"})]}),f&&n&&(0,t.jsxs)("button",{type:"button",onClick:e=>b(e,n),className:"flex items-center w-full px-4 py-2 text-sm text-rose-500 dark:text-rose-400 hover:bg-rose-50 dark:hover:bg-rose-900/20 transition-colors",children:[(0,t.jsx)(i.TrashIcon,{className:"mr-3 h-5 w-5"}),o||m({id:"delete",defaultMessage:"Delete"})]})]})})})]})}])},60513,75284,e=>{"use strict";var t=e.i(91788),s=e.i(28401),l=e.i(69322),a=e.i(30086),r=e.i(66773),i=e.i(98926),d=e.i(63104),n=e.i(3828);e.s(["useCSVExport",0,()=>{let[e,u]=(0,t.useState)(!1),o=(0,i.useApolloClient)(),c=(0,n.useRouter)(),{addWork:f}=(0,a.default)(),{formatMessage:m}=(0,l.useIntl)(),x=(0,t.useCallback)(async e=>{let{data:t}=await o.query({query:(0,d.GetWorkQuery)(),variables:{workId:e},fetchPolicy:"network-only"});return t?.work??null},[o]);return{isExporting:e,exportCSV:(0,t.useCallback)(async({type:e,pollInterval:t=2e3,...l})=>{u(!0);try{let s=await f({type:r.IWorkType.BulkExport,input:{type:e,...l}}),a=s?.data?.addWork?._id;if(!a)throw Error("Failed to create export work");await new Promise((e,s)=>{let l=setInterval(async()=>{try{let t=await x(a);if(!t)throw Error("Work not found");(t.status===r.IWorkStatus.Success||t.status===r.IWorkStatus.Failed)&&(clearInterval(l),t.status===r.IWorkStatus.Success&&t.success?(c.push(`/exports?workId=${t._id}`),e(t)):s(t.error||Error("Export failed")))}catch(e){clearInterval(l),s(e)}},t)})}catch(e){return console.error("Export failed:",e),s.toast.error(m({id:"export_failed",defaultMessage:"Export failed. Please try again."})),null}finally{u(!1)}},[f,x,c,m])}}],60513);var u=e.i(91398),o=e.i(69211),c=e.i(64127),f=e.i(98949),m=e.i(99160);e.s(["default",0,function({options:e,onSubmit:s,loading:a=!1,successMessage:r=""}){let{formatMessage:i}=(0,l.useIntl)(),d=(0,t.useMemo)(()=>e.reduce((e,t)=>(e[t.key]=t.defaultChecked??!0,e),{}),[e]),n=async e=>(await s(e),{success:!0}),x=(0,f.default)({successMessage:r||i({id:"export_completed",defaultMessage:"Data exported successfully"}),submit:n,enableReinitialize:!0,initialValues:d});return(0,u.jsx)(o.default,{form:x,children:x.formik.isSubmitting?(0,u.jsxs)("div",{className:"flex items-center gap-3 p-4 mb-4 rounded-lg animate-pulse",children:[(0,u.jsx)("div",{className:"w-5 h-5 border-2 border-blue-600 border-t-transparent rounded-full animate-spin"}),(0,u.jsx)("span",{className:"text-sm font-medium text-blue-700 dark:text-blue-300",children:i({id:"exporting_message",defaultMessage:"Generating your export files. This may take a moment..."})})]}):(0,u.jsxs)("fieldset",{disabled:a,style:{border:"none",padding:0},children:[(0,u.jsxs)("h3",{children:[" ",i({id:"export_options",defaultMessage:"Export options"})]}),e.map(e=>(0,u.jsx)(c.default,{name:e.key,label:e.label,hideLabel:!0,className:"mr-2 h-4 w-4 justify-between rounded-sm border-slate-300 dark:border-slate-600 bg-white text-slate-950 focus:ring-slate-800 lg:items-center",type:"checkbox"},e.key)),(0,u.jsx)(m.default,{label:i({id:"submit",defaultMessage:"Submit"}),disabled:a})]})})}],75284)},79684,e=>{"use strict";var t=e.i(91788);e.s(["default",0,(e,s)=>{let[l,a]=(0,t.useState)(()=>{try{if(window.localStorage){let t=window.localStorage.getItem(e);return t?JSON.parse(t):s}return s}catch(e){return s}});return[l,t=>{try{if(window.localStorage){let s=t instanceof Function?t(l):t;a(s),window.localStorage.setItem(e,JSON.stringify(s))}else console.error("localStorage is not available")}catch(e){console.error(e)}}]}])},83283,78001,e=>{"use strict";var t=e.i(91788),s=e.i(91398),l=e.i(79684);let a=(0,t.createContext)(void 0);e.s(["ThemeContext",0,a,"default",0,({children:e})=>{let[r,i]=(0,l.default)("theme","light");(0,t.useEffect)(()=>{"dark"!==localStorage.theme&&("theme"in localStorage||!window.matchMedia("(prefers-color-scheme: dark)").matches)?document.getElementsByTagName("html")[0].classList.remove("dark"):document.getElementsByTagName("html")[0].classList.add("dark")},[]),(0,t.useEffect)(()=>{"dark"===r?(document.getElementsByTagName("html")[0].classList.add("dark"),localStorage.theme="dark"):(document.getElementsByTagName("html")[0].classList.remove("dark"),localStorage.theme="light")},[r]);let d=(0,t.useMemo)(()=>[r,i],[r]);return(0,s.jsx)(a.Provider,{value:d,children:e})}],78001),e.s(["default",0,()=>{let e=(0,t.useContext)(a);if(void 0===e)throw Error("Theme Context was used outside of its Provider");let[s,l]=e;return{theme:s,setTheme:l}}],83283)},2765,e=>{"use strict";e.s(["default",0,(e=500)=>t=>{let s;return(...l)=>{let a;clearTimeout(s),s=setTimeout(()=>t.apply(a,l),e)}}])},64127,e=>{"use strict";var t=e.i(91398),s=e.i(72043),l=e.i(60741);e.s(["default",0,e=>{let{disabled:a,labelClassName:r,containerClassName:i,inputClassName:d,...n}=e,u=(0,l.default)({...e,type:"checkbox"});return(0,t.jsxs)("div",{className:(0,s.default)("",{"text-rose-600":!!u.error,checkbox:!0,disabled:u.disabled,required:u.required},i),children:[(0,t.jsx)("input",{checked:!!u.value,disabled:a,id:u.name,name:u.name,onChange:u.onChange,onBlur:u.onBlur,type:"checkbox",className:(0,s.default)("h-4 w-4 rounded-xs border-slate-300 dark:border-slate-600 bg-white dark:!bg-slate-800 text-indigo-600 dark:text-slate-200 focus:ring-slate-800",d,e.className),...n}),(0,t.jsx)("label",{htmlFor:u.name,className:(0,s.default)("text-sm text-slate-900 dark:text-slate-200",r,{"text-danger":!!u.error}),children:u.label})]})}])},15971,e=>{"use strict";var t=e.i(91398),s=e.i(69322);e.s(["default",0,({onOkClick:e,onCancelClick:l,okText:a=null,cancelText:r=null,headerText:i=null,message:d=null,icon:n=null,close:u=null})=>{let{formatMessage:o}=(0,s.useIntl)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"sm:flex sm:items-start",children:[n||(0,t.jsx)("div",{className:"mx-auto flex h-12 w-12 shrink-0 items-center justify-center rounded-full bg-rose-100 dark:bg-rose-900/30 sm:mx-0 sm:h-10 sm:w-10",children:(0,t.jsx)("svg",{className:"h-6 w-6 text-rose-600 dark:text-rose-400",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"})})}),(0,t.jsxs)("div",{className:"mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left",children:[(0,t.jsx)("h3",{className:"text-lg text-slate-900 dark:text-slate-200",id:"modal-title",children:i||o({id:"warning",defaultMessage:"Warning!"})}),(0,t.jsx)("div",{className:"mt-2",children:(0,t.jsx)("p",{className:"text-sm text-slate-500 dark:text-slate-200",children:d||o({id:"are_you_sure",defaultMessage:"Are you sure?"})})})]})]}),(0,t.jsxs)("div",{className:"mt-5 sm:mt-4 sm:flex sm:flex-row-reverse",children:[(0,t.jsx)("button",{id:"danger_continue",onClick:e,type:"button",className:"inline-flex w-full justify-center rounded-md border border-transparent bg-rose-600 px-4 py-2 text-base font-medium text-white shadow-xs hover:bg-rose-700 focus:outline-hidden focus:ring-2 focus:ring-rose-500 focus:ring-offset-2 sm:ml-3 sm:w-auto sm:text-sm",children:a||o({id:"continue",defaultMessage:"Continue"})}),(0,t.jsx)("button",{id:"danger_cancel",onClick:l||u,type:"button",className:"mt-3 inline-flex w-full justify-center rounded-md border border-slate-300 bg-white px-4 py-2 text-base font-medium text-slate-700 shadow-xs hover:bg-slate-50 focus:outline-hidden focus:ring-2 focus:ring-slate-800 focus:ring-offset-2 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm",children:r||o({id:"cancel",defaultMessage:"Cancel"})})]})]})}])},6607,e=>{"use strict";var t=e.i(91788),s=e.i(6444);e.s(["default",0,()=>(0,t.useContext)(s.default)])},6444,e=>{"use strict";let t=e.i(91788).default.createContext({setModal:()=>{throw Error("No ModalContext/ModalWrapper ancestor found.")}});e.s(["default",0,t])},94672,e=>{"use strict";var t=e.i(59080);let s=t.gql`
|
|
2
|
-
fragment WorkFragment on Work {
|
|
3
|
-
_id
|
|
4
|
-
type
|
|
5
|
-
scheduled
|
|
6
|
-
status
|
|
7
|
-
started
|
|
8
|
-
success
|
|
9
|
-
finished
|
|
10
|
-
created
|
|
11
|
-
deleted
|
|
12
|
-
retries
|
|
13
|
-
original {
|
|
14
|
-
_id
|
|
15
|
-
retries
|
|
16
|
-
}
|
|
17
|
-
input
|
|
18
|
-
result
|
|
19
|
-
}
|
|
20
|
-
`;e.s(["default",0,s])},30086,e=>{"use strict";var t=e.i(59080),s=e.i(76204);let l=t.gql`
|
|
21
|
-
mutation AddWork(
|
|
22
|
-
$type: WorkType!
|
|
23
|
-
$priority: Int! = 0
|
|
24
|
-
$input: JSON
|
|
25
|
-
$originalWorkId: ID
|
|
26
|
-
$scheduled: Timestamp
|
|
27
|
-
$retries: Int! = 20
|
|
28
|
-
) {
|
|
29
|
-
addWork(
|
|
30
|
-
type: $type
|
|
31
|
-
priority: $priority
|
|
32
|
-
input: $input
|
|
33
|
-
originalWorkId: $originalWorkId
|
|
34
|
-
scheduled: $scheduled
|
|
35
|
-
retries: $retries
|
|
36
|
-
) {
|
|
37
|
-
_id
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
`;e.s(["default",0,()=>{let[e]=(0,s.useMutation)(l);return{addWork:async({type:t,priority:s,input:l,originalWorkId:a,scheduled:r=null,retries:i})=>e({variables:{type:t,priority:s,input:l,originalWorkId:a,scheduled:r,retries:i},refetchQueries:["WorkQueue"]})}}])},63104,e=>{"use strict";var t=e.i(59080),s=e.i(32171),l=e.i(70693),a=e.i(94672);let r=(e="")=>t.gql`
|
|
41
|
-
query Work($workId: ID!) {
|
|
42
|
-
work(workId: $workId) {
|
|
43
|
-
...WorkFragment
|
|
44
|
-
${e}
|
|
45
|
-
error
|
|
46
|
-
priority
|
|
47
|
-
worker
|
|
48
|
-
timeout
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
${a.default}
|
|
52
|
-
`;e.s(["GetWorkQuery",0,r,"default",0,({workId:e=null,...t})=>{let{customProperties:a}=(0,l.default)(),{data:i,loading:d,error:n,previousData:u}=(0,s.useQuery)(r(a?.Work),{skip:!e,variables:{workId:e},...t});return{work:i?.work||u?.work,loading:d,error:n}}])},2385,e=>{"use strict";var t=e.i(91398),s=e.i(3828),l=e.i(66773),a=e.i(69322),r=e.i(59080),i=e.i(32171),d=e.i(70693),n=e.i(73298);let u=({userId:e=null}={})=>{let{customProperties:t,hydrateFragment:s}=(0,d.default)(),{data:l,loading:a,error:u}=(0,i.useQuery)(((e="")=>r.gql`
|
|
53
|
-
query User($userId: ID) {
|
|
54
|
-
user(userId: $userId) {
|
|
55
|
-
${e}
|
|
56
|
-
...UserFragment
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
${n.default}
|
|
60
|
-
`)(t?.User),{skip:!e,variables:{userId:e}}),o=l?.user,c=s(t?.User,o);return{user:o,loading:a,error:u,extendedData:c}};var o=e.i(61494),c=e.i(17644),f=e.i(62274),m=e.i(23745),x=e.i(91788),h=e.i(6607),g=e.i(15971),p=e.i(28401),v=e.i(58971),w=e.i(93380),b=e.i(81013),j=e.i(60513),k=e.i(75284);let y=({userId:e})=>{let{setModal:s}=(0,h.default)(),{user:l,loading:r}=u({userId:e}),{exportUser:i,isExporting:d}=(()=>{let{exportCSV:e,isExporting:t}=(0,j.useCSVExport)();return{exportUser:(0,x.useCallback)(async t=>{await e({type:"User",...t})},[e]),isExporting:t}})(),{formatMessage:n}=(0,a.useIntl)(),o=[{key:"exportBookmarks",label:n({id:"bookmarks",defaultMessage:"Bookmarks"}),defaultChecked:!0},{key:"exportOrders",label:n({id:"orders",defaultMessage:"Orders"}),defaultChecked:!0},{key:"exportReviews",label:n({id:"reviews",defaultMessage:"Reviews"}),defaultChecked:!0},{key:"exportQuotations",label:n({id:"quotations",defaultMessage:"Quotations"}),defaultChecked:!0},{key:"exportEnrollments",label:n({id:"enrollments",defaultMessage:"Enrollments"}),defaultChecked:!0}],c=(0,x.useCallback)(async t=>{await i({userId:e,...t}),s(null)},[e,i,s]);return r?null:(0,t.jsx)(b.default,{onClick:()=>{s((0,t.jsx)(k.default,{options:o,onSubmit:c,loading:d}))},disabled:d||!l,variant:"secondary",text:n(d?{id:"exporting",defaultMessage:"Exporting..."}:{id:"export",defaultMessage:"Export"})})};var N=e.i(72419);e.s(["default",0,({userId:e})=>{let{formatMessage:r}=(0,a.useIntl)(),{setModal:i}=(0,h.default)(),{deleteUser:d}=(0,m.default)(),{user:n,extendedData:b}=u({userId:e}),j=(0,s.useRouter)(),{hasRole:k}=(0,v.default)(),C=(0,x.useCallback)(async()=>{await i((0,t.jsx)(g.default,{onCancelClick:async()=>i(""),message:r({id:"delete_user_account_confirmation",defaultMessage:"This action might cause inconsistencies with other data that relates to it "}),onOkClick:async()=>{i("");try{await d(n._id),p.toast.success(r({id:"user_deleted",defaultMessage:"User deleted successfully"})),j.push("/users")}catch(e){p.toast.error((0,N.default)(e,r))}},okText:r({id:"delete_user_account",defaultMessage:"Delete user"})}))},[n]);return(0,t.jsxs)("div",{className:" max-w-6xl",children:[(0,t.jsx)(o.default,{currentPageTitle:n?`${n?.name}`:""}),(0,t.jsx)(c.default,{headerText:(0,w.default)(n)||r({id:"users_setting_list_header",defaultMessage:"User settings"}),onDelete:!n?.deleted&&k(l.IRoleAction.RemoveUser)?C:null,title:r({id:"user_detail_title",defaultMessage:"User {id}"},{id:n?.username}),children:(0,t.jsx)(y,{userId:e})}),(0,t.jsx)(f.default,{user:n,extendedData:b})]})}],2385)},51774,e=>{"use strict";var t=e.i(91398),s=e.i(69322),l=e.i(3828),a=e.i(58971),r=e.i(8918),i=e.i(41158),d=e.i(66773),n=e.i(65153),u=e.i(75229),o=e.i(3095),c=e.i(93380),f=e.i(51870),m=e.i(6607),x=e.i(15971),h=e.i(23745),g=e.i(12197),p=e.i(91788);let v=p.forwardRef(function({title:e,titleId:t,...s},l){return p.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:l,"aria-labelledby":t},s),e?p.createElement("title",{id:t},e):null,p.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 10.5V6a3.75 3.75 0 1 0-7.5 0v4.5m11.356-1.993 1.263 12c.07.665-.45 1.243-1.119 1.243H4.25a1.125 1.125 0 0 1-1.12-1.243l1.264-12A1.125 1.125 0 0 1 5.513 7.5h12.974c.576 0 1.059.435 1.119 1.007ZM8.625 10.5a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm7.5 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"}))});var w=e.i(88737),b=e.i(28401),j=e.i(72419);let k=({lastLogin:e})=>{let{locale:l}=(0,s.useIntl)(),a=new Date(e?.timestamp);if(!a?.getTime())return null;let r=a.toLocaleDateString(l,{year:"numeric",month:"numeric",day:"numeric"}),i=a.toLocaleTimeString(l,{hour:"2-digit",minute:"2-digit"});return(0,t.jsxs)("div",{className:"text-sm text-slate-500",children:[r,", ",i]})},y=({user:e})=>{let{formatMessage:p,locale:y}=(0,s.useIntl)(),N=(0,l.useRouter)(),{currentUser:C,loading:M}=(0,f.default)(),{hasRole:I}=(0,a.default)(),{setModal:E}=(0,m.default)(),{deleteUser:_}=(0,h.default)(),S=!!e?.primaryEmail?.verified;if(M&&!C)return(0,t.jsx)(g.default,{});let $=async()=>{await E((0,t.jsx)(x.default,{onCancelClick:async()=>E(""),message:p({id:"delete_user_warning",defaultMessage:"This action will permanently delete this user and all associated data. Are you sure you want to continue?"}),onOkClick:async()=>{E("");try{await _(e._id)}catch(e){b.toast.error((0,j.default)(e,p))}},okText:p({id:"delete_user",defaultMessage:"Delete User"})}))};return(0,t.jsxs)(r.default.Row,{className:"group",children:[(0,t.jsx)(r.default.Cell,{children:(0,t.jsxs)(i.default,{href:`/users?userId=${e._id}`,className:"flex items-center text-sm text-slate-900 dark:text-slate-300 group-hover:text-slate-700 dark:group-hover:text-slate-100",children:[(0,t.jsx)(u.default,{showName:!1,name:e.username,className:"mr-3"}),(0,t.jsx)("div",{className:"flex flex-col",children:(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("span",{className:"font-semibold",children:(0,c.default)(e)}),e.isGuest&&(0,t.jsx)(n.default,{text:p({id:"guest",defaultMessage:"Guest"}),color:"blue"})]})})]})}),(0,t.jsx)(r.default.Cell,{children:(0,t.jsx)(i.default,{href:`/users?userId=${e._id}`,className:"block",children:(0,t.jsx)("div",{className:"text-sm text-slate-900 dark:text-slate-300",children:e?.primaryEmail?.address})})}),(0,t.jsx)(r.default.Cell,{children:(0,t.jsx)(i.default,{href:`/users?userId=${e._id}`,className:"block",children:(0,t.jsx)(n.default,{text:S?p({id:"verified",defaultMessage:"Verified"}):p({id:"unverified",defaultMessage:"Unverified"}),color:S?"green":"yellow",square:!0})})}),(0,t.jsx)(r.default.Cell,{children:(0,t.jsx)(i.default,{href:`/users?userId=${e._id}`,className:"block",children:(0,t.jsx)(k,{lastLogin:e?.lastLogin})})}),(0,t.jsx)(r.default.Cell,{children:(0,t.jsx)(i.default,{href:`/users?userId=${e._id}`,className:"block",children:(0,t.jsx)("div",{className:"flex flex-wrap gap-2",children:e.tags?.map(e=>(0,t.jsx)(n.default,{text:e,color:"slate"},e))})})}),(0,t.jsx)(r.default.Cell,{children:(0,t.jsx)(i.default,{href:`/users?userId=${e._id}&tab=orders&includeCarts=true`,className:"block",children:(0,t.jsxs)("div",{className:"flex items-center gap-1",children:[(0,t.jsx)(w.ShoppingCartIcon,{className:"w-4 h-4 text-slate-500"}),(0,t.jsx)("span",{className:"text-sm",children:e?.cart?.items?.length||0})]})})}),(0,t.jsx)(r.default.Cell,{children:(0,t.jsx)(i.default,{href:`/users?userId=${e._id}&tab=orders`,className:"block",children:(0,t.jsxs)("div",{className:"flex items-center gap-1",children:[(0,t.jsx)(v,{className:"w-4 h-4 text-slate-500"}),(0,t.jsx)("span",{className:"text-sm",children:e?.orders?.length||0})]})})}),(0,t.jsx)(r.default.Cell,{className:"text-right",children:(0,t.jsx)(o.default,{onEdit:()=>{N.push(`/users?userId=${e._id}`)},onDelete:$,showEdit:!0,showDelete:I(d.IRoleAction.RemoveUser)})})]})},N=({users:e})=>{let{formatMessage:l}=(0,s.useIntl)(),{hasRole:i}=(0,a.default)();return(0,t.jsxs)(r.default,{className:"min-w-full",children:[e?.map(e=>(0,t.jsxs)(r.default.Row,{header:!0,children:[(0,t.jsx)(r.default.Cell,{children:l({id:"name",defaultMessage:"Name"})}),(0,t.jsx)(r.default.Cell,{children:l({id:"email",defaultMessage:"Email"})}),(0,t.jsx)(r.default.Cell,{children:l({id:"status",defaultMessage:"Status"})}),(0,t.jsx)(r.default.Cell,{children:l({id:"last_login",defaultMessage:"Last Login:"})}),(0,t.jsx)(r.default.Cell,{children:l({id:"tags",defaultMessage:"Tags"})}),(0,t.jsx)(r.default.Cell,{children:l({id:"cart",defaultMessage:"Cart"})}),(0,t.jsx)(r.default.Cell,{children:l({id:"orders",defaultMessage:"Orders"})}),(0,t.jsx)(r.default.Cell,{className:"text-right",children:" "})]},e._id)),e?.map(e=>(0,t.jsx)(y,{user:e},`${e?._id}-body`))]})};var C=e.i(59080),M=e.i(32171),I=e.i(73298);let E=C.gql`
|
|
61
|
-
query Users(
|
|
62
|
-
$limit: Int
|
|
63
|
-
$offset: Int
|
|
64
|
-
$includeGuests: Boolean
|
|
65
|
-
$queryString: String
|
|
66
|
-
$lastLogin: DateFilterInput
|
|
67
|
-
$emailVerified: Boolean
|
|
68
|
-
$tags: [LowerCaseString!]
|
|
69
|
-
) {
|
|
70
|
-
users(
|
|
71
|
-
limit: $limit
|
|
72
|
-
offset: $offset
|
|
73
|
-
includeGuests: $includeGuests
|
|
74
|
-
queryString: $queryString
|
|
75
|
-
lastLogin: $lastLogin
|
|
76
|
-
emailVerified: $emailVerified
|
|
77
|
-
tags: $tags
|
|
78
|
-
) {
|
|
79
|
-
...UserFragment
|
|
80
|
-
}
|
|
81
|
-
usersCount(
|
|
82
|
-
includeGuests: $includeGuests
|
|
83
|
-
queryString: $queryString
|
|
84
|
-
lastLogin: $lastLogin
|
|
85
|
-
emailVerified: $emailVerified
|
|
86
|
-
tags: $tags
|
|
87
|
-
)
|
|
88
|
-
}
|
|
89
|
-
${I.default}
|
|
90
|
-
`;var _=e.i(61494),S=e.i(78704),$=e.i(17644),L=e.i(64591),R=e.i(60193),q=e.i(94724),T=e.i(84818),A=e.i(42427);let B=()=>{let{parseDate:e}=(0,T.default)(),a=(0,l.useRouter)(),{formatMessage:r}=(0,s.useIntl)(),i=(e,t)=>{if(t)a.push({query:{...a.query,[e]:t}});else if(!t&&a.query?.[e]){let t=a.query;delete t[e],a.push({query:{...t}})}};return(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("div",{className:"mt-5 flex flex-wrap gap-10",children:[(0,t.jsxs)("div",{className:"flex-1 min-w-[200px]",children:[(0,t.jsx)("label",{className:"block text-sm font-medium text-slate-700 dark:text-slate-500 mb-1",children:r({id:"email_verified_label",defaultMessage:"E-Mail verified"})}),(0,t.jsxs)("select",{className:"w-full p-2 border-1 border-slate-300 rounded-lg dark:bg-slate-700 dark:border-slate-500 focus:ring-2 focus:ring-slate-800 dark:focus:ring-slate-400 focus:outline-hidden",defaultValue:a.query?.emailVerified||"",onChange:e=>i("emailVerified",e.target.value),children:[(0,t.jsx)("option",{value:"",children:r({id:"email_verified_default",defaultMessage:"All"})}),(0,t.jsx)("option",{value:(!0).toString(),children:r({id:"email_verified_true",defaultMessage:"verified"})}),(0,t.jsx)("option",{value:(!1).toString(),children:r({id:"email_verified_false",defaultMessage:"unverified"})})]})]}),(0,t.jsxs)("div",{className:"flex-1",children:[(0,t.jsx)("label",{className:"block text-sm font-medium text-slate-700 dark:text-slate-500 mb-1",children:r({id:"login_date_range",defaultMessage:"Login Date Range"})}),(0,t.jsxs)("div",{className:"flex items-center flex-wrap md:flex-nowrap space-y-1 md:space-x-3",children:[(0,t.jsx)("label",{htmlFor:"lastLoginStart",className:"text-sm",children:r({id:"from",defaultMessage:"From"})}),(0,t.jsx)(A.default,{id:"lastLoginStart",onChange:e=>i("start",e?new Date(e).toISOString():null),placeholder:r({id:"start_date",defaultMessage:"Start date"}),value:a.query.start?e(a.query.start):null,containerClassName:"w-full focus:outline-hidden focus:ring-slate-800"}),(0,t.jsx)("label",{htmlFor:"lastLoginEnd",className:"text-sm",children:r({id:"to",defaultMessage:"To"})}),(0,t.jsx)(A.default,{id:"lastLoginEnd",onChange:e=>i("end",e?new Date(e).toISOString():null),placeholder:r({id:"end_date",defaultMessage:"End Date"}),value:a.query.end?e(a.query.end):null,containerClassName:"w-full focus:outline-hidden focus:ring-slate-800"})]})]})]})})};var W=e.i(26178),D=e.i(51128),O=e.i(2385),U=e.i(74954),F=e.i(57561);e.s(["default",0,()=>{let{formatMessage:e}=(0,s.useIntl)(),{query:r,push:i,isReady:n}=(0,l.useRouter)(),{shopInfo:u}=(0,F.default)(),{queryString:o,tags:c,userId:f,...m}=r,{hasRole:x}=(0,a.default)(),h=parseInt(r?.limit,10)||R.DefaultLimit,p=parseInt(r?.skip,10)||0,v=r?.includeGuests==="true",w=null;r?.emailVerified==="true"?w=!0:r?.emailVerified==="false"&&(w=!1);let{users:b,usersCount:j,loading:k,loadMore:y,hasMore:C}=(({limit:e=20,offset:t=0,includeGuests:s=!1,queryString:l=null,lastLogin:a=null,emailVerified:r=null,tags:i=null})=>{let{data:d,loading:n,error:u,fetchMore:o}=(0,M.useQuery)(E,{variables:{limit:e,offset:t,includeGuests:s,queryString:l,lastLogin:a,emailVerified:r,tags:i}}),c=d?.users||[],f=d?.usersCount,m=c?.length<f;return{users:c,usersCount:f,hasMore:m,loading:n,error:u,loadMore:()=>{o({variables:{offset:c?.length}})}}})({limit:h,includeGuests:v,queryString:o,offset:p,lastLogin:(r?.start||r?.end)&&{start:r?.start,end:r?.end},emailVerified:w,tags:c});if(!n)return null;if(f)return(0,t.jsx)(O.default,{userId:f});let I=1===j?e({id:"user_header",defaultMessage:"1 User"}):e({id:"user_count_header",defaultMessage:"{count} Users"},{count:(0,t.jsx)(U.default,{value:j})});return(0,t.jsxs)("div",{className:"mb-10",children:[(0,t.jsx)(_.default,{}),(0,t.jsx)($.default,{title:e({id:"user_page_title",defaultMessage:"{count, plural, one {# User} other {# Users}}"},{count:j}),headerText:I,addPath:x(d.IRoleAction.EnrollUser)?"/users/new":void 0,addButtonText:e({id:"add_user",defaultMessage:"Add User"})}),(0,t.jsx)(B,{}),(0,t.jsx)(q.default,{children:(0,t.jsx)(L.default,{toggleKey:"includeGuests",toggleText:e({id:"show_guests",defaultMessage:"Show Guests"})})}),(0,t.jsx)(D.default,{onSearchChange:e=>{let{skip:t,...s}=m||{skip:null};e?i({query:{...s,queryString:e}}):i({query:{...m}})},defaultSearchValue:o,showTagFilter:!0,availableTagOptions:(u?.adminUiConfig?.userTags||[]).map(e=>({label:e,value:e})),children:(0,t.jsxs)(S.default,{loading:k,hasMore:C,onLoadMore:y,children:[k&&b?.length===0?(0,t.jsx)(g.default,{}):(0,t.jsx)(N,{users:b}),!k&&!b?.length&&(0,t.jsx)(W.default,{message:e({id:"user",defaultMessage:"User"})})]})})]})}],51774)},21449,(e,t,s)=>{let l="/users";(window.__NEXT_P=window.__NEXT_P||[]).push([l,()=>e.r(51774)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([l])})},88566,25575,e=>{"use strict";var t=e.i(91788);let s=t.forwardRef(function({title:e,titleId:s,...l},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":s},l),e?t.createElement("title",{id:s},e):null,t.createElement("path",{fillRule:"evenodd",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",clipRule:"evenodd"}))});e.s(["ChevronDownIcon",0,s],88566);let l=t.forwardRef(function({title:e,titleId:s,...l},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":s},l),e?t.createElement("title",{id:s},e):null,t.createElement("path",{fillRule:"evenodd",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",clipRule:"evenodd"}))});e.s(["ChevronUpIcon",0,l],25575)},76842,e=>{"use strict";var t=e.i(91788);let s=t.forwardRef(function({title:e,titleId:s,...l},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":s},l),e?t.createElement("title",{id:s},e):null,t.createElement("path",{d:"m2.695 14.762-1.262 3.155a.5.5 0 0 0 .65.65l3.155-1.262a4 4 0 0 0 1.343-.886L17.5 5.501a2.121 2.121 0 0 0-3-3L3.58 13.419a4 4 0 0 0-.885 1.343Z"}))});e.s(["PencilIcon",0,s],76842)},24557,e=>{"use strict";var t=e.i(91788);let s=t.forwardRef(function({title:e,titleId:s,...l},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":s},l),e?t.createElement("title",{id:s},e):null,t.createElement("path",{fillRule:"evenodd",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",clipRule:"evenodd"}))});e.s(["TrashIcon",0,s],24557)},86712,e=>{"use strict";var t=e.i(91788);let s=t.forwardRef(function({title:e,titleId:s,...l},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":s},l),e?t.createElement("title",{id:s},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM12.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM18.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"}))});e.s(["EllipsisHorizontalIcon",0,s],86712)}]);
|