simpo-component-library 3.6.644 → 3.6.646
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/authentication-required/authentication-required.component.mjs +170 -89
- package/esm2022/lib/ecommerce/sections/book-appointment/book-appointment.component.mjs +171 -63
- package/esm2022/lib/ecommerce/sections/book-appointment/book-appointment.model.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +494 -157
- package/esm2022/lib/ecommerce/sections/product-desc/product-desc.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/product-list/product-list.component.mjs +108 -17
- package/esm2022/lib/ecommerce/sections/refer-earn/refer-earn.component.mjs +2 -2
- package/esm2022/lib/elements/below-image-card/below-image-card.component.mjs +3 -3
- package/esm2022/lib/elements/covering-image-card/covering-image-card.component.mjs +2 -2
- package/esm2022/lib/elements/simpo-button/simpo-button.component.mjs +12 -3
- package/esm2022/lib/elements/top-of-image-card/top-of-image-card.component.mjs +3 -3
- package/esm2022/lib/sections/appointment-form/appointment-form.component.mjs +2 -2
- package/esm2022/lib/sections/banner-carousel/banner-carousel.component.mjs +2 -2
- package/esm2022/lib/sections/banner-grid-section/banner-grid-section.component.mjs +2 -2
- package/esm2022/lib/sections/banner-section/banner-section.component.mjs +2 -2
- package/esm2022/lib/sections/carousel-banner/carousel-banner.component.mjs +2 -2
- package/esm2022/lib/sections/condensed-and-gradient/condensed-and-gradient.component.mjs +2 -2
- package/esm2022/lib/sections/countdown-banner/countdown-banner.component.mjs +2 -2
- package/esm2022/lib/sections/footer-section/footer-section.component.mjs +2 -2
- package/esm2022/lib/sections/header-section/header-section.component.mjs +2 -2
- package/esm2022/lib/sections/header-text/header-text.component.mjs +2 -2
- package/esm2022/lib/sections/image-background/image-background/image-background.component.mjs +2 -2
- package/esm2022/lib/sections/image-section/image-section.component.mjs +2 -2
- package/esm2022/lib/sections/logo-showcase/logo-showcase.component.mjs +2 -2
- package/esm2022/lib/sections/navbar-section/navbar-section.component.mjs +2 -2
- package/esm2022/lib/sections/new-services/new-services.component.mjs +2 -2
- package/esm2022/lib/sections/new-testimonials/new-testimonials.component.mjs +2 -2
- package/esm2022/lib/sections/overlapping-image/overlapping-image.component.mjs +2 -2
- package/esm2022/lib/sections/pricing-section/pricing-section.component.mjs +2 -2
- package/esm2022/lib/sections/service-section/service-section.component.mjs +2 -2
- package/esm2022/lib/sections/team-member-section/team-member-section.component.mjs +2 -2
- package/esm2022/lib/sections/text-image-section/text-image-section.component.mjs +2 -2
- package/esm2022/lib/sections/text-section/text-section.component.mjs +2 -2
- package/esm2022/lib/services/analytics.service.mjs +160 -0
- package/esm2022/lib/services/cart.service.mjs +44 -5
- package/esm2022/lib/services/rest.service.mjs +5 -1
- package/esm2022/lib/styles/index.mjs +2 -2
- package/fesm2022/simpo-component-library.mjs +1137 -337
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/components/input-fields/input-fields.component.d.ts +1 -1
- package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts +12 -3
- package/lib/ecommerce/sections/book-appointment/book-appointment.component.d.ts +29 -21
- package/lib/ecommerce/sections/book-appointment/book-appointment.model.d.ts +38 -3
- package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +108 -27
- package/lib/ecommerce/sections/product-desc/product-desc.modal.d.ts +27 -18
- package/lib/ecommerce/sections/product-list/product-list.component.d.ts +10 -2
- package/lib/ecommerce/sections/schemes/schemes.component.d.ts +1 -1
- package/lib/elements/link-editor/link-editor.component.d.ts +1 -1
- package/lib/elements/simpo-button/simpo-button.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/lib/sections/image-section/image-section.component.d.ts +2 -2
- package/lib/sections/logo-showcase/logo-showcase.component.d.ts +2 -2
- package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
- package/lib/services/analytics.service.d.ts +33 -0
- package/lib/services/cart.service.d.ts +7 -1
- package/lib/services/rest.service.d.ts +1 -0
- package/lib/styles/index.d.ts +1 -1
- package/package.json +1 -1
- package/simpo-component-library-3.6.646.tgz +0 -0
- package/simpo-component-library-3.6.644.tgz +0 -0
|
@@ -2,15 +2,20 @@ import { OrderedItems } from '../ecommerce/styles/OrderedItems.modal';
|
|
|
2
2
|
import { Product } from '../ecommerce/styles/product.modal';
|
|
3
3
|
import { RestService } from './rest.service';
|
|
4
4
|
import { StorageServiceService } from './storage.service';
|
|
5
|
+
import { Router } from '@angular/router';
|
|
6
|
+
import { StorageLike } from '../services/storage-like';
|
|
5
7
|
import * as i0 from "@angular/core";
|
|
6
8
|
export declare class CartService {
|
|
7
9
|
private readonly storageService;
|
|
8
10
|
private readonly restService;
|
|
9
|
-
|
|
11
|
+
private router;
|
|
12
|
+
private storage;
|
|
13
|
+
constructor(storageService: StorageServiceService, restService: RestService, router: Router, storage: StorageLike);
|
|
10
14
|
addItemFromCartPage(product: OrderedItems, userCart: any): import("rxjs").Observable<Object>;
|
|
11
15
|
addItemFromWishlistPage(product: OrderedItems, userWishlist: any): import("rxjs").Observable<Object>;
|
|
12
16
|
removeItemFromWishlistPage(product: OrderedItems, userWishlist: any): import("rxjs").Observable<Object>;
|
|
13
17
|
addItemToCart(product: Product | OrderedItems, varientId?: string): void | IDBRequest<IDBValidKey>;
|
|
18
|
+
captureCartAnalytics(productId: string, type: 'ADD_TO_CART' | 'REMOVE_FROM_CART', variantId?: string): void;
|
|
14
19
|
addItemToFavourite(product: Product, varientId?: string): void;
|
|
15
20
|
addItemToTrial(product: Product, varientId?: string): Promise<boolean>;
|
|
16
21
|
addItemToFavFromCart(product: OrderedItems): void;
|
|
@@ -18,6 +23,7 @@ export declare class CartService {
|
|
|
18
23
|
removeItemFromFavourite(varientId: string): void;
|
|
19
24
|
removeItemFromCart(product: Product | OrderedItems): void;
|
|
20
25
|
private objectMapper;
|
|
26
|
+
trackUser(event: any, eventType: string): void;
|
|
21
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<CartService, never>;
|
|
22
28
|
static ɵprov: i0.ɵɵInjectableDeclaration<CartService>;
|
|
23
29
|
}
|
|
@@ -135,6 +135,7 @@ export declare class RestService implements OnDestroy {
|
|
|
135
135
|
createLead(payload: any): Observable<Object>;
|
|
136
136
|
getAppointmentPaymentStatus(orderId: any): Observable<Object>;
|
|
137
137
|
getOtpForLogin(payload: any): Observable<Object>;
|
|
138
|
+
flush(eventsToSend: any): void;
|
|
138
139
|
static ɵfac: i0.ɵɵFactoryDeclaration<RestService, never>;
|
|
139
140
|
static ɵprov: i0.ɵɵInjectableDeclaration<RestService>;
|
|
140
141
|
}
|
package/lib/styles/index.d.ts
CHANGED
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|