PageSourceSearch

https://aporeru.com/_next/static/chunks/pages/manage/tags/show-a54104e533833da7.js

js aporeru.com collected 2026-10-04 23:28:00 UTC 3,869 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4539],{26202:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/manage/tags/show",function(){return t(37508)}])},84923:function(e,n,t){"use strict";var s=t(85893);t(67294);var a=t(84718),r=t.n(a),i=t(94184),c=t.n(i),o=t(4047),l=t(41664),d=t.n(l);n.Z=e=>{let{delimiter:n="-",disableMargin:t=!0}=e;return(0,s.jsx)("div",{className:c()(r().content,{[r().disableMargin]:t}),children:(0,s.jsx)(o.Oo,{separator:(0,s.jsxs)("span",{children:[" ",n," "]}),item:e=>{let{to:n,children:t}=e;return(0,s.jsx)(d(),{href:n,children:t})},finalItem:"span",finalProps:{active:"true"},duplicateProps:{to:"href"}})})}},22949:function(e,n,t){"use strict";var s=t(85893);t(67294);var a=t(12408),r=t.n(a);n.Z=()=>(0,s.jsx)("div",{className:r().content,children:"管理者用"})},22648:function(e,n,t){"use strict";var s=t(85893),a=t(67294),r=t(92145),i=t(11163),c=t(1904),o=t(20878),l=t.n(o),d=t(80881),h=t(64118),u=t(95121),_=t(64648),m=t(84923),x=t(4047);n.Z=()=>{let e=(0,i.useRouter)(),{parent_tag_id:n="",tag_id:t="",action:o=""}=e.query,p=(0,h.Z)({getRow:u.dM,initTag:u.vs,showNotice:_.s6,setRowValues:u.Yb,create:u.Ue,update:u.Vx,getParentRow:u.Er}),{row:w,parentRow:f}=(0,r.v9)(e=>e.tag);(0,a.useEffect)(()=>("new"===o?n&&p.getParentRow(n):p.getRow(t),()=>{p.initTag()}),[]);let j=async()=>{try{let n;n="new"===o?await p.create({...w,parent_tag_id:f.id}):await p.update({...w}),p.showNotice({text:n.msg,level:"success"}),e.back()}catch(e){console.warn(e),p.showNotice({text:"システムエラーが発生しました。",level:"error"})}},g=e=>{let n=e.target.name,t=e.target.value;p.setRowValues({...w,[n]:t})};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(x.B7,{to:"/manage/tags",children:"タグ一覧"}),(0,s.jsx)(x.B7,{to:"".concat(e.asPath),children:"new"===o?"新規":"編集"}),(0,s.jsx)(m.Z,{}),(0,s.jsx)("div",{className:l().content,children:(0,s.jsxs)("section",{className:l().section,children:[(0,s.jsx)("div",{className:l().heading,children:(0,s.jsx)("h1",{children:"new"===o?"タグの作成":"".concat(w.name,"の編集")})}),(0,s.jsx)("div",{className:l().main,children:(0,s.jsxs)("div",{className:l().form,children:[n&&(0,s.jsxs)("div",{className:l().formGroup,children:[(0,s.jsx)("label",{htmlFor:"",children:"親タグ"}),(0,s.jsx)("p",{children:f.name})]}),(0,s.jsxs)("div",{className:l().formGroup,children:[(0,s.jsx)("label",{htmlFor:"",children:"タグ名"}),(0,s.jsx)("input",{value:w.name,onChange:g,type:"text",placeholder:"タグの名称",name:"name"})]}),(0,s.jsxs)("div",{className:l().formGroup,children:[(0,s.jsx)("label",{htmlFor:"",children:"パーマリンク"}),(0,s.jsx)("input",{value:w.permalink,onChange:g,type:"text",placeholder:"パーマリンク",name:"permalink"})]}),(0,s.jsx)(d.Z,{display:"flex",justifyContent:"center",className:l().submitBtnWrap,children:(0,s.jsx)(c.Z,{color:"primary",variant:"contained",onClick:j,children:"保存する"})})]})})]})})]})}},37508:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSP:function(){return l}});var s=t(85893),a=t(8919),r=t(58956),i=t(22648),c=t(22949),o=t(2962),l=!0;n.default=()=>(0,s.jsxs)(r.FR,{adminCheck:!0,children:[(0,s.jsx)(o.PB,{title:"タグ管理",noindex:!0}),(0,s.jsxs)(a.Z,{hideSidebar:!0,variant:"saas",bgGray:!0,children:[(0,s.jsx)(c.Z,{}),(0,s.jsx)(i.Z,{})]})]})},84718:function(e){e.exports={content:"Breadcrumbs_content__0ypPk",disableMargin:"Breadcrumbs_disableMargin__4hb_0"}},12408:function(e){e.exports={content:"adminBadge_content__c1_e_"}},20878:function(e){e.exports={content:"show_content__iASEE",section:"show_section__gX8gU",heading:"show_heading__2R22a",btn:"show_btn__e4FnP",form:"show_form__wCVSV",formGroup:"show_formGroup__gpXIR",submitBtnWrap:"show_submitBtnWrap__f6xyD"}}},function(e){e.O(0,[3296,834,4114,3836,6332,7853,2888,9774,179],function(){return e(e.s=26202)}),_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.