simpo-component-library 3.6.319 → 3.6.323
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/directive/icon-directive.directive.mjs +1 -2
- package/esm2022/lib/directive/image-directive.directive.mjs +2 -2
- package/esm2022/lib/directive/spacing-around.directive.mjs +2 -2
- package/esm2022/lib/ecommerce/sections/authentication-required/authentication-required.component.mjs +19 -3
- package/esm2022/lib/ecommerce/sections/passbook-transactions/passbook-transactions.component.mjs +37 -0
- package/esm2022/lib/ecommerce/sections/returns-calculator/returns-calculator.component.mjs +227 -18
- package/esm2022/lib/ecommerce/sections/scheme-details/scheme-details.component.mjs +193 -14
- package/esm2022/lib/ecommerce/sections/schemes/schemes.component.mjs +108 -0
- package/esm2022/lib/ecommerce/sections/schemes/schemes.component.model.mjs +2 -0
- package/esm2022/lib/ecommerce/sections/user-profile/user-profile.component.mjs +179 -22
- package/esm2022/lib/ecommerce/sections/verify-payment/verify-payment.component.mjs +90 -31
- package/esm2022/lib/elements/link-editor/link-editor.component.mjs +3 -3
- package/esm2022/lib/elements/socia-icons/socia-icons.component.mjs +3 -3
- package/esm2022/lib/elements/text-editor/text-editor.component.mjs +3 -3
- package/esm2022/lib/sections/footer/footer.component.mjs +3 -3
- package/esm2022/lib/sections/header-section/header-section.component.mjs +15 -3
- package/esm2022/lib/sections/logo-showcase/logo-showcase.component.mjs +13 -4
- package/esm2022/lib/sections/scheme-detail/scheme-detail.component.mjs +265 -0
- package/esm2022/lib/sections/scheme-detail/scheme-detail.modal.mjs +2 -0
- package/esm2022/lib/services/rest.service.mjs +80 -7
- package/esm2022/lib/services/storage.service.mjs +8 -1
- package/esm2022/lib/styles/index.mjs +2 -1
- package/esm2022/public-api.mjs +3 -1
- package/fesm2022/simpo-component-library.mjs +1223 -161
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/directive/background-directive.d.ts +1 -1
- package/lib/directive/button-directive.directive.d.ts +1 -1
- package/lib/directive/color.directive.d.ts +1 -1
- package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts +2 -1
- package/lib/ecommerce/sections/new-collection/new-collection.component.d.ts +1 -1
- package/lib/ecommerce/sections/passbook-transactions/passbook-transactions.component.d.ts +14 -0
- package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +2 -2
- package/lib/ecommerce/sections/product-list/product-list.component.d.ts +1 -1
- package/lib/ecommerce/sections/returns-calculator/returns-calculator.component.d.ts +41 -3
- package/lib/ecommerce/sections/scheme-details/scheme-details.component.d.ts +35 -3
- package/lib/ecommerce/sections/schemes/schemes.component.d.ts +28 -0
- package/lib/ecommerce/sections/schemes/schemes.component.model.d.ts +21 -0
- package/lib/ecommerce/sections/store-list/store-list.component.d.ts +1 -1
- package/lib/ecommerce/sections/store-page/store-page.component.d.ts +1 -1
- package/lib/ecommerce/sections/user-profile/user-profile.component.d.ts +19 -2
- package/lib/ecommerce/sections/verify-payment/verify-payment.component.d.ts +4 -0
- package/lib/elements/link-editor/link-editor.component.d.ts +1 -1
- package/lib/elements/pricing-s1/pricing-s1.component.d.ts +1 -1
- package/lib/sections/banner-carousel/banner-carousel.component.d.ts +2 -2
- package/lib/sections/banner-grid-section/banner-grid-section.component.d.ts +1 -1
- package/lib/sections/carousel-banner/carousel-banner.component.d.ts +1 -1
- package/lib/sections/contact-us/contact-us.component.d.ts +2 -2
- package/lib/sections/faq-section/faq-section.component.d.ts +1 -1
- package/lib/sections/header-section/header-section.component.d.ts +4 -1
- package/lib/sections/image-section/image-section.component.d.ts +2 -2
- package/lib/sections/logo-showcase/logo-showcase.component.d.ts +2 -1
- package/lib/sections/moving-text/moving-text.component.d.ts +1 -1
- package/lib/sections/pricing-section/pricing-section.component.d.ts +2 -2
- package/lib/sections/scheme-detail/scheme-detail.component.d.ts +68 -0
- package/lib/sections/scheme-detail/scheme-detail.modal.d.ts +17 -0
- package/lib/services/rest.service.d.ts +18 -2
- package/lib/services/storage.service.d.ts +2 -0
- package/lib/styles/index.d.ts +2 -1
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
- package/simpo-component-library-3.6.323.tgz +0 -0
- package/simpo-component-library-3.6.319.tgz +0 -0
@@ -4,24 +4,28 @@ import { Observable } from "rxjs";
|
|
4
4
|
import { Review } from "../ecommerce/styles/review.modal";
|
5
5
|
import { DeviceInfo } from "../ecommerce/styles/user.modal";
|
6
6
|
import { checkItemAlreadyAdded, syncItemToServerDBRequest } from "../ecommerce/styles/product.modal";
|
7
|
+
import { CookieService } from "ngx-cookie-service";
|
7
8
|
import * as i0 from "@angular/core";
|
8
9
|
export declare class RestService implements OnDestroy {
|
9
10
|
private readonly http;
|
10
11
|
private BASE_URL;
|
11
12
|
private ECOMMERCE_URL;
|
12
13
|
private CMIS_URL;
|
14
|
+
private readonly cookieService;
|
13
15
|
private environmentTypeSubscriber;
|
14
16
|
businessDetails: any;
|
15
17
|
subIndustryName: any;
|
16
18
|
isJewellery: boolean;
|
17
|
-
constructor(http: HttpClient, BASE_URL: string, ECOMMERCE_URL: string, CMIS_URL: string);
|
19
|
+
constructor(http: HttpClient, BASE_URL: string, ECOMMERCE_URL: string, CMIS_URL: string, cookieService: CookieService);
|
18
20
|
orraBaseUrl: string;
|
21
|
+
passBookUrl: string;
|
19
22
|
getBusinessDetails(): void;
|
20
23
|
ngOnDestroy(): void;
|
21
24
|
getFeaturedProduct(collectionId: string | undefined | null): Observable<any>;
|
22
25
|
getCategoriesByCollectionId(collectionId: string): Observable<any>;
|
26
|
+
getPassbookOrderStatus(orderId: any): Observable<Object>;
|
23
27
|
getProductBySelectedCategory(categoryId: string): Observable<Object>;
|
24
|
-
getAllSchemes(
|
28
|
+
getAllSchemes(userId?: any, storeId?: any): any;
|
25
29
|
getAllRedemptionSchemes(): Observable<Object>;
|
26
30
|
getProductDetails(productId?: string | null): Observable<any>;
|
27
31
|
getCollectionByIds(collectionIds: string[]): Observable<any>;
|
@@ -104,6 +108,18 @@ export declare class RestService implements OnDestroy {
|
|
104
108
|
redeemScheme(scheme: string, cartId: any, action: boolean): Observable<Object>;
|
105
109
|
getReviewsByProductId(productId: string, pageNumber: number): Observable<Object>;
|
106
110
|
getFieldsToDisplay(fieldsList: any[]): any;
|
111
|
+
generateToken(bId: any, userId: any): Observable<Object>;
|
112
|
+
getAllEnrolledSchemes(payload: any): Observable<Object>;
|
113
|
+
enrollScheme(payload: any, checkCharges: boolean): Observable<Object>;
|
114
|
+
getBenefitSlab(passbookId?: any): Observable<Object>;
|
115
|
+
getAllStaffList(): Observable<Object>;
|
116
|
+
requestRedeemption(passbookId: any): Observable<Object>;
|
117
|
+
PassbookAppStatus(bId: any): Observable<Object>;
|
118
|
+
getAllPassbookDues(bId: any, userId: any): Observable<Object>;
|
119
|
+
getToken(): string;
|
120
|
+
getAllTransactions(payload: any): Observable<Object>;
|
121
|
+
getSchemeDetails(schemeId: any): Observable<Object>;
|
122
|
+
getMetalPrice(storeId: any): Observable<Object>;
|
107
123
|
static ɵfac: i0.ɵɵFactoryDeclaration<RestService, never>;
|
108
124
|
static ɵprov: i0.ɵɵInjectableDeclaration<RestService>;
|
109
125
|
}
|
@@ -25,6 +25,8 @@ export declare class StorageServiceService {
|
|
25
25
|
userCollectionRef: IDBObjectStore | null;
|
26
26
|
trialCartCollectionRef: IDBObjectStore | null;
|
27
27
|
createDataBase(): Promise<void>;
|
28
|
+
setToken(token: any): void;
|
29
|
+
getToken(): void;
|
28
30
|
updateAllData(): void;
|
29
31
|
mergeAllItems(unSyncedItem: any[], syncedItem: any[]): any[];
|
30
32
|
getUserCart(): Promise<IDBRequest<OrderedItems[]>>;
|
package/lib/styles/index.d.ts
CHANGED
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
@@ -42,6 +42,8 @@ export * from './lib/sections/new-testimonials/new-testimonials.component';
|
|
42
42
|
export * from './lib/sections/new-services/new-services.component';
|
43
43
|
export * from './lib/sections/moving-text/moving-text.component';
|
44
44
|
export * from './lib/sections/news-letter-component/news-letter-component.component';
|
45
|
+
export * from './lib/sections/scheme-detail/scheme-detail.component';
|
46
|
+
export * from './lib/ecommerce/sections/schemes/schemes.component';
|
45
47
|
export * from './lib/ecommerce/sections/featured-products/featured-products.component';
|
46
48
|
export * from './lib/ecommerce/sections/featured-category/featured-category.component';
|
47
49
|
export * from './lib/ecommerce/sections/product-desc/product-desc.component';
|
Binary file
|
Binary file
|