simpo-component-library 3.6.320 → 3.6.323

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 (36) hide show
  1. package/esm2022/lib/directive/set-dynamic-background.directive.mjs +2 -2
  2. package/esm2022/lib/elements/below-image-card/below-image-card.component.mjs +24 -3
  3. package/esm2022/lib/elements/image-editor/image-editor.component.mjs +4 -3
  4. package/esm2022/lib/elements/index.mjs +2 -2
  5. package/esm2022/lib/elements/link-editor/link-editor.component.mjs +27 -7
  6. package/esm2022/lib/elements/navbar-button-element/navbar-button-element.component.mjs +3 -3
  7. package/esm2022/lib/elements/simpo-button/simpo-button.component.mjs +5 -3
  8. package/esm2022/lib/elements/socia-icons/socia-icons.component.mjs +3 -3
  9. package/esm2022/lib/elements/text-editor/text-editor.component.mjs +3 -3
  10. package/esm2022/lib/sections/banner-section/banner-section.component.mjs +3 -3
  11. package/esm2022/lib/sections/contact-us/contact-us.component.mjs +6 -3
  12. package/esm2022/lib/sections/faq-section/faq-section.component.mjs +3 -3
  13. package/esm2022/lib/sections/footer/footer.component.mjs +3 -3
  14. package/esm2022/lib/sections/logo-showcase/logo-showcase.component.mjs +13 -4
  15. package/esm2022/lib/sections/new-testimonials/new-testimonials.component.mjs +3 -3
  16. package/esm2022/lib/sections/service-section/service-section.component.mjs +12 -9
  17. package/esm2022/lib/sections/service-section/service-section.model.mjs +1 -1
  18. package/esm2022/lib/styles/style.model.mjs +1 -1
  19. package/fesm2022/simpo-component-library.mjs +856 -805
  20. package/fesm2022/simpo-component-library.mjs.map +1 -1
  21. package/lib/ecommerce/sections/schemes/schemes.component.d.ts +1 -1
  22. package/lib/elements/below-image-card/below-image-card.component.d.ts +2 -0
  23. package/lib/elements/image-editor/image-editor.component.d.ts +2 -0
  24. package/lib/elements/link-editor/link-editor.component.d.ts +6 -2
  25. package/lib/elements/pricing-s1/pricing-s1.component.d.ts +1 -1
  26. package/lib/sections/banner-carousel/banner-carousel.component.d.ts +2 -2
  27. package/lib/sections/carousel-banner/carousel-banner.component.d.ts +1 -1
  28. package/lib/sections/contact-us/contact-us.component.d.ts +1 -0
  29. package/lib/sections/image-section/image-section.component.d.ts +2 -2
  30. package/lib/sections/logo-showcase/logo-showcase.component.d.ts +2 -1
  31. package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
  32. package/lib/sections/service-section/service-section.model.d.ts +2 -1
  33. package/lib/styles/style.model.d.ts +7 -0
  34. package/package.json +1 -1
  35. package/simpo-component-library-3.6.323.tgz +0 -0
  36. package/simpo-component-library-3.6.320.tgz +0 -0
@@ -21,7 +21,7 @@ export declare class SchemesComponent extends BaseSection {
21
21
  get stylesLayout(): LayOutModel;
22
22
  get spacingLayout(): SpacingModel;
23
23
  getParentClass(): "" | "overflow-scroll flex-nowrap";
24
- getClass(index: number): "col-6" | "col-12" | "col-6 mb-2" | "col-12 mb-2";
24
+ getClass(index: number): "col-12" | "col-6 mb-2" | "col-12 mb-2" | "col-6";
25
25
  showSchemeDetails(scheme: any): void;
26
26
  static ɵfac: i0.ɵɵFactoryDeclaration<SchemesComponent, never>;
27
27
  static ɵcmp: i0.ɵɵComponentDeclaration<SchemesComponent, "simpo-schemes", never, { "data": { "alias": "data"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, true, never>;
@@ -19,6 +19,8 @@ export declare class BelowImageCardComponent {
19
19
  get getIconStyls(): any;
20
20
  ngOnChanges(): void;
21
21
  getAlignment(): "justify-items-start" | "justify-items-end" | "justify-items-center";
22
+ getBackground(): any;
23
+ get getIconBackground(): any;
22
24
  static ɵfac: i0.ɵɵFactoryDeclaration<BelowImageCardComponent, never>;
23
25
  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; }; "edit": { "alias": "edit"; "required": false; }; }, {}, never, never, true, never>;
24
26
  }
@@ -3,6 +3,7 @@ import { EventsService } from '../../services/events.service';
3
3
  import { Button, Icon, Image } from '../../styles/style.model';
4
4
  import { ElementServiceService } from '../editor-service.service';
5
5
  import { RedirectionLinkType } from '../../styles/index';
6
+ import { BACKGROUND_TYPE } from '@simpo-ui/styles/types';
6
7
  import * as i0 from "@angular/core";
7
8
  export declare class ImageEditorComponent {
8
9
  private eventsService;
@@ -21,6 +22,7 @@ export declare class ImageEditorComponent {
21
22
  addLink: boolean;
22
23
  max: number;
23
24
  min: number;
25
+ tabs: BACKGROUND_TYPE[];
24
26
  imgLoader: boolean;
25
27
  updateImage(): Promise<void>;
26
28
  changeIconColor(): void;
@@ -1,6 +1,6 @@
1
1
  import { Button } from '../../styles/style.model';
2
2
  import { RedirectionLinkType } from '../../styles/index';
3
- import { MatDialogRef } from '@angular/material/dialog';
3
+ import { MatDialog, MatDialogRef } from '@angular/material/dialog';
4
4
  import { ElementServiceService } from '../editor-service.service';
5
5
  import { EventsService } from '../../services/events.service';
6
6
  import * as i0 from "@angular/core";
@@ -9,6 +9,7 @@ export declare class LinkEditorComponent {
9
9
  dialogRef: MatDialogRef<LinkEditorComponent>;
10
10
  data: any;
11
11
  private eventService;
12
+ private matDialog;
12
13
  link: Button;
13
14
  RedirectionLink: typeof RedirectionLinkType;
14
15
  externalLinkType: Array<type>;
@@ -19,7 +20,7 @@ export declare class LinkEditorComponent {
19
20
  directionType: any[];
20
21
  templatePage: any[];
21
22
  addLink: boolean;
22
- constructor(editorService: ElementServiceService, dialogRef: MatDialogRef<LinkEditorComponent>, data: any, eventService: EventsService);
23
+ constructor(editorService: ElementServiceService, dialogRef: MatDialogRef<LinkEditorComponent>, data: any, eventService: EventsService, matDialog: MatDialog);
23
24
  ngOnInit(): void;
24
25
  closeDialog(): void;
25
26
  getTemplatePage(): void;
@@ -33,6 +34,9 @@ export declare class LinkEditorComponent {
33
34
  setBorder(): string;
34
35
  setColor(): any;
35
36
  setBackground(): any;
37
+ imgLoader: boolean;
38
+ updateImage(): Promise<void>;
39
+ deleteImage(): void;
36
40
  setRedirectUrl(): void;
37
41
  static ɵfac: i0.ɵɵFactoryDeclaration<LinkEditorComponent, never>;
38
42
  static ɵcmp: i0.ɵɵComponentDeclaration<LinkEditorComponent, "simpo-link-editor", never, {}, {}, never, never, true, never>;
@@ -15,7 +15,7 @@ export declare class PricingS1Component extends BaseSection {
15
15
  editSection(): void;
16
16
  getButtonId(): string;
17
17
  redirectTo(): void;
18
- getClass(): "col-4" | "col-3" | "col-12" | "col-5";
18
+ getClass(): "col-12" | "col-4" | "col-3" | "col-5";
19
19
  static ɵfac: i0.ɵɵFactoryDeclaration<PricingS1Component, never>;
20
20
  static ɵcmp: i0.ɵɵComponentDeclaration<PricingS1Component, "simpo-pricing-s1", never, { "data": { "alias": "data"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; }, {}, never, never, true, never>;
21
21
  }
@@ -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
  getScreenSize(): number;
32
32
  static ɵfac: i0.ɵɵFactoryDeclaration<BannerCarouselComponent, never>;
@@ -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>;
@@ -29,6 +29,7 @@ export declare class ContactUsComponent extends BaseSection implements OnInit {
29
29
  canShowContactField(field: any): any;
30
30
  getCardStyle(): {};
31
31
  getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
32
+ getAlignment(): "justify-content-start" | "justify-content-center" | "justify-content-end";
32
33
  static ɵfac: i0.ɵɵFactoryDeclaration<ContactUsComponent, never>;
33
34
  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
35
  }
@@ -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,12 +24,13 @@ 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
  get isMobile(): boolean;
29
29
  get getPositionLayout(): PositionLayoutModal;
30
30
  screenWidth: number;
31
31
  getScreenSize(event?: number): void;
32
32
  editSection(): void;
33
+ getIconBackground(icon: any): any;
33
34
  static ɵfac: i0.ɵɵFactoryDeclaration<LogoShowcaseComponent, never>;
34
35
  static ɵcmp: i0.ɵɵComponentDeclaration<LogoShowcaseComponent, "simpo-logo-showcase", 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>;
35
36
  }
@@ -23,7 +23,7 @@ export declare class PricingSectionComponent extends BaseSection {
23
23
  getButtonId(): string;
24
24
  editSection(): void;
25
25
  redirectTo(): void;
26
- getClass(): "col-6" | "col-4" | "col-3" | "col-12";
26
+ getClass(): "col-12" | "col-6" | "col-4" | "col-3";
27
27
  static ɵfac: i0.ɵɵFactoryDeclaration<PricingSectionComponent, never>;
28
28
  static ɵcmp: i0.ɵɵComponentDeclaration<PricingSectionComponent, "simpo-pricing-section", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
29
29
  }
@@ -1,4 +1,4 @@
1
- import { ActionModel, Button, CardStyles, contentAnimationModel, DisplaySection, Icon, Image, InputTextModel, ListItemModal, StylesModel } from './../../styles/style.model';
1
+ import { ActionModel, BackgroundModel, Button, CardStyles, contentAnimationModel, DisplaySection, Icon, Image, InputTextModel, ListItemModal, StylesModel } from './../../styles/style.model';
2
2
  export interface ServiceSectionModal {
3
3
  id: string;
4
4
  sectionType: string;
@@ -25,6 +25,7 @@ export interface ServiceStylesModel extends StylesModel, CardStyles {
25
25
  export interface ServiceItemModal {
26
26
  image: Image;
27
27
  icon: Icon;
28
+ background: BackgroundModel;
28
29
  inputText: InputTextModel[];
29
30
  button: Button;
30
31
  }
@@ -65,6 +65,7 @@ export interface BackgroundModel {
65
65
  secondaryColor: string;
66
66
  backgroundGradientDirection: GRADIENT_DIRECTION;
67
67
  backgroundAnimation?: BACKGROUND_ANIMATION;
68
+ showBackground?: boolean;
68
69
  }
69
70
  export interface AnimationModel {
70
71
  type: ANIMATION_DIRECTION;
@@ -100,6 +101,8 @@ export interface Button {
100
101
  redirectionUrl: string;
101
102
  pageId: string;
102
103
  newTab: boolean;
104
+ showIcon?: boolean;
105
+ icon?: Icon | any;
103
106
  }
104
107
  export interface NavbarButton {
105
108
  label: string;
@@ -175,6 +178,10 @@ export interface Icon {
175
178
  color: string;
176
179
  showBackground?: boolean;
177
180
  backgroundColor?: string;
181
+ backgroundType?: BACKGROUND_TYPE;
182
+ secondaryColor?: string;
183
+ backgroundGradientDirection?: GRADIENT_DIRECTION;
184
+ iconPosition?: 'left' | 'right';
178
185
  }
179
186
  export interface ButtonStyleModel {
180
187
  type: BUTTON_TYPE;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "3.6.320",
3
+ "version": "3.6.323",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file