@aeris-ui/core 22.0.0-alpha.7 → 22.0.0-alpha.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/fesm2022/aeris-ui-core-accordion.mjs +646 -255
- package/fesm2022/aeris-ui-core-accordion.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-animate-on-scroll.mjs +284 -103
- package/fesm2022/aeris-ui-core-animate-on-scroll.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-auto-complete.mjs +1171 -428
- package/fesm2022/aeris-ui-core-auto-complete.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-auto-focus.mjs +111 -61
- package/fesm2022/aeris-ui-core-auto-focus.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-avatar.mjs +383 -101
- package/fesm2022/aeris-ui-core-avatar.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-badge.mjs +562 -115
- package/fesm2022/aeris-ui-core-badge.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-block-ui.mjs +205 -101
- package/fesm2022/aeris-ui-core-block-ui.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-breadcrumb.mjs +547 -177
- package/fesm2022/aeris-ui-core-breadcrumb.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-button-group.mjs +153 -38
- package/fesm2022/aeris-ui-core-button-group.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-button.mjs +730 -110
- package/fesm2022/aeris-ui-core-button.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-card.mjs +371 -101
- package/fesm2022/aeris-ui-core-card.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-carousel.mjs +690 -353
- package/fesm2022/aeris-ui-core-carousel.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-cascade-select.mjs +915 -423
- package/fesm2022/aeris-ui-core-cascade-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-chart.mjs +455 -258
- package/fesm2022/aeris-ui-core-chart.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-checkbox.mjs +432 -135
- package/fesm2022/aeris-ui-core-checkbox.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-chip.mjs +430 -117
- package/fesm2022/aeris-ui-core-chip.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-class-names.mjs +87 -65
- package/fesm2022/aeris-ui-core-class-names.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-color-picker.mjs +1313 -683
- package/fesm2022/aeris-ui-core-color-picker.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-compare.mjs +819 -310
- package/fesm2022/aeris-ui-core-compare.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-confirm-dialog.mjs +1392 -551
- package/fesm2022/aeris-ui-core-confirm-dialog.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-confirm-popup.mjs +1447 -744
- package/fesm2022/aeris-ui-core-confirm-popup.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-context-menu.mjs +900 -450
- package/fesm2022/aeris-ui-core-context-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-date-picker.mjs +1656 -863
- package/fesm2022/aeris-ui-core-date-picker.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-dialog.mjs +1066 -355
- package/fesm2022/aeris-ui-core-dialog.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-divider.mjs +204 -43
- package/fesm2022/aeris-ui-core-divider.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-drawer.mjs +1002 -326
- package/fesm2022/aeris-ui-core-drawer.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-dynamic-dialog.mjs +402 -249
- package/fesm2022/aeris-ui-core-dynamic-dialog.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-editor.mjs +934 -572
- package/fesm2022/aeris-ui-core-editor.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-file-upload.mjs +1339 -514
- package/fesm2022/aeris-ui-core-file-upload.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-filter-service.mjs +258 -301
- package/fesm2022/aeris-ui-core-filter-service.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-fluid.mjs +68 -21
- package/fesm2022/aeris-ui-core-fluid.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-focus-trap.mjs +206 -182
- package/fesm2022/aeris-ui-core-focus-trap.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-form-field.mjs +672 -170
- package/fesm2022/aeris-ui-core-form-field.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-galleria.mjs +1987 -797
- package/fesm2022/aeris-ui-core-galleria.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-glass.mjs +110 -33
- package/fesm2022/aeris-ui-core-glass.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-icon-field.mjs +426 -103
- package/fesm2022/aeris-ui-core-icon-field.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-inplace.mjs +452 -130
- package/fesm2022/aeris-ui-core-inplace.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-group.mjs +413 -112
- package/fesm2022/aeris-ui-core-input-group.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-mask.mjs +650 -248
- package/fesm2022/aeris-ui-core-input-mask.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-number.mjs +902 -334
- package/fesm2022/aeris-ui-core-input-number.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-otp.mjs +667 -253
- package/fesm2022/aeris-ui-core-input-otp.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-text.mjs +618 -152
- package/fesm2022/aeris-ui-core-input-text.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-key-filter.mjs +263 -201
- package/fesm2022/aeris-ui-core-key-filter.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-mega-menu.mjs +601 -388
- package/fesm2022/aeris-ui-core-mega-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-menu.mjs +1032 -495
- package/fesm2022/aeris-ui-core-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-menubar.mjs +960 -491
- package/fesm2022/aeris-ui-core-menubar.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-message.mjs +477 -145
- package/fesm2022/aeris-ui-core-message.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-meter-group.mjs +587 -196
- package/fesm2022/aeris-ui-core-meter-group.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-multi-select.mjs +1550 -552
- package/fesm2022/aeris-ui-core-multi-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-order-list.mjs +518 -202
- package/fesm2022/aeris-ui-core-order-list.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-organization-chart.mjs +455 -177
- package/fesm2022/aeris-ui-core-organization-chart.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-paginator.mjs +329 -127
- package/fesm2022/aeris-ui-core-paginator.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-panel.mjs +596 -196
- package/fesm2022/aeris-ui-core-panel.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-password.mjs +894 -247
- package/fesm2022/aeris-ui-core-password.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-pick-list.mjs +1280 -659
- package/fesm2022/aeris-ui-core-pick-list.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-popover.mjs +892 -386
- package/fesm2022/aeris-ui-core-popover.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-progress-bar.mjs +549 -176
- package/fesm2022/aeris-ui-core-progress-bar.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-progress-spinner.mjs +410 -133
- package/fesm2022/aeris-ui-core-progress-spinner.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-radio-button.mjs +386 -119
- package/fesm2022/aeris-ui-core-radio-button.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-rating.mjs +502 -225
- package/fesm2022/aeris-ui-core-rating.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-scroll-panel.mjs +457 -154
- package/fesm2022/aeris-ui-core-scroll-panel.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-scroll-top.mjs +204 -63
- package/fesm2022/aeris-ui-core-scroll-top.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-select.mjs +1794 -643
- package/fesm2022/aeris-ui-core-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-skeleton.mjs +149 -45
- package/fesm2022/aeris-ui-core-skeleton.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-slider.mjs +868 -404
- package/fesm2022/aeris-ui-core-slider.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-speed-dial.mjs +800 -329
- package/fesm2022/aeris-ui-core-speed-dial.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-split-button.mjs +918 -257
- package/fesm2022/aeris-ui-core-split-button.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-splitter.mjs +812 -352
- package/fesm2022/aeris-ui-core-splitter.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-stepper.mjs +697 -254
- package/fesm2022/aeris-ui-core-stepper.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-style-class.mjs +587 -342
- package/fesm2022/aeris-ui-core-style-class.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-table.mjs +1984 -865
- package/fesm2022/aeris-ui-core-table.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tabs.mjs +686 -324
- package/fesm2022/aeris-ui-core-tabs.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-textarea.mjs +846 -212
- package/fesm2022/aeris-ui-core-textarea.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-theme-builder.mjs +1258 -1413
- package/fesm2022/aeris-ui-core-theme-builder.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-theming.mjs +132 -147
- package/fesm2022/aeris-ui-core-theming.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tiered-menu.mjs +885 -465
- package/fesm2022/aeris-ui-core-tiered-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-timeline.mjs +407 -131
- package/fesm2022/aeris-ui-core-timeline.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-toast.mjs +855 -615
- package/fesm2022/aeris-ui-core-toast.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-toggle-switch.mjs +390 -127
- package/fesm2022/aeris-ui-core-toggle-switch.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-toolbar.mjs +458 -121
- package/fesm2022/aeris-ui-core-toolbar.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tooltip.mjs +623 -345
- package/fesm2022/aeris-ui-core-tooltip.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tree-select.mjs +1356 -601
- package/fesm2022/aeris-ui-core-tree-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tree-table.mjs +2001 -942
- package/fesm2022/aeris-ui-core-tree-table.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tree.mjs +1103 -658
- package/fesm2022/aeris-ui-core-tree.mjs.map +1 -1
- package/fesm2022/aeris-ui-core.mjs +861 -842
- package/fesm2022/aeris-ui-core.mjs.map +1 -1
- package/package.json +1 -1
- package/schematics/runtime/theme-builder/aeris-theme.js +28 -16
- package/schematics/runtime/theme-builder/aeris-theme.js.map +1 -1
- package/styles/_fallback-colors.scss +3 -3
- package/styles/_tokens.scss +5 -5
- package/styles/aeris.css +12 -16
- package/styles/controls.css +1 -1
- package/types/aeris-ui-core-accordion.d.ts +166 -93
- package/types/aeris-ui-core-animate-on-scroll.d.ts +71 -31
- package/types/aeris-ui-core-auto-complete.d.ts +326 -149
- package/types/aeris-ui-core-auto-focus.d.ts +24 -16
- package/types/aeris-ui-core-avatar.d.ts +112 -42
- package/types/aeris-ui-core-badge.d.ts +160 -47
- package/types/aeris-ui-core-block-ui.d.ts +47 -27
- package/types/aeris-ui-core-breadcrumb.d.ts +162 -92
- package/types/aeris-ui-core-button-group.d.ts +37 -16
- package/types/aeris-ui-core-button.d.ts +226 -64
- package/types/aeris-ui-core-card.d.ts +74 -37
- package/types/aeris-ui-core-carousel.d.ts +197 -117
- package/types/aeris-ui-core-cascade-select.d.ts +252 -131
- package/types/aeris-ui-core-chart.d.ts +134 -84
- package/types/aeris-ui-core-checkbox.d.ts +139 -55
- package/types/aeris-ui-core-chip.d.ts +116 -51
- package/types/aeris-ui-core-class-names.d.ts +22 -20
- package/types/aeris-ui-core-color-picker.d.ts +347 -150
- package/types/aeris-ui-core-compare.d.ts +224 -101
- package/types/aeris-ui-core-confirm-dialog.d.ts +441 -249
- package/types/aeris-ui-core-confirm-popup.d.ts +440 -268
- package/types/aeris-ui-core-context-menu.d.ts +262 -150
- package/types/aeris-ui-core-date-picker.d.ts +488 -226
- package/types/aeris-ui-core-dialog.d.ts +288 -121
- package/types/aeris-ui-core-divider.d.ts +58 -20
- package/types/aeris-ui-core-drawer.d.ts +273 -116
- package/types/aeris-ui-core-dynamic-dialog.d.ts +157 -140
- package/types/aeris-ui-core-editor.d.ts +243 -124
- package/types/aeris-ui-core-file-upload.d.ts +366 -197
- package/types/aeris-ui-core-filter-service.d.ts +48 -52
- package/types/aeris-ui-core-fluid.d.ts +12 -9
- package/types/aeris-ui-core-focus-trap.d.ts +39 -31
- package/types/aeris-ui-core-form-field.d.ts +158 -62
- package/types/aeris-ui-core-galleria.d.ts +589 -256
- package/types/aeris-ui-core-glass.d.ts +24 -11
- package/types/aeris-ui-core-icon-field.d.ts +94 -34
- package/types/aeris-ui-core-inplace.d.ts +123 -62
- package/types/aeris-ui-core-input-group.d.ts +84 -35
- package/types/aeris-ui-core-input-mask.d.ts +194 -71
- package/types/aeris-ui-core-input-number.d.ts +272 -90
- package/types/aeris-ui-core-input-otp.d.ts +190 -82
- package/types/aeris-ui-core-input-text.d.ts +185 -62
- package/types/aeris-ui-core-key-filter.d.ts +53 -39
- package/types/aeris-ui-core-mega-menu.d.ts +174 -123
- package/types/aeris-ui-core-menu.d.ts +275 -172
- package/types/aeris-ui-core-menubar.d.ts +272 -160
- package/types/aeris-ui-core-message.d.ts +132 -61
- package/types/aeris-ui-core-meter-group.d.ts +162 -90
- package/types/aeris-ui-core-multi-select.d.ts +435 -187
- package/types/aeris-ui-core-order-list.d.ts +143 -66
- package/types/aeris-ui-core-organization-chart.d.ts +132 -77
- package/types/aeris-ui-core-paginator.d.ts +92 -46
- package/types/aeris-ui-core-panel.d.ts +149 -78
- package/types/aeris-ui-core-password.d.ts +257 -108
- package/types/aeris-ui-core-pick-list.d.ts +373 -179
- package/types/aeris-ui-core-popover.d.ts +218 -107
- package/types/aeris-ui-core-progress-bar.d.ts +156 -73
- package/types/aeris-ui-core-progress-spinner.d.ts +110 -48
- package/types/aeris-ui-core-radio-button.d.ts +124 -51
- package/types/aeris-ui-core-rating.d.ts +149 -76
- package/types/aeris-ui-core-scroll-panel.d.ts +142 -64
- package/types/aeris-ui-core-scroll-top.d.ts +64 -29
- package/types/aeris-ui-core-select.d.ts +474 -226
- package/types/aeris-ui-core-skeleton.d.ts +39 -17
- package/types/aeris-ui-core-slider.d.ts +270 -116
- package/types/aeris-ui-core-speed-dial.d.ts +240 -112
- package/types/aeris-ui-core-split-button.d.ts +265 -115
- package/types/aeris-ui-core-splitter.d.ts +224 -106
- package/types/aeris-ui-core-stepper.d.ts +183 -91
- package/types/aeris-ui-core-style-class.d.ts +141 -71
- package/types/aeris-ui-core-table.d.ts +595 -308
- package/types/aeris-ui-core-tabs.d.ts +163 -90
- package/types/aeris-ui-core-textarea.d.ts +261 -81
- package/types/aeris-ui-core-theme-builder.d.ts +466 -451
- package/types/aeris-ui-core-theming.d.ts +42 -49
- package/types/aeris-ui-core-tiered-menu.d.ts +249 -147
- package/types/aeris-ui-core-timeline.d.ts +108 -71
- package/types/aeris-ui-core-toast.d.ts +219 -155
- package/types/aeris-ui-core-toggle-switch.d.ts +125 -52
- package/types/aeris-ui-core-toolbar.d.ts +98 -41
- package/types/aeris-ui-core-tooltip.d.ts +157 -92
- package/types/aeris-ui-core-tree-select.d.ts +359 -179
- package/types/aeris-ui-core-tree-table.d.ts +565 -290
- package/types/aeris-ui-core-tree.d.ts +269 -165
- package/types/aeris-ui-core.d.ts +161 -125
|
@@ -1,302 +1,535 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import * as i0 from
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
1
|
+
import { NgTemplateOutlet, isPlatformBrowser } from "@angular/common";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import { Component, DestroyRef, Directive, ElementRef, InjectionToken, PLATFORM_ID, TemplateRef, afterNextRender, afterRenderEffect, booleanAttribute, computed, contentChild, contentChildren, effect, inject, input, model, output, signal, viewChild, viewChildren } from "@angular/core";
|
|
4
|
+
const AERIS_TABS_OWNER = new InjectionToken("AerisTabsOwner");
|
|
5
|
+
var AerisTabHeaderTemplate = class AerisTabHeaderTemplate {
|
|
6
|
+
template = inject(TemplateRef);
|
|
7
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
8
|
+
minVersion: "12.0.0",
|
|
9
|
+
version: "22.2.1",
|
|
10
|
+
ngImport: i0,
|
|
11
|
+
type: AerisTabHeaderTemplate,
|
|
12
|
+
deps: [],
|
|
13
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
14
|
+
});
|
|
15
|
+
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
16
|
+
minVersion: "14.0.0",
|
|
17
|
+
version: "22.2.1",
|
|
18
|
+
type: AerisTabHeaderTemplate,
|
|
19
|
+
isStandalone: true,
|
|
20
|
+
selector: "ng-template[aerisTabHeader]",
|
|
21
|
+
ngImport: i0
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
25
|
+
minVersion: "12.0.0",
|
|
26
|
+
version: "22.2.1",
|
|
27
|
+
ngImport: i0,
|
|
28
|
+
type: AerisTabHeaderTemplate,
|
|
29
|
+
decorators: [{
|
|
30
|
+
type: Directive,
|
|
31
|
+
args: [{ selector: "ng-template[aerisTabHeader]" }]
|
|
32
|
+
}]
|
|
33
|
+
});
|
|
34
|
+
var AerisTabContentTemplate = class AerisTabContentTemplate {
|
|
35
|
+
template = inject(TemplateRef);
|
|
36
|
+
renderStrategy = input("preserve", {
|
|
37
|
+
...ngDevMode ? { debugName: "renderStrategy" } : /* istanbul ignore next */ {},
|
|
38
|
+
alias: "aerisTabContent",
|
|
39
|
+
transform: (value) => value || "preserve"
|
|
40
|
+
});
|
|
41
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
42
|
+
minVersion: "12.0.0",
|
|
43
|
+
version: "22.2.1",
|
|
44
|
+
ngImport: i0,
|
|
45
|
+
type: AerisTabContentTemplate,
|
|
46
|
+
deps: [],
|
|
47
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
48
|
+
});
|
|
49
|
+
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
50
|
+
minVersion: "17.1.0",
|
|
51
|
+
version: "22.2.1",
|
|
52
|
+
type: AerisTabContentTemplate,
|
|
53
|
+
isStandalone: true,
|
|
54
|
+
selector: "ng-template[aerisTabContent]",
|
|
55
|
+
inputs: { renderStrategy: {
|
|
56
|
+
classPropertyName: "renderStrategy",
|
|
57
|
+
publicName: "aerisTabContent",
|
|
58
|
+
isSignal: true,
|
|
59
|
+
isRequired: false,
|
|
60
|
+
transformFunction: null
|
|
61
|
+
} },
|
|
62
|
+
ngImport: i0
|
|
63
|
+
});
|
|
64
|
+
};
|
|
65
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
66
|
+
minVersion: "12.0.0",
|
|
67
|
+
version: "22.2.1",
|
|
68
|
+
ngImport: i0,
|
|
69
|
+
type: AerisTabContentTemplate,
|
|
70
|
+
decorators: [{
|
|
71
|
+
type: Directive,
|
|
72
|
+
args: [{ selector: "ng-template[aerisTabContent]" }]
|
|
73
|
+
}],
|
|
74
|
+
propDecorators: { renderStrategy: [{
|
|
75
|
+
type: i0.Input,
|
|
76
|
+
args: [{
|
|
77
|
+
isSignal: true,
|
|
78
|
+
alias: "aerisTabContent",
|
|
79
|
+
required: false
|
|
80
|
+
}]
|
|
81
|
+
}] }
|
|
82
|
+
});
|
|
26
83
|
let nextPanelId = 0;
|
|
27
|
-
class AerisTabPanel {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
84
|
+
var AerisTabPanel = class AerisTabPanel {
|
|
85
|
+
owner = inject(AERIS_TABS_OWNER, { optional: true });
|
|
86
|
+
instanceId = nextPanelId++;
|
|
87
|
+
value = input.required(...ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []);
|
|
88
|
+
label = input.required(...ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []);
|
|
89
|
+
disabled = input(false, {
|
|
90
|
+
...ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {},
|
|
91
|
+
transform: booleanAttribute
|
|
92
|
+
});
|
|
93
|
+
panelId = `aeris-tab-panel-${this.instanceId}`;
|
|
94
|
+
tabId = `aeris-tab-${this.instanceId}`;
|
|
95
|
+
projectedContent = viewChild.required("content", ...ngDevMode ? [{ debugName: "projectedContent" }] : /* istanbul ignore next */ []);
|
|
96
|
+
deferredContent = contentChild(AerisTabContentTemplate, {
|
|
97
|
+
...ngDevMode ? { debugName: "deferredContent" } : /* istanbul ignore next */ {},
|
|
98
|
+
descendants: false
|
|
99
|
+
});
|
|
100
|
+
headerTemplate = contentChild(AerisTabHeaderTemplate, {
|
|
101
|
+
...ngDevMode ? { debugName: "headerTemplate" } : /* istanbul ignore next */ {},
|
|
102
|
+
descendants: false
|
|
103
|
+
});
|
|
104
|
+
content = computed(() => this.deferredContent()?.template ?? this.projectedContent(), ...ngDevMode ? [{ debugName: "content" }] : /* istanbul ignore next */ []);
|
|
105
|
+
renderStrategy = computed(() => this.deferredContent()?.renderStrategy() ?? "eager", ...ngDevMode ? [{ debugName: "renderStrategy" }] : /* istanbul ignore next */ []);
|
|
106
|
+
isDirectPanelOf(tabsHost) {
|
|
107
|
+
return this.owner?.host === tabsHost;
|
|
108
|
+
}
|
|
109
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
110
|
+
minVersion: "12.0.0",
|
|
111
|
+
version: "22.2.1",
|
|
112
|
+
ngImport: i0,
|
|
113
|
+
type: AerisTabPanel,
|
|
114
|
+
deps: [],
|
|
115
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
116
|
+
});
|
|
117
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
118
|
+
minVersion: "17.2.0",
|
|
119
|
+
version: "22.2.1",
|
|
120
|
+
type: AerisTabPanel,
|
|
121
|
+
isStandalone: true,
|
|
122
|
+
selector: "aeris-tab-panel",
|
|
123
|
+
inputs: {
|
|
124
|
+
value: {
|
|
125
|
+
classPropertyName: "value",
|
|
126
|
+
publicName: "value",
|
|
127
|
+
isSignal: true,
|
|
128
|
+
isRequired: true,
|
|
129
|
+
transformFunction: null
|
|
130
|
+
},
|
|
131
|
+
label: {
|
|
132
|
+
classPropertyName: "label",
|
|
133
|
+
publicName: "label",
|
|
134
|
+
isSignal: true,
|
|
135
|
+
isRequired: true,
|
|
136
|
+
transformFunction: null
|
|
137
|
+
},
|
|
138
|
+
disabled: {
|
|
139
|
+
classPropertyName: "disabled",
|
|
140
|
+
publicName: "disabled",
|
|
141
|
+
isSignal: true,
|
|
142
|
+
isRequired: false,
|
|
143
|
+
transformFunction: null
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
host: { properties: { "style.display": "\"none\"" } },
|
|
147
|
+
queries: [{
|
|
148
|
+
propertyName: "deferredContent",
|
|
149
|
+
first: true,
|
|
150
|
+
predicate: AerisTabContentTemplate,
|
|
151
|
+
isSignal: true
|
|
152
|
+
}, {
|
|
153
|
+
propertyName: "headerTemplate",
|
|
154
|
+
first: true,
|
|
155
|
+
predicate: AerisTabHeaderTemplate,
|
|
156
|
+
isSignal: true
|
|
157
|
+
}],
|
|
158
|
+
viewQueries: [{
|
|
159
|
+
propertyName: "projectedContent",
|
|
160
|
+
first: true,
|
|
161
|
+
predicate: ["content"],
|
|
162
|
+
descendants: true,
|
|
163
|
+
isSignal: true
|
|
164
|
+
}],
|
|
165
|
+
ngImport: i0,
|
|
166
|
+
template: `
|
|
50
167
|
<ng-template #content>
|
|
51
168
|
<ng-content />
|
|
52
169
|
</ng-template>
|
|
53
|
-
`,
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
170
|
+
`,
|
|
171
|
+
isInline: true
|
|
172
|
+
});
|
|
173
|
+
};
|
|
174
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
175
|
+
minVersion: "12.0.0",
|
|
176
|
+
version: "22.2.1",
|
|
177
|
+
ngImport: i0,
|
|
178
|
+
type: AerisTabPanel,
|
|
179
|
+
decorators: [{
|
|
180
|
+
type: Component,
|
|
181
|
+
args: [{
|
|
182
|
+
selector: "aeris-tab-panel",
|
|
183
|
+
template: `
|
|
60
184
|
<ng-template #content>
|
|
61
185
|
<ng-content />
|
|
62
186
|
</ng-template>
|
|
63
187
|
`,
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
188
|
+
host: { "[style.display]": "\"none\"" }
|
|
189
|
+
}]
|
|
190
|
+
}],
|
|
191
|
+
propDecorators: {
|
|
192
|
+
value: [{
|
|
193
|
+
type: i0.Input,
|
|
194
|
+
args: [{
|
|
195
|
+
isSignal: true,
|
|
196
|
+
alias: "value",
|
|
197
|
+
required: true
|
|
198
|
+
}]
|
|
199
|
+
}],
|
|
200
|
+
label: [{
|
|
201
|
+
type: i0.Input,
|
|
202
|
+
args: [{
|
|
203
|
+
isSignal: true,
|
|
204
|
+
alias: "label",
|
|
205
|
+
required: true
|
|
206
|
+
}]
|
|
207
|
+
}],
|
|
208
|
+
disabled: [{
|
|
209
|
+
type: i0.Input,
|
|
210
|
+
args: [{
|
|
211
|
+
isSignal: true,
|
|
212
|
+
alias: "disabled",
|
|
213
|
+
required: false
|
|
214
|
+
}]
|
|
215
|
+
}],
|
|
216
|
+
projectedContent: [{
|
|
217
|
+
type: i0.ViewChild,
|
|
218
|
+
args: ["content", { isSignal: true }]
|
|
219
|
+
}],
|
|
220
|
+
deferredContent: [{
|
|
221
|
+
type: i0.ContentChild,
|
|
222
|
+
args: [i0.forwardRef(() => AerisTabContentTemplate), {
|
|
223
|
+
descendants: false,
|
|
224
|
+
isSignal: true
|
|
225
|
+
}]
|
|
226
|
+
}],
|
|
227
|
+
headerTemplate: [{
|
|
228
|
+
type: i0.ContentChild,
|
|
229
|
+
args: [i0.forwardRef(() => AerisTabHeaderTemplate), {
|
|
230
|
+
descendants: false,
|
|
231
|
+
isSignal: true
|
|
232
|
+
}]
|
|
233
|
+
}]
|
|
234
|
+
}
|
|
235
|
+
});
|
|
236
|
+
var AerisTabs = class AerisTabs {
|
|
237
|
+
hostElement = inject(ElementRef).nativeElement;
|
|
238
|
+
isBrowser = isPlatformBrowser(inject(PLATFORM_ID));
|
|
239
|
+
destroyRef = inject(DestroyRef);
|
|
240
|
+
value = model("", ...ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []);
|
|
241
|
+
ariaLabel = input("", ...ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []);
|
|
242
|
+
ariaLabelledBy = input("", ...ngDevMode ? [{ debugName: "ariaLabelledBy" }] : /* istanbul ignore next */ []);
|
|
243
|
+
orientation = input("horizontal", ...ngDevMode ? [{ debugName: "orientation" }] : /* istanbul ignore next */ []);
|
|
244
|
+
activationMode = input("automatic", ...ngDevMode ? [{ debugName: "activationMode" }] : /* istanbul ignore next */ []);
|
|
245
|
+
variant = input("line", ...ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []);
|
|
246
|
+
size = input("md", ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
|
|
247
|
+
justify = input("start", ...ngDevMode ? [{ debugName: "justify" }] : /* istanbul ignore next */ []);
|
|
248
|
+
scrollable = input(true, {
|
|
249
|
+
...ngDevMode ? { debugName: "scrollable" } : /* istanbul ignore next */ {},
|
|
250
|
+
transform: booleanAttribute
|
|
251
|
+
});
|
|
252
|
+
panelTabIndex = input(0, ...ngDevMode ? [{ debugName: "panelTabIndex" }] : /* istanbul ignore next */ []);
|
|
253
|
+
changed = output();
|
|
254
|
+
tabFocused = output();
|
|
255
|
+
discoveredPanels = contentChildren(AerisTabPanel, {
|
|
256
|
+
...ngDevMode ? { debugName: "discoveredPanels" } : /* istanbul ignore next */ {},
|
|
257
|
+
descendants: true
|
|
258
|
+
});
|
|
259
|
+
panels = computed(() => this.discoveredPanels().filter((panel) => panel.isDirectPanelOf(this.hostElement)), ...ngDevMode ? [{ debugName: "panels" }] : /* istanbul ignore next */ []);
|
|
260
|
+
tabButtons = viewChildren("tabButton", ...ngDevMode ? [{ debugName: "tabButtons" }] : /* istanbul ignore next */ []);
|
|
261
|
+
tabList = viewChild("tabList", ...ngDevMode ? [{ debugName: "tabList" }] : /* istanbul ignore next */ []);
|
|
262
|
+
tabHeader = viewChild("tabHeader", ...ngDevMode ? [{ debugName: "tabHeader" }] : /* istanbul ignore next */ []);
|
|
263
|
+
focusedValue = signal("", ...ngDevMode ? [{ debugName: "focusedValue" }] : /* istanbul ignore next */ []);
|
|
264
|
+
activatedPanels = signal(/* @__PURE__ */ new Set(), ...ngDevMode ? [{ debugName: "activatedPanels" }] : /* istanbul ignore next */ []);
|
|
265
|
+
hasOverflow = signal(false, ...ngDevMode ? [{ debugName: "hasOverflow" }] : /* istanbul ignore next */ []);
|
|
266
|
+
canScrollPrevious = signal(false, ...ngDevMode ? [{ debugName: "canScrollPrevious" }] : /* istanbul ignore next */ []);
|
|
267
|
+
canScrollNext = signal(false, ...ngDevMode ? [{ debugName: "canScrollNext" }] : /* istanbul ignore next */ []);
|
|
268
|
+
showScrollControls = computed(() => this.scrollable() && this.orientation() === "horizontal" && this.hasOverflow(), ...ngDevMode ? [{ debugName: "showScrollControls" }] : /* istanbul ignore next */ []);
|
|
269
|
+
activePanel = computed(() => this.panels().find((panel) => !panel.disabled() && panel.value() === this.value()) ?? this.panels().find((panel) => !panel.disabled()), ...ngDevMode ? [{ debugName: "activePanel" }] : /* istanbul ignore next */ []);
|
|
270
|
+
focusedPanel = computed(() => this.panels().find((panel) => !panel.disabled() && panel.value() === this.focusedValue()) ?? this.activePanel(), ...ngDevMode ? [{ debugName: "focusedPanel" }] : /* istanbul ignore next */ []);
|
|
271
|
+
panelViews = computed(() => {
|
|
272
|
+
const activePanel = this.activePanel();
|
|
273
|
+
const activatedPanels = this.activatedPanels();
|
|
274
|
+
return this.panels().map((panel) => {
|
|
275
|
+
const active = panel === activePanel;
|
|
276
|
+
const strategy = panel.renderStrategy();
|
|
277
|
+
return {
|
|
278
|
+
panel,
|
|
279
|
+
active,
|
|
280
|
+
rendered: strategy === "eager" || active || strategy === "preserve" && activatedPanels.has(panel)
|
|
281
|
+
};
|
|
282
|
+
});
|
|
283
|
+
}, ...ngDevMode ? [{ debugName: "panelViews" }] : /* istanbul ignore next */ []);
|
|
284
|
+
constructor() {
|
|
285
|
+
afterNextRender(() => {
|
|
286
|
+
this.updateScrollState();
|
|
287
|
+
this.observeTabSizing();
|
|
288
|
+
});
|
|
289
|
+
effect(() => {
|
|
290
|
+
const panelCount = this.panels().length;
|
|
291
|
+
this.tabButtons();
|
|
292
|
+
if (panelCount === 0) return;
|
|
293
|
+
queueMicrotask(() => this.updateScrollState());
|
|
294
|
+
});
|
|
295
|
+
afterRenderEffect(() => {
|
|
296
|
+
const panel = this.activePanel();
|
|
297
|
+
if (!panel || this.activatedPanels().has(panel)) return;
|
|
298
|
+
this.activatedPanels.update((current) => new Set(current).add(panel));
|
|
299
|
+
});
|
|
300
|
+
}
|
|
301
|
+
select(valueOrPanel, originalEvent = null) {
|
|
302
|
+
const panel = typeof valueOrPanel === "string" ? this.panels().find((candidate) => candidate.value() === valueOrPanel) : valueOrPanel;
|
|
303
|
+
if (!panel || panel.disabled()) return;
|
|
304
|
+
const previousValue = this.activePanel()?.value() ?? "";
|
|
305
|
+
this.focusedValue.set(panel.value());
|
|
306
|
+
if (previousValue === panel.value() && this.value() === panel.value()) return;
|
|
307
|
+
this.value.set(panel.value());
|
|
308
|
+
this.changed.emit({
|
|
309
|
+
originalEvent,
|
|
310
|
+
value: panel.value(),
|
|
311
|
+
previousValue
|
|
312
|
+
});
|
|
313
|
+
}
|
|
314
|
+
focusTab(value, options) {
|
|
315
|
+
const panelIndex = this.panels().findIndex((panel) => !panel.disabled() && panel.value() === value);
|
|
316
|
+
if (panelIndex < 0) return;
|
|
317
|
+
this.focusedValue.set(value);
|
|
318
|
+
this.tabButtons()[panelIndex]?.nativeElement.focus(options);
|
|
319
|
+
}
|
|
320
|
+
handleKeydown(event) {
|
|
321
|
+
if (this.activationMode() === "manual" && (event.key === "Enter" || event.key === " ")) {
|
|
322
|
+
event.preventDefault();
|
|
323
|
+
const panel = this.focusedPanel();
|
|
324
|
+
if (panel) this.select(panel, event);
|
|
325
|
+
return;
|
|
326
|
+
}
|
|
327
|
+
const direction = this.keyDirection(event.key);
|
|
328
|
+
if (direction === void 0) return;
|
|
329
|
+
event.preventDefault();
|
|
330
|
+
const enabledPanels = this.panels().filter((panel) => !panel.disabled());
|
|
331
|
+
if (enabledPanels.length === 0) return;
|
|
332
|
+
const currentPanel = this.focusedPanel() ?? this.activePanel();
|
|
333
|
+
const currentIndex = Math.max(enabledPanels.indexOf(currentPanel), 0);
|
|
334
|
+
const nextPanel = enabledPanels[direction === "first" ? 0 : direction === "last" ? enabledPanels.length - 1 : (currentIndex + direction + enabledPanels.length) % enabledPanels.length];
|
|
335
|
+
if (!nextPanel) return;
|
|
336
|
+
this.focusedValue.set(nextPanel.value());
|
|
337
|
+
if (this.activationMode() === "automatic") this.select(nextPanel, event);
|
|
338
|
+
this.focusTab(nextPanel.value());
|
|
339
|
+
this.scrollPanelIntoView(nextPanel);
|
|
340
|
+
}
|
|
341
|
+
handleTabFocus(panel, event) {
|
|
342
|
+
this.focusedValue.set(panel.value());
|
|
343
|
+
this.tabFocused.emit(panel.value());
|
|
344
|
+
if (this.activationMode() === "automatic" && panel !== this.activePanel()) this.select(panel, event);
|
|
345
|
+
}
|
|
346
|
+
scrollTabs(direction) {
|
|
347
|
+
const list = this.tabList()?.nativeElement;
|
|
348
|
+
if (!list) return;
|
|
349
|
+
const left = direction * Math.max(list.clientWidth * .75, 160);
|
|
350
|
+
if (typeof list.scrollBy === "function") list.scrollBy({
|
|
351
|
+
left,
|
|
352
|
+
behavior: "smooth"
|
|
353
|
+
});
|
|
354
|
+
else list.scrollLeft += left;
|
|
355
|
+
queueMicrotask(() => this.updateScrollState());
|
|
356
|
+
}
|
|
357
|
+
updateScrollState() {
|
|
358
|
+
const list = this.tabList()?.nativeElement;
|
|
359
|
+
const header = this.tabHeader()?.nativeElement;
|
|
360
|
+
if (!list || !header) return;
|
|
361
|
+
const overflow = this.scrollable() && this.orientation() === "horizontal" && list.scrollWidth > header.clientWidth + 1;
|
|
362
|
+
this.hasOverflow.set(overflow);
|
|
363
|
+
if (!overflow) {
|
|
364
|
+
this.canScrollPrevious.set(false);
|
|
365
|
+
this.canScrollNext.set(false);
|
|
366
|
+
return;
|
|
367
|
+
}
|
|
368
|
+
this.canScrollPrevious.set(list.scrollLeft > 1);
|
|
369
|
+
this.canScrollNext.set(list.scrollLeft + list.clientWidth < list.scrollWidth - 1);
|
|
370
|
+
}
|
|
371
|
+
observeTabSizing() {
|
|
372
|
+
if (!this.isBrowser || typeof globalThis.ResizeObserver !== "function") return;
|
|
373
|
+
const header = this.tabHeader()?.nativeElement;
|
|
374
|
+
const list = this.tabList()?.nativeElement;
|
|
375
|
+
if (!header || !list) return;
|
|
376
|
+
const observer = new ResizeObserver(() => this.updateScrollState());
|
|
377
|
+
observer.observe(header);
|
|
378
|
+
observer.observe(list);
|
|
379
|
+
for (const button of this.tabButtons()) observer.observe(button.nativeElement);
|
|
380
|
+
this.destroyRef.onDestroy(() => observer.disconnect());
|
|
381
|
+
}
|
|
382
|
+
scrollPanelIntoView(panel) {
|
|
383
|
+
const panelIndex = this.panels().indexOf(panel);
|
|
384
|
+
const tab = this.tabButtons()[panelIndex]?.nativeElement;
|
|
385
|
+
if (typeof tab?.scrollIntoView === "function") tab.scrollIntoView({
|
|
386
|
+
behavior: this.isBrowser ? "smooth" : "auto",
|
|
387
|
+
block: "nearest",
|
|
388
|
+
inline: "nearest"
|
|
389
|
+
});
|
|
390
|
+
queueMicrotask(() => this.updateScrollState());
|
|
391
|
+
}
|
|
392
|
+
keyDirection(key) {
|
|
393
|
+
if (key === "Home") return "first";
|
|
394
|
+
if (key === "End") return "last";
|
|
395
|
+
if (this.orientation() === "horizontal" && key === "ArrowLeft" || this.orientation() === "vertical" && key === "ArrowUp") return -1;
|
|
396
|
+
if (this.orientation() === "horizontal" && key === "ArrowRight" || this.orientation() === "vertical" && key === "ArrowDown") return 1;
|
|
397
|
+
}
|
|
398
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
399
|
+
minVersion: "12.0.0",
|
|
400
|
+
version: "22.2.1",
|
|
401
|
+
ngImport: i0,
|
|
402
|
+
type: AerisTabs,
|
|
403
|
+
deps: [],
|
|
404
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
405
|
+
});
|
|
406
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
407
|
+
minVersion: "17.0.0",
|
|
408
|
+
version: "22.2.1",
|
|
409
|
+
type: AerisTabs,
|
|
410
|
+
isStandalone: true,
|
|
411
|
+
selector: "aeris-tabs",
|
|
412
|
+
inputs: {
|
|
413
|
+
value: {
|
|
414
|
+
classPropertyName: "value",
|
|
415
|
+
publicName: "value",
|
|
416
|
+
isSignal: true,
|
|
417
|
+
isRequired: false,
|
|
418
|
+
transformFunction: null
|
|
419
|
+
},
|
|
420
|
+
ariaLabel: {
|
|
421
|
+
classPropertyName: "ariaLabel",
|
|
422
|
+
publicName: "ariaLabel",
|
|
423
|
+
isSignal: true,
|
|
424
|
+
isRequired: false,
|
|
425
|
+
transformFunction: null
|
|
426
|
+
},
|
|
427
|
+
ariaLabelledBy: {
|
|
428
|
+
classPropertyName: "ariaLabelledBy",
|
|
429
|
+
publicName: "ariaLabelledBy",
|
|
430
|
+
isSignal: true,
|
|
431
|
+
isRequired: false,
|
|
432
|
+
transformFunction: null
|
|
433
|
+
},
|
|
434
|
+
orientation: {
|
|
435
|
+
classPropertyName: "orientation",
|
|
436
|
+
publicName: "orientation",
|
|
437
|
+
isSignal: true,
|
|
438
|
+
isRequired: false,
|
|
439
|
+
transformFunction: null
|
|
440
|
+
},
|
|
441
|
+
activationMode: {
|
|
442
|
+
classPropertyName: "activationMode",
|
|
443
|
+
publicName: "activationMode",
|
|
444
|
+
isSignal: true,
|
|
445
|
+
isRequired: false,
|
|
446
|
+
transformFunction: null
|
|
447
|
+
},
|
|
448
|
+
variant: {
|
|
449
|
+
classPropertyName: "variant",
|
|
450
|
+
publicName: "variant",
|
|
451
|
+
isSignal: true,
|
|
452
|
+
isRequired: false,
|
|
453
|
+
transformFunction: null
|
|
454
|
+
},
|
|
455
|
+
size: {
|
|
456
|
+
classPropertyName: "size",
|
|
457
|
+
publicName: "size",
|
|
458
|
+
isSignal: true,
|
|
459
|
+
isRequired: false,
|
|
460
|
+
transformFunction: null
|
|
461
|
+
},
|
|
462
|
+
justify: {
|
|
463
|
+
classPropertyName: "justify",
|
|
464
|
+
publicName: "justify",
|
|
465
|
+
isSignal: true,
|
|
466
|
+
isRequired: false,
|
|
467
|
+
transformFunction: null
|
|
468
|
+
},
|
|
469
|
+
scrollable: {
|
|
470
|
+
classPropertyName: "scrollable",
|
|
471
|
+
publicName: "scrollable",
|
|
472
|
+
isSignal: true,
|
|
473
|
+
isRequired: false,
|
|
474
|
+
transformFunction: null
|
|
475
|
+
},
|
|
476
|
+
panelTabIndex: {
|
|
477
|
+
classPropertyName: "panelTabIndex",
|
|
478
|
+
publicName: "panelTabIndex",
|
|
479
|
+
isSignal: true,
|
|
480
|
+
isRequired: false,
|
|
481
|
+
transformFunction: null
|
|
482
|
+
}
|
|
483
|
+
},
|
|
484
|
+
outputs: {
|
|
485
|
+
value: "valueChange",
|
|
486
|
+
changed: "changed",
|
|
487
|
+
tabFocused: "tabFocused"
|
|
488
|
+
},
|
|
489
|
+
host: {
|
|
490
|
+
properties: {
|
|
491
|
+
"attr.data-orientation": "orientation()",
|
|
492
|
+
"attr.data-variant": "variant()",
|
|
493
|
+
"attr.data-size": "size()",
|
|
494
|
+
"attr.data-justify": "justify()",
|
|
495
|
+
"attr.data-scrollable": "scrollable() || null"
|
|
496
|
+
},
|
|
497
|
+
classAttribute: "aeris-tabs"
|
|
498
|
+
},
|
|
499
|
+
providers: [{
|
|
500
|
+
provide: AERIS_TABS_OWNER,
|
|
501
|
+
useFactory: () => ({ host: inject(ElementRef).nativeElement })
|
|
502
|
+
}],
|
|
503
|
+
queries: [{
|
|
504
|
+
propertyName: "discoveredPanels",
|
|
505
|
+
predicate: AerisTabPanel,
|
|
506
|
+
descendants: true,
|
|
507
|
+
isSignal: true
|
|
508
|
+
}],
|
|
509
|
+
viewQueries: [
|
|
510
|
+
{
|
|
511
|
+
propertyName: "tabButtons",
|
|
512
|
+
predicate: ["tabButton"],
|
|
513
|
+
descendants: true,
|
|
514
|
+
isSignal: true
|
|
515
|
+
},
|
|
516
|
+
{
|
|
517
|
+
propertyName: "tabList",
|
|
518
|
+
first: true,
|
|
519
|
+
predicate: ["tabList"],
|
|
520
|
+
descendants: true,
|
|
521
|
+
isSignal: true
|
|
522
|
+
},
|
|
523
|
+
{
|
|
524
|
+
propertyName: "tabHeader",
|
|
525
|
+
first: true,
|
|
526
|
+
predicate: ["tabHeader"],
|
|
527
|
+
descendants: true,
|
|
528
|
+
isSignal: true
|
|
529
|
+
}
|
|
530
|
+
],
|
|
531
|
+
ngImport: i0,
|
|
532
|
+
template: `
|
|
300
533
|
<div class="aeris-tabs__panel-source" aria-hidden="true">
|
|
301
534
|
<ng-content />
|
|
302
535
|
</div>
|
|
@@ -380,18 +613,36 @@ class AerisTabs {
|
|
|
380
613
|
}
|
|
381
614
|
</div>
|
|
382
615
|
}
|
|
383
|
-
`,
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
616
|
+
`,
|
|
617
|
+
isInline: true,
|
|
618
|
+
styles: [":host{--_aeris-chevron-mask: var( --aeris-icon-chevron, url(data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%3E%3Cpath%20d=%27M7%209.5%2012%2014.5%2017%209.5%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%272.4%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27/%3E%3C/svg%3E) );--_tab-height: 3rem;--_tab-padding: 1rem;--_tab-font-size: .875rem;display:block;min-width:0}:host([data-size=sm]){--_tab-height: 2.25rem;--_tab-padding: .75rem;--_tab-font-size: .75rem}:host([data-size=lg]){--_tab-height: 3.5rem;--_tab-padding: 1.25rem;--_tab-font-size: .9375rem}.aeris-tabs__header{display:flex;align-items:stretch;min-width:0}.aeris-tabs__list{min-width:0;display:flex;flex:1 1 auto;gap:.25rem;border-bottom:1px solid var(--aeris-tabs-border, var(--aeris-border));overflow:visible;scrollbar-width:none}.aeris-tabs__list::-webkit-scrollbar{display:none}:host([data-scrollable][data-orientation=horizontal]) .aeris-tabs__list{overflow-x:auto;overscroll-behavior-inline:contain}.aeris-tabs__list button{position:relative;min-height:var(--_tab-height);flex:0 0 auto;padding:0 var(--_tab-padding);border:0;border-radius:var(--aeris-tabs-radius, var(--aeris-radius-control, .4375rem));background:transparent;color:var(--aeris-tabs-text, var(--aeris-text-2, #555555));font:inherit;font-size:var(--_tab-font-size);font-weight:600;white-space:nowrap;cursor:pointer}.aeris-tabs__list button:after{position:absolute;right:.75rem;bottom:-1px;left:.75rem;height:2px;border-radius:99px 99px 0 0;background:transparent;content:\"\"}.aeris-tabs__list button:hover:not(:disabled){background:transparent;color:var(--aeris-tabs-active-text, var(--aeris-primary-text, #2c694b))}.aeris-tabs__list button[aria-selected=true]{color:var(--aeris-tabs-active-text, var(--aeris-primary-text, #2c694b))}.aeris-tabs__list button[aria-selected=true]:after{background:var(--aeris-tabs-indicator, var(--aeris-primary, #2c694b))}.aeris-tabs__list button:disabled{opacity:var(--aeris-disabled-opacity, .45);cursor:not-allowed}.aeris-tabs__list button:focus-visible,.aeris-tabs__scroll:focus-visible{z-index:1;outline:2px solid var(--aeris-focus, #2c432c);outline-offset:-2px}:host([data-variant=pill]) .aeris-tabs__list{gap:.25rem;padding:.25rem;border:0;border-radius:calc(min(var(--aeris-tabs-radius, var(--aeris-radius-control, .4375rem)),1rem) + .25rem);background:var(--aeris-tabs-list-background, var(--aeris-surface-2, #f2f0ec))}:host([data-variant=pill]) .aeris-tabs__list button{min-height:calc(var(--_tab-height) - .5rem)}:host([data-variant=pill]) .aeris-tabs__list button:after{display:none}:host([data-variant=pill]) .aeris-tabs__list button:hover:not(:disabled){background:var(--aeris-tabs-hover, color-mix(in srgb, var(--aeris-surface, #fff) 76%, transparent));color:var(--aeris-text, #222222)}:host([data-variant=pill]) .aeris-tabs__list button[aria-selected=true]{background:var(--aeris-tabs-active-background, var(--aeris-surface, #fff));box-shadow:0 1px 3px #1f231b1a;color:var(--aeris-text, #222222)}:host([data-justify=center]) .aeris-tabs__list{justify-content:center}:host([data-justify=end]) .aeris-tabs__list{justify-content:flex-end}:host([data-justify=stretch]) .aeris-tabs__list button{flex:1 1 0}.aeris-tabs__scroll{width:2.25rem;flex:0 0 2.25rem;display:grid;place-items:center;padding:0;border:0;border-bottom:1px solid var(--aeris-tabs-border, var(--aeris-border));background:var(--aeris-surface, #fff);color:var(--aeris-text-2, #555555);cursor:pointer}.aeris-tabs__scroll:disabled{opacity:.3;cursor:default}.aeris-tabs__scroll span{position:relative;width:1rem;height:1rem}.aeris-tabs__scroll span:before{position:absolute;top:50%;left:50%;width:1rem;height:1rem;background:currentColor;content:\"\";transform:translate(-50%,-50%) rotate(90deg);-webkit-mask:var(--_aeris-chevron-mask) center/100% 100% no-repeat;mask:var(--_aeris-chevron-mask) center/100% 100% no-repeat}.aeris-tabs__scroll--next span:before{transform:translate(-50%,-50%) rotate(-90deg)}.aeris-tabs__panel-source{display:none}.aeris-tabs__panel{min-width:0;padding-top:var(--aeris-tabs-panel-padding, 1rem)}:host([data-orientation=vertical]){display:grid;grid-template-columns:max-content minmax(0,1fr)}:host([data-orientation=vertical]) .aeris-tabs__header{display:block}:host([data-orientation=vertical]) .aeris-tabs__list{flex-direction:column;border-right:1px solid var(--aeris-tabs-border, var(--aeris-border));border-bottom:0}:host([data-orientation=vertical]) .aeris-tabs__list button{text-align:left}:host([data-orientation=vertical]) .aeris-tabs__list button:after{top:.5rem;right:-1px;bottom:.5rem;left:auto;width:2px;height:auto}@media(max-width:40rem){:host([data-orientation=vertical]){display:block}:host([data-orientation=vertical]) .aeris-tabs__list{flex-direction:row;border-right:0;border-bottom:1px solid var(--aeris-tabs-border, var(--aeris-border));overflow-x:auto}}@media(prefers-reduced-motion:reduce){.aeris-tabs__list{scroll-behavior:auto}}\n"],
|
|
619
|
+
dependencies: [{
|
|
620
|
+
kind: "directive",
|
|
621
|
+
type: NgTemplateOutlet,
|
|
622
|
+
selector: "[ngTemplateOutlet]",
|
|
623
|
+
inputs: [
|
|
624
|
+
"ngTemplateOutletContext",
|
|
625
|
+
"ngTemplateOutlet",
|
|
626
|
+
"ngTemplateOutletInjector"
|
|
627
|
+
]
|
|
628
|
+
}]
|
|
629
|
+
});
|
|
630
|
+
};
|
|
631
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
632
|
+
minVersion: "12.0.0",
|
|
633
|
+
version: "22.2.1",
|
|
634
|
+
ngImport: i0,
|
|
635
|
+
type: AerisTabs,
|
|
636
|
+
decorators: [{
|
|
637
|
+
type: Component,
|
|
638
|
+
args: [{
|
|
639
|
+
selector: "aeris-tabs",
|
|
640
|
+
providers: [{
|
|
641
|
+
provide: AERIS_TABS_OWNER,
|
|
642
|
+
useFactory: () => ({ host: inject(ElementRef).nativeElement })
|
|
643
|
+
}],
|
|
644
|
+
imports: [NgTemplateOutlet],
|
|
645
|
+
template: `
|
|
395
646
|
<div class="aeris-tabs__panel-source" aria-hidden="true">
|
|
396
647
|
<ng-content />
|
|
397
648
|
</div>
|
|
@@ -475,27 +726,138 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImpor
|
|
|
475
726
|
}
|
|
476
727
|
</div>
|
|
477
728
|
}
|
|
478
|
-
`,
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
729
|
+
`,
|
|
730
|
+
host: {
|
|
731
|
+
class: "aeris-tabs",
|
|
732
|
+
"[attr.data-orientation]": "orientation()",
|
|
733
|
+
"[attr.data-variant]": "variant()",
|
|
734
|
+
"[attr.data-size]": "size()",
|
|
735
|
+
"[attr.data-justify]": "justify()",
|
|
736
|
+
"[attr.data-scrollable]": "scrollable() || null"
|
|
737
|
+
},
|
|
738
|
+
styles: [":host{--_aeris-chevron-mask: var( --aeris-icon-chevron, url(data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%3E%3Cpath%20d=%27M7%209.5%2012%2014.5%2017%209.5%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%272.4%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27/%3E%3C/svg%3E) );--_tab-height: 3rem;--_tab-padding: 1rem;--_tab-font-size: .875rem;display:block;min-width:0}:host([data-size=sm]){--_tab-height: 2.25rem;--_tab-padding: .75rem;--_tab-font-size: .75rem}:host([data-size=lg]){--_tab-height: 3.5rem;--_tab-padding: 1.25rem;--_tab-font-size: .9375rem}.aeris-tabs__header{display:flex;align-items:stretch;min-width:0}.aeris-tabs__list{min-width:0;display:flex;flex:1 1 auto;gap:.25rem;border-bottom:1px solid var(--aeris-tabs-border, var(--aeris-border));overflow:visible;scrollbar-width:none}.aeris-tabs__list::-webkit-scrollbar{display:none}:host([data-scrollable][data-orientation=horizontal]) .aeris-tabs__list{overflow-x:auto;overscroll-behavior-inline:contain}.aeris-tabs__list button{position:relative;min-height:var(--_tab-height);flex:0 0 auto;padding:0 var(--_tab-padding);border:0;border-radius:var(--aeris-tabs-radius, var(--aeris-radius-control, .4375rem));background:transparent;color:var(--aeris-tabs-text, var(--aeris-text-2, #555555));font:inherit;font-size:var(--_tab-font-size);font-weight:600;white-space:nowrap;cursor:pointer}.aeris-tabs__list button:after{position:absolute;right:.75rem;bottom:-1px;left:.75rem;height:2px;border-radius:99px 99px 0 0;background:transparent;content:\"\"}.aeris-tabs__list button:hover:not(:disabled){background:transparent;color:var(--aeris-tabs-active-text, var(--aeris-primary-text, #2c694b))}.aeris-tabs__list button[aria-selected=true]{color:var(--aeris-tabs-active-text, var(--aeris-primary-text, #2c694b))}.aeris-tabs__list button[aria-selected=true]:after{background:var(--aeris-tabs-indicator, var(--aeris-primary, #2c694b))}.aeris-tabs__list button:disabled{opacity:var(--aeris-disabled-opacity, .45);cursor:not-allowed}.aeris-tabs__list button:focus-visible,.aeris-tabs__scroll:focus-visible{z-index:1;outline:2px solid var(--aeris-focus, #2c432c);outline-offset:-2px}:host([data-variant=pill]) .aeris-tabs__list{gap:.25rem;padding:.25rem;border:0;border-radius:calc(min(var(--aeris-tabs-radius, var(--aeris-radius-control, .4375rem)),1rem) + .25rem);background:var(--aeris-tabs-list-background, var(--aeris-surface-2, #f2f0ec))}:host([data-variant=pill]) .aeris-tabs__list button{min-height:calc(var(--_tab-height) - .5rem)}:host([data-variant=pill]) .aeris-tabs__list button:after{display:none}:host([data-variant=pill]) .aeris-tabs__list button:hover:not(:disabled){background:var(--aeris-tabs-hover, color-mix(in srgb, var(--aeris-surface, #fff) 76%, transparent));color:var(--aeris-text, #222222)}:host([data-variant=pill]) .aeris-tabs__list button[aria-selected=true]{background:var(--aeris-tabs-active-background, var(--aeris-surface, #fff));box-shadow:0 1px 3px #1f231b1a;color:var(--aeris-text, #222222)}:host([data-justify=center]) .aeris-tabs__list{justify-content:center}:host([data-justify=end]) .aeris-tabs__list{justify-content:flex-end}:host([data-justify=stretch]) .aeris-tabs__list button{flex:1 1 0}.aeris-tabs__scroll{width:2.25rem;flex:0 0 2.25rem;display:grid;place-items:center;padding:0;border:0;border-bottom:1px solid var(--aeris-tabs-border, var(--aeris-border));background:var(--aeris-surface, #fff);color:var(--aeris-text-2, #555555);cursor:pointer}.aeris-tabs__scroll:disabled{opacity:.3;cursor:default}.aeris-tabs__scroll span{position:relative;width:1rem;height:1rem}.aeris-tabs__scroll span:before{position:absolute;top:50%;left:50%;width:1rem;height:1rem;background:currentColor;content:\"\";transform:translate(-50%,-50%) rotate(90deg);-webkit-mask:var(--_aeris-chevron-mask) center/100% 100% no-repeat;mask:var(--_aeris-chevron-mask) center/100% 100% no-repeat}.aeris-tabs__scroll--next span:before{transform:translate(-50%,-50%) rotate(-90deg)}.aeris-tabs__panel-source{display:none}.aeris-tabs__panel{min-width:0;padding-top:var(--aeris-tabs-panel-padding, 1rem)}:host([data-orientation=vertical]){display:grid;grid-template-columns:max-content minmax(0,1fr)}:host([data-orientation=vertical]) .aeris-tabs__header{display:block}:host([data-orientation=vertical]) .aeris-tabs__list{flex-direction:column;border-right:1px solid var(--aeris-tabs-border, var(--aeris-border));border-bottom:0}:host([data-orientation=vertical]) .aeris-tabs__list button{text-align:left}:host([data-orientation=vertical]) .aeris-tabs__list button:after{top:.5rem;right:-1px;bottom:.5rem;left:auto;width:2px;height:auto}@media(max-width:40rem){:host([data-orientation=vertical]){display:block}:host([data-orientation=vertical]) .aeris-tabs__list{flex-direction:row;border-right:0;border-bottom:1px solid var(--aeris-tabs-border, var(--aeris-border));overflow-x:auto}}@media(prefers-reduced-motion:reduce){.aeris-tabs__list{scroll-behavior:auto}}\n"]
|
|
739
|
+
}]
|
|
740
|
+
}],
|
|
741
|
+
ctorParameters: () => [],
|
|
742
|
+
propDecorators: {
|
|
743
|
+
value: [{
|
|
744
|
+
type: i0.Input,
|
|
745
|
+
args: [{
|
|
746
|
+
isSignal: true,
|
|
747
|
+
alias: "value",
|
|
748
|
+
required: false
|
|
749
|
+
}]
|
|
750
|
+
}, {
|
|
751
|
+
type: i0.Output,
|
|
752
|
+
args: ["valueChange"]
|
|
753
|
+
}],
|
|
754
|
+
ariaLabel: [{
|
|
755
|
+
type: i0.Input,
|
|
756
|
+
args: [{
|
|
757
|
+
isSignal: true,
|
|
758
|
+
alias: "ariaLabel",
|
|
759
|
+
required: false
|
|
760
|
+
}]
|
|
761
|
+
}],
|
|
762
|
+
ariaLabelledBy: [{
|
|
763
|
+
type: i0.Input,
|
|
764
|
+
args: [{
|
|
765
|
+
isSignal: true,
|
|
766
|
+
alias: "ariaLabelledBy",
|
|
767
|
+
required: false
|
|
768
|
+
}]
|
|
769
|
+
}],
|
|
770
|
+
orientation: [{
|
|
771
|
+
type: i0.Input,
|
|
772
|
+
args: [{
|
|
773
|
+
isSignal: true,
|
|
774
|
+
alias: "orientation",
|
|
775
|
+
required: false
|
|
776
|
+
}]
|
|
777
|
+
}],
|
|
778
|
+
activationMode: [{
|
|
779
|
+
type: i0.Input,
|
|
780
|
+
args: [{
|
|
781
|
+
isSignal: true,
|
|
782
|
+
alias: "activationMode",
|
|
783
|
+
required: false
|
|
784
|
+
}]
|
|
785
|
+
}],
|
|
786
|
+
variant: [{
|
|
787
|
+
type: i0.Input,
|
|
788
|
+
args: [{
|
|
789
|
+
isSignal: true,
|
|
790
|
+
alias: "variant",
|
|
791
|
+
required: false
|
|
792
|
+
}]
|
|
793
|
+
}],
|
|
794
|
+
size: [{
|
|
795
|
+
type: i0.Input,
|
|
796
|
+
args: [{
|
|
797
|
+
isSignal: true,
|
|
798
|
+
alias: "size",
|
|
799
|
+
required: false
|
|
800
|
+
}]
|
|
801
|
+
}],
|
|
802
|
+
justify: [{
|
|
803
|
+
type: i0.Input,
|
|
804
|
+
args: [{
|
|
805
|
+
isSignal: true,
|
|
806
|
+
alias: "justify",
|
|
807
|
+
required: false
|
|
808
|
+
}]
|
|
809
|
+
}],
|
|
810
|
+
scrollable: [{
|
|
811
|
+
type: i0.Input,
|
|
812
|
+
args: [{
|
|
813
|
+
isSignal: true,
|
|
814
|
+
alias: "scrollable",
|
|
815
|
+
required: false
|
|
816
|
+
}]
|
|
817
|
+
}],
|
|
818
|
+
panelTabIndex: [{
|
|
819
|
+
type: i0.Input,
|
|
820
|
+
args: [{
|
|
821
|
+
isSignal: true,
|
|
822
|
+
alias: "panelTabIndex",
|
|
823
|
+
required: false
|
|
824
|
+
}]
|
|
825
|
+
}],
|
|
826
|
+
changed: [{
|
|
827
|
+
type: i0.Output,
|
|
828
|
+
args: ["changed"]
|
|
829
|
+
}],
|
|
830
|
+
tabFocused: [{
|
|
831
|
+
type: i0.Output,
|
|
832
|
+
args: ["tabFocused"]
|
|
833
|
+
}],
|
|
834
|
+
discoveredPanels: [{
|
|
835
|
+
type: i0.ContentChildren,
|
|
836
|
+
args: [i0.forwardRef(() => AerisTabPanel), {
|
|
837
|
+
descendants: true,
|
|
838
|
+
isSignal: true
|
|
839
|
+
}]
|
|
840
|
+
}],
|
|
841
|
+
tabButtons: [{
|
|
842
|
+
type: i0.ViewChildren,
|
|
843
|
+
args: ["tabButton", { isSignal: true }]
|
|
844
|
+
}],
|
|
845
|
+
tabList: [{
|
|
846
|
+
type: i0.ViewChild,
|
|
847
|
+
args: ["tabList", { isSignal: true }]
|
|
848
|
+
}],
|
|
849
|
+
tabHeader: [{
|
|
850
|
+
type: i0.ViewChild,
|
|
851
|
+
args: ["tabHeader", { isSignal: true }]
|
|
852
|
+
}]
|
|
853
|
+
}
|
|
854
|
+
});
|
|
489
855
|
const AerisTabsModule = [
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
856
|
+
AerisTabs,
|
|
857
|
+
AerisTabPanel,
|
|
858
|
+
AerisTabHeaderTemplate,
|
|
859
|
+
AerisTabContentTemplate
|
|
494
860
|
];
|
|
495
|
-
|
|
496
|
-
/**
|
|
497
|
-
* Generated bundle index. Do not edit.
|
|
498
|
-
*/
|
|
499
|
-
|
|
500
861
|
export { AerisTabContentTemplate, AerisTabHeaderTemplate, AerisTabPanel, AerisTabs, AerisTabsModule };
|
|
501
|
-
|
|
862
|
+
|
|
863
|
+
//# sourceMappingURL=aeris-ui-core-tabs.mjs.map
|