PageSourceSearch

https://umembers.usen.com/assets/InfoList-CWLuyHow.js

js usen.com collected 2026-10-01 10:17:47 UTC 3,516 bytes, 1 lines download raw bytes

1import{d as $,r as v,a9 as m,t as y,_ as S,e as c,j as s,F as f,H as L,l as F,v as M,x as g,i as u,u as q,o as A,b as I,f as i,g as n,h as p,A as G}from"./index-CMFj3f3D.js";import{S as H,G as T}from"./SpFooterTab-DEL9Ph92.js";import{P as V}from"./PageLayout-CR0xt5FL.js";import{a as j,S as z}from"./SiteMap-CxRZa3ZY.js";import{B as D}from"./BreadcrumbComponent-DJRmNNqt.js";import{B as E,a as R}from"./BasicListItem-DfFWvCZ1.js";import{_ as P}from"./icon_arrow_black-DqTjkXQY.js";import{u as J}from"./info-B551EMV0.js";import"./mediaQuery-CVITpDVF.js";const K=$({name:"ListPagination",props:{totalPages:{type:Number,required:!0},displayPages:{type:Number,required:!0},startIndex:{type:Number,required:!0},currentIndex:{type:Number,required:!0}},setup(t){const e=v({nums:m(()=>{const d=[];for(let l=0;l<t.displayPages&&!(t.startIndex+l>t.totalPages-1);l++)d.push(t.startIndex+l+1);return d}),canPrev:m(()=>t.startIndex>0),canNext:m(()=>t.startIndex+t.displayPages<=t.totalPages-1)});return{...y(e)}},emits:["prev","next","select"]}),O={class:"pagination"},Q=["disabled"],U=["onClick"],W=["disabled"];function X(t,e,d,l,b,a){return u(),c("div",O,[s("button",{onClick:e[0]||(e[0]=o=>t.$emit("prev")),disabled:!t.canPrev},[...e[2]||(e[2]=[s("img",{class:"arrow-trans arrow",src:P},null,-1)])],8,Q),s("ul",null,[(u(!0),c(f,null,L(t.nums,o=>(u(),c("li",{key:o},[s("a",{href:"",class:M({selected:o===t.currentIndex+1}),onClick:F(_=>t.$emit("select",{index:o-1}),["prevent"])},g(o),11,U)]))),128))]),s("button",{onClick:e[1]||(e[1]=o=>t.$emit("next")),disabled:!t.canNext},[...e[3]||(e[3]=[s("img",{class:"arrow",src:P},null,-1)])],8,W)])}const Y=S(K,[["render",X],["__scopeId","data-v-e3b1d8e6"]]),Z=$({name:"InfoList",components:{GlobalHeader:T,PageLayout:V,SiteMap:z,SiteFooter:j,SpFooterTab:H,BreadcrumbComponent:D,BasicList:R,BasicListItem:E,ListPagination:Y},setup(){const t=q(),e=J(),d=v({breadcrumbParams:[{name:"トップ",routeName:"Top"},{name:"お知らせ一覧"}],infos:[],totalPages:1,displayPages:1,startIndex:0,currentIndex:1});return A(async()=>{const a=t.auth;if(!a){I.push("/login");return}await e.fetchInfos(a),d.infos=e.infos}),{detail:a=>{I.push({path:`/info/detail/${a}`})},substring:a=>a.substring(0,10),...y(d)}}}),tt="/images/icon_arrow_notice.svg",et={class:"breadcrumb"},st={class:"container"},nt={class:"background-white"},at=["onClick"],ot={class:"date-info"},rt={class:"date"},it={class:"info"};function dt(t,e,d,l,b,a){const o=n("GlobalHeader"),_=n("BreadcrumbComponent"),B=n("BasicListItem"),x=n("BasicList"),k=n("ListPagination"),C=n("PageLayout"),h=n("SiteMap"),N=n("SiteFooter"),w=n("SpFooterTab");return u(),c(f,null,[i(o),i(C,null,{default:p(()=>[s("div",et,[i(_,{params:t.breadcrumbParams},null,8,["params"])]),s("div",st,[s("div",nt,[i(x,null,{default:p(()=>[(u(!0),c(f,null,L(t.infos,r=>(u(),G(B,{key:r.releasedAt},{default:p(()=>[s("div",{class:"flex",onClick:lt=>t.detail(r.id)},[s("dl",ot,[s("dt",rt,g(t.substring(r.releasedAt)),1),s("dd",it,g(r.title),1)]),e[3]||(e[3]=s("button",null,[s("img",{class:"arrow",src:tt})],-1))],8,at)]),_:2},1024))),128))]),_:1})]),i(k,{totalPages:t.totalPages,displayPages:t.displayPages,startIndex:t.startIndex,currentIndex:t.currentIndex,onPrev:e[0]||(e[0]=r=>t.startIndex--),onNext:e[1]||(e[1]=r=>t.startIndex++),onSelect:e[2]||(e[2]=r=>t.currentIndex=r.index)},null,8,["totalPages","displayPages","startIndex","currentIndex"])])]),_:1}),i(h),i(N),i(w)],64)}const Pt=S(Z,[["render",dt],["__scopeId","data-v-b7807183"]]);export{Pt as default};

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.