Socket
Socket
Sign inDemoInstall

@fullcalendar/resource-daygrid

Package Overview
Dependencies
Maintainers
1
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fullcalendar/resource-daygrid - npm Package Compare versions

Comparing version 6.0.0 to 6.0.1

10

index.global.js
/*!
FullCalendar Resource Day Grid Plugin v6.0.0
FullCalendar Resource Day Grid Plugin v6.0.1
Docs & License: https://fullcalendar.io/docs/resource-daygrid-view
(c) 2022 Adam Shaw
*/
FullCalendar.ResourceDayGrid = (function (exports, internal$2, core, premiumCommonPlugin, resourcePlugin, dayGridPlugin, preact, internal$3, internal$1) {
FullCalendar.ResourceDayGrid = (function (exports, core, premiumCommonPlugin, resourcePlugin, dayGridPlugin, internal$2, preact, internal$3, internal$1) {
'use strict';

@@ -74,3 +74,3 @@

name: '@fullcalendar/resource-daygrid',
premiumReleaseDate: '2022-12-14',
premiumReleaseDate: '2022-12-20',
deps: [

@@ -112,3 +112,3 @@ premiumCommonPlugin__default["default"],

internal$2.globalPlugins.push(plugin);
core.globalPlugins.push(plugin);

@@ -122,2 +122,2 @@ exports.Internal = internal;

})({}, FullCalendar.Internal, FullCalendar, FullCalendar.PremiumCommon, FullCalendar.Resource, FullCalendar.DayGrid, FullCalendar.Preact, FullCalendar.DayGrid.Internal, FullCalendar.Resource.Internal);
})({}, FullCalendar, FullCalendar.PremiumCommon, FullCalendar.Resource, FullCalendar.DayGrid, FullCalendar.Internal, FullCalendar.Preact, FullCalendar.DayGrid.Internal, FullCalendar.Resource.Internal);
/*!
FullCalendar Resource Day Grid Plugin v6.0.0
FullCalendar Resource Day Grid Plugin v6.0.1
Docs & License: https://fullcalendar.io/docs/resource-daygrid-view
(c) 2022 Adam Shaw
*/
FullCalendar.ResourceDayGrid=function(e,t,r,a,s,l,o,i,n){"use strict";function d(e){return e&&e.__esModule?e:{default:e}}var u=d(a),c=d(s),h=d(l);class y extends n.VResourceJoiner{transformSeg(e,t,r){return t.computeColRanges(e.firstCol,e.lastCol,r).map(t=>Object.assign(Object.assign(Object.assign({},e),t),{isStart:e.isStart&&t.isStart,isEnd:e.isEnd&&t.isEnd}))}}class R extends t.DateComponent{constructor(){super(...arguments),this.splitter=new n.VResourceSplitter,this.slicers={},this.joiner=new y,this.tableRef=o.createRef(),this.isHitComboAllowed=(e,t)=>1===this.props.resourceDayTableModel.dayTableModel.colCnt||e.dateSpan.resourceId===t.dateSpan.resourceId}render(){let{props:e,context:r}=this,{resourceDayTableModel:a,nextDayThreshold:s,dateProfile:l}=e,n=this.splitter.splitProps(e);this.slicers=t.mapHash(n,(e,t)=>this.slicers[t]||new i.DayTableSlicer);let d=t.mapHash(this.slicers,(e,t)=>e.sliceProps(n[t],l,s,r,a.dayTableModel));return o.createElement(i.Table,Object.assign({forPrint:e.forPrint,ref:this.tableRef},this.joiner.joinProps(d,a),{cells:a.cells,dateProfile:l,colGroupNode:e.colGroupNode,tableMinWidth:e.tableMinWidth,renderRowIntro:e.renderRowIntro,dayMaxEvents:e.dayMaxEvents,dayMaxEventRows:e.dayMaxEventRows,showWeekNumbers:e.showWeekNumbers,expandRows:e.expandRows,headerAlignElRef:e.headerAlignElRef,clientWidth:e.clientWidth,clientHeight:e.clientHeight,isHitComboAllowed:this.isHitComboAllowed}))}}class b extends i.TableView{constructor(){super(...arguments),this.flattenResources=t.memoize(n.flattenResources),this.buildResourceDayTableModel=t.memoize(f),this.headerRef=o.createRef(),this.tableRef=o.createRef()}render(){let{props:e,context:t}=this,{options:r}=t,a=r.resourceOrder||n.DEFAULT_RESOURCE_ORDER,s=this.flattenResources(e.resourceStore,a),l=this.buildResourceDayTableModel(e.dateProfile,t.dateProfileGenerator,s,r.datesAboveResources,t),i=r.dayHeaders&&o.createElement(n.ResourceDayHeader,{ref:this.headerRef,resources:s,dateProfile:e.dateProfile,dates:l.dayTableModel.headerDates,datesRepDistinctDays:!0}),d=t=>o.createElement(R,{ref:this.tableRef,dateProfile:e.dateProfile,resourceDayTableModel:l,businessHours:e.businessHours,eventStore:e.eventStore,eventUiBases:e.eventUiBases,dateSelection:e.dateSelection,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,nextDayThreshold:r.nextDayThreshold,tableMinWidth:t.tableMinWidth,colGroupNode:t.tableColGroupNode,dayMaxEvents:r.dayMaxEvents,dayMaxEventRows:r.dayMaxEventRows,showWeekNumbers:r.weekNumbers,expandRows:!e.isHeightAuto,headerAlignElRef:this.headerElRef,clientWidth:t.clientWidth,clientHeight:t.clientHeight,forPrint:e.forPrint});return r.dayMinWidth?this.renderHScrollLayout(i,d,l.colCnt,r.dayMinWidth):this.renderSimpleLayout(i,d)}}function f(e,t,r,a,s){let l=i.buildDayTableModel(e,t);return a?new n.DayResourceTableModel(l,r,s):new n.ResourceDayTableModel(l,r,s)}var p=r.createPlugin({name:"@fullcalendar/resource-daygrid",premiumReleaseDate:"2022-12-14",deps:[u.default,c.default,h.default],initialView:"resourceDayGridDay",views:{resourceDayGrid:{type:"dayGrid",component:b,needsResourceData:!0},resourceDayGridDay:{type:"resourceDayGrid",duration:{days:1}},resourceDayGridWeek:{type:"resourceDayGrid",duration:{weeks:1}},resourceDayGridMonth:{type:"resourceDayGrid",duration:{months:1},monthMode:!0,fixedWeekCount:!0}}}),D={__proto__:null,ResourceDayTableView:b,ResourceDayTable:R};return t.globalPlugins.push(p),e.Internal=D,e.default=p,Object.defineProperty(e,"__esModule",{value:!0}),e}({},FullCalendar.Internal,FullCalendar,FullCalendar.PremiumCommon,FullCalendar.Resource,FullCalendar.DayGrid,FullCalendar.Preact,FullCalendar.DayGrid.Internal,FullCalendar.Resource.Internal);
FullCalendar.ResourceDayGrid=function(e,t,r,a,s,l,o,i,n){"use strict";function d(e){return e&&e.__esModule?e:{default:e}}var u=d(r),c=d(a),h=d(s);class y extends n.VResourceJoiner{transformSeg(e,t,r){return t.computeColRanges(e.firstCol,e.lastCol,r).map(t=>Object.assign(Object.assign(Object.assign({},e),t),{isStart:e.isStart&&t.isStart,isEnd:e.isEnd&&t.isEnd}))}}class R extends l.DateComponent{constructor(){super(...arguments),this.splitter=new n.VResourceSplitter,this.slicers={},this.joiner=new y,this.tableRef=o.createRef(),this.isHitComboAllowed=(e,t)=>1===this.props.resourceDayTableModel.dayTableModel.colCnt||e.dateSpan.resourceId===t.dateSpan.resourceId}render(){let{props:e,context:t}=this,{resourceDayTableModel:r,nextDayThreshold:a,dateProfile:s}=e,n=this.splitter.splitProps(e);this.slicers=l.mapHash(n,(e,t)=>this.slicers[t]||new i.DayTableSlicer);let d=l.mapHash(this.slicers,(e,l)=>e.sliceProps(n[l],s,a,t,r.dayTableModel));return o.createElement(i.Table,Object.assign({forPrint:e.forPrint,ref:this.tableRef},this.joiner.joinProps(d,r),{cells:r.cells,dateProfile:s,colGroupNode:e.colGroupNode,tableMinWidth:e.tableMinWidth,renderRowIntro:e.renderRowIntro,dayMaxEvents:e.dayMaxEvents,dayMaxEventRows:e.dayMaxEventRows,showWeekNumbers:e.showWeekNumbers,expandRows:e.expandRows,headerAlignElRef:e.headerAlignElRef,clientWidth:e.clientWidth,clientHeight:e.clientHeight,isHitComboAllowed:this.isHitComboAllowed}))}}class b extends i.TableView{constructor(){super(...arguments),this.flattenResources=l.memoize(n.flattenResources),this.buildResourceDayTableModel=l.memoize(f),this.headerRef=o.createRef(),this.tableRef=o.createRef()}render(){let{props:e,context:t}=this,{options:r}=t,a=r.resourceOrder||n.DEFAULT_RESOURCE_ORDER,s=this.flattenResources(e.resourceStore,a),l=this.buildResourceDayTableModel(e.dateProfile,t.dateProfileGenerator,s,r.datesAboveResources,t),i=r.dayHeaders&&o.createElement(n.ResourceDayHeader,{ref:this.headerRef,resources:s,dateProfile:e.dateProfile,dates:l.dayTableModel.headerDates,datesRepDistinctDays:!0}),d=t=>o.createElement(R,{ref:this.tableRef,dateProfile:e.dateProfile,resourceDayTableModel:l,businessHours:e.businessHours,eventStore:e.eventStore,eventUiBases:e.eventUiBases,dateSelection:e.dateSelection,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,nextDayThreshold:r.nextDayThreshold,tableMinWidth:t.tableMinWidth,colGroupNode:t.tableColGroupNode,dayMaxEvents:r.dayMaxEvents,dayMaxEventRows:r.dayMaxEventRows,showWeekNumbers:r.weekNumbers,expandRows:!e.isHeightAuto,headerAlignElRef:this.headerElRef,clientWidth:t.clientWidth,clientHeight:t.clientHeight,forPrint:e.forPrint});return r.dayMinWidth?this.renderHScrollLayout(i,d,l.colCnt,r.dayMinWidth):this.renderSimpleLayout(i,d)}}function f(e,t,r,a,s){let l=i.buildDayTableModel(e,t);return a?new n.DayResourceTableModel(l,r,s):new n.ResourceDayTableModel(l,r,s)}var p=t.createPlugin({name:"@fullcalendar/resource-daygrid",premiumReleaseDate:"2022-12-20",deps:[u.default,c.default,h.default],initialView:"resourceDayGridDay",views:{resourceDayGrid:{type:"dayGrid",component:b,needsResourceData:!0},resourceDayGridDay:{type:"resourceDayGrid",duration:{days:1}},resourceDayGridWeek:{type:"resourceDayGrid",duration:{weeks:1}},resourceDayGridMonth:{type:"resourceDayGrid",duration:{months:1},monthMode:!0,fixedWeekCount:!0}}}),D={__proto__:null,ResourceDayTableView:b,ResourceDayTable:R};return t.globalPlugins.push(p),e.Internal=D,e.default=p,Object.defineProperty(e,"__esModule",{value:!0}),e}({},FullCalendar,FullCalendar.PremiumCommon,FullCalendar.Resource,FullCalendar.DayGrid,FullCalendar.Internal,FullCalendar.Preact,FullCalendar.DayGrid.Internal,FullCalendar.Resource.Internal);

@@ -13,3 +13,3 @@ import { createPlugin } from '@fullcalendar/core/index.js';

name: '@fullcalendar/resource-daygrid',
premiumReleaseDate: '2022-12-14',
premiumReleaseDate: '2022-12-20',
deps: [

@@ -16,0 +16,0 @@ premiumCommonPlugin,

@@ -5,3 +5,3 @@

FullCalendar Scheduler is tri-licensed, meaning you must choose
FullCalendar Premium is tri-licensed, meaning you must choose
one of three licenses to use. Here is a summary of those licenses:

@@ -8,0 +8,0 @@

{
"name": "@fullcalendar/resource-daygrid",
"version": "6.0.0",
"version": "6.0.1",
"title": "FullCalendar Resource Day Grid Plugin",

@@ -12,2 +12,4 @@ "description": "Display events on day/resource columns",

"scheduler",
"resource",
"scheduler",
"resource"

@@ -17,8 +19,8 @@ ],

"dependencies": {
"@fullcalendar/daygrid": "~6.0.0",
"@fullcalendar/daygrid": "~6.0.1",
"@fullcalendar/premium-common": "~6.0.0"
},
"peerDependencies": {
"@fullcalendar/core": "~6.0.0",
"@fullcalendar/resource": "~6.0.0"
"@fullcalendar/core": "~6.0.1",
"@fullcalendar/resource": "~6.0.1"
},

@@ -25,0 +27,0 @@ "type": "module",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc