@acorex/components 19.15.0-next.6 → 19.15.0-next.8

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 (200) hide show
  1. package/button/lib/button-item-list.component.d.ts +2 -2
  2. package/conversation/lib/conversation-input/conversation-input.component.d.ts +2 -0
  3. package/decorators/lib/components/close-button/close-button.component.d.ts +2 -2
  4. package/drawer/lib/drawer/drawer-container/drawer-container.component.d.ts +3 -3
  5. package/drawer/lib/drawer/drawer-item/drawer.component.d.ts +15 -50
  6. package/dropdown-button/lib/dropdown-button.component.d.ts +2 -2
  7. package/fesm2022/acorex-components-action-sheet.mjs +15 -13
  8. package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
  9. package/fesm2022/acorex-components-alert.mjs +15 -9
  10. package/fesm2022/acorex-components-alert.mjs.map +1 -1
  11. package/fesm2022/acorex-components-audio-wave.mjs +9 -8
  12. package/fesm2022/acorex-components-audio-wave.mjs.map +1 -1
  13. package/fesm2022/acorex-components-autocomplete.mjs +10 -10
  14. package/fesm2022/acorex-components-autocomplete.mjs.map +1 -1
  15. package/fesm2022/acorex-components-avatar.mjs +13 -12
  16. package/fesm2022/acorex-components-avatar.mjs.map +1 -1
  17. package/fesm2022/acorex-components-badge.mjs +9 -9
  18. package/fesm2022/acorex-components-badge.mjs.map +1 -1
  19. package/fesm2022/acorex-components-bottom-navigation.mjs +13 -13
  20. package/fesm2022/acorex-components-bottom-navigation.mjs.map +1 -1
  21. package/fesm2022/acorex-components-breadcrumbs.mjs +13 -13
  22. package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
  23. package/fesm2022/acorex-components-button-group.mjs +13 -12
  24. package/fesm2022/acorex-components-button-group.mjs.map +1 -1
  25. package/fesm2022/acorex-components-button.mjs +18 -18
  26. package/fesm2022/acorex-components-button.mjs.map +1 -1
  27. package/fesm2022/acorex-components-calendar.mjs +18 -14
  28. package/fesm2022/acorex-components-calendar.mjs.map +1 -1
  29. package/fesm2022/acorex-components-check-box.mjs +10 -8
  30. package/fesm2022/acorex-components-check-box.mjs.map +1 -1
  31. package/fesm2022/acorex-components-chips.mjs +9 -9
  32. package/fesm2022/acorex-components-chips.mjs.map +1 -1
  33. package/fesm2022/acorex-components-circular-progress.mjs +9 -9
  34. package/fesm2022/acorex-components-circular-progress.mjs.map +1 -1
  35. package/fesm2022/acorex-components-collapse.mjs +14 -12
  36. package/fesm2022/acorex-components-collapse.mjs.map +1 -1
  37. package/fesm2022/acorex-components-color-box.mjs +7 -7
  38. package/fesm2022/acorex-components-color-palette.mjs +36 -26
  39. package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
  40. package/fesm2022/acorex-components-comment.mjs +37 -36
  41. package/fesm2022/acorex-components-comment.mjs.map +1 -1
  42. package/fesm2022/acorex-components-conversation.mjs +80 -63
  43. package/fesm2022/acorex-components-conversation.mjs.map +1 -1
  44. package/fesm2022/acorex-components-cron-job.mjs +57 -53
  45. package/fesm2022/acorex-components-cron-job.mjs.map +1 -1
  46. package/fesm2022/acorex-components-data-pager.mjs +74 -36
  47. package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
  48. package/fesm2022/acorex-components-data-table.mjs +59 -39
  49. package/fesm2022/acorex-components-data-table.mjs.map +1 -1
  50. package/fesm2022/acorex-components-datetime-box.mjs +7 -7
  51. package/fesm2022/acorex-components-datetime-input.mjs +7 -7
  52. package/fesm2022/acorex-components-datetime-picker.mjs +7 -7
  53. package/fesm2022/acorex-components-decorators.mjs +43 -34
  54. package/fesm2022/acorex-components-decorators.mjs.map +1 -1
  55. package/fesm2022/acorex-components-dialog.mjs +21 -13
  56. package/fesm2022/acorex-components-dialog.mjs.map +1 -1
  57. package/fesm2022/acorex-components-drawer.mjs +62 -151
  58. package/fesm2022/acorex-components-drawer.mjs.map +1 -1
  59. package/fesm2022/acorex-components-dropdown-button.mjs +12 -10
  60. package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
  61. package/fesm2022/acorex-components-dropdown.mjs +19 -17
  62. package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
  63. package/fesm2022/acorex-components-file-explorer.mjs +39 -31
  64. package/fesm2022/acorex-components-file-explorer.mjs.map +1 -1
  65. package/fesm2022/acorex-components-flow-chart.mjs +30 -20
  66. package/fesm2022/acorex-components-flow-chart.mjs.map +1 -1
  67. package/fesm2022/acorex-components-form.mjs +23 -27
  68. package/fesm2022/acorex-components-form.mjs.map +1 -1
  69. package/fesm2022/acorex-components-grid-layout-builder.mjs +13 -12
  70. package/fesm2022/acorex-components-grid-layout-builder.mjs.map +1 -1
  71. package/fesm2022/acorex-components-image-editor.mjs +43 -45
  72. package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
  73. package/fesm2022/acorex-components-image.mjs +15 -9
  74. package/fesm2022/acorex-components-image.mjs.map +1 -1
  75. package/fesm2022/acorex-components-json-viewer.mjs +9 -8
  76. package/fesm2022/acorex-components-json-viewer.mjs.map +1 -1
  77. package/fesm2022/acorex-components-kbd.mjs +13 -12
  78. package/fesm2022/acorex-components-kbd.mjs.map +1 -1
  79. package/fesm2022/acorex-components-label.mjs +15 -9
  80. package/fesm2022/acorex-components-label.mjs.map +1 -1
  81. package/fesm2022/acorex-components-list.mjs +7 -7
  82. package/fesm2022/acorex-components-loading-dialog.mjs +12 -12
  83. package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
  84. package/fesm2022/acorex-components-loading.mjs +19 -19
  85. package/fesm2022/acorex-components-loading.mjs.map +1 -1
  86. package/fesm2022/acorex-components-map.mjs +12 -11
  87. package/fesm2022/acorex-components-map.mjs.map +1 -1
  88. package/fesm2022/acorex-components-media-viewer.mjs +42 -41
  89. package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
  90. package/fesm2022/acorex-components-menu.mjs +41 -17
  91. package/fesm2022/acorex-components-menu.mjs.map +1 -1
  92. package/fesm2022/{acorex-components-modal-acorex-components-modal-F9PZYNJ9.mjs → acorex-components-modal-acorex-components-modal-CJ3M9U7p.mjs} +24 -23
  93. package/fesm2022/acorex-components-modal-acorex-components-modal-CJ3M9U7p.mjs.map +1 -0
  94. package/fesm2022/acorex-components-modal-modal-content.component-Ef5XWxUb.mjs +216 -0
  95. package/fesm2022/acorex-components-modal-modal-content.component-Ef5XWxUb.mjs.map +1 -0
  96. package/fesm2022/acorex-components-modal.mjs +1 -1
  97. package/fesm2022/acorex-components-navbar.mjs +9 -9
  98. package/fesm2022/acorex-components-navbar.mjs.map +1 -1
  99. package/fesm2022/acorex-components-notification.mjs +18 -12
  100. package/fesm2022/acorex-components-notification.mjs.map +1 -1
  101. package/fesm2022/acorex-components-number-box.mjs +7 -7
  102. package/fesm2022/acorex-components-otp.mjs +20 -8
  103. package/fesm2022/acorex-components-otp.mjs.map +1 -1
  104. package/fesm2022/acorex-components-page.mjs +10 -10
  105. package/fesm2022/acorex-components-paint.mjs +32 -34
  106. package/fesm2022/acorex-components-paint.mjs.map +1 -1
  107. package/fesm2022/acorex-components-password-box.mjs +28 -18
  108. package/fesm2022/acorex-components-password-box.mjs.map +1 -1
  109. package/fesm2022/acorex-components-pdf-reader.mjs +9 -8
  110. package/fesm2022/acorex-components-pdf-reader.mjs.map +1 -1
  111. package/fesm2022/acorex-components-phone-box.mjs +7 -7
  112. package/fesm2022/acorex-components-picker.mjs +18 -16
  113. package/fesm2022/acorex-components-picker.mjs.map +1 -1
  114. package/fesm2022/acorex-components-popover.mjs +15 -9
  115. package/fesm2022/acorex-components-popover.mjs.map +1 -1
  116. package/fesm2022/acorex-components-popup.mjs +18 -12
  117. package/fesm2022/acorex-components-popup.mjs.map +1 -1
  118. package/fesm2022/acorex-components-progress-bar.mjs +9 -9
  119. package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
  120. package/fesm2022/acorex-components-qrcode.mjs +10 -8
  121. package/fesm2022/acorex-components-qrcode.mjs.map +1 -1
  122. package/fesm2022/acorex-components-query-builder.mjs +9 -9
  123. package/fesm2022/acorex-components-query-builder.mjs.map +1 -1
  124. package/fesm2022/acorex-components-radio.mjs +10 -8
  125. package/fesm2022/acorex-components-radio.mjs.map +1 -1
  126. package/fesm2022/acorex-components-rail-navigation.mjs +16 -16
  127. package/fesm2022/acorex-components-rail-navigation.mjs.map +1 -1
  128. package/fesm2022/acorex-components-range-slider.mjs +10 -8
  129. package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
  130. package/fesm2022/acorex-components-rate-picker.mjs +10 -8
  131. package/fesm2022/acorex-components-rate-picker.mjs.map +1 -1
  132. package/fesm2022/acorex-components-rest-api-generator.mjs +28 -27
  133. package/fesm2022/acorex-components-rest-api-generator.mjs.map +1 -1
  134. package/fesm2022/acorex-components-result.mjs +9 -9
  135. package/fesm2022/acorex-components-result.mjs.map +1 -1
  136. package/fesm2022/acorex-components-routing-progress.mjs +9 -9
  137. package/fesm2022/acorex-components-routing-progress.mjs.map +1 -1
  138. package/fesm2022/acorex-components-scheduler.mjs +341 -279
  139. package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
  140. package/fesm2022/acorex-components-scss.mjs +4 -4
  141. package/fesm2022/acorex-components-search-box.mjs +7 -7
  142. package/fesm2022/acorex-components-select-box.mjs +10 -10
  143. package/fesm2022/acorex-components-select-box.mjs.map +1 -1
  144. package/fesm2022/acorex-components-selection-list.mjs +7 -7
  145. package/fesm2022/acorex-components-side-menu.mjs +16 -16
  146. package/fesm2022/acorex-components-side-menu.mjs.map +1 -1
  147. package/fesm2022/acorex-components-skeleton.mjs +9 -9
  148. package/fesm2022/acorex-components-skeleton.mjs.map +1 -1
  149. package/fesm2022/acorex-components-slider.mjs +10 -8
  150. package/fesm2022/acorex-components-slider.mjs.map +1 -1
  151. package/fesm2022/acorex-components-sliding-item.mjs +17 -16
  152. package/fesm2022/acorex-components-sliding-item.mjs.map +1 -1
  153. package/fesm2022/acorex-components-step-wizard.mjs +16 -16
  154. package/fesm2022/acorex-components-step-wizard.mjs.map +1 -1
  155. package/fesm2022/acorex-components-switch.mjs +14 -11
  156. package/fesm2022/acorex-components-switch.mjs.map +1 -1
  157. package/fesm2022/acorex-components-tabs.mjs +16 -15
  158. package/fesm2022/acorex-components-tabs.mjs.map +1 -1
  159. package/fesm2022/acorex-components-tag-box.mjs +7 -7
  160. package/fesm2022/acorex-components-tag.mjs +9 -9
  161. package/fesm2022/acorex-components-tag.mjs.map +1 -1
  162. package/fesm2022/acorex-components-text-area.mjs +7 -7
  163. package/fesm2022/acorex-components-text-box.mjs +10 -10
  164. package/fesm2022/acorex-components-time-duration.mjs +8 -12
  165. package/fesm2022/acorex-components-time-duration.mjs.map +1 -1
  166. package/fesm2022/acorex-components-time-line.mjs +13 -12
  167. package/fesm2022/acorex-components-time-line.mjs.map +1 -1
  168. package/fesm2022/acorex-components-toast.mjs +18 -12
  169. package/fesm2022/acorex-components-toast.mjs.map +1 -1
  170. package/fesm2022/acorex-components-toolbar.mjs +9 -8
  171. package/fesm2022/acorex-components-toolbar.mjs.map +1 -1
  172. package/fesm2022/acorex-components-tooltip.mjs +39 -12
  173. package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
  174. package/fesm2022/acorex-components-tree-view.mjs +20 -13
  175. package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
  176. package/fesm2022/acorex-components-uploader.mjs +27 -27
  177. package/fesm2022/acorex-components-uploader.mjs.map +1 -1
  178. package/fesm2022/acorex-components-video-player.mjs +9 -8
  179. package/fesm2022/acorex-components-video-player.mjs.map +1 -1
  180. package/fesm2022/acorex-components-wysiwyg.mjs +39 -41
  181. package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
  182. package/form/lib/form.component.d.ts +2 -3
  183. package/package.json +9 -9
  184. package/password-box/lib/password-strength-validation/password-strength-validation.component.d.ts +5 -5
  185. package/scheduler/lib/scheduler.class.d.ts +38 -31
  186. package/scheduler/lib/scheduler.component.d.ts +54 -41
  187. package/scheduler/lib/scheduler.service.d.ts +15 -14
  188. package/scheduler/lib/views/agenda/scheduler-agenda-view.component.d.ts +14 -12
  189. package/scheduler/lib/views/day/scheduler-day-view.component.d.ts +19 -17
  190. package/scheduler/lib/views/month/scheduler-month-view.component.d.ts +17 -15
  191. package/scheduler/lib/views/timeline-day/scheduler-timeline-day-view.component.d.ts +17 -15
  192. package/scheduler/lib/views/timeline-month/scheduler-timeline-month-view.component.d.ts +15 -13
  193. package/scheduler/lib/views/timeline-multi-day/scheduler-timeline-multi-day-view.component.d.ts +15 -14
  194. package/scheduler/lib/views/week/scheduler-week-view.component.d.ts +19 -17
  195. package/tooltip/lib/tooltip.directive.d.ts +7 -1
  196. package/tree-view/lib/tree-view.class.d.ts +1 -0
  197. package/tree-view/lib/tree-view.component.d.ts +4 -2
  198. package/fesm2022/acorex-components-modal-acorex-components-modal-F9PZYNJ9.mjs.map +0 -1
  199. package/fesm2022/acorex-components-modal-modal-content.component-ktH_8bGp.mjs +0 -216
  200. package/fesm2022/acorex-components-modal-modal-content.component-ktH_8bGp.mjs.map +0 -1
@@ -1,9 +1,29 @@
1
- import { AXDataSource, AXValueChangedEvent, MXBaseComponent } from '@acorex/cdk/common';
1
+ import { AXValueChangedEvent, NXComponent, NXEvent, NXNativeEvent } from '@acorex/cdk/common';
2
+ import { AXDropZoneDropEvent } from '@acorex/cdk/drag-drop';
2
3
  import { AXDateTime } from '@acorex/core/date-time';
3
4
  import { OnInit } from '@angular/core';
4
- import { AXDayOfWeekName, AXSchedulerAppointmentEvent, AXSchedulerAppointmentType, AXSchedulerSlotDropEvent, AXSchedulerSlotEvent, AXSchedulerView } from './scheduler.class';
5
+ import { AXDayOfWeekName, AXSchedulerAppointment, AXSchedulerAppointmentDataSource, AXSchedulerDateRange, AXSchedulerInternalAppointment, AXSchedulerView } from './scheduler.class';
5
6
  import * as i0 from "@angular/core";
6
- export declare class AXSchedulerComponent extends MXBaseComponent implements OnInit {
7
+ export interface AXSchedulerAppointmentMouseEvent extends NXNativeEvent<AXSchedulerComponent, MouseEvent> {
8
+ appointment: AXSchedulerAppointment;
9
+ }
10
+ export interface AXSchedulerSlotMouseEvent extends NXNativeEvent<AXSchedulerComponent, MouseEvent> {
11
+ slot: {
12
+ endDate: AXDateTime;
13
+ startDate: AXDateTime;
14
+ view: AXSchedulerView;
15
+ };
16
+ }
17
+ export interface AXSchedulerSlotDropEvent extends NXEvent<AXSchedulerComponent> {
18
+ dropEvent: AXDropZoneDropEvent;
19
+ appointment: AXSchedulerAppointment;
20
+ slot: {
21
+ endDate: AXDateTime;
22
+ startDate: AXDateTime;
23
+ view: AXSchedulerView;
24
+ };
25
+ }
26
+ export declare class AXSchedulerComponent extends NXComponent implements OnInit {
7
27
  #private;
8
28
  private platformId;
9
29
  private unsubscriber;
@@ -13,66 +33,59 @@ export declare class AXSchedulerComponent extends MXBaseComponent implements OnI
13
33
  private schedulerService;
14
34
  private translationService;
15
35
  private viewModeSelectbox;
16
- displayViews: Record<AXSchedulerView, string>;
36
+ private displayViews;
17
37
  calendar: import("@angular/core").InputSignal<string>;
18
- calendarType: import("@angular/core").WritableSignal<string>;
38
+ protected calendarType: import("@angular/core").WritableSignal<string>;
19
39
  startingDate: import("@angular/core").InputSignal<Date>;
20
40
  currentDate: import("@angular/core").WritableSignal<AXDateTime>;
21
- rtl: import("@angular/core").WritableSignal<boolean>;
22
- isLoading: import("@angular/core").WritableSignal<boolean>;
23
- isFullScreen: import("@angular/core").WritableSignal<boolean>;
24
- viewsDataSource: import("@angular/core").WritableSignal<{
41
+ private _appointments;
42
+ appointments: import("@angular/core").Signal<AXSchedulerAppointment[]>;
43
+ protected rtl: import("@angular/core").WritableSignal<boolean>;
44
+ protected isFullScreen: import("@angular/core").WritableSignal<boolean>;
45
+ protected viewsDataSource: import("@angular/core").WritableSignal<{
25
46
  id: string;
26
47
  text: string;
27
48
  }[]>;
28
- oldDate: import("@angular/core").WritableSignal<AXDateTime>;
29
- endHour: import("@angular/core").InputSignal<number>;
30
- startHour: import("@angular/core").InputSignal<number>;
31
- keyField: import("@angular/core").InputSignal<string>;
49
+ private prevDate;
50
+ endDayHour: import("@angular/core").InputSignal<number>;
51
+ startDayHour: import("@angular/core").InputSignal<number>;
52
+ hasHeader: import("@angular/core").InputSignal<boolean>;
32
53
  readonly: import("@angular/core").InputSignal<boolean>;
33
54
  draggable: import("@angular/core").InputSignal<boolean>;
34
- titleField: import("@angular/core").InputSignal<string>;
35
- allDayField: import("@angular/core").InputSignal<string>;
36
55
  allowFullScreen: import("@angular/core").InputSignal<boolean>;
37
- endDateField: import("@angular/core").InputSignal<string>;
38
56
  multiDayViewDaysCount: import("@angular/core").InputSignal<number>;
39
- readonlyField: import("@angular/core").InputSignal<string>;
40
- startDateField: import("@angular/core").InputSignal<string>;
41
- textColorField: import("@angular/core").InputSignal<string>;
42
- descriptionField: import("@angular/core").InputSignal<string>;
43
- backgroundColorField: import("@angular/core").InputSignal<string>;
44
- dataSource: import("@angular/core").InputSignal<any[] | AXDataSource<any>>;
57
+ dataSource: import("@angular/core").InputSignal<AXSchedulerAppointmentDataSource>;
45
58
  firstDayOfWeek: import("@angular/core").InputSignal<AXDayOfWeekName>;
46
59
  views: import("@angular/core").InputSignal<AXSchedulerView[]>;
47
60
  selectedView: import("@angular/core").ModelSignal<AXSchedulerView>;
48
- onSlotClicked: import("@angular/core").OutputEmitterRef<AXSchedulerSlotEvent>;
49
- onSlotDblClicked: import("@angular/core").OutputEmitterRef<AXSchedulerSlotEvent>;
50
- onSlotRightClick: import("@angular/core").OutputEmitterRef<AXSchedulerSlotEvent>;
61
+ onRangeChanged: import("@angular/core").OutputEmitterRef<AXSchedulerDateRange>;
62
+ onSlotClicked: import("@angular/core").OutputEmitterRef<AXSchedulerSlotMouseEvent>;
63
+ onSlotDblClicked: import("@angular/core").OutputEmitterRef<AXSchedulerSlotMouseEvent>;
64
+ onSlotRightClick: import("@angular/core").OutputEmitterRef<AXSchedulerSlotMouseEvent>;
51
65
  onAppointmentDrop: import("@angular/core").OutputEmitterRef<AXSchedulerSlotDropEvent>;
52
- onAppointmentClicked: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentEvent>;
53
- onAppointmentDblClicked: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentEvent>;
54
- onAppointmentRightClick: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentEvent>;
55
- protected handleSlotClickInternal(eventData: AXSchedulerSlotEvent): void;
56
- protected handleSlotDblClickInternal(eventData: AXSchedulerSlotEvent): void;
57
- protected handleSlotRightClickInternal(eventData: AXSchedulerSlotEvent): void;
58
- protected handleAppointmentClickInternal(eventData: AXSchedulerAppointmentEvent): void;
59
- protected handleAppointmentDblClickInternal(eventData: AXSchedulerAppointmentEvent): void;
60
- protected handleAppointmentRightClickInternal(eventData: AXSchedulerAppointmentEvent): void;
66
+ onAppointmentClicked: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
67
+ onAppointmentDblClicked: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
68
+ onAppointmentRightClick: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
69
+ protected handleSlotClickInternal(eventData: AXSchedulerSlotMouseEvent): void;
70
+ protected handleSlotDblClickInternal(eventData: AXSchedulerSlotMouseEvent): void;
71
+ protected handleSlotRightClickInternal(eventData: AXSchedulerSlotMouseEvent): void;
72
+ protected handleAppointmentClickInternal(eventData: AXSchedulerAppointmentMouseEvent): void;
73
+ protected handleAppointmentDblClickInternal(eventData: AXSchedulerAppointmentMouseEvent): void;
74
+ protected handleAppointmentRightClickInternal(eventData: AXSchedulerAppointmentMouseEvent): void;
61
75
  protected handleAppointmentDropInternal(eventData: AXSchedulerSlotDropEvent): void;
62
76
  ngOnInit(): void;
63
- fillDataSource(): Promise<void>;
77
+ private fillDataSource;
64
78
  private getGridDateRange;
65
- appointmentsList: import("@angular/core").Signal<AXDataSource<any>>;
66
- private dataSourceItemsSignal;
67
79
  currentDateText: import("@angular/core").Signal<string>;
68
80
  calendarDepth: import("@angular/core").Signal<"day" | "month">;
69
- mappedAppointments: import("@angular/core").Signal<AXSchedulerAppointmentType[]>;
70
- viewAppointments: import("@angular/core").Signal<AXSchedulerAppointmentType[]>;
81
+ private mappedAppointments;
82
+ range: import("@angular/core").Signal<AXSchedulerDateRange>;
83
+ viewAppointments: import("@angular/core").Signal<AXSchedulerInternalAppointment[]>;
71
84
  viewChanged(e: AXValueChangedEvent<AXSchedulerView>): void;
72
85
  nextClick(): void;
73
86
  prevClick(): void;
74
- calendarDateChanged(e: any): void;
87
+ calendarDateChanged(e: AXValueChangedEvent<Date>): void;
75
88
  handleFullScreen(): void;
76
89
  static ɵfac: i0.ɵɵFactoryDeclaration<AXSchedulerComponent, never>;
77
- static ɵcmp: i0.ɵɵComponentDeclaration<AXSchedulerComponent, "ax-scheduler", never, { "calendar": { "alias": "calendar"; "required": false; "isSignal": true; }; "startingDate": { "alias": "startingDate"; "required": false; "isSignal": true; }; "endHour": { "alias": "endHour"; "required": false; "isSignal": true; }; "startHour": { "alias": "startHour"; "required": false; "isSignal": true; }; "keyField": { "alias": "keyField"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "titleField": { "alias": "titleField"; "required": false; "isSignal": true; }; "allDayField": { "alias": "allDayField"; "required": false; "isSignal": true; }; "allowFullScreen": { "alias": "allowFullScreen"; "required": false; "isSignal": true; }; "endDateField": { "alias": "endDateField"; "required": false; "isSignal": true; }; "multiDayViewDaysCount": { "alias": "multiDayViewDaysCount"; "required": false; "isSignal": true; }; "readonlyField": { "alias": "readonlyField"; "required": false; "isSignal": true; }; "startDateField": { "alias": "startDateField"; "required": false; "isSignal": true; }; "textColorField": { "alias": "textColorField"; "required": false; "isSignal": true; }; "descriptionField": { "alias": "descriptionField"; "required": false; "isSignal": true; }; "backgroundColorField": { "alias": "backgroundColorField"; "required": false; "isSignal": true; }; "dataSource": { "alias": "dataSource"; "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"; "onSlotClicked": "onSlotClicked"; "onSlotDblClicked": "onSlotDblClicked"; "onSlotRightClick": "onSlotRightClick"; "onAppointmentDrop": "onAppointmentDrop"; "onAppointmentClicked": "onAppointmentClicked"; "onAppointmentDblClicked": "onAppointmentDblClicked"; "onAppointmentRightClick": "onAppointmentRightClick"; }, never, never, true, never>;
90
+ static ɵcmp: i0.ɵɵ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; }; "allowFullScreen": { "alias": "allowFullScreen"; "required": false; "isSignal": true; }; "multiDayViewDaysCount": { "alias": "multiDayViewDaysCount"; "required": false; "isSignal": true; }; "dataSource": { "alias": "dataSource"; "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"; "onRangeChanged": "onRangeChanged"; "onSlotClicked": "onSlotClicked"; "onSlotDblClicked": "onSlotDblClicked"; "onSlotRightClick": "onSlotRightClick"; "onAppointmentDrop": "onAppointmentDrop"; "onAppointmentClicked": "onAppointmentClicked"; "onAppointmentDblClicked": "onAppointmentDblClicked"; "onAppointmentRightClick": "onAppointmentRightClick"; }, never, never, true, never>;
78
91
  }
@@ -1,5 +1,6 @@
1
1
  import { AXDateTime } from '@acorex/core/date-time';
2
- import { AXDayOfWeekName, AXSchedulerActiveAppointmentsInBlock, AXSchedulerAppointmentEvent, AXSchedulerAppointmentsByStartBlock, AXSchedulerAppointmentSegmentType, AXSchedulerAppointmentType, AXSchedulerBlockIdentifier, AXSchedulerSlotEvent, AXSchedulerView } from './scheduler.class';
2
+ import { AXDayOfWeekName, AXSchedulerActiveAppointmentsInBlock, AXSchedulerAppointmentsByStartBlock, AXSchedulerAppointmentSegment, AXSchedulerBlockIdentifier, AXSchedulerInternalAppointment, AXSchedulerView } from './scheduler.class';
3
+ import { AXSchedulerAppointmentMouseEvent, AXSchedulerSlotMouseEvent } from './scheduler.component';
3
4
  import * as i0 from "@angular/core";
4
5
  export declare class AXSchedulerService {
5
6
  private calendarService;
@@ -12,15 +13,15 @@ export declare class AXSchedulerService {
12
13
  /**
13
14
  * Checks if two appointments overlap in time.
14
15
  */
15
- doAppointmentsOverlap(appointmentA: AXSchedulerAppointmentType, appointmentB: AXSchedulerAppointmentType): boolean;
16
+ doAppointmentsOverlap(appointmentA: AXSchedulerInternalAppointment, appointmentB: AXSchedulerInternalAppointment): boolean;
16
17
  /**
17
18
  * Calculates appointment duration in minutes.
18
19
  */
19
- calculateDurationInMinutes(Appointment: AXSchedulerAppointmentType): number;
20
+ calculateDurationInMinutes(Appointment: AXSchedulerInternalAppointment): number;
20
21
  /**
21
22
  * Calculates appointment duration in blocks (default 30 min).
22
23
  */
23
- calculateDurationInBlocks(appointment: AXSchedulerAppointmentType): number;
24
+ calculateDurationInBlocks(appointment: AXSchedulerInternalAppointment): number;
24
25
  /**
25
26
  * Gets the day index (relative to view start) and block index (relative to start hour)
26
27
  * for a given date time within the view context. Returns null if outside view.
@@ -31,11 +32,11 @@ export declare class AXSchedulerService {
31
32
  * Groups appointments by the blocks they are ACTIVE in for a given view.
32
33
  * @param viewTotalDays - Number of days in the current view (1 for Day, 7 for Week, etc.)
33
34
  */
34
- calculateActiveAppointmentsInBlock(singleDayAppointments: AXSchedulerAppointmentSegmentType[], viewStartDate: AXDateTime, startHour: number, endHour: number, viewTotalDays: number): AXSchedulerActiveAppointmentsInBlock;
35
+ calculateActiveAppointmentsInBlock(singleDayAppointments: AXSchedulerAppointmentSegment[], viewStartDate: AXDateTime, startHour: number, endHour: number, viewTotalDays: number): AXSchedulerActiveAppointmentsInBlock;
35
36
  /**
36
37
  * Calculates max concurrency and effective total columns for Day View appointments.
37
38
  */
38
- calculateDayViewConcurrencyInfo(singleDayAppointments: AXSchedulerAppointmentSegmentType[], // These are segments for the current day
39
+ calculateDayViewConcurrencyInfo(singleDayAppointments: AXSchedulerAppointmentSegment[], // These are segments for the current day
39
40
  viewStartDate: AXDateTime, startHour: number, endHour: number): Map<any, {
40
41
  maxConcurrency: number;
41
42
  effectiveTotalColumns: number;
@@ -43,21 +44,21 @@ export declare class AXSchedulerService {
43
44
  /**
44
45
  * Groups appointments by the block they START in for Week View.
45
46
  */
46
- calculateWeekViewAppointmentsByStartBlock(singleDayAppointments: AXSchedulerAppointmentSegmentType[], viewStartDate: AXDateTime, startHour: number, endHour: number): AXSchedulerAppointmentsByStartBlock;
47
+ calculateWeekViewAppointmentsByStartBlock(singleDayAppointments: AXSchedulerAppointmentSegment[], viewStartDate: AXDateTime, startHour: number, endHour: number): AXSchedulerAppointmentsByStartBlock;
47
48
  /**
48
49
  * Groups appointments by the day(s) they occur on within a given date range.
49
50
  * Returns a Map where the key is the date string ('YYYY-MM-DD') and the value is an array of appointments.
50
51
  */
51
- groupAppointmentsByDay(appointments: AXSchedulerAppointmentType[], viewStartDate: AXDateTime, // First day visible in the grid
52
- viewEndDate: AXDateTime): Map<string, AXSchedulerAppointmentType[]>;
52
+ groupAppointmentsByDay(appointments: AXSchedulerInternalAppointment[], viewStartDate: AXDateTime, // First day visible in the grid
53
+ viewEndDate: AXDateTime): Map<string, AXSchedulerInternalAppointment[]>;
53
54
  getDayOfWeekNumber(dayName: AXDayOfWeekName): number;
54
55
  getSlotData(startDate: AXDateTime, view: AXSchedulerView): {
55
56
  startDate: AXDateTime;
56
57
  endDate: AXDateTime;
57
58
  view: AXSchedulerView;
58
59
  };
59
- handleEvent(event: AXSchedulerSlotEvent | AXSchedulerAppointmentEvent, eventOutputMap: any, eventType: 'appointment' | 'slot'): void;
60
- calculateTimelineLayout(appt: AXSchedulerAppointmentType, viewStartHour: number, // e.g., 8 for 8 AM
60
+ handleEvent(event: AXSchedulerSlotMouseEvent | AXSchedulerAppointmentMouseEvent, eventOutputMap: any, eventType: 'appointment' | 'slot'): void;
61
+ calculateTimelineLayout(appt: AXSchedulerInternalAppointment, viewStartHour: number, // e.g., 8 for 8 AM
61
62
  viewEndHour: number): {
62
63
  left: string;
63
64
  width: string;
@@ -67,9 +68,9 @@ export declare class AXSchedulerService {
67
68
  * constrained by the view's start and end hours.
68
69
  * Returns a new appointment-like object representing the segment.
69
70
  */
70
- getClonedAppointmentSegmentOnDay(appointment: AXSchedulerAppointmentType, // This is the ORIGINAL appointment
71
- day: AXDateTime, viewStartHour: number, viewEndHour: number, isFullDayCellContext?: boolean): AXSchedulerAppointmentSegmentType | null;
72
- getOriginalAppointment(item: AXSchedulerAppointmentType | AXSchedulerAppointmentSegmentType): AXSchedulerAppointmentType;
71
+ getClonedAppointmentSegmentOnDay(appointment: AXSchedulerInternalAppointment, // This is the ORIGINAL appointment
72
+ day: AXDateTime, viewStartHour: number, viewEndHour: number, isFullDayCellContext?: boolean): AXSchedulerAppointmentSegment | null;
73
+ getOriginalAppointment(item: AXSchedulerInternalAppointment | AXSchedulerAppointmentSegment): AXSchedulerInternalAppointment;
73
74
  isHoliday(date: AXDateTime): boolean;
74
75
  isWeekend(date: AXDateTime, calendar: string): boolean;
75
76
  static ɵfac: i0.ɵɵFactoryDeclaration<AXSchedulerService, never>;
@@ -1,17 +1,19 @@
1
- import { MXBaseComponent } from '@acorex/cdk/common';
1
+ import { NXComponent } from '@acorex/cdk/common';
2
2
  import { AXDropZoneDropEvent } from '@acorex/cdk/drag-drop';
3
3
  import { AXDateTime, AXHolidayDate } from '@acorex/core/date-time';
4
- import { AXSchedulerAppointmentEvent, AXSchedulerAppointmentSegmentType, AXSchedulerAppointmentType, AXSchedulerSlotDropEvent, AXSchedulerSlotEvent } from '../../scheduler.class';
4
+ import { AXSchedulerAppointmentSegment, AXSchedulerInternalAppointment } from '../../scheduler.class';
5
+ import { AXSchedulerAppointmentMouseEvent, AXSchedulerSlotDropEvent, AXSchedulerSlotMouseEvent } from '../../scheduler.component';
5
6
  import * as i0 from "@angular/core";
6
7
  export interface AgendaDayData {
7
8
  date: AXDateTime;
8
- appointments: AXSchedulerAppointmentSegmentType[];
9
+ appointments: AXSchedulerAppointmentSegment[];
9
10
  holiday?: {
10
11
  state: 'holiday' | 'weekend' | 'none';
11
12
  holiday?: AXHolidayDate;
12
13
  };
13
14
  }
14
- export declare class AXSchedulerAgendaViewComponent extends MXBaseComponent {
15
+ export declare class AXSchedulerAgendaViewComponent extends NXComponent {
16
+ private scheduler;
15
17
  private calendarService;
16
18
  private schedulerService;
17
19
  daysCount: import("@angular/core").InputSignal<number>;
@@ -19,17 +21,17 @@ export declare class AXSchedulerAgendaViewComponent extends MXBaseComponent {
19
21
  draggable: import("@angular/core").InputSignal<boolean>;
20
22
  calendar: import("@angular/core").InputSignal<string>;
21
23
  date: import("@angular/core").InputSignal<AXDateTime>;
22
- appointments: import("@angular/core").InputSignal<AXSchedulerAppointmentType[]>;
24
+ appointments: import("@angular/core").InputSignal<AXSchedulerInternalAppointment[]>;
23
25
  agendaDaysLayout: import("@angular/core").Signal<AgendaDayData[]>;
24
- slotClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotEvent>;
25
- slotDblClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotEvent>;
26
- slotRightClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotEvent>;
27
- appointmentClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentEvent>;
28
- appointmentDblClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentEvent>;
29
- appointmentRightClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentEvent>;
26
+ slotClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotMouseEvent>;
27
+ slotDblClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotMouseEvent>;
28
+ slotRightClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotMouseEvent>;
29
+ appointmentClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
30
+ appointmentDblClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
31
+ appointmentRightClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
30
32
  onAppointmentDropInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotDropEvent>;
31
33
  private readonly eventOutputMap;
32
- handleAppointmentEvent(mouseEvent: MouseEvent, appointmentItem: AXSchedulerAppointmentType): void;
34
+ handleAppointmentEvent(mouseEvent: MouseEvent, appointmentItem: AXSchedulerInternalAppointment): void;
33
35
  handleSlotEvent(mouseEvent: MouseEvent, date: AXDateTime): void;
34
36
  handleDrop(e: AXDropZoneDropEvent, date: AXDateTime): void;
35
37
  protected isToday(date: AXDateTime): boolean;
@@ -1,30 +1,32 @@
1
- import { MXBaseComponent } from '@acorex/cdk/common';
1
+ import { NXComponent } from '@acorex/cdk/common';
2
2
  import { AXDropZoneDropEvent } from '@acorex/cdk/drag-drop';
3
3
  import { AXDateTime } from '@acorex/core/date-time';
4
- import { AXSchedulerAppointmentEvent, AXSchedulerAppointmentSegmentType, AXSchedulerAppointmentType, AXSchedulerDayAppointmentLayout, AXSchedulerSlotDropEvent, AXSchedulerSlotEvent } from '../../scheduler.class';
4
+ import { AXSchedulerAppointmentSegment, AXSchedulerDayAppointmentLayout, AXSchedulerInternalAppointment } from '../../scheduler.class';
5
+ import { AXSchedulerAppointmentMouseEvent, AXSchedulerSlotDropEvent, AXSchedulerSlotMouseEvent } from '../../scheduler.component';
5
6
  import * as i0 from "@angular/core";
6
- export declare class AXSchedulerDayViewComponent extends MXBaseComponent {
7
+ export declare class AXSchedulerDayViewComponent extends NXComponent {
8
+ private scheduler;
7
9
  private schedulerService;
8
10
  readonly GAP_PX = 1;
9
11
  readonly: import("@angular/core").InputSignal<boolean>;
10
12
  draggable: import("@angular/core").InputSignal<boolean>;
11
13
  calendar: import("@angular/core").InputSignal<string>;
12
- endHour: import("@angular/core").InputSignal<number>;
13
14
  date: import("@angular/core").InputSignal<AXDateTime>;
14
- startHour: import("@angular/core").InputSignal<number>;
15
- appointments: import("@angular/core").InputSignal<AXSchedulerAppointmentType[]>;
16
- processedAppointmentsForLayout: import("@angular/core").Signal<AXSchedulerAppointmentSegmentType[]>;
17
- allDayAppointments: import("@angular/core").Signal<AXSchedulerAppointmentType[]>;
18
- singleDayAppointments: import("@angular/core").Signal<AXSchedulerAppointmentSegmentType[]>;
19
- slotClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotEvent>;
20
- slotDblClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotEvent>;
21
- slotRightClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotEvent>;
22
- appointmentClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentEvent>;
23
- appointmentDblClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentEvent>;
24
- appointmentRightClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentEvent>;
15
+ endDayHour: import("@angular/core").InputSignal<number>;
16
+ startDayHour: import("@angular/core").InputSignal<number>;
17
+ appointments: import("@angular/core").InputSignal<AXSchedulerInternalAppointment[]>;
18
+ processedAppointmentsForLayout: import("@angular/core").Signal<AXSchedulerAppointmentSegment[]>;
19
+ allDayAppointments: import("@angular/core").Signal<AXSchedulerInternalAppointment[]>;
20
+ singleDayAppointments: import("@angular/core").Signal<AXSchedulerAppointmentSegment[]>;
21
+ slotClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotMouseEvent>;
22
+ slotDblClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotMouseEvent>;
23
+ slotRightClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotMouseEvent>;
24
+ appointmentClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
25
+ appointmentDblClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
26
+ appointmentRightClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
25
27
  onAppointmentDropInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotDropEvent>;
26
28
  private readonly eventOutputMap;
27
- handleAppointmentEvent(mouseEvent: MouseEvent, appointment: AXSchedulerAppointmentType): void;
29
+ handleAppointmentEvent(mouseEvent: MouseEvent, appointment: AXSchedulerInternalAppointment): void;
28
30
  handleSingleSlotEvent(mouseEvent: MouseEvent, startDate: AXDateTime): void;
29
31
  handleAllDaySlotEvent(mouseEvent: MouseEvent): void;
30
32
  handleAllDayDrop(e: AXDropZoneDropEvent): void;
@@ -38,5 +40,5 @@ export declare class AXSchedulerDayViewComponent extends MXBaseComponent {
38
40
  getAppointmentHeight(key: any): string;
39
41
  get isReadonly(): boolean;
40
42
  static ɵfac: i0.ɵɵFactoryDeclaration<AXSchedulerDayViewComponent, never>;
41
- static ɵcmp: i0.ɵɵComponentDeclaration<AXSchedulerDayViewComponent, "ax-scheduler-day-view", never, { "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "calendar": { "alias": "calendar"; "required": false; "isSignal": true; }; "endHour": { "alias": "endHour"; "required": true; "isSignal": true; }; "date": { "alias": "date"; "required": true; "isSignal": true; }; "startHour": { "alias": "startHour"; "required": true; "isSignal": true; }; "appointments": { "alias": "appointments"; "required": false; "isSignal": true; }; }, { "slotClickedInternal": "slotClickedInternal"; "slotDblClickedInternal": "slotDblClickedInternal"; "slotRightClickedInternal": "slotRightClickedInternal"; "appointmentClickedInternal": "appointmentClickedInternal"; "appointmentDblClickedInternal": "appointmentDblClickedInternal"; "appointmentRightClickedInternal": "appointmentRightClickedInternal"; "onAppointmentDropInternal": "onAppointmentDropInternal"; }, never, never, true, never>;
43
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXSchedulerDayViewComponent, "ax-scheduler-day-view", never, { "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "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; }; }, { "slotClickedInternal": "slotClickedInternal"; "slotDblClickedInternal": "slotDblClickedInternal"; "slotRightClickedInternal": "slotRightClickedInternal"; "appointmentClickedInternal": "appointmentClickedInternal"; "appointmentDblClickedInternal": "appointmentDblClickedInternal"; "appointmentRightClickedInternal": "appointmentRightClickedInternal"; "onAppointmentDropInternal": "onAppointmentDropInternal"; }, never, never, true, never>;
42
44
  }
@@ -1,7 +1,8 @@
1
- import { MXBaseComponent } from '@acorex/cdk/common';
1
+ import { NXComponent } from '@acorex/cdk/common';
2
2
  import { AXDropZoneDropEvent } from '@acorex/cdk/drag-drop';
3
3
  import { AXDateTime } from '@acorex/core/date-time';
4
- import { AXDayOfWeekName, AXSchedulerAppointmentEvent, AXSchedulerAppointmentSegmentType, AXSchedulerAppointmentType, AXSchedulerSlotDropEvent, AXSchedulerSlotEvent } from '../../scheduler.class';
4
+ import { AXDayOfWeekName, AXSchedulerAppointmentSegment, AXSchedulerInternalAppointment } from '../../scheduler.class';
5
+ import { AXSchedulerAppointmentMouseEvent, AXSchedulerSlotDropEvent, AXSchedulerSlotMouseEvent } from '../../scheduler.component';
5
6
  import * as i0 from "@angular/core";
6
7
  export type AXSchedulerMonthDayCell = {
7
8
  date: AXDateTime;
@@ -9,12 +10,13 @@ export type AXSchedulerMonthDayCell = {
9
10
  isToday: boolean;
10
11
  isHoliday: boolean;
11
12
  holidayTitle?: string;
12
- appointments: AXSchedulerAppointmentSegmentType[];
13
- visibleAppointments: AXSchedulerAppointmentSegmentType[];
14
- hiddenAppointments: AXSchedulerAppointmentSegmentType[];
13
+ appointments: AXSchedulerAppointmentSegment[];
14
+ visibleAppointments: AXSchedulerAppointmentSegment[];
15
+ hiddenAppointments: AXSchedulerAppointmentSegment[];
15
16
  overflowCount: number;
16
17
  };
17
- export declare class AXSchedulerMonthViewComponent extends MXBaseComponent {
18
+ export declare class AXSchedulerMonthViewComponent extends NXComponent {
19
+ private scheduler;
18
20
  private calendarService;
19
21
  private schedulerService;
20
22
  readonly: import("@angular/core").InputSignal<boolean>;
@@ -22,18 +24,18 @@ export declare class AXSchedulerMonthViewComponent extends MXBaseComponent {
22
24
  calendar: import("@angular/core").InputSignal<string>;
23
25
  date: import("@angular/core").InputSignal<AXDateTime>;
24
26
  firstDayOfWeek: import("@angular/core").InputSignal<AXDayOfWeekName>;
25
- appointments: import("@angular/core").InputSignal<AXSchedulerAppointmentType[]>;
27
+ appointments: import("@angular/core").InputSignal<AXSchedulerInternalAppointment[]>;
26
28
  readonly DAYS_IN_WEEK = 7;
27
29
  readonly MAX_VISIBLE_APPOINTMENTS_PER_DAY = 2;
28
- slotClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotEvent>;
29
- slotDblClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotEvent>;
30
- slotRightClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotEvent>;
31
- appointmentClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentEvent>;
32
- appointmentDblClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentEvent>;
33
- appointmentRightClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentEvent>;
30
+ slotClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotMouseEvent>;
31
+ slotDblClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotMouseEvent>;
32
+ slotRightClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotMouseEvent>;
33
+ appointmentClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
34
+ appointmentDblClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
35
+ appointmentRightClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
34
36
  onAppointmentDropInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotDropEvent>;
35
37
  private readonly eventOutputMap;
36
- handleAppointmentEvent(mouseEvent: MouseEvent, appointmentSegmentOrOriginal: AXSchedulerAppointmentType): void;
38
+ handleAppointmentEvent(mouseEvent: MouseEvent, appointmentSegmentOrOriginal: AXSchedulerInternalAppointment): void;
37
39
  handleSlotEvent(mouseEvent: MouseEvent, date: AXDateTime): void;
38
40
  handleDrop(e: AXDropZoneDropEvent, date: AXDateTime): void;
39
41
  monthStartDate: import("@angular/core").Signal<AXDateTime>;
@@ -48,7 +50,7 @@ export declare class AXSchedulerMonthViewComponent extends MXBaseComponent {
48
50
  }[];
49
51
  weeksNeeded: number;
50
52
  }>;
51
- appointmentsGroupedByDay: import("@angular/core").Signal<Map<string, AXSchedulerAppointmentType[]>>;
53
+ appointmentsGroupedByDay: import("@angular/core").Signal<Map<string, AXSchedulerInternalAppointment[]>>;
52
54
  dayCellLayouts: import("@angular/core").Signal<AXSchedulerMonthDayCell[]>;
53
55
  gridTemplateRowsStyle: import("@angular/core").Signal<string>;
54
56
  get isReadonly(): boolean;
@@ -1,37 +1,39 @@
1
- import { MXBaseComponent } from '@acorex/cdk/common';
1
+ import { NXComponent } from '@acorex/cdk/common';
2
2
  import { AXDropZoneDropEvent } from '@acorex/cdk/drag-drop';
3
3
  import { AXDateTime } from '@acorex/core/date-time';
4
- import { AXSchedulerAppointmentEvent, AXSchedulerAppointmentLayout, AXSchedulerAppointmentSegmentType, AXSchedulerAppointmentType, AXSchedulerSlotDropEvent, AXSchedulerSlotEvent } from '../../scheduler.class';
4
+ import { AXSchedulerAppointmentLayout, AXSchedulerAppointmentSegment, AXSchedulerInternalAppointment } from '../../scheduler.class';
5
+ import { AXSchedulerAppointmentMouseEvent, AXSchedulerSlotDropEvent, AXSchedulerSlotMouseEvent } from '../../scheduler.component';
5
6
  import * as i0 from "@angular/core";
6
- export declare class AXSchedulerTimelineDayViewComponent extends MXBaseComponent {
7
+ export declare class AXSchedulerTimelineDayViewComponent extends NXComponent {
8
+ private scheduler;
7
9
  private schedulerService;
8
10
  readonly GAP_PX = 1;
9
11
  readonly: import("@angular/core").InputSignal<boolean>;
10
12
  draggable: import("@angular/core").InputSignal<boolean>;
11
13
  calendar: import("@angular/core").InputSignal<string>;
12
- endHour: import("@angular/core").InputSignal<number>;
13
14
  date: import("@angular/core").InputSignal<AXDateTime>;
14
- startHour: import("@angular/core").InputSignal<number>;
15
- appointments: import("@angular/core").InputSignal<AXSchedulerAppointmentType[]>;
15
+ endDayHour: import("@angular/core").InputSignal<number>;
16
+ startDayHour: import("@angular/core").InputSignal<number>;
17
+ appointments: import("@angular/core").InputSignal<AXSchedulerInternalAppointment[]>;
16
18
  /**
17
19
  * Processes original appointments to get segments relevant to this specific day and its viewable hours.
18
20
  * Filters out original all-day events.
19
21
  */
20
- processedSegmentsForLayout: import("@angular/core").Signal<AXSchedulerAppointmentSegmentType[]>;
21
- slotClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotEvent>;
22
- slotDblClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotEvent>;
23
- slotRightClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotEvent>;
24
- appointmentClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentEvent>;
25
- appointmentDblClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentEvent>;
26
- appointmentRightClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentEvent>;
22
+ processedSegmentsForLayout: import("@angular/core").Signal<AXSchedulerAppointmentSegment[]>;
23
+ slotClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotMouseEvent>;
24
+ slotDblClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotMouseEvent>;
25
+ slotRightClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotMouseEvent>;
26
+ appointmentClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
27
+ appointmentDblClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
28
+ appointmentRightClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
27
29
  onAppointmentDropInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotDropEvent>;
28
30
  private readonly eventOutputMap;
29
- handleAppointmentEvent(mouseEvent: MouseEvent, appointmentItem: AXSchedulerAppointmentType): void;
31
+ handleAppointmentEvent(mouseEvent: MouseEvent, appointmentItem: AXSchedulerInternalAppointment): void;
30
32
  handleSlotEvent(mouseEvent: MouseEvent, startDate: AXDateTime): void;
31
33
  handleDrop(e: AXDropZoneDropEvent, startDate: AXDateTime): void;
32
34
  hoursArray: import("@angular/core").Signal<AXDateTime[]>;
33
35
  appointmentLayouts: import("@angular/core").Signal<AXSchedulerAppointmentLayout[]>;
34
36
  get isReadonly(): boolean;
35
37
  static ɵfac: i0.ɵɵFactoryDeclaration<AXSchedulerTimelineDayViewComponent, never>;
36
- static ɵcmp: i0.ɵɵComponentDeclaration<AXSchedulerTimelineDayViewComponent, "ax-scheduler-timeline-day-view", never, { "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "calendar": { "alias": "calendar"; "required": false; "isSignal": true; }; "endHour": { "alias": "endHour"; "required": true; "isSignal": true; }; "date": { "alias": "date"; "required": true; "isSignal": true; }; "startHour": { "alias": "startHour"; "required": true; "isSignal": true; }; "appointments": { "alias": "appointments"; "required": false; "isSignal": true; }; }, { "slotClickedInternal": "slotClickedInternal"; "slotDblClickedInternal": "slotDblClickedInternal"; "slotRightClickedInternal": "slotRightClickedInternal"; "appointmentClickedInternal": "appointmentClickedInternal"; "appointmentDblClickedInternal": "appointmentDblClickedInternal"; "appointmentRightClickedInternal": "appointmentRightClickedInternal"; "onAppointmentDropInternal": "onAppointmentDropInternal"; }, never, never, true, never>;
38
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXSchedulerTimelineDayViewComponent, "ax-scheduler-timeline-day-view", never, { "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "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; }; }, { "slotClickedInternal": "slotClickedInternal"; "slotDblClickedInternal": "slotDblClickedInternal"; "slotRightClickedInternal": "slotRightClickedInternal"; "appointmentClickedInternal": "appointmentClickedInternal"; "appointmentDblClickedInternal": "appointmentDblClickedInternal"; "appointmentRightClickedInternal": "appointmentRightClickedInternal"; "onAppointmentDropInternal": "onAppointmentDropInternal"; }, never, never, true, never>;
37
39
  }
@@ -1,19 +1,21 @@
1
- import { MXBaseComponent } from '@acorex/cdk/common';
1
+ import { NXComponent } from '@acorex/cdk/common';
2
2
  import { AXDropZoneDropEvent } from '@acorex/cdk/drag-drop';
3
3
  import { AXDateTime, AXHolidayDate } from '@acorex/core/date-time';
4
- import { AXSchedulerAppointmentEvent, AXSchedulerAppointmentSegmentType, AXSchedulerAppointmentType, AXSchedulerSlotDropEvent, AXSchedulerSlotEvent } from '../../scheduler.class';
4
+ import { AXSchedulerAppointmentSegment, AXSchedulerInternalAppointment } from '../../scheduler.class';
5
+ import { AXSchedulerAppointmentMouseEvent, AXSchedulerSlotDropEvent, AXSchedulerSlotMouseEvent } from '../../scheduler.component';
5
6
  import * as i0 from "@angular/core";
6
7
  export interface TimelineMonthViewDayData {
7
8
  date: AXDateTime;
8
- visibleAppointments: AXSchedulerAppointmentSegmentType[];
9
- hiddenAppointments: AXSchedulerAppointmentSegmentType[];
9
+ visibleAppointments: AXSchedulerAppointmentSegment[];
10
+ hiddenAppointments: AXSchedulerAppointmentSegment[];
10
11
  moreCount: number;
11
12
  holiday?: {
12
13
  state: 'holiday' | 'weekend' | 'none';
13
14
  holiday?: AXHolidayDate;
14
15
  };
15
16
  }
16
- export declare class AXSchedulerTimelineMonthViewComponent extends MXBaseComponent {
17
+ export declare class AXSchedulerTimelineMonthViewComponent extends NXComponent {
18
+ private scheduler;
17
19
  private calendarService;
18
20
  private schedulerService;
19
21
  private readonly MAX_VISIBLE_APPOINTMENTS_PER_DAY;
@@ -21,17 +23,17 @@ export declare class AXSchedulerTimelineMonthViewComponent extends MXBaseCompone
21
23
  draggable: import("@angular/core").InputSignal<boolean>;
22
24
  calendar: import("@angular/core").InputSignal<string>;
23
25
  date: import("@angular/core").InputSignal<AXDateTime>;
24
- appointments: import("@angular/core").InputSignal<AXSchedulerAppointmentType[]>;
26
+ appointments: import("@angular/core").InputSignal<AXSchedulerInternalAppointment[]>;
25
27
  processedDayData: import("@angular/core").Signal<TimelineMonthViewDayData[]>;
26
- slotClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotEvent>;
27
- slotDblClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotEvent>;
28
- slotRightClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotEvent>;
29
- appointmentClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentEvent>;
30
- appointmentDblClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentEvent>;
31
- appointmentRightClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentEvent>;
28
+ slotClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotMouseEvent>;
29
+ slotDblClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotMouseEvent>;
30
+ slotRightClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotMouseEvent>;
31
+ appointmentClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
32
+ appointmentDblClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
33
+ appointmentRightClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
32
34
  onAppointmentDropInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotDropEvent>;
33
35
  private readonly eventOutputMap;
34
- handleAppointmentEvent(mouseEvent: MouseEvent, appointmentItem: AXSchedulerAppointmentType): void;
36
+ handleAppointmentEvent(mouseEvent: MouseEvent, appointmentItem: AXSchedulerInternalAppointment): void;
35
37
  handleSlotEvent(mouseEvent: MouseEvent, date: AXDateTime): void;
36
38
  handleDrop(e: AXDropZoneDropEvent, date: AXDateTime): void;
37
39
  protected isToday(date: AXDateTime): boolean;
@@ -1,33 +1,34 @@
1
- import { MXBaseComponent } from '@acorex/cdk/common';
1
+ import { NXComponent } from '@acorex/cdk/common';
2
2
  import { AXDateTime, AXHolidayDate } from '@acorex/core/date-time';
3
- import { AXSchedulerAppointmentEvent, AXSchedulerAppointmentType, AXSchedulerSlotDropEvent, AXSchedulerSlotEvent } from '../../scheduler.class';
3
+ import { AXSchedulerInternalAppointment } from '../../scheduler.class';
4
+ import { AXSchedulerAppointmentMouseEvent, AXSchedulerSlotDropEvent, AXSchedulerSlotMouseEvent } from '../../scheduler.component';
4
5
  import * as i0 from "@angular/core";
5
6
  export interface TimelineMultiDayDaySlot {
6
7
  date: AXDateTime;
7
- originalAppointmentsForThisDay: AXSchedulerAppointmentType[];
8
+ originalAppointmentsForThisDay: AXSchedulerInternalAppointment[];
8
9
  holiday?: {
9
10
  state: 'holiday' | 'weekend' | 'none';
10
11
  holiday?: AXHolidayDate;
11
12
  };
12
13
  }
13
- export declare class AXSchedulerTimelineMultiDayViewComponent extends MXBaseComponent {
14
+ export declare class AXSchedulerTimelineMultiDayViewComponent extends NXComponent {
14
15
  private calendarService;
15
16
  private schedulerService;
16
17
  daysCount: import("@angular/core").InputSignal<number>;
17
18
  readonly: import("@angular/core").InputSignal<boolean>;
18
19
  draggable: import("@angular/core").InputSignal<boolean>;
19
20
  calendar: import("@angular/core").InputSignal<string>;
20
- endHour: import("@angular/core").InputSignal<number>;
21
21
  date: import("@angular/core").InputSignal<AXDateTime>;
22
- startHour: import("@angular/core").InputSignal<number>;
23
- appointments: import("@angular/core").InputSignal<AXSchedulerAppointmentType[]>;
22
+ endDayHour: import("@angular/core").InputSignal<number>;
23
+ startDayHour: import("@angular/core").InputSignal<number>;
24
+ appointments: import("@angular/core").InputSignal<AXSchedulerInternalAppointment[]>;
24
25
  daysDataForTimelineViews: import("@angular/core").Signal<TimelineMultiDayDaySlot[]>;
25
- slotClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotEvent>;
26
- slotDblClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotEvent>;
27
- slotRightClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotEvent>;
28
- appointmentClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentEvent>;
29
- appointmentDblClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentEvent>;
30
- appointmentRightClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentEvent>;
26
+ slotClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotMouseEvent>;
27
+ slotDblClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotMouseEvent>;
28
+ slotRightClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotMouseEvent>;
29
+ appointmentClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
30
+ appointmentDblClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
31
+ appointmentRightClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
31
32
  onAppointmentDropInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotDropEvent>;
32
33
  protected isToday(date: AXDateTime): boolean;
33
34
  protected isHoliday(date: AXDateTime): {
@@ -35,5 +36,5 @@ export declare class AXSchedulerTimelineMultiDayViewComponent extends MXBaseComp
35
36
  holiday?: AXHolidayDate;
36
37
  };
37
38
  static ɵfac: i0.ɵɵFactoryDeclaration<AXSchedulerTimelineMultiDayViewComponent, never>;
38
- static ɵcmp: i0.ɵɵ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; }; "calendar": { "alias": "calendar"; "required": false; "isSignal": true; }; "endHour": { "alias": "endHour"; "required": true; "isSignal": true; }; "date": { "alias": "date"; "required": true; "isSignal": true; }; "startHour": { "alias": "startHour"; "required": true; "isSignal": true; }; "appointments": { "alias": "appointments"; "required": false; "isSignal": true; }; }, { "slotClickedInternal": "slotClickedInternal"; "slotDblClickedInternal": "slotDblClickedInternal"; "slotRightClickedInternal": "slotRightClickedInternal"; "appointmentClickedInternal": "appointmentClickedInternal"; "appointmentDblClickedInternal": "appointmentDblClickedInternal"; "appointmentRightClickedInternal": "appointmentRightClickedInternal"; "onAppointmentDropInternal": "onAppointmentDropInternal"; }, never, never, true, never>;
39
+ static ɵcmp: i0.ɵɵ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; }; "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; }; }, { "slotClickedInternal": "slotClickedInternal"; "slotDblClickedInternal": "slotDblClickedInternal"; "slotRightClickedInternal": "slotRightClickedInternal"; "appointmentClickedInternal": "appointmentClickedInternal"; "appointmentDblClickedInternal": "appointmentDblClickedInternal"; "appointmentRightClickedInternal": "appointmentRightClickedInternal"; "onAppointmentDropInternal": "onAppointmentDropInternal"; }, never, never, true, never>;
39
40
  }