@sixbell-telco/sdk 4.3.0 → 4.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +28 -1
- package/components/dropdown/README.md +1 -1
- package/components/dropdown/dropdown-chevron/dropdown-chevron.component.d.ts +1 -1
- package/components/dropdown/dropdown-trigger/dropdown-trigger.component.d.ts +10 -13
- package/components/dropdown-menu/README.md +1 -1
- package/components/dropdown-menu/bar/dropdown-menu-bar-content/dropdown-menu-bar-content.component.d.ts +5 -1
- package/components/dropdown-menu/bar/dropdown-menu-bar-sub-trigger/dropdown-menu-bar-sub-trigger.component.d.ts +2 -0
- package/components/dropdown-menu/bar/dropdown-menu-bar-trigger/dropdown-menu-bar-trigger.component.d.ts +2 -0
- package/components/dropdown-menu/context/dropdown-context-menu-trigger/dropdown-context-menu-trigger.component.d.ts +1 -0
- package/components/dropdown-menu/src/dropdown-menu-content/dropdown-menu-content.component.d.ts +2 -0
- package/components/dropdown-menu/src/dropdown-menu-sub-content/dropdown-menu-sub-content.component.d.ts +2 -0
- package/components/dropdown-menu/src/dropdown-menu-sub-trigger/dropdown-menu-sub-trigger.component.d.ts +1 -0
- package/components/dropdown-menu/src/dropdown-menu-trigger/dropdown-menu-trigger.component.d.ts +1 -0
- package/components/forms/combobox/README.md +1 -1
- package/components/forms/combobox/src/combobox.component.d.ts +10 -11
- package/components/forms/select/README.md +1 -1
- package/components/forms/select/src/select.component.d.ts +10 -11
- package/components/overlay/README.md +6 -1
- package/components/overlay/src/overlay.component.d.ts +9 -8
- package/components/tooltip/README.md +3 -2
- package/components/tooltip/src/tooltip.component.d.ts +8 -8
- package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-bar.mjs +18 -9
- package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-bar.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-context.mjs +5 -1
- package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-context.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-dropdown-menu.mjs +20 -9
- package/fesm2022/sixbell-telco-sdk-components-dropdown-menu.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-dropdown.mjs +26 -55
- package/fesm2022/sixbell-telco-sdk-components-dropdown.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs +35 -49
- package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs +35 -43
- package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-overlay.mjs +39 -77
- package/fesm2022/sixbell-telco-sdk-components-overlay.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-tooltip.mjs +33 -52
- package/fesm2022/sixbell-telco-sdk-components-tooltip.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-layouts.mjs +29 -9
- package/fesm2022/sixbell-telco-sdk-layouts.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-utils-popover-motion.mjs +186 -0
- package/fesm2022/sixbell-telco-sdk-utils-popover-motion.mjs.map +1 -0
- package/fesm2022/sixbell-telco-sdk-utils-translation.mjs +129 -14
- package/fesm2022/sixbell-telco-sdk-utils-translation.mjs.map +1 -1
- package/layouts/README.md +7 -1
- package/layouts/public-api.d.ts +1 -1
- package/layouts/src/menu/menu-active.d.ts +2 -1
- package/layouts/src/menu/menu-url.d.ts +2 -0
- package/layouts/src/page-banner/page-banner.component.d.ts +13 -1
- package/package.json +35 -31
- package/src/_index.css +85 -0
- package/utils/popover-motion/README.md +38 -0
- package/utils/popover-motion/index.d.ts +5 -0
- package/utils/popover-motion/public-api.d.ts +2 -0
- package/utils/popover-motion/src/popover-menu-motion.d.ts +37 -0
- package/utils/popover-motion/src/popover-motion.d.ts +31 -0
- package/utils/translation/README.md +2 -0
- package/utils/translation/src/translation.service.d.ts +24 -0
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import * as i1 from '@angular/cdk/menu';
|
|
2
2
|
import { MENU_STACK, CdkMenu, PARENT_OR_NEW_MENU_STACK_PROVIDER, CdkMenuItemCheckbox, CdkMenuItemRadio, CdkMenuItem, CdkMenuTrigger, CdkMenuBar } from '@angular/cdk/menu';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
|
-
import { inject, viewChild, signal, input, booleanAttribute, output, computed, Component
|
|
4
|
+
import { inject, ElementRef, viewChild, signal, input, booleanAttribute, output, computed, Component } from '@angular/core';
|
|
5
5
|
import { cn } from '@sixbell-telco/sdk/utils/cn';
|
|
6
|
+
import { PopoverMenuMotionDirective, popoverMenuPositions } from '@sixbell-telco/sdk/utils/popover-motion';
|
|
6
7
|
import { IconComponent } from '@sixbell-telco/sdk/components/icon';
|
|
7
8
|
import { CommonModule } from '@angular/common';
|
|
8
9
|
|
|
@@ -10,6 +11,8 @@ import { CommonModule } from '@angular/common';
|
|
|
10
11
|
* DropdownMenuBarContent - Container for menu bar dropdown content
|
|
11
12
|
*/
|
|
12
13
|
class DropdownMenuBarContentComponent {
|
|
14
|
+
/** @internal Where the menu is declared; its portaled panel takes this element's theme */
|
|
15
|
+
host = inject(ElementRef).nativeElement;
|
|
13
16
|
menuStack = inject(MENU_STACK, { optional: true });
|
|
14
17
|
templateRef = viewChild.required('menuTemplate');
|
|
15
18
|
get template() {
|
|
@@ -37,7 +40,8 @@ class DropdownMenuBarContentComponent {
|
|
|
37
40
|
*/
|
|
38
41
|
closed = output();
|
|
39
42
|
/**
|
|
40
|
-
* Computed data state
|
|
43
|
+
* Computed data state
|
|
44
|
+
* @deprecated The panel's `data-state` now comes from the shared popover motion; this value is no longer bound
|
|
41
45
|
*/
|
|
42
46
|
dataState = computed(() => {
|
|
43
47
|
if (!this.isOpen())
|
|
@@ -72,6 +76,7 @@ class DropdownMenuBarContentComponent {
|
|
|
72
76
|
}
|
|
73
77
|
/**
|
|
74
78
|
* Handle animation end
|
|
79
|
+
* @deprecated The shared popover motion settles the panel; this handler is no longer bound
|
|
75
80
|
*/
|
|
76
81
|
onAnimationEnd(event) {
|
|
77
82
|
if (event.animationName.includes('fade-in')) {
|
|
@@ -96,13 +101,13 @@ class DropdownMenuBarContentComponent {
|
|
|
96
101
|
'shadow-main': this.shadow(),
|
|
97
102
|
}, this.class());
|
|
98
103
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: DropdownMenuBarContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
99
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.25", type: DropdownMenuBarContentComponent, isStandalone: true, selector: "st-dropdown-menu-bar-content", inputs: { class: { classPropertyName: "class", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, shadow: { classPropertyName: "shadow", publicName: "shadow", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { opened: "opened", closed: "closed" }, host: { listeners: { "keydown.escape": "onEscapeKey($event)" } }, providers: [PARENT_OR_NEW_MENU_STACK_PROVIDER], viewQueries: [{ propertyName: "templateRef", first: true, predicate: ["menuTemplate"], descendants: true, isSignal: true }], exportAs: ["menuBarContent"], ngImport: i0, template: "<ng-template #menuTemplate>\n\t<ul\
|
|
104
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.25", type: DropdownMenuBarContentComponent, isStandalone: true, selector: "st-dropdown-menu-bar-content", inputs: { class: { classPropertyName: "class", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, shadow: { classPropertyName: "shadow", publicName: "shadow", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { opened: "opened", closed: "closed" }, host: { listeners: { "keydown.escape": "onEscapeKey($event)" } }, providers: [PARENT_OR_NEW_MENU_STACK_PROVIDER], viewQueries: [{ propertyName: "templateRef", first: true, predicate: ["menuTemplate"], descendants: true, isSignal: true }], exportAs: ["menuBarContent"], ngImport: i0, template: "<ng-template #menuTemplate>\n\t<ul cdkMenu stPopoverMenuMotion [stPopoverMenuMotionTheme]=\"host\" role=\"menu\" [class]=\"menuClass()\" (closed)=\"onMenuClosed()\" tabindex=\"-1\">\n\t\t<ng-content></ng-content>\n\t</ul>\n</ng-template>\n", dependencies: [{ kind: "directive", type: CdkMenu, selector: "[cdkMenu]", outputs: ["closed"], exportAs: ["cdkMenu"] }, { kind: "directive", type: PopoverMenuMotionDirective, selector: "[stPopoverMenuMotion]", inputs: ["stPopoverMenuMotionTheme"] }] });
|
|
100
105
|
}
|
|
101
106
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: DropdownMenuBarContentComponent, decorators: [{
|
|
102
107
|
type: Component,
|
|
103
|
-
args: [{ selector: 'st-dropdown-menu-bar-content', standalone: true, imports: [CdkMenu], providers: [PARENT_OR_NEW_MENU_STACK_PROVIDER], host: {
|
|
108
|
+
args: [{ selector: 'st-dropdown-menu-bar-content', standalone: true, imports: [CdkMenu, PopoverMenuMotionDirective], providers: [PARENT_OR_NEW_MENU_STACK_PROVIDER], host: {
|
|
104
109
|
'(keydown.escape)': 'onEscapeKey($event)',
|
|
105
|
-
}, exportAs: 'menuBarContent', template: "<ng-template #menuTemplate>\n\t<ul\
|
|
110
|
+
}, exportAs: 'menuBarContent', template: "<ng-template #menuTemplate>\n\t<ul cdkMenu stPopoverMenuMotion [stPopoverMenuMotionTheme]=\"host\" role=\"menu\" [class]=\"menuClass()\" (closed)=\"onMenuClosed()\" tabindex=\"-1\">\n\t\t<ng-content></ng-content>\n\t</ul>\n</ng-template>\n" }]
|
|
106
111
|
}] });
|
|
107
112
|
|
|
108
113
|
/**
|
|
@@ -521,6 +526,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
|
|
|
521
526
|
*/
|
|
522
527
|
class DropdownMenuBarSubTriggerComponent {
|
|
523
528
|
elementRef = inject(ElementRef, { optional: true });
|
|
529
|
+
/** @internal Placements tagged for the shared popover motion */
|
|
530
|
+
menuPositions = popoverMenuPositions();
|
|
524
531
|
// State
|
|
525
532
|
isOpen = signal(false);
|
|
526
533
|
hoverTimeout = null;
|
|
@@ -560,13 +567,13 @@ class DropdownMenuBarSubTriggerComponent {
|
|
|
560
567
|
}
|
|
561
568
|
}
|
|
562
569
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: DropdownMenuBarSubTriggerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
563
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.25", type: DropdownMenuBarSubTriggerComponent, isStandalone: true, selector: "st-dropdown-menu-bar-sub-trigger", inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, className: { classPropertyName: "className", publicName: "className", isSignal: true, isRequired: false, transformFunction: null }, chevronIcon: { classPropertyName: "chevronIcon", publicName: "chevronIcon", isSignal: true, isRequired: false, transformFunction: null }, menuTriggerFor: { classPropertyName: "menuTriggerFor", publicName: "menuTriggerFor", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "contents" }, ngImport: i0, template: "<li\n\tcdkMenuItem\n\tcdkMenuTrigger\n\t[cdkMenuTriggerFor]=\"menuTriggerFor()\"\n\t[class]=\"triggerClass()\"\n\t[attr.data-state]=\"dataState()\"\n\t(cdkMenuOpened)=\"onMenuOpened()\"\n\t(cdkMenuClosed)=\"onMenuClosed()\"\n\t(mouseenter)=\"onMouseEnter()\"\n\t(mouseleave)=\"onMouseLeave()\"\n>\n\t<a class=\"flex items-center justify-between\">\n\t\t<span class=\"flex-1\">\n\t\t\t<ng-content></ng-content>\n\t\t</span>\n\t\t<st-icon [icon]=\"chevronIcon()\" [class]=\"chevronClass()\"></st-icon>\n\t</a>\n</li>\n", dependencies: [{ kind: "component", type: IconComponent, selector: "st-icon", inputs: ["color", "size", "icon", "ariaLabel"] }, { kind: "directive", type: CdkMenuItem, selector: "[cdkMenuItem]", inputs: ["cdkMenuItemDisabled", "cdkMenuitemTypeaheadLabel"], outputs: ["cdkMenuItemTriggered"], exportAs: ["cdkMenuItem"] }, { kind: "directive", type: CdkMenuTrigger, selector: "[cdkMenuTriggerFor]", inputs: ["cdkMenuTriggerFor", "cdkMenuPosition", "cdkMenuTriggerData"], outputs: ["cdkMenuOpened", "cdkMenuClosed"], exportAs: ["cdkMenuTriggerFor"] }] });
|
|
570
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.25", type: DropdownMenuBarSubTriggerComponent, isStandalone: true, selector: "st-dropdown-menu-bar-sub-trigger", inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, className: { classPropertyName: "className", publicName: "className", isSignal: true, isRequired: false, transformFunction: null }, chevronIcon: { classPropertyName: "chevronIcon", publicName: "chevronIcon", isSignal: true, isRequired: false, transformFunction: null }, menuTriggerFor: { classPropertyName: "menuTriggerFor", publicName: "menuTriggerFor", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "contents" }, ngImport: i0, template: "<li\n\tcdkMenuItem\n\tcdkMenuTrigger\n\t[cdkMenuTriggerFor]=\"menuTriggerFor()\"\n\t[cdkMenuPosition]=\"menuPositions\"\n\t[class]=\"triggerClass()\"\n\t[attr.data-state]=\"dataState()\"\n\t(cdkMenuOpened)=\"onMenuOpened()\"\n\t(cdkMenuClosed)=\"onMenuClosed()\"\n\t(mouseenter)=\"onMouseEnter()\"\n\t(mouseleave)=\"onMouseLeave()\"\n>\n\t<a class=\"flex items-center justify-between\">\n\t\t<span class=\"flex-1\">\n\t\t\t<ng-content></ng-content>\n\t\t</span>\n\t\t<st-icon [icon]=\"chevronIcon()\" [class]=\"chevronClass()\"></st-icon>\n\t</a>\n</li>\n", dependencies: [{ kind: "component", type: IconComponent, selector: "st-icon", inputs: ["color", "size", "icon", "ariaLabel"] }, { kind: "directive", type: CdkMenuItem, selector: "[cdkMenuItem]", inputs: ["cdkMenuItemDisabled", "cdkMenuitemTypeaheadLabel"], outputs: ["cdkMenuItemTriggered"], exportAs: ["cdkMenuItem"] }, { kind: "directive", type: CdkMenuTrigger, selector: "[cdkMenuTriggerFor]", inputs: ["cdkMenuTriggerFor", "cdkMenuPosition", "cdkMenuTriggerData"], outputs: ["cdkMenuOpened", "cdkMenuClosed"], exportAs: ["cdkMenuTriggerFor"] }] });
|
|
564
571
|
}
|
|
565
572
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: DropdownMenuBarSubTriggerComponent, decorators: [{
|
|
566
573
|
type: Component,
|
|
567
574
|
args: [{ selector: 'st-dropdown-menu-bar-sub-trigger', standalone: true, imports: [IconComponent, CdkMenuItem, CdkMenuTrigger], host: {
|
|
568
575
|
class: 'contents',
|
|
569
|
-
}, template: "<li\n\tcdkMenuItem\n\tcdkMenuTrigger\n\t[cdkMenuTriggerFor]=\"menuTriggerFor()\"\n\t[class]=\"triggerClass()\"\n\t[attr.data-state]=\"dataState()\"\n\t(cdkMenuOpened)=\"onMenuOpened()\"\n\t(cdkMenuClosed)=\"onMenuClosed()\"\n\t(mouseenter)=\"onMouseEnter()\"\n\t(mouseleave)=\"onMouseLeave()\"\n>\n\t<a class=\"flex items-center justify-between\">\n\t\t<span class=\"flex-1\">\n\t\t\t<ng-content></ng-content>\n\t\t</span>\n\t\t<st-icon [icon]=\"chevronIcon()\" [class]=\"chevronClass()\"></st-icon>\n\t</a>\n</li>\n" }]
|
|
576
|
+
}, template: "<li\n\tcdkMenuItem\n\tcdkMenuTrigger\n\t[cdkMenuTriggerFor]=\"menuTriggerFor()\"\n\t[cdkMenuPosition]=\"menuPositions\"\n\t[class]=\"triggerClass()\"\n\t[attr.data-state]=\"dataState()\"\n\t(cdkMenuOpened)=\"onMenuOpened()\"\n\t(cdkMenuClosed)=\"onMenuClosed()\"\n\t(mouseenter)=\"onMouseEnter()\"\n\t(mouseleave)=\"onMouseLeave()\"\n>\n\t<a class=\"flex items-center justify-between\">\n\t\t<span class=\"flex-1\">\n\t\t\t<ng-content></ng-content>\n\t\t</span>\n\t\t<st-icon [icon]=\"chevronIcon()\" [class]=\"chevronClass()\"></st-icon>\n\t</a>\n</li>\n" }]
|
|
570
577
|
}] });
|
|
571
578
|
|
|
572
579
|
/**
|
|
@@ -574,6 +581,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
|
|
|
574
581
|
*/
|
|
575
582
|
class DropdownMenuBarTriggerComponent {
|
|
576
583
|
elementRef = inject(ElementRef);
|
|
584
|
+
/** @internal Placements tagged for the shared popover motion */
|
|
585
|
+
menuPositions = popoverMenuPositions();
|
|
577
586
|
// State management
|
|
578
587
|
isOpen = signal(false);
|
|
579
588
|
hoverTimeout = null;
|
|
@@ -635,13 +644,13 @@ class DropdownMenuBarTriggerComponent {
|
|
|
635
644
|
'disabled pointer-events-none opacity-50': this.disabled(),
|
|
636
645
|
}, this.class());
|
|
637
646
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: DropdownMenuBarTriggerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
638
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.25", type: DropdownMenuBarTriggerComponent, isStandalone: true, selector: "st-dropdown-menu-bar-trigger", inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, menuTriggerFor: { classPropertyName: "menuTriggerFor", publicName: "menuTriggerFor", isSignal: true, isRequired: false, transformFunction: null }, class: { classPropertyName: "class", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { opened: "opened", closed: "closed" }, host: { classAttribute: "contents" }, ngImport: i0, template: "<li\n\tcdkMenuItem\n\tcdkMenuTrigger\n\t[cdkMenuTriggerFor]=\"menuTriggerFor()\"\n\t[class]=\"triggerClass()\"\n\t[attr.data-state]=\"dataState()\"\n\t(cdkMenuOpened)=\"onMenuOpened()\"\n\t(cdkMenuClosed)=\"onMenuClosed()\"\n\t(mouseenter)=\"onMouseEnter()\"\n\t(mouseleave)=\"onMouseLeave()\"\n>\n\t<a class=\"flex items-center justify-between\">\n\t\t<span class=\"flex-1\">\n\t\t\t<ng-content></ng-content>\n\t\t</span>\n\t</a>\n</li>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: CdkMenuItem, selector: "[cdkMenuItem]", inputs: ["cdkMenuItemDisabled", "cdkMenuitemTypeaheadLabel"], outputs: ["cdkMenuItemTriggered"], exportAs: ["cdkMenuItem"] }, { kind: "directive", type: CdkMenuTrigger, selector: "[cdkMenuTriggerFor]", inputs: ["cdkMenuTriggerFor", "cdkMenuPosition", "cdkMenuTriggerData"], outputs: ["cdkMenuOpened", "cdkMenuClosed"], exportAs: ["cdkMenuTriggerFor"] }] });
|
|
647
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.25", type: DropdownMenuBarTriggerComponent, isStandalone: true, selector: "st-dropdown-menu-bar-trigger", inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, menuTriggerFor: { classPropertyName: "menuTriggerFor", publicName: "menuTriggerFor", isSignal: true, isRequired: false, transformFunction: null }, class: { classPropertyName: "class", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { opened: "opened", closed: "closed" }, host: { classAttribute: "contents" }, ngImport: i0, template: "<li\n\tcdkMenuItem\n\tcdkMenuTrigger\n\t[cdkMenuTriggerFor]=\"menuTriggerFor()\"\n\t[cdkMenuPosition]=\"menuPositions\"\n\t[class]=\"triggerClass()\"\n\t[attr.data-state]=\"dataState()\"\n\t(cdkMenuOpened)=\"onMenuOpened()\"\n\t(cdkMenuClosed)=\"onMenuClosed()\"\n\t(mouseenter)=\"onMouseEnter()\"\n\t(mouseleave)=\"onMouseLeave()\"\n>\n\t<a class=\"flex items-center justify-between\">\n\t\t<span class=\"flex-1\">\n\t\t\t<ng-content></ng-content>\n\t\t</span>\n\t</a>\n</li>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: CdkMenuItem, selector: "[cdkMenuItem]", inputs: ["cdkMenuItemDisabled", "cdkMenuitemTypeaheadLabel"], outputs: ["cdkMenuItemTriggered"], exportAs: ["cdkMenuItem"] }, { kind: "directive", type: CdkMenuTrigger, selector: "[cdkMenuTriggerFor]", inputs: ["cdkMenuTriggerFor", "cdkMenuPosition", "cdkMenuTriggerData"], outputs: ["cdkMenuOpened", "cdkMenuClosed"], exportAs: ["cdkMenuTriggerFor"] }] });
|
|
639
648
|
}
|
|
640
649
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: DropdownMenuBarTriggerComponent, decorators: [{
|
|
641
650
|
type: Component,
|
|
642
651
|
args: [{ selector: 'st-dropdown-menu-bar-trigger', standalone: true, imports: [CommonModule, CdkMenuItem, CdkMenuTrigger], host: {
|
|
643
652
|
class: 'contents',
|
|
644
|
-
}, template: "<li\n\tcdkMenuItem\n\tcdkMenuTrigger\n\t[cdkMenuTriggerFor]=\"menuTriggerFor()\"\n\t[class]=\"triggerClass()\"\n\t[attr.data-state]=\"dataState()\"\n\t(cdkMenuOpened)=\"onMenuOpened()\"\n\t(cdkMenuClosed)=\"onMenuClosed()\"\n\t(mouseenter)=\"onMouseEnter()\"\n\t(mouseleave)=\"onMouseLeave()\"\n>\n\t<a class=\"flex items-center justify-between\">\n\t\t<span class=\"flex-1\">\n\t\t\t<ng-content></ng-content>\n\t\t</span>\n\t</a>\n</li>\n" }]
|
|
653
|
+
}, template: "<li\n\tcdkMenuItem\n\tcdkMenuTrigger\n\t[cdkMenuTriggerFor]=\"menuTriggerFor()\"\n\t[cdkMenuPosition]=\"menuPositions\"\n\t[class]=\"triggerClass()\"\n\t[attr.data-state]=\"dataState()\"\n\t(cdkMenuOpened)=\"onMenuOpened()\"\n\t(cdkMenuClosed)=\"onMenuClosed()\"\n\t(mouseenter)=\"onMouseEnter()\"\n\t(mouseleave)=\"onMouseLeave()\"\n>\n\t<a class=\"flex items-center justify-between\">\n\t\t<span class=\"flex-1\">\n\t\t\t<ng-content></ng-content>\n\t\t</span>\n\t</a>\n</li>\n" }]
|
|
645
654
|
}] });
|
|
646
655
|
|
|
647
656
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sixbell-telco-sdk-components-dropdown-menu-bar.mjs","sources":["../../../projects/sdk/components/dropdown-menu/bar/dropdown-menu-bar-content/dropdown-menu-bar-content.component.ts","../../../projects/sdk/components/dropdown-menu/bar/dropdown-menu-bar-content/dropdown-menu-bar-content.component.html","../../../projects/sdk/components/dropdown-menu/bar/dropdown-menu-bar-item-checkbox/dropdown-menu-bar-item-checkbox.component.ts","../../../projects/sdk/components/dropdown-menu/bar/dropdown-menu-bar-item-checkbox/dropdown-menu-bar-item-checkbox.component.html","../../../projects/sdk/components/dropdown-menu/bar/dropdown-menu-bar-item-radio/dropdown-menu-bar-item-radio.component.ts","../../../projects/sdk/components/dropdown-menu/bar/dropdown-menu-bar-item-radio/dropdown-menu-bar-item-radio.component.html","../../../projects/sdk/components/dropdown-menu/bar/dropdown-menu-bar-item/dropdown-menu-bar-item.component.ts","../../../projects/sdk/components/dropdown-menu/bar/dropdown-menu-bar-item/dropdown-menu-bar-item.component.html","../../../projects/sdk/components/dropdown-menu/bar/dropdown-menu-bar-label/dropdown-menu-bar-label.component.ts","../../../projects/sdk/components/dropdown-menu/bar/dropdown-menu-bar-label/dropdown-menu-bar-label.component.html","../../../projects/sdk/components/dropdown-menu/bar/dropdown-menu-bar-separator/dropdown-menu-bar-separator.component.ts","../../../projects/sdk/components/dropdown-menu/bar/dropdown-menu-bar-separator/dropdown-menu-bar-separator.component.html","../../../projects/sdk/components/dropdown-menu/bar/dropdown-menu-bar-sub-trigger/dropdown-menu-bar-sub-trigger.component.ts","../../../projects/sdk/components/dropdown-menu/bar/dropdown-menu-bar-sub-trigger/dropdown-menu-bar-sub-trigger.component.html","../../../projects/sdk/components/dropdown-menu/bar/dropdown-menu-bar-trigger/dropdown-menu-bar-trigger.component.ts","../../../projects/sdk/components/dropdown-menu/bar/dropdown-menu-bar-trigger/dropdown-menu-bar-trigger.component.html","../../../projects/sdk/components/dropdown-menu/bar/dropdown-menu-bar/dropdown-menu-bar.component.ts","../../../projects/sdk/components/dropdown-menu/bar/dropdown-menu-bar/dropdown-menu-bar.component.html","../../../projects/sdk/components/dropdown-menu/bar/sixbell-telco-sdk-components-dropdown-menu-bar.ts"],"sourcesContent":["import { CdkMenu, MENU_STACK, PARENT_OR_NEW_MENU_STACK_PROVIDER } from '@angular/cdk/menu';\nimport { booleanAttribute, Component, computed, inject, input, output, signal, TemplateRef, viewChild } from '@angular/core';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\n\n/**\n * Animation states for the menu bar content\n */\ntype AnimationState = 'closed' | 'opening' | 'open' | 'closing';\n\n/**\n * DropdownMenuBarContent - Container for menu bar dropdown content\n */\n@Component({\n\tselector: 'st-dropdown-menu-bar-content',\n\tstandalone: true,\n\timports: [CdkMenu],\n\tproviders: [PARENT_OR_NEW_MENU_STACK_PROVIDER],\n\ttemplateUrl: './dropdown-menu-bar-content.component.html',\n\thost: {\n\t\t'(keydown.escape)': 'onEscapeKey($event)',\n\t},\n\texportAs: 'menuBarContent',\n})\nexport class DropdownMenuBarContentComponent {\n\tprivate readonly menuStack = inject(MENU_STACK, { optional: true });\n\n\tprivate readonly templateRef = viewChild.required<TemplateRef<unknown>>('menuTemplate');\n\n\tget template(): TemplateRef<unknown> {\n\t\treturn this.templateRef();\n\t}\n\n\t// State management\n\tprivate readonly isOpen = signal(false);\n\tprivate readonly isAnimatingOpen = signal(false);\n\n\t/**\n\t * Custom CSS classes\n\t */\n\tclass = input<string>('');\n\n\t/**\n\t * Size variant\n\t */\n\tsize = input<'xs' | 'sm' | 'md' | 'lg' | 'xl'>('md');\n\n\t/** Whether to apply shadow */\n\tshadow = input(true, { transform: booleanAttribute });\n\n\t/**\n\t * Emitted when the menu is opened\n\t */\n\topened = output<void>();\n\n\t/**\n\t * Emitted when the menu is closed\n\t */\n\tclosed = output<void>();\n\n\t/**\n\t * Computed data state for ARIA and animations\n\t */\n\tdataState = computed<AnimationState>(() => {\n\t\tif (!this.isOpen()) return 'closed';\n\t\tif (this.isAnimatingOpen()) return 'opening';\n\t\treturn 'open';\n\t});\n\n\t/**\n\t * Handle ESC key press\n\t */\n\tonEscapeKey(event: KeyboardEvent): void {\n\t\tevent.preventDefault();\n\t\tevent.stopPropagation();\n\t\tthis.closeMenu();\n\t}\n\n\t/**\n\t * Handle menu opened event\n\t */\n\tonMenuOpened(): void {\n\t\tthis.isOpen.set(true);\n\t\tthis.isAnimatingOpen.set(true);\n\t\tthis.opened.emit();\n\t}\n\n\t/**\n\t * Handle menu closed event\n\t */\n\tonMenuClosed(): void {\n\t\tthis.isOpen.set(false);\n\t\tthis.isAnimatingOpen.set(false);\n\t\tthis.closed.emit();\n\t}\n\n\t/**\n\t * Handle animation end\n\t */\n\tonAnimationEnd(event: AnimationEvent): void {\n\t\tif (event.animationName.includes('fade-in')) {\n\t\t\tthis.isAnimatingOpen.set(false);\n\t\t}\n\t}\n\n\t/**\n\t * Close this menu and all child menus\n\t */\n\tcloseMenu(): void {\n\t\t// Menu closing is handled automatically by CDK\n\t}\n\n\t/**\n\t * Computed CSS classes for the menu\n\t */\n\tmenuClass = () =>\n\t\tcn(\n\t\t\t'menu',\n\t\t\t'bg-base-200',\n\t\t\t'rounded-box',\n\t\t\t'border',\n\t\t\t'border-neutral',\n\t\t\t'min-w-48',\n\t\t\t{\n\t\t\t\t'menu-xs': this.size() === 'xs',\n\t\t\t\t'menu-sm': this.size() === 'sm',\n\t\t\t\t'menu-md': this.size() === 'md',\n\t\t\t\t'menu-lg': this.size() === 'lg',\n\t\t\t\t'menu-xl': this.size() === 'xl',\n\t\t\t\t'shadow-main': this.shadow(),\n\t\t\t},\n\t\t\tthis.class(),\n\t\t);\n}\n","<ng-template #menuTemplate>\n\t<ul\n\t\tcdkMenu\n\t\trole=\"menu\"\n\t\t[class]=\"menuClass()\"\n\t\t[attr.data-state]=\"dataState()\"\n\t\t(closed)=\"onMenuClosed()\"\n\t\t(animationend)=\"onAnimationEnd($event)\"\n\t\ttabindex=\"-1\"\n\t>\n\t\t<ng-content></ng-content>\n\t</ul>\n</ng-template>\n","import { CdkMenuItemCheckbox } from '@angular/cdk/menu';\nimport { booleanAttribute, Component, computed, input, output, signal } from '@angular/core';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\n\n/**\n * DropdownMenuBarItemCheckbox - Checkbox menu item for menu bar\n */\n@Component({\n\tselector: 'st-dropdown-menu-bar-item-checkbox',\n\tstandalone: true,\n\timports: [],\n\thostDirectives: [\n\t\t{\n\t\t\tdirective: CdkMenuItemCheckbox,\n\t\t\tinputs: ['cdkMenuItemChecked: checked'],\n\t\t\toutputs: ['cdkMenuItemTriggered: triggered'],\n\t\t},\n\t],\n\ttemplateUrl: './dropdown-menu-bar-item-checkbox.component.html',\n})\nexport class DropdownMenuBarItemCheckboxComponent {\n\t// State\n\tprivate readonly isChecked = signal(false);\n\n\t/**\n\t * Whether the checkbox is checked\n\t */\n\tchecked = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Watch for changes to checked input\n\t */\n\tconstructor() {\n\t\t// Update internal state when input changes\n\t\tthis.isChecked.set(this.checked());\n\t}\n\n\t/**\n\t * Whether the menu item is disabled\n\t */\n\tdisabled = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Custom indicator character or text\n\t */\n\tindicator = input<string>('✓');\n\n\t/**\n\t * Whether to show the indicator\n\t */\n\tshowIndicator = input(true, { transform: booleanAttribute });\n\n\t/**\n\t * Custom CSS classes\n\t */\n\tclass = input<string>('');\n\n\t/**\n\t * Emitted when the checkbox state changes\n\t */\n\tcheckedChanged = output<boolean>();\n\n\t/**\n\t * Emitted when the menu item is triggered/clicked\n\t */\n\ttriggered = output<void>();\n\n\t/**\n\t * Stop event propagation for activation events\n\t * @defaultValue false\n\t */\n\tstopPropagation = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Event emitted on click\n\t */\n\tclicked = output<MouseEvent>();\n\n\t/**\n\t * Event emitted on Enter keydown\n\t */\n\tkeyDownEnter = output<KeyboardEvent>();\n\n\t/**\n\t * Event emitted on Space keydown\n\t */\n\tkeyDownSpace = output<KeyboardEvent>();\n\n\t/**\n\t * Computed data state for ARIA\n\t */\n\tdataState = computed(() => {\n\t\treturn this.checked() ? 'checked' : 'unchecked';\n\t});\n\n\t/**\n\t * Handle item click - toggle checkbox state\n\t */\n\tonItemClick(): void {\n\t\tif (!this.disabled()) {\n\t\t\tconst newChecked = !this.checked();\n\t\t\tthis.isChecked.set(newChecked);\n\t\t\tthis.checkedChanged.emit(newChecked);\n\t\t\tthis.triggered.emit();\n\t\t}\n\t}\n\n\t/**\n\t * @internal\n\t * Handle click activation\n\t */\n\thandleClick(event: MouseEvent): void {\n\t\tif (this.stopPropagation()) {\n\t\t\tevent.stopPropagation();\n\t\t}\n\t\tthis.clicked.emit(event);\n\t\tthis.onItemClick();\n\t}\n\n\t/**\n\t * @internal\n\t * Handle Enter key activation\n\t */\n\thandleKeyDownEnter(event: Event): void {\n\t\tif (this.stopPropagation()) {\n\t\t\tevent.stopPropagation();\n\t\t}\n\t\tthis.keyDownEnter.emit(event as KeyboardEvent);\n\t\tthis.onItemClick();\n\t}\n\n\t/**\n\t * @internal\n\t * Handle Space key activation\n\t */\n\thandleKeyDownSpace(event: Event): void {\n\t\tevent.preventDefault();\n\t\tif (this.stopPropagation()) {\n\t\t\tevent.stopPropagation();\n\t\t}\n\t\tthis.keyDownSpace.emit(event as KeyboardEvent);\n\t\tthis.onItemClick();\n\t}\n\n\t/**\n\t * Computed CSS classes for the menu item\n\t */\n\titemClass = () =>\n\t\tcn(\n\t\t\t'group',\n\t\t\t'transition-colors',\n\t\t\t'duration-200',\n\t\t\t{\n\t\t\t\t'menu-disabled pointer-events-none opacity-50': this.disabled(),\n\t\t\t},\n\t\t\tthis.class(),\n\t\t);\n}\n","<li\n\t[class]=\"itemClass()\"\n\t[attr.data-state]=\"dataState()\"\n\t(click)=\"handleClick($event)\"\n\t(keydown.enter)=\"handleKeyDownEnter($event)\"\n\t(keydown.space)=\"handleKeyDownSpace($event)\"\n\ttabindex=\"0\"\n\trole=\"menuitemcheckbox\"\n\t[attr.aria-checked]=\"checked()\"\n>\n\t<a class=\"flex items-center justify-between\">\n\t\t<span class=\"flex-1\">\n\t\t\t<ng-content></ng-content>\n\t\t</span>\n\t\t@if (showIndicator()) {\n\t\t\t<span class=\"ml-auto text-xs transition-opacity duration-300 ease-in-out group-aria-checked:opacity-100 group-aria-[checked=false]:opacity-0\">\n\t\t\t\t{{ indicator() }}\n\t\t\t</span>\n\t\t}\n\t</a>\n</li>\n","import { CdkMenuItemRadio } from '@angular/cdk/menu';\nimport { booleanAttribute, Component, computed, input, output, signal } from '@angular/core';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\n\n/**\n * DropdownMenuBarItemRadio - Radio menu item for menu bar\n */\n@Component({\n\tselector: 'st-dropdown-menu-bar-item-radio',\n\tstandalone: true,\n\timports: [],\n\thostDirectives: [\n\t\t{\n\t\t\tdirective: CdkMenuItemRadio,\n\t\t\tinputs: ['cdkMenuItemChecked: checked'],\n\t\t\toutputs: ['cdkMenuItemTriggered: triggered'],\n\t\t},\n\t],\n\ttemplateUrl: './dropdown-menu-bar-item-radio.component.html',\n})\nexport class DropdownMenuBarItemRadioComponent {\n\t// State\n\tprivate readonly isChecked = signal(false);\n\n\t/**\n\t * Whether the radio is checked\n\t */\n\tchecked = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * The value of this radio item\n\t */\n\tvalue = input.required<string>();\n\n\t/**\n\t * Whether the menu item is disabled\n\t */\n\tdisabled = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Custom indicator character or text\n\t */\n\tindicator = input<string>('●');\n\n\t/**\n\t * Whether to show the indicator\n\t */\n\tshowIndicator = input(true, { transform: booleanAttribute });\n\n\t/**\n\t * Custom CSS classes\n\t */\n\tclass = input<string>('');\n\n\t/**\n\t * Emitted when the radio state changes\n\t */\n\tcheckedChanged = output<string>();\n\n\t/**\n\t * Emitted when the menu item is triggered/clicked\n\t */\n\ttriggered = output<void>();\n\n\t/**\n\t * Stop event propagation for activation events\n\t * @defaultValue false\n\t */\n\tstopPropagation = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Event emitted on click\n\t */\n\tclicked = output<MouseEvent>();\n\n\t/**\n\t * Event emitted on Enter keydown\n\t */\n\tkeyDownEnter = output<KeyboardEvent>();\n\n\t/**\n\t * Event emitted on Space keydown\n\t */\n\tkeyDownSpace = output<KeyboardEvent>();\n\n\t/**\n\t * Watch for changes to checked input\n\t */\n\tconstructor() {\n\t\t// Update internal state when input changes\n\t\tthis.isChecked.set(this.checked());\n\t}\n\n\t/**\n\t * Computed data state for ARIA\n\t */\n\tdataState = computed(() => {\n\t\treturn this.checked() ? 'checked' : 'unchecked';\n\t});\n\n\t/**\n\t * Handle item click - select this radio option\n\t */\n\tonItemClick(): void {\n\t\tif (!this.disabled() && !this.checked()) {\n\t\t\tthis.isChecked.set(true);\n\t\t\tthis.checkedChanged.emit(this.value());\n\t\t\tthis.triggered.emit();\n\t\t}\n\t}\n\n\t/**\n\t * @internal\n\t * Handle click activation\n\t */\n\thandleClick(event: MouseEvent): void {\n\t\tif (this.stopPropagation()) {\n\t\t\tevent.stopPropagation();\n\t\t}\n\t\tthis.clicked.emit(event);\n\t\tthis.onItemClick();\n\t}\n\n\t/**\n\t * @internal\n\t * Handle Enter key activation\n\t */\n\thandleKeyDownEnter(event: Event): void {\n\t\tif (this.stopPropagation()) {\n\t\t\tevent.stopPropagation();\n\t\t}\n\t\tthis.keyDownEnter.emit(event as KeyboardEvent);\n\t\tthis.onItemClick();\n\t}\n\n\t/**\n\t * @internal\n\t * Handle Space key activation\n\t */\n\thandleKeyDownSpace(event: Event): void {\n\t\tevent.preventDefault();\n\t\tif (this.stopPropagation()) {\n\t\t\tevent.stopPropagation();\n\t\t}\n\t\tthis.keyDownSpace.emit(event as KeyboardEvent);\n\t\tthis.onItemClick();\n\t}\n\n\t/**\n\t * Computed CSS classes for the menu item\n\t */\n\titemClass = () =>\n\t\tcn(\n\t\t\t'group',\n\t\t\t'transition-colors',\n\t\t\t'duration-200',\n\t\t\t{\n\t\t\t\t'menu-disabled pointer-events-none opacity-50': this.disabled(),\n\t\t\t\t'menu-active': this.checked(),\n\t\t\t},\n\t\t\tthis.class(),\n\t\t);\n\n\t/**\n\t * Computed CSS classes for the interactive item surface\n\t */\n\tanchorClass = () =>\n\t\tcn('flex items-center justify-between', {\n\t\t\t'bg-primary text-primary-content': this.checked() && !this.disabled(),\n\t\t});\n}\n","<li\n\t[class]=\"itemClass()\"\n\t[attr.data-state]=\"dataState()\"\n\t(click)=\"handleClick($event)\"\n\t(keydown.enter)=\"handleKeyDownEnter($event)\"\n\t(keydown.space)=\"handleKeyDownSpace($event)\"\n\ttabindex=\"0\"\n\trole=\"menuitemradio\"\n\t[attr.aria-checked]=\"checked()\"\n>\n\t<a [class]=\"anchorClass()\">\n\t\t<span class=\"flex-1\">\n\t\t\t<ng-content></ng-content>\n\t\t</span>\n\t\t@if (showIndicator()) {\n\t\t\t<span\n\t\t\t\tclass=\"ml-auto text-xs transition-opacity duration-300 ease-in-out group-aria-checked:opacity-100 group-aria-[checked=false]:opacity-0\"\n\t\t\t\t[class.rotate-90]=\"checked()\"\n\t\t\t>\n\t\t\t\t{{ indicator() }}\n\t\t\t</span>\n\t\t}\n\t</a>\n</li>\n","import { CdkMenuItem } from '@angular/cdk/menu';\nimport { booleanAttribute, Component, input, output } from '@angular/core';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\n\n/**\n * DropdownMenuBarItem - Regular menu item for menu bar\n */\n@Component({\n\tselector: 'st-dropdown-menu-bar-item',\n\tstandalone: true,\n\timports: [],\n\thostDirectives: [\n\t\t{\n\t\t\tdirective: CdkMenuItem,\n\t\t\toutputs: ['cdkMenuItemTriggered: triggered'],\n\t\t},\n\t],\n\ttemplateUrl: './dropdown-menu-bar-item.component.html',\n})\nexport class DropdownMenuBarItemComponent {\n\t/**\n\t * Whether the menu item is disabled\n\t */\n\tdisabled = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Whether the menu item is active\n\t */\n\tactive = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Optional keyboard shortcut text\n\t */\n\tshortcut = input<string | undefined>();\n\n\t/**\n\t * Custom CSS classes\n\t */\n\tclass = input<string>('');\n\n\t/**\n\t * Emitted when the menu item is triggered/clicked\n\t */\n\ttriggered = output<void>();\n\n\t/**\n\t * Stop event propagation for activation events\n\t * @defaultValue false\n\t */\n\tstopPropagation = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Event emitted on click\n\t */\n\tclicked = output<MouseEvent>();\n\n\t/**\n\t * Event emitted on Enter keydown\n\t */\n\tkeyDownEnter = output<KeyboardEvent>();\n\n\t/**\n\t * Event emitted on Space keydown\n\t */\n\tkeyDownSpace = output<KeyboardEvent>();\n\n\t/**\n\t * Handle item click\n\t */\n\tonItemClick(): void {\n\t\tif (!this.disabled()) {\n\t\t\tthis.triggered.emit();\n\t\t}\n\t}\n\n\t/**\n\t * @internal\n\t * Handle click activation\n\t */\n\thandleClick(event: MouseEvent): void {\n\t\tif (this.stopPropagation()) {\n\t\t\tevent.stopPropagation();\n\t\t}\n\t\tthis.clicked.emit(event);\n\t\tthis.onItemClick();\n\t}\n\n\t/**\n\t * @internal\n\t * Handle Enter key activation\n\t */\n\thandleKeyDownEnter(event: Event): void {\n\t\tif (this.stopPropagation()) {\n\t\t\tevent.stopPropagation();\n\t\t}\n\t\tthis.keyDownEnter.emit(event as KeyboardEvent);\n\t\tthis.onItemClick();\n\t}\n\n\t/**\n\t * @internal\n\t * Handle Space key activation\n\t */\n\thandleKeyDownSpace(event: Event): void {\n\t\tevent.preventDefault();\n\t\tif (this.stopPropagation()) {\n\t\t\tevent.stopPropagation();\n\t\t}\n\t\tthis.keyDownSpace.emit(event as KeyboardEvent);\n\t\tthis.onItemClick();\n\t}\n\n\t/**\n\t * Computed CSS classes for the menu item\n\t */\n\titemClass = () =>\n\t\tcn(\n\t\t\t'transition-colors',\n\t\t\t'duration-200',\n\t\t\t{\n\t\t\t\t'menu-disabled pointer-events-none opacity-50': this.disabled(),\n\t\t\t\t'menu-active': this.active(),\n\t\t\t},\n\t\t\tthis.class(),\n\t\t);\n}\n","<li\n\t[class]=\"itemClass()\"\n\t(click)=\"handleClick($event)\"\n\t(keydown.enter)=\"handleKeyDownEnter($event)\"\n\t(keydown.space)=\"handleKeyDownSpace($event)\"\n\ttabindex=\"0\"\n\trole=\"menuitem\"\n>\n\t<a class=\"flex items-center justify-between\">\n\t\t<span class=\"flex-1\">\n\t\t\t<ng-content></ng-content>\n\t\t</span>\n\t\t@if (shortcut(); as shortcutText) {\n\t\t\t<span class=\"ml-auto text-xs opacity-60\">{{ shortcutText }}</span>\n\t\t}\n\t</a>\n</li>\n","import { Component, input } from '@angular/core';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\n\n/**\n * DropdownMenuBarLabel - Label for menu bar sections\n */\n@Component({\n\tselector: 'st-dropdown-menu-bar-label',\n\tstandalone: true,\n\ttemplateUrl: './dropdown-menu-bar-label.component.html',\n})\nexport class DropdownMenuBarLabelComponent {\n\t/**\n\t * Custom CSS classes\n\t */\n\tclass = input<string>('');\n\n\t/**\n\t * Computed CSS classes for the label\n\t */\n\tlabelClass = () => cn('menu-title text-base-content/80 font-semibold', this.class());\n}\n","<li [class]=\"labelClass()\">\n\t<ng-content></ng-content>\n</li>\n","import { Component, input } from '@angular/core';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\n\n/**\n * DropdownMenuBarSeparator - Visual separator between menu bar sections\n */\n@Component({\n\tselector: 'st-dropdown-menu-bar-separator',\n\tstandalone: true,\n\ttemplateUrl: './dropdown-menu-bar-separator.component.html',\n})\nexport class DropdownMenuBarSeparatorComponent {\n\t/**\n\t * Custom CSS classes\n\t */\n\tclass = input<string>('');\n\n\t/**\n\t * Computed CSS classes for the separator\n\t */\n\tseparatorClass = () => cn('pointer-events-none top-0 left-0 mx-0 my-1 w-full p-0', this.class());\n}\n","<li [class]=\"separatorClass()\"></li>\n","import { CdkMenuItem, CdkMenuTrigger } from '@angular/cdk/menu';\nimport { booleanAttribute, Component, computed, ElementRef, inject, input, signal, TemplateRef } from '@angular/core';\nimport { IconComponent } from '@sixbell-telco/sdk/components/icon';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\n\n/**\n * DropdownMenuBarSubTrigger - Trigger for opening a submenu in menu bar\n */\n@Component({\n\tselector: 'st-dropdown-menu-bar-sub-trigger',\n\tstandalone: true,\n\timports: [IconComponent, CdkMenuItem, CdkMenuTrigger],\n\ttemplateUrl: './dropdown-menu-bar-sub-trigger.component.html',\n\thost: {\n\t\tclass: 'contents',\n\t},\n})\nexport class DropdownMenuBarSubTriggerComponent {\n\tprivate readonly elementRef = inject(ElementRef, { optional: true });\n\n\t// State\n\tprivate readonly isOpen = signal(false);\n\tprivate hoverTimeout: number | null = null;\n\n\t// Inputs\n\treadonly disabled = input(false, { transform: booleanAttribute });\n\treadonly className = input<string>();\n\treadonly chevronIcon = input<string>(''); // Will be passed from parent\n\n\t/**\n\t * Menu template reference for the clean API (menuTriggerFor)\n\t */\n\tmenuTriggerFor = input<TemplateRef<unknown> | null>(null);\n\n\t/**\n\t * Computed data state for ARIA\n\t */\n\tdataState = computed(() => {\n\t\treturn this.isOpen() ? 'open' : 'closed';\n\t});\n\n\t// Computed styles\n\treadonly triggerClass = computed(() =>\n\t\tcn(\n\t\t\t'group',\n\t\t\t'focus:bg-base-200 hover:bg-base-200 cursor-pointer focus:outline-hidden',\n\t\t\t'transition-colors duration-200',\n\t\t\tthis.disabled() && 'disabled pointer-events-none opacity-50',\n\t\t\tthis.className(),\n\t\t),\n\t);\n\n\treadonly chevronClass = computed(() => cn('ml-2 transition-transform duration-200 ease-in-out', this.isOpen() ? 'rotate-90' : 'rotate-0'));\n\n\t// Event handlers\n\tonMenuOpened(): void {\n\t\tthis.isOpen.set(true);\n\t}\n\n\tonMenuClosed(): void {\n\t\tthis.isOpen.set(false);\n\t}\n\n\tonMouseEnter(): void {\n\t\t// CDK MenuTrigger should handle hover behavior automatically when used in a MenuBar\n\t\t// We don't need custom logic here - just let CDK handle it\n\t}\n\n\tonMouseLeave(): void {\n\t\t// Clear timeout if menu hasn't opened yet\n\t\tif (this.hoverTimeout) {\n\t\t\tclearTimeout(this.hoverTimeout);\n\t\t\tthis.hoverTimeout = null;\n\t\t}\n\t}\n}\n","<li\n\tcdkMenuItem\n\tcdkMenuTrigger\n\t[cdkMenuTriggerFor]=\"menuTriggerFor()\"\n\t[class]=\"triggerClass()\"\n\t[attr.data-state]=\"dataState()\"\n\t(cdkMenuOpened)=\"onMenuOpened()\"\n\t(cdkMenuClosed)=\"onMenuClosed()\"\n\t(mouseenter)=\"onMouseEnter()\"\n\t(mouseleave)=\"onMouseLeave()\"\n>\n\t<a class=\"flex items-center justify-between\">\n\t\t<span class=\"flex-1\">\n\t\t\t<ng-content></ng-content>\n\t\t</span>\n\t\t<st-icon [icon]=\"chevronIcon()\" [class]=\"chevronClass()\"></st-icon>\n\t</a>\n</li>\n","import { CdkMenuItem, CdkMenuTrigger } from '@angular/cdk/menu';\nimport { CommonModule } from '@angular/common';\nimport { booleanAttribute, Component, computed, ElementRef, inject, input, output, signal, TemplateRef } from '@angular/core';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\n\n/**\n * DropdownMenuBarTrigger - Trigger element for menu bar items\n */\n@Component({\n\tselector: 'st-dropdown-menu-bar-trigger',\n\tstandalone: true,\n\timports: [CommonModule, CdkMenuItem, CdkMenuTrigger],\n\ttemplateUrl: './dropdown-menu-bar-trigger.component.html',\n\thost: {\n\t\tclass: 'contents',\n\t},\n})\nexport class DropdownMenuBarTriggerComponent {\n\tprivate readonly elementRef = inject(ElementRef);\n\n\t// State management\n\tprivate readonly isOpen = signal(false);\n\tprivate hoverTimeout: number | null = null;\n\n\t/**\n\t * Whether the trigger is disabled\n\t */\n\tdisabled = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Menu template reference for the clean API (menuTriggerFor)\n\t */\n\tmenuTriggerFor = input<TemplateRef<unknown> | null>(null);\n\n\t/**\n\t * Custom CSS classes\n\t */\n\tclass = input<string>('');\n\n\t/**\n\t * Emitted when menu is opened\n\t */\n\topened = output<void>();\n\n\t/**\n\t * Emitted when menu is closed\n\t */\n\tclosed = output<void>();\n\n\t/**\n\t * Computed data state for ARIA attributes\n\t */\n\tdataState = computed(() => {\n\t\treturn this.isOpen() ? 'open' : 'closed';\n\t});\n\n\t/**\n\t * Handle menu opened\n\t */\n\tonMenuOpened(): void {\n\t\tthis.isOpen.set(true);\n\t\tthis.opened.emit();\n\t}\n\n\t/**\n\t * Handle menu closed\n\t */\n\tonMenuClosed(): void {\n\t\tthis.isOpen.set(false);\n\t\tthis.closed.emit();\n\t}\n\n\tonMouseEnter(): void {\n\t\t// CDK MenuTrigger should handle hover behavior automatically when used in a MenuBar\n\t\t// We don't need custom logic here - just let CDK handle it\n\t}\n\n\tonMouseLeave(): void {\n\t\t// Clear timeout if menu hasn't opened yet\n\t\tif (this.hoverTimeout) {\n\t\t\tclearTimeout(this.hoverTimeout);\n\t\t\tthis.hoverTimeout = null;\n\t\t}\n\t}\n\n\t/**\n\t * Computed CSS classes for the trigger\n\t */\n\ttriggerClass = () =>\n\t\tcn(\n\t\t\t'group',\n\t\t\t'transition-colors',\n\t\t\t'duration-200',\n\t\t\t{\n\t\t\t\t'disabled pointer-events-none opacity-50': this.disabled(),\n\t\t\t},\n\t\t\tthis.class(),\n\t\t);\n}\n","<li\n\tcdkMenuItem\n\tcdkMenuTrigger\n\t[cdkMenuTriggerFor]=\"menuTriggerFor()\"\n\t[class]=\"triggerClass()\"\n\t[attr.data-state]=\"dataState()\"\n\t(cdkMenuOpened)=\"onMenuOpened()\"\n\t(cdkMenuClosed)=\"onMenuClosed()\"\n\t(mouseenter)=\"onMouseEnter()\"\n\t(mouseleave)=\"onMouseLeave()\"\n>\n\t<a class=\"flex items-center justify-between\">\n\t\t<span class=\"flex-1\">\n\t\t\t<ng-content></ng-content>\n\t\t</span>\n\t</a>\n</li>\n","import { CdkMenuBar } from '@angular/cdk/menu';\nimport { booleanAttribute, Component, input } from '@angular/core';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\n\n/**\n * DropdownMenuBar - Container for horizontal menu bar (like Google Docs)\n */\n@Component({\n\tselector: 'st-dropdown-menu-bar',\n\tstandalone: true,\n\timports: [CdkMenuBar],\n\ttemplateUrl: './dropdown-menu-bar.component.html',\n\thost: {\n\t\tclass: 'contents',\n\t},\n\texportAs: 'menuBar',\n})\nexport class DropdownMenuBarComponent {\n\t/**\n\t * Custom CSS classes\n\t */\n\tclass = input<string>('');\n\n\t/**\n\t * Size variant\n\t */\n\tsize = input<'xs' | 'sm' | 'md' | 'lg' | 'xl'>('md');\n\n\t/** Whether to apply shadow */\n\tshadow = input(true, { transform: booleanAttribute });\n\n\t/**\n\t * Computed CSS classes for the menu bar\n\t */\n\tmenuBarClass = () =>\n\t\tcn(\n\t\t\t'menu',\n\t\t\t'menu-horizontal',\n\t\t\t'bg-base-200',\n\t\t\t'rounded-box',\n\t\t\t'border',\n\t\t\t'border-neutral',\n\t\t\t'p-1',\n\t\t\t{\n\t\t\t\t'menu-xs': this.size() === 'xs',\n\t\t\t\t'menu-sm': this.size() === 'sm',\n\t\t\t\t'menu-md': this.size() === 'md',\n\t\t\t\t'menu-lg': this.size() === 'lg',\n\t\t\t\t'menu-xl': this.size() === 'xl',\n\t\t\t\t'shadow-main': this.shadow(),\n\t\t\t},\n\t\t\tthis.class(),\n\t\t);\n}\n","<ul [class]=\"menuBarClass()\" cdkMenuBar>\n\t<ng-content></ng-content>\n</ul>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;AASA;;AAEG;MAYU,+BAA+B,CAAA;IAC1B,SAAS,GAAG,MAAM,CAAC,UAAU,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;AAElD,IAAA,WAAW,GAAG,SAAS,CAAC,QAAQ,CAAuB,cAAc,CAAC;AAEvF,IAAA,IAAI,QAAQ,GAAA;AACX,QAAA,OAAO,IAAI,CAAC,WAAW,EAAE;IAC1B;;AAGiB,IAAA,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC;AACtB,IAAA,eAAe,GAAG,MAAM,CAAC,KAAK,CAAC;AAEhD;;AAEG;AACH,IAAA,KAAK,GAAG,KAAK,CAAS,EAAE,CAAC;AAEzB;;AAEG;AACH,IAAA,IAAI,GAAG,KAAK,CAAmC,IAAI,CAAC;;IAGpD,MAAM,GAAG,KAAK,CAAC,IAAI,EAAE,EAAE,SAAS,EAAE,gBAAgB,EAAE,CAAC;AAErD;;AAEG;IACH,MAAM,GAAG,MAAM,EAAQ;AAEvB;;AAEG;IACH,MAAM,GAAG,MAAM,EAAQ;AAEvB;;AAEG;AACH,IAAA,SAAS,GAAG,QAAQ,CAAiB,MAAK;AACzC,QAAA,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE;AAAE,YAAA,OAAO,QAAQ;QACnC,IAAI,IAAI,CAAC,eAAe,EAAE;AAAE,YAAA,OAAO,SAAS;AAC5C,QAAA,OAAO,MAAM;AACd,IAAA,CAAC,CAAC;AAEF;;AAEG;AACH,IAAA,WAAW,CAAC,KAAoB,E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A,iBAAA,EAAA,MAAA,EAAA,UAAA,EAAA,MAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,MAAA,EAAA,EAAA,iBAAA,EAAA,QAAA,EAAA,UAAA,EAAA,QAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,IAAA,EAAA,EAAA,cAAA,EAAA,UAAA,EAAA,EAAA,QAAA,EAAA,CAAA,SAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECjBrC,kFAGA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDOW,UAAU,EAAA,QAAA,EAAA,cAAA,EAAA,QAAA,EAAA,CAAA,YAAA,CAAA,EAAA,CAAA,EAAA,CAAA;;4FAOR,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBAVpC,SAAS;AACC,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,sBAAsB,cACpB,IAAI,EAAA,OAAA,EACP,CAAC,UAAU,CAAC,EAAA,IAAA,EAEf;AACL,wBAAA,KAAK,EAAE,UAAU;AACjB,qBAAA,EAAA,QAAA,EACS,SAAS,EAAA,QAAA,EAAA,kFAAA,EAAA;;;AEfpB;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"sixbell-telco-sdk-components-dropdown-menu-bar.mjs","sources":["../../../projects/sdk/components/dropdown-menu/bar/dropdown-menu-bar-content/dropdown-menu-bar-content.component.ts","../../../projects/sdk/components/dropdown-menu/bar/dropdown-menu-bar-content/dropdown-menu-bar-content.component.html","../../../projects/sdk/components/dropdown-menu/bar/dropdown-menu-bar-item-checkbox/dropdown-menu-bar-item-checkbox.component.ts","../../../projects/sdk/components/dropdown-menu/bar/dropdown-menu-bar-item-checkbox/dropdown-menu-bar-item-checkbox.component.html","../../../projects/sdk/components/dropdown-menu/bar/dropdown-menu-bar-item-radio/dropdown-menu-bar-item-radio.component.ts","../../../projects/sdk/components/dropdown-menu/bar/dropdown-menu-bar-item-radio/dropdown-menu-bar-item-radio.component.html","../../../projects/sdk/components/dropdown-menu/bar/dropdown-menu-bar-item/dropdown-menu-bar-item.component.ts","../../../projects/sdk/components/dropdown-menu/bar/dropdown-menu-bar-item/dropdown-menu-bar-item.component.html","../../../projects/sdk/components/dropdown-menu/bar/dropdown-menu-bar-label/dropdown-menu-bar-label.component.ts","../../../projects/sdk/components/dropdown-menu/bar/dropdown-menu-bar-label/dropdown-menu-bar-label.component.html","../../../projects/sdk/components/dropdown-menu/bar/dropdown-menu-bar-separator/dropdown-menu-bar-separator.component.ts","../../../projects/sdk/components/dropdown-menu/bar/dropdown-menu-bar-separator/dropdown-menu-bar-separator.component.html","../../../projects/sdk/components/dropdown-menu/bar/dropdown-menu-bar-sub-trigger/dropdown-menu-bar-sub-trigger.component.ts","../../../projects/sdk/components/dropdown-menu/bar/dropdown-menu-bar-sub-trigger/dropdown-menu-bar-sub-trigger.component.html","../../../projects/sdk/components/dropdown-menu/bar/dropdown-menu-bar-trigger/dropdown-menu-bar-trigger.component.ts","../../../projects/sdk/components/dropdown-menu/bar/dropdown-menu-bar-trigger/dropdown-menu-bar-trigger.component.html","../../../projects/sdk/components/dropdown-menu/bar/dropdown-menu-bar/dropdown-menu-bar.component.ts","../../../projects/sdk/components/dropdown-menu/bar/dropdown-menu-bar/dropdown-menu-bar.component.html","../../../projects/sdk/components/dropdown-menu/bar/sixbell-telco-sdk-components-dropdown-menu-bar.ts"],"sourcesContent":["import { CdkMenu, MENU_STACK, PARENT_OR_NEW_MENU_STACK_PROVIDER } from '@angular/cdk/menu';\nimport { booleanAttribute, Component, computed, ElementRef, inject, input, output, signal, TemplateRef, viewChild } from '@angular/core';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { PopoverMenuMotionDirective } from '@sixbell-telco/sdk/utils/popover-motion';\n\n/**\n * Animation states for the menu bar content\n */\ntype AnimationState = 'closed' | 'opening' | 'open' | 'closing';\n\n/**\n * DropdownMenuBarContent - Container for menu bar dropdown content\n */\n@Component({\n\tselector: 'st-dropdown-menu-bar-content',\n\tstandalone: true,\n\timports: [CdkMenu, PopoverMenuMotionDirective],\n\tproviders: [PARENT_OR_NEW_MENU_STACK_PROVIDER],\n\ttemplateUrl: './dropdown-menu-bar-content.component.html',\n\thost: {\n\t\t'(keydown.escape)': 'onEscapeKey($event)',\n\t},\n\texportAs: 'menuBarContent',\n})\nexport class DropdownMenuBarContentComponent {\n\t/** @internal Where the menu is declared; its portaled panel takes this element's theme */\n\tprotected readonly host: HTMLElement = inject(ElementRef).nativeElement;\n\n\tprivate readonly menuStack = inject(MENU_STACK, { optional: true });\n\n\tprivate readonly templateRef = viewChild.required<TemplateRef<unknown>>('menuTemplate');\n\n\tget template(): TemplateRef<unknown> {\n\t\treturn this.templateRef();\n\t}\n\n\t// State management\n\tprivate readonly isOpen = signal(false);\n\tprivate readonly isAnimatingOpen = signal(false);\n\n\t/**\n\t * Custom CSS classes\n\t */\n\tclass = input<string>('');\n\n\t/**\n\t * Size variant\n\t */\n\tsize = input<'xs' | 'sm' | 'md' | 'lg' | 'xl'>('md');\n\n\t/** Whether to apply shadow */\n\tshadow = input(true, { transform: booleanAttribute });\n\n\t/**\n\t * Emitted when the menu is opened\n\t */\n\topened = output<void>();\n\n\t/**\n\t * Emitted when the menu is closed\n\t */\n\tclosed = output<void>();\n\n\t/**\n\t * Computed data state\n\t * @deprecated The panel's `data-state` now comes from the shared popover motion; this value is no longer bound\n\t */\n\tdataState = computed<AnimationState>(() => {\n\t\tif (!this.isOpen()) return 'closed';\n\t\tif (this.isAnimatingOpen()) return 'opening';\n\t\treturn 'open';\n\t});\n\n\t/**\n\t * Handle ESC key press\n\t */\n\tonEscapeKey(event: KeyboardEvent): void {\n\t\tevent.preventDefault();\n\t\tevent.stopPropagation();\n\t\tthis.closeMenu();\n\t}\n\n\t/**\n\t * Handle menu opened event\n\t */\n\tonMenuOpened(): void {\n\t\tthis.isOpen.set(true);\n\t\tthis.isAnimatingOpen.set(true);\n\t\tthis.opened.emit();\n\t}\n\n\t/**\n\t * Handle menu closed event\n\t */\n\tonMenuClosed(): void {\n\t\tthis.isOpen.set(false);\n\t\tthis.isAnimatingOpen.set(false);\n\t\tthis.closed.emit();\n\t}\n\n\t/**\n\t * Handle animation end\n\t * @deprecated The shared popover motion settles the panel; this handler is no longer bound\n\t */\n\tonAnimationEnd(event: AnimationEvent): void {\n\t\tif (event.animationName.includes('fade-in')) {\n\t\t\tthis.isAnimatingOpen.set(false);\n\t\t}\n\t}\n\n\t/**\n\t * Close this menu and all child menus\n\t */\n\tcloseMenu(): void {\n\t\t// Menu closing is handled automatically by CDK\n\t}\n\n\t/**\n\t * Computed CSS classes for the menu\n\t */\n\tmenuClass = () =>\n\t\tcn(\n\t\t\t'menu',\n\t\t\t'bg-base-200',\n\t\t\t'rounded-box',\n\t\t\t'border',\n\t\t\t'border-neutral',\n\t\t\t'min-w-48',\n\t\t\t{\n\t\t\t\t'menu-xs': this.size() === 'xs',\n\t\t\t\t'menu-sm': this.size() === 'sm',\n\t\t\t\t'menu-md': this.size() === 'md',\n\t\t\t\t'menu-lg': this.size() === 'lg',\n\t\t\t\t'menu-xl': this.size() === 'xl',\n\t\t\t\t'shadow-main': this.shadow(),\n\t\t\t},\n\t\t\tthis.class(),\n\t\t);\n}\n","<ng-template #menuTemplate>\n\t<ul cdkMenu stPopoverMenuMotion [stPopoverMenuMotionTheme]=\"host\" role=\"menu\" [class]=\"menuClass()\" (closed)=\"onMenuClosed()\" tabindex=\"-1\">\n\t\t<ng-content></ng-content>\n\t</ul>\n</ng-template>\n","import { CdkMenuItemCheckbox } from '@angular/cdk/menu';\nimport { booleanAttribute, Component, computed, input, output, signal } from '@angular/core';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\n\n/**\n * DropdownMenuBarItemCheckbox - Checkbox menu item for menu bar\n */\n@Component({\n\tselector: 'st-dropdown-menu-bar-item-checkbox',\n\tstandalone: true,\n\timports: [],\n\thostDirectives: [\n\t\t{\n\t\t\tdirective: CdkMenuItemCheckbox,\n\t\t\tinputs: ['cdkMenuItemChecked: checked'],\n\t\t\toutputs: ['cdkMenuItemTriggered: triggered'],\n\t\t},\n\t],\n\ttemplateUrl: './dropdown-menu-bar-item-checkbox.component.html',\n})\nexport class DropdownMenuBarItemCheckboxComponent {\n\t// State\n\tprivate readonly isChecked = signal(false);\n\n\t/**\n\t * Whether the checkbox is checked\n\t */\n\tchecked = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Watch for changes to checked input\n\t */\n\tconstructor() {\n\t\t// Update internal state when input changes\n\t\tthis.isChecked.set(this.checked());\n\t}\n\n\t/**\n\t * Whether the menu item is disabled\n\t */\n\tdisabled = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Custom indicator character or text\n\t */\n\tindicator = input<string>('✓');\n\n\t/**\n\t * Whether to show the indicator\n\t */\n\tshowIndicator = input(true, { transform: booleanAttribute });\n\n\t/**\n\t * Custom CSS classes\n\t */\n\tclass = input<string>('');\n\n\t/**\n\t * Emitted when the checkbox state changes\n\t */\n\tcheckedChanged = output<boolean>();\n\n\t/**\n\t * Emitted when the menu item is triggered/clicked\n\t */\n\ttriggered = output<void>();\n\n\t/**\n\t * Stop event propagation for activation events\n\t * @defaultValue false\n\t */\n\tstopPropagation = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Event emitted on click\n\t */\n\tclicked = output<MouseEvent>();\n\n\t/**\n\t * Event emitted on Enter keydown\n\t */\n\tkeyDownEnter = output<KeyboardEvent>();\n\n\t/**\n\t * Event emitted on Space keydown\n\t */\n\tkeyDownSpace = output<KeyboardEvent>();\n\n\t/**\n\t * Computed data state for ARIA\n\t */\n\tdataState = computed(() => {\n\t\treturn this.checked() ? 'checked' : 'unchecked';\n\t});\n\n\t/**\n\t * Handle item click - toggle checkbox state\n\t */\n\tonItemClick(): void {\n\t\tif (!this.disabled()) {\n\t\t\tconst newChecked = !this.checked();\n\t\t\tthis.isChecked.set(newChecked);\n\t\t\tthis.checkedChanged.emit(newChecked);\n\t\t\tthis.triggered.emit();\n\t\t}\n\t}\n\n\t/**\n\t * @internal\n\t * Handle click activation\n\t */\n\thandleClick(event: MouseEvent): void {\n\t\tif (this.stopPropagation()) {\n\t\t\tevent.stopPropagation();\n\t\t}\n\t\tthis.clicked.emit(event);\n\t\tthis.onItemClick();\n\t}\n\n\t/**\n\t * @internal\n\t * Handle Enter key activation\n\t */\n\thandleKeyDownEnter(event: Event): void {\n\t\tif (this.stopPropagation()) {\n\t\t\tevent.stopPropagation();\n\t\t}\n\t\tthis.keyDownEnter.emit(event as KeyboardEvent);\n\t\tthis.onItemClick();\n\t}\n\n\t/**\n\t * @internal\n\t * Handle Space key activation\n\t */\n\thandleKeyDownSpace(event: Event): void {\n\t\tevent.preventDefault();\n\t\tif (this.stopPropagation()) {\n\t\t\tevent.stopPropagation();\n\t\t}\n\t\tthis.keyDownSpace.emit(event as KeyboardEvent);\n\t\tthis.onItemClick();\n\t}\n\n\t/**\n\t * Computed CSS classes for the menu item\n\t */\n\titemClass = () =>\n\t\tcn(\n\t\t\t'group',\n\t\t\t'transition-colors',\n\t\t\t'duration-200',\n\t\t\t{\n\t\t\t\t'menu-disabled pointer-events-none opacity-50': this.disabled(),\n\t\t\t},\n\t\t\tthis.class(),\n\t\t);\n}\n","<li\n\t[class]=\"itemClass()\"\n\t[attr.data-state]=\"dataState()\"\n\t(click)=\"handleClick($event)\"\n\t(keydown.enter)=\"handleKeyDownEnter($event)\"\n\t(keydown.space)=\"handleKeyDownSpace($event)\"\n\ttabindex=\"0\"\n\trole=\"menuitemcheckbox\"\n\t[attr.aria-checked]=\"checked()\"\n>\n\t<a class=\"flex items-center justify-between\">\n\t\t<span class=\"flex-1\">\n\t\t\t<ng-content></ng-content>\n\t\t</span>\n\t\t@if (showIndicator()) {\n\t\t\t<span class=\"ml-auto text-xs transition-opacity duration-300 ease-in-out group-aria-checked:opacity-100 group-aria-[checked=false]:opacity-0\">\n\t\t\t\t{{ indicator() }}\n\t\t\t</span>\n\t\t}\n\t</a>\n</li>\n","import { CdkMenuItemRadio } from '@angular/cdk/menu';\nimport { booleanAttribute, Component, computed, input, output, signal } from '@angular/core';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\n\n/**\n * DropdownMenuBarItemRadio - Radio menu item for menu bar\n */\n@Component({\n\tselector: 'st-dropdown-menu-bar-item-radio',\n\tstandalone: true,\n\timports: [],\n\thostDirectives: [\n\t\t{\n\t\t\tdirective: CdkMenuItemRadio,\n\t\t\tinputs: ['cdkMenuItemChecked: checked'],\n\t\t\toutputs: ['cdkMenuItemTriggered: triggered'],\n\t\t},\n\t],\n\ttemplateUrl: './dropdown-menu-bar-item-radio.component.html',\n})\nexport class DropdownMenuBarItemRadioComponent {\n\t// State\n\tprivate readonly isChecked = signal(false);\n\n\t/**\n\t * Whether the radio is checked\n\t */\n\tchecked = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * The value of this radio item\n\t */\n\tvalue = input.required<string>();\n\n\t/**\n\t * Whether the menu item is disabled\n\t */\n\tdisabled = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Custom indicator character or text\n\t */\n\tindicator = input<string>('●');\n\n\t/**\n\t * Whether to show the indicator\n\t */\n\tshowIndicator = input(true, { transform: booleanAttribute });\n\n\t/**\n\t * Custom CSS classes\n\t */\n\tclass = input<string>('');\n\n\t/**\n\t * Emitted when the radio state changes\n\t */\n\tcheckedChanged = output<string>();\n\n\t/**\n\t * Emitted when the menu item is triggered/clicked\n\t */\n\ttriggered = output<void>();\n\n\t/**\n\t * Stop event propagation for activation events\n\t * @defaultValue false\n\t */\n\tstopPropagation = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Event emitted on click\n\t */\n\tclicked = output<MouseEvent>();\n\n\t/**\n\t * Event emitted on Enter keydown\n\t */\n\tkeyDownEnter = output<KeyboardEvent>();\n\n\t/**\n\t * Event emitted on Space keydown\n\t */\n\tkeyDownSpace = output<KeyboardEvent>();\n\n\t/**\n\t * Watch for changes to checked input\n\t */\n\tconstructor() {\n\t\t// Update internal state when input changes\n\t\tthis.isChecked.set(this.checked());\n\t}\n\n\t/**\n\t * Computed data state for ARIA\n\t */\n\tdataState = computed(() => {\n\t\treturn this.checked() ? 'checked' : 'unchecked';\n\t});\n\n\t/**\n\t * Handle item click - select this radio option\n\t */\n\tonItemClick(): void {\n\t\tif (!this.disabled() && !this.checked()) {\n\t\t\tthis.isChecked.set(true);\n\t\t\tthis.checkedChanged.emit(this.value());\n\t\t\tthis.triggered.emit();\n\t\t}\n\t}\n\n\t/**\n\t * @internal\n\t * Handle click activation\n\t */\n\thandleClick(event: MouseEvent): void {\n\t\tif (this.stopPropagation()) {\n\t\t\tevent.stopPropagation();\n\t\t}\n\t\tthis.clicked.emit(event);\n\t\tthis.onItemClick();\n\t}\n\n\t/**\n\t * @internal\n\t * Handle Enter key activation\n\t */\n\thandleKeyDownEnter(event: Event): void {\n\t\tif (this.stopPropagation()) {\n\t\t\tevent.stopPropagation();\n\t\t}\n\t\tthis.keyDownEnter.emit(event as KeyboardEvent);\n\t\tthis.onItemClick();\n\t}\n\n\t/**\n\t * @internal\n\t * Handle Space key activation\n\t */\n\thandleKeyDownSpace(event: Event): void {\n\t\tevent.preventDefault();\n\t\tif (this.stopPropagation()) {\n\t\t\tevent.stopPropagation();\n\t\t}\n\t\tthis.keyDownSpace.emit(event as KeyboardEvent);\n\t\tthis.onItemClick();\n\t}\n\n\t/**\n\t * Computed CSS classes for the menu item\n\t */\n\titemClass = () =>\n\t\tcn(\n\t\t\t'group',\n\t\t\t'transition-colors',\n\t\t\t'duration-200',\n\t\t\t{\n\t\t\t\t'menu-disabled pointer-events-none opacity-50': this.disabled(),\n\t\t\t\t'menu-active': this.checked(),\n\t\t\t},\n\t\t\tthis.class(),\n\t\t);\n\n\t/**\n\t * Computed CSS classes for the interactive item surface\n\t */\n\tanchorClass = () =>\n\t\tcn('flex items-center justify-between', {\n\t\t\t'bg-primary text-primary-content': this.checked() && !this.disabled(),\n\t\t});\n}\n","<li\n\t[class]=\"itemClass()\"\n\t[attr.data-state]=\"dataState()\"\n\t(click)=\"handleClick($event)\"\n\t(keydown.enter)=\"handleKeyDownEnter($event)\"\n\t(keydown.space)=\"handleKeyDownSpace($event)\"\n\ttabindex=\"0\"\n\trole=\"menuitemradio\"\n\t[attr.aria-checked]=\"checked()\"\n>\n\t<a [class]=\"anchorClass()\">\n\t\t<span class=\"flex-1\">\n\t\t\t<ng-content></ng-content>\n\t\t</span>\n\t\t@if (showIndicator()) {\n\t\t\t<span\n\t\t\t\tclass=\"ml-auto text-xs transition-opacity duration-300 ease-in-out group-aria-checked:opacity-100 group-aria-[checked=false]:opacity-0\"\n\t\t\t\t[class.rotate-90]=\"checked()\"\n\t\t\t>\n\t\t\t\t{{ indicator() }}\n\t\t\t</span>\n\t\t}\n\t</a>\n</li>\n","import { CdkMenuItem } from '@angular/cdk/menu';\nimport { booleanAttribute, Component, input, output } from '@angular/core';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\n\n/**\n * DropdownMenuBarItem - Regular menu item for menu bar\n */\n@Component({\n\tselector: 'st-dropdown-menu-bar-item',\n\tstandalone: true,\n\timports: [],\n\thostDirectives: [\n\t\t{\n\t\t\tdirective: CdkMenuItem,\n\t\t\toutputs: ['cdkMenuItemTriggered: triggered'],\n\t\t},\n\t],\n\ttemplateUrl: './dropdown-menu-bar-item.component.html',\n})\nexport class DropdownMenuBarItemComponent {\n\t/**\n\t * Whether the menu item is disabled\n\t */\n\tdisabled = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Whether the menu item is active\n\t */\n\tactive = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Optional keyboard shortcut text\n\t */\n\tshortcut = input<string | undefined>();\n\n\t/**\n\t * Custom CSS classes\n\t */\n\tclass = input<string>('');\n\n\t/**\n\t * Emitted when the menu item is triggered/clicked\n\t */\n\ttriggered = output<void>();\n\n\t/**\n\t * Stop event propagation for activation events\n\t * @defaultValue false\n\t */\n\tstopPropagation = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Event emitted on click\n\t */\n\tclicked = output<MouseEvent>();\n\n\t/**\n\t * Event emitted on Enter keydown\n\t */\n\tkeyDownEnter = output<KeyboardEvent>();\n\n\t/**\n\t * Event emitted on Space keydown\n\t */\n\tkeyDownSpace = output<KeyboardEvent>();\n\n\t/**\n\t * Handle item click\n\t */\n\tonItemClick(): void {\n\t\tif (!this.disabled()) {\n\t\t\tthis.triggered.emit();\n\t\t}\n\t}\n\n\t/**\n\t * @internal\n\t * Handle click activation\n\t */\n\thandleClick(event: MouseEvent): void {\n\t\tif (this.stopPropagation()) {\n\t\t\tevent.stopPropagation();\n\t\t}\n\t\tthis.clicked.emit(event);\n\t\tthis.onItemClick();\n\t}\n\n\t/**\n\t * @internal\n\t * Handle Enter key activation\n\t */\n\thandleKeyDownEnter(event: Event): void {\n\t\tif (this.stopPropagation()) {\n\t\t\tevent.stopPropagation();\n\t\t}\n\t\tthis.keyDownEnter.emit(event as KeyboardEvent);\n\t\tthis.onItemClick();\n\t}\n\n\t/**\n\t * @internal\n\t * Handle Space key activation\n\t */\n\thandleKeyDownSpace(event: Event): void {\n\t\tevent.preventDefault();\n\t\tif (this.stopPropagation()) {\n\t\t\tevent.stopPropagation();\n\t\t}\n\t\tthis.keyDownSpace.emit(event as KeyboardEvent);\n\t\tthis.onItemClick();\n\t}\n\n\t/**\n\t * Computed CSS classes for the menu item\n\t */\n\titemClass = () =>\n\t\tcn(\n\t\t\t'transition-colors',\n\t\t\t'duration-200',\n\t\t\t{\n\t\t\t\t'menu-disabled pointer-events-none opacity-50': this.disabled(),\n\t\t\t\t'menu-active': this.active(),\n\t\t\t},\n\t\t\tthis.class(),\n\t\t);\n}\n","<li\n\t[class]=\"itemClass()\"\n\t(click)=\"handleClick($event)\"\n\t(keydown.enter)=\"handleKeyDownEnter($event)\"\n\t(keydown.space)=\"handleKeyDownSpace($event)\"\n\ttabindex=\"0\"\n\trole=\"menuitem\"\n>\n\t<a class=\"flex items-center justify-between\">\n\t\t<span class=\"flex-1\">\n\t\t\t<ng-content></ng-content>\n\t\t</span>\n\t\t@if (shortcut(); as shortcutText) {\n\t\t\t<span class=\"ml-auto text-xs opacity-60\">{{ shortcutText }}</span>\n\t\t}\n\t</a>\n</li>\n","import { Component, input } from '@angular/core';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\n\n/**\n * DropdownMenuBarLabel - Label for menu bar sections\n */\n@Component({\n\tselector: 'st-dropdown-menu-bar-label',\n\tstandalone: true,\n\ttemplateUrl: './dropdown-menu-bar-label.component.html',\n})\nexport class DropdownMenuBarLabelComponent {\n\t/**\n\t * Custom CSS classes\n\t */\n\tclass = input<string>('');\n\n\t/**\n\t * Computed CSS classes for the label\n\t */\n\tlabelClass = () => cn('menu-title text-base-content/80 font-semibold', this.class());\n}\n","<li [class]=\"labelClass()\">\n\t<ng-content></ng-content>\n</li>\n","import { Component, input } from '@angular/core';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\n\n/**\n * DropdownMenuBarSeparator - Visual separator between menu bar sections\n */\n@Component({\n\tselector: 'st-dropdown-menu-bar-separator',\n\tstandalone: true,\n\ttemplateUrl: './dropdown-menu-bar-separator.component.html',\n})\nexport class DropdownMenuBarSeparatorComponent {\n\t/**\n\t * Custom CSS classes\n\t */\n\tclass = input<string>('');\n\n\t/**\n\t * Computed CSS classes for the separator\n\t */\n\tseparatorClass = () => cn('pointer-events-none top-0 left-0 mx-0 my-1 w-full p-0', this.class());\n}\n","<li [class]=\"separatorClass()\"></li>\n","import { CdkMenuItem, CdkMenuTrigger } from '@angular/cdk/menu';\nimport { booleanAttribute, Component, computed, ElementRef, inject, input, signal, TemplateRef } from '@angular/core';\nimport { IconComponent } from '@sixbell-telco/sdk/components/icon';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { popoverMenuPositions } from '@sixbell-telco/sdk/utils/popover-motion';\n\n/**\n * DropdownMenuBarSubTrigger - Trigger for opening a submenu in menu bar\n */\n@Component({\n\tselector: 'st-dropdown-menu-bar-sub-trigger',\n\tstandalone: true,\n\timports: [IconComponent, CdkMenuItem, CdkMenuTrigger],\n\ttemplateUrl: './dropdown-menu-bar-sub-trigger.component.html',\n\thost: {\n\t\tclass: 'contents',\n\t},\n})\nexport class DropdownMenuBarSubTriggerComponent {\n\tprivate readonly elementRef = inject(ElementRef, { optional: true });\n\n\t/** @internal Placements tagged for the shared popover motion */\n\tprotected readonly menuPositions = popoverMenuPositions();\n\n\t// State\n\tprivate readonly isOpen = signal(false);\n\tprivate hoverTimeout: number | null = null;\n\n\t// Inputs\n\treadonly disabled = input(false, { transform: booleanAttribute });\n\treadonly className = input<string>();\n\treadonly chevronIcon = input<string>(''); // Will be passed from parent\n\n\t/**\n\t * Menu template reference for the clean API (menuTriggerFor)\n\t */\n\tmenuTriggerFor = input<TemplateRef<unknown> | null>(null);\n\n\t/**\n\t * Computed data state for ARIA\n\t */\n\tdataState = computed(() => {\n\t\treturn this.isOpen() ? 'open' : 'closed';\n\t});\n\n\t// Computed styles\n\treadonly triggerClass = computed(() =>\n\t\tcn(\n\t\t\t'group',\n\t\t\t'focus:bg-base-200 hover:bg-base-200 cursor-pointer focus:outline-hidden',\n\t\t\t'transition-colors duration-200',\n\t\t\tthis.disabled() && 'disabled pointer-events-none opacity-50',\n\t\t\tthis.className(),\n\t\t),\n\t);\n\n\treadonly chevronClass = computed(() => cn('ml-2 transition-transform duration-200 ease-in-out', this.isOpen() ? 'rotate-90' : 'rotate-0'));\n\n\t// Event handlers\n\tonMenuOpened(): void {\n\t\tthis.isOpen.set(true);\n\t}\n\n\tonMenuClosed(): void {\n\t\tthis.isOpen.set(false);\n\t}\n\n\tonMouseEnter(): void {\n\t\t// CDK MenuTrigger should handle hover behavior automatically when used in a MenuBar\n\t\t// We don't need custom logic here - just let CDK handle it\n\t}\n\n\tonMouseLeave(): void {\n\t\t// Clear timeout if menu hasn't opened yet\n\t\tif (this.hoverTimeout) {\n\t\t\tclearTimeout(this.hoverTimeout);\n\t\t\tthis.hoverTimeout = null;\n\t\t}\n\t}\n}\n","<li\n\tcdkMenuItem\n\tcdkMenuTrigger\n\t[cdkMenuTriggerFor]=\"menuTriggerFor()\"\n\t[cdkMenuPosition]=\"menuPositions\"\n\t[class]=\"triggerClass()\"\n\t[attr.data-state]=\"dataState()\"\n\t(cdkMenuOpened)=\"onMenuOpened()\"\n\t(cdkMenuClosed)=\"onMenuClosed()\"\n\t(mouseenter)=\"onMouseEnter()\"\n\t(mouseleave)=\"onMouseLeave()\"\n>\n\t<a class=\"flex items-center justify-between\">\n\t\t<span class=\"flex-1\">\n\t\t\t<ng-content></ng-content>\n\t\t</span>\n\t\t<st-icon [icon]=\"chevronIcon()\" [class]=\"chevronClass()\"></st-icon>\n\t</a>\n</li>\n","import { CdkMenuItem, CdkMenuTrigger } from '@angular/cdk/menu';\nimport { CommonModule } from '@angular/common';\nimport { booleanAttribute, Component, computed, ElementRef, inject, input, output, signal, TemplateRef } from '@angular/core';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\nimport { popoverMenuPositions } from '@sixbell-telco/sdk/utils/popover-motion';\n\n/**\n * DropdownMenuBarTrigger - Trigger element for menu bar items\n */\n@Component({\n\tselector: 'st-dropdown-menu-bar-trigger',\n\tstandalone: true,\n\timports: [CommonModule, CdkMenuItem, CdkMenuTrigger],\n\ttemplateUrl: './dropdown-menu-bar-trigger.component.html',\n\thost: {\n\t\tclass: 'contents',\n\t},\n})\nexport class DropdownMenuBarTriggerComponent {\n\tprivate readonly elementRef = inject(ElementRef);\n\n\t/** @internal Placements tagged for the shared popover motion */\n\tprotected readonly menuPositions = popoverMenuPositions();\n\n\t// State management\n\tprivate readonly isOpen = signal(false);\n\tprivate hoverTimeout: number | null = null;\n\n\t/**\n\t * Whether the trigger is disabled\n\t */\n\tdisabled = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Menu template reference for the clean API (menuTriggerFor)\n\t */\n\tmenuTriggerFor = input<TemplateRef<unknown> | null>(null);\n\n\t/**\n\t * Custom CSS classes\n\t */\n\tclass = input<string>('');\n\n\t/**\n\t * Emitted when menu is opened\n\t */\n\topened = output<void>();\n\n\t/**\n\t * Emitted when menu is closed\n\t */\n\tclosed = output<void>();\n\n\t/**\n\t * Computed data state for ARIA attributes\n\t */\n\tdataState = computed(() => {\n\t\treturn this.isOpen() ? 'open' : 'closed';\n\t});\n\n\t/**\n\t * Handle menu opened\n\t */\n\tonMenuOpened(): void {\n\t\tthis.isOpen.set(true);\n\t\tthis.opened.emit();\n\t}\n\n\t/**\n\t * Handle menu closed\n\t */\n\tonMenuClosed(): void {\n\t\tthis.isOpen.set(false);\n\t\tthis.closed.emit();\n\t}\n\n\tonMouseEnter(): void {\n\t\t// CDK MenuTrigger should handle hover behavior automatically when used in a MenuBar\n\t\t// We don't need custom logic here - just let CDK handle it\n\t}\n\n\tonMouseLeave(): void {\n\t\t// Clear timeout if menu hasn't opened yet\n\t\tif (this.hoverTimeout) {\n\t\t\tclearTimeout(this.hoverTimeout);\n\t\t\tthis.hoverTimeout = null;\n\t\t}\n\t}\n\n\t/**\n\t * Computed CSS classes for the trigger\n\t */\n\ttriggerClass = () =>\n\t\tcn(\n\t\t\t'group',\n\t\t\t'transition-colors',\n\t\t\t'duration-200',\n\t\t\t{\n\t\t\t\t'disabled pointer-events-none opacity-50': this.disabled(),\n\t\t\t},\n\t\t\tthis.class(),\n\t\t);\n}\n","<li\n\tcdkMenuItem\n\tcdkMenuTrigger\n\t[cdkMenuTriggerFor]=\"menuTriggerFor()\"\n\t[cdkMenuPosition]=\"menuPositions\"\n\t[class]=\"triggerClass()\"\n\t[attr.data-state]=\"dataState()\"\n\t(cdkMenuOpened)=\"onMenuOpened()\"\n\t(cdkMenuClosed)=\"onMenuClosed()\"\n\t(mouseenter)=\"onMouseEnter()\"\n\t(mouseleave)=\"onMouseLeave()\"\n>\n\t<a class=\"flex items-center justify-between\">\n\t\t<span class=\"flex-1\">\n\t\t\t<ng-content></ng-content>\n\t\t</span>\n\t</a>\n</li>\n","import { CdkMenuBar } from '@angular/cdk/menu';\nimport { booleanAttribute, Component, input } from '@angular/core';\nimport { cn } from '@sixbell-telco/sdk/utils/cn';\n\n/**\n * DropdownMenuBar - Container for horizontal menu bar (like Google Docs)\n */\n@Component({\n\tselector: 'st-dropdown-menu-bar',\n\tstandalone: true,\n\timports: [CdkMenuBar],\n\ttemplateUrl: './dropdown-menu-bar.component.html',\n\thost: {\n\t\tclass: 'contents',\n\t},\n\texportAs: 'menuBar',\n})\nexport class DropdownMenuBarComponent {\n\t/**\n\t * Custom CSS classes\n\t */\n\tclass = input<string>('');\n\n\t/**\n\t * Size variant\n\t */\n\tsize = input<'xs' | 'sm' | 'md' | 'lg' | 'xl'>('md');\n\n\t/** Whether to apply shadow */\n\tshadow = input(true, { transform: booleanAttribute });\n\n\t/**\n\t * Computed CSS classes for the menu bar\n\t */\n\tmenuBarClass = () =>\n\t\tcn(\n\t\t\t'menu',\n\t\t\t'menu-horizontal',\n\t\t\t'bg-base-200',\n\t\t\t'rounded-box',\n\t\t\t'border',\n\t\t\t'border-neutral',\n\t\t\t'p-1',\n\t\t\t{\n\t\t\t\t'menu-xs': this.size() === 'xs',\n\t\t\t\t'menu-sm': this.size() === 'sm',\n\t\t\t\t'menu-md': this.size() === 'md',\n\t\t\t\t'menu-lg': this.size() === 'lg',\n\t\t\t\t'menu-xl': this.size() === 'xl',\n\t\t\t\t'shadow-main': this.shadow(),\n\t\t\t},\n\t\t\tthis.class(),\n\t\t);\n}\n","<ul [class]=\"menuBarClass()\" cdkMenuBar>\n\t<ng-content></ng-content>\n</ul>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;AAUA;;AAEG;MAYU,+BAA+B,CAAA;;AAExB,IAAA,IAAI,GAAgB,MAAM,CAAC,UAAU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k/menu';
|
|
|
3
3
|
import { DOCUMENT } from '@angular/common';
|
|
4
4
|
import * as i0 from '@angular/core';
|
|
5
5
|
import { inject, input, booleanAttribute, Component } from '@angular/core';
|
|
6
|
+
import { popoverContextMenuPositions } from '@sixbell-telco/sdk/utils/popover-motion';
|
|
6
7
|
|
|
7
8
|
/**
|
|
8
9
|
* DropdownContextMenuTrigger - Trigger for context menu (right-click)
|
|
9
10
|
*/
|
|
10
11
|
class DropdownContextMenuTriggerComponent {
|
|
11
12
|
document = inject(DOCUMENT);
|
|
13
|
+
constructor() {
|
|
14
|
+
inject(CdkContextMenuTrigger).menuPosition = popoverContextMenuPositions();
|
|
15
|
+
}
|
|
12
16
|
originalBodyOverflow = '';
|
|
13
17
|
/**
|
|
14
18
|
* Whether the context menu is disabled
|
|
@@ -42,7 +46,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
|
|
|
42
46
|
'(opened)': 'onMenuOpened()',
|
|
43
47
|
'(closed)': 'onMenuClosed()',
|
|
44
48
|
}, template: "<ng-content></ng-content>\n" }]
|
|
45
|
-
}] });
|
|
49
|
+
}], ctorParameters: () => [] });
|
|
46
50
|
|
|
47
51
|
/**
|
|
48
52
|
* Generated bundle index. Do not edit.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sixbell-telco-sdk-components-dropdown-menu-context.mjs","sources":["../../../projects/sdk/components/dropdown-menu/context/dropdown-context-menu-trigger/dropdown-context-menu-trigger.component.ts","../../../projects/sdk/components/dropdown-menu/context/dropdown-context-menu-trigger/dropdown-context-menu-trigger.component.html","../../../projects/sdk/components/dropdown-menu/context/sixbell-telco-sdk-components-dropdown-menu-context.ts"],"sourcesContent":["import { CdkContextMenuTrigger } from '@angular/cdk/menu';\nimport { DOCUMENT } from '@angular/common';\nimport { booleanAttribute, Component, inject, input } from '@angular/core';\n\n/**\n * DropdownContextMenuTrigger - Trigger for context menu (right-click)\n */\n@Component({\n\tselector: 'st-dropdown-context-menu-trigger',\n\tstandalone: true,\n\timports: [],\n\ttemplateUrl: './dropdown-context-menu-trigger.component.html',\n\thostDirectives: [\n\t\t{\n\t\t\tdirective: CdkContextMenuTrigger,\n\t\t\tinputs: ['cdkContextMenuTriggerFor: menuTriggerFor'],\n\t\t\toutputs: ['cdkContextMenuOpened: opened', 'cdkContextMenuClosed: closed'],\n\t\t},\n\t],\n\thost: {\n\t\t'(opened)': 'onMenuOpened()',\n\t\t'(closed)': 'onMenuClosed()',\n\t},\n})\nexport class DropdownContextMenuTriggerComponent {\n\tprivate readonly document = inject(DOCUMENT);\n\tprivate originalBodyOverflow = '';\n\n\t/**\n\t * Whether the context menu is disabled\n\t */\n\tdisabled = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Handle menu opened - prevent body scroll\n\t */\n\tonMenuOpened(): void {\n\t\tthis.originalBodyOverflow = this.document.body.style.overflow;\n\t\tthis.document.body.style.overflow = 'hidden';\n\t}\n\n\t/**\n\t * Handle menu closed - restore body scroll\n\t */\n\tonMenuClosed(): void {\n\t\tthis.document.body.style.overflow = this.originalBodyOverflow;\n\t}\n}\n","<ng-content></ng-content>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"sixbell-telco-sdk-components-dropdown-menu-context.mjs","sources":["../../../projects/sdk/components/dropdown-menu/context/dropdown-context-menu-trigger/dropdown-context-menu-trigger.component.ts","../../../projects/sdk/components/dropdown-menu/context/dropdown-context-menu-trigger/dropdown-context-menu-trigger.component.html","../../../projects/sdk/components/dropdown-menu/context/sixbell-telco-sdk-components-dropdown-menu-context.ts"],"sourcesContent":["import { CdkContextMenuTrigger } from '@angular/cdk/menu';\nimport { DOCUMENT } from '@angular/common';\nimport { booleanAttribute, Component, inject, input } from '@angular/core';\nimport { popoverContextMenuPositions } from '@sixbell-telco/sdk/utils/popover-motion';\n\n/**\n * DropdownContextMenuTrigger - Trigger for context menu (right-click)\n */\n@Component({\n\tselector: 'st-dropdown-context-menu-trigger',\n\tstandalone: true,\n\timports: [],\n\ttemplateUrl: './dropdown-context-menu-trigger.component.html',\n\thostDirectives: [\n\t\t{\n\t\t\tdirective: CdkContextMenuTrigger,\n\t\t\tinputs: ['cdkContextMenuTriggerFor: menuTriggerFor'],\n\t\t\toutputs: ['cdkContextMenuOpened: opened', 'cdkContextMenuClosed: closed'],\n\t\t},\n\t],\n\thost: {\n\t\t'(opened)': 'onMenuOpened()',\n\t\t'(closed)': 'onMenuClosed()',\n\t},\n})\nexport class DropdownContextMenuTriggerComponent {\n\tprivate readonly document = inject(DOCUMENT);\n\n\tconstructor() {\n\t\tinject(CdkContextMenuTrigger).menuPosition = popoverContextMenuPositions();\n\t}\n\tprivate originalBodyOverflow = '';\n\n\t/**\n\t * Whether the context menu is disabled\n\t */\n\tdisabled = input(false, { transform: booleanAttribute });\n\n\t/**\n\t * Handle menu opened - prevent body scroll\n\t */\n\tonMenuOpened(): void {\n\t\tthis.originalBodyOverflow = this.document.body.style.overflow;\n\t\tthis.document.body.style.overflow = 'hidden';\n\t}\n\n\t/**\n\t * Handle menu closed - restore body scroll\n\t */\n\tonMenuClosed(): void {\n\t\tthis.document.body.style.overflow = this.originalBodyOverflow;\n\t}\n}\n","<ng-content></ng-content>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;AAKA;;AAEG;MAkBU,mCAAmC,CAAA;AAC9B,IAAA,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;AAE5C,IAAA,WAAA,GAAA;QACC,MAAM,CAAC,qBAAqB,CAAC,CAAC,YAAY,GAAG,2BAA2B,EAAE;IAC3E;IACQ,oBAAoB,GAAG,EAAE;AAEjC;;AAEG;IACH,QAAQ,GAAG,KAAK,CAAC,KAAK,EAAE,EAAE,SAAS,EAAE,gBAAgB,EAAE,CAAC;AAExD;;AAEG;IACH,YAAY,GAAA;AACX,QAAA,IAAI,CAAC,oBAAoB,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ;QAC7D,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,GAAG,QAAQ;IAC7C;AAEA;;AAEG;IACH,YAAY,GAAA;AACX,QAAA,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,GAAG,IAAI,CAAC,oBAAoB;IAC9D;wGA1BY,mCAAmC,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAnC,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,mCAAmC,4fCzBhD,6BACA,EAAA,CAAA;;4FDwBa,mCAAmC,EAAA,UAAA,EAAA,CAAA;kBAjB/C,SAAS;AACC,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,kCAAkC,EAAA,UAAA,EAChC,IAAI,EAAA,OAAA,EACP,EAAE,EAAA,cAAA,EAEK;AACf,wBAAA;AACC,4BAAA,SAAS,EAAE,qBAAqB;4BAChC,MAAM,EAAE,CAAC,0CAA0C,CAAC;AACpD,4BAAA,OAAO,EAAE,CAAC,8BAA8B,EAAE,8BAA8B,CAAC;AACzE,yBAAA;qBACD,EAAA,IAAA,EACK;AACL,wBAAA,UAAU,EAAE,gBAAgB;AAC5B,wBAAA,UAAU,EAAE,gBAAgB;AAC5B,qBAAA,EAAA,QAAA,EAAA,6BAAA,EAAA;;;AEvBF;;AAEG;;;;"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { signal, Injectable, inject, input, booleanAttribute, computed, Component, viewChild, output,
|
|
2
|
+
import { signal, Injectable, inject, input, booleanAttribute, computed, Component, ElementRef, viewChild, output, Directive } from '@angular/core';
|
|
3
3
|
import { IconComponent } from '@sixbell-telco/sdk/components/icon';
|
|
4
4
|
import { matChevronRight } from '@sixbell-telco/sdk/components/icon/material/baseline';
|
|
5
5
|
import { cn } from '@sixbell-telco/sdk/utils/cn';
|
|
6
6
|
import * as i1 from '@angular/cdk/menu';
|
|
7
7
|
import { MENU_STACK, CdkMenu, CdkMenuItem, CdkMenuTrigger, MenuStack } from '@angular/cdk/menu';
|
|
8
|
+
import { PopoverMenuMotionDirective, popoverMenuPositions } from '@sixbell-telco/sdk/utils/popover-motion';
|
|
8
9
|
import { CommonModule } from '@angular/common';
|
|
9
10
|
|
|
10
11
|
/**
|
|
@@ -96,6 +97,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
|
|
|
96
97
|
* DropdownMenuContent - Container for dropdown menu items
|
|
97
98
|
*/
|
|
98
99
|
class DropdownMenuContentComponent {
|
|
100
|
+
/** @internal Where the menu is declared; its portaled panel takes this element's theme */
|
|
101
|
+
host = inject(ElementRef).nativeElement;
|
|
99
102
|
menuStack = inject(MENU_STACK, { optional: true });
|
|
100
103
|
templateRef = viewChild.required('menuTemplate');
|
|
101
104
|
get template() {
|
|
@@ -145,13 +148,13 @@ class DropdownMenuContentComponent {
|
|
|
145
148
|
'menu-xl': this.size() === 'xl',
|
|
146
149
|
}, this.class());
|
|
147
150
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: DropdownMenuContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
148
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.25", type: DropdownMenuContentComponent, isStandalone: true, selector: "st-dropdown-menu-content", inputs: { class: { classPropertyName: "class", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { closed: "closed" }, host: { listeners: { "keydown.escape": "onEscapeKey($event)" } }, viewQueries: [{ propertyName: "templateRef", first: true, predicate: ["menuTemplate"], descendants: true, isSignal: true }], exportAs: ["menuContent"], ngImport: i0, template: "<ng-template #menuTemplate>\n\t<ul cdkMenu role=\"menu\" [class]=\"menuClass()\" (closed)=\"onMenuClosed()\" tabindex=\"-1\">\n\t\t<ng-content></ng-content>\n\t</ul>\n</ng-template>\n", dependencies: [{ kind: "directive", type: CdkMenu, selector: "[cdkMenu]", outputs: ["closed"], exportAs: ["cdkMenu"] }] });
|
|
151
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.25", type: DropdownMenuContentComponent, isStandalone: true, selector: "st-dropdown-menu-content", inputs: { class: { classPropertyName: "class", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { closed: "closed" }, host: { listeners: { "keydown.escape": "onEscapeKey($event)" } }, viewQueries: [{ propertyName: "templateRef", first: true, predicate: ["menuTemplate"], descendants: true, isSignal: true }], exportAs: ["menuContent"], ngImport: i0, template: "<ng-template #menuTemplate>\n\t<ul cdkMenu stPopoverMenuMotion [stPopoverMenuMotionTheme]=\"host\" role=\"menu\" [class]=\"menuClass()\" (closed)=\"onMenuClosed()\" tabindex=\"-1\">\n\t\t<ng-content></ng-content>\n\t</ul>\n</ng-template>\n", dependencies: [{ kind: "directive", type: CdkMenu, selector: "[cdkMenu]", outputs: ["closed"], exportAs: ["cdkMenu"] }, { kind: "directive", type: PopoverMenuMotionDirective, selector: "[stPopoverMenuMotion]", inputs: ["stPopoverMenuMotionTheme"] }] });
|
|
149
152
|
}
|
|
150
153
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: DropdownMenuContentComponent, decorators: [{
|
|
151
154
|
type: Component,
|
|
152
|
-
args: [{ selector: 'st-dropdown-menu-content', standalone: true, imports: [CdkMenu], host: {
|
|
155
|
+
args: [{ selector: 'st-dropdown-menu-content', standalone: true, imports: [CdkMenu, PopoverMenuMotionDirective], host: {
|
|
153
156
|
'(keydown.escape)': 'onEscapeKey($event)',
|
|
154
|
-
}, exportAs: 'menuContent', template: "<ng-template #menuTemplate>\n\t<ul cdkMenu role=\"menu\" [class]=\"menuClass()\" (closed)=\"onMenuClosed()\" tabindex=\"-1\">\n\t\t<ng-content></ng-content>\n\t</ul>\n</ng-template>\n" }]
|
|
157
|
+
}, exportAs: 'menuContent', template: "<ng-template #menuTemplate>\n\t<ul cdkMenu stPopoverMenuMotion [stPopoverMenuMotionTheme]=\"host\" role=\"menu\" [class]=\"menuClass()\" (closed)=\"onMenuClosed()\" tabindex=\"-1\">\n\t\t<ng-content></ng-content>\n\t</ul>\n</ng-template>\n" }]
|
|
155
158
|
}] });
|
|
156
159
|
|
|
157
160
|
/**
|
|
@@ -331,6 +334,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
|
|
|
331
334
|
* DropdownMenuSubContent - Container for submenu items
|
|
332
335
|
*/
|
|
333
336
|
class DropdownMenuSubContentComponent {
|
|
337
|
+
/** @internal Where the menu is declared; its portaled panel takes this element's theme */
|
|
338
|
+
host = inject(ElementRef).nativeElement;
|
|
334
339
|
menuStack = inject(MENU_STACK, { optional: true });
|
|
335
340
|
templateRef = viewChild.required('menuTemplate');
|
|
336
341
|
get template() {
|
|
@@ -369,13 +374,13 @@ class DropdownMenuSubContentComponent {
|
|
|
369
374
|
'menu-xl': this.size() === 'xl',
|
|
370
375
|
}, this.class());
|
|
371
376
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: DropdownMenuSubContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
372
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.25", type: DropdownMenuSubContentComponent, isStandalone: true, selector: "st-dropdown-menu-sub-content", inputs: { class: { classPropertyName: "class", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "keydown.escape": "onEscapeKey($event)" } }, viewQueries: [{ propertyName: "templateRef", first: true, predicate: ["menuTemplate"], descendants: true, isSignal: true }], exportAs: ["menuContent"], ngImport: i0, template: "<ng-template #menuTemplate>\n\t<ul cdkMenu role=\"menu\" [class]=\"subMenuClass()\" tabindex=\"-1\">\n\t\t<ng-content></ng-content>\n\t</ul>\n</ng-template>\n", dependencies: [{ kind: "directive", type: CdkMenu, selector: "[cdkMenu]", outputs: ["closed"], exportAs: ["cdkMenu"] }] });
|
|
377
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.25", type: DropdownMenuSubContentComponent, isStandalone: true, selector: "st-dropdown-menu-sub-content", inputs: { class: { classPropertyName: "class", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "keydown.escape": "onEscapeKey($event)" } }, viewQueries: [{ propertyName: "templateRef", first: true, predicate: ["menuTemplate"], descendants: true, isSignal: true }], exportAs: ["menuContent"], ngImport: i0, template: "<ng-template #menuTemplate>\n\t<ul cdkMenu stPopoverMenuMotion [stPopoverMenuMotionTheme]=\"host\" role=\"menu\" [class]=\"subMenuClass()\" tabindex=\"-1\">\n\t\t<ng-content></ng-content>\n\t</ul>\n</ng-template>\n", dependencies: [{ kind: "directive", type: CdkMenu, selector: "[cdkMenu]", outputs: ["closed"], exportAs: ["cdkMenu"] }, { kind: "directive", type: PopoverMenuMotionDirective, selector: "[stPopoverMenuMotion]", inputs: ["stPopoverMenuMotionTheme"] }] });
|
|
373
378
|
}
|
|
374
379
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: DropdownMenuSubContentComponent, decorators: [{
|
|
375
380
|
type: Component,
|
|
376
|
-
args: [{ selector: 'st-dropdown-menu-sub-content', standalone: true, imports: [CdkMenu], exportAs: 'menuContent', host: {
|
|
381
|
+
args: [{ selector: 'st-dropdown-menu-sub-content', standalone: true, imports: [CdkMenu, PopoverMenuMotionDirective], exportAs: 'menuContent', host: {
|
|
377
382
|
'(keydown.escape)': 'onEscapeKey($event)',
|
|
378
|
-
}, template: "<ng-template #menuTemplate>\n\t<ul cdkMenu role=\"menu\" [class]=\"subMenuClass()\" tabindex=\"-1\">\n\t\t<ng-content></ng-content>\n\t</ul>\n</ng-template>\n" }]
|
|
383
|
+
}, template: "<ng-template #menuTemplate>\n\t<ul cdkMenu stPopoverMenuMotion [stPopoverMenuMotionTheme]=\"host\" role=\"menu\" [class]=\"subMenuClass()\" tabindex=\"-1\">\n\t\t<ng-content></ng-content>\n\t</ul>\n</ng-template>\n" }]
|
|
379
384
|
}] });
|
|
380
385
|
|
|
381
386
|
/**
|
|
@@ -383,6 +388,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
|
|
|
383
388
|
*/
|
|
384
389
|
class DropdownMenuSubTriggerComponent {
|
|
385
390
|
dropdownMenuService = inject(DropdownMenuStateService, { optional: true });
|
|
391
|
+
constructor() {
|
|
392
|
+
inject(CdkMenuTrigger).menuPosition = popoverMenuPositions();
|
|
393
|
+
}
|
|
386
394
|
// Icons
|
|
387
395
|
iconChevronRight = matChevronRight;
|
|
388
396
|
// Inputs
|
|
@@ -422,7 +430,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
|
|
|
422
430
|
'(cdkMenuOpened)': 'onMenuOpened()',
|
|
423
431
|
'(cdkMenuClosed)': 'onMenuClosed()',
|
|
424
432
|
}, template: "<li [class]=\"triggerClass()\" (cdkMenuOpened)=\"onMenuOpened()\" (cdkMenuClosed)=\"onMenuClosed()\">\n\t<a class=\"flex items-center justify-between\">\n\t\t<span class=\"flex-1\">\n\t\t\t<ng-content></ng-content>\n\t\t</span>\n\t\t<st-icon [icon]=\"iconChevronRight\" color=\"inherit\" [class]=\"chevronClass()\"></st-icon>\n\t</a>\n</li>\n" }]
|
|
425
|
-
}] });
|
|
433
|
+
}], ctorParameters: () => [] });
|
|
426
434
|
|
|
427
435
|
/**
|
|
428
436
|
* DropdownMenuSub - Container for submenu functionality
|
|
@@ -452,6 +460,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
|
|
|
452
460
|
*/
|
|
453
461
|
class DropdownMenuTriggerComponent {
|
|
454
462
|
dropdownMenuService = inject(DropdownMenuStateService, { optional: true });
|
|
463
|
+
constructor() {
|
|
464
|
+
inject(CdkMenuTrigger).menuPosition = popoverMenuPositions();
|
|
465
|
+
}
|
|
455
466
|
/**
|
|
456
467
|
* Handle menu opened event
|
|
457
468
|
*/
|
|
@@ -486,7 +497,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
|
|
|
486
497
|
directive: CdkMenuItem,
|
|
487
498
|
},
|
|
488
499
|
], template: "<ng-content></ng-content>\n" }]
|
|
489
|
-
}] });
|
|
500
|
+
}], ctorParameters: () => [] });
|
|
490
501
|
|
|
491
502
|
/**
|
|
492
503
|
* DropdownMenu - Container component that provides the menu context
|