@acorex/components 20.1.34 → 20.1.35
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/fesm2022/acorex-components-command.mjs +2 -2
- package/fesm2022/acorex-components-command.mjs.map +1 -1
- package/fesm2022/acorex-components-dialog.mjs +5 -5
- package/fesm2022/acorex-components-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-scheduler.mjs +114 -27
- package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
- package/package.json +5 -5
- package/scheduler/index.d.ts +19 -14
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@acorex/components",
|
3
|
-
"version": "20.1.
|
3
|
+
"version": "20.1.35",
|
4
4
|
"peerDependencies": {
|
5
5
|
"@angular/common": "^20.0.0",
|
6
6
|
"@angular/core": "^20.0.0",
|
@@ -383,14 +383,14 @@
|
|
383
383
|
"types": "./skeleton/index.d.ts",
|
384
384
|
"default": "./fesm2022/acorex-components-skeleton.mjs"
|
385
385
|
},
|
386
|
-
"./slider": {
|
387
|
-
"types": "./slider/index.d.ts",
|
388
|
-
"default": "./fesm2022/acorex-components-slider.mjs"
|
389
|
-
},
|
390
386
|
"./sliding-item": {
|
391
387
|
"types": "./sliding-item/index.d.ts",
|
392
388
|
"default": "./fesm2022/acorex-components-sliding-item.mjs"
|
393
389
|
},
|
390
|
+
"./slider": {
|
391
|
+
"types": "./slider/index.d.ts",
|
392
|
+
"default": "./fesm2022/acorex-components-slider.mjs"
|
393
|
+
},
|
394
394
|
"./step-wizard": {
|
395
395
|
"types": "./step-wizard/index.d.ts",
|
396
396
|
"default": "./fesm2022/acorex-components-step-wizard.mjs"
|
package/scheduler/index.d.ts
CHANGED
@@ -86,6 +86,7 @@ interface AXSchedulerSlotDropEvent extends NXEvent<AXSchedulerComponent> {
|
|
86
86
|
endDate: AXDateTime;
|
87
87
|
startDate: AXDateTime;
|
88
88
|
view: AXSchedulerView;
|
89
|
+
resourceId?: any;
|
89
90
|
};
|
90
91
|
isSameSlotDrop: boolean;
|
91
92
|
}
|
@@ -465,6 +466,7 @@ declare class AXSchedulerTimelineDayViewComponent extends NXComponent {
|
|
465
466
|
appointments: _angular_core.InputSignal<AXSchedulerAppointment[]>;
|
466
467
|
tooltipTemplate: _angular_core.InputSignal<string | TemplateRef<unknown>>;
|
467
468
|
private dragStartSlotId;
|
469
|
+
private dragStartSlotResourceId;
|
468
470
|
/**
|
469
471
|
* Gets appointments grouped by resources for timeline view.
|
470
472
|
*/
|
@@ -489,26 +491,26 @@ declare class AXSchedulerTimelineDayViewComponent extends NXComponent {
|
|
489
491
|
private readonly eventOutputMap;
|
490
492
|
protected handleAppointmentEvent(mouseEvent: MouseEvent, appointmentItem: AXSchedulerAppointment): void;
|
491
493
|
protected handleSlotEvent(mouseEvent: MouseEvent, startDate: AXDateTime): void;
|
492
|
-
protected handleDrop(e: AXDropZoneDropEvent, startDate: AXDateTime): void;
|
494
|
+
protected handleDrop(e: AXDropZoneDropEvent, startDate: AXDateTime, resourceId?: any): void;
|
493
495
|
protected handleActionClick(event: MouseEvent, appointmentItem: AXSchedulerAppointment): void;
|
494
496
|
protected hoursArray: _angular_core.Signal<AXDateTime[]>;
|
495
497
|
protected appointmentLayouts: _angular_core.Signal<AXSchedulerAppointmentLayout[]>;
|
496
498
|
/**
|
497
499
|
* Gets appointments for a specific resource.
|
498
500
|
*/
|
499
|
-
protected getAppointmentsForResource(resourceId:
|
501
|
+
protected getAppointmentsForResource(resourceId: any): AXSchedulerAppointment[];
|
500
502
|
/**
|
501
503
|
* Gets resource title by ID.
|
502
504
|
*/
|
503
|
-
protected getResourceTitle(resourceId:
|
505
|
+
protected getResourceTitle(resourceId: any): string;
|
504
506
|
/**
|
505
507
|
* Gets appointment layouts for a specific resource with proper positioning.
|
506
508
|
*/
|
507
|
-
protected getAppointmentLayoutsForResource(resourceId:
|
509
|
+
protected getAppointmentLayoutsForResource(resourceId: any): AXSchedulerAppointmentLayout[];
|
508
510
|
/**
|
509
511
|
* Calculates the height for a resource row based on its appointments.
|
510
512
|
*/
|
511
|
-
protected getResourceRowHeight(resourceId:
|
513
|
+
protected getResourceRowHeight(resourceId: any): string;
|
512
514
|
/**
|
513
515
|
* Calculates the maximum number of overlapping appointment rows needed.
|
514
516
|
*/
|
@@ -781,6 +783,7 @@ declare class AXSchedulerTimelineMonthViewComponent extends NXComponent {
|
|
781
783
|
appointments: _angular_core.InputSignal<AXSchedulerAppointment[]>;
|
782
784
|
tooltipTemplate: _angular_core.InputSignal<string | TemplateRef<unknown>>;
|
783
785
|
private dragStartSlotId;
|
786
|
+
private dragStartSlotResourceId;
|
784
787
|
protected processedDayData: _angular_core.Signal<TimelineMonthViewDayData[]>;
|
785
788
|
slotClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
786
789
|
slotDblClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
@@ -793,7 +796,7 @@ declare class AXSchedulerTimelineMonthViewComponent extends NXComponent {
|
|
793
796
|
private readonly eventOutputMap;
|
794
797
|
protected handleAppointmentEvent(mouseEvent: MouseEvent, appointmentItem: AXSchedulerAppointment): void;
|
795
798
|
protected handleSlotEvent(mouseEvent: MouseEvent, date: AXDateTime): void;
|
796
|
-
protected handleDrop(e: AXDropZoneDropEvent, date: AXDateTime): void;
|
799
|
+
protected handleDrop(e: AXDropZoneDropEvent, date: AXDateTime, resourceId?: any): void;
|
797
800
|
protected handleActionClick(event: MouseEvent, appointmentItem: AXSchedulerAppointment): void;
|
798
801
|
protected isToday(date: AXDateTime): boolean;
|
799
802
|
protected isHoliday(date: AXDateTime): {
|
@@ -811,15 +814,15 @@ declare class AXSchedulerTimelineMonthViewComponent extends NXComponent {
|
|
811
814
|
/**
|
812
815
|
* Gets appointments for a specific resource.
|
813
816
|
*/
|
814
|
-
protected getAppointmentsForResource(resourceId:
|
817
|
+
protected getAppointmentsForResource(resourceId: any): AXSchedulerAppointment[];
|
815
818
|
/**
|
816
819
|
* Gets resource title by ID.
|
817
820
|
*/
|
818
|
-
protected getResourceTitle(resourceId:
|
821
|
+
protected getResourceTitle(resourceId: any): string;
|
819
822
|
/**
|
820
823
|
* Gets appointments for a specific resource and day.
|
821
824
|
*/
|
822
|
-
protected getAppointmentsForResourceAndDay(resourceId:
|
825
|
+
protected getAppointmentsForResourceAndDay(resourceId: any, dayData: TimelineMonthViewDayData): {
|
823
826
|
visible: AXSchedulerAppointmentSegment[];
|
824
827
|
hidden: AXSchedulerAppointmentSegment[];
|
825
828
|
moreCount: number;
|
@@ -828,7 +831,7 @@ declare class AXSchedulerTimelineMonthViewComponent extends NXComponent {
|
|
828
831
|
/**
|
829
832
|
* Gets the height for a specific resource row based on appointments.
|
830
833
|
*/
|
831
|
-
protected getResourceRowHeight(resourceId:
|
834
|
+
protected getResourceRowHeight(resourceId: any): string;
|
832
835
|
/**
|
833
836
|
* Calculates the maximum number of overlapping appointment rows needed.
|
834
837
|
* This is a simplified version for timeline month view.
|
@@ -872,6 +875,7 @@ declare class AXSchedulerTimelineMultiDayViewComponent extends NXComponent {
|
|
872
875
|
appointmentRightClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
873
876
|
onActionClickInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
874
877
|
onAppointmentDropInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotDropEvent>;
|
878
|
+
protected handleDrop(event: AXSchedulerSlotDropEvent, resourceId: any): void;
|
875
879
|
protected isToday(date: AXDateTime): boolean;
|
876
880
|
/**
|
877
881
|
* Gets appointments grouped by resources for timeline view.
|
@@ -884,21 +888,22 @@ declare class AXSchedulerTimelineMultiDayViewComponent extends NXComponent {
|
|
884
888
|
/**
|
885
889
|
* Gets appointments for a specific resource.
|
886
890
|
*/
|
887
|
-
protected getAppointmentsForResource(resourceId:
|
891
|
+
protected getAppointmentsForResource(resourceId: any): AXSchedulerAppointment[];
|
888
892
|
/**
|
889
893
|
* Gets resource title by ID.
|
890
894
|
*/
|
891
|
-
protected getResourceTitle(resourceId:
|
895
|
+
protected getResourceTitle(resourceId: any): string;
|
892
896
|
/**
|
893
897
|
* Gets appointments for a specific resource and day.
|
894
898
|
*/
|
895
|
-
protected getAppointmentsForResourceAndDay(resourceId:
|
899
|
+
protected getAppointmentsForResourceAndDay(resourceId: any, dayAppointments: AXSchedulerAppointment[]): AXSchedulerAppointment[];
|
896
900
|
/**
|
897
901
|
* Gets the height for a specific resource across all days.
|
898
902
|
*/
|
899
|
-
protected getResourceRowHeight(resourceId:
|
903
|
+
protected getResourceRowHeight(resourceId: any): string;
|
900
904
|
/**
|
901
905
|
* Calculates the maximum number of overlapping rows for a set of appointments.
|
906
|
+
* Uses the actual segmented times that will be displayed in the timeline view.
|
902
907
|
*/
|
903
908
|
private calculateMaxOverlappingRowsForAppointments;
|
904
909
|
/**
|