@acorex/components 20.1.9 → 20.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/acorex-components-conversation.mjs +1 -1
- package/fesm2022/acorex-components-conversation.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown-button.mjs +2 -2
- package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown.mjs +2 -2
- package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
- package/fesm2022/acorex-components-image-editor.mjs +5 -5
- package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-kanban.mjs +10 -3
- package/fesm2022/acorex-components-kanban.mjs.map +1 -1
- package/fesm2022/acorex-components-paint.mjs +1 -1
- package/fesm2022/acorex-components-paint.mjs.map +1 -1
- package/fesm2022/acorex-components-popover.mjs +21 -3
- package/fesm2022/acorex-components-popover.mjs.map +1 -1
- package/fesm2022/acorex-components-scheduler.mjs +393 -344
- package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
- package/fesm2022/acorex-components-toolbar.mjs +2 -2
- package/fesm2022/acorex-components-toolbar.mjs.map +1 -1
- package/fesm2022/acorex-components-tooltip.mjs +18 -6
- package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
- package/fesm2022/acorex-components-tree-view.mjs +1 -1
- package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
- package/fesm2022/acorex-components-wysiwyg.mjs +3 -3
- package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
- package/kanban/index.d.ts +9 -2
- package/package.json +9 -9
- package/popover/index.d.ts +9 -1
- package/scheduler/index.d.ts +155 -70
- package/tooltip/index.d.ts +4 -2
package/scheduler/index.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
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 } from '@angular/core';
|
4
|
+
import { OnInit, TemplateRef } from '@angular/core';
|
5
5
|
import { AXDropZoneDropEvent } from '@acorex/cdk/drag-drop';
|
6
6
|
|
7
7
|
type AXSchedulerView = 'day' | 'week' | 'month' | 'timeline-day' | 'timeline-multi-day' | 'timeline-month' | 'agenda';
|
@@ -82,6 +82,7 @@ interface AXSchedulerSlotDropEvent extends NXEvent<AXSchedulerComponent> {
|
|
82
82
|
startDate: AXDateTime;
|
83
83
|
view: AXSchedulerView;
|
84
84
|
};
|
85
|
+
isSameSlotDrop: boolean;
|
85
86
|
}
|
86
87
|
declare class AXSchedulerComponent extends NXComponent implements OnInit {
|
87
88
|
#private;
|
@@ -117,6 +118,7 @@ declare class AXSchedulerComponent extends NXComponent implements OnInit {
|
|
117
118
|
dragStartDelay: _angular_core.InputSignal<number>;
|
118
119
|
allowFullScreen: _angular_core.InputSignal<boolean>;
|
119
120
|
multiDayViewDaysCount: _angular_core.InputSignal<number>;
|
121
|
+
tooltipTemplate: _angular_core.InputSignal<string | TemplateRef<unknown>>;
|
120
122
|
dataSource: _angular_core.InputSignal<AXSchedulerAppointmentDataSource>;
|
121
123
|
firstDayOfWeek: _angular_core.InputSignal<AXDayOfWeekName>;
|
122
124
|
views: _angular_core.InputSignal<AXSchedulerView[]>;
|
@@ -128,9 +130,7 @@ declare class AXSchedulerComponent extends NXComponent implements OnInit {
|
|
128
130
|
onSlotDblClicked: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
129
131
|
onSlotRightClick: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
130
132
|
onAppointmentDrop: _angular_core.OutputEmitterRef<AXSchedulerSlotDropEvent>;
|
131
|
-
onActionClick: _angular_core.OutputEmitterRef<
|
132
|
-
appointment: AXSchedulerAppointment;
|
133
|
-
}>;
|
133
|
+
onActionClick: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
134
134
|
onAppointmentClicked: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
135
135
|
onAppointmentDblClicked: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
136
136
|
onAppointmentRightClick: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
@@ -157,10 +157,11 @@ declare class AXSchedulerComponent extends NXComponent implements OnInit {
|
|
157
157
|
handleFullScreen(): void;
|
158
158
|
refresh(appointments?: AXSchedulerAppointment[]): Promise<void>;
|
159
159
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSchedulerComponent, never>;
|
160
|
-
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; }; "allowFullScreen": { "alias": "allowFullScreen"; "required": false; "isSignal": true; }; "multiDayViewDaysCount": { "alias": "multiDayViewDaysCount"; "required": false; "isSignal": true; }; "dataSource": { "alias": "dataSource"; "required": false; "isSignal": true; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; "isSignal": true; }; "views": { "alias": "views"; "required": false; "isSignal": true; }; "selectedView": { "alias": "selectedView"; "required": false; "isSignal": true; }; }, { "selectedView": "selectedViewChange"; "onDataLoaded": "onDataLoaded"; "onRangeChanged": "onRangeChanged"; "onSlotClicked": "onSlotClicked"; "onSlotDblClicked": "onSlotDblClicked"; "onSlotRightClick": "onSlotRightClick"; "onAppointmentDrop": "onAppointmentDrop"; "onActionClick": "onActionClick"; "onAppointmentClicked": "onAppointmentClicked"; "onAppointmentDblClicked": "onAppointmentDblClicked"; "onAppointmentRightClick": "onAppointmentRightClick"; }, never, never, true, never>;
|
160
|
+
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; }; "allowFullScreen": { "alias": "allowFullScreen"; "required": false; "isSignal": true; }; "multiDayViewDaysCount": { "alias": "multiDayViewDaysCount"; "required": false; "isSignal": true; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; "isSignal": true; }; "dataSource": { "alias": "dataSource"; "required": false; "isSignal": true; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; "isSignal": true; }; "views": { "alias": "views"; "required": false; "isSignal": true; }; "selectedView": { "alias": "selectedView"; "required": false; "isSignal": true; }; }, { "selectedView": "selectedViewChange"; "onDataLoaded": "onDataLoaded"; "onRangeChanged": "onRangeChanged"; "onSlotClicked": "onSlotClicked"; "onSlotDblClicked": "onSlotDblClicked"; "onSlotRightClick": "onSlotRightClick"; "onAppointmentDrop": "onAppointmentDrop"; "onActionClick": "onActionClick"; "onAppointmentClicked": "onAppointmentClicked"; "onAppointmentDblClicked": "onAppointmentDblClicked"; "onAppointmentRightClick": "onAppointmentRightClick"; }, never, never, true, never>;
|
161
161
|
}
|
162
162
|
|
163
163
|
declare class AXSchedulerDayViewComponent extends NXComponent {
|
164
|
+
private document;
|
164
165
|
private scheduler;
|
165
166
|
private calendarService;
|
166
167
|
private schedulerService;
|
@@ -174,6 +175,8 @@ declare class AXSchedulerDayViewComponent extends NXComponent {
|
|
174
175
|
endDayHour: _angular_core.InputSignal<number>;
|
175
176
|
startDayHour: _angular_core.InputSignal<number>;
|
176
177
|
appointments: _angular_core.InputSignal<AXSchedulerAppointment[]>;
|
178
|
+
tooltipTemplate: _angular_core.InputSignal<string | TemplateRef<unknown>>;
|
179
|
+
private dragStartSlotId;
|
177
180
|
processedAppointmentsForLayout: _angular_core.Signal<AXSchedulerAppointmentSegment[]>;
|
178
181
|
allDayAppointments: _angular_core.Signal<AXSchedulerAppointment[]>;
|
179
182
|
singleDayAppointments: _angular_core.Signal<AXSchedulerAppointmentSegment[]>;
|
@@ -183,10 +186,8 @@ declare class AXSchedulerDayViewComponent extends NXComponent {
|
|
183
186
|
appointmentClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
184
187
|
appointmentDblClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
185
188
|
appointmentRightClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
189
|
+
onActionClickInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
186
190
|
onAppointmentDropInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotDropEvent>;
|
187
|
-
onActionClickInternal: _angular_core.OutputEmitterRef<{
|
188
|
-
appointment: AXSchedulerAppointment;
|
189
|
-
}>;
|
190
191
|
private readonly eventOutputMap;
|
191
192
|
handleAppointmentEvent(mouseEvent: MouseEvent, appointment: AXSchedulerAppointment): void;
|
192
193
|
handleSingleSlotEvent(mouseEvent: MouseEvent, startDate: AXDateTime): void;
|
@@ -201,19 +202,23 @@ declare class AXSchedulerDayViewComponent extends NXComponent {
|
|
201
202
|
getAppointmentWidth(key: any): string;
|
202
203
|
getAppointmentTop(key: any): string;
|
203
204
|
getAppointmentHeight(key: any): string;
|
205
|
+
getSlotId(e: PointerEvent): void;
|
204
206
|
get isReadonly(): boolean;
|
205
207
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSchedulerDayViewComponent, never>;
|
206
|
-
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; }; }, { "slotClickedInternal": "slotClickedInternal"; "slotDblClickedInternal": "slotDblClickedInternal"; "slotRightClickedInternal": "slotRightClickedInternal"; "appointmentClickedInternal": "appointmentClickedInternal"; "appointmentDblClickedInternal": "appointmentDblClickedInternal"; "appointmentRightClickedInternal": "appointmentRightClickedInternal"; "
|
208
|
+
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>;
|
207
209
|
}
|
208
210
|
|
209
211
|
type AXSchedulerGridBadgeInfo = AXSchedulerOverflowBadge & {
|
210
212
|
hiddenAppointments: AXSchedulerAppointmentSegment[];
|
211
213
|
};
|
212
214
|
declare class AXSchedulerWeekViewComponent extends NXComponent {
|
213
|
-
private
|
214
|
-
private
|
215
|
-
private
|
216
|
-
readonly
|
215
|
+
private readonly document;
|
216
|
+
private readonly scheduler;
|
217
|
+
private readonly calendarService;
|
218
|
+
private readonly schedulerService;
|
219
|
+
private readonly dragStartSlotId;
|
220
|
+
private readonly GAP_PX;
|
221
|
+
private readonly BADGE_SPACE_REM;
|
217
222
|
readonly: _angular_core.InputSignal<boolean>;
|
218
223
|
draggable: _angular_core.InputSignal<boolean>;
|
219
224
|
hasActions: _angular_core.InputSignal<boolean>;
|
@@ -223,61 +228,134 @@ declare class AXSchedulerWeekViewComponent extends NXComponent {
|
|
223
228
|
endDayHour: _angular_core.InputSignal<number>;
|
224
229
|
startDayHour: _angular_core.InputSignal<number>;
|
225
230
|
appointments: _angular_core.InputSignal<AXSchedulerAppointment[]>;
|
231
|
+
tooltipTemplate: _angular_core.InputSignal<string | TemplateRef<unknown>>;
|
232
|
+
protected readonly slotClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
233
|
+
protected readonly slotDblClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
234
|
+
protected readonly slotRightClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
235
|
+
protected readonly appointmentClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
236
|
+
protected readonly appointmentDblClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
237
|
+
protected readonly appointmentRightClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
238
|
+
protected readonly onActionClickInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
239
|
+
protected readonly onAppointmentDropInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotDropEvent>;
|
226
240
|
/**
|
227
|
-
*
|
228
|
-
*
|
229
|
-
*
|
241
|
+
* @protected
|
242
|
+
* Generates an array of AXDateTime objects for the hours displayed in the view's time ruler.
|
243
|
+
* This is used for rendering the `HH:mm` labels on the side.
|
230
244
|
*/
|
231
|
-
|
245
|
+
protected hoursArray: _angular_core.Signal<AXDateTime[]>;
|
232
246
|
/**
|
233
|
-
*
|
234
|
-
*
|
247
|
+
* @protected
|
248
|
+
* Generates an array of day data objects for the 7 days in the view, including holiday info.
|
249
|
+
* This is used for rendering the day headers (e.g., "Monday 10").
|
235
250
|
*/
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
251
|
+
protected daysArray: _angular_core.Signal<{
|
252
|
+
date: AXDateTime;
|
253
|
+
holiday?: {
|
254
|
+
state: "holiday" | "weekend" | "none";
|
255
|
+
holiday?: AXHolidayDate;
|
256
|
+
};
|
257
|
+
}[]>;
|
258
|
+
/**
|
259
|
+
* @protected
|
260
|
+
* Calculates the total number of 30-minute blocks within the visible hours of a single day.
|
261
|
+
*/
|
262
|
+
protected totalBlocksPerViewDay: _angular_core.Signal<number>;
|
263
|
+
/**
|
264
|
+
* @protected
|
265
|
+
* Filters processed segments to get only those for the all-day header.
|
266
|
+
*/
|
267
|
+
protected allDayAppointmentsPerDay: _angular_core.Signal<AXSchedulerAllDaySlotData[]>;
|
268
|
+
/**
|
269
|
+
* [STEP 1 - Private] Calculate a full multi-column layout for each day, as if it were a Day View.
|
270
|
+
* This becomes the single source of truth for what overlaps with what.
|
271
|
+
*/
|
272
|
+
private dayViewLayoutsByDay;
|
273
|
+
/**
|
274
|
+
* @protected
|
275
|
+
* [STEP 2] From the full layout, select ONLY appointments in the first column (`columnIndex: 0`)
|
276
|
+
* to be visible. Calculate their width based on whether they have siblings in other columns.
|
277
|
+
*/
|
278
|
+
protected visibleAppointmentsLayout: _angular_core.Signal<AXSchedulerAppointmentLayout[]>;
|
279
|
+
/**
|
280
|
+
* @protected
|
281
|
+
* [STEP 3] Create badges for all appointments NOT in the first column (`columnIndex > 0`).
|
282
|
+
*/
|
283
|
+
protected overflowBadgesWithData: _angular_core.Signal<AXSchedulerGridBadgeInfo[]>;
|
247
284
|
private readonly eventOutputMap;
|
285
|
+
/**
|
286
|
+
* Handles click, dblclick, and contextmenu events on an appointment and emits them to the parent.
|
287
|
+
* @param mouseEvent The native DOM event.
|
288
|
+
* @param appointmentSegment The appointment data segment that was interacted with.
|
289
|
+
* @public
|
290
|
+
*/
|
248
291
|
handleAppointmentEvent(mouseEvent: MouseEvent, appointmentSegment: AXSchedulerAppointment): void;
|
292
|
+
/**
|
293
|
+
* Handles click, dblclick, and contextmenu events on an empty time slot and emits them to the parent.
|
294
|
+
* @param mouseEvent The native DOM event.
|
295
|
+
* @param hour The starting hour of the slot.
|
296
|
+
* @param day The day of the slot.
|
297
|
+
* @param minuteIndex The half-hour index (0 or 1).
|
298
|
+
* @public
|
299
|
+
*/
|
249
300
|
handleSingleSlotEvent(mouseEvent: MouseEvent, hour: AXDateTime, day: AXDateTime, minuteIndex: number): void;
|
301
|
+
/**
|
302
|
+
* Handles interaction events on the all-day slot.
|
303
|
+
* @param mouseEvent The native DOM event.
|
304
|
+
* @param day The corresponding day for the all-day slot.
|
305
|
+
* @public
|
306
|
+
*/
|
250
307
|
handleAllDaySlotEvent(mouseEvent: MouseEvent, day: AXDateTime): void;
|
308
|
+
/**
|
309
|
+
* Handles dropping an appointment onto the all-day slot.
|
310
|
+
* @param e The drop event from the CDK.
|
311
|
+
* @param day The corresponding day for the all-day slot.
|
312
|
+
* @public
|
313
|
+
*/
|
251
314
|
handleAllDayDrop(e: AXDropZoneDropEvent, day: AXDateTime): void;
|
315
|
+
/**
|
316
|
+
* Handles dropping an appointment onto a timed grid slot.
|
317
|
+
* @param e The drop event from the CDK.
|
318
|
+
* @param hour The starting hour of the drop target.
|
319
|
+
* @param day The day of the drop target.
|
320
|
+
* @param minuteIndex The half-hour index (0 or 1) of the drop target.
|
321
|
+
* @public
|
322
|
+
*/
|
252
323
|
handleSingleDayDrop(e: AXDropZoneDropEvent, hour: AXDateTime, day: AXDateTime, minuteIndex: number): void;
|
324
|
+
/**
|
325
|
+
* Handles clicks on the "more" action icon on an appointment.
|
326
|
+
* @param event The native mouse event.
|
327
|
+
* @param appointmentItem The appointment associated with the action.
|
328
|
+
* @public
|
329
|
+
*/
|
253
330
|
handleActionClick(event: MouseEvent, appointmentItem: AXSchedulerAppointment): void;
|
254
|
-
hoursArray: _angular_core.Signal<AXDateTime[]>;
|
255
|
-
daysArray: _angular_core.Signal<{
|
256
|
-
date: AXDateTime;
|
257
|
-
holiday?: {
|
258
|
-
state: "holiday" | "weekend" | "none";
|
259
|
-
holiday?: AXHolidayDate;
|
260
|
-
};
|
261
|
-
}[]>;
|
262
|
-
totalBlocksPerViewDay: _angular_core.Signal<number>;
|
263
|
-
appointmentsByStartBlock: _angular_core.Signal<AXSchedulerAppointmentsByStartBlock>;
|
264
|
-
activeAppointmentsInBlock: _angular_core.Signal<AXSchedulerActiveAppointmentsInBlock>;
|
265
|
-
visibleAppointmentsLayout: _angular_core.Signal<AXSchedulerAppointmentLayout[]>;
|
266
|
-
visualOccupancyMap: _angular_core.Signal<Map<string, any>>;
|
267
|
-
overflowBadges: _angular_core.Signal<AXSchedulerOverflowBadge[]>;
|
268
331
|
/**
|
269
|
-
*
|
332
|
+
* @protected
|
333
|
+
* Checks if a given date is the current day.
|
334
|
+
* @param date The date to check.
|
335
|
+
* @returns `true` if the date is today.
|
270
336
|
*/
|
271
|
-
allDayAppointmentsPerDay: _angular_core.Signal<AXSchedulerAllDaySlotData[]>;
|
272
|
-
overflowBadgesWithData: _angular_core.Signal<AXSchedulerGridBadgeInfo[]>;
|
273
337
|
protected isToday(date: AXDateTime): boolean;
|
338
|
+
/**
|
339
|
+
* @protected
|
340
|
+
* Checks if a given date is a holiday or weekend.
|
341
|
+
* @param date The date to check.
|
342
|
+
* @returns An object describing the day's status (holiday, weekend, or none).
|
343
|
+
*/
|
274
344
|
protected isHoliday(date: AXDateTime): {
|
275
345
|
state: 'holiday' | 'weekend' | 'none';
|
276
346
|
holiday?: AXHolidayDate;
|
277
347
|
};
|
278
|
-
|
348
|
+
/**
|
349
|
+
* @protected
|
350
|
+
* Captures the data-slot-id attribute when a drag operation starts on an appointment.
|
351
|
+
* @param e The pointer event that initiates the drag.
|
352
|
+
*/
|
353
|
+
protected getSlotId(e: PointerEvent): void;
|
354
|
+
protected get isReadonly(): boolean;
|
355
|
+
private processedAppointmentsForLayout;
|
356
|
+
private timedGridSegments;
|
279
357
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSchedulerWeekViewComponent, never>;
|
280
|
-
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; }; }, { "slotClickedInternal": "slotClickedInternal"; "slotDblClickedInternal": "slotDblClickedInternal"; "slotRightClickedInternal": "slotRightClickedInternal"; "appointmentClickedInternal": "appointmentClickedInternal"; "appointmentDblClickedInternal": "appointmentDblClickedInternal"; "appointmentRightClickedInternal": "appointmentRightClickedInternal"; "
|
358
|
+
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>;
|
281
359
|
}
|
282
360
|
|
283
361
|
type AXSchedulerMonthDayCell = {
|
@@ -292,6 +370,7 @@ type AXSchedulerMonthDayCell = {
|
|
292
370
|
overflowCount: number;
|
293
371
|
};
|
294
372
|
declare class AXSchedulerMonthViewComponent extends NXComponent {
|
373
|
+
private document;
|
295
374
|
private scheduler;
|
296
375
|
private calendarService;
|
297
376
|
private schedulerService;
|
@@ -301,20 +380,20 @@ declare class AXSchedulerMonthViewComponent extends NXComponent {
|
|
301
380
|
dragStartDelay: _angular_core.InputSignal<number>;
|
302
381
|
calendar: _angular_core.InputSignal<string>;
|
303
382
|
date: _angular_core.InputSignal<AXDateTime>;
|
304
|
-
firstDayOfWeek: _angular_core.InputSignal<AXDayOfWeekName>;
|
305
383
|
appointments: _angular_core.InputSignal<AXSchedulerAppointment[]>;
|
384
|
+
firstDayOfWeek: _angular_core.InputSignal<AXDayOfWeekName>;
|
385
|
+
tooltipTemplate: _angular_core.InputSignal<string | TemplateRef<unknown>>;
|
306
386
|
readonly DAYS_IN_WEEK = 7;
|
307
387
|
readonly MAX_VISIBLE_APPOINTMENTS_PER_DAY = 2;
|
388
|
+
private dragStartSlotId;
|
308
389
|
slotClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
309
390
|
slotDblClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
310
391
|
slotRightClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
311
392
|
appointmentClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
312
393
|
appointmentDblClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
313
394
|
appointmentRightClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
395
|
+
onActionClickInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
314
396
|
onAppointmentDropInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotDropEvent>;
|
315
|
-
onActionClickInternal: _angular_core.OutputEmitterRef<{
|
316
|
-
appointment: AXSchedulerAppointment;
|
317
|
-
}>;
|
318
397
|
private readonly eventOutputMap;
|
319
398
|
handleAppointmentEvent(mouseEvent: MouseEvent, appointmentSegmentOrOriginal: AXSchedulerAppointment): void;
|
320
399
|
handleSlotEvent(mouseEvent: MouseEvent, date: AXDateTime): void;
|
@@ -335,12 +414,14 @@ declare class AXSchedulerMonthViewComponent extends NXComponent {
|
|
335
414
|
appointmentsGroupedByDay: _angular_core.Signal<Map<string, AXSchedulerAppointment[]>>;
|
336
415
|
dayCellLayouts: _angular_core.Signal<AXSchedulerMonthDayCell[]>;
|
337
416
|
gridTemplateRowsStyle: _angular_core.Signal<string>;
|
417
|
+
getSlotId(e: PointerEvent): void;
|
338
418
|
get isReadonly(): boolean;
|
339
419
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSchedulerMonthViewComponent, never>;
|
340
|
-
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; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; "isSignal": true; }; "
|
420
|
+
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>;
|
341
421
|
}
|
342
422
|
|
343
423
|
declare class AXSchedulerTimelineDayViewComponent extends NXComponent {
|
424
|
+
private document;
|
344
425
|
private scheduler;
|
345
426
|
private calendarService;
|
346
427
|
private schedulerService;
|
@@ -354,6 +435,8 @@ declare class AXSchedulerTimelineDayViewComponent extends NXComponent {
|
|
354
435
|
endDayHour: _angular_core.InputSignal<number>;
|
355
436
|
startDayHour: _angular_core.InputSignal<number>;
|
356
437
|
appointments: _angular_core.InputSignal<AXSchedulerAppointment[]>;
|
438
|
+
tooltipTemplate: _angular_core.InputSignal<string | TemplateRef<unknown>>;
|
439
|
+
private dragStartSlotId;
|
357
440
|
/**
|
358
441
|
* Processes original appointments to get segments relevant to this specific day and its viewable hours.
|
359
442
|
* Filters out original all-day events.
|
@@ -365,10 +448,8 @@ declare class AXSchedulerTimelineDayViewComponent extends NXComponent {
|
|
365
448
|
appointmentClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
366
449
|
appointmentDblClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
367
450
|
appointmentRightClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
451
|
+
onActionClickInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
368
452
|
onAppointmentDropInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotDropEvent>;
|
369
|
-
onActionClickInternal: _angular_core.OutputEmitterRef<{
|
370
|
-
appointment: AXSchedulerAppointment;
|
371
|
-
}>;
|
372
453
|
private readonly eventOutputMap;
|
373
454
|
handleAppointmentEvent(mouseEvent: MouseEvent, appointmentItem: AXSchedulerAppointment): void;
|
374
455
|
handleSlotEvent(mouseEvent: MouseEvent, startDate: AXDateTime): void;
|
@@ -376,9 +457,10 @@ declare class AXSchedulerTimelineDayViewComponent extends NXComponent {
|
|
376
457
|
handleActionClick(event: MouseEvent, appointmentItem: AXSchedulerAppointment): void;
|
377
458
|
hoursArray: _angular_core.Signal<AXDateTime[]>;
|
378
459
|
appointmentLayouts: _angular_core.Signal<AXSchedulerAppointmentLayout[]>;
|
460
|
+
getSlotId(e: PointerEvent): void;
|
379
461
|
get isReadonly(): boolean;
|
380
462
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSchedulerTimelineDayViewComponent, never>;
|
381
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXSchedulerTimelineDayViewComponent, "ax-scheduler-timeline-day-view", never, { "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "hasActions": { "alias": "hasActions"; "required": false; "isSignal": true; }; "dragStartDelay": { "alias": "dragStartDelay"; "required": false; "isSignal": true; }; "calendar": { "alias": "calendar"; "required": false; "isSignal": true; }; "date": { "alias": "date"; "required": true; "isSignal": true; }; "endDayHour": { "alias": "endDayHour"; "required": true; "isSignal": true; }; "startDayHour": { "alias": "startDayHour"; "required": true; "isSignal": true; }; "appointments": { "alias": "appointments"; "required": false; "isSignal": true; }; }, { "slotClickedInternal": "slotClickedInternal"; "slotDblClickedInternal": "slotDblClickedInternal"; "slotRightClickedInternal": "slotRightClickedInternal"; "appointmentClickedInternal": "appointmentClickedInternal"; "appointmentDblClickedInternal": "appointmentDblClickedInternal"; "appointmentRightClickedInternal": "appointmentRightClickedInternal"; "
|
463
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXSchedulerTimelineDayViewComponent, "ax-scheduler-timeline-day-view", never, { "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "hasActions": { "alias": "hasActions"; "required": false; "isSignal": true; }; "dragStartDelay": { "alias": "dragStartDelay"; "required": false; "isSignal": true; }; "calendar": { "alias": "calendar"; "required": false; "isSignal": true; }; "date": { "alias": "date"; "required": true; "isSignal": true; }; "endDayHour": { "alias": "endDayHour"; "required": true; "isSignal": true; }; "startDayHour": { "alias": "startDayHour"; "required": true; "isSignal": true; }; "appointments": { "alias": "appointments"; "required": false; "isSignal": true; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; "isSignal": true; }; }, { "slotClickedInternal": "slotClickedInternal"; "slotDblClickedInternal": "slotDblClickedInternal"; "slotRightClickedInternal": "slotRightClickedInternal"; "appointmentClickedInternal": "appointmentClickedInternal"; "appointmentDblClickedInternal": "appointmentDblClickedInternal"; "appointmentRightClickedInternal": "appointmentRightClickedInternal"; "onActionClickInternal": "onActionClickInternal"; "onAppointmentDropInternal": "onAppointmentDropInternal"; }, never, never, true, never>;
|
382
464
|
}
|
383
465
|
|
384
466
|
declare class AXSchedulerModule {
|
@@ -471,6 +553,7 @@ interface AgendaDayData {
|
|
471
553
|
};
|
472
554
|
}
|
473
555
|
declare class AXSchedulerAgendaViewComponent extends NXComponent {
|
556
|
+
private document;
|
474
557
|
private scheduler;
|
475
558
|
private calendarService;
|
476
559
|
private schedulerService;
|
@@ -482,6 +565,8 @@ declare class AXSchedulerAgendaViewComponent extends NXComponent {
|
|
482
565
|
calendar: _angular_core.InputSignal<string>;
|
483
566
|
date: _angular_core.InputSignal<AXDateTime>;
|
484
567
|
appointments: _angular_core.InputSignal<AXSchedulerAppointment[]>;
|
568
|
+
tooltipTemplate: _angular_core.InputSignal<string | TemplateRef<unknown>>;
|
569
|
+
private dragStartSlotId;
|
485
570
|
agendaDaysLayout: _angular_core.Signal<AgendaDayData[]>;
|
486
571
|
slotClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
487
572
|
slotDblClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
@@ -489,10 +574,8 @@ declare class AXSchedulerAgendaViewComponent extends NXComponent {
|
|
489
574
|
appointmentClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
490
575
|
appointmentDblClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
491
576
|
appointmentRightClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
577
|
+
onActionClickInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
492
578
|
onAppointmentDropInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotDropEvent>;
|
493
|
-
onActionClickInternal: _angular_core.OutputEmitterRef<{
|
494
|
-
appointment: AXSchedulerAppointment;
|
495
|
-
}>;
|
496
579
|
private readonly eventOutputMap;
|
497
580
|
handleAppointmentEvent(mouseEvent: MouseEvent, appointmentItem: AXSchedulerAppointment): void;
|
498
581
|
handleSlotEvent(mouseEvent: MouseEvent, date: AXDateTime): void;
|
@@ -503,9 +586,10 @@ declare class AXSchedulerAgendaViewComponent extends NXComponent {
|
|
503
586
|
state: 'holiday' | 'weekend' | 'none';
|
504
587
|
holiday?: AXHolidayDate;
|
505
588
|
};
|
589
|
+
getSlotId(e: PointerEvent): void;
|
506
590
|
get isReadonly(): boolean;
|
507
591
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSchedulerAgendaViewComponent, never>;
|
508
|
-
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; }; }, { "slotClickedInternal": "slotClickedInternal"; "slotDblClickedInternal": "slotDblClickedInternal"; "slotRightClickedInternal": "slotRightClickedInternal"; "appointmentClickedInternal": "appointmentClickedInternal"; "appointmentDblClickedInternal": "appointmentDblClickedInternal"; "appointmentRightClickedInternal": "appointmentRightClickedInternal"; "
|
592
|
+
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>;
|
509
593
|
}
|
510
594
|
|
511
595
|
interface TimelineMonthViewDayData {
|
@@ -519,6 +603,7 @@ interface TimelineMonthViewDayData {
|
|
519
603
|
};
|
520
604
|
}
|
521
605
|
declare class AXSchedulerTimelineMonthViewComponent extends NXComponent {
|
606
|
+
private document;
|
522
607
|
private scheduler;
|
523
608
|
private calendarService;
|
524
609
|
private schedulerService;
|
@@ -530,6 +615,8 @@ declare class AXSchedulerTimelineMonthViewComponent extends NXComponent {
|
|
530
615
|
calendar: _angular_core.InputSignal<string>;
|
531
616
|
date: _angular_core.InputSignal<AXDateTime>;
|
532
617
|
appointments: _angular_core.InputSignal<AXSchedulerAppointment[]>;
|
618
|
+
tooltipTemplate: _angular_core.InputSignal<string | TemplateRef<unknown>>;
|
619
|
+
private dragStartSlotId;
|
533
620
|
processedDayData: _angular_core.Signal<TimelineMonthViewDayData[]>;
|
534
621
|
slotClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
535
622
|
slotDblClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
@@ -537,10 +624,8 @@ declare class AXSchedulerTimelineMonthViewComponent extends NXComponent {
|
|
537
624
|
appointmentClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
538
625
|
appointmentDblClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
539
626
|
appointmentRightClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
627
|
+
onActionClickInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
540
628
|
onAppointmentDropInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotDropEvent>;
|
541
|
-
onActionClickInternal: _angular_core.OutputEmitterRef<{
|
542
|
-
appointment: AXSchedulerAppointment;
|
543
|
-
}>;
|
544
629
|
private readonly eventOutputMap;
|
545
630
|
handleAppointmentEvent(mouseEvent: MouseEvent, appointmentItem: AXSchedulerAppointment): void;
|
546
631
|
handleSlotEvent(mouseEvent: MouseEvent, date: AXDateTime): void;
|
@@ -551,9 +636,10 @@ declare class AXSchedulerTimelineMonthViewComponent extends NXComponent {
|
|
551
636
|
state: 'holiday' | 'weekend' | 'none';
|
552
637
|
holiday?: AXHolidayDate;
|
553
638
|
};
|
639
|
+
getSlotId(e: PointerEvent): void;
|
554
640
|
get isReadonly(): boolean;
|
555
641
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSchedulerTimelineMonthViewComponent, never>;
|
556
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXSchedulerTimelineMonthViewComponent, "ax-scheduler-timeline-month-view", never, { "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "hasActions": { "alias": "hasActions"; "required": false; "isSignal": true; }; "dragStartDelay": { "alias": "dragStartDelay"; "required": false; "isSignal": true; }; "calendar": { "alias": "calendar"; "required": false; "isSignal": true; }; "date": { "alias": "date"; "required": true; "isSignal": true; }; "appointments": { "alias": "appointments"; "required": false; "isSignal": true; }; }, { "slotClickedInternal": "slotClickedInternal"; "slotDblClickedInternal": "slotDblClickedInternal"; "slotRightClickedInternal": "slotRightClickedInternal"; "appointmentClickedInternal": "appointmentClickedInternal"; "appointmentDblClickedInternal": "appointmentDblClickedInternal"; "appointmentRightClickedInternal": "appointmentRightClickedInternal"; "
|
642
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXSchedulerTimelineMonthViewComponent, "ax-scheduler-timeline-month-view", never, { "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "hasActions": { "alias": "hasActions"; "required": false; "isSignal": true; }; "dragStartDelay": { "alias": "dragStartDelay"; "required": false; "isSignal": true; }; "calendar": { "alias": "calendar"; "required": false; "isSignal": true; }; "date": { "alias": "date"; "required": true; "isSignal": true; }; "appointments": { "alias": "appointments"; "required": false; "isSignal": true; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; "isSignal": true; }; }, { "slotClickedInternal": "slotClickedInternal"; "slotDblClickedInternal": "slotDblClickedInternal"; "slotRightClickedInternal": "slotRightClickedInternal"; "appointmentClickedInternal": "appointmentClickedInternal"; "appointmentDblClickedInternal": "appointmentDblClickedInternal"; "appointmentRightClickedInternal": "appointmentRightClickedInternal"; "onActionClickInternal": "onActionClickInternal"; "onAppointmentDropInternal": "onAppointmentDropInternal"; }, never, never, true, never>;
|
557
643
|
}
|
558
644
|
|
559
645
|
interface TimelineMultiDayDaySlot {
|
@@ -577,6 +663,7 @@ declare class AXSchedulerTimelineMultiDayViewComponent extends NXComponent {
|
|
577
663
|
endDayHour: _angular_core.InputSignal<number>;
|
578
664
|
startDayHour: _angular_core.InputSignal<number>;
|
579
665
|
appointments: _angular_core.InputSignal<AXSchedulerAppointment[]>;
|
666
|
+
tooltipTemplate: _angular_core.InputSignal<string | TemplateRef<unknown>>;
|
580
667
|
daysDataForTimelineViews: _angular_core.Signal<TimelineMultiDayDaySlot[]>;
|
581
668
|
slotClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
582
669
|
slotDblClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
@@ -584,17 +671,15 @@ declare class AXSchedulerTimelineMultiDayViewComponent extends NXComponent {
|
|
584
671
|
appointmentClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
585
672
|
appointmentDblClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
586
673
|
appointmentRightClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
674
|
+
onActionClickInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
587
675
|
onAppointmentDropInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotDropEvent>;
|
588
|
-
onActionClickInternal: _angular_core.OutputEmitterRef<{
|
589
|
-
appointment: AXSchedulerAppointment;
|
590
|
-
}>;
|
591
676
|
protected isToday(date: AXDateTime): boolean;
|
592
677
|
protected isHoliday(date: AXDateTime): {
|
593
678
|
state: 'holiday' | 'weekend' | 'none';
|
594
679
|
holiday?: AXHolidayDate;
|
595
680
|
};
|
596
681
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSchedulerTimelineMultiDayViewComponent, never>;
|
597
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXSchedulerTimelineMultiDayViewComponent, "ax-scheduler-timeline-multi-day-view", never, { "daysCount": { "alias": "daysCount"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "hasActions": { "alias": "hasActions"; "required": false; "isSignal": true; }; "dragStartDelay": { "alias": "dragStartDelay"; "required": false; "isSignal": true; }; "calendar": { "alias": "calendar"; "required": false; "isSignal": true; }; "date": { "alias": "date"; "required": true; "isSignal": true; }; "endDayHour": { "alias": "endDayHour"; "required": true; "isSignal": true; }; "startDayHour": { "alias": "startDayHour"; "required": true; "isSignal": true; }; "appointments": { "alias": "appointments"; "required": false; "isSignal": true; }; }, { "slotClickedInternal": "slotClickedInternal"; "slotDblClickedInternal": "slotDblClickedInternal"; "slotRightClickedInternal": "slotRightClickedInternal"; "appointmentClickedInternal": "appointmentClickedInternal"; "appointmentDblClickedInternal": "appointmentDblClickedInternal"; "appointmentRightClickedInternal": "appointmentRightClickedInternal"; "
|
682
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXSchedulerTimelineMultiDayViewComponent, "ax-scheduler-timeline-multi-day-view", never, { "daysCount": { "alias": "daysCount"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "hasActions": { "alias": "hasActions"; "required": false; "isSignal": true; }; "dragStartDelay": { "alias": "dragStartDelay"; "required": false; "isSignal": true; }; "calendar": { "alias": "calendar"; "required": false; "isSignal": true; }; "date": { "alias": "date"; "required": true; "isSignal": true; }; "endDayHour": { "alias": "endDayHour"; "required": true; "isSignal": true; }; "startDayHour": { "alias": "startDayHour"; "required": true; "isSignal": true; }; "appointments": { "alias": "appointments"; "required": false; "isSignal": true; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; "isSignal": true; }; }, { "slotClickedInternal": "slotClickedInternal"; "slotDblClickedInternal": "slotDblClickedInternal"; "slotRightClickedInternal": "slotRightClickedInternal"; "appointmentClickedInternal": "appointmentClickedInternal"; "appointmentDblClickedInternal": "appointmentDblClickedInternal"; "appointmentRightClickedInternal": "appointmentRightClickedInternal"; "onActionClickInternal": "onActionClickInternal"; "onAppointmentDropInternal": "onAppointmentDropInternal"; }, never, never, true, never>;
|
598
683
|
}
|
599
684
|
|
600
685
|
export { AXSchedulerAgendaViewComponent, AXSchedulerComponent, AXSchedulerDayViewComponent, AXSchedulerModule, AXSchedulerMonthViewComponent, AXSchedulerService, AXSchedulerTimelineDayViewComponent, AXSchedulerTimelineMonthViewComponent, AXSchedulerTimelineMultiDayViewComponent, AXSchedulerWeekViewComponent };
|
package/tooltip/index.d.ts
CHANGED
@@ -26,8 +26,10 @@ declare class AXTooltipComponent extends MXBaseComponent {
|
|
26
26
|
|
27
27
|
declare class AXTooltipDirective implements OnInit {
|
28
28
|
#private;
|
29
|
-
private elementRef;
|
30
29
|
private vc;
|
30
|
+
private elementRef;
|
31
|
+
private dragRef;
|
32
|
+
tooltipDisabled: i0.InputSignal<boolean>;
|
31
33
|
content: i0.InputSignal<string | TemplateRef<unknown>>;
|
32
34
|
private _placement;
|
33
35
|
get placement(): AXPlacementType;
|
@@ -48,7 +50,7 @@ declare class AXTooltipDirective implements OnInit {
|
|
48
50
|
constructor();
|
49
51
|
ngOnInit(): void;
|
50
52
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXTooltipDirective, never>;
|
51
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AXTooltipDirective, "[axTooltip]", never, { "content": { "alias": "axTooltip"; "required": false; "isSignal": true; }; "placement": { "alias": "axTooltipPlacement"; "required": false; }; "offsetX": { "alias": "axTooltipOffsetX"; "required": false; }; "offsetY": { "alias": "axTooltipOffsetY"; "required": false; }; "openAfter": { "alias": "axTooltipOpenAfter"; "required": false; }; "closeAfter": { "alias": "axTooltipCloseAfter"; "required": false; }; }, {}, never, never, true, never>;
|
53
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AXTooltipDirective, "[axTooltip]", never, { "tooltipDisabled": { "alias": "tooltipDisabled"; "required": false; "isSignal": true; }; "content": { "alias": "axTooltip"; "required": false; "isSignal": true; }; "placement": { "alias": "axTooltipPlacement"; "required": false; }; "offsetX": { "alias": "axTooltipOffsetX"; "required": false; }; "offsetY": { "alias": "axTooltipOffsetY"; "required": false; }; "openAfter": { "alias": "axTooltipOpenAfter"; "required": false; }; "closeAfter": { "alias": "axTooltipCloseAfter"; "required": false; }; }, {}, never, never, true, never>;
|
52
54
|
}
|
53
55
|
|
54
56
|
declare class AXTooltipModule {
|