@unchainedshop/admin-ui 5.0.0-alpha.10 → 5.0.0-alpha.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/{chunk-WPLOTFGW.js → chunk-2HTCKO4E.js} +12 -3
- package/dist/{chunk-HTPSKUXQ.js → chunk-33ZO52Z7.js} +3337 -1778
- package/dist/{chunk-AE5LOZGH.js → chunk-4MXPTVDL.js} +16 -58
- package/dist/{chunk-I64TXIE7.js → chunk-ATZJXTRA.js} +1 -1
- package/dist/{chunk-AOR2B5N5.js → chunk-BOMSMJF2.js} +4 -1
- package/dist/{chunk-QHR23GVH.js → chunk-CUYIP5XG.js} +1 -1
- package/dist/{chunk-5WPFHQZN.js → chunk-E6HDJYA6.js} +3 -3
- package/dist/{chunk-FDHXLNZQ.js → chunk-EAVP6XZQ.js} +1 -1
- package/dist/{chunk-E7BVYJ3R.js → chunk-ED2FP42R.js} +2 -2
- package/dist/{chunk-H6G4UTZ5.js → chunk-GWMLIF3C.js} +5 -11
- package/dist/chunk-IWKDBADX.js +73 -0
- package/dist/{chunk-3L6EZQ6P.js → chunk-NFJE5EJG.js} +1 -1
- package/dist/chunk-VYEXPG3M.js +107 -0
- package/dist/{chunk-DTJ2DTKS.js → chunk-YUXHILXY.js} +15 -3
- 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/Combobox.d.ts.map +1 -1
- package/dist/components/ui/form/TextField.d.ts.map +1 -1
- package/dist/components/ui/index.d.ts +1 -0
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/form.js +814 -292
- package/dist/gql/operation-types.d.ts +195 -19
- package/dist/gql/operation-types.d.ts.map +1 -1
- package/dist/gql/schema-types.d.ts +65 -9
- package/dist/gql/schema-types.d.ts.map +1 -1
- package/dist/hooks.js +5 -5
- package/dist/modal.js +5 -5
- package/dist/modules/accounts.js +183 -3
- package/dist/modules/assortment.js +82 -3
- package/dist/modules/common/components/AppContext.d.ts.map +1 -1
- package/dist/modules/common/components/FormWrapper.d.ts.map +1 -1
- package/dist/modules/common/components/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/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/language.js +1 -1
- package/dist/modules/order.js +2 -2
- package/dist/modules/payment-providers.js +1 -1
- package/dist/modules/product-review.js +3 -3
- package/dist/modules/product.js +261 -13
- package/dist/modules/quotation.js +8 -1
- package/dist/modules/token.js +2 -2
- package/dist/modules/warehousing-providers.js +1 -1
- package/dist/modules/work.js +18 -102
- package/dist/plugins.js +1 -1
- package/dist/providers.js +6 -6
- 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 +3965 -3417
- 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/bg3Z_ZBjStiTvJAHlsPDE/_buildManifest.js +262 -0
- package/out/_next/static/chunks/0-kvzk5p0hp-4.js +11 -0
- package/out/_next/static/chunks/0-nzk-g6k41e-.js +119 -0
- package/out/_next/static/chunks/00wlebfe9j80r.js +24 -0
- package/out/_next/static/chunks/01isyk4v59s_4.js +5 -0
- package/out/_next/static/chunks/01otzjqxk372n.js +1 -0
- package/out/_next/static/chunks/03x_mgpai_kbn.js +1 -0
- package/out/_next/static/chunks/04327_1fq5i7-.js +9 -0
- package/out/_next/static/chunks/04_r4qnsjmy81.js +4 -0
- package/out/_next/static/chunks/04egfa7kckou_.js +165 -0
- package/out/_next/static/chunks/05474mknnr_tw.js +4 -0
- package/out/_next/static/chunks/{2kzyda4a6mqut.js → 06kqbwwnuu3te.js} +1 -1
- package/out/_next/static/chunks/0728622u98g6r.js +1 -0
- package/out/_next/static/chunks/09irjy-7k1922.js +1 -0
- package/out/_next/static/chunks/0_3suta3t3lus.js +5 -0
- package/out/_next/static/chunks/0_a5fzdztv84p.js +272 -0
- package/out/_next/static/chunks/0_ppdn6x6ci0v.js +31 -0
- package/out/_next/static/chunks/0br42_xli8-2x.js +6 -0
- package/out/_next/static/chunks/0cdk-eqghrgee.js +5 -0
- package/out/_next/static/chunks/0d54jo566j9ka.js +12 -0
- package/out/_next/static/chunks/0gfia1t8drmnx.js +182 -0
- package/out/_next/static/chunks/0gwd6ju8j_bwr.js +39 -0
- package/out/_next/static/chunks/0hv3x0mo1tt7i.js +5 -0
- package/out/_next/static/chunks/0i481ym5-ss1t.js +5 -0
- package/out/_next/static/chunks/0iohwbogpxe5r.js +1 -0
- package/out/_next/static/chunks/0j46qnxaxeqk_.js +1 -0
- package/out/_next/static/chunks/0mcu2o1ir2t_w.js +7 -0
- package/out/_next/static/chunks/0o4aj3bm49d_h.js +61 -0
- package/out/_next/static/chunks/0op3htrvd-ix6.js +5 -0
- package/out/_next/static/chunks/0p55j-ysba0wq.js +63 -0
- package/out/_next/static/chunks/0p7said9rdor1.js +1 -0
- package/out/_next/static/chunks/0qv2nce7okzy5.js +103 -0
- package/out/_next/static/chunks/0rrhyxuk32t3n.js +95 -0
- package/out/_next/static/chunks/0rt4le6syjqdj.js +21 -0
- package/out/_next/static/chunks/0s2jvi6_qj0lc.js +16 -0
- package/out/_next/static/chunks/0uef4ugmc_g10.js +1 -0
- package/out/_next/static/chunks/0v1tb34y7e1y4.js +5 -0
- package/out/_next/static/chunks/0w9d4swf95hvu.js +33 -0
- package/out/_next/static/chunks/0we1tw4xvdb7o.js +7 -0
- package/out/_next/static/chunks/0zlzflyq18hhy.js +4 -0
- package/out/_next/static/chunks/0zqdvl0b4w5nc.js +7 -0
- package/out/_next/static/chunks/1-wbp_4f-c4-3.js +837 -0
- package/out/_next/static/chunks/11vnr4kb9qkjr.js +1 -0
- package/out/_next/static/chunks/12cy_5m_0fj96.js +44 -0
- package/out/_next/static/chunks/131uuhqexo4si.js +4 -0
- package/out/_next/static/chunks/14eqp21pspjud.js +234 -0
- package/out/_next/static/chunks/14jd75j8ij4u2.js +3 -0
- package/out/_next/static/chunks/153-_av1r1ssb.js +4 -0
- package/out/_next/static/chunks/157ndq6b9jcvv.js +342 -0
- package/out/_next/static/chunks/177p92k5pdloo.js +1 -0
- package/out/_next/static/chunks/19-1z6h5eeq_w.js +134 -0
- package/out/_next/static/chunks/1bxznw06g-5u2.js +5 -0
- package/out/_next/static/chunks/1bypzyw5fs3w2.js +59 -0
- package/out/_next/static/chunks/1cz2fp89ssu5d.js +4 -0
- package/out/_next/static/chunks/1e2jykfql801f.js +16 -0
- package/out/_next/static/chunks/1eokbzdgdicpa.js +33 -0
- package/out/_next/static/chunks/1f0t23r6y0hni.js +1 -0
- package/out/_next/static/chunks/1fehej_7rgmmo.js +5 -0
- package/out/_next/static/chunks/1gl4h7w9t850f.js +1 -0
- package/out/_next/static/chunks/1gv0k-w7m83om.js +41 -0
- package/out/_next/static/chunks/1hzt0aoixrv4_.js +7 -0
- package/out/_next/static/chunks/1ia6hdgf7pj9y.js +174 -0
- package/out/_next/static/chunks/1in8spfokcjsp.js +8 -0
- package/out/_next/static/chunks/1j2gw9gyg8j80.js +5 -0
- package/out/_next/static/chunks/1k06h8wbfrx_v.js +5 -0
- package/out/_next/static/chunks/1kdcu-0jkya-b.js +61 -0
- package/out/_next/static/chunks/1msc4qrgaanh7.js +43 -0
- package/out/_next/static/chunks/1mx0p6r-9c5u_.js +4 -0
- package/out/_next/static/chunks/1oqc8etm-romv.js +1 -0
- package/out/_next/static/chunks/1p5lt4tkyouxz.js +4 -0
- package/out/_next/static/chunks/1q7wxp4rlhy0x.js +12 -0
- package/out/_next/static/chunks/1r61kgm2ct0nf.js +74 -0
- package/out/_next/static/chunks/1rmlm4404fsge.js +15 -0
- package/out/_next/static/chunks/1s3ool53utm9o.js +39 -0
- package/out/_next/static/chunks/1sc2ug6_szd_d.js +2 -0
- package/out/_next/static/chunks/1sh2ogc7tcbu-.js +1 -0
- package/out/_next/static/chunks/1t8jj0-6g8uyd.js +1 -0
- package/out/_next/static/chunks/1tbd6m-xvx0um.js +353 -0
- package/out/_next/static/chunks/1th1-x1szvnq8.js +5 -0
- package/out/_next/static/chunks/1tosw188dr9d6.js +44 -0
- package/out/_next/static/chunks/1tw97cvdosb89.js +5 -0
- package/out/_next/static/chunks/1ubmbegreszhk.js +1 -0
- package/out/_next/static/chunks/1ug1ie2lrhi0a.js +7 -0
- package/out/_next/static/chunks/1ulje1tawz8fl.js +1 -0
- package/out/_next/static/chunks/1uw7hr3o4w5cj.js +8 -0
- package/out/_next/static/chunks/1vzs8hvrsoslf.js +5 -0
- package/out/_next/static/chunks/1w6gc_cygbi6h.js +5 -0
- package/out/_next/static/chunks/1xybsisfyvqrj.js +115 -0
- package/out/_next/static/chunks/1yvl8l5yx1rj8.js +4 -0
- package/out/_next/static/chunks/1z-etrje5tsj6.js +7 -0
- package/out/_next/static/chunks/1z1d11slpalrq.js +4 -0
- package/out/_next/static/chunks/1z1mbux-7g74d.js +1 -0
- package/out/_next/static/chunks/1zdral15la_p7.js +99 -0
- package/out/_next/static/chunks/2-4610weysas_.js +1 -0
- package/out/_next/static/chunks/2-qo63s4vlxol.js +156 -0
- package/out/_next/static/chunks/20au-bdji0nu2.js +14 -0
- package/out/_next/static/chunks/21zghy5-42i1e.js +1 -0
- package/out/_next/static/chunks/22duvsj-priip.js +7 -0
- package/out/_next/static/chunks/22rdge7enz4nd.js +12 -0
- package/out/_next/static/chunks/249b4cg2ev597.js +187 -0
- package/out/_next/static/chunks/24caedynuzux0.js +5 -0
- package/out/_next/static/chunks/25ite4-jpq_mo.js +4 -0
- package/out/_next/static/chunks/25vdihxswn7dy.js +1 -0
- package/out/_next/static/chunks/26guwpx1_pkxv.js +1 -0
- package/out/_next/static/chunks/28o6402k4vuky.js +11 -0
- package/out/_next/static/chunks/28oppyg7ev102.js +1 -0
- package/out/_next/static/chunks/29x7cj-318eaa.js +1 -0
- package/out/_next/static/chunks/2_0v0fw6x71zy.js +46 -0
- package/out/_next/static/chunks/2a9dpzjx5mfjp.js +4 -0
- package/out/_next/static/chunks/2apnv1hcv-4zc.js +23 -0
- package/out/_next/static/chunks/2b4k5t_myq-pa.js +1 -0
- package/out/_next/static/chunks/2bugi3kot5jtu.js +1 -0
- package/out/_next/static/chunks/2bxdh-td1el8z.js +5 -0
- package/out/_next/static/chunks/2dz0_3jf4m9cy.js +31 -0
- package/out/_next/static/chunks/2ege1545af18d.js +4 -0
- package/out/_next/static/chunks/2erqawjj0rnih.js +117 -0
- package/out/_next/static/chunks/2gfzt_fdr-h96.js +81 -0
- package/out/_next/static/chunks/2grm6dtosrvoq.js +1 -0
- package/out/_next/static/chunks/2hc3d38gb0q-v.js +1 -0
- package/out/_next/static/chunks/2hci18oosfv5d.js +5 -0
- package/out/_next/static/chunks/2imf3_f1_ex86.js +1 -0
- package/out/_next/static/chunks/2ipcn3vy6d4_6.js +2 -0
- package/out/_next/static/chunks/2iwst7mjldlcz.js +1 -0
- package/out/_next/static/chunks/2ja0dztzyw8zw.js +1 -0
- package/out/_next/static/chunks/2ja1--2x_gs49.js +83 -0
- package/out/_next/static/chunks/2l8gepfm4kyjp.js +1 -0
- package/out/_next/static/chunks/2lec5u8obskt6.js +5 -0
- package/out/_next/static/chunks/2m38nntt3z8zi.js +103 -0
- package/out/_next/static/chunks/2pogx3xggqd8y.js +1 -0
- package/out/_next/static/chunks/2q988j4vovsiy.js +8 -0
- package/out/_next/static/chunks/2s-0q8i8lr2p2.js +5 -0
- package/out/_next/static/chunks/2u64ldp2xfy8a.js +709 -0
- package/out/_next/static/chunks/2ud5j0_nqocf4.js +5 -0
- package/out/_next/static/chunks/2uo6puoi0y082.js +5 -0
- package/out/_next/static/chunks/2w3z7kqh6nbmw.js +23 -0
- package/out/_next/static/chunks/2y11qf38baxpu.js +14 -0
- package/out/_next/static/chunks/2y8uau15r3p-o.js +1 -0
- package/out/_next/static/chunks/2zb-xmda5rbn0.js +1 -0
- package/out/_next/static/chunks/2zsvxbghbsuz1.js +4 -0
- package/out/_next/static/chunks/3-ve59izq9j-p.js +1 -0
- package/out/_next/static/chunks/3205eg3ochzp4.js +297 -0
- package/out/_next/static/chunks/32g5gxee1kcdc.js +28 -0
- package/out/_next/static/chunks/32whi9clpxjd0.js +5 -0
- package/out/_next/static/chunks/3368kg846t33d.js +57 -0
- package/out/_next/static/chunks/33oz-znvi5-m6.js +1 -0
- package/out/_next/static/chunks/345s7967cwd02.js +5 -0
- package/out/_next/static/chunks/34wf3lz_fft3k.js +2 -0
- package/out/_next/static/chunks/36x7q29atus_r.js +161 -0
- package/out/_next/static/chunks/37jjn1wguhj-a.js +5 -0
- package/out/_next/static/chunks/393--hagnnm97.js +39 -0
- package/out/_next/static/chunks/39moagn46hde9.js +5 -0
- package/out/_next/static/chunks/3_0q-dmk8few_.css +1 -0
- package/out/_next/static/chunks/3_adkt8r_brx4.js +165 -0
- package/out/_next/static/chunks/3b1kt-r_75q1a.js +43 -0
- package/out/_next/static/chunks/3e38rrs6dszgt.js +8 -0
- package/out/_next/static/chunks/3e7d8sb4289js.js +5 -0
- package/out/_next/static/chunks/3ek1bahoqa_ll.js +5 -0
- package/out/_next/static/chunks/3ek680kdzjdr7.js +1 -0
- package/out/_next/static/chunks/3eth7s2-06yuz.js +1 -0
- package/out/_next/static/chunks/3exy4ii5maq4x.js +54 -0
- package/out/_next/static/chunks/3fevbt4ysloo8.js +8 -0
- package/out/_next/static/chunks/3fu072xwkf88o.js +6 -0
- package/out/_next/static/chunks/3h6a3clw5m5ro.js +4 -0
- package/out/_next/static/chunks/3hmoy4f23y1s4.js +147 -0
- package/out/_next/static/chunks/3i4_3b36nutw7.js +33 -0
- package/out/_next/static/chunks/3jfe0uesrzz7a.js +1 -0
- package/out/_next/static/chunks/3jxeyjg2g7w94.js +1 -0
- package/out/_next/static/chunks/3k01tdsm6l20w.js +54 -0
- package/out/_next/static/chunks/3lr6hkso67d68.js +6 -0
- package/out/_next/static/chunks/3lzin6_25n8rs.js +30 -0
- package/out/_next/static/chunks/3nrrzhhoy8amt.js +4 -0
- package/out/_next/static/chunks/3o-h2po9z09dk.js +4 -0
- package/out/_next/static/chunks/3onharcadlou0.js +327 -0
- package/out/_next/static/chunks/3pls-kicv4xu9.js +175 -0
- package/out/_next/static/chunks/3t48n1yk76zoa.js +1 -0
- package/out/_next/static/chunks/3t_520l4ihlg3.js +54 -0
- package/out/_next/static/chunks/3tg_clsx6ux4o.js +1 -0
- package/out/_next/static/chunks/3ttz1zgoq3xmp.js +1 -0
- package/out/_next/static/chunks/3uekb_s0jaboj.js +1 -0
- package/out/_next/static/chunks/3ujdligrod612.js +5 -0
- package/out/_next/static/chunks/3www97fxyknos.js +4 -0
- package/out/_next/static/chunks/3x_gia2m5w9_l.js +147 -0
- package/out/_next/static/chunks/3xs_undkbcqp7.js +367 -0
- package/out/_next/static/chunks/3yktizlgzr6vc.js +4 -0
- package/out/_next/static/chunks/3ytp87o76hzmx.js +100 -0
- package/out/_next/static/chunks/40kvu3lk3s9h2.js +276 -0
- package/out/_next/static/chunks/41c4n9whpyrjc.js +7 -0
- package/out/_next/static/chunks/42dygj7ul4k54.js +33 -0
- package/out/_next/static/chunks/449x6nw2kd7l6.js +119 -0
- package/out/_next/static/chunks/44b7_q6pkf1k9.js +5 -0
- package/out/_next/static/chunks/44qc0zn0tudui.js +2 -0
- package/out/_next/static/chunks/45c05mbjow5wz.js +4 -0
- package/out/_next/static/chunks/turbopack-077hmtqrhcoji.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/ext/[[...slug]]/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 +10 -10
- package/src/modules/accounts/hooks/logOut.ts +26 -0
- package/src/modules/accounts/hooks/useAddEmail.ts +34 -0
- package/src/modules/accounts/hooks/useAddWeb3Address.ts +38 -0
- package/src/modules/accounts/hooks/useAddWebAuthnCredentials.ts +48 -0
- package/src/modules/accounts/hooks/useBulkUserOperations.ts +91 -0
- package/src/modules/accounts/hooks/useChangePassword.ts +36 -0
- package/src/modules/accounts/hooks/useCreateUser.ts +74 -0
- package/src/modules/accounts/hooks/useCreateWebAuthnCredentialCreationOptions.ts +31 -0
- package/src/modules/accounts/hooks/useCreateWebAuthnCredentialRequestOptions.ts +30 -0
- package/src/modules/accounts/hooks/useCurrentUser.ts +44 -0
- package/src/modules/accounts/hooks/useDeleteUser.ts +26 -0
- package/src/modules/accounts/hooks/useEnrollUser.ts +48 -0
- package/src/modules/accounts/hooks/useForgotPassword.ts +35 -0
- package/src/modules/accounts/hooks/useGenerateLoginCredentials.ts +80 -0
- package/src/modules/accounts/hooks/useGenerateWebAuthCredentials.ts +102 -0
- package/src/modules/accounts/hooks/useLoginWithPassword.ts +65 -0
- package/src/modules/accounts/hooks/useLoginWithWebAuthn.ts +38 -0
- package/src/modules/accounts/hooks/useLogoutAllSessions.ts +27 -0
- package/src/modules/accounts/hooks/useRemoveBookmark.ts +36 -0
- package/src/modules/accounts/hooks/useRemoveEmail.ts +40 -0
- package/src/modules/accounts/hooks/useRemoveWeb3Address.ts +38 -0
- package/src/modules/accounts/hooks/useRemoveWebAuthCredentials.ts +36 -0
- package/src/modules/accounts/hooks/useResetPassword.ts +46 -0
- package/src/modules/accounts/hooks/useSendVerificationEmail.ts +35 -0
- package/src/modules/accounts/hooks/useSetPassword.ts +38 -0
- package/src/modules/accounts/hooks/useSetRoles.ts +40 -0
- package/src/modules/accounts/hooks/useSetUserTags.ts +48 -0
- package/src/modules/accounts/hooks/useSetUsername.ts +40 -0
- package/src/modules/accounts/hooks/useUpdateUserAvatar.ts +49 -0
- package/src/modules/accounts/hooks/useUpdateUserProfile.ts +40 -0
- package/src/modules/accounts/hooks/useUser.ts +201 -0
- package/src/modules/accounts/hooks/useUserBookmarks.ts +51 -0
- package/src/modules/accounts/hooks/useUserExport.ts +107 -0
- package/src/modules/accounts/hooks/useUserWebAuthnCredentials.ts +44 -0
- package/src/modules/accounts/hooks/useUsers.ts +82 -0
- package/src/modules/accounts/hooks/useUsersCount.ts +50 -0
- package/src/modules/accounts/hooks/useValidateEmailVerificationToken.ts +34 -0
- package/src/modules/accounts/hooks/useValidateResetPasswordToken.ts +35 -0
- package/src/modules/accounts/hooks/useVerifyEmail.ts +41 -0
- package/src/modules/accounts/hooks/useVerifyWeb3Address.ts +40 -0
- package/src/modules/accounts/index.ts +6 -0
- package/src/modules/assortment/fragments/AssortmentChildrenFragment.ts +16 -0
- package/src/modules/assortment/fragments/AssortmentFragment.ts +31 -0
- package/src/modules/assortment/fragments/AssortmentLinkFragment.ts +18 -0
- package/src/modules/assortment/fragments/AssortmentMediaFragment.ts +19 -0
- package/src/modules/assortment/fragments/AssortmentMediaTextsFragment.ts +12 -0
- package/src/modules/assortment/fragments/AssortmentTextsFragment.ts +14 -0
- package/src/modules/assortment/hooks/useAddAssortmentFilter.ts +46 -0
- package/src/modules/assortment/hooks/useAddAssortmentLink.ts +46 -0
- package/src/modules/assortment/hooks/useAddAssortmentMedia.ts +52 -0
- package/src/modules/assortment/hooks/useAddAssortmentProduct.ts +46 -0
- package/src/modules/assortment/hooks/useAssortment.ts +56 -0
- package/src/modules/assortment/hooks/useAssortmentChildren.ts +58 -0
- package/src/modules/assortment/hooks/useAssortmentExport.ts +60 -0
- package/src/modules/assortment/hooks/useAssortmentFilters.ts +51 -0
- package/src/modules/assortment/hooks/useAssortmentLinks.ts +54 -0
- package/src/modules/assortment/hooks/useAssortmentMedia.ts +57 -0
- package/src/modules/assortment/hooks/useAssortmentPaths.ts +39 -0
- package/src/modules/assortment/hooks/useAssortmentProducts.ts +62 -0
- package/src/modules/assortment/hooks/useAssortments.ts +103 -0
- package/src/modules/assortment/hooks/useAssortmentsCount.ts +51 -0
- package/src/modules/assortment/hooks/useBulkAssortmentOperations.ts +100 -0
- package/src/modules/assortment/hooks/useCreateAssortment.ts +55 -0
- package/src/modules/assortment/hooks/usePrepareAssortmentImport.ts +211 -0
- package/src/modules/assortment/hooks/useRemoveAssortment.ts +36 -0
- package/src/modules/assortment/hooks/useRemoveAssortmentFilter.ts +36 -0
- package/src/modules/assortment/hooks/useRemoveAssortmentLink.ts +36 -0
- package/src/modules/assortment/hooks/useRemoveAssortmentMedia.ts +36 -0
- package/src/modules/assortment/hooks/useRemoveAssortmentProduct.ts +36 -0
- package/src/modules/assortment/hooks/useReorderAssortmentFilters.ts +39 -0
- package/src/modules/assortment/hooks/useReorderAssortmentLinks.ts +37 -0
- package/src/modules/assortment/hooks/useReorderAssortmentMedia.ts +37 -0
- package/src/modules/assortment/hooks/useReorderAssortmentProducts.ts +39 -0
- package/src/modules/assortment/hooks/useTranslatedAssortmentMediaTexts.ts +41 -0
- package/src/modules/assortment/hooks/useTranslatedAssortmentTexts.ts +40 -0
- package/src/modules/assortment/hooks/useUpdateAssortment.ts +43 -0
- package/src/modules/assortment/hooks/useUpdateAssortmentMediaTexts.ts +45 -0
- package/src/modules/assortment/hooks/useUpdateAssortmentTexts.ts +42 -0
- package/src/modules/assortment/index.ts +2 -0
- package/src/modules/common/fragments/AddressFragment.ts +16 -0
- package/src/modules/common/hooks/useApp.ts +11 -0
- package/src/modules/common/hooks/useBulkActionConfirmation.tsx +68 -0
- package/src/modules/common/hooks/useBulkResultHandler.ts +83 -0
- package/src/modules/common/hooks/useBulkSelection.ts +86 -0
- package/src/modules/common/hooks/useCSVExport.ts +94 -0
- package/src/modules/common/hooks/useCSVImport.ts +69 -0
- package/src/modules/common/hooks/useChatEndpointChecker.ts +25 -0
- package/src/modules/common/hooks/useConfirmMediaUpload.ts +45 -0
- package/src/modules/common/hooks/useDashboardMetrics.ts +42 -0
- package/src/modules/common/hooks/useLocalStorage.ts +34 -0
- package/src/modules/common/hooks/useOrderAnalytics.ts +139 -0
- package/src/modules/common/hooks/useOrderItemsAnalytics.ts +107 -0
- package/src/modules/common/hooks/useOutsideClick.ts +29 -0
- package/src/modules/common/hooks/usePortal.ts +54 -0
- package/src/modules/common/hooks/useScrollRestoration.ts +123 -0
- package/src/modules/common/hooks/useShopConfiguration.ts +83 -0
- package/src/modules/common/hooks/useShopInfo.ts +65 -0
- package/src/modules/common/hooks/useStatusTypes.ts +29 -0
- package/src/modules/common/hooks/useSystemRoles.ts +29 -0
- package/src/modules/common/hooks/useTheme.ts +14 -0
- package/src/modules/copilot/hooks/useAvailableTools.ts +92 -0
- package/src/modules/copilot/hooks/useChatManager.ts +169 -0
- package/src/modules/copilot/hooks/useToolTextNormalizer.ts +84 -0
- package/src/modules/country/fragments/CountryFragment.ts +17 -0
- package/src/modules/country/hooks/useCountries.ts +66 -0
- package/src/modules/country/hooks/useCountry.ts +34 -0
- package/src/modules/country/hooks/useCreateCountry.ts +41 -0
- package/src/modules/country/hooks/useRemoveCountry.ts +38 -0
- package/src/modules/country/hooks/useUpdateCountry.ts +42 -0
- package/src/modules/currency/fragments/CurrencyFragment.ts +13 -0
- package/src/modules/currency/hooks/useCreateCurrency.ts +48 -0
- package/src/modules/currency/hooks/useCurrencies.ts +68 -0
- package/src/modules/currency/hooks/useCurrency.ts +34 -0
- package/src/modules/currency/hooks/useRemoveCurrency.ts +38 -0
- package/src/modules/currency/hooks/useUpdateCurrency.ts +47 -0
- package/src/modules/delivery-provider/hooks/useCreateDeliveryProvider.ts +67 -0
- package/src/modules/delivery-provider/hooks/useDeliveryInterfacesByType.ts +38 -0
- package/src/modules/delivery-provider/hooks/useDeliveryProvider.ts +60 -0
- package/src/modules/delivery-provider/hooks/useDeliveryProviderTypes.ts +34 -0
- package/src/modules/delivery-provider/hooks/useDeliveryProviders.ts +59 -0
- package/src/modules/delivery-provider/hooks/useRemoveDeliveryProvider.ts +38 -0
- package/src/modules/delivery-provider/hooks/useUpdateDeliveryProvider.ts +68 -0
- package/src/modules/enrollment/fragments/EnrollmentDetailFragment.ts +110 -0
- package/src/modules/enrollment/fragments/EnrollmentFragment.ts +66 -0
- package/src/modules/enrollment/hooks/useActivateEnrollment.ts +36 -0
- package/src/modules/enrollment/hooks/useEnrollment.ts +39 -0
- package/src/modules/enrollment/hooks/useEnrollments.ts +70 -0
- package/src/modules/enrollment/hooks/useSendEnrollmentEmail.ts +35 -0
- package/src/modules/enrollment/hooks/useSuspendEnrollment.ts +29 -0
- package/src/modules/enrollment/hooks/useTerminateEnrollment.ts +36 -0
- package/src/modules/enrollment/hooks/useUpdateEnrollmentPlan.ts +45 -0
- package/src/modules/enrollment/hooks/useUserEnrollments.ts +61 -0
- package/src/modules/enrollment/index.ts +2 -0
- package/src/modules/event/fragments/EventFragment.ts +12 -0
- package/src/modules/event/hooks/useEvent.ts +32 -0
- package/src/modules/event/hooks/useEventTypes.ts +29 -0
- package/src/modules/event/hooks/useEvents.ts +77 -0
- package/src/modules/filter/fragments/FilterFragment.ts +24 -0
- package/src/modules/filter/fragments/FilterOptionFragment.ts +16 -0
- package/src/modules/filter/fragments/FilterTextsFragment.ts +12 -0
- package/src/modules/filter/hooks/useBulkFilterOperations.ts +59 -0
- package/src/modules/filter/hooks/useCreateFilter.ts +44 -0
- package/src/modules/filter/hooks/useCreateFilterOption.ts +42 -0
- package/src/modules/filter/hooks/useFilter.ts +44 -0
- package/src/modules/filter/hooks/useFilterExport.ts +35 -0
- package/src/modules/filter/hooks/useFilterOptions.ts +40 -0
- package/src/modules/filter/hooks/useFilterTypes.ts +34 -0
- package/src/modules/filter/hooks/useFilters.ts +78 -0
- package/src/modules/filter/hooks/useFiltersCount.ts +37 -0
- package/src/modules/filter/hooks/usePrepareFilterImport.ts +142 -0
- package/src/modules/filter/hooks/useRemoveFilter.ts +34 -0
- package/src/modules/filter/hooks/useRemoveFilterOption.ts +40 -0
- package/src/modules/filter/hooks/useTranslatedFilterTexts.ts +40 -0
- package/src/modules/filter/hooks/useUpdateFilter.ts +38 -0
- package/src/modules/filter/hooks/useUpdateFilterTexts.ts +48 -0
- package/src/modules/filter/index.ts +2 -0
- package/src/modules/forms/hooks/useField.ts +151 -0
- package/src/modules/forms/hooks/useForm.ts +210 -0
- package/src/modules/forms/hooks/useFormContext.ts +7 -0
- package/src/modules/language/fragments/LanguageFragment.ts +13 -0
- package/src/modules/language/hooks/useCreateLanguage.ts +40 -0
- package/src/modules/language/hooks/useLanguage.ts +34 -0
- package/src/modules/language/hooks/useLanguages.ts +64 -0
- package/src/modules/language/hooks/useRemoveLanguage.ts +38 -0
- package/src/modules/language/hooks/useUpdateLanguage.ts +42 -0
- package/src/modules/modal/hooks/useModal.ts +8 -0
- package/src/modules/order/fragments/OrderDetailFragment.ts +255 -0
- package/src/modules/order/fragments/OrderFragment.ts +42 -0
- package/src/modules/order/hooks/useConfirmOrder.ts +36 -0
- package/src/modules/order/hooks/useDeliverOrder.ts +36 -0
- package/src/modules/order/hooks/useOrder.ts +35 -0
- package/src/modules/order/hooks/useOrders.ts +105 -0
- package/src/modules/order/hooks/usePayOrder.ts +36 -0
- package/src/modules/order/hooks/useRejectOrder.ts +36 -0
- package/src/modules/order/hooks/useRemoveOrder.ts +36 -0
- package/src/modules/order/hooks/useUserCart.ts +71 -0
- package/src/modules/order/hooks/useUserOrders.ts +65 -0
- package/src/modules/payment-providers/fragments/PaymentProviderFragment.ts +21 -0
- package/src/modules/payment-providers/hooks/useCreatePaymentProvider.ts +43 -0
- package/src/modules/payment-providers/hooks/usePaymentInterfacesByType.ts +38 -0
- package/src/modules/payment-providers/hooks/usePaymentProvider.ts +39 -0
- package/src/modules/payment-providers/hooks/usePaymentProviderTypes.ts +34 -0
- package/src/modules/payment-providers/hooks/usePaymentProviders.ts +42 -0
- package/src/modules/payment-providers/hooks/useRemovePaymentProvider.ts +38 -0
- package/src/modules/payment-providers/hooks/useUpdatePaymentProvider.ts +47 -0
- package/src/modules/product/fragments/ProductAssignmentFragment.ts +39 -0
- package/src/modules/product/fragments/ProductBriefFragment.ts +57 -0
- package/src/modules/product/fragments/ProductCatalogPriceFragment.ts +23 -0
- package/src/modules/product/fragments/ProductDetailFragment.ts +51 -0
- package/src/modules/product/fragments/ProductDimensionFragment.ts +12 -0
- package/src/modules/product/fragments/ProductMediaFragment.ts +24 -0
- package/src/modules/product/fragments/ProductMediaTextsFragment.ts +12 -0
- package/src/modules/product/fragments/ProductPlanConfigurationFragment.ts +14 -0
- package/src/modules/product/fragments/ProductTextsFragment.ts +17 -0
- package/src/modules/product/fragments/ProductVariationFragment.ts +27 -0
- package/src/modules/product/fragments/TokenFragment.ts +24 -0
- package/src/modules/product/hooks/useAddProductAssignment.ts +46 -0
- package/src/modules/product/hooks/useAddProductMedia.ts +47 -0
- package/src/modules/product/hooks/useBulkProductOperations.ts +123 -0
- package/src/modules/product/hooks/useCreateProduct.ts +72 -0
- package/src/modules/product/hooks/useCreateProductBundleItem.ts +40 -0
- package/src/modules/product/hooks/useCreateProductVariation.ts +46 -0
- package/src/modules/product/hooks/useCreateProductVariationOption.ts +46 -0
- package/src/modules/product/hooks/useExportToken.ts +51 -0
- package/src/modules/product/hooks/useMenuPosition.ts +34 -0
- package/src/modules/product/hooks/usePrepareProductImport.ts +350 -0
- package/src/modules/product/hooks/useProduct.ts +93 -0
- package/src/modules/product/hooks/useProductAssignments.ts +71 -0
- package/src/modules/product/hooks/useProductBundleItems.ts +61 -0
- package/src/modules/product/hooks/useProductCatalogPrices.ts +39 -0
- package/src/modules/product/hooks/useProductExport.ts +90 -0
- package/src/modules/product/hooks/useProductFulfillmentSimulation.ts +137 -0
- package/src/modules/product/hooks/useProductMedia.ts +44 -0
- package/src/modules/product/hooks/useProductPlan.ts +50 -0
- package/src/modules/product/hooks/useProductPlanConfigurationOptions.ts +42 -0
- package/src/modules/product/hooks/useProductReviews.ts +62 -0
- package/src/modules/product/hooks/useProductSupply.ts +52 -0
- package/src/modules/product/hooks/useProductTokenization.ts +51 -0
- package/src/modules/product/hooks/useProductVariationTypes.ts +34 -0
- package/src/modules/product/hooks/useProductVariations.ts +50 -0
- package/src/modules/product/hooks/useProductWarehousing.ts +45 -0
- package/src/modules/product/hooks/useProducts.ts +111 -0
- package/src/modules/product/hooks/useProductsCount.ts +50 -0
- package/src/modules/product/hooks/usePublishProduct.ts +39 -0
- package/src/modules/product/hooks/useReOrderProductMedia.ts +36 -0
- package/src/modules/product/hooks/useRemoveBundleItem.ts +37 -0
- package/src/modules/product/hooks/useRemoveProduct.ts +36 -0
- package/src/modules/product/hooks/useRemoveProductAssignment.ts +40 -0
- package/src/modules/product/hooks/useRemoveProductMedia.ts +36 -0
- package/src/modules/product/hooks/useRemoveProductVariation.ts +36 -0
- package/src/modules/product/hooks/useRemoveProductVariationOption.ts +43 -0
- package/src/modules/product/hooks/useScaffoldBundleItem.ts +38 -0
- package/src/modules/product/hooks/useScaffoldVariationProduct.ts +50 -0
- package/src/modules/product/hooks/useSmartContractStandards.ts +34 -0
- package/src/modules/product/hooks/useTranslatedProductMediaTexts.ts +39 -0
- package/src/modules/product/hooks/useTranslatedProductTexts.ts +42 -0
- package/src/modules/product/hooks/useUnPublishProduct.ts +39 -0
- package/src/modules/product/hooks/useUpdateProduct.ts +46 -0
- package/src/modules/product/hooks/useUpdateProductCommerce.ts +61 -0
- package/src/modules/product/hooks/useUpdateProductMediaTexts.ts +42 -0
- package/src/modules/product/hooks/useUpdateProductPlan.ts +54 -0
- package/src/modules/product/hooks/useUpdateProductSupply.ts +60 -0
- package/src/modules/product/hooks/useUpdateProductTexts.ts +39 -0
- package/src/modules/product/hooks/useUpdateProductTokenization.ts +51 -0
- package/src/modules/product/hooks/useUpdateProductVariationTexts.ts +50 -0
- package/src/modules/product/hooks/useUpdateProductWarehousing.ts +50 -0
- package/src/modules/product/hooks/useUserTokens.ts +48 -0
- package/src/modules/product/index.ts +4 -0
- package/src/modules/product-review/fragments/ProductReviewDetailFragment.ts +55 -0
- package/src/modules/product-review/hooks/useAddProductReviewVote.ts +55 -0
- package/src/modules/product-review/hooks/useCreateProductReview.ts +47 -0
- package/src/modules/product-review/hooks/useProductReviewsByProductId.ts +70 -0
- package/src/modules/product-review/hooks/useRemoveProductReview.ts +38 -0
- package/src/modules/product-review/hooks/useRemoveProductReviewVote.ts +43 -0
- package/src/modules/product-review/hooks/useUserProductReviews.ts +92 -0
- package/src/modules/quotation/fragments/QuotationDetailFragment.ts +70 -0
- package/src/modules/quotation/fragments/QuotationFragment.ts +54 -0
- package/src/modules/quotation/hooks/useMakeQuotationProposal.ts +41 -0
- package/src/modules/quotation/hooks/useQuotation.ts +37 -0
- package/src/modules/quotation/hooks/useQuotations.ts +61 -0
- package/src/modules/quotation/hooks/useRejectQuotation.ts +41 -0
- package/src/modules/quotation/hooks/useUserQuotations.ts +60 -0
- package/src/modules/quotation/hooks/useVerifyQuotation.ts +41 -0
- package/src/modules/search/fragments/GlobalSearchFragment.ts +20 -0
- package/src/modules/search/hooks/useGlobalSearch.ts +168 -0
- package/src/modules/token/hooks/useInvalidateTicket.ts +27 -0
- package/src/modules/token/hooks/useToken.ts +64 -0
- package/src/modules/token/hooks/useTokens.ts +72 -0
- package/src/modules/warehousing-providers/fragments/WarehousingProviderFragment.ts +21 -0
- package/src/modules/warehousing-providers/hooks/useCreateWarehousingProvider.ts +46 -0
- package/src/modules/warehousing-providers/hooks/useRemoveWarehousingProvider.ts +38 -0
- package/src/modules/warehousing-providers/hooks/useUpdateWarehousingProvider.ts +47 -0
- package/src/modules/warehousing-providers/hooks/useWarehousingInterfacesByType.ts +38 -0
- package/src/modules/warehousing-providers/hooks/useWarehousingProvider.ts +39 -0
- package/src/modules/warehousing-providers/hooks/useWarehousingProviderTypes.ts +34 -0
- package/src/modules/warehousing-providers/hooks/useWarehousingProviders.ts +41 -0
- package/src/modules/work/fragments/WorkFragment.ts +24 -0
- package/src/modules/work/hooks/useActiveWorkTypes.ts +29 -0
- package/src/modules/work/hooks/useAddWork.ts +62 -0
- package/src/modules/work/hooks/useAllocateWork.ts +40 -0
- package/src/modules/work/hooks/useRecentExports.ts +129 -0
- package/src/modules/work/hooks/useRegisteredWorkTypes.ts +27 -0
- package/src/modules/work/hooks/useRemoveWork.ts +36 -0
- package/src/modules/work/hooks/useWork.ts +42 -0
- package/src/modules/work/hooks/useWorkQueue.ts +98 -0
- package/src/modules/work/index.ts +1 -0
- package/src/sdk/README.md +12 -3
- package/src/sdk/plugin-navigation.test.mjs +59 -0
- package/out/_next/static/chunks/0-2b37ubdpy0o.js +0 -7
- package/out/_next/static/chunks/012cafv-4m7rj.js +0 -807
- package/out/_next/static/chunks/02dnhll1bce87.js +0 -46
- package/out/_next/static/chunks/02ptvddfjlsxb.js +0 -1
- package/out/_next/static/chunks/03ebenjfvoj8n.js +0 -1
- package/out/_next/static/chunks/03r347235l6c4.js +0 -7
- package/out/_next/static/chunks/05au-xyt__0f2.js +0 -3
- package/out/_next/static/chunks/05nn5xr3ufcsh.js +0 -1
- package/out/_next/static/chunks/05o_q7jg8wucs.js +0 -44
- package/out/_next/static/chunks/05scroolqe8fu.js +0 -234
- package/out/_next/static/chunks/072qxdqjtqvn9.js +0 -11
- package/out/_next/static/chunks/0752goe9_9g2s.js +0 -110
- package/out/_next/static/chunks/07e-sk6v9u-qh.js +0 -807
- package/out/_next/static/chunks/07evy5u8ldd1y.js +0 -50
- package/out/_next/static/chunks/083ylavob4a8d.js +0 -3
- package/out/_next/static/chunks/08jrw03_vxllg.js +0 -54
- package/out/_next/static/chunks/08pag0k09j2b3.js +0 -807
- package/out/_next/static/chunks/09n6h-_l73rez.js +0 -13
- package/out/_next/static/chunks/0_b5faks_mrvi.js +0 -14
- package/out/_next/static/chunks/0a_bg-ub3r2eo.js +0 -60
- package/out/_next/static/chunks/0aqxsjssb0dh9.js +0 -21
- package/out/_next/static/chunks/0aw4jxe6zcc0c.js +0 -32
- package/out/_next/static/chunks/0b0hrx3sbbs70.js +0 -807
- package/out/_next/static/chunks/0bg4_y1qh5y5h.js +0 -47
- package/out/_next/static/chunks/0bgz44wi1lidl.js +0 -13
- package/out/_next/static/chunks/0dcpvidzyamvk.js +0 -100
- package/out/_next/static/chunks/0dnh0kr83_tj0.js +0 -1
- package/out/_next/static/chunks/0dxp17sbyy_dr.js +0 -22
- package/out/_next/static/chunks/0dxu94yin5gdn.js +0 -35
- package/out/_next/static/chunks/0e2c-jlh2q_eq.js +0 -74
- package/out/_next/static/chunks/0el7gr-83bm5j.js +0 -3
- package/out/_next/static/chunks/0f_ofo__wyqsp.js +0 -22
- package/out/_next/static/chunks/0gx9t6j5kx_ho.js +0 -9
- package/out/_next/static/chunks/0h0r_q6xa9qr_.js +0 -1
- package/out/_next/static/chunks/0i9ymn9xxs0nx.js +0 -18
- package/out/_next/static/chunks/0iy11ws57hzzr.js +0 -99
- package/out/_next/static/chunks/0j8_uikfyrn1f.js +0 -1
- package/out/_next/static/chunks/0jeddko6bac8h.js +0 -1
- package/out/_next/static/chunks/0jzx7vxh13cpi.js +0 -15
- package/out/_next/static/chunks/0kody3217__os.js +0 -16
- package/out/_next/static/chunks/0kwo-m1-mo-s-.js +0 -31
- package/out/_next/static/chunks/0lp_pnq1t06sl.js +0 -104
- package/out/_next/static/chunks/0m6jydfuy_4o3.js +0 -1
- package/out/_next/static/chunks/0mez27zlo26ni.js +0 -103
- package/out/_next/static/chunks/0nj8vn3509oe-.js +0 -9
- package/out/_next/static/chunks/0np9pcbt6dmxe.js +0 -25
- package/out/_next/static/chunks/0o7k5vanq57ch.js +0 -807
- package/out/_next/static/chunks/0r5wwinf72z4g.js +0 -1
- package/out/_next/static/chunks/0rqjr_lmrk4pz.js +0 -5
- package/out/_next/static/chunks/0swe0fkt4vyzn.js +0 -136
- package/out/_next/static/chunks/0u4st428hgv1v.js +0 -27
- package/out/_next/static/chunks/0u7--d8_-qyne.js +0 -83
- package/out/_next/static/chunks/0ubzi2s1spm4e.js +0 -342
- package/out/_next/static/chunks/0uecw_5mn0zvr.js +0 -110
- package/out/_next/static/chunks/0uw9cbq0ivaz0.js +0 -1
- package/out/_next/static/chunks/0uxwblyj0htyb.js +0 -1
- package/out/_next/static/chunks/0uyhr7vs9ltp0.js +0 -141
- package/out/_next/static/chunks/0vr19nswhvt2-.js +0 -14
- package/out/_next/static/chunks/0vyvc19p87f_r.js +0 -234
- package/out/_next/static/chunks/0wznlnzc2xsbz.js +0 -16
- package/out/_next/static/chunks/0ycu-q8fcc8ta.js +0 -1
- package/out/_next/static/chunks/0ytserk6fuf71.js +0 -175
- package/out/_next/static/chunks/0zoum0jzrtu0s.js +0 -145
- package/out/_next/static/chunks/1-6s62fsl_z_7.js +0 -126
- package/out/_next/static/chunks/10b6et0qn-pa0.js +0 -59
- package/out/_next/static/chunks/13m7st62a61df.js +0 -25
- package/out/_next/static/chunks/13u_a5l2xngm4.js +0 -1
- package/out/_next/static/chunks/15vz50rks0o2-.js +0 -238
- package/out/_next/static/chunks/1647yxi4ymq0z.js +0 -14
- package/out/_next/static/chunks/16hd7xvkocqxs.js +0 -807
- package/out/_next/static/chunks/16t18hhd4ax36.js +0 -2
- package/out/_next/static/chunks/17wle25pg9jkp.js +0 -11
- package/out/_next/static/chunks/18juy_eauk94g.js +0 -58
- package/out/_next/static/chunks/19eflki8bmivb.js +0 -81
- package/out/_next/static/chunks/19eu5d-wm2hfr.js +0 -23
- package/out/_next/static/chunks/19izcjxrrapb3.js +0 -9
- package/out/_next/static/chunks/1_jbj-c1d2606.js +0 -21
- package/out/_next/static/chunks/1_pwqdjxb6oou.js +0 -226
- package/out/_next/static/chunks/1ae-9ft5cgojf.js +0 -1
- package/out/_next/static/chunks/1bftmuhck_-7b.js +0 -1
- package/out/_next/static/chunks/1bww_2og01jxh.js +0 -807
- package/out/_next/static/chunks/1c0cemuv_tf6i.js +0 -16
- package/out/_next/static/chunks/1c4a2qxtb3r4_.js +0 -16
- package/out/_next/static/chunks/1cjd95y23a9qx.js +0 -1
- package/out/_next/static/chunks/1cy-2yb5j5_9b.js +0 -157
- package/out/_next/static/chunks/1dkv555kaccbl.js +0 -13
- package/out/_next/static/chunks/1dt9_bzfioi8a.js +0 -24
- package/out/_next/static/chunks/1fd7ewfb7bi_g.js +0 -234
- package/out/_next/static/chunks/1gncrqljnmqjn.js +0 -43
- package/out/_next/static/chunks/1gt65pz91hyuz.js +0 -1
- package/out/_next/static/chunks/1iewktf-9h_n8.js +0 -15
- package/out/_next/static/chunks/1l7p7exnzd0c2.js +0 -12
- package/out/_next/static/chunks/1nqu3ymv6lgev.js +0 -3
- package/out/_next/static/chunks/1o_8g-kpuqi9h.js +0 -1
- package/out/_next/static/chunks/1oent0-9-0rgb.js +0 -20
- package/out/_next/static/chunks/1og09fg689_nc.js +0 -180
- package/out/_next/static/chunks/1pj279k5ntty3.js +0 -13
- package/out/_next/static/chunks/1q_sewe1wbxsk.js +0 -54
- package/out/_next/static/chunks/1qvs4gd4rbhb2.js +0 -15
- package/out/_next/static/chunks/1rtv3c_klo0jk.js +0 -1
- package/out/_next/static/chunks/1sdqr2_r6o46f.js +0 -16
- package/out/_next/static/chunks/1vti949e9wuhz.js +0 -15
- package/out/_next/static/chunks/1x-yucftdml28.js +0 -1
- package/out/_next/static/chunks/1xbofs3ibkjvj.js +0 -1
- package/out/_next/static/chunks/1ylgjha1c0ua_.js +0 -124
- package/out/_next/static/chunks/1yp98n-n4gxwy.js +0 -15
- package/out/_next/static/chunks/1zcm_9oew7412.js +0 -14
- package/out/_next/static/chunks/2-e0d1qpp7rk9.js +0 -14
- package/out/_next/static/chunks/20ubrczdsehfm.js +0 -879
- package/out/_next/static/chunks/23m--gc-gjenm.js +0 -3
- package/out/_next/static/chunks/24-pobk4qjjvp.js +0 -3
- package/out/_next/static/chunks/24jptulqn322i.js +0 -15
- package/out/_next/static/chunks/24jyi7e2pq4gy.js +0 -15
- package/out/_next/static/chunks/252jebodi67kg.js +0 -1
- package/out/_next/static/chunks/26eux546aoag5.js +0 -58
- package/out/_next/static/chunks/270ua9t85a7ev.js +0 -5
- package/out/_next/static/chunks/28r_j2kquxrjn.js +0 -807
- package/out/_next/static/chunks/2_ccruvok3u8j.js +0 -16
- package/out/_next/static/chunks/2_ojfjgg8do9t.js +0 -1
- package/out/_next/static/chunks/2aj5aq_c0b4r_.js +0 -13
- package/out/_next/static/chunks/2ba3n9zx9e9q9.js +0 -807
- package/out/_next/static/chunks/2d-hxb31pgpn7.js +0 -13
- package/out/_next/static/chunks/2df2cqwidgpan.js +0 -15
- package/out/_next/static/chunks/2djnsowjy3p8y.js +0 -1
- package/out/_next/static/chunks/2dyj8q92_k5el.js +0 -708
- package/out/_next/static/chunks/2e0k9dt1emjfm.js +0 -1
- package/out/_next/static/chunks/2e3gba1n-yyuj.js +0 -15
- package/out/_next/static/chunks/2e_p1vqr0g_-_.js +0 -7
- package/out/_next/static/chunks/2e_te6sbs_5uw.js +0 -1
- package/out/_next/static/chunks/2f16josk9b_cl.js +0 -8
- package/out/_next/static/chunks/2fo2ki1egxbah.js +0 -39
- package/out/_next/static/chunks/2g8gzs8wpsofk.js +0 -2
- package/out/_next/static/chunks/2gh355-kh19zx.js +0 -13
- package/out/_next/static/chunks/2gr4t5xe0atdr.js +0 -15
- package/out/_next/static/chunks/2ib6fee-nqe-z.js +0 -23
- package/out/_next/static/chunks/2kjux30i3gg-c.js +0 -5
- package/out/_next/static/chunks/2ljoq6sr-g2da.js +0 -1
- package/out/_next/static/chunks/2ll_mqee86g8c.js +0 -1
- package/out/_next/static/chunks/2lx_iig9xewfj.js +0 -52
- package/out/_next/static/chunks/2lylr4-3tu1_t.js +0 -15
- package/out/_next/static/chunks/2n1v8ph2nt43w.js +0 -17
- package/out/_next/static/chunks/2o9hdz0gk1-s7.js +0 -165
- package/out/_next/static/chunks/2oadogfqpak51.js +0 -1
- package/out/_next/static/chunks/2oogwntgnu9rf.js +0 -17
- package/out/_next/static/chunks/2p4e3kh8sa8iq.js +0 -13
- package/out/_next/static/chunks/2q-mpau-4gsvd.js +0 -1
- package/out/_next/static/chunks/2rddaar-ns45d.js +0 -116
- package/out/_next/static/chunks/2s3qhuh87mu_w.js +0 -126
- package/out/_next/static/chunks/2s6u8274_jzk2.js +0 -105
- package/out/_next/static/chunks/2skfzjx2g9hkk.js +0 -134
- package/out/_next/static/chunks/2u6jwsqz0uhes.js +0 -24
- package/out/_next/static/chunks/2v4k4vpb2id7m.js +0 -44
- package/out/_next/static/chunks/2xctb084h1lyg.js +0 -329
- package/out/_next/static/chunks/2xgpwzpd6-tdb.js +0 -234
- package/out/_next/static/chunks/3-soz24u9483h.js +0 -15
- package/out/_next/static/chunks/30_ns6urg1dkn.js +0 -41
- package/out/_next/static/chunks/30nxkqu5mcga3.js +0 -1
- package/out/_next/static/chunks/313i1x81q2xj1.js +0 -1
- package/out/_next/static/chunks/31qwglme02a_r.js +0 -807
- package/out/_next/static/chunks/31sk60zzj3bc5.js +0 -17
- package/out/_next/static/chunks/325a7n__tfxy_.js +0 -61
- package/out/_next/static/chunks/33emlry70k-lv.js +0 -2
- package/out/_next/static/chunks/33v8la4hkia7j.js +0 -1
- package/out/_next/static/chunks/34ar-34flu6bu.js +0 -43
- package/out/_next/static/chunks/34z48lfdm9u0l.js +0 -9
- package/out/_next/static/chunks/351jscvbk_wb9.js +0 -13
- package/out/_next/static/chunks/357odtev0t245.js +0 -59
- package/out/_next/static/chunks/360g4b1clnt45.js +0 -142
- package/out/_next/static/chunks/360uyru28azf6.js +0 -20
- package/out/_next/static/chunks/366apf6d0xh2u.js +0 -30
- package/out/_next/static/chunks/36_zbuqpk5cpj.js +0 -14
- package/out/_next/static/chunks/36aqs7u7s-lb1.js +0 -119
- package/out/_next/static/chunks/36beon3q8orx2.js +0 -1
- package/out/_next/static/chunks/37703j9_zf5_h.js +0 -13
- package/out/_next/static/chunks/37rwzuocwsv_k.js +0 -16
- package/out/_next/static/chunks/37w6b3h04uc4c.js +0 -19
- package/out/_next/static/chunks/38ffn8gazqz8_.js +0 -3
- package/out/_next/static/chunks/38xse6_r51yqp.js +0 -234
- package/out/_next/static/chunks/39s8xbnm9f08v.js +0 -14
- package/out/_next/static/chunks/39x-p8r_sl0ng.js +0 -15
- package/out/_next/static/chunks/39zisxvmik0t_.js +0 -34
- package/out/_next/static/chunks/3_97tge0xvvon.js +0 -11
- package/out/_next/static/chunks/3aw-ri7876ngd.js +0 -39
- package/out/_next/static/chunks/3bv7gi3o6-41h.js +0 -11
- package/out/_next/static/chunks/3cdfuacs4_0d-.js +0 -1
- package/out/_next/static/chunks/3cxpx38ycu7u2.js +0 -9
- package/out/_next/static/chunks/3d1ofcqmlbg-5.js +0 -52
- package/out/_next/static/chunks/3e3i3qqkv_my7.js +0 -15
- package/out/_next/static/chunks/3ex71q3pp_ekc.js +0 -247
- package/out/_next/static/chunks/3g1lpkudwo8kg.js +0 -1
- package/out/_next/static/chunks/3h68t22714to5.js +0 -3
- package/out/_next/static/chunks/3jpzhwqgdnobq.js +0 -103
- package/out/_next/static/chunks/3jxuqt_2-j_uc.js +0 -18
- package/out/_next/static/chunks/3kqqv33l7ssn0.js +0 -16
- package/out/_next/static/chunks/3l-9xxd1i1sya.js +0 -1
- package/out/_next/static/chunks/3mancxzz8c7hl.js +0 -51
- package/out/_next/static/chunks/3mq2s9rfy78je.js +0 -27
- package/out/_next/static/chunks/3om1fkw-lrmng.js +0 -1
- package/out/_next/static/chunks/3oynij37wfjb2.js +0 -119
- package/out/_next/static/chunks/3pbyo5kkko3wh.js +0 -1
- package/out/_next/static/chunks/3pjja1obml896.js +0 -15
- package/out/_next/static/chunks/3qaiz-jwi7q2x.js +0 -1
- package/out/_next/static/chunks/3rh3nigvg06yu.js +0 -337
- package/out/_next/static/chunks/3rppjab6j3_k9.js +0 -1
- package/out/_next/static/chunks/3t_3vlnk1ntkb.js +0 -95
- package/out/_next/static/chunks/3tpo2ho54vtth.js +0 -807
- package/out/_next/static/chunks/3tqspv0ggt8j0.js +0 -17
- package/out/_next/static/chunks/3um54w4ca27n_.js +0 -17
- package/out/_next/static/chunks/3vet2a9q9rf2c.js +0 -61
- package/out/_next/static/chunks/3vjgbl76cgrmt.js +0 -1
- package/out/_next/static/chunks/3vz3gqmojh7sx.js +0 -4
- package/out/_next/static/chunks/3w2e5xa061qou.js +0 -9
- package/out/_next/static/chunks/3w9xrlkiztuwi.js +0 -23
- package/out/_next/static/chunks/3x4xfy_av3o0d.js +0 -1
- package/out/_next/static/chunks/3x9k13s5fam4j.js +0 -22
- package/out/_next/static/chunks/3xmtbqm0gddn8.js +0 -3
- package/out/_next/static/chunks/3z5uyt9mc9_fd.js +0 -2
- package/out/_next/static/chunks/3zlwp96x3hoy9.js +0 -16
- package/out/_next/static/chunks/3zr_sumh1g7il.js +0 -22
- package/out/_next/static/chunks/40jl8yfmy6tp6.js +0 -234
- package/out/_next/static/chunks/40xhwnc_48o73.js +0 -297
- package/out/_next/static/chunks/41-iysd7qkyg1.js +0 -16
- package/out/_next/static/chunks/4105a9rejv_p4.js +0 -1
- package/out/_next/static/chunks/41e2wlkp9_pvk.js +0 -28
- package/out/_next/static/chunks/41g7mv3yuhz6k.js +0 -68
- package/out/_next/static/chunks/43jyzccx6x0lw.js +0 -1
- package/out/_next/static/chunks/43vuxh3wdo567.js +0 -10
- package/out/_next/static/chunks/44daaafswok67.css +0 -1
- package/out/_next/static/chunks/452fv7r-tie6t.js +0 -1
- package/out/_next/static/chunks/457j51b69odrw.js +0 -1
- package/out/_next/static/chunks/turbopack-02vysfmmbped5.js +0 -1
- package/out/_next/static/chunks/turbopack-03fj2scz_09ul.js +0 -1
- package/out/_next/static/chunks/turbopack-07wtduwtfqsl_.js +0 -1
- package/out/_next/static/chunks/turbopack-0_zihh5ueb_wj.js +0 -1
- package/out/_next/static/chunks/turbopack-0b8-ww_z1vgvn.js +0 -1
- package/out/_next/static/chunks/turbopack-0beql_u-wc_3e.js +0 -1
- package/out/_next/static/chunks/turbopack-0dxdn-gyy3_qj.js +0 -1
- package/out/_next/static/chunks/turbopack-0hqw81t-42tbj.js +0 -1
- package/out/_next/static/chunks/turbopack-0jsdrr-oq87lm.js +0 -1
- package/out/_next/static/chunks/turbopack-0jxa33q3ikjqg.js +0 -1
- package/out/_next/static/chunks/turbopack-0k9zths9zte_8.js +0 -1
- package/out/_next/static/chunks/turbopack-0pa42wgwsv141.js +0 -1
- package/out/_next/static/chunks/turbopack-0te09_mp07k1x.js +0 -1
- package/out/_next/static/chunks/turbopack-0xsxl45thi-35.js +0 -1
- package/out/_next/static/chunks/turbopack-10-8q-q2zomxa.js +0 -1
- package/out/_next/static/chunks/turbopack-142w-8owzbg7_.js +0 -1
- package/out/_next/static/chunks/turbopack-18tezl3vagvil.js +0 -1
- package/out/_next/static/chunks/turbopack-1_1a-_v7vml72.js +0 -1
- package/out/_next/static/chunks/turbopack-1_k-7s9lmntml.js +0 -1
- package/out/_next/static/chunks/turbopack-1a47di2tss4e-.js +0 -1
- package/out/_next/static/chunks/turbopack-1c60gn7g-uduw.js +0 -1
- package/out/_next/static/chunks/turbopack-1e1yk3pkaodr5.js +0 -1
- package/out/_next/static/chunks/turbopack-1jtk1c9w2axlk.js +0 -1
- package/out/_next/static/chunks/turbopack-1k2ukl9u-7ovo.js +0 -1
- package/out/_next/static/chunks/turbopack-1lkz81ntcp1zv.js +0 -1
- package/out/_next/static/chunks/turbopack-1pkw_r5dvv20d.js +0 -1
- package/out/_next/static/chunks/turbopack-1pu2s2k3szn0s.js +0 -1
- package/out/_next/static/chunks/turbopack-1rxz_6lqtls5b.js +0 -1
- package/out/_next/static/chunks/turbopack-1uf07pugrv1fy.js +0 -1
- package/out/_next/static/chunks/turbopack-1uobzdn2r7ebw.js +0 -1
- package/out/_next/static/chunks/turbopack-1wv610ktbtzka.js +0 -1
- package/out/_next/static/chunks/turbopack-1wz4te1fj20zp.js +0 -1
- package/out/_next/static/chunks/turbopack-1zi2ss8eiiyfx.js +0 -1
- package/out/_next/static/chunks/turbopack-207p7bsc5wea7.js +0 -1
- package/out/_next/static/chunks/turbopack-21zngkzhonfcm.js +0 -1
- package/out/_next/static/chunks/turbopack-23y20ll8n-nwk.js +0 -1
- package/out/_next/static/chunks/turbopack-26wtylwa4_s95.js +0 -1
- package/out/_next/static/chunks/turbopack-27l7xplqpifq6.js +0 -1
- package/out/_next/static/chunks/turbopack-285oyoobdo21x.js +0 -1
- package/out/_next/static/chunks/turbopack-28b0zyhf3uqaq.js +0 -1
- package/out/_next/static/chunks/turbopack-28m_9eg3draop.js +0 -1
- package/out/_next/static/chunks/turbopack-29h9fgcal-fng.js +0 -1
- package/out/_next/static/chunks/turbopack-2a84kh6nmf_78.js +0 -1
- package/out/_next/static/chunks/turbopack-2b73dx1bsdg5f.js +0 -1
- package/out/_next/static/chunks/turbopack-2bslf96g-y1vv.js +0 -1
- package/out/_next/static/chunks/turbopack-2d-2wg8-_f9-v.js +0 -1
- package/out/_next/static/chunks/turbopack-2ez-mfb63qve0.js +0 -1
- package/out/_next/static/chunks/turbopack-2g7u83j1wlswz.js +0 -1
- package/out/_next/static/chunks/turbopack-2m4gns1_64-7_.js +0 -1
- package/out/_next/static/chunks/turbopack-2n4ba44aafc4x.js +0 -1
- package/out/_next/static/chunks/turbopack-2t3zb47_j-ahd.js +0 -1
- package/out/_next/static/chunks/turbopack-2tf6rdek5zvm6.js +0 -1
- package/out/_next/static/chunks/turbopack-2vb0p2htqo4nd.js +0 -1
- package/out/_next/static/chunks/turbopack-30-bi-9_7jd01.js +0 -1
- package/out/_next/static/chunks/turbopack-32pjcar5xpn1o.js +0 -1
- package/out/_next/static/chunks/turbopack-3a3skasosq9-4.js +0 -1
- package/out/_next/static/chunks/turbopack-3d2rk8-5wcgrs.js +0 -1
- package/out/_next/static/chunks/turbopack-3i91g2le3tkne.js +0 -1
- package/out/_next/static/chunks/turbopack-3j4bdo8-ldea5.js +0 -1
- package/out/_next/static/chunks/turbopack-3m47jybfw85nc.js +0 -1
- package/out/_next/static/chunks/turbopack-3yfksvslbm14s.js +0 -1
- package/out/_next/static/chunks/turbopack-414roft8p92hp.js +0 -1
- package/out/_next/static/chunks/turbopack-424slv1lqxh_5.js +0 -1
- package/out/_next/static/chunks/turbopack-444yt6auyioxn.js +0 -1
- package/out/_next/static/z5KrmhOz2mLscINN5EbUf/_buildManifest.js +0 -262
- /package/dist/{chunk-JED6SHHG.js → chunk-PUI5BIKO.js} +0 -0
- /package/out/_next/static/{z5KrmhOz2mLscINN5EbUf → bg3Z_ZBjStiTvJAHlsPDE}/_clientMiddlewareManifest.js +0 -0
- /package/out/_next/static/{z5KrmhOz2mLscINN5EbUf → bg3Z_ZBjStiTvJAHlsPDE}/_ssgManifest.js +0 -0
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,95789,e=>{"use strict";var t=e.i(91398),r=e.i(56206),a=e.i(88566),s=e.i(25575),l=e.i(91788);let i=({header:e,body:i,headerCSS:n="",bodyCSS:o="",itemContainerCSS:u="",itemindex:d=1,hideChevron:c=!1})=>{let[f,m]=(0,l.useState)(!1);return(0,t.jsxs)("div",{className:(0,r.default)("mt-3",u),"data-itemindex":d,children:[(0,t.jsxs)("button",{type:"button",onClick:()=>m(!f),className:(0,r.default)("relative cursor-pointer border dark:border-slate-800 bg-surface-input text-text-muted hover:bg-surface-raised w-full max-w-full overflow-hidden",n),children:[(0,t.jsx)("div",{className:"w-full",children:e}),!c&&(0,t.jsx)("span",{className:"px-2",children:f?(0,t.jsx)(s.ChevronUpIcon,{className:"h-5 w-5"}):(0,t.jsx)(a.ChevronDownIcon,{className:"h-5 w-5"})})]}),f?(0,t.jsx)("div",{className:(0,r.default)("rounded-lg sm:p-4 xl:p-10 relative overflow-visible",o),children:i}):""]})};e.s(["default",0,({data:e,containerCSS:a="",headerCSS:s="",bodyCSS:l="",itemContainerCSS:n="",hideChevron:o=!1,...u})=>(0,t.jsx)("div",{className:(0,r.default)("my-3",a),...u,children:e.map(({header:e,body:r},a)=>(0,t.jsx)(i,{itemindex:a,header:e,body:r,headerCSS:s,bodyCSS:l,itemContainerCSS:n,hideChevron:o},a))})],95789)},3883,e=>{"use strict";var t=e.i(91398),r=e.i(56206);e.s(["default",0,({id:e,label:a,value:s,onChange:l,placeholder:i,min:n,max:o,className:u,containerClassName:d})=>(0,t.jsxs)("div",{className:(0,r.default)("flex flex-col gap-1",d),children:[a&&(0,t.jsx)("label",{htmlFor:e,className:"text-sm font-medium text-text-secondary",children:a}),(0,t.jsx)("input",{type:"date",id:e,value:s||"",onChange:e=>{l(e.target.value||null)},placeholder:i,min:n,max:o,className:(0,r.default)("w-full rounded-md border-1 border-border-default bg-surface-input px-3 py-2 text-sm shadow-xs text-text-primary focus:outline-hidden focus:ring-2 focus:ring-focus-ring dark:[color-scheme:dark]",u)})]})])},83788,e=>{"use strict";var t=e.i(91398),r=e.i(91788),a=e.i(86201);class s extends r.default.Component{constructor(e){super(e),this.state={hasError:!1,error:null}}static getDerivedStateFromError(e){return{hasError:!0,error:e}}componentDidCatch(e,t){console.error({error:e,errorInfo:t})}render(){return this.state.hasError?(0,t.jsx)(a.default,{error:this.state.error,resetError:()=>this.setState({hasError:!1,error:null})}):this.props.children}}e.s(["default",0,s])},86201,e=>{"use strict";var t=e.i(91398),r=e.i(41158),a=e.i(69322),s=e.i(5505);e.s(["default",0,({error:e=null,resetError:l=null})=>{let{formatMessage:i}=(0,a.useIntl)();return(0,t.jsx)("div",{className:"flex min-h-screen items-center justify-center py-12 px-4 sm:px-6 lg:px-8",children:(0,t.jsxs)("div",{className:"w-full max-w-md space-y-4 text-center",children:[(0,t.jsx)("div",{children:(0,t.jsx)("h2",{className:"text-center text-3xl text-text-primary",children:i({id:"internal_server_error",defaultMessage:"500 Internal Server Error"})})}),(0,t.jsx)(s.default,{children:(0,t.jsxs)("div",{className:"space-y-6 px-4 pb-5 pt-3 sm:rounded-lg sm:px-10",children:[(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsx)("div",{className:"mx-auto flex h-12 w-12 items-center justify-center rounded-full bg-rose-100 dark:bg-rose-900",children:(0,t.jsx)("svg",{className:"h-6 w-6 text-danger",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-2.5L13.732 4c-.77-.833-1.964-.833-2.732 0L3.732 16.5c-.77.833.192 2.5 1.732 2.5z"})})}),(0,t.jsx)("p",{className:"mt-4 text-sm font-semibold uppercase tracking-wide text-danger",children:i({id:"error_500",defaultMessage:"500 Error"})}),(0,t.jsx)("p",{className:"mt-2 text-base text-text-muted",children:i({id:"internal_server_error_message",defaultMessage:"Sorry, something went wrong on our end. We are working to fix this."})}),e?.message&&(0,t.jsxs)("details",{className:"mt-4 text-left",children:[(0,t.jsx)("summary",{className:"cursor-pointer text-sm text-text-secondary hover:text-slate-800 dark:hover:text-slate-300",children:i({id:"show_error_details",defaultMessage:"Show error details"})}),(0,t.jsx)("pre",{className:"mt-2 text-xs text-text-muted whitespace-pre-wrap break-all",children:e?.message})]})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-3 mt-6",children:[(0,t.jsxs)(r.default,{href:"/",className:"group relative flex w-full justify-center rounded-md border border-transparent bg-accent py-2 px-4 text-sm font-medium text-text-on-accent hover:bg-accent-hover focus:outline-hidden focus:ring-2 focus:ring-focus-ring focus:ring-offset-2",children:[(0,t.jsx)("span",{className:"absolute inset-y-0 left-0 flex items-center pl-3",children:(0,t.jsx)("svg",{className:"h-5 w-5 text-white group-hover:text-slate-200",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M9.707 16.707a1 1 0 01-1.414 0l-6-6a1 1 0 010-1.414l6-6a1 1 0 011.414 1.414L5.414 9H17a1 1 0 110 2H5.414l4.293 4.293a1 1 0 010 1.414z",clipRule:"evenodd"})})}),i({id:"back_to_home",defaultMessage:"Back to Home"})]}),l&&(0,t.jsxs)("button",{type:"button",onClick:l,className:"group relative flex w-full justify-center rounded-md border border-slate-300 bg-surface-raised dark:border-slate-600 py-2 px-4 text-sm font-medium text-text-secondary hover:bg-surface-raised focus:outline-hidden focus:ring-2 focus:ring-focus-ring dark:focus:ring-focus-ring focus:ring-offset-2",children:[(0,t.jsx)("span",{className:"absolute inset-y-0 left-0 flex items-center pl-3",children:(0,t.jsx)("svg",{className:"h-5 w-5 text-text-muted group-hover:text-slate-600 dark:group-hover:text-slate-300",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M4 2a1 1 0 011 1v2.101a7.002 7.002 0 0111.601 2.566 1 1 0 11-1.885.666A5.002 5.002 0 005.999 7H9a1 1 0 010 2H4a1 1 0 01-1-1V3a1 1 0 011-1zm.008 9.057a1 1 0 011.276.61A5.002 5.002 0 0014.001 13H11a1 1 0 110-2h5a1 1 0 011 1v5a1 1 0 11-2 0v-2.101a7.002 7.002 0 01-11.601-2.566 1 1 0 01.61-1.276z",clipRule:"evenodd"})})}),i({id:"try_again",defaultMessage:"Try Again"})]})]})]})})]})})}])},53296,e=>{"use strict";var t=e.i(91398),r=e.i(74040),r=r,a=e.i(69322);e.s(["default",0,({messageKey:e,defaultMessage:s,values:l,className:i="",showIcon:n=!0})=>{let{formatMessage:o}=(0,a.useIntl)(),u=o({id:e,defaultMessage:s},l);return u?(0,t.jsxs)("div",{className:`flex items-start space-x-1 text-sm text-text-secondary ${i}`,children:[n&&(0,t.jsx)(r.default,{className:"h-4 w-4 mt-0.5 flex-shrink-0"}),(0,t.jsx)("span",{children:u})]}):null}],53296)},82078,e=>{"use strict";var t=e.i(91398),r=e.i(44112);e.s(["default",0,({title:e=null,description:a})=>(0,t.jsx)("div",{className:"mb-6 p-4 bg-blue-50 dark:bg-blue-900/20 border border-blue-200 dark:border-blue-800 rounded-lg",children:(0,t.jsxs)("div",{className:"flex items-start gap-3",children:[(0,t.jsx)(r.InformationCircleIcon,{className:"w-5 h-5 text-blue-600 dark:text-blue-400 mt-0.5 flex-shrink-0"}),(0,t.jsxs)("div",{children:[e&&(0,t.jsx)("h3",{className:"text-sm font-semibold text-blue-900 dark:text-blue-100 mb-2",children:e}),(0,t.jsx)("p",{className:"text-sm text-blue-800 dark:text-blue-200 leading-relaxed",children:a})]})]})})])},6634,e=>{"use strict";var t=e.i(91398),r=e.i(56206),a=e.i(3828),s=e.i(83147);e.s(["default",0,({toggleText:e="",toggleKey:l=null,onToggle:i=null,active:n=!1,className:o="",disabled:u=!1,...d})=>{let c=(0,a.useRouter)(),f=c?.query?.[l]==="true"||n;return(0,t.jsxs)("div",{className:(0,r.default)("",o),children:[(0,t.jsxs)("button",{id:l,disabled:u,type:"button",className:(0,r.default)("relative inline-flex h-3.5 w-9 shrink-0 cursor-pointer rounded-full border-1 border-transparent transition-all duration-200 ease-in-out focus:outline-hidden focus:ring-2 focus:ring-focus-ring focus:ring-offset-2",{"bg-slate-200 dark:bg-slate-700":!f,"bg-emerald-500 dark:bg-emerald-600 shadow-sm":f}),role:"switch",onClick:i||(()=>{let{skip:e,...t}=c.query;c.push({query:(0,s.normalizeQuery)(t,!f,l)})}),"aria-checked":f?"true":"false",...d,children:[(0,t.jsx)("span",{className:"sr-only",children:e}),(0,t.jsxs)("span",{className:(0,r.default)("ml-0.5 pointer-events-none relative inline-block h-3 w-3 transform rounded-full bg-white shadow-sm ring-0 transition-all duration-200 ease-in-out",{"translate-x-5 shadow-md":f,"translate-x-0":!f}),children:[(0,t.jsx)("span",{className:(0,r.default)("absolute inset-0 flex h-full w-full items-center justify-center transition-opacity",{"opacity-0 duration-100 ease-out":f,"opacity-100 duration-200 ease-in":!f}),"aria-hidden":"true",children:(0,t.jsx)("svg",{className:"h-3 w-3 text-slate-400",fill:"none",viewBox:"0 0 12 12",children:(0,t.jsx)("path",{d:"M4 8l2-2m0 0l2-2M6 6L4 4m2 2l2 2",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,t.jsx)("span",{className:(0,r.default)("absolute inset-0 flex h-full w-full items-center justify-center transition-opacity",{"opacity-100 duration-200 ease-in":f,"opacity-0 duration-100 ease-out":!f}),"aria-hidden":"true",children:(0,t.jsx)("svg",{className:"h-3 w-3 text-emerald-500",fill:"currentColor",viewBox:"0 0 12 12",children:(0,t.jsx)("path",{d:"M3.707 5.293a1 1 0 00-1.414 1.414l1.414-1.414zM5 8l-.707.707a1 1 0 001.414 0L5 8zm4.707-3.293a1 1 0 00-1.414-1.414l1.414 1.414zm-7.414 2l2 2 1.414-1.414-2-2-1.414 1.414zm3.414 2l4-4-1.414-1.414-4 4 1.414 1.414z"})})})]})]}),(0,t.jsx)("span",{className:"ml-3",id:"annual-billing-label",children:(0,t.jsx)("span",{className:"text-sm font-medium text-text-primary",children:e})})]})}])},30434,e=>{"use strict";var t=e.i(91398),r=e.i(56206),a=e.i(60741);e.s(["default",0,e=>{let{disabled:s,labelClassName:l,containerClassName:i,inputClassName:n,...o}=e,u=(0,a.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},i),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-border-default bg-white dark:!bg-slate-800 text-indigo-600 dark:text-slate-200 focus:ring-focus-ring",n,e.className),...o}),(0,t.jsx)("label",{htmlFor:u.name,className:(0,r.default)("text-sm text-text-primary",l,{"text-danger":!!u.error}),children:u.label})]})}])},54879,e=>{"use strict";var t=e.i(91398),r=e.i(56206);e.s(["default",0,({children:e,className:a,error:s,disabled:l,required:i,name:n,label:o,hideLabel:u,labelClassName:d})=>(0,t.jsxs)("div",{className:(0,r.default)("container",{"is-invalid":!!s,disabled:l,required:i},a),children:[(0,t.jsx)("label",{"aria-label":o,htmlFor:n,className:(0,r.default)("mb-2 block text-left text-sm font-light text-text-secondary",{"mt-1 rounded-sm border border-rose-100 dark:border-rose-800 bg-rose-50 dark:bg-rose-900/20 p-2 pl-4 text-rose-700 dark:text-rose-400":!!s,"sr-only":u},d),children:s||o}),e]})])},10685,e=>{"use strict";var t=e.i(91398),r=e.i(56206),a=e.i(60741),s=e.i(54879);e.s(["default",0,e=>{let{options:l,...i}=(0,a.default)(e),{className:n}=e||{className:""};return(0,t.jsx)(s.default,{...i,children:(0,t.jsx)("div",{className:"select-wrap",children:(0,t.jsxs)("select",{className:(0,r.default)("block w-full dark:bg-slate-900 dark:text-white rounded-md border-1 border-border-default py-2.5 pl-3 pr-10 text-base text-black shadow-xs focus:outline-hidden focus:ring-2 focus:ring-focus-ring sm:text-sm",n,{"border-rose-700 text-rose-600 dark:border-rose-500 dark:text-rose-400":!!i.error}),disabled:i.disabled,id:i.name,name:i.name,onChange:i.onChange,onBlur:i.onBlur,value:i.value,children:[(0,t.jsx)("option",{className:"dark:text-slate-200",value:"",disabled:i.required,hidden:i.required,children:i.placeholder||i.label}),Object.entries(l).map(([e,r])=>(0,t.jsx)("option",{className:"dark:text-slate-200",value:e,children:r},e))]})})})}])},21128,e=>{"use strict";var t=e.i(91398),r=e.i(56206),a=e.i(58021),s=e.i(61898);e.s(["default",0,({label:e,disabled:l=!1,className:i="",hidden:n=!1,...o})=>{let{formState:u}=(0,a.useFormContext)(),{...d}=o,c=Object.keys(u.errors).length>0&&Object.values(u.errors).some(e=>!!e),{disabled:f}=(0,s.default)(),m=l||f||u.isSubmitting||c,h=u.isSubmitting&&!c,g=(l||f||c)&&!u.isSubmitting;return(0,t.jsx)("input",{className:(0,r.default)("inline-flex cursor-pointer justify-center rounded-sm border border-slate-300 px-4 py-2 text-center text-sm font-medium leading-5 shadow-sm hover:shadow-md focus:ring-focus-ring",i,{"bg-rose-50 dark:bg-slate-800 dark:text-rose-300 cursor-not-allowed border-rose-300 dark:border-rose-600 text-rose-900":g,"bg-slate-600 dark:bg-slate-700 text-white cursor-not-allowed border-slate-400 dark:border-slate-600":h,"bg-accent text-text-on-accent hover:bg-accent-hover focus:outline-hidden focus:ring-2 focus:ring-offset-2 border-transparent":!m,hidden:n}),"aria-label":e,type:"submit",value:e,disabled:m,...d})}])},16984,e=>{"use strict";var t=e.i(91398),r=e.i(56206),a=e.i(82226),s=e.i(60741),l=e.i(54879);e.s(["default",0,({maxLength:e=0,validators:i=[],...n})=>{let o=(0,s.default)({validators:[...i,e&&(0,a.validateMaxLength)(e)],...n});return(0,t.jsx)(l.default,{...o,children:(0,t.jsx)("input",{className:(0,r.default)("relative mt-1 block w-full dark:focus:autofill dark:hover:autofill dark:autofill dark:placeholder:text-slate-600 dark:bg-slate-900 dark:text-slate-200 appearance-none rounded-md border-1 dark:border-slate-700 px-4 py-2.5 text-sm text-slate-900 focus:outline-hidden focus:ring-2 focus:ring-focus-ring shadow-xs",{"border-rose-700 placeholder:text-rose-500":!!o.error,"border-slate-300 placeholder-slate-400":!o.error}),disabled:o.disabled,id:o.name,name:o.name,onChange:o.onChange,onClick:e=>{e.stopPropagation()},onBlur:o.onBlur,placeholder:o.placeholder,autoComplete:o.autoComplete||"off",type:o.type||"text",value:o.value,autoFocus:o.autoFocus})})}])},5505,e=>{"use strict";var t=e.i(91398),r=e.i(91788),a=e.i(98837),s=e.i(56206);let l=(0,a.default)("FormWrapperContext",(0,r.createContext)(!1));e.s(["FormWrapperContext",0,l,"default",0,({children:e,className:r=""})=>(0,t.jsx)(l.Provider,{value:!0,children:(0,t.jsx)("div",{className:"sm:max-w-full",children:(0,t.jsx)("div",{className:(0,s.default)("bg-surface rounded-md shadow-sm overflow-hidden",r),children:e})})})])},1504,e=>{"use strict";e.s(["default",0,(e,t,r)=>Object.assign({},...e?.map(e=>({[e[r]]:e[t]}))||[])])},73319,e=>{"use strict";let t=e=>"[object Object]"===Object.prototype.toString.call(e);e.s(["extractQuery",0,e=>decodeURIComponent(e||[])?.split(",")?.filter(Boolean),"isObject",0,t,"isTruthy",0,e=>!(!e||null==e||t(e)&&!Object.keys(e).length||Array.isArray(e)&&!e.length)])},68191,e=>{"use strict";var t=e.i(59080);let r=t.gql`
|
|
2
|
-
fragment CurrencyFragment on Currency {
|
|
3
|
-
_id
|
|
4
|
-
isoCode
|
|
5
|
-
isActive
|
|
6
|
-
contractAddress
|
|
7
|
-
decimals
|
|
8
|
-
}
|
|
9
|
-
`;e.s(["default",0,r])},79093,e=>{"use strict";var t=e.i(59080),r=e.i(32171),a=e.i(68191);let s=t.gql`
|
|
10
|
-
query Currencies(
|
|
11
|
-
$queryString: String
|
|
12
|
-
$limit: Int
|
|
13
|
-
$offset: Int
|
|
14
|
-
$includeInactive: Boolean
|
|
15
|
-
$sort: [SortOptionInput!]
|
|
16
|
-
) {
|
|
17
|
-
currencies(
|
|
18
|
-
queryString: $queryString
|
|
19
|
-
limit: $limit
|
|
20
|
-
offset: $offset
|
|
21
|
-
includeInactive: $includeInactive
|
|
22
|
-
sort: $sort
|
|
23
|
-
) {
|
|
24
|
-
...CurrencyFragment
|
|
25
|
-
}
|
|
26
|
-
currenciesCount(
|
|
27
|
-
includeInactive: $includeInactive
|
|
28
|
-
queryString: $queryString
|
|
29
|
-
)
|
|
30
|
-
}
|
|
31
|
-
${a.default}
|
|
32
|
-
`;e.s(["default",0,({queryString:e="",limit:t=20,offset:a=0,includeInactive:l=!0,sort:i=[]}={})=>{let{data:n,loading:o,error:u,fetchMore:d}=(0,r.useQuery)(s,{variables:{queryString:e,limit:t,offset:a,includeInactive:l,sort:i}}),c=n?.currencies||[],f=n?.currenciesCount,m=c?.length<f;return{currencies:c,currenciesCount:f,hasMore:m,loading:o,error:u,loadMore:()=>{d({variables:{offset:c?.length}})}}}])},69211,e=>{"use strict";var t=e.i(91398),r=e.i(58021),a=e.i(60170);e.s(["default",0,({form:e,children:s,className:l="",...i})=>(0,t.jsx)(a.default.Provider,{value:e,children:(0,t.jsx)(r.FormProvider,{...e.rhf,children:(0,t.jsx)("form",{onReset:()=>e.api.handleReset(),onSubmit:e.api.handleSubmit,method:"POST",className:l,...i,children:s})})})])},60741,e=>{"use strict";var t=e.i(91788),r=e.i(69322),a=e.i(58021),s=e.i(82226),l=e.i(61898);e.s(["default",0,e=>{let i=(0,r.useIntl)(),{rhf:n,...o}=(0,l.default)(),{name:u,required:d,errorMessage:c,disabled:f=o.disabled||n?.formState?.isSubmitting,label:m=i.formatMessage({id:u,defaultMessage:"default_input_name",description:"DO not translate Skip this as it's the default given label when a component is not provided explicit label"}),validators:h=[]}=e,g=[...h,d&&s.validateRequired].filter(Boolean),x=e=>g.reduce((t,{isValid:r,intlMessageDescriptor:a,intlMessageValues:s})=>t||r(e)?t:c||i.formatMessage(a,{label:m,...s}),""),p=(0,t.useRef)(x);p.current=x;let{field:b,fieldState:v,formState:y}=(0,a.useController)({name:u,control:n?.control,rules:{validate:e=>p.current(e)||!0}}),w=(v.isTouched||y.isSubmitted)&&v.error?.message;return{...e,name:u,error:w,label:m,disabled:f,required:d,onChange:t=>{if(e.onChange&&e.onChange(t),"number"===e.type){let e=t?.target?.value,r=""===e||null==e?null:Number(e);b.onChange(r)}else b.onChange(t)},onBlur:b.onBlur,value:null==b.value?"":b.value,setValue:(e,t)=>{n?.setValue(u,e,{shouldDirty:!0,shouldValidate:t??!1})},setError:e=>{e?n?.setError(u,{type:"manual",message:e}):n?.clearErrors(u)},setTouched:e=>{e&&n?.trigger(u)}}}])},98949,e=>{"use strict";var t=e.i(91788),r=e.i(58021),a=e.i(69322),s=e.i(28401),l=e.i(73319);let i=e=>""===e||"string"==typeof e&&e?.trim()===""?null:"string"==typeof e&&e.length?e.trim():Array.isArray(e)&&e?.length&&"string"==typeof e[0]?e.map(e=>i(e)):Array.isArray(e)&&e?.length&&(0,l.isObject)(e[0])?e.map(e=>Object.fromEntries(Object.entries(e).map(([e,t])=>[e,i(t)]))):e,n=e=>e&&"object"==typeof e?"string"==typeof e.message&&e.message?e.message:Array.isArray(e)?e.map(e=>n(e)):Object.fromEntries(Object.entries(e).filter(([e])=>"ref"!==e).map(([e,t])=>[e,n(t)])):e;e.s(["default",0,({submit:e,getSubmitErrorMessage:l=()=>"",onSubmitSuccess:o=()=>!0,initialValues:u,initialErrors:d,initialTouched:c,successMessage:f,enableReinitialize:m,validate:h,disabled:g=!1})=>{let x=(0,a.useIntl)(),[p,b]=(0,t.useState)(""),v=(0,r.useForm)({mode:"onTouched",defaultValues:u,values:m?u:void 0,errors:d?Object.fromEntries(Object.entries(d).map(([e,t])=>[e,{type:"manual",message:t}])):void 0}),y=(0,t.useCallback)(e=>{let t=e?.errors?.[0];return x.formatMessage({id:"error_server",defaultMessage:"{details}"},{details:t?.message||""})},[x]),w=(0,t.useCallback)(async t=>{let r=!0;try{let a=await e(Object.fromEntries(Object.entries(t).map(([e,t])=>[e,i(t)]))),n=("boolean"==typeof a?a:a?.success)??!a?.error;if(n)f&&s.toast.success(f),await o(n,a?.data||t);else{let e="boolean"==typeof a?!a:a?.error;Array.isArray(e)?e.forEach(e=>{r=!1,b(l(e)||y(e))}):(r=!1,b(l(e)||y(e)))}}catch(e){r=!1,b(l(e)||y(e))}r&&b("")},[e,f,o,l,y]);return{submitError:p,api:(0,t.useMemo)(()=>({setFieldError:(e,t)=>{v.setError(e,{type:"manual",message:t})},setFieldValue:(e,t)=>{v.setValue(e,t,{shouldDirty:!0,shouldTouch:!0})},setValues:e=>{v.reset(e,{keepDirtyValues:!1,keepErrors:!1})},get values(){return v.getValues()},get isValid(){return v.formState.isValid},get isSubmitting(){return v.formState.isSubmitting},handleSubmit:v.handleSubmit(w),handleReset:()=>{v.reset()},resetForm:e=>{v.reset(e||u)},submitForm:()=>{v.handleSubmit(w)()},getFieldMeta:e=>{let t=v.getFieldState(e,v.formState);return{error:t.error?.message,touched:t.isTouched}},get initialValues(){return u},get errors(){return n(v.formState.errors)}}),[v,w,u]),rhf:v,setSubmitError:b,disabled:g}}],98949)},61898,e=>{"use strict";var t=e.i(91788),r=e.i(60170);e.s(["default",0,()=>(0,t.useContext)(r.default)])},60170,e=>{"use strict";var t=e.i(91788);let r=(0,e.i(98837).default)("FormContext",t.default.createContext({submitError:"",rhf:null,api:null,setSubmitError:()=>{},disabled:!1}));e.s(["default",0,r])},82226,e=>{"use strict";var t=e.i(73663),r=e.i(12051),a=e.i(35113),s=e.i(9356),l=e.i(49543);e.i(69322);let i=["AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BR","BS","BT","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GH","GI","GL","GM","GN","GQ","GR","GT","GU","GW","GY","HK","HN","HR","HT","HU","ID","IE","IL","IM","IN","IQ","IR","IS","IT","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PT","PW","PY","QA","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SK","SL","SM","SN","SO","SR","ST","SV","SY","SZ","TC","TD","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","XK","YE","YT","ZA","ZM","ZW"],n=["ab","aa","af","ak","sq","am","ar","an","hy","as","av","ae","ay","az","bm","ba","eu","be","bn","bh","bi","bs","br","bg","my","ca","ch","ce","ny","zh","cv","kw","co","cr","hr","cs","da","dv","nl","en","eo","et","ee","fo","fj","fi","fr","ff","gl","ka","de","el","gn","gu","ht","ha","he","hz","hi","ho","hu","ia","id","ie","ga","ig","ik","io","is","it","iu","ja","jv","kl","kn","kr","ks","kk","km","ki","rw","ky","kv","kg","ko","ku","kj","la","lb","lg","li","ln","lo","lt","lu","lv","gv","mk","mg","ms","ml","mt","mi","mr","mh","mn","na","nv","nb","nd","ne","ng","nn","no","ii","nr","oc","oj","cu","om","or","os","pa","pi","fa","pl","ps","pt","qu","rm","rn","ro","ru","sa","sc","sd","se","sm","sg","sr","gd","sn","si","sk","sl","so","st","es","su","sw","ss","sv","ta","te","tg","th","ti","bo","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","cy","wo","fy","xh","yi","yo","za"];e.s(["isContractAddress",0,(e=!1)=>({isValid:t=>!e&&!t||/^(0x)?[a-z0-9]{40}$/i.test(t),intlMessageDescriptor:{id:"error_contract_address",defaultMessage:"Invalid contract address"}}),"validateBirthdate",0,{isValid:e=>{if(!e)return!0;let t=new Date(e);if(!(0,s.isValid)(t))return!1;let r=(0,l.startOfDay)(new Date);return!(+(0,a.toDate)(t)>+(0,a.toDate)(r))},intlMessageDescriptor:{id:"error_birthdate_in_future",defaultMessage:"{label} cannot be in the future"}},"validateCountry",0,()=>({isValid:e=>i.includes(e.toUpperCase()),intlMessageDescriptor:{id:"error_country_code",defaultMessage:"Invalid country code"}}),"validateDate",0,{isValid:e=>!e||(0,s.isValid)(new Date(e)),intlMessageDescriptor:{id:"error_invalid_date",defaultMessage:"{label} is not a valid date"}},"validateEmail",0,{isValid:e=>(0,r.default)(e||""),intlMessageDescriptor:{id:"error_email",defaultMessage:"{label} must be a valid email address"}},"validateInteger",0,()=>({isValid:e=>null==e||""===e||!Number.isNaN(e)&&Number.isInteger(Number(e)),intlMessageDescriptor:{id:"error_number_not_int",defaultMessage:"Invalid value please provide integer value"}}),"validateLanguage",0,()=>({isValid:e=>n.includes(e?.toLowerCase()),intlMessageDescriptor:{id:"error_language_code",defaultMessage:"Invalid language code"}}),"validateMaxLength",0,e=>({isValid:r=>(0,t.default)(r||"",{max:e}),intlMessageDescriptor:{id:"error_max_length"},intlMessageValues:{maxLength:e.toString()}}),"validateProductCommerce",0,(e,t)=>({isValid:()=>{let r="function"==typeof t?t():t;if(!r?.length||r?.length===1)return!0;let a=r[e];return r.filter((t,r)=>r!==e).every(({minQuantity:e,countryCode:t,currencyCode:r})=>e!==a?.minQuantity||t!==a?.countryCode||r!==a?.currencyCode)},intlMessageDescriptor:{id:"error_same_product_prices",defaultMessage:"{label} can not be equal for a price with the same country and currency"}}),"validateProductCommerceOneZero",0,e=>({isValid:()=>{let t="function"==typeof e?e():e;if(!t?.length)return!0;let r=e=>null===e||""===e||void 0===e||0===Number(e);return(1!==t.length||!!r(t[0].minQuantity))&&t.filter(({minQuantity:e})=>r(e))?.length===1},intlMessageDescriptor:{id:"error_commerce_quantity_null_required",defaultMessage:"{label} should have one price with min quantity of 0 or empty"}}),"validateRequired",0,{isValid:e=>"string"==typeof e?e.trim().length>0:"number"==typeof e||(Array.isArray(e)?e.length>0:!!e),intlMessageDescriptor:{id:"error_required",defaultMessage:"{label} is a required field"}},"validateRequiredTag",0,e=>({isValid:t=>!e||t.length>0,intlMessageDescriptor:{id:"error_tag_required",defaultMessage:"{label} you must provide at least one tag"}})],82226)},34728,e=>{"use strict";var t=e.i(91398),r=e.i(38322);e.s(["default",0,({onOkClick:e,buttonText:a,headerText:s,message:l,icon:i=null})=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{children:[i||(0,t.jsx)("div",{className:"mx-auto flex h-12 w-12 items-center justify-center rounded-full bg-emerald-100 dark:bg-emerald-900/30",children:(0,t.jsx)(r.CheckIcon,{className:"h-6 w-6 text-emerald-600 dark:text-emerald-400",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true"})}),(0,t.jsxs)("div",{className:"mt-3 text-center sm:mt-5",children:[(0,t.jsx)("h3",{className:"text-lg text-text-primary",id:"modal-title",children:s}),(0,t.jsx)("div",{className:"mt-2",children:(0,t.jsx)("p",{className:"text-sm text-text-muted",children:l})})]})]}),(0,t.jsx)("div",{className:"mt-5 sm:mt-6",children:(0,t.jsx)("button",{id:"alert_ok",onClick:e,type:"button",className:"inline-flex w-full justify-center rounded-md border border-transparent bg-accent px-4 py-2 text-base font-medium text-text-on-accent shadow-xs hover:bg-accent-hover focus:outline-hidden focus:ring-2 focus:ring-focus-ring focus:ring-offset-2 sm:text-sm",children:a})})]})])},38994,62199,14336,e=>{"use strict";var t=e.i(59080),r=e.i(76204);let a=t.gql`
|
|
33
|
-
fragment ProductDetailFragment on Product {
|
|
34
|
-
_id
|
|
35
|
-
sequence
|
|
36
|
-
status
|
|
37
|
-
created
|
|
38
|
-
tags
|
|
39
|
-
updated
|
|
40
|
-
published
|
|
41
|
-
|
|
42
|
-
media {
|
|
43
|
-
_id
|
|
44
|
-
tags
|
|
45
|
-
file {
|
|
46
|
-
_id
|
|
47
|
-
url
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
reviews {
|
|
51
|
-
_id
|
|
52
|
-
created
|
|
53
|
-
author {
|
|
54
|
-
_id
|
|
55
|
-
username
|
|
56
|
-
isGuest
|
|
57
|
-
}
|
|
58
|
-
rating
|
|
59
|
-
title
|
|
60
|
-
review
|
|
61
|
-
voteCount
|
|
62
|
-
ownVotes {
|
|
63
|
-
type
|
|
64
|
-
timestamp
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
siblings {
|
|
68
|
-
_id
|
|
69
|
-
media {
|
|
70
|
-
_id
|
|
71
|
-
file {
|
|
72
|
-
_id
|
|
73
|
-
url
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
`;e.s(["default",0,a],62199);let s=t.gql`
|
|
79
|
-
fragment ProductTextsFragment on ProductTexts {
|
|
80
|
-
_id
|
|
81
|
-
locale
|
|
82
|
-
slug
|
|
83
|
-
title
|
|
84
|
-
subtitle
|
|
85
|
-
description
|
|
86
|
-
vendor
|
|
87
|
-
brand
|
|
88
|
-
labels
|
|
89
|
-
}
|
|
90
|
-
`;e.s(["default",0,s],14336);let l=t.gql`
|
|
91
|
-
mutation CreateProduct(
|
|
92
|
-
$product: CreateProductInput!
|
|
93
|
-
$texts: [ProductTextInput!]
|
|
94
|
-
) {
|
|
95
|
-
createProduct(product: $product, texts: $texts) {
|
|
96
|
-
...ProductDetailFragment
|
|
97
|
-
... on SimpleProduct {
|
|
98
|
-
texts {
|
|
99
|
-
...ProductTextsFragment
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
... on ConfigurableProduct {
|
|
103
|
-
texts {
|
|
104
|
-
...ProductTextsFragment
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
... on BundleProduct {
|
|
108
|
-
texts {
|
|
109
|
-
...ProductTextsFragment
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
... on TokenizedProduct {
|
|
113
|
-
texts {
|
|
114
|
-
...ProductTextsFragment
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
... on PlanProduct {
|
|
118
|
-
texts {
|
|
119
|
-
...ProductTextsFragment
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
${a}
|
|
125
|
-
${s}
|
|
126
|
-
`;e.s(["default",0,()=>{let[e,{data:t,error:a,loading:s}]=(0,r.useMutation)(l);return{createProduct:async({product:{type:t,tags:r},texts:a})=>e({variables:{product:{type:t,tags:r},texts:a},refetchQueries:["Products","ShopStatus","ShopInfo"]}),newProduct:t?.createProduct,error:a,loading:s}}],38994)},75565,51358,36832,e=>{"use strict";var t=e.i(91788),r=e.i(15067);e.s(["useEventListener",0,function(e,a,s,l){let i=(0,r.useLatestValue)(s);(0,t.useEffect)(()=>{function t(e){i.current(e)}return(e=null!=e?e:window).addEventListener(a,t,l),()=>e.removeEventListener(a,t,l)},[e,a,l])}],75565);var a=e.i(93481);e.s(["useWatch",0,function(e,r){let s=(0,t.useRef)([]),l=(0,a.useEvent)(e);(0,t.useEffect)(()=>{let e=[...s.current];for(let[t,a]of r.entries())if(s.current[t]!==a){let t=l(r,e);return s.current=r,t}},[l,...r])}],51358);var s=e.i(55367),l=e.i(65383);let i=[];function n(){"loading"!==document.readyState&&((()=>{function e(e){if(!s.isHTMLorSVGElement(e.target)||e.target===document.body||i[0]===e.target)return;let t=e.target;t=t.closest(l.focusableSelector),i.unshift(null!=t?t:e.target),(i=i.filter(e=>null!=e&&e.isConnected)).splice(10)}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})})(),document.removeEventListener("DOMContentLoaded",n))}"u">typeof window&&"u">typeof document&&(document.addEventListener("DOMContentLoaded",n),n()),e.s(["history",()=>i],36832)},49740,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",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":r},a),e?t.createElement("title",{id:r},e):null,t.createElement("path",{d:"M6.5 3c-1.051 0-2.093.04-3.125.117A1.49 1.49 0 0 0 2 4.607V10.5h9V4.606c0-.771-.59-1.43-1.375-1.489A41.568 41.568 0 0 0 6.5 3ZM2 12v2.5A1.5 1.5 0 0 0 3.5 16h.041a3 3 0 0 1 5.918 0h.791a.75.75 0 0 0 .75-.75V12H2Z"}),t.createElement("path",{d:"M6.5 18a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM13.25 5a.75.75 0 0 0-.75.75v8.514a3.001 3.001 0 0 1 4.893 1.44c.37-.275.61-.719.595-1.227a24.905 24.905 0 0 0-1.784-8.549A1.486 1.486 0 0 0 14.823 5H13.25ZM14.5 18a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"}))});e.s(["TruckIcon",0,r],49740)},31004,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",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":r},a),e?t.createElement("title",{id:r},e):null,t.createElement("path",{d:"M7 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6ZM14.5 9a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5ZM1.615 16.428a1.224 1.224 0 0 1-.569-1.175 6.002 6.002 0 0 1 11.908 0c.058.467-.172.92-.57 1.174A9.953 9.953 0 0 1 7 18a9.953 9.953 0 0 1-5.385-1.572ZM14.5 16h-.106c.07-.297.088-.611.048-.933a7.47 7.47 0 0 0-1.588-3.755 4.502 4.502 0 0 1 5.874 2.636.818.818 0 0 1-.36.98A7.465 7.465 0 0 1 14.5 16Z"}))});e.s(["UsersIcon",0,r],31004)},82798,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:"M13.5 21v-7.5a.75.75 0 0 1 .75-.75h3a.75.75 0 0 1 .75.75V21m-4.5 0H2.36m11.14 0H18m0 0h3.64m-1.39 0V9.349M3.75 21V9.349m0 0a3.001 3.001 0 0 0 3.75-.615A2.993 2.993 0 0 0 9.75 9.75c.896 0 1.7-.393 2.25-1.016a2.993 2.993 0 0 0 2.25 1.016c.896 0 1.7-.393 2.25-1.015a3.001 3.001 0 0 0 3.75.614m-16.5 0a3.004 3.004 0 0 1-.621-4.72l1.189-1.19A1.5 1.5 0 0 1 5.378 3h13.243a1.5 1.5 0 0 1 1.06.44l1.19 1.189a3 3 0 0 1-.621 4.72M6.75 18h3.75a.75.75 0 0 0 .75-.75V13.5a.75.75 0 0 0-.75-.75H6.75a.75.75 0 0 0-.75.75v3.75c0 .414.336.75.75.75Z"}))});e.s(["default",0,r])},39775,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:"m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z"}))});e.s(["default",0,r])},44112,e=>{"use strict";var t=e.i(39775);e.s(["InformationCircleIcon",()=>t.default])},74040,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.879 7.519c1.171-1.025 3.071-1.025 4.242 0 1.172 1.025 1.172 2.687 0 3.712-.203.179-.43.326-.67.442-.745.361-1.45.999-1.45 1.827v.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9 5.25h.008v.008H12v-.008Z"}))});e.s(["default",0,r])},69059,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.813 15.904 9 18.75l-.813-2.846a4.5 4.5 0 0 0-3.09-3.09L2.25 12l2.846-.813a4.5 4.5 0 0 0 3.09-3.09L9 5.25l.813 2.846a4.5 4.5 0 0 0 3.09 3.09L15.75 12l-2.846.813a4.5 4.5 0 0 0-3.09 3.09ZM18.259 8.715 18 9.75l-.259-1.035a3.375 3.375 0 0 0-2.455-2.456L14.25 6l1.036-.259a3.375 3.375 0 0 0 2.455-2.456L18 2.25l.259 1.035a3.375 3.375 0 0 0 2.456 2.456L21.75 6l-1.035.259a3.375 3.375 0 0 0-2.456 2.456ZM16.894 20.567 16.5 21.75l-.394-1.183a2.25 2.25 0 0 0-1.423-1.423L13.5 18.75l1.183-.394a2.25 2.25 0 0 0 1.423-1.423l.394-1.183.394 1.183a2.25 2.25 0 0 0 1.423 1.423l1.183.394-1.183.394a2.25 2.25 0 0 0-1.423 1.423Z"}))});e.s(["default",0,r])},57748,e=>{"use strict";var t=e.i(69059);e.s(["SparklesIcon",()=>t.default])},43944,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:"M8.25 18.75a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m3 0h6m-9 0H3.375a1.125 1.125 0 0 1-1.125-1.125V14.25m17.25 4.5a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m3 0h1.125c.621 0 1.129-.504 1.09-1.124a17.902 17.902 0 0 0-3.213-9.193 2.056 2.056 0 0 0-1.58-.86H14.25M16.5 18.75h-2.25m0-11.177v-.958c0-.568-.422-1.048-.987-1.106a48.554 48.554 0 0 0-10.026 0 1.106 1.106 0 0 0-.987 1.106v7.635m12-6.677v6.677m0 4.5v-4.5m0 0h-12"}))});e.s(["default",0,r])},56417,27028,e=>{"use strict";var t=e.i(43944);e.s(["TruckIcon",()=>t.default],56417);var r=e.i(82798);e.s(["BuildingStorefrontIcon",()=>r.default],27028)},5270,e=>{"use strict";var t=e.i(91788);let r=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim(),a={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"},s=(0,t.createContext)({}),l=(0,t.forwardRef)(({color:e,size:l,width:i,height:n,strokeWidth:o,absoluteStrokeWidth:u,nonScalingStroke:d,className:c="",children:f,iconNode:m=[],icon:h={node:m,aliases:[],size:24},...g},x)=>{let{size:p=24,strokeWidth:b=2,absoluteStrokeWidth:v=!1,nonScalingStroke:y=!1,color:w="currentColor",className:k=""}=(0,t.useContext)(s)??{},j=!!f||(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(g),[_,C,M=[]]=function(e,t={}){return function(e,t={}){let s=t.attributeNames??{},l=e=>s[e]??e,i=e.size??e.width??a.width,n=e.size??e.height??a.height,o=e.aliases?.filter(e=>"string"==typeof e&&""!==e.trim()).map(e=>`lucide-${e}`)??[],u=[...e.name?[`lucide-${e.name}`]:[],...o],d=t.className?.split(" ").filter(Boolean)??[],c=!1===t.includeDefaultClasses?r(...d):r("lucide",...u,...d),f=t.absoluteStrokeWidth?Number(t.strokeWidth??a["stroke-width"])*Number(e.size??e.width??a.width)/Number(t.size??t.width??a.width):t.strokeWidth??a["stroke-width"];return["svg",{...Object.entries(a).reduce((e,[t,r])=>(e[l(t)]=r,e),{}),..."color"in t&&t.color&&{[l("stroke")]:t.color},..."size"in t&&null!=t.size&&{[l("width")]:t.size,[l("height")]:t.size},..."width"in t&&null!=t.width&&{[l("width")]:t.width},..."height"in t&&null!=t.height&&{[l("height")]:t.height},[l("stroke-width")]:f,...c&&{[l("class")]:c},[l("viewBox")]:`0 0 ${i} ${n}`,...!1===t.hasA11yProp?{[l("aria-hidden")]:"true"}:{},..."attributes"in t&&t.attributes},e.node.map(e=>{let[r,a,s]=e,i=t.nonScalingStroke?{[l("vector-effect")]:"non-scaling-stroke",...a}:a;return s?[r,i,s]:[r,i]})]}(e,{...t,attributeNames:{...t.attributeNames,class:"className","stroke-width":"strokeWidth","stroke-linecap":"strokeLinecap","stroke-linejoin":"strokeLinejoin","vector-effect":"vectorEffect"}})}(h,{color:e??w,width:i??l??p,height:n??l??p,strokeWidth:o??b,absoluteStrokeWidth:u??v,nonScalingStroke:d??y,className:r(k,c),hasA11yProp:j,attributes:g});return(0,t.createElement)(_,{ref:x,...C},[...M.map(([e,r])=>(0,t.createElement)(e,r)),...Array.isArray(f)?f:[f]])});e.s(["default",0,function(e,r=[],a=[]){let s,i="string"==typeof e?function(e,t,r=[]){if(null==t)throw Error("[lucide]: iconNode is required when icon name is used");return{name:e?.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),size:24,node:t,...r.length>0?{aliases:r}:{}}}(e,r,a):e,n=(0,t.forwardRef)(({className:e,...r},a)=>(0,t.createElement)(l,{ref:a,icon:i,className:e,...r}));return i.name&&(n.displayName=(s=(e=>{let t="",r=!1;for(let a of e){if("-"===a||"_"===a||a<=" "){r=t.length>0;continue}0===t.length?t+=a.toLowerCase():t+=r?a.toUpperCase():a,r=!1}return t})(i.name)).charAt(0).toUpperCase()+s.slice(1)),n}],5270)},78262,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){if(null==e)throw TypeError("Expected a string but received a ".concat(e));if("String"!==e.constructor.name)throw TypeError("Expected a string but received a ".concat(e.constructor.name))},t.exports=r.default,t.exports.default=r.default},73663,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){(0,s.default)(e),"object"===l(t)?(r=t.min||0,a=t.max):(r=arguments[1]||0,a=arguments[2]);var r,a,i=e.match(/[^\uFE0F\uFE0E][\uFE0F\uFE0E]/g)||[],n=e.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g)||[],o=e.length-i.length-n.length,u=o>=r&&(void 0===a||o<=a);return u&&Array.isArray(null==t?void 0:t.discreteLengths)?t.discreteLengths.some(function(e){return e===o}):u};var a,s=(a=e.r(78262))&&a.__esModule?a:{default:a};function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}t.exports=r.default,t.exports.default=r.default},80930,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){for(var r=0;r<t.length;r++){var a=t[r];if(e===a||"[object RegExp]"===Object.prototype.toString.call(a)&&a.test(e))return!0}return!1},t.exports=r.default,t.exports.default=r.default},60054,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){(0,s.default)(e),"object"===l(t)?(r=t.min||0,a=t.max):(r=arguments[1],a=arguments[2]);var r,a,i=encodeURI(e).split(/%..|./).length-1;return i>=r&&(void 0===a||i<=a)};var a,s=(a=e.r(78262))&&a.__esModule?a:{default:a};function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}t.exports=r.default,t.exports.default=r.default},34058,(e,t,r)=>{"use strict";function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;for(var r in("object"!==a(e)||null===e)&&(e={}),t)void 0===e[r]&&(e[r]=t[r]);return e},t.exports=r.default,t.exports.default=r.default},96184,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){(0,a.default)(e),(t=(0,s.default)(t,i)).allow_trailing_dot&&"."===e[e.length-1]&&(e=e.substring(0,e.length-1)),!0===t.allow_wildcard&&0===e.indexOf("*.")&&(e=e.substring(2));var r=e.split("."),l=r[r.length-1];return!(t.require_tld&&(r.length<2||!t.allow_numeric_tld&&!/^([a-z\u00A1-\u00A8\u00AA-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}|xn[a-z0-9-]{2,})$/i.test(l)||/\s/.test(l)))&&!(!t.allow_numeric_tld&&/^\d+$/.test(l))&&r.every(function(e){return!(e.length>63&&!t.ignore_max_length||!/^[a-z_\u00a1-\uffff0-9-]+$/i.test(e)||/[\uff01-\uff5e]/.test(e)||/^-|-$/.test(e)||!t.allow_underscores&&/_/.test(e))})};var a=l(e.r(78262)),s=l(e.r(34058));function l(e){return e&&e.__esModule?e:{default:e}}var i={require_tld:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_numeric_tld:!1,allow_wildcard:!1,ignore_max_length:!1};t.exports=r.default,t.exports.default=r.default},90498,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,s.default)(t);var a=("object"===l(r)?r.version:arguments[1])||"";return a?"4"===a.toString()?o.test(t):"6"===a.toString()&&d.test(t):e(t,{version:4})||e(t,{version:6})};var a,s=(a=e.r(78262))&&a.__esModule?a:{default:a};function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i="(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])",n="(".concat(i,"[.]){3}").concat(i),o=new RegExp("^".concat(n,"$")),u="(?:[0-9a-fA-F]{1,4})",d=RegExp("^("+"(?:".concat(u,":){7}(?:").concat(u,"|:)|")+"(?:".concat(u,":){6}(?:").concat(n,"|:").concat(u,"|:)|")+"(?:".concat(u,":){5}(?::").concat(n,"|(:").concat(u,"){1,2}|:)|")+"(?:".concat(u,":){4}(?:(:").concat(u,"){0,1}:").concat(n,"|(:").concat(u,"){1,3}|:)|")+"(?:".concat(u,":){3}(?:(:").concat(u,"){0,2}:").concat(n,"|(:").concat(u,"){1,4}|:)|")+"(?:".concat(u,":){2}(?:(:").concat(u,"){0,3}:").concat(n,"|(:").concat(u,"){1,5}|:)|")+"(?:".concat(u,":){1}(?:(:").concat(u,"){0,4}:").concat(n,"|(:").concat(u,"){1,6}|:)|")+"(?::((?::".concat(u,"){0,5}:").concat(n,"|(?::").concat(u,"){1,7}|:))")+")(%[0-9a-zA-Z.]{1,})?$");t.exports=r.default,t.exports.default=r.default},12051,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){if((0,a.default)(e),(t=(0,o.default)(t,d)).require_display_name||t.allow_display_name){var r=e.match(c);if(r){var u,p,b=r[1];if(e=e.replace(b,"").replace(/(^<|>$)/g,""),b.endsWith(" ")&&(b=b.slice(0,-1)),!(!(!(p=(u=b).replace(/^"(.+)"$/,"$1")).trim()||/[\.";<>]/.test(p)&&(p===u||p.split('"').length!==p.split('\\"').length))&&1))return!1}else if(t.require_display_name)return!1}if(!t.ignore_max_length&&e.length>254)return!1;var v=e.split("@"),y=v.pop(),w=y.toLowerCase();if(t.host_blacklist.length>0&&(0,s.default)(w,t.host_blacklist)||t.host_whitelist.length>0&&!(0,s.default)(w,t.host_whitelist))return!1;var k=v.join("@");if(t.domain_specific_validation&&("gmail.com"===w||"googlemail.com"===w)){var j=(k=k.toLowerCase()).split("+")[0];if(!(0,l.default)(j.replace(/\./g,""),{min:6,max:30}))return!1;for(var _=j.split("."),C=0;C<_.length;C++)if(!m.test(_[C]))return!1}if(!1===t.ignore_max_length&&(!(0,l.default)(k,{max:64})||!(0,l.default)(y,{max:254})))return!1;if(!(0,i.default)(y,{require_tld:t.require_tld,ignore_max_length:t.ignore_max_length,allow_underscores:t.allow_underscores})){if(!t.allow_ip_domain)return!1;if(!(0,n.default)(y)){if(!y.startsWith("[")||!y.endsWith("]"))return!1;var M=y.slice(1,-1);if(0===M.length||!(0,n.default)(M))return!1}}if(t.blacklisted_chars&&-1!==k.search(RegExp("[".concat(t.blacklisted_chars,"]+"),"g")))return!1;if('"'===k[0]&&'"'===k[k.length-1])return k=k.slice(1,k.length-1),t.allow_utf8_local_part?x.test(k):h.test(k);for(var N=t.allow_utf8_local_part?g:f,S=k.split("."),E=0;E<S.length;E++)if(!N.test(S[E]))return!1;return!0};var a=u(e.r(78262)),s=u(e.r(80930)),l=u(e.r(60054)),i=u(e.r(96184)),n=u(e.r(90498)),o=u(e.r(34058));function u(e){return e&&e.__esModule?e:{default:e}}var d={allow_display_name:!1,allow_underscores:!1,require_display_name:!1,allow_utf8_local_part:!0,require_tld:!0,blacklisted_chars:"",ignore_max_length:!1,host_blacklist:[],host_whitelist:[]},c=/^([^\x00-\x1F\x7F-\x9F\cX]+)</i,f=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~]+$/i,m=/^[a-z\d]+$/,h=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f]))*$/i,g=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A1-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+$/i,x=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*$/i;t.exports=r.default,t.exports.default=r.default}]);
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,54879,e=>{"use strict";var t=e.i(91398),r=e.i(56206);e.s(["default",0,({children:e,className:a,error:i,disabled:l,required:s,name:o,label:n,hideLabel:u,labelClassName:d})=>(0,t.jsxs)("div",{className:(0,r.default)("container",{"is-invalid":!!i,disabled:l,required:s},a),children:[(0,t.jsx)("label",{"aria-label":n,htmlFor:o,className:(0,r.default)("mb-2 block text-left text-sm font-light text-text-secondary",{"mt-1 rounded-sm border border-rose-100 dark:border-rose-800 bg-rose-50 dark:bg-rose-900/20 p-2 pl-4 text-rose-700 dark:text-rose-400":!!i,"sr-only":u},d),children:i||n}),e]})])},10685,e=>{"use strict";var t=e.i(91398),r=e.i(56206),a=e.i(60741),i=e.i(54879);e.s(["default",0,e=>{let{options:l,...s}=(0,a.default)(e),{className:o}=e||{className:""};return(0,t.jsx)(i.default,{...s,children:(0,t.jsx)("div",{className:"select-wrap",children:(0,t.jsxs)("select",{className:(0,r.default)("block w-full dark:bg-slate-900 dark:text-white rounded-md border-1 border-border-default py-2.5 pl-3 pr-10 text-base text-black shadow-xs focus:outline-hidden focus:ring-2 focus:ring-focus-ring sm:text-sm",o,{"border-rose-700 text-rose-600 dark:border-rose-500 dark:text-rose-400":!!s.error}),disabled:s.disabled,id:s.name,name:s.name,onChange:s.onChange,onBlur:s.onBlur,value:s.value,children:[(0,t.jsx)("option",{className:"dark:text-slate-200",value:"",disabled:s.required,hidden:s.required,children:s.placeholder||s.label}),Object.entries(l).map(([e,r])=>(0,t.jsx)("option",{className:"dark:text-slate-200",value:e,children:r},e))]})})})}])},21128,e=>{"use strict";var t=e.i(91398),r=e.i(56206),a=e.i(58021),i=e.i(61898);e.s(["default",0,({label:e,disabled:l=!1,className:s="",hidden:o=!1,...n})=>{let{formState:u}=(0,a.useFormContext)(),{...d}=n,c=Object.keys(u.errors).length>0&&Object.values(u.errors).some(e=>!!e),{disabled:f}=(0,i.default)(),m=l||f||u.isSubmitting||c,p=u.isSubmitting&&!c,g=(l||f||c)&&!u.isSubmitting;return(0,t.jsx)("input",{className:(0,r.default)("inline-flex cursor-pointer justify-center rounded-sm border border-slate-300 px-4 py-2 text-center text-sm font-medium leading-5 shadow-sm hover:shadow-md focus:ring-focus-ring",s,{"bg-rose-50 dark:bg-slate-800 dark:text-rose-300 cursor-not-allowed border-rose-300 dark:border-rose-600 text-rose-900":g,"bg-slate-600 dark:bg-slate-700 text-white cursor-not-allowed border-slate-400 dark:border-slate-600":p,"bg-accent text-text-on-accent hover:bg-accent-hover focus:outline-hidden focus:ring-2 focus:ring-offset-2 border-transparent":!m,hidden:o}),"aria-label":e,type:"submit",value:e,disabled:m,...d})}])},5505,e=>{"use strict";var t=e.i(91398),r=e.i(91788),a=e.i(98837),i=e.i(56206);let l=(0,a.default)("FormWrapperContext",(0,r.createContext)(!1));e.s(["FormWrapperContext",0,l,"default",0,({children:e,className:r=""})=>(0,t.jsx)(l.Provider,{value:!0,children:(0,t.jsx)("div",{className:"sm:max-w-full",children:(0,t.jsx)("div",{className:(0,i.default)("bg-surface rounded-md shadow-sm overflow-hidden",r),children:e})})})])},68057,e=>{"use strict";var t=e.i(91398),r=e.i(69322),a=e.i(69211),i=e.i(10685),l=e.i(21128),s=e.i(98949),o=e.i(5505);e.s(["default",0,({onSubmit:e,onSubmitSuccess:n,providerTypes:u,providerInterfaces:d,onProviderChange:c,readOnly:f})=>{let{formatMessage:m}=(0,r.useIntl)(),p=m({id:"provider_created_success",defaultMessage:"Provider created successfully!"}),g=(0,s.default)({submit:e,onSubmitSuccess:n,successMessage:p,enableReinitialize:!0,initialValues:{adapterKey:"",type:""}});return(0,t.jsx)(o.default,{children:(0,t.jsx)(a.default,{form:g,children:(0,t.jsxs)("div",{className:"shadow-sm dark:shadow-none sm:max-w-full sm:rounded-lg",children:[(0,t.jsxs)("div",{className:"px-4 pt-4 pb-6",children:[(0,t.jsx)(i.default,{onChange:e=>c(e.target.value),name:"type",disabled:f,required:!0,label:m({id:"type",defaultMessage:"Type"}),options:u,className:"mb-5"}),(0,t.jsx)(i.default,{name:"adapterKey",required:!0,disabled:f,options:d,label:m({id:"adapter",defaultMessage:"Adapter"}),className:"mt-2"})]}),!f&&(0,t.jsx)("div",{className:"border-t-slate-100 border-t border-t-border-subtle space-y-6 bg-surface-subtle p-6 px-5 text-right",children:(0,t.jsx)(l.default,{label:m({id:"create_provider",defaultMessage:"Create provider"})})})]})})})}])},1504,e=>{"use strict";e.s(["default",0,(e,t,r)=>Object.assign({},...e?.map(e=>({[e[r]]:e[t]}))||[])])},36494,e=>{"use strict";var t=e.i(59080);let r=t.gql`
|
|
2
|
-
fragment AddressFragment on Address {
|
|
3
|
-
firstName
|
|
4
|
-
lastName
|
|
5
|
-
company
|
|
6
|
-
addressLine
|
|
7
|
-
postalCode
|
|
8
|
-
city
|
|
9
|
-
countryCode
|
|
10
|
-
regionCode
|
|
11
|
-
}
|
|
12
|
-
`;e.s(["default",0,r])},73319,e=>{"use strict";let t=e=>"[object Object]"===Object.prototype.toString.call(e);e.s(["extractQuery",0,e=>decodeURIComponent(e||[])?.split(",")?.filter(Boolean),"isObject",0,t,"isTruthy",0,e=>!(!e||null==e||t(e)&&!Object.keys(e).length||Array.isArray(e)&&!e.length)])},93333,e=>{"use strict";var t=e.i(59080),r=e.i(32171);let a=t.gql`
|
|
13
|
-
query DeliveryProvidersType {
|
|
14
|
-
deliveryProviderType: __type(name: "DeliveryProviderType") {
|
|
15
|
-
options: enumValues {
|
|
16
|
-
value: name
|
|
17
|
-
label: description
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
`;e.s(["default",0,()=>{let{data:e,loading:t,error:i}=(0,r.useQuery)(a);return{deliveryProviderType:e?.deliveryProviderType?.options||[],loading:t,error:i}}])},69211,e=>{"use strict";var t=e.i(91398),r=e.i(58021),a=e.i(60170);e.s(["default",0,({form:e,children:i,className:l="",...s})=>(0,t.jsx)(a.default.Provider,{value:e,children:(0,t.jsx)(r.FormProvider,{...e.rhf,children:(0,t.jsx)("form",{onReset:()=>e.api.handleReset(),onSubmit:e.api.handleSubmit,method:"POST",className:l,...s,children:i})})})])},60741,e=>{"use strict";var t=e.i(91788),r=e.i(69322),a=e.i(58021),i=e.i(82226),l=e.i(61898);e.s(["default",0,e=>{let s=(0,r.useIntl)(),{rhf:o,...n}=(0,l.default)(),{name:u,required:d,errorMessage:c,disabled:f=n.disabled||o?.formState?.isSubmitting,label:m=s.formatMessage({id:u,defaultMessage:"default_input_name",description:"DO not translate Skip this as it's the default given label when a component is not provided explicit label"}),validators:p=[]}=e,g=[...p,d&&i.validateRequired].filter(Boolean),v=e=>g.reduce((t,{isValid:r,intlMessageDescriptor:a,intlMessageValues:i})=>t||r(e)?t:c||s.formatMessage(a,{label:m,...i}),""),y=(0,t.useRef)(v);y.current=v;let{field:b,fieldState:h,formState:x}=(0,a.useController)({name:u,control:o?.control,rules:{validate:e=>y.current(e)||!0}}),_=(h.isTouched||x.isSubmitted)&&h.error?.message;return{...e,name:u,error:_,label:m,disabled:f,required:d,onChange:t=>{if(e.onChange&&e.onChange(t),"number"===e.type){let e=t?.target?.value,r=""===e||null==e?null:Number(e);b.onChange(r)}else b.onChange(t)},onBlur:b.onBlur,value:null==b.value?"":b.value,setValue:(e,t)=>{o?.setValue(u,e,{shouldDirty:!0,shouldValidate:t??!1})},setError:e=>{e?o?.setError(u,{type:"manual",message:e}):o?.clearErrors(u)},setTouched:e=>{e&&o?.trigger(u)}}}])},98949,e=>{"use strict";var t=e.i(91788),r=e.i(58021),a=e.i(69322),i=e.i(28401),l=e.i(73319);let s=e=>""===e||"string"==typeof e&&e?.trim()===""?null:"string"==typeof e&&e.length?e.trim():Array.isArray(e)&&e?.length&&"string"==typeof e[0]?e.map(e=>s(e)):Array.isArray(e)&&e?.length&&(0,l.isObject)(e[0])?e.map(e=>Object.fromEntries(Object.entries(e).map(([e,t])=>[e,s(t)]))):e,o=e=>e&&"object"==typeof e?"string"==typeof e.message&&e.message?e.message:Array.isArray(e)?e.map(e=>o(e)):Object.fromEntries(Object.entries(e).filter(([e])=>"ref"!==e).map(([e,t])=>[e,o(t)])):e;e.s(["default",0,({submit:e,getSubmitErrorMessage:l=()=>"",onSubmitSuccess:n=()=>!0,initialValues:u,initialErrors:d,initialTouched:c,successMessage:f,enableReinitialize:m,validate:p,disabled:g=!1})=>{let v=(0,a.useIntl)(),[y,b]=(0,t.useState)(""),h=(0,r.useForm)({mode:"onTouched",defaultValues:u,values:m?u:void 0,errors:d?Object.fromEntries(Object.entries(d).map(([e,t])=>[e,{type:"manual",message:t}])):void 0}),x=(0,t.useCallback)(e=>{let t=e?.errors?.[0];return v.formatMessage({id:"error_server",defaultMessage:"{details}"},{details:t?.message||""})},[v]),_=(0,t.useCallback)(async t=>{let r=!0;try{let a=await e(Object.fromEntries(Object.entries(t).map(([e,t])=>[e,s(t)]))),o=("boolean"==typeof a?a:a?.success)??!a?.error;if(o)f&&i.toast.success(f),await n(o,a?.data||t);else{let e="boolean"==typeof a?!a:a?.error;Array.isArray(e)?e.forEach(e=>{r=!1,b(l(e)||x(e))}):(r=!1,b(l(e)||x(e)))}}catch(e){r=!1,b(l(e)||x(e))}r&&b("")},[e,f,n,l,x]);return{submitError:y,api:(0,t.useMemo)(()=>({setFieldError:(e,t)=>{h.setError(e,{type:"manual",message:t})},setFieldValue:(e,t)=>{h.setValue(e,t,{shouldDirty:!0,shouldTouch:!0})},setValues:e=>{h.reset(e,{keepDirtyValues:!1,keepErrors:!1})},get values(){return h.getValues()},get isValid(){return h.formState.isValid},get isSubmitting(){return h.formState.isSubmitting},handleSubmit:h.handleSubmit(_),handleReset:()=>{h.reset()},resetForm:e=>{h.reset(e||u)},submitForm:()=>{h.handleSubmit(_)()},getFieldMeta:e=>{let t=h.getFieldState(e,h.formState);return{error:t.error?.message,touched:t.isTouched}},get initialValues(){return u},get errors(){return o(h.formState.errors)}}),[h,_,u]),rhf:h,setSubmitError:b,disabled:g}}],98949)},61898,e=>{"use strict";var t=e.i(91788),r=e.i(60170);e.s(["default",0,()=>(0,t.useContext)(r.default)])},60170,e=>{"use strict";var t=e.i(91788);let r=(0,e.i(98837).default)("FormContext",t.default.createContext({submitError:"",rhf:null,api:null,setSubmitError:()=>{},disabled:!1}));e.s(["default",0,r])},82226,e=>{"use strict";var t=e.i(73663),r=e.i(12051),a=e.i(35113),i=e.i(9356),l=e.i(49543);e.i(69322);let s=["AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BR","BS","BT","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GH","GI","GL","GM","GN","GQ","GR","GT","GU","GW","GY","HK","HN","HR","HT","HU","ID","IE","IL","IM","IN","IQ","IR","IS","IT","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PT","PW","PY","QA","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SK","SL","SM","SN","SO","SR","ST","SV","SY","SZ","TC","TD","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","XK","YE","YT","ZA","ZM","ZW"],o=["ab","aa","af","ak","sq","am","ar","an","hy","as","av","ae","ay","az","bm","ba","eu","be","bn","bh","bi","bs","br","bg","my","ca","ch","ce","ny","zh","cv","kw","co","cr","hr","cs","da","dv","nl","en","eo","et","ee","fo","fj","fi","fr","ff","gl","ka","de","el","gn","gu","ht","ha","he","hz","hi","ho","hu","ia","id","ie","ga","ig","ik","io","is","it","iu","ja","jv","kl","kn","kr","ks","kk","km","ki","rw","ky","kv","kg","ko","ku","kj","la","lb","lg","li","ln","lo","lt","lu","lv","gv","mk","mg","ms","ml","mt","mi","mr","mh","mn","na","nv","nb","nd","ne","ng","nn","no","ii","nr","oc","oj","cu","om","or","os","pa","pi","fa","pl","ps","pt","qu","rm","rn","ro","ru","sa","sc","sd","se","sm","sg","sr","gd","sn","si","sk","sl","so","st","es","su","sw","ss","sv","ta","te","tg","th","ti","bo","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","cy","wo","fy","xh","yi","yo","za"];e.s(["isContractAddress",0,(e=!1)=>({isValid:t=>!e&&!t||/^(0x)?[a-z0-9]{40}$/i.test(t),intlMessageDescriptor:{id:"error_contract_address",defaultMessage:"Invalid contract address"}}),"validateBirthdate",0,{isValid:e=>{if(!e)return!0;let t=new Date(e);if(!(0,i.isValid)(t))return!1;let r=(0,l.startOfDay)(new Date);return!(+(0,a.toDate)(t)>+(0,a.toDate)(r))},intlMessageDescriptor:{id:"error_birthdate_in_future",defaultMessage:"{label} cannot be in the future"}},"validateCountry",0,()=>({isValid:e=>s.includes(e.toUpperCase()),intlMessageDescriptor:{id:"error_country_code",defaultMessage:"Invalid country code"}}),"validateDate",0,{isValid:e=>!e||(0,i.isValid)(new Date(e)),intlMessageDescriptor:{id:"error_invalid_date",defaultMessage:"{label} is not a valid date"}},"validateEmail",0,{isValid:e=>(0,r.default)(e||""),intlMessageDescriptor:{id:"error_email",defaultMessage:"{label} must be a valid email address"}},"validateInteger",0,()=>({isValid:e=>null==e||""===e||!Number.isNaN(e)&&Number.isInteger(Number(e)),intlMessageDescriptor:{id:"error_number_not_int",defaultMessage:"Invalid value please provide integer value"}}),"validateLanguage",0,()=>({isValid:e=>o.includes(e?.toLowerCase()),intlMessageDescriptor:{id:"error_language_code",defaultMessage:"Invalid language code"}}),"validateMaxLength",0,e=>({isValid:r=>(0,t.default)(r||"",{max:e}),intlMessageDescriptor:{id:"error_max_length"},intlMessageValues:{maxLength:e.toString()}}),"validateProductCommerce",0,(e,t)=>({isValid:()=>{let r="function"==typeof t?t():t;if(!r?.length||r?.length===1)return!0;let a=r[e];return r.filter((t,r)=>r!==e).every(({minQuantity:e,countryCode:t,currencyCode:r})=>e!==a?.minQuantity||t!==a?.countryCode||r!==a?.currencyCode)},intlMessageDescriptor:{id:"error_same_product_prices",defaultMessage:"{label} can not be equal for a price with the same country and currency"}}),"validateProductCommerceOneZero",0,e=>({isValid:()=>{let t="function"==typeof e?e():e;if(!t?.length)return!0;let r=e=>null===e||""===e||void 0===e||0===Number(e);return(1!==t.length||!!r(t[0].minQuantity))&&t.filter(({minQuantity:e})=>r(e))?.length===1},intlMessageDescriptor:{id:"error_commerce_quantity_null_required",defaultMessage:"{label} should have one price with min quantity of 0 or empty"}}),"validateRequired",0,{isValid:e=>"string"==typeof e?e.trim().length>0:"number"==typeof e||(Array.isArray(e)?e.length>0:!!e),intlMessageDescriptor:{id:"error_required",defaultMessage:"{label} is a required field"}},"validateRequiredTag",0,e=>({isValid:t=>!e||t.length>0,intlMessageDescriptor:{id:"error_tag_required",defaultMessage:"{label} you must provide at least one tag"}})],82226)},8320,e=>{"use strict";var t=e.i(91398),r=e.i(91788);e.i(51523);var a=e.i(19518),i=e.i(3828),l=e.i(69322),s=e.i(58971),o=e.i(50595),n=e.i(68057),u=e.i(25327),d=e.i(1504),c=e.i(59080),f=e.i(76204),m=e.i(36494);let p=c.gql`
|
|
22
|
-
mutation CreateDeliveryProvider(
|
|
23
|
-
$deliveryProvider: CreateDeliveryProviderInput!
|
|
24
|
-
) {
|
|
25
|
-
createDeliveryProvider(deliveryProvider: $deliveryProvider) {
|
|
26
|
-
_id
|
|
27
|
-
created
|
|
28
|
-
updated
|
|
29
|
-
deleted
|
|
30
|
-
type
|
|
31
|
-
isActive
|
|
32
|
-
configuration
|
|
33
|
-
interface {
|
|
34
|
-
_id
|
|
35
|
-
label
|
|
36
|
-
version
|
|
37
|
-
}
|
|
38
|
-
configurationError
|
|
39
|
-
... on DeliveryProviderPickUp {
|
|
40
|
-
pickUpLocations {
|
|
41
|
-
_id
|
|
42
|
-
name
|
|
43
|
-
address {
|
|
44
|
-
...AddressFragment
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
${m.default}
|
|
51
|
-
`;var g=e.i(32171);let v=c.gql`
|
|
52
|
-
query DeliveryInterfaces($providerType: DeliveryProviderType) {
|
|
53
|
-
deliveryInterfaces(type: $providerType) {
|
|
54
|
-
_id
|
|
55
|
-
value: _id
|
|
56
|
-
label
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
`;var y=e.i(93333);e.s(["default",0,()=>{let[e,c]=(0,r.useState)(a.IDeliveryProviderType.Shipping),{formatMessage:m}=(0,l.useIntl)(),{createDeliveryProvider:b}=(()=>{let[e,{data:t,error:r,loading:a}]=(0,f.useMutation)(p);return{createDeliveryProvider:async({deliveryProvider:{adapterKey:t,type:r}})=>e({variables:{deliveryProvider:{adapterKey:t,type:r}},refetchQueries:["DeliveryProviders","ShopStatus"]}),newDeliveryProvider:t?.createDeliveryProvider,loading:a,error:r}})(),{deliveryProviderType:h}=(0,y.default)(),{deliveryInterfaces:x}=(({providerType:e=null})=>{let{data:t,loading:r,error:a}=(0,g.useQuery)(v,{skip:!e,variables:{providerType:e}});return{deliveryInterfaces:t?.deliveryInterfaces||[],loading:r,error:a}})({providerType:e}),{hasRole:_}=(0,s.default)(),M=async({adapterKey:e,type:t})=>{let{data:r,error:a}=await b({deliveryProvider:{adapterKey:e,type:t}});return!a&&{success:!0,data:r?.createDeliveryProvider}},S=(0,i.useRouter)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(o.default,{}),(0,t.jsxs)("div",{className:"mx-auto sm:max-w-2xl",children:[(0,t.jsx)(u.default,{headerText:m({id:"new_delivery_provider",defaultMessage:"New delivery provider"})}),(0,t.jsx)("div",{className:"mt-6",children:(0,t.jsx)(n.default,{readOnly:!_(a.IRoleAction.ManageDeliveryProviders),providerInterfaces:(0,d.default)(x,"label","value"),providerTypes:(0,d.default)(h,"label","value"),onSubmit:M,onSubmitSuccess:(e,{_id:t})=>{S.replace(`/delivery-provider?deliveryProviderId=${t}`)},onProviderChange:e=>c(e)})})]})]})}],8320)},74795,(e,t,r)=>{let a="/delivery-provider/new";(window.__NEXT_P=window.__NEXT_P||[]).push([a,()=>e.r(8320)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([a])})},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 l}});let a=e.r(41705)._(e.r(91788)),i=e.r(15125),l=a.default.createContext(i.imageConfigDefault)},15125,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={VALID_LOADERS:function(){return l},imageConfigDefault:function(){return s}};for(var i in a)Object.defineProperty(r,i,{enumerable:!0,get:a[i]});let l=["default","imgix","cloudinary","akamai","custom"],s={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}},78262,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){if(null==e)throw TypeError("Expected a string but received a ".concat(e));if("String"!==e.constructor.name)throw TypeError("Expected a string but received a ".concat(e.constructor.name))},t.exports=r.default,t.exports.default=r.default},73663,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){(0,i.default)(e),"object"===l(t)?(r=t.min||0,a=t.max):(r=arguments[1]||0,a=arguments[2]);var r,a,s=e.match(/[^\uFE0F\uFE0E][\uFE0F\uFE0E]/g)||[],o=e.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g)||[],n=e.length-s.length-o.length,u=n>=r&&(void 0===a||n<=a);return u&&Array.isArray(null==t?void 0:t.discreteLengths)?t.discreteLengths.some(function(e){return e===n}):u};var a,i=(a=e.r(78262))&&a.__esModule?a:{default:a};function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}t.exports=r.default,t.exports.default=r.default},80930,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){for(var r=0;r<t.length;r++){var a=t[r];if(e===a||"[object RegExp]"===Object.prototype.toString.call(a)&&a.test(e))return!0}return!1},t.exports=r.default,t.exports.default=r.default},60054,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){(0,i.default)(e),"object"===l(t)?(r=t.min||0,a=t.max):(r=arguments[1],a=arguments[2]);var r,a,s=encodeURI(e).split(/%..|./).length-1;return s>=r&&(void 0===a||s<=a)};var a,i=(a=e.r(78262))&&a.__esModule?a:{default:a};function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}t.exports=r.default,t.exports.default=r.default},34058,(e,t,r)=>{"use strict";function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;for(var r in("object"!==a(e)||null===e)&&(e={}),t)void 0===e[r]&&(e[r]=t[r]);return e},t.exports=r.default,t.exports.default=r.default},96184,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){(0,a.default)(e),(t=(0,i.default)(t,s)).allow_trailing_dot&&"."===e[e.length-1]&&(e=e.substring(0,e.length-1)),!0===t.allow_wildcard&&0===e.indexOf("*.")&&(e=e.substring(2));var r=e.split("."),l=r[r.length-1];return!(t.require_tld&&(r.length<2||!t.allow_numeric_tld&&!/^([a-z\u00A1-\u00A8\u00AA-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}|xn[a-z0-9-]{2,})$/i.test(l)||/\s/.test(l)))&&!(!t.allow_numeric_tld&&/^\d+$/.test(l))&&r.every(function(e){return!(e.length>63&&!t.ignore_max_length||!/^[a-z_\u00a1-\uffff0-9-]+$/i.test(e)||/[\uff01-\uff5e]/.test(e)||/^-|-$/.test(e)||!t.allow_underscores&&/_/.test(e))})};var a=l(e.r(78262)),i=l(e.r(34058));function l(e){return e&&e.__esModule?e:{default:e}}var s={require_tld:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_numeric_tld:!1,allow_wildcard:!1,ignore_max_length:!1};t.exports=r.default,t.exports.default=r.default},90498,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,i.default)(t);var a=("object"===l(r)?r.version:arguments[1])||"";return a?"4"===a.toString()?n.test(t):"6"===a.toString()&&d.test(t):e(t,{version:4})||e(t,{version:6})};var a,i=(a=e.r(78262))&&a.__esModule?a:{default:a};function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var s="(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])",o="(".concat(s,"[.]){3}").concat(s),n=new RegExp("^".concat(o,"$")),u="(?:[0-9a-fA-F]{1,4})",d=RegExp("^("+"(?:".concat(u,":){7}(?:").concat(u,"|:)|")+"(?:".concat(u,":){6}(?:").concat(o,"|:").concat(u,"|:)|")+"(?:".concat(u,":){5}(?::").concat(o,"|(:").concat(u,"){1,2}|:)|")+"(?:".concat(u,":){4}(?:(:").concat(u,"){0,1}:").concat(o,"|(:").concat(u,"){1,3}|:)|")+"(?:".concat(u,":){3}(?:(:").concat(u,"){0,2}:").concat(o,"|(:").concat(u,"){1,4}|:)|")+"(?:".concat(u,":){2}(?:(:").concat(u,"){0,3}:").concat(o,"|(:").concat(u,"){1,5}|:)|")+"(?:".concat(u,":){1}(?:(:").concat(u,"){0,4}:").concat(o,"|(:").concat(u,"){1,6}|:)|")+"(?::((?::".concat(u,"){0,5}:").concat(o,"|(?::").concat(u,"){1,7}|:))")+")(%[0-9a-zA-Z.]{1,})?$");t.exports=r.default,t.exports.default=r.default},12051,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){if((0,a.default)(e),(t=(0,n.default)(t,d)).require_display_name||t.allow_display_name){var r=e.match(c);if(r){var u,y,b=r[1];if(e=e.replace(b,"").replace(/(^<|>$)/g,""),b.endsWith(" ")&&(b=b.slice(0,-1)),!(!(!(y=(u=b).replace(/^"(.+)"$/,"$1")).trim()||/[\.";<>]/.test(y)&&(y===u||y.split('"').length!==y.split('\\"').length))&&1))return!1}else if(t.require_display_name)return!1}if(!t.ignore_max_length&&e.length>254)return!1;var h=e.split("@"),x=h.pop(),_=x.toLowerCase();if(t.host_blacklist.length>0&&(0,i.default)(_,t.host_blacklist)||t.host_whitelist.length>0&&!(0,i.default)(_,t.host_whitelist))return!1;var M=h.join("@");if(t.domain_specific_validation&&("gmail.com"===_||"googlemail.com"===_)){var S=(M=M.toLowerCase()).split("+")[0];if(!(0,l.default)(S.replace(/\./g,""),{min:6,max:30}))return!1;for(var F=S.split("."),C=0;C<F.length;C++)if(!m.test(F[C]))return!1}if(!1===t.ignore_max_length&&(!(0,l.default)(M,{max:64})||!(0,l.default)(x,{max:254})))return!1;if(!(0,s.default)(x,{require_tld:t.require_tld,ignore_max_length:t.ignore_max_length,allow_underscores:t.allow_underscores})){if(!t.allow_ip_domain)return!1;if(!(0,o.default)(x)){if(!x.startsWith("[")||!x.endsWith("]"))return!1;var j=x.slice(1,-1);if(0===j.length||!(0,o.default)(j))return!1}}if(t.blacklisted_chars&&-1!==M.search(RegExp("[".concat(t.blacklisted_chars,"]+"),"g")))return!1;if('"'===M[0]&&'"'===M[M.length-1])return M=M.slice(1,M.length-1),t.allow_utf8_local_part?v.test(M):p.test(M);for(var D=t.allow_utf8_local_part?g:f,w=M.split("."),P=0;P<w.length;P++)if(!D.test(w[P]))return!1;return!0};var a=u(e.r(78262)),i=u(e.r(80930)),l=u(e.r(60054)),s=u(e.r(96184)),o=u(e.r(90498)),n=u(e.r(34058));function u(e){return e&&e.__esModule?e:{default:e}}var d={allow_display_name:!1,allow_underscores:!1,require_display_name:!1,allow_utf8_local_part:!0,require_tld:!0,blacklisted_chars:"",ignore_max_length:!1,host_blacklist:[],host_whitelist:[]},c=/^([^\x00-\x1F\x7F-\x9F\cX]+)</i,f=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~]+$/i,m=/^[a-z\d]+$/,p=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f]))*$/i,g=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A1-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+$/i,v=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*$/i;t.exports=r.default,t.exports.default=r.default}]);
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
__turbopack_load_page_chunks__("/products/ProductDetailPage", [
|
|
2
|
-
"static/chunks/0m6jydfuy_4o3.js",
|
|
3
|
-
"static/chunks/1bww_2og01jxh.js",
|
|
4
|
-
"static/chunks/3vjgbl76cgrmt.js",
|
|
5
|
-
"static/chunks/38xse6_r51yqp.js",
|
|
6
|
-
"static/chunks/3qaiz-jwi7q2x.js",
|
|
7
|
-
"static/chunks/2dyj8q92_k5el.js",
|
|
8
|
-
"static/chunks/41e2wlkp9_pvk.js",
|
|
9
|
-
"static/chunks/33emlry70k-lv.js",
|
|
10
|
-
"static/chunks/1rtv3c_klo0jk.js",
|
|
11
|
-
"static/chunks/3cdfuacs4_0d-.js",
|
|
12
|
-
"static/chunks/1-6s62fsl_z_7.js",
|
|
13
|
-
"static/chunks/0jeddko6bac8h.js",
|
|
14
|
-
"static/chunks/0r5wwinf72z4g.js",
|
|
15
|
-
"static/chunks/13u_a5l2xngm4.js",
|
|
16
|
-
"static/chunks/2djnsowjy3p8y.js",
|
|
17
|
-
"static/chunks/02dnhll1bce87.js",
|
|
18
|
-
"static/chunks/252jebodi67kg.js",
|
|
19
|
-
"static/chunks/3om1fkw-lrmng.js",
|
|
20
|
-
"static/chunks/2oadogfqpak51.js",
|
|
21
|
-
"static/chunks/270ua9t85a7ev.js",
|
|
22
|
-
"static/chunks/2s6u8274_jzk2.js",
|
|
23
|
-
"static/chunks/0rqjr_lmrk4pz.js",
|
|
24
|
-
"static/chunks/turbopack-28b0zyhf3uqaq.js"
|
|
25
|
-
])
|