PageSourceSearch

https://cdn.jmty.jp/_next/static/chunks/pages/jmty_spot_management…item_qr_codes_republish-255d78cc8f1c43e7.js

js jmty.jp collected 2026-10-01 09:21:02 UTC 5,373 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1622],{972:(e,t,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/jmty_spot_management/reuse_item_qr_codes_republish",function(){return s(58426)}])},8563:(e,t,s)=>{"use strict";s.d(t,{x:()=>c});var n=s(37876);s(14232);var r=s(43617),i=s(21499);let a=i.vv.create({wrapper:{width:"25%",position:"relative",display:"flex"},wrapperAdjust:{paddingTop:"".concat(29.7/52.5*100,"%")},wrapperAdjustLastRow:{paddingTop:"".concat(29.69/52.5*100,"%")},content:{position:"absolute",border:"none",top:0,bottom:"0",left:"0",right:"0",display:"flex",justifyContent:"space-between",flexDirection:"row",margin:"7.5%"},contentLeftSpace:{width:"53%",fontSize:"11px"},contentRightSpace:{width:"47%",display:"flex",justifyContent:"center",flexDirection:"column"},contentRightSpaceText:{fontSize:"7pt",fontFamily:"Nasu-Regular",textAlign:"center"}}),c=e=>{let t=JSON.stringify({id:e.id,management_code:e.management_code}),s="";return r.toDataURL(t,(e,t)=>{s=t}),(0,n.jsxs)(i.Ss,{style:a.wrapper,children:[(0,n.jsx)(i.Ss,{style:e.lastRowItem?a.wrapperAdjustLastRow:a.wrapperAdjust}),(0,n.jsxs)(i.Ss,{style:a.content,children:[(0,n.jsxs)(i.Ss,{style:a.contentLeftSpace,children:[(0,n.jsx)(i.EY,{children:e.management_code}),(0,n.jsx)(i.EY,{children:"\xa5"})]}),(0,n.jsxs)(i.Ss,{style:a.contentRightSpace,children:[(0,n.jsx)(i.EY,{style:a.contentRightSpaceText,children:"商品管理QR"}),(0,n.jsx)(i._V,{src:s})]})]})]})}},50477:()=>{},58426:(e,t,s)=>{"use strict";s.r(t),s.d(t,{__N_SSG:()=>v,default:()=>S});var n=s(37876),r=s(14232),i=s(14736),a=s(21499),c=s(8563);let l=a.vv.create({wrapper:{width:"25%",position:"relative",display:"flex"},wrapperAdjust:{paddingTop:"".concat(29.7/52.5*100,"%")},wrapperAdjustLastRow:{paddingTop:"".concat(29.69/52.5*100,"%")},content:{position:"absolute",border:"none",top:0,bottom:"0",left:"0",right:"0",display:"flex",justifyContent:"space-between",flexDirection:"row",margin:"7.5%"}}),o=e=>(0,n.jsxs)(a.Ss,{style:l.wrapper,children:[(0,n.jsx)(a.Ss,{style:e.lastRowItem?l.wrapperAdjustLastRow:l.wrapperAdjust}),(0,n.jsx)(a.Ss,{style:l.content})]}),d=a.vv.create({cardList:{display:"flex",flexWrap:"wrap",flexDirection:"row"}}),p=e=>(0,n.jsx)(a.yo,{title:"ジモスポ管理QRシート再発行",onRender:e.onRender,children:(0,n.jsx)(a.YW,{size:"A4",children:(0,n.jsxs)(a.Ss,{style:d.cardList,children:[[...Array(e.numberOfEmptyCard)].map((e,t)=>(0,n.jsx)(o,{lastRowItem:t%40>35},t)),e.reuseItemIds.map((t,s)=>(0,n.jsx)(c.x,{id:t.id,management_code:t.management_code,lastRowItem:(e.numberOfEmptyCard+s)%40>35},t.id))]})})});var u=s(929),m=s(88495),h=s(84345),x=s(51854),f=s(29728);let j={get:e=>(0,f.w)(f.S.get("/web_api/v1/jmty_spot/republish_reuse_item_ids",{params:{reuse_item_search_keys:e}}))};var y=s(630),_=s(75658);let w=i.Ay.div.withConfig({componentId:"sc-cd88394b-0"})(["width:100%;min-height:75vh;position:relative;display:flex;justify-content:center;align-items:center;flex-direction:column;"]),g=i.Ay.div.withConfig({componentId:"sc-cd88394b-1"})(["width:100%;height:100%;position:absolute;top:0;display:flex;justify-content:center;align-items:center;background:",";opacity:0.8;"],e=>e.theme.colors.system.surface);var v=!0;let S=()=>{let[e,t]=(0,r.useState)([""]),[s,i]=(0,r.useState)([]),[c,l]=(0,r.useState)("1"),[o,d]=(0,r.useState)(0),[f,v]=(0,r.useState)(!1),[S,b]=(0,r.useState)(!1),R=(0,r.useRef)(null);a.KQ.register({family:"Nasu-Regular",src:(0,_.l)("/domains/info/faq/Nasu-Regular.ttf")});let A=async()=>{v(!0);let t=Number(c);d(t<1?0:t>40?39:t-1);let s=[...new Set(e)],n=await j.get(s);"success"===n.status&&n.response.data.reuse_item_ids&&i(n.response.data.reuse_item_ids),setTimeout(()=>{var e;v(!1),null==(e=R.current)||e.click()},1e3+25*e.length)};return(0,r.useEffect)(()=>{b(!0)},[]),(0,n.jsx)(m.G,{variant:"responsive",children:(0,n.jsxs)(w,{suppressHydrationWarning:!0,children:[(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(h._,{alignItems:"center",flexDirection:"column",mb:3,children:[(0,n.jsx)(h._,{mb:3,children:(0,n.jsx)("div",{children:"ジモスポ管理QRシート再発行"})}),(0,n.jsxs)(h._,{mb:3,children:[(0,n.jsx)("div",{children:"印刷枠番号"}),(0,n.jsx)(u._,{width:"auto",placeholder:"1〜40",type:"number",min:1,onChange:e=>l(e.target.value),value:c})]}),(0,n.jsxs)(h._,{mb:3,children:[(0,n.jsx)("div",{children:"投稿IDまたは管理番号"}),e.map((s,r)=>(0,n.jsx)(h._,{mb:3,children:(0,n.jsx)(u._,{width:"auto",placeholder:"v3it6 / 0518-129",type:"text",onCh
1ange:s=>{var n;return n=s.target.value,void(e[r]=n,t(Array.from(e)))},value:e[r]},"reuseItemSpecificKey".concat(r.toString()))},"reuseItemSpecificKeyBox".concat(r.toString()))),(0,n.jsx)(y.f,{variant:"secondary",onClick:()=>{let s=Array.from(e);s.push(""),t(s)},children:"+投稿IDを追加"})]})]}),(0,n.jsx)(h._,{mb:3,children:f?(0,n.jsx)(y.f,{disabled:!0,children:"再発行する"}):(0,n.jsx)(y.f,{onClick:A,children:"再発行する"})}),S&&(0,n.jsx)(a.XP,{document:(0,n.jsx)(p,{reuseItemIds:s,numberOfEmptyCard:o}),fileName:"ジモスポ管理QRシート再発行",children:(0,n.jsx)("a",{hidden:!0,ref:R,children:"PDFをダウンロード"})})]}),!!f&&(0,n.jsx)(g,{children:(0,n.jsx)(x.k,{})})]})})}}},e=>{var t=t=>e(e.s=t);e.O(0,[4155,2591,8005,6341,3617,8752,636,6593,8792],()=>t(972)),_N_E=e.O()}]);
2//# sourceMappingURL=reuse_item_qr_codes_republish-255d78cc8f1c43e7.js.map

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.