2 lines
10 KiB
JavaScript
2 lines
10 KiB
JavaScript
import{M as f}from"./MainNavbar-CBx37KIe.js";import{i as w,Z as j,r as p,o as n,c as a,a as h,w as C,b as t,t as s,F as i,d,f as l}from"./app-DmJ8GS-7.js";import{F as k}from"./v3-rkPj73qv.js";import{C as z}from"./ClientScrollTimeline-zadrTdrA.js";import{C as A}from"./ClientFooterDown-D8UuGhzW.js";import{A as L,a as M,b as T}from"./AdminIndexHeaderTitle-D8ksOx2b.js";import{A as F}from"./AdminIndexHeader-CAfP1jQ8.js";import{C as H,a as S}from"./ClientPostSearch-D0YX2x3W.js";import{C as I}from"./ClientPost-BP_ZUrbH.js";import{C as B}from"./ClientImageSlider-CnDaATj1.js";import{_ as V}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./SearchModal.vue_vue_type_style_index_0_scoped_a4fc4416_lang-CbsljUTZ.js";/* empty css */const N={name:"Show",components:{ClientImageSlider:B,AdminIndexHeaderTitle:L,AdminIndexHeader:F,AdminIndexFilter:M,AdminIndexSearch:T,ClientFooterDown:A,ClientScrollTimeline:z,ClientPostFilter:H,Link:w,MainNavbar:f,FsLightbox:k,Head:j,ClientPost:I,ClientPostSearch:S},data(){return{}},props:{journal:{type:Object},journals:{type:Object},years:{type:Object}},methods:{transformToColumns(r){return((g,u)=>g.reduce((_,y,c)=>c%u?_:[..._,g.slice(c,c+u)],[]))(r,Math.ceil(r.length/2)).reverse()},textLimit(r,m){if(r.length>m){let o;return o=r.substring(0,m),o+"..."}return r}},mounted(){}},D=t("title",null,"Журнал",-1),O=t("meta",{name:"description",content:"Your page description"},null,-1),P={class:"relative mx-auto mt-[67px] max-w-screen-xl px-4 py-10 md:py-10"},E={class:"w-100"},Z={class:"space-y-10 md:space-y-8"},q={class:"text-brand-primary text-center mb-3 mt-2 text-3xl font-semibold tracking-tight dark:text-white lg:text-[40px] lg:leading-tight"},G=t("div",null,[t("nav",{class:"-mb-0.5 flex justify-center gap-x-6","aria-label":"Tabs",role:"tablist","aria-orientation":"horizontal"},[t("button",{type:"button",class:"hs-tab-active:bg-gray-100 rounded-md hs-tab-active:text-gray-700 py-1.5 px-3 inline-flex items-center gap-x-2 border-b-2 border-transparent text-sm whitespace-nowrap text-gray-500 focus:outline-none disabled:opacity-50 disabled:pointer-events-none active",id:"horizontal-alignment-item-1","aria-selected":"true","data-hs-tab":"#horizontal-alignment-1","aria-controls":"horizontal-alignment-1",role:"tab"}," Основная информация журнала "),t("button",{type:"button",class:"hs-tab-active:bg-gray-100 rounded-md hs-tab-active:text-gray-700 py-1.5 px-3 inline-flex items-center gap-x-2 border-b-2 border-transparent text-sm whitespace-nowrap text-gray-500 focus:outline-none disabled:opacity-50 disabled:pointer-events-none",id:"horizontal-alignment-item-2","aria-selected":"false","data-hs-tab":"#horizontal-alignment-2","aria-controls":"horizontal-alignment-2",role:"tab"}," Редакция "),t("button",{type:"button",class:"hs-tab-active:bg-gray-100 rounded-md hs-tab-active:text-gray-700 py-1.5 px-3 inline-flex items-center gap-x-2 border-b-2 border-transparent text-sm whitespace-nowrap text-gray-500 focus:outline-none disabled:opacity-50 disabled:pointer-events-none",id:"horizontal-alignment-item-3","aria-selected":"false","data-hs-tab":"#horizontal-alignment-3","aria-controls":"horizontal-alignment-3",role:"tab"}," Информация для авторов "),t("button",{type:"button",class:"hs-tab-active:bg-gray-100 rounded-md hs-tab-active:text-gray-700 py-1.5 px-3 inline-flex items-center gap-x-2 border-b-2 border-transparent text-sm whitespace-nowrap text-gray-500 focus:outline-none disabled:opacity-50 disabled:pointer-events-none",id:"horizontal-alignment-item-3","aria-selected":"false","data-hs-tab":"#horizontal-alignment-4","aria-controls":"horizontal-alignment-4",role:"tab"}," Архив ")])],-1),J={class:"container px-8 xl:px-5 py-3 lg:py-4 w-4/5 mx-auto"},K={id:"horizontal-alignment-1",role:"tabpanel","aria-labelledby":"horizontal-alignment-item-1"},Q={key:0},R={class:"font-bold text-xl"},U=["innerHTML"],W={key:2},X={key:3},Y={class:"flex border rounded-lg px-4 py-2 items-center justify-between"},$={class:"flex items-center"},tt=t("div",{class:"w-[35px] h-[35px] bg-black flex justify-center items-center rounded-xl mr-2"},[t("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M18.375 12.739l-7.693 7.693a4.5 4.5 0 01-6.364-6.364l10.94-10.94A3 3 0 1119.5 7.372L8.552 18.32m.009-.01l-.01.01m5.699-9.941l-7.81 7.81a1.5 1.5 0 002.112 2.13",stroke:"white"})])],-1),et=["href"],nt=t("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M3 16.5v2.25A2.25 2.25 0 005.25 21h13.5A2.25 2.25 0 0021 18.75V16.5M16.5 12L12 16.5m0 0L7.5 12m4.5 4.5V3"})],-1),at=[nt],st={id:"horizontal-alignment-2",class:"hidden w-full",role:"tabpanel","aria-labelledby":"horizontal-alignment-item-2"},ot={class:"flex items-center gap-x-4"},it={class:"grow"},rt={class:"font-medium text-gray-800 hover:text-gray-500 underline"},lt={class:"text-xs text-gray-500 mt-2"},dt={class:"text-xs text-gray-500 mt-2"},ct={class:"text-xs text-gray-500 mt-2"},ht={class:"flex items-center gap-x-4"},mt={class:"grow"},pt={class:"font-medium text-gray-800 hover:text-gray-500"},gt={class:"text-xs text-gray-500 mt-2"},ut={class:"text-xs text-gray-500 mt-2"},_t={class:"text-xs text-gray-500 mt-2"},xt={id:"horizontal-alignment-3",class:"hidden",role:"tabpanel","aria-labelledby":"horizontal-alignment-item-3"},yt={key:0},bt={class:"font-bold text-xl"},vt=["innerHTML"],ft={key:2},wt={key:3},jt={class:"flex border rounded-lg px-4 py-2 items-center justify-between"},Ct={class:"flex items-center"},kt=t("div",{class:"w-[35px] h-[35px] bg-black flex justify-center items-center rounded-xl mr-2"},[t("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M18.375 12.739l-7.693 7.693a4.5 4.5 0 01-6.364-6.364l10.94-10.94A3 3 0 1119.5 7.372L8.552 18.32m.009-.01l-.01.01m5.699-9.941l-7.81 7.81a1.5 1.5 0 002.112 2.13",stroke:"white"})])],-1),zt=["href"],At=t("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M3 16.5v2.25A2.25 2.25 0 005.25 21h13.5A2.25 2.25 0 0021 18.75V16.5M16.5 12L12 16.5m0 0L7.5 12m4.5 4.5V3"})],-1),Lt=[At],Mt={id:"horizontal-alignment-4",class:"hidden",role:"tabpanel","aria-labelledby":"horizontal-alignment-item-4"},Tt={class:"px-4 py-5 sm:px-6 lg:px-8 lg:py-7 mx-auto"},Ft={class:""},Ht={class:"font-bold text-xl text-center"},St=t("hr",{class:"mb-4 mt-2"},null,-1),It={class:"grid sm:grid-cols-2 md:grid-cols-3 xl:grid-cols-4 gap-3 sm:gap-6 mb-4"},Bt=["href"],Vt={class:"p-4 md:p-5"},Nt={class:"flex justify-between items-center gap-x-3"},Dt={class:"grow"},Ot={class:"text-sm text-gray-500"},Pt={class:"group-hover:text-blue-600 font-semibold text-gray-800"},Et=t("div",null,[t("svg",{class:"shrink-0 size-5 text-gray-800",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[t("path",{d:"m9 18 6-6-6-6"})])],-1);function Zt(r,m,o,g,u,_){const y=p("Head"),c=p("MainNavbar"),b=p("ClientImageSlider"),v=p("ClientFooterDown");return n(),a(i,null,[h(y,null,{default:C(()=>[D,O]),_:1}),h(c,{class:"border-b",sections:r.$page.props.navigation},null,8,["sections"]),t("div",P,[t("div",E,[t("div",null,[t("div",Z,[t("h1",q,s(o.journal.data.title),1),G,t("div",J,[t("div",K,[(n(!0),a(i,null,d(o.journal.data.main_info,e=>(n(),a(i,{key:e.id},[e.type==="heading"?(n(),a("div",Q,[t("h2",R,s(e.data.content),1)])):l("",!0),e.type==="paragraph"?(n(),a("div",{key:1,class:"text-[15px] text-[#374151] paragraph-container leading-8 font-light",innerHTML:e.data.content},null,8,U)):l("",!0),e.type==="image"?(n(),a("div",W,[h(b,{images:e.data.url},null,8,["images"])])):l("",!0),e.type==="files"?(n(),a("div",X,[t("div",Y,[t("div",$,[tt,t("div",null,s(e.data.title),1)]),t("a",{href:"/storage/"+e.data.path,download:"",type:"button",class:"w-[35px] h-[35px] flex bg-gray-100 rounded-lg justify-center items-center hover:bg-gray-200 duration-200"},at,8,et)])])):l("",!0)],64))),128))]),t("div",st,[(n(!0),a(i,null,d(o.journal.data.chief_editor,e=>(n(),a("div",{key:e.id,class:"w-full rounded-xl mb-4 p-4 md:p-6 bg-white border border-gray-200 dark:bg-slate-900 dark:border-gray-700"},[t("div",ot,[t("div",it,[t("p",rt," Главный редактор: "+s(e.name),1),t("p",lt," Ученая степень: "+s(e.academicTitle),1),t("p",dt," Должность: "+s(e.position),1),t("p",ct," Учереждение: "+s(e.institution),1)])])]))),128)),(n(!0),a(i,null,d(o.journal.data.editors,e=>(n(),a("div",{key:e.id,class:"w-full rounded-xl mb-4 p-4 md:p-6 bg-white border border-gray-200 dark:bg-slate-900 dark:border-gray-700"},[t("div",ht,[t("div",mt,[t("p",pt,s(e.name),1),t("p",gt," Ученая степень: "+s(e.academicTitle),1),t("p",ut," Должность: "+s(e.position),1),t("p",_t," Учереждение: "+s(e.institution),1)])])]))),128))]),t("div",xt,[(n(!0),a(i,null,d(o.journal.data.for_authors,e=>(n(),a(i,{key:e.id},[e.type==="heading"?(n(),a("div",yt,[t("h2",bt,s(e.data.content),1)])):l("",!0),e.type==="paragraph"?(n(),a("div",{key:1,class:"text-[16px] text-[#374151] paragraph-container leading-8 font-light",innerHTML:e.data.content},null,8,vt)):l("",!0),e.type==="image"?(n(),a("div",ft,[h(b,{images:e.data.url},null,8,["images"])])):l("",!0),e.type==="files"?(n(),a("div",wt,[t("div",jt,[t("div",Ct,[kt,t("div",null,s(e.data.title),1)]),t("a",{href:"/storage/"+e.data.path,download:"",type:"button",class:"w-[35px] h-[35px] flex bg-gray-100 rounded-lg justify-center items-center hover:bg-gray-200 duration-200"},Lt,8,zt)])])):l("",!0)],64))),128))]),t("div",Mt,[t("div",Tt,[t("div",Ft,[(n(!0),a(i,null,d(o.journals,e=>(n(),a(i,null,[t("h2",Ht,s(e.year_publication),1),St,t("div",It,[(n(!0),a(i,null,d(e.journalIssues,x=>(n(),a("a",{target:"_blank",class:"group flex flex-col bg-white border shadow-sm rounded-xl hover:shadow-md focus:outline-none focus:shadow-md transition",href:"/storage/"+x.path_file},[t("div",Vt,[t("div",Nt,[t("div",Dt,[t("p",Ot,s(x.year_publication),1),t("h3",Pt,s(x.title),1)]),Et])])],8,Bt))),256))])],64))),256))])])])])])])])]),h(v)],64)}const ne=V(N,[["render",Zt]]);export{ne as default};
|