simpo-component-library 3.6.319 → 3.6.320
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/set-dynamic-background.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/below-image-card/below-image-card.component.mjs +3 -24
- package/esm2022/lib/elements/image-editor/image-editor.component.mjs +3 -4
- package/esm2022/lib/elements/index.mjs +2 -2
- package/esm2022/lib/elements/link-editor/link-editor.component.mjs +7 -27
- package/esm2022/lib/elements/navbar-button-element/navbar-button-element.component.mjs +3 -3
- package/esm2022/lib/elements/simpo-button/simpo-button.component.mjs +3 -5
- package/esm2022/lib/sections/banner-section/banner-section.component.mjs +3 -3
- package/esm2022/lib/sections/contact-us/contact-us.component.mjs +3 -6
- package/esm2022/lib/sections/faq-section/faq-section.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 +3 -3
- package/esm2022/lib/sections/new-testimonials/new-testimonials.component.mjs +3 -3
- 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/sections/service-section/service-section.component.mjs +9 -12
- package/esm2022/lib/sections/service-section/service-section.model.mjs +1 -1
- 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/lib/styles/style.model.mjs +1 -1
- package/esm2022/public-api.mjs +3 -1
- package/fesm2022/simpo-component-library.mjs +1653 -642
- 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/below-image-card/below-image-card.component.d.ts +0 -2
- package/lib/elements/image-editor/image-editor.component.d.ts +0 -2
- package/lib/elements/link-editor/link-editor.component.d.ts +3 -7
- package/lib/elements/pricing-s1/pricing-s1.component.d.ts +1 -1
- package/lib/sections/banner-grid-section/banner-grid-section.component.d.ts +1 -1
- package/lib/sections/contact-us/contact-us.component.d.ts +1 -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/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/sections/service-section/service-section.model.d.ts +1 -2
- 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/lib/styles/style.model.d.ts +0 -7
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
- package/simpo-component-library-3.6.320.tgz +0 -0
- package/simpo-component-library-3.6.319.tgz +0 -0
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ActionModel,
|
1
|
+
import { ActionModel, Button, CardStyles, contentAnimationModel, DisplaySection, Icon, Image, InputTextModel, ListItemModal, StylesModel } from './../../styles/style.model';
|
2
2
|
export interface ServiceSectionModal {
|
3
3
|
id: string;
|
4
4
|
sectionType: string;
|
@@ -25,7 +25,6 @@ export interface ServiceStylesModel extends StylesModel, CardStyles {
|
|
25
25
|
export interface ServiceItemModal {
|
26
26
|
image: Image;
|
27
27
|
icon: Icon;
|
28
|
-
background: BackgroundModel;
|
29
28
|
inputText: InputTextModel[];
|
30
29
|
button: Button;
|
31
30
|
}
|
@@ -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
@@ -65,7 +65,6 @@ export interface BackgroundModel {
|
|
65
65
|
secondaryColor: string;
|
66
66
|
backgroundGradientDirection: GRADIENT_DIRECTION;
|
67
67
|
backgroundAnimation?: BACKGROUND_ANIMATION;
|
68
|
-
showBackground?: boolean;
|
69
68
|
}
|
70
69
|
export interface AnimationModel {
|
71
70
|
type: ANIMATION_DIRECTION;
|
@@ -101,8 +100,6 @@ export interface Button {
|
|
101
100
|
redirectionUrl: string;
|
102
101
|
pageId: string;
|
103
102
|
newTab: boolean;
|
104
|
-
showIcon?: boolean;
|
105
|
-
icon?: Icon | any;
|
106
103
|
}
|
107
104
|
export interface NavbarButton {
|
108
105
|
label: string;
|
@@ -178,10 +175,6 @@ export interface Icon {
|
|
178
175
|
color: string;
|
179
176
|
showBackground?: boolean;
|
180
177
|
backgroundColor?: string;
|
181
|
-
backgroundType?: BACKGROUND_TYPE;
|
182
|
-
secondaryColor?: string;
|
183
|
-
backgroundGradientDirection?: GRADIENT_DIRECTION;
|
184
|
-
iconPosition?: 'left' | 'right';
|
185
178
|
}
|
186
179
|
export interface ButtonStyleModel {
|
187
180
|
type: BUTTON_TYPE;
|
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
|