mhz-ui 1.1.7 → 1.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1 +1 @@
|
|
|
1
|
-
.vuecal__weekdays-headings{border-bottom:1px solid #ddd;margin-bottom:-1px}.vuecal--week-numbers .vuecal__weekdays-headings,.vuecal--view-with-time .vuecal__weekdays-headings{padding-left:3em}.vuecal--view-with-time.vuecal--twelve-hour .vuecal__weekdays-headings{font-size:.9em;padding-left:4em}.vuecal--overflow-x.vuecal--view-with-time .vuecal__weekdays-headings{padding-left:0}.vuecal__heading{width:100%;height:2.8em;font-weight:400;justify-content:center;text-align:center;align-items:center;position:relative;overflow:hidden}.vuecal__heading>.vuecal__flex{width:100%;height:100%;align-items:initial!important}.vuecal--sticky-split-labels .vuecal__heading{height:3.4em}.vuecal--month-view .vuecal__heading,.vuecal--week-view .vuecal__heading,.vuecal--day-view .vuecal__heading{width:14.2857%}.vuecal--hide-weekends.vuecal--month-view .vuecal__heading,.vuecal--hide-weekends.vuecal--week-view .vuecal__heading,.vuecal--hide-weekends.vuecal--day-view .vuecal__heading,.vuecal--years-view .vuecal__heading{width:20%}.vuecal--year-view .vuecal__heading{width:33.33%}.vuecal__heading .weekday-label{flex-shrink:0;display:flex;justify-content:center;align-items:center}.vuecal--small .vuecal__heading .small,.vuecal--xsmall .vuecal__heading .xsmall{display:block}.vuecal__heading .small,.vuecal__heading .xsmall,.vuecal--small .vuecal__heading .full,.vuecal--small .vuecal__heading .xsmall,.vuecal--xsmall .vuecal__heading .full,.vuecal--xsmall .vuecal__heading .small{display:none}.vuecal .vuecal__split-days-headers{align-items:center}@media screen and (max-width: 550px){.vuecal__heading{line-height:1.2}.vuecal__heading .small,.vuecal--small .vuecal__heading .small,.vuecal--xsmall .vuecal__heading .xsmall{display:block}.vuecal__heading .full,.vuecal__heading .xsmall,.vuecal--small .vuecal__heading .full,.vuecal--small .vuecal__heading .xsmall,.vuecal--xsmall .vuecal__heading .full,.vuecal--xsmall .vuecal__heading .small{display:none}.vuecal--overflow-x .vuecal__heading .full,.vuecal--small.vuecal--overflow-x .vuecal__heading .small,.vuecal--xsmall.vuecal--overflow-x .vuecal__heading .xsmall{display:block}.vuecal--overflow-x .vuecal__heading .small,.vuecal--overflow-x .vuecal__heading .xsmall,.vuecal--small.vuecal--overflow-x .vuecal__heading .full,.vuecal--small.vuecal--overflow-x .vuecal__heading .xsmall,.vuecal--xsmall.vuecal--overflow-x .vuecal__heading .full,.vuecal--xsmall.vuecal--overflow-x .vuecal__heading .small{display:none}}@media screen and (max-width: 450px){.vuecal__heading .xsmall,.vuecal--small .vuecal__heading .xsmall,.vuecal--xsmall .vuecal__heading .xsmall{display:block}.vuecal__heading .full,.vuecal__heading .small,.vuecal--small .vuecal__heading .full,.vuecal--small .vuecal__heading .small,.vuecal--xsmall .vuecal__heading .full,.vuecal--xsmall .vuecal__heading .small{display:none}.vuecal--small.vuecal--overflow-x .vuecal__heading .small,.vuecal--xsmall.vuecal--overflow-x .vuecal__heading .xsmall{display:block}.vuecal--small.vuecal--overflow-x .vuecal__heading .full,.vuecal--small.vuecal--overflow-x .vuecal__heading .xsmall,.vuecal--xsmall.vuecal--overflow-x .vuecal__heading .full,.vuecal--xsmall.vuecal--overflow-x .vuecal__heading .small{display:none}}.vuecal__header button{outline:none;font-family:inherit}.vuecal__menu{padding:0;margin:0;list-style-type:none;justify-content:center;background-color:#00000005}.vuecal__view-btn{background:none;border:none;padding:.3em 1em;height:2.2em;font-size:1.3em;border-bottom:0 solid currentColor;cursor:pointer;color:inherit;box-sizing:border-box;transition:.2s}.vuecal__view-btn--active{border-bottom-width:2px;background:#ffffff26}.vuecal__title-bar{background-color:#0000001a;display:flex;align-items:center;text-align:center;justify-content:space-between;font-size:1.4em;line-height:1.3;min-height:2em}.vuecal--xsmall .vuecal__title-bar{font-size:1.3em}.vuecal__title{position:relative;justify-content:center}.vuecal__title button{cursor:pointer;background:none;border:none}.vuecal__title button.slide-fade--left-leave-active,.vuecal__title button.slide-fade--right-leave-active{width:100%}.vuecal__today-btn{position:relative;align-items:center;display:flex;font-size:.8em;background:none;border:none}.vuecal__today-btn span.default{font-size:.8em;padding:3px 6px;text-transform:uppercase;cursor:pointer}.vuecal__arrow{cursor:pointer;position:relative;z-index:1;background:none;border:none;white-space:nowrap}.vuecal__arrow--prev{margin-left:.6em}.vuecal__arrow--next{margin-right:.6em}.vuecal__arrow i.angle{display:inline-block;border:solid currentColor;border-width:0 2px 2px 0;padding:.25em;transform:rotate(-45deg)}.vuecal__arrow--prev i.angle{border-width:2px 0 0 2px}.vuecal__arrow--highlighted,.vuecal__today-btn--highlighted,.vuecal__view-btn--highlighted{position:relative;background-color:#0000000a}.vuecal__arrow--highlighted *,.vuecal__today-btn--highlighted *,.vuecal__view-btn--highlighted *{pointer-events:none}.vuecal__arrow--highlighted:before,.vuecal__arrow--highlighted:after,.vuecal__today-btn--highlighted:before,.vuecal__today-btn--highlighted:after,.vuecal__view-btn--highlighted:before,.vuecal__view-btn--highlighted:after{content:"";background-color:inherit;animation:sonar .8s infinite ease-out;position:absolute;top:50%;left:50%;pointer-events:none}.vuecal__arrow--highlighted:before,.vuecal__today-btn--highlighted:before,.vuecal__view-btn--highlighted:before{width:3em;height:3em;border-radius:3em;margin-top:-1.5em;margin-left:-1.5em}.vuecal__arrow--highlighted:after,.vuecal__today-btn--highlighted:after,.vuecal__view-btn--highlighted:after{animation-duration:1.5s;animation-delay:.1s;width:2.6em;height:2.6em;border-radius:2.6em;margin-top:-1.3em;margin-left:-1.3em}@keyframes sonar{0%,20%{opacity:1}to{transform:scale(2.5);opacity:0}}@media screen and (max-width: 450px){.vuecal__title{font-size:.9em}.vuecal__view-btn{padding-left:.6em;padding-right:.6em}}@media screen and (max-width: 350px){.vuecal__view-btn{font-size:1.1em}}.vuecal__event{color:#666;background-color:#f8f8f8cc;position:relative;box-sizing:border-box;left:0;width:100%;z-index:1;transition:box-shadow .3s,left .3s,width .3s;overflow:hidden}.vuecal--no-time .vuecal__event{min-height:8px}.vuecal:not(.vuecal--dragging-event) .vuecal__event:hover{z-index:2}.vuecal__cell .vuecal__event *{-webkit-user-select:text;-moz-user-select:text;user-select:text}.vuecal--view-with-time .vuecal__event:not(.vuecal__event--all-day){position:absolute}.vuecal--view-with-time .vuecal__bg .vuecal__event--all-day{position:absolute;top:0;bottom:0;z-index:0;opacity:.6;width:auto;right:0}.vuecal--view-with-time .vuecal__all-day .vuecal__event--all-day{position:relative;left:0}.vuecal__event--background{z-index:0}.vuecal__event--focus,.vuecal__event:focus{box-shadow:1px 1px 6px #0003;z-index:3;outline:none}.vuecal__event.vuecal__event--dragging{opacity:.7}.vuecal__event.vuecal__event--static{opacity:0;transition:opacity .1s}@-moz-document url-prefix(){.vuecal__event.vuecal__event--dragging{opacity:1}}.vuecal__event-resize-handle{position:absolute;bottom:0;left:0;right:0;height:1em;background-color:#ffffff4d;opacity:0;transform:translateY(110%);transition:.3s;cursor:ns-resize}.vuecal__event:hover .vuecal__event-resize-handle,.vuecal__event:focus .vuecal__event-resize-handle,.vuecal__event--focus .vuecal__event-resize-handle,.vuecal__event--resizing .vuecal__event-resize-handle{opacity:1;transform:translateY(0)}.vuecal__event--dragging .vuecal__event-resize-handle{display:none}.vuecal__event-delete{position:absolute;top:0;left:0;right:0;display:flex;flex-direction:column;align-items:center;justify-content:center;height:1.4em;line-height:1.4em;background-color:#dd3333d9;color:#fff;z-index:0;cursor:pointer;transform:translateY(-110%);transition:.3s}.vuecal__event .vuecal__event-delete{-webkit-user-select:none;-moz-user-select:none;user-select:none}.vuecal--full-height-delete .vuecal__event-delete{height:auto;bottom:0}.vuecal--full-height-delete .vuecal__event-delete:before{content:"";width:1.7em;height:1.8em;display:block;background-image:url('data:image/svg+xml;utf8,<svg width="512" height="512" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="M12 1.5a10.5 10.5 0 100 21 10.5 10.5 0 000-21zm5 14.1c.2 0 .2.2.2.2l-.1.3-1 1-.3.1h-.2L12 13.5l-3.5 3.6h-.3-.3l-1-1v-.4-.2l3.6-3.6-3.6-3.5A.4.4 0 017 8l1-1 .3-.2c.1 0 .2 0 .2.2l3.6 3.5L15.6 7l.2-.2c.1 0 .2 0 .3.2l1 1v.5L13.5 12z" fill="%23fff" opacity=".9"/></svg>')}.vuecal__event--deletable .vuecal__event-delete{transform:translateY(0);z-index:1}.vuecal__event--deletable.vuecal__event--dragging .vuecal__event-delete{opacity:0;transition:none}.vuecal--month-view .vuecal__event-title{font-size:.85em}.vuecal--short-events .vuecal__event-title{text-align:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding:0 3px}.vuecal__event-title,.vuecal__event-content{-webkit-hyphens:auto;hyphens:auto}.vuecal__event-title--edit{border-bottom:1px solid transparent;text-align:center;transition:.3s;color:inherit;background-image:url('data:image/svg+xml;utf8,<svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="M442 150l-39 39-80-80 39-39q6-6 15-6t15 6l50 50q6 6 6 15t-6 15zM64 368l236-236 80 80-236 236H64v-80z" fill="%23000" opacity=".4"/></svg>');background-repeat:no-repeat;background-position:120% .15em;background-size:.4em;outline:none;width:100%}.vuecal__event-title--edit:hover,.vuecal__event-title--edit:focus{border-color:#0006;background-position:99% .15em;background-size:1.2em}.vuecal__cell{position:relative;width:100%;display:flex;justify-content:center;align-items:center;text-align:center;transition:.15s ease-in-out background-color}.vuecal__cells.month-view .vuecal__cell,.vuecal__cells.week-view .vuecal__cell{width:14.2857%}.vuecal--hide-weekends .vuecal__cells.month-view .vuecal__cell,.vuecal--hide-weekends .vuecal__cells.week-view .vuecal__cell,.vuecal__cells.years-view .vuecal__cell{width:20%}.vuecal__cells.year-view .vuecal__cell{width:33.33%}.vuecal__cells.day-view .vuecal__cell{flex:1}.vuecal--overflow-x.vuecal--day-view .vuecal__cell{width:auto}.vuecal--click-to-navigate .vuecal__cell:not(.vuecal__cell--disabled){cursor:pointer}.vuecal--view-with-time .vuecal__cell,.vuecal--week-view.vuecal--no-time .vuecal__cell:not(.vuecal__cell--has-splits),.vuecal--day-view.vuecal--no-time .vuecal__cell:not(.vuecal__cell--has-splits){display:block}.vuecal__cell.vuecal__cell--has-splits{flex-direction:row;display:flex}.vuecal__cell:before{content:"";position:absolute;z-index:0;inset:0 -1px -1px 0;border:1px solid rgba(196,196,196,.25)}.vuecal--overflow-x.vuecal--day-view .vuecal__cell:before{bottom:0}.vuecal__cell--today,.vuecal__cell--current{background-color:#f0f0ff66;z-index:1}.vuecal__cell--selected{background-color:#ebfff566;z-index:2}.vuecal--day-view .vuecal__cell--selected{background:none}.vuecal__cell--out-of-scope{color:#00000040}.vuecal__cell--disabled{color:#00000040;cursor:not-allowed}.vuecal__cell--highlighted:not(.vuecal__cell--has-splits),.vuecal__cell-split.vuecal__cell-split--highlighted{background-color:#0000000a;transition-duration:5ms}.vuecal__cell-content{position:relative;width:100%;height:100%;outline:none}.vuecal--years-view .vuecal__cell-content,.vuecal--year-view .vuecal__cell-content,.vuecal--month-view .vuecal__cell-content{justify-content:center}.vuecal__cell .cell-time-labels{position:absolute;inset:0;display:flex;flex-direction:column}.vuecal__cell .cell-time-label{flex-grow:1;font-size:.8em;opacity:.3;line-height:1.7}.vuecal__cell-split{display:flex;flex-grow:1;flex-direction:column;height:100%;position:relative;transition:.15s ease-in-out background-color}.vuecal__cell-events{width:100%}.vuecal__cell-events-count{position:absolute;left:50%;top:65%;transform:translate(-50%);min-width:12px;height:12px;line-height:12px;padding:0 3px;background:#999;color:#fff;border-radius:12px;font-size:10px;box-sizing:border-box}.vuecal__cell .vuecal__special-hours{position:absolute;left:0;right:0;box-sizing:border-box}.vuecal--overflow-x.vuecal--week-view .vuecal__cell,.vuecal__cell-split{overflow:hidden}.vuecal__no-event{padding-top:1em;color:#aaa;justify-self:flex-start;margin-bottom:auto}.vuecal__all-day .vuecal__no-event{display:none}.vuecal__now-line{position:absolute;left:0;width:100%;height:0;color:red;border-top:1px solid currentColor;opacity:.6;z-index:1}.vuecal__now-line:before{content:"";position:absolute;top:-6px;left:0;border:5px solid transparent;border-left-color:currentColor}.vuecal{height:100%;box-shadow:0 0 0 1px inset #00000014}.vuecal *{-webkit-user-select:none;-moz-user-select:none;user-select:none}.vuecal--has-touch *:not(.vuecal__event-title--edit){-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.vuecal .clickable{cursor:pointer}.vuecal--resizing-event,.vuecal--drag-creating-event{cursor:ns-resize}.vuecal--dragging-event{cursor:move;cursor:grabbing}.vuecal .dragging-helper{position:absolute;width:60px;height:40px;background:#8abee6cc;border:1px solid #61a9e0;z-index:10}.vuecal--xsmall{font-size:.9em}.vuecal__flex{display:flex;flex-direction:row}.vuecal__flex[column]{flex-direction:column;flex:1 1 auto}.vuecal__flex[grow]{flex:1 1 auto;width:100%}.vuecal__flex[wrap]{flex-wrap:wrap}.vuecal__split-days-headers.slide-fade--right-leave-active{display:none}.vuecal--week-numbers.vuecal--month-view .vuecal__split-days-headers{margin-left:3em}.vuecal--day-view:not(.vuecal--overflow-x) .vuecal__split-days-headers{margin-left:3em;height:2.2em}.vuecal--day-view.vuecal--twelve-hour:not(.vuecal--overflow-x) .vuecal__split-days-headers{margin-left:4em}.vuecal__split-days-headers .day-split-header{display:flex;flex-grow:1;flex-basis:0;justify-content:center;align-items:center;height:100%}.vuecal__split-days-headers .vuecal--day-view.vuecal--overflow-x.vuecal--sticky-split-labels .day-split-header{height:1.5em}.vuecal__body{position:relative;overflow:hidden}.vuecal__all-day{min-height:1.7em;margin-bottom:-1px;flex-shrink:0}.vuecal__all-day-text{width:3em;box-sizing:border-box;color:#999;padding-right:2px;display:flex;flex-shrink:0;align-items:center;justify-content:flex-end;border-bottom:1px solid #ddd;-webkit-hyphens:auto;hyphens:auto}.vuecal__all-day-text span{font-size:.85em;text-align:right;line-height:1.1}.vuecal--twelve-hour .vuecal__all-day>span{width:4em}.vuecal__bg{overflow:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;min-height:60px;position:relative;width:100%}.vuecal--no-time .vuecal__bg{display:flex;flex:1 1 auto;overflow:auto}.vuecal__week-numbers{width:3em;flex-shrink:0!important}.vuecal__week-numbers .vuecal__week-number-cell{opacity:.4;font-size:.9em;align-items:center;justify-items:center;justify-content:center}.vuecal__scrollbar-check{position:absolute;inset:0;overflow:scroll;visibility:hidden;z-index:-1}.vuecal__scrollbar-check div{height:120%}.vuecal__time-column{width:3em;height:100%;flex-shrink:0}.vuecal--twelve-hour .vuecal__time-column{width:4em;font-size:.9em}.vuecal--overflow-x.vuecal--week-view .vuecal__time-column{margin-top:2.8em;box-shadow:0 1px 1px #0000004d}.vuecal--overflow-x.vuecal--week-view.vuecal--sticky-split-labels .vuecal__time-column{margin-top:3.4em}.vuecal--overflow-x.vuecal--day-view.vuecal--sticky-split-labels .vuecal__time-column{margin-top:1.5em}.vuecal__time-column .vuecal__time-cell{color:#999;text-align:right;padding-right:2px;font-size:.9em}.vuecal__time-column .vuecal__time-cell-line:before{content:"";position:absolute;left:0;right:0;border-top:1px solid rgba(196,196,196,.3)}.vuecal__cells{margin:0 1px 1px 0}.vuecal--overflow-x.vuecal--day-view .vuecal__cells{margin:0}.vuecal--events-on-month-view.vuecal--short-events .vuecal__cells{width:99.9%}.vuecal--overflow-x.vuecal--day-view .vuecal__cells,.vuecal--overflow-x.vuecal--week-view .vuecal__cells{flex-wrap:nowrap;overflow:auto}.slide-fade--left-enter-active,.slide-fade--left-leave-active,.slide-fade--right-enter-active,.slide-fade--right-leave-active{transition:.25s ease-out}.slide-fade--left-enter-from,.slide-fade--right-leave-to{transform:translate(-15px);opacity:0}.slide-fade--left-leave-to,.slide-fade--right-enter-from{transform:translate(15px);opacity:0}.slide-fade--left-leave-active,.slide-fade--right-leave-active{position:absolute!important;height:100%}.vuecal__title-bar .slide-fade--left-leave-active,.vuecal__title-bar .slide-fade--right-leave-active{left:0;right:0;height:auto}.vuecal__heading .slide-fade--left-leave-active,.vuecal__heading .slide-fade--right-leave-active{display:flex;align-items:center}.vuecal--green-theme .vuecal__menu,.vuecal--green-theme .vuecal__cell-events-count{background-color:#42b983;color:#fff}.vuecal--green-theme .vuecal__title-bar{background-color:#e4f5ef}.vuecal--green-theme .vuecal__cell--today,.vuecal--green-theme .vuecal__cell--current{background-color:#f0f0ff66}.vuecal--green-theme:not(.vuecal--day-view) .vuecal__cell--selected{background-color:#ebfff566}.vuecal--green-theme .vuecal__cell--selected:before{border-color:#42b98380}.vuecal--green-theme .vuecal__cell--highlighted:not(.vuecal__cell--has-splits),.vuecal--green-theme .vuecal__cell-split--highlighted{background-color:#c3ffe180}.vuecal--green-theme .vuecal__arrow--highlighted,.vuecal--green-theme .vuecal__today-btn--highlighted,.vuecal--green-theme .vuecal__view-btn--highlighted{background-color:#88ecbf40}.vuecal--blue-theme .vuecal__menu,.vuecal--blue-theme .vuecal__cell-events-count{background-color:#42a3b9cc;color:#fff}.vuecal--blue-theme .vuecal__title-bar{background-color:#00a5bc4d}.vuecal--blue-theme .vuecal__cell--today,.vuecal--blue-theme .vuecal__cell--current{background-color:#f0f0ff66}.vuecal--blue-theme:not(.vuecal--day-view) .vuecal__cell--selected{background-color:#ebfdff66}.vuecal--blue-theme .vuecal__cell--selected:before{border-color:#73bfcc80}.vuecal--blue-theme .vuecal__cell--highlighted:not(.vuecal__cell--has-splits),.vuecal--blue-theme .vuecal__cell-split--highlighted{background-color:#00a5bc0f}.vuecal--blue-theme .vuecal__arrow--highlighted,.vuecal--blue-theme .vuecal__today-btn--highlighted,.vuecal--blue-theme .vuecal__view-btn--highlighted{background-color:#42a3b933}.vuecal--rounded-theme .vuecal__weekdays-headings{border:none}.vuecal--rounded-theme .vuecal__cell,.vuecal--rounded-theme .vuecal__cell:before{background:none;border:none}.vuecal--rounded-theme .vuecal__cell--out-of-scope{opacity:.4}.vuecal--rounded-theme .vuecal__cell-content{width:30px;height:30px;flex-grow:0;border:1px solid transparent;border-radius:30px;color:#333}.vuecal--rounded-theme.vuecal--day-view .vuecal__cell-content{width:auto;background:none}.vuecal--rounded-theme.vuecal--year-view .vuecal__cell{width:33.33%}.vuecal--rounded-theme.vuecal--year-view .vuecal__cell-content{width:85px}.vuecal--rounded-theme.vuecal--years-view .vuecal__cell-content{width:52px}.vuecal--rounded-theme .vuecal__cell{background-color:transparent!important}.vuecal--rounded-theme.vuecal--green-theme:not(.vuecal--day-view) .vuecal__cell-content{background-color:#f1faf7}.vuecal--rounded-theme.vuecal--green-theme:not(.vuecal--day-view) .vuecal__cell--today .vuecal__cell-content{background-color:#42b983;color:#fff}.vuecal--rounded-theme.vuecal--green-theme .vuecal--day-view .vuecal__cell--today:before{background-color:#42b9830d}.vuecal--rounded-theme.vuecal--green-theme:not(.vuecal--day-view) .vuecal__cell--selected .vuecal__cell-content{border-color:#42b983}.vuecal--rounded-theme.vuecal--green-theme .vuecal__cell--highlighted:not(.vuecal__cell--has-splits),.vuecal--rounded-theme.vuecal--green-theme .vuecal__cell-split--highlighted{background-color:#c3ffe180}.vuecal--rounded-theme.vuecal--blue-theme:not(.vuecal--day-view) .vuecal__cell-content{background-color:#64b6ff33}.vuecal--rounded-theme.vuecal--blue-theme:not(.vuecal--day-view) .vuecal__cell--today .vuecal__cell-content{background-color:#8fb7e4;color:#fff}.vuecal--rounded-theme.vuecal--blue-theme .vuecal--day-view .vuecal__cell--today:before{background-color:#8fb7e41a}.vuecal--rounded-theme.vuecal--blue-theme:not(.vuecal--day-view) .vuecal__cell--selected .vuecal__cell-content{border-color:#61a9e0}.vuecal--rounded-theme.vuecal--blue-theme .vuecal__cell--highlighted:not(.vuecal__cell--has-splits),.vuecal--rounded-theme.vuecal--blue-theme .vuecal__cell-split--highlighted{background-color:#00a5bc0f}.vuecal--date-picker .vuecal__title-bar{font-size:1.2em}.vuecal--date-picker .vuecal__heading{height:2.2em;font-weight:500;opacity:.4}.vuecal--date-picker .vuecal__weekdays-headings{border:none}.vuecal--date-picker .vuecal__body{margin-left:1px}.vuecal--date-picker .vuecal__cell,.vuecal--date-picker .vuecal__cell:before{background:none;border:none}.vuecal--date-picker .vuecal__cell-content{height:26px;flex-grow:0;border:1px solid transparent;border-radius:25px;transition:background-color .2s cubic-bezier(.39,.58,.57,1)}.vuecal--date-picker.vuecal--years-view .vuecal__cell-content{flex:0;padding:0 4px;height:24px}.vuecal--date-picker.vuecal--year-view .vuecal__cell-content{flex:0;padding:0 15px}.vuecal--date-picker.vuecal--month-view .vuecal__cell-content{width:26px}.vuecal--date-picker:not(.vuecal--day-view) .vuecal__cell-content:hover{background-color:#0000001a}.vuecal--date-picker:not(.vuecal--day-view) .vuecal__cell--selected .vuecal__cell-content{background-color:#42b982;color:#fff}.vuecal--date-picker:not(.vuecal--day-view) .vuecal__cell--current .vuecal__cell-content,.vuecal--date-picker:not(.vuecal--day-view) .vuecal__cell--today .vuecal__cell-content{border-color:#42b982}._container_6sh8z_1{width:100%;height:var(--7a9282a4)}.vuecal,.vuecal__body{border-radius:8px}.vuecal__cell-events{display:flex;flex-wrap:wrap;gap:2px;justify-content:center}.vuecal__event{display:flex;align-items:center;justify-content:center;width:32px;height:32px;cursor:pointer;background-color:var(--color-accent);border-radius:50%}.vuecal--short-events .vuecal__event-title{width:100%;font-family:none;font-size:1.25rem;font-weight:700;color:var(--color-white);text-align:center}.vuecal__title-bar{min-height:41px;font-size:1rem;font-weight:700;color:var(--color-black);background-color:var(--color-gray-light-extra);border:1px solid var(--color-gray);border-top-left-radius:8px;border-top-right-radius:8px}.vuecal__arrow{color:var(--color-black)}.vuecal__title span:nth-child(2){display:none}.vuecal__cell--out-of-scope{color:var(--color-gray-dark)}.vuecal__cell--selected,.vuecal__cell--today{background-color:var(--color-primary-light-extra)}
|
|
1
|
+
.vuecal__weekdays-headings{border-bottom:1px solid #ddd;margin-bottom:-1px}.vuecal--week-numbers .vuecal__weekdays-headings,.vuecal--view-with-time .vuecal__weekdays-headings{padding-left:3em}.vuecal--view-with-time.vuecal--twelve-hour .vuecal__weekdays-headings{font-size:.9em;padding-left:4em}.vuecal--overflow-x.vuecal--view-with-time .vuecal__weekdays-headings{padding-left:0}.vuecal__heading{width:100%;height:2.8em;font-weight:400;justify-content:center;text-align:center;align-items:center;position:relative;overflow:hidden}.vuecal__heading>.vuecal__flex{width:100%;height:100%;align-items:initial!important}.vuecal--sticky-split-labels .vuecal__heading{height:3.4em}.vuecal--month-view .vuecal__heading,.vuecal--week-view .vuecal__heading,.vuecal--day-view .vuecal__heading{width:14.2857%}.vuecal--hide-weekends.vuecal--month-view .vuecal__heading,.vuecal--hide-weekends.vuecal--week-view .vuecal__heading,.vuecal--hide-weekends.vuecal--day-view .vuecal__heading,.vuecal--years-view .vuecal__heading{width:20%}.vuecal--year-view .vuecal__heading{width:33.33%}.vuecal__heading .weekday-label{flex-shrink:0;display:flex;justify-content:center;align-items:center}.vuecal--small .vuecal__heading .small,.vuecal--xsmall .vuecal__heading .xsmall{display:block}.vuecal__heading .small,.vuecal__heading .xsmall,.vuecal--small .vuecal__heading .full,.vuecal--small .vuecal__heading .xsmall,.vuecal--xsmall .vuecal__heading .full,.vuecal--xsmall .vuecal__heading .small{display:none}.vuecal .vuecal__split-days-headers{align-items:center}@media screen and (max-width: 550px){.vuecal__heading{line-height:1.2}.vuecal__heading .small,.vuecal--small .vuecal__heading .small,.vuecal--xsmall .vuecal__heading .xsmall{display:block}.vuecal__heading .full,.vuecal__heading .xsmall,.vuecal--small .vuecal__heading .full,.vuecal--small .vuecal__heading .xsmall,.vuecal--xsmall .vuecal__heading .full,.vuecal--xsmall .vuecal__heading .small{display:none}.vuecal--overflow-x .vuecal__heading .full,.vuecal--small.vuecal--overflow-x .vuecal__heading .small,.vuecal--xsmall.vuecal--overflow-x .vuecal__heading .xsmall{display:block}.vuecal--overflow-x .vuecal__heading .small,.vuecal--overflow-x .vuecal__heading .xsmall,.vuecal--small.vuecal--overflow-x .vuecal__heading .full,.vuecal--small.vuecal--overflow-x .vuecal__heading .xsmall,.vuecal--xsmall.vuecal--overflow-x .vuecal__heading .full,.vuecal--xsmall.vuecal--overflow-x .vuecal__heading .small{display:none}}@media screen and (max-width: 450px){.vuecal__heading .xsmall,.vuecal--small .vuecal__heading .xsmall,.vuecal--xsmall .vuecal__heading .xsmall{display:block}.vuecal__heading .full,.vuecal__heading .small,.vuecal--small .vuecal__heading .full,.vuecal--small .vuecal__heading .small,.vuecal--xsmall .vuecal__heading .full,.vuecal--xsmall .vuecal__heading .small{display:none}.vuecal--small.vuecal--overflow-x .vuecal__heading .small,.vuecal--xsmall.vuecal--overflow-x .vuecal__heading .xsmall{display:block}.vuecal--small.vuecal--overflow-x .vuecal__heading .full,.vuecal--small.vuecal--overflow-x .vuecal__heading .xsmall,.vuecal--xsmall.vuecal--overflow-x .vuecal__heading .full,.vuecal--xsmall.vuecal--overflow-x .vuecal__heading .small{display:none}}.vuecal__header button{outline:none;font-family:inherit}.vuecal__menu{padding:0;margin:0;list-style-type:none;justify-content:center;background-color:#00000005}.vuecal__view-btn{background:none;border:none;padding:.3em 1em;height:2.2em;font-size:1.3em;border-bottom:0 solid currentColor;cursor:pointer;color:inherit;box-sizing:border-box;transition:.2s}.vuecal__view-btn--active{border-bottom-width:2px;background:#ffffff26}.vuecal__title-bar{background-color:#0000001a;display:flex;align-items:center;text-align:center;justify-content:space-between;font-size:1.4em;line-height:1.3;min-height:2em}.vuecal--xsmall .vuecal__title-bar{font-size:1.3em}.vuecal__title{position:relative;justify-content:center}.vuecal__title button{cursor:pointer;background:none;border:none}.vuecal__title button.slide-fade--left-leave-active,.vuecal__title button.slide-fade--right-leave-active{width:100%}.vuecal__today-btn{position:relative;align-items:center;display:flex;font-size:.8em;background:none;border:none}.vuecal__today-btn span.default{font-size:.8em;padding:3px 6px;text-transform:uppercase;cursor:pointer}.vuecal__arrow{cursor:pointer;position:relative;z-index:1;background:none;border:none;white-space:nowrap}.vuecal__arrow--prev{margin-left:.6em}.vuecal__arrow--next{margin-right:.6em}.vuecal__arrow i.angle{display:inline-block;border:solid currentColor;border-width:0 2px 2px 0;padding:.25em;transform:rotate(-45deg)}.vuecal__arrow--prev i.angle{border-width:2px 0 0 2px}.vuecal__arrow--highlighted,.vuecal__today-btn--highlighted,.vuecal__view-btn--highlighted{position:relative;background-color:#0000000a}.vuecal__arrow--highlighted *,.vuecal__today-btn--highlighted *,.vuecal__view-btn--highlighted *{pointer-events:none}.vuecal__arrow--highlighted:before,.vuecal__arrow--highlighted:after,.vuecal__today-btn--highlighted:before,.vuecal__today-btn--highlighted:after,.vuecal__view-btn--highlighted:before,.vuecal__view-btn--highlighted:after{content:"";background-color:inherit;animation:sonar .8s infinite ease-out;position:absolute;top:50%;left:50%;pointer-events:none}.vuecal__arrow--highlighted:before,.vuecal__today-btn--highlighted:before,.vuecal__view-btn--highlighted:before{width:3em;height:3em;border-radius:3em;margin-top:-1.5em;margin-left:-1.5em}.vuecal__arrow--highlighted:after,.vuecal__today-btn--highlighted:after,.vuecal__view-btn--highlighted:after{animation-duration:1.5s;animation-delay:.1s;width:2.6em;height:2.6em;border-radius:2.6em;margin-top:-1.3em;margin-left:-1.3em}@keyframes sonar{0%,20%{opacity:1}to{transform:scale(2.5);opacity:0}}@media screen and (max-width: 450px){.vuecal__title{font-size:.9em}.vuecal__view-btn{padding-left:.6em;padding-right:.6em}}@media screen and (max-width: 350px){.vuecal__view-btn{font-size:1.1em}}.vuecal__event{color:#666;background-color:#f8f8f8cc;position:relative;box-sizing:border-box;left:0;width:100%;z-index:1;transition:box-shadow .3s,left .3s,width .3s;overflow:hidden}.vuecal--no-time .vuecal__event{min-height:8px}.vuecal:not(.vuecal--dragging-event) .vuecal__event:hover{z-index:2}.vuecal__cell .vuecal__event *{-webkit-user-select:text;-moz-user-select:text;user-select:text}.vuecal--view-with-time .vuecal__event:not(.vuecal__event--all-day){position:absolute}.vuecal--view-with-time .vuecal__bg .vuecal__event--all-day{position:absolute;top:0;bottom:0;z-index:0;opacity:.6;width:auto;right:0}.vuecal--view-with-time .vuecal__all-day .vuecal__event--all-day{position:relative;left:0}.vuecal__event--background{z-index:0}.vuecal__event--focus,.vuecal__event:focus{box-shadow:1px 1px 6px #0003;z-index:3;outline:none}.vuecal__event.vuecal__event--dragging{opacity:.7}.vuecal__event.vuecal__event--static{opacity:0;transition:opacity .1s}@-moz-document url-prefix(){.vuecal__event.vuecal__event--dragging{opacity:1}}.vuecal__event-resize-handle{position:absolute;bottom:0;left:0;right:0;height:1em;background-color:#ffffff4d;opacity:0;transform:translateY(110%);transition:.3s;cursor:ns-resize}.vuecal__event:hover .vuecal__event-resize-handle,.vuecal__event:focus .vuecal__event-resize-handle,.vuecal__event--focus .vuecal__event-resize-handle,.vuecal__event--resizing .vuecal__event-resize-handle{opacity:1;transform:translateY(0)}.vuecal__event--dragging .vuecal__event-resize-handle{display:none}.vuecal__event-delete{position:absolute;top:0;left:0;right:0;display:flex;flex-direction:column;align-items:center;justify-content:center;height:1.4em;line-height:1.4em;background-color:#dd3333d9;color:#fff;z-index:0;cursor:pointer;transform:translateY(-110%);transition:.3s}.vuecal__event .vuecal__event-delete{-webkit-user-select:none;-moz-user-select:none;user-select:none}.vuecal--full-height-delete .vuecal__event-delete{height:auto;bottom:0}.vuecal--full-height-delete .vuecal__event-delete:before{content:"";width:1.7em;height:1.8em;display:block;background-image:url('data:image/svg+xml;utf8,<svg width="512" height="512" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="M12 1.5a10.5 10.5 0 100 21 10.5 10.5 0 000-21zm5 14.1c.2 0 .2.2.2.2l-.1.3-1 1-.3.1h-.2L12 13.5l-3.5 3.6h-.3-.3l-1-1v-.4-.2l3.6-3.6-3.6-3.5A.4.4 0 017 8l1-1 .3-.2c.1 0 .2 0 .2.2l3.6 3.5L15.6 7l.2-.2c.1 0 .2 0 .3.2l1 1v.5L13.5 12z" fill="%23fff" opacity=".9"/></svg>')}.vuecal__event--deletable .vuecal__event-delete{transform:translateY(0);z-index:1}.vuecal__event--deletable.vuecal__event--dragging .vuecal__event-delete{opacity:0;transition:none}.vuecal--month-view .vuecal__event-title{font-size:.85em}.vuecal--short-events .vuecal__event-title{text-align:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding:0 3px}.vuecal__event-title,.vuecal__event-content{-webkit-hyphens:auto;hyphens:auto}.vuecal__event-title--edit{border-bottom:1px solid transparent;text-align:center;transition:.3s;color:inherit;background-image:url('data:image/svg+xml;utf8,<svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="M442 150l-39 39-80-80 39-39q6-6 15-6t15 6l50 50q6 6 6 15t-6 15zM64 368l236-236 80 80-236 236H64v-80z" fill="%23000" opacity=".4"/></svg>');background-repeat:no-repeat;background-position:120% .15em;background-size:.4em;outline:none;width:100%}.vuecal__event-title--edit:hover,.vuecal__event-title--edit:focus{border-color:#0006;background-position:99% .15em;background-size:1.2em}.vuecal__cell{position:relative;width:100%;display:flex;justify-content:center;align-items:center;text-align:center;transition:.15s ease-in-out background-color}.vuecal__cells.month-view .vuecal__cell,.vuecal__cells.week-view .vuecal__cell{width:14.2857%}.vuecal--hide-weekends .vuecal__cells.month-view .vuecal__cell,.vuecal--hide-weekends .vuecal__cells.week-view .vuecal__cell,.vuecal__cells.years-view .vuecal__cell{width:20%}.vuecal__cells.year-view .vuecal__cell{width:33.33%}.vuecal__cells.day-view .vuecal__cell{flex:1}.vuecal--overflow-x.vuecal--day-view .vuecal__cell{width:auto}.vuecal--click-to-navigate .vuecal__cell:not(.vuecal__cell--disabled){cursor:pointer}.vuecal--view-with-time .vuecal__cell,.vuecal--week-view.vuecal--no-time .vuecal__cell:not(.vuecal__cell--has-splits),.vuecal--day-view.vuecal--no-time .vuecal__cell:not(.vuecal__cell--has-splits){display:block}.vuecal__cell.vuecal__cell--has-splits{flex-direction:row;display:flex}.vuecal__cell:before{content:"";position:absolute;z-index:0;inset:0 -1px -1px 0;border:1px solid rgba(196,196,196,.25)}.vuecal--overflow-x.vuecal--day-view .vuecal__cell:before{bottom:0}.vuecal__cell--today,.vuecal__cell--current{background-color:#f0f0ff66;z-index:1}.vuecal__cell--selected{background-color:#ebfff566;z-index:2}.vuecal--day-view .vuecal__cell--selected{background:none}.vuecal__cell--out-of-scope{color:#00000040}.vuecal__cell--disabled{color:#00000040;cursor:not-allowed}.vuecal__cell--highlighted:not(.vuecal__cell--has-splits),.vuecal__cell-split.vuecal__cell-split--highlighted{background-color:#0000000a;transition-duration:5ms}.vuecal__cell-content{position:relative;width:100%;height:100%;outline:none}.vuecal--years-view .vuecal__cell-content,.vuecal--year-view .vuecal__cell-content,.vuecal--month-view .vuecal__cell-content{justify-content:center}.vuecal__cell .cell-time-labels{position:absolute;inset:0;display:flex;flex-direction:column}.vuecal__cell .cell-time-label{flex-grow:1;font-size:.8em;opacity:.3;line-height:1.7}.vuecal__cell-split{display:flex;flex-grow:1;flex-direction:column;height:100%;position:relative;transition:.15s ease-in-out background-color}.vuecal__cell-events{width:100%}.vuecal__cell-events-count{position:absolute;left:50%;top:65%;transform:translate(-50%);min-width:12px;height:12px;line-height:12px;padding:0 3px;background:#999;color:#fff;border-radius:12px;font-size:10px;box-sizing:border-box}.vuecal__cell .vuecal__special-hours{position:absolute;left:0;right:0;box-sizing:border-box}.vuecal--overflow-x.vuecal--week-view .vuecal__cell,.vuecal__cell-split{overflow:hidden}.vuecal__no-event{padding-top:1em;color:#aaa;justify-self:flex-start;margin-bottom:auto}.vuecal__all-day .vuecal__no-event{display:none}.vuecal__now-line{position:absolute;left:0;width:100%;height:0;color:red;border-top:1px solid currentColor;opacity:.6;z-index:1}.vuecal__now-line:before{content:"";position:absolute;top:-6px;left:0;border:5px solid transparent;border-left-color:currentColor}.vuecal{height:100%;box-shadow:0 0 0 1px inset #00000014}.vuecal *{-webkit-user-select:none;-moz-user-select:none;user-select:none}.vuecal--has-touch *:not(.vuecal__event-title--edit){-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.vuecal .clickable{cursor:pointer}.vuecal--resizing-event,.vuecal--drag-creating-event{cursor:ns-resize}.vuecal--dragging-event{cursor:move;cursor:grabbing}.vuecal .dragging-helper{position:absolute;width:60px;height:40px;background:#8abee6cc;border:1px solid #61a9e0;z-index:10}.vuecal--xsmall{font-size:.9em}.vuecal__flex{display:flex;flex-direction:row}.vuecal__flex[column]{flex-direction:column;flex:1 1 auto}.vuecal__flex[grow]{flex:1 1 auto;width:100%}.vuecal__flex[wrap]{flex-wrap:wrap}.vuecal__split-days-headers.slide-fade--right-leave-active{display:none}.vuecal--week-numbers.vuecal--month-view .vuecal__split-days-headers{margin-left:3em}.vuecal--day-view:not(.vuecal--overflow-x) .vuecal__split-days-headers{margin-left:3em;height:2.2em}.vuecal--day-view.vuecal--twelve-hour:not(.vuecal--overflow-x) .vuecal__split-days-headers{margin-left:4em}.vuecal__split-days-headers .day-split-header{display:flex;flex-grow:1;flex-basis:0;justify-content:center;align-items:center;height:100%}.vuecal__split-days-headers .vuecal--day-view.vuecal--overflow-x.vuecal--sticky-split-labels .day-split-header{height:1.5em}.vuecal__body{position:relative;overflow:hidden}.vuecal__all-day{min-height:1.7em;margin-bottom:-1px;flex-shrink:0}.vuecal__all-day-text{width:3em;box-sizing:border-box;color:#999;padding-right:2px;display:flex;flex-shrink:0;align-items:center;justify-content:flex-end;border-bottom:1px solid #ddd;-webkit-hyphens:auto;hyphens:auto}.vuecal__all-day-text span{font-size:.85em;text-align:right;line-height:1.1}.vuecal--twelve-hour .vuecal__all-day>span{width:4em}.vuecal__bg{overflow:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;min-height:60px;position:relative;width:100%}.vuecal--no-time .vuecal__bg{display:flex;flex:1 1 auto;overflow:auto}.vuecal__week-numbers{width:3em;flex-shrink:0!important}.vuecal__week-numbers .vuecal__week-number-cell{opacity:.4;font-size:.9em;align-items:center;justify-items:center;justify-content:center}.vuecal__scrollbar-check{position:absolute;inset:0;overflow:scroll;visibility:hidden;z-index:-1}.vuecal__scrollbar-check div{height:120%}.vuecal__time-column{width:3em;height:100%;flex-shrink:0}.vuecal--twelve-hour .vuecal__time-column{width:4em;font-size:.9em}.vuecal--overflow-x.vuecal--week-view .vuecal__time-column{margin-top:2.8em;box-shadow:0 1px 1px #0000004d}.vuecal--overflow-x.vuecal--week-view.vuecal--sticky-split-labels .vuecal__time-column{margin-top:3.4em}.vuecal--overflow-x.vuecal--day-view.vuecal--sticky-split-labels .vuecal__time-column{margin-top:1.5em}.vuecal__time-column .vuecal__time-cell{color:#999;text-align:right;padding-right:2px;font-size:.9em}.vuecal__time-column .vuecal__time-cell-line:before{content:"";position:absolute;left:0;right:0;border-top:1px solid rgba(196,196,196,.3)}.vuecal__cells{margin:0 1px 1px 0}.vuecal--overflow-x.vuecal--day-view .vuecal__cells{margin:0}.vuecal--events-on-month-view.vuecal--short-events .vuecal__cells{width:99.9%}.vuecal--overflow-x.vuecal--day-view .vuecal__cells,.vuecal--overflow-x.vuecal--week-view .vuecal__cells{flex-wrap:nowrap;overflow:auto}.slide-fade--left-enter-active,.slide-fade--left-leave-active,.slide-fade--right-enter-active,.slide-fade--right-leave-active{transition:.25s ease-out}.slide-fade--left-enter-from,.slide-fade--right-leave-to{transform:translate(-15px);opacity:0}.slide-fade--left-leave-to,.slide-fade--right-enter-from{transform:translate(15px);opacity:0}.slide-fade--left-leave-active,.slide-fade--right-leave-active{position:absolute!important;height:100%}.vuecal__title-bar .slide-fade--left-leave-active,.vuecal__title-bar .slide-fade--right-leave-active{left:0;right:0;height:auto}.vuecal__heading .slide-fade--left-leave-active,.vuecal__heading .slide-fade--right-leave-active{display:flex;align-items:center}.vuecal--green-theme .vuecal__menu,.vuecal--green-theme .vuecal__cell-events-count{background-color:#42b983;color:#fff}.vuecal--green-theme .vuecal__title-bar{background-color:#e4f5ef}.vuecal--green-theme .vuecal__cell--today,.vuecal--green-theme .vuecal__cell--current{background-color:#f0f0ff66}.vuecal--green-theme:not(.vuecal--day-view) .vuecal__cell--selected{background-color:#ebfff566}.vuecal--green-theme .vuecal__cell--selected:before{border-color:#42b98380}.vuecal--green-theme .vuecal__cell--highlighted:not(.vuecal__cell--has-splits),.vuecal--green-theme .vuecal__cell-split--highlighted{background-color:#c3ffe180}.vuecal--green-theme .vuecal__arrow--highlighted,.vuecal--green-theme .vuecal__today-btn--highlighted,.vuecal--green-theme .vuecal__view-btn--highlighted{background-color:#88ecbf40}.vuecal--blue-theme .vuecal__menu,.vuecal--blue-theme .vuecal__cell-events-count{background-color:#42a3b9cc;color:#fff}.vuecal--blue-theme .vuecal__title-bar{background-color:#00a5bc4d}.vuecal--blue-theme .vuecal__cell--today,.vuecal--blue-theme .vuecal__cell--current{background-color:#f0f0ff66}.vuecal--blue-theme:not(.vuecal--day-view) .vuecal__cell--selected{background-color:#ebfdff66}.vuecal--blue-theme .vuecal__cell--selected:before{border-color:#73bfcc80}.vuecal--blue-theme .vuecal__cell--highlighted:not(.vuecal__cell--has-splits),.vuecal--blue-theme .vuecal__cell-split--highlighted{background-color:#00a5bc0f}.vuecal--blue-theme .vuecal__arrow--highlighted,.vuecal--blue-theme .vuecal__today-btn--highlighted,.vuecal--blue-theme .vuecal__view-btn--highlighted{background-color:#42a3b933}.vuecal--rounded-theme .vuecal__weekdays-headings{border:none}.vuecal--rounded-theme .vuecal__cell,.vuecal--rounded-theme .vuecal__cell:before{background:none;border:none}.vuecal--rounded-theme .vuecal__cell--out-of-scope{opacity:.4}.vuecal--rounded-theme .vuecal__cell-content{width:30px;height:30px;flex-grow:0;border:1px solid transparent;border-radius:30px;color:#333}.vuecal--rounded-theme.vuecal--day-view .vuecal__cell-content{width:auto;background:none}.vuecal--rounded-theme.vuecal--year-view .vuecal__cell{width:33.33%}.vuecal--rounded-theme.vuecal--year-view .vuecal__cell-content{width:85px}.vuecal--rounded-theme.vuecal--years-view .vuecal__cell-content{width:52px}.vuecal--rounded-theme .vuecal__cell{background-color:transparent!important}.vuecal--rounded-theme.vuecal--green-theme:not(.vuecal--day-view) .vuecal__cell-content{background-color:#f1faf7}.vuecal--rounded-theme.vuecal--green-theme:not(.vuecal--day-view) .vuecal__cell--today .vuecal__cell-content{background-color:#42b983;color:#fff}.vuecal--rounded-theme.vuecal--green-theme .vuecal--day-view .vuecal__cell--today:before{background-color:#42b9830d}.vuecal--rounded-theme.vuecal--green-theme:not(.vuecal--day-view) .vuecal__cell--selected .vuecal__cell-content{border-color:#42b983}.vuecal--rounded-theme.vuecal--green-theme .vuecal__cell--highlighted:not(.vuecal__cell--has-splits),.vuecal--rounded-theme.vuecal--green-theme .vuecal__cell-split--highlighted{background-color:#c3ffe180}.vuecal--rounded-theme.vuecal--blue-theme:not(.vuecal--day-view) .vuecal__cell-content{background-color:#64b6ff33}.vuecal--rounded-theme.vuecal--blue-theme:not(.vuecal--day-view) .vuecal__cell--today .vuecal__cell-content{background-color:#8fb7e4;color:#fff}.vuecal--rounded-theme.vuecal--blue-theme .vuecal--day-view .vuecal__cell--today:before{background-color:#8fb7e41a}.vuecal--rounded-theme.vuecal--blue-theme:not(.vuecal--day-view) .vuecal__cell--selected .vuecal__cell-content{border-color:#61a9e0}.vuecal--rounded-theme.vuecal--blue-theme .vuecal__cell--highlighted:not(.vuecal__cell--has-splits),.vuecal--rounded-theme.vuecal--blue-theme .vuecal__cell-split--highlighted{background-color:#00a5bc0f}.vuecal--date-picker .vuecal__title-bar{font-size:1.2em}.vuecal--date-picker .vuecal__heading{height:2.2em;font-weight:500;opacity:.4}.vuecal--date-picker .vuecal__weekdays-headings{border:none}.vuecal--date-picker .vuecal__body{margin-left:1px}.vuecal--date-picker .vuecal__cell,.vuecal--date-picker .vuecal__cell:before{background:none;border:none}.vuecal--date-picker .vuecal__cell-content{height:26px;flex-grow:0;border:1px solid transparent;border-radius:25px;transition:background-color .2s cubic-bezier(.39,.58,.57,1)}.vuecal--date-picker.vuecal--years-view .vuecal__cell-content{flex:0;padding:0 4px;height:24px}.vuecal--date-picker.vuecal--year-view .vuecal__cell-content{flex:0;padding:0 15px}.vuecal--date-picker.vuecal--month-view .vuecal__cell-content{width:26px}.vuecal--date-picker:not(.vuecal--day-view) .vuecal__cell-content:hover{background-color:#0000001a}.vuecal--date-picker:not(.vuecal--day-view) .vuecal__cell--selected .vuecal__cell-content{background-color:#42b982;color:#fff}.vuecal--date-picker:not(.vuecal--day-view) .vuecal__cell--current .vuecal__cell-content,.vuecal--date-picker:not(.vuecal--day-view) .vuecal__cell--today .vuecal__cell-content{border-color:#42b982}._container_nvxc2_1{width:100%;height:var(--3d1c8ff8)}._title_nvxc2_6{width:100%;font-family:none;font-size:1.25rem;font-weight:700;color:var(--color-white);text-align:center}.vuecal,.vuecal__body{border-radius:8px}.vuecal__cell-events{display:flex;flex-wrap:wrap;gap:2px;justify-content:center}.vuecal__event{display:flex;align-items:center;justify-content:center;width:30px;height:30px;cursor:pointer;background-color:var(--color-accent);border-radius:50%}.vuecal__title-bar{min-height:41px;font-size:1rem;font-weight:700;color:var(--color-black);background-color:var(--color-gray-light-extra);border:1px solid var(--color-gray);border-top-left-radius:8px;border-top-right-radius:8px}.vuecal__arrow{color:var(--color-black)}.vuecal__title span:nth-child(2){display:none}.vuecal__cell--out-of-scope{color:var(--color-gray-dark)}.vuecal__cell--selected,.vuecal__cell--today{background-color:var(--color-primary-light-extra)}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./UiCalendar.css";
|
|
2
|
-
import { resolveComponent as L, createElementBlock as c, openBlock as h, normalizeClass as k, createVNode as I, createCommentVNode as y, createSlots as G, withCtx as
|
|
2
|
+
import { resolveComponent as L, createElementBlock as c, openBlock as h, normalizeClass as k, createVNode as I, createCommentVNode as y, createSlots as G, withCtx as w, renderSlot as f, createTextVNode as E, toDisplayString as D, createElementVNode as b, Transition as q, createBlock as A, normalizeProps as J, mergeProps as Q, normalizeStyle as S, Fragment as T, renderList as O, resolveDynamicComponent as re, TransitionGroup as oe, withKeys as ie, withModifiers as x, defineComponent as de, useCssVars as ue, computed as he, unref as ce } from "vue";
|
|
3
3
|
import { _ as ve } from "../_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
var me = Object.defineProperty, ye = (t, e, s) => e in t ? me(t, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[e] = s, V = (t, e, s) => ye(t, typeof e != "symbol" ? e + "" : e, s);
|
|
5
5
|
const fe = (t, e, s) => {
|
|
@@ -15,34 +15,34 @@ const fe = (t, e, s) => {
|
|
|
15
15
|
);
|
|
16
16
|
});
|
|
17
17
|
};
|
|
18
|
-
let z, $, ee,
|
|
18
|
+
let z, $, ee, W, P = {}, B = {};
|
|
19
19
|
class we {
|
|
20
20
|
constructor(e, s = !1) {
|
|
21
|
-
V(this, "texts", {}), V(this, "dateToMinutes", (n) => n.getHours() * 60 + n.getMinutes()),
|
|
21
|
+
V(this, "texts", {}), V(this, "dateToMinutes", (n) => n.getHours() * 60 + n.getMinutes()), W = this, this._texts = e, !s && Date && !Date.prototype.addDays && this._initDatePrototypes();
|
|
22
22
|
}
|
|
23
23
|
_initDatePrototypes() {
|
|
24
24
|
Date.prototype.addDays = function(e) {
|
|
25
|
-
return
|
|
25
|
+
return W.addDays(this, e);
|
|
26
26
|
}, Date.prototype.subtractDays = function(e) {
|
|
27
|
-
return
|
|
27
|
+
return W.subtractDays(this, e);
|
|
28
28
|
}, Date.prototype.addHours = function(e) {
|
|
29
|
-
return
|
|
29
|
+
return W.addHours(this, e);
|
|
30
30
|
}, Date.prototype.subtractHours = function(e) {
|
|
31
|
-
return
|
|
31
|
+
return W.subtractHours(this, e);
|
|
32
32
|
}, Date.prototype.addMinutes = function(e) {
|
|
33
|
-
return
|
|
33
|
+
return W.addMinutes(this, e);
|
|
34
34
|
}, Date.prototype.subtractMinutes = function(e) {
|
|
35
|
-
return
|
|
35
|
+
return W.subtractMinutes(this, e);
|
|
36
36
|
}, Date.prototype.getWeek = function() {
|
|
37
|
-
return
|
|
37
|
+
return W.getWeek(this);
|
|
38
38
|
}, Date.prototype.isToday = function() {
|
|
39
|
-
return
|
|
39
|
+
return W.isToday(this);
|
|
40
40
|
}, Date.prototype.isLeapYear = function() {
|
|
41
|
-
return
|
|
41
|
+
return W.isLeapYear(this);
|
|
42
42
|
}, Date.prototype.format = function(e = "YYYY-MM-DD") {
|
|
43
|
-
return
|
|
43
|
+
return W.formatDate(this, e);
|
|
44
44
|
}, Date.prototype.formatTime = function(e = "HH:mm") {
|
|
45
|
-
return
|
|
45
|
+
return W.formatTime(this, e);
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
48
|
removePrototypes() {
|
|
@@ -303,7 +303,7 @@ class ge {
|
|
|
303
303
|
}
|
|
304
304
|
}
|
|
305
305
|
const pe = 2, K = 24 * 60;
|
|
306
|
-
let
|
|
306
|
+
let p, _, X;
|
|
307
307
|
class _e {
|
|
308
308
|
constructor(e, s) {
|
|
309
309
|
V(this, "_vuecal", null), V(this, "eventDefaults", {
|
|
@@ -332,7 +332,7 @@ class _e {
|
|
|
332
332
|
// Controls the CSS class of the static clone while dragging.
|
|
333
333
|
focused: !1,
|
|
334
334
|
class: ""
|
|
335
|
-
}), this._vuecal = e,
|
|
335
|
+
}), this._vuecal = e, p = s;
|
|
336
336
|
}
|
|
337
337
|
/**
|
|
338
338
|
* Create an event at the given date and time, and allow overriding
|
|
@@ -343,11 +343,11 @@ class _e {
|
|
|
343
343
|
* @param {Object} eventOptions some options to override the `eventDefaults` - optional.
|
|
344
344
|
*/
|
|
345
345
|
createAnEvent(e, s, n) {
|
|
346
|
-
if (typeof e == "string" && (e =
|
|
347
|
-
const l =
|
|
346
|
+
if (typeof e == "string" && (e = p.stringToDate(e)), !(e instanceof Date)) return !1;
|
|
347
|
+
const l = p.dateToMinutes(e);
|
|
348
348
|
s = s * 1 || pe * 60;
|
|
349
|
-
const i = l + s, r =
|
|
350
|
-
n.end && (typeof n.end == "string" && (n.end =
|
|
349
|
+
const i = l + s, r = p.addMinutes(new Date(e), s);
|
|
350
|
+
n.end && (typeof n.end == "string" && (n.end = p.stringToDate(n.end)), n.endTimeMinutes = p.dateToMinutes(n.end));
|
|
351
351
|
const a = {
|
|
352
352
|
...this.eventDefaults,
|
|
353
353
|
_eid: `${this._vuecal._.uid}_${this._vuecal.eventIdIncrement++}`,
|
|
@@ -359,7 +359,7 @@ class _e {
|
|
|
359
359
|
...n
|
|
360
360
|
};
|
|
361
361
|
if (!(typeof this._vuecal.onEventCreate == "function" && !this._vuecal.onEventCreate(a, () => this.deleteAnEvent(a))))
|
|
362
|
-
return a.startDateF !== a.endDateF && (a.daysCount =
|
|
362
|
+
return a.startDateF !== a.endDateF && (a.daysCount = p.countDays(a.start, a.end)), this._vuecal.mutableEvents.push(a), this._vuecal.addEventsToView([a]), this._vuecal.emitWithEvent("event-create", a), this._vuecal.$emit("event-change", { event: this._vuecal.cleanupEvent(a), originalEvent: null }), a;
|
|
363
363
|
}
|
|
364
364
|
/**
|
|
365
365
|
* Add an event segment (= day) to a multiple-day event.
|
|
@@ -367,23 +367,23 @@ class _e {
|
|
|
367
367
|
* @param {Object} e the multiple-day event to add segment in.
|
|
368
368
|
*/
|
|
369
369
|
addEventSegment(e) {
|
|
370
|
-
e.segments || (e.segments = {}, e.segments[
|
|
370
|
+
e.segments || (e.segments = {}, e.segments[p.formatDateLite(e.start)] = {
|
|
371
371
|
start: e.start,
|
|
372
372
|
startTimeMinutes: e.startTimeMinutes,
|
|
373
373
|
endTimeMinutes: K,
|
|
374
374
|
isFirstDay: !0,
|
|
375
375
|
isLastDay: !1
|
|
376
376
|
});
|
|
377
|
-
const s = e.segments[
|
|
377
|
+
const s = e.segments[p.formatDateLite(e.end)];
|
|
378
378
|
s && (s.isLastDay = !1, s.endTimeMinutes = K);
|
|
379
|
-
const n =
|
|
379
|
+
const n = p.addDays(e.end, 1), l = p.formatDateLite(n);
|
|
380
380
|
return n.setHours(0, 0, 0, 0), e.segments[l] = {
|
|
381
381
|
start: n,
|
|
382
382
|
startTimeMinutes: 0,
|
|
383
383
|
endTimeMinutes: e.endTimeMinutes,
|
|
384
384
|
isFirstDay: !1,
|
|
385
385
|
isLastDay: !0
|
|
386
|
-
}, e.end =
|
|
386
|
+
}, e.end = p.addMinutes(n, e.endTimeMinutes), e.daysCount = Object.keys(e.segments).length, l;
|
|
387
387
|
}
|
|
388
388
|
/**
|
|
389
389
|
* Remove an event segment (= day) from a multiple-day event.
|
|
@@ -392,9 +392,9 @@ class _e {
|
|
|
392
392
|
*/
|
|
393
393
|
removeEventSegment(e) {
|
|
394
394
|
let s = Object.keys(e.segments).length;
|
|
395
|
-
if (s <= 1) return
|
|
396
|
-
delete e.segments[
|
|
397
|
-
const n =
|
|
395
|
+
if (s <= 1) return p.formatDateLite(e.end);
|
|
396
|
+
delete e.segments[p.formatDateLite(e.end)], s--;
|
|
397
|
+
const n = p.subtractDays(e.end, 1), l = p.formatDateLite(n), i = e.segments[l];
|
|
398
398
|
return s ? i && (i.isLastDay = !0, i.endTimeMinutes = e.endTimeMinutes) : e.segments = null, e.daysCount = s || 1, e.end = n, l;
|
|
399
399
|
}
|
|
400
400
|
/**
|
|
@@ -412,21 +412,21 @@ class _e {
|
|
|
412
412
|
let r = e.start.getTime(), a = e.end.getTime(), d = !1, o, u, v;
|
|
413
413
|
for (!e.end.getHours() && !e.end.getMinutes() && (a -= 1e3), e.segments = {}, e.repeat ? (o = l, u = Math.min(
|
|
414
414
|
i,
|
|
415
|
-
e.repeat.until ?
|
|
415
|
+
e.repeat.until ? p.stringToDate(e.repeat.until).getTime() : i
|
|
416
416
|
)) : (o = Math.max(l, r), u = Math.min(i, a)); o <= u; ) {
|
|
417
417
|
let m = !1;
|
|
418
|
-
const M =
|
|
419
|
-
let
|
|
418
|
+
const M = p.addDays(new Date(o), 1).setHours(0, 0, 0, 0);
|
|
419
|
+
let g, H, j, C;
|
|
420
420
|
if (e.repeat) {
|
|
421
|
-
const F = new Date(o), Y =
|
|
422
|
-
(d || e.occurrences && e.occurrences[Y]) && (d || (r = e.occurrences[Y].start, v = new Date(r).setHours(0, 0, 0, 0), a = e.occurrences[Y].end), d = !0, m = !0),
|
|
421
|
+
const F = new Date(o), Y = p.formatDateLite(F);
|
|
422
|
+
(d || e.occurrences && e.occurrences[Y]) && (d || (r = e.occurrences[Y].start, v = new Date(r).setHours(0, 0, 0, 0), a = e.occurrences[Y].end), d = !0, m = !0), g = o === v, H = Y === p.formatDateLite(new Date(a)), j = new Date(g ? r : o), C = p.formatDateLite(j), H && (d = !1);
|
|
423
423
|
} else
|
|
424
|
-
m = !0,
|
|
424
|
+
m = !0, g = o === r, H = u === a && M > u, j = g ? e.start : new Date(o), C = p.formatDateLite(g ? e.start : j);
|
|
425
425
|
m && (e.segments[C] = {
|
|
426
426
|
start: j,
|
|
427
|
-
startTimeMinutes:
|
|
427
|
+
startTimeMinutes: g ? e.startTimeMinutes : 0,
|
|
428
428
|
endTimeMinutes: H ? e.endTimeMinutes : K,
|
|
429
|
-
isFirstDay:
|
|
429
|
+
isFirstDay: g,
|
|
430
430
|
isLastDay: H
|
|
431
431
|
}), o = M;
|
|
432
432
|
}
|
|
@@ -445,24 +445,24 @@ class _e {
|
|
|
445
445
|
// Will recalculate all the overlaps of the current cell OR split.
|
|
446
446
|
// cellEvents will contain only the current split events if in a split.
|
|
447
447
|
checkCellOverlappingEvents(e, s) {
|
|
448
|
-
X = e.slice(0),
|
|
449
|
-
X.shift(),
|
|
450
|
-
|
|
451
|
-
const r = this.eventInRange(i, l.start, l.end), a = s.overlapsPerTimeStep ?
|
|
448
|
+
X = e.slice(0), _ = {}, e.forEach((l) => {
|
|
449
|
+
X.shift(), _[l._eid] || (_[l._eid] = { overlaps: [], start: l.start, position: 0 }), _[l._eid].position = 0, X.forEach((i) => {
|
|
450
|
+
_[i._eid] || (_[i._eid] = { overlaps: [], start: i.start, position: 0 });
|
|
451
|
+
const r = this.eventInRange(i, l.start, l.end), a = s.overlapsPerTimeStep ? p.datesInSameTimeStep(l.start, i.start, s.timeStep) : 1;
|
|
452
452
|
if (!l.background && !l.allDay && !i.background && !i.allDay && r && a)
|
|
453
|
-
|
|
453
|
+
_[l._eid].overlaps.push(i._eid), _[l._eid].overlaps = [...new Set(_[l._eid].overlaps)], _[i._eid].overlaps.push(l._eid), _[i._eid].overlaps = [...new Set(_[i._eid].overlaps)], _[i._eid].position++;
|
|
454
454
|
else {
|
|
455
455
|
let d, o;
|
|
456
|
-
(d = (
|
|
456
|
+
(d = (_[l._eid] || { overlaps: [] }).overlaps.indexOf(i._eid)) > -1 && _[l._eid].overlaps.splice(d, 1), (o = (_[i._eid] || { overlaps: [] }).overlaps.indexOf(l._eid)) > -1 && _[i._eid].overlaps.splice(o, 1), _[i._eid].position--;
|
|
457
457
|
}
|
|
458
458
|
});
|
|
459
459
|
});
|
|
460
460
|
let n = 0;
|
|
461
|
-
for (const l in
|
|
462
|
-
const i =
|
|
463
|
-
r.push({ id: l, start: i.start }), r.sort((a, d) => a.start < d.start ? -1 : a.start > d.start ? 1 : a.id > d.id ? -1 : 1), i.position = r.findIndex((a) => a.id === l), n = Math.max(this.getOverlapsStreak(i,
|
|
461
|
+
for (const l in _) {
|
|
462
|
+
const i = _[l], r = i.overlaps.map((a) => ({ id: a, start: _[a].start }));
|
|
463
|
+
r.push({ id: l, start: i.start }), r.sort((a, d) => a.start < d.start ? -1 : a.start > d.start ? 1 : a.id > d.id ? -1 : 1), i.position = r.findIndex((a) => a.id === l), n = Math.max(this.getOverlapsStreak(i, _), n);
|
|
464
464
|
}
|
|
465
|
-
return [
|
|
465
|
+
return [_, n];
|
|
466
466
|
}
|
|
467
467
|
/**
|
|
468
468
|
* Overlaps streak is the longest horizontal set of simultaneous events.
|
|
@@ -509,11 +509,11 @@ const be = { class: "vuecal__flex vuecal__weekdays-headings" }, ke = ["onClick"]
|
|
|
509
509
|
};
|
|
510
510
|
function We(t, e, s, n, l, i) {
|
|
511
511
|
return h(), c("div", be, [
|
|
512
|
-
(h(!0), c(T, null,
|
|
512
|
+
(h(!0), c(T, null, O(i.headings, (r, a) => (h(), c(T, { key: a }, [
|
|
513
513
|
r.hide ? y("", !0) : (h(), c("div", {
|
|
514
514
|
key: 0,
|
|
515
515
|
class: k(["vuecal__flex vuecal__heading", { today: r.today, clickable: i.cellHeadingsClickable }]),
|
|
516
|
-
style:
|
|
516
|
+
style: S(i.weekdayCellStyles),
|
|
517
517
|
onClick: (d) => i.view.id === "week" && i.selectCell(r.date, d),
|
|
518
518
|
onDblclick: e[0] || (e[0] = (d) => i.view.id === "week" && i.vuecal.dblclickToNavigate && s.switchToNarrowerView())
|
|
519
519
|
}, [
|
|
@@ -521,7 +521,7 @@ function We(t, e, s, n, l, i) {
|
|
|
521
521
|
name: `slide-fade--${s.transitionDirection}`,
|
|
522
522
|
appear: i.vuecal.transitions
|
|
523
523
|
}, {
|
|
524
|
-
default:
|
|
524
|
+
default: w(() => [
|
|
525
525
|
(h(), c("div", {
|
|
526
526
|
class: "vuecal__flex",
|
|
527
527
|
column: "",
|
|
@@ -532,14 +532,14 @@ function We(t, e, s, n, l, i) {
|
|
|
532
532
|
heading: i.cleanupHeading(r),
|
|
533
533
|
view: i.view
|
|
534
534
|
}, () => [
|
|
535
|
-
b("span", Me,
|
|
536
|
-
b("span", Ce,
|
|
537
|
-
b("span", Ee,
|
|
538
|
-
r.dayOfMonth ? (h(), c("span", Se, " " +
|
|
535
|
+
b("span", Me, D(r.full), 1),
|
|
536
|
+
b("span", Ce, D(r.small), 1),
|
|
537
|
+
b("span", Ee, D(r.xsmall), 1),
|
|
538
|
+
r.dayOfMonth ? (h(), c("span", Se, " " + D(r.dayOfMonth), 1)) : y("", !0)
|
|
539
539
|
])
|
|
540
540
|
]),
|
|
541
541
|
i.vuecal.hasSplits && i.vuecal.stickySplitLabels ? (h(), c("div", Oe, [
|
|
542
|
-
(h(!0), c(T, null,
|
|
542
|
+
(h(!0), c(T, null, O(i.vuecal.daySplits, (d, o) => (h(), c("div", {
|
|
543
543
|
class: k(["day-split-header", d.class || !1]),
|
|
544
544
|
key: o
|
|
545
545
|
}, [
|
|
@@ -547,7 +547,7 @@ function We(t, e, s, n, l, i) {
|
|
|
547
547
|
split: d,
|
|
548
548
|
view: i.view
|
|
549
549
|
}, () => [
|
|
550
|
-
E(
|
|
550
|
+
E(D(d.label), 1)
|
|
551
551
|
])
|
|
552
552
|
], 2))), 128))
|
|
553
553
|
])) : y("", !0)
|
|
@@ -635,7 +635,7 @@ function Ie(t, e, s, n, l, i) {
|
|
|
635
635
|
const r = L("weekdays-headings");
|
|
636
636
|
return h(), c("div", Ve, [
|
|
637
637
|
s.options.hideViewSelector ? y("", !0) : (h(), c("div", Ae, [
|
|
638
|
-
(h(!0), c(T, null,
|
|
638
|
+
(h(!0), c(T, null, O(s.viewProps.views, (a, d) => (h(), c(T, { key: d }, [
|
|
639
639
|
a.enabled ? (h(), c("button", {
|
|
640
640
|
key: 0,
|
|
641
641
|
class: k(["vuecal__view-btn", { "vuecal__view-btn--active": i.view.id === d, "vuecal__view-btn--highlighted": t.highlightedControl === d }]),
|
|
@@ -644,7 +644,7 @@ function Ie(t, e, s, n, l, i) {
|
|
|
644
644
|
onDragleave: (o) => s.editEvents.drag && i.dnd && i.dnd.viewSelectorDragLeave(o, d, t.$data),
|
|
645
645
|
onClick: (o) => i.switchView(d, null, !0),
|
|
646
646
|
"aria-label": `${a.label} view`
|
|
647
|
-
},
|
|
647
|
+
}, D(a.label), 43, je)) : y("", !0)
|
|
648
648
|
], 64))), 128))
|
|
649
649
|
])),
|
|
650
650
|
s.options.hideTitleBar ? y("", !0) : (h(), c("div", Ye, [
|
|
@@ -662,14 +662,14 @@ function Ie(t, e, s, n, l, i) {
|
|
|
662
662
|
I(q, {
|
|
663
663
|
name: s.options.transitions ? `slide-fade--${i.transitionDirection}` : ""
|
|
664
664
|
}, {
|
|
665
|
-
default:
|
|
665
|
+
default: w(() => [
|
|
666
666
|
(h(), A(re(i.broaderView ? "button" : "span"), {
|
|
667
667
|
type: !!i.broaderView && "button",
|
|
668
668
|
key: `${i.view.id}${i.view.startDate.toString()}`,
|
|
669
669
|
onClick: e[3] || (e[3] = (a) => !!i.broaderView && i.switchToBroaderView()),
|
|
670
670
|
"aria-label": !!i.broaderView && `Go to ${i.broaderView} view`
|
|
671
671
|
}, {
|
|
672
|
-
default:
|
|
672
|
+
default: w(() => [
|
|
673
673
|
f(t.$slots, "title")
|
|
674
674
|
]),
|
|
675
675
|
_: 3
|
|
@@ -708,7 +708,7 @@ function Ie(t, e, s, n, l, i) {
|
|
|
708
708
|
}, G({ _: 2 }, [
|
|
709
709
|
t.$slots["weekday-heading"] ? {
|
|
710
710
|
name: "weekday-heading",
|
|
711
|
-
fn:
|
|
711
|
+
fn: w(({ heading: a, view: d }) => [
|
|
712
712
|
f(t.$slots, "weekday-heading", {
|
|
713
713
|
heading: a,
|
|
714
714
|
view: d
|
|
@@ -718,7 +718,7 @@ function Ie(t, e, s, n, l, i) {
|
|
|
718
718
|
} : void 0,
|
|
719
719
|
t.$slots["split-label"] ? {
|
|
720
720
|
name: "split-label",
|
|
721
|
-
fn:
|
|
721
|
+
fn: w(({ split: a }) => [
|
|
722
722
|
f(t.$slots, "split-label", {
|
|
723
723
|
split: a,
|
|
724
724
|
view: i.view
|
|
@@ -730,9 +730,9 @@ function Ie(t, e, s, n, l, i) {
|
|
|
730
730
|
I(q, {
|
|
731
731
|
name: `slide-fade--${i.transitionDirection}`
|
|
732
732
|
}, {
|
|
733
|
-
default:
|
|
733
|
+
default: w(() => [
|
|
734
734
|
i.showDaySplits ? (h(), c("div", Be, [
|
|
735
|
-
(h(!0), c(T, null,
|
|
735
|
+
(h(!0), c(T, null, O(s.daySplits, (a, d) => (h(), c("div", {
|
|
736
736
|
class: k(["day-split-header", a.class || !1]),
|
|
737
737
|
key: d
|
|
738
738
|
}, [
|
|
@@ -740,7 +740,7 @@ function Ie(t, e, s, n, l, i) {
|
|
|
740
740
|
split: a,
|
|
741
741
|
view: i.view.id
|
|
742
742
|
}, () => [
|
|
743
|
-
E(
|
|
743
|
+
E(D(a.label), 1)
|
|
744
744
|
])
|
|
745
745
|
], 2))), 128))
|
|
746
746
|
])) : y("", !0)
|
|
@@ -799,7 +799,7 @@ const Ne = {
|
|
|
799
799
|
function Ue(t, e, s, n, l, i) {
|
|
800
800
|
return h(), c("div", {
|
|
801
801
|
class: k(["vuecal__event", i.eventClasses]),
|
|
802
|
-
style:
|
|
802
|
+
style: S(i.eventStyles),
|
|
803
803
|
tabindex: "0",
|
|
804
804
|
onFocus: e[4] || (e[4] = (...r) => i.focusEvent && i.focusEvent(...r)),
|
|
805
805
|
onKeypress: e[5] || (e[5] = ie(x((...r) => i.onEnterKeypress && i.onEnterKeypress(...r), ["stop"]), ["enter"])),
|
|
@@ -820,7 +820,7 @@ function Ue(t, e, s, n, l, i) {
|
|
|
820
820
|
class: "vuecal__event-delete",
|
|
821
821
|
onClick: e[0] || (e[0] = x((...r) => i.deleteEvent && i.deleteEvent(...r), ["stop"])),
|
|
822
822
|
onTouchstart: e[1] || (e[1] = x((...r) => i.touchDeleteEvent && i.touchDeleteEvent(...r), ["stop"]))
|
|
823
|
-
},
|
|
823
|
+
}, D(i.vuecal.texts.deleteEvent), 33)) : y("", !0),
|
|
824
824
|
f(t.$slots, "event", {
|
|
825
825
|
event: s.event,
|
|
826
826
|
view: i.view.id
|
|
@@ -1016,10 +1016,10 @@ function Qe(t, e, s, n, l, i) {
|
|
|
1016
1016
|
name: `slide-fade--${i.transitionDirection}`,
|
|
1017
1017
|
tag: "div",
|
|
1018
1018
|
appear: s.options.transitions,
|
|
1019
|
-
style:
|
|
1019
|
+
style: S(i.cellStyles)
|
|
1020
1020
|
}, {
|
|
1021
|
-
default:
|
|
1022
|
-
(h(!0), c(T, null,
|
|
1021
|
+
default: w(() => [
|
|
1022
|
+
(h(!0), c(T, null, O(i.splitsCount ? i.splits : 1, (a, d) => (h(), c("div", {
|
|
1023
1023
|
class: k(["vuecal__flex vuecal__cell-content", i.splitsCount && i.splitClasses(a)]),
|
|
1024
1024
|
key: s.options.transitions ? `${i.view.id}-${s.data.content}-${d}` : d,
|
|
1025
1025
|
"data-split": i.splitsCount ? a.id : !1,
|
|
@@ -1039,14 +1039,14 @@ function Qe(t, e, s, n, l, i) {
|
|
|
1039
1039
|
onDrop: (o) => !i.isDisabled && s.editEvents.drag && i.dnd && i.dnd.cellDragDrop(o, t.$data, s.data.startDate, i.splitsCount ? a.id : null)
|
|
1040
1040
|
}, [
|
|
1041
1041
|
s.options.showTimeInCells && s.options.time && i.isWeekOrDayView && !s.allDay ? (h(), c("div", Xe, [
|
|
1042
|
-
(h(!0), c(T, null,
|
|
1042
|
+
(h(!0), c(T, null, O(i.vuecal.timeCells, (o, u) => (h(), c("span", {
|
|
1043
1043
|
class: "cell-time-label",
|
|
1044
1044
|
key: u
|
|
1045
|
-
},
|
|
1045
|
+
}, D(o.label), 1))), 128))
|
|
1046
1046
|
])) : y("", !0),
|
|
1047
|
-
i.isWeekOrDayView && !s.allDay && i.specialHours.length ? (h(!0), c(T, { key: 1 },
|
|
1047
|
+
i.isWeekOrDayView && !s.allDay && i.specialHours.length ? (h(!0), c(T, { key: 1 }, O(i.specialHours, (o, u) => (h(), c("div", {
|
|
1048
1048
|
class: k(["vuecal__special-hours", `vuecal__special-hours--day${o.day} ${o.class}`]),
|
|
1049
|
-
style:
|
|
1049
|
+
style: S(`height: ${o.height}px;top: ${o.top}px`)
|
|
1050
1050
|
}, [
|
|
1051
1051
|
o.label ? (h(), c("div", {
|
|
1052
1052
|
key: 0,
|
|
@@ -1060,7 +1060,7 @@ function Qe(t, e, s, n, l, i) {
|
|
|
1060
1060
|
split: i.splitsCount ? a : !1
|
|
1061
1061
|
}),
|
|
1062
1062
|
i.eventsCount && (i.isWeekOrDayView || i.view.id === "month" && s.options.eventsOnMonthView) ? (h(), c("div", Ze, [
|
|
1063
|
-
(h(!0), c(T, null,
|
|
1063
|
+
(h(!0), c(T, null, O(i.splitsCount ? a.events : i.events, (o, u) => (h(), A(r, {
|
|
1064
1064
|
key: u,
|
|
1065
1065
|
"cell-formatted-date": s.data.formattedDate,
|
|
1066
1066
|
event: o,
|
|
@@ -1070,7 +1070,7 @@ function Qe(t, e, s, n, l, i) {
|
|
|
1070
1070
|
"event-position": ((i.splitsCount ? a.overlaps[o._eid] : t.cellOverlaps[o._eid]) || []).position,
|
|
1071
1071
|
"overlaps-streak": i.splitsCount ? a.overlapsStreak : t.cellOverlapsStreak
|
|
1072
1072
|
}, {
|
|
1073
|
-
event:
|
|
1073
|
+
event: w(({ event: v, view: m }) => [
|
|
1074
1074
|
f(t.$slots, "event", {
|
|
1075
1075
|
view: m,
|
|
1076
1076
|
event: v
|
|
@@ -1082,7 +1082,7 @@ function Qe(t, e, s, n, l, i) {
|
|
|
1082
1082
|
], 42, Ke))), 128)),
|
|
1083
1083
|
i.timelineVisible ? (h(), c("div", {
|
|
1084
1084
|
class: "vuecal__now-line",
|
|
1085
|
-
style:
|
|
1085
|
+
style: S(`top: ${i.todaysTimePosition}px`),
|
|
1086
1086
|
key: s.options.transitions ? `${i.view.id}-now-line` : "now-line",
|
|
1087
1087
|
title: i.utils.date.formatTime(i.vuecal.now)
|
|
1088
1088
|
}, null, 12, Je)) : y("", !0)
|
|
@@ -1334,17 +1334,17 @@ function tt(t, e, s, n, l, i) {
|
|
|
1334
1334
|
const r = L("vuecal-cell");
|
|
1335
1335
|
return h(), c("div", {
|
|
1336
1336
|
class: "vuecal__flex vuecal__all-day",
|
|
1337
|
-
style:
|
|
1337
|
+
style: S(s.cellOrSplitMinWidth && { height: s.height })
|
|
1338
1338
|
}, [
|
|
1339
1339
|
s.cellOrSplitMinWidth ? y("", !0) : (h(), c("div", et, [
|
|
1340
|
-
b("span", null,
|
|
1340
|
+
b("span", null, D(s.label), 1)
|
|
1341
1341
|
])),
|
|
1342
1342
|
b("div", {
|
|
1343
1343
|
class: k(["vuecal__flex vuecal__cells", `${i.view.id}-view`]),
|
|
1344
1344
|
grow: "",
|
|
1345
|
-
style:
|
|
1345
|
+
style: S(s.cellOrSplitMinWidth ? `min-width: ${s.cellOrSplitMinWidth}px` : "")
|
|
1346
1346
|
}, [
|
|
1347
|
-
(h(!0), c(T, null,
|
|
1347
|
+
(h(!0), c(T, null, O(s.cells, (a, d) => (h(), A(r, {
|
|
1348
1348
|
key: d,
|
|
1349
1349
|
options: s.options,
|
|
1350
1350
|
"edit-events": i.editEvents,
|
|
@@ -1355,7 +1355,7 @@ function tt(t, e, s, n, l, i) {
|
|
|
1355
1355
|
"max-timestamp": s.options.maxTimestamp,
|
|
1356
1356
|
"cell-splits": s.daySplits
|
|
1357
1357
|
}, {
|
|
1358
|
-
event:
|
|
1358
|
+
event: w(({ event: o, view: u }) => [
|
|
1359
1359
|
f(t.$slots, "event", {
|
|
1360
1360
|
view: u,
|
|
1361
1361
|
event: o
|
|
@@ -1432,38 +1432,38 @@ function Wt(t, e, s, n, l, i) {
|
|
|
1432
1432
|
"day-splits": i.daySplits,
|
|
1433
1433
|
"switch-to-narrower-view": i.switchToNarrowerView
|
|
1434
1434
|
}, G({
|
|
1435
|
-
"arrow-prev":
|
|
1435
|
+
"arrow-prev": w(() => [
|
|
1436
1436
|
f(t.$slots, "arrow-prev", {}, () => [
|
|
1437
1437
|
e[0] || (e[0] = E(" ")),
|
|
1438
1438
|
e[1] || (e[1] = b("i", { class: "angle" }, null, -1)),
|
|
1439
1439
|
e[2] || (e[2] = E(" "))
|
|
1440
1440
|
])
|
|
1441
1441
|
]),
|
|
1442
|
-
"arrow-next":
|
|
1442
|
+
"arrow-next": w(() => [
|
|
1443
1443
|
f(t.$slots, "arrow-next", {}, () => [
|
|
1444
1444
|
e[3] || (e[3] = E(" ")),
|
|
1445
1445
|
e[4] || (e[4] = b("i", { class: "angle" }, null, -1)),
|
|
1446
1446
|
e[5] || (e[5] = E(" "))
|
|
1447
1447
|
])
|
|
1448
1448
|
]),
|
|
1449
|
-
"today-button":
|
|
1449
|
+
"today-button": w(() => [
|
|
1450
1450
|
f(t.$slots, "today-button", {}, () => [
|
|
1451
|
-
b("span", at,
|
|
1451
|
+
b("span", at, D(l.texts.today), 1)
|
|
1452
1452
|
])
|
|
1453
1453
|
]),
|
|
1454
|
-
title:
|
|
1454
|
+
title: w(() => [
|
|
1455
1455
|
f(t.$slots, "title", {
|
|
1456
1456
|
title: i.viewTitle,
|
|
1457
1457
|
view: l.view
|
|
1458
1458
|
}, () => [
|
|
1459
|
-
E(
|
|
1459
|
+
E(D(i.viewTitle), 1)
|
|
1460
1460
|
])
|
|
1461
1461
|
]),
|
|
1462
1462
|
_: 2
|
|
1463
1463
|
}, [
|
|
1464
1464
|
t.$slots["weekday-heading"] ? {
|
|
1465
1465
|
name: "weekday-heading",
|
|
1466
|
-
fn:
|
|
1466
|
+
fn: w(({ heading: u, view: v }) => [
|
|
1467
1467
|
f(t.$slots, "weekday-heading", {
|
|
1468
1468
|
heading: u,
|
|
1469
1469
|
view: v
|
|
@@ -1473,7 +1473,7 @@ function Wt(t, e, s, n, l, i) {
|
|
|
1473
1473
|
} : void 0,
|
|
1474
1474
|
t.$slots["split-label"] ? {
|
|
1475
1475
|
name: "split-label",
|
|
1476
|
-
fn:
|
|
1476
|
+
fn: w(({ split: u }) => [
|
|
1477
1477
|
f(t.$slots, "split-label", {
|
|
1478
1478
|
split: u,
|
|
1479
1479
|
view: l.view.id
|
|
@@ -1487,7 +1487,7 @@ function Wt(t, e, s, n, l, i) {
|
|
|
1487
1487
|
name: `slide-fade--${l.transitionDirection}`,
|
|
1488
1488
|
appear: s.transitions
|
|
1489
1489
|
}, {
|
|
1490
|
-
default:
|
|
1490
|
+
default: w(() => [
|
|
1491
1491
|
(h(), c("div", {
|
|
1492
1492
|
class: "vuecal__flex",
|
|
1493
1493
|
style: { "min-width": "100%" },
|
|
@@ -1495,7 +1495,7 @@ function Wt(t, e, s, n, l, i) {
|
|
|
1495
1495
|
column: ""
|
|
1496
1496
|
}, [
|
|
1497
1497
|
s.showAllDayEvents && i.hasTimeColumn && (!i.cellOrSplitMinWidth || i.isDayView && !s.minSplitWidth) ? (h(), A(a, J(Q({ key: 0 }, i.allDayBar)), {
|
|
1498
|
-
event:
|
|
1498
|
+
event: w(({ event: u, view: v }) => [
|
|
1499
1499
|
f(t.$slots, "event", {
|
|
1500
1500
|
view: v,
|
|
1501
1501
|
event: u
|
|
@@ -1529,26 +1529,26 @@ function Wt(t, e, s, n, l, i) {
|
|
|
1529
1529
|
s.showAllDayEvents && i.cellOrSplitMinWidth && !(i.isDayView && !s.minSplitWidth) ? (h(), c("div", {
|
|
1530
1530
|
key: 0,
|
|
1531
1531
|
class: "vuecal__all-day-text",
|
|
1532
|
-
style:
|
|
1532
|
+
style: S({ height: i.allDayBar.height })
|
|
1533
1533
|
}, [
|
|
1534
|
-
b("span", null,
|
|
1534
|
+
b("span", null, D(l.texts.allDay), 1)
|
|
1535
1535
|
], 4)) : y("", !0),
|
|
1536
|
-
(h(!0), c(T, null,
|
|
1536
|
+
(h(!0), c(T, null, O(i.timeCells, (u, v) => (h(), c("div", {
|
|
1537
1537
|
class: "vuecal__time-cell",
|
|
1538
1538
|
key: v,
|
|
1539
|
-
style:
|
|
1539
|
+
style: S(`height: ${s.timeCellHeight}px`)
|
|
1540
1540
|
}, [
|
|
1541
1541
|
f(t.$slots, "time-cell", {
|
|
1542
1542
|
hours: u.hours,
|
|
1543
1543
|
minutes: u.minutes
|
|
1544
1544
|
}, () => [
|
|
1545
1545
|
e[6] || (e[6] = b("span", { class: "vuecal__time-cell-line" }, null, -1)),
|
|
1546
|
-
b("span", ct,
|
|
1546
|
+
b("span", ct, D(u.label), 1)
|
|
1547
1547
|
])
|
|
1548
1548
|
], 4))), 128))
|
|
1549
1549
|
])) : y("", !0),
|
|
1550
1550
|
s.showWeekNumbers && i.isMonthView ? (h(), c("div", vt, [
|
|
1551
|
-
(h(), c(T, null,
|
|
1551
|
+
(h(), c(T, null, O(6, (u) => b("div", {
|
|
1552
1552
|
class: "vuecal__flex vuecal__week-number-cell",
|
|
1553
1553
|
key: u,
|
|
1554
1554
|
grow: ""
|
|
@@ -1556,7 +1556,7 @@ function Wt(t, e, s, n, l, i) {
|
|
|
1556
1556
|
f(t.$slots, "week-number-cell", {
|
|
1557
1557
|
week: i.getWeekNumber(u - 1)
|
|
1558
1558
|
}, () => [
|
|
1559
|
-
E(
|
|
1559
|
+
E(D(i.getWeekNumber(u - 1)), 1)
|
|
1560
1560
|
])
|
|
1561
1561
|
])), 64))
|
|
1562
1562
|
])) : y("", !0),
|
|
@@ -1571,11 +1571,11 @@ function Wt(t, e, s, n, l, i) {
|
|
|
1571
1571
|
"transition-direction": l.transitionDirection,
|
|
1572
1572
|
"week-days": i.weekDays,
|
|
1573
1573
|
"switch-to-narrower-view": i.switchToNarrowerView,
|
|
1574
|
-
style:
|
|
1574
|
+
style: S(i.cellOrSplitMinWidth ? `min-width: ${i.cellOrSplitMinWidth}px` : "")
|
|
1575
1575
|
}, G({ _: 2 }, [
|
|
1576
1576
|
t.$slots["weekday-heading"] ? {
|
|
1577
1577
|
name: "weekday-heading",
|
|
1578
|
-
fn:
|
|
1578
|
+
fn: w(({ heading: u, view: v }) => [
|
|
1579
1579
|
f(t.$slots, "weekday-heading", {
|
|
1580
1580
|
heading: u,
|
|
1581
1581
|
view: v
|
|
@@ -1585,7 +1585,7 @@ function Wt(t, e, s, n, l, i) {
|
|
|
1585
1585
|
} : void 0,
|
|
1586
1586
|
t.$slots["split-label"] ? {
|
|
1587
1587
|
name: "split-label",
|
|
1588
|
-
fn:
|
|
1588
|
+
fn: w(({ split: u }) => [
|
|
1589
1589
|
f(t.$slots, "split-label", {
|
|
1590
1590
|
split: u,
|
|
1591
1591
|
view: l.view.id
|
|
@@ -1596,9 +1596,9 @@ function Wt(t, e, s, n, l, i) {
|
|
|
1596
1596
|
]), 1032, ["transition-direction", "week-days", "switch-to-narrower-view", "style"])) : i.hasSplits && s.stickySplitLabels && s.minSplitWidth ? (h(), c("div", {
|
|
1597
1597
|
key: 1,
|
|
1598
1598
|
class: "vuecal__flex vuecal__split-days-headers",
|
|
1599
|
-
style:
|
|
1599
|
+
style: S(i.cellOrSplitMinWidth ? `min-width: ${i.cellOrSplitMinWidth}px` : "")
|
|
1600
1600
|
}, [
|
|
1601
|
-
(h(!0), c(T, null,
|
|
1601
|
+
(h(!0), c(T, null, O(i.daySplits, (u, v) => (h(), c("div", {
|
|
1602
1602
|
class: k(["day-split-header", u.class || !1]),
|
|
1603
1603
|
key: v
|
|
1604
1604
|
}, [
|
|
@@ -1606,12 +1606,12 @@ function Wt(t, e, s, n, l, i) {
|
|
|
1606
1606
|
split: u,
|
|
1607
1607
|
view: l.view.id
|
|
1608
1608
|
}, () => [
|
|
1609
|
-
E(
|
|
1609
|
+
E(D(u.label), 1)
|
|
1610
1610
|
])
|
|
1611
1611
|
], 2))), 128))
|
|
1612
1612
|
], 4)) : y("", !0),
|
|
1613
1613
|
s.showAllDayEvents && i.hasTimeColumn && (i.isWeekView && i.cellOrSplitMinWidth || i.isDayView && i.hasSplits && s.minSplitWidth) ? (h(), A(a, J(Q({ key: 2 }, i.allDayBar)), {
|
|
1614
|
-
event:
|
|
1614
|
+
event: w(({ event: u, view: v }) => [
|
|
1615
1615
|
f(t.$slots, "event", {
|
|
1616
1616
|
view: v,
|
|
1617
1617
|
event: u
|
|
@@ -1641,9 +1641,9 @@ function Wt(t, e, s, n, l, i) {
|
|
|
1641
1641
|
ref: (u) => l.cellsEl = u,
|
|
1642
1642
|
grow: "",
|
|
1643
1643
|
wrap: !i.cellOrSplitMinWidth || !i.isWeekView,
|
|
1644
|
-
style:
|
|
1644
|
+
style: S(i.cellOrSplitMinWidth ? `min-width: ${i.cellOrSplitMinWidth}px` : "")
|
|
1645
1645
|
}, [
|
|
1646
|
-
(h(!0), c(T, null,
|
|
1646
|
+
(h(!0), c(T, null, O(i.viewCells, (u, v) => (h(), A(o, {
|
|
1647
1647
|
key: v,
|
|
1648
1648
|
options: t.$props,
|
|
1649
1649
|
"edit-events": i.editEvents,
|
|
@@ -1653,11 +1653,11 @@ function Wt(t, e, s, n, l, i) {
|
|
|
1653
1653
|
"max-timestamp": i.maxTimestamp,
|
|
1654
1654
|
"cell-splits": i.hasSplits && i.daySplits || []
|
|
1655
1655
|
}, {
|
|
1656
|
-
"cell-content":
|
|
1656
|
+
"cell-content": w(({ events: m, split: M, selectCell: g }) => [
|
|
1657
1657
|
f(t.$slots, "cell-content", {
|
|
1658
1658
|
cell: u,
|
|
1659
1659
|
view: l.view,
|
|
1660
|
-
goNarrower:
|
|
1660
|
+
goNarrower: g,
|
|
1661
1661
|
events: m
|
|
1662
1662
|
}, () => [
|
|
1663
1663
|
M && !s.stickySplitLabels ? (h(), c("div", {
|
|
@@ -1675,17 +1675,17 @@ function Wt(t, e, s, n, l, i) {
|
|
|
1675
1675
|
view: l.view,
|
|
1676
1676
|
events: m
|
|
1677
1677
|
}, () => [
|
|
1678
|
-
E(
|
|
1678
|
+
E(D(m.length), 1)
|
|
1679
1679
|
])
|
|
1680
1680
|
])) : y("", !0),
|
|
1681
1681
|
!i.cellOrSplitHasEvents(m, M) && i.isWeekOrDayView ? (h(), c("div", bt, [
|
|
1682
1682
|
f(t.$slots, "no-event", {}, () => [
|
|
1683
|
-
E(
|
|
1683
|
+
E(D(l.texts.noEvent), 1)
|
|
1684
1684
|
])
|
|
1685
1685
|
])) : y("", !0)
|
|
1686
1686
|
])
|
|
1687
1687
|
]),
|
|
1688
|
-
event:
|
|
1688
|
+
event: w(({ event: m, view: M }) => [
|
|
1689
1689
|
f(t.$slots, "event", {
|
|
1690
1690
|
view: M,
|
|
1691
1691
|
event: m
|
|
@@ -1694,7 +1694,7 @@ function Wt(t, e, s, n, l, i) {
|
|
|
1694
1694
|
key: 0,
|
|
1695
1695
|
class: "vuecal__event-title vuecal__event-title--edit",
|
|
1696
1696
|
contenteditable: "",
|
|
1697
|
-
onBlur: (
|
|
1697
|
+
onBlur: (g) => i.onEventTitleBlur(g, m),
|
|
1698
1698
|
innerHTML: m.title
|
|
1699
1699
|
}, null, 40, kt)) : m.title ? (h(), c("div", {
|
|
1700
1700
|
key: 1,
|
|
@@ -1702,9 +1702,9 @@ function Wt(t, e, s, n, l, i) {
|
|
|
1702
1702
|
innerHTML: m.title
|
|
1703
1703
|
}, null, 8, Tt)) : y("", !0),
|
|
1704
1704
|
s.time && !m.allDay && !(i.isMonthView && (m.allDay || s.showAllDayEvents === "short")) && !i.isShortMonthView ? (h(), c("div", Mt, [
|
|
1705
|
-
E(
|
|
1706
|
-
m.endTimeMinutes ? (h(), c("span", Ct, " - " +
|
|
1707
|
-
m.daysCount > 1 && (m.segments[u.formattedDate] || {}).isFirstDay ? (h(), c("small", Et, " +" +
|
|
1705
|
+
E(D(l.utils.date.formatTime(m.start, i.TimeFormat)), 1),
|
|
1706
|
+
m.endTimeMinutes ? (h(), c("span", Ct, " - " + D(l.utils.date.formatTime(m.end, i.TimeFormat, null, !0)), 1)) : y("", !0),
|
|
1707
|
+
m.daysCount > 1 && (m.segments[u.formattedDate] || {}).isFirstDay ? (h(), c("small", Et, " +" + D(m.daysCount - 1) + D((l.texts.day[0] || "").toLowerCase()), 1)) : y("", !0)
|
|
1708
1708
|
])) : y("", !0),
|
|
1709
1709
|
m.content && !(i.isMonthView && m.allDay && s.showAllDayEvents === "short") && !i.isShortMonthView ? (h(), c("div", {
|
|
1710
1710
|
key: 3,
|
|
@@ -1713,9 +1713,9 @@ function Wt(t, e, s, n, l, i) {
|
|
|
1713
1713
|
}, null, 8, St)) : y("", !0)
|
|
1714
1714
|
])
|
|
1715
1715
|
]),
|
|
1716
|
-
"no-event":
|
|
1716
|
+
"no-event": w(() => [
|
|
1717
1717
|
f(t.$slots, "no-event", {}, () => [
|
|
1718
|
-
E(
|
|
1718
|
+
E(D(l.texts.noEvent), 1)
|
|
1719
1719
|
])
|
|
1720
1720
|
]),
|
|
1721
1721
|
_: 2
|
|
@@ -2176,13 +2176,13 @@ A valid view must be one of: ${te.join(", ")}.`), t = "week"), this.enabledViews
|
|
|
2176
2176
|
const { event: o, start: u } = i, v = this.isDOMElementAnEvent(t.target), m = e.mousedUp;
|
|
2177
2177
|
if (e.mousedUp = !1, v && (this.domEvents.cancelClickEventCreation = !0), l.eventCreated) return;
|
|
2178
2178
|
if (a) {
|
|
2179
|
-
const { originalEnd:
|
|
2180
|
-
if (d = j && j !== H, C && C.end.getTime() !==
|
|
2179
|
+
const { originalEnd: g, originalEndTimeMinutes: H, endTimeMinutes: j } = s, C = this.view.events.find((F) => F._eid === s._eid);
|
|
2180
|
+
if (d = j && j !== H, C && C.end.getTime() !== g.getTime()) {
|
|
2181
2181
|
const F = this.mutableEvents.find((le) => le._eid === s._eid);
|
|
2182
2182
|
F.endTimeMinutes = C.endTimeMinutes, F.end = C.end;
|
|
2183
2183
|
const Y = this.cleanupEvent(C), Z = {
|
|
2184
2184
|
...this.cleanupEvent(C),
|
|
2185
|
-
end:
|
|
2185
|
+
end: g,
|
|
2186
2186
|
endTimeMinutes: C.originalEndTimeMinutes
|
|
2187
2187
|
};
|
|
2188
2188
|
this.$emit("event-duration-change", { event: Y, oldDate: s.originalEnd, originalEvent: Z }), this.$emit("event-change", { event: Y, originalEvent: Z });
|
|
@@ -2192,8 +2192,8 @@ A valid view must be one of: ${te.join(", ")}.`), t = "week"), this.enabledViews
|
|
|
2192
2192
|
!v && !a && this.unfocusEvent(), n.timeoutId && !r && (clearTimeout(n.timeoutId), n.timeoutId = null), l.timeoutId && (clearTimeout(l.timeoutId), l.timeoutId = null);
|
|
2193
2193
|
const M = typeof this.onEventClick == "function";
|
|
2194
2194
|
if (m && !d && !r && !o && M) {
|
|
2195
|
-
let
|
|
2196
|
-
return !
|
|
2195
|
+
let g = this.view.events.find((H) => H._eid === e._eid);
|
|
2196
|
+
return !g && this.isMonthView && (g = this.view.outOfScopeEvents.find((H) => H._eid === e._eid)), g && this.onEventClick(g, t);
|
|
2197
2197
|
}
|
|
2198
2198
|
},
|
|
2199
2199
|
/**
|
|
@@ -2222,8 +2222,8 @@ A valid view must be one of: ${te.join(", ")}.`), t = "week"), this.enabledViews
|
|
|
2222
2222
|
e.endCell = v;
|
|
2223
2223
|
const m = r.addDays(s.start, v - e.startCell), M = Math.max(r.countDays(s.start, m), 1);
|
|
2224
2224
|
if (M !== s.daysCount) {
|
|
2225
|
-
let
|
|
2226
|
-
M > s.daysCount ?
|
|
2225
|
+
let g = null;
|
|
2226
|
+
M > s.daysCount ? g = a.addEventSegment(s) : g = a.removeEventSegment(s), e.segment = g, s.endTimeMinutes += 1e-3;
|
|
2227
2227
|
}
|
|
2228
2228
|
}
|
|
2229
2229
|
}
|
|
@@ -2792,7 +2792,7 @@ A valid view must be one of: ${te.join(", ")}.`), t = "week"), this.enabledViews
|
|
|
2792
2792
|
emits: ["ready", "update", "eventClick"],
|
|
2793
2793
|
setup(t, { emit: e }) {
|
|
2794
2794
|
ue((i) => ({
|
|
2795
|
-
"
|
|
2795
|
+
"3d1c8ff8": l.value
|
|
2796
2796
|
}));
|
|
2797
2797
|
const s = t, n = e, l = he(() => s.height ? `${s.height}px` : "500px");
|
|
2798
2798
|
return (i, r) => (h(), c("div", {
|
|
@@ -2810,14 +2810,23 @@ A valid view must be one of: ${te.join(", ")}.`), t = "week"), this.enabledViews
|
|
|
2810
2810
|
onReady: r[0] || (r[0] = (a) => n("ready", a)),
|
|
2811
2811
|
onViewChange: r[1] || (r[1] = (a) => n("update", a)),
|
|
2812
2812
|
onEventClick: r[2] || (r[2] = (a) => n("eventClick", a))
|
|
2813
|
-
},
|
|
2813
|
+
}, {
|
|
2814
|
+
event: w(({ event: a }) => [
|
|
2815
|
+
b("div", {
|
|
2816
|
+
class: k(i.$style.title),
|
|
2817
|
+
style: S(`background: ${a.color}`)
|
|
2818
|
+
}, D(a.title), 7)
|
|
2819
|
+
]),
|
|
2820
|
+
_: 1
|
|
2821
|
+
}, 8, ["events"])
|
|
2814
2822
|
], 2));
|
|
2815
2823
|
}
|
|
2816
|
-
}), jt = "
|
|
2817
|
-
container: jt
|
|
2818
|
-
|
|
2819
|
-
|
|
2820
|
-
|
|
2824
|
+
}), jt = "_container_nvxc2_1", Yt = "_title_nvxc2_6", Lt = {
|
|
2825
|
+
container: jt,
|
|
2826
|
+
title: Yt
|
|
2827
|
+
}, Ft = {
|
|
2828
|
+
$style: Lt
|
|
2829
|
+
}, It = /* @__PURE__ */ ve(At, [["__cssModules", Ft]]);
|
|
2821
2830
|
export {
|
|
2822
|
-
|
|
2831
|
+
It as default
|
|
2823
2832
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mhz-ui",
|
|
3
3
|
"description": "Mhz ui kit",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.9",
|
|
5
5
|
"author": "Alexandr Dergunov <dergunovs@mail.ru> (https://github.com/dergunovs)",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"type": "module",
|
|
@@ -41,43 +41,43 @@
|
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@eslint/js": "9.21.0",
|
|
44
|
-
"@storybook/addon-essentials": "8.
|
|
45
|
-
"@storybook/addon-interactions": "8.
|
|
46
|
-
"@storybook/addon-links": "8.
|
|
47
|
-
"@storybook/blocks": "8.
|
|
48
|
-
"@storybook/core-events": "8.
|
|
49
|
-
"@storybook/preview-api": "8.
|
|
50
|
-
"@storybook/vue3": "8.
|
|
51
|
-
"@storybook/vue3-vite": "8.
|
|
44
|
+
"@storybook/addon-essentials": "8.6.0",
|
|
45
|
+
"@storybook/addon-interactions": "8.6.0",
|
|
46
|
+
"@storybook/addon-links": "8.6.0",
|
|
47
|
+
"@storybook/blocks": "8.6.0",
|
|
48
|
+
"@storybook/core-events": "8.6.0",
|
|
49
|
+
"@storybook/preview-api": "8.6.0",
|
|
50
|
+
"@storybook/vue3": "8.6.0",
|
|
51
|
+
"@storybook/vue3-vite": "8.6.0",
|
|
52
52
|
"@types/node": "22.13.5",
|
|
53
53
|
"@vitejs/plugin-vue": "5.2.1",
|
|
54
|
-
"@vitest/coverage-istanbul": "3.0.
|
|
54
|
+
"@vitest/coverage-istanbul": "3.0.7",
|
|
55
55
|
"@vue/test-utils": "2.4.6",
|
|
56
56
|
"eslint": "9.21.0",
|
|
57
|
-
"eslint-config-prettier": "10.0.
|
|
57
|
+
"eslint-config-prettier": "10.0.2",
|
|
58
58
|
"eslint-import-resolver-typescript": "3.8.3",
|
|
59
59
|
"eslint-plugin-import-x": "4.6.1",
|
|
60
60
|
"eslint-plugin-prettier": "5.2.3",
|
|
61
61
|
"eslint-plugin-vue": "9.32.0",
|
|
62
62
|
"globals": "16.0.0",
|
|
63
|
-
"happy-dom": "17.1.
|
|
63
|
+
"happy-dom": "17.1.8",
|
|
64
64
|
"postcss-html": "1.8.0",
|
|
65
65
|
"postcss-scss": "4.0.9",
|
|
66
66
|
"prettier": "3.5.2",
|
|
67
|
-
"sass-embedded": "1.85.
|
|
68
|
-
"storybook": "8.
|
|
67
|
+
"sass-embedded": "1.85.1",
|
|
68
|
+
"storybook": "8.6.0",
|
|
69
69
|
"stylelint": "16.14.1",
|
|
70
70
|
"stylelint-config-recess-order": "6.0.0",
|
|
71
71
|
"stylelint-config-recommended-scss": "14.1.0",
|
|
72
72
|
"stylelint-config-recommended-vue": "1.6.0",
|
|
73
73
|
"stylelint-prettier": "5.0.3",
|
|
74
74
|
"typescript": "5.7.3",
|
|
75
|
-
"typescript-eslint": "8.
|
|
76
|
-
"vite": "6.
|
|
75
|
+
"typescript-eslint": "8.25.0",
|
|
76
|
+
"vite": "6.2.0",
|
|
77
77
|
"vite-plugin-dts": "4.5.0",
|
|
78
78
|
"vite-plugin-static-copy": "2.2.0",
|
|
79
79
|
"vite-svg-loader": "5.1.0",
|
|
80
|
-
"vitest": "3.0.
|
|
80
|
+
"vitest": "3.0.7",
|
|
81
81
|
"vue-eslint-parser": "9.4.3",
|
|
82
82
|
"vue-linters-config": "0.3.11",
|
|
83
83
|
"vue-tsc": "2.2.4"
|