@progress/kendo-angular-scheduler 21.4.1-develop.1 → 22.0.0-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.
Files changed (197) hide show
  1. package/editing/recurrence/localization/messages.d.ts +1 -1
  2. package/editing/resource-editor-base.d.ts +1 -1
  3. package/editing-directives/editing-directive-base.d.ts +1 -1
  4. package/fesm2022/progress-kendo-angular-scheduler.mjs +313 -313
  5. package/localization/messages.d.ts +1 -1
  6. package/package.json +20 -28
  7. package/schematics/ngAdd/index.js +3 -3
  8. package/views/common/base-view.d.ts +1 -1
  9. package/views/common/configuration-view-base.d.ts +1 -1
  10. package/views/day-time/day-time-view-base.d.ts +1 -1
  11. package/views/day-time/day-time-view.component.d.ts +1 -1
  12. package/views/multi-day/multi-day-view-base.d.ts +1 -1
  13. package/views/timeline/timeline-base.d.ts +1 -1
  14. package/views/view-items/base-slot.directive.d.ts +1 -1
  15. package/views/view-items/base-view-item.d.ts +1 -1
  16. package/esm2022/common/constants.mjs +0 -8
  17. package/esm2022/common/default-model-fields.mjs +0 -20
  18. package/esm2022/common/dom-queries.mjs +0 -107
  19. package/esm2022/common/modifiers.mjs +0 -31
  20. package/esm2022/common/util.mjs +0 -227
  21. package/esm2022/data-binding.directive.mjs +0 -162
  22. package/esm2022/directives.mjs +0 -136
  23. package/esm2022/editing/date-time-picker.component.mjs +0 -190
  24. package/esm2022/editing/dialogs.service.mjs +0 -96
  25. package/esm2022/editing/edit-dialog-template.directive.mjs +0 -53
  26. package/esm2022/editing/edit-dialog.component.mjs +0 -679
  27. package/esm2022/editing/edit.service.mjs +0 -107
  28. package/esm2022/editing/local-data-changes.service.mjs +0 -18
  29. package/esm2022/editing/recurrence/end-rule-radio-button.directive.mjs +0 -77
  30. package/esm2022/editing/recurrence/localization/custom-messages.component.mjs +0 -44
  31. package/esm2022/editing/recurrence/localization/localized-messages.directive.mjs +0 -39
  32. package/esm2022/editing/recurrence/localization/messages.mjs +0 -239
  33. package/esm2022/editing/recurrence/localization/recurrence-localization.service.mjs +0 -47
  34. package/esm2022/editing/recurrence/recurrence-editor.component.mjs +0 -497
  35. package/esm2022/editing/recurrence/recurrence-end-rule-editor.component.mjs +0 -334
  36. package/esm2022/editing/recurrence/recurrence-frequency-editor.component.mjs +0 -105
  37. package/esm2022/editing/recurrence/recurrence-interval-editor.component.mjs +0 -169
  38. package/esm2022/editing/recurrence/recurrence-monthly-yearly-editor.component.mjs +0 -468
  39. package/esm2022/editing/recurrence/recurrence-weekday-rule-editor.component.mjs +0 -138
  40. package/esm2022/editing/recurrence/recurrence.service.mjs +0 -254
  41. package/esm2022/editing/recurrence/repeat-on-radio-button.directive.mjs +0 -81
  42. package/esm2022/editing/resource-editor-base.mjs +0 -59
  43. package/esm2022/editing/resource-multiple-editor.component.mjs +0 -101
  44. package/esm2022/editing/resource-single-editor.component.mjs +0 -82
  45. package/esm2022/editing/timezone-editor.component.mjs +0 -193
  46. package/esm2022/editing-directives/base-edit.service.mjs +0 -320
  47. package/esm2022/editing-directives/edit-service.interface.mjs +0 -5
  48. package/esm2022/editing-directives/editing-directive-base.mjs +0 -242
  49. package/esm2022/editing-directives/local-edit.service.mjs +0 -122
  50. package/esm2022/editing-directives/reactive-editing.directive.mjs +0 -132
  51. package/esm2022/editing-directives/utils.mjs +0 -107
  52. package/esm2022/events/add-event.mjs +0 -26
  53. package/esm2022/events/cancel-event.mjs +0 -14
  54. package/esm2022/events/create-event.mjs +0 -40
  55. package/esm2022/events/date-change-event.mjs +0 -29
  56. package/esm2022/events/drag-end-event.mjs +0 -46
  57. package/esm2022/events/drag-event.mjs +0 -54
  58. package/esm2022/events/drag-start-event.mjs +0 -30
  59. package/esm2022/events/edit-event-base.mjs +0 -32
  60. package/esm2022/events/edit-event.mjs +0 -30
  61. package/esm2022/events/event-click-event.mjs +0 -32
  62. package/esm2022/events/event-keydown-event.mjs +0 -28
  63. package/esm2022/events/more-events-click.mjs +0 -24
  64. package/esm2022/events/navigate-event.mjs +0 -26
  65. package/esm2022/events/preventable-event.mjs +0 -28
  66. package/esm2022/events/remove-event.mjs +0 -30
  67. package/esm2022/events/resize-end-event.mjs +0 -38
  68. package/esm2022/events/resize-event.mjs +0 -46
  69. package/esm2022/events/resize-start-event.mjs +0 -30
  70. package/esm2022/events/save-event.mjs +0 -18
  71. package/esm2022/events/slot-click-event.mjs +0 -44
  72. package/esm2022/events/slot-drag-end-event.mjs +0 -10
  73. package/esm2022/events/slot-drag-event.mjs +0 -40
  74. package/esm2022/events/slot-drag-start-event.mjs +0 -44
  75. package/esm2022/events/view-event-map.mjs +0 -35
  76. package/esm2022/events.mjs +0 -27
  77. package/esm2022/index.mjs +0 -83
  78. package/esm2022/loading.component.mjs +0 -52
  79. package/esm2022/localization/custom-messages.component.mjs +0 -56
  80. package/esm2022/localization/localized-messages.directive.mjs +0 -39
  81. package/esm2022/localization/messages.mjs +0 -614
  82. package/esm2022/localization/scheduler-localization.service.mjs +0 -31
  83. package/esm2022/navigation/focus-position.interface.mjs +0 -5
  84. package/esm2022/navigation/focus.service.mjs +0 -202
  85. package/esm2022/navigation/focusable-element.interface.mjs +0 -5
  86. package/esm2022/navigation/focusable.directive.mjs +0 -98
  87. package/esm2022/navigation/shortcuts.directive.mjs +0 -239
  88. package/esm2022/navigation.mjs +0 -6
  89. package/esm2022/package-metadata.mjs +0 -16
  90. package/esm2022/pdf/pdf-command.directive.mjs +0 -96
  91. package/esm2022/pdf/pdf-export-event.mjs +0 -10
  92. package/esm2022/pdf/pdf.component.mjs +0 -241
  93. package/esm2022/pdf/pdf.module.mjs +0 -42
  94. package/esm2022/pdf/pdf.service.mjs +0 -36
  95. package/esm2022/progress-kendo-angular-scheduler.mjs +0 -8
  96. package/esm2022/scheduler.component.mjs +0 -1981
  97. package/esm2022/scheduler.module.mjs +0 -138
  98. package/esm2022/toolbar/navigation.component.mjs +0 -391
  99. package/esm2022/toolbar/toolbar-context.mjs +0 -5
  100. package/esm2022/toolbar/toolbar-template.directive.mjs +0 -50
  101. package/esm2022/toolbar/toolbar.component.mjs +0 -168
  102. package/esm2022/toolbar/toolbar.service.mjs +0 -46
  103. package/esm2022/toolbar/view-selector.component.mjs +0 -181
  104. package/esm2022/types/actions.mjs +0 -5
  105. package/esm2022/types/create-form-group-args.interface.mjs +0 -5
  106. package/esm2022/types/crud-operation.enum.mjs +0 -18
  107. package/esm2022/types/current-time-settings.interface.mjs +0 -5
  108. package/esm2022/types/date-range.interface.mjs +0 -5
  109. package/esm2022/types/datepicker-options.interface.mjs +0 -5
  110. package/esm2022/types/edit-event-args.interface.mjs +0 -5
  111. package/esm2022/types/edit-mode.enum.mjs +0 -23
  112. package/esm2022/types/editable-settings.interface.mjs +0 -5
  113. package/esm2022/types/event-style-args.interface.mjs +0 -5
  114. package/esm2022/types/focusable-container.mjs +0 -5
  115. package/esm2022/types/group.interface.mjs +0 -5
  116. package/esm2022/types/numeric-options.interface.mjs +0 -5
  117. package/esm2022/types/ongoing-events-settings.interface.mjs +0 -5
  118. package/esm2022/types/resource.interface.mjs +0 -5
  119. package/esm2022/types/scheduler-event.mjs +0 -5
  120. package/esm2022/types/scheduler-model-fields.interface.mjs +0 -5
  121. package/esm2022/types/scheduler-slot.interface.mjs +0 -5
  122. package/esm2022/types/scheduler-view.mjs +0 -9
  123. package/esm2022/types/slot-class-args.interface.mjs +0 -5
  124. package/esm2022/types/slot-selection.mjs +0 -35
  125. package/esm2022/types/view-item.interface.mjs +0 -5
  126. package/esm2022/types.mjs +0 -12
  127. package/esm2022/views/agenda/agenda-header-item.component.mjs +0 -85
  128. package/esm2022/views/agenda/agenda-header.component.mjs +0 -75
  129. package/esm2022/views/agenda/agenda-task-item.component.mjs +0 -137
  130. package/esm2022/views/agenda/agenda-view-internal.component.mjs +0 -424
  131. package/esm2022/views/agenda/agenda-view-list.component.mjs +0 -256
  132. package/esm2022/views/agenda/agenda-view.component.mjs +0 -130
  133. package/esm2022/views/agenda/tasks.collection.mjs +0 -96
  134. package/esm2022/views/agenda/utils.mjs +0 -176
  135. package/esm2022/views/common/base-view.mjs +0 -1099
  136. package/esm2022/views/common/configuration-view-base.mjs +0 -164
  137. package/esm2022/views/common/dom-events.service.mjs +0 -22
  138. package/esm2022/views/common/hint-container.component.mjs +0 -41
  139. package/esm2022/views/common/repeat.pipe.mjs +0 -36
  140. package/esm2022/views/common/resize-hint.component.mjs +0 -97
  141. package/esm2022/views/common/resource-iterator.pipe.mjs +0 -49
  142. package/esm2022/views/common/scheduler-task.mjs +0 -5
  143. package/esm2022/views/common/slot-selectable.directive.mjs +0 -137
  144. package/esm2022/views/common/view-footer.component.mjs +0 -103
  145. package/esm2022/views/common/work-hours-footer.directive.mjs +0 -45
  146. package/esm2022/views/constants.mjs +0 -31
  147. package/esm2022/views/day-time/day-time-slot.service.mjs +0 -633
  148. package/esm2022/views/day-time/day-time-view-base.mjs +0 -244
  149. package/esm2022/views/day-time/day-time-view-item.component.mjs +0 -216
  150. package/esm2022/views/day-time/day-time-view.component.mjs +0 -437
  151. package/esm2022/views/day-time/event-slot.directive.mjs +0 -138
  152. package/esm2022/views/day-time/utils.mjs +0 -32
  153. package/esm2022/views/month/month-slot.component.mjs +0 -166
  154. package/esm2022/views/month/month-slot.service.mjs +0 -404
  155. package/esm2022/views/month/month-view-item.component.mjs +0 -161
  156. package/esm2022/views/month/month-view-renderer.component.mjs +0 -683
  157. package/esm2022/views/month/month-view.component.mjs +0 -203
  158. package/esm2022/views/month/multi-week-view.component.mjs +0 -202
  159. package/esm2022/views/month/utils.mjs +0 -107
  160. package/esm2022/views/multi-day/day-view.component.mjs +0 -186
  161. package/esm2022/views/multi-day/multi-day-view-base.mjs +0 -55
  162. package/esm2022/views/multi-day/multi-day-view-renderer.component.mjs +0 -1002
  163. package/esm2022/views/multi-day/multi-day-view.component.mjs +0 -197
  164. package/esm2022/views/multi-day/utils.mjs +0 -63
  165. package/esm2022/views/multi-day/week-view.component.mjs +0 -189
  166. package/esm2022/views/multi-day/work-week-view.component.mjs +0 -172
  167. package/esm2022/views/scheduler-view.directive.mjs +0 -65
  168. package/esm2022/views/templates/agenda-date-template.directive.mjs +0 -41
  169. package/esm2022/views/templates/agenda-time-template.directive.mjs +0 -46
  170. package/esm2022/views/templates/all-day-event-template.directive.mjs +0 -42
  171. package/esm2022/views/templates/all-day-slot-template.directive.mjs +0 -42
  172. package/esm2022/views/templates/date-header-template.directive.mjs +0 -42
  173. package/esm2022/views/templates/event-template.directive.mjs +0 -42
  174. package/esm2022/views/templates/group-header-template.directive.mjs +0 -42
  175. package/esm2022/views/templates/major-time-header-template.directive.mjs +0 -41
  176. package/esm2022/views/templates/minor-time-header-template.directive.mjs +0 -41
  177. package/esm2022/views/templates/month-day-slot-template.directive.mjs +0 -42
  178. package/esm2022/views/templates/multi-week-day-slot-template.directive.mjs +0 -42
  179. package/esm2022/views/templates/time-slot-template.directive.mjs +0 -43
  180. package/esm2022/views/templates.mjs +0 -16
  181. package/esm2022/views/timeline/timeline-base.mjs +0 -39
  182. package/esm2022/views/timeline/timeline-month-view.component.mjs +0 -211
  183. package/esm2022/views/timeline/timeline-multi-day-view.component.mjs +0 -649
  184. package/esm2022/views/timeline/timeline-view.component.mjs +0 -189
  185. package/esm2022/views/timeline/timeline-week-view.component.mjs +0 -181
  186. package/esm2022/views/timeline/utils.mjs +0 -60
  187. package/esm2022/views/utils.mjs +0 -373
  188. package/esm2022/views/view-context.service.mjs +0 -111
  189. package/esm2022/views/view-items/base-slot.directive.mjs +0 -104
  190. package/esm2022/views/view-items/base-slot.service.mjs +0 -82
  191. package/esm2022/views/view-items/base-view-item.mjs +0 -194
  192. package/esm2022/views/view-items/item-map.mjs +0 -38
  193. package/esm2022/views/view-items/types.mjs +0 -5
  194. package/esm2022/views/view-state.service.mjs +0 -144
  195. package/esm2022/views/year/utils.mjs +0 -60
  196. package/esm2022/views/year/year-view-internal.component.mjs +0 -471
  197. package/esm2022/views/year/year-view.component.mjs +0 -136
@@ -1,10 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { PreventableEvent } from '../events/preventable-event';
6
- /**
7
- * Provides the arguments for the `pdfExport` event.
8
- */
9
- export class PDFExportEvent extends PreventableEvent {
10
- }
@@ -1,241 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { Component, NgZone, Input } from '@angular/core';
6
- import { PDFService } from './pdf.service';
7
- import { drawDOM, exportPDF } from '@progress/kendo-drawing';
8
- import { saveAs } from '@progress/kendo-file-saver';
9
- import * as i0 from "@angular/core";
10
- import * as i1 from "./pdf.service";
11
- const createElement = (tagName, className) => {
12
- const element = document.createElement(tagName);
13
- if (className) {
14
- element.className = className;
15
- }
16
- return element;
17
- };
18
- const createDiv = (className) => createElement('div', className);
19
- /**
20
- * Configures the settings for exporting the Scheduler to PDF
21
- * ([see example](slug:pdfexport_scheduler)).
22
- *
23
- * @example
24
- * ```html
25
- * <kendo-scheduler >
26
- * <kendo-scheduler-pdf fileName="Scheduler.pdf"> </kendo-scheduler-pdf>
27
- * </kendo-scheduler>
28
- * ```
29
- */
30
- export class PDFComponent {
31
- pdfService;
32
- ngZone;
33
- /**
34
- * The author (metadata) of the PDF document.
35
- */
36
- author;
37
- /**
38
- * A flag that indicates whether to produce actual hyperlinks in the exported PDF file.
39
- * It is also possible to set a CSS selector. All matching links will be ignored.
40
- */
41
- avoidLinks;
42
- /**
43
- * Sets the creator of the PDF document.
44
- *
45
- * @default 'Kendo UI PDF Generator'
46
- */
47
- creator = 'Kendo UI PDF Generator';
48
- /**
49
- * Sets the date when the PDF document is created.
50
- *
51
- * @default 'new Date()'
52
- */
53
- date;
54
- /**
55
- * Sets the forced resolution of the images in the exported PDF document.
56
- * By default, the images are exported at their full resolution.
57
- */
58
- imageResolution;
59
- /**
60
- * Specifies the name of the exported PDF file.
61
- */
62
- fileName;
63
- /**
64
- * If set to `true`, the content is forwarded to `proxyURL` even if the
65
- * browser supports local saving of files.
66
- */
67
- forceProxy;
68
- /**
69
- * The keywords (metadata) of the PDF document.
70
- */
71
- keywords;
72
- /**
73
- * Specifies the margins of the page.
74
- * @default 'pt'
75
- */
76
- margin;
77
- /**
78
- * Sets the scale factor for the output in PDF. Use this option when the text size on the screen is too big for printing.
79
- *
80
- * @default 1
81
- */
82
- scale;
83
- /**
84
- * A key/value dictionary of form values which will be sent to the proxy.
85
- * Can be used to submit Anti-Forgery tokens and other metadata.
86
- */
87
- proxyData;
88
- /**
89
- * The URL of the server-side proxy which streams the file to the end user. You need to use a proxy if
90
- * the browser is not capable of saving files locally&mdash;for example, Internet Explorer 9 and Safari.
91
- * It is your responsibility to implement the server-side proxy. The proxy returns the decoded file with
92
- * the `"Content-Disposition"` header set to `attachment; filename="<fileName.pdf>"`.
93
- *
94
- * In the request body, the proxy receives a POST request with the following parameters:
95
- * - `"contentType"`&mdash;The MIME type of the file.
96
- * - `"base64"`&mdash;The base-64 encoded file content.
97
- * - `"fileName"`&mdash;The file name, as requested by the caller.
98
- *
99
- */
100
- proxyURL;
101
- /**
102
- * Sets the name or keyword that indicates where to display the document returned from the proxy.
103
- *
104
- * To display the document in a new window or iframe, the proxy has to have the
105
- * `"Content-Disposition"` header set to `inline; filename="<fileName.pdf>"`.
106
- *
107
- * @default '_self'
108
- */
109
- proxyTarget;
110
- /**
111
- * The producer (metadata) of the PDF document.
112
- */
113
- producer;
114
- /**
115
- * The subject (metadata) of the PDF document.
116
- */
117
- subject;
118
- /**
119
- * The title (metadata) of the PDF document.
120
- */
121
- title;
122
- subscriptions;
123
- container;
124
- constructor(pdfService, ngZone) {
125
- this.pdfService = pdfService;
126
- this.ngZone = ngZone;
127
- this.subscriptions = this.pdfService.elementReady.subscribe(this.createElement.bind(this));
128
- this.saveDataUri = this.saveDataUri.bind(this);
129
- this.exportGroup = this.exportGroup.bind(this);
130
- this.done = this.done.bind(this);
131
- }
132
- ngOnDestroy() {
133
- this.subscriptions.unsubscribe();
134
- }
135
- get drawOptions() {
136
- return {
137
- _destructive: true,
138
- avoidLinks: this.avoidLinks,
139
- margin: this.margin,
140
- scale: this.scale
141
- };
142
- }
143
- get pdfOptions() {
144
- return {
145
- author: this.author,
146
- creator: this.creator,
147
- date: this.date,
148
- imgDPI: this.imageResolution,
149
- keywords: this.keywords,
150
- margin: this.margin,
151
- producer: this.producer,
152
- subject: this.subject,
153
- title: this.title
154
- };
155
- }
156
- get saveOptions() {
157
- return {
158
- forceProxy: this.forceProxy,
159
- proxyData: this.proxyData,
160
- proxyTarget: this.proxyTarget,
161
- proxyURL: this.proxyURL
162
- };
163
- }
164
- createElement(args) {
165
- this.ngZone.runOutsideAngular(() => {
166
- const container = this.container = createDiv();
167
- container.style.top = container.style.left = '-10000px';
168
- container.style.position = 'absolute';
169
- const wrapper = createDiv('k-scheduler');
170
- wrapper.style.position = 'relative';
171
- wrapper.appendChild(args.element);
172
- container.appendChild(wrapper);
173
- document.body.appendChild(container);
174
- this.save(wrapper);
175
- });
176
- }
177
- save(element) {
178
- this.drawElement(element, this.drawOptions)
179
- .then(this.exportGroup)
180
- .then(this.saveDataUri)
181
- .then(this.done, this.done);
182
- }
183
- drawElement(element, options) {
184
- return drawDOM(element, options);
185
- }
186
- exportGroup(group) {
187
- return exportPDF(group, this.pdfOptions);
188
- }
189
- saveDataUri(dataUri) {
190
- saveAs(dataUri, this.fileName, this.saveOptions);
191
- }
192
- done() {
193
- if (this.container) {
194
- document.body.removeChild(this.container);
195
- this.container = null;
196
- }
197
- this.pdfService.done.emit();
198
- }
199
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PDFComponent, deps: [{ token: i1.PDFService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
200
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: PDFComponent, isStandalone: true, selector: "kendo-scheduler-pdf", inputs: { author: "author", avoidLinks: "avoidLinks", creator: "creator", date: "date", imageResolution: "imageResolution", fileName: "fileName", forceProxy: "forceProxy", keywords: "keywords", margin: "margin", scale: "scale", proxyData: "proxyData", proxyURL: "proxyURL", proxyTarget: "proxyTarget", producer: "producer", subject: "subject", title: "title" }, ngImport: i0, template: '', isInline: true });
201
- }
202
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PDFComponent, decorators: [{
203
- type: Component,
204
- args: [{
205
- selector: 'kendo-scheduler-pdf',
206
- template: '',
207
- standalone: true
208
- }]
209
- }], ctorParameters: () => [{ type: i1.PDFService }, { type: i0.NgZone }], propDecorators: { author: [{
210
- type: Input
211
- }], avoidLinks: [{
212
- type: Input
213
- }], creator: [{
214
- type: Input
215
- }], date: [{
216
- type: Input
217
- }], imageResolution: [{
218
- type: Input
219
- }], fileName: [{
220
- type: Input
221
- }], forceProxy: [{
222
- type: Input
223
- }], keywords: [{
224
- type: Input
225
- }], margin: [{
226
- type: Input
227
- }], scale: [{
228
- type: Input
229
- }], proxyData: [{
230
- type: Input
231
- }], proxyURL: [{
232
- type: Input
233
- }], proxyTarget: [{
234
- type: Input
235
- }], producer: [{
236
- type: Input
237
- }], subject: [{
238
- type: Input
239
- }], title: [{
240
- type: Input
241
- }] } });
@@ -1,42 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { NgModule } from '@angular/core';
6
- import { KENDO_SCHEDULERPDF } from '../directives';
7
- import { IconsService } from '@progress/kendo-angular-icons';
8
- import * as i0 from "@angular/core";
9
- import * as i1 from "./pdf.component";
10
- import * as i2 from "./pdf-command.directive";
11
- // IMPORTANT: NgModule export kept for backwards compatibility
12
- /**
13
- * Represents the [`NgModule`](link:site.data.urls.angular['ngmoduleapi']) definition for the Scheduler PDF component.
14
- *
15
- * @example
16
- * ```typescript
17
- * import { NgModule } from '@angular/core';
18
- * import { BrowserModule } from '@angular/platform-browser';
19
- * import { SchedulerModule, PDFModule } from '@progress/kendo-angular-scheduler';
20
- * import { AppComponent } from './app.component';
21
- *
22
- * @NgModule({
23
- * declarations: [AppComponent],
24
- * imports: [BrowserModule, SchedulerModule, PDFModule],
25
- * bootstrap: [AppComponent]
26
- * })
27
- * export class AppModule {}
28
- * ```
29
- */
30
- export class PDFModule {
31
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PDFModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
32
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: PDFModule, imports: [i1.PDFComponent, i2.PDFCommandDirective], exports: [i1.PDFComponent, i2.PDFCommandDirective] });
33
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PDFModule, providers: [IconsService], imports: [i2.PDFCommandDirective] });
34
- }
35
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PDFModule, decorators: [{
36
- type: NgModule,
37
- args: [{
38
- imports: [...KENDO_SCHEDULERPDF],
39
- exports: [...KENDO_SCHEDULERPDF],
40
- providers: [IconsService]
41
- }]
42
- }] });
@@ -1,36 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { EventEmitter, Injectable, isDevMode } from '@angular/core';
6
- import { hasObservers } from '@progress/kendo-angular-common';
7
- import * as i0 from "@angular/core";
8
- /**
9
- * @hidden
10
- */
11
- export class PDFService {
12
- createElement = new EventEmitter();
13
- exportClick = new EventEmitter();
14
- done = new EventEmitter();
15
- elementReady = new EventEmitter();
16
- save() {
17
- if (!hasObservers(this.elementReady)) {
18
- if (isDevMode()) {
19
- throw new Error('Creating PDF requires including the PDFModule and adding the <kendo-scheduler-pdf> component.');
20
- }
21
- return;
22
- }
23
- if (!hasObservers(this.createElement)) {
24
- if (isDevMode()) {
25
- throw new Error('No active Scheduler view to export.');
26
- }
27
- return;
28
- }
29
- this.createElement.emit();
30
- }
31
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PDFService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
32
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PDFService });
33
- }
34
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PDFService, decorators: [{
35
- type: Injectable
36
- }] });
@@ -1,8 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- /**
6
- * Generated bundle index. Do not edit.
7
- */
8
- export * from './index';