@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,251 +1,517 @@
|
|
|
1
|
-
import { NgTemplateOutlet } from
|
|
2
|
-
import * as i0 from
|
|
3
|
-
import {
|
|
4
|
-
import { ɵAerisAppendTo
|
|
5
|
-
import { AerisButtonDirective } from
|
|
6
|
-
|
|
1
|
+
import { NgTemplateOutlet } from "@angular/common";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import { Component, Directive, ElementRef, booleanAttribute, computed, contentChild, inject, input, linkedSignal, model, output, viewChild, viewChildren } from "@angular/core";
|
|
4
|
+
import { ɵAerisAppendTo } from "@aeris-ui/core";
|
|
5
|
+
import { AerisButtonDirective } from "@aeris-ui/core/button";
|
|
7
6
|
let splitButtonId = 0;
|
|
8
|
-
class AerisSplitButtonToggleAnchor {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
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
|
-
|
|
7
|
+
var AerisSplitButtonToggleAnchor = class AerisSplitButtonToggleAnchor {
|
|
8
|
+
elementRef = inject(ElementRef);
|
|
9
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
10
|
+
minVersion: "12.0.0",
|
|
11
|
+
version: "22.2.1",
|
|
12
|
+
ngImport: i0,
|
|
13
|
+
type: AerisSplitButtonToggleAnchor,
|
|
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: AerisSplitButtonToggleAnchor,
|
|
21
|
+
isStandalone: true,
|
|
22
|
+
selector: "button[aerisSplitButtonToggleAnchor]",
|
|
23
|
+
ngImport: i0
|
|
24
|
+
});
|
|
25
|
+
};
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
27
|
+
minVersion: "12.0.0",
|
|
28
|
+
version: "22.2.1",
|
|
29
|
+
ngImport: i0,
|
|
30
|
+
type: AerisSplitButtonToggleAnchor,
|
|
31
|
+
decorators: [{
|
|
32
|
+
type: Directive,
|
|
33
|
+
args: [{ selector: "button[aerisSplitButtonToggleAnchor]" }]
|
|
34
|
+
}]
|
|
35
|
+
});
|
|
36
|
+
var AerisSplitButton = class AerisSplitButton {
|
|
37
|
+
host = inject(ElementRef);
|
|
38
|
+
generatedId = `aeris-split-button-${++splitButtonId}`;
|
|
39
|
+
toggleButton = viewChild(AerisSplitButtonToggleAnchor, ...ngDevMode ? [{ debugName: "toggleButton" }] : /* istanbul ignore next */ []);
|
|
40
|
+
panelPortal = viewChild(ɵAerisAppendTo, ...ngDevMode ? [{ debugName: "panelPortal" }] : /* istanbul ignore next */ []);
|
|
41
|
+
menuItems = viewChildren("menuItem", ...ngDevMode ? [{ debugName: "menuItems" }] : /* istanbul ignore next */ []);
|
|
42
|
+
id = input(this.generatedId, ...ngDevMode ? [{ debugName: "id" }] : /* istanbul ignore next */ []);
|
|
43
|
+
label = input("", ...ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []);
|
|
44
|
+
icon = input("", ...ngDevMode ? [{ debugName: "icon" }] : /* istanbul ignore next */ []);
|
|
45
|
+
model = input([], ...ngDevMode ? [{ debugName: "model" }] : /* istanbul ignore next */ []);
|
|
46
|
+
open = model(false, ...ngDevMode ? [{ debugName: "open" }] : /* istanbul ignore next */ []);
|
|
47
|
+
appendTo = input(...ngDevMode ? [void 0, { debugName: "appendTo" }] : /* istanbul ignore next */ []);
|
|
48
|
+
viewportMargin = input(8, ...ngDevMode ? [{ debugName: "viewportMargin" }] : /* istanbul ignore next */ []);
|
|
49
|
+
type = input("button", ...ngDevMode ? [{ debugName: "type" }] : /* istanbul ignore next */ []);
|
|
50
|
+
variant = input("solid", ...ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []);
|
|
51
|
+
severity = input("primary", ...ngDevMode ? [{ debugName: "severity" }] : /* istanbul ignore next */ []);
|
|
52
|
+
size = input("md", ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
|
|
53
|
+
disabled = input(false, {
|
|
54
|
+
...ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {},
|
|
55
|
+
transform: booleanAttribute
|
|
56
|
+
});
|
|
57
|
+
loading = input(false, {
|
|
58
|
+
...ngDevMode ? { debugName: "loading" } : /* istanbul ignore next */ {},
|
|
59
|
+
transform: booleanAttribute
|
|
60
|
+
});
|
|
61
|
+
raised = input(false, {
|
|
62
|
+
...ngDevMode ? { debugName: "raised" } : /* istanbul ignore next */ {},
|
|
63
|
+
transform: booleanAttribute
|
|
64
|
+
});
|
|
65
|
+
rounded = input(false, {
|
|
66
|
+
...ngDevMode ? { debugName: "rounded" } : /* istanbul ignore next */ {},
|
|
67
|
+
transform: booleanAttribute
|
|
68
|
+
});
|
|
69
|
+
showSpinner = input(true, {
|
|
70
|
+
...ngDevMode ? { debugName: "showSpinner" } : /* istanbul ignore next */ {},
|
|
71
|
+
transform: booleanAttribute
|
|
72
|
+
});
|
|
73
|
+
fluid = input(false, {
|
|
74
|
+
...ngDevMode ? { debugName: "fluid" } : /* istanbul ignore next */ {},
|
|
75
|
+
transform: booleanAttribute
|
|
76
|
+
});
|
|
77
|
+
closeOnOutsideClick = input(true, {
|
|
78
|
+
...ngDevMode ? { debugName: "closeOnOutsideClick" } : /* istanbul ignore next */ {},
|
|
79
|
+
transform: booleanAttribute
|
|
80
|
+
});
|
|
81
|
+
menuAriaLabel = input("Additional actions", ...ngDevMode ? [{ debugName: "menuAriaLabel" }] : /* istanbul ignore next */ []);
|
|
82
|
+
menuStyleClass = input("", ...ngDevMode ? [{ debugName: "menuStyleClass" }] : /* istanbul ignore next */ []);
|
|
83
|
+
buttonProps = input(...ngDevMode ? [void 0, { debugName: "buttonProps" }] : /* istanbul ignore next */ []);
|
|
84
|
+
menuButtonProps = input(...ngDevMode ? [void 0, { debugName: "menuButtonProps" }] : /* istanbul ignore next */ []);
|
|
85
|
+
contentTemplate = input(...ngDevMode ? [void 0, { debugName: "contentTemplate" }] : /* istanbul ignore next */ []);
|
|
86
|
+
iconTemplate = input(...ngDevMode ? [void 0, { debugName: "iconTemplate" }] : /* istanbul ignore next */ []);
|
|
87
|
+
loadingIconTemplate = input(...ngDevMode ? [void 0, { debugName: "loadingIconTemplate" }] : /* istanbul ignore next */ []);
|
|
88
|
+
dropdownIconTemplate = input(...ngDevMode ? [void 0, { debugName: "dropdownIconTemplate" }] : /* istanbul ignore next */ []);
|
|
89
|
+
itemTemplate = input(...ngDevMode ? [void 0, { debugName: "itemTemplate" }] : /* istanbul ignore next */ []);
|
|
90
|
+
navigationHandler = input(...ngDevMode ? [void 0, { debugName: "navigationHandler" }] : /* istanbul ignore next */ []);
|
|
91
|
+
clicked = output();
|
|
92
|
+
dropdownClicked = output();
|
|
93
|
+
opened = output();
|
|
94
|
+
closed = output();
|
|
95
|
+
itemSelected = output();
|
|
96
|
+
projectedContentTemplate = contentChild("content", ...ngDevMode ? [{ debugName: "projectedContentTemplate" }] : /* istanbul ignore next */ []);
|
|
97
|
+
projectedIconTemplate = contentChild("icon", ...ngDevMode ? [{ debugName: "projectedIconTemplate" }] : /* istanbul ignore next */ []);
|
|
98
|
+
projectedLoadingIconTemplate = contentChild("loadingIcon", ...ngDevMode ? [{ debugName: "projectedLoadingIconTemplate" }] : /* istanbul ignore next */ []);
|
|
99
|
+
projectedDropdownIconTemplate = contentChild("dropdownIcon", ...ngDevMode ? [{ debugName: "projectedDropdownIconTemplate" }] : /* istanbul ignore next */ []);
|
|
100
|
+
projectedItemTemplate = contentChild("item", ...ngDevMode ? [{ debugName: "projectedItemTemplate" }] : /* istanbul ignore next */ []);
|
|
101
|
+
effectiveDisabled = computed(() => this.disabled() || this.loading(), ...ngDevMode ? [{ debugName: "effectiveDisabled" }] : /* istanbul ignore next */ []);
|
|
102
|
+
effectiveVariant = this.variant;
|
|
103
|
+
menuId = computed(() => `${this.id()}-menu`, ...ngDevMode ? [{ debugName: "menuId" }] : /* istanbul ignore next */ []);
|
|
104
|
+
visibleItems = computed(() => this.model().filter((item) => item.visible !== false).map((item, index) => ({
|
|
105
|
+
item,
|
|
106
|
+
index,
|
|
107
|
+
id: item.id ?? `${this.id()}-item-${index}`,
|
|
108
|
+
href: this.resolveHref(item)
|
|
109
|
+
})), ...ngDevMode ? [{ debugName: "visibleItems" }] : /* istanbul ignore next */ []);
|
|
110
|
+
activeIndex = linkedSignal(() => this.open() ? this.firstEnabledIndex() : -1, ...ngDevMode ? [{ debugName: "activeIndex" }] : /* istanbul ignore next */ []);
|
|
111
|
+
iconContentTemplate = computed(() => this.iconTemplate() ?? this.projectedIconTemplate(), ...ngDevMode ? [{ debugName: "iconContentTemplate" }] : /* istanbul ignore next */ []);
|
|
112
|
+
loadingIconContentTemplate = computed(() => this.loadingIconTemplate() ?? this.projectedLoadingIconTemplate(), ...ngDevMode ? [{ debugName: "loadingIconContentTemplate" }] : /* istanbul ignore next */ []);
|
|
113
|
+
dropdownIconContentTemplate = computed(() => this.dropdownIconTemplate() ?? this.projectedDropdownIconTemplate(), ...ngDevMode ? [{ debugName: "dropdownIconContentTemplate" }] : /* istanbul ignore next */ []);
|
|
114
|
+
itemContentTemplate = computed(() => this.itemTemplate() ?? this.projectedItemTemplate(), ...ngDevMode ? [{ debugName: "itemContentTemplate" }] : /* istanbul ignore next */ []);
|
|
115
|
+
activatePrimary(event) {
|
|
116
|
+
if (!this.effectiveDisabled()) this.clicked.emit(event);
|
|
117
|
+
}
|
|
118
|
+
toggleMenu(event) {
|
|
119
|
+
this.dropdownClicked.emit(event);
|
|
120
|
+
this.open() ? this.hide(event) : this.show(event);
|
|
121
|
+
}
|
|
122
|
+
show(event) {
|
|
123
|
+
if (this.effectiveDisabled() || this.open()) return;
|
|
124
|
+
this.open.set(true);
|
|
125
|
+
this.opened.emit(event);
|
|
126
|
+
}
|
|
127
|
+
hide(event, restoreFocus = false) {
|
|
128
|
+
if (!this.open()) return;
|
|
129
|
+
this.panelPortal()?.restore();
|
|
130
|
+
this.open.set(false);
|
|
131
|
+
this.closed.emit(event);
|
|
132
|
+
if (restoreFocus) queueMicrotask(() => this.toggleButton()?.elementRef.nativeElement.focus());
|
|
133
|
+
}
|
|
134
|
+
activateItem(event, entry) {
|
|
135
|
+
if (entry.item.disabled || entry.item.separator) {
|
|
136
|
+
event.preventDefault();
|
|
137
|
+
return;
|
|
138
|
+
}
|
|
139
|
+
const commandEvent = {
|
|
140
|
+
originalEvent: event,
|
|
141
|
+
item: entry.item
|
|
142
|
+
};
|
|
143
|
+
entry.item.command?.(commandEvent);
|
|
144
|
+
this.itemSelected.emit(commandEvent);
|
|
145
|
+
if (entry.item.routerLink && this.navigationHandler()) {
|
|
146
|
+
event.preventDefault();
|
|
147
|
+
this.navigationHandler()?.(entry.item.routerLink, event);
|
|
148
|
+
}
|
|
149
|
+
this.hide(event, true);
|
|
150
|
+
}
|
|
151
|
+
itemContext(entry) {
|
|
152
|
+
return {
|
|
153
|
+
$implicit: entry.item,
|
|
154
|
+
item: entry.item,
|
|
155
|
+
index: entry.index
|
|
156
|
+
};
|
|
157
|
+
}
|
|
158
|
+
onToggleKeydown(event) {
|
|
159
|
+
if (!["ArrowDown", "ArrowUp"].includes(event.key)) return;
|
|
160
|
+
event.preventDefault();
|
|
161
|
+
this.show(event);
|
|
162
|
+
this.activeIndex.set(event.key === "ArrowUp" ? this.lastEnabledIndex() : this.firstEnabledIndex());
|
|
163
|
+
this.focusActiveItem();
|
|
164
|
+
}
|
|
165
|
+
onMenuKeydown(event) {
|
|
166
|
+
switch (event.key) {
|
|
167
|
+
case "ArrowDown":
|
|
168
|
+
event.preventDefault();
|
|
169
|
+
this.moveFocus(1);
|
|
170
|
+
break;
|
|
171
|
+
case "ArrowUp":
|
|
172
|
+
event.preventDefault();
|
|
173
|
+
this.moveFocus(-1);
|
|
174
|
+
break;
|
|
175
|
+
case "Home":
|
|
176
|
+
event.preventDefault();
|
|
177
|
+
this.activeIndex.set(this.firstEnabledIndex());
|
|
178
|
+
this.focusActiveItem();
|
|
179
|
+
break;
|
|
180
|
+
case "End":
|
|
181
|
+
event.preventDefault();
|
|
182
|
+
this.activeIndex.set(this.lastEnabledIndex());
|
|
183
|
+
this.focusActiveItem();
|
|
184
|
+
break;
|
|
185
|
+
case "Escape":
|
|
186
|
+
event.preventDefault();
|
|
187
|
+
this.hide(event, true);
|
|
188
|
+
break;
|
|
189
|
+
case "Tab": this.hide(event);
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
onDocumentClick(event) {
|
|
193
|
+
const target = event.target;
|
|
194
|
+
if (this.open() && this.closeOnOutsideClick() && target instanceof Node && !this.host.nativeElement.contains(target)) this.hide(event);
|
|
195
|
+
}
|
|
196
|
+
enabledIndexes() {
|
|
197
|
+
return this.visibleItems().flatMap((entry) => entry.item.disabled || entry.item.separator ? [] : [entry.index]);
|
|
198
|
+
}
|
|
199
|
+
firstEnabledIndex() {
|
|
200
|
+
return this.enabledIndexes().at(0) ?? -1;
|
|
201
|
+
}
|
|
202
|
+
lastEnabledIndex() {
|
|
203
|
+
return this.enabledIndexes().at(-1) ?? -1;
|
|
204
|
+
}
|
|
205
|
+
moveFocus(step) {
|
|
206
|
+
const enabled = this.enabledIndexes();
|
|
207
|
+
if (!enabled.length) return;
|
|
208
|
+
const current = enabled.indexOf(this.activeIndex());
|
|
209
|
+
const next = current < 0 ? step === 1 ? 0 : enabled.length - 1 : (current + step + enabled.length) % enabled.length;
|
|
210
|
+
this.activeIndex.set(enabled[next]);
|
|
211
|
+
this.focusActiveItem();
|
|
212
|
+
}
|
|
213
|
+
focusActiveItem() {
|
|
214
|
+
queueMicrotask(() => {
|
|
215
|
+
const entry = this.visibleItems().find(({ index }) => index === this.activeIndex());
|
|
216
|
+
if (!entry) return;
|
|
217
|
+
this.menuItems().find(({ nativeElement }) => nativeElement.id === entry.id)?.nativeElement.focus();
|
|
218
|
+
});
|
|
219
|
+
}
|
|
220
|
+
resolveHref(item) {
|
|
221
|
+
if (item.url) return item.url;
|
|
222
|
+
if (!item.routerLink) return null;
|
|
223
|
+
if (typeof item.routerLink === "string") return item.routerLink;
|
|
224
|
+
return `/${item.routerLink.map((segment) => String(segment).replace(/^\/+|\/+$/g, "")).filter(Boolean).join("/")}`;
|
|
225
|
+
}
|
|
226
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
227
|
+
minVersion: "12.0.0",
|
|
228
|
+
version: "22.2.1",
|
|
229
|
+
ngImport: i0,
|
|
230
|
+
type: AerisSplitButton,
|
|
231
|
+
deps: [],
|
|
232
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
233
|
+
});
|
|
234
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
235
|
+
minVersion: "17.0.0",
|
|
236
|
+
version: "22.2.1",
|
|
237
|
+
type: AerisSplitButton,
|
|
238
|
+
isStandalone: true,
|
|
239
|
+
selector: "aeris-split-button",
|
|
240
|
+
inputs: {
|
|
241
|
+
id: {
|
|
242
|
+
classPropertyName: "id",
|
|
243
|
+
publicName: "id",
|
|
244
|
+
isSignal: true,
|
|
245
|
+
isRequired: false,
|
|
246
|
+
transformFunction: null
|
|
247
|
+
},
|
|
248
|
+
label: {
|
|
249
|
+
classPropertyName: "label",
|
|
250
|
+
publicName: "label",
|
|
251
|
+
isSignal: true,
|
|
252
|
+
isRequired: false,
|
|
253
|
+
transformFunction: null
|
|
254
|
+
},
|
|
255
|
+
icon: {
|
|
256
|
+
classPropertyName: "icon",
|
|
257
|
+
publicName: "icon",
|
|
258
|
+
isSignal: true,
|
|
259
|
+
isRequired: false,
|
|
260
|
+
transformFunction: null
|
|
261
|
+
},
|
|
262
|
+
model: {
|
|
263
|
+
classPropertyName: "model",
|
|
264
|
+
publicName: "model",
|
|
265
|
+
isSignal: true,
|
|
266
|
+
isRequired: false,
|
|
267
|
+
transformFunction: null
|
|
268
|
+
},
|
|
269
|
+
open: {
|
|
270
|
+
classPropertyName: "open",
|
|
271
|
+
publicName: "open",
|
|
272
|
+
isSignal: true,
|
|
273
|
+
isRequired: false,
|
|
274
|
+
transformFunction: null
|
|
275
|
+
},
|
|
276
|
+
appendTo: {
|
|
277
|
+
classPropertyName: "appendTo",
|
|
278
|
+
publicName: "appendTo",
|
|
279
|
+
isSignal: true,
|
|
280
|
+
isRequired: false,
|
|
281
|
+
transformFunction: null
|
|
282
|
+
},
|
|
283
|
+
viewportMargin: {
|
|
284
|
+
classPropertyName: "viewportMargin",
|
|
285
|
+
publicName: "viewportMargin",
|
|
286
|
+
isSignal: true,
|
|
287
|
+
isRequired: false,
|
|
288
|
+
transformFunction: null
|
|
289
|
+
},
|
|
290
|
+
type: {
|
|
291
|
+
classPropertyName: "type",
|
|
292
|
+
publicName: "type",
|
|
293
|
+
isSignal: true,
|
|
294
|
+
isRequired: false,
|
|
295
|
+
transformFunction: null
|
|
296
|
+
},
|
|
297
|
+
variant: {
|
|
298
|
+
classPropertyName: "variant",
|
|
299
|
+
publicName: "variant",
|
|
300
|
+
isSignal: true,
|
|
301
|
+
isRequired: false,
|
|
302
|
+
transformFunction: null
|
|
303
|
+
},
|
|
304
|
+
severity: {
|
|
305
|
+
classPropertyName: "severity",
|
|
306
|
+
publicName: "severity",
|
|
307
|
+
isSignal: true,
|
|
308
|
+
isRequired: false,
|
|
309
|
+
transformFunction: null
|
|
310
|
+
},
|
|
311
|
+
size: {
|
|
312
|
+
classPropertyName: "size",
|
|
313
|
+
publicName: "size",
|
|
314
|
+
isSignal: true,
|
|
315
|
+
isRequired: false,
|
|
316
|
+
transformFunction: null
|
|
317
|
+
},
|
|
318
|
+
disabled: {
|
|
319
|
+
classPropertyName: "disabled",
|
|
320
|
+
publicName: "disabled",
|
|
321
|
+
isSignal: true,
|
|
322
|
+
isRequired: false,
|
|
323
|
+
transformFunction: null
|
|
324
|
+
},
|
|
325
|
+
loading: {
|
|
326
|
+
classPropertyName: "loading",
|
|
327
|
+
publicName: "loading",
|
|
328
|
+
isSignal: true,
|
|
329
|
+
isRequired: false,
|
|
330
|
+
transformFunction: null
|
|
331
|
+
},
|
|
332
|
+
raised: {
|
|
333
|
+
classPropertyName: "raised",
|
|
334
|
+
publicName: "raised",
|
|
335
|
+
isSignal: true,
|
|
336
|
+
isRequired: false,
|
|
337
|
+
transformFunction: null
|
|
338
|
+
},
|
|
339
|
+
rounded: {
|
|
340
|
+
classPropertyName: "rounded",
|
|
341
|
+
publicName: "rounded",
|
|
342
|
+
isSignal: true,
|
|
343
|
+
isRequired: false,
|
|
344
|
+
transformFunction: null
|
|
345
|
+
},
|
|
346
|
+
showSpinner: {
|
|
347
|
+
classPropertyName: "showSpinner",
|
|
348
|
+
publicName: "showSpinner",
|
|
349
|
+
isSignal: true,
|
|
350
|
+
isRequired: false,
|
|
351
|
+
transformFunction: null
|
|
352
|
+
},
|
|
353
|
+
fluid: {
|
|
354
|
+
classPropertyName: "fluid",
|
|
355
|
+
publicName: "fluid",
|
|
356
|
+
isSignal: true,
|
|
357
|
+
isRequired: false,
|
|
358
|
+
transformFunction: null
|
|
359
|
+
},
|
|
360
|
+
closeOnOutsideClick: {
|
|
361
|
+
classPropertyName: "closeOnOutsideClick",
|
|
362
|
+
publicName: "closeOnOutsideClick",
|
|
363
|
+
isSignal: true,
|
|
364
|
+
isRequired: false,
|
|
365
|
+
transformFunction: null
|
|
366
|
+
},
|
|
367
|
+
menuAriaLabel: {
|
|
368
|
+
classPropertyName: "menuAriaLabel",
|
|
369
|
+
publicName: "menuAriaLabel",
|
|
370
|
+
isSignal: true,
|
|
371
|
+
isRequired: false,
|
|
372
|
+
transformFunction: null
|
|
373
|
+
},
|
|
374
|
+
menuStyleClass: {
|
|
375
|
+
classPropertyName: "menuStyleClass",
|
|
376
|
+
publicName: "menuStyleClass",
|
|
377
|
+
isSignal: true,
|
|
378
|
+
isRequired: false,
|
|
379
|
+
transformFunction: null
|
|
380
|
+
},
|
|
381
|
+
buttonProps: {
|
|
382
|
+
classPropertyName: "buttonProps",
|
|
383
|
+
publicName: "buttonProps",
|
|
384
|
+
isSignal: true,
|
|
385
|
+
isRequired: false,
|
|
386
|
+
transformFunction: null
|
|
387
|
+
},
|
|
388
|
+
menuButtonProps: {
|
|
389
|
+
classPropertyName: "menuButtonProps",
|
|
390
|
+
publicName: "menuButtonProps",
|
|
391
|
+
isSignal: true,
|
|
392
|
+
isRequired: false,
|
|
393
|
+
transformFunction: null
|
|
394
|
+
},
|
|
395
|
+
contentTemplate: {
|
|
396
|
+
classPropertyName: "contentTemplate",
|
|
397
|
+
publicName: "contentTemplate",
|
|
398
|
+
isSignal: true,
|
|
399
|
+
isRequired: false,
|
|
400
|
+
transformFunction: null
|
|
401
|
+
},
|
|
402
|
+
iconTemplate: {
|
|
403
|
+
classPropertyName: "iconTemplate",
|
|
404
|
+
publicName: "iconTemplate",
|
|
405
|
+
isSignal: true,
|
|
406
|
+
isRequired: false,
|
|
407
|
+
transformFunction: null
|
|
408
|
+
},
|
|
409
|
+
loadingIconTemplate: {
|
|
410
|
+
classPropertyName: "loadingIconTemplate",
|
|
411
|
+
publicName: "loadingIconTemplate",
|
|
412
|
+
isSignal: true,
|
|
413
|
+
isRequired: false,
|
|
414
|
+
transformFunction: null
|
|
415
|
+
},
|
|
416
|
+
dropdownIconTemplate: {
|
|
417
|
+
classPropertyName: "dropdownIconTemplate",
|
|
418
|
+
publicName: "dropdownIconTemplate",
|
|
419
|
+
isSignal: true,
|
|
420
|
+
isRequired: false,
|
|
421
|
+
transformFunction: null
|
|
422
|
+
},
|
|
423
|
+
itemTemplate: {
|
|
424
|
+
classPropertyName: "itemTemplate",
|
|
425
|
+
publicName: "itemTemplate",
|
|
426
|
+
isSignal: true,
|
|
427
|
+
isRequired: false,
|
|
428
|
+
transformFunction: null
|
|
429
|
+
},
|
|
430
|
+
navigationHandler: {
|
|
431
|
+
classPropertyName: "navigationHandler",
|
|
432
|
+
publicName: "navigationHandler",
|
|
433
|
+
isSignal: true,
|
|
434
|
+
isRequired: false,
|
|
435
|
+
transformFunction: null
|
|
436
|
+
}
|
|
437
|
+
},
|
|
438
|
+
outputs: {
|
|
439
|
+
open: "openChange",
|
|
440
|
+
clicked: "clicked",
|
|
441
|
+
dropdownClicked: "dropdownClicked",
|
|
442
|
+
opened: "opened",
|
|
443
|
+
closed: "closed",
|
|
444
|
+
itemSelected: "itemSelected"
|
|
445
|
+
},
|
|
446
|
+
host: {
|
|
447
|
+
listeners: { "document:click": "onDocumentClick($event)" },
|
|
448
|
+
properties: {
|
|
449
|
+
"attr.data-fluid": "fluid() || null",
|
|
450
|
+
"attr.data-open": "open() || null"
|
|
451
|
+
},
|
|
452
|
+
classAttribute: "aeris-split-button"
|
|
453
|
+
},
|
|
454
|
+
queries: [
|
|
455
|
+
{
|
|
456
|
+
propertyName: "projectedContentTemplate",
|
|
457
|
+
first: true,
|
|
458
|
+
predicate: ["content"],
|
|
459
|
+
descendants: true,
|
|
460
|
+
isSignal: true
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
propertyName: "projectedIconTemplate",
|
|
464
|
+
first: true,
|
|
465
|
+
predicate: ["icon"],
|
|
466
|
+
descendants: true,
|
|
467
|
+
isSignal: true
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
propertyName: "projectedLoadingIconTemplate",
|
|
471
|
+
first: true,
|
|
472
|
+
predicate: ["loadingIcon"],
|
|
473
|
+
descendants: true,
|
|
474
|
+
isSignal: true
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
propertyName: "projectedDropdownIconTemplate",
|
|
478
|
+
first: true,
|
|
479
|
+
predicate: ["dropdownIcon"],
|
|
480
|
+
descendants: true,
|
|
481
|
+
isSignal: true
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
propertyName: "projectedItemTemplate",
|
|
485
|
+
first: true,
|
|
486
|
+
predicate: ["item"],
|
|
487
|
+
descendants: true,
|
|
488
|
+
isSignal: true
|
|
489
|
+
}
|
|
490
|
+
],
|
|
491
|
+
viewQueries: [
|
|
492
|
+
{
|
|
493
|
+
propertyName: "toggleButton",
|
|
494
|
+
first: true,
|
|
495
|
+
predicate: AerisSplitButtonToggleAnchor,
|
|
496
|
+
descendants: true,
|
|
497
|
+
isSignal: true
|
|
498
|
+
},
|
|
499
|
+
{
|
|
500
|
+
propertyName: "panelPortal",
|
|
501
|
+
first: true,
|
|
502
|
+
predicate: ɵAerisAppendTo,
|
|
503
|
+
descendants: true,
|
|
504
|
+
isSignal: true
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
propertyName: "menuItems",
|
|
508
|
+
predicate: ["menuItem"],
|
|
509
|
+
descendants: true,
|
|
510
|
+
isSignal: true
|
|
511
|
+
}
|
|
512
|
+
],
|
|
513
|
+
ngImport: i0,
|
|
514
|
+
template: `
|
|
249
515
|
<div class="aeris-split-button__control">
|
|
250
516
|
<button
|
|
251
517
|
aerisButton
|
|
@@ -411,16 +677,79 @@ class AerisSplitButton {
|
|
|
411
677
|
}
|
|
412
678
|
</div>
|
|
413
679
|
}
|
|
414
|
-
`,
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
680
|
+
`,
|
|
681
|
+
isInline: true,
|
|
682
|
+
styles: [":host{--_aeris-chevron-mask: var( --aeris-icon-chevron, url(data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%3E%3Cpath%20d=%27M7%209.5%2012%2014.5%2017%209.5%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%272.4%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27/%3E%3C/svg%3E) );position:relative;display:inline-flex;vertical-align:middle}:host([data-fluid]){width:100%}.aeris-split-button__control{display:inline-flex;width:100%}.aeris-split-button__primary:hover:not(:disabled),.aeris-split-button__toggle:hover:not(:disabled),.aeris-split-button__primary:active:not(:disabled),.aeris-split-button__toggle:active:not(:disabled){transform:none}.aeris-split-button__primary{min-width:0;flex:1 1 auto;border-start-start-radius:var(--aeris-radius-control, var(--aeris-radius-sm, .4375rem))!important;border-start-end-radius:0!important;border-end-end-radius:0!important;border-end-start-radius:var(--aeris-radius-control, var(--aeris-radius-sm, .4375rem))!important;overflow-wrap:anywhere;text-align:center}.aeris-split-button__toggle{flex:0 0 auto;margin-inline-start:-1px;border-start-start-radius:0!important;border-start-end-radius:var(--aeris-radius-control, var(--aeris-radius-sm, .4375rem))!important;border-end-end-radius:var(--aeris-radius-control, var(--aeris-radius-sm, .4375rem))!important;border-end-start-radius:0!important}.aeris-split-button__primary.aeris-button--link,.aeris-split-button__toggle.aeris-button--link{min-height:var(--_height)}.aeris-split-button__primary[data-rounded],.aeris-split-button__control:has(.aeris-split-button__primary[data-rounded]) .aeris-split-button__primary{border-start-start-radius:999px!important;border-start-end-radius:0!important;border-end-end-radius:0!important;border-end-start-radius:999px!important}.aeris-split-button__control:has(.aeris-split-button__primary[data-rounded]) .aeris-split-button__toggle{border-start-start-radius:0!important;border-start-end-radius:999px!important;border-end-end-radius:999px!important;border-end-start-radius:0!important}.aeris-split-button__chevron{position:relative;width:1rem;height:1rem}.aeris-split-button__chevron:before{position:absolute;top:50%;left:50%;width:1rem;height:1rem;background:currentColor;content:\"\";transform:translate(-50%,-50%);transition:transform .16s ease;-webkit-mask:var(--_aeris-chevron-mask) center/100% 100% no-repeat;mask:var(--_aeris-chevron-mask) center/100% 100% no-repeat}:host([data-open]) .aeris-split-button__chevron:before{transform:translate(-50%,-50%) rotate(180deg)}.aeris-split-button__menu{position:absolute;z-index:120;inset-block-start:calc(100% + .4rem);inset-inline-start:0;width:max(100%,min(13rem,100vw - 1rem));max-width:calc(100vw - 1rem);min-width:0;display:grid;gap:.125rem;padding:.35rem;border:1px solid var(--aeris-border, #deddd7);border-radius:var(--aeris-radius-overlay, var(--aeris-radius-md, .6875rem));background:var(--aeris-surface, #fff);box-shadow:0 .75rem 2rem #191d162e;animation:aeris-split-button-menu-in .14s ease both}.aeris-split-button__item{min-width:0;min-height:2.375rem;display:flex;align-items:center;gap:.625rem;padding:0 .7rem;border:0;border-radius:var(--aeris-radius-item, var(--aeris-radius-sm, .4375rem));background:transparent;color:var(--aeris-text-2, #555555);font:inherit;font-size:.8125rem;text-align:start;text-decoration:none;cursor:pointer;overflow-wrap:anywhere}.aeris-split-button__item:hover:not(:disabled):not([aria-disabled=true]),.aeris-split-button__item:focus-visible{background:color-mix(in srgb,var(--aeris-primary, #2c694b) 13%,transparent);color:var(--aeris-text, #222222)}.aeris-split-button__item:focus-visible{outline:3px solid color-mix(in srgb,var(--aeris-focus, #2c432c) 32%,transparent);outline-offset:-2px}.aeris-split-button__item:disabled,.aeris-split-button__item[aria-disabled=true]{opacity:.45;cursor:not-allowed}.aeris-split-button__item-icon,.aeris-split-button__primary-icon{flex:0 0 auto}.aeris-split-button__separator{height:1px;margin:.25rem .35rem;background:var(--aeris-border, #deddd7)}.aeris-split-button__spinner{width:1rem;height:1rem;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:aeris-split-button-spin .65s linear infinite}@keyframes aeris-split-button-menu-in{0%{opacity:0;transform:translateY(-.25rem) scale(.985)}}@keyframes aeris-split-button-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.aeris-split-button__chevron:before,.aeris-split-button__menu,.aeris-split-button__spinner{animation-duration:1ms;transition-duration:1ms}}\n"],
|
|
683
|
+
dependencies: [
|
|
684
|
+
{
|
|
685
|
+
kind: "directive",
|
|
686
|
+
type: NgTemplateOutlet,
|
|
687
|
+
selector: "[ngTemplateOutlet]",
|
|
688
|
+
inputs: [
|
|
689
|
+
"ngTemplateOutletContext",
|
|
690
|
+
"ngTemplateOutlet",
|
|
691
|
+
"ngTemplateOutletInjector"
|
|
692
|
+
]
|
|
693
|
+
},
|
|
694
|
+
{
|
|
695
|
+
kind: "component",
|
|
696
|
+
type: AerisButtonDirective,
|
|
697
|
+
selector: "button[aerisButton], a[aerisButton]",
|
|
698
|
+
inputs: [
|
|
699
|
+
"variant",
|
|
700
|
+
"size",
|
|
701
|
+
"severity",
|
|
702
|
+
"iconPosition",
|
|
703
|
+
"loading",
|
|
704
|
+
"disabled",
|
|
705
|
+
"showSpinner",
|
|
706
|
+
"iconOnly",
|
|
707
|
+
"raised",
|
|
708
|
+
"rounded",
|
|
709
|
+
"fluid"
|
|
710
|
+
]
|
|
711
|
+
},
|
|
712
|
+
{
|
|
713
|
+
kind: "directive",
|
|
714
|
+
type: AerisSplitButtonToggleAnchor,
|
|
715
|
+
selector: "button[aerisSplitButtonToggleAnchor]"
|
|
716
|
+
},
|
|
717
|
+
{
|
|
718
|
+
kind: "directive",
|
|
719
|
+
type: ɵAerisAppendTo,
|
|
720
|
+
selector: "[aerisInternalAppendTo]",
|
|
721
|
+
inputs: [
|
|
722
|
+
"aerisInternalAppendTo",
|
|
723
|
+
"aerisInternalAppendToDefault",
|
|
724
|
+
"aerisInternalAppendToAnchor",
|
|
725
|
+
"aerisInternalAppendToOffset",
|
|
726
|
+
"aerisInternalAppendToMatchWidth",
|
|
727
|
+
"aerisInternalAppendToPlacement",
|
|
728
|
+
"aerisInternalAppendToAlignment",
|
|
729
|
+
"aerisInternalAppendToCollisionPadding",
|
|
730
|
+
"aerisInternalAppendToPositionSelf"
|
|
731
|
+
],
|
|
732
|
+
outputs: ["aerisInternalAppendToOutside"]
|
|
733
|
+
}
|
|
734
|
+
]
|
|
735
|
+
});
|
|
736
|
+
};
|
|
737
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
738
|
+
minVersion: "12.0.0",
|
|
739
|
+
version: "22.2.1",
|
|
740
|
+
ngImport: i0,
|
|
741
|
+
type: AerisSplitButton,
|
|
742
|
+
decorators: [{
|
|
743
|
+
type: Component,
|
|
744
|
+
args: [{
|
|
745
|
+
selector: "aeris-split-button",
|
|
746
|
+
imports: [
|
|
747
|
+
NgTemplateOutlet,
|
|
748
|
+
AerisButtonDirective,
|
|
749
|
+
AerisSplitButtonToggleAnchor,
|
|
750
|
+
ɵAerisAppendTo
|
|
751
|
+
],
|
|
752
|
+
template: `
|
|
424
753
|
<div class="aeris-split-button__control">
|
|
425
754
|
<button
|
|
426
755
|
aerisButton
|
|
@@ -586,17 +915,298 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImpor
|
|
|
586
915
|
}
|
|
587
916
|
</div>
|
|
588
917
|
}
|
|
589
|
-
`,
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
918
|
+
`,
|
|
919
|
+
host: {
|
|
920
|
+
class: "aeris-split-button",
|
|
921
|
+
"[attr.data-fluid]": "fluid() || null",
|
|
922
|
+
"[attr.data-open]": "open() || null",
|
|
923
|
+
"(document:click)": "onDocumentClick($event)"
|
|
924
|
+
},
|
|
925
|
+
styles: [":host{--_aeris-chevron-mask: var( --aeris-icon-chevron, url(data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%3E%3Cpath%20d=%27M7%209.5%2012%2014.5%2017%209.5%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%272.4%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27/%3E%3C/svg%3E) );position:relative;display:inline-flex;vertical-align:middle}:host([data-fluid]){width:100%}.aeris-split-button__control{display:inline-flex;width:100%}.aeris-split-button__primary:hover:not(:disabled),.aeris-split-button__toggle:hover:not(:disabled),.aeris-split-button__primary:active:not(:disabled),.aeris-split-button__toggle:active:not(:disabled){transform:none}.aeris-split-button__primary{min-width:0;flex:1 1 auto;border-start-start-radius:var(--aeris-radius-control, var(--aeris-radius-sm, .4375rem))!important;border-start-end-radius:0!important;border-end-end-radius:0!important;border-end-start-radius:var(--aeris-radius-control, var(--aeris-radius-sm, .4375rem))!important;overflow-wrap:anywhere;text-align:center}.aeris-split-button__toggle{flex:0 0 auto;margin-inline-start:-1px;border-start-start-radius:0!important;border-start-end-radius:var(--aeris-radius-control, var(--aeris-radius-sm, .4375rem))!important;border-end-end-radius:var(--aeris-radius-control, var(--aeris-radius-sm, .4375rem))!important;border-end-start-radius:0!important}.aeris-split-button__primary.aeris-button--link,.aeris-split-button__toggle.aeris-button--link{min-height:var(--_height)}.aeris-split-button__primary[data-rounded],.aeris-split-button__control:has(.aeris-split-button__primary[data-rounded]) .aeris-split-button__primary{border-start-start-radius:999px!important;border-start-end-radius:0!important;border-end-end-radius:0!important;border-end-start-radius:999px!important}.aeris-split-button__control:has(.aeris-split-button__primary[data-rounded]) .aeris-split-button__toggle{border-start-start-radius:0!important;border-start-end-radius:999px!important;border-end-end-radius:999px!important;border-end-start-radius:0!important}.aeris-split-button__chevron{position:relative;width:1rem;height:1rem}.aeris-split-button__chevron:before{position:absolute;top:50%;left:50%;width:1rem;height:1rem;background:currentColor;content:\"\";transform:translate(-50%,-50%);transition:transform .16s ease;-webkit-mask:var(--_aeris-chevron-mask) center/100% 100% no-repeat;mask:var(--_aeris-chevron-mask) center/100% 100% no-repeat}:host([data-open]) .aeris-split-button__chevron:before{transform:translate(-50%,-50%) rotate(180deg)}.aeris-split-button__menu{position:absolute;z-index:120;inset-block-start:calc(100% + .4rem);inset-inline-start:0;width:max(100%,min(13rem,100vw - 1rem));max-width:calc(100vw - 1rem);min-width:0;display:grid;gap:.125rem;padding:.35rem;border:1px solid var(--aeris-border, #deddd7);border-radius:var(--aeris-radius-overlay, var(--aeris-radius-md, .6875rem));background:var(--aeris-surface, #fff);box-shadow:0 .75rem 2rem #191d162e;animation:aeris-split-button-menu-in .14s ease both}.aeris-split-button__item{min-width:0;min-height:2.375rem;display:flex;align-items:center;gap:.625rem;padding:0 .7rem;border:0;border-radius:var(--aeris-radius-item, var(--aeris-radius-sm, .4375rem));background:transparent;color:var(--aeris-text-2, #555555);font:inherit;font-size:.8125rem;text-align:start;text-decoration:none;cursor:pointer;overflow-wrap:anywhere}.aeris-split-button__item:hover:not(:disabled):not([aria-disabled=true]),.aeris-split-button__item:focus-visible{background:color-mix(in srgb,var(--aeris-primary, #2c694b) 13%,transparent);color:var(--aeris-text, #222222)}.aeris-split-button__item:focus-visible{outline:3px solid color-mix(in srgb,var(--aeris-focus, #2c432c) 32%,transparent);outline-offset:-2px}.aeris-split-button__item:disabled,.aeris-split-button__item[aria-disabled=true]{opacity:.45;cursor:not-allowed}.aeris-split-button__item-icon,.aeris-split-button__primary-icon{flex:0 0 auto}.aeris-split-button__separator{height:1px;margin:.25rem .35rem;background:var(--aeris-border, #deddd7)}.aeris-split-button__spinner{width:1rem;height:1rem;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:aeris-split-button-spin .65s linear infinite}@keyframes aeris-split-button-menu-in{0%{opacity:0;transform:translateY(-.25rem) scale(.985)}}@keyframes aeris-split-button-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.aeris-split-button__chevron:before,.aeris-split-button__menu,.aeris-split-button__spinner{animation-duration:1ms;transition-duration:1ms}}\n"]
|
|
926
|
+
}]
|
|
927
|
+
}],
|
|
928
|
+
propDecorators: {
|
|
929
|
+
toggleButton: [{
|
|
930
|
+
type: i0.ViewChild,
|
|
931
|
+
args: [i0.forwardRef(() => AerisSplitButtonToggleAnchor), { isSignal: true }]
|
|
932
|
+
}],
|
|
933
|
+
panelPortal: [{
|
|
934
|
+
type: i0.ViewChild,
|
|
935
|
+
args: [i0.forwardRef(() => ɵAerisAppendTo), { isSignal: true }]
|
|
936
|
+
}],
|
|
937
|
+
menuItems: [{
|
|
938
|
+
type: i0.ViewChildren,
|
|
939
|
+
args: ["menuItem", { isSignal: true }]
|
|
940
|
+
}],
|
|
941
|
+
id: [{
|
|
942
|
+
type: i0.Input,
|
|
943
|
+
args: [{
|
|
944
|
+
isSignal: true,
|
|
945
|
+
alias: "id",
|
|
946
|
+
required: false
|
|
947
|
+
}]
|
|
948
|
+
}],
|
|
949
|
+
label: [{
|
|
950
|
+
type: i0.Input,
|
|
951
|
+
args: [{
|
|
952
|
+
isSignal: true,
|
|
953
|
+
alias: "label",
|
|
954
|
+
required: false
|
|
955
|
+
}]
|
|
956
|
+
}],
|
|
957
|
+
icon: [{
|
|
958
|
+
type: i0.Input,
|
|
959
|
+
args: [{
|
|
960
|
+
isSignal: true,
|
|
961
|
+
alias: "icon",
|
|
962
|
+
required: false
|
|
963
|
+
}]
|
|
964
|
+
}],
|
|
965
|
+
model: [{
|
|
966
|
+
type: i0.Input,
|
|
967
|
+
args: [{
|
|
968
|
+
isSignal: true,
|
|
969
|
+
alias: "model",
|
|
970
|
+
required: false
|
|
971
|
+
}]
|
|
972
|
+
}],
|
|
973
|
+
open: [{
|
|
974
|
+
type: i0.Input,
|
|
975
|
+
args: [{
|
|
976
|
+
isSignal: true,
|
|
977
|
+
alias: "open",
|
|
978
|
+
required: false
|
|
979
|
+
}]
|
|
980
|
+
}, {
|
|
981
|
+
type: i0.Output,
|
|
982
|
+
args: ["openChange"]
|
|
983
|
+
}],
|
|
984
|
+
appendTo: [{
|
|
985
|
+
type: i0.Input,
|
|
986
|
+
args: [{
|
|
987
|
+
isSignal: true,
|
|
988
|
+
alias: "appendTo",
|
|
989
|
+
required: false
|
|
990
|
+
}]
|
|
991
|
+
}],
|
|
992
|
+
viewportMargin: [{
|
|
993
|
+
type: i0.Input,
|
|
994
|
+
args: [{
|
|
995
|
+
isSignal: true,
|
|
996
|
+
alias: "viewportMargin",
|
|
997
|
+
required: false
|
|
998
|
+
}]
|
|
999
|
+
}],
|
|
1000
|
+
type: [{
|
|
1001
|
+
type: i0.Input,
|
|
1002
|
+
args: [{
|
|
1003
|
+
isSignal: true,
|
|
1004
|
+
alias: "type",
|
|
1005
|
+
required: false
|
|
1006
|
+
}]
|
|
1007
|
+
}],
|
|
1008
|
+
variant: [{
|
|
1009
|
+
type: i0.Input,
|
|
1010
|
+
args: [{
|
|
1011
|
+
isSignal: true,
|
|
1012
|
+
alias: "variant",
|
|
1013
|
+
required: false
|
|
1014
|
+
}]
|
|
1015
|
+
}],
|
|
1016
|
+
severity: [{
|
|
1017
|
+
type: i0.Input,
|
|
1018
|
+
args: [{
|
|
1019
|
+
isSignal: true,
|
|
1020
|
+
alias: "severity",
|
|
1021
|
+
required: false
|
|
1022
|
+
}]
|
|
1023
|
+
}],
|
|
1024
|
+
size: [{
|
|
1025
|
+
type: i0.Input,
|
|
1026
|
+
args: [{
|
|
1027
|
+
isSignal: true,
|
|
1028
|
+
alias: "size",
|
|
1029
|
+
required: false
|
|
1030
|
+
}]
|
|
1031
|
+
}],
|
|
1032
|
+
disabled: [{
|
|
1033
|
+
type: i0.Input,
|
|
1034
|
+
args: [{
|
|
1035
|
+
isSignal: true,
|
|
1036
|
+
alias: "disabled",
|
|
1037
|
+
required: false
|
|
1038
|
+
}]
|
|
1039
|
+
}],
|
|
1040
|
+
loading: [{
|
|
1041
|
+
type: i0.Input,
|
|
1042
|
+
args: [{
|
|
1043
|
+
isSignal: true,
|
|
1044
|
+
alias: "loading",
|
|
1045
|
+
required: false
|
|
1046
|
+
}]
|
|
1047
|
+
}],
|
|
1048
|
+
raised: [{
|
|
1049
|
+
type: i0.Input,
|
|
1050
|
+
args: [{
|
|
1051
|
+
isSignal: true,
|
|
1052
|
+
alias: "raised",
|
|
1053
|
+
required: false
|
|
1054
|
+
}]
|
|
1055
|
+
}],
|
|
1056
|
+
rounded: [{
|
|
1057
|
+
type: i0.Input,
|
|
1058
|
+
args: [{
|
|
1059
|
+
isSignal: true,
|
|
1060
|
+
alias: "rounded",
|
|
1061
|
+
required: false
|
|
1062
|
+
}]
|
|
1063
|
+
}],
|
|
1064
|
+
showSpinner: [{
|
|
1065
|
+
type: i0.Input,
|
|
1066
|
+
args: [{
|
|
1067
|
+
isSignal: true,
|
|
1068
|
+
alias: "showSpinner",
|
|
1069
|
+
required: false
|
|
1070
|
+
}]
|
|
1071
|
+
}],
|
|
1072
|
+
fluid: [{
|
|
1073
|
+
type: i0.Input,
|
|
1074
|
+
args: [{
|
|
1075
|
+
isSignal: true,
|
|
1076
|
+
alias: "fluid",
|
|
1077
|
+
required: false
|
|
1078
|
+
}]
|
|
1079
|
+
}],
|
|
1080
|
+
closeOnOutsideClick: [{
|
|
1081
|
+
type: i0.Input,
|
|
1082
|
+
args: [{
|
|
1083
|
+
isSignal: true,
|
|
1084
|
+
alias: "closeOnOutsideClick",
|
|
1085
|
+
required: false
|
|
1086
|
+
}]
|
|
1087
|
+
}],
|
|
1088
|
+
menuAriaLabel: [{
|
|
1089
|
+
type: i0.Input,
|
|
1090
|
+
args: [{
|
|
1091
|
+
isSignal: true,
|
|
1092
|
+
alias: "menuAriaLabel",
|
|
1093
|
+
required: false
|
|
1094
|
+
}]
|
|
1095
|
+
}],
|
|
1096
|
+
menuStyleClass: [{
|
|
1097
|
+
type: i0.Input,
|
|
1098
|
+
args: [{
|
|
1099
|
+
isSignal: true,
|
|
1100
|
+
alias: "menuStyleClass",
|
|
1101
|
+
required: false
|
|
1102
|
+
}]
|
|
1103
|
+
}],
|
|
1104
|
+
buttonProps: [{
|
|
1105
|
+
type: i0.Input,
|
|
1106
|
+
args: [{
|
|
1107
|
+
isSignal: true,
|
|
1108
|
+
alias: "buttonProps",
|
|
1109
|
+
required: false
|
|
1110
|
+
}]
|
|
1111
|
+
}],
|
|
1112
|
+
menuButtonProps: [{
|
|
1113
|
+
type: i0.Input,
|
|
1114
|
+
args: [{
|
|
1115
|
+
isSignal: true,
|
|
1116
|
+
alias: "menuButtonProps",
|
|
1117
|
+
required: false
|
|
1118
|
+
}]
|
|
1119
|
+
}],
|
|
1120
|
+
contentTemplate: [{
|
|
1121
|
+
type: i0.Input,
|
|
1122
|
+
args: [{
|
|
1123
|
+
isSignal: true,
|
|
1124
|
+
alias: "contentTemplate",
|
|
1125
|
+
required: false
|
|
1126
|
+
}]
|
|
1127
|
+
}],
|
|
1128
|
+
iconTemplate: [{
|
|
1129
|
+
type: i0.Input,
|
|
1130
|
+
args: [{
|
|
1131
|
+
isSignal: true,
|
|
1132
|
+
alias: "iconTemplate",
|
|
1133
|
+
required: false
|
|
1134
|
+
}]
|
|
1135
|
+
}],
|
|
1136
|
+
loadingIconTemplate: [{
|
|
1137
|
+
type: i0.Input,
|
|
1138
|
+
args: [{
|
|
1139
|
+
isSignal: true,
|
|
1140
|
+
alias: "loadingIconTemplate",
|
|
1141
|
+
required: false
|
|
1142
|
+
}]
|
|
1143
|
+
}],
|
|
1144
|
+
dropdownIconTemplate: [{
|
|
1145
|
+
type: i0.Input,
|
|
1146
|
+
args: [{
|
|
1147
|
+
isSignal: true,
|
|
1148
|
+
alias: "dropdownIconTemplate",
|
|
1149
|
+
required: false
|
|
1150
|
+
}]
|
|
1151
|
+
}],
|
|
1152
|
+
itemTemplate: [{
|
|
1153
|
+
type: i0.Input,
|
|
1154
|
+
args: [{
|
|
1155
|
+
isSignal: true,
|
|
1156
|
+
alias: "itemTemplate",
|
|
1157
|
+
required: false
|
|
1158
|
+
}]
|
|
1159
|
+
}],
|
|
1160
|
+
navigationHandler: [{
|
|
1161
|
+
type: i0.Input,
|
|
1162
|
+
args: [{
|
|
1163
|
+
isSignal: true,
|
|
1164
|
+
alias: "navigationHandler",
|
|
1165
|
+
required: false
|
|
1166
|
+
}]
|
|
1167
|
+
}],
|
|
1168
|
+
clicked: [{
|
|
1169
|
+
type: i0.Output,
|
|
1170
|
+
args: ["clicked"]
|
|
1171
|
+
}],
|
|
1172
|
+
dropdownClicked: [{
|
|
1173
|
+
type: i0.Output,
|
|
1174
|
+
args: ["dropdownClicked"]
|
|
1175
|
+
}],
|
|
1176
|
+
opened: [{
|
|
1177
|
+
type: i0.Output,
|
|
1178
|
+
args: ["opened"]
|
|
1179
|
+
}],
|
|
1180
|
+
closed: [{
|
|
1181
|
+
type: i0.Output,
|
|
1182
|
+
args: ["closed"]
|
|
1183
|
+
}],
|
|
1184
|
+
itemSelected: [{
|
|
1185
|
+
type: i0.Output,
|
|
1186
|
+
args: ["itemSelected"]
|
|
1187
|
+
}],
|
|
1188
|
+
projectedContentTemplate: [{
|
|
1189
|
+
type: i0.ContentChild,
|
|
1190
|
+
args: ["content", { isSignal: true }]
|
|
1191
|
+
}],
|
|
1192
|
+
projectedIconTemplate: [{
|
|
1193
|
+
type: i0.ContentChild,
|
|
1194
|
+
args: ["icon", { isSignal: true }]
|
|
1195
|
+
}],
|
|
1196
|
+
projectedLoadingIconTemplate: [{
|
|
1197
|
+
type: i0.ContentChild,
|
|
1198
|
+
args: ["loadingIcon", { isSignal: true }]
|
|
1199
|
+
}],
|
|
1200
|
+
projectedDropdownIconTemplate: [{
|
|
1201
|
+
type: i0.ContentChild,
|
|
1202
|
+
args: ["dropdownIcon", { isSignal: true }]
|
|
1203
|
+
}],
|
|
1204
|
+
projectedItemTemplate: [{
|
|
1205
|
+
type: i0.ContentChild,
|
|
1206
|
+
args: ["item", { isSignal: true }]
|
|
1207
|
+
}]
|
|
1208
|
+
}
|
|
1209
|
+
});
|
|
601
1210
|
export { AerisSplitButton };
|
|
602
|
-
|
|
1211
|
+
|
|
1212
|
+
//# sourceMappingURL=aeris-ui-core-split-button.mjs.map
|