1/*! For license information please see chunk.f4e00b9f59369dcdb372.js.LICENSE.txt */ 2(self.webpackChunkcopp_frontend=self.webpackChunkcopp_frontend||[]).push([[5959],{22707:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>o});var i=a(31601),n=a.n(i),r=a(76314),s=a.n(r)()(n());s.push([e.id,"img[data-v-4d40321c]{position:absolute;z-index:180;width:80px;height:80px;pointer-events:none}img.small[data-v-4d40321c]{width:40px;height:40px}",""]);const o=s},54011:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>o});var i=a(31601),n=a.n(i),r=a(76314),s=a.n(r)()(n());s.push([e.id,".confirm-dialog{box-shadow:none}",""]);const o=s},27535:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>o});var i=a(31601),n=a.n(i),r=a(76314),s=a.n(r)()(n());s.push([e.id,'p[data-v-369dd762]{margin:80px 100px 40px;text-align:center;letter-spacing:0;word-break:normal;color:#000;font-family:"ProximaNova Bold",serif;font-size:26px;line-height:35px}p span[data-v-369dd762]{color:#006cfe}@media(max-width: 1024px){p[data-v-369dd762]{margin:80px 30px 40px}}.confirm-dialog__wrapper[data-v-369dd762]{position:relative;padding:40px 0 80px}.confirm-dialog__inner[data-v-369dd762]{margin:auto;border-radius:8px !important;box-shadow:none}.confirm-dialog__title[data-v-369dd762]{color:#000;font-family:"ProximaNova Bold",serif;font-size:26px}.confirm-dialog__title-inner[data-v-369dd762]{display:flex;align-items:center;justify-content:space-between;margin-top:28px}.confirm-dialog__new-button[data-v-369dd762]{display:flex;align-items:center;justify-content:center;min-width:0 !important;transition:.5s;letter-spacing:normal;text-transform:uppercase;color:#fff !important;border-radius:5px;background:#006cfe !important;height:50px !important;margin-bottom:90px;padding:0 25px !important;font-family:"ProximaNova Bold",serif;font-size:12px}.confirm-dialog__new-button[data-v-369dd762]:hover{background:#3100e0 !important}.confirm-dialog__new-button[data-v-369dd762]:focus{outline:none;background:#3100e0 !important}.confirm-dialog__new-button[data-v-369dd762]:disabled{opacity:.5;color:#fff !important}.confirm-dialog__new-button p[data-v-369dd762]{margin-left:4px;color:#fff !important;font-size:18px}.confirm-dialog__new-button.new-button__second-color[data-v-369dd762]{display:flex;align-items:center;justify-content:center;min-width:0 !important;transition:.5s;letter-spacing:normal;text-transform:uppercase;color:#006cfe !important;border-radius:5px;background:#edf5ff !important}.confirm-dialog__new-button.new-button__second-color[data-v-369dd762]:hover{background:#cce1ff !important}.confirm-dialog__new-button.new-button__second-color[data-v-369dd762]:focus{outline:none;background:#cce1ff !important}',""]);const o=s},95633:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>o});var i=a(31601),n=a.n(i),r=a(76314),s=a.n(r)()(n());s.push([e.id,"@media(max-width: 768px){.app-container__card[data-v-2bb727f9]{margin:0 -15px;border-radius:0}}.teachers-developments__loader[data-v-2bb727f9]{position:relative;width:100%;height:300px}",""]);const o=s},72948:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>o});var i=a(31601),n=a.n(i),r=a(76314),s=a.n(r)()(n());s.push([e.id,".teachersDevelopments-edit__dialog{overflow-y:hidden}.teachersDevelopments-edit__dialog .v-card__title span{overflow-x:hidden;white-space:nowrap;text-overflow:ellipsis}.teachersDevelopments-edit__dialog .v-card__text{overflow-y:auto;max-height:calc(93vh - 138px)}",""]);const o=s},30148:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>o});var i=a(31601),n=a.n(i),r=a(76314),s=a.n(r)()(n());s.push([e.id,'.teachers-developments-analytics__list[data-v-124dbea2]{width:299px}.teachers-developments-analytics__list-title[data-v-124dbea2]{overflow:auto;text-overflow:unset;white-space:normal}.headline[data-v-124dbea2]{word-break:break-word}.button[data-v-124dbea2]{display:flex;align-items:center;justify-content:center;min-width:0 !important;transition:.5s;letter-spacing:normal;text-transform:uppercase;color:#fff !important;border-radius:5px;background:#006cfe !important;height:35px !important;padding:0 30px !important;color:#fff !important;box-shadow:0 8px 15px #3625bf33;font-family:"ProximaNova Bold",serif;font-size:12px !important}.button[data-v-124dbea2]:hover{background:#3100e0 !important}.button[data-v-124dbea2]:focus{outline:none;background:#3100e0 !important}.button.disabled[data-v-124dbea2]{pointer-events:none;opacity:.6}.button.not-displayed[data-v-124dbea2]{display:none}#teachers-developments-form[data-v-124dbea2]{overflow:hidden;height:0;transition:.4s}',""]);const o=s},71451:function(e,t,a){var i,n=a(96763);i=()=>{"use strict";const e="object"==typeof window?window:this;e.HTMLElement||n.warn("streamsaver is meant to run on browsers main thread");let t=null,a=!1;const i=e.WebStreamsPolyfill||{},r=e.isSecureContext;let s=/constructor/i.test(e.HTMLElement)||!!e.safari||!!e.WebKitPoint;const o=r||"MozAppearance"in document.documentElement.style?"iframe":"navigate",l={createWriteStream:function(i,c,m){let p={size:null,pathname:null,writableStrategy:void 0,readableStrategy:void 0},u=0,_=null,h=null,g=null;if(Number.isFinite(c)?([m,c]=[c,m],n.warn("[StreamSaver] Deprecated pass an object as 2nd argument when creating a write stream"),p.size=m,p.writableStrategy=c):c&&c.highWaterMark?(n.warn("[StreamSaver] Deprecated pass an object as 2nd argument when creating a write stream"),p.size=m,p.writableStrategy=c):p=c||{},!s){t||(t=r?d(l.mitm):function(t){const a=document.createDocumentFragment(),i={frame:e.open(t,"popup","width=200,height=100"),loaded:!1,isIframe:!1,isPopup:!0,remove(){i.frame.close()},addEventListener(...e){a.addEventListener(...e)},dispatchEvent(...e){a.dispatchEvent(...e)},removeEventListener(...e){a.removeEventListener(...e)},postMessage(...e){i.frame.postMessage(...e)}},n=t=>{t.source===i.frame&&(i.loaded=!0,e.removeEventListener("message",n),i.dispatchEvent(new Event("load")))};return e.addEventListener("message",n),i}(l.mitm)),h=new MessageChannel,i=encodeURIComponent(i.replace(/\//g,":")).replace(/['()]/g,escape).replace(/\*/g,"%2A");const n={transferringReadable:a,pathname:p.pathname||Math.random().toString().slice(-6)+"/"+i,headers:{"Content-Type":"application/octet-stream; charset=utf-8","Content-Disposition":"attachment; filename*=UTF-8''"+i}};p.size&&(n.headers["Content-Length"]=p.size);const s=[n,"*",[h.port2]];if(a){const e="iframe"===o?void 0:{transform(e,t){if(!(e instanceof Uint8Array))throw new TypeError("Can only write Uint8Arrays");u+=e.length,t.enqueue(e),_&&(location.href=_,_=null)},flush(){_&&(location.href=_)}};g=new l.TransformStream(e,p.writableStrategy,p.readableStrategy);const t=g.readable;h.port1.postMessage({readableStream:t},[t])}h.port1.onmessage=e=>{e.data.download?"navigate"===o?(t.remove(),t=null,u?location.href=e.data.download:_=e.data.download):(t.isPopup&&(t.remove(),t=null,"iframe"===o&&d(l.mitm)),d(e.data.download)):e.data.abort&&(f=[],h.port1.postMessage("abort"),h.port1.onmessage=null,h.port1.close(),h.port2.close(),h=null)},t.loaded?t.postMessage(...s):t.addEventListener("load",(()=>{t.postMessage(...s)}),{once:!0})}let f=[];return!s&&g&&g.writable||new l.WritableStream({write(e){if(!(e instanceof Uint8Array))throw new TypeError("Can only write Uint8Arrays");s?f.push(e):(h.port1.postMessage(e),u+=e.length,_&&(location.href=_,_=null))},close(){if(s){const e=new Blob(f,{type:"application/octet-stream; charset=utf-8"}),t=document.createElement("a");t.href=URL.createObjectURL(e),t.download=i,t.click()}else h.port1.postMessage("end")}
2,abort(){f=[],h.port1.postMessage("abort"),h.port1.onmessage=null,h.port1.close(),h.port2.close(),h=null}},p.writableStrategy)},WritableStream:e.WritableStream||i.WritableStream,supported:!0,version:{full:"2.0.5",major:2,minor:0,dot:5},mitm:"https://jimmywarting.github.io/StreamSaver.js/mitm.html?version=2.0.0"};function d(e){if(!e)throw new Error("meh");const t=document.createElement("iframe");return t.hidden=!0,t.src=e,t.loaded=!1,t.name="iframe",t.isIframe=!0,t.postMessage=(...e)=>t.contentWindow.postMessage(...e),t.addEventListener("load",(()=>{t.loaded=!0}),{once:!0}),document.body.appendChild(t),t}try{new Response(new ReadableStream),r&&!("serviceWorker"in navigator)&&(s=!0)}catch(e){s=!0}return(()=>{try{(()=>{const{readable:e}=new TransformStream,t=new MessageChannel;t.port1.postMessage(e,[e]),t.port1.close(),t.port2.close(),a=!0,Object.defineProperty(l,"TransformStream",{configurable:!1,writable:!1,value:TransformStream})})()}catch(e){}})(),l},e.exports=i()},75118:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});var i=function(){return(0,this._self._c)("img",{staticClass:"tracery",attrs:{src:`/images/patterns/${this.id}.svg`}})};i._withStripped=!0;const n={props:["id","top","right","left","bottom","opacity","small"],mounted(){Number.isInteger(this.top)&&(this.$el.style.top=this.top+"px"),Number.isInteger(this.left)&&(this.$el.style.left=this.left+"px"),Number.isInteger(this.bottom)&&(this.$el.style.bottom=this.bottom+"px"),Number.isInteger(this.right)&&(this.$el.style.right=this.right+"px"),Number.isInteger(this.opacity)&&(this.$el.style.opacity=this.opacity/100),null!=this.small&&this.$el.classList.add("small")}};a(9820);const r=(0,a(14486).A)(n,i,[],!1,null,"4d40321c",null).exports},17978:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});var i=function(){var e=this,t=e._self._c;return t("v-dialog",{staticClass:"ma-auto",attrs:{"overlay-color":"#006CFE","content-class":"confirm-dialog",value:e.dialog,"max-width":"760","min-heigth":"300"},on:{input:e.closeConfirm}},[t("tracery",{attrs:{id:3,top:0,left:0}}),e._v(" "),t("tracery",{attrs:{id:2,opacity:20,bottom:0,right:0}}),e._v(" "),t("div",{staticClass:"confirm-dialog__wrapper"},[t("tracery",{attrs:{id:0,top:0,right:40}}),e._v(" "),t("tracery",{attrs:{id:3,opacity:20,bottom:0,left:0}}),e._v(" "),t("v-card",{staticClass:"confirm-dialog__inner",attrs:{"max-width":"600"}},[t("tracery",{attrs:{id:1,bottom:0}}),e._v(" "),t("v-card-title",{staticClass:"pa-0 headline"},[t("p",{domProps:{innerHTML:e._s(e.text)}})]),e._v(" "),t("v-card-actions",{staticClass:"pa-0"},[t("v-spacer"),e._v(" "),!1!==e.textCancel?t("v-btn",{staticClass:"confirm-dialog__new-button new-button__second-color",attrs:{text:""},on:{click:function(t){return e.closeConfirm()}}},[e._v("\n "+e._s(e.textCancel||"ÐÑмена")+"\n ")]):e._e(),e._v(" "),t("v-spacer"),e._v(" "),!1!==e.textYes?t("v-btn",{staticClass:"confirm-dialog__new-button",attrs:{text:"",loading:e.loadingYes},on:{click:function(t){return e.confirmYes()}}},[e._v("\n "+e._s(e.textYes||"УдалиÑÑ")+"\n ")]):e._e(),e._v(" "),t("v-spacer")],1)],1)],1)],1)};i._withStripped=!0;const n={props:["dialog","text","textCancel","textYes","loadingYes"],components:{tracery:a(75118).A},methods:{closeConfirm(e){this.$emit("closeConfirm",e)},confirmYes(e){this.closeConfirm(),this.$emit("confirmYes",e)}}};a(15852),a(73928);const r=(0,a(14486).A)(n,i,[],!1,null,"369dd762",null).exports},40249:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>v});var i=function(){var e=this,t=e._self._c;return t("div",{staticClass:"teachers-developments"},[e.teachersDevelopmentsDialog&&e.getUserData.represented_orgs&&e.getUserData.represented_orgs.length?t("teachers-developments-modal",{attrs:{dialog:e.teachersDevelopmentsDialog,graduatesAnalyticsData:e.getList("educational_analytics_teachers_developments"),orgs:e.getUserData.represented_orgs,programs:e.filtersPrograms,tempItem:e.teachersDevelopmentsItem},on:{close:function(t){e.teachersDevelopmentsDialog=!1}}}):e._e(),e._v(" "),t("confirm-dialog",{attrs:{dialog:e.confirmDialog,text:"ÐÑ ÑвеÑенÑ, ÑÑо Ñ
оÑиÑе ÑдалиÑÑ Ð°Ð½Ð°Ð»Ð¸ÑÐ¸ÐºÑ Ð¿Ð¾Ð²ÑÑÐµÐ½Ð¸Ñ ÐºÐ²Ð°Ð»Ð¸ÑикаÑии педагогов ?"},on:{closeConfirm:function(t){e.confirmDialog=!1},confirmYes:e.confirmYes}}),e._v(" "),e.getUserData.represented_orgs&&e.getUserData.represented_orgs.length?t("dashboard-header",{attrs:{active:!e.teachersDevelopmentsLoading,title:"ÐовÑÑение квалиÑикаÑии педагогов",searchPlaceholder:"ÐоиÑк",filtersNumber:e.filtersNumber,filteredItemsList:e.filteredItemsList,downloadTableColumns:e.downloadTableColumns},on:{openDrawer:function(t){e.openDrawerToken=!0},add:e.addTeachersDevelopments},model:{value:e.searchInput,callback:function(t){e.searchInput=t},expression:"searchInput"}}):[t("v-row",[t("v-col",[t("v-alert",{attrs:{color:"red",outlined:"",text:"",type:"info"}}
2,[e._v("\n Ðа Ðами не ÑиÑлиÑÑÑ Ð·Ð°ÐºÑепленнÑÑ
оÑганизаÑий. ÐбÑаÑиÑеÑÑ Ðº ÑоÑÑÑÐ´Ð½Ð¸ÐºÑ Ð¦ÐÐРили админиÑÑÑаÑоÑÑ.\n ")])],1)],1)],e._v(" "),!e.teachersDevelopmentsLoading&&e.getUserData.represented_orgs&&e.getUserData.represented_orgs.length?[e.itemsList.length?e._e():t("v-row",{staticClass:"mt-5"},[t("v-col",[t("v-alert",{attrs:{outlined:"",text:"",type:"info"}},[e._v("Ð ÑÑом Ñазделе еÑе Ð½ÐµÑ Ð·Ð°Ð¿Ð¸Ñей.")])],1)],1),e._v(" "),e.fuzzy&&e.filteredItemsList.length?t("v-row",{staticClass:"mt-5"},[t("v-col",[t("v-alert",{attrs:{outlined:"",text:"",type:"info"}},[e._v('\n Ðо ваÑÐµÐ¼Ñ Ð·Ð°Ð¿ÑоÑÑ "'+e._s(e.searchInput)+'" ниÑего не найдено. ÐÑÑÑ Ð½ÐµÑколÑко подÑ
одÑÑиÑ
Ñовпадений:\n ')])],1)],1):e._e(),e._v(" "),e.itemsList.length&&!e.filteredItemsList.length&&e.searchInput?t("v-row",{staticClass:"mt-5"},[t("v-col",[t("v-alert",{attrs:{outlined:"",text:"",type:"info"}},[e._v('Ðо ваÑÐµÐ¼Ñ Ð·Ð°Ð¿ÑоÑÑ "'+e._s(e.searchInput)+'" ниÑего не найдено.')])],1)],1):e._e(),e._v(" "),!e.itemsList.length||e.filteredItemsList.length||e.searchInput?e._e():t("v-row",{staticClass:"mt-5"},[t("v-col",[t("v-alert",{attrs:{outlined:"",text:"",type:"info"}},[e._v("С даннÑми ÑилÑÑÑами ниÑего не найдено.")])],1)],1),e._v(" "),e.filteredItemsList.length?t("data-table",{attrs:{itemInPage:10,list:e.filteredItemsList,headerList:e.TeachersDevelopmentsHeaders,mobileBreakpoint:800},on:{pencil:e.editTeachersDevelopments,delete:e.itemToConfirmForDelete},scopedSlots:e._u([{key:"last_name",fn:function({item:a}){return[t("span",{staticClass:"table-body__title"},[e._v("\n "+e._s(a.lector?a.lector.fullName:"")+"\n ")])]}},{key:"date",fn:function({item:a}){return[t("span",{staticClass:"table-body__title"},[e._v("\n "+e._s(e._f("dateRussianLocale")("1900-01-01"==a.training_date?a.planned_training_date:a.training_date))+"\n ")])]}},{key:"finished",fn:function({item:a}){return[t("span",{staticClass:"table-body__title"},[e._v("\n "+e._s("1900-01-01"==a.training_date?"ÐапланиÑован":"ÐÑойден")+"\n ")])]}}],null,!1,1253241294)}):e._e()]:e._e(),e._v(" "),e.teachersDevelopmentsLoading&&e.getUserData.represented_orgs&&e.getUserData.represented_orgs.length?t("preloader",{staticClass:"teachers-developments__loader"}):e._e(),e._v(" "),e.loading?e._e():t("drawer",{attrs:{drawer:e.openDrawerToken,uniqueNameDrawer:"viewsDashboard/TeachersDevelopments/index",value:e.filters,filterArray:e.itemsList},on:{closeDrawer:e.closeDrawer,filtersFromDrawer:e.activeFiltersFromValue}})],2)};i._withStripped=!0;var n=a(21322),r=function(){var e=this,t=e._self._c;return t("v-dialog",{attrs:{"content-class":"teachersDevelopments-edit__dialog",value:e.dialog,"retain-focus":!1,width:"900"},on:{input:e.close,"click:outside":function(t){return e.close()}}},[t("v-card",[t("v-card-title",[t("span",{staticClass:"headline"},[e._v(e._s(e.formTitle))])]),e._v(" "),t("v-card-text",[t("v-form",{attrs:{id:"form",method:"post",enctype:"multipart/form-data"},model:{value:e.valid,callback:function(t){e.valid=t},expression:"valid"}},[t("v-container",[t("v-row",[t("v-col",{attrs:{cols:"12"}},[t("v-autocomplete",{staticClass:"teachersDevelopments-analytics__select lectors",attrs:{name:"lector","item-value":"id","item-text":"fullName",items:e.leÑtor,"menu-props":{offsetY:!0},label:"ÐÑеподаваÑелÑ"},on:{change:function(t){return e.checkOrgsAndProf()}},model:{value:e.item_edit.lector_id,callback:function(t){e.$set(e.item_edit,"lector_id",t)},expression:"item_edit.lector_id"}})],1)],1),e._v(" "),t("v-row",[t("v-col",{attrs:{cols:"5"}},[t("v-autocomplete",{staticClass:"teachersDevelopments-analytics__select org",attrs:{name:"org","item-text":"name","item-value":"id",items:e.orgs,readonly:1==e.orgs.length,"menu-props":{offsetY:!0},label:"ÐÑганизаÑиÑ"},on:{change:function(t){return e.checkOrgsAndProf()}},scopedSlots:e._u([{key:"item",fn:function(a){return[t("v-list-item-content",{staticClass:"teachers-developments-analytics__list"},[t("v-list-item-title",{staticClass:"teachers-developments-analytics__list-title"},[e._v("\n "+e._s(a.item.name)+"\n ")])],1)]}}]),model:{value:e.item_edit.org_id,callback:function(t){e.$set(e.item_edit,"org_id",t)},expression:"item_edit.org_id"}})],1),e._v(" "),t("v-spacer"),e._v(" "),t("v-col",{attrs:{cols:"5"}},[t("v-autocomplete",{staticClass:"teachersDevelopments-analytics__select programs",attrs:{name:"programs","item-text":"name","return-object":"",items:e.programs,"menu-props":{offsetY:!0},label:"ÐÑÑÑ Ð¿Ð¾Ð²ÑÑение квалиÑикаÑии"},on:{change:function(t){return e.checkOrgsAndProf()}},scopedSlots:e._u([{key:"item",fn:function(a){return[t("v-list-item-content",{staticClass:"teachers-developments-analytics__list"},[t("v-list-item-title",{staticClass:"teachers-developments-analytics__list-title"},[e._v("\n "+e._s(a.item.name)+"\n ")])],1)]}}]),model:{value:e.item_edit.program,callback:function(t){e.$set(e.item_edit,"program",t)},expression:"item_edit.program"}})],1),e._v(" "),t("v-col",{attrs:{cols:"2"}},[t("v-select",{attrs:{name:"year",type:"number",items:e.yearsList(),"menu-props":{offsetY:!0},label:"Ðод"},on:{change:function(t){return e.checkOrgsAndProf()}},model:{value:e.item_edit.year,callback:function(t){e.$set(e.item_edit,"year",e._n(t))},expression:"item_edit.year"}})],1)],1),e._v(" "),t("div",{attrs:{id:"teachers-developments-form"}},[t("div",{attrs:{id:"teachers-developments-form__inner"}},[t("v-text-field",{staticStyle:{display:"none"},attrs:{id:"id",name:"id"},model:{value:e.item_edit.id,callback:function(t){e.$set(e.item_edit,"id",t)},expression:"item_edit.id"}}),e._v(" "),t("v-row",[t("v-col",{attrs:{cols:"6"}},[e.finished?t("v-menu",{ref:"training_date",attrs:{"close-on-content-click":!1,"return-value":e.item_edit.training_date,transition:"scale-transition","offset-y":"","max-width":"290px","min-width":"290px"},on:{"update:returnValue":function(t){return e.$set(e.item_edit,"training_date",t)},"update:return-value":function(t){return e.$set(e.item_edit,"training_date",t)}},scopedSlots:e._u([{key:"activator",fn:function({on:a}){return[t("v-text-field",e._g({attrs:{name:"training_date","prepend-icon":"mdi-calendar",label:"ÐаÑа повÑÑÐµÐ½Ð¸Ñ ÐºÐ²Ð°Ð»Ð¸ÑикаÑии",readonly:"",rules:[e.rules.required],hint:"ÐÐ.ÐÐ.ÐÐÐÐ"},model:{value:e.training_date,callback:function(t){e.training_date=t},expression:"training_date"}},a))]}}],null,!1,3094166151),model:{value:e.menu,callback:function(t){e.menu=t},expression:"menu"}},[e._v(" "),t("v-date-picker",{attrs:{type:"date","first-day-of-week":"1",color:"#006cfe","no-title":"",scrollable:""},on:{change:function(t){return e.changeDate("training_date")}},model:{value:e.item_edit.training_date,callback:function(t){e.$set(e.item_edit,"training_date",t)},expression:"item_edit.training_date"}},[t("v-spacer"),e._v(" "),t("v-btn",{staticClass:"button",on:{click:function(t){e.menu=!1}}},[e._v("ÐÑмениÑÑ")]),e._v(" "),t("v-btn",{staticClass:"button",on:{click:function(t){return e.$refs.training_date.save(e.item_edit.training_date)}}},[e._v("OK")])],1)],1):t("v-menu",{ref:"planned_training_date",attrs:{"close-on-content-click":!1,"return-value":e.item_edit.planned_training_date,transition:"scale-transition","offset-y":"","max-width":"290px","min-width":"290px"},on:{"update:returnValue":function(t){return e.$set(e.item_edit,"planned_training_date",t)},"update:return-value":function(t){return e.$set(e.item_edit,"planned_training_date",t)}},scopedSlots:e._u([{key:"activator",fn:function({on:a}){return[t("v-text-field",e._g({attrs:{name:"planned_training_date","prepend-icon":"mdi-calendar",label:"ÐаÑа планиÑÑемого повÑÑÐµÐ½Ð¸Ñ ÐºÐ²Ð°Ð»Ð¸ÑикаÑии",readonly:"",rules:[e.rules.required],hint:"ÐÐ.ÐÐ.ÐÐÐÐ"},model:{value:e.planned_training_date,callback:function(t){e.planned_training_date=t},expression:"planned_training_date"}},a))]}}]),model:{value:e.menu,callback:function(t){e.menu=t},expression:"menu"}},[e._v(" "),t("v-date-picker",{attrs:{type:"date","first-day-of-week":"1",color:"#006cfe","no-title":"",scrollable:""},on:{change:function(t){return e.changeDate("planned_training_date")}},model:{value:e.item_edit.planned_training_date,callback:function(t){e.$set(e.item_edit,"planned_training_date",t)},expression:"item_edit.planned_training_date"}},[t("v-spacer"),e._v(" "),t("v-btn",{staticClass:"button",on:{click:function(t){e.menu=!1}}},[e._v("ÐÑмениÑÑ")]),e._v(" "),t("v-btn",{staticClass:"button",on:{click:function(t){return e.$refs.planned_training_date.save(e.item_edit.planned_training_date)}}},[e._v("\n OK\n ")])],1)],1)],1),e._v(" "),t("v-col",{attrs:{cols:"6"}},[t("v-checkbox",{attrs:{id:"finished",name:"finished",color:"#006cfe",label:"ÐаннÑй кÑÑÑ Ð¿Ñойден?"},model:{value:e.finished,callback:function(t){e.finished=t},expression:"finished"}})],1)],1)],1)])],1)],1)],1),e._v(" "),t("v-card-actions",[t("v-spacer"),e._v(" "),t("v-btn",{staticClass:"button",on:{click:function(t){return t.stopPropagation(),e.close()}}},[e._v("ÐакÑÑÑÑ")]),e._v(" "),t("v-btn",{staticClass:"button",class:{disabled:!e.valid,"not-displayed":!(e.item_edit.lector_id&&e.item_edit.program&&e.item_edit.org_id&&e.item_edit.year)},attrs:{loading:e.loading},on:{click:function(t){return t.stopPropagation(),e.save.apply(null,arguments)}}},[e._v("\n "+e._s(e.item_edit.id?"СоÑ
ÑаниÑÑ":"ÐобавиÑÑ")+"\
2n ")])],1)],1)],1)};r._withStripped=!0;var s=a(95353);const o={props:{dialog:{type:Boolean,default:!1},graduatesAnalyticsData:{type:Array,default:[]},orgs:{type:Array,default:[]},programs:{type:Array,default:[]},tempItem:{type:Object,default:null}},data:()=>({finished:!1,menu:!1,valid:!1,loading:!0,training_date:null,planned_training_date:null,item_edit:{},rules:{required:e=>0!=String(e).length||"ÐеобÑ
одимо заполниÑÑ"}}),async mounted(){this.loading=!0,await this.fetchList({list_name:"selection_lectors",forse:!0,query:`?org_id=${this.getUserData.represented_orgs[0].id}`}),Object.assign(this.item_edit,this.tempItem),this.orgs?.length&&(this.item_edit.org_id=this.orgs[0].id),this.item_edit.id&&(this.openForm(),this.item_edit.lector&&(this.item_edit.lector_id=this.item_edit.lector.id),this.item_edit.planned_training_date&&(this.planned_training_date=this.dateRussianLocale(this.item_edit.planned_training_date))),this.loading=!1},computed:{...(0,s.L8)(["getList","getUserData"]),formTitle(){return this.item_edit.id?"РедакÑиÑование даннÑÑ
по аналиÑике повÑÑÐµÐ½Ð¸Ñ ÐºÐ²Ð°Ð»Ð¸ÑикаÑии педагогов":"Ðобавление новÑÑ
даннÑÑ
по аналиÑике повÑÑÐµÐ½Ð¸Ñ ÐºÐ²Ð°Ð»Ð¸ÑикаÑии педагогов"},leÑtor(){const e=this.getList("selection_lectors"),t=this.tempItem?.id&&this.tempItem.lector?[this.tempItem.lector]:null;return(e?.length?e:t||[]).map((e=>({id:e.id,fullName:`${e.user.last_name} ${e.user.first_name} ${e.user.middle_name}`})))}},watch:{dialog(e){if(e&&this.tempItem.id){let e=this.programs.filter((e=>e.id==this.tempItem.program_id))[0];Object.assign(this.item_edit.program,e),"1900-01-01"==this.item_edit.training_date?(this.finished=!1,this.item_edit.training_date=null,setTimeout((()=>{this.training_date=null}),0)):(this.finished=!0,this.item_edit.planned_training_date=null,setTimeout((()=>{this.planned_training_date=null}),0)),setTimeout((()=>{this.openForm()}),0)}}},methods:{...(0,s.i0)(["changeListById","addToList","fetchList"]),close(e){this.clearEdit(),this.closeForm(),this.$emit("close",e)},changeDate(e){this[e]=this.dateRussianLocale(this.item_edit[e])},clearEdit(){this.item_edit={id:null,planned_training_date:null,training_date:null,course_name:null,course_hours:null,org_id:this.orgs[0].id,lector_id:null,program:{},program_id:null,year:null}},checkOrgsAndProf(){this.item_edit.org_id&&this.item_edit.program&&this.item_edit.year?(this.openForm(),this.getAnalyticsDataByOrgsAndProf()):this.closeForm()},openForm(){document.getElementById("teachers-developments-form").style.height=`${document.getElementById("teachers-developments-form__inner").clientHeight}px`,document.getElementById("teachers-developments-form").style.overflow="unset",this.equipmentLevelRequired=!0},getAnalyticsDataByOrgsAndProf(){let e=this.graduatesAnalyticsData.filter((e=>e.org_id==this.item_edit.org_id&&e.program_id==this.item_edit.program.id&&e.year==this.item_edit.year&&e.lector_id==this.item_edit.lector_id));0!=e.length&&(this.item_edit={id:e[0].id,planned_training_date:e[0].planned_training_date,training_date:e[0].training_date,course_name:e[0].course_name,course_hours:e[0].course_hours,org_id:e[0].org_id,program:{},lector_id:e[0].lector_id,year:e[0].year},Object.assign(this.item_edit.program,e[0].program),"1900-01-01"==this.item_edit.training_date?(this.finished=!1,this.item_edit.training_date=null,setTimeout((()=>{this.training_date=null}),0)):(this.finished=!0,this.item_edit.planned_training_date=null,setTimeout((()=>{this.planned_training_date=null}),0)))},yearsList(){const e=(new Date).getFullYear();let t=[];for(let a=0;a<50;a++)t.push(e-a);return t},closeForm(){document.getElementById("teachers-developments-form").style.height=0,document.getElementById("teachers-developments-form").style.overflow="hidden",this.equipmentLevelRequired=!1,this.item_edit.level_of_equipment=null},async save(){let e;if(this.loading=!0,this.item_edit.program_id=this.item_edit.program.id,this.item_edit.course_name=this.item_edit.program.name,this.item_edit.course_hours=this.item_edit.program.duration,this.finished?this.item_edit.planned_training_date="1900-01-01":this.item_edit.training_date="1900-01-01",this.item_edit.id?e=await this.changeListById({list_name:"educational_analytics_teachers_developments",data:this.item_edit,returnError:!0}):(e=await this.addToList({list_name:"educational_analytics_teachers_developments",data:this.item_edit,returnError:!0}),e.id&&(this.item_edit.id=e.id)),e instanceof Error)return this.setSnack({color:"error",text:"ÐÑибка: "+e.response.statusText}),void(this.loading=!1);this.setSnack({color:"green",text:"ÐаннÑе ÑÑпеÑно ÑоÑ
ÑаненÑ"}),this.loading=!1}}};a(53407),a(10351);var l=a(14486);const d=(0,l.A)(o,r,[],!1,null,"124dbea2",null).exports;var c=a(65373),m=a(86811),p=a(17978),u=a(66795),_=a(59843),h=a(55683);const g={metaInfo:{title:"ÐовÑÑение квалиÑикаÑии педагогов"},data:()=>({selectedOrg:null,loading:!0,teachersDevelopmentsLoading:!0,teachersDevelopmentsDialog:!1,teachersDevelopmentsItem:{},deleteItem:null,confirmDialog:!1,TeachersDevelopmentsHeaders:[{text:"ФÐÐ",value:"last_name",slot:!0,sortable:!0,sortingOption:["lector","last_name"]},{text:"Ðазвание кÑÑÑа",value:"course_name",sortable:!0},{text:"ÐÑодолжиÑелÑноÑÑÑ ÐºÑÑÑа",value:"course_hours",sortable:!0},{text:"ÐаÑа повÑÑÐµÐ½Ð¸Ñ ÐºÐ²Ð°Ð»Ð¸ÑикаÑии",value:"date",slot:!0},{text:"СÑаÑÑÑ ÐºÑÑÑа",value:"finished",slot:!0},{text:"ÐейÑÑвиÑ",value:"actions",sortable:!1}],filteredList:["default"],fuzzy:!1,searchInput:"",filtersNumber:0,openDrawerToken:!1,downloadTableColumns:[{text:"ÐÑеподаваÑелÑ",value:"lector.fullName"},{text:"Ðазвание кÑÑÑа",value:"course_name"},{text:"ÐÑодолжиÑелÑноÑÑÑ ÐºÑÑÑа (ÑаÑÑ)",value:"course_hours"},{text:"ÐаÑа повÑÑÐµÐ½Ð¸Ñ ÐºÐ²Ð°Ð»Ð¸ÑикаÑии",value:"training_date"},{text:"ÐÑганизаÑиÑ",value:"org.name"}]}),components:{dataTable:n.A,TeachersDevelopmentsModal:d,Preloader:c.A,DashboardHeader:u.A,drawer:_.A,ConfirmDialog:p.A},computed:{...(0,s.L8)(["getUserData","getAnalytics","getLeaves","getList"]),itemsList(){const e=Object.assign([],this.getList("educational_analytics_teachers_developments"));if(e?.length){let t=e.filter((e=>!this.selectedOrg||!!e.org&&e.org.name==this.selectedOrg));return t.forEach((e=>{e.lector&&(e.lector.fullName=(0,h.fio)(e.lector?.user?.last_name+" "+e.lector?.user?.first_name+" "+e.lector?.user?.middle_name,!0))})),t}return[]},filters(){return[{type:"multi-autocomplete",valueKey:["lector","fullName"],list:this.itemsList.map((e=>e.lector?.fullName)),title:"ÐÑеподаваÑелÑ"},{type:"multi-autocomplete",valueKey:["program","name"],list:this.filtersPrograms.map((e=>e.name)),title:"ÐÑÑÑ Ð¿Ð¾Ð²ÑÑÐµÐ½Ð¸Ñ ÐºÐ²Ð°Ð»Ð¸ÑикаÑии"},{type:"multi-autocomplete",valueKey:"year",list:this.yearsList,title:"Ðод"}]},filteredItemsList(){let e=this.itemsList;if("default"!=this.filteredList[0]&&(e=this.filteredList),""!=this.searchInput){let t=(0,m.A)(this.searchInput,e,["lector.fullName"]);return t.clear?this.fuzzy=!1:this.fuzzy=!0,t.result}return this.fuzzy=!1,e.forEach((e=>e.actions=["pencil","delete"])),e},filtersPrograms(){return this.getList("programs").filter((e=>0!=e.type_of_education_program.length&&"training"==e.type_of_education_program[0].code))},yearsList(){const e=(new Date).getFullYear();let t=[];for(let a=0;a<50;a++)t.push(e-a);return t}},async mounted(){0!=this.getUserData.represented_orgs.length&&this.getUserData.represented_orgs[0].name&&(this.selectedOrg=this.getUserData.represented_orgs[0].name),await this.fetchList({list_name:"programs"}),await this.fetchList({list_name:"educational_analytics_teachers_developments"}),this.teachersDevelopmentsLoading=!1,this.loading=!1},methods:{...(0,s.i0)(["fetchListById","deleteFromList","fetchList"]),addTeachersDevelopments(){this.teachersDevelopmentsItem={},this.teachersDevelopmentsDialog=!0},async editTeachersDevelopments(e){const t=await this.fetchListById({list_name:"educational_analytics_teachers_developments",id:e.id});Object.assign(this.teachersDevelopmentsItem,t),this.teachersDevelopmentsDialog=!0},itemToConfirmForDelete(e){this.deleteItem=e,this.confirmDialog=!0},async confirmYes(){await this.deleteTeachersDevelopments(this.deleteItem),this.confirmDialog=!1},async deleteTeachersDevelopments(e){this.loading=!0;const t=await this.deleteFromList({list_name:"educational_analytics_teachers_developments",id:e.id});t.error?this.setSnack({color:"error",text:"ÐÑибка: "+t.error+". ÐбÑаÑиÑеÑÑ Ðº админиÑÑÑаÑоÑÑ."}):(this.setSnack({color:"green",text:"ÐапиÑÑ ÑÑпеÑно Ñдалена"}),this.deleteItem=null,this.loading=!1)},activeFiltersFromValue(e,t){this.filteredList=e,this.filtersNumber=t},closeDrawer(){this.openDrawerToken=!1}}},f=g;a(88663);const v=(0,l.A)(f,i,[],!1,null,"2bb727f9",null).exports},9820:(e,t,a)=>{var i=a(22707);i.__esModule&&(i=i.default),"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals),(0,a(70534).A)("673a0a3e",i,!1,{})},15852:(e,t,a)=>{var i=a(54011);i.__esModule&&(i=i.default),"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals),(0,a(70534).A)("87e82ef8",i,!1,{})},73928:(e,t,a)=>{var i=a(27535);i.__esModule&&(i=i.default),"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals),(0,a(70534).A)("7022e250",i,!1,{})},88663:(e,t,a)=>{var i=a(95633);i.__esModule&&(i=i.default),"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals),(0,a(70534).A)("79b3173d",i,!1,{})},53407:(e,t,a)=>{var i=a(72948);i.__esModule&&(i=i.default),"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals),(0,a(70534).A)("2a45d6ae",i,!1,{})},10351:(e,t,a)=>{var i=a(30148);i.__esModule&&(i=i.default),"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals),(0,a(70534).A)("4c225716",i,!1,{})},86811:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});var i=a(47120);const n=(e,t,a,n)=>{let r={clear:!0,result:[]};n||(n=.3);let s={includeScore:!1,includeMatches:!1,ignoreLocation:!0,keys:a};if(new i.A(t,{...s,threshold:0}).search(e).forEach((e=>r.result.push(e.item))),r.result.length)return r;let o=new i.A(t,{...s,threshold:n});return r.clear=!1,o.search(e).forEach((e=>r.result.push(e.item))),r}}}]);
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.