@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
|
@@ -1,195 +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 r=t.default.createContext({customProperties:{},hydrateFragment:(e,t)=>null});e.s(["default",0,r],12970),e.s(["default",0,()=>(0,t.useContext)(r)],70693)},81359,e=>{"use strict";var t=e.i(91398),r=e.i(24608),i=e.i(69322);e.s(["default",0,({onClick:e,text:s=null,Icon:n=null})=>{let{formatMessage:a}=(0,i.useIntl)();return(0,t.jsxs)("button",{type:"button",onClick:e,"aria-describedby":"header-delete-button",className:"inline-flex items-center gap-2 justify-center rounded-md border border-rose-500 px-4 py-2 text-sm font-medium leading-5 text-rose-600 dark:text-rose-200 shadow-sm hover:border-rose-600 hover:bg-rose-600 hover:text-white focus:outline-hidden focus:ring-2 focus:ring-rose-500 focus:ring-offset-2 h-[38px]",children:[(0,t.jsx)("span",{children:n||(0,t.jsx)(r.XMarkIcon,{className:"h-5 w-5"})}),s||a({id:"delete",defaultMessage:"Delete"})]})}])},12197,e=>{"use strict";var t=e.i(91398),r=e.i(69322);e.s(["default",0,()=>{let{formatMessage:e}=(0,r.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 ..."})})]})})}])},11056,e=>{"use strict";var t=e.i(91398),r=e.i(91788),i=e.i(5505),s=e.i(57561);e.s(["default",0,({children:e,onlyFull:n=!1})=>{let{languageDialectList:a,selectedLocale:o,setSelectedLocale:l}=(0,s.default)(),u=(0,r.useContext)(i.FormWrapperContext),d=a.filter(e=>!n||e.isoCode.includes("-"));return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:`w-fit mt-5 mb-3 ${u?"ml-5":""}`,children:(0,t.jsx)("select",{id:"locale-wrapper",className:"cursor-pointer rounded-md border-1 border-slate-300 dark:border-slate-700 py-1 pr-8 text-sm lg:py-1 lg:pr-10 text-black dark:text-white dark:bg-slate-800 shadow-xs focus:outline-hidden focus:ring-2 focus:ring-slate-800",value:o||"",onChange:e=>{e.stopPropagation(),l(e.target.value)},children:d?.map(e=>(0,t.jsx)("option",{value:e.isoCode,children:e.isoCode},e._id))})}),(0,t.jsx)("div",{children:r.default.cloneElement(e)})]})}])},16371,e=>{"use strict";var t=e.i(91788),r=e.i(30943);e.s(["default",0,({children:e,container:i=null,className:s=""})=>{let n=(0,t.useRef)(null),[a,o]=(0,t.useState)(!1);return((0,t.useEffect)(()=>{let e=document.createElement("div");s&&(e.className=s),n.current=e;let t=i||document.body;return t.appendChild(e),o(!0),()=>{n.current&&t.contains(n.current)&&t.removeChild(n.current)}},[i,s]),a&&n.current)?(0,r.createPortal)(e,n.current):null}])},3095,e=>{"use strict";var t=e.i(91398),r=e.i(91788),i=e.i(69322),s=e.i(86712),n=e.i(76842),a=e.i(24557),o=e.i(16371);e.s(["default",0,({onEdit:e,onDelete:l,editLabel:u,deleteLabel:d,showEdit:c=!0,showDelete:h=!0})=>{let{formatMessage:f}=(0,i.useIntl)(),[m,p]=(0,r.useState)(!1),[g,y]=(0,r.useState)({top:0,left:0}),x=(0,r.useRef)(null),v=(0,r.useRef)(null);(0,r.useEffect)(()=>{let e=e=>{x.current&&!x.current.contains(e.target)&&p(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[]);let _=(e,t)=>{e.stopPropagation(),e.preventDefault(),t&&t(),p(!1)};return 0===[c&&e,h&&l].filter(Boolean).length?null:(0,t.jsxs)("div",{className:"flex justify-end w-full",children:[(0,t.jsx)("button",{ref:v,type:"button",onClick:e=>{e.stopPropagation(),e.preventDefault(),m||(()=>{if(!v.current)return;let e=v.current.getBoundingClientRect(),t=e.bottom+4,r=e.right-192;r<8&&(r=8),t+80>window.innerHeight-8&&(t=e.top-80-4),y({top:t,left:r})})(),p(!m)},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":f({id:"table_actions_menu",defaultMessage:"Actions menu"}),children:(0,t.jsx)(s.EllipsisHorizontalIcon,{className:"w-5 h-5 text-slate-500 dark:text-slate-400"})}),m&&(0,t.jsx)(o.default,{children:(0,t.jsx)("div",{ref:x,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=>_(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)(n.PencilIcon,{className:"mr-3 h-5 w-5"}),u||f({id:"edit",defaultMessage:"Edit"})]}),h&&l&&(0,t.jsxs)("button",{type:"button",onClick:e=>_(e,l),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)(a.TrashIcon,{className:"mr-3 h-5 w-5"}),d||f({id:"delete",defaultMessage:"Delete"})]})]})})})]})}])},57561,48539,55989,e=>{"use strict";var t=e.i(91788),r=e.i(91398),i=e.i(69322),s=e.i(51713),n=e.i(98520),a=e.i(59080),o=e.i(32171);let l=a.gql`
|
|
2
|
-
query ShopInfo {
|
|
3
|
-
shopInfo {
|
|
4
|
-
_id
|
|
5
|
-
version
|
|
6
|
-
language {
|
|
7
|
-
_id
|
|
8
|
-
isoCode
|
|
9
|
-
name
|
|
10
|
-
}
|
|
11
|
-
country {
|
|
12
|
-
_id
|
|
13
|
-
isoCode
|
|
14
|
-
flagEmoji
|
|
15
|
-
name
|
|
16
|
-
defaultCurrency {
|
|
17
|
-
_id
|
|
18
|
-
isoCode
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
adminUiConfig {
|
|
22
|
-
singleSignOnURL
|
|
23
|
-
externalLinks {
|
|
24
|
-
href
|
|
25
|
-
title
|
|
26
|
-
target
|
|
27
|
-
}
|
|
28
|
-
customProperties {
|
|
29
|
-
entityName
|
|
30
|
-
inlineFragment
|
|
31
|
-
}
|
|
32
|
-
productTags
|
|
33
|
-
assortmentTags
|
|
34
|
-
userTags
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
`,u=()=>{let{data:e,loading:t,error:r}=(0,o.useQuery)(l,{fetchPolicy:"cache-first"}),{shopInfo:i}=e||{};return{shopInfo:i,defaultLocale:[i?.language?.isoCode,i?.country?.isoCode?.toUpperCase()].filter(Boolean)?.join("-"),loading:t,error:r}};e.s(["default",0,u],48539);var d=e.i(79684);let c=(0,t.createContext)(void 0);e.s(["AppContextWrapper",0,({children:e,onlyFull:a=!1})=>{let o,{languages:l}=(0,s.default)(),{locale:h}=(0,i.useIntl)(),[f,m]=(0,d.default)("selectedLocale",null),{shopInfo:p,loading:g}=u(),{countries:y}=(0,n.default)(),[x,v]=(0,t.useState)(h),_=e=>{m(e),v(e)};(0,t.useEffect)(()=>{f?v(f):g||_(`${p?.language?.isoCode}-${p?.country?.isoCode?.toUpperCase()}`)},[p,g,h]);let b=(o=[],l.forEach(({_id:e,isoCode:t})=>{o.push({_id:e,isoCode:t}),y.forEach(({isoCode:r,_id:i})=>{let s=[t,r.toUpperCase()].join("-");(e=>{try{return new Intl.DateTimeFormat(e).resolvedOptions().locale.toLowerCase()===e.toLowerCase()}catch(e){return!1}})(s)&&o.push({_id:`${i}-${e}`,isoCode:s})})}),o).filter(e=>!a||e.isoCode.includes("-")),k=!!p?.language&&!!p?.country;return(0,r.jsx)(c.Provider,{value:{selectedLocale:x,setSelectedLocale:_,languageDialectList:b,isSystemReady:k,shopInfo:p},children:e})},"default",0,c],55989),e.s(["default",0,()=>{let e=(0,t.useContext)(c);if(!e)throw Error("useLocale must be used within a LocaleProvider");return e}],57561)},60513,75284,e=>{"use strict";var t=e.i(91788),r=e.i(28401),i=e.i(69322),s=e.i(30086),n=e.i(66773),a=e.i(98926),o=e.i(63104),l=e.i(3828);e.s(["useCSVExport",0,()=>{let[e,u]=(0,t.useState)(!1),d=(0,a.useApolloClient)(),c=(0,l.useRouter)(),{addWork:h}=(0,s.default)(),{formatMessage:f}=(0,i.useIntl)(),m=(0,t.useCallback)(async e=>{let{data:t}=await d.query({query:(0,o.GetWorkQuery)(),variables:{workId:e},fetchPolicy:"network-only"});return t?.work??null},[d]);return{isExporting:e,exportCSV:(0,t.useCallback)(async({type:e,pollInterval:t=2e3,...i})=>{u(!0);try{let r=await h({type:n.IWorkType.BulkExport,input:{type:e,...i}}),s=r?.data?.addWork?._id;if(!s)throw Error("Failed to create export work");await new Promise((e,r)=>{let i=setInterval(async()=>{try{let t=await m(s);if(!t)throw Error("Work not found");(t.status===n.IWorkStatus.Success||t.status===n.IWorkStatus.Failed)&&(clearInterval(i),t.status===n.IWorkStatus.Success&&t.success?(c.push(`/exports?workId=${t._id}`),e(t)):r(t.error||Error("Export failed")))}catch(e){clearInterval(i),r(e)}},t)})}catch(e){return console.error("Export failed:",e),r.toast.error(f({id:"export_failed",defaultMessage:"Export failed. Please try again."})),null}finally{u(!1)}},[h,m,c,f])}}],60513);var u=e.i(91398),d=e.i(69211),c=e.i(64127),h=e.i(98949),f=e.i(99160);e.s(["default",0,function({options:e,onSubmit:r,loading:s=!1,successMessage:n=""}){let{formatMessage:a}=(0,i.useIntl)(),o=(0,t.useMemo)(()=>e.reduce((e,t)=>(e[t.key]=t.defaultChecked??!0,e),{}),[e]),l=async e=>(await r(e),{success:!0}),m=(0,h.default)({successMessage:n||a({id:"export_completed",defaultMessage:"Data exported successfully"}),submit:l,enableReinitialize:!0,initialValues:o});return(0,u.jsx)(d.default,{form:m,children:m.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:a({id:"exporting_message",defaultMessage:"Generating your export files. This may take a moment..."})})]}):(0,u.jsxs)("fieldset",{disabled:s,style:{border:"none",padding:0},children:[(0,u.jsxs)("h3",{children:[" ",a({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)(f.default,{label:a({id:"submit",defaultMessage:"Submit"}),disabled:s})]})})}],75284)},78193,e=>{"use strict";var t=e.i(91788),r=e.i(69322),i=e.i(30086),s=e.i(66773);e.s(["useCSVImport",0,({validate:e,process:n})=>{let{addWork:a}=(0,i.default)(),[o,l]=(0,t.useState)(!1),u=(0,r.useIntl)();return{isImporting:o,importItems:async t=>{let r={success:0,failed:0,errors:[]};try{l(!0);let i=e(t,u);i.length>0&&(r.failed+=i.length,r.errors.push(...i));let o=await n(t);for(let e=0;e<o.length;e+=100){let t=o.slice(e,e+100);try{await a({type:s.IWorkType.BulkImport,input:{createShouldUpsertIfIDExists:!0,events:t}}),r.success+=t.length}catch(i){console.error("Batch import failed:",i),r.failed+=t.length,r.errors.push(`Batch starting at index ${e} failed: ${i.message}`)}}return l(!1),r}catch(e){return console.error("Import failed:",e),l(!1),r.errors.push(e.message||"Unknown error"),r}}}}])},16785,e=>{"use strict";e.s(["downloadCSV",0,(e,t)=>{let r=new Blob([e],{type:"text/csv;charset=utf-8;"}),i=document.createElement("a");if(void 0!==i.download){let e=URL.createObjectURL(r);i.setAttribute("href",e),i.setAttribute("download",t),i.style.visibility="hidden",document.body.appendChild(i),i.click(),document.body.removeChild(i),URL.revokeObjectURL(e)}}])},22003,e=>{"use strict";e.s(["default",0,e=>{if("string"==typeof e&&e.trim())try{let t=JSON.parse(e);return t&&"object"==typeof t&&Object.keys(t).length?t:void 0}catch{return}}])},77846,e=>{"use strict";var t=e.i(59080);let r=t.gql`
|
|
39
|
-
fragment CountryFragment on Country {
|
|
40
|
-
_id
|
|
41
|
-
isoCode
|
|
42
|
-
isActive
|
|
43
|
-
isBase
|
|
44
|
-
|
|
45
|
-
defaultCurrency {
|
|
46
|
-
_id
|
|
47
|
-
isoCode
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
`;e.s(["default",0,r])},98520,e=>{"use strict";var t=e.i(59080),r=e.i(32171),i=e.i(77846);let s=t.gql`
|
|
51
|
-
query Countries(
|
|
52
|
-
$queryString: String
|
|
53
|
-
$limit: Int
|
|
54
|
-
$offset: Int
|
|
55
|
-
$includeInactive: Boolean
|
|
56
|
-
$sort: [SortOptionInput!]
|
|
57
|
-
) {
|
|
58
|
-
countries(
|
|
59
|
-
queryString: $queryString
|
|
60
|
-
limit: $limit
|
|
61
|
-
offset: $offset
|
|
62
|
-
includeInactive: $includeInactive
|
|
63
|
-
sort: $sort
|
|
64
|
-
) {
|
|
65
|
-
...CountryFragment
|
|
66
|
-
}
|
|
67
|
-
countriesCount(includeInactive: $includeInactive, queryString: $queryString)
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
${i.default}
|
|
71
|
-
`;e.s(["default",0,({queryString:e="",limit:t=20,offset:i=0,includeInactive:n=!0,sort:a=[]}={})=>{let{data:o,loading:l,error:u,fetchMore:d}=(0,r.useQuery)(s,{variables:{queryString:e,limit:t,offset:i,includeInactive:n,sort:a}}),c=o?.countries||[],h=o?.countriesCount,f=c?.length<h;return{countries:c,countriesCount:h,hasMore:f,loading:l,error:u,loadMore:()=>{d({variables:{offset:c?.length}})}}}])},80294,e=>{"use strict";var t=e.i(59080);let r=t.gql`
|
|
72
|
-
fragment FilterFragment on Filter {
|
|
73
|
-
_id
|
|
74
|
-
updated
|
|
75
|
-
created
|
|
76
|
-
key
|
|
77
|
-
isActive
|
|
78
|
-
type
|
|
79
|
-
options {
|
|
80
|
-
_id
|
|
81
|
-
texts {
|
|
82
|
-
_id
|
|
83
|
-
title
|
|
84
|
-
subtitle
|
|
85
|
-
locale
|
|
86
|
-
}
|
|
87
|
-
value
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
`;e.s(["default",0,r])},54680,e=>{"use strict";var t=e.i(59080),r=e.i(32171),i=e.i(80294);let s=t.gql`
|
|
91
|
-
query Filters(
|
|
92
|
-
$queryString: String
|
|
93
|
-
$limit: Int
|
|
94
|
-
$offset: Int
|
|
95
|
-
$includeInactive: Boolean
|
|
96
|
-
$sort: [SortOptionInput!]
|
|
97
|
-
) {
|
|
98
|
-
filters(
|
|
99
|
-
queryString: $queryString
|
|
100
|
-
limit: $limit
|
|
101
|
-
offset: $offset
|
|
102
|
-
includeInactive: $includeInactive
|
|
103
|
-
sort: $sort
|
|
104
|
-
) {
|
|
105
|
-
...FilterFragment
|
|
106
|
-
texts {
|
|
107
|
-
_id
|
|
108
|
-
title
|
|
109
|
-
subtitle
|
|
110
|
-
locale
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
filtersCount(includeInactive: $includeInactive, queryString: $queryString)
|
|
114
|
-
}
|
|
115
|
-
${i.default}
|
|
116
|
-
`;e.s(["default",0,({queryString:e="",limit:t=20,offset:i=0,includeInactive:n=!0,sort:a=[],forceLocale:o=""}={})=>{let{data:l,loading:u,error:d,fetchMore:c,client:h}=(0,r.useQuery)(s,{context:{headers:{forceLocale:o}},variables:{queryString:e,limit:t,offset:i,includeInactive:n,sort:a}}),f=l?.filters||[],m=l?.filtersCount,p=f?.length<m;return{filters:f,filtersCount:m,hasMore:p,loading:u,error:d,loadMore:()=>{c({variables:{offset:f?.length}})},client:h}}])},64127,e=>{"use strict";var t=e.i(91398),r=e.i(72043),i=e.i(60741);e.s(["default",0,e=>{let{disabled:s,labelClassName:n,containerClassName:a,inputClassName:o,...l}=e,u=(0,i.default)({...e,type:"checkbox"});return(0,t.jsxs)("div",{className:(0,r.default)("",{"text-rose-600":!!u.error,checkbox:!0,disabled:u.disabled,required:u.required},a),children:[(0,t.jsx)("input",{checked:!!u.value,disabled:s,id:u.name,name:u.name,onChange:u.onChange,onBlur:u.onBlur,type:"checkbox",className:(0,r.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",o,e.className),...l}),(0,t.jsx)("label",{htmlFor:u.name,className:(0,r.default)("text-sm text-slate-900 dark:text-slate-200",n,{"text-danger":!!u.error}),children:u.label})]})}])},95064,e=>{"use strict";var t=e.i(59080);let r=t.gql`
|
|
117
|
-
fragment LanguageFragment on Language {
|
|
118
|
-
_id
|
|
119
|
-
isoCode
|
|
120
|
-
isActive
|
|
121
|
-
isBase
|
|
122
|
-
name
|
|
123
|
-
}
|
|
124
|
-
`;e.s(["default",0,r])},51713,e=>{"use strict";var t=e.i(59080),r=e.i(32171),i=e.i(95064);let s=t.gql`
|
|
125
|
-
query Languages(
|
|
126
|
-
$queryString: String
|
|
127
|
-
$offset: Int
|
|
128
|
-
$limit: Int
|
|
129
|
-
$includeInactive: Boolean
|
|
130
|
-
$sort: [SortOptionInput!]
|
|
131
|
-
) {
|
|
132
|
-
languages(
|
|
133
|
-
queryString: $queryString
|
|
134
|
-
offset: $offset
|
|
135
|
-
limit: $limit
|
|
136
|
-
includeInactive: $includeInactive
|
|
137
|
-
sort: $sort
|
|
138
|
-
) {
|
|
139
|
-
...LanguageFragment
|
|
140
|
-
}
|
|
141
|
-
languagesCount(includeInactive: $includeInactive, queryString: $queryString)
|
|
142
|
-
}
|
|
143
|
-
${i.default}
|
|
144
|
-
`;e.s(["default",0,({queryString:e="",limit:t=20,offset:i=0,includeInactive:n=!0,sort:a=[]}={})=>{let{data:o,loading:l,error:u,fetchMore:d}=(0,r.useQuery)(s,{variables:{queryString:e,limit:t,offset:i,includeInactive:n,sort:a}}),c=o?.languages||[],h=o?.languagesCount,f=c?.length<h;return{languages:c,languagesCount:h,hasMore:f,loading:l,error:u,loadMore:()=>{d({variables:{offset:c?.length}})}}}])},15971,e=>{"use strict";var t=e.i(91398),r=e.i(69322);e.s(["default",0,({onOkClick:e,onCancelClick:i,okText:s=null,cancelText:n=null,headerText:a=null,message:o=null,icon:l=null,close:u=null})=>{let{formatMessage:d}=(0,r.useIntl)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"sm:flex sm:items-start",children:[l||(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:a||d({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:o||d({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:s||d({id:"continue",defaultMessage:"Continue"})}),(0,t.jsx)("button",{id:"danger_cancel",onClick:i||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:n||d({id:"cancel",defaultMessage:"Cancel"})})]})]})}])},42912,e=>{"use strict";var t=e.i(91398),r=e.i(69322);e.s(["default",0,({result:e,title:i,entityName:s="items"})=>{let{formatMessage:n}=(0,r.useIntl)();return(0,t.jsxs)("div",{className:"p-4",children:[(0,t.jsx)("h3",{className:"text-lg font-semibold mb-4",children:i||n({id:"import_results",defaultMessage:"Import Results"})}),(0,t.jsx)("p",{className:"text-green-600",children:n({id:"items_imported",defaultMessage:"{count} {entityName} imported successfully"},{count:e?.success,entityName:s})}),e?.failed>0&&(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-red-600 mt-2",children:n({id:"items_failed",defaultMessage:"{count} {entityName} failed to import"},{count:e?.failed,entityName:s})}),(0,t.jsxs)("div",{className:"mt-2 max-h-40 overflow-y-auto",children:[e.errors.slice(0,10).map((e,r)=>(0,t.jsx)("p",{className:"text-sm text-red-500",children:e},r)),e.errors.length>10&&(0,t.jsxs)("p",{className:"text-sm text-gray-500",children:["... and ",e.errors.length-10," more errors"]})]})]})]})}])},6607,e=>{"use strict";var t=e.i(91788),r=e.i(6444);e.s(["default",0,()=>(0,t.useContext)(r.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 r=t.gql`
|
|
145
|
-
fragment WorkFragment on Work {
|
|
146
|
-
_id
|
|
147
|
-
type
|
|
148
|
-
scheduled
|
|
149
|
-
status
|
|
150
|
-
started
|
|
151
|
-
success
|
|
152
|
-
finished
|
|
153
|
-
created
|
|
154
|
-
deleted
|
|
155
|
-
retries
|
|
156
|
-
original {
|
|
157
|
-
_id
|
|
158
|
-
retries
|
|
159
|
-
}
|
|
160
|
-
input
|
|
161
|
-
result
|
|
162
|
-
}
|
|
163
|
-
`;e.s(["default",0,r])},30086,e=>{"use strict";var t=e.i(59080),r=e.i(76204);let i=t.gql`
|
|
164
|
-
mutation AddWork(
|
|
165
|
-
$type: WorkType!
|
|
166
|
-
$priority: Int! = 0
|
|
167
|
-
$input: JSON
|
|
168
|
-
$originalWorkId: ID
|
|
169
|
-
$scheduled: Timestamp
|
|
170
|
-
$retries: Int! = 20
|
|
171
|
-
) {
|
|
172
|
-
addWork(
|
|
173
|
-
type: $type
|
|
174
|
-
priority: $priority
|
|
175
|
-
input: $input
|
|
176
|
-
originalWorkId: $originalWorkId
|
|
177
|
-
scheduled: $scheduled
|
|
178
|
-
retries: $retries
|
|
179
|
-
) {
|
|
180
|
-
_id
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
`;e.s(["default",0,()=>{let[e]=(0,r.useMutation)(i);return{addWork:async({type:t,priority:r,input:i,originalWorkId:s,scheduled:n=null,retries:a})=>e({variables:{type:t,priority:r,input:i,originalWorkId:s,scheduled:n,retries:a},refetchQueries:["WorkQueue"]})}}])},63104,e=>{"use strict";var t=e.i(59080),r=e.i(32171),i=e.i(70693),s=e.i(94672);let n=(e="")=>t.gql`
|
|
184
|
-
query Work($workId: ID!) {
|
|
185
|
-
work(workId: $workId) {
|
|
186
|
-
...WorkFragment
|
|
187
|
-
${e}
|
|
188
|
-
error
|
|
189
|
-
priority
|
|
190
|
-
worker
|
|
191
|
-
timeout
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
${s.default}
|
|
195
|
-
`;e.s(["GetWorkQuery",0,n,"default",0,({workId:e=null,...t})=>{let{customProperties:s}=(0,i.default)(),{data:a,loading:o,error:l,previousData:u}=(0,r.useQuery)(n(s?.Work),{skip:!e,variables:{workId:e},...t});return{work:a?.work||u?.work,loading:o,error:l}}])},76842,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...i},s){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:s,"aria-labelledby":r},i),e?t.createElement("title",{id:r},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,r],76842)},24557,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...i},s){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:s,"aria-labelledby":r},i),e?t.createElement("title",{id:r},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,r],24557)},38322,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...i},s){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:s,"aria-labelledby":r},i),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 12.75 6 6 9-13.5"}))});e.s(["CheckIcon",0,r],38322)},38187,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...i},s){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:s,"aria-labelledby":r},i),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m19.5 8.25-7.5 7.5-7.5-7.5"}))});e.s(["ChevronDownIcon",0,r],38187)},86712,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...i},s){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:s,"aria-labelledby":r},i),e?t.createElement("title",{id:r},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,r],86712)},24608,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...i},s){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:s,"aria-labelledby":r},i),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"}))});e.s(["XMarkIcon",0,r],24608)},72552,(e,t,r)=>{var i;let s;e.e,i=function e(){var t="u">typeof self?self:"u">typeof window?window:void 0!==t?t:{},r=!t.document&&!!t.postMessage,i=t.IS_PAPA_WORKER||!1,s={},n=0,a={};function o(e){return 65279===e.charCodeAt(0)?e.slice(1):e}function l(e){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},(function(e){var t=v(e);t.chunkSize=parseInt(t.chunkSize),e.step||e.chunk||(t.chunkSize=null),this._handle=new f(t),(this._handle.streamer=this)._config=t}).call(this,e),this.parseChunk=function(e,r){var s=parseInt(this._config.skipFirstNLines)||0;if(this.isFirstChunk&&0<s){let t=this._config.newline;t||(n=this._config.quoteChar||'"',t=this._handle.guessLineEndings(e,n)),e=[...e.split(t).slice(s)].join(t)}this.isFirstChunk&&b(this._config.beforeFirstChunk)&&void 0!==(n=this._config.beforeFirstChunk(e))&&(e=n),this.isFirstChunk=!1,this._halted=!1;var s=this._partialLine+e,n=(this._partialLine="",this._handle.parse(s,this._baseIndex,!this._finished));if(!this._handle.paused()&&!this._handle.aborted()){if(e=n.meta.cursor,this._finished||(this._partialLine=s.substring(e-this._baseIndex),this._baseIndex=e),n&&n.data&&(this._rowCount+=n.data.length),s=this._finished||this._config.preview&&this._rowCount>=this._config.preview,i)t.postMessage({results:n,workerId:a.WORKER_ID,finished:s});else if(b(this._config.chunk)&&!r){if(this._config.chunk(n,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);this._completeResults=n=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(n.data),this._completeResults.errors=this._completeResults.errors.concat(n.errors),this._completeResults.meta=n.meta),this._completed||!s||!b(this._config.complete)||n&&n.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),s||n&&n.meta.paused||this._nextChunk(),n}this._halted=!0},this._sendError=function(e){b(this._config.error)?this._config.error(e):i&&this._config.error&&t.postMessage({workerId:a.WORKER_ID,error:e,finished:!1})}}function u(e){var t;(e=e||{}).chunkSize||(e.chunkSize=a.RemoteChunkSize),l.call(this,e),this._nextChunk=r?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(e){this._input=e,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(t=new XMLHttpRequest,this._config.withCredentials&&(t.withCredentials=this._config.withCredentials),r||(t.onload=_(this._chunkLoaded,this),t.onerror=_(this._chunkError,this)),t.ontimeout=_(this._chunkTimeout,this),t.open(this._config.downloadRequestBody?"POST":"GET",this._input,!r),this._config.downloadTimeout&&!r&&(t.timeout=this._config.downloadTimeout),this._config.downloadRequestHeaders){var e,i,s=this._config.downloadRequestHeaders;for(i in s)t.setRequestHeader(i,s[i])}this._config.chunkSize&&(e=this._start+this._config.chunkSize-1,t.setRequestHeader("Range","bytes="+this._start+"-"+e));try{t.send(this._config.downloadRequestBody)}catch(e){this._chunkError(e.message)}r&&0===t.status&&this._chunkError()}},this._chunkLoaded=function(){let e;4===t.readyState&&(t.status<200||400<=t.status?this._chunkError():(this._start+=this._config.chunkSize||t.responseText.length,this._finished=!this._config.chunkSize||this._start>=(null!==(e=(e=t).getResponseHeader("Content-Range"))?parseInt(e.substring(e.lastIndexOf("/")+1)):-1),this.parseChunk(t.responseText)))},this._chunkError=function(e){e=t.statusText||e,this._sendError(Error(e))},this._chunkTimeout=function(){this._chunkError("Request timed out after "+this._config.downloadTimeout+"ms")}}function d(e){(e=e||{}).chunkSize||(e.chunkSize=a.LocalChunkSize),l.call(this,e);var t,r,i="u">typeof FileReader;this.stream=function(e){this._input=e,r=e.slice||e.webkitSlice||e.mozSlice,i?((t=new FileReader).onload=_(this._chunkLoaded,this),t.onerror=_(this._chunkError,this)):t=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var e=this._input,s=(this._config.chunkSize&&(s=Math.min(this._start+this._config.chunkSize,this._input.size),e=r.call(e,this._start,s)),t.readAsText(e,this._config.encoding));i||this._chunkLoaded({target:{result:s}})},this._chunkLoaded=function(e){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(e.target.result)},this._chunkError=function(){this._sendError(t.error)}}function c(e){var t;l.call(this,e=e||{}),this.stream=function(e){return t=e,this._nextChunk()},this._nextChunk=function(){var e,r;if(!this._finished)return t=(e=this._config.chunkSize)?(r=t.substring(0,e),t.substring(e)):(r=t,""),this._finished=!t,this.parseChunk(r)}}function h(e){l.call(this,e=e||{});var t=[],r=!0,i=!1;this.pause=function(){l.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){l.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(e){this._input=e,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){i&&1===t.length&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),t.length?this.parseChunk(t.shift()):r=!0},this._streamData=_(function(e){try{t.push("string"==typeof e?e:e.toString(this._config.encoding)),r&&(r=!1,this._checkIsFinished(),this.parseChunk(t.shift()))}catch(e){this._streamError(e)}},this),this._streamError=_(function(e){this._streamCleanUp(),this._sendError(e)},this),this._streamEnd=_(function(){this._streamCleanUp(),i=!0,this._streamData("")},this),this._streamCleanUp=_(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function f(e){var t,r,i,s,n=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,o=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,l=this,u=0,d=0,c=!1,h=!1,f=[],g={data:[],errors:[],meta:{}};function y(t){return"greedy"===e.skipEmptyLines?""===t.join("").trim():1===t.length&&0===t[0].length}function x(){if(g&&i&&(k("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+a.DefaultDelimiter+"'"),i=!1),e.skipEmptyLines&&(g.data=g.data.filter(function(e){return!y(e)})),_()){if(g)if(Array.isArray(g.data[0])){for(var t,r=0;_()&&r<g.data.length;r++)g.data[r].forEach(s);g.data.splice(0,1)}else g.data.forEach(s);function s(e){f.push(e)}}function l(t,r){for(var i=e.header?{}:[],s=0;s<t.length;s++){var a=s,l=t[s],l=((t,r)=>(e.dynamicTypingFunction&&void 0===e.dynamicTyping[t]&&(e.dynamicTyping[t]=e.dynamicTypingFunction(t)),!0===(e.dynamicTyping[t]||e.dynamicTyping))?"true"===r||"TRUE"===r||"false"!==r&&"FALSE"!==r&&((e=>{if(n.test(e)&&-0x20000000000000<(e=parseFloat(e))&&e<0x20000000000000)return 1})(r)?parseFloat(r):o.test(r)?new Date(r):""===r?null:r):r)(a=e.header?s>=f.length?"__parsed_extra":f[s]:a,l=e.transform?e.transform(l,a):l);"__parsed_extra"===a?(i[a]=i[a]||[],i[a].push(l)):i[a]=l}return e.header&&(s>f.length?k("FieldMismatch","TooManyFields","Too many fields: expected "+f.length+" fields but parsed "+s,d+r):s<f.length&&k("FieldMismatch","TooFewFields","Too few fields: expected "+f.length+" fields but parsed "+s,d+r)),i}g&&(e.header||e.dynamicTyping||e.transform)&&(t=1,!g.data.length||Array.isArray(g.data[0])?(g.data=g.data.map(l),t=g.data.length):g.data=l(g.data,0),e.header&&g.meta&&(g.meta.fields=f),d+=t)}function _(){return e.header&&0===f.length}function k(e,t,r,i){e={type:e,code:t,message:r},void 0!==i&&(e.row=i),g.errors.push(e)}b(e.step)&&(s=e.step,e.step=function(t){g=t,_()?x():(x(),0!==g.data.length&&(u+=t.data.length,e.preview&&u>e.preview?r.abort():(g.data=g.data[0],s(g,l))))}),this.parse=function(s,n,o){var l=e.quoteChar||'"',l=(e.newline||(e.newline=this.guessLineEndings(s,l)),i=!1,e.delimiter?b(e.delimiter)&&(e.delimiter=e.delimiter(s),g.meta.delimiter=e.delimiter):((l=((t,r,i,s,n)=>{var o,l,u,d;n=n||[","," ","|",";",a.RECORD_SEP,a.UNIT_SEP];for(var c=0;c<n.length;c++){for(var h,f=n[c],m=0,g=0,x=0,v=(u=void 0,new p({comments:s,delimiter:f,newline:r,preview:10}).parse(t)),_=0;_<v.data.length;_++)i&&y(v.data[_])?x++:(g+=h=v.data[_].length,void 0===u?u=h:0<h&&(m+=Math.abs(h-u),u=h));0<v.data.length&&(g/=v.data.length-x),1.99<g&&(void 0===l||m<l||m===l&&d<g)&&(l=m,o=f,d=g)}return{successful:!!(e.delimiter=o),bestDelimiter:o}})(s,e.newline,e.skipEmptyLines,e.comments,e.delimitersToGuess)).successful?e.delimiter=l.bestDelimiter:(i=!0,e.delimiter=a.DefaultDelimiter),g.meta.delimiter=e.delimiter),v(e));return l.header=_(),e.preview&&e.header&&l.preview++,t=s,g=(r=new p(l)).parse(t,n,o),x(),c?{meta:{paused:!0}}:g||{meta:{paused:!1}}},this.paused=function(){return c},this.pause=function(){c=!0,r.abort(),t=b(e.chunk)?"":t.substring(r.getCharIndex())},this.resume=function(){l.streamer._halted?(c=!1,l.streamer.parseChunk(t,!0)):setTimeout(l.resume,3)},this.aborted=function(){return h},this.abort=function(){h=!0,r.abort(),g.meta.aborted=!0,b(e.complete)&&e.complete(g),t=""},this.guessLineEndings=function(e,t){e=e.substring(0,1048576);var t=RegExp(m(t)+"([^]*?)"+m(t),"gm"),r=(e=e.replace(t,"")).split("\r"),t=e.split("\n"),e=1<t.length&&t[0].length<r[0].length;if(1===r.length||e)return"\n";for(var i=0,s=0;s<r.length;s++)"\n"===r[s][0]&&i++;return i>=r.length/2?"\r\n":"\r"}}function m(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function p(e){var t=(e=e||{}).delimiter,r=e.newline,i=e.comments,s=e.step,n=e.preview,l=e.fastMode,u=null,d=!1,c=null==e.quoteChar?'"':e.quoteChar,h=c;if(void 0!==e.escapeChar&&(h=e.escapeChar),("string"!=typeof t||-1<a.BAD_DELIMITERS.indexOf(t))&&(t=","),i===t)throw Error("Comment character same as delimiter");!0===i?i="#":("string"!=typeof i||-1<a.BAD_DELIMITERS.indexOf(i))&&(i=!1),"\n"!==r&&"\r"!==r&&"\r\n"!==r&&(r="\n");var f=0,p=!1;this.parse=function(a,g,y){if("string"!=typeof a)throw Error("Input must be a string");var x=a.length,v=t.length,_=r.length,k=i.length,w=b(s),C=[],E=[],I=[],S=f=0;if(!a)return D();if(l||!1!==l&&-1===a.indexOf(c)){for(var j=a.split(r),R=0;R<j.length;R++){if(I=j[R],f+=I.length,R!==j.length-1)f+=r.length;else if(y)break;if(!i||I.substring(0,k)!==i){if(w){if(C=[],M(I.split(t)),W(),p)return D()}else M(I.split(t));if(n&&n<=R)return C=C.slice(0,n),D(!0)}}return D()}for(var O=a.indexOf(t,f),L=a.indexOf(r,f),T=RegExp(m(h)+m(c),"g"),$=a.indexOf(c,f);;)if(a[f]===c)for($=f,f++;;){if(-1===($=a.indexOf(c,$+1)))return y||E.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:C.length,index:f}),F();if($===x-1)return F(a.substring(f,$).replace(T,c));if(c===h&&a[$+1]===h)$++;else if(c===h||0===$||a[$-1]!==h){-1!==O&&O<$+1&&(O=a.indexOf(t,$+1));var N=A(-1===(L=-1!==L&&L<$+1?a.indexOf(r,$+1):L)?O:Math.min(O,L));if(a.substr($+1+N,v)===t){I.push(a.substring(f,$).replace(T,c)),a[f=$+1+N+v]!==c&&($=a.indexOf(c,f)),O=a.indexOf(t,f),L=a.indexOf(r,f);break}if(N=A(L),a.substring($+1+N,$+1+N+_)===r){if(I.push(a.substring(f,$).replace(T,c)),q($+1+N+_),O=a.indexOf(t,f),$=a.indexOf(c,f),w&&(W(),p))return D();if(n&&C.length>=n)return D(!0);break}E.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:C.length,index:f}),$++}}else if(i&&0===I.length&&a.substring(f,f+k)===i){if(-1===L)return D();f=L+_,L=a.indexOf(r,f),O=a.indexOf(t,f)}else if(-1!==O&&(O<L||-1===L))I.push(a.substring(f,O)),f=O+v,O=a.indexOf(t,f);else{if(-1===L)break;if(I.push(a.substring(f,L)),q(L+_),w&&(W(),p))return D();if(n&&C.length>=n)return D(!0)}return F();function M(e){C.push(e),S=f}function A(e){return -1!==e&&(e=a.substring($+1,e))&&""===e.trim()?e.length:0}function F(e){return y||(void 0===e&&(e=a.substring(f)),I.push(e),f=x,M(I),w&&W()),D()}function q(e){f=e,M(I),I=[],L=a.indexOf(r,f)}function D(i){if(e.header&&!g&&C.length&&!d){var s=C[0],n=Object.create(null),a=new Set(s);let t=!1;for(let r=0;r<s.length;r++){let i=o(s[r]);if(n[i=b(e.transformHeader)?e.transformHeader(i,r):i]){let e,o=n[i];for(;e=i+"_"+o,o++,a.has(e););a.add(e),s[r]=e,n[i]++,t=!0,(u=null===u?{}:u)[e]=i}else n[i]=1,s[r]=i;a.add(i)}t&&console.warn("Duplicate headers found and renamed."),d=!0}return{data:C,errors:E,meta:{delimiter:t,linebreak:r,aborted:p,truncated:!!i,cursor:S+(g||0),renamedHeaders:u}}}function W(){s(D()),C=[],E=[]}},this.abort=function(){p=!0},this.getCharIndex=function(){return f}}function g(e){var t=e.data,r=s[t.workerId],i=!1;if(t.error)r.userError(t.error,t.file);else if(t.results&&t.results.data){var n={abort:function(){i=!0,y(t.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:x,resume:x};if(b(r.userStep)){for(var a=0;a<t.results.data.length&&(r.userStep({data:t.results.data[a],errors:t.results.errors,meta:t.results.meta},n),!i);a++);delete t.results}else b(r.userChunk)&&(r.userChunk(t.results,n,t.file),delete t.results)}t.finished&&!i&&y(t.workerId,t.results)}function y(e,t){var r=s[e];b(r.userComplete)&&r.userComplete(t),r.terminate(),delete s[e]}function x(){throw Error("Not implemented.")}function v(e){if("object"!=typeof e||null===e)return e;var t,r=Array.isArray(e)?[]:{};for(t in e)r[t]=v(e[t]);return r}function _(e,t){return function(){e.apply(t,arguments)}}function b(e){return"function"==typeof e}return a.parse=function(r,i){var l,f,m,p=(i=i||{}).dynamicTyping||!1;if(b(p)&&(i.dynamicTypingFunction=p,p={}),i.dynamicTyping=p,i.transform=!!b(i.transform)&&i.transform,void 0!==i.downloadTimeout){var p=parseInt(i.downloadTimeout);if(isNaN(p))throw Error("Config downloadTimeout value ("+i.downloadTimeout+") not parsable by parseInt(val).");i.downloadTimeout=p}if(!i.worker||!a.WORKERS_SUPPORTED)return p=null,a.NODE_STREAM_INPUT,"string"==typeof r?(r=o(r),p=new(i.download?u:c)(i)):!0===r.readable&&b(r.read)&&b(r.on)?p=new h(i):(t.File&&r instanceof File||r instanceof Object)&&(p=new d(i)),p.stream(r);(p=!!a.WORKERS_SUPPORTED&&(f=t.URL||t.webkitURL||null,m=e.toString(),l=a.BLOB_URL||(a.BLOB_URL=f.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",m,")();"],{type:"text/javascript"}))),(l=new t.Worker(l)).onmessage=g,l.id=n++,s[l.id]=l)).userStep=i.step,p.userChunk=i.chunk,p.userComplete=i.complete,p.userError=i.error,i.step=b(i.step),i.chunk=b(i.chunk),i.complete=b(i.complete),i.error=b(i.error),delete i.worker,p.postMessage({input:r,config:i,workerId:p.id})},a.unparse=function(e,t){var r=!1,i=!0,s=",",n="\r\n",o='"',l=o+o,u=!1,d=null,c=!1,h=((()=>{if("object"==typeof t){if("string"!=typeof t.delimiter||a.BAD_DELIMITERS.filter(function(e){return -1!==t.delimiter.indexOf(e)}).length||(s=t.delimiter),("boolean"==typeof t.quotes||"function"==typeof t.quotes||Array.isArray(t.quotes))&&(r=t.quotes),"boolean"!=typeof t.skipEmptyLines&&"string"!=typeof t.skipEmptyLines||(u=t.skipEmptyLines),"string"==typeof t.newline&&(n=t.newline),"string"==typeof t.quoteChar&&(l=(o=t.quoteChar)+o),"boolean"==typeof t.header&&(i=t.header),Array.isArray(t.columns)){if(0===t.columns.length)throw Error("Option columns is empty");d=t.columns}void 0!==t.escapeChar&&(l=t.escapeChar+o),t.escapeFormulae instanceof RegExp?c=t.escapeFormulae:"boolean"==typeof t.escapeFormulae&&t.escapeFormulae&&(c=/^[=+\-@\t\r].*$/)}})(),RegExp(m(o),"g"));if("string"==typeof e&&(e=JSON.parse(e)),Array.isArray(e)){if(!e.length||Array.isArray(e[0]))return f(null,e,u);if("object"==typeof e[0])return f(d||Object.keys(e[0]),e,u)}else if("object"==typeof e)return"string"==typeof e.data&&(e.data=JSON.parse(e.data)),Array.isArray(e.data)&&(e.fields||(e.fields=e.meta&&e.meta.fields||d),e.fields||(e.fields=Array.isArray(e.data[0])?e.fields:"object"==typeof e.data[0]?Object.keys(e.data[0]):[]),Array.isArray(e.data[0])||"object"==typeof e.data[0]||(e.data=[e.data])),f(e.fields||[],e.data||[],u);throw Error("Unable to serialize unrecognized input");function f(e,t,r){var a="",o=("string"==typeof e&&(e=JSON.parse(e)),"string"==typeof t&&(t=JSON.parse(t)),Array.isArray(e)&&0<e.length),l=!Array.isArray(t[0]);if(o&&i){for(var u=0;u<e.length;u++)0<u&&(a+=s),a+=p(e[u],u);0<t.length&&(a+=n)}for(var d=0;d<t.length;d++){var c=(o?e:t[d]).length,h=!1,f=o?0===Object.keys(t[d]).length:0===t[d].length;if(r&&!o&&(h="greedy"===r?""===t[d].join("").trim():1===t[d].length&&0===t[d][0].length),"greedy"===r&&o){for(var m=[],g=0;g<c;g++){var y=l?e[g]:g;m.push(t[d][y])}h=""===m.join("").trim()}if(!h){for(var x=0;x<c;x++){0<x&&!f&&(a+=s);var v=o&&l?e[x]:x;a+=p(t[d][v],x)}d<t.length-1&&(!r||0<c&&!f)&&(a+=n)}}return a}function p(e,t){var i,n,u;return null==e?"":e.constructor===Date?isNaN(e.getTime())?"":e.toISOString():(u=!1,c&&"string"==typeof e&&c.test(e)&&(e="'"+e,u=!0),n=(i=e.toString()).replace(h,l),(u=u||!0===r||"function"==typeof r&&r(e,t)||Array.isArray(r)&&r[t]||((e,t)=>{for(var r=0;r<t.length;r++)if(-1<e.indexOf(t[r]))return!0;return!1})(n,a.BAD_DELIMITERS)||-1<n.indexOf(s)||-1<i.indexOf(o)||" "===n.charAt(0)||" "===n.charAt(n.length-1))?o+n+o:n)}},a.RECORD_SEP="\x1e",a.UNIT_SEP="\x1f",a.BYTE_ORDER_MARK="\uFEFF",a.BAD_DELIMITERS=["\r","\n",'"',a.BYTE_ORDER_MARK],a.WORKERS_SUPPORTED=!r&&!!t.Worker,a.NODE_STREAM_INPUT=1,a.LocalChunkSize=0xa00000,a.RemoteChunkSize=5242880,a.DefaultDelimiter=",",a.Parser=p,a.ParserHandle=f,a.NetworkStreamer=u,a.FileStreamer=d,a.StringStreamer=c,a.ReadableStreamStreamer=h,i&&(t.onmessage=function(e){e=e.data,void 0===a.WORKER_ID&&e&&(a.WORKER_ID=e.workerId),"string"==typeof e.input?t.postMessage({workerId:a.WORKER_ID,results:a.parse(e.input,e.config),finished:!0}):(t.File&&e.input instanceof File||e.input instanceof Object)&&(e=a.parse(e.input,e.config))&&t.postMessage({workerId:a.WORKER_ID,results:e,finished:!0})}),(u.prototype=Object.create(l.prototype)).constructor=u,(d.prototype=Object.create(l.prototype)).constructor=d,(c.prototype=Object.create(c.prototype)).constructor=c,(h.prototype=Object.create(l.prototype)).constructor=h,a},"function"==typeof define&&define.amd?void 0!==(s=i())&&e.v(s):t.exports=i()},40238,(e,t,r)=>{"use strict";var i=e.r(91788),s="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},n=i.useSyncExternalStore,a=i.useRef,o=i.useEffect,l=i.useMemo,u=i.useDebugValue;r.useSyncExternalStoreWithSelector=function(e,t,r,i,d){var c=a(null);if(null===c.current){var h={hasValue:!1,value:null};c.current=h}else h=c.current;var f=n(e,(c=l(function(){function e(e){if(!o){if(o=!0,n=e,e=i(e),void 0!==d&&h.hasValue){var t=h.value;if(d(t,e))return a=t}return a=e}if(t=a,s(n,e))return t;var r=i(e);return void 0!==d&&d(t,r)?(n=e,t):(n=e,a=r)}var n,a,o=!1,l=void 0===r?null:r;return[function(){return e(t())},null===l?void 0:function(){return e(l())}]},[t,r,i,d]))[0],c[1]);return o(function(){h.hasValue=!0,h.value=f},[f]),u(f),f}},19979,(e,t,r)=>{"use strict";e.i(50461),t.exports=e.r(40238)}]);
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,56158,(e,t,r)=>{let a="/payment-provider/PaymentProviderDetailPage";(window.__NEXT_P=window.__NEXT_P||[]).push([a,()=>e.r(70365)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([a])})},70693,12970,e=>{"use strict";var t=e.i(91788);let r=t.default.createContext({customProperties:{},hydrateFragment:(e,t)=>null});e.s(["default",0,r],12970),e.s(["default",0,()=>(0,t.useContext)(r)],70693)},44926,e=>{"use strict";var t=e.i(91398),r=e.i(72043),a=e.i(69322);e.s(["default",0,({isActive:e,activeText:s=null,activeClassName:i="",inActiveClassName:l="",inActiveText:d=null,containerClassName:n=""})=>{let{formatMessage:o}=(0,a.useIntl)();return(0,t.jsx)("span",{className:(0,r.default)("",n),children:e?(0,t.jsx)("span",{className:(0,r.default)("inline-flex items-center border rounded-full px-2.5 py-0.5 text-sm font-medium bg-emerald-50 dark:bg-emerald-900/30 text-emerald-700 dark:text-emerald-300 border-emerald-200 dark:border-emerald-800 uppercase",i),children:s||o({id:"active",defaultMessage:"Active"})}):(0,t.jsx)("span",{className:(0,r.default)("inline-flex items-center border rounded-full px-2.5 py-0.5 text-sm font-medium bg-amber-100 dark:bg-yellow-900/30 text-yellow-800 dark:text-yellow-300 border-amber-400 dark:border-yellow-800 uppercase",l),children:d||o({id:"inactive",defaultMessage:"In-Active"})})})}])},81359,e=>{"use strict";var t=e.i(91398),r=e.i(24608),a=e.i(69322);e.s(["default",0,({onClick:e,text:s=null,Icon:i=null})=>{let{formatMessage:l}=(0,a.useIntl)();return(0,t.jsxs)("button",{type:"button",onClick:e,"aria-describedby":"header-delete-button",className:"inline-flex items-center gap-2 justify-center rounded-md border border-rose-500 px-4 py-2 text-sm font-medium leading-5 text-rose-600 dark:text-rose-200 shadow-sm hover:border-rose-600 hover:bg-rose-600 hover:text-white focus:outline-hidden focus:ring-2 focus:ring-rose-500 focus:ring-offset-2 h-[38px]",children:[(0,t.jsx)("span",{children:i||(0,t.jsx)(r.XMarkIcon,{className:"h-5 w-5"})}),s||l({id:"delete",defaultMessage:"Delete"})]})}])},55215,e=>{"use strict";var t=e.i(91398),r=e.i(72043);e.s(["default",0,({value:e,className:a,onChange:s=()=>{},rows:i=7,...l})=>{let d=Math.max(e?e.split("\n").length:1,i);return(0,t.jsx)("textarea",{className:(0,r.default)("text-black dark:bg-slate-900 dark:text-slate-200 border-transparent border-t border-t-slate-200 dark:border-t-slate-800 resize-y",a),value:e,onChange:s,rows:d,...l})}])},12197,e=>{"use strict";var t=e.i(91398),r=e.i(69322);e.s(["default",0,()=>{let{formatMessage:e}=(0,r.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 ..."})})]})})}])},33457,e=>{"use strict";var t=e.i(91398),r=e.i(15361),a=e.i(69322),s=e.i(83147),i=e.i(84818),l=e.i(60193),d=e.i(7105),n=e.i(99160),o=e.i(98949),u=e.i(69211),c=e.i(72094);let m=({onSubmit:e,onSubmitSuccess:r,provider:s,disabled:i})=>{let{formatMessage:l}=(0,a.useIntl)(),m=(0,o.default)({initialValues:{configuration:JSON.stringify(s?.configuration||{},null,2)},submit:e,getSubmitErrorMessage:e=>e?.message||"",onSubmitSuccess:r});return(0,t.jsx)(u.default,{form:m,className:"mt-6",children:(0,t.jsxs)("div",{className:"mt-1 sm:mt-0",children:[(0,t.jsx)(d.default,{id:"configuration",name:"configuration",disabled:i,value:m.formik.values.configuration,label:l({id:"configuration",defaultMessage:"Configuration"})}),(0,t.jsx)(c.default,{}),!i&&(0,t.jsx)(n.default,{label:l({id:"update_configuration",defaultMessage:"Update configuration"}),className:"mt-3"})]})})};var f=e.i(44926),x=e.i(65153);e.s(["default",0,({provider:e,onSubmit:d,onSubmitSuccess:n,readOnly:o,children:u=null})=>{let{formatMessage:c}=(0,a.useIntl)(),{formatDateTime:p}=(0,i.default)();return(0,t.jsx)("div",{className:"my-6",children:(0,t.jsx)("div",{className:"space-y-8",children:(0,t.jsxs)("div",{className:"space-y-8 sm:space-y-5",children:[(0,t.jsxs)("div",{className:"flex items-center",children:[(0,t.jsx)("h3",{className:"text-2xl leading-6 text-slate-900 dark:text-slate-200 mr-2",children:(0,s.getInterfaceLabel)(e?.interface)}),(0,t.jsx)(f.default,{containerClassName:"self-end",isActive:e?.isActive})]}),(0,t.jsxs)("div",{className:"space-y-4 max-w-xs",children:[(0,t.jsxs)("div",{className:"flex justify-between w-full gap-3",children:[(0,t.jsx)("dt",{className:"my-auto inline-block text-sm text-slate-400 ",children:c({id:"type_colon",defaultMessage:"Type:"})}),(0,t.jsx)("dd",{children:(0,t.jsx)(x.default,{text:e?.type,color:l.PROVIDER_TYPE_CLASSES[e?.type]})})]}),(0,t.jsxs)("div",{className:"flex flex-col justify-center space-y-2",children:[(0,t.jsxs)("div",{className:"flex items-center",children:[(0,t.jsx)("dt",{className:"text-sm font-normal text-slate-400 pr-2",children:c({id:"created_colon",defaultMessage:"Created:"})}),(0,t.jsx)("dd",{className:"ml-auto text-base",children:p(e?.created,{dateStyle:"long",timeStyle:"short"})})]}),(0,t.jsxs)("div",{className:"flex items-center",children:[(0,t.jsx)("dt",{className:"text-sm font-normal text-slate-400 pr-2",children:c({id:"last_updated",defaultMessage:"Last Updated:"})}),(0,t.jsx)("dd",{className:"ml-auto text-base",children:p(e?.updated,{dateStyle:"long",timeStyle:"short"})})]})]})]}),u&&(0,t.jsx)("div",{className:"w-full",children:u}),(0,t.jsx)(m,{onSubmit:d,onSubmitSuccess:n,provider:e,disabled:o}),(0,t.jsxs)("div",{className:"mt-6 mb-3",children:[(0,t.jsx)("dt",{className:"inline-block text-sm font-normal text-slate-400",children:c({id:"configuration_status",defaultMessage:"Configuration status"})}),e?.configurationError?(0,t.jsx)("dd",{className:"mt-2",children:(0,t.jsxs)("div",{className:"flex items-start p-3 bg-rose-50 dark:bg-rose-900/20 border border-rose-200 dark:border-rose-800 rounded-md",children:[(0,t.jsx)("svg",{className:"h-5 w-5 text-rose-400 dark:text-rose-500 mt-0.5 mr-3 flex-shrink-0",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zM8.28 7.22a.75.75 0 00-1.06 1.06L8.94 10l-1.72 1.72a.75.75 0 101.06 1.06L10 11.06l1.72 1.72a.75.75 0 101.06-1.06L11.06 10l1.72-1.72a.75.75 0 00-1.06-1.06L10 8.94 8.28 7.22z",clipRule:"evenodd"})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-sm font-medium text-rose-800 dark:text-rose-200",children:c({id:"configuration_invalid",defaultMessage:"Invalid configuration"})}),(0,t.jsx)("div",{className:"mt-1 text-sm text-rose-700 dark:text-rose-300",children:e?.configurationError})]})]})}):(0,t.jsx)("dd",{className:"mt-2",children:(0,t.jsxs)("div",{className:"flex items-center p-3 bg-emerald-50 dark:bg-emerald-900/20 border border-emerald-200 dark:border-emerald-800 rounded-md",children:[(0,t.jsx)(r.CheckCircleIcon,{className:"h-5 w-5 text-emerald-600 dark:text-emerald-400 mr-3 flex-shrink-0"}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-sm font-medium text-emerald-800 dark:text-emerald-200",children:c({id:"configuration_valid",defaultMessage:"Valid configuration"})}),(0,t.jsx)("p",{className:"mt-1 text-sm text-emerald-700 dark:text-emerald-300",children:c({id:"configuration_valid_description",defaultMessage:"All configuration parameters are correctly set and validated."})})]})]})})]})]})})})}],33457)},72094,e=>{"use strict";var t=e.i(91398),r=e.i(91788),a=e.i(61898);let s=(e,t="")=>Object.fromEntries(Object.entries(e).reduce((e=[],[a,i])=>"string"==typeof i||r.default.isValidElement(i)?[...e,[`${t}${a}`,i]]:[...Object.entries(s(Object.assign({},...i),`${t}${a}.`)),...e],[])),i=({submitError:e="",fieldErrors:a=[]})=>(0,t.jsx)("div",{className:"my-2 mb-5 text-rose-700",children:(0,t.jsxs)("ul",{className:"space-y-1",children:[e&&(0,t.jsx)("li",{className:"disabled",children:(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:e}})},"submitError"),Object.entries(s(a)).map(([e,a])=>(0,t.jsx)("li",{className:"disabled",children:(0,t.jsx)("button",{type:"button",className:"no-button text-rose-600 dark:text-rose-400","aria-label":"Error button",onClick:()=>{let t=document.getElementById(e);t&&t.focus()},children:r.default.isValidElement(a)?a:(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:a}})})},e))]})});e.s(["default",0,({displayFieldErrors:e=!1})=>{let{submitError:r,formik:s}=(0,a.default)(),l=s?.errors;return(r||e)&&(0,t.jsx)(i,{submitError:r,fieldErrors:e&&l})}])},7105,e=>{"use strict";var t=e.i(91398),r=e.i(72043),a=e.i(55215),s=e.i(60741),i=e.i(29691);e.s(["default",0,({validators:e=[],rows:l=10,...d})=>{let n=(0,s.default)({...d,validators:[...e,{isValid:e=>{try{return JSON?.parse(e),!0}catch(e){return!1}},intlMessageDescriptor:{id:"invalid_json_input",defaultMessage:"Invalid JSON input"}}]});return(0,t.jsx)(i.default,{...n,children:(0,t.jsx)(a.default,{className:(0,r.default)("mt-1 block w-full max-w-full rounded-md border-1 border-slate-300 dark:border-slate-800 dark:bg-slate-900 dark:text-slate-200 shadow-xs dark:shadow-none focus:ring-slate-800 sm:text-sm",{"border-rose-300 text-rose-600 focus:border-rose-600 focus:ring-rose-600":!!n.error},d.className),disabled:n.disabled,id:n.name,name:n.name,onChange:e=>{try{JSON.parse(e.target.value||"{}"),n.setError("")}catch(e){n.setError(e.message?.replace("JSON.parse",""))}finally{n.setValue(e.target.value,!0),n.setTouched(!0)}},onBlur:e=>{try{n.setValue(JSON.stringify(JSON.parse(e.target.value),void 0,2),!0),n.setError("")}catch(e){n.setError(e.message)}},placeholder:n.placeholder,autoComplete:n.autoComplete,value:n.value})})}])},15971,e=>{"use strict";var t=e.i(91398),r=e.i(69322);e.s(["default",0,({onOkClick:e,onCancelClick:a,okText:s=null,cancelText:i=null,headerText:l=null,message:d=null,icon:n=null,close:o=null})=>{let{formatMessage:u}=(0,r.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:l||u({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||u({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:s||u({id:"continue",defaultMessage:"Continue"})}),(0,t.jsx)("button",{id:"danger_cancel",onClick:a||o,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:i||u({id:"cancel",defaultMessage:"Cancel"})})]})]})}])},6607,e=>{"use strict";var t=e.i(91788),r=e.i(6444);e.s(["default",0,()=>(0,t.useContext)(r.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])},16238,e=>{"use strict";var t=e.i(59080);let r=t.gql`
|
|
2
|
-
fragment PaymentProviderFragment on PaymentProvider {
|
|
3
|
-
_id
|
|
4
|
-
created
|
|
5
|
-
updated
|
|
6
|
-
deleted
|
|
7
|
-
isActive
|
|
8
|
-
type
|
|
9
|
-
interface {
|
|
10
|
-
_id
|
|
11
|
-
label
|
|
12
|
-
version
|
|
13
|
-
}
|
|
14
|
-
configuration
|
|
15
|
-
configurationError
|
|
16
|
-
}
|
|
17
|
-
`;e.s(["default",0,r])},53555,e=>{"use strict";var t=e.i(59080),r=e.i(32171),a=e.i(70693),s=e.i(16238);e.s(["default",0,({paymentProviderId:e=null})=>{let{customProperties:i}=(0,a.default)(),{data:l,loading:d,error:n}=(0,r.useQuery)(((e="")=>t.gql`
|
|
18
|
-
query PaymentProvider($paymentProviderId: ID!) {
|
|
19
|
-
paymentProvider(paymentProviderId: $paymentProviderId) {
|
|
20
|
-
...PaymentProviderFragment
|
|
21
|
-
${e}
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
${s.default}
|
|
25
|
-
`)(i?.PaymentProvider),{skip:!e,variables:{paymentProviderId:e}});return{paymentProvider:l?.paymentProvider,loading:d,error:n}}])},74982,e=>{"use strict";var t=e.i(59080),r=e.i(76204);let a=t.gql`
|
|
26
|
-
mutation RemovePaymentProvider($paymentProviderId: ID!) {
|
|
27
|
-
removePaymentProvider(paymentProviderId: $paymentProviderId) {
|
|
28
|
-
_id
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
`;e.s(["default",0,()=>{let[e]=(0,r.useMutation)(a);return{removePaymentProvider:async({paymentProviderId:t})=>e({variables:{paymentProviderId:t},refetchQueries:["PaymentProviders","ShopStatus"]})}}])},70365,e=>{"use strict";var t=e.i(91398),r=e.i(3828),a=e.i(66773),s=e.i(69322),i=e.i(28401),l=e.i(61494),d=e.i(17644),n=e.i(53555),o=e.i(74982),u=e.i(59080),c=e.i(76204),m=e.i(16238);let f=u.gql`
|
|
32
|
-
mutation UpdatePaymentProvider(
|
|
33
|
-
$paymentProvider: UpdateProviderInput!
|
|
34
|
-
$paymentProviderId: ID!
|
|
35
|
-
) {
|
|
36
|
-
updatePaymentProvider(
|
|
37
|
-
paymentProvider: $paymentProvider
|
|
38
|
-
paymentProviderId: $paymentProviderId
|
|
39
|
-
) {
|
|
40
|
-
...PaymentProviderFragment
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
${m.default}
|
|
44
|
-
`;var x=e.i(12197),p=e.i(15971),g=e.i(6607),v=e.i(33457),h=e.i(81359),y=e.i(83147),b=e.i(58971);e.s(["default",0,({paymentProviderId:e})=>{let{formatMessage:u}=(0,s.useIntl)(),{setModal:m}=(0,g.default)(),{push:j,replace:w}=(0,r.useRouter)(),{hasRole:P}=(0,b.default)(),{updatePaymentProvider:N}=(()=>{let[e]=(0,c.useMutation)(f);return{updatePaymentProvider:async({configuration:t,paymentProviderId:r})=>e({variables:{paymentProvider:{configuration:t},paymentProviderId:r}})}})(),{removePaymentProvider:k}=(0,o.default)(),{paymentProvider:_,loading:M}=(0,n.default)({paymentProviderId:e}),C=async({configuration:t})=>(await N({configuration:JSON.parse(t||"[]"),paymentProviderId:e}),!0),I=async()=>{await m((0,t.jsx)(p.default,{onCancelClick:async()=>m(""),message:u({id:"delete_payment_provider_confirmation",defaultMessage:"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this payment provider? "}),onOkClick:async()=>{m(""),await k({paymentProviderId:e}),i.toast.success(u({id:"payment_provider_deleted",defaultMessage:"Payment provider deleted successfully"})),j("/payment-provider")},okText:u({id:"delete_payment_provider",defaultMessage:"Delete payment provider"})}))};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(l.default,{currentPageTitle:(0,y.getInterfaceLabel)(_?.interface)}),(0,t.jsxs)("div",{className:"items-center flex min-w-full justify-between",children:[(0,t.jsx)(d.default,{headerText:u({id:"update_payment_provider_header",defaultMessage:"Update payment provider"}),title:u({id:"payment_detail_title",defaultMessage:"Payment provider {id}"},{id:_?._id})}),P(a.IRoleAction.ManagePaymentProviders)&&(0,t.jsx)(h.default,{onClick:I})]}),M?(0,t.jsx)(x.default,{}):(0,t.jsx)(v.default,{readOnly:!P(a.IRoleAction.ManagePaymentProviders),provider:_,onSubmit:C,onSubmitSuccess:()=>{w("/payment-provider")}})]})}],70365)},15361,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...a},s){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:s,"aria-labelledby":r},a),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))});e.s(["CheckCircleIcon",0,r],15361)},24608,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...a},s){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:s,"aria-labelledby":r},a),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"}))});e.s(["XMarkIcon",0,r],24608)},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)))},13521,(e,t,r)=>{"use strict";e.i(50461),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ImageConfigContext",{enumerable:!0,get:function(){return i}});let a=e.r(41705)._(e.r(91788)),s=e.r(15125),i=a.default.createContext(s.imageConfigDefault)},15125,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={VALID_LOADERS:function(){return i},imageConfigDefault:function(){return l}};for(var s in a)Object.defineProperty(r,s,{enumerable:!0,get:a[s]});let i=["default","imgix","cloudinary","akamai","custom"],l={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],maximumDiskCacheSize:void 0,maximumRedirects:3,maximumResponseBody:5e7,dangerouslyAllowLocalIP:!1,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:[75],unoptimized:!1,customCacheHandler:!1}}]);
|