@aeris-ui/core 22.0.0-alpha.10 → 22.0.0-alpha.11
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 +35 -3
- package/THIRD_PARTY_LICENSES.md +48 -0
- package/fesm2022/aeris-ui-core-accordion.mjs +34 -32
- package/fesm2022/aeris-ui-core-accordion.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-animate-on-scroll.mjs +3 -3
- package/fesm2022/aeris-ui-core-auto-complete.mjs +119 -50
- package/fesm2022/aeris-ui-core-auto-complete.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-auto-focus.mjs +3 -3
- package/fesm2022/aeris-ui-core-avatar.mjs +6 -6
- package/fesm2022/aeris-ui-core-badge.mjs +6 -6
- package/fesm2022/aeris-ui-core-block-ui.mjs +18 -6
- package/fesm2022/aeris-ui-core-block-ui.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-breadcrumb.mjs +42 -24
- package/fesm2022/aeris-ui-core-breadcrumb.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-button-forms.mjs +78 -0
- package/fesm2022/aeris-ui-core-button-forms.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-button-group.mjs +417 -14
- package/fesm2022/aeris-ui-core-button-group.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-button.mjs +191 -19
- package/fesm2022/aeris-ui-core-button.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-card.mjs +18 -18
- package/fesm2022/aeris-ui-core-carousel.mjs +81 -19
- package/fesm2022/aeris-ui-core-carousel.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-cascade-select.mjs +165 -46
- package/fesm2022/aeris-ui-core-cascade-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-chart.mjs +171 -36
- package/fesm2022/aeris-ui-core-chart.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-checkbox.mjs +191 -22
- package/fesm2022/aeris-ui-core-checkbox.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-chip.mjs +702 -27
- package/fesm2022/aeris-ui-core-chip.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-class-names.mjs +3 -3
- package/fesm2022/aeris-ui-core-code-block.mjs +57 -7
- package/fesm2022/aeris-ui-core-code-block.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-color-picker.mjs +1223 -503
- package/fesm2022/aeris-ui-core-color-picker.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-command-palette.mjs +996 -0
- package/fesm2022/aeris-ui-core-command-palette.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-compare.mjs +61 -34
- package/fesm2022/aeris-ui-core-compare.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-confirm-dialog.mjs +68 -38
- package/fesm2022/aeris-ui-core-confirm-dialog.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-confirm-popup.mjs +46 -38
- package/fesm2022/aeris-ui-core-confirm-popup.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-context-menu.mjs +94 -43
- package/fesm2022/aeris-ui-core-context-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-date-picker-aeris-date-picker-input-jAhzMzLQ.mjs +946 -0
- package/fesm2022/aeris-ui-core-date-picker-aeris-date-picker-input-jAhzMzLQ.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-date-picker.mjs +1186 -650
- package/fesm2022/aeris-ui-core-date-picker.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-dialog.mjs +157 -71
- package/fesm2022/aeris-ui-core-dialog.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-divider.mjs +3 -3
- package/fesm2022/aeris-ui-core-drawer.mjs +751 -77
- package/fesm2022/aeris-ui-core-drawer.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-dynamic-dialog.mjs +14 -6
- package/fesm2022/aeris-ui-core-dynamic-dialog.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-editor.mjs +847 -202
- package/fesm2022/aeris-ui-core-editor.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-file-upload.mjs +204 -68
- package/fesm2022/aeris-ui-core-file-upload.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-filter-service.mjs +3 -3
- package/fesm2022/aeris-ui-core-fluid.mjs +5 -5
- package/fesm2022/aeris-ui-core-fluid.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-focus-trap.mjs +3 -3
- package/fesm2022/aeris-ui-core-form-field.mjs +15 -15
- package/fesm2022/aeris-ui-core-galleria.mjs +472 -123
- package/fesm2022/aeris-ui-core-galleria.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-glass.mjs +3 -3
- package/fesm2022/aeris-ui-core-icon-field.mjs +12 -12
- package/fesm2022/aeris-ui-core-inplace.mjs +56 -14
- package/fesm2022/aeris-ui-core-inplace.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-group.mjs +17 -17
- package/fesm2022/aeris-ui-core-input-group.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-mask.mjs +61 -8
- package/fesm2022/aeris-ui-core-input-mask.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-number.mjs +191 -28
- package/fesm2022/aeris-ui-core-input-number.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-otp.mjs +6 -6
- package/fesm2022/aeris-ui-core-input-text.mjs +102 -26
- package/fesm2022/aeris-ui-core-input-text.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-kbd.mjs +243 -0
- package/fesm2022/aeris-ui-core-kbd.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-key-filter.mjs +3 -3
- package/fesm2022/aeris-ui-core-listbox.mjs +789 -0
- package/fesm2022/aeris-ui-core-listbox.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-mega-menu.mjs +59 -16
- package/fesm2022/aeris-ui-core-mega-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-menu.mjs +95 -52
- package/fesm2022/aeris-ui-core-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-menubar.mjs +103 -34
- package/fesm2022/aeris-ui-core-menubar.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-message.mjs +48 -14
- package/fesm2022/aeris-ui-core-message.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-meter-group.mjs +33 -15
- package/fesm2022/aeris-ui-core-meter-group.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-multi-select.mjs +283 -65
- package/fesm2022/aeris-ui-core-multi-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-navbar.mjs +1407 -0
- package/fesm2022/aeris-ui-core-navbar.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-order-list.mjs +191 -35
- package/fesm2022/aeris-ui-core-order-list.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-organization-chart.mjs +48 -14
- package/fesm2022/aeris-ui-core-organization-chart.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-paginator.mjs +300 -61
- package/fesm2022/aeris-ui-core-paginator.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-panel.mjs +21 -29
- package/fesm2022/aeris-ui-core-panel.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-password.mjs +166 -65
- package/fesm2022/aeris-ui-core-password.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-pick-list.mjs +528 -56
- package/fesm2022/aeris-ui-core-pick-list.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-popover.mjs +504 -72
- package/fesm2022/aeris-ui-core-popover.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-progress-bar.mjs +75 -21
- package/fesm2022/aeris-ui-core-progress-bar.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-progress-spinner.mjs +24 -6
- package/fesm2022/aeris-ui-core-progress-spinner.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-radio-button.mjs +119 -19
- package/fesm2022/aeris-ui-core-radio-button.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-rating.mjs +6 -6
- package/fesm2022/aeris-ui-core-rating.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-scroll-panel.mjs +3 -3
- package/fesm2022/aeris-ui-core-scroll-top.mjs +59 -12
- package/fesm2022/aeris-ui-core-scroll-top.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-select-native.mjs +145 -0
- package/fesm2022/aeris-ui-core-select-native.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-select.mjs +206 -87
- package/fesm2022/aeris-ui-core-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-sidebar.mjs +1293 -0
- package/fesm2022/aeris-ui-core-sidebar.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-skeleton.mjs +3 -3
- package/fesm2022/aeris-ui-core-slider.mjs +3 -3
- package/fesm2022/aeris-ui-core-speed-dial.mjs +34 -13
- package/fesm2022/aeris-ui-core-speed-dial.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-split-button.mjs +26 -11
- package/fesm2022/aeris-ui-core-split-button.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-splitter.mjs +35 -20
- package/fesm2022/aeris-ui-core-splitter.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-stepper.mjs +23 -17
- package/fesm2022/aeris-ui-core-stepper.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-style-class.mjs +3 -3
- package/fesm2022/aeris-ui-core-table.mjs +945 -106
- package/fesm2022/aeris-ui-core-table.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tabs.mjs +81 -19
- package/fesm2022/aeris-ui-core-tabs.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-textarea.mjs +89 -28
- package/fesm2022/aeris-ui-core-textarea.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-theme-builder.mjs +202 -126
- package/fesm2022/aeris-ui-core-theme-builder.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-theming.mjs +8 -8
- package/fesm2022/aeris-ui-core-theming.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tiered-menu.mjs +94 -43
- package/fesm2022/aeris-ui-core-tiered-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-timeline.mjs +17 -17
- package/fesm2022/aeris-ui-core-timeline.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-toast.mjs +51 -18
- package/fesm2022/aeris-ui-core-toast.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-toggle-switch.mjs +3 -3
- package/fesm2022/aeris-ui-core-toolbar.mjs +916 -44
- package/fesm2022/aeris-ui-core-toolbar.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tooltip.mjs +6 -6
- package/fesm2022/aeris-ui-core-tree-select.mjs +252 -61
- package/fesm2022/aeris-ui-core-tree-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tree-table.mjs +493 -124
- package/fesm2022/aeris-ui-core-tree-table.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tree.mjs +165 -27
- package/fesm2022/aeris-ui-core-tree.mjs.map +1 -1
- package/fesm2022/aeris-ui-core.mjs +632 -12
- package/fesm2022/aeris-ui-core.mjs.map +1 -1
- package/package.json +29 -1
- package/schematics/runtime/theme-builder/aeris-color-derivation.js +1 -1
- package/schematics/runtime/theme-builder/aeris-contrast.js +32 -0
- package/schematics/runtime/theme-builder/aeris-contrast.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-foundation.js +8 -9
- package/schematics/runtime/theme-builder/aeris-foundation.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-semantic-tones.js +8 -21
- package/schematics/runtime/theme-builder/aeris-semantic-tones.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-theme-generator.js +6 -0
- package/schematics/runtime/theme-builder/aeris-theme-generator.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-theme-resolver.js +64 -91
- package/schematics/runtime/theme-builder/aeris-theme-resolver.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-theme-tokens.js +7 -5
- package/schematics/runtime/theme-builder/aeris-theme-tokens.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-theme-validation.js +11 -1
- package/schematics/runtime/theme-builder/aeris-theme-validation.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-theme.js +81 -10
- package/schematics/runtime/theme-builder/aeris-theme.js.map +1 -1
- package/styles/_choice-card.scss +93 -0
- package/styles/_icon-artwork.scss +14 -0
- package/styles/_icon-template.scss +42 -0
- package/styles/_selection-icons.scss +12 -0
- package/styles/_table-pinning.scss +119 -0
- package/styles/aeris.css +35 -12
- package/styles/controls.css +149 -11
- package/tools/aeris-theme.mjs +3 -3
- package/tools/aeris-theme.schema.json +13 -11
- package/types/aeris-ui-core-auto-complete.d.ts +12 -0
- package/types/aeris-ui-core-block-ui.d.ts +1 -0
- package/types/aeris-ui-core-button-forms.d.ts +18 -0
- package/types/aeris-ui-core-button-group.d.ts +116 -3
- package/types/aeris-ui-core-button.d.ts +52 -4
- package/types/aeris-ui-core-carousel.d.ts +12 -0
- package/types/aeris-ui-core-cascade-select.d.ts +18 -0
- package/types/aeris-ui-core-chart.d.ts +26 -10
- package/types/aeris-ui-core-checkbox.d.ts +36 -2
- package/types/aeris-ui-core-chip.d.ts +196 -1
- package/types/aeris-ui-core-code-block.d.ts +13 -0
- package/types/aeris-ui-core-color-picker.d.ts +117 -15
- package/types/aeris-ui-core-command-palette.d.ts +267 -0
- package/types/aeris-ui-core-compare.d.ts +6 -0
- package/types/aeris-ui-core-confirm-dialog.d.ts +9 -1
- package/types/aeris-ui-core-context-menu.d.ts +6 -0
- package/types/aeris-ui-core-date-picker.d.ts +123 -20
- package/types/aeris-ui-core-dialog.d.ts +15 -2
- package/types/aeris-ui-core-drawer.d.ts +111 -4
- package/types/aeris-ui-core-dynamic-dialog.d.ts +6 -2
- package/types/aeris-ui-core-editor.d.ts +8 -1
- package/types/aeris-ui-core-file-upload.d.ts +18 -0
- package/types/aeris-ui-core-galleria.d.ts +48 -0
- package/types/aeris-ui-core-inplace.d.ts +6 -0
- package/types/aeris-ui-core-input-mask.d.ts +8 -1
- package/types/aeris-ui-core-input-number.d.ts +20 -1
- package/types/aeris-ui-core-input-text.d.ts +11 -1
- package/types/aeris-ui-core-kbd.d.ts +74 -0
- package/types/aeris-ui-core-listbox.d.ts +222 -0
- package/types/aeris-ui-core-mega-menu.d.ts +6 -0
- package/types/aeris-ui-core-menu.d.ts +6 -0
- package/types/aeris-ui-core-menubar.d.ts +16 -0
- package/types/aeris-ui-core-message.d.ts +6 -0
- package/types/aeris-ui-core-meter-group.d.ts +6 -0
- package/types/aeris-ui-core-multi-select.d.ts +30 -0
- package/types/aeris-ui-core-navbar.d.ts +208 -0
- package/types/aeris-ui-core-order-list.d.ts +24 -0
- package/types/aeris-ui-core-organization-chart.d.ts +6 -0
- package/types/aeris-ui-core-paginator.d.ts +37 -1
- package/types/aeris-ui-core-password.d.ts +18 -0
- package/types/aeris-ui-core-pick-list.d.ts +54 -0
- package/types/aeris-ui-core-popover.d.ts +80 -5
- package/types/aeris-ui-core-progress-bar.d.ts +6 -0
- package/types/aeris-ui-core-progress-spinner.d.ts +6 -0
- package/types/aeris-ui-core-radio-button.d.ts +24 -2
- package/types/aeris-ui-core-rating.d.ts +1 -1
- package/types/aeris-ui-core-scroll-top.d.ts +7 -0
- package/types/aeris-ui-core-select-native.d.ts +40 -0
- package/types/aeris-ui-core-select.d.ts +12 -0
- package/types/aeris-ui-core-sidebar.d.ts +220 -0
- package/types/aeris-ui-core-splitter.d.ts +3 -4
- package/types/aeris-ui-core-table.d.ts +144 -11
- package/types/aeris-ui-core-tabs.d.ts +12 -0
- package/types/aeris-ui-core-textarea.d.ts +11 -1
- package/types/aeris-ui-core-theme-builder.d.ts +31 -296
- package/types/aeris-ui-core-tiered-menu.d.ts +6 -0
- package/types/aeris-ui-core-toast.d.ts +6 -0
- package/types/aeris-ui-core-toolbar.d.ts +213 -3
- package/types/aeris-ui-core-tree-select.d.ts +30 -0
- package/types/aeris-ui-core-tree-table.d.ts +75 -14
- package/types/aeris-ui-core-tree.d.ts +24 -0
- package/types/aeris-ui-core.d.ts +142 -3
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { NgTemplateOutlet } from "@angular/common";
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
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";
|
|
4
|
+
import { ɵAerisAppendTo, ɵAerisIcon } from "@aeris-ui/core";
|
|
5
5
|
import { AerisButtonDirective } from "@aeris-ui/core/button";
|
|
6
6
|
let splitButtonId = 0;
|
|
7
7
|
var AerisSplitButtonToggleAnchor = class AerisSplitButtonToggleAnchor {
|
|
8
8
|
elementRef = inject(ElementRef);
|
|
9
9
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
10
10
|
minVersion: "12.0.0",
|
|
11
|
-
version: "22.2.
|
|
11
|
+
version: "22.2.3",
|
|
12
12
|
ngImport: i0,
|
|
13
13
|
type: AerisSplitButtonToggleAnchor,
|
|
14
14
|
deps: [],
|
|
@@ -16,7 +16,7 @@ var AerisSplitButtonToggleAnchor = class AerisSplitButtonToggleAnchor {
|
|
|
16
16
|
});
|
|
17
17
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
18
18
|
minVersion: "14.0.0",
|
|
19
|
-
version: "22.2.
|
|
19
|
+
version: "22.2.3",
|
|
20
20
|
type: AerisSplitButtonToggleAnchor,
|
|
21
21
|
isStandalone: true,
|
|
22
22
|
selector: "button[aerisSplitButtonToggleAnchor]",
|
|
@@ -25,7 +25,7 @@ var AerisSplitButtonToggleAnchor = class AerisSplitButtonToggleAnchor {
|
|
|
25
25
|
};
|
|
26
26
|
i0.ɵɵngDeclareClassMetadata({
|
|
27
27
|
minVersion: "12.0.0",
|
|
28
|
-
version: "22.2.
|
|
28
|
+
version: "22.2.3",
|
|
29
29
|
ngImport: i0,
|
|
30
30
|
type: AerisSplitButtonToggleAnchor,
|
|
31
31
|
decorators: [{
|
|
@@ -229,7 +229,7 @@ var AerisSplitButton = class AerisSplitButton {
|
|
|
229
229
|
}
|
|
230
230
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
231
231
|
minVersion: "12.0.0",
|
|
232
|
-
version: "22.2.
|
|
232
|
+
version: "22.2.3",
|
|
233
233
|
ngImport: i0,
|
|
234
234
|
type: AerisSplitButton,
|
|
235
235
|
deps: [],
|
|
@@ -237,7 +237,7 @@ var AerisSplitButton = class AerisSplitButton {
|
|
|
237
237
|
});
|
|
238
238
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
239
239
|
minVersion: "17.0.0",
|
|
240
|
-
version: "22.2.
|
|
240
|
+
version: "22.2.3",
|
|
241
241
|
type: AerisSplitButton,
|
|
242
242
|
isStandalone: true,
|
|
243
243
|
selector: "aeris-split-button",
|
|
@@ -599,7 +599,11 @@ var AerisSplitButton = class AerisSplitButton {
|
|
|
599
599
|
[ngTemplateOutletContext]="{ loading: loading() }"
|
|
600
600
|
/>
|
|
601
601
|
} @else {
|
|
602
|
-
<span
|
|
602
|
+
<span
|
|
603
|
+
aerisInternalIcon="chevron"
|
|
604
|
+
class="aeris-split-button__chevron"
|
|
605
|
+
aria-hidden="true"
|
|
606
|
+
></span>
|
|
603
607
|
}
|
|
604
608
|
</button>
|
|
605
609
|
</div>
|
|
@@ -685,8 +689,14 @@ var AerisSplitButton = class AerisSplitButton {
|
|
|
685
689
|
}
|
|
686
690
|
`,
|
|
687
691
|
isInline: true,
|
|
688
|
-
styles: [":host{--_aeris-chevron-mask: var( --aeris-icon-chevron, url(data:image/svg+xml,%3Csvg
|
|
692
|
+
styles: [".aeris-split-button__chevron[data-aeris-custom-icon]{transition:rotate var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease)}:host([data-open]) .aeris-split-button__chevron[data-aeris-custom-icon]{rotate:180deg}@media(prefers-reduced-motion:reduce){.aeris-split-button__chevron[data-aeris-custom-icon]{transition:none}}:host{--_aeris-chevron-mask: var( --aeris-icon-chevron, url('data:image/svg+xml,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"%3E%3Cpath d=\"m6 9 6 6 6-6\"/%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:active:not(:disabled),.aeris-split-button__toggle:active:not(:disabled){transform:none}@media(hover:hover){.aeris-split-button__primary:hover:not(:disabled),.aeris-split-button__toggle:hover: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 var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, 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:calc(var(--aeris-density-gap, .5rem) * .25);padding:var(--aeris-overlay-padding, .375rem);border:1px solid var(--aeris-border, #efefef);border-radius:var(--aeris-radius-overlay, var(--aeris-radius-md, .6875rem));background:var(--aeris-surface, #fff);box-shadow:var(--aeris-overlay-shadow, var(--aeris-shadow-lg, 0 18px 48px rgba(0, 0, 0, .18)));animation:aeris-split-button-menu-in var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease) both}.aeris-split-button__item{min-width:0;min-height:var(--aeris-item-height, 2.5rem);display:flex;align-items:center;gap:var(--aeris-density-gap, .5rem);padding:var(--aeris-item-padding-y, .5rem) var(--aeris-item-padding-x, .75rem);border:0;border-radius:var(--aeris-radius-item, var(--aeris-radius-sm, .4375rem));background:transparent;color:var(--aeris-text-2, #454545);font:inherit;font-size:var(--aeris-item-font-size, .875rem);text-align:start;text-decoration:none;cursor:pointer;overflow-wrap:anywhere;transition:background-color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease)}.aeris-split-button__item:focus-visible{background:color-mix(in srgb,var(--aeris-primary, #111111) 13%,transparent);color:var(--aeris-text, #111111)}@media(hover:hover){.aeris-split-button__item:hover:not(:disabled):not([aria-disabled=true]){background:color-mix(in srgb,var(--aeris-primary, #111111) 13%,transparent);color:var(--aeris-text, #111111)}}.aeris-split-button__item:focus-visible{outline:var(--aeris-focus-ring-width, 3px) solid color-mix(in srgb,var(--aeris-focus, #111111) 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, #efefef)}.aeris-split-button__spinner{width:1rem;height:1rem;animation:aeris-split-button-spin .65s linear infinite;background:currentColor;-webkit-mask:var(--aeris-icon-loader, url('data:image/svg+xml,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"%3E%3Cpath d=\"M21 12a9 9 0 1 1-6.219-8.56\"/%3E%3C/svg%3E')) center/100% 100% no-repeat;mask:var(--aeris-icon-loader, url('data:image/svg+xml,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"%3E%3Cpath d=\"M21 12a9 9 0 1 1-6.219-8.56\"/%3E%3C/svg%3E')) center/100% 100% no-repeat}@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}.aeris-split-button__item{transition:none}}\n"],
|
|
689
693
|
dependencies: [
|
|
694
|
+
{
|
|
695
|
+
kind: "component",
|
|
696
|
+
type: ɵAerisIcon,
|
|
697
|
+
selector: "span[aerisInternalIcon]",
|
|
698
|
+
inputs: ["aerisInternalIcon", "aerisInternalIconFallback"]
|
|
699
|
+
},
|
|
690
700
|
{
|
|
691
701
|
kind: "directive",
|
|
692
702
|
type: NgTemplateOutlet,
|
|
@@ -743,7 +753,7 @@ var AerisSplitButton = class AerisSplitButton {
|
|
|
743
753
|
};
|
|
744
754
|
i0.ɵɵngDeclareClassMetadata({
|
|
745
755
|
minVersion: "12.0.0",
|
|
746
|
-
version: "22.2.
|
|
756
|
+
version: "22.2.3",
|
|
747
757
|
ngImport: i0,
|
|
748
758
|
type: AerisSplitButton,
|
|
749
759
|
decorators: [{
|
|
@@ -751,6 +761,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
751
761
|
args: [{
|
|
752
762
|
selector: "aeris-split-button",
|
|
753
763
|
imports: [
|
|
764
|
+
ɵAerisIcon,
|
|
754
765
|
NgTemplateOutlet,
|
|
755
766
|
AerisButtonDirective,
|
|
756
767
|
AerisSplitButtonToggleAnchor,
|
|
@@ -840,7 +851,11 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
840
851
|
[ngTemplateOutletContext]="{ loading: loading() }"
|
|
841
852
|
/>
|
|
842
853
|
} @else {
|
|
843
|
-
<span
|
|
854
|
+
<span
|
|
855
|
+
aerisInternalIcon="chevron"
|
|
856
|
+
class="aeris-split-button__chevron"
|
|
857
|
+
aria-hidden="true"
|
|
858
|
+
></span>
|
|
844
859
|
}
|
|
845
860
|
</button>
|
|
846
861
|
</div>
|
|
@@ -931,7 +946,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
931
946
|
"[attr.data-open]": "open() || null",
|
|
932
947
|
"(document:click)": "onDocumentClick($event)"
|
|
933
948
|
},
|
|
934
|
-
styles: [":host{--_aeris-chevron-mask: var( --aeris-icon-chevron, url(data:image/svg+xml,%3Csvg
|
|
949
|
+
styles: [".aeris-split-button__chevron[data-aeris-custom-icon]{transition:rotate var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease)}:host([data-open]) .aeris-split-button__chevron[data-aeris-custom-icon]{rotate:180deg}@media(prefers-reduced-motion:reduce){.aeris-split-button__chevron[data-aeris-custom-icon]{transition:none}}:host{--_aeris-chevron-mask: var( --aeris-icon-chevron, url('data:image/svg+xml,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"%3E%3Cpath d=\"m6 9 6 6 6-6\"/%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:active:not(:disabled),.aeris-split-button__toggle:active:not(:disabled){transform:none}@media(hover:hover){.aeris-split-button__primary:hover:not(:disabled),.aeris-split-button__toggle:hover: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 var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, 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:calc(var(--aeris-density-gap, .5rem) * .25);padding:var(--aeris-overlay-padding, .375rem);border:1px solid var(--aeris-border, #efefef);border-radius:var(--aeris-radius-overlay, var(--aeris-radius-md, .6875rem));background:var(--aeris-surface, #fff);box-shadow:var(--aeris-overlay-shadow, var(--aeris-shadow-lg, 0 18px 48px rgba(0, 0, 0, .18)));animation:aeris-split-button-menu-in var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease) both}.aeris-split-button__item{min-width:0;min-height:var(--aeris-item-height, 2.5rem);display:flex;align-items:center;gap:var(--aeris-density-gap, .5rem);padding:var(--aeris-item-padding-y, .5rem) var(--aeris-item-padding-x, .75rem);border:0;border-radius:var(--aeris-radius-item, var(--aeris-radius-sm, .4375rem));background:transparent;color:var(--aeris-text-2, #454545);font:inherit;font-size:var(--aeris-item-font-size, .875rem);text-align:start;text-decoration:none;cursor:pointer;overflow-wrap:anywhere;transition:background-color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease)}.aeris-split-button__item:focus-visible{background:color-mix(in srgb,var(--aeris-primary, #111111) 13%,transparent);color:var(--aeris-text, #111111)}@media(hover:hover){.aeris-split-button__item:hover:not(:disabled):not([aria-disabled=true]){background:color-mix(in srgb,var(--aeris-primary, #111111) 13%,transparent);color:var(--aeris-text, #111111)}}.aeris-split-button__item:focus-visible{outline:var(--aeris-focus-ring-width, 3px) solid color-mix(in srgb,var(--aeris-focus, #111111) 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, #efefef)}.aeris-split-button__spinner{width:1rem;height:1rem;animation:aeris-split-button-spin .65s linear infinite;background:currentColor;-webkit-mask:var(--aeris-icon-loader, url('data:image/svg+xml,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"%3E%3Cpath d=\"M21 12a9 9 0 1 1-6.219-8.56\"/%3E%3C/svg%3E')) center/100% 100% no-repeat;mask:var(--aeris-icon-loader, url('data:image/svg+xml,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"%3E%3Cpath d=\"M21 12a9 9 0 1 1-6.219-8.56\"/%3E%3C/svg%3E')) center/100% 100% no-repeat}@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}.aeris-split-button__item{transition:none}}\n"]
|
|
935
950
|
}]
|
|
936
951
|
}],
|
|
937
952
|
propDecorators: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aeris-ui-core-split-button.mjs","names":[],"sources":["../../../projects/aeris-ui/split-button/aeris-split-button.ts"],"sourcesContent":["import { NgTemplateOutlet } from '@angular/common';\nimport {\n Component,\n Directive,\n ElementRef,\n TemplateRef,\n booleanAttribute,\n computed,\n contentChild,\n inject,\n input,\n linkedSignal,\n model,\n output,\n viewChild,\n viewChildren,\n} from '@angular/core';\nimport {\n ɵAerisAppendTo,\n type AerisAppendTo,\n type AerisOverlayCollisionPadding,\n} from '@aeris-ui/core';\nimport {\n AerisButtonDirective,\n type AerisButtonSeverity,\n type AerisButtonSize,\n type AerisButtonVariant,\n} from '@aeris-ui/core/button';\n\nexport type AerisSplitButtonVariant = AerisButtonVariant;\nexport type AerisSplitButtonSize = AerisButtonSize;\nexport type AerisSplitButtonSeverity = AerisButtonSeverity;\n\nexport interface AerisSplitButtonCommandEvent<T = unknown> {\n readonly originalEvent: MouseEvent | KeyboardEvent;\n readonly item: AerisSplitButtonItem<T>;\n}\n\nexport interface AerisSplitButtonItem<T = unknown> {\n readonly id?: string;\n readonly label?: string;\n readonly ariaLabel?: string;\n readonly icon?: string;\n readonly disabled?: boolean;\n readonly visible?: boolean;\n readonly separator?: boolean;\n readonly url?: string;\n readonly routerLink?: string | readonly (string | number)[];\n readonly target?: '_blank' | '_self' | '_parent' | '_top';\n readonly rel?: string;\n readonly data?: T;\n readonly command?: (event: AerisSplitButtonCommandEvent<T>) => void;\n}\n\nexport interface AerisSplitButtonProps {\n readonly ariaLabel?: string;\n readonly title?: string;\n readonly tabIndex?: number;\n}\n\nexport type AerisSplitButtonNavigationHandler = (\n link: string | readonly (string | number)[],\n event: MouseEvent | KeyboardEvent,\n) => void;\n\nexport interface AerisSplitButtonContentTemplateContext {\n readonly loading: boolean;\n readonly disabled: boolean;\n}\n\nexport interface AerisSplitButtonIconTemplateContext {\n readonly loading: boolean;\n}\n\nexport interface AerisSplitButtonItemTemplateContext<T = unknown> {\n readonly $implicit: AerisSplitButtonItem<T>;\n readonly item: AerisSplitButtonItem<T>;\n readonly index: number;\n}\n\ninterface VisibleSplitButtonItem<T> {\n readonly item: AerisSplitButtonItem<T>;\n readonly index: number;\n readonly id: string;\n readonly href: string | null;\n}\n\nlet splitButtonId = 0;\n\n@Directive({\n selector: 'button[aerisSplitButtonToggleAnchor]',\n})\nclass AerisSplitButtonToggleAnchor {\n readonly elementRef = inject<ElementRef<HTMLButtonElement>>(ElementRef);\n}\n\n@Component({\n selector: 'aeris-split-button',\n imports: [NgTemplateOutlet, AerisButtonDirective, AerisSplitButtonToggleAnchor, ɵAerisAppendTo],\n template: `\n <div class=\"aeris-split-button__control\">\n <button\n aerisButton\n class=\"aeris-split-button__primary\"\n [variant]=\"effectiveVariant()\"\n [severity]=\"severity()\"\n [size]=\"size()\"\n [loading]=\"loading()\"\n [showSpinner]=\"false\"\n [raised]=\"raised()\"\n [rounded]=\"rounded()\"\n [attr.data-variant]=\"effectiveVariant()\"\n [attr.data-severity]=\"severity()\"\n [attr.data-size]=\"size()\"\n [attr.data-raised]=\"raised() || null\"\n [attr.data-rounded]=\"rounded() || null\"\n [type]=\"type()\"\n [disabled]=\"effectiveDisabled()\"\n [attr.aria-busy]=\"loading() || null\"\n [attr.aria-label]=\"buttonProps()?.ariaLabel\"\n [attr.title]=\"buttonProps()?.title\"\n [attr.tabindex]=\"buttonProps()?.tabIndex\"\n (click)=\"activatePrimary($event)\"\n >\n @if (contentTemplate(); as template) {\n <ng-container\n [ngTemplateOutlet]=\"template\"\n [ngTemplateOutletContext]=\"{ loading: loading(), disabled: effectiveDisabled() }\"\n />\n } @else {\n @if (loading() && loadingIconContentTemplate(); as template) {\n <ng-container\n [ngTemplateOutlet]=\"template\"\n [ngTemplateOutletContext]=\"{ loading: true }\"\n />\n } @else if (loading() && showSpinner()) {\n <span class=\"aeris-split-button__spinner\" aria-hidden=\"true\"></span>\n } @else if (iconContentTemplate(); as template) {\n <ng-container\n [ngTemplateOutlet]=\"template\"\n [ngTemplateOutletContext]=\"{ loading: false }\"\n />\n } @else if (icon()) {\n <span class=\"aeris-split-button__primary-icon\" aria-hidden=\"true\">{{ icon() }}</span>\n }\n <span>{{ label() }}</span>\n }\n </button>\n\n <button\n aerisButton\n aerisSplitButtonToggleAnchor\n type=\"button\"\n class=\"aeris-split-button__toggle\"\n [variant]=\"effectiveVariant()\"\n [severity]=\"severity()\"\n [size]=\"size()\"\n [loading]=\"loading()\"\n [showSpinner]=\"false\"\n [iconOnly]=\"true\"\n [raised]=\"raised()\"\n [rounded]=\"rounded()\"\n [attr.data-variant]=\"effectiveVariant()\"\n [attr.data-severity]=\"severity()\"\n [attr.data-size]=\"size()\"\n [attr.data-raised]=\"raised() || null\"\n [attr.data-rounded]=\"rounded() || null\"\n [disabled]=\"effectiveDisabled()\"\n [attr.aria-label]=\"menuButtonProps()?.ariaLabel ?? 'More actions'\"\n [attr.title]=\"menuButtonProps()?.title\"\n [attr.tabindex]=\"menuButtonProps()?.tabIndex\"\n [attr.aria-controls]=\"menuId()\"\n [attr.aria-expanded]=\"open()\"\n aria-haspopup=\"menu\"\n (click)=\"toggleMenu($event)\"\n (keydown)=\"onToggleKeydown($event)\"\n >\n @if (dropdownIconContentTemplate(); as template) {\n <ng-container\n [ngTemplateOutlet]=\"template\"\n [ngTemplateOutletContext]=\"{ loading: loading() }\"\n />\n } @else {\n <span class=\"aeris-split-button__chevron\" aria-hidden=\"true\"></span>\n }\n </button>\n </div>\n\n @if (open()) {\n <div\n #menuPanel\n class=\"aeris-split-button__menu\"\n [aerisInternalAppendTo]=\"appendTo()\"\n [aerisInternalAppendToDismiss]=\"dismissOverlay\"\n [aerisInternalAppendToAnchor]=\"toggleButton()?.elementRef.nativeElement ?? null\"\n [aerisInternalAppendToCollisionPadding]=\"viewportMargin()\"\n (aerisInternalAppendToOutside)=\"hide($event)\"\n [class]=\"menuStyleClass()\"\n [id]=\"menuId()\"\n role=\"menu\"\n [attr.aria-label]=\"menuAriaLabel()\"\n animate.leave=\"aeris-overlay-leave\"\n (keydown)=\"onMenuKeydown($event)\"\n >\n @for (entry of visibleItems(); track entry.id) {\n @if (entry.item.separator) {\n <div class=\"aeris-split-button__separator\" role=\"separator\"></div>\n } @else if (entry.item.url || entry.item.routerLink) {\n <a\n #menuItem\n class=\"aeris-split-button__item\"\n role=\"menuitem\"\n [attr.id]=\"entry.id\"\n [attr.href]=\"entry.item.disabled ? null : entry.href\"\n [attr.target]=\"entry.item.target\"\n [attr.rel]=\"\n entry.item.rel || (entry.item.target === '_blank' ? 'noopener noreferrer' : null)\n \"\n [attr.aria-label]=\"entry.item.ariaLabel ?? entry.item.label\"\n [attr.aria-disabled]=\"entry.item.disabled || null\"\n [attr.tabindex]=\"activeIndex() === entry.index && !entry.item.disabled ? 0 : -1\"\n (click)=\"activateItem($event, entry)\"\n (focus)=\"activeIndex.set(entry.index)\"\n >\n <ng-container\n [ngTemplateOutlet]=\"itemContentTemplate()\"\n [ngTemplateOutletContext]=\"itemContext(entry)\"\n />\n @if (!itemContentTemplate()) {\n @if (entry.item.icon) {\n <span class=\"aeris-split-button__item-icon\" aria-hidden=\"true\">{{\n entry.item.icon\n }}</span>\n }\n <span>{{ entry.item.label }}</span>\n }\n </a>\n } @else {\n <button\n #menuItem\n type=\"button\"\n class=\"aeris-split-button__item\"\n role=\"menuitem\"\n [attr.id]=\"entry.id\"\n [attr.aria-label]=\"entry.item.ariaLabel ?? entry.item.label\"\n [disabled]=\"entry.item.disabled\"\n [attr.tabindex]=\"activeIndex() === entry.index && !entry.item.disabled ? 0 : -1\"\n (click)=\"activateItem($event, entry)\"\n (focus)=\"activeIndex.set(entry.index)\"\n >\n <ng-container\n [ngTemplateOutlet]=\"itemContentTemplate()\"\n [ngTemplateOutletContext]=\"itemContext(entry)\"\n />\n @if (!itemContentTemplate()) {\n @if (entry.item.icon) {\n <span class=\"aeris-split-button__item-icon\" aria-hidden=\"true\">{{\n entry.item.icon\n }}</span>\n }\n <span>{{ entry.item.label }}</span>\n }\n </button>\n }\n }\n </div>\n }\n `,\n styleUrl: './aeris-split-button.scss',\n host: {\n class: 'aeris-split-button',\n '[attr.data-fluid]': 'fluid() || null',\n '[attr.data-open]': 'open() || null',\n '(document:click)': 'onDocumentClick($event)',\n },\n})\nexport class AerisSplitButton<T = unknown> {\n protected readonly dismissOverlay = (): boolean => {\n this.hide(new Event('aeris-dismiss'), true);\n return true;\n };\n\n private readonly host = inject<ElementRef<HTMLElement>>(ElementRef);\n private readonly generatedId = `aeris-split-button-${++splitButtonId}`;\n protected readonly toggleButton = viewChild(AerisSplitButtonToggleAnchor);\n private readonly panelPortal = viewChild(ɵAerisAppendTo);\n private readonly menuItems = viewChildren<ElementRef<HTMLElement>>('menuItem');\n\n readonly id = input(this.generatedId);\n readonly label = input('');\n readonly icon = input('');\n readonly model = input<readonly AerisSplitButtonItem<T>[]>([]);\n readonly open = model(false);\n readonly appendTo = input<AerisAppendTo>();\n readonly viewportMargin = input<number | AerisOverlayCollisionPadding>(8);\n readonly type = input<'button' | 'submit' | 'reset'>('button');\n readonly variant = input<AerisSplitButtonVariant>('solid');\n readonly severity = input<AerisSplitButtonSeverity>('primary');\n readonly size = input<AerisSplitButtonSize>('md');\n readonly disabled = input(false, { transform: booleanAttribute });\n readonly loading = input(false, { transform: booleanAttribute });\n readonly raised = input(false, { transform: booleanAttribute });\n readonly rounded = input(false, { transform: booleanAttribute });\n readonly showSpinner = input(true, { transform: booleanAttribute });\n readonly fluid = input(false, { transform: booleanAttribute });\n readonly closeOnOutsideClick = input(true, { transform: booleanAttribute });\n readonly menuAriaLabel = input('Additional actions');\n readonly menuStyleClass = input('');\n readonly buttonProps = input<AerisSplitButtonProps>();\n readonly menuButtonProps = input<AerisSplitButtonProps>();\n readonly contentTemplate = input<TemplateRef<AerisSplitButtonContentTemplateContext>>();\n readonly iconTemplate = input<TemplateRef<AerisSplitButtonIconTemplateContext>>();\n readonly loadingIconTemplate = input<TemplateRef<AerisSplitButtonIconTemplateContext>>();\n readonly dropdownIconTemplate = input<TemplateRef<AerisSplitButtonIconTemplateContext>>();\n readonly itemTemplate = input<TemplateRef<AerisSplitButtonItemTemplateContext<T>>>();\n readonly navigationHandler = input<AerisSplitButtonNavigationHandler>();\n\n readonly clicked = output<MouseEvent>();\n readonly dropdownClicked = output<MouseEvent>();\n readonly opened = output<Event>();\n readonly closed = output<Event>();\n readonly itemSelected = output<AerisSplitButtonCommandEvent<T>>();\n\n protected readonly projectedContentTemplate =\n contentChild<TemplateRef<AerisSplitButtonContentTemplateContext>>('content');\n protected readonly projectedIconTemplate =\n contentChild<TemplateRef<AerisSplitButtonIconTemplateContext>>('icon');\n protected readonly projectedLoadingIconTemplate =\n contentChild<TemplateRef<AerisSplitButtonIconTemplateContext>>('loadingIcon');\n protected readonly projectedDropdownIconTemplate =\n contentChild<TemplateRef<AerisSplitButtonIconTemplateContext>>('dropdownIcon');\n protected readonly projectedItemTemplate =\n contentChild<TemplateRef<AerisSplitButtonItemTemplateContext<T>>>('item');\n protected readonly effectiveDisabled = computed(() => this.disabled() || this.loading());\n protected readonly effectiveVariant = this.variant;\n protected readonly menuId = computed(() => `${this.id()}-menu`);\n protected readonly visibleItems = computed<readonly VisibleSplitButtonItem<T>[]>(() =>\n this.model()\n .filter((item) => item.visible !== false)\n .map((item, index) => ({\n item,\n index,\n id: item.id ?? `${this.id()}-item-${index}`,\n href: this.resolveHref(item),\n })),\n );\n protected readonly activeIndex = linkedSignal(() =>\n this.open() ? this.firstEnabledIndex() : -1,\n );\n protected readonly iconContentTemplate = computed(\n () => this.iconTemplate() ?? this.projectedIconTemplate(),\n );\n protected readonly loadingIconContentTemplate = computed(\n () => this.loadingIconTemplate() ?? this.projectedLoadingIconTemplate(),\n );\n protected readonly dropdownIconContentTemplate = computed(\n () => this.dropdownIconTemplate() ?? this.projectedDropdownIconTemplate(),\n );\n protected readonly itemContentTemplate = computed(\n () => this.itemTemplate() ?? this.projectedItemTemplate(),\n );\n\n protected activatePrimary(event: MouseEvent): void {\n if (!this.effectiveDisabled()) this.clicked.emit(event);\n }\n\n protected toggleMenu(event: MouseEvent): void {\n this.dropdownClicked.emit(event);\n this.open() ? this.hide(event) : this.show(event);\n }\n\n protected show(event: Event): void {\n if (this.effectiveDisabled() || this.open()) return;\n this.open.set(true);\n this.opened.emit(event);\n }\n\n protected hide(event: Event, restoreFocus = false): void {\n if (!this.open()) return;\n this.panelPortal()?.restore();\n this.open.set(false);\n this.closed.emit(event);\n if (restoreFocus) {\n queueMicrotask(() => this.toggleButton()?.elementRef.nativeElement.focus());\n }\n }\n\n protected activateItem(\n event: MouseEvent | KeyboardEvent,\n entry: VisibleSplitButtonItem<T>,\n ): void {\n if (entry.item.disabled || entry.item.separator) {\n event.preventDefault();\n return;\n }\n const commandEvent = { originalEvent: event, item: entry.item };\n entry.item.command?.(commandEvent);\n this.itemSelected.emit(commandEvent);\n if (entry.item.routerLink && this.navigationHandler()) {\n event.preventDefault();\n this.navigationHandler()?.(entry.item.routerLink, event);\n }\n this.hide(event, true);\n }\n\n protected itemContext(entry: VisibleSplitButtonItem<T>): AerisSplitButtonItemTemplateContext<T> {\n return { $implicit: entry.item, item: entry.item, index: entry.index };\n }\n\n protected onToggleKeydown(event: KeyboardEvent): void {\n if (!['ArrowDown', 'ArrowUp'].includes(event.key)) return;\n event.preventDefault();\n this.show(event);\n this.activeIndex.set(\n event.key === 'ArrowUp' ? this.lastEnabledIndex() : this.firstEnabledIndex(),\n );\n this.focusActiveItem();\n }\n\n protected onMenuKeydown(event: KeyboardEvent): void {\n switch (event.key) {\n case 'ArrowDown':\n event.preventDefault();\n this.moveFocus(1);\n break;\n case 'ArrowUp':\n event.preventDefault();\n this.moveFocus(-1);\n break;\n case 'Home':\n event.preventDefault();\n this.activeIndex.set(this.firstEnabledIndex());\n this.focusActiveItem();\n break;\n case 'End':\n event.preventDefault();\n this.activeIndex.set(this.lastEnabledIndex());\n this.focusActiveItem();\n break;\n case 'Escape':\n event.preventDefault();\n this.hide(event, true);\n break;\n case 'Tab':\n this.hide(event);\n break;\n }\n }\n\n protected onDocumentClick(event: Event): void {\n const target = event.target;\n if (\n this.open() &&\n this.closeOnOutsideClick() &&\n target instanceof Node &&\n !this.host.nativeElement.contains(target)\n ) {\n this.hide(event);\n }\n }\n\n private enabledIndexes(): number[] {\n return this.visibleItems().flatMap((entry) =>\n entry.item.disabled || entry.item.separator ? [] : [entry.index],\n );\n }\n\n private firstEnabledIndex(): number {\n return this.enabledIndexes().at(0) ?? -1;\n }\n\n private lastEnabledIndex(): number {\n return this.enabledIndexes().at(-1) ?? -1;\n }\n\n private moveFocus(step: 1 | -1): void {\n const enabled = this.enabledIndexes();\n if (!enabled.length) return;\n const current = enabled.indexOf(this.activeIndex());\n const next =\n current < 0\n ? step === 1\n ? 0\n : enabled.length - 1\n : (current + step + enabled.length) % enabled.length;\n this.activeIndex.set(enabled[next]);\n this.focusActiveItem();\n }\n\n private focusActiveItem(): void {\n queueMicrotask(() => {\n const entry = this.visibleItems().find(({ index }) => index === this.activeIndex());\n if (!entry) return;\n this.menuItems()\n .find(({ nativeElement }) => nativeElement.id === entry.id)\n ?.nativeElement.focus();\n });\n }\n\n private resolveHref(item: AerisSplitButtonItem<T>): string | null {\n if (item.url) return item.url;\n if (!item.routerLink) return null;\n if (typeof item.routerLink === 'string') return item.routerLink;\n return `/${item.routerLink\n .map((segment) => String(segment).replace(/^\\/+|\\/+$/g, ''))\n .filter(Boolean)\n .join('/')}`;\n }\n}\n"],"mappings":";;;;;AAuFA,IAAI,gBAAgB;AAEpB,IAGM,+BAHN,MAGM,6BAA4B;CACvB,aAAa,OAAsC,UAAU;CADlE,OAAA,OAAA,GAAA,mBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAA4B,MAAA,CAAA;EAAA,QAAA,GAAA,gBAAA;CAAA,CAAA;CAA5B,OAAA,OAAA,GAAA,qBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,MAAA;EAA4B,cAAA;EAAA,UAAA;EAAA,UAAA;CAAA,CAAA;;AAA5B,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAA4B,YAAA,CAAA;EAHjC,MAAA;EAAU,MAAA,CAAA,EACT,UAAU,uCACX,CAAA;;;AAyLD,IAAa,mBAAb,MAAa,iBAAgB;CACR,uBAA+B;EAChD,KAAK,KAAK,IAAI,MAAM,eAAe,GAAG,IAAI;EAC1C,OAAO;CACT;CAEiB,OAAO,OAAgC,UAAU;CACjD,cAAc,sBAAsB,EAAE;CACpC,eAAe,UAAU,8BAA6B,GAAA,YAAA,CAAA,EAAA,WAAA,eAAA,CAAA,+BA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AAA,GAAA;GAAA,MAAA,CAAA,QAAA;EAAA,CAAA;EAAA,cAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,cAAA;EAAA,CAAA;EAAA,0BAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAsCT,WAAS,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;EAAA,uBAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAEZ,QAAM,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;EAAA,8BAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAEN,eAAa,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;EAAA,+BAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAEb,gBAAc,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;EAAA,uBAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAEX,QAAM,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;CAAA;AAAA,CAAA"}
|
|
1
|
+
{"version":3,"file":"aeris-ui-core-split-button.mjs","names":[],"sources":["../../../projects/aeris-ui/split-button/aeris-split-button.ts"],"sourcesContent":["import { NgTemplateOutlet } from '@angular/common';\nimport {\n Component,\n Directive,\n ElementRef,\n TemplateRef,\n booleanAttribute,\n computed,\n contentChild,\n inject,\n input,\n linkedSignal,\n model,\n output,\n viewChild,\n viewChildren,\n} from '@angular/core';\nimport {\n ɵAerisIcon,\n ɵAerisAppendTo,\n type AerisAppendTo,\n type AerisOverlayCollisionPadding,\n} from '@aeris-ui/core';\nimport {\n AerisButtonDirective,\n type AerisButtonSeverity,\n type AerisButtonSize,\n type AerisButtonVariant,\n} from '@aeris-ui/core/button';\n\nexport type AerisSplitButtonVariant = AerisButtonVariant;\nexport type AerisSplitButtonSize = AerisButtonSize;\nexport type AerisSplitButtonSeverity = AerisButtonSeverity;\n\nexport interface AerisSplitButtonCommandEvent<T = unknown> {\n readonly originalEvent: MouseEvent | KeyboardEvent;\n readonly item: AerisSplitButtonItem<T>;\n}\n\nexport interface AerisSplitButtonItem<T = unknown> {\n readonly id?: string;\n readonly label?: string;\n readonly ariaLabel?: string;\n readonly icon?: string;\n readonly disabled?: boolean;\n readonly visible?: boolean;\n readonly separator?: boolean;\n readonly url?: string;\n readonly routerLink?: string | readonly (string | number)[];\n readonly target?: '_blank' | '_self' | '_parent' | '_top';\n readonly rel?: string;\n readonly data?: T;\n readonly command?: (event: AerisSplitButtonCommandEvent<T>) => void;\n}\n\nexport interface AerisSplitButtonProps {\n readonly ariaLabel?: string;\n readonly title?: string;\n readonly tabIndex?: number;\n}\n\nexport type AerisSplitButtonNavigationHandler = (\n link: string | readonly (string | number)[],\n event: MouseEvent | KeyboardEvent,\n) => void;\n\nexport interface AerisSplitButtonContentTemplateContext {\n readonly loading: boolean;\n readonly disabled: boolean;\n}\n\nexport interface AerisSplitButtonIconTemplateContext {\n readonly loading: boolean;\n}\n\nexport interface AerisSplitButtonItemTemplateContext<T = unknown> {\n readonly $implicit: AerisSplitButtonItem<T>;\n readonly item: AerisSplitButtonItem<T>;\n readonly index: number;\n}\n\ninterface VisibleSplitButtonItem<T> {\n readonly item: AerisSplitButtonItem<T>;\n readonly index: number;\n readonly id: string;\n readonly href: string | null;\n}\n\nlet splitButtonId = 0;\n\n@Directive({\n selector: 'button[aerisSplitButtonToggleAnchor]',\n})\nclass AerisSplitButtonToggleAnchor {\n readonly elementRef = inject<ElementRef<HTMLButtonElement>>(ElementRef);\n}\n\n@Component({\n selector: 'aeris-split-button',\n imports: [\n ɵAerisIcon,\n NgTemplateOutlet,\n AerisButtonDirective,\n AerisSplitButtonToggleAnchor,\n ɵAerisAppendTo,\n ],\n template: `\n <div class=\"aeris-split-button__control\">\n <button\n aerisButton\n class=\"aeris-split-button__primary\"\n [variant]=\"effectiveVariant()\"\n [severity]=\"severity()\"\n [size]=\"size()\"\n [loading]=\"loading()\"\n [showSpinner]=\"false\"\n [raised]=\"raised()\"\n [rounded]=\"rounded()\"\n [attr.data-variant]=\"effectiveVariant()\"\n [attr.data-severity]=\"severity()\"\n [attr.data-size]=\"size()\"\n [attr.data-raised]=\"raised() || null\"\n [attr.data-rounded]=\"rounded() || null\"\n [type]=\"type()\"\n [disabled]=\"effectiveDisabled()\"\n [attr.aria-busy]=\"loading() || null\"\n [attr.aria-label]=\"buttonProps()?.ariaLabel\"\n [attr.title]=\"buttonProps()?.title\"\n [attr.tabindex]=\"buttonProps()?.tabIndex\"\n (click)=\"activatePrimary($event)\"\n >\n @if (contentTemplate(); as template) {\n <ng-container\n [ngTemplateOutlet]=\"template\"\n [ngTemplateOutletContext]=\"{ loading: loading(), disabled: effectiveDisabled() }\"\n />\n } @else {\n @if (loading() && loadingIconContentTemplate(); as template) {\n <ng-container\n [ngTemplateOutlet]=\"template\"\n [ngTemplateOutletContext]=\"{ loading: true }\"\n />\n } @else if (loading() && showSpinner()) {\n <span class=\"aeris-split-button__spinner\" aria-hidden=\"true\"></span>\n } @else if (iconContentTemplate(); as template) {\n <ng-container\n [ngTemplateOutlet]=\"template\"\n [ngTemplateOutletContext]=\"{ loading: false }\"\n />\n } @else if (icon()) {\n <span class=\"aeris-split-button__primary-icon\" aria-hidden=\"true\">{{ icon() }}</span>\n }\n <span>{{ label() }}</span>\n }\n </button>\n\n <button\n aerisButton\n aerisSplitButtonToggleAnchor\n type=\"button\"\n class=\"aeris-split-button__toggle\"\n [variant]=\"effectiveVariant()\"\n [severity]=\"severity()\"\n [size]=\"size()\"\n [loading]=\"loading()\"\n [showSpinner]=\"false\"\n [iconOnly]=\"true\"\n [raised]=\"raised()\"\n [rounded]=\"rounded()\"\n [attr.data-variant]=\"effectiveVariant()\"\n [attr.data-severity]=\"severity()\"\n [attr.data-size]=\"size()\"\n [attr.data-raised]=\"raised() || null\"\n [attr.data-rounded]=\"rounded() || null\"\n [disabled]=\"effectiveDisabled()\"\n [attr.aria-label]=\"menuButtonProps()?.ariaLabel ?? 'More actions'\"\n [attr.title]=\"menuButtonProps()?.title\"\n [attr.tabindex]=\"menuButtonProps()?.tabIndex\"\n [attr.aria-controls]=\"menuId()\"\n [attr.aria-expanded]=\"open()\"\n aria-haspopup=\"menu\"\n (click)=\"toggleMenu($event)\"\n (keydown)=\"onToggleKeydown($event)\"\n >\n @if (dropdownIconContentTemplate(); as template) {\n <ng-container\n [ngTemplateOutlet]=\"template\"\n [ngTemplateOutletContext]=\"{ loading: loading() }\"\n />\n } @else {\n <span\n aerisInternalIcon=\"chevron\"\n class=\"aeris-split-button__chevron\"\n aria-hidden=\"true\"\n ></span>\n }\n </button>\n </div>\n\n @if (open()) {\n <div\n #menuPanel\n class=\"aeris-split-button__menu\"\n [aerisInternalAppendTo]=\"appendTo()\"\n [aerisInternalAppendToDismiss]=\"dismissOverlay\"\n [aerisInternalAppendToAnchor]=\"toggleButton()?.elementRef.nativeElement ?? null\"\n [aerisInternalAppendToCollisionPadding]=\"viewportMargin()\"\n (aerisInternalAppendToOutside)=\"hide($event)\"\n [class]=\"menuStyleClass()\"\n [id]=\"menuId()\"\n role=\"menu\"\n [attr.aria-label]=\"menuAriaLabel()\"\n animate.leave=\"aeris-overlay-leave\"\n (keydown)=\"onMenuKeydown($event)\"\n >\n @for (entry of visibleItems(); track entry.id) {\n @if (entry.item.separator) {\n <div class=\"aeris-split-button__separator\" role=\"separator\"></div>\n } @else if (entry.item.url || entry.item.routerLink) {\n <a\n #menuItem\n class=\"aeris-split-button__item\"\n role=\"menuitem\"\n [attr.id]=\"entry.id\"\n [attr.href]=\"entry.item.disabled ? null : entry.href\"\n [attr.target]=\"entry.item.target\"\n [attr.rel]=\"\n entry.item.rel || (entry.item.target === '_blank' ? 'noopener noreferrer' : null)\n \"\n [attr.aria-label]=\"entry.item.ariaLabel ?? entry.item.label\"\n [attr.aria-disabled]=\"entry.item.disabled || null\"\n [attr.tabindex]=\"activeIndex() === entry.index && !entry.item.disabled ? 0 : -1\"\n (click)=\"activateItem($event, entry)\"\n (focus)=\"activeIndex.set(entry.index)\"\n >\n <ng-container\n [ngTemplateOutlet]=\"itemContentTemplate()\"\n [ngTemplateOutletContext]=\"itemContext(entry)\"\n />\n @if (!itemContentTemplate()) {\n @if (entry.item.icon) {\n <span class=\"aeris-split-button__item-icon\" aria-hidden=\"true\">{{\n entry.item.icon\n }}</span>\n }\n <span>{{ entry.item.label }}</span>\n }\n </a>\n } @else {\n <button\n #menuItem\n type=\"button\"\n class=\"aeris-split-button__item\"\n role=\"menuitem\"\n [attr.id]=\"entry.id\"\n [attr.aria-label]=\"entry.item.ariaLabel ?? entry.item.label\"\n [disabled]=\"entry.item.disabled\"\n [attr.tabindex]=\"activeIndex() === entry.index && !entry.item.disabled ? 0 : -1\"\n (click)=\"activateItem($event, entry)\"\n (focus)=\"activeIndex.set(entry.index)\"\n >\n <ng-container\n [ngTemplateOutlet]=\"itemContentTemplate()\"\n [ngTemplateOutletContext]=\"itemContext(entry)\"\n />\n @if (!itemContentTemplate()) {\n @if (entry.item.icon) {\n <span class=\"aeris-split-button__item-icon\" aria-hidden=\"true\">{{\n entry.item.icon\n }}</span>\n }\n <span>{{ entry.item.label }}</span>\n }\n </button>\n }\n }\n </div>\n }\n `,\n styleUrl: './aeris-split-button.scss',\n host: {\n class: 'aeris-split-button',\n '[attr.data-fluid]': 'fluid() || null',\n '[attr.data-open]': 'open() || null',\n '(document:click)': 'onDocumentClick($event)',\n },\n})\nexport class AerisSplitButton<T = unknown> {\n protected readonly dismissOverlay = (): boolean => {\n this.hide(new Event('aeris-dismiss'), true);\n return true;\n };\n\n private readonly host = inject<ElementRef<HTMLElement>>(ElementRef);\n private readonly generatedId = `aeris-split-button-${++splitButtonId}`;\n protected readonly toggleButton = viewChild(AerisSplitButtonToggleAnchor);\n private readonly panelPortal = viewChild(ɵAerisAppendTo);\n private readonly menuItems = viewChildren<ElementRef<HTMLElement>>('menuItem');\n\n readonly id = input(this.generatedId);\n readonly label = input('');\n readonly icon = input('');\n readonly model = input<readonly AerisSplitButtonItem<T>[]>([]);\n readonly open = model(false);\n readonly appendTo = input<AerisAppendTo>();\n readonly viewportMargin = input<number | AerisOverlayCollisionPadding>(8);\n readonly type = input<'button' | 'submit' | 'reset'>('button');\n readonly variant = input<AerisSplitButtonVariant>('solid');\n readonly severity = input<AerisSplitButtonSeverity>('primary');\n readonly size = input<AerisSplitButtonSize>('md');\n readonly disabled = input(false, { transform: booleanAttribute });\n readonly loading = input(false, { transform: booleanAttribute });\n readonly raised = input(false, { transform: booleanAttribute });\n readonly rounded = input(false, { transform: booleanAttribute });\n readonly showSpinner = input(true, { transform: booleanAttribute });\n readonly fluid = input(false, { transform: booleanAttribute });\n readonly closeOnOutsideClick = input(true, { transform: booleanAttribute });\n readonly menuAriaLabel = input('Additional actions');\n readonly menuStyleClass = input('');\n readonly buttonProps = input<AerisSplitButtonProps>();\n readonly menuButtonProps = input<AerisSplitButtonProps>();\n readonly contentTemplate = input<TemplateRef<AerisSplitButtonContentTemplateContext>>();\n readonly iconTemplate = input<TemplateRef<AerisSplitButtonIconTemplateContext>>();\n readonly loadingIconTemplate = input<TemplateRef<AerisSplitButtonIconTemplateContext>>();\n readonly dropdownIconTemplate = input<TemplateRef<AerisSplitButtonIconTemplateContext>>();\n readonly itemTemplate = input<TemplateRef<AerisSplitButtonItemTemplateContext<T>>>();\n readonly navigationHandler = input<AerisSplitButtonNavigationHandler>();\n\n readonly clicked = output<MouseEvent>();\n readonly dropdownClicked = output<MouseEvent>();\n readonly opened = output<Event>();\n readonly closed = output<Event>();\n readonly itemSelected = output<AerisSplitButtonCommandEvent<T>>();\n\n protected readonly projectedContentTemplate =\n contentChild<TemplateRef<AerisSplitButtonContentTemplateContext>>('content');\n protected readonly projectedIconTemplate =\n contentChild<TemplateRef<AerisSplitButtonIconTemplateContext>>('icon');\n protected readonly projectedLoadingIconTemplate =\n contentChild<TemplateRef<AerisSplitButtonIconTemplateContext>>('loadingIcon');\n protected readonly projectedDropdownIconTemplate =\n contentChild<TemplateRef<AerisSplitButtonIconTemplateContext>>('dropdownIcon');\n protected readonly projectedItemTemplate =\n contentChild<TemplateRef<AerisSplitButtonItemTemplateContext<T>>>('item');\n protected readonly effectiveDisabled = computed(() => this.disabled() || this.loading());\n protected readonly effectiveVariant = this.variant;\n protected readonly menuId = computed(() => `${this.id()}-menu`);\n protected readonly visibleItems = computed<readonly VisibleSplitButtonItem<T>[]>(() =>\n this.model()\n .filter((item) => item.visible !== false)\n .map((item, index) => ({\n item,\n index,\n id: item.id ?? `${this.id()}-item-${index}`,\n href: this.resolveHref(item),\n })),\n );\n protected readonly activeIndex = linkedSignal(() =>\n this.open() ? this.firstEnabledIndex() : -1,\n );\n protected readonly iconContentTemplate = computed(\n () => this.iconTemplate() ?? this.projectedIconTemplate(),\n );\n protected readonly loadingIconContentTemplate = computed(\n () => this.loadingIconTemplate() ?? this.projectedLoadingIconTemplate(),\n );\n protected readonly dropdownIconContentTemplate = computed(\n () => this.dropdownIconTemplate() ?? this.projectedDropdownIconTemplate(),\n );\n protected readonly itemContentTemplate = computed(\n () => this.itemTemplate() ?? this.projectedItemTemplate(),\n );\n\n protected activatePrimary(event: MouseEvent): void {\n if (!this.effectiveDisabled()) this.clicked.emit(event);\n }\n\n protected toggleMenu(event: MouseEvent): void {\n this.dropdownClicked.emit(event);\n this.open() ? this.hide(event) : this.show(event);\n }\n\n protected show(event: Event): void {\n if (this.effectiveDisabled() || this.open()) return;\n this.open.set(true);\n this.opened.emit(event);\n }\n\n protected hide(event: Event, restoreFocus = false): void {\n if (!this.open()) return;\n this.panelPortal()?.restore();\n this.open.set(false);\n this.closed.emit(event);\n if (restoreFocus) {\n queueMicrotask(() => this.toggleButton()?.elementRef.nativeElement.focus());\n }\n }\n\n protected activateItem(\n event: MouseEvent | KeyboardEvent,\n entry: VisibleSplitButtonItem<T>,\n ): void {\n if (entry.item.disabled || entry.item.separator) {\n event.preventDefault();\n return;\n }\n const commandEvent = { originalEvent: event, item: entry.item };\n entry.item.command?.(commandEvent);\n this.itemSelected.emit(commandEvent);\n if (entry.item.routerLink && this.navigationHandler()) {\n event.preventDefault();\n this.navigationHandler()?.(entry.item.routerLink, event);\n }\n this.hide(event, true);\n }\n\n protected itemContext(entry: VisibleSplitButtonItem<T>): AerisSplitButtonItemTemplateContext<T> {\n return { $implicit: entry.item, item: entry.item, index: entry.index };\n }\n\n protected onToggleKeydown(event: KeyboardEvent): void {\n if (!['ArrowDown', 'ArrowUp'].includes(event.key)) return;\n event.preventDefault();\n this.show(event);\n this.activeIndex.set(\n event.key === 'ArrowUp' ? this.lastEnabledIndex() : this.firstEnabledIndex(),\n );\n this.focusActiveItem();\n }\n\n protected onMenuKeydown(event: KeyboardEvent): void {\n switch (event.key) {\n case 'ArrowDown':\n event.preventDefault();\n this.moveFocus(1);\n break;\n case 'ArrowUp':\n event.preventDefault();\n this.moveFocus(-1);\n break;\n case 'Home':\n event.preventDefault();\n this.activeIndex.set(this.firstEnabledIndex());\n this.focusActiveItem();\n break;\n case 'End':\n event.preventDefault();\n this.activeIndex.set(this.lastEnabledIndex());\n this.focusActiveItem();\n break;\n case 'Escape':\n event.preventDefault();\n this.hide(event, true);\n break;\n case 'Tab':\n this.hide(event);\n break;\n }\n }\n\n protected onDocumentClick(event: Event): void {\n const target = event.target;\n if (\n this.open() &&\n this.closeOnOutsideClick() &&\n target instanceof Node &&\n !this.host.nativeElement.contains(target)\n ) {\n this.hide(event);\n }\n }\n\n private enabledIndexes(): number[] {\n return this.visibleItems().flatMap((entry) =>\n entry.item.disabled || entry.item.separator ? [] : [entry.index],\n );\n }\n\n private firstEnabledIndex(): number {\n return this.enabledIndexes().at(0) ?? -1;\n }\n\n private lastEnabledIndex(): number {\n return this.enabledIndexes().at(-1) ?? -1;\n }\n\n private moveFocus(step: 1 | -1): void {\n const enabled = this.enabledIndexes();\n if (!enabled.length) return;\n const current = enabled.indexOf(this.activeIndex());\n const next =\n current < 0\n ? step === 1\n ? 0\n : enabled.length - 1\n : (current + step + enabled.length) % enabled.length;\n this.activeIndex.set(enabled[next]);\n this.focusActiveItem();\n }\n\n private focusActiveItem(): void {\n queueMicrotask(() => {\n const entry = this.visibleItems().find(({ index }) => index === this.activeIndex());\n if (!entry) return;\n this.menuItems()\n .find(({ nativeElement }) => nativeElement.id === entry.id)\n ?.nativeElement.focus();\n });\n }\n\n private resolveHref(item: AerisSplitButtonItem<T>): string | null {\n if (item.url) return item.url;\n if (!item.routerLink) return null;\n if (typeof item.routerLink === 'string') return item.routerLink;\n return `/${item.routerLink\n .map((segment) => String(segment).replace(/^\\/+|\\/+$/g, ''))\n .filter(Boolean)\n .join('/')}`;\n }\n}\n"],"mappings":";;;;;AAwFA,IAAI,gBAAgB;AAEpB,IAGM,+BAHN,MAGM,6BAA4B;CACvB,aAAa,OAAsC,UAAU;CADlE,OAAA,OAAA,GAAA,mBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAA4B,MAAA,CAAA;EAAA,QAAA,GAAA,gBAAA;CAAA,CAAA;CAA5B,OAAA,OAAA,GAAA,qBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,MAAA;EAA4B,cAAA;EAAA,UAAA;EAAA,UAAA;CAAA,CAAA;;AAA5B,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAA4B,YAAA,CAAA;EAHjC,MAAA;EAAU,MAAA,CAAA,EACT,UAAU,uCACX,CAAA;;;AAmMD,IAAa,mBAAb,MAAa,iBAAgB;CACR,uBAA+B;EAChD,KAAK,KAAK,IAAI,MAAM,eAAe,GAAG,IAAI;EAC1C,OAAO;CACT;CAEiB,OAAO,OAAgC,UAAU;CACjD,cAAc,sBAAsB,EAAE;CACpC,eAAe,UAAU,8BAA6B,GAAA,YAAA,CAAA,EAAA,WAAA,eAAA,CAAA,+BAAA,CAAA,CAAA;CACxD,cAAc,UAAU,gBAAe,GAAA,YAAA,CAAA,EAAA,WAAA,cAAA,CAAA,+BAAA,CAAA,CAAA;CACvC,YAAY,aAAsC,YAAW,GAAA,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,cAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,cAAA;EAAA,CAAA;EAAA,0BAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAsCT,WAAS,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;EAAA,uBAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAEZ,QAAM,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;EAAA,8BAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAEN,eAAa,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;EAAA,+BAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAEb,gBAAc,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;EAAA,uBAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAEX,QAAM,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;CAAA;AAAA,CAAA"}
|
|
@@ -30,7 +30,7 @@ var AerisSplitterPanel = class AerisSplitterPanel {
|
|
|
30
30
|
}
|
|
31
31
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
32
32
|
minVersion: "12.0.0",
|
|
33
|
-
version: "22.2.
|
|
33
|
+
version: "22.2.3",
|
|
34
34
|
ngImport: i0,
|
|
35
35
|
type: AerisSplitterPanel,
|
|
36
36
|
deps: [],
|
|
@@ -38,7 +38,7 @@ var AerisSplitterPanel = class AerisSplitterPanel {
|
|
|
38
38
|
});
|
|
39
39
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
40
40
|
minVersion: "17.2.0",
|
|
41
|
-
version: "22.2.
|
|
41
|
+
version: "22.2.3",
|
|
42
42
|
type: AerisSplitterPanel,
|
|
43
43
|
isStandalone: true,
|
|
44
44
|
selector: "aeris-splitter-panel",
|
|
@@ -98,7 +98,7 @@ var AerisSplitterPanel = class AerisSplitterPanel {
|
|
|
98
98
|
};
|
|
99
99
|
i0.ɵɵngDeclareClassMetadata({
|
|
100
100
|
minVersion: "12.0.0",
|
|
101
|
-
version: "22.2.
|
|
101
|
+
version: "22.2.3",
|
|
102
102
|
ngImport: i0,
|
|
103
103
|
type: AerisSplitterPanel,
|
|
104
104
|
decorators: [{
|
|
@@ -169,7 +169,10 @@ var AerisSplitter = class AerisSplitter {
|
|
|
169
169
|
orientation = input("horizontal", ...ngDevMode ? [{ debugName: "orientation" }] : /* istanbul ignore next */ []);
|
|
170
170
|
variant = input("outlined", ...ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []);
|
|
171
171
|
size = input("md", ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
|
|
172
|
-
|
|
172
|
+
showHandle = input(true, {
|
|
173
|
+
...ngDevMode ? { debugName: "showHandle" } : /* istanbul ignore next */ {},
|
|
174
|
+
transform: booleanAttribute
|
|
175
|
+
});
|
|
173
176
|
disabled = input(false, {
|
|
174
177
|
...ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {},
|
|
175
178
|
transform: booleanAttribute
|
|
@@ -405,7 +408,7 @@ var AerisSplitter = class AerisSplitter {
|
|
|
405
408
|
}
|
|
406
409
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
407
410
|
minVersion: "12.0.0",
|
|
408
|
-
version: "22.2.
|
|
411
|
+
version: "22.2.3",
|
|
409
412
|
ngImport: i0,
|
|
410
413
|
type: AerisSplitter,
|
|
411
414
|
deps: [],
|
|
@@ -413,7 +416,7 @@ var AerisSplitter = class AerisSplitter {
|
|
|
413
416
|
});
|
|
414
417
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
415
418
|
minVersion: "17.0.0",
|
|
416
|
-
version: "22.2.
|
|
419
|
+
version: "22.2.3",
|
|
417
420
|
type: AerisSplitter,
|
|
418
421
|
isStandalone: true,
|
|
419
422
|
selector: "aeris-splitter",
|
|
@@ -446,9 +449,9 @@ var AerisSplitter = class AerisSplitter {
|
|
|
446
449
|
isRequired: false,
|
|
447
450
|
transformFunction: null
|
|
448
451
|
},
|
|
449
|
-
|
|
450
|
-
classPropertyName: "
|
|
451
|
-
publicName: "
|
|
452
|
+
showHandle: {
|
|
453
|
+
classPropertyName: "showHandle",
|
|
454
|
+
publicName: "showHandle",
|
|
452
455
|
isSignal: true,
|
|
453
456
|
isRequired: false,
|
|
454
457
|
transformFunction: null
|
|
@@ -556,7 +559,7 @@ var AerisSplitter = class AerisSplitter {
|
|
|
556
559
|
"attr.data-orientation": "orientation()",
|
|
557
560
|
"attr.data-variant": "variant()",
|
|
558
561
|
"attr.data-size": "size()",
|
|
559
|
-
"attr.data-
|
|
562
|
+
"attr.data-show-handle": "showHandle()",
|
|
560
563
|
"attr.data-disabled": "disabled() || null",
|
|
561
564
|
"attr.data-dragging": "activeHandle() !== null || null",
|
|
562
565
|
"attr.data-fluid": "fluid() || null",
|
|
@@ -631,7 +634,11 @@ var AerisSplitter = class AerisSplitter {
|
|
|
631
634
|
tabindex="0"
|
|
632
635
|
[id]="handleStates()[state.index]?.id"
|
|
633
636
|
[attr.aria-label]="separatorLabel()"
|
|
634
|
-
[attr.aria-controls]="
|
|
637
|
+
[attr.aria-controls]="
|
|
638
|
+
handleStates()[state.index]?.currentPanelId +
|
|
639
|
+
' ' +
|
|
640
|
+
handleStates()[state.index]?.nextPanelId
|
|
641
|
+
"
|
|
635
642
|
[attr.aria-orientation]="orientation()"
|
|
636
643
|
[attr.aria-valuemin]="handleStates()[state.index]?.min"
|
|
637
644
|
[attr.aria-valuemax]="handleStates()[state.index]?.max"
|
|
@@ -643,14 +650,16 @@ var AerisSplitter = class AerisSplitter {
|
|
|
643
650
|
(pointerdown)="handlePointerDown($event, state.index)"
|
|
644
651
|
(keydown)="handleGutterKeydown($event, state.index)"
|
|
645
652
|
>
|
|
646
|
-
|
|
653
|
+
@if (showHandle()) {
|
|
654
|
+
<span class="aeris-splitter__handle" aria-hidden="true"></span>
|
|
655
|
+
}
|
|
647
656
|
</div>
|
|
648
657
|
}
|
|
649
658
|
}
|
|
650
659
|
</div>
|
|
651
660
|
`,
|
|
652
661
|
isInline: true,
|
|
653
|
-
styles: [":host{display:block;min-inline-size:0;min-block-size:0}:host([data-fluid=true]){inline-size:100%}.aeris-splitter__panel-source{display:none}.aeris-splitter__root{display:flex;block-size:100%;min-inline-size:0;min-block-size:0;border:var(--aeris-splitter-border-width, 1px) solid var(--aeris-splitter-border, var(--aeris-border));border-radius:var(--aeris-splitter-radius, var(--aeris-radius-surface, var(--aeris-radius-lg, .75rem)));background:var(--aeris-splitter-background, var(--aeris-surface, #fff));color:var(--aeris-splitter-color, var(--aeris-text, #111111));box-shadow:var(--aeris-splitter-shadow, none);overflow:hidden}:host([data-orientation=vertical])>.aeris-splitter__root{flex-direction:column;min-block-size:var(--aeris-splitter-min-height, 18rem)}:host([data-orientation=horizontal])>.aeris-splitter__root{flex-direction:row}:host([data-variant=filled])>.aeris-splitter__root{background:var(--aeris-splitter-filled-background, color-mix(in srgb, var(--aeris-surface-2, #f3f3f3) 72%, var(--aeris-surface, #fff)))}:host([data-variant=plain])>.aeris-splitter__root{border-color:transparent;border-radius:0;background:transparent;box-shadow:none}.aeris-splitter__panel{box-sizing:border-box;min-inline-size:0;min-block-size:0;flex:1 1 0;overflow:hidden;background:var(--aeris-splitter-panel-background, transparent);color:var(--aeris-splitter-panel-color, var(--aeris-text-2, #454545))}.aeris-splitter__panel-content{box-sizing:border-box;inline-size:100%;block-size:100%;min-inline-size:0;min-block-size:0;overflow:auto;padding:var(--aeris-splitter-panel-padding, 1rem);scrollbar-width:thin}.aeris-splitter__panel-content>:first-child{margin-block-start:0}.aeris-splitter__panel-content>:last-child{margin-block-end:0}.aeris-splitter__gutter{--aeris-splitter-gutter-current-size: var(--aeris-splitter-gutter-size, .75rem);position:relative;z-index:1;display:grid;flex:0 0 var(--aeris-splitter-gutter-current-size);place-items:center;background:var(--aeris-splitter-gutter-background, transparent);outline:none;touch-action:none;transition:background-color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),box-shadow var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease)}.aeris-splitter__gutter:before{position:absolute;inset:0;content:\"\"}.aeris-splitter__gutter:after{position:absolute;inset:0;display:
|
|
662
|
+
styles: [":host{display:block;min-inline-size:0;min-block-size:0}:host([data-fluid=true]){inline-size:100%}.aeris-splitter__panel-source{display:none}.aeris-splitter__root{display:flex;block-size:100%;min-inline-size:0;min-block-size:0;border:var(--aeris-splitter-border-width, 1px) solid var(--aeris-splitter-border, var(--aeris-border));border-radius:var(--aeris-splitter-radius, var(--aeris-radius-surface, var(--aeris-radius-lg, .75rem)));background:var(--aeris-splitter-background, var(--aeris-surface, #fff));color:var(--aeris-splitter-color, var(--aeris-text, #111111));box-shadow:var(--aeris-splitter-shadow, none);overflow:hidden}:host([data-orientation=vertical])>.aeris-splitter__root{flex-direction:column;min-block-size:var(--aeris-splitter-min-height, 18rem)}:host([data-orientation=horizontal])>.aeris-splitter__root{flex-direction:row}:host([data-variant=filled])>.aeris-splitter__root{background:var(--aeris-splitter-filled-background, color-mix(in srgb, var(--aeris-surface-2, #f3f3f3) 72%, var(--aeris-surface, #fff)))}:host([data-variant=plain])>.aeris-splitter__root{border-color:transparent;border-radius:0;background:transparent;box-shadow:none}.aeris-splitter__panel{box-sizing:border-box;min-inline-size:0;min-block-size:0;flex:1 1 0;overflow:hidden;background:var(--aeris-splitter-panel-background, transparent);color:var(--aeris-splitter-panel-color, var(--aeris-text-2, #454545))}.aeris-splitter__panel-content{box-sizing:border-box;inline-size:100%;block-size:100%;min-inline-size:0;min-block-size:0;overflow:auto;padding:var(--aeris-splitter-panel-padding, 1rem);scrollbar-width:thin}.aeris-splitter__panel-content>:first-child{margin-block-start:0}.aeris-splitter__panel-content>:last-child{margin-block-end:0}.aeris-splitter__gutter{--aeris-splitter-gutter-current-size: var(--aeris-splitter-gutter-size, .75rem);position:relative;z-index:1;display:grid;flex:0 0 var(--aeris-splitter-gutter-current-size);place-items:center;background:var(--aeris-splitter-gutter-background, transparent);outline:none;touch-action:none;transition:background-color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),box-shadow var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease)}.aeris-splitter__gutter:before{position:absolute;inset:0;content:\"\"}.aeris-splitter__gutter:after{position:absolute;inset:0;display:block;margin:auto;border-radius:var(--aeris-radius-pill, 999px);background:var(--aeris-splitter-divider-color, var(--aeris-border, color-mix(in srgb, var(--aeris-border, #efefef) 86%, transparent)));content:\"\"}:host([data-orientation=horizontal])>.aeris-splitter__root>.aeris-splitter__gutter{inline-size:var(--aeris-splitter-gutter-current-size);margin-inline:calc(var(--aeris-splitter-gutter-current-size) / -2);cursor:col-resize}:host([data-orientation=horizontal])>.aeris-splitter__root>.aeris-splitter__gutter:after{inline-size:var(--aeris-splitter-divider-thickness, 1px);block-size:100%}:host([data-orientation=vertical])>.aeris-splitter__root>.aeris-splitter__gutter{block-size:var(--aeris-splitter-gutter-current-size);margin-block:calc(var(--aeris-splitter-gutter-current-size) / -2);cursor:row-resize}:host([data-orientation=vertical])>.aeris-splitter__root>.aeris-splitter__gutter:after{inline-size:100%;block-size:var(--aeris-splitter-divider-thickness, 1px)}.aeris-splitter__gutter:focus-visible,.aeris-splitter__gutter[data-active]{background:var(--aeris-splitter-gutter-hover-background, transparent)}@media(hover:hover){.aeris-splitter__gutter:hover:not([data-disabled]){background:var(--aeris-splitter-gutter-hover-background, transparent)}}.aeris-splitter__gutter:focus-visible{box-shadow:inset 0 0 0 2px var(--aeris-splitter-focus-ring, var(--aeris-focus, var(--aeris-primary, #111111)))}.aeris-splitter__gutter[data-disabled]{cursor:default;opacity:.58}.aeris-splitter__handle{position:absolute;inset:0;margin:auto;z-index:1;display:block;border-radius:var(--aeris-radius-pill, 999px);background:var(--aeris-splitter-handle-color, color-mix(in srgb, var(--aeris-text, #111111) 28%, transparent));transition:background-color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),transform var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease)}:host([data-orientation=horizontal])>.aeris-splitter__root>.aeris-splitter__gutter>.aeris-splitter__handle{inline-size:var(--aeris-splitter-handle-thickness, .1875rem);block-size:var(--aeris-splitter-handle-length, 2rem)}:host([data-orientation=vertical])>.aeris-splitter__root>.aeris-splitter__gutter>.aeris-splitter__handle{inline-size:var(--aeris-splitter-handle-length, 2rem);block-size:var(--aeris-splitter-handle-thickness, .1875rem)}.aeris-splitter__gutter:focus-visible .aeris-splitter__handle,.aeris-splitter__gutter[data-active] .aeris-splitter__handle{background:var(--aeris-splitter-handle-hover-color, var(--aeris-primary-text, #111111))}@media(hover:hover){.aeris-splitter__gutter:hover:not([data-disabled]) .aeris-splitter__handle{background:var(--aeris-splitter-handle-hover-color, var(--aeris-primary-text, #111111))}}:host([data-size=sm])>.aeris-splitter__root>.aeris-splitter__panel>.aeris-splitter__panel-content{padding:var(--aeris-splitter-panel-padding-sm, .75rem)}:host([data-size=sm])>.aeris-splitter__root>.aeris-splitter__gutter{--aeris-splitter-gutter-current-size: var(--aeris-splitter-gutter-size-sm, .625rem)}:host([data-size=lg])>.aeris-splitter__root>.aeris-splitter__panel>.aeris-splitter__panel-content{padding:var(--aeris-splitter-panel-padding-lg, 1.25rem)}:host([data-size=lg])>.aeris-splitter__root>.aeris-splitter__gutter{--aeris-splitter-gutter-current-size: var(--aeris-splitter-gutter-size-lg, .875rem)}:host([data-orientation=horizontal][data-size=sm])>.aeris-splitter__root>.aeris-splitter__gutter{inline-size:var(--aeris-splitter-gutter-current-size)}:host([data-orientation=vertical][data-size=sm])>.aeris-splitter__root>.aeris-splitter__gutter{block-size:var(--aeris-splitter-gutter-current-size)}:host([data-orientation=horizontal][data-size=lg])>.aeris-splitter__root>.aeris-splitter__gutter{inline-size:var(--aeris-splitter-gutter-current-size)}:host([data-orientation=vertical][data-size=lg])>.aeris-splitter__root>.aeris-splitter__gutter{block-size:var(--aeris-splitter-gutter-current-size)}:host([data-disabled=true])>.aeris-splitter__root>.aeris-splitter__gutter{cursor:default}:host([data-dragging=true]){-webkit-user-select:none;user-select:none}@media(max-width:42rem){.aeris-splitter__root{min-inline-size:0}.aeris-splitter__panel-content{padding:var(--aeris-splitter-panel-padding-mobile, .875rem)}}@media(prefers-reduced-motion:reduce){.aeris-splitter__gutter,.aeris-splitter__handle{transition:none}}\n"],
|
|
654
663
|
dependencies: [{
|
|
655
664
|
kind: "directive",
|
|
656
665
|
type: NgTemplateOutlet,
|
|
@@ -665,7 +674,7 @@ var AerisSplitter = class AerisSplitter {
|
|
|
665
674
|
};
|
|
666
675
|
i0.ɵɵngDeclareClassMetadata({
|
|
667
676
|
minVersion: "12.0.0",
|
|
668
|
-
version: "22.2.
|
|
677
|
+
version: "22.2.3",
|
|
669
678
|
ngImport: i0,
|
|
670
679
|
type: AerisSplitter,
|
|
671
680
|
decorators: [{
|
|
@@ -717,7 +726,11 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
717
726
|
tabindex="0"
|
|
718
727
|
[id]="handleStates()[state.index]?.id"
|
|
719
728
|
[attr.aria-label]="separatorLabel()"
|
|
720
|
-
[attr.aria-controls]="
|
|
729
|
+
[attr.aria-controls]="
|
|
730
|
+
handleStates()[state.index]?.currentPanelId +
|
|
731
|
+
' ' +
|
|
732
|
+
handleStates()[state.index]?.nextPanelId
|
|
733
|
+
"
|
|
721
734
|
[attr.aria-orientation]="orientation()"
|
|
722
735
|
[attr.aria-valuemin]="handleStates()[state.index]?.min"
|
|
723
736
|
[attr.aria-valuemax]="handleStates()[state.index]?.max"
|
|
@@ -729,7 +742,9 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
729
742
|
(pointerdown)="handlePointerDown($event, state.index)"
|
|
730
743
|
(keydown)="handleGutterKeydown($event, state.index)"
|
|
731
744
|
>
|
|
732
|
-
|
|
745
|
+
@if (showHandle()) {
|
|
746
|
+
<span class="aeris-splitter__handle" aria-hidden="true"></span>
|
|
747
|
+
}
|
|
733
748
|
</div>
|
|
734
749
|
}
|
|
735
750
|
}
|
|
@@ -740,7 +755,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
740
755
|
"[attr.data-orientation]": "orientation()",
|
|
741
756
|
"[attr.data-variant]": "variant()",
|
|
742
757
|
"[attr.data-size]": "size()",
|
|
743
|
-
"[attr.data-
|
|
758
|
+
"[attr.data-show-handle]": "showHandle()",
|
|
744
759
|
"[attr.data-disabled]": "disabled() || null",
|
|
745
760
|
"[attr.data-dragging]": "activeHandle() !== null || null",
|
|
746
761
|
"[attr.data-fluid]": "fluid() || null",
|
|
@@ -750,7 +765,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
750
765
|
"[style.inline-size]": "width() || null",
|
|
751
766
|
"[style.max-inline-size]": "maxWidth() || null"
|
|
752
767
|
},
|
|
753
|
-
styles: [":host{display:block;min-inline-size:0;min-block-size:0}:host([data-fluid=true]){inline-size:100%}.aeris-splitter__panel-source{display:none}.aeris-splitter__root{display:flex;block-size:100%;min-inline-size:0;min-block-size:0;border:var(--aeris-splitter-border-width, 1px) solid var(--aeris-splitter-border, var(--aeris-border));border-radius:var(--aeris-splitter-radius, var(--aeris-radius-surface, var(--aeris-radius-lg, .75rem)));background:var(--aeris-splitter-background, var(--aeris-surface, #fff));color:var(--aeris-splitter-color, var(--aeris-text, #111111));box-shadow:var(--aeris-splitter-shadow, none);overflow:hidden}:host([data-orientation=vertical])>.aeris-splitter__root{flex-direction:column;min-block-size:var(--aeris-splitter-min-height, 18rem)}:host([data-orientation=horizontal])>.aeris-splitter__root{flex-direction:row}:host([data-variant=filled])>.aeris-splitter__root{background:var(--aeris-splitter-filled-background, color-mix(in srgb, var(--aeris-surface-2, #f3f3f3) 72%, var(--aeris-surface, #fff)))}:host([data-variant=plain])>.aeris-splitter__root{border-color:transparent;border-radius:0;background:transparent;box-shadow:none}.aeris-splitter__panel{box-sizing:border-box;min-inline-size:0;min-block-size:0;flex:1 1 0;overflow:hidden;background:var(--aeris-splitter-panel-background, transparent);color:var(--aeris-splitter-panel-color, var(--aeris-text-2, #454545))}.aeris-splitter__panel-content{box-sizing:border-box;inline-size:100%;block-size:100%;min-inline-size:0;min-block-size:0;overflow:auto;padding:var(--aeris-splitter-panel-padding, 1rem);scrollbar-width:thin}.aeris-splitter__panel-content>:first-child{margin-block-start:0}.aeris-splitter__panel-content>:last-child{margin-block-end:0}.aeris-splitter__gutter{--aeris-splitter-gutter-current-size: var(--aeris-splitter-gutter-size, .75rem);position:relative;z-index:1;display:grid;flex:0 0 var(--aeris-splitter-gutter-current-size);place-items:center;background:var(--aeris-splitter-gutter-background, transparent);outline:none;touch-action:none;transition:background-color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),box-shadow var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease)}.aeris-splitter__gutter:before{position:absolute;inset:0;content:\"\"}.aeris-splitter__gutter:after{position:absolute;inset:0;display:
|
|
768
|
+
styles: [":host{display:block;min-inline-size:0;min-block-size:0}:host([data-fluid=true]){inline-size:100%}.aeris-splitter__panel-source{display:none}.aeris-splitter__root{display:flex;block-size:100%;min-inline-size:0;min-block-size:0;border:var(--aeris-splitter-border-width, 1px) solid var(--aeris-splitter-border, var(--aeris-border));border-radius:var(--aeris-splitter-radius, var(--aeris-radius-surface, var(--aeris-radius-lg, .75rem)));background:var(--aeris-splitter-background, var(--aeris-surface, #fff));color:var(--aeris-splitter-color, var(--aeris-text, #111111));box-shadow:var(--aeris-splitter-shadow, none);overflow:hidden}:host([data-orientation=vertical])>.aeris-splitter__root{flex-direction:column;min-block-size:var(--aeris-splitter-min-height, 18rem)}:host([data-orientation=horizontal])>.aeris-splitter__root{flex-direction:row}:host([data-variant=filled])>.aeris-splitter__root{background:var(--aeris-splitter-filled-background, color-mix(in srgb, var(--aeris-surface-2, #f3f3f3) 72%, var(--aeris-surface, #fff)))}:host([data-variant=plain])>.aeris-splitter__root{border-color:transparent;border-radius:0;background:transparent;box-shadow:none}.aeris-splitter__panel{box-sizing:border-box;min-inline-size:0;min-block-size:0;flex:1 1 0;overflow:hidden;background:var(--aeris-splitter-panel-background, transparent);color:var(--aeris-splitter-panel-color, var(--aeris-text-2, #454545))}.aeris-splitter__panel-content{box-sizing:border-box;inline-size:100%;block-size:100%;min-inline-size:0;min-block-size:0;overflow:auto;padding:var(--aeris-splitter-panel-padding, 1rem);scrollbar-width:thin}.aeris-splitter__panel-content>:first-child{margin-block-start:0}.aeris-splitter__panel-content>:last-child{margin-block-end:0}.aeris-splitter__gutter{--aeris-splitter-gutter-current-size: var(--aeris-splitter-gutter-size, .75rem);position:relative;z-index:1;display:grid;flex:0 0 var(--aeris-splitter-gutter-current-size);place-items:center;background:var(--aeris-splitter-gutter-background, transparent);outline:none;touch-action:none;transition:background-color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),box-shadow var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease)}.aeris-splitter__gutter:before{position:absolute;inset:0;content:\"\"}.aeris-splitter__gutter:after{position:absolute;inset:0;display:block;margin:auto;border-radius:var(--aeris-radius-pill, 999px);background:var(--aeris-splitter-divider-color, var(--aeris-border, color-mix(in srgb, var(--aeris-border, #efefef) 86%, transparent)));content:\"\"}:host([data-orientation=horizontal])>.aeris-splitter__root>.aeris-splitter__gutter{inline-size:var(--aeris-splitter-gutter-current-size);margin-inline:calc(var(--aeris-splitter-gutter-current-size) / -2);cursor:col-resize}:host([data-orientation=horizontal])>.aeris-splitter__root>.aeris-splitter__gutter:after{inline-size:var(--aeris-splitter-divider-thickness, 1px);block-size:100%}:host([data-orientation=vertical])>.aeris-splitter__root>.aeris-splitter__gutter{block-size:var(--aeris-splitter-gutter-current-size);margin-block:calc(var(--aeris-splitter-gutter-current-size) / -2);cursor:row-resize}:host([data-orientation=vertical])>.aeris-splitter__root>.aeris-splitter__gutter:after{inline-size:100%;block-size:var(--aeris-splitter-divider-thickness, 1px)}.aeris-splitter__gutter:focus-visible,.aeris-splitter__gutter[data-active]{background:var(--aeris-splitter-gutter-hover-background, transparent)}@media(hover:hover){.aeris-splitter__gutter:hover:not([data-disabled]){background:var(--aeris-splitter-gutter-hover-background, transparent)}}.aeris-splitter__gutter:focus-visible{box-shadow:inset 0 0 0 2px var(--aeris-splitter-focus-ring, var(--aeris-focus, var(--aeris-primary, #111111)))}.aeris-splitter__gutter[data-disabled]{cursor:default;opacity:.58}.aeris-splitter__handle{position:absolute;inset:0;margin:auto;z-index:1;display:block;border-radius:var(--aeris-radius-pill, 999px);background:var(--aeris-splitter-handle-color, color-mix(in srgb, var(--aeris-text, #111111) 28%, transparent));transition:background-color var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),transform var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease)}:host([data-orientation=horizontal])>.aeris-splitter__root>.aeris-splitter__gutter>.aeris-splitter__handle{inline-size:var(--aeris-splitter-handle-thickness, .1875rem);block-size:var(--aeris-splitter-handle-length, 2rem)}:host([data-orientation=vertical])>.aeris-splitter__root>.aeris-splitter__gutter>.aeris-splitter__handle{inline-size:var(--aeris-splitter-handle-length, 2rem);block-size:var(--aeris-splitter-handle-thickness, .1875rem)}.aeris-splitter__gutter:focus-visible .aeris-splitter__handle,.aeris-splitter__gutter[data-active] .aeris-splitter__handle{background:var(--aeris-splitter-handle-hover-color, var(--aeris-primary-text, #111111))}@media(hover:hover){.aeris-splitter__gutter:hover:not([data-disabled]) .aeris-splitter__handle{background:var(--aeris-splitter-handle-hover-color, var(--aeris-primary-text, #111111))}}:host([data-size=sm])>.aeris-splitter__root>.aeris-splitter__panel>.aeris-splitter__panel-content{padding:var(--aeris-splitter-panel-padding-sm, .75rem)}:host([data-size=sm])>.aeris-splitter__root>.aeris-splitter__gutter{--aeris-splitter-gutter-current-size: var(--aeris-splitter-gutter-size-sm, .625rem)}:host([data-size=lg])>.aeris-splitter__root>.aeris-splitter__panel>.aeris-splitter__panel-content{padding:var(--aeris-splitter-panel-padding-lg, 1.25rem)}:host([data-size=lg])>.aeris-splitter__root>.aeris-splitter__gutter{--aeris-splitter-gutter-current-size: var(--aeris-splitter-gutter-size-lg, .875rem)}:host([data-orientation=horizontal][data-size=sm])>.aeris-splitter__root>.aeris-splitter__gutter{inline-size:var(--aeris-splitter-gutter-current-size)}:host([data-orientation=vertical][data-size=sm])>.aeris-splitter__root>.aeris-splitter__gutter{block-size:var(--aeris-splitter-gutter-current-size)}:host([data-orientation=horizontal][data-size=lg])>.aeris-splitter__root>.aeris-splitter__gutter{inline-size:var(--aeris-splitter-gutter-current-size)}:host([data-orientation=vertical][data-size=lg])>.aeris-splitter__root>.aeris-splitter__gutter{block-size:var(--aeris-splitter-gutter-current-size)}:host([data-disabled=true])>.aeris-splitter__root>.aeris-splitter__gutter{cursor:default}:host([data-dragging=true]){-webkit-user-select:none;user-select:none}@media(max-width:42rem){.aeris-splitter__root{min-inline-size:0}.aeris-splitter__panel-content{padding:var(--aeris-splitter-panel-padding-mobile, .875rem)}}@media(prefers-reduced-motion:reduce){.aeris-splitter__gutter,.aeris-splitter__handle{transition:none}}\n"]
|
|
754
769
|
}]
|
|
755
770
|
}],
|
|
756
771
|
ctorParameters: () => [],
|
|
@@ -794,11 +809,11 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
794
809
|
required: false
|
|
795
810
|
}]
|
|
796
811
|
}],
|
|
797
|
-
|
|
812
|
+
showHandle: [{
|
|
798
813
|
type: i0.Input,
|
|
799
814
|
args: [{
|
|
800
815
|
isSignal: true,
|
|
801
|
-
alias: "
|
|
816
|
+
alias: "showHandle",
|
|
802
817
|
required: false
|
|
803
818
|
}]
|
|
804
819
|
}],
|