@fullcalendar/resource-daygrid
Advanced tools
Comparing version 4.0.1 to 4.1.0
For complete licensing information, visit: | ||
http://fullcalendar.io/scheduler/license/ | ||
http://fullcalendar.io/scheduler/license | ||
@@ -10,3 +10,3 @@ FullCalendar Scheduler is tri-licensed, meaning you must choose | ||
(a paid license, meant for commercial use) | ||
http://fullcalendar.io/scheduler/license-details/ | ||
http://fullcalendar.io/scheduler/license-details | ||
@@ -13,0 +13,0 @@ - Creative Commons Non-Commercial No-Derivatives |
@@ -27,2 +27,3 @@ declare module "@fullcalendar/resource-daygrid/ResourceDayGrid" { | ||
render(props: ResourceDayGridProps): void; | ||
buildPositionCaches(): void; | ||
queryHit(positionLeft: number, positionTop: number): Hit; | ||
@@ -56,4 +57,4 @@ } | ||
export { default as ResourceDayGrid } from "@fullcalendar/resource-daygrid/ResourceDayGrid"; | ||
const _default_1: import("@fullcalendar/core").PluginDef; | ||
export default _default_1; | ||
const _default_2: import("@fullcalendar/core").PluginDef; | ||
export default _default_2; | ||
} |
/*! | ||
@fullcalendar/resource-daygrid v4.0.1 | ||
Docs & License: https://fullcalendar.io/scheduler/ | ||
FullCalendar Resource Day Grid Plugin v4.1.0 | ||
Docs & License: https://fullcalendar.io/scheduler | ||
(c) 2019 Adam Shaw | ||
@@ -86,2 +86,5 @@ */ | ||
}; | ||
ResourceDayGrid.prototype.buildPositionCaches = function () { | ||
this.dayGrid.buildPositionCaches(); | ||
}; | ||
ResourceDayGrid.prototype.queryHit = function (positionLeft, positionTop) { | ||
@@ -204,5 +207,5 @@ var rawHit = this.dayGrid.positionToHit(positionLeft, positionTop); | ||
exports.ResourceDayGrid = ResourceDayGrid; | ||
exports.ResourceDayGridView = ResourceDayGridView; | ||
exports.default = main; | ||
exports.ResourceDayGrid = ResourceDayGrid; | ||
@@ -209,0 +212,0 @@ Object.defineProperty(exports, '__esModule', { value: true }); |
/*! | ||
@fullcalendar/resource-daygrid v4.0.1 | ||
Docs & License: https://fullcalendar.io/scheduler/ | ||
FullCalendar Resource Day Grid Plugin v4.1.0 | ||
Docs & License: https://fullcalendar.io/scheduler | ||
(c) 2019 Adam Shaw | ||
*/ | ||
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@fullcalendar/core"),require("@fullcalendar/resource-common"),require("@fullcalendar/daygrid")):"function"==typeof define&&define.amd?define(["exports","@fullcalendar/core","@fullcalendar/resource-common","@fullcalendar/daygrid"],r):(e=e||self,r(e.FullCalendarResourceDayGrid={},e.FullCalendar,e.FullCalendarResourceCommon,e.FullCalendarDayGrid))}(this,function(e,r,t,o){"use strict";function i(e,r){function t(){this.constructor=e}l(e,r),e.prototype=null===r?Object.create(r):(t.prototype=r.prototype,new t)}function a(e,r,i,a){var s=o.buildBasicDayTable(e,r);return a?new t.DayResourceTable(s,i):new t.ResourceDayTable(s,i)}var s="default"in t?t["default"]:t,n="default"in o?o["default"]:o,l=function(e,r){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var t in r)r.hasOwnProperty(t)&&(e[t]=r[t])})(e,r)},c=function(){return c=Object.assign||function(e){for(var r,t=1,o=arguments.length;t<o;t++){r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},c.apply(this,arguments)},d=function(e){function a(r,o){var i=e.call(this,r,o.el)||this;return i.splitter=new t.VResourceSplitter,i.slicers={},i.joiner=new u,i.dayGrid=o,r.calendar.registerInteractiveComponent(i,{el:i.dayGrid.el}),i}return i(a,e),a.prototype.destroy=function(){e.prototype.destroy.call(this),this.calendar.unregisterInteractiveComponent(this)},a.prototype.render=function(e){var t=this,i=this.dayGrid,a=e.dateProfile,s=e.resourceDayTable,n=e.nextDayThreshold,l=this.splitter.splitProps(e);this.slicers=r.mapHash(l,function(e,r){return t.slicers[r]||new o.DayGridSlicer});var d=r.mapHash(this.slicers,function(e,r){return e.sliceProps(l[r],a,n,i,s.dayTable)});i.allowAcrossResources=1===s.dayTable.colCnt,i.receiveProps(c({},this.joiner.joinProps(d,s),{dateProfile:a,cells:s.cells,isRigid:e.isRigid}))},a.prototype.queryHit=function(e,r){var t=this.dayGrid.positionToHit(e,r);if(t)return{component:this.dayGrid,dateSpan:{range:t.dateSpan.range,allDay:t.dateSpan.allDay,resourceId:this.props.resourceDayTable.cells[t.row][t.col].resource.id},dayEl:t.dayEl,rect:{left:t.relativeRect.left,right:t.relativeRect.right,top:t.relativeRect.top,bottom:t.relativeRect.bottom},layer:0}},a}(r.DateComponent),u=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return i(r,e),r.prototype.transformSeg=function(e,r,t){var o=r.computeColRanges(e.firstCol,e.lastCol,t);return o.map(function(r){return c({},e,r,{isStart:e.isStart&&r.isStart,isEnd:e.isEnd&&r.isEnd})})},r}(t.VResourceJoiner),y=function(e){function o(o,i,s,n){var l=e.call(this,o,i,s,n)||this;return l.flattenResources=r.memoize(t.flattenResources),l.buildResourceDayTable=r.memoize(a),l.resourceOrderSpecs=r.parseFieldSpecs(l.opt("resourceOrder")),l.opt("columnHeader")&&(l.header=new t.ResourceDayHeader(l.context,l.el.querySelector(".fc-head-container"))),l.resourceDayGrid=new d(o,l.dayGrid),l}return i(o,e),o.prototype.destroy=function(){e.prototype.destroy.call(this),this.header&&this.header.destroy(),this.resourceDayGrid.destroy()},o.prototype.render=function(r){e.prototype.render.call(this,r);var t=this.flattenResources(r.resourceStore,this.resourceOrderSpecs),o=this.buildResourceDayTable(this.props.dateProfile,this.dateProfileGenerator,t,this.opt("datesAboveResources"));this.header&&this.header.receiveProps({resources:t,dates:o.dayTable.headerDates,dateProfile:r.dateProfile,datesRepDistinctDays:!0,renderIntroHtml:this.renderHeadIntroHtml}),this.resourceDayGrid.receiveProps({dateProfile:r.dateProfile,resourceDayTable:o,businessHours:r.businessHours,eventStore:r.eventStore,eventUiBases:r.eventUiBases,dateSelection:r.dateSelection,eventSelection:r.eventSelection,eventDrag:r.eventDrag,eventResize:r.eventResize,isRigid:this.hasRigidRows(),nextDayThreshold:this.nextDayThreshold})},o.needsResourceData=!0,o}(o.AbstractDayGridView),p=r.createPlugin({deps:[s,n],defaultView:"resourceDayGridDay",views:{resourceDayGrid:y,resourceDayGridDay:{type:"resourceDayGrid",duration:{days:1}},resourceDayGridWeek:{type:"resourceDayGrid",duration:{weeks:1}},resourceDayGridMonth:{type:"resourceDayGrid",duration:{months:1},monthMode:!0,fixedWeekCount:!0}}});e.ResourceDayGridView=y,e["default"]=p,e.ResourceDayGrid=d,Object.defineProperty(e,"__esModule",{value:!0})}); | ||
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@fullcalendar/core"),require("@fullcalendar/resource-common"),require("@fullcalendar/daygrid")):"function"==typeof define&&define.amd?define(["exports","@fullcalendar/core","@fullcalendar/resource-common","@fullcalendar/daygrid"],r):(e=e||self,r(e.FullCalendarResourceDayGrid={},e.FullCalendar,e.FullCalendarResourceCommon,e.FullCalendarDayGrid))}(this,function(e,r,t,o){"use strict";function i(e,r){function t(){this.constructor=e}l(e,r),e.prototype=null===r?Object.create(r):(t.prototype=r.prototype,new t)}function a(e,r,i,a){var s=o.buildBasicDayTable(e,r);return a?new t.DayResourceTable(s,i):new t.ResourceDayTable(s,i)}var s="default"in t?t["default"]:t,n="default"in o?o["default"]:o,l=function(e,r){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var t in r)r.hasOwnProperty(t)&&(e[t]=r[t])})(e,r)},c=function(){return c=Object.assign||function(e){for(var r,t=1,o=arguments.length;t<o;t++){r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},c.apply(this,arguments)},d=function(e){function a(r,o){var i=e.call(this,r,o.el)||this;return i.splitter=new t.VResourceSplitter,i.slicers={},i.joiner=new u,i.dayGrid=o,r.calendar.registerInteractiveComponent(i,{el:i.dayGrid.el}),i}return i(a,e),a.prototype.destroy=function(){e.prototype.destroy.call(this),this.calendar.unregisterInteractiveComponent(this)},a.prototype.render=function(e){var t=this,i=this.dayGrid,a=e.dateProfile,s=e.resourceDayTable,n=e.nextDayThreshold,l=this.splitter.splitProps(e);this.slicers=r.mapHash(l,function(e,r){return t.slicers[r]||new o.DayGridSlicer});var d=r.mapHash(this.slicers,function(e,r){return e.sliceProps(l[r],a,n,i,s.dayTable)});i.allowAcrossResources=1===s.dayTable.colCnt,i.receiveProps(c({},this.joiner.joinProps(d,s),{dateProfile:a,cells:s.cells,isRigid:e.isRigid}))},a.prototype.buildPositionCaches=function(){this.dayGrid.buildPositionCaches()},a.prototype.queryHit=function(e,r){var t=this.dayGrid.positionToHit(e,r);if(t)return{component:this.dayGrid,dateSpan:{range:t.dateSpan.range,allDay:t.dateSpan.allDay,resourceId:this.props.resourceDayTable.cells[t.row][t.col].resource.id},dayEl:t.dayEl,rect:{left:t.relativeRect.left,right:t.relativeRect.right,top:t.relativeRect.top,bottom:t.relativeRect.bottom},layer:0}},a}(r.DateComponent),u=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return i(r,e),r.prototype.transformSeg=function(e,r,t){var o=r.computeColRanges(e.firstCol,e.lastCol,t);return o.map(function(r){return c({},e,r,{isStart:e.isStart&&r.isStart,isEnd:e.isEnd&&r.isEnd})})},r}(t.VResourceJoiner),y=function(e){function o(o,i,s,n){var l=e.call(this,o,i,s,n)||this;return l.flattenResources=r.memoize(t.flattenResources),l.buildResourceDayTable=r.memoize(a),l.resourceOrderSpecs=r.parseFieldSpecs(l.opt("resourceOrder")),l.opt("columnHeader")&&(l.header=new t.ResourceDayHeader(l.context,l.el.querySelector(".fc-head-container"))),l.resourceDayGrid=new d(o,l.dayGrid),l}return i(o,e),o.prototype.destroy=function(){e.prototype.destroy.call(this),this.header&&this.header.destroy(),this.resourceDayGrid.destroy()},o.prototype.render=function(r){e.prototype.render.call(this,r);var t=this.flattenResources(r.resourceStore,this.resourceOrderSpecs),o=this.buildResourceDayTable(this.props.dateProfile,this.dateProfileGenerator,t,this.opt("datesAboveResources"));this.header&&this.header.receiveProps({resources:t,dates:o.dayTable.headerDates,dateProfile:r.dateProfile,datesRepDistinctDays:!0,renderIntroHtml:this.renderHeadIntroHtml}),this.resourceDayGrid.receiveProps({dateProfile:r.dateProfile,resourceDayTable:o,businessHours:r.businessHours,eventStore:r.eventStore,eventUiBases:r.eventUiBases,dateSelection:r.dateSelection,eventSelection:r.eventSelection,eventDrag:r.eventDrag,eventResize:r.eventResize,isRigid:this.hasRigidRows(),nextDayThreshold:this.nextDayThreshold})},o.needsResourceData=!0,o}(o.AbstractDayGridView),p=r.createPlugin({deps:[s,n],defaultView:"resourceDayGridDay",views:{resourceDayGrid:y,resourceDayGridDay:{type:"resourceDayGrid",duration:{days:1}},resourceDayGridWeek:{type:"resourceDayGrid",duration:{weeks:1}},resourceDayGridMonth:{type:"resourceDayGrid",duration:{months:1},monthMode:!0,fixedWeekCount:!0}}});e.ResourceDayGrid=d,e.ResourceDayGridView=y,e["default"]=p,Object.defineProperty(e,"__esModule",{value:!0})}); |
{ | ||
"name": "@fullcalendar/resource-daygrid", | ||
"title": "FullCalendar Resource Day Grid Plugin", | ||
"description": "A premium add-on to FullCalendar for displaying events and resources", | ||
"homepage": "https://fullcalendar.io/scheduler/", | ||
"description": "Displays events in individual columns for days and resources", | ||
"homepage": "https://fullcalendar.io/scheduler", | ||
"docs": "https://fullcalendar.io/docs/resource-daygrid-view", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/fullcalendar/fullcalendar-scheduler.git" | ||
"url": "https://github.com/fullcalendar/fullcalendar-scheduler.git", | ||
"homepage": "https://github.com/fullcalendar/fullcalendar-scheduler" | ||
}, | ||
"license": "SEE LICENSE IN LICENSE.md", | ||
"author": { | ||
"name": "Adam Shaw", | ||
"email": "arshaw@arshaw.com", | ||
"url": "http://arshaw.com/" | ||
}, | ||
"copyright": "2019 Adam Shaw", | ||
"version": "4.0.1", | ||
"releaseDate": "2019-03-18", | ||
"version": "4.1.0", | ||
"releaseDate": "2019-04-24", | ||
"dependencies": { | ||
"@fullcalendar/resource-common": "^4.0.1", | ||
"@fullcalendar/daygrid": "^4.0.1" | ||
"@fullcalendar/resource-common": "~4.1.0", | ||
"@fullcalendar/daygrid": "~4.1.0" | ||
}, | ||
"peerDependencies": { | ||
"@fullcalendar/core": "^4.0.1" | ||
"@fullcalendar/core": "~4.1.0" | ||
}, | ||
@@ -21,0 +28,0 @@ "main": "main.js", |
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
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
19698
6
259
1
0
9
+ Added@fullcalendar/core@4.1.0(transitive)
+ Added@fullcalendar/daygrid@4.1.0(transitive)
+ Added@fullcalendar/resource-common@4.1.0(transitive)
- Removed@fullcalendar/core@4.4.2(transitive)
- Removed@fullcalendar/daygrid@4.4.2(transitive)
- Removed@fullcalendar/resource-common@4.4.2(transitive)
Updated@fullcalendar/daygrid@~4.1.0