@progress/kendo-vue-scheduler 11.0.0 → 11.0.1-develop.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.
@@ -8,7 +8,7 @@
8
8
  import { Slot, SchedulerSlotMouseEvent, SchedulerSlotKeyboardEvent, SchedulerSlotFocusEvent, EditableProp } from '../models/main';
9
9
  import { PropType } from 'vue';
10
10
  /**
11
- * Represents the props of the Kendo UI for Vue [SchedulerSlot]({% slug api_scheduler_schedulerslotprops %}) component.
11
+ * Represents the props of the Kendo UI for Vue [SchedulerSlot](slug:api_scheduler_schedulerslotprops) component.
12
12
  */
13
13
  export interface SchedulerSlotProps extends Slot {
14
14
  /** @hidden */
@@ -28,83 +28,90 @@ export interface SchedulerSlotProps extends Slot {
28
28
  /** @hidden */
29
29
  className?: string;
30
30
  /**
31
- * Specifies the `id` of the wrapping element of the SchedulerSlot.
31
+ * Sets the `id` of the wrapping element of the SchedulerSlot.
32
32
  */
33
33
  id?: string;
34
34
  /**
35
- * Specifies the `tabIndex` attribute of the wrapping element of the SchedulerSlot.
35
+ * Sets the `tabIndex` attribute of the wrapping element of the SchedulerSlot.
36
36
  *
37
- * Providing `null` will not apply any `tabIndex` to the element.
37
+ * When you set it to `null`, the SchedulerSlot does not apply a `tabIndex` to the element.
38
+ *
39
+ * @remarks
40
+ * This property is related to accessibility.
38
41
  */
39
42
  tabIndex?: number;
40
43
  /**
41
- * Overrides the `editable` prop of the `Scheduler` and the active view.
44
+ * Overrides the `editable` prop of the Scheduler and the active view.
42
45
  */
43
46
  editable?: EditableProp | boolean;
44
47
  /**
45
- * Specifies if the `day` of the SchedulerSlot(in the current timezone) is between the `workDayStart` and `workDayEnd` of the active view.
48
+ * Specifies if the `day` of the SchedulerSlot (in the current timezone) is between the `workDayStart` and `workDayEnd` of the active view.
49
+ *
50
+ * @default true
46
51
  */
47
52
  isWorkDay?: boolean;
48
53
  /**
49
- * Specifies if the `time` of the SchedulerSlot(in the current timezone) is between the `workDayStart` and `workDayEnd` of the active view.
54
+ * Specifies if the `time` of the SchedulerSlot (in the current timezone) is between the `workDayStart` and `workDayEnd` of the active view.
55
+ *
56
+ * @default true
50
57
  */
51
58
  isWorkHour?: boolean;
52
59
  /**
53
- * Sets the selected state of the SchedulerSlot. By default the `k-selected` className is added if `props.selected` is `true`.
60
+ * Sets the selected state of the SchedulerSlot. When `selected` is `true`, the SchedulerSlot adds the `k-selected` class by default.
54
61
  */
55
62
  selected?: boolean;
56
63
  /**
57
- * Sets the `row` in the context of the current active view.
58
- * This property is being used to provide keyboard navigation between the SchedulerSlot components.
64
+ * Sets the `row` of the SchedulerSlot in the active view.
65
+ * The SchedulerSlot uses this property for keyboard navigation between slots.
59
66
  */
60
67
  row: number;
61
68
  /**
62
- * Sets the `col` in the context of the current active view.
63
- * This property is being used to provide keyboard navigation between the SchedulerSlot components.
69
+ * Sets the `col` of the SchedulerSlot in the active view.
70
+ * The SchedulerSlot uses this property for keyboard navigation between slots.
64
71
  */
65
72
  col: number;
66
73
  /**
67
- * Called each time the element, or any of its child elements, receive focus.
74
+ * Fires each time the element, or any of its child elements, receives focus.
68
75
  */
69
76
  onFocus?: (event: SchedulerSlotFocusEvent) => void;
70
77
  /**
71
- * Called each time the element, or any of its child elements, lose focus.
78
+ * Fires each time the element, or any of its child elements, loses focus.
72
79
  */
73
80
  onBlur?: (event: SchedulerSlotFocusEvent) => void;
74
81
  /**
75
- * Called each time the element, or any of its child elements, is clicked.
82
+ * Fires each time you click the element or any of its child elements.
76
83
  */
77
84
  onClick?: (event: SchedulerSlotMouseEvent) => void;
78
85
  /**
79
- * Called each time the element, or any of its child elements receives `mouseenter` event.
86
+ * Fires each time the element, or any of its child elements, receives a `mouseenter` event.
80
87
  */
81
88
  onMouseEnter?: (event: SchedulerSlotMouseEvent) => void;
82
89
  /**
83
- * Called each time the element, or any of its child elements receives `mouseleave` event.
90
+ * Fires each time the element, or any of its child elements, receives a `mouseleave` event.
84
91
  */
85
92
  onMouseLeave?: (event: SchedulerSlotMouseEvent) => void;
86
93
  /**
87
- * Called each time the element, or any of its child elements receives `mouseover` event.
94
+ * Fires each time the element, or any of its child elements, receives a `mouseover` event.
88
95
  */
89
96
  onMouseOver?: (event: SchedulerSlotMouseEvent) => void;
90
97
  /**
91
- * Called each time the element, or any of its child elements receives `mouseout` event.
98
+ * Fires each time the element, or any of its child elements, receives a `mouseout` event.
92
99
  */
93
100
  onMouseOut?: (event: SchedulerSlotMouseEvent) => void;
94
101
  /**
95
- * Called each time the element, or any of its child elements, is double-clicked.
102
+ * Fires each time you double-click the element or any of its child elements.
96
103
  */
97
104
  onDoubleClick?: (event: SchedulerSlotMouseEvent) => void;
98
105
  /**
99
- * Called each time a `keydown` event propagates to the wrapping element.
106
+ * Fires each time a `keydown` event reaches the wrapping element.
100
107
  */
101
108
  onKeyDown?: (event: SchedulerSlotKeyboardEvent) => void;
102
109
  /**
103
- * Called each time a `keypress` event propagates to the wrapping element.
110
+ * Fires each time a `keypress` event reaches the wrapping element.
104
111
  */
105
112
  onKeyPress?: (event: SchedulerSlotKeyboardEvent) => void;
106
113
  /**
107
- * Called each time a `keyup` event propagates to the wrapping element.
114
+ * Fires each time a `keyup` event reaches the wrapping element.
108
115
  */
109
116
  onKeyUp?: (event: SchedulerSlotKeyboardEvent) => void;
110
117
  }
@@ -114,7 +121,13 @@ export interface SchedulerSlotHandle {
114
121
  props: SchedulerSlotProps;
115
122
  }
116
123
  /**
117
- * @hidden
124
+ * Represents the Kendo UI for Vue SchedulerSlot component.
125
+ * Use it in a custom slot template to change how the Scheduler shows a single time slot ([see example](slug:scheduler_custom_slot)).
126
+ *
127
+ * @example
128
+ * ```vue
129
+ * <SchedulerSlot v-bind="props" :selected="true" />
130
+ * ```
118
131
  */
119
132
  declare const SchedulerSlot: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
120
133
  refTo: PropType<any>;
@@ -8,26 +8,26 @@
8
8
  import { SchedulerSlotProps } from './SchedulerSlot';
9
9
  import { PropType } from 'vue';
10
10
  /**
11
- * Represents the extended `expandable` configuration of a `SchedulerSlot`.
11
+ * Represents the extended `expandable` configuration of a SchedulerSlot.
12
12
  *
13
- * Settings `offsetTop` or `offsetBottom` would provide an extra space in addition to the space taken by the `items` inside the `slot`.
13
+ * When you set `offsetTop` or `offsetBottom`, the slot adds extra space to the space that its `items` take.
14
14
  */
15
15
  export type SchedulerSlotExpandableConfig = {
16
16
  offsetTop?: number;
17
17
  offsetBottom?: number;
18
18
  };
19
19
  /**
20
- * Represents the props of the Kendo UI for Vue [SchedulerViewSlot]({% slug api_scheduler_schedulerviewslotprops %}) component.
20
+ * Represents the props of the Kendo UI for Vue [SchedulerViewSlot](slug:api_scheduler_schedulerviewslotprops) component.
21
21
  */
22
22
  export interface SchedulerViewSlotProps extends SchedulerSlotProps {
23
23
  /**
24
- * Overrides the default component responsible for view-specific functionality.
24
+ * Overrides the default component that handles the view-specific features of the slot. Set it to a component or to the name of a slot template.
25
25
  *
26
- * The default Component is: [SchedulerSlot]({% slug api_scheduler_schedulerslotprops %}).
26
+ * The default component is: [SchedulerSlot](slug:api_scheduler_schedulerslotprops).
27
27
  */
28
28
  slotRender?: any;
29
29
  /**
30
- * Set to `false` will render the `slot` as is, without expanding depending on the `items` inside it.
30
+ * When you set it to `false`, the slot keeps its size and does not expand to fit the `items` inside it.
31
31
  */
32
32
  expandable?: boolean | SchedulerSlotExpandableConfig;
33
33
  }
@@ -36,7 +36,13 @@ export interface SchedulerViewSlotHandle {
36
36
  props: SchedulerViewSlotProps;
37
37
  }
38
38
  /**
39
- * @hidden
39
+ * Represents the Kendo UI for Vue SchedulerViewSlot component.
40
+ * Use it in a custom view slot template to change the view-specific layout of a Scheduler slot, such as its height ([see example](slug:adaptive_slot_height_scheduler)).
41
+ *
42
+ * @example
43
+ * ```vue
44
+ * <SchedulerViewSlot v-bind="props" :expandable="false" />
45
+ * ```
40
46
  */
41
47
  declare const SchedulerViewSlot: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
42
48
  role: PropType<string>;
@@ -13,19 +13,19 @@ import { SchedulerOccurrenceDialogStateChangeEvent } from '../components/Schedul
13
13
  import { SchedulerFormStateChangeEvent } from '../components/SchedulerForm';
14
14
  import { PropType } from 'vue';
15
15
  /**
16
- * Represents the props of the Kendo UI for Vue [SchedulerEditTask]({% slug api_scheduler_scheduleredittaskprops %}) component.
16
+ * Represents the props of the Kendo UI for Vue [SchedulerEditTask](slug:api_scheduler_scheduleredittaskprops) component.
17
17
  */
18
18
  export interface SchedulerEditTaskProps extends SchedulerViewTaskProps {
19
19
  /**
20
20
  * Overrides the default component responsible for positioning the task inside the view.
21
21
  *
22
- * The default Component is: [SchedulerViewTask]({% slug api_scheduler_schedulerviewtaskprops %}).
22
+ * The default Component is: [SchedulerViewTask](slug:api_scheduler_schedulerviewtaskprops).
23
23
  */
24
24
  viewTask?: any;
25
25
  /**
26
26
  * Overrides the default component responsible for visualizing the `removeItem` and confirming the `remove` action.
27
27
  *
28
- * The default Component is: [SchedulerRemoveDialog]({% slug api_scheduler_schedulerremovedialogprops %}).
28
+ * The default Component is: [SchedulerRemoveDialog](slug:api_scheduler_schedulerremovedialogprops).
29
29
  */
30
30
  removeDialog?: any;
31
31
  /**
@@ -59,7 +59,7 @@ export interface SchedulerEditTaskProps extends SchedulerViewTaskProps {
59
59
  /**
60
60
  * Overrides the default component responsible for the selection between `occurrence` and `series` delete.
61
61
  *
62
- * The default Component is: [SchedulerOccurrenceDialog]({% slug api_scheduler_scheduleroccurrencedialogprops %}).
62
+ * The default Component is: [SchedulerOccurrenceDialog](slug:api_scheduler_scheduleroccurrencedialogprops).
63
63
  */
64
64
  occurrenceDialog?: any;
65
65
  /**
@@ -9,13 +9,13 @@ import { PropType } from 'vue';
9
9
  import { SchedulerTaskProps } from './SchedulerTask';
10
10
  import { SchedulerTaskMouseEvent } from '../models/main';
11
11
  /**
12
- * Represents the props of the Kendo UI for Vue [SchedulerViewTask]({% slug api_scheduler_schedulerviewtaskprops %}) component.
12
+ * Represents the props of the Kendo UI for Vue [SchedulerViewTask](slug:api_scheduler_schedulerviewtaskprops) component.
13
13
  */
14
14
  export interface SchedulerViewTaskProps extends SchedulerTaskProps {
15
15
  /**
16
16
  * Overrides the default component responsible for visualizing a single task.
17
17
  *
18
- * The default Component is: [SchedulerTask]({% slug api_scheduler_schedulertaskprops %}).
18
+ * The default Component is: [SchedulerTask](slug:api_scheduler_schedulertaskprops).
19
19
  */
20
20
  task?: any;
21
21
  /** @hidden */
@@ -9,7 +9,7 @@ import { SchedulerViewProps, DateRange, SchedulerViewDateRangeArgs, EditableProp
9
9
  import { DataAction } from '../../Scheduler';
10
10
  import { PropType } from 'vue';
11
11
  /**
12
- * Represents the properties of the Kendo UI for Vue [AgendaView]({% slug api_scheduler_agendaviewprops %}) Component.
12
+ * Represents the properties of the Kendo UI for Vue [AgendaView](slug:api_scheduler_agendaviewprops) Component.
13
13
  */
14
14
  export interface AgendaViewProps extends SchedulerViewProps {
15
15
  /**
@@ -10,7 +10,7 @@ import { Day } from '@progress/kendo-date-math';
10
10
  import { DataAction } from '../../Scheduler';
11
11
  import { PropType } from 'vue';
12
12
  /**
13
- * Represents the properties of the [DayView]({% slug api_scheduler_dayviewprops %}) Component.
13
+ * Represents the properties of the [DayView](slug:api_scheduler_dayviewprops) Component.
14
14
  */
15
15
  export interface DayViewProps extends MultiDayViewProps {
16
16
  }
@@ -10,7 +10,7 @@ import { Day } from '@progress/kendo-date-math';
10
10
  import { DataAction } from '../../Scheduler';
11
11
  import { PropType } from 'vue';
12
12
  /**
13
- * Represents the properties of the Kendo UI for Vue [TimelineView]({% slug api_scheduler_timelineviewprops %}) Component.
13
+ * Represents the properties of the Kendo UI for Vue [TimelineView](slug:api_scheduler_timelineviewprops) Component.
14
14
  */
15
15
  export interface TimelineViewProps extends MultiDayTimelineViewProps {
16
16
  }
@@ -11,7 +11,7 @@ import { SchedulerViewDateRangeArgs, DateRange } from '../../models/main';
11
11
  import { DataAction } from '../../Scheduler';
12
12
  import { PropType } from 'vue';
13
13
  /**
14
- * Represents the properties of the Kendo UI for Vue [WeekView]({% slug api_scheduler_weekviewprops %}) Component.
14
+ * Represents the properties of the Kendo UI for Vue [WeekView](slug:api_scheduler_weekviewprops) Component.
15
15
  */
16
16
  export interface WeekViewProps extends MultiDayViewProps {
17
17
  /**