@acorex/components 21.0.1-next.52 → 21.0.1-next.55
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/fab/README.md +3 -0
- package/fesm2022/acorex-components-accordion.mjs +4 -4
- package/fesm2022/acorex-components-action-sheet.mjs +2 -2
- package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
- package/fesm2022/acorex-components-alert.mjs +2 -2
- package/fesm2022/acorex-components-audio-wave.mjs +2 -2
- package/fesm2022/acorex-components-avatar.mjs +2 -2
- package/fesm2022/acorex-components-badge.mjs +2 -2
- package/fesm2022/acorex-components-bottom-navigation.mjs +2 -2
- package/fesm2022/acorex-components-breadcrumbs.mjs +2 -2
- package/fesm2022/acorex-components-button-group.mjs +24 -13
- package/fesm2022/acorex-components-button-group.mjs.map +1 -1
- package/fesm2022/acorex-components-button.mjs +4 -4
- package/fesm2022/acorex-components-calendar.mjs +4 -4
- package/fesm2022/acorex-components-check-box.mjs +2 -2
- package/fesm2022/acorex-components-chips.mjs +2 -2
- package/fesm2022/acorex-components-circular-progress.mjs +2 -2
- package/fesm2022/acorex-components-code-editor.mjs +2 -2
- package/fesm2022/acorex-components-code-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-color-box.mjs +2 -2
- package/fesm2022/acorex-components-color-palette.mjs +2 -2
- package/fesm2022/acorex-components-command.mjs +2 -2
- package/fesm2022/acorex-components-comment.mjs +6 -6
- package/fesm2022/acorex-components-conversation.mjs +1 -1
- package/fesm2022/acorex-components-conversation.mjs.map +1 -1
- package/fesm2022/acorex-components-conversation2.mjs +3817 -2952
- package/fesm2022/acorex-components-conversation2.mjs.map +1 -1
- package/fesm2022/acorex-components-data-pager.mjs +2 -2
- package/fesm2022/acorex-components-data-table.mjs +2 -2
- package/fesm2022/acorex-components-datetime-box.mjs +2 -2
- package/fesm2022/acorex-components-datetime-input.mjs +2 -2
- package/fesm2022/acorex-components-datetime-picker.mjs +2 -2
- package/fesm2022/acorex-components-decorators.mjs +8 -8
- package/fesm2022/acorex-components-dialog.mjs +2 -2
- package/fesm2022/acorex-components-drawer.mjs +4 -4
- package/fesm2022/acorex-components-dropdown-button.mjs +2 -2
- package/fesm2022/acorex-components-dropdown.mjs +3 -4
- package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
- package/fesm2022/acorex-components-editor.mjs +2 -2
- package/fesm2022/acorex-components-fab.mjs +114 -0
- package/fesm2022/acorex-components-fab.mjs.map +1 -0
- package/fesm2022/acorex-components-file-explorer.mjs +1 -1
- package/fesm2022/acorex-components-file-explorer.mjs.map +1 -1
- package/fesm2022/acorex-components-form.mjs +2 -2
- package/fesm2022/acorex-components-image-editor.mjs +14 -14
- package/fesm2022/acorex-components-image.mjs +2 -2
- package/fesm2022/acorex-components-json-viewer.mjs +2 -2
- package/fesm2022/acorex-components-kanban.mjs +2 -2
- package/fesm2022/acorex-components-kbd.mjs +2 -2
- package/fesm2022/acorex-components-label.mjs +2 -2
- package/fesm2022/acorex-components-list.mjs +62 -14
- package/fesm2022/acorex-components-list.mjs.map +1 -1
- package/fesm2022/acorex-components-loading-dialog.mjs +2 -2
- package/fesm2022/acorex-components-loading.mjs +76 -36
- package/fesm2022/acorex-components-loading.mjs.map +1 -1
- package/fesm2022/acorex-components-map.mjs +2 -2
- package/fesm2022/acorex-components-media-viewer.mjs +10 -10
- package/fesm2022/acorex-components-menu.mjs +33 -13
- package/fesm2022/acorex-components-menu.mjs.map +1 -1
- package/fesm2022/{acorex-components-modal-acorex-components-modal-B03hJbP8.mjs → acorex-components-modal-acorex-components-modal-DNU5kOlV.mjs} +4 -4
- package/fesm2022/{acorex-components-modal-acorex-components-modal-B03hJbP8.mjs.map → acorex-components-modal-acorex-components-modal-DNU5kOlV.mjs.map} +1 -1
- package/fesm2022/{acorex-components-modal-modal-content.component-DrHm0mZ4.mjs → acorex-components-modal-modal-content.component-EDuWk0we.mjs} +4 -4
- package/fesm2022/{acorex-components-modal-modal-content.component-DrHm0mZ4.mjs.map → acorex-components-modal-modal-content.component-EDuWk0we.mjs.map} +1 -1
- package/fesm2022/acorex-components-modal.mjs +1 -1
- package/fesm2022/acorex-components-navbar.mjs +2 -2
- package/fesm2022/acorex-components-notification.mjs +2 -2
- package/fesm2022/acorex-components-number-box.mjs +2 -2
- package/fesm2022/acorex-components-otp.mjs +2 -2
- package/fesm2022/acorex-components-paint.mjs +4 -4
- package/fesm2022/acorex-components-password-box.mjs +2 -2
- package/fesm2022/acorex-components-pdf-reader.mjs +2 -2
- package/fesm2022/acorex-components-phone-box.mjs +2 -2
- package/fesm2022/acorex-components-picker.mjs +6 -6
- package/fesm2022/acorex-components-popover.mjs +4 -3
- package/fesm2022/acorex-components-popover.mjs.map +1 -1
- package/fesm2022/acorex-components-popup.mjs +3 -2
- package/fesm2022/acorex-components-popup.mjs.map +1 -1
- package/fesm2022/acorex-components-progress-bar.mjs +2 -2
- package/fesm2022/acorex-components-qrcode.mjs +2 -2
- package/fesm2022/acorex-components-query-builder.mjs +2 -2
- package/fesm2022/acorex-components-query-builder.mjs.map +1 -1
- package/fesm2022/acorex-components-radio.mjs +2 -2
- package/fesm2022/acorex-components-rail-navigation.mjs +2 -2
- package/fesm2022/acorex-components-range-slider.mjs +2 -2
- package/fesm2022/acorex-components-rate-picker.mjs +2 -2
- package/fesm2022/acorex-components-result.mjs +2 -2
- package/fesm2022/acorex-components-routing-progress.mjs +2 -2
- package/fesm2022/acorex-components-scheduler.mjs +85 -38
- package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
- package/fesm2022/acorex-components-select-box.mjs +2 -2
- package/fesm2022/acorex-components-select-box.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list-2.mjs +2 -2
- package/fesm2022/acorex-components-selection-list.mjs +2 -2
- package/fesm2022/acorex-components-side-menu.mjs +2 -2
- package/fesm2022/acorex-components-skeleton.mjs +2 -2
- package/fesm2022/acorex-components-sliding-item.mjs +2 -2
- package/fesm2022/acorex-components-step-wizard.mjs +2 -2
- package/fesm2022/acorex-components-switch.mjs +2 -2
- package/fesm2022/acorex-components-tabs.mjs +2 -2
- package/fesm2022/acorex-components-tag-box.mjs +2 -2
- package/fesm2022/acorex-components-tag.mjs +2 -2
- package/fesm2022/acorex-components-text-area.mjs +2 -2
- package/fesm2022/acorex-components-text-box.mjs +2 -2
- package/fesm2022/acorex-components-text-box.mjs.map +1 -1
- package/fesm2022/acorex-components-time-line.mjs +4 -4
- package/fesm2022/acorex-components-toast.mjs +2 -2
- package/fesm2022/acorex-components-toolbar.mjs +2 -2
- package/fesm2022/acorex-components-tooltip.mjs +7 -2
- package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
- package/fesm2022/acorex-components-uploader.mjs +6 -6
- package/fesm2022/acorex-components-wysiwyg.mjs +6 -6
- package/package.json +7 -6
- package/types/acorex-components-action-sheet.d.ts +1 -1
- package/types/acorex-components-button-group.d.ts +8 -8
- package/types/acorex-components-conversation2.d.ts +1106 -863
- package/types/acorex-components-fab.d.ts +50 -0
- package/types/acorex-components-list.d.ts +23 -1
- package/types/acorex-components-loading.d.ts +3 -1
- package/types/acorex-components-menu.d.ts +3 -1
- package/types/acorex-components-popover.d.ts +2 -1
- package/types/acorex-components-scheduler.d.ts +29 -14
- package/types/acorex-components-select-box.d.ts +6 -6
- package/types/acorex-components-tooltip.d.ts +1 -0
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { AXPlacementType, AXClickEvent, AXEvent } from '@acorex/cdk/common';
|
|
3
|
+
import { AXPopoverComponent } from '@acorex/components/popover';
|
|
4
|
+
|
|
5
|
+
declare class AXFabComponent {
|
|
6
|
+
#private;
|
|
7
|
+
label: _angular_core.InputSignal<string>;
|
|
8
|
+
popupStyle: _angular_core.InputSignal<"bubble" | "box">;
|
|
9
|
+
popupPlacement: _angular_core.ModelSignal<AXPlacementType>;
|
|
10
|
+
size: _angular_core.InputSignal<"xs" | "sm" | "md" | "lg" | "xl">;
|
|
11
|
+
protected popoverRef: _angular_core.Signal<AXPopoverComponent>;
|
|
12
|
+
protected offsetPopover: _angular_core.WritableSignal<number>;
|
|
13
|
+
/**
|
|
14
|
+
* Fires each time the user clicks the button.
|
|
15
|
+
* @event
|
|
16
|
+
*/
|
|
17
|
+
onClick: _angular_core.OutputEmitterRef<AXClickEvent>;
|
|
18
|
+
/**
|
|
19
|
+
* Emits when the popover is opened.
|
|
20
|
+
* @event
|
|
21
|
+
*/
|
|
22
|
+
onOpened: _angular_core.OutputEmitterRef<AXEvent>;
|
|
23
|
+
/**
|
|
24
|
+
* Emits when the popover is closed.
|
|
25
|
+
* @event
|
|
26
|
+
*/
|
|
27
|
+
onClosed: _angular_core.OutputEmitterRef<AXEvent>;
|
|
28
|
+
private addStyleClass;
|
|
29
|
+
protected openPopover(): void;
|
|
30
|
+
protected closePopover(): void;
|
|
31
|
+
close(): void;
|
|
32
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXFabComponent, never>;
|
|
33
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXFabComponent, "ax-fab", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "popupStyle": { "alias": "popupStyle"; "required": false; "isSignal": true; }; "popupPlacement": { "alias": "popupPlacement"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, { "popupPlacement": "popupPlacementChange"; "onClick": "onClick"; "onOpened": "onOpened"; "onClosed": "onClosed"; }, never, ["ax-icon", "ax-fab-item"], true, never>;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
declare class AXFabItemComponent {
|
|
37
|
+
label: _angular_core.InputSignal<string>;
|
|
38
|
+
protected parent: AXFabComponent;
|
|
39
|
+
protected buttonSize: _angular_core.Signal<"xs" | "sm" | "md" | "lg">;
|
|
40
|
+
/**
|
|
41
|
+
* Fires each time the user clicks the button.
|
|
42
|
+
* @event
|
|
43
|
+
*/
|
|
44
|
+
onClick: _angular_core.OutputEmitterRef<AXClickEvent>;
|
|
45
|
+
protected clickHandler(): void;
|
|
46
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXFabItemComponent, never>;
|
|
47
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXFabItemComponent, "ax-fab-item", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; }, { "onClick": "onClick"; }, never, ["ax-icon"], true, never>;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export { AXFabComponent, AXFabItemComponent };
|
|
@@ -11,6 +11,7 @@ interface AXListScrollIndexChanged extends AXEvent {
|
|
|
11
11
|
* @category Components
|
|
12
12
|
*/
|
|
13
13
|
declare class AXListComponent extends MXSelectionValueComponent implements OnInit {
|
|
14
|
+
private tooltipRef;
|
|
14
15
|
/**
|
|
15
16
|
* Determines if an item is truncated.
|
|
16
17
|
*
|
|
@@ -23,12 +24,21 @@ declare class AXListComponent extends MXSelectionValueComponent implements OnIni
|
|
|
23
24
|
* @defaultValue false
|
|
24
25
|
*/
|
|
25
26
|
showItemTooltip: i0.InputSignal<boolean>;
|
|
27
|
+
/** @ignore */
|
|
28
|
+
private _dataSource;
|
|
29
|
+
/** @ignore */
|
|
30
|
+
private _isInitialized;
|
|
31
|
+
/** @ignore */
|
|
32
|
+
private _onChangedSub?;
|
|
33
|
+
/** @ignore */
|
|
34
|
+
private _onLoadingChangedSub?;
|
|
26
35
|
/**
|
|
27
36
|
* Defines the data source for the list.
|
|
28
37
|
*
|
|
29
38
|
* @defaultValue convertArrayToDataSource([])
|
|
30
39
|
*/
|
|
31
|
-
dataSource: AXDataSource<unknown
|
|
40
|
+
set dataSource(v: AXDataSource<unknown>);
|
|
41
|
+
get dataSource(): AXDataSource<unknown>;
|
|
32
42
|
/**
|
|
33
43
|
* @ignore
|
|
34
44
|
*/
|
|
@@ -90,6 +100,18 @@ declare class AXListComponent extends MXSelectionValueComponent implements OnIni
|
|
|
90
100
|
* @ignore
|
|
91
101
|
*/
|
|
92
102
|
ngOnInit(): void;
|
|
103
|
+
/**
|
|
104
|
+
* @ignore
|
|
105
|
+
*/
|
|
106
|
+
protected ngOnDestroy(): void;
|
|
107
|
+
/**
|
|
108
|
+
* (Re)creates the internal `AXListDataSource` wrapper used by `cdkVirtualFor`
|
|
109
|
+
* and (re)subscribes to the underlying source's events. This is invoked
|
|
110
|
+
* whenever the `dataSource` input changes so that the list properly reflects
|
|
111
|
+
* the new source.
|
|
112
|
+
* @ignore
|
|
113
|
+
*/
|
|
114
|
+
private _setupListDataSource;
|
|
93
115
|
/**
|
|
94
116
|
* @ignore
|
|
95
117
|
*/
|
|
@@ -99,7 +99,9 @@ type LoaderId = string | number;
|
|
|
99
99
|
declare class AXLoadingService {
|
|
100
100
|
protected loadingStates: WeakMap<object, Map<LoaderId, boolean>>;
|
|
101
101
|
protected loadingStates$: WeakMap<object, Map<LoaderId, BehaviorSubject<boolean>>>;
|
|
102
|
-
private
|
|
102
|
+
private overlayService;
|
|
103
|
+
private document;
|
|
104
|
+
private activeOverlays;
|
|
103
105
|
/**
|
|
104
106
|
* Shows a modal loading overlay.
|
|
105
107
|
*
|
|
@@ -60,6 +60,8 @@ declare class AXContextMenuComponent extends NXComponent {
|
|
|
60
60
|
readonly target: _angular_core.InputSignal<string | HTMLElement | HTMLElement[]>;
|
|
61
61
|
onItemClick: _angular_core.OutputEmitterRef<AXContextMenuItemsClickEvent>;
|
|
62
62
|
onOpening: _angular_core.OutputEmitterRef<AXContextMenuOpeningEvent>;
|
|
63
|
+
/** Emitted when the menu closes (backdrop, item click, scroll, another menu opening, etc.). */
|
|
64
|
+
onClose: _angular_core.OutputEmitterRef<void>;
|
|
63
65
|
hasArrow: _angular_core.WritableSignal<boolean>;
|
|
64
66
|
private service;
|
|
65
67
|
private renderer;
|
|
@@ -109,7 +111,7 @@ declare class AXContextMenuComponent extends NXComponent {
|
|
|
109
111
|
/** @ignore */
|
|
110
112
|
get __hostClass(): any;
|
|
111
113
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXContextMenuComponent, never>;
|
|
112
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXContextMenuComponent, "ax-context-menu", never, { "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "openOn": { "alias": "openOn"; "required": false; "isSignal": true; }; "closeOn": { "alias": "closeOn"; "required": false; "isSignal": true; }; "originalItems": { "alias": "items"; "required": false; "isSignal": true; }; "target": { "alias": "target"; "required": false; "isSignal": true; }; }, { "onItemClick": "onItemClick"; "onOpening": "onOpening"; }, never, ["ax-menu-item,ax-divider,ax-title,ng-container"], true, never>;
|
|
114
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXContextMenuComponent, "ax-context-menu", never, { "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "openOn": { "alias": "openOn"; "required": false; "isSignal": true; }; "closeOn": { "alias": "closeOn"; "required": false; "isSignal": true; }; "originalItems": { "alias": "items"; "required": false; "isSignal": true; }; "target": { "alias": "target"; "required": false; "isSignal": true; }; }, { "onItemClick": "onItemClick"; "onOpening": "onOpening"; "onClose": "onClose"; }, never, ["ax-menu-item,ax-divider,ax-title,ng-container"], true, never>;
|
|
113
115
|
}
|
|
114
116
|
|
|
115
117
|
type AXMenuItemClickEvent = AXMenuItemClickBaseEvent<AXMenuItemComponent>;
|
|
@@ -36,6 +36,7 @@ declare class AXPopoverComponent extends MXBaseComponent implements OnDestroy {
|
|
|
36
36
|
/** @ignore */
|
|
37
37
|
private _disabled;
|
|
38
38
|
readonly width: i0.InputSignal<string>;
|
|
39
|
+
readonly disablePanelClass: i0.InputSignal<boolean>;
|
|
39
40
|
private translateService;
|
|
40
41
|
/**
|
|
41
42
|
* Gets or sets whether the popover is disabled.
|
|
@@ -235,7 +236,7 @@ declare class AXPopoverComponent extends MXBaseComponent implements OnDestroy {
|
|
|
235
236
|
/** @ignore */
|
|
236
237
|
ngOnDestroy(): void;
|
|
237
238
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPopoverComponent, never>;
|
|
238
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXPopoverComponent, "ax-popover", never, { "width": { "alias": "width"; "required": false; "isSignal": true; }; "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; }; "repositionOnScroll": { "alias": "repositionOnScroll"; "required": false; }; "backdropClass": { "alias": "backdropClass"; "required": false; }; "panelClass": { "alias": "panelClass"; "required": false; }; "adaptivityEnabled": { "alias": "adaptivityEnabled"; "required": false; }; }, { "onOpened": "onOpened"; "onClosed": "onClosed"; }, never, ["*"], true, never>;
|
|
239
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPopoverComponent, "ax-popover", never, { "width": { "alias": "width"; "required": false; "isSignal": true; }; "disablePanelClass": { "alias": "disablePanelClass"; "required": false; "isSignal": true; }; "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; }; "repositionOnScroll": { "alias": "repositionOnScroll"; "required": false; }; "backdropClass": { "alias": "backdropClass"; "required": false; }; "panelClass": { "alias": "panelClass"; "required": false; }; "adaptivityEnabled": { "alias": "adaptivityEnabled"; "required": false; }; }, { "onOpened": "onOpened"; "onClosed": "onClosed"; }, never, ["*"], true, never>;
|
|
239
240
|
}
|
|
240
241
|
|
|
241
242
|
declare class AXPopoverModule {
|
|
@@ -4,7 +4,7 @@ import * as _angular_core from '@angular/core';
|
|
|
4
4
|
import { OnInit, TemplateRef, AfterViewInit, OnDestroy, ElementRef } from '@angular/core';
|
|
5
5
|
import { AXDropZoneDropEvent } from '@acorex/cdk/drag-drop';
|
|
6
6
|
|
|
7
|
-
type AXSchedulerView = 'day' | 'week' | 'month' | 'timeline-day' | 'timeline-
|
|
7
|
+
type AXSchedulerView = 'day' | 'week' | 'month' | 'timeline-day' | 'timeline-weekly' | 'timeline-month' | 'timeline-year' | 'agenda';
|
|
8
8
|
type AXDayOfWeekName = 'sunday' | 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday';
|
|
9
9
|
type AXSchedulerBlockIdentifier = {
|
|
10
10
|
dayIndex: number;
|
|
@@ -116,7 +116,13 @@ declare class AXSchedulerComponent extends NXComponent implements OnInit {
|
|
|
116
116
|
private translationService;
|
|
117
117
|
private viewModeSelectbox;
|
|
118
118
|
private calendarPopover;
|
|
119
|
-
|
|
119
|
+
private _calendarDayCellTemplate;
|
|
120
|
+
private _calendarMonthCellTemplate;
|
|
121
|
+
private _calendarYearCellTemplate;
|
|
122
|
+
/** Expose template refs for calendar bindings (signals are not callable in template type-check) */
|
|
123
|
+
protected get calendarDayCellTemplateRef(): TemplateRef<unknown> | undefined;
|
|
124
|
+
protected get calendarMonthCellTemplateRef(): TemplateRef<unknown> | undefined;
|
|
125
|
+
protected get calendarYearCellTemplateRef(): TemplateRef<unknown> | undefined;
|
|
120
126
|
private displayViews;
|
|
121
127
|
calendar: _angular_core.InputSignal<string>;
|
|
122
128
|
protected calendarType: _angular_core.WritableSignal<string>;
|
|
@@ -181,6 +187,15 @@ declare class AXSchedulerComponent extends NXComponent implements OnInit {
|
|
|
181
187
|
range: _angular_core.Signal<AXSchedulerDateRange>;
|
|
182
188
|
viewAppointments: _angular_core.Signal<AXSchedulerAppointment[]>;
|
|
183
189
|
protected hasAppointmentsOnDate(date: Date): boolean;
|
|
190
|
+
/**
|
|
191
|
+
* Returns whether any appointment overlaps the given month (used for calendar month-cell badge).
|
|
192
|
+
* Works correctly when navigating to previous/next month or year in the calendar.
|
|
193
|
+
*/
|
|
194
|
+
protected hasAppointmentsInMonth(monthStartDate: Date): boolean;
|
|
195
|
+
/**
|
|
196
|
+
* Returns whether any appointment falls in the given year (used for calendar year-cell badge).
|
|
197
|
+
*/
|
|
198
|
+
protected hasAppointmentsInYear(yearStartDate: Date): boolean;
|
|
184
199
|
/**
|
|
185
200
|
* Handles view change events.
|
|
186
201
|
*
|
|
@@ -795,9 +810,9 @@ declare class AXSchedulerTimelineMonthViewComponent extends NXComponent implemen
|
|
|
795
810
|
}
|
|
796
811
|
|
|
797
812
|
/**
|
|
798
|
-
* Represents a spanning appointment in the timeline-
|
|
813
|
+
* Represents a spanning appointment in the timeline-weekly view.
|
|
799
814
|
*/
|
|
800
|
-
interface
|
|
815
|
+
interface AXSchedulerTimelineWeeklySpanningAppointment {
|
|
801
816
|
appointment: AXSchedulerAppointment;
|
|
802
817
|
startDayIndex: number;
|
|
803
818
|
spanCount: number;
|
|
@@ -806,7 +821,7 @@ interface AXSchedulerTimelineMultiDaySpanningAppointment {
|
|
|
806
821
|
isEndClipped: boolean;
|
|
807
822
|
resourceId?: unknown;
|
|
808
823
|
}
|
|
809
|
-
interface
|
|
824
|
+
interface TimelineWeeklyDaySlot {
|
|
810
825
|
date: AXDateTime;
|
|
811
826
|
originalAppointmentsForThisDay: AXSchedulerAppointment[];
|
|
812
827
|
holiday?: {
|
|
@@ -814,7 +829,7 @@ interface TimelineMultiDayDaySlot {
|
|
|
814
829
|
holiday?: AXHolidayDate;
|
|
815
830
|
};
|
|
816
831
|
}
|
|
817
|
-
declare class
|
|
832
|
+
declare class AXSchedulerTimelineWeeklyViewComponent extends NXComponent implements AfterViewInit, OnDestroy {
|
|
818
833
|
private destroyRef;
|
|
819
834
|
private scheduler;
|
|
820
835
|
private calendarService;
|
|
@@ -840,7 +855,7 @@ declare class AXSchedulerTimelineMultiDayViewComponent extends NXComponent imple
|
|
|
840
855
|
appointments: _angular_core.InputSignal<AXSchedulerAppointment[]>;
|
|
841
856
|
tooltipTemplate: _angular_core.InputSignal<string | TemplateRef<unknown>>;
|
|
842
857
|
currentTimeLineElement: _angular_core.Signal<ElementRef<HTMLElement>>;
|
|
843
|
-
protected daysDataForTimelineViews: _angular_core.Signal<
|
|
858
|
+
protected daysDataForTimelineViews: _angular_core.Signal<TimelineWeeklyDaySlot[]>;
|
|
844
859
|
/**
|
|
845
860
|
* Checks if an appointment spans multiple days.
|
|
846
861
|
*/
|
|
@@ -848,7 +863,7 @@ declare class AXSchedulerTimelineMultiDayViewComponent extends NXComponent imple
|
|
|
848
863
|
/**
|
|
849
864
|
* Computes spanning appointments for multi-day events across the view.
|
|
850
865
|
*/
|
|
851
|
-
protected spanningAppointments: _angular_core.Signal<
|
|
866
|
+
protected spanningAppointments: _angular_core.Signal<AXSchedulerTimelineWeeklySpanningAppointment[]>;
|
|
852
867
|
/**
|
|
853
868
|
* Gets the set of multi-day appointment IDs to exclude from individual day views.
|
|
854
869
|
*/
|
|
@@ -856,7 +871,7 @@ declare class AXSchedulerTimelineMultiDayViewComponent extends NXComponent imple
|
|
|
856
871
|
/**
|
|
857
872
|
* Gets spanning appointments filtered for a specific resource.
|
|
858
873
|
*/
|
|
859
|
-
protected getSpanningAppointmentsForResource(resourceId: unknown):
|
|
874
|
+
protected getSpanningAppointmentsForResource(resourceId: unknown): AXSchedulerTimelineWeeklySpanningAppointment[];
|
|
860
875
|
/**
|
|
861
876
|
* Gets the maximum number of spanning rows for a resource.
|
|
862
877
|
*/
|
|
@@ -934,8 +949,8 @@ declare class AXSchedulerTimelineMultiDayViewComponent extends NXComponent imple
|
|
|
934
949
|
state: 'holiday' | 'weekend' | 'none';
|
|
935
950
|
holiday?: AXHolidayDate;
|
|
936
951
|
};
|
|
937
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
938
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
952
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSchedulerTimelineWeeklyViewComponent, never>;
|
|
953
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXSchedulerTimelineWeeklyViewComponent, "ax-scheduler-timeline-weekly-view", never, { "daysCount": { "alias": "daysCount"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "hasActions": { "alias": "hasActions"; "required": false; "isSignal": true; }; "dragStartDelay": { "alias": "dragStartDelay"; "required": false; "isSignal": true; }; "calendar": { "alias": "calendar"; "required": false; "isSignal": true; }; "showResourceHeaders": { "alias": "showResourceHeaders"; "required": false; "isSignal": true; }; "date": { "alias": "date"; "required": true; "isSignal": true; }; "endDayHour": { "alias": "endDayHour"; "required": true; "isSignal": true; }; "selectedAppointmentId": { "alias": "selectedAppointmentId"; "required": false; "isSignal": true; }; "showCurrentTimeIndicator": { "alias": "showCurrentTimeIndicator"; "required": false; "isSignal": true; }; "scrollToCurrentTimeIndicator": { "alias": "scrollToCurrentTimeIndicator"; "required": false; "isSignal": true; }; "startDayHour": { "alias": "startDayHour"; "required": true; "isSignal": true; }; "showUnassignedAppointments": { "alias": "showUnassignedAppointments"; "required": false; "isSignal": true; }; "resources": { "alias": "resources"; "required": false; "isSignal": true; }; "resourceTemplate": { "alias": "resourceTemplate"; "required": false; "isSignal": true; }; "appointments": { "alias": "appointments"; "required": false; "isSignal": true; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; "isSignal": true; }; }, { "slotClickedInternal": "slotClickedInternal"; "slotDblClickedInternal": "slotDblClickedInternal"; "slotRightClickedInternal": "slotRightClickedInternal"; "appointmentClickedInternal": "appointmentClickedInternal"; "appointmentDblClickedInternal": "appointmentDblClickedInternal"; "appointmentRightClickedInternal": "appointmentRightClickedInternal"; "onActionClickInternal": "onActionClickInternal"; "onAppointmentDropInternal": "onAppointmentDropInternal"; }, never, never, true, never>;
|
|
939
954
|
}
|
|
940
955
|
|
|
941
956
|
interface TimelineYearViewDayData {
|
|
@@ -1032,7 +1047,7 @@ declare class AXSchedulerTimelineYearViewComponent extends NXComponent implement
|
|
|
1032
1047
|
|
|
1033
1048
|
declare class AXSchedulerModule {
|
|
1034
1049
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSchedulerModule, never>;
|
|
1035
|
-
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXSchedulerModule, never, [typeof AXSchedulerComponent, typeof AXSchedulerDayViewComponent, typeof AXSchedulerWeekViewComponent, typeof AXSchedulerMonthViewComponent, typeof AXSchedulerAgendaViewComponent, typeof AXSchedulerTimelineDayViewComponent, typeof AXSchedulerTimelineMonthViewComponent, typeof
|
|
1050
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXSchedulerModule, never, [typeof AXSchedulerComponent, typeof AXSchedulerDayViewComponent, typeof AXSchedulerWeekViewComponent, typeof AXSchedulerMonthViewComponent, typeof AXSchedulerAgendaViewComponent, typeof AXSchedulerTimelineDayViewComponent, typeof AXSchedulerTimelineMonthViewComponent, typeof AXSchedulerTimelineWeeklyViewComponent, typeof AXSchedulerTimelineYearViewComponent], [typeof AXSchedulerComponent, typeof AXSchedulerDayViewComponent, typeof AXSchedulerWeekViewComponent, typeof AXSchedulerMonthViewComponent, typeof AXSchedulerAgendaViewComponent, typeof AXSchedulerTimelineDayViewComponent, typeof AXSchedulerTimelineMonthViewComponent, typeof AXSchedulerTimelineWeeklyViewComponent, typeof AXSchedulerTimelineYearViewComponent]>;
|
|
1036
1051
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXSchedulerModule>;
|
|
1037
1052
|
}
|
|
1038
1053
|
|
|
@@ -1298,5 +1313,5 @@ declare class AXSchedulerService {
|
|
|
1298
1313
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AXSchedulerService>;
|
|
1299
1314
|
}
|
|
1300
1315
|
|
|
1301
|
-
export { AXSchedulerAgendaViewComponent, AXSchedulerComponent, AXSchedulerDayViewComponent, AXSchedulerModule, AXSchedulerMonthViewComponent, AXSchedulerService, AXSchedulerTimelineDayViewComponent, AXSchedulerTimelineMonthViewComponent,
|
|
1302
|
-
export type { AXDayOfWeekName, AXSchedulerActiveAppointmentsInBlock, AXSchedulerAllDaySlotData, AXSchedulerAppointment, AXSchedulerAppointmentDataSource, AXSchedulerAppointmentDataSourceFilter, AXSchedulerAppointmentDropResult, AXSchedulerAppointmentLayout, AXSchedulerAppointmentLoader, AXSchedulerAppointmentLoaderAsync, AXSchedulerAppointmentMouseEvent, AXSchedulerAppointmentSegment, AXSchedulerBlockIdentifier, AXSchedulerBlockOccupancyMap, AXSchedulerDateRange, AXSchedulerDayAppointmentLayout, AXSchedulerMonthDayCell, AXSchedulerMultiDayViewAppointment, AXSchedulerOverflowBadge, AXSchedulerResource, AXSchedulerSlotDropEvent, AXSchedulerSlotMouseEvent, AXSchedulerSpanningAppointment, AXSchedulerTimelineSpanningAppointment, AXSchedulerTimelineYearSpanningAppointment, AXSchedulerView, AgendaDayData, TimelineMonthViewDayData,
|
|
1316
|
+
export { AXSchedulerAgendaViewComponent, AXSchedulerComponent, AXSchedulerDayViewComponent, AXSchedulerModule, AXSchedulerMonthViewComponent, AXSchedulerService, AXSchedulerTimelineDayViewComponent, AXSchedulerTimelineMonthViewComponent, AXSchedulerTimelineWeeklyViewComponent, AXSchedulerTimelineYearViewComponent, AXSchedulerWeekViewComponent };
|
|
1317
|
+
export type { AXDayOfWeekName, AXSchedulerActiveAppointmentsInBlock, AXSchedulerAllDaySlotData, AXSchedulerAppointment, AXSchedulerAppointmentDataSource, AXSchedulerAppointmentDataSourceFilter, AXSchedulerAppointmentDropResult, AXSchedulerAppointmentLayout, AXSchedulerAppointmentLoader, AXSchedulerAppointmentLoaderAsync, AXSchedulerAppointmentMouseEvent, AXSchedulerAppointmentSegment, AXSchedulerBlockIdentifier, AXSchedulerBlockOccupancyMap, AXSchedulerDateRange, AXSchedulerDayAppointmentLayout, AXSchedulerMonthDayCell, AXSchedulerMultiDayViewAppointment, AXSchedulerOverflowBadge, AXSchedulerResource, AXSchedulerSlotDropEvent, AXSchedulerSlotMouseEvent, AXSchedulerSpanningAppointment, AXSchedulerTimelineSpanningAppointment, AXSchedulerTimelineYearSpanningAppointment, AXSchedulerView, AgendaDayData, TimelineMonthViewDayData, TimelineWeeklyDaySlot, TimelineYearViewDayData };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { OnDestroy,
|
|
2
|
+
import { OnDestroy, TemplateRef, ElementRef } from '@angular/core';
|
|
3
3
|
import * as polytype from 'polytype';
|
|
4
4
|
import * as i2 from '@acorex/cdk/common';
|
|
5
5
|
import { MXSelectionValueComponent, MXLookComponent, AXDataSource, MXSelectionBridgeService, AXEvent, AXValueChangedEvent, AXItemClickEvent, AXItemSelectedEvent } from '@acorex/cdk/common';
|
|
@@ -46,15 +46,15 @@ declare class AXSelectBoxComponent extends AXSelectBoxComponent_base implements
|
|
|
46
46
|
/** @ignore */
|
|
47
47
|
private hotKeyService;
|
|
48
48
|
/** @ignore */
|
|
49
|
-
protected isLoading: WritableSignal<boolean>;
|
|
49
|
+
protected isLoading: _angular_core.WritableSignal<boolean>;
|
|
50
50
|
/** @ignore */
|
|
51
|
-
protected searchValue: WritableSignal<string>;
|
|
51
|
+
protected searchValue: _angular_core.WritableSignal<string>;
|
|
52
52
|
/** @ignore */
|
|
53
|
-
protected renderList: WritableSignal<boolean>;
|
|
53
|
+
protected renderList: _angular_core.WritableSignal<boolean>;
|
|
54
54
|
/** @ignore */
|
|
55
|
-
protected _dropdownWidth: WritableSignal<string>;
|
|
55
|
+
protected _dropdownWidth: _angular_core.WritableSignal<string>;
|
|
56
56
|
/** @ignore */
|
|
57
|
-
protected _dropdownHeight: WritableSignal<string>;
|
|
57
|
+
protected _dropdownHeight: _angular_core.WritableSignal<string>;
|
|
58
58
|
/** @ignore */
|
|
59
59
|
protected _listDataSource: AXDataSource<any>;
|
|
60
60
|
/** @ignore */
|
|
@@ -46,6 +46,7 @@ declare class AXTooltipDirective {
|
|
|
46
46
|
get closeAfter(): number;
|
|
47
47
|
set closeAfter(v: number);
|
|
48
48
|
private popoverRef;
|
|
49
|
+
close(): void;
|
|
49
50
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXTooltipDirective, never>;
|
|
50
51
|
static ɵdir: i0.ɵɵDirectiveDeclaration<AXTooltipDirective, "[axTooltip]", never, { "axTooltipDisabled": { "alias": "axTooltipDisabled"; "required": false; "isSignal": true; }; "content": { "alias": "axTooltip"; "required": false; "isSignal": true; }; "context": { "alias": "axTooltipContext"; "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>;
|
|
51
52
|
}
|