@unchainedshop/admin-ui 5.0.0-alpha.10 → 5.0.0-alpha.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-HTPSKUXQ.js → chunk-BMDNY67T.js} +121 -50
- package/dist/{chunk-AOR2B5N5.js → chunk-BOMSMJF2.js} +4 -1
- package/dist/{chunk-E7BVYJ3R.js → chunk-E77YIMGR.js} +1 -1
- package/dist/{chunk-H6G4UTZ5.js → chunk-HJKRGBDG.js} +4 -10
- package/dist/{chunk-DTJ2DTKS.js → chunk-ICJH36K4.js} +15 -3
- package/dist/chunk-IWKDBADX.js +73 -0
- package/dist/{chunk-AE5LOZGH.js → chunk-PJLYVMUM.js} +15 -57
- package/dist/chunk-VYEXPG3M.js +107 -0
- 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/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/form.js +22 -11
- 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 +62 -7
- package/dist/gql/schema-types.d.ts.map +1 -1
- package/dist/hooks.js +3 -3
- package/dist/modules/accounts.js +182 -2
- package/dist/modules/assortment.js +81 -2
- 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/enrollment.js +65 -8
- package/dist/modules/filter.js +51 -2
- package/dist/modules/order.js +1 -1
- package/dist/modules/product-review.js +2 -2
- package/dist/modules/product.js +259 -11
- package/dist/modules/quotation.js +7 -0
- package/dist/modules/token.js +1 -1
- package/dist/modules/work.js +17 -101
- package/dist/providers.js +1 -1
- package/dist/ui.js +91 -60
- 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/BPoacQET3TJr2q9E370Ez/_buildManifest.js +262 -0
- package/out/_next/static/chunks/01xy3u9ybz9ts.js +5 -0
- package/out/_next/static/chunks/02ir8k2vqhw7u.js +4 -0
- package/out/_next/static/chunks/03mdkmx9pb3yx.js +28 -0
- package/out/_next/static/chunks/03spbldywp99b.js +31 -0
- package/out/_next/static/chunks/0531sa8v36e39.js +1 -0
- package/out/_next/static/chunks/065ltxdt7s8b2.js +134 -0
- package/out/_next/static/chunks/06b1jza2fvc6f.js +4 -0
- package/out/_next/static/chunks/0701uizxsgs75.js +4 -0
- package/out/_next/static/chunks/09olk50zbo5r6.js +5 -0
- package/out/_next/static/chunks/09pabifvs84zb.js +12 -0
- package/out/_next/static/chunks/0_pn7w49dpkak.js +5 -0
- package/out/_next/static/chunks/0a_gulnq-c7to.js +709 -0
- package/out/_next/static/chunks/0agx-csdwbk-x.js +5 -0
- package/out/_next/static/chunks/0clmvy-auef0p.js +14 -0
- package/out/_next/static/chunks/0czktxcs2aa12.js +1 -0
- package/out/_next/static/chunks/0d_qylr054ab-.js +5 -0
- package/out/_next/static/chunks/0e2znhpcecrqs.js +175 -0
- package/out/_next/static/chunks/0ef4vp3ehm369.js +4 -0
- package/out/_next/static/chunks/0fggi8jpi5gjk.js +165 -0
- package/out/_next/static/chunks/0gyabz3vqllr6.js +83 -0
- package/out/_next/static/chunks/0j05dboa5_xkw.js +5 -0
- package/out/_next/static/chunks/0kr4ift9_1a3s.js +1 -0
- package/out/_next/static/chunks/0l8tmlevl_6p0.js +1 -0
- package/out/_next/static/chunks/0m73vd78oga92.js +342 -0
- package/out/_next/static/chunks/0o91usftba97q.js +54 -0
- package/out/_next/static/chunks/0oi1kpp0levnm.js +1 -0
- package/out/_next/static/chunks/0p7said9rdor1.js +1 -0
- package/out/_next/static/chunks/0p86ng98eiz5q.js +11 -0
- package/out/_next/static/chunks/0pw1zl8_l93xl.js +5 -0
- package/out/_next/static/chunks/0py8-umjmwiwi.js +156 -0
- package/out/_next/static/chunks/0q0m2pv-3b2e2.js +4 -0
- package/out/_next/static/chunks/0r57e83u39trg.js +5 -0
- package/out/_next/static/chunks/0r9a_mcjh1k24.js +6 -0
- package/out/_next/static/chunks/0rgtc82y8z7_x.js +5 -0
- package/out/_next/static/chunks/0rxhx_x-7dojh.js +182 -0
- package/out/_next/static/chunks/0s6u_6w75ggbw.js +297 -0
- package/out/_next/static/chunks/0teb3b5h78855.js +44 -0
- package/out/_next/static/chunks/0thsuuvsozjop.js +54 -0
- package/out/_next/static/chunks/0v6x3uondh5hw.js +5 -0
- package/out/_next/static/chunks/0v_uz3j8jolmq.js +4 -0
- package/out/_next/static/chunks/0vwmp6qrw7odm.js +7 -0
- package/out/_next/static/chunks/0w6t6v_jzrudq.js +4 -0
- package/out/_next/static/chunks/0w7gz501ry22r.js +4 -0
- package/out/_next/static/chunks/0xgn-89s97a5w.js +1 -0
- package/out/_next/static/chunks/0xqtemh7t38y9.js +119 -0
- package/out/_next/static/chunks/1-1rj15j67dqt.js +1 -0
- package/out/_next/static/chunks/10drou7w-k58p.js +4 -0
- package/out/_next/static/chunks/11w7hldkge7sg.js +8 -0
- package/out/_next/static/chunks/12yd8t4k6c0t1.js +1 -0
- package/out/_next/static/chunks/130c8cta7pec6.js +1 -0
- package/out/_next/static/chunks/13qi39a_b6gkv.js +1 -0
- package/out/_next/static/chunks/15142badc5ufq.js +4 -0
- package/out/_next/static/chunks/155boltbcvwo-.js +63 -0
- package/out/_next/static/chunks/15_nwd8p454gd.js +1 -0
- package/out/_next/static/chunks/15s4qkdyz56pg.js +115 -0
- package/out/_next/static/chunks/15vdx0kewzv-6.js +33 -0
- package/out/_next/static/chunks/16shuavdpgni8.js +327 -0
- package/out/_next/static/chunks/170j06y4-47o4.js +5 -0
- package/out/_next/static/chunks/18a5kibvycb6u.js +1 -0
- package/out/_next/static/chunks/1_bckhq06wfmb.js +4 -0
- package/out/_next/static/chunks/1_ymf_rfke1aw.js +6 -0
- package/out/_next/static/chunks/1a1m389awxw4k.js +1 -0
- package/out/_next/static/chunks/1albq_5cppsa1.js +5 -0
- package/out/_next/static/chunks/1bhibqf8k2-z1.js +117 -0
- package/out/_next/static/chunks/1bxesp6kakz8_.js +353 -0
- package/out/_next/static/chunks/1d80ahah359g5.js +174 -0
- package/out/_next/static/chunks/1dbjry-rs_5we.js +1 -0
- package/out/_next/static/chunks/1dlr1eig6zpl1.js +12 -0
- package/out/_next/static/chunks/1gq8ickcg_vmv.js +147 -0
- package/out/_next/static/chunks/1gyrsx1nip-lm.js +2 -0
- package/out/_next/static/chunks/1hma23kynopdj.js +3 -0
- package/out/_next/static/chunks/1i996uxxmc736.js +234 -0
- package/out/_next/static/chunks/1iamjw8qh1m4o.js +4 -0
- package/out/_next/static/chunks/1ivhp-mi-5l--.js +57 -0
- package/out/_next/static/chunks/1jmdpa0tc5puj.js +7 -0
- package/out/_next/static/chunks/1ktkks-wpk8q-.js +1 -0
- package/out/_next/static/chunks/1kz62r46jwi0y.js +5 -0
- package/out/_next/static/chunks/1lex3myb5hmsw.js +1 -0
- package/out/_next/static/chunks/1lha1nklxo2g7.js +1 -0
- package/out/_next/static/chunks/1mwmcucidjio0.js +8 -0
- package/out/_next/static/chunks/1mzejejof4s6g.js +147 -0
- package/out/_next/static/chunks/1os6pvhjeb16o.js +1 -0
- package/out/_next/static/chunks/1p937fyqa7ssz.js +1 -0
- package/out/_next/static/chunks/1po7d3udj6iv4.js +5 -0
- package/out/_next/static/chunks/1qxxbcidu-hmv.js +1 -0
- package/out/_next/static/chunks/1re4i2t_po4sr.js +95 -0
- package/out/_next/static/chunks/1s4oi1bw8zl5d.js +31 -0
- package/out/_next/static/chunks/1sb04cqudnfpj.js +4 -0
- package/out/_next/static/chunks/1sh2ogc7tcbu-.js +1 -0
- package/out/_next/static/chunks/1so6ouxrq_ffa.js +39 -0
- package/out/_next/static/chunks/1ulje1tawz8fl.js +1 -0
- package/out/_next/static/chunks/1uom050rz5iol.js +272 -0
- package/out/_next/static/chunks/1uymuiqrms2h8.js +103 -0
- package/out/_next/static/chunks/1wijj_fal57co.js +2 -0
- package/out/_next/static/chunks/1wpen9t3_zbte.js +1 -0
- package/out/_next/static/chunks/1wpv1sl7vwg04.js +99 -0
- package/out/_next/static/chunks/1y3poj860g968.js +24 -0
- package/out/_next/static/chunks/1yk0pxcl4urkd.js +4 -0
- package/out/_next/static/chunks/1z1mbux-7g74d.js +1 -0
- package/out/_next/static/chunks/1z2rl3h7scna4.js +7 -0
- package/out/_next/static/chunks/1zyhq82pkterc.js +61 -0
- package/out/_next/static/chunks/2-4610weysas_.js +1 -0
- package/out/_next/static/chunks/2-zr9-ri30va5.css +1 -0
- package/out/_next/static/chunks/20j8cdot33hql.js +13 -0
- package/out/_next/static/chunks/21fo9zerxyx-l.js +59 -0
- package/out/_next/static/chunks/22sxsq82r3cwy.js +41 -0
- package/out/_next/static/chunks/23nwkbry8kz0-.js +1 -0
- package/out/_next/static/chunks/259ckrmoldaqg.js +5 -0
- package/out/_next/static/chunks/25y2dqqrhstuq.js +5 -0
- package/out/_next/static/chunks/28myh-gi8t3t7.js +7 -0
- package/out/_next/static/chunks/28oppyg7ev102.js +1 -0
- package/out/_next/static/chunks/29y82c6-u55hj.js +5 -0
- package/out/_next/static/chunks/2ahlen2u4lbnm.js +16 -0
- package/out/_next/static/chunks/{2kzyda4a6mqut.js → 2ajr0rk0_yax6.js} +1 -1
- package/out/_next/static/chunks/2c3ehieqiwiw8.js +119 -0
- package/out/_next/static/chunks/2c5gq6izeq6nx.js +81 -0
- package/out/_next/static/chunks/2cj8g3fxmitaa.js +1 -0
- package/out/_next/static/chunks/2d9lzme_uzwvq.js +1 -0
- package/out/_next/static/chunks/2dqoft2pp4355.js +1 -0
- package/out/_next/static/chunks/2gso7_8v7owco.js +1 -0
- package/out/_next/static/chunks/2hc4nowrexhn3.js +100 -0
- package/out/_next/static/chunks/2hoi6cb1lromr.js +4 -0
- package/out/_next/static/chunks/2hw2_8kkf_2fg.js +1 -0
- package/out/_next/static/chunks/2kd4p_esjbozz.js +21 -0
- package/out/_next/static/chunks/2l8gepfm4kyjp.js +1 -0
- package/out/_next/static/chunks/2lwhn1ypqwukz.js +11 -0
- package/out/_next/static/chunks/2oz432iieo_c6.js +43 -0
- package/out/_next/static/chunks/2qjnhmz4c5fq1.js +23 -0
- package/out/_next/static/chunks/2rdjgc7_za785.js +9 -0
- package/out/_next/static/chunks/2ru66cyp0hbxn.js +103 -0
- package/out/_next/static/chunks/2ung-az_h871_.js +4 -0
- package/out/_next/static/chunks/2v4rvvdyh028e.js +1 -0
- package/out/_next/static/chunks/2vsl3-revotpl.js +43 -0
- package/out/_next/static/chunks/2wbc_9uwtsjbp.js +15 -0
- package/out/_next/static/chunks/2xixk0t9e9mnw.js +1 -0
- package/out/_next/static/chunks/2y6i_xssusr93.js +1 -0
- package/out/_next/static/chunks/2y_t26eglpeka.js +4 -0
- package/out/_next/static/chunks/2yw5sk06gdixu.js +1 -0
- package/out/_next/static/chunks/3-hgyqm9mhcm9.js +33 -0
- package/out/_next/static/chunks/3-ve59izq9j-p.js +1 -0
- package/out/_next/static/chunks/364y5vueeinvz.js +276 -0
- package/out/_next/static/chunks/366b9y413lk4d.js +33 -0
- package/out/_next/static/chunks/36vauyb71ot_b.js +61 -0
- package/out/_next/static/chunks/394m309ssmlo3.js +5 -0
- package/out/_next/static/chunks/39pveojee3ma1.js +33 -0
- package/out/_next/static/chunks/3_--novhq2u1q.js +807 -0
- package/out/_next/static/chunks/3apnk6kuvwze8.js +5 -0
- package/out/_next/static/chunks/3b0868kyqqkn3.js +5 -0
- package/out/_next/static/chunks/3btkj1_irjkq7.js +161 -0
- package/out/_next/static/chunks/3dcwbsiechj8e.js +7 -0
- package/out/_next/static/chunks/3dyd0ilb-ee5w.js +8 -0
- package/out/_next/static/chunks/3eftzknnu45-s.js +1 -0
- package/out/_next/static/chunks/3ejsx4af27cct.js +7 -0
- package/out/_next/static/chunks/3es4yddhl8uwc.js +7 -0
- package/out/_next/static/chunks/3fpgg_wy6j2ph.js +2 -0
- package/out/_next/static/chunks/3inp15oicq85k.js +1 -0
- package/out/_next/static/chunks/3j25u7rzawm9f.js +367 -0
- package/out/_next/static/chunks/3jxeyjg2g7w94.js +1 -0
- package/out/_next/static/chunks/3kd-t_qz3nxh7.js +30 -0
- package/out/_next/static/chunks/3kl8vv7w9jkjr.js +23 -0
- package/out/_next/static/chunks/3kmfx3f7oyfdm.js +5 -0
- package/out/_next/static/chunks/3koj4-48a7p_9.js +4 -0
- package/out/_next/static/chunks/3l7glrtu8ueuo.js +4 -0
- package/out/_next/static/chunks/3lgq9oa_2erwo.js +5 -0
- package/out/_next/static/chunks/3m_9ozv0orvze.js +187 -0
- package/out/_next/static/chunks/3muxcxam24i5z.js +1 -0
- package/out/_next/static/chunks/3nimt7ngr5zv6.js +46 -0
- package/out/_next/static/chunks/3pwezwpggrz59.js +74 -0
- package/out/_next/static/chunks/3r02t7a7jknrv.js +7 -0
- package/out/_next/static/chunks/3s40iuaou1rt4.js +1 -0
- package/out/_next/static/chunks/3selzn479n73i.js +16 -0
- package/out/_next/static/chunks/3srflqnqdfd60.js +5 -0
- package/out/_next/static/chunks/3t57k35xu2eo8.js +5 -0
- package/out/_next/static/chunks/3tu90a7do336z.js +12 -0
- package/out/_next/static/chunks/3ukgj2jzxf10n.js +5 -0
- package/out/_next/static/chunks/3vosu-lpiis6v.js +5 -0
- package/out/_next/static/chunks/3xaz8fvw2x6b3.js +5 -0
- package/out/_next/static/chunks/3xgjhwzul66dp.js +4 -0
- package/out/_next/static/chunks/3zze6y1x00k__.js +165 -0
- package/out/_next/static/chunks/40730dyt912zu.js +5 -0
- package/out/_next/static/chunks/40f26tfp8txip.js +5 -0
- package/out/_next/static/chunks/40kc42ezz2dri.js +1 -0
- package/out/_next/static/chunks/41f60q88qcigi.js +39 -0
- package/out/_next/static/chunks/41l5iphw-rna3.js +44 -0
- package/out/_next/static/chunks/423kk9x5t9_b8.js +5 -0
- package/out/_next/static/chunks/42k5e3tr3uyzs.js +54 -0
- package/out/_next/static/chunks/43uqmej6-s4am.js +7 -0
- package/out/_next/static/chunks/4481d7yj7bm2q.js +5 -0
- package/out/_next/static/chunks/448is1kpt9eaa.js +39 -0
- package/out/_next/static/chunks/44fkzg2e80pqt.js +8 -0
- package/out/_next/static/chunks/turbopack-2c3mg3r-05n1w.js +1 -0
- package/out/_offline/index.html +3 -2
- package/out/account/forgot-password/index.html +3 -2
- package/out/account/index.html +3 -2
- package/out/assortments/AssortmentDetailPage/index.html +3 -2
- package/out/assortments/index.html +3 -2
- package/out/assortments/new/index.html +3 -2
- package/out/copilot/index.html +3 -2
- package/out/country/CountryDetailPage/index.html +3 -2
- package/out/country/index.html +3 -2
- package/out/country/new/index.html +3 -2
- package/out/currency/CurrencyDetailPage/index.html +3 -2
- package/out/currency/index.html +3 -2
- package/out/currency/new/index.html +3 -2
- package/out/delivery-provider/DeliveryProviderDetailPage/index.html +3 -2
- package/out/delivery-provider/index.html +3 -2
- package/out/delivery-provider/new/index.html +3 -2
- package/out/enrollments/EnrollmentDetailPage/index.html +3 -2
- package/out/enrollments/index.html +3 -2
- package/out/events/EventDetailPage/index.html +3 -2
- package/out/events/index.html +3 -2
- package/out/exports/index.html +3 -2
- package/out/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 +1 -1
- package/src/modules/accounts/index.ts +6 -0
- package/src/modules/assortment/index.ts +2 -0
- package/src/modules/enrollment/index.ts +2 -0
- package/src/modules/filter/index.ts +2 -0
- package/src/modules/product/index.ts +4 -0
- package/src/modules/work/index.ts +1 -0
- package/src/sdk/README.md +11 -2
- 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 → BPoacQET3TJr2q9E370Ez}/_clientMiddlewareManifest.js +0 -0
- /package/out/_next/static/{z5KrmhOz2mLscINN5EbUf → BPoacQET3TJr2q9E370Ez}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { test } from 'node:test';
|
|
2
|
+
import assert from 'node:assert/strict';
|
|
3
|
+
import { buildPluginNavigation } from '../modules/plugins/pluginNavigation.ts';
|
|
4
|
+
|
|
5
|
+
const icon = (name) => name;
|
|
6
|
+
|
|
7
|
+
test('plugins with the same navigation label share one group', () => {
|
|
8
|
+
const nav = buildPluginNavigation(
|
|
9
|
+
[
|
|
10
|
+
{
|
|
11
|
+
name: 'ticketing',
|
|
12
|
+
navigation: { label: 'Ticketing', icon: 'ticket', sortOrder: 90 },
|
|
13
|
+
slots: {
|
|
14
|
+
entities: [{ path: '/ticketing', label: 'Events', sortOrder: 90 }],
|
|
15
|
+
pages: [{ path: '/gate-control', label: 'Gate Control', sortOrder: 92 }],
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
name: 'shop',
|
|
20
|
+
navigation: { label: 'Ticketing', icon: 'tag', sortOrder: 95 },
|
|
21
|
+
slots: {
|
|
22
|
+
entities: [{ path: '/promo-codes', label: 'Promo codes', sortOrder: 91 }],
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
],
|
|
26
|
+
icon,
|
|
27
|
+
);
|
|
28
|
+
assert.equal(nav.length, 1);
|
|
29
|
+
assert.equal(nav[0].name, 'Ticketing');
|
|
30
|
+
assert.equal(nav[0].icon, 'ticket');
|
|
31
|
+
assert.equal(nav[0]._sortOrder, 90);
|
|
32
|
+
assert.deepEqual(
|
|
33
|
+
nav[0].children.map(({ href }) => href),
|
|
34
|
+
['/ext/ticketing', '/ext/promo-codes', '/ext/gate-control'],
|
|
35
|
+
);
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
test('a group role applies only if every plugin of the group sets it', () => {
|
|
39
|
+
const manifest = (requiredRole) => ({
|
|
40
|
+
navigation: { label: 'Group', requiredRole },
|
|
41
|
+
slots: { pages: [{ path: `/${requiredRole}`, label: String(requiredRole) }] },
|
|
42
|
+
});
|
|
43
|
+
assert.equal(buildPluginNavigation([manifest('a'), manifest('a')], icon)[0].requiredRole, 'a');
|
|
44
|
+
assert.equal(buildPluginNavigation([manifest('a'), manifest('b')], icon)[0].requiredRole, undefined);
|
|
45
|
+
assert.equal(buildPluginNavigation([manifest('a'), manifest()], icon)[0].requiredRole, undefined);
|
|
46
|
+
});
|
|
47
|
+
|
|
48
|
+
test('plugins without navigation add their entries at the top level', () => {
|
|
49
|
+
const nav = buildPluginNavigation(
|
|
50
|
+
[
|
|
51
|
+
{ slots: { pages: [{ path: 'reports', label: 'Reports', sortOrder: 5 }] } },
|
|
52
|
+
{ navigation: { label: 'Empty' }, slots: {} },
|
|
53
|
+
],
|
|
54
|
+
icon,
|
|
55
|
+
);
|
|
56
|
+
assert.deepEqual(nav, [
|
|
57
|
+
{ name: 'Reports', icon: undefined, href: '/ext/reports', requiredRole: undefined, _sortOrder: 5 },
|
|
58
|
+
]);
|
|
59
|
+
});
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,86610,e=>{"use strict";var t=e.i(59080);let r=async(e,r=null)=>{await e.mutate({mutation:t.gql`
|
|
2
|
-
mutation Logout {
|
|
3
|
-
logout {
|
|
4
|
-
success
|
|
5
|
-
}
|
|
6
|
-
}
|
|
7
|
-
`});try{await e.resetStore()}catch(e){if(e?.name!=="AbortError")throw e}r?r.push("/log-in"):window.location.href="/log-in"};e.s(["default",0,r])},42763,e=>{"use strict";let t;var r=e.i(91788),n=e.i(57965),o=e.i(19134),i=e.i(76362),a=e.i(62979),s=e.i(71596),u=e.i(78538),c=a;class l extends c.ApolloLink{constructor(e){super((t,r)=>{let{...n}=t;return Object.defineProperty(n,"client",{enumerable:!1,value:t.client}),new u.Observable(o=>{let i=!1;return Promise.resolve(n).then(r=>e(t.getContext(),r)).then(t.setContext).then(()=>{i||r(t).subscribe(o)}).catch(o.error.bind(o)),()=>{i=!0}})})}}var f=e.i(22422),d=e.i(27764),p=a;class y extends p.ApolloLink{constructor(e){super((t,r)=>new u.Observable(n=>{let o,i,a;try{o=r(t).subscribe({next:o=>{let s=t.client.queryManager.incrementalHandler,u=s.isIncrementalResult(o)?s.extractErrors(o):o.errors;u?a=e({error:new f.CombinedGraphQLErrors(o,u),result:o,operation:t,forward:r}):(0,d.graphQLResultHasProtocolErrors)(o)&&(a=e({error:o.extensions[d.PROTOCOL_ERRORS_SYMBOL],result:o,operation:t,forward:r})),(i=a?.subscribe(n))||n.next(o)},error:o=>{a=e({operation:t,error:(0,d.toErrorLike)(o),forward:r}),(i=a?.subscribe(n))||n.error(o)},complete:()=>{a||n.complete()}})}catch(o){e({error:(0,d.toErrorLike)(o),operation:t,forward:r}),n.error(o)}return()=>{o&&o.unsubscribe(),i&&i.unsubscribe()}}))}}var h=e.i(84936),_=e.i(31221);function b(e=!1){return{keyArgs:e,merge(e,t,{args:r}){let n=e?e.slice(0):[];if(t)if(r){let{offset:e=0}=r;for(let r=0;r<t.length;++r)n[e+r]=t[r]}else n.push(...t);return n}}}e.i(89280);let v={...{UserEmail:{merge:!0},Query:{fields:{assortments:{...b(["includeLeaves","includeInactive","tags","queryString","slugs","limit"])},products:{...b(["includeDrafts","tags","queryString","sort","limit"])},product:{keyArgs:["productId","slug"],fields:{reviews:b()}},user:{keyArgs:["userId"],fields:{reviews:b()}},countries:{...b(["includeInactive","queryString","sort","limit"])},currencies:{...b(["includeInactive","queryString","sort","limit"])},enrollments:{...b(["queryString","status","sort","limit"])},quotations:{...b(["queryString","sort","limit"])},workQueue:{...b(["status","types","created","queryString","limit"])},languages:{...b(["includeInactive","queryString","sort","limit"])},events:{...b(["types","queryString","sort","limit","created"])},users:{...b(["includeGuests","queryString","emailVerified","lastLogin","limit","tags"])},filters:{...b(["queryString","includeInactive","sort","limit"])},orders:{...b(["includeCarts","queryString","sort","limit","dateRange","status","deliveryProviderIds","paymentProviderIds"])}}}},keyFields:e=>e?._id&&e?.__typename?`${e?.__typename}:${e?._id}`:e?.id&&e?.__typename?`${e.__typename}:${e.id}`:null},g=["accept-language","pragma","user-agent","x-forwarded-for","x-forwarded-host","x-forwarded-port","x-forwarded-proto","x-forwarded-server","x-mapihttpcapability","x-real-ip","x-user-identity","host","cookie","authorization"];e.s(["useApollo",0,function(e,{endpoint:u=null,...c}={}){let d=e?.__APOLLO_STATE__;return(0,r.useMemo)(()=>((e=null,{headers:r={},locale:u=""}={})=>{let c=t??(({headers:e={},locale:t})=>{let r=new l(r=>{var n;return n={...e,...r.headers},{headers:{...Object.fromEntries(Object.entries(n).filter(([e])=>g.includes(e?.toLowerCase()))),"accept-language":n?.forceLocale||t}}}),n=`${window.location.origin}/graphql`,o=new s.HttpLink({uri:n,credentials:"include",includeExtensions:!0}),u=new y(({error:e,operation:t})=>{f.CombinedGraphQLErrors.is(e)&&e.errors.forEach(({message:e,locations:r,path:n,extensions:o})=>{console.error(`[GraphQL error]: Message: ${e}, Location: ${JSON.stringify(r)}, Path: ${n}, Extensions: ${JSON.stringify(o)}, Operation: ${t.operationName}`)}),e&&console.error(`[Network error]: ${e.message}, ${e.name} Operation: ${t.operationName}`)}),c=new h.InMemoryCache({typePolicies:v,possibleTypes:_.default});return new i.ApolloClient({defaultOptions:{watchQuery:{fetchPolicy:"cache-and-network",errorPolicy:"all"}},ssrMode:!1,link:a.ApolloLink.from([u,r,o].filter(Boolean)),cache:c,devtools:{enabled:!1}})})({headers:r,locale:u});if(e){let t=c.extract(),r=(0,n.default)(e,t,{arrayMerge:(e,t)=>[...t,...e.filter(e=>t.every(t=>!(0,o.default)(e,t)))]});c.cache.restore(r)}return t=c,c})(d,{...c}),[d,u])}],42763)},31221,(e,t,r)=>{t.exports={DeliveryProvider:["DeliveryProviderPickUp","DeliveryProviderShipping"],Product:["ConfigurableProduct","SimpleProduct","BundleProduct","PlanProduct","TokenizedProduct"],ConfigurableOrBundleProduct:["BundleProduct","ConfigurableProduct"],OrderDiscountable:["OrderGlobalDiscount","OrderPaymentDiscount","OrderDeliveryDiscount","OrderItemDiscount"],OrderDelivery:["OrderDeliveryPickUp","OrderDeliveryShipping"],OrderPayment:["OrderPaymentInvoice","OrderPaymentCard","OrderPaymentGeneric"]}},79354,e=>{"use strict";var t=e.i(91398),r=e.i(69322),n=e.i(3828),o=e.i(51870),i=e.i(50595),a=e.i(25327),s=e.i(62274),u=e.i(23745),c=e.i(6607),l=e.i(15971),f=e.i(28401),d=e.i(42763),p=e.i(86610);e.i(51523);var y=e.i(19518),h=e.i(72419);e.s(["default",0,()=>{let{formatMessage:e}=(0,r.useIntl)(),_=(0,n.useRouter)(),{currentUser:b,extendedData:v}=(0,o.default)(),{deleteUser:g}=(0,u.default)(),{setModal:m}=(0,c.default)(),j=(0,d.useApollo)({}),w=b?.viewerAllowedActions?.includes(y.IRoleAction.RemoveUser),O=async()=>{await m((0,t.jsx)(l.default,{onCancelClick:async()=>m(""),message:e({id:"delete_account_confirmation",defaultMessage:"This action might cause inconsistencies with other data that relates to it "}),onOkClick:async()=>{m("");try{await g(),f.toast.success(e({id:"account_deleted",defaultMessage:"Account deleted successfully"})),await (0,p.default)(j,_)}catch(t){f.toast.error((0,h.default)(t,e))}},okText:e({id:"delete_account",defaultMessage:"Delete account"})}))};return(0,t.jsxs)("div",{className:" max-w-6xl",children:[(0,t.jsx)(i.default,{}),(0,t.jsx)(a.default,{headerText:e({id:"account",defaultMessage:"Account"}),onDelete:w?O:null}),(0,t.jsx)(s.default,{user:b,extendedData:v})]})}])},51585,(e,t,r)=>{let n="/account";(window.__NEXT_P=window.__NEXT_P||[]).push([n,()=>e.r(79354)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([n])})},57965,(e,t,r)=>{"use strict";var n=function(e){var t,r,n;return!!(t=e)&&"object"==typeof t&&(r=e,"[object RegExp]"!==(n=Object.prototype.toString.call(r))&&"[object Date]"!==n&&r.$$typeof!==o)},o="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function i(e,t){return!1!==t.clone&&t.isMergeableObject(e)?c(Array.isArray(e)?[]:{},e,t):e}function a(e,t,r){return e.concat(t).map(function(e){return i(e,r)})}function s(e){return Object.keys(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[])}function u(e,t){try{return t in e}catch(e){return!1}}function c(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||a,r.isMergeableObject=r.isMergeableObject||n,r.cloneUnlessOtherwiseSpecified=i;var o,l,f=Array.isArray(t);return f!==Array.isArray(e)?i(t,r):f?r.arrayMerge(e,t,r):(l={},(o=r).isMergeableObject(e)&&s(e).forEach(function(t){l[t]=i(e[t],o)}),s(t).forEach(function(r){u(e,r)&&!(Object.hasOwnProperty.call(e,r)&&Object.propertyIsEnumerable.call(e,r))||(u(e,r)&&o.isMergeableObject(t[r])?l[r]=(function(e,t){if(!t.customMerge)return c;var r=t.customMerge(e);return"function"==typeof r?r:c})(r,o)(e[r],t[r],o):l[r]=i(t[r],o))}),l)}c.all=function(e,t){if(!Array.isArray(e))throw Error("first argument should be an array");return e.reduce(function(e,r){return c(e,r,t)},{})},t.exports=c},19134,(e,t,r)=>{var n,o,i,a="__lodash_hash_undefined__",s="[object Arguments]",u="[object Array]",c="[object Boolean]",l="[object Date]",f="[object Error]",d="[object Function]",p="[object Map]",y="[object Number]",h="[object Object]",_="[object Promise]",b="[object RegExp]",v="[object Set]",g="[object String]",m="[object WeakMap]",j="[object ArrayBuffer]",w="[object DataView]",O=/^\[object .+?Constructor\]$/,A=/^(?:0|[1-9]\d*)$/,P={};P["[object Float32Array]"]=P["[object Float64Array]"]=P["[object Int8Array]"]=P["[object Int16Array]"]=P["[object Int32Array]"]=P["[object Uint8Array]"]=P["[object Uint8ClampedArray]"]=P["[object Uint16Array]"]=P["[object Uint32Array]"]=!0,P[s]=P[u]=P[j]=P[c]=P[w]=P[l]=P[f]=P[d]=P[p]=P[y]=P[h]=P[b]=P[v]=P[g]=P[m]=!1;var x=e.g&&e.g.Object===Object&&e.g,S="object"==typeof self&&self&&self.Object===Object&&self,k=x||S||Function("return this")(),E=r&&!r.nodeType&&r,z=E&&t&&!t.nodeType&&t,L=z&&z.exports===E,M=L&&x.process,I=function(){try{return M&&M.binding&&M.binding("util")}catch(e){}}(),$=I&&I.isTypedArray;function C(e){var t=-1,r=Array(e.size);return e.forEach(function(e,n){r[++t]=[n,e]}),r}function D(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r}var T=Array.prototype,q=Function.prototype,R=Object.prototype,U=k["__core-js_shared__"],B=q.toString,N=R.hasOwnProperty,F=(n=/[^.]+$/.exec(U&&U.keys&&U.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",G=R.toString,Q=RegExp("^"+B.call(N).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),H=L?k.Buffer:void 0,V=k.Symbol,X=k.Uint8Array,J=R.propertyIsEnumerable,K=T.splice,W=V?V.toStringTag:void 0,Y=Object.getOwnPropertySymbols,Z=H?H.isBuffer:void 0,ee=(o=Object.keys,i=Object,function(e){return o(i(e))}),et=eP(k,"DataView"),er=eP(k,"Map"),en=eP(k,"Promise"),eo=eP(k,"Set"),ei=eP(k,"WeakMap"),ea=eP(Object,"create"),es=ek(et),eu=ek(er),ec=ek(en),el=ek(eo),ef=ek(ei),ed=V?V.prototype:void 0,ep=ed?ed.valueOf:void 0;function ey(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function eh(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function e_(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function eb(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new e_;++t<r;)this.add(e[t])}function ev(e){var t=this.__data__=new eh(e);this.size=t.size}function eg(e,t){for(var r=e.length;r--;)if(eE(e[r][0],t))return r;return -1}function em(e){var t;return null==e?void 0===e?"[object Undefined]":"[object Null]":W&&W in Object(e)?function(e){var t=N.call(e,W),r=e[W];try{e[W]=void 0;var n=!0}catch(e){}var o=G.call(e);return n&&(t?e[W]=r:delete e[W]),o}(e):(t=e,G.call(t))}function ej(e){return eD(e)&&em(e)==s}function ew(e,t,r,n,o,i){var a=1&r,s=e.length,u=t.length;if(s!=u&&!(a&&u>s))return!1;var c=i.get(e);if(c&&i.get(t))return c==t;var l=-1,f=!0,d=2&r?new eb:void 0;for(i.set(e,t),i.set(t,e);++l<s;){var p=e[l],y=t[l];if(n)var h=a?n(y,p,l,t,e,i):n(p,y,l,e,t,i);if(void 0!==h){if(h)continue;f=!1;break}if(d){if(!function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}(t,function(e,t){if(!d.has(t)&&(p===e||o(p,e,r,n,i)))return d.push(t)})){f=!1;break}}else if(!(p===y||o(p,y,r,n,i))){f=!1;break}}return i.delete(e),i.delete(t),f}function eO(e){var t;return t=eq(e),eL(e)?t:function(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}(t,ex(e))}function eA(e,t){var r,n,o=e.__data__;return("string"==(n=typeof(r=t))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?o["string"==typeof t?"string":"hash"]:o.map}function eP(e,t){var r,n=null==e?void 0:e[t];return!(!eC(n)||(r=n,F&&F in r))&&(eI(n)?Q:O).test(ek(n))?n:void 0}ey.prototype.clear=function(){this.__data__=ea?ea(null):{},this.size=0},ey.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=!!t,t},ey.prototype.get=function(e){var t=this.__data__;if(ea){var r=t[e];return r===a?void 0:r}return N.call(t,e)?t[e]:void 0},ey.prototype.has=function(e){var t=this.__data__;return ea?void 0!==t[e]:N.call(t,e)},ey.prototype.set=function(e,t){var r=this.__data__;return this.size+=+!this.has(e),r[e]=ea&&void 0===t?a:t,this},eh.prototype.clear=function(){this.__data__=[],this.size=0},eh.prototype.delete=function(e){var t=this.__data__,r=eg(t,e);return!(r<0)&&(r==t.length-1?t.pop():K.call(t,r,1),--this.size,!0)},eh.prototype.get=function(e){var t=this.__data__,r=eg(t,e);return r<0?void 0:t[r][1]},eh.prototype.has=function(e){return eg(this.__data__,e)>-1},eh.prototype.set=function(e,t){var r=this.__data__,n=eg(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},e_.prototype.clear=function(){this.size=0,this.__data__={hash:new ey,map:new(er||eh),string:new ey}},e_.prototype.delete=function(e){var t=eA(this,e).delete(e);return this.size-=!!t,t},e_.prototype.get=function(e){return eA(this,e).get(e)},e_.prototype.has=function(e){return eA(this,e).has(e)},e_.prototype.set=function(e,t){var r=eA(this,e),n=r.size;return r.set(e,t),this.size+=+(r.size!=n),this},eb.prototype.add=eb.prototype.push=function(e){return this.__data__.set(e,a),this},eb.prototype.has=function(e){return this.__data__.has(e)},ev.prototype.clear=function(){this.__data__=new eh,this.size=0},ev.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},ev.prototype.get=function(e){return this.__data__.get(e)},ev.prototype.has=function(e){return this.__data__.has(e)},ev.prototype.set=function(e,t){var r=this.__data__;if(r instanceof eh){var n=r.__data__;if(!er||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new e_(n)}return r.set(e,t),this.size=r.size,this};var ex=Y?function(e){return null==e?[]:function(e,t){for(var r=-1,n=null==e?0:e.length,o=0,i=[];++r<n;){var a=e[r];t(a,r,e)&&(i[o++]=a)}return i}(Y(e=Object(e)),function(t){return J.call(e,t)})}:function(){return[]},eS=em;function ek(e){if(null!=e){try{return B.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function eE(e,t){return e===t||e!=e&&t!=t}(et&&eS(new et(new ArrayBuffer(1)))!=w||er&&eS(new er)!=p||en&&eS(en.resolve())!=_||eo&&eS(new eo)!=v||ei&&eS(new ei)!=m)&&(eS=function(e){var t=em(e),r=t==h?e.constructor:void 0,n=r?ek(r):"";if(n)switch(n){case es:return w;case eu:return p;case ec:return _;case el:return v;case ef:return m}return t});var ez=ej(function(){return arguments}())?ej:function(e){return eD(e)&&N.call(e,"callee")&&!J.call(e,"callee")},eL=Array.isArray,eM=Z||function(){return!1};function eI(e){if(!eC(e))return!1;var t=em(e);return t==d||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function e$(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=0x1fffffffffffff}function eC(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function eD(e){return null!=e&&"object"==typeof e}var eT=$?function(e){return $(e)}:function(e){return eD(e)&&e$(e.length)&&!!P[em(e)]};function eq(e){return null!=e&&e$(e.length)&&!eI(e)?function(e){var t,r,n=eL(e),o=!n&&ez(e),i=!n&&!o&&eM(e),a=!n&&!o&&!i&&eT(e),s=n||o||i||a,u=s?function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}(e.length,String):[],c=u.length;for(var l in e){N.call(e,l)&&!(s&&("length"==l||i&&("offset"==l||"parent"==l)||a&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||(t=l,(r=null==(r=c)?0x1fffffffffffff:r)&&("number"==typeof t||A.test(t))&&t>-1&&t%1==0&&t<r)))&&u.push(l)}return u}(e):function(e){if(r=(t=e)&&t.constructor,t!==("function"==typeof r&&r.prototype||R))return ee(e);var t,r,n=[];for(var o in Object(e))N.call(e,o)&&"constructor"!=o&&n.push(o);return n}(e)}t.exports=function(e,t){return function e(t,r,n,o,i){return t===r||(null!=t&&null!=r&&(eD(t)||eD(r))?function(e,t,r,n,o,i){var a=eL(e),d=eL(t),_=a?u:eS(e),m=d?u:eS(t);_=_==s?h:_,m=m==s?h:m;var O=_==h,A=m==h,P=_==m;if(P&&eM(e)){if(!eM(t))return!1;a=!0,O=!1}if(P&&!O)return i||(i=new ev),a||eT(e)?ew(e,t,r,n,o,i):function(e,t,r,n,o,i,a){switch(r){case w:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)break;e=e.buffer,t=t.buffer;case j:if(e.byteLength!=t.byteLength||!i(new X(e),new X(t)))break;return!0;case c:case l:case y:return eE(+e,+t);case f:return e.name==t.name&&e.message==t.message;case b:case g:return e==t+"";case p:var s=C;case v:var u=1&n;if(s||(s=D),e.size!=t.size&&!u)break;var d=a.get(e);if(d)return d==t;n|=2,a.set(e,t);var h=ew(s(e),s(t),n,o,i,a);return a.delete(e),h;case"[object Symbol]":if(ep)return ep.call(e)==ep.call(t)}return!1}(e,t,_,r,n,o,i);if(!(1&r)){var x=O&&N.call(e,"__wrapped__"),S=A&&N.call(t,"__wrapped__");if(x||S){var k=x?e.value():e,E=S?t.value():t;return i||(i=new ev),o(k,E,r,n,i)}}return!!P&&(i||(i=new ev),function(e,t,r,n,o,i){var a=1&r,s=eO(e),u=s.length;if(u!=eO(t).length&&!a)return!1;for(var c=u;c--;){var l=s[c];if(!(a?l in t:N.call(t,l)))return!1}var f=i.get(e);if(f&&i.get(t))return f==t;var d=!0;i.set(e,t),i.set(t,e);for(var p=a;++c<u;){var y=e[l=s[c]],h=t[l];if(n)var _=a?n(h,y,l,t,e,i):n(y,h,l,e,t,i);if(!(void 0===_?y===h||o(y,h,r,n,i):_)){d=!1;break}p||(p="constructor"==l)}if(d&&!p){var b=e.constructor,v=t.constructor;b!=v&&"constructor"in e&&"constructor"in t&&!("function"==typeof b&&b instanceof b&&"function"==typeof v&&v instanceof v)&&(d=!1)}return i.delete(e),i.delete(t),d}(e,t,r,n,o,i))}(t,r,n,o,e,i):t!=t&&r!=r)}(e,t)}}]);
|