@mercurjs/vendor 2.1.2 → 2.2.0-canary.1

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 (230) hide show
  1. package/dist/{[id]-PDGHF5J2.js → [id]-2DQX3YWJ.js} +35 -31
  2. package/dist/{[id]-TO6KT3ZE.js → [id]-4OBGG7OH.js} +23 -21
  3. package/dist/{[id]-X4DDKOMQ.js → [id]-4PKMKNJH.js} +26 -22
  4. package/dist/[id]-4STHLE4N.js +1442 -0
  5. package/dist/{[id]-4VCL3MMM.js → [id]-5UFO4RKF.js} +26 -22
  6. package/dist/{[id]-H3C3ZSC6.js → [id]-6MXCVV5J.js} +25 -21
  7. package/dist/{[id]-6PXEWRG7.js → [id]-7BAKUHUO.js} +13 -13
  8. package/dist/{[id]-7RUAH3TI.js → [id]-K2CT7BXQ.js} +4 -4
  9. package/dist/{[id]-3G5G7ZFV.js → [id]-KJIQTFGE.js} +22 -20
  10. package/dist/{[id]-INOFZHL7.js → [id]-LTNOHLGE.js} +16 -16
  11. package/dist/{[id]-B3LHVQM5.js → [id]-PGIT5WJC.js} +25 -21
  12. package/dist/{[id]-T2ROPEGY.js → [id]-Y2ISCLUD.js} +7 -7
  13. package/dist/{[id]-Y7GAMNC5.js → [id]-ZCMSBEVM.js} +4 -4
  14. package/dist/{[id]-UTKO3VG4.js → [id]-ZWWMJAKI.js} +9 -9
  15. package/dist/{[location_id]-D55RQOXT.js → [location_id]-NUBXDDJC.js} +9 -9
  16. package/dist/{[province_id]-OFH2ZOFQ.js → [province_id]-H2QAPKVH.js} +20 -18
  17. package/dist/{add-C6OX5C54.js → add-GZJ7OMV3.js} +34 -30
  18. package/dist/add-KQAABWCR.js +392 -0
  19. package/dist/{add-customer-groups-PJRJUWS2.js → add-customer-groups-RAHCP67U.js} +16 -14
  20. package/dist/{add-products-INOLNPO6.js → add-products-TSVQHC67.js} +23 -19
  21. package/dist/{add-promotions-AHDOP52Q.js → add-promotions-CSCAJZHV.js} +7 -7
  22. package/dist/{add-to-campaign-HL6NGRR4.js → add-to-campaign-DLP7PSQB.js} +4 -4
  23. package/dist/{address-KRENKSLP.js → address-7F5SN7PV.js} +17 -15
  24. package/dist/{adjust-inventory-H4EUP7J3.js → adjust-inventory-SZF4W7LR.js} +2 -2
  25. package/dist/{allocate-items-SUCUZU4D.js → allocate-items-SDFS5GYN.js} +6 -6
  26. package/dist/{areas-UUMZDXLX.js → areas-7Y6BVS5A.js} +8 -8
  27. package/dist/{attributes-CALEHJJG.js → attributes-MBZ76HVZ.js} +3 -3
  28. package/dist/{breadcrumb-BS7Y5OKF.js → breadcrumb-65SAGUUL.js} +2 -2
  29. package/dist/{breadcrumb-6W2VP3OZ.js → breadcrumb-7PURSRTT.js} +13 -11
  30. package/dist/{breadcrumb-M5Z5WA6I.js → breadcrumb-EDPMEN2P.js} +2 -2
  31. package/dist/breadcrumb-FLDHJRVY.js +26 -0
  32. package/dist/{breadcrumb-VNNZ3TTW.js → breadcrumb-HND5FFWC.js} +2 -2
  33. package/dist/{breadcrumb-OIGGCB3L.js → breadcrumb-QV2IAX7N.js} +8 -2
  34. package/dist/{breadcrumb-KQSFIXQ4.js → breadcrumb-VWELWDB2.js} +1 -1
  35. package/dist/{breadcrumb-IG7VZGW2.js → breadcrumb-WRG4SITG.js} +13 -11
  36. package/dist/{breadcrumb-TW5JEOYS.js → breadcrumb-ZCG2RHIU.js} +12 -10
  37. package/dist/{campaigns-HS6MIO7X.js → campaigns-L6ULR6KR.js} +5 -5
  38. package/dist/{categories-PKWR3FM3.js → categories-FUZQKBXV.js} +6 -6
  39. package/dist/{chunk-PDQSPKG5.js → chunk-2DXNJURE.js} +1 -1
  40. package/dist/{chunk-ZZO3INVE.js → chunk-2MDGYHWN.js} +128 -25
  41. package/dist/{chunk-5UD4P6YL.js → chunk-2USXZSTK.js} +4 -4
  42. package/dist/{chunk-6SBMVLJ2.js → chunk-36L54SQQ.js} +1 -1
  43. package/dist/chunk-37G4Y5I7.js +101 -0
  44. package/dist/{chunk-5M3SL4UZ.js → chunk-3CVJA5UE.js} +9 -104
  45. package/dist/chunk-432S4FGR.js +0 -0
  46. package/dist/{chunk-KQGVSLUI.js → chunk-44RQ5PTN.js} +1803 -914
  47. package/dist/{chunk-Y2QI7KWS.js → chunk-4LVP635F.js} +408 -664
  48. package/dist/{chunk-UL4O5M4S.js → chunk-4S6XGIC6.js} +1 -18
  49. package/dist/chunk-5ZVWOCAC.js +426 -0
  50. package/dist/{chunk-WITQNQXN.js → chunk-6BS2AVGJ.js} +3 -3
  51. package/dist/{chunk-ZYOXKUKZ.js → chunk-7LBY5JLV.js} +1 -1
  52. package/dist/chunk-7SLWXX6L.js +811 -0
  53. package/dist/{chunk-LQYMBSRQ.js → chunk-AIZM66CG.js} +1 -1
  54. package/dist/{chunk-IZ5RG5XI.js → chunk-AJLGY3LQ.js} +1 -21
  55. package/dist/{chunk-WFE6CT6M.js → chunk-AVOIZO63.js} +21 -77
  56. package/dist/chunk-C2FG3SX2.js +68 -0
  57. package/dist/chunk-CFRWIQIZ.js +43 -0
  58. package/dist/{chunk-WNVEMFIK.js → chunk-CNMY5HVP.js} +2 -2
  59. package/dist/{chunk-BLVJAKBA.js → chunk-DDH7ULIQ.js} +1 -1
  60. package/dist/chunk-DIW4GRTI.js +503 -0
  61. package/dist/{chunk-JQP7MOFH.js → chunk-DVEKYLPV.js} +1 -1
  62. package/dist/{chunk-QX45GVAL.js → chunk-EIUYXS7E.js} +8 -8
  63. package/dist/{chunk-N7OVXN72.js → chunk-EROX26D4.js} +1 -1
  64. package/dist/{chunk-2RHAI7WK.js → chunk-EZ3JOAUS.js} +1 -1
  65. package/dist/{chunk-HFRHHT36.js → chunk-FDR22JMM.js} +63 -8
  66. package/dist/{chunk-PEKANQ3T.js → chunk-FJUUGFXL.js} +2 -2
  67. package/dist/{chunk-3CK6OINO.js → chunk-GDWBOQI5.js} +3 -5
  68. package/dist/{chunk-47SXTGLN.js → chunk-GXIAIITP.js} +63 -200
  69. package/dist/{chunk-4MFMCZEJ.js → chunk-H6LZ77GX.js} +2 -2
  70. package/dist/chunk-IWLDKGYQ.js +95 -0
  71. package/dist/chunk-K4X324QP.js +18 -0
  72. package/dist/{chunk-VQ5EKDA3.js → chunk-KD7RYE6R.js} +1 -1
  73. package/dist/chunk-LEWA4BPH.js +18 -0
  74. package/dist/{chunk-7Q5SDEK7.js → chunk-LNM2D2I4.js} +4 -4
  75. package/dist/{chunk-LPOAVK6Y.js → chunk-LQD232FW.js} +47 -12
  76. package/dist/{chunk-OXXL4WQU.js → chunk-M7KSRYRI.js} +5 -5
  77. package/dist/chunk-MBFHMJHN.js +2063 -0
  78. package/dist/{chunk-I2IKYOZX.js → chunk-N4MVIBFM.js} +19 -19
  79. package/dist/{chunk-PCMNEUMV.js → chunk-NHFEY3EI.js} +1 -1
  80. package/dist/{chunk-RTAWYMQP.js → chunk-NJMNYS7G.js} +1 -1
  81. package/dist/{chunk-HGQTL7NX.js → chunk-NSZQERLE.js} +2 -2
  82. package/dist/{chunk-RL7SFZOF.js → chunk-NXNJQZCP.js} +1 -1
  83. package/dist/{chunk-CNLP35S7.js → chunk-OD3U3TX4.js} +16 -31
  84. package/dist/{chunk-D2MA5TAP.js → chunk-PBD36EZJ.js} +2 -2
  85. package/dist/{chunk-4ZGFODSC.js → chunk-PZ44R4AS.js} +1 -1
  86. package/dist/{chunk-ZEVYT6IX.js → chunk-QNNJN4H6.js} +116 -286
  87. package/dist/{chunk-WBI7FEGI.js → chunk-QS6RWIBL.js} +1 -1
  88. package/dist/chunk-QT7YFHCA.js +198 -0
  89. package/dist/{chunk-GYV6SKY7.js → chunk-QXLRABYH.js} +4 -6
  90. package/dist/chunk-RXZFEFNV.js +73 -0
  91. package/dist/{chunk-RUE5BPC2.js → chunk-RZLN2Q6G.js} +1 -1
  92. package/dist/{chunk-NYDJTWRL.js → chunk-SGR4DMCW.js} +4 -4
  93. package/dist/chunk-T6LHVNWO.js +27 -0
  94. package/dist/{chunk-DKQ4XMSN.js → chunk-TNVYTMBL.js} +6 -6
  95. package/dist/{chunk-32RYSB2V.js → chunk-TODJFRLH.js} +2 -2
  96. package/dist/{chunk-P3ZTO6T2.js → chunk-UAF2S447.js} +1 -1
  97. package/dist/{chunk-J6BRLL3F.js → chunk-UCQKXXLD.js} +2 -2
  98. package/dist/chunk-UORPTGV2.js +114 -0
  99. package/dist/{chunk-CYTNBXWF.js → chunk-UX7J5NZG.js} +9 -9
  100. package/dist/{chunk-X4FLOQ45.js → chunk-WBHFU3MG.js} +2 -2
  101. package/dist/chunk-WLT7K7K7.js +63 -0
  102. package/dist/{chunk-4URLUCTD.js → chunk-WUPJADSO.js} +2 -2
  103. package/dist/{chunk-ITI54CII.js → chunk-X4INVIWL.js} +5 -5
  104. package/dist/{chunk-PTW7JNAP.js → chunk-XFQJU6FA.js} +4 -4
  105. package/dist/{collections-DJZI2RM2.js → collections-3OPR3DSD.js} +22 -19
  106. package/dist/{configuration-RHPIO2QT.js → configuration-C4IGBNXH.js} +1 -1
  107. package/dist/{configuration-GN3TO77H.js → configuration-UOSNP45I.js} +3 -3
  108. package/dist/{create-3EK5CNNX.js → create-2MQFQHTE.js} +33 -29
  109. package/dist/{create-YO55Z3YD.js → create-2PCLG7TV.js} +32 -38
  110. package/dist/{create-G4T2PAJH.js → create-35MYQPVM.js} +23 -21
  111. package/dist/{create-HKJVSFB7.js → create-BJ4OO6LS.js} +23 -21
  112. package/dist/create-DDPIXCXT.js +210 -0
  113. package/dist/{create-7S7CZWEN.js → create-GB3ZA4LH.js} +4 -4
  114. package/dist/create-JDGM5KXE.js +193 -0
  115. package/dist/{create-IDVCZHIX.js → create-ORXYT74H.js} +14 -12
  116. package/dist/{create-GHM7OTCR.js → create-R7K3ECN6.js} +1 -1
  117. package/dist/{create-D6EW3EWC.js → create-SFU3W3ZH.js} +1 -1
  118. package/dist/{create-3ZVXEPX5.js → create-SQ3FYMGI.js} +25 -21
  119. package/dist/{create-33TRLASX.js → create-UPYB65PD.js} +1 -1
  120. package/dist/{create-OCFPLNNY.js → create-UQNYMVBM.js} +6 -6
  121. package/dist/{create-OGLPDVOI.js → create-XAD5NMSJ.js} +37 -35
  122. package/dist/{create-KGYL7FBM.js → create-XVHOCZHJ.js} +1 -1
  123. package/dist/{create-4AE3VTWN.js → create-YBF4YGWG.js} +2 -2
  124. package/dist/{customers-6ZLE65UX.js → customers-ETXVNM3G.js} +5 -5
  125. package/dist/{edit-QBISX7D3.js → edit-2Q7TRUTL.js} +14 -12
  126. package/dist/{edit-B5B3XKDM.js → edit-522DG3BY.js} +1 -1
  127. package/dist/{edit-ATXE6CM5.js → edit-C4OCKQVU.js} +1 -1
  128. package/dist/{edit-IR6V2IDN.js → edit-FKXIQ6ZI.js} +19 -17
  129. package/dist/{edit-4HZHLYI3.js → edit-GQNIINRR.js} +1 -1
  130. package/dist/{edit-LRRJTHV2.js → edit-KAKVPHZZ.js} +1 -1
  131. package/dist/{edit-ZSOI56BQ.js → edit-L5ZZLMAY.js} +22 -22
  132. package/dist/{edit-FNDDSSMT.js → edit-NYD45J2Q.js} +37 -8
  133. package/dist/{edit-GIJXLMC3.js → edit-O4JLGKQR.js} +2 -2
  134. package/dist/{edit-5CJZRHAA.js → edit-ORXS3A2Y.js} +1 -1
  135. package/dist/{edit-FC64DWB2.js → edit-Q3UQIOLS.js} +1 -1
  136. package/dist/{edit-7HTH2UJF.js → edit-REDDBLTA.js} +3 -3
  137. package/dist/{edit-2KRJIPRK.js → edit-SGUY2CCK.js} +19 -17
  138. package/dist/{edit-B75KK5ZX.js → edit-SWRWWFW6.js} +35 -31
  139. package/dist/{edit-7GVP6SRA.js → edit-ZAHCMF5U.js} +1 -1
  140. package/dist/{edit-RNT555GP.js → edit-ZCXUG42Q.js} +13 -11
  141. package/dist/{edit-MYSWY6W4.js → edit-ZMERG3L7.js} +1 -1
  142. package/dist/{edit-budget-J27CSEZH.js → edit-budget-L3CCEWNF.js} +1 -1
  143. package/dist/{edit-inventory-item-US77M2FF.js → edit-inventory-item-6B7ITDGD.js} +2 -2
  144. package/dist/{edit-inventory-item-attributes-UGAE2NAZ.js → edit-inventory-item-attributes-Y7MQZLXI.js} +3 -3
  145. package/dist/{fulfillment-DCS67LTK.js → fulfillment-75Z4H23W.js} +16 -14
  146. package/dist/{fulfillment-providers-GM5PO6N3.js → fulfillment-providers-KCQWL62T.js} +20 -17
  147. package/dist/index.css +27 -62
  148. package/dist/index.d.ts +3 -10
  149. package/dist/index.js +522 -458
  150. package/dist/{inventory-OPZ2FSEE.js → inventory-KAUVPMPZ.js} +6 -6
  151. package/dist/{invite-764K3TJS.js → invite-6CPYVHDX.js} +24 -21
  152. package/dist/{invite-KEJLNXEZ.js → invite-CI2P4GF6.js} +15 -12
  153. package/dist/loader-FBB5OQRT.js +31 -0
  154. package/dist/{locations-ZVPTQCQY.js → locations-INS6FTMJ.js} +4 -4
  155. package/dist/{login-OUHRNNXA.js → login-KY342RMK.js} +12 -10
  156. package/dist/{manage-locations-YUKEFCBJ.js → manage-locations-WNHEBS3A.js} +2 -2
  157. package/dist/{media-4KYFHB5V.js → media-KOYAOXG6.js} +41 -9
  158. package/dist/{metadata-NYYL26MQ.js → metadata-2CMH4I6U.js} +16 -14
  159. package/dist/{metadata-AWUKZ25V.js → metadata-5BPOBBU2.js} +3 -3
  160. package/dist/{metadata-OCE6A3JE.js → metadata-GWI6R4ES.js} +15 -13
  161. package/dist/{metadata-G7KZXVNE.js → metadata-NUXUC2JA.js} +15 -13
  162. package/dist/{metadata-XP3ZYW2M.js → metadata-TLDUF5KV.js} +17 -15
  163. package/dist/{metadata-PYY4IB7K.js → metadata-WR4RFXO5.js} +16 -14
  164. package/dist/offer-create-page-YKMHHTU5.js +743 -0
  165. package/dist/offer-detail-page-6MAHNNIO.js +488 -0
  166. package/dist/offer-edit-page-DYQFU6JU.js +151 -0
  167. package/dist/offer-inventory-batch-page-WKCWNDNK.js +290 -0
  168. package/dist/offer-pricing-edit-page-4TYGGSOE.js +195 -0
  169. package/dist/offers-UGQJNGTD.js +32 -0
  170. package/dist/{onboarding-WXZHW62K.js → onboarding-43LQQQGQ.js} +22 -20
  171. package/dist/{orders-LWJ472VM.js → orders-R2LOJ6N5.js} +24 -21
  172. package/dist/organization-XGFU4YDG.js +375 -0
  173. package/dist/{organize-RFOMQCBG.js → organize-HNJUHEEG.js} +4 -4
  174. package/dist/{organize-OVKJ3HZO.js → organize-K6QMAMEN.js} +4 -4
  175. package/dist/pages/index.d.ts +415 -758
  176. package/dist/pages/index.js +81 -77
  177. package/dist/{payment-details-UVXYCTUK.js → payment-details-64US5XWD.js} +17 -15
  178. package/dist/{payouts-TR7K5I37.js → payouts-UXJDTXDL.js} +6 -6
  179. package/dist/{price-lists-S2WNELFZ.js → price-lists-KBPUVSZI.js} +8 -8
  180. package/dist/{pricing-UF27DAXA.js → pricing-DF6C5XK4.js} +35 -32
  181. package/dist/{product-tags-2CKH2M6D.js → product-tags-CL7HSEDI.js} +32 -28
  182. package/dist/{product-types-FX43JEO2.js → product-types-UUHBV4IZ.js} +5 -5
  183. package/dist/product-variant-detail-RVWEYVPC.js +220 -0
  184. package/dist/{product-variant-edit-P3DSIFE3.js → product-variant-edit-MNCS7ZYW.js} +126 -66
  185. package/dist/{products-H5EMRJYS.js → products-4KV5Y2JY.js} +23 -19
  186. package/dist/{products-2LHGS7X3.js → products-SXYTQFJ3.js} +40 -43
  187. package/dist/{professional-details-HYKTH44B.js → professional-details-5T2VS6MM.js} +16 -14
  188. package/dist/{profile-PB27WIRW.js → profile-6XGHAT7H.js} +20 -18
  189. package/dist/{promotions-5EYPGHJP.js → promotions-O7U4BTK6.js} +8 -8
  190. package/dist/{register-4O4F6YZK.js → register-GDKN3SKM.js} +16 -14
  191. package/dist/{reset-password-GTWLBOFK.js → reset-password-EICPAY2N.js} +1 -1
  192. package/dist/{return-reasons-LOKYRGMI.js → return-reasons-M6IR77XW.js} +16 -14
  193. package/dist/{sales-channels-7R2IY3KG.js → sales-channels-B6FULRWI.js} +8 -7
  194. package/dist/{sales-channels-Y4LRP7JC.js → sales-channels-JW3QUYR7.js} +8 -7
  195. package/dist/{settings-2XDLFYMS.js → settings-SAAHTUZZ.js} +39 -35
  196. package/dist/{shipment-4GW2JFWB.js → shipment-Q33QBMXX.js} +13 -11
  197. package/dist/{shipping-profile-R3NABPQF.js → shipping-profile-Y4SNEPZX.js} +2 -2
  198. package/dist/{shipping-profiles-QVKNFLCW.js → shipping-profiles-2NWKCEJK.js} +18 -16
  199. package/dist/{stock-5RXNUPUT.js → stock-7CSVEJJU.js} +19 -17
  200. package/dist/{store-DE2RGX7T.js → store-GHFWU7EV.js} +28 -25
  201. package/dist/{store-closure-DNMCHUXD.js → store-closure-P5PD2RSV.js} +16 -14
  202. package/dist/{store-select-GZEJHRZ7.js → store-select-KDT6USQA.js} +17 -15
  203. package/dist/{tax-regions-UD6P5FVC.js → tax-regions-YXZW7UVX.js} +5 -5
  204. package/dist/{team-JXKAVRPU.js → team-EDJ62747.js} +25 -23
  205. package/dist/types-CtCEtTE6.d.ts +16 -0
  206. package/package.json +3 -3
  207. package/dist/[id]-BYP37PU4.js +0 -1314
  208. package/dist/add-KRAGFFBJ.js +0 -158
  209. package/dist/bulk-edit-3SMBLIOA.js +0 -244
  210. package/dist/chunk-4KX6CBJ4.js +0 -178
  211. package/dist/chunk-DLNNTQRY.js +0 -217
  212. package/dist/chunk-FX4V5JCF.js +0 -37
  213. package/dist/chunk-GC33DBKG.js +0 -143
  214. package/dist/chunk-NK4NR6MN.js +0 -173
  215. package/dist/chunk-PFU6FSXY.js +0 -430
  216. package/dist/chunk-QJEOPT2P.js +0 -330
  217. package/dist/chunk-QSGR43JM.js +0 -30
  218. package/dist/chunk-STR3NGWE.js +0 -3736
  219. package/dist/create-3DOO3RNH.js +0 -716
  220. package/dist/create-I7HV3RM6.js +0 -150
  221. package/dist/edit-K2AD335I.js +0 -237
  222. package/dist/edit-VO5XLIEL.js +0 -362
  223. package/dist/edit-stocks-and-prices-MHHQFWFA.js +0 -408
  224. package/dist/organization-LPYQRTQC.js +0 -303
  225. package/dist/prices-3OXV5RGY.js +0 -270
  226. package/dist/product-variant-detail-WV4KXVXR.js +0 -590
  227. package/dist/stock-GPC3BCL6.js +0 -500
  228. package/dist/{chunk-SDSEW72R.js → chunk-E2HQPY32.js} +3 -3
  229. package/dist/{chunk-6WY5X4PE.js → chunk-L7QKFC5N.js} +7 -7
  230. /package/dist/{chunk-CAS74NLJ.js → chunk-YV6MK4PZ.js} +0 -0
@@ -9166,6 +9166,22 @@ var require_promotion4 = __commonJS({
9166
9166
  }
9167
9167
  });
9168
9168
 
9169
+ // ../types/dist/http/product-attribute.js
9170
+ var require_product_attribute = __commonJS({
9171
+ "../types/dist/http/product-attribute.js"(exports) {
9172
+ "use strict";
9173
+ Object.defineProperty(exports, "__esModule", { value: true });
9174
+ }
9175
+ });
9176
+
9177
+ // ../types/dist/http/product-brand.js
9178
+ var require_product_brand = __commonJS({
9179
+ "../types/dist/http/product-brand.js"(exports) {
9180
+ "use strict";
9181
+ Object.defineProperty(exports, "__esModule", { value: true });
9182
+ }
9183
+ });
9184
+
9169
9185
  // ../types/dist/http/product-category.js
9170
9186
  var require_product_category4 = __commonJS({
9171
9187
  "../types/dist/http/product-category.js"(exports) {
@@ -9262,6 +9278,14 @@ var require_payout = __commonJS({
9262
9278
  }
9263
9279
  });
9264
9280
 
9281
+ // ../types/dist/http/offer.js
9282
+ var require_offer = __commonJS({
9283
+ "../types/dist/http/offer.js"(exports) {
9284
+ "use strict";
9285
+ Object.defineProperty(exports, "__esModule", { value: true });
9286
+ }
9287
+ });
9288
+
9265
9289
  // ../types/dist/http/commission.js
9266
9290
  var require_commission2 = __commonJS({
9267
9291
  "../types/dist/http/commission.js"(exports) {
@@ -9319,6 +9343,8 @@ var require_http3 = __commonJS({
9319
9343
  __exportStar(require_price_preference2(), exports);
9320
9344
  __exportStar(require_product4(), exports);
9321
9345
  __exportStar(require_promotion4(), exports);
9346
+ __exportStar(require_product_attribute(), exports);
9347
+ __exportStar(require_product_brand(), exports);
9322
9348
  __exportStar(require_product_category4(), exports);
9323
9349
  __exportStar(require_product_tag2(), exports);
9324
9350
  __exportStar(require_product_type2(), exports);
@@ -9331,6 +9357,7 @@ var require_http3 = __commonJS({
9331
9357
  __exportStar(require_shipping_profile4(), exports);
9332
9358
  __exportStar(require_stock_location2(), exports);
9333
9359
  __exportStar(require_payout(), exports);
9360
+ __exportStar(require_offer(), exports);
9334
9361
  __exportStar(require_commission2(), exports);
9335
9362
  __exportStar(require_subscription(), exports);
9336
9363
  }
@@ -9458,39 +9485,25 @@ var require_payout2 = __commonJS({
9458
9485
  }
9459
9486
  });
9460
9487
 
9461
- // ../types/dist/attribute/common.js
9488
+ // ../types/dist/offer/common.js
9462
9489
  var require_common41 = __commonJS({
9463
- "../types/dist/attribute/common.js"(exports) {
9490
+ "../types/dist/offer/common.js"(exports) {
9464
9491
  "use strict";
9465
9492
  Object.defineProperty(exports, "__esModule", { value: true });
9466
- exports.AttributeSource = exports.AttributeUIComponent = void 0;
9467
- var AttributeUIComponent;
9468
- (function(AttributeUIComponent2) {
9469
- AttributeUIComponent2["SELECT"] = "select";
9470
- AttributeUIComponent2["MULTIVALUE"] = "multivalue";
9471
- AttributeUIComponent2["UNIT"] = "unit";
9472
- AttributeUIComponent2["TOGGLE"] = "toggle";
9473
- AttributeUIComponent2["TEXTAREA"] = "text_area";
9474
- AttributeUIComponent2["COLOR_PICKER"] = "color_picker";
9475
- })(AttributeUIComponent || (exports.AttributeUIComponent = AttributeUIComponent = {}));
9476
- exports.AttributeSource = {
9477
- ADMIN: "admin",
9478
- VENDOR: "vendor"
9479
- };
9480
9493
  }
9481
9494
  });
9482
9495
 
9483
- // ../types/dist/attribute/mutations.js
9496
+ // ../types/dist/offer/mutations.js
9484
9497
  var require_mutations25 = __commonJS({
9485
- "../types/dist/attribute/mutations.js"(exports) {
9498
+ "../types/dist/offer/mutations.js"(exports) {
9486
9499
  "use strict";
9487
9500
  Object.defineProperty(exports, "__esModule", { value: true });
9488
9501
  }
9489
9502
  });
9490
9503
 
9491
- // ../types/dist/attribute/index.js
9492
- var require_attribute = __commonJS({
9493
- "../types/dist/attribute/index.js"(exports) {
9504
+ // ../types/dist/offer/index.js
9505
+ var require_offer2 = __commonJS({
9506
+ "../types/dist/offer/index.js"(exports) {
9494
9507
  "use strict";
9495
9508
  var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
9496
9509
  if (k2 === void 0) k2 = k;
@@ -9514,6 +9527,83 @@ var require_attribute = __commonJS({
9514
9527
  }
9515
9528
  });
9516
9529
 
9530
+ // ../types/dist/product/common.js
9531
+ var require_common42 = __commonJS({
9532
+ "../types/dist/product/common.js"(exports) {
9533
+ "use strict";
9534
+ Object.defineProperty(exports, "__esModule", { value: true });
9535
+ exports.ProductChangeActionType = exports.ProductChangeStatus = exports.AttributeType = exports.ProductStatus = void 0;
9536
+ var ProductStatus;
9537
+ (function(ProductStatus2) {
9538
+ ProductStatus2["DRAFT"] = "draft";
9539
+ ProductStatus2["PROPOSED"] = "proposed";
9540
+ ProductStatus2["PUBLISHED"] = "published";
9541
+ ProductStatus2["REQUIRES_ACTION"] = "requires_action";
9542
+ ProductStatus2["REJECTED"] = "rejected";
9543
+ })(ProductStatus || (exports.ProductStatus = ProductStatus = {}));
9544
+ var AttributeType;
9545
+ (function(AttributeType2) {
9546
+ AttributeType2["SINGLE_SELECT"] = "single_select";
9547
+ AttributeType2["MULTI_SELECT"] = "multi_select";
9548
+ AttributeType2["UNIT"] = "unit";
9549
+ AttributeType2["TOGGLE"] = "toggle";
9550
+ AttributeType2["TEXT"] = "text";
9551
+ })(AttributeType || (exports.AttributeType = AttributeType = {}));
9552
+ var ProductChangeStatus;
9553
+ (function(ProductChangeStatus2) {
9554
+ ProductChangeStatus2["PENDING"] = "pending";
9555
+ ProductChangeStatus2["CONFIRMED"] = "confirmed";
9556
+ ProductChangeStatus2["DECLINED"] = "declined";
9557
+ ProductChangeStatus2["CANCELED"] = "canceled";
9558
+ })(ProductChangeStatus || (exports.ProductChangeStatus = ProductChangeStatus = {}));
9559
+ var ProductChangeActionType;
9560
+ (function(ProductChangeActionType2) {
9561
+ ProductChangeActionType2["STATUS_CHANGE"] = "STATUS_CHANGE";
9562
+ ProductChangeActionType2["UPDATE"] = "UPDATE";
9563
+ ProductChangeActionType2["VARIANT_ADD"] = "VARIANT_ADD";
9564
+ ProductChangeActionType2["VARIANT_UPDATE"] = "VARIANT_UPDATE";
9565
+ ProductChangeActionType2["VARIANT_REMOVE"] = "VARIANT_REMOVE";
9566
+ ProductChangeActionType2["ATTRIBUTE_ADD"] = "ATTRIBUTE_ADD";
9567
+ ProductChangeActionType2["ATTRIBUTE_REMOVE"] = "ATTRIBUTE_REMOVE";
9568
+ ProductChangeActionType2["PRODUCT_DELETE"] = "PRODUCT_DELETE";
9569
+ })(ProductChangeActionType || (exports.ProductChangeActionType = ProductChangeActionType = {}));
9570
+ }
9571
+ });
9572
+
9573
+ // ../types/dist/product/mutations.js
9574
+ var require_mutations26 = __commonJS({
9575
+ "../types/dist/product/mutations.js"(exports) {
9576
+ "use strict";
9577
+ Object.defineProperty(exports, "__esModule", { value: true });
9578
+ }
9579
+ });
9580
+
9581
+ // ../types/dist/product/index.js
9582
+ var require_product5 = __commonJS({
9583
+ "../types/dist/product/index.js"(exports) {
9584
+ "use strict";
9585
+ var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
9586
+ if (k2 === void 0) k2 = k;
9587
+ var desc = Object.getOwnPropertyDescriptor(m, k);
9588
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9589
+ desc = { enumerable: true, get: function() {
9590
+ return m[k];
9591
+ } };
9592
+ }
9593
+ Object.defineProperty(o, k2, desc);
9594
+ }) : (function(o, m, k, k2) {
9595
+ if (k2 === void 0) k2 = k;
9596
+ o[k2] = m[k];
9597
+ }));
9598
+ var __exportStar = exports && exports.__exportStar || function(m, exports2) {
9599
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p)) __createBinding(exports2, m, p);
9600
+ };
9601
+ Object.defineProperty(exports, "__esModule", { value: true });
9602
+ __exportStar(require_common42(), exports);
9603
+ __exportStar(require_mutations26(), exports);
9604
+ }
9605
+ });
9606
+
9517
9607
  // ../types/dist/modules.js
9518
9608
  var require_modules = __commonJS({
9519
9609
  "../types/dist/modules.js"(exports) {
@@ -9526,12 +9616,11 @@ var require_modules = __commonJS({
9526
9616
  MercurModules2["SUBSCRIPTION"] = "subscription";
9527
9617
  MercurModules2["COMMISSION"] = "commission";
9528
9618
  MercurModules2["PAYOUT"] = "payout";
9619
+ MercurModules2["OFFER"] = "offer";
9529
9620
  MercurModules2["CUSTOM_FIELDS"] = "custom_fields";
9530
9621
  MercurModules2["VENDOR_UI"] = "vendor_ui";
9531
9622
  MercurModules2["ADMIN_UI"] = "admin_ui";
9532
9623
  MercurModules2["CODEGEN"] = "codegen";
9533
- MercurModules2["ATTRIBUTE"] = "attribute";
9534
- MercurModules2["VENDOR_PRODUCT_ATTRIBUTE"] = "vendor_product_attribute";
9535
9624
  })(MercurModules || (exports.MercurModules = MercurModules = {}));
9536
9625
  }
9537
9626
  });
@@ -9561,6 +9650,7 @@ var require_feature_flags = __commonJS({
9561
9650
  var MercurFeatureFlags;
9562
9651
  (function(MercurFeatureFlags2) {
9563
9652
  MercurFeatureFlags2["SELLER_REGISTRATION"] = "seller_registration";
9653
+ MercurFeatureFlags2["PRODUCT_REQUEST"] = "product_request";
9564
9654
  })(MercurFeatureFlags || (exports.MercurFeatureFlags = MercurFeatureFlags = {}));
9565
9655
  }
9566
9656
  });
@@ -9610,7 +9700,7 @@ var require_dist2 = __commonJS({
9610
9700
  };
9611
9701
  })();
9612
9702
  Object.defineProperty(exports, "__esModule", { value: true });
9613
- exports.HttpTypes = void 0;
9703
+ exports.ProductChangeActionType = exports.ProductChangeStatus = exports.AttributeType = exports.ProductStatus = exports.HttpTypes = void 0;
9614
9704
  __exportStar(require_dist(), exports);
9615
9705
  __exportStar(require_seller(), exports);
9616
9706
  __exportStar(require_order_group(), exports);
@@ -9618,7 +9708,20 @@ var require_dist2 = __commonJS({
9618
9708
  exports.HttpTypes = __importStar(require_http3());
9619
9709
  __exportStar(require_subscription2(), exports);
9620
9710
  __exportStar(require_payout2(), exports);
9621
- __exportStar(require_attribute(), exports);
9711
+ __exportStar(require_offer2(), exports);
9712
+ var product_1 = require_product5();
9713
+ Object.defineProperty(exports, "ProductStatus", { enumerable: true, get: function() {
9714
+ return product_1.ProductStatus;
9715
+ } });
9716
+ Object.defineProperty(exports, "AttributeType", { enumerable: true, get: function() {
9717
+ return product_1.AttributeType;
9718
+ } });
9719
+ Object.defineProperty(exports, "ProductChangeStatus", { enumerable: true, get: function() {
9720
+ return product_1.ProductChangeStatus;
9721
+ } });
9722
+ Object.defineProperty(exports, "ProductChangeActionType", { enumerable: true, get: function() {
9723
+ return product_1.ProductChangeActionType;
9724
+ } });
9622
9725
  __exportStar(require_modules(), exports);
9623
9726
  __exportStar(require_custom_fields(), exports);
9624
9727
  __exportStar(require_dashboard(), exports);
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  LinkButton
3
3
  } from "./chunk-7AV5EJJ5.js";
4
- import {
5
- SidebarLink
6
- } from "./chunk-4GPAS5GW.js";
7
4
  import {
8
5
  getFormattedAddress
9
6
  } from "./chunk-W6Y3PPU5.js";
7
+ import {
8
+ SidebarLink
9
+ } from "./chunk-4GPAS5GW.js";
10
10
  import {
11
11
  TwoColumnPage
12
- } from "./chunk-CAS74NLJ.js";
12
+ } from "./chunk-YV6MK4PZ.js";
13
13
  import {
14
14
  stockLocationsQueryKeys,
15
15
  useDeleteStockLocation,
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-AIF2KTEE.js";
5
5
  import {
6
6
  SingleColumnPage
7
- } from "./chunk-CAS74NLJ.js";
7
+ } from "./chunk-YV6MK4PZ.js";
8
8
  import {
9
9
  useQueryParams
10
10
  } from "./chunk-THHRRYRS.js";
@@ -0,0 +1,101 @@
1
+ import {
2
+ Combobox
3
+ } from "./chunk-VBRTC2VU.js";
4
+ import {
5
+ require_dist
6
+ } from "./chunk-2MDGYHWN.js";
7
+ import {
8
+ __toESM
9
+ } from "./chunk-NBMM2TZK.js";
10
+
11
+ // src/components/inputs/attribute-value-input/attribute-value-input.tsx
12
+ var import_types = __toESM(require_dist(), 1);
13
+ import { Input, Select, Textarea } from "@medusajs/ui";
14
+ import { useTranslation } from "react-i18next";
15
+ import { jsx, jsxs } from "react/jsx-runtime";
16
+ var AttributeValueInput = ({
17
+ type,
18
+ value,
19
+ onChange,
20
+ availableValues = [],
21
+ placeholder
22
+ }) => {
23
+ const { t } = useTranslation();
24
+ const ph = placeholder ?? t("products.create.attributes.valuePlaceholder");
25
+ switch (type) {
26
+ case import_types.AttributeType.MULTI_SELECT:
27
+ return /* @__PURE__ */ jsx(
28
+ Combobox,
29
+ {
30
+ value: Array.isArray(value) ? value : [],
31
+ onChange: (val) => onChange(val ?? []),
32
+ options: availableValues.map((v) => ({
33
+ value: v.name,
34
+ label: v.name
35
+ })),
36
+ placeholder: t("products.create.attributes.selectValues")
37
+ }
38
+ );
39
+ case import_types.AttributeType.SINGLE_SELECT:
40
+ return /* @__PURE__ */ jsxs(
41
+ Select,
42
+ {
43
+ value: typeof value === "string" ? value : value?.[0] ?? "",
44
+ onValueChange: onChange,
45
+ children: [
46
+ /* @__PURE__ */ jsx(Select.Trigger, { children: /* @__PURE__ */ jsx(
47
+ Select.Value,
48
+ {
49
+ placeholder: t("products.create.attributes.selectValues")
50
+ }
51
+ ) }),
52
+ /* @__PURE__ */ jsx(Select.Content, { children: availableValues.map((v) => /* @__PURE__ */ jsx(Select.Item, { value: v.name, children: v.name }, v.id)) })
53
+ ]
54
+ }
55
+ );
56
+ case import_types.AttributeType.TOGGLE:
57
+ return /* @__PURE__ */ jsxs(
58
+ Select,
59
+ {
60
+ value: typeof value === "string" ? value : value?.[0] ?? "",
61
+ onValueChange: onChange,
62
+ children: [
63
+ /* @__PURE__ */ jsx(Select.Trigger, { children: /* @__PURE__ */ jsx(
64
+ Select.Value,
65
+ {
66
+ placeholder: t("products.create.attributes.selectValues")
67
+ }
68
+ ) }),
69
+ /* @__PURE__ */ jsxs(Select.Content, { children: [
70
+ /* @__PURE__ */ jsx(Select.Item, { value: "true", children: t("filters.radio.yes") }),
71
+ /* @__PURE__ */ jsx(Select.Item, { value: "false", children: t("filters.radio.no") })
72
+ ] })
73
+ ]
74
+ }
75
+ );
76
+ case import_types.AttributeType.TEXT:
77
+ return /* @__PURE__ */ jsx(
78
+ Textarea,
79
+ {
80
+ className: "bg-ui-bg-field-component hover:bg-ui-bg-field-component-hover",
81
+ value: typeof value === "string" ? value : value?.[0] ?? "",
82
+ onChange: (e) => onChange(e.target.value),
83
+ placeholder: ph
84
+ }
85
+ );
86
+ default:
87
+ return /* @__PURE__ */ jsx(
88
+ Input,
89
+ {
90
+ className: "bg-ui-bg-field-component hover:bg-ui-bg-field-component-hover",
91
+ value: typeof value === "string" ? value : value?.[0] ?? "",
92
+ onChange: (e) => onChange(e.target.value),
93
+ placeholder: ph
94
+ }
95
+ );
96
+ }
97
+ };
98
+
99
+ export {
100
+ AttributeValueInput
101
+ };
@@ -1,27 +1,26 @@
1
1
  import {
2
2
  useProductTableColumns
3
- } from "./chunk-GC33DBKG.js";
3
+ } from "./chunk-IWLDKGYQ.js";
4
4
  import {
5
5
  useProductTableQuery
6
- } from "./chunk-4MFMCZEJ.js";
6
+ } from "./chunk-H6LZ77GX.js";
7
7
  import {
8
8
  useProductTableFilters
9
- } from "./chunk-CNLP35S7.js";
9
+ } from "./chunk-OD3U3TX4.js";
10
10
  import {
11
11
  _DataTable,
12
12
  useDataTable
13
13
  } from "./chunk-AIF2KTEE.js";
14
14
  import {
15
15
  SingleColumnPage
16
- } from "./chunk-CAS74NLJ.js";
16
+ } from "./chunk-YV6MK4PZ.js";
17
17
  import {
18
18
  ActionMenu
19
19
  } from "./chunk-BDGZ4EQO.js";
20
20
  import {
21
- useBulkDeleteProducts,
22
21
  useDeleteProduct,
23
22
  useProducts
24
- } from "./chunk-ZEVYT6IX.js";
23
+ } from "./chunk-QNNJN4H6.js";
25
24
 
26
25
  // src/pages/products/product-list-page.tsx
27
26
  import { Children as Children3 } from "react";
@@ -56,25 +55,16 @@ var ProductListHeader = ({ children }) => {
56
55
  };
57
56
 
58
57
  // src/pages/products/_components/product-list-table/product-list-data-table.tsx
59
- import { Checkbox, toast, usePrompt } from "@medusajs/ui";
58
+ import { toast, usePrompt } from "@medusajs/ui";
60
59
  import { keepPreviousData } from "@tanstack/react-query";
61
- import {
62
- createColumnHelper
63
- } from "@tanstack/react-table";
64
- import { useMemo, useState } from "react";
60
+ import { createColumnHelper } from "@tanstack/react-table";
61
+ import { useMemo } from "react";
65
62
  import { useTranslation as useTranslation2 } from "react-i18next";
66
- import { useNavigate } from "react-router-dom";
67
63
  import { Trash } from "@medusajs/icons";
68
64
  import { jsx as jsx2 } from "react/jsx-runtime";
69
65
  var PAGE_SIZE = 10;
70
66
  var ProductListDataTable = () => {
71
67
  const { t } = useTranslation2();
72
- const navigate = useNavigate();
73
- const [rowSelection, setRowSelection] = useState({});
74
- const updater = (newSelection) => {
75
- const update = typeof newSelection === "function" ? newSelection(rowSelection) : newSelection;
76
- setRowSelection(update);
77
- };
78
68
  const { searchParams, raw } = useProductTableQuery({
79
69
  pageSize: PAGE_SIZE
80
70
  });
@@ -91,48 +81,9 @@ var ProductListDataTable = () => {
91
81
  columns,
92
82
  count,
93
83
  enablePagination: true,
94
- enableRowSelection: true,
95
84
  pageSize: PAGE_SIZE,
96
- getRowId: (row) => row?.id || "",
97
- rowSelection: {
98
- state: rowSelection,
99
- updater
100
- }
85
+ getRowId: (row) => row?.id || ""
101
86
  });
102
- const { mutateAsync } = useBulkDeleteProducts();
103
- const prompt = usePrompt();
104
- const handleDelete = async () => {
105
- const keys = Object.keys(rowSelection);
106
- if (keys.length === 0) {
107
- return;
108
- }
109
- const res = await prompt({
110
- title: t("products.bulkDelete.title"),
111
- description: t("products.bulkDelete.description", {
112
- count: keys.length
113
- }),
114
- confirmText: t("actions.delete"),
115
- cancelText: t("actions.cancel")
116
- });
117
- if (!res) {
118
- return;
119
- }
120
- await mutateAsync(keys, {
121
- onSuccess: () => {
122
- setRowSelection({});
123
- toast.success(
124
- t("products.bulkDelete.success", {
125
- count: keys.length
126
- })
127
- );
128
- },
129
- onError: (error2) => {
130
- toast.error(t("products.bulkDelete.error"), {
131
- description: error2.message
132
- });
133
- }
134
- });
135
- };
136
87
  if (isError) {
137
88
  throw error;
138
89
  }
@@ -159,28 +110,6 @@ var ProductListDataTable = () => {
159
110
  key: "updated_at",
160
111
  label: t("fields.updatedAt")
161
112
  }
162
- ],
163
- commands: [
164
- {
165
- action: () => {
166
- const selectedIds = Object.keys(rowSelection);
167
- const selectedProducts = (products ?? []).filter(
168
- (p) => selectedIds.includes(p.id)
169
- );
170
- if (selectedProducts.length > 0) {
171
- navigate("bulk-edit", {
172
- state: { products: selectedProducts }
173
- });
174
- }
175
- },
176
- label: t("actions.edit"),
177
- shortcut: "e"
178
- },
179
- {
180
- action: handleDelete,
181
- label: t("actions.delete"),
182
- shortcut: "d"
183
- }
184
113
  ]
185
114
  }
186
115
  );
@@ -238,30 +167,6 @@ var useColumns = () => {
238
167
  const base = useProductTableColumns();
239
168
  const columns = useMemo(
240
169
  () => [
241
- columnHelper.display({
242
- id: "select",
243
- header: ({ table }) => {
244
- return /* @__PURE__ */ jsx2(
245
- Checkbox,
246
- {
247
- checked: table.getIsSomePageRowsSelected() ? "indeterminate" : table.getIsAllPageRowsSelected(),
248
- onCheckedChange: (value) => table.toggleAllPageRowsSelected(!!value)
249
- }
250
- );
251
- },
252
- cell: ({ row }) => {
253
- return /* @__PURE__ */ jsx2(
254
- Checkbox,
255
- {
256
- checked: row.getIsSelected(),
257
- onCheckedChange: (value) => row.toggleSelected(!!value),
258
- onClick: (e) => {
259
- e.stopPropagation();
260
- }
261
- }
262
- );
263
- }
264
- }),
265
170
  ...base,
266
171
  columnHelper.display({
267
172
  id: "actions",
File without changes