@medusajs/dashboard 3.0.0-snapshot-20251214110905 → 3.0.0-snapshot-20251215162333
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/{adjust-inventory-I5VYMAI4.mjs → adjust-inventory-26YXAXQL.mjs} +2 -1
- package/dist/{api-key-management-create-CVRFY4PL.mjs → api-key-management-create-EMP32G2D.mjs} +4 -3
- package/dist/{api-key-management-detail-HRVP6HRC.mjs → api-key-management-detail-NRGL7HHX.mjs} +11 -10
- package/dist/{api-key-management-edit-JMU3WEPX.mjs → api-key-management-edit-IBM3ZXHK.mjs} +4 -3
- package/dist/{api-key-management-list-RGLZMUCB.mjs → api-key-management-list-LJSWRAGE.mjs} +4 -3
- package/dist/{api-key-management-sales-channels-4OU5VGIG.mjs → api-key-management-sales-channels-3GRNDBZ4.mjs} +4 -3
- package/dist/app.css +3 -0
- package/dist/app.js +1085 -835
- package/dist/app.mjs +12 -11
- package/dist/{campaign-detail-BDI3P2SF.mjs → campaign-detail-22Q6XWGL.mjs} +11 -10
- package/dist/{categories-metadata-BARTITD5.mjs → categories-metadata-J7M3XWI7.mjs} +11 -10
- package/dist/{category-create-L2KJCHPO.mjs → category-create-KHJZSC7G.mjs} +3 -2
- package/dist/{category-detail-CUMEBNXU.mjs → category-detail-RRKJPMEG.mjs} +13 -12
- package/dist/{category-edit-U6SLZSAX.mjs → category-edit-CTA2EPDG.mjs} +3 -2
- package/dist/{category-list-W7JW4PWA.mjs → category-list-4HZP4FRE.mjs} +4 -3
- package/dist/{category-organize-LLSVAO3U.mjs → category-organize-SXP33XET.mjs} +3 -2
- package/dist/{category-products-GYXTDDBQ.mjs → category-products-EFZRTCSF.mjs} +12 -11
- package/dist/{chunk-XIVBRONM.mjs → chunk-23GTCEOV.mjs} +1 -1
- package/dist/{chunk-N3FCYZV6.mjs → chunk-2XTBDCGE.mjs} +1 -1
- package/dist/{chunk-DS5IRNJY.mjs → chunk-32FPYJ3S.mjs} +1 -1
- package/dist/{chunk-FPBKWWSI.mjs → chunk-43X7ZR3P.mjs} +1 -1
- package/dist/{chunk-RU4ZS47V.mjs → chunk-4JQR6QNW.mjs} +2 -2
- package/dist/{chunk-Z6NHG5LQ.mjs → chunk-6P4Q4AAP.mjs} +3 -3
- package/dist/{chunk-F5NZDW7L.mjs → chunk-A2WBKOXJ.mjs} +2 -2
- package/dist/{chunk-F63F3FIT.mjs → chunk-A4XYK3MY.mjs} +2 -2
- package/dist/{chunk-NT6C7CHT.mjs → chunk-AWRCV3ME.mjs} +1 -1
- package/dist/{chunk-5X6SKB2P.mjs → chunk-BMS2QLJY.mjs} +1 -1
- package/dist/{chunk-67KHYLIQ.mjs → chunk-DK7IWUMK.mjs} +3 -3
- package/dist/{chunk-FEB3ZGTL.mjs → chunk-DNUVCBN7.mjs} +159 -5
- package/dist/{chunk-N4O5FAUC.mjs → chunk-FYWHE3W5.mjs} +1 -1
- package/dist/{chunk-HKKZJTRO.mjs → chunk-GRZSG4EP.mjs} +89 -34
- package/dist/chunk-HGRIOEAR.mjs +32 -0
- package/dist/{chunk-Y5UO73CH.mjs → chunk-HTCYX4VD.mjs} +1 -1
- package/dist/{chunk-34KFHPN6.mjs → chunk-IAV7IKJ6.mjs} +1 -1
- package/dist/{chunk-3BJLNORD.mjs → chunk-KQ4LC2YV.mjs} +1 -1
- package/dist/{chunk-GC3QXC6D.mjs → chunk-OHY2N2Q4.mjs} +4 -4
- package/dist/{chunk-7AX6R6G6.mjs → chunk-OSHH5GAS.mjs} +13 -1
- package/dist/{chunk-PXZEQZ6Q.mjs → chunk-PHLCT2HA.mjs} +1 -1
- package/dist/{chunk-35LSPN2U.mjs → chunk-QKALAT7P.mjs} +1 -1
- package/dist/{chunk-BBTE6VKD.mjs → chunk-RL5EYTP6.mjs} +1 -1
- package/dist/{chunk-B3AOQW2B.mjs → chunk-U6G4M5LP.mjs} +1 -1
- package/dist/{chunk-HKIF5HVL.mjs → chunk-UJ2TMPV4.mjs} +12 -0
- package/dist/{chunk-NHDFPGQ3.mjs → chunk-UWY5ZV66.mjs} +13 -1
- package/dist/{chunk-AH4DORIW.mjs → chunk-XY7A7GZJ.mjs} +1 -1
- package/dist/{chunk-FQDPOKEK.mjs → chunk-Y2YVTIJI.mjs} +1 -1
- package/dist/{chunk-Q4AXBDFH.mjs → chunk-YTYDWNYA.mjs} +155 -153
- package/dist/{chunk-2HDKZN4Q.mjs → chunk-YYOPBKME.mjs} +3 -3
- package/dist/{chunk-LEJUZW3P.mjs → chunk-Z6BFNHEO.mjs} +12 -0
- package/dist/{chunk-AIZ6W4QI.mjs → chunk-ZMG5B4FG.mjs} +1 -1
- package/dist/{collection-add-products-4WBPS6PY.mjs → collection-add-products-XUMV6XR7.mjs} +12 -11
- package/dist/{collection-create-4JX4YE47.mjs → collection-create-GWKWVT7B.mjs} +3 -2
- package/dist/{collection-detail-HT4SSV32.mjs → collection-detail-ONRBKJLN.mjs} +12 -11
- package/dist/{collection-edit-MXL35GQQ.mjs → collection-edit-EZIO2BR5.mjs} +3 -2
- package/dist/{collection-list-FYONEBDN.mjs → collection-list-XCC4SIPJ.mjs} +13 -12
- package/dist/{collection-metadata-YEZ2TBRX.mjs → collection-metadata-QK7MI3D2.mjs} +11 -10
- package/dist/{customer-detail-MB7CS7OG.mjs → customer-detail-FR6J37ZC.mjs} +12 -11
- package/dist/{customer-group-detail-U5UAP7QS.mjs → customer-group-detail-YSKSNETG.mjs} +11 -10
- package/dist/{customer-group-list-KAS6JSCQ.mjs → customer-group-list-XBCD4FZH.mjs} +11 -10
- package/dist/{customers-add-customer-group-UKLSPYEU.mjs → customers-add-customer-group-Q7FMR2Y5.mjs} +11 -10
- package/dist/{edit-inventory-item-RATTNP2Y.mjs → edit-inventory-item-H7DAZWIT.mjs} +2 -1
- package/dist/{edit-inventory-item-attributes-JHH5GSNL.mjs → edit-inventory-item-attributes-7HTXXPGZ.mjs} +2 -1
- package/dist/{edit-reservation-UZCSNLHY.mjs → edit-reservation-OVTRZHJR.mjs} +3 -2
- package/dist/{edit-rules-VMEHCXYQ.mjs → edit-rules-SMVRTCUP.mjs} +11 -10
- package/dist/en.json +1 -0
- package/dist/{inventory-create-KN72V2KK.mjs → inventory-create-3XONKYMZ.mjs} +12 -11
- package/dist/{inventory-detail-7OHCFAJO.mjs → inventory-detail-6A6GOLB6.mjs} +11 -10
- package/dist/{inventory-list-BQPHK3FV.mjs → inventory-list-2CJLAK3X.mjs} +2 -1
- package/dist/{inventory-metadata-I3IRRMLH.mjs → inventory-metadata-FNEJ3RAT.mjs} +11 -10
- package/dist/{inventory-stock-5IUICNEH.mjs → inventory-stock-S3ZYYCMZ.mjs} +13 -12
- package/dist/{location-detail-3MSUGB4W.mjs → location-detail-N3GUZSY7.mjs} +11 -10
- package/dist/{location-fulfillment-providers-ZVZMLCIC.mjs → location-fulfillment-providers-WM6DT252.mjs} +13 -12
- package/dist/{location-sales-channels-NKNM5TQK.mjs → location-sales-channels-WLVTMU4Z.mjs} +3 -2
- package/dist/{location-service-zone-shipping-option-create-CZWEHKVJ.mjs → location-service-zone-shipping-option-create-MJPH3WKX.mjs} +13 -12
- package/dist/{location-service-zone-shipping-option-pricing-Z5IFOLFJ.mjs → location-service-zone-shipping-option-pricing-6IRNPWJY.mjs} +2 -2
- package/dist/{login-OCYZM7SI.mjs → login-VNOLI5YG.mjs} +11 -10
- package/dist/{manage-locations-MLNMPQ5I.mjs → manage-locations-7HH6R4UP.mjs} +2 -1
- package/dist/{order-allocate-items-VRPPVPP3.mjs → order-allocate-items-HZGGYJ42.mjs} +4 -3
- package/dist/{order-create-claim-O3ZYTAIC.mjs → order-create-claim-GUYTLVPB.mjs} +13 -12
- package/dist/{order-create-edit-HUS7IRS3.mjs → order-create-edit-ODIN6GRW.mjs} +12 -11
- package/dist/{order-create-exchange-TUP4NHHX.mjs → order-create-exchange-ZT5RBRKL.mjs} +13 -12
- package/dist/{order-create-fulfillment-4BGDYHBB.mjs → order-create-fulfillment-OWUVTZXW.mjs} +11 -10
- package/dist/{order-create-refund-FA5ERI7M.mjs → order-create-refund-Q6HQY42R.mjs} +11 -10
- package/dist/{order-create-return-7GPHJ2WU.mjs → order-create-return-E2KILJX2.mjs} +5 -4
- package/dist/{order-create-shipment-27UBYPKT.mjs → order-create-shipment-WAGGEPRW.mjs} +11 -10
- package/dist/{order-detail-2J7KDTKG.mjs → order-detail-HFJONELJ.mjs} +15 -14
- package/dist/{order-edit-billing-address-E7CD5FBQ.mjs → order-edit-billing-address-UM76J4KX.mjs} +11 -10
- package/dist/{order-edit-email-ELRIQYVN.mjs → order-edit-email-CL3KNOCM.mjs} +11 -10
- package/dist/{order-edit-shipping-address-HVNAJUZI.mjs → order-edit-shipping-address-PIESTGVL.mjs} +11 -10
- package/dist/{order-export-TRMFVBFO.mjs → order-export-4MZUPMGD.mjs} +12 -11
- package/dist/{order-list-Y4FET3XV.mjs → order-list-ACSFGIPD.mjs} +6 -5
- package/dist/{order-metadata-THARHEJC.mjs → order-metadata-FHBB7MTG.mjs} +11 -10
- package/dist/{order-receive-return-X5ASB7DL.mjs → order-receive-return-PRVKP6J2.mjs} +12 -11
- package/dist/{order-request-transfer-PKF4ULJY.mjs → order-request-transfer-XSAGRUMT.mjs} +11 -10
- package/dist/{price-list-configuration-SZRY7CXO.mjs → price-list-configuration-IHPSUNZJ.mjs} +3 -2
- package/dist/{price-list-create-TYNSJDDM.mjs → price-list-create-YHXRQSC3.mjs} +14 -13
- package/dist/{price-list-detail-ORYFRNB6.mjs → price-list-detail-FR3FQR3H.mjs} +13 -12
- package/dist/{price-list-edit-I5QNCWJP.mjs → price-list-edit-53UW35L3.mjs} +3 -2
- package/dist/{price-list-list-AZOGEZAS.mjs → price-list-list-YSEM6IAI.mjs} +4 -3
- package/dist/{price-list-prices-add-MWAUNUBF.mjs → price-list-prices-add-GJVI47OY.mjs} +14 -13
- package/dist/{price-list-prices-edit-Z4YJ4YBY.mjs → price-list-prices-edit-E4Q5TQPM.mjs} +5 -4
- package/dist/{product-attributes-5QW6ZEYB.mjs → product-attributes-TKCE2M63.mjs} +12 -11
- package/dist/{product-create-YQ76CEF3.mjs → product-create-OLDZPMLW.mjs} +14 -13
- package/dist/{product-create-option-UMZKRNTC.mjs → product-create-option-7AOXAA4S.mjs} +2 -1
- package/dist/{product-create-variant-IASRY2JX.mjs → product-create-variant-KEBN5OR7.mjs} +12 -11
- package/dist/{product-detail-NVLJQGGK.mjs → product-detail-O6QWJIKR.mjs} +12 -11
- package/dist/{product-edit-DP42G3EU.mjs → product-edit-56XDGDUN.mjs} +12 -11
- package/dist/{product-edit-option-ZMTSLRG5.mjs → product-edit-option-LWJT3CYJ.mjs} +2 -1
- package/dist/{product-export-OK5FCD42.mjs → product-export-WUZYHPS5.mjs} +13 -12
- package/dist/{product-image-variants-edit-VEWNL52X.mjs → product-image-variants-edit-Y363J5NG.mjs} +11 -10
- package/dist/{product-import-LX625CIX.mjs → product-import-V3KQN4TV.mjs} +11 -10
- package/dist/{product-list-TXEPE6NL.mjs → product-list-DNTS7WUN.mjs} +12 -11
- package/dist/{product-media-ULNJ7JJY.mjs → product-media-3VJ7KENL.mjs} +2 -1
- package/dist/{product-metadata-ZKKBE6GG.mjs → product-metadata-GL2MVPDI.mjs} +11 -10
- package/dist/{product-organization-NMA2WJNT.mjs → product-organization-PNKWRNHC.mjs} +13 -12
- package/dist/{product-prices-5WCCQDS6.mjs → product-prices-JOG6IIQ7.mjs} +3 -2
- package/dist/{product-sales-channels-2PN4L7II.mjs → product-sales-channels-ANCFZZ5S.mjs} +3 -2
- package/dist/{product-shipping-profile-45XXB7FM.mjs → product-shipping-profile-ETQFZ7DC.mjs} +2 -1
- package/dist/{product-stock-KUHH6MFA.mjs → product-stock-NYUFMEVG.mjs} +13 -12
- package/dist/{product-tag-create-7EVRE5BL.mjs → product-tag-create-PQMDDKWH.mjs} +11 -10
- package/dist/{product-tag-detail-WULO55NT.mjs → product-tag-detail-EHBB3WUB.mjs} +14 -13
- package/dist/{product-tag-edit-J4ODRLXN.mjs → product-tag-edit-K3BBQLJR.mjs} +11 -10
- package/dist/{product-tag-list-V4CCQTL6.mjs → product-tag-list-LSW5FFVN.mjs} +14 -13
- package/dist/{product-tag-metadata-KHDYQMSG.mjs → product-tag-metadata-MJH5LH7E.mjs} +11 -10
- package/dist/{product-type-create-KHSNCQCV.mjs → product-type-create-DRFXTL5O.mjs} +2 -1
- package/dist/{product-type-detail-F35MUSLD.mjs → product-type-detail-3VB6AWUW.mjs} +13 -12
- package/dist/{product-type-edit-3LRBWZ3S.mjs → product-type-edit-SRHCZDK7.mjs} +2 -1
- package/dist/{product-type-list-K2GULUPF.mjs → product-type-list-FD3TGPNP.mjs} +3 -2
- package/dist/{product-type-metadata-CGXFFEJO.mjs → product-type-metadata-CDJDFFGQ.mjs} +11 -10
- package/dist/{product-variant-detail-NT2MB3Z4.mjs → product-variant-detail-43T33AQP.mjs} +11 -10
- package/dist/{product-variant-edit-KZ6D5CSA.mjs → product-variant-edit-DEZEY2H2.mjs} +11 -10
- package/dist/{product-variant-manage-inventory-items-OGM64KYP.mjs → product-variant-manage-inventory-items-Y2VEOHP7.mjs} +2 -1
- package/dist/{product-variant-media-C3KCFODU.mjs → product-variant-media-2WLVNGI4.mjs} +2 -1
- package/dist/{product-variant-metadata-I2PN64TH.mjs → product-variant-metadata-VTZDNWUT.mjs} +11 -10
- package/dist/{promotion-create-4KVSXYAI.mjs → promotion-create-HWFNUQXG.mjs} +11 -10
- package/dist/{promotion-detail-NGNVELME.mjs → promotion-detail-VJB55PJK.mjs} +11 -10
- package/dist/{refund-reason-create-CTAPBK3X.mjs → refund-reason-create-YHCDEHGQ.mjs} +11 -10
- package/dist/{refund-reason-edit-B6HRNXGE.mjs → refund-reason-edit-CZ5QZ2SZ.mjs} +11 -10
- package/dist/{refund-reason-list-7OUHUORB.mjs → refund-reason-list-URYYYEK6.mjs} +11 -10
- package/dist/{region-metadata-GRG3QSJY.mjs → region-metadata-H6XXUQ4S.mjs} +11 -10
- package/dist/{reservation-create-C6HTEF3R.mjs → reservation-create-ZCIYM6JI.mjs} +3 -2
- package/dist/{reservation-detail-KAI7N5UP.mjs → reservation-detail-LZAQL4XA.mjs} +11 -10
- package/dist/{reservation-list-SOJRN5RI.mjs → reservation-list-2DN3YHIJ.mjs} +3 -2
- package/dist/{reservation-metadata-TWV7KLOB.mjs → reservation-metadata-5HZSDDOK.mjs} +11 -10
- package/dist/{sales-channel-add-products-CBECZU46.mjs → sales-channel-add-products-VH5T3GDA.mjs} +12 -11
- package/dist/{sales-channel-create-4XLJDVJO.mjs → sales-channel-create-MI7HHZYE.mjs} +3 -2
- package/dist/{sales-channel-detail-NQSBPPIE.mjs → sales-channel-detail-I2ZHVXMG.mjs} +12 -11
- package/dist/{sales-channel-edit-UZGSXD5X.mjs → sales-channel-edit-VSHOIR37.mjs} +3 -2
- package/dist/{sales-channel-list-UYN2OCBR.mjs → sales-channel-list-3FV4S2NN.mjs} +11 -10
- package/dist/{sales-channel-metadata-4XWXYN2E.mjs → sales-channel-metadata-M364R4RJ.mjs} +11 -10
- package/dist/{shipping-option-type-create-U7PIKVMV.mjs → shipping-option-type-create-C5WUWON7.mjs} +11 -10
- package/dist/{shipping-option-type-detail-QNZLQGI6.mjs → shipping-option-type-detail-PENS2K73.mjs} +12 -11
- package/dist/{shipping-option-type-edit-BP6HLZ7B.mjs → shipping-option-type-edit-CIU5EHRP.mjs} +11 -10
- package/dist/{shipping-option-type-list-L274RM6A.mjs → shipping-option-type-list-ZMZMXFME.mjs} +12 -11
- package/dist/{shipping-profile-metadata-BZKPLXHO.mjs → shipping-profile-metadata-75G2NNMA.mjs} +11 -10
- package/dist/{store-add-locales-EXR3NLOM.mjs → store-add-locales-IZOZP5C6.mjs} +12 -18
- package/dist/{store-detail-T4YY5NHG.mjs → store-detail-4IBAEVSD.mjs} +16 -28
- package/dist/{store-edit-AB5CDUTK.mjs → store-edit-5ZS562ZO.mjs} +1 -42
- package/dist/{store-metadata-FN3WZLXA.mjs → store-metadata-CYXTVJUE.mjs} +11 -10
- package/dist/{tax-region-create-PWXTFE3Q.mjs → tax-region-create-DWGL4EUT.mjs} +11 -10
- package/dist/{tax-region-detail-GJW63AMV.mjs → tax-region-detail-O2T7BI3V.mjs} +16 -15
- package/dist/{tax-region-edit-WOUO7TPQ.mjs → tax-region-edit-EEVEEU2Q.mjs} +11 -10
- package/dist/{tax-region-province-detail-FCHPIRXW.mjs → tax-region-province-detail-2W7RXAM5.mjs} +16 -15
- package/dist/{tax-region-tax-override-create-ZLWXRNLN.mjs → tax-region-tax-override-create-7IM4ZVPH.mjs} +14 -13
- package/dist/{tax-region-tax-override-edit-ZM2JUFNJ.mjs → tax-region-tax-override-edit-3ZT5IZYR.mjs} +15 -14
- package/dist/{translation-list-Y2GWTRGW.mjs → translation-list-AFK5MGSH.mjs} +68 -79
- package/dist/{translations-edit-PM4PSMRF.mjs → translations-edit-EN47PWTO.mjs} +146 -81
- package/dist/{user-detail-KEDJ7N3Q.mjs → user-detail-BJUXLZZQ.mjs} +2 -1
- package/dist/{user-metadata-LNADHFTW.mjs → user-metadata-2WPJOEJA.mjs} +11 -10
- package/dist/{workflow-execution-detail-POTSURJX.mjs → workflow-execution-detail-H2AKEZJX.mjs} +11 -10
- package/package.json +9 -9
- package/src/components/data-grid/components/data-grid-root.tsx +184 -5
- package/src/components/data-grid/data-grid.tsx +12 -1
- package/src/components/data-grid/helpers/create-data-grid-column-helper.ts +18 -0
- package/src/components/data-grid/hooks/use-data-grid-cell.tsx +1 -1
- package/src/hooks/api/categories.tsx +32 -0
- package/src/hooks/api/collections.tsx +31 -0
- package/src/hooks/api/product-types.tsx +32 -0
- package/src/hooks/api/product-variants.tsx +40 -2
- package/src/hooks/api/products.tsx +29 -0
- package/src/hooks/api/tags.tsx +32 -0
- package/src/hooks/api/translations.tsx +114 -62
- package/src/hooks/use-infinite-list.tsx +92 -0
- package/src/i18n/translations/$schema.json +4 -0
- package/src/i18n/translations/en.json +1 -0
- package/src/i18n/translations/es.json +1 -0
- package/src/routes/store/store-add-locales/components/add-locales-form/add-locales-form.tsx +0 -9
- package/src/routes/store/store-detail/components/store-general-section/store-general-section.tsx +0 -24
- package/src/routes/store/store-detail/components/store-locale-section/store-locale-section.tsx +1 -9
- package/src/routes/store/store-edit/components/edit-store-form/edit-store-form.tsx +1 -45
- package/src/routes/translations/translation-list/components/active-locales-section/active-locales-section.tsx +2 -2
- package/src/routes/translations/translation-list/components/translation-list-section/translation-list-section.tsx +1 -8
- package/src/routes/translations/translation-list/components/translations-completion-section/translations-completion-section.tsx +10 -4
- package/src/routes/translations/translation-list/translation-list.tsx +66 -68
- package/src/routes/translations/translations-edit/components/translations-edit-form/translations-edit-form.tsx +131 -65
- package/src/routes/translations/translations-edit/translations-edit.tsx +36 -12
- package/src/routes/translations/translations-edit/utils/index.ts +0 -1
- package/src/routes/translations/translations-edit/utils/reference-label-map.ts +0 -10
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DataGrid,
|
|
3
3
|
createDataGridHelper
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-DNUVCBN7.mjs";
|
|
5
5
|
import "./chunk-DK4WIVY6.mjs";
|
|
6
6
|
import "./chunk-IUCDCPJU.mjs";
|
|
7
7
|
import {
|
|
@@ -23,36 +23,38 @@ import {
|
|
|
23
23
|
import "./chunk-OBQI23QM.mjs";
|
|
24
24
|
import {
|
|
25
25
|
useBatchTranslations,
|
|
26
|
-
useReferenceTranslations
|
|
27
|
-
|
|
26
|
+
useReferenceTranslations,
|
|
27
|
+
useTranslationSettings
|
|
28
|
+
} from "./chunk-GRZSG4EP.mjs";
|
|
28
29
|
import "./chunk-I4OBEAOJ.mjs";
|
|
29
30
|
import "./chunk-HI6URQ7H.mjs";
|
|
30
31
|
import "./chunk-6CLQKVAU.mjs";
|
|
31
32
|
import "./chunk-KI7TOXBR.mjs";
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-UJ2TMPV4.mjs";
|
|
34
|
+
import "./chunk-23GTCEOV.mjs";
|
|
34
35
|
import "./chunk-WAXMT4IY.mjs";
|
|
35
36
|
import "./chunk-DYDGGABK.mjs";
|
|
36
37
|
import "./chunk-LGNTHZ5Y.mjs";
|
|
37
38
|
import "./chunk-CN7JXSGW.mjs";
|
|
38
39
|
import "./chunk-5BQQRHQS.mjs";
|
|
39
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-HTCYX4VD.mjs";
|
|
40
41
|
import "./chunk-5AFMB7XQ.mjs";
|
|
41
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-UWY5ZV66.mjs";
|
|
42
43
|
import "./chunk-A63RZVX6.mjs";
|
|
43
44
|
import "./chunk-HBXV7ENS.mjs";
|
|
44
45
|
import "./chunk-CDORR33H.mjs";
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
46
|
+
import "./chunk-4JQR6QNW.mjs";
|
|
47
|
+
import "./chunk-FYWHE3W5.mjs";
|
|
48
|
+
import "./chunk-OSHH5GAS.mjs";
|
|
49
|
+
import "./chunk-2XTBDCGE.mjs";
|
|
49
50
|
import "./chunk-3BF5SC66.mjs";
|
|
50
51
|
import {
|
|
51
52
|
useStore
|
|
52
53
|
} from "./chunk-VCSSQVPD.mjs";
|
|
53
54
|
import "./chunk-HP2JH45P.mjs";
|
|
54
55
|
import "./chunk-SQDIZZDW.mjs";
|
|
55
|
-
import "./chunk-
|
|
56
|
+
import "./chunk-Z6BFNHEO.mjs";
|
|
57
|
+
import "./chunk-HGRIOEAR.mjs";
|
|
56
58
|
import "./chunk-FXYH54JP.mjs";
|
|
57
59
|
import "./chunk-774WSTCC.mjs";
|
|
58
60
|
import "./chunk-NFEK63OE.mjs";
|
|
@@ -68,20 +70,6 @@ import { useMemo, useRef } from "react";
|
|
|
68
70
|
import { useForm } from "react-hook-form";
|
|
69
71
|
import { useTranslation } from "react-i18next";
|
|
70
72
|
import { z } from "zod";
|
|
71
|
-
|
|
72
|
-
// src/routes/translations/translations-edit/utils/reference-label-map.ts
|
|
73
|
-
var REFERENCE_LABEL_MAP = {
|
|
74
|
-
product: "Products",
|
|
75
|
-
product_variant: "Product Variants",
|
|
76
|
-
product_category: "Product Categories",
|
|
77
|
-
product_collection: "Product Collections",
|
|
78
|
-
product_type: "Product Types",
|
|
79
|
-
product_tag: "Product Tags",
|
|
80
|
-
product_option: "Product Options",
|
|
81
|
-
product_option_value: "Product Option Values"
|
|
82
|
-
};
|
|
83
|
-
|
|
84
|
-
// src/routes/translations/translations-edit/components/translations-edit-form/translations-edit-form.tsx
|
|
85
73
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
86
74
|
var LocaleTranslationSchema = z.object({
|
|
87
75
|
id: z.string().nullish(),
|
|
@@ -108,10 +96,9 @@ function initTranslationsFormState(translations, references, availableLocales, t
|
|
|
108
96
|
for (const locale of availableLocales) {
|
|
109
97
|
const key = `${reference.id}:${locale.locale_code}`;
|
|
110
98
|
const existing = existingMap.get(key);
|
|
111
|
-
const isDefaultLocale = locale.is_default;
|
|
112
99
|
const fields = {};
|
|
113
100
|
for (const fieldName of translatableFields) {
|
|
114
|
-
const fieldValue =
|
|
101
|
+
const fieldValue = existing?.translations?.[fieldName] ?? "";
|
|
115
102
|
fields[fieldName] = fieldValue;
|
|
116
103
|
}
|
|
117
104
|
locales[locale.locale_code] = {
|
|
@@ -126,25 +113,15 @@ function initTranslationsFormState(translations, references, availableLocales, t
|
|
|
126
113
|
entities: entitiesTranslationState
|
|
127
114
|
};
|
|
128
115
|
}
|
|
129
|
-
function buildTranslationRows(references,
|
|
130
|
-
const existingMap = /* @__PURE__ */ new Map();
|
|
131
|
-
for (const t of translations) {
|
|
132
|
-
existingMap.set(`${t.reference_id}:${t.locale_code}`, t);
|
|
133
|
-
}
|
|
116
|
+
function buildTranslationRows(references, translatableFields) {
|
|
134
117
|
return references.map((reference) => ({
|
|
135
118
|
_type: "entity",
|
|
136
119
|
reference_id: reference.id,
|
|
137
|
-
subRows:
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
reference_id: reference.id,
|
|
143
|
-
locale_code: locale.locale_code,
|
|
144
|
-
locale_name: locale.locale.name,
|
|
145
|
-
id: existing?.id
|
|
146
|
-
};
|
|
147
|
-
})
|
|
120
|
+
subRows: translatableFields.map((fieldName) => ({
|
|
121
|
+
_type: "field",
|
|
122
|
+
reference_id: reference.id,
|
|
123
|
+
field_name: fieldName
|
|
124
|
+
}))
|
|
148
125
|
}));
|
|
149
126
|
}
|
|
150
127
|
function transformToBatchPayload(currentState, initialState, entityType) {
|
|
@@ -188,40 +165,69 @@ function transformToBatchPayload(currentState, initialState, entityType) {
|
|
|
188
165
|
}
|
|
189
166
|
var columnHelper = createDataGridHelper();
|
|
190
167
|
function useTranslationsGridColumns({
|
|
168
|
+
entities,
|
|
191
169
|
translatableFields,
|
|
170
|
+
availableLocales,
|
|
192
171
|
modalFields = []
|
|
193
172
|
}) {
|
|
194
173
|
const { t } = useTranslation();
|
|
195
174
|
const columns = useMemo(() => {
|
|
196
175
|
return [
|
|
197
176
|
columnHelper.column({
|
|
198
|
-
id: "
|
|
199
|
-
|
|
177
|
+
id: "field",
|
|
178
|
+
name: "field",
|
|
179
|
+
header: void 0,
|
|
200
180
|
cell: (context) => {
|
|
201
181
|
const row = context.row.original;
|
|
202
182
|
if (isEntityRow(row)) {
|
|
203
183
|
return /* @__PURE__ */ jsx(DataGrid.ReadonlyCell, { context });
|
|
204
184
|
}
|
|
205
|
-
return /* @__PURE__ */ jsx(DataGrid.ReadonlyCell, { context, color: "normal", children: /* @__PURE__ */ jsx("div", { className: "flex h-full w-full items-center gap-x-2 overflow-hidden", children: /* @__PURE__ */ jsx("span", { className: "truncate", children: row.
|
|
185
|
+
return /* @__PURE__ */ jsx(DataGrid.ReadonlyCell, { context, color: "normal", children: /* @__PURE__ */ jsx("div", { className: "flex h-full w-full items-center gap-x-2 overflow-hidden", children: /* @__PURE__ */ jsx("span", { className: "truncate", children: t(`fields.${row.field_name}`, {
|
|
186
|
+
defaultValue: row.field_name
|
|
187
|
+
}) }) }) });
|
|
206
188
|
},
|
|
207
189
|
disableHiding: true
|
|
208
190
|
}),
|
|
209
|
-
|
|
210
|
-
|
|
191
|
+
columnHelper.column({
|
|
192
|
+
id: "original",
|
|
193
|
+
name: "original",
|
|
194
|
+
header: t("general.original"),
|
|
195
|
+
cell: (context) => {
|
|
196
|
+
const row = context.row.original;
|
|
197
|
+
if (isEntityRow(row)) {
|
|
198
|
+
return /* @__PURE__ */ jsx(DataGrid.ReadonlyCell, { context });
|
|
199
|
+
}
|
|
200
|
+
const entity = entities.find(
|
|
201
|
+
(entity2) => entity2.id === row.reference_id
|
|
202
|
+
);
|
|
203
|
+
if (!entity) {
|
|
204
|
+
return null;
|
|
205
|
+
}
|
|
206
|
+
return /* @__PURE__ */ jsx(DataGrid.ReadonlyCell, { context, children: entity[row.field_name] });
|
|
207
|
+
}
|
|
208
|
+
}),
|
|
209
|
+
...availableLocales.map((locale) => {
|
|
211
210
|
return columnHelper.column({
|
|
212
|
-
id:
|
|
213
|
-
|
|
211
|
+
id: locale.locale_code,
|
|
212
|
+
name: locale.locale.name,
|
|
213
|
+
header: () => locale.locale.name,
|
|
214
214
|
cell: (context) => {
|
|
215
215
|
const row = context.row.original;
|
|
216
216
|
if (isEntityRow(row)) {
|
|
217
|
-
return /* @__PURE__ */ jsx(
|
|
217
|
+
return /* @__PURE__ */ jsx(
|
|
218
|
+
DataGrid.ReadonlyCell,
|
|
219
|
+
{
|
|
220
|
+
context
|
|
221
|
+
}
|
|
222
|
+
);
|
|
218
223
|
}
|
|
224
|
+
const useModal = modalFields.includes(row.field_name);
|
|
219
225
|
if (useModal) {
|
|
220
226
|
return /* @__PURE__ */ jsx(
|
|
221
227
|
DataGrid.ExpandableTextCell,
|
|
222
228
|
{
|
|
223
229
|
context,
|
|
224
|
-
fieldLabel:
|
|
230
|
+
fieldLabel: row.field_name
|
|
225
231
|
}
|
|
226
232
|
);
|
|
227
233
|
}
|
|
@@ -232,13 +238,13 @@ function useTranslationsGridColumns({
|
|
|
232
238
|
if (isEntityRow(row)) {
|
|
233
239
|
return null;
|
|
234
240
|
}
|
|
235
|
-
return `entities.${row.reference_id}.locales.${
|
|
241
|
+
return `entities.${row.reference_id}.locales.${locale.locale_code}.fields.${row.field_name}`;
|
|
236
242
|
},
|
|
237
243
|
type: "text"
|
|
238
244
|
});
|
|
239
245
|
})
|
|
240
246
|
];
|
|
241
|
-
}, [t, translatableFields, modalFields]);
|
|
247
|
+
}, [t, translatableFields, availableLocales, modalFields]);
|
|
242
248
|
return columns;
|
|
243
249
|
}
|
|
244
250
|
var TranslationsEditForm = ({
|
|
@@ -247,12 +253,20 @@ var TranslationsEditForm = ({
|
|
|
247
253
|
entityType,
|
|
248
254
|
availableLocales,
|
|
249
255
|
translatableFields,
|
|
250
|
-
modalFields = []
|
|
256
|
+
modalFields = [],
|
|
257
|
+
fetchNextPage,
|
|
258
|
+
hasNextPage,
|
|
259
|
+
isFetchingNextPage,
|
|
260
|
+
referenceCount
|
|
251
261
|
}) => {
|
|
252
262
|
const { t } = useTranslation();
|
|
253
263
|
const { handleSuccess, setCloseOnEscape } = useRouteModal();
|
|
254
264
|
const direction = useDocumentDirection();
|
|
255
265
|
const entities = useMemo(() => references, [references]);
|
|
266
|
+
const totalCount = useMemo(
|
|
267
|
+
() => referenceCount * (translatableFields.length + 1),
|
|
268
|
+
[referenceCount, translatableFields]
|
|
269
|
+
);
|
|
256
270
|
const initialState = useRef(
|
|
257
271
|
initTranslationsFormState(
|
|
258
272
|
translations,
|
|
@@ -266,8 +280,8 @@ var TranslationsEditForm = ({
|
|
|
266
280
|
defaultValues: initialState.current
|
|
267
281
|
});
|
|
268
282
|
const rows = useMemo(
|
|
269
|
-
() => buildTranslationRows(entities,
|
|
270
|
-
[entities,
|
|
283
|
+
() => buildTranslationRows(entities, translatableFields),
|
|
284
|
+
[entities, translatableFields]
|
|
271
285
|
);
|
|
272
286
|
const { mutateAsync, isPending } = useBatchTranslations(entityType);
|
|
273
287
|
const handleSubmit = form.handleSubmit(async (values) => {
|
|
@@ -282,22 +296,49 @@ var TranslationsEditForm = ({
|
|
|
282
296
|
);
|
|
283
297
|
return;
|
|
284
298
|
}
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
299
|
+
const BATCH_SIZE = 150;
|
|
300
|
+
const totalItems = payload.create.length + payload.update.length + payload.delete.length;
|
|
301
|
+
const batchCount = Math.ceil(totalItems / BATCH_SIZE);
|
|
302
|
+
for (let i = 0; i < batchCount; i++) {
|
|
303
|
+
let currentBatchAvailable = BATCH_SIZE;
|
|
304
|
+
const currentBatch = {
|
|
305
|
+
create: [],
|
|
306
|
+
update: [],
|
|
307
|
+
delete: []
|
|
308
|
+
};
|
|
309
|
+
if (payload.create.length > 0) {
|
|
310
|
+
currentBatch.create = payload.create.splice(0, currentBatchAvailable);
|
|
311
|
+
currentBatchAvailable -= currentBatch.create.length;
|
|
312
|
+
}
|
|
313
|
+
if (payload.update.length > 0) {
|
|
314
|
+
currentBatch.update = payload.update.splice(0, currentBatchAvailable);
|
|
315
|
+
currentBatchAvailable -= currentBatch.update.length;
|
|
316
|
+
}
|
|
317
|
+
if (payload.delete.length > 0) {
|
|
318
|
+
currentBatch.delete = payload.delete.splice(0, currentBatchAvailable);
|
|
319
|
+
currentBatchAvailable -= currentBatch.delete.length;
|
|
296
320
|
}
|
|
297
|
-
|
|
321
|
+
await mutateAsync(currentBatch, {
|
|
322
|
+
onSuccess: () => {
|
|
323
|
+
if (i === batchCount - 1) {
|
|
324
|
+
toast.success(
|
|
325
|
+
t("translations.edit.successToast", {
|
|
326
|
+
defaultValue: "Translations updated successfully"
|
|
327
|
+
})
|
|
328
|
+
);
|
|
329
|
+
handleSuccess();
|
|
330
|
+
}
|
|
331
|
+
},
|
|
332
|
+
onError: (error) => {
|
|
333
|
+
toast.error(error.message);
|
|
334
|
+
}
|
|
335
|
+
});
|
|
336
|
+
}
|
|
298
337
|
});
|
|
299
338
|
const columns = useTranslationsGridColumns({
|
|
339
|
+
entities,
|
|
300
340
|
translatableFields,
|
|
341
|
+
availableLocales,
|
|
301
342
|
modalFields
|
|
302
343
|
});
|
|
303
344
|
return /* @__PURE__ */ jsx(RouteFocusModal.Form, { form, children: /* @__PURE__ */ jsx(KeyboundForm, { onSubmit: handleSubmit, className: "flex h-full flex-col", children: /* @__PURE__ */ jsxs(
|
|
@@ -307,7 +348,7 @@ var TranslationsEditForm = ({
|
|
|
307
348
|
defaultValue: entityType,
|
|
308
349
|
className: "flex h-full flex-col overflow-hidden",
|
|
309
350
|
children: [
|
|
310
|
-
/* @__PURE__ */ jsx(RouteFocusModal.Header, { children: /* @__PURE__ */ jsx("div", { className: "-my-2 w-full border-l", children: /* @__PURE__ */ jsx(ProgressTabs.List, { className: "justify-start-start flex w-full items-center", children: /* @__PURE__ */ jsx(ProgressTabs.Trigger, { value: entityType, children:
|
|
351
|
+
/* @__PURE__ */ jsx(RouteFocusModal.Header, { children: /* @__PURE__ */ jsx("div", { className: "-my-2 w-full border-l", children: /* @__PURE__ */ jsx(ProgressTabs.List, { className: "justify-start-start flex w-full items-center", children: /* @__PURE__ */ jsx(ProgressTabs.Trigger, { value: entityType, children: entityType.split("_").map((word) => word.charAt(0).toUpperCase() + word.slice(1)).join(" ") }) }) }) }),
|
|
311
352
|
/* @__PURE__ */ jsx(RouteFocusModal.Body, { className: "size-full overflow-hidden", children: /* @__PURE__ */ jsx(
|
|
312
353
|
ProgressTabs.Content,
|
|
313
354
|
{
|
|
@@ -324,7 +365,11 @@ var TranslationsEditForm = ({
|
|
|
324
365
|
}
|
|
325
366
|
},
|
|
326
367
|
state: form,
|
|
327
|
-
onEditingChange: (editing) => setCloseOnEscape(!editing)
|
|
368
|
+
onEditingChange: (editing) => setCloseOnEscape(!editing),
|
|
369
|
+
totalRowCount: totalCount,
|
|
370
|
+
onFetchMore: fetchNextPage,
|
|
371
|
+
isFetchingMore: isFetchingNextPage,
|
|
372
|
+
hasNextPage
|
|
328
373
|
}
|
|
329
374
|
)
|
|
330
375
|
}
|
|
@@ -340,6 +385,7 @@ var TranslationsEditForm = ({
|
|
|
340
385
|
|
|
341
386
|
// src/routes/translations/translations-edit/translations-edit.tsx
|
|
342
387
|
import { useEffect } from "react";
|
|
388
|
+
import { keepPreviousData } from "@tanstack/react-query";
|
|
343
389
|
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
344
390
|
var TranslationsEdit = () => {
|
|
345
391
|
const isTranslationsEnabled = useFeatureFlag("translation");
|
|
@@ -353,25 +399,40 @@ var TranslationsEdit = () => {
|
|
|
353
399
|
return;
|
|
354
400
|
}
|
|
355
401
|
}, [reference, navigate, isTranslationsEnabled]);
|
|
402
|
+
const {
|
|
403
|
+
translatable_fields,
|
|
404
|
+
isPending: isTranslationSettingsPending,
|
|
405
|
+
isError: isTranslationSettingsError,
|
|
406
|
+
error: translationSettingsError
|
|
407
|
+
} = useTranslationSettings({ entity_type: reference });
|
|
356
408
|
const {
|
|
357
409
|
translations,
|
|
358
410
|
references,
|
|
359
|
-
|
|
411
|
+
fetchNextPage,
|
|
412
|
+
count,
|
|
413
|
+
isFetchingNextPage,
|
|
414
|
+
hasNextPage,
|
|
360
415
|
isPending,
|
|
361
416
|
isError,
|
|
362
417
|
error
|
|
363
|
-
} = useReferenceTranslations(
|
|
364
|
-
|
|
365
|
-
|
|
418
|
+
} = useReferenceTranslations(
|
|
419
|
+
reference,
|
|
420
|
+
translatable_fields?.[reference] ?? [],
|
|
421
|
+
referenceIdParam,
|
|
422
|
+
{
|
|
423
|
+
enabled: !!translatable_fields && !!reference,
|
|
424
|
+
placeholderData: keepPreviousData
|
|
425
|
+
}
|
|
426
|
+
);
|
|
366
427
|
const {
|
|
367
428
|
store,
|
|
368
429
|
isPending: isStorePending,
|
|
369
430
|
isError: isStoreError,
|
|
370
431
|
error: storeError
|
|
371
432
|
} = useStore();
|
|
372
|
-
const ready = !isPending && !!translations && !!
|
|
373
|
-
if (isError || isStoreError) {
|
|
374
|
-
throw error || storeError;
|
|
433
|
+
const ready = !isPending && !!translations && !!translatable_fields && !isTranslationSettingsPending && !!references && !isStorePending && !!store;
|
|
434
|
+
if (isError || isStoreError || isTranslationSettingsError) {
|
|
435
|
+
throw error || storeError || translationSettingsError;
|
|
375
436
|
}
|
|
376
437
|
return /* @__PURE__ */ jsx2(RouteFocusModal, { prev: referenceIdParam.length ? -1 : "..", children: ready && /* @__PURE__ */ jsx2(
|
|
377
438
|
TranslationsEditForm,
|
|
@@ -380,8 +441,12 @@ var TranslationsEdit = () => {
|
|
|
380
441
|
references,
|
|
381
442
|
entityType: reference,
|
|
382
443
|
availableLocales: store?.supported_locales ?? [],
|
|
383
|
-
translatableFields,
|
|
384
|
-
modalFields:
|
|
444
|
+
translatableFields: translatable_fields[reference],
|
|
445
|
+
modalFields: translatable_fields[reference],
|
|
446
|
+
fetchNextPage,
|
|
447
|
+
hasNextPage,
|
|
448
|
+
isFetchingNextPage,
|
|
449
|
+
referenceCount: count
|
|
385
450
|
}
|
|
386
451
|
) });
|
|
387
452
|
};
|
|
@@ -12,13 +12,13 @@ import "./chunk-LPEUYMRK.mjs";
|
|
|
12
12
|
import "./chunk-OC7BQLYI.mjs";
|
|
13
13
|
import "./chunk-S4DMV3ZT.mjs";
|
|
14
14
|
import "./chunk-OBQI23QM.mjs";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-GRZSG4EP.mjs";
|
|
16
16
|
import "./chunk-I4OBEAOJ.mjs";
|
|
17
17
|
import "./chunk-HI6URQ7H.mjs";
|
|
18
18
|
import "./chunk-6CLQKVAU.mjs";
|
|
19
19
|
import "./chunk-KI7TOXBR.mjs";
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-UJ2TMPV4.mjs";
|
|
21
|
+
import "./chunk-23GTCEOV.mjs";
|
|
22
22
|
import "./chunk-WAXMT4IY.mjs";
|
|
23
23
|
import "./chunk-DYDGGABK.mjs";
|
|
24
24
|
import "./chunk-LGNTHZ5Y.mjs";
|
|
@@ -27,21 +27,22 @@ import {
|
|
|
27
27
|
useUpdateUser,
|
|
28
28
|
useUser
|
|
29
29
|
} from "./chunk-5BQQRHQS.mjs";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-HTCYX4VD.mjs";
|
|
31
31
|
import "./chunk-5AFMB7XQ.mjs";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-UWY5ZV66.mjs";
|
|
33
33
|
import "./chunk-A63RZVX6.mjs";
|
|
34
34
|
import "./chunk-HBXV7ENS.mjs";
|
|
35
35
|
import "./chunk-CDORR33H.mjs";
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-4JQR6QNW.mjs";
|
|
37
|
+
import "./chunk-FYWHE3W5.mjs";
|
|
38
|
+
import "./chunk-OSHH5GAS.mjs";
|
|
39
|
+
import "./chunk-2XTBDCGE.mjs";
|
|
40
40
|
import "./chunk-3BF5SC66.mjs";
|
|
41
41
|
import "./chunk-VCSSQVPD.mjs";
|
|
42
42
|
import "./chunk-HP2JH45P.mjs";
|
|
43
43
|
import "./chunk-SQDIZZDW.mjs";
|
|
44
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-Z6BFNHEO.mjs";
|
|
45
|
+
import "./chunk-HGRIOEAR.mjs";
|
|
45
46
|
import "./chunk-FXYH54JP.mjs";
|
|
46
47
|
import "./chunk-774WSTCC.mjs";
|
|
47
48
|
import "./chunk-NFEK63OE.mjs";
|
package/dist/{workflow-execution-detail-POTSURJX.mjs → workflow-execution-detail-H2AKEZJX.mjs}
RENAMED
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
import {
|
|
21
21
|
useDocumentDirection
|
|
22
22
|
} from "./chunk-S4DMV3ZT.mjs";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-GRZSG4EP.mjs";
|
|
24
24
|
import "./chunk-I4OBEAOJ.mjs";
|
|
25
25
|
import "./chunk-HI6URQ7H.mjs";
|
|
26
26
|
import "./chunk-6CLQKVAU.mjs";
|
|
@@ -28,28 +28,29 @@ import {
|
|
|
28
28
|
useWorkflowExecution,
|
|
29
29
|
workflowExecutionsQueryKeys
|
|
30
30
|
} from "./chunk-KI7TOXBR.mjs";
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-UJ2TMPV4.mjs";
|
|
32
|
+
import "./chunk-23GTCEOV.mjs";
|
|
33
33
|
import "./chunk-WAXMT4IY.mjs";
|
|
34
34
|
import "./chunk-DYDGGABK.mjs";
|
|
35
35
|
import "./chunk-LGNTHZ5Y.mjs";
|
|
36
36
|
import "./chunk-CN7JXSGW.mjs";
|
|
37
37
|
import "./chunk-5BQQRHQS.mjs";
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-HTCYX4VD.mjs";
|
|
39
39
|
import "./chunk-5AFMB7XQ.mjs";
|
|
40
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-UWY5ZV66.mjs";
|
|
41
41
|
import "./chunk-A63RZVX6.mjs";
|
|
42
42
|
import "./chunk-HBXV7ENS.mjs";
|
|
43
43
|
import "./chunk-CDORR33H.mjs";
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-4JQR6QNW.mjs";
|
|
45
|
+
import "./chunk-FYWHE3W5.mjs";
|
|
46
|
+
import "./chunk-OSHH5GAS.mjs";
|
|
47
|
+
import "./chunk-2XTBDCGE.mjs";
|
|
48
48
|
import "./chunk-3BF5SC66.mjs";
|
|
49
49
|
import "./chunk-VCSSQVPD.mjs";
|
|
50
50
|
import "./chunk-HP2JH45P.mjs";
|
|
51
51
|
import "./chunk-SQDIZZDW.mjs";
|
|
52
|
-
import "./chunk-
|
|
52
|
+
import "./chunk-Z6BFNHEO.mjs";
|
|
53
|
+
import "./chunk-HGRIOEAR.mjs";
|
|
53
54
|
import {
|
|
54
55
|
queryClient
|
|
55
56
|
} from "./chunk-FXYH54JP.mjs";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@medusajs/dashboard",
|
|
3
|
-
"version": "3.0.0-snapshot-
|
|
3
|
+
"version": "3.0.0-snapshot-20251215162333",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"generate:static": "node ./scripts/generate-currencies.js && prettier --write ./src/lib/currencies.ts",
|
|
6
6
|
"dev": "../../../node_modules/.bin/vite",
|
|
@@ -46,10 +46,10 @@
|
|
|
46
46
|
"@dnd-kit/utilities": "^3.2.2",
|
|
47
47
|
"@hookform/error-message": "^2.0.1",
|
|
48
48
|
"@hookform/resolvers": "3.4.2",
|
|
49
|
-
"@medusajs/admin-shared": "3.0.0-snapshot-
|
|
50
|
-
"@medusajs/icons": "3.0.0-snapshot-
|
|
51
|
-
"@medusajs/js-sdk": "3.0.0-snapshot-
|
|
52
|
-
"@medusajs/ui": "4.0.31-snapshot-
|
|
49
|
+
"@medusajs/admin-shared": "3.0.0-snapshot-20251215162333",
|
|
50
|
+
"@medusajs/icons": "3.0.0-snapshot-20251215162333",
|
|
51
|
+
"@medusajs/js-sdk": "3.0.0-snapshot-20251215162333",
|
|
52
|
+
"@medusajs/ui": "4.0.31-snapshot-20251215162333",
|
|
53
53
|
"@radix-ui/react-dialog": "1.1.4",
|
|
54
54
|
"@radix-ui/react-dismissable-layer": "1.1.4",
|
|
55
55
|
"@tanstack/react-query": "5.64.2",
|
|
@@ -80,10 +80,10 @@
|
|
|
80
80
|
"zod": "3.25.76"
|
|
81
81
|
},
|
|
82
82
|
"devDependencies": {
|
|
83
|
-
"@medusajs/admin-shared": "3.0.0-snapshot-
|
|
84
|
-
"@medusajs/admin-vite-plugin": "3.0.0-snapshot-
|
|
85
|
-
"@medusajs/types": "3.0.0-snapshot-
|
|
86
|
-
"@medusajs/ui-preset": "3.0.0-snapshot-
|
|
83
|
+
"@medusajs/admin-shared": "3.0.0-snapshot-20251215162333",
|
|
84
|
+
"@medusajs/admin-vite-plugin": "3.0.0-snapshot-20251215162333",
|
|
85
|
+
"@medusajs/types": "3.0.0-snapshot-20251215162333",
|
|
86
|
+
"@medusajs/ui-preset": "3.0.0-snapshot-20251215162333"
|
|
87
87
|
},
|
|
88
88
|
"packageManager": "yarn@3.2.1"
|
|
89
89
|
}
|