@progress/kendo-vue-scheduler 11.0.1-develop.1 → 11.1.0-develop.2

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
@@ -102,11 +102,17 @@ export interface SchedulerProps {
102
102
  /**
103
103
  * Overrides the default date header cell. Set it to a component or to the name of a slot template.
104
104
  * The template receives the `DateHeaderCellProps`.
105
+ *
106
+ * @remarks
107
+ * Slot props: {@link DateHeaderCellProps}.
105
108
  */
106
109
  dateHeaderCell?: any;
107
110
  /**
108
111
  * Overrides the default time header cell. Set it to a component or to the name of a slot template.
109
112
  * The template receives the `TimeHeaderCellProps`.
113
+ *
114
+ * @remarks
115
+ * Slot props: {@link TimeHeaderCellProps}.
110
116
  */
111
117
  timeHeaderCell?: any;
112
118
  /**
@@ -201,6 +207,9 @@ export interface SchedulerProps {
201
207
  * Sets the views that the Scheduler shows.
202
208
  *
203
209
  * @default []
210
+ *
211
+ * @remarks
212
+ * Built-in view names: `day` ({@link DayViewProps}), `week` ({@link WeekViewProps}), `workweek` ({@link WorkWeekViewProps}), `month` ({@link MonthViewProps}), `agenda` ({@link AgendaViewProps}), `timeline` ({@link TimelineViewProps}). Any other name renders the Day view.
204
213
  */
205
214
  views?: SchedulerViewProps[];
206
215
  /**
@@ -1499,7 +1508,14 @@ declare const Scheduler: import('vue').DefineComponent<import('vue').ExtractProp
1499
1508
  slotRender: PropType<any>;
1500
1509
  viewSlot: PropType<any>;
1501
1510
  resizeHint: PropType<any>;
1502
- item: PropType<any>;
1511
+ item: PropType<any>; /**
1512
+ * Overrides the default view item. Set it to a component or to the name of a slot template.
1513
+ * The `viewItem` property of a specific view overrides this property.
1514
+ *
1515
+ * The default component is: [SchedulerViewItem](slug:api_scheduler_schedulerviewitemprops).
1516
+ *
1517
+ * For more information on how to customize the Scheduler items, refer to the [Item Customization](slug:scheduler_custom_event) article.
1518
+ */
1503
1519
  viewItem: PropType<any>;
1504
1520
  editable: {
1505
1521
  type: PropType<boolean>;
@@ -1509,14 +1525,28 @@ declare const Scheduler: import('vue').DefineComponent<import('vue').ExtractProp
1509
1525
  popoverEditItem: import('vue').ShallowRef<import('./models/Item').Item, import('./models/Item').Item>;
1510
1526
  popoverFormItem: import('vue').ShallowRef<any, any>;
1511
1527
  popoverShowOccurrenceDialog: import('vue').Ref<boolean, boolean>;
1512
- handlePopoverItemDoubleClick: (item: import('./models/Item').Item) => boolean;
1528
+ handlePopoverItemDoubleClick: (item: import('./models/Item').Item) => boolean; /**
1529
+ * Overrides the default date header cell. Set it to a component or to the name of a slot template.
1530
+ * The template receives the `DateHeaderCellProps`.
1531
+ *
1532
+ * @remarks
1533
+ * Slot props: {@link DateHeaderCellProps}.
1534
+ */
1513
1535
  handlePopoverFormItemChange: (formItem: any) => void;
1514
1536
  handlePopoverShowOccurrenceDialogChange: (show: boolean) => void;
1515
1537
  }, {
1516
1538
  hasMounted: boolean;
1517
1539
  rowSyncFrame: number;
1518
1540
  rowSyncQueued: boolean;
1519
- currentDragItem: any;
1541
+ currentDragItem: any; /**
1542
+ * Overrides the default view task. Set it to a component or to the name of a slot template.
1543
+ * The `viewTask` property of a specific view overrides this property.
1544
+ * Only the [AgendaView](slug:agenda_view_scheduler) uses the `viewTask`.
1545
+ *
1546
+ * The default component is: [SchedulerViewTask](slug:api_scheduler_schedulerviewtaskprops).
1547
+ *
1548
+ * For more information on how to customize the Scheduler tasks, refer to the [Task Customization](slug:overview_agenda_view_scheduler) article.
1549
+ */
1520
1550
  currentResizeItem: any;
1521
1551
  popoverShow: boolean;
1522
1552
  popoverAnchor: HTMLElement;
@@ -1585,7 +1615,14 @@ declare const Scheduler: import('vue').DefineComponent<import('vue').ExtractProp
1585
1615
  slotRender: PropType<any>;
1586
1616
  viewSlot: PropType<any>;
1587
1617
  resizeHint: PropType<any>;
1588
- item: PropType<any>;
1618
+ item: PropType<any>; /**
1619
+ * Overrides the default view item. Set it to a component or to the name of a slot template.
1620
+ * The `viewItem` property of a specific view overrides this property.
1621
+ *
1622
+ * The default component is: [SchedulerViewItem](slug:api_scheduler_schedulerviewitemprops).
1623
+ *
1624
+ * For more information on how to customize the Scheduler items, refer to the [Item Customization](slug:scheduler_custom_event) article.
1625
+ */
1589
1626
  viewItem: PropType<any>;
1590
1627
  editable: {
1591
1628
  type: PropType<boolean>;
@@ -10,10 +10,25 @@ import { PropType } from 'vue';
10
10
  * Represents the properties of [SchedulerActionButtons](slug:api_scheduler_dateheadercellprops) component.
11
11
  */
12
12
  export interface SchedulerActionButtonsProps {
13
+ /**
14
+ * The text of the save button in the edit dialog.
15
+ */
13
16
  editSaveMessage: string;
17
+ /**
18
+ * The text of the cancel button in the edit dialog.
19
+ */
14
20
  editCancelMessage: string;
21
+ /**
22
+ * The text of the delete button in the edit dialog.
23
+ */
15
24
  editDeleteMessage?: string;
25
+ /**
26
+ * Fires when the delete button is clicked.
27
+ */
16
28
  onDelete?: () => void;
29
+ /**
30
+ * Fires when the cancel button is clicked.
31
+ */
17
32
  onCancel: (event: any) => void;
18
33
  }
19
34
  /**
@@ -66,6 +66,7 @@ declare const SchedulerForm: import('vue').DefineComponent<import('vue').Extract
66
66
  onSubmitclick?: (...args: any) => any;
67
67
  }>, {}, {
68
68
  validatorsByField: {};
69
+ registeredFields: Record<string, number>;
69
70
  fields: any[];
70
71
  unmounted: boolean;
71
72
  form: {
@@ -77,19 +78,19 @@ declare const SchedulerForm: import('vue').DefineComponent<import('vue').Extract
77
78
  visitedByField: {};
78
79
  valid: boolean;
79
80
  modified: boolean;
80
- /**
81
- * Represents the props of the Kendo UI for Vue [SchedulerForm](slug:api_scheduler_schedulerformprops) component.
82
- */
83
81
  touched: boolean;
84
82
  visited: boolean;
85
83
  submitted: boolean;
86
- valueGetter: Function;
84
+ valueGetter: Function; /**
85
+ * Specifies the `dataItem` to be visualized inside the form.
86
+ */
87
87
  allowSubmit: boolean;
88
88
  validate: Function;
89
89
  onChange: Function;
90
90
  onSubmit: (...args: any) => any;
91
91
  onFormReset: Function;
92
92
  registerField: Function;
93
+ isFieldRegistered: Function;
93
94
  onFocus: Function;
94
95
  onBlur: Function;
95
96
  onUnshift: Function;
@@ -108,6 +109,7 @@ declare const SchedulerForm: import('vue').DefineComponent<import('vue').Extract
108
109
  resetForm(): void;
109
110
  onReset(): void;
110
111
  addField(field: string): void;
112
+ isFieldRegistered(name: string): boolean;
111
113
  validate(fields: object): void;
112
114
  onSubmit(event: any): void;
113
115
  handleFieldChange(name: string, options: {
@@ -175,6 +177,7 @@ declare const SchedulerForm: import('vue').DefineComponent<import('vue').Extract
175
177
  onSubmitclick?: (...args: any) => any;
176
178
  }>, {}, {
177
179
  validatorsByField: {};
180
+ registeredFields: Record<string, number>;
178
181
  fields: any[];
179
182
  unmounted: boolean;
180
183
  form: {
@@ -186,19 +189,19 @@ declare const SchedulerForm: import('vue').DefineComponent<import('vue').Extract
186
189
  visitedByField: {};
187
190
  valid: boolean;
188
191
  modified: boolean;
189
- /**
190
- * Represents the props of the Kendo UI for Vue [SchedulerForm](slug:api_scheduler_schedulerformprops) component.
191
- */
192
192
  touched: boolean;
193
193
  visited: boolean;
194
194
  submitted: boolean;
195
- valueGetter: Function;
195
+ valueGetter: Function; /**
196
+ * Specifies the `dataItem` to be visualized inside the form.
197
+ */
196
198
  allowSubmit: boolean;
197
199
  validate: Function;
198
200
  onChange: Function;
199
201
  onSubmit: (...args: any) => any;
200
202
  onFormReset: Function;
201
203
  registerField: Function;
204
+ isFieldRegistered: Function;
202
205
  onFocus: Function;
203
206
  onBlur: Function;
204
207
  onUnshift: Function;
@@ -217,6 +220,7 @@ declare const SchedulerForm: import('vue').DefineComponent<import('vue').Extract
217
220
  resetForm(): void;
218
221
  onReset(): void;
219
222
  addField(field: string): void;
223
+ isFieldRegistered(name: string): boolean;
220
224
  validate(fields: object): void;
221
225
  onSubmit(event: any): void;
222
226
  handleFieldChange(name: string, options: {
@@ -274,6 +278,7 @@ declare const SchedulerForm: import('vue').DefineComponent<import('vue').Extract
274
278
  onSubmitclick?: (...args: any) => any;
275
279
  }>, {}, {
276
280
  validatorsByField: {};
281
+ registeredFields: Record<string, number>;
277
282
  fields: any[];
278
283
  unmounted: boolean;
279
284
  form: {
@@ -285,19 +290,19 @@ declare const SchedulerForm: import('vue').DefineComponent<import('vue').Extract
285
290
  visitedByField: {};
286
291
  valid: boolean;
287
292
  modified: boolean;
288
- /**
289
- * Represents the props of the Kendo UI for Vue [SchedulerForm](slug:api_scheduler_schedulerformprops) component.
290
- */
291
293
  touched: boolean;
292
294
  visited: boolean;
293
295
  submitted: boolean;
294
- valueGetter: Function;
296
+ valueGetter: Function; /**
297
+ * Specifies the `dataItem` to be visualized inside the form.
298
+ */
295
299
  allowSubmit: boolean;
296
300
  validate: Function;
297
301
  onChange: Function;
298
302
  onSubmit: (...args: any) => any;
299
303
  onFormReset: Function;
300
304
  registerField: Function;
305
+ isFieldRegistered: Function;
301
306
  onFocus: Function;
302
307
  onBlur: Function;
303
308
  onUnshift: Function;
@@ -316,6 +321,7 @@ declare const SchedulerForm: import('vue').DefineComponent<import('vue').Extract
316
321
  resetForm(): void;
317
322
  onReset(): void;
318
323
  addField(field: string): void;
324
+ isFieldRegistered(name: string): boolean;
319
325
  validate(fields: object): void;
320
326
  onSubmit(event: any): void;
321
327
  handleFieldChange(name: string, options: {
@@ -383,6 +389,7 @@ declare const SchedulerForm: import('vue').DefineComponent<import('vue').Extract
383
389
  onSubmitclick?: (...args: any) => any;
384
390
  }>, {}, {
385
391
  validatorsByField: {};
392
+ registeredFields: Record<string, number>;
386
393
  fields: any[];
387
394
  unmounted: boolean;
388
395
  form: {
@@ -394,19 +401,19 @@ declare const SchedulerForm: import('vue').DefineComponent<import('vue').Extract
394
401
  visitedByField: {};
395
402
  valid: boolean;
396
403
  modified: boolean;
397
- /**
398
- * Represents the props of the Kendo UI for Vue [SchedulerForm](slug:api_scheduler_schedulerformprops) component.
399
- */
400
404
  touched: boolean;
401
405
  visited: boolean;
402
406
  submitted: boolean;
403
- valueGetter: Function;
407
+ valueGetter: Function; /**
408
+ * Specifies the `dataItem` to be visualized inside the form.
409
+ */
404
410
  allowSubmit: boolean;
405
411
  validate: Function;
406
412
  onChange: Function;
407
413
  onSubmit: (...args: any) => any;
408
414
  onFormReset: Function;
409
415
  registerField: Function;
416
+ isFieldRegistered: Function;
410
417
  onFocus: Function;
411
418
  onBlur: Function;
412
419
  onUnshift: Function;
@@ -425,6 +432,7 @@ declare const SchedulerForm: import('vue').DefineComponent<import('vue').Extract
425
432
  resetForm(): void;
426
433
  onReset(): void;
427
434
  addField(field: string): void;
435
+ isFieldRegistered(name: string): boolean;
428
436
  validate(fields: object): void;
429
437
  onSubmit(event: any): void;
430
438
  handleFieldChange(name: string, options: {
@@ -6,6 +6,9 @@
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
8
  import { ToolbarProps } from '@progress/kendo-vue-buttons';
9
+ /**
10
+ * Represents the props of the Kendo UI for Vue SchedulerFooter component.
11
+ */
9
12
  export interface SchedulerFooterProps extends ToolbarProps {
10
13
  }
11
14
  /** @hidden */