2 lines
18 KiB
JavaScript
2 lines
18 KiB
JavaScript
import{o,c as r,n as c,i as B,r as b,b as e,a as l,w as y,g as d,F as w,d as _,t as k,h as z,z as V,A as D}from"./app-DmJ8GS-7.js";import{C as H}from"./SearchModal.vue_vue_type_style_index_0_scoped_a4fc4416_lang-CbsljUTZ.js";import{_ as x}from"./_plugin-vue_export-helper-DlAUqK2U.js";const C={schedule:{path:'<path stroke-linecap="round" stroke-linejoin="round" d="M6.75 3v2.25M17.25 3v2.25M3 18.75V7.5a2.25 2.25 0 012.25-2.25h13.5A2.25 2.25 0 0121 7.5v11.25m-18 0A2.25 2.25 0 005.25 21h13.5A2.25 2.25 0 0021 18.75m-18 0v-7.5A2.25 2.25 0 015.25 9h13.5A2.25 2.25 0 0121 11.25v7.5m-9-6h.008v.008H12v-.008zM12 15h.008v.008H12V15zm0 2.25h.008v.008H12v-.008zM9.75 15h.008v.008H9.75V15zm0 2.25h.008v.008H9.75v-.008zM7.5 15h.008v.008H7.5V15zm0 2.25h.008v.008H7.5v-.008zm6.75-4.5h.008v.008h-.008v-.008zm0 2.25h.008v.008h-.008V15zm0 2.25h.008v.008h-.008v-.008zm2.25-4.5h.008v.008H16.5v-.008zm0 2.25h.008v.008H16.5V15z"/>',viewBox:"0 0 24 24",fill:"none",stroke_width:1.5,stroke:"currentColor"},search:{path:'<path stroke-linecap="round" stroke-linejoin="round" d="M21 21l-5.197-5.197m0 0A7.5 7.5 0 105.196 5.196a7.5 7.5 0 0010.607 10.607z"/>',viewBox:"0 0 24 24",fill:"none",stroke_width:1.5,stroke:"currentColor"},line:{path:'<path stroke-linecap="round" stroke-linejoin="round" d="M4.499 8.248h15m-15 7.501h15" />',viewBox:"0 0 24 24",fill:"none",stroke_width:1.5,stroke:"currentColor"},eye:{path:'<path stroke-linecap="round" stroke-linejoin="round" d="M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z"/> <path stroke-linecap="round" stroke-linejoin="round" d="M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"/>',viewBox:"0 0 24 24",fill:"none",stroke_width:1.5,stroke:"currentColor"},file:{path:'<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"/>',viewBox:"0 0 24 24",fill:"none",stroke_width:1.5,stroke:"currentColor"},docx:{path:'<path d="M15.9375 12.2188H12.75C12.4682 12.2188 12.198 12.1068 11.9987 11.9076C11.7994 11.7083 11.6875 11.438 11.6875 11.1562V5.84375C11.6875 5.56196 11.7994 5.29171 11.9987 5.09245C12.198 4.89319 12.4682 4.78125 12.75 4.78125H15.9375V5.84375H12.75V11.1562H15.9375V12.2188ZM9.5625 12.2188H7.4375C7.15571 12.2188 6.88546 12.1068 6.6862 11.9076C6.48694 11.7083 6.375 11.438 6.375 11.1562V5.84375C6.375 5.56196 6.48694 5.29171 6.6862 5.09245C6.88546 4.89319 7.15571 4.78125 7.4375 4.78125H9.5625C9.84429 4.78125 10.1145 4.89319 10.3138 5.09245C10.5131 5.29171 10.625 5.56196 10.625 5.84375V11.1562C10.625 11.438 10.5131 11.7083 10.3138 11.9076C10.1145 12.1068 9.84429 12.2188 9.5625 12.2188ZM7.4375 5.84375V11.1562H9.5625V5.84375H7.4375ZM3.1875 12.2188H1.0625V4.78125H3.1875C3.75087 4.78195 4.29096 5.00606 4.68933 5.40442C5.08769 5.80279 5.3118 6.34288 5.3125 6.90625V10.0938C5.3118 10.6571 5.08769 11.1972 4.68933 11.5956C4.29096 11.9939 3.75087 12.218 3.1875 12.2188ZM2.125 11.1562H3.1875C3.46929 11.1562 3.73954 11.0443 3.9388 10.8451C4.13806 10.6458 4.25 10.3755 4.25 10.0938V6.90625C4.25 6.62446 4.13806 6.35421 3.9388 6.15495C3.73954 5.95569 3.46929 5.84375 3.1875 5.84375H2.125V11.1562Z" fill="#F8F8F8"/>',viewBox:"0 0 17 17",fill:"none",stroke_width:1.5,stroke:"none"},pdf:{path:'<path d="M2.79976 14.3395C4.60976 13.0895 5.81976 11.1795 6.70976 8.83952C7.60976 6.50952 8.56976 4.50952 8.14976 2.20952C8.08976 1.84952 7.57976 1.47952 7.31976 1.50952C6.29976 1.56952 6.36976 2.71952 6.46976 3.40952C6.70976 5.11952 8.02976 7.10952 9.30976 8.96952C10.5798 10.8395 11.6298 11.1295 13.0898 11.2295C13.5898 11.2595 14.3398 11.0895 14.4598 10.6495C15.2298 7.84952 5.43976 10.1095 2.17976 12.7295C1.77976 13.0595 1.31976 13.7295 1.57976 14.1895C1.77976 14.5495 2.44976 14.5895 2.80976 14.3395H2.79976Z" stroke="white" stroke-linecap="round" stroke-linejoin="round"/>',viewBox:"0 0 16 16",fill:"none",stroke_width:1,stroke:"none"},delete:{path:'<path stroke-linecap="round" stroke-linejoin="round" d="M6 18 18 6M6 6l12 12"/>',viewBox:"0 0 24 24",fill:"none",stroke_width:1.5,stroke:"currentColor"}},j={name:"BaseIcon",data(){return{icon:C[this.name]||C.file}},methods:{},props:{name:{type:String},viewBox:{type:String},stroke_width:{type:Number},fill:{type:String}}},A=["fill","viewBox","stroke-width","stroke","innerHTML"];function S(t,s,a,g,n,i){return o(),r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:n.icon.fill||"none",viewBox:n.icon.viewBox||this.viewBox||"0 0 24 24","stroke-width":n.icon.stroke_width||this.stroke_width||1.5,stroke:n.icon.stroke||"currentColor",class:c(t.$attrs.class||"w-6 h-6"),innerHTML:n.icon.path},null,10,A)}const M=x(j,[["render",S]]),$={name:"schedule-icon",path:'<path stroke-linecap="round" stroke-linejoin="round" d="M6.75 3v2.25M17.25 3v2.25M3 18.75V7.5a2.25 2.25 0 012.25-2.25h13.5A2.25 2.25 0 0121 7.5v11.25m-18 0A2.25 2.25 0 005.25 21h13.5A2.25 2.25 0 0021 18.75m-18 0v-7.5A2.25 2.25 0 015.25 9h13.5A2.25 2.25 0 0121 11.25v7.5m-9-6h.008v.008H12v-.008zM12 15h.008v.008H12V15zm0 2.25h.008v.008H12v-.008zM9.75 15h.008v.008H9.75V15zm0 2.25h.008v.008H9.75v-.008zM7.5 15h.008v.008H7.5V15zm0 2.25h.008v.008H7.5v-.008zm6.75-4.5h.008v.008h-.008v-.008zm0 2.25h.008v.008h-.008V15zm0 2.25h.008v.008h-.008v-.008zm2.25-4.5h.008v.008H16.5v-.008zm0 2.25h.008v.008H16.5V15z"/>',viewBox:"0 0 24 24",fill:"none",stroke_width:1.5,stroke:"none"},F={name:"search-icon",path:'<path stroke-linecap="round" stroke-linejoin="round" d="M21 21l-5.197-5.197m0 0A7.5 7.5 0 105.196 5.196a7.5 7.5 0 0010.607 10.607z"/>',viewBox:"0 0 24 24",fill:"none",stroke_width:1.5,stroke:"none"},I={schedule:$,search:F},L={name:"MobileNavbar",props:{sections:{type:Object}},data(){return{icons:I}},components:{BaseIcon:M,ClientGlobalSearch:H,Link:B},methods:{isSameRoute(t){if(t===this.$page.props.ziggy.location)return!0;const s=this.$page.props.ziggy.location,a=this.$page.props.ziggy.url+"/"+t;return s===a},hasActivePage(t){if(t.pages)return t.pages.some(s=>this.isSameRoute(s.path));if(t.subSections)return t.subSections.some(s=>this.hasActivePage(s))}}},u=t=>(V("data-v-71fb6114"),t=t(),D(),t),Z={id:"open-mobile-nav",class:"hs-overlay hs-overlay-open:translate-x-0 hidden [--overlay-backdrop:false] -translate-x-full fixed top-0 start-0 transition-all duration-300 transform h-full w-full w-full z-[80] bg-white border-e",role:"dialog",tabindex:"-1","aria-labelledby":"open-mobile-nav-label"},N=z('<div class="flex justify-between items-center py-3 px-4 border-b" data-v-71fb6114><img class="max-w-[75px] p-2" src="/logos/only_logo.svg" alt="" data-v-71fb6114><button type="button" class="size-8 inline-flex justify-center items-center gap-x-2 rounded-full border border-transparent bg-gray-100 text-gray-800 hover:bg-gray-200 focus:outline-none focus:bg-gray-200 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-700 dark:hover:bg-neutral-600 dark:text-neutral-400 dark:focus:bg-neutral-600" aria-label="Close" data-hs-overlay="#open-mobile-nav" data-v-71fb6114><span class="sr-only" data-v-71fb6114>Close</span><svg class="shrink-0 size-4" 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" data-v-71fb6114><path d="M18 6 6 18" data-v-71fb6114></path><path d="m6 6 12 12" data-v-71fb6114></path></svg></button></div>',1),R={class:"overflow-y-auto h-full"},E={class:"hs-accordion-group p-4 w-full flex flex-col flex-wrap","data-hs-accordion-always-open":""},P={class:"space-y-1.5"},G=u(()=>e("svg",{class:"size-4",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"},[e("path",{d:"m3 9 9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"}),e("polyline",{points:"9 22 9 12 15 12 15 22"})],-1)),T={class:"hs-accordion",id:"users-accordion"},O=u(()=>e("svg",{class:"flex-shrink-0 hs-accordion-active:block ms-auto hidden size-4 text-gray-600 group-hover:text-gray-500",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"},[e("path",{d:"m18 15-6-6-6 6"})],-1)),U=u(()=>e("svg",{class:"flex-shrink-0 hs-accordion-active:hidden ms-auto block size-4 text-gray-600 group-hover:text-gray-500",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"},[e("path",{d:"m6 9 6 6 6-6"})],-1)),q={id:"users-accordion",class:"hs-accordion-content w-full overflow-hidden transition-[height] duration-300 hidden",role:"region","aria-labelledby":"users-accordion"},J={class:"hs-accordion-group ps-3 pt-2","data-hs-accordion-always-open":""},K={class:"hs-accordion",id:"users-accordion-sub-1"},Q=u(()=>e("svg",{class:"flex-shrink-0 hs-accordion-active:block ms-auto hidden size-4 text-gray-600 group-hover:text-gray-500 dark:text-neutral-400",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"},[e("path",{d:"m18 15-6-6-6 6"})],-1)),W=u(()=>e("svg",{class:"flex-shrink-0 hs-accordion-active:hidden ms-auto block size-4 text-gray-600 group-hover:text-gray-500 dark:text-neutral-400",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"},[e("path",{d:"m6 9 6 6 6-6"})],-1)),X={id:"users-accordion-sub-1",class:"hs-accordion-content w-full overflow-hidden transition-[height] duration-300 hidden",role:"region","aria-labelledby":"users-accordion-sub-1"},Y={class:"pt-2 ps-2"},ee=["href"],te={class:""},oe={class:"flex items-center gap-x-3.5 py-2 px-2.5 text-sm text-gray-700 rounded-lg hover:bg-gray-100 dark:hover:bg-neutral-700 dark:text-neutral-400 dark:hover:text-neutral-300",href:"#"},re={"aria-haspopup":"dialog","aria-expanded":"false","aria-controls":"hs-full-screen-modal-below-md","data-hs-overlay":"#open-search-modal",class:"flex items-center gap-x-3.5 py-2 px-2.5 text-sm text-gray-700 rounded-lg hover:bg-gray-100 dark:hover:bg-neutral-700 dark:text-neutral-400 dark:hover:text-neutral-300",href:"#"};function se(t,s,a,g,n,i){const p=b("Link"),v=b("BaseIcon");return o(),r("div",Z,[N,e("div",R,[e("nav",E,[e("ul",P,[e("li",null,[l(p,{href:t.route("index"),class:c([i.isSameRoute(t.route("index"))?"text-blue-600 bg-gray-100":"text-gray-700","flex items-center gap-x-3.5 py-2 px-2.5 text-sm rounded-lg hover:bg-gray-100"])},{default:y(()=>[G,d(" Главная ")]),_:1},8,["href","class"])]),(o(!0),r(w,null,_(a.sections.data,m=>(o(),r("li",T,[e("button",{class:c([i.hasActivePage(m)?"text-blue-600 bg-gray-100":"text-gray-700","hs-accordion-toggle hs-accordion-active:text-blue-600 hs-accordion-active:hover:bg-transparent w-full text-start flex items-center gap-x-3.5 py-2 px-2.5 text-sm rounded-lg hover:bg-gray-100 focus:outline-none"]),type:"button","aria-expanded":"true","aria-controls":"users-accordion"},[l(v,{class:"w-4",name:"line"}),d(" "+k(m.title)+" ",1),O,U],2),e("div",q,[e("ul",J,[(o(!0),r(w,null,_(m.subSections,f=>(o(),r("li",K,[e("button",{class:c([i.hasActivePage(f)?"text-blue-600 bg-gray-100":"text-gray-700","hs-accordion-toggle hs-accordion-active:text-blue-600 hs-accordion-active:hover:bg-transparent w-full text-start flex items-center gap-x-3.5 py-2 px-2.5 text-sm rounded-lg hover:bg-gray-100 focus:outline-none"]),type:"button","aria-expanded":"true","aria-controls":"users-accordion-sub-1"},[d(k(f.title)+" ",1),Q,W],2),e("div",X,[e("ul",Y,[(o(!0),r(w,null,_(f.pages,h=>(o(),r("li",null,[e("a",{href:h.is_url?h.path:t.route("page.view",h.path)+"/",class:c(["flex items-center gap-x-3.5 py-2 px-2.5 text-sm rounded-lg hover:bg-gray-100 focus:outline-none focus:bg-gray-100",i.isSameRoute(h.path)?"text-blue-600 bg-gray-100":"text-gray-700"])},k(h.title),11,ee)]))),256))])])]))),256))])])]))),256)),e("li",te,[l(p,{href:t.route("client.schedule"),class:c([i.isSameRoute(t.route("client.schedule"))?"text-blue-600 bg-gray-100":"text-gray-700","flex items-center gap-x-3.5 py-2 px-2.5 text-sm rounded-lg hover:bg-gray-100 dark:hover:bg-neutral-700 dark:text-neutral-400 dark:hover:text-neutral-300"])},{default:y(()=>[l(v,{class:"w-4",name:"schedule"}),d(" Расписание ")]),_:1},8,["href","class"])]),e("li",null,[e("a",oe,[l(v,{class:"w-4",name:"eye"}),d(" Режим для слабовидящих ")])]),e("li",null,[e("a",re,[l(v,{class:"w-4",name:"search"}),d(" Поиск ")])])])])])])}const fe=x(L,[["render",se],["__scopeId","data-v-71fb6114"]]),ae={name:"SearchModal",props:{open_id:{type:Object}},data(){return{}},components:{BaseIcon:M,ClientGlobalSearch:H,Link:B},methods:{}},ne=["id","aria-labelledby"],ie={class:"hs-overlay-open:mt-0 hs-overlay-open:opacity-100 hs-overlay-open:duration-500 mt-10 opacity-0 transition-all max-w-full max-h-full h-full md:hs-overlay-open:mt-10 md:mt-0 md:max-w-lg md:max-h-none md:h-auto md:mx-auto"},le={class:"flex flex-col bg-white pointer-events-auto max-w-full max-h-full h-full md:max-w-lg md:max-h-none md:h-auto md:border md:rounded-xl md:shadow-sm dark:bg-neutral-800 md:dark:border-neutral-700"};function de(t,s,a,g,n,i){const p=b("ClientGlobalSearch");return o(),r("div",{id:a.open_id,class:"hs-overlay hidden [--overlay-backdrop:false] size-full fixed top-0 start-0 z-[80] overflow-x-hidden overflow-y-auto pointer-events-none",role:"dialog",tabindex:"-1","aria-labelledby":a.open_id+"-label"},[e("div",ie,[e("div",le,[l(p,{open_id:a.open_id},null,8,["open_id"])])])],8,ne)}const we=x(ae,[["render",de],["__scopeId","data-v-a4fc4416"]]),ce={name:"ClientFooterDown"},he={class:"w-full bg-[#1A5AAF] py-10 mx-auto"},ue=z('<div class="text-white px-4 sm:px-6 lg:px-8"><div class=""><div class="gap-x-3 sm:flex sm:justify-between sm:items-center"><div><div class="mt-3 grid space-y-3 text-sm"><p class="inline-flex gap-x-2 text-[12px]">© Нижнетагильский государственный социально-педагогический институт (Филиал РГППУ)</p><p class="inline-flex gap-x-2 text-[12px]">Красногвардейская улица, 57, Нижний Тагил, Свердловская область, 622031</p></div></div><div><div class="mt-3 grid space-y-3 text-sm"><p><a class="underline inline-flex gap-x-2 hover:text-gray-200 text-[12px]" href="http://localhost/sveden/">Сведения об образовательной организации</a></p><p><a class="underline inline-flex gap-x-2 hover:text-gray-200 text-[12px]" href="https://ntspi.ru/upload/824_%D0%9E%D0%B1_%D1%83%D1%82%D0%B2_%D0%9F%D0%BE%D0%BB%D0%B8%D1%82_%D0%BE%D0%B1%D1%80_%D0%B7%D0%B0%D1%89%D0%B8%D1%82_%D0%BF%D0%B5%D1%80%D1%81_%D0%B4%D0%B0%D0%BD.pdf">Политика обработки персональных данных</a></p></div></div><div><div class="mt-3 grid space-y-3 text-sm"><p><a class="underline inline-flex gap-x-2 hover:text-gray-200 text-[12px]" href="https://minobrnauki.gov.ru/">Министерство науки и высшего образования Российской Федерации</a></p><p><a class="underline inline-flex gap-x-2 hover:text-gray-200 text-[12px]" href="https://edu.gov.ru/">Министерство просвещения Российской Федерации</a></p></div></div></div><div class="flex justify-between items-center mt-8"><div class="space-x-4 flex items-center"><a target="_blank" class="inline-block text-[12px] hover:text-gray-200" href="https://www.rsvpu.ru/"> Российский государственный профессионально-педагогический университет </a><a target="_blank" class="inline-block" href="https://vk.com/ntspi"><svg class="flex-shrink-0 w-4 h-4 text-white hover:text-gray-200" width="16" height="16" viewBox="0 0 18 18" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M4 0C2.93913 0 1.92172 0.421427 1.17157 1.17157C0.421427 1.92172 0 2.93913 0 4V14C0 15.0609 0.421427 16.0783 1.17157 16.8284C1.92172 17.5786 2.93913 18 4 18H14C15.0609 18 16.0783 17.5786 16.8284 16.8284C17.5786 16.0783 18 15.0609 18 14V4C18 2.93913 17.5786 1.92172 16.8284 1.17157C16.0783 0.421427 15.0609 0 14 0H4ZM14.332 7.055C14.4792 6.83434 14.5327 6.56424 14.4808 6.30413C14.4288 6.04402 14.2757 5.8152 14.055 5.668C13.8343 5.52081 13.5642 5.4673 13.3041 5.51924C13.044 5.57119 12.8152 5.72434 12.668 5.945C12.314 6.415 11.943 6.865 11.509 7.265C11.006 7.729 10.497 8.077 10.001 8.283L9.993 6.383C9.96434 6.13975 9.84741 5.91547 9.66437 5.75272C9.48134 5.58996 9.24493 5.50003 9 5.5C8.458 5.531 8 5.931 8 6.5V10.873C6.052 10.333 5 8.443 5 6.5C5 6.23478 4.89464 5.98043 4.70711 5.79289C4.51957 5.60536 4.26522 5.5 4 5.5C3.73478 5.5 3.48043 5.60536 3.29289 5.79289C3.10536 5.98043 3 6.23478 3 6.5C3 10.132 5.51 13 9 13C9.26522 13 9.51957 12.8946 9.70711 12.7071C9.89464 12.5196 10 12.2652 10 12V10.437C11.332 10.543 12.624 11.484 13.106 12.447C13.1622 12.5686 13.2422 12.6776 13.3413 12.7677C13.4404 12.8578 13.5566 12.927 13.683 12.9713C13.8094 13.0156 13.9433 13.0341 14.077 13.0256C14.2107 13.0172 14.3413 12.982 14.461 12.9221C14.5808 12.8622 14.6874 12.7788 14.7743 12.677C14.8613 12.5751 14.9269 12.4569 14.9673 12.3292C15.0077 12.2015 15.022 12.067 15.0094 11.9337C14.9968 11.8003 14.9576 11.6709 14.894 11.553C14.416 10.596 13.524 9.701 12.426 9.117C12.574 8.996 12.721 8.868 12.866 8.735C13.4169 8.23255 13.9088 7.66891 14.332 7.055Z" fill="currentColor"></path></svg></a></div></div></div></div>',1),pe=[ue];function ve(t,s,a,g,n,i){return o(),r("footer",he,pe)}const _e=x(ce,[["render",ve]]);export{M as B,_e as C,fe as M,we as S};
|