simpo-component-library 3.6.495 → 3.6.497
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/letters-only.directive.mjs +28 -0
- package/esm2022/lib/directive/numbers-only.directive.mjs +28 -0
- package/esm2022/lib/ecommerce/sections/featured-category/featured-category.component.mjs +4 -4
- package/esm2022/lib/ecommerce/sections/featured-category/featured-collection.component.mjs +4 -4
- package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +9 -9
- package/esm2022/lib/ecommerce/sections/new-collection/new-collection.component.mjs +4 -4
- package/esm2022/lib/ecommerce/sections/returns-calculator/returns-calculator.component.mjs +5 -5
- package/esm2022/lib/sections/appointment-form/appointment-booking/appointment-booking/appointment-booking.component.mjs +71 -24
- package/esm2022/lib/services/rest.service.mjs +3 -2
- package/fesm2022/simpo-component-library.mjs +135 -41
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/directive/letters-only.directive.d.ts +9 -0
- package/lib/directive/numbers-only.directive.d.ts +9 -0
- package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts +1 -1
- package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +1 -1
- package/lib/ecommerce/sections/schemes/schemes.component.d.ts +1 -1
- package/lib/elements/pricing-s1/pricing-s1.component.d.ts +1 -1
- package/lib/sections/appointment-form/appointment-booking/appointment-booking/appointment-booking.component.d.ts +18 -3
- package/lib/sections/banner-carousel/banner-carousel.component.d.ts +2 -2
- package/lib/sections/carousel-banner/carousel-banner.component.d.ts +1 -1
- package/lib/sections/contact-us/contact-us.component.d.ts +1 -1
- package/lib/sections/faq-section/faq-section.component.d.ts +1 -1
- package/lib/sections/image-section/image-section.component.d.ts +2 -2
- package/lib/sections/logo-showcase/logo-showcase.component.d.ts +2 -2
- package/lib/sections/new-testimonials/new-testimonials.component.d.ts +1 -1
- package/lib/sections/pricing-section/pricing-section.component.d.ts +2 -2
- package/package.json +1 -1
- package/simpo-component-library-3.6.497.tgz +0 -0
- package/src/lib/styles/global-styles.css +0 -30
- package/simpo-component-library-3.6.495.tgz +0 -0
@@ -0,0 +1,9 @@
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export declare class LettersOnlyDirective {
|
4
|
+
private el;
|
5
|
+
constructor(el: ElementRef);
|
6
|
+
onInputChange(event: Event): void;
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LettersOnlyDirective, never>;
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LettersOnlyDirective, "[simpoLettersOnly]", never, {}, {}, never, never, true, never>;
|
9
|
+
}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export declare class NumbersOnlyDirective {
|
4
|
+
private el;
|
5
|
+
constructor(el: ElementRef);
|
6
|
+
onInputChange(event: Event): void;
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NumbersOnlyDirective, never>;
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NumbersOnlyDirective, "[simpoNumbersOnly]", never, {}, {}, never, never, true, never>;
|
9
|
+
}
|
package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts
CHANGED
@@ -64,7 +64,7 @@ export declare class AuthenticationRequiredComponent extends BaseSection {
|
|
64
64
|
validateNumber(event: KeyboardEvent): void;
|
65
65
|
validateOTP(event: KeyboardEvent): void;
|
66
66
|
checkStrength(): void;
|
67
|
-
getStrengthColor(index: number): "
|
67
|
+
getStrengthColor(index: number): "yellow" | "tomato" | "#d3d3d3ba" | "orange" | "lightgreen";
|
68
68
|
emailDebounceTimer: any;
|
69
69
|
onEmailChange(): void;
|
70
70
|
emailCheck: boolean;
|
@@ -114,7 +114,7 @@ export declare class ProductDescComponent extends BaseSection {
|
|
114
114
|
getTextColor(color: any): "#000000" | "#ffffff";
|
115
115
|
languages: string[];
|
116
116
|
selectedLang: string;
|
117
|
-
getClass(map: any): "col-
|
117
|
+
getClass(map: any): "col-4" | "col-6" | "col-3" | "width-max";
|
118
118
|
onFindInStore(id: string): void;
|
119
119
|
onBookAppointment(): void;
|
120
120
|
isDetails: boolean;
|
@@ -21,7 +21,7 @@ export declare class SchemesComponent extends BaseSection {
|
|
21
21
|
get stylesLayout(): LayOutModel;
|
22
22
|
get spacingLayout(): SpacingModel;
|
23
23
|
getParentClass(): "" | "overflow-scroll flex-nowrap";
|
24
|
-
getClass(index: number): "col-12" | "col-6
|
24
|
+
getClass(index: number): "col-12" | "col-6" | "col-6 mb-2" | "col-12 mb-2";
|
25
25
|
showSchemeDetails(scheme: any): void;
|
26
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<SchemesComponent, never>;
|
27
27
|
static ɵcmp: i0.ɵɵComponentDeclaration<SchemesComponent, "simpo-schemes", never, { "data": { "alias": "data"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, true, never>;
|
@@ -15,7 +15,7 @@ export declare class PricingS1Component extends BaseSection {
|
|
15
15
|
editSection(): void;
|
16
16
|
getButtonId(): string;
|
17
17
|
redirectTo(): void;
|
18
|
-
getClass(): "col-
|
18
|
+
getClass(): "col-4" | "col-12" | "col-5";
|
19
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<PricingS1Component, never>;
|
20
20
|
static ɵcmp: i0.ɵɵComponentDeclaration<PricingS1Component, "simpo-pricing-s1", never, { "data": { "alias": "data"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; }, {}, never, never, true, never>;
|
21
21
|
}
|
@@ -1,13 +1,27 @@
|
|
1
1
|
import { RestService } from '../../../../services/rest.service';
|
2
2
|
import { EventsService } from '../../../../services/events.service';
|
3
3
|
import { Router } from '@angular/router';
|
4
|
+
import { BannerContentModel, BannerSectionModel } from '../../appointment-form.model';
|
5
|
+
import { BackgroundModel, BannerStylesModel } from '../../../../styles/style.model';
|
6
|
+
import { MessageService } from 'primeng/api';
|
4
7
|
import * as i0 from "@angular/core";
|
5
8
|
export declare class AppointmentBookingComponent {
|
6
9
|
private restService;
|
7
10
|
private _eventService;
|
8
11
|
private readonly router;
|
9
|
-
|
12
|
+
private readonly messageService;
|
13
|
+
constructor(restService: RestService, _eventService: EventsService, router: Router, messageService: MessageService);
|
14
|
+
data?: BannerSectionModel;
|
15
|
+
index?: number;
|
16
|
+
content?: BannerContentModel;
|
17
|
+
edit?: boolean;
|
18
|
+
delete?: boolean;
|
19
|
+
customClass?: string;
|
20
|
+
nextComponentColor?: BackgroundModel;
|
21
|
+
styles?: BannerStylesModel;
|
10
22
|
ngOnInit(): void;
|
23
|
+
screenWidth: number;
|
24
|
+
getScreenSize(): void;
|
11
25
|
closeOnOutsideClick(): void;
|
12
26
|
accessedTabs: {
|
13
27
|
serviceListing: boolean;
|
@@ -32,8 +46,9 @@ export declare class AppointmentBookingComponent {
|
|
32
46
|
email: string;
|
33
47
|
mobileNumber: string;
|
34
48
|
};
|
49
|
+
dateFilter: (d: Date | null) => boolean;
|
35
50
|
toggleCalendar(event?: Event): void;
|
36
|
-
onDateSelected(date:
|
51
|
+
onDateSelected(date: any): void;
|
37
52
|
private formatDate;
|
38
53
|
selectService(service: any): void;
|
39
54
|
selectLocation(location: any): void;
|
@@ -63,5 +78,5 @@ export declare class AppointmentBookingComponent {
|
|
63
78
|
paymentBookingAppointment(): void;
|
64
79
|
goBack(): void;
|
65
80
|
static ɵfac: i0.ɵɵFactoryDeclaration<AppointmentBookingComponent, never>;
|
66
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AppointmentBookingComponent, "simpo-appointment-booking", never, {}, {}, never, never, true, never>;
|
81
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AppointmentBookingComponent, "simpo-appointment-booking", 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>;
|
67
82
|
}
|
@@ -25,8 +25,8 @@ export declare class BannerCarouselComponent extends BaseSection implements OnIn
|
|
25
25
|
get stylesLayout(): LayOutModel;
|
26
26
|
get getBlurValue(): "NONE" | "LIGHT" | "MODERATE" | "STRONG" | "VERY_STRONG" | undefined;
|
27
27
|
get getBackgroundColor(): BackgroundModel;
|
28
|
-
get getBackgroundOpacity(): "0
|
29
|
-
opacityValue(value: OverlayValue): "0
|
28
|
+
get getBackgroundOpacity(): "0" | "0.7" | "0.5" | "0.3" | "0.2";
|
29
|
+
opacityValue(value: OverlayValue): "0" | "0.7" | "0.5" | "0.3" | "0.2";
|
30
30
|
editSection(): void;
|
31
31
|
getScreenSize(): number;
|
32
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<BannerCarouselComponent, never>;
|
@@ -25,7 +25,7 @@ export declare class CarouselBannerComponent extends BaseSection implements OnIn
|
|
25
25
|
get canMergeNavbar(): boolean | undefined;
|
26
26
|
get isBorderlessImage(): boolean | undefined;
|
27
27
|
get getPositionLayout(): PositionLayoutModal;
|
28
|
-
opacityValue(value: OverlayValue): "0
|
28
|
+
opacityValue(value: OverlayValue): "0" | "0.7" | "0.5" | "0.3" | "0.2";
|
29
29
|
editSection(): void;
|
30
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<CarouselBannerComponent, never>;
|
31
31
|
static ɵcmp: i0.ɵɵComponentDeclaration<CarouselBannerComponent, "simpo-carousel-banner", 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>;
|
@@ -29,7 +29,7 @@ export declare class ContactUsComponent extends BaseSection implements OnInit {
|
|
29
29
|
canShowContactField(field: any): any;
|
30
30
|
getCardStyle(): {};
|
31
31
|
getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
|
32
|
-
getAlignment(): "justify-content-start" | "justify-content-
|
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>;
|
35
35
|
}
|
@@ -23,7 +23,7 @@ export declare class FaqSectionComponent extends BaseSection {
|
|
23
23
|
toggleContent(idx: number): void;
|
24
24
|
editSection(): void;
|
25
25
|
getScreenSize(): void;
|
26
|
-
getLayout(): "justify-content-start" | "justify-content-
|
26
|
+
getLayout(): "justify-content-start" | "justify-content-center" | "justify-content-end";
|
27
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<FaqSectionComponent, never>;
|
28
28
|
static ɵcmp: i0.ɵɵComponentDeclaration<FaqSectionComponent, "simpo-faq-section", 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>;
|
29
29
|
}
|
@@ -20,9 +20,9 @@ export declare class ImageSectionComponent extends BaseSection {
|
|
20
20
|
constructor(_eventService: EventsService);
|
21
21
|
ngOnInit(): void;
|
22
22
|
get canMergeNavbar(): boolean | undefined;
|
23
|
-
get getBackgroundOpacity(): "
|
23
|
+
get getBackgroundOpacity(): "1" | "0.7" | "0.5" | "0.3" | "0.2";
|
24
24
|
get stylesLayout(): LayOutModel;
|
25
|
-
opacityValue(value: OverlayValue): "
|
25
|
+
opacityValue(value: OverlayValue): "1" | "0.7" | "0.5" | "0.3" | "0.2";
|
26
26
|
editSection(): void;
|
27
27
|
redirectTo(): void;
|
28
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImageSectionComponent, never>;
|
@@ -23,8 +23,8 @@ export declare class LogoShowcaseComponent extends BaseSection implements OnInit
|
|
23
23
|
constructor(_eventService: EventsService);
|
24
24
|
ngOnInit(): void;
|
25
25
|
get stylesLayout(): LayOutModel;
|
26
|
-
get animationDuration(): "
|
27
|
-
get animationDirection(): "reverse" | "normal"
|
26
|
+
get animationDuration(): "3s" | "4s" | logoSpeed.Normal | "6s" | "5s";
|
27
|
+
get animationDirection(): logoDirection.Left | "reverse" | "normal";
|
28
28
|
get isMobile(): boolean;
|
29
29
|
get getPositionLayout(): PositionLayoutModal;
|
30
30
|
screenWidth: number;
|
@@ -24,7 +24,7 @@ export declare class NewTestimonialsComponent extends BaseSection {
|
|
24
24
|
idx: number;
|
25
25
|
getImageData(): import("../../styles/style.model").Image | undefined;
|
26
26
|
getImageUrl(): string | undefined;
|
27
|
-
getImageType(): "
|
27
|
+
getImageType(): "Image" | "Video";
|
28
28
|
getLength(): number;
|
29
29
|
editSection(): void;
|
30
30
|
stopPropagation(event: any): void;
|
@@ -23,8 +23,8 @@ export declare class PricingSectionComponent extends BaseSection {
|
|
23
23
|
getButtonId(): string;
|
24
24
|
editSection(): void;
|
25
25
|
redirectTo(): void;
|
26
|
-
getClass(): "col-
|
27
|
-
getAlignment(): "justify-content-start" | "justify-content-
|
26
|
+
getClass(): "col-4" | "col-12" | "col-6" | "col-3";
|
27
|
+
getAlignment(): "justify-content-start" | "justify-content-center" | "justify-content-end";
|
28
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<PricingSectionComponent, never>;
|
29
29
|
static ɵcmp: i0.ɵɵComponentDeclaration<PricingSectionComponent, "simpo-pricing-section", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
|
30
30
|
}
|
package/package.json
CHANGED
Binary file
|
@@ -277,34 +277,4 @@
|
|
277
277
|
-webkit-box-orient: vertical;
|
278
278
|
text-overflow: ellipsis !important;
|
279
279
|
/* word-break: break-all; */
|
280
|
-
}
|
281
|
-
|
282
|
-
.name-mobile {
|
283
|
-
.mat-mdc-form-field-infix {
|
284
|
-
input {
|
285
|
-
font-family: var(--website-font-family) !important;
|
286
|
-
}
|
287
|
-
}
|
288
|
-
|
289
|
-
.mat-mdc-select-min-line {
|
290
|
-
font-family: var(--website-font-family) !important;
|
291
|
-
}
|
292
|
-
|
293
|
-
.mat-mdc-select-placeholder {
|
294
|
-
font-family: var(--website-font-family) !important;
|
295
|
-
}
|
296
|
-
}
|
297
|
-
|
298
|
-
.mat-mdc-option {
|
299
|
-
.mdc-list-item__primary-text {
|
300
|
-
font-family: var(--website-font-family) !important;
|
301
|
-
}
|
302
|
-
}
|
303
|
-
|
304
|
-
.full-message-section {
|
305
|
-
.mat-mdc-form-field-infix {
|
306
|
-
input {
|
307
|
-
font-family: var(--website-font-family) !important;
|
308
|
-
}
|
309
|
-
}
|
310
280
|
}
|
Binary file
|