@progress/kendo-angular-scheduler 17.0.0-develop.4 → 17.0.0-develop.40

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 (269) hide show
  1. package/README.md +33 -28
  2. package/data-binding.directive.d.ts +1 -1
  3. package/editing/date-time-picker.component.d.ts +1 -1
  4. package/editing/edit-dialog-template.directive.d.ts +1 -1
  5. package/editing/edit-dialog.component.d.ts +1 -1
  6. package/editing/edit.service.d.ts +3 -3
  7. package/editing/recurrence/end-rule-radio-button.directive.d.ts +1 -1
  8. package/editing/recurrence/localization/messages.d.ts +1 -1
  9. package/editing/recurrence/recurrence-editor.component.d.ts +1 -1
  10. package/editing/recurrence/recurrence-end-rule-editor.component.d.ts +1 -1
  11. package/editing/recurrence/recurrence-interval-editor.component.d.ts +1 -1
  12. package/editing/recurrence/recurrence-monthly-yearly-editor.component.d.ts +1 -1
  13. package/editing/recurrence/recurrence.service.d.ts +4 -4
  14. package/editing/recurrence/repeat-on-radio-button.directive.d.ts +1 -1
  15. package/editing/resource-editor-base.d.ts +1 -1
  16. package/editing/timezone-editor.component.d.ts +1 -1
  17. package/editing-directives/editing-directive-base.d.ts +1 -1
  18. package/editing-directives/reactive-editing.directive.d.ts +1 -1
  19. package/{esm2020 → esm2022}/data-binding.directive.mjs +20 -13
  20. package/{esm2020 → esm2022}/editing/date-time-picker.component.mjs +15 -9
  21. package/{esm2020 → esm2022}/editing/dialogs.service.mjs +10 -4
  22. package/{esm2020 → esm2022}/editing/edit-dialog-template.directive.mjs +8 -3
  23. package/{esm2020 → esm2022}/editing/edit-dialog.component.mjs +45 -26
  24. package/{esm2020 → esm2022}/editing/edit.service.mjs +9 -5
  25. package/{esm2020 → esm2022}/editing/local-data-changes.service.mjs +5 -6
  26. package/{esm2020 → esm2022}/editing/recurrence/end-rule-radio-button.directive.mjs +13 -6
  27. package/{esm2020 → esm2022}/editing/recurrence/localization/custom-messages.component.mjs +9 -8
  28. package/{esm2020 → esm2022}/editing/recurrence/localization/localized-messages.directive.mjs +9 -8
  29. package/esm2022/editing/recurrence/localization/messages.mjs +239 -0
  30. package/{esm2020 → esm2022}/editing/recurrence/localization/recurrence-localization.service.mjs +4 -3
  31. package/{esm2020 → esm2022}/editing/recurrence/recurrence-editor.component.mjs +61 -36
  32. package/{esm2020 → esm2022}/editing/recurrence/recurrence-end-rule-editor.component.mjs +33 -26
  33. package/{esm2020 → esm2022}/editing/recurrence/recurrence-frequency-editor.component.mjs +9 -5
  34. package/{esm2020 → esm2022}/editing/recurrence/recurrence-interval-editor.component.mjs +18 -15
  35. package/{esm2020 → esm2022}/editing/recurrence/recurrence-monthly-yearly-editor.component.mjs +28 -15
  36. package/{esm2020 → esm2022}/editing/recurrence/recurrence-weekday-rule-editor.component.mjs +10 -6
  37. package/{esm2020 → esm2022}/editing/recurrence/recurrence.service.mjs +13 -7
  38. package/{esm2020 → esm2022}/editing/recurrence/repeat-on-radio-button.directive.mjs +18 -11
  39. package/{esm2020 → esm2022}/editing/resource-editor-base.mjs +9 -9
  40. package/{esm2020 → esm2022}/editing/resource-multiple-editor.component.mjs +7 -6
  41. package/{esm2020 → esm2022}/editing/resource-single-editor.component.mjs +7 -6
  42. package/{esm2020 → esm2022}/editing/timezone-editor.component.mjs +28 -22
  43. package/{esm2020 → esm2022}/editing-directives/base-edit.service.mjs +28 -11
  44. package/{esm2020 → esm2022}/editing-directives/editing-directive-base.mjs +27 -20
  45. package/{esm2020 → esm2022}/editing-directives/local-edit.service.mjs +6 -4
  46. package/{esm2020 → esm2022}/editing-directives/reactive-editing.directive.mjs +10 -3
  47. package/{esm2020 → esm2022}/events/add-event.mjs +8 -0
  48. package/{esm2020 → esm2022}/events/cancel-event.mjs +4 -0
  49. package/{esm2020 → esm2022}/events/create-event.mjs +24 -0
  50. package/{esm2020 → esm2022}/events/date-change-event.mjs +12 -0
  51. package/{esm2020 → esm2022}/events/drag-end-event.mjs +28 -0
  52. package/esm2022/events/drag-event.mjs +54 -0
  53. package/{esm2020 → esm2022}/events/drag-start-event.mjs +12 -0
  54. package/{esm2020 → esm2022}/events/edit-event-base.mjs +16 -0
  55. package/{esm2020 → esm2022}/events/edit-event.mjs +12 -0
  56. package/{esm2020 → esm2022}/events/event-click-event.mjs +16 -0
  57. package/{esm2020 → esm2022}/events/event-keydown-event.mjs +12 -0
  58. package/{esm2020 → esm2022}/events/navigate-event.mjs +8 -0
  59. package/{esm2020 → esm2022}/events/preventable-event.mjs +1 -3
  60. package/{esm2020 → esm2022}/events/remove-event.mjs +12 -0
  61. package/{esm2020 → esm2022}/events/resize-end-event.mjs +20 -0
  62. package/{esm2020 → esm2022}/events/resize-event.mjs +28 -0
  63. package/{esm2020 → esm2022}/events/resize-start-event.mjs +12 -0
  64. package/{esm2020 → esm2022}/events/save-event.mjs +8 -0
  65. package/{esm2020 → esm2022}/events/slot-click-event.mjs +28 -0
  66. package/{esm2020 → esm2022}/events/slot-drag-event.mjs +24 -0
  67. package/{esm2020 → esm2022}/events/slot-drag-start-event.mjs +24 -0
  68. package/{esm2020 → esm2022}/index.mjs +0 -6
  69. package/{esm2020 → esm2022}/loading.component.mjs +12 -8
  70. package/{esm2020 → esm2022}/localization/custom-messages.component.mjs +9 -8
  71. package/{esm2020 → esm2022}/localization/localized-messages.directive.mjs +9 -8
  72. package/esm2022/localization/messages.mjs +614 -0
  73. package/{esm2020 → esm2022}/localization/scheduler-localization.service.mjs +3 -3
  74. package/{esm2020 → esm2022}/navigation/focus.service.mjs +21 -15
  75. package/{esm2020 → esm2022}/navigation/focusable.directive.mjs +19 -15
  76. package/esm2022/navigation/shortcuts.directive.mjs +220 -0
  77. package/{esm2020 → esm2022}/package-metadata.mjs +2 -2
  78. package/{esm2020 → esm2022}/pdf/pdf-command.directive.mjs +9 -8
  79. package/{esm2020 → esm2022}/pdf/pdf.component.mjs +93 -8
  80. package/{esm2020 → esm2022}/pdf/pdf.module.mjs +4 -4
  81. package/{esm2020 → esm2022}/pdf/pdf.service.mjs +7 -9
  82. package/{esm2020 → esm2022}/scheduler.component.mjs +412 -256
  83. package/{esm2020 → esm2022}/scheduler.module.mjs +30 -30
  84. package/{esm2020 → esm2022}/toolbar/navigation.component.mjs +50 -35
  85. package/{esm2020 → esm2022}/toolbar/toolbar-template.directive.mjs +4 -3
  86. package/{esm2020 → esm2022}/toolbar/toolbar.component.mjs +32 -18
  87. package/{esm2020 → esm2022}/toolbar/toolbar.service.mjs +16 -4
  88. package/{esm2020 → esm2022}/toolbar/view-selector.component.mjs +24 -16
  89. package/{esm2020 → esm2022}/types/slot-selection.mjs +16 -0
  90. package/{esm2020 → esm2022}/views/agenda/agenda-header-item.component.mjs +9 -9
  91. package/{esm2020 → esm2022}/views/agenda/agenda-header.component.mjs +10 -8
  92. package/{esm2020 → esm2022}/views/agenda/agenda-task-item.component.mjs +18 -12
  93. package/{esm2020 → esm2022}/views/agenda/agenda-view-internal.component.mjs +48 -17
  94. package/{esm2020 → esm2022}/views/agenda/agenda-view-list.component.mjs +17 -7
  95. package/{esm2020 → esm2022}/views/agenda/agenda-view.component.mjs +46 -41
  96. package/{esm2020 → esm2022}/views/agenda/tasks.collection.mjs +8 -4
  97. package/{esm2020 → esm2022}/views/common/base-view.mjs +93 -36
  98. package/{esm2020 → esm2022}/views/common/configuration-view-base.mjs +52 -15
  99. package/esm2022/views/common/dom-events.service.mjs +22 -0
  100. package/{esm2020 → esm2022}/views/common/hint-container.component.mjs +6 -4
  101. package/{esm2020 → esm2022}/views/common/repeat.pipe.mjs +7 -6
  102. package/{esm2020 → esm2022}/views/common/resize-hint.component.mjs +7 -7
  103. package/{esm2020 → esm2022}/views/common/resource-iterator.pipe.mjs +9 -7
  104. package/{esm2020 → esm2022}/views/common/slot-selectable.directive.mjs +22 -10
  105. package/{esm2020 → esm2022}/views/common/view-footer.component.mjs +18 -13
  106. package/{esm2020 → esm2022}/views/common/work-hours-footer.directive.mjs +7 -5
  107. package/{esm2020 → esm2022}/views/day-time/day-time-slot.service.mjs +11 -7
  108. package/{esm2020 → esm2022}/views/day-time/day-time-view-base.mjs +81 -8
  109. package/{esm2020 → esm2022}/views/day-time/day-time-view-item.component.mjs +18 -14
  110. package/{esm2020 → esm2022}/views/day-time/day-time-view.component.mjs +50 -29
  111. package/{esm2020 → esm2022}/views/day-time/event-slot.directive.mjs +23 -14
  112. package/{esm2020 → esm2022}/views/month/month-slot.component.mjs +21 -11
  113. package/{esm2020 → esm2022}/views/month/month-slot.service.mjs +8 -6
  114. package/{esm2020 → esm2022}/views/month/month-view-item.component.mjs +10 -9
  115. package/{esm2020 → esm2022}/views/month/month-view-renderer.component.mjs +31 -15
  116. package/{esm2020 → esm2022}/views/month/month-view.component.mjs +49 -31
  117. package/{esm2020 → esm2022}/views/month/multi-week-view.component.mjs +53 -35
  118. package/{esm2020 → esm2022}/views/multi-day/day-view.component.mjs +25 -17
  119. package/{esm2020 → esm2022}/views/multi-day/multi-day-view-base.mjs +17 -6
  120. package/{esm2020 → esm2022}/views/multi-day/multi-day-view-renderer.component.mjs +22 -13
  121. package/{esm2020 → esm2022}/views/multi-day/multi-day-view.component.mjs +22 -20
  122. package/{esm2020 → esm2022}/views/multi-day/week-view.component.mjs +44 -35
  123. package/{esm2020 → esm2022}/views/multi-day/work-week-view.component.mjs +16 -16
  124. package/{esm2020 → esm2022}/views/scheduler-view.directive.mjs +16 -10
  125. package/{esm2020 → esm2022}/views/templates/agenda-date-template.directive.mjs +4 -3
  126. package/{esm2020 → esm2022}/views/templates/agenda-time-template.directive.mjs +4 -3
  127. package/{esm2020 → esm2022}/views/templates/all-day-event-template.directive.mjs +4 -3
  128. package/{esm2020 → esm2022}/views/templates/all-day-slot-template.directive.mjs +4 -3
  129. package/{esm2020 → esm2022}/views/templates/date-header-template.directive.mjs +4 -3
  130. package/{esm2020 → esm2022}/views/templates/event-template.directive.mjs +4 -3
  131. package/{esm2020 → esm2022}/views/templates/group-header-template.directive.mjs +4 -3
  132. package/{esm2020 → esm2022}/views/templates/major-time-header-template.directive.mjs +4 -3
  133. package/{esm2020 → esm2022}/views/templates/minor-time-header-template.directive.mjs +4 -3
  134. package/{esm2020 → esm2022}/views/templates/month-day-slot-template.directive.mjs +4 -3
  135. package/{esm2020 → esm2022}/views/templates/multi-week-day-slot-template.directive.mjs +4 -3
  136. package/{esm2020 → esm2022}/views/templates/time-slot-template.directive.mjs +4 -3
  137. package/{esm2020 → esm2022}/views/timeline/timeline-base.mjs +10 -6
  138. package/{esm2020 → esm2022}/views/timeline/timeline-month-view.component.mjs +36 -34
  139. package/{esm2020 → esm2022}/views/timeline/timeline-multi-day-view.component.mjs +16 -13
  140. package/{esm2020 → esm2022}/views/timeline/timeline-view.component.mjs +18 -16
  141. package/{esm2020 → esm2022}/views/timeline/timeline-week-view.component.mjs +40 -40
  142. package/{esm2020 → esm2022}/views/timeline/utils.mjs +3 -3
  143. package/{esm2020 → esm2022}/views/view-context.service.mjs +33 -9
  144. package/{esm2020 → esm2022}/views/view-items/base-slot.directive.mjs +15 -9
  145. package/{esm2020 → esm2022}/views/view-items/base-slot.service.mjs +3 -5
  146. package/{esm2020 → esm2022}/views/view-items/base-view-item.mjs +30 -15
  147. package/{esm2020 → esm2022}/views/view-items/item-map.mjs +2 -4
  148. package/{esm2020 → esm2022}/views/view-state.service.mjs +56 -20
  149. package/{esm2020 → esm2022}/views/year/year-view-internal.component.mjs +45 -27
  150. package/{esm2020 → esm2022}/views/year/year-view.component.mjs +38 -31
  151. package/{fesm2020 → fesm2022}/progress-kendo-angular-scheduler.mjs +3654 -1973
  152. package/index.d.ts +0 -6
  153. package/loading.component.d.ts +1 -1
  154. package/localization/messages.d.ts +1 -1
  155. package/navigation/focusable.directive.d.ts +1 -1
  156. package/package.json +24 -30
  157. package/pdf/pdf.component.d.ts +1 -1
  158. package/scheduler.component.d.ts +1 -1
  159. package/schematics/ngAdd/index.js +3 -3
  160. package/toolbar/navigation.component.d.ts +1 -1
  161. package/toolbar/toolbar.component.d.ts +1 -1
  162. package/toolbar/view-selector.component.d.ts +1 -1
  163. package/types/actions.d.ts +1 -1
  164. package/types/focusable-container.d.ts +1 -1
  165. package/types/slot-selection.d.ts +1 -1
  166. package/views/agenda/agenda-header-item.component.d.ts +1 -1
  167. package/views/agenda/agenda-header.component.d.ts +1 -1
  168. package/views/agenda/agenda-task-item.component.d.ts +1 -1
  169. package/views/agenda/agenda-view-internal.component.d.ts +1 -1
  170. package/views/agenda/agenda-view-list.component.d.ts +1 -1
  171. package/views/agenda/agenda-view.component.d.ts +2 -6
  172. package/views/common/base-view.d.ts +1 -1
  173. package/views/common/configuration-view-base.d.ts +1 -1
  174. package/views/common/resize-hint.component.d.ts +1 -1
  175. package/views/common/slot-selectable.directive.d.ts +1 -1
  176. package/views/common/view-footer.component.d.ts +1 -1
  177. package/views/common/work-hours-footer.directive.d.ts +1 -1
  178. package/views/day-time/day-time-view-base.d.ts +2 -6
  179. package/views/day-time/day-time-view-item.component.d.ts +1 -1
  180. package/views/day-time/day-time-view.component.d.ts +1 -1
  181. package/views/day-time/event-slot.directive.d.ts +2 -2
  182. package/views/month/month-slot.component.d.ts +1 -1
  183. package/views/month/month-view-renderer.component.d.ts +1 -1
  184. package/views/month/month-view.component.d.ts +7 -4
  185. package/views/month/multi-week-view.component.d.ts +7 -4
  186. package/views/multi-day/day-view.component.d.ts +1 -1
  187. package/views/multi-day/multi-day-view-base.d.ts +1 -1
  188. package/views/multi-day/multi-day-view-renderer.component.d.ts +1 -1
  189. package/views/multi-day/multi-day-view.component.d.ts +1 -1
  190. package/views/multi-day/week-view.component.d.ts +1 -1
  191. package/views/scheduler-view.directive.d.ts +1 -1
  192. package/views/timeline/timeline-base.d.ts +1 -1
  193. package/views/timeline/timeline-month-view.component.d.ts +1 -1
  194. package/views/timeline/timeline-multi-day-view.component.d.ts +1 -1
  195. package/views/timeline/timeline-view.component.d.ts +1 -1
  196. package/views/timeline/timeline-week-view.component.d.ts +1 -1
  197. package/views/view-items/base-slot.directive.d.ts +1 -1
  198. package/views/view-items/base-view-item.d.ts +1 -1
  199. package/views/year/year-view-internal.component.d.ts +1 -4
  200. package/views/year/year-view.component.d.ts +6 -6
  201. package/esm2020/editing/recurrence/localization/messages.mjs +0 -91
  202. package/esm2020/events/drag-event.mjs +0 -18
  203. package/esm2020/localization/messages.mjs +0 -213
  204. package/esm2020/navigation/shortcuts.directive.mjs +0 -213
  205. package/esm2020/shared.module.mjs +0 -40
  206. package/esm2020/views/common/dom-events.service.mjs +0 -24
  207. package/esm2020/views/common/views-shared.module.mjs +0 -62
  208. package/esm2020/views/day-time/day-time.module.mjs +0 -39
  209. package/esm2020/views/month/month-view.module.mjs +0 -47
  210. package/esm2020/views/multi-day/multi-day-view.module.mjs +0 -52
  211. package/esm2020/views/timeline/timeline-view.module.mjs +0 -48
  212. package/fesm2015/progress-kendo-angular-scheduler.mjs +0 -19223
  213. package/shared.module.d.ts +0 -19
  214. package/views/common/views-shared.module.d.ts +0 -22
  215. package/views/day-time/day-time.module.d.ts +0 -18
  216. package/views/month/month-view.module.d.ts +0 -18
  217. package/views/multi-day/multi-day-view.module.d.ts +0 -20
  218. package/views/timeline/timeline-view.module.d.ts +0 -19
  219. /package/{esm2020 → esm2022}/common/constants.mjs +0 -0
  220. /package/{esm2020 → esm2022}/common/default-model-fields.mjs +0 -0
  221. /package/{esm2020 → esm2022}/common/dom-queries.mjs +0 -0
  222. /package/{esm2020 → esm2022}/common/getter.mjs +0 -0
  223. /package/{esm2020 → esm2022}/common/modifiers.mjs +0 -0
  224. /package/{esm2020 → esm2022}/common/setter.mjs +0 -0
  225. /package/{esm2020 → esm2022}/common/util.mjs +0 -0
  226. /package/{esm2020 → esm2022}/directives.mjs +0 -0
  227. /package/{esm2020 → esm2022}/editing-directives/edit-service.interface.mjs +0 -0
  228. /package/{esm2020 → esm2022}/editing-directives/utils.mjs +0 -0
  229. /package/{esm2020 → esm2022}/events/slot-drag-end-event.mjs +0 -0
  230. /package/{esm2020 → esm2022}/events/view-event-map.mjs +0 -0
  231. /package/{esm2020 → esm2022}/events.mjs +0 -0
  232. /package/{esm2020 → esm2022}/navigation/focus-position.interface.mjs +0 -0
  233. /package/{esm2020 → esm2022}/navigation/focusable-element.interface.mjs +0 -0
  234. /package/{esm2020 → esm2022}/navigation.mjs +0 -0
  235. /package/{esm2020 → esm2022}/pdf/pdf-export-event.mjs +0 -0
  236. /package/{esm2020 → esm2022}/progress-kendo-angular-scheduler.mjs +0 -0
  237. /package/{esm2020 → esm2022}/toolbar/toolbar-context.mjs +0 -0
  238. /package/{esm2020 → esm2022}/types/actions.mjs +0 -0
  239. /package/{esm2020 → esm2022}/types/create-form-group-args.interface.mjs +0 -0
  240. /package/{esm2020 → esm2022}/types/crud-operation.enum.mjs +0 -0
  241. /package/{esm2020 → esm2022}/types/current-time-settings.interface.mjs +0 -0
  242. /package/{esm2020 → esm2022}/types/date-range.interface.mjs +0 -0
  243. /package/{esm2020 → esm2022}/types/datepicker-options.interface.mjs +0 -0
  244. /package/{esm2020 → esm2022}/types/edit-event-args.interface.mjs +0 -0
  245. /package/{esm2020 → esm2022}/types/edit-mode.enum.mjs +0 -0
  246. /package/{esm2020 → esm2022}/types/editable-settings.interface.mjs +0 -0
  247. /package/{esm2020 → esm2022}/types/event-style-args.interface.mjs +0 -0
  248. /package/{esm2020 → esm2022}/types/focusable-container.mjs +0 -0
  249. /package/{esm2020 → esm2022}/types/group.interface.mjs +0 -0
  250. /package/{esm2020 → esm2022}/types/numeric-options.interface.mjs +0 -0
  251. /package/{esm2020 → esm2022}/types/ongoing-events-settings.interface.mjs +0 -0
  252. /package/{esm2020 → esm2022}/types/resource.interface.mjs +0 -0
  253. /package/{esm2020 → esm2022}/types/scheduler-event.mjs +0 -0
  254. /package/{esm2020 → esm2022}/types/scheduler-model-fields.interface.mjs +0 -0
  255. /package/{esm2020 → esm2022}/types/scheduler-slot.interface.mjs +0 -0
  256. /package/{esm2020 → esm2022}/types/scheduler-view.mjs +0 -0
  257. /package/{esm2020 → esm2022}/types/slot-class-args.interface.mjs +0 -0
  258. /package/{esm2020 → esm2022}/types/view-item.interface.mjs +0 -0
  259. /package/{esm2020 → esm2022}/types.mjs +0 -0
  260. /package/{esm2020 → esm2022}/views/agenda/utils.mjs +0 -0
  261. /package/{esm2020 → esm2022}/views/common/scheduler-task.mjs +0 -0
  262. /package/{esm2020 → esm2022}/views/constants.mjs +0 -0
  263. /package/{esm2020 → esm2022}/views/day-time/utils.mjs +0 -0
  264. /package/{esm2020 → esm2022}/views/month/utils.mjs +0 -0
  265. /package/{esm2020 → esm2022}/views/multi-day/utils.mjs +0 -0
  266. /package/{esm2020 → esm2022}/views/templates.mjs +0 -0
  267. /package/{esm2020 → esm2022}/views/utils.mjs +0 -0
  268. /package/{esm2020 → esm2022}/views/view-items/types.mjs +0 -0
  269. /package/{esm2020 → esm2022}/views/year/utils.mjs +0 -0
@@ -36,6 +36,46 @@ import * as i4 from "@angular/forms";
36
36
  * @hidden
37
37
  */
38
38
  export class EditDialogComponent {
39
+ ngZone;
40
+ editService;
41
+ localization;
42
+ changeDetector;
43
+ element;
44
+ focusService;
45
+ multipleResourceEditors;
46
+ singleResourceEditors;
47
+ resources = [];
48
+ timezone = 'Etc/UTC';
49
+ weekStart;
50
+ fields;
51
+ editTemplate;
52
+ get autoFocusedElement() {
53
+ if (this.editTemplate) {
54
+ return this.editTemplate.autoFocusedElement;
55
+ }
56
+ return '.k-form-field input';
57
+ }
58
+ dialogTitle;
59
+ isActive;
60
+ editMode;
61
+ get isEditingSeries() {
62
+ return this.editMode === EditMode.Series && Boolean(this.formGroup.get(this.fields.recurrenceRule));
63
+ }
64
+ get eventTimezone() {
65
+ return formValueOrDefault(this.formGroup, this.fields.startTimezone, this.timezone);
66
+ }
67
+ get endTimezone() {
68
+ return formValueOrDefault(this.formGroup, this.fields.endTimezone, this.eventTimezone);
69
+ }
70
+ recurrenceStart;
71
+ setTimeZone = false;
72
+ setSeparateStartEndTimeZones = false;
73
+ formGroup;
74
+ editedEvent;
75
+ isNew;
76
+ saveIcon = saveIcon;
77
+ cancelIcon = cancelOutlineIcon;
78
+ subs;
39
79
  constructor(ngZone, editService, localization, changeDetector, element, focusService) {
40
80
  this.ngZone = ngZone;
41
81
  this.editService = editService;
@@ -43,12 +83,6 @@ export class EditDialogComponent {
43
83
  this.changeDetector = changeDetector;
44
84
  this.element = element;
45
85
  this.focusService = focusService;
46
- this.resources = [];
47
- this.timezone = 'Etc/UTC';
48
- this.setTimeZone = false;
49
- this.setSeparateStartEndTimeZones = false;
50
- this.saveIcon = saveIcon;
51
- this.cancelIcon = cancelOutlineIcon;
52
86
  this.subs = this.editService.changed.subscribe(() => {
53
87
  this.ngZone.run(() => { this.onChange(); });
54
88
  });
@@ -64,21 +98,6 @@ export class EditDialogComponent {
64
98
  e.stopPropagation();
65
99
  }));
66
100
  }
67
- get autoFocusedElement() {
68
- if (this.editTemplate) {
69
- return this.editTemplate.autoFocusedElement;
70
- }
71
- return '.k-form-field input';
72
- }
73
- get isEditingSeries() {
74
- return this.editMode === EditMode.Series && Boolean(this.formGroup.get(this.fields.recurrenceRule));
75
- }
76
- get eventTimezone() {
77
- return formValueOrDefault(this.formGroup, this.fields.startTimezone, this.timezone);
78
- }
79
- get endTimezone() {
80
- return formValueOrDefault(this.formGroup, this.fields.endTimezone, this.eventTimezone);
81
- }
82
101
  onChange() {
83
102
  this.changeDetector.markForCheck();
84
103
  if (this.editService.hasNewEvent) {
@@ -234,9 +253,8 @@ export class EditDialogComponent {
234
253
  const value = this.formGroup.get(field).value;
235
254
  return toLocalDate(ZonedDate.fromLocalDate(value, timezone).toUTCDate());
236
255
  }
237
- }
238
- EditDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditDialogComponent, deps: [{ token: i0.NgZone }, { token: i1.EditService }, { token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i3.FocusService }], target: i0.ɵɵFactoryTarget.Component });
239
- EditDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: EditDialogComponent, isStandalone: true, selector: "kendo-scheduler-edit-dialog", inputs: { resources: "resources", timezone: "timezone", weekStart: "weekStart", fields: "fields", editTemplate: "editTemplate" }, viewQueries: [{ propertyName: "multipleResourceEditors", predicate: MultipleResourceEditorComponent, descendants: true }, { propertyName: "singleResourceEditors", predicate: SingleResourceEditorComponent, descendants: true }], ngImport: i0, template: `
256
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditDialogComponent, deps: [{ token: i0.NgZone }, { token: i1.EditService }, { token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i3.FocusService }], target: i0.ɵɵFactoryTarget.Component });
257
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: EditDialogComponent, isStandalone: true, selector: "kendo-scheduler-edit-dialog", inputs: { resources: "resources", timezone: "timezone", weekStart: "weekStart", fields: "fields", editTemplate: "editTemplate" }, viewQueries: [{ propertyName: "multipleResourceEditors", predicate: MultipleResourceEditorComponent, descendants: true }, { propertyName: "singleResourceEditors", predicate: SingleResourceEditorComponent, descendants: true }], ngImport: i0, template: `
240
258
  <kendo-dialog (close)='onClose()' [minWidth]='400' *ngIf='isActive' title='{{ textFor("editorTitle") }}' class='k-scheduler-edit-dialog' [autoFocusedElement]="autoFocusedElement">
241
259
  <ng-container *ngIf='!editTemplate'>
242
260
  <form
@@ -427,8 +445,9 @@ EditDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ve
427
445
  >{{ textFor('cancel') }}</button>
428
446
  </kendo-dialog-actions>
429
447
  </kendo-dialog>
430
- `, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: DialogComponent, selector: "kendo-dialog", inputs: ["actions", "actionsLayout", "autoFocusedElement", "title", "width", "minWidth", "maxWidth", "height", "minHeight", "maxHeight", "animation", "themeColor"], outputs: ["action", "close"], exportAs: ["kendoDialog"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i4.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i4.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i4.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i4.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i4.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i4.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: FormFieldComponent, selector: "kendo-formfield", inputs: ["showHints", "orientation", "showErrors"] }, { kind: "component", type: LabelComponent, selector: "kendo-label", inputs: ["text", "for", "optional", "labelCssStyle", "labelCssClass"], exportAs: ["kendoLabel"] }, { kind: "directive", type: TextBoxDirective, selector: "input[kendoTextBox]", inputs: ["value"] }, { kind: "component", type: SchedulerDateTimePickerComponent, selector: "kendo-scheduler-datetime-picker", inputs: ["isAllDay"], outputs: ["valueChange"] }, { kind: "directive", type: CheckBoxDirective, selector: "input[kendoCheckBox]", inputs: ["size", "rounded"] }, { kind: "directive", type: LabelDirective, selector: "label[for]", inputs: ["for", "labelClass"] }, { kind: "component", type: TimeZoneEditorComponent, selector: "kendo-timezone-editor", inputs: ["width"], outputs: ["valueChange"] }, { kind: "component", type: RecurrenceEditorComponent, selector: "kendo-recurrence-editor", inputs: ["start", "timezone", "weekStart", "repeatEveryOptions", "endAfterOptions", "repeatOnOptions", "endOnOptions"], outputs: ["valueChange"], exportAs: ["kendoRecurrenceEditor"] }, { kind: "directive", type: TextAreaDirective, selector: "textarea[kendoTextArea]", inputs: ["autoSize", "value"], outputs: ["valueChange"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: MultipleResourceEditorComponent, selector: "kendo-multiple-resource-editor" }, { kind: "component", type: SingleResourceEditorComponent, selector: "kendo-single-resource-editor" }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
431
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditDialogComponent, decorators: [{
448
+ `, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: DialogComponent, selector: "kendo-dialog", inputs: ["actions", "actionsLayout", "autoFocusedElement", "title", "width", "minWidth", "maxWidth", "height", "minHeight", "maxHeight", "animation", "themeColor"], outputs: ["action", "close"], exportAs: ["kendoDialog"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i4.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i4.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i4.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i4.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i4.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i4.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: FormFieldComponent, selector: "kendo-formfield", inputs: ["showHints", "orientation", "showErrors"] }, { kind: "component", type: LabelComponent, selector: "kendo-label", inputs: ["text", "for", "optional", "labelCssStyle", "labelCssClass"], exportAs: ["kendoLabel"] }, { kind: "directive", type: TextBoxDirective, selector: "input[kendoTextBox]", inputs: ["value"] }, { kind: "component", type: SchedulerDateTimePickerComponent, selector: "kendo-scheduler-datetime-picker", inputs: ["isAllDay"], outputs: ["valueChange"] }, { kind: "directive", type: CheckBoxDirective, selector: "input[kendoCheckBox]", inputs: ["size", "rounded"] }, { kind: "directive", type: LabelDirective, selector: "label[for]", inputs: ["for", "labelClass"] }, { kind: "component", type: TimeZoneEditorComponent, selector: "kendo-timezone-editor", inputs: ["width"], outputs: ["valueChange"] }, { kind: "component", type: RecurrenceEditorComponent, selector: "kendo-recurrence-editor", inputs: ["start", "timezone", "weekStart", "repeatEveryOptions", "endAfterOptions", "repeatOnOptions", "endOnOptions"], outputs: ["valueChange"], exportAs: ["kendoRecurrenceEditor"] }, { kind: "directive", type: TextAreaDirective, selector: "textarea[kendoTextArea]", inputs: ["autoSize", "value"], outputs: ["valueChange"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: MultipleResourceEditorComponent, selector: "kendo-multiple-resource-editor" }, { kind: "component", type: SingleResourceEditorComponent, selector: "kendo-single-resource-editor" }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
449
+ }
450
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditDialogComponent, decorators: [{
432
451
  type: Component,
433
452
  args: [{
434
453
  selector: 'kendo-scheduler-edit-dialog',
@@ -26,10 +26,14 @@ import * as i0 from "@angular/core";
26
26
  * @hidden
27
27
  */
28
28
  export class EditService {
29
+ ngZone;
30
+ changes = new EventEmitter();
31
+ changed;
32
+ editedEvent;
33
+ newEventGroup;
34
+ changedSource = new Subject();
29
35
  constructor(ngZone) {
30
36
  this.ngZone = ngZone;
31
- this.changes = new EventEmitter();
32
- this.changedSource = new Subject();
33
37
  this.changed = this.changedSource.asObservable().pipe(debounceTime(0));
34
38
  }
35
39
  endEdit() {
@@ -92,10 +96,10 @@ export class EditService {
92
96
  this.changedSource.next();
93
97
  });
94
98
  }
99
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
100
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditService, providedIn: 'root' });
95
101
  }
96
- EditService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
97
- EditService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditService, providedIn: 'root' });
98
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditService, decorators: [{
102
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditService, decorators: [{
99
103
  type: Injectable,
100
104
  args: [{
101
105
  providedIn: 'root'
@@ -8,12 +8,11 @@ import * as i0 from "@angular/core";
8
8
  * @hidden
9
9
  */
10
10
  export class LocalDataChangesService {
11
- constructor() {
12
- this.changes = new EventEmitter();
13
- }
11
+ changes = new EventEmitter();
12
+ data;
13
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LocalDataChangesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
14
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LocalDataChangesService });
14
15
  }
15
- LocalDataChangesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalDataChangesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
16
- LocalDataChangesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalDataChangesService });
17
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalDataChangesService, decorators: [{
16
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LocalDataChangesService, decorators: [{
18
17
  type: Injectable
19
18
  }] });
@@ -10,14 +10,21 @@ import * as i1 from "./recurrence.service";
10
10
  * @hidden
11
11
  */
12
12
  export class EndRuleRadioButtonDirective {
13
+ el;
14
+ renderer;
15
+ recurrence;
16
+ changeDetector;
17
+ type = 'radio';
18
+ radioClass = true;
19
+ radioSizeClass = true;
20
+ endRuleId;
21
+ destroyClick;
22
+ endRule;
13
23
  constructor(el, renderer, recurrence, changeDetector) {
14
24
  this.el = el;
15
25
  this.renderer = renderer;
16
26
  this.recurrence = recurrence;
17
27
  this.changeDetector = changeDetector;
18
- this.type = 'radio';
19
- this.radioClass = true;
20
- this.radioSizeClass = true;
21
28
  this.destroyClick = this.renderer.listen(this.elem, 'click', this.onClick.bind(this));
22
29
  }
23
30
  ngOnInit() {
@@ -46,10 +53,10 @@ export class EndRuleRadioButtonDirective {
46
53
  get elem() {
47
54
  return this.el.nativeElement;
48
55
  }
56
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EndRuleRadioButtonDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.RecurrenceService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
57
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EndRuleRadioButtonDirective, isStandalone: true, selector: "[kendoRecurrenceEndRuleRadioButton]", inputs: { endRuleId: ["kendoRecurrenceEndRuleRadioButton", "endRuleId"] }, host: { properties: { "attr.type": "this.type", "class.k-radio": "this.radioClass", "class.k-radio-md": "this.radioSizeClass" } }, ngImport: i0 });
49
58
  }
50
- EndRuleRadioButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EndRuleRadioButtonDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.RecurrenceService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
51
- EndRuleRadioButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EndRuleRadioButtonDirective, isStandalone: true, selector: "[kendoRecurrenceEndRuleRadioButton]", inputs: { endRuleId: ["kendoRecurrenceEndRuleRadioButton", "endRuleId"] }, host: { properties: { "attr.type": "this.type", "class.k-radio": "this.radioClass", "class.k-radio-md": "this.radioSizeClass" } }, ngImport: i0 });
52
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EndRuleRadioButtonDirective, decorators: [{
59
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EndRuleRadioButtonDirective, decorators: [{
53
60
  type: Directive,
54
61
  args: [{
55
62
  selector: '[kendoRecurrenceEndRuleRadioButton]',
@@ -12,6 +12,7 @@ import * as i1 from "@progress/kendo-angular-l10n";
12
12
  * Custom component messages override default component messages.
13
13
  */
14
14
  export class RecurrenceEditorCustomMessagesComponent extends Messages {
15
+ service;
15
16
  constructor(service) {
16
17
  super();
17
18
  this.service = service;
@@ -19,15 +20,15 @@ export class RecurrenceEditorCustomMessagesComponent extends Messages {
19
20
  get override() {
20
21
  return true;
21
22
  }
23
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RecurrenceEditorCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
24
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: RecurrenceEditorCustomMessagesComponent, isStandalone: true, selector: "kendo-recurrence-editor-messages", providers: [
25
+ {
26
+ provide: Messages,
27
+ useExisting: forwardRef(() => RecurrenceEditorCustomMessagesComponent)
28
+ }
29
+ ], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
22
30
  }
23
- RecurrenceEditorCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RecurrenceEditorCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
24
- RecurrenceEditorCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: RecurrenceEditorCustomMessagesComponent, isStandalone: true, selector: "kendo-recurrence-editor-messages", providers: [
25
- {
26
- provide: Messages,
27
- useExisting: forwardRef(() => RecurrenceEditorCustomMessagesComponent)
28
- }
29
- ], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
30
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RecurrenceEditorCustomMessagesComponent, decorators: [{
31
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RecurrenceEditorCustomMessagesComponent, decorators: [{
31
32
  type: Component,
32
33
  args: [{
33
34
  providers: [
@@ -11,19 +11,20 @@ import * as i1 from "@progress/kendo-angular-l10n";
11
11
  * @hidden
12
12
  */
13
13
  export class RecurrenceEditorLocalizedMessagesDirective extends Messages {
14
+ service;
14
15
  constructor(service) {
15
16
  super();
16
17
  this.service = service;
17
18
  }
19
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RecurrenceEditorLocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
20
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: RecurrenceEditorLocalizedMessagesDirective, isStandalone: true, selector: "[kendoRecurrenceEditorLocalizedMessages]", providers: [
21
+ {
22
+ provide: Messages,
23
+ useExisting: forwardRef(() => RecurrenceEditorLocalizedMessagesDirective)
24
+ }
25
+ ], usesInheritance: true, ngImport: i0 });
18
26
  }
19
- RecurrenceEditorLocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RecurrenceEditorLocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
20
- RecurrenceEditorLocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: RecurrenceEditorLocalizedMessagesDirective, isStandalone: true, selector: "[kendoRecurrenceEditorLocalizedMessages]", providers: [
21
- {
22
- provide: Messages,
23
- useExisting: forwardRef(() => RecurrenceEditorLocalizedMessagesDirective)
24
- }
25
- ], usesInheritance: true, ngImport: i0 });
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RecurrenceEditorLocalizedMessagesDirective, decorators: [{
27
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RecurrenceEditorLocalizedMessagesDirective, decorators: [{
27
28
  type: Directive,
28
29
  args: [{
29
30
  providers: [
@@ -0,0 +1,239 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { Directive, Input } from '@angular/core';
6
+ import { ComponentMessages } from '@progress/kendo-angular-l10n';
7
+ import * as i0 from "@angular/core";
8
+ /**
9
+ * @hidden
10
+ */
11
+ export class Messages extends ComponentMessages {
12
+ /**
13
+ * The text similar to **Repeat** which is displayed in the recurrence editor.
14
+ */
15
+ repeat;
16
+ /**
17
+ * The text similar to **day(s)** which is displayed in the recurrence editor.
18
+ */
19
+ dailyInterval;
20
+ /**
21
+ * The text similar to **Repeat every** which is displayed in the recurrence editor.
22
+ */
23
+ dailyRepeatEvery;
24
+ /**
25
+ * The text similar to **week(s)** which is displayed in the recurrence editor.
26
+ */
27
+ weeklyInterval;
28
+ /**
29
+ * The text similar to **Repeat every** which is displayed in the recurrence editor.
30
+ */
31
+ weeklyRepeatEvery;
32
+ /**
33
+ * The text similar to **Repeat on** which is displayed in the recurrence editor.
34
+ */
35
+ weeklyRepeatOn;
36
+ /**
37
+ * The text similar to **Day** which is displayed in the recurrence editor.
38
+ */
39
+ monthlyDay;
40
+ /**
41
+ * The text similar to **month(s)** which is displayed in the recurrence editor.
42
+ */
43
+ monthlyInterval;
44
+ /**
45
+ * The text similar to **Repeat every** which is displayed in the recurrence editor.
46
+ */
47
+ monthlyRepeatEvery;
48
+ /**
49
+ * The text similar to **Repeat on** which is displayed in the recurrence editor.
50
+ */
51
+ monthlyRepeatOn;
52
+ /**
53
+ * The text similar to **of** which is displayed in the recurrence editor.
54
+ */
55
+ yearlyOf;
56
+ /**
57
+ * The text similar to **Repeat every** which is displayed in the recurrence editor.
58
+ */
59
+ yearlyRepeatEvery;
60
+ /**
61
+ * The text similar to **Repeat on** which is displayed in the recurrence editor.
62
+ */
63
+ yearlyRepeatOn;
64
+ /**
65
+ * The text similar to **year(s)** which is displayed in the recurrence editor.
66
+ */
67
+ yearlyInterval;
68
+ /**
69
+ * The text similar to **Daily** which is displayed in the recurrence editor.
70
+ */
71
+ frequenciesDaily;
72
+ /**
73
+ * The text similar to **Monthly** which is displayed in the recurrence editor.
74
+ */
75
+ frequenciesMonthly;
76
+ /**
77
+ * The text similar to **Never** which is displayed in the recurrence editor.
78
+ */
79
+ frequenciesNever;
80
+ /**
81
+ * The text similar to **Weekly** which is displayed in the recurrence editor.
82
+ */
83
+ frequenciesWeekly;
84
+ /**
85
+ * The text similar to **Yearly** which is displayed in the recurrence editor.
86
+ */
87
+ frequenciesYearly;
88
+ /**
89
+ * The text similar to **First** which is displayed in the recurrence editor.
90
+ */
91
+ offsetPositionsFirst;
92
+ /**
93
+ * The text similar to **Second** which is displayed in the recurrence editor.
94
+ */
95
+ offsetPositionsSecond;
96
+ /**
97
+ * The text similar to **Third** which is displayed in the recurrence editor.
98
+ */
99
+ offsetPositionsThird;
100
+ /**
101
+ * The text similar to **Fourth** which is displayed in the recurrence editor.
102
+ */
103
+ offsetPositionsFourth;
104
+ /**
105
+ * The text similar to **Last** which is displayed in the recurrence editor.
106
+ */
107
+ offsetPositionsLast;
108
+ /**
109
+ * The text similar to **Day** which is displayed in the repeat-by-section of the monthly recurrence pattern.
110
+ */
111
+ weekdaysDay;
112
+ /**
113
+ * The text similar to **Weekday** which is displayed in the repeat-by-section of the monthly recurrence pattern.
114
+ */
115
+ weekdaysWeekday;
116
+ /**
117
+ * The text similar to **Weekend Day** which is displayed in the repeat-by-section of the monthly recurrence pattern.
118
+ */
119
+ weekdaysWeekendday;
120
+ /**
121
+ * The text similar to **After** which is displayed in the recurrence editor.
122
+ */
123
+ endAfter;
124
+ /**
125
+ * The text similar to **occurrence(s)** which is displayed in the recurrence editor.
126
+ */
127
+ endOccurrence;
128
+ /**
129
+ * The text similar to **End** which is displayed in the recurrence editor.
130
+ */
131
+ endLabel;
132
+ /**
133
+ * The text similar to **Never** which is displayed in the recurrence editor.
134
+ */
135
+ endNever;
136
+ /**
137
+ * The text similar to **On** which is displayed in the recurrence editor.
138
+ */
139
+ endOn;
140
+ /**
141
+ * The title of the **Increment** button of the NumericTextBoxes which are displayed in the recurrence editor.
142
+ */
143
+ numericIncrement;
144
+ /**
145
+ * The title of the **Decrement** button of the NumericTextBoxes which are displayed in the recurrence editor.
146
+ */
147
+ numericDecrement;
148
+ /**
149
+ * The title of the **Today** button in the popup of the DatePickers which are displayed in the recurrence editor.
150
+ */
151
+ dateInputsToday;
152
+ /**
153
+ * The title of the **Toggle** button of the DatePickers which are displayed in the recurrence editor.
154
+ */
155
+ dateInputsToggle;
156
+ /**
157
+ * The title of the **Parent View** button in the popup of the DatePickers which are displayed in the recurrence editor.
158
+ */
159
+ dateInputsParentViewButton;
160
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
161
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: Messages, inputs: { repeat: "repeat", dailyInterval: "dailyInterval", dailyRepeatEvery: "dailyRepeatEvery", weeklyInterval: "weeklyInterval", weeklyRepeatEvery: "weeklyRepeatEvery", weeklyRepeatOn: "weeklyRepeatOn", monthlyDay: "monthlyDay", monthlyInterval: "monthlyInterval", monthlyRepeatEvery: "monthlyRepeatEvery", monthlyRepeatOn: "monthlyRepeatOn", yearlyOf: "yearlyOf", yearlyRepeatEvery: "yearlyRepeatEvery", yearlyRepeatOn: "yearlyRepeatOn", yearlyInterval: "yearlyInterval", frequenciesDaily: "frequenciesDaily", frequenciesMonthly: "frequenciesMonthly", frequenciesNever: "frequenciesNever", frequenciesWeekly: "frequenciesWeekly", frequenciesYearly: "frequenciesYearly", offsetPositionsFirst: "offsetPositionsFirst", offsetPositionsSecond: "offsetPositionsSecond", offsetPositionsThird: "offsetPositionsThird", offsetPositionsFourth: "offsetPositionsFourth", offsetPositionsLast: "offsetPositionsLast", weekdaysDay: "weekdaysDay", weekdaysWeekday: "weekdaysWeekday", weekdaysWeekendday: "weekdaysWeekendday", endAfter: "endAfter", endOccurrence: "endOccurrence", endLabel: "endLabel", endNever: "endNever", endOn: "endOn", numericIncrement: "numericIncrement", numericDecrement: "numericDecrement", dateInputsToday: "dateInputsToday", dateInputsToggle: "dateInputsToggle", dateInputsParentViewButton: "dateInputsParentViewButton" }, usesInheritance: true, ngImport: i0 });
162
+ }
163
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Messages, decorators: [{
164
+ type: Directive
165
+ }], propDecorators: { repeat: [{
166
+ type: Input
167
+ }], dailyInterval: [{
168
+ type: Input
169
+ }], dailyRepeatEvery: [{
170
+ type: Input
171
+ }], weeklyInterval: [{
172
+ type: Input
173
+ }], weeklyRepeatEvery: [{
174
+ type: Input
175
+ }], weeklyRepeatOn: [{
176
+ type: Input
177
+ }], monthlyDay: [{
178
+ type: Input
179
+ }], monthlyInterval: [{
180
+ type: Input
181
+ }], monthlyRepeatEvery: [{
182
+ type: Input
183
+ }], monthlyRepeatOn: [{
184
+ type: Input
185
+ }], yearlyOf: [{
186
+ type: Input
187
+ }], yearlyRepeatEvery: [{
188
+ type: Input
189
+ }], yearlyRepeatOn: [{
190
+ type: Input
191
+ }], yearlyInterval: [{
192
+ type: Input
193
+ }], frequenciesDaily: [{
194
+ type: Input
195
+ }], frequenciesMonthly: [{
196
+ type: Input
197
+ }], frequenciesNever: [{
198
+ type: Input
199
+ }], frequenciesWeekly: [{
200
+ type: Input
201
+ }], frequenciesYearly: [{
202
+ type: Input
203
+ }], offsetPositionsFirst: [{
204
+ type: Input
205
+ }], offsetPositionsSecond: [{
206
+ type: Input
207
+ }], offsetPositionsThird: [{
208
+ type: Input
209
+ }], offsetPositionsFourth: [{
210
+ type: Input
211
+ }], offsetPositionsLast: [{
212
+ type: Input
213
+ }], weekdaysDay: [{
214
+ type: Input
215
+ }], weekdaysWeekday: [{
216
+ type: Input
217
+ }], weekdaysWeekendday: [{
218
+ type: Input
219
+ }], endAfter: [{
220
+ type: Input
221
+ }], endOccurrence: [{
222
+ type: Input
223
+ }], endLabel: [{
224
+ type: Input
225
+ }], endNever: [{
226
+ type: Input
227
+ }], endOn: [{
228
+ type: Input
229
+ }], numericIncrement: [{
230
+ type: Input
231
+ }], numericDecrement: [{
232
+ type: Input
233
+ }], dateInputsToday: [{
234
+ type: Input
235
+ }], dateInputsToggle: [{
236
+ type: Input
237
+ }], dateInputsParentViewButton: [{
238
+ type: Input
239
+ }] } });
@@ -13,6 +13,7 @@ import * as i2 from "../../../localization/scheduler-localization.service";
13
13
  * @hidden
14
14
  */
15
15
  export class RecurrenceLocalizationService extends LocalizationService {
16
+ schedulerLocalization;
16
17
  constructor(prefix, messageService, _rtl, schedulerLocalization) {
17
18
  super(prefix, messageService, _rtl);
18
19
  this.schedulerLocalization = schedulerLocalization;
@@ -23,10 +24,10 @@ export class RecurrenceLocalizationService extends LocalizationService {
23
24
  }
24
25
  return super.get(shortKey);
25
26
  }
27
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RecurrenceLocalizationService, deps: [{ token: L10N_PREFIX }, { token: i1.MessageService, optional: true }, { token: RTL, optional: true }, { token: SchedulerLocalizationService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
28
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RecurrenceLocalizationService });
26
29
  }
27
- RecurrenceLocalizationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RecurrenceLocalizationService, deps: [{ token: L10N_PREFIX }, { token: i1.MessageService, optional: true }, { token: RTL, optional: true }, { token: SchedulerLocalizationService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
28
- RecurrenceLocalizationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RecurrenceLocalizationService });
29
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RecurrenceLocalizationService, decorators: [{
30
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RecurrenceLocalizationService, decorators: [{
30
31
  type: Injectable
31
32
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
32
33
  type: Inject,