simpo-component-library 3.6.243 → 3.6.250

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 (55) hide show
  1. package/esm2022/lib/directive/icon-directive.directive.mjs +23 -7
  2. package/esm2022/lib/directive/image-editor.directive.mjs +11 -4
  3. package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +2 -2
  4. package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +2 -2
  5. package/esm2022/lib/ecommerce/sections/user-profile/user-profile.component.mjs +2 -2
  6. package/esm2022/lib/elements/below-image-card/below-image-card.component.mjs +9 -3
  7. package/esm2022/lib/elements/covering-image-card/covering-image-card.component.mjs +2 -2
  8. package/esm2022/lib/elements/image-editor/image-editor.component.mjs +57 -27
  9. package/esm2022/lib/elements/pricing-s1/pricing-s1.component.mjs +2 -2
  10. package/esm2022/lib/sections/appointment-form/appointment-form.component.mjs +2 -2
  11. package/esm2022/lib/sections/banner-carousel/banner-carousel.component.mjs +2 -2
  12. package/esm2022/lib/sections/banner-grid-section/banner-grid-section.component.mjs +2 -2
  13. package/esm2022/lib/sections/banner-section/banner-section.component.mjs +2 -2
  14. package/esm2022/lib/sections/contact-us/contact-us.component.mjs +1 -1
  15. package/esm2022/lib/sections/faq-section/faq-section.component.mjs +1 -1
  16. package/esm2022/lib/sections/features-section/features-section.component.mjs +2 -2
  17. package/esm2022/lib/sections/image-carousel-section/image-carousel-section.component.mjs +2 -2
  18. package/esm2022/lib/sections/image-grid-section/image-grid-section.component.mjs +2 -2
  19. package/esm2022/lib/sections/image-section/image-section.component.mjs +2 -2
  20. package/esm2022/lib/sections/logo-gallery/logo-gallery.component.mjs +2 -2
  21. package/esm2022/lib/sections/logo-showcase/logo-showcase.component.mjs +5 -4
  22. package/esm2022/lib/sections/logo-showcase/logo-showcase.modal.mjs +1 -1
  23. package/esm2022/lib/sections/new-services/new-services.component.mjs +1 -1
  24. package/esm2022/lib/sections/new-testimonials/new-testimonials.component.mjs +1 -1
  25. package/esm2022/lib/sections/news-letter-component/news-letter-component.component.mjs +2 -2
  26. package/esm2022/lib/sections/pricing-section/pricing-section.component.mjs +2 -2
  27. package/esm2022/lib/sections/process-modern/process-modern.component.mjs +2 -2
  28. package/esm2022/lib/sections/process-section/process-section.component.mjs +1 -1
  29. package/esm2022/lib/sections/testimonial-fullwidth/testimonial-fullwidth.component.mjs +2 -2
  30. package/esm2022/lib/sections/testimonial-section/testimonial-section.component.mjs +2 -2
  31. package/esm2022/lib/sections/text-image-section/text-image-section.component.mjs +2 -2
  32. package/esm2022/lib/services/events.service.mjs +2 -1
  33. package/esm2022/lib/styles/style.model.mjs +1 -1
  34. package/fesm2022/simpo-component-library.mjs +124 -65
  35. package/fesm2022/simpo-component-library.mjs.map +1 -1
  36. package/lib/directive/icon-directive.directive.d.ts +9 -3
  37. package/lib/directive/image-editor.directive.d.ts +4 -1
  38. package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts +1 -1
  39. package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +1 -1
  40. package/lib/elements/below-image-card/below-image-card.component.d.ts +2 -0
  41. package/lib/elements/image-editor/image-editor.component.d.ts +4 -1
  42. package/lib/elements/link-editor/link-editor.component.d.ts +1 -1
  43. package/lib/elements/pricing-s1/pricing-s1.component.d.ts +1 -1
  44. package/lib/sections/banner-carousel/banner-carousel.component.d.ts +2 -2
  45. package/lib/sections/carousel-banner/carousel-banner.component.d.ts +1 -1
  46. package/lib/sections/image-section/image-section.component.d.ts +2 -2
  47. package/lib/sections/logo-showcase/logo-showcase.component.d.ts +1 -2
  48. package/lib/sections/logo-showcase/logo-showcase.modal.d.ts +2 -3
  49. package/lib/sections/new-testimonials/new-testimonials.component.d.ts +1 -1
  50. package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
  51. package/lib/services/events.service.d.ts +1 -0
  52. package/lib/styles/style.model.d.ts +2 -0
  53. package/package.json +1 -1
  54. package/simpo-component-library-3.6.250.tgz +0 -0
  55. package/simpo-component-library-3.6.243.tgz +0 -0
@@ -1,10 +1,16 @@
1
1
  import { ElementRef } from '@angular/core';
2
+ import { Icon } from '../styles/style.model';
3
+ import { EventsService } from '../services/events.service';
2
4
  import * as i0 from "@angular/core";
3
5
  export declare class IconDirectiveDirective {
6
+ private eventsService;
4
7
  private el;
5
- iconData: any;
6
- constructor(el: ElementRef);
8
+ iconData?: Icon;
9
+ iconId: string;
10
+ constructor(eventsService: EventsService, el: ElementRef);
11
+ ngOnInit(): void;
7
12
  ngOnChanges(): void;
13
+ private updateIconStyles;
8
14
  static ɵfac: i0.ɵɵFactoryDeclaration<IconDirectiveDirective, never>;
9
- static ɵdir: i0.ɵɵDirectiveDeclaration<IconDirectiveDirective, "[simpoIconDirective]", never, { "iconData": { "alias": "simpoIconDirective"; "required": false; }; }, {}, never, never, true, never>;
15
+ static ɵdir: i0.ɵɵDirectiveDeclaration<IconDirectiveDirective, "[simpoIconDirective]", never, { "iconData": { "alias": "simpoIconDirective"; "required": false; }; "iconId": { "alias": "iconId"; "required": false; }; }, {}, never, never, true, never>;
10
16
  }
@@ -3,6 +3,7 @@ import { Image } from '../styles/style.model';
3
3
  import { MatDialog } from '@angular/material/dialog';
4
4
  import { EventsService } from '../services/events.service';
5
5
  import { Router } from '@angular/router';
6
+ import { Icon } from '../styles/style.model';
6
7
  import * as i0 from "@angular/core";
7
8
  export declare class ImageEditorDirective implements OnInit, OnDestroy {
8
9
  private el;
@@ -12,6 +13,8 @@ export declare class ImageEditorDirective implements OnInit, OnDestroy {
12
13
  appImageEditor: boolean;
13
14
  imageData?: Image;
14
15
  sectionId?: string;
16
+ showIcon?: boolean;
17
+ iconData?: Icon;
15
18
  private mouseEnterSub?;
16
19
  private mouseLeaveSub?;
17
20
  private clickSub?;
@@ -24,5 +27,5 @@ export declare class ImageEditorDirective implements OnInit, OnDestroy {
24
27
  ngOnDestroy(): void;
25
28
  redirectTo(): void;
26
29
  static ɵfac: i0.ɵɵFactoryDeclaration<ImageEditorDirective, never>;
27
- static ɵdir: i0.ɵɵDirectiveDeclaration<ImageEditorDirective, "img[appImageEditor]", never, { "appImageEditor": { "alias": "appImageEditor"; "required": false; }; "imageData": { "alias": "imageData"; "required": false; }; "sectionId": { "alias": "sectionId"; "required": false; }; }, {}, never, never, true, never>;
30
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ImageEditorDirective, "[appImageEditor]", never, { "appImageEditor": { "alias": "appImageEditor"; "required": false; }; "imageData": { "alias": "imageData"; "required": false; }; "sectionId": { "alias": "sectionId"; "required": false; }; "showIcon": { "alias": "showIcon"; "required": false; }; "iconData": { "alias": "iconData"; "required": false; }; }, {}, never, never, true, never>;
28
31
  }
@@ -63,7 +63,7 @@ export declare class AuthenticationRequiredComponent extends BaseSection {
63
63
  validateNumber(event: KeyboardEvent): void;
64
64
  validateOTP(event: KeyboardEvent): void;
65
65
  checkStrength(): void;
66
- getStrengthColor(index: number): "tomato" | "#d3d3d3ba" | "orange" | "yellow" | "lightgreen";
66
+ getStrengthColor(index: number): "yellow" | "tomato" | "#d3d3d3ba" | "orange" | "lightgreen";
67
67
  emailDebounceTimer: any;
68
68
  onEmailChange(): void;
69
69
  emailCheck: boolean;
@@ -112,7 +112,7 @@ export declare class ProductDescComponent extends BaseSection {
112
112
  getTextColor(color: any): "#000000" | "#ffffff";
113
113
  languages: string[];
114
114
  selectedLang: string;
115
- getClass(map: any): "col-6" | "col-4" | "col-3" | "width-max";
115
+ getClass(map: any): "col-4" | "col-6" | "col-3" | "width-max";
116
116
  onFindInStore(id: string): void;
117
117
  onBookAppointment(): void;
118
118
  isDetails: boolean;
@@ -16,6 +16,8 @@ export declare class BelowImageCardComponent {
16
16
  getContentAnimation(): {
17
17
  contentAnimation: any;
18
18
  };
19
+ get getIconStyls(): any;
20
+ ngOnChanges(): void;
19
21
  getAlignment(): "justify-items-start" | "justify-items-end" | "justify-items-center";
20
22
  static ɵfac: i0.ɵɵFactoryDeclaration<BelowImageCardComponent, never>;
21
23
  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>;
@@ -1,6 +1,6 @@
1
1
  import { MatDialog, MatDialogRef } from '@angular/material/dialog';
2
2
  import { EventsService } from '../../services/events.service';
3
- import { Button, Image } from '../../styles/style.model';
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
6
  import * as i0 from "@angular/core";
@@ -12,6 +12,7 @@ export declare class ImageEditorComponent {
12
12
  private matDialog;
13
13
  constructor(eventsService: EventsService, editorService: ElementServiceService, dialogRef: MatDialogRef<ImageEditorComponent>, data: any, matDialog: MatDialog);
14
14
  imageData: Image;
15
+ iconData: Icon;
15
16
  sectionId: string;
16
17
  private backDrop;
17
18
  link: Button;
@@ -22,6 +23,7 @@ export declare class ImageEditorComponent {
22
23
  min: number;
23
24
  imgLoader: boolean;
24
25
  updateImage(): Promise<void>;
26
+ changeIconColor(): void;
25
27
  horizontalPosition(): void;
26
28
  deleteImage(): void;
27
29
  linkType: any[];
@@ -40,6 +42,7 @@ export declare class ImageEditorComponent {
40
42
  categoryPath: any;
41
43
  addCategoryToPath(): void;
42
44
  onPageChange(event: any): void;
45
+ imageHelperFunction(): Promise<void>;
43
46
  static ɵfac: i0.ɵɵFactoryDeclaration<ImageEditorComponent, never>;
44
47
  static ɵcmp: i0.ɵɵComponentDeclaration<ImageEditorComponent, "simpo-image-editor", never, {}, {}, never, never, true, never>;
45
48
  }
@@ -29,7 +29,7 @@ export declare class LinkEditorComponent {
29
29
  changeButtonStyle(): void;
30
30
  getContrastTextColor(backgroundHex: any): void;
31
31
  backgroundType: string[];
32
- setBorderRadius(): "0px" | "7px" | "99px";
32
+ setBorderRadius(): "0px" | "99px" | "7px";
33
33
  setBorder(): string;
34
34
  setColor(): any;
35
35
  setBackground(): any;
@@ -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-4" | "col-12" | "col-5" | "col-3";
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.2" | "0.3" | "0.5" | "0.7";
29
- opacityValue(value: OverlayValue): "0" | "0.2" | "0.3" | "0.5" | "0.7";
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";
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.2" | "0.3" | "0.5" | "0.7";
28
+ opacityValue(value: OverlayValue): "0" | "0.7" | "0.5" | "0.3" | "0.2";
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>;
@@ -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(): "0.2" | "0.3" | "0.5" | "0.7" | "1";
23
+ get getBackgroundOpacity(): "1" | "0.7" | "0.5" | "0.3" | "0.2";
24
24
  get stylesLayout(): LayOutModel;
25
- opacityValue(value: OverlayValue): "0.2" | "0.3" | "0.5" | "0.7" | "1";
25
+ opacityValue(value: OverlayValue): "1" | "0.7" | "0.5" | "0.3" | "0.2";
26
26
  editSection(): void;
27
27
  redirectTo(): void;
28
28
  static ɵfac: i0.ɵɵFactoryDeclaration<ImageSectionComponent, never>;
@@ -22,10 +22,9 @@ export declare class LogoShowcaseComponent extends BaseSection implements OnInit
22
22
  isFullWidth: boolean;
23
23
  constructor(_eventService: EventsService);
24
24
  ngOnInit(): void;
25
- leftOrRight: any;
26
25
  get stylesLayout(): LayOutModel;
27
26
  get animationDuration(): logoSpeed;
28
- get animationDirection(): "reverse" | "normal" | logoDirection.Left;
27
+ get animationDirection(): logoDirection.Left | "reverse" | "normal";
29
28
  get isMobile(): boolean;
30
29
  get getPositionLayout(): PositionLayoutModal;
31
30
  screenWidth: number;
@@ -1,4 +1,4 @@
1
- import { Image, ImageStyle, StylesModel, ActionModel, InputTextModel, ListItemModal, PositionLayoutModal, DisplaySection } from "./../../styles/style.model";
1
+ import { ImageStyle, StylesModel, ActionModel, InputTextModel, ListItemModal, PositionLayoutModal, DisplaySection, Icon } from "./../../styles/style.model";
2
2
  import { Corners, logoDirection, logoSpeed, logoType, showCaseType, AlignContent } from './../../styles/index';
3
3
  import { CARD_SIZE, LOGO_POSITION } from './../../styles/types';
4
4
  export interface LogoShowcaseSection {
@@ -15,11 +15,10 @@ export interface LogoShowcaseContentModel {
15
15
  listItem: ListItemModal<LogoShowcaseItemModel>;
16
16
  }
17
17
  export interface Display extends DisplaySection {
18
- showIcon: boolean;
19
18
  showButtonOnHover: boolean;
20
19
  }
21
20
  export interface LogoShowcaseItemModel {
22
- image: Image;
21
+ icon: Icon;
23
22
  inputText: InputTextModel[];
24
23
  }
25
24
  export interface LogoShowcaseStylesModel extends StylesModel {
@@ -21,7 +21,7 @@ export declare class NewTestimonialsComponent extends BaseSection {
21
21
  idx: number;
22
22
  getImageData(): import("../../styles/style.model").Image | undefined;
23
23
  getImageUrl(): string | undefined;
24
- getImageType(): "Video" | "Image";
24
+ getImageType(): "Image" | "Video";
25
25
  editSection(): void;
26
26
  stopPropagation(event: any): void;
27
27
  screenWidth: any;
@@ -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-4" | "col-12" | "col-6" | "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
  }
@@ -46,6 +46,7 @@ export declare class EventsService implements OnInit {
46
46
  showBagIcon: EventEmitter<boolean>;
47
47
  formFieldChanged: EventEmitter<unknown>;
48
48
  elementHeight: EventEmitter<unknown>;
49
+ iconChanged: EventEmitter<unknown>;
49
50
  static ɵfac: i0.ɵɵFactoryDeclaration<EventsService, never>;
50
51
  static ɵprov: i0.ɵɵInjectableDeclaration<EventsService>;
51
52
  }
@@ -169,7 +169,9 @@ export interface Image {
169
169
  content?: Button;
170
170
  }
171
171
  export interface Icon {
172
+ id?: string;
172
173
  url: string;
174
+ altText?: string;
173
175
  color: string;
174
176
  showBackground?: boolean;
175
177
  backgroundColor?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "3.6.243",
3
+ "version": "3.6.250",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file