PageSourceSearch

https://partners.tailoredindustry.com/3120.35346a8a5e0b2899f1b9.js

js tailoredindustry.com collected 2026-10-03 23:26:46 UTC 8,478 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackChunktailored_industry||=[]).push([[3120],{48258(I,v,e){e.d(v,{j:()=>A});var t=e(74848),u=e(29900),r=e(33672),j=e(427),a=e(54650),l=e(92962),h=e(87564),c=e(21244),s=e(64223),m=e(81623),x=e(30995),o=e(93312),f=e(96540);function E(){const{makeTarget:p}=(0,r.zE)(),{completeTour:F,startTour:M}=r.Ay.Manager.useContext(),P=(0,f.useCallback)(()=>{F(r.Li.embroidery),M(r.Li.embroideryCreate)},[F,M]),D=(0,f.useMemo)(()=>[{target:"body",placement:"center",content:(0,t.jsx)(r.Ay.WelcomeStep,{title:"Embroidery",children:"Create and manage embroidery designs for your products."}),disableBeacon:!0},{target:p(S=>S.embroidery.createButton),title:"Create Embroidery",content:"Start a new embroidery request.",learnMoreButton:(0,t.jsx)(a.Ay.Button,{size:"small",variant:"contained",onClick:P,uppercase:!0,children:"Learn More"}),disableBeacon:!0}],[p,P]);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.Ay.Toolbar,{children:(0,t.jsxs)(r.Ay.Help,{children:[(0,t.jsx)(r.Ay.Open,{tourId:r.Li.embroidery,route:s.Ay.embroideries(),variant:"text",color:"inherit",children:"Overview"}),(0,t.jsx)(a.Ay,{withTour:!0,variant:"text",color:"inherit",startIcon:null,children:"Create Embroidery"})]})}),(0,t.jsx)(r.Ay,{id:r.Li.embroidery,steps:D,tryRoute:s.Ay.embroideries()})]})}const y={type:r.P2.embroidery.form.type,artwork:r.P2.embroidery.form.artwork,attachments:r.P2.embroidery.form.attachments,dst:r.P2.embroidery.form.dst,instructions:r.P2.embroidery.form.instructions};function A(){const F=(0,j.A)()?.params?.embroideryId,M=a.Ay.useEmbroideryCreate();return(0,t.jsxs)(a.Ay.Provider,{...M,children:[(0,t.jsx)(E,{}),(0,t.jsxs)(u.A.Partner,{title:(0,t.jsx)(m.A,{}),actions:(0,t.jsxs)(x.A,{flexDirection:"row",justifyContent:"space-between",children:[o.A.isMobile&&(0,t.jsx)(m.A,{}),(0,t.jsxs)(x.A,{flexDirection:"row",children:[(0,t.jsx)(h.A,{}),(0,t.jsx)(a.Ay.Modal,{children:(0,t.jsx)(a.Ay.Form,{tourTargets:y})}),(0,t.jsx)(a.Ay.Button,{tourTarget:r.P2.embroidery.createButton,children:o.A.isMobile?null:"Create"})]})]}),children:[(0,t.jsx)(c.A,{skip:!!F,showEmpty:!F}),(0,t.jsx)(l.A,{embroideryId:F,route:()=>s.Ay.embroidery(F),backRoute:s.Ay.embroideries,hidden:!0})]})]})}},87564(I,v,e){e.d(v,{A:()=>c});var t=e(74848),u=e(96540),r=e(96443),j=e(2454),a=e(29840),l=e(93634);function h(){const s=(0,j.G)(l.aI),m=p=>{o.addInUrl(p,!0)},x=()=>{o.removeFromUrl()},o=r.A.useFilter({filters:s,onFilter:m,onReset:x}),f=()=>o.getFromUrl(),E=!!o.getAsString(),{useEmbroideryFiltersQuery:y}=a.d,{isLoading:A}=y(void 0,{skip:!o.visible&&!E});return(0,u.useEffect)(()=>{A||o.setActiveFilters(f())},[o.visible,A]),(0,t.jsx)(r.A.Provider,{loading:A,...o,children:(0,t.jsx)(r.A.Popover,{children:(0,t.jsx)(r.A.View,{})})})}const c=h},21244(I,v,e){e.d(v,{A:()=>Y});var t=e(74848),u=e(29614),r=e(92962),j=e(34605),a=e(93312),l=e(96540),h=e(28811),c=e(71935),s=e(25903),m=e(46636),x=e(285),o=e(21027),f=e(79013),E=e(86268),y=e(30995);function A({embroideries:n,extraRight:g,...b}){const d=(0,l.useMemo)(()=>[{field:"type",label:"Type",span:3,sortable:!0,renderField:i=>(0,t.jsx)(E.A,{embroidery:i})},{field:"name",label:"Name",span:6,sortable:!0,renderField:i=>(0,t.jsx)(x.A,{embroidery:i})},{field:"status",label:"Status",span:3,sortable:!0,renderField:i=>(0,t.jsx)(o.A,{embroidery:i})},{field:"time",label:"Time",span:3,sortable:!0,renderField:i=>(0,t.jsx)(f.A,{embroidery:i})},{label:"Brand Partner",span:5,sortable:!0,renderField:i=>(0,t.jsx)(m.A,{embroidery:i,showStk:!1})},{field:"created",label:"Created",span:4,sortable:!0,renderField:i=>(0,t.jsx)(h.A,{date:i?.created,withoutYear:!0})}],[]);return(0,t.jsx)(c.A,{config:d,items:n,extraRightWidth:180,extraRight:i=>(0,t.jsxs)(y.A,{flexDirection:"row",alignItems:"center",gap:.5,children:[(0,t.jsx)(s.A,{embroidery:i,variant:"text",uppercase:!0,children:"Approve"}),g?.(i)]}),...b})}function p({embroideries:n,...g}){const b=(0,l.useMemo)(()=>[{field:"type",label:"Type",span:3,sortable:!0,renderField:d=>(0,t.jsx)(E.A,{embroidery:d})},{field:"name",label:"Name",span:9,sortable:!0,renderField:d=>(0,t.jsx)(x.A,{embroidery:d})},{field:"status",label:"Status",span:4,sortable:!0,renderField:d=>(0,t.jsx)(o.A,{embroidery:d})},{field:"time",label:"Time",span:4,sortable:!0,renderField:d=>(0,t.jsx)(f.A,{embroidery:d})},{field:"created",label:"Created",span:4,sortable:!0,renderField:d=>(0,t.jsx)(h.A,{date:d?.created,withoutYear:!0})}],[]);return(0,t.jsx)(c.A,{config:b,items:n,...g})}var F=e(35861),M=e(28401),P=e(33551);function D({embroidery:n,urlBased:g,...b}){const d=g?r.A.Link:r.A;return(0,t.jsxs)(c.A.CompactItem,{justifyContent:"space-between",flexDirection:"row",fontSize:"small",...b,children:[(0,t.jsxs)(y.A,{flexDirection:"row",gap:1.5,alignItems:"flex-start",children:[(0,t.jsx)(u.A,{embroidery:n}),(0,t.jsxs)(y.A,{gap:1,alignItems:"flex-start",children:[(0,t.jsx)(P.A,{variant:"body2",children:n?.name}),(0,t.jsxs)(y.A,{flexDirection:"row",alignItems:"center",gap:.5,children:[(0,t.jsx)(E.A,{embroidery:n}),(0,t.jsx)(m.A,{embroidery:n})]}),(0,t.jsx)(f.A,{embroidery:n,prefix:"Time"}),(0,t.jsxs)(y.A,{flexDirection:"row",alignItems:"center",gap:.5,children:[(0,t.jsx)(F.A,{embroidery:n,prefix:"H"}),(0,t.jsx)(M.A,{embroidery:n,prefix:"W"})]})]})]}),(0,t.jsxs)(y.A,{flexDirection:"column",justifyContent:"space-between",alignItems:"flex-end",children:[(0,t.jsx)(o.A,{embroidery:n}),(0,t.jsx)(s.A,{embroidery:n,variant:"text",uppercase:!0,children:"Approve"}),(0,t.jsx)(d,{embroideryId:n?._id,children:"View"})]})]})}const S=D;var Z=e(59182),U=e(2454),H=e(50711),W=e(87084),G=e(29840),N=e(93634),Q=e(51161);function O({skip:n}={}){const g=(0,H.A)(),{useEmbroideriesQuery:b}=G.d,{loading:d,paginationData:i,response:R}=b({limit:12,...g.getAll()},{skip:!!n,selectFromResult:C=>({paginationData:{total:C.data?.total,offset:C.data?.offset,limit:C.data?.limit},response:C.data,loading:C.isFetching})}),{useBrandPartnersQuery:V}=W.e,{isLoading:B}=V({limit:0},{skip:!j.A.isAdminZone()}),z=(0,l.useMemo)(()=>({embroideryIds:(0,Q._)(R?.embroideries,{field:"_id"})}),[R]),L=(0,U.G)(C=>(0,N.ke)(C,z));return{paginationData:i,embroideries:L,fetching:d||B}}T.useEmbroideryList=O,T.AdminView=A,T.PartnerView=p;function T({skip:n,urlBased:g=!0,isMobile:b=a.A.isMobile,...d}){const i=O({skip:n}),R=j.A.isAdminZone()?T.AdminView:T.PartnerView,V=L=>{const C=g?r.A.Link:r.A;return(0,t.jsx)(C,{embroideryId:L?._id,children:"View"})},B=L=>
1(0,t.jsx)(u.A,{embroidery:L}),z=b&&(L=>(0,t.jsx)(S,{embroidery:L,urlBased:g}));return(0,t.jsx)(R,{extraRight:V,extraLeft:B,renderItem:z,isMobile:b,hideHeader:b,urlBased:g,...i,...d})}const Y=T},83120(I,v,e){e.r(v),e.d(v,{default:()=>E});var t=e(74848),u=e(34605),r=e(29900),j=e(427),a=e(54650),l=e(92962),h=e(87564),c=e(21244),s=e(64223),m=e(66777);function x(){const A=(0,j.A)()?.params?.embroideryId;return(0,t.jsxs)(r.A.Admin,{title:(0,t.jsx)(m.A,{}),actions:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(h.A,{}),(0,t.jsx)(a.Ay,{children:"Create"})]}),children:[(0,t.jsx)(c.A,{skip:!!A,showEmpty:!A}),(0,t.jsx)(l.A,{embroideryId:A,route:()=>s.Ay.embroidery(A),backRoute:s.Ay.embroideries,hidden:!0})]})}var o=e(48258);function f(){return u.A.isAdminZone()?(0,t.jsx)(x,{}):(0,t.jsx)(o.j,{})}const E=f},81623(I,v,e){e.d(v,{A:()=>c});var t=e(74848),u=e(96540),r=e(28454),j=e(64223),a=e(35496),l=e(93312);function h({tourTarget:s,...m}){const x=(0,u.useMemo)(()=>[{route:a.Ay.myDevelopments(),label:"Requests"},{label:"Embroidery",route:j.Ay.embroideries()}],[]);return(0,t.jsx)(r.A,{mode:"dropdown",dropdownProps:{anchorColor:l.A.isMobile?"inherit":"primary",anchorVariant:l.A.isMobile?"text":"contained",uppercase:l.A.isMobile},items:x,size:"medium","data-tour-target":s,...m})}const c=h},66777(I,v,e){e.d(v,{A:()=>o});var t=e(74848),u=e(96540),r=e(61973),j=e(28454),a=e(63901),l=e(99190),h=e(41988),c=e(64223),s=e(35496),m=e(93312);function x({tourTarget:f,...E}){const y=(0,u.useMemo)(()=>[s.Ay.requests(),s.Ay.boardRequests()].some(p=>!!(0,r.B6)({path:p,end:!1},location.pathname)),[location.pathname]),A=(0,u.useMemo)(()=>[{route:s.Ay.requests(),label:"Requests",icon:(0,t.jsx)(h.A,{}),isActive:y},{route:s.Ay.archivedRequests(),label:"Requests Archive",icon:(0,t.jsx)(a.A,{})},{label:"Embroidery",route:c.Ay.embroideries(),icon:(0,t.jsx)(l.default,{})}],[]);return(0,t.jsx)(j.A,{mode:"dropdown",dropdownProps:{anchorColor:m.A.isMobile?"inherit":"primary",anchorVariant:m.A.isMobile?"text":"contained",uppercase:m.A.isMobile},items:A,size:"medium","data-tour-target":f,...E})}const o=x}}]);

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.