PageSourceSearch

https://app.nanco.io/_next/static/chunks/pages/[companyShortId]/se…/itemAttribute/addType-46562eeb58e86854.js

js nanco.io collected 2026-09-24 12:45:47 UTC 2,577 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="505b436f-8001-4310-8983-78b818331070",e._sentryDebugIdIdentifier="sentry-dbid-505b436f-8001-4310-8983-78b818331070")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1312],{37589:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[companyShortId]/settings/itemAttribute/addType",function(){return n(92335)}])},51779:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});let i=(0,n(42232).A)("plug-zap",[["path",{d:"M6.3 20.3a2.4 2.4 0 0 0 3.4 0L12 18l-6-6-2.3 2.3a2.4 2.4 0 0 0 0 3.4Z",key:"goz73y"}],["path",{d:"m2 22 3-3",key:"19mgm9"}],["path",{d:"M7.5 13.5 10 11",key:"7xgeeb"}],["path",{d:"M10.5 16.5 13 14",key:"10btkg"}],["path",{d:"m18 3-4 4h6l-4 4",key:"16psg9"}]])},92335:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>m});var i=n(74348),a=n(8113),d=n.n(a),l=n(91018),r=n(50148),s=n(8458),o=n(16593),u=n(29863),h=n(72425),c=n(26294),p=n(18523),b=n(57617),y=n(13756),f=n(69540),g=n(90900);let m=()=>{let e=(0,l.useRouter)(),{settingsItemAttributeLink:t}=(0,g.Y)(),n=e.query.name;(0,r.useEffect)(()=>{n||e.push(t)},[]);let{addItemAttributeType:a,allData:m}=(0,c.A)(),_=(0,p.Iq)(n),A=(0,s.mN)({mode:"onChange"}),[k,w]=(0,r.useState)(_.type),[Y,D]=(0,r.useState)(_.details),[C,S]=(0,r.useState)(null),[E,F]=(0,r.useState)(!1),I=A.handleSubmit(async()=>{F(!0);let i=await a(k,n,Y,C);F(!1),i&&e.push(t)});return(0,i.FD)(i.FK,{children:[(0,i.Y)(d(),{children:(0,i.Y)("title",{children:(0,h.U6)("アイテム情報の追加")})}),(0,i.Y)(y.A,{children:(0,i.FD)(f.A,{children:[(0,i.Y)(f.A.Header,{children:(0,i.FD)(f.A.Title,{children:[n," ",(0,i.Y)("span",{className:" text-base font-normal",children:"について教えてください"})]})}),(0,i.Y)(s.Op,{...A,children:(0,i.FD)("form",{onSubmit:e=>{I(),e.preventDefault(),e.stopPropagation()},children:[(0,i.Y)(f.A.Content,{children:(0,i.Y)(b.A,{type:k,onChangeType:e=>w(e),details:Y,onChangeDetail:D,priceRole:C,onChangePriceRole:S,autoFocus:!0})}),(0,i.Y)(f.A.Bottom,{children:(0,i.FD)(f.A.Action,{children:[(0,i.Y)(u.$,{type:"button",variant:"outline",onClick:()=>{e.back()},children:"キャンセル"}),(0,i.Y)(o.A,{type:"submit",disabled:!(A.formState.isValid&&1),isLoading:E,children:"追加"})]})})]})})]})})]})}}},e=>{var t=t=>e(e.s=t);e.O(0,[1798,6482,4567,3085,5505,2099,7476,3535,6212,5630,8456,4645,636,6593,8792],()=>t(37589)),_N_E=e.O()}]);

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.