ids-enterprise-typings 19.6.8 → 19.6.10

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.
@@ -155,6 +155,8 @@ interface SohoCalendarOptions {
155
155
  interface SohoCalendar {
156
156
  settings: SohoCalendarOptions;
157
157
 
158
+ eventsData?: SohoCalendarEvent[];
159
+
158
160
  /**
159
161
  * Get the current selected date on the calendar.
160
162
  * @returns the currently selected date on the control.
@@ -181,6 +183,13 @@ interface SohoCalendar {
181
183
  */
182
184
  updateEvent(event: SohoCalendarEvent): void;
183
185
 
186
+ /**
187
+ * Allows to update the events or event types after the calendar renders.
188
+ * @param events An array of events.
189
+ * @param eventTypes An array of event types.
190
+ */
191
+ updateEvents(events: SohoCalendarEvent[], eventTypes: SohoCalendarEventType[]): void;
192
+
184
193
  /**
185
194
  * Remove an event from the dataset and page. It uses the id property.
186
195
  * @param event The event object with common event properties.
@@ -124,6 +124,8 @@ interface SohoWeekViewOptions {
124
124
  interface SohoWeekView {
125
125
  settings: SohoWeekViewOptions;
126
126
 
127
+ eventsData?: SohoWeekViewEvent[];
128
+
127
129
  dayMap: SohoWeekViewDayMap[];
128
130
 
129
131
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ids-enterprise-typings",
3
3
  "slug": "ids-enterprise-typings",
4
- "version": "19.6.8",
4
+ "version": "19.6.10",
5
5
  "declaration": true,
6
6
  "types": "index.d.ts",
7
7
  "peerDependencies": {