@bryntum/scheduler-thin-trial 7.2.0 → 7.2.1

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/scheduler.d.ts CHANGED
@@ -942,6 +942,8 @@ type DurationColumnConfig = {
942
942
  headerMenuItems?: Record<string, MenuItemEntry>
943
943
  /**
944
944
  * Renderer function for the column header.
945
+ * ...
946
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/column/DurationColumn#config-headerRenderer)
945
947
  * @param {object} renderData
946
948
  * @param {Grid.column.Column} renderData.column This column
947
949
  * @param {HTMLElement} renderData.headerElement The header element
@@ -1688,6 +1690,8 @@ type EventColorColumnConfig = {
1688
1690
  headerMenuItems?: Record<string, MenuItemEntry>
1689
1691
  /**
1690
1692
  * Renderer function for the column header.
1693
+ * ...
1694
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/column/EventColorColumn#config-headerRenderer)
1691
1695
  * @param {object} renderData
1692
1696
  * @param {Grid.column.Column} renderData.column This column
1693
1697
  * @param {HTMLElement} renderData.headerElement The header element
@@ -2396,6 +2400,8 @@ type ResourceCollapseColumnConfig = {
2396
2400
  headerMenuItems?: Record<string, MenuItemEntry>
2397
2401
  /**
2398
2402
  * Renderer function for the column header.
2403
+ * ...
2404
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/column/ResourceCollapseColumn#config-headerRenderer)
2399
2405
  * @param {object} renderData
2400
2406
  * @param {Grid.column.Column} renderData.column This column
2401
2407
  * @param {HTMLElement} renderData.headerElement The header element
@@ -3082,6 +3088,8 @@ type ResourceInfoColumnConfig = {
3082
3088
  headerMenuItems?: Record<string, MenuItemEntry>
3083
3089
  /**
3084
3090
  * Renderer function for the column header.
3091
+ * ...
3092
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/column/ResourceInfoColumn#config-headerRenderer)
3085
3093
  * @param {object} renderData
3086
3094
  * @param {Grid.column.Column} renderData.column This column
3087
3095
  * @param {HTMLElement} renderData.headerElement The header element
@@ -3823,6 +3831,8 @@ type ScaleColumnConfig = {
3823
3831
  headerMenuItems?: Record<string, MenuItemEntry>
3824
3832
  /**
3825
3833
  * Renderer function for the column header.
3834
+ * ...
3835
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/column/ScaleColumn#config-headerRenderer)
3826
3836
  * @param {object} renderData
3827
3837
  * @param {Grid.column.Column} renderData.column This column
3828
3838
  * @param {HTMLElement} renderData.headerElement The header element
@@ -4545,6 +4555,8 @@ type TimeAxisColumnConfig = {
4545
4555
  headerMenuItems?: Record<string, MenuItemEntry>
4546
4556
  /**
4547
4557
  * Renderer function for the column header.
4558
+ * ...
4559
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/column/TimeAxisColumn#config-headerRenderer)
4548
4560
  * @param {object} renderData
4549
4561
  * @param {Grid.column.Column} renderData.column This column
4550
4562
  * @param {HTMLElement} renderData.headerElement The header element
@@ -5248,6 +5260,8 @@ type VerticalTimeAxisColumnConfig = {
5248
5260
  headerMenuItems?: Record<string, MenuItemEntry>
5249
5261
  /**
5250
5262
  * Renderer function for the column header.
5263
+ * ...
5264
+ * [View online docs...](https://bryntum.com/products/scheduler/docs/api/Scheduler/column/VerticalTimeAxisColumn#config-headerRenderer)
5251
5265
  * @param {object} renderData
5252
5266
  * @param {Grid.column.Column} renderData.column This column
5253
5267
  * @param {HTMLElement} renderData.headerElement The header element
@@ -58439,8 +58453,8 @@ type SchedulerConfig = {
58439
58453
  * @param {'tonal','filled','bordered','traced','outlined','indented','line','dashed','minimal','rounded','calendar','interday','gantt',null} detail.renderData.eventStyle The `eventStyle` of the event. Use this to apply custom styles to the event DOM element
58440
58454
  * @param {string} detail.renderData.eventColor The `eventColor` of the event. Use this to set a custom color for the rendered event
58441
58455
  * @param {string} detail.renderData.ariaLabel A description of the event details used for screen readers
58442
- * @param {DomConfig[]} detail.renderData.children An array of DOM configs used as children to the `b-sch-event` element. Can be populated with additional DOM configs to have more control over contents.
58443
- * @returns {string,DomConfig,DomConfig[]} A simple string, or a DomConfig (or array thereof)
58456
+ * @param {DomConfig[]} detail.renderData.children An array of DOM configs used as children to the `b-sch-event` element. Can be populated with additional DOM configs to have more control over contents. <h3>Using JSX (React)</h3> When using the Bryntum React wrapper, the event renderer can return JSX elements: ```javascript eventRenderer({ eventRecord, resourceRecord, renderData }) { return &lt;MyEventComponent event={eventRecord} resource={resourceRecord} />; } ``` *Using JSX in the event renderer creates a React portal for each rendered event. For schedulers with many visible events or frequently re-rendered views, this may impact scrolling performance compared to returning plain strings or [DomConfig](https://bryntum.com/products/scheduler/docs/api/Core/helper/DomHelper#typedef-DomConfig) objects. Consider using JSX primarily for events that require complex interactive React components.*
58457
+ * @returns {string,DomConfig,DomConfig[]} A simple string, a DomConfig (or array thereof), or a JSX element when using React
58444
58458
  */
58445
58459
  eventRenderer?: (detail: { eventRecord: EventModel, resourceRecord: ResourceModel, assignmentRecord: AssignmentModel, scheduler: Scheduler, renderData: { event: EventModel, cls: DomClassList|string, wrapperCls: DomClassList|string, iconCls: DomClassList|string, left: number, width: number, height: number, style: string|Record<string, string>, wrapperStyle: string|Record<string, string>, eventStyle: 'tonal'|'filled'|'bordered'|'traced'|'outlined'|'indented'|'line'|'dashed'|'minimal'|'rounded'|'calendar'|'interday'|'gantt'|null, eventColor: string, ariaLabel: string, children: DomConfig[] } }) => string|DomConfig|DomConfig[]
58446
58460
  /**
@@ -68407,8 +68421,8 @@ type SchedulerBaseConfig = {
68407
68421
  * @param {'tonal','filled','bordered','traced','outlined','indented','line','dashed','minimal','rounded','calendar','interday','gantt',null} detail.renderData.eventStyle The `eventStyle` of the event. Use this to apply custom styles to the event DOM element
68408
68422
  * @param {string} detail.renderData.eventColor The `eventColor` of the event. Use this to set a custom color for the rendered event
68409
68423
  * @param {string} detail.renderData.ariaLabel A description of the event details used for screen readers
68410
- * @param {DomConfig[]} detail.renderData.children An array of DOM configs used as children to the `b-sch-event` element. Can be populated with additional DOM configs to have more control over contents.
68411
- * @returns {string,DomConfig,DomConfig[]} A simple string, or a DomConfig (or array thereof)
68424
+ * @param {DomConfig[]} detail.renderData.children An array of DOM configs used as children to the `b-sch-event` element. Can be populated with additional DOM configs to have more control over contents. <h3>Using JSX (React)</h3> When using the Bryntum React wrapper, the event renderer can return JSX elements: ```javascript eventRenderer({ eventRecord, resourceRecord, renderData }) { return &lt;MyEventComponent event={eventRecord} resource={resourceRecord} />; } ``` *Using JSX in the event renderer creates a React portal for each rendered event. For schedulers with many visible events or frequently re-rendered views, this may impact scrolling performance compared to returning plain strings or [DomConfig](https://bryntum.com/products/scheduler/docs/api/Core/helper/DomHelper#typedef-DomConfig) objects. Consider using JSX primarily for events that require complex interactive React components.*
68425
+ * @returns {string,DomConfig,DomConfig[]} A simple string, a DomConfig (or array thereof), or a JSX element when using React
68412
68426
  */
68413
68427
  eventRenderer?: (detail: { eventRecord: EventModel, resourceRecord: ResourceModel, assignmentRecord: AssignmentModel, scheduler: Scheduler, renderData: { event: EventModel, cls: DomClassList|string, wrapperCls: DomClassList|string, iconCls: DomClassList|string, left: number, width: number, height: number, style: string|Record<string, string>, wrapperStyle: string|Record<string, string>, eventStyle: 'tonal'|'filled'|'bordered'|'traced'|'outlined'|'indented'|'line'|'dashed'|'minimal'|'rounded'|'calendar'|'interday'|'gantt'|null, eventColor: string, ariaLabel: string, children: DomConfig[] } }) => string|DomConfig|DomConfig[]
68414
68428
  /**
@@ -96353,8 +96367,8 @@ type SchedulerEventRenderingClassConfig = {
96353
96367
  * @param {'tonal','filled','bordered','traced','outlined','indented','line','dashed','minimal','rounded','calendar','interday','gantt',null} detail.renderData.eventStyle The `eventStyle` of the event. Use this to apply custom styles to the event DOM element
96354
96368
  * @param {string} detail.renderData.eventColor The `eventColor` of the event. Use this to set a custom color for the rendered event
96355
96369
  * @param {string} detail.renderData.ariaLabel A description of the event details used for screen readers
96356
- * @param {DomConfig[]} detail.renderData.children An array of DOM configs used as children to the `b-sch-event` element. Can be populated with additional DOM configs to have more control over contents.
96357
- * @returns {string,DomConfig,DomConfig[]} A simple string, or a DomConfig (or array thereof)
96370
+ * @param {DomConfig[]} detail.renderData.children An array of DOM configs used as children to the `b-sch-event` element. Can be populated with additional DOM configs to have more control over contents. <h3>Using JSX (React)</h3> When using the Bryntum React wrapper, the event renderer can return JSX elements: ```javascript eventRenderer({ eventRecord, resourceRecord, renderData }) { return &lt;MyEventComponent event={eventRecord} resource={resourceRecord} />; } ``` *Using JSX in the event renderer creates a React portal for each rendered event. For schedulers with many visible events or frequently re-rendered views, this may impact scrolling performance compared to returning plain strings or [DomConfig](https://bryntum.com/products/scheduler/docs/api/Core/helper/DomHelper#typedef-DomConfig) objects. Consider using JSX primarily for events that require complex interactive React components.*
96371
+ * @returns {string,DomConfig,DomConfig[]} A simple string, a DomConfig (or array thereof), or a JSX element when using React
96358
96372
  */
96359
96373
  eventRenderer?: (detail: { eventRecord: EventModel, resourceRecord: ResourceModel, assignmentRecord: AssignmentModel, scheduler: Scheduler, renderData: { event: EventModel, cls: DomClassList|string, wrapperCls: DomClassList|string, iconCls: DomClassList|string, left: number, width: number, height: number, style: string|Record<string, string>, wrapperStyle: string|Record<string, string>, eventStyle: 'tonal'|'filled'|'bordered'|'traced'|'outlined'|'indented'|'line'|'dashed'|'minimal'|'rounded'|'calendar'|'interday'|'gantt'|null, eventColor: string, ariaLabel: string, children: DomConfig[] } }) => string|DomConfig|DomConfig[]
96360
96374
  /**