@acorex/components 20.1.34 → 20.1.36
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/accordion/index.d.ts +6 -5
- package/command/index.d.ts +13 -3
- package/comment/index.d.ts +6 -0
- package/data-table/index.d.ts +58 -2
- package/dialog/index.d.ts +29 -4
- package/drawer-2/index.d.ts +15 -0
- package/dropdown-button/index.d.ts +7 -2
- package/fesm2022/acorex-components-accordion.mjs +65 -58
- package/fesm2022/acorex-components-accordion.mjs.map +1 -1
- package/fesm2022/acorex-components-command.mjs +52 -8
- package/fesm2022/acorex-components-command.mjs.map +1 -1
- package/fesm2022/acorex-components-comment.mjs +7 -1
- package/fesm2022/acorex-components-comment.mjs.map +1 -1
- package/fesm2022/acorex-components-data-table.mjs +58 -2
- package/fesm2022/acorex-components-data-table.mjs.map +1 -1
- package/fesm2022/acorex-components-dialog.mjs +34 -9
- package/fesm2022/acorex-components-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-drawer-2.mjs +15 -0
- package/fesm2022/acorex-components-drawer-2.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown-button.mjs +7 -2
- package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
- package/fesm2022/acorex-components-form.mjs +10 -0
- package/fesm2022/acorex-components-form.mjs.map +1 -1
- package/fesm2022/acorex-components-grid-layout-builder.mjs +115 -5
- package/fesm2022/acorex-components-grid-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-components-menu.mjs +12 -1
- package/fesm2022/acorex-components-menu.mjs.map +1 -1
- package/fesm2022/{acorex-components-modal-acorex-components-modal-BdrQgtUV.mjs → acorex-components-modal-acorex-components-modal-DTUAOsgv.mjs} +12 -11
- package/fesm2022/{acorex-components-modal-acorex-components-modal-BdrQgtUV.mjs.map → acorex-components-modal-acorex-components-modal-DTUAOsgv.mjs.map} +1 -1
- package/fesm2022/{acorex-components-modal-modal-content.component-DTrjX50k.mjs → acorex-components-modal-modal-content.component-Co2yaRpp.mjs} +20 -19
- package/fesm2022/acorex-components-modal-modal-content.component-Co2yaRpp.mjs.map +1 -0
- package/fesm2022/acorex-components-modal.mjs +1 -1
- package/fesm2022/acorex-components-phone-box.mjs +31 -4
- package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
- package/fesm2022/acorex-components-scheduler.mjs +947 -84
- package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
- package/fesm2022/acorex-components-tabs.mjs +2 -2
- package/fesm2022/acorex-components-tabs.mjs.map +1 -1
- package/form/index.d.ts +10 -0
- package/grid-layout-builder/index.d.ts +115 -4
- package/menu/index.d.ts +12 -0
- package/modal/index.d.ts +3 -2
- package/package.json +1 -1
- package/scheduler/index.d.ts +363 -244
- package/fesm2022/acorex-components-modal-modal-content.component-DTrjX50k.mjs.map +0 -1
package/scheduler/index.d.ts
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
import { AXRange, NXNativeEvent, NXComponent, NXEvent, AXValueChangedEvent } from '@acorex/cdk/common';
|
2
2
|
import { AXDateTime, AXHolidayDate } from '@acorex/core/date-time';
|
3
3
|
import * as _angular_core from '@angular/core';
|
4
|
-
import { OnInit, TemplateRef } from '@angular/core';
|
4
|
+
import { OnInit, TemplateRef, AfterViewInit, ElementRef } from '@angular/core';
|
5
5
|
import { AXDropZoneDropEvent } from '@acorex/cdk/drag-drop';
|
6
6
|
|
7
|
-
type AXSchedulerView = 'day' | 'week' | 'month' | 'timeline-day' | 'timeline-multi-day' | 'timeline-month' | 'agenda';
|
7
|
+
type AXSchedulerView = 'day' | 'week' | 'month' | 'timeline-day' | 'timeline-multi-day' | 'timeline-month' | 'timeline-year' | 'agenda';
|
8
8
|
type AXDayOfWeekName = 'sunday' | 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday';
|
9
9
|
type AXSchedulerBlockIdentifier = {
|
10
10
|
dayIndex: number;
|
@@ -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
|
}
|
@@ -124,12 +125,15 @@ declare class AXSchedulerComponent extends NXComponent implements OnInit {
|
|
124
125
|
weekend: _angular_core.InputSignal<number[]>;
|
125
126
|
allowFullScreen: _angular_core.InputSignal<boolean>;
|
126
127
|
multiDayViewDaysCount: _angular_core.InputSignal<number>;
|
127
|
-
|
128
|
+
showResourceHeaders: _angular_core.InputSignal<boolean>;
|
129
|
+
showCurrentTimeIndicator: _angular_core.InputSignal<boolean>;
|
128
130
|
showUnassignedAppointments: _angular_core.InputSignal<boolean>;
|
131
|
+
resources: _angular_core.InputSignal<AXSchedulerResource[]>;
|
132
|
+
resourceTemplate: _angular_core.InputSignal<TemplateRef<unknown>>;
|
133
|
+
firstDayOfWeek: _angular_core.InputSignal<AXDayOfWeekName>;
|
129
134
|
tooltipTemplate: _angular_core.InputSignal<string | TemplateRef<unknown>>;
|
130
135
|
dataSource: _angular_core.InputSignal<AXSchedulerAppointmentDataSource>;
|
131
136
|
holidays: _angular_core.InputSignal<(range: AXSchedulerDateRange) => Promise<AXHolidayDate[]>>;
|
132
|
-
firstDayOfWeek: _angular_core.InputSignal<AXDayOfWeekName>;
|
133
137
|
views: _angular_core.InputSignal<AXSchedulerView[]>;
|
134
138
|
selectedView: _angular_core.ModelSignal<AXSchedulerView>;
|
135
139
|
private prevView;
|
@@ -154,7 +158,7 @@ declare class AXSchedulerComponent extends NXComponent implements OnInit {
|
|
154
158
|
private fillDataSource;
|
155
159
|
private getGridDateRange;
|
156
160
|
currentDateText: _angular_core.Signal<string>;
|
157
|
-
calendarDepth: _angular_core.Signal<"day" | "month">;
|
161
|
+
calendarDepth: _angular_core.Signal<"day" | "month" | "year">;
|
158
162
|
private mappedAppointments;
|
159
163
|
range: _angular_core.Signal<AXSchedulerDateRange>;
|
160
164
|
viewAppointments: _angular_core.Signal<AXSchedulerAppointment[]>;
|
@@ -190,10 +194,10 @@ declare class AXSchedulerComponent extends NXComponent implements OnInit {
|
|
190
194
|
*/
|
191
195
|
refresh(appointments?: AXSchedulerAppointment[]): Promise<void>;
|
192
196
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSchedulerComponent, 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; }; "
|
197
|
+
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; }; "showResourceHeaders": { "alias": "showResourceHeaders"; "required": false; "isSignal": true; }; "showCurrentTimeIndicator": { "alias": "showCurrentTimeIndicator"; "required": false; "isSignal": true; }; "showUnassignedAppointments": { "alias": "showUnassignedAppointments"; "required": false; "isSignal": true; }; "resources": { "alias": "resources"; "required": false; "isSignal": true; }; "resourceTemplate": { "alias": "resourceTemplate"; "required": false; "isSignal": true; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "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; }; "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>;
|
194
198
|
}
|
195
199
|
|
196
|
-
declare class AXSchedulerDayViewComponent extends NXComponent {
|
200
|
+
declare class AXSchedulerDayViewComponent extends NXComponent implements AfterViewInit {
|
197
201
|
private document;
|
198
202
|
private scheduler;
|
199
203
|
private calendarService;
|
@@ -207,8 +211,10 @@ declare class AXSchedulerDayViewComponent extends NXComponent {
|
|
207
211
|
date: _angular_core.InputSignal<AXDateTime>;
|
208
212
|
endDayHour: _angular_core.InputSignal<number>;
|
209
213
|
startDayHour: _angular_core.InputSignal<number>;
|
214
|
+
showCurrentTimeIndicator: _angular_core.InputSignal<boolean>;
|
210
215
|
appointments: _angular_core.InputSignal<AXSchedulerAppointment[]>;
|
211
216
|
tooltipTemplate: _angular_core.InputSignal<string | TemplateRef<unknown>>;
|
217
|
+
currentTimeLineElement: _angular_core.Signal<ElementRef<HTMLElement>>;
|
212
218
|
private dragStartSlotId;
|
213
219
|
private processedAppointmentsForLayout;
|
214
220
|
protected allDayAppointments: _angular_core.Signal<AXSchedulerAppointment[]>;
|
@@ -235,16 +241,20 @@ declare class AXSchedulerDayViewComponent extends NXComponent {
|
|
235
241
|
protected getAppointmentWidth(key: any): string;
|
236
242
|
protected getAppointmentTop(key: any): string;
|
237
243
|
protected getAppointmentHeight(key: any): string;
|
244
|
+
protected getCurrentTimePosition(): number | null;
|
245
|
+
protected getCurrentTimePositionWithOffset(): string | null;
|
246
|
+
ngAfterViewInit(): void;
|
247
|
+
private setupCurrentTimeScroll;
|
238
248
|
protected getSlotId(e: PointerEvent): void;
|
239
249
|
protected get isReadonly(): boolean;
|
240
250
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSchedulerDayViewComponent, never>;
|
241
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXSchedulerDayViewComponent, "ax-scheduler-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>;
|
251
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXSchedulerDayViewComponent, "ax-scheduler-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; }; "showCurrentTimeIndicator": { "alias": "showCurrentTimeIndicator"; "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>;
|
242
252
|
}
|
243
253
|
|
244
254
|
type AXSchedulerGridBadgeInfo = AXSchedulerOverflowBadge & {
|
245
255
|
hiddenAppointments: AXSchedulerAppointmentSegment[];
|
246
256
|
};
|
247
|
-
declare class AXSchedulerWeekViewComponent extends NXComponent {
|
257
|
+
declare class AXSchedulerWeekViewComponent extends NXComponent implements AfterViewInit {
|
248
258
|
private readonly document;
|
249
259
|
private readonly scheduler;
|
250
260
|
private readonly calendarService;
|
@@ -260,8 +270,10 @@ declare class AXSchedulerWeekViewComponent extends NXComponent {
|
|
260
270
|
date: _angular_core.InputSignal<AXDateTime>;
|
261
271
|
endDayHour: _angular_core.InputSignal<number>;
|
262
272
|
startDayHour: _angular_core.InputSignal<number>;
|
273
|
+
showCurrentTimeIndicator: _angular_core.InputSignal<boolean>;
|
263
274
|
appointments: _angular_core.InputSignal<AXSchedulerAppointment[]>;
|
264
275
|
tooltipTemplate: _angular_core.InputSignal<string | TemplateRef<unknown>>;
|
276
|
+
currentTimeLineElement: _angular_core.Signal<ElementRef<HTMLElement>>;
|
265
277
|
protected readonly slotClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
266
278
|
protected readonly slotDblClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
267
279
|
protected readonly slotRightClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
@@ -384,11 +396,18 @@ declare class AXSchedulerWeekViewComponent extends NXComponent {
|
|
384
396
|
* @param e The pointer event that initiates the drag.
|
385
397
|
*/
|
386
398
|
protected getSlotId(e: PointerEvent): void;
|
399
|
+
protected getCurrentTimePosition(): number | null;
|
400
|
+
protected getCurrentTimePositionWithOffset(): string | null;
|
401
|
+
protected getCurrentDayColumnPosition(): string | null;
|
402
|
+
protected getCurrentDayColumnWidth(): string;
|
403
|
+
ngAfterViewInit(): void;
|
404
|
+
private setupCurrentTimeScroll;
|
405
|
+
protected shouldShowCurrentTimeForToday(): boolean;
|
387
406
|
protected get isReadonly(): boolean;
|
388
407
|
private processedAppointmentsForLayout;
|
389
408
|
private timedGridSegments;
|
390
409
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSchedulerWeekViewComponent, never>;
|
391
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXSchedulerWeekViewComponent, "ax-scheduler-week-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>;
|
410
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXSchedulerWeekViewComponent, "ax-scheduler-week-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; }; "showCurrentTimeIndicator": { "alias": "showCurrentTimeIndicator"; "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>;
|
392
411
|
}
|
393
412
|
|
394
413
|
type AXSchedulerMonthDayCell = {
|
@@ -445,7 +464,55 @@ declare class AXSchedulerMonthViewComponent extends NXComponent {
|
|
445
464
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXSchedulerMonthViewComponent, "ax-scheduler-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; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "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>;
|
446
465
|
}
|
447
466
|
|
448
|
-
|
467
|
+
interface AgendaDayData {
|
468
|
+
date: AXDateTime;
|
469
|
+
appointments: AXSchedulerAppointmentSegment[];
|
470
|
+
holiday?: {
|
471
|
+
state: 'holiday' | 'weekend' | 'none';
|
472
|
+
holiday?: AXHolidayDate;
|
473
|
+
};
|
474
|
+
}
|
475
|
+
declare class AXSchedulerAgendaViewComponent extends NXComponent {
|
476
|
+
private document;
|
477
|
+
private scheduler;
|
478
|
+
private calendarService;
|
479
|
+
private schedulerService;
|
480
|
+
daysCount: _angular_core.InputSignal<number>;
|
481
|
+
readonly: _angular_core.InputSignal<boolean>;
|
482
|
+
draggable: _angular_core.InputSignal<boolean>;
|
483
|
+
hasActions: _angular_core.InputSignal<boolean>;
|
484
|
+
dragStartDelay: _angular_core.InputSignal<number>;
|
485
|
+
calendar: _angular_core.InputSignal<string>;
|
486
|
+
date: _angular_core.InputSignal<AXDateTime>;
|
487
|
+
appointments: _angular_core.InputSignal<AXSchedulerAppointment[]>;
|
488
|
+
tooltipTemplate: _angular_core.InputSignal<string | TemplateRef<unknown>>;
|
489
|
+
private dragStartSlotId;
|
490
|
+
protected agendaDaysLayout: _angular_core.Signal<AgendaDayData[]>;
|
491
|
+
slotClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
492
|
+
slotDblClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
493
|
+
slotRightClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
494
|
+
appointmentClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
495
|
+
appointmentDblClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
496
|
+
appointmentRightClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
497
|
+
onActionClickInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
498
|
+
onAppointmentDropInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotDropEvent>;
|
499
|
+
private readonly eventOutputMap;
|
500
|
+
protected handleAppointmentEvent(mouseEvent: MouseEvent, appointmentItem: AXSchedulerAppointment): void;
|
501
|
+
protected handleSlotEvent(mouseEvent: MouseEvent, date: AXDateTime): void;
|
502
|
+
protected handleDrop(e: AXDropZoneDropEvent, date: AXDateTime): void;
|
503
|
+
protected handleActionClick(event: MouseEvent, appointmentItem: AXSchedulerAppointment): void;
|
504
|
+
protected isToday(date: AXDateTime): boolean;
|
505
|
+
protected isHoliday(date: AXDateTime): {
|
506
|
+
state: 'holiday' | 'weekend' | 'none';
|
507
|
+
holiday?: AXHolidayDate;
|
508
|
+
};
|
509
|
+
protected getSlotId(e: PointerEvent): void;
|
510
|
+
protected get isReadonly(): boolean;
|
511
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSchedulerAgendaViewComponent, never>;
|
512
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXSchedulerAgendaViewComponent, "ax-scheduler-agenda-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; }; "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>;
|
513
|
+
}
|
514
|
+
|
515
|
+
declare class AXSchedulerTimelineDayViewComponent extends NXComponent implements AfterViewInit {
|
449
516
|
private document;
|
450
517
|
private scheduler;
|
451
518
|
private calendarService;
|
@@ -456,23 +523,27 @@ declare class AXSchedulerTimelineDayViewComponent extends NXComponent {
|
|
456
523
|
hasActions: _angular_core.InputSignal<boolean>;
|
457
524
|
dragStartDelay: _angular_core.InputSignal<number>;
|
458
525
|
calendar: _angular_core.InputSignal<string>;
|
526
|
+
showResourceHeaders: _angular_core.InputSignal<boolean>;
|
459
527
|
date: _angular_core.InputSignal<AXDateTime>;
|
460
528
|
endDayHour: _angular_core.InputSignal<number>;
|
461
529
|
startDayHour: _angular_core.InputSignal<number>;
|
462
|
-
resources: _angular_core.InputSignal<AXSchedulerResource[]>;
|
463
530
|
showUnassignedAppointments: _angular_core.InputSignal<boolean>;
|
464
|
-
|
531
|
+
resources: _angular_core.InputSignal<AXSchedulerResource[]>;
|
532
|
+
showCurrentTimeIndicator: _angular_core.InputSignal<boolean>;
|
533
|
+
resourceTemplate: _angular_core.InputSignal<TemplateRef<unknown>>;
|
465
534
|
appointments: _angular_core.InputSignal<AXSchedulerAppointment[]>;
|
466
535
|
tooltipTemplate: _angular_core.InputSignal<string | TemplateRef<unknown>>;
|
467
536
|
private dragStartSlotId;
|
537
|
+
private dragStartSlotResourceId;
|
538
|
+
currentTimeLineElement: _angular_core.Signal<ElementRef<HTMLElement>>;
|
468
539
|
/**
|
469
540
|
* Gets appointments grouped by resources for timeline view.
|
470
541
|
*/
|
471
|
-
protected appointmentsByResource: _angular_core.Signal<Map<
|
542
|
+
protected appointmentsByResource: _angular_core.Signal<Map<any, AXSchedulerAppointment[]>>;
|
472
543
|
/**
|
473
544
|
* Gets all resource IDs including unassigned if applicable.
|
474
545
|
*/
|
475
|
-
protected resourceIds: _angular_core.Signal<
|
546
|
+
protected resourceIds: _angular_core.Signal<any[]>;
|
476
547
|
/**
|
477
548
|
* Processes original appointments to get segments relevant to this specific day and its viewable hours.
|
478
549
|
* Filters out original all-day events.
|
@@ -489,26 +560,31 @@ declare class AXSchedulerTimelineDayViewComponent extends NXComponent {
|
|
489
560
|
private readonly eventOutputMap;
|
490
561
|
protected handleAppointmentEvent(mouseEvent: MouseEvent, appointmentItem: AXSchedulerAppointment): void;
|
491
562
|
protected handleSlotEvent(mouseEvent: MouseEvent, startDate: AXDateTime): void;
|
492
|
-
protected handleDrop(e: AXDropZoneDropEvent, startDate: AXDateTime): void;
|
563
|
+
protected handleDrop(e: AXDropZoneDropEvent, startDate: AXDateTime, resourceId?: any): void;
|
493
564
|
protected handleActionClick(event: MouseEvent, appointmentItem: AXSchedulerAppointment): void;
|
494
565
|
protected hoursArray: _angular_core.Signal<AXDateTime[]>;
|
495
566
|
protected appointmentLayouts: _angular_core.Signal<AXSchedulerAppointmentLayout[]>;
|
496
567
|
/**
|
497
568
|
* Gets appointments for a specific resource.
|
498
569
|
*/
|
499
|
-
protected getAppointmentsForResource(resourceId:
|
570
|
+
protected getAppointmentsForResource(resourceId: any): AXSchedulerAppointment[];
|
500
571
|
/**
|
501
572
|
* Gets resource title by ID.
|
502
573
|
*/
|
503
|
-
protected getResourceTitle(resourceId:
|
574
|
+
protected getResourceTitle(resourceId: any): string;
|
575
|
+
protected getResourceContext(resourceId: any): AXSchedulerResource;
|
576
|
+
protected getCurrentTimePosition(): number | null;
|
577
|
+
protected getCurrentTimePositionWithOffset(): string | null;
|
578
|
+
ngAfterViewInit(): void;
|
579
|
+
private setupCurrentTimeScroll;
|
504
580
|
/**
|
505
581
|
* Gets appointment layouts for a specific resource with proper positioning.
|
506
582
|
*/
|
507
|
-
protected getAppointmentLayoutsForResource(resourceId:
|
583
|
+
protected getAppointmentLayoutsForResource(resourceId: any): AXSchedulerAppointmentLayout[];
|
508
584
|
/**
|
509
585
|
* Calculates the height for a resource row based on its appointments.
|
510
586
|
*/
|
511
|
-
protected getResourceRowHeight(resourceId:
|
587
|
+
protected getResourceRowHeight(resourceId: any): string;
|
512
588
|
/**
|
513
589
|
* Calculates the maximum number of overlapping appointment rows needed.
|
514
590
|
*/
|
@@ -516,12 +592,272 @@ declare class AXSchedulerTimelineDayViewComponent extends NXComponent {
|
|
516
592
|
protected getSlotId(e: PointerEvent): void;
|
517
593
|
protected get isReadonly(): boolean;
|
518
594
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSchedulerTimelineDayViewComponent, 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; }; "
|
595
|
+
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; }; "showResourceHeaders": { "alias": "showResourceHeaders"; "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; }; "showUnassignedAppointments": { "alias": "showUnassignedAppointments"; "required": false; "isSignal": true; }; "resources": { "alias": "resources"; "required": false; "isSignal": true; }; "showCurrentTimeIndicator": { "alias": "showCurrentTimeIndicator"; "required": false; "isSignal": true; }; "resourceTemplate": { "alias": "resourceTemplate"; "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>;
|
596
|
+
}
|
597
|
+
|
598
|
+
interface TimelineMonthViewDayData {
|
599
|
+
date: AXDateTime;
|
600
|
+
visibleAppointments: AXSchedulerAppointmentSegment[];
|
601
|
+
hiddenAppointments: AXSchedulerAppointmentSegment[];
|
602
|
+
moreCount: number;
|
603
|
+
holiday?: {
|
604
|
+
state: 'holiday' | 'weekend' | 'none';
|
605
|
+
holiday?: AXHolidayDate;
|
606
|
+
};
|
607
|
+
appointmentsByResource?: Map<string, {
|
608
|
+
visible: AXSchedulerAppointmentSegment[];
|
609
|
+
hidden: AXSchedulerAppointmentSegment[];
|
610
|
+
moreCount: number;
|
611
|
+
}>;
|
612
|
+
}
|
613
|
+
declare class AXSchedulerTimelineMonthViewComponent extends NXComponent implements AfterViewInit {
|
614
|
+
private document;
|
615
|
+
private scheduler;
|
616
|
+
private calendarService;
|
617
|
+
private schedulerService;
|
618
|
+
private readonly MAX_VISIBLE_APPOINTMENTS_PER_DAY;
|
619
|
+
readonly: _angular_core.InputSignal<boolean>;
|
620
|
+
draggable: _angular_core.InputSignal<boolean>;
|
621
|
+
hasActions: _angular_core.InputSignal<boolean>;
|
622
|
+
dragStartDelay: _angular_core.InputSignal<number>;
|
623
|
+
calendar: _angular_core.InputSignal<string>;
|
624
|
+
showResourceHeaders: _angular_core.InputSignal<boolean>;
|
625
|
+
date: _angular_core.InputSignal<AXDateTime>;
|
626
|
+
showUnassignedAppointments: _angular_core.InputSignal<boolean>;
|
627
|
+
resources: _angular_core.InputSignal<AXSchedulerResource[]>;
|
628
|
+
showCurrentTimeIndicator: _angular_core.InputSignal<boolean>;
|
629
|
+
resourceTemplate: _angular_core.InputSignal<TemplateRef<unknown>>;
|
630
|
+
appointments: _angular_core.InputSignal<AXSchedulerAppointment[]>;
|
631
|
+
tooltipTemplate: _angular_core.InputSignal<string | TemplateRef<unknown>>;
|
632
|
+
private dragStartSlotId;
|
633
|
+
private dragStartSlotResourceId;
|
634
|
+
currentTimeLineElement: _angular_core.Signal<ElementRef<HTMLElement>>;
|
635
|
+
protected processedDayData: _angular_core.Signal<TimelineMonthViewDayData[]>;
|
636
|
+
slotClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
637
|
+
slotDblClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
638
|
+
slotRightClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
639
|
+
appointmentClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
640
|
+
appointmentDblClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
641
|
+
appointmentRightClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
642
|
+
onActionClickInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
643
|
+
onAppointmentDropInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotDropEvent>;
|
644
|
+
private readonly eventOutputMap;
|
645
|
+
protected handleAppointmentEvent(mouseEvent: MouseEvent, appointmentItem: AXSchedulerAppointment): void;
|
646
|
+
protected handleSlotEvent(mouseEvent: MouseEvent, date: AXDateTime): void;
|
647
|
+
protected handleDrop(e: AXDropZoneDropEvent, date: AXDateTime, resourceId?: any): void;
|
648
|
+
protected handleActionClick(event: MouseEvent, appointmentItem: AXSchedulerAppointment): void;
|
649
|
+
protected isToday(date: AXDateTime): boolean;
|
650
|
+
protected isHoliday(date: AXDateTime): {
|
651
|
+
state: 'holiday' | 'weekend' | 'none';
|
652
|
+
holiday?: AXHolidayDate;
|
653
|
+
};
|
654
|
+
/**
|
655
|
+
* Gets appointments grouped by resources for timeline view.
|
656
|
+
*/
|
657
|
+
protected appointmentsByResource: _angular_core.Signal<Map<any, AXSchedulerAppointment[]>>;
|
658
|
+
/**
|
659
|
+
* Gets all resource IDs including unassigned if applicable.
|
660
|
+
*/
|
661
|
+
protected resourceIds: _angular_core.Signal<any[]>;
|
662
|
+
/**
|
663
|
+
* Gets appointments for a specific resource.
|
664
|
+
*/
|
665
|
+
protected getAppointmentsForResource(resourceId: any): AXSchedulerAppointment[];
|
666
|
+
/**
|
667
|
+
* Gets resource title by ID.
|
668
|
+
*/
|
669
|
+
protected getResourceTitle(resourceId: any): string;
|
670
|
+
protected getResourceContext(resourceId: any): AXSchedulerResource;
|
671
|
+
protected getCurrentTimePosition(): number | null;
|
672
|
+
ngAfterViewInit(): void;
|
673
|
+
private setupCurrentTimeScroll;
|
674
|
+
/**
|
675
|
+
* Gets appointments for a specific resource and day.
|
676
|
+
*/
|
677
|
+
protected getAppointmentsForResourceAndDay(resourceId: any, dayData: TimelineMonthViewDayData): {
|
678
|
+
visible: AXSchedulerAppointmentSegment[];
|
679
|
+
hidden: AXSchedulerAppointmentSegment[];
|
680
|
+
moreCount: number;
|
681
|
+
};
|
682
|
+
protected getSlotId(e: PointerEvent): void;
|
683
|
+
/**
|
684
|
+
* Gets the height for a specific resource row based on appointments.
|
685
|
+
*/
|
686
|
+
protected getResourceRowHeight(resourceId: any): string;
|
687
|
+
/**
|
688
|
+
* Calculates the maximum number of overlapping appointment rows needed.
|
689
|
+
* This is a simplified version for timeline month view.
|
690
|
+
*/
|
691
|
+
protected calculateMaxOverlappingRows(appointments: AXSchedulerAppointmentSegment[]): number;
|
692
|
+
protected shouldShowCurrentTimeForDay(dayDate: AXDateTime): boolean;
|
693
|
+
protected get isReadonly(): boolean;
|
694
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSchedulerTimelineMonthViewComponent, never>;
|
695
|
+
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; }; "showResourceHeaders": { "alias": "showResourceHeaders"; "required": false; "isSignal": true; }; "date": { "alias": "date"; "required": true; "isSignal": true; }; "showUnassignedAppointments": { "alias": "showUnassignedAppointments"; "required": false; "isSignal": true; }; "resources": { "alias": "resources"; "required": false; "isSignal": true; }; "showCurrentTimeIndicator": { "alias": "showCurrentTimeIndicator"; "required": false; "isSignal": true; }; "resourceTemplate": { "alias": "resourceTemplate"; "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>;
|
696
|
+
}
|
697
|
+
|
698
|
+
interface TimelineMultiDayDaySlot {
|
699
|
+
date: AXDateTime;
|
700
|
+
originalAppointmentsForThisDay: AXSchedulerAppointment[];
|
701
|
+
holiday?: {
|
702
|
+
state: 'holiday' | 'weekend' | 'none';
|
703
|
+
holiday?: AXHolidayDate;
|
704
|
+
};
|
705
|
+
}
|
706
|
+
declare class AXSchedulerTimelineMultiDayViewComponent extends NXComponent implements AfterViewInit {
|
707
|
+
private calendarService;
|
708
|
+
private schedulerService;
|
709
|
+
daysCount: _angular_core.InputSignal<number>;
|
710
|
+
readonly: _angular_core.InputSignal<boolean>;
|
711
|
+
draggable: _angular_core.InputSignal<boolean>;
|
712
|
+
hasActions: _angular_core.InputSignal<boolean>;
|
713
|
+
dragStartDelay: _angular_core.InputSignal<number>;
|
714
|
+
calendar: _angular_core.InputSignal<string>;
|
715
|
+
showResourceHeaders: _angular_core.InputSignal<boolean>;
|
716
|
+
date: _angular_core.InputSignal<AXDateTime>;
|
717
|
+
endDayHour: _angular_core.InputSignal<number>;
|
718
|
+
showCurrentTimeIndicator: _angular_core.InputSignal<boolean>;
|
719
|
+
startDayHour: _angular_core.InputSignal<number>;
|
720
|
+
showUnassignedAppointments: _angular_core.InputSignal<boolean>;
|
721
|
+
resources: _angular_core.InputSignal<AXSchedulerResource[]>;
|
722
|
+
resourceTemplate: _angular_core.InputSignal<TemplateRef<unknown>>;
|
723
|
+
appointments: _angular_core.InputSignal<AXSchedulerAppointment[]>;
|
724
|
+
tooltipTemplate: _angular_core.InputSignal<string | TemplateRef<unknown>>;
|
725
|
+
currentTimeLineElement: _angular_core.Signal<ElementRef<HTMLElement>>;
|
726
|
+
protected daysDataForTimelineViews: _angular_core.Signal<TimelineMultiDayDaySlot[]>;
|
727
|
+
slotClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
728
|
+
slotDblClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
729
|
+
slotRightClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
730
|
+
appointmentClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
731
|
+
appointmentDblClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
732
|
+
appointmentRightClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
733
|
+
onActionClickInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
734
|
+
onAppointmentDropInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotDropEvent>;
|
735
|
+
protected handleDrop(event: AXSchedulerSlotDropEvent, resourceId: any): void;
|
736
|
+
protected isToday(date: AXDateTime): boolean;
|
737
|
+
/**
|
738
|
+
* Gets appointments grouped by resources for timeline view.
|
739
|
+
*/
|
740
|
+
protected appointmentsByResource: _angular_core.Signal<Map<any, AXSchedulerAppointment[]>>;
|
741
|
+
/**
|
742
|
+
* Gets all resource IDs including unassigned if applicable.
|
743
|
+
*/
|
744
|
+
protected resourceIds: _angular_core.Signal<any[]>;
|
745
|
+
/**
|
746
|
+
* Gets appointments for a specific resource.
|
747
|
+
*/
|
748
|
+
protected getAppointmentsForResource(resourceId: any): AXSchedulerAppointment[];
|
749
|
+
/**
|
750
|
+
* Gets resource title by ID.
|
751
|
+
*/
|
752
|
+
protected getResourceTitle(resourceId: any): string;
|
753
|
+
protected getResourceContext(resourceId: any): AXSchedulerResource;
|
754
|
+
protected getCurrentTimePosition(): number | null;
|
755
|
+
protected shouldShowCurrentTimeForDay(dayDate: AXDateTime): boolean;
|
756
|
+
ngAfterViewInit(): void;
|
757
|
+
private setupCurrentTimeScroll;
|
758
|
+
/**
|
759
|
+
* Gets appointments for a specific resource and day.
|
760
|
+
*/
|
761
|
+
protected getAppointmentsForResourceAndDay(resourceId: any, dayAppointments: AXSchedulerAppointment[]): AXSchedulerAppointment[];
|
762
|
+
/**
|
763
|
+
* Gets the height for a specific resource across all days.
|
764
|
+
*/
|
765
|
+
protected getResourceRowHeight(resourceId: any): string;
|
766
|
+
/**
|
767
|
+
* Calculates the maximum number of overlapping rows for a set of appointments.
|
768
|
+
* Uses the actual segmented times that will be displayed in the timeline view.
|
769
|
+
*/
|
770
|
+
private calculateMaxOverlappingRowsForAppointments;
|
771
|
+
/**
|
772
|
+
* Gets the hours array for time slots display.
|
773
|
+
*/
|
774
|
+
protected getHoursArray(): AXDateTime[];
|
775
|
+
/**
|
776
|
+
* Gets the number of hours for CSS calculations.
|
777
|
+
*/
|
778
|
+
protected getHoursCount(): number;
|
779
|
+
protected isHoliday(date: AXDateTime): {
|
780
|
+
state: 'holiday' | 'weekend' | 'none';
|
781
|
+
holiday?: AXHolidayDate;
|
782
|
+
};
|
783
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSchedulerTimelineMultiDayViewComponent, never>;
|
784
|
+
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; }; "showResourceHeaders": { "alias": "showResourceHeaders"; "required": false; "isSignal": true; }; "date": { "alias": "date"; "required": true; "isSignal": true; }; "endDayHour": { "alias": "endDayHour"; "required": true; "isSignal": true; }; "showCurrentTimeIndicator": { "alias": "showCurrentTimeIndicator"; "required": false; "isSignal": true; }; "startDayHour": { "alias": "startDayHour"; "required": true; "isSignal": true; }; "showUnassignedAppointments": { "alias": "showUnassignedAppointments"; "required": false; "isSignal": true; }; "resources": { "alias": "resources"; "required": false; "isSignal": true; }; "resourceTemplate": { "alias": "resourceTemplate"; "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>;
|
785
|
+
}
|
786
|
+
|
787
|
+
interface TimelineYearViewDayData {
|
788
|
+
date: AXDateTime;
|
789
|
+
visibleAppointments: AXSchedulerAppointmentSegment[];
|
790
|
+
hiddenAppointments: AXSchedulerAppointmentSegment[];
|
791
|
+
moreCount: number;
|
792
|
+
holiday?: {
|
793
|
+
state: 'holiday' | 'weekend' | 'none';
|
794
|
+
holiday?: AXHolidayDate;
|
795
|
+
};
|
796
|
+
appointmentsByResource?: Map<string, {
|
797
|
+
visible: AXSchedulerAppointmentSegment[];
|
798
|
+
hidden: AXSchedulerAppointmentSegment[];
|
799
|
+
moreCount: number;
|
800
|
+
}>;
|
801
|
+
}
|
802
|
+
declare class AXSchedulerTimelineYearViewComponent extends NXComponent implements AfterViewInit {
|
803
|
+
private document;
|
804
|
+
private scheduler;
|
805
|
+
private calendarService;
|
806
|
+
private schedulerService;
|
807
|
+
private readonly MAX_VISIBLE_APPOINTMENTS_PER_DAY;
|
808
|
+
readonly: _angular_core.InputSignal<boolean>;
|
809
|
+
draggable: _angular_core.InputSignal<boolean>;
|
810
|
+
hasActions: _angular_core.InputSignal<boolean>;
|
811
|
+
dragStartDelay: _angular_core.InputSignal<number>;
|
812
|
+
calendar: _angular_core.InputSignal<string>;
|
813
|
+
showResourceHeaders: _angular_core.InputSignal<boolean>;
|
814
|
+
date: _angular_core.InputSignal<AXDateTime>;
|
815
|
+
showUnassignedAppointments: _angular_core.InputSignal<boolean>;
|
816
|
+
resources: _angular_core.InputSignal<AXSchedulerResource[]>;
|
817
|
+
showCurrentTimeIndicator: _angular_core.InputSignal<boolean>;
|
818
|
+
resourceTemplate: _angular_core.InputSignal<TemplateRef<unknown>>;
|
819
|
+
appointments: _angular_core.InputSignal<AXSchedulerAppointment[]>;
|
820
|
+
tooltipTemplate: _angular_core.InputSignal<string | TemplateRef<unknown>>;
|
821
|
+
private dragStartSlotId;
|
822
|
+
private dragStartSlotResourceId;
|
823
|
+
currentTimeLineElement: _angular_core.Signal<ElementRef<HTMLElement>>;
|
824
|
+
protected optimizedDragStartDelay: _angular_core.Signal<number>;
|
825
|
+
protected processedDayData: _angular_core.Signal<TimelineYearViewDayData[]>;
|
826
|
+
protected resourceIds: _angular_core.Signal<any[]>;
|
827
|
+
private getHolidayInfo;
|
828
|
+
protected isToday(date: AXDateTime): boolean;
|
829
|
+
protected getResourceTitle(resourceId: any): string;
|
830
|
+
protected getAppointmentsForResourceAndDay(resourceId: any, dayData: TimelineYearViewDayData): {
|
831
|
+
visible: AXSchedulerAppointmentSegment[];
|
832
|
+
hidden: AXSchedulerAppointmentSegment[];
|
833
|
+
moreCount: number;
|
834
|
+
};
|
835
|
+
protected getResourceContext(resourceId: any): AXSchedulerResource;
|
836
|
+
protected getCurrentTimePosition(): number | null;
|
837
|
+
ngAfterViewInit(): void;
|
838
|
+
private setupCurrentTimeScroll;
|
839
|
+
slotClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
840
|
+
slotDblClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
841
|
+
slotRightClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
842
|
+
appointmentClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
843
|
+
appointmentDblClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
844
|
+
appointmentRightClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
845
|
+
onActionClickInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
846
|
+
onAppointmentDropInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotDropEvent>;
|
847
|
+
private readonly eventOutputMap;
|
848
|
+
protected handleAppointmentEvent(mouseEvent: MouseEvent, appointmentItem: AXSchedulerAppointment): void;
|
849
|
+
protected handleSlotEvent(mouseEvent: MouseEvent, date: AXDateTime): void;
|
850
|
+
protected handleDrop(e: AXDropZoneDropEvent, date: AXDateTime, resourceId?: any): void;
|
851
|
+
protected handleActionClick(event: MouseEvent, appointmentItem: AXSchedulerAppointment): void;
|
852
|
+
protected shouldShowCurrentTimeForDay(dayDate: AXDateTime): boolean;
|
853
|
+
protected getSlotId(e: PointerEvent): void;
|
854
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSchedulerTimelineYearViewComponent, never>;
|
855
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXSchedulerTimelineYearViewComponent, "ax-scheduler-timeline-year-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; }; "showResourceHeaders": { "alias": "showResourceHeaders"; "required": false; "isSignal": true; }; "date": { "alias": "date"; "required": true; "isSignal": true; }; "showUnassignedAppointments": { "alias": "showUnassignedAppointments"; "required": false; "isSignal": true; }; "resources": { "alias": "resources"; "required": false; "isSignal": true; }; "showCurrentTimeIndicator": { "alias": "showCurrentTimeIndicator"; "required": false; "isSignal": true; }; "resourceTemplate": { "alias": "resourceTemplate"; "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>;
|
520
856
|
}
|
521
857
|
|
522
858
|
declare class AXSchedulerModule {
|
523
859
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSchedulerModule, never>;
|
524
|
-
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXSchedulerModule, never, [typeof AXSchedulerComponent, typeof AXSchedulerDayViewComponent, typeof AXSchedulerWeekViewComponent, typeof AXSchedulerMonthViewComponent, typeof AXSchedulerTimelineDayViewComponent], [typeof AXSchedulerComponent, typeof AXSchedulerDayViewComponent, typeof AXSchedulerWeekViewComponent, typeof AXSchedulerMonthViewComponent, typeof AXSchedulerTimelineDayViewComponent]>;
|
860
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXSchedulerModule, never, [typeof AXSchedulerComponent, typeof AXSchedulerDayViewComponent, typeof AXSchedulerWeekViewComponent, typeof AXSchedulerMonthViewComponent, typeof AXSchedulerAgendaViewComponent, typeof AXSchedulerTimelineDayViewComponent, typeof AXSchedulerTimelineMonthViewComponent, typeof AXSchedulerTimelineMultiDayViewComponent, typeof AXSchedulerTimelineYearViewComponent], [typeof AXSchedulerComponent, typeof AXSchedulerDayViewComponent, typeof AXSchedulerWeekViewComponent, typeof AXSchedulerMonthViewComponent, typeof AXSchedulerAgendaViewComponent, typeof AXSchedulerTimelineDayViewComponent, typeof AXSchedulerTimelineMonthViewComponent, typeof AXSchedulerTimelineMultiDayViewComponent, typeof AXSchedulerTimelineYearViewComponent]>;
|
525
861
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXSchedulerModule>;
|
526
862
|
}
|
527
863
|
|
@@ -677,9 +1013,9 @@ declare class AXSchedulerService {
|
|
677
1013
|
* @param appointments - Array of appointments to filter.
|
678
1014
|
* @param resources - Array of resources.
|
679
1015
|
* @param showUnassignedAppointments - Whether to show appointments without resources.
|
680
|
-
* @returns Map<
|
1016
|
+
* @returns Map<any, AXSchedulerAppointment[]> - Appointments grouped by resource ID.
|
681
1017
|
*/
|
682
|
-
filterAppointmentsByResources(appointments: AXSchedulerAppointment[], resources: AXSchedulerResource[], showUnassignedAppointments?: boolean): Map<
|
1018
|
+
filterAppointmentsByResources(appointments: AXSchedulerAppointment[], resources: AXSchedulerResource[], showUnassignedAppointments?: boolean): Map<any, AXSchedulerAppointment[]>;
|
683
1019
|
/**
|
684
1020
|
* Gets appointments for a specific resource.
|
685
1021
|
*
|
@@ -695,227 +1031,10 @@ declare class AXSchedulerService {
|
|
695
1031
|
* @param showUnassignedAppointments - Whether to include unassigned appointments.
|
696
1032
|
* @returns string[] - Array of resource IDs.
|
697
1033
|
*/
|
698
|
-
getAllResourceIds(resources: AXSchedulerResource[], showUnassignedAppointments?: boolean):
|
1034
|
+
getAllResourceIds(resources: AXSchedulerResource[], showUnassignedAppointments?: boolean): any[];
|
699
1035
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSchedulerService, never>;
|
700
1036
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXSchedulerService>;
|
701
1037
|
}
|
702
1038
|
|
703
|
-
|
704
|
-
|
705
|
-
appointments: AXSchedulerAppointmentSegment[];
|
706
|
-
holiday?: {
|
707
|
-
state: 'holiday' | 'weekend' | 'none';
|
708
|
-
holiday?: AXHolidayDate;
|
709
|
-
};
|
710
|
-
}
|
711
|
-
declare class AXSchedulerAgendaViewComponent extends NXComponent {
|
712
|
-
private document;
|
713
|
-
private scheduler;
|
714
|
-
private calendarService;
|
715
|
-
private schedulerService;
|
716
|
-
daysCount: _angular_core.InputSignal<number>;
|
717
|
-
readonly: _angular_core.InputSignal<boolean>;
|
718
|
-
draggable: _angular_core.InputSignal<boolean>;
|
719
|
-
hasActions: _angular_core.InputSignal<boolean>;
|
720
|
-
dragStartDelay: _angular_core.InputSignal<number>;
|
721
|
-
calendar: _angular_core.InputSignal<string>;
|
722
|
-
date: _angular_core.InputSignal<AXDateTime>;
|
723
|
-
appointments: _angular_core.InputSignal<AXSchedulerAppointment[]>;
|
724
|
-
tooltipTemplate: _angular_core.InputSignal<string | TemplateRef<unknown>>;
|
725
|
-
private dragStartSlotId;
|
726
|
-
protected agendaDaysLayout: _angular_core.Signal<AgendaDayData[]>;
|
727
|
-
slotClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
728
|
-
slotDblClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
729
|
-
slotRightClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
730
|
-
appointmentClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
731
|
-
appointmentDblClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
732
|
-
appointmentRightClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
733
|
-
onActionClickInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
734
|
-
onAppointmentDropInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotDropEvent>;
|
735
|
-
private readonly eventOutputMap;
|
736
|
-
protected handleAppointmentEvent(mouseEvent: MouseEvent, appointmentItem: AXSchedulerAppointment): void;
|
737
|
-
protected handleSlotEvent(mouseEvent: MouseEvent, date: AXDateTime): void;
|
738
|
-
protected handleDrop(e: AXDropZoneDropEvent, date: AXDateTime): void;
|
739
|
-
protected handleActionClick(event: MouseEvent, appointmentItem: AXSchedulerAppointment): void;
|
740
|
-
protected isToday(date: AXDateTime): boolean;
|
741
|
-
protected isHoliday(date: AXDateTime): {
|
742
|
-
state: 'holiday' | 'weekend' | 'none';
|
743
|
-
holiday?: AXHolidayDate;
|
744
|
-
};
|
745
|
-
protected getSlotId(e: PointerEvent): void;
|
746
|
-
protected get isReadonly(): boolean;
|
747
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSchedulerAgendaViewComponent, never>;
|
748
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXSchedulerAgendaViewComponent, "ax-scheduler-agenda-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; }; "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>;
|
749
|
-
}
|
750
|
-
|
751
|
-
interface TimelineMonthViewDayData {
|
752
|
-
date: AXDateTime;
|
753
|
-
visibleAppointments: AXSchedulerAppointmentSegment[];
|
754
|
-
hiddenAppointments: AXSchedulerAppointmentSegment[];
|
755
|
-
moreCount: number;
|
756
|
-
holiday?: {
|
757
|
-
state: 'holiday' | 'weekend' | 'none';
|
758
|
-
holiday?: AXHolidayDate;
|
759
|
-
};
|
760
|
-
appointmentsByResource?: Map<string, {
|
761
|
-
visible: AXSchedulerAppointmentSegment[];
|
762
|
-
hidden: AXSchedulerAppointmentSegment[];
|
763
|
-
moreCount: number;
|
764
|
-
}>;
|
765
|
-
}
|
766
|
-
declare class AXSchedulerTimelineMonthViewComponent extends NXComponent {
|
767
|
-
private document;
|
768
|
-
private scheduler;
|
769
|
-
private calendarService;
|
770
|
-
private schedulerService;
|
771
|
-
private readonly MAX_VISIBLE_APPOINTMENTS_PER_DAY;
|
772
|
-
readonly: _angular_core.InputSignal<boolean>;
|
773
|
-
draggable: _angular_core.InputSignal<boolean>;
|
774
|
-
hasActions: _angular_core.InputSignal<boolean>;
|
775
|
-
dragStartDelay: _angular_core.InputSignal<number>;
|
776
|
-
calendar: _angular_core.InputSignal<string>;
|
777
|
-
date: _angular_core.InputSignal<AXDateTime>;
|
778
|
-
resources: _angular_core.InputSignal<AXSchedulerResource[]>;
|
779
|
-
showUnassignedAppointments: _angular_core.InputSignal<boolean>;
|
780
|
-
showResourceHeaders: _angular_core.InputSignal<boolean>;
|
781
|
-
appointments: _angular_core.InputSignal<AXSchedulerAppointment[]>;
|
782
|
-
tooltipTemplate: _angular_core.InputSignal<string | TemplateRef<unknown>>;
|
783
|
-
private dragStartSlotId;
|
784
|
-
protected processedDayData: _angular_core.Signal<TimelineMonthViewDayData[]>;
|
785
|
-
slotClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
786
|
-
slotDblClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
787
|
-
slotRightClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
788
|
-
appointmentClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
789
|
-
appointmentDblClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
790
|
-
appointmentRightClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
791
|
-
onActionClickInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
792
|
-
onAppointmentDropInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotDropEvent>;
|
793
|
-
private readonly eventOutputMap;
|
794
|
-
protected handleAppointmentEvent(mouseEvent: MouseEvent, appointmentItem: AXSchedulerAppointment): void;
|
795
|
-
protected handleSlotEvent(mouseEvent: MouseEvent, date: AXDateTime): void;
|
796
|
-
protected handleDrop(e: AXDropZoneDropEvent, date: AXDateTime): void;
|
797
|
-
protected handleActionClick(event: MouseEvent, appointmentItem: AXSchedulerAppointment): void;
|
798
|
-
protected isToday(date: AXDateTime): boolean;
|
799
|
-
protected isHoliday(date: AXDateTime): {
|
800
|
-
state: 'holiday' | 'weekend' | 'none';
|
801
|
-
holiday?: AXHolidayDate;
|
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
|
-
};
|
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;
|
837
|
-
protected get isReadonly(): boolean;
|
838
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSchedulerTimelineMonthViewComponent, 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>;
|
840
|
-
}
|
841
|
-
|
842
|
-
interface TimelineMultiDayDaySlot {
|
843
|
-
date: AXDateTime;
|
844
|
-
originalAppointmentsForThisDay: AXSchedulerAppointment[];
|
845
|
-
holiday?: {
|
846
|
-
state: 'holiday' | 'weekend' | 'none';
|
847
|
-
holiday?: AXHolidayDate;
|
848
|
-
};
|
849
|
-
}
|
850
|
-
declare class AXSchedulerTimelineMultiDayViewComponent extends NXComponent {
|
851
|
-
private calendarService;
|
852
|
-
private schedulerService;
|
853
|
-
daysCount: _angular_core.InputSignal<number>;
|
854
|
-
readonly: _angular_core.InputSignal<boolean>;
|
855
|
-
draggable: _angular_core.InputSignal<boolean>;
|
856
|
-
hasActions: _angular_core.InputSignal<boolean>;
|
857
|
-
dragStartDelay: _angular_core.InputSignal<number>;
|
858
|
-
calendar: _angular_core.InputSignal<string>;
|
859
|
-
date: _angular_core.InputSignal<AXDateTime>;
|
860
|
-
endDayHour: _angular_core.InputSignal<number>;
|
861
|
-
startDayHour: _angular_core.InputSignal<number>;
|
862
|
-
resources: _angular_core.InputSignal<AXSchedulerResource[]>;
|
863
|
-
showUnassignedAppointments: _angular_core.InputSignal<boolean>;
|
864
|
-
appointments: _angular_core.InputSignal<AXSchedulerAppointment[]>;
|
865
|
-
tooltipTemplate: _angular_core.InputSignal<string | TemplateRef<unknown>>;
|
866
|
-
protected daysDataForTimelineViews: _angular_core.Signal<TimelineMultiDayDaySlot[]>;
|
867
|
-
slotClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
868
|
-
slotDblClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
869
|
-
slotRightClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
870
|
-
appointmentClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
871
|
-
appointmentDblClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
872
|
-
appointmentRightClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
873
|
-
onActionClickInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
874
|
-
onAppointmentDropInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotDropEvent>;
|
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;
|
912
|
-
protected isHoliday(date: AXDateTime): {
|
913
|
-
state: 'holiday' | 'weekend' | 'none';
|
914
|
-
holiday?: AXHolidayDate;
|
915
|
-
};
|
916
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSchedulerTimelineMultiDayViewComponent, 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>;
|
918
|
-
}
|
919
|
-
|
920
|
-
export { AXSchedulerAgendaViewComponent, AXSchedulerComponent, AXSchedulerDayViewComponent, AXSchedulerModule, AXSchedulerMonthViewComponent, AXSchedulerService, AXSchedulerTimelineDayViewComponent, AXSchedulerTimelineMonthViewComponent, AXSchedulerTimelineMultiDayViewComponent, AXSchedulerWeekViewComponent };
|
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 };
|
1039
|
+
export { AXSchedulerAgendaViewComponent, AXSchedulerComponent, AXSchedulerDayViewComponent, AXSchedulerModule, AXSchedulerMonthViewComponent, AXSchedulerService, AXSchedulerTimelineDayViewComponent, AXSchedulerTimelineMonthViewComponent, AXSchedulerTimelineMultiDayViewComponent, AXSchedulerTimelineYearViewComponent, AXSchedulerWeekViewComponent };
|
1040
|
+
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, TimelineYearViewDayData };
|