@fullcalendar/list
Advanced tools
Comparing version 5.7.0 to 5.7.2
/*! | ||
FullCalendar v5.7.0 | ||
FullCalendar v5.7.2 | ||
Docs & License: https://fullcalendar.io/ | ||
@@ -272,2 +272,3 @@ (c) 2021 Adam Shaw | ||
noEventsWillUnmount: common.identity, | ||
// noEventsText is defined in base options | ||
}; | ||
@@ -284,3 +285,3 @@ function createFalsableFormatter(input) { | ||
buttonTextKey: 'list', | ||
listDayFormat: { month: 'long', day: 'numeric', year: 'numeric' }, | ||
listDayFormat: { month: 'long', day: 'numeric', year: 'numeric' }, // like "January 1, 2016" | ||
}, | ||
@@ -290,3 +291,3 @@ listDay: { | ||
duration: { days: 1 }, | ||
listDayFormat: { weekday: 'long' }, | ||
listDayFormat: { weekday: 'long' }, // day-of-week is all we need. full date is probably in headerToolbar | ||
}, | ||
@@ -302,3 +303,3 @@ listWeek: { | ||
duration: { month: 1 }, | ||
listDaySideFormat: { weekday: 'long' }, | ||
listDaySideFormat: { weekday: 'long' }, // day-of-week is nice-to-have | ||
}, | ||
@@ -308,3 +309,3 @@ listYear: { | ||
duration: { year: 1 }, | ||
listDaySideFormat: { weekday: 'long' }, | ||
listDaySideFormat: { weekday: 'long' }, // day-of-week is nice-to-have | ||
}, | ||
@@ -311,0 +312,0 @@ }, |
@@ -1,2 +0,3 @@ | ||
import { ViewApi, MountArg, DateComponent, ViewProps, createElement, Seg, DateMarker, EventStore, EventUiHash, DateRange, EventRenderRange, Identity, ClassNamesGenerator, CustomContentGenerator, DidMountHandler, WillUnmountHandler, FormatterInput, DateFormatter, PluginDef } from '@fullcalendar/common'; | ||
import * as _fullcalendar_common from '@fullcalendar/common'; | ||
import { ViewApi, MountArg, DateComponent, ViewProps, createElement, Seg, DateMarker, EventStore, EventUiHash, DateRange, EventRenderRange, Identity, ClassNamesGenerator, CustomContentGenerator, DidMountHandler, WillUnmountHandler, FormatterInput } from '@fullcalendar/common'; | ||
@@ -20,3 +21,2 @@ interface NoEventsContentArg { | ||
declare const OPTION_REFINERS: { | ||
@@ -27,6 +27,6 @@ listDayFormat: typeof createFalsableFormatter; | ||
noEventsContent: Identity<CustomContentGenerator<NoEventsContentArg>>; | ||
noEventsDidMount: Identity<DidMountHandler<MountArg<NoEventsContentArg>>>; | ||
noEventsWillUnmount: Identity<WillUnmountHandler<MountArg<NoEventsContentArg>>>; | ||
noEventsDidMount: Identity<DidMountHandler<NoEventsMountArg>>; | ||
noEventsWillUnmount: Identity<WillUnmountHandler<NoEventsMountArg>>; | ||
}; | ||
declare function createFalsableFormatter(input: FormatterInput | false): DateFormatter; | ||
declare function createFalsableFormatter(input: FormatterInput | false): _fullcalendar_common.DateFormatter; | ||
@@ -39,5 +39,7 @@ declare type ExtraOptionRefiners = typeof OPTION_REFINERS; | ||
declare const _default: PluginDef; | ||
declare const _default: _fullcalendar_common.PluginDef; | ||
export default _default; | ||
export { ListView, NoEventsContentArg, NoEventsMountArg }; |
/*! | ||
FullCalendar v5.7.0 | ||
FullCalendar v5.7.2 | ||
Docs & License: https://fullcalendar.io/ | ||
@@ -33,2 +33,4 @@ (c) 2021 Adam Shaw | ||
function __extends(d, b) { | ||
if (typeof b !== "function" && b !== null) | ||
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); | ||
extendStatics(d, b); | ||
@@ -308,2 +310,3 @@ function __() { this.constructor = d; } | ||
noEventsWillUnmount: common.identity, | ||
// noEventsText is defined in base options | ||
}; | ||
@@ -320,3 +323,3 @@ function createFalsableFormatter(input) { | ||
buttonTextKey: 'list', | ||
listDayFormat: { month: 'long', day: 'numeric', year: 'numeric' }, | ||
listDayFormat: { month: 'long', day: 'numeric', year: 'numeric' }, // like "January 1, 2016" | ||
}, | ||
@@ -326,3 +329,3 @@ listDay: { | ||
duration: { days: 1 }, | ||
listDayFormat: { weekday: 'long' }, | ||
listDayFormat: { weekday: 'long' }, // day-of-week is all we need. full date is probably in headerToolbar | ||
}, | ||
@@ -338,3 +341,3 @@ listWeek: { | ||
duration: { month: 1 }, | ||
listDaySideFormat: { weekday: 'long' }, | ||
listDaySideFormat: { weekday: 'long' }, // day-of-week is nice-to-have | ||
}, | ||
@@ -344,3 +347,3 @@ listYear: { | ||
duration: { year: 1 }, | ||
listDaySideFormat: { weekday: 'long' }, | ||
listDaySideFormat: { weekday: 'long' }, // day-of-week is nice-to-have | ||
}, | ||
@@ -347,0 +350,0 @@ }, |
/*! | ||
FullCalendar v5.7.0 | ||
FullCalendar v5.7.2 | ||
Docs & License: https://fullcalendar.io/ | ||
(c) 2021 Adam Shaw | ||
*/ | ||
var FullCalendarList=function(e,t){"use strict";var n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function a(e,t){function a(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(a.prototype=t.prototype,new a)}var r=function(){return(r=Object.assign||function(e){for(var t,n=1,a=arguments.length;n<a;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},i=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return a(n,e),n.prototype.render=function(){var e=this.props,n=e.dayDate,a=e.todayRange,i=this.context,s=i.theme,l=i.dateEnv,c=i.options,u=i.viewApi,d=t.getDateMeta(n,a),m=c.listDayFormat?l.format(n,c.listDayFormat):"",v=c.listDaySideFormat?l.format(n,c.listDaySideFormat):"",y=c.navLinks?t.buildNavLinkData(n):null,f=r({date:l.toDate(n),view:u,text:m,sideText:v,navLinkData:y},d),g=["fc-list-day"].concat(t.getDayClassNames(d,s));return t.createElement(t.RenderHook,{hookProps:f,classNames:c.dayHeaderClassNames,content:c.dayHeaderContent,defaultContent:o,didMount:c.dayHeaderDidMount,willUnmount:c.dayHeaderWillUnmount},(function(e,a,r,i){return t.createElement("tr",{ref:e,className:g.concat(a).join(" "),"data-date":t.formatDayString(n)},t.createElement("th",{colSpan:3},t.createElement("div",{className:"fc-list-day-cushion "+s.getClass("tableCellShaded"),ref:r},i)))}))},n}(t.BaseComponent);function o(e){var n=e.navLinkData?{"data-navlink":e.navLinkData,tabIndex:0}:{};return t.createElement(t.Fragment,null,e.text&&t.createElement("a",r({className:"fc-list-day-text"},n),e.text),e.sideText&&t.createElement("a",r({className:"fc-list-day-side-text"},n),e.sideText))}var s=t.createFormatter({hour:"numeric",minute:"2-digit",meridiem:"short"}),l=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return a(n,e),n.prototype.render=function(){var e=this.props,n=this.context,a=e.seg,r=n.options.eventTimeFormat||s;return t.createElement(t.EventRoot,{seg:a,timeText:"",disableDragging:!0,disableResizing:!0,defaultContent:c,isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday,isSelected:e.isSelected,isDragging:e.isDragging,isResizing:e.isResizing,isDateSelecting:e.isDateSelecting},(function(e,i,o,s,l){return t.createElement("tr",{className:["fc-list-event",l.event.url?"fc-event-forced-url":""].concat(i).join(" "),ref:e},function(e,n,a){var r=a.options;if(!1!==r.displayEventTime){var i=e.eventRange.def,o=e.eventRange.instance,s=!1,l=void 0;if(i.allDay?s=!0:t.isMultiDayRange(e.eventRange.range)?e.isStart?l=t.buildSegTimeText(e,n,a,null,null,o.range.start,e.end):e.isEnd?l=t.buildSegTimeText(e,n,a,null,null,e.start,o.range.end):s=!0:l=t.buildSegTimeText(e,n,a),s){var c={text:a.options.allDayText,view:a.viewApi};return t.createElement(t.RenderHook,{hookProps:c,classNames:r.allDayClassNames,content:r.allDayContent,defaultContent:u,didMount:r.allDayDidMount,willUnmount:r.allDayWillUnmount},(function(e,n,a,r){return t.createElement("td",{className:["fc-list-event-time"].concat(n).join(" "),ref:e},r)}))}return t.createElement("td",{className:"fc-list-event-time"},l)}return null}(a,r,n),t.createElement("td",{className:"fc-list-event-graphic"},t.createElement("span",{className:"fc-list-event-dot",style:{borderColor:l.borderColor||l.backgroundColor}})),t.createElement("td",{className:"fc-list-event-title",ref:o},s))}))},n}(t.BaseComponent);function c(e){var n=e.event,a=n.url,i=a?{href:a}:{};return t.createElement("a",r({},i),n.title)}function u(e){return e.text}var d=function(e){function n(){var n=null!==e&&e.apply(this,arguments)||this;return n.computeDateVars=t.memoize(v),n.eventStoreToSegs=t.memoize(n._eventStoreToSegs),n.setRootEl=function(e){e?n.context.registerInteractiveComponent(n,{el:e}):n.context.unregisterInteractiveComponent(n)},n}return a(n,e),n.prototype.render=function(){var e=this,n=this.props,a=this.context,r=["fc-list",a.theme.getClass("table"),!1!==a.options.stickyHeaderDates?"fc-list-sticky":""],i=this.computeDateVars(n.dateProfile),o=i.dayDates,s=i.dayRanges,l=this.eventStoreToSegs(n.eventStore,n.eventUiBases,s);return t.createElement(t.ViewRoot,{viewSpec:a.viewSpec,elRef:this.setRootEl},(function(a,i){return t.createElement("div",{ref:a,className:r.concat(i).join(" ")},t.createElement(t.Scroller,{liquid:!n.isHeightAuto,overflowX:n.isHeightAuto?"visible":"hidden",overflowY:n.isHeightAuto?"visible":"auto"},l.length>0?e.renderSegList(l,o):e.renderEmptyMessage()))}))},n.prototype.renderEmptyMessage=function(){var e=this.context,n=e.options,a=e.viewApi,r={text:n.noEventsText,view:a};return t.createElement(t.RenderHook,{hookProps:r,classNames:n.noEventsClassNames,content:n.noEventsContent,defaultContent:m,didMount:n.noEventsDidMount,willUnmount:n.noEventsWillUnmount},(function(e,n,a,r){return t.createElement("div",{className:["fc-list-empty"].concat(n).join(" "),ref:e},t.createElement("div",{className:"fc-list-empty-cushion",ref:a},r))}))},n.prototype.renderSegList=function(e,n){var a=this.context,o=a.theme,s=a.options,c=function(e){var t,n,a=[];for(t=0;t<e.length;t+=1)n=e[t],(a[n.dayIndex]||(a[n.dayIndex]=[])).push(n);return a}(e);return t.createElement(t.NowTimer,{unit:"day"},(function(e,a){for(var u=[],d=0;d<c.length;d+=1){var m=c[d];if(m){var v=n[d].toISOString();u.push(t.createElement(i,{key:v,dayDate:n[d],todayRange:a}));for(var y=0,f=m=t.sortEventSegs(m,s.eventOrder);y<f.length;y++){var g=f[y];u.push(t.createElement(l,r({key:v+":"+g.eventRange.instance.instanceId,seg:g,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:!1},t.getSegMeta(g,a,e))))}}}return t.createElement("table",{className:"fc-list-table "+o.getClass("table")},t.createElement("tbody",null,u))}))},n.prototype._eventStoreToSegs=function(e,n,a){return this.eventRangesToSegs(t.sliceEventStore(e,n,this.props.dateProfile.activeRange,this.context.options.nextDayThreshold).fg,a)},n.prototype.eventRangesToSegs=function(e,t){for(var n=[],a=0,r=e;a<r.length;a++){var i=r[a];n.push.apply(n,this.eventRangeToSegs(i,t))}return n},n.prototype.eventRangeToSegs=function(e,n){var a,r,i,o=this.context.dateEnv,s=this.context.options.nextDayThreshold,l=e.range,c=e.def.allDay,u=[];for(a=0;a<n.length;a+=1)if((r=t.intersectRanges(l,n[a]))&&(i={component:this,eventRange:e,start:r.start,end:r.end,isStart:e.isStart&&r.start.valueOf()===l.start.valueOf(),isEnd:e.isEnd&&r.end.valueOf()===l.end.valueOf(),dayIndex:a},u.push(i),!i.isEnd&&!c&&a+1<n.length&&l.end<o.add(n[a+1].start,s))){i.end=l.end,i.isEnd=!0;break}return u},n}(t.DateComponent);function m(e){return e.text}function v(e){for(var n=t.startOfDay(e.renderRange.start),a=e.renderRange.end,r=[],i=[];n<a;)r.push(n),i.push({start:n,end:t.addDays(n,1)}),n=t.addDays(n,1);return{dayDates:r,dayRanges:i}}var y={listDayFormat:f,listDaySideFormat:f,noEventsClassNames:t.identity,noEventsContent:t.identity,noEventsDidMount:t.identity,noEventsWillUnmount:t.identity};function f(e){return!1===e?null:t.createFormatter(e)}var g=t.createPlugin({optionRefiners:y,views:{list:{component:d,buttonTextKey:"list",listDayFormat:{month:"long",day:"numeric",year:"numeric"}},listDay:{type:"list",duration:{days:1},listDayFormat:{weekday:"long"}},listWeek:{type:"list",duration:{weeks:1},listDayFormat:{weekday:"long"},listDaySideFormat:{month:"long",day:"numeric",year:"numeric"}},listMonth:{type:"list",duration:{month:1},listDaySideFormat:{weekday:"long"}},listYear:{type:"list",duration:{year:1},listDaySideFormat:{weekday:"long"}}}});return t.globalPlugins.push(g),e.ListView=d,e.default=g,Object.defineProperty(e,"__esModule",{value:!0}),e}({},FullCalendar); | ||
var FullCalendarList=function(e,t){"use strict";var n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function a(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(a.prototype=t.prototype,new a)}var r=function(){return(r=Object.assign||function(e){for(var t,n=1,a=arguments.length;n<a;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},i=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return a(n,e),n.prototype.render=function(){var e=this.props,n=e.dayDate,a=e.todayRange,i=this.context,s=i.theme,l=i.dateEnv,c=i.options,u=i.viewApi,d=t.getDateMeta(n,a),m=c.listDayFormat?l.format(n,c.listDayFormat):"",v=c.listDaySideFormat?l.format(n,c.listDaySideFormat):"",y=c.navLinks?t.buildNavLinkData(n):null,f=r({date:l.toDate(n),view:u,text:m,sideText:v,navLinkData:y},d),p=["fc-list-day"].concat(t.getDayClassNames(d,s));return t.createElement(t.RenderHook,{hookProps:f,classNames:c.dayHeaderClassNames,content:c.dayHeaderContent,defaultContent:o,didMount:c.dayHeaderDidMount,willUnmount:c.dayHeaderWillUnmount},(function(e,a,r,i){return t.createElement("tr",{ref:e,className:p.concat(a).join(" "),"data-date":t.formatDayString(n)},t.createElement("th",{colSpan:3},t.createElement("div",{className:"fc-list-day-cushion "+s.getClass("tableCellShaded"),ref:r},i)))}))},n}(t.BaseComponent);function o(e){var n=e.navLinkData?{"data-navlink":e.navLinkData,tabIndex:0}:{};return t.createElement(t.Fragment,null,e.text&&t.createElement("a",r({className:"fc-list-day-text"},n),e.text),e.sideText&&t.createElement("a",r({className:"fc-list-day-side-text"},n),e.sideText))}var s=t.createFormatter({hour:"numeric",minute:"2-digit",meridiem:"short"}),l=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return a(n,e),n.prototype.render=function(){var e=this.props,n=this.context,a=e.seg,r=n.options.eventTimeFormat||s;return t.createElement(t.EventRoot,{seg:a,timeText:"",disableDragging:!0,disableResizing:!0,defaultContent:c,isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday,isSelected:e.isSelected,isDragging:e.isDragging,isResizing:e.isResizing,isDateSelecting:e.isDateSelecting},(function(e,i,o,s,l){return t.createElement("tr",{className:["fc-list-event",l.event.url?"fc-event-forced-url":""].concat(i).join(" "),ref:e},function(e,n,a){var r=a.options;if(!1!==r.displayEventTime){var i=e.eventRange.def,o=e.eventRange.instance,s=!1,l=void 0;if(i.allDay?s=!0:t.isMultiDayRange(e.eventRange.range)?e.isStart?l=t.buildSegTimeText(e,n,a,null,null,o.range.start,e.end):e.isEnd?l=t.buildSegTimeText(e,n,a,null,null,e.start,o.range.end):s=!0:l=t.buildSegTimeText(e,n,a),s){var c={text:a.options.allDayText,view:a.viewApi};return t.createElement(t.RenderHook,{hookProps:c,classNames:r.allDayClassNames,content:r.allDayContent,defaultContent:u,didMount:r.allDayDidMount,willUnmount:r.allDayWillUnmount},(function(e,n,a,r){return t.createElement("td",{className:["fc-list-event-time"].concat(n).join(" "),ref:e},r)}))}return t.createElement("td",{className:"fc-list-event-time"},l)}return null}(a,r,n),t.createElement("td",{className:"fc-list-event-graphic"},t.createElement("span",{className:"fc-list-event-dot",style:{borderColor:l.borderColor||l.backgroundColor}})),t.createElement("td",{className:"fc-list-event-title",ref:o},s))}))},n}(t.BaseComponent);function c(e){var n=e.event,a=n.url,i=a?{href:a}:{};return t.createElement("a",r({},i),n.title)}function u(e){return e.text}var d=function(e){function n(){var n=null!==e&&e.apply(this,arguments)||this;return n.computeDateVars=t.memoize(v),n.eventStoreToSegs=t.memoize(n._eventStoreToSegs),n.setRootEl=function(e){e?n.context.registerInteractiveComponent(n,{el:e}):n.context.unregisterInteractiveComponent(n)},n}return a(n,e),n.prototype.render=function(){var e=this,n=this.props,a=this.context,r=["fc-list",a.theme.getClass("table"),!1!==a.options.stickyHeaderDates?"fc-list-sticky":""],i=this.computeDateVars(n.dateProfile),o=i.dayDates,s=i.dayRanges,l=this.eventStoreToSegs(n.eventStore,n.eventUiBases,s);return t.createElement(t.ViewRoot,{viewSpec:a.viewSpec,elRef:this.setRootEl},(function(a,i){return t.createElement("div",{ref:a,className:r.concat(i).join(" ")},t.createElement(t.Scroller,{liquid:!n.isHeightAuto,overflowX:n.isHeightAuto?"visible":"hidden",overflowY:n.isHeightAuto?"visible":"auto"},l.length>0?e.renderSegList(l,o):e.renderEmptyMessage()))}))},n.prototype.renderEmptyMessage=function(){var e=this.context,n=e.options,a=e.viewApi,r={text:n.noEventsText,view:a};return t.createElement(t.RenderHook,{hookProps:r,classNames:n.noEventsClassNames,content:n.noEventsContent,defaultContent:m,didMount:n.noEventsDidMount,willUnmount:n.noEventsWillUnmount},(function(e,n,a,r){return t.createElement("div",{className:["fc-list-empty"].concat(n).join(" "),ref:e},t.createElement("div",{className:"fc-list-empty-cushion",ref:a},r))}))},n.prototype.renderSegList=function(e,n){var a=this.context,o=a.theme,s=a.options,c=function(e){var t,n,a=[];for(t=0;t<e.length;t+=1)(a[(n=e[t]).dayIndex]||(a[n.dayIndex]=[])).push(n);return a}(e);return t.createElement(t.NowTimer,{unit:"day"},(function(e,a){for(var u=[],d=0;d<c.length;d+=1){var m=c[d];if(m){var v=n[d].toISOString();u.push(t.createElement(i,{key:v,dayDate:n[d],todayRange:a}));for(var y=0,f=m=t.sortEventSegs(m,s.eventOrder);y<f.length;y++){var p=f[y];u.push(t.createElement(l,r({key:v+":"+p.eventRange.instance.instanceId,seg:p,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:!1},t.getSegMeta(p,a,e))))}}}return t.createElement("table",{className:"fc-list-table "+o.getClass("table")},t.createElement("tbody",null,u))}))},n.prototype._eventStoreToSegs=function(e,n,a){return this.eventRangesToSegs(t.sliceEventStore(e,n,this.props.dateProfile.activeRange,this.context.options.nextDayThreshold).fg,a)},n.prototype.eventRangesToSegs=function(e,t){for(var n=[],a=0,r=e;a<r.length;a++){var i=r[a];n.push.apply(n,this.eventRangeToSegs(i,t))}return n},n.prototype.eventRangeToSegs=function(e,n){var a,r,i,o=this.context.dateEnv,s=this.context.options.nextDayThreshold,l=e.range,c=e.def.allDay,u=[];for(a=0;a<n.length;a+=1)if((r=t.intersectRanges(l,n[a]))&&(i={component:this,eventRange:e,start:r.start,end:r.end,isStart:e.isStart&&r.start.valueOf()===l.start.valueOf(),isEnd:e.isEnd&&r.end.valueOf()===l.end.valueOf(),dayIndex:a},u.push(i),!i.isEnd&&!c&&a+1<n.length&&l.end<o.add(n[a+1].start,s))){i.end=l.end,i.isEnd=!0;break}return u},n}(t.DateComponent);function m(e){return e.text}function v(e){for(var n=t.startOfDay(e.renderRange.start),a=e.renderRange.end,r=[],i=[];n<a;)r.push(n),i.push({start:n,end:t.addDays(n,1)}),n=t.addDays(n,1);return{dayDates:r,dayRanges:i}}var y={listDayFormat:f,listDaySideFormat:f,noEventsClassNames:t.identity,noEventsContent:t.identity,noEventsDidMount:t.identity,noEventsWillUnmount:t.identity};function f(e){return!1===e?null:t.createFormatter(e)}var p=t.createPlugin({optionRefiners:y,views:{list:{component:d,buttonTextKey:"list",listDayFormat:{month:"long",day:"numeric",year:"numeric"}},listDay:{type:"list",duration:{days:1},listDayFormat:{weekday:"long"}},listWeek:{type:"list",duration:{weeks:1},listDayFormat:{weekday:"long"},listDaySideFormat:{month:"long",day:"numeric",year:"numeric"}},listMonth:{type:"list",duration:{month:1},listDaySideFormat:{weekday:"long"}},listYear:{type:"list",duration:{year:1},listDaySideFormat:{weekday:"long"}}}});return t.globalPlugins.push(p),e.ListView=d,e.default=p,Object.defineProperty(e,"__esModule",{value:!0}),e}({},FullCalendar); |
11
main.js
/*! | ||
FullCalendar v5.7.0 | ||
FullCalendar v5.7.2 | ||
Docs & License: https://fullcalendar.io/ | ||
@@ -269,2 +269,3 @@ (c) 2021 Adam Shaw | ||
noEventsWillUnmount: identity, | ||
// noEventsText is defined in base options | ||
}; | ||
@@ -281,3 +282,3 @@ function createFalsableFormatter(input) { | ||
buttonTextKey: 'list', | ||
listDayFormat: { month: 'long', day: 'numeric', year: 'numeric' }, | ||
listDayFormat: { month: 'long', day: 'numeric', year: 'numeric' }, // like "January 1, 2016" | ||
}, | ||
@@ -287,3 +288,3 @@ listDay: { | ||
duration: { days: 1 }, | ||
listDayFormat: { weekday: 'long' }, | ||
listDayFormat: { weekday: 'long' }, // day-of-week is all we need. full date is probably in headerToolbar | ||
}, | ||
@@ -299,3 +300,3 @@ listWeek: { | ||
duration: { month: 1 }, | ||
listDaySideFormat: { weekday: 'long' }, | ||
listDaySideFormat: { weekday: 'long' }, // day-of-week is nice-to-have | ||
}, | ||
@@ -305,3 +306,3 @@ listYear: { | ||
duration: { year: 1 }, | ||
listDaySideFormat: { weekday: 'long' }, | ||
listDaySideFormat: { weekday: 'long' }, // day-of-week is nice-to-have | ||
}, | ||
@@ -308,0 +309,0 @@ }, |
{ | ||
"name": "@fullcalendar/list", | ||
"version": "5.7.0", | ||
"version": "5.7.2", | ||
"title": "FullCalendar List View Plugin", | ||
@@ -8,3 +8,3 @@ "description": "View your events as a bulleted list", | ||
"dependencies": { | ||
"@fullcalendar/common": "~5.7.0", | ||
"@fullcalendar/common": "~5.7.2", | ||
"tslib": "^2.0.3" | ||
@@ -31,4 +31,4 @@ }, | ||
"devDependencies": { | ||
"@fullcalendar/core-preact": "5.7.0" | ||
"@fullcalendar/core-preact": "5.7.2" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
95475
1110
Updated@fullcalendar/common@~5.7.2