@acorex/components 18.9.8 → 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/drawer/lib/drawer/drawer-item/drawer.component.d.ts +2 -2
- package/esm2022/calendar/lib/calendar-range.component.mjs +8 -4
- package/esm2022/drawer/lib/drawer/drawer-item/drawer.component.mjs +5 -5
- package/esm2022/media-viewer/lib/media-viewer-slider/media-viewer-slider.component.mjs +4 -2
- package/esm2022/menu/lib/menu-item/menu-item.component.mjs +46 -38
- package/esm2022/menu/lib/menu.component.mjs +109 -9
- package/esm2022/menu/lib/menu.module.mjs +5 -4
- package/esm2022/menu/lib/menu.service.mjs +7 -2
- package/esm2022/qrcode/lib/qrcode.class.mjs +3 -5
- package/esm2022/qrcode/lib/qrcode.component.mjs +32 -53
- 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-drawer.mjs +4 -4
- package/fesm2022/acorex-components-drawer.mjs.map +1 -1
- package/fesm2022/acorex-components-media-viewer.mjs +3 -1
- package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-menu.mjs +161 -47
- package/fesm2022/acorex-components-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-qrcode.mjs +39 -62
- 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 +29 -28
- package/menu/lib/menu.component.d.ts +8 -1
- package/menu/lib/menu.module.d.ts +2 -1
- package/menu/lib/menu.service.d.ts +5 -0
- package/package.json +54 -54
- package/qrcode/lib/qrcode.class.d.ts +1 -1
- package/qrcode/lib/qrcode.component.d.ts +3 -2
- 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";
|
@@ -15,7 +15,7 @@ export declare class AXDrawerComponent extends MXBaseComponent implements AfterC
|
|
15
15
|
showBackdrop: import("@angular/core").InputSignal<boolean>;
|
16
16
|
mode: import("@angular/core").ModelSignal<AXDrawerMode>;
|
17
17
|
collapsed: import("@angular/core").ModelSignal<boolean>;
|
18
|
-
|
18
|
+
closeOthers: import("@angular/core").InputSignal<boolean>;
|
19
19
|
private backdropElement;
|
20
20
|
private loaded;
|
21
21
|
service: AXDrawerService;
|
@@ -61,5 +61,5 @@ export declare class AXDrawerComponent extends MXBaseComponent implements AfterC
|
|
61
61
|
*/
|
62
62
|
private _removeBackdrop;
|
63
63
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDrawerComponent, never>;
|
64
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXDrawerComponent, "ax-drawer", never, { "location": { "alias": "location"; "required": false; "isSignal": true; }; "showBackdrop": { "alias": "showBackdrop"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "collapsed": { "alias": "collapsed"; "required": false; "isSignal": true; }; "
|
64
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXDrawerComponent, "ax-drawer", never, { "location": { "alias": "location"; "required": false; "isSignal": true; }; "showBackdrop": { "alias": "showBackdrop"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "collapsed": { "alias": "collapsed"; "required": false; "isSignal": true; }; "closeOthers": { "alias": "closeOthers"; "required": false; "isSignal": true; }; }, { "location": "locationChange"; "mode": "modeChange"; "collapsed": "collapsedChange"; }, never, ["ax-header", "ax-content"], false, never>;
|
65
65
|
}
|
@@ -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: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pdiBjbGFzcz1cImF4LWNhbGVuZGFyLWhlYWRlci1yYW5nZS1idXR0b25zXCI+XG4gICAgICAgIDxidXR0b24gdHlwZT1cImJ1dHRvblwiIFthdHRyLmRpc2FibGVkXT1cImRpc2FibGVkID8gJycgOiBudWxsXCIgY2xhc3M9XCJheC1nZW5lcmFsLWJ1dHRvbiBheC1idXR0b24taWNvblwiXG4gICAgICAgICAgICAoY2xpY2spPVwiaGFuZGxlUHJldkNsaWNrKClcIj5cbiAgICAgICAgICAgIDxpIGNsYXNzPVwiYXgtaWNvblwiIFtuZ0NsYXNzXT1cIntcbiAgICAgICAgICAgICAgICAnYXgtaWNvbi1jaGV2cm9uLWxlZnQnOiAhcnRsLFxuICAgICAgICAgICAgICAgICdheC1pY29uLWNoZXZyb24tcmlnaHQnOiBydGxcbiAgICAgICAgICAgICAgfVwiPjwvaT5cbiAgICAgICAgPC9idXR0b24+XG4gICAgICAgIDxidXR0b24gdHlwZT1cImJ1dHRvblwiIFthdHRyLmRpc2FibGVkXT1cImRpc2FibGVkID8gJycgOiBudWxsXCIgY2xhc3M9XCJheC1nZW5lcmFsLWJ1dHRvbiBheC1idXR0b24taWNvblwiXG4gICAgICAgICAgICAoY2xpY2spPVwiaGFuZGxlTmV4dENsaWNrKClcIj5cbiAgICAgICAgICAgIDxpIGNsYXNzPVwiYXgtaWNvblwiIFtuZ0NsYXNzXT1cIntcbiAgICAgICAgICAgICAgICAnYXgtaWNvbi1jaGV2cm9uLWxlZnQnOiBydGwsXG4gICAgICAgICAgICAgICAgJ2F4LWljb24tY2hldnJvbi1yaWdodCc6ICFydGxcbiAgICAgICAgICAgICAgfVwiPjwvaT5cbiAgICAgICAgPC9idXR0b24+XG4gICAgPC9kaXY+XG48L2Rpdj5cbjxkaXYgY2xhc3M9XCJheC1jYWxlbmRhci1yYW5nZS1ib2R5XCI+XG4gICAgPGF4LWNhbGVuZGFyICNjMSBbc2hvd05hdmlnYXRpb25dPVwiZmFsc2VcIiBbcmVhZG9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 +19,7 @@ export class AXDrawerComponent extends MXBaseComponent {
|
|
19
19
|
this.showBackdrop = input(true);
|
20
20
|
this.mode = model('overlay');
|
21
21
|
this.collapsed = model(true);
|
22
|
-
this.
|
22
|
+
this.closeOthers = input(false);
|
23
23
|
this.backdropElement = signal(null);
|
24
24
|
this.loaded = signal(false);
|
25
25
|
this.service = inject(AXDrawerService);
|
@@ -59,7 +59,7 @@ export class AXDrawerComponent extends MXBaseComponent {
|
|
59
59
|
* Toggles the collapsed state of the drawer.
|
60
60
|
*/
|
61
61
|
toggle() {
|
62
|
-
if (!this.
|
62
|
+
if (!this.closeOthers()) {
|
63
63
|
this.service.drawerElements().forEach((element) => {
|
64
64
|
if (element.location() === this.location() && element.id !== this.id) {
|
65
65
|
element.close();
|
@@ -80,7 +80,7 @@ export class AXDrawerComponent extends MXBaseComponent {
|
|
80
80
|
* Expands the drawer.
|
81
81
|
*/
|
82
82
|
open() {
|
83
|
-
if (!this.
|
83
|
+
if (!this.closeOthers()) {
|
84
84
|
this.service.drawerElements().forEach((element) => {
|
85
85
|
if (element.location() === this.location() && element.id !== this.id) {
|
86
86
|
element.close();
|
@@ -127,7 +127,7 @@ export class AXDrawerComponent extends MXBaseComponent {
|
|
127
127
|
}
|
128
128
|
}
|
129
129
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXDrawerComponent, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
130
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.0", type: AXDrawerComponent, selector: "ax-drawer", inputs: { location: { classPropertyName: "location", publicName: "location", isSignal: true, isRequired: false, transformFunction: null }, showBackdrop: { classPropertyName: "showBackdrop", publicName: "showBackdrop", isSignal: true, isRequired: false, transformFunction: null }, mode: { classPropertyName: "mode", publicName: "mode", isSignal: true, isRequired: false, transformFunction: null }, collapsed: { classPropertyName: "collapsed", publicName: "collapsed", isSignal: true, isRequired: false, transformFunction: null },
|
130
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.0", type: AXDrawerComponent, selector: "ax-drawer", inputs: { location: { classPropertyName: "location", publicName: "location", isSignal: true, isRequired: false, transformFunction: null }, showBackdrop: { classPropertyName: "showBackdrop", publicName: "showBackdrop", isSignal: true, isRequired: false, transformFunction: null }, mode: { classPropertyName: "mode", publicName: "mode", isSignal: true, isRequired: false, transformFunction: null }, collapsed: { classPropertyName: "collapsed", publicName: "collapsed", isSignal: true, isRequired: false, transformFunction: null }, closeOthers: { classPropertyName: "closeOthers", publicName: "closeOthers", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { location: "locationChange", mode: "modeChange", collapsed: "collapsedChange" }, host: { properties: { "class": "this.__hostClass" } }, providers: [
|
131
131
|
{ provide: AXComponent, useExisting: AXDrawerComponent },
|
132
132
|
{ provide: AXClosbaleComponent, useExisting: AXDrawerComponent },
|
133
133
|
], usesInheritance: true, ngImport: i0, template: `
|
@@ -148,4 +148,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
148
148
|
type: HostBinding,
|
149
149
|
args: ['class']
|
150
150
|
}] } });
|
151
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJhd2VyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9kcmF3ZXIvc3JjL2xpYi9kcmF3ZXIvZHJhd2VyLWl0ZW0vZHJhd2VyLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsV0FBVyxFQUFFLGVBQWUsRUFBRSxNQUFNLDJCQUEyQixDQUFDO0FBQzlGLE9BQ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MuX3pvbmUucnVuKCgpID0+IHtcbiAgICAgICAgICAgIHRoaXMuY2xvc2UoKTtcbiAgICAgICAgICB9KTtcbiAgICAgICAgfTtcbiAgICAgICAgdGhpcy5nZXRIb3N0RWxlbWVudCgpPy5wYXJlbnRFbGVtZW50Py5hcHBlbmRDaGlsZChiYWNrRHJvcEVsZW0pO1xuICAgICAgICB0aGlzLmJhY2tkcm9wRWxlbWVudC5zZXQoYmFja0Ryb3BFbGVtKTtcbiAgICAgIH0pO1xuICAgIH1cbiAgfVxuXG4gIC8qKlxuICAgKiAgQGlnbm9yZVxuICAgKi9cbiAgcHJpdmF0ZSBfcmVtb3ZlQmFja2Ryb3AoKSB7XG4gICAgaWYgKGlzQnJvd3NlcigpKSB7XG4gICAgICB0aGlzLl96b25lLnJ1bk91dHNpZGVBbmd1bGFyKCgpID0+IHtcbiAgICAgICAgaWYgKHRoaXMuYmFja2Ryb3BFbGVtZW50KCkpIHtcbiAgICAgICAgICB0aGlzLmdldEhvc3RFbGVtZW50KCk/LnBhcmVudEVsZW1lbnQ/LnJlbW92ZUNoaWxkKHRoaXMuYmFja2Ryb3BFbGVtZW50KCkpO1xuICAgICAgICAgIHRoaXMuYmFja2Ryb3BFbGVtZW50LnNldChudWxsKTtcbiAgICAgICAgfVxuICAgICAgfSk7XG4gICAgfVxuICB9XG59XG4iXX0=
|
@@ -15,7 +15,9 @@ export class AXMediaViewerSliderComponent {
|
|
15
15
|
/** @ignore */
|
16
16
|
this.registryService = inject(AXMediaViewerTypeRegistryService);
|
17
17
|
effect(() => {
|
18
|
-
|
18
|
+
if (this.dataObject()) {
|
19
|
+
this.portal.set(new ComponentPortal(this.registryService.resolve(this.dataObject().type).component));
|
20
|
+
}
|
19
21
|
}, { allowSignalWrites: true });
|
20
22
|
}
|
21
23
|
/** @ignore */
|
@@ -32,4 +34,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
32
34
|
type: Component,
|
33
35
|
args: [{ selector: 'ax-media-viewer-slider', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<ng-template [cdkPortalOutlet]=\"portal()\" (attached)=\"_handleAttached($event)\"></ng-template>\n", styles: ["ax-media-viewer-slider{padding:1rem}\n"] }]
|
34
36
|
}], ctorParameters: () => [] });
|
35
|
-
//# sourceMappingURL=data:application/json;base64,
|
37
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVkaWEtdmlld2VyLXNsaWRlci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvbWVkaWEtdmlld2VyL3NyYy9saWIvbWVkaWEtdmlld2VyLXNsaWRlci9tZWRpYS12aWV3ZXItc2xpZGVyLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9tZWRpYS12aWV3ZXIvc3JjL2xpYi9tZWRpYS12aWV3ZXItc2xpZGVyL21lZGlhLXZpZXdlci1zbGlkZXIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLHVCQUF1QixDQUFDO0FBQ2xELE9BQU8sRUFBOEIsZUFBZSxFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFDbEYsT0FBTyxFQUNMLHVCQUF1QixFQUN2QixTQUFTLEVBRVQsTUFBTSxFQUNOLE1BQU0sRUFDTixLQUFLLEVBQ0wsTUFBTSxFQUNOLGlCQUFpQixHQUNsQixNQUFNLGVBQWUsQ0FBQztBQUV2QixPQUFPLEVBQUUsZ0NBQWdDLEVBQUUsTUFBTSx1Q0FBdUMsQ0FBQztBQUV6RixPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQzs7O0FB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ZWYgYXMgQ29tcG9uZW50UmVmPHVua25vd24+O1xuICAgIGlmIChyZWYuaW5zdGFuY2UgJiYgaXNCcm93c2VyKCkpIHtcbiAgICAgIE9iamVjdC5hc3NpZ24ocmVmLmluc3RhbmNlLCB7IG1lc3NhZ2U6IHRoaXMuZGF0YU9iamVjdCgpIH0pO1xuICAgIH1cbiAgfVxufVxuIiwiPG5nLXRlbXBsYXRlIFtjZGtQb3J0YWxPdXRsZXRdPVwicG9ydGFsKClcIiAoYXR0YWNoZWQpPVwiX2hhbmRsZUF0dGFjaGVkKCRldmVudClcIj48L25nLXRlbXBsYXRlPlxuIl19
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { MXInteractiveComponent } from '@acorex/components/common';
|
2
2
|
import { AXPopoverComponent } from '@acorex/components/popover';
|
3
|
-
import { Component, ContentChildren, HostBinding, HostListener, QueryList, ViewChild, afterNextRender, inject, input, output, signal, } from '@angular/core';
|
3
|
+
import { Component, ContentChildren, HostBinding, HostListener, QueryList, ViewChild, ViewEncapsulation, afterNextRender, effect, inject, input, output, signal, } from '@angular/core';
|
4
4
|
import { AXRootMenu } from '../class/root-menu.class';
|
5
5
|
import { AXMenuService } from '../menu.service';
|
6
6
|
import * as i0 from "@angular/core";
|
@@ -13,42 +13,43 @@ export class AXMenuItemComponent extends MXInteractiveComponent {
|
|
13
13
|
/** @ignore */
|
14
14
|
constructor() {
|
15
15
|
super();
|
16
|
+
this.service = inject(AXMenuService);
|
16
17
|
/**
|
17
|
-
|
18
|
-
|
18
|
+
* Injects the `AXMenuService` for managing menu interactions.
|
19
|
+
*/
|
19
20
|
this.menuService = inject(AXMenuService);
|
20
21
|
/**
|
21
|
-
|
22
|
-
|
22
|
+
* The vertical offset for positioning, initialized to 0.
|
23
|
+
*/
|
23
24
|
this.offsetY = signal(0);
|
24
25
|
/**
|
25
|
-
|
26
|
-
|
26
|
+
* The horizontal offset for positioning, initialized to 0.
|
27
|
+
*/
|
27
28
|
this.offsetX = signal(0);
|
28
29
|
/**
|
29
|
-
|
30
|
-
|
30
|
+
* The text content, initialized to an empty string.
|
31
|
+
*/
|
31
32
|
this.text = input();
|
32
33
|
/**
|
33
|
-
|
34
|
-
|
34
|
+
* Indicates whether the item is active.
|
35
|
+
*/
|
35
36
|
this.active = input();
|
36
37
|
/**
|
37
|
-
|
38
|
-
|
38
|
+
* Emitted when the active state changes.
|
39
|
+
*/
|
39
40
|
this.activeChange = output();
|
40
41
|
/**
|
41
|
-
|
42
|
-
|
42
|
+
* Emitted when the element is clicked.
|
43
|
+
*/
|
43
44
|
this.onClick = output();
|
44
45
|
/**
|
45
|
-
|
46
|
-
|
47
|
-
|
46
|
+
* Indicates whether the component is a root menu item.
|
47
|
+
* @defaultValue false
|
48
|
+
*/
|
48
49
|
this.isRoot = false;
|
49
50
|
/**
|
50
|
-
|
51
|
-
|
51
|
+
* Injects the root menu service.
|
52
|
+
*/
|
52
53
|
this.rootMenu = inject(AXRootMenu);
|
53
54
|
afterNextRender(() => {
|
54
55
|
this.children.forEach((c) => {
|
@@ -58,19 +59,26 @@ export class AXMenuItemComponent extends MXInteractiveComponent {
|
|
58
59
|
this.offsetX.set(this.isRoot ? 0 : 4);
|
59
60
|
this.getPlacement();
|
60
61
|
});
|
62
|
+
effect(() => {
|
63
|
+
if (!this.getHostElement().getClientRects()[0]?.right)
|
64
|
+
return;
|
65
|
+
//add overflow items to array
|
66
|
+
if (this.getHostElement().getClientRects()[0]?.right > this.service.rightOverflow() ||
|
67
|
+
this.getHostElement().getClientRects()[0]?.left < this.service.leftOverflow()) {
|
68
|
+
this.service.overflowElements.update((prev) => [...prev, this.getHostElement()]);
|
69
|
+
this.service.isOverflowExist.set(true);
|
70
|
+
}
|
71
|
+
else {
|
72
|
+
this.service.notOverflowElements.update((prev) => [...prev, this.getHostElement()]);
|
73
|
+
}
|
74
|
+
}, { allowSignalWrites: true });
|
61
75
|
}
|
62
76
|
/**
|
63
|
-
|
64
|
-
|
77
|
+
* Closes the popover if it is open.
|
78
|
+
*/
|
65
79
|
close() {
|
66
80
|
this.popover?.close();
|
67
81
|
}
|
68
|
-
// @HostListener('mouseleave', ['$event'])
|
69
|
-
// private onMouseHover(e: MouseEvent) {
|
70
|
-
// this.children.forEach((c) => {
|
71
|
-
// c.close();
|
72
|
-
// });
|
73
|
-
// }
|
74
82
|
/** @ignore */
|
75
83
|
_handleOnOpened() {
|
76
84
|
this.parent.children.forEach((c) => {
|
@@ -89,19 +97,19 @@ export class AXMenuItemComponent extends MXInteractiveComponent {
|
|
89
97
|
});
|
90
98
|
}
|
91
99
|
/**
|
92
|
-
|
93
|
-
|
100
|
+
* Returns the icon based on the orientation of the root menu.
|
101
|
+
*/
|
94
102
|
getIcon() {
|
95
|
-
if (this.rootMenu.orientation()
|
96
|
-
return 'ax-icon-
|
103
|
+
if (this.rootMenu.orientation() === 'vertical') {
|
104
|
+
return 'ax-icon-chevron-right';
|
97
105
|
}
|
98
106
|
else {
|
99
|
-
return 'ax-icon-
|
107
|
+
return 'ax-icon-chevron-down';
|
100
108
|
}
|
101
109
|
}
|
102
110
|
/**
|
103
|
-
|
104
|
-
|
111
|
+
* Determines the placement based on the root menu's orientation: 'bottom-start' for horizontal root, 'end-top' otherwise.
|
112
|
+
*/
|
105
113
|
getPlacement() {
|
106
114
|
switch (this.rootMenu.orientation()) {
|
107
115
|
case 'horizontal':
|
@@ -143,11 +151,11 @@ export class AXMenuItemComponent extends MXInteractiveComponent {
|
|
143
151
|
}
|
144
152
|
}
|
145
153
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMenuItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
146
|
-
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 <
|
154
|
+
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 }); }
|
147
155
|
}
|
148
156
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMenuItemComponent, decorators: [{
|
149
157
|
type: Component,
|
150
|
-
args: [{ selector: 'ax-menu-item', inputs: ['disabled'], host: { ngSkipHydration: 'true' }, template: "<div class=\"ax-menu-item-start-side\">\n <ng-content select=\"ax-prefix\"></ng-content>\n <
|
158
|
+
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"] }]
|
151
159
|
}], ctorParameters: () => [], propDecorators: { popover: [{
|
152
160
|
type: ViewChild,
|
153
161
|
args: [AXPopoverComponent]
|
@@ -161,4 +169,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
161
169
|
type: HostListener,
|
162
170
|
args: ['click', ['$event']]
|
163
171
|
}] } });
|
164
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVudS1pdGVtLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9tZW51L3NyYy9saWIvbWVudS1pdGVtL21lbnUtaXRlbS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvbWVudS9zcmMvbGliL21lbnUtaXRlbS9tZW51LWl0ZW0uY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFnQixzQkFBc0IsRUFBRSxNQUFNLDJCQUEyQixDQUFDO0FBQ2pGLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLDRCQUE0QixDQUFDO0FBQ2hFLE9BQU8sRUFDTCxTQUFTLEVBQ1QsZUFBZSxFQUNmLFdBQVcsRUFDWCxZQUFZLEVBQ1osU0FBUyxFQUNULFNBQVMsRUFDVCxlQUFlLEVBQ2YsTUFBTSxFQUNOLEtBQUssRUFDTCxNQUFNLEVBQ04sTUFBTSxHQUNQLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQztBQUN0RCxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0saUJBQWlCLENBQUM7OztBQUVoRDs7O0dBR0c7QUFPSCxNQUFNLE9BQU8sbUJ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