A Vue JS full calendar, no dependency, no BS. :metal:

Related tags

Calendar vue vue3
Overview

vue-cal

Latest Version on NPM Software License npm npm

A Vue JS full calendar, no dependency, no BS. 🤘

Installation

npm i vue-cal

Vue 3

npm i [email protected]

Demo & Documentation

antoniandre.github.io/vue-cal


Browser Support

Chrome Firefox Safari Opera Edge IE
Latest Latest Latest Latest Latest 10+

Donating

If you want to support the development of this library, you can buy me a beer!

paypal Thank you!

If you are using this library for profit business, please consider backing me! It ensures that the project your products rely on keep being actively maintained. :)


Contributing

If you have any idea, feel free to open an issue to discuss a new feature or fork Vue Cal and submit your changes back to me.


Release Notes

antoniandre.github.io/vue-cal/#release-notes

Comments
  • Support displaying more than 3 simultaneous events, in chronologic order.

    Support displaying more than 3 simultaneous events, in chronologic order.

    Hi,

    I noticied this and I cannot wrap my head around it, you might have some useful insight on this:

    Here is a gif showing the problem I have: https://i.imgur.com/c9SlrZO.gif As you can see, its not possible to reach the event 2. The only way to reach it is to set :time="false"

    here is the events I used in the example

    [
            {
              start: '2019-01-10 10:00:00',
              end: '2018-01-10 10:30:00',
              title: '1',
              content: '1',
              class: 'primary'
            },
            {
              start: '2019-01-10 10:00:00',
              end: '2018-01-10 10:45:00',
              title: '2',
              content: '2',
              class: 'info'
            },
            {
              start: '2019-01-10 10:00:00',
              end: '2018-01-10 11:00:00',
              title: '3',
              content: '3',
              class: 'warning'
            },
            {
              start: '2019-01-10 09:59:59',
              end: '2018-01-10 11:00:01',
              title: '4',
              content: '4',
              class: 'danger'
            }
          ]
    

    And the last thing is that when I use :time="false" the events are showing on different days, as you also can see in the gif.

    Feature request 
    opened by tarreislam 23
  • Hold to delete is also firing @cell-click and event-click

    Hold to delete is also firing @cell-click and event-click

    Hey,

    I am having a little issue here.

    When I use the vue-cal option @event-delete and hold to delete an event, in a web browser, it fires the @event-click event also. In mobile, it fires the @cell-click event.

    I am using the @cell-click event to create a reservation and event-click to update a reservation in the vue-cal. So I can't remove a reservation without firing these other events.

    How to prevent, when deleting an event, other events get fired?

    Thanks.

    opened by giulianimartini 20
  • All-day bar and weekdays headings misalignment when scrollbar is fixed (E.g. Windows)

    All-day bar and weekdays headings misalignment when scrollbar is fixed (E.g. Windows)

    Hello @antoniandre!

    I have an issue with the columns when all-day is on. Even in the docs at # All day events it is visible that the all-day cell is not aligned with the column.

    Is there any solution for that?

    Thanks!

    opened by Csandori 15
  • All Day events in separate bar on week & day views

    All Day events in separate bar on week & day views

    As per the original request https://github.com/antoniandre/vue-cal/issues/21, the idea is to have all the "all day events" separated in a top bar like on this image:

    screenshot 2019-01-07 04 24 59 Feature request 
    opened by antoniandre 15
  • select event and show the time of the event not the minutes

    select event and show the time of the event not the minutes

    select event and show the time of the event not the minutes Captura de Tela 2020-06-16 às 12 39 39 select event @cell-click="teste" -> console.log('date') Not - Tue Jun 16 2020 08:28:00 GMT-0400 (Horário Padrão do Amazonas) Not - Tue Jun 16 2020 08:14:00 GMT-0400 (Horário Padrão do Amazonas) true - Tue Jun 16 2020 08:00:00 GMT-0400 (Horário Padrão do Amazonas) true - Tue Jun 16 2020 08:40:00 GMT-0400 (Horário Padrão do Amazonas) true - Tue Jun 16 2020 09:20:00 GMT-0400 (Horário Padrão do Amazonas) hors time event

    opened by heberalmeida 14
  • Styling the calendar

    Styling the calendar

    Hi @antoniandre ! Happy holidays!

    Vue Cal it's great! just what I need!

    I'm having problems when I try to stylize it a bit..

    I'm trying to give it a red header.. Anyways, when I apply the styles in the inspection panel to the div with class vuecal__header it works like a charm.

    Styles: background-color: red , color: white image

    But, when I attempt to apply the same styles in my vue component like this: image

    It doesn't do the trick.. the same happens when trying to stylize the events color just as detailed in the docs. Any ideas on this?

    Thank you in advance!

    good first issue 
    opened by ginoraviola 14
  • Multiple-day events crossing daylight saving time crash the browser

    Multiple-day events crossing daylight saving time crash the browser

    Not sure exactly what the cause is, but it has something to do with the date range.

    Reproduction:

    • https://jsfiddle.net/wp39kL7u/3/

    Example: This works

    start: '2019-11-03 10:00',
    end: '2019-11-04 14:00'
    

    This crashes the browser

    start: '2019-11-02 10:00',
    end: '2019-11-04 14:00'
    
    bug 
    opened by TheJaredWilcurt 13
  • Create event at cursor position - on cell click and hold

    Create event at cursor position - on cell click and hold

    Hello @antoniandre,

    I am looking for functionality that does the following: When double clicking on a day (In week view) I want an event to trigger that tells me the date and time where you clicked. Currently the @day-focus event gives you a date but not a time, its also only double click. The time doesn't have to be minute perfect, can be rounded to the nearest 15 minutes or so.

    Could you make something like that or do you have any idea how I could do that with the current events?

    Feature request 
    opened by ArjenSwBase 13
  • Version 4.3.0 and up cause issues with import CSS & i18n

    Version 4.3.0 and up cause issues with import CSS & i18n

    As mentioned in the docs, you can import the locale and css by doing the following:

    import "vue-cal/dist/i18n/nl.js";
    import "vue-cal/dist/vuecal.css";
    

    This is tested on 4.2.0 and works accordingly, but when upgrading to 4.3.0 it can't find the desired file anymore.

    V4.2.0 Version 4.2.0

    V4.3.0 Version 4.3.0

    opened by lucswart 12
  • Set the header (at the day view) when the minSplitWidth is set to a high number to follow the vertical scroll

    Set the header (at the day view) when the minSplitWidth is set to a high number to follow the vertical scroll

    Hey @antoniandre!

    Thanks for this great calendar. The calendar is just what I needed. Great job :)

    Just one question about the day view in vue-cal. Is there a way to the header follow the vertical scroll when there is more splits than the screen can support (in this case, the horizontal scroll is enable)?

    I am attaching images to exemplify my need.

    This first image is showing the calendar with 3 splits (lanes). In this case, the minSplitWidth is set to 0 (zero), so the header with the labels Quadra 1, Quadra 2 e Quadra 3 scrolls with the page normally. So if I have an event at my calendar, I can easily identify which court (quadra) the event is tied to.

    scrollWithPage

    But when I set the minSplitWidth to 80, for example, the horizontal scroll is enabled (and it's awesome. It's just what I want) and the header (Quadra 1, Quadra 2, ...) doesn't follow the vertical scrolling.

    doNotScrollWithPage

    I am making a Nativescript app and this is the best calendar with resources!

    Thanks in advance.

    opened by giulianimartini 11
  • Thoughts on status/roadmap?

    Thoughts on status/roadmap?

    Hi,

    Thanks for making this very nice library. I am considering using it in a project, but notice that it hasn't seen commits/PR merges in a year or so. So I wondered if you could share some thoughts about whether or not you consider it feature-complete, maintenance status, roadmap etc.

    opened by rubjo 10
  • allDay events are filtered out if using #event slot

    allDay events are filtered out if using #event slot

    Right now i have a list of 3 events, where 1 has allDay: true. If I use the #event slot, then the allDay event never renders. If i remove allDay: true from the event then it shows up like its supposed to.

    opened by BenjaminHeath96 0
  • [#505] Fix weekly view start/end dates

    [#505] Fix weekly view start/end dates

    this.view already takes into account start week on Sunday (https://github.com/antoniandre/vue-cal/blob/main/src/vue-cal/index.vue#L517).

    These two lines were subtracting an extra day.

    Fixes #505

    opened by fletcherhaz 0
  • Month event display mode

    Month event display mode

    Hi! I was playing around with the component and was wondering if it was possible to create a view similar to this? image I managed to get it working by using events-on-month-view="short" and some aggressive css but this had some unfortunate side-effects on the day-view as they utilize the same css-classes.

    Adding an option to "events-on-month-view" to display events as small bubbles with different colors would be very appreciated :)

    opened by steken0 0
  • Multi split events

    Multi split events

    Hi!

    Is there a way to create multi split events ? In the events array's event object there is "split" property, which is an integer or string. So by this i presume that multiple split event is not possible. Am I right or there is a way to create multi split events ?

    Thank you!

    opened by szekelygobe 0
Owner
Antoni
Open-sourcer at heart. 💚
Antoni
Full Calendar based on Vue.js

Vue Spring Calendar It's a Vue based component which provides the functionality of a full-calendar that shows daily events. Installation npm install v

Brahim 40 Jun 8, 2022
A full 12-Month view calendar made by vue.js.

A full 12-Month view calendar made by vue.js.

null 90 Mar 23, 2021
Full calendar base on Vue2 and momentjs.

Vue2 Calendar Component Full calendar base on Vue2 and dayjs. Support month and week view. Custom date item style with scopeSlots. 中文文档 ?? Live demo I

Kit 75 Nov 11, 2022
A full event display calendar for the Quasar framework that has multiple viewing formats.

Daykeep Calendar An event display calendar for the Quasar framework. Formerly known as Quasar Calendar, Daykeep Calendar for Quasar is a Quasar-flavor

Stormseed 260 Nov 29, 2022
Full featured, responsive, lightweight calendar in the browser.

Full featured, responsive, lightweight calendar in the browser.

Altin Selimi 242 Dec 18, 2022
Simple-calendar-app - Simple Vue calendar (date-picker)

Simple vue calendar (date-picker) Vue Moment.js Installation git clone npm i npm

Dmitry Chinenov 3 Oct 31, 2022
Contra - Combines GitHub and GitLab contributions calendar to create a single calendar

Welcome to Contra ?? Combines GitHub and GitLab contributions calendar to create

Ahmet Korkmaz 10 Dec 29, 2022
vue calendar fullCalendar. no jquery required. Schedule events management

##vue-fullcalendar Works for Vue2 now. This is a fullCalendar component based on vue.js . No Jquery or fullCalendar.js required. Currently, It only su

Sunny Wang 1.5k Dec 18, 2022
A vue component for lunar calendar.

vue-lunar-calendar A vue component for lunar calendar. Uses Moment.js for date operations. This is the Korean lunar calendar. It is different from Chi

Kim WooHyun 70 Aug 20, 2022
Simple Vue component to show a month-grid calendar with events

VueSimpleCalendar Introduction vue-simple-calendar is a flexible, themeable, lightweight calendar component for Vue that supports multi-day scheduled

Richard Tallent 762 Jan 3, 2023
An elegant calendar and datepicker plugin for Vue.

An elegant calendar and datepicker plugin for Vuejs. npm i --save v-calendar Documentation For full documentation, visit vcalendar.io. Attributes High

Nathan Reyes 3.7k Dec 31, 2022
A simple infinite calendar component in Vue 2

vue-infinite-calendar A simple infinite calendar component in Vue 2 Build Setup # install dependencies npm install # serve with hot reload at localho

Rares S 15 Feb 28, 2022
A calendar component for Vue.js

calendar Chinese This is a calendar component based on vue.js . support custom content. No dependencies. Currently, It only supports month view. You c

Kylin 47 Aug 16, 2022
vue 2.x calendar component

vue2-calendar vue 2 calendar, datepicker component which supported lunar or date event Live Demo >> This project is not only a vue component, but also

Terry Cai 485 Dec 18, 2022
Vue.js wrapper for TOAST UI Calendar

Vue TOAST UI Calendar A Vue.js wrapper for TOAST UI Calendar Installation npm install --save tui-calendar @lkmadushan/vue-tuicalendar Usage Example Tr

Kalpa Madushan Perera 129 Aug 13, 2022
Toast UI Calendar for Vue

TOAST UI Calendar for Vue This is Vue component wrapping TOAST UI Calendar. ?? Table of Contents Collect statistics on the use of open source Install

NHN 195 Dec 6, 2022
Vue.js Functional Calendar | Component/Package

Vue Functional Calendar Modern calendar and datepicker module for Vue.js Demo Demo: https://y3jnxov469.codesandbox.io/ Lightweight, high-performance c

Manuk 425 Dec 27, 2022
Simple and clean calendar written in Vue.js

Vuelendar Simple and clean calendar written in Vue.js. Check out full Vuelendar's documentation here. Features Select single date Select range of date

The Codest 76 Oct 5, 2022
Vue Mobile Calendar - 基于 Vue2的移动端日历插件

Vue Mobile Calendar - 基于 Vue2的移动端日历插件,仿钉钉签到日历,vue 钉钉日历, 自适应,周月切换

Hoyt 12 Sep 9, 2022