simpo-component-library 3.6.82 → 3.6.84

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 (47) hide show
  1. package/esm2022/lib/directive/alignment.directive.mjs +23 -0
  2. package/esm2022/lib/directive/borderlessImage.directive.mjs +4 -1
  3. package/esm2022/lib/directive/height.directive.mjs +29 -0
  4. package/esm2022/lib/directive/image-editor.directive.mjs +5 -2
  5. package/esm2022/lib/directive/spacing-around.directive.mjs +2 -2
  6. package/esm2022/lib/directive/spacing-horizontal.directive.mjs +1 -2
  7. package/esm2022/lib/directive/spacing.directive.mjs +29 -0
  8. package/esm2022/lib/elements/below-image-card/below-image-card.component.mjs +1 -1
  9. package/esm2022/lib/sections/appointment-form/appointment-form.component.mjs +5 -3
  10. package/esm2022/lib/sections/banner-grid-section/banner-grid-section.component.mjs +41 -6
  11. package/esm2022/lib/sections/banner-section/banner-section.component.mjs +3 -3
  12. package/esm2022/lib/sections/choose-us-section/choose-us-section.component.mjs +6 -4
  13. package/esm2022/lib/sections/contact-us/contact-us.component.mjs +3 -3
  14. package/esm2022/lib/sections/faq-section/faq-section.component.mjs +3 -3
  15. package/esm2022/lib/sections/features-section/features-section.component.mjs +6 -4
  16. package/esm2022/lib/sections/logo-gallery/logo-gallery.component.mjs +3 -3
  17. package/esm2022/lib/sections/logo-showcase/logo-showcase.component.mjs +3 -3
  18. package/esm2022/lib/sections/new-services/new-services.component.mjs +3 -3
  19. package/esm2022/lib/sections/process-modern/process-modern.component.mjs +12 -4
  20. package/esm2022/lib/sections/process-section/process-section.component.mjs +3 -3
  21. package/esm2022/lib/sections/testimonial-section/testimonial-section.component.mjs +18 -3
  22. package/esm2022/lib/styles/index.mjs +2 -1
  23. package/esm2022/public-api.mjs +4 -1
  24. package/fesm2022/simpo-component-library.mjs +173 -35
  25. package/fesm2022/simpo-component-library.mjs.map +1 -1
  26. package/lib/directive/alignment.directive.d.ts +11 -0
  27. package/lib/directive/background-directive.d.ts +1 -1
  28. package/lib/directive/button-directive.directive.d.ts +1 -1
  29. package/lib/directive/color.directive.d.ts +1 -1
  30. package/lib/directive/height.directive.d.ts +11 -0
  31. package/lib/directive/spacing.directive.d.ts +12 -0
  32. package/lib/elements/link-editor/link-editor.component.d.ts +1 -1
  33. package/lib/sections/banner-carousel/banner-carousel.component.d.ts +2 -2
  34. package/lib/sections/banner-grid-section/banner-grid-section.component.d.ts +7 -1
  35. package/lib/sections/carousel-banner/carousel-banner.component.d.ts +1 -1
  36. package/lib/sections/contact-us/contact-us.component.d.ts +1 -1
  37. package/lib/sections/image-section/image-section.component.d.ts +2 -2
  38. package/lib/sections/logo-showcase/logo-showcase.component.d.ts +1 -1
  39. package/lib/sections/moving-text/moving-text.component.d.ts +1 -1
  40. package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
  41. package/lib/sections/process-modern/process-modern.component.d.ts +2 -0
  42. package/lib/sections/testimonial-section/testimonial-section.component.d.ts +1 -0
  43. package/lib/styles/index.d.ts +2 -1
  44. package/package.json +1 -1
  45. package/public-api.d.ts +3 -0
  46. package/simpo-component-library-3.6.84.tgz +0 -0
  47. package/simpo-component-library-3.6.82.tgz +0 -0
@@ -0,0 +1,11 @@
1
+ import { ElementRef, OnChanges } from '@angular/core';
2
+ import { ALIGN } from '../styles/types';
3
+ import * as i0 from "@angular/core";
4
+ export declare class AlignmentDirective implements OnChanges {
5
+ private el;
6
+ alignment?: ALIGN;
7
+ constructor(el: ElementRef);
8
+ ngOnChanges(): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<AlignmentDirective, never>;
10
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AlignmentDirective, "[simpoAlignment]", never, { "alignment": { "alias": "simpoAlignment"; "required": false; }; }, {}, never, never, true, never>;
11
+ }
@@ -11,7 +11,7 @@ export declare class BackgroundDirective implements OnChanges {
11
11
  constructor(el: ElementRef, eventService: EventsService);
12
12
  ngOnDestroy(): void;
13
13
  ngOnChanges(change: SimpleChanges): void;
14
- getTextColor(bgColor: string): "#ffffff" | "#000000" | "#ffffff;";
14
+ getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
15
15
  static ɵfac: i0.ɵɵFactoryDeclaration<BackgroundDirective, never>;
16
16
  static ɵdir: i0.ɵɵDirectiveDeclaration<BackgroundDirective, "[simpoBackground]", never, { "simpoBackground": { "alias": "simpoBackground"; "required": false; }; "scrollValue": { "alias": "scrollValue"; "required": false; }; }, {}, never, never, true, never>;
17
17
  }
@@ -16,7 +16,7 @@ export declare class ButtonDirectiveDirective implements OnChanges {
16
16
  applyButtonStyleChanges(): void;
17
17
  applyButtonType(style: ButtonStyleModel, backgroundInfo?: BackgroundModel): void;
18
18
  applyButtonShape(style: ButtonStyleModel): void;
19
- getTextColor(bgColor: string): "#ffffff" | "#000000" | "#ffffff;";
19
+ getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
20
20
  buttonStyleSubscription?: Subscription;
21
21
  buttonStyleChangeCheck(): void;
22
22
  changeButtonStyle(id: any, style: ButtonStyleModel, backgroundInfo: BackgroundModel): void;
@@ -12,7 +12,7 @@ export declare class ColorDirective implements OnChanges {
12
12
  ngOnDestroy(): void;
13
13
  applyColor(): void;
14
14
  bgColorChangeCheck(): void;
15
- getTextColor(): "#ffffff" | "#000000" | "#ffffff;";
15
+ getTextColor(): "#000000" | "#ffffff" | "#ffffff;";
16
16
  static ɵfac: i0.ɵɵFactoryDeclaration<ColorDirective, never>;
17
17
  static ɵdir: i0.ɵɵDirectiveDeclaration<ColorDirective, "[simpoColor]", never, { "bgColor": { "alias": "simpoColor"; "required": false; }; }, {}, never, never, true, never>;
18
18
  }
@@ -0,0 +1,11 @@
1
+ import { ElementRef, OnChanges } from '@angular/core';
2
+ import { FIT } from '../styles/types';
3
+ import * as i0 from "@angular/core";
4
+ export declare class HeightDirective implements OnChanges {
5
+ private el;
6
+ fit?: FIT;
7
+ constructor(el: ElementRef);
8
+ ngOnChanges(): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<HeightDirective, never>;
10
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HeightDirective, "[simpoHeight]", never, { "fit": { "alias": "simpoHeight"; "required": false; }; }, {}, never, never, true, never>;
11
+ }
@@ -0,0 +1,12 @@
1
+ import { ElementRef, OnChanges } from '@angular/core';
2
+ import { SpacingModel } from '../styles/style.model';
3
+ import * as i0 from "@angular/core";
4
+ export declare class SpacingDirective implements OnChanges {
5
+ private el;
6
+ spacing?: SpacingModel;
7
+ constructor(el: ElementRef);
8
+ ngOnChanges(): void;
9
+ private applySpacing;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<SpacingDirective, never>;
11
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SpacingDirective, "[simpoSpacing]", never, { "spacing": { "alias": "simpoSpacing"; "required": false; }; }, {}, never, never, true, never>;
12
+ }
@@ -28,7 +28,7 @@ export declare class LinkEditorComponent {
28
28
  buttonStyles: any;
29
29
  changeButtonStyle(): void;
30
30
  backgroundType: string[];
31
- setBorderRadius(): "0px" | "99px" | "7px";
31
+ setBorderRadius(): "0px" | "7px" | "99px";
32
32
  setBorder(): string;
33
33
  setColor(): any;
34
34
  setBackground(): any;
@@ -25,8 +25,8 @@ export declare class BannerCarouselComponent extends BaseSection implements OnIn
25
25
  get stylesLayout(): LayOutModel;
26
26
  get getBlurValue(): "NONE" | "LIGHT" | "MODERATE" | "STRONG" | "VERY_STRONG" | undefined;
27
27
  get getBackgroundColor(): BackgroundModel;
28
- get getBackgroundOpacity(): "0" | "0.7" | "0.5" | "0.3" | "0.2";
29
- opacityValue(value: OverlayValue): "0" | "0.7" | "0.5" | "0.3" | "0.2";
28
+ get getBackgroundOpacity(): "0.2" | "0.3" | "0.5" | "0.7" | "0";
29
+ opacityValue(value: OverlayValue): "0.2" | "0.3" | "0.5" | "0.7" | "0";
30
30
  editSection(): void;
31
31
  static ɵfac: i0.ɵɵFactoryDeclaration<BannerCarouselComponent, never>;
32
32
  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; }; "customClass": { "alias": "customClass"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
@@ -2,7 +2,7 @@ import { OnInit } from '@angular/core';
2
2
  import { BannerGridSectionModel, BannerGridContentModel, BannerGridStylesModel } from './banner-grid-section.model';
3
3
  import { EventsService } from '../../services/events.service';
4
4
  import BaseSection from '../BaseSection';
5
- import { BackgroundModel, LayOutModel } from '../../styles/style.model';
5
+ import { BackgroundModel, LayOutModel, SpacingModel } from '../../styles/style.model';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class BannerGridSectionComponent extends BaseSection implements OnInit {
8
8
  private _eventService;
@@ -17,10 +17,16 @@ export declare class BannerGridSectionComponent extends BaseSection implements O
17
17
  listItems: any;
18
18
  constructor(_eventService: EventsService);
19
19
  ngOnInit(): void;
20
+ screenWidth: any;
21
+ getScreenSize(): void;
20
22
  get stylesLayout(): LayOutModel;
21
23
  get canMergeNavbar(): boolean | undefined;
22
24
  get isBorderlessImage(): boolean | undefined;
23
25
  editSection(): void;
26
+ getImageClass(index: number): string;
27
+ get spacingLayout(): SpacingModel;
28
+ get alignmentLayout(): import("simpo-component-library").ALIGN | undefined;
29
+ get fitLayout(): import("simpo-component-library").FIT | undefined;
24
30
  static ɵfac: i0.ɵɵFactoryDeclaration<BannerGridSectionComponent, never>;
25
31
  static ɵcmp: i0.ɵɵComponentDeclaration<BannerGridSectionComponent, "simpo-banner-grid-section", never, { "data": { "alias": "data"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "index": { "alias": "index"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
26
32
  }
@@ -25,7 +25,7 @@ export declare class CarouselBannerComponent extends BaseSection implements OnIn
25
25
  get canMergeNavbar(): boolean | undefined;
26
26
  get isBorderlessImage(): boolean | undefined;
27
27
  get getPositionLayout(): PositionLayoutModal;
28
- opacityValue(value: OverlayValue): "0" | "0.7" | "0.5" | "0.3" | "0.2";
28
+ opacityValue(value: OverlayValue): "0.2" | "0.3" | "0.5" | "0.7" | "0";
29
29
  editSection(): void;
30
30
  static ɵfac: i0.ɵɵFactoryDeclaration<CarouselBannerComponent, never>;
31
31
  static ɵcmp: i0.ɵɵComponentDeclaration<CarouselBannerComponent, "simpo-carousel-banner", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
@@ -28,7 +28,7 @@ export declare class ContactUsComponent extends BaseSection implements OnInit {
28
28
  editSection(): void;
29
29
  canShowContactField(field: any): any;
30
30
  getCardStyle(): {};
31
- getTextColor(bgColor: string): "#ffffff" | "#000000" | "#ffffff;";
31
+ getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
32
32
  static ɵfac: i0.ɵɵFactoryDeclaration<ContactUsComponent, never>;
33
33
  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; }; "customClass": { "alias": "customClass"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
34
34
  }
@@ -20,9 +20,9 @@ export declare class ImageSectionComponent extends BaseSection {
20
20
  constructor(_eventService: EventsService);
21
21
  ngOnInit(): void;
22
22
  get canMergeNavbar(): boolean | undefined;
23
- get getBackgroundOpacity(): "1" | "0.7" | "0.5" | "0.3" | "0.2";
23
+ get getBackgroundOpacity(): "0.2" | "0.3" | "0.5" | "0.7" | "1";
24
24
  get stylesLayout(): LayOutModel;
25
- opacityValue(value: OverlayValue): "1" | "0.7" | "0.5" | "0.3" | "0.2";
25
+ opacityValue(value: OverlayValue): "0.2" | "0.3" | "0.5" | "0.7" | "1";
26
26
  editSection(): void;
27
27
  redirectTo(): void;
28
28
  static ɵfac: i0.ɵɵFactoryDeclaration<ImageSectionComponent, never>;
@@ -24,7 +24,7 @@ export declare class LogoShowcaseComponent extends BaseSection implements OnInit
24
24
  ngOnInit(): void;
25
25
  get stylesLayout(): LayOutModel;
26
26
  get animationDuration(): logoSpeed;
27
- get animationDirection(): logoDirection.Left | "reverse" | "normal";
27
+ get animationDirection(): "reverse" | "normal" | logoDirection.Left;
28
28
  screenWidth: number;
29
29
  getScreenSize(event?: number): void;
30
30
  editSection(): void;
@@ -22,7 +22,7 @@ export declare class MovingTextComponent extends BaseSection {
22
22
  private transitionToNext;
23
23
  isItemVisible(index: number): boolean;
24
24
  getItemClass(index: number): string;
25
- getTextColor(bgColor: string): "#ffffff" | "#000000";
25
+ getTextColor(bgColor: string): "#000000" | "#ffffff";
26
26
  static ɵfac: i0.ɵɵFactoryDeclaration<MovingTextComponent, never>;
27
27
  static ɵcmp: i0.ɵɵComponentDeclaration<MovingTextComponent, "simpo-moving-text", never, { "data": { "alias": "data"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, true, never>;
28
28
  }
@@ -18,7 +18,7 @@ export declare class PricingSectionComponent extends BaseSection {
18
18
  constructor(_eventService: EventsService);
19
19
  ngOnInit(): void;
20
20
  get stylesLayout(): LayOutModel;
21
- getTextColor(): "#ffffff" | "#000000";
21
+ getTextColor(): "#000000" | "#ffffff";
22
22
  get headingSpace(): SPACING;
23
23
  getButtonId(): string;
24
24
  editSection(): void;
@@ -15,6 +15,8 @@ export declare class ProcessModernComponent extends BaseSection implements OnIni
15
15
  nextComponentColor?: BackgroundModel;
16
16
  styles?: ProcessModernStylesModel;
17
17
  constructor(_eventService: EventsService);
18
+ scrWidth: number;
19
+ getScreenSize(): void;
18
20
  ngOnInit(): void;
19
21
  get stylesLayout(): LayOutModel;
20
22
  get getJustifyContent(): string;
@@ -18,6 +18,7 @@ export declare class TestimonialSectionComponent extends BaseSection {
18
18
  style?: testimonialStylesModel;
19
19
  constructor(_eventService: EventsService);
20
20
  ngOnInit(): void;
21
+ ngAfterViewInit(): void;
21
22
  get headingSpace(): SPACING;
22
23
  get getLayout(): LayOutModel;
23
24
  get stylesLayout(): LayOutModel;
@@ -32,7 +32,8 @@ export declare enum SPACINGALIGN {
32
32
  large = "8rem",
33
33
  medium = "6rem",
34
34
  small = "2rem",
35
- none = "0rem"
35
+ none = "0rem",
36
+ remove = "0rem"
36
37
  }
37
38
  export declare enum BANNERHALIGN {
38
39
  left = "justify-content-start text-start",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "3.6.82",
3
+ "version": "3.6.84",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
package/public-api.d.ts CHANGED
@@ -84,6 +84,9 @@ export * from './lib/directive/sticky-directive';
84
84
  export * from './lib/directive/removeCarousel-directive';
85
85
  export * from './lib/directive/spacing-around.directive';
86
86
  export * from './lib/directive/hover-animation.directive';
87
+ export * from './lib/directive/spacing.directive';
88
+ export * from './lib/directive/height.directive';
89
+ export * from './lib/directive/alignment.directive';
87
90
  export * from './lib/styles/index';
88
91
  export * from './lib/styles/style.model';
89
92
  export * from './lib/styles/types';
Binary file