simpo-component-library 3.6.920 → 3.6.921

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 (22) hide show
  1. package/lib/directive/background-directive.d.ts +1 -1
  2. package/lib/directive/button-directive.directive.d.ts +1 -1
  3. package/lib/directive/color.directive.d.ts +1 -1
  4. package/lib/ecommerce/sections/featured-category/featured-category.component.d.ts +1 -1
  5. package/lib/ecommerce/sections/featured-category/featured-collection.component.d.ts +1 -1
  6. package/lib/ecommerce/sections/new-collection/new-collection.component.d.ts +2 -2
  7. package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +1 -1
  8. package/lib/ecommerce/sections/product-list/product-list.component.d.ts +1 -1
  9. package/lib/ecommerce/sections/store-list/store-list.component.d.ts +1 -1
  10. package/lib/ecommerce/sections/store-page/store-page.component.d.ts +1 -1
  11. package/lib/sections/banner-grid-section/banner-grid-section.component.d.ts +1 -1
  12. package/lib/sections/contact-us/contact-us.component.d.ts +2 -2
  13. package/lib/sections/faq-columns-cards/faq-columns-cards.component.d.ts +1 -1
  14. package/lib/sections/faq-section/faq-section.component.d.ts +1 -1
  15. package/lib/sections/header-section/header-section.component.d.ts +1 -1
  16. package/lib/sections/image-grid-hotspot/image-grid-hotspot.component.d.ts +1 -1
  17. package/lib/sections/image-grid-section/image-grid-section.component.d.ts +1 -1
  18. package/lib/sections/moving-text/moving-text.component.d.ts +1 -1
  19. package/lib/sections/pricing-section/pricing-section.component.d.ts +2 -2
  20. package/package.json +1 -1
  21. package/simpo-component-library-3.6.921.tgz +0 -0
  22. package/simpo-component-library-3.6.920.tgz +0 -0
@@ -20,7 +20,7 @@ export declare class BackgroundDirective implements OnChanges, OnDestroy {
20
20
  private applyVideo;
21
21
  /** Sets a GIF animation as the background image */
22
22
  private applyAnimationBackground;
23
- getTextColor(bgColor: string): "#ffffff" | "#000000";
23
+ getTextColor(bgColor: string): "#000000" | "#ffffff";
24
24
  static ɵfac: i0.ɵɵFactoryDeclaration<BackgroundDirective, never>;
25
25
  static ɵdir: i0.ɵɵDirectiveDeclaration<BackgroundDirective, "[simpoBackground]", never, { "simpoBackground": { "alias": "simpoBackground"; "required": false; }; "scrollValue": { "alias": "scrollValue"; "required": false; }; }, {}, never, never, true, never>;
26
26
  }
@@ -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): "#ffffff" | "#000000" | "#ffffff;";
19
+ getTextColor(bgColor: string): "#000000" | "#ffffff" | "#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(): "#ffffff" | "#000000" | "#ffffff;";
15
+ getTextColor(): "#000000" | "#ffffff" | "#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
  }
@@ -37,7 +37,7 @@ export declare class FeaturedCategoryComponent extends BaseSection {
37
37
  get getDirection(): "ROW" | "COLUMN" | undefined;
38
38
  get stylesLayout(): LayOutModel;
39
39
  get isMobile(): boolean;
40
- getJustifyContent(): import("simpo-component-library").ALIGN | "" | "flex-start";
40
+ getJustifyContent(): "" | import("simpo-component-library").ALIGN | "flex-start";
41
41
  static ɵfac: i0.ɵɵFactoryDeclaration<FeaturedCategoryComponent, never>;
42
42
  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>;
43
43
  }
@@ -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
  }
@@ -32,8 +32,8 @@ export declare class NewCollectionComponent extends BaseSection {
32
32
  get getDirection(): "ROW" | "COLUMN" | undefined;
33
33
  get isMobile(): boolean;
34
34
  editSection(): void;
35
- getColor(color: any): "#ffffff" | "#000000";
36
- getJustifyContent(): import("simpo-component-library").ALIGN | "" | "flex-start";
35
+ getColor(color: any): "#000000" | "#ffffff";
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
  }
@@ -124,7 +124,7 @@ export declare class ProductDescComponent extends BaseSection {
124
124
  getBackgroundColor(type: string): string;
125
125
  getHeaderColor(type: string): string;
126
126
  formatItemCode(code: any): string | null;
127
- getTextColor(color: any): "#ffffff" | "#000000";
127
+ getTextColor(color: any): "#000000" | "#ffffff";
128
128
  languages: string[];
129
129
  selectedLang: string;
130
130
  getClass(map: any): "col-4" | "col-6" | "col-3" | "width-max";
@@ -234,7 +234,7 @@ export declare class ProductListComponent extends BaseSection implements OnDestr
234
234
  closeModal(): void;
235
235
  languages: string[];
236
236
  selectedLang: string;
237
- getTextColor(color: any): "#ffffff" | "#000000";
237
+ getTextColor(color: any): "#000000" | "#ffffff";
238
238
  static ɵfac: i0.ɵɵFactoryDeclaration<ProductListComponent, never>;
239
239
  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>;
240
240
  }
@@ -34,7 +34,7 @@ export declare class StoreListComponent extends BaseSection {
34
34
  showState: boolean;
35
35
  selectedState: string;
36
36
  setStateData(stateData: any): void;
37
- getTextColor(bgColor: any): "#ffffff" | "#000000" | "#ffffff;";
37
+ getTextColor(bgColor: any): "#000000" | "#ffffff" | "#ffffff;";
38
38
  openWhatsapp(phone: string): void;
39
39
  viewStore(storeId: string): void;
40
40
  getTime(storeHours: any, type: string): any;
@@ -18,7 +18,7 @@ export declare class StorePageComponent extends BaseSection {
18
18
  storeData: any;
19
19
  loading: boolean;
20
20
  getStoreDetails(storeId: string): void;
21
- getTextColor(bgColor: any): "#ffffff" | "#000000" | "#ffffff;";
21
+ getTextColor(bgColor: any): "#000000" | "#ffffff" | "#ffffff;";
22
22
  getTime(storeHours: any): string | undefined;
23
23
  removeUnderScore(text: string): string;
24
24
  openWhatsapp(phone: string): void;
@@ -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): "#ffffff" | "#000000" | "#ffffff;";
30
+ getTextColor(bgColor: string): "#000000" | "#ffffff" | "#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
  }
@@ -30,8 +30,8 @@ export declare class ContactUsComponent extends BaseSection implements OnInit, O
30
30
  canShowContactField(field: any): any;
31
31
  shouldShowDropdown(field: any): boolean;
32
32
  getCardStyle(): {};
33
- getTextColor(bgColor: string): "#ffffff" | "#000000" | "#ffffff;";
34
- getAlignment(): "justify-content-start" | "justify-content-end" | "justify-content-center";
33
+ getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
34
+ getAlignment(): "justify-content-start" | "justify-content-center" | "justify-content-end";
35
35
  static ɵfac: i0.ɵɵFactoryDeclaration<ContactUsComponent, never>;
36
36
  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>;
37
37
  }
@@ -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-end" | "justify-content-center";
20
+ getLayout(): "justify-content-start" | "justify-content-center" | "justify-content-end";
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-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
  }
@@ -116,7 +116,7 @@ export declare class HeaderSectionComponent implements OnInit, AfterViewInit, On
116
116
  getValues(object: any): unknown[];
117
117
  get userGender(): import("../../ecommerce/styles/user.modal").GENDER | null;
118
118
  get getNavbarButton(): any[];
119
- setColor(): "#ffffff" | "#000000";
119
+ setColor(): "#000000" | "#ffffff";
120
120
  showList: boolean;
121
121
  dropdownLeft: number;
122
122
  dropdownTop: number;
@@ -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;
@@ -26,7 +26,7 @@ export declare class MovingTextComponent extends BaseSection {
26
26
  goToNext(): void;
27
27
  isItemVisible(index: number): boolean;
28
28
  getItemClass(index: number): string;
29
- getTextColor(bgColor: string): "#ffffff" | "#000000";
29
+ getTextColor(bgColor: string): "#000000" | "#ffffff";
30
30
  static ɵfac: i0.ɵɵFactoryDeclaration<MovingTextComponent, never>;
31
31
  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>;
32
32
  }
@@ -18,13 +18,13 @@ export declare class PricingSectionComponent extends BaseSection {
18
18
  constructor(_eventService: EventsService);
19
19
  ngOnInit(): void;
20
20
  get stylesLayout(): LayOutModel;
21
- getTextColor(): "#ffffff" | "#000000";
21
+ getTextColor(): "#000000" | "#ffffff";
22
22
  get headingSpace(): SPACING;
23
23
  getButtonId(): string;
24
24
  editSection(): void;
25
25
  redirectTo(data: any): void;
26
26
  getClass(): "col-4" | "col-12" | "col-6" | "col-3";
27
- getAlignment(): "justify-content-start" | "justify-content-end" | "justify-content-center";
27
+ getAlignment(): "justify-content-start" | "justify-content-center" | "justify-content-end";
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "3.6.920",
3
+ "version": "3.6.921",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file