Socket
Socket
Sign inDemoInstall

@fullcalendar/resource-daygrid

Package Overview
Dependencies
Maintainers
1
Versions
59
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-beta.2 to 6.0.0-beta.3

4

index.global.js
/*!
FullCalendar Resource Day Grid Plugin v6.0.0-beta.2
FullCalendar Resource Day Grid Plugin v6.0.0-beta.3
Docs & License: https://fullcalendar.io/premium

@@ -74,3 +74,3 @@ (c) 2022 Adam Shaw

name: '@fullcalendar/resource-daygrid',
premiumReleaseDate: '2022-11-22',
premiumReleaseDate: '2022-12-02',
deps: [

@@ -77,0 +77,0 @@ premiumCommonPlugin__default["default"],

/*!
FullCalendar Resource Day Grid Plugin v6.0.0-beta.2
FullCalendar Resource Day Grid Plugin v6.0.0-beta.3
Docs & License: https://fullcalendar.io/premium
(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-11-22",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(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-02",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);

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

name: '@fullcalendar/resource-daygrid',
premiumReleaseDate: '2022-11-22',
premiumReleaseDate: '2022-12-02',
deps: [

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

{
"name": "@fullcalendar/resource-daygrid",
"version": "6.0.0-beta.2",
"version": "6.0.0-beta.3",
"keywords": [

@@ -28,8 +28,8 @@ "calendar",

"dependencies": {
"@fullcalendar/daygrid": "6.0.0-beta.2",
"@fullcalendar/premium-common": "6.0.0-beta.2"
"@fullcalendar/daygrid": "6.0.0-beta.3",
"@fullcalendar/premium-common": "6.0.0-beta.3"
},
"peerDependencies": {
"@fullcalendar/core": "6.0.0-beta.2",
"@fullcalendar/resource": "6.0.0-beta.2"
"@fullcalendar/core": "6.0.0-beta.3",
"@fullcalendar/resource": "6.0.0-beta.3"
},

@@ -47,6 +47,5 @@ "type": "module",

".": {
"types": "./index.d.ts",
"require": "./index.cjs",
"import": "./index.js",
"types": "./index.d.ts",
"default": "./index.global.js"
"import": "./index.js"
},

@@ -56,7 +55,8 @@ "./internal.cjs": "./internal.cjs",

"./internal": {
"types": "./internal.d.ts",
"require": "./internal.cjs",
"import": "./internal.js",
"types": "./internal.d.ts"
"import": "./internal.js"
}
}
},
"sideEffects": false
}

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