@medusajs/dashboard 2.12.2-snapshot-20251207121122 → 2.12.2-snapshot-20251207203158
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-JQKPED4U.mjs → add-campaign-promotions-I7HDYMBX.mjs} +1 -2
- package/dist/{adjust-inventory-4UKAL3IT.mjs → adjust-inventory-SDWITRN3.mjs} +3 -5
- package/dist/{api-key-management-create-6EQCRHTT.mjs → api-key-management-create-FHLY4DD4.mjs} +4 -5
- package/dist/{api-key-management-detail-ILTYVBJ5.mjs → api-key-management-detail-JQBB7UNB.mjs} +11 -11
- package/dist/{api-key-management-edit-6HBLLOLH.mjs → api-key-management-edit-5RQXMVDW.mjs} +5 -7
- package/dist/{api-key-management-list-FTLC3ELT.mjs → api-key-management-list-RGLZMUCB.mjs} +3 -3
- package/dist/{api-key-management-sales-channels-YLYYJAKB.mjs → api-key-management-sales-channels-327HJKDQ.mjs} +6 -7
- package/dist/app.css +3 -0
- package/dist/app.js +4708 -5301
- package/dist/app.mjs +11 -11
- package/dist/{campaign-budget-edit-6DMZGUCI.mjs → campaign-budget-edit-H2KQKD7B.mjs} +2 -4
- package/dist/{campaign-configuration-UNFRB5HR.mjs → campaign-configuration-A452A22M.mjs} +2 -4
- package/dist/{campaign-create-QXG7PD3S.mjs → campaign-create-LHL7FKQK.mjs} +2 -3
- package/dist/{campaign-detail-NIMMITXO.mjs → campaign-detail-DLPAADFC.mjs} +9 -9
- package/dist/{campaign-edit-HN4US7DV.mjs → campaign-edit-LZV56AYF.mjs} +2 -4
- package/dist/{categories-metadata-ZKNXQM37.mjs → categories-metadata-IN4T3BQY.mjs} +11 -12
- package/dist/{category-create-HRJJCBMA.mjs → category-create-U277OGU4.mjs} +3 -4
- package/dist/{category-detail-LVP6O7I6.mjs → category-detail-MJYZEZJX.mjs} +12 -12
- package/dist/{category-edit-2UTQ7QJD.mjs → category-edit-I2LT3SZW.mjs} +4 -6
- package/dist/{category-list-IJ3DLPYQ.mjs → category-list-AH2EGTI7.mjs} +3 -3
- package/dist/{category-organize-OE7VJVVT.mjs → category-organize-PNR7ZHPM.mjs} +3 -4
- package/dist/{category-products-MO5PV7AG.mjs → category-products-UH7BGTSC.mjs} +12 -13
- package/dist/{chunk-AF7A24XI.mjs → chunk-34KFHPN6.mjs} +1 -1
- package/dist/{chunk-4V2V73YZ.mjs → chunk-3HRJ5XSF.mjs} +3 -5
- package/dist/{chunk-WPNZNLRN.mjs → chunk-4GPZRJUJ.mjs} +15 -16
- package/dist/{chunk-MWBKAP7W.mjs → chunk-4VNR7DND.mjs} +2 -2
- package/dist/{chunk-GV4XPCM5.mjs → chunk-6BP5RSIK.mjs} +4 -18
- package/dist/{chunk-D4J3CEWH.mjs → chunk-6VRDTPH2.mjs} +2 -4
- package/dist/{chunk-X527GAL2.mjs → chunk-73EHKWNI.mjs} +2 -2
- package/dist/{chunk-56TDUOXV.mjs → chunk-7AX6R6G6.mjs} +1 -1
- package/dist/{chunk-EMOSYFKR.mjs → chunk-7HL4FXK7.mjs} +204 -206
- package/dist/{chunk-L4NOVTH5.mjs → chunk-7V2JZU2B.mjs} +2 -4
- package/dist/{chunk-CZFLKMYE.mjs → chunk-ACJ3PPQJ.mjs} +1 -1
- package/dist/{chunk-42OOM4DJ.mjs → chunk-AERWK3TJ.mjs} +212 -44
- package/dist/{chunk-ETOJCN3Q.mjs → chunk-AH4DORIW.mjs} +1 -1
- package/dist/{chunk-ZUPF2AWJ.mjs → chunk-CPF5RDPF.mjs} +1 -1
- package/dist/{chunk-REUYEF7L.mjs → chunk-EQBVGH3N.mjs} +1 -1
- package/dist/{chunk-WPXYFJEP.mjs → chunk-EUF6RSI7.mjs} +1 -1
- package/dist/{chunk-QHRVYT5N.mjs → chunk-FIFVOKTK.mjs} +3 -3
- package/dist/{chunk-A6PWH2CK.mjs → chunk-FQDPOKEK.mjs} +1 -1
- package/dist/{chunk-DKIUGYWW.mjs → chunk-GN6OCHP4.mjs} +2 -2
- package/dist/{chunk-ND5YSIPU.mjs → chunk-HMY4BGRC.mjs} +1 -1
- package/dist/{chunk-KWP436SM.mjs → chunk-JJGE3EV6.mjs} +2 -2
- package/dist/{chunk-AENRV3N7.mjs → chunk-LEJUZW3P.mjs} +3 -1
- package/dist/{chunk-G4BWCU5P.mjs → chunk-M32MJOJN.mjs} +3 -6
- package/dist/{chunk-K5QWNI6V.mjs → chunk-N3FCYZV6.mjs} +1 -1
- package/dist/{chunk-KLNRCI3K.mjs → chunk-N4O5FAUC.mjs} +1 -1
- package/dist/{chunk-O4RZ3Y65.mjs → chunk-NHDFPGQ3.mjs} +1 -1
- package/dist/{chunk-LHNU4DYZ.mjs → chunk-PMJJI6GO.mjs} +1 -1
- package/dist/{chunk-PCFUZKDS.mjs → chunk-R65S6ZZV.mjs} +4 -1
- package/dist/{chunk-VX2HE7O5.mjs → chunk-SFSBLI7G.mjs} +2 -2
- package/dist/{chunk-3YPRDSZ6.mjs → chunk-T2ANPJ36.mjs} +1 -1
- package/dist/{chunk-KF7ZWW4K.mjs → chunk-T57MRRCF.mjs} +2 -4
- package/dist/{chunk-KCWP7RF5.mjs → chunk-TBEGSDLQ.mjs} +1 -1
- package/dist/{chunk-AZKMRL4P.mjs → chunk-XBJCK4CT.mjs} +8 -5
- package/dist/{chunk-NKDCBX74.mjs → chunk-XHDXZAOR.mjs} +1 -1
- package/dist/{chunk-M3CKVBZC.mjs → chunk-XIVBRONM.mjs} +1 -1
- package/dist/{collection-add-products-5BHQKPB4.mjs → collection-add-products-F7GTK2YV.mjs} +12 -13
- package/dist/{collection-create-S3UK5EKP.mjs → collection-create-WMTSRDDL.mjs} +3 -4
- package/dist/{collection-detail-IMDGOIF5.mjs → collection-detail-EZ6UCFMP.mjs} +11 -11
- package/dist/{collection-edit-C5X34GX7.mjs → collection-edit-PSVEWWPH.mjs} +4 -6
- package/dist/{collection-list-GROVO4YH.mjs → collection-list-YUECGEOO.mjs} +12 -12
- package/dist/{collection-metadata-TN5UCQVV.mjs → collection-metadata-XYMR7UIM.mjs} +11 -12
- package/dist/{customer-create-XCLZENJS.mjs → customer-create-VL6SIRZ2.mjs} +1 -2
- package/dist/{customer-create-address-4HZUIAM7.mjs → customer-create-address-V5C6M52P.mjs} +1 -2
- package/dist/{customer-detail-RD4ADZ3C.mjs → customer-detail-7B35STSY.mjs} +10 -10
- package/dist/{customer-edit-BW5GVTQI.mjs → customer-edit-WTBPVWOF.mjs} +2 -4
- package/dist/{customer-group-add-customers-HUGHHMU6.mjs → customer-group-add-customers-QU4Q56SS.mjs} +1 -2
- package/dist/{customer-group-create-6YV7W6TI.mjs → customer-group-create-A3CB3Z4K.mjs} +1 -2
- package/dist/{customer-group-detail-M2Y6UFOX.mjs → customer-group-detail-TY4AFNQE.mjs} +9 -9
- package/dist/{customer-group-edit-7NXU34BQ.mjs → customer-group-edit-7KV2PNLE.mjs} +2 -4
- package/dist/{customer-group-list-PYSYUVWJ.mjs → customer-group-list-CELWB4WM.mjs} +11 -11
- package/dist/{customer-group-metadata-WK2BGEGO.mjs → customer-group-metadata-4F2SZF4M.mjs} +2 -3
- package/dist/{customer-metadata-ZUWCUTM7.mjs → customer-metadata-LZ3TAXCV.mjs} +2 -3
- package/dist/{customers-add-customer-group-NVHYIS75.mjs → customers-add-customer-group-524NN3AG.mjs} +10 -11
- package/dist/{edit-inventory-item-7P2MPPGK.mjs → edit-inventory-item-O3SDWW2W.mjs} +3 -5
- package/dist/{edit-inventory-item-attributes-NVYPIDCK.mjs → edit-inventory-item-attributes-3QLOZMGC.mjs} +3 -5
- package/dist/{edit-reservation-4BH62PDP.mjs → edit-reservation-ISSU5XAY.mjs} +4 -6
- package/dist/{edit-rules-I3CZ6JJ6.mjs → edit-rules-K2UXPE62.mjs} +11 -13
- package/dist/en.json +0 -7
- package/dist/{inventory-create-2NJLJGI6.mjs → inventory-create-SYD3QXIB.mjs} +10 -11
- package/dist/{inventory-detail-DMAHDXAH.mjs → inventory-detail-IWCB7FND.mjs} +11 -11
- package/dist/{inventory-list-RQBI7UJX.mjs → inventory-list-BQPHK3FV.mjs} +1 -1
- package/dist/{inventory-metadata-WN5VZIHI.mjs → inventory-metadata-YSDEZ4B7.mjs} +11 -12
- package/dist/{inventory-stock-G4BGY6HK.mjs → inventory-stock-JLJEWPUM.mjs} +10 -11
- package/dist/{location-create-RPLEXUZR.mjs → location-create-GDOHM4T3.mjs} +1 -2
- package/dist/{location-detail-37V7YZVV.mjs → location-detail-LNQUKDLQ.mjs} +9 -9
- package/dist/{location-edit-L4ISEQHX.mjs → location-edit-4SEMGQXA.mjs} +2 -4
- package/dist/{location-fulfillment-providers-ZLKGXNU3.mjs → location-fulfillment-providers-566Z6CCG.mjs} +12 -13
- package/dist/{location-list-Z42ZYHUF.mjs → location-list-OYBI7EGV.mjs} +2 -2
- package/dist/{location-sales-channels-QANELWVW.mjs → location-sales-channels-MXFZNLKR.mjs} +5 -6
- package/dist/{location-service-zone-create-NSMZCD5N.mjs → location-service-zone-create-35TTX636.mjs} +3 -5
- package/dist/{location-service-zone-edit-6OUAFEZD.mjs → location-service-zone-edit-RWZS2XYW.mjs} +2 -4
- package/dist/{location-service-zone-manage-areas-SEC6LKCZ.mjs → location-service-zone-manage-areas-RGMM5Y6C.mjs} +3 -5
- package/dist/{location-service-zone-shipping-option-create-52N7W7C2.mjs → location-service-zone-shipping-option-create-VENETBCK.mjs} +12 -14
- package/dist/{location-service-zone-shipping-option-edit-QS6HTWST.mjs → location-service-zone-shipping-option-edit-TTVV3BSV.mjs} +2 -4
- package/dist/{location-service-zone-shipping-option-pricing-23QLNSBT.mjs → location-service-zone-shipping-option-pricing-NQRIEGTX.mjs} +3 -5
- package/dist/{login-NQCTGOAW.mjs → login-R5C7HZ2A.mjs} +9 -9
- package/dist/{manage-locations-S7MCWAUJ.mjs → manage-locations-XEXCUBR7.mjs} +3 -5
- package/dist/{order-allocate-items-VY6KJFRE.mjs → order-allocate-items-W7HUKJ6F.mjs} +4 -5
- package/dist/{order-create-claim-QF2LTPUX.mjs → order-create-claim-M5NNIQWR.mjs} +13 -15
- package/dist/{order-create-edit-Z7LU7AVG.mjs → order-create-edit-A2TMNFRS.mjs} +12 -14
- package/dist/{order-create-exchange-5XWD2Q2E.mjs → order-create-exchange-CIB7URQD.mjs} +13 -15
- package/dist/{order-create-fulfillment-AQJXDSWH.mjs → order-create-fulfillment-YC4GFUTQ.mjs} +10 -11
- package/dist/{order-create-refund-B3WOHTK4.mjs → order-create-refund-EE7SWYLL.mjs} +11 -13
- package/dist/{order-create-return-XNBOIYPL.mjs → order-create-return-UWF4YKOP.mjs} +6 -8
- package/dist/{order-create-shipment-N2CVYZMG.mjs → order-create-shipment-DNVN7NYA.mjs} +10 -11
- package/dist/{order-detail-S3IQ75KS.mjs → order-detail-FZ7PM4K3.mjs} +13 -13
- package/dist/{order-edit-billing-address-6YKACKAU.mjs → order-edit-billing-address-XH37NDI5.mjs} +11 -13
- package/dist/{order-edit-email-HHOPFQEQ.mjs → order-edit-email-NZE32DBD.mjs} +11 -13
- package/dist/{order-edit-shipping-address-OLSZVXOS.mjs → order-edit-shipping-address-KMLTH4SM.mjs} +11 -13
- package/dist/{order-list-H2B5LA5D.mjs → order-list-NT5PQ2WS.mjs} +7 -7
- package/dist/{order-metadata-PGARNQGC.mjs → order-metadata-VWNNC7RO.mjs} +11 -12
- package/dist/{order-receive-return-F3RVWIUS.mjs → order-receive-return-O5P477EZ.mjs} +12 -14
- package/dist/{order-request-transfer-BSA2D7PD.mjs → order-request-transfer-XOAINCAS.mjs} +11 -13
- package/dist/{price-list-configuration-FXGLWS3K.mjs → price-list-configuration-N2WC2QQP.mjs} +5 -7
- package/dist/{price-list-create-Z7GJDHLB.mjs → price-list-create-NOTXIPOJ.mjs} +16 -17
- package/dist/{price-list-detail-SGYXWAHQ.mjs → price-list-detail-BD2QQKAR.mjs} +12 -12
- package/dist/{price-list-edit-S3DCFSO2.mjs → price-list-edit-UB2Z2726.mjs} +4 -6
- package/dist/{price-list-list-FLINOQCK.mjs → price-list-list-D4UPKCNL.mjs} +3 -3
- package/dist/{price-list-prices-add-SXP3V7NI.mjs → price-list-prices-add-25FOFNBS.mjs} +14 -14
- package/dist/{price-list-prices-edit-L4EETPG2.mjs → price-list-prices-edit-CXXOO22Q.mjs} +5 -5
- package/dist/{product-attributes-J6ZXEBZ2.mjs → product-attributes-W6URSOII.mjs} +15 -19
- package/dist/{product-create-7HZSIZI3.mjs → product-create-IJXK2CPJ.mjs} +15 -17
- package/dist/{product-create-option-JSL4OV4M.mjs → product-create-option-AQRYQJSJ.mjs} +7 -6
- package/dist/{product-create-variant-MNWLL3SD.mjs → product-create-variant-YBJ2ZVUG.mjs} +15 -14
- package/dist/{product-detail-GMNO25SN.mjs → product-detail-3QA6OXHI.mjs} +21 -15
- package/dist/{product-edit-LRBW7OOF.mjs → product-edit-WPVM44C2.mjs} +15 -19
- package/dist/{product-edit-option-OL6OBCK6.mjs → product-edit-option-BL5XHROM.mjs} +7 -6
- package/dist/{product-export-SQG7U5CK.mjs → product-export-H4ZOJWIB.mjs} +14 -16
- package/dist/{product-image-variants-edit-7IN3QHSF.mjs → product-image-variants-edit-3YEXAIKS.mjs} +15 -14
- package/dist/{product-import-6ZZIQ6R5.mjs → product-import-PPULHBTB.mjs} +11 -13
- package/dist/{product-list-E4KRZBEX.mjs → product-list-NPLVU37E.mjs} +14 -14
- package/dist/{product-media-NFLMXXXU.mjs → product-media-L4COURP2.mjs} +6 -4
- package/dist/{product-metadata-TY3LCH2W.mjs → product-metadata-SS7DIDYB.mjs} +15 -13
- package/dist/{product-organization-2SS6DA6S.mjs → product-organization-QG53UJ2J.mjs} +16 -20
- package/dist/{product-prices-DI4WDLZZ.mjs → product-prices-UZB2T6UD.mjs} +6 -4
- package/dist/{product-sales-channels-BOCECT5M.mjs → product-sales-channels-BKKIG6BE.mjs} +9 -7
- package/dist/{product-shipping-profile-MP6QBJHY.mjs → product-shipping-profile-MWE5S5TZ.mjs} +5 -53
- package/dist/{product-stock-UXOYOHMR.mjs → product-stock-3A22RDIR.mjs} +10 -11
- package/dist/{product-tag-create-OURLUGEL.mjs → product-tag-create-XIWCLMRJ.mjs} +10 -11
- package/dist/{product-tag-detail-MENTQYX2.mjs → product-tag-detail-NVV6QQMN.mjs} +13 -13
- package/dist/{product-tag-edit-BGPR3BIP.mjs → product-tag-edit-H7YA4HEV.mjs} +11 -13
- package/dist/{product-tag-list-B5YMQ2KC.mjs → product-tag-list-LGVKUJLL.mjs} +13 -13
- package/dist/{product-tag-metadata-5GOTVYAI.mjs → product-tag-metadata-JBYEI3M4.mjs} +11 -12
- package/dist/{product-type-create-HBDROTGB.mjs → product-type-create-Y752WGBV.mjs} +1 -2
- package/dist/{product-type-detail-WIIXVV2K.mjs → product-type-detail-S6YG37AR.mjs} +11 -11
- package/dist/{product-type-edit-H3JCMVRV.mjs → product-type-edit-SMPJ5ZEF.mjs} +2 -4
- package/dist/{product-type-metadata-XACGB4IA.mjs → product-type-metadata-LRTMJT2P.mjs} +11 -12
- package/dist/{product-variant-detail-EFKGSJ5B.mjs → product-variant-detail-GIHXE5YG.mjs} +9 -9
- package/dist/{product-variant-edit-7OJLUVHS.mjs → product-variant-edit-36MBVNPO.mjs} +13 -14
- package/dist/{product-variant-manage-inventory-items-HVU7YWDU.mjs → product-variant-manage-inventory-items-EYKESIRF.mjs} +2 -3
- package/dist/{product-variant-media-3JWQ27SI.mjs → product-variant-media-A3XHS3IZ.mjs} +2 -3
- package/dist/{product-variant-metadata-POPOT4LV.mjs → product-variant-metadata-LH7YGFW4.mjs} +11 -12
- package/dist/{profile-edit-5EEKOEO5.mjs → profile-edit-NFVR5Y4I.mjs} +2 -4
- package/dist/{promotion-add-campaign-JRTM7WBR.mjs → promotion-add-campaign-MKDYE7MW.mjs} +2 -3
- package/dist/{promotion-create-Q7EYW4L2.mjs → promotion-create-XOB4S6H5.mjs} +12 -13
- package/dist/{promotion-detail-Q5INURX6.mjs → promotion-detail-YR4MNPNS.mjs} +9 -9
- package/dist/{promotion-edit-details-AREFQ6O5.mjs → promotion-edit-details-AKKNOCLM.mjs} +2 -4
- package/dist/{refund-reason-create-MXVWKVZ5.mjs → refund-reason-create-LSAPI6XB.mjs} +10 -11
- package/dist/{refund-reason-edit-7EW5QRCM.mjs → refund-reason-edit-R4RV6BFG.mjs} +11 -13
- package/dist/{refund-reason-list-GHMGAXQY.mjs → refund-reason-list-MPTKOWX7.mjs} +12 -12
- package/dist/{region-add-countries-AFWXMQ6W.mjs → region-add-countries-6GB2QDJK.mjs} +1 -2
- package/dist/{region-create-YC4VZ4AS.mjs → region-create-QLPSK6TX.mjs} +2 -4
- package/dist/{region-edit-5GO25GDF.mjs → region-edit-JCJHA6TY.mjs} +2 -4
- package/dist/{region-metadata-MEJEMQ7Y.mjs → region-metadata-4IMJHPZO.mjs} +11 -12
- package/dist/{reservation-create-P66MJ6LN.mjs → reservation-create-UAUWU3UN.mjs} +3 -4
- package/dist/{reservation-detail-ARGPFIAK.mjs → reservation-detail-HWKSPGBU.mjs} +9 -9
- package/dist/{reservation-list-RGL67CIU.mjs → reservation-list-SOJRN5RI.mjs} +2 -2
- package/dist/{reservation-metadata-I5JUAZNA.mjs → reservation-metadata-IIX7FU74.mjs} +11 -12
- package/dist/{return-reason-create-NXWDC6AC.mjs → return-reason-create-PLQNC4KW.mjs} +1 -2
- package/dist/{return-reason-edit-M6IKNNKB.mjs → return-reason-edit-XJCPMZ6U.mjs} +2 -4
- package/dist/{return-reason-list-SGCFBGSL.mjs → return-reason-list-IFFIDA5O.mjs} +1 -1
- package/dist/{sales-channel-add-products-N6CLM26Y.mjs → sales-channel-add-products-VH7V4XWO.mjs} +12 -13
- package/dist/{sales-channel-create-74PCSWSX.mjs → sales-channel-create-YAORCXP3.mjs} +3 -4
- package/dist/{sales-channel-detail-WFCPUJF5.mjs → sales-channel-detail-VMRKBYCG.mjs} +11 -11
- package/dist/{sales-channel-edit-IUGTN65E.mjs → sales-channel-edit-6UDMBSO3.mjs} +4 -6
- package/dist/{sales-channel-list-TEH3IEG5.mjs → sales-channel-list-U7IVFVYC.mjs} +11 -11
- package/dist/{sales-channel-metadata-YYQAM5OW.mjs → sales-channel-metadata-5EO4EB6E.mjs} +11 -12
- package/dist/{shipping-option-type-create-73EVE35U.mjs → shipping-option-type-create-DJEHSOSG.mjs} +10 -11
- package/dist/{shipping-option-type-detail-WX6ZFA3K.mjs → shipping-option-type-detail-GWULT3WO.mjs} +10 -10
- package/dist/{shipping-option-type-edit-YSRIA7FD.mjs → shipping-option-type-edit-FSXPDBLI.mjs} +11 -13
- package/dist/{shipping-option-type-list-OKHJ5XQ3.mjs → shipping-option-type-list-DAKNQ3N6.mjs} +10 -10
- package/dist/{shipping-profile-create-752TMBBE.mjs → shipping-profile-create-NKFUOBVZ.mjs} +1 -2
- package/dist/{shipping-profile-metadata-GZOMZUZ5.mjs → shipping-profile-metadata-37GNDVFQ.mjs} +11 -12
- package/dist/{store-add-currencies-3VMLZ6KB.mjs → store-add-currencies-QVG2SI26.mjs} +1 -2
- package/dist/{store-detail-FU3AMVC5.mjs → store-detail-TTHDKQYD.mjs} +14 -280
- package/dist/store-edit-3XS6IC2Z.mjs +238 -0
- package/dist/{store-metadata-C32LZ5A5.mjs → store-metadata-KLQUPUQ4.mjs} +11 -12
- package/dist/{tax-region-create-JPIGFA7Q.mjs → tax-region-create-FIGRJOC5.mjs} +10 -11
- package/dist/{tax-region-detail-LM3TUUVX.mjs → tax-region-detail-AXT4TMZB.mjs} +16 -17
- package/dist/{tax-region-edit-J3COT5DI.mjs → tax-region-edit-UOGPNA25.mjs} +11 -13
- package/dist/{tax-region-province-create-5JP3PVID.mjs → tax-region-province-create-T2LKEDTK.mjs} +1 -2
- package/dist/{tax-region-province-detail-OLLH4XDG.mjs → tax-region-province-detail-4YCWNZPW.mjs} +16 -17
- package/dist/{tax-region-tax-override-create-BFIJFC4G.mjs → tax-region-tax-override-create-FHUXLTPK.mjs} +15 -17
- package/dist/{tax-region-tax-override-edit-OALFHSLF.mjs → tax-region-tax-override-edit-GQYS6HCW.mjs} +15 -16
- package/dist/{tax-region-tax-rate-create-O2SDSXCH.mjs → tax-region-tax-rate-create-UEOU5QRU.mjs} +1 -2
- package/dist/{tax-region-tax-rate-edit-W62VEVKT.mjs → tax-region-tax-rate-edit-ILCDNXHV.mjs} +2 -4
- package/dist/{user-detail-N6PT3KRP.mjs → user-detail-KEDJ7N3Q.mjs} +1 -1
- package/dist/{user-edit-LXQCTDGA.mjs → user-edit-25HD3BYT.mjs} +2 -4
- package/dist/{user-invite-2OKB7SCF.mjs → user-invite-CRQTVEYA.mjs} +1 -2
- package/dist/{user-list-YYUOQKQY.mjs → user-list-6KATHOTJ.mjs} +2 -2
- package/dist/{user-metadata-3FJIJONR.mjs → user-metadata-RU3Z3BLD.mjs} +11 -12
- package/dist/{workflow-execution-detail-P72V2O2R.mjs → workflow-execution-detail-R2FDAUMD.mjs} +9 -9
- package/package.json +9 -9
- package/src/components/search/use-search-results.tsx +3 -1
- package/src/components/utilities/error-boundary/error-boundary.tsx +20 -0
- package/src/dashboard-app/routes/get-route.map.tsx +0 -4
- package/src/hooks/api/feature-flags.tsx +5 -9
- package/src/hooks/api/index.ts +0 -1
- package/src/hooks/api/products.tsx +5 -1
- package/src/hooks/table/query/use-product-table-query.tsx +2 -1
- package/src/i18n/translations/$schema.json +0 -28
- package/src/i18n/translations/en.json +0 -7
- package/src/i18n/translations/es.json +0 -7
- package/src/routes/price-lists/price-list-create/components/price-list-create-form/price-list-prices-form.tsx +3 -1
- package/src/routes/price-lists/price-list-prices-add/components/price-list-prices-add-form/price-list-prices-add-prices-form.tsx +3 -1
- package/src/routes/price-lists/price-list-prices-edit/price-list-prices-edit.tsx +3 -1
- package/src/routes/product-variants/product-variant-edit/product-variant-edit.tsx +2 -1
- package/src/routes/products/product-attributes/product-attributes.tsx +3 -2
- package/src/routes/products/product-create-option/product-create-option.tsx +5 -1
- package/src/routes/products/product-create-variant/product-create-variant.tsx +4 -1
- package/src/routes/products/product-detail/breadcrumb.tsx +3 -2
- package/src/routes/products/product-edit/product-edit.tsx +3 -2
- package/src/routes/products/product-edit-option/product-edit-option.tsx +4 -1
- package/src/routes/products/product-image-variants-edit/product-image-variants-edit.tsx +5 -1
- package/src/routes/products/product-media/product-media.tsx +4 -1
- package/src/routes/products/product-metadata/product-metadata.tsx +5 -1
- package/src/routes/products/product-organization/product-organization.tsx +2 -2
- package/src/routes/products/product-prices/product-prices.tsx +4 -1
- package/src/routes/products/product-sales-channels/product-sales-channels.tsx +4 -1
- package/src/routes/products/product-shipping-profile/product-shipping-profile.tsx +3 -2
- package/src/routes/store/store-detail/components/store-general-section/store-general-section.tsx +0 -24
- package/src/routes/store/store-detail/store-detail.tsx +0 -4
- package/src/routes/store/store-edit/components/edit-store-form/edit-store-form.tsx +3 -50
- package/src/routes/tax-regions/common/components/target-item/target-item.tsx +5 -1
- package/src/routes/tax-regions/common/components/tax-override-card/tax-override-card.tsx +10 -10
- package/dist/chunk-77XTTZK7.mjs +0 -13
- package/dist/chunk-XNIVMZHA.mjs +0 -50
- package/dist/chunk-XXBP2Z5M.mjs +0 -182
- package/dist/store-add-locales-LXRWHBME.mjs +0 -264
- package/dist/store-edit-EPAHLLKP.mjs +0 -288
- package/src/hooks/api/locales.tsx +0 -52
- package/src/routes/store/common/hooks/use-locales-table-columns.tsx +0 -29
- package/src/routes/store/common/hooks/use-locales-table-query.tsx +0 -21
- package/src/routes/store/store-add-locales/components/add-locales-form/add-locales-form.tsx +0 -240
- package/src/routes/store/store-add-locales/index.ts +0 -1
- package/src/routes/store/store-add-locales/store-add-locales.tsx +0 -29
- package/src/routes/store/store-detail/components/store-locale-section/index.ts +0 -1
- package/src/routes/store/store-detail/components/store-locale-section/store-locale-section.tsx +0 -290
|
@@ -11,11 +11,9 @@ import {
|
|
|
11
11
|
KeyboundForm
|
|
12
12
|
} from "./chunk-6HTZNHPT.mjs";
|
|
13
13
|
import {
|
|
14
|
-
RouteDrawer
|
|
15
|
-
} from "./chunk-XXBP2Z5M.mjs";
|
|
16
|
-
import {
|
|
14
|
+
RouteDrawer,
|
|
17
15
|
useRouteModal
|
|
18
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-AERWK3TJ.mjs";
|
|
19
17
|
import {
|
|
20
18
|
useDocumentDirection
|
|
21
19
|
} from "./chunk-S4DMV3ZT.mjs";
|
|
@@ -2,24 +2,8 @@ import {
|
|
|
2
2
|
Form
|
|
3
3
|
} from "./chunk-OBQI23QM.mjs";
|
|
4
4
|
|
|
5
|
-
// src/components/modals/route-
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
// src/components/modals/route-modal-provider/route-modal-context.tsx
|
|
9
|
-
import { createContext } from "react";
|
|
10
|
-
var RouteModalProviderContext = createContext(null);
|
|
11
|
-
|
|
12
|
-
// src/components/modals/route-modal-provider/use-route-modal.tsx
|
|
13
|
-
var useRouteModal = () => {
|
|
14
|
-
const context = useContext(RouteModalProviderContext);
|
|
15
|
-
if (!context) {
|
|
16
|
-
throw new Error("useRouteModal must be used within a RouteModalProvider");
|
|
17
|
-
}
|
|
18
|
-
return context;
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
// src/components/modals/route-focus-modal/route-focus-modal.tsx
|
|
22
|
-
import { FocusModal, clx } from "@medusajs/ui";
|
|
5
|
+
// src/components/modals/route-drawer/route-drawer.tsx
|
|
6
|
+
import { Drawer, clx } from "@medusajs/ui";
|
|
23
7
|
import { useEffect, useState as useState3 } from "react";
|
|
24
8
|
import { useNavigate as useNavigate2 } from "react-router-dom";
|
|
25
9
|
|
|
@@ -102,6 +86,12 @@ var RouteModalForm = ({
|
|
|
102
86
|
// src/components/modals/route-modal-provider/route-provider.tsx
|
|
103
87
|
import { useCallback, useMemo as useMemo2, useState } from "react";
|
|
104
88
|
import { useNavigate } from "react-router-dom";
|
|
89
|
+
|
|
90
|
+
// src/components/modals/route-modal-provider/route-modal-context.tsx
|
|
91
|
+
import { createContext } from "react";
|
|
92
|
+
var RouteModalProviderContext = createContext(null);
|
|
93
|
+
|
|
94
|
+
// src/components/modals/route-modal-provider/route-provider.tsx
|
|
105
95
|
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
106
96
|
var RouteModalProvider = ({
|
|
107
97
|
prev,
|
|
@@ -179,9 +169,9 @@ var StackedModalProvider = ({
|
|
|
179
169
|
};
|
|
180
170
|
|
|
181
171
|
// src/components/modals/stacked-modal-provider/use-stacked-modal.ts
|
|
182
|
-
import { useContext
|
|
172
|
+
import { useContext } from "react";
|
|
183
173
|
var useStackedModal = () => {
|
|
184
|
-
const context =
|
|
174
|
+
const context = useContext(StackedModalContext);
|
|
185
175
|
if (!context) {
|
|
186
176
|
throw new Error(
|
|
187
177
|
"useStackedModal must be used within a StackedModalProvider"
|
|
@@ -190,7 +180,7 @@ var useStackedModal = () => {
|
|
|
190
180
|
return context;
|
|
191
181
|
};
|
|
192
182
|
|
|
193
|
-
// src/components/modals/route-
|
|
183
|
+
// src/components/modals/route-drawer/route-drawer.tsx
|
|
194
184
|
import { jsx as jsx4 } from "react/jsx-runtime";
|
|
195
185
|
var Root = ({ prev = "..", children }) => {
|
|
196
186
|
const navigate = useNavigate2();
|
|
@@ -212,47 +202,225 @@ var Root = ({ prev = "..", children }) => {
|
|
|
212
202
|
}
|
|
213
203
|
setOpen(open2);
|
|
214
204
|
};
|
|
215
|
-
return /* @__PURE__ */ jsx4(
|
|
205
|
+
return /* @__PURE__ */ jsx4(Drawer, { open, onOpenChange: handleOpenChange, children: /* @__PURE__ */ jsx4(RouteModalProvider, { prev: to, children: /* @__PURE__ */ jsx4(StackedModalProvider, { onOpenChange: onStackedModalOpen, children: /* @__PURE__ */ jsx4(
|
|
206
|
+
Drawer.Content,
|
|
207
|
+
{
|
|
208
|
+
"aria-describedby": void 0,
|
|
209
|
+
className: clx({
|
|
210
|
+
"!bg-ui-bg-disabled !inset-y-5 !right-5": stackedModalOpen
|
|
211
|
+
}),
|
|
212
|
+
children
|
|
213
|
+
}
|
|
214
|
+
) }) }) });
|
|
215
|
+
};
|
|
216
|
+
var Header = Drawer.Header;
|
|
217
|
+
var Title = Drawer.Title;
|
|
218
|
+
var Description = Drawer.Description;
|
|
219
|
+
var Body = Drawer.Body;
|
|
220
|
+
var Footer = Drawer.Footer;
|
|
221
|
+
var Close = Drawer.Close;
|
|
222
|
+
var Form2 = RouteModalForm;
|
|
223
|
+
var RouteDrawer = Object.assign(Root, {
|
|
224
|
+
Header,
|
|
225
|
+
Title,
|
|
226
|
+
Body,
|
|
227
|
+
Description,
|
|
228
|
+
Footer,
|
|
229
|
+
Close,
|
|
230
|
+
Form: Form2
|
|
231
|
+
});
|
|
232
|
+
|
|
233
|
+
// src/components/modals/route-modal-provider/use-route-modal.tsx
|
|
234
|
+
import { useContext as useContext2 } from "react";
|
|
235
|
+
var useRouteModal = () => {
|
|
236
|
+
const context = useContext2(RouteModalProviderContext);
|
|
237
|
+
if (!context) {
|
|
238
|
+
throw new Error("useRouteModal must be used within a RouteModalProvider");
|
|
239
|
+
}
|
|
240
|
+
return context;
|
|
241
|
+
};
|
|
242
|
+
|
|
243
|
+
// src/components/modals/route-focus-modal/route-focus-modal.tsx
|
|
244
|
+
import { FocusModal, clx as clx2 } from "@medusajs/ui";
|
|
245
|
+
import { useEffect as useEffect2, useState as useState4 } from "react";
|
|
246
|
+
import { useNavigate as useNavigate3 } from "react-router-dom";
|
|
247
|
+
import { jsx as jsx5 } from "react/jsx-runtime";
|
|
248
|
+
var Root2 = ({ prev = "..", children }) => {
|
|
249
|
+
const navigate = useNavigate3();
|
|
250
|
+
const [open, setOpen] = useState4(false);
|
|
251
|
+
const [stackedModalOpen, onStackedModalOpen] = useState4(false);
|
|
252
|
+
const to = useStateAwareTo(prev);
|
|
253
|
+
useEffect2(() => {
|
|
254
|
+
setOpen(true);
|
|
255
|
+
return () => {
|
|
256
|
+
setOpen(false);
|
|
257
|
+
onStackedModalOpen(false);
|
|
258
|
+
};
|
|
259
|
+
}, []);
|
|
260
|
+
const handleOpenChange = (open2) => {
|
|
261
|
+
if (!open2) {
|
|
262
|
+
document.body.style.pointerEvents = "auto";
|
|
263
|
+
navigate(to, { replace: true });
|
|
264
|
+
return;
|
|
265
|
+
}
|
|
266
|
+
setOpen(open2);
|
|
267
|
+
};
|
|
268
|
+
return /* @__PURE__ */ jsx5(FocusModal, { open, onOpenChange: handleOpenChange, children: /* @__PURE__ */ jsx5(RouteModalProvider, { prev: to, children: /* @__PURE__ */ jsx5(StackedModalProvider, { onOpenChange: onStackedModalOpen, children: /* @__PURE__ */ jsx5(Content, { stackedModalOpen, children }) }) }) });
|
|
216
269
|
};
|
|
217
270
|
var Content = ({ stackedModalOpen, children }) => {
|
|
218
271
|
const { __internal } = useRouteModal();
|
|
219
272
|
const shouldPreventClose = !__internal.closeOnEscape;
|
|
220
|
-
return /* @__PURE__ */
|
|
273
|
+
return /* @__PURE__ */ jsx5(
|
|
221
274
|
FocusModal.Content,
|
|
222
275
|
{
|
|
223
276
|
onEscapeKeyDown: shouldPreventClose ? (e) => {
|
|
224
277
|
e.preventDefault();
|
|
225
278
|
} : void 0,
|
|
226
|
-
className:
|
|
279
|
+
className: clx2({
|
|
227
280
|
"!bg-ui-bg-disabled !inset-x-5 !inset-y-3": stackedModalOpen
|
|
228
281
|
}),
|
|
229
282
|
children
|
|
230
283
|
}
|
|
231
284
|
);
|
|
232
285
|
};
|
|
233
|
-
var
|
|
234
|
-
var
|
|
235
|
-
var
|
|
236
|
-
var
|
|
237
|
-
var
|
|
238
|
-
var
|
|
239
|
-
var
|
|
240
|
-
var RouteFocusModal = Object.assign(
|
|
241
|
-
Header,
|
|
242
|
-
Title,
|
|
243
|
-
Body,
|
|
244
|
-
Description,
|
|
245
|
-
Footer,
|
|
246
|
-
Close,
|
|
247
|
-
Form:
|
|
286
|
+
var Header2 = FocusModal.Header;
|
|
287
|
+
var Title2 = FocusModal.Title;
|
|
288
|
+
var Description2 = FocusModal.Description;
|
|
289
|
+
var Footer2 = FocusModal.Footer;
|
|
290
|
+
var Body2 = FocusModal.Body;
|
|
291
|
+
var Close2 = FocusModal.Close;
|
|
292
|
+
var Form3 = RouteModalForm;
|
|
293
|
+
var RouteFocusModal = Object.assign(Root2, {
|
|
294
|
+
Header: Header2,
|
|
295
|
+
Title: Title2,
|
|
296
|
+
Body: Body2,
|
|
297
|
+
Description: Description2,
|
|
298
|
+
Footer: Footer2,
|
|
299
|
+
Close: Close2,
|
|
300
|
+
Form: Form3
|
|
301
|
+
});
|
|
302
|
+
|
|
303
|
+
// src/components/modals/stacked-drawer/stacked-drawer.tsx
|
|
304
|
+
import { Drawer as Drawer2, clx as clx3 } from "@medusajs/ui";
|
|
305
|
+
import {
|
|
306
|
+
forwardRef,
|
|
307
|
+
useEffect as useEffect3
|
|
308
|
+
} from "react";
|
|
309
|
+
import { jsx as jsx6 } from "react/jsx-runtime";
|
|
310
|
+
var Root3 = ({ id, children }) => {
|
|
311
|
+
const { register, unregister, getIsOpen, setIsOpen } = useStackedModal();
|
|
312
|
+
useEffect3(() => {
|
|
313
|
+
register(id);
|
|
314
|
+
return () => unregister(id);
|
|
315
|
+
}, []);
|
|
316
|
+
return /* @__PURE__ */ jsx6(Drawer2, { open: getIsOpen(id), onOpenChange: (open) => setIsOpen(id, open), children });
|
|
317
|
+
};
|
|
318
|
+
var Close3 = Drawer2.Close;
|
|
319
|
+
Close3.displayName = "StackedDrawer.Close";
|
|
320
|
+
var Header3 = Drawer2.Header;
|
|
321
|
+
Header3.displayName = "StackedDrawer.Header";
|
|
322
|
+
var Body3 = Drawer2.Body;
|
|
323
|
+
Body3.displayName = "StackedDrawer.Body";
|
|
324
|
+
var Trigger = Drawer2.Trigger;
|
|
325
|
+
Trigger.displayName = "StackedDrawer.Trigger";
|
|
326
|
+
var Footer3 = Drawer2.Footer;
|
|
327
|
+
Footer3.displayName = "StackedDrawer.Footer";
|
|
328
|
+
var Title3 = Drawer2.Title;
|
|
329
|
+
Title3.displayName = "StackedDrawer.Title";
|
|
330
|
+
var Description3 = Drawer2.Description;
|
|
331
|
+
Description3.displayName = "StackedDrawer.Description";
|
|
332
|
+
var Content2 = forwardRef(({ className, ...props }, ref) => {
|
|
333
|
+
return /* @__PURE__ */ jsx6(
|
|
334
|
+
Drawer2.Content,
|
|
335
|
+
{
|
|
336
|
+
ref,
|
|
337
|
+
className: clx3(className),
|
|
338
|
+
overlayProps: {
|
|
339
|
+
className: "bg-transparent"
|
|
340
|
+
},
|
|
341
|
+
...props
|
|
342
|
+
}
|
|
343
|
+
);
|
|
344
|
+
});
|
|
345
|
+
Content2.displayName = "StackedDrawer.Content";
|
|
346
|
+
var StackedDrawer = Object.assign(Root3, {
|
|
347
|
+
Close: Close3,
|
|
348
|
+
Header: Header3,
|
|
349
|
+
Body: Body3,
|
|
350
|
+
Content: Content2,
|
|
351
|
+
Trigger,
|
|
352
|
+
Footer: Footer3,
|
|
353
|
+
Description: Description3,
|
|
354
|
+
Title: Title3
|
|
355
|
+
});
|
|
356
|
+
|
|
357
|
+
// src/components/modals/stacked-focus-modal/stacked-focus-modal.tsx
|
|
358
|
+
import { FocusModal as FocusModal2, clx as clx4 } from "@medusajs/ui";
|
|
359
|
+
import {
|
|
360
|
+
forwardRef as forwardRef2,
|
|
361
|
+
useEffect as useEffect4
|
|
362
|
+
} from "react";
|
|
363
|
+
import { jsx as jsx7 } from "react/jsx-runtime";
|
|
364
|
+
var Root4 = ({
|
|
365
|
+
id,
|
|
366
|
+
onOpenChangeCallback,
|
|
367
|
+
children
|
|
368
|
+
}) => {
|
|
369
|
+
const { register, unregister, getIsOpen, setIsOpen } = useStackedModal();
|
|
370
|
+
useEffect4(() => {
|
|
371
|
+
register(id);
|
|
372
|
+
return () => unregister(id);
|
|
373
|
+
}, []);
|
|
374
|
+
const handleOpenChange = (open) => {
|
|
375
|
+
setIsOpen(id, open);
|
|
376
|
+
onOpenChangeCallback?.(open);
|
|
377
|
+
};
|
|
378
|
+
return /* @__PURE__ */ jsx7(FocusModal2, { open: getIsOpen(id), onOpenChange: handleOpenChange, children });
|
|
379
|
+
};
|
|
380
|
+
var Close4 = FocusModal2.Close;
|
|
381
|
+
Close4.displayName = "StackedFocusModal.Close";
|
|
382
|
+
var Header4 = FocusModal2.Header;
|
|
383
|
+
Header4.displayName = "StackedFocusModal.Header";
|
|
384
|
+
var Body4 = FocusModal2.Body;
|
|
385
|
+
Body4.displayName = "StackedFocusModal.Body";
|
|
386
|
+
var Trigger2 = FocusModal2.Trigger;
|
|
387
|
+
Trigger2.displayName = "StackedFocusModal.Trigger";
|
|
388
|
+
var Footer4 = FocusModal2.Footer;
|
|
389
|
+
Footer4.displayName = "StackedFocusModal.Footer";
|
|
390
|
+
var Title4 = FocusModal2.Title;
|
|
391
|
+
Title4.displayName = "StackedFocusModal.Title";
|
|
392
|
+
var Description4 = FocusModal2.Description;
|
|
393
|
+
Description4.displayName = "StackedFocusModal.Description";
|
|
394
|
+
var Content3 = forwardRef2(({ className, ...props }, ref) => {
|
|
395
|
+
return /* @__PURE__ */ jsx7(
|
|
396
|
+
FocusModal2.Content,
|
|
397
|
+
{
|
|
398
|
+
ref,
|
|
399
|
+
className: clx4("!top-6", className),
|
|
400
|
+
overlayProps: {
|
|
401
|
+
className: "bg-transparent"
|
|
402
|
+
},
|
|
403
|
+
...props
|
|
404
|
+
}
|
|
405
|
+
);
|
|
406
|
+
});
|
|
407
|
+
Content3.displayName = "StackedFocusModal.Content";
|
|
408
|
+
var StackedFocusModal = Object.assign(Root4, {
|
|
409
|
+
Close: Close4,
|
|
410
|
+
Header: Header4,
|
|
411
|
+
Body: Body4,
|
|
412
|
+
Content: Content3,
|
|
413
|
+
Trigger: Trigger2,
|
|
414
|
+
Footer: Footer4,
|
|
415
|
+
Description: Description4,
|
|
416
|
+
Title: Title4
|
|
248
417
|
});
|
|
249
418
|
|
|
250
419
|
export {
|
|
251
|
-
useStateAwareTo,
|
|
252
|
-
RouteModalForm,
|
|
253
|
-
RouteModalProvider,
|
|
254
|
-
StackedModalProvider,
|
|
255
420
|
useStackedModal,
|
|
421
|
+
RouteDrawer,
|
|
256
422
|
useRouteModal,
|
|
257
|
-
RouteFocusModal
|
|
423
|
+
RouteFocusModal,
|
|
424
|
+
StackedDrawer,
|
|
425
|
+
StackedFocusModal
|
|
258
426
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ordersQueryKeys
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GN6OCHP4.mjs";
|
|
4
4
|
import {
|
|
5
5
|
reservationItemsQueryKeys
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-N4O5FAUC.mjs";
|
|
7
7
|
import {
|
|
8
8
|
inventoryItemsQueryKeys
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-LEJUZW3P.mjs";
|
|
10
10
|
import {
|
|
11
11
|
queryClient
|
|
12
12
|
} from "./chunk-FXYH54JP.mjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
reservationItemsQueryKeys
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-N4O5FAUC.mjs";
|
|
4
4
|
import {
|
|
5
5
|
inventoryItemsQueryKeys
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-LEJUZW3P.mjs";
|
|
7
7
|
import {
|
|
8
8
|
queryClient
|
|
9
9
|
} from "./chunk-FXYH54JP.mjs";
|
|
@@ -208,7 +208,9 @@ var useCreateProduct = (options) => {
|
|
|
208
208
|
};
|
|
209
209
|
var useUpdateProduct = (id, options) => {
|
|
210
210
|
return useMutation({
|
|
211
|
-
mutationFn: (payload) => sdk.admin.product.update(id, payload
|
|
211
|
+
mutationFn: (payload) => sdk.admin.product.update(id, payload, {
|
|
212
|
+
fields: "-type,-collection,-options,-tags,-images,-variants,-sales_channels"
|
|
213
|
+
}),
|
|
212
214
|
onSuccess: async (data, variables, context) => {
|
|
213
215
|
await queryClient.invalidateQueries({
|
|
214
216
|
queryKey: productsQueryKeys.lists()
|
|
@@ -11,12 +11,9 @@ var useFeatureFlags = () => {
|
|
|
11
11
|
return useQuery({
|
|
12
12
|
queryKey: ["admin", "feature-flags"],
|
|
13
13
|
queryFn: async () => {
|
|
14
|
-
const response = await sdk.client.fetch(
|
|
15
|
-
"
|
|
16
|
-
|
|
17
|
-
method: "GET"
|
|
18
|
-
}
|
|
19
|
-
);
|
|
14
|
+
const response = await sdk.client.fetch("/admin/feature-flags", {
|
|
15
|
+
method: "GET"
|
|
16
|
+
});
|
|
20
17
|
return response.feature_flags;
|
|
21
18
|
},
|
|
22
19
|
staleTime: 5 * 60 * 1e3,
|
|
@@ -3,7 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-C76H5USB.mjs";
|
|
4
4
|
|
|
5
5
|
// src/hooks/table/query/use-product-table-query.tsx
|
|
6
|
-
var DEFAULT_FIELDS =
|
|
6
|
+
var DEFAULT_FIELDS = (
|
|
7
|
+
// TODO: Remove exclusion once we avoid including unnecessary relations by default in the query config
|
|
8
|
+
"id,title,handle,status,*collection,*sales_channels,variants.id,thumbnail,-type,-options,-tags,-images,-variants"
|
|
9
|
+
);
|
|
7
10
|
var useProductTableQuery = ({
|
|
8
11
|
prefix,
|
|
9
12
|
pageSize = 20
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
SaveViewDialog,
|
|
27
27
|
useViewConfiguration,
|
|
28
28
|
useViewConfigurations
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-TBEGSDLQ.mjs";
|
|
30
30
|
import {
|
|
31
31
|
useQueryParams
|
|
32
32
|
} from "./chunk-C76H5USB.mjs";
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
} from "./chunk-DG7J63J2.mjs";
|
|
36
36
|
import {
|
|
37
37
|
useFeatureFlag
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-M32MJOJN.mjs";
|
|
39
39
|
import {
|
|
40
40
|
useEntityColumns
|
|
41
41
|
} from "./chunk-3BF5SC66.mjs";
|
|
@@ -14,11 +14,9 @@ import {
|
|
|
14
14
|
ChipGroup
|
|
15
15
|
} from "./chunk-X5VECN6S.mjs";
|
|
16
16
|
import {
|
|
17
|
-
StackedFocusModal
|
|
18
|
-
} from "./chunk-XXBP2Z5M.mjs";
|
|
19
|
-
import {
|
|
17
|
+
StackedFocusModal,
|
|
20
18
|
useStackedModal
|
|
21
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-AERWK3TJ.mjs";
|
|
22
20
|
import {
|
|
23
21
|
countries
|
|
24
22
|
} from "./chunk-DG7J63J2.mjs";
|
|
@@ -31,14 +31,14 @@ import {
|
|
|
31
31
|
} from "./chunk-CBSCX7RE.mjs";
|
|
32
32
|
import {
|
|
33
33
|
useProductTableQuery
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-R65S6ZZV.mjs";
|
|
35
35
|
import {
|
|
36
36
|
useProductTableFilters
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-73EHKWNI.mjs";
|
|
38
38
|
import {
|
|
39
39
|
StackedDrawer,
|
|
40
40
|
StackedFocusModal
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-AERWK3TJ.mjs";
|
|
42
42
|
import {
|
|
43
43
|
useProductTypes
|
|
44
44
|
} from "./chunk-HKIF5HVL.mjs";
|
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
import {
|
|
52
52
|
useProduct,
|
|
53
53
|
useProducts
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-LEJUZW3P.mjs";
|
|
55
55
|
|
|
56
56
|
// src/routes/tax-regions/common/constants.ts
|
|
57
57
|
var TaxRateRuleReferenceType = /* @__PURE__ */ ((TaxRateRuleReferenceType2) => {
|
|
@@ -561,7 +561,10 @@ var TargetItem = ({
|
|
|
561
561
|
}) => {
|
|
562
562
|
const { product } = useProduct(
|
|
563
563
|
value,
|
|
564
|
-
{
|
|
564
|
+
{
|
|
565
|
+
// TODO: Remove exclusion once we avoid including unnecessary relations by default in the query config
|
|
566
|
+
fields: "id,title,-type,-collection,-options,-tags,-images,-variants,-sales_channels"
|
|
567
|
+
},
|
|
565
568
|
{ enabled: !label }
|
|
566
569
|
);
|
|
567
570
|
return /* @__PURE__ */ jsxs2("div", { className: "bg-ui-bg-field-component shadow-borders-base flex items-center justify-between gap-2 rounded-md px-2 py-0.5", children: [
|