@acorex/components 18.10.1 → 18.10.2
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 +5 -4
- package/esm2022/menu/lib/menu.component.mjs +74 -68
- 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 +3 -3
- package/esm2022/qrcode/lib/qrcode.module.mjs +6 -6
- package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-container/wysiwyg-container.component.mjs +3 -6
- package/fesm2022/acorex-components-calendar.mjs +6 -2
- package/fesm2022/acorex-components-calendar.mjs.map +1 -1
- package/fesm2022/acorex-components-menu.mjs +77 -69
- package/fesm2022/acorex-components-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-qrcode.mjs +10 -10
- package/fesm2022/acorex-components-qrcode.mjs.map +1 -1
- package/fesm2022/acorex-components-wysiwyg.mjs +2 -5
- package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
- package/menu/lib/menu-item/menu-item.component.d.ts +1 -1
- package/menu/lib/menu.component.d.ts +2 -1
- package/menu/lib/menu.service.d.ts +1 -0
- package/package.json +76 -76
- package/qrcode/lib/qrcode.class.d.ts +1 -1
- 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', { static: true }]
|
243
247
|
}] } });
|
244
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FsZW5kYXItcmFuZ2UuY29tcG9uZW50LmpzIiwic291cmNl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V09XCJ0cnVlXCIgW2NlbGxDbGFzc109XCJnZXRDZWxsQ2xhc3NcIiBbdHlwZV09XCJ0eXBlXCJcbiAgICAgICAgW2NlbGxUZW1wbGF0ZV09XCJjZWxsVGVtcGxhdGVcIiBbbWluVmFsdWVdPVwibWluVmFsdWVcIiBbbWF4VmFsdWVdPVwibWF4VmFsdWVcIiBbZGVwdGhdPVwiZGVwdGhcIlxuICAgICAgICAob25TbG90Q2xpY2spPVwiaGFuZGxlU2xvdENsaWNrKCRldmVudClcIiAob25OYXZpZ2F0ZSk9XCJoYW5kbGVOYXZpZ2F0ZSgpXCJcbiAgICAgICAgKGFjdGl2ZVZpZXdDaGFuZ2UpPVwiaGFuZGxlQWN0aXZlVmlld0NoYW5nZTEoKVwiPlxuICAgIDwvYXgtY2FsZW5kYXI+XG4gICAgPGF4LWNhbGVuZGFyICNjMiBbc2hvd05hdmlnYXRpb25dPVwiZmFsc2VcIiBbcmVhZG9ubHldPVwidHJ1ZVwiIFtjZWxsQ2xhc3NdPVwiZ2V0Q2VsbENsYXNzXCIgW3R5cGVdPVwidHlwZVwiXG4gICAgICAgIFtjZWxsVGVtcGxhdGVdPVwiY2VsbFRlbXBsYXRlXCIgW21pblZhbHVlXT1cIm1pblZhbHVlXCIgW21heFZhbHVlXT1cIm1heFZhbHVlXCIgW2RlcHRoXT1cImRlcHRoXCJcbiAgICAgICAgKG9uU2xvdENsaWNrKT1cImhhbmRsZVNsb3RDbGljaygkZXZlbnQpXCIgKGFjdGl2ZVZpZXdDaGFuZ2UpPVwiaGFuZGxlQWN0aXZlVmlld0NoYW5nZTIoKVwiPlxuICAgIDwvYXgtY2FsZW5kYXI+XG48L2Rpdj4iXX0=
|
@@ -66,6 +66,7 @@ export class AXMenuItemComponent extends MXInteractiveComponent {
|
|
66
66
|
if (this.getHostElement().getClientRects()[0]?.right > this.service.rightOverflow() ||
|
67
67
|
this.getHostElement().getClientRects()[0]?.left < this.service.leftOverflow()) {
|
68
68
|
this.service.overflowElements.update((prev) => [...prev, this.getHostElement()]);
|
69
|
+
this.service.isOverflowExist.set(true);
|
69
70
|
}
|
70
71
|
else {
|
71
72
|
this.service.notOverflowElements.update((prev) => [...prev, this.getHostElement()]);
|
@@ -99,11 +100,11 @@ export class AXMenuItemComponent extends MXInteractiveComponent {
|
|
99
100
|
* Returns the icon based on the orientation of the root menu.
|
100
101
|
*/
|
101
102
|
getIcon() {
|
102
|
-
if (this.rootMenu.orientation()
|
103
|
-
return 'ax-icon-
|
103
|
+
if (this.rootMenu.orientation() === 'vertical') {
|
104
|
+
return 'ax-icon-chevron-right';
|
104
105
|
}
|
105
106
|
else {
|
106
|
-
return 'ax-icon-
|
107
|
+
return 'ax-icon-chevron-down';
|
107
108
|
}
|
108
109
|
}
|
109
110
|
/**
|
@@ -168,4 +169,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
168
169
|
type: HostListener,
|
169
170
|
args: ['click', ['$event']]
|
170
171
|
}] } });
|
171
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVudS1pdGVtLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9tZW51L3NyYy9saWIvbWVudS1pdGVtL21lbnUtaXRlbS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvbWVudS9zcmMvbGliL21lbnUtaXRlbS9tZW51LWl0ZW0uY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFnQixzQkFBc0IsRUFBRSxNQUFNLDJCQUEyQixDQUFDO0FBQ2pGLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLDRCQUE0QixDQUFDO0FBQ2hFLE9BQU8sRUFDTC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XRdPVwiZ2V0SG9zdEVsZW1lbnQoKVwiXG4gIFtvZmZzZXRZXT1cIm9mZnNldFkoKVwiXG4gIFtvZmZzZXRYXT1cIm9mZnNldFgoKVwiXG4gIFtwbGFjZW1lbnRdPVwiZ2V0UGxhY2VtZW50KClcIlxuICAob25PcGVuZWQpPVwiX2hhbmRsZU9uT3BlbmVkKClcIlxuICAob25DbG9zZWQpPVwiX2hhbmRsZU9uQ2xvc2VkKClcIlxuPlxuICA8ZGl2IGNsYXNzPVwiYXgtbWVudS1pdGVtLWNoaWxkcmVuIGF4LXBhcmVudC17eyB0aGlzLnJvb3RNZW51Lm9yaWVudGF0aW9uKCkgfX1cIj5cbiAgICA8bmctY29udGVudCBzZWxlY3Q9XCJheC1tZW51LWl0ZW1cIj48L25nLWNvbnRlbnQ+XG4gIDwvZGl2PlxuPC9heC1wb3BvdmVyPlxuIl19
|
@@ -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,52 @@ 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(() => {
|
22
|
+
if (!this.truncateMenu())
|
23
|
+
return;
|
21
24
|
//add menu container border for detect overflow happen
|
22
|
-
this.menuHeight.set(`${this.getHostElement()?.getClientRects()[0]?.height}px`);
|
25
|
+
this.menuHeight.set(`${this.getHostElement()?.getClientRects()[0]?.height + 10}px`);
|
23
26
|
this.service.rightOverflow.set(this.getHostElement().querySelector('.ax-menu-item-container')?.getClientRects()[0]?.right);
|
24
27
|
this.service.leftOverflow.set(this.getHostElement().querySelector('.ax-menu-item-container')?.getClientRects()[0]?.left);
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
effect(() => {
|
41
|
-
//rearrange items base on menu state
|
42
|
-
const overflowMenu = this.getHostElement().querySelector('.overflowMenu');
|
43
|
-
const originalMenu = this.getHostElement().querySelector('.originalMenu');
|
44
|
-
const injectContainer = this.getHostElement().querySelector('.ax-overflow-menu-container');
|
45
|
-
const injectContainer2 = this.getHostElement().querySelector('.ax-menu-item-container');
|
46
|
-
if (this.isMenuOpen()) {
|
47
|
-
overflowMenu?.remove();
|
48
|
-
const axMenu = document.createElement('ax-menu');
|
49
|
-
axMenu.classList.add('overflowMenu');
|
50
|
-
this.service.overflowElements().forEach((item) => {
|
51
|
-
axMenu.appendChild(item);
|
52
|
-
});
|
53
|
-
injectContainer.appendChild(axMenu);
|
54
|
-
}
|
55
|
-
else {
|
56
|
-
originalMenu?.remove();
|
57
|
-
overflowMenu?.remove();
|
58
|
-
const axMenu = document.createElement('ax-menu');
|
59
|
-
axMenu.classList.add('originalMenu');
|
60
|
-
const allItems = [...this.service.overflowElements(), ...this.service.notOverflowElements()];
|
61
|
-
allItems.forEach((item) => {
|
62
|
-
axMenu.appendChild(item);
|
63
|
-
});
|
64
|
-
injectContainer2.appendChild(axMenu);
|
65
|
-
}
|
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
|
+
});
|
66
43
|
});
|
67
44
|
}
|
68
45
|
showMenuHandler() {
|
69
46
|
this.isMenuOpen.update((prev) => !prev);
|
47
|
+
const injectContainer = this.getHostElement().querySelector('.ax-overflow-menu-container');
|
48
|
+
const injectContainer2 = this.getHostElement().querySelector('.ax-menu-item-container');
|
49
|
+
if (this.isMenuOpen()) {
|
50
|
+
this.service.overflowElements().forEach((item) => {
|
51
|
+
item.classList.add('overflowMenuOverride');
|
52
|
+
injectContainer.appendChild(item);
|
53
|
+
});
|
54
|
+
this.service.notOverflowElements().forEach((item) => {
|
55
|
+
item.classList.remove('overflowMenuOverride');
|
56
|
+
injectContainer2.appendChild(item);
|
57
|
+
});
|
58
|
+
}
|
59
|
+
else {
|
60
|
+
const allItems = [...this.service.notOverflowElements(), ...this.service.overflowElements()];
|
61
|
+
allItems.forEach((item) => {
|
62
|
+
item.classList.remove('overflowMenuOverride');
|
63
|
+
injectContainer2.appendChild(item);
|
64
|
+
});
|
65
|
+
}
|
70
66
|
}
|
71
67
|
/** @ignore */
|
72
68
|
ngAfterViewInit() {
|
@@ -77,10 +73,10 @@ export class AXMenuComponent extends MXBaseComponent {
|
|
77
73
|
}
|
78
74
|
/** @ignore */
|
79
75
|
get __hostClass() {
|
80
|
-
return `ax-orientation-${this.orientation()}
|
76
|
+
return `ax-orientation-${this.orientation()}`;
|
81
77
|
}
|
82
78
|
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: [
|
79
|
+
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
80
|
{
|
85
81
|
provide: AXRootMenu,
|
86
82
|
useExisting: AXMenuComponent,
|
@@ -91,47 +87,57 @@ export class AXMenuComponent extends MXBaseComponent {
|
|
91
87
|
], queries: [{ propertyName: "children", predicate: AXMenuItemComponent }], usesInheritance: true, ngImport: i0, template: `
|
92
88
|
<div class="ax-main-menu-container">
|
93
89
|
<div
|
94
|
-
[style]="{ width: this.service.
|
90
|
+
[style]="{ width: this.service.isOverflowExist() && this.truncateMenu() && '90%' }"
|
95
91
|
class="ax-menu-item-container"
|
96
92
|
>
|
97
93
|
<ng-content select="ax-menu-item,ng-container"></ng-content>
|
98
94
|
</div>
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
95
|
+
|
96
|
+
@if (this.service.overflowElements().length !== 0 && this.truncateMenu()) {
|
97
|
+
<button
|
98
|
+
class="ax-general-button ax-button-icon ax-show-truncate-menu"
|
99
|
+
(click)="showMenuHandler()"
|
100
|
+
tabindex="0"
|
101
|
+
type="button"
|
102
|
+
>
|
103
|
+
<ax-icon class="ax-icon ax-icon-more-horizontal ng-star-inserted ax-text-xl"></ax-icon>
|
104
|
+
</button>
|
105
105
|
}
|
106
106
|
</div>
|
107
107
|
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
108
|
+
<div
|
109
|
+
[style]="{ top: menuHeight(), display: this.isMenuOpen() ? 'block' : 'none' }"
|
110
|
+
class="ax-overflow-menu-container ax-menu-item-children"
|
111
|
+
></div>
|
112
|
+
`, 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:100%}ax-menu .ax-show-truncate-menu{position:absolute;right:0;width:10%}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:12px}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
113
|
}
|
113
114
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMenuComponent, decorators: [{
|
114
115
|
type: Component,
|
115
116
|
args: [{ selector: 'ax-menu', template: `
|
116
117
|
<div class="ax-main-menu-container">
|
117
118
|
<div
|
118
|
-
[style]="{ width: this.service.
|
119
|
+
[style]="{ width: this.service.isOverflowExist() && this.truncateMenu() && '90%' }"
|
119
120
|
class="ax-menu-item-container"
|
120
121
|
>
|
121
122
|
<ng-content select="ax-menu-item,ng-container"></ng-content>
|
122
123
|
</div>
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
124
|
+
|
125
|
+
@if (this.service.overflowElements().length !== 0 && this.truncateMenu()) {
|
126
|
+
<button
|
127
|
+
class="ax-general-button ax-button-icon ax-show-truncate-menu"
|
128
|
+
(click)="showMenuHandler()"
|
129
|
+
tabindex="0"
|
130
|
+
type="button"
|
131
|
+
>
|
132
|
+
<ax-icon class="ax-icon ax-icon-more-horizontal ng-star-inserted ax-text-xl"></ax-icon>
|
133
|
+
</button>
|
129
134
|
}
|
130
135
|
</div>
|
131
136
|
|
132
|
-
|
133
|
-
|
134
|
-
|
137
|
+
<div
|
138
|
+
[style]="{ top: menuHeight(), display: this.isMenuOpen() ? 'block' : 'none' }"
|
139
|
+
class="ax-overflow-menu-container ax-menu-item-children"
|
140
|
+
></div>
|
135
141
|
`, encapsulation: ViewEncapsulation.None, providers: [
|
136
142
|
{
|
137
143
|
provide: AXRootMenu,
|
@@ -140,7 +146,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
140
146
|
{
|
141
147
|
provide: AXMenuService,
|
142
148
|
},
|
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
|
149
|
+
], 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:100%}ax-menu .ax-show-truncate-menu{position:absolute;right:0;width:10%}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:12px}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
150
|
}], ctorParameters: () => [], propDecorators: { children: [{
|
145
151
|
type: ContentChildren,
|
146
152
|
args: [AXMenuItemComponent]
|
@@ -148,4 +154,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
148
154
|
type: HostBinding,
|
149
155
|
args: ['class']
|
150
156
|
}] } });
|
151
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVudS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmN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ZW50cygpLCAuLi50aGlzLnNlcnZpY2Uub3ZlcmZsb3dFbGVtZW50cygpXTtcbiAgICAgIGFsbEl0ZW1zLmZvckVhY2goKGl0ZW0pID0+IHtcbiAgICAgICAgaXRlbS5jbGFzc0xpc3QucmVtb3ZlKCdvdmVyZmxvd01lbnVPdmVycmlkZScpO1xuICAgICAgICBpbmplY3RDb250YWluZXIyLmFwcGVuZENoaWxkKGl0ZW0pO1xuICAgICAgfSk7XG4gICAgfVxuICB9XG5cbiAgLyoqIEBpZ25vcmUgKi9cbiAgbmdBZnRlclZpZXdJbml0KCkge1xuICAgIHRoaXMuY2hpbGRyZW4uZm9yRWFjaCgoYykgPT4ge1xuICAgICAgYy5pc1Jvb3QgPSB0cnVlO1xuICAgICAgYy5wYXJlbnQgPSB0aGlzIGFzIHVua25vd24gYXMgQVhNZW51SXRlbUNvbXBvbmVudDtcbiAgICB9KTtcbiAgfVxuXG4gIC8qKiBAaWdub3JlICovXG4gIEBIb3N0QmluZGluZygnY2xhc3MnKVxuICBnZXQgX19ob3N0Q2xhc3MoKTogc3RyaW5nIHtcbiAgICByZXR1cm4gYGF4LW9yaWVudGF0aW9uLSR7dGhpcy5vcmllbnRhdGlvbigpfWA7XG4gIH1cbn1cbiJdfQ==
|
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVudS5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL21lbnUvc3JjL2xpYi9tZW51LnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDbkQsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLE1BQU0sQ0FBQzs7QUFNdkMsTUFBTSxPQUFPLGFBQWE7SUFIMUI7UUFJRSxpQkFBWSxHQUEyQyxJQUFJLGVBQWUsQ0FBd0IsRUFBRSxDQUFDLENBQUM7UUFFdEcsa0JBQWEsR0FBRyxNQUFNLENBQVMsQ0FBQyxDQUFDLENBQUM7UUFDbEMsaUJBQVksR0FBRyxNQUFNLENBQVMsQ0FBQyxDQUFDLENBQUM7UUFDakMscUJBQWdCLEdBQUcsTUFBTSxDQUFnQixFQUFFLENBQUMsQ0FBQztRQUM3Qyx3QkFBbUIsR0FBRyxNQUFNLENBQWdCLEVBQUUsQ0FBQyxDQUFDO1FBQ2hELG9CQUFlLEdBQUcsTUFBTSxDQUFDLEtBQUssQ0FBQyxDQUFDO0tBQ2pDOzhHQVJZLGFBQWE7a0hBQWIsYUFBYSxjQUZaLE1BQU07OzJGQUVQLGFBQWE7a0JBSHpCLFVBQVU7bUJBQUM7b0JBQ1YsVUFBVSxFQUFFLE1BQU07aUJBQ25CIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSW5qZWN0YWJsZSwgc2lnbmFsIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBCZWhhdmlvclN1YmplY3QgfSBmcm9tICdyeGpzJztcbmltcG9ydCB7IEFYTWVudUl0ZW1Db21wb25lbnQgfSBmcm9tICcuL21lbnUtaXRlbS9tZW51LWl0ZW0uY29tcG9uZW50JztcblxuQEluamVjdGFibGUoe1xuICBwcm92aWRlZEluOiAncm9vdCcsXG59KVxuZXhwb3J0IGNsYXNzIEFYTWVudVNlcnZpY2Uge1xuICBhY3RpdmVNZW51cyQ6IEJlaGF2aW9yU3ViamVjdDxBWE1lbnVJdGVtQ29tcG9uZW50W10+ID0gbmV3IEJlaGF2aW9yU3ViamVjdDxBWE1lbnVJdGVtQ29tcG9uZW50W10+KFtdKTtcblxuICByaWdodE92ZXJmbG93ID0gc2lnbmFsPG51bWJlcj4oMCk7XG4gIGxlZnRPdmVyZmxvdyA9IHNpZ25hbDxudW1iZXI+KDApO1xuICBvdmVyZmxvd0VsZW1lbnRzID0gc2lnbmFsPEhUTUxFbGVtZW50W10+KFtdKTtcbiAgbm90T3ZlcmZsb3dFbGVtZW50cyA9IHNpZ25hbDxIVE1MRWxlbWVudFtdPihbXSk7XG4gIGlzT3ZlcmZsb3dFeGlzdCA9IHNpZ25hbChmYWxzZSk7XG59XG4iXX0=
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export function debounce(func,
|
1
|
+
export function debounce(func, delayMS) {
|
2
2
|
let timeoutId;
|
3
3
|
return function (...args) {
|
4
4
|
if (timeoutId) {
|
@@ -6,7 +6,7 @@ export function debounce(func, delay) {
|
|
6
6
|
}
|
7
7
|
timeoutId = setTimeout(() => {
|
8
8
|
func(...args);
|
9
|
-
},
|
9
|
+
}, delayMS);
|
10
10
|
};
|
11
11
|
}
|
12
|
-
//# sourceMappingURL=data:application/json;base64,
|
12
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXJjb2RlLmNsYXNzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXM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