simpo-component-library 1.4.80 → 1.4.88

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.
Files changed (68) hide show
  1. package/esm2022/lib/directive/background-directive.mjs +1 -1
  2. package/esm2022/lib/directive/border-directive.mjs +11 -23
  3. package/esm2022/lib/directive/removeCarousel-directive.mjs +73 -0
  4. package/esm2022/lib/ecommerce/json/user-cart.json +40 -0
  5. package/esm2022/lib/ecommerce/json/user-details.json +15 -0
  6. package/esm2022/lib/ecommerce/json/user-favourite.json +32 -0
  7. package/esm2022/lib/ecommerce/sections/address/address.component.mjs +17 -34
  8. package/esm2022/lib/ecommerce/sections/authenticate-user/authenticate-user.component.mjs +10 -4
  9. package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +49 -158
  10. package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +29 -47
  11. package/esm2022/lib/ecommerce/sections/order-details/order-details.component.mjs +4 -34
  12. package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +23 -39
  13. package/esm2022/lib/ecommerce/sections/product-list/product-list.component.mjs +13 -43
  14. package/esm2022/lib/ecommerce/sections/user-basic-info/user-basic-info.component.mjs +15 -18
  15. package/esm2022/lib/ecommerce/sections/user-profile/user-profile.component.mjs +20 -104
  16. package/esm2022/lib/ecommerce/sections/user-profile/user-profile.modal.mjs +1 -1
  17. package/esm2022/lib/ecommerce/sections/whislist/whislist.component.mjs +11 -49
  18. package/esm2022/lib/ecommerce/styles/OrderedItems.modal.mjs +2 -2
  19. package/esm2022/lib/ecommerce/styles/cart.modal.mjs +1 -2
  20. package/esm2022/lib/sections/banner-section/banner-section.component.mjs +2 -1
  21. package/esm2022/lib/sections/carousel-banner/carousel-banner.component.mjs +166 -0
  22. package/esm2022/lib/sections/carousel-banner/carousel-banner.model.mjs +2 -0
  23. package/esm2022/lib/sections/navbar-section/navbar-section.component.mjs +4 -4
  24. package/esm2022/lib/sections/text-image-section/text-image-section.component.mjs +3 -3
  25. package/esm2022/lib/services/cart.service.mjs +109 -39
  26. package/esm2022/lib/services/events.service.mjs +2 -8
  27. package/esm2022/lib/services/rest.service.mjs +1 -4
  28. package/esm2022/lib/services/storage.service.mjs +30 -68
  29. package/esm2022/lib/styles/index.mjs +1 -8
  30. package/esm2022/lib/styles/style.model.mjs +1 -1
  31. package/esm2022/lib/styles/types.mjs +1 -1
  32. package/esm2022/public-api.mjs +3 -1
  33. package/fesm2022/simpo-component-library.mjs +670 -742
  34. package/fesm2022/simpo-component-library.mjs.map +1 -1
  35. package/lib/directive/background-directive.d.ts +1 -1
  36. package/lib/directive/button-directive.directive.d.ts +1 -1
  37. package/lib/directive/color.directive.d.ts +1 -1
  38. package/lib/directive/removeCarousel-directive.d.ts +35 -0
  39. package/lib/ecommerce/sections/address/address.component.d.ts +5 -7
  40. package/lib/ecommerce/sections/authenticate-user/authenticate-user.component.d.ts +3 -14
  41. package/lib/ecommerce/sections/cart/cart.component.d.ts +2 -6
  42. package/lib/ecommerce/sections/featured-products/featured-products.component.d.ts +2 -5
  43. package/lib/ecommerce/sections/order-details/order-details.component.d.ts +1 -8
  44. package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +2 -6
  45. package/lib/ecommerce/sections/product-list/product-list.component.d.ts +1 -7
  46. package/lib/ecommerce/sections/user-basic-info/user-basic-info.component.d.ts +1 -5
  47. package/lib/ecommerce/sections/user-profile/user-profile.component.d.ts +8 -26
  48. package/lib/ecommerce/sections/user-profile/user-profile.modal.d.ts +8 -5
  49. package/lib/ecommerce/sections/whislist/whislist.component.d.ts +1 -7
  50. package/lib/ecommerce/styles/OrderedItems.modal.d.ts +1 -1
  51. package/lib/ecommerce/styles/cart.modal.d.ts +0 -1
  52. package/lib/sections/banner-carousel/banner-carousel.component.d.ts +2 -2
  53. package/lib/sections/carousel-banner/carousel-banner.component.d.ts +28 -0
  54. package/lib/sections/carousel-banner/carousel-banner.model.d.ts +42 -0
  55. package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
  56. package/lib/services/cart.service.d.ts +5 -8
  57. package/lib/services/events.service.d.ts +3 -4
  58. package/lib/services/rest.service.d.ts +0 -1
  59. package/lib/services/storage.service.d.ts +44 -10
  60. package/lib/styles/index.d.ts +0 -6
  61. package/lib/styles/style.model.d.ts +1 -4
  62. package/lib/styles/types.d.ts +0 -1
  63. package/package.json +1 -1
  64. package/public-api.d.ts +2 -0
  65. package/simpo-component-library-1.4.88.tgz +0 -0
  66. package/esm2022/lib/directive/spacing-horizontal.directive.mjs +0 -48
  67. package/lib/directive/spacing-horizontal.directive.d.ts +0 -18
  68. package/simpo-component-library-1.4.80.tgz +0 -0
@@ -25,7 +25,6 @@ export declare class RestService implements OnDestroy {
25
25
  getUserInfo(userId: string): Observable<Object>;
26
26
  addUserAddress(user: any): Observable<Object>;
27
27
  updateProfile(payload: any): Observable<Object>;
28
- getUserOrders(payload: any): Observable<Object>;
29
28
  toggleItemCartToFav(): void;
30
29
  createPaymentToken(payload: any): Observable<Object>;
31
30
  refundPayment(orderId: string, payload: any): Observable<Object>;
@@ -9,8 +9,6 @@ export declare class StorageServiceService {
9
9
  private readonly cookieService;
10
10
  private readonly restService;
11
11
  constructor(eventService: EventsService, cookieService: CookieService, restService: RestService);
12
- private totalCartItems;
13
- get getTotalCartItems(): number;
14
12
  databaseName: string;
15
13
  databaseVersion: number;
16
14
  cartCollectionName: string;
@@ -22,21 +20,57 @@ export declare class StorageServiceService {
22
20
  userCollectionRef: IDBObjectStore | null;
23
21
  createDataBase(): Promise<void>;
24
22
  storeDataToJSON(): Promise<void>;
25
- calculateBillingDetails(): void;
23
+ calculateBillingDetails(): {
24
+ orderedItems: never[];
25
+ cartType: string;
26
+ billdetails: {
27
+ totalNetValue: number;
28
+ totalGrossValue: number;
29
+ totalTax: number;
30
+ totalOfferedValue: number;
31
+ deliveryCharges: number;
32
+ couponId: string;
33
+ discountAmount: number;
34
+ afterDiscountAmount: number;
35
+ taxBreakup: {
36
+ cgstValue: number;
37
+ sgstValue: number;
38
+ igstValue: number;
39
+ };
40
+ };
41
+ userDetails: {
42
+ userId: string;
43
+ userName: string;
44
+ mobile: string;
45
+ email: string;
46
+ pinCode: string;
47
+ };
48
+ locationDetails: {
49
+ countryId: string;
50
+ cityId: string;
51
+ stateId: string;
52
+ localityId: string;
53
+ countryName: string;
54
+ cityName: string;
55
+ stateName: string;
56
+ localityName: string;
57
+ pinCode: string;
58
+ };
59
+ platform: string;
60
+ totalAmount: number;
61
+ cartId: string;
62
+ };
26
63
  updateAllData(): void;
27
- getUserCart(): Promise<IDBRequest<OrderedItems[]>>;
64
+ getUserCart(): Promise<IDBRequest<any[]>>;
28
65
  addProductToCart(product: OrderedItems): IDBRequest<IDBValidKey>;
29
- addAllProductsToCart(products: OrderedItems[]): IDBTransaction;
30
66
  removeProductFromCart(productId: string): IDBRequest<undefined>;
31
67
  getProductFromCart(productId: string): Promise<IDBRequest<any>>;
32
- getUserWhishlist(): Promise<IDBRequest<OrderedItems[]>>;
68
+ getUserWhishlist(): Promise<IDBRequest<any[]>>;
33
69
  addProductToWishlist(product: OrderedItems): IDBRequest<IDBValidKey>;
34
70
  removeProductFromWishlist(productId: string): IDBRequest<undefined>;
35
71
  getProductFromWishlist(productId: string): Promise<IDBRequest<any>>;
36
- clearUserCart(): IDBRequest<undefined>;
37
- clearUserWishlist(): IDBRequest<undefined>;
38
- setUser(user: User): User;
39
- getUser(): User | null;
72
+ addUser(user: User): User;
73
+ getUser(): any;
40
74
  storePaymentFor(paymentFor: string): void;
41
75
  static ɵfac: i0.ɵɵFactoryDeclaration<StorageServiceService, never>;
42
76
  static ɵprov: i0.ɵɵInjectableDeclaration<StorageServiceService>;
@@ -27,12 +27,6 @@ export declare enum BANNERALIGNMENT {
27
27
  top = "flex-lg-column",
28
28
  bottom = "flex-lg-column-reverse"
29
29
  }
30
- export declare enum SPACINGALIGN {
31
- large = "8rem",
32
- medium = "6rem",
33
- small = "2rem",
34
- none = "0rem"
35
- }
36
30
  export declare enum BANNERHALIGN {
37
31
  left = "justify-content-start text-start",
38
32
  center = "justify-content-center text-center",
@@ -1,5 +1,5 @@
1
1
  import { AlignContent, Corners, ImageFit, ImageRatio, OverlayValue, RedirectionLinkType, SPACING, TEXT_SIZE, TextPosition } from '.';
2
- import { ALIGN, ANIMATION_DIRECTION, ANIMATION_SPEED, BUTTON_SHAPE, BUTTON_TYPE, CARD_SIZE, FIT, LAYOUTPOSITION, LINK_TYPE, SPACING_TYPE, CONTENTPOSITION, BORDER_DIRECTION } from './types';
2
+ import { ALIGN, ANIMATION_DIRECTION, ANIMATION_SPEED, BUTTON_SHAPE, BUTTON_TYPE, CARD_SIZE, FIT, LAYOUTPOSITION, LINK_TYPE, SPACING_TYPE, CONTENTPOSITION } from './types';
3
3
  export interface SpacingModel {
4
4
  top: SPACING_TYPE;
5
5
  bottom: SPACING_TYPE;
@@ -13,8 +13,6 @@ export interface BorderModel {
13
13
  color: string;
14
14
  type: string;
15
15
  thickness: string;
16
- direction?: BORDER_DIRECTION[];
17
- radius?: number;
18
16
  }
19
17
  export interface DeviderModel {
20
18
  display: boolean;
@@ -24,7 +22,6 @@ export interface LayOutModel {
24
22
  fit: FIT;
25
23
  headingSpacing?: SPACING;
26
24
  spacing: SpacingModel;
27
- spacingHorizontal?: SPACING_TYPE;
28
25
  }
29
26
  export interface BannerLayOutModel {
30
27
  layoutAlignment: PositionLayoutModal;
@@ -5,7 +5,6 @@ export type CONTENTPOSITION = 'image center' | 'image top' | 'image bottom';
5
5
  export type FIT = 'content' | 'screen';
6
6
  export type CARD_SIZE = 'Small' | 'Medium' | 'Large';
7
7
  export type ANIMATION_DIRECTION = 'left' | 'top' | 'bottom' | 'right' | 'fadeIn' | 'zoom' | 'none';
8
- export type BORDER_DIRECTION = "ALL" | "LEFT" | "RIGHT" | "TOP" | "BOTTOM";
9
8
  export type ANIMATION_SPEED = 'slow' | 'medium' | 'fast';
10
9
  export type LINK_TYPE = 'Button' | 'List Item';
11
10
  export type BUTTON_TYPE = 'Solid' | 'Outline';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "1.4.80",
3
+ "version": "1.4.88",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
package/public-api.d.ts CHANGED
@@ -28,6 +28,7 @@ export * from './lib/sections/features-section/features-section.component';
28
28
  export * from './lib/sections/testimonial-fullwidth/testimonial-fullwidth.component';
29
29
  export * from './lib/sections/logo-showcase/logo-showcase.component';
30
30
  export * from './lib/sections/banner-carousel/banner-carousel.component';
31
+ export * from './lib/sections/carousel-banner/carousel-banner.component';
31
32
  export * from './lib/ecommerce/sections/featured-products/featured-products.component';
32
33
  export * from './lib/ecommerce/sections/featured-category/featured-category.component';
33
34
  export * from './lib/ecommerce/sections/product-desc/product-desc.component';
@@ -58,6 +59,7 @@ export * from './lib/directive/color.directive';
58
59
  export * from './lib/directive/image-position.directive';
59
60
  export * from './lib/directive/container-alignment.directive';
60
61
  export * from './lib/directive/sticky-directive';
62
+ export * from './lib/directive/removeCarousel-directive';
61
63
  export * from './lib/styles/index';
62
64
  export * from './lib/styles/style.model';
63
65
  export * from './lib/styles/types';
@@ -1,48 +0,0 @@
1
- import { Directive, Input } from '@angular/core';
2
- import { SPACINGALIGN } from '../styles';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "../services/events.service";
5
- export class SpacingHorizontalDirective {
6
- constructor(el, eventService) {
7
- this.el = el;
8
- this.eventService = eventService;
9
- this.positionLayoutChangeCheck();
10
- }
11
- ngOnChanges() {
12
- this.changeHorizontalSpacing();
13
- }
14
- ngOnDestroy() {
15
- if (this.positionLayoutSubscription) {
16
- this.positionLayoutSubscription.unsubscribe();
17
- }
18
- }
19
- changeHorizontalSpacing() {
20
- this.el.nativeElement.style.setProperty("padding-left", window.innerWidth <= 475 ? '1rem' : SPACINGALIGN[this.layout?.spacingHorizontal]);
21
- this.el.nativeElement.style.setProperty("padding-right", window.innerWidth <= 475 ? '1rem' : SPACINGALIGN[this.layout?.spacingHorizontal]);
22
- if (window.innerWidth <= 475) {
23
- this.el.nativeElement.style.setProperty("padding-top", '0rem');
24
- this.el.nativeElement.style.setProperty("padding-bottom", '0rem');
25
- }
26
- }
27
- positionLayoutChangeCheck() {
28
- this.positionLayoutSubscription = this.eventService.postionLayoutChangeChecks.subscribe((res) => {
29
- if (this.el.nativeElement.id === res.id) {
30
- this.layout = res.data;
31
- this.changeHorizontalSpacing();
32
- }
33
- });
34
- }
35
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: SpacingHorizontalDirective, deps: [{ token: i0.ElementRef }, { token: i1.EventsService }], target: i0.ɵɵFactoryTarget.Directive }); }
36
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.4", type: SpacingHorizontalDirective, isStandalone: true, selector: "[spacingHorizontal]", inputs: { layout: ["spacingHorizontal", "layout"] }, usesOnChanges: true, ngImport: i0 }); }
37
- }
38
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImport: i0, type: SpacingHorizontalDirective, decorators: [{
39
- type: Directive,
40
- args: [{
41
- selector: '[spacingHorizontal]',
42
- standalone: true
43
- }]
44
- }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i1.EventsService }], propDecorators: { layout: [{
45
- type: Input,
46
- args: ['spacingHorizontal']
47
- }] } });
48
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3BhY2luZy1ob3Jpem9udGFsLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3NpbXBvLXVpL3NyYy9saWIvZGlyZWN0aXZlL3NwYWNpbmctaG9yaXpvbnRhbC5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtY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Jpem9udGFsU3BhY2luZygpO1xyXG4gICAgICB9XHJcbiAgICB9KVxyXG4gIH1cclxufVxyXG4iXX0=
@@ -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
- }
Binary file