simpo-component-library 1.5.38 → 1.5.40

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/directive/container-alignment.directive.mjs +3 -2
  2. package/esm2022/lib/ecommerce/sections/featured-category/featured-category.component.mjs +11 -4
  3. package/esm2022/lib/ecommerce/sections/featured-category/featured-collection.component.mjs +11 -4
  4. package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +2 -2
  5. package/esm2022/lib/ecommerce/sections/product-category-list/product-category-list.component.mjs +2 -1
  6. package/esm2022/lib/ecommerce/sections/product-list/product-list.component.mjs +7 -5
  7. package/esm2022/lib/ecommerce/sections/product-list/product-list.modal.mjs +1 -1
  8. package/fesm2022/simpo-component-library.mjs +69 -57
  9. package/fesm2022/simpo-component-library.mjs.map +1 -1
  10. package/lib/directive/background-directive.d.ts +1 -1
  11. package/lib/directive/button-directive.directive.d.ts +1 -1
  12. package/lib/directive/color.directive.d.ts +1 -1
  13. package/lib/ecommerce/sections/featured-category/featured-category.component.d.ts +2 -0
  14. package/lib/ecommerce/sections/featured-category/featured-collection.component.d.ts +2 -0
  15. package/lib/ecommerce/sections/featured-products/featured-products.component.d.ts +1 -1
  16. package/lib/ecommerce/sections/product-list/product-list.modal.d.ts +1 -0
  17. package/lib/sections/banner-carousel/banner-carousel.component.d.ts +2 -2
  18. package/lib/sections/carousel-banner/carousel-banner.component.d.ts +1 -1
  19. package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
  20. package/package.json +1 -1
  21. package/simpo-component-library-1.5.39.tgz +0 -0
  22. package/simpo-component-library-1.5.40.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
  }
@@ -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): "#000000" | "#ffffff" | "#ffffff;";
18
+ getTextColor(bgColor: string): "#ffffff" | "#000000" | "#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(): "#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
  }
@@ -4,6 +4,7 @@ import { FeaturedCategoryContentModal, FeaturedCategoryModal, FeaturedCategorySt
4
4
  import { Category } from '../../styles/category.modal';
5
5
  import { RestService } from '../../../services/rest.service';
6
6
  import { Router } from '@angular/router';
7
+ import { LayOutModel } from '../../../styles/style.model';
7
8
  import * as i0 from "@angular/core";
8
9
  export declare class FeaturedCategoryComponent extends BaseSection {
9
10
  private platformId;
@@ -24,6 +25,7 @@ export declare class FeaturedCategoryComponent extends BaseSection {
24
25
  redirectToListPage(category: string): void;
25
26
  getAllCategories(): void;
26
27
  editSection(): void;
28
+ get stylesLayout(): LayOutModel;
27
29
  get isMobile(): boolean;
28
30
  static ɵfac: i0.ɵɵFactoryDeclaration<FeaturedCategoryComponent, never>;
29
31
  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; }; }, {}, never, never, true, never>;
@@ -4,6 +4,7 @@ import { FeaturedCategoryContentModal, FeaturedCategoryModal, FeaturedCategorySt
4
4
  import { Category } from '../../styles/category.modal';
5
5
  import { RestService } from '../../../services/rest.service';
6
6
  import { Router } from '@angular/router';
7
+ import { LayOutModel } from '../../../styles/style.model';
7
8
  import * as i0 from "@angular/core";
8
9
  export declare class FeaturedCollectionComponent extends BaseSection {
9
10
  private readonly router;
@@ -22,6 +23,7 @@ export declare class FeaturedCollectionComponent extends BaseSection {
22
23
  getSliceParameters(): number[];
23
24
  getCollectionsIds(): void;
24
25
  redirectToListPage(collection: string): void;
26
+ get stylesLayout(): LayOutModel;
25
27
  editSection(): void;
26
28
  static ɵfac: i0.ɵɵFactoryDeclaration<FeaturedCollectionComponent, never>;
27
29
  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; }; }, {}, never, never, true, never>;
@@ -10,7 +10,7 @@ import { CartService } from '../../../services/cart.service';
10
10
  import { StorageServiceService } from '../../../services/storage.service';
11
11
  import { MessageService } from 'primeng/api';
12
12
  import { MatBottomSheet } from '@angular/material/bottom-sheet';
13
- import { ProductCardTheme } from '@simpo-ui/styles';
13
+ import { ProductCardTheme } from '../../../styles/index';
14
14
  import * as i0 from "@angular/core";
15
15
  export declare class FeaturedProductsComponent extends BaseSection implements OnInit, OnDestroy, OnChanges {
16
16
  private platformId;
@@ -15,6 +15,7 @@ export interface ProductListStylesModal {
15
15
  maxPrice: number;
16
16
  minPrice: number;
17
17
  animation: AnimationModel;
18
+ theme: string;
18
19
  }
19
20
  export interface ProductListContentModal {
20
21
  display: Display;
@@ -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.2" | "0.3" | "0.5" | "0.7" | "0";
27
- opacityValue(value: OverlayValue): "0.2" | "0.3" | "0.5" | "0.7" | "0";
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";
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.2" | "0.3" | "0.5" | "0.7" | "0";
26
+ opacityValue(value: OverlayValue): "0" | "0.2" | "0.3" | "0.5" | "0.7";
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(): "#000000" | "#ffffff";
18
+ getTextColor(): "#ffffff" | "#000000";
19
19
  get headingSpace(): SPACING;
20
20
  editSection(): void;
21
21
  static ɵfac: i0.ɵɵFactoryDeclaration<PricingSectionComponent, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "1.5.38",
3
+ "version": "1.5.40",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",