simpo-component-library 3.2.82 → 3.2.84

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 (38) hide show
  1. package/esm2022/lib/directive/button-directive.directive.mjs +2 -2
  2. package/esm2022/lib/ecommerce/sections/authentication-required/authentication-required.component.mjs +3 -3
  3. package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +3 -3
  4. package/esm2022/lib/ecommerce/sections/checkout/checkout.component.mjs +3 -3
  5. package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +3 -3
  6. package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +3 -3
  7. package/esm2022/lib/ecommerce/sections/product-list/product-list.component.mjs +3 -3
  8. package/esm2022/lib/elements/simpo-button/simpo-button.component.mjs +3 -3
  9. package/esm2022/lib/elements/text-editor/text-editor.component.mjs +3 -3
  10. package/esm2022/lib/sections/banner-section/banner-section.component.mjs +3 -3
  11. package/esm2022/lib/sections/contact-us/contact-us.component.mjs +3 -3
  12. package/esm2022/lib/sections/new-services/new-services.component.mjs +135 -0
  13. package/esm2022/lib/sections/new-services/new-services.model.mjs +2 -0
  14. package/esm2022/lib/sections/new-testimonials/new-testimonials.component.mjs +132 -0
  15. package/esm2022/lib/sections/new-testimonials/new-testimonials.model.mjs +2 -0
  16. package/esm2022/lib/sections/pricing-section/pricing-section.component.mjs +3 -3
  17. package/esm2022/lib/sections/property-list/property-list.component.mjs +3 -3
  18. package/esm2022/lib/sections/recent-blog-post-section/recent-blog-post-section.component.mjs +3 -3
  19. package/esm2022/lib/sections/service-section/service-section.component.mjs +3 -3
  20. package/esm2022/lib/sections/service-section/service-section.model.mjs +1 -1
  21. package/esm2022/public-api.mjs +3 -1
  22. package/fesm2022/simpo-component-library.mjs +376 -172
  23. package/fesm2022/simpo-component-library.mjs.map +1 -1
  24. package/lib/components/input-fields/input-fields.component.d.ts +1 -1
  25. package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts +1 -1
  26. package/lib/sections/banner-carousel/banner-carousel.component.d.ts +2 -2
  27. package/lib/sections/carousel-banner/carousel-banner.component.d.ts +1 -1
  28. package/lib/sections/image-section/image-section.component.d.ts +2 -2
  29. package/lib/sections/logo-showcase/logo-showcase.component.d.ts +1 -1
  30. package/lib/sections/new-services/new-services.component.d.ts +30 -0
  31. package/lib/sections/new-services/new-services.model.d.ts +19 -0
  32. package/lib/sections/new-testimonials/new-testimonials.component.d.ts +30 -0
  33. package/lib/sections/new-testimonials/new-testimonials.model.d.ts +19 -0
  34. package/lib/sections/service-section/service-section.model.d.ts +1 -0
  35. package/package.json +1 -1
  36. package/public-api.d.ts +2 -0
  37. package/simpo-component-library-3.2.84.tgz +0 -0
  38. package/simpo-component-library-3.2.82.tgz +0 -0
@@ -13,7 +13,7 @@ export declare class InputFieldsComponent implements OnChanges {
13
13
  constructor(elementRef: ElementRef);
14
14
  ngOnChanges(changes: SimpleChanges): void;
15
15
  handleMoneyInput(event: any): void;
16
- get getTextColor(): "#000" | "#FFF";
16
+ get getTextColor(): "#FFF" | "#000";
17
17
  interpolateColor(color1: string, color2: string, factor: number): string;
18
18
  padZero(str: string, length: number): string;
19
19
  generateColorBasedOnNumber(number: number): string;
@@ -58,7 +58,7 @@ export declare class AuthenticationRequiredComponent extends BaseSection {
58
58
  validateNumber(event: KeyboardEvent): void;
59
59
  validateOTP(event: KeyboardEvent): void;
60
60
  checkStrength(): void;
61
- getStrengthColor(index: number): "tomato" | "#d3d3d3ba" | "orange" | "yellow" | "lightgreen";
61
+ getStrengthColor(index: number): "yellow" | "tomato" | "#d3d3d3ba" | "orange" | "lightgreen";
62
62
  get isEmailValid(): boolean;
63
63
  get isPasswordValid(): boolean;
64
64
  get isMobile(): boolean;
@@ -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.2" | "0.3" | "0.5" | "0.7" | "0";
29
- opacityValue(value: OverlayValue): "0.2" | "0.3" | "0.5" | "0.7" | "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
  static ɵfac: i0.ɵɵFactoryDeclaration<BannerCarouselComponent, never>;
32
32
  static ɵcmp: i0.ɵɵComponentDeclaration<BannerCarouselComponent, "simpo-banner-carousel", 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>;
@@ -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.2" | "0.3" | "0.5" | "0.7" | "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>;
@@ -20,8 +20,8 @@ export declare class ImageSectionComponent extends BaseSection {
20
20
  constructor(_eventService: EventsService);
21
21
  ngOnInit(): void;
22
22
  get canMergeNavbar(): boolean | undefined;
23
- get getBackgroundOpacity(): "0.2" | "0.3" | "0.5" | "0.7" | "1";
24
- opacityValue(value: OverlayValue): "0.2" | "0.3" | "0.5" | "0.7" | "1";
23
+ get getBackgroundOpacity(): "1" | "0.7" | "0.5" | "0.3" | "0.2";
24
+ opacityValue(value: OverlayValue): "1" | "0.7" | "0.5" | "0.3" | "0.2";
25
25
  editSection(): void;
26
26
  redirectTo(): void;
27
27
  static ɵfac: i0.ɵɵFactoryDeclaration<ImageSectionComponent, never>;
@@ -24,7 +24,7 @@ export declare class LogoShowcaseComponent extends BaseSection implements OnInit
24
24
  ngOnInit(): void;
25
25
  get stylesLayout(): LayOutModel;
26
26
  get animationDuration(): logoSpeed;
27
- get animationDirection(): "reverse" | "normal" | logoDirection.Left;
27
+ get animationDirection(): logoDirection.Left | "reverse" | "normal";
28
28
  screenWidth: number;
29
29
  getScreenSize(event?: number): void;
30
30
  editSection(): void;
@@ -0,0 +1,30 @@
1
+ import { NewServicesContentModel, NewServicesModel, NewServicesStylesModel } from './new-services.model';
2
+ import { BackgroundModel, LayOutModel } from '../../styles/style.model';
3
+ import BaseSection from '../BaseSection';
4
+ import { EventsService } from '../../services/events.service';
5
+ import * as i0 from "@angular/core";
6
+ export declare class NewServicesComponent extends BaseSection {
7
+ private _eventService;
8
+ data?: NewServicesModel;
9
+ edit?: boolean;
10
+ delete?: boolean;
11
+ customClass?: string;
12
+ nextComponentColor?: BackgroundModel;
13
+ content?: NewServicesContentModel;
14
+ styles?: NewServicesStylesModel;
15
+ constructor(_eventService: EventsService);
16
+ ngOnInit(): void;
17
+ get stylesLayout(): LayOutModel;
18
+ selectedImage: string | undefined;
19
+ idx: number;
20
+ index: number;
21
+ getImageData(): import("../../styles/style.model").Image | undefined;
22
+ getImageUrl(): string | undefined;
23
+ editSection(): void;
24
+ stopPropagation(event: any): void;
25
+ screenWidth: any;
26
+ getScreenSize(): void;
27
+ getGradientDirection(direction: any): any;
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<NewServicesComponent, never>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<NewServicesComponent, "simpo-new-services", never, { "data": { "alias": "data"; "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>;
30
+ }
@@ -0,0 +1,19 @@
1
+ import { ListItemModal, StylesModel, Image, InputTextModel, ActionModel, BannerStylesModel } from './../../styles/style.model';
2
+ export interface NewServicesModel {
3
+ id: string;
4
+ sectionType: string;
5
+ sectionName: string;
6
+ content: NewServicesContentModel;
7
+ styles: NewServicesStylesModel;
8
+ action: ActionModel;
9
+ }
10
+ export interface NewServicesContentModel {
11
+ inputText: InputTextModel[];
12
+ listItem: ListItemModal<NewServicesItemModel>;
13
+ }
14
+ export interface NewServicesItemModel {
15
+ inputText: InputTextModel[];
16
+ image: Image;
17
+ }
18
+ export interface NewServicesStylesModel extends StylesModel, BannerStylesModel {
19
+ }
@@ -0,0 +1,30 @@
1
+ import { BackgroundModel, LayOutModel } from '../../styles/style.model';
2
+ import BaseSection from '../BaseSection';
3
+ import { EventsService } from '../../services/events.service';
4
+ import { NewTestimonialsContentModel, NewTestimonialsModel, NewTestimonialsStyleModel } from './new-testimonials.model';
5
+ import * as i0 from "@angular/core";
6
+ export declare class NewTestimonialsComponent extends BaseSection {
7
+ private _eventService;
8
+ data?: NewTestimonialsModel;
9
+ edit?: boolean;
10
+ delete?: boolean;
11
+ customClass?: string;
12
+ nextComponentColor?: BackgroundModel;
13
+ index?: number;
14
+ content?: NewTestimonialsContentModel;
15
+ styles?: NewTestimonialsStyleModel;
16
+ constructor(_eventService: EventsService);
17
+ ngOnInit(): void;
18
+ ngAfterViewInit(): void;
19
+ get stylesLayout(): LayOutModel;
20
+ idx: number;
21
+ getImageData(): import("../../styles/style.model").Image | undefined;
22
+ getImageUrl(): string | undefined;
23
+ getImageType(): import("simpo-component-library").FILE_TYPE | undefined;
24
+ editSection(): void;
25
+ stopPropagation(event: any): void;
26
+ screenWidth: any;
27
+ getScreenSize(): void;
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<NewTestimonialsComponent, never>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<NewTestimonialsComponent, "simpo-new-testimonials", never, { "data": { "alias": "data"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, true, never>;
30
+ }
@@ -0,0 +1,19 @@
1
+ import { ListItemModal, StylesModel, Image, InputTextModel, ActionModel, BannerStylesModel } from './../../styles/style.model';
2
+ export interface NewTestimonialsModel {
3
+ id: string;
4
+ sectionType: string;
5
+ sectionName: string;
6
+ content: NewTestimonialsContentModel;
7
+ styles: NewTestimonialsStyleModel;
8
+ action: ActionModel;
9
+ }
10
+ export interface NewTestimonialsContentModel {
11
+ inputText: InputTextModel[];
12
+ listItem: ListItemModal<NewTestimonialsItemModel>;
13
+ }
14
+ export interface NewTestimonialsItemModel {
15
+ inputText: InputTextModel[];
16
+ image: Image;
17
+ }
18
+ export interface NewTestimonialsStyleModel extends StylesModel, BannerStylesModel {
19
+ }
@@ -16,6 +16,7 @@ export interface Display extends DisplaySection {
16
16
  showIcon: boolean;
17
17
  }
18
18
  export interface ServiceStylesModel extends StylesModel, CardStyles {
19
+ direction: "ROW" | "COLUMN";
19
20
  }
20
21
  export interface ServiceItemModal {
21
22
  image: Image;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "3.2.82",
3
+ "version": "3.2.84",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
package/public-api.d.ts CHANGED
@@ -38,6 +38,8 @@ export * from './lib/sections/usp-video-section/usp-video-section.component';
38
38
  export * from './lib/sections/property-list/property-list.component';
39
39
  export * from './lib/sections/footer/footer.component';
40
40
  export * from './lib/sections/header-section/header-section.component';
41
+ export * from './lib/sections/new-testimonials/new-testimonials.component';
42
+ export * from './lib/sections/new-services/new-services.component';
41
43
  export * from './lib/ecommerce/sections/featured-products/featured-products.component';
42
44
  export * from './lib/ecommerce/sections/featured-category/featured-category.component';
43
45
  export * from './lib/ecommerce/sections/product-desc/product-desc.component';
Binary file