cxtms 1.9.270 → 1.9.271

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cxtms",
3
- "version": "1.9.270",
3
+ "version": "1.9.271",
4
4
  "description": "Schema validation package for CXTMS YAML modules",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -19,6 +19,7 @@ FullCalendar integration with GraphQL event sources, timezone support, and progr
19
19
  | Prop | Type | Default | Description |
20
20
  |------|------|---------|-------------|
21
21
  | `calendarId` | `string` | — | Calendar ID (template-parsed), used for timezone fetch |
22
+ | `toolbar` | `component[]` | — | Components rendered right-aligned above the calendar with inherited context and variables |
22
23
  | `initialView` | `string` | `dayGridMonth` | View: `dayGridMonth`, `timeGridWeek`, `timeGridDay`, `listMonth` |
23
24
  | `height` | `number` | `600` | Calendar height |
24
25
  | `aspectRatio` | `number` | `1.35` | Calendar aspect ratio |
@@ -45,13 +46,15 @@ FullCalendar integration with GraphQL event sources, timezone support, and progr
45
46
  |-------|------|-------------|
46
47
  | `onDateClick` | `date, dateStr, allDay, view` | Date cell clicked |
47
48
  | `onEventClick` | `event{id,title,start,end,allDay,extendedProps}, view` | Event clicked |
48
- | `onSelect` | `start, end, startStr, endStr, allDay, view` | Date range selected |
49
- | `onEventDrop` | `event, oldEvent, delta, revert` | Event drag-dropped |
50
- | `onEventResize` | `event, oldEvent, revert` | Event resized |
49
+ | `onSelect` | `start, end, startStr, endStr, startTz, endTz, allDay, view` | Date range selected; `startTz`/`endTz` use the calendar time zone |
50
+ | `onEventDrop` | `event, oldEvent, delta, revert` | Event drag-dropped; event dates use the calendar time zone |
51
+ | `onEventResize` | `event, oldEvent, revert` | Event resized; event dates use the calendar time zone |
51
52
  | `onDatesSet` | `start, end, startStr, endStr, view` | Visible range changed |
52
53
 
53
54
  **Store API:** Stores `calendar_{calendarId}` in context store with: `refresh()`, `changeView()`, `gotoDate()`, `prev()`, `next()`, `today()`.
54
55
 
56
+ For calendars configured with a non-local IANA time zone, offset-less FullCalendar values in selection, drag, resize, and change payloads are interpreted as wall-clock time in that calendar time zone. Values that already include an offset or `Z` are preserved.
57
+
55
58
  ```yaml
56
59
  component: calendar
57
60
  name: shipmentCalendar