Lines Matching refs:eventInstance
2236 function eventInstanceToEventRange(eventInstance) {
2237 …return new EventRange_1.default(eventInstance.dateProfile.unzonedRange, eventInstance.def, eventIn…
2241 …nge, eventRange.eventDef.isAllDay()), eventRange.eventDef, eventRange.eventInstance // might not e…
2245 function eventInstanceToUnzonedRange(eventInstance) {
2246 return eventInstance.dateProfile.unzonedRange;
2290 var eventInstance;
2294 eventInstance = eventInstances[i]; property
2295 slicedRange = eventInstance.dateProfile.unzonedRange.intersect(constraintRange);
2297 … slicedEventRanges.push(new EventRange_1.default(slicedRange, eventInstance.def, eventInstance));
2927 function EventFootprint(componentFootprint, eventDef, eventInstance) {
2930 if (eventInstance) {
2931 this.eventInstance = eventInstance;
2935 return (this.eventInstance || this.eventDef).toLegacy();
3186 EventDefMutation.createFromRawProps = function (eventInstance, rawProps, largeUnit) {
3187 var eventDef = eventInstance.def;
3211 …dateMutation = EventDefDateMutation_1.default.createFromDiff(eventInstance.dateProfile, dateProfil…
4145 View.prototype.reportEventDrop = function (eventInstance, eventMutation, el, ev) {
4147 var undoFunc = eventManager.mutateEventsWithId(eventInstance.def.id, eventMutation);
4151 …eventInstance.dateProfile = dateMutation.buildNewDateProfile(eventInstance.dateProfile, this.calen… field
4153 this.triggerEventDrop(eventInstance,
4158 View.prototype.triggerEventDrop = function (eventInstance, dateDelta, undoFunc, el, ev) {
4162 eventInstance.toLegacy(),
4208 View.prototype.reportEventResize = function (eventInstance, eventMutation, el, ev) {
4210 var undoFunc = eventManager.mutateEventsWithId(eventInstance.def.id, eventMutation);
4212 …eventInstance.dateProfile = eventMutation.dateMutation.buildNewDateProfile(eventInstance.dateProfi…
4214 this.triggerEventResize(eventInstance, resizeDelta, undoFunc, el, ev);
4217 View.prototype.triggerEventResize = function (eventInstance, resizeDelta, undoFunc, el, ev) {
4221 eventInstance.toLegacy(),
4282 View.prototype.selectEventInstance = function (eventInstance) {
4284 this.selectedEventInstance !== eventInstance) {
4287 if (seg.footprint.eventInstance === eventInstance &&
4293 this.selectedEventInstance = eventInstance;
4688 …return this._getTimeText(eventFootprint.eventInstance.dateProfile.start, eventFootprint.eventInsta…
5181 function EventRange(unzonedRange, eventDef, eventInstance) {
5184 if (eventInstance) {
5185 this.eventInstance = eventInstance;
7869 …, seg.footprint.componentFootprint.isAllDay), seg.footprint.eventDef, seg.footprint.eventInstance),
8374 …nentFootprint, peerEventFootprints, constraintVal, overlapVal, eventFootprints[i].eventInstance)) {
8564 …if (!overlapFunc(overlapEventFootprints[i].eventInstance.toLegacy(), subjectEventInstance ? subjec…
8577 overlapEventInstance = overlapEventFootprints[i].eventInstance;
8845 EventPeriod.prototype.addEventInstance = function (eventInstance, eventDefId) {
8849 eventInstanceGroup.eventInstances.push(eventInstance);
11416 eventManager.getEventInstances().forEach(function (eventInstance) { argument
11417 legacyInstances.push(eventInstance.toLegacy());
11435 this.eventManager.getEventInstances().forEach(function (eventInstance) {
11436 legacyEventInstances.push(eventInstance.toLegacy());
11449 var eventInstance;
11452 eventInstance = eventDef.buildInstance(); property
11453 …eventDefMutation = EventDefMutation_1.default.createFromRawProps(eventInstance, eventProps, // raw…
11813 var eventInstance = seg.footprint.eventInstance;
11876 view.reportEventResize(eventInstance, resizeMutation, el, ev);
12016 var eventInstance = seg.footprint.eventInstance; // null for inverse-background events
12024 eventInstance) {
12026 view.selectEventInstance(eventInstance);
12046 var eventInstance = seg.footprint.eventInstance; // null for inverse-background events
12075 eventInstance) {
12077 view.selectEventInstance(eventInstance);
12147 view.reportEventDrop(eventInstance, eventDefMutation, el, ev);