simpo-component-library 3.2.46 → 3.2.47

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 (54) hide show
  1. package/esm2022/lib/directive/button-editor.directive.mjs +48 -0
  2. package/esm2022/lib/directive/image-editor.directive.mjs +34 -24
  3. package/esm2022/lib/elements/below-image-card/below-image-card.component.mjs +2 -2
  4. package/esm2022/lib/elements/covering-image-card/covering-image-card.component.mjs +4 -3
  5. package/esm2022/lib/elements/editor-service.service.mjs +5 -1
  6. package/esm2022/lib/elements/image-editor/image-editor.component.mjs +3 -3
  7. package/esm2022/lib/elements/link-editor/link-editor.component.mjs +7 -7
  8. package/esm2022/lib/elements/simpo-button/simpo-button.component.mjs +8 -4
  9. package/esm2022/lib/elements/text-editor/text-editor.component.mjs +7 -3
  10. package/esm2022/lib/elements/top-of-image-card/top-of-image-card.component.mjs +2 -2
  11. package/esm2022/lib/sections/appointment-form/appointment-form.component.mjs +2 -2
  12. package/esm2022/lib/sections/banner-carousel/banner-carousel.component.mjs +3 -3
  13. package/esm2022/lib/sections/banner-grid-section/banner-grid-section.component.mjs +3 -3
  14. package/esm2022/lib/sections/banner-section/banner-section.component.mjs +5 -5
  15. package/esm2022/lib/sections/carousel-banner/carousel-banner.component.mjs +2 -2
  16. package/esm2022/lib/sections/choose-us-section/choose-us-section.component.mjs +1 -1
  17. package/esm2022/lib/sections/contact-us/contact-us.component.mjs +1 -1
  18. package/esm2022/lib/sections/faq-section/faq-section.component.mjs +3 -3
  19. package/esm2022/lib/sections/features-section/features-section.component.mjs +3 -3
  20. package/esm2022/lib/sections/footer/footer.component.mjs +2 -2
  21. package/esm2022/lib/sections/footer-section/footer-section.component.mjs +2 -2
  22. package/esm2022/lib/sections/header-text/header-text.component.mjs +2 -2
  23. package/esm2022/lib/sections/image-carousel-section/image-carousel-section.component.mjs +3 -3
  24. package/esm2022/lib/sections/image-grid-section/image-grid-section.component.mjs +3 -3
  25. package/esm2022/lib/sections/image-section/image-section.component.mjs +3 -3
  26. package/esm2022/lib/sections/location-section/location-section.component.mjs +1 -1
  27. package/esm2022/lib/sections/logo-showcase/logo-showcase.component.mjs +3 -3
  28. package/esm2022/lib/sections/navbar-section/navbar-section.component.mjs +2 -2
  29. package/esm2022/lib/sections/pricing-section/pricing-section.component.mjs +3 -3
  30. package/esm2022/lib/sections/process-modern/process-modern.component.mjs +5 -4
  31. package/esm2022/lib/sections/process-section/process-section.component.mjs +3 -3
  32. package/esm2022/lib/sections/recent-blog-post-section/recent-blog-post-section.component.mjs +1 -1
  33. package/esm2022/lib/sections/service-section/service-section.component.mjs +2 -2
  34. package/esm2022/lib/sections/team-member-section/team-member-section.component.mjs +1 -1
  35. package/esm2022/lib/sections/testimonial-fullwidth/testimonial-fullwidth.component.mjs +3 -3
  36. package/esm2022/lib/sections/testimonial-section/testimonial-section.component.mjs +4 -4
  37. package/esm2022/lib/sections/testimonial-video/testimonial-video.component.mjs +1 -1
  38. package/esm2022/lib/sections/text-image-section/text-image-section.component.mjs +3 -3
  39. package/esm2022/lib/sections/text-section/text-section.component.mjs +2 -2
  40. package/esm2022/lib/sections/video-section/video-section.component.mjs +1 -1
  41. package/fesm2022/simpo-component-library.mjs +300 -235
  42. package/fesm2022/simpo-component-library.mjs.map +1 -1
  43. package/lib/directive/button-editor.directive.d.ts +16 -0
  44. package/lib/directive/image-editor.directive.d.ts +3 -5
  45. package/lib/elements/editor-service.service.d.ts +1 -0
  46. package/lib/elements/link-editor/link-editor.component.d.ts +3 -3
  47. package/lib/elements/simpo-button/simpo-button.component.d.ts +2 -1
  48. package/lib/elements/text-editor/text-editor.component.d.ts +3 -2
  49. package/lib/sections/banner-carousel/banner-carousel.component.d.ts +3 -3
  50. package/lib/sections/carousel-banner/carousel-banner.component.d.ts +1 -1
  51. package/lib/sections/image-section/image-section.component.d.ts +2 -2
  52. package/package.json +1 -1
  53. package/simpo-component-library-3.2.47.tgz +0 -0
  54. package/simpo-component-library-3.2.46.tgz +0 -0
@@ -0,0 +1,16 @@
1
+ import { ElementRef, Renderer2 } from '@angular/core';
2
+ import { Button } from '../styles/style.model';
3
+ import { MatDialog } from '@angular/material/dialog';
4
+ import * as i0 from "@angular/core";
5
+ export declare class ButtonEditorDirective {
6
+ private el;
7
+ private renderer;
8
+ private matDialog;
9
+ appButtonEditor: boolean;
10
+ buttonData?: Button;
11
+ constructor(el: ElementRef, renderer: Renderer2, matDialog: MatDialog);
12
+ ngAfterViewInit(): void;
13
+ onClick(event: Event): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<ButtonEditorDirective, never>;
15
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ButtonEditorDirective, "button[appButtonEditor]", never, { "appButtonEditor": { "alias": "appButtonEditor"; "required": false; }; "buttonData": { "alias": "buttonData"; "required": false; }; }, {}, never, never, true, never>;
16
+ }
@@ -1,17 +1,15 @@
1
- import { ElementRef, Renderer2 } from '@angular/core';
1
+ import { ElementRef } from '@angular/core';
2
2
  import { Image } from '../styles/style.model';
3
3
  import { MatDialog } from '@angular/material/dialog';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class ImageEditorDirective {
6
6
  private el;
7
- private renderer;
8
7
  private matDialog;
9
8
  appImageEditor: boolean;
10
9
  imageData?: Image;
11
10
  sectionId?: string;
12
- constructor(el: ElementRef, renderer: Renderer2, matDialog: MatDialog);
13
- onMouseEnter(): void;
14
- onMouseLeave(): void;
11
+ constructor(el: ElementRef, matDialog: MatDialog);
12
+ ngAfterViewInit(): void;
15
13
  onClick(event: Event): void;
16
14
  static ɵfac: i0.ɵɵFactoryDeclaration<ImageEditorDirective, never>;
17
15
  static ɵdir: i0.ɵɵDirectiveDeclaration<ImageEditorDirective, "img[appImageEditor]", never, { "appImageEditor": { "alias": "appImageEditor"; "required": false; }; "imageData": { "alias": "imageData"; "required": false; }; "sectionId": { "alias": "sectionId"; "required": false; }; }, {}, never, never, true, never>;
@@ -8,6 +8,7 @@ export declare class ElementServiceService {
8
8
  regenerateText(request: any): import("rxjs").Observable<Object>;
9
9
  getImageLibrary(): import("rxjs").Observable<Object>;
10
10
  saveImagesToBusinessLibrary(mediaRequest: any): import("rxjs").Observable<Object>;
11
+ getTemplate(): import("rxjs").Observable<Object>;
11
12
  static ɵfac: i0.ɵɵFactoryDeclaration<ElementServiceService, never>;
12
13
  static ɵprov: i0.ɵɵInjectableDeclaration<ElementServiceService>;
13
14
  }
@@ -1,10 +1,10 @@
1
1
  import { Button } from '../../styles/style.model';
2
2
  import { RedirectionLinkType } from '../../styles/index';
3
- import { RestService } from '../../services/rest.service';
4
3
  import { MatDialogRef } from '@angular/material/dialog';
4
+ import { ElementServiceService } from '../editor-service.service';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class LinkEditorComponent {
7
- private restService;
7
+ private editorService;
8
8
  dialogRef: MatDialogRef<LinkEditorComponent>;
9
9
  data: any;
10
10
  link: Button;
@@ -14,7 +14,7 @@ export declare class LinkEditorComponent {
14
14
  linkType: any[];
15
15
  templatePage: any[];
16
16
  addLink: boolean;
17
- constructor(restService: RestService, dialogRef: MatDialogRef<LinkEditorComponent>, data: any);
17
+ constructor(editorService: ElementServiceService, dialogRef: MatDialogRef<LinkEditorComponent>, data: any);
18
18
  ngOnInit(): void;
19
19
  closeDialog(): void;
20
20
  getTemplatePage(): void;
@@ -8,9 +8,10 @@ export declare class SimpoButtonComponent {
8
8
  buttonId: string;
9
9
  color?: string;
10
10
  sectionId?: string;
11
+ edit?: boolean;
11
12
  constructor(_eventService: EventsService);
12
13
  ngOnInit(): void;
13
14
  redirectTo(): void;
14
15
  static ɵfac: i0.ɵɵFactoryDeclaration<SimpoButtonComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<SimpoButtonComponent, "app-button-element", never, { "buttonContent": { "alias": "buttonContent"; "required": false; }; "buttonStyle": { "alias": "buttonStyle"; "required": false; }; "buttonId": { "alias": "buttonId"; "required": false; }; "color": { "alias": "color"; "required": false; }; "sectionId": { "alias": "sectionId"; "required": false; }; }, {}, never, never, true, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<SimpoButtonComponent, "app-button-element", never, { "buttonContent": { "alias": "buttonContent"; "required": false; }; "buttonStyle": { "alias": "buttonStyle"; "required": false; }; "buttonId": { "alias": "buttonId"; "required": false; }; "color": { "alias": "color"; "required": false; }; "sectionId": { "alias": "sectionId"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; }, {}, never, never, true, never>;
16
17
  }
@@ -1,4 +1,4 @@
1
- import { ElementRef } from '@angular/core';
1
+ import { ElementRef, EventEmitter } from '@angular/core';
2
2
  import { ElementServiceService } from '../editor-service.service';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class TextEditorComponent {
@@ -10,6 +10,7 @@ export declare class TextEditorComponent {
10
10
  parentElement: ElementRef;
11
11
  suggestion: ElementRef;
12
12
  value: string;
13
+ valueChange: EventEmitter<string>;
13
14
  editable: boolean;
14
15
  sectionId?: string;
15
16
  label?: string;
@@ -34,5 +35,5 @@ export declare class TextEditorComponent {
34
35
  reFormattingData(): void;
35
36
  regenerateText(): void;
36
37
  static ɵfac: i0.ɵɵFactoryDeclaration<TextEditorComponent, never>;
37
- static ɵcmp: i0.ɵɵComponentDeclaration<TextEditorComponent, "simpo-text-editor", never, { "value": { "alias": "value"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "sectionId": { "alias": "sectionId"; "required": false; }; "label": { "alias": "label"; "required": false; }; }, {}, never, never, true, never>;
38
+ static ɵcmp: i0.ɵɵComponentDeclaration<TextEditorComponent, "simpo-text-editor", never, { "value": { "alias": "value"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "sectionId": { "alias": "sectionId"; "required": false; }; "label": { "alias": "label"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
38
39
  }
@@ -23,10 +23,10 @@ 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(): "STRONG" | "LIGHT" | "MODERATE" | "VERY_STRONG" | "NONE" | undefined;
26
+ get getBlurValue(): "NONE" | "LIGHT" | "MODERATE" | "STRONG" | "VERY_STRONG" | undefined;
27
27
  get getBackgroundColor(): BackgroundModel;
28
- get getBackgroundOpacity(): "0.7" | "0.5" | "0.3" | "0.2" | "0";
29
- opacityValue(value: OverlayValue): "0.7" | "0.5" | "0.3" | "0.2" | "0";
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";
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.7" | "0.5" | "0.3" | "0.2" | "0";
28
+ opacityValue(value: OverlayValue): "0.2" | "0.3" | "0.5" | "0.7" | "0";
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.7" | "0.5" | "0.3" | "0.2" | "1";
24
- opacityValue(value: OverlayValue): "0.7" | "0.5" | "0.3" | "0.2" | "1";
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";
25
25
  editSection(): void;
26
26
  redirectTo(): void;
27
27
  static ɵfac: i0.ɵɵFactoryDeclaration<ImageSectionComponent, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "3.2.46",
3
+ "version": "3.2.47",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file