simpo-component-library 3.6.804 → 3.6.805

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/ecommerce/sections/authentication-required/authentication-required.component.mjs +3 -3
  2. package/esm2022/lib/elements/add-section/add-section.component.mjs +79 -13
  3. package/esm2022/lib/elements/below-image-card/below-image-card.component.mjs +27 -4
  4. package/esm2022/lib/sections/feature-experience-section/feature-experience-section.component.mjs +105 -0
  5. package/esm2022/lib/sections/feature-experience-section/feature-experience-section.modal.mjs +2 -0
  6. package/esm2022/lib/sections/header-section/header-section.component.mjs +3 -3
  7. package/esm2022/lib/sections/process-section/process-section.component.mjs +5 -3
  8. package/esm2022/lib/sections/service-section/service-section.component.mjs +4 -4
  9. package/esm2022/lib/sections/service-section/service-section.model.mjs +1 -1
  10. package/esm2022/lib/sections/team-member-section/team-member-section.component.mjs +2 -2
  11. package/esm2022/lib/sections/video-carousel-section/video-carousel-section.component.mjs +3 -3
  12. package/esm2022/lib/sections/video-carousel-section/video-carousel.model.mjs +1 -1
  13. package/esm2022/public-api.mjs +2 -1
  14. package/fesm2022/simpo-component-library.mjs +198 -28
  15. package/fesm2022/simpo-component-library.mjs.map +1 -1
  16. package/lib/components/input-fields/input-fields.component.d.ts +1 -1
  17. package/lib/ecommerce/sections/featured-category/featured-category.component.d.ts +1 -1
  18. package/lib/ecommerce/sections/featured-category/featured-collection.component.d.ts +1 -1
  19. package/lib/ecommerce/sections/new-collection/new-collection.component.d.ts +1 -1
  20. package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +1 -1
  21. package/lib/elements/add-section/add-section.component.d.ts +12 -0
  22. package/lib/elements/below-image-card/below-image-card.component.d.ts +9 -1
  23. package/lib/elements/link-editor/link-editor.component.d.ts +1 -1
  24. package/lib/elements/pricing-s1/pricing-s1.component.d.ts +1 -1
  25. package/lib/sections/banner-carousel/banner-carousel.component.d.ts +2 -2
  26. package/lib/sections/carousel-banner/carousel-banner.component.d.ts +1 -1
  27. package/lib/sections/feature-experience-section/feature-experience-section.component.d.ts +29 -0
  28. package/lib/sections/feature-experience-section/feature-experience-section.modal.d.ts +24 -0
  29. package/lib/sections/image-grid-hotspot/image-grid-hotspot.component.d.ts +1 -1
  30. package/lib/sections/image-grid-section/image-grid-section.component.d.ts +1 -1
  31. package/lib/sections/image-section/image-section.component.d.ts +2 -2
  32. package/lib/sections/logo-showcase/logo-showcase.component.d.ts +2 -2
  33. package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
  34. package/lib/sections/service-section/service-section.model.d.ts +2 -1
  35. package/package.json +1 -1
  36. package/public-api.d.ts +1 -0
  37. package/simpo-component-library-3.6.805.tgz +0 -0
  38. package/simpo-component-library-3.6.804.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;
@@ -37,7 +37,7 @@ export declare class FeaturedCategoryComponent extends BaseSection {
37
37
  get getDirection(): "ROW" | "COLUMN" | undefined;
38
38
  get stylesLayout(): LayOutModel;
39
39
  get isMobile(): boolean;
40
- getJustifyContent(): import("simpo-component-library").ALIGN | "" | "flex-start";
40
+ getJustifyContent(): "" | import("simpo-component-library").ALIGN | "flex-start";
41
41
  static ɵfac: i0.ɵɵFactoryDeclaration<FeaturedCategoryComponent, never>;
42
42
  static ɵcmp: i0.ɵɵComponentDeclaration<FeaturedCategoryComponent, "simpo-featured-category", 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>;
43
43
  }
@@ -32,7 +32,7 @@ export declare class FeaturedCollectionComponent extends BaseSection {
32
32
  get getDirection(): "ROW" | "COLUMN" | undefined;
33
33
  get isMobile(): boolean;
34
34
  editSection(): void;
35
- getJustifyContent(): import("simpo-component-library").ALIGN | "" | "flex-start";
35
+ getJustifyContent(): "" | import("simpo-component-library").ALIGN | "flex-start";
36
36
  static ɵfac: i0.ɵɵFactoryDeclaration<FeaturedCollectionComponent, never>;
37
37
  static ɵcmp: i0.ɵɵComponentDeclaration<FeaturedCollectionComponent, "simpo-featured-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>;
38
38
  }
@@ -33,7 +33,7 @@ export declare class NewCollectionComponent extends BaseSection {
33
33
  get isMobile(): boolean;
34
34
  editSection(): void;
35
35
  getColor(color: any): "#000000" | "#ffffff";
36
- getJustifyContent(): import("simpo-component-library").ALIGN | "" | "flex-start";
36
+ getJustifyContent(): "" | import("simpo-component-library").ALIGN | "flex-start";
37
37
  static ɵfac: i0.ɵɵFactoryDeclaration<NewCollectionComponent, never>;
38
38
  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>;
39
39
  }
@@ -119,7 +119,7 @@ export declare class ProductDescComponent extends BaseSection {
119
119
  getTextColor(color: any): "#000000" | "#ffffff";
120
120
  languages: string[];
121
121
  selectedLang: string;
122
- getClass(map: any): "col-6" | "col-4" | "col-3" | "width-max";
122
+ getClass(map: any): "col-4" | "col-6" | "col-3" | "width-max";
123
123
  onFindInStore(id: string): void;
124
124
  onBookAppointment(): void;
125
125
  isDetails: boolean;
@@ -25,6 +25,18 @@ export declare class AddSectionComponent {
25
25
  loader: boolean;
26
26
  tabShiftLoader: boolean;
27
27
  referEarnExist: boolean;
28
+ expandedCategories: {
29
+ [key: string]: boolean;
30
+ };
31
+ selectedComponent: any;
32
+ categoryEmojiMap: {
33
+ [key: string]: string;
34
+ };
35
+ getCategoryEmoji(category: string): string;
36
+ getFirstSectionName(category: string): string;
37
+ toggleCategory(category: string): void;
38
+ selectComponent(sec: any, category: string): void;
39
+ selectComponentAndHighlight(ele: any): void;
28
40
  selectSection(ele: any): void;
29
41
  getAllSections(): void;
30
42
  checkAppInstalled(): void;
@@ -9,8 +9,16 @@ export declare class BelowImageCardComponent {
9
9
  componentId?: string;
10
10
  button?: ButtonModel;
11
11
  edit?: boolean;
12
+ positionLayout?: string;
13
+ allContents: any[];
14
+ currentIndex: number;
15
+ counter: number;
12
16
  constructor(_eventService: EventsService);
17
+ static counter: number;
13
18
  ngOnInit(): void;
19
+ getNextIndex(): number;
20
+ getGlassyBackground(color: any): string;
21
+ hexToRgb(hex: string): string;
14
22
  redirectTo(): void;
15
23
  get getAspectRatio(): any;
16
24
  getContentAnimation(): {
@@ -22,5 +30,5 @@ export declare class BelowImageCardComponent {
22
30
  getBackground(): any;
23
31
  get getIconBackground(): any;
24
32
  static ɵfac: i0.ɵɵFactoryDeclaration<BelowImageCardComponent, never>;
25
- static ɵcmp: i0.ɵɵComponentDeclaration<BelowImageCardComponent, "simpo-below-image-card", never, { "data": { "alias": "data"; "required": false; }; "styles": { "alias": "styles"; "required": false; }; "content": { "alias": "content"; "required": false; }; "componentId": { "alias": "componentId"; "required": false; }; "button": { "alias": "button"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; }, {}, never, never, true, never>;
33
+ static ɵcmp: i0.ɵɵComponentDeclaration<BelowImageCardComponent, "simpo-below-image-card", never, { "data": { "alias": "data"; "required": false; }; "styles": { "alias": "styles"; "required": false; }; "content": { "alias": "content"; "required": false; }; "componentId": { "alias": "componentId"; "required": false; }; "button": { "alias": "button"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "positionLayout": { "alias": "positionLayout"; "required": false; }; }, {}, never, never, true, never>;
26
34
  }
@@ -31,7 +31,7 @@ export declare class LinkEditorComponent {
31
31
  changeButtonStyle(): void;
32
32
  getContrastTextColor(backgroundHex: any): void;
33
33
  backgroundType: string[];
34
- setBorderRadius(): "0px" | "7px" | "99px";
34
+ setBorderRadius(): "0px" | "99px" | "7px";
35
35
  setBorder(): string;
36
36
  setColor(): any;
37
37
  setBackground(): any;
@@ -15,7 +15,7 @@ export declare class PricingS1Component extends BaseSection {
15
15
  editSection(): void;
16
16
  getButtonId(): string;
17
17
  redirectTo(data: any): void;
18
- getClass(): "col-12" | "col-4" | "col-5";
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
  }
@@ -33,8 +33,8 @@ export declare class BannerCarouselComponent extends BaseSection implements OnIn
33
33
  get stylesLayout(): LayOutModel;
34
34
  get getBlurValue(): "NONE" | "LIGHT" | "MODERATE" | "STRONG" | "VERY_STRONG" | undefined;
35
35
  get getBackgroundColor(): BackgroundModel;
36
- get getBackgroundOpacity(): "0.5" | "0.7" | "0" | "0.6" | "0.8" | "1";
37
- opacityValue(value: OverlayValue): "0.5" | "0.7" | "0.6" | "0.8" | "1";
36
+ get getBackgroundOpacity(): "1" | "0" | "0.7" | "0.5" | "0.6" | "0.8";
37
+ opacityValue(value: OverlayValue): "1" | "0.7" | "0.5" | "0.6" | "0.8";
38
38
  editSection(): void;
39
39
  getScreenSize(): number;
40
40
  getSectionMinHeight(): string;
@@ -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>;
@@ -0,0 +1,29 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { EventsService } from './../../services/events.service';
3
+ import BaseSection from '../BaseSection';
4
+ import { BackgroundModel, LayOutModel } from '../../styles/style.model';
5
+ import { ProcessSectionContentModel, ProcessSectionModel, ProcessSectionStylesModel } from './feature-experience-section.modal';
6
+ import * as i0 from "@angular/core";
7
+ export declare class FeatureExperienceSectionComponent extends BaseSection implements OnInit {
8
+ private _eventService;
9
+ data?: ProcessSectionModel;
10
+ index?: number;
11
+ content?: ProcessSectionContentModel;
12
+ edit?: boolean;
13
+ delete?: boolean;
14
+ customClass?: string;
15
+ nextComponentColor?: BackgroundModel;
16
+ styles?: ProcessSectionStylesModel;
17
+ hoveredIndex: number | null;
18
+ deviceWidth: number;
19
+ constructor(_eventService: EventsService);
20
+ screenWidth: number;
21
+ getScreenSize(event?: any): void;
22
+ ngOnInit(): void;
23
+ get stylesLayout(): LayOutModel;
24
+ get getJustifyContent(): string;
25
+ editSection(): void;
26
+ getLength(): number;
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<FeatureExperienceSectionComponent, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<FeatureExperienceSectionComponent, "simpo-feature-experience-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
+ }
@@ -0,0 +1,24 @@
1
+ import { BannerStylesModel, CardStyles, Image, InputTextModel, ListItemModal } from '../../styles/style.model';
2
+ import { PROCESS_SECTION_DISPLAY_STYLE } from '../../styles/types';
3
+ export interface ProcessSectionModel {
4
+ id: string;
5
+ sectionType: string;
6
+ sectionName: string;
7
+ content: ProcessSectionContentModel;
8
+ styles: ProcessSectionStylesModel;
9
+ }
10
+ export interface ImageModel extends Image {
11
+ showImage: boolean;
12
+ }
13
+ export interface ProcessSectionContentModel {
14
+ inputText: InputTextModel[];
15
+ image: ImageModel;
16
+ listItem: ListItemModal<ProcessSectionItemModal>;
17
+ }
18
+ export interface ProcessSectionStylesModel extends BannerStylesModel, CardStyles {
19
+ processSectionDisplayStyle: PROCESS_SECTION_DISPLAY_STYLE;
20
+ }
21
+ export interface ProcessSectionItemModal {
22
+ image: Image;
23
+ inputText: InputTextModel[];
24
+ }
@@ -23,7 +23,7 @@ export declare class ImageGridHotspotComponent extends BaseSection {
23
23
  get headingSpace(): SPACING;
24
24
  editSection(): void;
25
25
  getLength(): number;
26
- getJustifyContent(): import("simpo-component-library").ALIGN | "" | "flex-start";
26
+ getJustifyContent(): "" | import("simpo-component-library").ALIGN | "flex-start";
27
27
  private get scrollStep();
28
28
  scrollRight(): void;
29
29
  isOverflowing: boolean;
@@ -23,7 +23,7 @@ export declare class ImageGridSectionComponent extends BaseSection {
23
23
  get headingSpace(): SPACING;
24
24
  editSection(): void;
25
25
  getLength(): number;
26
- getJustifyContent(): import("simpo-component-library").ALIGN | "" | "flex-start";
26
+ getJustifyContent(): "" | import("simpo-component-library").ALIGN | "flex-start";
27
27
  private get scrollStep();
28
28
  scrollRight(): void;
29
29
  isOverflowing: boolean;
@@ -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(): "0.2" | "0.3" | "0.5" | "0.7" | "1";
23
+ get getBackgroundOpacity(): "1" | "0.7" | "0.5" | "0.3" | "0.2";
24
24
  get stylesLayout(): LayOutModel;
25
- opacityValue(value: OverlayValue): "0.2" | "0.3" | "0.5" | "0.7" | "1";
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(): "3s" | "18s" | "6s" | "5s" | "4s" | logoSpeed.Normal;
27
- get animationDirection(): "reverse" | "normal" | logoDirection.Left;
26
+ get animationDuration(): "3s" | "4s" | logoSpeed.Normal | "18s" | "6s" | "5s";
27
+ get animationDirection(): logoDirection.Left | "reverse" | "normal";
28
28
  get isMobile(): boolean;
29
29
  get getPositionLayout(): PositionLayoutModal;
30
30
  screenWidth: number;
@@ -23,7 +23,7 @@ export declare class PricingSectionComponent extends BaseSection {
23
23
  getButtonId(): string;
24
24
  editSection(): void;
25
25
  redirectTo(data: any): void;
26
- getClass(): "col-12" | "col-6" | "col-4" | "col-3";
26
+ getClass(): "col-4" | "col-12" | "col-6" | "col-3";
27
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>;
@@ -1,4 +1,4 @@
1
- import { ActionModel, BackgroundModel, Button, CardStyles, contentAnimationModel, DisplaySection, Icon, Image, InputTextModel, ListItemModal, StylesModel, Tag } from './../../styles/style.model';
1
+ import { ActionModel, BackgroundModel, Button, CardStyles, contentAnimationModel, DisplaySection, Icon, Image, InputTextModel, ListItemModal, PositionLayoutModal, StylesModel, Tag } from './../../styles/style.model';
2
2
  export interface ServiceSectionModal {
3
3
  id: string;
4
4
  sectionType: string;
@@ -22,6 +22,7 @@ export interface Display extends DisplaySection {
22
22
  export interface ServiceStylesModel extends StylesModel, CardStyles {
23
23
  direction: "ROW" | "COLUMN";
24
24
  contentAnimation: contentAnimationModel;
25
+ positionLayout: PositionLayoutModal;
25
26
  }
26
27
  export interface ServiceItemModal {
27
28
  image: Image;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "3.6.804",
3
+ "version": "3.6.805",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
package/public-api.d.ts CHANGED
@@ -24,6 +24,7 @@ export * from './lib/sections/recent-blog-post-section/recent-blog-post-section.
24
24
  export * from './lib/sections/blog-list/blog-list.component';
25
25
  export * from './lib/sections/view-blog/view-blog.component';
26
26
  export * from './lib/sections/process-section/process-section.component';
27
+ export * from './lib/sections/feature-experience-section/feature-experience-section.component';
27
28
  export * from './lib/sections/process-modern/process-modern.component';
28
29
  export * from './lib/sections/features-section/features-section.component';
29
30
  export * from './lib/sections/testimonial-fullwidth/testimonial-fullwidth.component';
Binary file