@acorex/components 20.1.35 → 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 +29 -4
- 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 +839 -63
- 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 +5 -5
- package/scheduler/index.d.ts +356 -242
- 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;
|
@@ -125,12 +125,15 @@ declare class AXSchedulerComponent extends NXComponent implements OnInit {
|
|
125
125
|
weekend: _angular_core.InputSignal<number[]>;
|
126
126
|
allowFullScreen: _angular_core.InputSignal<boolean>;
|
127
127
|
multiDayViewDaysCount: _angular_core.InputSignal<number>;
|
128
|
-
|
128
|
+
showResourceHeaders: _angular_core.InputSignal<boolean>;
|
129
|
+
showCurrentTimeIndicator: _angular_core.InputSignal<boolean>;
|
129
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>;
|
130
134
|
tooltipTemplate: _angular_core.InputSignal<string | TemplateRef<unknown>>;
|
131
135
|
dataSource: _angular_core.InputSignal<AXSchedulerAppointmentDataSource>;
|
132
136
|
holidays: _angular_core.InputSignal<(range: AXSchedulerDateRange) => Promise<AXHolidayDate[]>>;
|
133
|
-
firstDayOfWeek: _angular_core.InputSignal<AXDayOfWeekName>;
|
134
137
|
views: _angular_core.InputSignal<AXSchedulerView[]>;
|
135
138
|
selectedView: _angular_core.ModelSignal<AXSchedulerView>;
|
136
139
|
private prevView;
|
@@ -155,7 +158,7 @@ declare class AXSchedulerComponent extends NXComponent implements OnInit {
|
|
155
158
|
private fillDataSource;
|
156
159
|
private getGridDateRange;
|
157
160
|
currentDateText: _angular_core.Signal<string>;
|
158
|
-
calendarDepth: _angular_core.Signal<"day" | "month">;
|
161
|
+
calendarDepth: _angular_core.Signal<"day" | "month" | "year">;
|
159
162
|
private mappedAppointments;
|
160
163
|
range: _angular_core.Signal<AXSchedulerDateRange>;
|
161
164
|
viewAppointments: _angular_core.Signal<AXSchedulerAppointment[]>;
|
@@ -191,10 +194,10 @@ declare class AXSchedulerComponent extends NXComponent implements OnInit {
|
|
191
194
|
*/
|
192
195
|
refresh(appointments?: AXSchedulerAppointment[]): Promise<void>;
|
193
196
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSchedulerComponent, never>;
|
194
|
-
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>;
|
195
198
|
}
|
196
199
|
|
197
|
-
declare class AXSchedulerDayViewComponent extends NXComponent {
|
200
|
+
declare class AXSchedulerDayViewComponent extends NXComponent implements AfterViewInit {
|
198
201
|
private document;
|
199
202
|
private scheduler;
|
200
203
|
private calendarService;
|
@@ -208,8 +211,10 @@ declare class AXSchedulerDayViewComponent extends NXComponent {
|
|
208
211
|
date: _angular_core.InputSignal<AXDateTime>;
|
209
212
|
endDayHour: _angular_core.InputSignal<number>;
|
210
213
|
startDayHour: _angular_core.InputSignal<number>;
|
214
|
+
showCurrentTimeIndicator: _angular_core.InputSignal<boolean>;
|
211
215
|
appointments: _angular_core.InputSignal<AXSchedulerAppointment[]>;
|
212
216
|
tooltipTemplate: _angular_core.InputSignal<string | TemplateRef<unknown>>;
|
217
|
+
currentTimeLineElement: _angular_core.Signal<ElementRef<HTMLElement>>;
|
213
218
|
private dragStartSlotId;
|
214
219
|
private processedAppointmentsForLayout;
|
215
220
|
protected allDayAppointments: _angular_core.Signal<AXSchedulerAppointment[]>;
|
@@ -236,16 +241,20 @@ declare class AXSchedulerDayViewComponent extends NXComponent {
|
|
236
241
|
protected getAppointmentWidth(key: any): string;
|
237
242
|
protected getAppointmentTop(key: any): string;
|
238
243
|
protected getAppointmentHeight(key: any): string;
|
244
|
+
protected getCurrentTimePosition(): number | null;
|
245
|
+
protected getCurrentTimePositionWithOffset(): string | null;
|
246
|
+
ngAfterViewInit(): void;
|
247
|
+
private setupCurrentTimeScroll;
|
239
248
|
protected getSlotId(e: PointerEvent): void;
|
240
249
|
protected get isReadonly(): boolean;
|
241
250
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSchedulerDayViewComponent, never>;
|
242
|
-
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>;
|
243
252
|
}
|
244
253
|
|
245
254
|
type AXSchedulerGridBadgeInfo = AXSchedulerOverflowBadge & {
|
246
255
|
hiddenAppointments: AXSchedulerAppointmentSegment[];
|
247
256
|
};
|
248
|
-
declare class AXSchedulerWeekViewComponent extends NXComponent {
|
257
|
+
declare class AXSchedulerWeekViewComponent extends NXComponent implements AfterViewInit {
|
249
258
|
private readonly document;
|
250
259
|
private readonly scheduler;
|
251
260
|
private readonly calendarService;
|
@@ -261,8 +270,10 @@ declare class AXSchedulerWeekViewComponent extends NXComponent {
|
|
261
270
|
date: _angular_core.InputSignal<AXDateTime>;
|
262
271
|
endDayHour: _angular_core.InputSignal<number>;
|
263
272
|
startDayHour: _angular_core.InputSignal<number>;
|
273
|
+
showCurrentTimeIndicator: _angular_core.InputSignal<boolean>;
|
264
274
|
appointments: _angular_core.InputSignal<AXSchedulerAppointment[]>;
|
265
275
|
tooltipTemplate: _angular_core.InputSignal<string | TemplateRef<unknown>>;
|
276
|
+
currentTimeLineElement: _angular_core.Signal<ElementRef<HTMLElement>>;
|
266
277
|
protected readonly slotClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
267
278
|
protected readonly slotDblClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
268
279
|
protected readonly slotRightClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
@@ -385,11 +396,18 @@ declare class AXSchedulerWeekViewComponent extends NXComponent {
|
|
385
396
|
* @param e The pointer event that initiates the drag.
|
386
397
|
*/
|
387
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;
|
388
406
|
protected get isReadonly(): boolean;
|
389
407
|
private processedAppointmentsForLayout;
|
390
408
|
private timedGridSegments;
|
391
409
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSchedulerWeekViewComponent, never>;
|
392
|
-
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>;
|
393
411
|
}
|
394
412
|
|
395
413
|
type AXSchedulerMonthDayCell = {
|
@@ -446,7 +464,55 @@ declare class AXSchedulerMonthViewComponent extends NXComponent {
|
|
446
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>;
|
447
465
|
}
|
448
466
|
|
449
|
-
|
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 {
|
450
516
|
private document;
|
451
517
|
private scheduler;
|
452
518
|
private calendarService;
|
@@ -457,24 +523,27 @@ declare class AXSchedulerTimelineDayViewComponent extends NXComponent {
|
|
457
523
|
hasActions: _angular_core.InputSignal<boolean>;
|
458
524
|
dragStartDelay: _angular_core.InputSignal<number>;
|
459
525
|
calendar: _angular_core.InputSignal<string>;
|
526
|
+
showResourceHeaders: _angular_core.InputSignal<boolean>;
|
460
527
|
date: _angular_core.InputSignal<AXDateTime>;
|
461
528
|
endDayHour: _angular_core.InputSignal<number>;
|
462
529
|
startDayHour: _angular_core.InputSignal<number>;
|
463
|
-
resources: _angular_core.InputSignal<AXSchedulerResource[]>;
|
464
530
|
showUnassignedAppointments: _angular_core.InputSignal<boolean>;
|
465
|
-
|
531
|
+
resources: _angular_core.InputSignal<AXSchedulerResource[]>;
|
532
|
+
showCurrentTimeIndicator: _angular_core.InputSignal<boolean>;
|
533
|
+
resourceTemplate: _angular_core.InputSignal<TemplateRef<unknown>>;
|
466
534
|
appointments: _angular_core.InputSignal<AXSchedulerAppointment[]>;
|
467
535
|
tooltipTemplate: _angular_core.InputSignal<string | TemplateRef<unknown>>;
|
468
536
|
private dragStartSlotId;
|
469
537
|
private dragStartSlotResourceId;
|
538
|
+
currentTimeLineElement: _angular_core.Signal<ElementRef<HTMLElement>>;
|
470
539
|
/**
|
471
540
|
* Gets appointments grouped by resources for timeline view.
|
472
541
|
*/
|
473
|
-
protected appointmentsByResource: _angular_core.Signal<Map<
|
542
|
+
protected appointmentsByResource: _angular_core.Signal<Map<any, AXSchedulerAppointment[]>>;
|
474
543
|
/**
|
475
544
|
* Gets all resource IDs including unassigned if applicable.
|
476
545
|
*/
|
477
|
-
protected resourceIds: _angular_core.Signal<
|
546
|
+
protected resourceIds: _angular_core.Signal<any[]>;
|
478
547
|
/**
|
479
548
|
* Processes original appointments to get segments relevant to this specific day and its viewable hours.
|
480
549
|
* Filters out original all-day events.
|
@@ -503,6 +572,11 @@ declare class AXSchedulerTimelineDayViewComponent extends NXComponent {
|
|
503
572
|
* Gets resource title by ID.
|
504
573
|
*/
|
505
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;
|
506
580
|
/**
|
507
581
|
* Gets appointment layouts for a specific resource with proper positioning.
|
508
582
|
*/
|
@@ -518,12 +592,272 @@ declare class AXSchedulerTimelineDayViewComponent extends NXComponent {
|
|
518
592
|
protected getSlotId(e: PointerEvent): void;
|
519
593
|
protected get isReadonly(): boolean;
|
520
594
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSchedulerTimelineDayViewComponent, never>;
|
521
|
-
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>;
|
522
856
|
}
|
523
857
|
|
524
858
|
declare class AXSchedulerModule {
|
525
859
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSchedulerModule, never>;
|
526
|
-
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]>;
|
527
861
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXSchedulerModule>;
|
528
862
|
}
|
529
863
|
|
@@ -679,9 +1013,9 @@ declare class AXSchedulerService {
|
|
679
1013
|
* @param appointments - Array of appointments to filter.
|
680
1014
|
* @param resources - Array of resources.
|
681
1015
|
* @param showUnassignedAppointments - Whether to show appointments without resources.
|
682
|
-
* @returns Map<
|
1016
|
+
* @returns Map<any, AXSchedulerAppointment[]> - Appointments grouped by resource ID.
|
683
1017
|
*/
|
684
|
-
filterAppointmentsByResources(appointments: AXSchedulerAppointment[], resources: AXSchedulerResource[], showUnassignedAppointments?: boolean): Map<
|
1018
|
+
filterAppointmentsByResources(appointments: AXSchedulerAppointment[], resources: AXSchedulerResource[], showUnassignedAppointments?: boolean): Map<any, AXSchedulerAppointment[]>;
|
685
1019
|
/**
|
686
1020
|
* Gets appointments for a specific resource.
|
687
1021
|
*
|
@@ -697,230 +1031,10 @@ declare class AXSchedulerService {
|
|
697
1031
|
* @param showUnassignedAppointments - Whether to include unassigned appointments.
|
698
1032
|
* @returns string[] - Array of resource IDs.
|
699
1033
|
*/
|
700
|
-
getAllResourceIds(resources: AXSchedulerResource[], showUnassignedAppointments?: boolean):
|
1034
|
+
getAllResourceIds(resources: AXSchedulerResource[], showUnassignedAppointments?: boolean): any[];
|
701
1035
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSchedulerService, never>;
|
702
1036
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXSchedulerService>;
|
703
1037
|
}
|
704
1038
|
|
705
|
-
|
706
|
-
|
707
|
-
appointments: AXSchedulerAppointmentSegment[];
|
708
|
-
holiday?: {
|
709
|
-
state: 'holiday' | 'weekend' | 'none';
|
710
|
-
holiday?: AXHolidayDate;
|
711
|
-
};
|
712
|
-
}
|
713
|
-
declare class AXSchedulerAgendaViewComponent extends NXComponent {
|
714
|
-
private document;
|
715
|
-
private scheduler;
|
716
|
-
private calendarService;
|
717
|
-
private schedulerService;
|
718
|
-
daysCount: _angular_core.InputSignal<number>;
|
719
|
-
readonly: _angular_core.InputSignal<boolean>;
|
720
|
-
draggable: _angular_core.InputSignal<boolean>;
|
721
|
-
hasActions: _angular_core.InputSignal<boolean>;
|
722
|
-
dragStartDelay: _angular_core.InputSignal<number>;
|
723
|
-
calendar: _angular_core.InputSignal<string>;
|
724
|
-
date: _angular_core.InputSignal<AXDateTime>;
|
725
|
-
appointments: _angular_core.InputSignal<AXSchedulerAppointment[]>;
|
726
|
-
tooltipTemplate: _angular_core.InputSignal<string | TemplateRef<unknown>>;
|
727
|
-
private dragStartSlotId;
|
728
|
-
protected agendaDaysLayout: _angular_core.Signal<AgendaDayData[]>;
|
729
|
-
slotClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
730
|
-
slotDblClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
731
|
-
slotRightClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
732
|
-
appointmentClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
733
|
-
appointmentDblClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
734
|
-
appointmentRightClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
735
|
-
onActionClickInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
736
|
-
onAppointmentDropInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotDropEvent>;
|
737
|
-
private readonly eventOutputMap;
|
738
|
-
protected handleAppointmentEvent(mouseEvent: MouseEvent, appointmentItem: AXSchedulerAppointment): void;
|
739
|
-
protected handleSlotEvent(mouseEvent: MouseEvent, date: AXDateTime): void;
|
740
|
-
protected handleDrop(e: AXDropZoneDropEvent, date: AXDateTime): void;
|
741
|
-
protected handleActionClick(event: MouseEvent, appointmentItem: AXSchedulerAppointment): void;
|
742
|
-
protected isToday(date: AXDateTime): boolean;
|
743
|
-
protected isHoliday(date: AXDateTime): {
|
744
|
-
state: 'holiday' | 'weekend' | 'none';
|
745
|
-
holiday?: AXHolidayDate;
|
746
|
-
};
|
747
|
-
protected getSlotId(e: PointerEvent): void;
|
748
|
-
protected get isReadonly(): boolean;
|
749
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSchedulerAgendaViewComponent, never>;
|
750
|
-
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>;
|
751
|
-
}
|
752
|
-
|
753
|
-
interface TimelineMonthViewDayData {
|
754
|
-
date: AXDateTime;
|
755
|
-
visibleAppointments: AXSchedulerAppointmentSegment[];
|
756
|
-
hiddenAppointments: AXSchedulerAppointmentSegment[];
|
757
|
-
moreCount: number;
|
758
|
-
holiday?: {
|
759
|
-
state: 'holiday' | 'weekend' | 'none';
|
760
|
-
holiday?: AXHolidayDate;
|
761
|
-
};
|
762
|
-
appointmentsByResource?: Map<string, {
|
763
|
-
visible: AXSchedulerAppointmentSegment[];
|
764
|
-
hidden: AXSchedulerAppointmentSegment[];
|
765
|
-
moreCount: number;
|
766
|
-
}>;
|
767
|
-
}
|
768
|
-
declare class AXSchedulerTimelineMonthViewComponent extends NXComponent {
|
769
|
-
private document;
|
770
|
-
private scheduler;
|
771
|
-
private calendarService;
|
772
|
-
private schedulerService;
|
773
|
-
private readonly MAX_VISIBLE_APPOINTMENTS_PER_DAY;
|
774
|
-
readonly: _angular_core.InputSignal<boolean>;
|
775
|
-
draggable: _angular_core.InputSignal<boolean>;
|
776
|
-
hasActions: _angular_core.InputSignal<boolean>;
|
777
|
-
dragStartDelay: _angular_core.InputSignal<number>;
|
778
|
-
calendar: _angular_core.InputSignal<string>;
|
779
|
-
date: _angular_core.InputSignal<AXDateTime>;
|
780
|
-
resources: _angular_core.InputSignal<AXSchedulerResource[]>;
|
781
|
-
showUnassignedAppointments: _angular_core.InputSignal<boolean>;
|
782
|
-
showResourceHeaders: _angular_core.InputSignal<boolean>;
|
783
|
-
appointments: _angular_core.InputSignal<AXSchedulerAppointment[]>;
|
784
|
-
tooltipTemplate: _angular_core.InputSignal<string | TemplateRef<unknown>>;
|
785
|
-
private dragStartSlotId;
|
786
|
-
private dragStartSlotResourceId;
|
787
|
-
protected processedDayData: _angular_core.Signal<TimelineMonthViewDayData[]>;
|
788
|
-
slotClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
789
|
-
slotDblClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
790
|
-
slotRightClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
791
|
-
appointmentClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
792
|
-
appointmentDblClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
793
|
-
appointmentRightClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
794
|
-
onActionClickInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
795
|
-
onAppointmentDropInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotDropEvent>;
|
796
|
-
private readonly eventOutputMap;
|
797
|
-
protected handleAppointmentEvent(mouseEvent: MouseEvent, appointmentItem: AXSchedulerAppointment): void;
|
798
|
-
protected handleSlotEvent(mouseEvent: MouseEvent, date: AXDateTime): void;
|
799
|
-
protected handleDrop(e: AXDropZoneDropEvent, date: AXDateTime, resourceId?: any): void;
|
800
|
-
protected handleActionClick(event: MouseEvent, appointmentItem: AXSchedulerAppointment): void;
|
801
|
-
protected isToday(date: AXDateTime): boolean;
|
802
|
-
protected isHoliday(date: AXDateTime): {
|
803
|
-
state: 'holiday' | 'weekend' | 'none';
|
804
|
-
holiday?: AXHolidayDate;
|
805
|
-
};
|
806
|
-
/**
|
807
|
-
* Gets appointments grouped by resources for timeline view.
|
808
|
-
*/
|
809
|
-
protected appointmentsByResource: _angular_core.Signal<Map<string, AXSchedulerAppointment[]>>;
|
810
|
-
/**
|
811
|
-
* Gets all resource IDs including unassigned if applicable.
|
812
|
-
*/
|
813
|
-
protected resourceIds: _angular_core.Signal<string[]>;
|
814
|
-
/**
|
815
|
-
* Gets appointments for a specific resource.
|
816
|
-
*/
|
817
|
-
protected getAppointmentsForResource(resourceId: any): AXSchedulerAppointment[];
|
818
|
-
/**
|
819
|
-
* Gets resource title by ID.
|
820
|
-
*/
|
821
|
-
protected getResourceTitle(resourceId: any): string;
|
822
|
-
/**
|
823
|
-
* Gets appointments for a specific resource and day.
|
824
|
-
*/
|
825
|
-
protected getAppointmentsForResourceAndDay(resourceId: any, dayData: TimelineMonthViewDayData): {
|
826
|
-
visible: AXSchedulerAppointmentSegment[];
|
827
|
-
hidden: AXSchedulerAppointmentSegment[];
|
828
|
-
moreCount: number;
|
829
|
-
};
|
830
|
-
protected getSlotId(e: PointerEvent): void;
|
831
|
-
/**
|
832
|
-
* Gets the height for a specific resource row based on appointments.
|
833
|
-
*/
|
834
|
-
protected getResourceRowHeight(resourceId: any): string;
|
835
|
-
/**
|
836
|
-
* Calculates the maximum number of overlapping appointment rows needed.
|
837
|
-
* This is a simplified version for timeline month view.
|
838
|
-
*/
|
839
|
-
protected calculateMaxOverlappingRows(appointments: AXSchedulerAppointmentSegment[]): number;
|
840
|
-
protected get isReadonly(): boolean;
|
841
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSchedulerTimelineMonthViewComponent, never>;
|
842
|
-
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>;
|
843
|
-
}
|
844
|
-
|
845
|
-
interface TimelineMultiDayDaySlot {
|
846
|
-
date: AXDateTime;
|
847
|
-
originalAppointmentsForThisDay: AXSchedulerAppointment[];
|
848
|
-
holiday?: {
|
849
|
-
state: 'holiday' | 'weekend' | 'none';
|
850
|
-
holiday?: AXHolidayDate;
|
851
|
-
};
|
852
|
-
}
|
853
|
-
declare class AXSchedulerTimelineMultiDayViewComponent extends NXComponent {
|
854
|
-
private calendarService;
|
855
|
-
private schedulerService;
|
856
|
-
daysCount: _angular_core.InputSignal<number>;
|
857
|
-
readonly: _angular_core.InputSignal<boolean>;
|
858
|
-
draggable: _angular_core.InputSignal<boolean>;
|
859
|
-
hasActions: _angular_core.InputSignal<boolean>;
|
860
|
-
dragStartDelay: _angular_core.InputSignal<number>;
|
861
|
-
calendar: _angular_core.InputSignal<string>;
|
862
|
-
date: _angular_core.InputSignal<AXDateTime>;
|
863
|
-
endDayHour: _angular_core.InputSignal<number>;
|
864
|
-
startDayHour: _angular_core.InputSignal<number>;
|
865
|
-
resources: _angular_core.InputSignal<AXSchedulerResource[]>;
|
866
|
-
showUnassignedAppointments: _angular_core.InputSignal<boolean>;
|
867
|
-
appointments: _angular_core.InputSignal<AXSchedulerAppointment[]>;
|
868
|
-
tooltipTemplate: _angular_core.InputSignal<string | TemplateRef<unknown>>;
|
869
|
-
protected daysDataForTimelineViews: _angular_core.Signal<TimelineMultiDayDaySlot[]>;
|
870
|
-
slotClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
871
|
-
slotDblClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
872
|
-
slotRightClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
873
|
-
appointmentClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
874
|
-
appointmentDblClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
875
|
-
appointmentRightClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
876
|
-
onActionClickInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
877
|
-
onAppointmentDropInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotDropEvent>;
|
878
|
-
protected handleDrop(event: AXSchedulerSlotDropEvent, resourceId: any): void;
|
879
|
-
protected isToday(date: AXDateTime): boolean;
|
880
|
-
/**
|
881
|
-
* Gets appointments grouped by resources for timeline view.
|
882
|
-
*/
|
883
|
-
protected appointmentsByResource: _angular_core.Signal<Map<string, AXSchedulerAppointment[]>>;
|
884
|
-
/**
|
885
|
-
* Gets all resource IDs including unassigned if applicable.
|
886
|
-
*/
|
887
|
-
protected resourceIds: _angular_core.Signal<string[]>;
|
888
|
-
/**
|
889
|
-
* Gets appointments for a specific resource.
|
890
|
-
*/
|
891
|
-
protected getAppointmentsForResource(resourceId: any): AXSchedulerAppointment[];
|
892
|
-
/**
|
893
|
-
* Gets resource title by ID.
|
894
|
-
*/
|
895
|
-
protected getResourceTitle(resourceId: any): string;
|
896
|
-
/**
|
897
|
-
* Gets appointments for a specific resource and day.
|
898
|
-
*/
|
899
|
-
protected getAppointmentsForResourceAndDay(resourceId: any, dayAppointments: AXSchedulerAppointment[]): AXSchedulerAppointment[];
|
900
|
-
/**
|
901
|
-
* Gets the height for a specific resource across all days.
|
902
|
-
*/
|
903
|
-
protected getResourceRowHeight(resourceId: any): string;
|
904
|
-
/**
|
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.
|
907
|
-
*/
|
908
|
-
private calculateMaxOverlappingRowsForAppointments;
|
909
|
-
/**
|
910
|
-
* Gets the hours array for time slots display.
|
911
|
-
*/
|
912
|
-
protected getHoursArray(): AXDateTime[];
|
913
|
-
/**
|
914
|
-
* Gets the number of hours for CSS calculations.
|
915
|
-
*/
|
916
|
-
protected getHoursCount(): number;
|
917
|
-
protected isHoliday(date: AXDateTime): {
|
918
|
-
state: 'holiday' | 'weekend' | 'none';
|
919
|
-
holiday?: AXHolidayDate;
|
920
|
-
};
|
921
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSchedulerTimelineMultiDayViewComponent, never>;
|
922
|
-
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>;
|
923
|
-
}
|
924
|
-
|
925
|
-
export { AXSchedulerAgendaViewComponent, AXSchedulerComponent, AXSchedulerDayViewComponent, AXSchedulerModule, AXSchedulerMonthViewComponent, AXSchedulerService, AXSchedulerTimelineDayViewComponent, AXSchedulerTimelineMonthViewComponent, AXSchedulerTimelineMultiDayViewComponent, AXSchedulerWeekViewComponent };
|
926
|
-
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 };
|