@aeris-ui/core 22.0.0-alpha.8 → 22.0.0-alpha.9
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/README.md +2 -2
- package/fesm2022/aeris-ui-core-accordion.mjs +646 -255
- package/fesm2022/aeris-ui-core-accordion.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-animate-on-scroll.mjs +284 -103
- package/fesm2022/aeris-ui-core-animate-on-scroll.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-auto-complete.mjs +1171 -428
- package/fesm2022/aeris-ui-core-auto-complete.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-auto-focus.mjs +111 -61
- package/fesm2022/aeris-ui-core-auto-focus.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-avatar.mjs +383 -101
- package/fesm2022/aeris-ui-core-avatar.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-badge.mjs +562 -115
- package/fesm2022/aeris-ui-core-badge.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-block-ui.mjs +205 -101
- package/fesm2022/aeris-ui-core-block-ui.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-breadcrumb.mjs +547 -177
- package/fesm2022/aeris-ui-core-breadcrumb.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-button-group.mjs +153 -38
- package/fesm2022/aeris-ui-core-button-group.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-button.mjs +730 -110
- package/fesm2022/aeris-ui-core-button.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-card.mjs +371 -101
- package/fesm2022/aeris-ui-core-card.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-carousel.mjs +690 -353
- package/fesm2022/aeris-ui-core-carousel.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-cascade-select.mjs +915 -423
- package/fesm2022/aeris-ui-core-cascade-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-chart.mjs +455 -258
- package/fesm2022/aeris-ui-core-chart.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-checkbox.mjs +432 -135
- package/fesm2022/aeris-ui-core-checkbox.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-chip.mjs +430 -117
- package/fesm2022/aeris-ui-core-chip.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-class-names.mjs +87 -65
- package/fesm2022/aeris-ui-core-class-names.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-color-picker.mjs +1313 -683
- package/fesm2022/aeris-ui-core-color-picker.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-compare.mjs +819 -310
- package/fesm2022/aeris-ui-core-compare.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-confirm-dialog.mjs +1392 -551
- package/fesm2022/aeris-ui-core-confirm-dialog.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-confirm-popup.mjs +1447 -744
- package/fesm2022/aeris-ui-core-confirm-popup.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-context-menu.mjs +900 -450
- package/fesm2022/aeris-ui-core-context-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-date-picker.mjs +1656 -863
- package/fesm2022/aeris-ui-core-date-picker.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-dialog.mjs +1066 -355
- package/fesm2022/aeris-ui-core-dialog.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-divider.mjs +204 -43
- package/fesm2022/aeris-ui-core-divider.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-drawer.mjs +1002 -326
- package/fesm2022/aeris-ui-core-drawer.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-dynamic-dialog.mjs +402 -249
- package/fesm2022/aeris-ui-core-dynamic-dialog.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-editor.mjs +934 -572
- package/fesm2022/aeris-ui-core-editor.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-file-upload.mjs +1313 -511
- package/fesm2022/aeris-ui-core-file-upload.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-filter-service.mjs +258 -301
- package/fesm2022/aeris-ui-core-filter-service.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-fluid.mjs +68 -21
- package/fesm2022/aeris-ui-core-fluid.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-focus-trap.mjs +206 -182
- package/fesm2022/aeris-ui-core-focus-trap.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-form-field.mjs +672 -170
- package/fesm2022/aeris-ui-core-form-field.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-galleria.mjs +1987 -797
- package/fesm2022/aeris-ui-core-galleria.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-glass.mjs +110 -33
- package/fesm2022/aeris-ui-core-glass.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-icon-field.mjs +426 -106
- package/fesm2022/aeris-ui-core-icon-field.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-inplace.mjs +452 -130
- package/fesm2022/aeris-ui-core-inplace.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-group.mjs +413 -114
- package/fesm2022/aeris-ui-core-input-group.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-mask.mjs +650 -248
- package/fesm2022/aeris-ui-core-input-mask.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-number.mjs +902 -334
- package/fesm2022/aeris-ui-core-input-number.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-otp.mjs +667 -253
- package/fesm2022/aeris-ui-core-input-otp.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-text.mjs +618 -152
- package/fesm2022/aeris-ui-core-input-text.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-key-filter.mjs +263 -201
- package/fesm2022/aeris-ui-core-key-filter.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-mega-menu.mjs +601 -388
- package/fesm2022/aeris-ui-core-mega-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-menu.mjs +1032 -495
- package/fesm2022/aeris-ui-core-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-menubar.mjs +960 -491
- package/fesm2022/aeris-ui-core-menubar.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-message.mjs +477 -145
- package/fesm2022/aeris-ui-core-message.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-meter-group.mjs +587 -196
- package/fesm2022/aeris-ui-core-meter-group.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-multi-select.mjs +1550 -552
- package/fesm2022/aeris-ui-core-multi-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-order-list.mjs +518 -202
- package/fesm2022/aeris-ui-core-order-list.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-organization-chart.mjs +455 -177
- package/fesm2022/aeris-ui-core-organization-chart.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-paginator.mjs +329 -127
- package/fesm2022/aeris-ui-core-paginator.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-panel.mjs +596 -196
- package/fesm2022/aeris-ui-core-panel.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-password.mjs +894 -247
- package/fesm2022/aeris-ui-core-password.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-pick-list.mjs +1280 -659
- package/fesm2022/aeris-ui-core-pick-list.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-popover.mjs +892 -386
- package/fesm2022/aeris-ui-core-popover.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-progress-bar.mjs +545 -177
- package/fesm2022/aeris-ui-core-progress-bar.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-progress-spinner.mjs +410 -133
- package/fesm2022/aeris-ui-core-progress-spinner.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-radio-button.mjs +386 -119
- package/fesm2022/aeris-ui-core-radio-button.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-rating.mjs +502 -225
- package/fesm2022/aeris-ui-core-rating.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-scroll-panel.mjs +457 -154
- package/fesm2022/aeris-ui-core-scroll-panel.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-scroll-top.mjs +204 -63
- package/fesm2022/aeris-ui-core-scroll-top.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-select.mjs +1794 -643
- package/fesm2022/aeris-ui-core-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-skeleton.mjs +149 -45
- package/fesm2022/aeris-ui-core-skeleton.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-slider.mjs +868 -404
- package/fesm2022/aeris-ui-core-slider.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-speed-dial.mjs +800 -329
- package/fesm2022/aeris-ui-core-speed-dial.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-split-button.mjs +880 -270
- package/fesm2022/aeris-ui-core-split-button.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-splitter.mjs +812 -352
- package/fesm2022/aeris-ui-core-splitter.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-stepper.mjs +697 -254
- package/fesm2022/aeris-ui-core-stepper.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-style-class.mjs +587 -342
- package/fesm2022/aeris-ui-core-style-class.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-table.mjs +1984 -865
- package/fesm2022/aeris-ui-core-table.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tabs.mjs +686 -324
- package/fesm2022/aeris-ui-core-tabs.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-textarea.mjs +846 -212
- package/fesm2022/aeris-ui-core-textarea.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-theme-builder.mjs +1256 -1423
- package/fesm2022/aeris-ui-core-theme-builder.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-theming.mjs +132 -147
- package/fesm2022/aeris-ui-core-theming.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tiered-menu.mjs +885 -465
- package/fesm2022/aeris-ui-core-tiered-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-timeline.mjs +407 -131
- package/fesm2022/aeris-ui-core-timeline.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-toast.mjs +855 -615
- package/fesm2022/aeris-ui-core-toast.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-toggle-switch.mjs +390 -127
- package/fesm2022/aeris-ui-core-toggle-switch.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-toolbar.mjs +458 -121
- package/fesm2022/aeris-ui-core-toolbar.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tooltip.mjs +623 -345
- package/fesm2022/aeris-ui-core-tooltip.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tree-select.mjs +1356 -601
- package/fesm2022/aeris-ui-core-tree-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tree-table.mjs +2001 -942
- package/fesm2022/aeris-ui-core-tree-table.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tree.mjs +1103 -658
- package/fesm2022/aeris-ui-core-tree.mjs.map +1 -1
- package/fesm2022/aeris-ui-core.mjs +861 -842
- package/fesm2022/aeris-ui-core.mjs.map +1 -1
- package/package.json +1 -1
- package/types/aeris-ui-core-accordion.d.ts +166 -93
- package/types/aeris-ui-core-animate-on-scroll.d.ts +71 -31
- package/types/aeris-ui-core-auto-complete.d.ts +326 -149
- package/types/aeris-ui-core-auto-focus.d.ts +24 -16
- package/types/aeris-ui-core-avatar.d.ts +112 -42
- package/types/aeris-ui-core-badge.d.ts +160 -47
- package/types/aeris-ui-core-block-ui.d.ts +47 -27
- package/types/aeris-ui-core-breadcrumb.d.ts +162 -92
- package/types/aeris-ui-core-button-group.d.ts +37 -16
- package/types/aeris-ui-core-button.d.ts +226 -64
- package/types/aeris-ui-core-card.d.ts +74 -37
- package/types/aeris-ui-core-carousel.d.ts +197 -117
- package/types/aeris-ui-core-cascade-select.d.ts +252 -131
- package/types/aeris-ui-core-chart.d.ts +134 -84
- package/types/aeris-ui-core-checkbox.d.ts +139 -55
- package/types/aeris-ui-core-chip.d.ts +116 -51
- package/types/aeris-ui-core-class-names.d.ts +22 -20
- package/types/aeris-ui-core-color-picker.d.ts +347 -150
- package/types/aeris-ui-core-compare.d.ts +224 -101
- package/types/aeris-ui-core-confirm-dialog.d.ts +441 -249
- package/types/aeris-ui-core-confirm-popup.d.ts +440 -268
- package/types/aeris-ui-core-context-menu.d.ts +262 -150
- package/types/aeris-ui-core-date-picker.d.ts +488 -226
- package/types/aeris-ui-core-dialog.d.ts +288 -121
- package/types/aeris-ui-core-divider.d.ts +58 -20
- package/types/aeris-ui-core-drawer.d.ts +273 -116
- package/types/aeris-ui-core-dynamic-dialog.d.ts +157 -140
- package/types/aeris-ui-core-editor.d.ts +243 -124
- package/types/aeris-ui-core-file-upload.d.ts +366 -197
- package/types/aeris-ui-core-filter-service.d.ts +48 -52
- package/types/aeris-ui-core-fluid.d.ts +12 -9
- package/types/aeris-ui-core-focus-trap.d.ts +39 -31
- package/types/aeris-ui-core-form-field.d.ts +158 -62
- package/types/aeris-ui-core-galleria.d.ts +589 -256
- package/types/aeris-ui-core-glass.d.ts +24 -11
- package/types/aeris-ui-core-icon-field.d.ts +94 -34
- package/types/aeris-ui-core-inplace.d.ts +123 -62
- package/types/aeris-ui-core-input-group.d.ts +84 -35
- package/types/aeris-ui-core-input-mask.d.ts +194 -71
- package/types/aeris-ui-core-input-number.d.ts +272 -90
- package/types/aeris-ui-core-input-otp.d.ts +190 -82
- package/types/aeris-ui-core-input-text.d.ts +185 -62
- package/types/aeris-ui-core-key-filter.d.ts +53 -39
- package/types/aeris-ui-core-mega-menu.d.ts +174 -123
- package/types/aeris-ui-core-menu.d.ts +275 -172
- package/types/aeris-ui-core-menubar.d.ts +272 -160
- package/types/aeris-ui-core-message.d.ts +132 -61
- package/types/aeris-ui-core-meter-group.d.ts +162 -90
- package/types/aeris-ui-core-multi-select.d.ts +435 -187
- package/types/aeris-ui-core-order-list.d.ts +143 -66
- package/types/aeris-ui-core-organization-chart.d.ts +132 -77
- package/types/aeris-ui-core-paginator.d.ts +92 -46
- package/types/aeris-ui-core-panel.d.ts +149 -78
- package/types/aeris-ui-core-password.d.ts +257 -108
- package/types/aeris-ui-core-pick-list.d.ts +373 -179
- package/types/aeris-ui-core-popover.d.ts +218 -107
- package/types/aeris-ui-core-progress-bar.d.ts +156 -74
- package/types/aeris-ui-core-progress-spinner.d.ts +110 -48
- package/types/aeris-ui-core-radio-button.d.ts +124 -51
- package/types/aeris-ui-core-rating.d.ts +149 -76
- package/types/aeris-ui-core-scroll-panel.d.ts +142 -64
- package/types/aeris-ui-core-scroll-top.d.ts +64 -29
- package/types/aeris-ui-core-select.d.ts +474 -226
- package/types/aeris-ui-core-skeleton.d.ts +39 -17
- package/types/aeris-ui-core-slider.d.ts +270 -116
- package/types/aeris-ui-core-speed-dial.d.ts +240 -112
- package/types/aeris-ui-core-split-button.d.ts +264 -121
- package/types/aeris-ui-core-splitter.d.ts +224 -106
- package/types/aeris-ui-core-stepper.d.ts +183 -91
- package/types/aeris-ui-core-style-class.d.ts +141 -71
- package/types/aeris-ui-core-table.d.ts +595 -308
- package/types/aeris-ui-core-tabs.d.ts +163 -90
- package/types/aeris-ui-core-textarea.d.ts +261 -81
- package/types/aeris-ui-core-theme-builder.d.ts +463 -475
- package/types/aeris-ui-core-theming.d.ts +42 -49
- package/types/aeris-ui-core-tiered-menu.d.ts +249 -147
- package/types/aeris-ui-core-timeline.d.ts +108 -71
- package/types/aeris-ui-core-toast.d.ts +219 -155
- package/types/aeris-ui-core-toggle-switch.d.ts +125 -52
- package/types/aeris-ui-core-toolbar.d.ts +98 -41
- package/types/aeris-ui-core-tooltip.d.ts +157 -92
- package/types/aeris-ui-core-tree-select.d.ts +359 -179
- package/types/aeris-ui-core-tree-table.d.ts +565 -290
- package/types/aeris-ui-core-tree.d.ts +269 -165
- package/types/aeris-ui-core.d.ts +161 -125
|
@@ -1,373 +1,461 @@
|
|
|
1
|
-
import { NgTemplateOutlet } from
|
|
2
|
-
import * as i0 from
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
1
|
+
import { NgTemplateOutlet } from "@angular/common";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import { Component, Directive, ElementRef, Injector, TemplateRef, afterNextRender, booleanAttribute, computed, contentChild, effect, inject, input, output, signal, viewChildren } from "@angular/core";
|
|
4
|
+
var AerisMegaMenuItemTemplate = class AerisMegaMenuItemTemplate {
|
|
5
|
+
template = inject(TemplateRef);
|
|
6
|
+
static ngTemplateContextGuard(_directive, context) {
|
|
7
|
+
return true;
|
|
8
|
+
}
|
|
9
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
10
|
+
minVersion: "12.0.0",
|
|
11
|
+
version: "22.2.1",
|
|
12
|
+
ngImport: i0,
|
|
13
|
+
type: AerisMegaMenuItemTemplate,
|
|
14
|
+
deps: [],
|
|
15
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
16
|
+
});
|
|
17
|
+
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
18
|
+
minVersion: "14.0.0",
|
|
19
|
+
version: "22.2.1",
|
|
20
|
+
type: AerisMegaMenuItemTemplate,
|
|
21
|
+
isStandalone: true,
|
|
22
|
+
selector: "ng-template[aerisMegaMenuItem]",
|
|
23
|
+
ngImport: i0
|
|
24
|
+
});
|
|
25
|
+
};
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
27
|
+
minVersion: "12.0.0",
|
|
28
|
+
version: "22.2.1",
|
|
29
|
+
ngImport: i0,
|
|
30
|
+
type: AerisMegaMenuItemTemplate,
|
|
31
|
+
decorators: [{
|
|
32
|
+
type: Directive,
|
|
33
|
+
args: [{ selector: "ng-template[aerisMegaMenuItem]" }]
|
|
34
|
+
}]
|
|
35
|
+
});
|
|
17
36
|
let nextMegaMenuId = 0;
|
|
18
|
-
class AerisMegaMenu {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
37
|
+
var AerisMegaMenu = class AerisMegaMenu {
|
|
38
|
+
host = inject(ElementRef);
|
|
39
|
+
injector = inject(Injector);
|
|
40
|
+
generatedId = `aeris-mega-menu-${++nextMegaMenuId}`;
|
|
41
|
+
itemTemplate = contentChild(AerisMegaMenuItemTemplate, {
|
|
42
|
+
...ngDevMode ? { debugName: "itemTemplate" } : /* istanbul ignore next */ {},
|
|
43
|
+
descendants: false
|
|
44
|
+
});
|
|
45
|
+
menuItems = viewChildren("menuItem", ...ngDevMode ? [{ debugName: "menuItems" }] : /* istanbul ignore next */ []);
|
|
46
|
+
activePathKey = signal("0", ...ngDevMode ? [{ debugName: "activePathKey" }] : /* istanbul ignore next */ []);
|
|
47
|
+
openRootIndex = signal(null, ...ngDevMode ? [{ debugName: "openRootIndex" }] : /* istanbul ignore next */ []);
|
|
48
|
+
id = input(this.generatedId, ...ngDevMode ? [{ debugName: "id" }] : /* istanbul ignore next */ []);
|
|
49
|
+
model = input([], ...ngDevMode ? [{ debugName: "model" }] : /* istanbul ignore next */ []);
|
|
50
|
+
orientation = input("horizontal", ...ngDevMode ? [{ debugName: "orientation" }] : /* istanbul ignore next */ []);
|
|
51
|
+
size = input("md", ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
|
|
52
|
+
ariaLabel = input("Mega menu", ...ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []);
|
|
53
|
+
ariaLabelledBy = input("", ...ngDevMode ? [{ debugName: "ariaLabelledBy" }] : /* istanbul ignore next */ []);
|
|
54
|
+
openOnHover = input(true, {
|
|
55
|
+
...ngDevMode ? { debugName: "openOnHover" } : /* istanbul ignore next */ {},
|
|
56
|
+
transform: booleanAttribute
|
|
57
|
+
});
|
|
58
|
+
closeOnMouseLeave = input(true, {
|
|
59
|
+
...ngDevMode ? { debugName: "closeOnMouseLeave" } : /* istanbul ignore next */ {},
|
|
60
|
+
transform: booleanAttribute
|
|
61
|
+
});
|
|
62
|
+
closeOnSelect = input(true, {
|
|
63
|
+
...ngDevMode ? { debugName: "closeOnSelect" } : /* istanbul ignore next */ {},
|
|
64
|
+
transform: booleanAttribute
|
|
65
|
+
});
|
|
66
|
+
navigationHandler = input(...ngDevMode ? [void 0, { debugName: "navigationHandler" }] : /* istanbul ignore next */ []);
|
|
67
|
+
itemSelected = output();
|
|
68
|
+
opened = output();
|
|
69
|
+
closed = output();
|
|
70
|
+
rootEntries = computed(() => this.visibleItems(this.model()).map((item, index) => this.createEntry(item, [index], 0, this.openRootIndex() === index)), ...ngDevMode ? [{ debugName: "rootEntries" }] : /* istanbul ignore next */ []);
|
|
71
|
+
constructor() {
|
|
72
|
+
effect((onCleanup) => {
|
|
73
|
+
if (this.openRootIndex() === null) return;
|
|
74
|
+
const document = this.host.nativeElement.ownerDocument;
|
|
75
|
+
const pointerdown = (event) => this.handleDocumentPointerdown(event);
|
|
76
|
+
const keydown = (event) => this.handleDocumentKeydown(event);
|
|
77
|
+
document.addEventListener("pointerdown", pointerdown);
|
|
78
|
+
document.addEventListener("keydown", keydown);
|
|
79
|
+
onCleanup(() => {
|
|
80
|
+
document.removeEventListener("pointerdown", pointerdown);
|
|
81
|
+
document.removeEventListener("keydown", keydown);
|
|
82
|
+
});
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
open(index, originalEvent = null) {
|
|
86
|
+
const entry = this.rootEntries()[index];
|
|
87
|
+
if (!entry || entry.disabled || !entry.panelGroups.length) return;
|
|
88
|
+
this.openRootIndex.set(index);
|
|
89
|
+
this.activePathKey.set(entry.pathKey);
|
|
90
|
+
this.opened.emit({
|
|
91
|
+
originalEvent,
|
|
92
|
+
visible: true,
|
|
93
|
+
root: entry.item,
|
|
94
|
+
reason: "api"
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
close(originalEvent = null, reason = "api") {
|
|
98
|
+
const entry = this.openRootIndex() == null ? null : this.rootEntries()[this.openRootIndex() ?? -1];
|
|
99
|
+
this.openRootIndex.set(null);
|
|
100
|
+
this.closed.emit({
|
|
101
|
+
originalEvent,
|
|
102
|
+
visible: false,
|
|
103
|
+
root: entry?.item ?? null,
|
|
104
|
+
reason
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
toggle(index, originalEvent = null) {
|
|
108
|
+
if (this.openRootIndex() === index) this.close(originalEvent);
|
|
109
|
+
else this.open(index, originalEvent);
|
|
110
|
+
}
|
|
111
|
+
focus() {
|
|
112
|
+
this.focusEntry(this.rootEntries().find((entry) => entry.active) ?? this.rootEntries()[0]);
|
|
113
|
+
}
|
|
114
|
+
visibleItems(items = []) {
|
|
115
|
+
return items.filter((item) => item.visible !== false);
|
|
116
|
+
}
|
|
117
|
+
activateRoot(event, entry) {
|
|
118
|
+
if (entry.disabled) {
|
|
119
|
+
event.preventDefault();
|
|
120
|
+
return;
|
|
121
|
+
}
|
|
122
|
+
if (entry.panelGroups.length) {
|
|
123
|
+
event.preventDefault();
|
|
124
|
+
this.toggle(entry.path[0] ?? 0, event);
|
|
125
|
+
return;
|
|
126
|
+
}
|
|
127
|
+
this.activateItem(event, entry, entry.item, null);
|
|
128
|
+
}
|
|
129
|
+
activateItem(event, entry, root, group) {
|
|
130
|
+
if (entry.disabled) {
|
|
131
|
+
event.preventDefault();
|
|
132
|
+
return;
|
|
133
|
+
}
|
|
134
|
+
const itemEvent = {
|
|
135
|
+
originalEvent: event,
|
|
136
|
+
item: entry.item,
|
|
137
|
+
path: entry.path,
|
|
138
|
+
root,
|
|
139
|
+
group
|
|
140
|
+
};
|
|
141
|
+
entry.item.command?.(itemEvent);
|
|
142
|
+
this.itemSelected.emit(itemEvent);
|
|
143
|
+
if (entry.item.routerLink && this.navigationHandler()) {
|
|
144
|
+
event.preventDefault();
|
|
145
|
+
this.navigationHandler()?.(entry.item.routerLink, event);
|
|
146
|
+
}
|
|
147
|
+
if (this.closeOnSelect()) this.close(event, "select");
|
|
148
|
+
}
|
|
149
|
+
openRootFromPointer(entry) {
|
|
150
|
+
if (!this.openOnHover() || entry.disabled || !entry.panelGroups.length) return;
|
|
151
|
+
this.open(entry.path[0] ?? 0);
|
|
152
|
+
}
|
|
153
|
+
handleNavMouseLeave(event) {
|
|
154
|
+
if (this.closeOnMouseLeave() && this.openRootIndex() !== null) this.close(event, "mouseleave");
|
|
155
|
+
}
|
|
156
|
+
setActivePath(path) {
|
|
157
|
+
this.activePathKey.set(this.pathKey(path));
|
|
158
|
+
}
|
|
159
|
+
handleRootKeydown(event, entry) {
|
|
160
|
+
switch (event.key) {
|
|
161
|
+
case "ArrowRight":
|
|
162
|
+
event.preventDefault();
|
|
163
|
+
this.focusRootSibling(entry, this.orientation() === "horizontal" ? 1 : 0);
|
|
164
|
+
break;
|
|
165
|
+
case "ArrowLeft":
|
|
166
|
+
event.preventDefault();
|
|
167
|
+
this.focusRootSibling(entry, this.orientation() === "horizontal" ? -1 : 0);
|
|
168
|
+
break;
|
|
169
|
+
case "ArrowDown":
|
|
170
|
+
event.preventDefault();
|
|
171
|
+
if (entry.panelGroups.length) {
|
|
172
|
+
this.open(entry.path[0] ?? 0, event);
|
|
173
|
+
this.focusFirstPanelItem(entry);
|
|
174
|
+
} else this.focusRootSibling(entry, this.orientation() === "vertical" ? 1 : 0);
|
|
175
|
+
break;
|
|
176
|
+
case "ArrowUp":
|
|
177
|
+
event.preventDefault();
|
|
178
|
+
if (this.orientation() === "vertical") this.focusRootSibling(entry, -1);
|
|
179
|
+
else if (entry.panelGroups.length) {
|
|
180
|
+
this.open(entry.path[0] ?? 0, event);
|
|
181
|
+
this.focusLastPanelItem(entry);
|
|
182
|
+
}
|
|
183
|
+
break;
|
|
184
|
+
case "Home":
|
|
185
|
+
event.preventDefault();
|
|
186
|
+
this.focusEntry(this.rootEntries()[0]);
|
|
187
|
+
break;
|
|
188
|
+
case "End":
|
|
189
|
+
event.preventDefault();
|
|
190
|
+
this.focusEntry(this.rootEntries().at(-1));
|
|
191
|
+
break;
|
|
192
|
+
case "Enter":
|
|
193
|
+
case " ":
|
|
194
|
+
event.preventDefault();
|
|
195
|
+
this.activateRoot(event, entry);
|
|
196
|
+
break;
|
|
197
|
+
case "Escape": this.close(event, "escape");
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
handlePanelKeydown(event, entry) {
|
|
201
|
+
const items = this.panelFocusableEntries();
|
|
202
|
+
const current = items.findIndex((item) => item.pathKey === entry.pathKey);
|
|
203
|
+
switch (event.key) {
|
|
204
|
+
case "ArrowDown":
|
|
205
|
+
event.preventDefault();
|
|
206
|
+
this.focusEntry(items[(current + 1 + items.length) % items.length]);
|
|
207
|
+
break;
|
|
208
|
+
case "ArrowUp":
|
|
209
|
+
event.preventDefault();
|
|
210
|
+
this.focusEntry(items[(current - 1 + items.length) % items.length]);
|
|
211
|
+
break;
|
|
212
|
+
case "ArrowRight":
|
|
213
|
+
event.preventDefault();
|
|
214
|
+
this.focusEntry(items[(current + 1 + items.length) % items.length]);
|
|
215
|
+
break;
|
|
216
|
+
case "ArrowLeft":
|
|
217
|
+
event.preventDefault();
|
|
218
|
+
this.focusEntry(items[(current - 1 + items.length) % items.length]);
|
|
219
|
+
break;
|
|
220
|
+
case "Home":
|
|
221
|
+
event.preventDefault();
|
|
222
|
+
this.focusEntry(items[0]);
|
|
223
|
+
break;
|
|
224
|
+
case "End":
|
|
225
|
+
event.preventDefault();
|
|
226
|
+
this.focusEntry(items.at(-1));
|
|
227
|
+
break;
|
|
228
|
+
case "Enter":
|
|
229
|
+
case " ":
|
|
230
|
+
event.preventDefault();
|
|
231
|
+
this.activateItem(event, entry, this.openRootEntry()?.item ?? entry.item, null);
|
|
232
|
+
break;
|
|
233
|
+
case "Escape":
|
|
234
|
+
event.preventDefault();
|
|
235
|
+
const root = this.openRootEntry();
|
|
236
|
+
this.close(event, "escape");
|
|
237
|
+
this.focusEntry(root);
|
|
238
|
+
break;
|
|
239
|
+
case "Tab": this.close(event, "outside");
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
handleDocumentPointerdown(event) {
|
|
243
|
+
if (this.openRootIndex() == null) return;
|
|
244
|
+
const target = event.target;
|
|
245
|
+
if (target instanceof Node && this.host.nativeElement.contains(target)) return;
|
|
246
|
+
this.close(event, "outside");
|
|
247
|
+
}
|
|
248
|
+
handleDocumentKeydown(event) {
|
|
249
|
+
if (event.key !== "Escape" || this.openRootIndex() == null) return;
|
|
250
|
+
this.close(event, "escape");
|
|
251
|
+
}
|
|
252
|
+
itemContext(entry, root, hasPanel) {
|
|
253
|
+
return {
|
|
254
|
+
$implicit: entry.item,
|
|
255
|
+
item: entry.item,
|
|
256
|
+
path: entry.path,
|
|
257
|
+
level: entry.level,
|
|
258
|
+
root,
|
|
259
|
+
active: entry.active,
|
|
260
|
+
open: entry.open,
|
|
261
|
+
disabled: entry.disabled,
|
|
262
|
+
hasPanel
|
|
263
|
+
};
|
|
264
|
+
}
|
|
265
|
+
panelPath(rootPath, groupIndex, index, prefix) {
|
|
266
|
+
return [
|
|
267
|
+
...rootPath,
|
|
268
|
+
groupIndex,
|
|
269
|
+
...prefix,
|
|
270
|
+
index
|
|
271
|
+
];
|
|
272
|
+
}
|
|
273
|
+
panelEntry(item, path, level) {
|
|
274
|
+
return this.createEntry(item, path, level, false);
|
|
275
|
+
}
|
|
276
|
+
createEntry(item, path, level, open) {
|
|
277
|
+
const key = this.pathKey(path);
|
|
278
|
+
return {
|
|
279
|
+
item,
|
|
280
|
+
path,
|
|
281
|
+
pathKey: key,
|
|
282
|
+
id: item.id ?? `${this.id()}-item-${key.replace(/\./g, "-")}`,
|
|
283
|
+
level,
|
|
284
|
+
disabled: !!item.disabled,
|
|
285
|
+
active: this.activePathKey() === key,
|
|
286
|
+
open,
|
|
287
|
+
href: this.resolveHref(item),
|
|
288
|
+
panelGroups: level === 0 ? this.groupsFor(item) : []
|
|
289
|
+
};
|
|
290
|
+
}
|
|
291
|
+
groupsFor(item) {
|
|
292
|
+
if (!item) return [];
|
|
293
|
+
if (item.groups?.length) return item.groups.filter((group) => group.items.some((child) => child.visible !== false)).map((group) => ({
|
|
294
|
+
...group,
|
|
295
|
+
items: this.visibleItems(group.items)
|
|
296
|
+
}));
|
|
297
|
+
if (item.items?.length) return [{ items: this.visibleItems(item.items) }];
|
|
298
|
+
return [];
|
|
299
|
+
}
|
|
300
|
+
focusRootSibling(entry, step) {
|
|
301
|
+
if (step === 0) return;
|
|
302
|
+
const entries = this.rootEntries().filter((item) => !item.disabled);
|
|
303
|
+
const current = entries.findIndex((item) => item.pathKey === entry.pathKey);
|
|
304
|
+
this.focusEntry(entries[(current + step + entries.length) % entries.length]);
|
|
305
|
+
}
|
|
306
|
+
focusFirstPanelItem(entry) {
|
|
307
|
+
afterNextRender(() => {
|
|
308
|
+
this.focusEntry(this.panelFocusableEntries(entry)[0]);
|
|
309
|
+
}, { injector: this.injector });
|
|
310
|
+
}
|
|
311
|
+
focusLastPanelItem(entry) {
|
|
312
|
+
afterNextRender(() => {
|
|
313
|
+
this.focusEntry(this.panelFocusableEntries(entry).at(-1));
|
|
314
|
+
}, { injector: this.injector });
|
|
315
|
+
}
|
|
316
|
+
focusEntry(entry) {
|
|
317
|
+
if (!entry) return;
|
|
318
|
+
this.activePathKey.set(entry.pathKey);
|
|
319
|
+
afterNextRender(() => {
|
|
320
|
+
this.menuItems().find(({ nativeElement }) => nativeElement.getAttribute("data-aeris-mega-menu-path") === entry.pathKey)?.nativeElement.focus();
|
|
321
|
+
}, { injector: this.injector });
|
|
322
|
+
}
|
|
323
|
+
panelFocusableEntries(root = this.openRootEntry()) {
|
|
324
|
+
if (!root) return [];
|
|
325
|
+
return root.panelGroups.flatMap((group, groupIndex) => this.flattenPanelItems(group.items, root.path, group, groupIndex, []));
|
|
326
|
+
}
|
|
327
|
+
flattenPanelItems(items, rootPath, group, groupIndex, prefix) {
|
|
328
|
+
return this.visibleItems(items).flatMap((item, index) => {
|
|
329
|
+
if (item.separator) return [];
|
|
330
|
+
const path = this.panelPath(rootPath, groupIndex, index, prefix);
|
|
331
|
+
return [this.createEntry(item, path, prefix.length + 1, false), ...this.flattenPanelItems(item.items ?? [], rootPath, group, groupIndex, [...prefix, index])];
|
|
332
|
+
}).filter((entry) => !entry.disabled);
|
|
333
|
+
}
|
|
334
|
+
openRootEntry() {
|
|
335
|
+
const index = this.openRootIndex();
|
|
336
|
+
return index == null ? void 0 : this.rootEntries()[index];
|
|
337
|
+
}
|
|
338
|
+
resolveHref(item) {
|
|
339
|
+
if (item.url) return item.url;
|
|
340
|
+
if (!item.routerLink) return null;
|
|
341
|
+
if (typeof item.routerLink === "string") return item.routerLink;
|
|
342
|
+
return `/${item.routerLink.map((segment) => String(segment).replace(/^\/+|\/+$/g, "")).filter(Boolean).join("/")}`;
|
|
343
|
+
}
|
|
344
|
+
pathKey(path) {
|
|
345
|
+
return path.join(".");
|
|
346
|
+
}
|
|
347
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
348
|
+
minVersion: "12.0.0",
|
|
349
|
+
version: "22.2.1",
|
|
350
|
+
ngImport: i0,
|
|
351
|
+
type: AerisMegaMenu,
|
|
352
|
+
deps: [],
|
|
353
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
354
|
+
});
|
|
355
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
356
|
+
minVersion: "17.0.0",
|
|
357
|
+
version: "22.2.1",
|
|
358
|
+
type: AerisMegaMenu,
|
|
359
|
+
isStandalone: true,
|
|
360
|
+
selector: "aeris-mega-menu",
|
|
361
|
+
inputs: {
|
|
362
|
+
id: {
|
|
363
|
+
classPropertyName: "id",
|
|
364
|
+
publicName: "id",
|
|
365
|
+
isSignal: true,
|
|
366
|
+
isRequired: false,
|
|
367
|
+
transformFunction: null
|
|
368
|
+
},
|
|
369
|
+
model: {
|
|
370
|
+
classPropertyName: "model",
|
|
371
|
+
publicName: "model",
|
|
372
|
+
isSignal: true,
|
|
373
|
+
isRequired: false,
|
|
374
|
+
transformFunction: null
|
|
375
|
+
},
|
|
376
|
+
orientation: {
|
|
377
|
+
classPropertyName: "orientation",
|
|
378
|
+
publicName: "orientation",
|
|
379
|
+
isSignal: true,
|
|
380
|
+
isRequired: false,
|
|
381
|
+
transformFunction: null
|
|
382
|
+
},
|
|
383
|
+
size: {
|
|
384
|
+
classPropertyName: "size",
|
|
385
|
+
publicName: "size",
|
|
386
|
+
isSignal: true,
|
|
387
|
+
isRequired: false,
|
|
388
|
+
transformFunction: null
|
|
389
|
+
},
|
|
390
|
+
ariaLabel: {
|
|
391
|
+
classPropertyName: "ariaLabel",
|
|
392
|
+
publicName: "ariaLabel",
|
|
393
|
+
isSignal: true,
|
|
394
|
+
isRequired: false,
|
|
395
|
+
transformFunction: null
|
|
396
|
+
},
|
|
397
|
+
ariaLabelledBy: {
|
|
398
|
+
classPropertyName: "ariaLabelledBy",
|
|
399
|
+
publicName: "ariaLabelledBy",
|
|
400
|
+
isSignal: true,
|
|
401
|
+
isRequired: false,
|
|
402
|
+
transformFunction: null
|
|
403
|
+
},
|
|
404
|
+
openOnHover: {
|
|
405
|
+
classPropertyName: "openOnHover",
|
|
406
|
+
publicName: "openOnHover",
|
|
407
|
+
isSignal: true,
|
|
408
|
+
isRequired: false,
|
|
409
|
+
transformFunction: null
|
|
410
|
+
},
|
|
411
|
+
closeOnMouseLeave: {
|
|
412
|
+
classPropertyName: "closeOnMouseLeave",
|
|
413
|
+
publicName: "closeOnMouseLeave",
|
|
414
|
+
isSignal: true,
|
|
415
|
+
isRequired: false,
|
|
416
|
+
transformFunction: null
|
|
417
|
+
},
|
|
418
|
+
closeOnSelect: {
|
|
419
|
+
classPropertyName: "closeOnSelect",
|
|
420
|
+
publicName: "closeOnSelect",
|
|
421
|
+
isSignal: true,
|
|
422
|
+
isRequired: false,
|
|
423
|
+
transformFunction: null
|
|
424
|
+
},
|
|
425
|
+
navigationHandler: {
|
|
426
|
+
classPropertyName: "navigationHandler",
|
|
427
|
+
publicName: "navigationHandler",
|
|
428
|
+
isSignal: true,
|
|
429
|
+
isRequired: false,
|
|
430
|
+
transformFunction: null
|
|
431
|
+
}
|
|
432
|
+
},
|
|
433
|
+
outputs: {
|
|
434
|
+
itemSelected: "itemSelected",
|
|
435
|
+
opened: "opened",
|
|
436
|
+
closed: "closed"
|
|
437
|
+
},
|
|
438
|
+
host: {
|
|
439
|
+
properties: {
|
|
440
|
+
"attr.data-orientation": "orientation()",
|
|
441
|
+
"attr.data-size": "size()"
|
|
442
|
+
},
|
|
443
|
+
classAttribute: "aeris-mega-menu"
|
|
444
|
+
},
|
|
445
|
+
queries: [{
|
|
446
|
+
propertyName: "itemTemplate",
|
|
447
|
+
first: true,
|
|
448
|
+
predicate: AerisMegaMenuItemTemplate,
|
|
449
|
+
isSignal: true
|
|
450
|
+
}],
|
|
451
|
+
viewQueries: [{
|
|
452
|
+
propertyName: "menuItems",
|
|
453
|
+
predicate: ["menuItem"],
|
|
454
|
+
descendants: true,
|
|
455
|
+
isSignal: true
|
|
456
|
+
}],
|
|
457
|
+
ngImport: i0,
|
|
458
|
+
template: `
|
|
371
459
|
<ng-template #itemContent let-entry let-root="root" let-hasPanel="hasPanel">
|
|
372
460
|
<ng-container
|
|
373
461
|
[ngTemplateOutlet]="itemTemplate()?.template ?? defaultItemTemplate"
|
|
@@ -594,11 +682,32 @@ class AerisMegaMenu {
|
|
|
594
682
|
}
|
|
595
683
|
</ul>
|
|
596
684
|
</nav>
|
|
597
|
-
`,
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
685
|
+
`,
|
|
686
|
+
isInline: true,
|
|
687
|
+
styles: [":host{--_aeris-mega-menu-item-radius: var( --aeris-mega-menu-item-radius, var( --aeris-radius-item, max( 0px, calc( var( --aeris-mega-menu-radius, var(--aeris-radius-surface, var(--aeris-radius-lg, .75rem)) ) - var(--aeris-mega-menu-padding, .35rem) - 1px ) ) ) );display:block;color:var(--aeris-mega-menu-color, var(--aeris-text, #222222))}.aeris-mega-menu__nav{position:relative}.aeris-mega-menu__root{display:flex;align-items:stretch;gap:var(--aeris-mega-menu-gap, calc(var(--aeris-density-gap, .5rem) * .5));margin:0;padding:var(--aeris-mega-menu-padding, .35rem);border:1px solid var(--aeris-mega-menu-border, var(--aeris-border));border-radius:var(--aeris-mega-menu-radius, var(--aeris-radius-surface, var(--aeris-radius-lg, .75rem)));background:var(--aeris-mega-menu-background, var(--aeris-surface, #fff));box-shadow:var(--aeris-mega-menu-shadow, 0 1rem 2.5rem rgba(0, 0, 0, .08));list-style:none}:host([data-orientation=vertical]) .aeris-mega-menu__root{width:min(100%,var(--aeris-mega-menu-vertical-width, 18rem));flex-direction:column}.aeris-mega-menu__root-item{position:relative}.aeris-mega-menu__trigger,.aeris-mega-menu__panel-item{width:100%;min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:var(--aeris-mega-menu-item-gap, var(--aeris-density-gap, .5rem));border:0;background:transparent;color:inherit;font:inherit;text-align:start;text-decoration:none;cursor:pointer}.aeris-mega-menu__trigger{min-height:var(--aeris-mega-menu-trigger-height, var(--aeris-item-height, 2.5rem));border-radius:var(--_aeris-mega-menu-item-radius);padding:var(--aeris-mega-menu-trigger-padding, var(--aeris-item-padding-y, .5rem) var(--aeris-item-padding-x, .75rem));font-weight:750}.aeris-mega-menu__panel-item{min-height:var(--aeris-mega-menu-panel-item-height, var(--aeris-item-height, 2.5rem));border-radius:var(--aeris-mega-menu-panel-item-radius, var(--_aeris-mega-menu-item-radius));padding:var(--aeris-mega-menu-panel-item-padding, var(--aeris-item-padding-y, .5rem) var(--aeris-item-padding-x, .75rem));font-size:var(--aeris-mega-menu-panel-font-size, .875rem)}.aeris-mega-menu__trigger:hover,.aeris-mega-menu__root-item[data-open=true]>.aeris-mega-menu__trigger,.aeris-mega-menu__panel-item:hover{background:var(--aeris-mega-menu-item-hover-background, var(--aeris-interactive-hover, var(--aeris-surface-2, #f2f0ec)));color:var(--aeris-mega-menu-item-hover-color, var(--aeris-text, #222222))}.aeris-mega-menu__trigger:focus-visible,.aeris-mega-menu__panel-item:focus-visible{outline:3px solid color-mix(in srgb,var(--aeris-focus, var(--aeris-primary, #2c694b)) 38%,transparent);outline-offset:2px}.aeris-mega-menu__trigger:disabled,.aeris-mega-menu__panel-item:disabled,.aeris-mega-menu__trigger[aria-disabled=true],.aeris-mega-menu__panel-item[aria-disabled=true]{cursor:not-allowed;opacity:var(--aeris-mega-menu-disabled-opacity, .52)}.aeris-mega-menu__copy{min-width:0;display:grid;gap:calc(var(--aeris-density-gap, .5rem) * .25)}.aeris-mega-menu__label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.aeris-mega-menu__description{color:var(--aeris-mega-menu-description-color, var(--aeris-text-2, #555555));font-size:.75rem;font-weight:600;line-height:1.25}.aeris-mega-menu__icon,.aeris-mega-menu__chevron{inline-size:var(--aeris-mega-menu-icon-size, 1.125rem);block-size:var(--aeris-mega-menu-icon-size, 1.125rem);display:inline-grid;place-items:center;color:var(--aeris-mega-menu-icon-color, currentColor)}.aeris-mega-menu__chevron{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2;transition:transform .14s ease}.aeris-mega-menu__root-item[data-open=true] .aeris-mega-menu__chevron{transform:rotate(180deg)}.aeris-mega-menu__badge{inline-size:max-content;min-inline-size:1.35rem;max-inline-size:var(--aeris-mega-menu-badge-max-width, min(7rem, 36vw));justify-self:end;padding:.125rem .4rem;border-radius:var(--aeris-radius-pill, 999px);background:var(--aeris-mega-menu-badge-background, color-mix(in srgb, var(--aeris-primary, #2c694b) 15%, transparent));color:var(--aeris-mega-menu-badge-color, var(--aeris-primary-text, #2c694b));font-size:.72rem;font-weight:850;overflow:hidden;text-align:center;text-overflow:ellipsis;white-space:nowrap}.aeris-mega-menu__panel{position:absolute;z-index:var(--aeris-mega-menu-z-index, 1040);inset-block-start:calc(100% + var(--aeris-mega-menu-panel-offset, .45rem));inset-inline-start:0;width:min(var(--aeris-mega-menu-panel-width, 44rem),100vw - 2rem);padding:var(--aeris-mega-menu-panel-padding, calc(var(--aeris-item-padding-x, .75rem) * 1.35));border:1px solid var(--aeris-mega-menu-panel-border, var(--aeris-border));border-radius:var(--aeris-mega-menu-panel-radius, var(--aeris-radius-overlay, var(--aeris-radius-md, .6875rem)));background:var(--aeris-mega-menu-panel-background, var(--aeris-surface, #fff));box-shadow:var(--aeris-mega-menu-panel-shadow, 0 1.25rem 3rem rgba(0, 0, 0, .16))}:host([data-orientation=vertical]) .aeris-mega-menu__panel{inset-block-start:0;inset-inline-start:calc(100% + var(--aeris-mega-menu-panel-offset, .45rem))}.aeris-mega-menu__panel-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(11rem,100%),1fr));gap:var(--aeris-mega-menu-panel-gap, calc(var(--aeris-density-gap, .5rem) + .35rem))}.aeris-mega-menu__group{min-width:0;display:grid;align-content:start;gap:var(--aeris-density-gap, .5rem)}.aeris-mega-menu__group-header{display:grid;gap:calc(var(--aeris-density-gap, .5rem) * .3);padding:0 calc(var(--aeris-item-padding-x, .75rem) * .6)}.aeris-mega-menu__group-header h3,.aeris-mega-menu__group-header p{margin:0}.aeris-mega-menu__group-header h3{color:var(--aeris-mega-menu-group-title-color, var(--aeris-text, #222222));font-size:.78rem;font-weight:850;letter-spacing:.04em;text-transform:uppercase}.aeris-mega-menu__group-header p{color:var(--aeris-mega-menu-description-color, var(--aeris-text-2, #555555));font-size:.75rem}.aeris-mega-menu__panel-list{display:grid;gap:calc(var(--aeris-density-gap, .5rem) * .25);margin:0;padding:0;list-style:none}.aeris-mega-menu__panel-list .aeris-mega-menu__panel-list{margin-block-start:.25rem;padding-inline-start:.75rem;border-inline-start:1px solid var(--aeris-mega-menu-border, var(--aeris-border))}.aeris-mega-menu__separator{block-size:1px;margin:.35rem .5rem;background:var(--aeris-mega-menu-border, var(--aeris-border))}:host([data-size=sm]){--aeris-mega-menu-trigger-height: calc(var(--aeris-item-height, 2.5rem) - .35rem);--aeris-mega-menu-panel-item-height: calc(var(--aeris-item-height, 2.5rem) - .45rem);--aeris-mega-menu-panel-font-size: .8125rem;--aeris-mega-menu-icon-size: 1rem}:host([data-size=lg]){--aeris-mega-menu-trigger-height: calc(var(--aeris-item-height, 2.5rem) + .35rem);--aeris-mega-menu-panel-item-height: calc(var(--aeris-item-height, 2.5rem) + .25rem);--aeris-mega-menu-panel-font-size: .9375rem;--aeris-mega-menu-icon-size: 1.25rem}@media(max-width:44rem){.aeris-mega-menu__root{flex-direction:column}.aeris-mega-menu__panel,:host([data-orientation=vertical]) .aeris-mega-menu__panel{position:static;width:100%;margin-block-start:.35rem}}@media(prefers-reduced-motion:reduce){.aeris-mega-menu__chevron{transition:none}}\n"],
|
|
688
|
+
dependencies: [{
|
|
689
|
+
kind: "directive",
|
|
690
|
+
type: NgTemplateOutlet,
|
|
691
|
+
selector: "[ngTemplateOutlet]",
|
|
692
|
+
inputs: [
|
|
693
|
+
"ngTemplateOutletContext",
|
|
694
|
+
"ngTemplateOutlet",
|
|
695
|
+
"ngTemplateOutletInjector"
|
|
696
|
+
]
|
|
697
|
+
}]
|
|
698
|
+
});
|
|
699
|
+
};
|
|
700
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
701
|
+
minVersion: "12.0.0",
|
|
702
|
+
version: "22.2.1",
|
|
703
|
+
ngImport: i0,
|
|
704
|
+
type: AerisMegaMenu,
|
|
705
|
+
decorators: [{
|
|
706
|
+
type: Component,
|
|
707
|
+
args: [{
|
|
708
|
+
selector: "aeris-mega-menu",
|
|
709
|
+
imports: [NgTemplateOutlet],
|
|
710
|
+
template: `
|
|
602
711
|
<ng-template #itemContent let-entry let-root="root" let-hasPanel="hasPanel">
|
|
603
712
|
<ng-container
|
|
604
713
|
[ngTemplateOutlet]="itemTemplate()?.template ?? defaultItemTemplate"
|
|
@@ -825,19 +934,123 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImpor
|
|
|
825
934
|
}
|
|
826
935
|
</ul>
|
|
827
936
|
</nav>
|
|
828
|
-
`,
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
937
|
+
`,
|
|
938
|
+
host: {
|
|
939
|
+
class: "aeris-mega-menu",
|
|
940
|
+
"[attr.data-orientation]": "orientation()",
|
|
941
|
+
"[attr.data-size]": "size()"
|
|
942
|
+
},
|
|
943
|
+
styles: [":host{--_aeris-mega-menu-item-radius: var( --aeris-mega-menu-item-radius, var( --aeris-radius-item, max( 0px, calc( var( --aeris-mega-menu-radius, var(--aeris-radius-surface, var(--aeris-radius-lg, .75rem)) ) - var(--aeris-mega-menu-padding, .35rem) - 1px ) ) ) );display:block;color:var(--aeris-mega-menu-color, var(--aeris-text, #222222))}.aeris-mega-menu__nav{position:relative}.aeris-mega-menu__root{display:flex;align-items:stretch;gap:var(--aeris-mega-menu-gap, calc(var(--aeris-density-gap, .5rem) * .5));margin:0;padding:var(--aeris-mega-menu-padding, .35rem);border:1px solid var(--aeris-mega-menu-border, var(--aeris-border));border-radius:var(--aeris-mega-menu-radius, var(--aeris-radius-surface, var(--aeris-radius-lg, .75rem)));background:var(--aeris-mega-menu-background, var(--aeris-surface, #fff));box-shadow:var(--aeris-mega-menu-shadow, 0 1rem 2.5rem rgba(0, 0, 0, .08));list-style:none}:host([data-orientation=vertical]) .aeris-mega-menu__root{width:min(100%,var(--aeris-mega-menu-vertical-width, 18rem));flex-direction:column}.aeris-mega-menu__root-item{position:relative}.aeris-mega-menu__trigger,.aeris-mega-menu__panel-item{width:100%;min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:var(--aeris-mega-menu-item-gap, var(--aeris-density-gap, .5rem));border:0;background:transparent;color:inherit;font:inherit;text-align:start;text-decoration:none;cursor:pointer}.aeris-mega-menu__trigger{min-height:var(--aeris-mega-menu-trigger-height, var(--aeris-item-height, 2.5rem));border-radius:var(--_aeris-mega-menu-item-radius);padding:var(--aeris-mega-menu-trigger-padding, var(--aeris-item-padding-y, .5rem) var(--aeris-item-padding-x, .75rem));font-weight:750}.aeris-mega-menu__panel-item{min-height:var(--aeris-mega-menu-panel-item-height, var(--aeris-item-height, 2.5rem));border-radius:var(--aeris-mega-menu-panel-item-radius, var(--_aeris-mega-menu-item-radius));padding:var(--aeris-mega-menu-panel-item-padding, var(--aeris-item-padding-y, .5rem) var(--aeris-item-padding-x, .75rem));font-size:var(--aeris-mega-menu-panel-font-size, .875rem)}.aeris-mega-menu__trigger:hover,.aeris-mega-menu__root-item[data-open=true]>.aeris-mega-menu__trigger,.aeris-mega-menu__panel-item:hover{background:var(--aeris-mega-menu-item-hover-background, var(--aeris-interactive-hover, var(--aeris-surface-2, #f2f0ec)));color:var(--aeris-mega-menu-item-hover-color, var(--aeris-text, #222222))}.aeris-mega-menu__trigger:focus-visible,.aeris-mega-menu__panel-item:focus-visible{outline:3px solid color-mix(in srgb,var(--aeris-focus, var(--aeris-primary, #2c694b)) 38%,transparent);outline-offset:2px}.aeris-mega-menu__trigger:disabled,.aeris-mega-menu__panel-item:disabled,.aeris-mega-menu__trigger[aria-disabled=true],.aeris-mega-menu__panel-item[aria-disabled=true]{cursor:not-allowed;opacity:var(--aeris-mega-menu-disabled-opacity, .52)}.aeris-mega-menu__copy{min-width:0;display:grid;gap:calc(var(--aeris-density-gap, .5rem) * .25)}.aeris-mega-menu__label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.aeris-mega-menu__description{color:var(--aeris-mega-menu-description-color, var(--aeris-text-2, #555555));font-size:.75rem;font-weight:600;line-height:1.25}.aeris-mega-menu__icon,.aeris-mega-menu__chevron{inline-size:var(--aeris-mega-menu-icon-size, 1.125rem);block-size:var(--aeris-mega-menu-icon-size, 1.125rem);display:inline-grid;place-items:center;color:var(--aeris-mega-menu-icon-color, currentColor)}.aeris-mega-menu__chevron{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2;transition:transform .14s ease}.aeris-mega-menu__root-item[data-open=true] .aeris-mega-menu__chevron{transform:rotate(180deg)}.aeris-mega-menu__badge{inline-size:max-content;min-inline-size:1.35rem;max-inline-size:var(--aeris-mega-menu-badge-max-width, min(7rem, 36vw));justify-self:end;padding:.125rem .4rem;border-radius:var(--aeris-radius-pill, 999px);background:var(--aeris-mega-menu-badge-background, color-mix(in srgb, var(--aeris-primary, #2c694b) 15%, transparent));color:var(--aeris-mega-menu-badge-color, var(--aeris-primary-text, #2c694b));font-size:.72rem;font-weight:850;overflow:hidden;text-align:center;text-overflow:ellipsis;white-space:nowrap}.aeris-mega-menu__panel{position:absolute;z-index:var(--aeris-mega-menu-z-index, 1040);inset-block-start:calc(100% + var(--aeris-mega-menu-panel-offset, .45rem));inset-inline-start:0;width:min(var(--aeris-mega-menu-panel-width, 44rem),100vw - 2rem);padding:var(--aeris-mega-menu-panel-padding, calc(var(--aeris-item-padding-x, .75rem) * 1.35));border:1px solid var(--aeris-mega-menu-panel-border, var(--aeris-border));border-radius:var(--aeris-mega-menu-panel-radius, var(--aeris-radius-overlay, var(--aeris-radius-md, .6875rem)));background:var(--aeris-mega-menu-panel-background, var(--aeris-surface, #fff));box-shadow:var(--aeris-mega-menu-panel-shadow, 0 1.25rem 3rem rgba(0, 0, 0, .16))}:host([data-orientation=vertical]) .aeris-mega-menu__panel{inset-block-start:0;inset-inline-start:calc(100% + var(--aeris-mega-menu-panel-offset, .45rem))}.aeris-mega-menu__panel-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(11rem,100%),1fr));gap:var(--aeris-mega-menu-panel-gap, calc(var(--aeris-density-gap, .5rem) + .35rem))}.aeris-mega-menu__group{min-width:0;display:grid;align-content:start;gap:var(--aeris-density-gap, .5rem)}.aeris-mega-menu__group-header{display:grid;gap:calc(var(--aeris-density-gap, .5rem) * .3);padding:0 calc(var(--aeris-item-padding-x, .75rem) * .6)}.aeris-mega-menu__group-header h3,.aeris-mega-menu__group-header p{margin:0}.aeris-mega-menu__group-header h3{color:var(--aeris-mega-menu-group-title-color, var(--aeris-text, #222222));font-size:.78rem;font-weight:850;letter-spacing:.04em;text-transform:uppercase}.aeris-mega-menu__group-header p{color:var(--aeris-mega-menu-description-color, var(--aeris-text-2, #555555));font-size:.75rem}.aeris-mega-menu__panel-list{display:grid;gap:calc(var(--aeris-density-gap, .5rem) * .25);margin:0;padding:0;list-style:none}.aeris-mega-menu__panel-list .aeris-mega-menu__panel-list{margin-block-start:.25rem;padding-inline-start:.75rem;border-inline-start:1px solid var(--aeris-mega-menu-border, var(--aeris-border))}.aeris-mega-menu__separator{block-size:1px;margin:.35rem .5rem;background:var(--aeris-mega-menu-border, var(--aeris-border))}:host([data-size=sm]){--aeris-mega-menu-trigger-height: calc(var(--aeris-item-height, 2.5rem) - .35rem);--aeris-mega-menu-panel-item-height: calc(var(--aeris-item-height, 2.5rem) - .45rem);--aeris-mega-menu-panel-font-size: .8125rem;--aeris-mega-menu-icon-size: 1rem}:host([data-size=lg]){--aeris-mega-menu-trigger-height: calc(var(--aeris-item-height, 2.5rem) + .35rem);--aeris-mega-menu-panel-item-height: calc(var(--aeris-item-height, 2.5rem) + .25rem);--aeris-mega-menu-panel-font-size: .9375rem;--aeris-mega-menu-icon-size: 1.25rem}@media(max-width:44rem){.aeris-mega-menu__root{flex-direction:column}.aeris-mega-menu__panel,:host([data-orientation=vertical]) .aeris-mega-menu__panel{position:static;width:100%;margin-block-start:.35rem}}@media(prefers-reduced-motion:reduce){.aeris-mega-menu__chevron{transition:none}}\n"]
|
|
944
|
+
}]
|
|
945
|
+
}],
|
|
946
|
+
ctorParameters: () => [],
|
|
947
|
+
propDecorators: {
|
|
948
|
+
itemTemplate: [{
|
|
949
|
+
type: i0.ContentChild,
|
|
950
|
+
args: [i0.forwardRef(() => AerisMegaMenuItemTemplate), {
|
|
951
|
+
descendants: false,
|
|
952
|
+
isSignal: true
|
|
953
|
+
}]
|
|
954
|
+
}],
|
|
955
|
+
menuItems: [{
|
|
956
|
+
type: i0.ViewChildren,
|
|
957
|
+
args: ["menuItem", { isSignal: true }]
|
|
958
|
+
}],
|
|
959
|
+
id: [{
|
|
960
|
+
type: i0.Input,
|
|
961
|
+
args: [{
|
|
962
|
+
isSignal: true,
|
|
963
|
+
alias: "id",
|
|
964
|
+
required: false
|
|
965
|
+
}]
|
|
966
|
+
}],
|
|
967
|
+
model: [{
|
|
968
|
+
type: i0.Input,
|
|
969
|
+
args: [{
|
|
970
|
+
isSignal: true,
|
|
971
|
+
alias: "model",
|
|
972
|
+
required: false
|
|
973
|
+
}]
|
|
974
|
+
}],
|
|
975
|
+
orientation: [{
|
|
976
|
+
type: i0.Input,
|
|
977
|
+
args: [{
|
|
978
|
+
isSignal: true,
|
|
979
|
+
alias: "orientation",
|
|
980
|
+
required: false
|
|
981
|
+
}]
|
|
982
|
+
}],
|
|
983
|
+
size: [{
|
|
984
|
+
type: i0.Input,
|
|
985
|
+
args: [{
|
|
986
|
+
isSignal: true,
|
|
987
|
+
alias: "size",
|
|
988
|
+
required: false
|
|
989
|
+
}]
|
|
990
|
+
}],
|
|
991
|
+
ariaLabel: [{
|
|
992
|
+
type: i0.Input,
|
|
993
|
+
args: [{
|
|
994
|
+
isSignal: true,
|
|
995
|
+
alias: "ariaLabel",
|
|
996
|
+
required: false
|
|
997
|
+
}]
|
|
998
|
+
}],
|
|
999
|
+
ariaLabelledBy: [{
|
|
1000
|
+
type: i0.Input,
|
|
1001
|
+
args: [{
|
|
1002
|
+
isSignal: true,
|
|
1003
|
+
alias: "ariaLabelledBy",
|
|
1004
|
+
required: false
|
|
1005
|
+
}]
|
|
1006
|
+
}],
|
|
1007
|
+
openOnHover: [{
|
|
1008
|
+
type: i0.Input,
|
|
1009
|
+
args: [{
|
|
1010
|
+
isSignal: true,
|
|
1011
|
+
alias: "openOnHover",
|
|
1012
|
+
required: false
|
|
1013
|
+
}]
|
|
1014
|
+
}],
|
|
1015
|
+
closeOnMouseLeave: [{
|
|
1016
|
+
type: i0.Input,
|
|
1017
|
+
args: [{
|
|
1018
|
+
isSignal: true,
|
|
1019
|
+
alias: "closeOnMouseLeave",
|
|
1020
|
+
required: false
|
|
1021
|
+
}]
|
|
1022
|
+
}],
|
|
1023
|
+
closeOnSelect: [{
|
|
1024
|
+
type: i0.Input,
|
|
1025
|
+
args: [{
|
|
1026
|
+
isSignal: true,
|
|
1027
|
+
alias: "closeOnSelect",
|
|
1028
|
+
required: false
|
|
1029
|
+
}]
|
|
1030
|
+
}],
|
|
1031
|
+
navigationHandler: [{
|
|
1032
|
+
type: i0.Input,
|
|
1033
|
+
args: [{
|
|
1034
|
+
isSignal: true,
|
|
1035
|
+
alias: "navigationHandler",
|
|
1036
|
+
required: false
|
|
1037
|
+
}]
|
|
1038
|
+
}],
|
|
1039
|
+
itemSelected: [{
|
|
1040
|
+
type: i0.Output,
|
|
1041
|
+
args: ["itemSelected"]
|
|
1042
|
+
}],
|
|
1043
|
+
opened: [{
|
|
1044
|
+
type: i0.Output,
|
|
1045
|
+
args: ["opened"]
|
|
1046
|
+
}],
|
|
1047
|
+
closed: [{
|
|
1048
|
+
type: i0.Output,
|
|
1049
|
+
args: ["closed"]
|
|
1050
|
+
}]
|
|
1051
|
+
}
|
|
1052
|
+
});
|
|
836
1053
|
const AerisMegaMenuModule = [AerisMegaMenu, AerisMegaMenuItemTemplate];
|
|
837
|
-
|
|
838
|
-
/**
|
|
839
|
-
* Generated bundle index. Do not edit.
|
|
840
|
-
*/
|
|
841
|
-
|
|
842
1054
|
export { AerisMegaMenu, AerisMegaMenuItemTemplate, AerisMegaMenuModule };
|
|
843
|
-
|
|
1055
|
+
|
|
1056
|
+
//# sourceMappingURL=aeris-ui-core-mega-menu.mjs.map
|