@acorex/components 18.10.1 → 18.10.4
Sign up to get free protection for your applications and to get access to all the features.
- package/calendar/lib/calendar-range.component.d.ts +2 -1
- package/esm2022/calendar/lib/calendar-range.component.mjs +8 -4
- package/esm2022/menu/lib/menu-item/menu-item.component.mjs +11 -9
- package/esm2022/menu/lib/menu.component.mjs +85 -70
- package/esm2022/menu/lib/menu.service.mjs +2 -1
- package/esm2022/qrcode/lib/qrcode.class.mjs +3 -3
- package/esm2022/qrcode/lib/qrcode.component.mjs +4 -19
- package/esm2022/qrcode/lib/qrcode.module.mjs +6 -6
- package/esm2022/range-slider/lib/range-slider.component.mjs +8 -10
- package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-container/wysiwyg-container.component.mjs +4 -7
- package/fesm2022/acorex-components-calendar.mjs +6 -2
- package/fesm2022/acorex-components-calendar.mjs.map +1 -1
- package/fesm2022/acorex-components-menu.mjs +94 -76
- package/fesm2022/acorex-components-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-qrcode.mjs +11 -26
- package/fesm2022/acorex-components-qrcode.mjs.map +1 -1
- package/fesm2022/acorex-components-range-slider.mjs +7 -9
- package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
- package/fesm2022/acorex-components-wysiwyg.mjs +3 -6
- package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
- package/menu/lib/menu-item/menu-item.component.d.ts +3 -2
- package/menu/lib/menu.component.d.ts +2 -1
- package/menu/lib/menu.service.d.ts +1 -0
- package/package.json +54 -54
- package/qrcode/lib/qrcode.class.d.ts +1 -1
- package/qrcode/lib/qrcode.component.d.ts +0 -4
- package/qrcode/lib/qrcode.module.d.ts +4 -4
- package/wysiwyg/lib/wysiwyg/wysiwyg-container/wysiwyg-container.component.d.ts +1 -2
@@ -32,7 +32,8 @@ export declare class AXCalendarRangeComponent extends AXCalendarRangeComponent_b
|
|
32
32
|
* @ignore
|
33
33
|
*/
|
34
34
|
ngAfterViewInit(): void;
|
35
|
-
|
35
|
+
internalValueChanged(value: any): void;
|
36
|
+
/** w
|
36
37
|
* @ignore
|
37
38
|
*/
|
38
39
|
getCellClass: (date: AXDateTime) => "ax-range-start" | "ax-range-end" | "ax-range-between";
|
@@ -1,11 +1,11 @@
|
|
1
|
-
import { AXValuableComponent, MXInteractiveComponent, MXValueComponent } from '@acorex/components/common';
|
1
|
+
import { AXValuableComponent, MXInteractiveComponent, MXValueComponent, } from '@acorex/components/common';
|
2
2
|
import { AXCalendarService } from '@acorex/core/date-time';
|
3
3
|
import { AXHtmlUtil } from '@acorex/core/utils';
|
4
4
|
import { Component, ViewChild, ViewEncapsulation, forwardRef, inject } from '@angular/core';
|
5
|
+
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
5
6
|
import { classes } from 'polytype';
|
6
7
|
import { MXCalendarBaseComponent } from './calendar.class';
|
7
8
|
import { AXCalendarComponent } from './calendar.component';
|
8
|
-
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
9
9
|
import * as i0 from "@angular/core";
|
10
10
|
import * as i1 from "@angular/common";
|
11
11
|
import * as i2 from "./calendar.component";
|
@@ -20,7 +20,7 @@ export class AXCalendarRangeComponent extends classes((MXValueComponent), MXInte
|
|
20
20
|
*/
|
21
21
|
this._calendarService = inject(AXCalendarService);
|
22
22
|
this._navText = '';
|
23
|
-
/**
|
23
|
+
/** w
|
24
24
|
* @ignore
|
25
25
|
*/
|
26
26
|
this.getCellClass = (date) => {
|
@@ -51,6 +51,10 @@ export class AXCalendarRangeComponent extends classes((MXValueComponent), MXInte
|
|
51
51
|
ngAfterViewInit() {
|
52
52
|
this._syncNav1();
|
53
53
|
}
|
54
|
+
internalValueChanged(value) {
|
55
|
+
this._c1.render();
|
56
|
+
this._c2.render();
|
57
|
+
}
|
54
58
|
/**
|
55
59
|
* @ignore
|
56
60
|
*/
|
@@ -241,4 +245,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
241
245
|
type: ViewChild,
|
242
246
|
args: ['c2',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VuZGFyLWhlYWRlci1yYW5nZS1idXR0b25zXCI+XG4gICAgICAgIDxidXR0b24gdHlwZT1cImJ1dHRvblwiIFthdHRyLmRpc2FibGVkXT1cImRpc2FibGVkID8gJycgOiBudWxsXCIgY2xhc3M9XCJheC1nZW5lcmFsLWJ1dHRvbiBheC1idXR0b24taWNvblwiXG4gICAgICAgICAgICAoY2xpY2spPVwiaGFuZGxlUHJldkNsaWNrKClcIj5cbiAgICAgICAgICAgIDxpIGNsYXNzPVwiYXgtaWNvblwiIFtuZ0NsYXNzXT1cIntcbiAgICAgICAgICAgICAgICAnYXgtaWNvbi1jaGV2cm9uLWxlZnQnOiAhcnRsLFxuICAgICAgICAgICAgICAgICdheC1pY29uLWNoZXZyb24tcmlnaHQnOiBydGxcbiAgICAgICAgICAgICAgfVwiPjwvaT5cbiAgICAgICAgPC9idXR0b24+XG4gICAgICAgIDxidXR0b24gdHlwZT1cImJ1dHRvblwiIFthdHRyLmRpc2FibGVkXT1cImRpc2FibGVkID8gJycgOiBudWxsXCIgY2xhc3M9XCJheC1nZW5lcmFsLWJ1dHRvbiBheC1idXR0b24taWNvblwiXG4gICAgICAgICAgICAoY2xpY2spPVwiaGFuZGxlTmV4dENsaWNrKClcIj5cbiAgICAgICAgICAgIDxpIGNsYXNzPVwiYXgtaWNvblwiIFtuZ0NsYXNzXT1cIntcbiAgICAgICAgICAgICAgICAnYXgtaWNvbi1jaGV2cm9uLWxlZnQnOiBydGwsXG4gICAgICAgICAgICAgICAgJ2F4LWljb24tY2hldnJvbi1yaWdodCc6ICFydGxcbiAgICAgICAgICAgICAgfVwiPjwvaT5cbiAgICAgICAgPC9idXR0b24+XG4gICAgPC9kaXY+XG48L2Rpdj5cbjxkaXYgY2xhc3M9XCJheC1jYWxlbmRhci1yYW5nZS1ib2R5XCI+XG4gICAgPGF4LWNhbGVuZGFyICNjMSBbc2hvd05hdmlnYXRpb25dPVwiZmFsc2VcIiBbcmVhZG9ubHldPVwidHJ1ZVwiIFtjZW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ends MXInteractiveComponent {
|
|
51
51
|
* Injects the root menu service.
|
52
52
|
*/
|
53
53
|
this.rootMenu = inject(AXRootMenu);
|
54
|
+
this.arrowState = input(true);
|
54
55
|
afterNextRender(() => {
|
55
56
|
this.children.forEach((c) => {
|
56
57
|
c.parent = this;
|
@@ -60,12 +61,13 @@ export class AXMenuItemComponent extends MXInteractiveComponent {
|
|
60
61
|
this.getPlacement();
|
61
62
|
});
|
62
63
|
effect(() => {
|
63
|
-
if (!this.getHostElement()
|
64
|
+
if (!this.getHostElement()?.getClientRects()[0])
|
64
65
|
return;
|
65
66
|
//add overflow items to array
|
66
|
-
if (this.getHostElement()
|
67
|
-
this.getHostElement()
|
67
|
+
if (this.getHostElement()?.getClientRects()[0]?.right > this.service.rightOverflow() ||
|
68
|
+
this.getHostElement()?.getClientRects()[0]?.left < this.service.leftOverflow()) {
|
68
69
|
this.service.overflowElements.update((prev) => [...prev, this.getHostElement()]);
|
70
|
+
this.service.isOverflowExist.set(true);
|
69
71
|
}
|
70
72
|
else {
|
71
73
|
this.service.notOverflowElements.update((prev) => [...prev, this.getHostElement()]);
|
@@ -99,11 +101,11 @@ export class AXMenuItemComponent extends MXInteractiveComponent {
|
|
99
101
|
* Returns the icon based on the orientation of the root menu.
|
100
102
|
*/
|
101
103
|
getIcon() {
|
102
|
-
if (this.rootMenu.orientation()
|
103
|
-
return 'ax-icon-
|
104
|
+
if (this.rootMenu.orientation() === 'vertical') {
|
105
|
+
return 'ax-icon-chevron-right';
|
104
106
|
}
|
105
107
|
else {
|
106
|
-
return 'ax-icon-
|
108
|
+
return 'ax-icon-chevron-down';
|
107
109
|
}
|
108
110
|
}
|
109
111
|
/**
|
@@ -150,11 +152,11 @@ export class AXMenuItemComponent extends MXInteractiveComponent {
|
|
150
152
|
}
|
151
153
|
}
|
152
154
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMenuItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
153
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXMenuItemComponent, selector: "ax-menu-item", inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: false, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null }, active: { classPropertyName: "active", publicName: "active", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { activeChange: "activeChange", onClick: "onClick" }, host: { attributes: { "ngSkipHydration": "true" }, listeners: { "click": "__hostClick($event)" }, properties: { "class": "this.__hostClass" } }, queries: [{ propertyName: "children", predicate: AXMenuItemComponent }], viewQueries: [{ propertyName: "popover", first: true, predicate: AXPopoverComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"ax-menu-item-start-side\">\n <ng-content select=\"ax-prefix\"></ng-content>\n <p class=\"ax-menu-item-text\">{{ text() }}</p>\n</div>\n<ng-content select=\"ax-suffix\"></ng-content>\n@if (children.length) {\n <i class=\"ax-icon ax-icon-solid {{ getIcon() }} ax-menu-item-child-icon\"></i>\n}\n\n<ax-popover\n #popover\n [closeOn]=\"'clickOut'\"\n [openOn]=\"rootMenu.openOn()\"\n [target]=\"getHostElement()\"\n [offsetY]=\"offsetY()\"\n [offsetX]=\"offsetX()\"\n [placement]=\"getPlacement()\"\n (onOpened)=\"_handleOnOpened()\"\n (onClosed)=\"_handleOnClosed()\"\n>\n <div class=\"ax-menu-item-children ax-parent-{{ this.rootMenu.orientation() }}\">\n <ng-content select=\"ax-menu-item\"></ng-content>\n </div>\n</ax-popover>\n", styles: [".ax-menu-item-text{white-space:nowrap}\n"], dependencies: [{ kind: "component", type: i1.AXPopoverComponent, selector: "ax-popover", inputs: ["offsetX", "offsetY", "target", "placement", "content", "openOn", "closeOn", "hasBackdrop", "openAfter", "closeAfter", "backdropClass", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
155
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXMenuItemComponent, selector: "ax-menu-item", inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: false, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null }, active: { classPropertyName: "active", publicName: "active", isSignal: true, isRequired: false, transformFunction: null }, arrowState: { classPropertyName: "arrowState", publicName: "arrowState", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { activeChange: "activeChange", onClick: "onClick" }, host: { attributes: { "ngSkipHydration": "true" }, listeners: { "click": "__hostClick($event)" }, properties: { "class": "this.__hostClass" } }, queries: [{ propertyName: "children", predicate: AXMenuItemComponent }], viewQueries: [{ propertyName: "popover", first: true, predicate: AXPopoverComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"ax-menu-item-start-side\">\n <ng-content select=\"ax-prefix\"></ng-content>\n <p class=\"ax-menu-item-text\">{{ text() }}</p>\n</div>\n<ng-content select=\"ax-suffix\"></ng-content>\n@if (children.length && arrowState()) {\n <i class=\"ax-icon ax-icon-solid {{ getIcon() }} ax-menu-item-child-icon\"></i>\n}\n\n<ax-popover\n #popover\n [closeOn]=\"'clickOut'\"\n [openOn]=\"rootMenu.openOn()\"\n [target]=\"getHostElement()\"\n [offsetY]=\"offsetY()\"\n [offsetX]=\"offsetX()\"\n [placement]=\"getPlacement()\"\n (onOpened)=\"_handleOnOpened()\"\n (onClosed)=\"_handleOnClosed()\"\n>\n <div class=\"ax-menu-item-children ax-parent-{{ this.rootMenu.orientation() }}\">\n <ng-content select=\"ax-menu-item\"></ng-content>\n </div>\n</ax-popover>\n", styles: [".ax-menu-item-text{white-space:nowrap}\n"], dependencies: [{ kind: "component", type: i1.AXPopoverComponent, selector: "ax-popover", inputs: ["offsetX", "offsetY", "target", "placement", "content", "openOn", "closeOn", "hasBackdrop", "openAfter", "closeAfter", "backdropClass", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
154
156
|
}
|
155
157
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMenuItemComponent, decorators: [{
|
156
158
|
type: Component,
|
157
|
-
args: [{ selector: 'ax-menu-item', inputs: ['disabled'], host: { ngSkipHydration: 'true' }, encapsulation: ViewEncapsulation.None, template: "<div class=\"ax-menu-item-start-side\">\n <ng-content select=\"ax-prefix\"></ng-content>\n <p class=\"ax-menu-item-text\">{{ text() }}</p>\n</div>\n<ng-content select=\"ax-suffix\"></ng-content>\n@if (children.length) {\n <i class=\"ax-icon ax-icon-solid {{ getIcon() }} ax-menu-item-child-icon\"></i>\n}\n\n<ax-popover\n #popover\n [closeOn]=\"'clickOut'\"\n [openOn]=\"rootMenu.openOn()\"\n [target]=\"getHostElement()\"\n [offsetY]=\"offsetY()\"\n [offsetX]=\"offsetX()\"\n [placement]=\"getPlacement()\"\n (onOpened)=\"_handleOnOpened()\"\n (onClosed)=\"_handleOnClosed()\"\n>\n <div class=\"ax-menu-item-children ax-parent-{{ this.rootMenu.orientation() }}\">\n <ng-content select=\"ax-menu-item\"></ng-content>\n </div>\n</ax-popover>\n", styles: [".ax-menu-item-text{white-space:nowrap}\n"] }]
|
159
|
+
args: [{ selector: 'ax-menu-item', inputs: ['disabled'], host: { ngSkipHydration: 'true' }, encapsulation: ViewEncapsulation.None, template: "<div class=\"ax-menu-item-start-side\">\n <ng-content select=\"ax-prefix\"></ng-content>\n <p class=\"ax-menu-item-text\">{{ text() }}</p>\n</div>\n<ng-content select=\"ax-suffix\"></ng-content>\n@if (children.length && arrowState()) {\n <i class=\"ax-icon ax-icon-solid {{ getIcon() }} ax-menu-item-child-icon\"></i>\n}\n\n<ax-popover\n #popover\n [closeOn]=\"'clickOut'\"\n [openOn]=\"rootMenu.openOn()\"\n [target]=\"getHostElement()\"\n [offsetY]=\"offsetY()\"\n [offsetX]=\"offsetX()\"\n [placement]=\"getPlacement()\"\n (onOpened)=\"_handleOnOpened()\"\n (onClosed)=\"_handleOnClosed()\"\n>\n <div class=\"ax-menu-item-children ax-parent-{{ this.rootMenu.orientation() }}\">\n <ng-content select=\"ax-menu-item\"></ng-content>\n </div>\n</ax-popover>\n", styles: [".ax-menu-item-text{white-space:nowrap}\n"] }]
|
158
160
|
}], ctorParameters: () => [], propDecorators: { popover: [{
|
159
161
|
type: ViewChild,
|
160
162
|
args: [AXPopoverComponent]
|
@@ -168,4 +170,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
168
170
|
type: HostListener,
|
169
171
|
args: ['click', ['$event']]
|
170
172
|
}] } });
|
171
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVudS1pdGVtLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9tZW51L3NyYy9saWIvbWVudS1pdGVtL21lbnUtaXRlbS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvbWVudS9zcmMvbGliL21lbnUtaXRlbS9tZW51LWl0ZW0uY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFnQixzQkFBc0IsRUFBRSxNQUFNLDJCQUEyQixDQUFDO0FBQ2pGLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLDRCQUE0QixDQUFDO0FBQ2hFLE9BQU8sRUFDTCxTQUFTLEVBQ1QsZUFBZSxFQUNmLFdBQVcsRUFDWCxZQUFZLEVBQ1osU0FBUyxFQUNULFNBQVMsRUFDVCxpQkFBaUIsRUFDakIsZUFBZSxFQUNmLE1BQU0sRUFDTixNQUFNLEVBQ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29mZnNldFldPVwib2Zmc2V0WSgpXCJcbiAgW29mZnNldFhdPVwib2Zmc2V0WCgpXCJcbiAgW3BsYWNlbWVudF09XCJnZXRQbGFjZW1lbnQoKVwiXG4gIChvbk9wZW5lZCk9XCJfaGFuZGxlT25PcGVuZWQoKVwiXG4gIChvbkNsb3NlZCk9XCJfaGFuZGxlT25DbG9zZWQoKVwiXG4+XG4gIDxkaXYgY2xhc3M9XCJheC1tZW51LWl0ZW0tY2hpbGRyZW4gYXgtcGFyZW50LXt7IHRoaXMucm9vdE1lbnUub3JpZW50YXRpb24oKSB9fVwiPlxuICAgIDxuZy1jb250ZW50IHNlbGVjdD1cImF4LW1lbnUtaXRlbVwiPjwvbmctY29udGVudD5cbiAgPC9kaXY+XG48L2F4LXBvcG92ZXI+XG4iXX0=
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { MXBaseComponent } from '@acorex/components/common';
|
2
|
-
import { afterNextRender, Component, ContentChildren,
|
2
|
+
import { afterNextRender, Component, ContentChildren, HostBinding, inject, input, QueryList, signal, ViewEncapsulation, } from '@angular/core';
|
3
3
|
import { AXRootMenu } from './class/root-menu.class';
|
4
4
|
import { AXMenuItemComponent } from './menu-item/menu-item.component';
|
5
5
|
import { AXMenuService } from './menu.service';
|
@@ -17,56 +17,61 @@ export class AXMenuComponent extends MXBaseComponent {
|
|
17
17
|
this.service = inject(AXMenuService);
|
18
18
|
this.menuHeight = signal('');
|
19
19
|
this.isMenuOpen = signal(false);
|
20
|
+
this.truncateMenu = input(false);
|
20
21
|
afterNextRender(() => {
|
21
|
-
|
22
|
-
this.menuHeight.set(`${this.getHostElement()?.getClientRects()[0]?.height}px`);
|
23
|
-
this.service.rightOverflow.set(this.getHostElement().querySelector('.ax-menu-item-container')?.getClientRects()[0]?.right);
|
24
|
-
this.service.leftOverflow.set(this.getHostElement().querySelector('.ax-menu-item-container')?.getClientRects()[0]?.left);
|
25
|
-
});
|
26
|
-
let resizeTimer;
|
27
|
-
window.addEventListener('resize', () => {
|
28
|
-
//add menu container border for detect overflow happen
|
29
|
-
clearTimeout(resizeTimer);
|
30
|
-
if (!this.getHostElement())
|
22
|
+
if (!this.truncateMenu())
|
31
23
|
return;
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
const allItems = [...this.service.overflowElements(), ...this.service.notOverflowElements()];
|
61
|
-
allItems.forEach((item) => {
|
62
|
-
axMenu.appendChild(item);
|
63
|
-
});
|
64
|
-
injectContainer2.appendChild(axMenu);
|
65
|
-
}
|
24
|
+
//add menu container border for detect overflow happen
|
25
|
+
this.menuHeight.set(`${this.getHostElement()?.getClientRects()[0]?.height + 10}px`);
|
26
|
+
this.service.rightOverflow.set(this.getHostElement()?.querySelector('.ax-menu-item-container')?.getClientRects()[0]?.right);
|
27
|
+
this.service.leftOverflow.set(this.getHostElement()?.querySelector('.ax-menu-item-container')?.getClientRects()[0]?.left);
|
28
|
+
let resizeTimer;
|
29
|
+
window.addEventListener('resize', () => {
|
30
|
+
//add menu container border for detect overflow happen
|
31
|
+
clearTimeout(resizeTimer);
|
32
|
+
if (!this.getHostElement())
|
33
|
+
return;
|
34
|
+
resizeTimer = setTimeout(() => {
|
35
|
+
this.service.rightOverflow.set(this.getHostElement()?.querySelector('.ax-menu-item-container').getClientRects()[0].right);
|
36
|
+
this.service.leftOverflow.set(this.getHostElement()?.querySelector('.ax-menu-item-container').getClientRects()[0].left);
|
37
|
+
if (this.isMenuOpen())
|
38
|
+
this.showMenuHandler();
|
39
|
+
this.service.notOverflowElements.set([]);
|
40
|
+
this.service.overflowElements.set([]);
|
41
|
+
}, 200);
|
42
|
+
});
|
43
|
+
document.addEventListener('click', (event) => {
|
44
|
+
const menu = document.querySelector('.ax-overflow-menu-container');
|
45
|
+
const menuButton = document.querySelector('.ax-show-truncate-menu');
|
46
|
+
if (!menu.contains(event.target) &&
|
47
|
+
!menuButton.contains(event.target)) {
|
48
|
+
if (this.isMenuOpen())
|
49
|
+
this.showMenuHandler();
|
50
|
+
}
|
51
|
+
});
|
66
52
|
});
|
67
53
|
}
|
68
54
|
showMenuHandler() {
|
69
55
|
this.isMenuOpen.update((prev) => !prev);
|
56
|
+
const injectContainer = this.getHostElement().querySelector('.ax-overflow-menu-container');
|
57
|
+
const injectContainer2 = this.getHostElement().querySelector('.ax-menu-item-container');
|
58
|
+
if (this.isMenuOpen()) {
|
59
|
+
this.service.overflowElements().forEach((item) => {
|
60
|
+
item.classList.add('overflowMenuOverride');
|
61
|
+
injectContainer.appendChild(item);
|
62
|
+
});
|
63
|
+
this.service.notOverflowElements().forEach((item) => {
|
64
|
+
item.classList.remove('overflowMenuOverride');
|
65
|
+
injectContainer2.appendChild(item);
|
66
|
+
});
|
67
|
+
}
|
68
|
+
else {
|
69
|
+
const allItems = [...this.service.notOverflowElements(), ...this.service.overflowElements()];
|
70
|
+
allItems.forEach((item) => {
|
71
|
+
item.classList.remove('overflowMenuOverride');
|
72
|
+
injectContainer2.appendChild(item);
|
73
|
+
});
|
74
|
+
}
|
70
75
|
}
|
71
76
|
/** @ignore */
|
72
77
|
ngAfterViewInit() {
|
@@ -77,10 +82,10 @@ export class AXMenuComponent extends MXBaseComponent {
|
|
77
82
|
}
|
78
83
|
/** @ignore */
|
79
84
|
get __hostClass() {
|
80
|
-
return `ax-orientation-${this.orientation()}
|
85
|
+
return `ax-orientation-${this.orientation()}`;
|
81
86
|
}
|
82
87
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
83
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXMenuComponent, selector: "ax-menu", inputs: { orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null }, openOn: { classPropertyName: "openOn", publicName: "openOn", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "this.__hostClass" } }, providers: [
|
88
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXMenuComponent, selector: "ax-menu", inputs: { orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null }, openOn: { classPropertyName: "openOn", publicName: "openOn", isSignal: true, isRequired: false, transformFunction: null }, truncateMenu: { classPropertyName: "truncateMenu", publicName: "truncateMenu", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "this.__hostClass" } }, providers: [
|
84
89
|
{
|
85
90
|
provide: AXRootMenu,
|
86
91
|
useExisting: AXMenuComponent,
|
@@ -91,47 +96,57 @@ export class AXMenuComponent extends MXBaseComponent {
|
|
91
96
|
], queries: [{ propertyName: "children", predicate: AXMenuItemComponent }], usesInheritance: true, ngImport: i0, template: `
|
92
97
|
<div class="ax-main-menu-container">
|
93
98
|
<div
|
94
|
-
[style]="{ width: this.service.
|
99
|
+
[style]="{ width: !this.service.isOverflowExist() && !this.truncateMenu() && '100%' }"
|
95
100
|
class="ax-menu-item-container"
|
96
101
|
>
|
97
102
|
<ng-content select="ax-menu-item,ng-container"></ng-content>
|
98
103
|
</div>
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
104
|
+
|
105
|
+
@if (this.service.overflowElements().length !== 0 && this.truncateMenu()) {
|
106
|
+
<button
|
107
|
+
class="ax-general-button ax-button-icon ax-show-truncate-menu"
|
108
|
+
(click)="showMenuHandler()"
|
109
|
+
tabindex="0"
|
110
|
+
type="button"
|
111
|
+
>
|
112
|
+
<ax-icon class="ax-icon ax-icon-more-horizontal ng-star-inserted ax-text-xl"></ax-icon>
|
113
|
+
</button>
|
105
114
|
}
|
106
115
|
</div>
|
107
116
|
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
117
|
+
<div
|
118
|
+
[style]="{ top: menuHeight(), display: this.isMenuOpen() ? 'block' : 'none' }"
|
119
|
+
class="ax-overflow-menu-container ax-menu-item-children"
|
120
|
+
></div>
|
121
|
+
`, isInline: true, styles: ["ax-menu{width:100%;font-size:.875rem;line-height:1.25rem;color:inherit;position:relative}ax-menu .ax-main-menu-container{display:flex;align-items:center;width:100%;overflow:hidden}ax-menu .ax-menu-item-container{display:flex;overflow:hidden;width:calc(100% - 1.3rem)}ax-menu .ax-show-truncate-menu{position:absolute;right:0;width:1.3rem}ax-menu .ax-overflow-menu-container{position:absolute;right:0}ax-menu.ax-orientation-horizontal{display:flex}ax-menu.ax-orientation-horizontal ax-menu-item:not(ax-menu.ax-orientation-horizontal ax-menu-item:last-child){margin-inline-end:1rem}ax-menu.ax-orientation-vertical{display:flex;flex-direction:column}ax-menu.ax-orientation-vertical ax-menu-item{justify-content:space-between}ax-menu.ax-orientation-vertical ax-menu-item:not(ax-menu.ax-orientation-vertical ax-menu-item:last-child){margin-bottom:1rem}ax-menu ax-menu-item:hover:not(ax-menu ax-menu-item:hover.ax-state-disabled){color:rgba(var(--ax-color-primary-500))}ax-menu-item{position:relative;display:flex;align-items:center;gap:.5rem;font-size:.875rem;line-height:1.25rem;font-weight:500;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;justify-content:space-between;color:rgba(var(--ax-color-text-default))}ax-menu-item:not(ax-menu-item.ax-state-disabled){cursor:pointer}ax-menu-item .ax-menu-item-start-side{display:flex;align-items:center;gap:.5rem}ax-menu-item.ax-state-disabled{cursor:not-allowed;opacity:.5}ax-menu-item.ax-state-selected{color:rgba(var(--ax-color-primary-500))}ax-menu-item .ax-menu-item-child-icon{width:fit-content;line-height:1;font-size:10px}ax-menu-item ax-popover{position:absolute}.overflowMenuOverride{margin-inline-end:0!important}.overflowMenuOverride:hover:not(.overflowMenuOverride:hover.ax-state-disabled){color:rgba(var(--ax-color-text-default))!important}.ax-menu-item-children{padding-top:.5rem;padding-bottom:.5rem}.ax-menu-item-children:not(.ax-menu-item-children:empty){display:flex;min-width:12rem;flex-direction:column;border-radius:var(--ax-rounded-border-default);border-width:1px;border-color:rgba(var(--ax-color-border-default));background-color:rgba(var(--ax-color-surface))}.ax-menu-item-children:not(.ax-menu-item-children:empty) ax-menu-item{padding:.5rem 1rem;font-size:.875rem;line-height:1.25rem}.ax-menu-item-children:not(.ax-menu-item-children:empty) ax-menu-item:hover:not(.ax-menu-item-children:not(.ax-menu-item-children:empty) ax-menu-item:hover.ax-state-disabled){background-color:rgba(var(--ax-color-on-surface))}.ax-menu-item-children:not(.ax-menu-item-children:empty) ax-menu-item:hover:not(.ax-menu-item-children:not(.ax-menu-item-children:empty) ax-menu-item:hover.ax-state-disabled) ax-prefix,.ax-menu-item-children:not(.ax-menu-item-children:empty) ax-menu-item:hover:not(.ax-menu-item-children:not(.ax-menu-item-children:empty) ax-menu-item:hover.ax-state-disabled) ax-suffix{opacity:1}.ax-menu-item-children:not(.ax-menu-item-children:empty) ax-menu-item ax-prefix,.ax-menu-item-children:not(.ax-menu-item-children:empty) ax-menu-item ax-suffix{opacity:.75}.ax-menu-item-children:not(.ax-menu-item-children:empty) ax-menu-item .ax-menu-item-text{flex:1 1 0%}html[dir=rtl] .ax-parent-horizontal .ax-menu-item-child-icon{transform:rotate(-90deg)}html[dir=rtl] .ax-parent-horizontal .ax-menu-item-child-icon:before{-moz-transform:scale(1,-1);-webkit-transform:scale(1,-1);-o-transform:scale(1,-1);-ms-transform:scale(1,-1);transform:scaleY(-1)}.ax-parent-horizontal .ax-menu-item-child-icon{transform:rotate(-90deg)}\n"], dependencies: [{ kind: "component", type: i1.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
112
122
|
}
|
113
123
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMenuComponent, decorators: [{
|
114
124
|
type: Component,
|
115
125
|
args: [{ selector: 'ax-menu', template: `
|
116
126
|
<div class="ax-main-menu-container">
|
117
127
|
<div
|
118
|
-
[style]="{ width: this.service.
|
128
|
+
[style]="{ width: !this.service.isOverflowExist() && !this.truncateMenu() && '100%' }"
|
119
129
|
class="ax-menu-item-container"
|
120
130
|
>
|
121
131
|
<ng-content select="ax-menu-item,ng-container"></ng-content>
|
122
132
|
</div>
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
133
|
+
|
134
|
+
@if (this.service.overflowElements().length !== 0 && this.truncateMenu()) {
|
135
|
+
<button
|
136
|
+
class="ax-general-button ax-button-icon ax-show-truncate-menu"
|
137
|
+
(click)="showMenuHandler()"
|
138
|
+
tabindex="0"
|
139
|
+
type="button"
|
140
|
+
>
|
141
|
+
<ax-icon class="ax-icon ax-icon-more-horizontal ng-star-inserted ax-text-xl"></ax-icon>
|
142
|
+
</button>
|
129
143
|
}
|
130
144
|
</div>
|
131
145
|
|
132
|
-
|
133
|
-
|
134
|
-
|
146
|
+
<div
|
147
|
+
[style]="{ top: menuHeight(), display: this.isMenuOpen() ? 'block' : 'none' }"
|
148
|
+
class="ax-overflow-menu-container ax-menu-item-children"
|
149
|
+
></div>
|
135
150
|
`, encapsulation: ViewEncapsulation.None, providers: [
|
136
151
|
{
|
137
152
|
provide: AXRootMenu,
|
@@ -140,7 +155,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
140
155
|
{
|
141
156
|
provide: AXMenuService,
|
142
157
|
},
|
143
|
-
], styles: ["ax-menu{width:100%;font-size:.875rem;line-height:1.25rem;color:inherit;position:relative}ax-menu .ax-main-menu-container{display:flex;align-items:center;width:100%;overflow:hidden}ax-menu .ax-menu-item-container{display:flex;overflow:hidden
|
158
|
+
], styles: ["ax-menu{width:100%;font-size:.875rem;line-height:1.25rem;color:inherit;position:relative}ax-menu .ax-main-menu-container{display:flex;align-items:center;width:100%;overflow:hidden}ax-menu .ax-menu-item-container{display:flex;overflow:hidden;width:calc(100% - 1.3rem)}ax-menu .ax-show-truncate-menu{position:absolute;right:0;width:1.3rem}ax-menu .ax-overflow-menu-container{position:absolute;right:0}ax-menu.ax-orientation-horizontal{display:flex}ax-menu.ax-orientation-horizontal ax-menu-item:not(ax-menu.ax-orientation-horizontal ax-menu-item:last-child){margin-inline-end:1rem}ax-menu.ax-orientation-vertical{display:flex;flex-direction:column}ax-menu.ax-orientation-vertical ax-menu-item{justify-content:space-between}ax-menu.ax-orientation-vertical ax-menu-item:not(ax-menu.ax-orientation-vertical ax-menu-item:last-child){margin-bottom:1rem}ax-menu ax-menu-item:hover:not(ax-menu ax-menu-item:hover.ax-state-disabled){color:rgba(var(--ax-color-primary-500))}ax-menu-item{position:relative;display:flex;align-items:center;gap:.5rem;font-size:.875rem;line-height:1.25rem;font-weight:500;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;justify-content:space-between;color:rgba(var(--ax-color-text-default))}ax-menu-item:not(ax-menu-item.ax-state-disabled){cursor:pointer}ax-menu-item .ax-menu-item-start-side{display:flex;align-items:center;gap:.5rem}ax-menu-item.ax-state-disabled{cursor:not-allowed;opacity:.5}ax-menu-item.ax-state-selected{color:rgba(var(--ax-color-primary-500))}ax-menu-item .ax-menu-item-child-icon{width:fit-content;line-height:1;font-size:10px}ax-menu-item ax-popover{position:absolute}.overflowMenuOverride{margin-inline-end:0!important}.overflowMenuOverride:hover:not(.overflowMenuOverride:hover.ax-state-disabled){color:rgba(var(--ax-color-text-default))!important}.ax-menu-item-children{padding-top:.5rem;padding-bottom:.5rem}.ax-menu-item-children:not(.ax-menu-item-children:empty){display:flex;min-width:12rem;flex-direction:column;border-radius:var(--ax-rounded-border-default);border-width:1px;border-color:rgba(var(--ax-color-border-default));background-color:rgba(var(--ax-color-surface))}.ax-menu-item-children:not(.ax-menu-item-children:empty) ax-menu-item{padding:.5rem 1rem;font-size:.875rem;line-height:1.25rem}.ax-menu-item-children:not(.ax-menu-item-children:empty) ax-menu-item:hover:not(.ax-menu-item-children:not(.ax-menu-item-children:empty) ax-menu-item:hover.ax-state-disabled){background-color:rgba(var(--ax-color-on-surface))}.ax-menu-item-children:not(.ax-menu-item-children:empty) ax-menu-item:hover:not(.ax-menu-item-children:not(.ax-menu-item-children:empty) ax-menu-item:hover.ax-state-disabled) ax-prefix,.ax-menu-item-children:not(.ax-menu-item-children:empty) ax-menu-item:hover:not(.ax-menu-item-children:not(.ax-menu-item-children:empty) ax-menu-item:hover.ax-state-disabled) ax-suffix{opacity:1}.ax-menu-item-children:not(.ax-menu-item-children:empty) ax-menu-item ax-prefix,.ax-menu-item-children:not(.ax-menu-item-children:empty) ax-menu-item ax-suffix{opacity:.75}.ax-menu-item-children:not(.ax-menu-item-children:empty) ax-menu-item .ax-menu-item-text{flex:1 1 0%}html[dir=rtl] .ax-parent-horizontal .ax-menu-item-child-icon{transform:rotate(-90deg)}html[dir=rtl] .ax-parent-horizontal .ax-menu-item-child-icon:before{-moz-transform:scale(1,-1);-webkit-transform:scale(1,-1);-o-transform:scale(1,-1);-ms-transform:scale(1,-1);transform:scaleY(-1)}.ax-parent-horizontal .ax-menu-item-child-icon{transform:rotate(-90deg)}\n"] }]
|
144
159
|
}], ctorParameters: () => [], propDecorators: { children: [{
|
145
160
|
type: ContentChildren,
|
146
161
|
args: [AXMenuItemComponent]
|
@@ -148,4 +163,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
148
163
|
type: HostBinding,
|
149
164
|
args: ['class']
|
150
165
|
}] } });
|
151
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJ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cbiAgICAgIGNvbnN0IGFsbEl0ZW1zID0gWy4uLnRoaXMuc2VydmljZS5ub3RPdmVyZmxvd0VsZW1lbnRzKCksIC4uLnRoaXMuc2VydmljZS5vdmVyZmxvd0VsZW1lbnRzKCldO1xuICAgICAgYWxsSXRlbXMuZm9yRWFjaCgoaXRlbSkgPT4ge1xuICAgICAgICBpdGVtLmNsYXNzTGlzdC5yZW1vdmUoJ292ZXJmbG93TWVudU92ZXJyaWRlJyk7XG4gICAgICAgIGluamVjdENvbnRhaW5lcjIuYXBwZW5kQ2hpbGQoaXRlbSk7XG4gICAgICB9KTtcbiAgICB9XG4gIH1cblxuICAvKiogQGlnbm9yZSAqL1xuICBuZ0FmdGVyVmlld0luaXQoKSB7XG4gICAgdGhpcy5jaGlsZHJlbi5mb3JFYWNoKChjKSA9PiB7XG4gICAgICBjLmlzUm9vdCA9IHRydWU7XG4gICAgICBjLnBhcmVudCA9IHRoaXMgYXMgdW5rbm93biBhcyBBWE1lbnVJdGVtQ29tcG9uZW50O1xuICAgIH0pO1xuICB9XG5cbiAgLyoqIEBpZ25vcmUgKi9cbiAgQEhvc3RCaW5kaW5nKCdjbGFzcycpXG4gIGdldCBfX2hvc3RDbGFzcygpOiBzdHJpbmcge1xuICAgIHJldHVybiBgYXgtb3JpZW50YXRpb24tJHt0aGlzLm9yaWVudGF0aW9uKCl9YDtcbiAgfVxufVxuIl19
|
@@ -8,6 +8,7 @@ export class AXMenuService {
|
|
8
8
|
this.leftOverflow = signal(0);
|
9
9
|
this.overflowElements = signal([]);
|
10
10
|
this.notOverflowElements = signal([]);
|
11
|
+
this.isOverflowExist = signal(false);
|
11
12
|
}
|
12
13
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMenuService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
13
14
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMenuService, providedIn: 'root' }); }
|
@@ -18,4 +19,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
18
19
|
providedIn: 'root',
|
19
20
|
}]
|
20
21
|
}] });
|
21
|
-
//# sourceMappingURL=data:application/json;base64,
|
22
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVudS5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL21lbnUvc3JjL2xpYi9tZW51LnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDbkQsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLE1BQU0sQ0FBQzs7QUFNdkMsTUFBTSxPQUFPLGFBQWE7SUFIMUI7UUFJRSxpQkFBWSxHQUEyQyxJQUFJLGVBQWUsQ0FBd0IsRUFBRSxDQUFDLENBQUM7UUFFdEcsa0JBQWEsR0FBRyxNQUFNLENBQVMsQ0FBQyxDQUFDLENBQUM7UUFDbEMsaUJBQVksR0FBRyxNQUFNLENBQVMsQ0FBQyxDQUFDLENBQUM7UUFDakMscUJBQWdCLEdBQUcsTUFBTSxDQUFnQixFQUFFLENBQUMsQ0FBQztRQUM3Qyx3QkFBbUIsR0FBRyxNQUFNLENBQWdCLEVBQUUsQ0FBQyxDQUFDO1FBQ2hELG9CQUFlLEdBQUcsTUFBTSxDQUFDLEtBQUssQ0FBQyxDQUFDO0tBQ2pDOzhHQVJZLGFBQWE7a0hBQWIsYUFBYSxjQUZaLE1BQU07OzJGQUVQLGFBQWE7a0JBSHpCLFVBQVU7bUJBQUM7b0JBQ1YsVUFBVSxFQUFFLE1BQU07aUJBQ25CIiwic291cmNlc0Nvbn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