@mercurjs/vendor 2.3.6-canary.2 → 2.3.6-canary.4

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.
Files changed (132) hide show
  1. package/dist/{[id]-KOCBALI4.js → [id]-4KGGOHE6.js} +8 -8
  2. package/dist/{[id]-UBSNYNU3.js → [id]-7YKY5KZP.js} +7 -7
  3. package/dist/{[id]-Y3TQSFC6.js → [id]-7YPSQHSD.js} +6 -6
  4. package/dist/{[id]-AQKTALEL.js → [id]-ESNBZD2D.js} +7 -7
  5. package/dist/{[id]-AFEHUZRT.js → [id]-IJLSN6A4.js} +4 -4
  6. package/dist/{[id]-24YYPUOX.js → [id]-K4P4HI7K.js} +8 -8
  7. package/dist/{[id]-CZGUBB3C.js → [id]-KCGLWNXW.js} +1 -1
  8. package/dist/{[id]-CGXRQVI5.js → [id]-QG4XJLTM.js} +4 -4
  9. package/dist/{[id]-2W2NBB5Q.js → [id]-QTMPE2OG.js} +6 -6
  10. package/dist/{[id]-CXYFGZXC.js → [id]-RJIIA5GS.js} +2 -2
  11. package/dist/{[id]-JZ24NZYP.js → [id]-RXE4JR2L.js} +6 -6
  12. package/dist/{[id]-VJ45WZIS.js → [id]-SAC3D5IX.js} +7 -7
  13. package/dist/{[id]-2OWBFHYT.js → [id]-YUL7AKK2.js} +2 -2
  14. package/dist/{[location_id]-XTNHTIA7.js → [location_id]-62NRMIRT.js} +6 -6
  15. package/dist/{[province_id]-WCWOWAUT.js → [province_id]-55ERG73C.js} +3 -3
  16. package/dist/{add-VQV5XS7X.js → add-J53OVTNU.js} +3 -3
  17. package/dist/{add-4TGOLMNW.js → add-ZTIWO4K7.js} +6 -6
  18. package/dist/{add-customer-groups-FKCNYLVF.js → add-customer-groups-C6VNL66R.js} +1 -1
  19. package/dist/{add-products-3ZVLHMZL.js → add-products-VKTYO44T.js} +5 -5
  20. package/dist/{add-promotions-LBZYSHRW.js → add-promotions-GM7E5PPT.js} +3 -3
  21. package/dist/{add-to-campaign-FWHQHE76.js → add-to-campaign-2T7W7IGC.js} +3 -3
  22. package/dist/{address-S37OVFDQ.js → address-A5HDRR53.js} +1 -1
  23. package/dist/{breadcrumb-53DVBBWG.js → breadcrumb-2V4UTPDD.js} +1 -1
  24. package/dist/{breadcrumb-LQBX5J4N.js → breadcrumb-CDGFLWXU.js} +1 -1
  25. package/dist/{breadcrumb-LIVWHU2Y.js → breadcrumb-VNYOKOLJ.js} +1 -1
  26. package/dist/{campaigns-QXER6MLC.js → campaigns-77ZNTLVM.js} +1 -1
  27. package/dist/{chunk-IQRQTO4Q.js → chunk-24N7DGIE.js} +18 -6
  28. package/dist/{chunk-2CD5KVSW.js → chunk-433GJAD7.js} +2 -2
  29. package/dist/{chunk-OKJAQM7X.js → chunk-CPBVTM6F.js} +16 -4
  30. package/dist/{chunk-QWMMXTJS.js → chunk-DHKUWER4.js} +3 -3
  31. package/dist/{chunk-R53PVMSJ.js → chunk-DSZ4KA7O.js} +1 -1
  32. package/dist/chunk-EIWUECQV.js +19 -0
  33. package/dist/{chunk-INH2YBOE.js → chunk-GICHVFW3.js} +1 -1
  34. package/dist/{chunk-VJCWJ6C7.js → chunk-GIZ2DOQS.js} +1 -1
  35. package/dist/{chunk-RO65IJPZ.js → chunk-HE7JZY6Q.js} +5 -5
  36. package/dist/{chunk-MP7EYSQR.js → chunk-IYLZCYWP.js} +1 -1
  37. package/dist/{chunk-LS3YHJZO.js → chunk-JG6OBY7L.js} +3 -3
  38. package/dist/{chunk-BRAZRY7I.js → chunk-LY2S5EZP.js} +1 -1
  39. package/dist/{chunk-JEDECGNV.js → chunk-MOUE4W4X.js} +21 -0
  40. package/dist/{chunk-G5NNOOHR.js → chunk-MWQHQJGN.js} +1 -1
  41. package/dist/{chunk-CZZWCAN5.js → chunk-NAIMPBYY.js} +3 -3
  42. package/dist/{chunk-4JVORTN4.js → chunk-NNLEVY4J.js} +1 -1
  43. package/dist/{chunk-BE4L4LX4.js → chunk-ORT7SBEI.js} +4 -4
  44. package/dist/{chunk-L3ZPCIEM.js → chunk-P7J7IUN6.js} +1 -1
  45. package/dist/{chunk-P2BPLLID.js → chunk-PY76AFAH.js} +1 -1
  46. package/dist/{chunk-W34KDYZA.js → chunk-R3AN3TZ3.js} +5 -3
  47. package/dist/{chunk-E3EB44VM.js → chunk-R5DX3IFD.js} +1 -1
  48. package/dist/{chunk-NRDWMDAK.js → chunk-SAKMXBXD.js} +4 -4
  49. package/dist/{chunk-3MXPGDD6.js → chunk-SZH3GTKM.js} +5 -5
  50. package/dist/{chunk-K67UE3ON.js → chunk-T4XULZDN.js} +3 -3
  51. package/dist/{chunk-W2W3TANY.js → chunk-UGUEUZCY.js} +1 -1
  52. package/dist/{chunk-SGYGRJVZ.js → chunk-VMRFUTKH.js} +1 -1
  53. package/dist/{chunk-D4FCXFWB.js → chunk-VNHN3UHT.js} +2 -2
  54. package/dist/{chunk-KWFSBUD6.js → chunk-VPUTUJQG.js} +31 -0
  55. package/dist/{chunk-RDLVH6CM.js → chunk-W6AYLESW.js} +1 -1
  56. package/dist/{chunk-HSKSSWKL.js → chunk-WBN4MTCT.js} +2 -2
  57. package/dist/{chunk-DOQALMB6.js → chunk-X32RGXHZ.js} +1 -1
  58. package/dist/{chunk-XQ47NZJC.js → chunk-XOFFU4IR.js} +1 -1
  59. package/dist/{chunk-S5XT7KIL.js → chunk-XR5ZZQJQ.js} +1 -1
  60. package/dist/{chunk-EZTOWRW3.js → chunk-ZN6XDVYS.js} +1 -1
  61. package/dist/{collections-QC23AXB6.js → collections-HTUV2LN7.js} +3 -3
  62. package/dist/{create-WPN3OUJU.js → create-2OF2AWP2.js} +3 -3
  63. package/dist/{create-ZIWLSS2Y.js → create-36PI47VK.js} +5 -5
  64. package/dist/{create-YLWN3KXA.js → create-7XM6AF3D.js} +6 -6
  65. package/dist/{create-YE42JQDG.js → create-BJRT5HXK.js} +6 -6
  66. package/dist/{create-7PZJOMOJ.js → create-F3KLZJDB.js} +1 -1
  67. package/dist/{create-4WI2U5SR.js → create-LP4CL6B5.js} +1 -1
  68. package/dist/{create-CALVYX64.js → create-MV7YVNOX.js} +7 -6
  69. package/dist/{create-W2BIALSN.js → create-O4ANXSIC.js} +2 -2
  70. package/dist/{create-46FDPMH7.js → create-PBJT6DKY.js} +3 -3
  71. package/dist/{create-HG34GWQX.js → create-PPVZDYOS.js} +1 -1
  72. package/dist/{customer-group-detail-GQSD3KGD.js → customer-group-detail-KEZAENU7.js} +1 -1
  73. package/dist/{customer-groups-7TML26GH.js → customer-groups-T5O7MGFL.js} +4 -4
  74. package/dist/{edit-C7RU245D.js → edit-ESHL4WJJ.js} +2 -2
  75. package/dist/{edit-BRJA6WWU.js → edit-KNFYPEFZ.js} +3 -3
  76. package/dist/{edit-SQNVFOX5.js → edit-NSJW5SJS.js} +4 -4
  77. package/dist/{edit-FWCVHGQX.js → edit-QOXDC5PM.js} +1 -1
  78. package/dist/{edit-K4VVN6G3.js → edit-RA7ATQOB.js} +3 -3
  79. package/dist/{edit-WHV7ULH7.js → edit-ROAE3AQO.js} +2 -2
  80. package/dist/{edit-BKDIANQ4.js → edit-WZCDDS5E.js} +17 -5
  81. package/dist/{edit-HEJJD2JU.js → edit-XZIKZI23.js} +6 -6
  82. package/dist/{edit-price-QTKLZX6V.js → edit-price-CCDENZG5.js} +1 -1
  83. package/dist/{fulfillment-YCE6KDAY.js → fulfillment-XJA6IDD5.js} +1 -1
  84. package/dist/{fulfillment-providers-S65L2TFV.js → fulfillment-providers-CV2KIE35.js} +3 -3
  85. package/dist/index.css +223 -6
  86. package/dist/index.js +188 -215
  87. package/dist/{inventory-P5362DRY.js → inventory-PNUAHOZT.js} +1 -1
  88. package/dist/{invite-ESABLNCW.js → invite-4VHAATVP.js} +2 -2
  89. package/dist/{invite-PNPUUQ62.js → invite-I6PDOUQZ.js} +1 -1
  90. package/dist/{locations-V4K3ZW3T.js → locations-YP6QVZC7.js} +1 -1
  91. package/dist/{login-UWARM7VH.js → login-RLTLYJZN.js} +3 -3
  92. package/dist/{media-XAGWCOFV.js → media-6ROKFLSB.js} +5 -5
  93. package/dist/{media-JJ7JRJZN.js → media-QNBLWGKZ.js} +2 -2
  94. package/dist/{metadata-6XTHHF7J.js → metadata-7X2RUT6W.js} +1 -1
  95. package/dist/{metadata-DCWGIYBI.js → metadata-AQ6OI6AN.js} +1 -1
  96. package/dist/{metadata-2J5Y5RXJ.js → metadata-BRYXECQ3.js} +1 -1
  97. package/dist/{metadata-RAAT3Q7A.js → metadata-JTOQCZG6.js} +1 -1
  98. package/dist/{metadata-NBZ6NZZM.js → metadata-MVOCDLQ6.js} +1 -1
  99. package/dist/{offer-create-page-ELIM2TC7.js → offer-create-page-GJIPU4TP.js} +4 -4
  100. package/dist/{offer-detail-page-7XLQ3D7Q.js → offer-detail-page-JBWZVYV2.js} +18 -6
  101. package/dist/{offer-variant-detail-page-KIY3YR45.js → offer-variant-detail-page-LQ3FJZQD.js} +3 -3
  102. package/dist/{offers-SDMHI4DJ.js → offers-N23X4UTZ.js} +6 -6
  103. package/dist/{onboarding-VBDFSVCB.js → onboarding-JIEX2PUJ.js} +1 -1
  104. package/dist/{orders-PYL7IFJR.js → orders-ZSJYJL7J.js} +3 -3
  105. package/dist/{organization-4XSDRQZC.js → organization-BSU7ME7F.js} +2 -2
  106. package/dist/pages/index.js +21 -20
  107. package/dist/{payment-details-AV2NRBKC.js → payment-details-5UJ2LBME.js} +1 -1
  108. package/dist/{price-lists-3NFRDOFR.js → price-lists-INRBUTSF.js} +1 -1
  109. package/dist/{pricing-6DVMMDOB.js → pricing-DOCEEJEW.js} +1 -1
  110. package/dist/{pricing-DKX2IPKN.js → pricing-LRLKBQW7.js} +1 -1
  111. package/dist/{product-tags-YAFEZ2OE.js → product-tags-RIIY5X5B.js} +5 -5
  112. package/dist/{product-variant-detail-VRWPHLOS.js → product-variant-detail-PGQ3ATNP.js} +4 -4
  113. package/dist/{product-variant-edit-TQRQOLIC.js → product-variant-edit-ONWJAC6Z.js} +3 -3
  114. package/dist/{products-3W75USE2.js → products-MPOCNGMT.js} +11 -10
  115. package/dist/{products-WPGAU6E5.js → products-XZULQ4B5.js} +5 -5
  116. package/dist/{professional-details-52JHHI2S.js → professional-details-HFM3WPPY.js} +1 -1
  117. package/dist/{profile-NX6TSUDE.js → profile-25NTBZMT.js} +1 -1
  118. package/dist/{promotions-XUXSLO3J.js → promotions-W57CTIZT.js} +4 -4
  119. package/dist/{register-UACB3RKA.js → register-R5SY5WP5.js} +3 -3
  120. package/dist/{reservations-UYBAVDPC.js → reservations-IJUQ4SJ7.js} +3 -3
  121. package/dist/{reset-password-GHXQILPV.js → reset-password-KWA7IQSI.js} +1 -1
  122. package/dist/{return-reasons-T5P7MRBV.js → return-reasons-XSQCCVHN.js} +6 -6
  123. package/dist/{settings-CGBSHQPE.js → settings-EZT5GTNE.js} +6 -6
  124. package/dist/{shipment-TH3ULWXR.js → shipment-KS7NRPY4.js} +1 -1
  125. package/dist/{shipping-profiles-FSRH5RXL.js → shipping-profiles-TOPARYBI.js} +1 -1
  126. package/dist/{stock-7BBK4AXH.js → stock-3DW2JFI6.js} +1 -1
  127. package/dist/{store-X2WXIXEK.js → store-MO5A2CPQ.js} +6 -6
  128. package/dist/{store-closure-HMMEJOSY.js → store-closure-3QSTP2C7.js} +1 -1
  129. package/dist/{store-select-6DV3DION.js → store-select-SKDPG4P7.js} +2 -2
  130. package/dist/{tax-regions-SLN3LO5X.js → tax-regions-DTTQGOK3.js} +2 -2
  131. package/dist/{team-IODN22YS.js → team-4Q63PJ47.js} +2 -2
  132. package/package.json +9 -9
@@ -2,7 +2,7 @@ import {
2
2
  PriceListCreateOffersSchema,
3
3
  usePriceListCurrencyData,
4
4
  usePriceListGridColumns
5
- } from "./chunk-EZTOWRW3.js";
5
+ } from "./chunk-ZN6XDVYS.js";
6
6
  import {
7
7
  extractPricesFromOffers
8
8
  } from "./chunk-KVAD5JGS.js";
@@ -11,12 +11,12 @@ import {
11
11
  useOfferTableColumns,
12
12
  useOfferTableFilters,
13
13
  useOfferTableQuery
14
- } from "./chunk-BE4L4LX4.js";
14
+ } from "./chunk-ORT7SBEI.js";
15
15
  import "./chunk-5ZHZVKNQ.js";
16
16
  import "./chunk-6XMUN2BZ.js";
17
- import "./chunk-P2BPLLID.js";
17
+ import "./chunk-PY76AFAH.js";
18
18
  import "./chunk-FWPGOIFA.js";
19
- import "./chunk-L3ZPCIEM.js";
19
+ import "./chunk-P7J7IUN6.js";
20
20
  import "./chunk-DB6ANJBO.js";
21
21
  import "./chunk-PHOCVOZ5.js";
22
22
  import {
@@ -43,7 +43,7 @@ import "./chunk-3DOTNN32.js";
43
43
  import "./chunk-THHRRYRS.js";
44
44
  import "./chunk-CWCR5ZLS.js";
45
45
  import "./chunk-WQ467F7S.js";
46
- import "./chunk-KWFSBUD6.js";
46
+ import "./chunk-VPUTUJQG.js";
47
47
  import "./chunk-WIYFXWRI.js";
48
48
  import "./chunk-INNFZYX2.js";
49
49
  import "./chunk-LAVHRER2.js";
@@ -63,7 +63,7 @@ import {
63
63
  import "./chunk-MR6REQKT.js";
64
64
  import "./chunk-JBV2QQYF.js";
65
65
  import "./chunk-BHEU34FL.js";
66
- import "./chunk-W34KDYZA.js";
66
+ import "./chunk-R3AN3TZ3.js";
67
67
  import "./chunk-II3CLUXA.js";
68
68
  import "./chunk-OCYVN77Z.js";
69
69
  import "./chunk-J2XUEO2E.js";
@@ -43,7 +43,7 @@ import "./chunk-NV2RZAHW.js";
43
43
  import "./chunk-MR6REQKT.js";
44
44
  import "./chunk-JBV2QQYF.js";
45
45
  import "./chunk-BHEU34FL.js";
46
- import "./chunk-W34KDYZA.js";
46
+ import "./chunk-R3AN3TZ3.js";
47
47
  import {
48
48
  useBatchCustomerCustomerGroups,
49
49
  useCustomerGroups
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  useProductTableColumns
3
- } from "./chunk-BRAZRY7I.js";
3
+ } from "./chunk-LY2S5EZP.js";
4
4
  import "./chunk-6XMUN2BZ.js";
5
- import "./chunk-P2BPLLID.js";
5
+ import "./chunk-PY76AFAH.js";
6
6
  import {
7
7
  useProductTableQuery
8
8
  } from "./chunk-BEPAXQMU.js";
9
9
  import "./chunk-FWPGOIFA.js";
10
10
  import {
11
11
  useProductTableFilters
12
- } from "./chunk-L3ZPCIEM.js";
12
+ } from "./chunk-P7J7IUN6.js";
13
13
  import "./chunk-DB6ANJBO.js";
14
14
  import "./chunk-PHOCVOZ5.js";
15
15
  import {
@@ -29,7 +29,7 @@ import "./chunk-KCHYLLVG.js";
29
29
  import "./chunk-3DOTNN32.js";
30
30
  import "./chunk-THHRRYRS.js";
31
31
  import "./chunk-WQ467F7S.js";
32
- import "./chunk-KWFSBUD6.js";
32
+ import "./chunk-VPUTUJQG.js";
33
33
  import "./chunk-WIYFXWRI.js";
34
34
  import "./chunk-INNFZYX2.js";
35
35
  import "./chunk-QFKER4GM.js";
@@ -45,7 +45,7 @@ import "./chunk-NV2RZAHW.js";
45
45
  import "./chunk-MR6REQKT.js";
46
46
  import "./chunk-JBV2QQYF.js";
47
47
  import "./chunk-BHEU34FL.js";
48
- import "./chunk-W34KDYZA.js";
48
+ import "./chunk-R3AN3TZ3.js";
49
49
  import "./chunk-II3CLUXA.js";
50
50
  import {
51
51
  useCollection,
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  usePromotionTableColumns,
3
3
  usePromotionTableQuery
4
- } from "./chunk-SGYGRJVZ.js";
5
- import "./chunk-VJCWJ6C7.js";
4
+ } from "./chunk-VMRFUTKH.js";
5
+ import "./chunk-GIZ2DOQS.js";
6
6
  import "./chunk-JHIMVLB2.js";
7
7
  import {
8
8
  usePromotionTableFilters
@@ -10,7 +10,7 @@ import {
10
10
  import "./chunk-MDABSESI.js";
11
11
  import "./chunk-FMFVTERD.js";
12
12
  import "./chunk-PHOCVOZ5.js";
13
- import "./chunk-JEDECGNV.js";
13
+ import "./chunk-MOUE4W4X.js";
14
14
  import "./chunk-TKGWSUEI.js";
15
15
  import {
16
16
  KeyboundForm
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  AddCampaignPromotionForm
3
- } from "./chunk-4JVORTN4.js";
4
- import "./chunk-G5NNOOHR.js";
3
+ } from "./chunk-NNLEVY4J.js";
4
+ import "./chunk-MWQHQJGN.js";
5
5
  import "./chunk-IQPN4PZJ.js";
6
6
  import "./chunk-VAFGNDAP.js";
7
7
  import "./chunk-TKGWSUEI.js";
@@ -14,7 +14,7 @@ import {
14
14
  useCampaigns,
15
15
  usePromotion
16
16
  } from "./chunk-MR6REQKT.js";
17
- import "./chunk-W34KDYZA.js";
17
+ import "./chunk-R3AN3TZ3.js";
18
18
  import "./chunk-RHKRREUU.js";
19
19
  import "./chunk-ZA2KFUFR.js";
20
20
  import "./chunk-DTGEFKK4.js";
@@ -28,7 +28,7 @@ import "./chunk-BHEU34FL.js";
28
28
  import {
29
29
  useMe,
30
30
  useUpdateSellerAddress
31
- } from "./chunk-W34KDYZA.js";
31
+ } from "./chunk-R3AN3TZ3.js";
32
32
  import "./chunk-II3CLUXA.js";
33
33
  import "./chunk-OCYVN77Z.js";
34
34
  import "./chunk-J2XUEO2E.js";
@@ -12,7 +12,7 @@ import "./chunk-NV2RZAHW.js";
12
12
  import "./chunk-MR6REQKT.js";
13
13
  import "./chunk-JBV2QQYF.js";
14
14
  import "./chunk-BHEU34FL.js";
15
- import "./chunk-W34KDYZA.js";
15
+ import "./chunk-R3AN3TZ3.js";
16
16
  import "./chunk-II3CLUXA.js";
17
17
  import "./chunk-OCYVN77Z.js";
18
18
  import "./chunk-J2XUEO2E.js";
@@ -11,7 +11,7 @@ import "./chunk-NV2RZAHW.js";
11
11
  import "./chunk-MR6REQKT.js";
12
12
  import "./chunk-JBV2QQYF.js";
13
13
  import "./chunk-BHEU34FL.js";
14
- import "./chunk-W34KDYZA.js";
14
+ import "./chunk-R3AN3TZ3.js";
15
15
  import "./chunk-II3CLUXA.js";
16
16
  import "./chunk-OCYVN77Z.js";
17
17
  import "./chunk-J2XUEO2E.js";
@@ -9,7 +9,7 @@ import "./chunk-NV2RZAHW.js";
9
9
  import "./chunk-MR6REQKT.js";
10
10
  import "./chunk-JBV2QQYF.js";
11
11
  import "./chunk-BHEU34FL.js";
12
- import "./chunk-W34KDYZA.js";
12
+ import "./chunk-R3AN3TZ3.js";
13
13
  import "./chunk-II3CLUXA.js";
14
14
  import "./chunk-OCYVN77Z.js";
15
15
  import "./chunk-J2XUEO2E.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  CampaignListPage
3
- } from "./chunk-CZZWCAN5.js";
3
+ } from "./chunk-NAIMPBYY.js";
4
4
  import "./chunk-3EEHDDS2.js";
5
5
  import "./chunk-WP3B4NEU.js";
6
6
  import "./chunk-WW2XYOHJ.js";
@@ -8,6 +8,9 @@ import {
8
8
  import {
9
9
  HandleInput
10
10
  } from "./chunk-HJ56YXBU.js";
11
+ import {
12
+ uploadRichTextImage
13
+ } from "./chunk-EIWUECQV.js";
11
14
  import {
12
15
  SwitchBox
13
16
  } from "./chunk-YVCBMOJG.js";
@@ -19,13 +22,13 @@ import {
19
22
  } from "./chunk-OVPAOBZB.js";
20
23
  import {
21
24
  UploadMediaFormItem
22
- } from "./chunk-W2W3TANY.js";
25
+ } from "./chunk-UGUEUZCY.js";
23
26
  import {
24
27
  PRODUCT_CREATE_FORM_DEFAULTS,
25
28
  ProductCreateSchema,
26
29
  generateVariantsFromAttributes,
27
30
  normalizeProductFormValues
28
- } from "./chunk-2CD5KVSW.js";
31
+ } from "./chunk-433GJAD7.js";
29
32
  import {
30
33
  ChipInput
31
34
  } from "./chunk-KDE4HKH2.js";
@@ -58,7 +61,7 @@ import {
58
61
  } from "./chunk-CWCR5ZLS.js";
59
62
  import {
60
63
  require_dist
61
- } from "./chunk-KWFSBUD6.js";
64
+ } from "./chunk-VPUTUJQG.js";
62
65
  import {
63
66
  useFeatureFlags
64
67
  } from "./chunk-TYSWV3ZA.js";
@@ -941,7 +944,8 @@ import { Heading as Heading2 } from "@medusajs/ui";
941
944
  import { useTranslation as useTranslation5 } from "react-i18next";
942
945
 
943
946
  // src/pages/products/create/components/product-create-details-form/components/product-create-details-general-section/product-create-general-section.tsx
944
- import { Input as Input2, Textarea as Textarea2 } from "@medusajs/ui";
947
+ import { Input as Input2 } from "@medusajs/ui";
948
+ import { RichTextEditor } from "@mercurjs/dashboard-shared";
945
949
  import { useTranslation as useTranslation3 } from "react-i18next";
946
950
  import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
947
951
  var ProductCreateGeneralSection = () => {
@@ -1006,7 +1010,15 @@ var ProductCreateGeneralSection = () => {
1006
1010
  render: ({ field }) => {
1007
1011
  return /* @__PURE__ */ jsxs3(Form.Item, { "data-testid": "product-create-general-section-description-item", children: [
1008
1012
  /* @__PURE__ */ jsx3(Form.Label, { optional: true, "data-testid": "product-create-general-section-description-label", children: t("products.fields.description.label") }),
1009
- /* @__PURE__ */ jsx3(Form.Control, { "data-testid": "product-create-general-section-description-control", children: /* @__PURE__ */ jsx3(Textarea2, { ...field, placeholder: t("products.fields.description.placeholder"), "data-testid": "product-create-general-section-description-input" }) })
1013
+ /* @__PURE__ */ jsx3(Form.Control, { "data-testid": "product-create-general-section-description-control", children: /* @__PURE__ */ jsx3(
1014
+ RichTextEditor,
1015
+ {
1016
+ ...field,
1017
+ placeholder: t("products.fields.description.placeholder"),
1018
+ onUpload: uploadRichTextImage,
1019
+ "data-testid": "product-create-general-section-description-input"
1020
+ }
1021
+ ) })
1010
1022
  ] });
1011
1023
  }
1012
1024
  }
@@ -1220,7 +1232,7 @@ var MediaItem = ({ field, onDelete, onMakeThumbnail }) => {
1220
1232
  actions: [
1221
1233
  {
1222
1234
  icon: /* @__PURE__ */ jsx4(Trash, {}),
1223
- permission: "product:delete",
1235
+ permission: "products:manage",
1224
1236
  label: t("actions.delete"),
1225
1237
  onClick: onDelete
1226
1238
  }
@@ -3,10 +3,10 @@ import {
3
3
  } from "./chunk-UXD3VNBO.js";
4
4
  import {
5
5
  i18n
6
- } from "./chunk-JEDECGNV.js";
6
+ } from "./chunk-MOUE4W4X.js";
7
7
  import {
8
8
  require_dist
9
- } from "./chunk-KWFSBUD6.js";
9
+ } from "./chunk-VPUTUJQG.js";
10
10
  import {
11
11
  __toESM
12
12
  } from "./chunk-NBMM2TZK.js";
@@ -213,7 +213,11 @@ import { PencilSquare as PencilSquare2, Trash } from "@medusajs/icons";
213
213
  import { Container as Container2, Heading as Heading2, StatusBadge, usePrompt as usePrompt2 } from "@medusajs/ui";
214
214
  import { useTranslation as useTranslation2 } from "react-i18next";
215
215
  import { useNavigate } from "react-router-dom";
216
- import { DisplayExtensionZone as DisplayExtensionZone2, DisplayField } from "@mercurjs/dashboard-shared";
216
+ import {
217
+ DisplayExtensionZone as DisplayExtensionZone2,
218
+ DisplayField,
219
+ RichText
220
+ } from "@mercurjs/dashboard-shared";
217
221
  import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
218
222
  var GENERAL_FIELD_IDS = [
219
223
  "title",
@@ -283,7 +287,7 @@ var ProductGeneralSection = ({
283
287
  {
284
288
  actions: [
285
289
  {
286
- permission: "product:update",
290
+ permission: "products:edit",
287
291
  label: t("actions.edit"),
288
292
  to: "edit",
289
293
  icon: /* @__PURE__ */ jsx2(PencilSquare2, {})
@@ -293,7 +297,7 @@ var ProductGeneralSection = ({
293
297
  {
294
298
  actions: [
295
299
  {
296
- permission: "product:delete",
300
+ permission: "products:manage",
297
301
  label: t("actions.delete"),
298
302
  onClick: handleDelete,
299
303
  icon: /* @__PURE__ */ jsx2(Trash, {})
@@ -309,7 +313,15 @@ var ProductGeneralSection = ({
309
313
  SectionRow,
310
314
  {
311
315
  title: t("fields.description"),
312
- value: product.description || "-"
316
+ value: product.description ? /* @__PURE__ */ jsx2(
317
+ RichText,
318
+ {
319
+ html: product.description,
320
+ className: "w-full",
321
+ collapsedHeight: 200,
322
+ "data-testid": "product-description"
323
+ }
324
+ ) : void 0
313
325
  }
314
326
  ) }),
315
327
  /* @__PURE__ */ jsx2(DisplayField, { model: "product", zone: "general", id: "subtitle", data: product, children: /* @__PURE__ */ jsx2(
@@ -131,7 +131,7 @@ function LocationListItem(props) {
131
131
  {
132
132
  actions: [
133
133
  {
134
- permission: "stock_location:update",
134
+ permission: "stock_locations:edit",
135
135
  label: t("actions.edit"),
136
136
  icon: /* @__PURE__ */ jsx(PencilSquare, {}),
137
137
  to: `/settings/locations/${location.id}/edit`
@@ -141,7 +141,7 @@ function LocationListItem(props) {
141
141
  {
142
142
  actions: [
143
143
  {
144
- permission: "stock_location:delete",
144
+ permission: "stock_locations:manage",
145
145
  label: t("actions.delete"),
146
146
  icon: /* @__PURE__ */ jsx(Trash, {}),
147
147
  onClick: handleDelete
@@ -190,7 +190,7 @@ var LocationListHeader = () => {
190
190
  /* @__PURE__ */ jsx2(Heading, { children: t("stockLocations.domain") }),
191
191
  /* @__PURE__ */ jsx2(Text2, { className: "text-ui-fg-subtle txt-small", children: t("stockLocations.list.description") })
192
192
  ] }),
193
- /* @__PURE__ */ jsx2(PermissionGuard, { resource: "stock_location", operation: "create", children: /* @__PURE__ */ jsx2(Button, { size: "small", className: "shrink-0", variant: "secondary", asChild: true, children: /* @__PURE__ */ jsx2(Link, { to: "create", children: t("actions.create") }) }) })
193
+ /* @__PURE__ */ jsx2(PermissionGuard, { permission: "stock_locations:edit", children: /* @__PURE__ */ jsx2(Button, { size: "small", className: "shrink-0", variant: "secondary", asChild: true, children: /* @__PURE__ */ jsx2(Link, { to: "create", children: t("actions.create") }) }) })
194
194
  ] });
195
195
  };
196
196
 
@@ -218,7 +218,7 @@ var TaxRegionCardActions = ({
218
218
  actions: [
219
219
  {
220
220
  icon: /* @__PURE__ */ jsx(Trash, {}),
221
- permission: "tax_region:delete",
221
+ permission: "tax_regions:manage",
222
222
  label: t("actions.delete"),
223
223
  onClick: handleDelete
224
224
  }
@@ -0,0 +1,19 @@
1
+ import {
2
+ sdk
3
+ } from "./chunk-DTGEFKK4.js";
4
+
5
+ // src/lib/upload-rich-text-image.ts
6
+ var uploadRichTextImage = async (file) => {
7
+ const { files } = await sdk.vendor.uploads.mutate({
8
+ files: [file]
9
+ });
10
+ const url = files?.[0]?.url;
11
+ if (!url) {
12
+ throw new Error("Upload did not return a file url");
13
+ }
14
+ return url;
15
+ };
16
+
17
+ export {
18
+ uploadRichTextImage
19
+ };
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-3QSRE5LS.js";
13
13
  import {
14
14
  require_dist
15
- } from "./chunk-KWFSBUD6.js";
15
+ } from "./chunk-VPUTUJQG.js";
16
16
  import {
17
17
  useFeatureFlags
18
18
  } from "./chunk-TYSWV3ZA.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  i18n
3
- } from "./chunk-JEDECGNV.js";
3
+ } from "./chunk-MOUE4W4X.js";
4
4
 
5
5
  // src/lib/promotions.ts
6
6
  var promotionStatusMap = {
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  useProductTableColumns
3
- } from "./chunk-BRAZRY7I.js";
3
+ } from "./chunk-LY2S5EZP.js";
4
4
  import {
5
5
  DEFAULT_FIELDS,
6
6
  useProductTableQuery
7
7
  } from "./chunk-BEPAXQMU.js";
8
8
  import {
9
9
  useProductTableFilters
10
- } from "./chunk-L3ZPCIEM.js";
10
+ } from "./chunk-P7J7IUN6.js";
11
11
  import {
12
12
  SingleColumnPage
13
13
  } from "./chunk-YV6MK4PZ.js";
@@ -48,7 +48,7 @@ var ProductListTitle = () => {
48
48
  };
49
49
  var ProductListCreateButton = () => {
50
50
  const { t } = useTranslation();
51
- return /* @__PURE__ */ jsx(PermissionGuard, { resource: "product", operation: "create", children: /* @__PURE__ */ jsx(Button, { size: "small", variant: "secondary", asChild: true, children: /* @__PURE__ */ jsx(Link, { to: "create", children: t("actions.create") }) }) });
51
+ return /* @__PURE__ */ jsx(PermissionGuard, { permission: "products:edit", children: /* @__PURE__ */ jsx(Button, { size: "small", variant: "secondary", asChild: true, children: /* @__PURE__ */ jsx(Link, { to: "create", children: t("actions.create") }) }) });
52
52
  };
53
53
  var ProductListActions = ({ children }) => {
54
54
  return /* @__PURE__ */ jsx("div", { className: "flex items-center justify-center gap-x-2", children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx(ProductListCreateButton, {}) }) });
@@ -178,7 +178,7 @@ var ProductActions = ({ product }) => {
178
178
  actions: [
179
179
  {
180
180
  icon: /* @__PURE__ */ jsx2(PencilSquare, {}),
181
- permission: "product:update",
181
+ permission: "products:edit",
182
182
  label: t("actions.edit"),
183
183
  to: `/products/${product.id}/edit`
184
184
  }
@@ -188,7 +188,7 @@ var ProductActions = ({ product }) => {
188
188
  actions: [
189
189
  {
190
190
  icon: /* @__PURE__ */ jsx2(Trash, {}),
191
- permission: "product:delete",
191
+ permission: "products:manage",
192
192
  label: t("actions.delete"),
193
193
  onClick: handleDelete
194
194
  }
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-VAFGNDAP.js";
4
4
  import {
5
5
  require_dist
6
- } from "./chunk-KWFSBUD6.js";
6
+ } from "./chunk-VPUTUJQG.js";
7
7
  import {
8
8
  __toESM
9
9
  } from "./chunk-NBMM2TZK.js";
@@ -49,7 +49,7 @@ var PriceListListTitle = () => {
49
49
  };
50
50
  var PriceListListCreateButton = () => {
51
51
  const { t } = useTranslation();
52
- return /* @__PURE__ */ jsx(PermissionGuard, { resource: "price_list", operation: "create", children: /* @__PURE__ */ jsx(Button, { size: "small", variant: "secondary", asChild: true, children: /* @__PURE__ */ jsx(Link, { to: "create", children: t("actions.create") }) }) });
52
+ return /* @__PURE__ */ jsx(PermissionGuard, { permission: "price_lists:edit", children: /* @__PURE__ */ jsx(Button, { size: "small", variant: "secondary", asChild: true, children: /* @__PURE__ */ jsx(Link, { to: "create", children: t("actions.create") }) }) });
53
53
  };
54
54
  var PriceListListActions = ({
55
55
  children
@@ -91,7 +91,7 @@ var PriceListListTableActions = ({
91
91
  {
92
92
  actions: [
93
93
  {
94
- permission: "price_list:update",
94
+ permission: "price_lists:edit",
95
95
  label: t("actions.edit"),
96
96
  to: `${priceList.id}/edit`,
97
97
  icon: /* @__PURE__ */ jsx2(PencilSquare, {})
@@ -101,7 +101,7 @@ var PriceListListTableActions = ({
101
101
  {
102
102
  actions: [
103
103
  {
104
- permission: "price_list:delete",
104
+ permission: "price_lists:manage",
105
105
  label: t("actions.delete"),
106
106
  onClick: handleDelete,
107
107
  icon: /* @__PURE__ */ jsx2(Trash, {})
@@ -3,7 +3,7 @@ import {
3
3
  CategoryHeader,
4
4
  ProductStatusCell,
5
5
  ProductStatusHeader
6
- } from "./chunk-P2BPLLID.js";
6
+ } from "./chunk-PY76AFAH.js";
7
7
  import {
8
8
  ProductCell,
9
9
  ProductHeader
@@ -12624,6 +12624,7 @@ var en_default = {
12624
12624
  back: "Back",
12625
12625
  close: "Close",
12626
12626
  showMore: "Show more",
12627
+ showLess: "Show less",
12627
12628
  continue: "Continue",
12628
12629
  continueWithEmail: "Continue with Email",
12629
12630
  idCopiedToClipboard: "ID copied to clipboard",
@@ -16895,6 +16896,26 @@ var en_default = {
16895
16896
  update: "Update",
16896
16897
  delete: "Delete"
16897
16898
  }
16899
+ },
16900
+ richTextEditor: {
16901
+ bold: "Bold",
16902
+ italic: "Italic",
16903
+ underline: "Underline",
16904
+ strike: "Strikethrough",
16905
+ paragraph: "Paragraph",
16906
+ heading2: "Heading",
16907
+ heading3: "Subheading",
16908
+ bulletList: "Bulleted list",
16909
+ orderedList: "Numbered list",
16910
+ blockquote: "Quote",
16911
+ link: "Link",
16912
+ linkPlaceholder: "https://example.com",
16913
+ removeLink: "Remove link",
16914
+ image: "Insert image",
16915
+ uploadingImage: "Uploading image...",
16916
+ imageUploadFailed: "Failed to upload image",
16917
+ undo: "Undo",
16918
+ redo: "Redo"
16898
16919
  }
16899
16920
  };
16900
16921
 
@@ -10,7 +10,7 @@ import {
10
10
  } from "./chunk-3QSRE5LS.js";
11
11
  import {
12
12
  useCurrentSeller
13
- } from "./chunk-W34KDYZA.js";
13
+ } from "./chunk-R3AN3TZ3.js";
14
14
 
15
15
  // src/pages/campaigns/common/components/create-campaign-form-fields/create-campaign-form-fields.tsx
16
16
  import {
@@ -40,7 +40,7 @@ var CampaignListTitle = () => {
40
40
  };
41
41
  var CampaignListCreateButton = () => {
42
42
  const { t } = useTranslation();
43
- return /* @__PURE__ */ jsx(PermissionGuard, { resource: "campaign", operation: "create", children: /* @__PURE__ */ jsx(Link, { to: "/campaigns/create", children: /* @__PURE__ */ jsx(Button, { size: "small", variant: "secondary", children: t("actions.create") }) }) });
43
+ return /* @__PURE__ */ jsx(PermissionGuard, { permission: "campaigns:edit", children: /* @__PURE__ */ jsx(Link, { to: "/campaigns/create", children: /* @__PURE__ */ jsx(Button, { size: "small", variant: "secondary", children: t("actions.create") }) }) });
44
44
  };
45
45
  var CampaignListActions = ({
46
46
  children
@@ -186,7 +186,7 @@ var CampaignActions = ({ campaign }) => {
186
186
  actions: [
187
187
  {
188
188
  icon: /* @__PURE__ */ jsx2(PencilSquare, {}),
189
- permission: "campaign:update",
189
+ permission: "campaigns:edit",
190
190
  label: t("actions.edit"),
191
191
  to: `/campaigns/${campaign.id}/edit`
192
192
  }
@@ -196,7 +196,7 @@ var CampaignActions = ({ campaign }) => {
196
196
  actions: [
197
197
  {
198
198
  icon: /* @__PURE__ */ jsx2(Trash, {}),
199
- permission: "campaign:delete",
199
+ permission: "campaigns:manage",
200
200
  label: t("actions.delete"),
201
201
  onClick: handleDelete
202
202
  }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  CreateCampaignFormFields
3
- } from "./chunk-G5NNOOHR.js";
3
+ } from "./chunk-MWQHQJGN.js";
4
4
  import {
5
5
  KeyboundForm
6
6
  } from "./chunk-SITRHMZZ.js";
@@ -7,13 +7,13 @@ import {
7
7
  CategoryHeader,
8
8
  ProductStatusCell,
9
9
  ProductStatusHeader
10
- } from "./chunk-P2BPLLID.js";
10
+ } from "./chunk-PY76AFAH.js";
11
11
  import {
12
12
  ProductCell
13
13
  } from "./chunk-FWPGOIFA.js";
14
14
  import {
15
15
  useProductTableFilters
16
- } from "./chunk-L3ZPCIEM.js";
16
+ } from "./chunk-P7J7IUN6.js";
17
17
  import {
18
18
  PlaceholderCell
19
19
  } from "./chunk-PHOCVOZ5.js";
@@ -106,7 +106,7 @@ var OfferActions = ({ product }) => {
106
106
  actions: [
107
107
  {
108
108
  icon: /* @__PURE__ */ jsx(Trash, {}),
109
- permission: "offer:delete",
109
+ permission: "offers:manage",
110
110
  label: t("actions.delete"),
111
111
  onClick: handleDelete,
112
112
  disabled: product.offerIds.length === 0
@@ -333,7 +333,7 @@ var OfferListTitle = () => {
333
333
  };
334
334
  var OfferListActions = () => {
335
335
  const { t } = useTranslation4();
336
- return /* @__PURE__ */ jsx4(PermissionGuard, { resource: "offer", operation: "create", children: /* @__PURE__ */ jsx4(Button, { size: "small", variant: "secondary", asChild: true, children: /* @__PURE__ */ jsx4(Link, { to: "create", "data-testid": "offer-list-create-button", children: t("offers.actions.create") }) }) });
336
+ return /* @__PURE__ */ jsx4(PermissionGuard, { permission: "offers:edit", children: /* @__PURE__ */ jsx4(Button, { size: "small", variant: "secondary", asChild: true, children: /* @__PURE__ */ jsx4(Link, { to: "create", "data-testid": "offer-list-create-button", children: t("offers.actions.create") }) }) });
337
337
  };
338
338
  var OfferListHeader = () => /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between px-6 py-4", children: [
339
339
  /* @__PURE__ */ jsx4(OfferListTitle, {}),
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  require_dist
3
- } from "./chunk-KWFSBUD6.js";
3
+ } from "./chunk-VPUTUJQG.js";
4
4
  import {
5
5
  useProductTags
6
6
  } from "./chunk-TYSWV3ZA.js";
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-PHOCVOZ5.js";
7
7
  import {
8
8
  require_dist
9
- } from "./chunk-KWFSBUD6.js";
9
+ } from "./chunk-VPUTUJQG.js";
10
10
  import {
11
11
  __toESM
12
12
  } from "./chunk-NBMM2TZK.js";
@@ -18,11 +18,13 @@ var membersQueryKeys = {
18
18
  ...queryKeysFactory(MEMBERS_QUERY_KEY),
19
19
  me: () => [MEMBERS_QUERY_KEY, "me"]
20
20
  };
21
+ var withPermissionsField = (fields) => [typeof fields === "string" ? fields : void 0, "+permissions"].filter(Boolean).join(",");
21
22
  var useMe = (query, options) => {
22
23
  const { data, ...rest } = useQuery({
23
- queryFn: () => sdk.vendor.members.me.query(
24
- query
25
- ),
24
+ queryFn: () => sdk.vendor.members.me.query({
25
+ ...query,
26
+ fields: withPermissionsField(query?.fields)
27
+ }),
26
28
  queryKey: query ? [...membersQueryKeys.me(), query] : membersQueryKeys.me(),
27
29
  ...options
28
30
  });
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  LocalizedTablePagination,
3
3
  TaxRegionCard
4
- } from "./chunk-R53PVMSJ.js";
4
+ } from "./chunk-DSZ4KA7O.js";
5
5
  import {
6
6
  DataTableOrderBy
7
7
  } from "./chunk-KCHYLLVG.js";