simpo-component-library 3.6.607 → 3.6.609

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/background-directive.mjs +2 -2
  2. package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +113 -7
  3. package/esm2022/lib/ecommerce/sections/cart/cart.modal.mjs +1 -1
  4. package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +8 -5
  5. package/esm2022/lib/elements/below-image-card/below-image-card.component.mjs +3 -3
  6. package/esm2022/lib/elements/covering-image-card/covering-image-card.component.mjs +3 -3
  7. package/esm2022/lib/elements/top-of-image-card/top-of-image-card.component.mjs +3 -3
  8. package/esm2022/lib/sections/banner-carousel/banner-carousel.component.mjs +10 -10
  9. package/esm2022/lib/sections/logo-showcase/logo-showcase.component.mjs +15 -3
  10. package/esm2022/lib/sections/service-section/service-section.component.mjs +3 -3
  11. package/esm2022/lib/services/events.service.mjs +2 -1
  12. package/fesm2022/simpo-component-library.mjs +152 -30
  13. package/fesm2022/simpo-component-library.mjs.map +1 -1
  14. package/lib/components/input-fields/input-fields.component.d.ts +1 -1
  15. package/lib/ecommerce/sections/cart/cart.component.d.ts +4 -0
  16. package/lib/ecommerce/sections/cart/cart.modal.d.ts +1 -0
  17. package/lib/ecommerce/sections/featured-category/featured-category.component.d.ts +1 -1
  18. package/lib/ecommerce/sections/featured-category/featured-collection.component.d.ts +1 -1
  19. package/lib/ecommerce/sections/new-collection/new-collection.component.d.ts +1 -1
  20. package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +2 -2
  21. package/lib/ecommerce/sections/schemes/schemes.component.d.ts +1 -1
  22. package/lib/elements/link-editor/link-editor.component.d.ts +1 -1
  23. package/lib/sections/banner-carousel/banner-carousel.component.d.ts +2 -2
  24. package/lib/sections/carousel-banner/carousel-banner.component.d.ts +1 -1
  25. package/lib/sections/contact-us/contact-us.component.d.ts +1 -1
  26. package/lib/sections/faq-section/faq-section.component.d.ts +1 -1
  27. package/lib/sections/image-grid-hotspot/image-grid-hotspot.component.d.ts +1 -1
  28. package/lib/sections/image-grid-section/image-grid-section.component.d.ts +1 -1
  29. package/lib/sections/image-section/image-section.component.d.ts +2 -2
  30. package/lib/sections/logo-showcase/logo-showcase.component.d.ts +3 -2
  31. package/lib/sections/new-testimonials/new-testimonials.component.d.ts +1 -1
  32. package/lib/sections/pricing-section/pricing-section.component.d.ts +2 -2
  33. package/lib/services/events.service.d.ts +1 -0
  34. package/package.json +1 -1
  35. package/simpo-component-library-3.6.609.tgz +0 -0
  36. package/simpo-component-library-3.6.607.tgz +0 -0
@@ -13,7 +13,7 @@ export declare class InputFieldsComponent implements OnChanges {
13
13
  constructor(elementRef: ElementRef);
14
14
  ngOnChanges(changes: SimpleChanges): void;
15
15
  handleMoneyInput(event: any): void;
16
- get getTextColor(): "#FFF" | "#000";
16
+ get getTextColor(): "#000" | "#FFF";
17
17
  interpolateColor(color1: string, color2: string, factor: number): string;
18
18
  padZero(str: string, length: number): string;
19
19
  generateColorBasedOnNumber(number: number): string;
@@ -66,6 +66,7 @@ export declare class CartComponent extends BaseSection implements OnInit, OnDest
66
66
  selectedRedemption: boolean;
67
67
  ecomConfigs: any;
68
68
  ngOnInit(): void;
69
+ dummyCartItems: any;
69
70
  getEcommerceConfigs(): void;
70
71
  schemeList: any[];
71
72
  getSchemeDetails(): void;
@@ -118,6 +119,9 @@ export declare class CartComponent extends BaseSection implements OnInit, OnDest
118
119
  vaildAmount: number;
119
120
  redeemScheme(scheme: any, action: boolean): void;
120
121
  getUrl(): boolean;
122
+ get fontColor(): string;
123
+ get accentBackground(): string;
124
+ getGradientDirection(direction: string | undefined): string;
121
125
  increaseQty(item: any): void;
122
126
  decreaseQty(item: any): void;
123
127
  static ɵfac: i0.ɵɵFactoryDeclaration<CartComponent, [null, null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }]>;
@@ -20,6 +20,7 @@ export interface CartSectionStylesModel {
20
20
  layout: LayOutModel;
21
21
  background: BackgroundModel;
22
22
  animation: AnimationModel;
23
+ cartItemsStyling: boolean;
23
24
  }
24
25
  export interface Address {
25
26
  receiverName: string;
@@ -32,7 +32,7 @@ export declare class FeaturedCategoryComponent extends BaseSection {
32
32
  get getDirection(): "ROW" | "COLUMN" | undefined;
33
33
  get stylesLayout(): LayOutModel;
34
34
  get isMobile(): boolean;
35
- getJustifyContent(): "" | import("simpo-component-library").ALIGN | "flex-start";
35
+ getJustifyContent(): import("simpo-component-library").ALIGN | "" | "flex-start";
36
36
  static ɵfac: i0.ɵɵFactoryDeclaration<FeaturedCategoryComponent, never>;
37
37
  static ɵcmp: i0.ɵɵComponentDeclaration<FeaturedCategoryComponent, "simpo-featured-category", 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>;
38
38
  }
@@ -32,7 +32,7 @@ export declare class FeaturedCollectionComponent extends BaseSection {
32
32
  get getDirection(): "ROW" | "COLUMN" | undefined;
33
33
  get isMobile(): boolean;
34
34
  editSection(): void;
35
- getJustifyContent(): "" | import("simpo-component-library").ALIGN | "flex-start";
35
+ getJustifyContent(): import("simpo-component-library").ALIGN | "" | "flex-start";
36
36
  static ɵfac: i0.ɵɵFactoryDeclaration<FeaturedCollectionComponent, never>;
37
37
  static ɵcmp: i0.ɵɵComponentDeclaration<FeaturedCollectionComponent, "simpo-featured-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>;
38
38
  }
@@ -33,7 +33,7 @@ export declare class NewCollectionComponent extends BaseSection {
33
33
  get isMobile(): boolean;
34
34
  editSection(): void;
35
35
  getColor(color: any): "#000000" | "#ffffff";
36
- getJustifyContent(): "" | import("simpo-component-library").ALIGN | "flex-start";
36
+ getJustifyContent(): import("simpo-component-library").ALIGN | "" | "flex-start";
37
37
  static ɵfac: i0.ɵɵFactoryDeclaration<NewCollectionComponent, never>;
38
38
  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>;
39
39
  }
@@ -106,7 +106,7 @@ export declare class ProductDescComponent extends BaseSection {
106
106
  get isItemLowStock(): boolean;
107
107
  get isMobile(): boolean;
108
108
  getCarat(carat: any): "24 Carats" | "22 Carats" | "18 Carats" | "14 Carats" | "10 Carats" | "99.9% Pure" | "92.5% Pure" | "90% Pure" | "Very Slightly Included" | "Slightly Included";
109
- getPricePerGram(weight: any, price: any): string | 0;
109
+ getPricePerGram(weight: any, price: any, materialType: string): any;
110
110
  isDescriptionCollapsed: boolean;
111
111
  toggleDescription(): void;
112
112
  isPriceBreakup: boolean;
@@ -117,7 +117,7 @@ export declare class ProductDescComponent extends BaseSection {
117
117
  getTextColor(color: any): "#000000" | "#ffffff";
118
118
  languages: string[];
119
119
  selectedLang: string;
120
- getClass(map: any): "col-4" | "col-6" | "col-3" | "width-max";
120
+ getClass(map: any): "col-6" | "col-4" | "col-3" | "width-max";
121
121
  onFindInStore(id: string): void;
122
122
  onBookAppointment(): void;
123
123
  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>;
@@ -31,7 +31,7 @@ export declare class LinkEditorComponent {
31
31
  changeButtonStyle(): void;
32
32
  getContrastTextColor(backgroundHex: any): void;
33
33
  backgroundType: string[];
34
- setBorderRadius(): "0px" | "99px" | "7px";
34
+ setBorderRadius(): "0px" | "7px" | "99px";
35
35
  setBorder(): string;
36
36
  setColor(): any;
37
37
  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" | "0.5" | "0.7" | "0.6" | "0.8" | "1";
29
+ opacityValue(value: OverlayValue): "0.5" | "0.7" | "0.6" | "0.8" | "1";
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>;
@@ -30,7 +30,7 @@ export declare class ContactUsComponent extends BaseSection implements OnInit {
30
30
  shouldShowDropdown(field: any): boolean;
31
31
  getCardStyle(): {};
32
32
  getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
33
- getAlignment(): "justify-content-start" | "justify-content-center" | "justify-content-end";
33
+ getAlignment(): "justify-content-start" | "justify-content-end" | "justify-content-center";
34
34
  static ɵfac: i0.ɵɵFactoryDeclaration<ContactUsComponent, never>;
35
35
  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>;
36
36
  }
@@ -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
  }
@@ -23,7 +23,7 @@ export declare class ImageGridHotspotComponent extends BaseSection {
23
23
  get headingSpace(): SPACING;
24
24
  editSection(): void;
25
25
  getLength(): number;
26
- getJustifyContent(): "" | import("simpo-component-library").ALIGN | "flex-start";
26
+ getJustifyContent(): import("simpo-component-library").ALIGN | "" | "flex-start";
27
27
  private get scrollStep();
28
28
  scrollRight(): void;
29
29
  isOverflowing: boolean;
@@ -23,7 +23,7 @@ export declare class ImageGridSectionComponent extends BaseSection {
23
23
  get headingSpace(): SPACING;
24
24
  editSection(): void;
25
25
  getLength(): number;
26
- getJustifyContent(): "" | import("simpo-component-library").ALIGN | "flex-start";
26
+ getJustifyContent(): import("simpo-component-library").ALIGN | "" | "flex-start";
27
27
  private get scrollStep();
28
28
  scrollRight(): void;
29
29
  isOverflowing: boolean;
@@ -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>;
@@ -23,14 +23,15 @@ 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(): "3s" | "4s" | logoSpeed.Normal | "6s" | "5s";
27
- get animationDirection(): logoDirection.Left | "reverse" | "normal";
26
+ get animationDuration(): "3s" | "6s" | "5s" | "4s" | logoSpeed.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
33
  getIconBackground(icon: any): any;
34
+ getAlignment(): "justify-items-start" | "justify-items-end" | "justify-items-center";
34
35
  static ɵfac: i0.ɵɵFactoryDeclaration<LogoShowcaseComponent, never>;
35
36
  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>;
36
37
  }
@@ -24,7 +24,7 @@ export declare class NewTestimonialsComponent extends BaseSection {
24
24
  idx: number;
25
25
  getImageData(): import("../../styles/style.model").Image | undefined;
26
26
  getImageUrl(): string | undefined;
27
- getImageType(): "Image" | "Video";
27
+ getImageType(): "Video" | "Image";
28
28
  getLength(): number;
29
29
  editSection(): void;
30
30
  stopPropagation(event: any): void;
@@ -23,8 +23,8 @@ export declare class PricingSectionComponent extends BaseSection {
23
23
  getButtonId(): string;
24
24
  editSection(): void;
25
25
  redirectTo(data: any): void;
26
- getClass(): "col-4" | "col-12" | "col-6" | "col-3";
27
- getAlignment(): "justify-content-start" | "justify-content-center" | "justify-content-end";
26
+ getClass(): "col-6" | "col-4" | "col-3" | "col-12";
27
+ getAlignment(): "justify-content-start" | "justify-content-end" | "justify-content-center";
28
28
  static ɵfac: i0.ɵɵFactoryDeclaration<PricingSectionComponent, never>;
29
29
  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>;
30
30
  }
@@ -51,6 +51,7 @@ export declare class EventsService implements OnInit {
51
51
  elementHeight: EventEmitter<unknown>;
52
52
  iconChanged: EventEmitter<unknown>;
53
53
  emitCountDownDate: EventEmitter<any>;
54
+ showDummyCartItems: EventEmitter<boolean>;
54
55
  static ɵfac: i0.ɵɵFactoryDeclaration<EventsService, never>;
55
56
  static ɵprov: i0.ɵɵInjectableDeclaration<EventsService>;
56
57
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "3.6.607",
3
+ "version": "3.6.609",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file