simpo-component-library 3.6.466 → 3.6.468

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 (34) hide show
  1. package/esm2022/lib/directive/button-directive.directive.mjs +6 -4
  2. package/esm2022/lib/directive/image-directive.directive.mjs +5 -2
  3. package/esm2022/lib/directive/spacing-around.directive.mjs +3 -3
  4. package/esm2022/lib/elements/link-editor/link-editor.component.mjs +13 -4
  5. package/esm2022/lib/elements/text-editor/text-editor.component.mjs +94 -80
  6. package/esm2022/lib/sections/footer/footer.component.mjs +3 -3
  7. package/esm2022/lib/sections/header-section/header-section.component.mjs +3 -5
  8. package/esm2022/lib/sections/image-carousel-section/image-carousel-section.component.mjs +12 -5
  9. package/esm2022/lib/sections/logo-showcase/logo-showcase.component.mjs +7 -9
  10. package/esm2022/lib/sections/service-section/service-section.component.mjs +3 -3
  11. package/esm2022/lib/services/rest.service.mjs +21 -17
  12. package/esm2022/lib/tokens/api-token.mjs +2 -1
  13. package/fesm2022/simpo-component-library.mjs +185 -149
  14. package/fesm2022/simpo-component-library.mjs.map +1 -1
  15. package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts +1 -1
  16. package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +1 -1
  17. package/lib/ecommerce/sections/schemes/schemes.component.d.ts +1 -1
  18. package/lib/elements/link-editor/link-editor.component.d.ts +2 -1
  19. package/lib/elements/pricing-s1/pricing-s1.component.d.ts +1 -1
  20. package/lib/elements/text-editor/text-editor.component.d.ts +4 -3
  21. package/lib/sections/banner-carousel/banner-carousel.component.d.ts +2 -2
  22. package/lib/sections/carousel-banner/carousel-banner.component.d.ts +1 -1
  23. package/lib/sections/contact-us/contact-us.component.d.ts +1 -1
  24. package/lib/sections/faq-section/faq-section.component.d.ts +1 -1
  25. package/lib/sections/image-carousel-section/image-carousel-section.component.d.ts +2 -1
  26. package/lib/sections/image-section/image-section.component.d.ts +2 -2
  27. package/lib/sections/logo-showcase/logo-showcase.component.d.ts +2 -2
  28. package/lib/sections/new-testimonials/new-testimonials.component.d.ts +1 -1
  29. package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
  30. package/lib/services/rest.service.d.ts +2 -2
  31. package/lib/tokens/api-token.d.ts +1 -0
  32. package/package.json +1 -1
  33. package/simpo-component-library-3.6.468.tgz +0 -0
  34. package/simpo-component-library-3.6.466.tgz +0 -0
@@ -64,7 +64,7 @@ export declare class AuthenticationRequiredComponent extends BaseSection {
64
64
  validateNumber(event: KeyboardEvent): void;
65
65
  validateOTP(event: KeyboardEvent): void;
66
66
  checkStrength(): void;
67
- getStrengthColor(index: number): "yellow" | "tomato" | "#d3d3d3ba" | "orange" | "lightgreen";
67
+ getStrengthColor(index: number): "tomato" | "#d3d3d3ba" | "orange" | "yellow" | "lightgreen";
68
68
  emailDebounceTimer: any;
69
69
  onEmailChange(): void;
70
70
  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-4" | "col-6" | "col-3" | "width-max";
115
+ getClass(map: any): "col-6" | "col-4" | "col-3" | "width-max";
116
116
  onFindInStore(id: string): void;
117
117
  onBookAppointment(): void;
118
118
  isDetails: boolean;
@@ -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-12" | "col-6" | "col-6 mb-2" | "col-12 mb-2";
24
+ getClass(index: number): "col-6" | "col-12" | "col-6 mb-2" | "col-12 mb-2";
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>;
@@ -26,11 +26,12 @@ export declare class LinkEditorComponent {
26
26
  getTemplatePage(): void;
27
27
  changeType(type: RedirectionLinkType): void;
28
28
  addNewLink(): void;
29
+ getColorLabel(): "Outline Color" | "Text Color" | "Button Color";
29
30
  buttonStyles: any;
30
31
  changeButtonStyle(): void;
31
32
  getContrastTextColor(backgroundHex: any): void;
32
33
  backgroundType: string[];
33
- setBorderRadius(): "0px" | "99px" | "7px";
34
+ setBorderRadius(): "99px" | "0px" | "7px";
34
35
  setBorder(): string;
35
36
  setColor(): any;
36
37
  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-12" | "col-5" | "col-3";
18
+ getClass(): "col-4" | "col-3" | "col-12" | "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
  }
@@ -1,9 +1,10 @@
1
- import { ElementRef, EventEmitter } from '@angular/core';
1
+ import { ElementRef, EventEmitter, NgZone } from '@angular/core';
2
2
  import { ElementServiceService } from '../editor-service.service';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class TextEditorComponent {
5
5
  private editorService;
6
6
  private platformId;
7
+ private ngZone;
7
8
  toolbar: ElementRef;
8
9
  editor: ElementRef;
9
10
  colorPicker: ElementRef;
@@ -22,8 +23,8 @@ export declare class TextEditorComponent {
22
23
  toolbarData: any;
23
24
  selectedColorType: 'SOLID' | 'GRADIENT';
24
25
  primaryColor: string;
25
- secondaryColor: string;
26
- constructor(editorService: ElementServiceService, platformId: Object);
26
+ secondaryColor: any;
27
+ constructor(editorService: ElementServiceService, platformId: Object, ngZone: NgZone);
27
28
  ngOnInit(): void;
28
29
  ngOnDestroy(): void;
29
30
  showToolbar(event: MouseEvent): void;
@@ -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" | "0.2" | "0.3" | "0.5" | "0.7";
29
+ opacityValue(value: OverlayValue): "0" | "0.2" | "0.3" | "0.5" | "0.7";
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" | "0.2" | "0.3" | "0.5" | "0.7";
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,7 +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
+ getAlignment(): "justify-content-start" | "justify-content-end" | "justify-content-center";
33
33
  static ɵfac: i0.ɵɵFactoryDeclaration<ContactUsComponent, never>;
34
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>;
35
35
  }
@@ -23,7 +23,7 @@ export declare class FaqSectionComponent extends BaseSection {
23
23
  toggleContent(idx: number): void;
24
24
  editSection(): void;
25
25
  getScreenSize(): void;
26
- getLayout(): "justify-content-start" | "justify-content-center" | "justify-content-end";
26
+ getLayout(): "justify-content-start" | "justify-content-end" | "justify-content-center";
27
27
  static ɵfac: i0.ɵɵFactoryDeclaration<FaqSectionComponent, never>;
28
28
  static ɵcmp: i0.ɵɵComponentDeclaration<FaqSectionComponent, "simpo-faq-section", 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
29
  }
@@ -3,7 +3,7 @@ import { ImageCarouselSection, ImageCarouselSectionContentModel, ImageCarouselSe
3
3
  import { EventsService } from './../../services/events.service';
4
4
  import BaseSection from '../BaseSection';
5
5
  import { SPACING } from '../../styles/index';
6
- import { BackgroundModel, LayOutModel } from '../../styles/style.model';
6
+ import { BackgroundModel, LayOutModel, SpacingModel } from '../../styles/style.model';
7
7
  import * as i0 from "@angular/core";
8
8
  export declare class ImageCarouselSectionComponent extends BaseSection implements OnInit {
9
9
  private _eventService;
@@ -20,6 +20,7 @@ export declare class ImageCarouselSectionComponent extends BaseSection implement
20
20
  screenWidth: number;
21
21
  getScreenSize(event?: number): void;
22
22
  get stylesLayout(): LayOutModel;
23
+ get spacingLayout(): SpacingModel;
23
24
  getPrevImage(index: number): import("../../styles/style.model").Image | undefined;
24
25
  getNextImage(index: number): import("../../styles/style.model").Image | undefined;
25
26
  get headingSpace(): SPACING;
@@ -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(): "1" | "0.2" | "0.3" | "0.5" | "0.7";
24
24
  get stylesLayout(): LayOutModel;
25
- opacityValue(value: OverlayValue): "1" | "0.7" | "0.5" | "0.3" | "0.2";
25
+ opacityValue(value: OverlayValue): "1" | "0.2" | "0.3" | "0.5" | "0.7";
26
26
  editSection(): void;
27
27
  redirectTo(): void;
28
28
  static ɵfac: i0.ɵɵFactoryDeclaration<ImageSectionComponent, never>;
@@ -23,8 +23,8 @@ export declare class LogoShowcaseComponent extends BaseSection implements OnInit
23
23
  constructor(_eventService: EventsService);
24
24
  ngOnInit(): void;
25
25
  get stylesLayout(): LayOutModel;
26
- get animationDuration(): logoSpeed;
27
- get animationDirection(): logoDirection.Left | "reverse" | "normal";
26
+ get animationDuration(): "6s" | "5s" | "4s" | "3s" | logoSpeed.Normal;
27
+ get animationDirection(): "reverse" | "normal" | logoDirection.Left;
28
28
  get isMobile(): boolean;
29
29
  get getPositionLayout(): PositionLayoutModal;
30
30
  screenWidth: number;
@@ -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(): "Image" | "Video";
24
+ getImageType(): "Video" | "Image";
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-4" | "col-12" | "col-6" | "col-3";
26
+ getClass(): "col-6" | "col-4" | "col-3" | "col-12";
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
  }
@@ -14,13 +14,13 @@ export declare class RestService implements OnDestroy {
14
14
  private CMIS_URL;
15
15
  private readonly cookieService;
16
16
  private storage;
17
+ private PASSBOOK_URL;
17
18
  private environmentTypeSubscriber;
18
19
  businessDetails: any;
19
20
  subIndustryName: any;
20
21
  isJewellery: boolean;
21
- constructor(http: HttpClient, BASE_URL: string, ECOMMERCE_URL: string, CMIS_URL: string, cookieService: CookieService, storage: StorageLike);
22
+ constructor(http: HttpClient, BASE_URL: string, ECOMMERCE_URL: string, CMIS_URL: string, cookieService: CookieService, storage: StorageLike, PASSBOOK_URL: string);
22
23
  orraBaseUrl: string;
23
- passBookUrl: string;
24
24
  getBusinessDetails(): void;
25
25
  ngOnDestroy(): void;
26
26
  getFeaturedProduct(collectionId: string | undefined | null): Observable<any>;
@@ -3,3 +3,4 @@ export declare const API_URL: InjectionToken<string>;
3
3
  export declare const ECOMMERCE_URL: InjectionToken<String>;
4
4
  export declare const CMIS_URL: InjectionToken<String>;
5
5
  export declare const BUCKET_URL: InjectionToken<String>;
6
+ export declare const PASSBOOK_URL: InjectionToken<String>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "3.6.466",
3
+ "version": "3.6.468",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file