2 lines
7.5 KiB
JavaScript
2 lines
7.5 KiB
JavaScript
import{i as h,Z as p,r as s,c as f,a,w as v,b as t,k as n,t as r,F as y,o as _}from"./app-lT3z3TR3.js";import{F as w}from"./v3-B5UP5GZw.js";import{C as b}from"./ClientScrollTimeline-BxA_EWwM.js";import{C as k}from"./SearchModal-YI3bdWA9.js";import{a as B,C as P}from"./ClientPostSearch-85XLLeIC.js";import{C as z}from"./ClientPost-KvELvIac.js";import{A as C}from"./AdminIndexHeader-Ci_3kRvq.js";import{M as E}from"./MainPageNavbar-BfM50q-7.js";import{F as M}from"./FormBuilder-C25m8kmA.js";import j from"./FormBlock-C_74keKQ.js";import{A as S,P as A,a as F,b as H}from"./AdditionalEducationProgramItemBreadcrumbs-uUUJAWAE.js";import{P as O,a as N}from"./PostBackButton-Va08-sZF.js";import{_ as T}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./SortingByFilter-CjZ8gKSr.js";const D={name:"Show",components:{AdditionalEducationProgramItemBreadcrumbs:S,ProgramBuilder:A,ProgramTitle:F,PostBackButton:O,PostTitle:N,ProgramBackButton:H,FormBlock:j,FormBuilder:M,MainPageNavBar:E,ClientPostSearch:B,AdminIndexHeader:C,ClientPost:z,ClientPostFilter:P,ClientFooterDown:k,ClientScrollTimeline:b,Link:h,FsLightbox:w,Head:p},data(){return{}},props:{additionalEducation:{type:Object},breadcrumbs:{type:Object}},methods:{getFormOfStudy(i){return Array.from(new Set(i.map(o=>o.form_edu)))},getYearOfStudy(i){return Array.from(new Set(i.map(o=>o.period_data)))}}},I={class:"flex flex-col h-screen"},Y={class:"flex-grow"},V={class:"relative mb-auto mx-auto mt-[67px] max-w-screen-xl px-4 py-10 md:flex md:flex-row md:py-10"},L={class:"px-0 pt-6 lg:pt-10 pb-12 sm:px-6 lg:px-8 mx-auto"},q={class:"space-y-5 md:space-y-4"},Z={class:"space-y-5 md:space-y-4"},G={class:"container mx-auto xl:px-5 max-w-screen-lg py-5 lg:py-8"},J={class:"space-y-3"},K={class:"max-w-[85rem] px-4 py-10 sm:px-6 lg:px-8 lg:py-14 mx-auto"},Q={class:"grid sm:grid-cols-2 lg:grid-cols-3 items-start gap-12"},R={class:"text-center"},U={class:"mt-3"},W={class:"mt-1 text-gray-600"},X={class:"text-center"},$={class:"mt-3"},tt={class:"mt-1 text-gray-600"},et={class:"text-center"},ot={class:"mt-3"},st={class:"mt-1 text-gray-600"},at={class:"text-center"},rt={class:"mt-3"},it={class:"mt-1 text-gray-600"},nt={class:"text-center"},dt={class:"mt-3"},lt={class:"mt-1 text-gray-600"},ct={class:"text-center"},mt={class:"mt-3"},ut={class:"mt-1 text-gray-600"},gt={class:"py-4 px-5"};function xt(i,e,o,ht,pt,ft){const d=s("Head"),l=s("MainPageNavBar"),c=s("ProgramBackButton"),m=s("AdditionalEducationProgramItemBreadcrumbs"),u=s("ProgramTitle"),g=s("ProgramBuilder"),x=s("ClientFooterDown");return _(),f(y,null,[a(d,null,{default:v(()=>e[0]||(e[0]=[t("title",null,"Образовательная программа",-1),t("meta",{name:"description",content:"Your page description"},null,-1)])),_:1}),a(l,{class:"border-b",sections:i.$page.props.navigation},null,8,["sections"]),t("div",I,[t("main",Y,[t("div",V,[t("div",L,[t("div",null,[t("div",q,[t("div",Z,[t("div",null,[t("div",G,[t("div",J,[a(c,{title:"Назад"}),a(m,{breadcrumbs:o.breadcrumbs,"additional-education-title":o.additionalEducation.data.title},null,8,["breadcrumbs","additional-education-title"]),a(u,{header:o.additionalEducation.data.title,class:"text-center"},null,8,["header"])]),t("div",K,[t("div",Q,[t("div",R,[e[2]||(e[2]=n('<div class="flex justify-center items-center size-12 bg-gray-50 border border-gray-200 rounded-full mx-auto"><svg class="flex-shrink-0 size-5 text-gray-600" 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"><rect width="10" height="14" x="3" y="8" rx="2"></rect><path d="M5 4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2h-2.4"></path><path d="M8 18h.01"></path></svg></div>',1)),t("div",U,[e[1]||(e[1]=t("h3",{class:"text-lg font-semibold text-gray-800"},"Направление подготовки",-1)),t("p",W,r(o.additionalEducation.data.directionAdditionalEducation.title)+" "+r(o.additionalEducation.data.category),1)])]),t("div",X,[e[4]||(e[4]=n('<div class="flex justify-center items-center size-12 bg-gray-50 border border-gray-200 rounded-full mx-auto"><svg class="flex-shrink-0 size-5 text-gray-600" 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"><path d="M20 7h-9"></path><path d="M14 17H5"></path><circle cx="17" cy="17" r="3"></circle><circle cx="7" cy="7" r="3"></circle></svg></div>',1)),t("div",$,[e[3]||(e[3]=t("h3",{class:"text-lg font-semibold text-gray-800"},"Срок обучения",-1)),t("p",tt,r(o.additionalEducation.data.learning_time)+" часов",1)])]),t("div",et,[e[6]||(e[6]=t("div",{class:"flex justify-center items-center size-12 bg-gray-50 border border-gray-200 rounded-full mx-auto"},[t("svg",{class:"flex-shrink-0 size-5 text-gray-600",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:"M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z"}),t("path",{d:"M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z"})])],-1)),t("div",ot,[e[5]||(e[5]=t("h3",{class:"text-lg font-semibold text-gray-800"},"Присваиваемая квалификация",-1)),t("p",st,r(o.additionalEducation.data.qualification),1)])]),t("div",at,[e[8]||(e[8]=t("div",{class:"flex justify-center items-center size-12 bg-gray-50 border border-gray-200 rounded-full mx-auto"},[t("svg",{class:"flex-shrink-0 size-5 text-gray-600",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:"M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z"}),t("path",{d:"M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z"})])],-1)),t("div",rt,[e[7]||(e[7]=t("h3",{class:"text-lg font-semibold text-gray-800"},"Форма обучения",-1)),t("p",it,r(o.additionalEducation.data.form_education),1)])]),t("div",nt,[e[10]||(e[10]=t("div",{class:"flex justify-center items-center size-12 bg-gray-50 border border-gray-200 rounded-full mx-auto"},[t("svg",{class:"flex-shrink-0 size-5 text-gray-600",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:"M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z"}),t("path",{d:"M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z"})])],-1)),t("div",dt,[e[9]||(e[9]=t("h3",{class:"text-lg font-semibold text-gray-800"},"Цена обучения",-1)),t("p",lt,r(o.additionalEducation.data.price)+" ₽",1)])]),t("div",ct,[e[12]||(e[12]=t("div",{class:"flex justify-center items-center size-12 bg-gray-50 border border-gray-200 rounded-full mx-auto"},[t("svg",{class:"flex-shrink-0 size-5 text-gray-600",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:"M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z"}),t("path",{d:"M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z"})])],-1)),t("div",mt,[e[11]||(e[11]=t("h3",{class:"text-lg font-semibold text-gray-800"},"Целевая аудитория",-1)),t("p",ut,r(o.additionalEducation.data.target_group),1)])])])]),t("div",null,[e[13]||(e[13]=t("h2",{class:"text-xl font-bold md:text-2xl"},"О программе",-1)),t("div",gt,[a(g,{blocks:this.additionalEducation.data.content},null,8,["blocks"])])])])])])])])])])]),a(x)])],64)}const At=T(D,[["render",xt]]);export{At as default};
|