simpo-component-library 3.6.327 → 3.6.328

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 (29) hide show
  1. package/esm2022/lib/elements/editor-service.service.mjs +31 -6
  2. package/fesm2022/simpo-component-library.mjs +29 -5
  3. package/fesm2022/simpo-component-library.mjs.map +1 -1
  4. package/lib/directive/background-directive.d.ts +1 -1
  5. package/lib/directive/button-directive.directive.d.ts +1 -1
  6. package/lib/directive/color.directive.d.ts +1 -1
  7. package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts +1 -1
  8. package/lib/ecommerce/sections/new-collection/new-collection.component.d.ts +1 -1
  9. package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +2 -2
  10. package/lib/ecommerce/sections/product-list/product-list.component.d.ts +1 -1
  11. package/lib/ecommerce/sections/schemes/schemes.component.d.ts +1 -1
  12. package/lib/ecommerce/sections/store-list/store-list.component.d.ts +1 -1
  13. package/lib/ecommerce/sections/store-page/store-page.component.d.ts +1 -1
  14. package/lib/elements/editor-service.service.d.ts +2 -1
  15. package/lib/elements/pricing-s1/pricing-s1.component.d.ts +1 -1
  16. package/lib/sections/banner-carousel/banner-carousel.component.d.ts +3 -3
  17. package/lib/sections/banner-grid-section/banner-grid-section.component.d.ts +1 -1
  18. package/lib/sections/carousel-banner/carousel-banner.component.d.ts +1 -1
  19. package/lib/sections/contact-us/contact-us.component.d.ts +2 -2
  20. package/lib/sections/faq-section/faq-section.component.d.ts +1 -1
  21. package/lib/sections/header-section/header-section.component.d.ts +1 -1
  22. package/lib/sections/image-section/image-section.component.d.ts +2 -2
  23. package/lib/sections/logo-showcase/logo-showcase.component.d.ts +1 -1
  24. package/lib/sections/moving-text/moving-text.component.d.ts +1 -1
  25. package/lib/sections/new-testimonials/new-testimonials.component.d.ts +1 -1
  26. package/lib/sections/pricing-section/pricing-section.component.d.ts +2 -2
  27. package/package.json +1 -1
  28. package/simpo-component-library-3.6.328.tgz +0 -0
  29. package/simpo-component-library-3.6.327.tgz +0 -0
@@ -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): "#000000" | "#ffffff" | "#ffffff;";
14
+ getTextColor(bgColor: string): "#ffffff" | "#000000" | "#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): "#000000" | "#ffffff" | "#ffffff;";
19
+ getTextColor(bgColor: string): "#ffffff" | "#000000" | "#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(): "#000000" | "#ffffff" | "#ffffff;";
15
+ getTextColor(): "#ffffff" | "#000000" | "#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
  }
@@ -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): "tomato" | "#d3d3d3ba" | "orange" | "yellow" | "lightgreen";
67
+ getStrengthColor(index: number): "yellow" | "tomato" | "#d3d3d3ba" | "orange" | "lightgreen";
68
68
  emailDebounceTimer: any;
69
69
  onEmailChange(): void;
70
70
  emailCheck: boolean;
@@ -30,7 +30,7 @@ export declare class NewCollectionComponent extends BaseSection {
30
30
  get getDirection(): "ROW" | "COLUMN" | undefined;
31
31
  get isMobile(): boolean;
32
32
  editSection(): void;
33
- getColor(color: any): "#000000" | "#ffffff";
33
+ getColor(color: any): "#ffffff" | "#000000";
34
34
  static ɵfac: i0.ɵɵFactoryDeclaration<NewCollectionComponent, never>;
35
35
  static ɵcmp: i0.ɵɵComponentDeclaration<NewCollectionComponent, "simpo-new-collection", never, { "data": { "alias": "data"; "required": false; }; "responseData": { "alias": "responseData"; "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>;
36
36
  }
@@ -109,10 +109,10 @@ export declare class ProductDescComponent extends BaseSection {
109
109
  getDifference(sellingPrice: any, mrp: any): number;
110
110
  getBackgroundColor(type: string): string;
111
111
  getHeaderColor(type: string): string;
112
- getTextColor(color: any): "#000000" | "#ffffff";
112
+ getTextColor(color: any): "#ffffff" | "#000000";
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;
@@ -194,7 +194,7 @@ export declare class ProductListComponent extends BaseSection {
194
194
  closeModal(): void;
195
195
  languages: string[];
196
196
  selectedLang: string;
197
- getTextColor(color: any): "#000000" | "#ffffff";
197
+ getTextColor(color: any): "#ffffff" | "#000000";
198
198
  static ɵfac: i0.ɵɵFactoryDeclaration<ProductListComponent, never>;
199
199
  static ɵcmp: i0.ɵɵComponentDeclaration<ProductListComponent, "simpo-product-list", never, { "responseData": { "alias": "responseData"; "required": false; }; "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>;
200
200
  }
@@ -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" | "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>;
@@ -33,7 +33,7 @@ export declare class StoreListComponent extends BaseSection {
33
33
  showState: boolean;
34
34
  selectedState: string;
35
35
  setStateData(stateData: any): void;
36
- getTextColor(bgColor: any): "#000000" | "#ffffff" | "#ffffff;";
36
+ getTextColor(bgColor: any): "#ffffff" | "#000000" | "#ffffff;";
37
37
  openWhatsapp(phone: string): void;
38
38
  viewStore(storeId: string): void;
39
39
  getTime(storeHours: any, type: string): any;
@@ -17,7 +17,7 @@ export declare class StorePageComponent extends BaseSection {
17
17
  storeData: any;
18
18
  loading: boolean;
19
19
  getStoreDetails(storeId: string): void;
20
- getTextColor(bgColor: any): "#000000" | "#ffffff" | "#ffffff;";
20
+ getTextColor(bgColor: any): "#ffffff" | "#000000" | "#ffffff;";
21
21
  getTime(storeHours: any): string | undefined;
22
22
  removeUnderScore(text: string): string;
23
23
  openWhatsapp(phone: string): void;
@@ -4,7 +4,8 @@ export declare class ElementServiceService {
4
4
  private http;
5
5
  private BASE_URL;
6
6
  private CMIS_URL;
7
- constructor(http: HttpClient, BASE_URL: string, CMIS_URL: string);
7
+ private platformId;
8
+ constructor(http: HttpClient, BASE_URL: string, CMIS_URL: string, platformId: Object);
8
9
  openSocialBrand(componentName: any, height: any, width: any, data: any): void;
9
10
  getComponentApi(businessType?: 'STATIC' | 'E_COMMERCE'): import("rxjs").Observable<Object>;
10
11
  regenerateText(request: any): import("rxjs").Observable<Object>;
@@ -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
  }
@@ -23,10 +23,10 @@ export declare class BannerCarouselComponent extends BaseSection implements OnIn
23
23
  constructor(_eventService: EventsService);
24
24
  ngOnInit(): void;
25
25
  get stylesLayout(): LayOutModel;
26
- get getBlurValue(): "NONE" | "LIGHT" | "MODERATE" | "STRONG" | "VERY_STRONG" | undefined;
26
+ get getBlurValue(): "STRONG" | "NONE" | "LIGHT" | "MODERATE" | "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>;
@@ -27,7 +27,7 @@ export declare class BannerGridSectionComponent extends BaseSection implements O
27
27
  get spacingLayout(): SpacingModel;
28
28
  get alignmentLayout(): import("simpo-component-library").ALIGN | undefined;
29
29
  get fitLayout(): import("simpo-component-library").FIT | undefined;
30
- getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
30
+ getTextColor(bgColor: string): "#ffffff" | "#000000" | "#ffffff;";
31
31
  static ɵfac: i0.ɵɵFactoryDeclaration<BannerGridSectionComponent, never>;
32
32
  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>;
33
33
  }
@@ -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>;
@@ -28,8 +28,8 @@ 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): "#000000" | "#ffffff" | "#ffffff;";
32
- getAlignment(): "justify-content-start" | "justify-content-end" | "justify-content-center";
31
+ getTextColor(bgColor: string): "#ffffff" | "#000000" | "#ffffff;";
32
+ getAlignment(): "justify-content-start" | "justify-content-center" | "justify-content-end";
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-end" | "justify-content-center";
26
+ getLayout(): "justify-content-start" | "justify-content-center" | "justify-content-end";
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
  }
@@ -84,7 +84,7 @@ export declare class HeaderSectionComponent implements OnInit {
84
84
  get userGender(): import("../../ecommerce/styles/user.modal").GENDER | null;
85
85
  get getNavbarButton(): any[];
86
86
  isScrolled: boolean;
87
- setColor(): "#000000" | "#ffffff";
87
+ setColor(): "#ffffff" | "#000000";
88
88
  showList: boolean;
89
89
  showCollections: boolean;
90
90
  categoryList: any;
@@ -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>;
@@ -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(): "reverse" | "normal" | logoDirection.Left;
27
+ get animationDirection(): logoDirection.Left | "reverse" | "normal";
28
28
  get isMobile(): boolean;
29
29
  get getPositionLayout(): PositionLayoutModal;
30
30
  screenWidth: number;
@@ -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): "#000000" | "#ffffff";
25
+ getTextColor(bgColor: string): "#ffffff" | "#000000";
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
  }
@@ -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;
@@ -18,12 +18,12 @@ export declare class PricingSectionComponent extends BaseSection {
18
18
  constructor(_eventService: EventsService);
19
19
  ngOnInit(): void;
20
20
  get stylesLayout(): LayOutModel;
21
- getTextColor(): "#000000" | "#ffffff";
21
+ getTextColor(): "#ffffff" | "#000000";
22
22
  get headingSpace(): SPACING;
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "3.6.327",
3
+ "version": "3.6.328",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file