simpo-component-library 3.6.120 → 3.6.121
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/product-desc/product-desc.component.mjs +37 -15
- package/fesm2022/simpo-component-library.mjs +38 -17
- 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/new-collection/new-collection.component.d.ts +1 -1
- package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +8 -4
- 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 -1
- package/lib/sections/header-section/header-section.component.d.ts +1 -1
- package/lib/sections/moving-text/moving-text.component.d.ts +1 -1
- package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
- package/package.json +1 -1
- package/simpo-component-library-3.6.121.tgz +0 -0
- package/src/lib/styles/global-styles.css +13 -1
- package/simpo-component-library-3.6.120.tgz +0 -0
@@ -11,7 +11,7 @@ export declare class BackgroundDirective implements OnChanges {
|
|
11
11
|
constructor(el: ElementRef, eventService: EventsService);
|
12
12
|
ngOnDestroy(): void;
|
13
13
|
ngOnChanges(change: SimpleChanges): void;
|
14
|
-
getTextColor(bgColor: string): "#
|
14
|
+
getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<BackgroundDirective, never>;
|
16
16
|
static ɵdir: i0.ɵɵDirectiveDeclaration<BackgroundDirective, "[simpoBackground]", never, { "simpoBackground": { "alias": "simpoBackground"; "required": false; }; "scrollValue": { "alias": "scrollValue"; "required": false; }; }, {}, never, never, true, never>;
|
17
17
|
}
|
@@ -16,7 +16,7 @@ export declare class ButtonDirectiveDirective implements OnChanges {
|
|
16
16
|
applyButtonStyleChanges(): void;
|
17
17
|
applyButtonType(style: ButtonStyleModel, backgroundInfo?: BackgroundModel): void;
|
18
18
|
applyButtonShape(style: ButtonStyleModel): void;
|
19
|
-
getTextColor(bgColor: string): "#
|
19
|
+
getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
|
20
20
|
buttonStyleSubscription?: Subscription;
|
21
21
|
buttonStyleChangeCheck(): void;
|
22
22
|
changeButtonStyle(id: any, style: ButtonStyleModel, backgroundInfo: BackgroundModel): void;
|
@@ -12,7 +12,7 @@ export declare class ColorDirective implements OnChanges {
|
|
12
12
|
ngOnDestroy(): void;
|
13
13
|
applyColor(): void;
|
14
14
|
bgColorChangeCheck(): void;
|
15
|
-
getTextColor(): "#
|
15
|
+
getTextColor(): "#000000" | "#ffffff" | "#ffffff;";
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<ColorDirective, never>;
|
17
17
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ColorDirective, "[simpoColor]", never, { "bgColor": { "alias": "simpoColor"; "required": false; }; }, {}, never, never, true, never>;
|
18
18
|
}
|
@@ -30,7 +30,7 @@ export declare class NewCollectionComponent extends BaseSection {
|
|
30
30
|
get getDirection(): "ROW" | "COLUMN" | undefined;
|
31
31
|
get isMobile(): boolean;
|
32
32
|
editSection(): void;
|
33
|
-
getColor(color: any): "#
|
33
|
+
getColor(color: any): "#000000" | "#ffffff";
|
34
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<NewCollectionComponent, never>;
|
35
35
|
static ɵcmp: i0.ɵɵComponentDeclaration<NewCollectionComponent, "simpo-new-collection", never, { "data": { "alias": "data"; "required": false; }; "responseData": { "alias": "responseData"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
|
36
36
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ElementRef, Renderer2 } from '@angular/core';
|
1
|
+
import { ElementRef, Renderer2, TemplateRef } from '@angular/core';
|
2
2
|
import { ProductDescModal, ProductDescStylesModal } from './product-desc.modal';
|
3
3
|
import { ItemImage, ItemVariant, Product } from '../../styles/product.modal';
|
4
4
|
import { BackgroundModel, ButtonModel } from '../../../styles/style.model';
|
@@ -11,6 +11,7 @@ import { FeaturedProductModal } from '../featured-products/featured-products.mod
|
|
11
11
|
import { StorageServiceService } from '../../../services/storage.service';
|
12
12
|
import { MenuItem, MessageService } from 'primeng/api';
|
13
13
|
import { Meta, Title } from '@angular/platform-browser';
|
14
|
+
import { MatDialog } from '@angular/material/dialog';
|
14
15
|
import { MatBottomSheet } from '@angular/material/bottom-sheet';
|
15
16
|
import { CustomerReviewComponent } from '../../sections/customer-review/customer-review.component';
|
16
17
|
import * as i0 from "@angular/core";
|
@@ -27,6 +28,7 @@ export declare class ProductDescComponent extends BaseSection {
|
|
27
28
|
private readonly titleService;
|
28
29
|
private readonly bottomSheet;
|
29
30
|
private renderer;
|
31
|
+
private matDialog;
|
30
32
|
reviewComponent: CustomerReviewComponent;
|
31
33
|
d2: ElementRef;
|
32
34
|
data?: ProductDescModal;
|
@@ -45,7 +47,7 @@ export declare class ProductDescComponent extends BaseSection {
|
|
45
47
|
productReview: number;
|
46
48
|
totalReview: number;
|
47
49
|
showReview: boolean;
|
48
|
-
constructor(platformId: Object, _eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, restService: RestService, cartService: CartService, storageService: StorageServiceService, messageService: MessageService, metaTagService: Meta, titleService: Title, bottomSheet: MatBottomSheet, renderer: Renderer2);
|
50
|
+
constructor(platformId: Object, _eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, restService: RestService, cartService: CartService, storageService: StorageServiceService, messageService: MessageService, metaTagService: Meta, titleService: Title, bottomSheet: MatBottomSheet, renderer: Renderer2, matDialog: MatDialog);
|
49
51
|
buttonId?: string;
|
50
52
|
button?: ButtonModel;
|
51
53
|
styles?: ProductDescStylesModal;
|
@@ -99,10 +101,10 @@ export declare class ProductDescComponent extends BaseSection {
|
|
99
101
|
getDifference(sellingPrice: any, mrp: any): number;
|
100
102
|
getBackgroundColor(type: string): "#FFF4D1" | "#EFE1F4" | "linear-gradient(180deg, #FAFAFA 0%, #FFFFFF 100%)" | "#e2f6ff";
|
101
103
|
getHeaderColor(type: string): "#FDCD33" | "#9D43B8" | "linear-gradient(180deg, #BDBDBD 0%, #E2E2E2 100%)" | "linear-gradient(159deg, rgba(65,105,225,1) 0%, rgba(137,207,240,1) 100%)";
|
102
|
-
getTextColor(color: any): "#
|
104
|
+
getTextColor(color: any): "#000000" | "#ffffff";
|
103
105
|
languages: string[];
|
104
106
|
selectedLang: string;
|
105
|
-
getClass(map: any): "col-
|
107
|
+
getClass(map: any): "col-6" | "col-4" | "col-3" | "width-max";
|
106
108
|
onFindInStore(): void;
|
107
109
|
onBookAppointment(): void;
|
108
110
|
isDetails: boolean;
|
@@ -125,6 +127,8 @@ export declare class ProductDescComponent extends BaseSection {
|
|
125
127
|
closeModal(): void;
|
126
128
|
getButtonId(index: number): string;
|
127
129
|
getButtonStyle(index: number): import("../../../styles/style.model").ButtonStyleModel | undefined;
|
130
|
+
opendailogbox(template: TemplateRef<HTMLDivElement>): void;
|
131
|
+
closeDialog(): void;
|
128
132
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductDescComponent, never>;
|
129
133
|
static ɵcmp: i0.ɵɵComponentDeclaration<ProductDescComponent, "simpo-product-desc", never, { "data": { "alias": "data"; "required": false; }; "responseData": { "alias": "responseData"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
|
130
134
|
}
|
@@ -27,7 +27,7 @@ export declare class BannerGridSectionComponent extends BaseSection implements O
|
|
27
27
|
get spacingLayout(): SpacingModel;
|
28
28
|
get alignmentLayout(): import("simpo-component-library").ALIGN | undefined;
|
29
29
|
get fitLayout(): import("simpo-component-library").FIT | undefined;
|
30
|
-
getTextColor(bgColor: string): "#
|
30
|
+
getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
|
31
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<BannerGridSectionComponent, never>;
|
32
32
|
static ɵcmp: i0.ɵɵComponentDeclaration<BannerGridSectionComponent, "simpo-banner-grid-section", never, { "data": { "alias": "data"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "index": { "alias": "index"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
|
33
33
|
}
|
@@ -28,7 +28,7 @@ export declare class ContactUsComponent extends BaseSection implements OnInit {
|
|
28
28
|
editSection(): void;
|
29
29
|
canShowContactField(field: any): any;
|
30
30
|
getCardStyle(): {};
|
31
|
-
getTextColor(bgColor: string): "#
|
31
|
+
getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
|
32
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<ContactUsComponent, never>;
|
33
33
|
static ɵcmp: i0.ɵɵComponentDeclaration<ContactUsComponent, "simpo-contact-us", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
|
34
34
|
}
|
@@ -71,7 +71,7 @@ export declare class HeaderSectionComponent implements OnInit {
|
|
71
71
|
get userGender(): import("../../ecommerce/styles/user.modal").GENDER | null;
|
72
72
|
get getNavbarButton(): any[];
|
73
73
|
isScrolled: boolean;
|
74
|
-
setColor(): "#
|
74
|
+
setColor(): "#000000" | "#ffffff";
|
75
75
|
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderSectionComponent, never>;
|
76
76
|
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderSectionComponent, "simpo-header-section", never, { "data": { "alias": "data"; "required": false; }; "nextComponent": { "alias": "nextComponent"; "required": false; }; "index": { "alias": "index"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; }, {}, never, never, true, never>;
|
77
77
|
}
|
@@ -22,7 +22,7 @@ export declare class MovingTextComponent extends BaseSection {
|
|
22
22
|
private transitionToNext;
|
23
23
|
isItemVisible(index: number): boolean;
|
24
24
|
getItemClass(index: number): string;
|
25
|
-
getTextColor(bgColor: string): "#
|
25
|
+
getTextColor(bgColor: string): "#000000" | "#ffffff";
|
26
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<MovingTextComponent, never>;
|
27
27
|
static ɵcmp: i0.ɵɵComponentDeclaration<MovingTextComponent, "simpo-moving-text", never, { "data": { "alias": "data"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, true, never>;
|
28
28
|
}
|
@@ -18,7 +18,7 @@ export declare class PricingSectionComponent extends BaseSection {
|
|
18
18
|
constructor(_eventService: EventsService);
|
19
19
|
ngOnInit(): void;
|
20
20
|
get stylesLayout(): LayOutModel;
|
21
|
-
getTextColor(): "#
|
21
|
+
getTextColor(): "#000000" | "#ffffff";
|
22
22
|
get headingSpace(): SPACING;
|
23
23
|
getButtonId(): string;
|
24
24
|
editSection(): void;
|
package/package.json
CHANGED
Binary file
|
@@ -183,8 +183,9 @@
|
|
183
183
|
width: 100% !important;
|
184
184
|
max-width: 100% !important;
|
185
185
|
}
|
186
|
+
|
186
187
|
.address-class {
|
187
|
-
|
188
|
+
width: 100vw;
|
188
189
|
}
|
189
190
|
|
190
191
|
}
|
@@ -213,9 +214,20 @@
|
|
213
214
|
.hover-effect:hover {
|
214
215
|
box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
|
215
216
|
}
|
217
|
+
|
216
218
|
.sidepanel-class {
|
217
219
|
position: absolute !important;
|
218
220
|
right: 0px;
|
219
221
|
top: 0px;
|
220
222
|
height: 100vh;
|
223
|
+
}
|
224
|
+
|
225
|
+
.video-call-dialog {
|
226
|
+
width: 55% !important;
|
227
|
+
height: 75vh !important;
|
228
|
+
border-radius: 18px !important;
|
229
|
+
|
230
|
+
.mat-mdc-dialog-surface {
|
231
|
+
border-radius: 22px !important;
|
232
|
+
}
|
221
233
|
}
|
Binary file
|