simpo-component-library 3.6.332 → 3.6.333
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/sections/header-section/header-section.component.mjs +18 -11
- package/fesm2022/simpo-component-library.mjs +15 -9
- 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 +1 -1
- package/lib/ecommerce/sections/product-list/product-list.component.d.ts +1 -1
- 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/elements/link-editor/link-editor.component.d.ts +1 -1
- package/lib/sections/banner-carousel/banner-carousel.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 -1
- package/lib/sections/header-section/header-section.component.d.ts +4 -2
- 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.333.tgz +0 -0
- package/simpo-component-library-3.6.332.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
|
}
|
@@ -109,7 +109,7 @@ export declare class ProductDescComponent extends BaseSection {
|
|
109
109
|
getDifference(sellingPrice: any, mrp: any): number;
|
110
110
|
getBackgroundColor(type: string): string;
|
111
111
|
getHeaderColor(type: string): string;
|
112
|
-
getTextColor(color: any): "#
|
112
|
+
getTextColor(color: any): "#000000" | "#ffffff";
|
113
113
|
languages: string[];
|
114
114
|
selectedLang: string;
|
115
115
|
getClass(map: any): "col-4" | "col-6" | "col-3" | "width-max";
|
@@ -194,7 +194,7 @@ export declare class ProductListComponent extends BaseSection {
|
|
194
194
|
closeModal(): void;
|
195
195
|
languages: string[];
|
196
196
|
selectedLang: string;
|
197
|
-
getTextColor(color: any): "#
|
197
|
+
getTextColor(color: any): "#000000" | "#ffffff";
|
198
198
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductListComponent, never>;
|
199
199
|
static ɵcmp: i0.ɵɵComponentDeclaration<ProductListComponent, "simpo-product-list", never, { "responseData": { "alias": "responseData"; "required": false; }; "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>;
|
200
200
|
}
|
@@ -33,7 +33,7 @@ export declare class StoreListComponent extends BaseSection {
|
|
33
33
|
showState: boolean;
|
34
34
|
selectedState: string;
|
35
35
|
setStateData(stateData: any): void;
|
36
|
-
getTextColor(bgColor: any): "#
|
36
|
+
getTextColor(bgColor: any): "#000000" | "#ffffff" | "#ffffff;";
|
37
37
|
openWhatsapp(phone: string): void;
|
38
38
|
viewStore(storeId: string): void;
|
39
39
|
getTime(storeHours: any, type: string): any;
|
@@ -17,7 +17,7 @@ export declare class StorePageComponent extends BaseSection {
|
|
17
17
|
storeData: any;
|
18
18
|
loading: boolean;
|
19
19
|
getStoreDetails(storeId: string): void;
|
20
|
-
getTextColor(bgColor: any): "#
|
20
|
+
getTextColor(bgColor: any): "#000000" | "#ffffff" | "#ffffff;";
|
21
21
|
getTime(storeHours: any): string | undefined;
|
22
22
|
removeUnderScore(text: string): string;
|
23
23
|
openWhatsapp(phone: string): void;
|
@@ -30,7 +30,7 @@ export declare class LinkEditorComponent {
|
|
30
30
|
changeButtonStyle(): void;
|
31
31
|
getContrastTextColor(backgroundHex: any): void;
|
32
32
|
backgroundType: string[];
|
33
|
-
setBorderRadius(): "0px" | "
|
33
|
+
setBorderRadius(): "0px" | "99px" | "7px";
|
34
34
|
setBorder(): string;
|
35
35
|
setColor(): any;
|
36
36
|
setBackground(): any;
|
@@ -23,7 +23,7 @@ export declare class BannerCarouselComponent extends BaseSection implements OnIn
|
|
23
23
|
constructor(_eventService: EventsService);
|
24
24
|
ngOnInit(): void;
|
25
25
|
get stylesLayout(): LayOutModel;
|
26
|
-
get getBlurValue(): "
|
26
|
+
get getBlurValue(): "NONE" | "LIGHT" | "MODERATE" | "STRONG" | "VERY_STRONG" | undefined;
|
27
27
|
get getBackgroundColor(): BackgroundModel;
|
28
28
|
get getBackgroundOpacity(): "0" | "0.7" | "0.5" | "0.3" | "0.2";
|
29
29
|
opacityValue(value: OverlayValue): "0" | "0.7" | "0.5" | "0.3" | "0.2";
|
@@ -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
|
getAlignment(): "justify-content-start" | "justify-content-center" | "justify-content-end";
|
33
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<ContactUsComponent, never>;
|
34
34
|
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>;
|
@@ -8,6 +8,7 @@ import { StorageServiceService } from '../../services/storage.service';
|
|
8
8
|
import { Header_Type, ProductCardTheme } from '../../styles/index';
|
9
9
|
import { MovingTextModal } from '../moving-text/moving-text.modal';
|
10
10
|
import { RestService } from '../../services/rest.service';
|
11
|
+
import { StorageLike } from '../../services/storage-like';
|
11
12
|
import * as i0 from "@angular/core";
|
12
13
|
export declare class HeaderSectionComponent implements OnInit {
|
13
14
|
private readonly _eventService;
|
@@ -17,6 +18,7 @@ export declare class HeaderSectionComponent implements OnInit {
|
|
17
18
|
private readonly storageService;
|
18
19
|
private restService;
|
19
20
|
private eventService;
|
21
|
+
private storage;
|
20
22
|
data?: HeaderSectionModel;
|
21
23
|
nextComponent: any;
|
22
24
|
index?: number;
|
@@ -33,7 +35,7 @@ export declare class HeaderSectionComponent implements OnInit {
|
|
33
35
|
theme: typeof ProductCardTheme;
|
34
36
|
HeaderStyling: typeof Header_Type;
|
35
37
|
parentHeight: number;
|
36
|
-
constructor(_eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, matDialog: MatDialog, storageService: StorageServiceService, restService: RestService, eventService: EventsService);
|
38
|
+
constructor(_eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, matDialog: MatDialog, storageService: StorageServiceService, restService: RestService, eventService: EventsService, storage: StorageLike);
|
37
39
|
searchChangeTimeout: any;
|
38
40
|
waitBeforeSearch(): void;
|
39
41
|
searchProducts(): void;
|
@@ -84,7 +86,7 @@ export declare class HeaderSectionComponent implements OnInit {
|
|
84
86
|
get userGender(): import("../../ecommerce/styles/user.modal").GENDER | null;
|
85
87
|
get getNavbarButton(): any[];
|
86
88
|
isScrolled: boolean;
|
87
|
-
setColor(): "#
|
89
|
+
setColor(): "#000000" | "#ffffff";
|
88
90
|
showList: boolean;
|
89
91
|
showCollections: boolean;
|
90
92
|
categoryList: any;
|
@@ -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
|
Binary file
|