@medusajs/dashboard 2.12.3-snapshot-20251216185234 → 2.12.3
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-locales-GGNZCABB.mjs +81 -0
- package/dist/{api-key-management-detail-6RCDH73M.mjs → api-key-management-detail-FRUN2KFK.mjs} +1 -1
- package/dist/app.css +19 -0
- package/dist/app.js +795 -680
- package/dist/app.mjs +2 -2
- package/dist/{campaign-detail-5Q4BYCPX.mjs → campaign-detail-HM3GQJLQ.mjs} +1 -1
- package/dist/{categories-metadata-J7M3XWI7.mjs → categories-metadata-WKL3MGD7.mjs} +1 -1
- package/dist/{category-detail-S5IPXMHX.mjs → category-detail-UTWWDKFP.mjs} +2 -2
- package/dist/{category-products-KPW6BA5J.mjs → category-products-XXBTCXFF.mjs} +2 -2
- package/dist/{chunk-OL24RDYM.mjs → chunk-5F427YCP.mjs} +2 -2
- package/dist/{chunk-MJDHVDOW.mjs → chunk-5ISRTMYH.mjs} +1 -1
- package/dist/{chunk-ST4P6BQN.mjs → chunk-DQUXK4WW.mjs} +1 -1
- package/dist/{chunk-YYOPBKME.mjs → chunk-DTCIBQO2.mjs} +1 -1
- package/dist/{chunk-LZFWCKOF.mjs → chunk-FKNW5MLZ.mjs} +21 -4
- package/dist/{chunk-GRZSG4EP.mjs → chunk-GLBHPDR4.mjs} +21 -16
- package/dist/{chunk-WYATCUOM.mjs → chunk-HNJ65IND.mjs} +1 -1
- package/dist/{store-add-locales-VJ4RJ7UI.mjs → chunk-IKTGFXWR.mjs} +2 -67
- package/dist/{chunk-DBXWB3RF.mjs → chunk-KSDXSKJ7.mjs} +1 -1
- package/dist/{chunk-OL6MEUKW.mjs → chunk-LWYKUORZ.mjs} +108 -105
- package/dist/{chunk-PHLCT2HA.mjs → chunk-OK6NZN2A.mjs} +1 -1
- package/dist/{chunk-ZMG5B4FG.mjs → chunk-SG2JZPTG.mjs} +1 -1
- package/dist/{chunk-CVHJAKLQ.mjs → chunk-UMCJYHAD.mjs} +1 -1
- package/dist/{collection-add-products-FU2BS3D3.mjs → collection-add-products-42F7H77E.mjs} +2 -2
- package/dist/{collection-detail-VJE7XHLV.mjs → collection-detail-PXIS3G64.mjs} +2 -2
- package/dist/{collection-list-IGA6SCNF.mjs → collection-list-O74CGY24.mjs} +2 -2
- package/dist/{collection-metadata-QK7MI3D2.mjs → collection-metadata-U6FMA4IC.mjs} +1 -1
- package/dist/{customer-detail-MOV2T3LF.mjs → customer-detail-OMTFJ6CE.mjs} +1 -1
- package/dist/{customer-group-detail-6T7OXGQD.mjs → customer-group-detail-ADK3M5LG.mjs} +1 -1
- package/dist/{customer-group-list-AJEAF5D2.mjs → customer-group-list-7ZRQ2HWU.mjs} +1 -1
- package/dist/{customers-add-customer-group-QVTVSQYM.mjs → customers-add-customer-group-5U27WHJB.mjs} +1 -1
- package/dist/{edit-rules-SMVRTCUP.mjs → edit-rules-BM2ERGVJ.mjs} +1 -1
- package/dist/en.json +1 -2
- package/dist/{inventory-create-BK52VALF.mjs → inventory-create-7MA7B5N2.mjs} +2 -2
- package/dist/{inventory-detail-ZPSEMYI2.mjs → inventory-detail-B4PRHZK3.mjs} +1 -1
- package/dist/{inventory-metadata-FNEJ3RAT.mjs → inventory-metadata-C7MJ3GY5.mjs} +1 -1
- package/dist/{inventory-stock-6WYWLWJ7.mjs → inventory-stock-WVTYPJTX.mjs} +3 -3
- package/dist/{location-detail-N3GUZSY7.mjs → location-detail-KO6EBDK5.mjs} +1 -1
- package/dist/{location-fulfillment-providers-7ZUJAGNY.mjs → location-fulfillment-providers-IORBE3E3.mjs} +2 -2
- package/dist/{location-service-zone-shipping-option-create-CNRWYZQC.mjs → location-service-zone-shipping-option-create-2R3ZFLVK.mjs} +3 -3
- package/dist/{location-service-zone-shipping-option-pricing-OGWI7VPT.mjs → location-service-zone-shipping-option-pricing-5HN2Z5RB.mjs} +2 -2
- package/dist/{login-VNOLI5YG.mjs → login-XKB6OR7I.mjs} +1 -1
- package/dist/{order-create-claim-SCDJGM46.mjs → order-create-claim-NKCOGF4A.mjs} +1 -1
- package/dist/{order-create-edit-2WALBPXS.mjs → order-create-edit-UNQYXGLL.mjs} +1 -1
- package/dist/{order-create-exchange-LQU4YN7F.mjs → order-create-exchange-WI7OA2WO.mjs} +1 -1
- package/dist/{order-create-fulfillment-OWUVTZXW.mjs → order-create-fulfillment-2LJTEWDY.mjs} +1 -1
- package/dist/{order-create-refund-Q6HQY42R.mjs → order-create-refund-7K6UJXGP.mjs} +1 -1
- package/dist/{order-create-shipment-WAGGEPRW.mjs → order-create-shipment-ZTDLLUBY.mjs} +1 -1
- package/dist/{order-detail-PVPGEWGY.mjs → order-detail-JTRUMRLO.mjs} +1 -1
- package/dist/{order-edit-billing-address-UM76J4KX.mjs → order-edit-billing-address-YHYNVLOE.mjs} +1 -1
- package/dist/{order-edit-email-CL3KNOCM.mjs → order-edit-email-TCQPEVZY.mjs} +1 -1
- package/dist/{order-edit-shipping-address-PIESTGVL.mjs → order-edit-shipping-address-CFSYQLKD.mjs} +1 -1
- package/dist/{order-export-LE363ZLB.mjs → order-export-G4SBNEJ7.mjs} +1 -1
- package/dist/{order-metadata-FHBB7MTG.mjs → order-metadata-KGPB37VL.mjs} +1 -1
- package/dist/{order-receive-return-PRVKP6J2.mjs → order-receive-return-JER24SEV.mjs} +1 -1
- package/dist/{order-request-transfer-XSAGRUMT.mjs → order-request-transfer-3FBUYZNT.mjs} +1 -1
- package/dist/{price-list-create-K5JEZT57.mjs → price-list-create-CXZCFFTP.mjs} +4 -4
- package/dist/{price-list-detail-Q5VG5VGW.mjs → price-list-detail-XOMU6U5J.mjs} +2 -2
- package/dist/{price-list-prices-add-2MQ226U4.mjs → price-list-prices-add-SDX5CQME.mjs} +4 -4
- package/dist/{price-list-prices-edit-OJZLV7OS.mjs → price-list-prices-edit-EKB6NI5D.mjs} +2 -2
- package/dist/{product-attributes-YF4TZOIO.mjs → product-attributes-STD47BGC.mjs} +2 -2
- package/dist/{product-create-KJML2332.mjs → product-create-LVGWVQAT.mjs} +3 -3
- package/dist/{product-create-variant-5EBCLM54.mjs → product-create-variant-OTJKT6WI.mjs} +2 -2
- package/dist/{product-detail-QG72542C.mjs → product-detail-OYVHJH3D.mjs} +2 -2
- package/dist/{product-edit-DZZR775Q.mjs → product-edit-3SIUUIW4.mjs} +2 -2
- package/dist/{product-export-5AD7NELI.mjs → product-export-57UUAGXF.mjs} +2 -2
- package/dist/{product-image-variants-edit-M6QF2RLE.mjs → product-image-variants-edit-2BW5BJON.mjs} +1 -1
- package/dist/{product-import-V3KQN4TV.mjs → product-import-6EM4VUXP.mjs} +1 -1
- package/dist/{product-list-EUWZIFTM.mjs → product-list-5V5GEH5K.mjs} +2 -2
- package/dist/{product-metadata-GL2MVPDI.mjs → product-metadata-JZLHBLZQ.mjs} +1 -1
- package/dist/{product-organization-O7RHELMQ.mjs → product-organization-3PQ45C4B.mjs} +2 -2
- package/dist/{product-prices-YWV6MSM6.mjs → product-prices-5ZL2RP7A.mjs} +1 -1
- package/dist/{product-stock-AKEFMK5O.mjs → product-stock-SJJABF6I.mjs} +3 -3
- package/dist/{product-tag-create-PQMDDKWH.mjs → product-tag-create-XXO4AQEC.mjs} +1 -1
- package/dist/{product-tag-detail-I3MBZX7U.mjs → product-tag-detail-BSK64HXL.mjs} +3 -3
- package/dist/{product-tag-edit-K3BBQLJR.mjs → product-tag-edit-ENCGDT7E.mjs} +1 -1
- package/dist/{product-tag-list-JUWSOMB7.mjs → product-tag-list-SLQGCNDZ.mjs} +3 -3
- package/dist/{product-tag-metadata-MJH5LH7E.mjs → product-tag-metadata-EPXHMU2K.mjs} +1 -1
- package/dist/{product-type-detail-RKHT5NBL.mjs → product-type-detail-4CRRU7YK.mjs} +2 -2
- package/dist/{product-type-metadata-CDJDFFGQ.mjs → product-type-metadata-73OKOGPP.mjs} +1 -1
- package/dist/{product-variant-detail-XAYG5CKE.mjs → product-variant-detail-RPHLG4HU.mjs} +1 -1
- package/dist/{product-variant-edit-DEZEY2H2.mjs → product-variant-edit-JF7NN64Y.mjs} +1 -1
- package/dist/{product-variant-metadata-VTZDNWUT.mjs → product-variant-metadata-HU2CXGPO.mjs} +1 -1
- package/dist/{promotion-create-HWFNUQXG.mjs → promotion-create-BHA3FQG2.mjs} +1 -1
- package/dist/{promotion-detail-QC36KXB3.mjs → promotion-detail-F3QSR52W.mjs} +1 -1
- package/dist/{refund-reason-create-YHCDEHGQ.mjs → refund-reason-create-ZA5TKW2Z.mjs} +1 -1
- package/dist/{refund-reason-edit-CZ5QZ2SZ.mjs → refund-reason-edit-N2CRCLKZ.mjs} +1 -1
- package/dist/{refund-reason-list-OJYYEYJE.mjs → refund-reason-list-SE4TMGMT.mjs} +1 -1
- package/dist/{region-metadata-H6XXUQ4S.mjs → region-metadata-O5NZBWXP.mjs} +1 -1
- package/dist/{reservation-detail-LZAQL4XA.mjs → reservation-detail-UFK6XIXE.mjs} +1 -1
- package/dist/{reservation-metadata-5HZSDDOK.mjs → reservation-metadata-AEJEKGLV.mjs} +1 -1
- package/dist/{sales-channel-add-products-F7YV4MO5.mjs → sales-channel-add-products-2LMB7EF5.mjs} +2 -2
- package/dist/{sales-channel-detail-MXIPZCGA.mjs → sales-channel-detail-EUQ4STQI.mjs} +2 -2
- package/dist/{sales-channel-list-RLGL7FM3.mjs → sales-channel-list-JXKGHX4G.mjs} +1 -1
- package/dist/{sales-channel-metadata-M364R4RJ.mjs → sales-channel-metadata-AJMQ5SQ2.mjs} +1 -1
- package/dist/{shipping-option-type-create-C5WUWON7.mjs → shipping-option-type-create-YVVIA2XC.mjs} +1 -1
- package/dist/{shipping-option-type-detail-PENS2K73.mjs → shipping-option-type-detail-ZZW36XLK.mjs} +2 -2
- package/dist/{shipping-option-type-edit-CIU5EHRP.mjs → shipping-option-type-edit-O6F74T3A.mjs} +1 -1
- package/dist/{shipping-option-type-list-DIOX7VG7.mjs → shipping-option-type-list-SPTE7MT6.mjs} +2 -2
- package/dist/{shipping-profile-metadata-75G2NNMA.mjs → shipping-profile-metadata-7WFE55VG.mjs} +1 -1
- package/dist/store-add-locales-GWCGIXHU.mjs +81 -0
- package/dist/{store-detail-JSNPOB2F.mjs → store-detail-YLJLBBZE.mjs} +1 -1
- package/dist/{store-metadata-CYXTVJUE.mjs → store-metadata-BZ57I2E6.mjs} +1 -1
- package/dist/{tax-region-create-DWGL4EUT.mjs → tax-region-create-FGTV7VJL.mjs} +1 -1
- package/dist/{tax-region-detail-2AE2EFI3.mjs → tax-region-detail-PPIMD7OX.mjs} +5 -5
- package/dist/{tax-region-edit-EEVEEU2Q.mjs → tax-region-edit-ELZKA7YH.mjs} +1 -1
- package/dist/{tax-region-province-detail-4ERSEQFF.mjs → tax-region-province-detail-FV2NDT3E.mjs} +5 -5
- package/dist/{tax-region-tax-override-create-PHCGEF7V.mjs → tax-region-tax-override-create-N572MQPZ.mjs} +3 -3
- package/dist/{tax-region-tax-override-edit-SMRPSILC.mjs → tax-region-tax-override-edit-5DCSJW6D.mjs} +4 -4
- package/dist/{translation-list-UF7FLXOW.mjs → translation-list-FK7XYLHX.mjs} +227 -141
- package/dist/{translations-edit-USQJNMAY.mjs → translations-edit-VRXZI5KW.mjs} +224 -253
- package/dist/{user-metadata-2WPJOEJA.mjs → user-metadata-GRJZZ524.mjs} +1 -1
- package/dist/{workflow-execution-detail-H2AKEZJX.mjs → workflow-execution-detail-HXTFWGKG.mjs} +1 -1
- package/package.json +9 -9
- package/src/components/data-grid/hooks/use-data-grid-cell.tsx +1 -0
- package/src/components/data-grid/hooks/use-data-grid-form-handlers.tsx +1 -0
- package/src/components/data-grid/hooks/use-data-grid-keydown-event.tsx +22 -4
- package/src/dashboard-app/routes/get-route.map.tsx +4 -0
- package/src/hooks/api/translations.tsx +26 -17
- package/src/i18n/translations/en.json +1 -2
- package/src/i18n/translations/es.json +1 -1
- package/src/routes/translations/add-locales/add-locales.tsx +29 -0
- package/src/routes/translations/add-locales/index.tsx +1 -0
- package/src/routes/translations/translation-list/components/active-locales-section/active-locales-section.tsx +42 -17
- package/src/routes/translations/translation-list/components/translation-list-section/translation-list-section.tsx +5 -1
- package/src/routes/translations/translation-list/components/translations-completion-section/translations-completion-section.tsx +182 -121
- package/src/routes/translations/translations-edit/components/translations-edit-form/translations-edit-form.tsx +285 -330
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AddLocalesForm
|
|
3
|
+
} from "./chunk-IKTGFXWR.mjs";
|
|
4
|
+
import "./chunk-XNIVMZHA.mjs";
|
|
5
|
+
import "./chunk-MSDRGCRR.mjs";
|
|
6
|
+
import "./chunk-P3UUX2T6.mjs";
|
|
7
|
+
import "./chunk-LQTHYS2Z.mjs";
|
|
8
|
+
import "./chunk-DTZXEQXZ.mjs";
|
|
9
|
+
import "./chunk-HQKGZADC.mjs";
|
|
10
|
+
import "./chunk-EMIHDNB7.mjs";
|
|
11
|
+
import "./chunk-ZQJPHZKI.mjs";
|
|
12
|
+
import "./chunk-C76H5USB.mjs";
|
|
13
|
+
import "./chunk-DFFLVEZ5.mjs";
|
|
14
|
+
import "./chunk-IUCDCPJU.mjs";
|
|
15
|
+
import "./chunk-6HTZNHPT.mjs";
|
|
16
|
+
import {
|
|
17
|
+
RouteFocusModal
|
|
18
|
+
} from "./chunk-D6UW7URG.mjs";
|
|
19
|
+
import {
|
|
20
|
+
useFeatureFlag
|
|
21
|
+
} from "./chunk-G4BWCU5P.mjs";
|
|
22
|
+
import "./chunk-LPEUYMRK.mjs";
|
|
23
|
+
import "./chunk-OC7BQLYI.mjs";
|
|
24
|
+
import "./chunk-S4DMV3ZT.mjs";
|
|
25
|
+
import "./chunk-535OVBXR.mjs";
|
|
26
|
+
import "./chunk-OBQI23QM.mjs";
|
|
27
|
+
import "./chunk-GLBHPDR4.mjs";
|
|
28
|
+
import "./chunk-I4OBEAOJ.mjs";
|
|
29
|
+
import "./chunk-HI6URQ7H.mjs";
|
|
30
|
+
import "./chunk-6CLQKVAU.mjs";
|
|
31
|
+
import "./chunk-KI7TOXBR.mjs";
|
|
32
|
+
import "./chunk-UJ2TMPV4.mjs";
|
|
33
|
+
import "./chunk-23GTCEOV.mjs";
|
|
34
|
+
import "./chunk-WAXMT4IY.mjs";
|
|
35
|
+
import "./chunk-DYDGGABK.mjs";
|
|
36
|
+
import "./chunk-LGNTHZ5Y.mjs";
|
|
37
|
+
import "./chunk-CN7JXSGW.mjs";
|
|
38
|
+
import "./chunk-5BQQRHQS.mjs";
|
|
39
|
+
import "./chunk-HTCYX4VD.mjs";
|
|
40
|
+
import "./chunk-5AFMB7XQ.mjs";
|
|
41
|
+
import "./chunk-UWY5ZV66.mjs";
|
|
42
|
+
import "./chunk-A63RZVX6.mjs";
|
|
43
|
+
import "./chunk-HBXV7ENS.mjs";
|
|
44
|
+
import "./chunk-CDORR33H.mjs";
|
|
45
|
+
import "./chunk-4JQR6QNW.mjs";
|
|
46
|
+
import "./chunk-FYWHE3W5.mjs";
|
|
47
|
+
import "./chunk-OSHH5GAS.mjs";
|
|
48
|
+
import "./chunk-2XTBDCGE.mjs";
|
|
49
|
+
import "./chunk-3BF5SC66.mjs";
|
|
50
|
+
import {
|
|
51
|
+
useStore
|
|
52
|
+
} from "./chunk-VCSSQVPD.mjs";
|
|
53
|
+
import "./chunk-HP2JH45P.mjs";
|
|
54
|
+
import "./chunk-SQDIZZDW.mjs";
|
|
55
|
+
import "./chunk-Z6BFNHEO.mjs";
|
|
56
|
+
import "./chunk-HGRIOEAR.mjs";
|
|
57
|
+
import "./chunk-FXYH54JP.mjs";
|
|
58
|
+
import "./chunk-774WSTCC.mjs";
|
|
59
|
+
import "./chunk-NFEK63OE.mjs";
|
|
60
|
+
import "./chunk-QZ7TP4HQ.mjs";
|
|
61
|
+
|
|
62
|
+
// src/routes/translations/add-locales/add-locales.tsx
|
|
63
|
+
import { useNavigate } from "react-router-dom";
|
|
64
|
+
import { jsx } from "react/jsx-runtime";
|
|
65
|
+
var TranslationsAddLocales = () => {
|
|
66
|
+
const isEnabled = useFeatureFlag("translation");
|
|
67
|
+
const navigate = useNavigate();
|
|
68
|
+
if (!isEnabled) {
|
|
69
|
+
navigate(-1);
|
|
70
|
+
return null;
|
|
71
|
+
}
|
|
72
|
+
const { store, isPending, isError, error } = useStore();
|
|
73
|
+
const ready = !!store && !isPending;
|
|
74
|
+
if (isError) {
|
|
75
|
+
throw error;
|
|
76
|
+
}
|
|
77
|
+
return /* @__PURE__ */ jsx(RouteFocusModal, { children: ready && /* @__PURE__ */ jsx(AddLocalesForm, { store }) });
|
|
78
|
+
};
|
|
79
|
+
export {
|
|
80
|
+
TranslationsAddLocales as Component
|
|
81
|
+
};
|
package/dist/{api-key-management-detail-6RCDH73M.mjs → api-key-management-detail-FRUN2KFK.mjs}
RENAMED
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
import "./chunk-OC7BQLYI.mjs";
|
|
39
39
|
import "./chunk-S4DMV3ZT.mjs";
|
|
40
40
|
import "./chunk-535OVBXR.mjs";
|
|
41
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-GLBHPDR4.mjs";
|
|
42
42
|
import "./chunk-I4OBEAOJ.mjs";
|
|
43
43
|
import "./chunk-HI6URQ7H.mjs";
|
|
44
44
|
import "./chunk-6CLQKVAU.mjs";
|
package/dist/app.css
CHANGED
|
@@ -2055,6 +2055,9 @@ video {
|
|
|
2055
2055
|
.min-w-\[120px\] {
|
|
2056
2056
|
min-width: 120px;
|
|
2057
2057
|
}
|
|
2058
|
+
.min-w-\[150px\] {
|
|
2059
|
+
min-width: 150px;
|
|
2060
|
+
}
|
|
2058
2061
|
.min-w-\[200px\] {
|
|
2059
2062
|
min-width: 200px;
|
|
2060
2063
|
}
|
|
@@ -2172,6 +2175,9 @@ video {
|
|
|
2172
2175
|
.max-w-\[90\%\] {
|
|
2173
2176
|
max-width: 90%;
|
|
2174
2177
|
}
|
|
2178
|
+
.max-w-\[96px\] {
|
|
2179
|
+
max-width: 96px;
|
|
2180
|
+
}
|
|
2175
2181
|
.max-w-\[calc\(20px\+24px\+24px\)\] {
|
|
2176
2182
|
max-width: calc(20px + 24px + 24px);
|
|
2177
2183
|
}
|
|
@@ -2589,6 +2595,9 @@ video {
|
|
|
2589
2595
|
.text-ellipsis {
|
|
2590
2596
|
text-overflow: ellipsis;
|
|
2591
2597
|
}
|
|
2598
|
+
.whitespace-normal {
|
|
2599
|
+
white-space: normal;
|
|
2600
|
+
}
|
|
2592
2601
|
.whitespace-nowrap {
|
|
2593
2602
|
white-space: nowrap;
|
|
2594
2603
|
}
|
|
@@ -3128,6 +3137,10 @@ video {
|
|
|
3128
3137
|
padding-left: 2rem;
|
|
3129
3138
|
padding-right: 2rem;
|
|
3130
3139
|
}
|
|
3140
|
+
.px-\[19px\] {
|
|
3141
|
+
padding-left: 19px;
|
|
3142
|
+
padding-right: 19px;
|
|
3143
|
+
}
|
|
3131
3144
|
.px-\[5px\] {
|
|
3132
3145
|
padding-left: 5px;
|
|
3133
3146
|
padding-right: 5px;
|
|
@@ -3230,6 +3243,9 @@ video {
|
|
|
3230
3243
|
.pb-4 {
|
|
3231
3244
|
padding-bottom: 1rem;
|
|
3232
3245
|
}
|
|
3246
|
+
.pb-6 {
|
|
3247
|
+
padding-bottom: 1.5rem;
|
|
3248
|
+
}
|
|
3233
3249
|
.pb-8 {
|
|
3234
3250
|
padding-bottom: 2rem;
|
|
3235
3251
|
}
|
|
@@ -3473,6 +3489,9 @@ video {
|
|
|
3473
3489
|
.leading-normal {
|
|
3474
3490
|
line-height: 1.5;
|
|
3475
3491
|
}
|
|
3492
|
+
.leading-tight {
|
|
3493
|
+
line-height: 1.25;
|
|
3494
|
+
}
|
|
3476
3495
|
.tracking-widest {
|
|
3477
3496
|
letter-spacing: 0.1em;
|
|
3478
3497
|
}
|