@acorex/components 18.11.0 → 18.11.1
Sign up to get free protection for your applications and to get access to all the features.
- package/action-sheet/lib/action-sheet.class.d.ts +8 -0
- package/common/index.d.ts +1 -0
- package/common/lib/types/base/component.types.d.ts +8 -0
- package/common/lib/types/base/events.types.d.ts +21 -0
- package/common/lib/types/base/index.d.ts +2 -0
- package/esm2022/action-sheet/lib/action-sheet.class.mjs +1 -1
- package/esm2022/action-sheet/lib/action-sheet.component.mjs +3 -3
- package/esm2022/common/index.mjs +2 -1
- package/esm2022/common/lib/components/base-component.class.mjs +1 -1
- package/esm2022/common/lib/types/base/component.types.mjs +27 -0
- package/esm2022/common/lib/types/base/events.types.mjs +19 -0
- package/esm2022/common/lib/types/base/index.mjs +3 -0
- package/esm2022/menu/lib/context-menu.component.mjs +101 -50
- package/esm2022/menu/lib/menu-item.component.mjs +23 -24
- package/esm2022/menu/lib/menu.component.mjs +6 -6
- package/esm2022/menu/lib/menu.types.mjs +3 -11
- package/fesm2022/acorex-components-action-sheet.mjs +2 -2
- package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
- package/fesm2022/acorex-components-common.mjs +47 -3
- package/fesm2022/acorex-components-common.mjs.map +1 -1
- package/fesm2022/acorex-components-menu.mjs +128 -86
- package/fesm2022/acorex-components-menu.mjs.map +1 -1
- package/menu/lib/context-menu.component.d.ts +27 -16
- package/menu/lib/menu-item.component.d.ts +6 -6
- package/menu/lib/menu.component.d.ts +5 -4
- package/menu/lib/menu.types.d.ts +9 -14
- package/package.json +29 -29
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"acorex-components-menu.mjs","sources":["../../../../libs/components/menu/src/lib/menu.types.ts","../../../../libs/components/menu/src/lib/menu.service.ts","../../../../libs/components/menu/src/lib/menu-item.component.ts","../../../../libs/components/menu/src/lib/menu-item.component.html","../../../../libs/components/menu/src/lib/context-menu.component.ts","../../../../libs/components/menu/src/lib/menu.component.html","../../../../libs/components/menu/src/lib/menu.component.ts","../../../../libs/components/menu/src/lib/menu.module.ts","../../../../libs/components/menu/src/acorex-components-menu.ts"],"sourcesContent":["import { AXClickEvent, AXEvent, AXOrientation, AXStyleColorType, MXBaseComponent } from '@acorex/components/common';\nimport { OutputEmitterRef, WritableSignal } from '@angular/core';\n\nexport type AXMenuOpenTrigger = 'click' | 'hover';\nexport type AXMenuCloseTrigger = 'click' | 'leave';\n\n\nexport abstract class AXRootMenu {\n orientation: WritableSignal<AXOrientation>;\n openOn: WritableSignal<AXMenuOpenTrigger>;\n closeOn: WritableSignal<AXMenuCloseTrigger>;\n onItemClick: OutputEmitterRef<AXMenuItemClickEvent>;\n abstract getHostElement(): HTMLDivElement;\n}\n\nexport abstract class AXMenuItemComponentBase {\n}\n\n\nexport abstract class AXMenuItem {\n color?: AXStyleColorType\n name?: string;\n text: string;\n data?: any\n icon?: string;\n disabled?: boolean;\n items?: AXMenuItem[];\n suffix?: {\n text: string\n };\n break?: boolean\n group?: {\n name?: string\n title?: string\n }\n}\n\nexport abstract class AXMenuItemClickEventItemData {\n name?: string;\n text: string;\n data?: any\n}\n\nexport class AXMenuItemClickEvent extends AXClickEvent {\n item: AXMenuItemClickEventItemData;\n canceled = false;\n}\n\nexport class AXContextMenuOpeningEvent extends AXEvent {\n items: AXMenuItem[];\n canceled = false;\n}","import { Injectable } from '@angular/core';\nimport { Subject } from 'rxjs';\nimport { AXMenuItemComponentBase, AXRootMenu } from './menu.types';\nimport { AXPoint } from '@acorex/core/utils';\n\n@Injectable()\nexport class AXMenuService {\n public closeAll$: Subject<void> = new Subject();\n public open$: Subject<AXMenuItemComponentBase> = new Subject();\n public close$: Subject<AXMenuItemComponentBase> = new Subject();\n public closeExcept$ = new Subject<AXMenuItemComponentBase>();\n\n public openContextMenu$ = new Subject<{ sender: AXRootMenu, point: AXPoint }>();\n public closeAllContextMenu$ = new Subject<{ sender: AXRootMenu }>();\n}\n","import { AXStyleColorType, MXBaseComponent } from '@acorex/components/common';\nimport {\n afterNextRender,\n ChangeDetectionStrategy,\n Component,\n computed,\n HostBinding,\n HostListener,\n inject,\n input,\n output,\n Renderer2,\n signal,\n ViewEncapsulation,\n} from '@angular/core';\nimport { AXMenuService } from './menu.service';\nimport { AXMenuItemClickEvent, AXMenuItemComponentBase, AXRootMenu } from './menu.types';\nimport { AXHtmlUtil, AXUnsubscriber } from '@acorex/core/utils';\n\n/**\n * Represents a menu item component used within an `ax-menu`.\n * @category Components\n */\n@Component({\n selector: 'ax-menu-item',\n templateUrl: './menu-item.component.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: AXMenuItemComponentBase,\n useExisting: AXMenuItemComponent\n },\n AXUnsubscriber\n ],\n})\nexport class AXMenuItemComponent extends MXBaseComponent {\n\n protected isOpen = signal(false);\n protected hasSubItems = signal(false);\n protected isFirstLevel = signal(false);\n private mutationObserver!: MutationObserver;\n\n protected root = inject(AXRootMenu);\n protected parent?: AXMenuItemComponent | null;\n\n private service = inject(AXMenuService);\n private scrollableParents: HTMLElement[] = [];\n\n private unsuscriber = inject(AXUnsubscriber);\n\n\n protected arrowIcon = computed(() => {\n const isRtl = AXHtmlUtil.isRtl(this.getHostElement());\n return this.root.orientation() == 'horizontal' && this.isFirstLevel() ?\n \"ax-icon-chevron-down\" :\n isRtl ? \"ax-icon-chevron-left\" : \"ax-icon-chevron-right\";\n })\n\n\n onClick = output<AXMenuItemClickEvent>();\n\n name = input<string>();\n data = input<any>();\n disabled = input<boolean>();\n color = input<AXStyleColorType>();\n\n\n\n constructor(private renderer: Renderer2) {\n super();\n //\n afterNextRender(() => {\n this.detectSubItems();\n this.observeMutations();\n this.bindScrollEvents();\n });\n //\n this.service.closeAll$\n .pipe(this.unsuscriber.takeUntilDestroy)\n .subscribe(() => this.close());\n\n this.service.open$\n .pipe(this.unsuscriber.takeUntilDestroy)\n .subscribe((item) => {\n if ((this as any) === item) {\n this.isOpen.set(true);\n this.calculatePosition();\n }\n });\n //\n this.service.close$\n .pipe(this.unsuscriber.takeUntilDestroy)\n .subscribe(item => {\n if ((this as any) == item) {\n this.isOpen.set(false);\n }\n });\n //\n this.service.closeExcept$\n .pipe(this.unsuscriber.takeUntilDestroy)\n .subscribe((item) => {\n this.closeExcept(item as AXMenuItemComponent);\n });\n }\n\n\n private closeExcept(item: AXMenuItemComponent) {\n const list: AXMenuItemComponent[] = [item]\n //\n let parent = item.parent;\n while (parent != null) {\n list.push(parent);\n parent = parent.parent;\n }\n //\n if (!list.includes(this)) {\n this.close();\n }\n }\n\n\n private observeMutations() {\n this.mutationObserver = new MutationObserver(() => {\n this.detectSubItems();\n });\n\n // Start observing changes in child elements\n this.mutationObserver.observe(this.getHostElement(), {\n childList: true,\n subtree: true,\n });\n }\n\n\n private getText(): string {\n return this.getHostElement().querySelector<HTMLDivElement>('ax-text')?.innerText;\n }\n\n\n /**\n * Manually detect all `ax-menu-item` elements and check if this menu item has sub-items.\n */\n private detectSubItems() {\n //\n const parentEl = this.getHostElement().parentElement?.parentElement;\n this.parent = parentEl?.tagName == \"AX-MENU-ITEM\" ? parentEl?.[\"__axContext__\"] as AXMenuItemComponent : null;\n //\n const tag = this.getHostElement().parentElement?.tagName;\n this.isFirstLevel.set(tag == \"AX-MENU\" || tag == \"AX-CONTEXT-MENU\");\n const subItems = this.getHostElement().querySelectorAll('ax-menu-item');\n if (subItems.length > 0) {\n this.hasSubItems.set(true);\n } else {\n this.hasSubItems.set(false);\n }\n }\n\n\n open() {\n this.service.closeExcept$.next(this);\n if (!this.disabled() && this.hasSubItems()) {\n this.service.open$.next(this);\n }\n }\n\n close() {\n this.service.close$.next(this);\n }\n\n\n /**\n * Calculate the position of the submenu to avoid it going out of the viewport.\n */\n private calculatePosition() {\n const submenu = this.getHostElement().querySelector('.ax-menu-items');\n if (!submenu) return;\n\n const submenuRect = submenu.getBoundingClientRect();\n const itemRect = this.getHostElement().getBoundingClientRect();\n const windowWidth = window.innerWidth;\n const windowHeight = window.innerHeight;\n\n const isRtl = AXHtmlUtil.isRtl(this.getHostElement());\n\n let top: number | null = null;\n let left: number | null = null;\n\n // For first-level menu items\n if (this.isFirstLevel() && this.root.orientation() === 'horizontal') {\n top = itemRect.bottom + submenuRect.height > windowHeight\n ? itemRect.top - submenuRect.height // Open upwards\n : itemRect.bottom; // Open downwards\n\n if (isRtl) {\n // RTL: Align to the right of the parent item\n left = itemRect.right - submenuRect.width < 0\n ? itemRect.left // Align to the left if not enough space on the right\n : itemRect.right - submenuRect.width; // Open to the left in RTL\n } else {\n // LTR: Align to the left of the parent item\n left = itemRect.left + submenuRect.width > windowWidth\n ? itemRect.right - submenuRect.width // Align to the right edge in LTR\n : itemRect.left; // Open to the left\n }\n } else {\n // For nested submenus\n if (isRtl) {\n // RTL: Nested submenu opens to the left\n left = itemRect.left - submenuRect.width < 0\n ? itemRect.right // Align to the right if not enough space on the left\n : itemRect.left - submenuRect.width; // Open to the left in RTL\n } else {\n // LTR: Nested submenu opens to the right\n left = itemRect.right + submenuRect.width > windowWidth\n ? itemRect.left - submenuRect.width // Open to the left if not enough space\n : itemRect.right; // Open to the right in LTR\n }\n\n // Adjust top position (align vertically with parent)\n top = itemRect.top + submenuRect.height > windowHeight\n ? itemRect.top - (itemRect.bottom + submenuRect.height - windowHeight) // Adjust upwards\n : itemRect.top; // Align with the parent item\n }\n\n // Apply calculated styles for RTL/LTR\n this.renderer.setStyle(submenu, 'left', `${left}px`);\n this.renderer.setStyle(submenu, 'top', `${top}px`);\n this.renderer.setStyle(submenu, 'position', 'fixed'); // Fixed position relative to the viewport\n }\n\n\n\n @HostListener(\"click\", ['$event'])\n private handleClick(e: MouseEvent) {\n e.stopPropagation();\n if (this.disabled()) return;\n //\n const event = {\n component: this,\n htmlElement: this.getHostElement(),\n nativeEvent: e,\n canceled: false,\n item: {\n name: this.name(),\n text: this.getText(),\n data: this.data()\n }\n } as AXMenuItemClickEvent;\n //\n this.onClick.emit(event);\n this.root.onItemClick.emit(event);\n //\n if (this.hasSubItems() && !event.canceled) {\n this.open();\n }\n else if (!event.canceled) {\n this.service.closeAll$.next();\n this.service.closeAllContextMenu$.next({ sender: this.root });\n }\n }\n\n @HostListener(\"mouseenter\", ['$event'])\n private handleMouseEnter(event: MouseEvent) {\n event.stopPropagation();\n // Cancel the close delay if the mouse re-enters the element\n if (this.mouseLeaveTimeout) {\n clearTimeout(this.mouseLeaveTimeout);\n this.mouseLeaveTimeout = null; // Reset the timeout\n }\n if (!this.isFirstLevel() || this.root.openOn() == 'hover') {\n this.open();\n }\n }\n\n private mouseLeaveTimeout: any;\n\n @HostListener(\"mouseleave\", ['$event'])\n private handleMouseLeave(event: MouseEvent) {\n event.stopPropagation();\n\n if (this.hasSubItems() && this.root.closeOn() === 'leave') {\n // Clear any previous timeout to avoid multiple triggers\n if (this.mouseLeaveTimeout) {\n clearTimeout(this.mouseLeaveTimeout);\n }\n\n // Set a delay before closing the submenu\n this.mouseLeaveTimeout = setTimeout(() => {\n this.close();\n }, 500); // Adjust the delay (500ms in this case) as per your requirement\n }\n }\n\n @HostListener('window:scroll', ['$event'])\n @HostListener('window:resize', ['$event'])\n private onWindowEvent() {\n this.service.closeAll$.next(); // Close all menus on scroll or resize\n }\n\n /**\n * Close all menus if clicking outside the root menu and all sub-items.\n */\n @HostListener('document:click', ['$event'])\n private onClickOutside(event: MouseEvent) {\n const hostElement = this.root.getHostElement();\n if (!hostElement.contains(event.target as Node)) {\n this.service.closeAll$.next() // Close all menus if click is outside the root and sub-items\n }\n }\n\n\n ngOnDestroy() {\n this.removeScrollEvents();\n }\n\n private bindScrollEvents() {\n this.scrollableParents = AXHtmlUtil.getScrollableParents(this.getHostElement());\n\n this.scrollableParents.forEach((parent) => {\n parent.addEventListener('scroll', this.onContainerScroll.bind(this));\n });\n }\n\n // Remove scroll event listeners \n private removeScrollEvents() {\n this.scrollableParents.forEach((parent) => {\n parent.removeEventListener('scroll', this.onContainerScroll.bind(this));\n });\n }\n\n /**\n * Handler for scroll events (window or scrollable parent containers)\n */\n private onContainerScroll() {\n this.service.closeAll$.next(); // Close all menus on scroll\n }\n\n\n\n /** @ignore */\n @HostBinding('class')\n get __hostClass(): string[] {\n const list: string[] = ['ax-el-interactive'];\n if (this.disabled()) {\n list.push('ax-state-disabled');\n }\n if (this.color()) {\n list.push(`ax-el-${this.color()}-blank`);\n }\n return list\n }\n\n}\n","<div class=\"ax-menu-item-prefix\">\n <ng-content select=\"ax-prefix\"></ng-content>\n <ng-content select=\"ax-text\"></ng-content>\n</div>\n<ng-content select=\"ax-suffix\"></ng-content>\n@if (hasSubItems()) {\n<i class=\"ax-icon ax-icon-solid {{ arrowIcon() }} ax-menu-item-child-icon\"></i>\n}\n<div class=\"ax-menu-items\" [class.ax-state-open]=\"isOpen()\">\n <ng-content select=\"ax-menu-item,ax-title,ng-container\"></ng-content>\n</div>","import { AXOrientation, MXBaseComponent } from '@acorex/components/common';\nimport {\n afterNextRender,\n ChangeDetectionStrategy,\n Component,\n HostBinding,\n HostListener,\n inject,\n input,\n output,\n Renderer2,\n signal,\n ViewEncapsulation,\n} from '@angular/core';\nimport { AXContextMenuOpeningEvent, AXMenuCloseTrigger, AXMenuItem, AXMenuItemClickEvent, AXMenuOpenTrigger, AXRootMenu } from './menu.types';\nimport { AXMenuService } from './menu.service';\nimport { AXHtmlUtil, AXPoint } from '@acorex/core/utils';\nimport { cloneDeep } from 'lodash-es';\n\n/**\n * Represents a menu component that displays context menu.\n * @category Components\n */\n@Component({\n selector: 'ax-context-menu',\n templateUrl: './menu.component.html',\n styleUrls: ['./menu.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [\n AXMenuService,\n {\n provide: AXRootMenu,\n useExisting: AXContextMenuComponent\n }\n ]\n})\nexport class AXContextMenuComponent extends MXBaseComponent {\n\n // Inputs and Outputs\n\n orientation = input<AXOrientation>('vertical');\n openOn = input<AXMenuOpenTrigger>('hover');\n closeOn = input<AXMenuCloseTrigger>('click');\n orginalItems = input<AXMenuItem[]>([], { alias: \"items\" });\n target = input<HTMLElement>();\n\n onItemClick = output<AXMenuItemClickEvent>();\n onOpening = output<AXContextMenuOpeningEvent>();\n\n // Injected Services\n\n service = inject(AXMenuService);\n\n // Constructor (Dependency Injection)\n\n /** @ignore */\n constructor(private renderer: Renderer2) {\n super();\n afterNextRender(() => {\n if (this.target()) {\n this.target().addEventListener('contextmenu', this.handleContextMenu.bind(this));\n }\n this.bindScrollEvents();\n });\n\n this.service.closeAllContextMenu$.subscribe(() => {\n this.service.closeAll$.next();\n this.close();\n });\n\n this.service.openContextMenu$.subscribe((e) => {\n if (e.sender as any == this) {\n this.internalShowAt(e.point);\n }\n });\n }\n\n // Lifecycle Hooks\n\n ngOnDestroy() {\n this.removeScrollEvents();\n }\n\n // Public Methods\n\n public showAt(point: AXPoint) {\n const sender = this as any as AXRootMenu;\n this.service.closeAllContextMenu$.next({ sender });\n this.service.openContextMenu$.next({ sender, point });\n }\n\n public close() {\n const elementRef = this.getHostElement();\n elementRef.classList.remove('ax-state-open');\n }\n\n // Private Properties\n\n private scrollableParents: HTMLElement[] = [];\n\n protected items = signal<AXMenuItem[]>([]);\n\n // Private Methods (Internal Logic)\n\n /** @ignore */\n private handleContextMenu(e: MouseEvent) {\n e.preventDefault();\n e.stopPropagation();\n //\n const event = {\n component: this,\n htmlElement: this.getHostElement(),\n nativeEvent: e,\n canceled: false,\n items: cloneDeep(this.orginalItems()),\n } as AXContextMenuOpeningEvent;\n this.onOpening.emit(event);\n this.items.set(event.items);\n //\n if (!event.canceled) {\n this.showAt({ x: e.clientX, y: e.clientY });\n }\n }\n\n private internalShowAt(point: AXPoint) {\n const elementRef = this.getHostElement();\n elementRef.classList.add('ax-state-open');\n const itemRect = elementRef.getBoundingClientRect();\n const windowWidth = window.innerWidth;\n const windowHeight = window.innerHeight;\n\n // Detect RTL (Right-To-Left) mode\n const isRtl = AXHtmlUtil.isRtl(this.getHostElement());\n\n let left: number;\n if (isRtl) {\n left = point.x - itemRect.width;\n if (left < 0) {\n left = point.x;\n }\n } else {\n left = point.x;\n if (left + itemRect.width > windowWidth) {\n left = point.x - itemRect.width;\n }\n }\n\n const bottom = point.y + itemRect.height;\n let top: number;\n\n if (bottom > windowHeight) {\n top = point.y - itemRect.height;\n if (top < 0) {\n top = 0;\n }\n } else {\n top = point.y;\n }\n\n this.renderer.setStyle(elementRef, 'left', `${left}px`);\n this.renderer.setStyle(elementRef, 'top', `${top}px`);\n this.renderer.setStyle(elementRef, 'position', 'fixed');\n }\n\n private bindScrollEvents() {\n this.scrollableParents = AXHtmlUtil.getScrollableParents(this.getHostElement());\n this.scrollableParents.forEach((parent) => {\n parent.addEventListener('scroll', this.onContainerScroll.bind(this));\n });\n }\n\n private removeScrollEvents() {\n this.scrollableParents.forEach((parent) => {\n parent.removeEventListener('scroll', this.onContainerScroll.bind(this));\n });\n }\n\n private onContainerScroll() {\n this.service.closeAllContextMenu$.next({ sender: this as any as AXRootMenu });\n }\n\n // Host Listeners (UI Interaction Handling)\n\n /** @ignore */\n @HostListener('document:click', ['$event'])\n private onClickOutside(event: MouseEvent) {\n const hostElement = this.getHostElement();\n if (!hostElement.contains(event.target as Node)) {\n const sender = this as any as AXRootMenu;\n this.service.closeAllContextMenu$.next({ sender });\n }\n }\n\n @HostListener('document:contextmenu', ['$event'])\n private onContextMenuOutside(event: MouseEvent) {\n if (!this.target().contains(event.target as Node)) {\n const sender = this as any as AXRootMenu;\n this.service.closeAllContextMenu$.next({ sender });\n }\n }\n\n /** @ignore */\n @HostBinding('class')\n get __hostClass(): any {\n return ['ax-menu-container', `ax-orientation-${this.orientation()}`];\n }\n}\n","<ng-content select=\"ax-menu-item,ax-title,ng-container\"></ng-content>\n\n<ng-container *ngFor=\"let node of items()\" [ngTemplateOutlet]=\"Recursion\"\n [ngTemplateOutletContext]=\"{ $implicit: node }\">\n</ng-container>\n<ng-template #Recursion let-item>\n @if(item.group?.title)\n {\n <ax-title>{{item.group?.title}}</ax-title>\n }\n <ax-menu-item [name]=\"item.name\" [data]=\"item.data\" [disabled]=\"item.disabled\" [color]=\"item.color\">\n <ax-prefix>\n @if(item.icon)\n {\n <ax-icon [icon]=\"item.icon\">\n </ax-icon>\n }\n </ax-prefix>\n @if(item.text)\n {\n <ax-text>{{ item.text }}</ax-text>\n }\n @if(item.suffix)\n {\n <ax-suffix>\n <ax-text>{{ item.suffix.text }}</ax-text>\n </ax-suffix>\n }\n <ng-container *ngFor=\"let child of item.children\" [ngTemplateOutlet]=\"Recursion\"\n [ngTemplateOutletContext]=\"{ $implicit: child }\"></ng-container>\n </ax-menu-item>\n @if(item.break)\n {\n <ax-divider></ax-divider>\n }\n</ng-template>","import { AXOrientation, MXBaseComponent } from '@acorex/components/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n HostBinding,\n inject,\n input,\n output,\n ViewEncapsulation,\n} from '@angular/core';\nimport { AXMenuService } from './menu.service';\nimport { AXMenuCloseTrigger, AXMenuItem, AXMenuItemClickEvent, AXMenuOpenTrigger, AXRootMenu } from './menu.types';\n\n/**\n * Represents a menu component that displays menu items.\n * @category Components\n */\n@Component({\n selector: 'ax-menu',\n templateUrl: './menu.component.html',\n styleUrls: ['./menu.component.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n AXMenuService,\n {\n provide: AXRootMenu,\n useExisting: AXMenuComponent\n }\n ]\n})\nexport class AXMenuComponent extends MXBaseComponent {\n orientation = input<AXOrientation>('horizontal');\n\n openOn = input<AXMenuOpenTrigger>('hover');\n\n closeOn = input<AXMenuCloseTrigger>('leave');\n\n service = inject(AXMenuService);\n\n onItemClick = output<AXMenuItemClickEvent>();\n\n items = input<AXMenuItem[]>([]);\n\n /** @ignore */\n @HostBinding('class')\n get __hostClass(): string {\n return `ax-orientation-${this.orientation()}`;\n }\n\n\n public close() {\n this.service.closeAll$.next();\n }\n}\n","import { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXLoadingModule } from '@acorex/components/loading';\nimport { AXPopoverModule } from '@acorex/components/popover';\nimport { AXTranslationModule } from '@acorex/core/translation';\nimport { OverlayModule } from '@angular/cdk/overlay';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { AXMenuComponent } from './menu.component';\nimport { AXContextMenuComponent } from './context-menu.component';\nimport { AXMenuItemComponent } from './menu-item.component';\n\nconst COMPONENT = [AXMenuItemComponent, AXMenuComponent, AXContextMenuComponent];\nconst MODULES = [AXDecoratorModule, AXLoadingModule, AXTranslationModule, OverlayModule, AXPopoverModule];\n\n@NgModule({\n declarations: [...COMPONENT],\n imports: [CommonModule, ...MODULES],\n exports: [...COMPONENT],\n providers: [],\n})\nexport class AXMenuModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i3.AXMenuItemComponent"],"mappings":";;;;;;;;;;;;;;;MAOsB,UAAU,CAAA;AAM/B,CAAA;MAEqB,uBAAuB,CAAA;AAC5C,CAAA;MAGqB,UAAU,CAAA;AAgB/B,CAAA;MAEqB,4BAA4B,CAAA;AAIjD,CAAA;AAEK,MAAO,oBAAqB,SAAQ,YAAY,CAAA;AAAtD,IAAA,WAAA,GAAA;;QAEE,IAAQ,CAAA,QAAA,GAAG,KAAK,CAAC;KAClB;AAAA,CAAA;AAEK,MAAO,yBAA0B,SAAQ,OAAO,CAAA;AAAtD,IAAA,WAAA,GAAA;;QAEE,IAAQ,CAAA,QAAA,GAAG,KAAK,CAAC;KAClB;AAAA;;MC7CY,aAAa,CAAA;AAD1B,IAAA,WAAA,GAAA;AAES,QAAA,IAAA,CAAA,SAAS,GAAkB,IAAI,OAAO,EAAE,CAAC;AACzC,QAAA,IAAA,CAAA,KAAK,GAAqC,IAAI,OAAO,EAAE,CAAC;AACxD,QAAA,IAAA,CAAA,MAAM,GAAqC,IAAI,OAAO,EAAE,CAAC;AACzD,QAAA,IAAA,CAAA,YAAY,GAAG,IAAI,OAAO,EAA2B,CAAC;AAEtD,QAAA,IAAA,CAAA,gBAAgB,GAAG,IAAI,OAAO,E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,EAJP,iBAAiB,EAAE,eAAe,EAAE,mBAAmB,EAAE,aAAa,EAAE,eAAe,aADrF,mBAAmB,EAAE,eAAe,EAAE,sBAAsB,CAAA,EAAA,CAAA,CAAA,EAAA;+GASlE,YAAY,EAAA,OAAA,EAAA,CAJb,YAAY,EAAK,OAAO,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAIvB,YAAY,EAAA,UAAA,EAAA,CAAA;kBANxB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE,CAAC,GAAG,SAAS,CAAC;AAC5B,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,GAAG,OAAO,CAAC;AACnC,oBAAA,OAAO,EAAE,CAAC,GAAG,SAAS,CAAC;AACvB,oBAAA,SAAS,EAAE,EAAE;AACd,iBAAA,CAAA;;;ACpBD;;AAEG;;;;"}
|
1
|
+
{"version":3,"file":"acorex-components-menu.mjs","sources":["../../../../libs/components/menu/src/lib/menu.types.ts","../../../../libs/components/menu/src/lib/menu.service.ts","../../../../libs/components/menu/src/lib/menu-item.component.ts","../../../../libs/components/menu/src/lib/menu-item.component.html","../../../../libs/components/menu/src/lib/context-menu.component.ts","../../../../libs/components/menu/src/lib/menu.component.html","../../../../libs/components/menu/src/lib/menu.component.ts","../../../../libs/components/menu/src/lib/menu.module.ts","../../../../libs/components/menu/src/acorex-components-menu.ts"],"sourcesContent":["import { AXOrientation, AXStyleColorType, NXClickEvent, NXComponent } from '@acorex/components/common';\nimport { OutputEmitterRef, WritableSignal } from '@angular/core';\n\nexport type AXMenuOpenTrigger = 'click' | 'hover';\nexport type AXMenuCloseTrigger = 'click' | 'leave';\n\n\nexport abstract class AXRootMenu {\n orientation: WritableSignal<AXOrientation>;\n openOn: WritableSignal<AXMenuOpenTrigger>;\n closeOn: WritableSignal<AXMenuCloseTrigger>;\n onItemClick: OutputEmitterRef<AXMenuItemClickBaseEvent>;\n nativeElement: HTMLDivElement;\n}\n\nexport abstract class AXMenuItemComponentBase {\n}\n\n\nexport abstract class AXMenuItem {\n color?: AXStyleColorType\n name?: string;\n text: string;\n data?: any\n icon?: string;\n disabled?: boolean;\n items?: AXMenuItem[];\n suffix?: {\n text: string\n };\n break?: boolean\n group?: {\n name?: string\n title?: string\n }\n}\n\n\nexport class AXMenuItemClickBaseEvent<T extends NXComponent = NXComponent> extends NXClickEvent<T> {\n item: {\n name?: string;\n text: string;\n data?: any\n };\n canceled = false;\n}\n","import { Injectable } from '@angular/core';\nimport { Subject } from 'rxjs';\nimport { AXMenuItemComponentBase, AXRootMenu } from './menu.types';\nimport { AXPoint } from '@acorex/core/utils';\n\n@Injectable()\nexport class AXMenuService {\n public closeAll$: Subject<void> = new Subject();\n public open$: Subject<AXMenuItemComponentBase> = new Subject();\n public close$: Subject<AXMenuItemComponentBase> = new Subject();\n public closeExcept$ = new Subject<AXMenuItemComponentBase>();\n\n public openContextMenu$ = new Subject<{ sender: AXRootMenu, point: AXPoint }>();\n public closeAllContextMenu$ = new Subject<{ sender: AXRootMenu }>();\n}\n","import { AXStyleColorType, NXComponent } from '@acorex/components/common';\nimport {\n afterNextRender,\n ChangeDetectionStrategy,\n Component,\n computed,\n HostBinding,\n HostListener,\n inject,\n input,\n output,\n Renderer2,\n signal,\n ViewEncapsulation,\n} from '@angular/core';\nimport { AXMenuService } from './menu.service';\nimport { AXMenuItemClickBaseEvent, AXMenuItemComponentBase, AXRootMenu } from './menu.types';\nimport { AXHtmlUtil, AXUnsubscriber } from '@acorex/core/utils';\n\nexport type AXMenuItemClickEvent = AXMenuItemClickBaseEvent<AXMenuItemComponent>;\n\n/**\n * Represents a menu item component used within an `ax-menu`.\n * @category Components\n */\n@Component({\n selector: 'ax-menu-item',\n templateUrl: './menu-item.component.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: AXMenuItemComponentBase,\n useExisting: AXMenuItemComponent\n },\n AXUnsubscriber\n ],\n})\nexport class AXMenuItemComponent extends NXComponent {\n\n protected isOpen = signal(false);\n protected hasSubItems = signal(false);\n protected isFirstLevel = signal(false);\n private mutationObserver!: MutationObserver;\n\n protected root = inject(AXRootMenu);\n protected parent?: AXMenuItemComponent | null;\n\n private service = inject(AXMenuService);\n private scrollableParents: HTMLElement[] = [];\n\n private unsuscriber = inject(AXUnsubscriber);\n private renderer = inject(Renderer2)\n\n\n protected arrowIcon = computed(() => {\n const isRtl = AXHtmlUtil.isRtl(this.nativeElement);\n return this.root.orientation() == 'horizontal' && this.isFirstLevel() ?\n \"ax-icon-chevron-down\" :\n isRtl ? \"ax-icon-chevron-left\" : \"ax-icon-chevron-right\";\n })\n\n\n onClick = output<AXMenuItemClickEvent>();\n\n name = input<string>();\n data = input<any>();\n disabled = input<boolean>();\n color = input<AXStyleColorType>();\n\n\n\n constructor() {\n super();\n //\n afterNextRender(() => {\n this.detectSubItems();\n this.observeMutations();\n this.bindScrollEvents();\n });\n //\n this.service.closeAll$\n .pipe(this.unsuscriber.takeUntilDestroy)\n .subscribe(() => this.close());\n\n this.service.open$\n .pipe(this.unsuscriber.takeUntilDestroy)\n .subscribe((item) => {\n if ((this as any) === item) {\n this.isOpen.set(true);\n this.calculatePosition();\n }\n });\n //\n this.service.close$\n .pipe(this.unsuscriber.takeUntilDestroy)\n .subscribe(item => {\n if ((this as any) == item) {\n this.isOpen.set(false);\n }\n });\n //\n this.service.closeExcept$\n .pipe(this.unsuscriber.takeUntilDestroy)\n .subscribe((item) => {\n this.closeExcept(item as AXMenuItemComponent);\n });\n }\n\n\n private closeExcept(item: AXMenuItemComponent) {\n const list: AXMenuItemComponent[] = [item]\n //\n let parent = item.parent;\n while (parent != null) {\n list.push(parent);\n parent = parent.parent;\n }\n //\n if (!list.includes(this)) {\n this.close();\n }\n }\n\n\n private observeMutations() {\n this.mutationObserver = new MutationObserver(() => {\n this.detectSubItems();\n });\n\n // Start observing changes in child elements\n this.mutationObserver.observe(this.nativeElement, {\n childList: true,\n subtree: true,\n });\n }\n\n\n private getText(): string {\n return this.nativeElement.querySelector<HTMLDivElement>('ax-text')?.innerText;\n }\n\n\n /**\n * Manually detect all `ax-menu-item` elements and check if this menu item has sub-items.\n */\n private detectSubItems() {\n //\n const parentEl = this.nativeElement.parentElement?.parentElement;\n this.parent = parentEl?.tagName == \"AX-MENU-ITEM\" ? parentEl?.[\"__axContext__\"] as AXMenuItemComponent : null;\n //\n const tag = this.nativeElement.parentElement?.tagName;\n this.isFirstLevel.set(tag == \"AX-MENU\" || tag == \"AX-CONTEXT-MENU\");\n const subItems = this.nativeElement.querySelectorAll('ax-menu-item');\n if (subItems.length > 0) {\n this.hasSubItems.set(true);\n } else {\n this.hasSubItems.set(false);\n }\n }\n\n\n open() {\n this.service.closeExcept$.next(this);\n if (!this.disabled() && this.hasSubItems()) {\n this.service.open$.next(this);\n }\n }\n\n close() {\n this.service.close$.next(this);\n }\n\n\n /**\n * Calculate the position of the submenu to avoid it going out of the viewport.\n */\n private calculatePosition() {\n const submenu = this.nativeElement.querySelector('.ax-menu-items');\n if (!submenu) return;\n\n const submenuRect = submenu.getBoundingClientRect();\n const itemRect = this.nativeElement.getBoundingClientRect();\n const windowWidth = window.innerWidth;\n const windowHeight = window.innerHeight;\n\n const isRtl = AXHtmlUtil.isRtl(this.nativeElement);\n\n let top: number | null = null;\n let left: number | null = null;\n\n // For first-level menu items\n if (this.isFirstLevel() && this.root.orientation() === 'horizontal') {\n top = itemRect.bottom + submenuRect.height > windowHeight\n ? itemRect.top - submenuRect.height // Open upwards\n : itemRect.bottom; // Open downwards\n\n if (isRtl) {\n // RTL: Align to the right of the parent item\n left = itemRect.right - submenuRect.width < 0\n ? itemRect.left // Align to the left if not enough space on the right\n : itemRect.right - submenuRect.width; // Open to the left in RTL\n } else {\n // LTR: Align to the left of the parent item\n left = itemRect.left + submenuRect.width > windowWidth\n ? itemRect.right - submenuRect.width // Align to the right edge in LTR\n : itemRect.left; // Open to the left\n }\n } else {\n // For nested submenus\n if (isRtl) {\n // RTL: Nested submenu opens to the left\n left = itemRect.left - submenuRect.width < 0\n ? itemRect.right // Align to the right if not enough space on the left\n : itemRect.left - submenuRect.width; // Open to the left in RTL\n } else {\n // LTR: Nested submenu opens to the right\n left = itemRect.right + submenuRect.width > windowWidth\n ? itemRect.left - submenuRect.width // Open to the left if not enough space\n : itemRect.right; // Open to the right in LTR\n }\n\n // Adjust top position (align vertically with parent)\n top = itemRect.top + submenuRect.height > windowHeight\n ? itemRect.top - (itemRect.bottom + submenuRect.height - windowHeight) // Adjust upwards\n : itemRect.top; // Align with the parent item\n }\n\n // Apply calculated styles for RTL/LTR\n this.renderer.setStyle(submenu, 'left', `${left}px`);\n this.renderer.setStyle(submenu, 'top', `${top}px`);\n this.renderer.setStyle(submenu, 'position', 'fixed'); // Fixed position relative to the viewport\n }\n\n\n\n @HostListener(\"click\", ['$event'])\n private handleClick(e: MouseEvent) {\n e.stopPropagation();\n if (this.disabled()) return;\n //\n const event = {\n sender: this,\n nativeEvent: e,\n canceled: false,\n item: {\n name: this.name(),\n text: this.getText(),\n data: this.data()\n }\n } as AXMenuItemClickEvent;\n //\n this.onClick.emit(event);\n this.root.onItemClick.emit({ ...event, ...{ sender: this.root as any } });\n //\n if (this.hasSubItems() && !event.canceled) {\n this.open();\n }\n else if (!event.canceled) {\n this.service.closeAll$.next();\n this.service.closeAllContextMenu$.next({ sender: this.root });\n }\n }\n\n @HostListener(\"mouseenter\", ['$event'])\n private handleMouseEnter(event: MouseEvent) {\n event.stopPropagation();\n // Cancel the close delay if the mouse re-enters the element\n if (this.mouseLeaveTimeout) {\n clearTimeout(this.mouseLeaveTimeout);\n this.mouseLeaveTimeout = null; // Reset the timeout\n }\n if (!this.isFirstLevel() || this.root.openOn() == 'hover') {\n this.open();\n }\n }\n\n private mouseLeaveTimeout: any;\n\n @HostListener(\"mouseleave\", ['$event'])\n private handleMouseLeave(event: MouseEvent) {\n event.stopPropagation();\n\n if (this.hasSubItems() && this.root.closeOn() === 'leave') {\n // Clear any previous timeout to avoid multiple triggers\n if (this.mouseLeaveTimeout) {\n clearTimeout(this.mouseLeaveTimeout);\n }\n\n // Set a delay before closing the submenu\n this.mouseLeaveTimeout = setTimeout(() => {\n this.close();\n }, 500); // Adjust the delay (500ms in this case) as per your requirement\n }\n }\n\n @HostListener('window:scroll', ['$event'])\n @HostListener('window:resize', ['$event'])\n private onWindowEvent() {\n this.service.closeAll$.next(); // Close all menus on scroll or resize\n }\n\n /**\n * Close all menus if clicking outside the root menu and all sub-items.\n */\n @HostListener('document:click', ['$event'])\n private onClickOutside(event: MouseEvent) {\n const hostElement = this.root.nativeElement;\n if (!hostElement.contains(event.target as Node)) {\n this.service.closeAll$.next() // Close all menus if click is outside the root and sub-items\n }\n }\n\n\n ngOnDestroy() {\n this.removeScrollEvents();\n }\n\n private bindScrollEvents() {\n this.scrollableParents = AXHtmlUtil.getScrollableParents(this.nativeElement);\n\n this.scrollableParents.forEach((parent) => {\n parent.addEventListener('scroll', this.onContainerScroll.bind(this));\n });\n }\n\n // Remove scroll event listeners \n private removeScrollEvents() {\n this.scrollableParents.forEach((parent) => {\n parent.removeEventListener('scroll', this.onContainerScroll.bind(this));\n });\n }\n\n /**\n * Handler for scroll events (window or scrollable parent containers)\n */\n private onContainerScroll() {\n this.service.closeAll$.next(); // Close all menus on scroll\n }\n\n\n\n /** @ignore */\n @HostBinding('class')\n get __hostClass(): string[] {\n const list: string[] = ['ax-el-interactive', 'ax-action-item'];\n if (this.disabled()) {\n list.push('ax-state-disabled');\n }\n if (this.color()) {\n list.push(`ax-el-${this.color()}-blank`);\n }\n return list\n }\n\n}\n","<div class=\"ax-action-item-prefix\">\n <ng-content select=\"ax-prefix\"></ng-content>\n <ng-content select=\"ax-text\"></ng-content>\n</div>\n<div class=\"ax-action-item-suffix\">\n <ng-content select=\"ax-suffix\"></ng-content>\n @if (hasSubItems()) {\n <i class=\"ax-icon ax-icon-solid {{ arrowIcon() }} ax-menu-item-child-icon\"></i>\n }\n</div>\n<div class=\"ax-menu-items ax-action-list ax-action-list-vertical\" [class.ax-state-open]=\"isOpen()\">\n <ng-content select=\"ax-menu-item,ax-title,ng-container\"></ng-content>\n</div>","import { AXOrientation, NXComponent, NXEvent } from '@acorex/components/common';\nimport {\n afterNextRender,\n ChangeDetectionStrategy,\n Component,\n HostBinding,\n HostListener,\n inject,\n input,\n output,\n Renderer2,\n signal,\n ViewEncapsulation,\n} from '@angular/core';\nimport { AXMenuCloseTrigger, AXMenuItem, AXMenuItemClickBaseEvent, AXMenuOpenTrigger, AXRootMenu } from './menu.types';\nimport { AXMenuService } from './menu.service';\nimport { AXHtmlUtil, AXPoint } from '@acorex/core/utils';\nimport { cloneDeep } from 'lodash-es';\nimport { isBrowser } from '@acorex/core/platform';\n\n\nexport class AXContextMenuOpeningEvent extends NXEvent<AXContextMenuComponent> {\n items: AXMenuItem[];\n canceled = false;\n targetElement: HTMLElement\n\n}\nexport type AXContextMenuItemsClickEvent = AXMenuItemClickBaseEvent<AXContextMenuComponent>\n\n/**\n * Represents a menu component that displays context menu.\n * @category Components\n */\n@Component({\n selector: 'ax-context-menu',\n templateUrl: './menu.component.html',\n styleUrls: ['./menu.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [\n AXMenuService,\n {\n provide: AXRootMenu,\n useExisting: AXContextMenuComponent\n }\n ]\n})\nexport class AXContextMenuComponent extends NXComponent {\n\n // Inputs and Outputs\n\n orientation = input<AXOrientation>('vertical');\n openOn = input<AXMenuOpenTrigger>('hover');\n closeOn = input<AXMenuCloseTrigger>('click');\n orginalItems = input<AXMenuItem[]>([], { alias: \"items\" });\n target = input<HTMLElement | HTMLElement[] | string>();\n\n onItemClick = output<AXContextMenuItemsClickEvent>();\n onOpening = output<AXContextMenuOpeningEvent>();\n\n // Injected Services\n\n private service = inject(AXMenuService);\n private renderer = inject(Renderer2)\n\n // Constructor (Dependency Injection)\n\n /** @ignore */\n constructor() {\n super();\n //\n afterNextRender(() => {\n this.bindContextEvent();\n });\n\n this.service.closeAllContextMenu$.subscribe(() => {\n this.service.closeAll$.next();\n this.close();\n });\n\n this.service.openContextMenu$.subscribe((e) => {\n if (e.sender as any == this) {\n this.internalShowAt(e.point);\n }\n });\n }\n\n\n\n // Lifecycle Hooks\n\n ngOnDestroy() {\n if (isBrowser()) {\n this.removeContextEvent();\n }\n }\n\n // Public Methods\n\n public showAt(point: AXPoint) {\n const sender = this as any as AXRootMenu;\n this.service.closeAllContextMenu$.next({ sender });\n this.service.openContextMenu$.next({ sender, point });\n }\n\n public close() {\n this.nativeElement.classList.remove('ax-state-open');\n this.removeBackdrop();\n }\n\n // Private Properties\n\n private backdropElement!: HTMLElement;\n\n protected items = signal<AXMenuItem[]>([]);\n\n // Private Methods (Internal Logic)\n\n /** @ignore */\n private getTargetElements(): HTMLElement[] {\n const elements: HTMLElement[] = typeof this.target() == 'string' ?\n Array.from(document.querySelectorAll<HTMLElement>(this.target() as string)) :\n Array.isArray(this.target()) ?\n this.target() as HTMLElement[] :\n [this.target() as HTMLElement]\n\n return elements;\n }\n\n /** @ignore */\n private bindContextEvent() {\n this.getTargetElements().forEach((e) => {\n e.addEventListener('contextmenu', this.handleContextMenu.bind(this));\n })\n }\n\n /** @ignore */\n private removeContextEvent() {\n this.getTargetElements().forEach((e) => {\n e.removeEventListener('contextmenu', this.handleContextMenu.bind(this));\n })\n }\n\n /** @ignore */\n private handleContextMenu(e: MouseEvent) {\n e.preventDefault();\n e.stopPropagation();\n //\n const elementsUnderMouse = document.elementsFromPoint(e.x, e.y) as HTMLElement[];\n const targetElements = this.getTargetElements();\n const targetElement = targetElements.find(target => elementsUnderMouse.includes(target))\n //\n const event = {\n sender: this,\n canceled: false,\n targetElement: targetElement,\n items: cloneDeep(this.orginalItems()),\n } as AXContextMenuOpeningEvent;\n this.onOpening.emit(event);\n this.items.set(event.items);\n //\n if (!event.canceled) {\n this.showAt({ x: e.clientX, y: e.clientY });\n }\n }\n\n /** @ignore */\n private internalShowAt(point: AXPoint) {\n const elementRef = this.nativeElement;\n elementRef.classList.add('ax-state-open');\n const itemRect = elementRef.getBoundingClientRect();\n const windowWidth = window.innerWidth;\n const windowHeight = window.innerHeight;\n\n // Detect RTL (Right-To-Left) mode\n const isRtl = AXHtmlUtil.isRtl(elementRef);\n\n let left: number;\n if (isRtl) {\n left = point.x - itemRect.width;\n if (left < 0) {\n left = point.x;\n }\n } else {\n left = point.x;\n if (left + itemRect.width > windowWidth) {\n left = point.x - itemRect.width;\n }\n }\n\n const bottom = point.y + itemRect.height;\n let top: number;\n\n if (bottom > windowHeight) {\n top = point.y - itemRect.height;\n if (top < 0) {\n top = 0;\n }\n } else {\n top = point.y;\n }\n\n this.renderer.setStyle(elementRef, 'left', `${left}px`);\n this.renderer.setStyle(elementRef, 'top', `${top}px`);\n this.renderer.setStyle(elementRef, 'position', 'fixed');\n\n this.createBackdrop();\n }\n\n /** @ignore */\n private createBackdrop() {\n this.backdropElement = this.renderer.createElement('div');\n this.renderer.setStyle(this.backdropElement, 'position', 'fixed');\n this.renderer.setStyle(this.backdropElement, 'top', '0');\n this.renderer.setStyle(this.backdropElement, 'left', '0');\n this.renderer.setStyle(this.backdropElement, 'width', '100%');\n this.renderer.setStyle(this.backdropElement, 'height', '100%');\n this.renderer.setStyle(this.backdropElement, 'z-index', '999'); // Ensure it's below the context menu\n this.renderer.setStyle(this.backdropElement, 'background', 'transparent');\n\n const l1 = this.renderer.listen(this.backdropElement, 'click', () => {\n this.close();\n l1();\n });\n\n const l2 = this.renderer.listen(this.backdropElement, 'wheel', () => {\n this.close();\n l2();\n });\n\n const l3 = this.renderer.listen(this.backdropElement, 'contextmenu', (e: MouseEvent) => {\n this.close();\n // Get all elements under the mouse pointer\n const elementsUnderMouse = document.elementsFromPoint(e.x, e.y) as HTMLElement[];\n const targetElements = this.getTargetElements();\n if (targetElements.some(target => elementsUnderMouse.includes(target))) {\n e.preventDefault();\n setTimeout(() => {\n //this.internalShowAt({ x: e.x, y: e.y });\n this.handleContextMenu(e);\n });\n }\n l3();\n });\n\n document.body.appendChild(this.backdropElement);\n }\n\n /** @ignore */\n private removeBackdrop() {\n if (this.backdropElement) {\n if (this.backdropElement.parentNode) {\n this.backdropElement.parentNode.removeChild(this.backdropElement);\n }\n this.backdropElement = null;\n }\n }\n\n // Host Listeners (UI Interaction Handling)\n\n /** @ignore */\n @HostListener('window:scroll', ['$event'])\n @HostListener('window:resize', ['$event'])\n private onWindowEvent() {\n const sender = this as any as AXRootMenu;\n this.service.closeAllContextMenu$.next({ sender: sender }); // Close all menus on scroll or resize\n }\n\n /** @ignore */\n @HostBinding('class')\n get __hostClass(): any {\n return ['ax-menu-container', `ax-orientation-${this.orientation()}`, 'ax-action-list', 'ax-action-list-vertical'];\n }\n}\n","<ng-content select=\"ax-menu-item,ax-title,ng-container\"></ng-content>\n\n<ng-container *ngFor=\"let node of items()\" [ngTemplateOutlet]=\"Recursion\"\n [ngTemplateOutletContext]=\"{ $implicit: node }\">\n</ng-container>\n<ng-template #Recursion let-item>\n @if(item.group?.title)\n {\n <ax-title>{{item.group?.title}}</ax-title>\n }\n <ax-menu-item [name]=\"item.name\" [data]=\"item.data\" [disabled]=\"item.disabled\" [color]=\"item.color\">\n <ax-prefix>\n @if(item.icon)\n {\n <ax-icon [icon]=\"item.icon\">\n </ax-icon>\n }\n </ax-prefix>\n @if(item.text)\n {\n <ax-text>{{ item.text }}</ax-text>\n }\n @if(item.suffix)\n {\n <ax-suffix>\n <ax-text>{{ item.suffix.text }}</ax-text>\n </ax-suffix>\n }\n <ng-container *ngFor=\"let child of item.items\" [ngTemplateOutlet]=\"Recursion\"\n [ngTemplateOutletContext]=\"{ $implicit: child }\"></ng-container>\n </ax-menu-item>\n @if(item.break)\n {\n <ax-divider></ax-divider>\n }\n</ng-template>","import { AXOrientation, NXComponent } from '@acorex/components/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n HostBinding,\n inject,\n input,\n output,\n ViewEncapsulation,\n} from '@angular/core';\nimport { AXMenuService } from './menu.service';\nimport { AXMenuCloseTrigger, AXMenuItem, AXMenuItemClickBaseEvent, AXMenuOpenTrigger, AXRootMenu } from './menu.types';\n\nexport type AXMenuItemsClickEvent = AXMenuItemClickBaseEvent<AXMenuComponent>;\n\n/**\n * Represents a menu component that displays menu items.\n * @category Components\n */\n@Component({\n selector: 'ax-menu',\n templateUrl: './menu.component.html',\n styleUrls: ['./menu.component.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n AXMenuService,\n {\n provide: AXRootMenu,\n useExisting: AXMenuComponent\n }\n ]\n})\nexport class AXMenuComponent extends NXComponent {\n orientation = input<AXOrientation>('horizontal');\n\n openOn = input<AXMenuOpenTrigger>('hover');\n\n closeOn = input<AXMenuCloseTrigger>('leave');\n\n service = inject(AXMenuService);\n\n onItemClick = output<AXMenuItemsClickEvent>();\n\n items = input<AXMenuItem[]>([]);\n\n /** @ignore */\n @HostBinding('class')\n get __hostClass(): string {\n return `ax-action-list-${this.orientation()} ax-action-list`;\n }\n\n\n public close() {\n this.service.closeAll$.next();\n }\n}\n","import { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXLoadingModule } from '@acorex/components/loading';\nimport { AXPopoverModule } from '@acorex/components/popover';\nimport { AXTranslationModule } from '@acorex/core/translation';\nimport { OverlayModule } from '@angular/cdk/overlay';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { AXMenuComponent } from './menu.component';\nimport { AXContextMenuComponent } from './context-menu.component';\nimport { AXMenuItemComponent } from './menu-item.component';\n\nconst COMPONENT = [AXMenuItemComponent, AXMenuComponent, AXContextMenuComponent];\nconst MODULES = [AXDecoratorModule, AXLoadingModule, AXTranslationModule, OverlayModule, AXPopoverModule];\n\n@NgModule({\n declarations: [...COMPONENT],\n imports: [CommonModule, ...MODULES],\n exports: [...COMPONENT],\n providers: [],\n})\nexport class AXMenuModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nex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AY,CAAA;8GAAZ,YAAY,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;+GAAZ,YAAY,EAAA,YAAA,EAAA,CATN,mBAAmB,EAAE,eAAe,EAAE,sBAAsB,CAAA,EAAA,OAAA,EAAA,CAKnE,YAAY,EAJP,iBAAiB,EAAE,eAAe,EAAE,mBAAmB,EAAE,aAAa,EAAE,eAAe,aADrF,mBAAmB,EAAE,eAAe,EAAE,sBAAsB,CAAA,EAAA,CAAA,CAAA,EAAA;+GASlE,YAAY,EAAA,OAAA,EAAA,CAJb,YAAY,EAAK,OAAO,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAIvB,YAAY,EAAA,UAAA,EAAA,CAAA;kBANxB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE,CAAC,GAAG,SAAS,CAAC;AAC5B,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,GAAG,OAAO,CAAC;AACnC,oBAAA,OAAO,EAAE,CAAC,GAAG,SAAS,CAAC;AACvB,oBAAA,SAAS,EAAE,EAAE;AACd,iBAAA,CAAA;;;ACpBD;;AAEG;;;;"}
|
@@ -1,39 +1,50 @@
|
|
1
|
-
import { AXOrientation,
|
2
|
-
import {
|
3
|
-
import { AXContextMenuOpeningEvent, AXMenuCloseTrigger, AXMenuItem, AXMenuItemClickEvent, AXMenuOpenTrigger } from './menu.types';
|
4
|
-
import { AXMenuService } from './menu.service';
|
1
|
+
import { AXOrientation, NXComponent, NXEvent } from '@acorex/components/common';
|
2
|
+
import { AXMenuCloseTrigger, AXMenuItem, AXMenuItemClickBaseEvent, AXMenuOpenTrigger } from './menu.types';
|
5
3
|
import { AXPoint } from '@acorex/core/utils';
|
6
4
|
import * as i0 from "@angular/core";
|
5
|
+
export declare class AXContextMenuOpeningEvent extends NXEvent<AXContextMenuComponent> {
|
6
|
+
items: AXMenuItem[];
|
7
|
+
canceled: boolean;
|
8
|
+
targetElement: HTMLElement;
|
9
|
+
}
|
10
|
+
export type AXContextMenuItemsClickEvent = AXMenuItemClickBaseEvent<AXContextMenuComponent>;
|
7
11
|
/**
|
8
12
|
* Represents a menu component that displays context menu.
|
9
13
|
* @category Components
|
10
14
|
*/
|
11
|
-
export declare class AXContextMenuComponent extends
|
12
|
-
private renderer;
|
15
|
+
export declare class AXContextMenuComponent extends NXComponent {
|
13
16
|
orientation: import("@angular/core").InputSignal<AXOrientation>;
|
14
17
|
openOn: import("@angular/core").InputSignal<AXMenuOpenTrigger>;
|
15
18
|
closeOn: import("@angular/core").InputSignal<AXMenuCloseTrigger>;
|
16
19
|
orginalItems: import("@angular/core").InputSignal<AXMenuItem[]>;
|
17
|
-
target: import("@angular/core").InputSignal<HTMLElement>;
|
18
|
-
onItemClick: import("@angular/core").OutputEmitterRef<
|
20
|
+
target: import("@angular/core").InputSignal<string | HTMLElement | HTMLElement[]>;
|
21
|
+
onItemClick: import("@angular/core").OutputEmitterRef<AXContextMenuItemsClickEvent>;
|
19
22
|
onOpening: import("@angular/core").OutputEmitterRef<AXContextMenuOpeningEvent>;
|
20
|
-
service
|
23
|
+
private service;
|
24
|
+
private renderer;
|
21
25
|
/** @ignore */
|
22
|
-
constructor(
|
26
|
+
constructor();
|
23
27
|
ngOnDestroy(): void;
|
24
28
|
showAt(point: AXPoint): void;
|
25
29
|
close(): void;
|
26
|
-
private
|
30
|
+
private backdropElement;
|
27
31
|
protected items: import("@angular/core").WritableSignal<AXMenuItem[]>;
|
28
32
|
/** @ignore */
|
33
|
+
private getTargetElements;
|
34
|
+
/** @ignore */
|
35
|
+
private bindContextEvent;
|
36
|
+
/** @ignore */
|
37
|
+
private removeContextEvent;
|
38
|
+
/** @ignore */
|
29
39
|
private handleContextMenu;
|
40
|
+
/** @ignore */
|
30
41
|
private internalShowAt;
|
31
|
-
private bindScrollEvents;
|
32
|
-
private removeScrollEvents;
|
33
|
-
private onContainerScroll;
|
34
42
|
/** @ignore */
|
35
|
-
private
|
36
|
-
|
43
|
+
private createBackdrop;
|
44
|
+
/** @ignore */
|
45
|
+
private removeBackdrop;
|
46
|
+
/** @ignore */
|
47
|
+
private onWindowEvent;
|
37
48
|
/** @ignore */
|
38
49
|
get __hostClass(): any;
|
39
50
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXContextMenuComponent, never>;
|
@@ -1,13 +1,12 @@
|
|
1
|
-
import { AXStyleColorType,
|
2
|
-
import {
|
3
|
-
import { AXMenuItemClickEvent, AXRootMenu } from './menu.types';
|
1
|
+
import { AXStyleColorType, NXComponent } from '@acorex/components/common';
|
2
|
+
import { AXMenuItemClickBaseEvent, AXRootMenu } from './menu.types';
|
4
3
|
import * as i0 from "@angular/core";
|
4
|
+
export type AXMenuItemClickEvent = AXMenuItemClickBaseEvent<AXMenuItemComponent>;
|
5
5
|
/**
|
6
6
|
* Represents a menu item component used within an `ax-menu`.
|
7
7
|
* @category Components
|
8
8
|
*/
|
9
|
-
export declare class AXMenuItemComponent extends
|
10
|
-
private renderer;
|
9
|
+
export declare class AXMenuItemComponent extends NXComponent {
|
11
10
|
protected isOpen: import("@angular/core").WritableSignal<boolean>;
|
12
11
|
protected hasSubItems: import("@angular/core").WritableSignal<boolean>;
|
13
12
|
protected isFirstLevel: import("@angular/core").WritableSignal<boolean>;
|
@@ -17,13 +16,14 @@ export declare class AXMenuItemComponent extends MXBaseComponent {
|
|
17
16
|
private service;
|
18
17
|
private scrollableParents;
|
19
18
|
private unsuscriber;
|
19
|
+
private renderer;
|
20
20
|
protected arrowIcon: import("@angular/core").Signal<"ax-icon-chevron-down" | "ax-icon-chevron-left" | "ax-icon-chevron-right">;
|
21
21
|
onClick: import("@angular/core").OutputEmitterRef<AXMenuItemClickEvent>;
|
22
22
|
name: import("@angular/core").InputSignal<string>;
|
23
23
|
data: import("@angular/core").InputSignal<any>;
|
24
24
|
disabled: import("@angular/core").InputSignal<boolean>;
|
25
25
|
color: import("@angular/core").InputSignal<AXStyleColorType>;
|
26
|
-
constructor(
|
26
|
+
constructor();
|
27
27
|
private closeExcept;
|
28
28
|
private observeMutations;
|
29
29
|
private getText;
|
@@ -1,17 +1,18 @@
|
|
1
|
-
import { AXOrientation,
|
1
|
+
import { AXOrientation, NXComponent } from '@acorex/components/common';
|
2
2
|
import { AXMenuService } from './menu.service';
|
3
|
-
import { AXMenuCloseTrigger, AXMenuItem,
|
3
|
+
import { AXMenuCloseTrigger, AXMenuItem, AXMenuItemClickBaseEvent, AXMenuOpenTrigger } from './menu.types';
|
4
4
|
import * as i0 from "@angular/core";
|
5
|
+
export type AXMenuItemsClickEvent = AXMenuItemClickBaseEvent<AXMenuComponent>;
|
5
6
|
/**
|
6
7
|
* Represents a menu component that displays menu items.
|
7
8
|
* @category Components
|
8
9
|
*/
|
9
|
-
export declare class AXMenuComponent extends
|
10
|
+
export declare class AXMenuComponent extends NXComponent {
|
10
11
|
orientation: import("@angular/core").InputSignal<AXOrientation>;
|
11
12
|
openOn: import("@angular/core").InputSignal<AXMenuOpenTrigger>;
|
12
13
|
closeOn: import("@angular/core").InputSignal<AXMenuCloseTrigger>;
|
13
14
|
service: AXMenuService;
|
14
|
-
onItemClick: import("@angular/core").OutputEmitterRef<
|
15
|
+
onItemClick: import("@angular/core").OutputEmitterRef<AXMenuItemsClickEvent>;
|
15
16
|
items: import("@angular/core").InputSignal<AXMenuItem[]>;
|
16
17
|
/** @ignore */
|
17
18
|
get __hostClass(): string;
|
package/menu/lib/menu.types.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { AXOrientation, AXStyleColorType, NXClickEvent, NXComponent } from '@acorex/components/common';
|
2
2
|
import { OutputEmitterRef, WritableSignal } from '@angular/core';
|
3
3
|
export type AXMenuOpenTrigger = 'click' | 'hover';
|
4
4
|
export type AXMenuCloseTrigger = 'click' | 'leave';
|
@@ -6,8 +6,8 @@ export declare abstract class AXRootMenu {
|
|
6
6
|
orientation: WritableSignal<AXOrientation>;
|
7
7
|
openOn: WritableSignal<AXMenuOpenTrigger>;
|
8
8
|
closeOn: WritableSignal<AXMenuCloseTrigger>;
|
9
|
-
onItemClick: OutputEmitterRef<
|
10
|
-
|
9
|
+
onItemClick: OutputEmitterRef<AXMenuItemClickBaseEvent>;
|
10
|
+
nativeElement: HTMLDivElement;
|
11
11
|
}
|
12
12
|
export declare abstract class AXMenuItemComponentBase {
|
13
13
|
}
|
@@ -28,16 +28,11 @@ export declare abstract class AXMenuItem {
|
|
28
28
|
title?: string;
|
29
29
|
};
|
30
30
|
}
|
31
|
-
export declare
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
item: AXMenuItemClickEventItemData;
|
38
|
-
canceled: boolean;
|
39
|
-
}
|
40
|
-
export declare class AXContextMenuOpeningEvent extends AXEvent {
|
41
|
-
items: AXMenuItem[];
|
31
|
+
export declare class AXMenuItemClickBaseEvent<T extends NXComponent = NXComponent> extends NXClickEvent<T> {
|
32
|
+
item: {
|
33
|
+
name?: string;
|
34
|
+
text: string;
|
35
|
+
data?: any;
|
36
|
+
};
|
42
37
|
canceled: boolean;
|
43
38
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@acorex/components",
|
3
|
-
"version": "18.11.
|
3
|
+
"version": "18.11.1",
|
4
4
|
"peerDependencies": {
|
5
5
|
"@angular/common": ">=18.2.0",
|
6
6
|
"@angular/core": ">=18.2.0",
|
@@ -32,11 +32,11 @@
|
|
32
32
|
"esm": "./esm2022/action-sheet/acorex-components-action-sheet.mjs",
|
33
33
|
"default": "./fesm2022/acorex-components-action-sheet.mjs"
|
34
34
|
},
|
35
|
-
"./
|
36
|
-
"types": "./
|
37
|
-
"esm2022": "./esm2022/
|
38
|
-
"esm": "./esm2022/
|
39
|
-
"default": "./fesm2022/acorex-components-
|
35
|
+
"./alert": {
|
36
|
+
"types": "./alert/index.d.ts",
|
37
|
+
"esm2022": "./esm2022/alert/acorex-components-alert.mjs",
|
38
|
+
"esm": "./esm2022/alert/acorex-components-alert.mjs",
|
39
|
+
"default": "./fesm2022/acorex-components-alert.mjs"
|
40
40
|
},
|
41
41
|
"./avatar": {
|
42
42
|
"types": "./avatar/index.d.ts",
|
@@ -44,11 +44,11 @@
|
|
44
44
|
"esm": "./esm2022/avatar/acorex-components-avatar.mjs",
|
45
45
|
"default": "./fesm2022/acorex-components-avatar.mjs"
|
46
46
|
},
|
47
|
-
"./
|
48
|
-
"types": "./
|
49
|
-
"esm2022": "./esm2022/
|
50
|
-
"esm": "./esm2022/
|
51
|
-
"default": "./fesm2022/acorex-components-
|
47
|
+
"./audio-wave": {
|
48
|
+
"types": "./audio-wave/index.d.ts",
|
49
|
+
"esm2022": "./esm2022/audio-wave/acorex-components-audio-wave.mjs",
|
50
|
+
"esm": "./esm2022/audio-wave/acorex-components-audio-wave.mjs",
|
51
|
+
"default": "./fesm2022/acorex-components-audio-wave.mjs"
|
52
52
|
},
|
53
53
|
"./badge": {
|
54
54
|
"types": "./badge/index.d.ts",
|
@@ -146,18 +146,18 @@
|
|
146
146
|
"esm": "./esm2022/data-pager/acorex-components-data-pager.mjs",
|
147
147
|
"default": "./fesm2022/acorex-components-data-pager.mjs"
|
148
148
|
},
|
149
|
-
"./datetime-box": {
|
150
|
-
"types": "./datetime-box/index.d.ts",
|
151
|
-
"esm2022": "./esm2022/datetime-box/acorex-components-datetime-box.mjs",
|
152
|
-
"esm": "./esm2022/datetime-box/acorex-components-datetime-box.mjs",
|
153
|
-
"default": "./fesm2022/acorex-components-datetime-box.mjs"
|
154
|
-
},
|
155
149
|
"./data-table": {
|
156
150
|
"types": "./data-table/index.d.ts",
|
157
151
|
"esm2022": "./esm2022/data-table/acorex-components-data-table.mjs",
|
158
152
|
"esm": "./esm2022/data-table/acorex-components-data-table.mjs",
|
159
153
|
"default": "./fesm2022/acorex-components-data-table.mjs"
|
160
154
|
},
|
155
|
+
"./datetime-box": {
|
156
|
+
"types": "./datetime-box/index.d.ts",
|
157
|
+
"esm2022": "./esm2022/datetime-box/acorex-components-datetime-box.mjs",
|
158
|
+
"esm": "./esm2022/datetime-box/acorex-components-datetime-box.mjs",
|
159
|
+
"default": "./fesm2022/acorex-components-datetime-box.mjs"
|
160
|
+
},
|
161
161
|
"./datetime-input": {
|
162
162
|
"types": "./datetime-input/index.d.ts",
|
163
163
|
"esm2022": "./esm2022/datetime-input/acorex-components-datetime-input.mjs",
|
@@ -392,12 +392,6 @@
|
|
392
392
|
"esm": "./esm2022/search-box/acorex-components-search-box.mjs",
|
393
393
|
"default": "./fesm2022/acorex-components-search-box.mjs"
|
394
394
|
},
|
395
|
-
"./select-box": {
|
396
|
-
"types": "./select-box/index.d.ts",
|
397
|
-
"esm2022": "./esm2022/select-box/acorex-components-select-box.mjs",
|
398
|
-
"esm": "./esm2022/select-box/acorex-components-select-box.mjs",
|
399
|
-
"default": "./fesm2022/acorex-components-select-box.mjs"
|
400
|
-
},
|
401
395
|
"./selection-list": {
|
402
396
|
"types": "./selection-list/index.d.ts",
|
403
397
|
"esm2022": "./esm2022/selection-list/acorex-components-selection-list.mjs",
|
@@ -416,6 +410,12 @@
|
|
416
410
|
"esm": "./esm2022/skeleton/acorex-components-skeleton.mjs",
|
417
411
|
"default": "./fesm2022/acorex-components-skeleton.mjs"
|
418
412
|
},
|
413
|
+
"./select-box": {
|
414
|
+
"types": "./select-box/index.d.ts",
|
415
|
+
"esm2022": "./esm2022/select-box/acorex-components-select-box.mjs",
|
416
|
+
"esm": "./esm2022/select-box/acorex-components-select-box.mjs",
|
417
|
+
"default": "./fesm2022/acorex-components-select-box.mjs"
|
418
|
+
},
|
419
419
|
"./slider": {
|
420
420
|
"types": "./slider/index.d.ts",
|
421
421
|
"esm2022": "./esm2022/slider/acorex-components-slider.mjs",
|
@@ -464,18 +464,18 @@
|
|
464
464
|
"esm": "./esm2022/time-line/acorex-components-time-line.mjs",
|
465
465
|
"default": "./fesm2022/acorex-components-time-line.mjs"
|
466
466
|
},
|
467
|
-
"./toast": {
|
468
|
-
"types": "./toast/index.d.ts",
|
469
|
-
"esm2022": "./esm2022/toast/acorex-components-toast.mjs",
|
470
|
-
"esm": "./esm2022/toast/acorex-components-toast.mjs",
|
471
|
-
"default": "./fesm2022/acorex-components-toast.mjs"
|
472
|
-
},
|
473
467
|
"./tooltip": {
|
474
468
|
"types": "./tooltip/index.d.ts",
|
475
469
|
"esm2022": "./esm2022/tooltip/acorex-components-tooltip.mjs",
|
476
470
|
"esm": "./esm2022/tooltip/acorex-components-tooltip.mjs",
|
477
471
|
"default": "./fesm2022/acorex-components-tooltip.mjs"
|
478
472
|
},
|
473
|
+
"./toast": {
|
474
|
+
"types": "./toast/index.d.ts",
|
475
|
+
"esm2022": "./esm2022/toast/acorex-components-toast.mjs",
|
476
|
+
"esm": "./esm2022/toast/acorex-components-toast.mjs",
|
477
|
+
"default": "./fesm2022/acorex-components-toast.mjs"
|
478
|
+
},
|
479
479
|
"./uploader": {
|
480
480
|
"types": "./uploader/index.d.ts",
|
481
481
|
"esm2022": "./esm2022/uploader/acorex-components-uploader.mjs",
|