@acorex/cdk 19.15.0-next.9 → 20.0.1

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.
Files changed (143) hide show
  1. package/accordion/index.d.ts +56 -0
  2. package/carousel/index.d.ts +17 -1
  3. package/clipboard/README.md +3 -0
  4. package/{common/lib/directives/copy-clipboard.directive.d.ts → clipboard/index.d.ts} +14 -8
  5. package/common/index.d.ts +930 -33
  6. package/dom/index.d.ts +16 -1
  7. package/drag-drop/index.d.ts +242 -4
  8. package/drawer/index.d.ts +49 -3
  9. package/fesm2022/acorex-cdk-accordion.mjs +206 -0
  10. package/fesm2022/acorex-cdk-accordion.mjs.map +1 -0
  11. package/fesm2022/acorex-cdk-carousel.mjs +3 -3
  12. package/fesm2022/acorex-cdk-carousel.mjs.map +1 -1
  13. package/fesm2022/acorex-cdk-clipboard.mjs +90 -0
  14. package/fesm2022/acorex-cdk-clipboard.mjs.map +1 -0
  15. package/fesm2022/acorex-cdk-common.mjs +123 -208
  16. package/fesm2022/acorex-cdk-common.mjs.map +1 -1
  17. package/fesm2022/acorex-cdk-dom.mjs +3 -3
  18. package/fesm2022/acorex-cdk-dom.mjs.map +1 -1
  19. package/fesm2022/acorex-cdk-drag-drop.mjs +624 -163
  20. package/fesm2022/acorex-cdk-drag-drop.mjs.map +1 -1
  21. package/fesm2022/acorex-cdk-drawer.mjs +85 -66
  22. package/fesm2022/acorex-cdk-drawer.mjs.map +1 -1
  23. package/fesm2022/acorex-cdk-focus-trap.mjs +3 -3
  24. package/fesm2022/acorex-cdk-focus-trap.mjs.map +1 -1
  25. package/fesm2022/acorex-cdk-input-mask.mjs +133 -0
  26. package/fesm2022/acorex-cdk-input-mask.mjs.map +1 -0
  27. package/fesm2022/acorex-cdk-list-navigation.mjs +10 -10
  28. package/fesm2022/acorex-cdk-list-navigation.mjs.map +1 -1
  29. package/fesm2022/acorex-cdk-outline.mjs +118 -40
  30. package/fesm2022/acorex-cdk-outline.mjs.map +1 -1
  31. package/fesm2022/acorex-cdk-overlay.mjs +3 -3
  32. package/fesm2022/acorex-cdk-overlay.mjs.map +1 -1
  33. package/fesm2022/acorex-cdk-pan-view.mjs +5 -5
  34. package/fesm2022/acorex-cdk-pan-view.mjs.map +1 -1
  35. package/fesm2022/acorex-cdk-qrcode.mjs.map +1 -1
  36. package/fesm2022/acorex-cdk-resizable.mjs +5 -5
  37. package/fesm2022/acorex-cdk-resizable.mjs.map +1 -1
  38. package/fesm2022/acorex-cdk-selection.mjs +24 -15
  39. package/fesm2022/acorex-cdk-selection.mjs.map +1 -1
  40. package/fesm2022/acorex-cdk-sliding-item.mjs +7 -7
  41. package/fesm2022/acorex-cdk-sliding-item.mjs.map +1 -1
  42. package/fesm2022/acorex-cdk-sticky.mjs +19 -19
  43. package/fesm2022/acorex-cdk-sticky.mjs.map +1 -1
  44. package/fesm2022/acorex-cdk-virtual-scroll.mjs +10 -10
  45. package/fesm2022/acorex-cdk-virtual-scroll.mjs.map +1 -1
  46. package/fesm2022/acorex-cdk-wysiwyg.mjs.map +1 -1
  47. package/fesm2022/acorex-cdk.mjs.map +1 -1
  48. package/focus-trap/index.d.ts +19 -1
  49. package/index.d.ts +3 -1
  50. package/input-mask/README.md +3 -0
  51. package/input-mask/index.d.ts +27 -0
  52. package/list-navigation/index.d.ts +44 -3
  53. package/outline/index.d.ts +58 -3
  54. package/overlay/index.d.ts +27 -2
  55. package/package.json +22 -14
  56. package/pan-view/index.d.ts +51 -1
  57. package/qrcode/index.d.ts +21 -1
  58. package/resizable/index.d.ts +61 -1
  59. package/selection/index.d.ts +43 -3
  60. package/sliding-item/index.d.ts +25 -2
  61. package/sticky/index.d.ts +31 -1
  62. package/virtual-scroll/index.d.ts +41 -3
  63. package/wysiwyg/index.d.ts +29 -1
  64. package/carousel/carousel.directive.d.ts +0 -13
  65. package/collapse/index.d.ts +0 -6
  66. package/collapse/lib/collapse-directive/collapse-close-button.directive.d.ts +0 -8
  67. package/collapse/lib/collapse-directive/collapse-group.directive.d.ts +0 -9
  68. package/collapse/lib/collapse-directive/collapse-item-content.directive.d.ts +0 -8
  69. package/collapse/lib/collapse-directive/collapse-item-header.directive.d.ts +0 -5
  70. package/collapse/lib/collapse-directive/collapse-item.directive.d.ts +0 -13
  71. package/collapse/lib/collapse.module.d.ts +0 -12
  72. package/common/lib/classes/components.class.d.ts +0 -97
  73. package/common/lib/classes/datalist.class.d.ts +0 -37
  74. package/common/lib/classes/datasource.class.d.ts +0 -87
  75. package/common/lib/classes/events.class.d.ts +0 -96
  76. package/common/lib/classes/styles.class.d.ts +0 -12
  77. package/common/lib/common.module.d.ts +0 -10
  78. package/common/lib/components/base-component.class.d.ts +0 -42
  79. package/common/lib/components/button-base-component.class.d.ts +0 -55
  80. package/common/lib/components/color-component.class.d.ts +0 -12
  81. package/common/lib/components/colorlook-component.class.d.ts +0 -6
  82. package/common/lib/components/input-base-value-component.class.d.ts +0 -35
  83. package/common/lib/components/interactive-component.class.d.ts +0 -57
  84. package/common/lib/components/look-component.class.d.ts +0 -18
  85. package/common/lib/components/selection-base.component.class.d.ts +0 -53
  86. package/common/lib/components/value-component.class.d.ts +0 -70
  87. package/common/lib/directives/auto-focus.directive.d.ts +0 -17
  88. package/common/lib/directives/delayed-value-changed.directive.d.ts +0 -17
  89. package/common/lib/directives/hotkey.directive.d.ts +0 -22
  90. package/common/lib/directives/infinite-scroll.directive.d.ts +0 -25
  91. package/common/lib/directives/inverted-color.directive.d.ts +0 -12
  92. package/common/lib/directives/responsive.directive.d.ts +0 -10
  93. package/common/lib/directives/ripple.directive.d.ts +0 -18
  94. package/common/lib/interfaces/component.interface.d.ts +0 -4
  95. package/common/lib/services/dom.service.d.ts +0 -6
  96. package/common/lib/services/hotkey.service.d.ts +0 -31
  97. package/common/lib/types/animation.d.ts +0 -1
  98. package/common/lib/types/base/button.type.d.ts +0 -8
  99. package/common/lib/types/base/color.type.d.ts +0 -7
  100. package/common/lib/types/base/component.types.d.ts +0 -8
  101. package/common/lib/types/base/events.types.d.ts +0 -21
  102. package/common/lib/types/base/index.d.ts +0 -7
  103. package/common/lib/types/base/interactive.type.d.ts +0 -13
  104. package/common/lib/types/base/look.type.d.ts +0 -7
  105. package/common/lib/types/base/value.type.d.ts +0 -9
  106. package/common/lib/types/direction.d.ts +0 -4
  107. package/common/lib/types/orientation.d.ts +0 -4
  108. package/common/lib/types/placement.d.ts +0 -30
  109. package/common/lib/types/range.d.ts +0 -4
  110. package/common/lib/types/selection-mode.d.ts +0 -4
  111. package/dom/lib/dom-change.directive.d.ts +0 -13
  112. package/drag-drop/lib/drag-drop.module.d.ts +0 -9
  113. package/drag-drop/lib/drag-handle.directive.d.ts +0 -7
  114. package/drag-drop/lib/drag.directive.d.ts +0 -77
  115. package/drag-drop/lib/drop-zone.directive.d.ts +0 -20
  116. package/drawer/lib/drawer-container.directive.d.ts +0 -8
  117. package/drawer/lib/drawer-item.directive.d.ts +0 -27
  118. package/drawer/lib/drawer.module.d.ts +0 -8
  119. package/fesm2022/acorex-cdk-collapse.mjs +0 -171
  120. package/fesm2022/acorex-cdk-collapse.mjs.map +0 -1
  121. package/focus-trap/lib/focus-trap.directive.d.ts +0 -16
  122. package/list-navigation/lib/list-navigation-item.directive.d.ts +0 -13
  123. package/list-navigation/lib/list-navigation.directive.d.ts +0 -22
  124. package/list-navigation/lib/list-navigation.module.d.ts +0 -9
  125. package/outline/lib/outline-container.directive.d.ts +0 -28
  126. package/outline/lib/outline-item.directive.d.ts +0 -9
  127. package/outline/lib/outline.module.d.ts +0 -9
  128. package/overlay/lib/overlay.service.d.ts +0 -9
  129. package/overlay/lib/overlay.types.d.ts +0 -15
  130. package/pan-view/lib/pan-view.directive.d.ts +0 -48
  131. package/qrcode/qrcode.class.d.ts +0 -20
  132. package/resizable/lib/resize.directive.d.ts +0 -59
  133. package/selection/lib/selection-group.directive.d.ts +0 -18
  134. package/selection/lib/selection-item.directive.d.ts +0 -15
  135. package/selection/lib/selection.module.d.ts +0 -9
  136. package/sliding-item/lib/sliding-item.directive.d.ts +0 -15
  137. package/sliding-item/lib/sliding-item.module.d.ts +0 -8
  138. package/sticky/lib/sticky.directive.d.ts +0 -29
  139. package/virtual-scroll/lib/virtual-scroll.module.d.ts +0 -8
  140. package/virtual-scroll/lib/virtual-scrolling-contianer/virtual-scrolling-contianer.directive.d.ts +0 -26
  141. package/virtual-scroll/lib/virtual-scrolling-item/virtual-scrolling-item.directive.d.ts +0 -7
  142. package/wysiwyg/wysiwyg.class.d.ts +0 -25
  143. /package/{collapse → accordion}/README.md +0 -0
@@ -1,9 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare abstract class NXValueComponent {
3
- readonly: import("@angular/core").ModelSignal<boolean>;
4
- name: import("@angular/core").ModelSignal<string>;
5
- value: import("@angular/core").ModelSignal<unknown>;
6
- onValueChanged: import("@angular/core").OutputEmitterRef<void>;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<NXValueComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<NXValueComponent, "ng-component", never, { "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "readonly": "readonlyChange"; "name": "nameChange"; "value": "valueChange"; "onValueChanged": "onValueChanged"; }, never, never, true, never>;
9
- }
@@ -1,4 +0,0 @@
1
- /**
2
- * A token that specifies the direction of component.
3
- */
4
- export type AXDirection = 'vertical' | 'horizontal';
@@ -1,4 +0,0 @@
1
- /**
2
- * A token that specifies the orientation of component.
3
- */
4
- export type AXOrientation = 'vertical' | 'horizontal';
@@ -1,30 +0,0 @@
1
- export type AXPlacement = 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'end' | 'end-top' | 'end-bottom' | 'start' | 'start-top' | 'start-bottom';
2
- export type AXPlacementType = AXConnectedPosition | AXConnectedPosition[] | AXPlacement | AXPlacement[];
3
- export declare function convertToPlacement(value: AXPlacementType): AXConnectedPosition[];
4
- export interface AXConnectedPosition {
5
- originX: 'start' | 'center' | 'end';
6
- originY: 'top' | 'center' | 'bottom';
7
- overlayX: 'start' | 'center' | 'end';
8
- overlayY: 'top' | 'center' | 'bottom';
9
- weight?: number;
10
- offsetX?: number;
11
- offsetY?: number;
12
- }
13
- export declare const AX_PLACEMENT_TOP: AXConnectedPosition;
14
- export declare const AX_PLACEMENT_TOP_START: AXConnectedPosition;
15
- export declare const AX_PLACEMENT_TOP_END: AXConnectedPosition;
16
- export declare const AX_PLACEMENT_BOTTOM: AXConnectedPosition;
17
- export declare const AX_PLACEMENT_BOTTOM_START: AXConnectedPosition;
18
- export declare const AX_PLACEMENT_BOTTOM_END: AXConnectedPosition;
19
- export declare const AX_PLACEMENT_START: AXConnectedPosition;
20
- export declare const AX_PLACEMENT_START_TOP: AXConnectedPosition;
21
- export declare const AX_PLACEMENT_START_BOTTOM: AXConnectedPosition;
22
- export declare const AX_PLACEMENT_END: AXConnectedPosition;
23
- export declare const AX_PLACEMENT_END_TOP: AXConnectedPosition;
24
- export declare const AX_PLACEMENT_END_BOTTOM: AXConnectedPosition;
25
- export declare const AX_PLACEMENT_MAP: {
26
- [key: string]: {
27
- origin: AXConnectedPosition;
28
- alts?: AXConnectedPosition[];
29
- };
30
- };
@@ -1,4 +0,0 @@
1
- export interface AXRange<T> {
2
- from: T;
3
- end: T;
4
- }
@@ -1,4 +0,0 @@
1
- /**
2
- * A token that specifies the selection mode of component.
3
- */
4
- export type AXSelectionMode = 'single' | 'multiple' | 'none';
@@ -1,13 +0,0 @@
1
- import { OnDestroy } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class AXDomChangeDirective implements OnDestroy {
4
- private mutationObserver;
5
- private resizeObserver;
6
- private elementRef;
7
- axMutationObserver: import("@angular/core").OutputEmitterRef<MutationRecord[]>;
8
- axResizeObserver: import("@angular/core").OutputEmitterRef<ResizeObserverEntry[]>;
9
- constructor();
10
- ngOnDestroy(): void;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<AXDomChangeDirective, never>;
12
- static ɵdir: i0.ɵɵDirectiveDeclaration<AXDomChangeDirective, "[axDomChange]", never, {}, { "axMutationObserver": "axMutationObserver"; "axResizeObserver": "axResizeObserver"; }, never, never, true, never>;
13
- }
@@ -1,9 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./drag.directive";
3
- import * as i2 from "./drag-handle.directive";
4
- import * as i3 from "./drop-zone.directive";
5
- export declare class AXDragDropModule {
6
- static ɵfac: i0.ɵɵFactoryDeclaration<AXDragDropModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXDragDropModule, never, [typeof i1.AXDragDirective, typeof i2.AXDragHandleDirective, typeof i3.AXDropZoneDirective], [typeof i1.AXDragDirective, typeof i2.AXDragHandleDirective, typeof i3.AXDropZoneDirective]>;
8
- static ɵinj: i0.ɵɵInjectorDeclaration<AXDragDropModule>;
9
- }
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class AXDragHandleDirective {
3
- private el;
4
- readonly element: import("@angular/core").WritableSignal<HTMLElement>;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<AXDragHandleDirective, never>;
6
- static ɵdir: i0.ɵɵDirectiveDeclaration<AXDragHandleDirective, "[axDragHandle]", never, {}, {}, never, never, true, never>;
7
- }
@@ -1,77 +0,0 @@
1
- import { ElementRef, OnDestroy, OnInit } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- type AXPositionType = {
4
- x: number;
5
- y: number;
6
- };
7
- export declare class AXDragDirective implements OnInit, OnDestroy {
8
- #private;
9
- private zone;
10
- private document;
11
- private renderer;
12
- private cdr;
13
- private platformId;
14
- private el;
15
- private handleDirective;
16
- dragData: import("@angular/core").InputSignal<unknown>;
17
- dragDisabled: import("@angular/core").InputSignal<boolean>;
18
- dragElementClone: import("@angular/core").InputSignal<boolean>;
19
- dropZoneGroup: import("@angular/core").InputSignal<string>;
20
- dragStartDelay: import("@angular/core").InputSignal<number>;
21
- dragResetOnDblClick: import("@angular/core").InputSignal<boolean>;
22
- dragLockAxis: import("@angular/core").InputSignal<"x" | "y">;
23
- dragCursor: import("@angular/core").InputSignal<"move" | "grab" | "none">;
24
- dragBoundary: import("@angular/core").InputSignal<string | HTMLElement | ElementRef<HTMLElement>>;
25
- dragPositionChanged: import("@angular/core").OutputEmitterRef<AXPositionType>;
26
- currentAxis: import("@angular/core").WritableSignal<{
27
- x: number;
28
- y: number;
29
- }>;
30
- currentCloneAxis: import("@angular/core").WritableSignal<{
31
- x: number;
32
- y: number;
33
- }>;
34
- clonedElement: import("@angular/core").WritableSignal<HTMLElement>;
35
- readonly element: import("@angular/core").WritableSignal<HTMLElement>;
36
- private elementOpacity;
37
- private isMoving;
38
- private isDragging;
39
- private isDelayStarted;
40
- private dragStartOffset;
41
- private clonePointerOffset;
42
- private prevDropZone;
43
- private boundaryElement;
44
- private elementRect;
45
- private boundaryRect;
46
- private handle;
47
- private boundHandleDblClick;
48
- private boundHandlePointerUp;
49
- private boundHandlePointerDown;
50
- private boundHandlePointerMove;
51
- ngOnInit(): void;
52
- ngOnDestroy(): void;
53
- private handlePointerDown;
54
- private handlePointerUp;
55
- /**
56
- * Prevent click events immediately following pointerup, especially on touch devices
57
- * or fast drags where the underlying element might receive an unintended click.
58
- * Use a capturing listener added *after* pointerup and removed asynchronously.
59
- */
60
- private preventClicking;
61
- private handleDblClick;
62
- private handlePointerMove;
63
- private dropZoneHoverHandler;
64
- private dropZoneDropHandler;
65
- private getDropZonesFromPoint;
66
- private dropZoneValidation;
67
- private leavePrevDropZone;
68
- setPosition(x: number, y: number): void;
69
- setClonePosition(x: number, y: number): void;
70
- private createCloneElement;
71
- private removeCloneElement;
72
- private addDocumentListeners;
73
- private removeDocumentListeners;
74
- static ɵfac: i0.ɵɵFactoryDeclaration<AXDragDirective, never>;
75
- static ɵdir: i0.ɵɵDirectiveDeclaration<AXDragDirective, "[axDrag]", never, { "dragData": { "alias": "dragData"; "required": false; "isSignal": true; }; "dragDisabled": { "alias": "dragDisabled"; "required": false; "isSignal": true; }; "dragElementClone": { "alias": "dragElementClone"; "required": false; "isSignal": true; }; "dropZoneGroup": { "alias": "dropZoneGroup"; "required": false; "isSignal": true; }; "dragStartDelay": { "alias": "dragStartDelay"; "required": false; "isSignal": true; }; "dragResetOnDblClick": { "alias": "dragResetOnDblClick"; "required": false; "isSignal": true; }; "dragLockAxis": { "alias": "dragLockAxis"; "required": false; "isSignal": true; }; "dragCursor": { "alias": "dragCursor"; "required": false; "isSignal": true; }; "dragBoundary": { "alias": "dragBoundary"; "required": false; "isSignal": true; }; }, { "dragPositionChanged": "dragPositionChanged"; }, ["handleDirective"], never, true, never>;
76
- }
77
- export {};
@@ -1,20 +0,0 @@
1
- import { NXComponent, NXNativeEvent } from '@acorex/cdk/common';
2
- import { OnInit } from '@angular/core';
3
- import { AXDragDirective } from './drag.directive';
4
- import * as i0 from "@angular/core";
5
- export interface AXDropZoneDropEvent extends NXNativeEvent<AXDropZoneDirective, PointerEvent> {
6
- dropped: AXDragDirective;
7
- }
8
- export type AXDropZoneHoverEvent = AXDropZoneDropEvent & {
9
- state: 'enter' | 'leave';
10
- };
11
- export declare class AXDropZoneDirective extends NXComponent implements OnInit {
12
- dropZoneGroup: import("@angular/core").InputSignal<string>;
13
- isHovered: import("@angular/core").WritableSignal<boolean>;
14
- readonly element: import("@angular/core").WritableSignal<HTMLElement>;
15
- onElementDrop: import("@angular/core").OutputEmitterRef<AXDropZoneDropEvent>;
16
- onElementHover: import("@angular/core").OutputEmitterRef<AXDropZoneHoverEvent>;
17
- ngOnInit(): void;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<AXDropZoneDirective, never>;
19
- static ɵdir: i0.ɵɵDirectiveDeclaration<AXDropZoneDirective, "[axDropZone]", ["axDropZone"], { "dropZoneGroup": { "alias": "dropZoneGroup"; "required": false; "isSignal": true; }; }, { "onElementDrop": "onElementDrop"; "onElementHover": "onElementHover"; }, never, never, true, never>;
20
- }
@@ -1,8 +0,0 @@
1
- import { ElementRef } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class AXDrawerContainerDirective {
4
- #private;
5
- el: ElementRef<any>;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<AXDrawerContainerDirective, never>;
7
- static ɵdir: i0.ɵɵDirectiveDeclaration<AXDrawerContainerDirective, "[axDrawerContainer]", ["axDrawerContainer"], {}, {}, never, never, true, never>;
8
- }
@@ -1,27 +0,0 @@
1
- import { AXClickEvent } from '@acorex/cdk/common';
2
- import * as i0 from "@angular/core";
3
- export declare class AXDrawerItemDirective {
4
- #private;
5
- private el;
6
- private htmlElem;
7
- private rect;
8
- private showState;
9
- private parent;
10
- drawerLocation: import("@angular/core").ModelSignal<"start" | "end" | "top" | "bottom">;
11
- initialState: import("@angular/core").ModelSignal<"show" | "hide">;
12
- backDrop: import("@angular/core").ModelSignal<boolean>;
13
- mode: import("@angular/core").ModelSignal<"push" | "overlay">;
14
- transition: import("@angular/core").ModelSignal<number>;
15
- closeOnBackdropClick: import("@angular/core").ModelSignal<boolean>;
16
- backdropClass: import("@angular/core").ModelSignal<string>;
17
- drawerItemClass: import("@angular/core").ModelSignal<string>;
18
- onBackdropClick: import("@angular/core").OutputEmitterRef<AXClickEvent>;
19
- onDrawerClosed: import("@angular/core").OutputEmitterRef<void>;
20
- show(): void;
21
- hide(): void;
22
- toggle(): void;
23
- private addBackdrop;
24
- private removeBackdrop;
25
- static ɵfac: i0.ɵɵFactoryDeclaration<AXDrawerItemDirective, never>;
26
- static ɵdir: i0.ɵɵDirectiveDeclaration<AXDrawerItemDirective, "[axDrawerItem]", ["axDrawerItem"], { "drawerLocation": { "alias": "drawerLocation"; "required": false; "isSignal": true; }; "initialState": { "alias": "initialState"; "required": false; "isSignal": true; }; "backDrop": { "alias": "backDrop"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "transition": { "alias": "transition"; "required": false; "isSignal": true; }; "closeOnBackdropClick": { "alias": "closeOnBackdropClick"; "required": false; "isSignal": true; }; "backdropClass": { "alias": "backdropClass"; "required": false; "isSignal": true; }; "drawerItemClass": { "alias": "drawerItemClass"; "required": false; "isSignal": true; }; }, { "drawerLocation": "drawerLocationChange"; "initialState": "initialStateChange"; "backDrop": "backDropChange"; "mode": "modeChange"; "transition": "transitionChange"; "closeOnBackdropClick": "closeOnBackdropClickChange"; "backdropClass": "backdropClassChange"; "drawerItemClass": "drawerItemClassChange"; "onBackdropClick": "onBackdropClick"; "onDrawerClosed": "onDrawerClosed"; }, never, never, true, never>;
27
- }
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./drawer-container.directive";
3
- import * as i2 from "./drawer-item.directive";
4
- export declare class AXDrawerDirectiveModule {
5
- static ɵfac: i0.ɵɵFactoryDeclaration<AXDrawerDirectiveModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXDrawerDirectiveModule, never, [typeof i1.AXDrawerContainerDirective, typeof i2.AXDrawerItemDirective], [typeof i1.AXDrawerContainerDirective, typeof i2.AXDrawerItemDirective]>;
7
- static ɵinj: i0.ɵɵInjectorDeclaration<AXDrawerDirectiveModule>;
8
- }
@@ -1,171 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { inject, ElementRef, output, afterNextRender, Directive, signal, effect, contentChild, input, contentChildren, NgModule } from '@angular/core';
3
- import { CommonModule } from '@angular/common';
4
-
5
- class AXCollapseCloseButtonDirective {
6
- constructor() {
7
- this.elm = inject(ElementRef);
8
- this.onclick = output();
9
- this.#init = afterNextRender(() => {
10
- if (this.elm.nativeElement) {
11
- this.elm.nativeElement.onclick = (e) => {
12
- this.onclick.emit(e);
13
- };
14
- }
15
- });
16
- }
17
- #init;
18
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXCollapseCloseButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
19
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.11", type: AXCollapseCloseButtonDirective, isStandalone: true, selector: "[axCollapseCloseButton]", outputs: { onclick: "onclick" }, ngImport: i0 }); }
20
- }
21
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXCollapseCloseButtonDirective, decorators: [{
22
- type: Directive,
23
- args: [{ selector: '[axCollapseCloseButton]' }]
24
- }] });
25
-
26
- class AXCollapseItemContentlDirective {
27
- constructor() {
28
- this.elm = inject(ElementRef);
29
- this.collapseContent = signal(true);
30
- this.#eff = effect(() => {
31
- this.elm.nativeElement.style.transition = '.5s all ease-in-out';
32
- if (this.collapseContent()) {
33
- this.elm.nativeElement.style.opacity = '0';
34
- this.elm.nativeElement.style.height = '0';
35
- }
36
- else {
37
- this.elm.nativeElement.style.opacity = '1';
38
- this.elm.nativeElement.style.height = '100%';
39
- }
40
- });
41
- }
42
- #eff;
43
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXCollapseItemContentlDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
44
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.11", type: AXCollapseItemContentlDirective, isStandalone: true, selector: "[axCollapseItemContent]", exportAs: ["axCollapseItemContent"], ngImport: i0 }); }
45
- }
46
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXCollapseItemContentlDirective, decorators: [{
47
- type: Directive,
48
- args: [{
49
- selector: '[axCollapseItemContent]',
50
- exportAs: 'axCollapseItemContent',
51
- }]
52
- }] });
53
-
54
- class AXCollapseItemlDirective {
55
- constructor() {
56
- this.content = contentChild(AXCollapseItemContentlDirective);
57
- this.close = contentChild(AXCollapseCloseButtonDirective);
58
- this.collapse = signal(true);
59
- this.onclick = output();
60
- this.id = signal(Math.random());
61
- this.#init = effect(() => {
62
- this.content().collapseContent.set(this.collapse());
63
- });
64
- this.#init2 = effect(() => {
65
- this.close().onclick.subscribe(() => {
66
- this.collapse.update((prev) => !prev);
67
- this.onclick.emit({ component: this });
68
- });
69
- });
70
- }
71
- #init;
72
- #init2;
73
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXCollapseItemlDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
74
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "19.2.11", type: AXCollapseItemlDirective, isStandalone: true, selector: "[axCollapseItem]", outputs: { onclick: "onclick" }, queries: [{ propertyName: "content", first: true, predicate: AXCollapseItemContentlDirective, descendants: true, isSignal: true }, { propertyName: "close", first: true, predicate: AXCollapseCloseButtonDirective, descendants: true, isSignal: true }], exportAs: ["axCollapseItem"], ngImport: i0 }); }
75
- }
76
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXCollapseItemlDirective, decorators: [{
77
- type: Directive,
78
- args: [{
79
- selector: '[axCollapseItem]',
80
- exportAs: 'axCollapseItem',
81
- }]
82
- }] });
83
-
84
- class AXCollapseGrouplDirective {
85
- constructor() {
86
- this.accordion = input(false);
87
- this.content = contentChildren(AXCollapseItemlDirective);
88
- this.activeIndex = signal(0);
89
- this.#eff = afterNextRender(() => {
90
- if (!this.accordion())
91
- return;
92
- this.content().forEach((element) => {
93
- element.onclick.subscribe((e) => {
94
- this.activeIndex.set(e.component.id());
95
- });
96
- });
97
- });
98
- this.#eff2 = effect(() => {
99
- if (!this.accordion())
100
- return;
101
- this.content().forEach((element) => {
102
- if (this.activeIndex() === element.id()) {
103
- element.collapse.set(false);
104
- }
105
- else {
106
- element.collapse.set(true);
107
- }
108
- });
109
- });
110
- }
111
- #eff;
112
- #eff2;
113
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXCollapseGrouplDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
114
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "19.2.11", type: AXCollapseGrouplDirective, isStandalone: true, selector: "[axCollapseGroup]", inputs: { accordion: { classPropertyName: "accordion", publicName: "accordion", isSignal: true, isRequired: false, transformFunction: null } }, queries: [{ propertyName: "content", predicate: AXCollapseItemlDirective, isSignal: true }], exportAs: ["axCollapseGroup"], ngImport: i0 }); }
115
- }
116
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXCollapseGrouplDirective, decorators: [{
117
- type: Directive,
118
- args: [{
119
- selector: '[axCollapseGroup]',
120
- exportAs: 'axCollapseGroup',
121
- }]
122
- }] });
123
-
124
- class AXCollapseItemHeaderlDirective {
125
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXCollapseItemHeaderlDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
126
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.11", type: AXCollapseItemHeaderlDirective, isStandalone: true, selector: "[axCollapseItemHeader]", exportAs: ["axCollapseItemHeader"], ngImport: i0 }); }
127
- }
128
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXCollapseItemHeaderlDirective, decorators: [{
129
- type: Directive,
130
- args: [{
131
- selector: '[axCollapseItemHeader]',
132
- exportAs: 'axCollapseItemHeader',
133
- }]
134
- }] });
135
-
136
- const COMPONENT = [
137
- AXCollapseGrouplDirective,
138
- AXCollapseItemContentlDirective,
139
- AXCollapseItemHeaderlDirective,
140
- AXCollapseItemlDirective,
141
- AXCollapseCloseButtonDirective,
142
- ];
143
- const MODULES = [CommonModule];
144
- class AXCollapseModule {
145
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXCollapseModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
146
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.11", ngImport: i0, type: AXCollapseModule, imports: [CommonModule, AXCollapseGrouplDirective,
147
- AXCollapseItemContentlDirective,
148
- AXCollapseItemHeaderlDirective,
149
- AXCollapseItemlDirective,
150
- AXCollapseCloseButtonDirective], exports: [AXCollapseGrouplDirective,
151
- AXCollapseItemContentlDirective,
152
- AXCollapseItemHeaderlDirective,
153
- AXCollapseItemlDirective,
154
- AXCollapseCloseButtonDirective] }); }
155
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXCollapseModule, imports: [MODULES] }); }
156
- }
157
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXCollapseModule, decorators: [{
158
- type: NgModule,
159
- args: [{
160
- imports: [...MODULES, ...COMPONENT],
161
- exports: [...COMPONENT],
162
- providers: [],
163
- }]
164
- }] });
165
-
166
- /**
167
- * Generated bundle index. Do not edit.
168
- */
169
-
170
- export { AXCollapseCloseButtonDirective, AXCollapseGrouplDirective, AXCollapseItemContentlDirective, AXCollapseItemHeaderlDirective, AXCollapseItemlDirective, AXCollapseModule };
171
- //# sourceMappingURL=acorex-cdk-collapse.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"acorex-cdk-collapse.mjs","sources":["../../../../packages/cdk/collapse/src/lib/collapse-directive/collapse-close-button.directive.ts","../../../../packages/cdk/collapse/src/lib/collapse-directive/collapse-item-content.directive.ts","../../../../packages/cdk/collapse/src/lib/collapse-directive/collapse-item.directive.ts","../../../../packages/cdk/collapse/src/lib/collapse-directive/collapse-group.directive.ts","../../../../packages/cdk/collapse/src/lib/collapse-directive/collapse-item-header.directive.ts","../../../../packages/cdk/collapse/src/lib/collapse.module.ts","../../../../packages/cdk/collapse/src/acorex-cdk-collapse.ts"],"sourcesContent":["import { afterNextRender, Directive, ElementRef, inject, output } from '@angular/core';\n\n@Directive({ selector: '[axCollapseCloseButton]' })\nexport class AXCollapseCloseButtonDirective {\n private elm = inject(ElementRef);\n onclick = output<MouseEvent>();\n #init = afterNextRender(() => {\n if (this.elm.nativeElement) {\n (this.elm.nativeElement as HTMLElement).onclick = (e: MouseEvent) => {\n this.onclick.emit(e);\n };\n }\n });\n}\n","import { Directive, effect, ElementRef, inject, signal } from '@angular/core';\n\n@Directive({\n selector: '[axCollapseItemContent]',\n exportAs: 'axCollapseItemContent',\n})\nexport class AXCollapseItemContentlDirective {\n private elm = inject(ElementRef);\n collapseContent = signal(true);\n\n #eff = effect(() => {\n (this.elm.nativeElement as HTMLElement).style.transition = '.5s all ease-in-out';\n if (this.collapseContent()) {\n (this.elm.nativeElement as HTMLElement).style.opacity = '0';\n (this.elm.nativeElement as HTMLElement).style.height = '0';\n } else {\n (this.elm.nativeElement as HTMLElement).style.opacity = '1';\n (this.elm.nativeElement as HTMLElement).style.height = '100%';\n }\n });\n}\n","import { contentChild, Directive, effect, output, signal } from '@angular/core';\nimport { AXCollapseCloseButtonDirective } from './collapse-close-button.directive';\nimport { AXCollapseItemContentlDirective } from './collapse-item-content.directive';\n\n@Directive({\n selector: '[axCollapseItem]',\n exportAs: 'axCollapseItem',\n})\nexport class AXCollapseItemlDirective {\n private content = contentChild(AXCollapseItemContentlDirective);\n private close = contentChild(AXCollapseCloseButtonDirective);\n\n collapse = signal(true);\n onclick = output<{ component: AXCollapseItemlDirective }>();\n id = signal(Math.random());\n\n #init = effect(() => {\n this.content().collapseContent.set(this.collapse());\n });\n\n #init2 = effect(() => {\n this.close().onclick.subscribe(() => {\n this.collapse.update((prev) => !prev);\n this.onclick.emit({ component: this });\n });\n });\n}\n","import { afterNextRender, contentChildren, Directive, effect, input, signal } from '@angular/core';\nimport { AXCollapseItemlDirective } from './collapse-item.directive';\n\n@Directive({\n selector: '[axCollapseGroup]',\n exportAs: 'axCollapseGroup',\n})\nexport class AXCollapseGrouplDirective {\n accordion = input(false);\n private content = contentChildren(AXCollapseItemlDirective);\n private activeIndex = signal(0);\n\n #eff = afterNextRender(() => {\n if (!this.accordion()) return;\n this.content().forEach((element) => {\n element.onclick.subscribe((e) => {\n this.activeIndex.set(e.component.id());\n });\n });\n });\n\n #eff2 = effect(() => {\n if (!this.accordion()) return;\n this.content().forEach((element) => {\n if (this.activeIndex() === element.id()) {\n element.collapse.set(false);\n } else {\n element.collapse.set(true);\n }\n });\n });\n}\n","import { Directive } from '@angular/core';\n\n@Directive({\n selector: '[axCollapseItemHeader]',\n exportAs: 'axCollapseItemHeader',\n})\nexport class AXCollapseItemHeaderlDirective {}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { AXCollapseCloseButtonDirective } from './collapse-directive/collapse-close-button.directive';\nimport { AXCollapseGrouplDirective } from './collapse-directive/collapse-group.directive';\nimport { AXCollapseItemContentlDirective } from './collapse-directive/collapse-item-content.directive';\nimport { AXCollapseItemHeaderlDirective } from './collapse-directive/collapse-item-header.directive';\nimport { AXCollapseItemlDirective } from './collapse-directive/collapse-item.directive';\n\nconst COMPONENT = [\n AXCollapseGrouplDirective,\n AXCollapseItemContentlDirective,\n AXCollapseItemHeaderlDirective,\n AXCollapseItemlDirective,\n AXCollapseCloseButtonDirective,\n];\nconst MODULES = [CommonModule];\n\n@NgModule({\n imports: [...MODULES, ...COMPONENT],\n exports: [...COMPONENT],\n providers: [],\n})\nexport class AXCollapseModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAGa,8BAA8B,CAAA;AAD3C,IAAA,WAAA,GAAA;AAEU,QAAA,IAAA,CAAA,GAAG,GAAG,MAAM,CAAC,UAAU,CAAC;QAChC,IAAO,CAAA,OAAA,GAAG,MAAM,EAAc;AAC9B,QAAA,IAAA,CAAA,KAAK,GAAG,eAAe,CAAC,MAAK;AA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CAAA;;4FAIT,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAL5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,GAAG,OAAO,EAAE,GAAG,SAAS,CAAC;AACnC,oBAAA,OAAO,EAAE,CAAC,GAAG,SAAS,CAAC;AACvB,oBAAA,SAAS,EAAE,EAAE;AACd,iBAAA;;;ACrBD;;AAEG;;;;"}
@@ -1,16 +0,0 @@
1
- import { OnDestroy } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class AXFocusTrapDirective implements OnDestroy {
4
- #private;
5
- private el;
6
- private focusableElements;
7
- private firstElement;
8
- private lastElement;
9
- private nativeElement;
10
- private observer;
11
- ngOnDestroy(): void;
12
- private setFocusableElements;
13
- handleKeyboardEvent(event: KeyboardEvent): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<AXFocusTrapDirective, never>;
15
- static ɵdir: i0.ɵɵDirectiveDeclaration<AXFocusTrapDirective, "[axFocusTrap]", never, {}, {}, never, never, true, never>;
16
- }
@@ -1,13 +0,0 @@
1
- import { ElementRef } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class AXListNavigationItemDirective {
4
- #private;
5
- itemElem: ElementRef<any>;
6
- isActive: import("@angular/core").WritableSignal<boolean>;
7
- navigationItemKey: number;
8
- navigationParentItemKey: import("@angular/core").WritableSignal<any>;
9
- index: import("@angular/core").WritableSignal<number>;
10
- private parent;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<AXListNavigationItemDirective, never>;
12
- static ɵdir: i0.ɵɵDirectiveDeclaration<AXListNavigationItemDirective, "[axListNavigationItem]", ["axListNavigationItem"], {}, {}, never, never, true, never>;
13
- }
@@ -1,22 +0,0 @@
1
- import { AXListNavigationItemDirective } from './list-navigation-item.directive';
2
- import * as i0 from "@angular/core";
3
- export declare class AXListNavigationDirective {
4
- #private;
5
- private parentElem;
6
- private childElem;
7
- private activeIndex;
8
- private holdShift;
9
- onNavigationChanged: import("@angular/core").OutputEmitterRef<{
10
- sender: AXListNavigationDirective;
11
- }>;
12
- onPressEnterOrSpace: import("@angular/core").OutputEmitterRef<{
13
- active: number;
14
- }>;
15
- orientation: import("@angular/core").InputSignal<"horizontal" | "vertical">;
16
- private navigationHandler;
17
- private parentNavigationHandler;
18
- navigateTo(e: AXListNavigationItemDirective): void;
19
- private activeByKeyboardHandler;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<AXListNavigationDirective, never>;
21
- static ɵdir: i0.ɵɵDirectiveDeclaration<AXListNavigationDirective, "[axListNavigation]", ["axListNavigation"], { "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; }, { "onNavigationChanged": "onNavigationChanged"; "onPressEnterOrSpace": "onPressEnterOrSpace"; }, ["childElem"], never, true, never>;
22
- }
@@ -1,9 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "@angular/common";
3
- import * as i2 from "./list-navigation.directive";
4
- import * as i3 from "./list-navigation-item.directive";
5
- export declare class AXListNavigationModule {
6
- static ɵfac: i0.ɵɵFactoryDeclaration<AXListNavigationModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXListNavigationModule, never, [typeof i1.CommonModule, typeof i2.AXListNavigationDirective, typeof i3.AXListNavigationItemDirective], [typeof i2.AXListNavigationDirective, typeof i3.AXListNavigationItemDirective]>;
8
- static ɵinj: i0.ɵɵInjectorDeclaration<AXListNavigationModule>;
9
- }
@@ -1,28 +0,0 @@
1
- import { Router } from '@angular/router';
2
- import { BehaviorSubject } from 'rxjs';
3
- import * as i0 from "@angular/core";
4
- export type outlineItemType = {
5
- el: HTMLElement;
6
- active: boolean;
7
- scrollY: number;
8
- };
9
- export declare class AXOutlineContainerDirective {
10
- #private;
11
- router: Router;
12
- private zone;
13
- private el;
14
- private unsubscriber;
15
- target: import("@angular/core").InputSignal<string>;
16
- smoothScroll: import("@angular/core").InputSignal<boolean>;
17
- activationOffset: import("@angular/core").InputSignal<number>;
18
- activateLastAtBottom: import("@angular/core").InputSignal<boolean>;
19
- scrollableElementId: import("@angular/core").InputSignal<string>;
20
- private scrollTop;
21
- private outlineItems;
22
- private scrollableElement;
23
- outlineItems$: BehaviorSubject<outlineItemType[]>;
24
- private scrollChanged;
25
- private setOutlineItems;
26
- static ɵfac: i0.ɵɵFactoryDeclaration<AXOutlineContainerDirective, never>;
27
- static ɵdir: i0.ɵɵDirectiveDeclaration<AXOutlineContainerDirective, "[axOutlineContainer]", ["axOutlineContainer"], { "target": { "alias": "target"; "required": false; "isSignal": true; }; "smoothScroll": { "alias": "smoothScroll"; "required": false; "isSignal": true; }; "activationOffset": { "alias": "activationOffset"; "required": false; "isSignal": true; }; "activateLastAtBottom": { "alias": "activateLastAtBottom"; "required": false; "isSignal": true; }; "scrollableElementId": { "alias": "scrollableElementId"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
28
- }
@@ -1,9 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class AXOutlineItemDirective {
3
- #private;
4
- private el;
5
- id: import("@angular/core").InputSignal<string>;
6
- disabled: import("@angular/core").InputSignal<boolean>;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<AXOutlineItemDirective, never>;
8
- static ɵdir: i0.ɵɵDirectiveDeclaration<AXOutlineItemDirective, "[axOutlineItem]", ["axOutlineItem"], { "id": { "alias": "id"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
9
- }
@@ -1,9 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "@angular/common";
3
- import * as i2 from "./outline-container.directive";
4
- import * as i3 from "./outline-item.directive";
5
- export declare class AXOutlineModule {
6
- static ɵfac: i0.ɵɵFactoryDeclaration<AXOutlineModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXOutlineModule, never, [typeof i1.CommonModule, typeof i2.AXOutlineContainerDirective, typeof i3.AXOutlineItemDirective], [typeof i2.AXOutlineContainerDirective, typeof i3.AXOutlineItemDirective]>;
8
- static ɵinj: i0.ɵɵInjectorDeclaration<AXOutlineModule>;
9
- }
@@ -1,9 +0,0 @@
1
- import { AXComponentContent } from '@acorex/core/components';
2
- import { AXOverlayOptions, AXOverlayRef } from './overlay.types';
3
- import * as i0 from "@angular/core";
4
- export declare class AXOverlayService {
5
- private componentService;
6
- create<T = any>(content: AXComponentContent<T>, options?: AXOverlayOptions): Promise<AXOverlayRef<T>>;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<AXOverlayService, never>;
8
- static ɵprov: i0.ɵɵInjectableDeclaration<AXOverlayService>;
9
- }
@@ -1,15 +0,0 @@
1
- import { AXPlacement } from '@acorex/cdk/common';
2
- import { AXComponentOptions } from '@acorex/core/components';
3
- import { ComponentRef, EmbeddedViewRef } from '@angular/core';
4
- export interface AXOverlayRef<T> {
5
- instance: EmbeddedViewRef<T> | ComponentRef<T>;
6
- }
7
- export interface AXOverlayOptions extends AXComponentOptions {
8
- backdrop?: {
9
- enabled?: boolean;
10
- background?: boolean;
11
- cssClass?: string;
12
- closeOnClick?: boolean;
13
- };
14
- position?: AXPlacement;
15
- }