@mercurjs/vendor 2.2.0-canary.16 → 2.2.0-canary.17

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 (116) hide show
  1. package/dist/{[id]-Z47IMQRW.js → [id]-4J22S3D7.js} +2 -2
  2. package/dist/{[id]-KZ4AUWKS.js → [id]-SSZPPKKA.js} +27 -16
  3. package/dist/{[id]-CDA4INC4.js → [id]-TMHN5IMR.js} +3 -3
  4. package/dist/{add-UHIBPWNF.js → add-DEMEX3H3.js} +3 -3
  5. package/dist/{add-GEFJOVMN.js → add-GLSL6OWC.js} +1 -1
  6. package/dist/{add-customer-groups-IYXY4KM4.js → add-customer-groups-RAN4XHUY.js} +1 -1
  7. package/dist/{add-products-GX5Z63TJ.js → add-products-QBRJJQFE.js} +1 -1
  8. package/dist/{add-promotions-HDJ7XR6Z.js → add-promotions-SOHPPC5A.js} +4 -4
  9. package/dist/{add-to-campaign-QKYQCSR2.js → add-to-campaign-C6JDNB6F.js} +2 -2
  10. package/dist/{address-X5L7Q2VF.js → address-TVAAQLLV.js} +1 -1
  11. package/dist/{adjust-inventory-MCPV25XO.js → adjust-inventory-QITH4VUU.js} +1 -1
  12. package/dist/{allocate-items-HI7KLPIB.js → allocate-items-4OHVHEHB.js} +1 -1
  13. package/dist/{areas-IHZROM6V.js → areas-64VXOFYS.js} +1 -1
  14. package/dist/{attributes-2JXH2BT2.js → attributes-T6KRH3YF.js} +1 -1
  15. package/dist/{chunk-SL4HFNPH.js → chunk-2ZAAN6GA.js} +1 -1
  16. package/dist/{chunk-AASFRDIC.js → chunk-4NCZB4A3.js} +8 -8
  17. package/dist/{chunk-DO4F5FIO.js → chunk-CI4YXVQF.js} +1 -1
  18. package/dist/{chunk-NN7E6UBM.js → chunk-CQ7IPZLK.js} +3 -1
  19. package/dist/{chunk-BSBEIZPO.js → chunk-FCPNNFM4.js} +13 -6
  20. package/dist/{chunk-SGR4DMCW.js → chunk-FRYZRBLA.js} +1 -1
  21. package/dist/{chunk-4NQJN4KR.js → chunk-JM5J2RH7.js} +1 -1
  22. package/dist/{chunk-YGRTRAWX.js → chunk-KDE4HKH2.js} +1 -0
  23. package/dist/{chunk-MGKFVZFH.js → chunk-LHYR6BUR.js} +3 -3
  24. package/dist/{chunk-LDX23XPT.js → chunk-MZRZVLWD.js} +2 -2
  25. package/dist/{chunk-GDME2OBZ.js → chunk-QI6MTLQF.js} +1 -1
  26. package/dist/{chunk-U2ZFCAPX.js → chunk-SITRHMZZ.js} +11 -8
  27. package/dist/{chunk-FW6NLFW2.js → chunk-T6UMXTUM.js} +1 -1
  28. package/dist/{chunk-DNEPOMOX.js → chunk-TKSKCYM3.js} +3 -1
  29. package/dist/{chunk-MQ7AZH5E.js → chunk-U4HFDAGW.js} +1 -1
  30. package/dist/{chunk-LQD232FW.js → chunk-WJ5EU3KW.js} +1 -1
  31. package/dist/{chunk-7GKAK7SG.js → chunk-XCXOAHAB.js} +3 -2
  32. package/dist/{chunk-NBKWY6XN.js → chunk-ZHR77OQI.js} +1 -1
  33. package/dist/{configuration-O6BMBYJZ.js → configuration-T75P2HCF.js} +1 -1
  34. package/dist/{configuration-C4IGBNXH.js → configuration-TXRAYMI4.js} +1 -1
  35. package/dist/{create-R7K3ECN6.js → create-3MUVY3UY.js} +1 -1
  36. package/dist/{create-5T2D7D4M.js → create-5AMF4EUU.js} +3 -3
  37. package/dist/{create-SFU3W3ZH.js → create-6DRXGPYA.js} +1 -1
  38. package/dist/{create-E75FI4OZ.js → create-7DTTZP3R.js} +25 -8
  39. package/dist/{create-VH33IROG.js → create-7GQDTYKQ.js} +3 -2
  40. package/dist/{create-YBF4YGWG.js → create-BHSMHOFN.js} +1 -1
  41. package/dist/{create-XVHOCZHJ.js → create-BVUZWMET.js} +1 -1
  42. package/dist/{create-G5DHEV55.js → create-ETLMKXIM.js} +35 -21
  43. package/dist/{create-MK6VRB4F.js → create-EXPTTUZO.js} +3 -3
  44. package/dist/{create-C5VKLWPC.js → create-LL2T7OYE.js} +3 -3
  45. package/dist/{create-OKYCDS6U.js → create-LOP7AF5N.js} +1 -1
  46. package/dist/{create-UPYB65PD.js → create-MKFDE32U.js} +1 -1
  47. package/dist/{create-F47J27YZ.js → create-QKINJHTJ.js} +9 -9
  48. package/dist/{create-JQSABIR4.js → create-RDUR6KJL.js} +1 -1
  49. package/dist/{create-5PSOIHIT.js → create-SYI6DVKM.js} +2 -2
  50. package/dist/{create-5NSIF5BL.js → create-TICEJWHQ.js} +1 -1
  51. package/dist/{create-SHDZQLXT.js → create-VBW6556Q.js} +2 -2
  52. package/dist/{create-VWZMWLSB.js → create-VWNQIVNZ.js} +2 -2
  53. package/dist/{create-AP4P3L3F.js → create-WJMGS2B7.js} +1 -1
  54. package/dist/{edit-KP5W2WAX.js → edit-2GQSJXEO.js} +1 -1
  55. package/dist/{edit-ZMERG3L7.js → edit-3VNT35DW.js} +1 -1
  56. package/dist/{edit-IOM4RMSJ.js → edit-6DK6L3ZI.js} +4 -4
  57. package/dist/{edit-ORXS3A2Y.js → edit-6DUTTLEV.js} +1 -1
  58. package/dist/{edit-3HTGOJCC.js → edit-7CSEVJUJ.js} +18 -57
  59. package/dist/{edit-XZL6WZRK.js → edit-ABKSKVBA.js} +1 -1
  60. package/dist/{edit-ZAHCMF5U.js → edit-FQDSESVI.js} +1 -1
  61. package/dist/{edit-QM7LQGYO.js → edit-GQH3ZU4F.js} +3 -3
  62. package/dist/{edit-GQNIINRR.js → edit-JSAWDK47.js} +1 -1
  63. package/dist/{edit-O4JLGKQR.js → edit-MKVDAUA5.js} +1 -1
  64. package/dist/{edit-WHRMHGLX.js → edit-NMKAE2Y4.js} +1 -1
  65. package/dist/{edit-SY3POWMU.js → edit-NWRDZAV4.js} +1 -1
  66. package/dist/{edit-TNLEIQJX.js → edit-PJCUMB6W.js} +4 -4
  67. package/dist/{edit-M5KYT35E.js → edit-PWIJSQCU.js} +1 -1
  68. package/dist/{edit-522DG3BY.js → edit-RBREBAQQ.js} +1 -1
  69. package/dist/{edit-Q3UQIOLS.js → edit-RQHOHZR6.js} +1 -1
  70. package/dist/{edit-66N4HDDX.js → edit-RSRNWEKW.js} +1 -1
  71. package/dist/{edit-C4OCKQVU.js → edit-SM2GHVKW.js} +1 -1
  72. package/dist/{edit-CDSNMD4A.js → edit-UJ5IIV4W.js} +1 -1
  73. package/dist/{edit-KAKVPHZZ.js → edit-UVY3TEHD.js} +1 -1
  74. package/dist/{edit-budget-L3CCEWNF.js → edit-budget-4JMGEPNF.js} +1 -1
  75. package/dist/{edit-inventory-item-EQRH4IH7.js → edit-inventory-item-IATGKWGS.js} +1 -1
  76. package/dist/{edit-inventory-item-attributes-J3NRDMGO.js → edit-inventory-item-attributes-WZO2GO2Q.js} +1 -1
  77. package/dist/{edit-price-BVHSQFEU.js → edit-price-BLBCH6EZ.js} +2 -2
  78. package/dist/{edit-stock-Y4KJHMYJ.js → edit-stock-JGXTMH47.js} +2 -2
  79. package/dist/fulfillment-YGUMAF56.js +654 -0
  80. package/dist/{fulfillment-providers-P3JWD7UN.js → fulfillment-providers-VSCNFCAB.js} +1 -1
  81. package/dist/index.css +3 -0
  82. package/dist/index.js +105 -105
  83. package/dist/{inventory-FCP7K3G3.js → inventory-2AE5RR7V.js} +2 -2
  84. package/dist/{invite-HSK2XQRX.js → invite-WVCIYV32.js} +1 -1
  85. package/dist/{media-CYFQMAEX.js → media-5YGSQZDI.js} +5 -4
  86. package/dist/{media-QMQ27X4G.js → media-73TSKPWM.js} +2 -1
  87. package/dist/{metadata-HDA6BLVR.js → metadata-2NVBJV7J.js} +2 -2
  88. package/dist/{metadata-5BPOBBU2.js → metadata-BCB4YCJI.js} +2 -2
  89. package/dist/{metadata-IIN4NLRH.js → metadata-BCIFAEXH.js} +2 -2
  90. package/dist/{metadata-KMWGUE7G.js → metadata-KS7EYPMD.js} +2 -2
  91. package/dist/{metadata-DBVAS7ZM.js → metadata-W7MOLOHZ.js} +2 -2
  92. package/dist/{metadata-43O67QUY.js → metadata-XIUJTRBY.js} +2 -2
  93. package/dist/{offer-create-page-DX327WMW.js → offer-create-page-KT4HKQWZ.js} +3 -3
  94. package/dist/{organization-A4IG4WAR.js → organization-YSOQXGGR.js} +2 -2
  95. package/dist/pages/index.js +12 -12
  96. package/dist/{payment-details-DBRT7W2N.js → payment-details-CSYYFVJ4.js} +1 -1
  97. package/dist/{pricing-2YFK2AR5.js → pricing-EZX3DQ5U.js} +3 -3
  98. package/dist/{pricing-MQBWOWKW.js → pricing-PBZ5NY6F.js} +2 -2
  99. package/dist/{product-variant-edit-7OCP6ZT7.js → product-variant-edit-F4AO6XQX.js} +1 -1
  100. package/dist/{products-KZLDM2QA.js → products-3W3HNFG2.js} +9 -9
  101. package/dist/{products-FGL7RHWE.js → products-QND6FIDH.js} +1 -1
  102. package/dist/{professional-details-IPTTXX52.js → professional-details-QT73KUKG.js} +1 -1
  103. package/dist/{profile-7AUYSTIZ.js → profile-BTN7M4HA.js} +1 -1
  104. package/dist/{promotions-75P5F3ZB.js → promotions-TB7XVCBJ.js} +4 -4
  105. package/dist/{receive-4IQGDJZU.js → receive-XGCTH7US.js} +1 -1
  106. package/dist/{refund-BVIKFQVS.js → refund-O4DJH7Y6.js} +1 -1
  107. package/dist/{register-CUKIMHHO.js → register-SOKUKD7W.js} +1 -1
  108. package/dist/{reset-password-MVLTJWIR.js → reset-password-67MLPGX5.js} +1 -1
  109. package/dist/{sales-channels-E6OYLORW.js → sales-channels-R6S6UQZQ.js} +1 -1
  110. package/dist/{shipment-2UN3V3OO.js → shipment-WYCW7YTA.js} +1 -1
  111. package/dist/{shipping-AYEJMMT6.js → shipping-D7TMNXBE.js} +1 -1
  112. package/dist/{shipping-profile-6DNDCV3D.js → shipping-profile-M3DXKELR.js} +1 -1
  113. package/dist/{stock-UWTFM2V7.js → stock-GUHPX6TN.js} +2 -2
  114. package/dist/{store-closure-7NGEFWM2.js → store-closure-D5M3F3DG.js} +1 -1
  115. package/package.json +1 -1
  116. package/dist/fulfillment-FU5QETOZ.js +0 -566
@@ -6,13 +6,13 @@ import {
6
6
  } from "./chunk-BWGPN6XV.js";
7
7
  import {
8
8
  StatusCell
9
- } from "./chunk-FW6NLFW2.js";
9
+ } from "./chunk-T6UMXTUM.js";
10
10
  import "./chunk-FMFVTERD.js";
11
11
  import "./chunk-DB6ANJBO.js";
12
12
  import {
13
13
  NoRecords
14
14
  } from "./chunk-3EF54XFY.js";
15
- import "./chunk-BSBEIZPO.js";
15
+ import "./chunk-FCPNNFM4.js";
16
16
  import {
17
17
  TwoColumnPage
18
18
  } from "./chunk-YV6MK4PZ.js";
@@ -1535,7 +1535,7 @@ var Header = () => {
1535
1535
  };
1536
1536
 
1537
1537
  // src/pages/orders/[id]/_components/order-fulfillment-section/order-fulfillment-section.tsx
1538
- import { XCircle } from "@medusajs/icons";
1538
+ import { DocumentText, XCircle } from "@medusajs/icons";
1539
1539
  import {
1540
1540
  Button as Button6,
1541
1541
  Container as Container7,
@@ -1642,7 +1642,23 @@ var UnfulfilledItemDisplay = ({
1642
1642
  /* @__PURE__ */ jsx19(Heading7, { level: "h2", children: t("orders.fulfillment.unfulfilledItems") }),
1643
1643
  /* @__PURE__ */ jsxs20("div", { className: "flex items-center gap-x-4", children: [
1644
1644
  requiresShipping && /* @__PURE__ */ jsx19(StatusBadge, { color: "red", className: "text-nowrap", children: t("orders.fulfillment.requiresShipping") }),
1645
- /* @__PURE__ */ jsx19(StatusBadge, { color: "red", className: "text-nowrap", children: t("orders.fulfillment.awaitingFulfillmentBadge") })
1645
+ /* @__PURE__ */ jsx19(StatusBadge, { color: "red", className: "text-nowrap", children: t("orders.fulfillment.awaitingFulfillmentBadge") }),
1646
+ /* @__PURE__ */ jsx19(
1647
+ ActionMenu,
1648
+ {
1649
+ groups: [
1650
+ {
1651
+ actions: [
1652
+ {
1653
+ label: t("orders.fulfillment.fulfillItems"),
1654
+ icon: /* @__PURE__ */ jsx19(DocumentText, {}),
1655
+ to: `/orders/${order.id}/fulfillment?requires_shipping=${requiresShipping}`
1656
+ }
1657
+ ]
1658
+ }
1659
+ ]
1660
+ }
1661
+ )
1646
1662
  ] })
1647
1663
  ] }),
1648
1664
  /* @__PURE__ */ jsx19("div", { children: unfulfilledItems.map((item) => /* @__PURE__ */ jsx19(
@@ -1652,14 +1668,7 @@ var UnfulfilledItemDisplay = ({
1652
1668
  currencyCode: order.currency_code
1653
1669
  },
1654
1670
  item.id
1655
- )) }),
1656
- /* @__PURE__ */ jsx19("div", { className: "px-6 py-4 flex justify-end", children: /* @__PURE__ */ jsx19(
1657
- Link3,
1658
- {
1659
- to: `/orders/${order.id}/fulfillment?requires_shipping=${requiresShipping}`,
1660
- children: /* @__PURE__ */ jsx19(Button6, { size: "small", children: t("orders.fulfillment.fulfillItems") })
1661
- }
1662
- ) })
1671
+ )) })
1663
1672
  ] });
1664
1673
  };
1665
1674
  var Fulfillment = ({
@@ -1702,6 +1711,7 @@ var Fulfillment = ({
1702
1711
  );
1703
1712
  const showShippingButton = !fulfillment.canceled_at && !fulfillment.shipped_at && !fulfillment.delivered_at && fulfillment.requires_shipping && !isPickUpFulfillment;
1704
1713
  const showDeliveryButton = !fulfillment.canceled_at && !fulfillment.delivered_at;
1714
+ const cancelDisabled = !!fulfillment.canceled_at || !!fulfillment.shipped_at || !!fulfillment.delivered_at;
1705
1715
  const handleMarkAsDelivered = async () => {
1706
1716
  const res = await prompt({
1707
1717
  title: t("general.areYouSure"),
@@ -1776,7 +1786,8 @@ var Fulfillment = ({
1776
1786
  label: t("actions.cancel"),
1777
1787
  icon: /* @__PURE__ */ jsx19(XCircle, {}),
1778
1788
  onClick: handleCancel,
1779
- disabled: !!fulfillment.canceled_at
1789
+ disabled: cancelDisabled,
1790
+ disabledTooltip: fulfillment.shipped_at ? t("orders.fulfillment.cancelDisabledTooltip") : void 0
1780
1791
  }
1781
1792
  ]
1782
1793
  }
@@ -1967,7 +1978,7 @@ var OrderBadge = ({ order }) => {
1967
1978
  };
1968
1979
 
1969
1980
  // src/pages/orders/[id]/_components/order-payment-section/order-payment-section.tsx
1970
- import { ArrowUturnLeft as ArrowUturnLeft2, DocumentText } from "@medusajs/icons";
1981
+ import { ArrowUturnLeft as ArrowUturnLeft2, DocumentText as DocumentText2 } from "@medusajs/icons";
1971
1982
  import {
1972
1983
  Badge,
1973
1984
  Container as Container9,
@@ -2156,7 +2167,7 @@ var RefundRow = ({
2156
2167
  /* @__PURE__ */ jsxs22("div", { className: "flex items-center gap-x-2", children: [
2157
2168
  /* @__PURE__ */ jsx21(Text19, { size: "small", leading: "compact", className: "text-ui-fg-subtle", children: t("orders.payment.refund") }),
2158
2169
  reasonLabel && /* @__PURE__ */ jsx21(Badge, { size: "2xsmall", rounded: "full", children: reasonLabel }),
2159
- refund.note && /* @__PURE__ */ jsx21(Tooltip3, { content: refund.note, children: /* @__PURE__ */ jsx21(DocumentText, { className: "text-ui-fg-subtle h-3 w-3" }) })
2170
+ refund.note && /* @__PURE__ */ jsx21(Tooltip3, { content: refund.note, children: /* @__PURE__ */ jsx21(DocumentText2, { className: "text-ui-fg-subtle h-3 w-3" }) })
2160
2171
  ] }),
2161
2172
  refund.created_at && /* @__PURE__ */ jsx21(Text19, { size: "xsmall", leading: "compact", className: "text-ui-fg-subtle", children: getFullDate({ date: refund.created_at, includeTime: true }) })
2162
2173
  ] }),
@@ -2175,7 +2186,7 @@ import {
2175
2186
  ArrowLongRight,
2176
2187
  ArrowPath as ArrowPath2,
2177
2188
  ArrowUturnLeft as ArrowUturnLeft3,
2178
- DocumentText as DocumentText2,
2189
+ DocumentText as DocumentText3,
2179
2190
  ExclamationCircle as ExclamationCircle2,
2180
2191
  PencilSquare,
2181
2192
  TriangleDownMini
@@ -2623,7 +2634,7 @@ var ReturnBreakdownWithDamages = ({
2623
2634
  /* @__PURE__ */ jsx24(Text21, { size: "small", children: t("orders.returns.damagedItemsReturned", {
2624
2635
  quantity: damagedQuantity
2625
2636
  }) }),
2626
- item.note && /* @__PURE__ */ jsx24(Tooltip5, { content: item.note, children: /* @__PURE__ */ jsx24(DocumentText2, { className: "text-ui-tag-neutral-icon ml-1 inline" }) }),
2637
+ item.note && /* @__PURE__ */ jsx24(Tooltip5, { content: item.note, children: /* @__PURE__ */ jsx24(DocumentText3, { className: "text-ui-tag-neutral-icon ml-1 inline" }) }),
2627
2638
  item.reason && /* @__PURE__ */ jsx24(
2628
2639
  Badge4,
2629
2640
  {
@@ -2681,7 +2692,7 @@ var ReturnBreakdown = ({
2681
2692
  requestedItemsCount: isRequested ? item.quantity : item.received_quantity
2682
2693
  }
2683
2694
  ) }),
2684
- item.note && /* @__PURE__ */ jsx24(Tooltip5, { content: item.note, children: /* @__PURE__ */ jsx24(DocumentText2, { className: "text-ui-tag-neutral-icon ml-1 inline" }) }),
2695
+ item.note && /* @__PURE__ */ jsx24(Tooltip5, { content: item.note, children: /* @__PURE__ */ jsx24(DocumentText3, { className: "text-ui-tag-neutral-icon ml-1 inline" }) }),
2685
2696
  item.reason && /* @__PURE__ */ jsx24(
2686
2697
  Badge4,
2687
2698
  {
@@ -7,8 +7,8 @@ import {
7
7
  import {
8
8
  usePromotionTableColumns,
9
9
  usePromotionTableQuery
10
- } from "./chunk-MQ7AZH5E.js";
11
- import "./chunk-FW6NLFW2.js";
10
+ } from "./chunk-U4HFDAGW.js";
11
+ import "./chunk-T6UMXTUM.js";
12
12
  import "./chunk-JHIMVLB2.js";
13
13
  import {
14
14
  usePromotionTableFilters
@@ -27,7 +27,7 @@ import "./chunk-3EF54XFY.js";
27
27
  import {
28
28
  currencies
29
29
  } from "./chunk-IQPN4PZJ.js";
30
- import "./chunk-BSBEIZPO.js";
30
+ import "./chunk-FCPNNFM4.js";
31
31
  import {
32
32
  TwoColumnPage
33
33
  } from "./chunk-YV6MK4PZ.js";
@@ -2,7 +2,7 @@ import {
2
2
  PriceListCreateProductsSchema,
3
3
  usePriceListCurrencyData,
4
4
  usePriceListGridColumns
5
- } from "./chunk-4NQJN4KR.js";
5
+ } from "./chunk-JM5J2RH7.js";
6
6
  import "./chunk-N335VHD3.js";
7
7
  import "./chunk-EBZ5VZEO.js";
8
8
  import "./chunk-4F5GP7J7.js";
@@ -56,7 +56,7 @@ import "./chunk-DB6ANJBO.js";
56
56
  import "./chunk-PHOCVOZ5.js";
57
57
  import {
58
58
  DataGrid
59
- } from "./chunk-DNEPOMOX.js";
59
+ } from "./chunk-TKSKCYM3.js";
60
60
  import "./chunk-26OOAKQ6.js";
61
61
  import {
62
62
  _DataTable,
@@ -70,7 +70,7 @@ import "./chunk-SMQT3ZNO.js";
70
70
  import "./chunk-TKGWSUEI.js";
71
71
  import {
72
72
  KeyboundForm
73
- } from "./chunk-U2ZFCAPX.js";
73
+ } from "./chunk-SITRHMZZ.js";
74
74
  import {
75
75
  RouteFocusModal,
76
76
  useRouteModal
@@ -8,7 +8,7 @@ import "./chunk-VBRTC2VU.js";
8
8
  import "./chunk-TKGWSUEI.js";
9
9
  import {
10
10
  KeyboundForm
11
- } from "./chunk-U2ZFCAPX.js";
11
+ } from "./chunk-SITRHMZZ.js";
12
12
  import {
13
13
  RouteFocusModal,
14
14
  useRouteModal
@@ -20,7 +20,7 @@ import "./chunk-3EF54XFY.js";
20
20
  import "./chunk-TKGWSUEI.js";
21
21
  import {
22
22
  KeyboundForm
23
- } from "./chunk-U2ZFCAPX.js";
23
+ } from "./chunk-SITRHMZZ.js";
24
24
  import {
25
25
  RouteFocusModal,
26
26
  useRouteModal
@@ -20,7 +20,7 @@ import "./chunk-KCHYLLVG.js";
20
20
  import "./chunk-3EF54XFY.js";
21
21
  import {
22
22
  KeyboundForm
23
- } from "./chunk-U2ZFCAPX.js";
23
+ } from "./chunk-SITRHMZZ.js";
24
24
  import {
25
25
  RouteFocusModal,
26
26
  useRouteModal
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  usePromotionTableColumns,
3
3
  usePromotionTableQuery
4
- } from "./chunk-MQ7AZH5E.js";
5
- import "./chunk-FW6NLFW2.js";
4
+ } from "./chunk-U4HFDAGW.js";
5
+ import "./chunk-T6UMXTUM.js";
6
6
  import "./chunk-JHIMVLB2.js";
7
7
  import {
8
8
  usePromotionTableFilters
@@ -18,11 +18,11 @@ import {
18
18
  import "./chunk-YN3FGNJM.js";
19
19
  import "./chunk-KCHYLLVG.js";
20
20
  import "./chunk-3EF54XFY.js";
21
- import "./chunk-BSBEIZPO.js";
21
+ import "./chunk-FCPNNFM4.js";
22
22
  import "./chunk-TKGWSUEI.js";
23
23
  import {
24
24
  KeyboundForm
25
- } from "./chunk-U2ZFCAPX.js";
25
+ } from "./chunk-SITRHMZZ.js";
26
26
  import {
27
27
  RouteFocusModal,
28
28
  useRouteModal
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  AddCampaignPromotionForm
3
- } from "./chunk-NBKWY6XN.js";
3
+ } from "./chunk-ZHR77OQI.js";
4
4
  import "./chunk-O7VOGTLX.js";
5
5
  import "./chunk-IQPN4PZJ.js";
6
6
  import "./chunk-TKGWSUEI.js";
7
- import "./chunk-U2ZFCAPX.js";
7
+ import "./chunk-SITRHMZZ.js";
8
8
  import {
9
9
  RouteDrawer
10
10
  } from "./chunk-GDWBOQI5.js";
@@ -6,7 +6,7 @@ import "./chunk-JRTZWK77.js";
6
6
  import "./chunk-TKGWSUEI.js";
7
7
  import {
8
8
  KeyboundForm
9
- } from "./chunk-U2ZFCAPX.js";
9
+ } from "./chunk-SITRHMZZ.js";
10
10
  import {
11
11
  RouteDrawer,
12
12
  useRouteModal
@@ -4,7 +4,7 @@ import {
4
4
  import "./chunk-TKGWSUEI.js";
5
5
  import {
6
6
  KeyboundForm
7
- } from "./chunk-U2ZFCAPX.js";
7
+ } from "./chunk-SITRHMZZ.js";
8
8
  import {
9
9
  RouteDrawer,
10
10
  useRouteModal
@@ -4,7 +4,7 @@ import {
4
4
  import "./chunk-TKGWSUEI.js";
5
5
  import {
6
6
  KeyboundForm
7
- } from "./chunk-U2ZFCAPX.js";
7
+ } from "./chunk-SITRHMZZ.js";
8
8
  import {
9
9
  RouteFocusModal,
10
10
  useRouteModal
@@ -15,7 +15,7 @@ import "./chunk-3EF54XFY.js";
15
15
  import "./chunk-TKGWSUEI.js";
16
16
  import {
17
17
  KeyboundForm
18
- } from "./chunk-U2ZFCAPX.js";
18
+ } from "./chunk-SITRHMZZ.js";
19
19
  import {
20
20
  RouteFocusModal,
21
21
  StackedFocusModal,
@@ -6,7 +6,7 @@ import "./chunk-JRTZWK77.js";
6
6
  import "./chunk-TKGWSUEI.js";
7
7
  import {
8
8
  KeyboundForm
9
- } from "./chunk-U2ZFCAPX.js";
9
+ } from "./chunk-SITRHMZZ.js";
10
10
  import {
11
11
  RouteDrawer,
12
12
  useRouteModal
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  usePromotionTableColumns,
3
3
  usePromotionTableQuery
4
- } from "./chunk-MQ7AZH5E.js";
4
+ } from "./chunk-U4HFDAGW.js";
5
5
  import {
6
6
  usePromotionTableFilters
7
7
  } from "./chunk-S2WEYEQR.js";
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  DataGrid,
6
6
  createDataGridHelper
7
- } from "./chunk-DNEPOMOX.js";
7
+ } from "./chunk-TKSKCYM3.js";
8
8
  import {
9
9
  HandleInput
10
10
  } from "./chunk-HJ56YXBU.js";
@@ -20,22 +20,22 @@ import {
20
20
  } from "./chunk-YVCBMOJG.js";
21
21
  import {
22
22
  SingleCategoryCombobox
23
- } from "./chunk-7GKAK7SG.js";
23
+ } from "./chunk-XCXOAHAB.js";
24
24
  import {
25
25
  useComboboxData
26
26
  } from "./chunk-OVPAOBZB.js";
27
27
  import {
28
28
  UploadMediaFormItem
29
- } from "./chunk-GDME2OBZ.js";
29
+ } from "./chunk-QI6MTLQF.js";
30
30
  import {
31
31
  PRODUCT_CREATE_FORM_DEFAULTS,
32
32
  ProductCreateSchema,
33
33
  generateVariantsFromAttributes,
34
34
  normalizeProductFormValues
35
- } from "./chunk-NN7E6UBM.js";
35
+ } from "./chunk-CQ7IPZLK.js";
36
36
  import {
37
37
  ChipInput
38
- } from "./chunk-YGRTRAWX.js";
38
+ } from "./chunk-KDE4HKH2.js";
39
39
  import {
40
40
  useAttributeTableQuery
41
41
  } from "./chunk-4YWKKCTT.js";
@@ -45,7 +45,7 @@ import {
45
45
  import {
46
46
  TabbedForm,
47
47
  useTabbedForm
48
- } from "./chunk-LQD232FW.js";
48
+ } from "./chunk-WJ5EU3KW.js";
49
49
  import {
50
50
  RouteFocusModal,
51
51
  StackedFocusModal,
@@ -866,7 +866,7 @@ var RequiredAttributes = () => {
866
866
  if (nextAttributes !== currentAttributes) {
867
867
  form.setValue("attributes", nextAttributes);
868
868
  }
869
- }, [product_attributes]);
869
+ }, [product_attributes, form]);
870
870
  if (!categoryId || !product_attributes?.length) return null;
871
871
  const requiredEntries = attributes.map((attr, index) => ({ attr, index })).filter(({ attr }) => !attr.is_custom);
872
872
  return /* @__PURE__ */ jsxs2(Fragment, { children: [
@@ -1784,7 +1784,7 @@ var ProductCreateForm = ({
1784
1784
  if (JSON.stringify(newVariants.map((v) => v.options)) !== JSON.stringify(currentVariants.map((v) => v.options))) {
1785
1785
  form.setValue("variants", newVariants);
1786
1786
  }
1787
- }, [watchedAttributes]);
1787
+ }, [watchedAttributes, form]);
1788
1788
  const submitProduct = async (values, isDraftSubmission) => {
1789
1789
  const media = values.media || [];
1790
1790
  const payload = { ...values, media: void 0 };
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-O7VOGTLX.js";
7
7
  import {
8
8
  KeyboundForm
9
- } from "./chunk-U2ZFCAPX.js";
9
+ } from "./chunk-SITRHMZZ.js";
10
10
  import {
11
11
  RouteFocusModal,
12
12
  useRouteModal
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-AJLGY3LQ.js";
4
4
  import {
5
5
  i18n
6
- } from "./chunk-BSBEIZPO.js";
6
+ } from "./chunk-FCPNNFM4.js";
7
7
 
8
8
  // src/pages/products/create/constants.ts
9
9
  import { z } from "zod";
@@ -445,6 +445,7 @@ var FileUpload = ({
445
445
  "input",
446
446
  {
447
447
  hidden: true,
448
+ "aria-label": "File upload",
448
449
  ref: inputRef,
449
450
  onChange: handleFileChange,
450
451
  type: "file",
@@ -495,6 +496,7 @@ var FileUpload = ({
495
496
  "input",
496
497
  {
497
498
  hidden: true,
499
+ "aria-label": "File upload",
498
500
  ref: inputRef,
499
501
  onChange: handleFileChange,
500
502
  type: "file",
@@ -9329,7 +9329,7 @@ var en_default = {
9329
9329
  placeholder: "Small, Medium, Large"
9330
9330
  },
9331
9331
  productVariants: {
9332
- searchPlaceholder: "Search variants...",
9332
+ searchPlaceholder: "Search",
9333
9333
  media: "Media",
9334
9334
  tip: "Only variants with prices and stock will be visible to customers.",
9335
9335
  label: "Product variants",
@@ -10254,19 +10254,21 @@ var en_default = {
10254
10254
  },
10255
10255
  edits: {
10256
10256
  title: "Edit order",
10257
- confirm: "Confirm Edit",
10257
+ confirm: "Confirm",
10258
10258
  confirmText: "You are about to confirm an Order Edit. This action cannot be undone.",
10259
- cancel: "Cancel Edit",
10259
+ cancel: "Cancel",
10260
10260
  currentItems: "Current items",
10261
10261
  currentItemsDescription: "Adjust item quantity or remove.",
10262
10262
  addItemsDescription: "You can add new items to the order.",
10263
10263
  addItems: "Add items",
10264
10264
  amountPaid: "Amount paid",
10265
10265
  newTotal: "New total",
10266
- differenceDue: "Difference due",
10266
+ differenceDue: "Estimated difference",
10267
10267
  create: "Edit Order",
10268
10268
  currentTotal: "Current total",
10269
10269
  noteHint: "Add an internal note for the edit",
10270
+ sendNotification: "Send notification",
10271
+ sendNotificationHint: "Notify customer about edit.",
10270
10272
  cancelSuccessToast: "Order edit canceled",
10271
10273
  createSuccessToast: "Order edit request created",
10272
10274
  activeChangeError: "There is already active order change on the order (return, claim, exchange etc.). Please finish or cancel the change before editing the order.",
@@ -10530,9 +10532,14 @@ var en_default = {
10530
10532
  },
10531
10533
  fulfillment: {
10532
10534
  cancelWarning: "You are about to cancel a fulfillment. This action cannot be undone.",
10535
+ cancelDisabledTooltip: "A shipped fulfillment can no longer be canceled.",
10533
10536
  markAsDeliveredWarning: "You are about to mark fulfillment as delivered. This action cannot be undone.",
10534
10537
  differentOptionSelected: "The selected shipping option is different from the one selected by the customer.",
10535
- disabledItemTooltip: "The shipping option you have selected don\u2019t allow fulfillment of this item",
10538
+ disabledItemTooltip: "The location or shipping option you have selected don\u2019t allow fulfillment of this item.",
10539
+ noInventoryLevel: {
10540
+ title: "No inventory level",
10541
+ description: "The selected location does not have an inventory level for the selected items. To proceed with fulfillment, create an inventory level for selected location."
10542
+ },
10536
10543
  unfulfilledItems: "Unfulfilled Items",
10537
10544
  statusLabel: "Fulfillment status",
10538
10545
  statusTitle: "Fulfillment Status",
@@ -31083,7 +31090,7 @@ var pl_default = {
31083
31090
  hint: "Ta kolejno\u015B\u0107 wp\u0142ynie na porz\u0105dek wariant\xF3w w Twoim sklepie.",
31084
31091
  alert: "Dodaj opcje, aby utworzy\u0107 warianty.",
31085
31092
  tip: "Warianty, kt\xF3re nie zosta\u0142y wybrane, nie zostan\u0105 utworzone. Mo\u017Cesz zawsze p\xF3\u017Aniej doda\u0107 i edytowa\u0107 warianty.",
31086
- searchPlaceholder: "Wyszukaj warianty...",
31093
+ searchPlaceholder: "Wyszukaj",
31087
31094
  media: "Media"
31088
31095
  },
31089
31096
  productOptions: {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  KeyboundForm
3
- } from "./chunk-U2ZFCAPX.js";
3
+ } from "./chunk-SITRHMZZ.js";
4
4
  import {
5
5
  RouteDrawer,
6
6
  useRouteModal
@@ -5,7 +5,7 @@ import {
5
5
  DataGrid,
6
6
  createDataGridHelper,
7
7
  createDataGridPriceColumns
8
- } from "./chunk-DNEPOMOX.js";
8
+ } from "./chunk-TKSKCYM3.js";
9
9
  import {
10
10
  Thumbnail
11
11
  } from "./chunk-WIYFXWRI.js";
@@ -135,6 +135,7 @@ var ChipInput = forwardRef(
135
135
  /* @__PURE__ */ jsx(
136
136
  "input",
137
137
  {
138
+ "aria-label": "Chip input",
138
139
  className: clx(
139
140
  "caret-ui-fg-base text-ui-fg-base txt-compact-small flex-1 appearance-none bg-transparent",
140
141
  "disabled:text-ui-fg-disabled disabled:cursor-not-allowed",
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  PriceListUpdateProductsSchema,
3
3
  usePriceListGridColumns
4
- } from "./chunk-4NQJN4KR.js";
4
+ } from "./chunk-JM5J2RH7.js";
5
5
  import {
6
6
  isProductRow
7
7
  } from "./chunk-XRNDVICA.js";
8
8
  import {
9
9
  DataGrid
10
- } from "./chunk-DNEPOMOX.js";
10
+ } from "./chunk-TKSKCYM3.js";
11
11
  import {
12
12
  castNumber
13
13
  } from "./chunk-SMQT3ZNO.js";
14
14
  import {
15
15
  KeyboundForm
16
- } from "./chunk-U2ZFCAPX.js";
16
+ } from "./chunk-SITRHMZZ.js";
17
17
  import {
18
18
  RouteFocusModal,
19
19
  useRouteModal
@@ -9,7 +9,7 @@ import {
9
9
  useCombinedRefs,
10
10
  useDataGridCell,
11
11
  useDataGridCellError
12
- } from "./chunk-DNEPOMOX.js";
12
+ } from "./chunk-TKSKCYM3.js";
13
13
  import {
14
14
  currencies
15
15
  } from "./chunk-IQPN4PZJ.js";
@@ -18,7 +18,7 @@ import {
18
18
  } from "./chunk-SMQT3ZNO.js";
19
19
  import {
20
20
  KeyboundForm
21
- } from "./chunk-U2ZFCAPX.js";
21
+ } from "./chunk-SITRHMZZ.js";
22
22
  import {
23
23
  StackedFocusModal
24
24
  } from "./chunk-GDWBOQI5.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  FileUpload,
3
3
  formatFileSize
4
- } from "./chunk-NN7E6UBM.js";
4
+ } from "./chunk-CQ7IPZLK.js";
5
5
  import {
6
6
  Form
7
7
  } from "./chunk-3QSRE5LS.js";
@@ -17,14 +17,17 @@ var KeyboundForm = React.forwardRef(({ onSubmit, onKeyDown, ...rest }, ref) => {
17
17
  }
18
18
  }
19
19
  };
20
- return /* @__PURE__ */ jsx(
21
- "form",
22
- {
23
- ...rest,
24
- onSubmit: handleSubmit,
25
- onKeyDown: onKeyDown ?? handleKeyDown,
26
- ref
27
- }
20
+ return (
21
+ // oxlint-disable-next-line jsx-a11y/no-noninteractive-element-interactions
22
+ /* @__PURE__ */ jsx(
23
+ "form",
24
+ {
25
+ ...rest,
26
+ onSubmit: handleSubmit,
27
+ onKeyDown: onKeyDown ?? handleKeyDown,
28
+ ref
29
+ }
30
+ )
28
31
  );
29
32
  });
30
33
  KeyboundForm.displayName = "KeyboundForm";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-DB6ANJBO.js";
4
4
  import {
5
5
  i18n
6
- } from "./chunk-BSBEIZPO.js";
6
+ } from "./chunk-FCPNNFM4.js";
7
7
 
8
8
  // src/lib/promotions.ts
9
9
  var promotionStatusMap = {
@@ -3391,8 +3391,8 @@ var DataGridHeader = ({
3391
3391
  }
3392
3392
  )
3393
3393
  ] }),
3394
- headerContent,
3395
3394
  /* @__PURE__ */ jsxs9("div", { className: "ml-auto flex items-center gap-x-2", children: [
3395
+ headerContent,
3396
3396
  errorCount > 0 && /* @__PURE__ */ jsxs9(
3397
3397
  Button2,
3398
3398
  {
@@ -3598,6 +3598,7 @@ var DataGridRowSkeleton = ({
3598
3598
  "div",
3599
3599
  {
3600
3600
  role: "gridcell",
3601
+ "aria-label": "Cell input",
3601
3602
  style: { width: vc.size },
3602
3603
  className: "relative flex items-center border-b border-r p-0 outline-none",
3603
3604
  children: /* @__PURE__ */ jsx12("div", { className: "flex h-full w-full items-center px-4", children: /* @__PURE__ */ jsx12("div", { className: "bg-ui-bg-component h-4 w-3/4 animate-pulse rounded" }) })
@@ -4220,6 +4221,7 @@ var Inner8 = ({
4220
4221
  /* @__PURE__ */ jsx18(
4221
4222
  "input",
4222
4223
  {
4224
+ "aria-label": "Toggle",
4223
4225
  ref: combinedRefs,
4224
4226
  className: "sr-only",
4225
4227
  onFocus,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  StatusCell
3
- } from "./chunk-FW6NLFW2.js";
3
+ } from "./chunk-T6UMXTUM.js";
4
4
  import {
5
5
  TextCell,
6
6
  TextHeader
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  KeyboundForm
3
- } from "./chunk-U2ZFCAPX.js";
3
+ } from "./chunk-SITRHMZZ.js";
4
4
  import {
5
5
  RouteFocusModal
6
6
  } from "./chunk-GDWBOQI5.js";
@@ -99,7 +99,8 @@ var SingleCategoryCombobox = forwardRef(({ value, onChange, className, ...props
99
99
  innerRef.current?.focus();
100
100
  };
101
101
  },
102
- [value, onChange]
102
+ // oxlint-disable-next-line react-hooks/exhaustive-deps
103
+ [value, onChange, handleOpenChange]
103
104
  );
104
105
  function handleOpenChange(open2) {
105
106
  if (!open2) {
@@ -260,7 +261,6 @@ var SingleCategoryCombobox = forwardRef(({ value, onChange, className, ...props
260
261
  "button",
261
262
  {
262
263
  "data-active": focusedIndex === 0,
263
- role: "button",
264
264
  className: clx(
265
265
  "transition-fg grid w-full appearance-none grid-cols-[20px_1fr] items-center justify-center gap-2 rounded-md px-2 py-1.5 text-start outline-none",
266
266
  "data-[active=true]:bg-ui-bg-field-hover"
@@ -295,6 +295,7 @@ var SingleCategoryCombobox = forwardRef(({ value, onChange, className, ...props
295
295
  "data-active": showLevelUp ? focusedIndex === index + 1 : focusedIndex === index,
296
296
  type: "button",
297
297
  role: "option",
298
+ "aria-selected": value === option.value,
298
299
  className: clx(
299
300
  "grid h-full w-full appearance-none grid-cols-[20px_1fr] items-center gap-2 overflow-hidden rounded-md px-2 py-1.5 text-start outline-none",
300
301
  "data-[active=true]:bg-ui-bg-field-hover"