@acorex/components 20.2.0-next.21 → 20.2.0-next.22

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 (273) hide show
  1. package/accordion/index.d.ts +6 -5
  2. package/button-group/index.d.ts +2 -1
  3. package/calendar/index.d.ts +4 -2
  4. package/code-editor/README.md +3 -0
  5. package/code-editor/index.d.ts +103 -0
  6. package/color-box/index.d.ts +1 -0
  7. package/command/README.md +3 -0
  8. package/command/index.d.ts +60 -0
  9. package/comment/index.d.ts +10 -5
  10. package/conversation/index.d.ts +106 -78
  11. package/data-pager/index.d.ts +12 -12
  12. package/data-table/index.d.ts +59 -3
  13. package/datetime-box/index.d.ts +10 -8
  14. package/datetime-picker/index.d.ts +3 -1
  15. package/decorators/index.d.ts +2 -2
  16. package/dialog/index.d.ts +29 -4
  17. package/drawer-2/index.d.ts +22 -8
  18. package/dropdown/index.d.ts +3 -3
  19. package/dropdown-button/index.d.ts +7 -2
  20. package/fesm2022/acorex-components-accordion.mjs +74 -72
  21. package/fesm2022/acorex-components-accordion.mjs.map +1 -1
  22. package/fesm2022/acorex-components-action-sheet.mjs +10 -10
  23. package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
  24. package/fesm2022/acorex-components-alert.mjs +9 -11
  25. package/fesm2022/acorex-components-alert.mjs.map +1 -1
  26. package/fesm2022/acorex-components-audio-wave.mjs +7 -7
  27. package/fesm2022/acorex-components-audio-wave.mjs.map +1 -1
  28. package/fesm2022/acorex-components-autocomplete.mjs +7 -8
  29. package/fesm2022/acorex-components-autocomplete.mjs.map +1 -1
  30. package/fesm2022/acorex-components-avatar.mjs +12 -14
  31. package/fesm2022/acorex-components-avatar.mjs.map +1 -1
  32. package/fesm2022/acorex-components-badge.mjs +8 -9
  33. package/fesm2022/acorex-components-badge.mjs.map +1 -1
  34. package/fesm2022/acorex-components-bottom-navigation.mjs +12 -14
  35. package/fesm2022/acorex-components-bottom-navigation.mjs.map +1 -1
  36. package/fesm2022/acorex-components-breadcrumbs.mjs +10 -11
  37. package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
  38. package/fesm2022/acorex-components-button-group.mjs +16 -16
  39. package/fesm2022/acorex-components-button-group.mjs.map +1 -1
  40. package/fesm2022/acorex-components-button.mjs +15 -18
  41. package/fesm2022/acorex-components-button.mjs.map +1 -1
  42. package/fesm2022/acorex-components-calendar.mjs +37 -25
  43. package/fesm2022/acorex-components-calendar.mjs.map +1 -1
  44. package/fesm2022/acorex-components-check-box.mjs +7 -8
  45. package/fesm2022/acorex-components-check-box.mjs.map +1 -1
  46. package/fesm2022/acorex-components-chips.mjs +7 -8
  47. package/fesm2022/acorex-components-chips.mjs.map +1 -1
  48. package/fesm2022/acorex-components-circular-progress.mjs +7 -7
  49. package/fesm2022/acorex-components-circular-progress.mjs.map +1 -1
  50. package/fesm2022/acorex-components-code-editor.mjs +591 -0
  51. package/fesm2022/acorex-components-code-editor.mjs.map +1 -0
  52. package/fesm2022/acorex-components-collapse.mjs +12 -14
  53. package/fesm2022/acorex-components-collapse.mjs.map +1 -1
  54. package/fesm2022/acorex-components-color-box.mjs +13 -11
  55. package/fesm2022/acorex-components-color-box.mjs.map +1 -1
  56. package/fesm2022/acorex-components-color-palette.mjs +44 -40
  57. package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
  58. package/fesm2022/acorex-components-command.mjs +144 -0
  59. package/fesm2022/acorex-components-command.mjs.map +1 -0
  60. package/fesm2022/acorex-components-comment.mjs +42 -36
  61. package/fesm2022/acorex-components-comment.mjs.map +1 -1
  62. package/fesm2022/acorex-components-conversation.mjs +121 -89
  63. package/fesm2022/acorex-components-conversation.mjs.map +1 -1
  64. package/fesm2022/acorex-components-cron-job.mjs +46 -46
  65. package/fesm2022/acorex-components-cron-job.mjs.map +1 -1
  66. package/fesm2022/acorex-components-data-list.mjs +3 -3
  67. package/fesm2022/acorex-components-data-list.mjs.map +1 -1
  68. package/fesm2022/acorex-components-data-pager.mjs +31 -31
  69. package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
  70. package/fesm2022/acorex-components-data-table.mjs +97 -41
  71. package/fesm2022/acorex-components-data-table.mjs.map +1 -1
  72. package/fesm2022/acorex-components-datetime-box.mjs +15 -14
  73. package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
  74. package/fesm2022/acorex-components-datetime-input.mjs +10 -11
  75. package/fesm2022/acorex-components-datetime-input.mjs.map +1 -1
  76. package/fesm2022/acorex-components-datetime-picker.mjs +15 -14
  77. package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
  78. package/fesm2022/acorex-components-decorators.mjs +27 -27
  79. package/fesm2022/acorex-components-decorators.mjs.map +1 -1
  80. package/fesm2022/acorex-components-dialog.mjs +44 -19
  81. package/fesm2022/acorex-components-dialog.mjs.map +1 -1
  82. package/fesm2022/acorex-components-drawer-2.mjs +28 -14
  83. package/fesm2022/acorex-components-drawer-2.mjs.map +1 -1
  84. package/fesm2022/acorex-components-drawer.mjs +13 -13
  85. package/fesm2022/acorex-components-drawer.mjs.map +1 -1
  86. package/fesm2022/acorex-components-dropdown-button.mjs +14 -9
  87. package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
  88. package/fesm2022/acorex-components-dropdown.mjs +13 -13
  89. package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
  90. package/fesm2022/acorex-components-file-explorer.mjs +25 -25
  91. package/fesm2022/acorex-components-file-explorer.mjs.map +1 -1
  92. package/fesm2022/acorex-components-flow-chart.mjs +16 -16
  93. package/fesm2022/acorex-components-flow-chart.mjs.map +1 -1
  94. package/fesm2022/acorex-components-form.mjs +26 -16
  95. package/fesm2022/acorex-components-form.mjs.map +1 -1
  96. package/fesm2022/acorex-components-grid-layout-builder.mjs +125 -15
  97. package/fesm2022/acorex-components-grid-layout-builder.mjs.map +1 -1
  98. package/fesm2022/acorex-components-image-editor.mjs +115 -92
  99. package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
  100. package/fesm2022/acorex-components-image.mjs +7 -7
  101. package/fesm2022/acorex-components-image.mjs.map +1 -1
  102. package/fesm2022/acorex-components-json-viewer.mjs +7 -7
  103. package/fesm2022/acorex-components-json-viewer.mjs.map +1 -1
  104. package/fesm2022/acorex-components-kanban.mjs +3 -3
  105. package/fesm2022/acorex-components-kanban.mjs.map +1 -1
  106. package/fesm2022/acorex-components-kbd.mjs +11 -26
  107. package/fesm2022/acorex-components-kbd.mjs.map +1 -1
  108. package/fesm2022/acorex-components-label.mjs +9 -13
  109. package/fesm2022/acorex-components-label.mjs.map +1 -1
  110. package/fesm2022/acorex-components-list.mjs +12 -15
  111. package/fesm2022/acorex-components-list.mjs.map +1 -1
  112. package/fesm2022/acorex-components-loading-dialog.mjs +28 -47
  113. package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
  114. package/fesm2022/acorex-components-loading.mjs +24 -26
  115. package/fesm2022/acorex-components-loading.mjs.map +1 -1
  116. package/fesm2022/acorex-components-map.mjs +16 -15
  117. package/fesm2022/acorex-components-map.mjs.map +1 -1
  118. package/fesm2022/acorex-components-media-viewer.mjs +35 -35
  119. package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
  120. package/fesm2022/acorex-components-menu.mjs +39 -35
  121. package/fesm2022/acorex-components-menu.mjs.map +1 -1
  122. package/fesm2022/{acorex-components-modal-acorex-components-modal-yzX5PZMM.mjs → acorex-components-modal-acorex-components-modal-h5Y-qcbh.mjs} +39 -41
  123. package/fesm2022/{acorex-components-modal-acorex-components-modal-yzX5PZMM.mjs.map → acorex-components-modal-acorex-components-modal-h5Y-qcbh.mjs.map} +1 -1
  124. package/fesm2022/acorex-components-modal-modal-content.component-B6tyMLdU.mjs +235 -0
  125. package/fesm2022/acorex-components-modal-modal-content.component-B6tyMLdU.mjs.map +1 -0
  126. package/fesm2022/acorex-components-modal.mjs +1 -1
  127. package/fesm2022/acorex-components-navbar.mjs +8 -9
  128. package/fesm2022/acorex-components-navbar.mjs.map +1 -1
  129. package/fesm2022/acorex-components-notification.mjs +27 -44
  130. package/fesm2022/acorex-components-notification.mjs.map +1 -1
  131. package/fesm2022/acorex-components-number-box-2.mjs +18 -5
  132. package/fesm2022/acorex-components-number-box-2.mjs.map +1 -1
  133. package/fesm2022/acorex-components-number-box.mjs +7 -7
  134. package/fesm2022/acorex-components-number-box.mjs.map +1 -1
  135. package/fesm2022/acorex-components-otp.mjs +12 -13
  136. package/fesm2022/acorex-components-otp.mjs.map +1 -1
  137. package/fesm2022/acorex-components-page.mjs +10 -10
  138. package/fesm2022/acorex-components-page.mjs.map +1 -1
  139. package/fesm2022/acorex-components-paint.mjs +68 -33
  140. package/fesm2022/acorex-components-paint.mjs.map +1 -1
  141. package/fesm2022/acorex-components-password-box.mjs +14 -17
  142. package/fesm2022/acorex-components-password-box.mjs.map +1 -1
  143. package/fesm2022/acorex-components-pdf-reader.mjs +7 -7
  144. package/fesm2022/acorex-components-pdf-reader.mjs.map +1 -1
  145. package/fesm2022/acorex-components-phone-box.mjs +37 -10
  146. package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
  147. package/fesm2022/acorex-components-picker.mjs +13 -13
  148. package/fesm2022/acorex-components-picker.mjs.map +1 -1
  149. package/fesm2022/acorex-components-popover.mjs +12 -12
  150. package/fesm2022/acorex-components-popover.mjs.map +1 -1
  151. package/fesm2022/acorex-components-popup.mjs +10 -10
  152. package/fesm2022/acorex-components-popup.mjs.map +1 -1
  153. package/fesm2022/acorex-components-progress-bar.mjs +7 -7
  154. package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
  155. package/fesm2022/acorex-components-qrcode.mjs +7 -7
  156. package/fesm2022/acorex-components-qrcode.mjs.map +1 -1
  157. package/fesm2022/acorex-components-query-builder.mjs +7 -7
  158. package/fesm2022/acorex-components-query-builder.mjs.map +1 -1
  159. package/fesm2022/acorex-components-radio.mjs +7 -7
  160. package/fesm2022/acorex-components-radio.mjs.map +1 -1
  161. package/fesm2022/acorex-components-rail-navigation.mjs +15 -16
  162. package/fesm2022/acorex-components-rail-navigation.mjs.map +1 -1
  163. package/fesm2022/acorex-components-range-slider.mjs +11 -7
  164. package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
  165. package/fesm2022/acorex-components-rate-picker.mjs +7 -7
  166. package/fesm2022/acorex-components-rate-picker.mjs.map +1 -1
  167. package/fesm2022/acorex-components-rest-api-generator.mjs +23 -23
  168. package/fesm2022/acorex-components-rest-api-generator.mjs.map +1 -1
  169. package/fesm2022/acorex-components-result.mjs +7 -7
  170. package/fesm2022/acorex-components-result.mjs.map +1 -1
  171. package/fesm2022/acorex-components-routing-progress.mjs +7 -7
  172. package/fesm2022/acorex-components-routing-progress.mjs.map +1 -1
  173. package/fesm2022/acorex-components-rrule.mjs +222 -102
  174. package/fesm2022/acorex-components-rrule.mjs.map +1 -1
  175. package/fesm2022/acorex-components-scheduler.mjs +1432 -106
  176. package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
  177. package/fesm2022/acorex-components-scss.mjs +4 -4
  178. package/fesm2022/acorex-components-scss.mjs.map +1 -1
  179. package/fesm2022/acorex-components-search-box.mjs +7 -7
  180. package/fesm2022/acorex-components-search-box.mjs.map +1 -1
  181. package/fesm2022/acorex-components-select-box.mjs +8 -8
  182. package/fesm2022/acorex-components-select-box.mjs.map +1 -1
  183. package/fesm2022/acorex-components-selection-list-2.mjs +9 -9
  184. package/fesm2022/acorex-components-selection-list-2.mjs.map +1 -1
  185. package/fesm2022/acorex-components-selection-list.mjs +7 -7
  186. package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
  187. package/fesm2022/acorex-components-side-menu.mjs +14 -14
  188. package/fesm2022/acorex-components-side-menu.mjs.map +1 -1
  189. package/fesm2022/acorex-components-skeleton.mjs +7 -7
  190. package/fesm2022/acorex-components-skeleton.mjs.map +1 -1
  191. package/fesm2022/acorex-components-slider.mjs +7 -7
  192. package/fesm2022/acorex-components-slider.mjs.map +1 -1
  193. package/fesm2022/acorex-components-sliding-item.mjs +15 -15
  194. package/fesm2022/acorex-components-sliding-item.mjs.map +1 -1
  195. package/fesm2022/acorex-components-step-wizard.mjs +31 -32
  196. package/fesm2022/acorex-components-step-wizard.mjs.map +1 -1
  197. package/fesm2022/acorex-components-switch.mjs +10 -10
  198. package/fesm2022/acorex-components-switch.mjs.map +1 -1
  199. package/fesm2022/acorex-components-tabs.mjs +20 -15
  200. package/fesm2022/acorex-components-tabs.mjs.map +1 -1
  201. package/fesm2022/acorex-components-tag-box.mjs +25 -9
  202. package/fesm2022/acorex-components-tag-box.mjs.map +1 -1
  203. package/fesm2022/acorex-components-tag.mjs +7 -7
  204. package/fesm2022/acorex-components-tag.mjs.map +1 -1
  205. package/fesm2022/acorex-components-text-area.mjs +8 -9
  206. package/fesm2022/acorex-components-text-area.mjs.map +1 -1
  207. package/fesm2022/acorex-components-text-box.mjs +22 -12
  208. package/fesm2022/acorex-components-text-box.mjs.map +1 -1
  209. package/fesm2022/acorex-components-time-duration.mjs +7 -7
  210. package/fesm2022/acorex-components-time-duration.mjs.map +1 -1
  211. package/fesm2022/acorex-components-time-line.mjs +13 -10
  212. package/fesm2022/acorex-components-time-line.mjs.map +1 -1
  213. package/fesm2022/acorex-components-toast.mjs +57 -12
  214. package/fesm2022/acorex-components-toast.mjs.map +1 -1
  215. package/fesm2022/acorex-components-toolbar.mjs +7 -7
  216. package/fesm2022/acorex-components-toolbar.mjs.map +1 -1
  217. package/fesm2022/acorex-components-tooltip.mjs +10 -10
  218. package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
  219. package/fesm2022/acorex-components-tree-view.mjs +12 -12
  220. package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
  221. package/fesm2022/acorex-components-uploader.mjs +252 -56
  222. package/fesm2022/acorex-components-uploader.mjs.map +1 -1
  223. package/fesm2022/acorex-components-video-player.mjs +7 -7
  224. package/fesm2022/acorex-components-video-player.mjs.map +1 -1
  225. package/fesm2022/acorex-components-wysiwyg.mjs +70 -32
  226. package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
  227. package/form/index.d.ts +23 -13
  228. package/grid-layout-builder/index.d.ts +115 -4
  229. package/image/index.d.ts +4 -4
  230. package/image-editor/index.d.ts +16 -14
  231. package/kbd/index.d.ts +1 -8
  232. package/label/index.d.ts +1 -2
  233. package/list/index.d.ts +1 -5
  234. package/loading/index.d.ts +1 -5
  235. package/loading-dialog/index.d.ts +1 -8
  236. package/map/index.d.ts +2 -1
  237. package/menu/index.d.ts +19 -13
  238. package/modal/index.d.ts +4 -2
  239. package/navbar/index.d.ts +1 -2
  240. package/notification/index.d.ts +1 -8
  241. package/number-box-2/index.d.ts +1 -1
  242. package/otp/index.d.ts +1 -3
  243. package/package.json +38 -8
  244. package/paint/index.d.ts +41 -6
  245. package/password-box/index.d.ts +1 -4
  246. package/phone-box/index.d.ts +7 -8
  247. package/popover/index.d.ts +1 -1
  248. package/popup/index.d.ts +2 -2
  249. package/qrcode/index.d.ts +7 -7
  250. package/query-builder/index.d.ts +1 -1
  251. package/rail-navigation/index.d.ts +1 -3
  252. package/range-slider/index.d.ts +13 -13
  253. package/rate-picker/index.d.ts +4 -4
  254. package/rest-api-generator/index.d.ts +1 -1
  255. package/rrule/index.d.ts +40 -17
  256. package/scheduler/index.d.ts +415 -153
  257. package/search-box/index.d.ts +2 -2
  258. package/select-box/index.d.ts +2 -2
  259. package/selection-list-2/index.d.ts +3 -3
  260. package/side-menu/index.d.ts +9 -9
  261. package/sliding-item/index.d.ts +4 -5
  262. package/step-wizard/index.d.ts +10 -13
  263. package/switch/index.d.ts +0 -1
  264. package/tabs/index.d.ts +6 -1
  265. package/tag-box/index.d.ts +16 -0
  266. package/text-area/index.d.ts +1 -2
  267. package/text-box/index.d.ts +2 -0
  268. package/time-line/index.d.ts +3 -0
  269. package/toast/index.d.ts +45 -1
  270. package/uploader/index.d.ts +215 -5
  271. package/wysiwyg/index.d.ts +26 -0
  272. package/fesm2022/acorex-components-modal-modal-content.component-Bt8c43qi.mjs +0 -218
  273. package/fesm2022/acorex-components-modal-modal-content.component-Bt8c43qi.mjs.map +0 -1
@@ -1,10 +1,10 @@
1
1
  import { AXRange, NXNativeEvent, NXComponent, NXEvent, AXValueChangedEvent } from '@acorex/cdk/common';
2
2
  import { AXDateTime, AXHolidayDate } from '@acorex/core/date-time';
3
3
  import * as _angular_core from '@angular/core';
4
- import { OnInit, TemplateRef } from '@angular/core';
4
+ import { OnInit, TemplateRef, AfterViewInit, ElementRef } from '@angular/core';
5
5
  import { AXDropZoneDropEvent } from '@acorex/cdk/drag-drop';
6
6
 
7
- type AXSchedulerView = 'day' | 'week' | 'month' | 'timeline-day' | 'timeline-multi-day' | 'timeline-month' | 'agenda';
7
+ type AXSchedulerView = 'day' | 'week' | 'month' | 'timeline-day' | 'timeline-multi-day' | 'timeline-month' | 'timeline-year' | 'agenda';
8
8
  type AXDayOfWeekName = 'sunday' | 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday';
9
9
  type AXSchedulerBlockIdentifier = {
10
10
  dayIndex: number;
@@ -15,6 +15,7 @@ type AXSchedulerAppointment = {
15
15
  endDate: Date;
16
16
  title?: string;
17
17
  startDate: Date;
18
+ resourceId?: any;
18
19
  allDay?: boolean;
19
20
  cssClass?: string;
20
21
  readonly?: boolean;
@@ -62,6 +63,11 @@ type AXSchedulerAppointmentDataSourceFilter = {
62
63
  type AXSchedulerAppointmentLoader = (filter?: AXSchedulerAppointmentDataSourceFilter) => AXSchedulerAppointment[];
63
64
  type AXSchedulerAppointmentLoaderAsync = (filter?: AXSchedulerAppointmentDataSourceFilter) => Promise<AXSchedulerAppointment[]>;
64
65
  type AXSchedulerAppointmentDataSource = AXSchedulerAppointment[] | AXSchedulerAppointmentLoader | AXSchedulerAppointmentLoaderAsync;
66
+ type AXSchedulerResource = {
67
+ id: any;
68
+ title: string;
69
+ description?: string;
70
+ };
65
71
 
66
72
  interface AXSchedulerAppointmentMouseEvent extends NXNativeEvent<AXSchedulerComponent, MouseEvent> {
67
73
  appointment: AXSchedulerAppointment;
@@ -80,6 +86,7 @@ interface AXSchedulerSlotDropEvent extends NXEvent<AXSchedulerComponent> {
80
86
  endDate: AXDateTime;
81
87
  startDate: AXDateTime;
82
88
  view: AXSchedulerView;
89
+ resourceId?: any;
83
90
  };
84
91
  isSameSlotDrop: boolean;
85
92
  }
@@ -118,10 +125,15 @@ declare class AXSchedulerComponent extends NXComponent implements OnInit {
118
125
  weekend: _angular_core.InputSignal<number[]>;
119
126
  allowFullScreen: _angular_core.InputSignal<boolean>;
120
127
  multiDayViewDaysCount: _angular_core.InputSignal<number>;
128
+ showResourceHeaders: _angular_core.InputSignal<boolean>;
129
+ showCurrentTimeIndicator: _angular_core.InputSignal<boolean>;
130
+ showUnassignedAppointments: _angular_core.InputSignal<boolean>;
131
+ resources: _angular_core.InputSignal<AXSchedulerResource[]>;
132
+ resourceTemplate: _angular_core.InputSignal<TemplateRef<unknown>>;
133
+ firstDayOfWeek: _angular_core.InputSignal<AXDayOfWeekName>;
121
134
  tooltipTemplate: _angular_core.InputSignal<string | TemplateRef<unknown>>;
122
135
  dataSource: _angular_core.InputSignal<AXSchedulerAppointmentDataSource>;
123
136
  holidays: _angular_core.InputSignal<(range: AXSchedulerDateRange) => Promise<AXHolidayDate[]>>;
124
- firstDayOfWeek: _angular_core.InputSignal<AXDayOfWeekName>;
125
137
  views: _angular_core.InputSignal<AXSchedulerView[]>;
126
138
  selectedView: _angular_core.ModelSignal<AXSchedulerView>;
127
139
  private prevView;
@@ -146,7 +158,7 @@ declare class AXSchedulerComponent extends NXComponent implements OnInit {
146
158
  private fillDataSource;
147
159
  private getGridDateRange;
148
160
  currentDateText: _angular_core.Signal<string>;
149
- calendarDepth: _angular_core.Signal<"day" | "month">;
161
+ calendarDepth: _angular_core.Signal<"day" | "month" | "year">;
150
162
  private mappedAppointments;
151
163
  range: _angular_core.Signal<AXSchedulerDateRange>;
152
164
  viewAppointments: _angular_core.Signal<AXSchedulerAppointment[]>;
@@ -182,10 +194,10 @@ declare class AXSchedulerComponent extends NXComponent implements OnInit {
182
194
  */
183
195
  refresh(appointments?: AXSchedulerAppointment[]): Promise<void>;
184
196
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSchedulerComponent, never>;
185
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXSchedulerComponent, "ax-scheduler", never, { "calendar": { "alias": "calendar"; "required": false; "isSignal": true; }; "startingDate": { "alias": "startingDate"; "required": false; "isSignal": true; }; "endDayHour": { "alias": "endDayHour"; "required": false; "isSignal": true; }; "startDayHour": { "alias": "startDayHour"; "required": false; "isSignal": true; }; "hasHeader": { "alias": "hasHeader"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "hasActions": { "alias": "hasActions"; "required": false; "isSignal": true; }; "dragStartDelay": { "alias": "dragStartDelay"; "required": false; "isSignal": true; }; "weekend": { "alias": "weekend"; "required": false; "isSignal": true; }; "allowFullScreen": { "alias": "allowFullScreen"; "required": false; "isSignal": true; }; "multiDayViewDaysCount": { "alias": "multiDayViewDaysCount"; "required": false; "isSignal": true; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; "isSignal": true; }; "dataSource": { "alias": "dataSource"; "required": false; "isSignal": true; }; "holidays": { "alias": "holidays"; "required": false; "isSignal": true; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; "isSignal": true; }; "views": { "alias": "views"; "required": false; "isSignal": true; }; "selectedView": { "alias": "selectedView"; "required": false; "isSignal": true; }; }, { "selectedView": "selectedViewChange"; "onDataLoaded": "onDataLoaded"; "onRangeChanged": "onRangeChanged"; "onSlotClicked": "onSlotClicked"; "onSlotDblClicked": "onSlotDblClicked"; "onSlotRightClick": "onSlotRightClick"; "onAppointmentDrop": "onAppointmentDrop"; "onActionClick": "onActionClick"; "onAppointmentClicked": "onAppointmentClicked"; "onAppointmentDblClicked": "onAppointmentDblClicked"; "onAppointmentRightClick": "onAppointmentRightClick"; }, never, never, true, never>;
197
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXSchedulerComponent, "ax-scheduler", never, { "calendar": { "alias": "calendar"; "required": false; "isSignal": true; }; "startingDate": { "alias": "startingDate"; "required": false; "isSignal": true; }; "endDayHour": { "alias": "endDayHour"; "required": false; "isSignal": true; }; "startDayHour": { "alias": "startDayHour"; "required": false; "isSignal": true; }; "hasHeader": { "alias": "hasHeader"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "hasActions": { "alias": "hasActions"; "required": false; "isSignal": true; }; "dragStartDelay": { "alias": "dragStartDelay"; "required": false; "isSignal": true; }; "weekend": { "alias": "weekend"; "required": false; "isSignal": true; }; "allowFullScreen": { "alias": "allowFullScreen"; "required": false; "isSignal": true; }; "multiDayViewDaysCount": { "alias": "multiDayViewDaysCount"; "required": false; "isSignal": true; }; "showResourceHeaders": { "alias": "showResourceHeaders"; "required": false; "isSignal": true; }; "showCurrentTimeIndicator": { "alias": "showCurrentTimeIndicator"; "required": false; "isSignal": true; }; "showUnassignedAppointments": { "alias": "showUnassignedAppointments"; "required": false; "isSignal": true; }; "resources": { "alias": "resources"; "required": false; "isSignal": true; }; "resourceTemplate": { "alias": "resourceTemplate"; "required": false; "isSignal": true; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; "isSignal": true; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; "isSignal": true; }; "dataSource": { "alias": "dataSource"; "required": false; "isSignal": true; }; "holidays": { "alias": "holidays"; "required": false; "isSignal": true; }; "views": { "alias": "views"; "required": false; "isSignal": true; }; "selectedView": { "alias": "selectedView"; "required": false; "isSignal": true; }; }, { "selectedView": "selectedViewChange"; "onDataLoaded": "onDataLoaded"; "onRangeChanged": "onRangeChanged"; "onSlotClicked": "onSlotClicked"; "onSlotDblClicked": "onSlotDblClicked"; "onSlotRightClick": "onSlotRightClick"; "onAppointmentDrop": "onAppointmentDrop"; "onActionClick": "onActionClick"; "onAppointmentClicked": "onAppointmentClicked"; "onAppointmentDblClicked": "onAppointmentDblClicked"; "onAppointmentRightClick": "onAppointmentRightClick"; }, never, never, true, never>;
186
198
  }
187
199
 
188
- declare class AXSchedulerDayViewComponent extends NXComponent {
200
+ declare class AXSchedulerDayViewComponent extends NXComponent implements AfterViewInit {
189
201
  private document;
190
202
  private scheduler;
191
203
  private calendarService;
@@ -199,8 +211,10 @@ declare class AXSchedulerDayViewComponent extends NXComponent {
199
211
  date: _angular_core.InputSignal<AXDateTime>;
200
212
  endDayHour: _angular_core.InputSignal<number>;
201
213
  startDayHour: _angular_core.InputSignal<number>;
214
+ showCurrentTimeIndicator: _angular_core.InputSignal<boolean>;
202
215
  appointments: _angular_core.InputSignal<AXSchedulerAppointment[]>;
203
216
  tooltipTemplate: _angular_core.InputSignal<string | TemplateRef<unknown>>;
217
+ currentTimeLineElement: _angular_core.Signal<ElementRef<HTMLElement>>;
204
218
  private dragStartSlotId;
205
219
  private processedAppointmentsForLayout;
206
220
  protected allDayAppointments: _angular_core.Signal<AXSchedulerAppointment[]>;
@@ -227,16 +241,20 @@ declare class AXSchedulerDayViewComponent extends NXComponent {
227
241
  protected getAppointmentWidth(key: any): string;
228
242
  protected getAppointmentTop(key: any): string;
229
243
  protected getAppointmentHeight(key: any): string;
244
+ protected getCurrentTimePosition(): number | null;
245
+ protected getCurrentTimePositionWithOffset(): string | null;
246
+ ngAfterViewInit(): void;
247
+ private setupCurrentTimeScroll;
230
248
  protected getSlotId(e: PointerEvent): void;
231
249
  protected get isReadonly(): boolean;
232
250
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSchedulerDayViewComponent, never>;
233
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXSchedulerDayViewComponent, "ax-scheduler-day-view", never, { "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "hasActions": { "alias": "hasActions"; "required": false; "isSignal": true; }; "dragStartDelay": { "alias": "dragStartDelay"; "required": false; "isSignal": true; }; "calendar": { "alias": "calendar"; "required": false; "isSignal": true; }; "date": { "alias": "date"; "required": true; "isSignal": true; }; "endDayHour": { "alias": "endDayHour"; "required": true; "isSignal": true; }; "startDayHour": { "alias": "startDayHour"; "required": true; "isSignal": true; }; "appointments": { "alias": "appointments"; "required": false; "isSignal": true; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; "isSignal": true; }; }, { "slotClickedInternal": "slotClickedInternal"; "slotDblClickedInternal": "slotDblClickedInternal"; "slotRightClickedInternal": "slotRightClickedInternal"; "appointmentClickedInternal": "appointmentClickedInternal"; "appointmentDblClickedInternal": "appointmentDblClickedInternal"; "appointmentRightClickedInternal": "appointmentRightClickedInternal"; "onActionClickInternal": "onActionClickInternal"; "onAppointmentDropInternal": "onAppointmentDropInternal"; }, never, never, true, never>;
251
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXSchedulerDayViewComponent, "ax-scheduler-day-view", never, { "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "hasActions": { "alias": "hasActions"; "required": false; "isSignal": true; }; "dragStartDelay": { "alias": "dragStartDelay"; "required": false; "isSignal": true; }; "calendar": { "alias": "calendar"; "required": false; "isSignal": true; }; "date": { "alias": "date"; "required": true; "isSignal": true; }; "endDayHour": { "alias": "endDayHour"; "required": true; "isSignal": true; }; "startDayHour": { "alias": "startDayHour"; "required": true; "isSignal": true; }; "showCurrentTimeIndicator": { "alias": "showCurrentTimeIndicator"; "required": false; "isSignal": true; }; "appointments": { "alias": "appointments"; "required": false; "isSignal": true; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; "isSignal": true; }; }, { "slotClickedInternal": "slotClickedInternal"; "slotDblClickedInternal": "slotDblClickedInternal"; "slotRightClickedInternal": "slotRightClickedInternal"; "appointmentClickedInternal": "appointmentClickedInternal"; "appointmentDblClickedInternal": "appointmentDblClickedInternal"; "appointmentRightClickedInternal": "appointmentRightClickedInternal"; "onActionClickInternal": "onActionClickInternal"; "onAppointmentDropInternal": "onAppointmentDropInternal"; }, never, never, true, never>;
234
252
  }
235
253
 
236
254
  type AXSchedulerGridBadgeInfo = AXSchedulerOverflowBadge & {
237
255
  hiddenAppointments: AXSchedulerAppointmentSegment[];
238
256
  };
239
- declare class AXSchedulerWeekViewComponent extends NXComponent {
257
+ declare class AXSchedulerWeekViewComponent extends NXComponent implements AfterViewInit {
240
258
  private readonly document;
241
259
  private readonly scheduler;
242
260
  private readonly calendarService;
@@ -252,8 +270,10 @@ declare class AXSchedulerWeekViewComponent extends NXComponent {
252
270
  date: _angular_core.InputSignal<AXDateTime>;
253
271
  endDayHour: _angular_core.InputSignal<number>;
254
272
  startDayHour: _angular_core.InputSignal<number>;
273
+ showCurrentTimeIndicator: _angular_core.InputSignal<boolean>;
255
274
  appointments: _angular_core.InputSignal<AXSchedulerAppointment[]>;
256
275
  tooltipTemplate: _angular_core.InputSignal<string | TemplateRef<unknown>>;
276
+ currentTimeLineElement: _angular_core.Signal<ElementRef<HTMLElement>>;
257
277
  protected readonly slotClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
258
278
  protected readonly slotDblClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
259
279
  protected readonly slotRightClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
@@ -376,11 +396,18 @@ declare class AXSchedulerWeekViewComponent extends NXComponent {
376
396
  * @param e The pointer event that initiates the drag.
377
397
  */
378
398
  protected getSlotId(e: PointerEvent): void;
399
+ protected getCurrentTimePosition(): number | null;
400
+ protected getCurrentTimePositionWithOffset(): string | null;
401
+ protected getCurrentDayColumnPosition(): string | null;
402
+ protected getCurrentDayColumnWidth(): string;
403
+ ngAfterViewInit(): void;
404
+ private setupCurrentTimeScroll;
405
+ protected shouldShowCurrentTimeForToday(): boolean;
379
406
  protected get isReadonly(): boolean;
380
407
  private processedAppointmentsForLayout;
381
408
  private timedGridSegments;
382
409
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSchedulerWeekViewComponent, never>;
383
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXSchedulerWeekViewComponent, "ax-scheduler-week-view", never, { "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "hasActions": { "alias": "hasActions"; "required": false; "isSignal": true; }; "dragStartDelay": { "alias": "dragStartDelay"; "required": false; "isSignal": true; }; "calendar": { "alias": "calendar"; "required": false; "isSignal": true; }; "date": { "alias": "date"; "required": true; "isSignal": true; }; "endDayHour": { "alias": "endDayHour"; "required": true; "isSignal": true; }; "startDayHour": { "alias": "startDayHour"; "required": true; "isSignal": true; }; "appointments": { "alias": "appointments"; "required": false; "isSignal": true; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; "isSignal": true; }; }, { "slotClickedInternal": "slotClickedInternal"; "slotDblClickedInternal": "slotDblClickedInternal"; "slotRightClickedInternal": "slotRightClickedInternal"; "appointmentClickedInternal": "appointmentClickedInternal"; "appointmentDblClickedInternal": "appointmentDblClickedInternal"; "appointmentRightClickedInternal": "appointmentRightClickedInternal"; "onActionClickInternal": "onActionClickInternal"; "onAppointmentDropInternal": "onAppointmentDropInternal"; }, never, never, true, never>;
410
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXSchedulerWeekViewComponent, "ax-scheduler-week-view", never, { "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "hasActions": { "alias": "hasActions"; "required": false; "isSignal": true; }; "dragStartDelay": { "alias": "dragStartDelay"; "required": false; "isSignal": true; }; "calendar": { "alias": "calendar"; "required": false; "isSignal": true; }; "date": { "alias": "date"; "required": true; "isSignal": true; }; "endDayHour": { "alias": "endDayHour"; "required": true; "isSignal": true; }; "startDayHour": { "alias": "startDayHour"; "required": true; "isSignal": true; }; "showCurrentTimeIndicator": { "alias": "showCurrentTimeIndicator"; "required": false; "isSignal": true; }; "appointments": { "alias": "appointments"; "required": false; "isSignal": true; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; "isSignal": true; }; }, { "slotClickedInternal": "slotClickedInternal"; "slotDblClickedInternal": "slotDblClickedInternal"; "slotRightClickedInternal": "slotRightClickedInternal"; "appointmentClickedInternal": "appointmentClickedInternal"; "appointmentDblClickedInternal": "appointmentDblClickedInternal"; "appointmentRightClickedInternal": "appointmentRightClickedInternal"; "onActionClickInternal": "onActionClickInternal"; "onAppointmentDropInternal": "onAppointmentDropInternal"; }, never, never, true, never>;
384
411
  }
385
412
 
386
413
  type AXSchedulerMonthDayCell = {
@@ -437,7 +464,55 @@ declare class AXSchedulerMonthViewComponent extends NXComponent {
437
464
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXSchedulerMonthViewComponent, "ax-scheduler-month-view", never, { "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "hasActions": { "alias": "hasActions"; "required": false; "isSignal": true; }; "dragStartDelay": { "alias": "dragStartDelay"; "required": false; "isSignal": true; }; "calendar": { "alias": "calendar"; "required": false; "isSignal": true; }; "date": { "alias": "date"; "required": true; "isSignal": true; }; "appointments": { "alias": "appointments"; "required": false; "isSignal": true; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; "isSignal": true; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; "isSignal": true; }; }, { "slotClickedInternal": "slotClickedInternal"; "slotDblClickedInternal": "slotDblClickedInternal"; "slotRightClickedInternal": "slotRightClickedInternal"; "appointmentClickedInternal": "appointmentClickedInternal"; "appointmentDblClickedInternal": "appointmentDblClickedInternal"; "appointmentRightClickedInternal": "appointmentRightClickedInternal"; "onActionClickInternal": "onActionClickInternal"; "onAppointmentDropInternal": "onAppointmentDropInternal"; }, never, never, true, never>;
438
465
  }
439
466
 
440
- declare class AXSchedulerTimelineDayViewComponent extends NXComponent {
467
+ interface AgendaDayData {
468
+ date: AXDateTime;
469
+ appointments: AXSchedulerAppointmentSegment[];
470
+ holiday?: {
471
+ state: 'holiday' | 'weekend' | 'none';
472
+ holiday?: AXHolidayDate;
473
+ };
474
+ }
475
+ declare class AXSchedulerAgendaViewComponent extends NXComponent {
476
+ private document;
477
+ private scheduler;
478
+ private calendarService;
479
+ private schedulerService;
480
+ daysCount: _angular_core.InputSignal<number>;
481
+ readonly: _angular_core.InputSignal<boolean>;
482
+ draggable: _angular_core.InputSignal<boolean>;
483
+ hasActions: _angular_core.InputSignal<boolean>;
484
+ dragStartDelay: _angular_core.InputSignal<number>;
485
+ calendar: _angular_core.InputSignal<string>;
486
+ date: _angular_core.InputSignal<AXDateTime>;
487
+ appointments: _angular_core.InputSignal<AXSchedulerAppointment[]>;
488
+ tooltipTemplate: _angular_core.InputSignal<string | TemplateRef<unknown>>;
489
+ private dragStartSlotId;
490
+ protected agendaDaysLayout: _angular_core.Signal<AgendaDayData[]>;
491
+ slotClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
492
+ slotDblClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
493
+ slotRightClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
494
+ appointmentClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
495
+ appointmentDblClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
496
+ appointmentRightClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
497
+ onActionClickInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
498
+ onAppointmentDropInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotDropEvent>;
499
+ private readonly eventOutputMap;
500
+ protected handleAppointmentEvent(mouseEvent: MouseEvent, appointmentItem: AXSchedulerAppointment): void;
501
+ protected handleSlotEvent(mouseEvent: MouseEvent, date: AXDateTime): void;
502
+ protected handleDrop(e: AXDropZoneDropEvent, date: AXDateTime): void;
503
+ protected handleActionClick(event: MouseEvent, appointmentItem: AXSchedulerAppointment): void;
504
+ protected isToday(date: AXDateTime): boolean;
505
+ protected isHoliday(date: AXDateTime): {
506
+ state: 'holiday' | 'weekend' | 'none';
507
+ holiday?: AXHolidayDate;
508
+ };
509
+ protected getSlotId(e: PointerEvent): void;
510
+ protected get isReadonly(): boolean;
511
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSchedulerAgendaViewComponent, never>;
512
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXSchedulerAgendaViewComponent, "ax-scheduler-agenda-view", never, { "daysCount": { "alias": "daysCount"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "hasActions": { "alias": "hasActions"; "required": false; "isSignal": true; }; "dragStartDelay": { "alias": "dragStartDelay"; "required": false; "isSignal": true; }; "calendar": { "alias": "calendar"; "required": false; "isSignal": true; }; "date": { "alias": "date"; "required": true; "isSignal": true; }; "appointments": { "alias": "appointments"; "required": false; "isSignal": true; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; "isSignal": true; }; }, { "slotClickedInternal": "slotClickedInternal"; "slotDblClickedInternal": "slotDblClickedInternal"; "slotRightClickedInternal": "slotRightClickedInternal"; "appointmentClickedInternal": "appointmentClickedInternal"; "appointmentDblClickedInternal": "appointmentDblClickedInternal"; "appointmentRightClickedInternal": "appointmentRightClickedInternal"; "onActionClickInternal": "onActionClickInternal"; "onAppointmentDropInternal": "onAppointmentDropInternal"; }, never, never, true, never>;
513
+ }
514
+
515
+ declare class AXSchedulerTimelineDayViewComponent extends NXComponent implements AfterViewInit {
441
516
  private document;
442
517
  private scheduler;
443
518
  private calendarService;
@@ -448,12 +523,27 @@ declare class AXSchedulerTimelineDayViewComponent extends NXComponent {
448
523
  hasActions: _angular_core.InputSignal<boolean>;
449
524
  dragStartDelay: _angular_core.InputSignal<number>;
450
525
  calendar: _angular_core.InputSignal<string>;
526
+ showResourceHeaders: _angular_core.InputSignal<boolean>;
451
527
  date: _angular_core.InputSignal<AXDateTime>;
452
528
  endDayHour: _angular_core.InputSignal<number>;
453
529
  startDayHour: _angular_core.InputSignal<number>;
530
+ showUnassignedAppointments: _angular_core.InputSignal<boolean>;
531
+ resources: _angular_core.InputSignal<AXSchedulerResource[]>;
532
+ showCurrentTimeIndicator: _angular_core.InputSignal<boolean>;
533
+ resourceTemplate: _angular_core.InputSignal<TemplateRef<unknown>>;
454
534
  appointments: _angular_core.InputSignal<AXSchedulerAppointment[]>;
455
535
  tooltipTemplate: _angular_core.InputSignal<string | TemplateRef<unknown>>;
456
536
  private dragStartSlotId;
537
+ private dragStartSlotResourceId;
538
+ currentTimeLineElement: _angular_core.Signal<ElementRef<HTMLElement>>;
539
+ /**
540
+ * Gets appointments grouped by resources for timeline view.
541
+ */
542
+ protected appointmentsByResource: _angular_core.Signal<Map<any, AXSchedulerAppointment[]>>;
543
+ /**
544
+ * Gets all resource IDs including unassigned if applicable.
545
+ */
546
+ protected resourceIds: _angular_core.Signal<any[]>;
457
547
  /**
458
548
  * Processes original appointments to get segments relevant to this specific day and its viewable hours.
459
549
  * Filters out original all-day events.
@@ -470,19 +560,304 @@ declare class AXSchedulerTimelineDayViewComponent extends NXComponent {
470
560
  private readonly eventOutputMap;
471
561
  protected handleAppointmentEvent(mouseEvent: MouseEvent, appointmentItem: AXSchedulerAppointment): void;
472
562
  protected handleSlotEvent(mouseEvent: MouseEvent, startDate: AXDateTime): void;
473
- protected handleDrop(e: AXDropZoneDropEvent, startDate: AXDateTime): void;
563
+ protected handleDrop(e: AXDropZoneDropEvent, startDate: AXDateTime, resourceId?: any): void;
474
564
  protected handleActionClick(event: MouseEvent, appointmentItem: AXSchedulerAppointment): void;
475
565
  protected hoursArray: _angular_core.Signal<AXDateTime[]>;
476
566
  protected appointmentLayouts: _angular_core.Signal<AXSchedulerAppointmentLayout[]>;
567
+ /**
568
+ * Gets appointments for a specific resource.
569
+ */
570
+ protected getAppointmentsForResource(resourceId: any): AXSchedulerAppointment[];
571
+ /**
572
+ * Gets resource title by ID.
573
+ */
574
+ protected getResourceTitle(resourceId: any): string;
575
+ protected getResourceContext(resourceId: any): AXSchedulerResource;
576
+ protected getCurrentTimePosition(): number | null;
577
+ protected getCurrentTimePositionWithOffset(): string | null;
578
+ ngAfterViewInit(): void;
579
+ private setupCurrentTimeScroll;
580
+ /**
581
+ * Gets appointment layouts for a specific resource with proper positioning.
582
+ */
583
+ protected getAppointmentLayoutsForResource(resourceId: any): AXSchedulerAppointmentLayout[];
584
+ /**
585
+ * Calculates the height for a resource row based on its appointments.
586
+ */
587
+ protected getResourceRowHeight(resourceId: any): string;
588
+ /**
589
+ * Calculates the maximum number of overlapping appointment rows needed.
590
+ */
591
+ private calculateMaxOverlappingRows;
477
592
  protected getSlotId(e: PointerEvent): void;
478
593
  protected get isReadonly(): boolean;
479
594
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSchedulerTimelineDayViewComponent, never>;
480
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXSchedulerTimelineDayViewComponent, "ax-scheduler-timeline-day-view", never, { "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "hasActions": { "alias": "hasActions"; "required": false; "isSignal": true; }; "dragStartDelay": { "alias": "dragStartDelay"; "required": false; "isSignal": true; }; "calendar": { "alias": "calendar"; "required": false; "isSignal": true; }; "date": { "alias": "date"; "required": true; "isSignal": true; }; "endDayHour": { "alias": "endDayHour"; "required": true; "isSignal": true; }; "startDayHour": { "alias": "startDayHour"; "required": true; "isSignal": true; }; "appointments": { "alias": "appointments"; "required": false; "isSignal": true; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; "isSignal": true; }; }, { "slotClickedInternal": "slotClickedInternal"; "slotDblClickedInternal": "slotDblClickedInternal"; "slotRightClickedInternal": "slotRightClickedInternal"; "appointmentClickedInternal": "appointmentClickedInternal"; "appointmentDblClickedInternal": "appointmentDblClickedInternal"; "appointmentRightClickedInternal": "appointmentRightClickedInternal"; "onActionClickInternal": "onActionClickInternal"; "onAppointmentDropInternal": "onAppointmentDropInternal"; }, never, never, true, never>;
595
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXSchedulerTimelineDayViewComponent, "ax-scheduler-timeline-day-view", never, { "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "hasActions": { "alias": "hasActions"; "required": false; "isSignal": true; }; "dragStartDelay": { "alias": "dragStartDelay"; "required": false; "isSignal": true; }; "calendar": { "alias": "calendar"; "required": false; "isSignal": true; }; "showResourceHeaders": { "alias": "showResourceHeaders"; "required": false; "isSignal": true; }; "date": { "alias": "date"; "required": true; "isSignal": true; }; "endDayHour": { "alias": "endDayHour"; "required": true; "isSignal": true; }; "startDayHour": { "alias": "startDayHour"; "required": true; "isSignal": true; }; "showUnassignedAppointments": { "alias": "showUnassignedAppointments"; "required": false; "isSignal": true; }; "resources": { "alias": "resources"; "required": false; "isSignal": true; }; "showCurrentTimeIndicator": { "alias": "showCurrentTimeIndicator"; "required": false; "isSignal": true; }; "resourceTemplate": { "alias": "resourceTemplate"; "required": false; "isSignal": true; }; "appointments": { "alias": "appointments"; "required": false; "isSignal": true; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; "isSignal": true; }; }, { "slotClickedInternal": "slotClickedInternal"; "slotDblClickedInternal": "slotDblClickedInternal"; "slotRightClickedInternal": "slotRightClickedInternal"; "appointmentClickedInternal": "appointmentClickedInternal"; "appointmentDblClickedInternal": "appointmentDblClickedInternal"; "appointmentRightClickedInternal": "appointmentRightClickedInternal"; "onActionClickInternal": "onActionClickInternal"; "onAppointmentDropInternal": "onAppointmentDropInternal"; }, never, never, true, never>;
596
+ }
597
+
598
+ interface TimelineMonthViewDayData {
599
+ date: AXDateTime;
600
+ visibleAppointments: AXSchedulerAppointmentSegment[];
601
+ hiddenAppointments: AXSchedulerAppointmentSegment[];
602
+ moreCount: number;
603
+ holiday?: {
604
+ state: 'holiday' | 'weekend' | 'none';
605
+ holiday?: AXHolidayDate;
606
+ };
607
+ appointmentsByResource?: Map<string, {
608
+ visible: AXSchedulerAppointmentSegment[];
609
+ hidden: AXSchedulerAppointmentSegment[];
610
+ moreCount: number;
611
+ }>;
612
+ }
613
+ declare class AXSchedulerTimelineMonthViewComponent extends NXComponent implements AfterViewInit {
614
+ private document;
615
+ private scheduler;
616
+ private calendarService;
617
+ private schedulerService;
618
+ private readonly MAX_VISIBLE_APPOINTMENTS_PER_DAY;
619
+ readonly: _angular_core.InputSignal<boolean>;
620
+ draggable: _angular_core.InputSignal<boolean>;
621
+ hasActions: _angular_core.InputSignal<boolean>;
622
+ dragStartDelay: _angular_core.InputSignal<number>;
623
+ calendar: _angular_core.InputSignal<string>;
624
+ showResourceHeaders: _angular_core.InputSignal<boolean>;
625
+ date: _angular_core.InputSignal<AXDateTime>;
626
+ showUnassignedAppointments: _angular_core.InputSignal<boolean>;
627
+ resources: _angular_core.InputSignal<AXSchedulerResource[]>;
628
+ showCurrentTimeIndicator: _angular_core.InputSignal<boolean>;
629
+ resourceTemplate: _angular_core.InputSignal<TemplateRef<unknown>>;
630
+ appointments: _angular_core.InputSignal<AXSchedulerAppointment[]>;
631
+ tooltipTemplate: _angular_core.InputSignal<string | TemplateRef<unknown>>;
632
+ private dragStartSlotId;
633
+ private dragStartSlotResourceId;
634
+ currentTimeLineElement: _angular_core.Signal<ElementRef<HTMLElement>>;
635
+ protected processedDayData: _angular_core.Signal<TimelineMonthViewDayData[]>;
636
+ slotClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
637
+ slotDblClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
638
+ slotRightClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
639
+ appointmentClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
640
+ appointmentDblClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
641
+ appointmentRightClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
642
+ onActionClickInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
643
+ onAppointmentDropInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotDropEvent>;
644
+ private readonly eventOutputMap;
645
+ protected handleAppointmentEvent(mouseEvent: MouseEvent, appointmentItem: AXSchedulerAppointment): void;
646
+ protected handleSlotEvent(mouseEvent: MouseEvent, date: AXDateTime): void;
647
+ protected handleDrop(e: AXDropZoneDropEvent, date: AXDateTime, resourceId?: any): void;
648
+ protected handleActionClick(event: MouseEvent, appointmentItem: AXSchedulerAppointment): void;
649
+ protected isToday(date: AXDateTime): boolean;
650
+ protected isHoliday(date: AXDateTime): {
651
+ state: 'holiday' | 'weekend' | 'none';
652
+ holiday?: AXHolidayDate;
653
+ };
654
+ /**
655
+ * Gets appointments grouped by resources for timeline view.
656
+ */
657
+ protected appointmentsByResource: _angular_core.Signal<Map<any, AXSchedulerAppointment[]>>;
658
+ /**
659
+ * Gets all resource IDs including unassigned if applicable.
660
+ */
661
+ protected resourceIds: _angular_core.Signal<any[]>;
662
+ /**
663
+ * Gets appointments for a specific resource.
664
+ */
665
+ protected getAppointmentsForResource(resourceId: any): AXSchedulerAppointment[];
666
+ /**
667
+ * Gets resource title by ID.
668
+ */
669
+ protected getResourceTitle(resourceId: any): string;
670
+ protected getResourceContext(resourceId: any): AXSchedulerResource;
671
+ protected getCurrentTimePosition(): number | null;
672
+ ngAfterViewInit(): void;
673
+ private setupCurrentTimeScroll;
674
+ /**
675
+ * Gets appointments for a specific resource and day.
676
+ */
677
+ protected getAppointmentsForResourceAndDay(resourceId: any, dayData: TimelineMonthViewDayData): {
678
+ visible: AXSchedulerAppointmentSegment[];
679
+ hidden: AXSchedulerAppointmentSegment[];
680
+ moreCount: number;
681
+ };
682
+ protected getSlotId(e: PointerEvent): void;
683
+ /**
684
+ * Gets the height for a specific resource row based on appointments.
685
+ */
686
+ protected getResourceRowHeight(resourceId: any): string;
687
+ /**
688
+ * Calculates the maximum number of overlapping appointment rows needed.
689
+ * This is a simplified version for timeline month view.
690
+ */
691
+ protected calculateMaxOverlappingRows(appointments: AXSchedulerAppointmentSegment[]): number;
692
+ protected shouldShowCurrentTimeForDay(dayDate: AXDateTime): boolean;
693
+ protected get isReadonly(): boolean;
694
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSchedulerTimelineMonthViewComponent, never>;
695
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXSchedulerTimelineMonthViewComponent, "ax-scheduler-timeline-month-view", never, { "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "hasActions": { "alias": "hasActions"; "required": false; "isSignal": true; }; "dragStartDelay": { "alias": "dragStartDelay"; "required": false; "isSignal": true; }; "calendar": { "alias": "calendar"; "required": false; "isSignal": true; }; "showResourceHeaders": { "alias": "showResourceHeaders"; "required": false; "isSignal": true; }; "date": { "alias": "date"; "required": true; "isSignal": true; }; "showUnassignedAppointments": { "alias": "showUnassignedAppointments"; "required": false; "isSignal": true; }; "resources": { "alias": "resources"; "required": false; "isSignal": true; }; "showCurrentTimeIndicator": { "alias": "showCurrentTimeIndicator"; "required": false; "isSignal": true; }; "resourceTemplate": { "alias": "resourceTemplate"; "required": false; "isSignal": true; }; "appointments": { "alias": "appointments"; "required": false; "isSignal": true; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; "isSignal": true; }; }, { "slotClickedInternal": "slotClickedInternal"; "slotDblClickedInternal": "slotDblClickedInternal"; "slotRightClickedInternal": "slotRightClickedInternal"; "appointmentClickedInternal": "appointmentClickedInternal"; "appointmentDblClickedInternal": "appointmentDblClickedInternal"; "appointmentRightClickedInternal": "appointmentRightClickedInternal"; "onActionClickInternal": "onActionClickInternal"; "onAppointmentDropInternal": "onAppointmentDropInternal"; }, never, never, true, never>;
696
+ }
697
+
698
+ interface TimelineMultiDayDaySlot {
699
+ date: AXDateTime;
700
+ originalAppointmentsForThisDay: AXSchedulerAppointment[];
701
+ holiday?: {
702
+ state: 'holiday' | 'weekend' | 'none';
703
+ holiday?: AXHolidayDate;
704
+ };
705
+ }
706
+ declare class AXSchedulerTimelineMultiDayViewComponent extends NXComponent implements AfterViewInit {
707
+ private calendarService;
708
+ private schedulerService;
709
+ daysCount: _angular_core.InputSignal<number>;
710
+ readonly: _angular_core.InputSignal<boolean>;
711
+ draggable: _angular_core.InputSignal<boolean>;
712
+ hasActions: _angular_core.InputSignal<boolean>;
713
+ dragStartDelay: _angular_core.InputSignal<number>;
714
+ calendar: _angular_core.InputSignal<string>;
715
+ showResourceHeaders: _angular_core.InputSignal<boolean>;
716
+ date: _angular_core.InputSignal<AXDateTime>;
717
+ endDayHour: _angular_core.InputSignal<number>;
718
+ showCurrentTimeIndicator: _angular_core.InputSignal<boolean>;
719
+ startDayHour: _angular_core.InputSignal<number>;
720
+ showUnassignedAppointments: _angular_core.InputSignal<boolean>;
721
+ resources: _angular_core.InputSignal<AXSchedulerResource[]>;
722
+ resourceTemplate: _angular_core.InputSignal<TemplateRef<unknown>>;
723
+ appointments: _angular_core.InputSignal<AXSchedulerAppointment[]>;
724
+ tooltipTemplate: _angular_core.InputSignal<string | TemplateRef<unknown>>;
725
+ currentTimeLineElement: _angular_core.Signal<ElementRef<HTMLElement>>;
726
+ protected daysDataForTimelineViews: _angular_core.Signal<TimelineMultiDayDaySlot[]>;
727
+ slotClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
728
+ slotDblClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
729
+ slotRightClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
730
+ appointmentClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
731
+ appointmentDblClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
732
+ appointmentRightClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
733
+ onActionClickInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
734
+ onAppointmentDropInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotDropEvent>;
735
+ protected handleDrop(event: AXSchedulerSlotDropEvent, resourceId: any): void;
736
+ protected isToday(date: AXDateTime): boolean;
737
+ /**
738
+ * Gets appointments grouped by resources for timeline view.
739
+ */
740
+ protected appointmentsByResource: _angular_core.Signal<Map<any, AXSchedulerAppointment[]>>;
741
+ /**
742
+ * Gets all resource IDs including unassigned if applicable.
743
+ */
744
+ protected resourceIds: _angular_core.Signal<any[]>;
745
+ /**
746
+ * Gets appointments for a specific resource.
747
+ */
748
+ protected getAppointmentsForResource(resourceId: any): AXSchedulerAppointment[];
749
+ /**
750
+ * Gets resource title by ID.
751
+ */
752
+ protected getResourceTitle(resourceId: any): string;
753
+ protected getResourceContext(resourceId: any): AXSchedulerResource;
754
+ protected getCurrentTimePosition(): number | null;
755
+ protected shouldShowCurrentTimeForDay(dayDate: AXDateTime): boolean;
756
+ ngAfterViewInit(): void;
757
+ private setupCurrentTimeScroll;
758
+ /**
759
+ * Gets appointments for a specific resource and day.
760
+ */
761
+ protected getAppointmentsForResourceAndDay(resourceId: any, dayAppointments: AXSchedulerAppointment[]): AXSchedulerAppointment[];
762
+ /**
763
+ * Gets the height for a specific resource across all days.
764
+ */
765
+ protected getResourceRowHeight(resourceId: any): string;
766
+ /**
767
+ * Calculates the maximum number of overlapping rows for a set of appointments.
768
+ * Uses the actual segmented times that will be displayed in the timeline view.
769
+ */
770
+ private calculateMaxOverlappingRowsForAppointments;
771
+ /**
772
+ * Gets the hours array for time slots display.
773
+ */
774
+ protected getHoursArray(): AXDateTime[];
775
+ /**
776
+ * Gets the number of hours for CSS calculations.
777
+ */
778
+ protected getHoursCount(): number;
779
+ protected isHoliday(date: AXDateTime): {
780
+ state: 'holiday' | 'weekend' | 'none';
781
+ holiday?: AXHolidayDate;
782
+ };
783
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSchedulerTimelineMultiDayViewComponent, never>;
784
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXSchedulerTimelineMultiDayViewComponent, "ax-scheduler-timeline-multi-day-view", never, { "daysCount": { "alias": "daysCount"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "hasActions": { "alias": "hasActions"; "required": false; "isSignal": true; }; "dragStartDelay": { "alias": "dragStartDelay"; "required": false; "isSignal": true; }; "calendar": { "alias": "calendar"; "required": false; "isSignal": true; }; "showResourceHeaders": { "alias": "showResourceHeaders"; "required": false; "isSignal": true; }; "date": { "alias": "date"; "required": true; "isSignal": true; }; "endDayHour": { "alias": "endDayHour"; "required": true; "isSignal": true; }; "showCurrentTimeIndicator": { "alias": "showCurrentTimeIndicator"; "required": false; "isSignal": true; }; "startDayHour": { "alias": "startDayHour"; "required": true; "isSignal": true; }; "showUnassignedAppointments": { "alias": "showUnassignedAppointments"; "required": false; "isSignal": true; }; "resources": { "alias": "resources"; "required": false; "isSignal": true; }; "resourceTemplate": { "alias": "resourceTemplate"; "required": false; "isSignal": true; }; "appointments": { "alias": "appointments"; "required": false; "isSignal": true; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; "isSignal": true; }; }, { "slotClickedInternal": "slotClickedInternal"; "slotDblClickedInternal": "slotDblClickedInternal"; "slotRightClickedInternal": "slotRightClickedInternal"; "appointmentClickedInternal": "appointmentClickedInternal"; "appointmentDblClickedInternal": "appointmentDblClickedInternal"; "appointmentRightClickedInternal": "appointmentRightClickedInternal"; "onActionClickInternal": "onActionClickInternal"; "onAppointmentDropInternal": "onAppointmentDropInternal"; }, never, never, true, never>;
785
+ }
786
+
787
+ interface TimelineYearViewDayData {
788
+ date: AXDateTime;
789
+ visibleAppointments: AXSchedulerAppointmentSegment[];
790
+ hiddenAppointments: AXSchedulerAppointmentSegment[];
791
+ moreCount: number;
792
+ holiday?: {
793
+ state: 'holiday' | 'weekend' | 'none';
794
+ holiday?: AXHolidayDate;
795
+ };
796
+ appointmentsByResource?: Map<string, {
797
+ visible: AXSchedulerAppointmentSegment[];
798
+ hidden: AXSchedulerAppointmentSegment[];
799
+ moreCount: number;
800
+ }>;
801
+ }
802
+ declare class AXSchedulerTimelineYearViewComponent extends NXComponent implements AfterViewInit {
803
+ private document;
804
+ private scheduler;
805
+ private calendarService;
806
+ private schedulerService;
807
+ private readonly MAX_VISIBLE_APPOINTMENTS_PER_DAY;
808
+ readonly: _angular_core.InputSignal<boolean>;
809
+ draggable: _angular_core.InputSignal<boolean>;
810
+ hasActions: _angular_core.InputSignal<boolean>;
811
+ dragStartDelay: _angular_core.InputSignal<number>;
812
+ calendar: _angular_core.InputSignal<string>;
813
+ showResourceHeaders: _angular_core.InputSignal<boolean>;
814
+ date: _angular_core.InputSignal<AXDateTime>;
815
+ showUnassignedAppointments: _angular_core.InputSignal<boolean>;
816
+ resources: _angular_core.InputSignal<AXSchedulerResource[]>;
817
+ showCurrentTimeIndicator: _angular_core.InputSignal<boolean>;
818
+ resourceTemplate: _angular_core.InputSignal<TemplateRef<unknown>>;
819
+ appointments: _angular_core.InputSignal<AXSchedulerAppointment[]>;
820
+ tooltipTemplate: _angular_core.InputSignal<string | TemplateRef<unknown>>;
821
+ private dragStartSlotId;
822
+ private dragStartSlotResourceId;
823
+ currentTimeLineElement: _angular_core.Signal<ElementRef<HTMLElement>>;
824
+ protected optimizedDragStartDelay: _angular_core.Signal<number>;
825
+ protected processedDayData: _angular_core.Signal<TimelineYearViewDayData[]>;
826
+ protected resourceIds: _angular_core.Signal<any[]>;
827
+ private getHolidayInfo;
828
+ protected isToday(date: AXDateTime): boolean;
829
+ protected getResourceTitle(resourceId: any): string;
830
+ protected getAppointmentsForResourceAndDay(resourceId: any, dayData: TimelineYearViewDayData): {
831
+ visible: AXSchedulerAppointmentSegment[];
832
+ hidden: AXSchedulerAppointmentSegment[];
833
+ moreCount: number;
834
+ };
835
+ protected getResourceContext(resourceId: any): AXSchedulerResource;
836
+ protected getCurrentTimePosition(): number | null;
837
+ ngAfterViewInit(): void;
838
+ private setupCurrentTimeScroll;
839
+ slotClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
840
+ slotDblClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
841
+ slotRightClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
842
+ appointmentClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
843
+ appointmentDblClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
844
+ appointmentRightClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
845
+ onActionClickInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
846
+ onAppointmentDropInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotDropEvent>;
847
+ private readonly eventOutputMap;
848
+ protected handleAppointmentEvent(mouseEvent: MouseEvent, appointmentItem: AXSchedulerAppointment): void;
849
+ protected handleSlotEvent(mouseEvent: MouseEvent, date: AXDateTime): void;
850
+ protected handleDrop(e: AXDropZoneDropEvent, date: AXDateTime, resourceId?: any): void;
851
+ protected handleActionClick(event: MouseEvent, appointmentItem: AXSchedulerAppointment): void;
852
+ protected shouldShowCurrentTimeForDay(dayDate: AXDateTime): boolean;
853
+ protected getSlotId(e: PointerEvent): void;
854
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSchedulerTimelineYearViewComponent, never>;
855
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXSchedulerTimelineYearViewComponent, "ax-scheduler-timeline-year-view", never, { "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "hasActions": { "alias": "hasActions"; "required": false; "isSignal": true; }; "dragStartDelay": { "alias": "dragStartDelay"; "required": false; "isSignal": true; }; "calendar": { "alias": "calendar"; "required": false; "isSignal": true; }; "showResourceHeaders": { "alias": "showResourceHeaders"; "required": false; "isSignal": true; }; "date": { "alias": "date"; "required": true; "isSignal": true; }; "showUnassignedAppointments": { "alias": "showUnassignedAppointments"; "required": false; "isSignal": true; }; "resources": { "alias": "resources"; "required": false; "isSignal": true; }; "showCurrentTimeIndicator": { "alias": "showCurrentTimeIndicator"; "required": false; "isSignal": true; }; "resourceTemplate": { "alias": "resourceTemplate"; "required": false; "isSignal": true; }; "appointments": { "alias": "appointments"; "required": false; "isSignal": true; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; "isSignal": true; }; }, { "slotClickedInternal": "slotClickedInternal"; "slotDblClickedInternal": "slotDblClickedInternal"; "slotRightClickedInternal": "slotRightClickedInternal"; "appointmentClickedInternal": "appointmentClickedInternal"; "appointmentDblClickedInternal": "appointmentDblClickedInternal"; "appointmentRightClickedInternal": "appointmentRightClickedInternal"; "onActionClickInternal": "onActionClickInternal"; "onAppointmentDropInternal": "onAppointmentDropInternal"; }, never, never, true, never>;
481
856
  }
482
857
 
483
858
  declare class AXSchedulerModule {
484
859
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSchedulerModule, never>;
485
- static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXSchedulerModule, never, [typeof AXSchedulerComponent, typeof AXSchedulerDayViewComponent, typeof AXSchedulerWeekViewComponent, typeof AXSchedulerMonthViewComponent, typeof AXSchedulerTimelineDayViewComponent], [typeof AXSchedulerComponent, typeof AXSchedulerDayViewComponent, typeof AXSchedulerWeekViewComponent, typeof AXSchedulerMonthViewComponent, typeof AXSchedulerTimelineDayViewComponent]>;
860
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXSchedulerModule, never, [typeof AXSchedulerComponent, typeof AXSchedulerDayViewComponent, typeof AXSchedulerWeekViewComponent, typeof AXSchedulerMonthViewComponent, typeof AXSchedulerAgendaViewComponent, typeof AXSchedulerTimelineDayViewComponent, typeof AXSchedulerTimelineMonthViewComponent, typeof AXSchedulerTimelineMultiDayViewComponent, typeof AXSchedulerTimelineYearViewComponent], [typeof AXSchedulerComponent, typeof AXSchedulerDayViewComponent, typeof AXSchedulerWeekViewComponent, typeof AXSchedulerMonthViewComponent, typeof AXSchedulerAgendaViewComponent, typeof AXSchedulerTimelineDayViewComponent, typeof AXSchedulerTimelineMonthViewComponent, typeof AXSchedulerTimelineMultiDayViewComponent, typeof AXSchedulerTimelineYearViewComponent]>;
486
861
  static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXSchedulerModule>;
487
862
  }
488
863
 
@@ -632,147 +1007,34 @@ declare class AXSchedulerService {
632
1007
  * @returns boolean - True if the date is a weekend.
633
1008
  */
634
1009
  isWeekend(date: AXDateTime, calendar: string): boolean;
1010
+ /**
1011
+ * Filters appointments by resources and unassigned appointments.
1012
+ *
1013
+ * @param appointments - Array of appointments to filter.
1014
+ * @param resources - Array of resources.
1015
+ * @param showUnassignedAppointments - Whether to show appointments without resources.
1016
+ * @returns Map<any, AXSchedulerAppointment[]> - Appointments grouped by resource ID.
1017
+ */
1018
+ filterAppointmentsByResources(appointments: AXSchedulerAppointment[], resources: AXSchedulerResource[], showUnassignedAppointments?: boolean): Map<any, AXSchedulerAppointment[]>;
1019
+ /**
1020
+ * Gets appointments for a specific resource.
1021
+ *
1022
+ * @param appointments - Array of appointments.
1023
+ * @param resourceId - The resource ID to filter by.
1024
+ * @returns AXSchedulerAppointment[] - Filtered appointments.
1025
+ */
1026
+ getAppointmentsForResource(appointments: AXSchedulerAppointment[], resourceId: any): AXSchedulerAppointment[];
1027
+ /**
1028
+ * Gets all resource IDs including unassigned if applicable.
1029
+ *
1030
+ * @param resources - Array of resources.
1031
+ * @param showUnassignedAppointments - Whether to include unassigned appointments.
1032
+ * @returns string[] - Array of resource IDs.
1033
+ */
1034
+ getAllResourceIds(resources: AXSchedulerResource[], showUnassignedAppointments?: boolean): any[];
635
1035
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSchedulerService, never>;
636
1036
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXSchedulerService>;
637
1037
  }
638
1038
 
639
- interface AgendaDayData {
640
- date: AXDateTime;
641
- appointments: AXSchedulerAppointmentSegment[];
642
- holiday?: {
643
- state: 'holiday' | 'weekend' | 'none';
644
- holiday?: AXHolidayDate;
645
- };
646
- }
647
- declare class AXSchedulerAgendaViewComponent extends NXComponent {
648
- private document;
649
- private scheduler;
650
- private calendarService;
651
- private schedulerService;
652
- daysCount: _angular_core.InputSignal<number>;
653
- readonly: _angular_core.InputSignal<boolean>;
654
- draggable: _angular_core.InputSignal<boolean>;
655
- hasActions: _angular_core.InputSignal<boolean>;
656
- dragStartDelay: _angular_core.InputSignal<number>;
657
- calendar: _angular_core.InputSignal<string>;
658
- date: _angular_core.InputSignal<AXDateTime>;
659
- appointments: _angular_core.InputSignal<AXSchedulerAppointment[]>;
660
- tooltipTemplate: _angular_core.InputSignal<string | TemplateRef<unknown>>;
661
- private dragStartSlotId;
662
- protected agendaDaysLayout: _angular_core.Signal<AgendaDayData[]>;
663
- slotClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
664
- slotDblClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
665
- slotRightClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
666
- appointmentClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
667
- appointmentDblClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
668
- appointmentRightClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
669
- onActionClickInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
670
- onAppointmentDropInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotDropEvent>;
671
- private readonly eventOutputMap;
672
- protected handleAppointmentEvent(mouseEvent: MouseEvent, appointmentItem: AXSchedulerAppointment): void;
673
- protected handleSlotEvent(mouseEvent: MouseEvent, date: AXDateTime): void;
674
- protected handleDrop(e: AXDropZoneDropEvent, date: AXDateTime): void;
675
- protected handleActionClick(event: MouseEvent, appointmentItem: AXSchedulerAppointment): void;
676
- protected isToday(date: AXDateTime): boolean;
677
- protected isHoliday(date: AXDateTime): {
678
- state: 'holiday' | 'weekend' | 'none';
679
- holiday?: AXHolidayDate;
680
- };
681
- protected getSlotId(e: PointerEvent): void;
682
- protected get isReadonly(): boolean;
683
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSchedulerAgendaViewComponent, never>;
684
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXSchedulerAgendaViewComponent, "ax-scheduler-agenda-view", never, { "daysCount": { "alias": "daysCount"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "hasActions": { "alias": "hasActions"; "required": false; "isSignal": true; }; "dragStartDelay": { "alias": "dragStartDelay"; "required": false; "isSignal": true; }; "calendar": { "alias": "calendar"; "required": false; "isSignal": true; }; "date": { "alias": "date"; "required": true; "isSignal": true; }; "appointments": { "alias": "appointments"; "required": false; "isSignal": true; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; "isSignal": true; }; }, { "slotClickedInternal": "slotClickedInternal"; "slotDblClickedInternal": "slotDblClickedInternal"; "slotRightClickedInternal": "slotRightClickedInternal"; "appointmentClickedInternal": "appointmentClickedInternal"; "appointmentDblClickedInternal": "appointmentDblClickedInternal"; "appointmentRightClickedInternal": "appointmentRightClickedInternal"; "onActionClickInternal": "onActionClickInternal"; "onAppointmentDropInternal": "onAppointmentDropInternal"; }, never, never, true, never>;
685
- }
686
-
687
- interface TimelineMonthViewDayData {
688
- date: AXDateTime;
689
- visibleAppointments: AXSchedulerAppointmentSegment[];
690
- hiddenAppointments: AXSchedulerAppointmentSegment[];
691
- moreCount: number;
692
- holiday?: {
693
- state: 'holiday' | 'weekend' | 'none';
694
- holiday?: AXHolidayDate;
695
- };
696
- }
697
- declare class AXSchedulerTimelineMonthViewComponent extends NXComponent {
698
- private document;
699
- private scheduler;
700
- private calendarService;
701
- private schedulerService;
702
- private readonly MAX_VISIBLE_APPOINTMENTS_PER_DAY;
703
- readonly: _angular_core.InputSignal<boolean>;
704
- draggable: _angular_core.InputSignal<boolean>;
705
- hasActions: _angular_core.InputSignal<boolean>;
706
- dragStartDelay: _angular_core.InputSignal<number>;
707
- calendar: _angular_core.InputSignal<string>;
708
- date: _angular_core.InputSignal<AXDateTime>;
709
- appointments: _angular_core.InputSignal<AXSchedulerAppointment[]>;
710
- tooltipTemplate: _angular_core.InputSignal<string | TemplateRef<unknown>>;
711
- private dragStartSlotId;
712
- protected processedDayData: _angular_core.Signal<TimelineMonthViewDayData[]>;
713
- slotClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
714
- slotDblClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
715
- slotRightClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
716
- appointmentClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
717
- appointmentDblClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
718
- appointmentRightClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
719
- onActionClickInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
720
- onAppointmentDropInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotDropEvent>;
721
- private readonly eventOutputMap;
722
- protected handleAppointmentEvent(mouseEvent: MouseEvent, appointmentItem: AXSchedulerAppointment): void;
723
- protected handleSlotEvent(mouseEvent: MouseEvent, date: AXDateTime): void;
724
- protected handleDrop(e: AXDropZoneDropEvent, date: AXDateTime): void;
725
- protected handleActionClick(event: MouseEvent, appointmentItem: AXSchedulerAppointment): void;
726
- protected isToday(date: AXDateTime): boolean;
727
- protected isHoliday(date: AXDateTime): {
728
- state: 'holiday' | 'weekend' | 'none';
729
- holiday?: AXHolidayDate;
730
- };
731
- protected getSlotId(e: PointerEvent): void;
732
- protected get isReadonly(): boolean;
733
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSchedulerTimelineMonthViewComponent, never>;
734
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXSchedulerTimelineMonthViewComponent, "ax-scheduler-timeline-month-view", never, { "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "hasActions": { "alias": "hasActions"; "required": false; "isSignal": true; }; "dragStartDelay": { "alias": "dragStartDelay"; "required": false; "isSignal": true; }; "calendar": { "alias": "calendar"; "required": false; "isSignal": true; }; "date": { "alias": "date"; "required": true; "isSignal": true; }; "appointments": { "alias": "appointments"; "required": false; "isSignal": true; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; "isSignal": true; }; }, { "slotClickedInternal": "slotClickedInternal"; "slotDblClickedInternal": "slotDblClickedInternal"; "slotRightClickedInternal": "slotRightClickedInternal"; "appointmentClickedInternal": "appointmentClickedInternal"; "appointmentDblClickedInternal": "appointmentDblClickedInternal"; "appointmentRightClickedInternal": "appointmentRightClickedInternal"; "onActionClickInternal": "onActionClickInternal"; "onAppointmentDropInternal": "onAppointmentDropInternal"; }, never, never, true, never>;
735
- }
736
-
737
- interface TimelineMultiDayDaySlot {
738
- date: AXDateTime;
739
- originalAppointmentsForThisDay: AXSchedulerAppointment[];
740
- holiday?: {
741
- state: 'holiday' | 'weekend' | 'none';
742
- holiday?: AXHolidayDate;
743
- };
744
- }
745
- declare class AXSchedulerTimelineMultiDayViewComponent extends NXComponent {
746
- private calendarService;
747
- private schedulerService;
748
- daysCount: _angular_core.InputSignal<number>;
749
- readonly: _angular_core.InputSignal<boolean>;
750
- draggable: _angular_core.InputSignal<boolean>;
751
- hasActions: _angular_core.InputSignal<boolean>;
752
- dragStartDelay: _angular_core.InputSignal<number>;
753
- calendar: _angular_core.InputSignal<string>;
754
- date: _angular_core.InputSignal<AXDateTime>;
755
- endDayHour: _angular_core.InputSignal<number>;
756
- startDayHour: _angular_core.InputSignal<number>;
757
- appointments: _angular_core.InputSignal<AXSchedulerAppointment[]>;
758
- tooltipTemplate: _angular_core.InputSignal<string | TemplateRef<unknown>>;
759
- protected daysDataForTimelineViews: _angular_core.Signal<TimelineMultiDayDaySlot[]>;
760
- slotClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
761
- slotDblClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
762
- slotRightClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
763
- appointmentClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
764
- appointmentDblClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
765
- appointmentRightClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
766
- onActionClickInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
767
- onAppointmentDropInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotDropEvent>;
768
- protected isToday(date: AXDateTime): boolean;
769
- protected isHoliday(date: AXDateTime): {
770
- state: 'holiday' | 'weekend' | 'none';
771
- holiday?: AXHolidayDate;
772
- };
773
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSchedulerTimelineMultiDayViewComponent, never>;
774
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXSchedulerTimelineMultiDayViewComponent, "ax-scheduler-timeline-multi-day-view", never, { "daysCount": { "alias": "daysCount"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "hasActions": { "alias": "hasActions"; "required": false; "isSignal": true; }; "dragStartDelay": { "alias": "dragStartDelay"; "required": false; "isSignal": true; }; "calendar": { "alias": "calendar"; "required": false; "isSignal": true; }; "date": { "alias": "date"; "required": true; "isSignal": true; }; "endDayHour": { "alias": "endDayHour"; "required": true; "isSignal": true; }; "startDayHour": { "alias": "startDayHour"; "required": true; "isSignal": true; }; "appointments": { "alias": "appointments"; "required": false; "isSignal": true; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; "isSignal": true; }; }, { "slotClickedInternal": "slotClickedInternal"; "slotDblClickedInternal": "slotDblClickedInternal"; "slotRightClickedInternal": "slotRightClickedInternal"; "appointmentClickedInternal": "appointmentClickedInternal"; "appointmentDblClickedInternal": "appointmentDblClickedInternal"; "appointmentRightClickedInternal": "appointmentRightClickedInternal"; "onActionClickInternal": "onActionClickInternal"; "onAppointmentDropInternal": "onAppointmentDropInternal"; }, never, never, true, never>;
775
- }
776
-
777
- export { AXSchedulerAgendaViewComponent, AXSchedulerComponent, AXSchedulerDayViewComponent, AXSchedulerModule, AXSchedulerMonthViewComponent, AXSchedulerService, AXSchedulerTimelineDayViewComponent, AXSchedulerTimelineMonthViewComponent, AXSchedulerTimelineMultiDayViewComponent, AXSchedulerWeekViewComponent };
778
- export type { AXDayOfWeekName, AXSchedulerActiveAppointmentsInBlock, AXSchedulerAllDaySlotData, AXSchedulerAppointment, AXSchedulerAppointmentDataSource, AXSchedulerAppointmentDataSourceFilter, AXSchedulerAppointmentLayout, AXSchedulerAppointmentLoader, AXSchedulerAppointmentLoaderAsync, AXSchedulerAppointmentMouseEvent, AXSchedulerAppointmentSegment, AXSchedulerBlockIdentifier, AXSchedulerBlockOccupancyMap, AXSchedulerDateRange, AXSchedulerDayAppointmentLayout, AXSchedulerMonthDayCell, AXSchedulerMultiDayViewAppointment, AXSchedulerOverflowBadge, AXSchedulerSlotDropEvent, AXSchedulerSlotMouseEvent, AXSchedulerView, AgendaDayData, TimelineMonthViewDayData, TimelineMultiDayDaySlot };
1039
+ export { AXSchedulerAgendaViewComponent, AXSchedulerComponent, AXSchedulerDayViewComponent, AXSchedulerModule, AXSchedulerMonthViewComponent, AXSchedulerService, AXSchedulerTimelineDayViewComponent, AXSchedulerTimelineMonthViewComponent, AXSchedulerTimelineMultiDayViewComponent, AXSchedulerTimelineYearViewComponent, AXSchedulerWeekViewComponent };
1040
+ export type { AXDayOfWeekName, AXSchedulerActiveAppointmentsInBlock, AXSchedulerAllDaySlotData, AXSchedulerAppointment, AXSchedulerAppointmentDataSource, AXSchedulerAppointmentDataSourceFilter, AXSchedulerAppointmentLayout, AXSchedulerAppointmentLoader, AXSchedulerAppointmentLoaderAsync, AXSchedulerAppointmentMouseEvent, AXSchedulerAppointmentSegment, AXSchedulerBlockIdentifier, AXSchedulerBlockOccupancyMap, AXSchedulerDateRange, AXSchedulerDayAppointmentLayout, AXSchedulerMonthDayCell, AXSchedulerMultiDayViewAppointment, AXSchedulerOverflowBadge, AXSchedulerResource, AXSchedulerSlotDropEvent, AXSchedulerSlotMouseEvent, AXSchedulerView, AgendaDayData, TimelineMonthViewDayData, TimelineMultiDayDaySlot, TimelineYearViewDayData };