@acorex/components 19.15.0-next.6 → 19.15.0-next.7
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/button/lib/button-item-list.component.d.ts +2 -2
- package/conversation/lib/conversation-input/conversation-input.component.d.ts +2 -0
- package/decorators/lib/components/close-button/close-button.component.d.ts +2 -2
- package/dropdown-button/lib/dropdown-button.component.d.ts +2 -2
- package/fesm2022/acorex-components-action-sheet.mjs +15 -13
- package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
- package/fesm2022/acorex-components-alert.mjs +15 -9
- package/fesm2022/acorex-components-alert.mjs.map +1 -1
- package/fesm2022/acorex-components-audio-wave.mjs +9 -8
- package/fesm2022/acorex-components-audio-wave.mjs.map +1 -1
- package/fesm2022/acorex-components-autocomplete.mjs +10 -10
- package/fesm2022/acorex-components-autocomplete.mjs.map +1 -1
- package/fesm2022/acorex-components-avatar.mjs +13 -12
- package/fesm2022/acorex-components-avatar.mjs.map +1 -1
- package/fesm2022/acorex-components-badge.mjs +9 -9
- package/fesm2022/acorex-components-badge.mjs.map +1 -1
- package/fesm2022/acorex-components-bottom-navigation.mjs +13 -13
- package/fesm2022/acorex-components-bottom-navigation.mjs.map +1 -1
- package/fesm2022/acorex-components-breadcrumbs.mjs +13 -13
- package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/acorex-components-button-group.mjs +13 -12
- package/fesm2022/acorex-components-button-group.mjs.map +1 -1
- package/fesm2022/acorex-components-button.mjs +18 -18
- package/fesm2022/acorex-components-button.mjs.map +1 -1
- package/fesm2022/acorex-components-calendar.mjs +18 -14
- package/fesm2022/acorex-components-calendar.mjs.map +1 -1
- package/fesm2022/acorex-components-check-box.mjs +10 -8
- package/fesm2022/acorex-components-check-box.mjs.map +1 -1
- package/fesm2022/acorex-components-chips.mjs +9 -9
- package/fesm2022/acorex-components-chips.mjs.map +1 -1
- package/fesm2022/acorex-components-circular-progress.mjs +9 -9
- package/fesm2022/acorex-components-circular-progress.mjs.map +1 -1
- package/fesm2022/acorex-components-collapse.mjs +14 -12
- package/fesm2022/acorex-components-collapse.mjs.map +1 -1
- package/fesm2022/acorex-components-color-box.mjs +7 -7
- package/fesm2022/acorex-components-color-palette.mjs +36 -26
- package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
- package/fesm2022/acorex-components-comment.mjs +37 -36
- package/fesm2022/acorex-components-comment.mjs.map +1 -1
- package/fesm2022/acorex-components-conversation.mjs +80 -63
- package/fesm2022/acorex-components-conversation.mjs.map +1 -1
- package/fesm2022/acorex-components-cron-job.mjs +57 -53
- package/fesm2022/acorex-components-cron-job.mjs.map +1 -1
- package/fesm2022/acorex-components-data-pager.mjs +74 -36
- package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
- package/fesm2022/acorex-components-data-table.mjs +59 -39
- package/fesm2022/acorex-components-data-table.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-box.mjs +7 -7
- package/fesm2022/acorex-components-datetime-input.mjs +7 -7
- package/fesm2022/acorex-components-datetime-picker.mjs +7 -7
- package/fesm2022/acorex-components-decorators.mjs +43 -34
- package/fesm2022/acorex-components-decorators.mjs.map +1 -1
- package/fesm2022/acorex-components-dialog.mjs +21 -13
- package/fesm2022/acorex-components-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-drawer.mjs +17 -17
- package/fesm2022/acorex-components-drawer.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown-button.mjs +12 -10
- package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown.mjs +19 -17
- package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
- package/fesm2022/acorex-components-file-explorer.mjs +39 -31
- package/fesm2022/acorex-components-file-explorer.mjs.map +1 -1
- package/fesm2022/acorex-components-flow-chart.mjs +30 -20
- package/fesm2022/acorex-components-flow-chart.mjs.map +1 -1
- package/fesm2022/acorex-components-form.mjs +20 -18
- package/fesm2022/acorex-components-form.mjs.map +1 -1
- package/fesm2022/acorex-components-grid-layout-builder.mjs +13 -12
- package/fesm2022/acorex-components-grid-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-components-image-editor.mjs +43 -45
- package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-image.mjs +15 -9
- package/fesm2022/acorex-components-image.mjs.map +1 -1
- package/fesm2022/acorex-components-json-viewer.mjs +9 -8
- package/fesm2022/acorex-components-json-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-kbd.mjs +13 -12
- package/fesm2022/acorex-components-kbd.mjs.map +1 -1
- package/fesm2022/acorex-components-label.mjs +15 -9
- package/fesm2022/acorex-components-label.mjs.map +1 -1
- package/fesm2022/acorex-components-list.mjs +7 -7
- package/fesm2022/acorex-components-loading-dialog.mjs +12 -12
- package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-loading.mjs +19 -19
- package/fesm2022/acorex-components-loading.mjs.map +1 -1
- package/fesm2022/acorex-components-map.mjs +12 -11
- package/fesm2022/acorex-components-map.mjs.map +1 -1
- package/fesm2022/acorex-components-media-viewer.mjs +42 -41
- package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-menu.mjs +41 -17
- package/fesm2022/acorex-components-menu.mjs.map +1 -1
- package/fesm2022/{acorex-components-modal-acorex-components-modal-F9PZYNJ9.mjs → acorex-components-modal-acorex-components-modal-CJ3M9U7p.mjs} +24 -23
- package/fesm2022/acorex-components-modal-acorex-components-modal-CJ3M9U7p.mjs.map +1 -0
- package/fesm2022/acorex-components-modal-modal-content.component-Ef5XWxUb.mjs +216 -0
- package/fesm2022/acorex-components-modal-modal-content.component-Ef5XWxUb.mjs.map +1 -0
- package/fesm2022/acorex-components-modal.mjs +1 -1
- package/fesm2022/acorex-components-navbar.mjs +9 -9
- package/fesm2022/acorex-components-navbar.mjs.map +1 -1
- package/fesm2022/acorex-components-notification.mjs +18 -12
- package/fesm2022/acorex-components-notification.mjs.map +1 -1
- package/fesm2022/acorex-components-number-box.mjs +7 -7
- package/fesm2022/acorex-components-otp.mjs +20 -8
- package/fesm2022/acorex-components-otp.mjs.map +1 -1
- package/fesm2022/acorex-components-page.mjs +10 -10
- package/fesm2022/acorex-components-paint.mjs +31 -33
- package/fesm2022/acorex-components-paint.mjs.map +1 -1
- package/fesm2022/acorex-components-password-box.mjs +28 -18
- package/fesm2022/acorex-components-password-box.mjs.map +1 -1
- package/fesm2022/acorex-components-pdf-reader.mjs +9 -8
- package/fesm2022/acorex-components-pdf-reader.mjs.map +1 -1
- package/fesm2022/acorex-components-phone-box.mjs +7 -7
- package/fesm2022/acorex-components-picker.mjs +18 -16
- package/fesm2022/acorex-components-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-popover.mjs +15 -9
- package/fesm2022/acorex-components-popover.mjs.map +1 -1
- package/fesm2022/acorex-components-popup.mjs +18 -12
- package/fesm2022/acorex-components-popup.mjs.map +1 -1
- package/fesm2022/acorex-components-progress-bar.mjs +9 -9
- package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
- package/fesm2022/acorex-components-qrcode.mjs +10 -8
- package/fesm2022/acorex-components-qrcode.mjs.map +1 -1
- package/fesm2022/acorex-components-query-builder.mjs +9 -9
- package/fesm2022/acorex-components-query-builder.mjs.map +1 -1
- package/fesm2022/acorex-components-radio.mjs +10 -8
- package/fesm2022/acorex-components-radio.mjs.map +1 -1
- package/fesm2022/acorex-components-rail-navigation.mjs +16 -16
- package/fesm2022/acorex-components-rail-navigation.mjs.map +1 -1
- package/fesm2022/acorex-components-range-slider.mjs +10 -8
- package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
- package/fesm2022/acorex-components-rate-picker.mjs +10 -8
- package/fesm2022/acorex-components-rate-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-rest-api-generator.mjs +28 -27
- package/fesm2022/acorex-components-rest-api-generator.mjs.map +1 -1
- package/fesm2022/acorex-components-result.mjs +9 -9
- package/fesm2022/acorex-components-result.mjs.map +1 -1
- package/fesm2022/acorex-components-routing-progress.mjs +9 -9
- package/fesm2022/acorex-components-routing-progress.mjs.map +1 -1
- package/fesm2022/acorex-components-scheduler.mjs +340 -279
- package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
- package/fesm2022/acorex-components-scss.mjs +4 -4
- package/fesm2022/acorex-components-search-box.mjs +7 -7
- package/fesm2022/acorex-components-select-box.mjs +10 -10
- package/fesm2022/acorex-components-select-box.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list.mjs +7 -7
- package/fesm2022/acorex-components-side-menu.mjs +16 -16
- package/fesm2022/acorex-components-side-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-skeleton.mjs +9 -9
- package/fesm2022/acorex-components-skeleton.mjs.map +1 -1
- package/fesm2022/acorex-components-slider.mjs +10 -8
- package/fesm2022/acorex-components-slider.mjs.map +1 -1
- package/fesm2022/acorex-components-sliding-item.mjs +17 -16
- package/fesm2022/acorex-components-sliding-item.mjs.map +1 -1
- package/fesm2022/acorex-components-step-wizard.mjs +16 -16
- package/fesm2022/acorex-components-step-wizard.mjs.map +1 -1
- package/fesm2022/acorex-components-switch.mjs +14 -11
- package/fesm2022/acorex-components-switch.mjs.map +1 -1
- package/fesm2022/acorex-components-tabs.mjs +16 -15
- package/fesm2022/acorex-components-tabs.mjs.map +1 -1
- package/fesm2022/acorex-components-tag-box.mjs +7 -7
- package/fesm2022/acorex-components-tag.mjs +9 -9
- package/fesm2022/acorex-components-tag.mjs.map +1 -1
- package/fesm2022/acorex-components-text-area.mjs +7 -7
- package/fesm2022/acorex-components-text-box.mjs +10 -10
- package/fesm2022/acorex-components-time-duration.mjs +8 -10
- package/fesm2022/acorex-components-time-duration.mjs.map +1 -1
- package/fesm2022/acorex-components-time-line.mjs +13 -12
- package/fesm2022/acorex-components-time-line.mjs.map +1 -1
- package/fesm2022/acorex-components-toast.mjs +18 -12
- package/fesm2022/acorex-components-toast.mjs.map +1 -1
- package/fesm2022/acorex-components-toolbar.mjs +9 -8
- package/fesm2022/acorex-components-toolbar.mjs.map +1 -1
- package/fesm2022/acorex-components-tooltip.mjs +12 -12
- package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
- package/fesm2022/acorex-components-tree-view.mjs +20 -13
- package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
- package/fesm2022/acorex-components-uploader.mjs +27 -27
- package/fesm2022/acorex-components-uploader.mjs.map +1 -1
- package/fesm2022/acorex-components-video-player.mjs +9 -8
- package/fesm2022/acorex-components-video-player.mjs.map +1 -1
- package/fesm2022/acorex-components-wysiwyg.mjs +39 -41
- package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
- package/package.json +9 -9
- package/password-box/lib/password-strength-validation/password-strength-validation.component.d.ts +5 -5
- package/scheduler/lib/scheduler.class.d.ts +36 -31
- package/scheduler/lib/scheduler.component.d.ts +55 -42
- package/scheduler/lib/scheduler.service.d.ts +15 -14
- package/scheduler/lib/views/agenda/scheduler-agenda-view.component.d.ts +14 -12
- package/scheduler/lib/views/day/scheduler-day-view.component.d.ts +19 -17
- package/scheduler/lib/views/month/scheduler-month-view.component.d.ts +17 -15
- package/scheduler/lib/views/timeline-day/scheduler-timeline-day-view.component.d.ts +17 -15
- package/scheduler/lib/views/timeline-month/scheduler-timeline-month-view.component.d.ts +15 -13
- package/scheduler/lib/views/timeline-multi-day/scheduler-timeline-multi-day-view.component.d.ts +15 -14
- package/scheduler/lib/views/week/scheduler-week-view.component.d.ts +19 -17
- package/tree-view/lib/tree-view.class.d.ts +1 -0
- package/tree-view/lib/tree-view.component.d.ts +4 -2
- package/fesm2022/acorex-components-modal-acorex-components-modal-F9PZYNJ9.mjs.map +0 -1
- package/fesm2022/acorex-components-modal-modal-content.component-ktH_8bGp.mjs +0 -216
- package/fesm2022/acorex-components-modal-modal-content.component-ktH_8bGp.mjs.map +0 -1
@@ -1,5 +1,6 @@
|
|
1
1
|
import { AXDateTime } from '@acorex/core/date-time';
|
2
|
-
import { AXDayOfWeekName, AXSchedulerActiveAppointmentsInBlock,
|
2
|
+
import { AXDayOfWeekName, AXSchedulerActiveAppointmentsInBlock, AXSchedulerAppointmentsByStartBlock, AXSchedulerAppointmentSegment, AXSchedulerBlockIdentifier, AXSchedulerInternalAppointment, AXSchedulerView } from './scheduler.class';
|
3
|
+
import { AXSchedulerAppointmentMouseEvent, AXSchedulerSlotMouseEvent } from './scheduler.component';
|
3
4
|
import * as i0 from "@angular/core";
|
4
5
|
export declare class AXSchedulerService {
|
5
6
|
private calendarService;
|
@@ -12,15 +13,15 @@ export declare class AXSchedulerService {
|
|
12
13
|
/**
|
13
14
|
* Checks if two appointments overlap in time.
|
14
15
|
*/
|
15
|
-
doAppointmentsOverlap(appointmentA:
|
16
|
+
doAppointmentsOverlap(appointmentA: AXSchedulerInternalAppointment, appointmentB: AXSchedulerInternalAppointment): boolean;
|
16
17
|
/**
|
17
18
|
* Calculates appointment duration in minutes.
|
18
19
|
*/
|
19
|
-
calculateDurationInMinutes(Appointment:
|
20
|
+
calculateDurationInMinutes(Appointment: AXSchedulerInternalAppointment): number;
|
20
21
|
/**
|
21
22
|
* Calculates appointment duration in blocks (default 30 min).
|
22
23
|
*/
|
23
|
-
calculateDurationInBlocks(appointment:
|
24
|
+
calculateDurationInBlocks(appointment: AXSchedulerInternalAppointment): number;
|
24
25
|
/**
|
25
26
|
* Gets the day index (relative to view start) and block index (relative to start hour)
|
26
27
|
* for a given date time within the view context. Returns null if outside view.
|
@@ -31,11 +32,11 @@ export declare class AXSchedulerService {
|
|
31
32
|
* Groups appointments by the blocks they are ACTIVE in for a given view.
|
32
33
|
* @param viewTotalDays - Number of days in the current view (1 for Day, 7 for Week, etc.)
|
33
34
|
*/
|
34
|
-
calculateActiveAppointmentsInBlock(singleDayAppointments:
|
35
|
+
calculateActiveAppointmentsInBlock(singleDayAppointments: AXSchedulerAppointmentSegment[], viewStartDate: AXDateTime, startHour: number, endHour: number, viewTotalDays: number): AXSchedulerActiveAppointmentsInBlock;
|
35
36
|
/**
|
36
37
|
* Calculates max concurrency and effective total columns for Day View appointments.
|
37
38
|
*/
|
38
|
-
calculateDayViewConcurrencyInfo(singleDayAppointments:
|
39
|
+
calculateDayViewConcurrencyInfo(singleDayAppointments: AXSchedulerAppointmentSegment[], // These are segments for the current day
|
39
40
|
viewStartDate: AXDateTime, startHour: number, endHour: number): Map<any, {
|
40
41
|
maxConcurrency: number;
|
41
42
|
effectiveTotalColumns: number;
|
@@ -43,21 +44,21 @@ export declare class AXSchedulerService {
|
|
43
44
|
/**
|
44
45
|
* Groups appointments by the block they START in for Week View.
|
45
46
|
*/
|
46
|
-
calculateWeekViewAppointmentsByStartBlock(singleDayAppointments:
|
47
|
+
calculateWeekViewAppointmentsByStartBlock(singleDayAppointments: AXSchedulerAppointmentSegment[], viewStartDate: AXDateTime, startHour: number, endHour: number): AXSchedulerAppointmentsByStartBlock;
|
47
48
|
/**
|
48
49
|
* Groups appointments by the day(s) they occur on within a given date range.
|
49
50
|
* Returns a Map where the key is the date string ('YYYY-MM-DD') and the value is an array of appointments.
|
50
51
|
*/
|
51
|
-
groupAppointmentsByDay(appointments:
|
52
|
-
viewEndDate: AXDateTime): Map<string,
|
52
|
+
groupAppointmentsByDay(appointments: AXSchedulerInternalAppointment[], viewStartDate: AXDateTime, // First day visible in the grid
|
53
|
+
viewEndDate: AXDateTime): Map<string, AXSchedulerInternalAppointment[]>;
|
53
54
|
getDayOfWeekNumber(dayName: AXDayOfWeekName): number;
|
54
55
|
getSlotData(startDate: AXDateTime, view: AXSchedulerView): {
|
55
56
|
startDate: AXDateTime;
|
56
57
|
endDate: AXDateTime;
|
57
58
|
view: AXSchedulerView;
|
58
59
|
};
|
59
|
-
handleEvent(event:
|
60
|
-
calculateTimelineLayout(appt:
|
60
|
+
handleEvent(event: AXSchedulerSlotMouseEvent | AXSchedulerAppointmentMouseEvent, eventOutputMap: any, eventType: 'appointment' | 'slot'): void;
|
61
|
+
calculateTimelineLayout(appt: AXSchedulerInternalAppointment, viewStartHour: number, // e.g., 8 for 8 AM
|
61
62
|
viewEndHour: number): {
|
62
63
|
left: string;
|
63
64
|
width: string;
|
@@ -67,9 +68,9 @@ export declare class AXSchedulerService {
|
|
67
68
|
* constrained by the view's start and end hours.
|
68
69
|
* Returns a new appointment-like object representing the segment.
|
69
70
|
*/
|
70
|
-
getClonedAppointmentSegmentOnDay(appointment:
|
71
|
-
day: AXDateTime, viewStartHour: number, viewEndHour: number, isFullDayCellContext?: boolean):
|
72
|
-
getOriginalAppointment(item:
|
71
|
+
getClonedAppointmentSegmentOnDay(appointment: AXSchedulerInternalAppointment, // This is the ORIGINAL appointment
|
72
|
+
day: AXDateTime, viewStartHour: number, viewEndHour: number, isFullDayCellContext?: boolean): AXSchedulerAppointmentSegment | null;
|
73
|
+
getOriginalAppointment(item: AXSchedulerInternalAppointment | AXSchedulerAppointmentSegment): AXSchedulerInternalAppointment;
|
73
74
|
isHoliday(date: AXDateTime): boolean;
|
74
75
|
isWeekend(date: AXDateTime, calendar: string): boolean;
|
75
76
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXSchedulerService, never>;
|
@@ -1,17 +1,19 @@
|
|
1
|
-
import {
|
1
|
+
import { NXComponent } from '@acorex/cdk/common';
|
2
2
|
import { AXDropZoneDropEvent } from '@acorex/cdk/drag-drop';
|
3
3
|
import { AXDateTime, AXHolidayDate } from '@acorex/core/date-time';
|
4
|
-
import {
|
4
|
+
import { AXSchedulerAppointmentSegment, AXSchedulerInternalAppointment } from '../../scheduler.class';
|
5
|
+
import { AXSchedulerAppointmentMouseEvent, AXSchedulerSlotDropEvent, AXSchedulerSlotMouseEvent } from '../../scheduler.component';
|
5
6
|
import * as i0 from "@angular/core";
|
6
7
|
export interface AgendaDayData {
|
7
8
|
date: AXDateTime;
|
8
|
-
appointments:
|
9
|
+
appointments: AXSchedulerAppointmentSegment[];
|
9
10
|
holiday?: {
|
10
11
|
state: 'holiday' | 'weekend' | 'none';
|
11
12
|
holiday?: AXHolidayDate;
|
12
13
|
};
|
13
14
|
}
|
14
|
-
export declare class AXSchedulerAgendaViewComponent extends
|
15
|
+
export declare class AXSchedulerAgendaViewComponent extends NXComponent {
|
16
|
+
private scheduler;
|
15
17
|
private calendarService;
|
16
18
|
private schedulerService;
|
17
19
|
daysCount: import("@angular/core").InputSignal<number>;
|
@@ -19,17 +21,17 @@ export declare class AXSchedulerAgendaViewComponent extends MXBaseComponent {
|
|
19
21
|
draggable: import("@angular/core").InputSignal<boolean>;
|
20
22
|
calendar: import("@angular/core").InputSignal<string>;
|
21
23
|
date: import("@angular/core").InputSignal<AXDateTime>;
|
22
|
-
appointments: import("@angular/core").InputSignal<
|
24
|
+
appointments: import("@angular/core").InputSignal<AXSchedulerInternalAppointment[]>;
|
23
25
|
agendaDaysLayout: import("@angular/core").Signal<AgendaDayData[]>;
|
24
|
-
slotClickedInternal: import("@angular/core").OutputEmitterRef<
|
25
|
-
slotDblClickedInternal: import("@angular/core").OutputEmitterRef<
|
26
|
-
slotRightClickedInternal: import("@angular/core").OutputEmitterRef<
|
27
|
-
appointmentClickedInternal: import("@angular/core").OutputEmitterRef<
|
28
|
-
appointmentDblClickedInternal: import("@angular/core").OutputEmitterRef<
|
29
|
-
appointmentRightClickedInternal: import("@angular/core").OutputEmitterRef<
|
26
|
+
slotClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
27
|
+
slotDblClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
28
|
+
slotRightClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
29
|
+
appointmentClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
30
|
+
appointmentDblClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
31
|
+
appointmentRightClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
30
32
|
onAppointmentDropInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotDropEvent>;
|
31
33
|
private readonly eventOutputMap;
|
32
|
-
handleAppointmentEvent(mouseEvent: MouseEvent, appointmentItem:
|
34
|
+
handleAppointmentEvent(mouseEvent: MouseEvent, appointmentItem: AXSchedulerInternalAppointment): void;
|
33
35
|
handleSlotEvent(mouseEvent: MouseEvent, date: AXDateTime): void;
|
34
36
|
handleDrop(e: AXDropZoneDropEvent, date: AXDateTime): void;
|
35
37
|
protected isToday(date: AXDateTime): boolean;
|
@@ -1,30 +1,32 @@
|
|
1
|
-
import {
|
1
|
+
import { NXComponent } from '@acorex/cdk/common';
|
2
2
|
import { AXDropZoneDropEvent } from '@acorex/cdk/drag-drop';
|
3
3
|
import { AXDateTime } from '@acorex/core/date-time';
|
4
|
-
import {
|
4
|
+
import { AXSchedulerAppointmentSegment, AXSchedulerDayAppointmentLayout, AXSchedulerInternalAppointment } from '../../scheduler.class';
|
5
|
+
import { AXSchedulerAppointmentMouseEvent, AXSchedulerSlotDropEvent, AXSchedulerSlotMouseEvent } from '../../scheduler.component';
|
5
6
|
import * as i0 from "@angular/core";
|
6
|
-
export declare class AXSchedulerDayViewComponent extends
|
7
|
+
export declare class AXSchedulerDayViewComponent extends NXComponent {
|
8
|
+
private scheduler;
|
7
9
|
private schedulerService;
|
8
10
|
readonly GAP_PX = 1;
|
9
11
|
readonly: import("@angular/core").InputSignal<boolean>;
|
10
12
|
draggable: import("@angular/core").InputSignal<boolean>;
|
11
13
|
calendar: import("@angular/core").InputSignal<string>;
|
12
|
-
endHour: import("@angular/core").InputSignal<number>;
|
13
14
|
date: import("@angular/core").InputSignal<AXDateTime>;
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
15
|
+
endDayHour: import("@angular/core").InputSignal<number>;
|
16
|
+
startDayHour: import("@angular/core").InputSignal<number>;
|
17
|
+
appointments: import("@angular/core").InputSignal<AXSchedulerInternalAppointment[]>;
|
18
|
+
processedAppointmentsForLayout: import("@angular/core").Signal<AXSchedulerAppointmentSegment[]>;
|
19
|
+
allDayAppointments: import("@angular/core").Signal<AXSchedulerInternalAppointment[]>;
|
20
|
+
singleDayAppointments: import("@angular/core").Signal<AXSchedulerAppointmentSegment[]>;
|
21
|
+
slotClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
22
|
+
slotDblClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
23
|
+
slotRightClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
24
|
+
appointmentClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
25
|
+
appointmentDblClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
26
|
+
appointmentRightClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
25
27
|
onAppointmentDropInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotDropEvent>;
|
26
28
|
private readonly eventOutputMap;
|
27
|
-
handleAppointmentEvent(mouseEvent: MouseEvent, appointment:
|
29
|
+
handleAppointmentEvent(mouseEvent: MouseEvent, appointment: AXSchedulerInternalAppointment): void;
|
28
30
|
handleSingleSlotEvent(mouseEvent: MouseEvent, startDate: AXDateTime): void;
|
29
31
|
handleAllDaySlotEvent(mouseEvent: MouseEvent): void;
|
30
32
|
handleAllDayDrop(e: AXDropZoneDropEvent): void;
|
@@ -38,5 +40,5 @@ export declare class AXSchedulerDayViewComponent extends MXBaseComponent {
|
|
38
40
|
getAppointmentHeight(key: any): string;
|
39
41
|
get isReadonly(): boolean;
|
40
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXSchedulerDayViewComponent, never>;
|
41
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXSchedulerDayViewComponent, "ax-scheduler-day-view", never, { "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "calendar": { "alias": "calendar"; "required": false; "isSignal": true; }; "
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXSchedulerDayViewComponent, "ax-scheduler-day-view", never, { "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "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"; "onAppointmentDropInternal": "onAppointmentDropInternal"; }, never, never, true, never>;
|
42
44
|
}
|
@@ -1,7 +1,8 @@
|
|
1
|
-
import {
|
1
|
+
import { NXComponent } from '@acorex/cdk/common';
|
2
2
|
import { AXDropZoneDropEvent } from '@acorex/cdk/drag-drop';
|
3
3
|
import { AXDateTime } from '@acorex/core/date-time';
|
4
|
-
import { AXDayOfWeekName,
|
4
|
+
import { AXDayOfWeekName, AXSchedulerAppointmentSegment, AXSchedulerInternalAppointment } from '../../scheduler.class';
|
5
|
+
import { AXSchedulerAppointmentMouseEvent, AXSchedulerSlotDropEvent, AXSchedulerSlotMouseEvent } from '../../scheduler.component';
|
5
6
|
import * as i0 from "@angular/core";
|
6
7
|
export type AXSchedulerMonthDayCell = {
|
7
8
|
date: AXDateTime;
|
@@ -9,12 +10,13 @@ export type AXSchedulerMonthDayCell = {
|
|
9
10
|
isToday: boolean;
|
10
11
|
isHoliday: boolean;
|
11
12
|
holidayTitle?: string;
|
12
|
-
appointments:
|
13
|
-
visibleAppointments:
|
14
|
-
hiddenAppointments:
|
13
|
+
appointments: AXSchedulerAppointmentSegment[];
|
14
|
+
visibleAppointments: AXSchedulerAppointmentSegment[];
|
15
|
+
hiddenAppointments: AXSchedulerAppointmentSegment[];
|
15
16
|
overflowCount: number;
|
16
17
|
};
|
17
|
-
export declare class AXSchedulerMonthViewComponent extends
|
18
|
+
export declare class AXSchedulerMonthViewComponent extends NXComponent {
|
19
|
+
private scheduler;
|
18
20
|
private calendarService;
|
19
21
|
private schedulerService;
|
20
22
|
readonly: import("@angular/core").InputSignal<boolean>;
|
@@ -22,18 +24,18 @@ export declare class AXSchedulerMonthViewComponent extends MXBaseComponent {
|
|
22
24
|
calendar: import("@angular/core").InputSignal<string>;
|
23
25
|
date: import("@angular/core").InputSignal<AXDateTime>;
|
24
26
|
firstDayOfWeek: import("@angular/core").InputSignal<AXDayOfWeekName>;
|
25
|
-
appointments: import("@angular/core").InputSignal<
|
27
|
+
appointments: import("@angular/core").InputSignal<AXSchedulerInternalAppointment[]>;
|
26
28
|
readonly DAYS_IN_WEEK = 7;
|
27
29
|
readonly MAX_VISIBLE_APPOINTMENTS_PER_DAY = 2;
|
28
|
-
slotClickedInternal: import("@angular/core").OutputEmitterRef<
|
29
|
-
slotDblClickedInternal: import("@angular/core").OutputEmitterRef<
|
30
|
-
slotRightClickedInternal: import("@angular/core").OutputEmitterRef<
|
31
|
-
appointmentClickedInternal: import("@angular/core").OutputEmitterRef<
|
32
|
-
appointmentDblClickedInternal: import("@angular/core").OutputEmitterRef<
|
33
|
-
appointmentRightClickedInternal: import("@angular/core").OutputEmitterRef<
|
30
|
+
slotClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
31
|
+
slotDblClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
32
|
+
slotRightClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
33
|
+
appointmentClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
34
|
+
appointmentDblClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
35
|
+
appointmentRightClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
34
36
|
onAppointmentDropInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotDropEvent>;
|
35
37
|
private readonly eventOutputMap;
|
36
|
-
handleAppointmentEvent(mouseEvent: MouseEvent, appointmentSegmentOrOriginal:
|
38
|
+
handleAppointmentEvent(mouseEvent: MouseEvent, appointmentSegmentOrOriginal: AXSchedulerInternalAppointment): void;
|
37
39
|
handleSlotEvent(mouseEvent: MouseEvent, date: AXDateTime): void;
|
38
40
|
handleDrop(e: AXDropZoneDropEvent, date: AXDateTime): void;
|
39
41
|
monthStartDate: import("@angular/core").Signal<AXDateTime>;
|
@@ -48,7 +50,7 @@ export declare class AXSchedulerMonthViewComponent extends MXBaseComponent {
|
|
48
50
|
}[];
|
49
51
|
weeksNeeded: number;
|
50
52
|
}>;
|
51
|
-
appointmentsGroupedByDay: import("@angular/core").Signal<Map<string,
|
53
|
+
appointmentsGroupedByDay: import("@angular/core").Signal<Map<string, AXSchedulerInternalAppointment[]>>;
|
52
54
|
dayCellLayouts: import("@angular/core").Signal<AXSchedulerMonthDayCell[]>;
|
53
55
|
gridTemplateRowsStyle: import("@angular/core").Signal<string>;
|
54
56
|
get isReadonly(): boolean;
|
@@ -1,37 +1,39 @@
|
|
1
|
-
import {
|
1
|
+
import { NXComponent } from '@acorex/cdk/common';
|
2
2
|
import { AXDropZoneDropEvent } from '@acorex/cdk/drag-drop';
|
3
3
|
import { AXDateTime } from '@acorex/core/date-time';
|
4
|
-
import {
|
4
|
+
import { AXSchedulerAppointmentLayout, AXSchedulerAppointmentSegment, AXSchedulerInternalAppointment } from '../../scheduler.class';
|
5
|
+
import { AXSchedulerAppointmentMouseEvent, AXSchedulerSlotDropEvent, AXSchedulerSlotMouseEvent } from '../../scheduler.component';
|
5
6
|
import * as i0 from "@angular/core";
|
6
|
-
export declare class AXSchedulerTimelineDayViewComponent extends
|
7
|
+
export declare class AXSchedulerTimelineDayViewComponent extends NXComponent {
|
8
|
+
private scheduler;
|
7
9
|
private schedulerService;
|
8
10
|
readonly GAP_PX = 1;
|
9
11
|
readonly: import("@angular/core").InputSignal<boolean>;
|
10
12
|
draggable: import("@angular/core").InputSignal<boolean>;
|
11
13
|
calendar: import("@angular/core").InputSignal<string>;
|
12
|
-
endHour: import("@angular/core").InputSignal<number>;
|
13
14
|
date: import("@angular/core").InputSignal<AXDateTime>;
|
14
|
-
|
15
|
-
|
15
|
+
endDayHour: import("@angular/core").InputSignal<number>;
|
16
|
+
startDayHour: import("@angular/core").InputSignal<number>;
|
17
|
+
appointments: import("@angular/core").InputSignal<AXSchedulerInternalAppointment[]>;
|
16
18
|
/**
|
17
19
|
* Processes original appointments to get segments relevant to this specific day and its viewable hours.
|
18
20
|
* Filters out original all-day events.
|
19
21
|
*/
|
20
|
-
processedSegmentsForLayout: import("@angular/core").Signal<
|
21
|
-
slotClickedInternal: import("@angular/core").OutputEmitterRef<
|
22
|
-
slotDblClickedInternal: import("@angular/core").OutputEmitterRef<
|
23
|
-
slotRightClickedInternal: import("@angular/core").OutputEmitterRef<
|
24
|
-
appointmentClickedInternal: import("@angular/core").OutputEmitterRef<
|
25
|
-
appointmentDblClickedInternal: import("@angular/core").OutputEmitterRef<
|
26
|
-
appointmentRightClickedInternal: import("@angular/core").OutputEmitterRef<
|
22
|
+
processedSegmentsForLayout: import("@angular/core").Signal<AXSchedulerAppointmentSegment[]>;
|
23
|
+
slotClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
24
|
+
slotDblClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
25
|
+
slotRightClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
26
|
+
appointmentClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
27
|
+
appointmentDblClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
28
|
+
appointmentRightClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
27
29
|
onAppointmentDropInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotDropEvent>;
|
28
30
|
private readonly eventOutputMap;
|
29
|
-
handleAppointmentEvent(mouseEvent: MouseEvent, appointmentItem:
|
31
|
+
handleAppointmentEvent(mouseEvent: MouseEvent, appointmentItem: AXSchedulerInternalAppointment): void;
|
30
32
|
handleSlotEvent(mouseEvent: MouseEvent, startDate: AXDateTime): void;
|
31
33
|
handleDrop(e: AXDropZoneDropEvent, startDate: AXDateTime): void;
|
32
34
|
hoursArray: import("@angular/core").Signal<AXDateTime[]>;
|
33
35
|
appointmentLayouts: import("@angular/core").Signal<AXSchedulerAppointmentLayout[]>;
|
34
36
|
get isReadonly(): boolean;
|
35
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXSchedulerTimelineDayViewComponent, never>;
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXSchedulerTimelineDayViewComponent, "ax-scheduler-timeline-day-view", never, { "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "calendar": { "alias": "calendar"; "required": false; "isSignal": true; }; "
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXSchedulerTimelineDayViewComponent, "ax-scheduler-timeline-day-view", never, { "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "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"; "onAppointmentDropInternal": "onAppointmentDropInternal"; }, never, never, true, never>;
|
37
39
|
}
|
@@ -1,19 +1,21 @@
|
|
1
|
-
import {
|
1
|
+
import { NXComponent } from '@acorex/cdk/common';
|
2
2
|
import { AXDropZoneDropEvent } from '@acorex/cdk/drag-drop';
|
3
3
|
import { AXDateTime, AXHolidayDate } from '@acorex/core/date-time';
|
4
|
-
import {
|
4
|
+
import { AXSchedulerAppointmentSegment, AXSchedulerInternalAppointment } from '../../scheduler.class';
|
5
|
+
import { AXSchedulerAppointmentMouseEvent, AXSchedulerSlotDropEvent, AXSchedulerSlotMouseEvent } from '../../scheduler.component';
|
5
6
|
import * as i0 from "@angular/core";
|
6
7
|
export interface TimelineMonthViewDayData {
|
7
8
|
date: AXDateTime;
|
8
|
-
visibleAppointments:
|
9
|
-
hiddenAppointments:
|
9
|
+
visibleAppointments: AXSchedulerAppointmentSegment[];
|
10
|
+
hiddenAppointments: AXSchedulerAppointmentSegment[];
|
10
11
|
moreCount: number;
|
11
12
|
holiday?: {
|
12
13
|
state: 'holiday' | 'weekend' | 'none';
|
13
14
|
holiday?: AXHolidayDate;
|
14
15
|
};
|
15
16
|
}
|
16
|
-
export declare class AXSchedulerTimelineMonthViewComponent extends
|
17
|
+
export declare class AXSchedulerTimelineMonthViewComponent extends NXComponent {
|
18
|
+
private scheduler;
|
17
19
|
private calendarService;
|
18
20
|
private schedulerService;
|
19
21
|
private readonly MAX_VISIBLE_APPOINTMENTS_PER_DAY;
|
@@ -21,17 +23,17 @@ export declare class AXSchedulerTimelineMonthViewComponent extends MXBaseCompone
|
|
21
23
|
draggable: import("@angular/core").InputSignal<boolean>;
|
22
24
|
calendar: import("@angular/core").InputSignal<string>;
|
23
25
|
date: import("@angular/core").InputSignal<AXDateTime>;
|
24
|
-
appointments: import("@angular/core").InputSignal<
|
26
|
+
appointments: import("@angular/core").InputSignal<AXSchedulerInternalAppointment[]>;
|
25
27
|
processedDayData: import("@angular/core").Signal<TimelineMonthViewDayData[]>;
|
26
|
-
slotClickedInternal: import("@angular/core").OutputEmitterRef<
|
27
|
-
slotDblClickedInternal: import("@angular/core").OutputEmitterRef<
|
28
|
-
slotRightClickedInternal: import("@angular/core").OutputEmitterRef<
|
29
|
-
appointmentClickedInternal: import("@angular/core").OutputEmitterRef<
|
30
|
-
appointmentDblClickedInternal: import("@angular/core").OutputEmitterRef<
|
31
|
-
appointmentRightClickedInternal: import("@angular/core").OutputEmitterRef<
|
28
|
+
slotClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
29
|
+
slotDblClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
30
|
+
slotRightClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
31
|
+
appointmentClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
32
|
+
appointmentDblClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
33
|
+
appointmentRightClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
32
34
|
onAppointmentDropInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotDropEvent>;
|
33
35
|
private readonly eventOutputMap;
|
34
|
-
handleAppointmentEvent(mouseEvent: MouseEvent, appointmentItem:
|
36
|
+
handleAppointmentEvent(mouseEvent: MouseEvent, appointmentItem: AXSchedulerInternalAppointment): void;
|
35
37
|
handleSlotEvent(mouseEvent: MouseEvent, date: AXDateTime): void;
|
36
38
|
handleDrop(e: AXDropZoneDropEvent, date: AXDateTime): void;
|
37
39
|
protected isToday(date: AXDateTime): boolean;
|
package/scheduler/lib/views/timeline-multi-day/scheduler-timeline-multi-day-view.component.d.ts
CHANGED
@@ -1,33 +1,34 @@
|
|
1
|
-
import {
|
1
|
+
import { NXComponent } from '@acorex/cdk/common';
|
2
2
|
import { AXDateTime, AXHolidayDate } from '@acorex/core/date-time';
|
3
|
-
import {
|
3
|
+
import { AXSchedulerInternalAppointment } from '../../scheduler.class';
|
4
|
+
import { AXSchedulerAppointmentMouseEvent, AXSchedulerSlotDropEvent, AXSchedulerSlotMouseEvent } from '../../scheduler.component';
|
4
5
|
import * as i0 from "@angular/core";
|
5
6
|
export interface TimelineMultiDayDaySlot {
|
6
7
|
date: AXDateTime;
|
7
|
-
originalAppointmentsForThisDay:
|
8
|
+
originalAppointmentsForThisDay: AXSchedulerInternalAppointment[];
|
8
9
|
holiday?: {
|
9
10
|
state: 'holiday' | 'weekend' | 'none';
|
10
11
|
holiday?: AXHolidayDate;
|
11
12
|
};
|
12
13
|
}
|
13
|
-
export declare class AXSchedulerTimelineMultiDayViewComponent extends
|
14
|
+
export declare class AXSchedulerTimelineMultiDayViewComponent extends NXComponent {
|
14
15
|
private calendarService;
|
15
16
|
private schedulerService;
|
16
17
|
daysCount: import("@angular/core").InputSignal<number>;
|
17
18
|
readonly: import("@angular/core").InputSignal<boolean>;
|
18
19
|
draggable: import("@angular/core").InputSignal<boolean>;
|
19
20
|
calendar: import("@angular/core").InputSignal<string>;
|
20
|
-
endHour: import("@angular/core").InputSignal<number>;
|
21
21
|
date: import("@angular/core").InputSignal<AXDateTime>;
|
22
|
-
|
23
|
-
|
22
|
+
endDayHour: import("@angular/core").InputSignal<number>;
|
23
|
+
startDayHour: import("@angular/core").InputSignal<number>;
|
24
|
+
appointments: import("@angular/core").InputSignal<AXSchedulerInternalAppointment[]>;
|
24
25
|
daysDataForTimelineViews: import("@angular/core").Signal<TimelineMultiDayDaySlot[]>;
|
25
|
-
slotClickedInternal: import("@angular/core").OutputEmitterRef<
|
26
|
-
slotDblClickedInternal: import("@angular/core").OutputEmitterRef<
|
27
|
-
slotRightClickedInternal: import("@angular/core").OutputEmitterRef<
|
28
|
-
appointmentClickedInternal: import("@angular/core").OutputEmitterRef<
|
29
|
-
appointmentDblClickedInternal: import("@angular/core").OutputEmitterRef<
|
30
|
-
appointmentRightClickedInternal: import("@angular/core").OutputEmitterRef<
|
26
|
+
slotClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
27
|
+
slotDblClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
28
|
+
slotRightClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
29
|
+
appointmentClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
30
|
+
appointmentDblClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
31
|
+
appointmentRightClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
31
32
|
onAppointmentDropInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotDropEvent>;
|
32
33
|
protected isToday(date: AXDateTime): boolean;
|
33
34
|
protected isHoliday(date: AXDateTime): {
|
@@ -35,5 +36,5 @@ export declare class AXSchedulerTimelineMultiDayViewComponent extends MXBaseComp
|
|
35
36
|
holiday?: AXHolidayDate;
|
36
37
|
};
|
37
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXSchedulerTimelineMultiDayViewComponent, never>;
|
38
|
-
static ɵcmp: i0.ɵɵ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; }; "calendar": { "alias": "calendar"; "required": false; "isSignal": true; }; "
|
39
|
+
static ɵcmp: i0.ɵɵ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; }; "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"; "onAppointmentDropInternal": "onAppointmentDropInternal"; }, never, never, true, never>;
|
39
40
|
}
|
@@ -1,42 +1,44 @@
|
|
1
|
-
import {
|
1
|
+
import { NXComponent } from '@acorex/cdk/common';
|
2
2
|
import { AXDropZoneDropEvent } from '@acorex/cdk/drag-drop';
|
3
3
|
import { AXDateTime, AXHolidayDate } from '@acorex/core/date-time';
|
4
|
-
import { AXSchedulerActiveAppointmentsInBlock, AXSchedulerAllDaySlotData,
|
4
|
+
import { AXSchedulerActiveAppointmentsInBlock, AXSchedulerAllDaySlotData, AXSchedulerAppointmentLayout, AXSchedulerAppointmentSegment, AXSchedulerInternalAppointment, AXSchedulerOverflowBadge } from '../../scheduler.class';
|
5
|
+
import { AXSchedulerAppointmentMouseEvent, AXSchedulerSlotDropEvent, AXSchedulerSlotMouseEvent } from '../../scheduler.component';
|
5
6
|
import * as i0 from "@angular/core";
|
6
7
|
type AXSchedulerGridBadgeInfo = AXSchedulerOverflowBadge & {
|
7
|
-
hiddenAppointments:
|
8
|
+
hiddenAppointments: AXSchedulerAppointmentSegment[];
|
8
9
|
};
|
9
|
-
export declare class AXSchedulerWeekViewComponent extends
|
10
|
+
export declare class AXSchedulerWeekViewComponent extends NXComponent {
|
11
|
+
private scheduler;
|
10
12
|
private calendarService;
|
11
13
|
private schedulerService;
|
12
14
|
readonly GAP_PX = 1;
|
13
15
|
readonly: import("@angular/core").InputSignal<boolean>;
|
14
16
|
draggable: import("@angular/core").InputSignal<boolean>;
|
15
17
|
calendar: import("@angular/core").InputSignal<string>;
|
16
|
-
endHour: import("@angular/core").InputSignal<number>;
|
17
18
|
date: import("@angular/core").InputSignal<AXDateTime>;
|
18
|
-
|
19
|
-
|
19
|
+
endDayHour: import("@angular/core").InputSignal<number>;
|
20
|
+
startDayHour: import("@angular/core").InputSignal<number>;
|
21
|
+
appointments: import("@angular/core").InputSignal<AXSchedulerInternalAppointment[]>;
|
20
22
|
/**
|
21
23
|
* Processes all original appointments and generates day-specific segments for the entire week.
|
22
24
|
* Each segment represents the visible part of an appointment on a particular day.
|
23
25
|
* The segment's 'allDay' flag indicates if it should be in the all-day slot or timed grid for that day.
|
24
26
|
*/
|
25
|
-
processedAppointmentsForLayout: import("@angular/core").Signal<
|
27
|
+
processedAppointmentsForLayout: import("@angular/core").Signal<AXSchedulerAppointmentSegment[]>;
|
26
28
|
/**
|
27
29
|
* Segments that are to be displayed in the timed grid area of the week view.
|
28
30
|
* These are segments from processedAppointmentsForLayout where segment.allDay is false.
|
29
31
|
*/
|
30
|
-
timedGridSegments: import("@angular/core").Signal<
|
31
|
-
slotClickedInternal: import("@angular/core").OutputEmitterRef<
|
32
|
-
slotDblClickedInternal: import("@angular/core").OutputEmitterRef<
|
33
|
-
slotRightClickedInternal: import("@angular/core").OutputEmitterRef<
|
34
|
-
appointmentClickedInternal: import("@angular/core").OutputEmitterRef<
|
35
|
-
appointmentDblClickedInternal: import("@angular/core").OutputEmitterRef<
|
36
|
-
appointmentRightClickedInternal: import("@angular/core").OutputEmitterRef<
|
32
|
+
timedGridSegments: import("@angular/core").Signal<AXSchedulerAppointmentSegment[]>;
|
33
|
+
slotClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
34
|
+
slotDblClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
35
|
+
slotRightClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
36
|
+
appointmentClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
37
|
+
appointmentDblClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
38
|
+
appointmentRightClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
37
39
|
onAppointmentDropInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotDropEvent>;
|
38
40
|
private readonly eventOutputMap;
|
39
|
-
handleAppointmentEvent(mouseEvent: MouseEvent, appointmentSegment:
|
41
|
+
handleAppointmentEvent(mouseEvent: MouseEvent, appointmentSegment: AXSchedulerInternalAppointment): void;
|
40
42
|
handleSingleSlotEvent(mouseEvent: MouseEvent, hour: AXDateTime, day: AXDateTime, minuteIndex: number): void;
|
41
43
|
handleAllDaySlotEvent(mouseEvent: MouseEvent, day: AXDateTime): void;
|
42
44
|
handleAllDayDrop(e: AXDropZoneDropEvent, day: AXDateTime): void;
|
@@ -67,6 +69,6 @@ export declare class AXSchedulerWeekViewComponent extends MXBaseComponent {
|
|
67
69
|
};
|
68
70
|
get isReadonly(): boolean;
|
69
71
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXSchedulerWeekViewComponent, never>;
|
70
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXSchedulerWeekViewComponent, "ax-scheduler-week-view", never, { "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "calendar": { "alias": "calendar"; "required": false; "isSignal": true; }; "
|
72
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXSchedulerWeekViewComponent, "ax-scheduler-week-view", never, { "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "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"; "onAppointmentDropInternal": "onAppointmentDropInternal"; }, never, never, true, never>;
|
71
73
|
}
|
72
74
|
export {};
|
@@ -7,6 +7,7 @@ export type AXTreeViewSelectionBehavior = 'autoExpand' | 'cascade' | 'indetermin
|
|
7
7
|
export type AXTreeViewExpandBehavior = 'click' | 'dbClick' | 'defult';
|
8
8
|
export type AXTreeViewOperationMethod = 'expand' | 'active' | 'visible' | 'disabled';
|
9
9
|
export type AXTreeViewLook = 'with-line' | 'defult';
|
10
|
+
export type AXTreeViewSelectionScope = 'all' | 'parent' | 'children';
|
10
11
|
export declare abstract class AXTreeViewBase {
|
11
12
|
abstract getChildren(item: unknown): unknown[];
|
12
13
|
abstract hasChildren(item: unknown): boolean;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { AXExpandToggleIcons, AXValueChangedEvent, NXComponent } from '@acorex/cdk/common';
|
2
2
|
import { AXPlatform } from '@acorex/core/platform';
|
3
3
|
import { TemplateRef } from '@angular/core';
|
4
|
-
import { AXTreeItemClickBaseEvent, AXTreeViewExpandBehavior, AXTreeViewLook, AXTreeViewOperationMethod, AXTreeViewSelectionBehavior } from './tree-view.class';
|
4
|
+
import { AXTreeItemClickBaseEvent, AXTreeViewExpandBehavior, AXTreeViewLook, AXTreeViewOperationMethod, AXTreeViewSelectionBehavior, AXTreeViewSelectionScope } from './tree-view.class';
|
5
5
|
import * as i0 from "@angular/core";
|
6
6
|
export declare class AXTreeViewComponent extends NXComponent {
|
7
7
|
#private;
|
@@ -14,6 +14,7 @@ export declare class AXTreeViewComponent extends NXComponent {
|
|
14
14
|
showCheckbox: import("@angular/core").InputSignal<boolean>;
|
15
15
|
selectionMode: import("@angular/core").InputSignal<"single" | "multiple">;
|
16
16
|
selectionBehavior: import("@angular/core").InputSignal<AXTreeViewSelectionBehavior>;
|
17
|
+
selectionScope: import("@angular/core").InputSignal<AXTreeViewSelectionScope>;
|
17
18
|
focusNodeEnabled: import("@angular/core").InputSignal<boolean>;
|
18
19
|
valueField: import("@angular/core").InputSignal<string>;
|
19
20
|
textField: import("@angular/core").InputSignal<string>;
|
@@ -30,6 +31,7 @@ export declare class AXTreeViewComponent extends NXComponent {
|
|
30
31
|
iconField: import("@angular/core").InputSignal<string>;
|
31
32
|
toggleIcons: import("@angular/core").InputSignal<AXExpandToggleIcons>;
|
32
33
|
onSelectionChanged: import("@angular/core").OutputEmitterRef<AXTreeItemClickBaseEvent>;
|
34
|
+
onItemSelectedChanged: import("@angular/core").OutputEmitterRef<AXTreeItemClickBaseEvent>;
|
33
35
|
onNodeClick: import("@angular/core").OutputEmitterRef<AXTreeItemClickBaseEvent>;
|
34
36
|
onCollapsedChanged: import("@angular/core").OutputEmitterRef<AXTreeItemClickBaseEvent>;
|
35
37
|
onNodedbClick: import("@angular/core").OutputEmitterRef<AXTreeItemClickBaseEvent>;
|
@@ -92,5 +94,5 @@ export declare class AXTreeViewComponent extends NXComponent {
|
|
92
94
|
executeOnTreeNode(node: unknown, operation: AXTreeViewOperationMethod, value: boolean): void;
|
93
95
|
refresh(): void;
|
94
96
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXTreeViewComponent, never>;
|
95
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXTreeViewComponent, "ax-tree-view", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "showCheckbox": { "alias": "showCheckbox"; "required": false; "isSignal": true; }; "selectionMode": { "alias": "selectionMode"; "required": false; "isSignal": true; }; "selectionBehavior": { "alias": "selectionBehavior"; "required": false; "isSignal": true; }; "focusNodeEnabled": { "alias": "focusNodeEnabled"; "required": false; "isSignal": true; }; "valueField": { "alias": "valueField"; "required": false; "isSignal": true; }; "textField": { "alias": "textField"; "required": false; "isSignal": true; }; "visibleField": { "alias": "visibleField"; "required": false; "isSignal": true; }; "disableField": { "alias": "disableField"; "required": false; "isSignal": true; }; "hasChildField": { "alias": "hasChildField"; "required": false; "isSignal": true; }; "selectedField": { "alias": "selectedField"; "required": false; "isSignal": true; }; "expandedField": { "alias": "expandedField"; "required": false; "isSignal": true; }; "tooltipField": { "alias": "tooltipField"; "required": false; "isSignal": true; }; "childrenField": { "alias": "childrenField"; "required": false; "isSignal": true; }; "activeField": { "alias": "activeField"; "required": false; "isSignal": true; }; "indeterminateField": { "alias": "indeterminateField"; "required": false; "isSignal": true; }; "parentField": { "alias": "parentField"; "required": false; "isSignal": true; }; "iconField": { "alias": "iconField"; "required": false; "isSignal": true; }; "toggleIcons": { "alias": "toggleIcons"; "required": false; "isSignal": true; }; "look": { "alias": "look"; "required": false; "isSignal": true; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; }; "emptyTemplate": { "alias": "emptyTemplate"; "required": false; }; "expandOn": { "alias": "expandOn"; "required": false; "isSignal": true; }; }, { "onSelectionChanged": "onSelectionChanged"; "onNodeClick": "onNodeClick"; "onCollapsedChanged": "onCollapsedChanged"; "onNodedbClick": "onNodedbClick"; }, never, never, true, never>;
|
97
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXTreeViewComponent, "ax-tree-view", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "showCheckbox": { "alias": "showCheckbox"; "required": false; "isSignal": true; }; "selectionMode": { "alias": "selectionMode"; "required": false; "isSignal": true; }; "selectionBehavior": { "alias": "selectionBehavior"; "required": false; "isSignal": true; }; "selectionScope": { "alias": "selectionScope"; "required": false; "isSignal": true; }; "focusNodeEnabled": { "alias": "focusNodeEnabled"; "required": false; "isSignal": true; }; "valueField": { "alias": "valueField"; "required": false; "isSignal": true; }; "textField": { "alias": "textField"; "required": false; "isSignal": true; }; "visibleField": { "alias": "visibleField"; "required": false; "isSignal": true; }; "disableField": { "alias": "disableField"; "required": false; "isSignal": true; }; "hasChildField": { "alias": "hasChildField"; "required": false; "isSignal": true; }; "selectedField": { "alias": "selectedField"; "required": false; "isSignal": true; }; "expandedField": { "alias": "expandedField"; "required": false; "isSignal": true; }; "tooltipField": { "alias": "tooltipField"; "required": false; "isSignal": true; }; "childrenField": { "alias": "childrenField"; "required": false; "isSignal": true; }; "activeField": { "alias": "activeField"; "required": false; "isSignal": true; }; "indeterminateField": { "alias": "indeterminateField"; "required": false; "isSignal": true; }; "parentField": { "alias": "parentField"; "required": false; "isSignal": true; }; "iconField": { "alias": "iconField"; "required": false; "isSignal": true; }; "toggleIcons": { "alias": "toggleIcons"; "required": false; "isSignal": true; }; "look": { "alias": "look"; "required": false; "isSignal": true; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; }; "emptyTemplate": { "alias": "emptyTemplate"; "required": false; }; "expandOn": { "alias": "expandOn"; "required": false; "isSignal": true; }; }, { "onSelectionChanged": "onSelectionChanged"; "onItemSelectedChanged": "onItemSelectedChanged"; "onNodeClick": "onNodeClick"; "onCollapsedChanged": "onCollapsedChanged"; "onNodedbClick": "onNodedbClick"; }, never, never, true, never>;
|
96
98
|
}
|