@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';
@@ -1795,6 +1795,248 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
1795
1795
  args: [MobileFlyoutPageComponent]
1796
1796
  }] } });
1797
1797
 
1798
+ class AccordionItemBodyComponent {
1799
+ constructor() {
1800
+ // parentId will be set by accordion item this body belongs to
1801
+ this.id = '';
1802
+ }
1803
+ }
1804
+ AccordionItemBodyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AccordionItemBodyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1805
+ 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 });
1806
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AccordionItemBodyComponent, decorators: [{
1807
+ type: Component,
1808
+ 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"] }]
1809
+ }] });
1810
+
1811
+ var AccordionHeaderActions;
1812
+ (function (AccordionHeaderActions) {
1813
+ AccordionHeaderActions["Toggle"] = "toggle";
1814
+ })(AccordionHeaderActions || (AccordionHeaderActions = {}));
1815
+ class AccordionItemHeaderComponent {
1816
+ constructor() {
1817
+ // parentId will be set by accordion item this header belongs to
1818
+ this.id = '';
1819
+ this.actions = new Subject();
1820
+ this.actions$ = this.actions.asObservable();
1821
+ }
1822
+ ngOnDestroy() {
1823
+ this.actions.complete();
1824
+ }
1825
+ toggle() {
1826
+ this.actions.next(AccordionHeaderActions.Toggle);
1827
+ }
1828
+ }
1829
+ AccordionItemHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AccordionItemHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1830
+ 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 });
1831
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AccordionItemHeaderComponent, decorators: [{
1832
+ type: Component,
1833
+ 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"] }]
1834
+ }] });
1835
+
1836
+ class AccordionItemComponent {
1837
+ constructor(elementRef, renderer, cd) {
1838
+ this.elementRef = elementRef;
1839
+ this.renderer = renderer;
1840
+ this.cd = cd;
1841
+ this.componentId = `accordion-item-${++AccordionItemComponent.nextId}`;
1842
+ this.expanded = false;
1843
+ this._linkText = '';
1844
+ // parentId will be set by accordion this item belongs to
1845
+ this.parentId = '';
1846
+ this.pristine = true;
1847
+ }
1848
+ get linkText() {
1849
+ var _a, _b;
1850
+ if (this.expanded === true) {
1851
+ this._linkText = ((_a = this === null || this === void 0 ? void 0 : this.accordion) === null || _a === void 0 ? void 0 : _a.showLess) || '';
1852
+ }
1853
+ else {
1854
+ this._linkText = ((_b = this === null || this === void 0 ? void 0 : this.accordion) === null || _b === void 0 ? void 0 : _b.showMore) || '';
1855
+ }
1856
+ return this._linkText;
1857
+ }
1858
+ ngAfterViewInit() {
1859
+ const element = this.elementRef.nativeElement;
1860
+ this.element = element.querySelector('.fng-accordion-item-body');
1861
+ }
1862
+ ngOnChanges(changes) {
1863
+ var _a, _b;
1864
+ if (((_a = changes === null || changes === void 0 ? void 0 : changes.accordion) === null || _a === void 0 ? void 0 : _a.currentValue) != null) {
1865
+ const accordion = changes.accordion.currentValue;
1866
+ this.accordion = accordion;
1867
+ if (this.accordion) {
1868
+ this.subscribeToAccordionActions();
1869
+ this.subscribeToAccordionItemHeaderActions();
1870
+ }
1871
+ }
1872
+ if (((_b = changes === null || changes === void 0 ? void 0 : changes.parentId) === null || _b === void 0 ? void 0 : _b.currentValue) != null) {
1873
+ const parentId = changes.parentId.currentValue;
1874
+ this.id = `${parentId}-${this.componentId}`;
1875
+ this.header.id = this.id;
1876
+ this.body.id = this.id;
1877
+ }
1878
+ }
1879
+ toggle() {
1880
+ // save the new expanded state in another var, because it may be overwritten when closeAll is called
1881
+ const newExpandedState = !this.expanded;
1882
+ const changeExpandedState = () => {
1883
+ this.expanded = newExpandedState;
1884
+ if (this.expanded === true) {
1885
+ this.expandItem();
1886
+ }
1887
+ else {
1888
+ this.collapseItem();
1889
+ }
1890
+ };
1891
+ // if the accordion allows only one expanded item at once we first have to close all items
1892
+ if (this.accordion != null && this.accordion.multi === false) {
1893
+ this.accordion.closeAll();
1894
+ /// run in new macrotask to avoid render issues when transitioning to new expanded state
1895
+ setTimeout(() => {
1896
+ changeExpandedState();
1897
+ });
1898
+ }
1899
+ else {
1900
+ changeExpandedState();
1901
+ }
1902
+ }
1903
+ collapseItem() {
1904
+ // get the height of item body regardless of its actual size
1905
+ const itemHeight = this.element.scrollHeight;
1906
+ // set the actual item height as style to avoid transition from height: auto
1907
+ this.renderer.setStyle(this.element, 'height', itemHeight + 'px');
1908
+ setTimeout(() => {
1909
+ this.renderer.setStyle(this.element, 'height', 0 + 'px');
1910
+ });
1911
+ }
1912
+ expandItem() {
1913
+ // if the item was expanded once, we have to rerun change detection before expanding again
1914
+ // because the content inside may have changed
1915
+ if (this.pristine === false) {
1916
+ this.cd.detectChanges();
1917
+ }
1918
+ // get the height of item body regardless of its actual size
1919
+ const itemHeight = this.element.scrollHeight;
1920
+ this.renderer.setStyle(this.element, 'height', itemHeight + 'px');
1921
+ setTimeout(() => {
1922
+ this.renderer.setStyle(this.element, 'height', null);
1923
+ this.pristine = false;
1924
+ }, 300);
1925
+ }
1926
+ handleAction(action) {
1927
+ switch (action) {
1928
+ case AccordionActions.OpenAll:
1929
+ this.expanded = true;
1930
+ this.expandItem();
1931
+ break;
1932
+ case AccordionActions.CloseAll:
1933
+ if (this.expanded === true) {
1934
+ this.expanded = false;
1935
+ this.collapseItem();
1936
+ }
1937
+ break;
1938
+ case AccordionHeaderActions.Toggle:
1939
+ this.toggle();
1940
+ break;
1941
+ default:
1942
+ break;
1943
+ }
1944
+ }
1945
+ subscribeToAccordionActions() {
1946
+ if (this.accordionSubscription != null) {
1947
+ this.accordionSubscription.unsubscribe();
1948
+ }
1949
+ this.accordionSubscription = this.accordion.actions$.subscribe(action => {
1950
+ this.handleAction(action);
1951
+ });
1952
+ }
1953
+ subscribeToAccordionItemHeaderActions() {
1954
+ if (this.accordionItemHeaderSubscription != null) {
1955
+ this.accordionItemHeaderSubscription.unsubscribe();
1956
+ }
1957
+ this.accordionItemHeaderSubscription = this.header.actions$.subscribe(action => {
1958
+ this.handleAction(action);
1959
+ });
1960
+ }
1961
+ }
1962
+ AccordionItemComponent.nextId = 0;
1963
+ 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 });
1964
+ 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 });
1965
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AccordionItemComponent, decorators: [{
1966
+ type: Component,
1967
+ 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"] }]
1968
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { header: [{
1969
+ type: ContentChild,
1970
+ args: [AccordionItemHeaderComponent]
1971
+ }], body: [{
1972
+ type: ContentChild,
1973
+ args: [AccordionItemBodyComponent]
1974
+ }] } });
1975
+
1976
+ var AccordionActions;
1977
+ (function (AccordionActions) {
1978
+ AccordionActions["OpenAll"] = "openAll";
1979
+ AccordionActions["CloseAll"] = "closeAll";
1980
+ })(AccordionActions || (AccordionActions = {}));
1981
+ class AccordionComponent {
1982
+ constructor() {
1983
+ this.componentId = `accordion-${++AccordionComponent.nextId}`;
1984
+ this.actions = new Subject();
1985
+ this.actions$ = this.actions.asObservable();
1986
+ // if the accordion should only allow one expanded item at once this property can be set to false
1987
+ this.multi = true;
1988
+ this.showMore = 'Show more';
1989
+ this.showLess = 'Show less';
1990
+ }
1991
+ ngAfterViewInit() {
1992
+ this.items.forEach(item => {
1993
+ item.ngOnChanges({
1994
+ parentId: new SimpleChange(null, this.componentId, null),
1995
+ accordion: new SimpleChange(null, this, null)
1996
+ });
1997
+ });
1998
+ }
1999
+ ngOnDestroy() {
2000
+ this.actions.complete();
2001
+ }
2002
+ openAll() {
2003
+ if (this.multi) {
2004
+ this.actions.next(AccordionActions.OpenAll);
2005
+ }
2006
+ }
2007
+ closeAll() {
2008
+ this.actions.next(AccordionActions.CloseAll);
2009
+ }
2010
+ }
2011
+ AccordionComponent.nextId = 0;
2012
+ AccordionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AccordionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2013
+ 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 });
2014
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AccordionComponent, decorators: [{
2015
+ type: Component,
2016
+ 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"] }]
2017
+ }], propDecorators: { multi: [{
2018
+ type: Input,
2019
+ args: ['fngAccordionKeepItemsOpen']
2020
+ }], showMore: [{
2021
+ type: Input,
2022
+ args: ['fngAccordionShowMoreText']
2023
+ }], showLess: [{
2024
+ type: Input,
2025
+ args: ['fngAccordionShowLessText']
2026
+ }], items: [{
2027
+ type: ContentChildren,
2028
+ args: [AccordionItemComponent]
2029
+ }] } });
2030
+
2031
+ class AccordionHeaderComponent {
2032
+ }
2033
+ AccordionHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AccordionHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2034
+ 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 });
2035
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AccordionHeaderComponent, decorators: [{
2036
+ type: Component,
2037
+ 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"] }]
2038
+ }] });
2039
+
1798
2040
  class FestoAngularComponentsModule {
1799
2041
  }
1800
2042
  FestoAngularComponentsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: FestoAngularComponentsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
@@ -1826,7 +2068,12 @@ FestoAngularComponentsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.
1826
2068
  MobileFlyoutPageComponent,
1827
2069
  MobileFlyoutItemComponent,
1828
2070
  SafeHtmlPipe,
1829
- ClickOutsideDirective], imports: [RouterModule, CommonModule, OverlayModule, PortalModule], exports: [ButtonComponent,
2071
+ ClickOutsideDirective,
2072
+ AccordionComponent,
2073
+ AccordionHeaderComponent,
2074
+ AccordionItemComponent,
2075
+ AccordionItemHeaderComponent,
2076
+ AccordionItemBodyComponent], imports: [RouterModule, CommonModule, OverlayModule, PortalModule], exports: [ButtonComponent,
1830
2077
  LinkButtonComponent,
1831
2078
  BreadcrumbComponent,
1832
2079
  LoadingIndicatorComponent,
@@ -1854,7 +2101,12 @@ FestoAngularComponentsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.
1854
2101
  ClickOutsideDirective,
1855
2102
  MobileFlyoutComponent,
1856
2103
  MobileFlyoutPageComponent,
1857
- MobileFlyoutItemComponent] });
2104
+ MobileFlyoutItemComponent,
2105
+ AccordionComponent,
2106
+ AccordionHeaderComponent,
2107
+ AccordionItemComponent,
2108
+ AccordionItemHeaderComponent,
2109
+ AccordionItemBodyComponent] });
1858
2110
  FestoAngularComponentsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: FestoAngularComponentsModule, providers: [], imports: [[RouterModule, CommonModule, OverlayModule, PortalModule]] });
1859
2111
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: FestoAngularComponentsModule, decorators: [{
1860
2112
  type: NgModule,
@@ -1888,7 +2140,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
1888
2140
  MobileFlyoutPageComponent,
1889
2141
  MobileFlyoutItemComponent,
1890
2142
  SafeHtmlPipe,
1891
- ClickOutsideDirective
2143
+ ClickOutsideDirective,
2144
+ AccordionComponent,
2145
+ AccordionHeaderComponent,
2146
+ AccordionItemComponent,
2147
+ AccordionItemHeaderComponent,
2148
+ AccordionItemBodyComponent
1892
2149
  ],
1893
2150
  imports: [RouterModule, CommonModule, OverlayModule, PortalModule],
1894
2151
  exports: [
@@ -1920,7 +2177,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
1920
2177
  ClickOutsideDirective,
1921
2178
  MobileFlyoutComponent,
1922
2179
  MobileFlyoutPageComponent,
1923
- MobileFlyoutItemComponent
2180
+ MobileFlyoutItemComponent,
2181
+ AccordionComponent,
2182
+ AccordionHeaderComponent,
2183
+ AccordionItemComponent,
2184
+ AccordionItemHeaderComponent,
2185
+ AccordionItemBodyComponent
1924
2186
  ],
1925
2187
  providers: [],
1926
2188
  bootstrap: [PopoverComponent]
@@ -5710,5 +5972,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
5710
5972
  * Generated bundle index. Do not edit.
5711
5973
  */
5712
5974
 
5713
- 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 };
5975
+ 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 };
5714
5976
  //# sourceMappingURL=festo-ui-angular.mjs.map