@mercurjs/admin 2.2.0-canary.39 → 2.2.0-canary.41
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-NT4LQZQJ.js → add-campaign-promotions-QK73ARX4.js} +4 -4
- package/dist/{api-key-management-list-SXHZJUJB.js → api-key-management-list-5RXBJ24C.js} +2 -2
- package/dist/{attribute-create-D4RUU5OT.js → attribute-create-VAR6C5GW.js} +11 -18
- package/dist/{attribute-detail-OU6557XI.js → attribute-detail-LBACUDU3.js} +5 -5
- package/dist/{attribute-edit-EQH3YMGW.js → attribute-edit-WXO5FGR6.js} +4 -4
- package/dist/{attribute-edit-possible-value-X7XTAVVL.js → attribute-edit-possible-value-RO7BY3NC.js} +2 -2
- package/dist/{attribute-edit-ranking-CHWUVK5Z.js → attribute-edit-ranking-YGR3KCSC.js} +1 -1
- package/dist/{attribute-list-5LGYNGO7.js → attribute-list-6A72PBIY.js} +2 -2
- package/dist/{campaign-detail-EHNTH6A7.js → campaign-detail-6J7PTIIP.js} +5 -5
- package/dist/{campaign-edit-MAS3DCFB.js → campaign-edit-DBAJFIH4.js} +18 -5
- package/dist/{campaign-list-FFGRXEVJ.js → campaign-list-XH7UM5JJ.js} +2 -2
- package/dist/{categories-metadata-EKY6TSUK.js → categories-metadata-4LXL2PWA.js} +1 -1
- package/dist/{category-create-AIS2MG7E.js → category-create-CJZZZLDD.js} +1 -1
- package/dist/{category-detail-HCRJDDA2.js → category-detail-XV6CDZZL.js} +6 -6
- package/dist/{category-edit-LYR2IOTA.js → category-edit-2NCWDSZY.js} +19 -6
- package/dist/{category-list-7ILXI55P.js → category-list-WYMOJJLW.js} +2 -2
- package/dist/{category-products-LZQATT5Z.js → category-products-CQV2TKLY.js} +5 -5
- package/dist/{chunk-S22SK4KO.js → chunk-25U23TXK.js} +1 -1
- package/dist/{chunk-O5MW4WPZ.js → chunk-27XNPAJP.js} +10 -4
- package/dist/{chunk-CYACZXMQ.js → chunk-2CJIE5MY.js} +19 -8
- package/dist/{chunk-SLKOHWKT.js → chunk-3L4IFGRJ.js} +46 -9
- package/dist/{chunk-MYJJMHR5.js → chunk-4BPQNCF5.js} +1 -1
- package/dist/{chunk-VSLKILOI.js → chunk-4RLXMDIJ.js} +2 -2
- package/dist/{chunk-5GVJXMOU.js → chunk-4XYSIVPO.js} +2 -2
- package/dist/{chunk-PSGHE5YJ.js → chunk-5DAFNAZJ.js} +52 -35
- package/dist/{chunk-BLR3NTU6.js → chunk-5PNM6QNB.js} +2 -0
- package/dist/{chunk-YUUDST4E.js → chunk-5UT374IW.js} +70 -25
- package/dist/{chunk-2YAVXVET.js → chunk-6BWJWA2F.js} +1 -1
- package/dist/{chunk-HSL5IICN.js → chunk-6ZVV2XHU.js} +1 -1
- package/dist/{chunk-5NC6SI6J.js → chunk-7U2JJYMP.js} +42 -14
- package/dist/{chunk-DI2KBXVH.js → chunk-ADTYNS4J.js} +2 -2
- package/dist/{chunk-CE2WRTS7.js → chunk-AMZ2QSSI.js} +1 -1
- package/dist/chunk-APAT344J.js +144 -0
- package/dist/{chunk-74WEDBZ7.js → chunk-BFUHW56P.js} +1 -1
- package/dist/{chunk-YNK25LVO.js → chunk-BQWSY6FS.js} +2 -2
- package/dist/{chunk-MANRAV52.js → chunk-CBD7HK2G.js} +60 -26
- package/dist/{chunk-FLPKTLXN.js → chunk-CHMIK6PK.js} +1 -1
- package/dist/{chunk-WKTRJNOK.js → chunk-COOOOQ2N.js} +1 -1
- package/dist/{chunk-5K5VNKSE.js → chunk-DJD3MWED.js} +1 -1
- package/dist/{chunk-2DSCC2VR.js → chunk-EOSJHPHN.js} +1 -1
- package/dist/{chunk-AVATBB62.js → chunk-F2SZ4LPF.js} +61 -5
- package/dist/{chunk-BVIIRGSW.js → chunk-F3F4JC7E.js} +3 -1
- package/dist/{chunk-7TWARCNU.js → chunk-FNCDMOOR.js} +54 -22
- package/dist/{chunk-DISTPZNS.js → chunk-GWSRWILC.js} +1 -1
- package/dist/{chunk-5DQED4UT.js → chunk-GXU246YJ.js} +32 -5
- package/dist/{chunk-73Y6HKIG.js → chunk-HT34QVZR.js} +1 -1
- package/dist/{chunk-O53E5U52.js → chunk-I5HY5Q3K.js} +1 -1
- package/dist/{chunk-23OLYWMR.js → chunk-IASJSRP5.js} +71 -50
- package/dist/{chunk-FZPSX44L.js → chunk-IMLKFVFH.js} +24 -7
- package/dist/{chunk-LZEEPVQY.js → chunk-IZBV7MCY.js} +71 -37
- package/dist/{chunk-XFKDDRB6.js → chunk-JEDX4KBB.js} +1 -1
- package/dist/{chunk-CY263OE4.js → chunk-JEN37H6L.js} +3 -1
- package/dist/{chunk-PRSTCHB5.js → chunk-JSVYNNPF.js} +1 -3
- package/dist/{chunk-BO4V6CQN.js → chunk-K2JORJRZ.js} +4 -2
- package/dist/{chunk-LH4WPKYK.js → chunk-K7H77TA5.js} +1 -1
- package/dist/{chunk-RNDDYLHV.js → chunk-KRFXBBBU.js} +3 -3
- package/dist/{chunk-CN4FCZPK.js → chunk-KT4DGVRQ.js} +2 -2
- package/dist/{chunk-DWNUEPMI.js → chunk-KUCNCDST.js} +5 -10
- package/dist/{chunk-4NAIC6RG.js → chunk-L2D2AMTK.js} +4 -2
- package/dist/{chunk-WKR3Y2KD.js → chunk-LBDSZT5Q.js} +19 -8
- package/dist/{chunk-P4LTLPTK.js → chunk-LGOPKYNG.js} +1 -1
- package/dist/{chunk-VSKHV5QF.js → chunk-LQSSUC7W.js} +1 -1
- package/dist/{chunk-RIURQMDE.js → chunk-MFCQTAVI.js} +16 -5
- package/dist/{chunk-EUXCKJPT.js → chunk-ML7UVBKL.js} +1 -1
- package/dist/{chunk-LX5XLXPI.js → chunk-NLJ5F7FS.js} +1 -1
- package/dist/{chunk-325DZAT2.js → chunk-NPHYCQMP.js} +6 -4
- package/dist/{chunk-Y62TJJ3P.js → chunk-ORCMDF54.js} +28 -12
- package/dist/{chunk-I3ARNGRC.js → chunk-OVUKVGGD.js} +19 -8
- package/dist/{chunk-IQDZZ5EQ.js → chunk-PLU2GB4L.js} +28 -8
- package/dist/{chunk-FNJEXQ2Z.js → chunk-QAONUPAX.js} +44 -15
- package/dist/{chunk-GUDWUAMT.js → chunk-QFFF542X.js} +10 -4
- package/dist/{chunk-2S2SBRZP.js → chunk-RATQZHCS.js} +7 -6
- package/dist/{chunk-ZO3OJ2UQ.js → chunk-RIO2IHPE.js} +1 -1
- package/dist/{chunk-WBSUHLO7.js → chunk-RMB7MPIT.js} +1 -1
- package/dist/{chunk-HWWET5ZP.js → chunk-S2C6DUQJ.js} +3 -3
- package/dist/{chunk-QH34LF36.js → chunk-TZM63FZ4.js} +2 -2
- package/dist/{chunk-3SHHDCA6.js → chunk-U4MV53CS.js} +33 -15
- package/dist/{chunk-KC4J2WOM.js → chunk-USG4EATH.js} +20 -5
- package/dist/{chunk-LRJNSCMR.js → chunk-VIJXGPDE.js} +79 -25
- package/dist/{chunk-JUMT5GX7.js → chunk-VLYPVR5U.js} +20 -9
- package/dist/{chunk-PWLDTJJX.js → chunk-VXDRQQRZ.js} +4 -4
- package/dist/{chunk-YZBEJ3CY.js → chunk-VYSB4CTB.js} +1500 -1370
- package/dist/{chunk-TBKNLE4M.js → chunk-WEVSVBVF.js} +1 -1
- package/dist/{chunk-WNTHKSLS.js → chunk-WMK3BQPH.js} +2 -2
- package/dist/{chunk-AROCMF45.js → chunk-X5PMVI7H.js} +2 -2
- package/dist/{chunk-RDUSAVT3.js → chunk-X6KFVVHH.js} +3 -3
- package/dist/{chunk-2FPQHWJZ.js → chunk-X7IR2TVL.js} +106 -24
- package/dist/{chunk-7RWFRMQG.js → chunk-ZU74CNL4.js} +1 -1
- package/dist/{collection-add-products-QIEQCILA.js → collection-add-products-XUKFZOCQ.js} +5 -5
- package/dist/{collection-detail-PTVRSXT3.js → collection-detail-ID4FKP22.js} +6 -6
- package/dist/{collection-edit-UMZN5JZ6.js → collection-edit-GPUKISIV.js} +18 -5
- package/dist/{collection-list-O5XBGFTN.js → collection-list-C6U4CPLD.js} +5 -5
- package/dist/{collection-metadata-TOHJL5WW.js → collection-metadata-SBK6SL4C.js} +1 -1
- package/dist/{commission-rule-commission-edit-EXLLNUKM.js → commission-rule-commission-edit-V5JVRNZN.js} +1 -3
- package/dist/{commission-rule-create-3MCNOSWN.js → commission-rule-create-EZ2C6AWK.js} +1 -3
- package/dist/{commission-rule-detail-VTP2JKEG.js → commission-rule-detail-ZQ3OHFA2.js} +2 -2
- package/dist/{commission-rule-edit-X45EQ6BK.js → commission-rule-edit-NQ5EYCGO.js} +1 -3
- package/dist/{commissions-list-T7735Y35.js → commissions-list-M5WLJD2P.js} +3 -3
- package/dist/{customer-detail-IPM3SBHE.js → customer-detail-IG2QAAQL.js} +2 -2
- package/dist/{customer-edit-D55FJLIN.js → customer-edit-TADBOMPB.js} +18 -5
- package/dist/{customer-group-add-customers-QBRVKXGO.js → customer-group-add-customers-O6A5ZFPM.js} +1 -1
- package/dist/{customer-group-detail-3HV3BJOU.js → customer-group-detail-2B7XJ7NT.js} +2 -2
- package/dist/{customer-group-edit-NZ5SUPFQ.js → customer-group-edit-BX4HKVNN.js} +33 -18
- package/dist/{customer-group-list-IR6CW36P.js → customer-group-list-7LN5TN3G.js} +2 -2
- package/dist/{customer-group-metadata-4W32YXXP.js → customer-group-metadata-JX7ZBXLJ.js} +1 -1
- package/dist/{customer-list-276YPXTE.js → customer-list-K5TV3PSF.js} +2 -2
- package/dist/{customer-metadata-L622ZJ43.js → customer-metadata-JT5GGCRV.js} +1 -1
- package/dist/{customers-add-customer-group-PWKJZJBP.js → customers-add-customer-group-KX3XNNMU.js} +1 -1
- package/dist/{edit-inventory-item-73BY4I5T.js → edit-inventory-item-4RXYRJ7O.js} +19 -6
- package/dist/{edit-reservation-BC5IOLK6.js → edit-reservation-HA6J6U2N.js} +18 -5
- package/dist/{edit-rules-OK44K33O.js → edit-rules-4PPNBI7B.js} +1 -1
- package/dist/extension-targets.d.ts +195 -0
- package/dist/extension-targets.js +1 -0
- package/dist/{global-commission-edit-7ZMMIV7B.js → global-commission-edit-TRSS5JBH.js} +1 -3
- package/dist/index.d.ts +6 -2
- package/dist/index.js +199 -171
- package/dist/{inventory-create-66YM6FST.js → inventory-create-B3FHGX6A.js} +1 -1
- package/dist/{inventory-detail-RYFIUKTJ.js → inventory-detail-7VEJHRBB.js} +3 -3
- package/dist/{inventory-list-U4W4AP4E.js → inventory-list-IRQUQD4G.js} +2 -2
- package/dist/{inventory-metadata-W6Z6J2Z2.js → inventory-metadata-W2E4KYG3.js} +1 -1
- package/dist/{inventory-stock-A3TSIGMD.js → inventory-stock-D2BNT2UL.js} +4 -4
- package/dist/{location-fulfillment-providers-TMPZH2KQ.js → location-fulfillment-providers-MFM4SHJJ.js} +3 -3
- package/dist/{location-service-zone-create-U77V3ROT.js → location-service-zone-create-O6GYRZEE.js} +2 -2
- package/dist/{location-service-zone-manage-areas-FUUAAIDJ.js → location-service-zone-manage-areas-DBP3P27I.js} +2 -2
- package/dist/{marketplace-add-currencies-KDNMN57C.js → marketplace-add-currencies-IPE5RJF6.js} +1 -1
- package/dist/{marketplace-detail-KBJSCI2N.js → marketplace-detail-IHGJXVZS.js} +2 -2
- package/dist/{marketplace-edit-26PFXTVD.js → marketplace-edit-WG6LMQ2P.js} +1 -1
- package/dist/{marketplace-metadata-VXFQ3JZW.js → marketplace-metadata-STYABOTX.js} +1 -1
- package/dist/{offer-detail-page-D3J547CC.js → offer-detail-page-THKNBFWZ.js} +62 -17
- package/dist/{offer-variant-detail-page-P4CKF442.js → offer-variant-detail-page-NDGPFP6P.js} +2 -2
- package/dist/{offers-7JTHN6FI.js → offers-LYLEYD3A.js} +23 -8
- package/dist/{order-create-claim-CHXOZH2C.js → order-create-claim-Y7ESDXLI.js} +1 -1
- package/dist/{order-create-edit-O4AOAOF7.js → order-create-edit-6L5S7KQM.js} +1 -1
- package/dist/{order-create-exchange-CG3ODKTK.js → order-create-exchange-WHO3K2MW.js} +1 -1
- package/dist/{order-create-return-DDOYLDT7.js → order-create-return-R5WJBQ5W.js} +1 -1
- package/dist/{order-detail-V6AL4RWB.js → order-detail-NYKOH7OO.js} +2 -2
- package/dist/{order-edit-billing-address-KVX4EPM7.js → order-edit-billing-address-BEOKFNLZ.js} +1 -1
- package/dist/{order-list-WHZJ6B4G.js → order-list-EZWCH5YW.js} +4 -4
- package/dist/{order-metadata-L6SCT4MO.js → order-metadata-VQOA3DOL.js} +1 -1
- package/dist/pages/index.d.ts +60 -60
- package/dist/pages/index.js +66 -66
- package/dist/{payout-list-SOWVPSFQ.js → payout-list-3GQJQSVU.js} +2 -2
- package/dist/{price-list-configuration-OTSYJ3AQ.js → price-list-configuration-BLHIGDSV.js} +2 -2
- package/dist/{price-list-create-2422HUBU.js → price-list-create-YHSA7U3L.js} +7 -7
- package/dist/{price-list-detail-CL3FMPVN.js → price-list-detail-3SS3DGRU.js} +6 -6
- package/dist/{price-list-edit-RZQMPHXU.js → price-list-edit-TRRPPI43.js} +19 -6
- package/dist/{price-list-list-A42VGE3L.js → price-list-list-REIHOWWT.js} +2 -2
- package/dist/{price-list-prices-add-OOG6526Y.js → price-list-prices-add-X2GLUD7O.js} +6 -6
- package/dist/{product-add-existing-attributes-DKKPTZMB.js → product-add-existing-attributes-GPAZOIXH.js} +2 -2
- package/dist/{product-create-IX4TOFNU.js → product-create-6FDBZUB4.js} +4 -4
- package/dist/{product-create-attribute-DQ2RMDPZ.js → product-create-attribute-YFIEH7HD.js} +1 -1
- package/dist/{product-create-variant-TBJJ74ZR.js → product-create-variant-4O22DW7M.js} +3 -3
- package/dist/{product-detail-BLZYOXLS.js → product-detail-VORTX3LT.js} +4 -4
- package/dist/{product-edit-attribute-BSPIDAZJ.js → product-edit-attribute-NUJB7M6R.js} +2 -2
- package/dist/{product-list-PLXUL3YW.js → product-list-2WE2JY4F.js} +16 -13
- package/dist/{product-media-TDEPDO3W.js → product-media-LINHO45U.js} +3 -3
- package/dist/{product-metadata-KBT4QGRF.js → product-metadata-LOF6TSJQ.js} +1 -1
- package/dist/{product-organization-HFC44AOV.js → product-organization-ISVMEWQG.js} +1 -1
- package/dist/{product-tag-detail-222RARIO.js → product-tag-detail-2PMM6RG6.js} +7 -7
- package/dist/{product-tag-list-EZ4JUW4U.js → product-tag-list-KBNI6UDN.js} +7 -7
- package/dist/{product-tag-metadata-4EUBENJ6.js → product-tag-metadata-BXC7GMBB.js} +1 -1
- package/dist/{product-type-detail-SSMTOG47.js → product-type-detail-UKJ6RIHU.js} +6 -6
- package/dist/{product-type-list-XTVTT7ZA.js → product-type-list-JN4SKTFE.js} +2 -2
- package/dist/{product-type-metadata-RAVB4BK2.js → product-type-metadata-24JU4JNK.js} +1 -1
- package/dist/{product-variant-edit-QJK2CLID.js → product-variant-edit-MAM2RQ4V.js} +2 -2
- package/dist/{product-variant-metadata-7VHJ4U6L.js → product-variant-metadata-5PUBLPDN.js} +1 -1
- package/dist/{promotion-create-AWZ7YA5T.js → promotion-create-3EDHAI7E.js} +2 -2
- package/dist/{promotion-detail-EEDQ3GQD.js → promotion-detail-PLGDC3A7.js} +3 -3
- package/dist/{promotion-edit-details-APVHD6J4.js → promotion-edit-details-RTLPOQ4H.js} +22 -13
- package/dist/{promotion-list-SXUXYV6R.js → promotion-list-D6HSZKGU.js} +5 -5
- package/dist/{refund-reason-list-OVTNXVLP.js → refund-reason-list-OWXAGHOQ.js} +5 -5
- package/dist/{region-add-countries-IIHNNE76.js → region-add-countries-UO5A42HM.js} +1 -1
- package/dist/{region-create-PHZNUCJR.js → region-create-7NA6RKWS.js} +1 -1
- package/dist/{region-detail-AECQQ62I.js → region-detail-636IAPYK.js} +2 -2
- package/dist/{region-list-IBQW5J3R.js → region-list-GIU6NFI4.js} +2 -2
- package/dist/{region-metadata-3KASKFZ3.js → region-metadata-NRV3L42D.js} +1 -1
- package/dist/{reservation-detail-MAWHNY2H.js → reservation-detail-PWZ3PLC4.js} +2 -2
- package/dist/{reservation-list-IUYMT4U6.js → reservation-list-URKNAFIX.js} +2 -2
- package/dist/{reservation-metadata-ENY4V2ED.js → reservation-metadata-ZFKKAOWG.js} +1 -1
- package/dist/{reset-password-UIDUOHVW.js → reset-password-UDA5ZMTZ.js} +1 -1
- package/dist/{return-reason-list-FRHFRNKK.js → return-reason-list-4ANB2PXX.js} +6 -6
- package/dist/{sales-channel-add-products-ZCUVTJQN.js → sales-channel-add-products-NATZ7L5S.js} +5 -5
- package/dist/{sales-channel-detail-EZVCWMMS.js → sales-channel-detail-VDYOKH35.js} +6 -6
- package/dist/{sales-channel-metadata-RXC4IDD3.js → sales-channel-metadata-5W4OZZYI.js} +1 -1
- package/dist/{shipping-option-type-list-Y43XD2XM.js → shipping-option-type-list-4FML2ZX5.js} +2 -2
- package/dist/{shipping-profile-metadata-HMQZ6LGB.js → shipping-profile-metadata-52ZW757T.js} +1 -1
- package/dist/{shipping-profiles-list-4VHKTKIL.js → shipping-profiles-list-PZQVMKR4.js} +2 -2
- package/dist/{store-address-edit-B4LWVP73.js → store-address-edit-IJ2UW6WC.js} +1 -1
- package/dist/{store-bulk-edit-IXWGUFY2.js → store-bulk-edit-I2J5YYZK.js} +1 -1
- package/dist/{store-create-PL2XGIR5.js → store-create-4UHISWQE.js} +3 -3
- package/dist/{store-details-4DAUF3CD.js → store-details-4D7MSGVL.js} +6 -6
- package/dist/{store-edit-ESFC2UXE.js → store-edit-MQZMWYXY.js} +23 -9
- package/dist/{store-list-KANREHW5.js → store-list-EBAHJOZO.js} +5 -5
- package/dist/{store-member-invite-U4UQS5VC.js → store-member-invite-J2JFDOHX.js} +2 -2
- package/dist/{tax-region-create-4YEJ3HFY.js → tax-region-create-GGDCD2VU.js} +1 -1
- package/dist/{tax-region-metadata-N3QNTXME.js → tax-region-metadata-4P667IOY.js} +1 -1
- package/dist/{tax-region-tax-override-create-JZHOHCXF.js → tax-region-tax-override-create-5PIUENUZ.js} +7 -7
- package/dist/{tax-region-tax-override-edit-SZRD23P4.js → tax-region-tax-override-edit-GBPRPUTS.js} +7 -7
- package/dist/{user-invite-UN6NCCII.js → user-invite-FCWARLW5.js} +1 -1
- package/dist/{user-list-27ZKEJXN.js → user-list-OU6WS25V.js} +2 -2
- package/dist/{user-metadata-BD73LJWB.js → user-metadata-CHHV7S3A.js} +1 -1
- package/package.json +23 -18
- package/dist/chunk-LFKTHNWI.js +0 -83
|
@@ -24,9 +24,11 @@ import { useTranslation as useTranslation2 } from "react-i18next";
|
|
|
24
24
|
import { useParams } from "react-router-dom";
|
|
25
25
|
|
|
26
26
|
// src/pages/customer-groups/customer-group-edit/components/edit-customer-group-form/edit-customer-group-form.tsx
|
|
27
|
-
import { zodResolver } from "@hookform/resolvers/zod";
|
|
28
27
|
import { Button, Input, toast } from "@medusajs/ui";
|
|
29
|
-
import {
|
|
28
|
+
import {
|
|
29
|
+
FormExtensionZone,
|
|
30
|
+
useExtendableForm
|
|
31
|
+
} from "@mercurjs/dashboard-shared";
|
|
30
32
|
import { useTranslation } from "react-i18next";
|
|
31
33
|
import * as z from "zod";
|
|
32
34
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -38,11 +40,13 @@ var EditCustomerGroupForm = ({
|
|
|
38
40
|
}) => {
|
|
39
41
|
const { t } = useTranslation();
|
|
40
42
|
const { handleSuccess } = useRouteModal();
|
|
41
|
-
const form =
|
|
43
|
+
const form = useExtendableForm({
|
|
44
|
+
schema: EditCustomerGroupSchema,
|
|
45
|
+
model: "customer_group",
|
|
46
|
+
data: group,
|
|
42
47
|
defaultValues: {
|
|
43
48
|
name: group.name || ""
|
|
44
|
-
}
|
|
45
|
-
resolver: zodResolver(EditCustomerGroupSchema)
|
|
49
|
+
}
|
|
46
50
|
});
|
|
47
51
|
const { mutateAsync, isPending } = useUpdateCustomerGroup(group.id);
|
|
48
52
|
const handleSubmit = form.handleSubmit(async (data) => {
|
|
@@ -67,20 +71,31 @@ var EditCustomerGroupForm = ({
|
|
|
67
71
|
className: "flex flex-1 flex-col overflow-hidden",
|
|
68
72
|
"data-testid": "edit-customer-group-form-keybound",
|
|
69
73
|
children: [
|
|
70
|
-
/* @__PURE__ */
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
/* @__PURE__ */
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
74
|
+
/* @__PURE__ */ jsxs(RouteDrawer.Body, { className: "flex max-w-full flex-1 flex-col gap-y-8 overflow-y-auto", "data-testid": "edit-customer-group-form-body", children: [
|
|
75
|
+
/* @__PURE__ */ jsx(
|
|
76
|
+
Form.Field,
|
|
77
|
+
{
|
|
78
|
+
control: form.control,
|
|
79
|
+
name: "name",
|
|
80
|
+
render: ({ field }) => {
|
|
81
|
+
return /* @__PURE__ */ jsxs(Form.Item, { "data-testid": "edit-customer-group-form-name-item", children: [
|
|
82
|
+
/* @__PURE__ */ jsx(Form.Label, { "data-testid": "edit-customer-group-form-name-label", children: t("fields.name") }),
|
|
83
|
+
/* @__PURE__ */ jsx(Form.Control, { "data-testid": "edit-customer-group-form-name-control", children: /* @__PURE__ */ jsx(Input, { ...field, size: "small", "data-testid": "edit-customer-group-form-name-input" }) }),
|
|
84
|
+
/* @__PURE__ */ jsx(Form.ErrorMessage, { "data-testid": "edit-customer-group-form-name-error" })
|
|
85
|
+
] });
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
),
|
|
89
|
+
/* @__PURE__ */ jsx(
|
|
90
|
+
FormExtensionZone,
|
|
91
|
+
{
|
|
92
|
+
model: "customer_group",
|
|
93
|
+
zone: "edit",
|
|
94
|
+
control: form.control,
|
|
95
|
+
data: group
|
|
81
96
|
}
|
|
82
|
-
|
|
83
|
-
|
|
97
|
+
)
|
|
98
|
+
] }),
|
|
84
99
|
/* @__PURE__ */ jsx(RouteDrawer.Footer, { "data-testid": "edit-customer-group-form-footer", children: /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-end gap-x-2", "data-testid": "edit-customer-group-form-footer-actions", children: [
|
|
85
100
|
/* @__PURE__ */ jsx(RouteDrawer.Close, { asChild: true, children: /* @__PURE__ */ jsx(Button, { size: "small", variant: "secondary", "data-testid": "edit-customer-group-form-cancel-button", children: t("actions.cancel") }) }),
|
|
86
101
|
/* @__PURE__ */ jsx(Button, { size: "small", type: "submit", isLoading: isPending, "data-testid": "edit-customer-group-form-submit-button", children: t("actions.save") })
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CustomerGroupListPage
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IMLKFVFH.js";
|
|
4
4
|
import "./chunk-FMJBQE56.js";
|
|
5
5
|
import "./chunk-3XOE4NV5.js";
|
|
6
6
|
import "./chunk-E74OUNA3.js";
|
|
7
7
|
import "./chunk-FQERBIVS.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-6ZVV2XHU.js";
|
|
9
9
|
import "./chunk-YN3FGNJM.js";
|
|
10
10
|
import "./chunk-ZAOEFQ6K.js";
|
|
11
11
|
import "./chunk-PAYQJPGK.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CustomerListPage
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-OVUKVGGD.js";
|
|
4
4
|
import "./chunk-QG6PLWNH.js";
|
|
5
5
|
import "./chunk-HGTPUAHD.js";
|
|
6
6
|
import "./chunk-GRH7C3QN.js";
|
|
@@ -9,7 +9,7 @@ import "./chunk-DB6ANJBO.js";
|
|
|
9
9
|
import "./chunk-PHOCVOZ5.js";
|
|
10
10
|
import "./chunk-E74OUNA3.js";
|
|
11
11
|
import "./chunk-FQERBIVS.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-6ZVV2XHU.js";
|
|
13
13
|
import "./chunk-YN3FGNJM.js";
|
|
14
14
|
import "./chunk-ZAOEFQ6K.js";
|
|
15
15
|
import "./chunk-PAYQJPGK.js";
|
|
@@ -55,10 +55,12 @@ import { useParams } from "react-router-dom";
|
|
|
55
55
|
|
|
56
56
|
// src/pages/inventory/inventory-detail/components/edit-inventory-item/components/edit-item-form.tsx
|
|
57
57
|
import { Button, Input, toast } from "@medusajs/ui";
|
|
58
|
-
import { zodResolver } from "@hookform/resolvers/zod";
|
|
59
|
-
import { useForm } from "react-hook-form";
|
|
60
58
|
import { useTranslation } from "react-i18next";
|
|
61
59
|
import { z } from "zod";
|
|
60
|
+
import {
|
|
61
|
+
FormExtensionZone,
|
|
62
|
+
useExtendableForm
|
|
63
|
+
} from "@mercurjs/dashboard-shared";
|
|
62
64
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
63
65
|
var EditInventoryItemSchema = z.object({
|
|
64
66
|
title: z.string().optional(),
|
|
@@ -73,13 +75,15 @@ var getDefaultValues = (item) => {
|
|
|
73
75
|
var EditInventoryItemForm = ({ item }) => {
|
|
74
76
|
const { t } = useTranslation();
|
|
75
77
|
const { handleSuccess } = useRouteModal();
|
|
76
|
-
const form =
|
|
77
|
-
|
|
78
|
-
|
|
78
|
+
const form = useExtendableForm({
|
|
79
|
+
schema: EditInventoryItemSchema,
|
|
80
|
+
model: "inventory_item",
|
|
81
|
+
data: item,
|
|
82
|
+
defaultValues: getDefaultValues(item)
|
|
79
83
|
});
|
|
80
84
|
const { mutateAsync, isPending: isLoading } = useUpdateInventoryItem(item.id);
|
|
81
85
|
const handleSubmit = form.handleSubmit(async (values) => {
|
|
82
|
-
mutateAsync(values, {
|
|
86
|
+
mutateAsync({ title: values.title, sku: values.sku }, {
|
|
83
87
|
onSuccess: () => {
|
|
84
88
|
toast.success(t("inventory.toast.updateItem"));
|
|
85
89
|
handleSuccess();
|
|
@@ -122,6 +126,15 @@ var EditInventoryItemForm = ({ item }) => {
|
|
|
122
126
|
] });
|
|
123
127
|
}
|
|
124
128
|
}
|
|
129
|
+
),
|
|
130
|
+
/* @__PURE__ */ jsx(
|
|
131
|
+
FormExtensionZone,
|
|
132
|
+
{
|
|
133
|
+
model: "inventory_item",
|
|
134
|
+
zone: "edit",
|
|
135
|
+
control: form.control,
|
|
136
|
+
data: item
|
|
137
|
+
}
|
|
125
138
|
)
|
|
126
139
|
] }),
|
|
127
140
|
/* @__PURE__ */ jsx(RouteDrawer.Footer, { "data-testid": "inventory-edit-item-form-footer", children: /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-end gap-x-2", "data-testid": "inventory-edit-item-form-footer-actions", children: [
|
|
@@ -34,10 +34,12 @@ import { useParams } from "react-router-dom";
|
|
|
34
34
|
|
|
35
35
|
// src/pages/reservations/reservation-detail/components/edit-reservation/components/edit-reservation-form.tsx
|
|
36
36
|
import { Button, Input, Select, Text, Textarea, toast } from "@medusajs/ui";
|
|
37
|
-
import { zodResolver } from "@hookform/resolvers/zod";
|
|
38
|
-
import { useForm } from "react-hook-form";
|
|
39
37
|
import { useTranslation } from "react-i18next";
|
|
40
38
|
import { z } from "zod";
|
|
39
|
+
import {
|
|
40
|
+
FormExtensionZone,
|
|
41
|
+
useExtendableForm
|
|
42
|
+
} from "@mercurjs/dashboard-shared";
|
|
41
43
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
42
44
|
var EditReservationSchema = z.object({
|
|
43
45
|
location_id: z.string(),
|
|
@@ -68,9 +70,11 @@ var EditReservationForm = ({
|
|
|
68
70
|
const { t } = useTranslation();
|
|
69
71
|
const { handleSuccess } = useRouteModal();
|
|
70
72
|
const direction = useDocumentDirection();
|
|
71
|
-
const form =
|
|
72
|
-
|
|
73
|
-
|
|
73
|
+
const form = useExtendableForm({
|
|
74
|
+
schema: EditReservationSchema,
|
|
75
|
+
model: "reservation",
|
|
76
|
+
data: reservation,
|
|
77
|
+
defaultValues: getDefaultValues(reservation)
|
|
74
78
|
});
|
|
75
79
|
const { mutateAsync } = useUpdateReservationItem(reservation.id);
|
|
76
80
|
const handleSubmit = form.handleSubmit(async (values) => {
|
|
@@ -192,6 +196,15 @@ var EditReservationForm = ({
|
|
|
192
196
|
] });
|
|
193
197
|
}
|
|
194
198
|
}
|
|
199
|
+
),
|
|
200
|
+
/* @__PURE__ */ jsx(
|
|
201
|
+
FormExtensionZone,
|
|
202
|
+
{
|
|
203
|
+
model: "reservation",
|
|
204
|
+
zone: "edit",
|
|
205
|
+
control: form.control,
|
|
206
|
+
data: reservation
|
|
207
|
+
}
|
|
195
208
|
)
|
|
196
209
|
] }),
|
|
197
210
|
/* @__PURE__ */ jsx(RouteDrawer.Footer, { children: /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-end gap-x-2", children: [
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
// GENERATED by scripts/generate-extension-targets.ts — do not edit by hand.
|
|
2
|
+
// Seeds the built-in extension target ids from this panel's host usages.
|
|
3
|
+
import "@mercurjs/dashboard-sdk"
|
|
4
|
+
|
|
5
|
+
declare module "@mercurjs/dashboard-sdk" {
|
|
6
|
+
interface WidgetZoneRegistry {
|
|
7
|
+
"campaigns.detail.main.after": true
|
|
8
|
+
"campaigns.detail.main.before": true
|
|
9
|
+
"campaigns.detail.side.after": true
|
|
10
|
+
"campaigns.detail.side.before": true
|
|
11
|
+
"campaigns.list.after": true
|
|
12
|
+
"campaigns.list.before": true
|
|
13
|
+
"categories.detail.main.after": true
|
|
14
|
+
"categories.detail.main.before": true
|
|
15
|
+
"categories.detail.side.after": true
|
|
16
|
+
"categories.detail.side.before": true
|
|
17
|
+
"categories.list.after": true
|
|
18
|
+
"categories.list.before": true
|
|
19
|
+
"collections.detail.main.after": true
|
|
20
|
+
"collections.detail.main.before": true
|
|
21
|
+
"collections.list.after": true
|
|
22
|
+
"collections.list.before": true
|
|
23
|
+
"customer-groups.detail.main.after": true
|
|
24
|
+
"customer-groups.detail.main.before": true
|
|
25
|
+
"customer-groups.list.after": true
|
|
26
|
+
"customer-groups.list.before": true
|
|
27
|
+
"customers.detail.main.after": true
|
|
28
|
+
"customers.detail.main.before": true
|
|
29
|
+
"customers.detail.side.after": true
|
|
30
|
+
"customers.detail.side.before": true
|
|
31
|
+
"customers.list.after": true
|
|
32
|
+
"customers.list.before": true
|
|
33
|
+
"inventory.detail.main.after": true
|
|
34
|
+
"inventory.detail.main.before": true
|
|
35
|
+
"inventory.detail.side.after": true
|
|
36
|
+
"inventory.detail.side.before": true
|
|
37
|
+
"inventory.list.after": true
|
|
38
|
+
"inventory.list.before": true
|
|
39
|
+
"offers.detail.main.after": true
|
|
40
|
+
"offers.detail.main.before": true
|
|
41
|
+
"offers.detail.side.after": true
|
|
42
|
+
"offers.detail.side.before": true
|
|
43
|
+
"offers.list.after": true
|
|
44
|
+
"offers.list.before": true
|
|
45
|
+
"orders.detail.main.after": true
|
|
46
|
+
"orders.detail.main.before": true
|
|
47
|
+
"orders.detail.side.after": true
|
|
48
|
+
"orders.detail.side.before": true
|
|
49
|
+
"orders.list.after": true
|
|
50
|
+
"orders.list.before": true
|
|
51
|
+
"price-lists.detail.main.after": true
|
|
52
|
+
"price-lists.detail.main.before": true
|
|
53
|
+
"price-lists.detail.side.after": true
|
|
54
|
+
"price-lists.detail.side.before": true
|
|
55
|
+
"price-lists.list.after": true
|
|
56
|
+
"price-lists.list.before": true
|
|
57
|
+
"product.detail.main.after": true
|
|
58
|
+
"product.detail.main.before": true
|
|
59
|
+
"product.detail.side.after": true
|
|
60
|
+
"product.detail.side.before": true
|
|
61
|
+
"promotions.detail.main.after": true
|
|
62
|
+
"promotions.detail.main.before": true
|
|
63
|
+
"promotions.detail.side.after": true
|
|
64
|
+
"promotions.detail.side.before": true
|
|
65
|
+
"promotions.list.after": true
|
|
66
|
+
"promotions.list.before": true
|
|
67
|
+
"reservation.detail.main.after": true
|
|
68
|
+
"reservation.detail.main.before": true
|
|
69
|
+
"reservation.detail.side.after": true
|
|
70
|
+
"reservation.detail.side.before": true
|
|
71
|
+
"reservation.list.after": true
|
|
72
|
+
"reservation.list.before": true
|
|
73
|
+
"stores.detail.main.after": true
|
|
74
|
+
"stores.detail.main.before": true
|
|
75
|
+
"stores.detail.side.after": true
|
|
76
|
+
"stores.detail.side.before": true
|
|
77
|
+
"stores.list.after": true
|
|
78
|
+
"stores.list.before": true
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
interface NavItemRegistry {
|
|
82
|
+
"campaigns": true
|
|
83
|
+
"categories": true
|
|
84
|
+
"collections": true
|
|
85
|
+
"customer-groups": true
|
|
86
|
+
"customers": true
|
|
87
|
+
"inventory": true
|
|
88
|
+
"offers": true
|
|
89
|
+
"orders": true
|
|
90
|
+
"payouts": true
|
|
91
|
+
"price-lists": true
|
|
92
|
+
"products": true
|
|
93
|
+
"promotions": true
|
|
94
|
+
"reservations": true
|
|
95
|
+
"stores": true
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
interface NavParentRegistry {
|
|
99
|
+
"customers": true
|
|
100
|
+
"inventory": true
|
|
101
|
+
"orders": true
|
|
102
|
+
"payouts": true
|
|
103
|
+
"price-lists": true
|
|
104
|
+
"products": true
|
|
105
|
+
"promotions": true
|
|
106
|
+
"stores": true
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
interface CustomFieldsRegistry {
|
|
110
|
+
"attribute": {
|
|
111
|
+
formZones: "create"
|
|
112
|
+
formTabs: { "create": "details" | "type" }
|
|
113
|
+
displayZones: never
|
|
114
|
+
displayFieldIds: never
|
|
115
|
+
}
|
|
116
|
+
"campaign": {
|
|
117
|
+
formZones: "edit"
|
|
118
|
+
formTabs: Record<string, string>
|
|
119
|
+
displayZones: "configuration" | "general" | "promotions"
|
|
120
|
+
displayFieldIds: "campaign_identifier" | "currency_code" | "description" | "name" | "status"
|
|
121
|
+
}
|
|
122
|
+
"category": {
|
|
123
|
+
formZones: "create" | "edit"
|
|
124
|
+
formTabs: { "create": "details" | "organize" }
|
|
125
|
+
displayZones: "general" | "icon" | "media" | "organize" | "products"
|
|
126
|
+
displayFieldIds: "description" | "handle" | "is_active" | "is_internal" | "name"
|
|
127
|
+
}
|
|
128
|
+
"collection": {
|
|
129
|
+
formZones: "edit"
|
|
130
|
+
formTabs: Record<string, string>
|
|
131
|
+
displayZones: "general" | "icon" | "media" | "products"
|
|
132
|
+
displayFieldIds: "handle" | "title"
|
|
133
|
+
}
|
|
134
|
+
"customer": {
|
|
135
|
+
formZones: "edit"
|
|
136
|
+
formTabs: Record<string, string>
|
|
137
|
+
displayZones: "addresses" | "general" | "groups" | "orders"
|
|
138
|
+
displayFieldIds: "company_name" | "email" | "name" | "phone" | "status"
|
|
139
|
+
}
|
|
140
|
+
"customer_group": {
|
|
141
|
+
formZones: "edit"
|
|
142
|
+
formTabs: Record<string, string>
|
|
143
|
+
displayZones: "customers" | "general"
|
|
144
|
+
displayFieldIds: "customers" | "name" | "owner"
|
|
145
|
+
}
|
|
146
|
+
"inventory_item": {
|
|
147
|
+
formZones: "create" | "edit"
|
|
148
|
+
formTabs: { "create": "availability" | "details" }
|
|
149
|
+
displayZones: "attributes" | "general" | "locations" | "reservations" | "variants"
|
|
150
|
+
displayFieldIds: "available_quantity" | "reserved_quantity" | "sku" | "stocked_quantity" | "title"
|
|
151
|
+
}
|
|
152
|
+
"offer": {
|
|
153
|
+
formZones: never
|
|
154
|
+
formTabs: Record<string, string>
|
|
155
|
+
displayZones: "associated-product" | "general" | "store" | "variants"
|
|
156
|
+
displayFieldIds: "description" | "discountable" | "handle" | "status" | "subtitle" | "title"
|
|
157
|
+
}
|
|
158
|
+
"order": {
|
|
159
|
+
formZones: never
|
|
160
|
+
formTabs: Record<string, string>
|
|
161
|
+
displayZones: "activity" | "commission" | "customer" | "general" | "order-group" | "payment" | "summary"
|
|
162
|
+
displayFieldIds: "created_at" | "display_id" | "fulfillment_status" | "payment_status" | "status"
|
|
163
|
+
}
|
|
164
|
+
"price_list": {
|
|
165
|
+
formZones: "create" | "edit"
|
|
166
|
+
formTabs: { "create": "detail" | "price" | "product" }
|
|
167
|
+
displayZones: "configuration" | "general" | "products"
|
|
168
|
+
displayFieldIds: "description" | "price_overrides" | "status" | "title" | "type"
|
|
169
|
+
}
|
|
170
|
+
"product": {
|
|
171
|
+
formZones: "create"
|
|
172
|
+
formTabs: { "create": "attributes" | "details" | "organize" | "variants" }
|
|
173
|
+
displayZones: "attributes" | "general" | "media" | "organize" | "request" | "variants"
|
|
174
|
+
displayFieldIds: "description" | "discountable" | "handle" | "status" | "subtitle" | "title"
|
|
175
|
+
}
|
|
176
|
+
"promotion": {
|
|
177
|
+
formZones: "create" | "edit"
|
|
178
|
+
formTabs: { "create": "campaign" | "promotion" | "type" }
|
|
179
|
+
displayZones: "campaign" | "general"
|
|
180
|
+
displayFieldIds: "allocation" | "code" | "code_badge" | "is_automatic" | "is_tax_inclusive" | "status" | "type" | "value"
|
|
181
|
+
}
|
|
182
|
+
"reservation": {
|
|
183
|
+
formZones: "edit"
|
|
184
|
+
formTabs: Record<string, string>
|
|
185
|
+
displayZones: "general"
|
|
186
|
+
displayFieldIds: "available_quantity" | "description" | "header" | "line_item_id" | "location" | "reserved_quantity" | "stocked_quantity"
|
|
187
|
+
}
|
|
188
|
+
"store": {
|
|
189
|
+
formZones: "create" | "edit"
|
|
190
|
+
formTabs: { "create": "details" | "users" }
|
|
191
|
+
displayZones: "address" | "company-details" | "configuration" | "general" | "members" | "offers" | "orders" | "payment-details" | "requests"
|
|
192
|
+
displayFieldIds: "currency_code" | "description" | "email" | "handle" | "phone" | "website_url"
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {}
|
|
@@ -100,9 +100,7 @@ var EditGlobalCommissionForm = ({ rate }) => {
|
|
|
100
100
|
await mutateAsync(payload, {
|
|
101
101
|
onSuccess: () => {
|
|
102
102
|
toast.success(
|
|
103
|
-
t("commissions.global.edit.successToast"
|
|
104
|
-
defaultValue: "Global commission was successfully updated."
|
|
105
|
-
})
|
|
103
|
+
t("commissions.global.edit.successToast")
|
|
106
104
|
);
|
|
107
105
|
handleSuccess();
|
|
108
106
|
},
|
package/dist/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import * as react_hook_form from 'react-hook-form';
|
|
|
5
5
|
import { FieldValues, UseFormReturn, FieldPath, ControllerProps } from 'react-hook-form';
|
|
6
6
|
import { T as TabDefinition } from './constants-CBhKGpBZ.js';
|
|
7
7
|
export { P as PRODUCT_DETAIL_FIELDS, a as PRODUCT_DETAIL_QUERY, d as defineTabMeta } from './constants-CBhKGpBZ.js';
|
|
8
|
-
import { Label
|
|
8
|
+
import { Label } from 'radix-ui';
|
|
9
9
|
import * as _tanstack_react_table from '@tanstack/react-table';
|
|
10
10
|
import { Table, ColumnDef, Row, RowSelectionState, OnChangeFn } from '@tanstack/react-table';
|
|
11
11
|
|
|
@@ -24,6 +24,8 @@ type TabbedFormProps<T extends FieldValues> = {
|
|
|
24
24
|
isLoading?: boolean;
|
|
25
25
|
footer?: (props: FooterRenderProps) => ReactNode;
|
|
26
26
|
transformTabs?: (tabs: TabDefinition<T>[]) => TabDefinition<T>[];
|
|
27
|
+
model?: string;
|
|
28
|
+
zone?: string;
|
|
27
29
|
};
|
|
28
30
|
declare function Root<T extends FieldValues>({ form, onSubmit, children, isLoading, footer, transformTabs, }: TabbedFormProps<T>): react_jsx_runtime.JSX.Element;
|
|
29
31
|
declare const TabbedForm: typeof Root & {
|
|
@@ -42,7 +44,9 @@ declare const Form: (<TFieldValues extends FieldValues, TContext = any, TTransfo
|
|
|
42
44
|
tooltip?: ReactNode;
|
|
43
45
|
icon?: ReactNode;
|
|
44
46
|
} & react__default.RefAttributes<HTMLLabelElement>>;
|
|
45
|
-
Control: react__default.ForwardRefExoticComponent<Omit<
|
|
47
|
+
Control: react__default.ForwardRefExoticComponent<Omit<react__default.HTMLAttributes<HTMLElement> & {
|
|
48
|
+
children?: react__default.ReactNode;
|
|
49
|
+
} & react__default.RefAttributes<HTMLElement>, "ref"> & react__default.RefAttributes<HTMLElement>>;
|
|
46
50
|
Hint: react__default.ForwardRefExoticComponent<react__default.HTMLAttributes<HTMLParagraphElement> & react__default.RefAttributes<HTMLParagraphElement>>;
|
|
47
51
|
ErrorMessage: react__default.ForwardRefExoticComponent<react__default.HTMLAttributes<HTMLParagraphElement> & react__default.RefAttributes<HTMLParagraphElement>>;
|
|
48
52
|
Field: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => react_jsx_runtime.JSX.Element;
|