@sixbell-telco/sdk 1.0.3 → 1.1.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.
Files changed (77) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/README.md +44 -0
  3. package/_index.css +52 -25
  4. package/components/avatar/src/avatar.component.d.ts +40 -26
  5. package/components/button/src/button.component.d.ts +2 -2
  6. package/components/dropdown/dropdown-chevron/dropdown-chevron.component.d.ts +39 -0
  7. package/components/dropdown/dropdown-content/dropdown-content.component.d.ts +41 -0
  8. package/components/dropdown/dropdown-group/dropdown-group.component.d.ts +9 -0
  9. package/components/dropdown/dropdown-item/dropdown-item.component.d.ts +23 -12
  10. package/components/dropdown/dropdown-item-checkbox/dropdown-item-checkbox.component.d.ts +49 -0
  11. package/components/dropdown/dropdown-item-radio/dropdown-item-radio.component.d.ts +53 -0
  12. package/components/dropdown/dropdown-label/dropdown-label.component.d.ts +17 -0
  13. package/components/dropdown/dropdown-separator/dropdown-separator.component.d.ts +21 -0
  14. package/components/dropdown/dropdown-trigger/dropdown-trigger.component.d.ts +121 -0
  15. package/components/dropdown/public-api.d.ts +9 -0
  16. package/components/dropdown/src/dropdown.component.d.ts +20 -174
  17. package/components/dropdown/src/services/dropdown.service.d.ts +22 -0
  18. package/components/dropdown-menu/bar/dropdown-menu-bar/dropdown-menu-bar.component.d.ts +22 -0
  19. package/components/dropdown-menu/bar/dropdown-menu-bar-content/dropdown-menu-bar-content.component.d.ts +64 -0
  20. package/components/dropdown-menu/bar/dropdown-menu-bar-item/dropdown-menu-bar-item.component.d.ts +37 -0
  21. package/components/dropdown-menu/bar/dropdown-menu-bar-item-checkbox/dropdown-menu-bar-item-checkbox.component.d.ts +54 -0
  22. package/components/dropdown-menu/bar/dropdown-menu-bar-item-radio/dropdown-menu-bar-item-radio.component.d.ts +58 -0
  23. package/components/dropdown-menu/bar/dropdown-menu-bar-label/dropdown-menu-bar-label.component.d.ts +16 -0
  24. package/components/dropdown-menu/bar/dropdown-menu-bar-separator/dropdown-menu-bar-separator.component.d.ts +16 -0
  25. package/components/dropdown-menu/bar/dropdown-menu-bar-sub-trigger/dropdown-menu-bar-sub-trigger.component.d.ts +29 -0
  26. package/components/dropdown-menu/bar/dropdown-menu-bar-trigger/dropdown-menu-bar-trigger.component.d.ts +50 -0
  27. package/components/dropdown-menu/bar/index.d.ts +5 -0
  28. package/components/dropdown-menu/bar/public-api.d.ts +9 -0
  29. package/components/dropdown-menu/context/dropdown-context-menu-trigger/dropdown-context-menu-trigger.component.d.ts +23 -0
  30. package/components/dropdown-menu/context/index.d.ts +5 -0
  31. package/components/dropdown-menu/context/public-api.d.ts +1 -0
  32. package/components/dropdown-menu/dropdown-menu-chevron/dropdown-menu-chevron.component.d.ts +43 -0
  33. package/components/dropdown-menu/index.d.ts +5 -0
  34. package/components/dropdown-menu/public-api.d.ts +13 -0
  35. package/components/dropdown-menu/src/directives/dropdown-menu.directive.d.ts +40 -0
  36. package/components/dropdown-menu/src/dropdown-menu/dropdown-menu.component.d.ts +9 -0
  37. package/components/dropdown-menu/src/dropdown-menu-content/dropdown-menu-content.component.d.ts +40 -0
  38. package/components/dropdown-menu/src/dropdown-menu-group/dropdown-menu-group.component.d.ts +8 -0
  39. package/components/dropdown-menu/src/dropdown-menu-item/dropdown-menu-item.component.d.ts +38 -0
  40. package/components/dropdown-menu/src/dropdown-menu-label/dropdown-menu-label.component.d.ts +16 -0
  41. package/components/dropdown-menu/src/dropdown-menu-separator/dropdown-menu-separator.component.d.ts +16 -0
  42. package/components/dropdown-menu/src/dropdown-menu-sub/dropdown-menu-sub.component.d.ts +8 -0
  43. package/components/dropdown-menu/src/dropdown-menu-sub-content/dropdown-menu-sub-content.component.d.ts +31 -0
  44. package/components/dropdown-menu/src/dropdown-menu-sub-trigger/dropdown-menu-sub-trigger.component.d.ts +18 -0
  45. package/components/dropdown-menu/src/dropdown-menu-trigger/dropdown-menu-trigger.component.d.ts +19 -0
  46. package/components/dropdown-menu/src/services/dropdown-menu.service.d.ts +22 -0
  47. package/fesm2022/sixbell-telco-sdk-components-avatar.mjs +75 -39
  48. package/fesm2022/sixbell-telco-sdk-components-avatar.mjs.map +1 -1
  49. package/fesm2022/sixbell-telco-sdk-components-button.mjs +1 -0
  50. package/fesm2022/sixbell-telco-sdk-components-button.mjs.map +1 -1
  51. package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-bar.mjs +529 -0
  52. package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-bar.mjs.map +1 -0
  53. package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-context.mjs +52 -0
  54. package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-context.mjs.map +1 -0
  55. package/fesm2022/sixbell-telco-sdk-components-dropdown-menu.mjs +539 -0
  56. package/fesm2022/sixbell-telco-sdk-components-dropdown-menu.mjs.map +1 -0
  57. package/fesm2022/sixbell-telco-sdk-components-dropdown.mjs +592 -213
  58. package/fesm2022/sixbell-telco-sdk-components-dropdown.mjs.map +1 -1
  59. package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs +2 -2
  60. package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs.map +1 -1
  61. package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs +2 -2
  62. package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs.map +1 -1
  63. package/fesm2022/sixbell-telco-sdk-components-product-card.mjs +1 -1
  64. package/fesm2022/sixbell-telco-sdk-components-product-card.mjs.map +1 -1
  65. package/fesm2022/sixbell-telco-sdk-utils-theme.mjs +139 -0
  66. package/fesm2022/sixbell-telco-sdk-utils-theme.mjs.map +1 -0
  67. package/fesm2022/sixbell-telco-sdk-utils-translation.mjs +183 -0
  68. package/fesm2022/sixbell-telco-sdk-utils-translation.mjs.map +1 -0
  69. package/package.json +21 -1
  70. package/sixbell-telco-sdk-1.1.0.tgz +0 -0
  71. package/utils/theme/index.d.ts +5 -0
  72. package/utils/theme/public-api.d.ts +1 -0
  73. package/utils/theme/src/theme.service.d.ts +55 -0
  74. package/utils/translation/index.d.ts +5 -0
  75. package/utils/translation/public-api.d.ts +1 -0
  76. package/utils/translation/src/translation.service.d.ts +112 -0
  77. package/sixbell-telco-sdk-1.0.3.tgz +0 -0
@@ -0,0 +1,529 @@
1
+ import * as i1 from '@angular/cdk/menu';
2
+ import { MENU_STACK, CdkMenu, PARENT_OR_NEW_MENU_STACK_PROVIDER, CdkMenuItemCheckbox, CdkMenuItemRadio, CdkMenuItem, CdkMenuTrigger, CdkMenuBar } from '@angular/cdk/menu';
3
+ import * as i0 from '@angular/core';
4
+ import { inject, signal, input, output, computed, TemplateRef, ViewChild, Component, ElementRef } from '@angular/core';
5
+ import { cn } from '@sixbell-telco/sdk/utils/cn';
6
+ import { IconComponent } from '@sixbell-telco/sdk/components/icon';
7
+ import { CommonModule } from '@angular/common';
8
+
9
+ /**
10
+ * DropdownMenuBarContent - Container for menu bar dropdown content
11
+ */
12
+ class DropdownMenuBarContentComponent {
13
+ menuStack = inject(MENU_STACK, { optional: true });
14
+ template;
15
+ // State management
16
+ isOpen = signal(false);
17
+ isAnimatingOpen = signal(false);
18
+ /**
19
+ * Custom CSS classes
20
+ */
21
+ class = input('');
22
+ /**
23
+ * Size variant
24
+ */
25
+ size = input('md');
26
+ /** Whether to apply shadow */
27
+ shadow = input(true);
28
+ /**
29
+ * Emitted when the menu is opened
30
+ */
31
+ opened = output();
32
+ /**
33
+ * Emitted when the menu is closed
34
+ */
35
+ closed = output();
36
+ /**
37
+ * Computed data state for ARIA and animations
38
+ */
39
+ dataState = computed(() => {
40
+ if (!this.isOpen())
41
+ return 'closed';
42
+ if (this.isAnimatingOpen())
43
+ return 'opening';
44
+ return 'open';
45
+ });
46
+ /**
47
+ * Handle ESC key press
48
+ */
49
+ onEscapeKey(event) {
50
+ event.preventDefault();
51
+ event.stopPropagation();
52
+ this.closeMenu();
53
+ }
54
+ /**
55
+ * Handle menu opened event
56
+ */
57
+ onMenuOpened() {
58
+ this.isOpen.set(true);
59
+ this.isAnimatingOpen.set(true);
60
+ this.opened.emit();
61
+ }
62
+ /**
63
+ * Handle menu closed event
64
+ */
65
+ onMenuClosed() {
66
+ this.isOpen.set(false);
67
+ this.isAnimatingOpen.set(false);
68
+ this.closed.emit();
69
+ }
70
+ /**
71
+ * Handle animation end
72
+ */
73
+ onAnimationEnd(event) {
74
+ if (event.animationName.includes('fade-in')) {
75
+ this.isAnimatingOpen.set(false);
76
+ }
77
+ }
78
+ /**
79
+ * Close this menu and all child menus
80
+ */
81
+ closeMenu() {
82
+ // Menu closing is handled automatically by CDK
83
+ }
84
+ /**
85
+ * Computed CSS classes for the menu
86
+ */
87
+ menuClass = () => cn('menu', 'bg-base-200', 'rounded-box', 'border', 'border-neutral', 'min-w-48', {
88
+ 'menu-xs': this.size() === 'xs',
89
+ 'menu-sm': this.size() === 'sm',
90
+ 'menu-md': this.size() === 'md',
91
+ 'menu-lg': this.size() === 'lg',
92
+ 'menu-xl': this.size() === 'xl',
93
+ 'shadow-main': this.shadow(),
94
+ }, this.class());
95
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: DropdownMenuBarContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
96
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.0", 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: "template", first: true, predicate: ["menuTemplate"], descendants: true, read: TemplateRef, static: true }], exportAs: ["menuBarContent"], ngImport: i0, template: "<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", dependencies: [{ kind: "directive", type: CdkMenu, selector: "[cdkMenu]", outputs: ["closed"], exportAs: ["cdkMenu"] }] });
97
+ }
98
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: DropdownMenuBarContentComponent, decorators: [{
99
+ type: Component,
100
+ args: [{ selector: 'st-dropdown-menu-bar-content', standalone: true, imports: [CdkMenu], providers: [PARENT_OR_NEW_MENU_STACK_PROVIDER], host: {
101
+ '(keydown.escape)': 'onEscapeKey($event)',
102
+ }, exportAs: 'menuBarContent', template: "<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" }]
103
+ }], propDecorators: { template: [{
104
+ type: ViewChild,
105
+ args: ['menuTemplate', { static: true, read: TemplateRef }]
106
+ }] } });
107
+
108
+ /**
109
+ * DropdownMenuBarItemCheckbox - Checkbox menu item for menu bar
110
+ */
111
+ class DropdownMenuBarItemCheckboxComponent {
112
+ // State
113
+ isChecked = signal(false);
114
+ /**
115
+ * Whether the checkbox is checked
116
+ */
117
+ checked = input(false);
118
+ /**
119
+ * Watch for changes to checked input
120
+ */
121
+ constructor() {
122
+ // Update internal state when input changes
123
+ this.isChecked.set(this.checked());
124
+ }
125
+ /**
126
+ * Whether the menu item is disabled
127
+ */
128
+ disabled = input(false);
129
+ /**
130
+ * Custom indicator character or text
131
+ */
132
+ indicator = input('✓');
133
+ /**
134
+ * Whether to show the indicator
135
+ */
136
+ showIndicator = input(true);
137
+ /**
138
+ * Custom CSS classes
139
+ */
140
+ class = input('');
141
+ /**
142
+ * Emitted when the checkbox state changes
143
+ */
144
+ checkedChange = output();
145
+ /**
146
+ * Emitted when the menu item is triggered/clicked
147
+ */
148
+ triggered = output();
149
+ /**
150
+ * Computed data state for ARIA
151
+ */
152
+ dataState = computed(() => {
153
+ return this.checked() ? 'checked' : 'unchecked';
154
+ });
155
+ /**
156
+ * Handle item click - toggle checkbox state
157
+ */
158
+ onItemClick() {
159
+ if (!this.disabled()) {
160
+ const newChecked = !this.checked();
161
+ this.isChecked.set(newChecked);
162
+ this.checkedChange.emit(newChecked);
163
+ this.triggered.emit();
164
+ }
165
+ }
166
+ /**
167
+ * Computed CSS classes for the menu item
168
+ */
169
+ itemClass = () => cn('group', 'transition-colors', 'duration-200', {
170
+ 'menu-disabled pointer-events-none opacity-50': this.disabled(),
171
+ 'menu-active': this.checked(),
172
+ }, this.class());
173
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: DropdownMenuBarItemCheckboxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
174
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.0", type: DropdownMenuBarItemCheckboxComponent, isStandalone: true, selector: "st-dropdown-menu-bar-item-checkbox", inputs: { checked: { classPropertyName: "checked", publicName: "checked", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, indicator: { classPropertyName: "indicator", publicName: "indicator", isSignal: true, isRequired: false, transformFunction: null }, showIndicator: { classPropertyName: "showIndicator", publicName: "showIndicator", isSignal: true, isRequired: false, transformFunction: null }, class: { classPropertyName: "class", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { checkedChange: "checkedChange", triggered: "triggered" }, hostDirectives: [{ directive: i1.CdkMenuItemCheckbox, inputs: ["cdkMenuItemChecked", "checked"], outputs: ["cdkMenuItemTriggered", "triggered"] }], ngImport: i0, template: "<li\n\t[class]=\"itemClass()\"\n\t[attr.data-state]=\"dataState()\"\n\t(click)=\"onItemClick()\"\n\t(keydown.enter)=\"onItemClick()\"\n\t(keydown.space)=\"onItemClick()\"\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\n\t\t\t\tclass=\"ml-auto text-xs transition-opacity duration-300 ease-in-out group-aria-[checked=false]:opacity-0 group-aria-[checked=true]:opacity-100\"\n\t\t\t>\n\t\t\t\t{{ indicator() }}\n\t\t\t</span>\n\t\t}\n\t</a>\n</li>\n" });
175
+ }
176
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: DropdownMenuBarItemCheckboxComponent, decorators: [{
177
+ type: Component,
178
+ args: [{ selector: 'st-dropdown-menu-bar-item-checkbox', standalone: true, imports: [], hostDirectives: [
179
+ {
180
+ directive: CdkMenuItemCheckbox,
181
+ inputs: ['cdkMenuItemChecked: checked'],
182
+ outputs: ['cdkMenuItemTriggered: triggered'],
183
+ },
184
+ ], template: "<li\n\t[class]=\"itemClass()\"\n\t[attr.data-state]=\"dataState()\"\n\t(click)=\"onItemClick()\"\n\t(keydown.enter)=\"onItemClick()\"\n\t(keydown.space)=\"onItemClick()\"\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\n\t\t\t\tclass=\"ml-auto text-xs transition-opacity duration-300 ease-in-out group-aria-[checked=false]:opacity-0 group-aria-[checked=true]:opacity-100\"\n\t\t\t>\n\t\t\t\t{{ indicator() }}\n\t\t\t</span>\n\t\t}\n\t</a>\n</li>\n" }]
185
+ }], ctorParameters: () => [] });
186
+
187
+ /**
188
+ * DropdownMenuBarItemRadio - Radio menu item for menu bar
189
+ */
190
+ class DropdownMenuBarItemRadioComponent {
191
+ // State
192
+ isChecked = signal(false);
193
+ /**
194
+ * Whether the radio is checked
195
+ */
196
+ checked = input(false);
197
+ /**
198
+ * The value of this radio item
199
+ */
200
+ value = input.required();
201
+ /**
202
+ * Whether the menu item is disabled
203
+ */
204
+ disabled = input(false);
205
+ /**
206
+ * Custom indicator character or text
207
+ */
208
+ indicator = input('●');
209
+ /**
210
+ * Whether to show the indicator
211
+ */
212
+ showIndicator = input(true);
213
+ /**
214
+ * Custom CSS classes
215
+ */
216
+ class = input('');
217
+ /**
218
+ * Emitted when the radio state changes
219
+ */
220
+ checkedChange = output();
221
+ /**
222
+ * Emitted when the menu item is triggered/clicked
223
+ */
224
+ triggered = output();
225
+ /**
226
+ * Watch for changes to checked input
227
+ */
228
+ constructor() {
229
+ // Update internal state when input changes
230
+ this.isChecked.set(this.checked());
231
+ }
232
+ /**
233
+ * Computed data state for ARIA
234
+ */
235
+ dataState = computed(() => {
236
+ return this.checked() ? 'checked' : 'unchecked';
237
+ });
238
+ /**
239
+ * Handle item click - select this radio option
240
+ */
241
+ onItemClick() {
242
+ if (!this.disabled() && !this.checked()) {
243
+ this.isChecked.set(true);
244
+ this.checkedChange.emit(this.value());
245
+ this.triggered.emit();
246
+ }
247
+ }
248
+ /**
249
+ * Computed CSS classes for the menu item
250
+ */
251
+ itemClass = () => cn('group', 'transition-colors', 'duration-200', {
252
+ 'menu-disabled pointer-events-none opacity-50': this.disabled(),
253
+ 'menu-active': this.checked(),
254
+ }, this.class());
255
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: DropdownMenuBarItemRadioComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
256
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.0", type: DropdownMenuBarItemRadioComponent, isStandalone: true, selector: "st-dropdown-menu-bar-item-radio", inputs: { checked: { classPropertyName: "checked", publicName: "checked", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: true, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, indicator: { classPropertyName: "indicator", publicName: "indicator", isSignal: true, isRequired: false, transformFunction: null }, showIndicator: { classPropertyName: "showIndicator", publicName: "showIndicator", isSignal: true, isRequired: false, transformFunction: null }, class: { classPropertyName: "class", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { checkedChange: "checkedChange", triggered: "triggered" }, hostDirectives: [{ directive: i1.CdkMenuItemRadio, inputs: ["cdkMenuItemChecked", "checked"], outputs: ["cdkMenuItemTriggered", "triggered"] }], ngImport: i0, template: "<li\n\t[class]=\"itemClass()\"\n\t[attr.data-state]=\"dataState()\"\n\t(click)=\"onItemClick()\"\n\t(keydown.enter)=\"onItemClick()\"\n\t(keydown.space)=\"onItemClick()\"\n\ttabindex=\"0\"\n\trole=\"menuitemradio\"\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\n\t\t\t\tclass=\"ml-auto text-xs transition-opacity duration-300 ease-in-out group-aria-[checked=false]:opacity-0 group-aria-[checked=true]:opacity-100\"\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" });
257
+ }
258
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: DropdownMenuBarItemRadioComponent, decorators: [{
259
+ type: Component,
260
+ args: [{ selector: 'st-dropdown-menu-bar-item-radio', standalone: true, imports: [], hostDirectives: [
261
+ {
262
+ directive: CdkMenuItemRadio,
263
+ inputs: ['cdkMenuItemChecked: checked'],
264
+ outputs: ['cdkMenuItemTriggered: triggered'],
265
+ },
266
+ ], template: "<li\n\t[class]=\"itemClass()\"\n\t[attr.data-state]=\"dataState()\"\n\t(click)=\"onItemClick()\"\n\t(keydown.enter)=\"onItemClick()\"\n\t(keydown.space)=\"onItemClick()\"\n\ttabindex=\"0\"\n\trole=\"menuitemradio\"\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\n\t\t\t\tclass=\"ml-auto text-xs transition-opacity duration-300 ease-in-out group-aria-[checked=false]:opacity-0 group-aria-[checked=true]:opacity-100\"\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" }]
267
+ }], ctorParameters: () => [] });
268
+
269
+ /**
270
+ * DropdownMenuBarItem - Regular menu item for menu bar
271
+ */
272
+ class DropdownMenuBarItemComponent {
273
+ /**
274
+ * Whether the menu item is disabled
275
+ */
276
+ disabled = input(false);
277
+ /**
278
+ * Whether the menu item is active
279
+ */
280
+ active = input(false);
281
+ /**
282
+ * Optional keyboard shortcut text
283
+ */
284
+ shortcut = input();
285
+ /**
286
+ * Custom CSS classes
287
+ */
288
+ class = input('');
289
+ /**
290
+ * Emitted when the menu item is triggered/clicked
291
+ */
292
+ triggered = output();
293
+ /**
294
+ * Handle item click
295
+ */
296
+ onItemClick() {
297
+ if (!this.disabled()) {
298
+ this.triggered.emit();
299
+ }
300
+ }
301
+ /**
302
+ * Computed CSS classes for the menu item
303
+ */
304
+ itemClass = () => cn('transition-colors', 'duration-200', {
305
+ 'menu-disabled pointer-events-none opacity-50': this.disabled(),
306
+ 'menu-active': this.active(),
307
+ }, this.class());
308
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: DropdownMenuBarItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
309
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.0", type: DropdownMenuBarItemComponent, isStandalone: true, selector: "st-dropdown-menu-bar-item", inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, active: { classPropertyName: "active", publicName: "active", isSignal: true, isRequired: false, transformFunction: null }, shortcut: { classPropertyName: "shortcut", publicName: "shortcut", isSignal: true, isRequired: false, transformFunction: null }, class: { classPropertyName: "class", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { triggered: "triggered" }, hostDirectives: [{ directive: i1.CdkMenuItem, outputs: ["cdkMenuItemTriggered", "triggered"] }], ngImport: i0, template: "<li [class]=\"itemClass()\" (click)=\"onItemClick()\" (keydown.enter)=\"onItemClick()\" (keydown.space)=\"onItemClick()\" tabindex=\"0\" role=\"menuitem\">\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" });
310
+ }
311
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: DropdownMenuBarItemComponent, decorators: [{
312
+ type: Component,
313
+ args: [{ selector: 'st-dropdown-menu-bar-item', standalone: true, imports: [], hostDirectives: [
314
+ {
315
+ directive: CdkMenuItem,
316
+ outputs: ['cdkMenuItemTriggered: triggered'],
317
+ },
318
+ ], template: "<li [class]=\"itemClass()\" (click)=\"onItemClick()\" (keydown.enter)=\"onItemClick()\" (keydown.space)=\"onItemClick()\" tabindex=\"0\" role=\"menuitem\">\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" }]
319
+ }] });
320
+
321
+ /**
322
+ * DropdownMenuBarLabel - Label for menu bar sections
323
+ */
324
+ class DropdownMenuBarLabelComponent {
325
+ /**
326
+ * Custom CSS classes
327
+ */
328
+ class = input('');
329
+ /**
330
+ * Computed CSS classes for the label
331
+ */
332
+ labelClass = () => cn('menu-title', this.class());
333
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: DropdownMenuBarLabelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
334
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.0", type: DropdownMenuBarLabelComponent, isStandalone: true, selector: "st-dropdown-menu-bar-label", inputs: { class: { classPropertyName: "class", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<li [class]=\"labelClass()\">\n\t<ng-content></ng-content>\n</li>\n" });
335
+ }
336
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: DropdownMenuBarLabelComponent, decorators: [{
337
+ type: Component,
338
+ args: [{ selector: 'st-dropdown-menu-bar-label', standalone: true, template: "<li [class]=\"labelClass()\">\n\t<ng-content></ng-content>\n</li>\n" }]
339
+ }] });
340
+
341
+ /**
342
+ * DropdownMenuBarSeparator - Visual separator between menu bar sections
343
+ */
344
+ class DropdownMenuBarSeparatorComponent {
345
+ /**
346
+ * Custom CSS classes
347
+ */
348
+ class = input('');
349
+ /**
350
+ * Computed CSS classes for the separator
351
+ */
352
+ separatorClass = () => cn('pointer-events-none w-full p-0 left-0 top-0 mx-0 my-1', this.class());
353
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: DropdownMenuBarSeparatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
354
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.0", type: DropdownMenuBarSeparatorComponent, isStandalone: true, selector: "st-dropdown-menu-bar-separator", inputs: { class: { classPropertyName: "class", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<li [class]=\"separatorClass()\"></li>\n" });
355
+ }
356
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: DropdownMenuBarSeparatorComponent, decorators: [{
357
+ type: Component,
358
+ args: [{ selector: 'st-dropdown-menu-bar-separator', standalone: true, template: "<li [class]=\"separatorClass()\"></li>\n" }]
359
+ }] });
360
+
361
+ /**
362
+ * DropdownMenuBarSubTrigger - Trigger for opening a submenu in menu bar
363
+ */
364
+ class DropdownMenuBarSubTriggerComponent {
365
+ elementRef = inject(ElementRef, { optional: true });
366
+ // State
367
+ isOpen = signal(false);
368
+ hoverTimeout = null;
369
+ // Inputs
370
+ disabled = input(false);
371
+ className = input();
372
+ chevronIcon = input(''); // Will be passed from parent
373
+ /**
374
+ * Menu template reference for the clean API (menuTriggerFor)
375
+ */
376
+ menuTriggerFor = input(null);
377
+ /**
378
+ * Computed data state for ARIA
379
+ */
380
+ dataState = computed(() => {
381
+ return this.isOpen() ? 'open' : 'closed';
382
+ });
383
+ // Computed styles
384
+ triggerClass = computed(() => cn('group', 'focus:outline-none focus:bg-base-200 hover:bg-base-200 cursor-pointer', 'transition-colors duration-200', this.disabled() && 'disabled pointer-events-none opacity-50', this.className()));
385
+ chevronClass = computed(() => cn('ml-2 transition-transform duration-200 ease-in-out', this.isOpen() ? 'rotate-90' : 'rotate-0'));
386
+ // Event handlers
387
+ onMenuOpened() {
388
+ this.isOpen.set(true);
389
+ }
390
+ onMenuClosed() {
391
+ this.isOpen.set(false);
392
+ }
393
+ onMouseEnter() {
394
+ // CDK MenuTrigger should handle hover behavior automatically when used in a MenuBar
395
+ // We don't need custom logic here - just let CDK handle it
396
+ }
397
+ onMouseLeave() {
398
+ // Clear timeout if menu hasn't opened yet
399
+ if (this.hoverTimeout) {
400
+ clearTimeout(this.hoverTimeout);
401
+ this.hoverTimeout = null;
402
+ }
403
+ }
404
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: DropdownMenuBarSubTriggerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
405
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.0", 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"] }, { 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"] }] });
406
+ }
407
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: DropdownMenuBarSubTriggerComponent, decorators: [{
408
+ type: Component,
409
+ args: [{ selector: 'st-dropdown-menu-bar-sub-trigger', standalone: true, imports: [IconComponent, CdkMenuItem, CdkMenuTrigger], host: {
410
+ class: 'contents',
411
+ }, 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" }]
412
+ }] });
413
+
414
+ /**
415
+ * DropdownMenuBarTrigger - Trigger element for menu bar items
416
+ */
417
+ class DropdownMenuBarTriggerComponent {
418
+ elementRef = inject(ElementRef);
419
+ // State management
420
+ isOpen = signal(false);
421
+ hoverTimeout = null;
422
+ /**
423
+ * Whether the trigger is disabled
424
+ */
425
+ disabled = input(false);
426
+ /**
427
+ * Menu template reference for the clean API (menuTriggerFor)
428
+ */
429
+ menuTriggerFor = input(null);
430
+ /**
431
+ * Custom CSS classes
432
+ */
433
+ class = input('');
434
+ /**
435
+ * Emitted when menu is opened
436
+ */
437
+ opened = output();
438
+ /**
439
+ * Emitted when menu is closed
440
+ */
441
+ closed = output();
442
+ /**
443
+ * Computed data state for ARIA attributes
444
+ */
445
+ dataState = computed(() => {
446
+ return this.isOpen() ? 'open' : 'closed';
447
+ });
448
+ /**
449
+ * Handle menu opened
450
+ */
451
+ onMenuOpened() {
452
+ this.isOpen.set(true);
453
+ this.opened.emit();
454
+ }
455
+ /**
456
+ * Handle menu closed
457
+ */
458
+ onMenuClosed() {
459
+ this.isOpen.set(false);
460
+ this.closed.emit();
461
+ }
462
+ onMouseEnter() {
463
+ // CDK MenuTrigger should handle hover behavior automatically when used in a MenuBar
464
+ // We don't need custom logic here - just let CDK handle it
465
+ }
466
+ onMouseLeave() {
467
+ // Clear timeout if menu hasn't opened yet
468
+ if (this.hoverTimeout) {
469
+ clearTimeout(this.hoverTimeout);
470
+ this.hoverTimeout = null;
471
+ }
472
+ }
473
+ /**
474
+ * Computed CSS classes for the trigger
475
+ */
476
+ triggerClass = () => cn('group', 'transition-colors', 'duration-200', {
477
+ 'disabled pointer-events-none opacity-50': this.disabled(),
478
+ }, this.class());
479
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: DropdownMenuBarTriggerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
480
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.0", 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"] }] });
481
+ }
482
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: DropdownMenuBarTriggerComponent, decorators: [{
483
+ type: Component,
484
+ args: [{ selector: 'st-dropdown-menu-bar-trigger', standalone: true, imports: [CommonModule, CdkMenuItem, CdkMenuTrigger], host: {
485
+ class: 'contents',
486
+ }, 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" }]
487
+ }] });
488
+
489
+ /**
490
+ * DropdownMenuBar - Container for horizontal menu bar (like Google Docs)
491
+ */
492
+ class DropdownMenuBarComponent {
493
+ /**
494
+ * Custom CSS classes
495
+ */
496
+ class = input('');
497
+ /**
498
+ * Size variant
499
+ */
500
+ size = input('md');
501
+ /** Whether to apply shadow */
502
+ shadow = input(true);
503
+ /**
504
+ * Computed CSS classes for the menu bar
505
+ */
506
+ menuBarClass = () => cn('menu', 'menu-horizontal', 'bg-base-200', 'rounded-box', 'border', 'border-neutral', 'p-1', {
507
+ 'menu-xs': this.size() === 'xs',
508
+ 'menu-sm': this.size() === 'sm',
509
+ 'menu-md': this.size() === 'md',
510
+ 'menu-lg': this.size() === 'lg',
511
+ 'menu-xl': this.size() === 'xl',
512
+ 'shadow-main': this.shadow(),
513
+ }, this.class());
514
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: DropdownMenuBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
515
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.0", type: DropdownMenuBarComponent, isStandalone: true, selector: "st-dropdown-menu-bar", 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 } }, host: { classAttribute: "contents" }, exportAs: ["menuBar"], ngImport: i0, template: "<ul [class]=\"menuBarClass()\" cdkMenuBar>\n\t<ng-content></ng-content>\n</ul>\n", dependencies: [{ kind: "directive", type: CdkMenuBar, selector: "[cdkMenuBar]", exportAs: ["cdkMenuBar"] }] });
516
+ }
517
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: DropdownMenuBarComponent, decorators: [{
518
+ type: Component,
519
+ args: [{ selector: 'st-dropdown-menu-bar', standalone: true, imports: [CdkMenuBar], host: {
520
+ class: 'contents',
521
+ }, exportAs: 'menuBar', template: "<ul [class]=\"menuBarClass()\" cdkMenuBar>\n\t<ng-content></ng-content>\n</ul>\n" }]
522
+ }] });
523
+
524
+ /**
525
+ * Generated bundle index. Do not edit.
526
+ */
527
+
528
+ export { DropdownMenuBarComponent, DropdownMenuBarContentComponent, DropdownMenuBarItemCheckboxComponent, DropdownMenuBarItemComponent, DropdownMenuBarItemRadioComponent, DropdownMenuBarLabelComponent, DropdownMenuBarSeparatorComponent, DropdownMenuBarSubTriggerComponent, DropdownMenuBarTriggerComponent };
529
+ //# sourceMappingURL=sixbell-telco-sdk-components-dropdown-menu-bar.mjs.map
@@ -0,0 +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 { 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\t@ViewChild('menuTemplate', { static: true, read: TemplateRef })\n\ttemplate!: TemplateRef<unknown>;\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<boolean>(true);\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 { 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<boolean>(false);\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<boolean>(false);\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<boolean>(true);\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\tcheckedChange = 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 * 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.checkedChange.emit(newChecked);\n\t\t\tthis.triggered.emit();\n\t\t}\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","<li\n\t[class]=\"itemClass()\"\n\t[attr.data-state]=\"dataState()\"\n\t(click)=\"onItemClick()\"\n\t(keydown.enter)=\"onItemClick()\"\n\t(keydown.space)=\"onItemClick()\"\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\n\t\t\t\tclass=\"ml-auto text-xs transition-opacity duration-300 ease-in-out group-aria-[checked=false]:opacity-0 group-aria-[checked=true]:opacity-100\"\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 { CdkMenuItemRadio } from '@angular/cdk/menu';\nimport { 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<boolean>(false);\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<boolean>(false);\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<boolean>(true);\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\tcheckedChange = 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 * 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.checkedChange.emit(this.value());\n\t\t\tthis.triggered.emit();\n\t\t}\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","<li\n\t[class]=\"itemClass()\"\n\t[attr.data-state]=\"dataState()\"\n\t(click)=\"onItemClick()\"\n\t(keydown.enter)=\"onItemClick()\"\n\t(keydown.space)=\"onItemClick()\"\n\ttabindex=\"0\"\n\trole=\"menuitemradio\"\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\n\t\t\t\tclass=\"ml-auto text-xs transition-opacity duration-300 ease-in-out group-aria-[checked=false]:opacity-0 group-aria-[checked=true]:opacity-100\"\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 { 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<boolean>(false);\n\n\t/**\n\t * Whether the menu item is active\n\t */\n\tactive = input<boolean>(false);\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 * 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 * 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 [class]=\"itemClass()\" (click)=\"onItemClick()\" (keydown.enter)=\"onItemClick()\" (keydown.space)=\"onItemClick()\" tabindex=\"0\" role=\"menuitem\">\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', 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 w-full p-0 left-0 top-0 mx-0 my-1', this.class());\n}\n","<li [class]=\"separatorClass()\"></li>\n","import { CdkMenuItem, CdkMenuTrigger } from '@angular/cdk/menu';\nimport { 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);\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:outline-none focus:bg-base-200 hover:bg-base-200 cursor-pointer',\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 { 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<boolean>(false);\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 { 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<boolean>(true);\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;AAGnE,IAAA,QAAQ;;AAGS,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;;AAGpD,IAAA,MAAM,GAAG,KAAK,CAAU,IAAI,CAAC;AAE7B;;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,KAAC,CAAC;AAEF;;AAEG;AACH,IAAA,WAAW,CAAC,KAAoB,EAAA;QAC/B,KAAK,CAAC,cAAc,EAAE;QACtB,KAAK,CAAC,eAAe,EAAE;QACvB,IAAI,CAAC,SAAS,EAAE;;AAGjB;;AAEG;IACH,YAAY,GAAA;AACX,QAAA,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC;AACrB,QAAA,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,IAAI,CAAC;AAC9B,QAAA,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE;;AAGnB;;AAEG;IACH,YAAY,GAAA;AAC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