|
@@ -16,7 +16,6 @@ import { ViewContainer } from './ViewContainer'
|
|
|
import { CssDimValue } from './scrollgrid/util'
|
|
import { CssDimValue } from './scrollgrid/util'
|
|
|
import { Theme } from './theme/Theme'
|
|
import { Theme } from './theme/Theme'
|
|
|
import { getCanVGrowWithinCell } from './util/table-styling'
|
|
import { getCanVGrowWithinCell } from './util/table-styling'
|
|
|
-import { ViewComponent } from './structs/view-config'
|
|
|
|
|
import { Interaction, InteractionSettingsInput, InteractionClass, parseInteractionSettings, interactionSettingsStore } from './interactions/interaction'
|
|
import { Interaction, InteractionSettingsInput, InteractionClass, parseInteractionSettings, interactionSettingsStore } from './interactions/interaction'
|
|
|
import { DateComponent } from './component/DateComponent'
|
|
import { DateComponent } from './component/DateComponent'
|
|
|
import { EventClicking } from './interactions/EventClicking'
|
|
import { EventClicking } from './interactions/EventClicking'
|
|
@@ -48,7 +47,6 @@ export class CalendarComponent extends Component<CalendarComponentProps, Calenda
|
|
|
private handleNavLinkClick = buildDelegationHandler('a[data-navlink]', this._handleNavLinkClick.bind(this))
|
|
private handleNavLinkClick = buildDelegationHandler('a[data-navlink]', this._handleNavLinkClick.bind(this))
|
|
|
private headerRef = createRef<Toolbar>()
|
|
private headerRef = createRef<Toolbar>()
|
|
|
private footerRef = createRef<Toolbar>()
|
|
private footerRef = createRef<Toolbar>()
|
|
|
- private viewRef = createRef<ViewComponent>()
|
|
|
|
|
private interactionsStore: { [componentUid: string]: Interaction[] } = {}
|
|
private interactionsStore: { [componentUid: string]: Interaction[] } = {}
|
|
|
private calendarInteractions: CalendarInteraction[]
|
|
private calendarInteractions: CalendarInteraction[]
|
|
|
|
|
|
|
@@ -264,10 +262,7 @@ export class CalendarComponent extends Component<CalendarComponentProps, Calenda
|
|
|
let ViewComponent = viewSpec.component
|
|
let ViewComponent = viewSpec.component
|
|
|
|
|
|
|
|
return (
|
|
return (
|
|
|
- <ViewComponent
|
|
|
|
|
- ref={this.viewRef}
|
|
|
|
|
- { ...viewProps }
|
|
|
|
|
- />
|
|
|
|
|
|
|
+ <ViewComponent {...viewProps} />
|
|
|
)
|
|
)
|
|
|
}
|
|
}
|
|
|
|
|
|