@festo-ui/angular 4.0.3-pre-20221010.2 → 4.0.3-pre-20221027.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.
package/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ export * from './lib/pipes/pipes.module';
1
2
  export * from './lib/components/components.module';
2
3
  export * from './lib/components/modals/modals.module';
3
4
  export * from './lib/components/snackbar/snackbar.module';
@@ -26,17 +26,17 @@ import * as i24 from "./search-input/search-input.component";
26
26
  import * as i25 from "./mobile-flyout/mobile-flyout.component";
27
27
  import * as i26 from "./mobile-flyout/mobile-flyout-page/mobile-flyout-page.component";
28
28
  import * as i27 from "./mobile-flyout/mobile-flyout-item/mobile-flyout-item.component";
29
- import * as i28 from "./search-input/safe-html.pipe";
30
- import * as i29 from "./click-outside.directive";
31
- import * as i30 from "./accordion/accordion.component";
32
- import * as i31 from "./accordion/accordion-header/accordion-header.component";
33
- import * as i32 from "./accordion/accordion-item/accordion-item.component";
34
- import * as i33 from "./accordion/accordion-item/accordion-item-header/accordion-item-header.component";
35
- import * as i34 from "./accordion/accordion-item/accordion-item-body/accordion-item-body.component";
36
- import * as i35 from "@angular/router";
37
- import * as i36 from "@angular/common";
38
- import * as i37 from "@angular/cdk/overlay";
39
- import * as i38 from "@angular/cdk/portal";
29
+ import * as i28 from "./click-outside.directive";
30
+ import * as i29 from "./accordion/accordion.component";
31
+ import * as i30 from "./accordion/accordion-header/accordion-header.component";
32
+ import * as i31 from "./accordion/accordion-item/accordion-item.component";
33
+ import * as i32 from "./accordion/accordion-item/accordion-item-header/accordion-item-header.component";
34
+ import * as i33 from "./accordion/accordion-item/accordion-item-body/accordion-item-body.component";
35
+ import * as i34 from "@angular/router";
36
+ import * as i35 from "@angular/common";
37
+ import * as i36 from "@angular/cdk/overlay";
38
+ import * as i37 from "@angular/cdk/portal";
39
+ import * as i38 from "../pipes/pipes.module";
40
40
  export * from './buttons/button/button.component';
41
41
  export * from './buttons/link-button/link-button.component';
42
42
  export * from './breadcrumb/breadcrumb.component';
@@ -62,7 +62,6 @@ export * from './tabs/tab-pane/tab-pane.component';
62
62
  export * from './pagination/pagination.component';
63
63
  export * from './scroll';
64
64
  export * from './search-input/search-input.component';
65
- export * from './search-input/safe-html.pipe';
66
65
  export * from './click-outside.directive';
67
66
  export * from './mobile-flyout/mobile-flyout.component';
68
67
  export * from './mobile-flyout/mobile-flyout-page/mobile-flyout-page.component';
@@ -70,6 +69,6 @@ export * from './mobile-flyout/mobile-flyout-item/mobile-flyout-item.component';
70
69
  export * from './accordion';
71
70
  export declare class FestoAngularComponentsModule {
72
71
  static ɵfac: i0.ɵɵFactoryDeclaration<FestoAngularComponentsModule, never>;
73
- static ɵmod: i0.ɵɵNgModuleDeclaration<FestoAngularComponentsModule, [typeof i1.ButtonComponent, typeof i2.LinkButtonComponent, typeof i3.BreadcrumbComponent, typeof i4.LoadingIndicatorComponent, typeof i5.ChipContainerComponent, typeof i6.ChipComponent, typeof i7.PaginationComponent, typeof i8.TableHeaderCellDirective, typeof i9.StepperVerticalComponent, typeof i10.StepVerticalComponent, typeof i11.StepperHorizontalComponent, typeof i12.StepHorizontalComponent, typeof i13.PopoverComponent, typeof i14.PopoverMenuComponent, typeof i15.TooltipDirective, typeof i16.PopoverContentComponent, typeof i17.PopoverContentDirective, typeof i18.LegendComponent, typeof i19.LegendDirective, typeof i20.ProgressComponent, typeof i21.TabsComponent, typeof i22.TabPaneComponent, typeof i23.ScrollableDirective, typeof i24.SearchInputComponent, typeof i25.MobileFlyoutComponent, typeof i26.MobileFlyoutPageComponent, typeof i27.MobileFlyoutItemComponent, typeof i28.SafeHtmlPipe, typeof i29.ClickOutsideDirective, typeof i30.AccordionComponent, typeof i31.AccordionHeaderComponent, typeof i32.AccordionItemComponent, typeof i33.AccordionItemHeaderComponent, typeof i34.AccordionItemBodyComponent], [typeof i35.RouterModule, typeof i36.CommonModule, typeof i37.OverlayModule, typeof i38.PortalModule], [typeof i1.ButtonComponent, typeof i2.LinkButtonComponent, typeof i3.BreadcrumbComponent, typeof i4.LoadingIndicatorComponent, typeof i5.ChipContainerComponent, typeof i6.ChipComponent, typeof i7.PaginationComponent, typeof i8.TableHeaderCellDirective, typeof i9.StepperVerticalComponent, typeof i10.StepVerticalComponent, typeof i11.StepperHorizontalComponent, typeof i12.StepHorizontalComponent, typeof i13.PopoverComponent, typeof i14.PopoverMenuComponent, typeof i15.TooltipDirective, typeof i16.PopoverContentComponent, typeof i17.PopoverContentDirective, typeof i18.LegendComponent, typeof i19.LegendDirective, typeof i20.ProgressComponent, typeof i21.TabsComponent, typeof i22.TabPaneComponent, typeof i23.ScrollableDirective, typeof i24.SearchInputComponent, typeof i28.SafeHtmlPipe, typeof i29.ClickOutsideDirective, typeof i25.MobileFlyoutComponent, typeof i26.MobileFlyoutPageComponent, typeof i27.MobileFlyoutItemComponent, typeof i30.AccordionComponent, typeof i31.AccordionHeaderComponent, typeof i32.AccordionItemComponent, typeof i33.AccordionItemHeaderComponent, typeof i34.AccordionItemBodyComponent]>;
72
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FestoAngularComponentsModule, [typeof i1.ButtonComponent, typeof i2.LinkButtonComponent, typeof i3.BreadcrumbComponent, typeof i4.LoadingIndicatorComponent, typeof i5.ChipContainerComponent, typeof i6.ChipComponent, typeof i7.PaginationComponent, typeof i8.TableHeaderCellDirective, typeof i9.StepperVerticalComponent, typeof i10.StepVerticalComponent, typeof i11.StepperHorizontalComponent, typeof i12.StepHorizontalComponent, typeof i13.PopoverComponent, typeof i14.PopoverMenuComponent, typeof i15.TooltipDirective, typeof i16.PopoverContentComponent, typeof i17.PopoverContentDirective, typeof i18.LegendComponent, typeof i19.LegendDirective, typeof i20.ProgressComponent, typeof i21.TabsComponent, typeof i22.TabPaneComponent, typeof i23.ScrollableDirective, typeof i24.SearchInputComponent, typeof i25.MobileFlyoutComponent, typeof i26.MobileFlyoutPageComponent, typeof i27.MobileFlyoutItemComponent, typeof i28.ClickOutsideDirective, typeof i29.AccordionComponent, typeof i30.AccordionHeaderComponent, typeof i31.AccordionItemComponent, typeof i32.AccordionItemHeaderComponent, typeof i33.AccordionItemBodyComponent], [typeof i34.RouterModule, typeof i35.CommonModule, typeof i36.OverlayModule, typeof i37.PortalModule, typeof i38.FestoAngularPipesModule], [typeof i1.ButtonComponent, typeof i2.LinkButtonComponent, typeof i3.BreadcrumbComponent, typeof i4.LoadingIndicatorComponent, typeof i5.ChipContainerComponent, typeof i6.ChipComponent, typeof i7.PaginationComponent, typeof i8.TableHeaderCellDirective, typeof i9.StepperVerticalComponent, typeof i10.StepVerticalComponent, typeof i11.StepperHorizontalComponent, typeof i12.StepHorizontalComponent, typeof i13.PopoverComponent, typeof i14.PopoverMenuComponent, typeof i15.TooltipDirective, typeof i16.PopoverContentComponent, typeof i17.PopoverContentDirective, typeof i18.LegendComponent, typeof i19.LegendDirective, typeof i20.ProgressComponent, typeof i21.TabsComponent, typeof i22.TabPaneComponent, typeof i23.ScrollableDirective, typeof i24.SearchInputComponent, typeof i28.ClickOutsideDirective, typeof i25.MobileFlyoutComponent, typeof i26.MobileFlyoutPageComponent, typeof i27.MobileFlyoutItemComponent, typeof i29.AccordionComponent, typeof i30.AccordionHeaderComponent, typeof i31.AccordionItemComponent, typeof i32.AccordionItemHeaderComponent, typeof i33.AccordionItemBodyComponent]>;
74
73
  static ɵinj: i0.ɵɵInjectorDeclaration<FestoAngularComponentsModule>;
75
74
  }
@@ -1,17 +1,23 @@
1
1
  import { ChangeDetectorRef, EventEmitter } from '@angular/core';
2
2
  import { Modal } from '../modals';
3
3
  import * as i0 from "@angular/core";
4
+ export interface ImageDescriptiveContent {
5
+ title: string;
6
+ body: string;
7
+ }
4
8
  export interface ImageGalleryData {
5
9
  startIndex: number;
6
10
  images: {
7
11
  url: string;
8
12
  alt: string;
13
+ content?: ImageDescriptiveContent;
9
14
  }[];
10
15
  thumbnailImages?: {
11
16
  url: string;
12
17
  alt: string;
13
18
  }[];
14
19
  pagination?: boolean;
20
+ descriptiveContent?: boolean;
15
21
  slideChanged?: (index: number) => void;
16
22
  }
17
23
  export declare class ImageGalleryComponent implements Modal<ImageGalleryData, any> {
@@ -1,10 +1,11 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./image-gallery.component";
3
3
  import * as i2 from "@angular/common";
4
- import * as i3 from "swiper/angular";
4
+ import * as i3 from "../../pipes/pipes.module";
5
+ import * as i4 from "swiper/angular";
5
6
  export * from './image-gallery.component';
6
7
  export declare class FestoAngularImageGalleryModule {
7
8
  static ɵfac: i0.ɵɵFactoryDeclaration<FestoAngularImageGalleryModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<FestoAngularImageGalleryModule, [typeof i1.ImageGalleryComponent], [typeof i2.CommonModule, typeof i3.SwiperModule], [typeof i1.ImageGalleryComponent]>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FestoAngularImageGalleryModule, [typeof i1.ImageGalleryComponent], [typeof i2.CommonModule, typeof i3.FestoAngularPipesModule, typeof i4.SwiperModule], [typeof i1.ImageGalleryComponent]>;
9
10
  static ɵinj: i0.ɵɵInjectorDeclaration<FestoAngularImageGalleryModule>;
10
11
  }
@@ -1,15 +1,16 @@
1
1
  import * as i0 from "@angular/core";
2
- import * as i1 from "./layout/layout.module";
3
- import * as i2 from "./components/components.module";
4
- import * as i3 from "./content/content.module";
5
- import * as i4 from "./forms/forms.module";
6
- import * as i5 from "./forms/date-picker.module";
7
- import * as i6 from "./components/modals/modals.module";
8
- import * as i7 from "./components/snackbar/snackbar.module";
9
- import * as i8 from "./components/image-gallery/image-gallery.module";
10
- import * as i9 from "./forms/text-editor/text-editor.module";
2
+ import * as i1 from "./pipes/pipes.module";
3
+ import * as i2 from "./layout/layout.module";
4
+ import * as i3 from "./components/components.module";
5
+ import * as i4 from "./content/content.module";
6
+ import * as i5 from "./forms/forms.module";
7
+ import * as i6 from "./forms/date-picker.module";
8
+ import * as i7 from "./components/modals/modals.module";
9
+ import * as i8 from "./components/snackbar/snackbar.module";
10
+ import * as i9 from "./components/image-gallery/image-gallery.module";
11
+ import * as i10 from "./forms/text-editor/text-editor.module";
11
12
  export declare class FestoAngularModule {
12
13
  static ɵfac: i0.ɵɵFactoryDeclaration<FestoAngularModule, never>;
13
- static ɵmod: i0.ɵɵNgModuleDeclaration<FestoAngularModule, never, [typeof i1.FestoAngularLayoutModule, typeof i2.FestoAngularComponentsModule, typeof i3.FestoAngularContentModule, typeof i4.FestoAngularFormsModule, typeof i5.FestoAngularDatePickerModule, typeof i6.FestoAngularModalsModule, typeof i7.FestoAngularSnackbarModule, typeof i8.FestoAngularImageGalleryModule, typeof i9.FestoAngularTextEditorModule], [typeof i1.FestoAngularLayoutModule, typeof i2.FestoAngularComponentsModule, typeof i3.FestoAngularContentModule, typeof i4.FestoAngularFormsModule, typeof i5.FestoAngularDatePickerModule, typeof i6.FestoAngularModalsModule, typeof i7.FestoAngularSnackbarModule, typeof i8.FestoAngularImageGalleryModule, typeof i9.FestoAngularTextEditorModule]>;
14
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FestoAngularModule, never, [typeof i1.FestoAngularPipesModule, typeof i2.FestoAngularLayoutModule, typeof i3.FestoAngularComponentsModule, typeof i4.FestoAngularContentModule, typeof i5.FestoAngularFormsModule, typeof i6.FestoAngularDatePickerModule, typeof i7.FestoAngularModalsModule, typeof i8.FestoAngularSnackbarModule, typeof i9.FestoAngularImageGalleryModule, typeof i10.FestoAngularTextEditorModule], [typeof i1.FestoAngularPipesModule, typeof i2.FestoAngularLayoutModule, typeof i3.FestoAngularComponentsModule, typeof i4.FestoAngularContentModule, typeof i5.FestoAngularFormsModule, typeof i6.FestoAngularDatePickerModule, typeof i7.FestoAngularModalsModule, typeof i8.FestoAngularSnackbarModule, typeof i9.FestoAngularImageGalleryModule, typeof i10.FestoAngularTextEditorModule]>;
14
15
  static ɵinj: i0.ɵɵInjectorDeclaration<FestoAngularModule>;
15
16
  }
@@ -15,6 +15,11 @@ export interface TextEditorConfiguration {
15
15
  image?: boolean;
16
16
  link?: boolean;
17
17
  };
18
+ sanitizing?: {
19
+ skipDefaultSanitizing?: boolean;
20
+ skipWhitespaceHandling?: boolean;
21
+ sanitizingFn?: (ds: DomSanitizer) => string;
22
+ };
18
23
  }
19
24
  export declare class TextEditorComponent extends ValueAccessorBaseDirective<string> implements OnInit, AfterViewInit, OnChanges {
20
25
  elementRef: ElementRef;
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./safe-html.pipe";
3
+ import * as i2 from "@angular/common";
4
+ export * from '../pipes/safe-html.pipe';
5
+ export declare class FestoAngularPipesModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<FestoAngularPipesModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FestoAngularPipesModule, [typeof i1.SafeHtmlPipe], [typeof i2.CommonModule], [typeof i1.SafeHtmlPipe]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<FestoAngularPipesModule>;
9
+ }
@@ -6,5 +6,5 @@ export declare class SafeHtmlPipe implements PipeTransform {
6
6
  constructor(sanitizer: DomSanitizer);
7
7
  transform(value: any): SafeHtml;
8
8
  static ɵfac: i0.ɵɵFactoryDeclaration<SafeHtmlPipe, never>;
9
- static ɵpipe: i0.ɵɵPipeDeclaration<SafeHtmlPipe, "safeHtml", false>;
9
+ static ɵpipe: i0.ɵɵPipeDeclaration<SafeHtmlPipe, "fweSafeHtml", false>;
10
10
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@festo-ui/angular",
3
- "version": "4.0.3-pre-20221010.2",
3
+ "version": "4.0.3-pre-20221027.4",
4
4
  "author": "Festo UI (styleguide@festo.com)",
5
5
  "license": "apache-2.0",
6
6
  "description": "CSS framework and utils to build FESTO web applications",
@@ -1,21 +0,0 @@
1
- import { Pipe } from '@angular/core';
2
- import { DomSanitizer } from '@angular/platform-browser';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@angular/platform-browser";
5
- export class SafeHtmlPipe {
6
- constructor(sanitizer) {
7
- this.sanitizer = sanitizer;
8
- }
9
- transform(value) {
10
- return this.sanitizer.bypassSecurityTrustHtml(value);
11
- }
12
- }
13
- SafeHtmlPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: SafeHtmlPipe, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
14
- SafeHtmlPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.1.3", ngImport: i0, type: SafeHtmlPipe, name: "safeHtml" });
15
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: SafeHtmlPipe, decorators: [{
16
- type: Pipe,
17
- args: [{
18
- name: 'safeHtml'
19
- }]
20
- }], ctorParameters: function () { return [{ type: i1.DomSanitizer }]; } });
21
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2FmZS1odG1sLnBpcGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2FuZ3VsYXIvc3JjL2xpYi9jb21wb25lbnRzL3NlYXJjaC1pbnB1dC9zYWZlLWh0bWwucGlwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsSUFBSSxFQUFpQixNQUFNLGVBQWUsQ0FBQztBQUNwRCxPQUFPLEVBQUUsWUFBWSxFQUFZLE1BQU0sMkJBQTJCLENBQUM7OztBQUtuRSxNQUFNLE9BQU8sWUFBWTtJQUN2QixZQUFzQixTQUF1QjtRQUF2QixjQUFTLEdBQVQsU0FBUyxDQUFjO0lBQUcsQ0FBQztJQUUxQyxTQUFTLENBQUMsS0FBVTtRQUN6QixPQUFPLElBQUksQ0FBQyxTQUFTLENBQUMsdUJBQXVCLENBQUMsS0FBSyxDQUFDLENBQUM7SUFDdkQsQ0FBQzs7eUdBTFUsWUFBWTt1R0FBWixZQUFZOzJGQUFaLFlBQVk7a0JBSHhCLElBQUk7bUJBQUM7b0JBQ0osSUFBSSxFQUFFLFVBQVU7aUJBQ2pCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgUGlwZSwgUGlwZVRyYW5zZm9ybSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgRG9tU2FuaXRpemVyLCBTYWZlSHRtbCB9IGZyb20gJ0Bhbmd1bGFyL3BsYXRmb3JtLWJyb3dzZXInO1xuXG5AUGlwZSh7XG4gIG5hbWU6ICdzYWZlSHRtbCdcbn0pXG5leHBvcnQgY2xhc3MgU2FmZUh0bWxQaXBlIGltcGxlbWVudHMgUGlwZVRyYW5zZm9ybSB7XG4gIGNvbnN0cnVjdG9yKHByb3RlY3RlZCBzYW5pdGl6ZXI6IERvbVNhbml0aXplcikge31cblxuICBwdWJsaWMgdHJhbnNmb3JtKHZhbHVlOiBhbnkpOiBTYWZlSHRtbCB7XG4gICAgcmV0dXJuIHRoaXMuc2FuaXRpemVyLmJ5cGFzc1NlY3VyaXR5VHJ1c3RIdG1sKHZhbHVlKTtcbiAgfVxufVxuIl19