@acorex/components 19.11.13-next.2 → 19.12.0-next.2
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/common/lib/components/interactive-component.class.d.ts +2 -2
- package/fesm2022/acorex-components-alert.mjs +2 -2
- package/fesm2022/acorex-components-alert.mjs.map +1 -1
- package/fesm2022/acorex-components-common.mjs.map +1 -1
- package/fesm2022/acorex-components-conversation.mjs +2 -2
- package/fesm2022/acorex-components-conversation.mjs.map +1 -1
- package/fesm2022/acorex-components-file-explorer.mjs +1 -1
- package/fesm2022/acorex-components-file-explorer.mjs.map +1 -1
- package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-map.mjs +13 -3
- package/fesm2022/acorex-components-map.mjs.map +1 -1
- package/fesm2022/acorex-components-media-viewer.mjs +2 -3
- package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-modal-acorex-components-modal-Bs1CnBt8.mjs +192 -0
- package/fesm2022/acorex-components-modal-acorex-components-modal-Bs1CnBt8.mjs.map +1 -0
- package/fesm2022/acorex-components-modal-modal-content.component-DhpujG4d.mjs +181 -0
- package/fesm2022/acorex-components-modal-modal-content.component-DhpujG4d.mjs.map +1 -0
- package/fesm2022/acorex-components-modal.mjs +2 -0
- package/fesm2022/acorex-components-modal.mjs.map +1 -0
- package/fesm2022/acorex-components-paint.mjs +2 -2
- package/fesm2022/acorex-components-paint.mjs.map +1 -1
- package/fesm2022/acorex-components-scheduler.mjs +1266 -103
- package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
- package/fesm2022/acorex-components-tree-view.mjs +16 -7
- package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
- package/fesm2022/acorex-components-wysiwyg.mjs +18 -3
- package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
- package/map/lib/map.service.d.ts +1 -1
- package/media-viewer/lib/media-viewer-container/media-viewer-container.component.d.ts +1 -0
- package/modal/README.md +3 -0
- package/modal/index.d.ts +5 -0
- package/modal/lib/modal-content/modal-content.component.d.ts +43 -0
- package/modal/lib/modal-footer/modal-footer.component.d.ts +5 -0
- package/modal/lib/modal-state.service.d.ts +16 -0
- package/modal/lib/modal.component.d.ts +16 -0
- package/modal/lib/modal.module.d.ts +8 -0
- package/modal/lib/modal.service.d.ts +13 -0
- package/modal/lib/modal.types.d.ts +20 -0
- package/package.json +5 -1
- package/paint/lib/paint/paint-view/paint-view.component.d.ts +1 -1
- package/scheduler/index.d.ts +5 -2
- package/scheduler/lib/scheduler.class.d.ts +53 -0
- package/scheduler/lib/scheduler.component.d.ts +71 -22
- package/scheduler/lib/scheduler.module.d.ts +5 -9
- package/scheduler/lib/scheduler.service.d.ts +60 -0
- package/scheduler/lib/views/day/scheduler-day-view.component.d.ts +34 -0
- package/scheduler/lib/views/month/scheduler-month-view.component.d.ts +43 -0
- package/scheduler/lib/views/week/scheduler-week-view.component.d.ts +41 -0
- package/tree-view/lib/tree-view.component.d.ts +4 -2
- package/wysiwyg/lib/wysiwyg/wysiwyg-container/wysiwyg-container.component.d.ts +2 -0
- package/scheduler/lib/scheduler-month-view.component.d.ts +0 -41
- package/scheduler/lib/scheduler-week-view.component.d.ts +0 -10
@@ -0,0 +1,43 @@
|
|
1
|
+
import { NXComponent } from '@acorex/components/common';
|
2
|
+
import { AXComponentContent, AXComponentInputs, AXComponentType } from '@acorex/core/components';
|
3
|
+
import { ElementRef, TemplateRef } from '@angular/core';
|
4
|
+
import { AXModalFooterComponent } from '../modal-footer/modal-footer.component';
|
5
|
+
import * as i0 from "@angular/core";
|
6
|
+
export declare class AXModalContentComponent extends NXComponent {
|
7
|
+
#private;
|
8
|
+
__content__: import("@angular/core").InputSignal<AXComponentContent>;
|
9
|
+
private serviceState;
|
10
|
+
protected isTemplate: import("@angular/core").Signal<boolean>;
|
11
|
+
component: import("@angular/core").Signal<AXComponentType<any>>;
|
12
|
+
template: import("@angular/core").Signal<TemplateRef<any>>;
|
13
|
+
inputs: import("@angular/core").ModelSignal<AXComponentInputs>;
|
14
|
+
id: import("@angular/core").InputSignal<number>;
|
15
|
+
protected modalContainer: import("@angular/core").Signal<ElementRef<any>>;
|
16
|
+
protected modalSizeState: import("@angular/core").WritableSignal<"maximize" | "minimize">;
|
17
|
+
protected footer: import("@angular/core").Signal<AXModalFooterComponent>;
|
18
|
+
private isMouseDown;
|
19
|
+
private offsetX;
|
20
|
+
private offsetY;
|
21
|
+
private prevLeft;
|
22
|
+
private prevTop;
|
23
|
+
private backdropState;
|
24
|
+
protected closeHeaderButton: import("@angular/core").Signal<boolean>;
|
25
|
+
private backdropBackground;
|
26
|
+
private backdropClass;
|
27
|
+
private backdropCloseOnClick;
|
28
|
+
private minimizePosition;
|
29
|
+
protected minimizeState: import("@angular/core").Signal<boolean>;
|
30
|
+
protected modalSize: import("@angular/core").Signal<"sm" | "md" | "lg" | "full" | "fit">;
|
31
|
+
protected headerTitle: import("@angular/core").Signal<string>;
|
32
|
+
private draggable;
|
33
|
+
protected closeHandler(): void;
|
34
|
+
protected pointerDownHandler(e: MouseEvent): void;
|
35
|
+
modalSizeHandler(): void;
|
36
|
+
private getMapIndexOf;
|
37
|
+
protected pointerMoveHandler(e: MouseEvent): void;
|
38
|
+
protected pointerUpHandler(): void;
|
39
|
+
protected backdropCloseHandler(e: MouseEvent): void;
|
40
|
+
fadeInOut: boolean;
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXModalContentComponent, never>;
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXModalContentComponent, "ax-modal-content", never, { "__content__": { "alias": "__content__"; "required": true; "isSignal": true; }; "inputs": { "alias": "inputs"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; }, { "inputs": "inputsChange"; }, never, never, true, never>;
|
43
|
+
}
|
@@ -0,0 +1,5 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
export declare class AXModalFooterComponent {
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXModalFooterComponent, never>;
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXModalFooterComponent, "ax-modal-footer", never, {}, {}, never, ["ax-prefix", "ax-suffix", "ax-modal-footer"], true, never>;
|
5
|
+
}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { AXOverlayRef } from '@acorex/cdk/overlay';
|
2
|
+
import { AXComponentContent } from '@acorex/core/components';
|
3
|
+
import { AXModalContentComponent } from './modal-content/modal-content.component';
|
4
|
+
import { AXModalOptions, AXModalRef } from './modal.types';
|
5
|
+
import * as i0 from "@angular/core";
|
6
|
+
export declare class AXModalStateService {
|
7
|
+
modalOption: import("@angular/core").WritableSignal<AXModalOptions>;
|
8
|
+
modalList: Map<number, AXOverlayRef<AXModalContentComponent>>;
|
9
|
+
private overlayService;
|
10
|
+
open<TResult = any>(content: AXComponentContent, options?: AXModalOptions): Promise<AXModalRef<TResult>>;
|
11
|
+
close<TResult = any>(id: number, data?: TResult): Promise<void>;
|
12
|
+
private setInputs;
|
13
|
+
private minimize;
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXModalStateService, never>;
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXModalStateService>;
|
16
|
+
}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { NXComponent } from '@acorex/components/common';
|
2
|
+
import { AXComponentInputs } from '@acorex/core/components';
|
3
|
+
import { TemplateRef } from '@angular/core';
|
4
|
+
import { AXModalOptions, AXModalRef } from './modal.types';
|
5
|
+
import * as i0 from "@angular/core";
|
6
|
+
export declare class AXModalComponent extends NXComponent {
|
7
|
+
private service;
|
8
|
+
protected template: import("@angular/core").Signal<TemplateRef<any>>;
|
9
|
+
private ref;
|
10
|
+
open(options?: AXModalOptions): Promise<AXModalRef<any>>;
|
11
|
+
close(): Promise<void>;
|
12
|
+
setInputs(values: AXComponentInputs): Promise<void>;
|
13
|
+
minimize(): Promise<void>;
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXModalComponent, never>;
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXModalComponent, "ax-modal", never, {}, {}, never, ["*"], true, never>;
|
16
|
+
}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./modal.component";
|
3
|
+
import * as i2 from "./modal-footer/modal-footer.component";
|
4
|
+
export declare class AXModalModule {
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXModalModule, never>;
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXModalModule, never, [typeof i1.AXModalComponent, typeof i2.AXModalFooterComponent], [typeof i1.AXModalComponent, typeof i2.AXModalFooterComponent]>;
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXModalModule>;
|
8
|
+
}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { AXComponentContent, AXComponentInputs } from '@acorex/core/components';
|
2
|
+
import { AXModalOptions } from './modal.types';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
export declare class AXModalService {
|
5
|
+
private stateService;
|
6
|
+
private ref;
|
7
|
+
open(content: AXComponentContent, options?: AXModalOptions): Promise<void>;
|
8
|
+
close(): Promise<void>;
|
9
|
+
setInputs(values: AXComponentInputs): Promise<void>;
|
10
|
+
minimize(): Promise<void>;
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXModalService, never>;
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXModalService>;
|
13
|
+
}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import { AXOverlayOptions } from '@acorex/cdk/overlay';
|
2
|
+
import { AXComponentInputs } from '@acorex/core/components';
|
3
|
+
export interface AXModalOptions extends AXOverlayOptions {
|
4
|
+
title?: string;
|
5
|
+
buttons?: {
|
6
|
+
minimize?: {
|
7
|
+
enable: boolean;
|
8
|
+
position: 'bottom-right' | 'bottom-left';
|
9
|
+
};
|
10
|
+
close?: boolean;
|
11
|
+
};
|
12
|
+
draggable?: boolean;
|
13
|
+
size?: 'sm' | 'md' | 'lg' | 'full' | 'fit';
|
14
|
+
}
|
15
|
+
export interface AXModalRef<TResult = any> {
|
16
|
+
id: number;
|
17
|
+
minimize: () => void;
|
18
|
+
close: (data?: TResult) => void;
|
19
|
+
setInputs: (values: AXComponentInputs) => void;
|
20
|
+
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@acorex/components",
|
3
|
-
"version": "19.
|
3
|
+
"version": "19.12.0-next.2",
|
4
4
|
"peerDependencies": {
|
5
5
|
"@angular/common": ">=19.0.0",
|
6
6
|
"@angular/core": ">=19.0.0",
|
@@ -205,6 +205,10 @@
|
|
205
205
|
"types": "./menu/index.d.ts",
|
206
206
|
"default": "./fesm2022/acorex-components-menu.mjs"
|
207
207
|
},
|
208
|
+
"./modal": {
|
209
|
+
"types": "./modal/index.d.ts",
|
210
|
+
"default": "./fesm2022/acorex-components-modal.mjs"
|
211
|
+
},
|
208
212
|
"./navbar": {
|
209
213
|
"types": "./navbar/index.d.ts",
|
210
214
|
"default": "./fesm2022/acorex-components-navbar.mjs"
|
package/scheduler/index.d.ts
CHANGED
@@ -1,4 +1,7 @@
|
|
1
|
-
export * from './lib/scheduler
|
2
|
-
export * from './lib/scheduler-week-view.component';
|
1
|
+
export * from './lib/scheduler.class';
|
3
2
|
export * from './lib/scheduler.component';
|
4
3
|
export * from './lib/scheduler.module';
|
4
|
+
export * from './lib/scheduler.service';
|
5
|
+
export * from './lib/views/day/scheduler-day-view.component';
|
6
|
+
export * from './lib/views/month/scheduler-month-view.component';
|
7
|
+
export * from './lib/views/week/scheduler-week-view.component';
|
@@ -0,0 +1,53 @@
|
|
1
|
+
import { AXDateTime } from '@acorex/core/date-time';
|
2
|
+
export type AXSchedulerView = 'day' | 'week' | 'month' | 'year';
|
3
|
+
export type AXDayOfWeekName = 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday';
|
4
|
+
export type AXSchedulerBlockIdentifier = {
|
5
|
+
dayIndex: number;
|
6
|
+
blockIndex: number;
|
7
|
+
};
|
8
|
+
export type AXSchedulerAppointmentType = {
|
9
|
+
key: any;
|
10
|
+
title?: string;
|
11
|
+
allDay?: boolean;
|
12
|
+
singleDay: boolean;
|
13
|
+
readonly?: boolean;
|
14
|
+
textColor?: string;
|
15
|
+
endDate: AXDateTime;
|
16
|
+
description?: string;
|
17
|
+
startDate: AXDateTime;
|
18
|
+
backgroundColor?: string;
|
19
|
+
};
|
20
|
+
export type AXSchedulerDayAppointmentLayout = {
|
21
|
+
columnIndex: number;
|
22
|
+
effectiveTotalColumns: number;
|
23
|
+
};
|
24
|
+
export type AXSchedulerBlockOccupancyMap = Map<string, any>;
|
25
|
+
export type AXSchedulerAppointmentsByStartBlock = Record<number, Record<number, AXSchedulerAppointmentType[]>>;
|
26
|
+
export type AXSchedulerActiveAppointmentsInBlock = Record<number, Record<number, AXSchedulerAppointmentType[]>>;
|
27
|
+
export type AXSchedulerWeekAppointmentLayout = AXSchedulerAppointmentType & {
|
28
|
+
layoutTop: string;
|
29
|
+
layoutLeft: string;
|
30
|
+
layoutHeight: string;
|
31
|
+
};
|
32
|
+
export type AXSchedulerOverflowBadge = {
|
33
|
+
key: any;
|
34
|
+
count: number;
|
35
|
+
badgeTop: string;
|
36
|
+
badgeLeft: string;
|
37
|
+
};
|
38
|
+
export type AXSchedulerSlotEvent<T = MouseEvent> = {
|
39
|
+
event: T;
|
40
|
+
slot: {
|
41
|
+
endDate: AXDateTime;
|
42
|
+
startDate: AXDateTime;
|
43
|
+
view: AXSchedulerView;
|
44
|
+
};
|
45
|
+
};
|
46
|
+
export type AXSchedulerAppointmentEvent<T = MouseEvent> = {
|
47
|
+
event: T;
|
48
|
+
appointment: AXSchedulerAppointmentType;
|
49
|
+
};
|
50
|
+
export type AXSchedulerAllDaySlotData = {
|
51
|
+
day: AXDateTime;
|
52
|
+
appointments: AXSchedulerAppointmentType[];
|
53
|
+
};
|
@@ -1,29 +1,78 @@
|
|
1
|
-
import { MXBaseComponent } from '@acorex/components/common';
|
1
|
+
import { AXDataSource, AXValueChangedEvent, MXBaseComponent } from '@acorex/components/common';
|
2
2
|
import { AXDateTime } from '@acorex/core/date-time';
|
3
3
|
import { AXPlatform, AXScreenSizes } from '@acorex/core/platform';
|
4
|
+
import { OnInit } from '@angular/core';
|
5
|
+
import { AXDayOfWeekName, AXSchedulerAppointmentEvent, AXSchedulerAppointmentType, AXSchedulerSlotEvent, AXSchedulerView } from './scheduler.class';
|
4
6
|
import * as i0 from "@angular/core";
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
private
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
7
|
+
export declare class AXSchedulerComponent extends MXBaseComponent implements OnInit {
|
8
|
+
#private;
|
9
|
+
protected platform: AXPlatform;
|
10
|
+
private unsubscriber;
|
11
|
+
private calendarService;
|
12
|
+
private translationService;
|
13
|
+
private schedulerCalcService;
|
14
|
+
private viewModeSelectbox;
|
15
|
+
displayViews: {
|
16
|
+
day: string;
|
17
|
+
week: string;
|
18
|
+
month: string;
|
19
|
+
year: string;
|
20
|
+
};
|
21
|
+
draggable: import("@angular/core").WritableSignal<boolean>;
|
22
|
+
rtl: import("@angular/core").WritableSignal<boolean>;
|
23
|
+
isLoading: import("@angular/core").WritableSignal<boolean>;
|
24
|
+
isFullScreen: import("@angular/core").WritableSignal<boolean>;
|
25
|
+
size: import("@angular/core").WritableSignal<AXScreenSizes>;
|
26
|
+
viewsDataSource: import("@angular/core").WritableSignal<{
|
27
|
+
id: string;
|
28
|
+
text: string;
|
29
|
+
}[]>;
|
30
|
+
oldDate: import("@angular/core").WritableSignal<AXDateTime>;
|
31
|
+
currentDate: import("@angular/core").WritableSignal<AXDateTime>;
|
32
|
+
endHour: import("@angular/core").InputSignal<number>;
|
33
|
+
startHour: import("@angular/core").InputSignal<number>;
|
34
|
+
keyField: import("@angular/core").InputSignal<string>;
|
35
|
+
titleField: import("@angular/core").InputSignal<string>;
|
36
|
+
startingDate: import("@angular/core").InputSignal<Date>;
|
37
|
+
allDayField: import("@angular/core").InputSignal<string>;
|
38
|
+
allowFullScreen: import("@angular/core").InputSignal<boolean>;
|
39
|
+
endDateField: import("@angular/core").InputSignal<string>;
|
40
|
+
readonlyField: import("@angular/core").InputSignal<string>;
|
41
|
+
startDateField: import("@angular/core").InputSignal<string>;
|
42
|
+
textColorField: import("@angular/core").InputSignal<string>;
|
43
|
+
descriptionField: import("@angular/core").InputSignal<string>;
|
44
|
+
backgroundColorField: import("@angular/core").InputSignal<string>;
|
45
|
+
dataSource: import("@angular/core").InputSignal<any[] | AXDataSource<any>>;
|
46
|
+
firstDayOfWeek: import("@angular/core").InputSignal<AXDayOfWeekName>;
|
47
|
+
views: import("@angular/core").InputSignal<AXSchedulerView[]>;
|
48
|
+
selectedView: import("@angular/core").ModelSignal<AXSchedulerView>;
|
49
|
+
onSlotClicked: import("@angular/core").OutputEmitterRef<AXSchedulerSlotEvent>;
|
50
|
+
onSlotDblClicked: import("@angular/core").OutputEmitterRef<AXSchedulerSlotEvent>;
|
51
|
+
onSlotRightClick: import("@angular/core").OutputEmitterRef<AXSchedulerSlotEvent>;
|
52
|
+
onAppointmentClicked: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentEvent>;
|
53
|
+
onAppointmentDblClicked: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentEvent>;
|
54
|
+
onAppointmentRightClick: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentEvent>;
|
55
|
+
protected handleSlotClickInternal(eventData: AXSchedulerSlotEvent): void;
|
56
|
+
protected handleSlotDblClickInternal(eventData: AXSchedulerSlotEvent): void;
|
57
|
+
protected handleSlotRightClickInternal(eventData: AXSchedulerSlotEvent): void;
|
58
|
+
protected handleAppointmentClickInternal(eventData: AXSchedulerAppointmentEvent): void;
|
59
|
+
protected handleAppointmentDblClickInternal(eventData: AXSchedulerAppointmentEvent): void;
|
60
|
+
protected handleAppointmentRightClickInternal(eventData: AXSchedulerAppointmentEvent): void;
|
20
61
|
ngOnInit(): void;
|
21
|
-
|
62
|
+
fillDataSource(): Promise<void>;
|
22
63
|
private detectSize;
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
64
|
+
private getGridDateRange;
|
65
|
+
appointmentsList: import("@angular/core").Signal<AXDataSource<any>>;
|
66
|
+
private dataSourceItemsSignal;
|
67
|
+
currentDateText: import("@angular/core").Signal<string>;
|
68
|
+
calendarDepth: import("@angular/core").Signal<AXSchedulerView>;
|
69
|
+
mappedAppointments: import("@angular/core").Signal<AXSchedulerAppointmentType[]>;
|
70
|
+
viewAppointments: import("@angular/core").Signal<AXSchedulerAppointmentType[]>;
|
71
|
+
viewChanged(e: AXValueChangedEvent<AXSchedulerView>): void;
|
72
|
+
nextClick(): void;
|
73
|
+
prevClick(): void;
|
74
|
+
calendarDateChanged(e: any): void;
|
75
|
+
handleFullScreen(): void;
|
27
76
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXSchedulerComponent, never>;
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXSchedulerComponent, "ax-scheduler", never, {}, {}, never, never, true, never>;
|
77
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXSchedulerComponent, "ax-scheduler", never, { "endHour": { "alias": "endHour"; "required": false; "isSignal": true; }; "startHour": { "alias": "startHour"; "required": false; "isSignal": true; }; "keyField": { "alias": "keyField"; "required": false; "isSignal": true; }; "titleField": { "alias": "titleField"; "required": false; "isSignal": true; }; "startingDate": { "alias": "startingDate"; "required": false; "isSignal": true; }; "allDayField": { "alias": "allDayField"; "required": false; "isSignal": true; }; "allowFullScreen": { "alias": "allowFullScreen"; "required": false; "isSignal": true; }; "endDateField": { "alias": "endDateField"; "required": false; "isSignal": true; }; "readonlyField": { "alias": "readonlyField"; "required": false; "isSignal": true; }; "startDateField": { "alias": "startDateField"; "required": false; "isSignal": true; }; "textColorField": { "alias": "textColorField"; "required": false; "isSignal": true; }; "descriptionField": { "alias": "descriptionField"; "required": false; "isSignal": true; }; "backgroundColorField": { "alias": "backgroundColorField"; "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"; "onSlotClicked": "onSlotClicked"; "onSlotDblClicked": "onSlotDblClicked"; "onSlotRightClick": "onSlotRightClick"; "onAppointmentClicked": "onAppointmentClicked"; "onAppointmentDblClicked": "onAppointmentDblClicked"; "onAppointmentRightClick": "onAppointmentRightClick"; }, never, never, true, never>;
|
29
78
|
}
|
@@ -1,14 +1,10 @@
|
|
1
1
|
import * as i0 from "@angular/core";
|
2
|
-
import * as i1 from "
|
3
|
-
import * as i2 from "
|
4
|
-
import * as i3 from "
|
5
|
-
import * as i4 from "
|
6
|
-
import * as i5 from "@acorex/core/date-time";
|
7
|
-
import * as i6 from "./scheduler.component";
|
8
|
-
import * as i7 from "./scheduler-month-view.component";
|
9
|
-
import * as i8 from "./scheduler-week-view.component";
|
2
|
+
import * as i1 from "./scheduler.component";
|
3
|
+
import * as i2 from "./views/day/scheduler-day-view.component";
|
4
|
+
import * as i3 from "./views/week/scheduler-week-view.component";
|
5
|
+
import * as i4 from "./views/month/scheduler-month-view.component";
|
10
6
|
export declare class AXSchedulerModule {
|
11
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXSchedulerModule, never>;
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXSchedulerModule, never, [typeof i1.
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXSchedulerModule, never, [typeof i1.AXSchedulerComponent, typeof i2.AXSchedulerDayViewComponent, typeof i3.AXSchedulerWeekViewComponent, typeof i4.AXSchedulerMonthViewComponent], [typeof i1.AXSchedulerComponent, typeof i2.AXSchedulerDayViewComponent, typeof i3.AXSchedulerWeekViewComponent, typeof i4.AXSchedulerMonthViewComponent]>;
|
13
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXSchedulerModule>;
|
14
10
|
}
|
@@ -0,0 +1,60 @@
|
|
1
|
+
import { AXDateTime } from '@acorex/core/date-time';
|
2
|
+
import { AXDayOfWeekName, AXSchedulerActiveAppointmentsInBlock, AXSchedulerAppointmentEvent, AXSchedulerAppointmentsByStartBlock, AXSchedulerAppointmentType, AXSchedulerBlockIdentifier, AXSchedulerSlotEvent, AXSchedulerView } from './scheduler.class';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
export declare class AXSchedulerService {
|
5
|
+
readonly BLOCK_DURATION_MINUTES = 30;
|
6
|
+
readonly MILLISECONDS_PER_MINUTE: number;
|
7
|
+
readonly MINUTES_PER_HOUR = 60;
|
8
|
+
readonly HOURS_PER_DAY = 24;
|
9
|
+
readonly MILLISECONDS_PER_DAY: number;
|
10
|
+
/**
|
11
|
+
* Checks if two appointments overlap in time.
|
12
|
+
*/
|
13
|
+
doAppointmentsOverlap(appointmentA: AXSchedulerAppointmentType, appointmentB: AXSchedulerAppointmentType): boolean;
|
14
|
+
/**
|
15
|
+
* Calculates appointment duration in minutes.
|
16
|
+
*/
|
17
|
+
calculateDurationInMinutes(Appointment: AXSchedulerAppointmentType): number;
|
18
|
+
/**
|
19
|
+
* Calculates appointment duration in blocks (default 30 min).
|
20
|
+
*/
|
21
|
+
calculateDurationInBlocks(appointment: AXSchedulerAppointmentType): number;
|
22
|
+
/**
|
23
|
+
* Gets the day index (relative to view start) and block index (relative to start hour)
|
24
|
+
* for a given date time within the view context. Returns null if outside view.
|
25
|
+
*/
|
26
|
+
getBlockIdentifier(dateTime: AXDateTime, viewStartDate: AXDateTime, startHour: number, endHour: number, // Exclusive end hour
|
27
|
+
viewTotalDays?: number): AXSchedulerBlockIdentifier | null;
|
28
|
+
/**
|
29
|
+
* Groups appointments by the blocks they are ACTIVE in for a given view.
|
30
|
+
* @param viewTotalDays - Number of days in the current view (1 for Day, 7 for Week, etc.)
|
31
|
+
*/
|
32
|
+
calculateActiveAppointmentsInBlock(singleDayAppointments: AXSchedulerAppointmentType[], viewStartDate: AXDateTime, startHour: number, endHour: number, viewTotalDays: number): AXSchedulerActiveAppointmentsInBlock;
|
33
|
+
/**
|
34
|
+
* Calculates max concurrency and effective total columns for Day View appointments.
|
35
|
+
*/
|
36
|
+
calculateDayViewConcurrencyInfo(singleDayAppointments: AXSchedulerAppointmentType[], viewStartDate: AXDateTime, // Need start date for context
|
37
|
+
startHour: number, endHour: number): Map<any, {
|
38
|
+
maxConcurrency: number;
|
39
|
+
effectiveTotalColumns: number;
|
40
|
+
}>;
|
41
|
+
/**
|
42
|
+
* Groups appointments by the block they START in for Week View.
|
43
|
+
*/
|
44
|
+
calculateWeekViewAppointmentsByStartBlock(singleDayAppointments: AXSchedulerAppointmentType[], viewStartDate: AXDateTime, startHour: number, endHour: number): AXSchedulerAppointmentsByStartBlock;
|
45
|
+
/**
|
46
|
+
* Groups appointments by the day(s) they occur on within a given date range.
|
47
|
+
* Returns a Map where the key is the date string ('YYYY-MM-DD') and the value is an array of appointments.
|
48
|
+
*/
|
49
|
+
groupAppointmentsByDay(appointments: AXSchedulerAppointmentType[], viewStartDate: AXDateTime, // First day visible in the grid
|
50
|
+
viewEndDate: AXDateTime): Map<string, AXSchedulerAppointmentType[]>;
|
51
|
+
getDayOfWeekNumber(dayName: AXDayOfWeekName): number;
|
52
|
+
getSlotData(startDate: AXDateTime, view: AXSchedulerView): {
|
53
|
+
startDate: AXDateTime;
|
54
|
+
endDate: AXDateTime;
|
55
|
+
view: AXSchedulerView;
|
56
|
+
};
|
57
|
+
handleEvent(event: AXSchedulerSlotEvent | AXSchedulerAppointmentEvent, eventOutputMap: any, eventType: 'appointment' | 'slot'): void;
|
58
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXSchedulerService, never>;
|
59
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXSchedulerService>;
|
60
|
+
}
|
@@ -0,0 +1,34 @@
|
|
1
|
+
import { MXBaseComponent } from '@acorex/components/common';
|
2
|
+
import { AXDateTime } from '@acorex/core/date-time';
|
3
|
+
import { AXSchedulerAppointmentEvent, AXSchedulerAppointmentType, AXSchedulerDayAppointmentLayout, AXSchedulerSlotEvent } from '../../scheduler.class';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
export declare class AXSchedulerDayViewComponent extends MXBaseComponent {
|
6
|
+
private schedulerCalcService;
|
7
|
+
readonly GAP_WIDTH_PX = 1;
|
8
|
+
draggable: import("@angular/core").InputSignal<boolean>;
|
9
|
+
endHour: import("@angular/core").InputSignal<number>;
|
10
|
+
date: import("@angular/core").InputSignal<AXDateTime>;
|
11
|
+
startHour: import("@angular/core").InputSignal<number>;
|
12
|
+
appointments: import("@angular/core").InputSignal<AXSchedulerAppointmentType[]>;
|
13
|
+
allDayAppointments: import("@angular/core").Signal<AXSchedulerAppointmentType[]>;
|
14
|
+
singleDayAppointments: import("@angular/core").Signal<AXSchedulerAppointmentType[]>;
|
15
|
+
slotClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotEvent>;
|
16
|
+
slotDblClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotEvent>;
|
17
|
+
slotRightClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotEvent>;
|
18
|
+
appointmentClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentEvent>;
|
19
|
+
appointmentDblClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentEvent>;
|
20
|
+
appointmentRightClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentEvent>;
|
21
|
+
private readonly eventOutputMap;
|
22
|
+
handleAppointmentEvent(mouseEvent: MouseEvent, appointment: AXSchedulerAppointmentType): void;
|
23
|
+
handleSingleSlotEvent(mouseEvent: MouseEvent, startDate: AXDateTime, minuteIndex: number): void;
|
24
|
+
handleAllDaySlotEvent(mouseEvent: MouseEvent): void;
|
25
|
+
hoursArray: import("@angular/core").Signal<AXDateTime[]>;
|
26
|
+
appointmentLayouts: import("@angular/core").Signal<Map<any, AXSchedulerDayAppointmentLayout>>;
|
27
|
+
getAppointmentLayout(key: any): AXSchedulerDayAppointmentLayout | undefined;
|
28
|
+
getAppointmentLeft(key: any): string;
|
29
|
+
getAppointmentWidth(key: any): string;
|
30
|
+
getAppointmentTransform(key: any): string;
|
31
|
+
getAppointmentHeight(key: any): string;
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXSchedulerDayViewComponent, never>;
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXSchedulerDayViewComponent, "ax-scheduler-day-view", never, { "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "endHour": { "alias": "endHour"; "required": true; "isSignal": true; }; "date": { "alias": "date"; "required": true; "isSignal": true; }; "startHour": { "alias": "startHour"; "required": true; "isSignal": true; }; "appointments": { "alias": "appointments"; "required": false; "isSignal": true; }; }, { "slotClickedInternal": "slotClickedInternal"; "slotDblClickedInternal": "slotDblClickedInternal"; "slotRightClickedInternal": "slotRightClickedInternal"; "appointmentClickedInternal": "appointmentClickedInternal"; "appointmentDblClickedInternal": "appointmentDblClickedInternal"; "appointmentRightClickedInternal": "appointmentRightClickedInternal"; }, never, never, true, never>;
|
34
|
+
}
|
@@ -0,0 +1,43 @@
|
|
1
|
+
import { MXBaseComponent } from '@acorex/components/common';
|
2
|
+
import { AXDateTime } from '@acorex/core/date-time';
|
3
|
+
import { AXDayOfWeekName, AXSchedulerAppointmentEvent, AXSchedulerAppointmentType, AXSchedulerSlotEvent } from '../../scheduler.class';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
export type AXSchedulerMonthDayCell = {
|
6
|
+
date: AXDateTime;
|
7
|
+
isCurrentMonth: boolean;
|
8
|
+
isToday: boolean;
|
9
|
+
appointments: AXSchedulerAppointmentType[];
|
10
|
+
visibleAppointments: AXSchedulerAppointmentType[];
|
11
|
+
hiddenAppointments: AXSchedulerAppointmentType[];
|
12
|
+
overflowCount: number;
|
13
|
+
};
|
14
|
+
export declare class AXSchedulerMonthViewComponent extends MXBaseComponent {
|
15
|
+
private schedulerCalcService;
|
16
|
+
private calendarService;
|
17
|
+
draggable: import("@angular/core").InputSignal<boolean>;
|
18
|
+
date: import("@angular/core").InputSignal<AXDateTime>;
|
19
|
+
appointments: import("@angular/core").InputSignal<AXSchedulerAppointmentType[]>;
|
20
|
+
firstDayOfWeek: import("@angular/core").InputSignal<AXDayOfWeekName>;
|
21
|
+
readonly MAX_VISIBLE_APPOINTMENTS_PER_DAY = 2;
|
22
|
+
readonly DAYS_IN_WEEK = 7;
|
23
|
+
slotClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotEvent>;
|
24
|
+
slotDblClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotEvent>;
|
25
|
+
slotRightClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotEvent>;
|
26
|
+
appointmentClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentEvent>;
|
27
|
+
appointmentDblClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentEvent>;
|
28
|
+
appointmentRightClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentEvent>;
|
29
|
+
private readonly eventOutputMap;
|
30
|
+
handleAppointmentEvent(mouseEvent: MouseEvent, appointment: AXSchedulerAppointmentType): void;
|
31
|
+
handleSlotEvent(mouseEvent: MouseEvent, date: AXDateTime): void;
|
32
|
+
monthStartDate: import("@angular/core").Signal<AXDateTime>;
|
33
|
+
daysArray: import("@angular/core").Signal<AXDateTime[]>;
|
34
|
+
calendarDaysInfo: import("@angular/core").Signal<{
|
35
|
+
days: AXSchedulerMonthDayCell[];
|
36
|
+
weeksNeeded: number;
|
37
|
+
}>;
|
38
|
+
appointmentsGroupedByDay: import("@angular/core").Signal<Map<string, AXSchedulerAppointmentType[]>>;
|
39
|
+
dayCellLayouts: import("@angular/core").Signal<AXSchedulerMonthDayCell[]>;
|
40
|
+
gridTemplateRowsStyle: import("@angular/core").Signal<string>;
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXSchedulerMonthViewComponent, never>;
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXSchedulerMonthViewComponent, "ax-scheduler-month-view", never, { "draggable": { "alias": "draggable"; "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; }; }, { "slotClickedInternal": "slotClickedInternal"; "slotDblClickedInternal": "slotDblClickedInternal"; "slotRightClickedInternal": "slotRightClickedInternal"; "appointmentClickedInternal": "appointmentClickedInternal"; "appointmentDblClickedInternal": "appointmentDblClickedInternal"; "appointmentRightClickedInternal": "appointmentRightClickedInternal"; }, never, never, true, never>;
|
43
|
+
}
|
@@ -0,0 +1,41 @@
|
|
1
|
+
import { MXBaseComponent } from '@acorex/components/common';
|
2
|
+
import { AXDateTime } from '@acorex/core/date-time';
|
3
|
+
import { AXSchedulerActiveAppointmentsInBlock, AXSchedulerAllDaySlotData, AXSchedulerAppointmentEvent, AXSchedulerAppointmentsByStartBlock, AXSchedulerAppointmentType, AXSchedulerOverflowBadge, AXSchedulerSlotEvent, AXSchedulerWeekAppointmentLayout } from '../../scheduler.class';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
type AXSchedulerGridBadgeInfo = AXSchedulerOverflowBadge & {
|
6
|
+
hiddenAppointments: AXSchedulerAppointmentType[];
|
7
|
+
};
|
8
|
+
export declare class AXSchedulerWeekViewComponent extends MXBaseComponent {
|
9
|
+
private schedulerCalcService;
|
10
|
+
readonly GAP_WIDTH_PX = 1;
|
11
|
+
draggable: import("@angular/core").InputSignal<boolean>;
|
12
|
+
endHour: import("@angular/core").InputSignal<number>;
|
13
|
+
date: import("@angular/core").InputSignal<AXDateTime>;
|
14
|
+
startHour: import("@angular/core").InputSignal<number>;
|
15
|
+
appointments: import("@angular/core").InputSignal<AXSchedulerAppointmentType[]>;
|
16
|
+
slotClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotEvent>;
|
17
|
+
slotDblClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotEvent>;
|
18
|
+
slotRightClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerSlotEvent>;
|
19
|
+
appointmentClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentEvent>;
|
20
|
+
appointmentDblClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentEvent>;
|
21
|
+
appointmentRightClickedInternal: import("@angular/core").OutputEmitterRef<AXSchedulerAppointmentEvent>;
|
22
|
+
private readonly eventOutputMap;
|
23
|
+
handleAppointmentEvent(mouseEvent: MouseEvent, appointment: AXSchedulerAppointmentType): void;
|
24
|
+
handleSingleSlotEvent(mouseEvent: MouseEvent, hour: AXDateTime, day: AXDateTime, minuteIndex: number): void;
|
25
|
+
handleAllDaySlotEvent(mouseEvent: MouseEvent, day: AXDateTime): void;
|
26
|
+
allDayAppointments: import("@angular/core").Signal<AXSchedulerAppointmentType[]>;
|
27
|
+
singleDayAppointments: import("@angular/core").Signal<AXSchedulerAppointmentType[]>;
|
28
|
+
hoursArray: import("@angular/core").Signal<AXDateTime[]>;
|
29
|
+
daysArray: import("@angular/core").Signal<AXDateTime[]>;
|
30
|
+
totalBlocksPerViewDay: import("@angular/core").Signal<number>;
|
31
|
+
appointmentsByStartBlock: import("@angular/core").Signal<AXSchedulerAppointmentsByStartBlock>;
|
32
|
+
activeAppointmentsInBlock: import("@angular/core").Signal<AXSchedulerActiveAppointmentsInBlock>;
|
33
|
+
visibleAppointmentsLayout: import("@angular/core").Signal<AXSchedulerWeekAppointmentLayout[]>;
|
34
|
+
visualOccupancyMap: import("@angular/core").Signal<Map<string, any>>;
|
35
|
+
overflowBadges: import("@angular/core").Signal<AXSchedulerOverflowBadge[]>;
|
36
|
+
allDayAppointmentsPerDay: import("@angular/core").Signal<AXSchedulerAllDaySlotData[]>;
|
37
|
+
overflowBadgesWithData: import("@angular/core").Signal<AXSchedulerGridBadgeInfo[]>;
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXSchedulerWeekViewComponent, never>;
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXSchedulerWeekViewComponent, "ax-scheduler-week-view", never, { "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "endHour": { "alias": "endHour"; "required": true; "isSignal": true; }; "date": { "alias": "date"; "required": true; "isSignal": true; }; "startHour": { "alias": "startHour"; "required": true; "isSignal": true; }; "appointments": { "alias": "appointments"; "required": false; "isSignal": true; }; }, { "slotClickedInternal": "slotClickedInternal"; "slotDblClickedInternal": "slotDblClickedInternal"; "slotRightClickedInternal": "slotRightClickedInternal"; "appointmentClickedInternal": "appointmentClickedInternal"; "appointmentDblClickedInternal": "appointmentDblClickedInternal"; "appointmentRightClickedInternal": "appointmentRightClickedInternal"; }, never, never, true, never>;
|
40
|
+
}
|
41
|
+
export {};
|
@@ -35,7 +35,8 @@ export declare class AXTreeViewComponent extends NXComponent {
|
|
35
35
|
onNodedbClick: import("@angular/core").OutputEmitterRef<AXTreeItemClickBaseEvent>;
|
36
36
|
executorChanges: import("@angular/core").WritableSignal<AXTreeViewOperationMethod>;
|
37
37
|
look: import("@angular/core").InputSignal<AXTreeViewLook>;
|
38
|
-
itemTemplate
|
38
|
+
itemTemplate?: TemplateRef<unknown>;
|
39
|
+
emptyTemplate?: TemplateRef<unknown>;
|
39
40
|
protected platformService: AXPlatform;
|
40
41
|
expandOn: import("@angular/core").InputSignal<AXTreeViewExpandBehavior>;
|
41
42
|
protected handleNodeSelectionClick(event: AXValueChangedEvent, item: unknown): void;
|
@@ -89,6 +90,7 @@ export declare class AXTreeViewComponent extends NXComponent {
|
|
89
90
|
protected isNodeLoading(nodeId: string | number): boolean;
|
90
91
|
setNodeLoading(nodeId: string | number, isLoading: boolean): void;
|
91
92
|
executeOnTreeNode(node: unknown, operation: AXTreeViewOperationMethod, value: boolean): void;
|
93
|
+
refresh(): void;
|
92
94
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXTreeViewComponent, never>;
|
93
|
-
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; }; "expandOn": { "alias": "expandOn"; "required": false; "isSignal": true; }; }, { "onSelectionChanged": "onSelectionChanged"; "onNodeClick": "onNodeClick"; "onCollapsedChanged": "onCollapsedChanged"; "onNodedbClick": "onNodedbClick"; }, never, never, true, 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>;
|
94
96
|
}
|
@@ -32,6 +32,8 @@ export declare class AXWysiwygContainerComponent extends AXWysiwygContainerCompo
|
|
32
32
|
protected internalValueChanged(value: any): void;
|
33
33
|
/** @ignore */
|
34
34
|
ngOnDestroy(): void;
|
35
|
+
focus(): void;
|
36
|
+
blur(): void;
|
35
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXWysiwygContainerComponent, never>;
|
36
38
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXWysiwygContainerComponent, "ax-wysiwyg-container", never, { "look": { "alias": "look"; "required": false; }; "placeHolder": { "alias": "placeHolder"; "required": false; "isSignal": true; }; }, { "onValueChanged": "onValueChanged"; }, never, ["*", "ax-validation-rule"], true, never>;
|
37
39
|
}
|
@@ -1,41 +0,0 @@
|
|
1
|
-
import { MXBaseComponent } from '@acorex/components/common';
|
2
|
-
import { AXDateTime } from '@acorex/core/date-time';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
/**
|
5
|
-
* @category
|
6
|
-
* Represents a view in the scheduler component that displays the calendar month.
|
7
|
-
*/
|
8
|
-
export declare class AXSchedulerMonthViewComponent extends MXBaseComponent {
|
9
|
-
/** @ignore */
|
10
|
-
private _platform;
|
11
|
-
/** @ignore */
|
12
|
-
protected _slots: {
|
13
|
-
date: AXDateTime;
|
14
|
-
cssClass: {
|
15
|
-
[key: string]: boolean;
|
16
|
-
};
|
17
|
-
isToday: boolean;
|
18
|
-
}[];
|
19
|
-
/** @ignore */
|
20
|
-
protected get dayNames(): string[];
|
21
|
-
/** @ignore */
|
22
|
-
private _date;
|
23
|
-
/**
|
24
|
-
* Gets or sets the date for the scheduler view.
|
25
|
-
*/
|
26
|
-
get date(): AXDateTime;
|
27
|
-
/**
|
28
|
-
* Sets the date for the scheduler view and triggers the generation of time slots.
|
29
|
-
* @param {AXDateTime} v
|
30
|
-
*/
|
31
|
-
set date(v: AXDateTime);
|
32
|
-
/** @ignore */
|
33
|
-
ngOnInit(): void;
|
34
|
-
/**
|
35
|
-
* Generates slots for the scheduler, including CSS classes for days outside the current month
|
36
|
-
* and a flag for the current day.
|
37
|
-
*/
|
38
|
-
generateSlots(): void;
|
39
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXSchedulerMonthViewComponent, never>;
|
40
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXSchedulerMonthViewComponent, "ax-scheduler-month-view", never, { "date": { "alias": "date"; "required": false; }; }, {}, never, never, true, never>;
|
41
|
-
}
|