@acorex/cdk 21.0.1-next.0 → 21.0.1-next.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 (52) hide show
  1. package/common/index.d.ts +7 -9
  2. package/fesm2022/acorex-cdk-accordion.mjs +19 -19
  3. package/fesm2022/acorex-cdk-accordion.mjs.map +1 -1
  4. package/fesm2022/acorex-cdk-carousel.mjs +3 -3
  5. package/fesm2022/acorex-cdk-carousel.mjs.map +1 -1
  6. package/fesm2022/acorex-cdk-clipboard.mjs +6 -6
  7. package/fesm2022/acorex-cdk-clipboard.mjs.map +1 -1
  8. package/fesm2022/acorex-cdk-common.mjs +100 -155
  9. package/fesm2022/acorex-cdk-common.mjs.map +1 -1
  10. package/fesm2022/acorex-cdk-dom.mjs +3 -3
  11. package/fesm2022/acorex-cdk-dom.mjs.map +1 -1
  12. package/fesm2022/acorex-cdk-double-click.mjs +3 -3
  13. package/fesm2022/acorex-cdk-double-click.mjs.map +1 -1
  14. package/fesm2022/acorex-cdk-drag-drop.mjs +19 -17
  15. package/fesm2022/acorex-cdk-drag-drop.mjs.map +1 -1
  16. package/fesm2022/acorex-cdk-drawer.mjs +10 -10
  17. package/fesm2022/acorex-cdk-drawer.mjs.map +1 -1
  18. package/fesm2022/acorex-cdk-focus-trap.mjs +3 -3
  19. package/fesm2022/acorex-cdk-focus-trap.mjs.map +1 -1
  20. package/fesm2022/acorex-cdk-full-screen.mjs +3 -3
  21. package/fesm2022/acorex-cdk-full-screen.mjs.map +1 -1
  22. package/fesm2022/acorex-cdk-input-mask.mjs +3 -3
  23. package/fesm2022/acorex-cdk-input-mask.mjs.map +1 -1
  24. package/fesm2022/acorex-cdk-list-navigation.mjs +10 -10
  25. package/fesm2022/acorex-cdk-list-navigation.mjs.map +1 -1
  26. package/fesm2022/acorex-cdk-outline.mjs +6 -6
  27. package/fesm2022/acorex-cdk-outline.mjs.map +1 -1
  28. package/fesm2022/acorex-cdk-overlay.mjs +370 -13
  29. package/fesm2022/acorex-cdk-overlay.mjs.map +1 -1
  30. package/fesm2022/acorex-cdk-pan-view.mjs +3 -3
  31. package/fesm2022/acorex-cdk-pan-view.mjs.map +1 -1
  32. package/fesm2022/acorex-cdk-qrcode.mjs.map +1 -1
  33. package/fesm2022/acorex-cdk-resizable.mjs +3 -3
  34. package/fesm2022/acorex-cdk-resizable.mjs.map +1 -1
  35. package/fesm2022/acorex-cdk-selection.mjs +10 -10
  36. package/fesm2022/acorex-cdk-selection.mjs.map +1 -1
  37. package/fesm2022/acorex-cdk-sliding-item.mjs +3 -3
  38. package/fesm2022/acorex-cdk-sliding-item.mjs.map +1 -1
  39. package/fesm2022/acorex-cdk-sticky.mjs +3 -3
  40. package/fesm2022/acorex-cdk-sticky.mjs.map +1 -1
  41. package/fesm2022/acorex-cdk-uploader.mjs +9 -9
  42. package/fesm2022/acorex-cdk-uploader.mjs.map +1 -1
  43. package/fesm2022/acorex-cdk-virtual-scroll.mjs +10 -10
  44. package/fesm2022/acorex-cdk-virtual-scroll.mjs.map +1 -1
  45. package/fesm2022/acorex-cdk-wysiwyg.mjs.map +1 -1
  46. package/fesm2022/acorex-cdk-z-index.mjs +35 -0
  47. package/fesm2022/acorex-cdk-z-index.mjs.map +1 -0
  48. package/fesm2022/acorex-cdk.mjs.map +1 -1
  49. package/overlay/index.d.ts +92 -5
  50. package/package.json +6 -2
  51. package/z-index/README.md +3 -0
  52. package/z-index/index.d.ts +14 -0
@@ -0,0 +1,35 @@
1
+ import { AXZIndexService } from '@acorex/core/z-index';
2
+ import * as i0 from '@angular/core';
3
+ import { inject, ElementRef, signal, afterNextRender, Directive } from '@angular/core';
4
+
5
+ class AXZindexDirective {
6
+ constructor() {
7
+ this.el = inject(ElementRef);
8
+ this.z = inject(AXZIndexService);
9
+ this.token = signal(null, ...(ngDevMode ? [{ debugName: "token" }] : []));
10
+ this.#init = afterNextRender(() => {
11
+ this.token.set(this.z.acquire());
12
+ this.el.nativeElement.style.zIndex = String(this.token().zIndex);
13
+ });
14
+ }
15
+ #init;
16
+ ngOnDestroy() {
17
+ this.z.release(this.token());
18
+ }
19
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: AXZindexDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
20
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.9", type: AXZindexDirective, isStandalone: true, selector: "[axZindex]", exportAs: ["axZindex"], ngImport: i0 }); }
21
+ }
22
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: AXZindexDirective, decorators: [{
23
+ type: Directive,
24
+ args: [{
25
+ selector: '[axZindex]',
26
+ exportAs: 'axZindex',
27
+ }]
28
+ }] });
29
+
30
+ /**
31
+ * Generated bundle index. Do not edit.
32
+ */
33
+
34
+ export { AXZindexDirective };
35
+ //# sourceMappingURL=acorex-cdk-z-index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-cdk-z-index.mjs","sources":["../tmp-esm2022/z-index/lib/z-index.directive.js","../tmp-esm2022/z-index/acorex-cdk-z-index.js"],"sourcesContent":["import { AXZIndexService } from '@acorex/core/z-index';\nimport { afterNextRender, Directive, ElementRef, inject, signal } from '@angular/core';\nimport * as i0 from \"@angular/core\";\nexport class AXZindexDirective {\n constructor() {\n this.el = inject(ElementRef);\n this.z = inject(AXZIndexService);\n this.token = signal(null, ...(ngDevMode ? [{ debugName: \"token\" }] : []));\n this.#init = afterNextRender(() => {\n this.token.set(this.z.acquire());\n this.el.nativeElement.style.zIndex = String(this.token().zIndex);\n });\n }\n #init;\n ngOnDestroy() {\n this.z.release(this.token());\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.3.9\", ngImport: i0, type: AXZindexDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"20.3.9\", type: AXZindexDirective, isStandalone: true, selector: \"[axZindex]\", exportAs: [\"axZindex\"], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.3.9\", ngImport: i0, type: AXZindexDirective, decorators: [{\n type: Directive,\n args: [{\n selector: '[axZindex]',\n exportAs: 'axZindex',\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiei1pbmRleC5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9jZGsvei1pbmRleC9zcmMvbGliL3otaW5kZXguZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxlQUFlLEVBQVksTUFBTSxzQkFBc0IsQ0FBQztBQUNqRSxPQUFPLEVBQUUsZUFBZSxFQUFFLFNBQVMsRUFBRSxVQUFVLEVBQUUsTUFBTSxFQUFhLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFLbEcsTUFBTSxPQUFPLGlCQUFpQjtJQUo5QjtRQUtVLE9BQUUsR0FBRyxNQUFNLENBQTBCLFVBQVUsQ0FBQyxDQUFDO1FBQ2pELE1BQUMsR0FBRyxNQUFNLENBQUMsZUFBZSxDQUFDLENBQUM7UUFFNUIsVUFBSyxHQUFHLE1BQU0sQ0FBVyxJQUFJLGlEQUFDLENBQUM7UUFFdkMsVUFBSyxHQUFHLGVBQWUsQ0FBQyxHQUFHLEVBQUU7WUFDM0IsSUFBSSxDQUFDLEtBQUssQ0FBQyxHQUFHLENBQUMsSUFBSSxDQUFDLENBQUMsQ0FBQyxPQUFPLEVBQUUsQ0FBQyxDQUFDO1lBQ2pDLElBQUksQ0FBQyxFQUFFLENBQUMsYUFBYSxDQUFDLEtBQUssQ0FBQyxNQU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tlbi5zZXQodGhpcy56LmFjcXVpcmUoKSk7XG4gICAgdGhpcy5lbC5uYXRpdmVFbGVtZW50LnN0eWxlLnpJbmRleCA9IFN0cmluZyh0aGlzLnRva2VuKCkuekluZGV4KTtcbiAgfSk7XG5cbiAgbmdPbkRlc3Ryb3koKSB7XG4gICAgdGhpcy56LnJlbGVhc2UodGhpcy50b2tlbigpKTtcbiAgfVxufVxuIl19","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNvcmV4LWNkay16LWluZGV4LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvY2RrL3otaW5kZXgvc3JjL2Fjb3JleC1jZGstei1pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ=="],"names":[],"mappings":";;;;AAGO,MAAM,iBAAiB,CAAC;AAC/B,IAAI,WAAW,GAAG;AAClB,QAAQ,IAAI,CAAC,EAAE,GAAG,MAAM,CAAC,UAAU,CAAC;AACpC,QAAQ,IAAI,CAAC,CAAC,GAAG,MAAM,CAAC,eAAe,CAAC;AACxC,QAAQ,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,IAAI,EAAE,IAAI,SAAS,GAAG,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC;AACjF,QAAQ,IAAI,CAAC,KAAK,GAAG,eAAe,CAAC,MAAM;AAC3C,YAAY,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAA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@
1
- {"version":3,"file":"acorex-cdk.mjs","sources":["../../../../packages/cdk/src/index.ts","../../../../packages/cdk/src/acorex-cdk.ts"],"sourcesContent":["export const ACOREX_CDK = 'ACorex CDK';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAO,MAAM,UAAU,GAAG;;ACA1B;;AAEG;;;;"}
1
+ {"version":3,"file":"acorex-cdk.mjs","sources":["../tmp-esm2022/index.js","../tmp-esm2022/acorex-cdk.js"],"sourcesContent":["export const ACOREX_CDK = 'ACorex CDK';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wYWNrYWdlcy9jZGsvc3JjL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBQyxNQUFNLFVBQVUsR0FBRyxZQUFZLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgY29uc3QgQUNPUkVYX0NESyA9ICdBQ29yZXggQ0RLJztcbiJdfQ==","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNvcmV4LWNkay5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3BhY2thZ2VzL2Nkay9zcmMvYWNvcmV4LWNkay50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ=="],"names":[],"mappings":"AAAY,MAAC,UAAU,GAAG;;ACA1B;AACA;AACA;;;;"}
@@ -1,10 +1,33 @@
1
1
  import { AXComponentOptions, AXComponentContent } from '@acorex/core/components';
2
- import { AXPlacement } from '@acorex/cdk/common';
2
+ import { AXPlacement, AXPlacementType, AXConnectedPosition } from '@acorex/cdk/common';
3
+ import { AXZToken } from '@acorex/core/z-index';
3
4
  import * as i0 from '@angular/core';
4
- import { EmbeddedViewRef, ComponentRef } from '@angular/core';
5
+ import { ElementRef, EmbeddedViewRef, ComponentRef } from '@angular/core';
5
6
 
6
7
  interface AXOverlayRef<T> {
7
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;
8
31
  }
9
32
  interface AXOverlayOptions extends AXComponentOptions {
10
33
  backdrop?: {
@@ -14,14 +37,78 @@ interface AXOverlayOptions extends AXComponentOptions {
14
37
  closeOnClick?: boolean;
15
38
  };
16
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;
17
52
  }
53
+ /**
54
+ * Calculates the position of an overlay element relative to an anchor element.
55
+ */
56
+ declare function calculateAnchorPosition(anchorRect: DOMRect, overlayRect: DOMRect, position: AXConnectedPosition): {
57
+ top: number;
58
+ left: number;
59
+ };
60
+ /**
61
+ * Checks if the overlay position fits within the viewport.
62
+ */
63
+ declare function fitsInViewport(position: {
64
+ top: number;
65
+ left: number;
66
+ }, overlayRect: DOMRect, viewportWidth: number, viewportHeight: number, margin?: number): boolean;
67
+ /**
68
+ * Finds the best position for an overlay that fits in the viewport.
69
+ */
70
+ declare function findBestPosition(anchorRect: DOMRect, overlayRect: DOMRect, positions: AXConnectedPosition[], viewportWidth: number, viewportHeight: number): {
71
+ position: AXConnectedPosition;
72
+ coords: {
73
+ top: number;
74
+ left: number;
75
+ };
76
+ };
18
77
 
19
78
  declare class AXOverlayService {
20
79
  private componentService;
21
- create<T = any>(content: AXComponentContent<T>, options?: AXOverlayOptions): Promise<AXOverlayRef<T>>;
80
+ private document;
81
+ private zIndexService;
82
+ /**
83
+ * Creates an overlay with optional anchor-based positioning.
84
+ * @param content - Component or template to display
85
+ * @param options - Configuration options for the overlay
86
+ * @returns Promise<AXOverlayRef> - Reference to the created overlay
87
+ */
88
+ create<T = unknown>(content: AXComponentContent<T>, options?: AXOverlayOptions): Promise<AXOverlayRef<T>>;
89
+ /**
90
+ * Creates a backdrop element.
91
+ */
92
+ private createBackdrop;
93
+ /**
94
+ * Creates a centered overlay container (for modals/popups).
95
+ */
96
+ private createCenteredOverlayContainer;
97
+ /**
98
+ * Gets the host element from a ComponentRef or EmbeddedViewRef.
99
+ */
100
+ private getHostElement;
101
+ /**
102
+ * Creates an overlay container element and appends the content to it.
103
+ */
104
+ private createOverlayContainer;
105
+ /**
106
+ * Positions the overlay container relative to the anchor element.
107
+ */
108
+ private positionOverlay;
22
109
  static ɵfac: i0.ɵɵFactoryDeclaration<AXOverlayService, never>;
23
110
  static ɵprov: i0.ɵɵInjectableDeclaration<AXOverlayService>;
24
111
  }
25
112
 
26
- export { AXOverlayService };
27
- export type { AXOverlayOptions, AXOverlayRef };
113
+ export { AXOverlayService, calculateAnchorPosition, findBestPosition, fitsInViewport };
114
+ export type { AXOverlayAnchorOptions, AXOverlayOptions, AXOverlayRef };
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@acorex/cdk",
3
- "version": "21.0.1-next.0",
3
+ "version": "21.0.1-next.1",
4
4
  "peerDependencies": {
5
- "@acorex/core": "21.0.1-next.0",
5
+ "@acorex/core": "21.0.1-next.1",
6
6
  "@angular/common": "^20.0.0",
7
7
  "@angular/core": "^20.0.0",
8
8
  "quill": ">=2.0.2",
@@ -112,6 +112,10 @@
112
112
  "./wysiwyg": {
113
113
  "types": "./wysiwyg/index.d.ts",
114
114
  "default": "./fesm2022/acorex-cdk-wysiwyg.mjs"
115
+ },
116
+ "./z-index": {
117
+ "types": "./z-index/index.d.ts",
118
+ "default": "./fesm2022/acorex-cdk-z-index.mjs"
115
119
  }
116
120
  },
117
121
  "dependencies": {
@@ -0,0 +1,3 @@
1
+ # @acorex/cdk/z-index
2
+
3
+ Secondary entry point of `@acorex/cdk`. It can be used by importing from `@acorex/cdk/z-index`.
@@ -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 };