@medusajs/dashboard 2.12.3-preview-20251217123836 → 2.12.3-snapshot-20251216185234
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/{api-key-management-detail-FRUN2KFK.mjs → api-key-management-detail-6RCDH73M.mjs} +1 -1
- package/dist/app.css +0 -19
- package/dist/app.js +679 -795
- package/dist/app.mjs +2 -2
- package/dist/{campaign-detail-HM3GQJLQ.mjs → campaign-detail-5Q4BYCPX.mjs} +1 -1
- package/dist/{categories-metadata-WKL3MGD7.mjs → categories-metadata-J7M3XWI7.mjs} +1 -1
- package/dist/{category-detail-UTWWDKFP.mjs → category-detail-S5IPXMHX.mjs} +2 -2
- package/dist/{category-products-XXBTCXFF.mjs → category-products-KPW6BA5J.mjs} +2 -2
- package/dist/{chunk-UMCJYHAD.mjs → chunk-CVHJAKLQ.mjs} +1 -1
- package/dist/{chunk-KSDXSKJ7.mjs → chunk-DBXWB3RF.mjs} +1 -1
- package/dist/{chunk-GLBHPDR4.mjs → chunk-GRZSG4EP.mjs} +16 -21
- package/dist/{chunk-FKNW5MLZ.mjs → chunk-LZFWCKOF.mjs} +4 -21
- package/dist/{chunk-5ISRTMYH.mjs → chunk-MJDHVDOW.mjs} +1 -1
- package/dist/{chunk-5F427YCP.mjs → chunk-OL24RDYM.mjs} +2 -2
- package/dist/{chunk-VFF5WB7C.mjs → chunk-OL6MEUKW.mjs} +104 -108
- package/dist/{chunk-OK6NZN2A.mjs → chunk-PHLCT2HA.mjs} +1 -1
- package/dist/{chunk-DQUXK4WW.mjs → chunk-ST4P6BQN.mjs} +1 -1
- package/dist/{chunk-HNJ65IND.mjs → chunk-WYATCUOM.mjs} +1 -1
- package/dist/{chunk-DTCIBQO2.mjs → chunk-YYOPBKME.mjs} +1 -1
- package/dist/{chunk-SG2JZPTG.mjs → chunk-ZMG5B4FG.mjs} +1 -1
- package/dist/{collection-add-products-42F7H77E.mjs → collection-add-products-FU2BS3D3.mjs} +2 -2
- package/dist/{collection-detail-PXIS3G64.mjs → collection-detail-VJE7XHLV.mjs} +2 -2
- package/dist/{collection-list-O74CGY24.mjs → collection-list-IGA6SCNF.mjs} +2 -2
- package/dist/{collection-metadata-U6FMA4IC.mjs → collection-metadata-QK7MI3D2.mjs} +1 -1
- package/dist/{customer-detail-OMTFJ6CE.mjs → customer-detail-MOV2T3LF.mjs} +1 -1
- package/dist/{customer-group-detail-ADK3M5LG.mjs → customer-group-detail-6T7OXGQD.mjs} +1 -1
- package/dist/{customer-group-list-7ZRQ2HWU.mjs → customer-group-list-AJEAF5D2.mjs} +1 -1
- package/dist/{customers-add-customer-group-5U27WHJB.mjs → customers-add-customer-group-QVTVSQYM.mjs} +1 -1
- package/dist/{edit-rules-BM2ERGVJ.mjs → edit-rules-SMVRTCUP.mjs} +1 -1
- package/dist/en.json +1 -1
- package/dist/{inventory-create-7MA7B5N2.mjs → inventory-create-BK52VALF.mjs} +2 -2
- package/dist/{inventory-detail-B4PRHZK3.mjs → inventory-detail-ZPSEMYI2.mjs} +1 -1
- package/dist/{inventory-metadata-C7MJ3GY5.mjs → inventory-metadata-FNEJ3RAT.mjs} +1 -1
- package/dist/{inventory-stock-WVTYPJTX.mjs → inventory-stock-6WYWLWJ7.mjs} +3 -3
- package/dist/{location-detail-KO6EBDK5.mjs → location-detail-N3GUZSY7.mjs} +1 -1
- package/dist/{location-fulfillment-providers-IORBE3E3.mjs → location-fulfillment-providers-7ZUJAGNY.mjs} +2 -2
- package/dist/{location-service-zone-shipping-option-create-2R3ZFLVK.mjs → location-service-zone-shipping-option-create-CNRWYZQC.mjs} +3 -3
- package/dist/{location-service-zone-shipping-option-pricing-5HN2Z5RB.mjs → location-service-zone-shipping-option-pricing-OGWI7VPT.mjs} +2 -2
- package/dist/{login-XKB6OR7I.mjs → login-VNOLI5YG.mjs} +1 -1
- package/dist/{order-create-claim-NKCOGF4A.mjs → order-create-claim-SCDJGM46.mjs} +1 -1
- package/dist/{order-create-edit-UNQYXGLL.mjs → order-create-edit-2WALBPXS.mjs} +1 -1
- package/dist/{order-create-exchange-WI7OA2WO.mjs → order-create-exchange-LQU4YN7F.mjs} +1 -1
- package/dist/{order-create-fulfillment-2LJTEWDY.mjs → order-create-fulfillment-OWUVTZXW.mjs} +1 -1
- package/dist/{order-create-refund-7K6UJXGP.mjs → order-create-refund-Q6HQY42R.mjs} +1 -1
- package/dist/{order-create-shipment-ZTDLLUBY.mjs → order-create-shipment-WAGGEPRW.mjs} +1 -1
- package/dist/{order-detail-JTRUMRLO.mjs → order-detail-PVPGEWGY.mjs} +1 -1
- package/dist/{order-edit-billing-address-YHYNVLOE.mjs → order-edit-billing-address-UM76J4KX.mjs} +1 -1
- package/dist/{order-edit-email-TCQPEVZY.mjs → order-edit-email-CL3KNOCM.mjs} +1 -1
- package/dist/{order-edit-shipping-address-CFSYQLKD.mjs → order-edit-shipping-address-PIESTGVL.mjs} +1 -1
- package/dist/{order-export-G4SBNEJ7.mjs → order-export-LE363ZLB.mjs} +1 -1
- package/dist/{order-metadata-KGPB37VL.mjs → order-metadata-FHBB7MTG.mjs} +1 -1
- package/dist/{order-receive-return-JER24SEV.mjs → order-receive-return-PRVKP6J2.mjs} +1 -1
- package/dist/{order-request-transfer-3FBUYZNT.mjs → order-request-transfer-XSAGRUMT.mjs} +1 -1
- package/dist/{price-list-create-CXZCFFTP.mjs → price-list-create-K5JEZT57.mjs} +4 -4
- package/dist/{price-list-detail-XOMU6U5J.mjs → price-list-detail-Q5VG5VGW.mjs} +2 -2
- package/dist/{price-list-prices-add-SDX5CQME.mjs → price-list-prices-add-2MQ226U4.mjs} +4 -4
- package/dist/{price-list-prices-edit-EKB6NI5D.mjs → price-list-prices-edit-OJZLV7OS.mjs} +2 -2
- package/dist/{product-attributes-MXDPSOWM.mjs → product-attributes-YF4TZOIO.mjs} +2 -2
- package/dist/{product-create-3O34JJLS.mjs → product-create-KJML2332.mjs} +3 -3
- package/dist/{product-create-variant-OTJKT6WI.mjs → product-create-variant-5EBCLM54.mjs} +2 -2
- package/dist/{product-detail-SYTLG5D3.mjs → product-detail-QG72542C.mjs} +2 -2
- package/dist/{product-edit-W72S22NM.mjs → product-edit-DZZR775Q.mjs} +2 -2
- package/dist/{product-export-57UUAGXF.mjs → product-export-5AD7NELI.mjs} +2 -2
- package/dist/{product-image-variants-edit-2BW5BJON.mjs → product-image-variants-edit-M6QF2RLE.mjs} +1 -1
- package/dist/{product-import-6EM4VUXP.mjs → product-import-V3KQN4TV.mjs} +1 -1
- package/dist/{product-list-5V5GEH5K.mjs → product-list-EUWZIFTM.mjs} +2 -2
- package/dist/{product-metadata-JZLHBLZQ.mjs → product-metadata-GL2MVPDI.mjs} +1 -1
- package/dist/{product-organization-SVXTCWIF.mjs → product-organization-O7RHELMQ.mjs} +2 -2
- package/dist/{product-prices-5ZL2RP7A.mjs → product-prices-YWV6MSM6.mjs} +1 -1
- package/dist/{product-stock-SJJABF6I.mjs → product-stock-AKEFMK5O.mjs} +3 -3
- package/dist/{product-tag-create-XXO4AQEC.mjs → product-tag-create-PQMDDKWH.mjs} +1 -1
- package/dist/{product-tag-detail-BSK64HXL.mjs → product-tag-detail-I3MBZX7U.mjs} +3 -3
- package/dist/{product-tag-edit-ENCGDT7E.mjs → product-tag-edit-K3BBQLJR.mjs} +1 -1
- package/dist/{product-tag-list-SLQGCNDZ.mjs → product-tag-list-JUWSOMB7.mjs} +3 -3
- package/dist/{product-tag-metadata-EPXHMU2K.mjs → product-tag-metadata-MJH5LH7E.mjs} +1 -1
- package/dist/{product-type-detail-4CRRU7YK.mjs → product-type-detail-RKHT5NBL.mjs} +2 -2
- package/dist/{product-type-metadata-73OKOGPP.mjs → product-type-metadata-CDJDFFGQ.mjs} +1 -1
- package/dist/{product-variant-detail-RPHLG4HU.mjs → product-variant-detail-XAYG5CKE.mjs} +1 -1
- package/dist/{product-variant-edit-JF7NN64Y.mjs → product-variant-edit-DEZEY2H2.mjs} +1 -1
- package/dist/{product-variant-metadata-HU2CXGPO.mjs → product-variant-metadata-VTZDNWUT.mjs} +1 -1
- package/dist/{promotion-create-BHA3FQG2.mjs → promotion-create-HWFNUQXG.mjs} +1 -1
- package/dist/{promotion-detail-F3QSR52W.mjs → promotion-detail-QC36KXB3.mjs} +1 -1
- package/dist/{refund-reason-create-ZA5TKW2Z.mjs → refund-reason-create-YHCDEHGQ.mjs} +1 -1
- package/dist/{refund-reason-edit-N2CRCLKZ.mjs → refund-reason-edit-CZ5QZ2SZ.mjs} +1 -1
- package/dist/{refund-reason-list-SE4TMGMT.mjs → refund-reason-list-OJYYEYJE.mjs} +1 -1
- package/dist/{region-metadata-O5NZBWXP.mjs → region-metadata-H6XXUQ4S.mjs} +1 -1
- package/dist/{reservation-detail-UFK6XIXE.mjs → reservation-detail-LZAQL4XA.mjs} +1 -1
- package/dist/{reservation-metadata-AEJEKGLV.mjs → reservation-metadata-5HZSDDOK.mjs} +1 -1
- package/dist/{sales-channel-add-products-2LMB7EF5.mjs → sales-channel-add-products-F7YV4MO5.mjs} +2 -2
- package/dist/{sales-channel-detail-EUQ4STQI.mjs → sales-channel-detail-MXIPZCGA.mjs} +2 -2
- package/dist/{sales-channel-list-JXKGHX4G.mjs → sales-channel-list-RLGL7FM3.mjs} +1 -1
- package/dist/{sales-channel-metadata-AJMQ5SQ2.mjs → sales-channel-metadata-M364R4RJ.mjs} +1 -1
- package/dist/{shipping-option-type-create-YVVIA2XC.mjs → shipping-option-type-create-C5WUWON7.mjs} +1 -1
- package/dist/{shipping-option-type-detail-ZZW36XLK.mjs → shipping-option-type-detail-PENS2K73.mjs} +2 -2
- package/dist/{shipping-option-type-edit-O6F74T3A.mjs → shipping-option-type-edit-CIU5EHRP.mjs} +1 -1
- package/dist/{shipping-option-type-list-SPTE7MT6.mjs → shipping-option-type-list-DIOX7VG7.mjs} +2 -2
- package/dist/{shipping-profile-metadata-7WFE55VG.mjs → shipping-profile-metadata-75G2NNMA.mjs} +1 -1
- package/dist/{chunk-IKTGFXWR.mjs → store-add-locales-VJ4RJ7UI.mjs} +67 -2
- package/dist/{store-detail-YLJLBBZE.mjs → store-detail-JSNPOB2F.mjs} +1 -1
- package/dist/{store-metadata-BZ57I2E6.mjs → store-metadata-CYXTVJUE.mjs} +1 -1
- package/dist/{tax-region-create-FGTV7VJL.mjs → tax-region-create-DWGL4EUT.mjs} +1 -1
- package/dist/{tax-region-detail-PPIMD7OX.mjs → tax-region-detail-2AE2EFI3.mjs} +5 -5
- package/dist/{tax-region-edit-ELZKA7YH.mjs → tax-region-edit-EEVEEU2Q.mjs} +1 -1
- package/dist/{tax-region-province-detail-FV2NDT3E.mjs → tax-region-province-detail-4ERSEQFF.mjs} +5 -5
- package/dist/{tax-region-tax-override-create-N572MQPZ.mjs → tax-region-tax-override-create-PHCGEF7V.mjs} +3 -3
- package/dist/{tax-region-tax-override-edit-5DCSJW6D.mjs → tax-region-tax-override-edit-SMRPSILC.mjs} +4 -4
- package/dist/{translation-list-FK7XYLHX.mjs → translation-list-UF7FLXOW.mjs} +141 -227
- package/dist/{translations-edit-VRXZI5KW.mjs → translations-edit-USQJNMAY.mjs} +253 -224
- package/dist/{user-metadata-GRJZZ524.mjs → user-metadata-2WPJOEJA.mjs} +1 -1
- package/dist/{workflow-execution-detail-HXTFWGKG.mjs → workflow-execution-detail-H2AKEZJX.mjs} +1 -1
- package/package.json +9 -9
- package/src/components/data-grid/hooks/use-data-grid-cell.tsx +0 -1
- package/src/components/data-grid/hooks/use-data-grid-form-handlers.tsx +0 -1
- package/src/components/data-grid/hooks/use-data-grid-keydown-event.tsx +4 -22
- package/src/dashboard-app/routes/get-route.map.tsx +0 -4
- package/src/hooks/api/translations.tsx +17 -26
- package/src/i18n/translations/en.json +1 -1
- package/src/i18n/translations/es.json +1 -1
- package/src/routes/translations/translation-list/components/active-locales-section/active-locales-section.tsx +17 -42
- package/src/routes/translations/translation-list/components/translation-list-section/translation-list-section.tsx +1 -5
- package/src/routes/translations/translation-list/components/translations-completion-section/translations-completion-section.tsx +121 -182
- package/src/routes/translations/translations-edit/components/translations-edit-form/translations-edit-form.tsx +330 -285
- package/dist/add-locales-GGNZCABB.mjs +0 -81
- package/dist/store-add-locales-GWCGIXHU.mjs +0 -81
- package/src/routes/translations/add-locales/add-locales.tsx +0 -29
- package/src/routes/translations/add-locales/index.tsx +0 -1
package/dist/app.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DashboardApp
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-OL6MEUKW.mjs";
|
|
4
4
|
import "./chunk-2SSUH2HJ.mjs";
|
|
5
5
|
import "./chunk-ONB3JEHR.mjs";
|
|
6
6
|
import "./chunk-YCDDT44O.mjs";
|
|
@@ -19,7 +19,7 @@ import "./chunk-OC7BQLYI.mjs";
|
|
|
19
19
|
import "./chunk-S4DMV3ZT.mjs";
|
|
20
20
|
import "./chunk-535OVBXR.mjs";
|
|
21
21
|
import "./chunk-OBQI23QM.mjs";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-GRZSG4EP.mjs";
|
|
23
23
|
import "./chunk-I4OBEAOJ.mjs";
|
|
24
24
|
import "./chunk-HI6URQ7H.mjs";
|
|
25
25
|
import "./chunk-6CLQKVAU.mjs";
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
import "./chunk-OC7BQLYI.mjs";
|
|
43
43
|
import "./chunk-S4DMV3ZT.mjs";
|
|
44
44
|
import "./chunk-535OVBXR.mjs";
|
|
45
|
-
import "./chunk-
|
|
45
|
+
import "./chunk-GRZSG4EP.mjs";
|
|
46
46
|
import "./chunk-I4OBEAOJ.mjs";
|
|
47
47
|
import "./chunk-HI6URQ7H.mjs";
|
|
48
48
|
import "./chunk-6CLQKVAU.mjs";
|
|
@@ -12,7 +12,7 @@ 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";
|
|
@@ -26,7 +26,7 @@ import "./chunk-HQKGZADC.mjs";
|
|
|
26
26
|
import "./chunk-EMIHDNB7.mjs";
|
|
27
27
|
import {
|
|
28
28
|
useProductTableFilters
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-YYOPBKME.mjs";
|
|
30
30
|
import {
|
|
31
31
|
useProductTableQuery
|
|
32
32
|
} from "./chunk-R65S6ZZV.mjs";
|
|
@@ -53,7 +53,7 @@ import {
|
|
|
53
53
|
import "./chunk-OC7BQLYI.mjs";
|
|
54
54
|
import "./chunk-S4DMV3ZT.mjs";
|
|
55
55
|
import "./chunk-535OVBXR.mjs";
|
|
56
|
-
import "./chunk-
|
|
56
|
+
import "./chunk-GRZSG4EP.mjs";
|
|
57
57
|
import "./chunk-I4OBEAOJ.mjs";
|
|
58
58
|
import "./chunk-HI6URQ7H.mjs";
|
|
59
59
|
import "./chunk-6CLQKVAU.mjs";
|
|
@@ -14,7 +14,7 @@ import "./chunk-HQKGZADC.mjs";
|
|
|
14
14
|
import "./chunk-EMIHDNB7.mjs";
|
|
15
15
|
import {
|
|
16
16
|
useProductTableFilters
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-YYOPBKME.mjs";
|
|
18
18
|
import {
|
|
19
19
|
useProductTableQuery
|
|
20
20
|
} from "./chunk-R65S6ZZV.mjs";
|
|
@@ -35,7 +35,7 @@ import "./chunk-LPEUYMRK.mjs";
|
|
|
35
35
|
import "./chunk-S4DMV3ZT.mjs";
|
|
36
36
|
import "./chunk-535OVBXR.mjs";
|
|
37
37
|
import "./chunk-OBQI23QM.mjs";
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-GRZSG4EP.mjs";
|
|
39
39
|
import "./chunk-I4OBEAOJ.mjs";
|
|
40
40
|
import "./chunk-HI6URQ7H.mjs";
|
|
41
41
|
import "./chunk-6CLQKVAU.mjs";
|
|
@@ -425,33 +425,28 @@ var useReferenceTranslations = (reference, translatableFields, referenceId, opti
|
|
|
425
425
|
const { data, ...rest } = referenceHook();
|
|
426
426
|
return { ...data, ...rest };
|
|
427
427
|
};
|
|
428
|
-
var referenceInvalidationKeysMap = /* @__PURE__ */ new Map([
|
|
429
|
-
["product", productsQueryKeys.lists()],
|
|
430
|
-
["product_variant", productVariantQueryKeys.lists()],
|
|
431
|
-
["product_category", categoriesQueryKeys.lists()],
|
|
432
|
-
["product_collection", collectionsQueryKeys.lists()],
|
|
433
|
-
["product_type", productTypesQueryKeys.lists()],
|
|
434
|
-
["product_tag", productTagsQueryKeys.lists()]
|
|
435
|
-
]);
|
|
436
428
|
var useBatchTranslations = (reference, options) => {
|
|
437
|
-
const
|
|
429
|
+
const referenceInvalidationKeysMap = /* @__PURE__ */ new Map([
|
|
430
|
+
["product", productsQueryKeys.lists()],
|
|
431
|
+
["product_variant", productVariantQueryKeys.lists()],
|
|
432
|
+
["product_category", categoriesQueryKeys.lists()],
|
|
433
|
+
["product_collection", collectionsQueryKeys.lists()],
|
|
434
|
+
["product_type", productTypesQueryKeys.lists()],
|
|
435
|
+
["product_tag", productTagsQueryKeys.lists()]
|
|
436
|
+
]);
|
|
437
|
+
return useMutation4({
|
|
438
438
|
mutationFn: (payload) => sdk.admin.translation.batch(payload),
|
|
439
|
-
|
|
440
|
-
});
|
|
441
|
-
const invalidateQueries = async () => {
|
|
442
|
-
await Promise.all([
|
|
439
|
+
onSuccess: (data, variables, context) => {
|
|
443
440
|
queryClient.invalidateQueries({
|
|
444
441
|
queryKey: referenceInvalidationKeysMap.get(reference)
|
|
445
|
-
})
|
|
442
|
+
});
|
|
446
443
|
queryClient.invalidateQueries({
|
|
447
444
|
queryKey: translationStatisticsQueryKeys.lists()
|
|
448
|
-
})
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
invalidateQueries
|
|
454
|
-
};
|
|
445
|
+
});
|
|
446
|
+
options?.onSuccess?.(data, variables, context);
|
|
447
|
+
},
|
|
448
|
+
...options
|
|
449
|
+
});
|
|
455
450
|
};
|
|
456
451
|
var useTranslationSettings = (query, options) => {
|
|
457
452
|
const { data, ...rest } = useQuery6({
|
|
@@ -213,7 +213,6 @@ var useDataGridCell = ({
|
|
|
213
213
|
case "number":
|
|
214
214
|
return numberCharacterRegex.test(key);
|
|
215
215
|
case "text":
|
|
216
|
-
case "multiline-text":
|
|
217
216
|
return textCharacterRegex.test(key);
|
|
218
217
|
default:
|
|
219
218
|
return false;
|
|
@@ -1326,7 +1325,6 @@ function convertArrayToPrimitive(values, type) {
|
|
|
1326
1325
|
case "boolean":
|
|
1327
1326
|
return values.map(convertToBoolean);
|
|
1328
1327
|
case "text":
|
|
1329
|
-
case "multiline-text":
|
|
1330
1328
|
return values.map(covertToString);
|
|
1331
1329
|
default:
|
|
1332
1330
|
throw new Error(`Unsupported target type "${type}".`);
|
|
@@ -1448,19 +1446,7 @@ var useDataGridKeydownEvent = ({
|
|
|
1448
1446
|
},
|
|
1449
1447
|
[rangeEnd, matrix, getSelectionValues, setSelectionValues, execute]
|
|
1450
1448
|
);
|
|
1451
|
-
const
|
|
1452
|
-
(anchor2) => {
|
|
1453
|
-
const field = matrix.getCellField(anchor2);
|
|
1454
|
-
const input = queryTool?.getInput(anchor2);
|
|
1455
|
-
if (!field || !input) {
|
|
1456
|
-
return;
|
|
1457
|
-
}
|
|
1458
|
-
createSnapshot(anchor2);
|
|
1459
|
-
input.focus();
|
|
1460
|
-
},
|
|
1461
|
-
[matrix, queryTool, createSnapshot]
|
|
1462
|
-
);
|
|
1463
|
-
const handleSpaceKeyNumber = useCallback9(
|
|
1449
|
+
const handleSpaceKeyTextOrNumber = useCallback9(
|
|
1464
1450
|
(anchor2) => {
|
|
1465
1451
|
const field = matrix.getCellField(anchor2);
|
|
1466
1452
|
const input = queryTool?.getInput(anchor2);
|
|
@@ -1531,12 +1517,10 @@ var useDataGridKeydownEvent = ({
|
|
|
1531
1517
|
case "togglable-number":
|
|
1532
1518
|
handleSpaceKeyTogglableNumber(anchor);
|
|
1533
1519
|
break;
|
|
1520
|
+
case "number":
|
|
1534
1521
|
case "text":
|
|
1535
1522
|
case "multiline-text":
|
|
1536
|
-
|
|
1537
|
-
break;
|
|
1538
|
-
case "number":
|
|
1539
|
-
handleSpaceKeyNumber(anchor);
|
|
1523
|
+
handleSpaceKeyTextOrNumber(anchor);
|
|
1540
1524
|
break;
|
|
1541
1525
|
}
|
|
1542
1526
|
},
|
|
@@ -1545,8 +1529,7 @@ var useDataGridKeydownEvent = ({
|
|
|
1545
1529
|
isEditing,
|
|
1546
1530
|
matrix,
|
|
1547
1531
|
handleSpaceKeyBoolean,
|
|
1548
|
-
|
|
1549
|
-
handleSpaceKeyNumber,
|
|
1532
|
+
handleSpaceKeyTextOrNumber,
|
|
1550
1533
|
handleSpaceKeyTogglableNumber
|
|
1551
1534
|
]
|
|
1552
1535
|
);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DISPLAY_OVERRIDE_ITEMS_LIMIT
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-CVHJAKLQ.mjs";
|
|
4
4
|
import {
|
|
5
5
|
TaxRateRuleReferenceType
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-WYATCUOM.mjs";
|
|
7
7
|
import {
|
|
8
8
|
LocalizedTablePagination,
|
|
9
9
|
useDeleteTaxRateAction
|