1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3289],{83718:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/catalog/[companyName]/shipment",function(){return t(58490)}])},58490:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSG:function(){return E},default:function(){return P}});var i=t(85893),l=t(71383),a=t(94339),r=t(14924),c=t(26042),s=t(69396),o=t(29815),u=t(81719),d=t(70918),h=t(86777),g=t(90244),m=t(93978),f=t(69417),x=t(5605),p=t(67294),Z=t(89369),j=t(79498),_=t(96382),S=t(15380),N=t(11071),v=t(63135),I=(0,u.ZP)(d.Z)((function(e){e.theme;return{border:"1px solid #e0e0e0"}}));var b=function(e){var n=(0,a.Xn)(),t=n.catalogShipmentItemList,l=n.catalogShipmentItemCount,u=n.filters,d=n.setFilters,b=n.loading,y=n.page,k=n.pageSize,w=n.companyName,C=n.selectedIds,E=n.setSelectedIds,P=(0,p.useCallback)((function(e,n){d((function(t){return(0,s.Z)((0,c.Z)({},t),(0,r.Z)({},e,n))}))}),[d]),O=(0,p.useCallback)((function(e){e&&E((function(n){return n.includes(e)?n.filter((function(n){return n!==e})):(0,o.Z)(n).concat([e])}))}),[E]),R=(0,p.useMemo)((function(){return C.length>0&&C.length===t.length}),[t,C]),T=(0,p.useMemo)((function(){return C.length>0&&C.length<t.length}),[t,C]),z=(0,p.useCallback)((function(){E((function(e){return e.length===t.length?[]:t.map((function(e){return e.orderItemId}))}))}),[t,E]);return(0,i.jsxs)("div",{className:"relative",children:[(0,i.jsx)(_.Z,{companyName:w,activeStep:S.t.READY_TO_SHIP}),(0,i.jsx)(Z.Z,{filters:u,handleFilter:P,hasEstimateShippingRateDialog:!0}),(0,i.jsx)(h.Z,{component:I,children:(0,i.jsxs)(g.Z,{sx:{minWidth:650},size:"small","aria-label":"a dense table",children:[(0,i.jsx)(m.Z,{children:(0,i.jsxs)(f.Z,{children:[(0,i.jsx)(x.Z,{align:"left",children:(0,i.jsx)(N.Z,{onSelectAll:z,checked:R,indeterminate:T})}),(0,i.jsx)(x.Z,{align:"center",children:"#"}),(0,i.jsx)(x.Z,{children:"Order #"}),(0,i.jsx)(x.Z,{align:"left",children:"SKU"}),(0,i.jsx)(x.Z,{align:"left",children:"Barcode"}),(0,i.jsx)(x.Z,{align:"center",children:"Image"}),(0,i.jsx)(x.Z,{align:"right",children:"Ready to Ship"}),(0,i.jsx)(x.Z,{align:"right",children:"Total Qty"}),(0,i.jsxs)(x.Z,{align:"right",children:["Price ",(0,i.jsxs)("span",{className:"font-bold",children:["[","$\xa3\xa5","]"]})]}),(0,i.jsx)(x.Z,{align:"right",children:"Payment"})]})}),(0,i.jsx)(v.Z,{catalogShipmentItemList:t,handleFilter:P,loading:b,onSelectRow:O,selectedIds:C})]})}),(0,i.jsx)(j.Z,{totalItemCount:l,page:y,pageSize:k})]})},y=t(85769),k=t(63121),w=t(78142),C=function(){var e=(0,w._Y)(),n=(0,k.w)({companyName:e});return(0,i.jsx)("div",{className:"mx-auto max-w-7xl px-4 py-6 lg:px-0",children:(0,i.jsxs)(a.ke,{companyName:null===n||void 0===n?void 0:n.name,children:[(0,i.jsx)(l.Z,{label:"Shipment"}),(0,i.jsx)(b,{})]})})},E=!0,P=C;C.getLayout=function(e){return(0,i.jsx)(y.Z,{children:e})},C.guestGuard=!1,C.authGuard=!1,C.setConfig=function(){return{mode:"light"}}}},function(e){e.O(0,[2876,630,4980,4577,7536,1524,4231,5428,1718,5836,5734,3747,1717,2268,9591,2512,1090,7247,5780,1280,2020,8507,3021,1115,7384,4738,5686,9495,6732,9588,5646,9714,2068,6778,1039,4503,6446,2180,7297,309,7545,9329,9721,1197,7302,4015,5992,5769,4760,8321,2740,9774,2888,179],(function(){return n=83718,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.