simpo-component-library 3.6.470 → 3.6.472

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 (30) hide show
  1. package/esm2022/lib/directive/translate-onhover.directive.mjs +1 -5
  2. package/esm2022/lib/ecommerce/sections/passbook-transactions/passbook-transactions.component.mjs +3 -3
  3. package/esm2022/lib/ecommerce/sections/scheme-details/scheme-details.component.mjs +3 -3
  4. package/esm2022/lib/ecommerce/sections/user-profile/user-profile.component.mjs +3 -3
  5. package/esm2022/lib/elements/editor-service.service.mjs +1 -1
  6. package/esm2022/lib/sections/banner-section/banner-section.component.mjs +2 -2
  7. package/esm2022/lib/sections/choose-us-section/choose-us-section.component.mjs +12 -4
  8. package/esm2022/lib/sections/contact-us/contact-us.component.mjs +4 -4
  9. package/esm2022/lib/sections/contact-us/contact-us.modal.mjs +1 -1
  10. package/esm2022/lib/sections/header-section/header-section.component.mjs +3 -3
  11. package/esm2022/lib/sections/image-carousel-section/image-carousel-section.component.mjs +3 -3
  12. package/esm2022/lib/sections/service-section/service-section.component.mjs +22 -4
  13. package/esm2022/lib/sections/service-section/service-section.model.mjs +1 -1
  14. package/esm2022/lib/sections/testimonial-section/testimonial-section.component.mjs +107 -22
  15. package/esm2022/lib/sections/testimonial-section/testimonial-section.model.mjs +1 -1
  16. package/esm2022/lib/sections/text-section/text-section.component.mjs +22 -4
  17. package/esm2022/lib/sections/text-section/text-section.model.mjs +1 -1
  18. package/fesm2022/simpo-component-library.mjs +169 -46
  19. package/fesm2022/simpo-component-library.mjs.map +1 -1
  20. package/lib/sections/choose-us-section/choose-us-section.component.d.ts +2 -0
  21. package/lib/sections/contact-us/contact-us.modal.d.ts +2 -1
  22. package/lib/sections/service-section/service-section.component.d.ts +6 -1
  23. package/lib/sections/service-section/service-section.model.d.ts +2 -1
  24. package/lib/sections/testimonial-section/testimonial-section.component.d.ts +15 -2
  25. package/lib/sections/testimonial-section/testimonial-section.model.d.ts +4 -1
  26. package/lib/sections/text-section/text-section.component.d.ts +6 -1
  27. package/lib/sections/text-section/text-section.model.d.ts +2 -1
  28. package/package.json +1 -1
  29. package/simpo-component-library-3.6.472.tgz +0 -0
  30. package/simpo-component-library-3.6.470.tgz +0 -0
@@ -17,6 +17,8 @@ export declare class ChooseUsSectionComponent extends BaseSection implements OnI
17
17
  constructor(_eventService: EventsService);
18
18
  ngOnInit(): void;
19
19
  get stylesLayout(): LayOutModel;
20
+ screenWidth: any;
21
+ getScreenSize(): void;
20
22
  editSection(): void;
21
23
  static ɵfac: i0.ɵɵFactoryDeclaration<ChooseUsSectionComponent, never>;
22
24
  static ɵcmp: i0.ɵɵComponentDeclaration<ChooseUsSectionComponent, "simpo-choose-us-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>;
@@ -1,4 +1,4 @@
1
- import { InputTextModel, PositionLayoutModal, StylesModel, Image } from "../../styles/style.model";
1
+ import { InputTextModel, PositionLayoutModal, StylesModel, Image, ImageStyle } from "../../styles/style.model";
2
2
  import { CONTENT_BACKGROUND, INPUT_FIELDS_TYPE } from "../../styles/types";
3
3
  import { ActionModel } from "../../styles/style.model";
4
4
  import { Corners } from "./../../styles/index";
@@ -14,6 +14,7 @@ export interface ContactUsStylesModel extends StylesModel {
14
14
  positionLayout: PositionLayoutModal;
15
15
  inputOpacity: number;
16
16
  corners: Corners;
17
+ image: ImageStyle;
17
18
  contentBackground: {
18
19
  display: boolean;
19
20
  style: CONTENT_BACKGROUND;
@@ -5,6 +5,7 @@ import { TextPosition } from '../../styles/index';
5
5
  import { BackgroundModel, ButtonModel, LayOutModel } from '../../styles/style.model';
6
6
  import BaseSection from '../BaseSection';
7
7
  import { SPACING } from '../../styles/index';
8
+ import { CdkDragEnd, Point } from '@angular/cdk/drag-drop';
8
9
  import * as i0 from "@angular/core";
9
10
  export declare class ServiceSectionComponent extends BaseSection {
10
11
  private _eventService;
@@ -16,13 +17,17 @@ export declare class ServiceSectionComponent extends BaseSection {
16
17
  nextComponentColor?: BackgroundModel;
17
18
  _mainContainer: ElementRef | null;
18
19
  TextPosition: typeof TextPosition;
19
- content?: ServiceContentModal;
20
+ content?: ServiceContentModal | any;
20
21
  style?: ServiceStylesModel;
21
22
  button?: ButtonModel;
22
23
  constructor(_eventService: EventsService);
23
24
  ngOnInit(): void;
24
25
  get headingSpace(): SPACING;
25
26
  get stylesLayout(): LayOutModel;
27
+ get point(): Point;
28
+ onDragEnded(event: CdkDragEnd): void;
29
+ screenWidth: any;
30
+ getScreenSize(): void;
26
31
  editSection(): void;
27
32
  static ɵfac: i0.ɵɵFactoryDeclaration<ServiceSectionComponent, never>;
28
33
  static ɵcmp: i0.ɵɵComponentDeclaration<ServiceSectionComponent, "simpo-service-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>;
@@ -1,4 +1,4 @@
1
- import { ActionModel, BackgroundModel, Button, CardStyles, contentAnimationModel, DisplaySection, Icon, Image, InputTextModel, ListItemModal, StylesModel } from './../../styles/style.model';
1
+ import { ActionModel, BackgroundModel, Button, CardStyles, contentAnimationModel, DisplaySection, Icon, Image, InputTextModel, ListItemModal, StylesModel, Tag } from './../../styles/style.model';
2
2
  export interface ServiceSectionModal {
3
3
  id: string;
4
4
  sectionType: string;
@@ -9,6 +9,7 @@ export interface ServiceSectionModal {
9
9
  }
10
10
  export interface ServiceContentModal {
11
11
  inputText: InputTextModel[];
12
+ tag: Tag;
12
13
  display: Display;
13
14
  listItem: ListItemModal<ServiceItemModal>;
14
15
  }
@@ -1,4 +1,4 @@
1
- import { ElementRef } from '@angular/core';
1
+ import { ElementRef, QueryList, Renderer2 } from '@angular/core';
2
2
  import { testimonialContentModel, testimonialSectionModel, testimonialStylesModel } from './testimonial-section.model';
3
3
  import { EventsService } from './../../services/events.service';
4
4
  import BaseSection from '../BaseSection';
@@ -7,6 +7,7 @@ import { BackgroundModel, LayOutModel } from '../../styles/style.model';
7
7
  import * as i0 from "@angular/core";
8
8
  export declare class TestimonialSectionComponent extends BaseSection {
9
9
  private _eventService;
10
+ private renderer;
10
11
  data?: testimonialSectionModel;
11
12
  index?: number;
12
13
  edit?: boolean;
@@ -14,15 +15,27 @@ export declare class TestimonialSectionComponent extends BaseSection {
14
15
  customClass?: string;
15
16
  nextComponentColor?: BackgroundModel;
16
17
  _mainContainer: ElementRef | null;
18
+ carouselInner: ElementRef<HTMLDivElement>;
19
+ carouselItems: QueryList<ElementRef<HTMLDivElement>>;
17
20
  content?: testimonialContentModel;
18
21
  style?: testimonialStylesModel;
19
- constructor(_eventService: EventsService);
22
+ constructor(_eventService: EventsService, renderer: Renderer2);
20
23
  ngOnInit(): void;
21
24
  ngAfterViewInit(): void;
22
25
  get headingSpace(): SPACING;
23
26
  get getLayout(): LayOutModel;
24
27
  get stylesLayout(): LayOutModel;
28
+ getColor(hex: any, amount?: any): string;
29
+ screenWidth: any;
30
+ getScreenSize(): void;
31
+ getLength(): number;
25
32
  editSection(): void;
33
+ private resizeTimeout;
34
+ private contentChangesSub?;
35
+ carouselHeightPx: number | null;
36
+ onWindowResize(): void;
37
+ private updateCarouselHeight;
38
+ ngOnDestroy(): void;
26
39
  static ɵfac: i0.ɵɵFactoryDeclaration<TestimonialSectionComponent, never>;
27
40
  static ɵcmp: i0.ɵɵComponentDeclaration<TestimonialSectionComponent, "simpo-testimonial-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>;
28
41
  }
@@ -1,4 +1,5 @@
1
- import { Image, InputTextModel, ListItemModal, StylesModel } from "./../../styles/style.model";
1
+ import { Corners } from "../../styles";
2
+ import { DisplaySection, Image, InputTextModel, ListItemModal, StylesModel } from "./../../styles/style.model";
2
3
  export interface testimonialSectionModel {
3
4
  id: string;
4
5
  sectionType: string;
@@ -8,6 +9,7 @@ export interface testimonialSectionModel {
8
9
  }
9
10
  export interface testimonialContentModel {
10
11
  inputText: [InputTextModel];
12
+ display: DisplaySection;
11
13
  listItem: ListItemModal<ImageItemModel>;
12
14
  }
13
15
  export interface ImageItemModel {
@@ -16,4 +18,5 @@ export interface ImageItemModel {
16
18
  inputText: InputTextModel[];
17
19
  }
18
20
  export interface testimonialStylesModel extends StylesModel {
21
+ corners: Corners;
19
22
  }
@@ -4,6 +4,7 @@ import { BackgroundModel, StylesModel, LayOutModel } from '../../styles/style.mo
4
4
  import { MatDialog } from '@angular/material/dialog';
5
5
  import { EventsService } from './../../services/events.service';
6
6
  import BaseSection from '../BaseSection';
7
+ import { CdkDragEnd, Point } from '@angular/cdk/drag-drop';
7
8
  import * as i0 from "@angular/core";
8
9
  export declare class TextSectionComponent extends BaseSection implements OnInit {
9
10
  private _dialog;
@@ -15,11 +16,15 @@ export declare class TextSectionComponent extends BaseSection implements OnInit
15
16
  delete?: boolean;
16
17
  nextComponentColor?: BackgroundModel;
17
18
  _mainContainer: ElementRef | null;
18
- content: TextContentModel | undefined;
19
+ content: TextContentModel | undefined | any;
19
20
  styles: StylesModel | undefined;
20
21
  constructor(_dialog: MatDialog, _eventService: EventsService);
21
22
  get stylesLayout(): LayOutModel;
22
23
  ngOnInit(): void;
24
+ get point(): Point;
25
+ onDragEnded(event: CdkDragEnd): void;
26
+ screenWidth: any;
27
+ getScreenSize(): void;
23
28
  editSection(): void;
24
29
  static ɵfac: i0.ɵɵFactoryDeclaration<TextSectionComponent, never>;
25
30
  static ɵcmp: i0.ɵɵComponentDeclaration<TextSectionComponent, "simpo-text-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, InputTextModel, StylesModel } from './../../styles/style.model';
1
+ import { ActionModel, InputTextModel, StylesModel, Tag } from './../../styles/style.model';
2
2
  export interface TextSectionModel {
3
3
  id: string;
4
4
  sectionType: string;
@@ -9,5 +9,6 @@ export interface TextSectionModel {
9
9
  }
10
10
  export interface TextContentModel {
11
11
  headingText: string;
12
+ tag: Tag;
12
13
  inputText: InputTextModel[];
13
14
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "3.6.470",
3
+ "version": "3.6.472",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file