@fullcalendar/resource-daygrid
Advanced tools
Comparing version 5.11.0 to 5.11.2
/*! | ||
FullCalendar Scheduler v5.10.2 | ||
FullCalendar Scheduler v5.11.2 | ||
Docs & License: https://fullcalendar.io/scheduler | ||
(c) 2021 Adam Shaw | ||
(c) 2022 Adam Shaw | ||
*/ | ||
@@ -6,0 +6,0 @@ 'use strict'; |
/*! | ||
FullCalendar Scheduler v5.10.2 | ||
FullCalendar Scheduler v5.11.2 | ||
Docs & License: https://fullcalendar.io/scheduler | ||
(c) 2021 Adam Shaw | ||
(c) 2022 Adam Shaw | ||
*/ | ||
@@ -6,0 +6,0 @@ var FullCalendarResourceDayGrid = (function (exports, common, premiumCommonPlugin, resourceCommonPlugin, dayGridPlugin) { |
/*! | ||
FullCalendar Scheduler v5.10.2 | ||
FullCalendar Scheduler v5.11.2 | ||
Docs & License: https://fullcalendar.io/scheduler | ||
(c) 2021 Adam Shaw | ||
(c) 2022 Adam Shaw | ||
*/ | ||
var FullCalendarResourceDayGrid=function(e,t,r,o,n){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=a(r),s=a(o),l=a(n),u=function(e,t){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}u(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var c=function(){return(c=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return d(t,e),t.prototype.transformSeg=function(e,t,r){return t.computeColRanges(e.firstCol,e.lastCol,r).map((function(t){return c(c(c({},e),t),{isStart:e.isStart&&t.isStart,isEnd:e.isEnd&&t.isEnd})}))},t}(o.VResourceJoiner),p=function(e){function r(){var r=null!==e&&e.apply(this,arguments)||this;return r.splitter=new o.VResourceSplitter,r.slicers={},r.joiner=new f,r.tableRef=t.createRef(),r.isHitComboAllowed=function(e,t){return 1===r.props.resourceDayTableModel.dayTableModel.colCnt||e.dateSpan.resourceId===t.dateSpan.resourceId},r}return d(r,e),r.prototype.render=function(){var e=this,r=this.props,o=this.context,a=r.resourceDayTableModel,i=r.nextDayThreshold,s=r.dateProfile,l=this.splitter.splitProps(r);this.slicers=t.mapHash(l,(function(t,r){return e.slicers[r]||new n.DayTableSlicer}));var u=t.mapHash(this.slicers,(function(e,t){return e.sliceProps(l[t],s,i,o,a.dayTableModel)}));return t.createElement(n.Table,c({forPrint:r.forPrint,ref:this.tableRef},this.joiner.joinProps(u,a),{cells:a.cells,dateProfile:s,colGroupNode:r.colGroupNode,tableMinWidth:r.tableMinWidth,renderRowIntro:r.renderRowIntro,dayMaxEvents:r.dayMaxEvents,dayMaxEventRows:r.dayMaxEventRows,showWeekNumbers:r.showWeekNumbers,expandRows:r.expandRows,headerAlignElRef:r.headerAlignElRef,clientWidth:r.clientWidth,clientHeight:r.clientHeight,isHitComboAllowed:this.isHitComboAllowed}))},r}(t.DateComponent),y=function(e){function r(){var r=null!==e&&e.apply(this,arguments)||this;return r.flattenResources=t.memoize(o.flattenResources),r.buildResourceDayTableModel=t.memoize(h),r.headerRef=t.createRef(),r.tableRef=t.createRef(),r}return d(r,e),r.prototype.render=function(){var e=this,r=this.props,n=this.context,a=n.options,i=a.resourceOrder||o.DEFAULT_RESOURCE_ORDER,s=this.flattenResources(r.resourceStore,i),l=this.buildResourceDayTableModel(r.dateProfile,n.dateProfileGenerator,s,a.datesAboveResources,n),u=a.dayHeaders&&t.createElement(o.ResourceDayHeader,{ref:this.headerRef,resources:s,dateProfile:r.dateProfile,dates:l.dayTableModel.headerDates,datesRepDistinctDays:!0}),d=function(o){return t.createElement(p,{ref:e.tableRef,dateProfile:r.dateProfile,resourceDayTableModel:l,businessHours:r.businessHours,eventStore:r.eventStore,eventUiBases:r.eventUiBases,dateSelection:r.dateSelection,eventSelection:r.eventSelection,eventDrag:r.eventDrag,eventResize:r.eventResize,nextDayThreshold:a.nextDayThreshold,tableMinWidth:o.tableMinWidth,colGroupNode:o.tableColGroupNode,dayMaxEvents:a.dayMaxEvents,dayMaxEventRows:a.dayMaxEventRows,showWeekNumbers:a.weekNumbers,expandRows:!r.isHeightAuto,headerAlignElRef:e.headerElRef,clientWidth:o.clientWidth,clientHeight:o.clientHeight,forPrint:r.forPrint})};return a.dayMinWidth?this.renderHScrollLayout(u,d,l.colCnt,a.dayMinWidth):this.renderSimpleLayout(u,d)},r}(n.TableView);function h(e,t,r,a,i){var s=n.buildDayTableModel(e,t);return a?new o.DayResourceTableModel(s,r,i):new o.ResourceDayTableModel(s,r,i)}var b=t.createPlugin({deps:[i.default,s.default,l.default],initialView:"resourceDayGridDay",views:{resourceDayGrid:{type:"dayGrid",component:y,needsResourceData:!0},resourceDayGridDay:{type:"resourceDayGrid",duration:{days:1}},resourceDayGridWeek:{type:"resourceDayGrid",duration:{weeks:1}},resourceDayGridMonth:{type:"resourceDayGrid",duration:{months:1},monthMode:!0,fixedWeekCount:!0}}});return t.globalPlugins.push(b),e.ResourceDayTable=p,e.ResourceDayTableView=y,e.default=b,Object.defineProperty(e,"__esModule",{value:!0}),e}({},FullCalendar,FullCalendarPremiumCommon,FullCalendarResourceCommon,FullCalendarDayGrid); |
/*! | ||
FullCalendar Scheduler v5.10.2 | ||
FullCalendar Scheduler v5.11.2 | ||
Docs & License: https://fullcalendar.io/scheduler | ||
(c) 2021 Adam Shaw | ||
(c) 2022 Adam Shaw | ||
*/ | ||
@@ -6,0 +6,0 @@ import { createRef, mapHash, createElement, DateComponent, memoize, createPlugin } from '@fullcalendar/common'; |
{ | ||
"name": "@fullcalendar/resource-daygrid", | ||
"version": "5.11.0", | ||
"version": "5.11.2", | ||
"title": "FullCalendar Resource Day Grid Plugin", | ||
@@ -8,6 +8,6 @@ "description": "Displays events in individual columns for days and resources", | ||
"dependencies": { | ||
"@fullcalendar/common": "~5.11.0", | ||
"@fullcalendar/daygrid": "~5.11.0", | ||
"@fullcalendar/premium-common": "~5.11.0", | ||
"@fullcalendar/resource-common": "~5.11.0", | ||
"@fullcalendar/common": "~5.11.2", | ||
"@fullcalendar/daygrid": "~5.11.2", | ||
"@fullcalendar/premium-common": "~5.11.2", | ||
"@fullcalendar/resource-common": "~5.11.2", | ||
"tslib": "^2.1.0" | ||
@@ -34,4 +34,4 @@ }, | ||
"devDependencies": { | ||
"@fullcalendar/core-preact": "5.11.0" | ||
"@fullcalendar/core-preact": "5.11.2" | ||
} | ||
} |
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