simpo-component-library 1.1.6 → 1.1.8

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 (27) hide show
  1. package/esm2022/lib/components/input-fields/input-fields.component.mjs +5 -4
  2. package/esm2022/lib/directive/blur-content.directive.mjs +18 -2
  3. package/esm2022/lib/directive/image-container.directive.mjs +65 -0
  4. package/esm2022/lib/elements/below-image-card/below-image-card.component.mjs +14 -3
  5. package/esm2022/lib/elements/socia-icons/socia-icons.component.mjs +3 -3
  6. package/esm2022/lib/sections/banner-carousel/banner-carousel.component.mjs +4 -4
  7. package/esm2022/lib/sections/banner-carousel/banner-carousel.model.mjs +1 -1
  8. package/esm2022/lib/sections/banner-section/banner-section.component.mjs +3 -3
  9. package/esm2022/lib/sections/contact-us/contact-us.component.mjs +6 -3
  10. package/esm2022/lib/sections/contact-us/contact-us.modal.mjs +1 -1
  11. package/esm2022/lib/sections/faq-section/faq-section.component.mjs +4 -4
  12. package/esm2022/lib/sections/image-carousel-section/image-carousel-section.component.mjs +3 -3
  13. package/esm2022/lib/sections/text-section/text-section.component.mjs +6 -7
  14. package/esm2022/lib/styles/style.model.mjs +1 -1
  15. package/fesm2022/simpo-component-library.mjs +112 -22
  16. package/fesm2022/simpo-component-library.mjs.map +1 -1
  17. package/lib/directive/blur-content.directive.d.ts +2 -1
  18. package/lib/directive/image-container.directive.d.ts +19 -0
  19. package/lib/elements/below-image-card/below-image-card.component.d.ts +1 -0
  20. package/lib/sections/banner-carousel/banner-carousel.component.d.ts +3 -3
  21. package/lib/sections/banner-carousel/banner-carousel.model.d.ts +1 -3
  22. package/lib/sections/contact-us/contact-us.component.d.ts +1 -0
  23. package/lib/sections/contact-us/contact-us.modal.d.ts +1 -0
  24. package/lib/styles/style.model.d.ts +3 -1
  25. package/package.json +1 -1
  26. package/simpo-component-library-1.1.8.tgz +0 -0
  27. package/simpo-component-library-1.1.6.tgz +0 -0
@@ -3,11 +3,12 @@ import { OverlayValue } from "../styles/index";
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class SimpoBlurContentDirective implements OnChanges, OnInit, OnDestroy {
5
5
  private el;
6
- simpoBlurContent?: keyof typeof OverlayValue;
6
+ simpoBlurContent?: OverlayValue;
7
7
  constructor(el: ElementRef);
8
8
  ngOnChanges(changes: SimpleChanges): void;
9
9
  ngOnDestroy(): void;
10
10
  ngOnInit(): void;
11
+ get getOverlayValue(): OverlayValue;
11
12
  static ɵfac: i0.ɵɵFactoryDeclaration<SimpoBlurContentDirective, never>;
12
13
  static ɵdir: i0.ɵɵDirectiveDeclaration<SimpoBlurContentDirective, "[simpoBlurContent]", never, { "simpoBlurContent": { "alias": "simpoBlurContent"; "required": false; }; }, {}, never, never, true, never>;
13
14
  }
@@ -0,0 +1,19 @@
1
+ import { ElementRef, OnChanges } from '@angular/core';
2
+ import { EventsService } from '../services/events.service';
3
+ import { ImageStyle } from '../styles/style.model';
4
+ import { Subscription } from 'rxjs';
5
+ import * as i0 from "@angular/core";
6
+ export declare class ImageContainerDirective implements OnChanges {
7
+ private el;
8
+ private eventService;
9
+ simpoImageContainerDirective?: ImageStyle;
10
+ constructor(el: ElementRef, eventService: EventsService);
11
+ ngOnInit(): void;
12
+ ngOnChanges(): void;
13
+ ngOnDestroy(): void;
14
+ imageStyleSubscription?: Subscription;
15
+ imageStyleChangeCheck(): void;
16
+ changeImageStyle(id: string, style: ImageStyle): void;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<ImageContainerDirective, never>;
18
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ImageContainerDirective, "[simpoImageContainerDirective]", never, { "simpoImageContainerDirective": { "alias": "simpoImageContainerDirective"; "required": false; }; }, {}, never, never, true, never>;
19
+ }
@@ -11,6 +11,7 @@ export declare class BelowImageCardComponent {
11
11
  constructor(_eventService: EventsService);
12
12
  ngOnInit(): void;
13
13
  redirectTo(): void;
14
+ get getAspectRatio(): any;
14
15
  static ɵfac: i0.ɵɵFactoryDeclaration<BelowImageCardComponent, never>;
15
16
  static ɵcmp: i0.ɵɵComponentDeclaration<BelowImageCardComponent, "simpo-below-image-card", never, { "data": { "alias": "data"; "required": false; }; "styles": { "alias": "styles"; "required": false; }; "content": { "alias": "content"; "required": false; }; "componentId": { "alias": "componentId"; "required": false; }; "button": { "alias": "button"; "required": false; }; }, {}, never, never, true, never>;
16
17
  }
@@ -21,10 +21,10 @@ export declare class BannerCarouselComponent extends BaseSection implements OnIn
21
21
  constructor(_eventService: EventsService);
22
22
  ngOnInit(): void;
23
23
  get stylesLayout(): LayOutModel;
24
- get getBlurValue(): "NONE" | "LIGHT" | "MODERATE" | "STRONG" | "VERY_STRONG" | undefined;
24
+ get getBlurValue(): OverlayValue | undefined;
25
25
  get getBackgroundColor(): BackgroundModel;
26
- get getBackgroundOpacity(): "0.2" | "0.3" | "0.5" | "0.7" | "0";
27
- opacityValue(value: OverlayValue): "0.2" | "0.3" | "0.5" | "0.7" | "0";
26
+ get getBackgroundOpacity(): "0" | "0.2" | "0.3" | "0.5" | "0.7";
27
+ opacityValue(value: OverlayValue): "0" | "0.2" | "0.3" | "0.5" | "0.7";
28
28
  editSection(): void;
29
29
  static ɵfac: i0.ɵɵFactoryDeclaration<BannerCarouselComponent, never>;
30
30
  static ɵcmp: i0.ɵɵComponentDeclaration<BannerCarouselComponent, "simpo-banner-carousel", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; }, {}, never, never, true, never>;
@@ -1,4 +1,4 @@
1
- import { Corners, OverlayValue } from '../../styles/index';
1
+ import { Corners } from '../../styles/index';
2
2
  import { ActionModel, Image, InputTextModel, ListItemModal, StylesModel } from '../../styles/style.model';
3
3
  export interface BannerCarouselModel {
4
4
  id: string;
@@ -21,6 +21,4 @@ export interface textModel {
21
21
  }
22
22
  export interface BannerCarouselStylesModel extends StylesModel {
23
23
  corners: Corners;
24
- blur: keyof typeof OverlayValue;
25
- overlay: OverlayValue;
26
24
  }
@@ -24,6 +24,7 @@ export declare class ContactUsComponent extends BaseSection implements OnInit {
24
24
  getWidthByField(field: any): string;
25
25
  buttonClick(): void;
26
26
  editSection(): void;
27
+ canShowContactField(field: any): any;
27
28
  static ɵfac: i0.ɵɵFactoryDeclaration<ContactUsComponent, never>;
28
29
  static ɵcmp: i0.ɵɵComponentDeclaration<ContactUsComponent, "simpo-contact-us", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; }, {}, never, never, true, never>;
29
30
  }
@@ -35,6 +35,7 @@ export interface Field {
35
35
  value: string;
36
36
  type: INPUT_FIELDS_TYPE;
37
37
  required: boolean;
38
+ status?: boolean;
38
39
  inputValue?: string;
39
40
  options: {
40
41
  label: string;
@@ -1,4 +1,4 @@
1
- import { AlignContent, Corners, ImageFit, ImageRatio, RedirectionLinkType, SPACING, TEXT_SIZE, TextPosition } from '.';
1
+ import { AlignContent, Corners, ImageFit, ImageRatio, OverlayValue, RedirectionLinkType, SPACING, TEXT_SIZE, TextPosition } from '.';
2
2
  import { ALIGN, ANIMATION_DIRECTION, ANIMATION_SPEED, BUTTON_SHAPE, BUTTON_TYPE, CARD_SIZE, FIT, LAYOUTPOSITION, LINK_TYPE, SPACING_TYPE, CONTENTPOSITION } from './types';
3
3
  export interface SpacingModel {
4
4
  top: SPACING_TYPE;
@@ -48,6 +48,8 @@ export interface BackgroundModel {
48
48
  opacity: number;
49
49
  showImage: boolean;
50
50
  position: PositionModel;
51
+ blur?: keyof typeof OverlayValue;
52
+ overlay?: OverlayValue;
51
53
  }
52
54
  export interface AnimationModel {
53
55
  type: ANIMATION_DIRECTION;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "1.1.6",
3
+ "version": "1.1.8",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file