@mercurjs/admin 2.1.0-canary.5 → 2.1.0-canary.6
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-LE2WUOTX.js → add-campaign-promotions-VKH6RC3R.js} +3 -3
- package/dist/{adjust-inventory-TCBV3PCL.js → adjust-inventory-NVBPZYOF.js} +1 -1
- package/dist/{api-key-management-detail-LH3I7OZB.js → api-key-management-detail-Q5RBMX4J.js} +4 -3
- package/dist/{api-key-management-sales-channels-SCIDNYW5.js → api-key-management-sales-channels-UGAAKILD.js} +2 -1
- package/dist/{attribute-create-CJBFOEGI.js → attribute-create-IVRJPVG5.js} +1 -1
- package/dist/{attribute-detail-2RDAGHQB.js → attribute-detail-E6ILEV4C.js} +1 -1
- package/dist/{attribute-edit-TDMQJYAP.js → attribute-edit-DRHFOHMK.js} +2 -2
- package/dist/{attribute-list-MK2EUELY.js → attribute-list-SFUKKH25.js} +1 -1
- package/dist/{campaign-detail-GVJ3PO4I.js → campaign-detail-OJF24KXP.js} +5 -5
- package/dist/{categories-metadata-M3GDS27H.js → categories-metadata-YVUNHMQT.js} +1 -1
- package/dist/{category-create-5WS4XGYI.js → category-create-XH6AM3NM.js} +2 -2
- package/dist/{category-detail-TTJ6XGLM.js → category-detail-YELQ7OSB.js} +3 -3
- package/dist/{category-edit-GOB4ASBP.js → category-edit-IXU6E3YT.js} +1 -1
- package/dist/{category-products-NRPWJHDW.js → category-products-G6XFVWWK.js} +2 -2
- package/dist/{chunk-PXZQSL5A.js → chunk-22YCBNLL.js} +1 -1
- package/dist/{chunk-LAN52TLS.js → chunk-3LPDWXLV.js} +1 -1
- package/dist/{chunk-YSGXL7CX.js → chunk-3WQCJEAS.js} +1 -1
- package/dist/{chunk-YFSTGK5R.js → chunk-6BOPJWOS.js} +1 -1
- package/dist/{chunk-GBRUBIGE.js → chunk-6F6T6O6R.js} +1 -1
- package/dist/{chunk-QFOEY6RN.js → chunk-C2GSCU65.js} +5 -63
- package/dist/{chunk-X2X7M3B6.js → chunk-C43DG3K3.js} +1 -1
- package/dist/{chunk-NZN7PFPB.js → chunk-CKNQJPAG.js} +6 -40
- package/dist/{chunk-AQANSGTS.js → chunk-DW7BD2BR.js} +26 -6
- package/dist/{chunk-BH5LSB6O.js → chunk-EV6CDI37.js} +1 -1
- package/dist/{chunk-UROZLRSZ.js → chunk-F2ZHPWHP.js} +1 -1
- package/dist/{chunk-5XENZ4RY.js → chunk-FCQMQF2U.js} +3 -3
- package/dist/{chunk-AVUWXDRQ.js → chunk-G2GB77RC.js} +1 -1
- package/dist/chunk-HJ56YXBU.js +46 -0
- package/dist/{chunk-SIM42VD3.js → chunk-IK6MPP7K.js} +1 -1
- package/dist/{chunk-T3E6EVLQ.js → chunk-IO3TLOTN.js} +1 -1
- package/dist/{chunk-2FLBJM53.js → chunk-LEG67A2R.js} +0 -16
- package/dist/{chunk-TBRKUYQX.js → chunk-LGYQGZNR.js} +1 -1
- package/dist/{chunk-SUQJGDPA.js → chunk-LNAXUDW2.js} +1 -1
- package/dist/{chunk-KZE2BXFZ.js → chunk-M3LFFRPG.js} +1 -1
- package/dist/chunk-MDABSESI.js +38 -0
- package/dist/{chunk-DGSPRILL.js → chunk-MVSHIITK.js} +1 -1
- package/dist/{chunk-LRCMPXIA.js → chunk-NUMAHMW2.js} +1 -1
- package/dist/{chunk-AVW3A7X5.js → chunk-NZ4BXIO6.js} +1 -1
- package/dist/{chunk-N46VH2AV.js → chunk-QONWYA46.js} +1 -1
- package/dist/{chunk-J73MGZ2C.js → chunk-SZO2SCY2.js} +1 -1
- package/dist/{chunk-DKIXS7MS.js → chunk-T3ZRBKEC.js} +179 -200
- package/dist/{chunk-DMWRKJV5.js → chunk-Z4OJNCER.js} +1 -1
- package/dist/{chunk-RXBYBQDN.js → chunk-ZFQ5XQ2W.js} +1 -1
- package/dist/{collection-add-products-V34BC5KZ.js → collection-add-products-VSSL3PJV.js} +2 -2
- package/dist/{collection-create-T3I4AQ6T.js → collection-create-3BTRORHU.js} +1 -1
- package/dist/{collection-detail-FBF245L5.js → collection-detail-AAD4X24M.js} +3 -3
- package/dist/{collection-list-2NU2RHF6.js → collection-list-J32PG7BB.js} +2 -2
- package/dist/{collection-metadata-4CATBMBR.js → collection-metadata-KHGPTV5C.js} +1 -1
- package/dist/{commission-rate-create-BX5ON475.js → commission-rate-create-KTQR4WCZ.js} +3 -3
- package/dist/{commission-rate-detail-2FIUCRWQ.js → commission-rate-detail-7I4M7GOE.js} +1 -1
- package/dist/{commission-rate-edit-QO54ISLU.js → commission-rate-edit-52CJF2EX.js} +3 -3
- package/dist/{customer-detail-X7RDPYCB.js → customer-detail-4J4RSVSG.js} +1 -1
- package/dist/{customer-group-detail-LG45HYN7.js → customer-group-detail-KCKJEPSN.js} +1 -1
- package/dist/{customer-group-list-AKB2QL2I.js → customer-group-list-IQGAXHVE.js} +1 -1
- package/dist/{customer-group-metadata-5EY56USK.js → customer-group-metadata-YJXZFSFG.js} +1 -1
- package/dist/{customer-metadata-UI7VJNBB.js → customer-metadata-SG6M7X3Q.js} +1 -1
- package/dist/{customers-add-customer-group-WXARGETR.js → customers-add-customer-group-ASX6POFR.js} +1 -1
- package/dist/{edit-inventory-item-7LUBIEJG.js → edit-inventory-item-TDG2ZTPM.js} +1 -1
- package/dist/{edit-inventory-item-attributes-GPWA3SHB.js → edit-inventory-item-attributes-T56PJTCT.js} +1 -1
- package/dist/{edit-rules-MOJW3IY6.js → edit-rules-BRXIELG2.js} +1 -1
- package/dist/index.js +153 -153
- package/dist/{inventory-create-G4PFD6IN.js → inventory-create-3GAK5IYZ.js} +1 -1
- package/dist/{inventory-detail-N2YB6A4C.js → inventory-detail-KU5IMRS6.js} +1 -1
- package/dist/{inventory-metadata-R35MGH5G.js → inventory-metadata-LUGA3KNV.js} +1 -1
- package/dist/{inventory-stock-VKNHPP3I.js → inventory-stock-JZNONQAL.js} +1 -1
- package/dist/{location-detail-SHY5JFEP.js → location-detail-RY65FCD3.js} +1 -1
- package/dist/{location-fulfillment-providers-XJWKGU5I.js → location-fulfillment-providers-FNXAQUCV.js} +2 -2
- package/dist/{location-list-B4EVW7LE.js → location-list-XGFUQY7T.js} +1 -1
- package/dist/{location-sales-channels-D5SNTEWM.js → location-sales-channels-IRGVGAVC.js} +2 -1
- package/dist/{location-service-zone-shipping-option-create-VKRDPJY5.js → location-service-zone-shipping-option-create-OOU6YVRS.js} +1 -1
- package/dist/{login-GQ2TKLJX.js → login-T5DP5BZ3.js} +1 -1
- package/dist/{marketplace-detail-D5AXFDDY.js → marketplace-detail-QQ2WZ27G.js} +1 -1
- package/dist/{marketplace-metadata-6E3EUPQR.js → marketplace-metadata-VYCPYFJD.js} +1 -1
- package/dist/{order-create-claim-TASIQWLS.js → order-create-claim-GAGJ7QNH.js} +1 -1
- package/dist/{order-create-edit-AEWAUNSL.js → order-create-edit-R5AK2LPP.js} +1 -1
- package/dist/{order-create-exchange-BZULQKWC.js → order-create-exchange-P3PLSEME.js} +1 -1
- package/dist/{order-create-fulfillment-ZQLJDGCV.js → order-create-fulfillment-BB2FCLAH.js} +1 -1
- package/dist/{order-create-refund-MPWH7PYP.js → order-create-refund-LDODI2AP.js} +1 -1
- package/dist/{order-create-shipment-UDYZFTKL.js → order-create-shipment-7XP6PDTD.js} +1 -1
- package/dist/{order-detail-43QRHVIH.js → order-detail-RL4RFNAM.js} +1 -1
- package/dist/{order-edit-billing-address-6PKPD4GI.js → order-edit-billing-address-C5OLRWHW.js} +2 -2
- package/dist/{order-edit-email-TRDITOOM.js → order-edit-email-AZIA6X5Q.js} +1 -1
- package/dist/{order-edit-shipping-address-RU4NGJNM.js → order-edit-shipping-address-GJMUSOPK.js} +1 -1
- package/dist/{order-list-DNYS57KP.js → order-list-UBH5RRTI.js} +2 -2
- package/dist/{order-metadata-AJZBUN36.js → order-metadata-RXIJOP4V.js} +1 -1
- package/dist/{order-receive-return-D5ZVVYMY.js → order-receive-return-6IU2HGAD.js} +1 -1
- package/dist/{order-request-transfer-DAUOVTRI.js → order-request-transfer-6IZVCHGV.js} +1 -1
- package/dist/pages/index.js +28 -27
- package/dist/{price-list-create-NVCPOU2Y.js → price-list-create-VWLNTKY7.js} +3 -3
- package/dist/{price-list-detail-ANVE56H3.js → price-list-detail-3XN7D2PU.js} +3 -3
- package/dist/{price-list-prices-add-JSWTZXIB.js → price-list-prices-add-YY33AL6G.js} +3 -3
- package/dist/{price-list-prices-edit-5OKGMVHM.js → price-list-prices-edit-WSLGG7VC.js} +1 -1
- package/dist/{product-create-B6OYB6QQ.js → product-create-XCQ2TZ7B.js} +7 -6
- package/dist/{product-create-variant-HVY3YA5T.js → product-create-variant-TJB7NNKY.js} +1 -1
- package/dist/{product-detail-IL6J7IDR.js → product-detail-7T5PLGCJ.js} +1 -1
- package/dist/{product-export-FYASMR3R.js → product-export-773L2V63.js} +2 -2
- package/dist/{product-import-RDTWXZSA.js → product-import-JB7S4EL6.js} +1 -1
- package/dist/{product-list-E26DQCLM.js → product-list-5WTGEHDX.js} +3 -3
- package/dist/{product-media-FAZR34OC.js → product-media-4QKZILIM.js} +2 -2
- package/dist/{product-metadata-RYDY2LBO.js → product-metadata-GJ7C2UJG.js} +1 -1
- package/dist/{product-sales-channels-7HVGLKJQ.js → product-sales-channels-53YVZ5G5.js} +2 -1
- package/dist/{product-stock-NXLCWJ7S.js → product-stock-XB3HKT5G.js} +1 -1
- package/dist/{product-tag-create-5JKOHKHR.js → product-tag-create-PHJICTE4.js} +1 -1
- package/dist/{product-tag-detail-4P36B7AC.js → product-tag-detail-DAVCOGGL.js} +3 -3
- package/dist/{product-tag-edit-QZOCJSA3.js → product-tag-edit-G4UNGXPT.js} +1 -1
- package/dist/{product-tag-list-IOUBMHTR.js → product-tag-list-YBRNLXCK.js} +2 -2
- package/dist/{product-tag-metadata-HDTR5225.js → product-tag-metadata-I4V6CR6Z.js} +1 -1
- package/dist/{product-type-detail-57S6OUU7.js → product-type-detail-JEFUXSFV.js} +3 -3
- package/dist/{product-type-metadata-3XHYM7AO.js → product-type-metadata-KGVRMMTQ.js} +1 -1
- package/dist/{product-variant-detail-Q6V67DO7.js → product-variant-detail-S4DAVZFS.js} +1 -1
- package/dist/{product-variant-edit-7RJL2DWH.js → product-variant-edit-L77HDGTA.js} +1 -1
- package/dist/{product-variant-metadata-QHCUMQCQ.js → product-variant-metadata-HV72UBCP.js} +1 -1
- package/dist/{promotion-create-RISO27OH.js → promotion-create-4ZEXEV4G.js} +1 -1
- package/dist/{promotion-detail-BQOADUXZ.js → promotion-detail-DL52RQ5R.js} +4 -4
- package/dist/{promotion-list-6ILZBIJZ.js → promotion-list-CJJNLF5E.js} +4 -4
- package/dist/{refund-reason-create-RWGVYY7U.js → refund-reason-create-M2CYTCEM.js} +1 -1
- package/dist/{refund-reason-edit-F3AKUO4F.js → refund-reason-edit-M4XBV633.js} +1 -1
- package/dist/{refund-reason-list-LOEY5OHX.js → refund-reason-list-VLARTCJF.js} +1 -1
- package/dist/{region-metadata-S5X464KM.js → region-metadata-4JWOEGTZ.js} +1 -1
- package/dist/{reservation-detail-CGAEHOZ6.js → reservation-detail-X3W6APD5.js} +1 -1
- package/dist/{reservation-metadata-55FYLG45.js → reservation-metadata-JFLJ27A3.js} +1 -1
- package/dist/{reset-password-VQXCSILN.js → reset-password-PCKBFFXR.js} +1 -1
- package/dist/{sales-channel-add-products-UNJBYNPM.js → sales-channel-add-products-ABMGZC7O.js} +2 -2
- package/dist/{sales-channel-detail-C62VVFTT.js → sales-channel-detail-PNWRSILX.js} +3 -3
- package/dist/{sales-channel-list-L233THQV.js → sales-channel-list-QKFVTZ6A.js} +4 -3
- package/dist/{sales-channel-metadata-XL6OAO6S.js → sales-channel-metadata-NDSKXOGH.js} +1 -1
- package/dist/{shipping-option-type-create-KSQX5DHV.js → shipping-option-type-create-MEL24PGH.js} +1 -1
- package/dist/{shipping-option-type-detail-NQFIUIZU.js → shipping-option-type-detail-OAKOWHU7.js} +1 -1
- package/dist/{shipping-option-type-edit-P5JP6TGA.js → shipping-option-type-edit-IVBHURXR.js} +1 -1
- package/dist/{shipping-option-type-list-NMG6FSD7.js → shipping-option-type-list-AB2FPIQS.js} +1 -1
- package/dist/{shipping-profile-metadata-YEKUKBUJ.js → shipping-profile-metadata-UZPX2PHJ.js} +1 -1
- package/dist/{store-address-edit-YHL23NAM.js → store-address-edit-PKIBRFH4.js} +37 -40
- package/dist/{store-bulk-edit-3WUPOXIX.js → store-bulk-edit-HCEEME3D.js} +1 -1
- package/dist/{store-closure-edit-LNMWVVWG.js → store-closure-edit-OK7MTUHY.js} +1 -1
- package/dist/{store-create-TDHCGON2.js → store-create-CUH7NDFG.js} +3 -3
- package/dist/{store-details-6THDNDJB.js → store-details-6EJNLLJU.js} +4 -3
- package/dist/{store-edit-LJKBFRJG.js → store-edit-N2V2Z4UU.js} +36 -17
- package/dist/{store-list-UA2GXT7T.js → store-list-TRXWHGBQ.js} +3 -3
- package/dist/{store-member-invite-K76O2YUD.js → store-member-invite-4GDKCSTT.js} +38 -13
- package/dist/{store-payment-details-edit-VD76VCVF.js → store-payment-details-edit-HOGHZMZC.js} +17 -29
- package/dist/{store-professional-details-edit-3QMC5OGO.js → store-professional-details-edit-DPJ4ZFDR.js} +1 -1
- package/dist/{tax-region-create-NVE7TJVZ.js → tax-region-create-UTSDM5EN.js} +2 -2
- package/dist/{tax-region-detail-6W6ZCFKH.js → tax-region-detail-IIKSTR7V.js} +1 -1
- package/dist/{tax-region-edit-XIQISIV6.js → tax-region-edit-OARZRBVK.js} +1 -1
- package/dist/{tax-region-metadata-C2IM452E.js → tax-region-metadata-XJRFOG7I.js} +1 -1
- package/dist/{tax-region-province-detail-EY77MY5Q.js → tax-region-province-detail-SQHBO2XB.js} +1 -1
- package/dist/{tax-region-tax-override-create-RJSVKZGY.js → tax-region-tax-override-create-WSZTBKMS.js} +3 -3
- package/dist/{tax-region-tax-override-edit-2UZSGMS2.js → tax-region-tax-override-edit-OE4WUDOA.js} +3 -3
- package/dist/{user-metadata-4FOEUIG2.js → user-metadata-376YJMY3.js} +1 -1
- package/package.json +3 -3
- package/dist/chunk-TLE6YHGH.js +0 -26
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
usePromotionTableColumns,
|
|
3
3
|
usePromotionTableQuery
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-C43DG3K3.js";
|
|
5
|
+
import "./chunk-MVSHIITK.js";
|
|
6
6
|
import "./chunk-JHIMVLB2.js";
|
|
7
7
|
import "./chunk-FMFVTERD.js";
|
|
8
8
|
import "./chunk-DB6ANJBO.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
import "./chunk-YBZWO4ZV.js";
|
|
16
16
|
import "./chunk-KAZ5BYTQ.js";
|
|
17
17
|
import "./chunk-3EF54XFY.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-DW7BD2BR.js";
|
|
19
19
|
import "./chunk-TKGWSUEI.js";
|
|
20
20
|
import {
|
|
21
21
|
KeyboundForm
|
|
@@ -31,7 +31,7 @@ import "./chunk-DBNPVU3L.js";
|
|
|
31
31
|
import "./chunk-U7WZYWGA.js";
|
|
32
32
|
import "./chunk-ZN7LWXVC.js";
|
|
33
33
|
import "./chunk-VYMODH6P.js";
|
|
34
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-LEG67A2R.js";
|
|
35
35
|
import "./chunk-PRBE5CM3.js";
|
|
36
36
|
import "./chunk-5TRY5IMZ.js";
|
|
37
37
|
import "./chunk-TAKEQAZZ.js";
|
package/dist/{api-key-management-detail-LH3I7OZB.js → api-key-management-detail-Q5RBMX4J.js}
RENAMED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ApiKeyManagementDetailPage
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-Z4OJNCER.js";
|
|
4
4
|
import "./chunk-XFR5JLNF.js";
|
|
5
5
|
import "./chunk-C4JUURO5.js";
|
|
6
6
|
import "./chunk-V5J73NPW.js";
|
|
7
7
|
import "./chunk-XIZLPYEE.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-CKNQJPAG.js";
|
|
9
|
+
import "./chunk-MDABSESI.js";
|
|
9
10
|
import "./chunk-54RTJBYO.js";
|
|
10
11
|
import "./chunk-UQITHKTH.js";
|
|
11
12
|
import "./chunk-INNFZYX2.js";
|
|
@@ -37,7 +38,7 @@ import "./chunk-DBNPVU3L.js";
|
|
|
37
38
|
import "./chunk-U7WZYWGA.js";
|
|
38
39
|
import "./chunk-ZN7LWXVC.js";
|
|
39
40
|
import "./chunk-VYMODH6P.js";
|
|
40
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-LEG67A2R.js";
|
|
41
42
|
import "./chunk-PRBE5CM3.js";
|
|
42
43
|
import "./chunk-5TRY5IMZ.js";
|
|
43
44
|
import "./chunk-TAKEQAZZ.js";
|
|
@@ -31,7 +31,7 @@ import "./chunk-DBNPVU3L.js";
|
|
|
31
31
|
import "./chunk-U7WZYWGA.js";
|
|
32
32
|
import "./chunk-ZN7LWXVC.js";
|
|
33
33
|
import "./chunk-VYMODH6P.js";
|
|
34
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-LEG67A2R.js";
|
|
35
35
|
import "./chunk-PRBE5CM3.js";
|
|
36
36
|
import "./chunk-5TRY5IMZ.js";
|
|
37
37
|
import "./chunk-TAKEQAZZ.js";
|
|
@@ -58,7 +58,7 @@ import "./chunk-DBNPVU3L.js";
|
|
|
58
58
|
import "./chunk-U7WZYWGA.js";
|
|
59
59
|
import "./chunk-ZN7LWXVC.js";
|
|
60
60
|
import "./chunk-VYMODH6P.js";
|
|
61
|
-
import "./chunk-
|
|
61
|
+
import "./chunk-LEG67A2R.js";
|
|
62
62
|
import "./chunk-PRBE5CM3.js";
|
|
63
63
|
import "./chunk-5TRY5IMZ.js";
|
|
64
64
|
import "./chunk-TAKEQAZZ.js";
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "./chunk-4ZTZTIIM.js";
|
|
8
8
|
import {
|
|
9
9
|
HandleInput
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-HJ56YXBU.js";
|
|
11
11
|
import {
|
|
12
12
|
Combobox
|
|
13
13
|
} from "./chunk-AW77UWCZ.js";
|
|
@@ -44,7 +44,7 @@ import "./chunk-DBNPVU3L.js";
|
|
|
44
44
|
import "./chunk-U7WZYWGA.js";
|
|
45
45
|
import "./chunk-ZN7LWXVC.js";
|
|
46
46
|
import "./chunk-VYMODH6P.js";
|
|
47
|
-
import "./chunk-
|
|
47
|
+
import "./chunk-LEG67A2R.js";
|
|
48
48
|
import "./chunk-PRBE5CM3.js";
|
|
49
49
|
import "./chunk-5TRY5IMZ.js";
|
|
50
50
|
import "./chunk-TAKEQAZZ.js";
|
|
@@ -42,7 +42,7 @@ import "./chunk-DBNPVU3L.js";
|
|
|
42
42
|
import "./chunk-U7WZYWGA.js";
|
|
43
43
|
import "./chunk-ZN7LWXVC.js";
|
|
44
44
|
import "./chunk-VYMODH6P.js";
|
|
45
|
-
import "./chunk-
|
|
45
|
+
import "./chunk-LEG67A2R.js";
|
|
46
46
|
import "./chunk-PRBE5CM3.js";
|
|
47
47
|
import "./chunk-5TRY5IMZ.js";
|
|
48
48
|
import "./chunk-TAKEQAZZ.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CAMPAIGN_DETAIL_FIELDS,
|
|
3
3
|
CampaignDetailPage
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-SZO2SCY2.js";
|
|
5
|
+
import "./chunk-C43DG3K3.js";
|
|
6
6
|
import "./chunk-RK5N3XIX.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-MVSHIITK.js";
|
|
8
8
|
import "./chunk-JHIMVLB2.js";
|
|
9
9
|
import "./chunk-FMFVTERD.js";
|
|
10
10
|
import "./chunk-DB6ANJBO.js";
|
|
@@ -17,7 +17,7 @@ import "./chunk-KAZ5BYTQ.js";
|
|
|
17
17
|
import "./chunk-3EF54XFY.js";
|
|
18
18
|
import "./chunk-XIZLPYEE.js";
|
|
19
19
|
import "./chunk-IQPN4PZJ.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-DW7BD2BR.js";
|
|
21
21
|
import "./chunk-INNFZYX2.js";
|
|
22
22
|
import "./chunk-BDGZ4EQO.js";
|
|
23
23
|
import "./chunk-LAVHRER2.js";
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
useCampaign
|
|
51
51
|
} from "./chunk-ZN7LWXVC.js";
|
|
52
52
|
import "./chunk-VYMODH6P.js";
|
|
53
|
-
import "./chunk-
|
|
53
|
+
import "./chunk-LEG67A2R.js";
|
|
54
54
|
import "./chunk-PRBE5CM3.js";
|
|
55
55
|
import "./chunk-5TRY5IMZ.js";
|
|
56
56
|
import "./chunk-TAKEQAZZ.js";
|
|
@@ -30,7 +30,7 @@ import "./chunk-DBNPVU3L.js";
|
|
|
30
30
|
import "./chunk-U7WZYWGA.js";
|
|
31
31
|
import "./chunk-ZN7LWXVC.js";
|
|
32
32
|
import "./chunk-VYMODH6P.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-LEG67A2R.js";
|
|
34
34
|
import "./chunk-PRBE5CM3.js";
|
|
35
35
|
import "./chunk-5TRY5IMZ.js";
|
|
36
36
|
import "./chunk-TAKEQAZZ.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CategoryCreate
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IK6MPP7K.js";
|
|
4
4
|
import "./chunk-YXFG3M2D.js";
|
|
5
5
|
import "./chunk-Y456KVIN.js";
|
|
6
6
|
import "./chunk-7RPRNVBS.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-HJ56YXBU.js";
|
|
8
8
|
import "./chunk-SMQT3ZNO.js";
|
|
9
9
|
import "./chunk-4LXBQTFN.js";
|
|
10
10
|
import "./chunk-TKGWSUEI.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CategoryDetailPage
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-EV6CDI37.js";
|
|
4
4
|
import "./chunk-YEUUI6JF.js";
|
|
5
5
|
import "./chunk-Y456KVIN.js";
|
|
6
6
|
import "./chunk-7AV5EJJ5.js";
|
|
@@ -20,7 +20,7 @@ import "./chunk-INNFZYX2.js";
|
|
|
20
20
|
import "./chunk-BDGZ4EQO.js";
|
|
21
21
|
import "./chunk-LAVHRER2.js";
|
|
22
22
|
import "./chunk-Y7QKP6QU.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-LNAXUDW2.js";
|
|
24
24
|
import "./chunk-VVWB3GIK.js";
|
|
25
25
|
import "./chunk-KBYZLKI4.js";
|
|
26
26
|
import "./chunk-YWWUOGJA.js";
|
|
@@ -46,7 +46,7 @@ import "./chunk-DBNPVU3L.js";
|
|
|
46
46
|
import "./chunk-U7WZYWGA.js";
|
|
47
47
|
import "./chunk-ZN7LWXVC.js";
|
|
48
48
|
import "./chunk-VYMODH6P.js";
|
|
49
|
-
import "./chunk-
|
|
49
|
+
import "./chunk-LEG67A2R.js";
|
|
50
50
|
import "./chunk-PRBE5CM3.js";
|
|
51
51
|
import "./chunk-5TRY5IMZ.js";
|
|
52
52
|
import "./chunk-TAKEQAZZ.js";
|
|
@@ -21,7 +21,7 @@ import "./chunk-INNFZYX2.js";
|
|
|
21
21
|
import "./chunk-Y7QKP6QU.js";
|
|
22
22
|
import {
|
|
23
23
|
useProductTableFilters
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-LNAXUDW2.js";
|
|
25
25
|
import {
|
|
26
26
|
useProductTableQuery
|
|
27
27
|
} from "./chunk-VVWB3GIK.js";
|
|
@@ -54,7 +54,7 @@ import "./chunk-DBNPVU3L.js";
|
|
|
54
54
|
import "./chunk-U7WZYWGA.js";
|
|
55
55
|
import "./chunk-ZN7LWXVC.js";
|
|
56
56
|
import "./chunk-VYMODH6P.js";
|
|
57
|
-
import "./chunk-
|
|
57
|
+
import "./chunk-LEG67A2R.js";
|
|
58
58
|
import "./chunk-PRBE5CM3.js";
|
|
59
59
|
import "./chunk-5TRY5IMZ.js";
|
|
60
60
|
import "./chunk-TAKEQAZZ.js";
|
|
@@ -24,16 +24,8 @@ import {
|
|
|
24
24
|
require_dist
|
|
25
25
|
} from "./chunk-ZZO3INVE.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
useTerminateSeller
|
|
30
|
-
} from "./chunk-2FLBJM53.js";
|
|
31
|
-
import {
|
|
32
|
-
queryClient
|
|
33
|
-
} from "./chunk-RHKRREUU.js";
|
|
34
|
-
import {
|
|
35
|
-
sdk
|
|
36
|
-
} from "./chunk-ZBWL72TB.js";
|
|
27
|
+
useSellers
|
|
28
|
+
} from "./chunk-LEG67A2R.js";
|
|
37
29
|
import {
|
|
38
30
|
__toESM
|
|
39
31
|
} from "./chunk-NBMM2TZK.js";
|
|
@@ -73,8 +65,8 @@ var StoreListHeader = ({
|
|
|
73
65
|
import { useMemo as useMemo2, useState } from "react";
|
|
74
66
|
import { useTranslation as useTranslation4 } from "react-i18next";
|
|
75
67
|
import { useNavigate } from "react-router-dom";
|
|
76
|
-
import { Checkbox
|
|
77
|
-
import { PencilSquare
|
|
68
|
+
import { Checkbox } from "@medusajs/ui";
|
|
69
|
+
import { PencilSquare } from "@medusajs/icons";
|
|
78
70
|
import { keepPreviousData } from "@tanstack/react-query";
|
|
79
71
|
import { createColumnHelper as createColumnHelper2 } from "@tanstack/react-table";
|
|
80
72
|
|
|
@@ -130,10 +122,7 @@ var useSellersTableColumns = () => {
|
|
|
130
122
|
columnHelper.display({
|
|
131
123
|
id: "is_premium",
|
|
132
124
|
header: t("stores.fields.premium"),
|
|
133
|
-
cell: ({ row }) => {
|
|
134
|
-
const isPremium = row.original.is_premium;
|
|
135
|
-
return /* @__PURE__ */ jsx3(StatusCell, { color: isPremium ? "purple" : "grey", children: isPremium ? t("stores.premium.yes") : t("stores.premium.no") });
|
|
136
|
-
}
|
|
125
|
+
cell: ({ row }) => /* @__PURE__ */ jsx3("span", { className: "text-ui-fg-base", children: row.original.is_premium ? t("stores.premium.yes") : t("stores.premium.no") })
|
|
137
126
|
}),
|
|
138
127
|
columnHelper.display({
|
|
139
128
|
id: "created_at",
|
|
@@ -207,26 +196,6 @@ var StoreListDataTable = () => {
|
|
|
207
196
|
},
|
|
208
197
|
label: t("stores.actions.edit.label"),
|
|
209
198
|
shortcut: "e"
|
|
210
|
-
},
|
|
211
|
-
{
|
|
212
|
-
action: async (selection2) => {
|
|
213
|
-
const ids = Object.keys(selection2);
|
|
214
|
-
try {
|
|
215
|
-
await Promise.all(
|
|
216
|
-
ids.map(
|
|
217
|
-
(id) => sdk.admin.sellers.$id.terminate.mutate({ $id: id })
|
|
218
|
-
)
|
|
219
|
-
);
|
|
220
|
-
toast.success(t("stores.actions.delete.successToast", { count: ids.length }));
|
|
221
|
-
} catch {
|
|
222
|
-
toast.error(t("stores.actions.delete.errorToast"));
|
|
223
|
-
}
|
|
224
|
-
await queryClient.invalidateQueries({
|
|
225
|
-
queryKey: sellersQueryKeys.lists()
|
|
226
|
-
});
|
|
227
|
-
},
|
|
228
|
-
label: t("stores.actions.delete.label"),
|
|
229
|
-
shortcut: "d"
|
|
230
199
|
}
|
|
231
200
|
]
|
|
232
201
|
}
|
|
@@ -235,28 +204,6 @@ var StoreListDataTable = () => {
|
|
|
235
204
|
var columnHelper2 = createColumnHelper2();
|
|
236
205
|
var StoreActions = ({ seller }) => {
|
|
237
206
|
const { t } = useTranslation4();
|
|
238
|
-
const prompt = usePrompt();
|
|
239
|
-
const { mutateAsync: terminateSeller } = useTerminateSeller(seller.id);
|
|
240
|
-
const handleDelete = async () => {
|
|
241
|
-
const confirmed = await prompt({
|
|
242
|
-
title: t("stores.actions.delete.title"),
|
|
243
|
-
description: t("stores.actions.delete.description"),
|
|
244
|
-
verificationText: seller.email || seller.name,
|
|
245
|
-
confirmText: t("actions.confirm"),
|
|
246
|
-
cancelText: t("actions.cancel")
|
|
247
|
-
});
|
|
248
|
-
if (!confirmed) {
|
|
249
|
-
return;
|
|
250
|
-
}
|
|
251
|
-
await terminateSeller(void 0, {
|
|
252
|
-
onSuccess: () => {
|
|
253
|
-
toast.success(t("stores.actions.delete.success"));
|
|
254
|
-
},
|
|
255
|
-
onError: (error) => {
|
|
256
|
-
toast.error(error.message);
|
|
257
|
-
}
|
|
258
|
-
});
|
|
259
|
-
};
|
|
260
207
|
return /* @__PURE__ */ jsx4(
|
|
261
208
|
ActionMenu,
|
|
262
209
|
{
|
|
@@ -267,11 +214,6 @@ var StoreActions = ({ seller }) => {
|
|
|
267
214
|
icon: /* @__PURE__ */ jsx4(PencilSquare, {}),
|
|
268
215
|
label: t("actions.edit"),
|
|
269
216
|
to: `/stores/${seller.id}/edit`
|
|
270
|
-
},
|
|
271
|
-
{
|
|
272
|
-
icon: /* @__PURE__ */ jsx4(Trash, {}),
|
|
273
|
-
label: t("stores.actions.delete.label"),
|
|
274
|
-
onClick: handleDelete
|
|
275
217
|
}
|
|
276
218
|
]
|
|
277
219
|
}
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
DataTableStatusCell
|
|
3
|
+
} from "./chunk-MDABSESI.js";
|
|
1
4
|
import {
|
|
2
5
|
useDataTableDateColumns,
|
|
3
6
|
useDataTableDateFilters
|
|
@@ -10,44 +13,7 @@ import {
|
|
|
10
13
|
import { useMemo } from "react";
|
|
11
14
|
import { useTranslation } from "react-i18next";
|
|
12
15
|
import { createDataTableColumnHelper, Tooltip } from "@medusajs/ui";
|
|
13
|
-
|
|
14
|
-
// src/components/data-table/components/data-table-status-cell/data-table-status-cell.tsx
|
|
15
|
-
import { clx } from "@medusajs/ui";
|
|
16
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
17
|
-
var DataTableStatusCell = ({
|
|
18
|
-
color,
|
|
19
|
-
children
|
|
20
|
-
}) => {
|
|
21
|
-
return /* @__PURE__ */ jsxs("div", { className: "txt-compact-small text-ui-fg-subtle flex h-full w-full items-center gap-x-2 overflow-hidden", children: [
|
|
22
|
-
/* @__PURE__ */ jsx(
|
|
23
|
-
"div",
|
|
24
|
-
{
|
|
25
|
-
role: "presentation",
|
|
26
|
-
className: "flex h-5 w-2 items-center justify-center",
|
|
27
|
-
children: /* @__PURE__ */ jsx(
|
|
28
|
-
"div",
|
|
29
|
-
{
|
|
30
|
-
className: clx(
|
|
31
|
-
"h-2 w-2 rounded-sm shadow-[0px_0px_0px_1px_rgba(0,0,0,0.12)_inset]",
|
|
32
|
-
{
|
|
33
|
-
"bg-ui-tag-neutral-icon": color === "grey",
|
|
34
|
-
"bg-ui-tag-green-icon": color === "green",
|
|
35
|
-
"bg-ui-tag-red-icon": color === "red",
|
|
36
|
-
"bg-ui-tag-blue-icon": color === "blue",
|
|
37
|
-
"bg-ui-tag-orange-icon": color === "orange",
|
|
38
|
-
"bg-ui-tag-purple-icon": color === "purple"
|
|
39
|
-
}
|
|
40
|
-
)
|
|
41
|
-
}
|
|
42
|
-
)
|
|
43
|
-
}
|
|
44
|
-
),
|
|
45
|
-
/* @__PURE__ */ jsx("span", { className: "truncate", children })
|
|
46
|
-
] });
|
|
47
|
-
};
|
|
48
|
-
|
|
49
|
-
// src/components/data-table/helpers/sales-channels/use-sales-channel-table-columns.tsx
|
|
50
|
-
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
16
|
+
import { jsx } from "react/jsx-runtime";
|
|
51
17
|
var columnHelper = createDataTableColumnHelper();
|
|
52
18
|
var useSalesChannelTableColumns = () => {
|
|
53
19
|
const { t } = useTranslation();
|
|
@@ -64,7 +30,7 @@ var useSalesChannelTableColumns = () => {
|
|
|
64
30
|
columnHelper.accessor("description", {
|
|
65
31
|
header: () => t("fields.description"),
|
|
66
32
|
cell: ({ getValue }) => {
|
|
67
|
-
return /* @__PURE__ */
|
|
33
|
+
return /* @__PURE__ */ jsx(Tooltip, { content: getValue(), children: /* @__PURE__ */ jsx("div", { className: "flex h-full w-full items-center overflow-hidden", children: /* @__PURE__ */ jsx("span", { className: "truncate", children: getValue() }) }) });
|
|
68
34
|
},
|
|
69
35
|
enableSorting: true,
|
|
70
36
|
sortLabel: t("fields.description"),
|
|
@@ -81,7 +47,7 @@ var useSalesChannelTableColumns = () => {
|
|
|
81
47
|
sortDescLabel: t("filters.sorting.alphabeticallyDesc"),
|
|
82
48
|
cell: ({ getValue }) => {
|
|
83
49
|
const value = getValue();
|
|
84
|
-
return /* @__PURE__ */
|
|
50
|
+
return /* @__PURE__ */ jsx(DataTableStatusCell, { color: value ? "grey" : "green", children: value ? t("general.disabled") : t("general.enabled") });
|
|
85
51
|
}
|
|
86
52
|
}),
|
|
87
53
|
...dateColumns
|
|
@@ -11331,7 +11331,7 @@ var en_default = {
|
|
|
11331
11331
|
header: "Address",
|
|
11332
11332
|
defaultName: "Headquarters",
|
|
11333
11333
|
nameLabel: "Name",
|
|
11334
|
-
|
|
11334
|
+
apartmentLabel: "Apartment, suite, etc.",
|
|
11335
11335
|
empty: {
|
|
11336
11336
|
title: "No address",
|
|
11337
11337
|
message: "There are no records to show"
|
|
@@ -11340,6 +11340,10 @@ var en_default = {
|
|
|
11340
11340
|
header: "Edit Address",
|
|
11341
11341
|
description: "Update the address for this store.",
|
|
11342
11342
|
successToast: "Address updated"
|
|
11343
|
+
},
|
|
11344
|
+
validation: {
|
|
11345
|
+
nameRequired: "Please enter a name",
|
|
11346
|
+
countryRequired: "Please select a country"
|
|
11343
11347
|
}
|
|
11344
11348
|
},
|
|
11345
11349
|
paymentDetails: {
|
|
@@ -11363,6 +11367,10 @@ var en_default = {
|
|
|
11363
11367
|
routingNumber: "Routing number",
|
|
11364
11368
|
achRoutingNumber: "ACH routing number",
|
|
11365
11369
|
accountNumber: "Account number"
|
|
11370
|
+
},
|
|
11371
|
+
validation: {
|
|
11372
|
+
countryRequired: "Please select a country",
|
|
11373
|
+
accountNameRequired: "Please enter an account name"
|
|
11366
11374
|
}
|
|
11367
11375
|
},
|
|
11368
11376
|
professionalDetails: {
|
|
@@ -12011,6 +12019,9 @@ var en_default = {
|
|
|
12011
12019
|
reference_id: "Reference ID",
|
|
12012
12020
|
refundAmount: "Refund amount",
|
|
12013
12021
|
name: "Name",
|
|
12022
|
+
note: "Note",
|
|
12023
|
+
optional: "Optional",
|
|
12024
|
+
selectPlaceholder: "Select",
|
|
12014
12025
|
default: "Default",
|
|
12015
12026
|
lastName: "Last Name",
|
|
12016
12027
|
firstName: "First Name",
|
|
@@ -12260,10 +12271,16 @@ var en_default = {
|
|
|
12260
12271
|
errorToast: "Failed to send invitation"
|
|
12261
12272
|
},
|
|
12262
12273
|
members: {
|
|
12274
|
+
mainAdmin: "Main Admin",
|
|
12263
12275
|
addUser: {
|
|
12264
12276
|
header: "Add User",
|
|
12265
|
-
|
|
12266
|
-
|
|
12277
|
+
action: "Add",
|
|
12278
|
+
hint: "Add new user to manage this store. You can select existing user or invite new one.",
|
|
12279
|
+
addedToast: "User was successfully added.",
|
|
12280
|
+
invitedToast: "User was successfully invited.",
|
|
12281
|
+
validation: {
|
|
12282
|
+
roleRequired: "Please select a role"
|
|
12283
|
+
}
|
|
12267
12284
|
},
|
|
12268
12285
|
invite: {
|
|
12269
12286
|
resendSuccess: "Invite resent to {{email}}",
|
|
@@ -12304,9 +12321,12 @@ var en_default = {
|
|
|
12304
12321
|
description: "{{requester}} has submitted a store request. Review the details, make any necessary updates, and choose whether to confirm and publish the store or reject the request.",
|
|
12305
12322
|
confirm: "Confirm",
|
|
12306
12323
|
reject: "Reject",
|
|
12307
|
-
|
|
12308
|
-
|
|
12309
|
-
|
|
12324
|
+
confirmTitle: "Approve store request",
|
|
12325
|
+
confirmDescription: "Provide an optional note for the vendor. The store will be published after approval.",
|
|
12326
|
+
rejectTitle: "Reject store request",
|
|
12327
|
+
rejectDescription: "Provide an optional reason. The vendor will be notified.",
|
|
12328
|
+
noteLabel: "Note",
|
|
12329
|
+
notePlaceholder: "Add a note for the vendor...",
|
|
12310
12330
|
confirmSuccess: "Store approved",
|
|
12311
12331
|
rejectSuccess: "Store rejected"
|
|
12312
12332
|
},
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-IGTRIAUC.js";
|
|
4
4
|
import {
|
|
5
5
|
HandleInput
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HJ56YXBU.js";
|
|
7
7
|
import {
|
|
8
8
|
DataGrid,
|
|
9
9
|
createDataGridHelper,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
useSalesChannelTableEmptyState,
|
|
15
15
|
useSalesChannelTableFilters,
|
|
16
16
|
useSalesChannelTableQuery
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-CKNQJPAG.js";
|
|
18
18
|
import {
|
|
19
19
|
DataTable
|
|
20
20
|
} from "./chunk-UQITHKTH.js";
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
ProductCreateSchema,
|
|
36
36
|
decorateVariantsWithDefaultValues,
|
|
37
37
|
normalizeProductFormValues
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-3LPDWXLV.js";
|
|
39
39
|
import {
|
|
40
40
|
ChipInput
|
|
41
41
|
} from "./chunk-NCYTM57J.js";
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
// src/components/inputs/handle-input/handle-input.tsx
|
|
2
|
+
import { Input, Text } from "@medusajs/ui";
|
|
3
|
+
import {
|
|
4
|
+
forwardRef,
|
|
5
|
+
useLayoutEffect,
|
|
6
|
+
useRef,
|
|
7
|
+
useState
|
|
8
|
+
} from "react";
|
|
9
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
|
+
var HandleInput = forwardRef(({ prefix = "/", style, ...props }, ref) => {
|
|
11
|
+
const prefixRef = useRef(null);
|
|
12
|
+
const [paddingLeft, setPaddingLeft] = useState(
|
|
13
|
+
prefix === "/" ? 40 : 0
|
|
14
|
+
);
|
|
15
|
+
useLayoutEffect(() => {
|
|
16
|
+
if (prefixRef.current) {
|
|
17
|
+
setPaddingLeft(prefixRef.current.offsetWidth + 8);
|
|
18
|
+
}
|
|
19
|
+
}, [prefix]);
|
|
20
|
+
const mergedStyle = { ...style, paddingLeft };
|
|
21
|
+
return /* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
22
|
+
/* @__PURE__ */ jsx(
|
|
23
|
+
"div",
|
|
24
|
+
{
|
|
25
|
+
ref: prefixRef,
|
|
26
|
+
className: "absolute inset-y-0 left-0 z-10 flex min-w-8 items-center justify-center border-r px-2.5",
|
|
27
|
+
children: /* @__PURE__ */ jsx(
|
|
28
|
+
Text,
|
|
29
|
+
{
|
|
30
|
+
className: "text-ui-fg-muted",
|
|
31
|
+
size: "small",
|
|
32
|
+
leading: "compact",
|
|
33
|
+
weight: "plus",
|
|
34
|
+
children: prefix
|
|
35
|
+
}
|
|
36
|
+
)
|
|
37
|
+
}
|
|
38
|
+
),
|
|
39
|
+
/* @__PURE__ */ jsx(Input, { ref, ...props, style: mergedStyle })
|
|
40
|
+
] });
|
|
41
|
+
});
|
|
42
|
+
HandleInput.displayName = "HandleInput";
|
|
43
|
+
|
|
44
|
+
export {
|
|
45
|
+
HandleInput
|
|
46
|
+
};
|