fullcalendar 6.1.5 → 6.1.7
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/index.global.js +118 -117
- package/index.global.min.js +2 -2
- package/package.json +7 -7
package/index.global.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
FullCalendar Standard Bundle v6.1.
|
|
2
|
+
FullCalendar Standard Bundle v6.1.7
|
|
3
3
|
Docs & License: https://fullcalendar.io/docs/initialize-globals
|
|
4
4
|
(c) 2023 Adam Shaw
|
|
5
5
|
*/
|
|
@@ -3581,7 +3581,7 @@ var FullCalendar = (function (exports) {
|
|
|
3581
3581
|
let { defs } = eventStore;
|
|
3582
3582
|
let instances = mapHash(eventStore.instances, (instance) => {
|
|
3583
3583
|
let def = defs[instance.defId];
|
|
3584
|
-
if (def.allDay
|
|
3584
|
+
if (def.allDay) {
|
|
3585
3585
|
return instance; // isn't dependent on timezone
|
|
3586
3586
|
}
|
|
3587
3587
|
return Object.assign(Object.assign({}, instance), { range: {
|
|
@@ -9017,6 +9017,7 @@ var FullCalendar = (function (exports) {
|
|
|
9017
9017
|
// hack
|
|
9018
9018
|
state.eventSources = data.eventSources = reduceEventSourcesNewTimeZone(data.eventSources, state.dateProfile, data);
|
|
9019
9019
|
state.eventStore = data.eventStore = rezoneEventStoreDates(data.eventStore, oldData.dateEnv, data.dateEnv);
|
|
9020
|
+
state.renderableEventStore = data.renderableEventStore = rezoneEventStoreDates(data.renderableEventStore, oldData.dateEnv, data.dateEnv);
|
|
9020
9021
|
}
|
|
9021
9022
|
for (let optionName in changeHandlers) {
|
|
9022
9023
|
if (this.optionsForHandling.indexOf(optionName) !== -1 ||
|
|
@@ -9782,7 +9783,7 @@ var FullCalendar = (function (exports) {
|
|
|
9782
9783
|
return sliceEventStore(props.eventStore, props.eventUiBases, props.dateProfile.activeRange, allDay ? props.nextDayThreshold : null).fg;
|
|
9783
9784
|
}
|
|
9784
9785
|
|
|
9785
|
-
const version = '6.1.
|
|
9786
|
+
const version = '6.1.7';
|
|
9786
9787
|
|
|
9787
9788
|
config.touchMouseIgnoreWait = 500;
|
|
9788
9789
|
let ignoreMouseDepth = 0;
|
|
@@ -11879,86 +11880,8 @@ var FullCalendar = (function (exports) {
|
|
|
11879
11880
|
listenerRefiners: LISTENER_REFINERS,
|
|
11880
11881
|
});
|
|
11881
11882
|
|
|
11882
|
-
|
|
11883
|
-
|
|
11884
|
-
// It is a manager for a Table subcomponent, which does most of the heavy lifting.
|
|
11885
|
-
// It is responsible for managing width/height.
|
|
11886
|
-
class TableView extends DateComponent {
|
|
11887
|
-
constructor() {
|
|
11888
|
-
super(...arguments);
|
|
11889
|
-
this.headerElRef = d();
|
|
11890
|
-
}
|
|
11891
|
-
renderSimpleLayout(headerRowContent, bodyContent) {
|
|
11892
|
-
let { props, context } = this;
|
|
11893
|
-
let sections = [];
|
|
11894
|
-
let stickyHeaderDates = getStickyHeaderDates(context.options);
|
|
11895
|
-
if (headerRowContent) {
|
|
11896
|
-
sections.push({
|
|
11897
|
-
type: 'header',
|
|
11898
|
-
key: 'header',
|
|
11899
|
-
isSticky: stickyHeaderDates,
|
|
11900
|
-
chunk: {
|
|
11901
|
-
elRef: this.headerElRef,
|
|
11902
|
-
tableClassName: 'fc-col-header',
|
|
11903
|
-
rowContent: headerRowContent,
|
|
11904
|
-
},
|
|
11905
|
-
});
|
|
11906
|
-
}
|
|
11907
|
-
sections.push({
|
|
11908
|
-
type: 'body',
|
|
11909
|
-
key: 'body',
|
|
11910
|
-
liquid: true,
|
|
11911
|
-
chunk: { content: bodyContent },
|
|
11912
|
-
});
|
|
11913
|
-
return (y(ViewContainer, { elClasses: ['fc-daygrid'], viewSpec: context.viewSpec },
|
|
11914
|
-
y(SimpleScrollGrid, { liquid: !props.isHeightAuto && !props.forPrint, collapsibleWidth: props.forPrint, cols: [] /* TODO: make optional? */, sections: sections })));
|
|
11915
|
-
}
|
|
11916
|
-
renderHScrollLayout(headerRowContent, bodyContent, colCnt, dayMinWidth) {
|
|
11917
|
-
let ScrollGrid = this.context.pluginHooks.scrollGridImpl;
|
|
11918
|
-
if (!ScrollGrid) {
|
|
11919
|
-
throw new Error('No ScrollGrid implementation');
|
|
11920
|
-
}
|
|
11921
|
-
let { props, context } = this;
|
|
11922
|
-
let stickyHeaderDates = !props.forPrint && getStickyHeaderDates(context.options);
|
|
11923
|
-
let stickyFooterScrollbar = !props.forPrint && getStickyFooterScrollbar(context.options);
|
|
11924
|
-
let sections = [];
|
|
11925
|
-
if (headerRowContent) {
|
|
11926
|
-
sections.push({
|
|
11927
|
-
type: 'header',
|
|
11928
|
-
key: 'header',
|
|
11929
|
-
isSticky: stickyHeaderDates,
|
|
11930
|
-
chunks: [{
|
|
11931
|
-
key: 'main',
|
|
11932
|
-
elRef: this.headerElRef,
|
|
11933
|
-
tableClassName: 'fc-col-header',
|
|
11934
|
-
rowContent: headerRowContent,
|
|
11935
|
-
}],
|
|
11936
|
-
});
|
|
11937
|
-
}
|
|
11938
|
-
sections.push({
|
|
11939
|
-
type: 'body',
|
|
11940
|
-
key: 'body',
|
|
11941
|
-
liquid: true,
|
|
11942
|
-
chunks: [{
|
|
11943
|
-
key: 'main',
|
|
11944
|
-
content: bodyContent,
|
|
11945
|
-
}],
|
|
11946
|
-
});
|
|
11947
|
-
if (stickyFooterScrollbar) {
|
|
11948
|
-
sections.push({
|
|
11949
|
-
type: 'footer',
|
|
11950
|
-
key: 'footer',
|
|
11951
|
-
isSticky: true,
|
|
11952
|
-
chunks: [{
|
|
11953
|
-
key: 'main',
|
|
11954
|
-
content: renderScrollShim,
|
|
11955
|
-
}],
|
|
11956
|
-
});
|
|
11957
|
-
}
|
|
11958
|
-
return (y(ViewContainer, { elClasses: ['fc-daygrid'], viewSpec: context.viewSpec },
|
|
11959
|
-
y(ScrollGrid, { liquid: !props.isHeightAuto && !props.forPrint, forPrint: props.forPrint, collapsibleWidth: props.forPrint, colGroups: [{ cols: [{ span: colCnt, minWidth: dayMinWidth }] }], sections: sections })));
|
|
11960
|
-
}
|
|
11961
|
-
}
|
|
11883
|
+
var css_248z$3 = ":root{--fc-daygrid-event-dot-width:8px}.fc-daygrid-day-events:after,.fc-daygrid-day-events:before,.fc-daygrid-day-frame:after,.fc-daygrid-day-frame:before,.fc-daygrid-event-harness:after,.fc-daygrid-event-harness:before{clear:both;content:\"\";display:table}.fc .fc-daygrid-body{position:relative;z-index:1}.fc .fc-daygrid-day.fc-day-today{background-color:var(--fc-today-bg-color)}.fc .fc-daygrid-day-frame{min-height:100%;position:relative}.fc .fc-daygrid-day-top{display:flex;flex-direction:row-reverse}.fc .fc-day-other .fc-daygrid-day-top{opacity:.3}.fc .fc-daygrid-day-number{padding:4px;position:relative;z-index:4}.fc .fc-daygrid-month-start{font-size:1.1em;font-weight:700}.fc .fc-daygrid-day-events{margin-top:1px}.fc .fc-daygrid-body-balanced .fc-daygrid-day-events{left:0;position:absolute;right:0}.fc .fc-daygrid-body-unbalanced .fc-daygrid-day-events{min-height:2em;position:relative}.fc .fc-daygrid-body-natural .fc-daygrid-day-events{margin-bottom:1em}.fc .fc-daygrid-event-harness{position:relative}.fc .fc-daygrid-event-harness-abs{left:0;position:absolute;right:0;top:0}.fc .fc-daygrid-bg-harness{bottom:0;position:absolute;top:0}.fc .fc-daygrid-day-bg .fc-non-business{z-index:1}.fc .fc-daygrid-day-bg .fc-bg-event{z-index:2}.fc .fc-daygrid-day-bg .fc-highlight{z-index:3}.fc .fc-daygrid-event{margin-top:1px;z-index:6}.fc .fc-daygrid-event.fc-event-mirror{z-index:7}.fc .fc-daygrid-day-bottom{font-size:.85em;margin:0 2px}.fc .fc-daygrid-day-bottom:after,.fc .fc-daygrid-day-bottom:before{clear:both;content:\"\";display:table}.fc .fc-daygrid-more-link{border-radius:3px;cursor:pointer;line-height:1;margin-top:1px;max-width:100%;overflow:hidden;padding:2px;position:relative;white-space:nowrap;z-index:4}.fc .fc-daygrid-more-link:hover{background-color:rgba(0,0,0,.1)}.fc .fc-daygrid-week-number{background-color:var(--fc-neutral-bg-color);color:var(--fc-neutral-text-color);min-width:1.5em;padding:2px;position:absolute;text-align:center;top:0;z-index:5}.fc .fc-more-popover .fc-popover-body{min-width:220px;padding:10px}.fc-direction-ltr .fc-daygrid-event.fc-event-start,.fc-direction-rtl .fc-daygrid-event.fc-event-end{margin-left:2px}.fc-direction-ltr .fc-daygrid-event.fc-event-end,.fc-direction-rtl .fc-daygrid-event.fc-event-start{margin-right:2px}.fc-direction-ltr .fc-daygrid-more-link{float:left}.fc-direction-ltr .fc-daygrid-week-number{border-radius:0 0 3px 0;left:0}.fc-direction-rtl .fc-daygrid-more-link{float:right}.fc-direction-rtl .fc-daygrid-week-number{border-radius:0 0 0 3px;right:0}.fc-liquid-hack .fc-daygrid-day-frame{position:static}.fc-daygrid-event{border-radius:3px;font-size:var(--fc-small-font-size);position:relative;white-space:nowrap}.fc-daygrid-block-event .fc-event-time{font-weight:700}.fc-daygrid-block-event .fc-event-time,.fc-daygrid-block-event .fc-event-title{padding:1px}.fc-daygrid-dot-event{align-items:center;display:flex;padding:2px 0}.fc-daygrid-dot-event .fc-event-title{flex-grow:1;flex-shrink:1;font-weight:700;min-width:0;overflow:hidden}.fc-daygrid-dot-event.fc-event-mirror,.fc-daygrid-dot-event:hover{background:rgba(0,0,0,.1)}.fc-daygrid-dot-event.fc-event-selected:before{bottom:-10px;top:-10px}.fc-daygrid-event-dot{border:calc(var(--fc-daygrid-event-dot-width)/2) solid var(--fc-event-border-color);border-radius:calc(var(--fc-daygrid-event-dot-width)/2);box-sizing:content-box;height:0;margin:0 4px;width:0}.fc-direction-ltr .fc-daygrid-event .fc-event-time{margin-right:3px}.fc-direction-rtl .fc-daygrid-event .fc-event-time{margin-left:3px}";
|
|
11884
|
+
injectStyles(css_248z$3);
|
|
11962
11885
|
|
|
11963
11886
|
function splitSegsByRow(segs, rowCnt) {
|
|
11964
11887
|
let byRow = [];
|
|
@@ -12770,30 +12693,6 @@ var FullCalendar = (function (exports) {
|
|
|
12770
12693
|
}
|
|
12771
12694
|
}
|
|
12772
12695
|
|
|
12773
|
-
class DayTableView extends TableView {
|
|
12774
|
-
constructor() {
|
|
12775
|
-
super(...arguments);
|
|
12776
|
-
this.buildDayTableModel = memoize(buildDayTableModel);
|
|
12777
|
-
this.headerRef = d();
|
|
12778
|
-
this.tableRef = d();
|
|
12779
|
-
// can't override any lifecycle methods from parent
|
|
12780
|
-
}
|
|
12781
|
-
render() {
|
|
12782
|
-
let { options, dateProfileGenerator } = this.context;
|
|
12783
|
-
let { props } = this;
|
|
12784
|
-
let dayTableModel = this.buildDayTableModel(props.dateProfile, dateProfileGenerator);
|
|
12785
|
-
let headerContent = options.dayHeaders && (y(DayHeader, { ref: this.headerRef, dateProfile: props.dateProfile, dates: dayTableModel.headerDates, datesRepDistinctDays: dayTableModel.rowCnt === 1 }));
|
|
12786
|
-
let bodyContent = (contentArg) => (y(DayTable, { ref: this.tableRef, dateProfile: props.dateProfile, dayTableModel: dayTableModel, businessHours: props.businessHours, dateSelection: props.dateSelection, eventStore: props.eventStore, eventUiBases: props.eventUiBases, eventSelection: props.eventSelection, eventDrag: props.eventDrag, eventResize: props.eventResize, nextDayThreshold: options.nextDayThreshold, colGroupNode: contentArg.tableColGroupNode, tableMinWidth: contentArg.tableMinWidth, dayMaxEvents: options.dayMaxEvents, dayMaxEventRows: options.dayMaxEventRows, showWeekNumbers: options.weekNumbers, expandRows: !props.isHeightAuto, headerAlignElRef: this.headerElRef, clientWidth: contentArg.clientWidth, clientHeight: contentArg.clientHeight, forPrint: props.forPrint }));
|
|
12787
|
-
return options.dayMinWidth
|
|
12788
|
-
? this.renderHScrollLayout(headerContent, bodyContent, dayTableModel.colCnt, options.dayMinWidth)
|
|
12789
|
-
: this.renderSimpleLayout(headerContent, bodyContent);
|
|
12790
|
-
}
|
|
12791
|
-
}
|
|
12792
|
-
function buildDayTableModel(dateProfile, dateProfileGenerator) {
|
|
12793
|
-
let daySeries = new DaySeriesModel(dateProfile.renderRange, dateProfileGenerator);
|
|
12794
|
-
return new DayTableModel(daySeries, /year|month|week/.test(dateProfile.currentRangeUnit));
|
|
12795
|
-
}
|
|
12796
|
-
|
|
12797
12696
|
class TableDateProfileGenerator extends DateProfileGenerator {
|
|
12798
12697
|
// Computes the date range that will be rendered
|
|
12799
12698
|
buildRenderRange(currentRange, currentRangeUnit, isRangeAllDay) {
|
|
@@ -12832,8 +12731,110 @@ var FullCalendar = (function (exports) {
|
|
|
12832
12731
|
return { start, end };
|
|
12833
12732
|
}
|
|
12834
12733
|
|
|
12835
|
-
|
|
12836
|
-
|
|
12734
|
+
/* An abstract class for the daygrid views, as well as month view. Renders one or more rows of day cells.
|
|
12735
|
+
----------------------------------------------------------------------------------------------------------------------*/
|
|
12736
|
+
// It is a manager for a Table subcomponent, which does most of the heavy lifting.
|
|
12737
|
+
// It is responsible for managing width/height.
|
|
12738
|
+
class TableView extends DateComponent {
|
|
12739
|
+
constructor() {
|
|
12740
|
+
super(...arguments);
|
|
12741
|
+
this.headerElRef = d();
|
|
12742
|
+
}
|
|
12743
|
+
renderSimpleLayout(headerRowContent, bodyContent) {
|
|
12744
|
+
let { props, context } = this;
|
|
12745
|
+
let sections = [];
|
|
12746
|
+
let stickyHeaderDates = getStickyHeaderDates(context.options);
|
|
12747
|
+
if (headerRowContent) {
|
|
12748
|
+
sections.push({
|
|
12749
|
+
type: 'header',
|
|
12750
|
+
key: 'header',
|
|
12751
|
+
isSticky: stickyHeaderDates,
|
|
12752
|
+
chunk: {
|
|
12753
|
+
elRef: this.headerElRef,
|
|
12754
|
+
tableClassName: 'fc-col-header',
|
|
12755
|
+
rowContent: headerRowContent,
|
|
12756
|
+
},
|
|
12757
|
+
});
|
|
12758
|
+
}
|
|
12759
|
+
sections.push({
|
|
12760
|
+
type: 'body',
|
|
12761
|
+
key: 'body',
|
|
12762
|
+
liquid: true,
|
|
12763
|
+
chunk: { content: bodyContent },
|
|
12764
|
+
});
|
|
12765
|
+
return (y(ViewContainer, { elClasses: ['fc-daygrid'], viewSpec: context.viewSpec },
|
|
12766
|
+
y(SimpleScrollGrid, { liquid: !props.isHeightAuto && !props.forPrint, collapsibleWidth: props.forPrint, cols: [] /* TODO: make optional? */, sections: sections })));
|
|
12767
|
+
}
|
|
12768
|
+
renderHScrollLayout(headerRowContent, bodyContent, colCnt, dayMinWidth) {
|
|
12769
|
+
let ScrollGrid = this.context.pluginHooks.scrollGridImpl;
|
|
12770
|
+
if (!ScrollGrid) {
|
|
12771
|
+
throw new Error('No ScrollGrid implementation');
|
|
12772
|
+
}
|
|
12773
|
+
let { props, context } = this;
|
|
12774
|
+
let stickyHeaderDates = !props.forPrint && getStickyHeaderDates(context.options);
|
|
12775
|
+
let stickyFooterScrollbar = !props.forPrint && getStickyFooterScrollbar(context.options);
|
|
12776
|
+
let sections = [];
|
|
12777
|
+
if (headerRowContent) {
|
|
12778
|
+
sections.push({
|
|
12779
|
+
type: 'header',
|
|
12780
|
+
key: 'header',
|
|
12781
|
+
isSticky: stickyHeaderDates,
|
|
12782
|
+
chunks: [{
|
|
12783
|
+
key: 'main',
|
|
12784
|
+
elRef: this.headerElRef,
|
|
12785
|
+
tableClassName: 'fc-col-header',
|
|
12786
|
+
rowContent: headerRowContent,
|
|
12787
|
+
}],
|
|
12788
|
+
});
|
|
12789
|
+
}
|
|
12790
|
+
sections.push({
|
|
12791
|
+
type: 'body',
|
|
12792
|
+
key: 'body',
|
|
12793
|
+
liquid: true,
|
|
12794
|
+
chunks: [{
|
|
12795
|
+
key: 'main',
|
|
12796
|
+
content: bodyContent,
|
|
12797
|
+
}],
|
|
12798
|
+
});
|
|
12799
|
+
if (stickyFooterScrollbar) {
|
|
12800
|
+
sections.push({
|
|
12801
|
+
type: 'footer',
|
|
12802
|
+
key: 'footer',
|
|
12803
|
+
isSticky: true,
|
|
12804
|
+
chunks: [{
|
|
12805
|
+
key: 'main',
|
|
12806
|
+
content: renderScrollShim,
|
|
12807
|
+
}],
|
|
12808
|
+
});
|
|
12809
|
+
}
|
|
12810
|
+
return (y(ViewContainer, { elClasses: ['fc-daygrid'], viewSpec: context.viewSpec },
|
|
12811
|
+
y(ScrollGrid, { liquid: !props.isHeightAuto && !props.forPrint, forPrint: props.forPrint, collapsibleWidth: props.forPrint, colGroups: [{ cols: [{ span: colCnt, minWidth: dayMinWidth }] }], sections: sections })));
|
|
12812
|
+
}
|
|
12813
|
+
}
|
|
12814
|
+
|
|
12815
|
+
class DayTableView extends TableView {
|
|
12816
|
+
constructor() {
|
|
12817
|
+
super(...arguments);
|
|
12818
|
+
this.buildDayTableModel = memoize(buildDayTableModel);
|
|
12819
|
+
this.headerRef = d();
|
|
12820
|
+
this.tableRef = d();
|
|
12821
|
+
// can't override any lifecycle methods from parent
|
|
12822
|
+
}
|
|
12823
|
+
render() {
|
|
12824
|
+
let { options, dateProfileGenerator } = this.context;
|
|
12825
|
+
let { props } = this;
|
|
12826
|
+
let dayTableModel = this.buildDayTableModel(props.dateProfile, dateProfileGenerator);
|
|
12827
|
+
let headerContent = options.dayHeaders && (y(DayHeader, { ref: this.headerRef, dateProfile: props.dateProfile, dates: dayTableModel.headerDates, datesRepDistinctDays: dayTableModel.rowCnt === 1 }));
|
|
12828
|
+
let bodyContent = (contentArg) => (y(DayTable, { ref: this.tableRef, dateProfile: props.dateProfile, dayTableModel: dayTableModel, businessHours: props.businessHours, dateSelection: props.dateSelection, eventStore: props.eventStore, eventUiBases: props.eventUiBases, eventSelection: props.eventSelection, eventDrag: props.eventDrag, eventResize: props.eventResize, nextDayThreshold: options.nextDayThreshold, colGroupNode: contentArg.tableColGroupNode, tableMinWidth: contentArg.tableMinWidth, dayMaxEvents: options.dayMaxEvents, dayMaxEventRows: options.dayMaxEventRows, showWeekNumbers: options.weekNumbers, expandRows: !props.isHeightAuto, headerAlignElRef: this.headerElRef, clientWidth: contentArg.clientWidth, clientHeight: contentArg.clientHeight, forPrint: props.forPrint }));
|
|
12829
|
+
return options.dayMinWidth
|
|
12830
|
+
? this.renderHScrollLayout(headerContent, bodyContent, dayTableModel.colCnt, options.dayMinWidth)
|
|
12831
|
+
: this.renderSimpleLayout(headerContent, bodyContent);
|
|
12832
|
+
}
|
|
12833
|
+
}
|
|
12834
|
+
function buildDayTableModel(dateProfile, dateProfileGenerator) {
|
|
12835
|
+
let daySeries = new DaySeriesModel(dateProfile.renderRange, dateProfileGenerator);
|
|
12836
|
+
return new DayTableModel(daySeries, /year|month|week/.test(dateProfile.currentRangeUnit));
|
|
12837
|
+
}
|
|
12837
12838
|
|
|
12838
12839
|
var index$3 = createPlugin({
|
|
12839
12840
|
name: '@fullcalendar/daygrid',
|
|
@@ -13587,19 +13588,19 @@ var FullCalendar = (function (exports) {
|
|
|
13587
13588
|
this.renderFillSegs(props.bgEventSegs, 'bg-event'),
|
|
13588
13589
|
this.renderFillSegs(props.dateSelectionSegs, 'highlight')),
|
|
13589
13590
|
y("div", { className: "fc-timegrid-col-events" }, this.renderFgSegs(sortedFgSegs, interactionAffectedInstances, false, false, false)),
|
|
13590
|
-
y("div", { className: "fc-timegrid-col-events" }, this.renderFgSegs(mirrorSegs, {}, Boolean(props.eventDrag), Boolean(props.eventResize), Boolean(isSelectMirror))),
|
|
13591
|
+
y("div", { className: "fc-timegrid-col-events" }, this.renderFgSegs(mirrorSegs, {}, Boolean(props.eventDrag), Boolean(props.eventResize), Boolean(isSelectMirror), 'mirror')),
|
|
13591
13592
|
y("div", { className: "fc-timegrid-now-indicator-container" }, this.renderNowIndicator(props.nowIndicatorSegs)),
|
|
13592
13593
|
hasCustomDayCellContent(options) && (y(InnerContent, { elTag: "div", elClasses: ['fc-timegrid-col-misc'] }))))));
|
|
13593
13594
|
}
|
|
13594
|
-
renderFgSegs(sortedFgSegs, segIsInvisible, isDragging, isResizing, isDateSelecting) {
|
|
13595
|
+
renderFgSegs(sortedFgSegs, segIsInvisible, isDragging, isResizing, isDateSelecting, forcedKey) {
|
|
13595
13596
|
let { props } = this;
|
|
13596
13597
|
if (props.forPrint) {
|
|
13597
13598
|
return renderPlainFgSegs(sortedFgSegs, props);
|
|
13598
13599
|
}
|
|
13599
|
-
return this.renderPositionedFgSegs(sortedFgSegs, segIsInvisible, isDragging, isResizing, isDateSelecting);
|
|
13600
|
+
return this.renderPositionedFgSegs(sortedFgSegs, segIsInvisible, isDragging, isResizing, isDateSelecting, forcedKey);
|
|
13600
13601
|
}
|
|
13601
13602
|
renderPositionedFgSegs(segs, // if not mirror, needs to be sorted
|
|
13602
|
-
segIsInvisible, isDragging, isResizing, isDateSelecting) {
|
|
13603
|
+
segIsInvisible, isDragging, isResizing, isDateSelecting, forcedKey) {
|
|
13603
13604
|
let { eventMaxStack, eventShortHeight, eventOrderStrict, eventMinHeight } = this.context.options;
|
|
13604
13605
|
let { date, slatCoords, eventSelection, todayRange, nowDate } = this.props;
|
|
13605
13606
|
let isMirror = isDragging || isResizing || isDateSelecting;
|
|
@@ -13616,7 +13617,7 @@ var FullCalendar = (function (exports) {
|
|
|
13616
13617
|
let isInset = Boolean(rect) && rect.stackForward > 0;
|
|
13617
13618
|
let isShort = Boolean(rect) && (rect.span.end - rect.span.start) < eventShortHeight; // look at other places for this problem
|
|
13618
13619
|
return (y("div", { className: 'fc-timegrid-event-harness' +
|
|
13619
|
-
(isInset ? ' fc-timegrid-event-harness-inset' : ''), key: instanceId, style: Object.assign(Object.assign({ visibility: isVisible ? '' : 'hidden' }, vStyle), hStyle) },
|
|
13620
|
+
(isInset ? ' fc-timegrid-event-harness-inset' : ''), key: forcedKey || instanceId, style: Object.assign(Object.assign({ visibility: isVisible ? '' : 'hidden' }, vStyle), hStyle) },
|
|
13620
13621
|
y(TimeColEvent, Object.assign({ seg: seg, isDragging: isDragging, isResizing: isResizing, isDateSelecting: isDateSelecting, isSelected: instanceId === eventSelection, isShort: isShort }, getSegMeta(seg, todayRange, nowDate)))));
|
|
13621
13622
|
})));
|
|
13622
13623
|
}
|
|
@@ -14030,9 +14031,6 @@ var FullCalendar = (function (exports) {
|
|
|
14030
14031
|
},
|
|
14031
14032
|
});
|
|
14032
14033
|
|
|
14033
|
-
var css_248z$1 = ":root{--fc-list-event-dot-width:10px;--fc-list-event-hover-bg-color:#f5f5f5}.fc-theme-standard .fc-list{border:1px solid var(--fc-border-color)}.fc .fc-list-empty{align-items:center;background-color:var(--fc-neutral-bg-color);display:flex;height:100%;justify-content:center}.fc .fc-list-empty-cushion{margin:5em 0}.fc .fc-list-table{border-style:hidden;width:100%}.fc .fc-list-table tr>*{border-left:0;border-right:0}.fc .fc-list-sticky .fc-list-day>*{background:var(--fc-page-bg-color);position:sticky;top:0}.fc .fc-list-table thead{left:-10000px;position:absolute}.fc .fc-list-table tbody>tr:first-child th{border-top:0}.fc .fc-list-table th{padding:0}.fc .fc-list-day-cushion,.fc .fc-list-table td{padding:8px 14px}.fc .fc-list-day-cushion:after{clear:both;content:\"\";display:table}.fc-theme-standard .fc-list-day-cushion{background-color:var(--fc-neutral-bg-color)}.fc-direction-ltr .fc-list-day-text,.fc-direction-rtl .fc-list-day-side-text{float:left}.fc-direction-ltr .fc-list-day-side-text,.fc-direction-rtl .fc-list-day-text{float:right}.fc-direction-ltr .fc-list-table .fc-list-event-graphic{padding-right:0}.fc-direction-rtl .fc-list-table .fc-list-event-graphic{padding-left:0}.fc .fc-list-event.fc-event-forced-url{cursor:pointer}.fc .fc-list-event:hover td{background-color:var(--fc-list-event-hover-bg-color)}.fc .fc-list-event-graphic,.fc .fc-list-event-time{white-space:nowrap;width:1px}.fc .fc-list-event-dot{border:calc(var(--fc-list-event-dot-width)/2) solid var(--fc-event-border-color);border-radius:calc(var(--fc-list-event-dot-width)/2);box-sizing:content-box;display:inline-block;height:0;width:0}.fc .fc-list-event-title a{color:inherit;text-decoration:none}.fc .fc-list-event.fc-event-forced-url:hover a{text-decoration:underline}";
|
|
14034
|
-
injectStyles(css_248z$1);
|
|
14035
|
-
|
|
14036
14034
|
class ListViewHeaderRow extends BaseComponent {
|
|
14037
14035
|
constructor() {
|
|
14038
14036
|
super(...arguments);
|
|
@@ -14293,6 +14291,9 @@ var FullCalendar = (function (exports) {
|
|
|
14293
14291
|
return segsByDay;
|
|
14294
14292
|
}
|
|
14295
14293
|
|
|
14294
|
+
var css_248z$1 = ":root{--fc-list-event-dot-width:10px;--fc-list-event-hover-bg-color:#f5f5f5}.fc-theme-standard .fc-list{border:1px solid var(--fc-border-color)}.fc .fc-list-empty{align-items:center;background-color:var(--fc-neutral-bg-color);display:flex;height:100%;justify-content:center}.fc .fc-list-empty-cushion{margin:5em 0}.fc .fc-list-table{border-style:hidden;width:100%}.fc .fc-list-table tr>*{border-left:0;border-right:0}.fc .fc-list-sticky .fc-list-day>*{background:var(--fc-page-bg-color);position:sticky;top:0}.fc .fc-list-table thead{left:-10000px;position:absolute}.fc .fc-list-table tbody>tr:first-child th{border-top:0}.fc .fc-list-table th{padding:0}.fc .fc-list-day-cushion,.fc .fc-list-table td{padding:8px 14px}.fc .fc-list-day-cushion:after{clear:both;content:\"\";display:table}.fc-theme-standard .fc-list-day-cushion{background-color:var(--fc-neutral-bg-color)}.fc-direction-ltr .fc-list-day-text,.fc-direction-rtl .fc-list-day-side-text{float:left}.fc-direction-ltr .fc-list-day-side-text,.fc-direction-rtl .fc-list-day-text{float:right}.fc-direction-ltr .fc-list-table .fc-list-event-graphic{padding-right:0}.fc-direction-rtl .fc-list-table .fc-list-event-graphic{padding-left:0}.fc .fc-list-event.fc-event-forced-url{cursor:pointer}.fc .fc-list-event:hover td{background-color:var(--fc-list-event-hover-bg-color)}.fc .fc-list-event-graphic,.fc .fc-list-event-time{white-space:nowrap;width:1px}.fc .fc-list-event-dot{border:calc(var(--fc-list-event-dot-width)/2) solid var(--fc-event-border-color);border-radius:calc(var(--fc-list-event-dot-width)/2);box-sizing:content-box;display:inline-block;height:0;width:0}.fc .fc-list-event-title a{color:inherit;text-decoration:none}.fc .fc-list-event.fc-event-forced-url:hover a{text-decoration:underline}";
|
|
14295
|
+
injectStyles(css_248z$1);
|
|
14296
|
+
|
|
14296
14297
|
const OPTION_REFINERS$1 = {
|
|
14297
14298
|
listDayFormat: createFalsableFormatter,
|
|
14298
14299
|
listDaySideFormat: createFalsableFormatter,
|