@acorex/components 19.13.4 → 19.13.5

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 (212) hide show
  1. package/calendar/lib/calendar.component.d.ts +4 -0
  2. package/common/index.d.ts +1 -0
  3. package/common/lib/directives/copy-clipboard.directive.d.ts +40 -0
  4. package/common/lib/services/hotkey.service.d.ts +1 -1
  5. package/datetime-box/lib/datetime-box.component.d.ts +4 -3
  6. package/fesm2022/acorex-components-action-sheet.mjs +10 -10
  7. package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
  8. package/fesm2022/acorex-components-alert.mjs +7 -7
  9. package/fesm2022/acorex-components-alert.mjs.map +1 -1
  10. package/fesm2022/acorex-components-audio-wave.mjs +7 -7
  11. package/fesm2022/acorex-components-audio-wave.mjs.map +1 -1
  12. package/fesm2022/acorex-components-autocomplete.mjs +7 -7
  13. package/fesm2022/acorex-components-autocomplete.mjs.map +1 -1
  14. package/fesm2022/acorex-components-avatar.mjs +10 -10
  15. package/fesm2022/acorex-components-avatar.mjs.map +1 -1
  16. package/fesm2022/acorex-components-badge.mjs +7 -7
  17. package/fesm2022/acorex-components-badge.mjs.map +1 -1
  18. package/fesm2022/acorex-components-bottom-navigation.mjs +10 -10
  19. package/fesm2022/acorex-components-bottom-navigation.mjs.map +1 -1
  20. package/fesm2022/acorex-components-breadcrumbs.mjs +10 -10
  21. package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
  22. package/fesm2022/acorex-components-button-group.mjs +10 -10
  23. package/fesm2022/acorex-components-button-group.mjs.map +1 -1
  24. package/fesm2022/acorex-components-button.mjs +13 -13
  25. package/fesm2022/acorex-components-button.mjs.map +1 -1
  26. package/fesm2022/acorex-components-calendar.mjs +24 -14
  27. package/fesm2022/acorex-components-calendar.mjs.map +1 -1
  28. package/fesm2022/acorex-components-check-box.mjs +7 -7
  29. package/fesm2022/acorex-components-check-box.mjs.map +1 -1
  30. package/fesm2022/acorex-components-chips.mjs +7 -7
  31. package/fesm2022/acorex-components-chips.mjs.map +1 -1
  32. package/fesm2022/acorex-components-circular-progress.mjs +7 -7
  33. package/fesm2022/acorex-components-circular-progress.mjs.map +1 -1
  34. package/fesm2022/acorex-components-collapse.mjs +10 -10
  35. package/fesm2022/acorex-components-collapse.mjs.map +1 -1
  36. package/fesm2022/acorex-components-color-box.mjs +25 -10
  37. package/fesm2022/acorex-components-color-box.mjs.map +1 -1
  38. package/fesm2022/acorex-components-color-palette.mjs +25 -25
  39. package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
  40. package/fesm2022/acorex-components-comment.mjs +28 -28
  41. package/fesm2022/acorex-components-comment.mjs.map +1 -1
  42. package/fesm2022/acorex-components-common.mjs +170 -99
  43. package/fesm2022/acorex-components-common.mjs.map +1 -1
  44. package/fesm2022/acorex-components-conversation.mjs +49 -49
  45. package/fesm2022/acorex-components-conversation.mjs.map +1 -1
  46. package/fesm2022/acorex-components-cron-job.mjs +46 -46
  47. package/fesm2022/acorex-components-cron-job.mjs.map +1 -1
  48. package/fesm2022/acorex-components-data-pager.mjs +31 -31
  49. package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
  50. package/fesm2022/acorex-components-data-table.mjs +37 -37
  51. package/fesm2022/acorex-components-data-table.mjs.map +1 -1
  52. package/fesm2022/acorex-components-datetime-box.mjs +19 -12
  53. package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
  54. package/fesm2022/acorex-components-datetime-input.mjs +7 -7
  55. package/fesm2022/acorex-components-datetime-input.mjs.map +1 -1
  56. package/fesm2022/acorex-components-datetime-picker.mjs +7 -7
  57. package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
  58. package/fesm2022/acorex-components-decorators.mjs +27 -27
  59. package/fesm2022/acorex-components-decorators.mjs.map +1 -1
  60. package/fesm2022/acorex-components-dialog.mjs +10 -10
  61. package/fesm2022/acorex-components-dialog.mjs.map +1 -1
  62. package/fesm2022/acorex-components-drawer.mjs +13 -13
  63. package/fesm2022/acorex-components-drawer.mjs.map +1 -1
  64. package/fesm2022/acorex-components-dropdown-button.mjs +7 -7
  65. package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
  66. package/fesm2022/acorex-components-dropdown.mjs +13 -13
  67. package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
  68. package/fesm2022/acorex-components-file-explorer.mjs +25 -25
  69. package/fesm2022/acorex-components-file-explorer.mjs.map +1 -1
  70. package/fesm2022/acorex-components-flow-chart.mjs +16 -16
  71. package/fesm2022/acorex-components-flow-chart.mjs.map +1 -1
  72. package/fesm2022/acorex-components-form.mjs +16 -16
  73. package/fesm2022/acorex-components-form.mjs.map +1 -1
  74. package/fesm2022/acorex-components-grid-layout-builder.mjs +10 -10
  75. package/fesm2022/acorex-components-grid-layout-builder.mjs.map +1 -1
  76. package/fesm2022/acorex-components-image-editor.mjs +34 -34
  77. package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
  78. package/fesm2022/acorex-components-image.mjs +7 -7
  79. package/fesm2022/acorex-components-image.mjs.map +1 -1
  80. package/fesm2022/acorex-components-json-viewer.mjs +7 -7
  81. package/fesm2022/acorex-components-json-viewer.mjs.map +1 -1
  82. package/fesm2022/acorex-components-kbd.mjs +10 -10
  83. package/fesm2022/acorex-components-kbd.mjs.map +1 -1
  84. package/fesm2022/acorex-components-label.mjs +7 -7
  85. package/fesm2022/acorex-components-label.mjs.map +1 -1
  86. package/fesm2022/acorex-components-list.mjs +9 -9
  87. package/fesm2022/acorex-components-list.mjs.map +1 -1
  88. package/fesm2022/acorex-components-loading-dialog.mjs +10 -10
  89. package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
  90. package/fesm2022/acorex-components-loading.mjs +16 -16
  91. package/fesm2022/acorex-components-loading.mjs.map +1 -1
  92. package/fesm2022/acorex-components-map.mjs +10 -10
  93. package/fesm2022/acorex-components-map.mjs.map +1 -1
  94. package/fesm2022/acorex-components-media-viewer.mjs +34 -34
  95. package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
  96. package/fesm2022/acorex-components-menu.mjs +16 -16
  97. package/fesm2022/acorex-components-menu.mjs.map +1 -1
  98. package/fesm2022/{acorex-components-modal-acorex-components-modal-B4nBGqa3.mjs → acorex-components-modal-acorex-components-modal-C83n2Gqn.mjs} +21 -21
  99. package/fesm2022/{acorex-components-modal-acorex-components-modal-B4nBGqa3.mjs.map → acorex-components-modal-acorex-components-modal-C83n2Gqn.mjs.map} +1 -1
  100. package/fesm2022/{acorex-components-modal-modal-content.component-oWerCvDI.mjs → acorex-components-modal-modal-content.component-YrM5Oi9b.mjs} +5 -5
  101. package/fesm2022/{acorex-components-modal-modal-content.component-oWerCvDI.mjs.map → acorex-components-modal-modal-content.component-YrM5Oi9b.mjs.map} +1 -1
  102. package/fesm2022/acorex-components-modal.mjs +1 -1
  103. package/fesm2022/acorex-components-navbar.mjs +7 -7
  104. package/fesm2022/acorex-components-navbar.mjs.map +1 -1
  105. package/fesm2022/acorex-components-notification.mjs +10 -10
  106. package/fesm2022/acorex-components-notification.mjs.map +1 -1
  107. package/fesm2022/acorex-components-number-box.mjs +7 -7
  108. package/fesm2022/acorex-components-number-box.mjs.map +1 -1
  109. package/fesm2022/acorex-components-otp.mjs +7 -7
  110. package/fesm2022/acorex-components-otp.mjs.map +1 -1
  111. package/fesm2022/acorex-components-page.mjs +10 -10
  112. package/fesm2022/acorex-components-page.mjs.map +1 -1
  113. package/fesm2022/acorex-components-paint.mjs +25 -25
  114. package/fesm2022/acorex-components-paint.mjs.map +1 -1
  115. package/fesm2022/acorex-components-password-box.mjs +10 -10
  116. package/fesm2022/acorex-components-password-box.mjs.map +1 -1
  117. package/fesm2022/acorex-components-pdf-reader.mjs +7 -7
  118. package/fesm2022/acorex-components-pdf-reader.mjs.map +1 -1
  119. package/fesm2022/acorex-components-phone-box.mjs +7 -7
  120. package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
  121. package/fesm2022/acorex-components-picker.mjs +13 -13
  122. package/fesm2022/acorex-components-picker.mjs.map +1 -1
  123. package/fesm2022/acorex-components-popover.mjs +7 -7
  124. package/fesm2022/acorex-components-popover.mjs.map +1 -1
  125. package/fesm2022/acorex-components-popup.mjs +10 -10
  126. package/fesm2022/acorex-components-popup.mjs.map +1 -1
  127. package/fesm2022/acorex-components-progress-bar.mjs +7 -7
  128. package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
  129. package/fesm2022/acorex-components-qrcode.mjs +7 -7
  130. package/fesm2022/acorex-components-qrcode.mjs.map +1 -1
  131. package/fesm2022/acorex-components-query-builder.mjs +8 -8
  132. package/fesm2022/acorex-components-query-builder.mjs.map +1 -1
  133. package/fesm2022/acorex-components-radio.mjs +7 -7
  134. package/fesm2022/acorex-components-radio.mjs.map +1 -1
  135. package/fesm2022/acorex-components-rail-navigation.mjs +13 -13
  136. package/fesm2022/acorex-components-rail-navigation.mjs.map +1 -1
  137. package/fesm2022/acorex-components-range-slider.mjs +7 -7
  138. package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
  139. package/fesm2022/acorex-components-rate-picker.mjs +7 -7
  140. package/fesm2022/acorex-components-rate-picker.mjs.map +1 -1
  141. package/fesm2022/acorex-components-rest-api-generator.mjs +22 -22
  142. package/fesm2022/acorex-components-rest-api-generator.mjs.map +1 -1
  143. package/fesm2022/acorex-components-result.mjs +7 -7
  144. package/fesm2022/acorex-components-result.mjs.map +1 -1
  145. package/fesm2022/acorex-components-routing-progress.mjs +7 -7
  146. package/fesm2022/acorex-components-routing-progress.mjs.map +1 -1
  147. package/fesm2022/acorex-components-scheduler.mjs +910 -381
  148. package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
  149. package/fesm2022/acorex-components-scss.mjs +4 -4
  150. package/fesm2022/acorex-components-scss.mjs.map +1 -1
  151. package/fesm2022/acorex-components-search-box.mjs +7 -7
  152. package/fesm2022/acorex-components-search-box.mjs.map +1 -1
  153. package/fesm2022/acorex-components-select-box.mjs +24 -12
  154. package/fesm2022/acorex-components-select-box.mjs.map +1 -1
  155. package/fesm2022/acorex-components-selection-list.mjs +7 -7
  156. package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
  157. package/fesm2022/acorex-components-side-menu.mjs +13 -13
  158. package/fesm2022/acorex-components-side-menu.mjs.map +1 -1
  159. package/fesm2022/acorex-components-skeleton.mjs +7 -7
  160. package/fesm2022/acorex-components-skeleton.mjs.map +1 -1
  161. package/fesm2022/acorex-components-slider.mjs +7 -7
  162. package/fesm2022/acorex-components-slider.mjs.map +1 -1
  163. package/fesm2022/acorex-components-sliding-item.mjs +13 -13
  164. package/fesm2022/acorex-components-sliding-item.mjs.map +1 -1
  165. package/fesm2022/acorex-components-step-wizard.mjs +13 -13
  166. package/fesm2022/acorex-components-step-wizard.mjs.map +1 -1
  167. package/fesm2022/acorex-components-switch.mjs +10 -10
  168. package/fesm2022/acorex-components-switch.mjs.map +1 -1
  169. package/fesm2022/acorex-components-tabs.mjs +13 -13
  170. package/fesm2022/acorex-components-tabs.mjs.map +1 -1
  171. package/fesm2022/acorex-components-tag-box.mjs +7 -7
  172. package/fesm2022/acorex-components-tag-box.mjs.map +1 -1
  173. package/fesm2022/acorex-components-tag.mjs +7 -7
  174. package/fesm2022/acorex-components-tag.mjs.map +1 -1
  175. package/fesm2022/acorex-components-text-area.mjs +7 -7
  176. package/fesm2022/acorex-components-text-area.mjs.map +1 -1
  177. package/fesm2022/acorex-components-text-box.mjs +10 -10
  178. package/fesm2022/acorex-components-text-box.mjs.map +1 -1
  179. package/fesm2022/acorex-components-time-duration.mjs +247 -0
  180. package/fesm2022/acorex-components-time-duration.mjs.map +1 -0
  181. package/fesm2022/acorex-components-time-line.mjs +10 -10
  182. package/fesm2022/acorex-components-time-line.mjs.map +1 -1
  183. package/fesm2022/acorex-components-toast.mjs +10 -10
  184. package/fesm2022/acorex-components-toast.mjs.map +1 -1
  185. package/fesm2022/acorex-components-toolbar.mjs +7 -7
  186. package/fesm2022/acorex-components-toolbar.mjs.map +1 -1
  187. package/fesm2022/acorex-components-tooltip.mjs +10 -10
  188. package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
  189. package/fesm2022/acorex-components-tree-view.mjs +10 -10
  190. package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
  191. package/fesm2022/acorex-components-uploader.mjs +22 -22
  192. package/fesm2022/acorex-components-uploader.mjs.map +1 -1
  193. package/fesm2022/acorex-components-video-player.mjs +7 -7
  194. package/fesm2022/acorex-components-video-player.mjs.map +1 -1
  195. package/fesm2022/acorex-components-wysiwyg.mjs +31 -31
  196. package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
  197. package/package.json +5 -1
  198. package/scheduler/lib/scheduler.class.d.ts +13 -3
  199. package/scheduler/lib/scheduler.component.d.ts +5 -3
  200. package/scheduler/lib/scheduler.service.d.ts +13 -6
  201. package/scheduler/lib/views/agenda/scheduler-agenda-view.component.d.ts +12 -6
  202. package/scheduler/lib/views/day/scheduler-day-view.component.d.ts +9 -4
  203. package/scheduler/lib/views/month/scheduler-month-view.component.d.ts +16 -8
  204. package/scheduler/lib/views/timeline-day/scheduler-timeline-day-view.component.d.ts +12 -4
  205. package/scheduler/lib/views/timeline-month/scheduler-timeline-month-view.component.d.ts +11 -10
  206. package/scheduler/lib/views/timeline-multi-day/scheduler-timeline-multi-day-view.component.d.ts +8 -3
  207. package/scheduler/lib/views/week/scheduler-week-view.component.d.ts +24 -7
  208. package/time-duration/README.md +3 -0
  209. package/time-duration/index.d.ts +3 -0
  210. package/time-duration/lib/time-duration.component.d.ts +29 -0
  211. package/time-duration/lib/time-duration.module.d.ts +7 -0
  212. package/time-duration/lib/time-duration.type.d.ts +1 -0
@@ -1,14 +1,15 @@
1
+ import { AXDropZoneDropEvent } from '@acorex/cdk/drag-drop';
1
2
  import { MXBaseComponent } from '@acorex/components/common';
2
3
  import { AXDateTime } from '@acorex/core/date-time';
3
- import { AXDayOfWeekName, AXSchedulerAppointmentEvent, AXSchedulerAppointmentType, AXSchedulerSlotEvent } from '../../scheduler.class';
4
+ import { AXDayOfWeekName, AXSchedulerAppointmentEvent, AXSchedulerAppointmentSegmentType, AXSchedulerAppointmentType, AXSchedulerSlotDropEvent, AXSchedulerSlotEvent } from '../../scheduler.class';
4
5
  import * as i0 from "@angular/core";
5
6
  export type AXSchedulerMonthDayCell = {
6
7
  date: AXDateTime;
7
8
  isCurrentMonth: boolean;
8
9
  isToday: boolean;
9
- appointments: AXSchedulerAppointmentType[];
10
- visibleAppointments: AXSchedulerAppointmentType[];
11
- hiddenAppointments: AXSchedulerAppointmentType[];
10
+ appointments: AXSchedulerAppointmentSegmentType[];
11
+ visibleAppointments: AXSchedulerAppointmentSegmentType[];
12
+ hiddenAppointments: AXSchedulerAppointmentSegmentType[];
12
13
  overflowCount: number;
13
14
  };
14
15
  export declare class AXSchedulerMonthViewComponent extends MXBaseComponent {
@@ -19,8 +20,8 @@ export declare class AXSchedulerMonthViewComponent extends MXBaseComponent {
19
20
  draggable: import("@angular/core").InputSignal<boolean>;
20
21
  calendar: import("@angular/core").InputSignal<string>;
21
22
  date: import("@angular/core").InputSignal<AXDateTime>;
22
- appointments: import("@angular/core").InputSignal<AXSchedulerAppointmentType[]>;
23
23
  firstDayOfWeek: import("@angular/core").InputSignal<AXDayOfWeekName>;
24
+ appointments: import("@angular/core").InputSignal<AXSchedulerAppointmentType[]>;
24
25
  readonly DAYS_IN_WEEK = 7;
25
26
  readonly MAX_VISIBLE_APPOINTMENTS_PER_DAY = 2;
26
27
  slotClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotEvent>;
@@ -29,19 +30,26 @@ export declare class AXSchedulerMonthViewComponent extends MXBaseComponent {
29
30
  appointmentClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentEvent>;
30
31
  appointmentDblClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentEvent>;
31
32
  appointmentRightClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentEvent>;
33
+ onAppointmentDropInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotDropEvent>;
32
34
  private readonly eventOutputMap;
33
- handleAppointmentEvent(mouseEvent: MouseEvent, appointment: AXSchedulerAppointmentType): void;
35
+ handleAppointmentEvent(mouseEvent: MouseEvent, appointmentSegmentOrOriginal: AXSchedulerAppointmentType): void;
34
36
  handleSlotEvent(mouseEvent: MouseEvent, date: AXDateTime): void;
37
+ handleDrop(e: AXDropZoneDropEvent, date: AXDateTime): void;
35
38
  monthStartDate: import("@angular/core").Signal<AXDateTime>;
36
39
  daysArray: import("@angular/core").Signal<AXDateTime[]>;
37
40
  calendarDaysInfo: import("@angular/core").Signal<{
38
- days: AXSchedulerMonthDayCell[];
41
+ days: {
42
+ date: AXDateTime;
43
+ isCurrentMonth: boolean;
44
+ isToday: boolean;
45
+ }[];
39
46
  weeksNeeded: number;
40
47
  }>;
41
48
  appointmentsGroupedByDay: import("@angular/core").Signal<Map<string, AXSchedulerAppointmentType[]>>;
42
49
  dayCellLayouts: import("@angular/core").Signal<AXSchedulerMonthDayCell[]>;
43
50
  gridTemplateRowsStyle: import("@angular/core").Signal<string>;
51
+ private getOriginalAppointmentFromItem;
44
52
  get isReadonly(): boolean;
45
53
  static ɵfac: i0.ɵɵFactoryDeclaration<AXSchedulerMonthViewComponent, never>;
46
- static ɵcmp: i0.ɵɵComponentDeclaration<AXSchedulerMonthViewComponent, "ax-scheduler-month-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; }; "appointments": { "alias": "appointments"; "required": false; "isSignal": true; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; "isSignal": true; }; }, { "slotClickedInternal": "slotClickedInternal"; "slotDblClickedInternal": "slotDblClickedInternal"; "slotRightClickedInternal": "slotRightClickedInternal"; "appointmentClickedInternal": "appointmentClickedInternal"; "appointmentDblClickedInternal": "appointmentDblClickedInternal"; "appointmentRightClickedInternal": "appointmentRightClickedInternal"; }, never, never, true, never>;
54
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXSchedulerMonthViewComponent, "ax-scheduler-month-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; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; "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>;
47
55
  }
@@ -1,6 +1,7 @@
1
+ import { AXDropZoneDropEvent } from '@acorex/cdk/drag-drop';
1
2
  import { MXBaseComponent } from '@acorex/components/common';
2
3
  import { AXDateTime } from '@acorex/core/date-time';
3
- import { AXSchedulerAppointmentEvent, AXSchedulerAppointmentLayout, AXSchedulerAppointmentType, AXSchedulerSlotEvent } from '../../scheduler.class';
4
+ import { AXSchedulerAppointmentEvent, AXSchedulerAppointmentLayout, AXSchedulerAppointmentSegmentType, AXSchedulerAppointmentType, AXSchedulerSlotDropEvent, AXSchedulerSlotEvent } from '../../scheduler.class';
4
5
  import * as i0 from "@angular/core";
5
6
  export declare class AXSchedulerTimelineDayViewComponent extends MXBaseComponent {
6
7
  private schedulerService;
@@ -12,19 +13,26 @@ export declare class AXSchedulerTimelineDayViewComponent extends MXBaseComponent
12
13
  date: import("@angular/core").InputSignal<AXDateTime>;
13
14
  startHour: import("@angular/core").InputSignal<number>;
14
15
  appointments: import("@angular/core").InputSignal<AXSchedulerAppointmentType[]>;
15
- singleDayAppointments: import("@angular/core").Signal<AXSchedulerAppointmentType[]>;
16
+ /**
17
+ * Processes original appointments to get segments relevant to this specific day and its viewable hours.
18
+ * Filters out original all-day events.
19
+ */
20
+ processedSegmentsForLayout: import("@angular/core").Signal<AXSchedulerAppointmentSegmentType[]>;
16
21
  slotClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotEvent>;
17
22
  slotDblClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotEvent>;
18
23
  slotRightClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotEvent>;
19
24
  appointmentClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentEvent>;
20
25
  appointmentDblClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentEvent>;
21
26
  appointmentRightClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentEvent>;
27
+ onAppointmentDropInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotDropEvent>;
22
28
  private readonly eventOutputMap;
23
- handleAppointmentEvent(mouseEvent: MouseEvent, appointment: AXSchedulerAppointmentType): void;
29
+ handleAppointmentEvent(mouseEvent: MouseEvent, appointmentItem: AXSchedulerAppointmentType): void;
24
30
  handleSlotEvent(mouseEvent: MouseEvent, startDate: AXDateTime): void;
31
+ handleDrop(e: AXDropZoneDropEvent, startDate: AXDateTime): void;
32
+ private getOriginalAppointmentFromItem;
25
33
  hoursArray: import("@angular/core").Signal<AXDateTime[]>;
26
34
  appointmentLayouts: import("@angular/core").Signal<AXSchedulerAppointmentLayout[]>;
27
35
  get isReadonly(): boolean;
28
36
  static ɵfac: i0.ɵɵFactoryDeclaration<AXSchedulerTimelineDayViewComponent, never>;
29
- 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"; }, never, never, true, never>;
37
+ 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>;
30
38
  }
@@ -1,11 +1,12 @@
1
+ import { AXDropZoneDropEvent } from '@acorex/cdk/drag-drop';
1
2
  import { MXBaseComponent } from '@acorex/components/common';
2
3
  import { AXDateTime } from '@acorex/core/date-time';
3
- import { AXSchedulerAppointmentEvent, AXSchedulerAppointmentType, AXSchedulerSlotEvent } from '../../scheduler.class';
4
+ import { AXSchedulerAppointmentEvent, AXSchedulerAppointmentSegmentType, AXSchedulerAppointmentType, AXSchedulerSlotDropEvent, AXSchedulerSlotEvent } from '../../scheduler.class';
4
5
  import * as i0 from "@angular/core";
5
- export interface MultiDayViewDayData {
6
+ export interface TimelineMonthViewDayData {
6
7
  date: AXDateTime;
7
- visibleAppointments: AXSchedulerAppointmentType[];
8
- hiddenAppointments: AXSchedulerAppointmentType[];
8
+ visibleAppointments: AXSchedulerAppointmentSegmentType[];
9
+ hiddenAppointments: AXSchedulerAppointmentSegmentType[];
9
10
  moreCount: number;
10
11
  }
11
12
  export declare class AXSchedulerTimelineMonthViewComponent extends MXBaseComponent {
@@ -15,23 +16,23 @@ export declare class AXSchedulerTimelineMonthViewComponent extends MXBaseCompone
15
16
  readonly: import("@angular/core").InputSignal<boolean>;
16
17
  draggable: import("@angular/core").InputSignal<boolean>;
17
18
  calendar: import("@angular/core").InputSignal<string>;
18
- endHour: import("@angular/core").InputSignal<number>;
19
19
  date: import("@angular/core").InputSignal<AXDateTime>;
20
- startHour: import("@angular/core").InputSignal<number>;
21
20
  appointments: import("@angular/core").InputSignal<AXSchedulerAppointmentType[]>;
22
- singleDayAppointments: import("@angular/core").Signal<AXSchedulerAppointmentType[]>;
23
- monthAppointments: import("@angular/core").Signal<MultiDayViewDayData[]>;
21
+ processedDayData: import("@angular/core").Signal<TimelineMonthViewDayData[]>;
22
+ private getOriginalAppointmentFromItem;
24
23
  slotClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotEvent>;
25
24
  slotDblClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotEvent>;
26
25
  slotRightClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotEvent>;
27
26
  appointmentClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentEvent>;
28
27
  appointmentDblClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentEvent>;
29
28
  appointmentRightClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentEvent>;
29
+ onAppointmentDropInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotDropEvent>;
30
30
  private readonly eventOutputMap;
31
- handleAppointmentEvent(mouseEvent: MouseEvent, appointment: AXSchedulerAppointmentType): void;
31
+ handleAppointmentEvent(mouseEvent: MouseEvent, appointmentItem: AXSchedulerAppointmentType): void;
32
32
  handleSlotEvent(mouseEvent: MouseEvent, date: AXDateTime): void;
33
+ handleDrop(e: AXDropZoneDropEvent, date: AXDateTime): void;
33
34
  protected isToday(date: AXDateTime): boolean;
34
35
  get isReadonly(): boolean;
35
36
  static ɵfac: i0.ɵɵFactoryDeclaration<AXSchedulerTimelineMonthViewComponent, never>;
36
- static ɵcmp: i0.ɵɵComponentDeclaration<AXSchedulerTimelineMonthViewComponent, "ax-scheduler-timeline-month-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"; }, never, never, true, never>;
37
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXSchedulerTimelineMonthViewComponent, "ax-scheduler-timeline-month-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; }; "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
38
  }
@@ -1,7 +1,11 @@
1
1
  import { MXBaseComponent } from '@acorex/components/common';
2
2
  import { AXDateTime } from '@acorex/core/date-time';
3
- import { AXSchedulerAppointmentEvent, AXSchedulerAppointmentType, AXSchedulerMultiDayViewAppointmentType, AXSchedulerSlotEvent } from '../../scheduler.class';
3
+ import { AXSchedulerAppointmentEvent, AXSchedulerAppointmentType, AXSchedulerSlotDropEvent, AXSchedulerSlotEvent } from '../../scheduler.class';
4
4
  import * as i0 from "@angular/core";
5
+ export interface TimelineMultiDayDaySlot {
6
+ date: AXDateTime;
7
+ originalAppointmentsForThisDay: AXSchedulerAppointmentType[];
8
+ }
5
9
  export declare class AXSchedulerTimelineMultiDayViewComponent extends MXBaseComponent {
6
10
  private calendarService;
7
11
  daysCount: import("@angular/core").InputSignal<number>;
@@ -12,14 +16,15 @@ export declare class AXSchedulerTimelineMultiDayViewComponent extends MXBaseComp
12
16
  date: import("@angular/core").InputSignal<AXDateTime>;
13
17
  startHour: import("@angular/core").InputSignal<number>;
14
18
  appointments: import("@angular/core").InputSignal<AXSchedulerAppointmentType[]>;
15
- multiDayAppointments: import("@angular/core").Signal<AXSchedulerMultiDayViewAppointmentType[]>;
19
+ daysDataForTimelineViews: import("@angular/core").Signal<TimelineMultiDayDaySlot[]>;
16
20
  slotClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotEvent>;
17
21
  slotDblClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotEvent>;
18
22
  slotRightClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotEvent>;
19
23
  appointmentClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentEvent>;
20
24
  appointmentDblClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentEvent>;
21
25
  appointmentRightClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentEvent>;
26
+ onAppointmentDropInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotDropEvent>;
22
27
  protected isToday(date: AXDateTime): boolean;
23
28
  static ɵfac: i0.ɵɵFactoryDeclaration<AXSchedulerTimelineMultiDayViewComponent, never>;
24
- 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"; }, never, never, true, never>;
29
+ 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>;
25
30
  }
@@ -1,9 +1,10 @@
1
+ import { AXDropZoneDropEvent } from '@acorex/cdk/drag-drop';
1
2
  import { MXBaseComponent } from '@acorex/components/common';
2
3
  import { AXDateTime } from '@acorex/core/date-time';
3
- import { AXSchedulerActiveAppointmentsInBlock, AXSchedulerAllDaySlotData, AXSchedulerAppointmentEvent, AXSchedulerAppointmentLayout, AXSchedulerAppointmentsByStartBlock, AXSchedulerAppointmentType, AXSchedulerOverflowBadge, AXSchedulerSlotEvent } from '../../scheduler.class';
4
+ import { AXSchedulerActiveAppointmentsInBlock, AXSchedulerAllDaySlotData, AXSchedulerAppointmentEvent, AXSchedulerAppointmentLayout, AXSchedulerAppointmentSegmentType, AXSchedulerAppointmentType, AXSchedulerOverflowBadge, AXSchedulerSlotDropEvent, AXSchedulerSlotEvent } from '../../scheduler.class';
4
5
  import * as i0 from "@angular/core";
5
6
  type AXSchedulerGridBadgeInfo = AXSchedulerOverflowBadge & {
6
- hiddenAppointments: AXSchedulerAppointmentType[];
7
+ hiddenAppointments: AXSchedulerAppointmentSegmentType[];
7
8
  };
8
9
  export declare class AXSchedulerWeekViewComponent extends MXBaseComponent {
9
10
  private calendarService;
@@ -16,31 +17,47 @@ export declare class AXSchedulerWeekViewComponent extends MXBaseComponent {
16
17
  date: import("@angular/core").InputSignal<AXDateTime>;
17
18
  startHour: import("@angular/core").InputSignal<number>;
18
19
  appointments: import("@angular/core").InputSignal<AXSchedulerAppointmentType[]>;
19
- allDayAppointments: import("@angular/core").Signal<AXSchedulerAppointmentType[]>;
20
- singleDayAppointments: import("@angular/core").Signal<AXSchedulerAppointmentType[]>;
20
+ /**
21
+ * Processes all original appointments and generates day-specific segments for the entire week.
22
+ * Each segment represents the visible part of an appointment on a particular day.
23
+ * The segment's 'allDay' flag indicates if it should be in the all-day slot or timed grid for that day.
24
+ */
25
+ processedAppointmentsForLayout: import("@angular/core").Signal<AXSchedulerAppointmentSegmentType[]>;
26
+ /**
27
+ * Segments that are to be displayed in the timed grid area of the week view.
28
+ * These are segments from processedAppointmentsForLayout where segment.allDay is false.
29
+ */
30
+ timedGridSegments: import("@angular/core").Signal<AXSchedulerAppointmentSegmentType[]>;
21
31
  slotClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotEvent>;
22
32
  slotDblClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotEvent>;
23
33
  slotRightClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotEvent>;
24
34
  appointmentClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentEvent>;
25
35
  appointmentDblClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentEvent>;
26
36
  appointmentRightClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentEvent>;
37
+ onAppointmentDropInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotDropEvent>;
27
38
  private readonly eventOutputMap;
28
- handleAppointmentEvent(mouseEvent: MouseEvent, appointment: AXSchedulerAppointmentType): void;
39
+ handleAppointmentEvent(mouseEvent: MouseEvent, appointmentSegment: AXSchedulerAppointmentType): void;
29
40
  handleSingleSlotEvent(mouseEvent: MouseEvent, hour: AXDateTime, day: AXDateTime, minuteIndex: number): void;
30
41
  handleAllDaySlotEvent(mouseEvent: MouseEvent, day: AXDateTime): void;
42
+ handleAllDayDrop(e: AXDropZoneDropEvent, day: AXDateTime): void;
43
+ handleSingleDayDrop(e: AXDropZoneDropEvent, hour: AXDateTime, day: AXDateTime, minuteIndex: number): void;
31
44
  hoursArray: import("@angular/core").Signal<AXDateTime[]>;
32
45
  daysArray: import("@angular/core").Signal<AXDateTime[]>;
33
46
  totalBlocksPerViewDay: import("@angular/core").Signal<number>;
34
- appointmentsByStartBlock: import("@angular/core").Signal<AXSchedulerAppointmentsByStartBlock>;
47
+ appointmentsByStartBlock: import("@angular/core").Signal<import("../../scheduler.class").AXSchedulerAppointmentsByStartBlock>;
35
48
  activeAppointmentsInBlock: import("@angular/core").Signal<AXSchedulerActiveAppointmentsInBlock>;
36
49
  visibleAppointmentsLayout: import("@angular/core").Signal<AXSchedulerAppointmentLayout[]>;
37
50
  visualOccupancyMap: import("@angular/core").Signal<Map<string, any>>;
38
51
  overflowBadges: import("@angular/core").Signal<AXSchedulerOverflowBadge[]>;
52
+ /**
53
+ * Structures all-day (or "becomes all-day") segments for rendering in the all-day slots for each day of the week.
54
+ */
39
55
  allDayAppointmentsPerDay: import("@angular/core").Signal<AXSchedulerAllDaySlotData[]>;
40
56
  overflowBadgesWithData: import("@angular/core").Signal<AXSchedulerGridBadgeInfo[]>;
57
+ private getOriginalAppointmentFromItem;
41
58
  protected isToday(date: AXDateTime): boolean;
42
59
  get isReadonly(): boolean;
43
60
  static ɵfac: i0.ɵɵFactoryDeclaration<AXSchedulerWeekViewComponent, never>;
44
- static ɵcmp: i0.ɵɵComponentDeclaration<AXSchedulerWeekViewComponent, "ax-scheduler-week-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"; }, never, never, true, never>;
61
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXSchedulerWeekViewComponent, "ax-scheduler-week-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>;
45
62
  }
46
63
  export {};
@@ -0,0 +1,3 @@
1
+ # @acorex/components/time-duration
2
+
3
+ Secondary entry point of `@acorex/components`. It can be used by importing from `@acorex/components/time-duration`.
@@ -0,0 +1,3 @@
1
+ export * from './lib/time-duration.component';
2
+ export * from './lib/time-duration.module';
3
+ export * from './lib/time-duration.type';
@@ -0,0 +1,29 @@
1
+ import { MXInputBaseValueComponent, MXLookComponent } from '@acorex/components/common';
2
+ import { AXTimeDurationUnit } from './time-duration.type';
3
+ import * as i0 from "@angular/core";
4
+ declare const AXTimeDurationComponent_base: import("polytype").Polytype.ClusteredConstructor<[{
5
+ new (): MXInputBaseValueComponent<number>;
6
+ ɵfac: import("@angular/core").ɵɵFactoryDeclaration<MXInputBaseValueComponent<any>, never>;
7
+ ɵprov: import("@angular/core").ɵɵInjectableDeclaration<MXInputBaseValueComponent<any>>;
8
+ }, typeof MXLookComponent]>;
9
+ export declare class AXTimeDurationComponent extends AXTimeDurationComponent_base {
10
+ #private;
11
+ protected inputValue: string;
12
+ readonly valueStart: import("@angular/core").InputSignal<AXTimeDurationUnit>;
13
+ readonly valueEnd: import("@angular/core").InputSignal<AXTimeDurationUnit>;
14
+ protected maskOptions: import("@angular/core").WritableSignal<any>;
15
+ private translationService;
16
+ private onInputFire;
17
+ private onInternalValueChangedFire;
18
+ protected onInput(event: any): void;
19
+ protected internalValueChanged(value: number): void;
20
+ private maskToMilliseconds;
21
+ private getNextLargerUnit;
22
+ private convertToLargerUnit;
23
+ private unitToMilliseconds;
24
+ private millisecondsToMask;
25
+ private updateMask;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXTimeDurationComponent, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXTimeDurationComponent, "ax-time-duration", never, { "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "look": { "alias": "look"; "required": false; }; "valueStart": { "alias": "valueStart"; "required": false; "isSignal": true; }; "valueEnd": { "alias": "valueEnd"; "required": false; "isSignal": true; }; }, { "onValueChanged": "onValueChanged"; }, never, ["ax-validation-rule"], true, never>;
28
+ }
29
+ export {};
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./time-duration.component";
3
+ export declare class AXTimeDurationModule {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXTimeDurationModule, never>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXTimeDurationModule, never, [typeof i1.AXTimeDurationComponent], [typeof i1.AXTimeDurationComponent]>;
6
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXTimeDurationModule>;
7
+ }
@@ -0,0 +1 @@
1
+ export type AXTimeDurationUnit = 'year' | 'month' | 'week' | 'day' | 'hour' | 'minute' | 'second' | 'millisecond';