@mercurjs/admin 2.0.0-canary.39 → 2.0.0-canary.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (200) hide show
  1. package/dist/{add-campaign-promotions-ZUXBF5G3.js → add-campaign-promotions-7TPECJOT.js} +4 -4
  2. package/dist/{api-key-management-detail-SKJNAZ5L.js → api-key-management-detail-2EFDWJSF.js} +7 -7
  3. package/dist/{api-key-management-list-2D4WKI6Y.js → api-key-management-list-UZLHSM2R.js} +6 -5
  4. package/dist/{api-key-management-sales-channels-C7EWPHC2.js → api-key-management-sales-channels-ER5ZINL7.js} +6 -7
  5. package/dist/{campaign-create-B7XM2FZM.js → campaign-create-AFR3V7P4.js} +3 -3
  6. package/dist/{campaign-detail-7U4CQHU5.js → campaign-detail-UUNEZUY7.js} +9 -8
  7. package/dist/{campaign-list-SC7FLTRM.js → campaign-list-2AAGWYEG.js} +6 -5
  8. package/dist/category-create-LY45Z7YB.js +23 -0
  9. package/dist/{category-detail-HGHR3R2R.js → category-detail-AGTIMI6P.js} +7 -6
  10. package/dist/{category-list-QBBFGHQM.js → category-list-ROM7UTA4.js} +6 -5
  11. package/dist/{chunk-ENMRRG4N.js → chunk-2AWQ4FPA.js} +6 -6
  12. package/dist/{chunk-VBAAYYCS.js → chunk-2HPZJCAF.js} +6 -6
  13. package/dist/{chunk-SFG7JTBH.js → chunk-2LAANNMF.js} +111 -48
  14. package/dist/{chunk-KYUXTS2L.js → chunk-2UN7CNBG.js} +7 -7
  15. package/dist/chunk-3LTXCGNM.js +204 -0
  16. package/dist/{chunk-EDQBUWY7.js → chunk-3NIWL75F.js} +6 -6
  17. package/dist/{product-create-variant-CJPECBV4.js → chunk-4UTK7DZN.js} +63 -69
  18. package/dist/{chunk-5VEYNZSW.js → chunk-5322X23U.js} +9 -4
  19. package/dist/{chunk-U3SFHLUA.js → chunk-53IISBJZ.js} +1 -0
  20. package/dist/{chunk-DGCPYCHU.js → chunk-54RTJBYO.js} +63 -8
  21. package/dist/{chunk-E2AAYIHS.js → chunk-5EFOVNK2.js} +3 -3
  22. package/dist/{chunk-NQPAEBSZ.js → chunk-6E3T6CGY.js} +15 -7
  23. package/dist/{chunk-V2DXJ75C.js → chunk-6OA7JZ5E.js} +1 -1
  24. package/dist/chunk-72IQIAGX.js +245 -0
  25. package/dist/{chunk-3IYIS5UZ.js → chunk-7DOPC5GY.js} +4 -4
  26. package/dist/{chunk-Q6XCCONH.js → chunk-AI6RJGRQ.js} +9 -9
  27. package/dist/{price-list-create-OK7YYLAB.js → chunk-AJZQBGE4.js} +193 -428
  28. package/dist/{chunk-XDVS4B7W.js → chunk-BAV6Y7RC.js} +8 -7
  29. package/dist/{chunk-4WYBW3HK.js → chunk-BCAT7P6B.js} +3 -3
  30. package/dist/{chunk-LYT3RI4O.js → chunk-BHYDGWZ6.js} +18 -9
  31. package/dist/{chunk-DK3U2SRA.js → chunk-BIEYPCHL.js} +5 -5
  32. package/dist/{product-create-NVBKO426.js → chunk-BLG726FI.js} +36 -68
  33. package/dist/chunk-BVRI7YAR.js +100 -0
  34. package/dist/{chunk-2IGCU3KP.js → chunk-DOMRLXOI.js} +2 -2
  35. package/dist/{chunk-K6FXWZ2M.js → chunk-F55UXYYA.js} +10 -0
  36. package/dist/{chunk-AOVEX4EM.js → chunk-FNXSMFGL.js} +5 -5
  37. package/dist/{chunk-IXGP2EEN.js → chunk-FYAYHOCN.js} +2 -3
  38. package/dist/{chunk-QBOXELB5.js → chunk-GJHAVFXL.js} +4 -4
  39. package/dist/{price-list-prices-add-7PGUONDK.js → chunk-GOVOSXUU.js} +90 -290
  40. package/dist/{chunk-66IHH2HG.js → chunk-H6W6Q6YE.js} +3 -3
  41. package/dist/{seller-details-KROISMQC.js → chunk-HVLQFQGD.js} +74 -146
  42. package/dist/{chunk-QD6KYDYH.js → chunk-I6R4I7EF.js} +6 -6
  43. package/dist/{chunk-RIMR3ULR.js → chunk-ISYWL6RZ.js} +64 -33
  44. package/dist/{chunk-HHNJNKCB.js → chunk-KMUEJ3IE.js} +59 -20
  45. package/dist/{chunk-GJTIHFXG.js → chunk-KOILMFJX.js} +29 -31
  46. package/dist/{chunk-3SAH3NUS.js → chunk-LIXRNUG5.js} +1 -1
  47. package/dist/chunk-LOJD5572.js +433 -0
  48. package/dist/{chunk-T25UE7SS.js → chunk-MD56QRKC.js} +6 -6
  49. package/dist/{chunk-S4QUEQQK.js → chunk-MSFNMGFD.js} +48 -48
  50. package/dist/{chunk-YH4VQBAA.js → chunk-MX52GGQO.js} +81 -52
  51. package/dist/{chunk-O6O22BN4.js → chunk-N7BCAAJC.js} +113 -48
  52. package/dist/{chunk-JA2XIIIZ.js → chunk-NXKCVD5F.js} +6 -5
  53. package/dist/{chunk-G4QMLQF2.js → chunk-NZN7PFPB.js} +2 -4
  54. package/dist/{chunk-KUDLPUWR.js → chunk-OFWYMU6K.js} +8 -8
  55. package/dist/chunk-OOAY7PAK.js +1155 -0
  56. package/dist/chunk-PAQH5QQH.js +685 -0
  57. package/dist/{chunk-3H74EI2D.js → chunk-POCHIWE2.js} +100 -40
  58. package/dist/chunk-PXBCTPQO.js +248 -0
  59. package/dist/chunk-QSZ2FIM2.js +223 -0
  60. package/dist/{chunk-23663A2W.js → chunk-R5VKVG6S.js} +1 -1
  61. package/dist/{chunk-DP5U3GQU.js → chunk-RXUUBJSZ.js} +1 -1
  62. package/dist/{chunk-FYB5MS4F.js → chunk-S2GARTQU.js} +6 -6
  63. package/dist/{chunk-7TLEUIAL.js → chunk-SO6PXIPV.js} +21 -16
  64. package/dist/{category-create-UWBJGIED.js → chunk-ST74PSEZ.js} +78 -149
  65. package/dist/{chunk-33FUPXJL.js → chunk-T3OYE2MH.js} +4 -4
  66. package/dist/{chunk-JRWB7VWP.js → chunk-U4RMXPGI.js} +8 -8
  67. package/dist/{chunk-YGSM5PVN.js → chunk-UI2BJVP5.js} +1 -1
  68. package/dist/{chunk-FXU7SL6M.js → chunk-UOIUQC3P.js} +25 -15
  69. package/dist/{chunk-ZU2RNSCP.js → chunk-UONTDHRH.js} +4 -2
  70. package/dist/{chunk-J7SR4GW5.js → chunk-V3SHSLK4.js} +4 -4
  71. package/dist/{chunk-TE5VQBCL.js → chunk-V42ZR4XW.js} +8 -9
  72. package/dist/chunk-V5J73NPW.js +117 -0
  73. package/dist/{chunk-QP6XXG6A.js → chunk-VOFAM7HJ.js} +74 -42
  74. package/dist/{chunk-CR4E2DCR.js → chunk-VT3RBTYK.js} +3 -3
  75. package/dist/{chunk-AOVJTW7M.js → chunk-VWQYMOBM.js} +9 -9
  76. package/dist/{chunk-6L2LSIPR.js → chunk-VXAQZ2ZZ.js} +4 -4
  77. package/dist/{chunk-OSHCUDYY.js → chunk-X3KBQBGW.js} +6 -6
  78. package/dist/{chunk-WZADCDDE.js → chunk-X56THFPA.js} +2 -1
  79. package/dist/{chunk-HZKW7HRU.js → chunk-X7NWBH7T.js} +64 -35
  80. package/dist/{chunk-OFRQZHVQ.js → chunk-XE5ZMNUN.js} +6 -6
  81. package/dist/{chunk-4GVHNYZR.js → chunk-XHVYNMTA.js} +2 -2
  82. package/dist/{chunk-U2UCL2VG.js → chunk-XIZLPYEE.js} +3 -111
  83. package/dist/{chunk-KXPCEVFB.js → chunk-XOKRMMVP.js} +6 -6
  84. package/dist/{chunk-XVKRTPVM.js → chunk-Y5N26ZC3.js} +41 -15
  85. package/dist/{chunk-A6Z2Q7D5.js → chunk-Z2MDPTF2.js} +4 -2
  86. package/dist/{chunk-TKGZBTOS.js → chunk-ZFSZTRZ6.js} +54 -32
  87. package/dist/{chunk-RV6NZTNP.js → chunk-ZZEAWVFX.js} +27 -27
  88. package/dist/{collection-detail-YJ3FV2C6.js → collection-detail-SRR3HSIV.js} +7 -6
  89. package/dist/{collection-list-WDQOBHQN.js → collection-list-MKISW5S4.js} +6 -5
  90. package/dist/{commission-rate-detail-UQDIIMIK.js → commission-rate-detail-GLB733F3.js} +5 -4
  91. package/dist/{commission-rate-list-WTDZLKUR.js → commission-rate-list-5V3FQROA.js} +6 -5
  92. package/dist/{customer-detail-N7CS4IJU.js → customer-detail-SBQF232S.js} +4 -3
  93. package/dist/customer-group-add-customers-LCNDTLXR.js +1 -1
  94. package/dist/{customer-group-detail-UCTY4FF7.js → customer-group-detail-QQSNRM2K.js} +6 -5
  95. package/dist/{customer-group-list-XOQ64CVR.js → customer-group-list-IO7SVK3F.js} +15 -6
  96. package/dist/{customer-list-BUUO6OF7.js → customer-list-TXBAME4V.js} +4 -3
  97. package/dist/customers-add-customer-group-BKEV24N2.js +1 -1
  98. package/dist/index.d.ts +225 -16
  99. package/dist/index.js +581 -387
  100. package/dist/inventory-create-Q4JIXZTT.js +56 -0
  101. package/dist/{inventory-detail-BJT5WEV5.js → inventory-detail-3D37JWQT.js} +7 -6
  102. package/dist/{inventory-list-3LWBPWVK.js → inventory-list-WH42ADNB.js} +6 -5
  103. package/dist/{inventory-stock-G3GP4FZX.js → inventory-stock-DTKOGYT7.js} +6 -6
  104. package/dist/{location-detail-N7J6PEAP.js → location-detail-2SSHXSKL.js} +5 -4
  105. package/dist/location-fulfillment-providers-BHCY2MYC.js +1 -1
  106. package/dist/{location-list-UG6B47NP.js → location-list-LPISOSQI.js} +5 -4
  107. package/dist/{location-sales-channels-3IGHCJEN.js → location-sales-channels-PPH53OHD.js} +6 -7
  108. package/dist/location-service-zone-shipping-option-create-GSXLVEGO.js +57 -0
  109. package/dist/{location-service-zone-shipping-option-pricing-7VMPXDWX.js → location-service-zone-shipping-option-pricing-4CTGXBP3.js} +6 -6
  110. package/dist/marketplace-add-currencies-CIGOPBO6.js +1 -1
  111. package/dist/{marketplace-detail-7KJMXXAJ.js → marketplace-detail-3CBLIYVK.js} +6 -5
  112. package/dist/{order-detail-C25NQSZN.js → order-detail-AJV2PE7J.js} +7 -6
  113. package/dist/{order-edit-billing-address-NVRMPZEU.js → order-edit-billing-address-QQUPIC2H.js} +6 -6
  114. package/dist/{order-list-7NH7LROU.js → order-list-VPQOG5WE.js} +6 -5
  115. package/dist/pages/index.d.ts +2608 -82
  116. package/dist/pages/index.js +238 -156
  117. package/dist/{payout-detail-MDD5SRK5.js → payout-detail-PMR26YQI.js} +5 -4
  118. package/dist/{payout-list-XY2A5KYS.js → payout-list-DMG7MQM7.js} +6 -4
  119. package/dist/price-list-configuration-XK3IZLLX.js +1 -1
  120. package/dist/price-list-create-QS6CVEWS.js +76 -0
  121. package/dist/{price-list-detail-IGFSM77P.js → price-list-detail-IO5ZURVW.js} +7 -6
  122. package/dist/{price-list-list-TBXQ5DOS.js → price-list-list-B3FKB46L.js} +6 -5
  123. package/dist/price-list-prices-add-NSAQWBT6.js +71 -0
  124. package/dist/{price-list-prices-edit-QVGBT6AI.js → price-list-prices-edit-UOAIOS5X.js} +6 -6
  125. package/dist/product-create-UVKMOKRF.js +68 -0
  126. package/dist/product-create-variant-TCXDJ425.js +53 -0
  127. package/dist/{product-detail-ZC37BGPC.js → product-detail-273ME23P.js} +4 -4
  128. package/dist/{product-list-635ZXM2D.js → product-list-2ZHLFSBI.js} +5 -4
  129. package/dist/{product-media-ZMDAVPGI.js → product-media-YMFP6Q6A.js} +3 -3
  130. package/dist/{product-prices-WMRIC7WM.js → product-prices-X6JO3Y5A.js} +5 -5
  131. package/dist/{product-sales-channels-LSN5DVWZ.js → product-sales-channels-2PVBPK6W.js} +2 -3
  132. package/dist/{product-stock-HF42WRSC.js → product-stock-ARRFHDSU.js} +6 -6
  133. package/dist/{product-tag-detail-OJLYO3Q5.js → product-tag-detail-545AVFGA.js} +7 -6
  134. package/dist/{product-tag-list-XFHGJBRF.js → product-tag-list-2Y2Q7K3A.js} +7 -6
  135. package/dist/{product-type-detail-J4UA4AEM.js → product-type-detail-PBP572AM.js} +7 -6
  136. package/dist/{product-type-list-H5EQHCXS.js → product-type-list-XWNUKETZ.js} +6 -5
  137. package/dist/{product-variant-detail-5WKYURFA.js → product-variant-detail-RJUQWBYH.js} +4 -3
  138. package/dist/{profile-detail-EYNXOHGZ.js → profile-detail-H22ZBNOB.js} +5 -4
  139. package/dist/{promotion-add-campaign-B5SF72KC.js → promotion-add-campaign-5LCKEU6H.js} +3 -3
  140. package/dist/promotion-create-KXBEHXPK.js +54 -0
  141. package/dist/{promotion-detail-MVFOMS4E.js → promotion-detail-NZZ2HII7.js} +7 -6
  142. package/dist/{promotion-list-IN4VWEQN.js → promotion-list-KARWNOAQ.js} +9 -8
  143. package/dist/{refund-reason-list-DJZZC7KK.js → refund-reason-list-GTZQBZ7R.js} +3 -2
  144. package/dist/{region-detail-OFZHX57G.js → region-detail-3OPMLS4V.js} +5 -4
  145. package/dist/{region-list-L4FKHVJJ.js → region-list-542EMW5C.js} +6 -5
  146. package/dist/{reservation-detail-LZYEM5NW.js → reservation-detail-IPGIBQW4.js} +5 -4
  147. package/dist/{reservation-list-OGPDB7WG.js → reservation-list-CEFKMB2G.js} +6 -5
  148. package/dist/{reset-password-Q7Y4FWRE.js → reset-password-R5ULRWEM.js} +1 -1
  149. package/dist/{return-reason-list-6ICMSVKF.js → return-reason-list-S7LU655M.js} +5 -4
  150. package/dist/{sales-channel-detail-RRJG7U7R.js → sales-channel-detail-QCJ6OC3H.js} +7 -6
  151. package/dist/{sales-channel-list-LUZ4ZXCY.js → sales-channel-list-KYNBWXUD.js} +7 -7
  152. package/dist/seller-details-A7TYGP67.js +104 -0
  153. package/dist/{seller-list-664H4SI5.js → seller-list-5KPNNC2B.js} +7 -6
  154. package/dist/{shipping-option-type-detail-2RY3NHRO.js → shipping-option-type-detail-OBYOZZWS.js} +5 -4
  155. package/dist/{shipping-option-type-list-IOSOE33S.js → shipping-option-type-list-UGVMQ3DC.js} +6 -5
  156. package/dist/{shipping-profile-detail-RIIAX7VE.js → shipping-profile-detail-RYOFRMLH.js} +5 -4
  157. package/dist/{shipping-profiles-list-AL4EJSJY.js → shipping-profiles-list-XJGQ7AVX.js} +5 -4
  158. package/dist/{tax-region-create-UOTLTCOP.js → tax-region-create-AR2LNF2G.js} +6 -6
  159. package/dist/{tax-region-detail-CA2W5W6A.js → tax-region-detail-PIGY5JQ7.js} +7 -6
  160. package/dist/{tax-region-list-JTZ7KZCX.js → tax-region-list-AMGZWUAI.js} +6 -5
  161. package/dist/{tax-region-province-detail-ZHLX4FF4.js → tax-region-province-detail-D3R4FJT4.js} +6 -5
  162. package/dist/types-DUhfb5tH.d.ts +30 -0
  163. package/dist/{user-detail-YNPBC5MN.js → user-detail-H66ZAR7W.js} +5 -4
  164. package/dist/{user-list-LNTZNT3D.js → user-list-HIUXLIJV.js} +5 -4
  165. package/package.json +3 -3
  166. package/dist/chunk-62ZRA6BZ.js +0 -216
  167. package/dist/chunk-6PNMR6XP.js +0 -192
  168. package/dist/chunk-7COSFMM7.js +0 -163
  169. package/dist/chunk-A2KURGQO.js +0 -151
  170. package/dist/chunk-BHID7W3U.js +0 -78
  171. package/dist/chunk-UKLRBS4W.js +0 -61
  172. package/dist/inventory-create-QLEIHESO.js +0 -620
  173. package/dist/location-service-zone-shipping-option-create-GYPW6SSN.js +0 -811
  174. package/dist/promotion-create-D77SANLX.js +0 -1262
  175. package/dist/{adjust-inventory-HZCWL6SC.js → adjust-inventory-WL7D7TQR.js} +3 -3
  176. package/dist/{campaign-budget-edit-AIXCDGG3.js → campaign-budget-edit-722ECPRI.js} +3 -3
  177. package/dist/{category-products-XLCG2JR7.js → category-products-H3VFYGOU.js} +2 -2
  178. package/dist/{chunk-DEKJJ7NG.js → chunk-OFCUTNGV.js} +3 -3
  179. package/dist/{chunk-KUWNYCGL.js → chunk-U3OWJE7V.js} +0 -0
  180. package/dist/{collection-add-products-IQ7M63BA.js → collection-add-products-BQ2FZKR4.js} +1 -1
  181. package/dist/{commission-rate-create-VC72GTV4.js → commission-rate-create-GFQNADQS.js} +9 -9
  182. package/dist/{commission-rate-edit-AXJKJNFY.js → commission-rate-edit-A2BFZUEI.js} +9 -9
  183. package/dist/{location-service-zone-shipping-option-edit-E3GN4ZF5.js → location-service-zone-shipping-option-edit-KPECMUYB.js} +3 -3
  184. package/dist/{order-create-claim-7WW6MXTT.js → order-create-claim-IWTV2HKL.js} +6 -6
  185. package/dist/{order-create-edit-KAH6ZPLX.js → order-create-edit-H2MHZFIW.js} +5 -5
  186. package/dist/{order-create-exchange-ELLWF3IY.js → order-create-exchange-PPMRSGLD.js} +6 -6
  187. package/dist/{order-create-refund-5QZBOSCA.js → order-create-refund-LZOHRL7T.js} +3 -3
  188. package/dist/{order-create-return-L6DEDPJK.js → order-create-return-WY6R4QMN.js} +6 -6
  189. package/dist/{order-edit-shipping-address-BPU7OL2N.js → order-edit-shipping-address-XQCSN4YO.js} +3 -3
  190. package/dist/{order-receive-return-FW5QZJBM.js → order-receive-return-GKMHYD4G.js} +1 -1
  191. package/dist/{product-edit-LQJDUUVX.js → product-edit-QGRKGJ3H.js} +1 -1
  192. package/dist/{product-variant-edit-66ZUIIMP.js → product-variant-edit-IQLBIHDE.js} +1 -1
  193. package/dist/{product-variant-manage-inventory-items-CV2CC2PV.js → product-variant-manage-inventory-items-C77QHYRT.js} +3 -3
  194. package/dist/{promotion-edit-details-YKS24GBD.js → promotion-edit-details-BFXPUEE6.js} +4 -4
  195. package/dist/{region-create-UMJK3VGL.js → region-create-ZPY6V77Q.js} +3 -3
  196. package/dist/{region-edit-ODVSNJHM.js → region-edit-Q2CBVPR2.js} +3 -3
  197. package/dist/{sales-channel-add-products-EOWFSO35.js → sales-channel-add-products-PIY4PUIW.js} +2 -2
  198. package/dist/{tax-region-province-create-RFYCUDER.js → tax-region-province-create-7BMYABJ6.js} +3 -3
  199. package/dist/{tax-region-tax-override-create-WIWUNXW6.js → tax-region-tax-override-create-EBDKSAXG.js} +6 -6
  200. package/dist/{tax-region-tax-override-edit-SWROFQTP.js → tax-region-tax-override-edit-55ODL7KC.js} +6 -6
@@ -1,620 +0,0 @@
1
- import {
2
- transformNullableFormData,
3
- transformNullableFormNumber,
4
- transformNullableFormNumbers
5
- } from "./chunk-7RPRNVBS.js";
6
- import "./chunk-NXDFDEKP.js";
7
- import {
8
- CountrySelect
9
- } from "./chunk-V74Y5NIV.js";
10
- import "./chunk-JRTZWK77.js";
11
- import {
12
- DataGrid,
13
- createDataGridHelper
14
- } from "./chunk-KUWNYCGL.js";
15
- import {
16
- SwitchBox
17
- } from "./chunk-YVCBMOJG.js";
18
- import {
19
- optionalInt
20
- } from "./chunk-UXD3VNBO.js";
21
- import "./chunk-TKGWSUEI.js";
22
- import {
23
- KeyboundForm
24
- } from "./chunk-U2ZFCAPX.js";
25
- import "./chunk-IQPN4PZJ.js";
26
- import "./chunk-SMQT3ZNO.js";
27
- import "./chunk-INNFZYX2.js";
28
- import "./chunk-LAVHRER2.js";
29
- import {
30
- useDocumentDirection
31
- } from "./chunk-Y7QKP6QU.js";
32
- import {
33
- RouteFocusModal,
34
- useRouteModal
35
- } from "./chunk-MWOKFNRO.js";
36
- import {
37
- Form
38
- } from "./chunk-3QSRE5LS.js";
39
- import "./chunk-XM6GCWNF.js";
40
- import "./chunk-ODBDAABQ.js";
41
- import "./chunk-CDQJKJMX.js";
42
- import "./chunk-JLATVDLM.js";
43
- import "./chunk-E7ZBQO6E.js";
44
- import "./chunk-GPRBBA7S.js";
45
- import "./chunk-XGHM75N2.js";
46
- import "./chunk-U2GCSKW3.js";
47
- import "./chunk-A4X5VP3G.js";
48
- import "./chunk-RTAIDSDS.js";
49
- import "./chunk-LW3UWYZU.js";
50
- import "./chunk-NNZP4PYP.js";
51
- import "./chunk-JOQ3RTF5.js";
52
- import "./chunk-V534K7G4.js";
53
- import "./chunk-TQI3DOQ5.js";
54
- import "./chunk-5PB7KCTF.js";
55
- import "./chunk-LU72QEQC.js";
56
- import "./chunk-GF4QHVX3.js";
57
- import "./chunk-A5XOYSDC.js";
58
- import "./chunk-YOIARITB.js";
59
- import "./chunk-W7G64ULL.js";
60
- import "./chunk-6C7TCU42.js";
61
- import {
62
- useStockLocations
63
- } from "./chunk-4YF3GAKE.js";
64
- import "./chunk-QSM56ZOP.js";
65
- import "./chunk-MIHEJ6Y6.js";
66
- import "./chunk-3VZV6SJQ.js";
67
- import "./chunk-LORVU5II.js";
68
- import "./chunk-36ORDF7W.js";
69
- import {
70
- inventoryItemsQueryKeys,
71
- useCreateInventoryItem
72
- } from "./chunk-K357FGGP.js";
73
- import {
74
- queryClient
75
- } from "./chunk-RHKRREUU.js";
76
- import "./chunk-ZA2KFUFR.js";
77
- import {
78
- sdk
79
- } from "./chunk-ZYNBKBY3.js";
80
- import "./chunk-NBMM2TZK.js";
81
-
82
- // src/pages/inventory/inventory-create/components/inventory-create-form/inventory-create-form.tsx
83
- import { zodResolver } from "@hookform/resolvers/zod";
84
- import {
85
- Button,
86
- clx,
87
- Divider,
88
- Heading,
89
- Input,
90
- ProgressTabs,
91
- Textarea,
92
- toast
93
- } from "@medusajs/ui";
94
- import { useCallback, useEffect, useState } from "react";
95
- import { useForm } from "react-hook-form";
96
- import { useTranslation as useTranslation2 } from "react-i18next";
97
-
98
- // src/pages/inventory/inventory-create/components/inventory-create-form/inventory-availability-form.tsx
99
- import { useMemo } from "react";
100
- import { useTranslation } from "react-i18next";
101
- import { jsx } from "react/jsx-runtime";
102
- var InventoryAvailabilityForm = ({
103
- form,
104
- locations
105
- }) => {
106
- const { setCloseOnEscape } = useRouteModal();
107
- const columns = useColumns();
108
- return /* @__PURE__ */ jsx("div", { className: "size-full", "data-testid": "inventory-create-form-availability", children: /* @__PURE__ */ jsx(
109
- DataGrid,
110
- {
111
- columns,
112
- data: locations,
113
- state: form,
114
- onEditingChange: (editing) => setCloseOnEscape(!editing)
115
- }
116
- ) });
117
- };
118
- var columnHelper = createDataGridHelper();
119
- var useColumns = () => {
120
- const { t } = useTranslation();
121
- return useMemo(
122
- () => [
123
- columnHelper.column({
124
- id: "location",
125
- header: () => /* @__PURE__ */ jsx("div", { className: "flex size-full items-center overflow-hidden", children: /* @__PURE__ */ jsx("span", { className: "truncate", children: t("locations.domain") }) }),
126
- cell: (context) => {
127
- return /* @__PURE__ */ jsx(DataGrid.ReadonlyCell, { context, children: context.row.original.name });
128
- },
129
- disableHiding: true
130
- }),
131
- columnHelper.column({
132
- id: "in-stock",
133
- name: t("fields.inStock"),
134
- header: t("fields.inStock"),
135
- field: (context) => `locations.${context.row.original.id}`,
136
- type: "number",
137
- cell: (context) => {
138
- return /* @__PURE__ */ jsx(DataGrid.NumberCell, { placeholder: "0", context });
139
- },
140
- disableHiding: true
141
- })
142
- ],
143
- [t]
144
- );
145
- };
146
-
147
- // src/pages/inventory/inventory-create/components/inventory-create-form/schema.ts
148
- import { z } from "zod";
149
- var CreateInventoryItemSchema = z.object({
150
- title: z.string().min(1),
151
- description: z.string().optional(),
152
- sku: z.string().optional(),
153
- hs_code: z.string().optional(),
154
- weight: optionalInt,
155
- length: optionalInt,
156
- height: optionalInt,
157
- width: optionalInt,
158
- origin_country: z.string().optional(),
159
- mid_code: z.string().optional(),
160
- material: z.string().optional(),
161
- requires_shipping: z.boolean().optional(),
162
- thumbnail: z.string().optional(),
163
- locations: z.record(z.string(), optionalInt).optional()
164
- });
165
-
166
- // src/pages/inventory/inventory-create/components/inventory-create-form/inventory-create-form.tsx
167
- import { jsx as jsx2, jsxs } from "react/jsx-runtime";
168
- function InventoryCreateForm({ locations }) {
169
- const { t } = useTranslation2();
170
- const { handleSuccess } = useRouteModal();
171
- const [tab, setTab] = useState("details" /* DETAILS */);
172
- const direction = useDocumentDirection();
173
- const form = useForm({
174
- defaultValues: {
175
- title: "",
176
- sku: "",
177
- hs_code: "",
178
- weight: "",
179
- length: "",
180
- height: "",
181
- width: "",
182
- origin_country: "",
183
- mid_code: "",
184
- material: "",
185
- description: "",
186
- requires_shipping: true,
187
- thumbnail: "",
188
- locations: Object.fromEntries(
189
- locations.map((location) => [location.id, ""])
190
- )
191
- },
192
- resolver: zodResolver(CreateInventoryItemSchema)
193
- });
194
- const {
195
- trigger,
196
- formState: { isDirty }
197
- } = form;
198
- const { mutateAsync: createInventoryItem, isPending: isLoading } = useCreateInventoryItem();
199
- const handleSubmit = form.handleSubmit(async (data) => {
200
- const { locations: locations2, weight, length, height, width, ...payload } = data;
201
- const cleanData = transformNullableFormData(payload, false);
202
- const cleanNumbers = transformNullableFormNumbers(
203
- {
204
- weight,
205
- length,
206
- height,
207
- width
208
- },
209
- false
210
- );
211
- const { inventory_item } = await createInventoryItem(
212
- {
213
- ...cleanData,
214
- ...cleanNumbers
215
- },
216
- {
217
- onError: (e) => {
218
- toast.error(e.message);
219
- return;
220
- }
221
- }
222
- );
223
- await sdk.admin.inventoryItem.batchUpdateLevels(inventory_item.id, {
224
- create: Object.entries(locations2 ?? {}).filter(([_, quantiy]) => !!quantiy).map(([location_id, stocked_quantity]) => ({
225
- location_id,
226
- stocked_quantity: transformNullableFormNumber(
227
- stocked_quantity,
228
- false
229
- )
230
- }))
231
- }).then(async () => {
232
- await queryClient.invalidateQueries({
233
- queryKey: inventoryItemsQueryKeys.lists()
234
- });
235
- }).catch((e) => {
236
- toast.error(e.message);
237
- }).finally(() => {
238
- handleSuccess();
239
- toast.success(t("inventory.create.successToast"));
240
- });
241
- });
242
- const [status, setStatus] = useState({
243
- ["availability" /* AVAILABILITY */]: "not-started",
244
- ["details" /* DETAILS */]: "not-started"
245
- });
246
- const onTabChange = useCallback(
247
- async (value) => {
248
- const result = await trigger();
249
- if (!result) {
250
- return;
251
- }
252
- setTab(value);
253
- },
254
- [trigger]
255
- );
256
- const onNext = useCallback(async () => {
257
- const result = await trigger();
258
- if (!result) {
259
- return;
260
- }
261
- switch (tab) {
262
- case "details" /* DETAILS */: {
263
- setTab("availability" /* AVAILABILITY */);
264
- break;
265
- }
266
- case "availability" /* AVAILABILITY */:
267
- break;
268
- }
269
- }, [tab, trigger]);
270
- useEffect(() => {
271
- if (isDirty) {
272
- setStatus((prev) => ({ ...prev, ["details" /* DETAILS */]: "in-progress" }));
273
- } else {
274
- setStatus((prev) => ({ ...prev, ["details" /* DETAILS */]: "not-started" }));
275
- }
276
- }, [isDirty]);
277
- useEffect(() => {
278
- if (tab === "details" /* DETAILS */ && isDirty) {
279
- setStatus((prev) => ({ ...prev, ["details" /* DETAILS */]: "in-progress" }));
280
- }
281
- if (tab === "availability" /* AVAILABILITY */) {
282
- setStatus((prev) => ({
283
- ...prev,
284
- ["details" /* DETAILS */]: "completed",
285
- ["availability" /* AVAILABILITY */]: "in-progress"
286
- }));
287
- }
288
- }, [tab, isDirty]);
289
- return /* @__PURE__ */ jsx2(RouteFocusModal.Form, { form, "data-testid": "inventory-create-form", children: /* @__PURE__ */ jsx2(
290
- ProgressTabs,
291
- {
292
- dir: direction,
293
- value: tab,
294
- className: "h-full",
295
- onValueChange: (tab2) => onTabChange(tab2),
296
- children: /* @__PURE__ */ jsxs(
297
- KeyboundForm,
298
- {
299
- className: "flex h-full flex-col overflow-hidden",
300
- onSubmit: handleSubmit,
301
- children: [
302
- /* @__PURE__ */ jsx2(RouteFocusModal.Header, { "data-testid": "inventory-create-form-header", children: /* @__PURE__ */ jsxs(ProgressTabs.List, { className: "border-ui-border-base -my-2 ml-2 min-w-0 flex-1 border-l", "data-testid": "inventory-create-form-tabs-list", children: [
303
- /* @__PURE__ */ jsx2(
304
- ProgressTabs.Trigger,
305
- {
306
- value: "details" /* DETAILS */,
307
- status: status["details" /* DETAILS */],
308
- className: "w-full max-w-[200px]",
309
- "data-testid": "inventory-create-form-tab-details",
310
- children: /* @__PURE__ */ jsx2("span", { className: "w-full cursor-auto overflow-hidden text-ellipsis whitespace-nowrap", children: t("inventory.create.details") })
311
- }
312
- ),
313
- /* @__PURE__ */ jsx2(
314
- ProgressTabs.Trigger,
315
- {
316
- value: "availability" /* AVAILABILITY */,
317
- className: "w-full max-w-[200px]",
318
- status: status["availability" /* AVAILABILITY */],
319
- "data-testid": "inventory-create-form-tab-availability",
320
- children: /* @__PURE__ */ jsx2("span", { className: "w-full overflow-hidden text-ellipsis whitespace-nowrap", children: t("inventory.create.availability") })
321
- }
322
- )
323
- ] }) }),
324
- /* @__PURE__ */ jsxs(
325
- RouteFocusModal.Body,
326
- {
327
- className: clx(
328
- "flex h-full w-full flex-col items-center divide-y overflow-hidden",
329
- { "mx-auto": tab === "details" /* DETAILS */ }
330
- ),
331
- "data-testid": "inventory-create-form-body",
332
- children: [
333
- /* @__PURE__ */ jsx2(
334
- ProgressTabs.Content,
335
- {
336
- value: "details" /* DETAILS */,
337
- className: "h-full w-full overflow-auto px-3",
338
- "data-testid": "inventory-create-form-tab-details-content",
339
- children: /* @__PURE__ */ jsxs("div", { className: "mx-auto flex w-full max-w-[720px] flex-col gap-y-8 px-px py-16", "data-testid": "inventory-create-form-content", children: [
340
- /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-y-8", children: [
341
- /* @__PURE__ */ jsx2("div", { "data-testid": "inventory-create-form-header", children: /* @__PURE__ */ jsx2(Heading, { "data-testid": "inventory-create-form-heading", children: t("inventory.create.title") }) }),
342
- /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-y-6", children: [
343
- /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 gap-4 lg:grid-cols-2", children: [
344
- /* @__PURE__ */ jsx2(
345
- Form.Field,
346
- {
347
- control: form.control,
348
- name: "title",
349
- render: ({ field }) => {
350
- return /* @__PURE__ */ jsxs(Form.Item, { "data-testid": "inventory-create-form-title-item", children: [
351
- /* @__PURE__ */ jsx2(Form.Label, { "data-testid": "inventory-create-form-title-label", children: t("fields.title") }),
352
- /* @__PURE__ */ jsx2(Form.Control, { "data-testid": "inventory-create-form-title-control", children: /* @__PURE__ */ jsx2(
353
- Input,
354
- {
355
- ...field,
356
- placeholder: t("fields.title"),
357
- "data-testid": "inventory-create-form-title-input"
358
- }
359
- ) }),
360
- /* @__PURE__ */ jsx2(Form.ErrorMessage, { "data-testid": "inventory-create-form-title-error" })
361
- ] });
362
- }
363
- }
364
- ),
365
- /* @__PURE__ */ jsx2(
366
- Form.Field,
367
- {
368
- control: form.control,
369
- name: "sku",
370
- render: ({ field }) => {
371
- return /* @__PURE__ */ jsxs(Form.Item, { "data-testid": "inventory-create-form-sku-item", children: [
372
- /* @__PURE__ */ jsx2(Form.Label, { "data-testid": "inventory-create-form-sku-label", children: t("fields.sku") }),
373
- /* @__PURE__ */ jsx2(Form.Control, { "data-testid": "inventory-create-form-sku-control", children: /* @__PURE__ */ jsx2(Input, { ...field, placeholder: "sku-123", "data-testid": "inventory-create-form-sku-input" }) }),
374
- /* @__PURE__ */ jsx2(Form.ErrorMessage, { "data-testid": "inventory-create-form-sku-error" })
375
- ] });
376
- }
377
- }
378
- )
379
- ] }),
380
- /* @__PURE__ */ jsx2(
381
- Form.Field,
382
- {
383
- control: form.control,
384
- name: "description",
385
- render: ({ field }) => {
386
- return /* @__PURE__ */ jsxs(Form.Item, { "data-testid": "inventory-create-form-description-item", children: [
387
- /* @__PURE__ */ jsx2(Form.Label, { optional: true, "data-testid": "inventory-create-form-description-label", children: t("products.fields.description.label") }),
388
- /* @__PURE__ */ jsx2(Form.Control, { "data-testid": "inventory-create-form-description-control", children: /* @__PURE__ */ jsx2(
389
- Textarea,
390
- {
391
- ...field,
392
- placeholder: "The item description",
393
- "data-testid": "inventory-create-form-description-textarea"
394
- }
395
- ) }),
396
- /* @__PURE__ */ jsx2(Form.ErrorMessage, { "data-testid": "inventory-create-form-description-error" })
397
- ] });
398
- }
399
- }
400
- )
401
- ] }),
402
- /* @__PURE__ */ jsx2(
403
- SwitchBox,
404
- {
405
- control: form.control,
406
- name: "requires_shipping",
407
- label: t("inventory.create.requiresShipping"),
408
- description: t("inventory.create.requiresShippingHint"),
409
- "data-testid": "inventory-create-form-requires-shipping"
410
- }
411
- )
412
- ] }),
413
- /* @__PURE__ */ jsx2(Divider, {}),
414
- /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-y-6", children: [
415
- /* @__PURE__ */ jsx2(Heading, { level: "h2", children: t("inventory.create.attributes") }),
416
- /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 gap-x-4 gap-y-4 lg:grid-cols-2 lg:gap-y-8", children: [
417
- /* @__PURE__ */ jsx2(
418
- Form.Field,
419
- {
420
- control: form.control,
421
- name: "width",
422
- render: ({ field }) => {
423
- return /* @__PURE__ */ jsxs(Form.Item, { "data-testid": "inventory-create-form-width-item", children: [
424
- /* @__PURE__ */ jsx2(Form.Label, { optional: true, "data-testid": "inventory-create-form-width-label", children: t("products.fields.width.label") }),
425
- /* @__PURE__ */ jsx2(Form.Control, { "data-testid": "inventory-create-form-width-control", children: /* @__PURE__ */ jsx2(
426
- Input,
427
- {
428
- ...field,
429
- type: "number",
430
- min: 0,
431
- placeholder: "100",
432
- "data-testid": "inventory-create-form-width-input"
433
- }
434
- ) }),
435
- /* @__PURE__ */ jsx2(Form.ErrorMessage, { "data-testid": "inventory-create-form-width-error" })
436
- ] });
437
- }
438
- }
439
- ),
440
- /* @__PURE__ */ jsx2(
441
- Form.Field,
442
- {
443
- control: form.control,
444
- name: "length",
445
- render: ({ field }) => {
446
- return /* @__PURE__ */ jsxs(Form.Item, { "data-testid": "inventory-create-form-length-item", children: [
447
- /* @__PURE__ */ jsx2(Form.Label, { optional: true, "data-testid": "inventory-create-form-length-label", children: t("products.fields.length.label") }),
448
- /* @__PURE__ */ jsx2(Form.Control, { "data-testid": "inventory-create-form-length-control", children: /* @__PURE__ */ jsx2(
449
- Input,
450
- {
451
- ...field,
452
- type: "number",
453
- min: 0,
454
- placeholder: "100",
455
- "data-testid": "inventory-create-form-length-input"
456
- }
457
- ) }),
458
- /* @__PURE__ */ jsx2(Form.ErrorMessage, { "data-testid": "inventory-create-form-length-error" })
459
- ] });
460
- }
461
- }
462
- ),
463
- /* @__PURE__ */ jsx2(
464
- Form.Field,
465
- {
466
- control: form.control,
467
- name: "height",
468
- render: ({ field }) => {
469
- return /* @__PURE__ */ jsxs(Form.Item, { "data-testid": "inventory-create-form-height-item", children: [
470
- /* @__PURE__ */ jsx2(Form.Label, { optional: true, "data-testid": "inventory-create-form-height-label", children: t("products.fields.height.label") }),
471
- /* @__PURE__ */ jsx2(Form.Control, { "data-testid": "inventory-create-form-height-control", children: /* @__PURE__ */ jsx2(
472
- Input,
473
- {
474
- ...field,
475
- type: "number",
476
- min: 0,
477
- placeholder: "100",
478
- "data-testid": "inventory-create-form-height-input"
479
- }
480
- ) }),
481
- /* @__PURE__ */ jsx2(Form.ErrorMessage, { "data-testid": "inventory-create-form-height-error" })
482
- ] });
483
- }
484
- }
485
- ),
486
- /* @__PURE__ */ jsx2(
487
- Form.Field,
488
- {
489
- control: form.control,
490
- name: "weight",
491
- render: ({ field }) => {
492
- return /* @__PURE__ */ jsxs(Form.Item, { "data-testid": "inventory-create-form-weight-item", children: [
493
- /* @__PURE__ */ jsx2(Form.Label, { optional: true, "data-testid": "inventory-create-form-weight-label", children: t("products.fields.weight.label") }),
494
- /* @__PURE__ */ jsx2(Form.Control, { "data-testid": "inventory-create-form-weight-control", children: /* @__PURE__ */ jsx2(
495
- Input,
496
- {
497
- ...field,
498
- type: "number",
499
- min: 0,
500
- placeholder: "100",
501
- "data-testid": "inventory-create-form-weight-input"
502
- }
503
- ) }),
504
- /* @__PURE__ */ jsx2(Form.ErrorMessage, { "data-testid": "inventory-create-form-weight-error" })
505
- ] });
506
- }
507
- }
508
- ),
509
- /* @__PURE__ */ jsx2(
510
- Form.Field,
511
- {
512
- control: form.control,
513
- name: "mid_code",
514
- render: ({ field }) => {
515
- return /* @__PURE__ */ jsxs(Form.Item, { "data-testid": "inventory-create-form-mid-code-item", children: [
516
- /* @__PURE__ */ jsx2(Form.Label, { optional: true, "data-testid": "inventory-create-form-mid-code-label", children: t("products.fields.mid_code.label") }),
517
- /* @__PURE__ */ jsx2(Form.Control, { "data-testid": "inventory-create-form-mid-code-control", children: /* @__PURE__ */ jsx2(Input, { ...field, "data-testid": "inventory-create-form-mid-code-input" }) }),
518
- /* @__PURE__ */ jsx2(Form.ErrorMessage, { "data-testid": "inventory-create-form-mid-code-error" })
519
- ] });
520
- }
521
- }
522
- ),
523
- /* @__PURE__ */ jsx2(
524
- Form.Field,
525
- {
526
- control: form.control,
527
- name: "hs_code",
528
- render: ({ field }) => {
529
- return /* @__PURE__ */ jsxs(Form.Item, { "data-testid": "inventory-create-form-hs-code-item", children: [
530
- /* @__PURE__ */ jsx2(Form.Label, { optional: true, "data-testid": "inventory-create-form-hs-code-label", children: t("products.fields.hs_code.label") }),
531
- /* @__PURE__ */ jsx2(Form.Control, { "data-testid": "inventory-create-form-hs-code-control", children: /* @__PURE__ */ jsx2(Input, { ...field, "data-testid": "inventory-create-form-hs-code-input" }) }),
532
- /* @__PURE__ */ jsx2(Form.ErrorMessage, { "data-testid": "inventory-create-form-hs-code-error" })
533
- ] });
534
- }
535
- }
536
- ),
537
- /* @__PURE__ */ jsx2(
538
- Form.Field,
539
- {
540
- control: form.control,
541
- name: "origin_country",
542
- render: ({ field }) => {
543
- return /* @__PURE__ */ jsxs(Form.Item, { "data-testid": "inventory-create-form-origin-country-item", children: [
544
- /* @__PURE__ */ jsx2(Form.Label, { optional: true, "data-testid": "inventory-create-form-origin-country-label", children: t("products.fields.countryOrigin.label") }),
545
- /* @__PURE__ */ jsx2(Form.Control, { "data-testid": "inventory-create-form-origin-country-control", children: /* @__PURE__ */ jsx2(CountrySelect, { ...field, "data-testid": "inventory-create-form-origin-country-select" }) }),
546
- /* @__PURE__ */ jsx2(Form.ErrorMessage, { "data-testid": "inventory-create-form-origin-country-error" })
547
- ] });
548
- }
549
- }
550
- ),
551
- /* @__PURE__ */ jsx2(
552
- Form.Field,
553
- {
554
- control: form.control,
555
- name: "material",
556
- render: ({ field }) => {
557
- return /* @__PURE__ */ jsxs(Form.Item, { "data-testid": "inventory-create-form-material-item", children: [
558
- /* @__PURE__ */ jsx2(Form.Label, { optional: true, "data-testid": "inventory-create-form-material-label", children: t("products.fields.material.label") }),
559
- /* @__PURE__ */ jsx2(Form.Control, { "data-testid": "inventory-create-form-material-control", children: /* @__PURE__ */ jsx2(Input, { ...field, "data-testid": "inventory-create-form-material-input" }) }),
560
- /* @__PURE__ */ jsx2(Form.ErrorMessage, { "data-testid": "inventory-create-form-material-error" })
561
- ] });
562
- }
563
- }
564
- )
565
- ] })
566
- ] })
567
- ] })
568
- }
569
- ),
570
- /* @__PURE__ */ jsx2(
571
- ProgressTabs.Content,
572
- {
573
- value: "availability" /* AVAILABILITY */,
574
- className: "size-full",
575
- "data-testid": "inventory-create-form-tab-availability-content",
576
- children: /* @__PURE__ */ jsx2(InventoryAvailabilityForm, { form, locations })
577
- }
578
- )
579
- ]
580
- }
581
- ),
582
- /* @__PURE__ */ jsx2(RouteFocusModal.Footer, { "data-testid": "inventory-create-form-footer", children: /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-end gap-x-2", children: [
583
- /* @__PURE__ */ jsx2(RouteFocusModal.Close, { asChild: true, children: /* @__PURE__ */ jsx2(Button, { variant: "secondary", size: "small", "data-testid": "inventory-create-form-cancel-button", children: t("actions.cancel") }) }),
584
- /* @__PURE__ */ jsx2(
585
- Button,
586
- {
587
- size: "small",
588
- className: "whitespace-nowrap",
589
- isLoading,
590
- onClick: tab !== "availability" /* AVAILABILITY */ ? onNext : void 0,
591
- type: tab === "availability" /* AVAILABILITY */ ? "submit" : "button",
592
- "data-testid": tab === "availability" /* AVAILABILITY */ ? "inventory-create-form-save-button" : "inventory-create-form-next-button",
593
- children: tab === "availability" /* AVAILABILITY */ ? t("actions.save") : t("general.next")
594
- },
595
- tab === "availability" /* AVAILABILITY */ ? "details" : "pricing"
596
- )
597
- ] }) })
598
- ]
599
- }
600
- )
601
- }
602
- ) });
603
- }
604
-
605
- // src/pages/inventory/inventory-create/inventory-create.tsx
606
- import { jsx as jsx3 } from "react/jsx-runtime";
607
- function InventoryCreate() {
608
- const { isPending, stock_locations, isError, error } = useStockLocations({
609
- limit: 9999,
610
- fields: "id,name"
611
- });
612
- const ready = !isPending && !!stock_locations;
613
- if (isError) {
614
- throw error;
615
- }
616
- return /* @__PURE__ */ jsx3(RouteFocusModal, { children: ready && /* @__PURE__ */ jsx3(InventoryCreateForm, { locations: stock_locations }) });
617
- }
618
- export {
619
- InventoryCreate as Component
620
- };