@hermes-ui/angular 0.1.6 → 0.1.7
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 +52 -52
- package/button/_properties.buttons.scss +387 -387
- package/fesm2022/hermes-ui-angular-accordion.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-addons-a11y.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-addons-card-container.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-addons-certificate-viewer.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-addons-datagrid-filters.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-addons-datagrid.mjs +28 -28
- package/fesm2022/hermes-ui-angular-addons-datagrid.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-addons-dialog.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-addons-menu.mjs +8 -8
- package/fesm2022/hermes-ui-angular-addons-menu.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-addons-property-view.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-addons-stepper.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-addons-tabs.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-addons-testing.mjs +78 -78
- package/fesm2022/hermes-ui-angular-addons-testing.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-addons-theme-builder.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-addons-var.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-addons-wizard.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-addons-workflow.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-button.mjs +74 -74
- package/fesm2022/hermes-ui-angular-button.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-card.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-collapsible-panel.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-data-datagrid.mjs +926 -926
- package/fesm2022/hermes-ui-angular-data-datagrid.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-data-stack-view.mjs +114 -114
- package/fesm2022/hermes-ui-angular-data-stack-view.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-data-tree-view.mjs +12 -12
- package/fesm2022/hermes-ui-angular-data-tree-view.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-data.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-divider.mjs +2 -2
- package/fesm2022/hermes-ui-angular-divider.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-emphasis-alert.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-emphasis-badge.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-emphasis-label.mjs +16 -16
- package/fesm2022/hermes-ui-angular-emphasis-label.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-emphasis.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-forms-checkbox.mjs +50 -50
- package/fesm2022/hermes-ui-angular-forms-checkbox.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-forms-combobox.mjs +126 -126
- package/fesm2022/hermes-ui-angular-forms-combobox.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-forms-common.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-forms-datalist.mjs +46 -46
- package/fesm2022/hermes-ui-angular-forms-datalist.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-forms-datepicker.mjs +374 -374
- package/fesm2022/hermes-ui-angular-forms-datepicker.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-forms-file-input.mjs +190 -190
- package/fesm2022/hermes-ui-angular-forms-file-input.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-forms-input.mjs +52 -52
- package/fesm2022/hermes-ui-angular-forms-input.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-forms-native-select.mjs +38 -38
- package/fesm2022/hermes-ui-angular-forms-native-select.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-forms-number-input.mjs +80 -80
- package/fesm2022/hermes-ui-angular-forms-number-input.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-forms-password.mjs +58 -58
- package/fesm2022/hermes-ui-angular-forms-password.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-forms-radio.mjs +50 -50
- package/fesm2022/hermes-ui-angular-forms-radio.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-forms-range.mjs +44 -44
- package/fesm2022/hermes-ui-angular-forms-range.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-forms-select.mjs +8 -8
- package/fesm2022/hermes-ui-angular-forms-select.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-forms-textarea.mjs +38 -38
- package/fesm2022/hermes-ui-angular-forms-textarea.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-forms.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-icon.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-layout-breadcrumbs.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-layout-main-container.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-layout-nav.mjs +46 -46
- package/fesm2022/hermes-ui-angular-layout-nav.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-layout-tabs.mjs +146 -146
- package/fesm2022/hermes-ui-angular-layout-tabs.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-layout-vertical-nav.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-layout.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-modal.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-pagination.mjs +8 -8
- package/fesm2022/hermes-ui-angular-pagination.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-popover-common.mjs +26 -3
- package/fesm2022/hermes-ui-angular-popover-common.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-popover-dropdown.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-popover-signpost.mjs +66 -66
- package/fesm2022/hermes-ui-angular-popover-signpost.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-popover-tooltip.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-popover.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-progress-progress-bars.mjs +10 -10
- package/fesm2022/hermes-ui-angular-progress-progress-bars.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-progress-spinner.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-stepper.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-timeline.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-toast.mjs +4 -4
- package/fesm2022/hermes-ui-angular-toast.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-utils-conditional.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-utils.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular-wizard.mjs +56 -56
- package/fesm2022/hermes-ui-angular-wizard.mjs.map +1 -1
- package/fesm2022/hermes-ui-angular.mjs.map +1 -1
- package/hermes-ui.scss +7 -7
- package/package.json +1 -1
- package/toast/README.md +65 -65
- package/toast/_properties.toast.scss +56 -56
- package/toast/_toast.clarity.scss +190 -190
- package/toast/_variables.toast.scss +33 -33
- package/types/hermes-ui-angular-data-datagrid.d.ts.map +1 -1
- package/types/hermes-ui-angular-popover-common.d.ts +4 -3
- package/types/hermes-ui-angular-popover-common.d.ts.map +1 -1
- package/types/hermes-ui-angular-wizard.d.ts.map +1 -1
|
@@ -100,40 +100,40 @@ class HermesTabContent {
|
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HermesTabContent, deps: [{ token: i1.IfActiveService }, { token: IF_ACTIVE_ID }, { token: TabsService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
103
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", type: HermesTabContent, isStandalone: false, selector: "hermes-tab-content", inputs: { tabContentId: ["id", "tabContentId"] }, viewQueries: [{ propertyName: "templateRef", first: true, predicate: ["tabContentProjectedRef"], descendants: true, static: true }], ngImport: i0, template: `
|
|
104
|
-
<ng-template #tabContentProjectedRef>
|
|
105
|
-
<section
|
|
106
|
-
[id]="tabContentId"
|
|
107
|
-
role="tabpanel"
|
|
108
|
-
class="tab-content"
|
|
109
|
-
[class.active]="active"
|
|
110
|
-
[hidden]="!active"
|
|
111
|
-
[attr.aria-labelledby]="ariaLabelledBy"
|
|
112
|
-
[attr.aria-hidden]="!active"
|
|
113
|
-
>
|
|
114
|
-
<ng-content></ng-content>
|
|
115
|
-
</section>
|
|
116
|
-
</ng-template>
|
|
103
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", type: HermesTabContent, isStandalone: false, selector: "hermes-tab-content", inputs: { tabContentId: ["id", "tabContentId"] }, viewQueries: [{ propertyName: "templateRef", first: true, predicate: ["tabContentProjectedRef"], descendants: true, static: true }], ngImport: i0, template: `
|
|
104
|
+
<ng-template #tabContentProjectedRef>
|
|
105
|
+
<section
|
|
106
|
+
[id]="tabContentId"
|
|
107
|
+
role="tabpanel"
|
|
108
|
+
class="tab-content"
|
|
109
|
+
[class.active]="active"
|
|
110
|
+
[hidden]="!active"
|
|
111
|
+
[attr.aria-labelledby]="ariaLabelledBy"
|
|
112
|
+
[attr.aria-hidden]="!active"
|
|
113
|
+
>
|
|
114
|
+
<ng-content></ng-content>
|
|
115
|
+
</section>
|
|
116
|
+
</ng-template>
|
|
117
117
|
`, isInline: true }); }
|
|
118
118
|
}
|
|
119
119
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HermesTabContent, decorators: [{
|
|
120
120
|
type: Component,
|
|
121
121
|
args: [{
|
|
122
122
|
selector: 'hermes-tab-content',
|
|
123
|
-
template: `
|
|
124
|
-
<ng-template #tabContentProjectedRef>
|
|
125
|
-
<section
|
|
126
|
-
[id]="tabContentId"
|
|
127
|
-
role="tabpanel"
|
|
128
|
-
class="tab-content"
|
|
129
|
-
[class.active]="active"
|
|
130
|
-
[hidden]="!active"
|
|
131
|
-
[attr.aria-labelledby]="ariaLabelledBy"
|
|
132
|
-
[attr.aria-hidden]="!active"
|
|
133
|
-
>
|
|
134
|
-
<ng-content></ng-content>
|
|
135
|
-
</section>
|
|
136
|
-
</ng-template>
|
|
123
|
+
template: `
|
|
124
|
+
<ng-template #tabContentProjectedRef>
|
|
125
|
+
<section
|
|
126
|
+
[id]="tabContentId"
|
|
127
|
+
role="tabpanel"
|
|
128
|
+
class="tab-content"
|
|
129
|
+
[class.active]="active"
|
|
130
|
+
[hidden]="!active"
|
|
131
|
+
[attr.aria-labelledby]="ariaLabelledBy"
|
|
132
|
+
[attr.aria-hidden]="!active"
|
|
133
|
+
>
|
|
134
|
+
<ng-content></ng-content>
|
|
135
|
+
</section>
|
|
136
|
+
</ng-template>
|
|
137
137
|
`,
|
|
138
138
|
standalone: false,
|
|
139
139
|
}]
|
|
@@ -497,130 +497,130 @@ class HermesTabs {
|
|
|
497
497
|
return this.tabsActions.changes.subscribe(() => this.setTabLinkElements());
|
|
498
498
|
}
|
|
499
499
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HermesTabs, deps: [{ token: i1.IfActiveService }, { token: i2.HermesPopoverService }, { token: TabsService }, { token: TABS_ID }, { token: i1.HermesCommonStringsService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
500
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.22", type: HermesTabs, isStandalone: false, selector: "hermes-tabs", inputs: { layout: ["hermesLayout", "layout"] }, host: { properties: { "class.tabs-vertical": "this.isVertical" } }, providers: [IfActiveService, TabsService, TABS_ID_PROVIDER], queries: [{ propertyName: "tabsActions", predicate: HermesTabAction, descendants: true, read: ElementRef }, { propertyName: "tabs", predicate: HermesTab }], viewQueries: [{ propertyName: "keyFocus", first: true, predicate: HermesKeyFocus, descendants: true, static: true }, { propertyName: "tabOverflowEl", first: true, predicate: HermesTabOverflowContent, descendants: true, read: ElementRef }, { propertyName: "tabContentViewContainer", first: true, predicate: ["tabContentViewContainer"], descendants: true, read: ViewContainerRef, static: true }], hostDirectives: [{ directive: i2.HermesPopoverHostDirective }], ngImport: i0, template: `
|
|
501
|
-
<ul
|
|
502
|
-
class="nav"
|
|
503
|
-
role="tablist"
|
|
504
|
-
[hermesKeyFocus]="tabLinkElements"
|
|
505
|
-
hermesDirection="both"
|
|
506
|
-
(hermesFocusChange)="toggleOverflowOnPosition($event)"
|
|
507
|
-
(focusout)="resetKeyFocusCurrentToActive($event)"
|
|
508
|
-
>
|
|
509
|
-
<!--tab links-->
|
|
510
|
-
@for (link of tabLinkDirectives; track link) {
|
|
511
|
-
@if (link.tabsId === tabsId && !link.inOverflow) {
|
|
512
|
-
<li role="presentation" class="nav-item">
|
|
513
|
-
<ng-container [ngTemplateOutlet]="link.templateRefContainer.template"></ng-container>
|
|
514
|
-
</li>
|
|
515
|
-
}
|
|
516
|
-
}
|
|
517
|
-
@if (tabsService.overflowTabs.length > 0) {
|
|
518
|
-
<div class="tabs-overflow bottom-right" role="presentation" [class.open]="popoverService.open">
|
|
519
|
-
<li role="application" class="nav-item">
|
|
520
|
-
<button
|
|
521
|
-
#tabOverflowTrigger
|
|
522
|
-
class="btn btn-link nav-link dropdown-toggle"
|
|
523
|
-
type="button"
|
|
524
|
-
aria-hidden="true"
|
|
525
|
-
[attr.tabindex]="activeTabInOverflow && !popoverService.open ? 0 : -1"
|
|
526
|
-
[class.active]="activeTabInOverflow"
|
|
527
|
-
[class.open]="popoverService.open"
|
|
528
|
-
(mousedown)="_mousedown = true"
|
|
529
|
-
(focus)="openOverflowOnFocus()"
|
|
530
|
-
(click)="toggleOverflowOnClick()"
|
|
531
|
-
[attr.title]="commonStrings.keys.more"
|
|
532
|
-
>
|
|
533
|
-
<hermes-icon
|
|
534
|
-
shape="ellipsis-horizontal"
|
|
535
|
-
[status]="popoverService.open ? 'info' : null"
|
|
536
|
-
[attr.title]="commonStrings.keys.more"
|
|
537
|
-
></hermes-icon>
|
|
538
|
-
</button>
|
|
539
|
-
</li>
|
|
540
|
-
<!--tab links in overflow menu-->
|
|
541
|
-
@if (popoverService.open) {
|
|
542
|
-
<hermes-tab-overflow-content
|
|
543
|
-
(document:keydown.escape)="closeOnEscapeKey()"
|
|
544
|
-
(document:click)="closeOnOutsideClick($event, tabOverflowTrigger)"
|
|
545
|
-
(focusout)="closeOnFocusOut($event)"
|
|
546
|
-
>
|
|
547
|
-
@for (link of tabLinkDirectives; track link) {
|
|
548
|
-
@if (link.tabsId === tabsId && link.inOverflow) {
|
|
549
|
-
<ng-container [ngTemplateOutlet]="link.templateRefContainer.template"></ng-container>
|
|
550
|
-
}
|
|
551
|
-
}
|
|
552
|
-
</hermes-tab-overflow-content>
|
|
553
|
-
}
|
|
554
|
-
</div>
|
|
555
|
-
}
|
|
556
|
-
<ng-content select="hermes-tabs-actions"></ng-content>
|
|
557
|
-
</ul>
|
|
558
|
-
<ng-container #tabContentViewContainer></ng-container>
|
|
500
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.22", type: HermesTabs, isStandalone: false, selector: "hermes-tabs", inputs: { layout: ["hermesLayout", "layout"] }, host: { properties: { "class.tabs-vertical": "this.isVertical" } }, providers: [IfActiveService, TabsService, TABS_ID_PROVIDER], queries: [{ propertyName: "tabsActions", predicate: HermesTabAction, descendants: true, read: ElementRef }, { propertyName: "tabs", predicate: HermesTab }], viewQueries: [{ propertyName: "keyFocus", first: true, predicate: HermesKeyFocus, descendants: true, static: true }, { propertyName: "tabOverflowEl", first: true, predicate: HermesTabOverflowContent, descendants: true, read: ElementRef }, { propertyName: "tabContentViewContainer", first: true, predicate: ["tabContentViewContainer"], descendants: true, read: ViewContainerRef, static: true }], hostDirectives: [{ directive: i2.HermesPopoverHostDirective }], ngImport: i0, template: `
|
|
501
|
+
<ul
|
|
502
|
+
class="nav"
|
|
503
|
+
role="tablist"
|
|
504
|
+
[hermesKeyFocus]="tabLinkElements"
|
|
505
|
+
hermesDirection="both"
|
|
506
|
+
(hermesFocusChange)="toggleOverflowOnPosition($event)"
|
|
507
|
+
(focusout)="resetKeyFocusCurrentToActive($event)"
|
|
508
|
+
>
|
|
509
|
+
<!--tab links-->
|
|
510
|
+
@for (link of tabLinkDirectives; track link) {
|
|
511
|
+
@if (link.tabsId === tabsId && !link.inOverflow) {
|
|
512
|
+
<li role="presentation" class="nav-item">
|
|
513
|
+
<ng-container [ngTemplateOutlet]="link.templateRefContainer.template"></ng-container>
|
|
514
|
+
</li>
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
@if (tabsService.overflowTabs.length > 0) {
|
|
518
|
+
<div class="tabs-overflow bottom-right" role="presentation" [class.open]="popoverService.open">
|
|
519
|
+
<li role="application" class="nav-item">
|
|
520
|
+
<button
|
|
521
|
+
#tabOverflowTrigger
|
|
522
|
+
class="btn btn-link nav-link dropdown-toggle"
|
|
523
|
+
type="button"
|
|
524
|
+
aria-hidden="true"
|
|
525
|
+
[attr.tabindex]="activeTabInOverflow && !popoverService.open ? 0 : -1"
|
|
526
|
+
[class.active]="activeTabInOverflow"
|
|
527
|
+
[class.open]="popoverService.open"
|
|
528
|
+
(mousedown)="_mousedown = true"
|
|
529
|
+
(focus)="openOverflowOnFocus()"
|
|
530
|
+
(click)="toggleOverflowOnClick()"
|
|
531
|
+
[attr.title]="commonStrings.keys.more"
|
|
532
|
+
>
|
|
533
|
+
<hermes-icon
|
|
534
|
+
shape="ellipsis-horizontal"
|
|
535
|
+
[status]="popoverService.open ? 'info' : null"
|
|
536
|
+
[attr.title]="commonStrings.keys.more"
|
|
537
|
+
></hermes-icon>
|
|
538
|
+
</button>
|
|
539
|
+
</li>
|
|
540
|
+
<!--tab links in overflow menu-->
|
|
541
|
+
@if (popoverService.open) {
|
|
542
|
+
<hermes-tab-overflow-content
|
|
543
|
+
(document:keydown.escape)="closeOnEscapeKey()"
|
|
544
|
+
(document:click)="closeOnOutsideClick($event, tabOverflowTrigger)"
|
|
545
|
+
(focusout)="closeOnFocusOut($event)"
|
|
546
|
+
>
|
|
547
|
+
@for (link of tabLinkDirectives; track link) {
|
|
548
|
+
@if (link.tabsId === tabsId && link.inOverflow) {
|
|
549
|
+
<ng-container [ngTemplateOutlet]="link.templateRefContainer.template"></ng-container>
|
|
550
|
+
}
|
|
551
|
+
}
|
|
552
|
+
</hermes-tab-overflow-content>
|
|
553
|
+
}
|
|
554
|
+
</div>
|
|
555
|
+
}
|
|
556
|
+
<ng-content select="hermes-tabs-actions"></ng-content>
|
|
557
|
+
</ul>
|
|
558
|
+
<ng-container #tabContentViewContainer></ng-container>
|
|
559
559
|
`, isInline: true, dependencies: [{ kind: "directive", type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i5.HermesIcon, selector: "hermes-icon, hermes-icon", inputs: ["shape", "size", "direction", "flip", "solid", "status", "inverse", "badge"] }, { kind: "component", type: i1.HermesKeyFocus, selector: "[hermesKeyFocus]", inputs: ["hermesDirection", "hermesFocusOnLoad", "hermesKeyFocus"], outputs: ["hermesFocusChange"] }, { kind: "component", type: HermesTabOverflowContent, selector: "hermes-tab-overflow-content" }] }); }
|
|
560
560
|
}
|
|
561
561
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HermesTabs, decorators: [{
|
|
562
562
|
type: Component,
|
|
563
563
|
args: [{
|
|
564
564
|
selector: 'hermes-tabs',
|
|
565
|
-
template: `
|
|
566
|
-
<ul
|
|
567
|
-
class="nav"
|
|
568
|
-
role="tablist"
|
|
569
|
-
[hermesKeyFocus]="tabLinkElements"
|
|
570
|
-
hermesDirection="both"
|
|
571
|
-
(hermesFocusChange)="toggleOverflowOnPosition($event)"
|
|
572
|
-
(focusout)="resetKeyFocusCurrentToActive($event)"
|
|
573
|
-
>
|
|
574
|
-
<!--tab links-->
|
|
575
|
-
@for (link of tabLinkDirectives; track link) {
|
|
576
|
-
@if (link.tabsId === tabsId && !link.inOverflow) {
|
|
577
|
-
<li role="presentation" class="nav-item">
|
|
578
|
-
<ng-container [ngTemplateOutlet]="link.templateRefContainer.template"></ng-container>
|
|
579
|
-
</li>
|
|
580
|
-
}
|
|
581
|
-
}
|
|
582
|
-
@if (tabsService.overflowTabs.length > 0) {
|
|
583
|
-
<div class="tabs-overflow bottom-right" role="presentation" [class.open]="popoverService.open">
|
|
584
|
-
<li role="application" class="nav-item">
|
|
585
|
-
<button
|
|
586
|
-
#tabOverflowTrigger
|
|
587
|
-
class="btn btn-link nav-link dropdown-toggle"
|
|
588
|
-
type="button"
|
|
589
|
-
aria-hidden="true"
|
|
590
|
-
[attr.tabindex]="activeTabInOverflow && !popoverService.open ? 0 : -1"
|
|
591
|
-
[class.active]="activeTabInOverflow"
|
|
592
|
-
[class.open]="popoverService.open"
|
|
593
|
-
(mousedown)="_mousedown = true"
|
|
594
|
-
(focus)="openOverflowOnFocus()"
|
|
595
|
-
(click)="toggleOverflowOnClick()"
|
|
596
|
-
[attr.title]="commonStrings.keys.more"
|
|
597
|
-
>
|
|
598
|
-
<hermes-icon
|
|
599
|
-
shape="ellipsis-horizontal"
|
|
600
|
-
[status]="popoverService.open ? 'info' : null"
|
|
601
|
-
[attr.title]="commonStrings.keys.more"
|
|
602
|
-
></hermes-icon>
|
|
603
|
-
</button>
|
|
604
|
-
</li>
|
|
605
|
-
<!--tab links in overflow menu-->
|
|
606
|
-
@if (popoverService.open) {
|
|
607
|
-
<hermes-tab-overflow-content
|
|
608
|
-
(document:keydown.escape)="closeOnEscapeKey()"
|
|
609
|
-
(document:click)="closeOnOutsideClick($event, tabOverflowTrigger)"
|
|
610
|
-
(focusout)="closeOnFocusOut($event)"
|
|
611
|
-
>
|
|
612
|
-
@for (link of tabLinkDirectives; track link) {
|
|
613
|
-
@if (link.tabsId === tabsId && link.inOverflow) {
|
|
614
|
-
<ng-container [ngTemplateOutlet]="link.templateRefContainer.template"></ng-container>
|
|
615
|
-
}
|
|
616
|
-
}
|
|
617
|
-
</hermes-tab-overflow-content>
|
|
618
|
-
}
|
|
619
|
-
</div>
|
|
620
|
-
}
|
|
621
|
-
<ng-content select="hermes-tabs-actions"></ng-content>
|
|
622
|
-
</ul>
|
|
623
|
-
<ng-container #tabContentViewContainer></ng-container>
|
|
565
|
+
template: `
|
|
566
|
+
<ul
|
|
567
|
+
class="nav"
|
|
568
|
+
role="tablist"
|
|
569
|
+
[hermesKeyFocus]="tabLinkElements"
|
|
570
|
+
hermesDirection="both"
|
|
571
|
+
(hermesFocusChange)="toggleOverflowOnPosition($event)"
|
|
572
|
+
(focusout)="resetKeyFocusCurrentToActive($event)"
|
|
573
|
+
>
|
|
574
|
+
<!--tab links-->
|
|
575
|
+
@for (link of tabLinkDirectives; track link) {
|
|
576
|
+
@if (link.tabsId === tabsId && !link.inOverflow) {
|
|
577
|
+
<li role="presentation" class="nav-item">
|
|
578
|
+
<ng-container [ngTemplateOutlet]="link.templateRefContainer.template"></ng-container>
|
|
579
|
+
</li>
|
|
580
|
+
}
|
|
581
|
+
}
|
|
582
|
+
@if (tabsService.overflowTabs.length > 0) {
|
|
583
|
+
<div class="tabs-overflow bottom-right" role="presentation" [class.open]="popoverService.open">
|
|
584
|
+
<li role="application" class="nav-item">
|
|
585
|
+
<button
|
|
586
|
+
#tabOverflowTrigger
|
|
587
|
+
class="btn btn-link nav-link dropdown-toggle"
|
|
588
|
+
type="button"
|
|
589
|
+
aria-hidden="true"
|
|
590
|
+
[attr.tabindex]="activeTabInOverflow && !popoverService.open ? 0 : -1"
|
|
591
|
+
[class.active]="activeTabInOverflow"
|
|
592
|
+
[class.open]="popoverService.open"
|
|
593
|
+
(mousedown)="_mousedown = true"
|
|
594
|
+
(focus)="openOverflowOnFocus()"
|
|
595
|
+
(click)="toggleOverflowOnClick()"
|
|
596
|
+
[attr.title]="commonStrings.keys.more"
|
|
597
|
+
>
|
|
598
|
+
<hermes-icon
|
|
599
|
+
shape="ellipsis-horizontal"
|
|
600
|
+
[status]="popoverService.open ? 'info' : null"
|
|
601
|
+
[attr.title]="commonStrings.keys.more"
|
|
602
|
+
></hermes-icon>
|
|
603
|
+
</button>
|
|
604
|
+
</li>
|
|
605
|
+
<!--tab links in overflow menu-->
|
|
606
|
+
@if (popoverService.open) {
|
|
607
|
+
<hermes-tab-overflow-content
|
|
608
|
+
(document:keydown.escape)="closeOnEscapeKey()"
|
|
609
|
+
(document:click)="closeOnOutsideClick($event, tabOverflowTrigger)"
|
|
610
|
+
(focusout)="closeOnFocusOut($event)"
|
|
611
|
+
>
|
|
612
|
+
@for (link of tabLinkDirectives; track link) {
|
|
613
|
+
@if (link.tabsId === tabsId && link.inOverflow) {
|
|
614
|
+
<ng-container [ngTemplateOutlet]="link.templateRefContainer.template"></ng-container>
|
|
615
|
+
}
|
|
616
|
+
}
|
|
617
|
+
</hermes-tab-overflow-content>
|
|
618
|
+
}
|
|
619
|
+
</div>
|
|
620
|
+
}
|
|
621
|
+
<ng-content select="hermes-tabs-actions"></ng-content>
|
|
622
|
+
</ul>
|
|
623
|
+
<ng-container #tabContentViewContainer></ng-container>
|
|
624
624
|
`,
|
|
625
625
|
providers: [IfActiveService, TabsService, TABS_ID_PROVIDER],
|
|
626
626
|
hostDirectives: [HermesPopoverHostDirective],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hermes-ui-angular-layout-tabs.mjs","sources":["../../../layout/tabs/enums/tabs-layout.enum.ts","../../../layout/tabs/providers/tabs.service.ts","../../../layout/tabs/tab-content.ts","../../../layout/tabs/tabs-id.provider.ts","../../../layout/tabs/tab-link.directive.ts","../../../layout/tabs/tab.ts","../../../layout/tabs/tab-action.directive.ts","../../../layout/tabs/tab-overflow-content.ts","../../../layout/tabs/tabs.ts","../../../layout/tabs/tabs-actions.ts","../../../layout/tabs/chocolate/tabs-willy-wonka.ts","../../../layout/tabs/chocolate/active-oompa-loompa.ts","../../../layout/tabs/tabs.module.ts","../../../layout/tabs/index.ts","../../../layout/tabs/hermes-ui-angular-layout-tabs.ts"],"sourcesContent":["/*\r\n * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.\r\n * The term \"Broadcom\" refers to Broadcom Inc. and/or its subsidiaries.\r\n * This software is released under MIT license.\r\n * The full license information can be found in LICENSE in the root directory of this project.\r\n */\r\n\r\nexport enum TabsLayout {\r\n HORIZONTAL = 'horizontal',\r\n VERTICAL = 'vertical',\r\n}\r\n","/*\r\n * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.\r\n * The term \"Broadcom\" refers to Broadcom Inc. and/or its subsidiaries.\r\n * This software is released under MIT license.\r\n * The full license information can be found in LICENSE in the root directory of this project.\r\n */\r\n\r\nimport { Injectable, ViewContainerRef } from '@angular/core';\r\n\r\nimport { TabsLayout } from '../enums/tabs-layout.enum';\r\nimport { HermesTab } from '../tab';\r\n\r\n@Injectable()\r\nexport class TabsService {\r\n layout: TabsLayout | string = TabsLayout.HORIZONTAL;\r\n tabContentViewContainer: ViewContainerRef;\r\n\r\n private _children: HermesTab[] = [];\r\n\r\n get children() {\r\n return this._children;\r\n }\r\n\r\n get activeTab() {\r\n return this.children.find((tab: HermesTab) => {\r\n return tab.active;\r\n });\r\n }\r\n\r\n get overflowTabs() {\r\n if (this.layout === TabsLayout.VERTICAL) {\r\n return [];\r\n } else {\r\n return this.children.filter((tab: HermesTab) => tab.tabLink.inOverflow === true);\r\n }\r\n }\r\n\r\n register(tab: HermesTab) {\r\n this._children.push(tab);\r\n }\r\n\r\n unregister(tab: HermesTab) {\r\n const index = this.children.indexOf(tab);\r\n if (index > -1) {\r\n this.children.splice(index, 1);\r\n }\r\n }\r\n}\r\n","/*\n * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.\n * The term \"Broadcom\" refers to Broadcom Inc. and/or its subsidiaries.\n * This software is released under MIT license.\n * The full license information can be found in LICENSE in the root directory of this project.\n */\n\nimport { Component, EmbeddedViewRef, Inject, Input, OnDestroy, TemplateRef, ViewChild } from '@angular/core';\nimport { IF_ACTIVE_ID, IfActiveService } from '@hermes-ui/angular/utils';\n\nimport { TabsService } from './providers/tabs.service';\n\nlet nbTabContentComponents = 0;\n\n@Component({\n selector: 'hermes-tab-content',\n template: `\n <ng-template #tabContentProjectedRef>\n <section\n [id]=\"tabContentId\"\n role=\"tabpanel\"\n class=\"tab-content\"\n [class.active]=\"active\"\n [hidden]=\"!active\"\n [attr.aria-labelledby]=\"ariaLabelledBy\"\n [attr.aria-hidden]=\"!active\"\n >\n <ng-content></ng-content>\n </section>\n </ng-template>\n `,\n standalone: false,\n})\nexport class HermesTabContent implements OnDestroy {\n @Input('id') tabContentId: string;\n\n private viewRef: EmbeddedViewRef<HermesTabContent>;\n\n constructor(\n public ifActiveService: IfActiveService,\n @Inject(IF_ACTIVE_ID) public id: number,\n private tabsService: TabsService\n ) {\n if (!this.tabContentId) {\n this.tabContentId = 'hermes-tab-content-' + nbTabContentComponents++;\n }\n }\n\n get active() {\n return this.ifActiveService.current === this.id;\n }\n\n get ariaLabelledBy(): string {\n return this.tabsService.children.find(tab => tab.tabLink.id === this.id)?.tabLink?.tabLinkId;\n }\n\n // The template must be applied on the top-down phase of view-child initialization to prevent\n // components in the content from initializing before a content container exists.\n // Some child components need their container for sizing calculations.\n @ViewChild('tabContentProjectedRef', { static: true })\n private set templateRef(value: TemplateRef<HermesTabContent>) {\n this.viewRef = this.tabsService.tabContentViewContainer.createEmbeddedView(value);\n }\n\n ngOnDestroy(): void {\n const index = this.tabsService.tabContentViewContainer.indexOf(this.viewRef);\n if (index > -1) {\n this.tabsService.tabContentViewContainer.remove(index);\n }\n }\n}\n","/*\r\n * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.\r\n * The term \"Broadcom\" refers to Broadcom Inc. and/or its subsidiaries.\r\n * This software is released under MIT license.\r\n * The full license information can be found in LICENSE in the root directory of this project.\r\n */\r\n\r\nimport { InjectionToken } from '@angular/core';\r\n\r\nlet nbTabsComponent = 0;\r\n\r\nexport const TABS_ID = new InjectionToken<number>('TABS_ID');\r\n\r\nexport function tokenFactory() {\r\n return 'hermes-tabs-' + nbTabsComponent++;\r\n}\r\n\r\nexport const TABS_ID_PROVIDER = {\r\n provide: TABS_ID,\r\n useFactory: tokenFactory,\r\n};\r\n","/*\n * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.\n * The term \"Broadcom\" refers to Broadcom Inc. and/or its subsidiaries.\n * This software is released under MIT license.\n * The full license information can be found in LICENSE in the root directory of this project.\n */\n\nimport { Directive, ElementRef, HostBinding, HostListener, Inject, Input, ViewContainerRef } from '@angular/core';\nimport { IF_ACTIVE_ID, IfActiveService, TemplateRefContainer } from '@hermes-ui/angular/utils';\n\nimport { TabsLayout } from './enums/tabs-layout.enum';\nimport { TabsService } from './providers/tabs.service';\nimport { TABS_ID } from './tabs-id.provider';\n\nlet nbTabLinkComponents = 0;\n\n@Directive({\n selector: '[hermesTabLink]',\n host: {\n '[class.btn]': 'true',\n role: 'tab',\n type: 'button',\n },\n standalone: false,\n})\nexport class HermesTabLink {\n @Input('id') @HostBinding('id') tabLinkId: string;\n\n templateRefContainer: TemplateRefContainer;\n\n private _inOverflow: boolean;\n\n constructor(\n public ifActiveService: IfActiveService,\n @Inject(IF_ACTIVE_ID) readonly id: number,\n public el: ElementRef<HTMLElement>,\n viewContainerRef: ViewContainerRef,\n private tabsService: TabsService,\n @Inject(TABS_ID) public tabsId: number\n ) {\n if (!this.tabLinkId) {\n this.tabLinkId = 'hermes-tab-link-' + nbTabLinkComponents++;\n }\n\n // Tab links can be rendered in one of two places: in the main area or inside the overflow dropdown menu.\n // Here, we create a container so that its template can be used to create embeddedView on the fly.\n // See TabsService's renderView() method and how it's used in Tabs class for an example.\n this.templateRefContainer = viewContainerRef.createComponent(TemplateRefContainer, {\n projectableNodes: [[el.nativeElement]],\n }).instance;\n }\n\n @Input('hermesTabLinkInOverflow')\n get inOverflow(): boolean {\n return this._inOverflow && this.tabsService.layout !== TabsLayout.VERTICAL;\n }\n set inOverflow(inOverflow) {\n this._inOverflow = inOverflow;\n }\n\n @HostBinding('class.btn-link')\n @HostBinding('class.nav-link')\n get addLinkClasses() {\n return !this.inOverflow;\n }\n\n @HostBinding('attr.aria-controls')\n get ariaControls(): string {\n return this.tabsService.children.find(tab => tab.tabLink === this)?.tabContent?.tabContentId;\n }\n\n @HostBinding('class.active')\n @HostBinding('attr.aria-selected')\n get active() {\n return this.ifActiveService.current === this.id;\n }\n\n @HostBinding('attr.tabindex')\n get tabindex(): 0 | -1 {\n return this.active ? 0 : -1;\n }\n\n @HostListener('click')\n activate() {\n this.ifActiveService.current = this.id;\n }\n}\n","/*\n * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.\n * The term \"Broadcom\" refers to Broadcom Inc. and/or its subsidiaries.\n * This software is released under MIT license.\n * The full license information can be found in LICENSE in the root directory of this project.\n */\n\nimport { Component, ContentChild, Inject } from '@angular/core';\nimport { IF_ACTIVE_ID, IF_ACTIVE_ID_PROVIDER, IfActiveService } from '@hermes-ui/angular/utils';\n\nimport { TabsService } from './providers/tabs.service';\nimport { HermesTabContent } from './tab-content';\nimport { HermesTabLink } from './tab-link.directive';\n\n@Component({\n selector: 'hermes-tab',\n template: `<ng-content></ng-content>`,\n providers: [IF_ACTIVE_ID_PROVIDER],\n standalone: false,\n})\nexport class HermesTab {\n @ContentChild(HermesTabLink, { static: true }) tabLink: HermesTabLink;\n @ContentChild(HermesTabContent, { static: true }) tabContent: HermesTabContent;\n\n constructor(\n public ifActiveService: IfActiveService,\n @Inject(IF_ACTIVE_ID) public id: number,\n private tabsService: TabsService\n ) {\n tabsService.register(this);\n }\n\n get active() {\n return this.ifActiveService.current === this.id;\n }\n\n ngOnDestroy() {\n this.tabsService.unregister(this);\n }\n}\n","/*\r\n * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.\r\n * The term \"Broadcom\" refers to Broadcom Inc. and/or its subsidiaries.\r\n * This software is released under MIT license.\r\n * The full license information can be found in LICENSE in the root directory of this project.\r\n */\r\n\r\nimport { Directive } from '@angular/core';\r\n\r\n@Directive({\r\n selector: '[hermesTabAction]',\r\n host: {\r\n tabindex: '0',\r\n },\r\n standalone: false,\r\n})\r\nexport class HermesTabAction {}\r\n","/*\r\n * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.\r\n * The term \"Broadcom\" refers to Broadcom Inc. and/or its subsidiaries.\r\n * This software is released under MIT license.\r\n * The full license information can be found in LICENSE in the root directory of this project.\r\n */\r\n\r\nimport { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'hermes-tab-overflow-content',\r\n template: `<ng-content></ng-content>`,\r\n host: {\r\n '[class.dropdown-menu]': 'true',\r\n },\r\n standalone: false,\r\n})\r\nexport class HermesTabOverflowContent {}\r\n","/*\n * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.\n * The term \"Broadcom\" refers to Broadcom Inc. and/or its subsidiaries.\n * This software is released under MIT license.\n * The full license information can be found in LICENSE in the root directory of this project.\n */\n\nimport {\n AfterContentInit,\n Component,\n ContentChildren,\n ElementRef,\n HostBinding,\n Inject,\n Input,\n OnDestroy,\n QueryList,\n ViewChild,\n ViewContainerRef,\n} from '@angular/core';\nimport { HermesPopoverHostDirective, HermesPopoverService } from '@hermes-ui/angular/popover/common';\nimport { HermesCommonStringsService, HermesKeyFocus, IfActiveService } from '@hermes-ui/angular/utils';\nimport { Subscription } from 'rxjs';\nimport { startWith } from 'rxjs/operators';\n\nimport { TabsLayout } from './enums/tabs-layout.enum';\nimport { TabsService } from './providers/tabs.service';\nimport { HermesTab } from './tab';\nimport { HermesTabAction } from './tab-action.directive';\nimport { HermesTabLink } from './tab-link.directive';\nimport { HermesTabOverflowContent } from './tab-overflow-content';\nimport { TABS_ID, TABS_ID_PROVIDER } from './tabs-id.provider';\n@Component({\n selector: 'hermes-tabs',\n template: `\n <ul\n class=\"nav\"\n role=\"tablist\"\n [hermesKeyFocus]=\"tabLinkElements\"\n hermesDirection=\"both\"\n (hermesFocusChange)=\"toggleOverflowOnPosition($event)\"\n (focusout)=\"resetKeyFocusCurrentToActive($event)\"\n >\n <!--tab links-->\n @for (link of tabLinkDirectives; track link) {\n @if (link.tabsId === tabsId && !link.inOverflow) {\n <li role=\"presentation\" class=\"nav-item\">\n <ng-container [ngTemplateOutlet]=\"link.templateRefContainer.template\"></ng-container>\n </li>\n }\n }\n @if (tabsService.overflowTabs.length > 0) {\n <div class=\"tabs-overflow bottom-right\" role=\"presentation\" [class.open]=\"popoverService.open\">\n <li role=\"application\" class=\"nav-item\">\n <button\n #tabOverflowTrigger\n class=\"btn btn-link nav-link dropdown-toggle\"\n type=\"button\"\n aria-hidden=\"true\"\n [attr.tabindex]=\"activeTabInOverflow && !popoverService.open ? 0 : -1\"\n [class.active]=\"activeTabInOverflow\"\n [class.open]=\"popoverService.open\"\n (mousedown)=\"_mousedown = true\"\n (focus)=\"openOverflowOnFocus()\"\n (click)=\"toggleOverflowOnClick()\"\n [attr.title]=\"commonStrings.keys.more\"\n >\n <hermes-icon\n shape=\"ellipsis-horizontal\"\n [status]=\"popoverService.open ? 'info' : null\"\n [attr.title]=\"commonStrings.keys.more\"\n ></hermes-icon>\n </button>\n </li>\n <!--tab links in overflow menu-->\n @if (popoverService.open) {\n <hermes-tab-overflow-content\n (document:keydown.escape)=\"closeOnEscapeKey()\"\n (document:click)=\"closeOnOutsideClick($event, tabOverflowTrigger)\"\n (focusout)=\"closeOnFocusOut($event)\"\n >\n @for (link of tabLinkDirectives; track link) {\n @if (link.tabsId === tabsId && link.inOverflow) {\n <ng-container [ngTemplateOutlet]=\"link.templateRefContainer.template\"></ng-container>\n }\n }\n </hermes-tab-overflow-content>\n }\n </div>\n }\n <ng-content select=\"hermes-tabs-actions\"></ng-content>\n </ul>\n <ng-container #tabContentViewContainer></ng-container>\n `,\n providers: [IfActiveService, TabsService, TABS_ID_PROVIDER],\n hostDirectives: [HermesPopoverHostDirective],\n standalone: false,\n})\nexport class HermesTabs implements AfterContentInit, OnDestroy {\n tabLinkElements: HTMLElement[] = [];\n\n // in order to check focus is triggered by click\n // we are using this _mousedown flag\n _mousedown = false;\n\n @ViewChild(HermesKeyFocus, { static: true }) keyFocus: HermesKeyFocus;\n\n @ContentChildren(HermesTabAction, { read: ElementRef, descendants: true }) tabsActions: QueryList<ElementRef>;\n @ContentChildren(HermesTab) private tabs: QueryList<HermesTab>;\n\n private subscriptions: Subscription[] = [];\n private _tabOverflowEl: HTMLElement;\n private _tabLinkDirectives: HermesTabLink[] = [];\n\n constructor(\n public ifActiveService: IfActiveService,\n public popoverService: HermesPopoverService,\n public tabsService: TabsService,\n @Inject(TABS_ID) public tabsId: number,\n public commonStrings: HermesCommonStringsService\n ) {}\n\n @Input('hermesLayout')\n get layout(): TabsLayout | string {\n return this.tabsService.layout;\n }\n set layout(layout: TabsLayout | string) {\n if (\n Object.keys(TabsLayout)\n .map(key => {\n return (TabsLayout as Record<string, any>)[key];\n })\n .indexOf(layout) >= 0\n ) {\n this.tabsService.layout = layout;\n }\n }\n\n get tabLinkDirectives(): HermesTabLink[] {\n return this._tabLinkDirectives;\n }\n\n get activeTabInOverflow() {\n return this.tabsService.overflowTabs.indexOf(this.tabsService.activeTab) > -1;\n }\n\n get activeTabPosition() {\n return this._tabLinkDirectives.findIndex(link => link.active);\n }\n\n get isCurrentInOverflow() {\n return this.keyFocus.current >= this.overflowPosition;\n }\n\n @HostBinding('class.tabs-vertical')\n get isVertical() {\n return this.layout === TabsLayout.VERTICAL;\n }\n\n @ViewChild(HermesTabOverflowContent, { read: ElementRef })\n set tabOverflowEl(value: ElementRef<HTMLElement>) {\n this._tabOverflowEl = value && value.nativeElement;\n if (this.popoverService.open && value) {\n // only when tab overflow view element is registered,\n // we need to move the focus to the first item\n this.keyFocus.focusCurrent();\n }\n }\n\n private get overflowPosition() {\n return this._tabLinkDirectives.filter(link => !link.inOverflow).length;\n }\n\n @ViewChild('tabContentViewContainer', { static: true, read: ViewContainerRef })\n private set tabContentViewContainer(value: ViewContainerRef) {\n this.tabsService.tabContentViewContainer = value;\n }\n\n ngAfterContentInit() {\n this.subscriptions.push(this.listenForTabLinkChanges());\n this.subscriptions.push(this.listedForTabsActionsChanges());\n\n if (typeof this.ifActiveService.current === 'undefined' && this.tabLinkDirectives[0]) {\n this.tabLinkDirectives[0].activate();\n }\n\n // set initial current position\n this.keyFocus.current = this.activeTabPosition;\n }\n\n ngOnDestroy() {\n this.subscriptions.forEach(sub => {\n sub.unsubscribe();\n });\n }\n\n toggleOverflowOnPosition(position: number) {\n // we need to check current position to determine\n // whether we need to open the tab overflow or not\n this.popoverService.open = position >= this.overflowPosition;\n }\n\n resetKeyFocusCurrentToActive(event: FocusEvent) {\n const keyFocusContainsFocus = this.keyFocus.nativeElement.contains(event.relatedTarget as HTMLElement);\n if (!keyFocusContainsFocus && this.keyFocus.current !== this.activeTabPosition) {\n this.keyFocus.current = this.activeTabPosition;\n }\n }\n\n toggleOverflowOnClick() {\n if (this.isCurrentInOverflow && this.popoverService.open) {\n this.keyFocus.moveTo(this.overflowPosition - 1);\n } else {\n this.keyFocus.moveTo(this.overflowPosition);\n }\n\n // once click handler completes running,\n // reset the _mousedown flag\n this._mousedown = false;\n }\n\n openOverflowOnFocus() {\n // This method should be called only on keyboard generated focus\n // when the active tab is in the overflow\n if (!this._mousedown && !this.popoverService.open) {\n this.keyFocus.moveTo(this.activeTabPosition);\n }\n }\n\n closeOnFocusOut(event: FocusEvent) {\n if (\n !this._tabOverflowEl.contains(event.relatedTarget as HTMLElement) &&\n this.popoverService.open &&\n !this._mousedown\n ) {\n this.popoverService.open = false;\n\n // if the focus is out of overflow and lands on the active tab link\n // which is currently visible, set the key focus current to activeTabPosition\n if (this.tabLinkElements[this.activeTabPosition] === event.relatedTarget) {\n this.keyFocus.current = this.activeTabPosition;\n }\n }\n }\n\n closeOnEscapeKey() {\n // Move current to the last visible focusable item\n this.keyFocus.moveTo(this.overflowPosition - 1);\n }\n\n closeOnOutsideClick(event: Event, tabOverflowTrigger: HTMLElement) {\n // Exit early if the event target is the trigger element itself or element that's inside the trigger element.\n // This is because we have another handler on the tabOverflowTrigger element itself.\n // As this handler method is on the document level so the event bubbles up to it and conflicts\n // with the tabOverflowTrigger handler resulting in opening the tab overflow and closing it right away consecutively.\n const isTabsAction = this.tabsActions.some(action =>\n (action.nativeElement as HTMLElement).contains(event.target as HTMLElement)\n );\n if (\n event.target === tabOverflowTrigger ||\n tabOverflowTrigger.contains(event.target as HTMLElement) ||\n isTabsAction\n ) {\n return;\n }\n\n // Move current to the last visible focusable item\n if (!this._tabOverflowEl.contains(event.target as HTMLElement) && this.isCurrentInOverflow) {\n this.keyFocus.moveTo(this.overflowPosition - 1);\n }\n }\n\n private setTabLinkElements() {\n this._tabLinkDirectives = this.tabs.map(tab => tab.tabLink);\n this.tabLinkElements = this._tabLinkDirectives.map(tab => tab.el.nativeElement);\n if (this.tabsActions && this.tabsActions) {\n this.tabLinkElements.push(...this.tabsActions.map(action => action.nativeElement));\n }\n }\n\n private listenForTabLinkChanges() {\n return this.tabs.changes\n .pipe(startWith(this.tabs.map(tab => tab.tabLink)))\n .subscribe(() => this.setTabLinkElements());\n }\n\n private listedForTabsActionsChanges() {\n return this.tabsActions.changes.subscribe(() => this.setTabLinkElements());\n }\n}\n","/*\r\n * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.\r\n * The term \"Broadcom\" refers to Broadcom Inc. and/or its subsidiaries.\r\n * This software is released under MIT license.\r\n * The full license information can be found in LICENSE in the root directory of this project.\r\n */\r\n\r\nimport { Component, HostBinding, Input } from '@angular/core';\r\n\r\nexport type HermesTabsActionsPosition = 'left' | 'right';\r\n\r\n@Component({\r\n selector: 'hermes-tabs-actions',\r\n template: `\r\n <div class=\"tabs-actions-wrapper\">\r\n <ng-content></ng-content>\r\n </div>\r\n `,\r\n host: {\r\n '[class.tabs-actions]': 'true',\r\n },\r\n standalone: false,\r\n})\r\nexport class HermesTabsActions {\r\n @Input()\r\n @HostBinding('attr.position')\r\n position: HermesTabsActionsPosition = 'right';\r\n}\r\n","/*\n * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.\n * The term \"Broadcom\" refers to Broadcom Inc. and/or its subsidiaries.\n * This software is released under MIT license.\n * The full license information can be found in LICENSE in the root directory of this project.\n */\n\nimport { Directive } from '@angular/core';\nimport { WillyWonka } from '@hermes-ui/angular/utils';\n\n@Directive({\n selector: 'hermes-tabs',\n standalone: false,\n})\nexport class TabsWillyWonka extends WillyWonka {}\n","/*\n * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.\n * The term \"Broadcom\" refers to Broadcom Inc. and/or its subsidiaries.\n * This software is released under MIT license.\n * The full license information can be found in LICENSE in the root directory of this project.\n */\n\nimport { ChangeDetectorRef, Directive, Inject, Optional } from '@angular/core';\nimport { IF_ACTIVE_ID, IfActiveService, OompaLoompa } from '@hermes-ui/angular/utils';\n\nimport { TabsWillyWonka } from './tabs-willy-wonka';\n\n@Directive({\n selector: '[hermesTabLink], hermes-tab-content',\n standalone: false,\n})\nexport class ActiveOompaLoompa extends OompaLoompa {\n private ifActive: IfActiveService;\n private id: number;\n\n constructor(\n cdr: ChangeDetectorRef,\n @Optional() willyWonka: TabsWillyWonka,\n @Inject(IF_ACTIVE_ID) id: number,\n ifActive: IfActiveService\n ) {\n if (!willyWonka) {\n throw new Error('hermesTabLink and hermes-tab-content should only be used inside of a hermes-tabs');\n }\n super(cdr, willyWonka);\n this.ifActive = ifActive;\n this.id = id;\n }\n\n get flavor() {\n return this.ifActive.current === this.id;\n }\n}\n","/*\n * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.\n * The term \"Broadcom\" refers to Broadcom Inc. and/or its subsidiaries.\n * This software is released under MIT license.\n * The full license information can be found in LICENSE in the root directory of this project.\n */\n\nimport { CommonModule } from '@angular/common';\nimport { NgModule, Type } from '@angular/core';\nimport { ClarityIcons, HermesIcon, ellipsisHorizontalIcon } from '@hermes-ui/angular/icon';\nimport { HermesConditionalModule, HermesKeyFocusModule, HermesTemplateRefModule } from '@hermes-ui/angular/utils';\n\nimport { ActiveOompaLoompa } from './chocolate/active-oompa-loompa';\nimport { TabsWillyWonka } from './chocolate/tabs-willy-wonka';\nimport { HermesTab } from './tab';\nimport { HermesTabAction } from './tab-action.directive';\nimport { HermesTabContent } from './tab-content';\nimport { HermesTabLink } from './tab-link.directive';\nimport { HermesTabOverflowContent } from './tab-overflow-content';\nimport { HermesTabs } from './tabs';\nimport { HermesTabsActions } from './tabs-actions';\n\nexport const HERMES_TABS_DIRECTIVES: Type<any>[] = [\n HermesTabContent,\n HermesTab,\n HermesTabs,\n HermesTabOverflowContent,\n HermesTabLink,\n HermesTabAction,\n HermesTabsActions,\n TabsWillyWonka,\n ActiveOompaLoompa,\n];\n\n@NgModule({\n imports: [CommonModule, HermesConditionalModule, HermesIcon, HermesTemplateRefModule, HermesKeyFocusModule],\n declarations: [HERMES_TABS_DIRECTIVES],\n exports: [HERMES_TABS_DIRECTIVES, HermesConditionalModule],\n})\nexport class HermesTabsModule {\n constructor() {\n ClarityIcons.addIcons(ellipsisHorizontalIcon);\n }\n}\n","/*\r\n * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.\r\n * The term \"Broadcom\" refers to Broadcom Inc. and/or its subsidiaries.\r\n * This software is released under MIT license.\r\n * The full license information can be found in LICENSE in the root directory of this project.\r\n */\r\n\r\nexport * from './tabs';\r\nexport * from './tabs-actions';\r\nexport * from './tab';\r\nexport * from './tab-content';\r\nexport * from './tab-overflow-content';\r\nexport * from './tab-link.directive';\r\nexport * from './tab-action.directive';\r\nexport * from './tabs.module';\r\nexport * from './tabs-actions';\r\nexport * from './chocolate/tabs-willy-wonka';\r\nexport * from './chocolate/active-oompa-loompa';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i2.TabsService","i6.HermesTabOverflowContent","i2"],"mappings":";;;;;;;;;;;;AAAA;;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AAA,CAAA,CAAA;AAAhB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,iBAhB3B,gBAAgB;YAChB,SAAS;YACT,UAAU;YACV,wBAAwB;YACxB,aAAa;YACb,eAAe;YACf,iBAAiB;YACjB,cAAc;YACd,iBAAiB,CAAA,EAAA,OAAA,EAAA,CAIP,YAAY,EAAE,uBAAuB,EAAE,UAAU,EAAE,uBAAuB,EAAE,oBAAoB,CAAA,EAAA,OAAA,EAAA,CAZ1G,gBAAgB;YAChB,SAAS;YACT,UAAU;YACV,wBAAwB;YACxB,aAAa;YACb,eAAe;YACf,iBAAiB;YACjB,cAAc;AACd,YAAA,iBAAiB,EAMiB,uBAAuB,CAAA,EAAA,CAAA,CAAA;gHAE9C,gBAAgB,EAAA,OAAA,EAAA,CAJjB,YAAY,EAAE,uBAAuB,EAAE,UAAU,EAAE,uBAAuB,EAAE,oBAAoB,EAExE,uBAAuB,CAAA,EAAA,CAAA,CAAA;;4FAE9C,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAL5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,YAAY,EAAE,uBAAuB,EAAE,UAAU,EAAE,uBAAuB,EAAE,oBAAoB,CAAC;oBAC3G,YAAY,EAAE,CAAC,sBAAsB,CAAC;AACtC,oBAAA,OAAO,EAAE,CAAC,sBAAsB,EAAE,uBAAuB,CAAC;AAC3D,iBAAA;;;ACtCD;;;;;AAKG;;ACLH;;AAEG;;"}
|
|
1
|
+
{"version":3,"file":"hermes-ui-angular-layout-tabs.mjs","sources":["../../../layout/tabs/enums/tabs-layout.enum.ts","../../../layout/tabs/providers/tabs.service.ts","../../../layout/tabs/tab-content.ts","../../../layout/tabs/tabs-id.provider.ts","../../../layout/tabs/tab-link.directive.ts","../../../layout/tabs/tab.ts","../../../layout/tabs/tab-action.directive.ts","../../../layout/tabs/tab-overflow-content.ts","../../../layout/tabs/tabs.ts","../../../layout/tabs/tabs-actions.ts","../../../layout/tabs/chocolate/tabs-willy-wonka.ts","../../../layout/tabs/chocolate/active-oompa-loompa.ts","../../../layout/tabs/tabs.module.ts","../../../layout/tabs/index.ts","../../../layout/tabs/hermes-ui-angular-layout-tabs.ts"],"sourcesContent":["/*\r\n * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.\r\n * The term \"Broadcom\" refers to Broadcom Inc. and/or its subsidiaries.\r\n * This software is released under MIT license.\r\n * The full license information can be found in LICENSE in the root directory of this project.\r\n */\r\n\r\nexport enum TabsLayout {\r\n HORIZONTAL = 'horizontal',\r\n VERTICAL = 'vertical',\r\n}\r\n","/*\r\n * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.\r\n * The term \"Broadcom\" refers to Broadcom Inc. and/or its subsidiaries.\r\n * This software is released under MIT license.\r\n * The full license information can be found in LICENSE in the root directory of this project.\r\n */\r\n\r\nimport { Injectable, ViewContainerRef } from '@angular/core';\r\n\r\nimport { TabsLayout } from '../enums/tabs-layout.enum';\r\nimport { HermesTab } from '../tab';\r\n\r\n@Injectable()\r\nexport class TabsService {\r\n layout: TabsLayout | string = TabsLayout.HORIZONTAL;\r\n tabContentViewContainer: ViewContainerRef;\r\n\r\n private _children: HermesTab[] = [];\r\n\r\n get children() {\r\n return this._children;\r\n }\r\n\r\n get activeTab() {\r\n return this.children.find((tab: HermesTab) => {\r\n return tab.active;\r\n });\r\n }\r\n\r\n get overflowTabs() {\r\n if (this.layout === TabsLayout.VERTICAL) {\r\n return [];\r\n } else {\r\n return this.children.filter((tab: HermesTab) => tab.tabLink.inOverflow === true);\r\n }\r\n }\r\n\r\n register(tab: HermesTab) {\r\n this._children.push(tab);\r\n }\r\n\r\n unregister(tab: HermesTab) {\r\n const index = this.children.indexOf(tab);\r\n if (index > -1) {\r\n this.children.splice(index, 1);\r\n }\r\n }\r\n}\r\n","/*\r\n * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.\r\n * The term \"Broadcom\" refers to Broadcom Inc. and/or its subsidiaries.\r\n * This software is released under MIT license.\r\n * The full license information can be found in LICENSE in the root directory of this project.\r\n */\r\n\r\nimport { Component, EmbeddedViewRef, Inject, Input, OnDestroy, TemplateRef, ViewChild } from '@angular/core';\r\nimport { IF_ACTIVE_ID, IfActiveService } from '@hermes-ui/angular/utils';\r\n\r\nimport { TabsService } from './providers/tabs.service';\r\n\r\nlet nbTabContentComponents = 0;\r\n\r\n@Component({\r\n selector: 'hermes-tab-content',\r\n template: `\r\n <ng-template #tabContentProjectedRef>\r\n <section\r\n [id]=\"tabContentId\"\r\n role=\"tabpanel\"\r\n class=\"tab-content\"\r\n [class.active]=\"active\"\r\n [hidden]=\"!active\"\r\n [attr.aria-labelledby]=\"ariaLabelledBy\"\r\n [attr.aria-hidden]=\"!active\"\r\n >\r\n <ng-content></ng-content>\r\n </section>\r\n </ng-template>\r\n `,\r\n standalone: false,\r\n})\r\nexport class HermesTabContent implements OnDestroy {\r\n @Input('id') tabContentId: string;\r\n\r\n private viewRef: EmbeddedViewRef<HermesTabContent>;\r\n\r\n constructor(\r\n public ifActiveService: IfActiveService,\r\n @Inject(IF_ACTIVE_ID) public id: number,\r\n private tabsService: TabsService\r\n ) {\r\n if (!this.tabContentId) {\r\n this.tabContentId = 'hermes-tab-content-' + nbTabContentComponents++;\r\n }\r\n }\r\n\r\n get active() {\r\n return this.ifActiveService.current === this.id;\r\n }\r\n\r\n get ariaLabelledBy(): string {\r\n return this.tabsService.children.find(tab => tab.tabLink.id === this.id)?.tabLink?.tabLinkId;\r\n }\r\n\r\n // The template must be applied on the top-down phase of view-child initialization to prevent\r\n // components in the content from initializing before a content container exists.\r\n // Some child components need their container for sizing calculations.\r\n @ViewChild('tabContentProjectedRef', { static: true })\r\n private set templateRef(value: TemplateRef<HermesTabContent>) {\r\n this.viewRef = this.tabsService.tabContentViewContainer.createEmbeddedView(value);\r\n }\r\n\r\n ngOnDestroy(): void {\r\n const index = this.tabsService.tabContentViewContainer.indexOf(this.viewRef);\r\n if (index > -1) {\r\n this.tabsService.tabContentViewContainer.remove(index);\r\n }\r\n }\r\n}\r\n","/*\r\n * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.\r\n * The term \"Broadcom\" refers to Broadcom Inc. and/or its subsidiaries.\r\n * This software is released under MIT license.\r\n * The full license information can be found in LICENSE in the root directory of this project.\r\n */\r\n\r\nimport { InjectionToken } from '@angular/core';\r\n\r\nlet nbTabsComponent = 0;\r\n\r\nexport const TABS_ID = new InjectionToken<number>('TABS_ID');\r\n\r\nexport function tokenFactory() {\r\n return 'hermes-tabs-' + nbTabsComponent++;\r\n}\r\n\r\nexport const TABS_ID_PROVIDER = {\r\n provide: TABS_ID,\r\n useFactory: tokenFactory,\r\n};\r\n","/*\r\n * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.\r\n * The term \"Broadcom\" refers to Broadcom Inc. and/or its subsidiaries.\r\n * This software is released under MIT license.\r\n * The full license information can be found in LICENSE in the root directory of this project.\r\n */\r\n\r\nimport { Directive, ElementRef, HostBinding, HostListener, Inject, Input, ViewContainerRef } from '@angular/core';\r\nimport { IF_ACTIVE_ID, IfActiveService, TemplateRefContainer } from '@hermes-ui/angular/utils';\r\n\r\nimport { TabsLayout } from './enums/tabs-layout.enum';\r\nimport { TabsService } from './providers/tabs.service';\r\nimport { TABS_ID } from './tabs-id.provider';\r\n\r\nlet nbTabLinkComponents = 0;\r\n\r\n@Directive({\r\n selector: '[hermesTabLink]',\r\n host: {\r\n '[class.btn]': 'true',\r\n role: 'tab',\r\n type: 'button',\r\n },\r\n standalone: false,\r\n})\r\nexport class HermesTabLink {\r\n @Input('id') @HostBinding('id') tabLinkId: string;\r\n\r\n templateRefContainer: TemplateRefContainer;\r\n\r\n private _inOverflow: boolean;\r\n\r\n constructor(\r\n public ifActiveService: IfActiveService,\r\n @Inject(IF_ACTIVE_ID) readonly id: number,\r\n public el: ElementRef<HTMLElement>,\r\n viewContainerRef: ViewContainerRef,\r\n private tabsService: TabsService,\r\n @Inject(TABS_ID) public tabsId: number\r\n ) {\r\n if (!this.tabLinkId) {\r\n this.tabLinkId = 'hermes-tab-link-' + nbTabLinkComponents++;\r\n }\r\n\r\n // Tab links can be rendered in one of two places: in the main area or inside the overflow dropdown menu.\r\n // Here, we create a container so that its template can be used to create embeddedView on the fly.\r\n // See TabsService's renderView() method and how it's used in Tabs class for an example.\r\n this.templateRefContainer = viewContainerRef.createComponent(TemplateRefContainer, {\r\n projectableNodes: [[el.nativeElement]],\r\n }).instance;\r\n }\r\n\r\n @Input('hermesTabLinkInOverflow')\r\n get inOverflow(): boolean {\r\n return this._inOverflow && this.tabsService.layout !== TabsLayout.VERTICAL;\r\n }\r\n set inOverflow(inOverflow) {\r\n this._inOverflow = inOverflow;\r\n }\r\n\r\n @HostBinding('class.btn-link')\r\n @HostBinding('class.nav-link')\r\n get addLinkClasses() {\r\n return !this.inOverflow;\r\n }\r\n\r\n @HostBinding('attr.aria-controls')\r\n get ariaControls(): string {\r\n return this.tabsService.children.find(tab => tab.tabLink === this)?.tabContent?.tabContentId;\r\n }\r\n\r\n @HostBinding('class.active')\r\n @HostBinding('attr.aria-selected')\r\n get active() {\r\n return this.ifActiveService.current === this.id;\r\n }\r\n\r\n @HostBinding('attr.tabindex')\r\n get tabindex(): 0 | -1 {\r\n return this.active ? 0 : -1;\r\n }\r\n\r\n @HostListener('click')\r\n activate() {\r\n this.ifActiveService.current = this.id;\r\n }\r\n}\r\n","/*\r\n * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.\r\n * The term \"Broadcom\" refers to Broadcom Inc. and/or its subsidiaries.\r\n * This software is released under MIT license.\r\n * The full license information can be found in LICENSE in the root directory of this project.\r\n */\r\n\r\nimport { Component, ContentChild, Inject } from '@angular/core';\r\nimport { IF_ACTIVE_ID, IF_ACTIVE_ID_PROVIDER, IfActiveService } from '@hermes-ui/angular/utils';\r\n\r\nimport { TabsService } from './providers/tabs.service';\r\nimport { HermesTabContent } from './tab-content';\r\nimport { HermesTabLink } from './tab-link.directive';\r\n\r\n@Component({\r\n selector: 'hermes-tab',\r\n template: `<ng-content></ng-content>`,\r\n providers: [IF_ACTIVE_ID_PROVIDER],\r\n standalone: false,\r\n})\r\nexport class HermesTab {\r\n @ContentChild(HermesTabLink, { static: true }) tabLink: HermesTabLink;\r\n @ContentChild(HermesTabContent, { static: true }) tabContent: HermesTabContent;\r\n\r\n constructor(\r\n public ifActiveService: IfActiveService,\r\n @Inject(IF_ACTIVE_ID) public id: number,\r\n private tabsService: TabsService\r\n ) {\r\n tabsService.register(this);\r\n }\r\n\r\n get active() {\r\n return this.ifActiveService.current === this.id;\r\n }\r\n\r\n ngOnDestroy() {\r\n this.tabsService.unregister(this);\r\n }\r\n}\r\n","/*\r\n * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.\r\n * The term \"Broadcom\" refers to Broadcom Inc. and/or its subsidiaries.\r\n * This software is released under MIT license.\r\n * The full license information can be found in LICENSE in the root directory of this project.\r\n */\r\n\r\nimport { Directive } from '@angular/core';\r\n\r\n@Directive({\r\n selector: '[hermesTabAction]',\r\n host: {\r\n tabindex: '0',\r\n },\r\n standalone: false,\r\n})\r\nexport class HermesTabAction {}\r\n","/*\r\n * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.\r\n * The term \"Broadcom\" refers to Broadcom Inc. and/or its subsidiaries.\r\n * This software is released under MIT license.\r\n * The full license information can be found in LICENSE in the root directory of this project.\r\n */\r\n\r\nimport { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'hermes-tab-overflow-content',\r\n template: `<ng-content></ng-content>`,\r\n host: {\r\n '[class.dropdown-menu]': 'true',\r\n },\r\n standalone: false,\r\n})\r\nexport class HermesTabOverflowContent {}\r\n","/*\r\n * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.\r\n * The term \"Broadcom\" refers to Broadcom Inc. and/or its subsidiaries.\r\n * This software is released under MIT license.\r\n * The full license information can be found in LICENSE in the root directory of this project.\r\n */\r\n\r\nimport {\r\n AfterContentInit,\r\n Component,\r\n ContentChildren,\r\n ElementRef,\r\n HostBinding,\r\n Inject,\r\n Input,\r\n OnDestroy,\r\n QueryList,\r\n ViewChild,\r\n ViewContainerRef,\r\n} from '@angular/core';\r\nimport { HermesPopoverHostDirective, HermesPopoverService } from '@hermes-ui/angular/popover/common';\r\nimport { HermesCommonStringsService, HermesKeyFocus, IfActiveService } from '@hermes-ui/angular/utils';\r\nimport { Subscription } from 'rxjs';\r\nimport { startWith } from 'rxjs/operators';\r\n\r\nimport { TabsLayout } from './enums/tabs-layout.enum';\r\nimport { TabsService } from './providers/tabs.service';\r\nimport { HermesTab } from './tab';\r\nimport { HermesTabAction } from './tab-action.directive';\r\nimport { HermesTabLink } from './tab-link.directive';\r\nimport { HermesTabOverflowContent } from './tab-overflow-content';\r\nimport { TABS_ID, TABS_ID_PROVIDER } from './tabs-id.provider';\r\n@Component({\r\n selector: 'hermes-tabs',\r\n template: `\r\n <ul\r\n class=\"nav\"\r\n role=\"tablist\"\r\n [hermesKeyFocus]=\"tabLinkElements\"\r\n hermesDirection=\"both\"\r\n (hermesFocusChange)=\"toggleOverflowOnPosition($event)\"\r\n (focusout)=\"resetKeyFocusCurrentToActive($event)\"\r\n >\r\n <!--tab links-->\r\n @for (link of tabLinkDirectives; track link) {\r\n @if (link.tabsId === tabsId && !link.inOverflow) {\r\n <li role=\"presentation\" class=\"nav-item\">\r\n <ng-container [ngTemplateOutlet]=\"link.templateRefContainer.template\"></ng-container>\r\n </li>\r\n }\r\n }\r\n @if (tabsService.overflowTabs.length > 0) {\r\n <div class=\"tabs-overflow bottom-right\" role=\"presentation\" [class.open]=\"popoverService.open\">\r\n <li role=\"application\" class=\"nav-item\">\r\n <button\r\n #tabOverflowTrigger\r\n class=\"btn btn-link nav-link dropdown-toggle\"\r\n type=\"button\"\r\n aria-hidden=\"true\"\r\n [attr.tabindex]=\"activeTabInOverflow && !popoverService.open ? 0 : -1\"\r\n [class.active]=\"activeTabInOverflow\"\r\n [class.open]=\"popoverService.open\"\r\n (mousedown)=\"_mousedown = true\"\r\n (focus)=\"openOverflowOnFocus()\"\r\n (click)=\"toggleOverflowOnClick()\"\r\n [attr.title]=\"commonStrings.keys.more\"\r\n >\r\n <hermes-icon\r\n shape=\"ellipsis-horizontal\"\r\n [status]=\"popoverService.open ? 'info' : null\"\r\n [attr.title]=\"commonStrings.keys.more\"\r\n ></hermes-icon>\r\n </button>\r\n </li>\r\n <!--tab links in overflow menu-->\r\n @if (popoverService.open) {\r\n <hermes-tab-overflow-content\r\n (document:keydown.escape)=\"closeOnEscapeKey()\"\r\n (document:click)=\"closeOnOutsideClick($event, tabOverflowTrigger)\"\r\n (focusout)=\"closeOnFocusOut($event)\"\r\n >\r\n @for (link of tabLinkDirectives; track link) {\r\n @if (link.tabsId === tabsId && link.inOverflow) {\r\n <ng-container [ngTemplateOutlet]=\"link.templateRefContainer.template\"></ng-container>\r\n }\r\n }\r\n </hermes-tab-overflow-content>\r\n }\r\n </div>\r\n }\r\n <ng-content select=\"hermes-tabs-actions\"></ng-content>\r\n </ul>\r\n <ng-container #tabContentViewContainer></ng-container>\r\n `,\r\n providers: [IfActiveService, TabsService, TABS_ID_PROVIDER],\r\n hostDirectives: [HermesPopoverHostDirective],\r\n standalone: false,\r\n})\r\nexport class HermesTabs implements AfterContentInit, OnDestroy {\r\n tabLinkElements: HTMLElement[] = [];\r\n\r\n // in order to check focus is triggered by click\r\n // we are using this _mousedown flag\r\n _mousedown = false;\r\n\r\n @ViewChild(HermesKeyFocus, { static: true }) keyFocus: HermesKeyFocus;\r\n\r\n @ContentChildren(HermesTabAction, { read: ElementRef, descendants: true }) tabsActions: QueryList<ElementRef>;\r\n @ContentChildren(HermesTab) private tabs: QueryList<HermesTab>;\r\n\r\n private subscriptions: Subscription[] = [];\r\n private _tabOverflowEl: HTMLElement;\r\n private _tabLinkDirectives: HermesTabLink[] = [];\r\n\r\n constructor(\r\n public ifActiveService: IfActiveService,\r\n public popoverService: HermesPopoverService,\r\n public tabsService: TabsService,\r\n @Inject(TABS_ID) public tabsId: number,\r\n public commonStrings: HermesCommonStringsService\r\n ) {}\r\n\r\n @Input('hermesLayout')\r\n get layout(): TabsLayout | string {\r\n return this.tabsService.layout;\r\n }\r\n set layout(layout: TabsLayout | string) {\r\n if (\r\n Object.keys(TabsLayout)\r\n .map(key => {\r\n return (TabsLayout as Record<string, any>)[key];\r\n })\r\n .indexOf(layout) >= 0\r\n ) {\r\n this.tabsService.layout = layout;\r\n }\r\n }\r\n\r\n get tabLinkDirectives(): HermesTabLink[] {\r\n return this._tabLinkDirectives;\r\n }\r\n\r\n get activeTabInOverflow() {\r\n return this.tabsService.overflowTabs.indexOf(this.tabsService.activeTab) > -1;\r\n }\r\n\r\n get activeTabPosition() {\r\n return this._tabLinkDirectives.findIndex(link => link.active);\r\n }\r\n\r\n get isCurrentInOverflow() {\r\n return this.keyFocus.current >= this.overflowPosition;\r\n }\r\n\r\n @HostBinding('class.tabs-vertical')\r\n get isVertical() {\r\n return this.layout === TabsLayout.VERTICAL;\r\n }\r\n\r\n @ViewChild(HermesTabOverflowContent, { read: ElementRef })\r\n set tabOverflowEl(value: ElementRef<HTMLElement>) {\r\n this._tabOverflowEl = value && value.nativeElement;\r\n if (this.popoverService.open && value) {\r\n // only when tab overflow view element is registered,\r\n // we need to move the focus to the first item\r\n this.keyFocus.focusCurrent();\r\n }\r\n }\r\n\r\n private get overflowPosition() {\r\n return this._tabLinkDirectives.filter(link => !link.inOverflow).length;\r\n }\r\n\r\n @ViewChild('tabContentViewContainer', { static: true, read: ViewContainerRef })\r\n private set tabContentViewContainer(value: ViewContainerRef) {\r\n this.tabsService.tabContentViewContainer = value;\r\n }\r\n\r\n ngAfterContentInit() {\r\n this.subscriptions.push(this.listenForTabLinkChanges());\r\n this.subscriptions.push(this.listedForTabsActionsChanges());\r\n\r\n if (typeof this.ifActiveService.current === 'undefined' && this.tabLinkDirectives[0]) {\r\n this.tabLinkDirectives[0].activate();\r\n }\r\n\r\n // set initial current position\r\n this.keyFocus.current = this.activeTabPosition;\r\n }\r\n\r\n ngOnDestroy() {\r\n this.subscriptions.forEach(sub => {\r\n sub.unsubscribe();\r\n });\r\n }\r\n\r\n toggleOverflowOnPosition(position: number) {\r\n // we need to check current position to determine\r\n // whether we need to open the tab overflow or not\r\n this.popoverService.open = position >= this.overflowPosition;\r\n }\r\n\r\n resetKeyFocusCurrentToActive(event: FocusEvent) {\r\n const keyFocusContainsFocus = this.keyFocus.nativeElement.contains(event.relatedTarget as HTMLElement);\r\n if (!keyFocusContainsFocus && this.keyFocus.current !== this.activeTabPosition) {\r\n this.keyFocus.current = this.activeTabPosition;\r\n }\r\n }\r\n\r\n toggleOverflowOnClick() {\r\n if (this.isCurrentInOverflow && this.popoverService.open) {\r\n this.keyFocus.moveTo(this.overflowPosition - 1);\r\n } else {\r\n this.keyFocus.moveTo(this.overflowPosition);\r\n }\r\n\r\n // once click handler completes running,\r\n // reset the _mousedown flag\r\n this._mousedown = false;\r\n }\r\n\r\n openOverflowOnFocus() {\r\n // This method should be called only on keyboard generated focus\r\n // when the active tab is in the overflow\r\n if (!this._mousedown && !this.popoverService.open) {\r\n this.keyFocus.moveTo(this.activeTabPosition);\r\n }\r\n }\r\n\r\n closeOnFocusOut(event: FocusEvent) {\r\n if (\r\n !this._tabOverflowEl.contains(event.relatedTarget as HTMLElement) &&\r\n this.popoverService.open &&\r\n !this._mousedown\r\n ) {\r\n this.popoverService.open = false;\r\n\r\n // if the focus is out of overflow and lands on the active tab link\r\n // which is currently visible, set the key focus current to activeTabPosition\r\n if (this.tabLinkElements[this.activeTabPosition] === event.relatedTarget) {\r\n this.keyFocus.current = this.activeTabPosition;\r\n }\r\n }\r\n }\r\n\r\n closeOnEscapeKey() {\r\n // Move current to the last visible focusable item\r\n this.keyFocus.moveTo(this.overflowPosition - 1);\r\n }\r\n\r\n closeOnOutsideClick(event: Event, tabOverflowTrigger: HTMLElement) {\r\n // Exit early if the event target is the trigger element itself or element that's inside the trigger element.\r\n // This is because we have another handler on the tabOverflowTrigger element itself.\r\n // As this handler method is on the document level so the event bubbles up to it and conflicts\r\n // with the tabOverflowTrigger handler resulting in opening the tab overflow and closing it right away consecutively.\r\n const isTabsAction = this.tabsActions.some(action =>\r\n (action.nativeElement as HTMLElement).contains(event.target as HTMLElement)\r\n );\r\n if (\r\n event.target === tabOverflowTrigger ||\r\n tabOverflowTrigger.contains(event.target as HTMLElement) ||\r\n isTabsAction\r\n ) {\r\n return;\r\n }\r\n\r\n // Move current to the last visible focusable item\r\n if (!this._tabOverflowEl.contains(event.target as HTMLElement) && this.isCurrentInOverflow) {\r\n this.keyFocus.moveTo(this.overflowPosition - 1);\r\n }\r\n }\r\n\r\n private setTabLinkElements() {\r\n this._tabLinkDirectives = this.tabs.map(tab => tab.tabLink);\r\n this.tabLinkElements = this._tabLinkDirectives.map(tab => tab.el.nativeElement);\r\n if (this.tabsActions && this.tabsActions) {\r\n this.tabLinkElements.push(...this.tabsActions.map(action => action.nativeElement));\r\n }\r\n }\r\n\r\n private listenForTabLinkChanges() {\r\n return this.tabs.changes\r\n .pipe(startWith(this.tabs.map(tab => tab.tabLink)))\r\n .subscribe(() => this.setTabLinkElements());\r\n }\r\n\r\n private listedForTabsActionsChanges() {\r\n return this.tabsActions.changes.subscribe(() => this.setTabLinkElements());\r\n }\r\n}\r\n","/*\r\n * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.\r\n * The term \"Broadcom\" refers to Broadcom Inc. and/or its subsidiaries.\r\n * This software is released under MIT license.\r\n * The full license information can be found in LICENSE in the root directory of this project.\r\n */\r\n\r\nimport { Component, HostBinding, Input } from '@angular/core';\r\n\r\nexport type HermesTabsActionsPosition = 'left' | 'right';\r\n\r\n@Component({\r\n selector: 'hermes-tabs-actions',\r\n template: `\r\n <div class=\"tabs-actions-wrapper\">\r\n <ng-content></ng-content>\r\n </div>\r\n `,\r\n host: {\r\n '[class.tabs-actions]': 'true',\r\n },\r\n standalone: false,\r\n})\r\nexport class HermesTabsActions {\r\n @Input()\r\n @HostBinding('attr.position')\r\n position: HermesTabsActionsPosition = 'right';\r\n}\r\n","/*\r\n * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.\r\n * The term \"Broadcom\" refers to Broadcom Inc. and/or its subsidiaries.\r\n * This software is released under MIT license.\r\n * The full license information can be found in LICENSE in the root directory of this project.\r\n */\r\n\r\nimport { Directive } from '@angular/core';\r\nimport { WillyWonka } from '@hermes-ui/angular/utils';\r\n\r\n@Directive({\r\n selector: 'hermes-tabs',\r\n standalone: false,\r\n})\r\nexport class TabsWillyWonka extends WillyWonka {}\r\n","/*\r\n * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.\r\n * The term \"Broadcom\" refers to Broadcom Inc. and/or its subsidiaries.\r\n * This software is released under MIT license.\r\n * The full license information can be found in LICENSE in the root directory of this project.\r\n */\r\n\r\nimport { ChangeDetectorRef, Directive, Inject, Optional } from '@angular/core';\r\nimport { IF_ACTIVE_ID, IfActiveService, OompaLoompa } from '@hermes-ui/angular/utils';\r\n\r\nimport { TabsWillyWonka } from './tabs-willy-wonka';\r\n\r\n@Directive({\r\n selector: '[hermesTabLink], hermes-tab-content',\r\n standalone: false,\r\n})\r\nexport class ActiveOompaLoompa extends OompaLoompa {\r\n private ifActive: IfActiveService;\r\n private id: number;\r\n\r\n constructor(\r\n cdr: ChangeDetectorRef,\r\n @Optional() willyWonka: TabsWillyWonka,\r\n @Inject(IF_ACTIVE_ID) id: number,\r\n ifActive: IfActiveService\r\n ) {\r\n if (!willyWonka) {\r\n throw new Error('hermesTabLink and hermes-tab-content should only be used inside of a hermes-tabs');\r\n }\r\n super(cdr, willyWonka);\r\n this.ifActive = ifActive;\r\n this.id = id;\r\n }\r\n\r\n get flavor() {\r\n return this.ifActive.current === this.id;\r\n }\r\n}\r\n","/*\r\n * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.\r\n * The term \"Broadcom\" refers to Broadcom Inc. and/or its subsidiaries.\r\n * This software is released under MIT license.\r\n * The full license information can be found in LICENSE in the root directory of this project.\r\n */\r\n\r\nimport { CommonModule } from '@angular/common';\r\nimport { NgModule, Type } from '@angular/core';\r\nimport { ClarityIcons, HermesIcon, ellipsisHorizontalIcon } from '@hermes-ui/angular/icon';\r\nimport { HermesConditionalModule, HermesKeyFocusModule, HermesTemplateRefModule } from '@hermes-ui/angular/utils';\r\n\r\nimport { ActiveOompaLoompa } from './chocolate/active-oompa-loompa';\r\nimport { TabsWillyWonka } from './chocolate/tabs-willy-wonka';\r\nimport { HermesTab } from './tab';\r\nimport { HermesTabAction } from './tab-action.directive';\r\nimport { HermesTabContent } from './tab-content';\r\nimport { HermesTabLink } from './tab-link.directive';\r\nimport { HermesTabOverflowContent } from './tab-overflow-content';\r\nimport { HermesTabs } from './tabs';\r\nimport { HermesTabsActions } from './tabs-actions';\r\n\r\nexport const HERMES_TABS_DIRECTIVES: Type<any>[] = [\r\n HermesTabContent,\r\n HermesTab,\r\n HermesTabs,\r\n HermesTabOverflowContent,\r\n HermesTabLink,\r\n HermesTabAction,\r\n HermesTabsActions,\r\n TabsWillyWonka,\r\n ActiveOompaLoompa,\r\n];\r\n\r\n@NgModule({\r\n imports: [CommonModule, HermesConditionalModule, HermesIcon, HermesTemplateRefModule, HermesKeyFocusModule],\r\n declarations: [HERMES_TABS_DIRECTIVES],\r\n exports: [HERMES_TABS_DIRECTIVES, HermesConditionalModule],\r\n})\r\nexport class HermesTabsModule {\r\n constructor() {\r\n ClarityIcons.addIcons(ellipsisHorizontalIcon);\r\n }\r\n}\r\n","/*\r\n * Copyright (c) 2016-2026 Broadcom. All Rights Reserved.\r\n * The term \"Broadcom\" refers to Broadcom Inc. and/or its subsidiaries.\r\n * This software is released under MIT license.\r\n * The full license information can be found in LICENSE in the root directory of this project.\r\n */\r\n\r\nexport * from './tabs';\r\nexport * from './tabs-actions';\r\nexport * from './tab';\r\nexport * from './tab-content';\r\nexport * from './tab-overflow-content';\r\nexport * from './tab-link.directive';\r\nexport * from './tab-action.directive';\r\nexport * from './tabs.module';\r\nexport * from './tabs-actions';\r\nexport * from './chocolate/tabs-willy-wonka';\r\nexport * from './chocolate/active-oompa-loompa';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i2.TabsService","i6.HermesTabOverflowContent","i2"],"mappings":";;;;;;;;;;;;AAAA;;;;;AAKG;AAEH,IAAY,UAGX;AAHD,CAAA,UAAY,UAAU,EAAA;AACpB,IAAA,UAAA,CAAA,YAAA,CAAA,GAAA,YAAyB;AACzB,IAAA,UAAA,CAAA,UAAA,CAAA,GAAA,UAAqB;AACvB,CAAC,EAHW,UAAU,KAAV,UAAU,GAAA,EAAA,CAAA,CAAA;;ACPtB;;;;;AAKG;MAQU,WAAW,CAAA;AADxB,IAAA,WAAA,GAAA;AAEE,QAAA,IAAA,CAAA,MAAM,GAAwB,UAAU,CAAC,UAAU;QAG3C,IAAA,CAAA,SAAS,GAAgB,EAAE;AA8BpC,IAAA;AA5BC,IAAA,IAAI,QAAQ,GAAA;QACV,OAAO,IAAI,CAAC,SAAS;IACvB;AAEA,IAAA,IAAI,SAAS,GAAA;QACX,OAAO,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,GAAc,KAAI;YAC3C,OAAO,GAAG,CAAC,MAAM;AACnB,QAAA,CAAC,CAAC;IACJ;AAEA,IAAA,IAAI,YAAY,GAAA;QACd,IAAI,IAAI,CAAC,MAAM,KAAK,UAAU,CAAC,QAAQ,EAAE;AACvC,YAAA,OAAO,EAAE;QACX;aAAO;AACL,YAAA,OAAO,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,GAAc,KAAK,GAAG,CAAC,OAAO,CAAC,UAAU,KAAK,IAAI,CAAC;QAClF;IACF;AAEA,IAAA,QAAQ,CAAC,GAAc,EAAA;AACrB,QAAA,IAAI,CAAC,SAA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