@acorex/components 20.1.32 → 20.1.34
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/calendar/index.d.ts +2 -2
- package/command/README.md +3 -0
- package/command/index.d.ts +50 -0
- package/fesm2022/acorex-components-calendar.mjs +10 -6
- package/fesm2022/acorex-components-calendar.mjs.map +1 -1
- package/fesm2022/acorex-components-command.mjs +100 -0
- package/fesm2022/acorex-components-command.mjs.map +1 -0
- package/fesm2022/acorex-components-datetime-picker.mjs +1 -1
- package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-dialog.mjs +2 -2
- package/fesm2022/acorex-components-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-media-viewer.mjs +2 -2
- package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-number-box-2.mjs +10 -0
- package/fesm2022/acorex-components-number-box-2.mjs.map +1 -1
- package/fesm2022/acorex-components-password-box.mjs +2 -2
- package/fesm2022/acorex-components-password-box.mjs.map +1 -1
- package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
- package/fesm2022/acorex-components-result.mjs.map +1 -1
- package/fesm2022/acorex-components-scheduler.mjs +505 -42
- package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
- package/fesm2022/acorex-components-select-box.mjs.map +1 -1
- package/package.json +9 -5
- package/password-box/index.d.ts +1 -1
- package/result/index.d.ts +2 -2
- package/scheduler/index.d.ts +148 -5
package/scheduler/index.d.ts
CHANGED
@@ -15,6 +15,7 @@ type AXSchedulerAppointment = {
|
|
15
15
|
endDate: Date;
|
16
16
|
title?: string;
|
17
17
|
startDate: Date;
|
18
|
+
resourceId?: any;
|
18
19
|
allDay?: boolean;
|
19
20
|
cssClass?: string;
|
20
21
|
readonly?: boolean;
|
@@ -62,6 +63,11 @@ type AXSchedulerAppointmentDataSourceFilter = {
|
|
62
63
|
type AXSchedulerAppointmentLoader = (filter?: AXSchedulerAppointmentDataSourceFilter) => AXSchedulerAppointment[];
|
63
64
|
type AXSchedulerAppointmentLoaderAsync = (filter?: AXSchedulerAppointmentDataSourceFilter) => Promise<AXSchedulerAppointment[]>;
|
64
65
|
type AXSchedulerAppointmentDataSource = AXSchedulerAppointment[] | AXSchedulerAppointmentLoader | AXSchedulerAppointmentLoaderAsync;
|
66
|
+
type AXSchedulerResource = {
|
67
|
+
id: any;
|
68
|
+
title: string;
|
69
|
+
description?: string;
|
70
|
+
};
|
65
71
|
|
66
72
|
interface AXSchedulerAppointmentMouseEvent extends NXNativeEvent<AXSchedulerComponent, MouseEvent> {
|
67
73
|
appointment: AXSchedulerAppointment;
|
@@ -118,6 +124,8 @@ declare class AXSchedulerComponent extends NXComponent implements OnInit {
|
|
118
124
|
weekend: _angular_core.InputSignal<number[]>;
|
119
125
|
allowFullScreen: _angular_core.InputSignal<boolean>;
|
120
126
|
multiDayViewDaysCount: _angular_core.InputSignal<number>;
|
127
|
+
resources: _angular_core.InputSignal<AXSchedulerResource[]>;
|
128
|
+
showUnassignedAppointments: _angular_core.InputSignal<boolean>;
|
121
129
|
tooltipTemplate: _angular_core.InputSignal<string | TemplateRef<unknown>>;
|
122
130
|
dataSource: _angular_core.InputSignal<AXSchedulerAppointmentDataSource>;
|
123
131
|
holidays: _angular_core.InputSignal<(range: AXSchedulerDateRange) => Promise<AXHolidayDate[]>>;
|
@@ -182,7 +190,7 @@ declare class AXSchedulerComponent extends NXComponent implements OnInit {
|
|
182
190
|
*/
|
183
191
|
refresh(appointments?: AXSchedulerAppointment[]): Promise<void>;
|
184
192
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSchedulerComponent, never>;
|
185
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXSchedulerComponent, "ax-scheduler", never, { "calendar": { "alias": "calendar"; "required": false; "isSignal": true; }; "startingDate": { "alias": "startingDate"; "required": false; "isSignal": true; }; "endDayHour": { "alias": "endDayHour"; "required": false; "isSignal": true; }; "startDayHour": { "alias": "startDayHour"; "required": false; "isSignal": true; }; "hasHeader": { "alias": "hasHeader"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "hasActions": { "alias": "hasActions"; "required": false; "isSignal": true; }; "dragStartDelay": { "alias": "dragStartDelay"; "required": false; "isSignal": true; }; "weekend": { "alias": "weekend"; "required": false; "isSignal": true; }; "allowFullScreen": { "alias": "allowFullScreen"; "required": false; "isSignal": true; }; "multiDayViewDaysCount": { "alias": "multiDayViewDaysCount"; "required": false; "isSignal": true; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; "isSignal": true; }; "dataSource": { "alias": "dataSource"; "required": false; "isSignal": true; }; "holidays": { "alias": "holidays"; "required": false; "isSignal": true; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; "isSignal": true; }; "views": { "alias": "views"; "required": false; "isSignal": true; }; "selectedView": { "alias": "selectedView"; "required": false; "isSignal": true; }; }, { "selectedView": "selectedViewChange"; "onDataLoaded": "onDataLoaded"; "onRangeChanged": "onRangeChanged"; "onSlotClicked": "onSlotClicked"; "onSlotDblClicked": "onSlotDblClicked"; "onSlotRightClick": "onSlotRightClick"; "onAppointmentDrop": "onAppointmentDrop"; "onActionClick": "onActionClick"; "onAppointmentClicked": "onAppointmentClicked"; "onAppointmentDblClicked": "onAppointmentDblClicked"; "onAppointmentRightClick": "onAppointmentRightClick"; }, never, never, true, never>;
|
193
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXSchedulerComponent, "ax-scheduler", never, { "calendar": { "alias": "calendar"; "required": false; "isSignal": true; }; "startingDate": { "alias": "startingDate"; "required": false; "isSignal": true; }; "endDayHour": { "alias": "endDayHour"; "required": false; "isSignal": true; }; "startDayHour": { "alias": "startDayHour"; "required": false; "isSignal": true; }; "hasHeader": { "alias": "hasHeader"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "hasActions": { "alias": "hasActions"; "required": false; "isSignal": true; }; "dragStartDelay": { "alias": "dragStartDelay"; "required": false; "isSignal": true; }; "weekend": { "alias": "weekend"; "required": false; "isSignal": true; }; "allowFullScreen": { "alias": "allowFullScreen"; "required": false; "isSignal": true; }; "multiDayViewDaysCount": { "alias": "multiDayViewDaysCount"; "required": false; "isSignal": true; }; "resources": { "alias": "resources"; "required": false; "isSignal": true; }; "showUnassignedAppointments": { "alias": "showUnassignedAppointments"; "required": false; "isSignal": true; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; "isSignal": true; }; "dataSource": { "alias": "dataSource"; "required": false; "isSignal": true; }; "holidays": { "alias": "holidays"; "required": false; "isSignal": true; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; "isSignal": true; }; "views": { "alias": "views"; "required": false; "isSignal": true; }; "selectedView": { "alias": "selectedView"; "required": false; "isSignal": true; }; }, { "selectedView": "selectedViewChange"; "onDataLoaded": "onDataLoaded"; "onRangeChanged": "onRangeChanged"; "onSlotClicked": "onSlotClicked"; "onSlotDblClicked": "onSlotDblClicked"; "onSlotRightClick": "onSlotRightClick"; "onAppointmentDrop": "onAppointmentDrop"; "onActionClick": "onActionClick"; "onAppointmentClicked": "onAppointmentClicked"; "onAppointmentDblClicked": "onAppointmentDblClicked"; "onAppointmentRightClick": "onAppointmentRightClick"; }, never, never, true, never>;
|
186
194
|
}
|
187
195
|
|
188
196
|
declare class AXSchedulerDayViewComponent extends NXComponent {
|
@@ -451,9 +459,20 @@ declare class AXSchedulerTimelineDayViewComponent extends NXComponent {
|
|
451
459
|
date: _angular_core.InputSignal<AXDateTime>;
|
452
460
|
endDayHour: _angular_core.InputSignal<number>;
|
453
461
|
startDayHour: _angular_core.InputSignal<number>;
|
462
|
+
resources: _angular_core.InputSignal<AXSchedulerResource[]>;
|
463
|
+
showUnassignedAppointments: _angular_core.InputSignal<boolean>;
|
464
|
+
showResourceHeaders: _angular_core.InputSignal<boolean>;
|
454
465
|
appointments: _angular_core.InputSignal<AXSchedulerAppointment[]>;
|
455
466
|
tooltipTemplate: _angular_core.InputSignal<string | TemplateRef<unknown>>;
|
456
467
|
private dragStartSlotId;
|
468
|
+
/**
|
469
|
+
* Gets appointments grouped by resources for timeline view.
|
470
|
+
*/
|
471
|
+
protected appointmentsByResource: _angular_core.Signal<Map<string, AXSchedulerAppointment[]>>;
|
472
|
+
/**
|
473
|
+
* Gets all resource IDs including unassigned if applicable.
|
474
|
+
*/
|
475
|
+
protected resourceIds: _angular_core.Signal<string[]>;
|
457
476
|
/**
|
458
477
|
* Processes original appointments to get segments relevant to this specific day and its viewable hours.
|
459
478
|
* Filters out original all-day events.
|
@@ -474,10 +493,30 @@ declare class AXSchedulerTimelineDayViewComponent extends NXComponent {
|
|
474
493
|
protected handleActionClick(event: MouseEvent, appointmentItem: AXSchedulerAppointment): void;
|
475
494
|
protected hoursArray: _angular_core.Signal<AXDateTime[]>;
|
476
495
|
protected appointmentLayouts: _angular_core.Signal<AXSchedulerAppointmentLayout[]>;
|
496
|
+
/**
|
497
|
+
* Gets appointments for a specific resource.
|
498
|
+
*/
|
499
|
+
protected getAppointmentsForResource(resourceId: string): AXSchedulerAppointment[];
|
500
|
+
/**
|
501
|
+
* Gets resource title by ID.
|
502
|
+
*/
|
503
|
+
protected getResourceTitle(resourceId: string): string;
|
504
|
+
/**
|
505
|
+
* Gets appointment layouts for a specific resource with proper positioning.
|
506
|
+
*/
|
507
|
+
protected getAppointmentLayoutsForResource(resourceId: string): AXSchedulerAppointmentLayout[];
|
508
|
+
/**
|
509
|
+
* Calculates the height for a resource row based on its appointments.
|
510
|
+
*/
|
511
|
+
protected getResourceRowHeight(resourceId: string): string;
|
512
|
+
/**
|
513
|
+
* Calculates the maximum number of overlapping appointment rows needed.
|
514
|
+
*/
|
515
|
+
private calculateMaxOverlappingRows;
|
477
516
|
protected getSlotId(e: PointerEvent): void;
|
478
517
|
protected get isReadonly(): boolean;
|
479
518
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSchedulerTimelineDayViewComponent, never>;
|
480
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXSchedulerTimelineDayViewComponent, "ax-scheduler-timeline-day-view", never, { "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "hasActions": { "alias": "hasActions"; "required": false; "isSignal": true; }; "dragStartDelay": { "alias": "dragStartDelay"; "required": false; "isSignal": true; }; "calendar": { "alias": "calendar"; "required": false; "isSignal": true; }; "date": { "alias": "date"; "required": true; "isSignal": true; }; "endDayHour": { "alias": "endDayHour"; "required": true; "isSignal": true; }; "startDayHour": { "alias": "startDayHour"; "required": true; "isSignal": true; }; "appointments": { "alias": "appointments"; "required": false; "isSignal": true; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; "isSignal": true; }; }, { "slotClickedInternal": "slotClickedInternal"; "slotDblClickedInternal": "slotDblClickedInternal"; "slotRightClickedInternal": "slotRightClickedInternal"; "appointmentClickedInternal": "appointmentClickedInternal"; "appointmentDblClickedInternal": "appointmentDblClickedInternal"; "appointmentRightClickedInternal": "appointmentRightClickedInternal"; "onActionClickInternal": "onActionClickInternal"; "onAppointmentDropInternal": "onAppointmentDropInternal"; }, never, never, true, never>;
|
519
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXSchedulerTimelineDayViewComponent, "ax-scheduler-timeline-day-view", never, { "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "hasActions": { "alias": "hasActions"; "required": false; "isSignal": true; }; "dragStartDelay": { "alias": "dragStartDelay"; "required": false; "isSignal": true; }; "calendar": { "alias": "calendar"; "required": false; "isSignal": true; }; "date": { "alias": "date"; "required": true; "isSignal": true; }; "endDayHour": { "alias": "endDayHour"; "required": true; "isSignal": true; }; "startDayHour": { "alias": "startDayHour"; "required": true; "isSignal": true; }; "resources": { "alias": "resources"; "required": false; "isSignal": true; }; "showUnassignedAppointments": { "alias": "showUnassignedAppointments"; "required": false; "isSignal": true; }; "showResourceHeaders": { "alias": "showResourceHeaders"; "required": false; "isSignal": true; }; "appointments": { "alias": "appointments"; "required": false; "isSignal": true; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; "isSignal": true; }; }, { "slotClickedInternal": "slotClickedInternal"; "slotDblClickedInternal": "slotDblClickedInternal"; "slotRightClickedInternal": "slotRightClickedInternal"; "appointmentClickedInternal": "appointmentClickedInternal"; "appointmentDblClickedInternal": "appointmentDblClickedInternal"; "appointmentRightClickedInternal": "appointmentRightClickedInternal"; "onActionClickInternal": "onActionClickInternal"; "onAppointmentDropInternal": "onAppointmentDropInternal"; }, never, never, true, never>;
|
481
520
|
}
|
482
521
|
|
483
522
|
declare class AXSchedulerModule {
|
@@ -632,6 +671,31 @@ declare class AXSchedulerService {
|
|
632
671
|
* @returns boolean - True if the date is a weekend.
|
633
672
|
*/
|
634
673
|
isWeekend(date: AXDateTime, calendar: string): boolean;
|
674
|
+
/**
|
675
|
+
* Filters appointments by resources and unassigned appointments.
|
676
|
+
*
|
677
|
+
* @param appointments - Array of appointments to filter.
|
678
|
+
* @param resources - Array of resources.
|
679
|
+
* @param showUnassignedAppointments - Whether to show appointments without resources.
|
680
|
+
* @returns Map<string, AXSchedulerAppointment[]> - Appointments grouped by resource ID.
|
681
|
+
*/
|
682
|
+
filterAppointmentsByResources(appointments: AXSchedulerAppointment[], resources: AXSchedulerResource[], showUnassignedAppointments?: boolean): Map<string, AXSchedulerAppointment[]>;
|
683
|
+
/**
|
684
|
+
* Gets appointments for a specific resource.
|
685
|
+
*
|
686
|
+
* @param appointments - Array of appointments.
|
687
|
+
* @param resourceId - The resource ID to filter by.
|
688
|
+
* @returns AXSchedulerAppointment[] - Filtered appointments.
|
689
|
+
*/
|
690
|
+
getAppointmentsForResource(appointments: AXSchedulerAppointment[], resourceId: any): AXSchedulerAppointment[];
|
691
|
+
/**
|
692
|
+
* Gets all resource IDs including unassigned if applicable.
|
693
|
+
*
|
694
|
+
* @param resources - Array of resources.
|
695
|
+
* @param showUnassignedAppointments - Whether to include unassigned appointments.
|
696
|
+
* @returns string[] - Array of resource IDs.
|
697
|
+
*/
|
698
|
+
getAllResourceIds(resources: AXSchedulerResource[], showUnassignedAppointments?: boolean): string[];
|
635
699
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSchedulerService, never>;
|
636
700
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXSchedulerService>;
|
637
701
|
}
|
@@ -693,6 +757,11 @@ interface TimelineMonthViewDayData {
|
|
693
757
|
state: 'holiday' | 'weekend' | 'none';
|
694
758
|
holiday?: AXHolidayDate;
|
695
759
|
};
|
760
|
+
appointmentsByResource?: Map<string, {
|
761
|
+
visible: AXSchedulerAppointmentSegment[];
|
762
|
+
hidden: AXSchedulerAppointmentSegment[];
|
763
|
+
moreCount: number;
|
764
|
+
}>;
|
696
765
|
}
|
697
766
|
declare class AXSchedulerTimelineMonthViewComponent extends NXComponent {
|
698
767
|
private document;
|
@@ -706,6 +775,9 @@ declare class AXSchedulerTimelineMonthViewComponent extends NXComponent {
|
|
706
775
|
dragStartDelay: _angular_core.InputSignal<number>;
|
707
776
|
calendar: _angular_core.InputSignal<string>;
|
708
777
|
date: _angular_core.InputSignal<AXDateTime>;
|
778
|
+
resources: _angular_core.InputSignal<AXSchedulerResource[]>;
|
779
|
+
showUnassignedAppointments: _angular_core.InputSignal<boolean>;
|
780
|
+
showResourceHeaders: _angular_core.InputSignal<boolean>;
|
709
781
|
appointments: _angular_core.InputSignal<AXSchedulerAppointment[]>;
|
710
782
|
tooltipTemplate: _angular_core.InputSignal<string | TemplateRef<unknown>>;
|
711
783
|
private dragStartSlotId;
|
@@ -728,10 +800,43 @@ declare class AXSchedulerTimelineMonthViewComponent extends NXComponent {
|
|
728
800
|
state: 'holiday' | 'weekend' | 'none';
|
729
801
|
holiday?: AXHolidayDate;
|
730
802
|
};
|
803
|
+
/**
|
804
|
+
* Gets appointments grouped by resources for timeline view.
|
805
|
+
*/
|
806
|
+
protected appointmentsByResource: _angular_core.Signal<Map<string, AXSchedulerAppointment[]>>;
|
807
|
+
/**
|
808
|
+
* Gets all resource IDs including unassigned if applicable.
|
809
|
+
*/
|
810
|
+
protected resourceIds: _angular_core.Signal<string[]>;
|
811
|
+
/**
|
812
|
+
* Gets appointments for a specific resource.
|
813
|
+
*/
|
814
|
+
protected getAppointmentsForResource(resourceId: string): AXSchedulerAppointment[];
|
815
|
+
/**
|
816
|
+
* Gets resource title by ID.
|
817
|
+
*/
|
818
|
+
protected getResourceTitle(resourceId: string): string;
|
819
|
+
/**
|
820
|
+
* Gets appointments for a specific resource and day.
|
821
|
+
*/
|
822
|
+
protected getAppointmentsForResourceAndDay(resourceId: string, dayData: TimelineMonthViewDayData): {
|
823
|
+
visible: AXSchedulerAppointmentSegment[];
|
824
|
+
hidden: AXSchedulerAppointmentSegment[];
|
825
|
+
moreCount: number;
|
826
|
+
};
|
731
827
|
protected getSlotId(e: PointerEvent): void;
|
828
|
+
/**
|
829
|
+
* Gets the height for a specific resource row based on appointments.
|
830
|
+
*/
|
831
|
+
protected getResourceRowHeight(resourceId: string): string;
|
832
|
+
/**
|
833
|
+
* Calculates the maximum number of overlapping appointment rows needed.
|
834
|
+
* This is a simplified version for timeline month view.
|
835
|
+
*/
|
836
|
+
protected calculateMaxOverlappingRows(appointments: AXSchedulerAppointmentSegment[]): number;
|
732
837
|
protected get isReadonly(): boolean;
|
733
838
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSchedulerTimelineMonthViewComponent, never>;
|
734
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXSchedulerTimelineMonthViewComponent, "ax-scheduler-timeline-month-view", never, { "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "hasActions": { "alias": "hasActions"; "required": false; "isSignal": true; }; "dragStartDelay": { "alias": "dragStartDelay"; "required": false; "isSignal": true; }; "calendar": { "alias": "calendar"; "required": false; "isSignal": true; }; "date": { "alias": "date"; "required": true; "isSignal": true; }; "appointments": { "alias": "appointments"; "required": false; "isSignal": true; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; "isSignal": true; }; }, { "slotClickedInternal": "slotClickedInternal"; "slotDblClickedInternal": "slotDblClickedInternal"; "slotRightClickedInternal": "slotRightClickedInternal"; "appointmentClickedInternal": "appointmentClickedInternal"; "appointmentDblClickedInternal": "appointmentDblClickedInternal"; "appointmentRightClickedInternal": "appointmentRightClickedInternal"; "onActionClickInternal": "onActionClickInternal"; "onAppointmentDropInternal": "onAppointmentDropInternal"; }, never, never, true, never>;
|
839
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXSchedulerTimelineMonthViewComponent, "ax-scheduler-timeline-month-view", never, { "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "hasActions": { "alias": "hasActions"; "required": false; "isSignal": true; }; "dragStartDelay": { "alias": "dragStartDelay"; "required": false; "isSignal": true; }; "calendar": { "alias": "calendar"; "required": false; "isSignal": true; }; "date": { "alias": "date"; "required": true; "isSignal": true; }; "resources": { "alias": "resources"; "required": false; "isSignal": true; }; "showUnassignedAppointments": { "alias": "showUnassignedAppointments"; "required": false; "isSignal": true; }; "showResourceHeaders": { "alias": "showResourceHeaders"; "required": false; "isSignal": true; }; "appointments": { "alias": "appointments"; "required": false; "isSignal": true; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; "isSignal": true; }; }, { "slotClickedInternal": "slotClickedInternal"; "slotDblClickedInternal": "slotDblClickedInternal"; "slotRightClickedInternal": "slotRightClickedInternal"; "appointmentClickedInternal": "appointmentClickedInternal"; "appointmentDblClickedInternal": "appointmentDblClickedInternal"; "appointmentRightClickedInternal": "appointmentRightClickedInternal"; "onActionClickInternal": "onActionClickInternal"; "onAppointmentDropInternal": "onAppointmentDropInternal"; }, never, never, true, never>;
|
735
840
|
}
|
736
841
|
|
737
842
|
interface TimelineMultiDayDaySlot {
|
@@ -754,6 +859,8 @@ declare class AXSchedulerTimelineMultiDayViewComponent extends NXComponent {
|
|
754
859
|
date: _angular_core.InputSignal<AXDateTime>;
|
755
860
|
endDayHour: _angular_core.InputSignal<number>;
|
756
861
|
startDayHour: _angular_core.InputSignal<number>;
|
862
|
+
resources: _angular_core.InputSignal<AXSchedulerResource[]>;
|
863
|
+
showUnassignedAppointments: _angular_core.InputSignal<boolean>;
|
757
864
|
appointments: _angular_core.InputSignal<AXSchedulerAppointment[]>;
|
758
865
|
tooltipTemplate: _angular_core.InputSignal<string | TemplateRef<unknown>>;
|
759
866
|
protected daysDataForTimelineViews: _angular_core.Signal<TimelineMultiDayDaySlot[]>;
|
@@ -766,13 +873,49 @@ declare class AXSchedulerTimelineMultiDayViewComponent extends NXComponent {
|
|
766
873
|
onActionClickInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
767
874
|
onAppointmentDropInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotDropEvent>;
|
768
875
|
protected isToday(date: AXDateTime): boolean;
|
876
|
+
/**
|
877
|
+
* Gets appointments grouped by resources for timeline view.
|
878
|
+
*/
|
879
|
+
protected appointmentsByResource: _angular_core.Signal<Map<string, AXSchedulerAppointment[]>>;
|
880
|
+
/**
|
881
|
+
* Gets all resource IDs including unassigned if applicable.
|
882
|
+
*/
|
883
|
+
protected resourceIds: _angular_core.Signal<string[]>;
|
884
|
+
/**
|
885
|
+
* Gets appointments for a specific resource.
|
886
|
+
*/
|
887
|
+
protected getAppointmentsForResource(resourceId: string): AXSchedulerAppointment[];
|
888
|
+
/**
|
889
|
+
* Gets resource title by ID.
|
890
|
+
*/
|
891
|
+
protected getResourceTitle(resourceId: string): string;
|
892
|
+
/**
|
893
|
+
* Gets appointments for a specific resource and day.
|
894
|
+
*/
|
895
|
+
protected getAppointmentsForResourceAndDay(resourceId: string, dayAppointments: AXSchedulerAppointment[]): AXSchedulerAppointment[];
|
896
|
+
/**
|
897
|
+
* Gets the height for a specific resource across all days.
|
898
|
+
*/
|
899
|
+
protected getResourceRowHeight(resourceId: string): string;
|
900
|
+
/**
|
901
|
+
* Calculates the maximum number of overlapping rows for a set of appointments.
|
902
|
+
*/
|
903
|
+
private calculateMaxOverlappingRowsForAppointments;
|
904
|
+
/**
|
905
|
+
* Gets the hours array for time slots display.
|
906
|
+
*/
|
907
|
+
protected getHoursArray(): AXDateTime[];
|
908
|
+
/**
|
909
|
+
* Gets the number of hours for CSS calculations.
|
910
|
+
*/
|
911
|
+
protected getHoursCount(): number;
|
769
912
|
protected isHoliday(date: AXDateTime): {
|
770
913
|
state: 'holiday' | 'weekend' | 'none';
|
771
914
|
holiday?: AXHolidayDate;
|
772
915
|
};
|
773
916
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSchedulerTimelineMultiDayViewComponent, never>;
|
774
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXSchedulerTimelineMultiDayViewComponent, "ax-scheduler-timeline-multi-day-view", never, { "daysCount": { "alias": "daysCount"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "hasActions": { "alias": "hasActions"; "required": false; "isSignal": true; }; "dragStartDelay": { "alias": "dragStartDelay"; "required": false; "isSignal": true; }; "calendar": { "alias": "calendar"; "required": false; "isSignal": true; }; "date": { "alias": "date"; "required": true; "isSignal": true; }; "endDayHour": { "alias": "endDayHour"; "required": true; "isSignal": true; }; "startDayHour": { "alias": "startDayHour"; "required": true; "isSignal": true; }; "appointments": { "alias": "appointments"; "required": false; "isSignal": true; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; "isSignal": true; }; }, { "slotClickedInternal": "slotClickedInternal"; "slotDblClickedInternal": "slotDblClickedInternal"; "slotRightClickedInternal": "slotRightClickedInternal"; "appointmentClickedInternal": "appointmentClickedInternal"; "appointmentDblClickedInternal": "appointmentDblClickedInternal"; "appointmentRightClickedInternal": "appointmentRightClickedInternal"; "onActionClickInternal": "onActionClickInternal"; "onAppointmentDropInternal": "onAppointmentDropInternal"; }, never, never, true, never>;
|
917
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXSchedulerTimelineMultiDayViewComponent, "ax-scheduler-timeline-multi-day-view", never, { "daysCount": { "alias": "daysCount"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "hasActions": { "alias": "hasActions"; "required": false; "isSignal": true; }; "dragStartDelay": { "alias": "dragStartDelay"; "required": false; "isSignal": true; }; "calendar": { "alias": "calendar"; "required": false; "isSignal": true; }; "date": { "alias": "date"; "required": true; "isSignal": true; }; "endDayHour": { "alias": "endDayHour"; "required": true; "isSignal": true; }; "startDayHour": { "alias": "startDayHour"; "required": true; "isSignal": true; }; "resources": { "alias": "resources"; "required": false; "isSignal": true; }; "showUnassignedAppointments": { "alias": "showUnassignedAppointments"; "required": false; "isSignal": true; }; "appointments": { "alias": "appointments"; "required": false; "isSignal": true; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; "isSignal": true; }; }, { "slotClickedInternal": "slotClickedInternal"; "slotDblClickedInternal": "slotDblClickedInternal"; "slotRightClickedInternal": "slotRightClickedInternal"; "appointmentClickedInternal": "appointmentClickedInternal"; "appointmentDblClickedInternal": "appointmentDblClickedInternal"; "appointmentRightClickedInternal": "appointmentRightClickedInternal"; "onActionClickInternal": "onActionClickInternal"; "onAppointmentDropInternal": "onAppointmentDropInternal"; }, never, never, true, never>;
|
775
918
|
}
|
776
919
|
|
777
920
|
export { AXSchedulerAgendaViewComponent, AXSchedulerComponent, AXSchedulerDayViewComponent, AXSchedulerModule, AXSchedulerMonthViewComponent, AXSchedulerService, AXSchedulerTimelineDayViewComponent, AXSchedulerTimelineMonthViewComponent, AXSchedulerTimelineMultiDayViewComponent, AXSchedulerWeekViewComponent };
|
778
|
-
export type { AXDayOfWeekName, AXSchedulerActiveAppointmentsInBlock, AXSchedulerAllDaySlotData, AXSchedulerAppointment, AXSchedulerAppointmentDataSource, AXSchedulerAppointmentDataSourceFilter, AXSchedulerAppointmentLayout, AXSchedulerAppointmentLoader, AXSchedulerAppointmentLoaderAsync, AXSchedulerAppointmentMouseEvent, AXSchedulerAppointmentSegment, AXSchedulerBlockIdentifier, AXSchedulerBlockOccupancyMap, AXSchedulerDateRange, AXSchedulerDayAppointmentLayout, AXSchedulerMonthDayCell, AXSchedulerMultiDayViewAppointment, AXSchedulerOverflowBadge, AXSchedulerSlotDropEvent, AXSchedulerSlotMouseEvent, AXSchedulerView, AgendaDayData, TimelineMonthViewDayData, TimelineMultiDayDaySlot };
|
921
|
+
export type { AXDayOfWeekName, AXSchedulerActiveAppointmentsInBlock, AXSchedulerAllDaySlotData, AXSchedulerAppointment, AXSchedulerAppointmentDataSource, AXSchedulerAppointmentDataSourceFilter, AXSchedulerAppointmentLayout, AXSchedulerAppointmentLoader, AXSchedulerAppointmentLoaderAsync, AXSchedulerAppointmentMouseEvent, AXSchedulerAppointmentSegment, AXSchedulerBlockIdentifier, AXSchedulerBlockOccupancyMap, AXSchedulerDateRange, AXSchedulerDayAppointmentLayout, AXSchedulerMonthDayCell, AXSchedulerMultiDayViewAppointment, AXSchedulerOverflowBadge, AXSchedulerResource, AXSchedulerSlotDropEvent, AXSchedulerSlotMouseEvent, AXSchedulerView, AgendaDayData, TimelineMonthViewDayData, TimelineMultiDayDaySlot };
|