UNPKG

@quasar/quasar-ui-qcalendar

Version:

QCalendar - Day/Month/Week Calendars, Popups, Date Pickers, Schedules, Agendas, Planners and Tasks for your Vue Apps

1,811 lines (1,810 loc) 217 kB
{ "mixins": [ "composables/private.useCellWidth", "composables/private.useCheckChange", "composables/private.useMove", "composables/private.useCommon", "composables/private.useInterval", "composables/private.useMaxDays", "composables/private.useMonth", "composables/private.useTasks", "composables/private.useTimes", "composables/private.useScheduler", "composables/private.useResource", "composables/private.useNavigation" ], "meta": { "docsUrl": "https://qcalendar.netlify.app/developing/qcalendar" }, "props": { "mode": { "type": "String", "category": "behavior", "desc": "Tells QCalendar (wrapper) which calendar component to use", "default": "'day'", "values": [ "'day'", "'month'", "'agenda'", "'resource'", "'scheduler'", "'task'" ], "examples": [ "'week'", "'month'" ] }, "hide-header": { "type": "Boolean", "category": "style", "desc": "Hide the calendar header.", "applicable": [ "All" ] } }, "events": { "input": { "desc": "v-model; Emitted when calendar date changes", "applicable": [ "All" ], "params": { "value": { "type": "String", "desc": "In `YYYY-MM-DD` format", "required": true, "__exemption": [ "examples" ] } } }, "change": { "desc": "Emitted when the calendar dates change. For instance, if in `month` view, the `start` contains the timestamp object for the 1st of the month, and `end` contains the timestamp object for the last day of the month. For week view it's the first day of the displayed week and last day of the displayed week", "applicable": [ "All" ], "params": { "{start, end}": { "type": "Timestamp", "tsType": "Timestamp", "desc": "The timestamp objects for the first and last valid date being displayed", "__exemption": [ "examples" ] } } }, "moved": { "desc": "Emitted when the date is moved", "applicable": [ "All" ], "params": { "timestamp": { "type": "Timestamp", "tsType": "Timestamp", "desc": "The timestamp object of the move. For instance, if in month view, this will be the timestamp object containing the 1st of the month", "__exemption": [ "examples" ] } } }, "expanded": { "desc": "Event occurs when hierarchial resources are expanded/collapses", "applicable": [ "Scheduler", "Resource" ], "params": { "resource": { "type": "Object", "tsType": "ResourceObject", "desc": "The resource object that was toggle, check `expanded` property for `true` or `false`", "__exemption": [ "examples" ] } } }, "mini-mode": { "desc": "Event occurs when switching to/from mini-mode, when the `breakpoint` property is set to `auto`", "applicable": [ "Month" ], "params": { "value": { "type": "Boolean", "desc": "If switched to `mini-mode`, then the value is `true`, otherwise it is `false" } } }, "click-date": { "desc": "Occurs on date button", "applicable": [ "All" ], "params": { "data": { "type": "Object", "desc": "The data passed to the function", "__exemption": [ "examples" ], "definition": { "scope": { "type": "Object", "desc": "The scope object", "__exemption": [ "examples" ], "definition": { "timestamp": { "type": "Object", "tsType": "Timestamp", "desc": "The timestamp object", "__exemption": [ "examples" ] } } }, "event": { "type": "Object", "desc": "JS event object", "__exemption": [ "examples" ] } } } } }, "contextmenu-date": { "desc": "Occurs on date button", "applicable": [ "All" ], "params": { "data": { "type": "Object", "desc": "The data passed to the function", "__exemption": [ "examples" ], "definition": { "scope": { "type": "Object", "desc": "The scope object", "__exemption": [ "examples" ], "definition": { "timestamp": { "type": "Object", "tsType": "Timestamp", "desc": "The timestamp object", "__exemption": [ "examples" ] } } }, "event": { "type": "Object", "desc": "JS event object", "__exemption": [ "examples" ] } } } } }, "mousedown-date": { "desc": "Occurs on date button", "applicable": [ "All" ], "params": { "data": { "type": "Object", "desc": "The data passed to the function", "__exemption": [ "examples" ], "definition": { "scope": { "type": "Object", "desc": "The scope object", "__exemption": [ "examples" ], "definition": { "timestamp": { "type": "Object", "tsType": "Timestamp", "desc": "The timestamp object", "__exemption": [ "examples" ] } } }, "event": { "type": "Object", "desc": "JS event object", "__exemption": [ "examples" ] } } } } }, "mouseup-date": { "desc": "Occurs on date button", "applicable": [ "All" ], "params": { "data": { "type": "Object", "desc": "The data passed to the function", "__exemption": [ "examples" ], "definition": { "scope": { "type": "Object", "desc": "The scope object", "__exemption": [ "examples" ], "definition": { "timestamp": { "type": "Object", "tsType": "Timestamp", "desc": "The timestamp object", "__exemption": [ "examples" ] } } }, "event": { "type": "Object", "desc": "JS event object", "__exemption": [ "examples" ] } } } } }, "mouseenter-date": { "desc": "Occurs on date button", "applicable": [ "All" ], "params": { "data": { "type": "Object", "desc": "The data passed to the function", "__exemption": [ "examples" ], "definition": { "scope": { "type": "Object", "desc": "The scope object", "__exemption": [ "examples" ], "definition": { "timestamp": { "type": "Object", "tsType": "Timestamp", "desc": "The timestamp object", "__exemption": [ "examples" ] } } }, "event": { "type": "Object", "desc": "JS event object", "__exemption": [ "examples" ] } } } } }, "mouseleave-date": { "desc": "Occurs on date button", "applicable": [ "All" ], "params": { "data": { "type": "Object", "desc": "The data passed to the function", "__exemption": [ "examples" ], "definition": { "scope": { "type": "Object", "desc": "The scope object", "__exemption": [ "examples" ], "definition": { "timestamp": { "type": "Object", "tsType": "Timestamp", "desc": "The timestamp object", "__exemption": [ "examples" ] } } }, "event": { "type": "Object", "desc": "JS event object", "__exemption": [ "examples" ] } } } } }, "mousemove-date": { "desc": "Occurs on date button", "applicable": [ "All" ], "params": { "data": { "type": "Object", "desc": "The data passed to the function", "__exemption": [ "examples" ], "definition": { "scope": { "type": "Object", "desc": "The scope object", "__exemption": [ "examples" ], "definition": { "timestamp": { "type": "Object", "tsType": "Timestamp", "desc": "The timestamp object", "__exemption": [ "examples" ] } } }, "event": { "type": "Object", "desc": "JS event object", "__exemption": [ "examples" ] } } } } }, "touchstart-date": { "desc": "Occurs on date button", "applicable": [ "All" ], "params": { "data": { "type": "Object", "desc": "The data passed to the function", "__exemption": [ "examples" ], "definition": { "scope": { "type": "Object", "desc": "The scope object", "__exemption": [ "examples" ], "definition": { "timestamp": { "type": "Object", "tsType": "Timestamp", "desc": "The timestamp object", "__exemption": [ "examples" ] } } }, "event": { "type": "Object", "desc": "JS event object", "__exemption": [ "examples" ] } } } } }, "touchend-date": { "desc": "Occurs on date button", "applicable": [ "All" ], "params": { "data": { "type": "Object", "desc": "The data passed to the function", "__exemption": [ "examples" ], "definition": { "scope": { "type": "Object", "desc": "The scope object", "__exemption": [ "examples" ], "definition": { "timestamp": { "type": "Object", "tsType": "Timestamp", "desc": "The timestamp object", "__exemption": [ "examples" ] } } }, "event": { "type": "Object", "desc": "JS event object", "__exemption": [ "examples" ] } } } } }, "touchmove-date": { "desc": "Occurs on date button", "applicable": [ "All" ], "params": { "data": { "type": "Object", "desc": "The data passed to the function", "__exemption": [ "examples" ], "definition": { "scope": { "type": "Object", "desc": "The scope object", "__exemption": [ "examples" ], "definition": { "timestamp": { "type": "Object", "tsType": "Timestamp", "desc": "The timestamp object", "__exemption": [ "examples" ] } } }, "event": { "type": "Object", "desc": "JS event object", "__exemption": [ "examples" ] } } } } }, "click-day": { "desc": "Occurs on day", "applicable": [ "month" ], "params": { "data": { "type": "Object", "desc": "The data passed to the function", "__exemption": [ "examples" ], "definition": { "scope": { "type": "Object", "desc": "The scope object", "__exemption": [ "examples" ], "definition": { "timestamp": { "type": "Object", "tsType": "Timestamp", "desc": "The timestamp object", "__exemption": [ "examples" ] }, "outside": { "type": "Boolean", "desc": "true if this is an outside day" }, "miniMode": { "type": "Boolean", "desc": "true if calendar is currently in mini-mode" } } }, "event": { "type": "Object", "desc": "JS event object", "__exemption": [ "examples" ] } } } } }, "contextmenu-day": { "desc": "Occurs on day", "applicable": [ "month" ], "params": { "data": { "type": "Object", "desc": "The data passed to the function", "__exemption": [ "examples" ], "definition": { "scope": { "type": "Object", "desc": "The scope object", "__exemption": [ "examples" ], "definition": { "timestamp": { "type": "Object", "tsType": "Timestamp", "desc": "The timestamp object", "__exemption": [ "examples" ] }, "outside": { "type": "Boolean", "desc": "true if this is an outside day" }, "miniMode": { "type": "Boolean", "desc": "true if calendar is currently in mini-mode" } } }, "event": { "type": "Object", "desc": "JS event object", "__exemption": [ "examples" ] } } } } }, "mousedown-day": { "desc": "Occurs on day", "applicable": [ "month" ], "params": { "data": { "type": "Object", "desc": "The data passed to the function", "__exemption": [ "examples" ], "definition": { "scope": { "type": "Object", "desc": "The scope object", "__exemption": [ "examples" ], "definition": { "timestamp": { "type": "Object", "tsType": "Timestamp", "desc": "The timestamp object", "__exemption": [ "examples" ] }, "outside": { "type": "Boolean", "desc": "true if this is an outside day" }, "miniMode": { "type": "Boolean", "desc": "true if calendar is currently in mini-mode" } } }, "event": { "type": "Object", "desc": "JS event object", "__exemption": [ "examples" ] } } } } }, "mouseup-day": { "desc": "Occurs on day", "applicable": [ "month" ], "params": { "data": { "type": "Object", "desc": "The data passed to the function", "__exemption": [ "examples" ], "definition": { "scope": { "type": "Object", "desc": "The scope object", "__exemption": [ "examples" ], "definition": { "timestamp": { "type": "Object", "tsType": "Timestamp", "desc": "The timestamp object", "__exemption": [ "examples" ] }, "outside": { "type": "Boolean", "desc": "true if this is an outside day" }, "miniMode": { "type": "Boolean", "desc": "true if calendar is currently in mini-mode" } } }, "event": { "type": "Object", "desc": "JS event object", "__exemption": [ "examples" ] } } } } }, "mouseenter-day": { "desc": "Occurs on day", "applicable": [ "month" ], "params": { "data": { "type": "Object", "desc": "The data passed to the function", "__exemption": [ "examples" ], "definition": { "scope": { "type": "Object", "desc": "The scope object", "__exemption": [ "examples" ], "definition": { "timestamp": { "type": "Object", "tsType": "Timestamp", "desc": "The timestamp object", "__exemption": [ "examples" ] }, "outside": { "type": "Boolean", "desc": "true if this is an outside day" }, "miniMode": { "type": "Boolean", "desc": "true if calendar is currently in mini-mode" } } }, "event": { "type": "Object", "desc": "JS event object", "__exemption": [ "examples" ] } } } } }, "mouseleave-day": { "desc": "Occurs on day", "applicable": [ "month" ], "params": { "data": { "type": "Object", "desc": "The data passed to the function", "__exemption": [ "examples" ], "definition": { "scope": { "type": "Object", "desc": "The scope object", "__exemption": [ "examples" ], "definition": { "timestamp": { "type": "Object", "tsType": "Timestamp", "desc": "The timestamp object", "__exemption": [ "examples" ] }, "outside": { "type": "Boolean", "desc": "true if this is an outside day" }, "miniMode": { "type": "Boolean", "desc": "true if calendar is currently in mini-mode" } } }, "event": { "type": "Object", "desc": "JS event object", "__exemption": [ "examples" ] } } } } }, "mousemove-day": { "desc": "Occurs on day", "applicable": [ "month" ], "params": { "data": { "type": "Object", "desc": "The data passed to the function", "__exemption": [ "examples" ], "definition": { "scope": { "type": "Object", "desc": "The scope object", "__exemption": [ "examples" ], "definition": { "timestamp": { "type": "Object", "tsType": "Timestamp", "desc": "The timestamp object", "__exemption": [ "examples" ] }, "outside": { "type": "Boolean", "desc": "true if this is an outside day" }, "miniMode": { "type": "Boolean", "desc": "true if calendar is currently in mini-mode" } } }, "event": { "type": "Object", "desc": "JS event object", "__exemption": [ "examples" ] } } } } }, "touchstart-day": { "desc": "Occurs on day", "applicable": [ "month" ], "params": { "data": { "type": "Object", "desc": "The data passed to the function", "__exemption": [ "examples" ], "definition": { "scope": { "type": "Object", "desc": "The scope object", "__exemption": [ "examples" ], "definition": { "timestamp": { "type": "Object", "tsType": "Timestamp", "desc": "The timestamp object", "__exemption": [ "examples" ] }, "outside": { "type": "Boolean", "desc": "true if this is an outside day" }, "miniMode": { "type": "Boolean", "desc": "true if calendar is currently in mini-mode" } } }, "event": { "type": "Object", "desc": "JS event object", "__exemption": [ "examples" ] } } } } }, "touchend-day": { "desc": "Occurs on day", "applicable": [ "month" ], "params": { "data": { "type": "Object", "desc": "The data passed to the function", "__exemption": [ "examples" ], "definition": { "scope": { "type": "Object", "desc": "The scope object", "__exemption": [ "examples" ], "definition": { "timestamp": { "type": "Object", "tsType": "Timestamp", "desc": "The timestamp object", "__exemption": [ "examples" ] }, "outside": { "type": "Boolean", "desc": "true if this is an outside day" }, "miniMode": { "type": "Boolean", "desc": "true if calendar is currently in mini-mode" } } }, "event": { "type": "Object", "desc": "JS event object", "__exemption": [ "examples" ] } } } } }, "touchmove-day": { "desc": "Occurs on day", "applicable": [ "month" ], "params": { "data": { "type": "Object", "desc": "The data passed to the function", "__exemption": [ "examples" ], "definition": { "scope": { "type": "Object", "desc": "The scope object", "__exemption": [ "examples" ], "definition": { "timestamp": { "type": "Object", "tsType": "Timestamp", "desc": "The timestamp object", "__exemption": [ "examples" ] }, "outside": { "type": "Boolean", "desc": "true if this is an outside day" }, "miniMode": { "type": "Boolean", "desc": "true if calendar is currently in mini-mode" } } }, "event": { "type": "Object", "desc": "JS event object", "__exemption": [ "examples" ] } } } } }, "click-day-header": { "desc": "Occurs on day header", "applicable": [ "month" ], "params": { "data": { "type": "Object", "desc": "The data passed to the function", "__exemption": [ "examples" ], "definition": { "scope": { "type": "Object", "desc": "The data object", "__exemption": [ "examples" ], "definition": { "timestamp": { "type": "Object", "tsType": "Timestamp", "desc": "A timestamp object representing the first day of the week for that weekday", "__exemption": [ "examples" ] }, "days": { "type": "Array", "tsType": "TimestampArray", "desc": "An array of timestamp objects representing all the days in the month for that weekday", "__exemption": [ "examples" ] }, "index": { "type": "Number", "desc": "The index of the weekday", "__exemption": [ "examples" ] }, "miniMode": { "type": "Boolean", "desc": "true if currently in mini-mode" } } }, "event": { "type": "Object", "desc": "JS event object", "__exemption": [ "examples" ] } } } } }, "contextmenu-day-header": { "desc": "Occurs on day header", "applicable": [ "month" ], "params": { "data": { "type": "Object", "desc": "The data passed to the function", "__exemption": [ "examples" ], "definition": { "scope": { "type": "Object", "desc": "The data object", "__exemption": [ "examples" ], "definition": { "timestamp": { "type": "Object", "tsType": "Timestamp", "desc": "A timestamp object representing the first day of the week for that weekday", "__exemption": [ "examples" ] }, "days": { "type": "Array", "tsType": "TimestampArray", "desc": "An array of timestamp objects representing all the days in the month for that weekday", "__exemption": [ "examples" ] }, "index": { "type": "Number", "desc": "The index of the weekday", "__exemption": [ "examples" ] }, "miniMode": { "type": "Boolean", "desc": "true if currently in mini-mode" } } }, "event": { "type": "Object", "desc": "JS event object", "__exemption": [ "examples" ] } } } } }, "mousedown-day-header": { "desc": "Occurs on day header", "applicable": [ "month" ], "params": { "data": { "type": "Object", "desc": "The data passed to the function", "__exemption": [ "examples" ], "definition": { "scope": { "type": "Object", "desc": "The data object", "__exemption": [ "examples" ], "definition": { "timestamp": { "type": "Object", "tsType": "Timestamp", "desc": "A timestamp object representing the first day of the week for that weekday", "__exemption": [ "examples" ] }, "days": { "type": "Array", "tsType": "TimestampArray", "desc": "An array of timestamp objects representing all the days in the month for that weekday", "__exemption": [ "examples" ] }, "index": { "type": "Number", "desc": "The index of the weekday", "__exemption": [ "examples" ] }, "miniMode": { "type": "Boolean", "desc": "true if currently in mini-mode" } } }, "event": { "type": "Object", "desc": "JS event object", "__exemption": [ "examples" ] } } } } }, "mouseup-day-header": { "desc": "Occurs on day header", "applicable": [ "month" ], "params": { "data": { "type": "Object", "desc": "The data passed to the function", "__exemption": [ "examples" ], "definition": { "scope": { "type": "Object", "desc": "The data object", "__exemption": [ "examples" ], "definition": { "timestamp": { "type": "Object", "tsType": "Timestamp", "desc": "A timestamp object representing the first day of the week for that weekday", "__exemption": [ "examples" ] }, "days": { "type": "Array", "tsType": "TimestampArray", "desc": "An array of timestamp objects representing all the days in the month for that weekday", "__exemption": [ "examples" ] }, "index": { "type": "Number", "desc": "The index of the weekday", "__exemption": [ "examples" ] }, "miniMode": { "type": "Boolean", "desc": "true if currently in mini-mode" } } }, "event": { "type": "Object", "desc": "JS event object", "__exemption": [ "examples" ] } } } } }, "mouseenter-day-header": { "desc": "Occurs on day header", "applicable": [ "month" ], "params": { "data": { "type": "Object", "desc": "The data passed to the function", "__exemption": [ "examples" ], "definition": { "scope": { "type": "Object", "desc": "The data object", "__exemption": [ "examples" ], "definition": { "timestamp": { "type": "Object", "tsType": "Timestamp", "desc": "A timestamp object representing the first day of the week for that weekday", "__exemption": [ "examples" ] }, "days": { "type": "Array", "tsType": "TimestampArray", "desc": "An array of timestamp objects representing all the days in the month for that weekday", "__exemption": [ "examples" ] }, "index": { "type": "Number", "desc": "The index of the weekday", "__exemption": [ "examples" ] }, "miniMode": { "type": "Boolean", "desc": "true if currently in mini-mode" } } }, "event": { "type": "Object", "desc": "JS event object", "__exemption": [ "examples" ] } } } } }, "mouseleave-day-header": { "desc": "Occurs on day header", "applicable": [ "month" ], "params": { "data": { "type": "Object", "desc": "The data passed to the function", "__exemption": [ "examples" ], "definition": { "scope": { "type": "Object", "desc": "The data object", "__exemption": [ "examples" ], "definition": { "timestamp": { "type": "Object", "tsType": "Timestamp", "desc": "A timestamp object representing the first day of the week for that weekday", "__exemption": [ "examples" ] }, "days": { "type": "Array", "tsType": "TimestampArray", "desc": "An array of timestamp objects representing all the days in the month for that weekday", "__exemption": [ "examples" ] }, "index": { "type": "Number", "desc": "The index of the weekday", "__exemption": [ "examples" ] }, "miniMode": { "type": "Boolean", "desc": "true if currently in mini-mode" } } }, "event": { "type": "Object", "desc": "JS event object", "__exemption": [ "examples" ] } } } } }, "mousemove-day-header": { "desc": "Occurs on day header", "applicable": [ "month" ], "params": { "data": { "type": "Object", "desc": "The data passed to the function", "__exemption": [ "examples" ], "definition": { "scope": { "type": "Object", "desc": "The data object", "__exemption": [ "examples" ], "definition": { "timestamp": { "type": "Object", "tsType": "Timestamp", "desc": "A timestamp object representing the first day of the week for that weekday", "__exemption": [ "examples" ] }, "days": { "type": "Array", "tsType": "TimestampArray", "desc": "An array of timestamp objects representing all the days in the month for that weekday", "__exemption": [ "examples" ] }, "index": { "type": "Number", "desc": "The index of the weekday", "__exemption": [ "examples" ] }, "miniMode": { "type": "Boolean", "desc": "true if currently in mini-mode" } } }, "event": { "type": "Object", "desc": "JS event object", "__exemption": [ "examples" ] } } } } }, "touchstart-day-header": { "desc": "Occurs on day header", "applicable": [ "month" ], "params": { "data": { "type": "Object", "desc": "The data passed to the function", "__exemption": [ "examples" ], "definition": { "scope": { "type": "Object", "desc": "The data object", "__exemption": [ "examples" ], "definition": { "timestamp": { "type": "Object", "tsType": "Timestamp", "desc": "A timestamp object representing the first day of the week for that weekday", "__exemption": [ "examples" ] }, "days": { "type": "Array", "tsType": "TimestampArray", "desc": "An array of timestamp objects representing all the days in the month for that weekday", "__exemption": [ "examples" ] }, "index": { "type": "Number", "desc": "The index of the weekday", "__exemption": [ "examples" ] }, "miniMode": { "type": "Boolean", "desc": "true if currently in mini-mode" } } }, "event": { "type": "Object", "desc": "JS event object", "__exemption": [ "examples" ] } } } } }, "touchend-day-header": { "desc": "Occurs on day header", "applicable": [ "month" ], "params": { "data": { "type": "Object", "desc": "The data passed to the function", "__exemption": [ "examples" ], "definition": { "scope": { "type": "Object", "desc": "The data object", "__exemption": [ "examples" ], "definition": { "timestamp": { "type": "Object", "tsType": "Timestamp", "desc": "A timestamp object representing the first day of the week for that weekday", "__exemption": [ "examples" ] }, "days": { "type": "Array", "tsType": "TimestampArray", "desc": "An array of timestamp objects representing all the days in the month for that weekday", "__exemption": [ "examples" ] }, "index": { "type": "Number", "desc": "The index of the weekday", "__exemption": [ "examples" ] }, "miniMode": { "type": "Boolean", "desc": "true if currently in mini-mode" } } }, "event": { "type": "Object", "desc": "JS event object", "__exemption": [ "examples" ] } } } } }, "touchmove-day-header": { "desc": "Occurs on day header", "applicable": [ "month" ], "params": { "data": { "type": "Object", "desc": "The data passed to the function", "__exemption": [ "examples" ], "definition": { "scope": { "type": "Object", "desc": "The data object", "__exemption": [ "examples" ], "definition": { "timestamp": { "type": "Object", "tsType": "Timestamp", "desc": "A timestamp object representing the first day of the week for that weekday", "__exemption": [ "examples" ] }, "days": { "type": "Array", "tsType": "TimestampArray", "desc": "An array of timestamp objects representing all the days in the month for that weekday", "__exemption": [ "examples" ] }, "index": { "type": "Number", "desc": "The index of the weekday", "__exemption": [ "examples" ] }, "miniMode": { "type": "Boolean", "desc": "true if currently in mini-mode" } } }, "event": { "type": "Object", "desc": "JS event object", "__exemption": [ "examples" ] } } } } }, "click-workweek": { "desc": "Occurs on workweek", "applicable": [ "month" ], "params": { "data": { "type": "Object", "desc": "The data passed to the function", "__exemption": [ "examples" ], "definition": { "scope": { "type": "Object", "desc": "The data object", "__exemption": [ "examples" ], "definition": { "miniMode": { "type": "Boolean", "desc": "true if calendar is currently in mini-mode" }, "week": { "type": "Array", "tsType": "TimestampArray", "desc": "An array of timestamp objects representing the week", "__exemption": [ "examples" ] }, "workweekLabel": { "type": "String", "desc": "The workweek label", "examples": [ "'18'", "'22'" ] } } }, "event": { "type": "Object", "desc": "JS event object", "__exemption": [ "examples" ] } } } } }, "contextmenu-workweek": { "desc": "Occurs on workweek", "applicable": [ "month" ], "params": { "data": { "type": "Object", "desc": "The data passed to the function", "__exemption": [ "examples" ], "definition": { "scope": { "type": "Object", "desc": "The data object", "__exemption": [ "examples" ], "definition": { "miniMode": { "type": "Boolean", "desc": "true if calendar is currently in mini-mode" }, "week": { "type": "Array", "tsType": "TimestampArray", "desc": "An array of timestamp objects representing the week", "__exemption": [ "examples" ] }, "workweekLabel": { "type": "String", "desc": "The workweek label", "examples": [ "'18'", "'22'" ] } } }, "event": { "type": "Object", "desc": "JS event object", "__exemption": [ "examples" ] } } } } }, "mousedown-workweek": { "desc": "Occurs on workweek", "applicable": [ "month" ], "params": { "data": { "type": "Object", "desc": "The data passed to the function", "__exemption": [ "examples" ], "definition": { "scope": { "type": "Object", "desc": "The data object", "__exemption": [ "examples" ], "definition": { "miniMode": { "type": "Boolean", "desc": "true if calendar is currently in mini-mode" }, "week": { "type": "Array", "tsType": "TimestampArray", "desc": "An array of timestamp objects representing the week", "__exemption": [ "examples" ] }, "workweekLabel": { "type": "String", "desc": "The workweek label", "examples": [ "'18'", "'22'" ] } } }, "event": { "type": "Object", "desc": "JS event object", "__exemption": [ "examples" ] } } } } }, "mouseup-workweek": { "desc": "Occurs on workweek", "applicable": [ "month" ], "params": { "data": { "type": "Object", "desc": "The data passed to the function", "__exemption": [ "examples" ], "definition": { "scope": { "type": "Object", "desc": "The data object", "__exemption": [ "examples" ], "definition": { "miniMode": { "type": "Boolean", "desc": "true if calendar is currently in mini-mode" }, "week": { "type": "Array", "tsType": "TimestampArray",