build(production): final build with new timelines

This commit is contained in:
Matej Glasnák committed 2026-02-09 16:19:55 +01:00
1 parent c18bd3a193
commit 2e4fec565f
179 files changed
+711 -21438

No files matched your search

+2
View File
@@ -0,0 +1,2 @@
"use strict";(self["webpackChunkjandl"]=self["webpackChunkjandl"]||[]).push([[8081],{56747:function(e,t){t.A={data(){return{header:{initialized:!1,marginTop:0,calendar_previousScrollPosition:0,isVisible:!0}}},unmounted(){this.$refs.page?.querySelector(".vuecal__bg")?.removeEventListener("scroll",this.handleScroll)},methods:{_initScrollListener(e=0){if(this.initialized&&e>0)return;const t=this.$refs.page?.querySelector(".vuecal__bg");if(!t)return setTimeout(()=>{e<20&&this._initScrollListener(e+1)},200);t.addEventListener("scroll",this._handleScroll),this.initialized=!0,this.header.calendar_previousScrollPosition=t.scrollTop},_handleScroll(e){const t=document.querySelector("div.subheader");this.initialized?(this.header.calendar_previousScrollPosition>e.target.scrollTop?this.header.isVisible||this.showHeader():(t.offsetHeight,Math.abs(e.target.scrollTop),this.header.isVisible&&this.hideHeader()),this.header.calendar_previousScrollPosition=e.target.scrollTop):this.header.calendar_previousScrollPosition=e.target.scrollTop},hideHeader(){const e=document.querySelector("div.subheader");e.style.transition="margin-top 0.5s",e.style.marginTop=`-${e.offsetHeight}px`,this.header.isVisible=!1,setTimeout(()=>{e.style.transition=""},500)},showHeader(){const e=document.querySelector("div.subheader");e.style.transition="margin-top 0.5s",e.style.marginTop="0",this.header.isVisible=!0,setTimeout(()=>{e.style.transition=""},500)}}}},66751:function(e,t,s){s.d(t,{A:function(){return ce}});var l=s(56768),i=s(24232);const a={class:"calendar-wrapper"},n={class:"h-100 d-flex flex-column",style:{width:"100%","margin-right":"10px","margin-left":"10px"}},o={key:0,class:"d-flex align-center"},c=["src"],r={class:"weekday-label"},d={key:1,class:"d-flex align-center"},u=["src"],k={class:"weekday-label"},m={key:2},v={class:"day-name"},h={class:"unscheduled-time-initials"},b={class:"text-wrap me-4"},p={class:"mb-0 mt-0 unscheduled-time-name"},_={class:"mb-0 mt-0 unscheduled-time-name"},f={class:"mb-0 mt-0"},g={class:"mb-0 mt-0",style:{"font-weight":"400"}},y={class:"d-flex justify-center"},C={class:"d-flex justify-center"},T={style:{"margin-top":"-9px"}};function D(e,t,D,L,w,E){const $=(0,l.g2)("A-timeline-event"),x=(0,l.g2)("Vue-cal");return(0,l.uX)(),(0,l.CE)("div",a,[(0,l.bF)(x,{"hide-view-selector":!0,"hide-title-bar":!0,"disable-views":["years","year","month","week"],"active-view":"day","selected-date":D.calConfig.date,"on-event-click":E.taskClicked,"editable-events":w.vueCalConfig.editing,events:D.calData.tasks,"unscheduled-time":D.calData.unscheduled_times,"overlaps-per-time-step":!1,"show-time-in-cells":!1,"time-cell-height":w.timeCellHeight,"snap-to-time":15,"scroll-to-hour":D.calConfig.scrollHour,"split-days":D.splits,"sticky-split-labels":!0,"min-split-width":140,onReady:t[0]||(t[0]=e=>E.onReady()),onViewChange:E.weekChanged,onEventDrop:E.eventMoved,onEventFocus:E.eventFocused},{"split-label":(0,l.k6)(({split:e})=>[(0,l.Lk)("div",n,[e.date?((0,l.uX)(),(0,l.CE)("span",o,[e.isHomeoffice?((0,l.uX)(),(0,l.CE)("img",{key:0,src:s(1030),class:"mr-2"},null,8,c)):(0,l.Q3)("",!0),(0,l.Lk)("p",r,(0,i.v_)(E.getHeadingDate(e.date)),1)])):((0,l.uX)(),(0,l.CE)("span",d,[e.isHomeoffice?((0,l.uX)(),(0,l.CE)("img",{key:0,src:s(1030),class:"mr-2"},null,8,u)):(0,l.Q3)("",!0),(0,l.Lk)("p",k,(0,i.v_)(e.name),1)])),e.date?((0,l.uX)(),(0,l.CE)("span",m,[(0,l.Lk)("p",v,(0,i.v_)(e.date.toLocaleDateString("en-EN",{weekday:"long"})),1)])):(0,l.Q3)("",!0),(0,l.Lk)("div",{class:(0,i.C4)(["unscheduled-time d-flex align-center text-left",{"vuecal__cell-split--weekend":e.isWeekend}])},[(0,l.Lk)("div",h,[(0,l.Lk)("p",null,(0,i.v_)(e.initials),1)]),(0,l.Lk)("div",b,[(0,l.Lk)("p",p,(0,i.v_)(e.name),1),(0,l.Lk)("p",_,(0,i.v_)(e.surname),1),(0,l.Lk)("h1",f,(0,i.v_)(e.unscheduledTime)+" h",1),(0,l.Lk)("h1",g,(0,i.v_)(e.scheduledTime)+" h ",1)])],2)])]),"time-cell":(0,l.k6)(({hours:e,minutes:s})=>[(0,l.Lk)("span",y,[(0,l.Lk)("span",C,[(0,l.Lk)("p",T,(0,i.v_)(e)+":"+(0,i.v_)(String(s).padStart(2,"0")),1),t[1]||(t[1]=(0,l.Lk)("div",{class:"time-column-line"},null,-1)),t[2]||(t[2]=(0,l.Lk)("span",{class:"vuecal__time-cell-line hour"},null,-1))]),t[3]||(t[3]=(0,l.Lk)("span",{class:"vuecal__time-cell-line",style:{"margin-top":"25px"}},null,-1)),t[4]||(t[4]=(0,l.Lk)("span",{class:"vuecal__time-cell-line",style:{"margin-top":"50px"}},null,-1)),t[5]||(t[5]=(0,l.Lk)("span",{class:"vuecal__time-cell-line",style:{"margin-top":"75px"}},null,-1))])]),event:(0,l.k6)(({event:e})=>[(0,l.bF)($,{event:e,onEditBlocker:E.editBlocker,onDeleteBlocker:E.deleteBlocker,onCompleteTask:E.completeTask,onToggleTimeblockIsFinished:E.toggleTimeblockIsFinished,onEditTask:E.editTask,onDeleteTimeblockInTask:E.deleteTimeBlockInTask},null,8,["event","onEditBlocker","onDeleteBlocker","onCompleteTask","onToggleTimeblockIsFinished","onEditTask","onDeleteTimeblockInTask"])]),_:1},8,["selected-date","on-event-click","editable-events","events","unscheduled-time","time-cell-height","scroll-to-hour","split-days"Line truncated
//# sourceMappingURL=8081.47b8b6cb.js.map