@aeris-ui/core 22.0.0-alpha.10 → 22.0.0-alpha.12
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-66V2U8rC.mjs +946 -0
- package/fesm2022/aeris-ui-core-date-picker-aeris-date-picker-input-66V2U8rC.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-filter-service.mjs.map +1 -1
- 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 +73 -44
- 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 -4
- 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 +90 -20
- package/types/aeris-ui-core-dialog.d.ts +15 -2
- package/types/aeris-ui-core-drawer.d.ts +105 -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 +8 -2
- 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 +140 -3
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ɵAerisIcon } from "@aeris-ui/core";
|
|
1
2
|
import { DOCUMENT, NgTemplateOutlet, isPlatformBrowser } from "@angular/common";
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
import { Component, DestroyRef, Directive, ElementRef, PLATFORM_ID, TemplateRef, afterNextRender, booleanAttribute, computed, contentChild, effect, inject, input, model, output, signal } from "@angular/core";
|
|
@@ -8,7 +9,7 @@ var AerisCarouselItemTemplate = class AerisCarouselItemTemplate {
|
|
|
8
9
|
}
|
|
9
10
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
10
11
|
minVersion: "12.0.0",
|
|
11
|
-
version: "22.2.
|
|
12
|
+
version: "22.2.4",
|
|
12
13
|
ngImport: i0,
|
|
13
14
|
type: AerisCarouselItemTemplate,
|
|
14
15
|
deps: [],
|
|
@@ -16,7 +17,7 @@ var AerisCarouselItemTemplate = class AerisCarouselItemTemplate {
|
|
|
16
17
|
});
|
|
17
18
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
18
19
|
minVersion: "14.0.0",
|
|
19
|
-
version: "22.2.
|
|
20
|
+
version: "22.2.4",
|
|
20
21
|
type: AerisCarouselItemTemplate,
|
|
21
22
|
isStandalone: true,
|
|
22
23
|
selector: "ng-template[aerisCarouselItem]",
|
|
@@ -25,7 +26,7 @@ var AerisCarouselItemTemplate = class AerisCarouselItemTemplate {
|
|
|
25
26
|
};
|
|
26
27
|
i0.ɵɵngDeclareClassMetadata({
|
|
27
28
|
minVersion: "12.0.0",
|
|
28
|
-
version: "22.2.
|
|
29
|
+
version: "22.2.4",
|
|
29
30
|
ngImport: i0,
|
|
30
31
|
type: AerisCarouselItemTemplate,
|
|
31
32
|
decorators: [{
|
|
@@ -37,7 +38,7 @@ var AerisCarouselHeaderTemplate = class AerisCarouselHeaderTemplate {
|
|
|
37
38
|
template = inject(TemplateRef);
|
|
38
39
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
39
40
|
minVersion: "12.0.0",
|
|
40
|
-
version: "22.2.
|
|
41
|
+
version: "22.2.4",
|
|
41
42
|
ngImport: i0,
|
|
42
43
|
type: AerisCarouselHeaderTemplate,
|
|
43
44
|
deps: [],
|
|
@@ -45,7 +46,7 @@ var AerisCarouselHeaderTemplate = class AerisCarouselHeaderTemplate {
|
|
|
45
46
|
});
|
|
46
47
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
47
48
|
minVersion: "14.0.0",
|
|
48
|
-
version: "22.2.
|
|
49
|
+
version: "22.2.4",
|
|
49
50
|
type: AerisCarouselHeaderTemplate,
|
|
50
51
|
isStandalone: true,
|
|
51
52
|
selector: "ng-template[aerisCarouselHeader]",
|
|
@@ -54,7 +55,7 @@ var AerisCarouselHeaderTemplate = class AerisCarouselHeaderTemplate {
|
|
|
54
55
|
};
|
|
55
56
|
i0.ɵɵngDeclareClassMetadata({
|
|
56
57
|
minVersion: "12.0.0",
|
|
57
|
-
version: "22.2.
|
|
58
|
+
version: "22.2.4",
|
|
58
59
|
ngImport: i0,
|
|
59
60
|
type: AerisCarouselHeaderTemplate,
|
|
60
61
|
decorators: [{
|
|
@@ -66,7 +67,7 @@ var AerisCarouselFooterTemplate = class AerisCarouselFooterTemplate {
|
|
|
66
67
|
template = inject(TemplateRef);
|
|
67
68
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
68
69
|
minVersion: "12.0.0",
|
|
69
|
-
version: "22.2.
|
|
70
|
+
version: "22.2.4",
|
|
70
71
|
ngImport: i0,
|
|
71
72
|
type: AerisCarouselFooterTemplate,
|
|
72
73
|
deps: [],
|
|
@@ -74,7 +75,7 @@ var AerisCarouselFooterTemplate = class AerisCarouselFooterTemplate {
|
|
|
74
75
|
});
|
|
75
76
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
76
77
|
minVersion: "14.0.0",
|
|
77
|
-
version: "22.2.
|
|
78
|
+
version: "22.2.4",
|
|
78
79
|
type: AerisCarouselFooterTemplate,
|
|
79
80
|
isStandalone: true,
|
|
80
81
|
selector: "ng-template[aerisCarouselFooter]",
|
|
@@ -83,7 +84,7 @@ var AerisCarouselFooterTemplate = class AerisCarouselFooterTemplate {
|
|
|
83
84
|
};
|
|
84
85
|
i0.ɵɵngDeclareClassMetadata({
|
|
85
86
|
minVersion: "12.0.0",
|
|
86
|
-
version: "22.2.
|
|
87
|
+
version: "22.2.4",
|
|
87
88
|
ngImport: i0,
|
|
88
89
|
type: AerisCarouselFooterTemplate,
|
|
89
90
|
decorators: [{
|
|
@@ -92,6 +93,8 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
92
93
|
}]
|
|
93
94
|
});
|
|
94
95
|
var AerisCarousel = class AerisCarousel {
|
|
96
|
+
previousIconTemplate = input(...ngDevMode ? [void 0, { debugName: "previousIconTemplate" }] : /* istanbul ignore next */ []);
|
|
97
|
+
nextIconTemplate = input(...ngDevMode ? [void 0, { debugName: "nextIconTemplate" }] : /* istanbul ignore next */ []);
|
|
95
98
|
host = inject(ElementRef);
|
|
96
99
|
document = inject(DOCUMENT);
|
|
97
100
|
platformId = inject(PLATFORM_ID);
|
|
@@ -363,7 +366,7 @@ var AerisCarousel = class AerisCarousel {
|
|
|
363
366
|
}
|
|
364
367
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
365
368
|
minVersion: "12.0.0",
|
|
366
|
-
version: "22.2.
|
|
369
|
+
version: "22.2.4",
|
|
367
370
|
ngImport: i0,
|
|
368
371
|
type: AerisCarousel,
|
|
369
372
|
deps: [],
|
|
@@ -371,11 +374,25 @@ var AerisCarousel = class AerisCarousel {
|
|
|
371
374
|
});
|
|
372
375
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
373
376
|
minVersion: "17.0.0",
|
|
374
|
-
version: "22.2.
|
|
377
|
+
version: "22.2.4",
|
|
375
378
|
type: AerisCarousel,
|
|
376
379
|
isStandalone: true,
|
|
377
380
|
selector: "aeris-carousel",
|
|
378
381
|
inputs: {
|
|
382
|
+
previousIconTemplate: {
|
|
383
|
+
classPropertyName: "previousIconTemplate",
|
|
384
|
+
publicName: "previousIconTemplate",
|
|
385
|
+
isSignal: true,
|
|
386
|
+
isRequired: false,
|
|
387
|
+
transformFunction: null
|
|
388
|
+
},
|
|
389
|
+
nextIconTemplate: {
|
|
390
|
+
classPropertyName: "nextIconTemplate",
|
|
391
|
+
publicName: "nextIconTemplate",
|
|
392
|
+
isSignal: true,
|
|
393
|
+
isRequired: false,
|
|
394
|
+
transformFunction: null
|
|
395
|
+
},
|
|
379
396
|
value: {
|
|
380
397
|
classPropertyName: "value",
|
|
381
398
|
publicName: "value",
|
|
@@ -560,7 +577,13 @@ var AerisCarousel = class AerisCarousel {
|
|
|
560
577
|
[disabled]="previousDisabled()"
|
|
561
578
|
(click)="previous('previous')"
|
|
562
579
|
>
|
|
563
|
-
|
|
580
|
+
@if (previousIconTemplate(); as customIcon) {
|
|
581
|
+
<span aria-hidden="true" data-aeris-custom-icon
|
|
582
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
583
|
+
/></span>
|
|
584
|
+
} @else {
|
|
585
|
+
<span aerisInternalIcon="chevron" aria-hidden="true"></span>
|
|
586
|
+
}
|
|
564
587
|
</button>
|
|
565
588
|
}
|
|
566
589
|
|
|
@@ -621,7 +644,13 @@ var AerisCarousel = class AerisCarousel {
|
|
|
621
644
|
[disabled]="nextDisabled()"
|
|
622
645
|
(click)="next('next')"
|
|
623
646
|
>
|
|
624
|
-
|
|
647
|
+
@if (nextIconTemplate(); as customIcon) {
|
|
648
|
+
<span aria-hidden="true" data-aeris-custom-icon
|
|
649
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
650
|
+
/></span>
|
|
651
|
+
} @else {
|
|
652
|
+
<span aerisInternalIcon="chevron" aria-hidden="true"></span>
|
|
653
|
+
}
|
|
625
654
|
</button>
|
|
626
655
|
}
|
|
627
656
|
</div>
|
|
@@ -638,8 +667,13 @@ var AerisCarousel = class AerisCarousel {
|
|
|
638
667
|
</section>
|
|
639
668
|
`,
|
|
640
669
|
isInline: true,
|
|
641
|
-
styles: [":host{--_aeris-carousel-chevron: var( --aeris-icon-chevron, url(
|
|
670
|
+
styles: [":host{--_aeris-carousel-chevron: 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') );display:block;min-inline-size:0}.aeris-carousel{display:grid;gap:var(--aeris-carousel-gap, calc(var(--aeris-density-gap, .5rem) * 1.5));min-inline-size:0;color:var(--aeris-carousel-color, var(--aeris-text, #111111))}.aeris-carousel__header,.aeris-carousel__footer{min-inline-size:0}.aeris-carousel__content{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:var(--aeris-carousel-navigator-gap, var(--aeris-density-gap, .5rem));min-inline-size:0}.aeris-carousel__content[data-orientation=vertical]{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr) auto auto;justify-items:center;gap:calc(var(--aeris-carousel-navigator-gap, var(--aeris-density-gap, .5rem)) * .5)}.aeris-carousel__content[data-orientation=vertical] .aeris-carousel__navigator--previous{grid-row:1;transform:rotate(180deg)}.aeris-carousel__content[data-orientation=vertical] .aeris-carousel__viewport{grid-row:2;inline-size:100%}.aeris-carousel__content[data-orientation=vertical] .aeris-carousel__navigator--next{grid-row:4;transform:rotate(0)}.aeris-carousel__viewport{min-inline-size:0;overflow:hidden;border-radius:var(--aeris-carousel-radius, var(--aeris-radius-surface, var(--aeris-radius-lg, .75rem)));touch-action:pan-y pinch-zoom;-webkit-tap-highlight-color:transparent;user-select:none;-webkit-user-select:none;cursor:grab}.aeris-carousel__viewport:active{cursor:grabbing}.aeris-carousel__content[data-orientation=vertical] .aeris-carousel__viewport{touch-action:pan-x pinch-zoom}.aeris-carousel__viewport:focus-visible{outline:var(--aeris-focus-ring-width, 3px) solid color-mix(in srgb,var(--aeris-focus, #111111) 24%,transparent);outline-offset:var(--aeris-focus-ring-offset, 2px)}.aeris-carousel__track{display:flex;min-inline-size:0;transition:transform var(--aeris-carousel-transition-duration, .26s) var(--aeris-carousel-transition-easing, cubic-bezier(.22, 1, .36, 1));will-change:transform}.aeris-carousel__track[data-orientation=vertical]{flex-direction:column}.aeris-carousel__track[data-dragging=true]{transition:none;cursor:grabbing}.aeris-carousel__item{box-sizing:border-box;flex:0 0 calc(100% / var(--aeris-carousel-item-count));min-inline-size:0;padding-inline:calc(var(--aeris-carousel-item-gap, var(--aeris-density-gap, .5rem)) / 2)}.aeris-carousel__track[data-orientation=vertical] .aeris-carousel__item{min-block-size:0;padding-block:0;padding-inline:0}.aeris-carousel__content[data-orientation=vertical] .aeris-carousel__navigator{transform:none}.aeris-carousel__content[data-orientation=vertical] .aeris-carousel__navigator--previous span{transform:rotate(180deg)}.aeris-carousel__content[data-orientation=vertical] .aeris-carousel__navigator--next span{transform:none}.aeris-carousel__item:first-child{padding-inline-start:0}.aeris-carousel__item:last-child{padding-inline-end:0}.aeris-carousel__default-item{display:grid;min-block-size:var(--aeris-carousel-default-item-min-height, 10rem);place-items:center;padding:1rem;border:1px solid var(--aeris-carousel-item-border, var(--aeris-border));border-radius:var(--aeris-carousel-item-radius, var(--aeris-radius-surface, var(--aeris-radius-lg, .75rem)));background:var(--aeris-carousel-item-background, var(--aeris-surface, #fff));text-align:center}.aeris-carousel__navigator{inline-size:max(2.5rem,var(--aeris-control-height, 2.625rem));block-size:max(2.5rem,var(--aeris-control-height, 2.625rem));display:grid;flex:0 0 auto;place-items:center;padding:0;border:1px solid var(--aeris-carousel-navigator-border, var(--aeris-border, #efefef));border-radius:var(--aeris-carousel-navigator-radius, var(--aeris-radius-control, .6875rem));background:var(--aeris-carousel-navigator-background, var(--aeris-surface, #fff));color:var(--aeris-carousel-navigator-color, var(--aeris-text, #111111));cursor:pointer}@media(hover:hover){.aeris-carousel__navigator:hover:not(:disabled){border-color:color-mix(in srgb,var(--aeris-primary, #111111) 50%,var(--aeris-border, #efefef));background:color-mix(in srgb,var(--aeris-primary, #111111) 10%,var(--aeris-surface, #fff))}}.aeris-carousel__navigator:disabled{opacity:.42;cursor:not-allowed}.aeris-carousel__navigator:focus-visible,.aeris-carousel__indicators button:focus-visible{outline:var(--aeris-focus-ring-width, 3px) solid color-mix(in srgb,var(--aeris-focus, #111111) 25%,transparent);outline-offset:var(--aeris-focus-ring-offset, 2px)}.aeris-carousel__navigator span{inline-size:1.125rem;block-size:1.125rem;background:currentColor;transform:rotate(90deg);-webkit-mask:var(--_aeris-carousel-chevron) center/100% 100% no-repeat;mask:var(--_aeris-carousel-chevron) center/100% 100% no-repeat}.aeris-carousel__navigator--next span{transform:rotate(-90deg)}:host([dir=rtl]) .aeris-carousel__navigator--previous span,:host-context([dir=rtl]) .aeris-carousel__navigator--previous span{transform:rotate(-90deg)}:host([dir=rtl]) .aeris-carousel__navigator--next span,:host-context([dir=rtl]) .aeris-carousel__navigator--next span{transform:rotate(90deg)}.aeris-carousel__indicators{display:flex;flex-wrap:wrap;justify-content:center;gap:var(--aeris-carousel-indicator-gap, .5rem)}.aeris-carousel__indicators[data-orientation=vertical]{grid-row:3;flex-direction:row;align-items:center;justify-self:center;margin-block:.125rem}.aeris-carousel__indicators button{display:grid;place-items:center;inline-size:max(1.5rem,var(--aeris-carousel-indicator-size, .625rem));block-size:max(1.5rem,var(--aeris-carousel-indicator-size, .625rem));padding:0;border:0;border-radius:999px;background:transparent;cursor:pointer}.aeris-carousel__indicators button:before{content:\"\";inline-size:var(--aeris-carousel-indicator-size, .625rem);block-size:var(--aeris-carousel-indicator-size, .625rem);border-radius:var(--aeris-carousel-indicator-radius, 999px);background:var(--aeris-carousel-indicator-background, var(--aeris-border, #efefef));transition:inline-size var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),background var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease)}.aeris-carousel__indicators button[aria-current=page]{inline-size:max(1.5rem,var(--aeris-carousel-active-indicator-width, 1.5rem))}.aeris-carousel__indicators button[aria-current=page]:before{inline-size:var(--aeris-carousel-active-indicator-width, 1.5rem);background:var(--aeris-carousel-active-indicator-background, var(--aeris-primary, #111111))}@media(max-width:38rem){.aeris-carousel__content[data-orientation=horizontal]{grid-template-columns:minmax(0,1fr)}.aeris-carousel__content[data-orientation=horizontal] .aeris-carousel__navigator{position:absolute;z-index:1;inset-block-start:50%;transform:translateY(-50%);box-shadow:0 .5rem 1.5rem #1f231b29}.aeris-carousel__content[data-orientation=horizontal]{position:relative}.aeris-carousel__content[data-orientation=horizontal] .aeris-carousel__navigator--previous{inset-inline-start:.5rem}.aeris-carousel__content[data-orientation=horizontal] .aeris-carousel__navigator--next{inset-inline-end:.5rem}}:host [data-aeris-custom-icon]:not([data-aeris-global-icon]){display:inline-flex;align-items:center;justify-content:center;inline-size:var(--aeris-icon-size, 1rem);block-size:var(--aeris-icon-size, 1rem);background:transparent;border:0;box-shadow:none;-webkit-mask:none;mask:none;line-height:1}:host [data-aeris-custom-icon]:before,:host [data-aeris-custom-icon]:after{display:none}@media(prefers-reduced-motion:reduce){.aeris-carousel__track,.aeris-carousel__indicators button:before{transition:none}}@media(pointer:coarse){.aeris-carousel__indicators button{min-inline-size:2.75rem;min-block-size:2.75rem}}\n"],
|
|
642
671
|
dependencies: [{
|
|
672
|
+
kind: "component",
|
|
673
|
+
type: ɵAerisIcon,
|
|
674
|
+
selector: "span[aerisInternalIcon]",
|
|
675
|
+
inputs: ["aerisInternalIcon", "aerisInternalIconFallback"]
|
|
676
|
+
}, {
|
|
643
677
|
kind: "directive",
|
|
644
678
|
type: NgTemplateOutlet,
|
|
645
679
|
selector: "[ngTemplateOutlet]",
|
|
@@ -653,14 +687,14 @@ var AerisCarousel = class AerisCarousel {
|
|
|
653
687
|
};
|
|
654
688
|
i0.ɵɵngDeclareClassMetadata({
|
|
655
689
|
minVersion: "12.0.0",
|
|
656
|
-
version: "22.2.
|
|
690
|
+
version: "22.2.4",
|
|
657
691
|
ngImport: i0,
|
|
658
692
|
type: AerisCarousel,
|
|
659
693
|
decorators: [{
|
|
660
694
|
type: Component,
|
|
661
695
|
args: [{
|
|
662
696
|
selector: "aeris-carousel",
|
|
663
|
-
imports: [NgTemplateOutlet],
|
|
697
|
+
imports: [ɵAerisIcon, NgTemplateOutlet],
|
|
664
698
|
template: `
|
|
665
699
|
<section
|
|
666
700
|
class="aeris-carousel"
|
|
@@ -700,7 +734,13 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
700
734
|
[disabled]="previousDisabled()"
|
|
701
735
|
(click)="previous('previous')"
|
|
702
736
|
>
|
|
703
|
-
|
|
737
|
+
@if (previousIconTemplate(); as customIcon) {
|
|
738
|
+
<span aria-hidden="true" data-aeris-custom-icon
|
|
739
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
740
|
+
/></span>
|
|
741
|
+
} @else {
|
|
742
|
+
<span aerisInternalIcon="chevron" aria-hidden="true"></span>
|
|
743
|
+
}
|
|
704
744
|
</button>
|
|
705
745
|
}
|
|
706
746
|
|
|
@@ -761,7 +801,13 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
761
801
|
[disabled]="nextDisabled()"
|
|
762
802
|
(click)="next('next')"
|
|
763
803
|
>
|
|
764
|
-
|
|
804
|
+
@if (nextIconTemplate(); as customIcon) {
|
|
805
|
+
<span aria-hidden="true" data-aeris-custom-icon
|
|
806
|
+
><ng-container [ngTemplateOutlet]="customIcon"
|
|
807
|
+
/></span>
|
|
808
|
+
} @else {
|
|
809
|
+
<span aerisInternalIcon="chevron" aria-hidden="true"></span>
|
|
810
|
+
}
|
|
765
811
|
</button>
|
|
766
812
|
}
|
|
767
813
|
</div>
|
|
@@ -781,11 +827,27 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
781
827
|
class: "aeris-carousel-host",
|
|
782
828
|
"[attr.data-orientation]": "orientation()"
|
|
783
829
|
},
|
|
784
|
-
styles: [":host{--_aeris-carousel-chevron: var( --aeris-icon-chevron, url(
|
|
830
|
+
styles: [":host{--_aeris-carousel-chevron: 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') );display:block;min-inline-size:0}.aeris-carousel{display:grid;gap:var(--aeris-carousel-gap, calc(var(--aeris-density-gap, .5rem) * 1.5));min-inline-size:0;color:var(--aeris-carousel-color, var(--aeris-text, #111111))}.aeris-carousel__header,.aeris-carousel__footer{min-inline-size:0}.aeris-carousel__content{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:var(--aeris-carousel-navigator-gap, var(--aeris-density-gap, .5rem));min-inline-size:0}.aeris-carousel__content[data-orientation=vertical]{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr) auto auto;justify-items:center;gap:calc(var(--aeris-carousel-navigator-gap, var(--aeris-density-gap, .5rem)) * .5)}.aeris-carousel__content[data-orientation=vertical] .aeris-carousel__navigator--previous{grid-row:1;transform:rotate(180deg)}.aeris-carousel__content[data-orientation=vertical] .aeris-carousel__viewport{grid-row:2;inline-size:100%}.aeris-carousel__content[data-orientation=vertical] .aeris-carousel__navigator--next{grid-row:4;transform:rotate(0)}.aeris-carousel__viewport{min-inline-size:0;overflow:hidden;border-radius:var(--aeris-carousel-radius, var(--aeris-radius-surface, var(--aeris-radius-lg, .75rem)));touch-action:pan-y pinch-zoom;-webkit-tap-highlight-color:transparent;user-select:none;-webkit-user-select:none;cursor:grab}.aeris-carousel__viewport:active{cursor:grabbing}.aeris-carousel__content[data-orientation=vertical] .aeris-carousel__viewport{touch-action:pan-x pinch-zoom}.aeris-carousel__viewport:focus-visible{outline:var(--aeris-focus-ring-width, 3px) solid color-mix(in srgb,var(--aeris-focus, #111111) 24%,transparent);outline-offset:var(--aeris-focus-ring-offset, 2px)}.aeris-carousel__track{display:flex;min-inline-size:0;transition:transform var(--aeris-carousel-transition-duration, .26s) var(--aeris-carousel-transition-easing, cubic-bezier(.22, 1, .36, 1));will-change:transform}.aeris-carousel__track[data-orientation=vertical]{flex-direction:column}.aeris-carousel__track[data-dragging=true]{transition:none;cursor:grabbing}.aeris-carousel__item{box-sizing:border-box;flex:0 0 calc(100% / var(--aeris-carousel-item-count));min-inline-size:0;padding-inline:calc(var(--aeris-carousel-item-gap, var(--aeris-density-gap, .5rem)) / 2)}.aeris-carousel__track[data-orientation=vertical] .aeris-carousel__item{min-block-size:0;padding-block:0;padding-inline:0}.aeris-carousel__content[data-orientation=vertical] .aeris-carousel__navigator{transform:none}.aeris-carousel__content[data-orientation=vertical] .aeris-carousel__navigator--previous span{transform:rotate(180deg)}.aeris-carousel__content[data-orientation=vertical] .aeris-carousel__navigator--next span{transform:none}.aeris-carousel__item:first-child{padding-inline-start:0}.aeris-carousel__item:last-child{padding-inline-end:0}.aeris-carousel__default-item{display:grid;min-block-size:var(--aeris-carousel-default-item-min-height, 10rem);place-items:center;padding:1rem;border:1px solid var(--aeris-carousel-item-border, var(--aeris-border));border-radius:var(--aeris-carousel-item-radius, var(--aeris-radius-surface, var(--aeris-radius-lg, .75rem)));background:var(--aeris-carousel-item-background, var(--aeris-surface, #fff));text-align:center}.aeris-carousel__navigator{inline-size:max(2.5rem,var(--aeris-control-height, 2.625rem));block-size:max(2.5rem,var(--aeris-control-height, 2.625rem));display:grid;flex:0 0 auto;place-items:center;padding:0;border:1px solid var(--aeris-carousel-navigator-border, var(--aeris-border, #efefef));border-radius:var(--aeris-carousel-navigator-radius, var(--aeris-radius-control, .6875rem));background:var(--aeris-carousel-navigator-background, var(--aeris-surface, #fff));color:var(--aeris-carousel-navigator-color, var(--aeris-text, #111111));cursor:pointer}@media(hover:hover){.aeris-carousel__navigator:hover:not(:disabled){border-color:color-mix(in srgb,var(--aeris-primary, #111111) 50%,var(--aeris-border, #efefef));background:color-mix(in srgb,var(--aeris-primary, #111111) 10%,var(--aeris-surface, #fff))}}.aeris-carousel__navigator:disabled{opacity:.42;cursor:not-allowed}.aeris-carousel__navigator:focus-visible,.aeris-carousel__indicators button:focus-visible{outline:var(--aeris-focus-ring-width, 3px) solid color-mix(in srgb,var(--aeris-focus, #111111) 25%,transparent);outline-offset:var(--aeris-focus-ring-offset, 2px)}.aeris-carousel__navigator span{inline-size:1.125rem;block-size:1.125rem;background:currentColor;transform:rotate(90deg);-webkit-mask:var(--_aeris-carousel-chevron) center/100% 100% no-repeat;mask:var(--_aeris-carousel-chevron) center/100% 100% no-repeat}.aeris-carousel__navigator--next span{transform:rotate(-90deg)}:host([dir=rtl]) .aeris-carousel__navigator--previous span,:host-context([dir=rtl]) .aeris-carousel__navigator--previous span{transform:rotate(-90deg)}:host([dir=rtl]) .aeris-carousel__navigator--next span,:host-context([dir=rtl]) .aeris-carousel__navigator--next span{transform:rotate(90deg)}.aeris-carousel__indicators{display:flex;flex-wrap:wrap;justify-content:center;gap:var(--aeris-carousel-indicator-gap, .5rem)}.aeris-carousel__indicators[data-orientation=vertical]{grid-row:3;flex-direction:row;align-items:center;justify-self:center;margin-block:.125rem}.aeris-carousel__indicators button{display:grid;place-items:center;inline-size:max(1.5rem,var(--aeris-carousel-indicator-size, .625rem));block-size:max(1.5rem,var(--aeris-carousel-indicator-size, .625rem));padding:0;border:0;border-radius:999px;background:transparent;cursor:pointer}.aeris-carousel__indicators button:before{content:\"\";inline-size:var(--aeris-carousel-indicator-size, .625rem);block-size:var(--aeris-carousel-indicator-size, .625rem);border-radius:var(--aeris-carousel-indicator-radius, 999px);background:var(--aeris-carousel-indicator-background, var(--aeris-border, #efefef));transition:inline-size var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease),background var(--aeris-motion-normal, .15s) var(--aeris-ease-standard, ease)}.aeris-carousel__indicators button[aria-current=page]{inline-size:max(1.5rem,var(--aeris-carousel-active-indicator-width, 1.5rem))}.aeris-carousel__indicators button[aria-current=page]:before{inline-size:var(--aeris-carousel-active-indicator-width, 1.5rem);background:var(--aeris-carousel-active-indicator-background, var(--aeris-primary, #111111))}@media(max-width:38rem){.aeris-carousel__content[data-orientation=horizontal]{grid-template-columns:minmax(0,1fr)}.aeris-carousel__content[data-orientation=horizontal] .aeris-carousel__navigator{position:absolute;z-index:1;inset-block-start:50%;transform:translateY(-50%);box-shadow:0 .5rem 1.5rem #1f231b29}.aeris-carousel__content[data-orientation=horizontal]{position:relative}.aeris-carousel__content[data-orientation=horizontal] .aeris-carousel__navigator--previous{inset-inline-start:.5rem}.aeris-carousel__content[data-orientation=horizontal] .aeris-carousel__navigator--next{inset-inline-end:.5rem}}:host [data-aeris-custom-icon]:not([data-aeris-global-icon]){display:inline-flex;align-items:center;justify-content:center;inline-size:var(--aeris-icon-size, 1rem);block-size:var(--aeris-icon-size, 1rem);background:transparent;border:0;box-shadow:none;-webkit-mask:none;mask:none;line-height:1}:host [data-aeris-custom-icon]:before,:host [data-aeris-custom-icon]:after{display:none}@media(prefers-reduced-motion:reduce){.aeris-carousel__track,.aeris-carousel__indicators button:before{transition:none}}@media(pointer:coarse){.aeris-carousel__indicators button{min-inline-size:2.75rem;min-block-size:2.75rem}}\n"]
|
|
785
831
|
}]
|
|
786
832
|
}],
|
|
787
833
|
ctorParameters: () => [],
|
|
788
834
|
propDecorators: {
|
|
835
|
+
previousIconTemplate: [{
|
|
836
|
+
type: i0.Input,
|
|
837
|
+
args: [{
|
|
838
|
+
isSignal: true,
|
|
839
|
+
alias: "previousIconTemplate",
|
|
840
|
+
required: false
|
|
841
|
+
}]
|
|
842
|
+
}],
|
|
843
|
+
nextIconTemplate: [{
|
|
844
|
+
type: i0.Input,
|
|
845
|
+
args: [{
|
|
846
|
+
isSignal: true,
|
|
847
|
+
alias: "nextIconTemplate",
|
|
848
|
+
required: false
|
|
849
|
+
}]
|
|
850
|
+
}],
|
|
789
851
|
itemTemplate: [{
|
|
790
852
|
type: i0.ContentChild,
|
|
791
853
|
args: [i0.forwardRef(() => AerisCarouselItemTemplate), { isSignal: true }]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aeris-ui-core-carousel.mjs","names":[],"sources":["../../../projects/aeris-ui/carousel/aeris-carousel.ts"],"sourcesContent":["import { DOCUMENT, NgTemplateOutlet, isPlatformBrowser } from '@angular/common';\nimport {\n Component,\n DestroyRef,\n Directive,\n ElementRef,\n PLATFORM_ID,\n TemplateRef,\n afterNextRender,\n booleanAttribute,\n computed,\n contentChild,\n effect,\n inject,\n input,\n model,\n output,\n signal,\n} from '@angular/core';\n\nexport type AerisCarouselOrientation = 'horizontal' | 'vertical';\nexport type AerisCarouselChangeReason =\n 'next' | 'previous' | 'indicator' | 'keyboard' | 'swipe' | 'autoplay' | 'api';\n\nexport interface AerisCarouselResponsiveOption {\n readonly breakpoint: string;\n readonly numVisible?: number;\n readonly numScroll?: number;\n}\n\nexport interface AerisCarouselItemContext<T = unknown> {\n readonly $implicit: T;\n readonly item: T;\n readonly index: number;\n readonly visible: boolean;\n}\n\nexport interface AerisCarouselPageEvent {\n readonly page: number;\n readonly first: number;\n readonly last: number;\n readonly reason: AerisCarouselChangeReason;\n}\n\ninterface AerisCarouselItemView<T> {\n readonly item: T;\n readonly index: number;\n readonly context: AerisCarouselItemContext<T>;\n}\n\n@Directive({ selector: 'ng-template[aerisCarouselItem]' })\nexport class AerisCarouselItemTemplate<T = unknown> {\n readonly template = inject<TemplateRef<AerisCarouselItemContext<T>>>(TemplateRef);\n\n static ngTemplateContextGuard<T>(\n _directive: AerisCarouselItemTemplate<T>,\n context: unknown,\n ): context is AerisCarouselItemContext<T> {\n return true;\n }\n}\n\n@Directive({ selector: 'ng-template[aerisCarouselHeader]' })\nexport class AerisCarouselHeaderTemplate {\n readonly template = inject<TemplateRef<void>>(TemplateRef);\n}\n\n@Directive({ selector: 'ng-template[aerisCarouselFooter]' })\nexport class AerisCarouselFooterTemplate {\n readonly template = inject<TemplateRef<void>>(TemplateRef);\n}\n\n@Component({\n selector: 'aeris-carousel',\n imports: [NgTemplateOutlet],\n template: `\n <section\n class=\"aeris-carousel\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-roledescription]=\"'carousel'\"\n >\n <ng-template #indicatorList>\n <div\n class=\"aeris-carousel__indicators\"\n [attr.data-orientation]=\"orientation()\"\n role=\"group\"\n [attr.aria-label]=\"indicatorAriaLabel()\"\n >\n @for (indicator of indicators(); track indicator.page) {\n <button\n type=\"button\"\n [attr.aria-label]=\"indicator.label\"\n [attr.aria-current]=\"indicator.page === currentPage() ? 'page' : null\"\n (click)=\"goToPage(indicator.page, 'indicator')\"\n ></button>\n }\n </div>\n </ng-template>\n\n @if (headerTemplate(); as header) {\n <div class=\"aeris-carousel__header\">\n <ng-container [ngTemplateOutlet]=\"header.template\" />\n </div>\n }\n\n <div class=\"aeris-carousel__content\" [attr.data-orientation]=\"orientation()\">\n @if (showNavigators() && pageCount() > 1) {\n <button\n class=\"aeris-carousel__navigator aeris-carousel__navigator--previous\"\n type=\"button\"\n [attr.aria-label]=\"previousAriaLabel()\"\n [disabled]=\"previousDisabled()\"\n (click)=\"previous('previous')\"\n >\n <span aria-hidden=\"true\"></span>\n </button>\n }\n\n <div\n class=\"aeris-carousel__viewport\"\n tabindex=\"0\"\n [attr.aria-live]=\"autoplayInterval() > 0 ? 'off' : 'polite'\"\n [style.block-size]=\"orientation() === 'vertical' ? verticalViewportHeight() : null\"\n (keydown)=\"handleViewportKeydown($event)\"\n (pointerdown)=\"handlePointerDown($event)\"\n (pointermove)=\"handlePointerMove($event)\"\n (pointerup)=\"handlePointerUp($event)\"\n (pointercancel)=\"handlePointerCancel($event)\"\n (lostpointercapture)=\"handlePointerCancel($event)\"\n (pointerenter)=\"setHoverPaused(true)\"\n (pointerleave)=\"setHoverPaused(false)\"\n (focusin)=\"setFocusPaused(true)\"\n (focusout)=\"handleFocusOut($event)\"\n >\n <div\n class=\"aeris-carousel__track\"\n [attr.data-orientation]=\"orientation()\"\n [style.inline-size]=\"trackInlineSize()\"\n [style.block-size]=\"trackBlockSize()\"\n [style.transform]=\"trackTransform()\"\n [attr.data-dragging]=\"dragging() || null\"\n >\n @for (view of itemViews(); track view.index) {\n <article\n class=\"aeris-carousel__item\"\n [attr.aria-hidden]=\"view.context.visible ? null : 'true'\"\n [attr.inert]=\"view.context.visible ? null : ''\"\n [style.--aeris-carousel-visible]=\"visibleCount()\"\n [style.--aeris-carousel-item-count]=\"value().length\"\n >\n @if (itemTemplate(); as template) {\n <ng-container\n [ngTemplateOutlet]=\"template.template\"\n [ngTemplateOutletContext]=\"view.context\"\n />\n } @else {\n <span class=\"aeris-carousel__default-item\">{{ view.item }}</span>\n }\n </article>\n }\n </div>\n </div>\n\n @if (orientation() === 'vertical' && showIndicators() && pageCount() > 1) {\n <ng-container [ngTemplateOutlet]=\"indicatorList\" />\n }\n\n @if (showNavigators() && pageCount() > 1) {\n <button\n class=\"aeris-carousel__navigator aeris-carousel__navigator--next\"\n type=\"button\"\n [attr.aria-label]=\"nextAriaLabel()\"\n [disabled]=\"nextDisabled()\"\n (click)=\"next('next')\"\n >\n <span aria-hidden=\"true\"></span>\n </button>\n }\n </div>\n\n @if (orientation() === 'horizontal' && showIndicators() && pageCount() > 1) {\n <ng-container [ngTemplateOutlet]=\"indicatorList\" />\n }\n\n @if (footerTemplate(); as footer) {\n <div class=\"aeris-carousel__footer\">\n <ng-container [ngTemplateOutlet]=\"footer.template\" />\n </div>\n }\n </section>\n `,\n styleUrl: './aeris-carousel.scss',\n host: {\n class: 'aeris-carousel-host',\n '[attr.data-orientation]': 'orientation()',\n },\n})\nexport class AerisCarousel<T = unknown> {\n private readonly host = inject(ElementRef<HTMLElement>);\n private readonly document = inject(DOCUMENT);\n private readonly platformId = inject(PLATFORM_ID);\n private readonly destroyRef = inject(DestroyRef);\n private readonly browser = isPlatformBrowser(this.platformId);\n private readonly viewportWidth = signal(0);\n private readonly hoverPaused = signal(false);\n private readonly focusPaused = signal(false);\n private readonly autoplayStopped = signal(false);\n private readonly paused = computed(\n () => this.hoverPaused() || this.focusPaused() || this.autoplayStopped(),\n );\n private readonly pointerStart = signal<number | null>(null);\n private pointerCrossStart = 0;\n private activePointerId: number | null = null;\n private readonly dragOffset = signal(0);\n protected readonly dragging = signal(false);\n private resizeObserver: ResizeObserver | null = null;\n\n protected readonly itemTemplate = contentChild(AerisCarouselItemTemplate<T>);\n protected readonly headerTemplate = contentChild(AerisCarouselHeaderTemplate);\n protected readonly footerTemplate = contentChild(AerisCarouselFooterTemplate);\n\n readonly value = input<readonly T[]>([]);\n readonly page = model(0);\n readonly numVisible = input(1);\n readonly numScroll = input(1);\n readonly responsiveOptions = input<readonly AerisCarouselResponsiveOption[]>([]);\n readonly circular = input(false, { transform: booleanAttribute });\n readonly showNavigators = input(true, { transform: booleanAttribute });\n readonly showIndicators = input(true, { transform: booleanAttribute });\n readonly autoplayInterval = input(0);\n readonly pauseOnHover = input(true, { transform: booleanAttribute });\n readonly orientation = input<AerisCarouselOrientation>('horizontal');\n readonly verticalViewportHeight = input('20rem');\n readonly ariaLabel = input('Carousel');\n readonly indicatorAriaLabel = input('Carousel pages');\n readonly previousAriaLabel = input('Previous items');\n readonly nextAriaLabel = input('Next items');\n\n readonly pageChanged = output<AerisCarouselPageEvent>();\n\n protected readonly resolvedSettings = computed(() => {\n const base = {\n numVisible: this.safeCount(this.numVisible()),\n numScroll: this.safeCount(this.numScroll()),\n };\n const width = this.viewportWidth();\n if (!width) return base;\n\n const matching = [...this.responsiveOptions()]\n .map((option) => ({ option, pixels: this.breakpointPixels(option.breakpoint) }))\n .filter((option) => option.pixels > 0 && width <= option.pixels)\n .sort((left, right) => left.pixels - right.pixels)[0]?.option;\n\n return {\n numVisible: this.safeCount(matching?.numVisible ?? base.numVisible),\n numScroll: this.safeCount(matching?.numScroll ?? base.numScroll),\n };\n });\n\n protected readonly visibleCount = computed(() =>\n Math.min(this.value().length || 1, this.resolvedSettings().numVisible),\n );\n protected readonly pageCount = computed(() => {\n const length = this.value().length;\n if (length <= this.visibleCount()) return 1;\n return Math.ceil((length - this.visibleCount()) / this.resolvedSettings().numScroll) + 1;\n });\n protected readonly currentPage = computed(() =>\n Math.min(Math.max(this.page(), 0), this.pageCount() - 1),\n );\n protected readonly firstVisibleIndex = computed(() =>\n Math.min(\n this.currentPage() * this.resolvedSettings().numScroll,\n Math.max(0, this.value().length - this.visibleCount()),\n ),\n );\n protected readonly lastVisibleIndex = computed(() =>\n Math.min(this.value().length - 1, this.firstVisibleIndex() + this.visibleCount() - 1),\n );\n protected readonly itemViews = computed<readonly AerisCarouselItemView<T>[]>(() => {\n const first = this.firstVisibleIndex();\n const last = this.lastVisibleIndex();\n return this.value().map((item, index) => ({\n item,\n index,\n context: { $implicit: item, item, index, visible: index >= first && index <= last },\n }));\n });\n protected readonly indicators = computed(() =>\n Array.from({ length: this.pageCount() }, (_, page) => ({\n page,\n label: `Show items ${this.indicatorRange(page)}`,\n })),\n );\n protected readonly previousDisabled = computed(\n () => !this.circular() && this.currentPage() === 0,\n );\n protected readonly nextDisabled = computed(\n () => !this.circular() && this.currentPage() >= this.pageCount() - 1,\n );\n protected readonly trackInlineSize = computed(() =>\n this.orientation() === 'horizontal'\n ? `${(this.value().length / this.visibleCount()) * 100}%`\n : null,\n );\n protected readonly trackBlockSize = computed(() =>\n this.orientation() === 'vertical'\n ? `${(this.value().length / this.visibleCount()) * 100}%`\n : null,\n );\n protected readonly trackTransform = computed(() => {\n const total = Math.max(1, this.value().length);\n const offset = (this.firstVisibleIndex() / total) * 100;\n const dragOffset = this.dragOffset();\n if (this.orientation() === 'vertical')\n return `translate3d(0, calc(-${offset}% + ${dragOffset}px), 0)`;\n const direction = this.isRtl() ? offset : -offset;\n return `translate3d(calc(${direction}% + ${dragOffset}px), 0, 0)`;\n });\n\n constructor() {\n afterNextRender(() => this.observeSize());\n this.destroyRef.onDestroy(() => this.resizeObserver?.disconnect());\n\n effect((onCleanup) => {\n const interval = this.autoplayInterval();\n const canPlay = interval > 0 && this.pageCount() > 1 && !this.paused();\n if (!canPlay || !this.browser) return;\n\n const timer = setInterval(() => this.next('autoplay'), interval);\n onCleanup(() => clearInterval(timer));\n });\n }\n\n next(reason: AerisCarouselChangeReason = 'api'): void {\n const pageCount = this.pageCount();\n if (pageCount <= 1) return;\n const current = this.currentPage();\n if (current >= pageCount - 1 && !this.circular()) return;\n this.changePage(current >= pageCount - 1 ? 0 : current + 1, reason);\n }\n\n previous(reason: AerisCarouselChangeReason = 'api'): void {\n const pageCount = this.pageCount();\n if (pageCount <= 1) return;\n const current = this.currentPage();\n if (current <= 0 && !this.circular()) return;\n this.changePage(current <= 0 ? pageCount - 1 : current - 1, reason);\n }\n\n goToPage(page: number, reason: AerisCarouselChangeReason = 'api'): void {\n const target = Math.min(Math.max(0, Math.floor(page)), this.pageCount() - 1);\n if (target === this.currentPage()) return;\n this.changePage(target, reason);\n }\n\n startAutoplay(): void {\n this.autoplayStopped.set(false);\n }\n\n stopAutoplay(): void {\n this.autoplayStopped.set(true);\n }\n\n protected handleViewportKeydown(event: KeyboardEvent): void {\n const nextKey =\n this.orientation() === 'vertical' ? 'ArrowDown' : this.isRtl() ? 'ArrowLeft' : 'ArrowRight';\n const previousKey =\n this.orientation() === 'vertical' ? 'ArrowUp' : this.isRtl() ? 'ArrowRight' : 'ArrowLeft';\n if (event.key === nextKey) {\n event.preventDefault();\n this.next('keyboard');\n } else if (event.key === previousKey) {\n event.preventDefault();\n this.previous('keyboard');\n } else if (event.key === 'Home') {\n event.preventDefault();\n this.goToPage(0, 'keyboard');\n } else if (event.key === 'End') {\n event.preventDefault();\n this.goToPage(this.pageCount() - 1, 'keyboard');\n }\n }\n\n protected handlePointerDown(event: PointerEvent): void {\n if (this.activePointerId !== null || this.pageCount() <= 1) return;\n if (event.pointerType === 'mouse' && event.button !== 0) return;\n if (\n (event.target as Element | null)?.closest(\n 'button, a, input, select, textarea, [role=\"button\"], [contenteditable]:not([contenteditable=\"false\"])',\n )\n )\n return;\n if (event.pointerType === 'mouse') event.preventDefault();\n (event.currentTarget as HTMLElement).setPointerCapture?.(event.pointerId);\n this.activePointerId = event.pointerId;\n this.pointerStart.set(this.orientation() === 'vertical' ? event.clientY : event.clientX);\n this.pointerCrossStart = this.orientation() === 'vertical' ? event.clientX : event.clientY;\n this.dragOffset.set(0);\n this.dragging.set(event.pointerType === 'mouse');\n }\n\n protected handlePointerMove(event: PointerEvent): void {\n if (this.activePointerId !== event.pointerId) return;\n const start = this.pointerStart();\n if (start === null) return;\n const point = this.orientation() === 'vertical' ? event.clientY : event.clientX;\n if (event.pointerType !== 'mouse' && !this.dragging()) {\n const cross = this.orientation() === 'vertical' ? event.clientX : event.clientY;\n const distance = Math.abs(point - start);\n if (Math.max(distance, Math.abs(cross - this.pointerCrossStart)) < 6) return;\n if (Math.abs(cross - this.pointerCrossStart) > distance) {\n this.clearPointer();\n const target = event.currentTarget as HTMLElement;\n if (target.hasPointerCapture?.(event.pointerId))\n target.releasePointerCapture(event.pointerId);\n return;\n }\n this.dragging.set(true);\n }\n event.preventDefault();\n this.dragOffset.set(point - start);\n }\n\n protected handlePointerUp(event: PointerEvent): void {\n if (this.activePointerId !== event.pointerId) return;\n const start = this.pointerStart();\n const currentTarget = event.currentTarget as HTMLElement;\n if (currentTarget.hasPointerCapture?.(event.pointerId))\n currentTarget.releasePointerCapture(event.pointerId);\n if (start === null) {\n this.clearPointer();\n return;\n }\n const end = this.orientation() === 'vertical' ? event.clientY : event.clientX;\n const distance = end - start;\n this.clearPointer();\n if (Math.abs(distance) < 32) return;\n\n const viewportSize =\n this.orientation() === 'vertical' ? currentTarget.clientHeight : currentTarget.clientWidth;\n const stepSize =\n viewportSize > 0\n ? (viewportSize / this.visibleCount()) * this.resolvedSettings().numScroll\n : 80;\n const pageDelta = Math.max(1, Math.round(Math.abs(distance) / stepSize));\n const direction = this.dragDirection(distance);\n this.goToPage(this.dragTargetPage(this.currentPage() + direction * pageDelta), 'swipe');\n }\n\n protected clearPointer(): void {\n this.activePointerId = null;\n this.pointerStart.set(null);\n this.dragOffset.set(0);\n this.dragging.set(false);\n }\n\n protected handlePointerCancel(event: PointerEvent): void {\n if (this.activePointerId === event.pointerId) this.clearPointer();\n }\n\n protected setHoverPaused(paused: boolean): void {\n if (this.pauseOnHover()) this.hoverPaused.set(paused);\n }\n\n protected setFocusPaused(paused: boolean): void {\n if (this.pauseOnHover()) this.focusPaused.set(paused);\n }\n\n protected handleFocusOut(event: FocusEvent): void {\n const next = event.relatedTarget;\n if (next instanceof Node && this.host.nativeElement.contains(next)) return;\n this.setFocusPaused(false);\n }\n\n private changePage(page: number, reason: AerisCarouselChangeReason): void {\n this.page.set(page);\n this.pageChanged.emit({\n page,\n first: Math.min(\n page * this.resolvedSettings().numScroll,\n Math.max(0, this.value().length - this.visibleCount()),\n ),\n last: Math.min(\n this.value().length - 1,\n page * this.resolvedSettings().numScroll + this.visibleCount() - 1,\n ),\n reason,\n });\n }\n\n private dragDirection(distance: number): number {\n const direction = distance < 0 ? 1 : -1;\n return this.orientation() === 'horizontal' && this.isRtl() ? -direction : direction;\n }\n\n private dragTargetPage(page: number): number {\n const pageCount = this.pageCount();\n if (!this.circular()) return Math.min(Math.max(0, page), pageCount - 1);\n return ((page % pageCount) + pageCount) % pageCount;\n }\n\n private observeSize(): void {\n if (!this.browser || typeof ResizeObserver === 'undefined') return;\n this.resizeObserver = new ResizeObserver((entries) => {\n const width = entries[0]?.contentRect.width;\n if (width) this.viewportWidth.set(width);\n });\n this.resizeObserver.observe(this.host.nativeElement);\n }\n\n private safeCount(value: number): number {\n return Number.isFinite(value) ? Math.max(1, Math.floor(value)) : 1;\n }\n\n private breakpointPixels(value: string): number {\n const match = /^(\\d+(?:\\.\\d+)?)(px|rem|em)?$/.exec(value.trim());\n if (!match) return 0;\n const amount = Number(match[1]);\n const unit = match[2] ?? 'px';\n if (unit === 'px') return amount;\n const rootSize =\n Number.parseFloat(getComputedStyle(this.document.documentElement).fontSize) || 16;\n return amount * rootSize;\n }\n\n private indicatorRange(page: number): string {\n const first = Math.min(\n page * this.resolvedSettings().numScroll,\n Math.max(0, this.value().length - this.visibleCount()),\n );\n const last = Math.min(this.value().length, first + this.visibleCount());\n return `${first + 1} to ${last}`;\n }\n\n private isRtl(): boolean {\n const direction = this.document.defaultView?.getComputedStyle(\n this.host.nativeElement,\n ).direction;\n return direction ? direction === 'rtl' : this.document.documentElement.dir === 'rtl';\n }\n}\n\nexport const AerisCarouselModule = [\n AerisCarousel,\n AerisCarouselItemTemplate,\n AerisCarouselHeaderTemplate,\n AerisCarouselFooterTemplate,\n] as const;\n"],"mappings":";;;AAmDA,IAAa,4BAAb,MAAa,0BAAyB;CAC3B,WAAW,OAAiD,WAAW;CAEhF,OAAO,uBACL,YACA,SAAgB;EAEhB,OAAO;CACT;CARW,OAAA,OAAA,GAAA,mBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAAyB,MAAA,CAAA;EAAA,QAAA,GAAA,gBAAA;CAAA,CAAA;CAAzB,OAAA,OAAA,GAAA,qBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,MAAA;EAAyB,cAAA;EAAA,UAAA;EAAA,UAAA;CAAA,CAAA;;AAAzB,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAyB,YAAA,CAAA;EADrC,MAAA;EAAU,MAAA,CAAA,EAAE,UAAU,iCAAgC,CAAE;;;AAazD,IAAa,8BAAb,MAAa,4BAA2B;CAC7B,WAAW,OAA0B,WAAW;CAD9C,OAAA,OAAA,GAAA,mBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAA2B,MAAA,CAAA;EAAA,QAAA,GAAA,gBAAA;CAAA,CAAA;CAA3B,OAAA,OAAA,GAAA,qBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,MAAA;EAA2B,cAAA;EAAA,UAAA;EAAA,UAAA;CAA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A;GAAA,CAAA;EAAA,CAAA;EAAA,aAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,aAAA;EAAA,CAAA;CAAA;AAAA,CAAA;AAoU9E,MAAa,sBAAsB;CACjC;CACA;CACA;CACA;AACQ"}
|
|
1
|
+
{"version":3,"file":"aeris-ui-core-carousel.mjs","names":[],"sources":["../../../projects/aeris-ui/carousel/aeris-carousel.ts"],"sourcesContent":["import { ɵAerisIcon } from '@aeris-ui/core';\nimport { DOCUMENT, NgTemplateOutlet, isPlatformBrowser } from '@angular/common';\nimport {\n Component,\n DestroyRef,\n Directive,\n ElementRef,\n PLATFORM_ID,\n TemplateRef,\n afterNextRender,\n booleanAttribute,\n computed,\n contentChild,\n effect,\n inject,\n input,\n model,\n output,\n signal,\n} from '@angular/core';\n\nexport type AerisCarouselOrientation = 'horizontal' | 'vertical';\nexport type AerisCarouselChangeReason =\n 'next' | 'previous' | 'indicator' | 'keyboard' | 'swipe' | 'autoplay' | 'api';\n\nexport interface AerisCarouselResponsiveOption {\n readonly breakpoint: string;\n readonly numVisible?: number;\n readonly numScroll?: number;\n}\n\nexport interface AerisCarouselItemContext<T = unknown> {\n readonly $implicit: T;\n readonly item: T;\n readonly index: number;\n readonly visible: boolean;\n}\n\nexport interface AerisCarouselPageEvent {\n readonly page: number;\n readonly first: number;\n readonly last: number;\n readonly reason: AerisCarouselChangeReason;\n}\n\ninterface AerisCarouselItemView<T> {\n readonly item: T;\n readonly index: number;\n readonly context: AerisCarouselItemContext<T>;\n}\n\n@Directive({ selector: 'ng-template[aerisCarouselItem]' })\nexport class AerisCarouselItemTemplate<T = unknown> {\n readonly template = inject<TemplateRef<AerisCarouselItemContext<T>>>(TemplateRef);\n\n static ngTemplateContextGuard<T>(\n _directive: AerisCarouselItemTemplate<T>,\n context: unknown,\n ): context is AerisCarouselItemContext<T> {\n return true;\n }\n}\n\n@Directive({ selector: 'ng-template[aerisCarouselHeader]' })\nexport class AerisCarouselHeaderTemplate {\n readonly template = inject<TemplateRef<void>>(TemplateRef);\n}\n\n@Directive({ selector: 'ng-template[aerisCarouselFooter]' })\nexport class AerisCarouselFooterTemplate {\n readonly template = inject<TemplateRef<void>>(TemplateRef);\n}\n\n@Component({\n selector: 'aeris-carousel',\n imports: [ɵAerisIcon, NgTemplateOutlet],\n template: `\n <section\n class=\"aeris-carousel\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-roledescription]=\"'carousel'\"\n >\n <ng-template #indicatorList>\n <div\n class=\"aeris-carousel__indicators\"\n [attr.data-orientation]=\"orientation()\"\n role=\"group\"\n [attr.aria-label]=\"indicatorAriaLabel()\"\n >\n @for (indicator of indicators(); track indicator.page) {\n <button\n type=\"button\"\n [attr.aria-label]=\"indicator.label\"\n [attr.aria-current]=\"indicator.page === currentPage() ? 'page' : null\"\n (click)=\"goToPage(indicator.page, 'indicator')\"\n ></button>\n }\n </div>\n </ng-template>\n\n @if (headerTemplate(); as header) {\n <div class=\"aeris-carousel__header\">\n <ng-container [ngTemplateOutlet]=\"header.template\" />\n </div>\n }\n\n <div class=\"aeris-carousel__content\" [attr.data-orientation]=\"orientation()\">\n @if (showNavigators() && pageCount() > 1) {\n <button\n class=\"aeris-carousel__navigator aeris-carousel__navigator--previous\"\n type=\"button\"\n [attr.aria-label]=\"previousAriaLabel()\"\n [disabled]=\"previousDisabled()\"\n (click)=\"previous('previous')\"\n >\n @if (previousIconTemplate(); as customIcon) {\n <span aria-hidden=\"true\" data-aeris-custom-icon\n ><ng-container [ngTemplateOutlet]=\"customIcon\"\n /></span>\n } @else {\n <span aerisInternalIcon=\"chevron\" aria-hidden=\"true\"></span>\n }\n </button>\n }\n\n <div\n class=\"aeris-carousel__viewport\"\n tabindex=\"0\"\n [attr.aria-live]=\"autoplayInterval() > 0 ? 'off' : 'polite'\"\n [style.block-size]=\"orientation() === 'vertical' ? verticalViewportHeight() : null\"\n (keydown)=\"handleViewportKeydown($event)\"\n (pointerdown)=\"handlePointerDown($event)\"\n (pointermove)=\"handlePointerMove($event)\"\n (pointerup)=\"handlePointerUp($event)\"\n (pointercancel)=\"handlePointerCancel($event)\"\n (lostpointercapture)=\"handlePointerCancel($event)\"\n (pointerenter)=\"setHoverPaused(true)\"\n (pointerleave)=\"setHoverPaused(false)\"\n (focusin)=\"setFocusPaused(true)\"\n (focusout)=\"handleFocusOut($event)\"\n >\n <div\n class=\"aeris-carousel__track\"\n [attr.data-orientation]=\"orientation()\"\n [style.inline-size]=\"trackInlineSize()\"\n [style.block-size]=\"trackBlockSize()\"\n [style.transform]=\"trackTransform()\"\n [attr.data-dragging]=\"dragging() || null\"\n >\n @for (view of itemViews(); track view.index) {\n <article\n class=\"aeris-carousel__item\"\n [attr.aria-hidden]=\"view.context.visible ? null : 'true'\"\n [attr.inert]=\"view.context.visible ? null : ''\"\n [style.--aeris-carousel-visible]=\"visibleCount()\"\n [style.--aeris-carousel-item-count]=\"value().length\"\n >\n @if (itemTemplate(); as template) {\n <ng-container\n [ngTemplateOutlet]=\"template.template\"\n [ngTemplateOutletContext]=\"view.context\"\n />\n } @else {\n <span class=\"aeris-carousel__default-item\">{{ view.item }}</span>\n }\n </article>\n }\n </div>\n </div>\n\n @if (orientation() === 'vertical' && showIndicators() && pageCount() > 1) {\n <ng-container [ngTemplateOutlet]=\"indicatorList\" />\n }\n\n @if (showNavigators() && pageCount() > 1) {\n <button\n class=\"aeris-carousel__navigator aeris-carousel__navigator--next\"\n type=\"button\"\n [attr.aria-label]=\"nextAriaLabel()\"\n [disabled]=\"nextDisabled()\"\n (click)=\"next('next')\"\n >\n @if (nextIconTemplate(); as customIcon) {\n <span aria-hidden=\"true\" data-aeris-custom-icon\n ><ng-container [ngTemplateOutlet]=\"customIcon\"\n /></span>\n } @else {\n <span aerisInternalIcon=\"chevron\" aria-hidden=\"true\"></span>\n }\n </button>\n }\n </div>\n\n @if (orientation() === 'horizontal' && showIndicators() && pageCount() > 1) {\n <ng-container [ngTemplateOutlet]=\"indicatorList\" />\n }\n\n @if (footerTemplate(); as footer) {\n <div class=\"aeris-carousel__footer\">\n <ng-container [ngTemplateOutlet]=\"footer.template\" />\n </div>\n }\n </section>\n `,\n styleUrl: './aeris-carousel.scss',\n host: {\n class: 'aeris-carousel-host',\n '[attr.data-orientation]': 'orientation()',\n },\n})\nexport class AerisCarousel<T = unknown> {\n readonly previousIconTemplate = input<TemplateRef<void>>();\n readonly nextIconTemplate = input<TemplateRef<void>>();\n\n private readonly host = inject(ElementRef<HTMLElement>);\n private readonly document = inject(DOCUMENT);\n private readonly platformId = inject(PLATFORM_ID);\n private readonly destroyRef = inject(DestroyRef);\n private readonly browser = isPlatformBrowser(this.platformId);\n private readonly viewportWidth = signal(0);\n private readonly hoverPaused = signal(false);\n private readonly focusPaused = signal(false);\n private readonly autoplayStopped = signal(false);\n private readonly paused = computed(\n () => this.hoverPaused() || this.focusPaused() || this.autoplayStopped(),\n );\n private readonly pointerStart = signal<number | null>(null);\n private pointerCrossStart = 0;\n private activePointerId: number | null = null;\n private readonly dragOffset = signal(0);\n protected readonly dragging = signal(false);\n private resizeObserver: ResizeObserver | null = null;\n\n protected readonly itemTemplate = contentChild(AerisCarouselItemTemplate<T>);\n protected readonly headerTemplate = contentChild(AerisCarouselHeaderTemplate);\n protected readonly footerTemplate = contentChild(AerisCarouselFooterTemplate);\n\n readonly value = input<readonly T[]>([]);\n readonly page = model(0);\n readonly numVisible = input(1);\n readonly numScroll = input(1);\n readonly responsiveOptions = input<readonly AerisCarouselResponsiveOption[]>([]);\n readonly circular = input(false, { transform: booleanAttribute });\n readonly showNavigators = input(true, { transform: booleanAttribute });\n readonly showIndicators = input(true, { transform: booleanAttribute });\n readonly autoplayInterval = input(0);\n readonly pauseOnHover = input(true, { transform: booleanAttribute });\n readonly orientation = input<AerisCarouselOrientation>('horizontal');\n readonly verticalViewportHeight = input('20rem');\n readonly ariaLabel = input('Carousel');\n readonly indicatorAriaLabel = input('Carousel pages');\n readonly previousAriaLabel = input('Previous items');\n readonly nextAriaLabel = input('Next items');\n\n readonly pageChanged = output<AerisCarouselPageEvent>();\n\n protected readonly resolvedSettings = computed(() => {\n const base = {\n numVisible: this.safeCount(this.numVisible()),\n numScroll: this.safeCount(this.numScroll()),\n };\n const width = this.viewportWidth();\n if (!width) return base;\n\n const matching = [...this.responsiveOptions()]\n .map((option) => ({ option, pixels: this.breakpointPixels(option.breakpoint) }))\n .filter((option) => option.pixels > 0 && width <= option.pixels)\n .sort((left, right) => left.pixels - right.pixels)[0]?.option;\n\n return {\n numVisible: this.safeCount(matching?.numVisible ?? base.numVisible),\n numScroll: this.safeCount(matching?.numScroll ?? base.numScroll),\n };\n });\n\n protected readonly visibleCount = computed(() =>\n Math.min(this.value().length || 1, this.resolvedSettings().numVisible),\n );\n protected readonly pageCount = computed(() => {\n const length = this.value().length;\n if (length <= this.visibleCount()) return 1;\n return Math.ceil((length - this.visibleCount()) / this.resolvedSettings().numScroll) + 1;\n });\n protected readonly currentPage = computed(() =>\n Math.min(Math.max(this.page(), 0), this.pageCount() - 1),\n );\n protected readonly firstVisibleIndex = computed(() =>\n Math.min(\n this.currentPage() * this.resolvedSettings().numScroll,\n Math.max(0, this.value().length - this.visibleCount()),\n ),\n );\n protected readonly lastVisibleIndex = computed(() =>\n Math.min(this.value().length - 1, this.firstVisibleIndex() + this.visibleCount() - 1),\n );\n protected readonly itemViews = computed<readonly AerisCarouselItemView<T>[]>(() => {\n const first = this.firstVisibleIndex();\n const last = this.lastVisibleIndex();\n return this.value().map((item, index) => ({\n item,\n index,\n context: { $implicit: item, item, index, visible: index >= first && index <= last },\n }));\n });\n protected readonly indicators = computed(() =>\n Array.from({ length: this.pageCount() }, (_, page) => ({\n page,\n label: `Show items ${this.indicatorRange(page)}`,\n })),\n );\n protected readonly previousDisabled = computed(\n () => !this.circular() && this.currentPage() === 0,\n );\n protected readonly nextDisabled = computed(\n () => !this.circular() && this.currentPage() >= this.pageCount() - 1,\n );\n protected readonly trackInlineSize = computed(() =>\n this.orientation() === 'horizontal'\n ? `${(this.value().length / this.visibleCount()) * 100}%`\n : null,\n );\n protected readonly trackBlockSize = computed(() =>\n this.orientation() === 'vertical'\n ? `${(this.value().length / this.visibleCount()) * 100}%`\n : null,\n );\n protected readonly trackTransform = computed(() => {\n const total = Math.max(1, this.value().length);\n const offset = (this.firstVisibleIndex() / total) * 100;\n const dragOffset = this.dragOffset();\n if (this.orientation() === 'vertical')\n return `translate3d(0, calc(-${offset}% + ${dragOffset}px), 0)`;\n const direction = this.isRtl() ? offset : -offset;\n return `translate3d(calc(${direction}% + ${dragOffset}px), 0, 0)`;\n });\n\n constructor() {\n afterNextRender(() => this.observeSize());\n this.destroyRef.onDestroy(() => this.resizeObserver?.disconnect());\n\n effect((onCleanup) => {\n const interval = this.autoplayInterval();\n const canPlay = interval > 0 && this.pageCount() > 1 && !this.paused();\n if (!canPlay || !this.browser) return;\n\n const timer = setInterval(() => this.next('autoplay'), interval);\n onCleanup(() => clearInterval(timer));\n });\n }\n\n next(reason: AerisCarouselChangeReason = 'api'): void {\n const pageCount = this.pageCount();\n if (pageCount <= 1) return;\n const current = this.currentPage();\n if (current >= pageCount - 1 && !this.circular()) return;\n this.changePage(current >= pageCount - 1 ? 0 : current + 1, reason);\n }\n\n previous(reason: AerisCarouselChangeReason = 'api'): void {\n const pageCount = this.pageCount();\n if (pageCount <= 1) return;\n const current = this.currentPage();\n if (current <= 0 && !this.circular()) return;\n this.changePage(current <= 0 ? pageCount - 1 : current - 1, reason);\n }\n\n goToPage(page: number, reason: AerisCarouselChangeReason = 'api'): void {\n const target = Math.min(Math.max(0, Math.floor(page)), this.pageCount() - 1);\n if (target === this.currentPage()) return;\n this.changePage(target, reason);\n }\n\n startAutoplay(): void {\n this.autoplayStopped.set(false);\n }\n\n stopAutoplay(): void {\n this.autoplayStopped.set(true);\n }\n\n protected handleViewportKeydown(event: KeyboardEvent): void {\n const nextKey =\n this.orientation() === 'vertical' ? 'ArrowDown' : this.isRtl() ? 'ArrowLeft' : 'ArrowRight';\n const previousKey =\n this.orientation() === 'vertical' ? 'ArrowUp' : this.isRtl() ? 'ArrowRight' : 'ArrowLeft';\n if (event.key === nextKey) {\n event.preventDefault();\n this.next('keyboard');\n } else if (event.key === previousKey) {\n event.preventDefault();\n this.previous('keyboard');\n } else if (event.key === 'Home') {\n event.preventDefault();\n this.goToPage(0, 'keyboard');\n } else if (event.key === 'End') {\n event.preventDefault();\n this.goToPage(this.pageCount() - 1, 'keyboard');\n }\n }\n\n protected handlePointerDown(event: PointerEvent): void {\n if (this.activePointerId !== null || this.pageCount() <= 1) return;\n if (event.pointerType === 'mouse' && event.button !== 0) return;\n if (\n (event.target as Element | null)?.closest(\n 'button, a, input, select, textarea, [role=\"button\"], [contenteditable]:not([contenteditable=\"false\"])',\n )\n )\n return;\n if (event.pointerType === 'mouse') event.preventDefault();\n (event.currentTarget as HTMLElement).setPointerCapture?.(event.pointerId);\n this.activePointerId = event.pointerId;\n this.pointerStart.set(this.orientation() === 'vertical' ? event.clientY : event.clientX);\n this.pointerCrossStart = this.orientation() === 'vertical' ? event.clientX : event.clientY;\n this.dragOffset.set(0);\n this.dragging.set(event.pointerType === 'mouse');\n }\n\n protected handlePointerMove(event: PointerEvent): void {\n if (this.activePointerId !== event.pointerId) return;\n const start = this.pointerStart();\n if (start === null) return;\n const point = this.orientation() === 'vertical' ? event.clientY : event.clientX;\n if (event.pointerType !== 'mouse' && !this.dragging()) {\n const cross = this.orientation() === 'vertical' ? event.clientX : event.clientY;\n const distance = Math.abs(point - start);\n if (Math.max(distance, Math.abs(cross - this.pointerCrossStart)) < 6) return;\n if (Math.abs(cross - this.pointerCrossStart) > distance) {\n this.clearPointer();\n const target = event.currentTarget as HTMLElement;\n if (target.hasPointerCapture?.(event.pointerId))\n target.releasePointerCapture(event.pointerId);\n return;\n }\n this.dragging.set(true);\n }\n event.preventDefault();\n this.dragOffset.set(point - start);\n }\n\n protected handlePointerUp(event: PointerEvent): void {\n if (this.activePointerId !== event.pointerId) return;\n const start = this.pointerStart();\n const currentTarget = event.currentTarget as HTMLElement;\n if (currentTarget.hasPointerCapture?.(event.pointerId))\n currentTarget.releasePointerCapture(event.pointerId);\n if (start === null) {\n this.clearPointer();\n return;\n }\n const end = this.orientation() === 'vertical' ? event.clientY : event.clientX;\n const distance = end - start;\n this.clearPointer();\n if (Math.abs(distance) < 32) return;\n\n const viewportSize =\n this.orientation() === 'vertical' ? currentTarget.clientHeight : currentTarget.clientWidth;\n const stepSize =\n viewportSize > 0\n ? (viewportSize / this.visibleCount()) * this.resolvedSettings().numScroll\n : 80;\n const pageDelta = Math.max(1, Math.round(Math.abs(distance) / stepSize));\n const direction = this.dragDirection(distance);\n this.goToPage(this.dragTargetPage(this.currentPage() + direction * pageDelta), 'swipe');\n }\n\n protected clearPointer(): void {\n this.activePointerId = null;\n this.pointerStart.set(null);\n this.dragOffset.set(0);\n this.dragging.set(false);\n }\n\n protected handlePointerCancel(event: PointerEvent): void {\n if (this.activePointerId === event.pointerId) this.clearPointer();\n }\n\n protected setHoverPaused(paused: boolean): void {\n if (this.pauseOnHover()) this.hoverPaused.set(paused);\n }\n\n protected setFocusPaused(paused: boolean): void {\n if (this.pauseOnHover()) this.focusPaused.set(paused);\n }\n\n protected handleFocusOut(event: FocusEvent): void {\n const next = event.relatedTarget;\n if (next instanceof Node && this.host.nativeElement.contains(next)) return;\n this.setFocusPaused(false);\n }\n\n private changePage(page: number, reason: AerisCarouselChangeReason): void {\n this.page.set(page);\n this.pageChanged.emit({\n page,\n first: Math.min(\n page * this.resolvedSettings().numScroll,\n Math.max(0, this.value().length - this.visibleCount()),\n ),\n last: Math.min(\n this.value().length - 1,\n page * this.resolvedSettings().numScroll + this.visibleCount() - 1,\n ),\n reason,\n });\n }\n\n private dragDirection(distance: number): number {\n const direction = distance < 0 ? 1 : -1;\n return this.orientation() === 'horizontal' && this.isRtl() ? -direction : direction;\n }\n\n private dragTargetPage(page: number): number {\n const pageCount = this.pageCount();\n if (!this.circular()) return Math.min(Math.max(0, page), pageCount - 1);\n return ((page % pageCount) + pageCount) % pageCount;\n }\n\n private observeSize(): void {\n if (!this.browser || typeof ResizeObserver === 'undefined') return;\n this.resizeObserver = new ResizeObserver((entries) => {\n const width = entries[0]?.contentRect.width;\n if (width) this.viewportWidth.set(width);\n });\n this.resizeObserver.observe(this.host.nativeElement);\n }\n\n private safeCount(value: number): number {\n return Number.isFinite(value) ? Math.max(1, Math.floor(value)) : 1;\n }\n\n private breakpointPixels(value: string): number {\n const match = /^(\\d+(?:\\.\\d+)?)(px|rem|em)?$/.exec(value.trim());\n if (!match) return 0;\n const amount = Number(match[1]);\n const unit = match[2] ?? 'px';\n if (unit === 'px') return amount;\n const rootSize =\n Number.parseFloat(getComputedStyle(this.document.documentElement).fontSize) || 16;\n return amount * rootSize;\n }\n\n private indicatorRange(page: number): string {\n const first = Math.min(\n page * this.resolvedSettings().numScroll,\n Math.max(0, this.value().length - this.visibleCount()),\n );\n const last = Math.min(this.value().length, first + this.visibleCount());\n return `${first + 1} to ${last}`;\n }\n\n private isRtl(): boolean {\n const direction = this.document.defaultView?.getComputedStyle(\n this.host.nativeElement,\n ).direction;\n return direction ? direction === 'rtl' : this.document.documentElement.dir === 'rtl';\n }\n}\n\nexport const AerisCarouselModule = [\n AerisCarousel,\n AerisCarouselItemTemplate,\n AerisCarouselHeaderTemplate,\n AerisCarouselFooterTemplate,\n] as const;\n"],"mappings":";;;;AAoDA,IAAa,4BAAb,MAAa,0BAAyB;CAC3B,WAAW,OAAiD,WAAW;CAEhF,OAAO,uBACL,YACA,SAAgB;EAEhB,OAAO;CACT;CARW,OAAA,OAAA,GAAA,mBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAAyB,MAAA,CAAA;EAAA,QAAA,GAAA,gBAAA;CAAA,CAAA;CAAzB,OAAA,OAAA,GAAA,qBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,MAAA;EAAyB,cAAA;EAAA,UAAA;EAAA,UAAA;CAAA,CAAA;;AAAzB,GA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