Quasar Ui Qcalendar Versions Save

QCalendar - Quasar App Extension, Vue CLI plug-in and UMD distributions available

v4.0.0-beta.7

2 years ago
  • fix(api): QCalendar - value -> model-value (modelValue)
  • chore(api): Task - add to desc for "task-key" (taskKey)
  • feat(build): a better way of handling the version issue
  • fix: proper build types for dist

v4.0.0-beta.6

2 years ago
  • fix(ui): remove package.json from distributables
  • fix(resource): borders are incorrect (#344)
  • fix(scheduler): css border improvements
  • fix(task): css border improvements

v4.0.0-beta.5

2 years ago
  • feat(ui): scope for head-* slots should contain "disabled"
  • fix(ui): prevent unintended "current" day when "current weekday"
  • feat(timestamp): new currentWeekday key corresponds to current weekday
  • feat(month): include "disabled" key in scope object
  • fix(month): computed "todayWeek" should contain correct "currentWeekday"

The Timestamp object has been changed to include currentWeekday. This affects any calendars, like QCalendarMonth that has a header. The currentWeekday will be set to true, if the current day's (as defined by now, and defaults to today's date unless explicitly set) day of the week matches the headers day of the week,

/**
 * @typedef {Object} Timestamp The Timestamp object
 * @property {string=} Timestamp.date Date string in format 'YYYY-MM-DD'
 * @property {string=} Timestamp.time Time string in format 'HH:MM'
 * @property {number} Timestamp.year The numeric year
 * @property {number} Timestamp.month The numeric month (Jan = 1, ...)
 * @property {number} Timestamp.day The numeric day
 * @property {number} Timestamp.weekday The numeric weekday (Sun = 0, ..., Sat = 6)
 * @property {number=} Timestamp.hour The numeric hour
 * @property {number} Timestamp.minute The numeric minute
 * @property {number=} Timestamp.doy The numeric day of the year (doy)
 * @property {number=} Timestamp.workweek The numeric workweek
 * @property {boolean} Timestamp.hasDay True if Timestamp.date is filled in and usable
 * @property {boolean} Timestamp.hasTime True if Timestamp.time is filled in and usable
 * @property {boolean=} Timestamp.past True if the Timestamp is in the past
 * @property {boolean=} Timestamp.current True if Timestamp is current day (now)
 * @property {boolean=} Timestamp.future True if Timestamp is in the future
 * @property {boolean=} Timestamp.disabled True if this is a disabled date
 * @property {boolean=} Timestamp.currentWeekday True if this date corresponds to current weekday
 */
export const Timestamp = {
  date: '',        // YYYY-MM-DD
  time: '',        // HH:MM (optional)
  year: 0,         // YYYY
  month: 0,        // MM (Jan = 1, etc)
  day: 0,          // day of the month
  weekday: 0,      // week day (0=Sunday...6=Saturday)
  hour: 0,         // 24-hr format
  minute: 0,       // mm
  doy: 0,          // day of year
  workweek: 0,     // workweek number
  hasDay: false,   // if this timestamp is supposed to have a date
  hasTime: false,  // if this timestamp is supposed to have a time
  past: false,     // if timestamp is in the past (based on `now` property)
  current: false,  // if timestamp is current date (based on `now` property)
  future: false,   // if timestamp is in the future (based on `now` property)
  disabled: false, // if timestamp is disabled
  currentWeekday: false // if this date corresponds to current weekday 
}

v4.0.0-beta.4

2 years ago
  • fix(ui): parseTimestamp is not exported correctly in typescript (#340)

v3.4.1

2 years ago
  • fix(ui): parseTimestamp is not exported correctly in typescript (#340)

v4.0.0-beta.3

2 years ago
  • fix(ui): Wrong Time on @click:time when start (#320)

v4.0.0-beta.2

2 years ago
  • fix(Task): slot days scoped data 'days' renamed to 'timestamps' (days deprecated)
  • breaking(Task): slot days scoped data 'width' renamed to 'cellWidth'
  • breaking(Task): slot title-task scoped data 'width' renamed to 'cellWidth'
  • breaking(Task): slot title-day scoped data 'width' renamed to 'cellWidth'
  • feat(Task): slot task scoped data added expanded
  • feat(Task): slot head-date/head-day scoped data added droppable
  • fix(Scheduler): slot head-resources scoped data 'days' renamed to 'timestamps' (days deprecated)
  • fix(Scheduler): slot head-days-events scoped data 'days' renamed to 'timestamps' (days deprecated)
  • fix(Scheduler): slot resource-label scoped data 'days' renamed to 'timestamps' (days deprecated)
  • fix(Scheduler): slot resource-days scoped data 'days' renamed to 'timestamps' (days deprecated)
  • fix(Day): slot head-intervals scoped data 'days' renamed to 'timestamps' (days deprecated)
  • fix(app-ext): to be "compatibleWith" with quasar/v2 & app/v3
  • fix(ui): Module '"@quasar/quasar-ui-qcalendar"' has no exported member (#313)

v4.0.0-beta.1

2 years ago
  • fix(ui): typescript is now Vue 3 compliant

Beta 1 Release

No new breaking changes are anticipated. Next steps:

  1. Continue updating docs site
  2. Update JSON API
  3. Convert examples using Options API to use Composition API

Please see here: https://qcalendar.netlify.app/contributing/call-to-action

Donations

QCalendar is an open-source MIT licensed project that has been made possible due to the generous contributions by sponsors and backers. If you are interested in supporting this project, please consider:

v4.0.0-alpha.14

2 years ago
  • feat(task): date button is hoverable/focusable
  • feat(day/scheduler/task): allow Enter/space keys to select date on focused weekday
  • fix(task): slot head-task renamed to head-tasks to be consistent with other calendars
  • fix(scheduler/resource): use parseInt on resource height in case of string
  • fix(task): fix incorrect css name
  • fix(scheduler/resource): no need to emit all resources on expanded/collapsed
  • feat(task): hierarchical children

v4.0.0-alpha.13

2 years ago
  • fix(Day): Add calculation methods to QCalendarDay (#304)
  • fix(ui): further work for "Add calculation methods to QCalendarDay (#304)"