@acorex/components 20.7.22 → 20.7.23

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/menu/index.d.ts CHANGED
@@ -68,7 +68,9 @@ declare class AXContextMenuComponent extends NXComponent {
68
68
  private document;
69
69
  private platformID;
70
70
  private zIndexService;
71
+ private injector;
71
72
  private zToken;
73
+ private lastOpenPoint;
72
74
  /** @ignore */
73
75
  constructor();
74
76
  ngOnDestroy(): void;
@@ -101,6 +103,13 @@ declare class AXContextMenuComponent extends NXComponent {
101
103
  private handleContextMenu;
102
104
  /** @ignore */
103
105
  private internalShowAt;
106
+ /**
107
+ * Positions the menu at `point`, flipping when it would overflow the viewport.
108
+ * Uses a temporary visible layout pass so parents that hide the host (e.g. side-menu `display: none`) do not yield a zero-sized rect.
109
+ */
110
+ private positionAtPoint;
111
+ /** Measures menu size even when an ancestor hides the host with `display: none`. */
112
+ private measureMenuRect;
104
113
  /** @ignore */
105
114
  private createBackdrop;
106
115
  /** @ignore */
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@acorex/components",
3
- "version": "20.7.22",
3
+ "version": "20.7.23",
4
4
  "peerDependencies": {
5
- "@acorex/core": "20.7.22",
6
- "@acorex/cdk": "20.7.22",
5
+ "@acorex/core": "20.7.23",
6
+ "@acorex/cdk": "20.7.23",
7
7
  "polytype": ">=0.17.0",
8
8
  "angular-imask": ">=7.6.1",
9
9
  "gridstack": ">=12.0.0",
@@ -208,14 +208,14 @@
208
208
  "types": "./editor/index.d.ts",
209
209
  "default": "./fesm2022/acorex-components-editor.mjs"
210
210
  },
211
- "./fab": {
212
- "types": "./fab/index.d.ts",
213
- "default": "./fesm2022/acorex-components-fab.mjs"
214
- },
215
211
  "./file-explorer": {
216
212
  "types": "./file-explorer/index.d.ts",
217
213
  "default": "./fesm2022/acorex-components-file-explorer.mjs"
218
214
  },
215
+ "./fab": {
216
+ "types": "./fab/index.d.ts",
217
+ "default": "./fesm2022/acorex-components-fab.mjs"
218
+ },
219
219
  "./flow-chart": {
220
220
  "types": "./flow-chart/index.d.ts",
221
221
  "default": "./fesm2022/acorex-components-flow-chart.mjs"
@@ -424,22 +424,22 @@
424
424
  "types": "./step-wizard/index.d.ts",
425
425
  "default": "./fesm2022/acorex-components-step-wizard.mjs"
426
426
  },
427
- "./tabs": {
428
- "types": "./tabs/index.d.ts",
429
- "default": "./fesm2022/acorex-components-tabs.mjs"
430
- },
431
427
  "./switch": {
432
428
  "types": "./switch/index.d.ts",
433
429
  "default": "./fesm2022/acorex-components-switch.mjs"
434
430
  },
435
- "./tag-box": {
436
- "types": "./tag-box/index.d.ts",
437
- "default": "./fesm2022/acorex-components-tag-box.mjs"
431
+ "./tabs": {
432
+ "types": "./tabs/index.d.ts",
433
+ "default": "./fesm2022/acorex-components-tabs.mjs"
438
434
  },
439
435
  "./tag": {
440
436
  "types": "./tag/index.d.ts",
441
437
  "default": "./fesm2022/acorex-components-tag.mjs"
442
438
  },
439
+ "./tag-box": {
440
+ "types": "./tag-box/index.d.ts",
441
+ "default": "./fesm2022/acorex-components-tag-box.mjs"
442
+ },
443
443
  "./text-area": {
444
444
  "types": "./text-area/index.d.ts",
445
445
  "default": "./fesm2022/acorex-components-text-area.mjs"
@@ -468,14 +468,14 @@
468
468
  "types": "./tooltip/index.d.ts",
469
469
  "default": "./fesm2022/acorex-components-tooltip.mjs"
470
470
  },
471
- "./tree-view-legacy": {
472
- "types": "./tree-view-legacy/index.d.ts",
473
- "default": "./fesm2022/acorex-components-tree-view-legacy.mjs"
474
- },
475
471
  "./tree-view": {
476
472
  "types": "./tree-view/index.d.ts",
477
473
  "default": "./fesm2022/acorex-components-tree-view.mjs"
478
474
  },
475
+ "./tree-view-legacy": {
476
+ "types": "./tree-view-legacy/index.d.ts",
477
+ "default": "./fesm2022/acorex-components-tree-view-legacy.mjs"
478
+ },
479
479
  "./uploader": {
480
480
  "types": "./uploader/index.d.ts",
481
481
  "default": "./fesm2022/acorex-components-uploader.mjs"