A date inside the period on screen.
Emitted with the full config when the layout or the settings change.
Asks the host for the full record set on init.
Active filter text. Accepted for contract uniformity; the host pre-filters records.
Whether the entity has any date field.
ReadonlyMaxMonth cells shown before "+N more".
The current layout.
ReadonlyModeThe layout switch options.
The month grid's weeks.
If specified, this provider will be used for communication and for all metadata purposes. By default, if not provided, the Metadata and RunView classes are used for this and the default GraphQLDataProvider is used which is connected to the same back-end MJAPI instance as the Metadata and RunView classes. If you want to have this component connect to a different MJAPI back-end, create an instance of a ProviderBase sub-class like GraphQLDataProvider/etc, and configure it as appropriate to connect to the MJAPI back-end you want to use, and then pass it in here.
Emitted on a record double-click with the raw record (a navigation request).
Emitted on a record click with the raw record.
Primary-key string of the selected record. Accepted for contract uniformity.
Whether the inline settings sheet is open.
The days of the day/week layout.
ReadonlyWeekMonday-first weekday labels.
StaticɵdirStaticɵfacView-type-specific configuration.
The persisted view config: start/end fields and the layout the view opens in.
The entity whose records are being rendered.
Returns either the default Metadata provider or the one specified in the Provider property, if it was specified
The records to render (already loaded/filtered by the host).
The records to place (loaded/filtered by the host).
Returns either the default RunQuery provider or the one specified in the Provider property, if it was specified
Returns either the default RunView provider or the one specified in the Provider property, if it was specified
The header label for the period on screen.
Open the day layout on day (from a month cell's "+N more").
The start time, on the item's first day only; empty for a date-only start.
A callback method that is invoked immediately after the default change detector has checked the directive's data-bound properties for the first time, and before any of the view or content children have been checked. It is invoked only once when the directive is instantiated.
Apply and persist a change from the settings sheet.
Switch layout (a ModeOptions key) and persist it as the view's mode.
CalendarViewRendererComponent
The Calendar view type (IViewRenderer): records placed on a day, week (Monday first) or month layout by a start field and an optional end field named in the view's CalendarViewConfig. Placement is the pure logic in
calendar-placement.ts; this component only holds the anchor date and binds the result.Like Map, it asks the host for the full record set (
dataRequest({ loadAll: true })), so it sees up to the host's load-all cap rather than one page. Clicking a record emitsrecordSelectedand double-clicking emitsrecordOpened, as the Cards renderer does. A gear button opens the CalendarViewPropSheetComponent inline, because no host mounts a descriptor's prop sheet yet.Inputs/outputs use the camelCase names the IViewRenderer contract mandates.