simpo-component-library 1.4.142 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/lib/directive/background-directive.mjs +1 -1
- package/esm2022/lib/directive/border-directive.mjs +11 -23
- package/esm2022/lib/directive/removeCarousel-directive.mjs +73 -0
- package/esm2022/lib/ecommerce/json/user-cart.json +40 -0
- package/esm2022/lib/ecommerce/json/user-details.json +15 -0
- package/esm2022/lib/ecommerce/json/user-favourite.json +32 -0
- package/esm2022/lib/ecommerce/sections/address/address.component.mjs +17 -49
- package/esm2022/lib/ecommerce/sections/authenticate-user/authenticate-user.component.mjs +36 -69
- package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +49 -202
- package/esm2022/lib/ecommerce/sections/cart/cart.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/checkout/checkout.component.mjs +3 -7
- package/esm2022/lib/ecommerce/sections/featured-category/featured-category.component.mjs +4 -4
- package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +34 -77
- package/esm2022/lib/ecommerce/sections/featured-products/featured-products.modal.mjs +2 -11
- package/esm2022/lib/ecommerce/sections/order-details/order-details.component.mjs +10 -74
- package/esm2022/lib/ecommerce/sections/pagnination/pagnination.component.mjs +7 -13
- package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +30 -85
- package/esm2022/lib/ecommerce/sections/product-desc/product-desc.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/product-list/product-list.component.mjs +30 -106
- package/esm2022/lib/ecommerce/sections/product-list/product-list.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/user-basic-info/user-basic-info.component.mjs +17 -43
- package/esm2022/lib/ecommerce/sections/user-profile/user-profile.component.mjs +24 -156
- package/esm2022/lib/ecommerce/sections/user-profile/user-profile.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/whislist/whislist.component.mjs +17 -147
- package/esm2022/lib/ecommerce/styles/OrderedItems.modal.mjs +2 -3
- package/esm2022/lib/ecommerce/styles/cart.modal.mjs +1 -2
- package/esm2022/lib/sections/banner-section/banner-section.component.mjs +2 -1
- package/esm2022/lib/sections/carousel-banner/carousel-banner.component.mjs +166 -0
- package/esm2022/lib/sections/carousel-banner/carousel-banner.model.mjs +2 -0
- package/esm2022/lib/sections/choose-us-section/choose-us-section.component.mjs +3 -3
- package/esm2022/lib/sections/contact-us/contact-us.component.mjs +3 -5
- package/esm2022/lib/sections/navbar-section/navbar-section.component.mjs +8 -14
- package/esm2022/lib/sections/navbar-section/navbar-section.model.mjs +1 -1
- package/esm2022/lib/services/cart.service.mjs +109 -40
- package/esm2022/lib/services/events.service.mjs +2 -3
- package/esm2022/lib/services/rest.service.mjs +2 -17
- package/esm2022/lib/services/storage.service.mjs +30 -83
- package/esm2022/lib/styles/index.mjs +1 -8
- package/esm2022/lib/styles/style.model.mjs +1 -1
- package/esm2022/lib/styles/types.mjs +1 -1
- package/esm2022/public-api.mjs +3 -3
- package/fesm2022/simpo-component-library.mjs +816 -1456
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/directive/removeCarousel-directive.d.ts +35 -0
- package/lib/ecommerce/sections/address/address.component.d.ts +7 -12
- package/lib/ecommerce/sections/authenticate-user/authenticate-user.component.d.ts +6 -22
- package/lib/ecommerce/sections/cart/cart.component.d.ts +6 -14
- package/lib/ecommerce/sections/cart/cart.modal.d.ts +1 -10
- package/lib/ecommerce/sections/checkout/checkout.component.d.ts +0 -1
- package/lib/ecommerce/sections/featured-products/featured-products.component.d.ts +7 -14
- package/lib/ecommerce/sections/featured-products/featured-products.modal.d.ts +1 -4
- package/lib/ecommerce/sections/order-details/order-details.component.d.ts +2 -15
- package/lib/ecommerce/sections/pagnination/pagnination.component.d.ts +2 -3
- package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +3 -17
- package/lib/ecommerce/sections/product-desc/product-desc.modal.d.ts +1 -2
- package/lib/ecommerce/sections/product-list/product-list.component.d.ts +2 -21
- package/lib/ecommerce/sections/product-list/product-list.modal.d.ts +0 -2
- package/lib/ecommerce/sections/user-basic-info/user-basic-info.component.d.ts +1 -11
- package/lib/ecommerce/sections/user-profile/user-profile.component.d.ts +10 -36
- package/lib/ecommerce/sections/user-profile/user-profile.modal.d.ts +8 -5
- package/lib/ecommerce/sections/whislist/whislist.component.d.ts +6 -20
- package/lib/ecommerce/styles/OrderedItems.modal.d.ts +1 -2
- package/lib/ecommerce/styles/cart.modal.d.ts +0 -1
- package/lib/sections/carousel-banner/carousel-banner.component.d.ts +28 -0
- package/lib/sections/carousel-banner/carousel-banner.model.d.ts +42 -0
- package/lib/sections/navbar-section/navbar-section.component.d.ts +0 -1
- package/lib/sections/navbar-section/navbar-section.model.d.ts +1 -1
- package/lib/services/cart.service.d.ts +5 -8
- package/lib/services/events.service.d.ts +3 -4
- package/lib/services/rest.service.d.ts +0 -3
- package/lib/services/storage.service.d.ts +44 -11
- package/lib/styles/index.d.ts +0 -6
- package/lib/styles/style.model.d.ts +1 -4
- package/lib/styles/types.d.ts +0 -1
- package/package.json +1 -1
- package/public-api.d.ts +2 -2
- package/simpo-component-library-1.5.0.tgz +0 -0
- package/esm2022/lib/constants/business.constant.mjs +0 -5
- package/esm2022/lib/directive/spacing-horizontal.directive.mjs +0 -48
- package/esm2022/lib/ecommerce/sections/verify-payment/verify-payment.component.mjs +0 -97
- package/esm2022/lib/ecommerce/sections/verify-payment/verify-payment.model.mjs +0 -2
- package/esm2022/lib/pipes/amount.pipe.mjs +0 -35
- package/esm2022/lib/services/endUser.service.mjs +0 -28
- package/lib/constants/business.constant.d.ts +0 -3
- package/lib/directive/spacing-horizontal.directive.d.ts +0 -18
- package/lib/ecommerce/sections/verify-payment/verify-payment.component.d.ts +0 -27
- package/lib/ecommerce/sections/verify-payment/verify-payment.model.d.ts +0 -23
- package/lib/pipes/amount.pipe.d.ts +0 -7
- package/lib/services/endUser.service.d.ts +0 -13
- package/simpo-component-library-1.4.142.tgz +0 -0
@@ -1,28 +0,0 @@
|
|
1
|
-
import { EventEmitter, Injectable } from "@angular/core";
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
import * as i1 from "./storage.service";
|
4
|
-
export class EndUserService {
|
5
|
-
constructor(storageService) {
|
6
|
-
this.storageService = storageService;
|
7
|
-
this.paymentStatusEvent = new EventEmitter();
|
8
|
-
this.eventRef = null;
|
9
|
-
}
|
10
|
-
ngOnInit() {
|
11
|
-
this.eventRef = this.paymentStatusEvent.subscribe((response) => {
|
12
|
-
if (response)
|
13
|
-
this.storageService.clearUserCart();
|
14
|
-
});
|
15
|
-
}
|
16
|
-
ngOnDestroy() {
|
17
|
-
this.eventRef?.unsubscribe();
|
18
|
-
}
|
19
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: EndUserService, deps: [{ token: i1.StorageServiceService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
20
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: EndUserService, providedIn: 'root' }); }
|
21
|
-
}
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: EndUserService, decorators: [{
|
23
|
-
type: Injectable,
|
24
|
-
args: [{
|
25
|
-
providedIn: 'root',
|
26
|
-
}]
|
27
|
-
}], ctorParameters: () => [{ type: i1.StorageServiceService }] });
|
28
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW5kVXNlci5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvc2ltcG8tdWkvc3JjL2xpYi9zZXJ2aWNlcy9lbmRVc2VyLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxVQUFVLEVBQXFCLE1BQU0sZUFBZSxDQUFDOzs7QUFPNUU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ICBjb25zdHJ1Y3RvcihcclxuICAgICAgICBwcml2YXRlIHJlYWRvbmx5IHN0b3JhZ2VTZXJ2aWNlOiBTdG9yYWdlU2VydmljZVNlcnZpY2VcclxuICAgICkgeyB9XHJcblxyXG4gICAgcHVibGljIHBheW1lbnRTdGF0dXNFdmVudCA9IG5ldyBFdmVudEVtaXR0ZXI8Ym9vbGVhbj4oKTtcclxuICAgIHByaXZhdGUgZXZlbnRSZWY6IFN1YnNjcmlwdGlvbiB8IG51bGwgPSBudWxsO1xyXG4gICAgbmdPbkluaXQoKTogdm9pZCB7XHJcbiAgICAgICAgdGhpcy5ldmVudFJlZiA9IHRoaXMucGF5bWVudFN0YXR1c0V2ZW50LnN1YnNjcmliZSgocmVzcG9uc2UpID0+IHtcclxuICAgICAgICAgICAgaWYgKHJlc3BvbnNlKVxyXG4gICAgICAgICAgICAgICAgdGhpcy5zdG9yYWdlU2VydmljZS5jbGVhclVzZXJDYXJ0KCk7XHJcbiAgICAgICAgfSlcclxuICAgIH1cclxuICAgIG5nT25EZXN0cm95KCk6IHZvaWQge1xyXG4gICAgICAgIHRoaXMuZXZlbnRSZWY/LnVuc3Vic2NyaWJlKCk7XHJcbiAgICB9XHJcbn0gICJdfQ==
|
@@ -1,18 +0,0 @@
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
2
|
-
import { EventsService } from '../services/events.service';
|
3
|
-
import { Subscription } from 'rxjs';
|
4
|
-
import { LayOutModel } from '../styles/style.model';
|
5
|
-
import * as i0 from "@angular/core";
|
6
|
-
export declare class SpacingHorizontalDirective {
|
7
|
-
private el;
|
8
|
-
private eventService;
|
9
|
-
layout?: LayOutModel;
|
10
|
-
constructor(el: ElementRef, eventService: EventsService);
|
11
|
-
ngOnChanges(): void;
|
12
|
-
ngOnDestroy(): void;
|
13
|
-
changeHorizontalSpacing(): void;
|
14
|
-
positionLayoutSubscription?: Subscription;
|
15
|
-
positionLayoutChangeCheck(): void;
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SpacingHorizontalDirective, never>;
|
17
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SpacingHorizontalDirective, "[spacingHorizontal]", never, { "layout": { "alias": "spacingHorizontal"; "required": false; }; }, {}, never, never, true, never>;
|
18
|
-
}
|
@@ -1,27 +0,0 @@
|
|
1
|
-
import { OnInit } from '@angular/core';
|
2
|
-
import { RestService } from '../../../services/rest.service';
|
3
|
-
import { Router } from '@angular/router';
|
4
|
-
import { StorageServiceService } from '../../../services/storage.service';
|
5
|
-
import { VerifyPaymentContentModel, VerifyPaymentSectionModal, VerifyPaymentStylesModel } from './verify-payment.model';
|
6
|
-
import { MessageService } from 'primeng/api';
|
7
|
-
import * as i0 from "@angular/core";
|
8
|
-
export declare class VerifyComponent implements OnInit {
|
9
|
-
private readonly restService;
|
10
|
-
private readonly router;
|
11
|
-
private readonly storageService;
|
12
|
-
private readonly messageService;
|
13
|
-
data?: VerifyPaymentSectionModal;
|
14
|
-
responseData: any;
|
15
|
-
styles?: VerifyPaymentStylesModel;
|
16
|
-
content?: VerifyPaymentContentModel;
|
17
|
-
private userDetails;
|
18
|
-
constructor(restService: RestService, router: Router, storageService: StorageServiceService, messageService: MessageService);
|
19
|
-
loadingText: string;
|
20
|
-
private API_COUNT;
|
21
|
-
private MAX_API_COUNT;
|
22
|
-
ngOnInit(): void;
|
23
|
-
get getImageUrl(): string | undefined;
|
24
|
-
checkPaymentStatus(): void;
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<VerifyComponent, never>;
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VerifyComponent, "simpo-verify-payment", never, { "data": { "alias": "data"; "required": false; }; "responseData": { "alias": "responseData"; "required": false; }; }, {}, never, never, true, never>;
|
27
|
-
}
|
@@ -1,23 +0,0 @@
|
|
1
|
-
import { InputTextModel } from "../../../styles/style.model";
|
2
|
-
import { AnimationModel, BackgroundModel, LayOutModel, Image } from "../../../styles/style.model";
|
3
|
-
import { ActionModel } from '../../../styles/style.model';
|
4
|
-
export interface VerifyPaymentSectionModal {
|
5
|
-
id: string;
|
6
|
-
sectionType: string;
|
7
|
-
sectionName: string;
|
8
|
-
styles: VerifyPaymentStylesModel;
|
9
|
-
content: VerifyPaymentContentModel;
|
10
|
-
action: ActionModel;
|
11
|
-
}
|
12
|
-
export interface VerifyPaymentStylesModel {
|
13
|
-
layout: LayOutModel;
|
14
|
-
background: BackgroundModel;
|
15
|
-
animation: AnimationModel;
|
16
|
-
}
|
17
|
-
export interface VerifyPaymentContentModel {
|
18
|
-
inputText: InputTextModel[];
|
19
|
-
image: ImageModel;
|
20
|
-
}
|
21
|
-
export interface ImageModel extends Image {
|
22
|
-
showImage: boolean;
|
23
|
-
}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
export declare class FormateAmount implements PipeTransform {
|
4
|
-
transform(value: string | number, system?: "IND" | "INT"): string;
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormateAmount, never>;
|
6
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<FormateAmount, "formateAmount", true>;
|
7
|
-
}
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import { EventEmitter, OnDestroy, OnInit } from "@angular/core";
|
2
|
-
import { StorageServiceService } from "./storage.service";
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
export declare class EndUserService implements OnInit, OnDestroy {
|
5
|
-
private readonly storageService;
|
6
|
-
constructor(storageService: StorageServiceService);
|
7
|
-
paymentStatusEvent: EventEmitter<boolean>;
|
8
|
-
private eventRef;
|
9
|
-
ngOnInit(): void;
|
10
|
-
ngOnDestroy(): void;
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EndUserService, never>;
|
12
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<EndUserService>;
|
13
|
-
}
|
Binary file
|