@medusajs/dashboard 2.22.2 → 2.22.3-snapshot-20261103230838
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/{add-campaign-promotions-RWN6HTKJ.mjs → add-campaign-promotions-4IS2DZDR.mjs} +7 -7
- package/dist/{add-locales-XMWLIYL6.mjs → add-locales-ZIOTFU4W.mjs} +44 -40
- package/dist/{adjust-inventory-7DK5F2YX.mjs → adjust-inventory-2ZYHUT73.mjs} +6 -6
- package/dist/{api-key-management-create-T4IJ5XXU.mjs → api-key-management-create-2IQODPHH.mjs} +4 -4
- package/dist/{api-key-management-detail-5KTYP3FS.mjs → api-key-management-detail-EIPWNVDC.mjs} +143 -124
- package/dist/{api-key-management-edit-BDZZK5Y5.mjs → api-key-management-edit-KXH34K2G.mjs} +4 -4
- package/dist/{api-key-management-list-APL6MVRQ.mjs → api-key-management-list-72FGNWLN.mjs} +80 -67
- package/dist/{api-key-management-sales-channels-TSSMTVWB.mjs → api-key-management-sales-channels-IL2NIE33.mjs} +19 -19
- package/dist/app.css +3 -4
- package/dist/app.js +21159 -18926
- package/dist/app.mjs +54 -50
- package/dist/{campaign-budget-edit-WWHZPWCG.mjs → campaign-budget-edit-A6EZI6T4.mjs} +5 -5
- package/dist/{campaign-configuration-AXYNQPY7.mjs → campaign-configuration-7SOHBQNU.mjs} +2 -2
- package/dist/{campaign-create-T4H2JAOB.mjs → campaign-create-DQZVHZHR.mjs} +10 -7
- package/dist/{campaign-detail-4LCFEWQM.mjs → campaign-detail-I3VAQGCD.mjs} +187 -146
- package/dist/{campaign-edit-VBFX7V3X.mjs → campaign-edit-QH5RVLZS.mjs} +2 -2
- package/dist/{campaign-list-EJG3SWNW.mjs → campaign-list-QHZTX5N4.mjs} +50 -41
- package/dist/{categories-metadata-IJNINW36.mjs → categories-metadata-C6ZIRTRV.mjs} +38 -34
- package/dist/{category-create-OYC3PXSA.mjs → category-create-VVF7N4TB.mjs} +4 -4
- package/dist/{category-detail-M2D4XCIP.mjs → category-detail-ZWGZV3GK.mjs} +145 -124
- package/dist/{category-edit-GXV2JSEU.mjs → category-edit-3S65HO2A.mjs} +3 -3
- package/dist/{category-list-4WUQDQEP.mjs → category-list-7OWX64KZ.mjs} +60 -48
- package/dist/{category-organize-F5HUPGNO.mjs → category-organize-TQVDIFUL.mjs} +3 -3
- package/dist/{category-products-7R226UQ5.mjs → category-products-JFOCVVES.mjs} +44 -40
- package/dist/{chunk-3C2RPYDJ.mjs → chunk-2EZMK7DO.mjs} +1 -1
- package/dist/{chunk-7ESIVGRF.mjs → chunk-2QVJYES6.mjs} +2 -2
- package/dist/chunk-322ZJBUJ.mjs +19 -0
- package/dist/{chunk-Q7IJ6TPC.mjs → chunk-33UXMKQ7.mjs} +7 -6
- package/dist/chunk-365GERX4.mjs +73 -0
- package/dist/{chunk-4SIZ37QP.mjs → chunk-3M3MU37L.mjs} +2 -2
- package/dist/{chunk-WWCRED3P.mjs → chunk-3WQ5PJBT.mjs} +8 -3
- package/dist/chunk-4IHNRS43.mjs +99 -0
- package/dist/{chunk-JPXF73N2.mjs → chunk-4XBU5SW4.mjs} +1 -1
- package/dist/{chunk-SEMVMECK.mjs → chunk-56JWEPQ5.mjs} +8 -1
- package/dist/chunk-5DX4SKDD.mjs +33 -0
- package/dist/{chunk-ZENORIF5.mjs → chunk-5KFSLDYP.mjs} +8 -6
- package/dist/{chunk-EMDIIWVL.mjs → chunk-64ZEW3UL.mjs} +2 -2
- package/dist/{chunk-5D3OQSK6.mjs → chunk-6DQ5276V.mjs} +66 -55
- package/dist/{chunk-25SOQYSB.mjs → chunk-6G2U66C4.mjs} +1 -1
- package/dist/{chunk-CKTDLEPS.mjs → chunk-6WXG6LXS.mjs} +26 -15
- package/dist/{chunk-RH74EIOJ.mjs → chunk-6XOZLCQL.mjs} +3 -3
- package/dist/{chunk-ISGDOD5J.mjs → chunk-74SYOZ4T.mjs} +1 -1
- package/dist/{chunk-CHQR6GOM.mjs → chunk-7BSV7MIX.mjs} +3 -3
- package/dist/{chunk-KO32MW4R.mjs → chunk-7EZ6PR54.mjs} +2 -2
- package/dist/{chunk-Z4CMG3I4.mjs → chunk-7QM3PVUQ.mjs} +5 -5
- package/dist/{chunk-4Z5IS4OX.mjs → chunk-7ZUT2LGF.mjs} +3 -3
- package/dist/{chunk-2VYWSRWQ.mjs → chunk-A4G5XQF5.mjs} +2 -2
- package/dist/{chunk-VQFDCOV3.mjs → chunk-AJQWGDQ4.mjs} +16 -5
- package/dist/{chunk-U6HPEYPU.mjs → chunk-BADV2M7G.mjs} +6 -6
- package/dist/{chunk-OBC5NV6Q.mjs → chunk-BGPV2PTI.mjs} +1 -1
- package/dist/{chunk-LIMVLBMV.mjs → chunk-BOHBZKLE.mjs} +25 -15
- package/dist/{chunk-OPMQF765.mjs → chunk-BPBUHRC6.mjs} +3 -3
- package/dist/{chunk-TUXCOD7C.mjs → chunk-CCVZF4LW.mjs} +3 -3
- package/dist/{chunk-R7SHE6NH.mjs → chunk-CFQ4T25J.mjs} +5 -5
- package/dist/chunk-CKBLQMX4.mjs +0 -0
- package/dist/{chunk-D3TDNKSZ.mjs → chunk-CXKMJWIC.mjs} +1 -1
- package/dist/{chunk-SKQPG6BC.mjs → chunk-D4FRFL4I.mjs} +7 -2
- package/dist/{chunk-HBRGWLPM.mjs → chunk-DI6RO7PD.mjs} +1 -1
- package/dist/{chunk-WHWDHRC2.mjs → chunk-DM6OIJEP.mjs} +1 -1
- package/dist/{chunk-YDJ774GR.mjs → chunk-DRHLHTYR.mjs} +2 -2
- package/dist/{chunk-K5OJP3ZJ.mjs → chunk-EXLZLDKR.mjs} +1 -1
- package/dist/{chunk-4FZLRC2F.mjs → chunk-EYCPXU6G.mjs} +1 -1
- package/dist/{chunk-ACQJSQ5A.mjs → chunk-F3PKEQH2.mjs} +1 -1
- package/dist/{chunk-2G6AYJ2P.mjs → chunk-FPQTWRMF.mjs} +1 -1
- package/dist/{chunk-U6M75BAC.mjs → chunk-G6CDPEIW.mjs} +1 -1
- package/dist/{chunk-76GMQTT4.mjs → chunk-G7NQT3JP.mjs} +5 -5
- package/dist/{chunk-HFX2KPQD.mjs → chunk-GE3FTJXX.mjs} +182 -134
- package/dist/{chunk-EFMT6RZF.mjs → chunk-H4VAUQN7.mjs} +1350 -593
- package/dist/{chunk-22ELTIVU.mjs → chunk-H7MQ3FSC.mjs} +2 -2
- package/dist/{chunk-BRKVWPEB.mjs → chunk-HEKHP4X7.mjs} +6 -6
- package/dist/{chunk-AWWN6Y5V.mjs → chunk-HS6ZQNMY.mjs} +1 -1
- package/dist/{chunk-XSJWKART.mjs → chunk-HZDKGSOR.mjs} +37 -32
- package/dist/{chunk-4ZJSFAVB.mjs → chunk-I6AVC7PG.mjs} +3 -3
- package/dist/{chunk-4B4EDDEW.mjs → chunk-IAQO2TGC.mjs} +10 -8
- package/dist/{chunk-RDBROTJE.mjs → chunk-IHFF3PX6.mjs} +6 -0
- package/dist/{chunk-HWLVYKUO.mjs → chunk-IMI46Y3Q.mjs} +2 -2
- package/dist/{chunk-PJU3RODH.mjs → chunk-JEO4MPEM.mjs} +18 -16
- package/dist/{chunk-4JCNXXUP.mjs → chunk-KKTKBA2X.mjs} +2 -2
- package/dist/{chunk-RJKBHZ4S.mjs → chunk-KQCUMR3Q.mjs} +43 -34
- package/dist/{chunk-2V5DOTI3.mjs → chunk-KZFJ7R7M.mjs} +30 -6
- package/dist/{chunk-6S2QLGME.mjs → chunk-L2WMXJXO.mjs} +5 -5
- package/dist/{chunk-SCZMJ7DM.mjs → chunk-LUN2NQQ6.mjs} +2 -2
- package/dist/{chunk-SH6DEX5S.mjs → chunk-LVKBZSFN.mjs} +1 -1
- package/dist/{chunk-DEOCXBV2.mjs → chunk-MLVYQMPS.mjs} +1 -1
- package/dist/{chunk-KMS7EW7I.mjs → chunk-MP35KJLM.mjs} +1 -1
- package/dist/{chunk-RW5LLFK2.mjs → chunk-MPNBXS4G.mjs} +2 -2
- package/dist/{chunk-PTP3K7TB.mjs → chunk-MSIJIR7S.mjs} +1 -1
- package/dist/{chunk-LFVTNY6D.mjs → chunk-NZ665YBJ.mjs} +1 -1
- package/dist/{chunk-6537ZNEK.mjs → chunk-OKJ2Y3CZ.mjs} +12 -12
- package/dist/{chunk-RE5I2EA2.mjs → chunk-QEDMZQZQ.mjs} +2 -2
- package/dist/{chunk-2LVQXUFY.mjs → chunk-QGI2KRFU.mjs} +2 -2
- package/dist/{chunk-QG545K2O.mjs → chunk-RDUHTVDJ.mjs} +1 -1
- package/dist/{chunk-VAH4XB4O.mjs → chunk-RE2JBFAB.mjs} +1 -1
- package/dist/{chunk-TESKFHUZ.mjs → chunk-RS34QFAS.mjs} +1 -1
- package/dist/{chunk-BGQF2VTH.mjs → chunk-SUCODEOW.mjs} +1 -1
- package/dist/{chunk-FU4ADX2T.mjs → chunk-T3RCVDUF.mjs} +5 -5
- package/dist/{chunk-ZB3WPQQA.mjs → chunk-TFW4TVLL.mjs} +1 -1
- package/dist/{chunk-Y44QLYBS.mjs → chunk-TZFTIXTV.mjs} +1 -1
- package/dist/{chunk-JPLNM5FJ.mjs → chunk-U3I2C3XT.mjs} +5 -5
- package/dist/{chunk-NKL2PV6B.mjs → chunk-UCY6OSCT.mjs} +4 -4
- package/dist/{chunk-DSBMVN2K.mjs → chunk-UQC5JC6W.mjs} +29 -1
- package/dist/chunk-UUVHVFSO.mjs +167 -0
- package/dist/{chunk-HIX2NSSN.mjs → chunk-V4JVEFO5.mjs} +1 -1
- package/dist/{chunk-EYDZJ522.mjs → chunk-VDCNRJUS.mjs} +1 -1
- package/dist/chunk-W5TDVB7T.mjs +29 -0
- package/dist/{chunk-TO7QJZLE.mjs → chunk-W5UTJK2D.mjs} +4 -2
- package/dist/{chunk-B2C3RWOZ.mjs → chunk-W6GOSAFC.mjs} +2 -2
- package/dist/{chunk-5N2B66CN.mjs → chunk-WTD4HMKW.mjs} +2 -2
- package/dist/{chunk-OE4TUOQP.mjs → chunk-X6NC2PCL.mjs} +6 -6
- package/dist/{chunk-QQYIGKZT.mjs → chunk-YA6D52TX.mjs} +1 -1
- package/dist/{chunk-AFKRECXN.mjs → chunk-YBOWUUNL.mjs} +1 -1
- package/dist/{chunk-E6OUIHKB.mjs → chunk-YFQBP5IS.mjs} +1 -1
- package/dist/{chunk-ECBKVHTP.mjs → chunk-ZOZT3BKD.mjs} +2 -2
- package/dist/{chunk-QIUJGXDT.mjs → chunk-ZQ2ZD6MI.mjs} +3 -3
- package/dist/{chunk-TNXBZUG3.mjs → chunk-ZWWQ3B3Q.mjs} +3 -3
- package/dist/{collection-add-products-MS3JQ2G6.mjs → collection-add-products-6JXRFJ4G.mjs} +44 -40
- package/dist/{collection-create-GK34VSNQ.mjs → collection-create-YWMPFAW3.mjs} +3 -3
- package/dist/{collection-detail-6A7IILXK.mjs → collection-detail-Y6BHSCXG.mjs} +185 -147
- package/dist/{collection-edit-BI4QN6YG.mjs → collection-edit-KU2YHSHS.mjs} +3 -3
- package/dist/{collection-list-WYUWEFFC.mjs → collection-list-HDIRXKLE.mjs} +102 -90
- package/dist/collection-metadata-6ABVJXU6.mjs +80 -0
- package/dist/components.js +92 -49
- package/dist/components.mjs +32 -30
- package/dist/{customer-create-HXNUJYC3.mjs → customer-create-KO2DIHW3.mjs} +2 -2
- package/dist/{customer-create-address-YZSOXTBE.mjs → customer-create-address-TO5QIBCW.mjs} +2 -2
- package/dist/{customer-detail-S6I3CWCE.mjs → customer-detail-LOE3MY3G.mjs} +118 -128
- package/dist/{customer-edit-NA32ZDYO.mjs → customer-edit-4IUVNZB5.mjs} +2 -2
- package/dist/{customer-export-ZOOXVVVL.mjs → customer-export-OOZLASA3.mjs} +44 -40
- package/dist/{customer-group-add-customers-7RJU3BAW.mjs → customer-group-add-customers-J63FTIJD.mjs} +7 -7
- package/dist/{customer-group-create-7RD5GPTO.mjs → customer-group-create-YZT2RZRP.mjs} +2 -2
- package/dist/{customer-group-detail-ZSSPRHHC.mjs → customer-group-detail-HPJDH5RR.mjs} +149 -129
- package/dist/{customer-group-edit-IAZLW2PB.mjs → customer-group-edit-URDU5NCQ.mjs} +2 -2
- package/dist/{customer-group-list-BK6F3CTT.mjs → customer-group-list-B7ANKAY2.mjs} +87 -75
- package/dist/{customer-group-metadata-JG7ZD27S.mjs → customer-group-metadata-V34VBDYG.mjs} +4 -4
- package/dist/{customer-list-BZBOUZFX.mjs → customer-list-XDUW2EXI.mjs} +26 -23
- package/dist/{customer-metadata-ZHQTP3N5.mjs → customer-metadata-GTIGAGO7.mjs} +4 -4
- package/dist/{customers-add-customer-group-THV53ERU.mjs → customers-add-customer-group-YIO75DAW.mjs} +40 -36
- package/dist/{edit-inventory-item-5L57CJTV.mjs → edit-inventory-item-7M4EIFTF.mjs} +2 -2
- package/dist/{edit-inventory-item-attributes-5JXWNRV4.mjs → edit-inventory-item-attributes-5PEPCPOF.mjs} +2 -2
- package/dist/{edit-reservation-KONCVLKP.mjs → edit-reservation-U3M2NVWD.mjs} +4 -4
- package/dist/{edit-rules-BH7KJTZF.mjs → edit-rules-QVBP7RCW.mjs} +38 -34
- package/dist/home-NHWOTT5P.mjs +33 -0
- package/dist/hooks.d.mts +2061 -1
- package/dist/hooks.d.ts +2061 -1
- package/dist/hooks.js +621 -34
- package/dist/hooks.mjs +163 -22
- package/dist/index.d.mts +13 -1
- package/dist/index.d.ts +13 -1
- package/dist/{inventory-create-56MDQQFL.mjs → inventory-create-4GDMDNOA.mjs} +44 -40
- package/dist/{inventory-detail-L5ZNYRRV.mjs → inventory-detail-BYJSRM5D.mjs} +165 -115
- package/dist/{inventory-export-MSZVWYBJ.mjs → inventory-export-K4QKP2SO.mjs} +7 -7
- package/dist/{inventory-list-7UZE2JDK.mjs → inventory-list-MDZY6UUA.mjs} +160 -102
- package/dist/{inventory-metadata-S65AGNXF.mjs → inventory-metadata-JE7LZE4L.mjs} +38 -34
- package/dist/{inventory-stock-2YGH6TG3.mjs → inventory-stock-CAOKOKFY.mjs} +43 -39
- package/dist/{invite-AFXDCTLB.mjs → invite-BEMJK2UX.mjs} +2 -2
- package/dist/lib.d.mts +64 -1
- package/dist/lib.d.ts +64 -1
- package/dist/lib.js +109 -0
- package/dist/lib.mjs +24 -6
- package/dist/{location-create-EOMRE7PG.mjs → location-create-WSBKKZJL.mjs} +2 -2
- package/dist/{location-detail-UL3KVEOU.mjs → location-detail-BQ4XYRRE.mjs} +233 -181
- package/dist/{location-edit-ROKQI66K.mjs → location-edit-QSS7BCDC.mjs} +2 -2
- package/dist/{location-fulfillment-providers-T5PNDEPC.mjs → location-fulfillment-providers-V4BVPBVH.mjs} +47 -43
- package/dist/{location-list-TB43Y7SW.mjs → location-list-VG5UTLK3.mjs} +125 -93
- package/dist/{location-metadata-6DIHMUWB.mjs → location-metadata-2ZRY2WJV.mjs} +38 -34
- package/dist/{location-sales-channels-7QKBOEXO.mjs → location-sales-channels-QU5KOEKQ.mjs} +17 -17
- package/dist/{location-service-zone-create-2XS6P4VI.mjs → location-service-zone-create-OZNB62US.mjs} +8 -8
- package/dist/{location-service-zone-edit-SUII6NJ3.mjs → location-service-zone-edit-YZXRHN2W.mjs} +4 -4
- package/dist/{location-service-zone-manage-areas-EF6IA4ZN.mjs → location-service-zone-manage-areas-Y5GG6I5W.mjs} +8 -8
- package/dist/{location-service-zone-shipping-option-create-S3DQKF3T.mjs → location-service-zone-shipping-option-create-S2QIC5FY.mjs} +48 -44
- package/dist/{location-service-zone-shipping-option-edit-OTCQ7K6H.mjs → location-service-zone-shipping-option-edit-KNX6LVLL.mjs} +6 -6
- package/dist/{location-service-zone-shipping-option-pricing-5R7V7HB2.mjs → location-service-zone-shipping-option-pricing-U4VW7MVW.mjs} +18 -15
- package/dist/{login-67P3XXI4.mjs → login-4PAGDEWC.mjs} +41 -37
- package/dist/{manage-locations-XPMI67LA.mjs → manage-locations-GVXRZDL7.mjs} +3 -3
- package/dist/no-permissions-UP3BFBXQ.mjs +7 -0
- package/dist/{order-allocate-items-BMYZVRE3.mjs → order-allocate-items-HMGBY7I5.mjs} +8 -8
- package/dist/{order-create-claim-DJR5N7XI.mjs → order-create-claim-B4UQWQU5.mjs} +57 -50
- package/dist/{order-create-edit-7IEKAFA4.mjs → order-create-edit-75Z7SB47.mjs} +49 -45
- package/dist/{order-create-exchange-VKIBSXD3.mjs → order-create-exchange-YROMSPRA.mjs} +57 -50
- package/dist/{order-create-fulfillment-IXJ4SUKC.mjs → order-create-fulfillment-L2ZFYFT2.mjs} +42 -38
- package/dist/{order-create-refund-TCPM4MRN.mjs → order-create-refund-WJVAKHVQ.mjs} +44 -37
- package/dist/{order-create-return-UWFJEK5R.mjs → order-create-return-XDVZDBOY.mjs} +29 -23
- package/dist/{order-create-shipment-X7AZYNXE.mjs → order-create-shipment-3JH7HVZO.mjs} +36 -32
- package/dist/{order-detail-TLJPSVF5.mjs → order-detail-LCEVEUIR.mjs} +361 -199
- package/dist/{order-edit-billing-address-5IOXELWH.mjs → order-edit-billing-address-4OY7YPDQ.mjs} +36 -32
- package/dist/{order-edit-email-7JFAE4FY.mjs → order-edit-email-CPR6UQ5Z.mjs} +36 -32
- package/dist/{order-edit-shipping-address-DBJM5GVH.mjs → order-edit-shipping-address-A37AP234.mjs} +36 -32
- package/dist/{order-export-2KOR4FDC.mjs → order-export-HFIACWTO.mjs} +44 -40
- package/dist/{order-list-PHMXNYD4.mjs → order-list-AFZF7LDJ.mjs} +57 -54
- package/dist/order-metadata-FZU45MRS.mjs +80 -0
- package/dist/{order-receive-return-EZ6Q5YQG.mjs → order-receive-return-JYT2VEN4.mjs} +46 -39
- package/dist/{order-request-transfer-65KHRWZJ.mjs → order-request-transfer-AHPE5DS2.mjs} +39 -35
- package/dist/{policy-detail-ECLGGIUE.mjs → policy-detail-IV63MEO6.mjs} +28 -30
- package/dist/{policy-list-2AZZXSZI.mjs → policy-list-JRUHI3YN.mjs} +18 -15
- package/dist/{price-list-configuration-5X5FXGKO.mjs → price-list-configuration-L4DVL3L2.mjs} +9 -9
- package/dist/{price-list-create-LBU7IOZB.mjs → price-list-create-JLPFUX72.mjs} +52 -48
- package/dist/{price-list-detail-ZDOFUF5V.mjs → price-list-detail-TRZ5SW55.mjs} +151 -122
- package/dist/{price-list-edit-QAXJT4MH.mjs → price-list-edit-FWUMRSZE.mjs} +4 -4
- package/dist/{price-list-list-PK6JJUFZ.mjs → price-list-list-LRMQZOQY.mjs} +67 -54
- package/dist/{price-list-metadata-JXSETNYI.mjs → price-list-metadata-RDYMBRQP.mjs} +6 -6
- package/dist/{price-list-prices-add-FAQAWJ4O.mjs → price-list-prices-add-YUCQE2CY.mjs} +51 -47
- package/dist/{price-list-prices-edit-33GQFJI4.mjs → price-list-prices-edit-CCGBPH4Q.mjs} +19 -16
- package/dist/{product-attributes-CYO4263P.mjs → product-attributes-3IJGUWGO.mjs} +49 -45
- package/dist/{product-create-ZD6VKG7H.mjs → product-create-3NNLVW2Q.mjs} +73 -67
- package/dist/{product-create-variant-YHF2W3AJ.mjs → product-create-variant-H44FP4EE.mjs} +49 -45
- package/dist/{product-detail-SYEQLY6H.mjs → product-detail-33VXR7Q6.mjs} +296 -184
- package/dist/{product-edit-BKAPUH4T.mjs → product-edit-LWKBFVFK.mjs} +50 -46
- package/dist/{product-export-JBOOLYT2.mjs → product-export-4EPIPWU7.mjs} +50 -46
- package/dist/{product-image-variants-edit-OJKMK3I2.mjs → product-image-variants-edit-VQW6WXD6.mjs} +42 -38
- package/dist/{product-import-IYJAYMUX.mjs → product-import-2U7KNK6T.mjs} +36 -32
- package/dist/{product-list-22CKIVMD.mjs → product-list-OL64CKID.mjs} +72 -62
- package/dist/{product-media-4QYUSZEU.mjs → product-media-3ZXWLAFC.mjs} +14 -8
- package/dist/{product-metadata-LTVLKGVI.mjs → product-metadata-HR4PVECY.mjs} +38 -34
- package/dist/{product-option-create-LBPKRPC4.mjs → product-option-create-ZGFELXN3.mjs} +36 -32
- package/dist/{product-option-detail-4NTEKL7O.mjs → product-option-detail-55MLFXEZ.mjs} +103 -79
- package/dist/{product-option-edit-WERLFV6B.mjs → product-option-edit-UWBJHC4Q.mjs} +36 -32
- package/dist/{product-option-list-AVCLX5AN.mjs → product-option-list-DVOK7HWR.mjs} +91 -76
- package/dist/{product-option-metadata-MT7RGH65.mjs → product-option-metadata-WFBHKD2P.mjs} +38 -34
- package/dist/{product-option-value-detail-WB6WFDMM.mjs → product-option-value-detail-FXFPGQ6W.mjs} +47 -40
- package/dist/{product-option-value-metadata-I4EPPCQD.mjs → product-option-value-metadata-U6Y3XUUZ.mjs} +38 -34
- package/dist/{product-options-manage-ML5JNIGT.mjs → product-options-manage-YXTGVK7R.mjs} +53 -49
- package/dist/{product-organization-YOO2XB5Y.mjs → product-organization-7BMAMYB5.mjs} +82 -64
- package/dist/{product-prices-K5HCWBFW.mjs → product-prices-SEP4ALQT.mjs} +14 -11
- package/dist/{product-sales-channels-4M4C2JD6.mjs → product-sales-channels-7TBCJKZZ.mjs} +16 -16
- package/dist/{product-shipping-profile-J2IGU5FZ.mjs → product-shipping-profile-L6OESMSL.mjs} +6 -6
- package/dist/{product-stock-IWZFN4EP.mjs → product-stock-QNBQSXIP.mjs} +48 -44
- package/dist/{product-tag-create-QUK6JW5Y.mjs → product-tag-create-Q654EA5L.mjs} +36 -32
- package/dist/{product-tag-detail-CKNMK5RI.mjs → product-tag-detail-ADECGGCK.mjs} +112 -100
- package/dist/{product-tag-edit-LFNV6I7C.mjs → product-tag-edit-XIJQ4KZB.mjs} +36 -32
- package/dist/{product-tag-list-NSFKUT6X.mjs → product-tag-list-D67D2MGE.mjs} +106 -94
- package/dist/product-tag-metadata-CETAWFD7.mjs +80 -0
- package/dist/{product-type-create-QXYHK7FY.mjs → product-type-create-IXK4VVNT.mjs} +2 -2
- package/dist/{product-type-detail-3DNO6B6O.mjs → product-type-detail-WUMMDJ2C.mjs} +106 -94
- package/dist/{product-type-edit-KFR7NJAF.mjs → product-type-edit-3MJHXSEW.mjs} +2 -2
- package/dist/{product-type-list-NH5F3Y5K.mjs → product-type-list-6RL6BGIK.mjs} +67 -55
- package/dist/product-type-metadata-7T3EJJFI.mjs +80 -0
- package/dist/{product-variant-detail-XZYPR6TP.mjs → product-variant-detail-NEDAYLTV.mjs} +127 -80
- package/dist/{product-variant-edit-T4Z43I4T.mjs → product-variant-edit-WYSF4GBQ.mjs} +40 -36
- package/dist/{product-variant-manage-inventory-items-Q2EK52CD.mjs → product-variant-manage-inventory-items-ZCVU47JV.mjs} +8 -8
- package/dist/{product-variant-media-DMP6LGTF.mjs → product-variant-media-CTMMS6LH.mjs} +2 -2
- package/dist/{product-variant-metadata-CCRD3Q24.mjs → product-variant-metadata-V6DBI62A.mjs} +38 -34
- package/dist/{profile-detail-4UBOVR2H.mjs → profile-detail-RXLH5PDU.mjs} +46 -44
- package/dist/{profile-edit-GJ7R7RYI.mjs → profile-edit-GGL6RCGD.mjs} +7 -7
- package/dist/{promotion-add-campaign-UOQ7IO35.mjs → promotion-add-campaign-EDNANUAR.mjs} +11 -8
- package/dist/{promotion-create-VJ4U73MW.mjs → promotion-create-BKSMDKVU.mjs} +47 -43
- package/dist/{promotion-detail-YRHHPN63.mjs → promotion-detail-R7A7MTPI.mjs} +89 -82
- package/dist/{promotion-edit-details-IJX7XKMD.mjs → promotion-edit-details-IXYJMC5G.mjs} +6 -6
- package/dist/{promotion-list-KU5UYTBL.mjs → promotion-list-4BSBAUKT.mjs} +52 -39
- package/dist/{promotion-metadata-N7CPL7F4.mjs → promotion-metadata-HCCLZEWA.mjs} +4 -4
- package/dist/{property-labels-OOFHRE5X.mjs → property-labels-M7RW6RHP.mjs} +24 -21
- package/dist/{property-labels-edit-SOE6H5LA.mjs → property-labels-edit-EZ64IDLE.mjs} +5 -5
- package/dist/{refund-reason-create-OHFSUCN4.mjs → refund-reason-create-FJZNVODX.mjs} +36 -32
- package/dist/{refund-reason-edit-3HZX6POB.mjs → refund-reason-edit-AXGCTYGR.mjs} +36 -32
- package/dist/{refund-reason-list-7IK643XG.mjs → refund-reason-list-J3KORLZE.mjs} +89 -80
- package/dist/{region-add-countries-2SOMPXGS.mjs → region-add-countries-4KKOHLXX.mjs} +10 -7
- package/dist/{region-create-XUU7USQE.mjs → region-create-LTMEUC37.mjs} +17 -14
- package/dist/{region-detail-VXMCW3KX.mjs → region-detail-CSXOQG7A.mjs} +93 -75
- package/dist/{region-edit-D7LFIOC2.mjs → region-edit-SIZ53FAF.mjs} +13 -10
- package/dist/{region-list-XBRZF7EQ.mjs → region-list-Y44IXBPZ.mjs} +71 -42
- package/dist/region-metadata-TWT4PZYJ.mjs +81 -0
- package/dist/{reservation-create-OW2OBEX5.mjs → reservation-create-OKIBGV3W.mjs} +7 -7
- package/dist/{reservation-detail-ODEAZ6MO.mjs → reservation-detail-4JTTXEVS.mjs} +43 -38
- package/dist/{reservation-list-V6Z2CNWJ.mjs → reservation-list-QVKOJRTU.mjs} +57 -45
- package/dist/{reservation-metadata-HMFLECYZ.mjs → reservation-metadata-4DRYRZGU.mjs} +38 -34
- package/dist/{return-reason-create-33O7OLLG.mjs → return-reason-create-5V43SNAN.mjs} +2 -2
- package/dist/{return-reason-edit-3BOUI7A4.mjs → return-reason-edit-X75A5GUI.mjs} +2 -2
- package/dist/{return-reason-list-VIUBZF3M.mjs → return-reason-list-5XFM5HXH.mjs} +55 -46
- package/dist/{role-add-users-GLOEYG7B.mjs → role-add-users-73A3T7YW.mjs} +19 -15
- package/dist/{role-create-TWEIBNZR.mjs → role-create-FQQURBVK.mjs} +14 -12
- package/dist/{role-detail-5RFDIXIL.mjs → role-detail-NGSCD3T5.mjs} +78 -54
- package/dist/{role-edit-BVCBCNW3.mjs → role-edit-QNEZUPDO.mjs} +3 -2
- package/dist/{role-list-2OVORKMS.mjs → role-list-GOM5LEL5.mjs} +33 -43
- package/dist/{role-permissions-6LF5HPWG.mjs → role-permissions-SXS62VDA.mjs} +28 -25
- package/dist/{sales-channel-add-products-5LKZECUQ.mjs → sales-channel-add-products-VCIVQXLD.mjs} +44 -40
- package/dist/{sales-channel-create-RUIYNWQH.mjs → sales-channel-create-FMYQ2E74.mjs} +3 -3
- package/dist/{sales-channel-detail-MU23HVEB.mjs → sales-channel-detail-HCF2NPCI.mjs} +143 -121
- package/dist/{sales-channel-edit-VHKHLA2K.mjs → sales-channel-edit-PTUI4HQ7.mjs} +3 -3
- package/dist/{sales-channel-list-Q72A7O3U.mjs → sales-channel-list-CJNGO5DN.mjs} +85 -75
- package/dist/{sales-channel-metadata-UG34UYQ6.mjs → sales-channel-metadata-4TXUHKVJ.mjs} +38 -34
- package/dist/{search-index-list-2DMTAQH3.mjs → search-index-list-IHXZEJXQ.mjs} +9 -8
- package/dist/{settings-IJPCLY3S.mjs → settings-CCWE73GN.mjs} +2 -2
- package/dist/{shipping-option-type-create-5HGK47VB.mjs → shipping-option-type-create-A3NP54SR.mjs} +36 -32
- package/dist/{shipping-option-type-detail-AK4RCT75.mjs → shipping-option-type-detail-6OEXYY5V.mjs} +70 -66
- package/dist/{shipping-option-type-edit-4HVL37OO.mjs → shipping-option-type-edit-6YLFVHNX.mjs} +36 -32
- package/dist/{shipping-option-type-list-G2VNWW7N.mjs → shipping-option-type-list-TUJNPQZ5.mjs} +85 -76
- package/dist/{shipping-profile-create-2HUTSTHB.mjs → shipping-profile-create-QSGORRIZ.mjs} +2 -2
- package/dist/{shipping-profile-detail-LZ7ZDH6S.mjs → shipping-profile-detail-VDDAD64Q.mjs} +16 -11
- package/dist/{shipping-profile-metadata-MVLTDUIW.mjs → shipping-profile-metadata-BU5AC3SI.mjs} +38 -34
- package/dist/{shipping-profiles-list-JA5Z6PZV.mjs → shipping-profiles-list-47N2HJJS.mjs} +38 -29
- package/dist/{store-add-currencies-LMITVLXR.mjs → store-add-currencies-RDV436R7.mjs} +70 -42
- package/dist/{store-add-locales-GNIMXEHN.mjs → store-add-locales-4MSC7SVZ.mjs} +44 -40
- package/dist/{store-detail-Q7VNCU5K.mjs → store-detail-OKXBO5J5.mjs} +194 -158
- package/dist/{store-edit-V4CNVS72.mjs → store-edit-RHKO6QBU.mjs} +32 -15
- package/dist/store-metadata-O5ESRHOH.mjs +79 -0
- package/dist/{tax-region-create-E4WNQLPB.mjs → tax-region-create-QHQ6BQXM.mjs} +46 -38
- package/dist/{tax-region-detail-EUH4QYMU.mjs → tax-region-detail-WYH6P2PB.mjs} +88 -74
- package/dist/{tax-region-edit-FMTOP57P.mjs → tax-region-edit-IDSSCWV2.mjs} +39 -35
- package/dist/{tax-region-list-RA5MNI7X.mjs → tax-region-list-JMB37CKS.mjs} +18 -13
- package/dist/{tax-region-province-create-STTQXFAZ.mjs → tax-region-province-create-XZOU3VEG.mjs} +9 -4
- package/dist/{tax-region-province-detail-35TGTZ6K.mjs → tax-region-province-detail-JDQVRGUF.mjs} +85 -72
- package/dist/{tax-region-tax-override-create-ICYXFYMS.mjs → tax-region-tax-override-create-KSIIWIYU.mjs} +57 -53
- package/dist/{tax-region-tax-override-edit-NSTEX7YL.mjs → tax-region-tax-override-edit-QWM6VJA5.mjs} +58 -54
- package/dist/{tax-region-tax-rate-create-DKJNRGTY.mjs → tax-region-tax-rate-create-QDEYEDDR.mjs} +3 -3
- package/dist/{tax-region-tax-rate-edit-ZGLJXQCV.mjs → tax-region-tax-rate-edit-UVZDPZZH.mjs} +3 -3
- package/dist/{translation-list-WB24KPOG.mjs → translation-list-4GBEBWU2.mjs} +80 -51
- package/dist/{translations-edit-FCAHSVL2.mjs → translations-edit-6C5JRI3X.mjs} +75 -55
- package/dist/types-BjyZ5xsC.d.mts +138 -0
- package/dist/types-BjyZ5xsC.d.ts +138 -0
- package/dist/{user-detail-W2JPDGYE.mjs → user-detail-7MSUGB2K.mjs} +141 -45
- package/dist/{user-edit-B3H7TLMM.mjs → user-edit-NUBIAJ5L.mjs} +2 -2
- package/dist/{user-invite-CMDB2ZFQ.mjs → user-invite-TSVRT52I.mjs} +52 -46
- package/dist/{user-list-HCZ5X6EI.mjs → user-list-DNRLRBPE.mjs} +35 -23
- package/dist/user-metadata-Q6JM67KX.mjs +81 -0
- package/dist/{workflow-execution-detail-LC3UWP7A.mjs → workflow-execution-detail-KI7FV7ZJ.mjs} +42 -40
- package/dist/{workflow-execution-list-DAAPTLQI.mjs → workflow-execution-list-YAFEJKIJ.mjs} +10 -9
- package/package.json +10 -10
- package/src/components/authentication/protected-route/protected-route.tsx +25 -10
- package/src/components/authentication/route-permission-guard/index.ts +9 -1
- package/src/components/authentication/route-permission-guard/route-permission-guard.tsx +13 -11
- package/src/components/common/required-permissions-section/required-permissions-section.tsx +5 -2
- package/src/components/common/role-guard/index.ts +1 -0
- package/src/components/common/role-guard/role-guard.tsx +117 -0
- package/src/components/data-grid/components/data-grid-root.tsx +9 -4
- package/src/components/layout/main-layout/main-layout.tsx +140 -76
- package/src/components/layout/nav-item/__tests__/use-permitted-nav-items.spec.ts +56 -0
- package/src/components/layout/nav-item/index.ts +1 -0
- package/src/components/layout/nav-item/nav-item.tsx +9 -0
- package/src/components/layout/nav-item/use-permitted-nav-items.ts +30 -0
- package/src/components/layout/notifications/notifications.tsx +6 -0
- package/src/components/layout/pages/single-column-page/single-column-page.tsx +6 -0
- package/src/components/layout/pages/two-column-page/two-column-page.tsx +6 -2
- package/src/components/layout/pages/types.ts +1 -0
- package/src/components/layout/settings-layout/settings-layout.tsx +162 -63
- package/src/components/layout-composer/detail-page-defaults.tsx +7 -5
- package/src/components/search/use-search-results.tsx +34 -0
- package/src/components/utilities/error-boundary/error-boundary.tsx +21 -0
- package/src/dashboard-app/dashboard-app.tsx +11 -4
- package/src/dashboard-app/routes/get-route.map.tsx +793 -78
- package/src/dashboard-app/routes/wrap-route-loaders.ts +100 -0
- package/src/dashboard-app/types.ts +4 -0
- package/src/exports/hooks.ts +18 -0
- package/src/exports/lib.ts +23 -0
- package/src/hooks/api/feature-flags.tsx +19 -16
- package/src/hooks/api/index.ts +1 -0
- package/src/hooks/api/modules.tsx +29 -0
- package/src/hooks/api/notification.tsx +4 -0
- package/src/hooks/api/price-lists.tsx +8 -5
- package/src/hooks/api/price-preferences.tsx +4 -0
- package/src/hooks/api/rbac-policies.tsx +4 -1
- package/src/hooks/api/rbac-roles.tsx +40 -9
- package/src/hooks/api/users.tsx +51 -1
- package/src/hooks/table/columns/use-order-table-columns.tsx +31 -16
- package/src/hooks/table/columns/use-product-table-columns.tsx +41 -16
- package/src/hooks/table/columns/use-property-labels-table-columns.tsx +27 -16
- package/src/hooks/use-require-rbac-feature.tsx +9 -8
- package/src/hooks/use-resource-permissions.tsx +219 -2
- package/src/i18n/translations/$schema.json +34 -12
- package/src/i18n/translations/ar.json +0 -2
- package/src/i18n/translations/bg.json +0 -2
- package/src/i18n/translations/bs.json +0 -2
- package/src/i18n/translations/cs.json +0 -2
- package/src/i18n/translations/de.json +0 -2
- package/src/i18n/translations/el.json +0 -2
- package/src/i18n/translations/en.json +10 -2
- package/src/i18n/translations/enGB.json +0 -2
- package/src/i18n/translations/es.json +0 -2
- package/src/i18n/translations/fa.json +0 -2
- package/src/i18n/translations/fi.json +0 -2
- package/src/i18n/translations/fr.json +0 -2
- package/src/i18n/translations/he.json +0 -2
- package/src/i18n/translations/hr.json +0 -2
- package/src/i18n/translations/hu.json +0 -2
- package/src/i18n/translations/id.json +0 -2
- package/src/i18n/translations/it.json +0 -2
- package/src/i18n/translations/ja.json +0 -2
- package/src/i18n/translations/ko.json +0 -2
- package/src/i18n/translations/lt.json +0 -2
- package/src/i18n/translations/mk.json +0 -2
- package/src/i18n/translations/mn.json +0 -2
- package/src/i18n/translations/nl.json +0 -2
- package/src/i18n/translations/pl.json +0 -2
- package/src/i18n/translations/ptBR.json +0 -2
- package/src/i18n/translations/ptPT.json +0 -2
- package/src/i18n/translations/ro.json +0 -2
- package/src/i18n/translations/ru.json +0 -2
- package/src/i18n/translations/sv.json +0 -2
- package/src/i18n/translations/th.json +0 -2
- package/src/i18n/translations/tr.json +0 -2
- package/src/i18n/translations/uk.json +0 -2
- package/src/i18n/translations/vi.json +2 -4
- package/src/i18n/translations/zhCN.json +0 -2
- package/src/i18n/translations/zhTW.json +0 -2
- package/src/lib/data/currencies.ts +6 -0
- package/src/lib/permissions/constants.ts +34 -1
- package/src/lib/permissions/index.ts +17 -3
- package/src/lib/permissions/permission-error.ts +22 -0
- package/src/lib/permissions/types.ts +72 -41
- package/src/lib/permissions/utils.ts +56 -0
- package/src/lib/query-client.ts +9 -1
- package/src/providers/keybind-provider/hooks.tsx +7 -1
- package/src/providers/keybind-provider/types.ts +3 -0
- package/src/providers/permissions-provider/permissions-provider.tsx +78 -26
- package/src/routes/api-key-management/api-key-management-detail/api-key-management-detail.tsx +8 -6
- package/src/routes/api-key-management/api-key-management-detail/components/api-key-general-section/api-key-general-section.tsx +40 -28
- package/src/routes/api-key-management/api-key-management-detail/components/api-key-sales-channel-section/api-key-sales-channel-section.tsx +57 -35
- package/src/routes/api-key-management/api-key-management-list/components/api-key-management-list-table/api-key-management-list-table.tsx +9 -5
- package/src/routes/api-key-management/api-key-management-list/components/api-key-management-list-table/api-key-row-actions.tsx +63 -41
- package/src/routes/campaigns/campaign-detail/campaign-detail.tsx +8 -5
- package/src/routes/campaigns/campaign-detail/components/campaign-budget/campaign-budget.tsx +17 -13
- package/src/routes/campaigns/campaign-detail/components/campaign-configuration-section/campaign-configuration-section.tsx +17 -13
- package/src/routes/campaigns/campaign-detail/components/campaign-general-section/campaign-general-section.tsx +21 -9
- package/src/routes/campaigns/campaign-detail/components/campaign-promotion-section/campaign-promotion-section.tsx +126 -80
- package/src/routes/campaigns/campaign-detail/components/campaign-promotion-section/configurable-campaign-promotion-section.tsx +16 -2
- package/src/routes/campaigns/campaign-list/components/campaign-list-table-actions.tsx +33 -21
- package/src/routes/campaigns/campaign-list/components/campaign-list-table.tsx +9 -5
- package/src/routes/categories/category-detail/category-detail.tsx +13 -8
- package/src/routes/categories/category-detail/components/category-general-section/category-general-section.tsx +51 -36
- package/src/routes/categories/category-detail/components/category-product-section/category-product-section.tsx +75 -60
- package/src/routes/categories/category-list/components/category-list-table/category-list-table.tsx +58 -38
- package/src/routes/collections/collection-detail/collection-detail.tsx +11 -6
- package/src/routes/collections/collection-detail/components/collection-general-section/collection-general-section.tsx +53 -38
- package/src/routes/collections/collection-detail/components/collection-product-section/collection-product-row-actions.tsx +40 -21
- package/src/routes/collections/collection-detail/components/collection-product-section/collection-product-section.tsx +75 -52
- package/src/routes/collections/collection-list/components/collection-list-table/collection-list-table.tsx +9 -5
- package/src/routes/collections/collection-list/components/collection-list-table/collection-row-actions.tsx +52 -35
- package/src/routes/customer-groups/customer-group-detail/components/customer-group-customer-section/customer-group-customer-section.tsx +97 -65
- package/src/routes/customer-groups/customer-group-detail/components/customer-group-general-section/customer-group-general-section.tsx +33 -23
- package/src/routes/customer-groups/customer-group-detail/customer-group-detail.tsx +11 -8
- package/src/routes/customer-groups/customer-group-list/components/customer-group-list-table/customer-group-list-table-actions.tsx +37 -20
- package/src/routes/customer-groups/customer-group-list/components/customer-group-list-table/customer-group-list-table.tsx +10 -4
- package/src/routes/customers/customer-detail/components/customer-address-section/customer-address-section.tsx +10 -4
- package/src/routes/customers/customer-detail/components/customer-group-section/customer-group-section.tsx +29 -17
- package/src/routes/customers/customer-detail/components/customer-order-section/customer-order-section.tsx +12 -0
- package/src/routes/customers/customer-detail/customer-detail.tsx +18 -11
- package/src/routes/home/home.tsx +22 -3
- package/src/routes/inventory/inventory-detail/components/inventory-item-attributes/attributes-section.tsx +17 -13
- package/src/routes/inventory/inventory-detail/components/inventory-item-general-section.tsx +31 -17
- package/src/routes/inventory/inventory-detail/components/inventory-item-location-levels.tsx +8 -3
- package/src/routes/inventory/inventory-detail/components/inventory-item-reservations.tsx +9 -5
- package/src/routes/inventory/inventory-detail/components/location-levels-table/use-location-list-table-columns.tsx +39 -25
- package/src/routes/inventory/inventory-detail/components/reservations-table/reservation-actions.tsx +33 -21
- package/src/routes/inventory/inventory-detail/components/reservations-table/reservation-list-table.tsx +8 -3
- package/src/routes/inventory/inventory-detail/components/reservations-table/use-reservation-list-table-columns.tsx +19 -11
- package/src/routes/inventory/inventory-detail/inventory-detail.tsx +20 -7
- package/src/routes/inventory/inventory-list/components/inventory-actions.tsx +40 -22
- package/src/routes/inventory/inventory-list/components/inventory-list-table.tsx +47 -18
- package/src/routes/inventory/inventory-list/components/inventory-table-adapter.tsx +15 -3
- package/src/routes/inventory/inventory-list/components/use-inventory-table-columns.tsx +94 -66
- package/src/routes/locations/location-detail/components/location-fulfillment-providers-section/location-fulfillment-providers-section.tsx +25 -17
- package/src/routes/locations/location-detail/components/location-general-section/location-general-section.tsx +227 -134
- package/src/routes/locations/location-detail/components/location-sales-channels-section/locations-sales-channels-section.tsx +31 -17
- package/src/routes/locations/location-detail/location-detail.tsx +7 -2
- package/src/routes/locations/location-list/location-list-table-actions.tsx +32 -22
- package/src/routes/locations/location-list/location-list-table.tsx +12 -7
- package/src/routes/locations/location-list/location-list.tsx +29 -17
- package/src/routes/locations/location-list/use-location-list-table-columns.tsx +73 -55
- package/src/routes/login/components/email-pass-login.tsx +1 -1
- package/src/routes/login/login.tsx +1 -1
- package/src/routes/no-permissions/index.ts +1 -0
- package/src/routes/no-permissions/no-permissions.tsx +25 -0
- package/src/routes/orders/order-balance-settlement/components/order-balance-settlement-form/order-balance-settlement-form.tsx +13 -9
- package/src/routes/orders/order-create-claim/components/claim-create-form/claim-create-form.tsx +13 -9
- package/src/routes/orders/order-create-exchange/components/exchange-create-form/exchange-create-form.tsx +13 -9
- package/src/routes/orders/order-create-return/components/return-create-form/return-create-form.tsx +13 -9
- package/src/routes/orders/order-detail/components/active-order-claim-section/active-order-claim-section.tsx +30 -8
- package/src/routes/orders/order-detail/components/active-order-exchange-section/active-order-exchange-section.tsx +30 -12
- package/src/routes/orders/order-detail/components/active-order-return-section/active-order-return-section.tsx +30 -8
- package/src/routes/orders/order-detail/components/order-active-edit-section/order-active-edit-section.tsx +45 -26
- package/src/routes/orders/order-detail/components/order-activity-section/order-timeline.tsx +72 -30
- package/src/routes/orders/order-detail/components/order-customer-section/order-customer-section.tsx +64 -38
- package/src/routes/orders/order-detail/components/order-fulfillment-section/order-fulfillment-section.tsx +51 -32
- package/src/routes/orders/order-detail/components/order-general-section/order-general-section.tsx +18 -14
- package/src/routes/orders/order-detail/components/order-payment-section/order-payment-section.tsx +33 -18
- package/src/routes/orders/order-detail/components/order-summary-section/order-summary-section.tsx +210 -153
- package/src/routes/orders/order-detail/order-detail.tsx +25 -10
- package/src/routes/orders/order-receive-return/components/order-receive-return-form/order-receive-return-form.tsx +7 -3
- package/src/routes/policies/policy-create/components/create-policy-form/create-policy-form.tsx +10 -3
- package/src/routes/policies/policy-detail/components/policy-general-section/policy-general-section.tsx +3 -2
- package/src/routes/policies/policy-detail/components/policy-roles-section/policy-roles-section.tsx +4 -17
- package/src/routes/policies/policy-detail/policy-detail.tsx +1 -1
- package/src/routes/policies/policy-edit/components/edit-policy-form/edit-policy-form.tsx +28 -55
- package/src/routes/policies/policy-list/components/policy-list-table/policy-list-table.tsx +2 -2
- package/src/routes/price-lists/price-list-detail/components/price-list-configuration-section/price-list-configuration-section.tsx +21 -14
- package/src/routes/price-lists/price-list-detail/components/price-list-general-section/price-list-general-section.tsx +33 -13
- package/src/routes/price-lists/price-list-detail/components/price-list-product-section/price-list-product-section.tsx +90 -68
- package/src/routes/price-lists/price-list-detail/price-list-detail.tsx +8 -5
- package/src/routes/price-lists/price-list-list/components/price-list-list-table/price-list-list-table-actions.tsx +33 -21
- package/src/routes/price-lists/price-list-list/components/price-list-list-table/price-list-list-table.tsx +7 -3
- package/src/routes/price-lists/price-list-list/components/price-list-list-table/use-pricing-table-columns.tsx +13 -5
- package/src/routes/product-options/product-option-detail/components/product-option-general-section/product-option-general-section.tsx +34 -22
- package/src/routes/product-options/product-option-detail/components/product-option-values-section/product-option-value-row-actions.tsx +10 -0
- package/src/routes/product-options/product-option-detail/product-option-detail.tsx +22 -17
- package/src/routes/product-options/product-option-list/components/product-option-list-table/configurable-product-option-list-table.tsx +5 -1
- package/src/routes/product-options/product-option-list/components/product-option-list-table/product-option-list-table-actions.tsx +33 -19
- package/src/routes/product-options/product-option-list/components/product-option-list-table/product-option-list-table.tsx +12 -6
- package/src/routes/product-options/product-option-value-detail/components/product-option-value-general-section/product-option-value-general-section.tsx +21 -13
- package/src/routes/product-options/product-option-value-detail/product-option-value-detail.tsx +1 -3
- package/src/routes/product-tags/product-tag-detail/components/product-tag-general-section/product-tag-general-section.tsx +51 -36
- package/src/routes/product-tags/product-tag-detail/product-tag-detail.tsx +11 -8
- package/src/routes/product-tags/product-tag-list/components/product-tag-list-table/product-tag-list-table-actions.tsx +52 -34
- package/src/routes/product-tags/product-tag-list/components/product-tag-list-table/product-tag-list-table.tsx +7 -3
- package/src/routes/product-types/product-type-detail/components/product-type-general-section/product-type-general-section.tsx +51 -36
- package/src/routes/product-types/product-type-detail/product-type-detail.tsx +11 -8
- package/src/routes/product-types/product-type-list/components/product-type-list-table/product-table-row-actions.tsx +51 -34
- package/src/routes/product-types/product-type-list/components/product-type-list-table/product-type-list-table.tsx +7 -3
- package/src/routes/product-variants/product-variant-detail/components/variant-general-section/variant-general-section.tsx +45 -22
- package/src/routes/product-variants/product-variant-detail/components/variant-inventory-section/variant-inventory-section.tsx +42 -20
- package/src/routes/product-variants/product-variant-detail/components/variant-media-section/variant-media-section.tsx +21 -13
- package/src/routes/product-variants/product-variant-detail/components/variant-prices-section/variant-prices-section.tsx +24 -13
- package/src/routes/product-variants/product-variant-detail/product-variant-detail.tsx +21 -13
- package/src/routes/products/product-create/components/product-create-details-form/components/product-create-details-media-section/product-create-details-media-section.tsx +4 -1
- package/src/routes/products/product-detail/components/product-attribute-section/product-attribute-section.tsx +18 -13
- package/src/routes/products/product-detail/components/product-general-section/product-general-section.tsx +51 -36
- package/src/routes/products/product-detail/components/product-media-section/product-media-section.tsx +41 -32
- package/src/routes/products/product-detail/components/product-option-section/product-option-section.tsx +32 -15
- package/src/routes/products/product-detail/components/product-organization-section/product-organization-section.tsx +86 -63
- package/src/routes/products/product-detail/components/product-sales-channel-section/product-sales-channel-section.tsx +18 -13
- package/src/routes/products/product-detail/components/product-shipping-profile-section/product-shipping-profile-section.tsx +17 -13
- package/src/routes/products/product-detail/components/product-variant-section/product-variant-section.tsx +195 -93
- package/src/routes/products/product-detail/product-detail.tsx +25 -7
- package/src/routes/products/product-list/components/product-list-table/configurable-product-list-table.tsx +11 -5
- package/src/routes/products/product-list/components/product-list-table/product-list-table-actions.tsx +50 -34
- package/src/routes/products/product-list/components/product-list-table/product-list-table.tsx +14 -6
- package/src/routes/products/product-media/components/edit-product-media-form/edit-product-media-form.tsx +6 -3
- package/src/routes/products/product-organization/components/product-organization-form/product-organization-form.spec.tsx +16 -0
- package/src/routes/products/product-organization/components/product-organization-form/product-organization-form.tsx +125 -98
- package/src/routes/profile/profile-edit/components/edit-profile-form/edit-profile-form.tsx +2 -2
- package/src/routes/promotions/promotion-detail/components/campaign-section/campaign-section.tsx +27 -16
- package/src/routes/promotions/promotion-detail/components/promotion-conditions-section/promotion-conditions-section.tsx +25 -17
- package/src/routes/promotions/promotion-detail/components/promotion-general-section/promotion-general-section.tsx +21 -9
- package/src/routes/promotions/promotion-detail/promotion-detail.tsx +4 -1
- package/src/routes/promotions/promotion-list/components/promotion-list-table/promotion-list-table-actions.tsx +35 -19
- package/src/routes/promotions/promotion-list/components/promotion-list-table/promotion-list-table.tsx +7 -3
- package/src/routes/refund-reasons/refund-reason-list/components/refund-reason-list-table/refund-reason-list-table-actions.tsx +34 -22
- package/src/routes/refund-reasons/refund-reason-list/components/refund-reason-list-table/refund-reason-list-table.tsx +12 -6
- package/src/routes/regions/region-detail/components/region-country-section/region-country-section.tsx +79 -61
- package/src/routes/regions/region-detail/components/region-general-section/region-general-section.tsx +49 -34
- package/src/routes/regions/region-detail/region-detail.tsx +14 -4
- package/src/routes/regions/region-list/components/region-list-table/region-list-table-actions.tsx +33 -21
- package/src/routes/regions/region-list/components/region-list-table/region-list-table.tsx +9 -5
- package/src/routes/reservations/reservation-detail/components/reservation-general-section/reservation-general-section.tsx +17 -13
- package/src/routes/reservations/reservation-list/components/reservation-list-table/reservation-actions.tsx +33 -21
- package/src/routes/reservations/reservation-list/components/reservation-list-table/reservation-list-table.tsx +14 -3
- package/src/routes/return-reasons/return-reason-list/components/return-reason-list-table/return-reason-list-table-actions.tsx +34 -22
- package/src/routes/return-reasons/return-reason-list/components/return-reason-list-table/return-reason-list-table.tsx +12 -6
- package/src/routes/roles/role-add-users/components/add-users-form/add-users-form.tsx +4 -1
- package/src/routes/roles/role-detail/components/role-general-section/role-general-section.tsx +35 -25
- package/src/routes/roles/role-detail/components/role-users-section/role-users-section.tsx +14 -13
- package/src/routes/roles/role-detail/constants.ts +1 -1
- package/src/routes/roles/role-detail/role-detail.tsx +5 -2
- package/src/routes/roles/role-list/components/role-list-table/role-list-table.tsx +19 -46
- package/src/routes/roles/role-permissions/components/edit-role-permissions-form/edit-role-permissions-form.tsx +16 -11
- package/src/routes/roles/role-permissions/role-permissions.tsx +13 -13
- package/src/routes/sales-channels/sales-channel-detail/components/sales-channel-general-section/sales-channel-general-section.tsx +21 -9
- package/src/routes/sales-channels/sales-channel-detail/components/sales-channel-product-section/sales-channel-product-section.tsx +91 -65
- package/src/routes/sales-channels/sales-channel-detail/sales-channel-detail.tsx +5 -2
- package/src/routes/sales-channels/sales-channel-list/components/sales-channel-list-table-actions.tsx +41 -31
- package/src/routes/sales-channels/sales-channel-list/components/sales-channel-list-table.tsx +11 -5
- package/src/routes/shipping-option-types/shipping-option-type-detail/components/shipping-option-type-general-section/shipping-option-type-general-section.tsx +33 -23
- package/src/routes/shipping-option-types/shipping-option-type-detail/shipping-option-type-detail.tsx +1 -1
- package/src/routes/shipping-option-types/shipping-option-type-list/components/shipping-option-type-list-table/shipping-option-type-list-table.tsx +7 -3
- package/src/routes/shipping-option-types/shipping-option-type-list/components/shipping-option-type-list-table/shipping-option-type-table-row-actions.tsx +33 -21
- package/src/routes/shipping-profiles/shipping-profile-detail/components/shipping-profile-general-section/shipping-profile-general-section.tsx +17 -13
- package/src/routes/shipping-profiles/shipping-profile-detail/shipping-profile-detail.tsx +1 -1
- package/src/routes/shipping-profiles/shipping-profiles-list/components/shipping-profile-list-table/shipping-profile-list-table.tsx +9 -5
- package/src/routes/shipping-profiles/shipping-profiles-list/components/shipping-profile-list-table/use-shipping-profile-table-columns.tsx +13 -5
- package/src/routes/store/store-add-currencies/components/add-currencies-form/add-currencies-form.tsx +55 -36
- package/src/routes/store/store-add-currencies/store-add-currencies.tsx +14 -3
- package/src/routes/store/store-detail/components/store-currency-section/store-currency-section.tsx +109 -83
- package/src/routes/store/store-detail/components/store-general-section/store-general-section.tsx +102 -78
- package/src/routes/store/store-detail/components/store-locale-section/store-locale-section.tsx +79 -64
- package/src/routes/store/store-detail/store-detail.tsx +8 -3
- package/src/routes/store/store-edit/components/edit-store-form/edit-store-form.tsx +86 -66
- package/src/routes/tax-regions/common/components/tax-override-card/tax-override-card.tsx +38 -23
- package/src/routes/tax-regions/common/components/tax-override-table/tax-override-table.tsx +8 -6
- package/src/routes/tax-regions/common/components/tax-rate-line/tax-rate-line.tsx +38 -21
- package/src/routes/tax-regions/common/components/tax-region-card/tax-region-card.tsx +48 -32
- package/src/routes/tax-regions/common/components/tax-region-table/tax-region-table.tsx +8 -6
- package/src/routes/tax-regions/tax-region-create/components/tax-region-create-form/tax-region-create-form.tsx +83 -80
- package/src/routes/tax-regions/tax-region-detail/components/tax-region-detail-section/tax-region-detail-section.tsx +9 -4
- package/src/routes/tax-regions/tax-region-detail/components/tax-region-override-section/tax-region-override-section.tsx +15 -4
- package/src/routes/tax-regions/tax-region-detail/components/tax-region-province-section/tax-region-province-section.tsx +7 -1
- package/src/routes/tax-regions/tax-region-detail/tax-region-detail.tsx +5 -2
- package/src/routes/tax-regions/tax-region-list/components/tax-region-list-view/tax-region-list-view.tsx +10 -4
- package/src/routes/tax-regions/tax-region-province-create/components/tax-region-province-create-form/tax-region-province-create-form.tsx +82 -79
- package/src/routes/tax-regions/tax-region-province-detail/components/tax-region-province-detail-section/tax-region-detail-section.tsx +9 -5
- package/src/routes/tax-regions/tax-region-province-detail/components/tax-region-province-override-section/tax-region-province-override-section.tsx +15 -4
- package/src/routes/tax-regions/tax-region-province-detail/tax-region-detail.tsx +5 -2
- package/src/routes/translations/translation-list/components/active-locales-section/active-locales-section.tsx +11 -7
- package/src/routes/translations/translation-list/components/translation-list-section/translation-list-section.tsx +4 -1
- package/src/routes/translations/translation-list/translation-list.tsx +68 -38
- package/src/routes/translations/translations-edit/components/translations-edit-form/translations-edit-form.tsx +39 -16
- package/src/routes/users/user-detail/components/user-general-section/user-general-section.tsx +33 -22
- package/src/routes/users/user-detail/components/user-role-section/index.ts +1 -0
- package/src/routes/users/user-detail/components/user-role-section/user-role-section.tsx +81 -0
- package/src/routes/users/user-detail/user-detail.tsx +23 -2
- package/src/routes/users/user-invite/components/invite-user-form/invite-user-form.tsx +47 -34
- package/src/routes/users/user-list/components/user-list-table/user-list-table-actions.tsx +6 -0
- package/src/routes/users/user-list/components/user-list-table/user-list-table.tsx +13 -4
- package/src/routes/workflow-executions/workflow-execution-detail/workflow-detail.tsx +1 -1
- package/dist/chunk-CZWQLROE.mjs +0 -54
- package/dist/collection-metadata-X7OI6O26.mjs +0 -76
- package/dist/home-KFQGXKRT.mjs +0 -16
- package/dist/order-metadata-OO44TRLJ.mjs +0 -76
- package/dist/product-tag-metadata-W4W6JI4U.mjs +0 -76
- package/dist/product-type-metadata-JH5GPXJJ.mjs +0 -76
- package/dist/region-metadata-XW46KIXQ.mjs +0 -77
- package/dist/store-metadata-6T5O5FJX.mjs +0 -75
- package/dist/user-metadata-CQGK7V5W.mjs +0 -77
- package/dist/{chunk-URLFDGJN.mjs → chunk-CMCUXBOL.mjs} +6 -6
- package/dist/{chunk-FD7OPWTU.mjs → chunk-J4RQ7PW4.mjs} +3 -3
- package/dist/{reset-password-G3D24TLC.mjs → reset-password-2YLAKWBP.mjs} +1 -1
|
@@ -24,26 +24,26 @@ import "./chunk-IUCDCPJU.mjs";
|
|
|
24
24
|
import {
|
|
25
25
|
KeyboundForm
|
|
26
26
|
} from "./chunk-B3R53QK3.mjs";
|
|
27
|
-
import "./chunk-5SZFF255.mjs";
|
|
28
|
-
import "./chunk-OWGBW3B4.mjs";
|
|
29
|
-
import "./chunk-C76H5USB.mjs";
|
|
30
|
-
import "./chunk-2JYTX67H.mjs";
|
|
31
|
-
import "./chunk-OFF55HSG.mjs";
|
|
32
27
|
import "./chunk-45R2GACG.mjs";
|
|
33
28
|
import {
|
|
34
29
|
RouteFocusModal,
|
|
35
30
|
useRouteModal
|
|
36
31
|
} from "./chunk-ZANWPKR7.mjs";
|
|
37
32
|
import "./chunk-OBQI23QM.mjs";
|
|
33
|
+
import "./chunk-5SZFF255.mjs";
|
|
34
|
+
import "./chunk-OWGBW3B4.mjs";
|
|
38
35
|
import "./chunk-OC7BQLYI.mjs";
|
|
39
36
|
import "./chunk-S4DMV3ZT.mjs";
|
|
40
37
|
import {
|
|
41
38
|
useAddOrRemoveCampaignPromotions,
|
|
42
39
|
useCampaign,
|
|
43
40
|
usePromotions
|
|
44
|
-
} from "./chunk-
|
|
45
|
-
import "./chunk-
|
|
41
|
+
} from "./chunk-2EZMK7DO.mjs";
|
|
42
|
+
import "./chunk-C76H5USB.mjs";
|
|
43
|
+
import "./chunk-56JWEPQ5.mjs";
|
|
46
44
|
import "./chunk-NFEK63OE.mjs";
|
|
45
|
+
import "./chunk-2JYTX67H.mjs";
|
|
46
|
+
import "./chunk-OFF55HSG.mjs";
|
|
47
47
|
import "./chunk-QZ7TP4HQ.mjs";
|
|
48
48
|
|
|
49
49
|
// src/routes/campaigns/add-campaign-promotions/add-campaign-promotions.tsx
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AddLocalesForm
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZOZT3BKD.mjs";
|
|
4
4
|
import "./chunk-6PNOUH6F.mjs";
|
|
5
5
|
import "./chunk-DRHDNSJA.mjs";
|
|
6
6
|
import "./chunk-LQTHYS2Z.mjs";
|
|
@@ -11,56 +11,60 @@ import "./chunk-EMIHDNB7.mjs";
|
|
|
11
11
|
import "./chunk-P3UUX2T6.mjs";
|
|
12
12
|
import "./chunk-IUCDCPJU.mjs";
|
|
13
13
|
import "./chunk-B3R53QK3.mjs";
|
|
14
|
-
import "./chunk-OWGBW3B4.mjs";
|
|
15
|
-
import {
|
|
16
|
-
useFeatureFlag
|
|
17
|
-
} from "./chunk-PJU3RODH.mjs";
|
|
18
|
-
import "./chunk-C76H5USB.mjs";
|
|
19
|
-
import "./chunk-2JYTX67H.mjs";
|
|
20
|
-
import "./chunk-OFF55HSG.mjs";
|
|
21
14
|
import {
|
|
22
15
|
RouteFocusModal
|
|
23
16
|
} from "./chunk-ZANWPKR7.mjs";
|
|
24
17
|
import "./chunk-OBQI23QM.mjs";
|
|
25
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-3WQ5PJBT.mjs";
|
|
26
19
|
import "./chunk-CXRGHH7Y.mjs";
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-V4JVEFO5.mjs";
|
|
21
|
+
import "./chunk-MPNBXS4G.mjs";
|
|
22
|
+
import "./chunk-QGI2KRFU.mjs";
|
|
23
|
+
import "./chunk-VDCNRJUS.mjs";
|
|
24
|
+
import "./chunk-74SYOZ4T.mjs";
|
|
25
|
+
import "./chunk-G6CDPEIW.mjs";
|
|
26
|
+
import "./chunk-RDUHTVDJ.mjs";
|
|
27
|
+
import "./chunk-ZQ2ZD6MI.mjs";
|
|
28
|
+
import "./chunk-TFW4TVLL.mjs";
|
|
29
|
+
import "./chunk-MSIJIR7S.mjs";
|
|
30
|
+
import "./chunk-MLVYQMPS.mjs";
|
|
31
|
+
import "./chunk-KZFJ7R7M.mjs";
|
|
32
|
+
import "./chunk-H7MQ3FSC.mjs";
|
|
33
|
+
import "./chunk-6XOZLCQL.mjs";
|
|
34
|
+
import "./chunk-A4G5XQF5.mjs";
|
|
35
|
+
import "./chunk-CXKMJWIC.mjs";
|
|
36
|
+
import "./chunk-OWGBW3B4.mjs";
|
|
37
|
+
import "./chunk-5DX4SKDD.mjs";
|
|
38
|
+
import {
|
|
39
|
+
useFeatureFlag
|
|
40
|
+
} from "./chunk-JEO4MPEM.mjs";
|
|
43
41
|
import "./chunk-OC7BQLYI.mjs";
|
|
44
42
|
import "./chunk-S4DMV3ZT.mjs";
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-
|
|
50
|
-
import "./chunk-
|
|
51
|
-
import "./chunk-
|
|
52
|
-
import "./chunk-
|
|
53
|
-
import "./chunk-
|
|
54
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-F3PKEQH2.mjs";
|
|
44
|
+
import "./chunk-LVKBZSFN.mjs";
|
|
45
|
+
import "./chunk-UQC5JC6W.mjs";
|
|
46
|
+
import "./chunk-EYCPXU6G.mjs";
|
|
47
|
+
import "./chunk-2EZMK7DO.mjs";
|
|
48
|
+
import "./chunk-3M3MU37L.mjs";
|
|
49
|
+
import "./chunk-7BSV7MIX.mjs";
|
|
50
|
+
import "./chunk-IMI46Y3Q.mjs";
|
|
51
|
+
import "./chunk-SUCODEOW.mjs";
|
|
52
|
+
import "./chunk-64ZEW3UL.mjs";
|
|
55
53
|
import {
|
|
56
54
|
useStore
|
|
57
|
-
} from "./chunk-
|
|
58
|
-
import "./chunk-
|
|
59
|
-
import "./chunk-
|
|
60
|
-
import "./chunk-
|
|
55
|
+
} from "./chunk-DRHLHTYR.mjs";
|
|
56
|
+
import "./chunk-D4FRFL4I.mjs";
|
|
57
|
+
import "./chunk-UUVHVFSO.mjs";
|
|
58
|
+
import "./chunk-WTD4HMKW.mjs";
|
|
59
|
+
import "./chunk-FPQTWRMF.mjs";
|
|
61
60
|
import "./chunk-HGRIOEAR.mjs";
|
|
62
|
-
import "./chunk-
|
|
61
|
+
import "./chunk-C76H5USB.mjs";
|
|
62
|
+
import "./chunk-56JWEPQ5.mjs";
|
|
63
63
|
import "./chunk-NFEK63OE.mjs";
|
|
64
|
+
import "./chunk-2JYTX67H.mjs";
|
|
65
|
+
import "./chunk-OFF55HSG.mjs";
|
|
66
|
+
import "./chunk-GE3FTJXX.mjs";
|
|
67
|
+
import "./chunk-4IHNRS43.mjs";
|
|
64
68
|
import "./chunk-QZ7TP4HQ.mjs";
|
|
65
69
|
|
|
66
70
|
// src/routes/translations/add-locales/add-locales.tsx
|
|
@@ -8,9 +8,6 @@ import "./chunk-IUCDCPJU.mjs";
|
|
|
8
8
|
import {
|
|
9
9
|
KeyboundForm
|
|
10
10
|
} from "./chunk-B3R53QK3.mjs";
|
|
11
|
-
import {
|
|
12
|
-
castNumber
|
|
13
|
-
} from "./chunk-6GU6IDUA.mjs";
|
|
14
11
|
import {
|
|
15
12
|
RouteDrawer
|
|
16
13
|
} from "./chunk-45R2GACG.mjs";
|
|
@@ -20,15 +17,18 @@ import {
|
|
|
20
17
|
import {
|
|
21
18
|
Form
|
|
22
19
|
} from "./chunk-OBQI23QM.mjs";
|
|
20
|
+
import {
|
|
21
|
+
castNumber
|
|
22
|
+
} from "./chunk-6GU6IDUA.mjs";
|
|
23
23
|
import {
|
|
24
24
|
useStockLocation
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-SUCODEOW.mjs";
|
|
26
26
|
import {
|
|
27
27
|
useInventoryItem,
|
|
28
28
|
useUpdateInventoryLevel
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-FPQTWRMF.mjs";
|
|
30
30
|
import "./chunk-HGRIOEAR.mjs";
|
|
31
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-56JWEPQ5.mjs";
|
|
32
32
|
import "./chunk-NFEK63OE.mjs";
|
|
33
33
|
import "./chunk-QZ7TP4HQ.mjs";
|
|
34
34
|
|
package/dist/{api-key-management-create-T4IJ5XXU.mjs → api-key-management-create-2IQODPHH.mjs}
RENAMED
|
@@ -15,11 +15,11 @@ import {
|
|
|
15
15
|
} from "./chunk-OBQI23QM.mjs";
|
|
16
16
|
import {
|
|
17
17
|
useCreateApiKey
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-MPNBXS4G.mjs";
|
|
19
|
+
import "./chunk-WTD4HMKW.mjs";
|
|
20
|
+
import "./chunk-FPQTWRMF.mjs";
|
|
21
21
|
import "./chunk-HGRIOEAR.mjs";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-56JWEPQ5.mjs";
|
|
23
23
|
import "./chunk-NFEK63OE.mjs";
|
|
24
24
|
import "./chunk-QZ7TP4HQ.mjs";
|
|
25
25
|
|
package/dist/{api-key-management-detail-5KTYP3FS.mjs → api-key-management-detail-EIPWNVDC.mjs}
RENAMED
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
getApiKeyTypeProps,
|
|
4
4
|
prettifyRedactedToken
|
|
5
5
|
} from "./chunk-G22WWLPG.mjs";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-BGPV2PTI.mjs";
|
|
7
7
|
import {
|
|
8
8
|
UserLink
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-KKTKBA2X.mjs";
|
|
10
10
|
import "./chunk-3GLXEMCN.mjs";
|
|
11
11
|
import {
|
|
12
12
|
ConfigurableDataTable
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-HEKHP4X7.mjs";
|
|
14
14
|
import "./chunk-HGXZ5BJO.mjs";
|
|
15
15
|
import "./chunk-PRJK2BND.mjs";
|
|
16
16
|
import "./chunk-RIV7FKGN.mjs";
|
|
@@ -21,18 +21,19 @@ import "./chunk-R65S6ZZV.mjs";
|
|
|
21
21
|
import {
|
|
22
22
|
createTableAdapter
|
|
23
23
|
} from "./chunk-UZVGDY3G.mjs";
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-G7NQT3JP.mjs";
|
|
25
|
+
import "./chunk-6G2U66C4.mjs";
|
|
26
26
|
import "./chunk-JIH7UPZU.mjs";
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-NTEWUH4C.mjs";
|
|
27
|
+
import "./chunk-DM6OIJEP.mjs";
|
|
29
28
|
import "./chunk-IZTMRH75.mjs";
|
|
30
29
|
import "./chunk-CGX53VUJ.mjs";
|
|
31
30
|
import "./chunk-P5RN6AUG.mjs";
|
|
31
|
+
import "./chunk-NTEWUH4C.mjs";
|
|
32
32
|
import "./chunk-3VSHJ64Q.mjs";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-4XBU5SW4.mjs";
|
|
34
34
|
import "./chunk-P3UUX2T6.mjs";
|
|
35
35
|
import "./chunk-DG7J63J2.mjs";
|
|
36
|
+
import "./chunk-CKBLQMX4.mjs";
|
|
36
37
|
import {
|
|
37
38
|
useSalesChannelTableColumns,
|
|
38
39
|
useSalesChannelTableEmptyState,
|
|
@@ -41,84 +42,94 @@ import {
|
|
|
41
42
|
} from "./chunk-QEWLNT6S.mjs";
|
|
42
43
|
import "./chunk-VLY6BXSQ.mjs";
|
|
43
44
|
import "./chunk-IFQC5X3W.mjs";
|
|
45
|
+
import {
|
|
46
|
+
PermissionGuard
|
|
47
|
+
} from "./chunk-W5UTJK2D.mjs";
|
|
48
|
+
import "./chunk-3WQ5PJBT.mjs";
|
|
49
|
+
import "./chunk-CXRGHH7Y.mjs";
|
|
50
|
+
import "./chunk-V4JVEFO5.mjs";
|
|
51
|
+
import {
|
|
52
|
+
apiKeysQueryKeys,
|
|
53
|
+
useApiKey,
|
|
54
|
+
useBatchRemoveSalesChannelsFromApiKey,
|
|
55
|
+
useDeleteApiKey,
|
|
56
|
+
useRevokeApiKey
|
|
57
|
+
} from "./chunk-MPNBXS4G.mjs";
|
|
58
|
+
import "./chunk-QGI2KRFU.mjs";
|
|
59
|
+
import "./chunk-VDCNRJUS.mjs";
|
|
60
|
+
import "./chunk-74SYOZ4T.mjs";
|
|
61
|
+
import "./chunk-G6CDPEIW.mjs";
|
|
62
|
+
import "./chunk-RDUHTVDJ.mjs";
|
|
63
|
+
import "./chunk-ZQ2ZD6MI.mjs";
|
|
64
|
+
import "./chunk-TFW4TVLL.mjs";
|
|
65
|
+
import "./chunk-MSIJIR7S.mjs";
|
|
66
|
+
import "./chunk-MLVYQMPS.mjs";
|
|
67
|
+
import "./chunk-KZFJ7R7M.mjs";
|
|
68
|
+
import "./chunk-H7MQ3FSC.mjs";
|
|
69
|
+
import "./chunk-6XOZLCQL.mjs";
|
|
70
|
+
import "./chunk-A4G5XQF5.mjs";
|
|
71
|
+
import "./chunk-CXKMJWIC.mjs";
|
|
44
72
|
import {
|
|
45
73
|
DataTable
|
|
46
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-CFQ4T25J.mjs";
|
|
47
75
|
import {
|
|
48
76
|
LayoutComposer,
|
|
49
77
|
detailPageDefaultEntries
|
|
50
|
-
} from "./chunk-
|
|
51
|
-
import "./chunk-HFX2KPQD.mjs";
|
|
78
|
+
} from "./chunk-IAQO2TGC.mjs";
|
|
52
79
|
import "./chunk-5SZFF255.mjs";
|
|
53
80
|
import {
|
|
54
81
|
SingleColumnPageSkeleton,
|
|
55
82
|
Skeleton
|
|
56
83
|
} from "./chunk-OWGBW3B4.mjs";
|
|
84
|
+
import "./chunk-5DX4SKDD.mjs";
|
|
57
85
|
import {
|
|
58
86
|
useFeatureFlag
|
|
59
|
-
} from "./chunk-
|
|
60
|
-
import "./chunk-C76H5USB.mjs";
|
|
61
|
-
import "./chunk-RDBROTJE.mjs";
|
|
62
|
-
import "./chunk-CO3UZXXS.mjs";
|
|
63
|
-
import "./chunk-R55Q6UM4.mjs";
|
|
64
|
-
import {
|
|
65
|
-
useDate
|
|
66
|
-
} from "./chunk-2JYTX67H.mjs";
|
|
67
|
-
import "./chunk-OFF55HSG.mjs";
|
|
68
|
-
import "./chunk-WWCRED3P.mjs";
|
|
69
|
-
import "./chunk-CXRGHH7Y.mjs";
|
|
70
|
-
import "./chunk-HIX2NSSN.mjs";
|
|
71
|
-
import {
|
|
72
|
-
apiKeysQueryKeys,
|
|
73
|
-
useApiKey,
|
|
74
|
-
useBatchRemoveSalesChannelsFromApiKey,
|
|
75
|
-
useDeleteApiKey,
|
|
76
|
-
useRevokeApiKey
|
|
77
|
-
} from "./chunk-RW5LLFK2.mjs";
|
|
78
|
-
import "./chunk-2LVQXUFY.mjs";
|
|
79
|
-
import "./chunk-EYDZJ522.mjs";
|
|
80
|
-
import "./chunk-ISGDOD5J.mjs";
|
|
81
|
-
import "./chunk-U6M75BAC.mjs";
|
|
82
|
-
import "./chunk-QG545K2O.mjs";
|
|
83
|
-
import "./chunk-QIUJGXDT.mjs";
|
|
84
|
-
import "./chunk-ZB3WPQQA.mjs";
|
|
85
|
-
import "./chunk-PTP3K7TB.mjs";
|
|
86
|
-
import "./chunk-DEOCXBV2.mjs";
|
|
87
|
-
import "./chunk-2V5DOTI3.mjs";
|
|
88
|
-
import "./chunk-22ELTIVU.mjs";
|
|
89
|
-
import "./chunk-RH74EIOJ.mjs";
|
|
90
|
-
import "./chunk-2VYWSRWQ.mjs";
|
|
91
|
-
import "./chunk-D3TDNKSZ.mjs";
|
|
87
|
+
} from "./chunk-JEO4MPEM.mjs";
|
|
92
88
|
import {
|
|
93
89
|
ActionMenu
|
|
94
90
|
} from "./chunk-RHN6GIWK.mjs";
|
|
95
91
|
import "./chunk-OC7BQLYI.mjs";
|
|
96
92
|
import "./chunk-S4DMV3ZT.mjs";
|
|
97
|
-
import "./chunk-
|
|
98
|
-
import "./chunk-
|
|
93
|
+
import "./chunk-F3PKEQH2.mjs";
|
|
94
|
+
import "./chunk-LVKBZSFN.mjs";
|
|
99
95
|
import {
|
|
100
96
|
useUser
|
|
101
|
-
} from "./chunk-
|
|
102
|
-
import "./chunk-
|
|
103
|
-
import "./chunk-
|
|
104
|
-
import "./chunk-
|
|
105
|
-
import "./chunk-
|
|
106
|
-
import "./chunk-
|
|
107
|
-
import "./chunk-
|
|
108
|
-
import "./chunk-
|
|
109
|
-
import "./chunk-
|
|
110
|
-
import "./chunk-
|
|
97
|
+
} from "./chunk-UQC5JC6W.mjs";
|
|
98
|
+
import "./chunk-EYCPXU6G.mjs";
|
|
99
|
+
import "./chunk-2EZMK7DO.mjs";
|
|
100
|
+
import "./chunk-3M3MU37L.mjs";
|
|
101
|
+
import "./chunk-7BSV7MIX.mjs";
|
|
102
|
+
import "./chunk-IMI46Y3Q.mjs";
|
|
103
|
+
import "./chunk-SUCODEOW.mjs";
|
|
104
|
+
import "./chunk-64ZEW3UL.mjs";
|
|
105
|
+
import "./chunk-DRHLHTYR.mjs";
|
|
106
|
+
import "./chunk-D4FRFL4I.mjs";
|
|
107
|
+
import {
|
|
108
|
+
useApiKeyPermissions,
|
|
109
|
+
useSalesChannelPermissions,
|
|
110
|
+
useUserPermissions
|
|
111
|
+
} from "./chunk-UUVHVFSO.mjs";
|
|
111
112
|
import {
|
|
112
113
|
useSalesChannels
|
|
113
|
-
} from "./chunk-
|
|
114
|
-
import "./chunk-
|
|
114
|
+
} from "./chunk-WTD4HMKW.mjs";
|
|
115
|
+
import "./chunk-FPQTWRMF.mjs";
|
|
115
116
|
import "./chunk-HGRIOEAR.mjs";
|
|
117
|
+
import "./chunk-C76H5USB.mjs";
|
|
116
118
|
import {
|
|
117
119
|
queryClient
|
|
118
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-56JWEPQ5.mjs";
|
|
119
121
|
import {
|
|
120
122
|
sdk
|
|
121
123
|
} from "./chunk-NFEK63OE.mjs";
|
|
124
|
+
import "./chunk-IHFF3PX6.mjs";
|
|
125
|
+
import "./chunk-CO3UZXXS.mjs";
|
|
126
|
+
import "./chunk-R55Q6UM4.mjs";
|
|
127
|
+
import {
|
|
128
|
+
useDate
|
|
129
|
+
} from "./chunk-2JYTX67H.mjs";
|
|
130
|
+
import "./chunk-OFF55HSG.mjs";
|
|
131
|
+
import "./chunk-GE3FTJXX.mjs";
|
|
132
|
+
import "./chunk-4IHNRS43.mjs";
|
|
122
133
|
import "./chunk-QZ7TP4HQ.mjs";
|
|
123
134
|
|
|
124
135
|
// src/routes/api-key-management/api-key-management-detail/api-key-management-detail.tsx
|
|
@@ -145,6 +156,7 @@ var ApiKeyGeneralSection = ({ apiKey }) => {
|
|
|
145
156
|
const navigate = useNavigate();
|
|
146
157
|
const prompt = usePrompt();
|
|
147
158
|
const { getFullDate } = useDate();
|
|
159
|
+
const { canUpdate, canDelete } = useApiKeyPermissions();
|
|
148
160
|
const { mutateAsync: revokeAsync } = useRevokeApiKey(apiKey.id);
|
|
149
161
|
const { mutateAsync: deleteAsync } = useDeleteApiKey(apiKey.id);
|
|
150
162
|
const handleDelete = async () => {
|
|
@@ -198,22 +210,38 @@ var ApiKeyGeneralSection = ({ apiKey }) => {
|
|
|
198
210
|
}
|
|
199
211
|
});
|
|
200
212
|
};
|
|
201
|
-
const dangerousActions = [
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
label: t("actions.delete"),
|
|
205
|
-
onClick: handleDelete,
|
|
206
|
-
disabled: !apiKey.revoked_at
|
|
207
|
-
}
|
|
208
|
-
];
|
|
209
|
-
if (!apiKey.revoked_at) {
|
|
210
|
-
dangerousActions.unshift({
|
|
213
|
+
const dangerousActions = [];
|
|
214
|
+
if (!apiKey.revoked_at && canUpdate) {
|
|
215
|
+
dangerousActions.push({
|
|
211
216
|
icon: /* @__PURE__ */ jsx(XCircle, {}),
|
|
212
217
|
label: t("apiKeyManagement.actions.revoke"),
|
|
213
218
|
onClick: handleRevoke,
|
|
214
219
|
disabled: !!apiKey.revoked_at
|
|
215
220
|
});
|
|
216
221
|
}
|
|
222
|
+
if (canDelete) {
|
|
223
|
+
dangerousActions.push({
|
|
224
|
+
icon: /* @__PURE__ */ jsx(Trash, {}),
|
|
225
|
+
label: t("actions.delete"),
|
|
226
|
+
onClick: handleDelete,
|
|
227
|
+
disabled: !apiKey.revoked_at
|
|
228
|
+
});
|
|
229
|
+
}
|
|
230
|
+
const menuGroups = [];
|
|
231
|
+
if (canUpdate) {
|
|
232
|
+
menuGroups.push({
|
|
233
|
+
actions: [
|
|
234
|
+
{
|
|
235
|
+
label: t("actions.edit"),
|
|
236
|
+
icon: /* @__PURE__ */ jsx(PencilSquare, {}),
|
|
237
|
+
to: "edit"
|
|
238
|
+
}
|
|
239
|
+
]
|
|
240
|
+
});
|
|
241
|
+
}
|
|
242
|
+
if (dangerousActions.length) {
|
|
243
|
+
menuGroups.push({ actions: dangerousActions });
|
|
244
|
+
}
|
|
217
245
|
const apiKeyStatus = getApiKeyStatusProps(apiKey.revoked_at, t);
|
|
218
246
|
const apiKeyType = getApiKeyTypeProps(apiKey.type, t);
|
|
219
247
|
return /* @__PURE__ */ jsxs(Container, { className: "divide-y p-0", children: [
|
|
@@ -221,25 +249,7 @@ var ApiKeyGeneralSection = ({ apiKey }) => {
|
|
|
221
249
|
/* @__PURE__ */ jsx(Heading, { children: apiKey.title }),
|
|
222
250
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-x-4", children: [
|
|
223
251
|
/* @__PURE__ */ jsx("div", { className: "flex items-center gap-x-2", children: /* @__PURE__ */ jsx(StatusBadge, { color: apiKeyStatus.color, children: apiKeyStatus.label }) }),
|
|
224
|
-
/* @__PURE__ */ jsx(
|
|
225
|
-
ActionMenu,
|
|
226
|
-
{
|
|
227
|
-
groups: [
|
|
228
|
-
{
|
|
229
|
-
actions: [
|
|
230
|
-
{
|
|
231
|
-
label: t("actions.edit"),
|
|
232
|
-
icon: /* @__PURE__ */ jsx(PencilSquare, {}),
|
|
233
|
-
to: "edit"
|
|
234
|
-
}
|
|
235
|
-
]
|
|
236
|
-
},
|
|
237
|
-
{
|
|
238
|
-
actions: dangerousActions
|
|
239
|
-
}
|
|
240
|
-
]
|
|
241
|
-
}
|
|
242
|
-
)
|
|
252
|
+
menuGroups.length > 0 && /* @__PURE__ */ jsx(ActionMenu, { groups: menuGroups })
|
|
243
253
|
] })
|
|
244
254
|
] }),
|
|
245
255
|
/* @__PURE__ */ jsxs("div", { className: "grid grid-cols-2 items-center px-6 py-4 text-ui-fg-subtle", children: [
|
|
@@ -271,10 +281,11 @@ var ApiKeyGeneralSection = ({ apiKey }) => {
|
|
|
271
281
|
] });
|
|
272
282
|
};
|
|
273
283
|
var ActionBy = ({ userId }) => {
|
|
284
|
+
const { canRead: canReadUsers } = useUserPermissions();
|
|
274
285
|
const { user, isLoading, isError, error } = useUser(userId, void 0, {
|
|
275
|
-
enabled: !!userId
|
|
286
|
+
enabled: !!userId && canReadUsers
|
|
276
287
|
});
|
|
277
|
-
if (!userId) {
|
|
288
|
+
if (!userId || !canReadUsers) {
|
|
278
289
|
return /* @__PURE__ */ jsx(Text, { size: "small", className: "text-ui-fg-subtle", children: "-" });
|
|
279
290
|
}
|
|
280
291
|
if (isError) {
|
|
@@ -313,6 +324,9 @@ var ApiKeySalesChannelSection = ({
|
|
|
313
324
|
}) => {
|
|
314
325
|
const [rowSelection, setRowSelection] = useState({});
|
|
315
326
|
const { t } = useTranslation2();
|
|
327
|
+
const { canUpdate: canUpdateApiKey } = useApiKeyPermissions();
|
|
328
|
+
const { canUpdate: canUpdateSalesChannels } = useSalesChannelPermissions();
|
|
329
|
+
const canUpdate = canUpdateApiKey && canUpdateSalesChannels;
|
|
316
330
|
const searchParams = useSalesChannelTableQuery({
|
|
317
331
|
pageSize: PAGE_SIZE,
|
|
318
332
|
prefix: PREFIX
|
|
@@ -323,9 +337,9 @@ var ApiKeySalesChannelSection = ({
|
|
|
323
337
|
placeholderData: keepPreviousData
|
|
324
338
|
}
|
|
325
339
|
);
|
|
326
|
-
const columns = useColumns(apiKey.id);
|
|
340
|
+
const columns = useColumns(apiKey.id, canUpdate);
|
|
327
341
|
const filters = useSalesChannelTableFilters();
|
|
328
|
-
const commands = useCommands(apiKey.id, setRowSelection);
|
|
342
|
+
const commands = useCommands(apiKey.id, setRowSelection, canUpdate);
|
|
329
343
|
const emptyState = useSalesChannelTableEmptyState();
|
|
330
344
|
return /* @__PURE__ */ jsx2(Container2, { className: "divide-y p-0", children: /* @__PURE__ */ jsx2(
|
|
331
345
|
DataTable,
|
|
@@ -345,17 +359,17 @@ var ApiKeySalesChannelSection = ({
|
|
|
345
359
|
onRowSelectionChange: setRowSelection
|
|
346
360
|
},
|
|
347
361
|
rowHref: (row) => `/settings/sales-channels/${row.id}`,
|
|
348
|
-
action: {
|
|
362
|
+
action: canUpdate ? {
|
|
349
363
|
label: t("actions.add"),
|
|
350
364
|
to: "sales-channels"
|
|
351
|
-
},
|
|
365
|
+
} : void 0,
|
|
352
366
|
prefix: PREFIX,
|
|
353
367
|
pageSize: PAGE_SIZE
|
|
354
368
|
}
|
|
355
369
|
) });
|
|
356
370
|
};
|
|
357
371
|
var columnHelper = createDataTableColumnHelper();
|
|
358
|
-
var useColumns = (id) => {
|
|
372
|
+
var useColumns = (id, canUpdate) => {
|
|
359
373
|
const { t } = useTranslation2();
|
|
360
374
|
const navigate = useNavigate2();
|
|
361
375
|
const prompt = usePrompt2();
|
|
@@ -391,34 +405,38 @@ var useColumns = (id) => {
|
|
|
391
405
|
);
|
|
392
406
|
return useMemo(
|
|
393
407
|
() => [
|
|
394
|
-
columnHelper.select(),
|
|
408
|
+
...canUpdate ? [columnHelper.select()] : [],
|
|
395
409
|
...base,
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
[
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
410
|
+
...canUpdate ? [
|
|
411
|
+
columnHelper.action({
|
|
412
|
+
actions: (ctx) => [
|
|
413
|
+
[
|
|
414
|
+
{
|
|
415
|
+
label: t("actions.edit"),
|
|
416
|
+
icon: /* @__PURE__ */ jsx2(PencilSquare2, {}),
|
|
417
|
+
onClick: () => {
|
|
418
|
+
navigate(
|
|
419
|
+
`/settings/sales-channels/${ctx.row.original.id}/edit`
|
|
420
|
+
);
|
|
421
|
+
}
|
|
404
422
|
}
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
423
|
+
],
|
|
424
|
+
[
|
|
425
|
+
{
|
|
426
|
+
icon: /* @__PURE__ */ jsx2(Trash2, {}),
|
|
427
|
+
label: t("actions.delete"),
|
|
428
|
+
onClick: () => handleDelete(ctx.row.original)
|
|
429
|
+
}
|
|
430
|
+
]
|
|
413
431
|
]
|
|
414
|
-
|
|
415
|
-
|
|
432
|
+
})
|
|
433
|
+
] : []
|
|
416
434
|
],
|
|
417
|
-
[base, handleDelete, navigate, t]
|
|
435
|
+
[base, handleDelete, navigate, t, canUpdate]
|
|
418
436
|
);
|
|
419
437
|
};
|
|
420
438
|
var commandHelper = createDataTableCommandHelper();
|
|
421
|
-
var useCommands = (id, setRowSelection) => {
|
|
439
|
+
var useCommands = (id, setRowSelection, canUpdate) => {
|
|
422
440
|
const { t } = useTranslation2();
|
|
423
441
|
const prompt = usePrompt2();
|
|
424
442
|
const { mutateAsync } = useBatchRemoveSalesChannelsFromApiKey(id);
|
|
@@ -452,16 +470,18 @@ var useCommands = (id, setRowSelection) => {
|
|
|
452
470
|
},
|
|
453
471
|
[mutateAsync, prompt, t, setRowSelection]
|
|
454
472
|
);
|
|
455
|
-
return useMemo(
|
|
456
|
-
()
|
|
473
|
+
return useMemo(() => {
|
|
474
|
+
if (!canUpdate) {
|
|
475
|
+
return [];
|
|
476
|
+
}
|
|
477
|
+
return [
|
|
457
478
|
commandHelper.command({
|
|
458
479
|
action: handleRemove,
|
|
459
480
|
label: t("actions.remove"),
|
|
460
481
|
shortcut: "r"
|
|
461
482
|
})
|
|
462
|
-
]
|
|
463
|
-
|
|
464
|
-
);
|
|
483
|
+
];
|
|
484
|
+
}, [handleRemove, t, canUpdate]);
|
|
465
485
|
};
|
|
466
486
|
|
|
467
487
|
// src/routes/api-key-management/api-key-management-detail/components/api-key-sales-channel-section/configurable-api-key-sales-channel-section.tsx
|
|
@@ -656,10 +676,9 @@ var ApiKeyManagementDetail = () => {
|
|
|
656
676
|
sections: {
|
|
657
677
|
main: /* @__PURE__ */ jsxs2(Fragment2, { children: [
|
|
658
678
|
/* @__PURE__ */ jsx4(LayoutComposer.Entry, { id: "ApiKeyGeneralSection", children: /* @__PURE__ */ jsx4(ApiKeyGeneralSection, { apiKey: api_key }) }),
|
|
659
|
-
isPublishable && /* @__PURE__ */ jsx4(LayoutComposer.Entry, { id: "ApiKeySalesChannelSection", children: isViewConfigEnabled ? /* @__PURE__ */ jsx4(ConfigurableApiKeySalesChannelSection, { apiKey: api_key }) : /* @__PURE__ */ jsx4(ApiKeySalesChannelSection, { apiKey: api_key }) }),
|
|
679
|
+
isPublishable && /* @__PURE__ */ jsx4(LayoutComposer.Entry, { id: "ApiKeySalesChannelSection", children: /* @__PURE__ */ jsx4(PermissionGuard, { permission: "sales_channel:read", children: isViewConfigEnabled ? /* @__PURE__ */ jsx4(ConfigurableApiKeySalesChannelSection, { apiKey: api_key }) : /* @__PURE__ */ jsx4(ApiKeySalesChannelSection, { apiKey: api_key }) }) }),
|
|
660
680
|
detailPageDefaultEntries(api_key, {
|
|
661
|
-
metadata: false
|
|
662
|
-
permissions: false
|
|
681
|
+
metadata: false
|
|
663
682
|
})
|
|
664
683
|
] })
|
|
665
684
|
}
|
|
@@ -17,11 +17,11 @@ import {
|
|
|
17
17
|
import {
|
|
18
18
|
useApiKey,
|
|
19
19
|
useUpdateApiKey
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-MPNBXS4G.mjs";
|
|
21
|
+
import "./chunk-WTD4HMKW.mjs";
|
|
22
|
+
import "./chunk-FPQTWRMF.mjs";
|
|
23
23
|
import "./chunk-HGRIOEAR.mjs";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-56JWEPQ5.mjs";
|
|
25
25
|
import "./chunk-NFEK63OE.mjs";
|
|
26
26
|
import "./chunk-QZ7TP4HQ.mjs";
|
|
27
27
|
|