simpo-component-library 1.6.38 → 1.6.40
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.
- package/esm2022/lib/ecommerce/sections/category-product/category-product.component.mjs +16 -13
- package/esm2022/lib/ecommerce/sections/product-category-list/product-category-list.component.mjs +9 -4
- package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +4 -4
- package/esm2022/lib/elements/card-skeleton-loader/card-skeleton-loader.component.mjs +13 -4
- package/fesm2022/simpo-component-library.mjs +31 -15
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/ecommerce/sections/category-product/category-product.component.d.ts +2 -3
- package/lib/ecommerce/sections/product-category-list/product-category-list.component.d.ts +1 -0
- package/lib/elements/card-skeleton-loader/card-skeleton-loader.component.d.ts +4 -1
- package/lib/sections/banner-carousel/banner-carousel.component.d.ts +2 -2
- package/lib/sections/carousel-banner/carousel-banner.component.d.ts +1 -1
- package/package.json +1 -1
- package/simpo-component-library-1.6.39.tgz +0 -0
- package/simpo-component-library-1.6.40.tgz +0 -0
@@ -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
|
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
|
28
|
-
opacityValue(value: OverlayValue): "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
|
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
Binary file
|
Binary file
|