@acorex/components 20.1.8 → 20.1.10
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/conversation/index.d.ts +15 -4
- package/fesm2022/acorex-components-conversation.mjs +39 -11
- 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 +356 -331
- 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 +17 -17
- package/popover/index.d.ts +9 -1
- package/scheduler/index.d.ts +150 -49
- package/tooltip/index.d.ts +4 -2
package/kanban/index.d.ts
CHANGED
@@ -4,6 +4,8 @@ import { TemplateRef } from '@angular/core';
|
|
4
4
|
import { AXDropListDroppedEvent } from '@acorex/cdk/drag-drop';
|
5
5
|
|
6
6
|
declare class AXKanbanComponent extends NXComponent {
|
7
|
+
hasActions: _angular_core.InputSignal<boolean>;
|
8
|
+
dragStartDelay: _angular_core.InputSignal<number>;
|
7
9
|
statuses: _angular_core.InputSignal<AXKanbanStatus[]>;
|
8
10
|
itemTemplate: _angular_core.InputSignal<TemplateRef<unknown>>;
|
9
11
|
dataSource: _angular_core.InputSignal<any[] | AXKanbanItem[]>;
|
@@ -18,7 +20,9 @@ declare class AXKanbanComponent extends NXComponent {
|
|
18
20
|
headerTemplate: _angular_core.InputSignal<TemplateRef<unknown>>;
|
19
21
|
footerTemplate: _angular_core.InputSignal<TemplateRef<unknown>>;
|
20
22
|
contentFooterTemplate: _angular_core.InputSignal<TemplateRef<unknown>>;
|
23
|
+
tooltipTemplate: _angular_core.InputSignal<string | TemplateRef<unknown>>;
|
21
24
|
onSortChanged: _angular_core.OutputEmitterRef<AXKanbanSortEvent>;
|
25
|
+
onActionClick: _angular_core.OutputEmitterRef<AXKanbanActionClickEvent>;
|
22
26
|
protected items: _angular_core.Signal<AXKanbanItem[]>;
|
23
27
|
protected filteredStatuses: _angular_core.Signal<AXKanbanStatus[]>;
|
24
28
|
/**
|
@@ -31,7 +35,7 @@ declare class AXKanbanComponent extends NXComponent {
|
|
31
35
|
protected getOriginalItemsById(key: any): any[];
|
32
36
|
protected stringify(value: any): string;
|
33
37
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXKanbanComponent, never>;
|
34
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXKanbanComponent, "ax-kanban", never, { "statuses": { "alias": "statuses"; "required": false; "isSignal": true; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; "isSignal": true; }; "dataSource": { "alias": "dataSource"; "required": false; "isSignal": true; }; "keyField": { "alias": "keyField"; "required": false; "isSignal": true; }; "indexField": { "alias": "indexField"; "required": false; "isSignal": true; }; "titleField": { "alias": "titleField"; "required": false; "isSignal": true; }; "cssClassField": { "alias": "cssClassField"; "required": false; "isSignal": true; }; "priorityField": { "alias": "priorityField"; "required": false; "isSignal": true; }; "statusKeyField": { "alias": "statusKeyField"; "required": false; "isSignal": true; }; "descriptionField": { "alias": "descriptionField"; "required": false; "isSignal": true; }; "emptyTemplate": { "alias": "emptyTemplate"; "required": false; "isSignal": true; }; "headerTemplate": { "alias": "headerTemplate"; "required": false; "isSignal": true; }; "footerTemplate": { "alias": "footerTemplate"; "required": false; "isSignal": true; }; "contentFooterTemplate": { "alias": "contentFooterTemplate"; "required": false; "isSignal": true; }; }, { "onSortChanged": "onSortChanged"; }, never, never, true, never>;
|
38
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXKanbanComponent, "ax-kanban", never, { "hasActions": { "alias": "hasActions"; "required": false; "isSignal": true; }; "dragStartDelay": { "alias": "dragStartDelay"; "required": false; "isSignal": true; }; "statuses": { "alias": "statuses"; "required": false; "isSignal": true; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; "isSignal": true; }; "dataSource": { "alias": "dataSource"; "required": false; "isSignal": true; }; "keyField": { "alias": "keyField"; "required": false; "isSignal": true; }; "indexField": { "alias": "indexField"; "required": false; "isSignal": true; }; "titleField": { "alias": "titleField"; "required": false; "isSignal": true; }; "cssClassField": { "alias": "cssClassField"; "required": false; "isSignal": true; }; "priorityField": { "alias": "priorityField"; "required": false; "isSignal": true; }; "statusKeyField": { "alias": "statusKeyField"; "required": false; "isSignal": true; }; "descriptionField": { "alias": "descriptionField"; "required": false; "isSignal": true; }; "emptyTemplate": { "alias": "emptyTemplate"; "required": false; "isSignal": true; }; "headerTemplate": { "alias": "headerTemplate"; "required": false; "isSignal": true; }; "footerTemplate": { "alias": "footerTemplate"; "required": false; "isSignal": true; }; "contentFooterTemplate": { "alias": "contentFooterTemplate"; "required": false; "isSignal": true; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; "isSignal": true; }; }, { "onSortChanged": "onSortChanged"; "onActionClick": "onActionClick"; }, never, never, true, never>;
|
35
39
|
}
|
36
40
|
|
37
41
|
type AXKanbanItem = {
|
@@ -57,6 +61,9 @@ interface AXKanbanSortEvent extends NXNativeEvent<AXKanbanComponent, MouseEvent>
|
|
57
61
|
currentStatusKey: any;
|
58
62
|
previousStatusKey: any;
|
59
63
|
}
|
64
|
+
interface AXKanbanActionClickEvent extends NXNativeEvent<AXKanbanComponent, MouseEvent> {
|
65
|
+
item: any;
|
66
|
+
}
|
60
67
|
|
61
68
|
export { AXKanbanComponent };
|
62
|
-
export type { AXKanbanItem, AXKanbanSortEvent, AXKanbanStatus };
|
69
|
+
export type { AXKanbanActionClickEvent, AXKanbanItem, AXKanbanSortEvent, AXKanbanStatus };
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@acorex/components",
|
3
|
-
"version": "20.1.
|
3
|
+
"version": "20.1.10",
|
4
4
|
"peerDependencies": {
|
5
5
|
"@angular/common": "^20.0.0",
|
6
6
|
"@angular/core": "^20.0.0",
|
@@ -26,6 +26,14 @@
|
|
26
26
|
"types": "./index.d.ts",
|
27
27
|
"default": "./fesm2022/acorex-components.mjs"
|
28
28
|
},
|
29
|
+
"./accordion": {
|
30
|
+
"types": "./accordion/index.d.ts",
|
31
|
+
"default": "./fesm2022/acorex-components-accordion.mjs"
|
32
|
+
},
|
33
|
+
"./action-sheet": {
|
34
|
+
"types": "./action-sheet/index.d.ts",
|
35
|
+
"default": "./fesm2022/acorex-components-action-sheet.mjs"
|
36
|
+
},
|
29
37
|
"./alert": {
|
30
38
|
"types": "./alert/index.d.ts",
|
31
39
|
"default": "./fesm2022/acorex-components-alert.mjs"
|
@@ -38,14 +46,6 @@
|
|
38
46
|
"types": "./autocomplete/index.d.ts",
|
39
47
|
"default": "./fesm2022/acorex-components-autocomplete.mjs"
|
40
48
|
},
|
41
|
-
"./action-sheet": {
|
42
|
-
"types": "./action-sheet/index.d.ts",
|
43
|
-
"default": "./fesm2022/acorex-components-action-sheet.mjs"
|
44
|
-
},
|
45
|
-
"./accordion": {
|
46
|
-
"types": "./accordion/index.d.ts",
|
47
|
-
"default": "./fesm2022/acorex-components-accordion.mjs"
|
48
|
-
},
|
49
49
|
"./avatar": {
|
50
50
|
"types": "./avatar/index.d.ts",
|
51
51
|
"default": "./fesm2022/acorex-components-avatar.mjs"
|
@@ -338,14 +338,14 @@
|
|
338
338
|
"types": "./selection-list-2/index.d.ts",
|
339
339
|
"default": "./fesm2022/acorex-components-selection-list-2.mjs"
|
340
340
|
},
|
341
|
-
"./skeleton": {
|
342
|
-
"types": "./skeleton/index.d.ts",
|
343
|
-
"default": "./fesm2022/acorex-components-skeleton.mjs"
|
344
|
-
},
|
345
341
|
"./side-menu": {
|
346
342
|
"types": "./side-menu/index.d.ts",
|
347
343
|
"default": "./fesm2022/acorex-components-side-menu.mjs"
|
348
344
|
},
|
345
|
+
"./skeleton": {
|
346
|
+
"types": "./skeleton/index.d.ts",
|
347
|
+
"default": "./fesm2022/acorex-components-skeleton.mjs"
|
348
|
+
},
|
349
349
|
"./slider": {
|
350
350
|
"types": "./slider/index.d.ts",
|
351
351
|
"default": "./fesm2022/acorex-components-slider.mjs"
|
@@ -390,6 +390,10 @@
|
|
390
390
|
"types": "./time-line/index.d.ts",
|
391
391
|
"default": "./fesm2022/acorex-components-time-line.mjs"
|
392
392
|
},
|
393
|
+
"./toast": {
|
394
|
+
"types": "./toast/index.d.ts",
|
395
|
+
"default": "./fesm2022/acorex-components-toast.mjs"
|
396
|
+
},
|
393
397
|
"./toolbar": {
|
394
398
|
"types": "./toolbar/index.d.ts",
|
395
399
|
"default": "./fesm2022/acorex-components-toolbar.mjs"
|
@@ -402,10 +406,6 @@
|
|
402
406
|
"types": "./tree-view/index.d.ts",
|
403
407
|
"default": "./fesm2022/acorex-components-tree-view.mjs"
|
404
408
|
},
|
405
|
-
"./toast": {
|
406
|
-
"types": "./toast/index.d.ts",
|
407
|
-
"default": "./fesm2022/acorex-components-toast.mjs"
|
408
|
-
},
|
409
409
|
"./uploader": {
|
410
410
|
"types": "./uploader/index.d.ts",
|
411
411
|
"default": "./fesm2022/acorex-components-uploader.mjs"
|
package/popover/index.d.ts
CHANGED
@@ -33,6 +33,14 @@ declare class AXPopoverComponent extends MXBaseComponent {
|
|
33
33
|
/** @ignore */
|
34
34
|
private _overlayEvents;
|
35
35
|
/** @ignore */
|
36
|
+
private _disabled;
|
37
|
+
/**
|
38
|
+
* Gets or sets whether the popover is disabled.
|
39
|
+
* When disabled, the popover will not open and will close if already open.
|
40
|
+
*/
|
41
|
+
get disabled(): boolean;
|
42
|
+
set disabled(v: boolean);
|
43
|
+
/** @ignore */
|
36
44
|
private _offsetX;
|
37
45
|
/**
|
38
46
|
* Gets or sets the horizontal offset and updates it accordingly.
|
@@ -209,7 +217,7 @@ declare class AXPopoverComponent extends MXBaseComponent {
|
|
209
217
|
/** @ignore */
|
210
218
|
ngOnDestroy(): void;
|
211
219
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPopoverComponent, never>;
|
212
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXPopoverComponent, "ax-popover", never, { "offsetX": { "alias": "offsetX"; "required": false; }; "offsetY": { "alias": "offsetY"; "required": false; }; "target": { "alias": "target"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "content": { "alias": "content"; "required": false; }; "openOn": { "alias": "openOn"; "required": false; }; "closeOn": { "alias": "closeOn"; "required": false; }; "hasBackdrop": { "alias": "hasBackdrop"; "required": false; }; "openAfter": { "alias": "openAfter"; "required": false; }; "closeAfter": { "alias": "closeAfter"; "required": false; }; "backdropClass": { "alias": "backdropClass"; "required": false; }; "panelClass": { "alias": "panelClass"; "required": false; }; "adaptivityEnabled": { "alias": "adaptivityEnabled"; "required": false; }; }, { "onOpened": "onOpened"; "onClosed": "onClosed"; }, never, ["*"], true, never>;
|
220
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPopoverComponent, "ax-popover", never, { "disabled": { "alias": "disabled"; "required": false; }; "offsetX": { "alias": "offsetX"; "required": false; }; "offsetY": { "alias": "offsetY"; "required": false; }; "target": { "alias": "target"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "content": { "alias": "content"; "required": false; }; "openOn": { "alias": "openOn"; "required": false; }; "closeOn": { "alias": "closeOn"; "required": false; }; "hasBackdrop": { "alias": "hasBackdrop"; "required": false; }; "openAfter": { "alias": "openAfter"; "required": false; }; "closeAfter": { "alias": "closeAfter"; "required": false; }; "backdropClass": { "alias": "backdropClass"; "required": false; }; "panelClass": { "alias": "panelClass"; "required": false; }; "adaptivityEnabled": { "alias": "adaptivityEnabled"; "required": false; }; }, { "onOpened": "onOpened"; "onClosed": "onClosed"; }, never, ["*"], true, never>;
|
213
221
|
}
|
214
222
|
|
215
223
|
declare class AXPopoverModule {
|
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[]>;
|
@@ -157,10 +159,11 @@ declare class AXSchedulerComponent extends NXComponent implements OnInit {
|
|
157
159
|
handleFullScreen(): void;
|
158
160
|
refresh(appointments?: AXSchedulerAppointment[]): Promise<void>;
|
159
161
|
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>;
|
162
|
+
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
163
|
}
|
162
164
|
|
163
165
|
declare class AXSchedulerDayViewComponent extends NXComponent {
|
166
|
+
private document;
|
164
167
|
private scheduler;
|
165
168
|
private calendarService;
|
166
169
|
private schedulerService;
|
@@ -174,6 +177,8 @@ declare class AXSchedulerDayViewComponent extends NXComponent {
|
|
174
177
|
endDayHour: _angular_core.InputSignal<number>;
|
175
178
|
startDayHour: _angular_core.InputSignal<number>;
|
176
179
|
appointments: _angular_core.InputSignal<AXSchedulerAppointment[]>;
|
180
|
+
tooltipTemplate: _angular_core.InputSignal<string | TemplateRef<unknown>>;
|
181
|
+
private dragStartSlotId;
|
177
182
|
processedAppointmentsForLayout: _angular_core.Signal<AXSchedulerAppointmentSegment[]>;
|
178
183
|
allDayAppointments: _angular_core.Signal<AXSchedulerAppointment[]>;
|
179
184
|
singleDayAppointments: _angular_core.Signal<AXSchedulerAppointmentSegment[]>;
|
@@ -201,19 +206,23 @@ declare class AXSchedulerDayViewComponent extends NXComponent {
|
|
201
206
|
getAppointmentWidth(key: any): string;
|
202
207
|
getAppointmentTop(key: any): string;
|
203
208
|
getAppointmentHeight(key: any): string;
|
209
|
+
getSlotId(e: PointerEvent): void;
|
204
210
|
get isReadonly(): boolean;
|
205
211
|
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"; "onAppointmentDropInternal": "onAppointmentDropInternal"; "onActionClickInternal": "onActionClickInternal"; }, never, never, true, never>;
|
212
|
+
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"; "onAppointmentDropInternal": "onAppointmentDropInternal"; "onActionClickInternal": "onActionClickInternal"; }, never, never, true, never>;
|
207
213
|
}
|
208
214
|
|
209
215
|
type AXSchedulerGridBadgeInfo = AXSchedulerOverflowBadge & {
|
210
216
|
hiddenAppointments: AXSchedulerAppointmentSegment[];
|
211
217
|
};
|
212
218
|
declare class AXSchedulerWeekViewComponent extends NXComponent {
|
213
|
-
private
|
214
|
-
private
|
215
|
-
private
|
216
|
-
readonly
|
219
|
+
private readonly document;
|
220
|
+
private readonly scheduler;
|
221
|
+
private readonly calendarService;
|
222
|
+
private readonly schedulerService;
|
223
|
+
private readonly dragStartSlotId;
|
224
|
+
private readonly GAP_PX;
|
225
|
+
private readonly BADGE_SPACE_REM;
|
217
226
|
readonly: _angular_core.InputSignal<boolean>;
|
218
227
|
draggable: _angular_core.InputSignal<boolean>;
|
219
228
|
hasActions: _angular_core.InputSignal<boolean>;
|
@@ -223,61 +232,136 @@ declare class AXSchedulerWeekViewComponent extends NXComponent {
|
|
223
232
|
endDayHour: _angular_core.InputSignal<number>;
|
224
233
|
startDayHour: _angular_core.InputSignal<number>;
|
225
234
|
appointments: _angular_core.InputSignal<AXSchedulerAppointment[]>;
|
235
|
+
tooltipTemplate: _angular_core.InputSignal<string | TemplateRef<unknown>>;
|
236
|
+
protected readonly slotClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
237
|
+
protected readonly slotDblClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
238
|
+
protected readonly slotRightClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
239
|
+
protected readonly appointmentClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
240
|
+
protected readonly appointmentDblClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
241
|
+
protected readonly appointmentRightClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerAppointmentMouseEvent>;
|
242
|
+
protected readonly onAppointmentDropInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotDropEvent>;
|
243
|
+
protected readonly onActionClickInternal: _angular_core.OutputEmitterRef<{
|
244
|
+
appointment: AXSchedulerAppointment;
|
245
|
+
}>;
|
226
246
|
/**
|
227
|
-
*
|
228
|
-
*
|
229
|
-
*
|
247
|
+
* @protected
|
248
|
+
* Generates an array of AXDateTime objects for the hours displayed in the view's time ruler.
|
249
|
+
* This is used for rendering the `HH:mm` labels on the side.
|
230
250
|
*/
|
231
|
-
|
251
|
+
protected hoursArray: _angular_core.Signal<AXDateTime[]>;
|
232
252
|
/**
|
233
|
-
*
|
234
|
-
*
|
253
|
+
* @protected
|
254
|
+
* Generates an array of day data objects for the 7 days in the view, including holiday info.
|
255
|
+
* This is used for rendering the day headers (e.g., "Monday 10").
|
235
256
|
*/
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
257
|
+
protected daysArray: _angular_core.Signal<{
|
258
|
+
date: AXDateTime;
|
259
|
+
holiday?: {
|
260
|
+
state: "holiday" | "weekend" | "none";
|
261
|
+
holiday?: AXHolidayDate;
|
262
|
+
};
|
263
|
+
}[]>;
|
264
|
+
/**
|
265
|
+
* @protected
|
266
|
+
* Calculates the total number of 30-minute blocks within the visible hours of a single day.
|
267
|
+
*/
|
268
|
+
protected totalBlocksPerViewDay: _angular_core.Signal<number>;
|
269
|
+
/**
|
270
|
+
* @protected
|
271
|
+
* Filters processed segments to get only those for the all-day header.
|
272
|
+
*/
|
273
|
+
protected allDayAppointmentsPerDay: _angular_core.Signal<AXSchedulerAllDaySlotData[]>;
|
274
|
+
/**
|
275
|
+
* [STEP 1 - Private] Calculate a full multi-column layout for each day, as if it were a Day View.
|
276
|
+
* This becomes the single source of truth for what overlaps with what.
|
277
|
+
*/
|
278
|
+
private dayViewLayoutsByDay;
|
279
|
+
/**
|
280
|
+
* @protected
|
281
|
+
* [STEP 2] From the full layout, select ONLY appointments in the first column (`columnIndex: 0`)
|
282
|
+
* to be visible. Calculate their width based on whether they have siblings in other columns.
|
283
|
+
*/
|
284
|
+
protected visibleAppointmentsLayout: _angular_core.Signal<AXSchedulerAppointmentLayout[]>;
|
285
|
+
/**
|
286
|
+
* @protected
|
287
|
+
* [STEP 3] Create badges for all appointments NOT in the first column (`columnIndex > 0`).
|
288
|
+
*/
|
289
|
+
protected overflowBadgesWithData: _angular_core.Signal<AXSchedulerGridBadgeInfo[]>;
|
247
290
|
private readonly eventOutputMap;
|
291
|
+
/**
|
292
|
+
* Handles click, dblclick, and contextmenu events on an appointment and emits them to the parent.
|
293
|
+
* @param mouseEvent The native DOM event.
|
294
|
+
* @param appointmentSegment The appointment data segment that was interacted with.
|
295
|
+
* @public
|
296
|
+
*/
|
248
297
|
handleAppointmentEvent(mouseEvent: MouseEvent, appointmentSegment: AXSchedulerAppointment): void;
|
298
|
+
/**
|
299
|
+
* Handles click, dblclick, and contextmenu events on an empty time slot and emits them to the parent.
|
300
|
+
* @param mouseEvent The native DOM event.
|
301
|
+
* @param hour The starting hour of the slot.
|
302
|
+
* @param day The day of the slot.
|
303
|
+
* @param minuteIndex The half-hour index (0 or 1).
|
304
|
+
* @public
|
305
|
+
*/
|
249
306
|
handleSingleSlotEvent(mouseEvent: MouseEvent, hour: AXDateTime, day: AXDateTime, minuteIndex: number): void;
|
307
|
+
/**
|
308
|
+
* Handles interaction events on the all-day slot.
|
309
|
+
* @param mouseEvent The native DOM event.
|
310
|
+
* @param day The corresponding day for the all-day slot.
|
311
|
+
* @public
|
312
|
+
*/
|
250
313
|
handleAllDaySlotEvent(mouseEvent: MouseEvent, day: AXDateTime): void;
|
314
|
+
/**
|
315
|
+
* Handles dropping an appointment onto the all-day slot.
|
316
|
+
* @param e The drop event from the CDK.
|
317
|
+
* @param day The corresponding day for the all-day slot.
|
318
|
+
* @public
|
319
|
+
*/
|
251
320
|
handleAllDayDrop(e: AXDropZoneDropEvent, day: AXDateTime): void;
|
321
|
+
/**
|
322
|
+
* Handles dropping an appointment onto a timed grid slot.
|
323
|
+
* @param e The drop event from the CDK.
|
324
|
+
* @param hour The starting hour of the drop target.
|
325
|
+
* @param day The day of the drop target.
|
326
|
+
* @param minuteIndex The half-hour index (0 or 1) of the drop target.
|
327
|
+
* @public
|
328
|
+
*/
|
252
329
|
handleSingleDayDrop(e: AXDropZoneDropEvent, hour: AXDateTime, day: AXDateTime, minuteIndex: number): void;
|
330
|
+
/**
|
331
|
+
* Handles clicks on the "more" action icon on an appointment.
|
332
|
+
* @param event The native mouse event.
|
333
|
+
* @param appointmentItem The appointment associated with the action.
|
334
|
+
* @public
|
335
|
+
*/
|
253
336
|
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
337
|
/**
|
269
|
-
*
|
338
|
+
* @protected
|
339
|
+
* Checks if a given date is the current day.
|
340
|
+
* @param date The date to check.
|
341
|
+
* @returns `true` if the date is today.
|
270
342
|
*/
|
271
|
-
allDayAppointmentsPerDay: _angular_core.Signal<AXSchedulerAllDaySlotData[]>;
|
272
|
-
overflowBadgesWithData: _angular_core.Signal<AXSchedulerGridBadgeInfo[]>;
|
273
343
|
protected isToday(date: AXDateTime): boolean;
|
344
|
+
/**
|
345
|
+
* @protected
|
346
|
+
* Checks if a given date is a holiday or weekend.
|
347
|
+
* @param date The date to check.
|
348
|
+
* @returns An object describing the day's status (holiday, weekend, or none).
|
349
|
+
*/
|
274
350
|
protected isHoliday(date: AXDateTime): {
|
275
351
|
state: 'holiday' | 'weekend' | 'none';
|
276
352
|
holiday?: AXHolidayDate;
|
277
353
|
};
|
278
|
-
|
354
|
+
/**
|
355
|
+
* @protected
|
356
|
+
* Captures the data-slot-id attribute when a drag operation starts on an appointment.
|
357
|
+
* @param e The pointer event that initiates the drag.
|
358
|
+
*/
|
359
|
+
protected getSlotId(e: PointerEvent): void;
|
360
|
+
protected get isReadonly(): boolean;
|
361
|
+
private processedAppointmentsForLayout;
|
362
|
+
private timedGridSegments;
|
279
363
|
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"; "onAppointmentDropInternal": "onAppointmentDropInternal"; "onActionClickInternal": "onActionClickInternal"; }, never, never, true, never>;
|
364
|
+
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"; "onAppointmentDropInternal": "onAppointmentDropInternal"; "onActionClickInternal": "onActionClickInternal"; }, never, never, true, never>;
|
281
365
|
}
|
282
366
|
|
283
367
|
type AXSchedulerMonthDayCell = {
|
@@ -292,6 +376,7 @@ type AXSchedulerMonthDayCell = {
|
|
292
376
|
overflowCount: number;
|
293
377
|
};
|
294
378
|
declare class AXSchedulerMonthViewComponent extends NXComponent {
|
379
|
+
private document;
|
295
380
|
private scheduler;
|
296
381
|
private calendarService;
|
297
382
|
private schedulerService;
|
@@ -301,10 +386,12 @@ declare class AXSchedulerMonthViewComponent extends NXComponent {
|
|
301
386
|
dragStartDelay: _angular_core.InputSignal<number>;
|
302
387
|
calendar: _angular_core.InputSignal<string>;
|
303
388
|
date: _angular_core.InputSignal<AXDateTime>;
|
304
|
-
firstDayOfWeek: _angular_core.InputSignal<AXDayOfWeekName>;
|
305
389
|
appointments: _angular_core.InputSignal<AXSchedulerAppointment[]>;
|
390
|
+
firstDayOfWeek: _angular_core.InputSignal<AXDayOfWeekName>;
|
391
|
+
tooltipTemplate: _angular_core.InputSignal<string | TemplateRef<unknown>>;
|
306
392
|
readonly DAYS_IN_WEEK = 7;
|
307
393
|
readonly MAX_VISIBLE_APPOINTMENTS_PER_DAY = 2;
|
394
|
+
private dragStartSlotId;
|
308
395
|
slotClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
309
396
|
slotDblClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
310
397
|
slotRightClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
@@ -335,12 +422,14 @@ declare class AXSchedulerMonthViewComponent extends NXComponent {
|
|
335
422
|
appointmentsGroupedByDay: _angular_core.Signal<Map<string, AXSchedulerAppointment[]>>;
|
336
423
|
dayCellLayouts: _angular_core.Signal<AXSchedulerMonthDayCell[]>;
|
337
424
|
gridTemplateRowsStyle: _angular_core.Signal<string>;
|
425
|
+
getSlotId(e: PointerEvent): void;
|
338
426
|
get isReadonly(): boolean;
|
339
427
|
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; }; "
|
428
|
+
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"; "onAppointmentDropInternal": "onAppointmentDropInternal"; "onActionClickInternal": "onActionClickInternal"; }, never, never, true, never>;
|
341
429
|
}
|
342
430
|
|
343
431
|
declare class AXSchedulerTimelineDayViewComponent extends NXComponent {
|
432
|
+
private document;
|
344
433
|
private scheduler;
|
345
434
|
private calendarService;
|
346
435
|
private schedulerService;
|
@@ -354,6 +443,8 @@ declare class AXSchedulerTimelineDayViewComponent extends NXComponent {
|
|
354
443
|
endDayHour: _angular_core.InputSignal<number>;
|
355
444
|
startDayHour: _angular_core.InputSignal<number>;
|
356
445
|
appointments: _angular_core.InputSignal<AXSchedulerAppointment[]>;
|
446
|
+
tooltipTemplate: _angular_core.InputSignal<string | TemplateRef<unknown>>;
|
447
|
+
private dragStartSlotId;
|
357
448
|
/**
|
358
449
|
* Processes original appointments to get segments relevant to this specific day and its viewable hours.
|
359
450
|
* Filters out original all-day events.
|
@@ -376,9 +467,10 @@ declare class AXSchedulerTimelineDayViewComponent extends NXComponent {
|
|
376
467
|
handleActionClick(event: MouseEvent, appointmentItem: AXSchedulerAppointment): void;
|
377
468
|
hoursArray: _angular_core.Signal<AXDateTime[]>;
|
378
469
|
appointmentLayouts: _angular_core.Signal<AXSchedulerAppointmentLayout[]>;
|
470
|
+
getSlotId(e: PointerEvent): void;
|
379
471
|
get isReadonly(): boolean;
|
380
472
|
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"; "onAppointmentDropInternal": "onAppointmentDropInternal"; "onActionClickInternal": "onActionClickInternal"; }, never, never, true, never>;
|
473
|
+
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"; "onAppointmentDropInternal": "onAppointmentDropInternal"; "onActionClickInternal": "onActionClickInternal"; }, never, never, true, never>;
|
382
474
|
}
|
383
475
|
|
384
476
|
declare class AXSchedulerModule {
|
@@ -471,6 +563,7 @@ interface AgendaDayData {
|
|
471
563
|
};
|
472
564
|
}
|
473
565
|
declare class AXSchedulerAgendaViewComponent extends NXComponent {
|
566
|
+
private document;
|
474
567
|
private scheduler;
|
475
568
|
private calendarService;
|
476
569
|
private schedulerService;
|
@@ -482,6 +575,8 @@ declare class AXSchedulerAgendaViewComponent extends NXComponent {
|
|
482
575
|
calendar: _angular_core.InputSignal<string>;
|
483
576
|
date: _angular_core.InputSignal<AXDateTime>;
|
484
577
|
appointments: _angular_core.InputSignal<AXSchedulerAppointment[]>;
|
578
|
+
tooltipTemplate: _angular_core.InputSignal<string | TemplateRef<unknown>>;
|
579
|
+
private dragStartSlotId;
|
485
580
|
agendaDaysLayout: _angular_core.Signal<AgendaDayData[]>;
|
486
581
|
slotClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
487
582
|
slotDblClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
@@ -503,9 +598,10 @@ declare class AXSchedulerAgendaViewComponent extends NXComponent {
|
|
503
598
|
state: 'holiday' | 'weekend' | 'none';
|
504
599
|
holiday?: AXHolidayDate;
|
505
600
|
};
|
601
|
+
getSlotId(e: PointerEvent): void;
|
506
602
|
get isReadonly(): boolean;
|
507
603
|
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"; "onAppointmentDropInternal": "onAppointmentDropInternal"; "onActionClickInternal": "onActionClickInternal"; }, never, never, true, never>;
|
604
|
+
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"; "onAppointmentDropInternal": "onAppointmentDropInternal"; "onActionClickInternal": "onActionClickInternal"; }, never, never, true, never>;
|
509
605
|
}
|
510
606
|
|
511
607
|
interface TimelineMonthViewDayData {
|
@@ -519,6 +615,7 @@ interface TimelineMonthViewDayData {
|
|
519
615
|
};
|
520
616
|
}
|
521
617
|
declare class AXSchedulerTimelineMonthViewComponent extends NXComponent {
|
618
|
+
private document;
|
522
619
|
private scheduler;
|
523
620
|
private calendarService;
|
524
621
|
private schedulerService;
|
@@ -530,6 +627,8 @@ declare class AXSchedulerTimelineMonthViewComponent extends NXComponent {
|
|
530
627
|
calendar: _angular_core.InputSignal<string>;
|
531
628
|
date: _angular_core.InputSignal<AXDateTime>;
|
532
629
|
appointments: _angular_core.InputSignal<AXSchedulerAppointment[]>;
|
630
|
+
tooltipTemplate: _angular_core.InputSignal<string | TemplateRef<unknown>>;
|
631
|
+
private dragStartSlotId;
|
533
632
|
processedDayData: _angular_core.Signal<TimelineMonthViewDayData[]>;
|
534
633
|
slotClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
535
634
|
slotDblClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
@@ -551,9 +650,10 @@ declare class AXSchedulerTimelineMonthViewComponent extends NXComponent {
|
|
551
650
|
state: 'holiday' | 'weekend' | 'none';
|
552
651
|
holiday?: AXHolidayDate;
|
553
652
|
};
|
653
|
+
getSlotId(e: PointerEvent): void;
|
554
654
|
get isReadonly(): boolean;
|
555
655
|
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"; "onAppointmentDropInternal": "onAppointmentDropInternal"; "onActionClickInternal": "onActionClickInternal"; }, never, never, true, never>;
|
656
|
+
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"; "onAppointmentDropInternal": "onAppointmentDropInternal"; "onActionClickInternal": "onActionClickInternal"; }, never, never, true, never>;
|
557
657
|
}
|
558
658
|
|
559
659
|
interface TimelineMultiDayDaySlot {
|
@@ -577,6 +677,7 @@ declare class AXSchedulerTimelineMultiDayViewComponent extends NXComponent {
|
|
577
677
|
endDayHour: _angular_core.InputSignal<number>;
|
578
678
|
startDayHour: _angular_core.InputSignal<number>;
|
579
679
|
appointments: _angular_core.InputSignal<AXSchedulerAppointment[]>;
|
680
|
+
tooltipTemplate: _angular_core.InputSignal<string | TemplateRef<unknown>>;
|
580
681
|
daysDataForTimelineViews: _angular_core.Signal<TimelineMultiDayDaySlot[]>;
|
581
682
|
slotClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
582
683
|
slotDblClickedInternal: _angular_core.OutputEmitterRef<AXSchedulerSlotMouseEvent>;
|
@@ -594,7 +695,7 @@ declare class AXSchedulerTimelineMultiDayViewComponent extends NXComponent {
|
|
594
695
|
holiday?: AXHolidayDate;
|
595
696
|
};
|
596
697
|
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"; "onAppointmentDropInternal": "onAppointmentDropInternal"; "onActionClickInternal": "onActionClickInternal"; }, never, never, true, never>;
|
698
|
+
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"; "onAppointmentDropInternal": "onAppointmentDropInternal"; "onActionClickInternal": "onActionClickInternal"; }, never, never, true, never>;
|
598
699
|
}
|
599
700
|
|
600
701
|
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 {
|