@fullcalendar/resource-timegrid 7.0.0-beta.5 → 7.0.0-beta.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/index.cjs +1 -1
- package/esm/index.js +1 -1
- package/global.js +2 -2
- package/global.min.js +2 -2
- package/package.json +7 -7
package/cjs/index.cjs
CHANGED
|
@@ -24,7 +24,7 @@ var resourceDayGridPlugin__default = /*#__PURE__*/_interopDefaultLegacy(resource
|
|
|
24
24
|
|
|
25
25
|
var index = core.createPlugin({
|
|
26
26
|
name: '@fullcalendar/resource-timegrid',
|
|
27
|
-
premiumReleaseDate: '2025-12-
|
|
27
|
+
premiumReleaseDate: '2025-12-31',
|
|
28
28
|
deps: [
|
|
29
29
|
premiumCommonPlugin__default["default"],
|
|
30
30
|
timeGridPlugin__default["default"],
|
package/esm/index.js
CHANGED
package/global.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
FullCalendar Resource Time Grid Plugin v7.0.0-beta.
|
|
2
|
+
FullCalendar Resource Time Grid Plugin v7.0.0-beta.6
|
|
3
3
|
Docs & License: https://fullcalendar.io/docs/vertical-resource-view
|
|
4
4
|
(c) 2025 Adam Shaw
|
|
5
5
|
*/
|
|
@@ -137,7 +137,7 @@ FullCalendar.ResourceTimeGrid = (function (exports, core, premiumCommonPlugin, t
|
|
|
137
137
|
|
|
138
138
|
var plugin = core.createPlugin({
|
|
139
139
|
name: '@fullcalendar/resource-timegrid',
|
|
140
|
-
premiumReleaseDate: '2025-12-
|
|
140
|
+
premiumReleaseDate: '2025-12-31',
|
|
141
141
|
deps: [
|
|
142
142
|
premiumCommonPlugin__default["default"],
|
|
143
143
|
timeGridPlugin__default["default"],
|
package/global.min.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
FullCalendar Resource Time Grid Plugin v7.0.0-beta.
|
|
2
|
+
FullCalendar Resource Time Grid Plugin v7.0.0-beta.6
|
|
3
3
|
Docs & License: https://fullcalendar.io/docs/vertical-resource-view
|
|
4
4
|
(c) 2025 Adam Shaw
|
|
5
5
|
*/
|
|
6
|
-
FullCalendar.ResourceTimeGrid=function(e,t,s,i,l,r,o,a,n,d,u,c){"use strict";function m(e){return e&&e.__esModule?e:{default:e}}var g=m(s),S=m(i),y=m(l),R=m(r);class h extends u.VResourceJoiner{transformSeg(e,t,s){return[Object.assign(Object.assign({},e),{col:t.computeCol(e.col,s)})]}}class p extends o.DateComponent{constructor(){super(...arguments),this.flattenResources=o.memoize(u.flattenResources),this.buildResourceTimeColsModel=o.memoize(D),this.buildResourceRowConfigs=o.memoize(d.buildResourceRowConfigs),this.createDayHeaderFormatter=o.memoize(n.createDayHeaderFormatter),this.allDaySplitter=new c.AllDaySplitter,this.allDayResourceSplitter=new u.VResourceSplitter,this.allDayResourceSlicers={},this.allDayResourceJoiner=new d.ResourceDayTableJoiner,this.buildDayRanges=o.memoize(c.buildDayRanges),this.timedResourceSplitter=new u.VResourceSplitter,this.timedResourceSlicers={},this.timedResourceJoiner=new h,this.splitFgEventSegs=o.memoize(c.organizeSegsByCol),this.splitBgEventSegs=o.memoize(c.organizeSegsByCol),this.splitBusinessHourSegs=o.memoize(c.organizeSegsByCol),this.splitNowIndicatorSegs=o.memoize(c.organizeSegsByCol),this.splitDateSelectionSegs=o.memoize(c.organizeSegsByCol),this.splitEventDrag=o.memoize(c.splitInteractionByCol),this.splitEventResize=o.memoize(c.splitInteractionByCol),this.isHitComboAllowed=(e,t)=>1===this.dayRanges.length||e.dateSpan.resourceId===t.dateSpan.resourceId}render(){let{props:e,context:t}=this,{options:s,dateEnv:i}=t,{dateProfile:l}=e,r=s.resourceOrder||u.DEFAULT_RESOURCE_ORDER,d=this.flattenResources(e.resourceStore,r),m=this.buildResourceTimeColsModel(l,t.dateProfileGenerator,d,s.datesAboveResources,t),g=this.allDaySplitter.splitProps(e),S=this.allDayResourceSplitter.splitProps({businessHours:g.allDay.businessHours,dateSelection:g.allDay.dateSelection,eventStore:g.allDay.eventStore,eventUiBases:g.allDay.eventUiBases,eventSelection:g.allDay.eventSelection,eventDrag:g.allDay.eventDrag,eventResize:g.allDay.eventResize,resourceDayTableModel:m});this.allDayResourceSlicers=o.mapHash(S,(e,t)=>this.allDayResourceSlicers[t]||new n.DayTableSlicer);let y=o.mapHash(this.allDayResourceSlicers,(e,i)=>e.sliceProps(S[i],l,s.nextDayThreshold,t,m.dayTableModel)),R=this.allDayResourceJoiner.joinProps(y,m),h=this.dayRanges=this.buildDayRanges(m.dayTableModel,l,i),p=this.timedResourceSplitter.splitProps({businessHours:g.timed.businessHours,dateSelection:g.timed.dateSelection,eventStore:g.timed.eventStore,eventUiBases:g.timed.eventUiBases,eventSelection:g.timed.eventSelection,eventDrag:g.timed.eventDrag,eventResize:g.timed.eventResize,resourceDayTableModel:m});this.timedResourceSlicers=o.mapHash(p,(e,t)=>this.timedResourceSlicers[t]||new c.DayTimeColsSlicer);let D=o.mapHash(this.timedResourceSlicers,(e,s)=>e.sliceProps(p[s],l,null,t,h)),v=this.timedResourceJoiner.joinProps(D,m),b=1===m.dayTableModel.rowCount,C=this.createDayHeaderFormatter(t.options.dayHeaderFormat,b,m.colCount);return a.createElement(o.NowTimer,{unit:s.nowIndicator?"minute":"day"},(i,r)=>{let o=m.colCount,n=this.splitFgEventSegs(v.fgEventSegs,o),u=this.splitBgEventSegs(v.bgEventSegs,o),S=this.splitBusinessHourSegs(v.businessHourSegs,o),y=this.splitNowIndicatorSegs((()=>{let e=s.nowIndicator?this.timedResourceSlicers[""].sliceNowDate(i,this.props.dateProfile,this.context.options.nextDayThreshold,this.context,this.dayRanges):[];return this.timedResourceJoiner.expandSegs(m,e)})(),o),h=this.splitDateSelectionSegs(v.dateSelectionSegs,o),p=this.splitEventDrag(v.eventDrag,o),D=this.splitEventResize(v.eventResize,o);const f=this.buildResourceRowConfigs(d,s.datesAboveResources,m.dayTableModel.headerDates,b,e.dateProfile,r,C,t);return a.createElement(c.TimeGridLayout,{labelId:e.labelId,labelStr:e.labelStr,dateProfile:l,nowDate:i,todayRange:r,cells:m.cells[0],forPrint:e.forPrint,isHitComboAllowed:this.isHitComboAllowed,className:e.className,headerTiers:f,fgEventSegs:R.fgEventSegs,bgEventSegs:R.bgEventSegs,businessHourSegs:R.businessHourSegs,dateSelectionSegs:R.dateSelectionSegs,eventDrag:R.eventDrag,eventResize:R.eventResize,fgEventSegsByCol:n,bgEventSegsByCol:u,businessHourSegsByCol:S,nowIndicatorSegsByCol:y,dateSelectionSegsByCol:h,eventDragByCol:p,eventResizeByCol:D,eventSelection:R.eventSelection||g.timed.eventSelection,borderlessX:e.borderlessX,borderlessTop:e.borderlessTop,borderlessBottom:e.borderlessBottom,noEdgeEffects:e.noEdgeEffects})})}}function D(e,t,s,i,l){let r=c.buildTimeColsModel(e,t,l.dateEnv);return s.length?i?new u.DayResourceTableModel(r,s,l):new u.ResourceDayTableModel(r,s,l):new u.ResourcelessDayTableModel(r)}var v=t.createPlugin({name:"@fullcalendar/resource-timegrid",premiumReleaseDate:"2025-12-
|
|
6
|
+
FullCalendar.ResourceTimeGrid=function(e,t,s,i,l,r,o,a,n,d,u,c){"use strict";function m(e){return e&&e.__esModule?e:{default:e}}var g=m(s),S=m(i),y=m(l),R=m(r);class h extends u.VResourceJoiner{transformSeg(e,t,s){return[Object.assign(Object.assign({},e),{col:t.computeCol(e.col,s)})]}}class p extends o.DateComponent{constructor(){super(...arguments),this.flattenResources=o.memoize(u.flattenResources),this.buildResourceTimeColsModel=o.memoize(D),this.buildResourceRowConfigs=o.memoize(d.buildResourceRowConfigs),this.createDayHeaderFormatter=o.memoize(n.createDayHeaderFormatter),this.allDaySplitter=new c.AllDaySplitter,this.allDayResourceSplitter=new u.VResourceSplitter,this.allDayResourceSlicers={},this.allDayResourceJoiner=new d.ResourceDayTableJoiner,this.buildDayRanges=o.memoize(c.buildDayRanges),this.timedResourceSplitter=new u.VResourceSplitter,this.timedResourceSlicers={},this.timedResourceJoiner=new h,this.splitFgEventSegs=o.memoize(c.organizeSegsByCol),this.splitBgEventSegs=o.memoize(c.organizeSegsByCol),this.splitBusinessHourSegs=o.memoize(c.organizeSegsByCol),this.splitNowIndicatorSegs=o.memoize(c.organizeSegsByCol),this.splitDateSelectionSegs=o.memoize(c.organizeSegsByCol),this.splitEventDrag=o.memoize(c.splitInteractionByCol),this.splitEventResize=o.memoize(c.splitInteractionByCol),this.isHitComboAllowed=(e,t)=>1===this.dayRanges.length||e.dateSpan.resourceId===t.dateSpan.resourceId}render(){let{props:e,context:t}=this,{options:s,dateEnv:i}=t,{dateProfile:l}=e,r=s.resourceOrder||u.DEFAULT_RESOURCE_ORDER,d=this.flattenResources(e.resourceStore,r),m=this.buildResourceTimeColsModel(l,t.dateProfileGenerator,d,s.datesAboveResources,t),g=this.allDaySplitter.splitProps(e),S=this.allDayResourceSplitter.splitProps({businessHours:g.allDay.businessHours,dateSelection:g.allDay.dateSelection,eventStore:g.allDay.eventStore,eventUiBases:g.allDay.eventUiBases,eventSelection:g.allDay.eventSelection,eventDrag:g.allDay.eventDrag,eventResize:g.allDay.eventResize,resourceDayTableModel:m});this.allDayResourceSlicers=o.mapHash(S,(e,t)=>this.allDayResourceSlicers[t]||new n.DayTableSlicer);let y=o.mapHash(this.allDayResourceSlicers,(e,i)=>e.sliceProps(S[i],l,s.nextDayThreshold,t,m.dayTableModel)),R=this.allDayResourceJoiner.joinProps(y,m),h=this.dayRanges=this.buildDayRanges(m.dayTableModel,l,i),p=this.timedResourceSplitter.splitProps({businessHours:g.timed.businessHours,dateSelection:g.timed.dateSelection,eventStore:g.timed.eventStore,eventUiBases:g.timed.eventUiBases,eventSelection:g.timed.eventSelection,eventDrag:g.timed.eventDrag,eventResize:g.timed.eventResize,resourceDayTableModel:m});this.timedResourceSlicers=o.mapHash(p,(e,t)=>this.timedResourceSlicers[t]||new c.DayTimeColsSlicer);let D=o.mapHash(this.timedResourceSlicers,(e,s)=>e.sliceProps(p[s],l,null,t,h)),v=this.timedResourceJoiner.joinProps(D,m),b=1===m.dayTableModel.rowCount,C=this.createDayHeaderFormatter(t.options.dayHeaderFormat,b,m.colCount);return a.createElement(o.NowTimer,{unit:s.nowIndicator?"minute":"day"},(i,r)=>{let o=m.colCount,n=this.splitFgEventSegs(v.fgEventSegs,o),u=this.splitBgEventSegs(v.bgEventSegs,o),S=this.splitBusinessHourSegs(v.businessHourSegs,o),y=this.splitNowIndicatorSegs((()=>{let e=s.nowIndicator?this.timedResourceSlicers[""].sliceNowDate(i,this.props.dateProfile,this.context.options.nextDayThreshold,this.context,this.dayRanges):[];return this.timedResourceJoiner.expandSegs(m,e)})(),o),h=this.splitDateSelectionSegs(v.dateSelectionSegs,o),p=this.splitEventDrag(v.eventDrag,o),D=this.splitEventResize(v.eventResize,o);const f=this.buildResourceRowConfigs(d,s.datesAboveResources,m.dayTableModel.headerDates,b,e.dateProfile,r,C,t);return a.createElement(c.TimeGridLayout,{labelId:e.labelId,labelStr:e.labelStr,dateProfile:l,nowDate:i,todayRange:r,cells:m.cells[0],forPrint:e.forPrint,isHitComboAllowed:this.isHitComboAllowed,className:e.className,headerTiers:f,fgEventSegs:R.fgEventSegs,bgEventSegs:R.bgEventSegs,businessHourSegs:R.businessHourSegs,dateSelectionSegs:R.dateSelectionSegs,eventDrag:R.eventDrag,eventResize:R.eventResize,fgEventSegsByCol:n,bgEventSegsByCol:u,businessHourSegsByCol:S,nowIndicatorSegsByCol:y,dateSelectionSegsByCol:h,eventDragByCol:p,eventResizeByCol:D,eventSelection:R.eventSelection||g.timed.eventSelection,borderlessX:e.borderlessX,borderlessTop:e.borderlessTop,borderlessBottom:e.borderlessBottom,noEdgeEffects:e.noEdgeEffects})})}}function D(e,t,s,i,l){let r=c.buildTimeColsModel(e,t,l.dateEnv);return s.length?i?new u.DayResourceTableModel(r,s,l):new u.ResourceDayTableModel(r,s,l):new u.ResourcelessDayTableModel(r)}var v=t.createPlugin({name:"@fullcalendar/resource-timegrid",premiumReleaseDate:"2025-12-31",deps:[g.default,S.default,y.default,R.default],initialView:"resourceTimeGridDay",views:{resourceTimeGrid:{type:"timeGrid",component:p,needsResourceData:!0},resourceTimeGridDay:{type:"resourceTimeGrid",duration:{days:1}},resourceTimeGridWeek:{type:"resourceTimeGrid",duration:{weeks:1}}}}),b={__proto__:null,ResourceTimeGridView:p};return t.globalPlugins.push(v),e.Internal=b,e.default=v,Object.defineProperty(e,"__esModule",{value:!0}),e}({},FullCalendar,FullCalendar.PremiumCommon,FullCalendar.TimeGrid,FullCalendar.Resource,FullCalendar.ResourceDayGrid,FullCalendar.Internal,FullCalendar.Preact,FullCalendar.DayGrid.Internal,FullCalendar.ResourceDayGrid.Internal,FullCalendar.Resource.Internal,FullCalendar.TimeGrid.Internal);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fullcalendar/resource-timegrid",
|
|
3
|
-
"version": "7.0.0-beta.
|
|
3
|
+
"version": "7.0.0-beta.6",
|
|
4
4
|
"title": "FullCalendar Resource Time Grid Plugin",
|
|
5
5
|
"description": "Displays events on a vertical resource view with time slots",
|
|
6
6
|
"keywords": [
|
|
@@ -15,14 +15,14 @@
|
|
|
15
15
|
],
|
|
16
16
|
"homepage": "https://fullcalendar.io/docs/vertical-resource-view",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@fullcalendar/daygrid": "7.0.0-beta.
|
|
19
|
-
"@fullcalendar/premium-common": "7.0.0-beta.
|
|
20
|
-
"@fullcalendar/resource-daygrid": "7.0.0-beta.
|
|
21
|
-
"@fullcalendar/timegrid": "7.0.0-beta.
|
|
18
|
+
"@fullcalendar/daygrid": "7.0.0-beta.6",
|
|
19
|
+
"@fullcalendar/premium-common": "7.0.0-beta.6",
|
|
20
|
+
"@fullcalendar/resource-daygrid": "7.0.0-beta.6",
|
|
21
|
+
"@fullcalendar/timegrid": "7.0.0-beta.6"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
|
-
"@fullcalendar/core": "7.0.0-beta.
|
|
25
|
-
"@fullcalendar/resource": "7.0.0-beta.
|
|
24
|
+
"@fullcalendar/core": "7.0.0-beta.6",
|
|
25
|
+
"@fullcalendar/resource": "7.0.0-beta.6"
|
|
26
26
|
},
|
|
27
27
|
"type": "module",
|
|
28
28
|
"bugs": "https://fullcalendar.io/reporting-bugs",
|