simpo-component-library 1.6.7 → 1.6.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (22) hide show
  1. package/esm2022/lib/ecommerce/sections/authenticate-user/authenticate-user.component.mjs +11 -8
  2. package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +5 -4
  3. package/esm2022/lib/ecommerce/sections/featured-category/featured-category.component.mjs +4 -4
  4. package/esm2022/lib/ecommerce/sections/featured-category/featured-collection.component.mjs +4 -4
  5. package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +3 -3
  6. package/esm2022/lib/ecommerce/sections/product-category-list/product-category-list.component.mjs +3 -3
  7. package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +22 -4
  8. package/esm2022/lib/sections/image-carousel-section/image-carousel-section.component.mjs +3 -3
  9. package/esm2022/lib/styles/style.model.mjs +1 -1
  10. package/fesm2022/simpo-component-library.mjs +48 -28
  11. package/fesm2022/simpo-component-library.mjs.map +1 -1
  12. package/lib/directive/background-directive.d.ts +1 -1
  13. package/lib/directive/button-directive.directive.d.ts +1 -1
  14. package/lib/directive/color.directive.d.ts +1 -1
  15. package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +2 -1
  16. package/lib/sections/banner-carousel/banner-carousel.component.d.ts +2 -2
  17. package/lib/sections/carousel-banner/carousel-banner.component.d.ts +1 -1
  18. package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
  19. package/lib/styles/style.model.d.ts +5 -0
  20. package/package.json +1 -1
  21. package/simpo-component-library-1.6.8.tgz +0 -0
  22. package/simpo-component-library-1.6.9.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): "#ffffff" | "#000000" | "#ffffff;";
14
+ getTextColor(bgColor: string): "#000000" | "#ffffff" | "#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
  }
@@ -15,7 +15,7 @@ export declare class ButtonDirectiveDirective implements OnChanges {
15
15
  applyButtonStyleChanges(): void;
16
16
  applyButtonType(style: ButtonStyleModel, color: string): void;
17
17
  applyButtonShape(style: ButtonStyleModel): void;
18
- getTextColor(bgColor: string): "#ffffff" | "#000000" | "#ffffff;";
18
+ getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
19
19
  buttonStyleSubscription?: Subscription;
20
20
  buttonStyleChangeCheck(): void;
21
21
  changeButtonStyle(id: any, style: ButtonStyleModel, bgColor: string): 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
  }
@@ -8,7 +8,7 @@ import { RestService } from '../../../services/rest.service';
8
8
  import { CartService } from '../../../services/cart.service';
9
9
  import { FeaturedProductModal } from '../featured-products/featured-products.modal';
10
10
  import { StorageServiceService } from '../../../services/storage.service';
11
- import { MessageService } from 'primeng/api';
11
+ import { MenuItem, MessageService } from 'primeng/api';
12
12
  import { Meta, Title } from '@angular/platform-browser';
13
13
  import { MatBottomSheet } from '@angular/material/bottom-sheet';
14
14
  import * as i0 from "@angular/core";
@@ -45,6 +45,7 @@ export declare class ProductDescComponent extends BaseSection {
45
45
  private USER_CART;
46
46
  private USER_WISHLIST;
47
47
  itemImages: ItemImage[];
48
+ items: MenuItem[] | null;
48
49
  ngOnInit(): void;
49
50
  varientLoading: boolean;
50
51
  selectVarient(key: string, value: string): void;
@@ -23,8 +23,8 @@ export declare class BannerCarouselComponent extends BaseSection implements OnIn
23
23
  get stylesLayout(): LayOutModel;
24
24
  get getBlurValue(): OverlayValue | undefined;
25
25
  get getBackgroundColor(): BackgroundModel;
26
- get getBackgroundOpacity(): "0" | "0.2" | "0.3" | "0.5" | "0.7";
27
- opacityValue(value: OverlayValue): "0" | "0.2" | "0.3" | "0.5" | "0.7";
26
+ get getBackgroundOpacity(): "0.2" | "0.3" | "0.5" | "0.7" | "0";
27
+ opacityValue(value: OverlayValue): "0.2" | "0.3" | "0.5" | "0.7" | "0";
28
28
  editSection(): void;
29
29
  static ɵfac: i0.ɵɵFactoryDeclaration<BannerCarouselComponent, never>;
30
30
  static ɵcmp: i0.ɵɵComponentDeclaration<BannerCarouselComponent, "simpo-banner-carousel", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; }, {}, never, never, true, never>;
@@ -23,7 +23,7 @@ export declare class CarouselBannerComponent extends BaseSection implements OnIn
23
23
  get canMergeNavbar(): boolean | undefined;
24
24
  get isBorderlessImage(): boolean | undefined;
25
25
  get getPositionLayout(): PositionLayoutModal;
26
- opacityValue(value: OverlayValue): "0" | "0.2" | "0.3" | "0.5" | "0.7";
26
+ opacityValue(value: OverlayValue): "0.2" | "0.3" | "0.5" | "0.7" | "0";
27
27
  editSection(): void;
28
28
  static ɵfac: i0.ɵɵFactoryDeclaration<CarouselBannerComponent, never>;
29
29
  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; }; }, {}, never, never, true, never>;
@@ -15,7 +15,7 @@ export declare class PricingSectionComponent extends BaseSection {
15
15
  style?: PricingSectionStylesModel;
16
16
  constructor(_eventService: EventsService);
17
17
  ngOnInit(): void;
18
- getTextColor(): "#ffffff" | "#000000";
18
+ getTextColor(): "#000000" | "#ffffff";
19
19
  get headingSpace(): SPACING;
20
20
  editSection(): void;
21
21
  static ɵfac: i0.ɵɵFactoryDeclaration<PricingSectionComponent, never>;
@@ -64,6 +64,11 @@ export interface StylesModel {
64
64
  animation: AnimationModel;
65
65
  border: BorderModel;
66
66
  devider: DeviderModel;
67
+ dividerImage?: DividerImage;
68
+ }
69
+ export interface DividerImage {
70
+ url: string;
71
+ showDivider: boolean;
67
72
  }
68
73
  export interface DisplaySection {
69
74
  showHeading: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "1.6.7",
3
+ "version": "1.6.9",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",