@festo-ui/angular 3.1.0-pre-20220321.2 → 3.1.0-pre-20220321.4

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.
Files changed (24) hide show
  1. package/esm2020/lib/components/accordion/accordion-header/accordion-header.component.mjs +11 -0
  2. package/esm2020/lib/components/accordion/accordion-item/accordion-item-body/accordion-item-body.component.mjs +15 -0
  3. package/esm2020/lib/components/accordion/accordion-item/accordion-item-header/accordion-item-header.component.mjs +28 -0
  4. package/esm2020/lib/components/accordion/accordion-item/accordion-item.component.mjs +143 -0
  5. package/esm2020/lib/components/accordion/accordion.component.mjs +59 -0
  6. package/esm2020/lib/components/accordion/index.mjs +6 -0
  7. package/esm2020/lib/components/components.module.mjs +31 -5
  8. package/fesm2015/festo-ui-angular.mjs +268 -6
  9. package/fesm2015/festo-ui-angular.mjs.map +1 -1
  10. package/fesm2020/festo-ui-angular.mjs +266 -6
  11. package/fesm2020/festo-ui-angular.mjs.map +1 -1
  12. package/lib/components/accordion/accordion-header/accordion-header.component.d.ts +5 -0
  13. package/lib/components/accordion/accordion-item/accordion-item-body/accordion-item-body.component.d.ts +6 -0
  14. package/lib/components/accordion/accordion-item/accordion-item-header/accordion-item-header.component.d.ts +15 -0
  15. package/lib/components/accordion/accordion-item/accordion-item.component.d.ts +34 -0
  16. package/lib/components/accordion/accordion.component.d.ts +24 -0
  17. package/lib/components/accordion/index.d.ts +5 -0
  18. package/lib/components/components.module.d.ts +11 -5
  19. package/package.json +1 -1
  20. package/scss/base/components/accordion/accordion-header/accordion-header.component.scss +12 -0
  21. package/scss/base/components/accordion/accordion-item/accordion-item-body/accordion-item-body.component.scss +109 -0
  22. package/scss/base/components/accordion/accordion-item/accordion-item-header/accordion-item-header.component.scss +9 -0
  23. package/scss/base/components/accordion/accordion-item/accordion-item.component.scss +71 -0
  24. package/scss/base/components/accordion/accordion.component.scss +6 -0
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { EventEmitter, Component, ViewEncapsulation, Input, Output, ContentChild, Directive, ViewChild, ContentChildren, TemplateRef, Injector, Injectable, HostListener, ChangeDetectionStrategy, Inject, Pipe, NgModule, forwardRef, HostBinding, Optional, SimpleChange, ViewContainerRef, LOCALE_ID, SecurityContext } from '@angular/core';
2
+ import { EventEmitter, Component, ViewEncapsulation, Input, Output, ContentChild, Directive, ViewChild, ContentChildren, TemplateRef, Injector, Injectable, HostListener, ChangeDetectionStrategy, Inject, Pipe, SimpleChange, NgModule, forwardRef, HostBinding, Optional, ViewContainerRef, LOCALE_ID, SecurityContext } from '@angular/core';
3
3
  import * as i1 from '@angular/common';
4
4
  import { DOCUMENT, CommonModule, formatDate } from '@angular/common';
5
5
  import * as i2 from '@angular/router';
@@ -1789,6 +1789,246 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
1789
1789
  args: [MobileFlyoutPageComponent]
1790
1790
  }] } });
1791
1791
 
1792
+ class AccordionItemBodyComponent {
1793
+ constructor() {
1794
+ // parentId will be set by accordion item this body belongs to
1795
+ this.id = '';
1796
+ }
1797
+ }
1798
+ AccordionItemBodyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AccordionItemBodyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1799
+ AccordionItemBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AccordionItemBodyComponent, selector: "fng-accordion-item-body", ngImport: i0, template: "<div\n role=\"region\"\n [attr.id]=\"id + '-body'\"\n [attr.aria-labelledby]=\"id + '-header'\"\n class=\"fng-accordion-item-body\"\n>\n <ng-content></ng-content>\n <div class=\"fng-accordion-item-body-spacer-bottom\"></div>\n</div>\n", styles: ["@charset \"UTF-8\";.fng-accordion-item-body{overflow:hidden;transition:height .3s cubic-bezier(.4,0,.2,1);height:0px}.fng-accordion-item-body>:first-child:not(.fng-accordion-item-body-spacer-bottom):not(.fng-accordion){margin-top:0!important;padding-top:0!important}.fng-accordion-item-body>:not(.fng-accordion){margin-right:0}.fng-accordion-item-body-content{margin-right:64px}.fng-accordion-item-body-spacer-bottom{margin-top:24px;height:0;width:0}.fng-accordion-item-body .fng-accordion{margin-top:64px;margin-bottom:24px}.fng-accordion-item-body .fng-accordion-item-link{display:block;top:8px}.fng-accordion-item-body .fng-accordion-item-header{padding-top:32px;padding-right:32px}.fng-accordion-item-body .fng-accordion-item:after{top:8px;right:0px;color:var(--fwe-caerul);font-family:festo_icons-16;font-size:24px;content:\"\\e900\";height:24px;line-height:24px}.fng-accordion-item-body .fng-accordion-item--expanded:before{background-color:transparent}@media (min-width: 600px){.fng-accordion-item-body>:not(.fng-accordion){margin-right:64px}.fng-accordion-item-body .fng-accordion-item-header{padding-top:24px;padding-right:168px}.fng-accordion-item-body .fng-accordion-item-link{font-size:16px;top:24px;max-width:128px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fng-accordion-item-body .fng-accordion-item:after{top:27px}}\n"], encapsulation: i0.ViewEncapsulation.None });
1800
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AccordionItemBodyComponent, decorators: [{
1801
+ type: Component,
1802
+ args: [{ selector: 'fng-accordion-item-body', encapsulation: ViewEncapsulation.None, template: "<div\n role=\"region\"\n [attr.id]=\"id + '-body'\"\n [attr.aria-labelledby]=\"id + '-header'\"\n class=\"fng-accordion-item-body\"\n>\n <ng-content></ng-content>\n <div class=\"fng-accordion-item-body-spacer-bottom\"></div>\n</div>\n", styles: ["@charset \"UTF-8\";.fng-accordion-item-body{overflow:hidden;transition:height .3s cubic-bezier(.4,0,.2,1);height:0px}.fng-accordion-item-body>:first-child:not(.fng-accordion-item-body-spacer-bottom):not(.fng-accordion){margin-top:0!important;padding-top:0!important}.fng-accordion-item-body>:not(.fng-accordion){margin-right:0}.fng-accordion-item-body-content{margin-right:64px}.fng-accordion-item-body-spacer-bottom{margin-top:24px;height:0;width:0}.fng-accordion-item-body .fng-accordion{margin-top:64px;margin-bottom:24px}.fng-accordion-item-body .fng-accordion-item-link{display:block;top:8px}.fng-accordion-item-body .fng-accordion-item-header{padding-top:32px;padding-right:32px}.fng-accordion-item-body .fng-accordion-item:after{top:8px;right:0px;color:var(--fwe-caerul);font-family:festo_icons-16;font-size:24px;content:\"\\e900\";height:24px;line-height:24px}.fng-accordion-item-body .fng-accordion-item--expanded:before{background-color:transparent}@media (min-width: 600px){.fng-accordion-item-body>:not(.fng-accordion){margin-right:64px}.fng-accordion-item-body .fng-accordion-item-header{padding-top:24px;padding-right:168px}.fng-accordion-item-body .fng-accordion-item-link{font-size:16px;top:24px;max-width:128px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fng-accordion-item-body .fng-accordion-item:after{top:27px}}\n"] }]
1803
+ }] });
1804
+
1805
+ var AccordionHeaderActions;
1806
+ (function (AccordionHeaderActions) {
1807
+ AccordionHeaderActions["Toggle"] = "toggle";
1808
+ })(AccordionHeaderActions || (AccordionHeaderActions = {}));
1809
+ class AccordionItemHeaderComponent {
1810
+ constructor() {
1811
+ // parentId will be set by accordion item this header belongs to
1812
+ this.id = '';
1813
+ this.actions = new Subject();
1814
+ this.actions$ = this.actions.asObservable();
1815
+ }
1816
+ ngOnDestroy() {
1817
+ this.actions.complete();
1818
+ }
1819
+ toggle() {
1820
+ this.actions.next(AccordionHeaderActions.Toggle);
1821
+ }
1822
+ }
1823
+ AccordionItemHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AccordionItemHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1824
+ AccordionItemHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AccordionItemHeaderComponent, selector: "fng-accordion-item-header", ngImport: i0, template: "<div\n class=\"fng-accordion-item-header\"\n role=\"button\"\n tabindex=\"0\"\n [attr.id]=\"id + '-header'\"\n [attr.aria-expanded]=\"\"\n [attr.aria-controls]=\"id + '-body'\"\n (click)=\"toggle()\"\n>\n <ng-content></ng-content>\n</div>\n", styles: [".fng-accordion-item-header{display:flex;align-items:center;padding:24px 64px 24px 0;min-height:48px;cursor:pointer}\n"], encapsulation: i0.ViewEncapsulation.None });
1825
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AccordionItemHeaderComponent, decorators: [{
1826
+ type: Component,
1827
+ args: [{ selector: 'fng-accordion-item-header', encapsulation: ViewEncapsulation.None, template: "<div\n class=\"fng-accordion-item-header\"\n role=\"button\"\n tabindex=\"0\"\n [attr.id]=\"id + '-header'\"\n [attr.aria-expanded]=\"\"\n [attr.aria-controls]=\"id + '-body'\"\n (click)=\"toggle()\"\n>\n <ng-content></ng-content>\n</div>\n", styles: [".fng-accordion-item-header{display:flex;align-items:center;padding:24px 64px 24px 0;min-height:48px;cursor:pointer}\n"] }]
1828
+ }] });
1829
+
1830
+ class AccordionItemComponent {
1831
+ constructor(elementRef, renderer, cd) {
1832
+ this.elementRef = elementRef;
1833
+ this.renderer = renderer;
1834
+ this.cd = cd;
1835
+ this.componentId = `accordion-item-${++AccordionItemComponent.nextId}`;
1836
+ this.expanded = false;
1837
+ this._linkText = '';
1838
+ // parentId will be set by accordion this item belongs to
1839
+ this.parentId = '';
1840
+ this.pristine = true;
1841
+ }
1842
+ get linkText() {
1843
+ if (this.expanded === true) {
1844
+ this._linkText = this?.accordion?.showLess || '';
1845
+ }
1846
+ else {
1847
+ this._linkText = this?.accordion?.showMore || '';
1848
+ }
1849
+ return this._linkText;
1850
+ }
1851
+ ngAfterViewInit() {
1852
+ const element = this.elementRef.nativeElement;
1853
+ this.element = element.querySelector('.fng-accordion-item-body');
1854
+ }
1855
+ ngOnChanges(changes) {
1856
+ if (changes?.accordion?.currentValue != null) {
1857
+ const accordion = changes.accordion.currentValue;
1858
+ this.accordion = accordion;
1859
+ if (this.accordion) {
1860
+ this.subscribeToAccordionActions();
1861
+ this.subscribeToAccordionItemHeaderActions();
1862
+ }
1863
+ }
1864
+ if (changes?.parentId?.currentValue != null) {
1865
+ const parentId = changes.parentId.currentValue;
1866
+ this.id = `${parentId}-${this.componentId}`;
1867
+ this.header.id = this.id;
1868
+ this.body.id = this.id;
1869
+ }
1870
+ }
1871
+ toggle() {
1872
+ // save the new expanded state in another var, because it may be overwritten when closeAll is called
1873
+ const newExpandedState = !this.expanded;
1874
+ const changeExpandedState = () => {
1875
+ this.expanded = newExpandedState;
1876
+ if (this.expanded === true) {
1877
+ this.expandItem();
1878
+ }
1879
+ else {
1880
+ this.collapseItem();
1881
+ }
1882
+ };
1883
+ // if the accordion allows only one expanded item at once we first have to close all items
1884
+ if (this.accordion != null && this.accordion.multi === false) {
1885
+ this.accordion.closeAll();
1886
+ /// run in new macrotask to avoid render issues when transitioning to new expanded state
1887
+ setTimeout(() => {
1888
+ changeExpandedState();
1889
+ });
1890
+ }
1891
+ else {
1892
+ changeExpandedState();
1893
+ }
1894
+ }
1895
+ collapseItem() {
1896
+ // get the height of item body regardless of its actual size
1897
+ const itemHeight = this.element.scrollHeight;
1898
+ // set the actual item height as style to avoid transition from height: auto
1899
+ this.renderer.setStyle(this.element, 'height', itemHeight + 'px');
1900
+ setTimeout(() => {
1901
+ this.renderer.setStyle(this.element, 'height', 0 + 'px');
1902
+ });
1903
+ }
1904
+ expandItem() {
1905
+ // if the item was expanded once, we have to rerun change detection before expanding again
1906
+ // because the content inside may have changed
1907
+ if (this.pristine === false) {
1908
+ this.cd.detectChanges();
1909
+ }
1910
+ // get the height of item body regardless of its actual size
1911
+ const itemHeight = this.element.scrollHeight;
1912
+ this.renderer.setStyle(this.element, 'height', itemHeight + 'px');
1913
+ setTimeout(() => {
1914
+ this.renderer.setStyle(this.element, 'height', null);
1915
+ this.pristine = false;
1916
+ }, 300);
1917
+ }
1918
+ handleAction(action) {
1919
+ switch (action) {
1920
+ case AccordionActions.OpenAll:
1921
+ this.expanded = true;
1922
+ this.expandItem();
1923
+ break;
1924
+ case AccordionActions.CloseAll:
1925
+ if (this.expanded === true) {
1926
+ this.expanded = false;
1927
+ this.collapseItem();
1928
+ }
1929
+ break;
1930
+ case AccordionHeaderActions.Toggle:
1931
+ this.toggle();
1932
+ break;
1933
+ default:
1934
+ break;
1935
+ }
1936
+ }
1937
+ subscribeToAccordionActions() {
1938
+ if (this.accordionSubscription != null) {
1939
+ this.accordionSubscription.unsubscribe();
1940
+ }
1941
+ this.accordionSubscription = this.accordion.actions$.subscribe(action => {
1942
+ this.handleAction(action);
1943
+ });
1944
+ }
1945
+ subscribeToAccordionItemHeaderActions() {
1946
+ if (this.accordionItemHeaderSubscription != null) {
1947
+ this.accordionItemHeaderSubscription.unsubscribe();
1948
+ }
1949
+ this.accordionItemHeaderSubscription = this.header.actions$.subscribe(action => {
1950
+ this.handleAction(action);
1951
+ });
1952
+ }
1953
+ }
1954
+ AccordionItemComponent.nextId = 0;
1955
+ AccordionItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AccordionItemComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
1956
+ AccordionItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AccordionItemComponent, selector: "fng-accordion-item", queries: [{ propertyName: "header", first: true, predicate: AccordionItemHeaderComponent, descendants: true }, { propertyName: "body", first: true, predicate: AccordionItemBodyComponent, descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div\n class=\"fng-accordion-item\"\n [class.fng-accordion-item--collapsed]=\"!expanded\"\n [class.fng-accordion-item--expanded]=\"expanded === true\"\n>\n <ng-content></ng-content>\n <div class=\"fng-accordion-item-link\">{{ linkText }}</div>\n</div>\n", styles: ["@charset \"UTF-8\";.fng-accordion-item{position:relative;padding:0 16px 0 24px;border-top:1px solid var(--fwe-gray-100);border-bottom:1px solid var(--fwe-gray-100)}.fng-accordion-item-link{position:absolute;top:24px;right:32px;color:var(--fwe-caerul);font-size:14px;pointer-events:none;display:none}.fng-accordion-item:before{position:absolute;top:0;left:0;display:block;content:\"\";width:4px;height:0px;background-color:var(--fwe-caerul)}.fng-accordion-item:after{position:absolute;top:16px;right:16px;display:block;font-family:festo_icons-32;font-size:32px;content:\"\\e900\";height:32px;line-height:32px;transition:transform .2s ease;pointer-events:none}.fng-accordion-item--expanded .fng-accordion-item-header{font-weight:700}.fng-accordion-item--expanded .fng-accordion-item-body{height:auto}.fng-accordion-item--expanded:after{transform:rotate(-180deg)}.fng-accordion-item--expanded:before{height:100%}.fng-accordion-item--collapsed .fng-accordion-item-body{height:0px}.fng-accordion-item--collapsed .fng-accordion-item-header{font-weight:400}\n"], encapsulation: i0.ViewEncapsulation.None });
1957
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AccordionItemComponent, decorators: [{
1958
+ type: Component,
1959
+ args: [{ selector: 'fng-accordion-item', encapsulation: ViewEncapsulation.None, template: "<div\n class=\"fng-accordion-item\"\n [class.fng-accordion-item--collapsed]=\"!expanded\"\n [class.fng-accordion-item--expanded]=\"expanded === true\"\n>\n <ng-content></ng-content>\n <div class=\"fng-accordion-item-link\">{{ linkText }}</div>\n</div>\n", styles: ["@charset \"UTF-8\";.fng-accordion-item{position:relative;padding:0 16px 0 24px;border-top:1px solid var(--fwe-gray-100);border-bottom:1px solid var(--fwe-gray-100)}.fng-accordion-item-link{position:absolute;top:24px;right:32px;color:var(--fwe-caerul);font-size:14px;pointer-events:none;display:none}.fng-accordion-item:before{position:absolute;top:0;left:0;display:block;content:\"\";width:4px;height:0px;background-color:var(--fwe-caerul)}.fng-accordion-item:after{position:absolute;top:16px;right:16px;display:block;font-family:festo_icons-32;font-size:32px;content:\"\\e900\";height:32px;line-height:32px;transition:transform .2s ease;pointer-events:none}.fng-accordion-item--expanded .fng-accordion-item-header{font-weight:700}.fng-accordion-item--expanded .fng-accordion-item-body{height:auto}.fng-accordion-item--expanded:after{transform:rotate(-180deg)}.fng-accordion-item--expanded:before{height:100%}.fng-accordion-item--collapsed .fng-accordion-item-body{height:0px}.fng-accordion-item--collapsed .fng-accordion-item-header{font-weight:400}\n"] }]
1960
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { header: [{
1961
+ type: ContentChild,
1962
+ args: [AccordionItemHeaderComponent]
1963
+ }], body: [{
1964
+ type: ContentChild,
1965
+ args: [AccordionItemBodyComponent]
1966
+ }] } });
1967
+
1968
+ var AccordionActions;
1969
+ (function (AccordionActions) {
1970
+ AccordionActions["OpenAll"] = "openAll";
1971
+ AccordionActions["CloseAll"] = "closeAll";
1972
+ })(AccordionActions || (AccordionActions = {}));
1973
+ class AccordionComponent {
1974
+ constructor() {
1975
+ this.componentId = `accordion-${++AccordionComponent.nextId}`;
1976
+ this.actions = new Subject();
1977
+ this.actions$ = this.actions.asObservable();
1978
+ // if the accordion should only allow one expanded item at once this property can be set to false
1979
+ this.multi = true;
1980
+ this.showMore = 'Show more';
1981
+ this.showLess = 'Show less';
1982
+ }
1983
+ ngAfterViewInit() {
1984
+ this.items.forEach(item => {
1985
+ item.ngOnChanges({
1986
+ parentId: new SimpleChange(null, this.componentId, null),
1987
+ accordion: new SimpleChange(null, this, null)
1988
+ });
1989
+ });
1990
+ }
1991
+ ngOnDestroy() {
1992
+ this.actions.complete();
1993
+ }
1994
+ openAll() {
1995
+ if (this.multi) {
1996
+ this.actions.next(AccordionActions.OpenAll);
1997
+ }
1998
+ }
1999
+ closeAll() {
2000
+ this.actions.next(AccordionActions.CloseAll);
2001
+ }
2002
+ }
2003
+ AccordionComponent.nextId = 0;
2004
+ AccordionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AccordionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2005
+ AccordionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AccordionComponent, selector: "fng-accordion", inputs: { multi: ["fngAccordionKeepItemsOpen", "multi"], showMore: ["fngAccordionShowMoreText", "showMore"], showLess: ["fngAccordionShowLessText", "showLess"] }, queries: [{ propertyName: "items", predicate: AccordionItemComponent }], ngImport: i0, template: "<div class=\"fng-accordion\">\n <ng-content></ng-content>\n</div>\n", styles: [".fng-accordion{background-color:var(--fwe-white);border-bottom:1px solid var(--fwe-gray-100)}\n"], encapsulation: i0.ViewEncapsulation.None });
2006
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AccordionComponent, decorators: [{
2007
+ type: Component,
2008
+ args: [{ selector: 'fng-accordion', encapsulation: ViewEncapsulation.None, template: "<div class=\"fng-accordion\">\n <ng-content></ng-content>\n</div>\n", styles: [".fng-accordion{background-color:var(--fwe-white);border-bottom:1px solid var(--fwe-gray-100)}\n"] }]
2009
+ }], propDecorators: { multi: [{
2010
+ type: Input,
2011
+ args: ['fngAccordionKeepItemsOpen']
2012
+ }], showMore: [{
2013
+ type: Input,
2014
+ args: ['fngAccordionShowMoreText']
2015
+ }], showLess: [{
2016
+ type: Input,
2017
+ args: ['fngAccordionShowLessText']
2018
+ }], items: [{
2019
+ type: ContentChildren,
2020
+ args: [AccordionItemComponent]
2021
+ }] } });
2022
+
2023
+ class AccordionHeaderComponent {
2024
+ }
2025
+ AccordionHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AccordionHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2026
+ AccordionHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: AccordionHeaderComponent, selector: "fng-accordion-header", ngImport: i0, template: "<div class=\"fng-accordion-header\">\n <ng-content></ng-content>\n</div>\n", styles: [".fng-accordion-header{display:flex;align-items:center;height:48px;padding:0 16px 0 24px;font-size:14px;font-weight:700;color:var(--fwe-text);border-bottom:1px solid var(--fwe-gray-100)}\n"], encapsulation: i0.ViewEncapsulation.None });
2027
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AccordionHeaderComponent, decorators: [{
2028
+ type: Component,
2029
+ args: [{ selector: 'fng-accordion-header', encapsulation: ViewEncapsulation.None, template: "<div class=\"fng-accordion-header\">\n <ng-content></ng-content>\n</div>\n", styles: [".fng-accordion-header{display:flex;align-items:center;height:48px;padding:0 16px 0 24px;font-size:14px;font-weight:700;color:var(--fwe-text);border-bottom:1px solid var(--fwe-gray-100)}\n"] }]
2030
+ }] });
2031
+
1792
2032
  class FestoAngularComponentsModule {
1793
2033
  }
1794
2034
  FestoAngularComponentsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: FestoAngularComponentsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
@@ -1820,7 +2060,12 @@ FestoAngularComponentsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.
1820
2060
  MobileFlyoutPageComponent,
1821
2061
  MobileFlyoutItemComponent,
1822
2062
  SafeHtmlPipe,
1823
- ClickOutsideDirective], imports: [RouterModule, CommonModule, OverlayModule, PortalModule], exports: [ButtonComponent,
2063
+ ClickOutsideDirective,
2064
+ AccordionComponent,
2065
+ AccordionHeaderComponent,
2066
+ AccordionItemComponent,
2067
+ AccordionItemHeaderComponent,
2068
+ AccordionItemBodyComponent], imports: [RouterModule, CommonModule, OverlayModule, PortalModule], exports: [ButtonComponent,
1824
2069
  LinkButtonComponent,
1825
2070
  BreadcrumbComponent,
1826
2071
  LoadingIndicatorComponent,
@@ -1848,7 +2093,12 @@ FestoAngularComponentsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.
1848
2093
  ClickOutsideDirective,
1849
2094
  MobileFlyoutComponent,
1850
2095
  MobileFlyoutPageComponent,
1851
- MobileFlyoutItemComponent] });
2096
+ MobileFlyoutItemComponent,
2097
+ AccordionComponent,
2098
+ AccordionHeaderComponent,
2099
+ AccordionItemComponent,
2100
+ AccordionItemHeaderComponent,
2101
+ AccordionItemBodyComponent] });
1852
2102
  FestoAngularComponentsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: FestoAngularComponentsModule, providers: [], imports: [[RouterModule, CommonModule, OverlayModule, PortalModule]] });
1853
2103
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: FestoAngularComponentsModule, decorators: [{
1854
2104
  type: NgModule,
@@ -1882,7 +2132,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
1882
2132
  MobileFlyoutPageComponent,
1883
2133
  MobileFlyoutItemComponent,
1884
2134
  SafeHtmlPipe,
1885
- ClickOutsideDirective
2135
+ ClickOutsideDirective,
2136
+ AccordionComponent,
2137
+ AccordionHeaderComponent,
2138
+ AccordionItemComponent,
2139
+ AccordionItemHeaderComponent,
2140
+ AccordionItemBodyComponent
1886
2141
  ],
1887
2142
  imports: [RouterModule, CommonModule, OverlayModule, PortalModule],
1888
2143
  exports: [
@@ -1914,7 +2169,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
1914
2169
  ClickOutsideDirective,
1915
2170
  MobileFlyoutComponent,
1916
2171
  MobileFlyoutPageComponent,
1917
- MobileFlyoutItemComponent
2172
+ MobileFlyoutItemComponent,
2173
+ AccordionComponent,
2174
+ AccordionHeaderComponent,
2175
+ AccordionItemComponent,
2176
+ AccordionItemHeaderComponent,
2177
+ AccordionItemBodyComponent
1918
2178
  ],
1919
2179
  providers: [],
1920
2180
  bootstrap: [PopoverComponent]
@@ -5697,5 +5957,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
5697
5957
  * Generated bundle index. Do not edit.
5698
5958
  */
5699
5959
 
5700
- export { AlertComponent, BreadcrumbComponent, ButtonComponent, CheckboxComponent, ChipComponent, ChipContainerComponent, ChipTextPipe, ChipType, ClickOutsideDirective, ColorIndicatorComponent, ColorPickerComponent, ConfirmComponent, ContainerHostDirective as ContainerHost, DatePickerComponent, DateRangePickerComponent, FestoAngularComponentsModule, FestoAngularContentModule, FestoAngularFormsModule, FestoAngularLayoutModule, FestoAngularModalsModule, FestoAngularModule, FestoAngularSnackbarModule, IconComponent, LegendComponent, LegendDirective, LinkButtonComponent, LoadingIndicatorComponent, MobileFlyoutComponent, MobileFlyoutItemComponent, MobileFlyoutPageComponent, ModalService, PREDEFINED_COLORS, PaginationComponent, PaginationType, PopoverComponent, PopoverContentComponent, PopoverContentDirective, PopoverContentTypes, PopoverMenuComponent, PopoverPosition, PopoverTypes, ProgressComponent, PromptComponent, RadioChange, RadioComponent, RadioGroupDirective, SafeHtmlPipe, ScrollableDirective, SearchInputComponent, SearchSuggestion, SegmentComponent, SegmentControlComponent, SelectComponent, SelectOptionComponent, SliderComponent, SnackbarComponent, SnackbarContainerComponent, SnackbarContainerDirective, SnackbarService, StepHorizontalComponent, StepVerticalComponent, StepperHorizontalComponent, StepperVerticalComponent, SwitchComponent, TabPaneComponent, TableHeaderCellDirective, TabsComponent, TextAreaComponent, TextEditorComponent, TextInputComponent, TimePickerComponent, TimePickerDropdownComponent, TooltipDirective, ValueAccessorBaseDirective as ValueAccessorBase };
5960
+ export { AccordionActions, AccordionComponent, AccordionHeaderActions, AccordionHeaderComponent, AccordionItemBodyComponent, AccordionItemComponent, AccordionItemHeaderComponent, AlertComponent, BreadcrumbComponent, ButtonComponent, CheckboxComponent, ChipComponent, ChipContainerComponent, ChipTextPipe, ChipType, ClickOutsideDirective, ColorIndicatorComponent, ColorPickerComponent, ConfirmComponent, ContainerHostDirective as ContainerHost, DatePickerComponent, DateRangePickerComponent, FestoAngularComponentsModule, FestoAngularContentModule, FestoAngularFormsModule, FestoAngularLayoutModule, FestoAngularModalsModule, FestoAngularModule, FestoAngularSnackbarModule, IconComponent, LegendComponent, LegendDirective, LinkButtonComponent, LoadingIndicatorComponent, MobileFlyoutComponent, MobileFlyoutItemComponent, MobileFlyoutPageComponent, ModalService, PREDEFINED_COLORS, PaginationComponent, PaginationType, PopoverComponent, PopoverContentComponent, PopoverContentDirective, PopoverContentTypes, PopoverMenuComponent, PopoverPosition, PopoverTypes, ProgressComponent, PromptComponent, RadioChange, RadioComponent, RadioGroupDirective, SafeHtmlPipe, ScrollableDirective, SearchInputComponent, SearchSuggestion, SegmentComponent, SegmentControlComponent, SelectComponent, SelectOptionComponent, SliderComponent, SnackbarComponent, SnackbarContainerComponent, SnackbarContainerDirective, SnackbarService, StepHorizontalComponent, StepVerticalComponent, StepperHorizontalComponent, StepperVerticalComponent, SwitchComponent, TabPaneComponent, TableHeaderCellDirective, TabsComponent, TextAreaComponent, TextEditorComponent, TextInputComponent, TimePickerComponent, TimePickerDropdownComponent, TooltipDirective, ValueAccessorBaseDirective as ValueAccessorBase };
5701
5961
  //# sourceMappingURL=festo-ui-angular.mjs.map