simpo-component-library 3.6.807 → 3.6.809

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 (27) hide show
  1. package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +8 -9
  2. package/esm2022/lib/sections/header-section/header-section.component.mjs +39 -4
  3. package/esm2022/lib/sections/header-section/header-section.model.mjs +1 -1
  4. package/esm2022/lib/sections/video-grid-section/video-grid-section.component.mjs +3 -3
  5. package/esm2022/lib/services/events.service.mjs +2 -1
  6. package/esm2022/lib/services/rest.service.mjs +4 -1
  7. package/esm2022/lib/styles/index.mjs +6 -1
  8. package/fesm2022/simpo-component-library.mjs +57 -14
  9. package/fesm2022/simpo-component-library.mjs.map +1 -1
  10. package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts +1 -1
  11. package/lib/ecommerce/sections/schemes/schemes.component.d.ts +1 -1
  12. package/lib/elements/pricing-s1/pricing-s1.component.d.ts +1 -1
  13. package/lib/sections/banner-carousel/banner-carousel.component.d.ts +1 -1
  14. package/lib/sections/carousel-banner/carousel-banner.component.d.ts +1 -1
  15. package/lib/sections/contact-us/contact-us.component.d.ts +1 -1
  16. package/lib/sections/faq-columns-cards/faq-columns-cards.component.d.ts +1 -1
  17. package/lib/sections/faq-section/faq-section.component.d.ts +1 -1
  18. package/lib/sections/header-section/header-section.component.d.ts +6 -0
  19. package/lib/sections/header-section/header-section.model.d.ts +2 -1
  20. package/lib/sections/new-testimonials/new-testimonials.component.d.ts +1 -1
  21. package/lib/sections/pricing-section/pricing-section.component.d.ts +2 -2
  22. package/lib/services/events.service.d.ts +1 -0
  23. package/lib/services/rest.service.d.ts +1 -0
  24. package/lib/styles/index.d.ts +4 -0
  25. package/package.json +1 -1
  26. package/simpo-component-library-3.6.809.tgz +0 -0
  27. package/simpo-component-library-3.6.807.tgz +0 -0
@@ -94,7 +94,7 @@ export declare class AuthenticationRequiredComponent extends BaseSection {
94
94
  validateNumber(event: KeyboardEvent): void;
95
95
  validateOTP(event: KeyboardEvent): void;
96
96
  checkStrength(): void;
97
- getStrengthColor(index: number): "tomato" | "#d3d3d3ba" | "orange" | "yellow" | "lightgreen";
97
+ getStrengthColor(index: number): "yellow" | "tomato" | "#d3d3d3ba" | "orange" | "lightgreen";
98
98
  emailDebounceTimer: any;
99
99
  onEmailChange(): void;
100
100
  emailCheck: 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>;
@@ -15,7 +15,7 @@ export declare class PricingS1Component extends BaseSection {
15
15
  editSection(): void;
16
16
  getButtonId(): string;
17
17
  redirectTo(data: any): void;
18
- getClass(): "col-12" | "col-4" | "col-5";
18
+ getClass(): "col-4" | "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
  }
@@ -33,7 +33,7 @@ export declare class BannerCarouselComponent extends BaseSection implements OnIn
33
33
  get stylesLayout(): LayOutModel;
34
34
  get getBlurValue(): "NONE" | "LIGHT" | "MODERATE" | "STRONG" | "VERY_STRONG" | undefined;
35
35
  get getBackgroundColor(): BackgroundModel;
36
- get getBackgroundOpacity(): "0.5" | "0.7" | "0" | "0.6" | "0.8" | "1";
36
+ get getBackgroundOpacity(): "0" | "0.5" | "0.7" | "0.6" | "0.8" | "1";
37
37
  opacityValue(value: OverlayValue): "0.5" | "0.7" | "0.6" | "0.8" | "1";
38
38
  editSection(): void;
39
39
  getScreenSize(): number;
@@ -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.2" | "0.3" | "0.5" | "0.7" | "0";
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
  }
@@ -17,7 +17,7 @@ export declare class FaqColumnsCardsComponent extends BaseSection {
17
17
  ngOnInit(): void;
18
18
  get headingSpace(): SPACING;
19
19
  get stylesLayout(): LayOutModel;
20
- getLayout(): "justify-content-start" | "justify-content-center" | "justify-content-end";
20
+ getLayout(): "justify-content-start" | "justify-content-end" | "justify-content-center";
21
21
  static ɵfac: i0.ɵɵFactoryDeclaration<FaqColumnsCardsComponent, never>;
22
22
  static ɵcmp: i0.ɵɵComponentDeclaration<FaqColumnsCardsComponent, "simpo-faq-columns-cards", never, { "data": { "alias": "data"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "index": { "alias": "index"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
23
23
  }
@@ -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
  }
@@ -38,6 +38,7 @@ export declare class HeaderSectionComponent implements OnInit {
38
38
  currentPlaceholder: string;
39
39
  placeholderIndex: number;
40
40
  animatePlaceholder: boolean;
41
+ private _eventSubscriber;
41
42
  constructor(_eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, matDialog: MatDialog, storageService: StorageServiceService, restService: RestService, eventService: EventsService, storage: StorageLike);
42
43
  searchChangeTimeout: any;
43
44
  waitBeforeSearch(): void;
@@ -59,6 +60,7 @@ export declare class HeaderSectionComponent implements OnInit {
59
60
  passbookAppStatus: boolean;
60
61
  checkPassbookApp(): void;
61
62
  showSearchBarMobile: boolean;
63
+ showDropdownDesktopSearch: boolean;
62
64
  isNavbarOpen: boolean;
63
65
  screenWidth: number;
64
66
  getScreenSize(event?: number): void;
@@ -116,6 +118,10 @@ export declare class HeaderSectionComponent implements OnInit {
116
118
  showCategoryMobileHeader(): boolean;
117
119
  byMetalAndStone: any;
118
120
  navigateLogin(): void;
121
+ megaMenu: any;
122
+ getMenuItems(): void;
123
+ redirectionsOfMenu(ele: any): void;
124
+ setChildMenu(ele: any): void;
119
125
  static ɵfac: i0.ɵɵFactoryDeclaration<HeaderSectionComponent, never>;
120
126
  static ɵcmp: i0.ɵɵComponentDeclaration<HeaderSectionComponent, "simpo-header-section", never, { "data": { "alias": "data"; "required": false; }; "nextComponent": { "alias": "nextComponent"; "required": false; }; "index": { "alias": "index"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; }, {}, never, never, true, never>;
121
127
  }
@@ -1,4 +1,4 @@
1
- import { Header_Type, HeaderButtonStyle, headlineAnimationType, ProductCardTheme } from "./../../styles/index";
1
+ import { Header_Type, HeaderButtonStyle, headlineAnimationType, Menu_Type, ProductCardTheme } from "./../../styles/index";
2
2
  import { BackgroundModel, DisplaySection, HeaderButtonStyleModel, InputTextModel, ListItemModal, NavbarButton } from "../../styles/style.model";
3
3
  import { FooterLayoutModel, FooterLogoModel, FooterSocialLinkModel } from "../footer-section/footer-section.modal";
4
4
  import { ActionModel } from "../../styles/style.model";
@@ -35,6 +35,7 @@ export interface HeaderStyleModel {
35
35
  shrinkOnScroll?: boolean;
36
36
  navbarButtonStyle: HeaderButtonStyleModel;
37
37
  styling: Header_Type;
38
+ menuType: Menu_Type;
38
39
  theme: ProductCardTheme;
39
40
  showSearchBar: boolean;
40
41
  headline: {
@@ -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-12" | "col-6" | "col-4" | "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
  }
@@ -52,6 +52,7 @@ export declare class EventsService implements OnInit {
52
52
  iconChanged: EventEmitter<unknown>;
53
53
  emitCountDownDate: EventEmitter<any>;
54
54
  showDummyCartItems: EventEmitter<boolean>;
55
+ menuList: EventEmitter<unknown>;
55
56
  static ɵfac: i0.ɵɵFactoryDeclaration<EventsService, never>;
56
57
  static ɵprov: i0.ɵɵInjectableDeclaration<EventsService>;
57
58
  }
@@ -151,6 +151,7 @@ export declare class RestService implements OnDestroy {
151
151
  loginWithPasswordNew(payload: any): Observable<Object>;
152
152
  flush(eventsToSend: any): void;
153
153
  getPopularSearches(): Observable<Object>;
154
+ getMenuItems(menuId: any): Observable<Object>;
154
155
  static ɵfac: i0.ɵɵFactoryDeclaration<RestService, never>;
155
156
  static ɵprov: i0.ɵɵInjectableDeclaration<RestService>;
156
157
  }
@@ -82,6 +82,10 @@ export declare enum Header_Type {
82
82
  HEADER3 = "Header3",
83
83
  HEADER4 = "Header4"
84
84
  }
85
+ export declare enum Menu_Type {
86
+ MEGA_MENU = "MEGA_MENU",
87
+ DROP_DOWN = "DROPDOWN_MENU"
88
+ }
85
89
  export declare enum TEXT_SIZE {
86
90
  Small = "Small",
87
91
  Medium = "Medium",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "3.6.807",
3
+ "version": "3.6.809",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file