@acorex/cdk 21.0.1-next.7 → 21.0.1-next.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/acorex-cdk-accordion.mjs +23 -23
- package/fesm2022/acorex-cdk-accordion.mjs.map +1 -1
- package/fesm2022/acorex-cdk-carousel.mjs +22 -31
- package/fesm2022/acorex-cdk-carousel.mjs.map +1 -1
- package/fesm2022/acorex-cdk-clipboard.mjs +7 -7
- package/fesm2022/acorex-cdk-clipboard.mjs.map +1 -1
- package/fesm2022/acorex-cdk-common.mjs +113 -104
- package/fesm2022/acorex-cdk-common.mjs.map +1 -1
- package/fesm2022/acorex-cdk-dom.mjs +3 -3
- package/fesm2022/acorex-cdk-dom.mjs.map +1 -1
- package/fesm2022/acorex-cdk-double-click.mjs +3 -3
- package/fesm2022/acorex-cdk-double-click.mjs.map +1 -1
- package/fesm2022/acorex-cdk-drag-drop.mjs +20 -20
- package/fesm2022/acorex-cdk-drag-drop.mjs.map +1 -1
- package/fesm2022/acorex-cdk-drawer.mjs +40 -16
- package/fesm2022/acorex-cdk-drawer.mjs.map +1 -1
- package/fesm2022/acorex-cdk-focus-trap.mjs +3 -3
- package/fesm2022/acorex-cdk-focus-trap.mjs.map +1 -1
- package/fesm2022/acorex-cdk-full-screen.mjs +15 -4
- package/fesm2022/acorex-cdk-full-screen.mjs.map +1 -1
- package/fesm2022/acorex-cdk-input-mask.mjs +67 -14
- package/fesm2022/acorex-cdk-input-mask.mjs.map +1 -1
- package/fesm2022/acorex-cdk-list-navigation.mjs +11 -11
- package/fesm2022/acorex-cdk-list-navigation.mjs.map +1 -1
- package/fesm2022/acorex-cdk-outline.mjs +6 -6
- package/fesm2022/acorex-cdk-outline.mjs.map +1 -1
- package/fesm2022/acorex-cdk-overlay.mjs +370 -14
- package/fesm2022/acorex-cdk-overlay.mjs.map +1 -1
- package/fesm2022/acorex-cdk-pan-view.mjs +3 -3
- package/fesm2022/acorex-cdk-pan-view.mjs.map +1 -1
- package/fesm2022/acorex-cdk-resizable.mjs +3 -3
- package/fesm2022/acorex-cdk-resizable.mjs.map +1 -1
- package/fesm2022/acorex-cdk-selection.mjs +11 -11
- package/fesm2022/acorex-cdk-selection.mjs.map +1 -1
- package/fesm2022/acorex-cdk-sliding-item.mjs +3 -3
- package/fesm2022/acorex-cdk-sliding-item.mjs.map +1 -1
- package/fesm2022/acorex-cdk-sticky.mjs +50 -29
- package/fesm2022/acorex-cdk-sticky.mjs.map +1 -1
- package/fesm2022/acorex-cdk-uploader.mjs +9 -9
- package/fesm2022/acorex-cdk-uploader.mjs.map +1 -1
- package/fesm2022/acorex-cdk-virtual-scroll.mjs +10 -10
- package/fesm2022/acorex-cdk-virtual-scroll.mjs.map +1 -1
- package/fesm2022/acorex-cdk-z-index.mjs +35 -0
- package/fesm2022/acorex-cdk-z-index.mjs.map +1 -0
- package/package.json +31 -29
- package/types/acorex-cdk-carousel.d.ts +16 -0
- package/{common/index.d.ts → types/acorex-cdk-common.d.ts} +1 -0
- package/{drawer/index.d.ts → types/acorex-cdk-drawer.d.ts} +2 -0
- package/{focus-trap/index.d.ts → types/acorex-cdk-focus-trap.d.ts} +1 -1
- package/{full-screen/index.d.ts → types/acorex-cdk-full-screen.d.ts} +5 -0
- package/{input-mask/index.d.ts → types/acorex-cdk-input-mask.d.ts} +39 -3
- package/types/acorex-cdk-overlay.d.ts +128 -0
- package/{sticky/index.d.ts → types/acorex-cdk-sticky.d.ts} +18 -11
- package/types/acorex-cdk-z-index.d.ts +14 -0
- package/z-index/README.md +3 -0
- package/carousel/index.d.ts +0 -18
- package/overlay/index.d.ts +0 -27
- /package/{accordion/index.d.ts → types/acorex-cdk-accordion.d.ts} +0 -0
- /package/{clipboard/index.d.ts → types/acorex-cdk-clipboard.d.ts} +0 -0
- /package/{dom/index.d.ts → types/acorex-cdk-dom.d.ts} +0 -0
- /package/{double-click/index.d.ts → types/acorex-cdk-double-click.d.ts} +0 -0
- /package/{drag-drop/index.d.ts → types/acorex-cdk-drag-drop.d.ts} +0 -0
- /package/{list-navigation/index.d.ts → types/acorex-cdk-list-navigation.d.ts} +0 -0
- /package/{outline/index.d.ts → types/acorex-cdk-outline.d.ts} +0 -0
- /package/{pan-view/index.d.ts → types/acorex-cdk-pan-view.d.ts} +0 -0
- /package/{qrcode/index.d.ts → types/acorex-cdk-qrcode.d.ts} +0 -0
- /package/{resizable/index.d.ts → types/acorex-cdk-resizable.d.ts} +0 -0
- /package/{selection/index.d.ts → types/acorex-cdk-selection.d.ts} +0 -0
- /package/{sliding-item/index.d.ts → types/acorex-cdk-sliding-item.d.ts} +0 -0
- /package/{uploader/index.d.ts → types/acorex-cdk-uploader.d.ts} +0 -0
- /package/{virtual-scroll/index.d.ts → types/acorex-cdk-virtual-scroll.d.ts} +0 -0
- /package/{wysiwyg/index.d.ts → types/acorex-cdk-wysiwyg.d.ts} +0 -0
- /package/{index.d.ts → types/acorex-cdk.d.ts} +0 -0
|
@@ -11,7 +11,22 @@ type AXInputMaskEvent = {
|
|
|
11
11
|
/**
|
|
12
12
|
* Available input mask modes for different data types.
|
|
13
13
|
*/
|
|
14
|
-
type AXInputMaskModes = 'hijriDate' | 'digits' | 'thousandsSeparator' | 'decimal';
|
|
14
|
+
type AXInputMaskModes = 'hijriDate' | 'digits' | 'thousandsSeparator' | 'decimal' | 'mask';
|
|
15
|
+
/**
|
|
16
|
+
* Token definitions for custom mask patterns.
|
|
17
|
+
* - `#`: Digit (0-9)
|
|
18
|
+
* - `^`: Letter (a-z, A-Z)
|
|
19
|
+
* - `@`: Alphanumeric (0-9, a-z, A-Z)
|
|
20
|
+
*/
|
|
21
|
+
type AXMaskTokens = {
|
|
22
|
+
[key: string]: {
|
|
23
|
+
pattern: RegExp;
|
|
24
|
+
optional?: boolean;
|
|
25
|
+
transform?: (char: string) => string;
|
|
26
|
+
repeated?: boolean;
|
|
27
|
+
multiple?: boolean;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
15
30
|
/**
|
|
16
31
|
* Directive that provides input masking functionality for various data types including
|
|
17
32
|
* Hijri dates, digits, decimal numbers, and thousands-separated numbers.
|
|
@@ -55,14 +70,35 @@ declare class AXInputMaskDirective {
|
|
|
55
70
|
* @default 0
|
|
56
71
|
*/
|
|
57
72
|
decimal: _angular_core.InputSignal<number>;
|
|
73
|
+
/**
|
|
74
|
+
* Custom mask pattern for 'mask' mode.
|
|
75
|
+
* Use the following tokens:
|
|
76
|
+
* - `#`: Required digit (0-9)
|
|
77
|
+
* - `^`: Required letter (a-z, A-Z)
|
|
78
|
+
* - `@`: Required alphanumeric (0-9, a-z, A-Z)
|
|
79
|
+
*
|
|
80
|
+
* Use ! before token to escape symbol. For example !# will render # instead of a digit.
|
|
81
|
+
* Any other character is treated as a literal separator.
|
|
82
|
+
* @example '(###) ###-####' for phone numbers
|
|
83
|
+
* @example 'AA-####' for license plates
|
|
84
|
+
* @example '##/##/####' for dates
|
|
85
|
+
*/
|
|
86
|
+
maskPattern: _angular_core.InputSignal<string>;
|
|
87
|
+
/**
|
|
88
|
+
* Custom token definitions to extend or override default mask tokens.
|
|
89
|
+
* Each token maps to a pattern regex and optional transformation.
|
|
90
|
+
* @example { 'P': { pattern: /[1-9]/, transform: (c) => c.toUpperCase() } }
|
|
91
|
+
*/
|
|
92
|
+
customTokens: _angular_core.InputSignal<AXMaskTokens>;
|
|
58
93
|
private initializeMask;
|
|
59
94
|
private thousandsSeparatorHandler;
|
|
60
95
|
private hijriMaskHandler;
|
|
61
96
|
private rangeValueLimit;
|
|
97
|
+
private convertToEnglishDigits;
|
|
62
98
|
private decimalMaskHandler;
|
|
63
99
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXInputMaskDirective, never>;
|
|
64
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AXInputMaskDirective, "[axInputMask]", ["axInputMask"], { "maskMode": { "alias": "maskMode"; "required": false; "isSignal": true; }; "separator": { "alias": "separator"; "required": false; "isSignal": true; }; "eager": { "alias": "eager"; "required": false; "isSignal": true; }; "minValue": { "alias": "minValue"; "required": false; "isSignal": true; }; "maxValue": { "alias": "maxValue"; "required": false; "isSignal": true; }; "decimal": { "alias": "decimal"; "required": false; "isSignal": true; }; }, { "onMaskChanged": "onMaskChanged"; }, never, never, true, never>;
|
|
100
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AXInputMaskDirective, "[axInputMask]", ["axInputMask"], { "maskMode": { "alias": "maskMode"; "required": false; "isSignal": true; }; "separator": { "alias": "separator"; "required": false; "isSignal": true; }; "eager": { "alias": "eager"; "required": false; "isSignal": true; }; "minValue": { "alias": "minValue"; "required": false; "isSignal": true; }; "maxValue": { "alias": "maxValue"; "required": false; "isSignal": true; }; "decimal": { "alias": "decimal"; "required": false; "isSignal": true; }; "maskPattern": { "alias": "maskPattern"; "required": false; "isSignal": true; }; "customTokens": { "alias": "customTokens"; "required": false; "isSignal": true; }; }, { "onMaskChanged": "onMaskChanged"; }, never, never, true, never>;
|
|
65
101
|
}
|
|
66
102
|
|
|
67
103
|
export { AXInputMaskDirective };
|
|
68
|
-
export type { AXInputMaskEvent, AXInputMaskModes };
|
|
104
|
+
export type { AXInputMaskEvent, AXInputMaskModes, AXMaskTokens };
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import { AXComponentOptions, AXComponentContent } from '@acorex/core/components';
|
|
2
|
+
import { AXPlacementType, AXPlacement, AXConnectedPosition } from '@acorex/cdk/common';
|
|
3
|
+
import { AXZToken } from '@acorex/core/z-index';
|
|
4
|
+
import * as i0 from '@angular/core';
|
|
5
|
+
import { ElementRef, EmbeddedViewRef, ComponentRef } from '@angular/core';
|
|
6
|
+
|
|
7
|
+
interface AXOverlayRef<T> {
|
|
8
|
+
instance: EmbeddedViewRef<T> | ComponentRef<T>;
|
|
9
|
+
/** Updates the overlay position relative to the anchor */
|
|
10
|
+
updatePosition: () => void;
|
|
11
|
+
/** Destroys the overlay and removes it from the DOM */
|
|
12
|
+
dispose: () => void;
|
|
13
|
+
/** The overlay container element */
|
|
14
|
+
overlayElement: HTMLElement | null;
|
|
15
|
+
/** The z-index token for this overlay */
|
|
16
|
+
zToken: AXZToken | null;
|
|
17
|
+
/** Brings this overlay to the front of all other overlays */
|
|
18
|
+
bringToFront: () => void;
|
|
19
|
+
}
|
|
20
|
+
interface AXOverlayAnchorOptions {
|
|
21
|
+
/** The anchor element to position relative to */
|
|
22
|
+
anchor: HTMLElement | ElementRef<HTMLElement>;
|
|
23
|
+
/** Placement of the overlay relative to the anchor */
|
|
24
|
+
placement?: AXPlacementType;
|
|
25
|
+
/** Horizontal offset in pixels */
|
|
26
|
+
offsetX?: number;
|
|
27
|
+
/** Vertical offset in pixels */
|
|
28
|
+
offsetY?: number;
|
|
29
|
+
/** Whether to flip the overlay when it overflows the viewport */
|
|
30
|
+
autoFlip?: boolean;
|
|
31
|
+
}
|
|
32
|
+
interface AXOverlayOptions extends AXComponentOptions {
|
|
33
|
+
backdrop?: {
|
|
34
|
+
enabled?: boolean;
|
|
35
|
+
background?: boolean;
|
|
36
|
+
backdropClass?: string;
|
|
37
|
+
closeOnClick?: boolean;
|
|
38
|
+
};
|
|
39
|
+
position?: AXPlacement;
|
|
40
|
+
/** Anchor-based positioning options for tooltips, popovers, etc. */
|
|
41
|
+
anchorOptions?: AXOverlayAnchorOptions;
|
|
42
|
+
/** Custom CSS class for the overlay panel */
|
|
43
|
+
panelClass?: string | string[];
|
|
44
|
+
/** Whether to close when clicking outside */
|
|
45
|
+
closeOnOutsideClick?: boolean;
|
|
46
|
+
/** Whether to close when pressing Escape */
|
|
47
|
+
closeOnEscape?: boolean;
|
|
48
|
+
/** Width of the overlay container (e.g., 'auto', '200px', '100%') */
|
|
49
|
+
width?: string;
|
|
50
|
+
/** Callback when the overlay is disposed (e.g., due to scroll) */
|
|
51
|
+
onDispose?: () => void;
|
|
52
|
+
/** Whether to use centered container (default: true). Set to false for positioned overlays like toasts */
|
|
53
|
+
centered?: boolean;
|
|
54
|
+
actionSheetStyle?: boolean;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Calculates the position of an overlay element relative to an anchor element.
|
|
58
|
+
*/
|
|
59
|
+
declare function calculateAnchorPosition(anchorRect: DOMRect, overlayRect: DOMRect, position: AXConnectedPosition): {
|
|
60
|
+
top: number;
|
|
61
|
+
left: number;
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* Checks if the overlay position fits within the viewport.
|
|
65
|
+
*/
|
|
66
|
+
declare function fitsInViewport(position: {
|
|
67
|
+
top: number;
|
|
68
|
+
left: number;
|
|
69
|
+
}, overlayRect: DOMRect, viewportWidth: number, viewportHeight: number): boolean;
|
|
70
|
+
/**
|
|
71
|
+
* Clamps a position to ensure the overlay stays within viewport bounds.
|
|
72
|
+
*/
|
|
73
|
+
declare function clampToViewport(coords: {
|
|
74
|
+
top: number;
|
|
75
|
+
left: number;
|
|
76
|
+
}, overlayRect: DOMRect, viewportWidth: number, viewportHeight: number, margin?: number): {
|
|
77
|
+
top: number;
|
|
78
|
+
left: number;
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* Finds the best position for an overlay that fits in the viewport.
|
|
82
|
+
*/
|
|
83
|
+
declare function findBestPosition(anchorRect: DOMRect, overlayRect: DOMRect, positions: AXConnectedPosition[], viewportWidth: number, viewportHeight: number): {
|
|
84
|
+
position: AXConnectedPosition;
|
|
85
|
+
coords: {
|
|
86
|
+
top: number;
|
|
87
|
+
left: number;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
declare class AXOverlayService {
|
|
92
|
+
private componentService;
|
|
93
|
+
private document;
|
|
94
|
+
private zIndexService;
|
|
95
|
+
private _platform;
|
|
96
|
+
/**
|
|
97
|
+
* Creates an overlay with optional anchor-based positioning.
|
|
98
|
+
* @param content - Component or template to display
|
|
99
|
+
* @param options - Configuration options for the overlay
|
|
100
|
+
* @returns Promise<AXOverlayRef> - Reference to the created overlay
|
|
101
|
+
*/
|
|
102
|
+
create<T = unknown>(content: AXComponentContent<T>, options?: AXOverlayOptions): Promise<AXOverlayRef<T>>;
|
|
103
|
+
/**
|
|
104
|
+
* Creates a backdrop element.
|
|
105
|
+
*/
|
|
106
|
+
private createBackdrop;
|
|
107
|
+
/**
|
|
108
|
+
* Creates a centered overlay container (for modals/popups).
|
|
109
|
+
*/
|
|
110
|
+
private createCenteredOverlayContainer;
|
|
111
|
+
/**
|
|
112
|
+
* Gets the host element from a ComponentRef or EmbeddedViewRef.
|
|
113
|
+
*/
|
|
114
|
+
private getHostElement;
|
|
115
|
+
/**
|
|
116
|
+
* Creates an overlay container element and appends the content to it.
|
|
117
|
+
*/
|
|
118
|
+
private createOverlayContainer;
|
|
119
|
+
/**
|
|
120
|
+
* Positions the overlay container relative to the anchor element.
|
|
121
|
+
*/
|
|
122
|
+
private positionOverlay;
|
|
123
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXOverlayService, never>;
|
|
124
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXOverlayService>;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
export { AXOverlayService, calculateAnchorPosition, clampToViewport, findBestPosition, fitsInViewport };
|
|
128
|
+
export type { AXOverlayAnchorOptions, AXOverlayOptions, AXOverlayRef };
|
|
@@ -2,30 +2,37 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { AfterViewInit, OnDestroy, EventEmitter } from '@angular/core';
|
|
3
3
|
|
|
4
4
|
declare class AXStickyDirective implements AfterViewInit, OnDestroy {
|
|
5
|
+
stickyClass: string;
|
|
6
|
+
stickyOffset: number;
|
|
7
|
+
stickyParent: string | HTMLElement;
|
|
8
|
+
stickyTarget: string;
|
|
9
|
+
isStickyChange: EventEmitter<boolean>;
|
|
5
10
|
private element;
|
|
6
11
|
private renderer;
|
|
7
12
|
private zone;
|
|
8
13
|
private cdr;
|
|
9
|
-
stickyClass: string;
|
|
10
|
-
stickyOffset: number;
|
|
11
|
-
isStickyChange: EventEmitter<boolean>;
|
|
12
|
-
private _isSticky;
|
|
13
|
-
get isSticky(): boolean;
|
|
14
|
-
set isSticky(value: boolean);
|
|
15
|
-
private topOffset;
|
|
16
14
|
private parentElement;
|
|
17
15
|
private targetElement;
|
|
18
16
|
private mutationObserver;
|
|
19
|
-
|
|
20
|
-
|
|
17
|
+
private _isSticky;
|
|
18
|
+
get isSticky(): boolean;
|
|
19
|
+
set isSticky(value: boolean);
|
|
20
|
+
private readonly onWindowResize;
|
|
21
21
|
ngAfterViewInit(): void;
|
|
22
22
|
private initSticky;
|
|
23
|
-
private
|
|
23
|
+
private getScrollTop;
|
|
24
|
+
/**
|
|
25
|
+
* Toggle stuck styling only while this element is visually pinned (matches `position: sticky; top: 0`).
|
|
26
|
+
* Scroll-offset thresholds would stay true for every section already passed, so multiple stacked stickies
|
|
27
|
+
* would all keep `--stuck`; geometry fixes that.
|
|
28
|
+
*/
|
|
29
|
+
private computeShouldStick;
|
|
30
|
+
private applyStickyStateFromScrollPosition;
|
|
24
31
|
private onParentScroll;
|
|
25
32
|
private toggleStickyClasses;
|
|
26
33
|
ngOnDestroy(): void;
|
|
27
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXStickyDirective, never>;
|
|
28
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AXStickyDirective, "[axSticky]", ["axpSticky"], { "stickyClass": { "alias": "
|
|
35
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AXStickyDirective, "[axSticky]", ["axpSticky"], { "stickyClass": { "alias": "axpSticky"; "required": false; }; "stickyOffset": { "alias": "stickyOffset"; "required": false; }; "stickyParent": { "alias": "stickyParent"; "required": false; }; "stickyTarget": { "alias": "stickyTarget"; "required": false; }; }, { "isStickyChange": "isStickyChange"; }, never, never, true, never>;
|
|
29
36
|
}
|
|
30
37
|
|
|
31
38
|
export { AXStickyDirective };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { OnDestroy } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
declare class AXZindexDirective implements OnDestroy {
|
|
5
|
+
#private;
|
|
6
|
+
private el;
|
|
7
|
+
private z;
|
|
8
|
+
private token;
|
|
9
|
+
ngOnDestroy(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXZindexDirective, never>;
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AXZindexDirective, "[axZindex]", ["axZindex"], {}, {}, never, never, true, never>;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export { AXZindexDirective };
|
package/carousel/index.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { Swiper, SwiperOptions } from 'swiper/types';
|
|
3
|
-
|
|
4
|
-
type AXCarousel = Swiper;
|
|
5
|
-
type AXCarouselOptions = SwiperOptions;
|
|
6
|
-
declare class AXCarouselDirective {
|
|
7
|
-
#private;
|
|
8
|
-
carousel: _angular_core.WritableSignal<Swiper>;
|
|
9
|
-
carouselOptions: _angular_core.InputSignal<SwiperOptions>;
|
|
10
|
-
private el;
|
|
11
|
-
private platformId;
|
|
12
|
-
private init;
|
|
13
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXCarouselDirective, never>;
|
|
14
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AXCarouselDirective, "[axCarousel]", ["axCarousel"], { "carouselOptions": { "alias": "carouselOptions"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export { AXCarouselDirective };
|
|
18
|
-
export type { AXCarousel, AXCarouselOptions };
|
package/overlay/index.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { AXComponentOptions, AXComponentContent } from '@acorex/core/components';
|
|
2
|
-
import { AXPlacement } from '@acorex/cdk/common';
|
|
3
|
-
import * as i0 from '@angular/core';
|
|
4
|
-
import { EmbeddedViewRef, ComponentRef } from '@angular/core';
|
|
5
|
-
|
|
6
|
-
interface AXOverlayRef<T> {
|
|
7
|
-
instance: EmbeddedViewRef<T> | ComponentRef<T>;
|
|
8
|
-
}
|
|
9
|
-
interface AXOverlayOptions extends AXComponentOptions {
|
|
10
|
-
backdrop?: {
|
|
11
|
-
enabled?: boolean;
|
|
12
|
-
background?: boolean;
|
|
13
|
-
backdropClass?: string;
|
|
14
|
-
closeOnClick?: boolean;
|
|
15
|
-
};
|
|
16
|
-
position?: AXPlacement;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
declare class AXOverlayService {
|
|
20
|
-
private componentService;
|
|
21
|
-
create<T = any>(content: AXComponentContent<T>, options?: AXOverlayOptions): Promise<AXOverlayRef<T>>;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXOverlayService, never>;
|
|
23
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXOverlayService>;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
export { AXOverlayService };
|
|
27
|
-
export type { AXOverlayOptions, AXOverlayRef };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|