simpo-component-library 1.6.38 → 1.6.40

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,26 +7,25 @@ import { ItemVariant, Product } from '../../styles/product.modal';
7
7
  import { FeaturedProductModal } from '../featured-products/featured-products.modal';
8
8
  import { CartService } from '../../../services/cart.service';
9
9
  import BaseSection from '../../../sections/BaseSection';
10
- import { ActivatedRoute } from '@angular/router';
11
10
  import { LayOutModel } from '../../../styles/style.model';
12
11
  import * as i0 from "@angular/core";
13
12
  export declare class CategoryProductComponent extends BaseSection implements OnInit {
14
13
  private readonly restService;
15
14
  private readonly cartService;
16
15
  private readonly _eventService;
17
- private readonly activatedRoute;
18
16
  data?: CategoryProductModal;
19
17
  index?: number;
20
18
  edit?: boolean;
21
19
  delete?: boolean;
22
20
  customClass?: string;
21
+ apiLoading: boolean;
23
22
  containerRef: ElementRef<HTMLDivElement> | undefined;
24
23
  styles?: CategoryProductStylesModel;
25
24
  content?: CategoryProductContentModal;
26
25
  selectCategoryId: string | null;
27
26
  categoryList: Category[];
28
27
  private USER_CART;
29
- constructor(restService: RestService, cartService: CartService, _eventService: EventsService, activatedRoute: ActivatedRoute);
28
+ constructor(restService: RestService, cartService: CartService, _eventService: EventsService);
30
29
  featureProductData: FeaturedProductModal | null;
31
30
  ngOnInit(): void;
32
31
  ngAfterViewInit(): void;
@@ -25,6 +25,7 @@ export declare class ProductCategoryListComponent extends BaseSection implements
25
25
  productList: Product[];
26
26
  USER_CART: OrderedItems[];
27
27
  selectedCategory: Category | null;
28
+ apiLoading: boolean;
28
29
  constructor(restService: RestService, cartService: CartService, activatedRoute: ActivatedRoute);
29
30
  collectionId: string | null;
30
31
  ngOnInit(): void;
@@ -1,7 +1,10 @@
1
+ import { OnInit } from '@angular/core';
1
2
  import * as i0 from "@angular/core";
2
- export declare class CardSkeletonLoaderComponent {
3
+ export declare class CardSkeletonLoaderComponent implements OnInit {
3
4
  count: number;
4
5
  showTitles: boolean;
6
+ getScreenSize(): void;
7
+ ngOnInit(): void;
5
8
  static ɵfac: i0.ɵɵFactoryDeclaration<CardSkeletonLoaderComponent, never>;
6
9
  static ɵcmp: i0.ɵɵComponentDeclaration<CardSkeletonLoaderComponent, "simpo-card-skeleton-loader", never, { "count": { "alias": "count"; "required": false; }; "showTitles": { "alias": "showTitles"; "required": false; }; }, {}, never, never, true, never>;
7
10
  }
@@ -24,8 +24,8 @@ export declare class BannerCarouselComponent extends BaseSection implements OnIn
24
24
  get stylesLayout(): LayOutModel;
25
25
  get getBlurValue(): OverlayValue | undefined;
26
26
  get getBackgroundColor(): BackgroundModel;
27
- get getBackgroundOpacity(): "0.2" | "0.3" | "0.5" | "0.7" | "0";
28
- opacityValue(value: OverlayValue): "0.2" | "0.3" | "0.5" | "0.7" | "0";
27
+ get getBackgroundOpacity(): "0" | "0.2" | "0.3" | "0.5" | "0.7";
28
+ opacityValue(value: OverlayValue): "0" | "0.2" | "0.3" | "0.5" | "0.7";
29
29
  editSection(): void;
30
30
  static ɵfac: i0.ɵɵFactoryDeclaration<BannerCarouselComponent, never>;
31
31
  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; }; "customClass": { "alias": "customClass"; "required": false; }; }, {}, never, never, true, never>;
@@ -24,7 +24,7 @@ export declare class CarouselBannerComponent extends BaseSection implements OnIn
24
24
  get canMergeNavbar(): boolean | undefined;
25
25
  get isBorderlessImage(): boolean | undefined;
26
26
  get getPositionLayout(): PositionLayoutModal;
27
- opacityValue(value: OverlayValue): "0.2" | "0.3" | "0.5" | "0.7" | "0";
27
+ opacityValue(value: OverlayValue): "0" | "0.2" | "0.3" | "0.5" | "0.7";
28
28
  editSection(): void;
29
29
  static ɵfac: i0.ɵɵFactoryDeclaration<CarouselBannerComponent, never>;
30
30
  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; }; }, {}, never, never, true, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "1.6.38",
3
+ "version": "1.6.40",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",