@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.
- package/button/lib/button-item-list.component.d.ts +2 -2
- package/conversation/lib/conversation-input/conversation-input.component.d.ts +2 -0
- package/decorators/lib/components/close-button/close-button.component.d.ts +2 -2
- package/drawer/lib/drawer/drawer-container/drawer-container.component.d.ts +3 -3
- package/drawer/lib/drawer/drawer-item/drawer.component.d.ts +15 -50
- package/dropdown-button/lib/dropdown-button.component.d.ts +2 -2
- package/fesm2022/acorex-components-action-sheet.mjs +15 -13
- package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
- package/fesm2022/acorex-components-alert.mjs +15 -9
- package/fesm2022/acorex-components-alert.mjs.map +1 -1
- package/fesm2022/acorex-components-audio-wave.mjs +9 -8
- package/fesm2022/acorex-components-audio-wave.mjs.map +1 -1
- package/fesm2022/acorex-components-autocomplete.mjs +10 -10
- package/fesm2022/acorex-components-autocomplete.mjs.map +1 -1
- package/fesm2022/acorex-components-avatar.mjs +13 -12
- package/fesm2022/acorex-components-avatar.mjs.map +1 -1
- package/fesm2022/acorex-components-badge.mjs +9 -9
- package/fesm2022/acorex-components-badge.mjs.map +1 -1
- package/fesm2022/acorex-components-bottom-navigation.mjs +13 -13
- package/fesm2022/acorex-components-bottom-navigation.mjs.map +1 -1
- package/fesm2022/acorex-components-breadcrumbs.mjs +13 -13
- package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/acorex-components-button-group.mjs +13 -12
- package/fesm2022/acorex-components-button-group.mjs.map +1 -1
- package/fesm2022/acorex-components-button.mjs +18 -18
- package/fesm2022/acorex-components-button.mjs.map +1 -1
- package/fesm2022/acorex-components-calendar.mjs +18 -14
- package/fesm2022/acorex-components-calendar.mjs.map +1 -1
- package/fesm2022/acorex-components-check-box.mjs +10 -8
- package/fesm2022/acorex-components-check-box.mjs.map +1 -1
- package/fesm2022/acorex-components-chips.mjs +9 -9
- package/fesm2022/acorex-components-chips.mjs.map +1 -1
- package/fesm2022/acorex-components-circular-progress.mjs +9 -9
- package/fesm2022/acorex-components-circular-progress.mjs.map +1 -1
- package/fesm2022/acorex-components-collapse.mjs +14 -12
- package/fesm2022/acorex-components-collapse.mjs.map +1 -1
- package/fesm2022/acorex-components-color-box.mjs +7 -7
- package/fesm2022/acorex-components-color-palette.mjs +36 -26
- package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
- package/fesm2022/acorex-components-comment.mjs +37 -36
- package/fesm2022/acorex-components-comment.mjs.map +1 -1
- package/fesm2022/acorex-components-conversation.mjs +80 -63
- package/fesm2022/acorex-components-conversation.mjs.map +1 -1
- package/fesm2022/acorex-components-cron-job.mjs +57 -53
- package/fesm2022/acorex-components-cron-job.mjs.map +1 -1
- package/fesm2022/acorex-components-data-pager.mjs +74 -36
- package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
- package/fesm2022/acorex-components-data-table.mjs +59 -39
- package/fesm2022/acorex-components-data-table.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-box.mjs +7 -7
- package/fesm2022/acorex-components-datetime-input.mjs +7 -7
- package/fesm2022/acorex-components-datetime-picker.mjs +7 -7
- package/fesm2022/acorex-components-decorators.mjs +43 -34
- package/fesm2022/acorex-components-decorators.mjs.map +1 -1
- package/fesm2022/acorex-components-dialog.mjs +21 -13
- package/fesm2022/acorex-components-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-drawer.mjs +62 -151
- package/fesm2022/acorex-components-drawer.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown-button.mjs +12 -10
- package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown.mjs +19 -17
- package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
- package/fesm2022/acorex-components-file-explorer.mjs +39 -31
- package/fesm2022/acorex-components-file-explorer.mjs.map +1 -1
- package/fesm2022/acorex-components-flow-chart.mjs +30 -20
- package/fesm2022/acorex-components-flow-chart.mjs.map +1 -1
- package/fesm2022/acorex-components-form.mjs +23 -27
- package/fesm2022/acorex-components-form.mjs.map +1 -1
- package/fesm2022/acorex-components-grid-layout-builder.mjs +13 -12
- package/fesm2022/acorex-components-grid-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-components-image-editor.mjs +43 -45
- package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-image.mjs +15 -9
- package/fesm2022/acorex-components-image.mjs.map +1 -1
- package/fesm2022/acorex-components-json-viewer.mjs +9 -8
- package/fesm2022/acorex-components-json-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-kbd.mjs +13 -12
- package/fesm2022/acorex-components-kbd.mjs.map +1 -1
- package/fesm2022/acorex-components-label.mjs +15 -9
- package/fesm2022/acorex-components-label.mjs.map +1 -1
- package/fesm2022/acorex-components-list.mjs +7 -7
- package/fesm2022/acorex-components-loading-dialog.mjs +12 -12
- package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-loading.mjs +19 -19
- package/fesm2022/acorex-components-loading.mjs.map +1 -1
- package/fesm2022/acorex-components-map.mjs +12 -11
- package/fesm2022/acorex-components-map.mjs.map +1 -1
- package/fesm2022/acorex-components-media-viewer.mjs +42 -41
- package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-menu.mjs +41 -17
- package/fesm2022/acorex-components-menu.mjs.map +1 -1
- package/fesm2022/{acorex-components-modal-acorex-components-modal-F9PZYNJ9.mjs → acorex-components-modal-acorex-components-modal-CJ3M9U7p.mjs} +24 -23
- package/fesm2022/acorex-components-modal-acorex-components-modal-CJ3M9U7p.mjs.map +1 -0
- package/fesm2022/acorex-components-modal-modal-content.component-Ef5XWxUb.mjs +216 -0
- package/fesm2022/acorex-components-modal-modal-content.component-Ef5XWxUb.mjs.map +1 -0
- package/fesm2022/acorex-components-modal.mjs +1 -1
- package/fesm2022/acorex-components-navbar.mjs +9 -9
- package/fesm2022/acorex-components-navbar.mjs.map +1 -1
- package/fesm2022/acorex-components-notification.mjs +18 -12
- package/fesm2022/acorex-components-notification.mjs.map +1 -1
- package/fesm2022/acorex-components-number-box.mjs +7 -7
- package/fesm2022/acorex-components-otp.mjs +20 -8
- package/fesm2022/acorex-components-otp.mjs.map +1 -1
- package/fesm2022/acorex-components-page.mjs +10 -10
- package/fesm2022/acorex-components-paint.mjs +32 -34
- package/fesm2022/acorex-components-paint.mjs.map +1 -1
- package/fesm2022/acorex-components-password-box.mjs +28 -18
- package/fesm2022/acorex-components-password-box.mjs.map +1 -1
- package/fesm2022/acorex-components-pdf-reader.mjs +9 -8
- package/fesm2022/acorex-components-pdf-reader.mjs.map +1 -1
- package/fesm2022/acorex-components-phone-box.mjs +7 -7
- package/fesm2022/acorex-components-picker.mjs +18 -16
- package/fesm2022/acorex-components-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-popover.mjs +15 -9
- package/fesm2022/acorex-components-popover.mjs.map +1 -1
- package/fesm2022/acorex-components-popup.mjs +18 -12
- package/fesm2022/acorex-components-popup.mjs.map +1 -1
- package/fesm2022/acorex-components-progress-bar.mjs +9 -9
- package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
- package/fesm2022/acorex-components-qrcode.mjs +10 -8
- package/fesm2022/acorex-components-qrcode.mjs.map +1 -1
- package/fesm2022/acorex-components-query-builder.mjs +9 -9
- package/fesm2022/acorex-components-query-builder.mjs.map +1 -1
- package/fesm2022/acorex-components-radio.mjs +10 -8
- package/fesm2022/acorex-components-radio.mjs.map +1 -1
- package/fesm2022/acorex-components-rail-navigation.mjs +16 -16
- package/fesm2022/acorex-components-rail-navigation.mjs.map +1 -1
- package/fesm2022/acorex-components-range-slider.mjs +10 -8
- package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
- package/fesm2022/acorex-components-rate-picker.mjs +10 -8
- package/fesm2022/acorex-components-rate-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-rest-api-generator.mjs +28 -27
- package/fesm2022/acorex-components-rest-api-generator.mjs.map +1 -1
- package/fesm2022/acorex-components-result.mjs +9 -9
- package/fesm2022/acorex-components-result.mjs.map +1 -1
- package/fesm2022/acorex-components-routing-progress.mjs +9 -9
- package/fesm2022/acorex-components-routing-progress.mjs.map +1 -1
- package/fesm2022/acorex-components-scheduler.mjs +341 -279
- package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
- package/fesm2022/acorex-components-scss.mjs +4 -4
- package/fesm2022/acorex-components-search-box.mjs +7 -7
- package/fesm2022/acorex-components-select-box.mjs +10 -10
- package/fesm2022/acorex-components-select-box.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list.mjs +7 -7
- package/fesm2022/acorex-components-side-menu.mjs +16 -16
- package/fesm2022/acorex-components-side-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-skeleton.mjs +9 -9
- package/fesm2022/acorex-components-skeleton.mjs.map +1 -1
- package/fesm2022/acorex-components-slider.mjs +10 -8
- package/fesm2022/acorex-components-slider.mjs.map +1 -1
- package/fesm2022/acorex-components-sliding-item.mjs +17 -16
- package/fesm2022/acorex-components-sliding-item.mjs.map +1 -1
- package/fesm2022/acorex-components-step-wizard.mjs +16 -16
- package/fesm2022/acorex-components-step-wizard.mjs.map +1 -1
- package/fesm2022/acorex-components-switch.mjs +14 -11
- package/fesm2022/acorex-components-switch.mjs.map +1 -1
- package/fesm2022/acorex-components-tabs.mjs +16 -15
- package/fesm2022/acorex-components-tabs.mjs.map +1 -1
- package/fesm2022/acorex-components-tag-box.mjs +7 -7
- package/fesm2022/acorex-components-tag.mjs +9 -9
- package/fesm2022/acorex-components-tag.mjs.map +1 -1
- package/fesm2022/acorex-components-text-area.mjs +7 -7
- package/fesm2022/acorex-components-text-box.mjs +10 -10
- package/fesm2022/acorex-components-time-duration.mjs +8 -12
- package/fesm2022/acorex-components-time-duration.mjs.map +1 -1
- package/fesm2022/acorex-components-time-line.mjs +13 -12
- package/fesm2022/acorex-components-time-line.mjs.map +1 -1
- package/fesm2022/acorex-components-toast.mjs +18 -12
- package/fesm2022/acorex-components-toast.mjs.map +1 -1
- package/fesm2022/acorex-components-toolbar.mjs +9 -8
- package/fesm2022/acorex-components-toolbar.mjs.map +1 -1
- package/fesm2022/acorex-components-tooltip.mjs +39 -12
- package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
- package/fesm2022/acorex-components-tree-view.mjs +20 -13
- package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
- package/fesm2022/acorex-components-uploader.mjs +27 -27
- package/fesm2022/acorex-components-uploader.mjs.map +1 -1
- package/fesm2022/acorex-components-video-player.mjs +9 -8
- package/fesm2022/acorex-components-video-player.mjs.map +1 -1
- package/fesm2022/acorex-components-wysiwyg.mjs +39 -41
- package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
- package/form/lib/form.component.d.ts +2 -3
- package/package.json +9 -9
- package/password-box/lib/password-strength-validation/password-strength-validation.component.d.ts +5 -5
- package/scheduler/lib/scheduler.class.d.ts +38 -31
- package/scheduler/lib/scheduler.component.d.ts +54 -41
- package/scheduler/lib/scheduler.service.d.ts +15 -14
- package/scheduler/lib/views/agenda/scheduler-agenda-view.component.d.ts +14 -12
- package/scheduler/lib/views/day/scheduler-day-view.component.d.ts +19 -17
- package/scheduler/lib/views/month/scheduler-month-view.component.d.ts +17 -15
- package/scheduler/lib/views/timeline-day/scheduler-timeline-day-view.component.d.ts +17 -15
- package/scheduler/lib/views/timeline-month/scheduler-timeline-month-view.component.d.ts +15 -13
- package/scheduler/lib/views/timeline-multi-day/scheduler-timeline-multi-day-view.component.d.ts +15 -14
- package/scheduler/lib/views/week/scheduler-week-view.component.d.ts +19 -17
- package/tooltip/lib/tooltip.directive.d.ts +7 -1
- package/tree-view/lib/tree-view.class.d.ts +1 -0
- package/tree-view/lib/tree-view.component.d.ts +4 -2
- package/fesm2022/acorex-components-modal-acorex-components-modal-F9PZYNJ9.mjs.map +0 -1
- package/fesm2022/acorex-components-modal-modal-content.component-ktH_8bGp.mjs +0 -216
- package/fesm2022/acorex-components-modal-modal-content.component-ktH_8bGp.mjs.map +0 -1
@@ -1,9 +1,29 @@
|
|
1
|
-
import {
|
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,
|
5
|
+
import { AXDayOfWeekName, AXSchedulerAppointment, AXSchedulerAppointmentDataSource, AXSchedulerDateRange, AXSchedulerInternalAppointment, AXSchedulerView } from './scheduler.class';
|
5
6
|
import * as i0 from "@angular/core";
|
6
|
-
export
|
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
|
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
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
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
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
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
|
-
|
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
|
-
|
49
|
-
|
50
|
-
|
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<
|
53
|
-
onAppointmentDblClicked: import("@angular/core").OutputEmitterRef<
|
54
|
-
onAppointmentRightClick: import("@angular/core").OutputEmitterRef<
|
55
|
-
protected handleSlotClickInternal(eventData:
|
56
|
-
protected handleSlotDblClickInternal(eventData:
|
57
|
-
protected handleSlotRightClickInternal(eventData:
|
58
|
-
protected handleAppointmentClickInternal(eventData:
|
59
|
-
protected handleAppointmentDblClickInternal(eventData:
|
60
|
-
protected handleAppointmentRightClickInternal(eventData:
|
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
|
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
|
70
|
-
|
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:
|
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; }; "
|
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,
|
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:
|
16
|
+
doAppointmentsOverlap(appointmentA: AXSchedulerInternalAppointment, appointmentB: AXSchedulerInternalAppointment): boolean;
|
16
17
|
/**
|
17
18
|
* Calculates appointment duration in minutes.
|
18
19
|
*/
|
19
|
-
calculateDurationInMinutes(Appointment:
|
20
|
+
calculateDurationInMinutes(Appointment: AXSchedulerInternalAppointment): number;
|
20
21
|
/**
|
21
22
|
* Calculates appointment duration in blocks (default 30 min).
|
22
23
|
*/
|
23
|
-
calculateDurationInBlocks(appointment:
|
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:
|
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:
|
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:
|
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:
|
52
|
-
viewEndDate: AXDateTime): Map<string,
|
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:
|
60
|
-
calculateTimelineLayout(appt:
|
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:
|
71
|
-
day: AXDateTime, viewStartHour: number, viewEndHour: number, isFullDayCellContext?: boolean):
|
72
|
-
getOriginalAppointment(item:
|
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 {
|
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 {
|
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:
|
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
|
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<
|
24
|
+
appointments: import("@angular/core").InputSignal<AXSchedulerInternalAppointment[]>;
|
23
25
|
agendaDaysLayout: import("@angular/core").Signal<AgendaDayData[]>;
|
24
|
-
slotClickedInternal: import("@angular/core").OutputEmitterRef<
|
25
|
-
slotDblClickedInternal: import("@angular/core").OutputEmitterRef<
|
26
|
-
slotRightClickedInternal: import("@angular/core").OutputEmitterRef<
|
27
|
-
appointmentClickedInternal: import("@angular/core").OutputEmitterRef<
|
28
|
-
appointmentDblClickedInternal: import("@angular/core").OutputEmitterRef<
|
29
|
-
appointmentRightClickedInternal: import("@angular/core").OutputEmitterRef<
|
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:
|
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 {
|
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 {
|
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
|
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
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
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:
|
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; }; "
|
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 {
|
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,
|
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:
|
13
|
-
visibleAppointments:
|
14
|
-
hiddenAppointments:
|
13
|
+
appointments: AXSchedulerAppointmentSegment[];
|
14
|
+
visibleAppointments: AXSchedulerAppointmentSegment[];
|
15
|
+
hiddenAppointments: AXSchedulerAppointmentSegment[];
|
15
16
|
overflowCount: number;
|
16
17
|
};
|
17
|
-
export declare class AXSchedulerMonthViewComponent extends
|
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<
|
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<
|
29
|
-
slotDblClickedInternal: import("@angular/core").OutputEmitterRef<
|
30
|
-
slotRightClickedInternal: import("@angular/core").OutputEmitterRef<
|
31
|
-
appointmentClickedInternal: import("@angular/core").OutputEmitterRef<
|
32
|
-
appointmentDblClickedInternal: import("@angular/core").OutputEmitterRef<
|
33
|
-
appointmentRightClickedInternal: import("@angular/core").OutputEmitterRef<
|
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:
|
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,
|
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 {
|
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 {
|
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
|
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
|
-
|
15
|
-
|
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<
|
21
|
-
slotClickedInternal: import("@angular/core").OutputEmitterRef<
|
22
|
-
slotDblClickedInternal: import("@angular/core").OutputEmitterRef<
|
23
|
-
slotRightClickedInternal: import("@angular/core").OutputEmitterRef<
|
24
|
-
appointmentClickedInternal: import("@angular/core").OutputEmitterRef<
|
25
|
-
appointmentDblClickedInternal: import("@angular/core").OutputEmitterRef<
|
26
|
-
appointmentRightClickedInternal: import("@angular/core").OutputEmitterRef<
|
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:
|
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; }; "
|
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 {
|
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 {
|
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:
|
9
|
-
hiddenAppointments:
|
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
|
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<
|
26
|
+
appointments: import("@angular/core").InputSignal<AXSchedulerInternalAppointment[]>;
|
25
27
|
processedDayData: import("@angular/core").Signal<TimelineMonthViewDayData[]>;
|
26
|
-
slotClickedInternal: import("@angular/core").OutputEmitterRef<
|
27
|
-
slotDblClickedInternal: import("@angular/core").OutputEmitterRef<
|
28
|
-
slotRightClickedInternal: import("@angular/core").OutputEmitterRef<
|
29
|
-
appointmentClickedInternal: import("@angular/core").OutputEmitterRef<
|
30
|
-
appointmentDblClickedInternal: import("@angular/core").OutputEmitterRef<
|
31
|
-
appointmentRightClickedInternal: import("@angular/core").OutputEmitterRef<
|
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:
|
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;
|
package/scheduler/lib/views/timeline-multi-day/scheduler-timeline-multi-day-view.component.d.ts
CHANGED
@@ -1,33 +1,34 @@
|
|
1
|
-
import {
|
1
|
+
import { NXComponent } from '@acorex/cdk/common';
|
2
2
|
import { AXDateTime, AXHolidayDate } from '@acorex/core/date-time';
|
3
|
-
import {
|
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:
|
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
|
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
|
-
|
23
|
-
|
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<
|
26
|
-
slotDblClickedInternal: import("@angular/core").OutputEmitterRef<
|
27
|
-
slotRightClickedInternal: import("@angular/core").OutputEmitterRef<
|
28
|
-
appointmentClickedInternal: import("@angular/core").OutputEmitterRef<
|
29
|
-
appointmentDblClickedInternal: import("@angular/core").OutputEmitterRef<
|
30
|
-
appointmentRightClickedInternal: import("@angular/core").OutputEmitterRef<
|
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; }; "
|
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
|
}
|